@univerjs/preset-docs-collaboration 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/umd/index.js +4 -4
- package/lib/umd/locales/ca-ES.js +2 -2
- package/lib/umd/locales/en-US.js +2 -2
- package/lib/umd/locales/es-ES.js +2 -2
- package/lib/umd/locales/fa-IR.js +2 -2
- package/lib/umd/locales/fr-FR.js +2 -2
- package/lib/umd/locales/ja-JP.js +2 -2
- package/lib/umd/locales/ko-KR.js +2 -2
- package/lib/umd/locales/ru-RU.js +2 -2
- package/lib/umd/locales/sk-SK.js +2 -2
- package/lib/umd/locales/vi-VN.js +2 -2
- package/lib/umd/locales/zh-CN.js +2 -2
- package/lib/umd/locales/zh-TW.js +2 -2
- package/package.json +6 -6
package/lib/umd/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @univerjs-pro/collaboration-client/index
|
|
2
|
-
(function(_0x4dae0e,_0x17009b){const _0x1b034f=_0x46f9,_0x4c07c2=_0x4dae0e();while(!![]){try{const _0x4d4936=-parseInt(_0x1b034f(0x296))/0x1*(parseInt(_0x1b034f(0x1e6))/0x2)+parseInt(_0x1b034f(0x492))/0x3+-parseInt(_0x1b034f(0x305))/0x4+parseInt(_0x1b034f(0x269))/0x5*(-parseInt(_0x1b034f(0x54f))/0x6)+-parseInt(_0x1b034f(0x25d))/0x7*(parseInt(_0x1b034f(0x285))/0x8)+-parseInt(_0x1b034f(0x51d))/0x9+parseInt(_0x1b034f(0x284))/0xa;if(_0x4d4936===_0x17009b)break;else _0x4c07c2['push'](_0x4c07c2['shift']());}catch(_0x78db1d){_0x4c07c2['push'](_0x4c07c2['shift']());}}}(_0x502f,0xae48a),function(_0x537f90,_0x13b748){const _0x2e7aaf=_0x46f9;typeof exports==_0x2e7aaf(0x25b)&&typeof module<'u'?_0x13b748(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define=='function'&&define[_0x2e7aaf(0x434)]?define([_0x2e7aaf(0x30f),_0x2e7aaf(0x1ed),'@univerjs/core',_0x2e7aaf(0x428),_0x2e7aaf(0x46b),_0x2e7aaf(0x559),_0x2e7aaf(0x360),_0x2e7aaf(0x2d5),'@univerjs/network',_0x2e7aaf(0x409),_0x2e7aaf(0x426)],_0x13b748):(_0x537f90=typeof globalThis<'u'?globalThis:_0x537f90||self,_0x13b748(_0x537f90['UniverProCollaborationClient']={},_0x537f90[_0x2e7aaf(0x2d9)],_0x537f90[_0x2e7aaf(0x4fc)],_0x537f90[_0x2e7aaf(0x34d)],_0x537f90['UniverSheets'],_0x537f90[_0x2e7aaf(0x559)],_0x537f90['UniverTelemetry'],_0x537f90['rxjs']['operators'],_0x537f90[_0x2e7aaf(0x46a)],_0x537f90['UniverProLicense'],_0x537f90[_0x2e7aaf(0x203)]));}(this,function(_0x58998e,_0xd2afbd,_0x4dc57b,_0xa09c65,_0x4a7d96,_0x4e24ba,_0x4b8e02,_0x1d5f23,_0x253ff9,_0x783550,_0x587013){const _0xc00572=_0x46f9;Object[_0xc00572(0x50f)](_0x58998e,Symbol[_0xc00572(0x494)],{'value':_0xc00572(0x546)});var _0x283f18=Object[_0xc00572(0x498)],_0x535aab=Object['defineProperty'],_0x380143=Object[_0xc00572(0x23f)],_0x88c19b=Object[_0xc00572(0x3fc)],_0x300cda=Object[_0xc00572(0x300)],_0x3445b4=Object[_0xc00572(0x2ca)]['hasOwnProperty'],_0x2cf63e=(_0xdc51cc,_0x2e6a37)=>()=>(_0x2e6a37||_0xdc51cc((_0x2e6a37={'exports':{}})[_0xc00572(0x30f)],_0x2e6a37),_0x2e6a37['exports']),_0x15d034=(_0x43e758,_0x245d6c,_0x504380,_0x55f637)=>{const _0x47258a=_0xc00572;if(_0x245d6c&&typeof _0x245d6c==_0x47258a(0x25b)||typeof _0x245d6c==_0x47258a(0x24f)){for(var _0x5a42be=_0x88c19b(_0x245d6c),_0x113013=0x0,_0x2399b6=_0x5a42be[_0x47258a(0x477)],_0x48c1c3;_0x113013<_0x2399b6;_0x113013++)_0x48c1c3=_0x5a42be[_0x113013],!_0x3445b4['call'](_0x43e758,_0x48c1c3)&&_0x48c1c3!==_0x504380&&_0x535aab(_0x43e758,_0x48c1c3,{'get':(_0x5268ed=>_0x245d6c[_0x5268ed])[_0x47258a(0x395)](null,_0x48c1c3),'enumerable':!(_0x55f637=_0x380143(_0x245d6c,_0x48c1c3))||_0x55f637['enumerable']});}return _0x43e758;},_0x1f5b78=(_0xc17192,_0x299f9b,_0x45a072)=>(_0x45a072=_0xc17192==null?{}:_0x283f18(_0x300cda(_0xc17192)),_0x15d034(_0x299f9b||!_0xc17192||!_0xc17192[_0xc00572(0x363)]?_0x535aab(_0x45a072,'default',{'value':_0xc17192,'enumerable':!0x0}):_0x45a072,_0xc17192));let _0x5395b7=_0xc00572(0x42a),_0x50121c=0x4e20,_0x245119=function(_0x5c2ed0){const _0x4e3eb6=_0xc00572;return _0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x4c7)]=0x0]=_0x4e3eb6(0x4c7),_0x5c2ed0[_0x5c2ed0['OK']=0x1]='OK',_0x5c2ed0[_0x5c2ed0['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x544)]=0x3]=_0x4e3eb6(0x544),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x391)]=0x4]=_0x4e3eb6(0x391),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x43d)]=0x5]=_0x4e3eb6(0x43d),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x574)]=0x6]='ALREADY_EXISTS',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x54c)]=0x7]='INVALID_ARGUMENT',_0x5c2ed0[_0x5c2ed0['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x340)]=0x9]=_0x4e3eb6(0x340),_0x5c2ed0[_0x5c2ed0['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x5c2ed0[_0x5c2ed0['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x4e3eb6(0x3a2),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x43a)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x3d3)]=0xd]=_0x4e3eb6(0x3d3),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x368)]=0xe]=_0x4e3eb6(0x368),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x259)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x37f)]=0x10]=_0x4e3eb6(0x37f),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x484)]=0x64]=_0x4e3eb6(0x484),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x274)]=0x65]='ERROR_AGAIN',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x237)]=0xc9]=_0x4e3eb6(0x237),_0x5c2ed0[_0x5c2ed0['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x490)]=0x1389]=_0x4e3eb6(0x490),_0x5c2ed0[_0x5c2ed0['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x4af)]=0x1772]=_0x4e3eb6(0x4af),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x309)]=0x1773]=_0x4e3eb6(0x309),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x330)]=0x1b59]=_0x4e3eb6(0x330),_0x5c2ed0[_0x5c2ed0['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4e3eb6(0x497),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x20f)]=0x1b5b]=_0x4e3eb6(0x20f),_0x5c2ed0[_0x5c2ed0['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4e3eb6(0x4b7),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x29e)]=0x1b5d]=_0x4e3eb6(0x29e),_0x5c2ed0[_0x5c2ed0['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4e3eb6(0x55d),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x20e)]=0x2329]=_0x4e3eb6(0x20e),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x337)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x4a2)]=0x232b]=_0x4e3eb6(0x4a2),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x4ae)]=0x232c]=_0x4e3eb6(0x4ae),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x4a7)]=0x232d]=_0x4e3eb6(0x4a7),_0x5c2ed0[_0x5c2ed0['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4e3eb6(0x444),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x560)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x327)]=0x2713]=_0x4e3eb6(0x327),_0x5c2ed0[_0x5c2ed0['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4e3eb6(0x4a5),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x30a)]=0x271a]=_0x4e3eb6(0x30a),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x52d)]=0x271b]=_0x4e3eb6(0x52d),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x2b0)]=0x271c]=_0x4e3eb6(0x2b0),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x1fd)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x4db)]=0x271e]=_0x4e3eb6(0x4db),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x27a)]=0x271f]=_0x4e3eb6(0x27a),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x3b6)]=0x2720]=_0x4e3eb6(0x3b6),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x472)]=0x2af9]=_0x4e3eb6(0x472),_0x5c2ed0[_0x5c2ed0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4e3eb6(0x50d),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x229)]=0x2ee2]=_0x4e3eb6(0x229),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x4f9)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x46c)]=0x2ee4]=_0x4e3eb6(0x46c),_0x5c2ed0[_0x5c2ed0['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4e3eb6(0x53f),_0x5c2ed0[_0x5c2ed0['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4e3eb6(0x54a),_0x5c2ed0[_0x5c2ed0['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4e3eb6(0x3bf),_0x5c2ed0[_0x5c2ed0['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4e3eb6(0x3f7),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x2e4)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5c2ed0[_0x5c2ed0['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x4e3eb6(0x2be),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x2bb)]=0x36b3]=_0x4e3eb6(0x2bb),_0x5c2ed0[_0x5c2ed0['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x4e3eb6(0x53e),_0x5c2ed0[_0x5c2ed0['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x4e3eb6(0x346),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x40a)]=0x36b6]=_0x4e3eb6(0x40a),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x228)]=0x36b7]=_0x4e3eb6(0x228),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x4eb)]=0x36b8]=_0x4e3eb6(0x4eb),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x578)]=0x3715]=_0x4e3eb6(0x578),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x1e1)]=0x3716]=_0x4e3eb6(0x1e1),_0x5c2ed0[_0x5c2ed0['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x4e3eb6(0x2a5),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x38e)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x271)]=0x3a99]=_0x4e3eb6(0x271),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x250)]=0x3a9a]=_0x4e3eb6(0x250),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x502)]=0x3a9b]=_0x4e3eb6(0x502),_0x5c2ed0[_0x5c2ed0['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x4e3eb6(0x36c),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x564)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x1f4)]=0x3a9e]=_0x4e3eb6(0x1f4),_0x5c2ed0[_0x5c2ed0['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x4e3eb6(0x422),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x26a)]=0x3e81]=_0x4e3eb6(0x26a),_0x5c2ed0[_0x5c2ed0[_0x4e3eb6(0x462)]=-0x1]=_0x4e3eb6(0x462),_0x5c2ed0;}({}),_0x2625e7=function(_0x4f18be){const _0x5e57a2=_0xc00572;return _0x4f18be[_0x4f18be[_0x5e57a2(0x3a7)]=0x0]=_0x5e57a2(0x3a7),_0x4f18be[_0x4f18be[_0x5e57a2(0x338)]=0x1]=_0x5e57a2(0x338),_0x4f18be[_0x4f18be[_0x5e57a2(0x35b)]=0x2]=_0x5e57a2(0x35b),_0x4f18be[_0x4f18be['UNIVER_SLIDE']=0x3]=_0x5e57a2(0x555),_0x4f18be[_0x4f18be[_0x5e57a2(0x55f)]=0x4]='UNIVER_PROJECT',_0x4f18be[_0x4f18be[_0x5e57a2(0x462)]=-0x1]=_0x5e57a2(0x462),_0x4f18be;}({}),_0xef70e1=function(_0x101150){const _0x48705d=_0xc00572;return _0x101150[_0x101150[_0x48705d(0x3bb)]=0x0]=_0x48705d(0x3bb),_0x101150[_0x101150[_0x48705d(0x23e)]=0x1]=_0x48705d(0x23e),_0x101150[_0x101150[_0x48705d(0x265)]=0x2]=_0x48705d(0x265),_0x101150[_0x101150[_0x48705d(0x376)]=0x3]=_0x48705d(0x376),_0x101150[_0x101150[_0x48705d(0x489)]=0x4]=_0x48705d(0x489),_0x101150[_0x101150[_0x48705d(0x2a1)]=0x5]='HEARTBEAT',_0x101150[_0x101150[_0x48705d(0x2cf)]=0x6]=_0x48705d(0x2cf),_0x101150[_0x101150['UNRECOGNIZED']=-0x1]=_0x48705d(0x462),_0x101150;}({}),_0xe18d15=function(_0x2748f9){const _0x1bc826=_0xc00572;return _0x2748f9[_0x2748f9[_0x1bc826(0x3cf)]=0x0]=_0x1bc826(0x3cf),_0x2748f9[_0x2748f9['OK']=0x1]='OK',_0x2748f9[_0x2748f9[_0x1bc826(0x244)]=0x2]=_0x1bc826(0x244),_0x2748f9[_0x2748f9[_0x1bc826(0x365)]=0x3e9]='JOIN_ROOM_FULL',_0x2748f9[_0x2748f9[_0x1bc826(0x3f2)]=0x3ea]=_0x1bc826(0x3f2),_0x2748f9[_0x2748f9[_0x1bc826(0x536)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x2748f9[_0x2748f9[_0x1bc826(0x565)]=0x3ec]=_0x1bc826(0x565),_0x2748f9[_0x2748f9[_0x1bc826(0x462)]=-0x1]='UNRECOGNIZED',_0x2748f9;}({}),_0x384132=function(_0x18d289){const _0xbd6ab0=_0xc00572;return _0x18d289[_0x18d289[_0xbd6ab0(0x437)]=0x0]=_0xbd6ab0(0x437),_0x18d289[_0x18d289[_0xbd6ab0(0x361)]=0x1]=_0xbd6ab0(0x361),_0x18d289[_0x18d289[_0xbd6ab0(0x33b)]=0x2]=_0xbd6ab0(0x33b),_0x18d289[_0x18d289[_0xbd6ab0(0x23a)]=0x3]=_0xbd6ab0(0x23a),_0x18d289[_0x18d289['UnitSnapshot']=0x4]=_0xbd6ab0(0x442),_0x18d289[_0x18d289['UserProfileImg']=0x5]=_0xbd6ab0(0x45b),_0x18d289[_0x18d289[_0xbd6ab0(0x4a0)]=0x6]='ClipsheetFragments',_0x18d289[_0x18d289[_0xbd6ab0(0x462)]=-0x1]='UNRECOGNIZED',_0x18d289;}({});function _0x3cce0b(_0x4cbddd){const _0x2c388c=_0xc00572;return JSON['stringify'](_0x4cbddd)[_0x2c388c(0x477)];}function _0x22edd3(_0x48b209){'@babel/helpers - typeof';const _0x4cd38c=_0xc00572;return _0x22edd3=typeof Symbol=='function'&&typeof Symbol[_0x4cd38c(0x2b5)]=='symbol'?function(_0x693cb){return typeof _0x693cb;}:function(_0x28ed34){const _0x46646d=_0x4cd38c;return _0x28ed34&&typeof Symbol==_0x46646d(0x24f)&&_0x28ed34[_0x46646d(0x539)]===Symbol&&_0x28ed34!==Symbol[_0x46646d(0x2ca)]?_0x46646d(0x357):typeof _0x28ed34;},_0x22edd3(_0x48b209);}function _0xd7dedd(_0x17533d,_0x2ac9ba){const _0x1b0102=_0xc00572;if(_0x22edd3(_0x17533d)!=_0x1b0102(0x25b)||!_0x17533d)return _0x17533d;var _0x2c5644=_0x17533d[Symbol[_0x1b0102(0x3e5)]];if(_0x2c5644!==void 0x0){var _0x3e2779=_0x2c5644[_0x1b0102(0x527)](_0x17533d,_0x2ac9ba||_0x1b0102(0x2b2));if(_0x22edd3(_0x3e2779)!=_0x1b0102(0x25b))return _0x3e2779;throw TypeError(_0x1b0102(0x4d9));}return(_0x2ac9ba===_0x1b0102(0x3da)?String:Number)(_0x17533d);}function _0x3e7185(_0x93d0df){const _0x46c1d1=_0xc00572;var _0x86d214=_0xd7dedd(_0x93d0df,_0x46c1d1(0x3da));return _0x22edd3(_0x86d214)=='symbol'?_0x86d214:_0x86d214+'';}function _0x4c75f5(_0x1cd188,_0x2cd426,_0x3962d4){const _0x363b7c=_0xc00572;return(_0x2cd426=_0x3e7185(_0x2cd426))in _0x1cd188?Object[_0x363b7c(0x50f)](_0x1cd188,_0x2cd426,{'value':_0x3962d4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1cd188[_0x2cd426]=_0x3962d4,_0x1cd188;}let _0x280b0a=function(_0x56eceb){const _0x24042d=_0xc00572;return _0x56eceb['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x56eceb[_0x24042d(0x544)]='PERMISSION_DENIED',_0x56eceb['CONFLICT']=_0x24042d(0x1dc),_0x56eceb[_0x24042d(0x471)]=_0x24042d(0x471),_0x56eceb['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x56eceb[_0x24042d(0x3a5)]=_0x24042d(0x3a5),_0x56eceb['SOCKET_FAILED']=_0x24042d(0x2e7),_0x56eceb[_0x24042d(0x42b)]=_0x24042d(0x42b),_0x56eceb;}({});var _0xb13f4e=class{constructor(){const _0x5d293c=_0xc00572;_0x4c75f5(this,_0x5d293c(0x2e9),new _0x4e24ba['Subject']()),_0x4c75f5(this,_0x5d293c(0x3f4),this['_event$']['asObservable']());}[_0xc00572(0x3e4)](_0x48ef0b){const _0x5895f8=_0xc00572;this[_0x5895f8(0x2e9)][_0x5895f8(0x3c4)](_0x48ef0b);}},_0x1a8dd1=class{constructor(){const _0x4b877e=_0xc00572;_0x4c75f5(this,'_commentUpdate$',new _0x4e24ba['Subject']()),_0x4c75f5(this,_0x4b877e(0x4e0),this['_commentUpdate$'][_0x4b877e(0x2b4)]());}[_0xc00572(0x281)](_0x337351){const _0x2c334d=_0xc00572;this['_commentUpdate$'][_0x2c334d(0x3c4)](_0x337351);}};function _0x13590e(_0xf45304,_0x2a2fee){return function(_0x8518f1,_0x7551b0){_0x2a2fee(_0x8518f1,_0x7551b0,_0xf45304);};}function _0x48fa36(_0x5b8976,_0x53993a,_0xfd4a62,_0x32dad2){const _0xcff21c=_0xc00572;var _0x30d2b3=arguments[_0xcff21c(0x477)],_0x22b977=_0x30d2b3<0x3?_0x53993a:_0x32dad2===null?_0x32dad2=Object[_0xcff21c(0x23f)](_0x53993a,_0xfd4a62):_0x32dad2,_0x46b413;if(typeof Reflect==_0xcff21c(0x25b)&&typeof Reflect[_0xcff21c(0x2f2)]=='function')_0x22b977=Reflect[_0xcff21c(0x2f2)](_0x5b8976,_0x53993a,_0xfd4a62,_0x32dad2);else{for(var _0x528afd=_0x5b8976[_0xcff21c(0x477)]-0x1;_0x528afd>=0x0;_0x528afd--)(_0x46b413=_0x5b8976[_0x528afd])&&(_0x22b977=(_0x30d2b3<0x3?_0x46b413(_0x22b977):_0x30d2b3>0x3?_0x46b413(_0x53993a,_0xfd4a62,_0x22b977):_0x46b413(_0x53993a,_0xfd4a62))||_0x22b977);}return _0x30d2b3>0x3&&_0x22b977&&Object[_0xcff21c(0x50f)](_0x53993a,_0xfd4a62,_0x22b977),_0x22b977;}let _0x1e1888=class extends _0x4dc57b[_0xc00572(0x571)]{constructor(_0x1221eb,_0xb09df0){const _0x2a53ab=_0xc00572;super(),this[_0x2a53ab(0x4f5)]=_0x1221eb,this['_userManagerService']=_0xb09df0,_0x4c75f5(this,_0x2a53ab(0x3f6),new Map()),_0x4c75f5(this,'_roomCreated$',new _0x4e24ba[(_0x2a53ab(0x499))]()),this[_0x2a53ab(0x425)]((0x0,_0x4e24ba[_0x2a53ab(0x3a0)])(this['_univerInstanceService'][_0x2a53ab(0x451)](_0x4dc57b[_0x2a53ab(0x4e9)]['UNIVER_SHEET'])[_0x2a53ab(0x48e)]((0x0,_0x1d5f23['map'])(_0x1b2681=>_0x1b2681['getUnitId']())),this[_0x2a53ab(0x4f5)][_0x2a53ab(0x451)](_0x4dc57b[_0x2a53ab(0x4e9)][_0x2a53ab(0x338)])[_0x2a53ab(0x48e)]((0x0,_0x1d5f23[_0x2a53ab(0x42e)])(_0x416cf9=>_0x416cf9[_0x2a53ab(0x42c)]())),this[_0x2a53ab(0x4f5)]['getTypeOfUnitDisposed$'](_0x4dc57b[_0x2a53ab(0x4e9)][_0x2a53ab(0x555)])[_0x2a53ab(0x48e)]((0x0,_0x1d5f23[_0x2a53ab(0x42e)])(_0x4bee84=>_0x4bee84['getUnitId']())))[_0x2a53ab(0x50c)](_0x516cc9=>this[_0x2a53ab(0x1fa)](_0x516cc9)));}['waitForRoom$'](_0x29d5f0){const _0x1931aa=_0xc00572;return this[_0x1931aa(0x3f6)][_0x1931aa(0x4a6)](_0x29d5f0)?(0x0,_0x4e24ba['of'])(this[_0x1931aa(0x3f6)][_0x1931aa(0x270)](_0x29d5f0)):this[_0x1931aa(0x3b5)][_0x1931aa(0x48e)]((0x0,_0x1d5f23[_0x1931aa(0x42e)])(_0x7e1d95=>{const _0x5eedfc=_0x1931aa;if(_0x7e1d95===_0x29d5f0)return this[_0x5eedfc(0x3f6)]['get'](_0x7e1d95);}));}[_0xc00572(0x382)](_0x2b7e9e){const _0x23f4ad=_0xc00572;this['_userManagerService'][_0x23f4ad(0x382)](_0x2b7e9e);}['getCurrentUser'](){const _0x143314=_0xc00572;return this['_userManagerService'][_0x143314(0x35a)]();}[_0xc00572(0x264)](_0x3f1fab,_0x27b64d){const _0x560020=_0xc00572;let _0x8b15c9=this['_roomMembers'][_0x560020(0x270)](_0x3f1fab);_0x8b15c9||(_0x8b15c9=new _0x4525a8(),this[_0x560020(0x3f6)][_0x560020(0x37e)](_0x3f1fab,_0x8b15c9),this[_0x560020(0x3b5)][_0x560020(0x3c4)](_0x3f1fab)),_0x8b15c9[_0x560020(0x264)](_0x27b64d);}[_0xc00572(0x4da)](_0x11ddbc,_0x5f3845){const _0x3577d6=_0xc00572;let _0x39d6a6=this[_0x3577d6(0x3f6)][_0x3577d6(0x270)](_0x11ddbc);_0x39d6a6&&_0x39d6a6[_0x3577d6(0x4da)](_0x5f3845);}[_0xc00572(0x383)](_0x150ca6){const _0x1728dc=_0xc00572;return this[_0x1728dc(0x3f6)][_0x1728dc(0x270)](_0x150ca6);}[_0xc00572(0x4c2)](_0x36a42f,_0x36e530){const _0x13bc9e=_0xc00572;let _0x58052a=this['_roomMembers']['get'](_0x36a42f);if(_0x58052a)return _0x58052a[_0x13bc9e(0x4c2)](_0x36e530);}[_0xc00572(0x1fa)](_0x5201c3){const _0x6d722d=_0xc00572;let _0x529878=this['_roomMembers'][_0x6d722d(0x270)](_0x5201c3);_0x529878&&(_0x529878[_0x6d722d(0x2e1)](),this[_0x6d722d(0x3f6)][_0x6d722d(0x47f)](_0x5201c3));}[_0xc00572(0x2e1)](){const _0xb6676c=_0xc00572;this[_0xb6676c(0x3f6)][_0xb6676c(0x4f7)](_0x297e6b=>_0x297e6b['dispose']()),this['_roomMembers'][_0xb6676c(0x206)](),this[_0xb6676c(0x3b5)][_0xb6676c(0x418)]();}};_0x1e1888=_0x48fa36([_0x13590e(0x0,_0x4dc57b['IUniverInstanceService']),_0x13590e(0x1,(0x0,_0x4dc57b['Inject'])(_0x4dc57b[_0xc00572(0x2d3)]))],_0x1e1888);var _0x4525a8=class extends _0x4dc57b[_0xc00572(0x571)]{constructor(..._0x339527){const _0x347bee=_0xc00572;super(..._0x339527),_0x4c75f5(this,'_members',new Map()),_0x4c75f5(this,_0x347bee(0x511),new _0x4e24ba[(_0x347bee(0x52a))](this[_0x347bee(0x30d)])),_0x4c75f5(this,'members$',this[_0x347bee(0x511)][_0x347bee(0x2b4)]());}[_0xc00572(0x2e1)](){const _0x17bfbc=_0xc00572;this[_0x17bfbc(0x30d)]['clear']();}[_0xc00572(0x264)](_0x97a91f){const _0x5ec293=_0xc00572;this['_members'][_0x5ec293(0x37e)](_0x97a91f['memberID'],_0x97a91f),this[_0x5ec293(0x411)]();}[_0xc00572(0x4da)](_0x313b09){const _0x11477a=_0xc00572;this[_0x11477a(0x30d)][_0x11477a(0x47f)](_0x313b09);}[_0xc00572(0x4c2)](_0x3aaacb){const _0x53ef8d=_0xc00572;return this[_0x53ef8d(0x30d)][_0x53ef8d(0x270)](_0x3aaacb);}[_0xc00572(0x3f3)](){const _0x50b47c=_0xc00572;return Array[_0x50b47c(0x324)](this[_0x50b47c(0x30d)][_0x50b47c(0x247)]());}['_emitMembers'](){const _0x3332a6=_0xc00572;this[_0x3332a6(0x511)]['next'](this[_0x3332a6(0x30d)]);}};let _0xc023a9=function(_0x5e41de){const _0x3f5ac9=_0xc00572;return _0x5e41de[_0x5e41de[_0x3f5ac9(0x4cc)]=0x0]=_0x3f5ac9(0x4cc),_0x5e41de[_0x5e41de[_0x3f5ac9(0x2e3)]=0x1]=_0x3f5ac9(0x2e3),_0x5e41de[_0x5e41de[_0x3f5ac9(0x354)]=0x2]=_0x3f5ac9(0x354),_0x5e41de[_0x5e41de[_0x3f5ac9(0x370)]=0x3]='ONLINE',_0x5e41de;}({}),_0x2ee920={[_0xe18d15['FAIL']]:'session.join-failed',[_0xe18d15[_0xc00572(0x365)]]:_0xc00572(0x3d4),[_0xe18d15[_0xc00572(0x3f2)]]:_0xc00572(0x443),[_0xe18d15[_0xc00572(0x536)]]:_0xc00572(0x2ea),[_0xe18d15[_0xc00572(0x565)]]:_0xc00572(0x21d)},_0x6db918=class extends _0x4dc57b[_0xc00572(0x561)]{get[_0xc00572(0x4ca)](){return this['_sessionStatus$']['getValue']();}constructor(_0x5bb756,_0x3c2d5d,_0x2b164e,_0x352a34,_0x24b54e,_0x38ea7c,_0x33b036,_0x4b8448){const _0x58de0f=_0xc00572;super(),this['_unitID']=_0x5bb756,this[_0x58de0f(0x2d8)]=_0x2b164e,this[_0x58de0f(0x51f)]=_0x352a34,this[_0x58de0f(0x31c)]=_0x24b54e,this['_commentService']=_0x38ea7c,this[_0x58de0f(0x3ac)]=_0x33b036,this['_telemetryService']=_0x4b8448,_0x4c75f5(this,'_sessionStatus$',new _0x4e24ba[(_0x58de0f(0x52a))](_0xc023a9[_0x58de0f(0x4cc)])),_0x4c75f5(this,_0x58de0f(0x28b),this[_0x58de0f(0x2df)][_0x58de0f(0x2b4)]()),_0x4c75f5(this,_0x58de0f(0x2e9),new _0x4e24ba[(_0x58de0f(0x499))]()),_0x4c75f5(this,'event$',this['_event$'][_0x58de0f(0x2b4)]()),_0x4c75f5(this,_0x58de0f(0x1e2),void 0x0),_0x4c75f5(this,_0x58de0f(0x3c0),void 0x0),_0x4c75f5(this,'_collaborationTimeoutTimer',void 0x0),_0x4c75f5(this,_0x58de0f(0x4b8),!0x1),_0x4c75f5(this,_0x58de0f(0x55c),null),this[_0x58de0f(0x4b8)]=!!this['_telemetryService'],_0x3c2d5d['pipe']((0x0,_0x4e24ba['takeUntil'])(this['dispose$']))[_0x58de0f(0x50c)](_0x1a78e6=>{const _0x1fd772=_0x58de0f;if(_0x1a78e6!==void 0x0){if(this[_0x1fd772(0x1e2)]=_0x1a78e6,_0x1a78e6)this[_0x1fd772(0x2c6)](_0x1a78e6),this[_0x1fd772(0x3c0)]=_0x1a78e6[_0x1fd772(0x45d)][_0x1fd772(0x50c)](_0x35e55e=>{const _0x30f5e6=_0x1fd772;_0x35e55e[_0x30f5e6(0x3dd)]===this[_0x30f5e6(0x214)]&&this[_0x30f5e6(0x28e)](_0x35e55e);});else{var _0x922c3f;this[_0x1fd772(0x45a)](),this[_0x1fd772(0x2df)][_0x1fd772(0x3c4)](_0xc023a9[_0x1fd772(0x354)]),(_0x922c3f=this['_socketMessageSubscription'])==null||_0x922c3f[_0x1fd772(0x258)](),this[_0x1fd772(0x3c0)]=null;}}});}[_0xc00572(0x2cb)](){const _0x220873=_0xc00572;var _0x3df888,_0x54244d;return(_0x3df888=(_0x54244d=this[_0x220873(0x1e2)])==null?void 0x0:_0x54244d[_0x220873(0x2a0)])==null?null:_0x3df888;}[_0xc00572(0x2e1)](){const _0x5856ff=_0xc00572;super[_0x5856ff(0x2e1)](),this[_0x5856ff(0x4dc)](),this[_0x5856ff(0x450)][_0x5856ff(0x3c4)](),this[_0x5856ff(0x450)][_0x5856ff(0x418)]();}['close'](){const _0x3f767a=_0xc00572;var _0xbad330,_0x11a09b;this['_throwTelemetryCollaborationNewChangeset'](),(_0xbad330=this[_0x3f767a(0x1e2)])==null||_0xbad330[_0x3f767a(0x318)]({'cmd':_0xef70e1[_0x3f767a(0x376)],'data':{'roomID':this[_0x3f767a(0x214)]}}),(_0x11a09b=this[_0x3f767a(0x1e2)])==null||_0x11a09b[_0x3f767a(0x4dc)](),this['_event$']['complete'](),this[_0x3f767a(0x2df)][_0x3f767a(0x418)]();}[_0xc00572(0x28e)](_0x174d20){const _0xdd8016=_0xc00572;_0x174d20[_0xdd8016(0x4d1)]===_0xef70e1[_0xdd8016(0x265)]?this[_0xdd8016(0x557)](_0x174d20):_0x174d20[_0xdd8016(0x4d1)]===_0xef70e1[_0xdd8016(0x2cf)]&&this['_onRecvEvent'](_0x174d20);}[_0xc00572(0x2c6)](_0xd6e655){const _0x5363fc=_0xc00572;this[_0x5363fc(0x2df)]['next'](_0xc023a9[_0x5363fc(0x2e3)]),_0xd6e655[_0x5363fc(0x318)]({'cmd':_0xef70e1['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x5363fc(0x214)]}]}});}['_onJoinRoomEvent'](_0x5aff15){const _0x326003=_0xc00572;var _0x5396fb;if(_0x5aff15[_0x326003(0x25c)]in _0x2ee920){this[_0x326003(0x3ac)][_0x326003(0x3e4)]({'id':_0x280b0a[_0x326003(0x406)],'data':_0x2ee920[_0x5aff15[_0x326003(0x25c)]]}),this['_sessionStatus$']['next'](_0xc023a9['OFFLINE']);return;}this[_0x326003(0x2df)]['next'](_0xc023a9['ONLINE']);let _0x4e5cd3=(_0x5396fb=_0x5aff15[_0x326003(0x21a)]['roomInfos'][this[_0x326003(0x214)]])==null?void 0x0:_0x5396fb[_0x326003(0x3f9)];_0x4e5cd3&&_0x4e5cd3[_0x326003(0x4f7)](_0x4a23de=>this['_memberService'][_0x326003(0x264)](this[_0x326003(0x214)],_0x4a23de));}[_0xc00572(0x581)](_0x4f4192){const _0x2b942e=_0xc00572;try{let _0x401ac4=_0x4f4192[_0x2b942e(0x21a)];switch(_0x401ac4['eventID']){case _0xd2afbd[_0x2b942e(0x392)][_0x2b942e(0x25f)]:this[_0x2b942e(0x2fc)](_0x401ac4),this[_0x2b942e(0x2e9)]['next'](_0x401ac4);break;case _0xd2afbd[_0x2b942e(0x392)][_0x2b942e(0x302)]:this[_0x2b942e(0x321)](_0x401ac4),this[_0x2b942e(0x2e9)][_0x2b942e(0x3c4)](_0x401ac4);break;case _0xd2afbd['CollaborationEvent'][_0x2b942e(0x430)]:case _0xd2afbd[_0x2b942e(0x392)][_0x2b942e(0x4e1)]:this[_0x2b942e(0x56e)](),this[_0x2b942e(0x48a)](),this[_0x2b942e(0x2e9)]['next'](_0x401ac4);break;case _0xd2afbd[_0x2b942e(0x392)]['MSG_FOR_ERROR']:this[_0x2b942e(0x2d8)][_0x2b942e(0x3ef)](_0x2b942e(0x4fe)+JSON[_0x2b942e(0x2e2)](_0x401ac4)),this[_0x2b942e(0x2e9)]['next'](_0x401ac4);break;case _0xd2afbd[_0x2b942e(0x392)][_0x2b942e(0x4b3)]:this[_0x2b942e(0x1e4)][_0x2b942e(0x281)](_0x401ac4[_0x2b942e(0x21a)]),this[_0x2b942e(0x2e9)]['next'](_0x401ac4);break;default:this[_0x2b942e(0x2e9)]['next'](_0x401ac4);}}catch(_0xd16669){this[_0x2b942e(0x2d8)][_0x2b942e(0x3ef)](_0xd16669,_0x4f4192);}}[_0xc00572(0x2fc)](_0x2a74f7){const _0xf1309c=_0xc00572;this[_0xf1309c(0x31c)]['updateMember'](this[_0xf1309c(0x214)],_0x2a74f7[_0xf1309c(0x21a)]);}['_onUserLeave'](_0x562821){const _0x368590=_0xc00572;this[_0x368590(0x31c)][_0x368590(0x4da)](this[_0x368590(0x214)],_0x562821[_0x368590(0x21a)][_0x368590(0x2a0)]);}async[_0xc00572(0x318)](_0x28e7b3,_0x392f5d){const _0x4d4cac=_0xc00572;if(this[_0x4d4cac(0x4ca)]!==_0xc023a9['ONLINE']||!this[_0x4d4cac(0x1e2)])throw Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x28e7b3['eventID']===_0xd2afbd['CollaborationEvent'][_0x4d4cac(0x517)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4d4cac(0x49b)](_0x28e7b3)),this['_socket']['send']({'cmd':_0xef70e1[_0x4d4cac(0x489)],'routeKey':_0x392f5d,'routeType':'','data':_0x28e7b3});}catch(_0x4fe266){this[_0x4d4cac(0x2d8)][_0x4d4cac(0x3ef)](_0x4fe266);}}[_0xc00572(0x1f6)](){const _0x2446b2=_0xc00572;var _0xb9cd07;this['_collaborationTimeoutTimer']=setTimeout(()=>{const _0x3ff986=_0x46f9;this[_0x3ff986(0x34f)]=null,this[_0x3ff986(0x3ac)]['emitEvent']({'id':_0x280b0a[_0x3ff986(0x42b)]});},(_0xb9cd07=this[_0x2446b2(0x51f)]['getConfig'](_0x2446b2(0x1f2)))==null?_0x50121c:_0xb9cd07);}[_0xc00572(0x48a)](){const _0x191171=_0xc00572;this[_0x191171(0x34f)]&&(clearTimeout(this[_0x191171(0x34f)]),this[_0x191171(0x34f)]=null);}[_0xc00572(0x49b)](_0x291f37){const _0x37d073=_0xc00572;if(!this[_0x37d073(0x4b8)])return;let {data:_0x107016}=_0x291f37,{unitID:_0x47a64b,changeset:_0x38feab}=_0x107016,{mutations:_0x1c123b,type:_0x27533b}=_0x38feab;this[_0x37d073(0x55c)]={'unitId':_0x47a64b,'type':_0x27533b,'startTime':performance[_0x37d073(0x449)](),'stopTime':0x0,'duration':0x0,'size':_0x3cce0b(_0x1c123b)};}[_0xc00572(0x56e)](){const _0x12a85c=_0xc00572;if(this[_0x12a85c(0x4b8)]){if(!this[_0x12a85c(0x55c)]){this[_0x12a85c(0x2d8)][_0x12a85c(0x3ef)](_0x12a85c(0x349),_0x12a85c(0x4b1));return;}this['_telemetryInfo'][_0x12a85c(0x380)]=performance['now'](),this[_0x12a85c(0x55c)][_0x12a85c(0x556)]=this[_0x12a85c(0x55c)][_0x12a85c(0x380)]-this['_telemetryInfo'][_0x12a85c(0x4ec)],this[_0x12a85c(0x2a6)][_0x12a85c(0x216)](_0x12a85c(0x505),this['_telemetryInfo']),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x252292=_0xc00572;this[_0x252292(0x55c)]=null;}};_0x6db918=_0x48fa36([_0x13590e(0x2,_0x4dc57b[_0xc00572(0x4b5)]),_0x13590e(0x3,_0x4dc57b['IConfigService']),_0x13590e(0x4,(0x0,_0x4dc57b['Inject'])(_0x1e1888)),_0x13590e(0x5,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x1a8dd1)),_0x13590e(0x6,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xb13f4e)),_0x13590e(0x7,(0x0,_0x4dc57b[_0xc00572(0x3de)])(_0x4b8e02[_0xc00572(0x4d3)]))],_0x6db918);let _0x54ea89=(0x0,_0x4dc57b[_0xc00572(0x239)])(_0xc00572(0x353));function _0x43b392(_0x52b955){const _0x331d72=_0xc00572;return _0x331d72(0x4e3)+_0x52b955;}function _0x5406d6(_0x21bce2){const _0x3dba0d=_0xc00572;let {unitID:_0xbb85af,mutations:_0x3f2fc5}=_0x21bce2;return{'unitId':_0xbb85af,'subUnitId':_0x3f2fc5[_0x3dba0d(0x477)]>0x0?_0x3f2fc5[0x0][_0x3dba0d(0x487)][_0x3dba0d(0x3a4)]:null};}let _0x4f212c=class{constructor(_0x522a55,_0x443807,_0x3318ed){const _0x4ee58f=_0xc00572;this['_injector']=_0x522a55,this[_0x4ee58f(0x311)]=_0x443807,this[_0x4ee58f(0x2a8)]=_0x3318ed;}[_0xc00572(0x49e)](_0xe3ec52){const _0x8c7c38=_0xc00572;var _0x4d5277,_0x565deb;let _0xd85310=this[_0x8c7c38(0x2ad)][_0x8c7c38(0x270)](_0x4a7d96[_0x8c7c38(0x417)]),{unitId:_0x2274bd,subUnitId:_0x52fb50}=_0x5406d6(_0xe3ec52),_0x49ae47=_0xd85310==null?void 0x0:_0xd85310[_0x8c7c38(0x1e0)](_0x2274bd)[_0x8c7c38(0x43e)](),_0x215a6b=(_0x4d5277=this[_0x8c7c38(0x2a8)][_0x8c7c38(0x204)](_0x2274bd))==null||(_0x4d5277=_0x4d5277[_0x8c7c38(0x20b)]())==null?void 0x0:_0x4d5277[_0x8c7c38(0x523)]();if(_0x49ae47[_0x8c7c38(0x477)]===0x0||!_0x2274bd||!_0x52fb50)return;let _0x2e5510=[{'id':_0x4a7d96[_0x8c7c38(0x4c8)]['id'],'params':{'unitId':_0x2274bd,'subUnitId':_0x215a6b,'selections':_0x4dc57b[_0x8c7c38(0x379)]['deepClone'](_0x49ae47)}}],_0x509065=this[_0x8c7c38(0x311)][_0x8c7c38(0x276)](_0xe3ec52,_0x2e5510);if(!(0x0,_0xd2afbd[_0x8c7c38(0x46f)])(_0x509065))throw _0x509065['error'];let _0x44215b=(_0x565deb=_0x509065[_0x8c7c38(0x218)][0x0])==null||(_0x565deb=_0x565deb[_0x8c7c38(0x487)])==null?void 0x0:_0x565deb[_0x8c7c38(0x1f9)];if(Array[_0x8c7c38(0x3d9)](_0x44215b)&&_0x44215b[_0x8c7c38(0x477)]){if(_0x44215b[_0x8c7c38(0x477)]===_0x2e5510[0x0][_0x8c7c38(0x487)][_0x8c7c38(0x1f9)]['length']&&_0x44215b[_0x8c7c38(0x232)]((_0x492176,_0x1394c7)=>_0x4dc57b['Rectangle'][_0x8c7c38(0x23c)](_0x492176[_0x8c7c38(0x54d)],_0x2e5510[0x0][_0x8c7c38(0x487)][_0x8c7c38(0x1f9)][_0x1394c7][_0x8c7c38(0x54d)])))return;this[_0x8c7c38(0x2ad)][_0x8c7c38(0x270)](_0x4dc57b[_0x8c7c38(0x245)])[_0x8c7c38(0x28a)](_0x4a7d96['SetSelectionsOperation']['id'],{'unitId':_0x2274bd,'subUnitId':_0x215a6b,'selections':_0x44215b});}}};_0x4f212c=_0x48fa36([_0x13590e(0x0,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b['Injector'])),_0x13590e(0x1,_0xd2afbd['ITransformService']),_0x13590e(0x2,_0x4dc57b[_0xc00572(0x38c)])],_0x4f212c);let _0x5d1059=(0x0,_0x4dc57b['createIdentifier'])('univer-pro.collaboration-client.single-active-unit-service'),_0x12ab8e=function(_0x229849){const _0x4adcaf=_0xc00572;return _0x229849[_0x229849['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4adcaf(0x2e8),_0x229849[_0x229849[_0x4adcaf(0x299)]=0x1]='OTHER_CLIENTS_EDITING',_0x229849;}({}),_0x20b31b=_0xc00572(0x414);Symbol(_0x20b31b);let _0x492c19={};function _0x49c0d1(_0xb6d723){var _0x3c00d3;return!!((_0x3c00d3=_0xb6d723['params'])!=null&&_0x3c00d3['__splitChunk__']);}let _0x51e02a=new Set([_0x4a7d96[_0xc00572(0x211)]['id']]);function _0x18b5e7(_0x462b6a,_0x354ffe,_0x217971,_0x2e20ec,_0x363201){const _0x1e2019=_0xc00572;var _0x19d282,_0x5e6e20,_0x29cdb8,_0x3184bf;let _0x1c86e3=[];for(let _0x2cdaf8 of _0x462b6a){if(_0x51e02a['has'](_0x2cdaf8['id'])){if(_0x1c86e3[_0x1e2019(0x477)]>0x0)break;_0x1c86e3[_0x1e2019(0x1ef)](_0x2cdaf8);break;}if(_0x49c0d1(_0x2cdaf8)){if(_0x1c86e3[_0x1e2019(0x477)]>0x0)break;_0x1c86e3[_0x1e2019(0x1ef)](_0x2cdaf8);break;}_0x1c86e3[_0x1e2019(0x1ef)](_0x2cdaf8);}let _0x266c90=(_0x19d282=(_0x5e6e20=_0x363201[_0x1e2019(0x35a)]())==null?void 0x0:_0x5e6e20[_0x1e2019(0x28c)])==null?_0x1e2019(0x248):_0x19d282,_0x42ffd6=(_0x29cdb8=(_0x3184bf=_0x363201[_0x1e2019(0x35a)]())==null?void 0x0:_0x3184bf[_0x1e2019(0x2a0)])==null?_0x1e2019(0x248):_0x29cdb8;return{'changeset':{'unitID':_0x354ffe,'type':(0x0,_0xd2afbd[_0x1e2019(0x57d)])(_0x217971[_0x1e2019(0x36b)](_0x354ffe)),'baseRev':_0x2e20ec[_0x1e2019(0x4a3)](_0x354ffe),'revision':0x0,'userID':_0x266c90,'memberID':_0x42ffd6,'mutations':_0x1c86e3},'pendingMutations':_0x462b6a['slice'](_0x1c86e3[_0x1e2019(0x477)])};}function _0x148504(_0x3cd3a4,_0x268e49,_0x44898b,_0x4184ca,_0x594faf){const _0x1c8d2d=_0xc00572;var _0x36ab51,_0x5b6885,_0x53d60f,_0x5b5215;let _0x2524eb=[_0x3cd3a4['reduce']((_0x57f73d,_0xe4418e)=>{const _0x24bade=_0x46f9;var _0x2f98a0;let {id:_0x54d635}=_0x57f73d,{id:_0x101065,type:_0x497c5f}=_0xe4418e,_0x481dea=(_0x2f98a0=_0x57f73d[_0x24bade(0x487)])==null?{'actions':null}:_0x2f98a0,_0x247108=_0xe4418e[_0x24bade(0x487)];if(_0x54d635&&_0x54d635!==_0x101065)throw Error(_0x24bade(0x255)+_0x54d635+'\x20-\x20'+_0x101065+'.');return{..._0x57f73d,'id':_0x101065,'type':_0x497c5f,'params':{'unitId':_0x247108['unitId'],'textRanges':_0x247108['textRanges'],'actions':_0x4dc57b[_0x24bade(0x230)][_0x24bade(0x341)](_0x481dea[_0x24bade(0x465)],_0x247108[_0x24bade(0x465)])}};},{})],_0x43143f=(_0x36ab51=(_0x5b6885=_0x594faf[_0x1c8d2d(0x35a)]())==null?void 0x0:_0x5b6885['userID'])==null?_0x1c8d2d(0x248):_0x36ab51,_0x12d1a9=(_0x53d60f=(_0x5b5215=_0x594faf['getCurrentUser']())==null?void 0x0:_0x5b5215[_0x1c8d2d(0x2a0)])==null?'unknown':_0x53d60f;return{'changeset':{'unitID':_0x268e49,'type':(0x0,_0xd2afbd[_0x1c8d2d(0x57d)])(_0x44898b[_0x1c8d2d(0x36b)](_0x268e49)),'baseRev':_0x4184ca['getCurrentRevOfUnit'](_0x268e49),'revision':0x0,'userID':_0x43143f,'memberID':_0x12d1a9,'mutations':_0x2524eb},'pendingMutations':[]};}function _0x2a0205(_0x3e176e,_0x5736bc){const _0x2b8c00=_0xc00572;let _0x513601=new _0x4e24ba[(_0x2b8c00(0x277))](0x1);return setTimeout(()=>_0x513601[_0x2b8c00(0x3c4)](_0x5736bc),_0x3e176e),_0x513601[_0x2b8c00(0x2b4)]()['pipe']((0x0,_0x4e24ba[_0x2b8c00(0x3db)])(0x1));}var _0x350d09,_0x3aa160,_0x40f94d;let _0x525af4=function(_0x1fe5d7){const _0x45d0a3=_0xc00572;return _0x1fe5d7['NOT_COLLAB']='not_collab',_0x1fe5d7['SYNCED']='synced',_0x1fe5d7[_0x45d0a3(0x2f3)]='pending',_0x1fe5d7[_0x45d0a3(0x4ba)]='awaiting',_0x1fe5d7[_0x45d0a3(0x254)]=_0x45d0a3(0x400),_0x1fe5d7[_0x45d0a3(0x51e)]='fetch_missing',_0x1fe5d7[_0x45d0a3(0x1dc)]=_0x45d0a3(0x4f8),_0x1fe5d7[_0x45d0a3(0x354)]='offline',_0x1fe5d7;}({}),_0x491381=0x4e20,_0x2ac9a3=0x2bf20;var _0x5945f1=class{constructor(_0x4bf54e,_0x4bb705,_0x3c3b03,_0x4a3c54,_0x1b5a08,_0x30b918,_0x1abd91,_0x54e8af,_0x1eb5ad){const _0x496868=_0xc00572;this[_0x496868(0x2c0)]=_0x4bf54e,this[_0x496868(0x398)]=_0x4bb705,this[_0x496868(0x48c)]=_0x1b5a08,this[_0x496868(0x32f)]=_0x30b918,this[_0x496868(0x583)]=_0x1abd91,this['_revisionService']=_0x54e8af,this['_localCacheService']=_0x1eb5ad,_0x4c75f5(this,_0x496868(0x2a3),null),_0x4c75f5(this,_0x496868(0x401),[]),this['_awaitingChangeset']=_0x3c3b03,this[_0x496868(0x401)]=_0x4a3c54;}[_0xc00572(0x4d0)](_0x1e38dc){const _0xc3eda4=_0xc00572;let _0x207388=this[_0xc3eda4(0x4a9)][_0xc3eda4(0x4a3)](this[_0xc3eda4(0x2c0)]);return _0x1e38dc[_0xc3eda4(0x3c5)]>_0x207388+0x1?(this[_0xc3eda4(0x48c)][_0xc3eda4(0x45c)]({'from':_0x207388,'to':_0x1e38dc[_0xc3eda4(0x3c5)]-0x1}),!0x0):!0x1;}[_0xc00572(0x2a4)](_0x470534){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x470534);}[_0xc00572(0x2e5)](_0x249294){const _0x54f654=_0xc00572;var _0x58941f,_0x12d3c3;(_0x58941f=(_0x12d3c3=this[_0x54f654(0x48c)])[_0x54f654(0x399)])==null||_0x58941f[_0x54f654(0x527)](_0x12d3c3,_0x249294);}['_transformIMECache'](_0x585391){const _0x49a418=_0xc00572;var _0x5cd7dc,_0x1db063;return(_0x5cd7dc=(_0x1db063=this['_handler'])[_0x49a418(0x39d)])==null?void 0x0:_0x5cd7dc[_0x49a418(0x527)](_0x1db063,_0x585391);}[_0xc00572(0x433)](_0x16b52e){const _0x3d6664=_0xc00572;var _0x570918,_0x1fe9be;return(_0x570918=(_0x1fe9be=this[_0x3d6664(0x48c)])[_0x3d6664(0x39f)])==null?void 0x0:_0x570918[_0x3d6664(0x527)](_0x1fe9be,_0x16b52e);}['_transformRemoteChangesetByIMECache'](_0x2b3875){const _0x6170a=_0xc00572;var _0x526d2b,_0x21534c,_0x2897bb;return(_0x526d2b=(_0x21534c=(_0x2897bb=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x21534c[_0x6170a(0x527)](_0x2897bb,_0x2b3875))==null?_0x2b3875:_0x526d2b;}[_0xc00572(0x21b)](_0x3fdb16){const _0x52c37f=_0xc00572;var _0x223f2f,_0x3e9ae7,_0xd0184e;return(_0x223f2f=(_0x3e9ae7=(_0xd0184e=this[_0x52c37f(0x48c)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3e9ae7['call'](_0xd0184e,_0x3fdb16))==null?_0x3fdb16:_0x223f2f;}['_syncEditingCollabCursor'](_0x113e41){const _0x310439=_0xc00572;if(this['type']===_0x2625e7[_0x310439(0x338)]){let {unitID:_0x3616e,mutations:_0x63ccae,memberID:_0xe3b23f}=_0x113e41,_0x29d1ba=_0x63ccae[_0x310439(0x477)]>0x0?_0x63ccae[0x0][_0x310439(0x487)]['textRanges']:[];if(Array[_0x310439(0x3d9)](_0x29d1ba)&&_0x29d1ba['length']>0x0){var _0x3be17f,_0xeff48d;(_0x3be17f=(_0xeff48d=this[_0x310439(0x48c)])[_0x310439(0x226)])==null||_0x3be17f[_0x310439(0x527)](_0xeff48d,{'unitID':_0x3616e,'memberID':_0xe3b23f,'textRanges':_0x29d1ba});}}}[_0xc00572(0x46d)](){const _0x972916=_0xc00572;var _0x1bd795;(_0x1bd795=this['_localCacheService'])==null||_0x1bd795['updateOfflineData'](this['unitID'],this['type'],this[_0x972916(0x2a3)],this[_0x972916(0x401)]);}[_0xc00572(0x267)](){const _0x520acc=_0xc00572;return this['_revisionService'][_0x520acc(0x4a3)](this[_0x520acc(0x2c0)]);}[_0xc00572(0x3b4)](){const _0x3056a0=_0xc00572;this[_0x3056a0(0x4a9)][_0x3056a0(0x553)](this[_0x3056a0(0x2c0)]);}[_0xc00572(0x57e)](_0x3af19e){const _0x336db4=_0xc00572;let _0x5afdbd=this['_transformRemoteChangesetByIMECache'](_0x3af19e);_0x5afdbd=this[_0x336db4(0x21b)](_0x5afdbd);let _0x2c8adc=(0x0,_0x4dc57b[_0x336db4(0x4b0)])(_0x5afdbd[_0x336db4(0x366)],this['_commandService'],{'fromCollab':!0x0});if(!_0x2c8adc[_0x336db4(0x25e)]){var _0x19d27b;throw _0x2c8adc[_0x336db4(0x3ef)]instanceof Error?_0x2c8adc['error']:Error((_0x19d27b=_0x2c8adc[_0x336db4(0x3ef)])==null?_0x336db4(0x1f0):_0x19d27b);}this[_0x336db4(0x227)](_0x5afdbd),this[_0x336db4(0x433)](_0x5afdbd),this[_0x336db4(0x2a4)](_0x3af19e),this[_0x336db4(0x2e5)](_0x5afdbd),this[_0x336db4(0x438)](_0x5afdbd),this['_incrementRevisionNumber']();}};let _0x2ea961=class extends _0x5945f1{constructor(_0x224892,_0x12ea34,_0x4b0368,_0x41eab7,_0x3f9ec1,_0x1433b7,_0x41a612,_0x33bac9,_0x315fab,_0x2dfdbe){const _0x285a37=_0xc00572;super(_0x224892,_0x12ea34,null,[],_0x4b0368,_0x41a612,_0x1433b7,_0x41eab7,_0x2dfdbe),this[_0x285a37(0x2ad)]=_0x3f9ec1,this['_logService']=_0x33bac9,this['_transformService']=_0x315fab,this[_0x285a37(0x582)]=_0x2dfdbe,_0x4c75f5(this,_0x285a37(0x429),_0x525af4[_0x285a37(0x3cb)]);}['appendMutation'](_0x56d9ca){const _0x5c71e5=_0xc00572;let _0x1f1a47=this[_0x5c71e5(0x2ad)]['createInstance'](_0x2e0289,this[_0x5c71e5(0x2c0)],this[_0x5c71e5(0x398)],[_0x56d9ca],this[_0x5c71e5(0x48c)]);return _0x1f1a47[_0x5c71e5(0x2da)](),_0x1f1a47[_0x5c71e5(0x46d)](),_0x1f1a47;}[_0xc00572(0x4aa)](_0x220b76){const _0x338e53=_0xc00572;if(this[_0x338e53(0x4d0)](_0x220b76))return this[_0x338e53(0x2ad)]['createInstance'](_0x3bd0,this[_0x338e53(0x2c0)],this[_0x338e53(0x398)],null,[],null,[_0x220b76],this[_0x338e53(0x48c)]);try{let _0x5243e0=this[_0x338e53(0x311)][_0x338e53(0x276)](_0x220b76,[_0xd2afbd[_0x338e53(0x358)]]);if((0x0,_0xd2afbd[_0x338e53(0x46f)])(_0x5243e0)){let {c1Prime:_0x3b66cd}=_0x5243e0;return this['_executeRemoteChangeset'](_0x3b66cd),this;}throw _0x5243e0[_0x338e53(0x3ef)];}catch(_0x117240){return this[_0x338e53(0x2d8)][_0x338e53(0x3ef)](_0x117240),this[_0x338e53(0x303)](!0x1);}}[_0xc00572(0x303)](_0x3140ad){const _0x3e6f02=_0xc00572;return this['_injector']['createInstance'](_0x70b43c,this[_0x3e6f02(0x2c0)],this['type'],null,[],this['_handler'],_0x3140ad);}[_0xc00572(0x2b3)](){throw Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x558fe3=_0xc00572;throw Error(_0x558fe3(0x540));}[_0xc00572(0x584)](){return this;}[_0xc00572(0x461)](){const _0x21e823=_0xc00572;return this[_0x21e823(0x2ad)][_0x21e823(0x40d)](_0x422a2f,this[_0x21e823(0x2c0)],this[_0x21e823(0x398)],null,[],this[_0x21e823(0x48c)]);}[_0xc00572(0x37c)](){return this;}[_0xc00572(0x27b)](){const _0x70e56d=_0xc00572;throw Error(_0x70e56d(0x43c));}[_0xc00572(0x506)](){const _0xe23f01=_0xc00572;let _0x52bbca=this[_0xe23f01(0x4a9)]['getCurrentRevOfUnit'](this[_0xe23f01(0x2c0)]);return this[_0xe23f01(0x48c)]['onMissingChangesets']({'from':_0x52bbca,'to':0x0}),this[_0xe23f01(0x2ad)]['createInstance'](_0x3bd0,this[_0xe23f01(0x2c0)],this[_0xe23f01(0x398)],null,[],null,[],this[_0xe23f01(0x48c)]);}};_0x2ea961=_0x48fa36([_0x13590e(0x3,(0x0,_0x4dc57b['Inject'])(_0xd2afbd[_0xc00572(0x4cf)])),_0x13590e(0x4,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b['Injector'])),_0x13590e(0x5,_0x4dc57b['IUndoRedoService']),_0x13590e(0x6,_0x4dc57b[_0xc00572(0x245)]),_0x13590e(0x7,_0x4dc57b[_0xc00572(0x4b5)]),_0x13590e(0x8,_0xd2afbd[_0xc00572(0x4ef)]),_0x13590e(0x9,(0x0,_0x4dc57b[_0xc00572(0x3de)])(_0x54ea89))],_0x2ea961);let _0x2e0289=_0x350d09=class extends _0x5945f1{constructor(_0xbd36f2,_0x223a80,_0x54beb4,_0x4fa359,_0x22b3a0,_0x1b09b9,_0x3e0d9a,_0x31aab3,_0x552eb7,_0x11216f,_0x587266,_0x54cff8,_0x4b44dd,_0x172835){const _0x491c48=_0xc00572;super(_0xbd36f2,_0x223a80,null,_0x54beb4,_0x4fa359,_0x552eb7,_0x4b44dd,_0x1b09b9,_0x172835),this['_injector']=_0x22b3a0,this[_0x491c48(0x31c)]=_0x3e0d9a,this[_0x491c48(0x2d8)]=_0x31aab3,this[_0x491c48(0x51f)]=_0x11216f,this['_transformService']=_0x587266,this['_univerInstanceService']=_0x54cff8,_0x4c75f5(this,_0x491c48(0x429),_0x525af4[_0x491c48(0x2f3)]),_0x4c75f5(this,_0x491c48(0x56f),null),_0x4c75f5(this,_0x491c48(0x345),null);}[_0xc00572(0x3f8)](_0x3d93ee){const _0x6f1a8a=_0xc00572;return this['_pendingMutations'][_0x6f1a8a(0x1ef)](_0x3d93ee),this[_0x6f1a8a(0x46d)](),this;}['onRemoteChangeset'](_0x4df30b){const _0x32cee6=_0xc00572;if(this[_0x32cee6(0x4d0)](_0x4df30b))return this[_0x32cee6(0x39e)](),this[_0x32cee6(0x2ad)][_0x32cee6(0x40d)](_0x3bd0,this[_0x32cee6(0x2c0)],this[_0x32cee6(0x398)],null,this['_pendingMutations'],null,[_0x4df30b],this[_0x32cee6(0x48c)]);try{let _0x39fda1=this['_transformService'][_0x32cee6(0x276)](_0x4df30b,this[_0x32cee6(0x401)]);if((0x0,_0xd2afbd['isTransformMutationsWithChangesetSuccess'])(_0x39fda1)){let {c1Prime:_0x1959d2,m2Prime:_0x404e40}=_0x39fda1;this[_0x32cee6(0x57e)](_0x1959d2);let _0x54f134=this[_0x32cee6(0x2ad)][_0x32cee6(0x40d)](_0x350d09,this[_0x32cee6(0x2c0)],this[_0x32cee6(0x398)],_0x404e40,this[_0x32cee6(0x48c)]);this[_0x32cee6(0x39e)]();let _0x33932c=new Date()[_0x32cee6(0x2a7)](),_0xc3809b=this[_0x32cee6(0x56f)]?Math['max'](this[_0x32cee6(0x56f)]-_0x33932c,0x0):this[_0x32cee6(0x1e8)]();return _0x54f134['_schedule'](_0xc3809b),_0x54f134;}throw _0x39fda1[_0x32cee6(0x3ef)];}catch(_0x2e60a8){return this[_0x32cee6(0x2d8)][_0x32cee6(0x3ef)](_0x2e60a8),this[_0x32cee6(0x303)](!0x1);}}['onRemoteAck'](){const _0x11491d=_0xc00572;throw Error(_0x11491d(0x2f5));}['onRemoteRej'](){const _0x2e7ec7=_0xc00572;throw Error(_0x2e7ec7(0x28d));}[_0xc00572(0x584)](){return this;}[_0xc00572(0x461)](){const _0x4313f2=_0xc00572;return this[_0x4313f2(0x39e)](),this['_injector'][_0x4313f2(0x40d)](_0x422a2f,this[_0x4313f2(0x2c0)],this[_0x4313f2(0x398)],null,this[_0x4313f2(0x401)],this['_handler']);}[_0xc00572(0x37c)](){return this;}[_0xc00572(0x2da)](_0x58a917){const _0x27e669=_0xc00572;let _0x2135ce=_0x58a917==null?this[_0x27e669(0x1e8)]():_0x58a917;this[_0x27e669(0x56f)]=new Date()[_0x27e669(0x2a7)]()+_0x2135ce,this[_0x27e669(0x345)]=setTimeout(()=>{const _0x33df28=_0x27e669;this[_0x33df28(0x39e)]();let _0x16f0e0=null;switch(this['type']){case _0x2625e7[_0x33df28(0x35b)]:_0x16f0e0=_0x18b5e7(this[_0x33df28(0x401)],this[_0x33df28(0x2c0)],this[_0x33df28(0x4f5)],this[_0x33df28(0x4a9)],this['_memberService']);break;case _0x2625e7[_0x33df28(0x338)]:_0x16f0e0=this[_0x33df28(0x401)][_0x33df28(0x232)](_0x1ae2c6=>_0x1ae2c6['id']===_0xa09c65[_0x33df28(0x503)]['id'])?_0x148504(this[_0x33df28(0x401)],this[_0x33df28(0x2c0)],this[_0x33df28(0x4f5)],this['_revisionService'],this['_memberService']):_0x18b5e7(this['_pendingMutations'],this[_0x33df28(0x2c0)],this[_0x33df28(0x4f5)],this[_0x33df28(0x4a9)],this[_0x33df28(0x31c)]);break;default:throw Error(_0x33df28(0x1ff)+this['type']+_0x33df28(0x34c));}let {changeset:_0x10419e,pendingMutations:_0xa2a580}=_0x16f0e0;this[_0x33df28(0x48c)][_0x33df28(0x3a8)](_0x10419e);let _0x1b3daf=_0xa2a580[_0x33df28(0x477)]?this[_0x33df28(0x2ad)]['createInstance'](_0x17bc24,this[_0x33df28(0x2c0)],this['type'],_0x10419e,_0xa2a580,this[_0x33df28(0x48c)],void 0x0):this[_0x33df28(0x2ad)]['createInstance'](_0x329c84,this[_0x33df28(0x2c0)],this[_0x33df28(0x398)],_0x10419e,this['_handler']);_0x1b3daf[_0x33df28(0x46d)](),this['_handler']['onStateChange'](this,_0x1b3daf);},_0x2135ce);}[_0xc00572(0x1e8)](){const _0x2a103a=_0xc00572;var _0x1cd0d9;let _0x38b6af=this[_0x2a103a(0x51f)][_0x2a103a(0x466)](_0x20b31b);return(_0x1cd0d9=_0x38b6af==null?void 0x0:_0x38b6af[_0x2a103a(0x33a)])==null?0x7d0:_0x1cd0d9;}[_0xc00572(0x27b)](){throw Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xc00572(0x39e)](){const _0x2fcca7=_0xc00572;this[_0x2fcca7(0x345)]!=null&&(clearTimeout(this[_0x2fcca7(0x345)]),this[_0x2fcca7(0x345)]=null);}['_onConflict'](_0x3f4b13){const _0x544c96=_0xc00572;return this['_clearScheduledTask'](),this['_injector'][_0x544c96(0x40d)](_0x70b43c,this[_0x544c96(0x2c0)],this[_0x544c96(0x398)],null,this[_0x544c96(0x401)],this['_handler'],_0x3f4b13);}};_0x2e0289=_0x350d09=_0x48fa36([_0x13590e(0x4,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b[_0xc00572(0x3b2)])),_0x13590e(0x5,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xd2afbd[_0xc00572(0x4cf)])),_0x13590e(0x6,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x1e1888)),_0x13590e(0x7,_0x4dc57b[_0xc00572(0x4b5)]),_0x13590e(0x8,_0x4dc57b[_0xc00572(0x245)]),_0x13590e(0x9,_0x4dc57b['IConfigService']),_0x13590e(0xa,_0xd2afbd[_0xc00572(0x4ef)]),_0x13590e(0xb,_0x4dc57b[_0xc00572(0x38c)]),_0x13590e(0xc,_0x4dc57b[_0xc00572(0x41b)]),_0x13590e(0xd,(0x0,_0x4dc57b[_0xc00572(0x3de)])(_0x54ea89))],_0x2e0289);let _0x329c84=_0x3aa160=class extends _0x5945f1{constructor(_0x164b72,_0x9a0d4c,_0x2af7ea,_0x2e65bc,_0x172061,_0x1c2d8e,_0x822974,_0x2ce6a1,_0x592886,_0x718a5b,_0x504e60){const _0x346b20=_0xc00572;super(_0x164b72,_0x9a0d4c,_0x2af7ea,[],_0x2e65bc,_0x822974,_0x718a5b,_0x1c2d8e,_0x504e60),this[_0x346b20(0x2ad)]=_0x172061,this[_0x346b20(0x2d8)]=_0x2ce6a1,this[_0x346b20(0x311)]=_0x592886,_0x4c75f5(this,'status',_0x525af4[_0x346b20(0x4ba)]),_0x4c75f5(this,'_resendTimeout',0x0),_0x4c75f5(this,_0x346b20(0x538),0x0),_0x4c75f5(this,_0x346b20(0x4be),void 0x0),_0x4c75f5(this,_0x346b20(0x407),void 0x0);}[_0xc00572(0x3f8)](_0x2c596c){const _0x214dec=_0xc00572;this['_clearScheduledTask']();let _0x22e83c=this[_0x214dec(0x2ad)][_0x214dec(0x40d)](_0x17bc24,this[_0x214dec(0x2c0)],this['type'],this[_0x214dec(0x2a3)],[_0x2c596c],this[_0x214dec(0x48c)],this['_resendTimer']);return _0x22e83c['_updateLocalCache'](),_0x22e83c;}[_0xc00572(0x4aa)](_0x39c785){const _0x22746b=_0xc00572;if(this[_0x22746b(0x4d0)](_0x39c785))return this[_0x22746b(0x39e)](),this['_injector'][_0x22746b(0x40d)](_0x3bd0,this[_0x22746b(0x2c0)],this[_0x22746b(0x398)],this[_0x22746b(0x2a3)],[],null,[_0x39c785],this[_0x22746b(0x48c)]);try{let _0x1f18b6=this[_0x22746b(0x311)][_0x22746b(0x3b3)]([_0x39c785],[this[_0x22746b(0x2a3)]],!0x1);if((0x0,_0xd2afbd[_0x22746b(0x520)])(_0x1f18b6)){let {c1Prime:_0x1ef712,c2Prime:_0x366b75}=_0x1f18b6;this[_0x22746b(0x57e)](_0x1ef712[0x0]),_0x366b75[0x0][_0x22746b(0x440)]=this[_0x22746b(0x267)](),this['_clearScheduledTask']();let _0x4612f6=this['_injector'][_0x22746b(0x40d)](_0x3aa160,this[_0x22746b(0x2c0)],this['type'],_0x366b75[0x0],this[_0x22746b(0x48c)]);return _0x4612f6[_0x22746b(0x46d)](),_0x4612f6;}return this[_0x22746b(0x303)](!0x1);}catch(_0x554196){return this['_logService'][_0x22746b(0x3ef)](_0x554196),this[_0x22746b(0x303)](!0x1);}}[_0xc00572(0x2b3)](_0x451d23){const _0x373c10=_0xc00572;this[_0x373c10(0x39e)]();let _0x2bceb8=this['_revisionService']['getCurrentRevOfUnit'](this[_0x373c10(0x2c0)]);if(_0x451d23['revision']<_0x2bceb8-0x1)return this;if(this[_0x373c10(0x4d0)](_0x451d23))return this[_0x373c10(0x2ad)][_0x373c10(0x40d)](_0x3bd0,this['unitID'],this[_0x373c10(0x398)],null,[],this['_awaitingChangeset'],[],this[_0x373c10(0x48c)]);this[_0x373c10(0x3b4)]();let _0x1b2627=this[_0x373c10(0x2ad)][_0x373c10(0x40d)](_0x2ea961,this[_0x373c10(0x2c0)],this[_0x373c10(0x398)],this[_0x373c10(0x48c)]);return _0x1b2627[_0x373c10(0x46d)](),_0x1b2627;}[_0xc00572(0x22e)](_0x50a9fc){const _0x15abf2=_0xc00572;return this[_0x15abf2(0x303)](!!(_0x50a9fc!=null&&_0x50a9fc[_0x15abf2(0x209)]));}['onRemoteRetry'](_0x27b6e7){const _0x1d795a=_0xc00572;return this['_maxTotalRetryTimeout']>_0x2ac9a3?this[_0x1d795a(0x461)]():(this[_0x1d795a(0x4be)]=_0x2a0205(this[_0x1d795a(0x4ab)],{'timeout':this[_0x1d795a(0x4ab)],'reqId':_0x27b6e7[_0x1d795a(0x49f)]}),this['_sender']=this[_0x1d795a(0x4be)][_0x1d795a(0x50c)](({reqId:_0x2f8b1a,timeout:_0x385f36})=>{const _0x3ed74b=_0x1d795a;this[_0x3ed74b(0x47c)](_0x2f8b1a,_0x385f36);}),this);}['toggleOffline'](){const _0x88a0fc=_0xc00572;return this[_0x88a0fc(0x39e)](),this['_injector'][_0x88a0fc(0x40d)](_0x422a2f,this[_0x88a0fc(0x2c0)],this[_0x88a0fc(0x398)],this[_0x88a0fc(0x2a3)],[],this[_0x88a0fc(0x48c)]);}[_0xc00572(0x37c)](){return this;}[_0xc00572(0x27b)](){const _0x474e44=_0xc00572;this[_0x474e44(0x48c)][_0x474e44(0x3a8)](this[_0x474e44(0x2a3)]);}['_onConflict'](_0x29373d){const _0x13cb0c=_0xc00572;return this[_0x13cb0c(0x39e)](),this['_injector'][_0x13cb0c(0x40d)](_0x70b43c,this[_0x13cb0c(0x2c0)],this[_0x13cb0c(0x398)],this[_0x13cb0c(0x2a3)],[],this['_handler'],_0x29373d);}[_0xc00572(0x47c)](_0x5a80ff,_0x47751a){const _0x8245a5=_0xc00572;var _0x3fd17e;_0x5a80ff===((_0x3fd17e=this[_0x8245a5(0x2a3)])==null?void 0x0:_0x3fd17e[_0x8245a5(0x49f)])&&(this[_0x8245a5(0x27b)](),this[_0x8245a5(0x4ab)]=_0x47751a===0x0?0x3e8:Math['min'](_0x47751a*0x2,_0x491381),this[_0x8245a5(0x538)]+=this[_0x8245a5(0x4ab)]);}['_clearScheduledTask'](){const _0x2d1ebe=_0xc00572;var _0x3e5a52;(_0x3e5a52=this[_0x2d1ebe(0x407)])==null||_0x3e5a52[_0x2d1ebe(0x258)](),this[_0x2d1ebe(0x4ab)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x329c84=_0x3aa160=_0x48fa36([_0x13590e(0x4,(0x0,_0x4dc57b['Inject'])(_0x4dc57b[_0xc00572(0x3b2)])),_0x13590e(0x5,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xd2afbd[_0xc00572(0x4cf)])),_0x13590e(0x6,_0x4dc57b[_0xc00572(0x245)]),_0x13590e(0x7,_0x4dc57b['ILogService']),_0x13590e(0x8,_0xd2afbd[_0xc00572(0x4ef)]),_0x13590e(0x9,_0x4dc57b['IUndoRedoService']),_0x13590e(0xa,(0x0,_0x4dc57b[_0xc00572(0x3de)])(_0x54ea89))],_0x329c84);let _0x17bc24=_0x40f94d=class extends _0x5945f1{constructor(_0x5ec6ed,_0xdbffaf,_0x5d1b06,_0x58854b,_0x1b1943,_0x5062b8,_0x26f799,_0x49d16e,_0x4fccac,_0x374613,_0x2860a9,_0x1d3631,_0x188dba){const _0x183621=_0xc00572;super(_0x5ec6ed,_0xdbffaf,_0x5d1b06,_0x58854b,_0x1b1943,_0x4fccac,_0x1d3631,_0x49d16e,_0x188dba),this[_0x183621(0x2ad)]=_0x26f799,this['_logService']=_0x374613,this[_0x183621(0x311)]=_0x2860a9,this['localCacheService']=_0x188dba,_0x4c75f5(this,_0x183621(0x429),_0x525af4[_0x183621(0x254)]),_0x4c75f5(this,_0x183621(0x4ab),0x0),_0x4c75f5(this,_0x183621(0x538),0x0),_0x4c75f5(this,_0x183621(0x4be),void 0x0),_0x4c75f5(this,_0x183621(0x407),void 0x0),_0x5062b8&&(this[_0x183621(0x4be)]=_0x5062b8,this[_0x183621(0x407)]=this['_resendTimer']['subscribe'](({reqId:_0x109552,timeout:_0x3f026a})=>{this['_resendWithTimeout'](_0x109552,_0x3f026a);}));}[_0xc00572(0x3f8)](_0x3b5c67){const _0x30d4a3=_0xc00572;return this[_0x30d4a3(0x401)][_0x30d4a3(0x1ef)](_0x3b5c67),this;}['onRemoteChangeset'](_0x163b3b){const _0x3843d9=_0xc00572;if(this[_0x3843d9(0x4d0)](_0x163b3b))return this[_0x3843d9(0x39e)](),this[_0x3843d9(0x2ad)]['createInstance'](_0x3bd0,this[_0x3843d9(0x2c0)],this['type'],this['_awaitingChangeset'],this[_0x3843d9(0x401)],null,[_0x163b3b],this[_0x3843d9(0x48c)]);try{let _0x3fde2a=this['_transformService'][_0x3843d9(0x3b3)]([_0x163b3b],[this[_0x3843d9(0x2a3)]],!0x1);if((0x0,_0xd2afbd[_0x3843d9(0x520)])(_0x3fde2a)){let {c1Prime:_0xd9274a,c2Prime:_0x1a4cdf}=_0x3fde2a,_0x45465e=this[_0x3843d9(0x311)][_0x3843d9(0x276)](_0xd9274a[0x0],this[_0x3843d9(0x401)]);if((0x0,_0xd2afbd[_0x3843d9(0x46f)])(_0x45465e)){let {c1Prime:_0xe3d46a,m2Prime:_0x583029}=_0x45465e;return this[_0x3843d9(0x57e)](_0xe3d46a),_0x1a4cdf[0x0][_0x3843d9(0x440)]=this[_0x3843d9(0x267)](),this[_0x3843d9(0x39e)](),this[_0x3843d9(0x2ad)][_0x3843d9(0x40d)](_0x40f94d,this['unitID'],this[_0x3843d9(0x398)],_0x1a4cdf[0x0],_0x583029,this[_0x3843d9(0x48c)],void 0x0);}throw _0x45465e[_0x3843d9(0x3ef)];}throw _0x3fde2a[_0x3843d9(0x3ef)];}catch(_0x52b775){return this[_0x3843d9(0x2d8)][_0x3843d9(0x3ef)](_0x52b775),this[_0x3843d9(0x303)](!0x1);}}['onRemoteAck'](_0x85afe7){const _0x38b6b9=_0xc00572;if(this[_0x38b6b9(0x39e)](),this['_checkMissing'](_0x85afe7))return this[_0x38b6b9(0x2ad)][_0x38b6b9(0x40d)](_0x3bd0,this['unitID'],this[_0x38b6b9(0x398)],null,this[_0x38b6b9(0x401)],this[_0x38b6b9(0x2a3)],[],this[_0x38b6b9(0x48c)]);this[_0x38b6b9(0x3b4)]();let _0x1f6c3b=this[_0x38b6b9(0x2ad)][_0x38b6b9(0x40d)](_0x2e0289,this[_0x38b6b9(0x2c0)],this[_0x38b6b9(0x398)],this[_0x38b6b9(0x401)],this[_0x38b6b9(0x48c)]);return _0x1f6c3b[_0x38b6b9(0x2da)](),_0x1f6c3b[_0x38b6b9(0x46d)](),_0x1f6c3b;}[_0xc00572(0x22e)](_0x385109){const _0x58ddbc=_0xc00572;return this[_0x58ddbc(0x303)](!!(_0x385109!=null&&_0x385109[_0x58ddbc(0x209)]));}['onRemoteRetry'](_0x55b9de){const _0x47a7fa=_0xc00572;return this[_0x47a7fa(0x538)]>_0x2ac9a3?this[_0x47a7fa(0x461)]():(this['_resendTimer']=_0x2a0205(this[_0x47a7fa(0x4ab)],{'timeout':this[_0x47a7fa(0x4ab)],'reqId':_0x55b9de[_0x47a7fa(0x49f)]}),this[_0x47a7fa(0x407)]=this[_0x47a7fa(0x4be)]['subscribe'](({reqId:_0x147ac1,timeout:_0x3d2d09})=>{const _0x20d26d=_0x47a7fa;this[_0x20d26d(0x47c)](_0x147ac1,_0x3d2d09);}),this);}[_0xc00572(0x461)](){const _0x2cb40e=_0xc00572;return this[_0x2cb40e(0x39e)](),this['_injector'][_0x2cb40e(0x40d)](_0x422a2f,this[_0x2cb40e(0x2c0)],this[_0x2cb40e(0x398)],this[_0x2cb40e(0x2a3)],this[_0x2cb40e(0x401)],this[_0x2cb40e(0x48c)]);}[_0xc00572(0x37c)](){return this;}[_0xc00572(0x27b)](){const _0x9bd5be=_0xc00572;this['_handler'][_0x9bd5be(0x3a8)](this[_0x9bd5be(0x2a3)]);}[_0xc00572(0x303)](_0x143b0d){const _0x51418d=_0xc00572;return this[_0x51418d(0x39e)](),this[_0x51418d(0x2ad)][_0x51418d(0x40d)](_0x70b43c,this['unitID'],this['type'],null,this[_0x51418d(0x401)],this[_0x51418d(0x48c)],_0x143b0d);}[_0xc00572(0x47c)](_0x361c63,_0x195def){const _0x1543e6=_0xc00572;var _0x5e90ab;_0x361c63===((_0x5e90ab=this[_0x1543e6(0x2a3)])==null?void 0x0:_0x5e90ab['reqId'])&&(this[_0x1543e6(0x27b)](),this[_0x1543e6(0x4ab)]=_0x195def===0x0?0x3e8:Math[_0x1543e6(0x4a4)](_0x195def*0x2,_0x491381),this['_maxTotalRetryTimeout']+=this[_0x1543e6(0x4ab)]);}[_0xc00572(0x39e)](){const _0x3e6b21=_0xc00572;var _0x34aa07;(_0x34aa07=this[_0x3e6b21(0x407)])==null||_0x34aa07[_0x3e6b21(0x258)](),this[_0x3e6b21(0x4ab)]=0x0,this[_0x3e6b21(0x538)]=0x0;}};_0x17bc24=_0x40f94d=_0x48fa36([_0x13590e(0x6,(0x0,_0x4dc57b['Inject'])(_0x4dc57b[_0xc00572(0x3b2)])),_0x13590e(0x7,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xd2afbd[_0xc00572(0x4cf)])),_0x13590e(0x8,_0x4dc57b[_0xc00572(0x245)]),_0x13590e(0x9,_0x4dc57b[_0xc00572(0x4b5)]),_0x13590e(0xa,_0xd2afbd[_0xc00572(0x4ef)]),_0x13590e(0xb,_0x4dc57b[_0xc00572(0x41b)]),_0x13590e(0xc,(0x0,_0x4dc57b[_0xc00572(0x3de)])(_0x54ea89))],_0x17bc24);let _0x70b43c=class extends _0x5945f1{constructor(_0x51e535,_0x891843,_0x336fd0,_0x182efb,_0x2350fe,_0x31f5e0=!0x1,_0xd8d90c,_0x57a638,_0x36979c,_0x40fb17,_0x3c870b,_0x447223,_0x28791e){const _0xc5e315=_0xc00572;super(_0x51e535,_0x891843,_0x336fd0,_0x182efb,_0x2350fe,_0x57a638,_0x36979c,_0x40fb17,_0x28791e),this[_0xc5e315(0x356)]=_0x31f5e0,this[_0xc5e315(0x246)]=_0xd8d90c,this[_0xc5e315(0x29d)]=_0x3c870b,this[_0xc5e315(0x3ac)]=_0x447223,this[_0xc5e315(0x582)]=_0x28791e,_0x4c75f5(this,_0xc5e315(0x429),_0x525af4[_0xc5e315(0x1dc)]),this[_0xc5e315(0x2ee)](),this[_0xc5e315(0x29c)](),this[_0xc5e315(0x479)]();}[_0xc00572(0x3f8)](){return this;}[_0xc00572(0x4aa)](){return this;}[_0xc00572(0x2b3)](){return this;}['onRemoteRej'](){return this;}[_0xc00572(0x584)](){return this;}[_0xc00572(0x461)](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x3f9ef4=_0xc00572;throw Error(_0x3f9ef4(0x234));}['_clearLocalCache'](){const _0x12315e=_0xc00572;var _0x3b28fc;(_0x3b28fc=this[_0x12315e(0x52b)])==null||_0x3b28fc[_0x12315e(0x23b)](this[_0x12315e(0x2c0)],this[_0x12315e(0x398)],null,[]);}[_0xc00572(0x2ee)](){const _0x1aebdc=_0xc00572;this[_0x1aebdc(0x356)]?this['_collaborationUIEventService'][_0x1aebdc(0x3e4)]({'id':_0x280b0a[_0x1aebdc(0x544)]}):this[_0x1aebdc(0x3ac)][_0x1aebdc(0x3e4)]({'id':_0x280b0a['CONFLICT']});}[_0xc00572(0x479)](){const _0x4dc997=_0xc00572;this[_0x4dc997(0x246)][_0x4dc997(0x2c1)](new _0x4a7d96[(_0x4dc997(0x362))](this[_0x4dc997(0x2c0)])['id'],!0x1);}};_0x70b43c=_0x48fa36([_0x13590e(0x6,(0x0,_0x4dc57b['Inject'])(_0x4dc57b[_0xc00572(0x2fa)])),_0x13590e(0x7,_0x4dc57b[_0xc00572(0x245)]),_0x13590e(0x8,_0x4dc57b[_0xc00572(0x41b)]),_0x13590e(0x9,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xd2afbd[_0xc00572(0x4cf)])),_0x13590e(0xa,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b['LocaleService'])),_0x13590e(0xb,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xb13f4e)),_0x13590e(0xc,(0x0,_0x4dc57b[_0xc00572(0x3de)])(_0x54ea89))],_0x70b43c);let _0x422a2f=class extends _0x5945f1{constructor(_0x1f891e,_0x5085ef,_0x5dca2f,_0x496549,_0x400c47,_0x5ad0d6,_0x2d85d2,_0xc0ea40,_0x451f3f,_0x1dabc7){const _0x2a912b=_0xc00572;super(_0x1f891e,_0x5085ef,_0x5dca2f,_0x496549,_0x400c47,_0xc0ea40,_0x451f3f,_0x2d85d2,_0x1dabc7),this[_0x2a912b(0x2ad)]=_0x5ad0d6,_0x4c75f5(this,'status',_0x525af4[_0x2a912b(0x354)]);}[_0xc00572(0x3f8)](_0x52bb0f){const _0x1d1ed2=_0xc00572;return this[_0x1d1ed2(0x401)][_0x1d1ed2(0x1ef)](_0x52bb0f),this[_0x1d1ed2(0x46d)](),this;}[_0xc00572(0x4aa)](_0xc29de4){const _0x1820fe=_0xc00572;throw Error(_0x1820fe(0x217));}[_0xc00572(0x2b3)](){const _0x4a1768=_0xc00572;throw Error(_0x4a1768(0x3b1));}[_0xc00572(0x22e)](){const _0x2914f9=_0xc00572;throw Error(_0x2914f9(0x297));}[_0xc00572(0x584)](){return this;}[_0xc00572(0x461)](){return this;}[_0xc00572(0x37c)](){const _0x5d94e8=_0xc00572;let {_injector:_0x12eec3,_pendingMutations:_0x5d2739,_awaitingChangeset:_0x138801,unitID:_0x2d774b,_handler:_0x3092ed,type:_0x4dc87d}=this,_0x4a0d3d=_0x4af910(_0x12eec3,_0x2d774b,_0x4dc87d,_0x138801,_0x5d2739,_0x3092ed);return _0x4a0d3d instanceof _0x2e0289?_0x4a0d3d[_0x5d94e8(0x2da)]():(_0x4a0d3d instanceof _0x17bc24||_0x4a0d3d instanceof _0x329c84)&&_0x4a0d3d['resend'](),_0x4a0d3d;}[_0xc00572(0x27b)](){throw Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x422a2f=_0x48fa36([_0x13590e(0x5,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b['Injector'])),_0x13590e(0x6,(0x0,_0x4dc57b['Inject'])(_0xd2afbd[_0xc00572(0x4cf)])),_0x13590e(0x7,_0x4dc57b['ICommandService']),_0x13590e(0x8,_0x4dc57b[_0xc00572(0x41b)]),_0x13590e(0x9,(0x0,_0x4dc57b[_0xc00572(0x3de)])(_0x54ea89))],_0x422a2f);let _0x3bd0=class extends _0x5945f1{constructor(_0x205750,_0x4e2601,_0xefb53a,_0x1a413f,_0x548565,_0x40870d,_0x4ee07b,_0x478bd7,_0x1051fc,_0x56b95d,_0x232548,_0x31b939,_0xc2bbca,_0x121c40){const _0x10acc9=_0xc00572;super(_0x205750,_0x4e2601,_0xefb53a,_0x1a413f,_0x4ee07b,_0x232548,_0x31b939,_0x1051fc,_0x121c40),this[_0x10acc9(0x53d)]=_0x548565,this[_0x10acc9(0x2c8)]=_0x40870d,this['_injector']=_0x478bd7,this['_logService']=_0x56b95d,this[_0x10acc9(0x311)]=_0xc2bbca,this[_0x10acc9(0x582)]=_0x121c40,_0x4c75f5(this,_0x10acc9(0x429),_0x525af4['FETCH_MISS']);}[_0xc00572(0x3d2)](_0x5defd7){const _0x41cc90=_0xc00572;try{let _0x38bd52=[..._0x5defd7,...this[_0x41cc90(0x2c8)]],_0x2cab6b=[this[_0x41cc90(0x2a3)]||this[_0x41cc90(0x53d)]][_0x41cc90(0x385)](_0x1f867d=>!!_0x1f867d),_0x513164,_0x59e96e;if(_0x2cab6b[_0x41cc90(0x477)]){let _0x3c07a3=this['_transformService']['transformChangesets'](_0x38bd52,_0x2cab6b,!0x1);if(!(0x0,_0xd2afbd['isTransformChangesetsSuccess'])(_0x3c07a3))throw _0x3c07a3[_0x41cc90(0x3ef)];_0x513164=_0x3c07a3[_0x41cc90(0x44f)],_0x59e96e=_0x3c07a3[_0x41cc90(0x378)];}else _0x513164=_0x38bd52,_0x59e96e=[];let _0x1ded6c=this[_0x41cc90(0x401)];_0x513164['forEach'](_0x10e589=>{const _0x5201a0=_0x41cc90;let _0x570dcd;if(_0x1ded6c['length']){let _0x35a5dc=this[_0x5201a0(0x311)][_0x5201a0(0x276)](_0x10e589,_0x1ded6c);if(!(0x0,_0xd2afbd['isTransformMutationsWithChangesetSuccess'])(_0x35a5dc))throw _0x35a5dc['error'];_0x570dcd=_0x35a5dc['c1Prime'],_0x1ded6c=_0x35a5dc[_0x5201a0(0x218)];}else _0x570dcd=_0x10e589;this['_executeRemoteChangeset'](_0x570dcd);}),this[_0x41cc90(0x53d)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x59e96e[_0x41cc90(0x477)]&&(_0x59e96e[0x0][_0x41cc90(0x440)]=this[_0x41cc90(0x267)]());let _0x27e4b2;if(this[_0x41cc90(0x2a3)]&&_0x1ded6c['length']!==0x0)_0x27e4b2=this[_0x41cc90(0x2ad)][_0x41cc90(0x40d)](_0x17bc24,this[_0x41cc90(0x2c0)],this['type'],_0x59e96e[0x0],_0x1ded6c,this['_handler'],void 0x0);else{if(this[_0x41cc90(0x2a3)]&&_0x1ded6c[_0x41cc90(0x477)]===0x0)_0x59e96e[0x0][_0x41cc90(0x440)]=this[_0x41cc90(0x267)](),_0x27e4b2=this['_injector'][_0x41cc90(0x40d)](_0x329c84,this[_0x41cc90(0x2c0)],this['type'],_0x59e96e[0x0],this['_handler']);else{if(_0x1ded6c['length']!==0x0){let _0x2fc035=this[_0x41cc90(0x2ad)][_0x41cc90(0x40d)](_0x2e0289,this[_0x41cc90(0x2c0)],this[_0x41cc90(0x398)],_0x1ded6c,this['_handler']);_0x2fc035[_0x41cc90(0x2da)](),_0x27e4b2=_0x2fc035;}else _0x27e4b2=this['_injector']['createInstance'](_0x2ea961,this['unitID'],this[_0x41cc90(0x398)],this[_0x41cc90(0x48c)]);}}return _0x27e4b2[_0x41cc90(0x46d)](),_0x27e4b2;}catch(_0x387370){return this[_0x41cc90(0x2d8)][_0x41cc90(0x3ef)](_0x41cc90(0x29f),_0x41cc90(0x412),_0x387370),this['_injector']['createInstance'](_0x70b43c,this['unitID'],this[_0x41cc90(0x398)],this[_0x41cc90(0x2a3)],this['_pendingMutations'],this[_0x41cc90(0x48c)],!0x1);}}[_0xc00572(0x27b)](){throw Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xc00572(0x3f8)](_0x2cf4ee){const _0x3f3d95=_0xc00572;return this[_0x3f3d95(0x401)][_0x3f3d95(0x1ef)](_0x2cf4ee),this;}[_0xc00572(0x4aa)](_0x249155){const _0x55d6ce=_0xc00572;return this[_0x55d6ce(0x2c8)][_0x55d6ce(0x1ef)](_0x249155),this;}['onRemoteAck'](_0x588ff0){const _0x4282d0=_0xc00572;if(this[_0x4282d0(0x2a3)])return this[_0x4282d0(0x53d)]=this[_0x4282d0(0x2a3)],this[_0x4282d0(0x2a3)]=null,this;throw Error(_0x4282d0(0x459));}['onRemoteRej'](_0x306006){const _0x24e836=_0xc00572;return this[_0x24e836(0x303)](!!(_0x306006!=null&&_0x306006[_0x24e836(0x209)]));}[_0xc00572(0x584)](){return this;}[_0xc00572(0x461)](){const _0x3b08c0=_0xc00572;return this[_0x3b08c0(0x2ad)][_0x3b08c0(0x40d)](_0x422a2f,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x3b08c0(0x401)],this[_0x3b08c0(0x48c)]);}['toggleOnline'](){return this;}[_0xc00572(0x303)](_0x227593){const _0x55223c=_0xc00572;return this[_0x55223c(0x2ad)][_0x55223c(0x40d)](_0x70b43c,this[_0x55223c(0x2c0)],this[_0x55223c(0x398)],this[_0x55223c(0x2a3)],this[_0x55223c(0x401)],this['_handler'],_0x227593);}};_0x3bd0=_0x48fa36([_0x13590e(0x7,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b[_0xc00572(0x3b2)])),_0x13590e(0x8,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xd2afbd[_0xc00572(0x4cf)])),_0x13590e(0x9,_0x4dc57b[_0xc00572(0x4b5)]),_0x13590e(0xa,_0x4dc57b[_0xc00572(0x245)]),_0x13590e(0xb,_0x4dc57b[_0xc00572(0x41b)]),_0x13590e(0xc,_0xd2afbd['ITransformService']),_0x13590e(0xd,(0x0,_0x4dc57b['Optional'])(_0x54ea89))],_0x3bd0);function _0x4af910(_0x566224,_0x4f8936,_0x3019ec,_0x964d49,_0x121445,_0x26ef8a){const _0x468233=_0xc00572;return _0x964d49&&_0x121445['length']?_0x566224['createInstance'](_0x17bc24,_0x4f8936,_0x3019ec,_0x964d49,_0x121445,_0x26ef8a,void 0x0):_0x964d49?_0x566224[_0x468233(0x40d)](_0x329c84,_0x4f8936,_0x3019ec,_0x964d49,_0x26ef8a):_0x121445[_0x468233(0x477)]?_0x566224[_0x468233(0x40d)](_0x2e0289,_0x4f8936,_0x3019ec,_0x121445,_0x26ef8a):_0x566224[_0x468233(0x40d)](_0x2ea961,_0x4f8936,_0x3019ec,_0x26ef8a);}let _0x4044e2=class extends _0x4dc57b[_0xc00572(0x561)]{get[_0xc00572(0x23d)](){const _0x313c4b=_0xc00572;return this[_0x313c4b(0x294)];}constructor(_0x5b1871,_0x3132c8,_0x4c5686,_0x2958c3,_0x3aae47,_0x2c3c92,_0x478d0a,_0x88153f,_0x4ff739,_0x11c78f,_0x1c8dc4,_0x5d73a5,_0x2f818e,_0x115e8a){const _0xa10ce0=_0xc00572;super(),this[_0xa10ce0(0x2c0)]=_0x5b1871,this[_0xa10ce0(0x521)]=_0x3132c8,this['_type']=_0x4c5686,this[_0xa10ce0(0x2ad)]=_0x2958c3,this['_compressMutationService']=_0x3aae47,this[_0xa10ce0(0x29d)]=_0x2c3c92,this[_0xa10ce0(0x4a9)]=_0x478d0a,this['_eventService']=_0x88153f,this[_0xa10ce0(0x4f5)]=_0x4ff739,this[_0xa10ce0(0x2d8)]=_0x11c78f,this[_0xa10ce0(0x32f)]=_0x1c8dc4,this[_0xa10ce0(0x246)]=_0x5d73a5,this[_0xa10ce0(0x576)]=_0x2f818e,this[_0xa10ce0(0x52b)]=_0x115e8a,_0x4c75f5(this,_0xa10ce0(0x339),new _0x4e24ba[(_0xa10ce0(0x52a))](null)),_0x4c75f5(this,'state$',this[_0xa10ce0(0x339)]['asObservable']()),_0x4c75f5(this,_0xa10ce0(0x294),void 0x0),_0x4c75f5(this,'_collaborationPaused',!0x1),_0x4c75f5(this,_0xa10ce0(0x4cb),''),_0x4c75f5(this,_0xa10ce0(0x4b9),0x0),_0x4c75f5(this,'status$',this[_0xa10ce0(0x458)][_0xa10ce0(0x48e)]((0x0,_0x4e24ba[_0xa10ce0(0x42e)])(_0x5bb0df=>_0x5bb0df?_0x5bb0df[_0xa10ce0(0x429)]:_0x525af4[_0xa10ce0(0x354)]),(0x0,_0x4e24ba[_0xa10ce0(0x367)])(0x1))),_0x4c75f5(this,'_transitionLocked',!0x1),_0x4c75f5(this,_0xa10ce0(0x53b),[]);}async['init'](){const _0x1d3d1f=_0xc00572;if(this['state'])throw Error(_0x1d3d1f(0x43b));await this['_init']();}[_0xc00572(0x4bb)](){const _0x115e5d=_0xc00572;return this[_0x115e5d(0x3ea)]=!0x0,(0x0,_0x4dc57b['toDisposable'])(()=>{const _0x8b40a8=_0x115e5d;this[_0x8b40a8(0x3ea)]=!0x1,this[_0x8b40a8(0x54b)]();});}[_0xc00572(0x1e3)](_0x58e413){const _0x4e5c10=_0xc00572;this[_0x4e5c10(0x22b)](_0x58e413);}[_0xc00572(0x3be)](_0x455721){const _0x47758f=_0xc00572;this[_0x47758f(0x294)]=_0x455721,this[_0x47758f(0x339)][_0x47758f(0x3c4)](_0x455721);}async[_0xc00572(0x21f)](){const _0x5c08a7=_0xc00572;if(this[_0x5c08a7(0x3be)](await this['_createInitialState']()),this[_0x5c08a7(0x576)]){var _0x3107a3;(_0x3107a3=this[_0x5c08a7(0x576)])==null||_0x3107a3[_0x5c08a7(0x22c)](this['unitID']),this[_0x5c08a7(0x425)](this[_0x5c08a7(0x576)][_0x5c08a7(0x405)](this['unitID'])[_0x5c08a7(0x50c)](_0x5efbed=>{const _0x24528d=_0x5c08a7;this[_0x24528d(0x2d8)]['debug'](_0x24528d(0x48f),'editing\x20status\x20changed\x20to',_0x5efbed),_0x5efbed===_0x12ab8e[_0x24528d(0x299)]?(this[_0x24528d(0x384)][_0x24528d(0x3e4)]({'id':_0x280b0a[_0x24528d(0x34a)]}),this[_0x24528d(0x246)][_0x24528d(0x2c1)](new _0x4a7d96[(_0x24528d(0x362))](this['unitID'])['id'],!0x1),this[_0x24528d(0x246)][_0x24528d(0x335)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x4a7d96['WorkbookEditablePermission'](this[_0x24528d(0x2c0)])['id'],!0x0),this['_permissionService'][_0x24528d(0x335)](!0x0));}));}let _0x1b5ca9=!0x1;return this[_0x5c08a7(0x425)](this[_0x5c08a7(0x521)]['sessionStatus$'][_0x5c08a7(0x50c)](_0x445e1b=>{const _0x19adbc=_0x5c08a7;_0x445e1b===_0xc023a9[_0x19adbc(0x370)]?this[_0x19adbc(0x33c)](_0x1b5ca9):_0x445e1b===_0xc023a9['OFFLINE']&&(_0x1b5ca9=!0x0,this[_0x19adbc(0x2ba)]());})),this['disposeWithMe'](this[_0x5c08a7(0x521)]['event$'][_0x5c08a7(0x50c)](_0x329dac=>{const _0x531610=_0x5c08a7;try{switch(_0x329dac[_0x531610(0x473)]){case _0xd2afbd['CollaborationEvent']['NEW_CHANGESETS']:this[_0x531610(0x50a)]((0x0,_0xd2afbd[_0x531610(0x50e)])(_0x329dac[_0x531610(0x21a)]));break;case _0xd2afbd[_0x531610(0x392)][_0x531610(0x430)]:this['_onRemoteACK'](_0x329dac['data']);break;case _0xd2afbd[_0x531610(0x392)]['CHANGESET_REJ']:this[_0x531610(0x2ac)]();break;case _0xd2afbd[_0x531610(0x392)][_0x531610(0x4e1)]:this[_0x531610(0x446)](_0x329dac[_0x531610(0x21a)]);break;case _0xd2afbd[_0x531610(0x392)][_0x531610(0x32a)]:this[_0x531610(0x29a)](_0x329dac[_0x531610(0x21a)]['changesets'][_0x531610(0x42e)](_0x1d9ce4=>(0x0,_0xd2afbd[_0x531610(0x50e)])(_0x1d9ce4)));break;case _0xd2afbd[_0x531610(0x392)][_0x531610(0x585)]:this[_0x531610(0x2ac)]({'isPermissionRej':!0x0});break;case _0xd2afbd['CollaborationEvent'][_0x531610(0x320)]:break;}}catch(_0x1e0065){throw console['error'](_0x531610(0x212),_0x1e0065),_0x1e0065;}})),this[_0x5c08a7(0x294)];}[_0xc00572(0x3b8)](){this['_transitionLocked']=!0x1;}[_0xc00572(0x562)](){const _0x39efea=_0xc00572;if(this['_transitionLocked'])throw Error(_0x39efea(0x402));this[_0x39efea(0x54e)]=!0x0;}[_0xc00572(0x22b)](_0x227a26){const _0xf0000c=_0xc00572;this[_0xf0000c(0x562)](),this[_0xf0000c(0x3be)](this['_state'][_0xf0000c(0x3f8)](_0x227a26)),this[_0xf0000c(0x3b8)]();}['_onRemoteChangeset'](_0x5c2a47){const _0x2903c1=_0xc00572;if(!(_0x5c2a47[_0x2903c1(0x3c5)]<=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x2903c1(0x3ea)]){this['_remoteChangesetQueue']['push'](_0x5c2a47);return;}this['_applyRemoteChangeset'](_0x5c2a47);}}[_0xc00572(0x54b)](){const _0x410918=_0xc00572;this[_0x410918(0x53b)]['forEach'](_0x17f268=>this[_0x410918(0x27d)](_0x17f268)),this[_0x410918(0x53b)]=[];}['_applyRemoteChangeset'](_0x17108c){const _0x403487=_0xc00572;let _0x56df5d=this[_0x403487(0x4c9)][_0x403487(0x3bd)][_0x403487(0x31d)](this['_compressMutationService']['interceptor'][_0x403487(0x519)]()['COMPRESS_MUTATION_APPLY'])(_0x17108c['mutations'],null)||_0x17108c[_0x403487(0x366)],_0x2b9c4a={..._0x17108c,'mutations':_0x56df5d};this[_0x403487(0x562)](),this[_0x403487(0x3be)](this[_0x403487(0x294)][_0x403487(0x4aa)](_0x2b9c4a)),this['_unlockTransition']();}[_0xc00572(0x390)](_0x4f589d){const _0x4ee0a1=_0xc00572;this['_lockTransition'](),this[_0x4ee0a1(0x3be)](this[_0x4ee0a1(0x294)][_0x4ee0a1(0x2b3)](_0x4f589d)),this[_0x4ee0a1(0x3b8)]();}[_0xc00572(0x2ac)](_0x2551e7){const _0x246b6b=_0xc00572;this[_0x246b6b(0x562)](),this[_0x246b6b(0x3be)](this[_0x246b6b(0x294)][_0x246b6b(0x22e)](_0x2551e7)),this[_0x246b6b(0x3b8)]();}[_0xc00572(0x446)](_0x5c6b32){const _0x4977f4=_0xc00572;this[_0x4977f4(0x562)](),this['_updateState'](this[_0x4977f4(0x294)]['onRemoteRetry'](_0x5c6b32)),this[_0x4977f4(0x3b8)]();}[_0xc00572(0x29a)](_0x462e1f){const _0xde5e9e=_0xc00572;if(!(this[_0xde5e9e(0x294)]instanceof _0x3bd0))throw TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');let _0x13b43c=_0x462e1f[_0xde5e9e(0x42e)](_0x4ff8ce=>{const _0x136cc6=_0xde5e9e;let _0x25dedc=this[_0x136cc6(0x4c9)][_0x136cc6(0x3bd)][_0x136cc6(0x31d)](this[_0x136cc6(0x4c9)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4ff8ce[_0x136cc6(0x366)],null)||_0x4ff8ce[_0x136cc6(0x366)];return{..._0x4ff8ce,'mutations':_0x25dedc};});this[_0xde5e9e(0x562)](),this[_0xde5e9e(0x3be)](this['_state'][_0xde5e9e(0x3d2)](_0x13b43c)),this[_0xde5e9e(0x3b8)]();}[_0xc00572(0x2ba)](){const _0x1f12c0=_0xc00572;this['_lockTransition'](),this['_updateState'](this[_0x1f12c0(0x294)]['toggleOffline']()),this[_0x1f12c0(0x3b8)]();}['_toggleOnline'](_0x1d9764=!0x1){const _0x363af7=_0xc00572;this[_0x363af7(0x562)](),this['_updateState'](this[_0x363af7(0x294)]['toggleOnline']()),this[_0x363af7(0x3b8)]();let _0x1428a2=this[_0x363af7(0x294)];_0x1d9764&&_0x1428a2 instanceof _0x2ea961&&(this[_0x363af7(0x562)](),this[_0x363af7(0x3be)](_0x1428a2[_0x363af7(0x506)]()),this[_0x363af7(0x3b8)]());}async[_0xc00572(0x415)](){return new Promise(_0x1b97a6=>{const _0x2b3cb3=_0x46f9;this['session'][_0x2b3cb3(0x28b)][_0x2b3cb3(0x48e)]((0x0,_0x4e24ba[_0x2b3cb3(0x3db)])(0x1))['subscribe'](async _0x5ae13c=>{const _0x432f63=_0x2b3cb3;_0x1b97a6(await this[_0x432f63(0x4c6)](_0x5ae13c===_0xc023a9['ONLINE']));});});}[_0xc00572(0x3d1)](){const _0x206a5d=_0xc00572;let _0x38f956=this[_0x206a5d(0x2c0)];return{'onStateChange':(_0x2d9a48,_0x33bb52)=>{const _0x5f4a7d=_0x206a5d;if(_0x2d9a48!==this['_state'])throw Error(_0x5f4a7d(0x3ae)+_0x2d9a48[_0x5f4a7d(0x429)]+'\x0aAfter:\x20'+_0x33bb52[_0x5f4a7d(0x429)]+_0x5f4a7d(0x286)+this[_0x5f4a7d(0x294)][_0x5f4a7d(0x429)]);this[_0x5f4a7d(0x3be)](_0x33bb52);},'onSendChangeset':_0x178494=>{const _0x3c7309=_0x206a5d;_0x178494[_0x3c7309(0x33e)]||(_0x178494[_0x3c7309(0x33e)]=this['_changesetSessionId'],_0x178494[_0x3c7309(0x49f)]=++this[_0x3c7309(0x4b9)]);let _0x39cd6c={'eventID':_0xd2afbd['CollaborationEvent'][_0x3c7309(0x517)],'data':{'unitID':_0x178494[_0x3c7309(0x2c0)],'unitType':this['_type'],'changeset':_0x178494,'memberID':this[_0x3c7309(0x521)][_0x3c7309(0x2cb)]()}};this[_0x3c7309(0x521)][_0x3c7309(0x318)](_0x39cd6c,this[_0x3c7309(0x2c0)]);},'onMissingChangesets':({from:_0x4bd127,to:_0x24042b})=>{const _0x19cb6a=_0x206a5d;this['_logService'][_0x19cb6a(0x463)]('[CollaborationEntity]',_0x19cb6a(0x2f4)+_0x4bd127+_0x19cb6a(0x3df)+_0x24042b);let _0x3be898={'eventID':_0xd2afbd[_0x19cb6a(0x392)]['FETCH_MISSING'],'data':{'unitID':_0x38f956,'unitType':this[_0x19cb6a(0x4f0)],'from':_0x4bd127,'to':_0x24042b}};this[_0x19cb6a(0x521)][_0x19cb6a(0x318)](_0x3be898,this[_0x19cb6a(0x2c0)]);}};}async['_createInitialStateImpl'](_0x5bea4f){const _0x3892f8=_0xc00572;var _0x2f0f9b,_0x4ca8b2,_0x3dc9c5;let _0x394a39=await((_0x2f0f9b=this[_0x3892f8(0x52b)])==null?void 0x0:_0x2f0f9b['loadOfflineData'](this[_0x3892f8(0x2c0)])),_0x483a70=(_0x4ca8b2=_0x394a39==null?void 0x0:_0x394a39['mutations'])==null?[]:_0x4ca8b2,_0x5f5d6a=(_0x3dc9c5=_0x394a39==null?void 0x0:_0x394a39[_0x3892f8(0x20d)])==null?null:_0x3dc9c5,_0x1347c7=!!(_0x5f5d6a!=null&&_0x5f5d6a['sid'])&&!!(_0x5f5d6a!=null&&_0x5f5d6a[_0x3892f8(0x49f)]);this[_0x3892f8(0x4cb)]=_0x1347c7?_0x5f5d6a[_0x3892f8(0x33e)]:(0x0,_0xd2afbd[_0x3892f8(0x3cc)])(),this[_0x3892f8(0x4b9)]=_0x1347c7?_0x5f5d6a[_0x3892f8(0x49f)]:0x0;let _0x37be45=this[_0x3892f8(0x2c0)];try{this['_replayCachedMutations'](_0x5f5d6a,_0x483a70);}catch(_0x5bbc16){this['_logService']['error'](_0x5bbc16);}let _0x2f1882=this[_0x3892f8(0x3d1)]();if(_0x5bea4f){let _0x209ad8=_0x4af910(this['_injector'],_0x37be45,this['_type'],_0x5f5d6a,_0x483a70,_0x2f1882);return _0x209ad8 instanceof _0x2e0289?_0x209ad8[_0x3892f8(0x2da)]():(_0x209ad8 instanceof _0x17bc24||_0x209ad8 instanceof _0x329c84)&&_0x209ad8['resend'](),_0x209ad8;}return this[_0x3892f8(0x2ad)][_0x3892f8(0x40d)](_0x422a2f,_0x37be45,this['_type'],_0x5f5d6a,_0x483a70,_0x2f1882);}[_0xc00572(0x464)](_0x1e1da0,_0xbd9ed7){const _0x54713f=_0xc00572;var _0x43287c,_0x462f3f;let _0x4fb620=this[_0x54713f(0x4c9)][_0x54713f(0x3bd)][_0x54713f(0x31d)](this['_compressMutationService'][_0x54713f(0x3bd)]['getInterceptPoints']()[_0x54713f(0x476)]);(_0x43287c=_0x4fb620((_0x1e1da0==null?void 0x0:_0x1e1da0[_0x54713f(0x366)])||[],null))==null||_0x43287c['forEach'](_0x3782eb=>this[_0x54713f(0x32f)]['executeCommand'](_0x3782eb['id'],_0x3782eb[_0x54713f(0x487)])),(_0x462f3f=_0x4fb620(_0xbd9ed7||[],null))==null||_0x462f3f[_0x54713f(0x4f7)](_0x2e4171=>this['_commandService'][_0x54713f(0x28a)](_0x2e4171['id'],_0x2e4171['params']));}};_0x4044e2=_0x48fa36([_0x13590e(0x3,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b[_0xc00572(0x3b2)])),_0x13590e(0x4,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xd2afbd[_0xc00572(0x551)])),_0x13590e(0x5,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b[_0xc00572(0x3d8)])),_0x13590e(0x6,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xd2afbd[_0xc00572(0x4cf)])),_0x13590e(0x7,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xb13f4e)),_0x13590e(0x8,_0x4dc57b[_0xc00572(0x38c)]),_0x13590e(0x9,_0x4dc57b['ILogService']),_0x13590e(0xa,_0x4dc57b['ICommandService']),_0x13590e(0xb,_0x4dc57b[_0xc00572(0x2fa)]),_0x13590e(0xc,(0x0,_0x4dc57b['Optional'])(_0x5d1059)),_0x13590e(0xd,(0x0,_0x4dc57b['Optional'])(_0x54ea89))],_0x4044e2);let _0x2a2e2f=class extends _0x4044e2{constructor(_0x28b71d,_0x25dfc8,_0x3803e5,_0x3dc58a,_0x28b027,_0x377f29,_0xed8826,_0x74c735,_0x48cf2e,_0x1349eb,_0x160122,_0x146160,_0x5d5cc9,_0x4ba536){const _0x253da9=_0xc00572;super(_0x28b71d,_0x3803e5,_0x25dfc8,_0x3dc58a,_0x28b027,_0x377f29,_0xed8826,_0x74c735,_0x48cf2e,_0x1349eb,_0x160122,_0x146160,_0x5d5cc9,_0x4ba536),this[_0x253da9(0x2c0)]=_0x28b71d,this[_0x253da9(0x398)]=_0x25dfc8,_0x4c75f5(this,_0x253da9(0x528),null);}[_0xc00572(0x3ce)](_0x2edc46){const _0x457680=_0xc00572;this[_0x457680(0x528)]=_0x2edc46;}['dispose'](){const _0x5517f0=_0xc00572;this[_0x5517f0(0x528)]=null,super[_0x5517f0(0x2e1)]();}[_0xc00572(0x3d1)](){const _0x36a78a=_0xc00572;let _0x213204=super[_0x36a78a(0x3d1)]();return _0x213204[_0x36a78a(0x39d)]=_0x59c4fb=>{const _0x34f9ff=_0x36a78a;var _0x1cd8c5,_0x315d79;return(_0x1cd8c5=this['_handlerCallback'])==null||(_0x315d79=_0x1cd8c5[_0x34f9ff(0x39d)])==null?void 0x0:_0x315d79[_0x34f9ff(0x527)](_0x1cd8c5,_0x59c4fb);},_0x213204[_0x36a78a(0x39f)]=_0x5bbe99=>{const _0xbc3907=_0x36a78a;var _0x49518d,_0x509430;return(_0x49518d=this['_handlerCallback'])==null||(_0x509430=_0x49518d[_0xbc3907(0x39f)])==null?void 0x0:_0x509430[_0xbc3907(0x527)](_0x49518d,_0x5bbe99);},_0x213204['onTransformSelections']=_0x2f7faa=>{const _0x2037e5=_0x36a78a;var _0x7b018e,_0x1ab2ee;return(_0x7b018e=this[_0x2037e5(0x528)])==null||(_0x1ab2ee=_0x7b018e[_0x2037e5(0x399)])==null?void 0x0:_0x1ab2ee[_0x2037e5(0x527)](_0x7b018e,_0x2f7faa);},_0x213204[_0x36a78a(0x226)]=_0x464749=>{const _0x104f0e=_0x36a78a;var _0x2cfcc1,_0x27af6e;return(_0x2cfcc1=this['_handlerCallback'])==null||(_0x27af6e=_0x2cfcc1['onSyncEditingCollabCursor'])==null?void 0x0:_0x27af6e[_0x104f0e(0x527)](_0x2cfcc1,_0x464749);},_0x213204[_0x36a78a(0x3c9)]=_0x4634ad=>{const _0x3f53f8=_0x36a78a;var _0x18d075,_0x110a64,_0xd22ca8;if(!((_0x18d075=this[_0x3f53f8(0x528)])!=null&&_0x18d075[_0x3f53f8(0x3c9)]))throw Error(_0x3f53f8(0x419));return(_0x110a64=this['_handlerCallback'])==null||(_0xd22ca8=_0x110a64['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xd22ca8[_0x3f53f8(0x527)](_0x110a64,_0x4634ad);},_0x213204['onTransformRemoteChangesetByStateCache']=_0x1b05d9=>{const _0x200675=_0x36a78a;var _0x164a9d,_0x1712e2,_0x41c57d;if(!((_0x164a9d=this[_0x200675(0x528)])!=null&&_0x164a9d['onTransformRemoteChangesetByStateCache']))throw Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1712e2=this[_0x200675(0x528)])==null||(_0x41c57d=_0x1712e2[_0x200675(0x350)])==null?void 0x0:_0x41c57d[_0x200675(0x527)](_0x1712e2,_0x1b05d9);},_0x213204;}async['_init'](){const _0x176364=_0xc00572;let _0x2eaee3=await super['_init']();return this['disposeWithMe'](this[_0x176364(0x32f)]['onMutationExecutedForCollab']((_0x40a751,_0x304519)=>{const _0x1c953b=_0x176364;if(_0x40a751[_0x1c953b(0x398)]!==_0x4dc57b['CommandType'][_0x1c953b(0x4ee)]||_0x304519!=null&&_0x304519['fromCollab']||_0x304519!=null&&_0x304519[_0x1c953b(0x33d)]||_0x40a751['id']===_0xa09c65[_0x1c953b(0x503)]['id'])return;let _0x43b845=_0x40a751['params'];if((_0x43b845==null?void 0x0:_0x43b845[_0x1c953b(0x3d7)])!==this[_0x1c953b(0x2c0)])return;let _0xc41704=_0x40a751,_0x3088f7=this['_compressMutationService']['interceptor'][_0x1c953b(0x31d)](this[_0x1c953b(0x4c9)][_0x1c953b(0x3bd)][_0x1c953b(0x519)]()[_0x1c953b(0x24b)])([_0xc41704],this[_0x1c953b(0x4f5)])||[_0xc41704];this['_onLocalMutation'](_0x3088f7[0x0]);})),_0x2eaee3;}};_0x2a2e2f=_0x48fa36([_0x13590e(0x3,(0x0,_0x4dc57b['Inject'])(_0x4dc57b['Injector'])),_0x13590e(0x4,(0x0,_0x4dc57b['Inject'])(_0xd2afbd['CompressMutationService'])),_0x13590e(0x5,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b[_0xc00572(0x3d8)])),_0x13590e(0x6,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xd2afbd[_0xc00572(0x4cf)])),_0x13590e(0x7,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xb13f4e)),_0x13590e(0x8,_0x4dc57b[_0xc00572(0x38c)]),_0x13590e(0x9,_0x4dc57b['ILogService']),_0x13590e(0xa,_0x4dc57b[_0xc00572(0x245)]),_0x13590e(0xb,_0x4dc57b[_0xc00572(0x2fa)]),_0x13590e(0xc,(0x0,_0x4dc57b['Optional'])(_0x5d1059)),_0x13590e(0xd,(0x0,_0x4dc57b[_0xc00572(0x3de)])(_0x54ea89))],_0x2a2e2f);let _0x29d683=class extends _0x4044e2{constructor(_0x375daa,_0x130a56,_0x50b68c,_0x5ce525,_0x34afa1,_0x3bc096,_0x55e493,_0x5eb4ba,_0x337df8,_0xca47a9,_0x31c7ce,_0x4e08a4,_0x3f0905,_0x58a0c1,_0x166d6f){const _0x318c92=_0xc00572;super(_0x375daa,_0x50b68c,_0x130a56,_0x5ce525,_0x34afa1,_0x3bc096,_0x55e493,_0x337df8,_0xca47a9,_0x31c7ce,_0x4e08a4,_0x3f0905,_0x58a0c1,_0x166d6f),this[_0x318c92(0x2c0)]=_0x375daa,this['type']=_0x130a56,this['_sheetTransformSelectionsService']=_0x5eb4ba;}['_createHandler'](){const _0x243d8c=_0xc00572;let _0x8b0ff7=super[_0x243d8c(0x3d1)]();return _0x8b0ff7[_0x243d8c(0x399)]=_0x42beb9=>this[_0x243d8c(0x295)][_0x243d8c(0x49e)](_0x42beb9),_0x8b0ff7;}async['_init'](){const _0x568068=_0xc00572;let _0x31759f=await super[_0x568068(0x21f)]();return this[_0x568068(0x425)](this[_0x568068(0x32f)][_0x568068(0x25a)]((_0x51b309,_0x58cc1e)=>{const _0x3d0afe=_0x568068;if(_0x51b309['type']!==_0x4dc57b[_0x3d0afe(0x3ed)][_0x3d0afe(0x4ee)]||_0x58cc1e!=null&&_0x58cc1e[_0x3d0afe(0x541)]||_0x58cc1e!=null&&_0x58cc1e[_0x3d0afe(0x33d)])return;let _0x4f98a4=_0x51b309[_0x3d0afe(0x487)];if((_0x4f98a4==null?void 0x0:_0x4f98a4[_0x3d0afe(0x3d7)])!==this[_0x3d0afe(0x2c0)])return;let _0x4a98ae=_0x51b309,_0x152107=this['_compressMutationService'][_0x3d0afe(0x3bd)][_0x3d0afe(0x31d)](this[_0x3d0afe(0x4c9)][_0x3d0afe(0x3bd)][_0x3d0afe(0x519)]()[_0x3d0afe(0x24b)])([_0x4a98ae],this[_0x3d0afe(0x4f5)])||[_0x4a98ae];this[_0x3d0afe(0x22b)](_0x152107[0x0]);})),_0x31759f;}};_0x29d683=_0x48fa36([_0x13590e(0x3,(0x0,_0x4dc57b['Inject'])(_0x4dc57b['Injector'])),_0x13590e(0x4,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xd2afbd[_0xc00572(0x551)])),_0x13590e(0x5,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b[_0xc00572(0x3d8)])),_0x13590e(0x6,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xd2afbd['RevisionService'])),_0x13590e(0x7,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4f212c)),_0x13590e(0x8,(0x0,_0x4dc57b['Inject'])(_0xb13f4e)),_0x13590e(0x9,_0x4dc57b['IUniverInstanceService']),_0x13590e(0xa,_0x4dc57b[_0xc00572(0x4b5)]),_0x13590e(0xb,_0x4dc57b[_0xc00572(0x245)]),_0x13590e(0xc,_0x4dc57b['IPermissionService']),_0x13590e(0xd,(0x0,_0x4dc57b['Optional'])(_0x5d1059)),_0x13590e(0xe,(0x0,_0x4dc57b[_0xc00572(0x3de)])(_0x54ea89))],_0x29d683);let _0x2470b9=(0x0,_0x4dc57b['createIdentifier'])('univer-pro.collaboration-client.network-condition.service');function _0x3c3bd9(_0x5c1d22){const _0x482355=_0xc00572;let _0x2c0e5e=_0x5c1d22[_0x482355(0x21a)],_0x38fea3=JSON[_0x482355(0x4f6)](_0x2c0e5e);switch(_0x38fea3[_0x482355(0x4d1)]){case _0xef70e1['HEARTBEAT']:case _0xef70e1[_0x482355(0x23e)]:{let _0x769b40=_0x38fea3[_0x482355(0x3c2)];return{..._0x38fea3,'data':_0x769b40,'cmd':_0x38fea3['cmd']};}case _0xef70e1[_0x482355(0x265)]:{let _0x6771=_0x38fea3[_0x482355(0x2ef)];return{..._0x38fea3,'data':_0x6771,'cmd':_0x38fea3['cmd']};}case _0xef70e1[_0x482355(0x2cf)]:{let _0x55f76e=_0x38fea3[_0x482355(0x534)];switch(_0x55f76e[_0x482355(0x473)]){case _0xd2afbd[_0x482355(0x392)]['PERMISSION_REJ']:var _0x309d25;return{..._0x38fea3,'data':{..._0x55f76e,'data':(_0x309d25=_0x55f76e[_0x482355(0x432)])==null?void 0x0:_0x309d25['cs']},'cmd':_0x38fea3[_0x482355(0x4d1)]};case _0xd2afbd[_0x482355(0x392)][_0x482355(0x430)]:var _0x568d63;return{..._0x38fea3,'data':{..._0x55f76e,'data':(_0x568d63=_0x55f76e[_0x482355(0x55b)])==null?void 0x0:_0x568d63['cs']},'cmd':_0x38fea3['cmd']};case _0xd2afbd['CollaborationEvent'][_0x482355(0x4ea)]:var _0x131150;return{..._0x38fea3,'data':{..._0x55f76e,'data':(_0x131150=_0x55f76e[_0x482355(0x53a)])==null?void 0x0:_0x131150['cs']},'cmd':_0x38fea3[_0x482355(0x4d1)]};case _0xd2afbd[_0x482355(0x392)][_0x482355(0x482)]:var _0x468d1c;return{..._0x38fea3,'data':{..._0x55f76e,'data':(_0x468d1c=_0x55f76e[_0x482355(0x518)])==null?void 0x0:_0x468d1c['cs']},'cmd':_0x38fea3['cmd']};case _0xd2afbd['CollaborationEvent'][_0x482355(0x4e1)]:var _0x50c1de;return{..._0x38fea3,'data':{..._0x55f76e,'data':(_0x50c1de=_0x55f76e[_0x482355(0x41e)])==null?void 0x0:_0x50c1de['cs']},'cmd':_0x38fea3[_0x482355(0x4d1)]};case _0xd2afbd[_0x482355(0x392)][_0x482355(0x44e)]:return{..._0x38fea3,'data':{..._0x55f76e,'data':_0x55f76e[_0x482355(0x2d6)]},'cmd':_0x38fea3[_0x482355(0x4d1)]};case _0xd2afbd[_0x482355(0x392)][_0x482355(0x25f)]:return{..._0x38fea3,'data':{..._0x55f76e,'data':_0x55f76e[_0x482355(0x24a)]},'cmd':_0x38fea3[_0x482355(0x4d1)]};case _0xd2afbd['CollaborationEvent'][_0x482355(0x302)]:return{..._0x38fea3,'data':{..._0x55f76e,'data':_0x55f76e['leaveEvent']},'cmd':_0x38fea3['cmd']};case _0xd2afbd[_0x482355(0x392)][_0x482355(0x41a)]:return{..._0x38fea3,'data':{..._0x55f76e,'data':_0x55f76e['liveShareNewHost']},'cmd':_0x38fea3['cmd']};case _0xd2afbd['CollaborationEvent'][_0x482355(0x328)]:case _0xd2afbd['CollaborationEvent'][_0x482355(0x493)]:return{..._0x38fea3,'data':{..._0x55f76e,'data':_0x55f76e[_0x482355(0x52e)]},'cmd':_0x38fea3['cmd']};case _0xd2afbd['CollaborationEvent'][_0x482355(0x273)]:return{..._0x38fea3,'data':{..._0x55f76e,'data':_0x55f76e[_0x482355(0x3ad)]},'cmd':_0x38fea3[_0x482355(0x4d1)]};case _0xd2afbd[_0x482355(0x392)][_0x482355(0x3b7)]:return{..._0x38fea3,'data':_0x55f76e,'cmd':_0x38fea3['cmd']};case _0xd2afbd[_0x482355(0x392)][_0x482355(0x4b3)]:return{..._0x38fea3,'data':{..._0x55f76e,'data':_0x55f76e[_0x482355(0x310)]},'cmd':_0x38fea3[_0x482355(0x4d1)]};case _0xd2afbd[_0x482355(0x392)]['UPDATE_PERMISSION_OBJ']:return{..._0x38fea3,'data':{..._0x55f76e,'data':_0x55f76e[_0x482355(0x1eb)]},'cmd':_0x38fea3[_0x482355(0x4d1)]};case _0xd2afbd[_0x482355(0x392)][_0x482355(0x336)]:return{..._0x38fea3,'data':{..._0x55f76e,'data':_0x55f76e[_0x482355(0x47d)]},'cmd':_0x38fea3['cmd']};case _0xd2afbd[_0x482355(0x392)][_0x482355(0x320)]:return{..._0x38fea3,'data':{..._0x55f76e,'data':_0x55f76e[_0x482355(0x3ff)]},'cmd':_0x38fea3[_0x482355(0x4d1)]};default:return _0x38fea3;}}default:return _0x38fea3;}}function _0x3ca030(_0x14d349){const _0x41daa2=_0xc00572;switch(_0x14d349['cmd']){case _0xef70e1[_0x41daa2(0x2a1)]:case _0xef70e1[_0x41daa2(0x23e)]:return JSON[_0x41daa2(0x2e2)]({'cmd':_0x14d349[_0x41daa2(0x4d1)],'routeKey':_0x14d349[_0x41daa2(0x3dd)]});case _0xef70e1[_0x41daa2(0x489)]:{let _0x1fe982;switch(_0x14d349[_0x41daa2(0x21a)][_0x41daa2(0x473)]){case _0xd2afbd['CollaborationEvent']['UPDATE_CURSOR']:_0x1fe982={'eventID':_0xd2afbd['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x14d349[_0x41daa2(0x21a)][_0x41daa2(0x21a)]};break;case _0xd2afbd['CollaborationEvent']['USERS_LEAVE']:_0x1fe982={'eventID':_0xd2afbd[_0x41daa2(0x392)]['USERS_LEAVE'],'leaveEvent':_0x14d349[_0x41daa2(0x21a)]['data']};break;case _0xd2afbd[_0x41daa2(0x392)][_0x41daa2(0x25f)]:_0x1fe982={'eventID':_0xd2afbd[_0x41daa2(0x392)][_0x41daa2(0x25f)],'joinEvent':_0x14d349['data'][_0x41daa2(0x21a)]};break;case _0xd2afbd['CollaborationEvent'][_0x41daa2(0x41a)]:_0x1fe982={'eventID':_0xd2afbd[_0x41daa2(0x392)][_0x41daa2(0x41a)],'liveShareNewHost':_0x14d349[_0x41daa2(0x21a)]['data']};break;case _0xd2afbd['CollaborationEvent'][_0x41daa2(0x493)]:_0x1fe982={'eventID':_0xd2afbd[_0x41daa2(0x392)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x14d349[_0x41daa2(0x21a)][_0x41daa2(0x21a)]};break;case _0xd2afbd['CollaborationEvent'][_0x41daa2(0x273)]:_0x1fe982={'eventID':_0xd2afbd['CollaborationEvent'][_0x41daa2(0x273)],'liveShareTerminate':_0x14d349['data'][_0x41daa2(0x21a)]};break;case _0xd2afbd[_0x41daa2(0x392)][_0x41daa2(0x308)]:_0x1fe982={'eventID':_0xd2afbd[_0x41daa2(0x392)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x14d349[_0x41daa2(0x21a)][_0x41daa2(0x21a)]};break;case _0xd2afbd[_0x41daa2(0x392)]['LIVESHARE_FETCH_OPERATIONS']:_0x1fe982={'eventID':_0xd2afbd[_0x41daa2(0x392)][_0x41daa2(0x328)]};break;default:_0x1fe982={'eventID':_0x14d349[_0x41daa2(0x21a)][_0x41daa2(0x473)]};}return JSON[_0x41daa2(0x2e2)]({'cmd':_0x14d349['cmd'],'routeKey':_0x14d349[_0x41daa2(0x3dd)],'collaMsg':_0x1fe982});}case _0xef70e1['JOIN']:return JSON['stringify']({'cmd':_0x14d349[_0x41daa2(0x4d1)],'routeKey':_0x14d349[_0x41daa2(0x3dd)],'joinReq':_0x14d349[_0x41daa2(0x21a)]});case _0xef70e1[_0x41daa2(0x376)]:return JSON['stringify']({'cmd':_0x14d349['cmd'],'routeKey':_0x14d349[_0x41daa2(0x3dd)],'leaveReq':_0x14d349[_0x41daa2(0x21a)]});default:throw Error(_0x41daa2(0x3ee));}}let _0x317caa=(0x0,_0x4dc57b[_0xc00572(0x239)])(_0xc00572(0x427));function _0x5609ce(_0x4ee7f0,_0xeb5c70,_0x3e8bca){const _0x17d8f2=_0xc00572;return _0x4ee7f0+'/'+_0xeb5c70+_0x17d8f2(0x377)+_0x3e8bca+_0x17d8f2(0x447);}let _0x3e53fe=class extends _0x4dc57b[_0xc00572(0x571)]{constructor(_0x54ee0e,_0x2e92f0,_0xa6c767,_0x5e8b35,_0x51d4f7){const _0x112b05=_0xc00572;super(),this[_0x112b05(0x2ad)]=_0x54ee0e,this[_0x112b05(0x2ec)]=_0x2e92f0,this['_configService']=_0xa6c767,this[_0x112b05(0x2d8)]=_0x5e8b35,this[_0x112b05(0x4b2)]=_0x51d4f7;}[_0xc00572(0x3fd)](_0xde4f13){const _0x394529=_0xc00572;let _0x38d012=this[_0x394529(0x2ad)]['get'](_0x253ff9[_0x394529(0x53c)]);if(!_0x38d012)throw Error(_0x394529(0x2c7));let _0x858b2e=_0x38d012[_0x394529(0x4ce)](_0xde4f13);if(!_0x858b2e)throw Error(_0x394529(0x31b));let _0x55fdcf=new _0x4dc57b['DisposableCollection'](),_0x1fff23=new _0x4e24ba[(_0x394529(0x499))]();_0x55fdcf[_0x394529(0x45f)](_0x858b2e['close$'][_0x394529(0x50c)](_0x217cd0=>_0x1fff23[_0x394529(0x3c4)](_0x217cd0))),_0x55fdcf[_0x394529(0x45f)]((0x0,_0x4dc57b[_0x394529(0x431)])(()=>_0x1fff23['complete']()));let _0x23c2d0=new _0x4e24ba[(_0x394529(0x499))]();_0x55fdcf[_0x394529(0x45f)](_0x858b2e[_0x394529(0x374)][_0x394529(0x50c)](_0x1a4733=>_0x23c2d0[_0x394529(0x3c4)](_0x1a4733))),_0x55fdcf['add']((0x0,_0x4dc57b[_0x394529(0x431)])(()=>_0x23c2d0['complete']()));let _0x4457f2=new _0x4e24ba[(_0x394529(0x499))]();_0x55fdcf[_0x394529(0x45f)](_0x858b2e[_0x394529(0x45d)][_0x394529(0x50c)](_0x14b413=>{const _0x3980ad=_0x394529;let _0x14eb2b=_0x3c3bd9(_0x14b413);_0x4457f2[_0x3980ad(0x3c4)](_0x14eb2b);})),_0x55fdcf[_0x394529(0x45f)]((0x0,_0x4dc57b[_0x394529(0x431)])(()=>_0x4457f2[_0x394529(0x418)]()));let _0x460878,_0x26c7ac=()=>{const _0x4ec8ec=_0x394529;_0x23c2d0[_0x4ec8ec(0x3c4)](new Event(_0x4ec8ec(0x344))),_0x1fff23[_0x4ec8ec(0x3c4)](new Event(_0x4ec8ec(0x344))),_0x460878['close']();};return _0x460878={'memberID':'','close$':_0x1fff23['asObservable'](),'error$':_0x23c2d0['asObservable'](),'open$':_0x858b2e[_0x394529(0x3dc)],'message$':_0x4457f2[_0x394529(0x2b4)](),'send':_0x22c8e7=>{const _0x2457b4=_0x394529;if(_0x22c8e7[_0x2457b4(0x4d1)]===_0xef70e1['INGEST']){if(_0x22c8e7[_0x2457b4(0x21a)]['eventID']===_0xd2afbd[_0x2457b4(0x392)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x460878,_0x22c8e7[_0x2457b4(0x21a)])[_0x2457b4(0x268)](_0x205989=>{const _0x4fcb52=_0x2457b4;this[_0x4fcb52(0x2d8)][_0x4fcb52(0x3ef)](_0x205989),_0x26c7ac();});return;}if(_0x22c8e7[_0x2457b4(0x21a)][_0x2457b4(0x473)]===_0xd2afbd[_0x2457b4(0x392)][_0x2457b4(0x260)]){let _0x245b18=_0x22c8e7[_0x2457b4(0x21a)];this[_0x2457b4(0x504)](_0x245b18)[_0x2457b4(0x2cd)](_0x49431e=>{const _0x2e28bf=_0x2457b4;_0x4457f2['next']({'cmd':_0xef70e1[_0x2e28bf(0x2cf)],'code':_0xe18d15['OK'],'routeKey':_0x245b18[_0x2e28bf(0x21a)][_0x2e28bf(0x2c0)],'routeType':'','data':{'eventID':_0xd2afbd[_0x2e28bf(0x392)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x49431e}}});})['catch'](_0x38c983=>{const _0x2180bc=_0x2457b4;this[_0x2180bc(0x2d8)]['error'](_0x38c983),_0x26c7ac();});return;}}_0x858b2e['send'](_0x3ca030(_0x22c8e7));},'close':()=>{const _0x112c6e=_0x394529;_0x858b2e['close'](),_0x55fdcf[_0x112c6e(0x2e1)]();}},_0x460878;}async['_submitChangeset'](_0x2082eb,_0x124e68){const _0x5e8bc3=_0xc00572;var _0x162ec8;let {unitType:_0x2c5c98,unitID:_0x6478ea,changeset:_0x198e0c}=_0x124e68[_0x5e8bc3(0x21a)],_0x10a41a={'unitID':_0x6478ea,'memberID':_0x2082eb['memberID'],'type':_0x2c5c98,'changeset':(0x0,_0xd2afbd[_0x5e8bc3(0x1f8)])(_0x198e0c)},_0x1034d1=this[_0x5e8bc3(0x51f)][_0x5e8bc3(0x466)](_0x20b31b),_0x5d562e=_0x5609ce((_0x162ec8=_0x1034d1==null?void 0x0:_0x1034d1['collabSubmitChangesetUrl'])==null?_0x5e8bc3(0x4f3):_0x162ec8,_0x2c5c98,_0x6478ea);try{await this[_0x5e8bc3(0x2ec)][_0x5e8bc3(0x325)](_0x5d562e,{'body':_0x10a41a});}catch(_0x1b82b1){throw this[_0x5e8bc3(0x2d8)][_0x5e8bc3(0x3ef)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x1b82b1;}}async[_0xc00572(0x504)](_0x21a45c){const _0x419656=_0xc00572;let {unitID:_0x26ac58,from:_0xcf7f09,to:_0x2e2ab0,unitType:_0x254ba2}=_0x21a45c['data'];return(await this[_0x419656(0x4b2)][_0x419656(0x323)]({'metadata':void 0x0},{'unitID':_0x26ac58,'type':_0x254ba2,'from':_0xcf7f09,'to':_0x2e2ab0}))['changesets']['map'](_0x4edbab=>((_0x4edbab[_0x419656(0x366)]===null||_0x4edbab[_0x419656(0x366)]===void 0x0)&&(_0x4edbab[_0x419656(0x366)]=[]),_0x4edbab));}};_0x3e53fe=_0x48fa36([_0x13590e(0x0,(0x0,_0x4dc57b['Inject'])(_0x4dc57b['Injector'])),_0x13590e(0x1,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x253ff9['HTTPService'])),_0x13590e(0x2,_0x4dc57b[_0xc00572(0x3d5)]),_0x13590e(0x3,_0x4dc57b[_0xc00572(0x4b5)]),_0x13590e(0x4,_0xd2afbd[_0xc00572(0x201)])],_0x3e53fe);let _0xfc2e5e=class extends _0x4dc57b[_0xc00572(0x571)]{get[_0xc00572(0x1e2)](){return this['_socket$']['getValue']();}constructor(_0x4bc950,_0x545049,_0x13ac44,_0x3c1478,_0x84ce28,_0x5e1c50){const _0xf68558=_0xc00572;super(),this[_0xf68558(0x2ad)]=_0x4bc950,this[_0xf68558(0x2d8)]=_0x545049,this['_configService']=_0x13ac44,this[_0xf68558(0x316)]=_0x3c1478,this[_0xf68558(0x3ac)]=_0x84ce28,this['_networkConditionService']=_0x5e1c50,_0x4c75f5(this,_0xf68558(0x4c4),new _0x4e24ba[(_0xf68558(0x52a))](void 0x0)),_0x4c75f5(this,_0xf68558(0x45e),this[_0xf68558(0x4c4)][_0xf68558(0x2b4)]()),_0x4c75f5(this,_0xf68558(0x530),null),_0x4c75f5(this,_0xf68558(0x4ff),new Map()),_0x4c75f5(this,_0xf68558(0x56a),new _0x4e24ba[(_0xf68558(0x52a))](_0xc023a9[_0xf68558(0x4cc)])),_0x4c75f5(this,_0xf68558(0x509),this[_0xf68558(0x56a)][_0xf68558(0x2b4)]()),_0x4c75f5(this,'_socketReady',!0x1),_0x4c75f5(this,_0xf68558(0x50b),void 0x0),_0x4c75f5(this,_0xf68558(0x2f7),0x0),_0x4c75f5(this,_0xf68558(0x4fd),void 0x0),_0x4c75f5(this,_0xf68558(0x37d),void 0x0),this[_0xf68558(0x202)]();}['_listenToNetworkCondition'](){const _0x52ea5b=_0xc00572;this[_0x52ea5b(0x52f)]&&this[_0x52ea5b(0x425)](this[_0x52ea5b(0x52f)][_0x52ea5b(0x3bc)][_0x52ea5b(0x50c)](_0x11637c=>{const _0x30367c=_0x52ea5b;_0x11637c&&!this['_socket']&&this[_0x30367c(0x4cd)](),_0x11637c||this['_onOffline']();}));}['dispose'](){const _0x10bb61=_0xc00572;super['dispose'](),this[_0x10bb61(0x439)](),this['_clearTimeoutTimer'](),this[_0x10bb61(0x24e)](),this['_sessions'][_0x10bb61(0x4f7)](_0x515773=>_0x515773[_0x10bb61(0x2e1)]()),this[_0x10bb61(0x4ff)][_0x10bb61(0x206)](),this[_0x10bb61(0x56a)]['complete']();}async[_0xc00572(0x329)](_0x31d58d){const _0x32ae85=_0xc00572;if(this[_0x32ae85(0x4ff)]['has'](_0x31d58d))return this[_0x32ae85(0x4ff)][_0x32ae85(0x270)](_0x31d58d);this[_0x32ae85(0x22d)]();let _0x5e2cd0=this[_0x32ae85(0x2ad)][_0x32ae85(0x40d)](_0x6db918,_0x31d58d,this['_socket$'][_0x32ae85(0x2b4)]());return this[_0x32ae85(0x4ff)][_0x32ae85(0x37e)](_0x31d58d,_0x5e2cd0),_0x5e2cd0;}['closeSession'](_0x4b20d5){const _0x59cae6=_0xc00572;let _0x5164b5=this[_0x59cae6(0x4ff)][_0x59cae6(0x270)](_0x4b20d5);if(_0x5164b5&&(this[_0x59cae6(0x4ff)][_0x59cae6(0x47f)](_0x4b20d5),_0x5164b5[_0x59cae6(0x4dc)]()),!this[_0x59cae6(0x4ff)][_0x59cae6(0x4e2)]){var _0x39beb1;(_0x39beb1=this[_0x59cae6(0x1e2)])==null||_0x39beb1['close']();}}[_0xc00572(0x4cd)](){const _0x197b81=_0xc00572;this[_0x197b81(0x2f7)]=0x0,this[_0x197b81(0x439)](),this[_0x197b81(0x3eb)]();}[_0xc00572(0x439)](){const _0xb7e767=_0xc00572;this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0xb7e767(0x50b)]=null);}async[_0xc00572(0x236)](){const _0x5a4ee0=_0xc00572;var _0xce0f2b;let _0x4b5650=this[_0x5a4ee0(0x51f)]['getConfig'](_0x20b31b),_0x1a2778=(_0xce0f2b=_0x4b5650==null?void 0x0:_0x4b5650['collabWebSocketUrl'])==null?_0x5395b7:_0xce0f2b,_0x28103a=await this[_0x5a4ee0(0x316)]['createSocket'](_0x1a2778);return this[_0x5a4ee0(0x530)]=_0x28103a,_0x28103a;}async[_0xc00572(0x22d)](){const _0x2624ed=_0xc00572;try{var _0x409673,_0x3321b1;let _0x29f1c0=(_0x409673=(_0x3321b1=this['_socket'])==null?this[_0x2624ed(0x530)]:_0x3321b1)==null?await this[_0x2624ed(0x236)]():_0x409673;if(_0x29f1c0){let _0x2e5265=_0x29f1c0[_0x2624ed(0x318)];_0x29f1c0[_0x2624ed(0x318)]=_0x192d0e=>(_0x192d0e['cmd']!==_0xef70e1[_0x2624ed(0x376)]&&this[_0x2624ed(0x290)](),_0x2e5265[_0x2624ed(0x480)](_0x29f1c0,[_0x192d0e])),_0x29f1c0[_0x2624ed(0x45d)]['subscribe'](_0x48686d=>this[_0x2624ed(0x235)](_0x29f1c0,_0x48686d)),_0x29f1c0[_0x2624ed(0x374)][_0x2624ed(0x48e)]((0x0,_0x1d5f23['take'])(0x1))[_0x2624ed(0x50c)](_0x91cada=>this['_logService'][_0x2624ed(0x3ef)](_0x2624ed(0x38d),_0x91cada)),_0x29f1c0['open$'][_0x2624ed(0x48e)]((0x0,_0x1d5f23['take'])(0x1))[_0x2624ed(0x50c)](()=>{const _0x4eb79c=_0x2624ed;this[_0x4eb79c(0x2bd)](_0x29f1c0);}),_0x29f1c0[_0x2624ed(0x47a)][_0x2624ed(0x48e)]((0x0,_0x1d5f23[_0x2624ed(0x3db)])(0x1))[_0x2624ed(0x50c)](_0xc6d5dd=>{const _0x5ad0ba=_0x2624ed;this[_0x5ad0ba(0x2d8)][_0x5ad0ba(0x463)](_0x5ad0ba(0x1df),_0x5ad0ba(0x1f5),_0xc6d5dd),this[_0x5ad0ba(0x2f8)]();});}}catch(_0x4c400a){this[_0x2624ed(0x2d8)][_0x2624ed(0x3ef)](_0x4c400a),this[_0x2624ed(0x2f8)]();}}[_0xc00572(0x2bd)](_0x4a4324){const _0x496158=_0xc00572;this[_0x496158(0x2d8)][_0x496158(0x463)](_0x496158(0x1df),'socket\x20open.'),_0x4a4324[_0x496158(0x318)]({'cmd':_0xef70e1[_0x496158(0x23e)]}),this[_0x496158(0x290)]();}[_0xc00572(0x331)](){const _0x52c8fc=_0xc00572;this[_0x52c8fc(0x2cc)]=!0x1,this[_0x52c8fc(0x530)]=null,this[_0x52c8fc(0x56a)]['next'](_0xc023a9[_0x52c8fc(0x354)]),this[_0x52c8fc(0x4c4)]['next'](null),this[_0x52c8fc(0x1fb)](),this[_0x52c8fc(0x24e)]();}['_onConnectionFailed'](){const _0x9c7bba=_0xc00572;var _0x5f57f4;this[_0x9c7bba(0x331)](),this[_0x9c7bba(0x2f7)]<((_0x5f57f4=this[_0x9c7bba(0x51f)][_0x9c7bba(0x466)]('RETRY_CONNECTING_MAX_COUNT'))==null?0x3:_0x5f57f4)?(this[_0x9c7bba(0x3ac)][_0x9c7bba(0x3e4)]({'id':_0x280b0a[_0x9c7bba(0x3a5)]}),this[_0x9c7bba(0x3eb)]()):this[_0x9c7bba(0x3ac)][_0x9c7bba(0x3e4)]({'id':_0x280b0a[_0x9c7bba(0x2e7)]});}[_0xc00572(0x3eb)](){const _0xac922e=_0xc00572;var _0x422117;let _0x5d7a10=this[_0xac922e(0x2f7)],_0x2db89c=this[_0xac922e(0x51f)][_0xac922e(0x466)](_0x20b31b),_0xc63a96=_0x5d7a10===0x0?0x0:((_0x422117=_0x2db89c==null?void 0x0:_0x2db89c[_0xac922e(0x457)])==null?0x4e20:_0x422117)*0x2**_0x5d7a10;this[_0xac922e(0x50b)]=setTimeout(()=>{const _0x53c43c=_0xac922e;clearTimeout(this[_0x53c43c(0x50b)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0xc63a96),this[_0xac922e(0x2f7)]+=0x1;}[_0xc00572(0x235)](_0x532af8,_0x792c23){const _0x1d0d7f=_0xc00572;let {cmd:_0x4ded59}=_0x792c23;_0x4ded59===_0xef70e1[_0x1d0d7f(0x23e)]&&!this[_0x1d0d7f(0x2cc)]&&(_0x532af8['memberID']=_0x792c23['data'][_0x1d0d7f(0x2a0)],this['_socket$']['next'](_0x532af8),this[_0x1d0d7f(0x56a)][_0x1d0d7f(0x3c4)](_0xc023a9[_0x1d0d7f(0x370)]),this['_socketReady']=!0x0,this[_0x1d0d7f(0x530)]=null),_0x4ded59===_0xef70e1[_0x1d0d7f(0x2a1)]&&this[_0x1d0d7f(0x1fb)](),this[_0x1d0d7f(0x290)]();}[_0xc00572(0x290)](){const _0x273187=_0xc00572;var _0x459044;this[_0x273187(0x24e)](),this[_0x273187(0x4fd)]=setTimeout(()=>this[_0x273187(0x435)](),(_0x459044=this[_0x273187(0x51f)]['getConfig'](_0x273187(0x36e)))==null?0x7530:_0x459044);}[_0xc00572(0x435)](){const _0x3c8a01=_0xc00572;this[_0x3c8a01(0x1e2)][_0x3c8a01(0x318)]({'cmd':_0xef70e1[_0x3c8a01(0x2a1)]}),this[_0x3c8a01(0x3b9)]();}[_0xc00572(0x3b9)](){const _0x3cf6ed=_0xc00572;var _0x18a1f7;this[_0x3cf6ed(0x37d)]=setTimeout(()=>this[_0x3cf6ed(0x2f8)](),(_0x18a1f7=this[_0x3cf6ed(0x51f)]['getConfig'](_0x3cf6ed(0x1f2)))==null?_0x50121c:_0x18a1f7);}['_clearHeartbeatTimer'](){const _0x183401=_0xc00572;this[_0x183401(0x4fd)]!=null&&(clearTimeout(this[_0x183401(0x4fd)]),this[_0x183401(0x4fd)]=null);}['_clearTimeoutTimer'](){const _0x41267c=_0xc00572;this[_0x41267c(0x37d)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};_0xfc2e5e=_0x48fa36([_0x13590e(0x0,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b[_0xc00572(0x3b2)])),_0x13590e(0x1,_0x4dc57b[_0xc00572(0x4b5)]),_0x13590e(0x2,_0x4dc57b['IConfigService']),_0x13590e(0x3,_0x317caa),_0x13590e(0x4,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xb13f4e)),_0x13590e(0x5,(0x0,_0x4dc57b[_0xc00572(0x3de)])(_0x2470b9))],_0xfc2e5e);let _0x227fa3=class extends _0x4dc57b[_0xc00572(0x561)]{constructor(_0x5ac1cc,_0x2b217f,_0x56236e,_0x352816){const _0x148d22=_0xc00572;var _0x436ee9;super(),this[_0x148d22(0x2ad)]=_0x5ac1cc,this['_collabSessionService']=_0x2b217f,this[_0x148d22(0x51f)]=_0x56236e,this['_univerInstanceService']=_0x352816,_0x4c75f5(this,_0x148d22(0x572),new Map()),_0x4c75f5(this,_0x148d22(0x508),new _0x4e24ba[(_0x148d22(0x499))]()),_0x4c75f5(this,'entityInit$',this[_0x148d22(0x508)][_0x148d22(0x2b4)]()),((_0x436ee9=this[_0x148d22(0x51f)][_0x148d22(0x466)](_0x148d22(0x414)))==null?void 0x0:_0x436ee9[_0x148d22(0x35d)])!==!0x1&&this[_0x148d22(0x21f)]();}[_0xc00572(0x2e1)](){const _0x36a3ea=_0xc00572;super['dispose'](),this[_0x36a3ea(0x572)]['forEach'](_0x46ca4c=>_0x46ca4c[_0x36a3ea(0x2e1)]()),this[_0x36a3ea(0x572)][_0x36a3ea(0x206)]();}[_0xc00572(0x40b)](_0x2c90f2){const _0x4d58c3=_0xc00572;var _0x3860b4;return(_0x3860b4=this[_0x4d58c3(0x572)][_0x4d58c3(0x270)](_0x2c90f2))==null?null:_0x3860b4;}[_0xc00572(0x37b)](_0x2e121b){const _0x97b965=_0xc00572;let _0x270869=this[_0x97b965(0x40b)](_0x2e121b);return _0x270869?(0x0,_0x4e24ba['of'])(_0x270869):this[_0x97b965(0x508)][_0x97b965(0x48e)]((0x0,_0x1d5f23[_0x97b965(0x385)])(_0x5a5e44=>_0x5a5e44[_0x97b965(0x2c0)]===_0x2e121b));}['readyForCollab'](_0x3de878){const _0x8a027=_0xc00572;return(0x0,_0x4e24ba[_0x8a027(0x455)])(this[_0x8a027(0x37b)](_0x3de878)[_0x8a027(0x48e)]((0x0,_0x1d5f23[_0x8a027(0x42e)])(()=>void 0x0)));}[_0xc00572(0x21f)](){const _0x35935b=_0xc00572;this[_0x35935b(0x4f5)][_0x35935b(0x326)](_0x4dc57b['UniverInstanceType'][_0x35935b(0x35b)])[_0x35935b(0x48e)]((0x0,_0x4e24ba[_0x35935b(0x515)])(this[_0x35935b(0x450)]),(0x0,_0x1d5f23[_0x35935b(0x26d)])(0x10))[_0x35935b(0x50c)](async _0x32a5c0=>{const _0xda51c4=_0x35935b;let _0x5758a6=_0x32a5c0[_0xda51c4(0x42c)](),_0xaa93ed=await this[_0xda51c4(0x394)](_0x5758a6,_0x2625e7[_0xda51c4(0x35b)]);this['_entities'][_0xda51c4(0x37e)](_0x5758a6,_0xaa93ed);}),this[_0x35935b(0x4f5)][_0x35935b(0x326)](_0x4dc57b['UniverInstanceType'][_0x35935b(0x338)])[_0x35935b(0x48e)]((0x0,_0x4e24ba['takeUntil'])(this[_0x35935b(0x450)]),(0x0,_0x1d5f23[_0x35935b(0x26d)])(0x10))[_0x35935b(0x48e)]((0x0,_0x1d5f23['filter'])(_0x30ad53=>!_0x30ad53['getUnitId']()[_0x35935b(0x566)]('__')))[_0x35935b(0x50c)](async _0x34c8f6=>{const _0x16f8a9=_0x35935b;let _0x438760=_0x34c8f6[_0x16f8a9(0x42c)](),_0x44253e=await this[_0x16f8a9(0x394)](_0x438760,_0x2625e7[_0x16f8a9(0x338)]);this[_0x16f8a9(0x572)]['set'](_0x438760,_0x44253e);}),(0x0,_0x4e24ba[_0x35935b(0x3a0)])(this[_0x35935b(0x4f5)][_0x35935b(0x451)](_0x4dc57b[_0x35935b(0x4e9)][_0x35935b(0x35b)]),this[_0x35935b(0x4f5)][_0x35935b(0x451)](_0x4dc57b['UniverInstanceType'][_0x35935b(0x338)]))['pipe']((0x0,_0x4e24ba[_0x35935b(0x515)])(this[_0x35935b(0x450)]))[_0x35935b(0x50c)](_0x85201f=>{const _0x137aa8=_0x35935b;let _0x1c25d1=_0x85201f[_0x137aa8(0x42c)](),_0x5d3c2b=this[_0x137aa8(0x572)]['get'](_0x1c25d1);_0x5d3c2b&&(_0x5d3c2b['dispose'](),this[_0x137aa8(0x572)][_0x137aa8(0x47f)](_0x1c25d1));});}async['_startCollaboration'](_0x3f3e48,_0x30c3b1){const _0x3f128d=_0xc00572;let _0x27debe=await this[_0x3f128d(0x56c)][_0x3f128d(0x329)](_0x3f3e48),_0x1b7375=this[_0x3f128d(0x2ad)][_0x3f128d(0x40d)](this[_0x3f128d(0x32b)](_0x30c3b1),_0x3f3e48,_0x30c3b1,_0x27debe);return await _0x1b7375['init'](),this['_entityInit$']['next'](_0x1b7375),_0x1b7375;}[_0xc00572(0x32b)](_0x480e3a){const _0x3ec3a6=_0xc00572;switch(_0x480e3a){case _0x2625e7[_0x3ec3a6(0x338)]:return _0x2a2e2f;case _0x2625e7['UNIVER_SHEET']:return _0x29d683;default:throw Error(_0x3ec3a6(0x4bc)+_0x480e3a);}}};_0x227fa3=_0x48fa36([_0x13590e(0x0,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b['Injector'])),_0x13590e(0x1,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xfc2e5e)),_0x13590e(0x2,_0x4dc57b[_0xc00572(0x3d5)]),_0x13590e(0x3,_0x4dc57b[_0xc00572(0x38c)])],_0x227fa3);var _0x3a1d03=_0xc00572(0x22a),_0x182c67=_0xc00572(0x315);let _0x5da8a5=class extends _0x4dc57b[_0xc00572(0x571)]{constructor(_0x4251fa,_0x4767f3){const _0x16828c=_0xc00572;super(),this['_univerInstanceService']=_0x4251fa,this[_0x16828c(0x51f)]=_0x4767f3,this[_0x16828c(0x21f)]();}[_0xc00572(0x21f)](){const _0x41c78b=_0xc00572;this['disposeWithMe'](this[_0x41c78b(0x4f5)][_0x41c78b(0x34e)][_0x41c78b(0x50c)](()=>{const _0x10e7f6=_0x41c78b;var _0x5b9cdf;let _0x5e8983=this[_0x10e7f6(0x4f5)][_0x10e7f6(0x215)](),_0x4793a2=(_0x5b9cdf=this[_0x10e7f6(0x51f)]['getConfig'](_0x10e7f6(0x2c5)))==null?'Univer':_0x5b9cdf;_0x5e8983 instanceof _0x4dc57b[_0x10e7f6(0x314)]&&(_0x4793a2=_0x5e8983['name']),document[_0x10e7f6(0x416)]=_0x4793a2;}));}};_0x5da8a5=_0x48fa36([_0x13590e(0x0,_0x4dc57b[_0xc00572(0x38c)]),_0x13590e(0x1,_0x4dc57b[_0xc00572(0x3d5)])],_0x5da8a5);let _0xaba02e=class{constructor(_0x5476ef,_0x5a3904,_0x3dd4eb){const _0x14a9a9=_0xc00572;this[_0x14a9a9(0x51f)]=_0x5476ef,this[_0x14a9a9(0x2ec)]=_0x5a3904,this['localeService']=_0x3dd4eb,this['init']();}[_0xc00572(0x44a)](){const _0x3e55f7=_0xc00572;this['_httpService'][_0x3e55f7(0x205)]({'priority':0x1,'interceptor':(_0xb65ce9,_0x4bf146)=>_0x4bf146(_0xb65ce9)[_0x3e55f7(0x48e)]((0x0,_0x4e24ba[_0x3e55f7(0x460)])(async _0x1113f9=>{const _0x350b76=_0x3e55f7;let _0x5e9682=_0x1113f9;if(_0x5e9682[_0x350b76(0x429)]===0x191){if(typeof window>'u')throw Error(_0x350b76(0x280));if(window['confirm'](this['localeService']['t'](_0x350b76(0x1de)))){let _0x35302a=window[_0x350b76(0x40c)](window[_0x350b76(0x351)][_0x350b76(0x31f)]);window[_0x350b76(0x351)][_0x350b76(0x31f)]=this[_0x350b76(0x3c6)]()+'?url='+_0x35302a;}}return _0x5e9682;}))});}['_getLoginPath'](){const _0x59a2c7=_0xc00572;var _0x36aaba;let _0x88f8ba=this[_0x59a2c7(0x51f)][_0x59a2c7(0x466)](_0x20b31b);return(_0x36aaba=_0x88f8ba==null?void 0x0:_0x88f8ba[_0x59a2c7(0x41f)])==null?'/universer-api/oidc/authpage':_0x36aaba;}};_0xaba02e=_0x48fa36([_0x13590e(0x0,_0x4dc57b[_0xc00572(0x3d5)]),_0x13590e(0x1,(0x0,_0x4dc57b['Inject'])(_0x253ff9[_0xc00572(0x4c3)])),_0x13590e(0x2,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b['LocaleService']))],_0xaba02e);let _0x8e4bd4=class extends _0x4dc57b[_0xc00572(0x571)]{constructor(_0x4f2aa8,_0x1e6749){const _0x3c2c54=_0xc00572;super(),this['_HTTPService']=_0x4f2aa8,this['_configService']=_0x1e6749,this[_0x3c2c54(0x563)]();}[_0xc00572(0x563)](){const _0x22904f=_0xc00572;let _0x11d84d=this;this[_0x22904f(0x425)](this[_0x22904f(0x1fc)][_0x22904f(0x205)]({'priority':0x3e7,'interceptor':(0x0,_0x253ff9['MergeInterceptorFactory'])({'isMatch'(_0x53b1d1){const _0x50622d=_0x22904f;var _0x5e9dec;if(_0x53b1d1['method']===_0x50622d(0x1db)&&(_0x5e9dec=_0x53b1d1[_0x50622d(0x3f1)])!=null&&_0x5e9dec[_0x50622d(0x2f6)]){let {objectID:_0x57104d,objectType:_0x744d64}=_0x53b1d1[_0x50622d(0x3f1)]['body']||{};if(!_0x57104d||_0x744d64===void 0x0)return!0x1;let _0x4b12b5=_0x11d84d[_0x50622d(0x4f2)]()+'/'+_0x744d64+_0x50622d(0x317)+_0x57104d+_0x50622d(0x243);if(_0x53b1d1[_0x50622d(0x410)]===_0x4b12b5)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x6b36a6){var _0x2adc0b;return(_0x2adc0b=_0x6b36a6['requestParams'])==null?void 0x0:_0x2adc0b['body'];},'mergeParamsToRequest'(_0x508afb,_0x47ab6d){const _0x3b9885=_0x22904f;let _0x56b8ef=_0x11d84d[_0x3b9885(0x4f2)]()+_0x3b9885(0x3fb),_0x18dcbb=_0x508afb[_0x3b9885(0x283)]((_0x57b3e1,_0x12a14b)=>{const _0xf471e=_0x3b9885;let {unitID:_0x589a5a,objectID:_0x82402a,objectType:_0x2fb1b6,actions:_0x309866}=_0x12a14b;return _0x57b3e1[_0x589a5a]||(_0x57b3e1[_0x589a5a]={}),_0x57b3e1[_0x589a5a][_0x82402a]||(_0x57b3e1[_0x589a5a][_0x82402a]={'objectID':_0x82402a,'objectType':_0x2fb1b6,'actions':[]}),_0x57b3e1[_0x589a5a][_0x82402a][_0xf471e(0x465)][_0xf471e(0x1ef)](..._0x309866),_0x57b3e1;},{}),_0x1e8a49=[];for(let _0x383dd8 in _0x18dcbb)for(let _0x5e1aef in _0x18dcbb[_0x383dd8]){let {actions:_0x105a51,objectType:_0x596206}=_0x18dcbb[_0x383dd8][_0x5e1aef],_0x151627=[...new Set(_0x105a51)];_0x1e8a49['push']({'unitID':_0x383dd8,'objectID':_0x5e1aef,'objectType':_0x596206,'actions':_0x151627});}return new _0x253ff9[(_0x3b9885(0x531))](_0x3b9885(0x1db),_0x56b8ef,{'headers':_0x47ab6d[_0x3b9885(0x29b)],'withCredentials':_0x47ab6d[_0x3b9885(0x2e6)],'responseType':_0x47ab6d['responseType'],'body':{'requests':_0x1e8a49}});}},{'distributeResult'(_0x2f6d30,_0x19f0ec){const _0xe370a0=_0x22904f;let {objectActions:_0x221ffd}=_0x2f6d30;return _0x19f0ec[_0xe370a0(0x42e)](_0x1024bc=>{const _0x5ca02d=_0xe370a0;let {unitID:_0x181a58,objectID:_0x4a3d59,actions:_0x42791c}=_0x1024bc,_0x3d5b0b=_0x221ffd['find'](_0x20e81f=>_0x20e81f[_0x5ca02d(0x2c0)]===_0x181a58&&_0x20e81f[_0x5ca02d(0x3e3)]===_0x4a3d59);return{'config':_0x1024bc,'result':{'actions':_0x42791c['map'](_0x3214ff=>_0x3d5b0b==null?void 0x0:_0x3d5b0b['actions'][_0x5ca02d(0x48d)](_0x5e2709=>_0x5e2709[_0x5ca02d(0x225)]===_0x3214ff))['filter'](_0x53f8ee=>!!_0x53f8ee),'error':_0x2f6d30[_0x5ca02d(0x3ef)]}};});}})}));}[_0xc00572(0x4f2)](){const _0x5f324c=_0xc00572;var _0x1f28fc;let _0x5e84ef=this[_0x5f324c(0x51f)]['getConfig'](_0x20b31b);return(_0x1f28fc=_0x5e84ef==null?void 0x0:_0x5e84ef['authzUrl'])==null?_0x5f324c(0x2d0):_0x1f28fc;}async[_0xc00572(0x498)](_0x21e502){const _0x122b9c=_0xc00572;let _0x190998=this[_0x122b9c(0x4f2)]()+'/'+_0x21e502['objectType']+_0x122b9c(0x573);return(await this[_0x122b9c(0x1fc)][_0x122b9c(0x325)](_0x190998,{'body':_0x21e502}))[_0x122b9c(0x2f6)]['objectID']||'';}async[_0xc00572(0x3b0)](_0x5a1e0a){const _0x558c19=_0xc00572;let _0x26478a=this['_getAPIPrefixPath']()+_0x558c19(0x2aa);return(await this['_HTTPService']['post'](_0x26478a,{'body':_0x5a1e0a}))['body'][_0x558c19(0x3e0)];}async[_0xc00572(0x272)](_0x50ceee){const _0x1d19a3=_0xc00572;var _0x4616ac;let _0x469c27=this[_0x1d19a3(0x4f2)]()+'/'+_0x50ceee[_0x1d19a3(0x2fe)]+_0x1d19a3(0x317)+_0x50ceee[_0x1d19a3(0x3e3)],_0x213387=await this[_0x1d19a3(0x1fc)]['put'](_0x469c27,{'body':_0x50ceee});if((_0x213387==null||(_0x4616ac=_0x213387[_0x1d19a3(0x2f6)])==null||(_0x4616ac=_0x4616ac[_0x1d19a3(0x3ef)])==null?void 0x0:_0x4616ac[_0x1d19a3(0x25c)])!==0x1)throw Error('Failed\x20to\x20update\x20permission\x20point');}async[_0xc00572(0x3e6)](_0x371003){const _0x389dca=_0xc00572;let _0x5822df=this[_0x389dca(0x4f2)]()+'/'+_0x371003[_0x389dca(0x2fe)]+_0x389dca(0x317)+_0x371003[_0x389dca(0x3e3)]+'/allowed';return(await this[_0x389dca(0x1fc)][_0x389dca(0x325)](_0x5822df,{'body':_0x371003}))[_0x389dca(0x2f6)][_0x389dca(0x465)];}async[_0xc00572(0x4c1)](_0x293c92){const _0x35dc8f=_0xc00572;let _0x2f1881=this[_0x35dc8f(0x4f2)]()+_0x35dc8f(0x3fb);return(await this[_0x35dc8f(0x1fc)][_0x35dc8f(0x325)](_0x2f1881,{'body':{'requests':_0x293c92}}))[_0x35dc8f(0x2f6)][_0x35dc8f(0x4a1)];}async['listRoles'](_0x121668){const _0x286503=_0xc00572;let _0x2dd1f8=this['_getAPIPrefixPath']()+'/'+_0x121668['objectType']+'/role',_0x1aed73=await this['_HTTPService'][_0x286503(0x325)](_0x2dd1f8,{'body':_0x121668});return{'roles':_0x1aed73[_0x286503(0x2f6)][_0x286503(0x200)],'actions':_0x1aed73['body'][_0x286503(0x465)]};}async[_0xc00572(0x4a8)](_0x78144f){const _0x4e9bcc=_0xc00572;let _0x14be7f=this[_0x4e9bcc(0x4f2)]()+_0x4e9bcc(0x2c3);await this[_0x4e9bcc(0x1fc)][_0x4e9bcc(0x47f)](_0x14be7f,{'params':{'collaboratorID':_0x78144f[_0x4e9bcc(0x251)],'objectID':_0x78144f['objectID'],'unitID':_0x78144f[_0x4e9bcc(0x2c0)]}});}async[_0xc00572(0x40f)](_0x2a62b4){const _0x4def62=_0xc00572;let _0x347297=this['_getAPIPrefixPath']()+_0x4def62(0x2c3);await this[_0x4def62(0x1fc)]['patch'](_0x347297,{'body':_0x2a62b4});}async[_0xc00572(0x2f1)](_0x3aab74){const _0x234948=_0xc00572;let _0x1e1109=this[_0x234948(0x4f2)]()+_0x234948(0x2c3);await this[_0x234948(0x1fc)]['post'](_0x1e1109,{'body':_0x3aab74});}async[_0xc00572(0x568)](_0xa0ad72){const _0x2ce0d2=_0xc00572;let _0x2f313e=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x2ce0d2(0x1fc)][_0x2ce0d2(0x270)](_0x2f313e,{'params':{'objectID':_0xa0ad72[_0x2ce0d2(0x3e3)],'unitID':_0xa0ad72[_0x2ce0d2(0x2c0)]}}))[_0x2ce0d2(0x2f6)]['collaborators'];}async[_0xc00572(0x486)](_0x33f41f){const _0x533ff6=_0xc00572;let _0x1620be=this[_0x533ff6(0x4f2)]()+_0x533ff6(0x2c3);await this['_HTTPService']['put'](_0x1620be,{'body':_0x33f41f});}};_0x8e4bd4=_0x48fa36([_0x13590e(0x0,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x253ff9[_0xc00572(0x4c3)])),_0x13590e(0x1,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b['IConfigService']))],_0x8e4bd4);var _0x40e840=_0x2cf63e(()=>{}),_0x11ffae=_0x2cf63e((_0x4efadb,_0x376856)=>{(function(_0x54374c,_0x1d90e4){const _0x1c7a72=_0x46f9;typeof _0x4efadb=='object'?_0x376856[_0x1c7a72(0x30f)]=_0x4efadb=_0x1d90e4():typeof define==_0x1c7a72(0x24f)&&define[_0x1c7a72(0x434)]?define([],_0x1d90e4):_0x54374c[_0x1c7a72(0x512)]=_0x1d90e4();}(_0x4efadb,function(){var _0x37df35=_0x37df35||function(_0x3f17e1,_0x4b8880){const _0x13853b=_0x46f9;var _0x37c758;if(typeof window<'u'&&window[_0x13853b(0x4e5)]&&(_0x37c758=window[_0x13853b(0x4e5)]),typeof self<'u'&&self[_0x13853b(0x4e5)]&&(_0x37c758=self[_0x13853b(0x4e5)]),typeof globalThis<'u'&&globalThis[_0x13853b(0x4e5)]&&(_0x37c758=globalThis['crypto']),!_0x37c758&&typeof window<'u'&&window[_0x13853b(0x469)]&&(_0x37c758=window[_0x13853b(0x469)]),!_0x37c758&&typeof global<'u'&&global[_0x13853b(0x4e5)]&&(_0x37c758=global[_0x13853b(0x4e5)]),!_0x37c758&&typeof require==_0x13853b(0x24f))try{_0x37c758=_0x40e840();}catch{}var _0x56eb9a=function(){const _0x4a6815=_0x13853b;if(_0x37c758){if(typeof _0x37c758[_0x4a6815(0x2f0)]==_0x4a6815(0x24f))try{return _0x37c758[_0x4a6815(0x2f0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x37c758['randomBytes']==_0x4a6815(0x24f))try{return _0x37c758['randomBytes'](0x4)[_0x4a6815(0x3ba)]();}catch{}}throw Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x5936a6=Object[_0x13853b(0x498)]||(function(){function _0x445482(){}return function(_0x1ccb98){var _0x1acc06;return _0x445482['prototype']=_0x1ccb98,_0x1acc06=new _0x445482(),_0x445482['prototype']=null,_0x1acc06;};}()),_0x4eee3b={},_0x345870=_0x4eee3b[_0x13853b(0x3d0)]={},_0x297d0e=_0x345870['Base']=(function(){return{'extend':function(_0x11142b){const _0x5b2cdc=_0x46f9;var _0x541f59=_0x5936a6(this);return _0x11142b&&_0x541f59['mixIn'](_0x11142b),(!_0x541f59[_0x5b2cdc(0x441)](_0x5b2cdc(0x44a))||this[_0x5b2cdc(0x44a)]===_0x541f59[_0x5b2cdc(0x44a)])&&(_0x541f59['init']=function(){const _0xd626db=_0x5b2cdc;_0x541f59[_0xd626db(0x1e5)][_0xd626db(0x44a)]['apply'](this,arguments);}),_0x541f59['init'][_0x5b2cdc(0x2ca)]=_0x541f59,_0x541f59[_0x5b2cdc(0x1e5)]=this,_0x541f59;},'create':function(){const _0x56d107=_0x46f9;var _0x522462=this['extend']();return _0x522462[_0x56d107(0x44a)]['apply'](_0x522462,arguments),_0x522462;},'init':function(){},'mixIn':function(_0x5a75e1){const _0x16934f=_0x46f9;for(var _0x540e61 in _0x5a75e1)_0x5a75e1[_0x16934f(0x441)](_0x540e61)&&(this[_0x540e61]=_0x5a75e1[_0x540e61]);_0x5a75e1['hasOwnProperty'](_0x16934f(0x1ea))&&(this['toString']=_0x5a75e1[_0x16934f(0x1ea)]);},'clone':function(){const _0x381d2e=_0x46f9;return this[_0x381d2e(0x44a)]['prototype'][_0x381d2e(0x21e)](this);}};}()),_0x54cbde=_0x345870[_0x13853b(0x30c)]=_0x297d0e['extend']({'init':function(_0x3d27f8,_0x5af3de){const _0x1a013b=_0x13853b;_0x3d27f8=this[_0x1a013b(0x263)]=_0x3d27f8||[],_0x5af3de==_0x4b8880?this[_0x1a013b(0x49a)]=_0x3d27f8['length']*0x4:this['sigBytes']=_0x5af3de;},'toString':function(_0x1337d7){const _0x252d89=_0x13853b;return(_0x1337d7||_0x449036)[_0x252d89(0x2e2)](this);},'concat':function(_0x305bd1){const _0x39c3e9=_0x13853b;var _0x4ac2ee=this['words'],_0xc004ea=_0x305bd1[_0x39c3e9(0x263)],_0x2d8fe6=this[_0x39c3e9(0x49a)],_0x29d0d1=_0x305bd1[_0x39c3e9(0x49a)];if(this['clamp'](),_0x2d8fe6%0x4)for(var _0x226c14=0x0;_0x226c14<_0x29d0d1;_0x226c14++){var _0x52576e=_0xc004ea[_0x226c14>>>0x2]>>>0x18-_0x226c14%0x4*0x8&0xff;_0x4ac2ee[_0x2d8fe6+_0x226c14>>>0x2]|=_0x52576e<<0x18-(_0x2d8fe6+_0x226c14)%0x4*0x8;}else{for(var _0x5810ff=0x0;_0x5810ff<_0x29d0d1;_0x5810ff+=0x4)_0x4ac2ee[_0x2d8fe6+_0x5810ff>>>0x2]=_0xc004ea[_0x5810ff>>>0x2];}return this[_0x39c3e9(0x49a)]+=_0x29d0d1,this;},'clamp':function(){const _0x3863fd=_0x13853b;var _0x14ef19=this['words'],_0x21b06a=this[_0x3863fd(0x49a)];_0x14ef19[_0x21b06a>>>0x2]&=0xffffffff<<0x20-_0x21b06a%0x4*0x8,_0x14ef19['length']=_0x3f17e1[_0x3863fd(0x496)](_0x21b06a/0x4);},'clone':function(){const _0x3caeef=_0x13853b;var _0x2b88c3=_0x297d0e[_0x3caeef(0x3c3)][_0x3caeef(0x527)](this);return _0x2b88c3[_0x3caeef(0x263)]=this[_0x3caeef(0x263)]['slice'](0x0),_0x2b88c3;},'random':function(_0x1d8eda){const _0x4178f3=_0x13853b;for(var _0x4ab304=[],_0x281d30=0x0;_0x281d30<_0x1d8eda;_0x281d30+=0x4)_0x4ab304[_0x4178f3(0x1ef)](_0x56eb9a());return new _0x54cbde[(_0x4178f3(0x44a))](_0x4ab304,_0x1d8eda);}}),_0x5c583f=_0x4eee3b[_0x13853b(0x4f1)]={},_0x449036=_0x5c583f[_0x13853b(0x39c)]={'stringify':function(_0x411009){const _0x5ee1ac=_0x13853b;for(var _0x577325=_0x411009[_0x5ee1ac(0x263)],_0x4a2510=_0x411009[_0x5ee1ac(0x49a)],_0x169b32=[],_0x3823dd=0x0;_0x3823dd<_0x4a2510;_0x3823dd++){var _0x541ea1=_0x577325[_0x3823dd>>>0x2]>>>0x18-_0x3823dd%0x4*0x8&0xff;_0x169b32[_0x5ee1ac(0x1ef)]((_0x541ea1>>>0x4)['toString'](0x10)),_0x169b32[_0x5ee1ac(0x1ef)]((_0x541ea1&0xf)[_0x5ee1ac(0x1ea)](0x10));}return _0x169b32['join']('');},'parse':function(_0x48cd86){const _0x521357=_0x13853b;for(var _0x5d4175=_0x48cd86[_0x521357(0x477)],_0x58253b=[],_0x1b46dd=0x0;_0x1b46dd<_0x5d4175;_0x1b46dd+=0x2)_0x58253b[_0x1b46dd>>>0x3]|=parseInt(_0x48cd86[_0x521357(0x533)](_0x1b46dd,0x2),0x10)<<0x18-_0x1b46dd%0x8*0x4;return new _0x54cbde['init'](_0x58253b,_0x5d4175/0x2);}},_0x504f65=_0x5c583f[_0x13853b(0x32c)]={'stringify':function(_0xf9df2f){const _0x1071a9=_0x13853b;for(var _0x1fec89=_0xf9df2f[_0x1071a9(0x263)],_0x391a4c=_0xf9df2f['sigBytes'],_0x20a9af=[],_0x3968ab=0x0;_0x3968ab<_0x391a4c;_0x3968ab++){var _0x34fb79=_0x1fec89[_0x3968ab>>>0x2]>>>0x18-_0x3968ab%0x4*0x8&0xff;_0x20a9af['push'](String[_0x1071a9(0x2dd)](_0x34fb79));}return _0x20a9af[_0x1071a9(0x26c)]('');},'parse':function(_0xa31d78){const _0x3e2800=_0x13853b;for(var _0x8daf70=_0xa31d78['length'],_0x567085=[],_0xa1f4c4=0x0;_0xa1f4c4<_0x8daf70;_0xa1f4c4++)_0x567085[_0xa1f4c4>>>0x2]|=(_0xa31d78[_0x3e2800(0x56b)](_0xa1f4c4)&0xff)<<0x18-_0xa1f4c4%0x4*0x8;return new _0x54cbde[(_0x3e2800(0x44a))](_0x567085,_0x8daf70);}},_0x3914ab=_0x5c583f[_0x13853b(0x4fa)]={'stringify':function(_0x13255f){const _0x542fad=_0x13853b;try{return decodeURIComponent(escape(_0x504f65['stringify'](_0x13255f)));}catch{throw Error(_0x542fad(0x256));}},'parse':function(_0x12abc3){return _0x504f65['parse'](unescape(encodeURIComponent(_0x12abc3)));}},_0x2d1c2a=_0x345870[_0x13853b(0x364)]=_0x297d0e[_0x13853b(0x21e)]({'reset':function(){const _0x35428f=_0x13853b;this[_0x35428f(0x343)]=new _0x54cbde[(_0x35428f(0x44a))](),this[_0x35428f(0x49d)]=0x0;},'_append':function(_0x1e5156){const _0x169a3d=_0x13853b;typeof _0x1e5156==_0x169a3d(0x3da)&&(_0x1e5156=_0x3914ab[_0x169a3d(0x4f6)](_0x1e5156)),this[_0x169a3d(0x343)]['concat'](_0x1e5156),this['_nDataBytes']+=_0x1e5156[_0x169a3d(0x49a)];},'_process':function(_0xa77422){const _0x336c57=_0x13853b;var _0x5e4703,_0x3f781b=this[_0x336c57(0x343)],_0x3d8839=_0x3f781b[_0x336c57(0x263)],_0x38beb0=_0x3f781b[_0x336c57(0x49a)],_0x1509a5=this[_0x336c57(0x48b)],_0x1f47f7=_0x38beb0/(_0x1509a5*0x4);_0x1f47f7=_0xa77422?_0x3f17e1[_0x336c57(0x496)](_0x1f47f7):_0x3f17e1[_0x336c57(0x543)]((_0x1f47f7|0x0)-this[_0x336c57(0x522)],0x0);var _0x5b9729=_0x1f47f7*_0x1509a5,_0x30f536=_0x3f17e1[_0x336c57(0x4a4)](_0x5b9729*0x4,_0x38beb0);if(_0x5b9729){for(var _0x3669f4=0x0;_0x3669f4<_0x5b9729;_0x3669f4+=_0x1509a5)this[_0x336c57(0x1e9)](_0x3d8839,_0x3669f4);_0x5e4703=_0x3d8839[_0x336c57(0x369)](0x0,_0x5b9729),_0x3f781b['sigBytes']-=_0x30f536;}return new _0x54cbde[(_0x336c57(0x44a))](_0x5e4703,_0x30f536);},'clone':function(){const _0x1adfde=_0x13853b;var _0x5d557c=_0x297d0e[_0x1adfde(0x3c3)][_0x1adfde(0x527)](this);return _0x5d557c['_data']=this[_0x1adfde(0x343)][_0x1adfde(0x3c3)](),_0x5d557c;},'_minBufferSize':0x0});_0x345870[_0x13853b(0x223)]=_0x2d1c2a['extend']({'cfg':_0x297d0e[_0x13853b(0x21e)](),'init':function(_0x375af9){const _0x380f62=_0x13853b;this[_0x380f62(0x456)]=this[_0x380f62(0x456)]['extend'](_0x375af9),this[_0x380f62(0x537)]();},'reset':function(){const _0x3870de=_0x13853b;_0x2d1c2a[_0x3870de(0x537)][_0x3870de(0x527)](this),this[_0x3870de(0x30b)]();},'update':function(_0x367dfa){const _0x350b11=_0x13853b;return this[_0x350b11(0x404)](_0x367dfa),this['_process'](),this;},'finalize':function(_0x2fd8e0){const _0x3cd909=_0x13853b;return _0x2fd8e0&&this[_0x3cd909(0x404)](_0x2fd8e0),this[_0x3cd909(0x41c)]();},'blockSize':0x200/0x20,'_createHelper':function(_0x9543a1){return function(_0x43b4b3,_0x222606){const _0xc4b9bc=_0x46f9;return new _0x9543a1[(_0xc4b9bc(0x44a))](_0x222606)[_0xc4b9bc(0x2c4)](_0x43b4b3);};},'_createHmacHelper':function(_0x7ee04d){return function(_0x46e7fb,_0x1c67dd){const _0x3e2170=_0x46f9;return new _0x3cca6b[(_0x3e2170(0x501))][(_0x3e2170(0x44a))](_0x7ee04d,_0x1c67dd)[_0x3e2170(0x2c4)](_0x46e7fb);};}});var _0x3cca6b=_0x4eee3b[_0x13853b(0x44d)]={};return _0x4eee3b;}(Math);return _0x37df35;}));}),_0x37f83e=_0x2cf63e((_0x19b02f,_0x19bbf8)=>{(function(_0x22f679,_0x4597ba){const _0x4d5190=_0x46f9;typeof _0x19b02f==_0x4d5190(0x25b)?_0x19bbf8[_0x4d5190(0x30f)]=_0x19b02f=_0x4597ba(_0x11ffae()):typeof define==_0x4d5190(0x24f)&&define[_0x4d5190(0x434)]?define([_0x4d5190(0x516)],_0x4597ba):_0x4597ba(_0x22f679['CryptoJS']);}(_0x19b02f,function(_0x1c53aa){const _0x42626b=_0x46f9;return(function(){const _0x41aa9d=_0x46f9;var _0x2d2610=_0x1c53aa,_0x13d631=_0x2d2610['lib']['WordArray'],_0x290071=_0x2d2610[_0x41aa9d(0x4f1)];_0x290071[_0x41aa9d(0x332)]={'stringify':function(_0x19bfb5){const _0x4d3aa3=_0x41aa9d;var _0x3d8c4b=_0x19bfb5[_0x4d3aa3(0x263)],_0x2c4c1b=_0x19bfb5['sigBytes'],_0x211cef=this[_0x4d3aa3(0x4c5)];_0x19bfb5[_0x4d3aa3(0x46e)]();for(var _0x1d16e3=[],_0x4a4bf3=0x0;_0x4a4bf3<_0x2c4c1b;_0x4a4bf3+=0x3)for(var _0x2ecbff=_0x3d8c4b[_0x4a4bf3>>>0x2]>>>0x18-_0x4a4bf3%0x4*0x8&0xff,_0x966c36=_0x3d8c4b[_0x4a4bf3+0x1>>>0x2]>>>0x18-(_0x4a4bf3+0x1)%0x4*0x8&0xff,_0x5e0c9e=_0x3d8c4b[_0x4a4bf3+0x2>>>0x2]>>>0x18-(_0x4a4bf3+0x2)%0x4*0x8&0xff,_0x20c85e=_0x2ecbff<<0x10|_0x966c36<<0x8|_0x5e0c9e,_0x57cb05=0x0;_0x57cb05<0x4&&_0x4a4bf3+_0x57cb05*0.75<_0x2c4c1b;_0x57cb05++)_0x1d16e3[_0x4d3aa3(0x1ef)](_0x211cef[_0x4d3aa3(0x3aa)](_0x20c85e>>>0x6*(0x3-_0x57cb05)&0x3f));var _0x246076=_0x211cef['charAt'](0x40);if(_0x246076){for(;_0x1d16e3['length']%0x4;)_0x1d16e3[_0x4d3aa3(0x1ef)](_0x246076);}return _0x1d16e3[_0x4d3aa3(0x26c)]('');},'parse':function(_0x495571){const _0x44e1bc=_0x41aa9d;var _0x39ccfd=_0x495571[_0x44e1bc(0x477)],_0x3e25e9=this['_map'],_0x340813=this[_0x44e1bc(0x514)];if(!_0x340813){_0x340813=this[_0x44e1bc(0x514)]=[];for(var _0x336623=0x0;_0x336623<_0x3e25e9['length'];_0x336623++)_0x340813[_0x3e25e9[_0x44e1bc(0x56b)](_0x336623)]=_0x336623;}var _0x2bf1ec=_0x3e25e9[_0x44e1bc(0x3aa)](0x40);if(_0x2bf1ec){var _0x2f7f5b=_0x495571[_0x44e1bc(0x221)](_0x2bf1ec);_0x2f7f5b!==-0x1&&(_0x39ccfd=_0x2f7f5b);}return _0x3d9161(_0x495571,_0x39ccfd,_0x340813);},'_map':_0x41aa9d(0x35f)};function _0x3d9161(_0x3fcf3b,_0x56bf6b,_0x402cd6){const _0x179c4c=_0x41aa9d;for(var _0x22f848=[],_0x47e35c=0x0,_0x9fa377=0x0;_0x9fa377<_0x56bf6b;_0x9fa377++)if(_0x9fa377%0x4){var _0x336ce7=_0x402cd6[_0x3fcf3b[_0x179c4c(0x56b)](_0x9fa377-0x1)]<<_0x9fa377%0x4*0x2|_0x402cd6[_0x3fcf3b['charCodeAt'](_0x9fa377)]>>>0x6-_0x9fa377%0x4*0x2;_0x22f848[_0x47e35c>>>0x2]|=_0x336ce7<<0x18-_0x47e35c%0x4*0x8,_0x47e35c++;}return _0x13d631['create'](_0x22f848,_0x47e35c);}}()),_0x1c53aa[_0x42626b(0x4f1)]['Base64'];}));}),_0x4e610b=_0x2cf63e((_0xc03ca0,_0x6cddb5)=>{(function(_0x517984,_0x504148){const _0xb0bf0f=_0x46f9;typeof _0xc03ca0=='object'?_0x6cddb5['exports']=_0xc03ca0=_0x504148(_0x11ffae()):typeof define==_0xb0bf0f(0x24f)&&define[_0xb0bf0f(0x434)]?define(['./core'],_0x504148):_0x504148(_0x517984[_0xb0bf0f(0x512)]);}(_0xc03ca0,function(_0x5a5e87){return function(_0x2abbb7){const _0x1575c4=_0x46f9;var _0x50b84a=_0x5a5e87,_0x29ae78=_0x50b84a[_0x1575c4(0x3d0)],_0x3104d7=_0x29ae78[_0x1575c4(0x30c)],_0x24f64d=_0x29ae78[_0x1575c4(0x223)],_0x4d0948=_0x50b84a[_0x1575c4(0x44d)],_0x137da7=[];(function(){const _0x654e5c=_0x1575c4;for(var _0x187155=0x0;_0x187155<0x40;_0x187155++)_0x137da7[_0x187155]=_0x2abbb7[_0x654e5c(0x445)](_0x2abbb7['sin'](_0x187155+0x1))*0x100000000|0x0;}());var _0x34b23e=_0x4d0948['MD5']=_0x24f64d[_0x1575c4(0x21e)]({'_doReset':function(){const _0x5d1269=_0x1575c4;this[_0x5d1269(0x2a2)]=new _0x3104d7[(_0x5d1269(0x44a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x435298,_0x9ede52){const _0x444949=_0x1575c4;for(var _0x3564b7=0x0;_0x3564b7<0x10;_0x3564b7++){var _0x172d8b=_0x9ede52+_0x3564b7,_0x592e70=_0x435298[_0x172d8b];_0x435298[_0x172d8b]=(_0x592e70<<0x8|_0x592e70>>>0x18)&0xff00ff|(_0x592e70<<0x18|_0x592e70>>>0x8)&0xff00ff00;}var _0x476904=this[_0x444949(0x2a2)]['words'],_0x547cc1=_0x435298[_0x9ede52+0x0],_0x19a724=_0x435298[_0x9ede52+0x1],_0x2b5c96=_0x435298[_0x9ede52+0x2],_0x4887df=_0x435298[_0x9ede52+0x3],_0x69d94a=_0x435298[_0x9ede52+0x4],_0x38a896=_0x435298[_0x9ede52+0x5],_0x587457=_0x435298[_0x9ede52+0x6],_0x2323bc=_0x435298[_0x9ede52+0x7],_0x580e1c=_0x435298[_0x9ede52+0x8],_0x3d6618=_0x435298[_0x9ede52+0x9],_0xc47880=_0x435298[_0x9ede52+0xa],_0x13d83f=_0x435298[_0x9ede52+0xb],_0x46d1aa=_0x435298[_0x9ede52+0xc],_0x28f463=_0x435298[_0x9ede52+0xd],_0x4b21ef=_0x435298[_0x9ede52+0xe],_0x331c7d=_0x435298[_0x9ede52+0xf],_0x531053=_0x476904[0x0],_0x2d9cd6=_0x476904[0x1],_0x27043d=_0x476904[0x2],_0x367ef1=_0x476904[0x3];_0x531053=_0xafcbb0(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x547cc1,0x7,_0x137da7[0x0]),_0x367ef1=_0xafcbb0(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x19a724,0xc,_0x137da7[0x1]),_0x27043d=_0xafcbb0(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x2b5c96,0x11,_0x137da7[0x2]),_0x2d9cd6=_0xafcbb0(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x4887df,0x16,_0x137da7[0x3]),_0x531053=_0xafcbb0(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x69d94a,0x7,_0x137da7[0x4]),_0x367ef1=_0xafcbb0(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x38a896,0xc,_0x137da7[0x5]),_0x27043d=_0xafcbb0(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x587457,0x11,_0x137da7[0x6]),_0x2d9cd6=_0xafcbb0(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x2323bc,0x16,_0x137da7[0x7]),_0x531053=_0xafcbb0(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x580e1c,0x7,_0x137da7[0x8]),_0x367ef1=_0xafcbb0(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x3d6618,0xc,_0x137da7[0x9]),_0x27043d=_0xafcbb0(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0xc47880,0x11,_0x137da7[0xa]),_0x2d9cd6=_0xafcbb0(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x13d83f,0x16,_0x137da7[0xb]),_0x531053=_0xafcbb0(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x46d1aa,0x7,_0x137da7[0xc]),_0x367ef1=_0xafcbb0(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x28f463,0xc,_0x137da7[0xd]),_0x27043d=_0xafcbb0(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x4b21ef,0x11,_0x137da7[0xe]),_0x2d9cd6=_0xafcbb0(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x331c7d,0x16,_0x137da7[0xf]),_0x531053=_0x50826d(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x19a724,0x5,_0x137da7[0x10]),_0x367ef1=_0x50826d(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x587457,0x9,_0x137da7[0x11]),_0x27043d=_0x50826d(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x13d83f,0xe,_0x137da7[0x12]),_0x2d9cd6=_0x50826d(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x547cc1,0x14,_0x137da7[0x13]),_0x531053=_0x50826d(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x38a896,0x5,_0x137da7[0x14]),_0x367ef1=_0x50826d(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0xc47880,0x9,_0x137da7[0x15]),_0x27043d=_0x50826d(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x331c7d,0xe,_0x137da7[0x16]),_0x2d9cd6=_0x50826d(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x69d94a,0x14,_0x137da7[0x17]),_0x531053=_0x50826d(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x3d6618,0x5,_0x137da7[0x18]),_0x367ef1=_0x50826d(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x4b21ef,0x9,_0x137da7[0x19]),_0x27043d=_0x50826d(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x4887df,0xe,_0x137da7[0x1a]),_0x2d9cd6=_0x50826d(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x580e1c,0x14,_0x137da7[0x1b]),_0x531053=_0x50826d(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x28f463,0x5,_0x137da7[0x1c]),_0x367ef1=_0x50826d(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x2b5c96,0x9,_0x137da7[0x1d]),_0x27043d=_0x50826d(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x2323bc,0xe,_0x137da7[0x1e]),_0x2d9cd6=_0x50826d(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x46d1aa,0x14,_0x137da7[0x1f]),_0x531053=_0x29443e(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x38a896,0x4,_0x137da7[0x20]),_0x367ef1=_0x29443e(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x580e1c,0xb,_0x137da7[0x21]),_0x27043d=_0x29443e(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x13d83f,0x10,_0x137da7[0x22]),_0x2d9cd6=_0x29443e(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x4b21ef,0x17,_0x137da7[0x23]),_0x531053=_0x29443e(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x19a724,0x4,_0x137da7[0x24]),_0x367ef1=_0x29443e(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x69d94a,0xb,_0x137da7[0x25]),_0x27043d=_0x29443e(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x2323bc,0x10,_0x137da7[0x26]),_0x2d9cd6=_0x29443e(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0xc47880,0x17,_0x137da7[0x27]),_0x531053=_0x29443e(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x28f463,0x4,_0x137da7[0x28]),_0x367ef1=_0x29443e(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x547cc1,0xb,_0x137da7[0x29]),_0x27043d=_0x29443e(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x4887df,0x10,_0x137da7[0x2a]),_0x2d9cd6=_0x29443e(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x587457,0x17,_0x137da7[0x2b]),_0x531053=_0x29443e(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x3d6618,0x4,_0x137da7[0x2c]),_0x367ef1=_0x29443e(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x46d1aa,0xb,_0x137da7[0x2d]),_0x27043d=_0x29443e(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x331c7d,0x10,_0x137da7[0x2e]),_0x2d9cd6=_0x29443e(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x2b5c96,0x17,_0x137da7[0x2f]),_0x531053=_0x274b8e(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x547cc1,0x6,_0x137da7[0x30]),_0x367ef1=_0x274b8e(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x2323bc,0xa,_0x137da7[0x31]),_0x27043d=_0x274b8e(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x4b21ef,0xf,_0x137da7[0x32]),_0x2d9cd6=_0x274b8e(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x38a896,0x15,_0x137da7[0x33]),_0x531053=_0x274b8e(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x46d1aa,0x6,_0x137da7[0x34]),_0x367ef1=_0x274b8e(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x4887df,0xa,_0x137da7[0x35]),_0x27043d=_0x274b8e(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0xc47880,0xf,_0x137da7[0x36]),_0x2d9cd6=_0x274b8e(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x19a724,0x15,_0x137da7[0x37]),_0x531053=_0x274b8e(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x580e1c,0x6,_0x137da7[0x38]),_0x367ef1=_0x274b8e(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x331c7d,0xa,_0x137da7[0x39]),_0x27043d=_0x274b8e(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x587457,0xf,_0x137da7[0x3a]),_0x2d9cd6=_0x274b8e(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x28f463,0x15,_0x137da7[0x3b]),_0x531053=_0x274b8e(_0x531053,_0x2d9cd6,_0x27043d,_0x367ef1,_0x69d94a,0x6,_0x137da7[0x3c]),_0x367ef1=_0x274b8e(_0x367ef1,_0x531053,_0x2d9cd6,_0x27043d,_0x13d83f,0xa,_0x137da7[0x3d]),_0x27043d=_0x274b8e(_0x27043d,_0x367ef1,_0x531053,_0x2d9cd6,_0x2b5c96,0xf,_0x137da7[0x3e]),_0x2d9cd6=_0x274b8e(_0x2d9cd6,_0x27043d,_0x367ef1,_0x531053,_0x3d6618,0x15,_0x137da7[0x3f]),_0x476904[0x0]=_0x476904[0x0]+_0x531053|0x0,_0x476904[0x1]=_0x476904[0x1]+_0x2d9cd6|0x0,_0x476904[0x2]=_0x476904[0x2]+_0x27043d|0x0,_0x476904[0x3]=_0x476904[0x3]+_0x367ef1|0x0;},'_doFinalize':function(){const _0x80c5e6=_0x1575c4;var _0x1f658e=this[_0x80c5e6(0x343)],_0x4e20a2=_0x1f658e['words'],_0x26a3ec=this[_0x80c5e6(0x49d)]*0x8,_0x25a4a7=_0x1f658e[_0x80c5e6(0x49a)]*0x8;_0x4e20a2[_0x25a4a7>>>0x5]|=0x80<<0x18-_0x25a4a7%0x20;var _0x348314=_0x2abbb7[_0x80c5e6(0x359)](_0x26a3ec/0x100000000),_0x32ac00=_0x26a3ec;_0x4e20a2[(_0x25a4a7+0x40>>>0x9<<0x4)+0xf]=(_0x348314<<0x8|_0x348314>>>0x18)&0xff00ff|(_0x348314<<0x18|_0x348314>>>0x8)&0xff00ff00,_0x4e20a2[(_0x25a4a7+0x40>>>0x9<<0x4)+0xe]=(_0x32ac00<<0x8|_0x32ac00>>>0x18)&0xff00ff|(_0x32ac00<<0x18|_0x32ac00>>>0x8)&0xff00ff00,_0x1f658e[_0x80c5e6(0x49a)]=(_0x4e20a2[_0x80c5e6(0x477)]+0x1)*0x4,this[_0x80c5e6(0x448)]();for(var _0x2f7959=this[_0x80c5e6(0x2a2)],_0x5c541e=_0x2f7959[_0x80c5e6(0x263)],_0x4e7bfe=0x0;_0x4e7bfe<0x4;_0x4e7bfe++){var _0x1a3354=_0x5c541e[_0x4e7bfe];_0x5c541e[_0x4e7bfe]=(_0x1a3354<<0x8|_0x1a3354>>>0x18)&0xff00ff|(_0x1a3354<<0x18|_0x1a3354>>>0x8)&0xff00ff00;}return _0x2f7959;},'clone':function(){const _0x1892f4=_0x1575c4;var _0x4d8eb9=_0x24f64d['clone'][_0x1892f4(0x527)](this);return _0x4d8eb9['_hash']=this[_0x1892f4(0x2a2)][_0x1892f4(0x3c3)](),_0x4d8eb9;}});function _0xafcbb0(_0x408863,_0x2c847b,_0x3c3a36,_0x54b2fb,_0x3de0ae,_0x46a704,_0x58798f){var _0xb4ce75=_0x408863+(_0x2c847b&_0x3c3a36|~_0x2c847b&_0x54b2fb)+_0x3de0ae+_0x58798f;return(_0xb4ce75<<_0x46a704|_0xb4ce75>>>0x20-_0x46a704)+_0x2c847b;}function _0x50826d(_0x4ef5fd,_0x5c88a7,_0x36f707,_0x68a1c9,_0x4dce50,_0x2f42c4,_0x507140){var _0x1b3cf2=_0x4ef5fd+(_0x5c88a7&_0x68a1c9|_0x36f707&~_0x68a1c9)+_0x4dce50+_0x507140;return(_0x1b3cf2<<_0x2f42c4|_0x1b3cf2>>>0x20-_0x2f42c4)+_0x5c88a7;}function _0x29443e(_0x44f054,_0x31ba5e,_0x551583,_0x19b00d,_0x24def4,_0x383ea0,_0x768344){var _0x90cd6e=_0x44f054+(_0x31ba5e^_0x551583^_0x19b00d)+_0x24def4+_0x768344;return(_0x90cd6e<<_0x383ea0|_0x90cd6e>>>0x20-_0x383ea0)+_0x31ba5e;}function _0x274b8e(_0x1168b2,_0x56114d,_0x3eb4a7,_0xc022cf,_0x37ee6f,_0x1b6551,_0x4fd7c5){var _0x47fc55=_0x1168b2+(_0x3eb4a7^(_0x56114d|~_0xc022cf))+_0x37ee6f+_0x4fd7c5;return(_0x47fc55<<_0x1b6551|_0x47fc55>>>0x20-_0x1b6551)+_0x56114d;}_0x50b84a[_0x1575c4(0x39b)]=_0x24f64d['_createHelper'](_0x34b23e),_0x50b84a[_0x1575c4(0x304)]=_0x24f64d[_0x1575c4(0x545)](_0x34b23e);}(Math),_0x5a5e87['MD5'];}));}),_0x29d6ab=_0x2cf63e((_0x418e16,_0x3b8c4a)=>{(function(_0x589fdd,_0x56c12e){const _0xc0d704=_0x46f9;typeof _0x418e16=='object'?_0x3b8c4a['exports']=_0x418e16=_0x56c12e(_0x11ffae()):typeof define==_0xc0d704(0x24f)&&define['amd']?define([_0xc0d704(0x516)],_0x56c12e):_0x56c12e(_0x589fdd[_0xc0d704(0x512)]);}(_0x418e16,function(_0x4db854){const _0x5ae1bd=_0x46f9;return(function(){const _0x113c36=_0x46f9;var _0xcb70b9=_0x4db854,_0x1eca2a=_0xcb70b9[_0x113c36(0x3d0)],_0x23af55=_0x1eca2a[_0x113c36(0x30c)],_0x48ac23=_0x1eca2a[_0x113c36(0x223)],_0x5c4aa0=_0xcb70b9[_0x113c36(0x44d)],_0x78409b=[],_0x216104=_0x5c4aa0['SHA1']=_0x48ac23['extend']({'_doReset':function(){const _0x4b56da=_0x113c36;this[_0x4b56da(0x2a2)]=new _0x23af55['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4e1938,_0x15b8ca){const _0x280206=_0x113c36;for(var _0x5ab094=this[_0x280206(0x2a2)]['words'],_0x42d254=_0x5ab094[0x0],_0x860935=_0x5ab094[0x1],_0x214d14=_0x5ab094[0x2],_0x4cd45a=_0x5ab094[0x3],_0x1c0c06=_0x5ab094[0x4],_0x86aaad=0x0;_0x86aaad<0x50;_0x86aaad++){if(_0x86aaad<0x10)_0x78409b[_0x86aaad]=_0x4e1938[_0x15b8ca+_0x86aaad]|0x0;else{var _0x42d32e=_0x78409b[_0x86aaad-0x3]^_0x78409b[_0x86aaad-0x8]^_0x78409b[_0x86aaad-0xe]^_0x78409b[_0x86aaad-0x10];_0x78409b[_0x86aaad]=_0x42d32e<<0x1|_0x42d32e>>>0x1f;}var _0x19b01c=(_0x42d254<<0x5|_0x42d254>>>0x1b)+_0x1c0c06+_0x78409b[_0x86aaad];_0x86aaad<0x14?_0x19b01c+=(_0x860935&_0x214d14|~_0x860935&_0x4cd45a)+0x5a827999:_0x86aaad<0x28?_0x19b01c+=(_0x860935^_0x214d14^_0x4cd45a)+0x6ed9eba1:_0x86aaad<0x3c?_0x19b01c+=(_0x860935&_0x214d14|_0x860935&_0x4cd45a|_0x214d14&_0x4cd45a)-0x70e44324:_0x19b01c+=(_0x860935^_0x214d14^_0x4cd45a)-0x359d3e2a,_0x1c0c06=_0x4cd45a,_0x4cd45a=_0x214d14,_0x214d14=_0x860935<<0x1e|_0x860935>>>0x2,_0x860935=_0x42d254,_0x42d254=_0x19b01c;}_0x5ab094[0x0]=_0x5ab094[0x0]+_0x42d254|0x0,_0x5ab094[0x1]=_0x5ab094[0x1]+_0x860935|0x0,_0x5ab094[0x2]=_0x5ab094[0x2]+_0x214d14|0x0,_0x5ab094[0x3]=_0x5ab094[0x3]+_0x4cd45a|0x0,_0x5ab094[0x4]=_0x5ab094[0x4]+_0x1c0c06|0x0;},'_doFinalize':function(){const _0xa84030=_0x113c36;var _0x43e9d4=this['_data'],_0x1df896=_0x43e9d4[_0xa84030(0x263)],_0x2c9dcf=this[_0xa84030(0x49d)]*0x8,_0x4c5572=_0x43e9d4[_0xa84030(0x49a)]*0x8;return _0x1df896[_0x4c5572>>>0x5]|=0x80<<0x18-_0x4c5572%0x20,_0x1df896[(_0x4c5572+0x40>>>0x9<<0x4)+0xe]=Math[_0xa84030(0x359)](_0x2c9dcf/0x100000000),_0x1df896[(_0x4c5572+0x40>>>0x9<<0x4)+0xf]=_0x2c9dcf,_0x43e9d4[_0xa84030(0x49a)]=_0x1df896[_0xa84030(0x477)]*0x4,this[_0xa84030(0x448)](),this[_0xa84030(0x2a2)];},'clone':function(){const _0x1802e2=_0x113c36;var _0x27e7bf=_0x48ac23['clone']['call'](this);return _0x27e7bf[_0x1802e2(0x2a2)]=this['_hash'][_0x1802e2(0x3c3)](),_0x27e7bf;}});_0xcb70b9['SHA1']=_0x48ac23[_0x113c36(0x4df)](_0x216104),_0xcb70b9[_0x113c36(0x510)]=_0x48ac23[_0x113c36(0x545)](_0x216104);}()),_0x4db854[_0x5ae1bd(0x549)];}));}),_0x218879=_0x2cf63e((_0x3ed65f,_0x2ee622)=>{(function(_0x59af50,_0x3a414b){const _0x15b156=_0x46f9;typeof _0x3ed65f==_0x15b156(0x25b)?_0x2ee622[_0x15b156(0x30f)]=_0x3ed65f=_0x3a414b(_0x11ffae()):typeof define==_0x15b156(0x24f)&&define['amd']?define([_0x15b156(0x516)],_0x3a414b):_0x3a414b(_0x59af50[_0x15b156(0x512)]);}(_0x3ed65f,function(_0x2f2e00){(function(){const _0x3fbfa6=_0x46f9;var _0xe167d0=_0x2f2e00,_0x2ad6f7=_0xe167d0[_0x3fbfa6(0x3d0)]['Base'],_0x2ce62e=_0xe167d0['enc'][_0x3fbfa6(0x4fa)],_0x2aab13=_0xe167d0[_0x3fbfa6(0x44d)];_0x2aab13['HMAC']=_0x2ad6f7[_0x3fbfa6(0x21e)]({'init':function(_0x2f0d47,_0x1751a0){const _0x40b5b3=_0x3fbfa6;_0x2f0d47=this['_hasher']=new _0x2f0d47[(_0x40b5b3(0x44a))](),typeof _0x1751a0==_0x40b5b3(0x3da)&&(_0x1751a0=_0x2ce62e[_0x40b5b3(0x4f6)](_0x1751a0));var _0x360dd6=_0x2f0d47['blockSize'],_0x179f49=_0x360dd6*0x4;_0x1751a0[_0x40b5b3(0x49a)]>_0x179f49&&(_0x1751a0=_0x2f0d47[_0x40b5b3(0x2c4)](_0x1751a0)),_0x1751a0[_0x40b5b3(0x46e)]();for(var _0x31c616=this[_0x40b5b3(0x4d7)]=_0x1751a0[_0x40b5b3(0x3c3)](),_0x329a74=this[_0x40b5b3(0x241)]=_0x1751a0['clone'](),_0x388c8d=_0x31c616[_0x40b5b3(0x263)],_0x27c75b=_0x329a74[_0x40b5b3(0x263)],_0x22bd3f=0x0;_0x22bd3f<_0x360dd6;_0x22bd3f++)_0x388c8d[_0x22bd3f]^=0x5c5c5c5c,_0x27c75b[_0x22bd3f]^=0x36363636;_0x31c616[_0x40b5b3(0x49a)]=_0x329a74[_0x40b5b3(0x49a)]=_0x179f49,this['reset']();},'reset':function(){const _0x2d81be=_0x3fbfa6;var _0x46cdf6=this['_hasher'];_0x46cdf6['reset'](),_0x46cdf6[_0x2d81be(0x272)](this[_0x2d81be(0x241)]);},'update':function(_0x369b13){const _0x30945f=_0x3fbfa6;return this[_0x30945f(0x231)][_0x30945f(0x272)](_0x369b13),this;},'finalize':function(_0x11b8e6){const _0x37dded=_0x3fbfa6;var _0x4db0de=this[_0x37dded(0x231)],_0x1770e8=_0x4db0de['finalize'](_0x11b8e6);return _0x4db0de[_0x37dded(0x537)](),_0x4db0de[_0x37dded(0x2c4)](this['_oKey'][_0x37dded(0x3c3)]()[_0x37dded(0x266)](_0x1770e8));}});}());}));}),_0x39c543=_0x2cf63e((_0x1508c3,_0x5c0e8f)=>{(function(_0x288dfd,_0x472ad3,_0x4fe953){const _0x468019=_0x46f9;typeof _0x1508c3=='object'?_0x5c0e8f['exports']=_0x1508c3=_0x472ad3(_0x11ffae(),_0x29d6ab(),_0x218879()):typeof define==_0x468019(0x24f)&&define['amd']?define([_0x468019(0x516),_0x468019(0x4b4),_0x468019(0x507)],_0x472ad3):_0x472ad3(_0x288dfd['CryptoJS']);}(_0x1508c3,function(_0x28ecfe){const _0x58aa7b=_0x46f9;return(function(){const _0xec024d=_0x46f9;var _0x523207=_0x28ecfe,_0xe4d700=_0x523207[_0xec024d(0x3d0)],_0x211de6=_0xe4d700[_0xec024d(0x57b)],_0x114cdd=_0xe4d700[_0xec024d(0x30c)],_0x4d0bee=_0x523207[_0xec024d(0x44d)],_0x35a5e7=_0x4d0bee[_0xec024d(0x39b)],_0x1d76c8=_0x4d0bee['EvpKDF']=_0x211de6['extend']({'cfg':_0x211de6[_0xec024d(0x21e)]({'keySize':0x80/0x20,'hasher':_0x35a5e7,'iterations':0x1}),'init':function(_0x5c51ad){const _0x614b85=_0xec024d;this[_0x614b85(0x456)]=this['cfg'][_0x614b85(0x21e)](_0x5c51ad);},'compute':function(_0x656052,_0x1f6a7e){const _0x277b2e=_0xec024d;for(var _0x1f030c,_0x2370f8=this[_0x277b2e(0x456)],_0x3882d8=_0x2370f8[_0x277b2e(0x31a)][_0x277b2e(0x498)](),_0x52bad0=_0x114cdd[_0x277b2e(0x498)](),_0x26d79b=_0x52bad0['words'],_0x1416b7=_0x2370f8[_0x277b2e(0x307)],_0x44e4f6=_0x2370f8[_0x277b2e(0x481)];_0x26d79b[_0x277b2e(0x477)]<_0x1416b7;){_0x1f030c&&_0x3882d8[_0x277b2e(0x272)](_0x1f030c),_0x1f030c=_0x3882d8[_0x277b2e(0x272)](_0x656052)['finalize'](_0x1f6a7e),_0x3882d8[_0x277b2e(0x537)]();for(var _0x305d70=0x1;_0x305d70<_0x44e4f6;_0x305d70++)_0x1f030c=_0x3882d8[_0x277b2e(0x2c4)](_0x1f030c),_0x3882d8['reset']();_0x52bad0['concat'](_0x1f030c);}return _0x52bad0[_0x277b2e(0x49a)]=_0x1416b7*0x4,_0x52bad0;}});_0x523207[_0xec024d(0x387)]=function(_0x1b1646,_0x50533d,_0x4d7702){const _0x223127=_0xec024d;return _0x1d76c8[_0x223127(0x498)](_0x4d7702)[_0x223127(0x570)](_0x1b1646,_0x50533d);};}()),_0x28ecfe[_0x58aa7b(0x387)];}));}),_0x4a1bd0=_0x2cf63e((_0x1f2b0d,_0x51c4c9)=>{(function(_0x3aea92,_0x57d4c7,_0x42c5e8){const _0x156359=_0x46f9;typeof _0x1f2b0d==_0x156359(0x25b)?_0x51c4c9['exports']=_0x1f2b0d=_0x57d4c7(_0x11ffae(),_0x39c543()):typeof define==_0x156359(0x24f)&&define[_0x156359(0x434)]?define(['./core',_0x156359(0x4bd)],_0x57d4c7):_0x57d4c7(_0x3aea92[_0x156359(0x512)]);}(_0x1f2b0d,function(_0x3d9e12){const _0x2694dc=_0x46f9;_0x3d9e12['lib'][_0x2694dc(0x552)]||function(_0x94eeed){const _0x3bc930=_0x2694dc;var _0x521d96=_0x3d9e12,_0x56c342=_0x521d96[_0x3bc930(0x3d0)],_0x18633e=_0x56c342[_0x3bc930(0x57b)],_0xde5783=_0x56c342[_0x3bc930(0x30c)],_0x30c85b=_0x56c342[_0x3bc930(0x364)],_0x5982d2=_0x521d96[_0x3bc930(0x4f1)];_0x5982d2[_0x3bc930(0x4fa)];var _0x232faa=_0x5982d2[_0x3bc930(0x332)],_0x52aeb8=_0x521d96[_0x3bc930(0x44d)][_0x3bc930(0x387)],_0x3ccf68=_0x56c342[_0x3bc930(0x552)]=_0x30c85b['extend']({'cfg':_0x18633e['extend'](),'createEncryptor':function(_0x406639,_0x49874e){const _0xc09474=_0x3bc930;return this[_0xc09474(0x498)](this[_0xc09474(0x47b)],_0x406639,_0x49874e);},'createDecryptor':function(_0x2d05ed,_0x33eba0){const _0x3d61e8=_0x3bc930;return this['create'](this[_0x3d61e8(0x452)],_0x2d05ed,_0x33eba0);},'init':function(_0x527629,_0x458f91,_0x3263eb){const _0x59c0fb=_0x3bc930;this[_0x59c0fb(0x456)]=this[_0x59c0fb(0x456)][_0x59c0fb(0x21e)](_0x3263eb),this[_0x59c0fb(0x40e)]=_0x527629,this[_0x59c0fb(0x535)]=_0x458f91,this[_0x59c0fb(0x537)]();},'reset':function(){const _0x36334f=_0x3bc930;_0x30c85b[_0x36334f(0x537)][_0x36334f(0x527)](this),this['_doReset']();},'process':function(_0x17475f){const _0x3d3c2c=_0x3bc930;return this[_0x3d3c2c(0x404)](_0x17475f),this[_0x3d3c2c(0x448)]();},'finalize':function(_0x3c4ec4){const _0x48e67c=_0x3bc930;return _0x3c4ec4&&this['_append'](_0x3c4ec4),this[_0x48e67c(0x41c)]();},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x126c5c(_0x58eb5f){const _0x319a28=_0x46f9;return typeof _0x58eb5f==_0x319a28(0x3da)?_0x4e9402:_0x31069e;}return function(_0x44aed7){return{'encrypt':function(_0x556610,_0x11edaa,_0x258ae2){const _0x445cc8=_0x46f9;return _0x126c5c(_0x11edaa)[_0x445cc8(0x51b)](_0x44aed7,_0x556610,_0x11edaa,_0x258ae2);},'decrypt':function(_0x57b9e7,_0x562a72,_0x5e8a36){return _0x126c5c(_0x562a72)['decrypt'](_0x44aed7,_0x57b9e7,_0x562a72,_0x5e8a36);}};};}())});_0x56c342['StreamCipher']=_0x3ccf68[_0x3bc930(0x21e)]({'_doFinalize':function(){const _0x35d328=_0x3bc930;return this[_0x35d328(0x448)](!0x0);},'blockSize':0x1});var _0x5bf19a=_0x521d96[_0x3bc930(0x423)]={},_0x5b7e45=_0x56c342[_0x3bc930(0x279)]=_0x18633e[_0x3bc930(0x21e)]({'createEncryptor':function(_0x5058c7,_0x5a0cbd){const _0x283915=_0x3bc930;return this[_0x283915(0x278)]['create'](_0x5058c7,_0x5a0cbd);},'createDecryptor':function(_0x1488b3,_0x4c0bdf){const _0x5a25d0=_0x3bc930;return this[_0x5a25d0(0x43f)][_0x5a25d0(0x498)](_0x1488b3,_0x4c0bdf);},'init':function(_0x43e5b9,_0x790007){const _0x18ff8d=_0x3bc930;this[_0x18ff8d(0x4e7)]=_0x43e5b9,this[_0x18ff8d(0x547)]=_0x790007;}}),_0x26a8bf=_0x5bf19a[_0x3bc930(0x2db)]=(function(){const _0x1a19a6=_0x3bc930;var _0x275aa9=_0x5b7e45[_0x1a19a6(0x21e)]();_0x275aa9[_0x1a19a6(0x278)]=_0x275aa9[_0x1a19a6(0x21e)]({'processBlock':function(_0x393cee,_0x530d22){const _0x31b58f=_0x1a19a6;var _0x2e0e84=this[_0x31b58f(0x4e7)],_0x246164=_0x2e0e84[_0x31b58f(0x48b)];_0x3b342f[_0x31b58f(0x527)](this,_0x393cee,_0x530d22,_0x246164),_0x2e0e84[_0x31b58f(0x282)](_0x393cee,_0x530d22),this['_prevBlock']=_0x393cee['slice'](_0x530d22,_0x530d22+_0x246164);}}),_0x275aa9[_0x1a19a6(0x43f)]=_0x275aa9['extend']({'processBlock':function(_0x260b8b,_0x374e1b){const _0x28f780=_0x1a19a6;var _0x3f3131=this[_0x28f780(0x4e7)],_0x5c5aae=_0x3f3131[_0x28f780(0x48b)],_0x5bda21=_0x260b8b['slice'](_0x374e1b,_0x374e1b+_0x5c5aae);_0x3f3131[_0x28f780(0x24d)](_0x260b8b,_0x374e1b),_0x3b342f[_0x28f780(0x527)](this,_0x260b8b,_0x374e1b,_0x5c5aae),this['_prevBlock']=_0x5bda21;}});function _0x3b342f(_0x225a34,_0x56756a,_0x4e9fbc){const _0x355445=_0x1a19a6;var _0xda3664,_0x4820c5=this['_iv'];_0x4820c5?(_0xda3664=_0x4820c5,this[_0x355445(0x547)]=_0x94eeed):_0xda3664=this[_0x355445(0x491)];for(var _0x142c2f=0x0;_0x142c2f<_0x4e9fbc;_0x142c2f++)_0x225a34[_0x56756a+_0x142c2f]^=_0xda3664[_0x142c2f];}return _0x275aa9;}()),_0x186e69=_0x521d96[_0x3bc930(0x1f1)]={},_0x16a469=_0x186e69[_0x3bc930(0x207)]={'pad':function(_0xbfe22c,_0x57e3f8){const _0xa8413=_0x3bc930;for(var _0x53aaec=_0x57e3f8*0x4,_0x4fc102=_0x53aaec-_0xbfe22c[_0xa8413(0x49a)]%_0x53aaec,_0x223c84=_0x4fc102<<0x18|_0x4fc102<<0x10|_0x4fc102<<0x8|_0x4fc102,_0x1cb4b3=[],_0x2ce8b5=0x0;_0x2ce8b5<_0x4fc102;_0x2ce8b5+=0x4)_0x1cb4b3[_0xa8413(0x1ef)](_0x223c84);var _0x3f20b6=_0xde5783['create'](_0x1cb4b3,_0x4fc102);_0xbfe22c[_0xa8413(0x266)](_0x3f20b6);},'unpad':function(_0x25613e){const _0x4e0cdb=_0x3bc930;var _0x2910f6=_0x25613e[_0x4e0cdb(0x263)][_0x25613e[_0x4e0cdb(0x49a)]-0x1>>>0x2]&0xff;_0x25613e['sigBytes']-=_0x2910f6;}};_0x56c342[_0x3bc930(0x4ed)]=_0x3ccf68['extend']({'cfg':_0x3ccf68[_0x3bc930(0x456)]['extend']({'mode':_0x26a8bf,'padding':_0x16a469}),'reset':function(){const _0x56e1fc=_0x3bc930;var _0x50d9cb;_0x3ccf68[_0x56e1fc(0x537)][_0x56e1fc(0x527)](this);var _0x29a7c8=this[_0x56e1fc(0x456)],_0x8232a1=_0x29a7c8['iv'],_0x329dd1=_0x29a7c8[_0x56e1fc(0x423)];this['_xformMode']==this[_0x56e1fc(0x47b)]?_0x50d9cb=_0x329dd1[_0x56e1fc(0x375)]:(_0x50d9cb=_0x329dd1[_0x56e1fc(0x388)],this[_0x56e1fc(0x522)]=0x1),this[_0x56e1fc(0x488)]&&this[_0x56e1fc(0x488)][_0x56e1fc(0x1f3)]==_0x50d9cb?this[_0x56e1fc(0x488)][_0x56e1fc(0x44a)](this,_0x8232a1&&_0x8232a1[_0x56e1fc(0x263)]):(this['_mode']=_0x50d9cb['call'](_0x329dd1,this,_0x8232a1&&_0x8232a1[_0x56e1fc(0x263)]),this[_0x56e1fc(0x488)]['__creator']=_0x50d9cb);},'_doProcessBlock':function(_0x48c8c1,_0x54e478){const _0x16a229=_0x3bc930;this[_0x16a229(0x488)][_0x16a229(0x513)](_0x48c8c1,_0x54e478);},'_doFinalize':function(){const _0x15d7c6=_0x3bc930;var _0x17a208,_0x11dd17=this['cfg'][_0x15d7c6(0x44c)];return this[_0x15d7c6(0x40e)]==this['_ENC_XFORM_MODE']?(_0x11dd17['pad'](this[_0x15d7c6(0x343)],this[_0x15d7c6(0x48b)]),_0x17a208=this[_0x15d7c6(0x448)](!0x0)):(_0x17a208=this[_0x15d7c6(0x448)](!0x0),_0x11dd17[_0x15d7c6(0x2b7)](_0x17a208)),_0x17a208;},'blockSize':0x80/0x20});var _0x2d4d81=_0x56c342[_0x3bc930(0x291)]=_0x18633e[_0x3bc930(0x21e)]({'init':function(_0x3bc4da){this['mixIn'](_0x3bc4da);},'toString':function(_0x3ab7f8){const _0x3a7305=_0x3bc930;return(_0x3ab7f8||this[_0x3a7305(0x2b9)])[_0x3a7305(0x2e2)](this);}}),_0x45c98f=_0x521d96[_0x3bc930(0x2d1)]={},_0x21aa4a=_0x45c98f[_0x3bc930(0x2d4)]={'stringify':function(_0x21f012){const _0x4426fa=_0x3bc930;var _0x443289,_0x3b5fe2=_0x21f012[_0x4426fa(0x4dd)],_0x18d607=_0x21f012[_0x4426fa(0x208)];return _0x443289=_0x18d607?_0xde5783[_0x4426fa(0x498)]([0x53616c74,0x65645f5f])[_0x4426fa(0x266)](_0x18d607)[_0x4426fa(0x266)](_0x3b5fe2):_0x3b5fe2,_0x443289[_0x4426fa(0x1ea)](_0x232faa);},'parse':function(_0x5afaf3){const _0x12524a=_0x3bc930;var _0x376e9a,_0x1b353d=_0x232faa[_0x12524a(0x4f6)](_0x5afaf3),_0x48e766=_0x1b353d['words'];return _0x48e766[0x0]==0x53616c74&&_0x48e766[0x1]==0x65645f5f&&(_0x376e9a=_0xde5783[_0x12524a(0x498)](_0x48e766[_0x12524a(0x500)](0x2,0x4)),_0x48e766[_0x12524a(0x369)](0x0,0x4),_0x1b353d[_0x12524a(0x49a)]-=0x10),_0x2d4d81[_0x12524a(0x498)]({'ciphertext':_0x1b353d,'salt':_0x376e9a});}},_0x31069e=_0x56c342[_0x3bc930(0x1ec)]=_0x18633e['extend']({'cfg':_0x18633e[_0x3bc930(0x21e)]({'format':_0x21aa4a}),'encrypt':function(_0xd04c66,_0x2a3dfc,_0x115fd5,_0x3350ea){const _0x38b4d0=_0x3bc930;_0x3350ea=this[_0x38b4d0(0x456)][_0x38b4d0(0x21e)](_0x3350ea);var _0x25eb82=_0xd04c66[_0x38b4d0(0x375)](_0x115fd5,_0x3350ea),_0x4214e1=_0x25eb82[_0x38b4d0(0x2c4)](_0x2a3dfc),_0x44f58b=_0x25eb82[_0x38b4d0(0x456)];return _0x2d4d81[_0x38b4d0(0x498)]({'ciphertext':_0x4214e1,'key':_0x115fd5,'iv':_0x44f58b['iv'],'algorithm':_0xd04c66,'mode':_0x44f58b['mode'],'padding':_0x44f58b[_0x38b4d0(0x44c)],'blockSize':_0xd04c66[_0x38b4d0(0x48b)],'formatter':_0x3350ea[_0x38b4d0(0x2d1)]});},'decrypt':function(_0x20a166,_0x303f1f,_0x1eaaec,_0x23ff7c){const _0x365689=_0x3bc930;return _0x23ff7c=this[_0x365689(0x456)][_0x365689(0x21e)](_0x23ff7c),_0x303f1f=this['_parse'](_0x303f1f,_0x23ff7c['format']),_0x20a166[_0x365689(0x388)](_0x1eaaec,_0x23ff7c)['finalize'](_0x303f1f[_0x365689(0x4dd)]);},'_parse':function(_0x5425c8,_0x1d2272){const _0x252374=_0x3bc930;return typeof _0x5425c8==_0x252374(0x3da)?_0x1d2272[_0x252374(0x4f6)](_0x5425c8,this):_0x5425c8;}}),_0x1777e7=_0x521d96['kdf']={},_0x144ef7=_0x1777e7[_0x3bc930(0x2d4)]={'execute':function(_0x51c6c6,_0x5f8b4,_0x35d314,_0x5ca4ab,_0x4e0a68){const _0x1cd1c0=_0x3bc930;if(_0x5ca4ab||(_0x5ca4ab=_0xde5783[_0x1cd1c0(0x334)](0x40/0x8)),_0x4e0a68)var _0x39cc97=_0x52aeb8['create']({'keySize':_0x5f8b4+_0x35d314,'hasher':_0x4e0a68})[_0x1cd1c0(0x570)](_0x51c6c6,_0x5ca4ab);else var _0x39cc97=_0x52aeb8[_0x1cd1c0(0x498)]({'keySize':_0x5f8b4+_0x35d314})[_0x1cd1c0(0x570)](_0x51c6c6,_0x5ca4ab);var _0x34c854=_0xde5783['create'](_0x39cc97['words'][_0x1cd1c0(0x500)](_0x5f8b4),_0x35d314*0x4);return _0x39cc97[_0x1cd1c0(0x49a)]=_0x5f8b4*0x4,_0x2d4d81[_0x1cd1c0(0x498)]({'key':_0x39cc97,'iv':_0x34c854,'salt':_0x5ca4ab});}},_0x4e9402=_0x56c342[_0x3bc930(0x1f7)]=_0x31069e[_0x3bc930(0x21e)]({'cfg':_0x31069e['cfg'][_0x3bc930(0x21e)]({'kdf':_0x144ef7}),'encrypt':function(_0x183ed4,_0x5c2cb5,_0x27dc88,_0x4513ce){const _0x28f98b=_0x3bc930;_0x4513ce=this[_0x28f98b(0x456)][_0x28f98b(0x21e)](_0x4513ce);var _0x36c66c=_0x4513ce[_0x28f98b(0x36f)]['execute'](_0x27dc88,_0x183ed4[_0x28f98b(0x307)],_0x183ed4[_0x28f98b(0x293)],_0x4513ce[_0x28f98b(0x208)],_0x4513ce['hasher']);_0x4513ce['iv']=_0x36c66c['iv'];var _0x1830e3=_0x31069e[_0x28f98b(0x51b)][_0x28f98b(0x527)](this,_0x183ed4,_0x5c2cb5,_0x36c66c[_0x28f98b(0x219)],_0x4513ce);return _0x1830e3['mixIn'](_0x36c66c),_0x1830e3;},'decrypt':function(_0x37f223,_0x42760c,_0x2e8c0f,_0x3af3c9){const _0x437d9f=_0x3bc930;_0x3af3c9=this[_0x437d9f(0x456)][_0x437d9f(0x21e)](_0x3af3c9),_0x42760c=this[_0x437d9f(0x524)](_0x42760c,_0x3af3c9[_0x437d9f(0x2d1)]);var _0x2bfff1=_0x3af3c9[_0x437d9f(0x36f)][_0x437d9f(0x4d4)](_0x2e8c0f,_0x37f223['keySize'],_0x37f223[_0x437d9f(0x293)],_0x42760c[_0x437d9f(0x208)],_0x3af3c9[_0x437d9f(0x31a)]);return _0x3af3c9['iv']=_0x2bfff1['iv'],_0x31069e[_0x437d9f(0x44b)][_0x437d9f(0x527)](this,_0x37f223,_0x42760c,_0x2bfff1[_0x437d9f(0x219)],_0x3af3c9);}});}();}));}),_0x236f3a=_0x2cf63e((_0x322190,_0x22453f)=>{(function(_0x64ea6,_0x1339ca,_0x2f200b){const _0x647b9f=_0x46f9;typeof _0x322190=='object'?_0x22453f[_0x647b9f(0x30f)]=_0x322190=_0x1339ca(_0x11ffae(),_0x37f83e(),_0x4e610b(),_0x39c543(),_0x4a1bd0()):typeof define==_0x647b9f(0x24f)&&define['amd']?define([_0x647b9f(0x516),_0x647b9f(0x550),'./md5',_0x647b9f(0x4bd),_0x647b9f(0x55e)],_0x1339ca):_0x1339ca(_0x64ea6[_0x647b9f(0x512)]);}(_0x322190,function(_0x508857){const _0xa94e2c=_0x46f9;return(function(){const _0x322b6c=_0x46f9;var _0x513510=_0x508857,_0x589ecc=_0x513510[_0x322b6c(0x3d0)]['BlockCipher'],_0x49ee5a=_0x513510[_0x322b6c(0x44d)],_0x47f838=[],_0x3bc916=[],_0x2f56de=[],_0x277565=[],_0x12d876=[],_0x393022=[],_0x349617=[],_0x7eb8f1=[],_0x10510b=[],_0x2302a4=[];(function(){for(var _0x364c94=[],_0x5de159=0x0;_0x5de159<0x100;_0x5de159++)_0x5de159<0x80?_0x364c94[_0x5de159]=_0x5de159<<0x1:_0x364c94[_0x5de159]=_0x5de159<<0x1^0x11b;for(var _0x3b470b=0x0,_0x25f404=0x0,_0x5de159=0x0;_0x5de159<0x100;_0x5de159++){var _0x479da8=_0x25f404^_0x25f404<<0x1^_0x25f404<<0x2^_0x25f404<<0x3^_0x25f404<<0x4;_0x479da8=_0x479da8>>>0x8^_0x479da8&0xff^0x63,_0x47f838[_0x3b470b]=_0x479da8,_0x3bc916[_0x479da8]=_0x3b470b;var _0x58ae7d=_0x364c94[_0x3b470b],_0x48d9c1=_0x364c94[_0x58ae7d],_0x429db3=_0x364c94[_0x48d9c1],_0xabeb4c=_0x364c94[_0x479da8]*0x101^_0x479da8*0x1010100;_0x2f56de[_0x3b470b]=_0xabeb4c<<0x18|_0xabeb4c>>>0x8,_0x277565[_0x3b470b]=_0xabeb4c<<0x10|_0xabeb4c>>>0x10,_0x12d876[_0x3b470b]=_0xabeb4c<<0x8|_0xabeb4c>>>0x18,_0x393022[_0x3b470b]=_0xabeb4c;var _0xabeb4c=_0x429db3*0x1010101^_0x48d9c1*0x10001^_0x58ae7d*0x101^_0x3b470b*0x1010100;_0x349617[_0x479da8]=_0xabeb4c<<0x18|_0xabeb4c>>>0x8,_0x7eb8f1[_0x479da8]=_0xabeb4c<<0x10|_0xabeb4c>>>0x10,_0x10510b[_0x479da8]=_0xabeb4c<<0x8|_0xabeb4c>>>0x18,_0x2302a4[_0x479da8]=_0xabeb4c,_0x3b470b?(_0x3b470b=_0x58ae7d^_0x364c94[_0x364c94[_0x364c94[_0x429db3^_0x58ae7d]]],_0x25f404^=_0x364c94[_0x364c94[_0x25f404]]):_0x3b470b=_0x25f404=0x1;}}());var _0x321b9d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2a59a1=_0x49ee5a[_0x322b6c(0x2ae)]=_0x589ecc[_0x322b6c(0x21e)]({'_doReset':function(){const _0x1dffa1=_0x322b6c;var _0xbf80e8;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x1dffa1(0x535)])){for(var _0x3627b2=this['_keyPriorReset']=this['_key'],_0x70fe5c=_0x3627b2[_0x1dffa1(0x263)],_0x5eeb25=_0x3627b2[_0x1dffa1(0x49a)]/0x4,_0x544f30=((this[_0x1dffa1(0x352)]=_0x5eeb25+0x6)+0x1)*0x4,_0x9c0ef7=this['_keySchedule']=[],_0x44d5c0=0x0;_0x44d5c0<_0x544f30;_0x44d5c0++)_0x44d5c0<_0x5eeb25?_0x9c0ef7[_0x44d5c0]=_0x70fe5c[_0x44d5c0]:(_0xbf80e8=_0x9c0ef7[_0x44d5c0-0x1],_0x44d5c0%_0x5eeb25?_0x5eeb25>0x6&&_0x44d5c0%_0x5eeb25==0x4&&(_0xbf80e8=_0x47f838[_0xbf80e8>>>0x18]<<0x18|_0x47f838[_0xbf80e8>>>0x10&0xff]<<0x10|_0x47f838[_0xbf80e8>>>0x8&0xff]<<0x8|_0x47f838[_0xbf80e8&0xff]):(_0xbf80e8=_0xbf80e8<<0x8|_0xbf80e8>>>0x18,_0xbf80e8=_0x47f838[_0xbf80e8>>>0x18]<<0x18|_0x47f838[_0xbf80e8>>>0x10&0xff]<<0x10|_0x47f838[_0xbf80e8>>>0x8&0xff]<<0x8|_0x47f838[_0xbf80e8&0xff],_0xbf80e8^=_0x321b9d[_0x44d5c0/_0x5eeb25|0x0]<<0x18),_0x9c0ef7[_0x44d5c0]=_0x9c0ef7[_0x44d5c0-_0x5eeb25]^_0xbf80e8);for(var _0x12ea11=this[_0x1dffa1(0x485)]=[],_0x25ae7b=0x0;_0x25ae7b<_0x544f30;_0x25ae7b++){var _0x44d5c0=_0x544f30-_0x25ae7b;if(_0x25ae7b%0x4)var _0xbf80e8=_0x9c0ef7[_0x44d5c0];else var _0xbf80e8=_0x9c0ef7[_0x44d5c0-0x4];_0x25ae7b<0x4||_0x44d5c0<=0x4?_0x12ea11[_0x25ae7b]=_0xbf80e8:_0x12ea11[_0x25ae7b]=_0x349617[_0x47f838[_0xbf80e8>>>0x18]]^_0x7eb8f1[_0x47f838[_0xbf80e8>>>0x10&0xff]]^_0x10510b[_0x47f838[_0xbf80e8>>>0x8&0xff]]^_0x2302a4[_0x47f838[_0xbf80e8&0xff]];}}},'encryptBlock':function(_0xb3e925,_0x2d70a9){const _0x5ade65=_0x322b6c;this[_0x5ade65(0x4bf)](_0xb3e925,_0x2d70a9,this[_0x5ade65(0x453)],_0x2f56de,_0x277565,_0x12d876,_0x393022,_0x47f838);},'decryptBlock':function(_0x2b8396,_0x5f5876){const _0x1b6744=_0x322b6c;var _0x518b0f=_0x2b8396[_0x5f5876+0x1];_0x2b8396[_0x5f5876+0x1]=_0x2b8396[_0x5f5876+0x3],_0x2b8396[_0x5f5876+0x3]=_0x518b0f,this[_0x1b6744(0x4bf)](_0x2b8396,_0x5f5876,this[_0x1b6744(0x485)],_0x349617,_0x7eb8f1,_0x10510b,_0x2302a4,_0x3bc916);var _0x518b0f=_0x2b8396[_0x5f5876+0x1];_0x2b8396[_0x5f5876+0x1]=_0x2b8396[_0x5f5876+0x3],_0x2b8396[_0x5f5876+0x3]=_0x518b0f;},'_doCryptBlock':function(_0x46b0f0,_0x5703c9,_0x4dacc4,_0x1bf89f,_0x223ad3,_0x8b5cab,_0x4a643c,_0x333f29){const _0xde959e=_0x322b6c;for(var _0x3191af=this[_0xde959e(0x352)],_0x5458eb=_0x46b0f0[_0x5703c9]^_0x4dacc4[0x0],_0x252c54=_0x46b0f0[_0x5703c9+0x1]^_0x4dacc4[0x1],_0x389be3=_0x46b0f0[_0x5703c9+0x2]^_0x4dacc4[0x2],_0x307906=_0x46b0f0[_0x5703c9+0x3]^_0x4dacc4[0x3],_0x394d12=0x4,_0x512b68=0x1;_0x512b68<_0x3191af;_0x512b68++){var _0x27d1e4=_0x1bf89f[_0x5458eb>>>0x18]^_0x223ad3[_0x252c54>>>0x10&0xff]^_0x8b5cab[_0x389be3>>>0x8&0xff]^_0x4a643c[_0x307906&0xff]^_0x4dacc4[_0x394d12++],_0x49e696=_0x1bf89f[_0x252c54>>>0x18]^_0x223ad3[_0x389be3>>>0x10&0xff]^_0x8b5cab[_0x307906>>>0x8&0xff]^_0x4a643c[_0x5458eb&0xff]^_0x4dacc4[_0x394d12++],_0x5ab507=_0x1bf89f[_0x389be3>>>0x18]^_0x223ad3[_0x307906>>>0x10&0xff]^_0x8b5cab[_0x5458eb>>>0x8&0xff]^_0x4a643c[_0x252c54&0xff]^_0x4dacc4[_0x394d12++],_0x17eff1=_0x1bf89f[_0x307906>>>0x18]^_0x223ad3[_0x5458eb>>>0x10&0xff]^_0x8b5cab[_0x252c54>>>0x8&0xff]^_0x4a643c[_0x389be3&0xff]^_0x4dacc4[_0x394d12++];_0x5458eb=_0x27d1e4,_0x252c54=_0x49e696,_0x389be3=_0x5ab507,_0x307906=_0x17eff1;}var _0x27d1e4=(_0x333f29[_0x5458eb>>>0x18]<<0x18|_0x333f29[_0x252c54>>>0x10&0xff]<<0x10|_0x333f29[_0x389be3>>>0x8&0xff]<<0x8|_0x333f29[_0x307906&0xff])^_0x4dacc4[_0x394d12++],_0x49e696=(_0x333f29[_0x252c54>>>0x18]<<0x18|_0x333f29[_0x389be3>>>0x10&0xff]<<0x10|_0x333f29[_0x307906>>>0x8&0xff]<<0x8|_0x333f29[_0x5458eb&0xff])^_0x4dacc4[_0x394d12++],_0x5ab507=(_0x333f29[_0x389be3>>>0x18]<<0x18|_0x333f29[_0x307906>>>0x10&0xff]<<0x10|_0x333f29[_0x5458eb>>>0x8&0xff]<<0x8|_0x333f29[_0x252c54&0xff])^_0x4dacc4[_0x394d12++],_0x17eff1=(_0x333f29[_0x307906>>>0x18]<<0x18|_0x333f29[_0x5458eb>>>0x10&0xff]<<0x10|_0x333f29[_0x252c54>>>0x8&0xff]<<0x8|_0x333f29[_0x389be3&0xff])^_0x4dacc4[_0x394d12++];_0x46b0f0[_0x5703c9]=_0x27d1e4,_0x46b0f0[_0x5703c9+0x1]=_0x49e696,_0x46b0f0[_0x5703c9+0x2]=_0x5ab507,_0x46b0f0[_0x5703c9+0x3]=_0x17eff1;},'keySize':0x100/0x20});_0x513510['AES']=_0x589ecc['_createHelper'](_0x2a59a1);}()),_0x508857[_0xa94e2c(0x2ae)];}));}),_0x20d7b5=_0x2cf63e((_0x185438,_0x1f9e0f)=>{(function(_0x55ec9a,_0x1eb17a){const _0x15d23b=_0x46f9;typeof _0x185438==_0x15d23b(0x25b)?_0x1f9e0f[_0x15d23b(0x30f)]=_0x185438=_0x1eb17a(_0x11ffae()):typeof define=='function'&&define[_0x15d23b(0x434)]?define(['./core'],_0x1eb17a):_0x1eb17a(_0x55ec9a[_0x15d23b(0x512)]);}(_0x185438,function(_0x596af2){const _0x1fe0e7=_0x46f9;return _0x596af2[_0x1fe0e7(0x4f1)]['Utf8'];}));}),_0x444bb4=_0x2cf63e((_0x22635f,_0x106af6)=>{(function(_0x1d23cd,_0x5219b4){const _0x10ae8f=_0x46f9;typeof _0x22635f==_0x10ae8f(0x25b)?_0x106af6[_0x10ae8f(0x30f)]=_0x22635f=_0x5219b4(_0x11ffae()):typeof define==_0x10ae8f(0x24f)&&define[_0x10ae8f(0x434)]?define([_0x10ae8f(0x516)],_0x5219b4):_0x5219b4(_0x1d23cd['CryptoJS']);}(_0x22635f,function(_0x26a60a){const _0xd9507f=_0x46f9;return(function(){const _0x272e80=_0x46f9;if(typeof ArrayBuffer==_0x272e80(0x24f)){var _0x1f1555=_0x26a60a[_0x272e80(0x3d0)][_0x272e80(0x30c)],_0x4de73e=_0x1f1555[_0x272e80(0x44a)],_0x192e23=_0x1f1555[_0x272e80(0x44a)]=function(_0xde9a47){const _0x2a03f2=_0x272e80;if(_0xde9a47 instanceof ArrayBuffer&&(_0xde9a47=new Uint8Array(_0xde9a47)),(_0xde9a47 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xde9a47 instanceof Uint8ClampedArray||_0xde9a47 instanceof Int16Array||_0xde9a47 instanceof Uint16Array||_0xde9a47 instanceof Int32Array||_0xde9a47 instanceof Uint32Array||_0xde9a47 instanceof Float32Array||_0xde9a47 instanceof Float64Array)&&(_0xde9a47=new Uint8Array(_0xde9a47[_0x2a03f2(0x35c)],_0xde9a47[_0x2a03f2(0x478)],_0xde9a47[_0x2a03f2(0x47e)])),_0xde9a47 instanceof Uint8Array){for(var _0x4c0ee3=_0xde9a47[_0x2a03f2(0x47e)],_0x4afaef=[],_0x305380=0x0;_0x305380<_0x4c0ee3;_0x305380++)_0x4afaef[_0x305380>>>0x2]|=_0xde9a47[_0x305380]<<0x18-_0x305380%0x4*0x8;_0x4de73e[_0x2a03f2(0x527)](this,_0x4afaef,_0x4c0ee3);}else _0x4de73e[_0x2a03f2(0x480)](this,arguments);};_0x192e23[_0x272e80(0x2ca)]=_0x1f1555;}}()),_0x26a60a[_0xd9507f(0x3d0)][_0xd9507f(0x30c)];}));}),_0x18b6f0=_0x2cf63e((_0x441578,_0xb55f81)=>{(function(_0x601e4b,_0x365eb5,_0x2e423d){const _0x3b083b=_0x46f9;typeof _0x441578==_0x3b083b(0x25b)?_0xb55f81['exports']=_0x441578=_0x365eb5(_0x11ffae(),_0x4a1bd0()):typeof define==_0x3b083b(0x24f)&&define[_0x3b083b(0x434)]?define([_0x3b083b(0x516),_0x3b083b(0x55e)],_0x365eb5):_0x365eb5(_0x601e4b[_0x3b083b(0x512)]);}(_0x441578,function(_0x2ec8db){const _0x2bd874=_0x46f9;return _0x2ec8db[_0x2bd874(0x1f1)][_0x2bd874(0x2a9)]={'pad':function(){},'unpad':function(){}},_0x2ec8db[_0x2bd874(0x1f1)]['NoPadding'];}));}),_0x131011=_0x1f5b78(_0x236f3a()),_0x536fa3=_0x1f5b78(_0x37f83e()),_0x5cfefb=_0x1f5b78(_0x20d7b5()),_0x12dc49=_0x1f5b78(_0x444bb4()),_0x2373b6=_0x1f5b78(_0x18b6f0());function _0x57636e(_0x1517d8,_0x5e6b8c){const _0x29d5a9=_0xc00572;let _0x16985c=_0x5e6b8c-_0x1517d8[_0x29d5a9(0x477)]%_0x5e6b8c;return _0x1517d8+String[_0x29d5a9(0x2dd)](_0x16985c)[_0x29d5a9(0x301)](_0x16985c);}function _0x2c9d98(_0x355297,_0x2e0f4b){const _0x23a6ea=_0xc00572;let _0x4cde2d=_0x12dc49[_0x23a6ea(0x2b2)]['random'](0x10),_0x1bb41c=_0x57636e(_0x355297,0x10),_0x1e2bbf=_0x131011[_0x23a6ea(0x2b2)][_0x23a6ea(0x51b)](_0x5cfefb['default'][_0x23a6ea(0x4f6)](_0x1bb41c),_0x536fa3[_0x23a6ea(0x2b2)][_0x23a6ea(0x4f6)](_0x2e0f4b),{'iv':_0x4cde2d,'padding':_0x2373b6['default']});return _0x4cde2d[_0x23a6ea(0x266)](_0x1e2bbf[_0x23a6ea(0x4dd)])['toString'](_0x536fa3[_0x23a6ea(0x2b2)]);}function _0x5d67d1(){const _0x44becd=_0xc00572;let _0x3021a0=(0x0,_0x783550[_0x44becd(0x24c)])()[_0x44becd(0x3a1)];if(typeof window<'u'&&window[_0x44becd(0x351)]!==void 0x0&&_0x3021a0){let _0x1f7bbd={'time':Math[_0x44becd(0x359)](Date[_0x44becd(0x449)]()/0x3e8),'domain':location[_0x44becd(0x2d7)]};return _0x2c9d98(JSON[_0x44becd(0x2e2)](_0x1f7bbd),_0x3021a0);}}let _0x117094=class{constructor(_0x23531b){const _0x106c26=_0xc00572;this[_0x106c26(0x2ec)]=_0x23531b,this['_initRequestHeader']();}[_0xc00572(0x1e7)](){const _0x276c85=_0xc00572;this[_0x276c85(0x2ec)][_0x276c85(0x205)]({'interceptor':(_0x2f4a73,_0x328210)=>{const _0x42bf56=_0x276c85;let _0x4ab6ca=_0x2f4a73[_0x42bf56(0x29b)],_0x348569=_0x5d67d1();return _0x348569&&_0x4ab6ca['set']('x-univer-host',_0x348569),_0x328210(_0x2f4a73);}});}};_0x117094=_0x48fa36([_0x13590e(0x0,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x253ff9[_0xc00572(0x4c3)]))],_0x117094);let _0x410489=class extends _0x4dc57b['RxDisposable']{constructor(_0xe06bd4,_0x2612fb,_0x1a847d){const _0x6936bd=_0xc00572;super(),this['_logService']=_0xe06bd4,this['_snapshotService']=_0x2612fb,this[_0x6936bd(0x52b)]=_0x1a847d,_0x4c75f5(this,'_unitInfo$',new _0x4e24ba['BehaviorSubject'](null)),_0x4c75f5(this,_0x6936bd(0x224),this[_0x6936bd(0x319)][_0x6936bd(0x2b4)]());}async['loadUnitOfRevision'](_0x22b0ba,_0x4884c8,_0x129b98){const _0x489fa6=_0xc00572;this[_0x489fa6(0x319)][_0x489fa6(0x3c4)]({'unitId':_0x22b0ba,'type':_0x4884c8});let _0x18b35c=null;switch(_0x4884c8){case _0x2625e7['UNIVER_SHEET']:_0x18b35c=await this[_0x489fa6(0x373)][_0x489fa6(0x532)](_0x22b0ba,_0x129b98);break;case _0x2625e7['UNIVER_DOC']:_0x18b35c=await this[_0x489fa6(0x373)][_0x489fa6(0x27f)](_0x22b0ba,_0x129b98);break;default:this[_0x489fa6(0x2d8)][_0x489fa6(0x3ef)](_0x489fa6(0x42f),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}return _0x18b35c;}async['loadUnit'](_0x2ffa23,_0x1dbc99,_0x55fb78){const _0x377160=_0xc00572;var _0x3580a1;this[_0x377160(0x319)][_0x377160(0x3c4)]({'unitId':_0x2ffa23,'type':_0x1dbc99,'subUnitId':_0x55fb78});let _0x5c7968=0x0,_0x408e5d=await((_0x3580a1=this[_0x377160(0x52b)])==null?void 0x0:_0x3580a1[_0x377160(0x421)](_0x2ffa23));return _0x408e5d&&(_0x408e5d[_0x377160(0x20d)]||_0x408e5d[_0x377160(0x366)]['length']!==0x0)&&(_0x5c7968=_0x408e5d['rev']),_0x5c7968===0x0&&this[_0x377160(0x2d8)][_0x377160(0x463)]('[DataLoaderService]',_0x377160(0x2b1)),this['loadUnitOfRevision'](_0x2ffa23,_0x1dbc99,_0x5c7968);}};_0x410489=_0x48fa36([_0x13590e(0x0,_0x4dc57b[_0xc00572(0x4b5)]),_0x13590e(0x1,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xd2afbd[_0xc00572(0x575)])),_0x13590e(0x2,(0x0,_0x4dc57b[_0xc00572(0x3de)])(_0x54ea89))],_0x410489);let _0xd3050=[_0xc00572(0x242),'image/jpeg','image/jpg',_0xc00572(0x4d5),'image/bmp'],_0x34419a=class{constructor(_0x4b4200,_0x5b7f4a,_0x1e2a9a){const _0x19a3ed=_0xc00572;this[_0x19a3ed(0x2ec)]=_0x4b4200,this[_0x19a3ed(0x51f)]=_0x5b7f4a,this[_0x19a3ed(0x4f5)]=_0x1e2a9a,_0x4c75f5(this,_0x19a3ed(0x289),0x0),_0x4c75f5(this,_0x19a3ed(0x292),new _0x4e24ba['Subject']()),_0x4c75f5(this,'change$',this[_0x19a3ed(0x292)]),_0x4c75f5(this,_0x19a3ed(0x2ff),new Map());}[_0xc00572(0x252)](_0x1d7dfe){const _0x1b7417=_0xc00572;this[_0x1b7417(0x289)]=_0x1d7dfe,this[_0x1b7417(0x292)][_0x1b7417(0x3c4)](_0x1d7dfe);}[_0xc00572(0x57c)](_0x324103,_0x1bfa1c){const _0x245b9a=_0xc00572;if(_0x1bfa1c===_0x587013['ImageSourceType'][_0x245b9a(0x342)]){let _0xff90d7=new Image();return _0xff90d7[_0x245b9a(0x3fe)]=_0x324103,_0xff90d7;}return this[_0x245b9a(0x2ff)][_0x245b9a(0x270)](_0x324103);}[_0xc00572(0x3af)](_0x468049,_0x555d34,_0x16992c){const _0x397cc8=_0xc00572;_0x555d34===_0x587013[_0x397cc8(0x389)][_0x397cc8(0x342)]||_0x16992c==null||this[_0x397cc8(0x2ff)][_0x397cc8(0x37e)](_0x468049,_0x16992c);}async[_0xc00572(0x4e8)](_0x348c01){const _0x4b8a64=_0xc00572;try{let _0x31d4ec=this[_0x4b8a64(0x495)](this[_0x4b8a64(0x233)](),''+_0x348c01),_0x1472e2=(await this[_0x4b8a64(0x2ec)][_0x4b8a64(0x270)](_0x31d4ec))[_0x4b8a64(0x2f6)];if(_0x1472e2[_0x4b8a64(0x3ef)]&&_0x1472e2[_0x4b8a64(0x3ef)][_0x4b8a64(0x25c)]===_0x245119['OK']){let _0x866dff=(0x0,_0x4dc57b[_0x4b8a64(0x3a6)])(_0x1472e2[_0x4b8a64(0x410)],this[_0x4b8a64(0x49c)]());return Promise[_0x4b8a64(0x4fb)](_0x866dff);}return Promise[_0x4b8a64(0x313)](_0x1472e2[_0x4b8a64(0x3ef)]);}catch(_0x4cc082){return Promise[_0x4b8a64(0x313)](_0x4cc082);}}async['saveImage'](_0x174ead){const _0x3a7815=_0xc00572;let _0x40a532='';if(!_0xd3050['includes'](_0x174ead[_0x3a7815(0x398)]))return this[_0x3a7815(0x567)](),Promise[_0x3a7815(0x313)](Error(_0x587013[_0x3a7815(0x2c2)][_0x3a7815(0x42d)]));if(_0x174ead[_0x3a7815(0x4e2)]>0x500000)return this[_0x3a7815(0x567)](),Promise[_0x3a7815(0x313)](Error(_0x587013[_0x3a7815(0x2c2)][_0x3a7815(0x1dd)]));try{let _0x350427=new FormData();_0x350427[_0x3a7815(0x3e1)](_0x3a7815(0x37a),_0x174ead);let _0x55addd=this[_0x3a7815(0x4f5)][_0x3a7815(0x215)](),_0x10d82b=_0x55addd==null?void 0x0:_0x55addd[_0x3a7815(0x42c)]();if(!_0x10d82b)throw Error(_0x3a7815(0x2bc));let _0x3f12d3=this[_0x3a7815(0x386)]()+'?size='+_0x174ead[_0x3a7815(0x4e2)]['toString']()+_0x3a7815(0x333)+_0x384132[_0x3a7815(0x23a)]+_0x3a7815(0x253)+encodeURIComponent(_0x10d82b),_0x55a8f9={'body':_0x350427},_0x2cb309=(await this[_0x3a7815(0x2ec)][_0x3a7815(0x325)](_0x3f12d3,_0x55a8f9))[_0x3a7815(0x2f6)];if(typeof _0x2cb309['FileId']!=_0x3a7815(0x3da))return this[_0x3a7815(0x567)](),Promise[_0x3a7815(0x313)](Error(_0x587013[_0x3a7815(0x2c2)][_0x3a7815(0x2b6)]));_0x40a532=_0x2cb309[_0x3a7815(0x257)];}catch{return this['_decreaseWaiting'](),Promise[_0x3a7815(0x313)](Error(_0x587013[_0x3a7815(0x2c2)][_0x3a7815(0x2b6)]));}return new Promise((_0x21b02f,_0x326b29)=>{const _0x42922b=_0x3a7815;let _0x51eae4=new FileReader();_0x51eae4[_0x42922b(0x249)](_0x174ead),_0x51eae4[_0x42922b(0x322)]=_0x30da71=>{const _0x8dba3c=_0x42922b;var _0x49e8d4;let _0xb8a22e=(_0x49e8d4=_0x30da71[_0x8dba3c(0x3d6)])==null?void 0x0:_0x49e8d4[_0x8dba3c(0x25e)];if(_0xb8a22e==null){this[_0x8dba3c(0x567)](),_0x326b29(Error(_0x587013[_0x8dba3c(0x2c2)][_0x8dba3c(0x2b6)]));return;}_0x21b02f({'imageId':(0x0,_0x4dc57b[_0x8dba3c(0x38b)])(0x6),'imageSourceType':_0x587013[_0x8dba3c(0x389)][_0x8dba3c(0x424)],'source':_0x40a532,'base64Cache':_0xb8a22e,'status':_0x587013[_0x8dba3c(0x2c2)]['SUCCUSS']}),this[_0x8dba3c(0x567)]();};});}[_0xc00572(0x386)](){const _0x55bdb5=_0xc00572;var _0x6fe8dc;let _0xf6e560=this[_0x55bdb5(0x51f)][_0x55bdb5(0x466)](_0x20b31b);return(_0x6fe8dc=_0xf6e560==null?void 0x0:_0xf6e560[_0x55bdb5(0x287)])==null?_0x55bdb5(0x569):_0x6fe8dc;}['_getSignURL'](){const _0x468a52=_0xc00572;var _0x3dc3ca;let _0x5936e2=this['_configService'][_0x468a52(0x466)](_0x20b31b);return(_0x3dc3ca=_0x5936e2==null?void 0x0:_0x5936e2[_0x468a52(0x3ec)])==null?_0x468a52(0x525):_0x3dc3ca;}[_0xc00572(0x49c)](){const _0x1dd6b5=_0xc00572;var _0x134540;let _0x2fcca8=this[_0x1dd6b5(0x51f)]['getConfig'](_0x20b31b);return(_0x134540=_0x2fcca8==null?void 0x0:_0x2fcca8[_0x1dd6b5(0x220)])==null?location[_0x1dd6b5(0x372)]:_0x134540;}[_0xc00572(0x495)](_0x36c67d,_0x39cf8d){const _0x5b4538=_0xc00572;return _0x36c67d[_0x5b4538(0x240)](_0x5b4538(0x579),_0x39cf8d);}[_0xc00572(0x567)](){const _0x5d3c9f=_0xc00572;--this[_0x5d3c9f(0x289)],this['_change$']['next'](this[_0x5d3c9f(0x289)]);}};_0x34419a=_0x48fa36([_0x13590e(0x0,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x253ff9[_0xc00572(0x4c3)])),_0x13590e(0x1,_0x4dc57b[_0xc00572(0x3d5)]),_0x13590e(0x2,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x4dc57b['IUniverInstanceService']))],_0x34419a);let _0x60ed5=class{constructor(_0x2dd8fa,_0x2b58b3){const _0x11607e=_0xc00572;this['_configService']=_0x2dd8fa,this[_0x11607e(0x1fc)]=_0x2b58b3;}['_getAPIPrefixPath'](){const _0x4c8917=_0xc00572;var _0x21b902;let _0x2b097d=this[_0x4c8917(0x51f)][_0x4c8917(0x466)](_0x20b31b);return(_0x21b902=_0x2b097d==null?void 0x0:_0x2b097d['authzUrl'])==null?_0x4c8917(0x2d0):_0x21b902;}async[_0xc00572(0x3b0)](_0x3f3dce){const _0x395c8e=_0xc00572;let _0x6b5d5a=this[_0x395c8e(0x4f2)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x395c8e(0x1fc)][_0x395c8e(0x270)](_0x6b5d5a,{'params':{'objectID':_0x3f3dce[_0x395c8e(0x3d7)],'unitID':_0x3f3dce[_0x395c8e(0x3d7)]}}))[_0x395c8e(0x2f6)]['collaborators']['map'](_0x3b1af4=>({'objectId':_0x3b1af4['id'],'name':_0x3b1af4[_0x395c8e(0x371)][_0x395c8e(0x347)],'metadata':{'icon':_0x3b1af4['subject'][_0x395c8e(0x403)]},'label':_0x3b1af4[_0x395c8e(0x371)][_0x395c8e(0x347)],'objectType':_0x4dc57b[_0x395c8e(0x474)]['PERSON']})),'metadata':{},'type':_0x4dc57b[_0x395c8e(0x474)][_0x395c8e(0x20a)]}]};}};_0x60ed5=_0x48fa36([_0x13590e(0x0,(0x0,_0x4dc57b['Inject'])(_0x4dc57b['IConfigService'])),_0x13590e(0x1,(0x0,_0x4dc57b['Inject'])(_0x253ff9['HTTPService']))],_0x60ed5);let _0x3cdf6c=class extends _0x4dc57b['RxDisposable']{constructor(_0xc4236c,_0x4466f4,_0x5ecffa,_0x398584,_0x39ce28){const _0x7d991a=_0xc00572;super(),this[_0x7d991a(0x2ad)]=_0xc4236c,this[_0x7d991a(0x4f5)]=_0x4466f4,this[_0x7d991a(0x246)]=_0x5ecffa,this[_0x7d991a(0x2d2)]=_0x398584,this[_0x7d991a(0x3ac)]=_0x39ce28,this[_0x7d991a(0x3e2)](),this[_0x7d991a(0x397)]();}[_0xc00572(0x397)](){const _0x26a65d=_0xc00572;let _0x1b0453=async _0x3922ce=>{const _0x4d1181=_0x46f9;(await this[_0x4d1181(0x2d2)]['requireSession'](_0x3922ce))['event$']['pipe']((0x0,_0x1d5f23['filter'])(_0x5ebbe4=>_0x5ebbe4['eventID']===_0xd2afbd[_0x4d1181(0x392)][_0x4d1181(0x336)]),(0x0,_0x1d5f23['takeUntil'])(this['dispose$']))['subscribe'](_0x401e91=>{const _0x2b124e=_0x4d1181;let {reason:_0x17c566}=_0x401e91['data'];this['_collaborationUIEventService'][_0x2b124e(0x3e4)]({'id':_0x280b0a[_0x2b124e(0x471)],'data':_0x17c566}),this[_0x2b124e(0x246)][_0x2b124e(0x2c1)](new _0x4a7d96[(_0x2b124e(0x362))](_0x3922ce)['id'],!0x1),this[_0x2b124e(0x2d2)][_0x2b124e(0x580)](_0x3922ce);});};(0x0,_0x4e24ba[_0x26a65d(0x3a0)])(this[_0x26a65d(0x4f5)][_0x26a65d(0x326)](_0x4dc57b[_0x26a65d(0x4e9)][_0x26a65d(0x35b)]),this[_0x26a65d(0x4f5)]['getTypeOfUnitAdded$'](_0x4dc57b[_0x26a65d(0x4e9)][_0x26a65d(0x338)]))[_0x26a65d(0x48e)]((0x0,_0x1d5f23[_0x26a65d(0x42e)])(_0x2f416f=>_0x2f416f[_0x26a65d(0x42c)]()),(0x0,_0x1d5f23[_0x26a65d(0x385)])(_0x3226ee=>!(0x0,_0x4dc57b['isInternalEditorID'])(_0x3226ee)),(0x0,_0x1d5f23[_0x26a65d(0x515)])(this[_0x26a65d(0x450)]))['subscribe'](_0x131860=>{_0x1b0453(_0x131860);});}[_0xc00572(0x3e2)](){const _0x45d935=_0xc00572;let _0x19c5b6=async _0x7d464b=>{const _0x28c05d=_0x46f9;let _0x59e64a=await this[_0x28c05d(0x2d2)]['requireSession'](_0x7d464b),_0x503973=this['_injector'][_0x28c05d(0x270)](_0x4a7d96['SheetPermissionInitController']);_0x59e64a['event$']['pipe']((0x0,_0x1d5f23[_0x28c05d(0x385)])(_0x132a87=>_0x132a87['eventID']===_0xd2afbd[_0x28c05d(0x392)][_0x28c05d(0x2de)]),(0x0,_0x1d5f23[_0x28c05d(0x515)])(this[_0x28c05d(0x450)]))['subscribe'](_0x33d15f=>{const _0x2611f4=_0x28c05d;let {objectId:_0x37a5b3}=_0x33d15f[_0x2611f4(0x21a)];_0x37a5b3===_0x7d464b?_0x503973[_0x2611f4(0x2ab)](_0x7d464b):_0x503973[_0x2611f4(0x3f5)](_0x7d464b,_0x37a5b3);});};(0x0,_0x4e24ba['merge'])(this[_0x45d935(0x4f5)][_0x45d935(0x326)](_0x4dc57b[_0x45d935(0x4e9)][_0x45d935(0x35b)]))[_0x45d935(0x48e)]((0x0,_0x1d5f23[_0x45d935(0x42e)])(_0x28b89f=>_0x28b89f[_0x45d935(0x42c)]()),(0x0,_0x1d5f23[_0x45d935(0x385)])(_0x16a61e=>!(0x0,_0x4dc57b[_0x45d935(0x262)])(_0x16a61e)),(0x0,_0x1d5f23[_0x45d935(0x515)])(this[_0x45d935(0x450)]))[_0x45d935(0x50c)](_0x596212=>{_0x19c5b6(_0x596212);});}};_0x3cdf6c=_0x48fa36([_0x13590e(0x0,(0x0,_0x4dc57b['Inject'])(_0x4dc57b[_0xc00572(0x3b2)])),_0x13590e(0x1,_0x4dc57b[_0xc00572(0x38c)]),_0x13590e(0x2,_0x4dc57b['IPermissionService']),_0x13590e(0x3,(0x0,_0x4dc57b['Inject'])(_0xfc2e5e)),_0x13590e(0x4,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0xb13f4e))],_0x3cdf6c);let _0x19da27=class{constructor(_0x267108,_0x48cebc){const _0x278e0d=_0xc00572;this[_0x278e0d(0x51f)]=_0x267108,this[_0x278e0d(0x2ec)]=_0x48cebc;}async['getUnitOnRev'](_0x242964,_0x400efc){const _0x5d53e1=_0xc00572;var _0x667f84;let {unitID:_0x506786,type:_0x1b50fa,revision:_0x5159be=0x0}=_0x400efc,_0x556bff=this[_0x5d53e1(0x4f4)]()+'/'+_0x1b50fa+_0x5d53e1(0x377)+_0x506786+_0x5d53e1(0x275)+_0x5159be,_0x1f83d4=(await this['_httpService'][_0x5d53e1(0x270)](_0x556bff))[_0x5d53e1(0x2f6)],_0x598475=(_0x667f84=_0x1f83d4[_0x5d53e1(0x2f9)])==null?void 0x0:_0x667f84[_0x5d53e1(0x1fe)];if(_0x598475){let _0x4f6252=_0x598475==null?void 0x0:_0x598475['originalMeta'];_0x598475[_0x5d53e1(0x4e4)]=_0xd2afbd[_0x5d53e1(0x454)][_0x5d53e1(0x3c8)]((0x0,_0xd2afbd[_0x5d53e1(0x238)])(_0x4f6252)),Object[_0x5d53e1(0x554)](_0x598475[_0x5d53e1(0x4c0)])[_0x5d53e1(0x4f7)](([,_0x5495ef])=>{const _0x578629=_0x5d53e1;let _0x3d77ef=_0x5495ef[_0x578629(0x4e4)];_0x5495ef[_0x578629(0x4e4)]=_0xd2afbd[_0x578629(0x454)][_0x578629(0x3c8)]((0x0,_0xd2afbd[_0x578629(0x238)])(_0x3d77ef));});}return _0x1f83d4;}async[_0xc00572(0x467)](_0x289a22,_0x1d1df1){const _0x45cd40=_0xc00572;let {unitID:_0x19b56c,type:_0x20eb91,blockID:_0x2442b7}=_0x1d1df1,_0x2f2be1=this[_0x45cd40(0x2af)]()+'/'+_0x20eb91+_0x45cd40(0x377)+_0x19b56c+'/block/'+_0x2442b7;return(await this[_0x45cd40(0x2ec)][_0x45cd40(0x270)](_0x2f2be1))[_0x45cd40(0x2f6)];}async[_0xc00572(0x2ed)](_0x5a5c4a,_0x37daeb){const _0x107ad1=_0xc00572;let {unitID:_0x1c77e3,type:_0xe47d25,blockID:_0x2e0021}=_0x37daeb,_0x55e151=this[_0x107ad1(0x2af)]()+_0x107ad1(0x2b8)+_0xe47d25+_0x107ad1(0x377)+_0x1c77e3+_0x107ad1(0x2b8)+_0x2e0021;return(await this[_0x107ad1(0x2ec)][_0x107ad1(0x270)](_0x55e151))['body'];}async['fetchMissingChangesets'](_0x4cce9f,_0x44d2ab){const _0x133225=_0xc00572;let {unitID:_0x58f206,type:_0x4d29e5,from:_0x2522da,to:_0x4fcc63}=_0x44d2ab,_0x364c37=this['_getAPIPrefix']()+'/'+_0x4d29e5+_0x133225(0x377)+_0x58f206+_0x133225(0x56d)+_0x2522da+_0x133225(0x261)+_0x4fcc63;return(await this[_0x133225(0x2ec)][_0x133225(0x270)](_0x364c37))[_0x133225(0x2f6)];}[_0xc00572(0x4f4)](){const _0xb31aa7=_0xc00572;var _0x357c15;return(_0x357c15=this[_0xb31aa7(0x51f)][_0xb31aa7(0x466)]('SNAPSHOT_URL_KEY'))==null?this[_0xb31aa7(0x2af)]():_0x357c15;}[_0xc00572(0x2af)](){const _0xbb50d5=_0xc00572;var _0x4fef5b;let _0x592737=this[_0xbb50d5(0x51f)]['getConfig'](_0x20b31b);return(_0x4fef5b=_0x592737==null?void 0x0:_0x592737['snapshotServerUrl'])==null?'/universer-api/snapshot':_0x4fef5b;}async[_0xc00572(0x33f)](_0x16064f,_0xe3cb78){const _0x3f4d4d=_0xc00572;let _0x56fcae='/universer-api/snapshot/'+_0xe3cb78[_0x3f4d4d(0x398)]+'/unit/'+_0xe3cb78['unitID']+'/resources';return(await this['_httpService'][_0x3f4d4d(0x270)](_0x56fcae,{'params':{'resourceId':JSON[_0x3f4d4d(0x2e2)](_0xe3cb78[_0x3f4d4d(0x548)])}}))[_0x3f4d4d(0x2f6)];}[_0xc00572(0x381)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xc00572(0x3a9)](){const _0x16f5b0=_0xc00572;throw Error(_0x16f5b0(0x413));}[_0xc00572(0x436)](){const _0xa06901=_0xc00572;throw Error(_0xa06901(0x413));}['saveChangeset'](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xc00572(0x41d)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xc00572(0x288)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};_0x19da27=_0x48fa36([_0x13590e(0x0,_0x4dc57b[_0xc00572(0x3d5)]),_0x13590e(0x1,(0x0,_0x4dc57b[_0xc00572(0x298)])(_0x253ff9[_0xc00572(0x4c3)]))],_0x19da27);let _0x537fdc=class extends _0x4dc57b[_0xc00572(0x577)]{constructor(_0x1c558c,_0x291451,_0x5cc040,_0xb1d5a3,_0x5738ff){const _0x53c988=_0xc00572;super(_0x1c558c,_0x291451,_0x5cc040),this[_0x53c988(0x311)]=_0xb1d5a3,this[_0x53c988(0x2d8)]=_0x5738ff;}[_0xc00572(0x470)](_0x540405,_0x13cdd8){const _0x394e32=_0xc00572;let _0x4a92a0=this[_0x394e32(0x21c)](_0x540405);if(_0x4a92a0)try{let _0x37b553=this[_0x394e32(0x31e)](_0x4a92a0,_0x13cdd8);this['_substituteUndoStack'](_0x540405,_0x37b553);}catch(_0xdf5696){this[_0x394e32(0x2d8)][_0x394e32(0x3ef)](_0x394e32(0x348),_0xdf5696),this[_0x394e32(0x526)](_0x540405);}let _0x5e40de=this['_getRedoStack'](_0x540405);if(_0x5e40de)try{let _0x2443cd=this[_0x394e32(0x31e)](_0x5e40de,_0x13cdd8);this[_0x394e32(0x51a)](_0x540405,_0x2443cd);}catch(_0x3e1d15){this[_0x394e32(0x2d8)][_0x394e32(0x3ef)](_0x3e1d15),this['_clearRedo'](_0x540405);}}[_0xc00572(0x526)](_0xc70ed0){const _0x1e45a1=_0xc00572;let _0x2e964d=this[_0x1e45a1(0x21c)](_0xc70ed0);_0x2e964d&&(_0x2e964d[_0x1e45a1(0x477)]=0x0,this[_0x1e45a1(0x2e0)]());}[_0xc00572(0x210)](_0xd40ec9){const _0x4eda2d=_0xc00572;let _0x3a4504=this[_0x4eda2d(0x408)](_0xd40ec9);_0x3a4504&&(_0x3a4504[_0x4eda2d(0x477)]=0x0,this[_0x4eda2d(0x2e0)]());}[_0xc00572(0x26e)](_0x4e6fd6,_0x224f6e){const _0xaf73f2=_0xc00572;this[_0xaf73f2(0x52c)]['set'](_0x4e6fd6,_0x224f6e),this['_updateStatus']();}[_0xc00572(0x51a)](_0x1bcef9,_0x3f9bff){const _0x2c6a4a=_0xc00572;this[_0x2c6a4a(0x3c1)][_0x2c6a4a(0x37e)](_0x1bcef9,_0x3f9bff),this[_0x2c6a4a(0x2e0)]();}[_0xc00572(0x31e)](_0x269b46,_0x45420b){const _0x927a93=_0xc00572;let _0x1a1700=[],_0x1fb78e=_0x45420b,_0x21bead=_0x45420b;for(let _0x2a6fa7=_0x269b46[_0x927a93(0x477)]-0x1;_0x2a6fa7>=0x0;_0x2a6fa7--){let {unitID:_0x486748,undoMutations:_0x35ba17,redoMutations:_0x57292e}=_0x269b46[_0x2a6fa7],_0xc7faf4=this[_0x927a93(0x311)][_0x927a93(0x276)](_0x1fb78e,_0x35ba17),_0x9abf29=this['_transformService'][_0x927a93(0x276)](_0x21bead,_0x57292e);if((0x0,_0xd2afbd[_0x927a93(0x4d6)])(_0xc7faf4)||(0x0,_0xd2afbd[_0x927a93(0x4d6)])(_0x9abf29)){this['_logService'][_0x927a93(0x3ef)](_0x927a93(0x348),_0x927a93(0x3f0),_0xc7faf4,_0x9abf29);break;}_0x1fb78e=_0xc7faf4['c1Prime'],_0x21bead=_0x9abf29[_0x927a93(0x44f)],_0x1a1700[_0x927a93(0x1ef)]({'unitID':_0x486748,'undoMutations':_0xc7faf4[_0x927a93(0x218)],'redoMutations':_0x9abf29[_0x927a93(0x218)]});}return _0x1a1700['reverse']();}};_0x537fdc=_0x48fa36([_0x13590e(0x0,_0x4dc57b[_0xc00572(0x38c)]),_0x13590e(0x1,_0x4dc57b[_0xc00572(0x245)]),_0x13590e(0x2,_0x4dc57b['IContextService']),_0x13590e(0x3,_0xd2afbd[_0xc00572(0x4ef)]),_0x13590e(0x4,_0x4dc57b[_0xc00572(0x4b5)])],_0x537fdc);let _0x563fb6=class extends _0x4dc57b[_0xc00572(0x30e)]{constructor(_0x3a7d7e={},_0x24b707,_0x4cc5ee,_0x373ba2){const _0x97482e=_0xc00572;super(),this[_0x97482e(0x38f)]=_0x3a7d7e,this['_logService']=_0x24b707,this['_injector']=_0x4cc5ee,this[_0x97482e(0x51f)]=_0x373ba2;let {..._0x301df6}=(0x0,_0x4dc57b['merge'])({},_0x492c19,_0x3a7d7e);if(!_0x301df6[_0x97482e(0x3e8)])throw Error(_0x97482e(0x22f));this[_0x97482e(0x38f)]=_0x301df6,this[_0x97482e(0x51f)]['setConfig'](_0x20b31b,_0x301df6);}[_0xc00572(0x393)](){const _0x386749=_0xc00572;this[_0x386749(0x39a)](),this[_0x386749(0x312)]();}[_0xc00572(0x39a)](){const _0x50910b=_0xc00572;var _0x4d19a9,_0x2cc6c9;this['_injector']['has'](_0x4dc57b[_0x50910b(0x41b)])&&this[_0x50910b(0x2d8)][_0x50910b(0x3ef)](_0x50910b(0x57a),_0x50910b(0x2bf));let _0x598867=(0x0,_0x4dc57b[_0x50910b(0x4ad)])([[_0x4dc57b[_0x50910b(0x41b)],{'useClass':_0x537fdc}],[_0xfc2e5e],[_0x1e1888],[_0x4f212c],[_0xaba02e],[_0x117094],[_0x1a8dd1],[_0x3cdf6c],[_0xb13f4e],[_0x410489],[_0x317caa,{'useClass':this[_0x50910b(0x38f)]['socketService']}],[_0xd2afbd[_0x50910b(0x201)],{'useClass':_0x19da27}],[_0x4dc57b['IAuthzIoService'],{'useClass':_0x8e4bd4}],[_0x587013[_0x50910b(0x51c)],{'useClass':_0x34419a}],[_0x4dc57b[_0x50910b(0x28f)],{'useClass':_0x60ed5}],[_0x227fa3],[_0x5da8a5]],(_0x4d19a9=this[_0x50910b(0x38f)])==null?void 0x0:_0x4d19a9['override']);if(!((_0x2cc6c9=this[_0x50910b(0x38f)])!=null&&_0x2cc6c9[_0x50910b(0x222)])){let _0x53b800=_0x598867[_0x50910b(0x27c)](([_0x1d4da0])=>_0x1d4da0===_0x5d1059);_0x53b800!==-0x1&&_0x598867[_0x50910b(0x369)](_0x53b800,0x1);}(0x0,_0x4dc57b[_0x50910b(0x213)])(this[_0x50910b(0x2ad)],_0x598867);}['_initDependencies'](){const _0x486993=_0xc00572;var _0x3cb852,_0x2335b5;if(this[_0x486993(0x2ad)]['get'](_0x253ff9['HTTPService'])[_0x486993(0x205)]({'priority':0x14,'interceptor':(0x0,_0x253ff9[_0x486993(0x529)])({'maxParallel':0x6})}),!((_0x3cb852=this['_config'])!=null&&_0x3cb852['enableOfflineEditing'])){var _0x3edd8e;(_0x3edd8e=this[_0x486993(0x2ad)][_0x486993(0x270)](_0x54ea89,_0x4dc57b[_0x486993(0x558)][_0x486993(0x3cd)]))==null||_0x3edd8e['disableLocalCache']();}(_0x2335b5=this['_config'])!=null&&_0x2335b5[_0x486993(0x1ee)]&&(0x0,_0x4dc57b[_0x486993(0x475)])(this[_0x486993(0x2ad)],[[_0xaba02e]]),(0x0,_0x4dc57b[_0x486993(0x475)])(this[_0x486993(0x2ad)],[[_0x117094],[_0x227fa3],[_0x3cdf6c]]);}};_0x4c75f5(_0x563fb6,_0xc00572(0x34b),'UNIVER_COLLABORATION_CLIENT_PLUGIN'),_0x4c75f5(_0x563fb6,_0xc00572(0x396),_0x3a1d03),_0x4c75f5(_0x563fb6,_0xc00572(0x3c7),_0x182c67),_0x563fb6=_0x48fa36([(0x0,_0x4dc57b[_0xc00572(0x3e7)])(_0x783550[_0xc00572(0x306)],_0xd2afbd['UniverCollaborationPlugin'],_0x253ff9[_0xc00572(0x3fa)]),_0x13590e(0x1,_0x4dc57b[_0xc00572(0x4b5)]),_0x13590e(0x2,(0x0,_0x4dc57b['Inject'])(_0x4dc57b['Injector'])),_0x13590e(0x3,_0x4dc57b[_0xc00572(0x3d5)])],_0x563fb6),Object['defineProperty'](_0x58998e,'AuthzIoHttpService',{'enumerable':!0x0,'get':function(){return _0x8e4bd4;}}),Object[_0xc00572(0x50f)](_0x58998e,'AwaitingState',{'enumerable':!0x0,'get':function(){return _0x329c84;}}),Object[_0xc00572(0x50f)](_0x58998e,_0xc00572(0x36d),{'enumerable':!0x0,'get':function(){return _0x17bc24;}}),_0x58998e[_0xc00572(0x26f)]=_0x20b31b,Object[_0xc00572(0x50f)](_0x58998e,_0xc00572(0x3ab),{'enumerable':!0x0,'get':function(){return _0x227fa3;}}),Object['defineProperty'](_0x58998e,_0xc00572(0x4b6),{'enumerable':!0x0,'get':function(){return _0x4044e2;}}),Object['defineProperty'](_0x58998e,_0xc00572(0x2fb),{'enumerable':!0x0,'get':function(){return _0x34419a;}}),Object['defineProperty'](_0x58998e,_0xc00572(0x38a),{'enumerable':!0x0,'get':function(){return _0x6db918;}}),Object[_0xc00572(0x50f)](_0x58998e,_0xc00572(0x4ac),{'enumerable':!0x0,'get':function(){return _0xfc2e5e;}}),Object['defineProperty'](_0x58998e,'CollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x3e53fe;}}),_0x58998e[_0xc00572(0x3e9)]=_0x525af4,_0x58998e['CollaborationUIEventId']=_0x280b0a,_0x58998e['CollaborationUIEventService']=_0xb13f4e,Object[_0xc00572(0x50f)](_0x58998e,_0xc00572(0x2fd),{'enumerable':!0x0,'get':function(){return _0x537fdc;}}),_0x58998e[_0xc00572(0x4d2)]=_0x1a8dd1,Object[_0xc00572(0x50f)](_0x58998e,_0xc00572(0x3ca),{'enumerable':!0x0,'get':function(){return _0x70b43c;}}),_0x58998e['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x5395b7,_0x58998e['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0xc00572(0x55a),_0x58998e[_0xc00572(0x4de)]='/universer-api/user/session-ticket',Object[_0xc00572(0x50f)](_0x58998e,_0xc00572(0x468),{'enumerable':!0x0,'get':function(){return _0x410489;}}),Object[_0xc00572(0x50f)](_0x58998e,_0xc00572(0x27e),{'enumerable':!0x0,'get':function(){return _0x2a2e2f;}}),Object[_0xc00572(0x50f)](_0x58998e,'FetchingMissState',{'enumerable':!0x0,'get':function(){return _0x3bd0;}}),_0x58998e['HEARTBEAT_INTERVAL_KEY']='HEARTBEAT_INTERVAL',_0x58998e[_0xc00572(0x2c9)]=_0xc00572(0x1f2),_0x58998e[_0xc00572(0x57f)]=_0x317caa,_0x58998e[_0xc00572(0x3a3)]=_0x54ea89,_0x58998e[_0xc00572(0x483)]=_0x2470b9,_0x58998e[_0xc00572(0x420)]=_0x5d1059,_0x58998e[_0xc00572(0x2dc)]=0x3e8,_0x58998e[_0xc00572(0x26b)]=_0xc00572(0x2dc),Object['defineProperty'](_0x58998e,_0xc00572(0x32d),{'enumerable':!0x0,'get':function(){return _0x1e1888;}}),Object[_0xc00572(0x50f)](_0x58998e,_0xc00572(0x4d8),{'enumerable':!0x0,'get':function(){return _0x60ed5;}}),Object[_0xc00572(0x50f)](_0x58998e,_0xc00572(0x32e),{'enumerable':!0x0,'get':function(){return _0x422a2f;}}),Object[_0xc00572(0x50f)](_0x58998e,'PendingState',{'enumerable':!0x0,'get':function(){return _0x2e0289;}}),_0x58998e[_0xc00572(0x2ce)]='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x58998e[_0xc00572(0x4e6)]=_0xc00572(0x36a),_0x58998e['SessionStatus']=_0xc023a9,Object['defineProperty'](_0x58998e,_0xc00572(0x20c),{'enumerable':!0x0,'get':function(){return _0x29d683;}}),Object['defineProperty'](_0x58998e,'SheetTransformSelectionsService',{'enumerable':!0x0,'get':function(){return _0x4f212c;}}),Object[_0xc00572(0x50f)](_0x58998e,'SnapshotServerOverHTTPService',{'enumerable':!0x0,'get':function(){return _0x19da27;}}),Object[_0xc00572(0x50f)](_0x58998e,'SyncedState',{'enumerable':!0x0,'get':function(){return _0x2ea961;}}),_0x58998e[_0xc00572(0x2eb)]=_0x12ab8e,Object['defineProperty'](_0x58998e,_0xc00572(0x35e),{'enumerable':!0x0,'get':function(){return _0x563fb6;}}),_0x58998e[_0xc00572(0x355)]=_0x3c3bd9,_0x58998e[_0xc00572(0x542)]=_0x43b392,_0x58998e['serializeCombRequest']=_0x3ca030;}));function _0x46f9(_0x276c3e,_0x12f455){_0x276c3e=_0x276c3e-0x1db;const _0x502f9d=_0x502f();let _0x46f96f=_0x502f9d[_0x276c3e];return _0x46f96f;}function _0x502f(){const _0x40a4f2=['UNRECOGNIZED','debug','_replayCachedMutations','actions','getConfig','getSheetBlock','DataLoaderService','msCrypto','UniverNetwork','@univerjs/sheets','USER_NOT_INVITED_CODE','_updateLocalCache','clamp','isTransformMutationsWithChangesetSuccess','transformUndoRedo','CLOSE_ROOM','PY_RUNTIME_SCRIPT_ERROR','eventID','MentionType','touchDependencies','COMPRESS_MUTATION_APPLY','length','byteOffset','_disableEditing','close$','_ENC_XFORM_MODE','_resendWithTimeout','shouldCloseConn','byteLength','delete','apply','iterations','CHANGESET_REJ','INetworkConditionService','CURRENT_STATUS_CANNOT_OPERATE','_invKeySchedule','putCollaborators','params','_mode','INGEST','_clearCollaborationTimeoutTimer','blockSize','_handler','find','pipe','[CollaborationEntity]','CHANGESET_REVISION_CONFILICT','_prevBlock','772323zaoeyd','LIVESHARE_OPERATION','toStringTag','_replaceFileID','ceil','APPLY_NON_SEQUENTIAL_REVISION','create','Subject','sigBytes','_startTelemetryCollaborationNewChangeset','_getDownloadEndpointURL','_nDataBytes','transformSelections','reqId','ClipsheetFragments','objectActions','LICENSE_IMPORT_SIZE_EXCEEDED','getCurrentRevOfUnit','min','YUUMI_SUBSCRIPTION_NOT_FOUND','has','LICENSE_DISTRO_REJECTED','deleteCollaborator','_revisionService','onRemoteChangeset','_resendTimeout','CollaborationSessionService','mergeOverrideWithDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_HAS_BEEN_REMOVED','sequenceExecute','telemetry\x20info\x20is\x20not\x20initialized','_snapshotServerService','COMMENT_UPDATE','./sha1','ILogService','CollaborationEntity','APPLY_PERMISSION_DENIED','_shouldReportTelemetry','_changesetReqId','AWAITING','pauseCollaboration','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','./evpkdf','_resendTimer','_doCryptBlock','sheets','batchAllowed','getMember','HTTPService','_socket$','_map','_createInitialStateImpl','UNDEFINED','SetSelectionsOperation','_compressMutationService','sessionStatus','_changesetSessionId','IDLE','reconnect','createSocket','RevisionService','_checkMissing','cmd','CommentService','ITelemetryService','execute','image/gif','isTransformMutationsWithChangesetFailure','_oKey','MentionIoHttpService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','removeMember','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','close','ciphertext','DEFAULT_WS_SESSION_TICKET_URL','_createHelper','commentUpdate$','CHANGESET_SHOULD_RETRY','size','unit-cache-','originalMeta','crypto','RETRY_CONNECTING_MAX_COUNT_KEY','_cipher','getImage','UniverInstanceType','NEW_CHANGESETS','ENTITLE_USE_COUPON_NOT_1ST_TRADE','startTime','BlockCipher','MUTATION','ITransformService','_type','enc','_getAPIPrefixPath','/universer-api/comb','getSnapshotAPIPath','_univerInstanceService','parse','forEach','conflict','INVITE_CODE_REQUIRED','Utf8','resolve','UniverCore','_sendHeartbeatTimer','save\x20fail\x20reason\x20is\x20','_sessions','slice','HMAC','REDEMPTION_CODE_FULLY_REDEEMED','RichTextEditingMutation','_fetchMissChangesets','collaboration_new_changeset','fetchMiss','./hmac','_entityInit$','status$','_onRemoteChangeset','_retryConnectingTimer','subscribe','INVITE_CODE_HAS_BEEN_UES','parseProtocolChangeset','defineProperty','HmacSHA1','_members$','CryptoJS','processBlock','_reverseMap','takeUntil','./core','SUBMIT_CHANGESET','csRejEvent','getInterceptPoints','_substituteRedoStack','encrypt','IImageIoService','5136318KSdrxL','FETCH_MISS','_configService','isTransformChangesetsSuccess','session','_minBufferSize','getSheetId','_parse','/universer-api/file/{fileID}/sign-url','_clearUndo','call','_handlerCallback','ThresholdInterceptorFactory','BehaviorSubject','_localCacheService','_undoStacks','YUUMI_ASYNCIO_CANCELLED','liveShareOperation','_networkConditionService','_candidateSocket','HTTPRequest','loadSheet','substr','collaMsg','_key','JOIN_ROOM_PERMISSION_DENIED','reset','_maxTotalRetryTimeout','constructor','newCsEvent','_remoteChangesetQueue','ISocketService','_acknowledgedAwaitingChangeset','PAYMENT_CHANNEL_NOT_SUPPORT','INVITE_CODE_ALREADY_BOUND','[SyncedState]:\x20received\x20rejection.','fromCollab','getLocalCacheKey','max','PERMISSION_DENIED','_createHmacHelper','Module','_iv','resourceIDs','SHA1','WECHAT_HAS_BEEN_BOUND','_exhaustRemoteChangesetQueue','INVALID_ARGUMENT','range','_transitionLocked','5706iMgcgc','./enc-base64','CompressMutationService','Cipher','incrementRevOfUnit','entries','UNIVER_SLIDE','duration','_onJoinRoomEvent','Quantity','rxjs','/universer-api/uniscript','csAckEvent','_telemetryInfo','CONNECTOR_DATA_TOO_LARGE','./cipher-core','UNIVER_PROJECT','YUUMI_URL_COL_OUT_OF_RANGE','RxDisposable','_lockTransition','_initMergeInterceptor','REDEMPTION_USER_NOT_ELIGIBLE','GLOBAL_ROOMS_CNT_EXCEEDS','startsWith','_decreaseWaiting','listCollaborators','/universer-api/stream/file/upload','_status$','charCodeAt','_collabSessionService','/fetchmissing?from=','_stopTelemetryCollaborationNewChangeset','_scheduleCompleteTimestamp','compute','Disposable','_entities','/object','ALREADY_EXISTS','SnapshotService','_singleActiveUnitService','LocalUndoRedoService','ENTITLE_CHAT_LIMIT_EXCEED','{fileID}','[UniverCollaborationClientPlugin]','Base','getImageSourceCache','mapDocumentTypeToUniverType','_executeRemoteChangeset','ICollaborationSocketService','closeSession','_onRecvEvent','localCacheService','_undoRedoService','onRemoteRetry','PERMISSION_REJ','POST','CONFLICT','ERROR_EXCEED_SIZE','auth.needGotoLoginAlert','[CollaborationSessionService]','getWorkbookSelections','ENTITLE_REPORT_LIMIT_EXCEED','_socket','onLocalMutation','_commentService','$super','2XCsEMB','_initRequestHeader','_getSendChangesetTimeout','_doProcessBlock','toString','updatePermissionObjEvent','SerializableCipher','@univerjs-pro/collaboration','enableAuthServer','push','[CollaborationState]:\x20apply\x20error!','pad','HEARTBEAT_TIMEOUT','__creator','REDEMPTION_USER_REDEEM_TIMES_EXCEED','socket\x20close','_scheduleCollaborationTimeoutTimer','PasswordBasedCipher','parseChangesetToProtocol','selections','_removeRoom','_clearTimeoutTimer','_HTTPService','YUUMI_ALL_TABLES_IS_INVALID','workbook','[PendingState]:\x20unhandled\x20univer\x20type:\x20','roles','ISnapshotServerService','_listenToNetworkCondition','UniverDrawing','getUnit','registerHTTPInterceptor','clear','Pkcs7','salt','isPermissionRej','PERSON','getActiveSheet','SheetCollaborationEntity','awaitingChangeset','LICENSE_MAX_UNITS_EXCEEDED','APPLY_REVISION_CONFILICT','_clearRedo','InsertSheetMutation','Error\x20on\x20receiving\x20event','registerDependencies','_unitID','getFocusedUnit','capture','[OfflineState]:\x20received\x20changeset.','m2Prime','key','data','_transformRemoteChangesetByStateCache','_getUndoStack','session.room-cnt-exceeds','extend','_init','downloadEndpointUrl','indexOf','enableSingleActiveInstanceLock','Hasher','unitInfo$','action','onSyncEditingCollabCursor','_transformIMECache','ENTITLE_COUPON_USED_UP','INVALID_INVITE_CODE','@univerjs-pro/collaboration-client','_onLocalMutation','editingUnit','_tryEnsureSocket','onRemoteRej','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','JSONX','_hasher','every','_getSignURL','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_onMessage','_createSocket','USER_NOT_FOUND','b64DecodeUnicode','createIdentifier','UnitEmbedded','updateOfflineData','equals','state','HELLO','getOwnPropertyDescriptor','replace','_iKey','image/png','/allowed','FAIL','ICommandService','_permissionService','values','unknown','readAsDataURL','joinEvent','COMPRESS_MUTATION_SEND','getGlobalObject','decryptBlock','_clearHeartbeatTimer','function','REDEMPTION_CODE_INACTIVE','collaboratorID','setWaitCount','&assign=','AWAITING_WITH_PENDING','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Malformed\x20UTF-8\x20data','FileId','unsubscribe','AUTHORIZE_CODE_ILLEGAL','onMutationExecutedForCollab','object','code','35889HiqXej','result','USERS_ENTER','FETCH_MISSING','&to=','isInternalEditorID','words','updateMember','JOIN','concat','_getCurrentRevision','catch','1695ZRyQTg','DATA_SOURCE_TOO_LARGE','LOCAL_CACHE_INTERVAL_KEY','join','delay','_substituteUndoStack','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','get','REDEMPTION_INVALID_CODE','update','LIVESHARE_TERMINATE','ERROR_AGAIN','/rev/','transformMutationsWithChangeset','ReplaySubject','Encryptor','BlockCipherMode','YUUMI_AI_RUN_FAILED','resend','findIndex','_applyRemoteChangeset','DocCollaborationEntity','loadDoc','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','onCommentUpdate','encryptBlock','reduce','34899030FCLIgU','1192SuolWJ','\x0aCurrent:\x20','uploadFileServerUrl','getLatestCsReqIdBySid','_waitCount','executeCommand','sessionStatus$','userID','[PendingState]:\x20received\x20rejection.','_onCombEvent','IMentionIOService','_rescheduleHeartbeat','CipherParams','_change$','ivSize','_state','_sheetTransformSelectionsService','792333eTJPhc','[OfflineState]:\x20received\x20rejection.','Inject','OTHER_CLIENTS_EDITING','_onFetchMissResult','headers','_clearLocalCache','_localeService','APPLY_DUPLICATED','[FetchMissState]','memberID','HEARTBEAT','_hash','_awaitingChangeset','_transformUndoredo','ENTITLE_INSUFFICIENT_QUOTA','_telemetryService','getTime','_instanceService','NoPadding','/-/object/list','initWorkbookPermissionChange','_onRemoteRejected','_injector','AES','_getAPIPrefix','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','default','onRemoteAck','asObservable','iterator','ERROR_IMAGE','unpad','/block/','formatter','_toggleOffline','ENTITLE_DUP_SUBSCRIPTION','unitId\x20is\x20not\x20found','_onConnectionOpen','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','unitID','updatePermissionPoint','ImageUploadStatusType','/collaborator','finalize','DEFAULT_FILE_NAME','_joinRoom','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_queuedRemoteChangesets','HEARTBEAT_TIMEOUT_KEY','prototype','getMemberID','_socketReady','then','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','RECV','/universer-api/authz','format','_collaborationSessionService','UserManagerService','OpenSSL','rxjs/operators','updateCursorEvent','hostname','_logService','UniverProCollaboration','_schedule','CBC','LOCAL_CACHE_INTERVAL','fromCharCode','UPDATE_PERMISSION_OBJ','_sessionStatus$','_updateStatus','dispose','stringify','JOINING','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_transformSelections','withCredentials','SOCKET_FAILED','NO_OTHER_CLIENTS_EDITING','_event$','session.room-permission-denied','UnitStatus','_httpService','getDeserializedSheetBlock','_showConflictNotification','joinRsp','getRandomValues','createCollaborator','decorate','PENDING','fetching\x20missing\x20changesets\x20from\x20','[PendingState]:\x20received\x20acknowledgement.','body','_retryCount','_onConnectionFailed','snapshot','IPermissionService','CollaborationImageIoService','_onUserJoin','CollaborativeUndoRedoService','objectType','_imageSourceCache','getPrototypeOf','repeat','USERS_LEAVE','_onConflict','HmacMD5','2336524JWmMrl','UniverLicensePlugin','keySize','LIVESHARE_REQUEST_HOST','ENSURE_SNAPSHOT_EXECUTION','YUUMI_NO_CUBOID_FOR_QUESTION','_doReset','WordArray','_members','Plugin','exports','commentUpdateEvent','_transformService','_initDependencies','reject','Workbook','0.19.0','_socketService','/object/','send','_unitInfo$','hasher','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_memberService','fetchThroughInterceptors','_transformStack','href','UNISCRIPT_RUN','_onUserLeave','onload','fetchMissingChangesets','from','post','getTypeOfUnitAdded$','YUUMI_RATE_OVER_LIMIT','LIVESHARE_FETCH_OPERATIONS','requireSession','PSEUDO_FETCH_MISSING_RESULT','_getCtorByUniverType','Latin1','MemberService','OfflineState','_commandService','APPLY_REJECT','_onOffline','Base64','&source=','random','setShowComponents','SHOULD_CLOSE_CONN','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_DOC','_state$','sendChangesetTimeout','HttpExport','_toggleOnline','onlyLocal','sid','getResourcesRequest','COMPLETION_FINISHED','compose','BASE64','_data','connection\x20error','_sendingTimer','ENTITLE_INVALID_COUPON_CODE','name','[CollaborationUndoRedoService]','[CollaborationSession]','OTHER_CLIENT_EDITING','pluginName','\x20in\x20_schedule.','UniverDocs','focused$','_collaborationTimeoutTimer','onTransformRemoteChangesetByStateCache','location','_nRounds','collaboration-client.local-cache-service','OFFLINE','deserializeToCombResponse','_isPermissionRej','symbol','EmptyMutationInfo','floor','getCurrentUser','UNIVER_SHEET','buffer','enableCollaboration','UniverCollaborationClientPlugin','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','@univerjs/telemetry','HttpImport','WorkbookEditablePermission','__esModule','BufferedBlockAlgorithm','JOIN_ROOM_FULL','mutations','shareReplay','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','splice','RETRY_CONNECTING_MAX_COUNT','getUnitType','REDEMPTION_CODE_NOT_STARTED','AwaitingWithPendingState','HEARTBEAT_INTERVAL','kdf','ONLINE','subject','origin','_snapshotService','error$','createEncryptor','LEAVE','/unit/','c2Prime','Tools','file','getCollabEntity$','toggleOnline','_timeoutTimer','set','LOGIN_TOKEN_PROCESSING_FAILED','stopTime','saveSnapshot','setCurrentUser','getRoom','_eventService','filter','_getUploadFileURL','EvpKDF','createDecryptor','ImageSourceType','CollaborationSession','generateRandomId','IUniverInstanceService','[CollaborationSessionService]:\x20socket\x20error','ENTITLE_NEED_BILLING_ADDRESS','_config','_onRemoteACK','NOT_FOUND','CollaborationEvent','onStarting','_startCollaboration','bind','packageName','_initCloseConn','type','onTransformSelections','_registerDependencies','MD5','Hex','onTransformIME','_clearScheduledTask','onTransformState','merge','__Key__','MOBILE_VERIFY_CODE_MISMATCH','ILocalCacheService','subUnitId','SOCKET_FAILED_RETRY','resolveWithBasePath','UNIVER_UNKNOWN','onSendChangeset','updateSnapshot','charAt','CollaborationController','_collaborationUIEventService','liveShareNewHost','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','addImageSourceCache','list','[OfflineState]:\x20received\x20acknowledgement.','Injector','transformChangesets','_incrementRevisionNumber','_roomCreated$','YUUMI_CONNECTOR_URL_NOT_FOUND','MSG_FOR_ERROR','_unlockTransition','_waitForHeartbeatResponse','readInt32LE','UNKNOWN_CMD','online$','interceptor','_updateState','MOBILE_HAS_BEEN_BOUND','_socketMessageSubscription','_redoStacks','infoRsp','clone','next','revision','_getLoginPath','version','encode','onTransformRemoteChangesetByIMECache','ConflictState','SYNCED','uuidv4','OPTIONAL','addHandlerCallback','UNKNOWN_CODE','lib','_createHandler','onMissedChangesetFetched','EMAIL_VERIFY_CODE_MISMATCH','session.room-full','IConfigService','target','unitId','LocaleService','isArray','string','take','open$','routeKey','Optional','\x20to\x20','objects','append','_initUnitPermissionChange','objectID','emitEvent','toPrimitive','allowed','DependentOn','socketService','CollaborationStatus','_collaborationPaused','_tryReconnect','signUrlServerUrl','CommandType','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','error','transformStack\x20failed!','requestParams','JOIN_ROOM_NOT_EXISTS','getAllMembers','event$','refreshPermission','_roomMembers','EMAIL_HAS_BEEN_BOUND','appendMutation','members','UniverNetworkPlugin','/-/object/-/batch_allowed','getOwnPropertyNames','_doCreateSocket','src','uniscriptRunEvent','awaiting_with_pending','_pendingMutations','[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.','avatar','_append','getUnitStatus$','JOIN_ROOM_FAILED','_sender','_getRedoStack','@univerjs-pro/license','ENTITLE_COUPON_EXPIRED','getCollabEntity','encodeURIComponent','createInstance','_xformMode','updateCollaborator','url','_emitMembers','failed\x20to\x20apply\x20missed\x20changesets!','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','collaboration-client.config','_createInitialState','title','SheetsSelectionsService','complete','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','LIVESHARE_NEW_HOST','IUndoRedoService','_doFinalize','copyFileMeta','csShouldRetryEvent','loginUrlKey','ISingleActiveUnitService','loadOfflineData','REDEMPTION_CODE_HAS_BEEN_CREATED','mode','UUID','disposeWithMe','@univerjs/drawing','univer-pro.collaboration-client-socket-service','@univerjs/docs','status','ws://127.0.0.1:8000/universer-api/comb/connect','SUBMIT_CHANGESET_TIMEOUT','getUnitId','ERROR_IMAGE_TYPE','map','[DataLoaderService]','CHANGESET_ACK','toDisposable','permissionRejEvent','_transformStateCache','amd','_sendHeartbeat','saveSheetBlock','Undefined','_syncEditingCollabCursor','_clearRetryConnectingTimer','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','UNAUTHENTICATED','getCurrentSelections','Decryptor','baseRev','hasOwnProperty','UnitSnapshot','session.room-not-exists','YUUMI_UNABLE_LOAD_URL','abs','_onRemoteRetry','/new_changes','_process','now','init','decrypt','padding','algo','UPDATE_CURSOR','c1Prime','dispose$','getTypeOfUnitDisposed$','_DEC_XFORM_MODE','_keySchedule','textEncoder','firstValueFrom','cfg','retryConnectingInterval','state$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_throwTelemetryCollaborationNewChangeset','UserProfileImg','onMissingChangesets','message$','socket$','add','concatMap','toggleOffline'];_0x502f=function(){return _0x40a4f2;};return _0x502f();}
|
|
2
|
+
function _0x25b4(){const _0x2c8808=['_oKey','_toggleOffline','/collaborator','waitForRoom$','IMentionIOService','call','LOCAL_CACHE_INTERVAL','createEncryptor','_resendTimeout','_incrementRevisionNumber','subject','YUUMI_UNABLE_LOAD_URL','&to=','objectID','WorkbookEditablePermission','location','/rev/','SOCKET_FAILED_RETRY','_onRemoteACK','CollaborationSocketService','./sha1','RETRY_CONNECTING_MAX_COUNT_KEY','/block/','not_collab','toDisposable','5280702pxDSSS','SHA1','OTHER_CLIENTS_EDITING','SUBMIT_CHANGESET','clone','getValue','_updateStatus','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','enableOfflineEditing','DocCollaborationEntity','onRemoteRetry','CollaborativeUndoRedoService','LOGIN_FAILED','createIdentifier','JOINING','_imageSourceCache','UniverNetworkPlugin','MentionIoHttpService','APPLY_PERMISSION_DENIED','_networkConditionService','getInterceptPoints','NO_OTHER_CLIENTS_EDITING','_substituteRedoStack','_candidateSocket','USER_NOT_INVITED_CODE','INGEST','mapDocumentTypeToUniverType','FetchingMissState','message$','LocalUndoRedoService','_checkMissing','_collaborationTimeoutTimer','PERMISSION_REJ','CollaborationImageIoService','_prevBlock','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','OTHER_CLIENT_EDITING','_clearRetryConnectingTimer','_transformIMECache','isTransformMutationsWithChangesetFailure','[CollaborationEntity]','_getCurrentRevision','has','25096QiYsHE','BlockCipher','_nRounds','FileId','disableLocalCache','_telemetryService','_createInitialState','repeat','LOGIN_TOKEN_PROCESSING_FAILED','[CollaborationSessionService]','transformUndoRedo','commentUpdate$','fetching\x20missing\x20changesets\x20from\x20','SYNCED','connection\x20error','Inject','Hex','onLocalMutation','/unit/','objectType','copyFileMeta','SnapshotService','YUUMI_ASYNCIO_CANCELLED','LIVESHARE_TERMINATE','_ENC_XFORM_MODE','_substituteUndoStack','ClipsheetFragments','_config','sequenceExecute','resolve','rev','onStateChange','GLOBAL_ROOMS_CNT_EXCEEDS','_exhaustRemoteChangesetQueue','init','getCurrentRevOfUnit','executeCommand','function','USERS_ENTER','WECHAT_HAS_BEEN_BOUND','_emitMembers','onTransformIME','capture','confirm','_roomCreated$','_transformService','emitEvent','iterations','substr','socket\x20close','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','Utf8','incrementRevOfUnit','add','/fetchmissing?from=','downloadEndpointUrl','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','LICENSE_MAX_UNITS_EXCEEDED','UniverCore','baseRev','_init','constructor','Base','Workbook','_parse','_acknowledgedAwaitingChangeset','set','ENTITLE_CAN_NOT_BUY_LOWER_OTP','DEFAULT_WS_SESSION_TICKET_URL','HttpImport','[DataLoaderService]','_sendingTimer','_onMessage','getCurrentUser','_doCreateSocket','UniverCollaborationPlugin','_event$','dispose','RECV','_updateLocalCache','getImage','m2Prime','SNAPSHOT_HAS_BEEN_REMOVED','getCollabEntity$','csAckEvent','_map','YUUMI_ALL_TABLES_IS_INVALID','PERMISSION_DENIED','transformChangesets','ENTITLE_REPORT_LIMIT_EXCEED','_hash','generateRandomId','USER_IS_ANONYMOUS','reduce','parseProtocolChangeset','updatePermissionPoint','onload','StreamCipher','equals','_socketMessageSubscription','fetchThroughInterceptors','_socket','sendChangesetTimeout','ReplaySubject','findIndex','offline','delete','kdf','_members','status$','_timeoutTimer','getOwnPropertyNames','override','update','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','editingUnit','[CollaborationSession]','SessionStatus','image/jpg','FAIL','takeUntil','DATA_SOURCE_TOO_LARGE','image/gif','_onLocalMutation','exports','2431902gOHlQQ','ImageSourceType','pauseCollaboration','CollaborationEntity','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','length','sid','ONLINE','leaveEvent','registerDependencies','setConfig','reqId','enableCollaboration','MergeInterceptorFactory','requestParams','values','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_replayCachedMutations','touchDependencies','replace','UserProfileImg','0.20.0','getTypeOfUnitDisposed$','ENTITLE_COUPON_EXPIRED','USERS_LEAVE','fetchMiss','MOBILE_VERIFY_CODE_MISMATCH','ALREADY_EXISTS','\x0aCurrent:\x20','params','unitId','_invKeySchedule','_getSendChangesetTimeout','_telemetryInfo','onRemoteAck','AwaitingState','_undoRedoService','INVITE_CODE_REQUIRED','_handler','sessionStatus','get','Decryptor','entityInit$','startsWith','toggleOffline','newCsEvent','_onRecvEvent','LIVESHARE_NEW_HOST','LICENSE_EXPORT_SIZE_EXCEEDED','unknown','MentionType','data','APPLY_NON_SEQUENTIAL_REVISION','eventID','27Hhvpiu','forEach','_updateState','_createHandler','_getUndoStack','responseType','map','transformSelections','/universer-api/oidc/authpage','_shouldReportTelemetry','getUnitOnRev','decorate','USER_NOT_FOUND','[SyncedState]:\x20received\x20rejection.','submit\x20changeset\x20error!','onMutationExecutedForCollab','changesets','Hasher','SheetsSelectionsService','LocaleService','infoRsp','mergeOverrideWithDependencies','REDEMPTION_CODE_HAS_BEEN_CREATED','_minBufferSize','_collaborationUIEventService','c1Prime','CryptoJS','hasher','abs','patch','_transformUndoredo','_eventService','_initCloseConn','HmacSHA1','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','stringify','authzUrl','/universer-api/stream/file/upload','error','_getRedoStack','Plugin','JOIN_ROOM_FULL','mixIn','_onConnectionOpen','avatar','_onOffline','APPLY_DUPLICATED','_data','HEARTBEAT_INTERVAL_KEY','RevisionService','NOT_FOUND','_awaitingChangeset','session.join-failed','UNIVER_COLLABORATION_CLIENT_PLUGIN','pending','./evpkdf','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/object/','updateOfflineData','CompressMutationService','$super','_createHelper','_commentService','hasOwnProperty','algo','CLOSE_ROOM','put','session','roomInfos','onTransformRemoteChangesetByIMECache','image/jpeg','ERROR_AGAIN','operators','isPermissionRej','COMMENT_UPDATE','clamp','_doFinalize','push','duration','TOO_MANY_REQUESTS','key','ICommandService','_nDataBytes','getPrototypeOf','IPermissionService','LIVESHARE_OPERATION','IAuthzIoService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','failed\x20to\x20apply\x20missed\x20changesets!','AuthzIoHttpService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_keySchedule','ENSURE_SNAPSHOT_EXECUTION','ILogService','_executeRemoteChangeset','bind','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverLicensePlugin','REDEMPTION_CODE_INACTIVE','ERROR_IMAGE','getResourcesRequest','cmd','WordArray','session.room-full','98620QgZumI','UniverTelemetry','isArray','_status$','Base64','@univerjs-pro/collaboration-client','state','_members$','SetSelectionsOperation','YUUMI_AI_RUN_FAILED','title','[SyncedState]:\x20received\x20acknowledgement.','getRandomValues','_iKey','/allowed','_scheduleCollaborationTimeoutTimer','_cipher','close$','debug','onTransformState','CommentService','createInstance','updateMember','YUUMI_URL_COL_OUT_OF_RANGE','_decreaseWaiting','deserializeToCombResponse','charCodeAt','onMissedChangesetFetched','CONNECTOR_DATA_TOO_LARGE','_doReset','_onUserJoin','routeKey','univer-pro.collaboration-client-socket-service','_sessions','REDEMPTION_INVALID_CODE','ivSize','getMember','NEW_CHANGESETS','isInternalEditorID','onMissingChangesets','joinRsp','UniverNetwork','unitID','_onRemoteRejected','getRoom','_startTelemetryCollaborationNewChangeset','BufferedBlockAlgorithm','getUnitStatus$','&assign=','includes','snapshotServerUrl','BehaviorSubject','_onRemoteRetry','_retryConnectingTimer','objectActions','ERROR_IMAGE_TYPE','LICENSE_IMPORT_SIZE_EXCEEDED','UPDATE_CURSOR','?url=','[OfflineState]:\x20received\x20rejection.','JOIN_ROOM_NOT_EXISTS','collaborators','pad','mutations','getDeserializedSheetBlock','INVITE_CODE_ALREADY_BOUND','lib','image/png','collabWebSocketUrl','enc','status','_onCombEvent','UNKNOWN_CODE','NOT_COLLAB','_clearRedo','extend','JSONX','onlyLocal','_configService','close','HTTPService','IConfigService','HEARTBEAT_TIMEOUT_KEY','JOIN_ROOM_FAILED','_clearCollaborationTimeoutTimer','_pendingMutations','Disposable','onRemoteChangeset','readyForCollab','/universer-api/snapshot','_clearUndo','_schedule','CollaborationController','unitId\x20is\x20not\x20found','UNISCRIPT_RUN','Encryptor','_transformStack','error$','range','updateCollaborator','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','loadUnitOfRevision','selections','SyncedState','setWaitCount','OFFLINE','ERROR_EXCEED_SIZE','src','state$','listRoles','_sheetTransformSelectionsService','46964320HLiICg','Quantity','buffer','ENTITLE_INVALID_COUPON_CODE','DEFAULT_COLLAB_WEB_SOCKET_URL','serializeCombRequest','concat','Tools','signUrlServerUrl','&source=','catch','byteLength','381ogFvsk','_tryReconnect','isTransformChangesetsSuccess','entries','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','/universer-api/file/{fileID}/sign-url','_commandService','createCollaborator','Optional','Injector','MUTATION','transformStack\x20failed!','IUndoRedoService','DEFAULT_FILE_NAME','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','unitInfo$','sigBytes','awaiting','_toggleOnline','rxjs','fromCollab','uuidv4','object','firstValueFrom','_append','list','BlockCipherMode','UniverDocs','Cipher','_getAPIPrefix','_permissionService','words','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','amd','unsubscribe','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','synced','_undoStacks','_transformSelections','_type','ENTITLE_NEED_BILLING_ADDRESS','enableSingleActiveInstanceLock','[UniverCollaborationClientPlugin]','_roomMembers','getFocusedUnit','actions','PSEUDO_FETCH_MISSING_RESULT','_scheduleCompleteTimestamp','Rectangle','defineProperty','getSheetId','MSG_FOR_ERROR','crypto','_sendHeartbeatTimer','PERSON','userID','every','_getUploadFileURL','_DEC_XFORM_MODE','REDEMPTION_CODE_NOT_STARTED','_initUnitPermissionChange','LEAVE','/universer-api/authz','AWAITING_WITH_PENDING','type','ITelemetryService','refreshPermission','_onUserLeave','_throwTelemetryCollaborationNewChangeset','AWAITING','next','@univerjs/telemetry','splice','_HTTPService','_resendWithTimeout','send','complete','decryptBlock','packageName','FETCH_MISSING','ws://127.0.0.1:8000/universer-api/comb/connect','resend','code','sin','[PendingState]:\x20received\x20rejection.','cfg','toggleOnline','AUTHORIZE_CODE_ILLEGAL','_entities','Subject','_initDependencies','saveImage','apply','YUUMI_NO_CUBOID_FOR_QUESTION','_entityInit$','/resources','ceil','image/bmp','CONFLICT','PY_RUNTIME_SCRIPT_ERROR','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[CollaborationUndoRedoService]','snapshot','_rescheduleHeartbeat','_injector','People','_syncEditingCollabCursor','loadSheet','getUnitId','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','IImageIoService','requireSession','_maxTotalRetryTimeout','MemberService','now','_createSocket','textRanges','\x20to\x20','append','delay','ILocalCacheService','appendMutation','random','find','HEARTBEAT','workbook','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','keySize','liveShareNewHost','_xformMode','subscribe','APPLY_REVISION_CONFILICT','conflict','getUnitType','_onRemoteChangeset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','filter','_unlockTransition','getCollabEntity','slice','padding','\x20-\x20','Latin1','UserManagerService','/universer-api/uniscript','loadOfflineData','getLocalCacheKey','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_doProcessBlock','default','_tryEnsureSocket','@univerjs/sheets','post','method','_localeService','members','_initRequestHeader','_userManagerService','_changesetSessionId','DisposableCollection','_socket$','then','interceptor','removeMember','CHANGESET_SHOULD_RETRY','/universer-api/snapshot/','revision','_onConflict','save\x20fail\x20reason\x20is\x20','fromCharCode','UNAUTHENTICATED','editing\x20status\x20changed\x20to','sessionStatus$','addImageSourceCache','HttpExport','@univerjs-pro/license','_sessionStatus$','_state$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[FetchMissState]','_handlerCallback','getTime','CollaborationUIEventId','AES','HEARTBEAT_TIMEOUT','subUnitId','_univerInstanceService','reject','reverse','ThresholdInterceptorFactory','setShowComponents','closeSession','asObservable','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','memberID','UniverDrawing','_singleActiveUnitService','LIVESHARE_REQUEST_HOST','SNAPSHOT_INVALID_SNAPSHOT','_getDownloadEndpointURL','_clearLocalCache','15jIKdND','CHANGESET_REVISION_CONFILICT','parse','UUID','IUniverInstanceService','UniverInstanceType','OpenSSL','_submitChangeset','onTransformSelections','PAYMENT_CHANNEL_NOT_SUPPORT','pluginName','UNIVER_DOC','HEARTBEAT_INTERVAL','onCommentUpdate','univer-pro.collaboration-client.network-condition.service','11987856RZWkRG','RETRY_CONNECTING_MAX_COUNT','textEncoder','IDLE','_state','COMPLETION_FINISHED','BASE64','/new_changes','ENTITLE_COUPON_USED_UP','getLatestCsReqIdBySid','_clearScheduledTask','FETCH_MISS','ENTITLE_CHAT_LIMIT_EXCEED','onRemoteRej','REDEMPTION_USER_REDEEM_TIMES_EXCEED','CipherParams','LICENSE_DISTRO_REJECTED','batchAllowed','result','HELLO','CHANGESET_REJ','join','getSheetBlock','merge','_transformStateCache','_compressMutationService','loadUnit','SNAPSHOT_URL_KEY','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_key','fetch_missing','compute','HTTPRequest','iterator','CommandType','_registerDependencies','_remoteChangesetQueue','prototype','collaboration-client.local-cache-service','_lockTransition','_sender','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_collaborationPaused','_joinRoom','_resendTimer','SheetCollaborationEntity','format','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_waitCount','YUUMI_SUBSCRIPTION_NOT_FOUND','encryptBlock','_httpService','updateSnapshot','onSyncEditingCollabCursor','_revisionService','MOBILE_HAS_BEEN_BOUND','__esModule','clear','_transformRemoteChangesetByIMECache','ENTITLE_DUP_SUBSCRIPTION','_getAPIPrefixPath','\x0aAfter:\x20','addHandlerCallback','_memberService','_unitID','salt','_sendHeartbeat','_onFetchMissResult','COMPRESS_MUTATION_SEND','max','UnitSnapshot','ISingleActiveUnitService','_transformRemoteChangesetByStateCache','[CollaborationState]:\x20apply\x20error!','/universer-api/user/session-ticket','EMAIL_HAS_BEEN_BOUND','getMemberID','execute','JOIN','awaiting_with_pending','CURRENT_STATUS_CANNOT_OPERATE','encode','_doCryptBlock','_process','./md5','string','_onJoinRoomEvent','__creator','headers','CollaborationStatus','EMAIL_VERIFY_CODE_MISMATCH','UniverProCollaboration','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','SerializableCipher','[PendingState]:\x20unhandled\x20univer\x20type:\x20','@univerjs/network','./cipher-core','reconnect','_logService','INTERNAL_ERROR','_createInitialStateImpl','compose','CollaborationEvent','_transitionLocked','stopTime','pipe','startTime','INVITE_CODE_HAS_BEEN_UES','localeService','socketService','_listenToNetworkCondition','_collabSessionService','_getLoginPath','[OfflineState]:\x20received\x20changeset.','body','/-/object/-/batch_allowed','_localCacheService','LIVESHARE_FETCH_OPERATIONS','/role','UnitEmbedded','focused$','getTypeOfUnitAdded$','transformMutationsWithChangeset','@univerjs/docs','getActiveSheet','decrypt','encrypt','./hmac','COMPRESS_MUTATION_APPLY','REDEMPTION_USER_NOT_ELIGIBLE','saveSnapshot','finalize','allowed','./core','resolveWithBasePath','@univerjs/drawing','name','charAt','floor','_mode','230064rOLDqc','min','univer-pro.collaboration-client.single-active-unit-service','objects','SOCKET_FAILED','_changesetReqId','members$','liveShareOperation','socket\x20open.','_removeRoom','_fetchMissChangesets','ImageUploadStatusType','_commentUpdate$','UNIVER_PROJECT','toPrimitive','_applyRemoteChangeset','size','DependentOn','toString','ENTITLE_INSUFFICIENT_QUOTA','Undefined','UNIVER_UNKNOWN','RichTextEditingMutation','_unitInfo$','RxDisposable','create','disposeWithMe','_createHmacHelper','getSnapshotAPIPath','getConfig','_hasher','localCacheService','awaitingChangeset','onTransformRemoteChangesetByStateCache','_collaborationSessionService','__splitChunk__','symbol','_getCtorByUniverType','AwaitingWithPendingState','msCrypto','_isPermissionRej','_snapshotService','hostname','_showConflictNotification','UNIVER_SLIDE','collaboration-client.config','PasswordBasedCipher','PENDING','_replaceFileID','_socketReady','_startCollaboration','_instanceService','blockSize','onSendChangeset','EvpKDF','setCurrentUser','session.room-not-exists','_queuedRemoteChangesets','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','href','SUBMIT_CHANGESET_TIMEOUT','event$','_clearHeartbeatTimer','_disableEditing','toStringTag','UNKNOWN_CMD','encodeURIComponent','_stopTelemetryCollaborationNewChangeset','csShouldRetryEvent','reset','target','from','ITransformService','UNIVER_SHEET','NoPadding','HMAC','enumerable','take','parseChangesetToProtocol','CBC','_onConnectionFailed','action','_getSignURL','originalMeta','MD5','UniverProCollaborationClient','createDecryptor','readAsDataURL','dispose$','ciphertext','collaboratorID','_iv','YUUMI_RATE_OVER_LIMIT','_snapshotServerService','_clearTimeoutTimer','isTransformMutationsWithChangesetSuccess','createSocket','getUnit','_retryCount','JOIN_ROOM_PERMISSION_DENIED','registerHTTPInterceptor','_change$','getOwnPropertyDescriptor','ISnapshotServerService','processBlock','UNRECOGNIZED','file','rxjs/operators'];_0x25b4=function(){return _0x2c8808;};return _0x25b4();}function _0x2f25(_0xd6427b,_0x3f08c1){_0xd6427b=_0xd6427b-0x14d;const _0x25b45e=_0x25b4();let _0x2f2530=_0x25b45e[_0xd6427b];return _0x2f2530;}(function(_0x280a07,_0x205e36){const _0x309f70=_0x2f25,_0x1256cc=_0x280a07();while(!![]){try{const _0x1b43a3=-parseInt(_0x309f70(0x1d4))/0x1*(parseInt(_0x309f70(0x23c))/0x2)+-parseInt(_0x309f70(0x2b7))/0x3*(parseInt(_0x309f70(0x4cb))/0x4)+-parseInt(_0x309f70(0x380))/0x5*(parseInt(_0x309f70(0x19e))/0x6)+parseInt(_0x309f70(0x4a0))/0x7+parseInt(_0x309f70(0x41b))/0x8+-parseInt(_0x309f70(0x38f))/0x9+parseInt(_0x309f70(0x2ab))/0xa;if(_0x1b43a3===_0x205e36)break;else _0x1256cc['push'](_0x1256cc['shift']());}catch(_0x234c35){_0x1256cc['push'](_0x1256cc['shift']());}}}(_0x25b4,0xc4291),function(_0x35bca3,_0x37d37e){const _0x513292=_0x2f25;typeof exports==_0x513292(0x2cd)&&typeof module<'u'?_0x37d37e(exports,require(`@univerjs-pro/collaboration`),require(`@univerjs/core`),require(`@univerjs/docs`),require(`@univerjs/sheets`),require(`rxjs`),require(`@univerjs/telemetry`),require(`rxjs/operators`),require(`@univerjs/network`),require(`@univerjs-pro/license`),require(`@univerjs/drawing`)):typeof define=='function'&&define[_0x513292(0x2d8)]?define([_0x513292(0x19d),'@univerjs-pro/collaboration','@univerjs/core',_0x513292(0x40a),_0x513292(0x34e),_0x513292(0x2ca),_0x513292(0x2fe),_0x513292(0x486),_0x513292(0x3ee),_0x513292(0x366),_0x513292(0x416)],_0x37d37e):(_0x35bca3=typeof globalThis<'u'?globalThis:_0x35bca3||self,_0x37d37e(_0x35bca3[_0x513292(0x470)]={},_0x35bca3[_0x513292(0x3ea)],_0x35bca3[_0x513292(0x15b)],_0x35bca3[_0x513292(0x2d2)],_0x35bca3['UniverSheets'],_0x35bca3[_0x513292(0x2ca)],_0x35bca3[_0x513292(0x23d)],_0x35bca3[_0x513292(0x2ca)][_0x513292(0x21c)],_0x35bca3[_0x513292(0x265)],_0x35bca3['UniverProLicense'],_0x35bca3[_0x513292(0x37a)]));}(this,function(_0x57f8cc,_0x22113f,_0x4c9691,_0x30758f,_0x190d88,_0x1d90a6,_0x24d3ba,_0x29e3de,_0x750beb,_0x2f0cd5,_0xac2517){const _0x388c16=_0x2f25;Object[_0x388c16(0x2e8)](_0x57f8cc,Symbol[_0x388c16(0x45b)],{'value':'Module'});var _0x52137c=Object[_0x388c16(0x434)],_0x244aac=Object['defineProperty'],_0x4c973b=Object[_0x388c16(0x481)],_0x501dcd=Object[_0x388c16(0x190)],_0x59cdfc=Object[_0x388c16(0x227)],_0x58ab0d=Object[_0x388c16(0x3b4)][_0x388c16(0x213)],_0x5841b6=(_0x137d94,_0x44b7b6)=>()=>(_0x44b7b6||_0x137d94((_0x44b7b6={'exports':{}})[_0x388c16(0x19d)],_0x44b7b6),_0x44b7b6[_0x388c16(0x19d)]),_0x116a8f=(_0xa7fa90,_0xc08a36,_0x105d0c,_0x41667)=>{const _0x4545be=_0x388c16;if(_0xc08a36&&typeof _0xc08a36==_0x4545be(0x2cd)||typeof _0xc08a36==_0x4545be(0x4f0)){for(var _0x511c4e=_0x501dcd(_0xc08a36),_0x1f51a0=0x0,_0x3d3583=_0x511c4e[_0x4545be(0x1a3)],_0x47f241;_0x1f51a0<_0x3d3583;_0x1f51a0++)_0x47f241=_0x511c4e[_0x1f51a0],!_0x58ab0d[_0x4545be(0x48c)](_0xa7fa90,_0x47f241)&&_0x47f241!==_0x105d0c&&_0x244aac(_0xa7fa90,_0x47f241,{'get':(_0x23c332=>_0xc08a36[_0x23c332])[_0x4545be(0x233)](null,_0x47f241),'enumerable':!(_0x41667=_0x4c973b(_0xc08a36,_0x47f241))||_0x41667[_0x4545be(0x467)]});}return _0xa7fa90;},_0x26a9ac=(_0x4eb04b,_0x4a826a,_0x1da9e5)=>(_0x1da9e5=_0x4eb04b==null?{}:_0x52137c(_0x59cdfc(_0x4eb04b)),_0x116a8f(_0x4a826a||!_0x4eb04b||!_0x4eb04b[_0x388c16(0x3c7)]?_0x244aac(_0x1da9e5,_0x388c16(0x34c),{'value':_0x4eb04b,'enumerable':!0x0}):_0x1da9e5,_0x4eb04b));let _0x1049c0=_0x388c16(0x307),_0x1790d5=0x4e20,_0x290029=function(_0x22b38a){const _0x4c4088=_0x388c16;return _0x22b38a[_0x22b38a['UNDEFINED']=0x0]='UNDEFINED',_0x22b38a[_0x22b38a['OK']=0x1]='OK',_0x22b38a[_0x22b38a[_0x4c4088(0x3f2)]=0x2]='INTERNAL_ERROR',_0x22b38a[_0x22b38a['PERMISSION_DENIED']=0x3]=_0x4c4088(0x178),_0x22b38a[_0x22b38a[_0x4c4088(0x206)]=0x4]=_0x4c4088(0x206),_0x22b38a[_0x22b38a[_0x4c4088(0x361)]=0x5]=_0x4c4088(0x361),_0x22b38a[_0x22b38a[_0x4c4088(0x1b9)]=0x6]=_0x4c4088(0x1b9),_0x22b38a[_0x22b38a['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x22b38a[_0x22b38a[_0x4c4088(0x223)]=0x8]=_0x4c4088(0x223),_0x22b38a[_0x22b38a['COMPLETION_FINISHED']=0x9]=_0x4c4088(0x394),_0x22b38a[_0x22b38a['LOGIN_FAILED']=0xa]=_0x4c4088(0x4ac),_0x22b38a[_0x22b38a[_0x4c4088(0x1b8)]=0xb]=_0x4c4088(0x1b8),_0x22b38a[_0x22b38a[_0x4c4088(0x1f6)]=0xc]=_0x4c4088(0x1f6),_0x22b38a[_0x22b38a['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x4c4088(0x3e9),_0x22b38a[_0x22b38a[_0x4c4088(0x31b)]=0xe]=_0x4c4088(0x31b),_0x22b38a[_0x22b38a[_0x4c4088(0x30e)]=0xf]=_0x4c4088(0x30e),_0x22b38a[_0x22b38a[_0x4c4088(0x4d3)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x22b38a[_0x22b38a[_0x4c4088(0x3df)]=0x64]=_0x4c4088(0x3df),_0x22b38a[_0x22b38a[_0x4c4088(0x21b)]=0x65]='ERROR_AGAIN',_0x22b38a[_0x22b38a[_0x4c4088(0x1e0)]=0xc9]='USER_NOT_FOUND',_0x22b38a[_0x22b38a[_0x4c4088(0x17d)]=0xca]=_0x4c4088(0x17d),_0x22b38a[_0x22b38a[_0x4c4088(0x381)]=0x1389]=_0x4c4088(0x381),_0x22b38a[_0x22b38a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4c4088(0x37d),_0x22b38a[_0x22b38a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4c4088(0x173),_0x22b38a[_0x22b38a[_0x4c4088(0x230)]=0x1773]=_0x4c4088(0x230),_0x22b38a[_0x22b38a['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x22b38a[_0x22b38a[_0x4c4088(0x1d2)]=0x1b5a]=_0x4c4088(0x1d2),_0x22b38a[_0x22b38a[_0x4c4088(0x33a)]=0x1b5b]=_0x4c4088(0x33a),_0x22b38a[_0x22b38a[_0x4c4088(0x4b2)]=0x1b5c]=_0x4c4088(0x4b2),_0x22b38a[_0x22b38a[_0x4c4088(0x202)]=0x1b5d]='APPLY_DUPLICATED',_0x22b38a[_0x22b38a[_0x4c4088(0x258)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x22b38a[_0x22b38a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4c4088(0x15a),_0x22b38a[_0x22b38a[_0x4c4088(0x2da)]=0x232a]=_0x4c4088(0x2da),_0x22b38a[_0x22b38a[_0x4c4088(0x274)]=0x232b]=_0x4c4088(0x274),_0x22b38a[_0x22b38a[_0x4c4088(0x1ce)]=0x232c]=_0x4c4088(0x1ce),_0x22b38a[_0x22b38a[_0x4c4088(0x39f)]=0x232d]=_0x4c4088(0x39f),_0x22b38a[_0x22b38a[_0x4c4088(0x492)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x22b38a[_0x22b38a[_0x4c4088(0x253)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x22b38a[_0x22b38a[_0x4c4088(0x477)]=0x2713]=_0x4c4088(0x477),_0x22b38a[_0x22b38a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4c4088(0x3c0),_0x22b38a[_0x22b38a[_0x4c4088(0x314)]=0x271a]=_0x4c4088(0x314),_0x22b38a[_0x22b38a[_0x4c4088(0x4e1)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x22b38a[_0x22b38a[_0x4c4088(0x20c)]=0x271c]=_0x4c4088(0x20c),_0x22b38a[_0x22b38a[_0x4c4088(0x177)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x22b38a[_0x22b38a[_0x4c4088(0x2bb)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x22b38a[_0x22b38a[_0x4c4088(0x245)]=0x271f]=_0x4c4088(0x245),_0x22b38a[_0x22b38a[_0x4c4088(0x234)]=0x2720]=_0x4c4088(0x234),_0x22b38a[_0x22b38a[_0x4c4088(0x31a)]=0x2af9]=_0x4c4088(0x31a),_0x22b38a[_0x22b38a['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4c4088(0x3fa),_0x22b38a[_0x22b38a['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x22b38a[_0x22b38a[_0x4c4088(0x1c3)]=0x2ee3]=_0x4c4088(0x1c3),_0x22b38a[_0x22b38a[_0x4c4088(0x4b8)]=0x2ee4]=_0x4c4088(0x4b8),_0x22b38a[_0x22b38a[_0x4c4088(0x27d)]=0x2ee5]=_0x4c4088(0x27d),_0x22b38a[_0x22b38a[_0x4c4088(0x4f2)]=0x32c9]=_0x4c4088(0x4f2),_0x22b38a[_0x22b38a[_0x4c4088(0x3c6)]=0x32ca]=_0x4c4088(0x3c6),_0x22b38a[_0x22b38a[_0x4c4088(0x3da)]=0x32cb]=_0x4c4088(0x3da),_0x22b38a[_0x22b38a[_0x4c4088(0x164)]=0x36b1]=_0x4c4088(0x164),_0x22b38a[_0x22b38a['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x4c4088(0x3b8),_0x22b38a[_0x22b38a[_0x4c4088(0x3ca)]=0x36b3]=_0x4c4088(0x3ca),_0x22b38a[_0x22b38a[_0x4c4088(0x389)]=0x36b4]=_0x4c4088(0x389),_0x22b38a[_0x22b38a[_0x4c4088(0x2ae)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x22b38a[_0x22b38a[_0x4c4088(0x1b5)]=0x36b6]=_0x4c4088(0x1b5),_0x22b38a[_0x22b38a[_0x4c4088(0x397)]=0x36b7]=_0x4c4088(0x397),_0x22b38a[_0x22b38a[_0x4c4088(0x3ab)]=0x36b8]=_0x4c4088(0x3ab),_0x22b38a[_0x22b38a[_0x4c4088(0x39b)]=0x3715]=_0x4c4088(0x39b),_0x22b38a[_0x22b38a[_0x4c4088(0x17a)]=0x3716]=_0x4c4088(0x17a),_0x22b38a[_0x22b38a['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x4c4088(0x42e),_0x22b38a[_0x22b38a[_0x4c4088(0x2df)]=0x37dd]=_0x4c4088(0x2df),_0x22b38a[_0x22b38a[_0x4c4088(0x25e)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x22b38a[_0x22b38a[_0x4c4088(0x236)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x22b38a[_0x22b38a['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x22b38a[_0x22b38a[_0x4c4088(0x2f2)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x22b38a[_0x22b38a[_0x4c4088(0x410)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x22b38a[_0x22b38a[_0x4c4088(0x39d)]=0x3a9e]=_0x4c4088(0x39d),_0x22b38a[_0x22b38a[_0x4c4088(0x1ea)]=0x3a9f]=_0x4c4088(0x1ea),_0x22b38a[_0x22b38a[_0x4c4088(0x19a)]=0x3e81]=_0x4c4088(0x19a),_0x22b38a[_0x22b38a[_0x4c4088(0x484)]=-0x1]=_0x4c4088(0x484),_0x22b38a;}({}),_0x194d58=function(_0x57ddb0){const _0x3bc0e0=_0x388c16;return _0x57ddb0[_0x57ddb0[_0x3bc0e0(0x430)]=0x0]=_0x3bc0e0(0x430),_0x57ddb0[_0x57ddb0['UNIVER_DOC']=0x1]=_0x3bc0e0(0x38b),_0x57ddb0[_0x57ddb0[_0x3bc0e0(0x464)]=0x2]=_0x3bc0e0(0x464),_0x57ddb0[_0x57ddb0[_0x3bc0e0(0x447)]=0x3]=_0x3bc0e0(0x447),_0x57ddb0[_0x57ddb0[_0x3bc0e0(0x428)]=0x4]=_0x3bc0e0(0x428),_0x57ddb0[_0x57ddb0['UNRECOGNIZED']=-0x1]=_0x3bc0e0(0x484),_0x57ddb0;}({}),_0x4e3953=function(_0xf48a4c){const _0x5ee26c=_0x388c16;return _0xf48a4c[_0xf48a4c['UNKNOWN_CMD']=0x0]=_0x5ee26c(0x45c),_0xf48a4c[_0xf48a4c['HELLO']=0x1]=_0x5ee26c(0x3a2),_0xf48a4c[_0xf48a4c[_0x5ee26c(0x3dd)]=0x2]=_0x5ee26c(0x3dd),_0xf48a4c[_0xf48a4c[_0x5ee26c(0x2f4)]=0x3]='LEAVE',_0xf48a4c[_0xf48a4c[_0x5ee26c(0x4b9)]=0x4]=_0x5ee26c(0x4b9),_0xf48a4c[_0xf48a4c[_0x5ee26c(0x333)]=0x5]=_0x5ee26c(0x333),_0xf48a4c[_0xf48a4c[_0x5ee26c(0x16f)]=0x6]=_0x5ee26c(0x16f),_0xf48a4c[_0xf48a4c[_0x5ee26c(0x484)]=-0x1]=_0x5ee26c(0x484),_0xf48a4c;}({}),_0x47fe30=function(_0xb5bfaa){const _0x1d01b1=_0x388c16;return _0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x284)]=0x0]=_0x1d01b1(0x284),_0xb5bfaa[_0xb5bfaa['OK']=0x1]='OK',_0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x198)]=0x2]='FAIL',_0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x1fd)]=0x3e9]=_0x1d01b1(0x1fd),_0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x278)]=0x3ea]=_0x1d01b1(0x278),_0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x47e)]=0x3eb]=_0x1d01b1(0x47e),_0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x4eb)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xb5bfaa[_0xb5bfaa[_0x1d01b1(0x484)]=-0x1]=_0x1d01b1(0x484),_0xb5bfaa;}({}),_0x25178b=function(_0x2bd515){const _0x326a89=_0x388c16;return _0x2bd515[_0x2bd515[_0x326a89(0x42f)]=0x0]=_0x326a89(0x42f),_0x2bd515[_0x2bd515[_0x326a89(0x166)]=0x1]='HttpImport',_0x2bd515[_0x2bd515[_0x326a89(0x365)]=0x2]='HttpExport',_0x2bd515[_0x2bd515[_0x326a89(0x406)]=0x3]=_0x326a89(0x406),_0x2bd515[_0x2bd515[_0x326a89(0x3d5)]=0x4]=_0x326a89(0x3d5),_0x2bd515[_0x2bd515[_0x326a89(0x1b2)]=0x5]='UserProfileImg',_0x2bd515[_0x2bd515[_0x326a89(0x4e5)]=0x6]=_0x326a89(0x4e5),_0x2bd515[_0x2bd515[_0x326a89(0x484)]=-0x1]=_0x326a89(0x484),_0x2bd515;}({});function _0x11b808(_0x13842c){const _0x19356b=_0x388c16;return JSON[_0x19356b(0x1f7)](_0x13842c)['length'];}function _0x20f783(_0x1b1dff){'@babel/helpers - typeof';const _0x383901=_0x388c16;return _0x20f783=typeof Symbol==_0x383901(0x4f0)&&typeof Symbol[_0x383901(0x3b0)]=='symbol'?function(_0x1bb926){return typeof _0x1bb926;}:function(_0x39116a){const _0x2bef72=_0x383901;return _0x39116a&&typeof Symbol==_0x2bef72(0x4f0)&&_0x39116a[_0x2bef72(0x15e)]===Symbol&&_0x39116a!==Symbol[_0x2bef72(0x3b4)]?_0x2bef72(0x43f):typeof _0x39116a;},_0x20f783(_0x1b1dff);}function _0x418fb1(_0x14e3e4,_0x4951cf){const _0x157e8f=_0x388c16;if(_0x20f783(_0x14e3e4)!=_0x157e8f(0x2cd)||!_0x14e3e4)return _0x14e3e4;var _0x2862c3=_0x14e3e4[Symbol[_0x157e8f(0x429)]];if(_0x2862c3!==void 0x0){var _0x295ead=_0x2862c3['call'](_0x14e3e4,_0x4951cf||_0x157e8f(0x34c));if(_0x20f783(_0x295ead)!='object')return _0x295ead;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4951cf===_0x157e8f(0x3e4)?String:Number)(_0x14e3e4);}function _0x185a24(_0x51a09e){const _0x16efab=_0x388c16;var _0x278f3b=_0x418fb1(_0x51a09e,_0x16efab(0x3e4));return _0x20f783(_0x278f3b)=='symbol'?_0x278f3b:_0x278f3b+'';}function _0x167995(_0x28fe14,_0x5e7cea,_0x36e292){return(_0x5e7cea=_0x185a24(_0x5e7cea))in _0x28fe14?Object['defineProperty'](_0x28fe14,_0x5e7cea,{'value':_0x36e292,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x28fe14[_0x5e7cea]=_0x36e292,_0x28fe14;}let _0x577fae=function(_0x33b36f){const _0x583afd=_0x388c16;return _0x33b36f[_0x583afd(0x4c4)]=_0x583afd(0x4c4),_0x33b36f[_0x583afd(0x178)]=_0x583afd(0x178),_0x33b36f[_0x583afd(0x319)]='CONFLICT',_0x33b36f[_0x583afd(0x215)]=_0x583afd(0x215),_0x33b36f[_0x583afd(0x28f)]=_0x583afd(0x28f),_0x33b36f['SOCKET_FAILED_RETRY']=_0x583afd(0x498),_0x33b36f[_0x583afd(0x41f)]=_0x583afd(0x41f),_0x33b36f[_0x583afd(0x457)]=_0x583afd(0x457),_0x33b36f;}({});var _0x20dd8a=class{constructor(){const _0x5dd6da=_0x388c16;_0x167995(this,'_event$',new _0x1d90a6[(_0x5dd6da(0x310))]()),_0x167995(this,_0x5dd6da(0x458),this['_event$'][_0x5dd6da(0x377)]());}[_0x388c16(0x14f)](_0xb4fb65){const _0x287fbc=_0x388c16;this[_0x287fbc(0x16d)][_0x287fbc(0x2fd)](_0xb4fb65);}},_0x147ce6=class{constructor(){const _0x52e01a=_0x388c16;_0x167995(this,_0x52e01a(0x427),new _0x1d90a6[(_0x52e01a(0x310))]()),_0x167995(this,_0x52e01a(0x4d6),this[_0x52e01a(0x427)][_0x52e01a(0x377)]());}[_0x388c16(0x38d)](_0x1870bd){const _0x21b9b9=_0x388c16;this[_0x21b9b9(0x427)][_0x21b9b9(0x2fd)](_0x1870bd);}};function _0x4923f4(_0x92b14d,_0x2886ee){return function(_0x11b02c,_0x4ce3f4){_0x2886ee(_0x11b02c,_0x4ce3f4,_0x92b14d);};}function _0x3ecedb(_0x511db1,_0x807f17,_0x303761,_0x42f966){const _0xe83b3c=_0x388c16;var _0x90773b=arguments[_0xe83b3c(0x1a3)],_0x30c6cd=_0x90773b<0x3?_0x807f17:_0x42f966===null?_0x42f966=Object['getOwnPropertyDescriptor'](_0x807f17,_0x303761):_0x42f966,_0x3e861d;if(typeof Reflect==_0xe83b3c(0x2cd)&&typeof Reflect[_0xe83b3c(0x1df)]==_0xe83b3c(0x4f0))_0x30c6cd=Reflect[_0xe83b3c(0x1df)](_0x511db1,_0x807f17,_0x303761,_0x42f966);else{for(var _0x34c8ce=_0x511db1[_0xe83b3c(0x1a3)]-0x1;_0x34c8ce>=0x0;_0x34c8ce--)(_0x3e861d=_0x511db1[_0x34c8ce])&&(_0x30c6cd=(_0x90773b<0x3?_0x3e861d(_0x30c6cd):_0x90773b>0x3?_0x3e861d(_0x807f17,_0x303761,_0x30c6cd):_0x3e861d(_0x807f17,_0x303761))||_0x30c6cd);}return _0x90773b>0x3&&_0x30c6cd&&Object[_0xe83b3c(0x2e8)](_0x807f17,_0x303761,_0x30c6cd),_0x30c6cd;}let _0x2ca67a=class extends _0x4c9691[_0x388c16(0x292)]{constructor(_0x20fabd,_0x27ca2d){const _0x37a3f9=_0x388c16;super(),this[_0x37a3f9(0x371)]=_0x20fabd,this[_0x37a3f9(0x354)]=_0x27ca2d,_0x167995(this,_0x37a3f9(0x2e2),new Map()),_0x167995(this,_0x37a3f9(0x14d),new _0x1d90a6['Subject']()),this[_0x37a3f9(0x435)]((0x0,_0x1d90a6[_0x37a3f9(0x3a6)])(this[_0x37a3f9(0x371)]['getTypeOfUnitDisposed$'](_0x4c9691[_0x37a3f9(0x385)][_0x37a3f9(0x464)])[_0x37a3f9(0x3f8)]((0x0,_0x29e3de[_0x37a3f9(0x1da)])(_0x369fa2=>_0x369fa2[_0x37a3f9(0x323)]())),this[_0x37a3f9(0x371)][_0x37a3f9(0x1b4)](_0x4c9691[_0x37a3f9(0x385)][_0x37a3f9(0x38b)])['pipe']((0x0,_0x29e3de['map'])(_0x2eca93=>_0x2eca93[_0x37a3f9(0x323)]())),this[_0x37a3f9(0x371)][_0x37a3f9(0x1b4)](_0x4c9691[_0x37a3f9(0x385)][_0x37a3f9(0x447)])['pipe']((0x0,_0x29e3de['map'])(_0x58c346=>_0x58c346[_0x37a3f9(0x323)]())))['subscribe'](_0x91750b=>this[_0x37a3f9(0x424)](_0x91750b)));}[_0x388c16(0x48a)](_0x6e7d7f){const _0x1b95ad=_0x388c16;return this[_0x1b95ad(0x2e2)][_0x1b95ad(0x4ca)](_0x6e7d7f)?(0x0,_0x1d90a6['of'])(this[_0x1b95ad(0x2e2)]['get'](_0x6e7d7f)):this['_roomCreated$'][_0x1b95ad(0x3f8)]((0x0,_0x29e3de[_0x1b95ad(0x1da)])(_0x1e1c08=>{const _0x2c17ee=_0x1b95ad;if(_0x1e1c08===_0x6e7d7f)return this[_0x2c17ee(0x2e2)][_0x2c17ee(0x1c6)](_0x1e1c08);}));}[_0x388c16(0x452)](_0x1a04c7){const _0x11ad03=_0x388c16;this['_userManagerService'][_0x11ad03(0x452)](_0x1a04c7);}[_0x388c16(0x16a)](){const _0x21643c=_0x388c16;return this['_userManagerService'][_0x21643c(0x16a)]();}['updateMember'](_0x2a931b,_0x3eb451){const _0x5f3af3=_0x388c16;let _0x5672c5=this[_0x5f3af3(0x2e2)]['get'](_0x2a931b);_0x5672c5||(_0x5672c5=new _0x3c0ff4(),this[_0x5f3af3(0x2e2)][_0x5f3af3(0x163)](_0x2a931b,_0x5672c5),this[_0x5f3af3(0x14d)][_0x5f3af3(0x2fd)](_0x2a931b)),_0x5672c5[_0x5f3af3(0x252)](_0x3eb451);}[_0x388c16(0x35a)](_0xf15daf,_0x5d049f){const _0x353b5f=_0x388c16;let _0x312b11=this[_0x353b5f(0x2e2)][_0x353b5f(0x1c6)](_0xf15daf);_0x312b11&&_0x312b11[_0x353b5f(0x35a)](_0x5d049f);}[_0x388c16(0x268)](_0xf40df2){return this['_roomMembers']['get'](_0xf40df2);}[_0x388c16(0x260)](_0x33a9c9,_0x8f7cfb){const _0x358ec1=_0x388c16;let _0x597fce=this[_0x358ec1(0x2e2)]['get'](_0x33a9c9);if(_0x597fce)return _0x597fce[_0x358ec1(0x260)](_0x8f7cfb);}[_0x388c16(0x424)](_0x3a90ef){const _0x5ce1dc=_0x388c16;let _0x44f740=this[_0x5ce1dc(0x2e2)][_0x5ce1dc(0x1c6)](_0x3a90ef);_0x44f740&&(_0x44f740[_0x5ce1dc(0x16e)](),this[_0x5ce1dc(0x2e2)][_0x5ce1dc(0x18b)](_0x3a90ef));}[_0x388c16(0x16e)](){const _0x122121=_0x388c16;this[_0x122121(0x2e2)][_0x122121(0x1d5)](_0x46c65e=>_0x46c65e[_0x122121(0x16e)]()),this[_0x122121(0x2e2)]['clear'](),this[_0x122121(0x14d)][_0x122121(0x303)]();}};_0x2ca67a=_0x3ecedb([_0x4923f4(0x0,_0x4c9691[_0x388c16(0x384)]),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x346)]))],_0x2ca67a);var _0x3c0ff4=class extends _0x4c9691[_0x388c16(0x292)]{constructor(..._0x2b281e){const _0x2b5612=_0x388c16;super(..._0x2b281e),_0x167995(this,_0x2b5612(0x18d),new Map()),_0x167995(this,'_members$',new _0x1d90a6['BehaviorSubject'](this[_0x2b5612(0x18d)])),_0x167995(this,_0x2b5612(0x421),this[_0x2b5612(0x243)]['asObservable']());}[_0x388c16(0x16e)](){const _0x2b01d8=_0x388c16;this[_0x2b01d8(0x18d)][_0x2b01d8(0x3c8)]();}[_0x388c16(0x252)](_0x4879c0){const _0x386785=_0x388c16;this[_0x386785(0x18d)][_0x386785(0x163)](_0x4879c0[_0x386785(0x379)],_0x4879c0),this[_0x386785(0x4f3)]();}[_0x388c16(0x35a)](_0xe1c9a5){const _0x4951a0=_0x388c16;this[_0x4951a0(0x18d)][_0x4951a0(0x18b)](_0xe1c9a5);}[_0x388c16(0x260)](_0x146d83){return this['_members']['get'](_0x146d83);}['getAllMembers'](){const _0x202178=_0x388c16;return Array[_0x202178(0x462)](this['_members'][_0x202178(0x1ad)]());}[_0x388c16(0x4f3)](){const _0x5fdf9d=_0x388c16;this[_0x5fdf9d(0x243)][_0x5fdf9d(0x2fd)](this[_0x5fdf9d(0x18d)]);}};let _0x16446d=function(_0x256612){const _0x53d35d=_0x388c16;return _0x256612[_0x256612[_0x53d35d(0x392)]=0x0]=_0x53d35d(0x392),_0x256612[_0x256612[_0x53d35d(0x4ae)]=0x1]=_0x53d35d(0x4ae),_0x256612[_0x256612[_0x53d35d(0x2a5)]=0x2]=_0x53d35d(0x2a5),_0x256612[_0x256612[_0x53d35d(0x1a5)]=0x3]=_0x53d35d(0x1a5),_0x256612;}({}),_0xf242bd={[_0x47fe30[_0x388c16(0x198)]]:_0x388c16(0x208),[_0x47fe30[_0x388c16(0x1fd)]]:_0x388c16(0x23b),[_0x47fe30['JOIN_ROOM_NOT_EXISTS']]:_0x388c16(0x453),[_0x47fe30[_0x388c16(0x47e)]]:'session.room-permission-denied',[_0x47fe30[_0x388c16(0x4eb)]]:'session.room-cnt-exceeds'},_0x4da542=class extends _0x4c9691[_0x388c16(0x433)]{get[_0x388c16(0x1c5)](){const _0x1e011a=_0x388c16;return this['_sessionStatus$'][_0x1e011a(0x4a5)]();}constructor(_0x50ffc4,_0x40e817,_0x8e453d,_0x57c82a,_0x8e26aa,_0xcc92d1,_0x47823a,_0x35a446){const _0x1381e4=_0x388c16;super(),this[_0x1381e4(0x3cf)]=_0x50ffc4,this[_0x1381e4(0x3f1)]=_0x8e453d,this[_0x1381e4(0x28a)]=_0x57c82a,this[_0x1381e4(0x3ce)]=_0x8e26aa,this[_0x1381e4(0x212)]=_0xcc92d1,this[_0x1381e4(0x1ec)]=_0x47823a,this['_telemetryService']=_0x35a446,_0x167995(this,'_sessionStatus$',new _0x1d90a6[(_0x1381e4(0x26f))](_0x16446d[_0x1381e4(0x392)])),_0x167995(this,_0x1381e4(0x363),this[_0x1381e4(0x367)][_0x1381e4(0x377)]()),_0x167995(this,_0x1381e4(0x16d),new _0x1d90a6[(_0x1381e4(0x310))]()),_0x167995(this,_0x1381e4(0x458),this[_0x1381e4(0x16d)][_0x1381e4(0x377)]()),_0x167995(this,_0x1381e4(0x186),void 0x0),_0x167995(this,'_socketMessageSubscription',void 0x0),_0x167995(this,'_collaborationTimeoutTimer',void 0x0),_0x167995(this,_0x1381e4(0x1dd),!0x1),_0x167995(this,_0x1381e4(0x1bf),null),this[_0x1381e4(0x1dd)]=!!this['_telemetryService'],_0x40e817[_0x1381e4(0x3f8)]((0x0,_0x1d90a6['takeUntil'])(this[_0x1381e4(0x473)]))[_0x1381e4(0x339)](_0x22c4af=>{const _0x572daa=_0x1381e4;if(_0x22c4af!==void 0x0){if(this[_0x572daa(0x186)]=_0x22c4af,_0x22c4af)this[_0x572daa(0x3ba)](_0x22c4af),this[_0x572daa(0x184)]=_0x22c4af[_0x572daa(0x4bc)][_0x572daa(0x339)](_0x192d0d=>{const _0x6e9d9=_0x572daa;_0x192d0d[_0x6e9d9(0x25b)]===this[_0x6e9d9(0x3cf)]&&this['_onCombEvent'](_0x192d0d);});else{var _0x278d73;this[_0x572daa(0x2fb)](),this['_sessionStatus$']['next'](_0x16446d['OFFLINE']),(_0x278d73=this['_socketMessageSubscription'])==null||_0x278d73[_0x572daa(0x2d9)](),this['_socketMessageSubscription']=null;}}});}[_0x388c16(0x3db)](){var _0x3ec936,_0x24e3e4;return(_0x3ec936=(_0x24e3e4=this['_socket'])==null?void 0x0:_0x24e3e4['memberID'])==null?null:_0x3ec936;}[_0x388c16(0x16e)](){const _0xb91dc4=_0x388c16;super[_0xb91dc4(0x16e)](),this[_0xb91dc4(0x28b)](),this[_0xb91dc4(0x473)]['next'](),this[_0xb91dc4(0x473)][_0xb91dc4(0x303)]();}[_0x388c16(0x28b)](){const _0xe163a7=_0x388c16;var _0x39221c,_0x43be54;this[_0xe163a7(0x2fb)](),(_0x39221c=this[_0xe163a7(0x186)])==null||_0x39221c[_0xe163a7(0x302)]({'cmd':_0x4e3953[_0xe163a7(0x2f4)],'data':{'roomID':this[_0xe163a7(0x3cf)]}}),(_0x43be54=this[_0xe163a7(0x186)])==null||_0x43be54[_0xe163a7(0x28b)](),this[_0xe163a7(0x16d)][_0xe163a7(0x303)](),this[_0xe163a7(0x367)][_0xe163a7(0x303)]();}[_0x388c16(0x283)](_0x3704d9){const _0x13ef0e=_0x388c16;_0x3704d9[_0x13ef0e(0x239)]===_0x4e3953[_0x13ef0e(0x3dd)]?this[_0x13ef0e(0x3e5)](_0x3704d9):_0x3704d9[_0x13ef0e(0x239)]===_0x4e3953['RECV']&&this[_0x13ef0e(0x1cc)](_0x3704d9);}['_joinRoom'](_0x37c72b){const _0x3e7bd0=_0x388c16;this[_0x3e7bd0(0x367)][_0x3e7bd0(0x2fd)](_0x16446d[_0x3e7bd0(0x4ae)]),_0x37c72b[_0x3e7bd0(0x302)]({'cmd':_0x4e3953[_0x3e7bd0(0x3dd)],'routeKey':this[_0x3e7bd0(0x3cf)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3e7bd0(0x3cf)]}]}});}['_onJoinRoomEvent'](_0x109536){const _0x532d0a=_0x388c16;var _0x50613b;if(_0x109536[_0x532d0a(0x309)]in _0xf242bd){this['_collaborationUIEventService']['emitEvent']({'id':_0x577fae['JOIN_ROOM_FAILED'],'data':_0xf242bd[_0x109536['code']]}),this[_0x532d0a(0x367)][_0x532d0a(0x2fd)](_0x16446d[_0x532d0a(0x2a5)]);return;}this[_0x532d0a(0x367)][_0x532d0a(0x2fd)](_0x16446d[_0x532d0a(0x1a5)]);let _0x3efd8d=(_0x50613b=_0x109536[_0x532d0a(0x1d1)][_0x532d0a(0x218)][this['_unitID']])==null?void 0x0:_0x50613b[_0x532d0a(0x352)];_0x3efd8d&&_0x3efd8d[_0x532d0a(0x1d5)](_0x2ac5b6=>this[_0x532d0a(0x3ce)]['updateMember'](this[_0x532d0a(0x3cf)],_0x2ac5b6));}[_0x388c16(0x1cc)](_0x23c071){const _0x25db8f=_0x388c16;try{let _0x23855e=_0x23c071[_0x25db8f(0x1d1)];switch(_0x23855e[_0x25db8f(0x1d3)]){case _0x22113f['CollaborationEvent'][_0x25db8f(0x4f1)]:this[_0x25db8f(0x25a)](_0x23855e),this[_0x25db8f(0x16d)]['next'](_0x23855e);break;case _0x22113f[_0x25db8f(0x3f5)][_0x25db8f(0x1b6)]:this[_0x25db8f(0x2fa)](_0x23855e),this[_0x25db8f(0x16d)][_0x25db8f(0x2fd)](_0x23855e);break;case _0x22113f[_0x25db8f(0x3f5)]['CHANGESET_ACK']:case _0x22113f[_0x25db8f(0x3f5)][_0x25db8f(0x35b)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x25db8f(0x16d)]['next'](_0x23855e);break;case _0x22113f[_0x25db8f(0x3f5)][_0x25db8f(0x2ea)]:this[_0x25db8f(0x3f1)]['error'](_0x25db8f(0x35f)+JSON['stringify'](_0x23855e)),this[_0x25db8f(0x16d)][_0x25db8f(0x2fd)](_0x23855e);break;case _0x22113f[_0x25db8f(0x3f5)]['COMMENT_UPDATE']:this[_0x25db8f(0x212)]['onCommentUpdate'](_0x23855e['data']),this[_0x25db8f(0x16d)]['next'](_0x23855e);break;default:this['_event$'][_0x25db8f(0x2fd)](_0x23855e);}}catch(_0x4d7647){this[_0x25db8f(0x3f1)][_0x25db8f(0x1fa)](_0x4d7647,_0x23c071);}}[_0x388c16(0x25a)](_0x366457){const _0x3b62d7=_0x388c16;this[_0x3b62d7(0x3ce)]['updateMember'](this[_0x3b62d7(0x3cf)],_0x366457[_0x3b62d7(0x1d1)]);}[_0x388c16(0x2fa)](_0x531883){const _0x4d4c64=_0x388c16;this[_0x4d4c64(0x3ce)]['removeMember'](this[_0x4d4c64(0x3cf)],_0x531883[_0x4d4c64(0x1d1)][_0x4d4c64(0x379)]);}async[_0x388c16(0x302)](_0x24bebf,_0x3e5341){const _0x1830e6=_0x388c16;if(this[_0x1830e6(0x1c5)]!==_0x16446d['ONLINE']||!this[_0x1830e6(0x186)])throw Error(_0x1830e6(0x455));try{_0x24bebf['eventID']===_0x22113f['CollaborationEvent'][_0x1830e6(0x4a3)]&&(this[_0x1830e6(0x24b)](),this[_0x1830e6(0x269)](_0x24bebf)),this['_socket'][_0x1830e6(0x302)]({'cmd':_0x4e3953[_0x1830e6(0x4b9)],'routeKey':_0x3e5341,'routeType':'','data':_0x24bebf});}catch(_0x1d5cfc){this[_0x1830e6(0x3f1)][_0x1830e6(0x1fa)](_0x1d5cfc);}}[_0x388c16(0x24b)](){const _0x17bfc0=_0x388c16;var _0x414e6e;this[_0x17bfc0(0x4bf)]=setTimeout(()=>{const _0x2f4c0a=_0x17bfc0;this[_0x2f4c0a(0x4bf)]=null,this[_0x2f4c0a(0x1ec)][_0x2f4c0a(0x14f)]({'id':_0x577fae['SUBMIT_CHANGESET_TIMEOUT']});},(_0x414e6e=this[_0x17bfc0(0x28a)][_0x17bfc0(0x438)](_0x17bfc0(0x36f)))==null?_0x1790d5:_0x414e6e);}[_0x388c16(0x290)](){const _0x5753bf=_0x388c16;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5753bf(0x4bf)]),this[_0x5753bf(0x4bf)]=null);}[_0x388c16(0x269)](_0x39a030){const _0x2ddb7a=_0x388c16;if(!this[_0x2ddb7a(0x1dd)])return;let {data:_0x51a015}=_0x39a030,{unitID:_0x46b2ae,changeset:_0x17b532}=_0x51a015,{mutations:_0x234d90,type:_0x354bad}=_0x17b532;this[_0x2ddb7a(0x1bf)]={'unitId':_0x46b2ae,'type':_0x354bad,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x11b808(_0x234d90)};}[_0x388c16(0x45e)](){const _0x165fe1=_0x388c16;if(this[_0x165fe1(0x1dd)]){if(!this[_0x165fe1(0x1bf)]){this[_0x165fe1(0x3f1)][_0x165fe1(0x1fa)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x165fe1(0x1bf)][_0x165fe1(0x3f7)]=performance[_0x165fe1(0x329)](),this[_0x165fe1(0x1bf)][_0x165fe1(0x222)]=this[_0x165fe1(0x1bf)][_0x165fe1(0x3f7)]-this[_0x165fe1(0x1bf)][_0x165fe1(0x3f9)],this[_0x165fe1(0x4d0)][_0x165fe1(0x4f5)]('collaboration_new_changeset',this[_0x165fe1(0x1bf)]),this['_telemetryInfo']=null;}}[_0x388c16(0x2fb)](){this['_telemetryInfo']=null;}};_0x4da542=_0x3ecedb([_0x4923f4(0x2,_0x4c9691['ILogService']),_0x4923f4(0x3,_0x4c9691[_0x388c16(0x28d)]),_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x2ca67a)),_0x4923f4(0x5,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x147ce6)),_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x20dd8a)),_0x4923f4(0x7,(0x0,_0x4c9691['Optional'])(_0x24d3ba[_0x388c16(0x2f8)]))],_0x4da542);let _0xd5c1f1=(0x0,_0x4c9691['createIdentifier'])(_0x388c16(0x3b5));function _0x71832(_0x5a1dea){return'unit-cache-'+_0x5a1dea;}function _0x37f253(_0x4f98cb){const _0x4d2270=_0x388c16;let {unitID:_0x2f67d8,mutations:_0x3f067a}=_0x4f98cb;return{'unitId':_0x2f67d8,'subUnitId':_0x3f067a[_0x4d2270(0x1a3)]>0x0?_0x3f067a[0x0][_0x4d2270(0x1bb)][_0x4d2270(0x370)]:null};}let _0x4d2785=class{constructor(_0x24215b,_0x3d1121,_0x5bd326){this['_injector']=_0x24215b,this['_transformService']=_0x3d1121,this['_instanceService']=_0x5bd326;}[_0x388c16(0x1db)](_0x235f8b){const _0x1d156b=_0x388c16;var _0x2c6880,_0x43338b;let _0x10e3b7=this[_0x1d156b(0x31f)][_0x1d156b(0x1c6)](_0x190d88[_0x1d156b(0x1e6)]),{unitId:_0x10cb6d,subUnitId:_0x5c8840}=_0x37f253(_0x235f8b),_0x373ea1=_0x10e3b7==null?void 0x0:_0x10e3b7['getWorkbookSelections'](_0x10cb6d)['getCurrentSelections'](),_0x1b1d69=(_0x2c6880=this[_0x1d156b(0x44e)][_0x1d156b(0x47c)](_0x10cb6d))==null||(_0x2c6880=_0x2c6880[_0x1d156b(0x40b)]())==null?void 0x0:_0x2c6880[_0x1d156b(0x2e9)]();if(_0x373ea1[_0x1d156b(0x1a3)]===0x0||!_0x10cb6d||!_0x5c8840)return;let _0x12d73b=[{'id':_0x190d88[_0x1d156b(0x244)]['id'],'params':{'unitId':_0x10cb6d,'subUnitId':_0x1b1d69,'selections':_0x4c9691[_0x1d156b(0x2b2)]['deepClone'](_0x373ea1)}}],_0x598ba9=this[_0x1d156b(0x14e)][_0x1d156b(0x409)](_0x235f8b,_0x12d73b);if(!(0x0,_0x22113f[_0x1d156b(0x47a)])(_0x598ba9))throw _0x598ba9['error'];let _0x1f887b=(_0x43338b=_0x598ba9[_0x1d156b(0x172)][0x0])==null||(_0x43338b=_0x43338b[_0x1d156b(0x1bb)])==null?void 0x0:_0x43338b[_0x1d156b(0x2a2)];if(Array[_0x1d156b(0x23e)](_0x1f887b)&&_0x1f887b[_0x1d156b(0x1a3)]){if(_0x1f887b[_0x1d156b(0x1a3)]===_0x12d73b[0x0]['params'][_0x1d156b(0x2a2)]['length']&&_0x1f887b[_0x1d156b(0x2ef)]((_0x26fed3,_0x23d055)=>_0x4c9691[_0x1d156b(0x2e7)][_0x1d156b(0x183)](_0x26fed3[_0x1d156b(0x29e)],_0x12d73b[0x0][_0x1d156b(0x1bb)]['selections'][_0x23d055]['range'])))return;this[_0x1d156b(0x31f)][_0x1d156b(0x1c6)](_0x4c9691[_0x1d156b(0x225)])[_0x1d156b(0x4ef)](_0x190d88[_0x1d156b(0x244)]['id'],{'unitId':_0x10cb6d,'subUnitId':_0x1b1d69,'selections':_0x1f887b});}}};_0x4d2785=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691['Inject'])(_0x4c9691['Injector'])),_0x4923f4(0x1,_0x22113f[_0x388c16(0x463)]),_0x4923f4(0x2,_0x4c9691[_0x388c16(0x384)])],_0x4d2785);let _0xfce292=(0x0,_0x4c9691['createIdentifier'])(_0x388c16(0x41d)),_0x129273=function(_0x75c075){const _0x367847=_0x388c16;return _0x75c075[_0x75c075[_0x367847(0x4b5)]=0x0]=_0x367847(0x4b5),_0x75c075[_0x75c075['OTHER_CLIENTS_EDITING']=0x1]=_0x367847(0x4a2),_0x75c075;}({}),_0x52c9fb=_0x388c16(0x448);Symbol(_0x52c9fb);let _0x61d523={};function _0x52d99c(_0x242941){const _0x2f4829=_0x388c16;var _0x32aa6a;return!!((_0x32aa6a=_0x242941[_0x2f4829(0x1bb)])!=null&&_0x32aa6a[_0x2f4829(0x43e)]);}let _0x57c952=new Set([_0x190d88['InsertSheetMutation']['id']]);function _0x455b37(_0x408ed9,_0x74d6f3,_0xf73d42,_0x3b3bc8,_0x4a9243){const _0x2ce3bb=_0x388c16;var _0x447aba,_0x257a55,_0x22ba1b,_0x5575f9;let _0x55f6c3=[];for(let _0x34ee50 of _0x408ed9){if(_0x57c952[_0x2ce3bb(0x4ca)](_0x34ee50['id'])){if(_0x55f6c3[_0x2ce3bb(0x1a3)]>0x0)break;_0x55f6c3[_0x2ce3bb(0x221)](_0x34ee50);break;}if(_0x52d99c(_0x34ee50)){if(_0x55f6c3[_0x2ce3bb(0x1a3)]>0x0)break;_0x55f6c3[_0x2ce3bb(0x221)](_0x34ee50);break;}_0x55f6c3[_0x2ce3bb(0x221)](_0x34ee50);}let _0x51a2e0=(_0x447aba=(_0x257a55=_0x4a9243[_0x2ce3bb(0x16a)]())==null?void 0x0:_0x257a55[_0x2ce3bb(0x2ee)])==null?_0x2ce3bb(0x1cf):_0x447aba,_0x3fd3ec=(_0x22ba1b=(_0x5575f9=_0x4a9243['getCurrentUser']())==null?void 0x0:_0x5575f9[_0x2ce3bb(0x379)])==null?_0x2ce3bb(0x1cf):_0x22ba1b;return{'changeset':{'unitID':_0x74d6f3,'type':(0x0,_0x22113f[_0x2ce3bb(0x4ba)])(_0xf73d42[_0x2ce3bb(0x33c)](_0x74d6f3)),'baseRev':_0x3b3bc8[_0x2ce3bb(0x4ee)](_0x74d6f3),'revision':0x0,'userID':_0x51a2e0,'memberID':_0x3fd3ec,'mutations':_0x55f6c3},'pendingMutations':_0x408ed9[_0x2ce3bb(0x342)](_0x55f6c3[_0x2ce3bb(0x1a3)])};}function _0x25a320(_0x20a908,_0x5a17ca,_0x40433f,_0x4f7163,_0x2ed239){const _0x2bc733=_0x388c16;var _0x414623,_0x261fbb,_0x261de3,_0xe32085;let _0x42ee00=[_0x20a908[_0x2bc733(0x17e)]((_0x89e1b1,_0x196385)=>{const _0x2cf7bc=_0x2bc733;var _0x5b6a36;let {id:_0x28801c}=_0x89e1b1,{id:_0x32ad13,type:_0x532c02}=_0x196385,_0x5cc034=(_0x5b6a36=_0x89e1b1[_0x2cf7bc(0x1bb)])==null?{'actions':null}:_0x5b6a36,_0x3d25de=_0x196385['params'];if(_0x28801c&&_0x28801c!==_0x32ad13)throw Error(_0x2cf7bc(0x324)+_0x28801c+_0x2cf7bc(0x344)+_0x32ad13+'.');return{..._0x89e1b1,'id':_0x32ad13,'type':_0x532c02,'params':{'unitId':_0x3d25de[_0x2cf7bc(0x1bc)],'textRanges':_0x3d25de['textRanges'],'actions':_0x4c9691[_0x2cf7bc(0x288)][_0x2cf7bc(0x3f4)](_0x5cc034[_0x2cf7bc(0x2e4)],_0x3d25de[_0x2cf7bc(0x2e4)])}};},{})],_0x3086b6=(_0x414623=(_0x261fbb=_0x2ed239[_0x2bc733(0x16a)]())==null?void 0x0:_0x261fbb[_0x2bc733(0x2ee)])==null?_0x2bc733(0x1cf):_0x414623,_0xbdafbd=(_0x261de3=(_0xe32085=_0x2ed239[_0x2bc733(0x16a)]())==null?void 0x0:_0xe32085[_0x2bc733(0x379)])==null?_0x2bc733(0x1cf):_0x261de3;return{'changeset':{'unitID':_0x5a17ca,'type':(0x0,_0x22113f['mapDocumentTypeToUniverType'])(_0x40433f[_0x2bc733(0x33c)](_0x5a17ca)),'baseRev':_0x4f7163['getCurrentRevOfUnit'](_0x5a17ca),'revision':0x0,'userID':_0x3086b6,'memberID':_0xbdafbd,'mutations':_0x42ee00},'pendingMutations':[]};}function _0x157d60(_0x20beca,_0x4da3e9){const _0x584ff5=_0x388c16;let _0xca435f=new _0x1d90a6[(_0x584ff5(0x188))](0x1);return setTimeout(()=>_0xca435f[_0x584ff5(0x2fd)](_0x4da3e9),_0x20beca),_0xca435f[_0x584ff5(0x377)]()[_0x584ff5(0x3f8)]((0x0,_0x1d90a6[_0x584ff5(0x468)])(0x1));}var _0xaa424b,_0x10b0f3,_0x31eb15;let _0x44ebbd=function(_0x21de38){const _0x4224c4=_0x388c16;return _0x21de38[_0x4224c4(0x285)]=_0x4224c4(0x49e),_0x21de38['SYNCED']=_0x4224c4(0x2db),_0x21de38[_0x4224c4(0x44a)]=_0x4224c4(0x20a),_0x21de38[_0x4224c4(0x2fc)]=_0x4224c4(0x2c8),_0x21de38[_0x4224c4(0x2f6)]=_0x4224c4(0x3de),_0x21de38[_0x4224c4(0x39a)]=_0x4224c4(0x3ad),_0x21de38[_0x4224c4(0x319)]=_0x4224c4(0x33b),_0x21de38[_0x4224c4(0x2a5)]=_0x4224c4(0x18a),_0x21de38;}({}),_0x3b5c2c=0x4e20,_0x5040ff=0x2bf20;var _0x182a0d=class{constructor(_0xbd9fa2,_0x4ad2d7,_0x22097e,_0x597466,_0xcd9e93,_0x54bd28,_0x3161e2,_0x57fc81,_0x4146d4){const _0x4d4588=_0x388c16;this[_0x4d4588(0x266)]=_0xbd9fa2,this[_0x4d4588(0x2f7)]=_0x4ad2d7,this[_0x4d4588(0x1c4)]=_0xcd9e93,this[_0x4d4588(0x2bd)]=_0x54bd28,this[_0x4d4588(0x1c2)]=_0x3161e2,this[_0x4d4588(0x3c5)]=_0x57fc81,this[_0x4d4588(0x403)]=_0x4146d4,_0x167995(this,_0x4d4588(0x207),null),_0x167995(this,_0x4d4588(0x291),[]),this['_awaitingChangeset']=_0x22097e,this['_pendingMutations']=_0x597466;}['_checkMissing'](_0x170d36){const _0x589c7a=_0x388c16;let _0x418e3e=this['_revisionService'][_0x589c7a(0x4ee)](this[_0x589c7a(0x266)]);return _0x170d36['revision']>_0x418e3e+0x1?(this['_handler'][_0x589c7a(0x263)]({'from':_0x418e3e,'to':_0x170d36[_0x589c7a(0x35d)]-0x1}),!0x0):!0x1;}[_0x388c16(0x1f2)](_0x5e72db){const _0x1d8f37=_0x388c16;this['_undoRedoService'][_0x1d8f37(0x4d5)](this[_0x1d8f37(0x266)],_0x5e72db);}[_0x388c16(0x2dd)](_0x234e1a){const _0x535d93=_0x388c16;var _0x29eed6,_0x217114;(_0x29eed6=(_0x217114=this[_0x535d93(0x1c4)])['onTransformSelections'])==null||_0x29eed6['call'](_0x217114,_0x234e1a);}[_0x388c16(0x4c6)](_0x112e41){const _0xc678d9=_0x388c16;var _0x405694,_0x15937a;return(_0x405694=(_0x15937a=this[_0xc678d9(0x1c4)])[_0xc678d9(0x4f4)])==null?void 0x0:_0x405694[_0xc678d9(0x48c)](_0x15937a,_0x112e41);}[_0x388c16(0x3a7)](_0x13713a){const _0x1b41b1=_0x388c16;var _0x159154,_0x3b0286;return(_0x159154=(_0x3b0286=this[_0x1b41b1(0x1c4)])[_0x1b41b1(0x24f)])==null?void 0x0:_0x159154['call'](_0x3b0286,_0x13713a);}[_0x388c16(0x3c9)](_0x2b6d2b){const _0x1cde44=_0x388c16;var _0x405c5a,_0x45d3c3,_0x510497;return(_0x405c5a=(_0x45d3c3=(_0x510497=this[_0x1cde44(0x1c4)])[_0x1cde44(0x219)])==null?void 0x0:_0x45d3c3['call'](_0x510497,_0x2b6d2b))==null?_0x2b6d2b:_0x405c5a;}[_0x388c16(0x3d7)](_0x2c0f7a){const _0x494e8d=_0x388c16;var _0x5ce2d,_0x59c26d,_0x9b1d0;return(_0x5ce2d=(_0x59c26d=(_0x9b1d0=this[_0x494e8d(0x1c4)])[_0x494e8d(0x43c)])==null?void 0x0:_0x59c26d['call'](_0x9b1d0,_0x2c0f7a))==null?_0x2c0f7a:_0x5ce2d;}[_0x388c16(0x321)](_0xc8ec21){const _0x398d6f=_0x388c16;if(this[_0x398d6f(0x2f7)]===_0x194d58[_0x398d6f(0x38b)]){let {unitID:_0x2f6b9b,mutations:_0x480e0c,memberID:_0x5c027d}=_0xc8ec21,_0x2b97dd=_0x480e0c[_0x398d6f(0x1a3)]>0x0?_0x480e0c[0x0][_0x398d6f(0x1bb)][_0x398d6f(0x32b)]:[];if(Array['isArray'](_0x2b97dd)&&_0x2b97dd[_0x398d6f(0x1a3)]>0x0){var _0x1e909f,_0x46ccdd;(_0x1e909f=(_0x46ccdd=this[_0x398d6f(0x1c4)])[_0x398d6f(0x3c4)])==null||_0x1e909f[_0x398d6f(0x48c)](_0x46ccdd,{'unitID':_0x2f6b9b,'memberID':_0x5c027d,'textRanges':_0x2b97dd});}}}[_0x388c16(0x170)](){const _0x38c65f=_0x388c16;var _0x1f5b7a;(_0x1f5b7a=this['_localCacheService'])==null||_0x1f5b7a[_0x38c65f(0x20e)](this[_0x38c65f(0x266)],this[_0x38c65f(0x2f7)],this[_0x38c65f(0x207)],this['_pendingMutations']);}[_0x388c16(0x4c9)](){const _0x334c57=_0x388c16;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x334c57(0x266)]);}['_incrementRevisionNumber'](){const _0x6fca41=_0x388c16;this['_revisionService'][_0x6fca41(0x155)](this[_0x6fca41(0x266)]);}[_0x388c16(0x232)](_0x530828){const _0x247d27=_0x388c16;let _0x587c5b=this[_0x247d27(0x3c9)](_0x530828);_0x587c5b=this[_0x247d27(0x3d7)](_0x587c5b);let _0x1e5f05=(0x0,_0x4c9691[_0x247d27(0x4e7)])(_0x587c5b[_0x247d27(0x27b)],this[_0x247d27(0x2bd)],{'fromCollab':!0x0});if(!_0x1e5f05[_0x247d27(0x3a1)]){var _0x571888;throw _0x1e5f05[_0x247d27(0x1fa)]instanceof Error?_0x1e5f05['error']:Error((_0x571888=_0x1e5f05['error'])==null?_0x247d27(0x3d8):_0x571888);}this[_0x247d27(0x4c6)](_0x587c5b),this[_0x247d27(0x3a7)](_0x587c5b),this['_transformUndoredo'](_0x530828),this[_0x247d27(0x2dd)](_0x587c5b),this[_0x247d27(0x321)](_0x587c5b),this[_0x247d27(0x490)]();}};let _0x558869=class extends _0x182a0d{constructor(_0x50b14e,_0x4b3528,_0x2c617b,_0x2e9273,_0x2942f1,_0x1a99c3,_0x2e5b7b,_0x332b51,_0x5b1e0e,_0x381311){const _0x14df6d=_0x388c16;super(_0x50b14e,_0x4b3528,null,[],_0x2c617b,_0x2e5b7b,_0x1a99c3,_0x2e9273,_0x381311),this['_injector']=_0x2942f1,this['_logService']=_0x332b51,this[_0x14df6d(0x14e)]=_0x5b1e0e,this[_0x14df6d(0x43a)]=_0x381311,_0x167995(this,'status',_0x44ebbd[_0x14df6d(0x4d8)]);}['appendMutation'](_0x5771d9){const _0x136598=_0x388c16;let _0x3174ac=this[_0x136598(0x31f)][_0x136598(0x251)](_0xdaecc2,this['unitID'],this[_0x136598(0x2f7)],[_0x5771d9],this['_handler']);return _0x3174ac['_schedule'](),_0x3174ac['_updateLocalCache'](),_0x3174ac;}['onRemoteChangeset'](_0x1b6910){const _0x1d0be9=_0x388c16;if(this[_0x1d0be9(0x4be)](_0x1b6910))return this[_0x1d0be9(0x31f)][_0x1d0be9(0x251)](_0x25a93f,this[_0x1d0be9(0x266)],this[_0x1d0be9(0x2f7)],null,[],null,[_0x1b6910],this[_0x1d0be9(0x1c4)]);try{let _0x44e773=this[_0x1d0be9(0x14e)][_0x1d0be9(0x409)](_0x1b6910,[_0x22113f['EmptyMutationInfo']]);if((0x0,_0x22113f['isTransformMutationsWithChangesetSuccess'])(_0x44e773)){let {c1Prime:_0xf5970d}=_0x44e773;return this[_0x1d0be9(0x232)](_0xf5970d),this;}throw _0x44e773['error'];}catch(_0x3c32d6){return this[_0x1d0be9(0x3f1)][_0x1d0be9(0x1fa)](_0x3c32d6),this['_onConflict'](!0x1);}}[_0x388c16(0x35e)](_0x4a9d31){const _0x6ee660=_0x388c16;return this[_0x6ee660(0x31f)][_0x6ee660(0x251)](_0x57790d,this[_0x6ee660(0x266)],this[_0x6ee660(0x2f7)],null,[],this[_0x6ee660(0x1c4)],_0x4a9d31);}['onRemoteAck'](){const _0x3f27eb=_0x388c16;throw Error(_0x3f27eb(0x247));}['onRemoteRej'](){const _0x4c31e8=_0x388c16;throw Error(_0x4c31e8(0x1e1));}[_0x388c16(0x4aa)](){return this;}[_0x388c16(0x1ca)](){const _0x2e984c=_0x388c16;return this[_0x2e984c(0x31f)][_0x2e984c(0x251)](_0x150e04,this[_0x2e984c(0x266)],this['type'],null,[],this[_0x2e984c(0x1c4)]);}['toggleOnline'](){return this;}[_0x388c16(0x308)](){const _0x347552=_0x388c16;throw Error(_0x347552(0x369));}['fetchMiss'](){const _0x25e796=_0x388c16;let _0x4b70c7=this[_0x25e796(0x3c5)]['getCurrentRevOfUnit'](this['unitID']);return this['_handler'][_0x25e796(0x263)]({'from':_0x4b70c7,'to':0x0}),this[_0x25e796(0x31f)][_0x25e796(0x251)](_0x25a93f,this[_0x25e796(0x266)],this[_0x25e796(0x2f7)],null,[],null,[],this[_0x25e796(0x1c4)]);}};_0x558869=_0x3ecedb([_0x4923f4(0x3,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x205)])),_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x5,_0x4c9691[_0x388c16(0x2c3)]),_0x4923f4(0x6,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0x7,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0x8,_0x22113f[_0x388c16(0x463)]),_0x4923f4(0x9,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x558869);let _0xdaecc2=_0xaa424b=class extends _0x182a0d{constructor(_0x1fc4f8,_0x234c9c,_0x550fe3,_0x1f30a3,_0x1dc2f8,_0x59ae04,_0x46e1f8,_0x2c3bfe,_0x1f2406,_0x54651f,_0x499401,_0x1f2d88,_0x3f2173,_0x1915f4){const _0x534a8d=_0x388c16;super(_0x1fc4f8,_0x234c9c,null,_0x550fe3,_0x1f30a3,_0x1f2406,_0x3f2173,_0x59ae04,_0x1915f4),this[_0x534a8d(0x31f)]=_0x1dc2f8,this[_0x534a8d(0x3ce)]=_0x46e1f8,this[_0x534a8d(0x3f1)]=_0x2c3bfe,this[_0x534a8d(0x28a)]=_0x54651f,this[_0x534a8d(0x14e)]=_0x499401,this[_0x534a8d(0x371)]=_0x1f2d88,_0x167995(this,_0x534a8d(0x282),_0x44ebbd[_0x534a8d(0x44a)]),_0x167995(this,_0x534a8d(0x2e6),null),_0x167995(this,'_sendingTimer',null);}[_0x388c16(0x330)](_0xd2e39a){const _0x240612=_0x388c16;return this[_0x240612(0x291)][_0x240612(0x221)](_0xd2e39a),this[_0x240612(0x170)](),this;}[_0x388c16(0x293)](_0x1893bf){const _0xae070d=_0x388c16;if(this['_checkMissing'](_0x1893bf))return this[_0xae070d(0x399)](),this[_0xae070d(0x31f)]['createInstance'](_0x25a93f,this['unitID'],this[_0xae070d(0x2f7)],null,this[_0xae070d(0x291)],null,[_0x1893bf],this[_0xae070d(0x1c4)]);try{let _0x497124=this[_0xae070d(0x14e)][_0xae070d(0x409)](_0x1893bf,this[_0xae070d(0x291)]);if((0x0,_0x22113f[_0xae070d(0x47a)])(_0x497124)){let {c1Prime:_0x448993,m2Prime:_0x992fa7}=_0x497124;this[_0xae070d(0x232)](_0x448993);let _0x38db12=this[_0xae070d(0x31f)][_0xae070d(0x251)](_0xaa424b,this['unitID'],this[_0xae070d(0x2f7)],_0x992fa7,this[_0xae070d(0x1c4)]);this['_clearScheduledTask']();let _0x5a8135=new Date()[_0xae070d(0x36c)](),_0x372657=this[_0xae070d(0x2e6)]?Math[_0xae070d(0x3d4)](this[_0xae070d(0x2e6)]-_0x5a8135,0x0):this['_getSendChangesetTimeout']();return _0x38db12[_0xae070d(0x297)](_0x372657),_0x38db12;}throw _0x497124[_0xae070d(0x1fa)];}catch(_0x49dab7){return this[_0xae070d(0x3f1)][_0xae070d(0x1fa)](_0x49dab7),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x388c16(0x39c)](){const _0x5688ae=_0x388c16;throw Error(_0x5688ae(0x30b));}[_0x388c16(0x4aa)](){return this;}[_0x388c16(0x1ca)](){const _0x3e6a22=_0x388c16;return this[_0x3e6a22(0x399)](),this['_injector']['createInstance'](_0x150e04,this[_0x3e6a22(0x266)],this[_0x3e6a22(0x2f7)],null,this[_0x3e6a22(0x291)],this[_0x3e6a22(0x1c4)]);}['toggleOnline'](){return this;}[_0x388c16(0x297)](_0xef693b){const _0x14d768=_0x388c16;let _0x58a77b=_0xef693b==null?this[_0x14d768(0x1be)]():_0xef693b;this['_scheduleCompleteTimestamp']=new Date()[_0x14d768(0x36c)]()+_0x58a77b,this[_0x14d768(0x168)]=setTimeout(()=>{const _0x15c9dd=_0x14d768;this[_0x15c9dd(0x399)]();let _0x1f3f39=null;switch(this[_0x15c9dd(0x2f7)]){case _0x194d58[_0x15c9dd(0x464)]:_0x1f3f39=_0x455b37(this[_0x15c9dd(0x291)],this['unitID'],this[_0x15c9dd(0x371)],this[_0x15c9dd(0x3c5)],this[_0x15c9dd(0x3ce)]);break;case _0x194d58['UNIVER_DOC']:_0x1f3f39=this[_0x15c9dd(0x291)][_0x15c9dd(0x2ef)](_0x5a061f=>_0x5a061f['id']===_0x30758f[_0x15c9dd(0x431)]['id'])?_0x25a320(this[_0x15c9dd(0x291)],this[_0x15c9dd(0x266)],this['_univerInstanceService'],this[_0x15c9dd(0x3c5)],this[_0x15c9dd(0x3ce)]):_0x455b37(this[_0x15c9dd(0x291)],this['unitID'],this[_0x15c9dd(0x371)],this[_0x15c9dd(0x3c5)],this[_0x15c9dd(0x3ce)]);break;default:throw Error(_0x15c9dd(0x3ed)+this[_0x15c9dd(0x2f7)]+'\x20in\x20_schedule.');}let {changeset:_0x2edc93,pendingMutations:_0x4d3ec7}=_0x1f3f39;this[_0x15c9dd(0x1c4)][_0x15c9dd(0x450)](_0x2edc93);let _0x4411a3=_0x4d3ec7[_0x15c9dd(0x1a3)]?this[_0x15c9dd(0x31f)][_0x15c9dd(0x251)](_0x4bf776,this[_0x15c9dd(0x266)],this[_0x15c9dd(0x2f7)],_0x2edc93,_0x4d3ec7,this[_0x15c9dd(0x1c4)],void 0x0):this['_injector']['createInstance'](_0x56a83c,this[_0x15c9dd(0x266)],this[_0x15c9dd(0x2f7)],_0x2edc93,this[_0x15c9dd(0x1c4)]);_0x4411a3[_0x15c9dd(0x170)](),this[_0x15c9dd(0x1c4)][_0x15c9dd(0x4ea)](this,_0x4411a3);},_0x58a77b);}[_0x388c16(0x1be)](){const _0x5551e2=_0x388c16;var _0x43bd21;let _0x4d3550=this[_0x5551e2(0x28a)]['getConfig'](_0x52c9fb);return(_0x43bd21=_0x4d3550==null?void 0x0:_0x4d3550[_0x5551e2(0x187)])==null?0x7d0:_0x43bd21;}['resend'](){const _0x4847d5=_0x388c16;throw Error(_0x4847d5(0x22e));}[_0x388c16(0x399)](){const _0x3e8ad8=_0x388c16;this[_0x3e8ad8(0x168)]!=null&&(clearTimeout(this[_0x3e8ad8(0x168)]),this[_0x3e8ad8(0x168)]=null);}[_0x388c16(0x35e)](_0x2813ed){const _0xd1315b=_0x388c16;return this[_0xd1315b(0x399)](),this['_injector'][_0xd1315b(0x251)](_0x57790d,this[_0xd1315b(0x266)],this[_0xd1315b(0x2f7)],null,this[_0xd1315b(0x291)],this[_0xd1315b(0x1c4)],_0x2813ed);}};_0xdaecc2=_0xaa424b=_0x3ecedb([_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x5,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x205)])),_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x2ca67a)),_0x4923f4(0x7,_0x4c9691['ILogService']),_0x4923f4(0x8,_0x4c9691['ICommandService']),_0x4923f4(0x9,_0x4c9691['IConfigService']),_0x4923f4(0xa,_0x22113f[_0x388c16(0x463)]),_0x4923f4(0xb,_0x4c9691[_0x388c16(0x384)]),_0x4923f4(0xc,_0x4c9691[_0x388c16(0x2c3)]),_0x4923f4(0xd,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0xdaecc2);let _0x56a83c=_0x10b0f3=class extends _0x182a0d{constructor(_0x185a95,_0x37be62,_0x458368,_0x3991f8,_0x4d18fc,_0x2fc0c9,_0x21dd5a,_0x43ea6b,_0x1f3ded,_0x4a9566,_0xab478){const _0x24abc6=_0x388c16;super(_0x185a95,_0x37be62,_0x458368,[],_0x3991f8,_0x21dd5a,_0x4a9566,_0x2fc0c9,_0xab478),this[_0x24abc6(0x31f)]=_0x4d18fc,this[_0x24abc6(0x3f1)]=_0x43ea6b,this['_transformService']=_0x1f3ded,_0x167995(this,_0x24abc6(0x282),_0x44ebbd[_0x24abc6(0x2fc)]),_0x167995(this,_0x24abc6(0x48f),0x0),_0x167995(this,_0x24abc6(0x327),0x0),_0x167995(this,_0x24abc6(0x3bb),void 0x0),_0x167995(this,_0x24abc6(0x3b7),void 0x0);}[_0x388c16(0x330)](_0x378b3f){const _0x60e9ad=_0x388c16;this[_0x60e9ad(0x399)]();let _0x36e384=this[_0x60e9ad(0x31f)][_0x60e9ad(0x251)](_0x4bf776,this['unitID'],this[_0x60e9ad(0x2f7)],this[_0x60e9ad(0x207)],[_0x378b3f],this['_handler'],this[_0x60e9ad(0x3bb)]);return _0x36e384[_0x60e9ad(0x170)](),_0x36e384;}[_0x388c16(0x293)](_0x1e3695){const _0x44b656=_0x388c16;if(this[_0x44b656(0x4be)](_0x1e3695))return this['_clearScheduledTask'](),this[_0x44b656(0x31f)]['createInstance'](_0x25a93f,this[_0x44b656(0x266)],this[_0x44b656(0x2f7)],this[_0x44b656(0x207)],[],null,[_0x1e3695],this[_0x44b656(0x1c4)]);try{let _0x478f13=this[_0x44b656(0x14e)]['transformChangesets']([_0x1e3695],[this['_awaitingChangeset']],!0x1);if((0x0,_0x22113f[_0x44b656(0x2b9)])(_0x478f13)){let {c1Prime:_0x43bb2c,c2Prime:_0xc17749}=_0x478f13;this[_0x44b656(0x232)](_0x43bb2c[0x0]),_0xc17749[0x0]['baseRev']=this[_0x44b656(0x4c9)](),this['_clearScheduledTask']();let _0x7d53b0=this['_injector'][_0x44b656(0x251)](_0x10b0f3,this[_0x44b656(0x266)],this[_0x44b656(0x2f7)],_0xc17749[0x0],this[_0x44b656(0x1c4)]);return _0x7d53b0[_0x44b656(0x170)](),_0x7d53b0;}return this[_0x44b656(0x35e)](!0x1);}catch(_0x2288e8){return this[_0x44b656(0x3f1)][_0x44b656(0x1fa)](_0x2288e8),this[_0x44b656(0x35e)](!0x1);}}[_0x388c16(0x1c0)](_0x30f6da){const _0x27b54b=_0x388c16;this[_0x27b54b(0x399)]();let _0x573191=this[_0x27b54b(0x3c5)][_0x27b54b(0x4ee)](this[_0x27b54b(0x266)]);if(_0x30f6da[_0x27b54b(0x35d)]<_0x573191-0x1)return this;if(this['_checkMissing'](_0x30f6da))return this[_0x27b54b(0x31f)]['createInstance'](_0x25a93f,this[_0x27b54b(0x266)],this[_0x27b54b(0x2f7)],null,[],this[_0x27b54b(0x207)],[],this['_handler']);this[_0x27b54b(0x490)]();let _0x1272df=this[_0x27b54b(0x31f)][_0x27b54b(0x251)](_0x558869,this[_0x27b54b(0x266)],this[_0x27b54b(0x2f7)],this['_handler']);return _0x1272df['_updateLocalCache'](),_0x1272df;}['onRemoteRej'](_0x5c6eab){const _0xa46cf4=_0x388c16;return this['_onConflict'](!!(_0x5c6eab!=null&&_0x5c6eab[_0xa46cf4(0x21d)]));}[_0x388c16(0x4aa)](_0x63d9f2){const _0x18ecc6=_0x388c16;return this['_maxTotalRetryTimeout']>_0x5040ff?this[_0x18ecc6(0x1ca)]():(this[_0x18ecc6(0x3bb)]=_0x157d60(this['_resendTimeout'],{'timeout':this[_0x18ecc6(0x48f)],'reqId':_0x63d9f2[_0x18ecc6(0x1a9)]}),this['_sender']=this[_0x18ecc6(0x3bb)][_0x18ecc6(0x339)](({reqId:_0x458d6f,timeout:_0x508c01})=>{const _0x38ad69=_0x18ecc6;this[_0x38ad69(0x301)](_0x458d6f,_0x508c01);}),this);}[_0x388c16(0x1ca)](){const _0x57f8ce=_0x388c16;return this[_0x57f8ce(0x399)](),this['_injector'][_0x57f8ce(0x251)](_0x150e04,this[_0x57f8ce(0x266)],this['type'],this[_0x57f8ce(0x207)],[],this[_0x57f8ce(0x1c4)]);}[_0x388c16(0x30d)](){return this;}[_0x388c16(0x308)](){const _0x519539=_0x388c16;this[_0x519539(0x1c4)]['onSendChangeset'](this[_0x519539(0x207)]);}['_onConflict'](_0x1f3315){const _0xbf8bda=_0x388c16;return this['_clearScheduledTask'](),this[_0xbf8bda(0x31f)]['createInstance'](_0x57790d,this[_0xbf8bda(0x266)],this[_0xbf8bda(0x2f7)],this['_awaitingChangeset'],[],this[_0xbf8bda(0x1c4)],_0x1f3315);}[_0x388c16(0x301)](_0x286085,_0x3a865a){const _0x545c52=_0x388c16;var _0x59e245;_0x286085===((_0x59e245=this['_awaitingChangeset'])==null?void 0x0:_0x59e245['reqId'])&&(this['resend'](),this[_0x545c52(0x48f)]=_0x3a865a===0x0?0x3e8:Math['min'](_0x3a865a*0x2,_0x3b5c2c),this[_0x545c52(0x327)]+=this[_0x545c52(0x48f)]);}[_0x388c16(0x399)](){const _0x1de7e4=_0x388c16;var _0x5caa8a;(_0x5caa8a=this[_0x1de7e4(0x3b7)])==null||_0x5caa8a[_0x1de7e4(0x2d9)](),this[_0x1de7e4(0x48f)]=0x0,this['_maxTotalRetryTimeout']=0x0;}};_0x56a83c=_0x10b0f3=_0x3ecedb([_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x5,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f['RevisionService'])),_0x4923f4(0x6,_0x4c9691['ICommandService']),_0x4923f4(0x7,_0x4c9691['ILogService']),_0x4923f4(0x8,_0x22113f['ITransformService']),_0x4923f4(0x9,_0x4c9691[_0x388c16(0x2c3)]),_0x4923f4(0xa,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x56a83c);let _0x4bf776=_0x31eb15=class extends _0x182a0d{constructor(_0x2d037e,_0x44abbf,_0x1edc11,_0x49c054,_0x206e2e,_0x1c22d7,_0x31e1fe,_0x2dc5f7,_0x2f5aac,_0xc9487e,_0x3acd6a,_0x15309a,_0xf749a4){const _0x4e1cfd=_0x388c16;super(_0x2d037e,_0x44abbf,_0x1edc11,_0x49c054,_0x206e2e,_0x2f5aac,_0x15309a,_0x2dc5f7,_0xf749a4),this[_0x4e1cfd(0x31f)]=_0x31e1fe,this['_logService']=_0xc9487e,this[_0x4e1cfd(0x14e)]=_0x3acd6a,this['localCacheService']=_0xf749a4,_0x167995(this,_0x4e1cfd(0x282),_0x44ebbd[_0x4e1cfd(0x2f6)]),_0x167995(this,'_resendTimeout',0x0),_0x167995(this,_0x4e1cfd(0x327),0x0),_0x167995(this,_0x4e1cfd(0x3bb),void 0x0),_0x167995(this,_0x4e1cfd(0x3b7),void 0x0),_0x1c22d7&&(this[_0x4e1cfd(0x3bb)]=_0x1c22d7,this[_0x4e1cfd(0x3b7)]=this[_0x4e1cfd(0x3bb)][_0x4e1cfd(0x339)](({reqId:_0x42f3b9,timeout:_0x3c33d7})=>{const _0x2184f0=_0x4e1cfd;this[_0x2184f0(0x301)](_0x42f3b9,_0x3c33d7);}));}['appendMutation'](_0x410cb8){const _0x2af2d5=_0x388c16;return this[_0x2af2d5(0x291)][_0x2af2d5(0x221)](_0x410cb8),this;}[_0x388c16(0x293)](_0x9364d){const _0x35a321=_0x388c16;if(this[_0x35a321(0x4be)](_0x9364d))return this[_0x35a321(0x399)](),this[_0x35a321(0x31f)]['createInstance'](_0x25a93f,this[_0x35a321(0x266)],this[_0x35a321(0x2f7)],this['_awaitingChangeset'],this[_0x35a321(0x291)],null,[_0x9364d],this[_0x35a321(0x1c4)]);try{let _0x2210f9=this[_0x35a321(0x14e)][_0x35a321(0x179)]([_0x9364d],[this[_0x35a321(0x207)]],!0x1);if((0x0,_0x22113f[_0x35a321(0x2b9)])(_0x2210f9)){let {c1Prime:_0x11559d,c2Prime:_0x5b6c7c}=_0x2210f9,_0x59c258=this[_0x35a321(0x14e)][_0x35a321(0x409)](_0x11559d[0x0],this[_0x35a321(0x291)]);if((0x0,_0x22113f['isTransformMutationsWithChangesetSuccess'])(_0x59c258)){let {c1Prime:_0x5663a4,m2Prime:_0x4cbf72}=_0x59c258;return this[_0x35a321(0x232)](_0x5663a4),_0x5b6c7c[0x0][_0x35a321(0x15c)]=this[_0x35a321(0x4c9)](),this['_clearScheduledTask'](),this[_0x35a321(0x31f)][_0x35a321(0x251)](_0x31eb15,this[_0x35a321(0x266)],this[_0x35a321(0x2f7)],_0x5b6c7c[0x0],_0x4cbf72,this['_handler'],void 0x0);}throw _0x59c258['error'];}throw _0x2210f9['error'];}catch(_0x1140d4){return this[_0x35a321(0x3f1)][_0x35a321(0x1fa)](_0x1140d4),this[_0x35a321(0x35e)](!0x1);}}['onRemoteAck'](_0x33862f){const _0x6e4054=_0x388c16;if(this['_clearScheduledTask'](),this[_0x6e4054(0x4be)](_0x33862f))return this[_0x6e4054(0x31f)][_0x6e4054(0x251)](_0x25a93f,this['unitID'],this[_0x6e4054(0x2f7)],null,this[_0x6e4054(0x291)],this[_0x6e4054(0x207)],[],this['_handler']);this[_0x6e4054(0x490)]();let _0x3802b7=this[_0x6e4054(0x31f)][_0x6e4054(0x251)](_0xdaecc2,this[_0x6e4054(0x266)],this[_0x6e4054(0x2f7)],this[_0x6e4054(0x291)],this[_0x6e4054(0x1c4)]);return _0x3802b7[_0x6e4054(0x297)](),_0x3802b7[_0x6e4054(0x170)](),_0x3802b7;}[_0x388c16(0x39c)](_0x2ec5c6){const _0x26931a=_0x388c16;return this['_onConflict'](!!(_0x2ec5c6!=null&&_0x2ec5c6[_0x26931a(0x21d)]));}[_0x388c16(0x4aa)](_0x23557c){const _0x4e150b=_0x388c16;return this[_0x4e150b(0x327)]>_0x5040ff?this['toggleOffline']():(this[_0x4e150b(0x3bb)]=_0x157d60(this['_resendTimeout'],{'timeout':this[_0x4e150b(0x48f)],'reqId':_0x23557c[_0x4e150b(0x1a9)]}),this[_0x4e150b(0x3b7)]=this['_resendTimer'][_0x4e150b(0x339)](({reqId:_0x466800,timeout:_0x46eb7d})=>{const _0x32d225=_0x4e150b;this[_0x32d225(0x301)](_0x466800,_0x46eb7d);}),this);}[_0x388c16(0x1ca)](){const _0x52ee58=_0x388c16;return this['_clearScheduledTask'](),this[_0x52ee58(0x31f)][_0x52ee58(0x251)](_0x150e04,this[_0x52ee58(0x266)],this[_0x52ee58(0x2f7)],this[_0x52ee58(0x207)],this[_0x52ee58(0x291)],this['_handler']);}[_0x388c16(0x30d)](){return this;}[_0x388c16(0x308)](){const _0x4dd946=_0x388c16;this[_0x4dd946(0x1c4)]['onSendChangeset'](this[_0x4dd946(0x207)]);}['_onConflict'](_0xbfd490){const _0x13d6f7=_0x388c16;return this[_0x13d6f7(0x399)](),this[_0x13d6f7(0x31f)]['createInstance'](_0x57790d,this[_0x13d6f7(0x266)],this[_0x13d6f7(0x2f7)],null,this[_0x13d6f7(0x291)],this['_handler'],_0xbfd490);}[_0x388c16(0x301)](_0x5db4da,_0xcba226){const _0x2bc35a=_0x388c16;var _0x41e5eb;_0x5db4da===((_0x41e5eb=this[_0x2bc35a(0x207)])==null?void 0x0:_0x41e5eb[_0x2bc35a(0x1a9)])&&(this['resend'](),this[_0x2bc35a(0x48f)]=_0xcba226===0x0?0x3e8:Math['min'](_0xcba226*0x2,_0x3b5c2c),this[_0x2bc35a(0x327)]+=this['_resendTimeout']);}[_0x388c16(0x399)](){const _0x1257bc=_0x388c16;var _0x4f102f;(_0x4f102f=this['_sender'])==null||_0x4f102f[_0x1257bc(0x2d9)](),this[_0x1257bc(0x48f)]=0x0,this[_0x1257bc(0x327)]=0x0;}};_0x4bf776=_0x31eb15=_0x3ecedb([_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x7,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f['RevisionService'])),_0x4923f4(0x8,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0x9,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0xa,_0x22113f['ITransformService']),_0x4923f4(0xb,_0x4c9691[_0x388c16(0x2c3)]),_0x4923f4(0xc,(0x0,_0x4c9691['Optional'])(_0xd5c1f1))],_0x4bf776);let _0x57790d=class extends _0x182a0d{constructor(_0x482ce3,_0x83d7b3,_0x5e8efa,_0x39bfa7,_0x2ff27d,_0x239514=!0x1,_0x5c49e0,_0x178cad,_0x253a62,_0x1f224d,_0x2b552e,_0x228d0f,_0x1bd486){const _0xc11cf=_0x388c16;super(_0x482ce3,_0x83d7b3,_0x5e8efa,_0x39bfa7,_0x2ff27d,_0x178cad,_0x253a62,_0x1f224d,_0x1bd486),this[_0xc11cf(0x443)]=_0x239514,this[_0xc11cf(0x2d5)]=_0x5c49e0,this[_0xc11cf(0x351)]=_0x2b552e,this[_0xc11cf(0x1ec)]=_0x228d0f,this[_0xc11cf(0x43a)]=_0x1bd486,_0x167995(this,_0xc11cf(0x282),_0x44ebbd[_0xc11cf(0x319)]),this[_0xc11cf(0x446)](),this[_0xc11cf(0x37f)](),this[_0xc11cf(0x45a)]();}['appendMutation'](){return this;}[_0x388c16(0x293)](){return this;}[_0x388c16(0x1c0)](){return this;}['onRemoteRej'](){return this;}[_0x388c16(0x4aa)](){return this;}[_0x388c16(0x1ca)](){return this;}['toggleOnline'](){return this;}[_0x388c16(0x308)](){throw Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x388c16(0x37f)](){const _0x5eb4f8=_0x388c16;var _0x3037ea;(_0x3037ea=this[_0x5eb4f8(0x403)])==null||_0x3037ea[_0x5eb4f8(0x20e)](this[_0x5eb4f8(0x266)],this[_0x5eb4f8(0x2f7)],null,[]);}['_showConflictNotification'](){const _0x24e33d=_0x388c16;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x24e33d(0x14f)]({'id':_0x577fae[_0x24e33d(0x178)]}):this[_0x24e33d(0x1ec)]['emitEvent']({'id':_0x577fae[_0x24e33d(0x319)]});}[_0x388c16(0x45a)](){const _0x3c59cb=_0x388c16;this['_permissionService'][_0x3c59cb(0x180)](new _0x190d88[(_0x3c59cb(0x495))](this[_0x3c59cb(0x266)])['id'],!0x1);}};_0x57790d=_0x3ecedb([_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x228)])),_0x4923f4(0x7,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0x8,_0x4c9691['IUndoRedoService']),_0x4923f4(0x9,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x205)])),_0x4923f4(0xa,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x1e7)])),_0x4923f4(0xb,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x20dd8a)),_0x4923f4(0xc,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x57790d);let _0x150e04=class extends _0x182a0d{constructor(_0x3dfff0,_0x9476d4,_0x5e9134,_0x330608,_0x43c0ea,_0x432d50,_0x5acaa9,_0x37fead,_0x292cd7,_0x137f4b){const _0x3a42a1=_0x388c16;super(_0x3dfff0,_0x9476d4,_0x5e9134,_0x330608,_0x43c0ea,_0x37fead,_0x292cd7,_0x5acaa9,_0x137f4b),this['_injector']=_0x432d50,_0x167995(this,_0x3a42a1(0x282),_0x44ebbd[_0x3a42a1(0x2a5)]);}[_0x388c16(0x330)](_0x264fad){const _0x478c81=_0x388c16;return this[_0x478c81(0x291)][_0x478c81(0x221)](_0x264fad),this['_updateLocalCache'](),this;}[_0x388c16(0x293)](_0x537f24){const _0x4ad648=_0x388c16;throw Error(_0x4ad648(0x400));}[_0x388c16(0x1c0)](){throw Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x3e412b=_0x388c16;throw Error(_0x3e412b(0x277));}['onRemoteRetry'](){return this;}[_0x388c16(0x1ca)](){return this;}[_0x388c16(0x30d)](){const _0x1d2f0b=_0x388c16;let {_injector:_0x191c5e,_pendingMutations:_0x40cbac,_awaitingChangeset:_0x1c5788,unitID:_0x32fd80,_handler:_0x3e0b1c,type:_0x5c50a2}=this,_0x4d4ad6=_0x1b9146(_0x191c5e,_0x32fd80,_0x5c50a2,_0x1c5788,_0x40cbac,_0x3e0b1c);return _0x4d4ad6 instanceof _0xdaecc2?_0x4d4ad6['_schedule']():(_0x4d4ad6 instanceof _0x4bf776||_0x4d4ad6 instanceof _0x56a83c)&&_0x4d4ad6[_0x1d2f0b(0x308)](),_0x4d4ad6;}['resend'](){throw Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x150e04=_0x3ecedb([_0x4923f4(0x5,(0x0,_0x4c9691['Inject'])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x6,(0x0,_0x4c9691['Inject'])(_0x22113f[_0x388c16(0x205)])),_0x4923f4(0x7,_0x4c9691['ICommandService']),_0x4923f4(0x8,_0x4c9691[_0x388c16(0x2c3)]),_0x4923f4(0x9,(0x0,_0x4c9691['Optional'])(_0xd5c1f1))],_0x150e04);let _0x25a93f=class extends _0x182a0d{constructor(_0x2fd359,_0x4b82bc,_0x44d597,_0x65c089,_0x6b7afa,_0x36949f,_0x30f4ef,_0x206de1,_0x2f50be,_0x2caadc,_0x4e3c11,_0x1a7b8e,_0x1fa5a3,_0x16719d){const _0x2f8a9f=_0x388c16;super(_0x2fd359,_0x4b82bc,_0x44d597,_0x65c089,_0x30f4ef,_0x4e3c11,_0x1a7b8e,_0x2f50be,_0x16719d),this[_0x2f8a9f(0x162)]=_0x6b7afa,this[_0x2f8a9f(0x454)]=_0x36949f,this[_0x2f8a9f(0x31f)]=_0x206de1,this['_logService']=_0x2caadc,this[_0x2f8a9f(0x14e)]=_0x1fa5a3,this[_0x2f8a9f(0x43a)]=_0x16719d,_0x167995(this,_0x2f8a9f(0x282),_0x44ebbd[_0x2f8a9f(0x39a)]);}[_0x388c16(0x257)](_0x567a0a){const _0x426e27=_0x388c16;try{let _0x3fc420=[..._0x567a0a,...this[_0x426e27(0x454)]],_0x52a94e=[this[_0x426e27(0x207)]||this[_0x426e27(0x162)]][_0x426e27(0x33f)](_0x1ad190=>!!_0x1ad190),_0x1ce94b,_0x209b02;if(_0x52a94e[_0x426e27(0x1a3)]){let _0x562322=this[_0x426e27(0x14e)][_0x426e27(0x179)](_0x3fc420,_0x52a94e,!0x1);if(!(0x0,_0x22113f['isTransformChangesetsSuccess'])(_0x562322))throw _0x562322[_0x426e27(0x1fa)];_0x1ce94b=_0x562322[_0x426e27(0x1ed)],_0x209b02=_0x562322['c2Prime'];}else _0x1ce94b=_0x3fc420,_0x209b02=[];let _0x4fb263=this[_0x426e27(0x291)];_0x1ce94b[_0x426e27(0x1d5)](_0x4640e7=>{const _0x13c12f=_0x426e27;let _0x1d4048;if(_0x4fb263[_0x13c12f(0x1a3)]){let _0x2156fb=this[_0x13c12f(0x14e)]['transformMutationsWithChangeset'](_0x4640e7,_0x4fb263);if(!(0x0,_0x22113f[_0x13c12f(0x47a)])(_0x2156fb))throw _0x2156fb[_0x13c12f(0x1fa)];_0x1d4048=_0x2156fb[_0x13c12f(0x1ed)],_0x4fb263=_0x2156fb[_0x13c12f(0x172)];}else _0x1d4048=_0x4640e7;this['_executeRemoteChangeset'](_0x1d4048);}),this[_0x426e27(0x162)]&&this[_0x426e27(0x490)](),this[_0x426e27(0x207)]&&_0x209b02[_0x426e27(0x1a3)]&&(_0x209b02[0x0]['baseRev']=this[_0x426e27(0x4c9)]());let _0x284771;if(this[_0x426e27(0x207)]&&_0x4fb263[_0x426e27(0x1a3)]!==0x0)_0x284771=this[_0x426e27(0x31f)]['createInstance'](_0x4bf776,this[_0x426e27(0x266)],this[_0x426e27(0x2f7)],_0x209b02[0x0],_0x4fb263,this[_0x426e27(0x1c4)],void 0x0);else{if(this[_0x426e27(0x207)]&&_0x4fb263[_0x426e27(0x1a3)]===0x0)_0x209b02[0x0]['baseRev']=this[_0x426e27(0x4c9)](),_0x284771=this[_0x426e27(0x31f)][_0x426e27(0x251)](_0x56a83c,this['unitID'],this[_0x426e27(0x2f7)],_0x209b02[0x0],this[_0x426e27(0x1c4)]);else{if(_0x4fb263['length']!==0x0){let _0x3723e2=this['_injector'][_0x426e27(0x251)](_0xdaecc2,this[_0x426e27(0x266)],this[_0x426e27(0x2f7)],_0x4fb263,this[_0x426e27(0x1c4)]);_0x3723e2[_0x426e27(0x297)](),_0x284771=_0x3723e2;}else _0x284771=this[_0x426e27(0x31f)][_0x426e27(0x251)](_0x558869,this[_0x426e27(0x266)],this['type'],this['_handler']);}}return _0x284771[_0x426e27(0x170)](),_0x284771;}catch(_0x1ffe4e){return this[_0x426e27(0x3f1)]['error'](_0x426e27(0x36a),_0x426e27(0x22c),_0x1ffe4e),this[_0x426e27(0x31f)][_0x426e27(0x251)](_0x57790d,this[_0x426e27(0x266)],this[_0x426e27(0x2f7)],this['_awaitingChangeset'],this[_0x426e27(0x291)],this['_handler'],!0x1);}}[_0x388c16(0x308)](){const _0x41dc5d=_0x388c16;throw Error(_0x41dc5d(0x1ae));}[_0x388c16(0x330)](_0x5999c4){const _0x329ec1=_0x388c16;return this[_0x329ec1(0x291)]['push'](_0x5999c4),this;}[_0x388c16(0x293)](_0x540f9d){const _0x3335a0=_0x388c16;return this['_queuedRemoteChangesets'][_0x3335a0(0x221)](_0x540f9d),this;}[_0x388c16(0x1c0)](_0x18b304){const _0x38cbb5=_0x388c16;if(this[_0x38cbb5(0x207)])return this[_0x38cbb5(0x162)]=this[_0x38cbb5(0x207)],this[_0x38cbb5(0x207)]=null,this;throw Error(_0x38cbb5(0x153));}[_0x388c16(0x39c)](_0x32fdb3){const _0x53ede2=_0x388c16;return this['_onConflict'](!!(_0x32fdb3!=null&&_0x32fdb3[_0x53ede2(0x21d)]));}[_0x388c16(0x4aa)](){return this;}[_0x388c16(0x1ca)](){const _0xf8dc2a=_0x388c16;return this[_0xf8dc2a(0x31f)]['createInstance'](_0x150e04,this[_0xf8dc2a(0x266)],this[_0xf8dc2a(0x2f7)],this[_0xf8dc2a(0x207)],this['_pendingMutations'],this[_0xf8dc2a(0x1c4)]);}['toggleOnline'](){return this;}[_0x388c16(0x35e)](_0x43ba2d){const _0x33e5a=_0x388c16;return this['_injector'][_0x33e5a(0x251)](_0x57790d,this[_0x33e5a(0x266)],this[_0x33e5a(0x2f7)],this[_0x33e5a(0x207)],this[_0x33e5a(0x291)],this[_0x33e5a(0x1c4)],_0x43ba2d);}};_0x25a93f=_0x3ecedb([_0x4923f4(0x7,(0x0,_0x4c9691['Inject'])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x8,(0x0,_0x4c9691['Inject'])(_0x22113f['RevisionService'])),_0x4923f4(0x9,_0x4c9691['ILogService']),_0x4923f4(0xa,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0xb,_0x4c9691[_0x388c16(0x2c3)]),_0x4923f4(0xc,_0x22113f[_0x388c16(0x463)]),_0x4923f4(0xd,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x25a93f);function _0x1b9146(_0x530140,_0x5ea494,_0x2ecf90,_0x5f5dd1,_0x16de27,_0x371478){const _0x4f398a=_0x388c16;return _0x5f5dd1&&_0x16de27[_0x4f398a(0x1a3)]?_0x530140[_0x4f398a(0x251)](_0x4bf776,_0x5ea494,_0x2ecf90,_0x5f5dd1,_0x16de27,_0x371478,void 0x0):_0x5f5dd1?_0x530140[_0x4f398a(0x251)](_0x56a83c,_0x5ea494,_0x2ecf90,_0x5f5dd1,_0x371478):_0x16de27[_0x4f398a(0x1a3)]?_0x530140['createInstance'](_0xdaecc2,_0x5ea494,_0x2ecf90,_0x16de27,_0x371478):_0x530140[_0x4f398a(0x251)](_0x558869,_0x5ea494,_0x2ecf90,_0x371478);}let _0x44af68=class extends _0x4c9691[_0x388c16(0x433)]{get[_0x388c16(0x242)](){const _0x8d943d=_0x388c16;return this[_0x8d943d(0x393)];}constructor(_0x556a48,_0x2e188b,_0x2e642e,_0x241d38,_0x21903d,_0x281495,_0x524952,_0x4cd299,_0x2e4c7f,_0xe9861e,_0x40eccc,_0x50cac9,_0xac7189,_0x5b5276){const _0x98a333=_0x388c16;super(),this[_0x98a333(0x266)]=_0x556a48,this[_0x98a333(0x217)]=_0x2e188b,this[_0x98a333(0x2de)]=_0x2e642e,this[_0x98a333(0x31f)]=_0x241d38,this['_compressMutationService']=_0x21903d,this[_0x98a333(0x351)]=_0x281495,this[_0x98a333(0x3c5)]=_0x524952,this[_0x98a333(0x1f3)]=_0x4cd299,this[_0x98a333(0x371)]=_0x2e4c7f,this['_logService']=_0xe9861e,this[_0x98a333(0x2bd)]=_0x40eccc,this[_0x98a333(0x2d5)]=_0x50cac9,this['_singleActiveUnitService']=_0xac7189,this[_0x98a333(0x403)]=_0x5b5276,_0x167995(this,_0x98a333(0x368),new _0x1d90a6[(_0x98a333(0x26f))](null)),_0x167995(this,_0x98a333(0x2a8),this[_0x98a333(0x368)]['asObservable']()),_0x167995(this,_0x98a333(0x393),void 0x0),_0x167995(this,_0x98a333(0x3b9),!0x1),_0x167995(this,_0x98a333(0x355),''),_0x167995(this,_0x98a333(0x420),0x0),_0x167995(this,_0x98a333(0x18e),this[_0x98a333(0x2a8)][_0x98a333(0x3f8)]((0x0,_0x1d90a6[_0x98a333(0x1da)])(_0x965f39=>_0x965f39?_0x965f39[_0x98a333(0x282)]:_0x44ebbd[_0x98a333(0x2a5)]),(0x0,_0x1d90a6['shareReplay'])(0x1))),_0x167995(this,'_transitionLocked',!0x1),_0x167995(this,'_remoteChangesetQueue',[]);}async['init'](){const _0x27c617=_0x388c16;if(this[_0x27c617(0x242)])throw Error(_0x27c617(0x2a0));await this[_0x27c617(0x15d)]();}[_0x388c16(0x1a0)](){return this['_collaborationPaused']=!0x0,(0x0,_0x4c9691['toDisposable'])(()=>{const _0x4f9413=_0x2f25;this[_0x4f9413(0x3b9)]=!0x1,this[_0x4f9413(0x4ec)]();});}[_0x388c16(0x4dc)](_0x58f277){const _0x37f7f4=_0x388c16;this[_0x37f7f4(0x19c)](_0x58f277);}[_0x388c16(0x1d6)](_0x491482){this['_state']=_0x491482,this['_state$']['next'](_0x491482);}async[_0x388c16(0x15d)](){const _0x2d7a96=_0x388c16;if(this[_0x2d7a96(0x1d6)](await this[_0x2d7a96(0x4d1)]()),this[_0x2d7a96(0x37b)]){var _0x3543c0;(_0x3543c0=this[_0x2d7a96(0x37b)])==null||_0x3543c0[_0x2d7a96(0x194)](this[_0x2d7a96(0x266)]),this[_0x2d7a96(0x435)](this[_0x2d7a96(0x37b)][_0x2d7a96(0x26b)](this[_0x2d7a96(0x266)])['subscribe'](_0x1596a7=>{const _0xad36b9=_0x2d7a96;this[_0xad36b9(0x3f1)][_0xad36b9(0x24e)](_0xad36b9(0x4c8),_0xad36b9(0x362),_0x1596a7),_0x1596a7===_0x129273[_0xad36b9(0x4a2)]?(this[_0xad36b9(0x1f3)][_0xad36b9(0x14f)]({'id':_0x577fae[_0xad36b9(0x4c4)]}),this[_0xad36b9(0x2d5)]['updatePermissionPoint'](new _0x190d88[(_0xad36b9(0x495))](this[_0xad36b9(0x266)])['id'],!0x1),this['_permissionService'][_0xad36b9(0x375)](!0x1)):(this[_0xad36b9(0x2d5)][_0xad36b9(0x180)](new _0x190d88[(_0xad36b9(0x495))](this[_0xad36b9(0x266)])['id'],!0x0),this[_0xad36b9(0x2d5)][_0xad36b9(0x375)](!0x0));}));}let _0x242d1f=!0x1;return this[_0x2d7a96(0x435)](this[_0x2d7a96(0x217)]['sessionStatus$']['subscribe'](_0x2c4d26=>{const _0x37b0ed=_0x2d7a96;_0x2c4d26===_0x16446d[_0x37b0ed(0x1a5)]?this[_0x37b0ed(0x2c9)](_0x242d1f):_0x2c4d26===_0x16446d[_0x37b0ed(0x2a5)]&&(_0x242d1f=!0x0,this['_toggleOffline']());})),this[_0x2d7a96(0x435)](this[_0x2d7a96(0x217)][_0x2d7a96(0x458)][_0x2d7a96(0x339)](_0x331894=>{const _0x3c517d=_0x2d7a96;try{switch(_0x331894[_0x3c517d(0x1d3)]){case _0x22113f[_0x3c517d(0x3f5)][_0x3c517d(0x261)]:this[_0x3c517d(0x33d)]((0x0,_0x22113f[_0x3c517d(0x17f)])(_0x331894[_0x3c517d(0x1d1)]));break;case _0x22113f[_0x3c517d(0x3f5)]['CHANGESET_ACK']:this[_0x3c517d(0x499)](_0x331894['data']);break;case _0x22113f[_0x3c517d(0x3f5)][_0x3c517d(0x3a3)]:this['_onRemoteRejected']();break;case _0x22113f[_0x3c517d(0x3f5)][_0x3c517d(0x35b)]:this['_onRemoteRetry'](_0x331894[_0x3c517d(0x1d1)]);break;case _0x22113f[_0x3c517d(0x3f5)][_0x3c517d(0x2e5)]:this['_onFetchMissResult'](_0x331894['data'][_0x3c517d(0x1e4)][_0x3c517d(0x1da)](_0x5f0c06=>(0x0,_0x22113f[_0x3c517d(0x17f)])(_0x5f0c06)));break;case _0x22113f[_0x3c517d(0x3f5)][_0x3c517d(0x4c0)]:this[_0x3c517d(0x267)]({'isPermissionRej':!0x0});break;case _0x22113f['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x41969f){throw console['error']('Error\x20on\x20receiving\x20event',_0x41969f),_0x41969f;}})),this[_0x2d7a96(0x393)];}[_0x388c16(0x340)](){const _0x2af25f=_0x388c16;this[_0x2af25f(0x3f6)]=!0x1;}[_0x388c16(0x3b6)](){const _0x4c2672=_0x388c16;if(this[_0x4c2672(0x3f6)])throw Error('[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.');this[_0x4c2672(0x3f6)]=!0x0;}[_0x388c16(0x19c)](_0xb97f64){const _0x49c4c8=_0x388c16;this[_0x49c4c8(0x3b6)](),this[_0x49c4c8(0x1d6)](this[_0x49c4c8(0x393)][_0x49c4c8(0x330)](_0xb97f64)),this[_0x49c4c8(0x340)]();}['_onRemoteChangeset'](_0x32bc0b){const _0x19e098=_0x388c16;if(!(_0x32bc0b[_0x19e098(0x35d)]<=this['_revisionService'][_0x19e098(0x4ee)](this[_0x19e098(0x266)]))){if(this['_collaborationPaused']){this[_0x19e098(0x3b3)][_0x19e098(0x221)](_0x32bc0b);return;}this['_applyRemoteChangeset'](_0x32bc0b);}}[_0x388c16(0x4ec)](){const _0x4381b6=_0x388c16;this['_remoteChangesetQueue'][_0x4381b6(0x1d5)](_0x5f4b89=>this[_0x4381b6(0x42a)](_0x5f4b89)),this[_0x4381b6(0x3b3)]=[];}[_0x388c16(0x42a)](_0x175dc){const _0x3547dc=_0x388c16;let _0x204104=this['_compressMutationService'][_0x3547dc(0x359)][_0x3547dc(0x185)](this[_0x3547dc(0x3a8)]['interceptor'][_0x3547dc(0x4b4)]()[_0x3547dc(0x40f)])(_0x175dc[_0x3547dc(0x27b)],null)||_0x175dc[_0x3547dc(0x27b)],_0x4f438c={..._0x175dc,'mutations':_0x204104};this[_0x3547dc(0x3b6)](),this[_0x3547dc(0x1d6)](this[_0x3547dc(0x393)][_0x3547dc(0x293)](_0x4f438c)),this['_unlockTransition']();}['_onRemoteACK'](_0x564b23){const _0x4f1293=_0x388c16;this[_0x4f1293(0x3b6)](),this[_0x4f1293(0x1d6)](this[_0x4f1293(0x393)][_0x4f1293(0x1c0)](_0x564b23)),this[_0x4f1293(0x340)]();}[_0x388c16(0x267)](_0x5eacbf){const _0x3a5030=_0x388c16;this['_lockTransition'](),this['_updateState'](this[_0x3a5030(0x393)]['onRemoteRej'](_0x5eacbf)),this['_unlockTransition']();}[_0x388c16(0x270)](_0x3daec7){const _0x5a9178=_0x388c16;this[_0x5a9178(0x3b6)](),this[_0x5a9178(0x1d6)](this['_state'][_0x5a9178(0x4aa)](_0x3daec7)),this[_0x5a9178(0x340)]();}[_0x388c16(0x3d2)](_0x326314){const _0x40c338=_0x388c16;if(!(this[_0x40c338(0x393)]instanceof _0x25a93f))throw TypeError(_0x40c338(0x1a2));let _0x49e526=_0x326314[_0x40c338(0x1da)](_0x596301=>{const _0x12454f=_0x40c338;let _0xa52f18=this['_compressMutationService'][_0x12454f(0x359)]['fetchThroughInterceptors'](this[_0x12454f(0x3a8)][_0x12454f(0x359)][_0x12454f(0x4b4)]()[_0x12454f(0x40f)])(_0x596301[_0x12454f(0x27b)],null)||_0x596301['mutations'];return{..._0x596301,'mutations':_0xa52f18};});this['_lockTransition'](),this['_updateState'](this['_state'][_0x40c338(0x257)](_0x49e526)),this[_0x40c338(0x340)]();}[_0x388c16(0x488)](){const _0x204f78=_0x388c16;this['_lockTransition'](),this['_updateState'](this[_0x204f78(0x393)][_0x204f78(0x1ca)]()),this['_unlockTransition']();}[_0x388c16(0x2c9)](_0x447330=!0x1){const _0x51a601=_0x388c16;this[_0x51a601(0x3b6)](),this[_0x51a601(0x1d6)](this['_state']['toggleOnline']()),this['_unlockTransition']();let _0x3f652b=this[_0x51a601(0x393)];_0x447330&&_0x3f652b instanceof _0x558869&&(this[_0x51a601(0x3b6)](),this[_0x51a601(0x1d6)](_0x3f652b[_0x51a601(0x1b7)]()),this[_0x51a601(0x340)]());}async[_0x388c16(0x4d1)](){return new Promise(_0x4d0b7e=>{const _0x1cf402=_0x2f25;this[_0x1cf402(0x217)]['sessionStatus$']['pipe']((0x0,_0x1d90a6[_0x1cf402(0x468)])(0x1))['subscribe'](async _0x2f376a=>{const _0xbcad82=_0x1cf402;_0x4d0b7e(await this[_0xbcad82(0x3f3)](_0x2f376a===_0x16446d[_0xbcad82(0x1a5)]));});});}['_createHandler'](){let _0x5a75e6=this['unitID'];return{'onStateChange':(_0x326f1c,_0x24a60a)=>{const _0x3d75be=_0x2f25;if(_0x326f1c!==this[_0x3d75be(0x393)])throw Error(_0x3d75be(0x4c3)+_0x326f1c[_0x3d75be(0x282)]+_0x3d75be(0x3cc)+_0x24a60a['status']+_0x3d75be(0x1ba)+this['_state'][_0x3d75be(0x282)]);this[_0x3d75be(0x1d6)](_0x24a60a);},'onSendChangeset':_0x45cb88=>{const _0x6e9bc2=_0x2f25;_0x45cb88[_0x6e9bc2(0x1a4)]||(_0x45cb88[_0x6e9bc2(0x1a4)]=this[_0x6e9bc2(0x355)],_0x45cb88['reqId']=++this[_0x6e9bc2(0x420)]);let _0xf9f50f={'eventID':_0x22113f[_0x6e9bc2(0x3f5)][_0x6e9bc2(0x4a3)],'data':{'unitID':_0x45cb88[_0x6e9bc2(0x266)],'unitType':this['_type'],'changeset':_0x45cb88,'memberID':this[_0x6e9bc2(0x217)][_0x6e9bc2(0x3db)]()}};this[_0x6e9bc2(0x217)][_0x6e9bc2(0x302)](_0xf9f50f,this['unitID']);},'onMissingChangesets':({from:_0x2dd945,to:_0x40adb0})=>{const _0x563d4c=_0x2f25;this['_logService'][_0x563d4c(0x24e)](_0x563d4c(0x4c8),_0x563d4c(0x4d7)+_0x2dd945+_0x563d4c(0x32c)+_0x40adb0);let _0x434578={'eventID':_0x22113f[_0x563d4c(0x3f5)]['FETCH_MISSING'],'data':{'unitID':_0x5a75e6,'unitType':this[_0x563d4c(0x2de)],'from':_0x2dd945,'to':_0x40adb0}};this[_0x563d4c(0x217)]['send'](_0x434578,this[_0x563d4c(0x266)]);}};}async[_0x388c16(0x3f3)](_0x44e22b){const _0x4763df=_0x388c16;var _0x2a170c,_0x1f3e57,_0x1c2b9a;let _0x1d8fe2=await((_0x2a170c=this[_0x4763df(0x403)])==null?void 0x0:_0x2a170c[_0x4763df(0x348)](this['unitID'])),_0x4e2a44=(_0x1f3e57=_0x1d8fe2==null?void 0x0:_0x1d8fe2['mutations'])==null?[]:_0x1f3e57,_0x1251c8=(_0x1c2b9a=_0x1d8fe2==null?void 0x0:_0x1d8fe2[_0x4763df(0x43b)])==null?null:_0x1c2b9a,_0x4f5189=!!(_0x1251c8!=null&&_0x1251c8['sid'])&&!!(_0x1251c8!=null&&_0x1251c8[_0x4763df(0x1a9)]);this[_0x4763df(0x355)]=_0x4f5189?_0x1251c8[_0x4763df(0x1a4)]:(0x0,_0x22113f[_0x4763df(0x2cc)])(),this[_0x4763df(0x420)]=_0x4f5189?_0x1251c8[_0x4763df(0x1a9)]:0x0;let _0x4c2242=this[_0x4763df(0x266)];try{this[_0x4763df(0x1af)](_0x1251c8,_0x4e2a44);}catch(_0x5bb26b){this['_logService'][_0x4763df(0x1fa)](_0x5bb26b);}let _0x27e04c=this[_0x4763df(0x1d7)]();if(_0x44e22b){let _0x17e022=_0x1b9146(this[_0x4763df(0x31f)],_0x4c2242,this['_type'],_0x1251c8,_0x4e2a44,_0x27e04c);return _0x17e022 instanceof _0xdaecc2?_0x17e022['_schedule']():(_0x17e022 instanceof _0x4bf776||_0x17e022 instanceof _0x56a83c)&&_0x17e022['resend'](),_0x17e022;}return this['_injector'][_0x4763df(0x251)](_0x150e04,_0x4c2242,this[_0x4763df(0x2de)],_0x1251c8,_0x4e2a44,_0x27e04c);}['_replayCachedMutations'](_0x116533,_0x3c28e9){const _0xc8a35e=_0x388c16;var _0x525755,_0x8a3d7b;let _0x28470b=this['_compressMutationService'][_0xc8a35e(0x359)][_0xc8a35e(0x185)](this[_0xc8a35e(0x3a8)]['interceptor']['getInterceptPoints']()[_0xc8a35e(0x40f)]);(_0x525755=_0x28470b((_0x116533==null?void 0x0:_0x116533[_0xc8a35e(0x27b)])||[],null))==null||_0x525755[_0xc8a35e(0x1d5)](_0xcf8bcf=>this[_0xc8a35e(0x2bd)][_0xc8a35e(0x4ef)](_0xcf8bcf['id'],_0xcf8bcf['params'])),(_0x8a3d7b=_0x28470b(_0x3c28e9||[],null))==null||_0x8a3d7b[_0xc8a35e(0x1d5)](_0x59bef7=>this[_0xc8a35e(0x2bd)][_0xc8a35e(0x4ef)](_0x59bef7['id'],_0x59bef7[_0xc8a35e(0x1bb)]));}};_0x44af68=_0x3ecedb([_0x4923f4(0x3,(0x0,_0x4c9691['Inject'])(_0x4c9691['Injector'])),_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x20f)])),_0x4923f4(0x5,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x1e7)])),_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x205)])),_0x4923f4(0x7,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x20dd8a)),_0x4923f4(0x8,_0x4c9691[_0x388c16(0x384)]),_0x4923f4(0x9,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0xa,_0x4c9691['ICommandService']),_0x4923f4(0xb,_0x4c9691[_0x388c16(0x228)]),_0x4923f4(0xc,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xfce292)),_0x4923f4(0xd,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x44af68);let _0x1782f4=class extends _0x44af68{constructor(_0x14eb2d,_0x4b6273,_0x130817,_0x5c577a,_0x106306,_0x337549,_0x4ac038,_0x1b789f,_0x1f7f00,_0x1372c6,_0xc60491,_0x4bd97b,_0x15bef4,_0x519117){const _0x2dd3ee=_0x388c16;super(_0x14eb2d,_0x130817,_0x4b6273,_0x5c577a,_0x106306,_0x337549,_0x4ac038,_0x1b789f,_0x1f7f00,_0x1372c6,_0xc60491,_0x4bd97b,_0x15bef4,_0x519117),this[_0x2dd3ee(0x266)]=_0x14eb2d,this['type']=_0x4b6273,_0x167995(this,_0x2dd3ee(0x36b),null);}[_0x388c16(0x3cd)](_0x160d1b){const _0x45c8c9=_0x388c16;this[_0x45c8c9(0x36b)]=_0x160d1b;}[_0x388c16(0x16e)](){const _0x5628f2=_0x388c16;this[_0x5628f2(0x36b)]=null,super['dispose']();}[_0x388c16(0x1d7)](){const _0xdeb764=_0x388c16;let _0x16e509=super[_0xdeb764(0x1d7)]();return _0x16e509[_0xdeb764(0x4f4)]=_0x2d6a19=>{const _0x4299f7=_0xdeb764;var _0xf2289e,_0x4fa273;return(_0xf2289e=this[_0x4299f7(0x36b)])==null||(_0x4fa273=_0xf2289e[_0x4299f7(0x4f4)])==null?void 0x0:_0x4fa273[_0x4299f7(0x48c)](_0xf2289e,_0x2d6a19);},_0x16e509[_0xdeb764(0x24f)]=_0x44c3a0=>{const _0x6582a=_0xdeb764;var _0x288f87,_0x8ae8cf;return(_0x288f87=this[_0x6582a(0x36b)])==null||(_0x8ae8cf=_0x288f87[_0x6582a(0x24f)])==null?void 0x0:_0x8ae8cf['call'](_0x288f87,_0x44c3a0);},_0x16e509[_0xdeb764(0x388)]=_0x3234fc=>{const _0x426e26=_0xdeb764;var _0x59033b,_0x335c6a;return(_0x59033b=this[_0x426e26(0x36b)])==null||(_0x335c6a=_0x59033b[_0x426e26(0x388)])==null?void 0x0:_0x335c6a['call'](_0x59033b,_0x3234fc);},_0x16e509['onSyncEditingCollabCursor']=_0x16bea6=>{const _0x34ef1f=_0xdeb764;var _0x26d473,_0x9a9b28;return(_0x26d473=this['_handlerCallback'])==null||(_0x9a9b28=_0x26d473[_0x34ef1f(0x3c4)])==null?void 0x0:_0x9a9b28[_0x34ef1f(0x48c)](_0x26d473,_0x16bea6);},_0x16e509['onTransformRemoteChangesetByIMECache']=_0x9e5552=>{const _0x6a7fe7=_0xdeb764;var _0x3f95b8,_0x1f198e,_0x52dacf;if(!((_0x3f95b8=this[_0x6a7fe7(0x36b)])!=null&&_0x3f95b8[_0x6a7fe7(0x219)]))throw Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1f198e=this[_0x6a7fe7(0x36b)])==null||(_0x52dacf=_0x1f198e[_0x6a7fe7(0x219)])==null?void 0x0:_0x52dacf[_0x6a7fe7(0x48c)](_0x1f198e,_0x9e5552);},_0x16e509['onTransformRemoteChangesetByStateCache']=_0x2365b7=>{const _0x576941=_0xdeb764;var _0x42e0ea,_0x21725e,_0x3dbab6;if(!((_0x42e0ea=this['_handlerCallback'])!=null&&_0x42e0ea[_0x576941(0x43c)]))throw Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x21725e=this[_0x576941(0x36b)])==null||(_0x3dbab6=_0x21725e['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3dbab6[_0x576941(0x48c)](_0x21725e,_0x2365b7);},_0x16e509;}async[_0x388c16(0x15d)](){const _0x2e1267=_0x388c16;let _0xaa4455=await super[_0x2e1267(0x15d)]();return this[_0x2e1267(0x435)](this[_0x2e1267(0x2bd)]['onMutationExecutedForCollab']((_0x5f558e,_0x2261b9)=>{const _0x5da4e2=_0x2e1267;if(_0x5f558e['type']!==_0x4c9691[_0x5da4e2(0x3b1)]['MUTATION']||_0x2261b9!=null&&_0x2261b9[_0x5da4e2(0x2cb)]||_0x2261b9!=null&&_0x2261b9[_0x5da4e2(0x289)]||_0x5f558e['id']===_0x30758f['RichTextEditingMutation']['id'])return;let _0x5ca18e=_0x5f558e[_0x5da4e2(0x1bb)];if((_0x5ca18e==null?void 0x0:_0x5ca18e[_0x5da4e2(0x1bc)])!==this[_0x5da4e2(0x266)])return;let _0x432c0e=_0x5f558e,_0x17e854=this[_0x5da4e2(0x3a8)]['interceptor'][_0x5da4e2(0x185)](this[_0x5da4e2(0x3a8)][_0x5da4e2(0x359)]['getInterceptPoints']()[_0x5da4e2(0x3d3)])([_0x432c0e],this[_0x5da4e2(0x371)])||[_0x432c0e];this['_onLocalMutation'](_0x17e854[0x0]);})),_0xaa4455;}};_0x1782f4=_0x3ecedb([_0x4923f4(0x3,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f['CompressMutationService'])),_0x4923f4(0x5,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x1e7)])),_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x205)])),_0x4923f4(0x7,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x20dd8a)),_0x4923f4(0x8,_0x4c9691[_0x388c16(0x384)]),_0x4923f4(0x9,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0xa,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0xb,_0x4c9691[_0x388c16(0x228)]),_0x4923f4(0xc,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xfce292)),_0x4923f4(0xd,(0x0,_0x4c9691['Optional'])(_0xd5c1f1))],_0x1782f4);let _0x1a46eb=class extends _0x44af68{constructor(_0x58e5ce,_0x33e9bb,_0xfaccc8,_0x2c6dea,_0x245e96,_0x31563f,_0x377b3f,_0x1ce9ae,_0x2974e7,_0x79a60f,_0x353b7c,_0x33d100,_0x26ad2c,_0x94298d,_0x582607){const _0x3fc660=_0x388c16;super(_0x58e5ce,_0xfaccc8,_0x33e9bb,_0x2c6dea,_0x245e96,_0x31563f,_0x377b3f,_0x2974e7,_0x79a60f,_0x353b7c,_0x33d100,_0x26ad2c,_0x94298d,_0x582607),this['unitID']=_0x58e5ce,this['type']=_0x33e9bb,this[_0x3fc660(0x2aa)]=_0x1ce9ae;}['_createHandler'](){const _0x387c70=_0x388c16;let _0x36e964=super[_0x387c70(0x1d7)]();return _0x36e964['onTransformSelections']=_0x4e6f4d=>this[_0x387c70(0x2aa)][_0x387c70(0x1db)](_0x4e6f4d),_0x36e964;}async[_0x388c16(0x15d)](){const _0x548bc9=_0x388c16;let _0x1cf35f=await super[_0x548bc9(0x15d)]();return this['disposeWithMe'](this['_commandService'][_0x548bc9(0x1e3)]((_0x491a1f,_0x5e212c)=>{const _0x41821f=_0x548bc9;if(_0x491a1f[_0x41821f(0x2f7)]!==_0x4c9691[_0x41821f(0x3b1)][_0x41821f(0x2c1)]||_0x5e212c!=null&&_0x5e212c[_0x41821f(0x2cb)]||_0x5e212c!=null&&_0x5e212c[_0x41821f(0x289)])return;let _0x4df62a=_0x491a1f[_0x41821f(0x1bb)];if((_0x4df62a==null?void 0x0:_0x4df62a[_0x41821f(0x1bc)])!==this[_0x41821f(0x266)])return;let _0x3cdefb=_0x491a1f,_0xf28cfb=this[_0x41821f(0x3a8)][_0x41821f(0x359)]['fetchThroughInterceptors'](this[_0x41821f(0x3a8)][_0x41821f(0x359)][_0x41821f(0x4b4)]()[_0x41821f(0x3d3)])([_0x3cdefb],this[_0x41821f(0x371)])||[_0x3cdefb];this['_onLocalMutation'](_0xf28cfb[0x0]);})),_0x1cf35f;}};_0x1a46eb=_0x3ecedb([_0x4923f4(0x3,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f['CompressMutationService'])),_0x4923f4(0x5,(0x0,_0x4c9691['Inject'])(_0x4c9691[_0x388c16(0x1e7)])),_0x4923f4(0x6,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f['RevisionService'])),_0x4923f4(0x7,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4d2785)),_0x4923f4(0x8,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x20dd8a)),_0x4923f4(0x9,_0x4c9691['IUniverInstanceService']),_0x4923f4(0xa,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0xb,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0xc,_0x4c9691[_0x388c16(0x228)]),_0x4923f4(0xd,(0x0,_0x4c9691['Optional'])(_0xfce292)),_0x4923f4(0xe,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x1a46eb);let _0x38a135=(0x0,_0x4c9691['createIdentifier'])(_0x388c16(0x38e));function _0x1efbe8(_0x4855f9){const _0x1fd2f0=_0x388c16;let _0x42f8f2=_0x4855f9[_0x1fd2f0(0x1d1)],_0x44775c=JSON['parse'](_0x42f8f2);switch(_0x44775c[_0x1fd2f0(0x239)]){case _0x4e3953[_0x1fd2f0(0x333)]:case _0x4e3953['HELLO']:{let _0x38d53c=_0x44775c[_0x1fd2f0(0x1e8)];return{..._0x44775c,'data':_0x38d53c,'cmd':_0x44775c[_0x1fd2f0(0x239)]};}case _0x4e3953[_0x1fd2f0(0x3dd)]:{let _0x53dbd8=_0x44775c[_0x1fd2f0(0x264)];return{..._0x44775c,'data':_0x53dbd8,'cmd':_0x44775c[_0x1fd2f0(0x239)]};}case _0x4e3953[_0x1fd2f0(0x16f)]:{let _0x49e354=_0x44775c['collaMsg'];switch(_0x49e354['eventID']){case _0x22113f['CollaborationEvent'][_0x1fd2f0(0x4c0)]:var _0x56b593;return{..._0x44775c,'data':{..._0x49e354,'data':(_0x56b593=_0x49e354['permissionRejEvent'])==null?void 0x0:_0x56b593['cs']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f['CollaborationEvent']['CHANGESET_ACK']:var _0xc2d1d7;return{..._0x44775c,'data':{..._0x49e354,'data':(_0xc2d1d7=_0x49e354[_0x1fd2f0(0x175)])==null?void 0x0:_0xc2d1d7['cs']},'cmd':_0x44775c['cmd']};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x261)]:var _0x52e6c8;return{..._0x44775c,'data':{..._0x49e354,'data':(_0x52e6c8=_0x49e354[_0x1fd2f0(0x1cb)])==null?void 0x0:_0x52e6c8['cs']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x3a3)]:var _0x5be21d;return{..._0x44775c,'data':{..._0x49e354,'data':(_0x5be21d=_0x49e354['csRejEvent'])==null?void 0x0:_0x5be21d['cs']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x35b)]:var _0xd0296b;return{..._0x44775c,'data':{..._0x49e354,'data':(_0xd0296b=_0x49e354[_0x1fd2f0(0x45f)])==null?void 0x0:_0xd0296b['cs']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x275)]:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['updateCursorEvent']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x4f1)]:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['joinEvent']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x1b6)]:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354[_0x1fd2f0(0x1a6)]},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)]['LIVESHARE_NEW_HOST']:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354[_0x1fd2f0(0x337)]},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f['CollaborationEvent'][_0x1fd2f0(0x404)]:case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x229)]:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354[_0x1fd2f0(0x422)]},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)]['LIVESHARE_TERMINATE']:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['liveShareNewHost']},'cmd':_0x44775c['cmd']};case _0x22113f[_0x1fd2f0(0x3f5)]['MSG_FOR_ERROR']:return{..._0x44775c,'data':_0x49e354,'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x21e)]:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['commentUpdateEvent']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)]['UPDATE_PERMISSION_OBJ']:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['updatePermissionObjEvent']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};case _0x22113f[_0x1fd2f0(0x3f5)]['SHOULD_CLOSE_CONN']:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['shouldCloseConn']},'cmd':_0x44775c['cmd']};case _0x22113f[_0x1fd2f0(0x3f5)][_0x1fd2f0(0x29a)]:return{..._0x44775c,'data':{..._0x49e354,'data':_0x49e354['uniscriptRunEvent']},'cmd':_0x44775c[_0x1fd2f0(0x239)]};default:return _0x44775c;}}default:return _0x44775c;}}function _0x51f47f(_0x26058a){const _0x56a036=_0x388c16;switch(_0x26058a[_0x56a036(0x239)]){case _0x4e3953[_0x56a036(0x333)]:case _0x4e3953[_0x56a036(0x3a2)]:return JSON[_0x56a036(0x1f7)]({'cmd':_0x26058a[_0x56a036(0x239)],'routeKey':_0x26058a['routeKey']});case _0x4e3953[_0x56a036(0x4b9)]:{let _0x4b3d7d;switch(_0x26058a['data'][_0x56a036(0x1d3)]){case _0x22113f[_0x56a036(0x3f5)][_0x56a036(0x275)]:_0x4b3d7d={'eventID':_0x22113f[_0x56a036(0x3f5)]['UPDATE_CURSOR'],'updateCursorEvent':_0x26058a[_0x56a036(0x1d1)][_0x56a036(0x1d1)]};break;case _0x22113f[_0x56a036(0x3f5)][_0x56a036(0x1b6)]:_0x4b3d7d={'eventID':_0x22113f[_0x56a036(0x3f5)][_0x56a036(0x1b6)],'leaveEvent':_0x26058a[_0x56a036(0x1d1)][_0x56a036(0x1d1)]};break;case _0x22113f[_0x56a036(0x3f5)]['USERS_ENTER']:_0x4b3d7d={'eventID':_0x22113f[_0x56a036(0x3f5)][_0x56a036(0x4f1)],'joinEvent':_0x26058a[_0x56a036(0x1d1)]['data']};break;case _0x22113f[_0x56a036(0x3f5)][_0x56a036(0x1cd)]:_0x4b3d7d={'eventID':_0x22113f['CollaborationEvent'][_0x56a036(0x1cd)],'liveShareNewHost':_0x26058a['data'][_0x56a036(0x1d1)]};break;case _0x22113f['CollaborationEvent'][_0x56a036(0x229)]:_0x4b3d7d={'eventID':_0x22113f[_0x56a036(0x3f5)][_0x56a036(0x229)],'liveShareOperation':_0x26058a[_0x56a036(0x1d1)][_0x56a036(0x1d1)]};break;case _0x22113f[_0x56a036(0x3f5)]['LIVESHARE_TERMINATE']:_0x4b3d7d={'eventID':_0x22113f[_0x56a036(0x3f5)][_0x56a036(0x4e2)],'liveShareTerminate':_0x26058a[_0x56a036(0x1d1)][_0x56a036(0x1d1)]};break;case _0x22113f[_0x56a036(0x3f5)][_0x56a036(0x37c)]:_0x4b3d7d={'eventID':_0x22113f['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x26058a[_0x56a036(0x1d1)][_0x56a036(0x1d1)]};break;case _0x22113f[_0x56a036(0x3f5)][_0x56a036(0x404)]:_0x4b3d7d={'eventID':_0x22113f['CollaborationEvent'][_0x56a036(0x404)]};break;default:_0x4b3d7d={'eventID':_0x26058a[_0x56a036(0x1d1)]['eventID']};}return JSON[_0x56a036(0x1f7)]({'cmd':_0x26058a[_0x56a036(0x239)],'routeKey':_0x26058a[_0x56a036(0x25b)],'collaMsg':_0x4b3d7d});}case _0x4e3953[_0x56a036(0x3dd)]:return JSON[_0x56a036(0x1f7)]({'cmd':_0x26058a[_0x56a036(0x239)],'routeKey':_0x26058a['routeKey'],'joinReq':_0x26058a[_0x56a036(0x1d1)]});case _0x4e3953['LEAVE']:return JSON['stringify']({'cmd':_0x26058a[_0x56a036(0x239)],'routeKey':_0x26058a[_0x56a036(0x25b)],'leaveReq':_0x26058a['data']});default:throw Error(_0x56a036(0x2d7));}}let _0x542253=(0x0,_0x4c9691[_0x388c16(0x4ad)])(_0x388c16(0x25c));function _0x571d5c(_0x221be3,_0x138776,_0x4d377b){const _0x3a5597=_0x388c16;return _0x221be3+'/'+_0x138776+'/unit/'+_0x4d377b+_0x3a5597(0x396);}let _0x3f3356=class extends _0x4c9691[_0x388c16(0x292)]{constructor(_0x1b7082,_0x10e947,_0x220e3c,_0x2386ab,_0x311fcc){const _0x45461c=_0x388c16;super(),this[_0x45461c(0x31f)]=_0x1b7082,this['_httpService']=_0x10e947,this[_0x45461c(0x28a)]=_0x220e3c,this[_0x45461c(0x3f1)]=_0x2386ab,this[_0x45461c(0x478)]=_0x311fcc;}[_0x388c16(0x16b)](_0x488322){const _0x457577=_0x388c16;let _0x2d5807=this[_0x457577(0x31f)][_0x457577(0x1c6)](_0x750beb['ISocketService']);if(!_0x2d5807)throw Error(_0x457577(0x193));let _0x3e4651=_0x2d5807['createSocket'](_0x488322);if(!_0x3e4651)throw Error(_0x457577(0x2c5));let _0x3e9c15=new _0x4c9691[(_0x457577(0x356))](),_0x504641=new _0x1d90a6[(_0x457577(0x310))]();_0x3e9c15[_0x457577(0x156)](_0x3e4651['close$'][_0x457577(0x339)](_0x3505cd=>_0x504641['next'](_0x3505cd))),_0x3e9c15['add']((0x0,_0x4c9691[_0x457577(0x49f)])(()=>_0x504641[_0x457577(0x303)]()));let _0x7c3ccb=new _0x1d90a6['Subject']();_0x3e9c15[_0x457577(0x156)](_0x3e4651[_0x457577(0x29d)][_0x457577(0x339)](_0x174c6e=>_0x7c3ccb[_0x457577(0x2fd)](_0x174c6e))),_0x3e9c15[_0x457577(0x156)]((0x0,_0x4c9691['toDisposable'])(()=>_0x7c3ccb[_0x457577(0x303)]()));let _0x2fc499=new _0x1d90a6['Subject']();_0x3e9c15[_0x457577(0x156)](_0x3e4651['message$']['subscribe'](_0x1981d7=>{const _0x399231=_0x457577;let _0x331d30=_0x1efbe8(_0x1981d7);_0x2fc499[_0x399231(0x2fd)](_0x331d30);})),_0x3e9c15[_0x457577(0x156)]((0x0,_0x4c9691[_0x457577(0x49f)])(()=>_0x2fc499[_0x457577(0x303)]()));let _0x57bf41,_0x2282d4=()=>{const _0x8f4311=_0x457577;_0x7c3ccb[_0x8f4311(0x2fd)](new Event(_0x8f4311(0x4d9))),_0x504641['next'](new Event(_0x8f4311(0x4d9))),_0x57bf41[_0x8f4311(0x28b)]();};return _0x57bf41={'memberID':'','close$':_0x504641[_0x457577(0x377)](),'error$':_0x7c3ccb[_0x457577(0x377)](),'open$':_0x3e4651['open$'],'message$':_0x2fc499[_0x457577(0x377)](),'send':_0x2ee14e=>{const _0x505d9f=_0x457577;if(_0x2ee14e[_0x505d9f(0x239)]===_0x4e3953[_0x505d9f(0x4b9)]){if(_0x2ee14e[_0x505d9f(0x1d1)]['eventID']===_0x22113f[_0x505d9f(0x3f5)][_0x505d9f(0x4a3)]){this[_0x505d9f(0x387)](_0x57bf41,_0x2ee14e[_0x505d9f(0x1d1)])[_0x505d9f(0x2b5)](_0x3758f9=>{const _0x1f0242=_0x505d9f;this[_0x1f0242(0x3f1)][_0x1f0242(0x1fa)](_0x3758f9),_0x2282d4();});return;}if(_0x2ee14e['data'][_0x505d9f(0x1d3)]===_0x22113f[_0x505d9f(0x3f5)][_0x505d9f(0x306)]){let _0xe4228b=_0x2ee14e['data'];this[_0x505d9f(0x425)](_0xe4228b)[_0x505d9f(0x358)](_0x3846da=>{const _0x4edeb7=_0x505d9f;_0x2fc499[_0x4edeb7(0x2fd)]({'cmd':_0x4e3953[_0x4edeb7(0x16f)],'code':_0x47fe30['OK'],'routeKey':_0xe4228b[_0x4edeb7(0x1d1)][_0x4edeb7(0x266)],'routeType':'','data':{'eventID':_0x22113f['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3846da}}});})['catch'](_0x5562d0=>{const _0x23fcd4=_0x505d9f;this[_0x23fcd4(0x3f1)][_0x23fcd4(0x1fa)](_0x5562d0),_0x2282d4();});return;}}_0x3e4651[_0x505d9f(0x302)](_0x51f47f(_0x2ee14e));},'close':()=>{const _0x32c71a=_0x457577;_0x3e4651[_0x32c71a(0x28b)](),_0x3e9c15[_0x32c71a(0x16e)]();}},_0x57bf41;}async[_0x388c16(0x387)](_0x2d33c3,_0x2284fb){const _0x14b28a=_0x388c16;var _0x2fce34;let {unitType:_0x338c4a,unitID:_0x17c07e,changeset:_0x58c4a2}=_0x2284fb['data'],_0x5e64af={'unitID':_0x17c07e,'memberID':_0x2d33c3[_0x14b28a(0x379)],'type':_0x338c4a,'changeset':(0x0,_0x22113f[_0x14b28a(0x469)])(_0x58c4a2)},_0x519757=this[_0x14b28a(0x28a)][_0x14b28a(0x438)](_0x52c9fb),_0x499d43=_0x571d5c((_0x2fce34=_0x519757==null?void 0x0:_0x519757['collabSubmitChangesetUrl'])==null?'/universer-api/comb':_0x2fce34,_0x338c4a,_0x17c07e);try{await this['_httpService'][_0x14b28a(0x34f)](_0x499d43,{'body':_0x5e64af});}catch(_0x41e5df){throw this[_0x14b28a(0x3f1)][_0x14b28a(0x1fa)](_0x14b28a(0x195),_0x14b28a(0x1e2)),_0x41e5df;}}async['_fetchMissChangesets'](_0x308be2){const _0x207946=_0x388c16;let {unitID:_0x2c45d0,from:_0x1096f3,to:_0x58b874,unitType:_0x59625f}=_0x308be2[_0x207946(0x1d1)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2c45d0,'type':_0x59625f,'from':_0x1096f3,'to':_0x58b874}))[_0x207946(0x1e4)]['map'](_0x52cf5c=>((_0x52cf5c[_0x207946(0x27b)]===null||_0x52cf5c[_0x207946(0x27b)]===void 0x0)&&(_0x52cf5c[_0x207946(0x27b)]=[]),_0x52cf5c));}};_0x3f3356=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691['Inject'])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x750beb[_0x388c16(0x28c)])),_0x4923f4(0x2,_0x4c9691[_0x388c16(0x28d)]),_0x4923f4(0x3,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0x4,_0x22113f[_0x388c16(0x482)])],_0x3f3356);let _0x8dbac3=class extends _0x4c9691[_0x388c16(0x292)]{get[_0x388c16(0x186)](){const _0x386216=_0x388c16;return this[_0x386216(0x357)][_0x386216(0x4a5)]();}constructor(_0x26fbd4,_0x30f383,_0x38f1fe,_0x578389,_0x2c12de,_0x22154e){const _0xc2a0f4=_0x388c16;super(),this[_0xc2a0f4(0x31f)]=_0x26fbd4,this[_0xc2a0f4(0x3f1)]=_0x30f383,this['_configService']=_0x38f1fe,this['_socketService']=_0x578389,this[_0xc2a0f4(0x1ec)]=_0x2c12de,this[_0xc2a0f4(0x4b3)]=_0x22154e,_0x167995(this,_0xc2a0f4(0x357),new _0x1d90a6['BehaviorSubject'](void 0x0)),_0x167995(this,'socket$',this[_0xc2a0f4(0x357)][_0xc2a0f4(0x377)]()),_0x167995(this,_0xc2a0f4(0x4b7),null),_0x167995(this,_0xc2a0f4(0x25d),new Map()),_0x167995(this,'_status$',new _0x1d90a6[(_0xc2a0f4(0x26f))](_0x16446d[_0xc2a0f4(0x392)])),_0x167995(this,'status$',this[_0xc2a0f4(0x23f)][_0xc2a0f4(0x377)]()),_0x167995(this,_0xc2a0f4(0x44c),!0x1),_0x167995(this,_0xc2a0f4(0x271),void 0x0),_0x167995(this,_0xc2a0f4(0x47d),0x0),_0x167995(this,'_sendHeartbeatTimer',void 0x0),_0x167995(this,_0xc2a0f4(0x18f),void 0x0),this[_0xc2a0f4(0x3fd)]();}[_0x388c16(0x3fd)](){const _0x4778cf=_0x388c16;this[_0x4778cf(0x4b3)]&&this['disposeWithMe'](this[_0x4778cf(0x4b3)]['online$'][_0x4778cf(0x339)](_0x3f48af=>{const _0x4b1015=_0x4778cf;_0x3f48af&&!this['_socket']&&this['reconnect'](),_0x3f48af||this[_0x4b1015(0x201)]();}));}[_0x388c16(0x16e)](){const _0x3b7a26=_0x388c16;super['dispose'](),this[_0x3b7a26(0x4c5)](),this[_0x3b7a26(0x479)](),this['_clearHeartbeatTimer'](),this[_0x3b7a26(0x25d)][_0x3b7a26(0x1d5)](_0x467416=>_0x467416['dispose']()),this[_0x3b7a26(0x25d)][_0x3b7a26(0x3c8)](),this[_0x3b7a26(0x23f)][_0x3b7a26(0x303)]();}async[_0x388c16(0x326)](_0x11758a){const _0x66c45a=_0x388c16;if(this[_0x66c45a(0x25d)]['has'](_0x11758a))return this[_0x66c45a(0x25d)][_0x66c45a(0x1c6)](_0x11758a);this['_tryEnsureSocket']();let _0x4f2fb3=this[_0x66c45a(0x31f)][_0x66c45a(0x251)](_0x4da542,_0x11758a,this['_socket$'][_0x66c45a(0x377)]());return this['_sessions'][_0x66c45a(0x163)](_0x11758a,_0x4f2fb3),_0x4f2fb3;}[_0x388c16(0x376)](_0x17dc6e){const _0x2ba992=_0x388c16;let _0x1cfdfd=this['_sessions'][_0x2ba992(0x1c6)](_0x17dc6e);if(_0x1cfdfd&&(this[_0x2ba992(0x25d)][_0x2ba992(0x18b)](_0x17dc6e),_0x1cfdfd[_0x2ba992(0x28b)]()),!this['_sessions'][_0x2ba992(0x42b)]){var _0x16394b;(_0x16394b=this[_0x2ba992(0x186)])==null||_0x16394b[_0x2ba992(0x28b)]();}}[_0x388c16(0x3f0)](){const _0x5bf22=_0x388c16;this[_0x5bf22(0x47d)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x5bf22(0x2b8)]();}['_clearRetryConnectingTimer'](){const _0x2bf262=_0x388c16;this[_0x2bf262(0x271)]!=null&&(clearTimeout(this[_0x2bf262(0x271)]),this[_0x2bf262(0x271)]=null);}async['_createSocket'](){const _0x4ade1d=_0x388c16;var _0x4b45b6;let _0x2bba3e=this[_0x4ade1d(0x28a)][_0x4ade1d(0x438)](_0x52c9fb),_0x13f363=(_0x4b45b6=_0x2bba3e==null?void 0x0:_0x2bba3e[_0x4ade1d(0x280)])==null?_0x1049c0:_0x4b45b6,_0x4a6f0b=await this['_socketService'][_0x4ade1d(0x47b)](_0x13f363);return this[_0x4ade1d(0x4b7)]=_0x4a6f0b,_0x4a6f0b;}async[_0x388c16(0x34d)](){const _0x623bae=_0x388c16;try{var _0x1bcbfa,_0x9da353;let _0x5c1dd1=(_0x1bcbfa=(_0x9da353=this[_0x623bae(0x186)])==null?this[_0x623bae(0x4b7)]:_0x9da353)==null?await this[_0x623bae(0x32a)]():_0x1bcbfa;if(_0x5c1dd1){let _0x3dacb1=_0x5c1dd1[_0x623bae(0x302)];_0x5c1dd1[_0x623bae(0x302)]=_0x122dc5=>(_0x122dc5[_0x623bae(0x239)]!==_0x4e3953[_0x623bae(0x2f4)]&&this[_0x623bae(0x31e)](),_0x3dacb1[_0x623bae(0x313)](_0x5c1dd1,[_0x122dc5])),_0x5c1dd1[_0x623bae(0x4bc)][_0x623bae(0x339)](_0x46fac9=>this['_onMessage'](_0x5c1dd1,_0x46fac9)),_0x5c1dd1['error$'][_0x623bae(0x3f8)]((0x0,_0x29e3de['take'])(0x1))[_0x623bae(0x339)](_0x3c0f50=>this[_0x623bae(0x3f1)][_0x623bae(0x1fa)]('[CollaborationSessionService]:\x20socket\x20error',_0x3c0f50)),_0x5c1dd1['open$'][_0x623bae(0x3f8)]((0x0,_0x29e3de[_0x623bae(0x468)])(0x1))[_0x623bae(0x339)](()=>{const _0x55d65e=_0x623bae;this[_0x55d65e(0x1ff)](_0x5c1dd1);}),_0x5c1dd1[_0x623bae(0x24d)][_0x623bae(0x3f8)]((0x0,_0x29e3de['take'])(0x1))[_0x623bae(0x339)](_0x19edbb=>{const _0x3789df=_0x623bae;this['_logService'][_0x3789df(0x24e)](_0x3789df(0x4d4),_0x3789df(0x152),_0x19edbb),this[_0x3789df(0x46b)]();});}}catch(_0x43a6dc){this[_0x623bae(0x3f1)][_0x623bae(0x1fa)](_0x43a6dc),this[_0x623bae(0x46b)]();}}[_0x388c16(0x1ff)](_0x2e6ce0){const _0x57e917=_0x388c16;this[_0x57e917(0x3f1)][_0x57e917(0x24e)]('[CollaborationSessionService]',_0x57e917(0x423)),_0x2e6ce0[_0x57e917(0x302)]({'cmd':_0x4e3953['HELLO']}),this[_0x57e917(0x31e)]();}[_0x388c16(0x201)](){const _0x5da1b8=_0x388c16;this[_0x5da1b8(0x44c)]=!0x1,this[_0x5da1b8(0x4b7)]=null,this[_0x5da1b8(0x23f)][_0x5da1b8(0x2fd)](_0x16446d[_0x5da1b8(0x2a5)]),this['_socket$'][_0x5da1b8(0x2fd)](null),this[_0x5da1b8(0x479)](),this[_0x5da1b8(0x459)]();}[_0x388c16(0x46b)](){const _0xf15d58=_0x388c16;var _0x2bda24;this[_0xf15d58(0x201)](),this[_0xf15d58(0x47d)]<((_0x2bda24=this[_0xf15d58(0x28a)][_0xf15d58(0x438)]('RETRY_CONNECTING_MAX_COUNT'))==null?0x3:_0x2bda24)?(this['_collaborationUIEventService'][_0xf15d58(0x14f)]({'id':_0x577fae[_0xf15d58(0x498)]}),this['_tryReconnect']()):this[_0xf15d58(0x1ec)]['emitEvent']({'id':_0x577fae[_0xf15d58(0x41f)]});}['_tryReconnect'](){const _0x46db6e=_0x388c16;var _0x184ba2;let _0x4dc620=this[_0x46db6e(0x47d)],_0x45e96e=this[_0x46db6e(0x28a)]['getConfig'](_0x52c9fb),_0x39bdd0=_0x4dc620===0x0?0x0:((_0x184ba2=_0x45e96e==null?void 0x0:_0x45e96e['retryConnectingInterval'])==null?0x4e20:_0x184ba2)*0x2**_0x4dc620;this[_0x46db6e(0x271)]=setTimeout(()=>{const _0x2832e0=_0x46db6e;clearTimeout(this[_0x2832e0(0x271)]),this[_0x2832e0(0x271)]=null,this[_0x2832e0(0x34d)]();},_0x39bdd0),this[_0x46db6e(0x47d)]+=0x1;}[_0x388c16(0x169)](_0x2f63c1,_0x45fe98){const _0x10470f=_0x388c16;let {cmd:_0x2974e6}=_0x45fe98;_0x2974e6===_0x4e3953[_0x10470f(0x3a2)]&&!this['_socketReady']&&(_0x2f63c1[_0x10470f(0x379)]=_0x45fe98['data'][_0x10470f(0x379)],this[_0x10470f(0x357)][_0x10470f(0x2fd)](_0x2f63c1),this[_0x10470f(0x23f)][_0x10470f(0x2fd)](_0x16446d['ONLINE']),this[_0x10470f(0x44c)]=!0x0,this['_candidateSocket']=null),_0x2974e6===_0x4e3953[_0x10470f(0x333)]&&this['_clearTimeoutTimer'](),this[_0x10470f(0x31e)]();}[_0x388c16(0x31e)](){const _0x53ed7a=_0x388c16;var _0x1e2748;this[_0x53ed7a(0x459)](),this[_0x53ed7a(0x2ec)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1e2748=this[_0x53ed7a(0x28a)][_0x53ed7a(0x438)](_0x53ed7a(0x38c)))==null?0x7530:_0x1e2748);}[_0x388c16(0x3d1)](){const _0x54dfff=_0x388c16;this[_0x54dfff(0x186)][_0x54dfff(0x302)]({'cmd':_0x4e3953['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){const _0x53447e=_0x388c16;var _0x9a71c7;this[_0x53447e(0x18f)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x9a71c7=this[_0x53447e(0x28a)][_0x53447e(0x438)]('HEARTBEAT_TIMEOUT'))==null?_0x1790d5:_0x9a71c7);}[_0x388c16(0x459)](){const _0x34e27f=_0x388c16;this[_0x34e27f(0x2ec)]!=null&&(clearTimeout(this[_0x34e27f(0x2ec)]),this['_sendHeartbeatTimer']=null);}[_0x388c16(0x479)](){const _0x1f99fe=_0x388c16;this[_0x1f99fe(0x18f)]!=null&&(clearTimeout(this[_0x1f99fe(0x18f)]),this[_0x1f99fe(0x18f)]=null);}};_0x8dbac3=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691['Inject'])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x1,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0x2,_0x4c9691[_0x388c16(0x28d)]),_0x4923f4(0x3,_0x542253),_0x4923f4(0x4,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x20dd8a)),_0x4923f4(0x5,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0x38a135))],_0x8dbac3);let _0x8eab61=class extends _0x4c9691[_0x388c16(0x433)]{constructor(_0x9b31f6,_0x5b705b,_0x486c00,_0xf105b8){const _0x3ea86b=_0x388c16;var _0x9f87bc;super(),this[_0x3ea86b(0x31f)]=_0x9b31f6,this[_0x3ea86b(0x3fe)]=_0x5b705b,this[_0x3ea86b(0x28a)]=_0x486c00,this['_univerInstanceService']=_0xf105b8,_0x167995(this,_0x3ea86b(0x30f),new Map()),_0x167995(this,_0x3ea86b(0x315),new _0x1d90a6[(_0x3ea86b(0x310))]()),_0x167995(this,_0x3ea86b(0x1c8),this[_0x3ea86b(0x315)][_0x3ea86b(0x377)]()),((_0x9f87bc=this[_0x3ea86b(0x28a)][_0x3ea86b(0x438)](_0x3ea86b(0x448)))==null?void 0x0:_0x9f87bc[_0x3ea86b(0x1aa)])!==!0x1&&this['_init']();}[_0x388c16(0x16e)](){const _0x41ac00=_0x388c16;super[_0x41ac00(0x16e)](),this[_0x41ac00(0x30f)][_0x41ac00(0x1d5)](_0x212384=>_0x212384['dispose']()),this['_entities'][_0x41ac00(0x3c8)]();}['getCollabEntity'](_0x35cd9d){const _0xd88924=_0x388c16;var _0x3a6f66;return(_0x3a6f66=this[_0xd88924(0x30f)][_0xd88924(0x1c6)](_0x35cd9d))==null?null:_0x3a6f66;}[_0x388c16(0x174)](_0xfabc65){const _0x5a1ec6=_0x388c16;let _0xb8959f=this[_0x5a1ec6(0x341)](_0xfabc65);return _0xb8959f?(0x0,_0x1d90a6['of'])(_0xb8959f):this[_0x5a1ec6(0x315)][_0x5a1ec6(0x3f8)]((0x0,_0x29e3de['filter'])(_0x34fd08=>_0x34fd08[_0x5a1ec6(0x266)]===_0xfabc65));}[_0x388c16(0x294)](_0x381590){const _0x49757e=_0x388c16;return(0x0,_0x1d90a6[_0x49757e(0x2ce)])(this[_0x49757e(0x174)](_0x381590)[_0x49757e(0x3f8)]((0x0,_0x29e3de['map'])(()=>void 0x0)));}['_init'](){const _0xcc99af=_0x388c16;this['_univerInstanceService'][_0xcc99af(0x408)](_0x4c9691[_0xcc99af(0x385)][_0xcc99af(0x464)])[_0xcc99af(0x3f8)]((0x0,_0x1d90a6[_0xcc99af(0x199)])(this[_0xcc99af(0x473)]),(0x0,_0x29e3de[_0xcc99af(0x32e)])(0x10))[_0xcc99af(0x339)](async _0x210c6d=>{const _0x29559b=_0xcc99af;let _0x517c97=_0x210c6d['getUnitId'](),_0x13d56e=await this[_0x29559b(0x44d)](_0x517c97,_0x194d58[_0x29559b(0x464)]);this[_0x29559b(0x30f)][_0x29559b(0x163)](_0x517c97,_0x13d56e);}),this[_0xcc99af(0x371)][_0xcc99af(0x408)](_0x4c9691[_0xcc99af(0x385)][_0xcc99af(0x38b)])['pipe']((0x0,_0x1d90a6[_0xcc99af(0x199)])(this['dispose$']),(0x0,_0x29e3de[_0xcc99af(0x32e)])(0x10))[_0xcc99af(0x3f8)]((0x0,_0x29e3de[_0xcc99af(0x33f)])(_0x5c272a=>!_0x5c272a[_0xcc99af(0x323)]()[_0xcc99af(0x1c9)]('__')))[_0xcc99af(0x339)](async _0x1fdd70=>{const _0x209b0c=_0xcc99af;let _0x4a3f49=_0x1fdd70[_0x209b0c(0x323)](),_0x293bb4=await this[_0x209b0c(0x44d)](_0x4a3f49,_0x194d58['UNIVER_DOC']);this['_entities'][_0x209b0c(0x163)](_0x4a3f49,_0x293bb4);}),(0x0,_0x1d90a6['merge'])(this[_0xcc99af(0x371)][_0xcc99af(0x1b4)](_0x4c9691[_0xcc99af(0x385)][_0xcc99af(0x464)]),this[_0xcc99af(0x371)][_0xcc99af(0x1b4)](_0x4c9691['UniverInstanceType']['UNIVER_DOC']))['pipe']((0x0,_0x1d90a6[_0xcc99af(0x199)])(this[_0xcc99af(0x473)]))[_0xcc99af(0x339)](_0x5e1154=>{const _0x19be80=_0xcc99af;let _0x4f8328=_0x5e1154['getUnitId'](),_0xffd3ff=this['_entities'][_0x19be80(0x1c6)](_0x4f8328);_0xffd3ff&&(_0xffd3ff[_0x19be80(0x16e)](),this[_0x19be80(0x30f)][_0x19be80(0x18b)](_0x4f8328));});}async['_startCollaboration'](_0x27e42f,_0x50b332){const _0x553057=_0x388c16;let _0x678a61=await this['_collabSessionService']['requireSession'](_0x27e42f),_0x2fca58=this['_injector']['createInstance'](this[_0x553057(0x440)](_0x50b332),_0x27e42f,_0x50b332,_0x678a61);return await _0x2fca58[_0x553057(0x4ed)](),this['_entityInit$'][_0x553057(0x2fd)](_0x2fca58),_0x2fca58;}['_getCtorByUniverType'](_0x294ddd){const _0x1f4400=_0x388c16;switch(_0x294ddd){case _0x194d58['UNIVER_DOC']:return _0x1782f4;case _0x194d58[_0x1f4400(0x464)]:return _0x1a46eb;default:throw Error(_0x1f4400(0x335)+_0x294ddd);}}};_0x8eab61=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691['Injector'])),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x8dbac3)),_0x4923f4(0x2,_0x4c9691['IConfigService']),_0x4923f4(0x3,_0x4c9691[_0x388c16(0x384)])],_0x8eab61);var _0x4fc999=_0x388c16(0x241),_0x22bf0b=_0x388c16(0x1b3);let _0x197e21=class extends _0x4c9691[_0x388c16(0x292)]{constructor(_0xa0f9b8,_0x578e4a){const _0x4d127c=_0x388c16;super(),this[_0x4d127c(0x371)]=_0xa0f9b8,this['_configService']=_0x578e4a,this[_0x4d127c(0x15d)]();}[_0x388c16(0x15d)](){const _0x490cd4=_0x388c16;this['disposeWithMe'](this['_univerInstanceService'][_0x490cd4(0x407)][_0x490cd4(0x339)](()=>{const _0x11e124=_0x490cd4;var _0x362c36;let _0x3afb98=this[_0x11e124(0x371)][_0x11e124(0x2e3)](),_0x2d5f8e=(_0x362c36=this[_0x11e124(0x28a)][_0x11e124(0x438)](_0x11e124(0x2c4)))==null?'Univer':_0x362c36;_0x3afb98 instanceof _0x4c9691[_0x11e124(0x160)]&&(_0x2d5f8e=_0x3afb98[_0x11e124(0x417)]),document[_0x11e124(0x246)]=_0x2d5f8e;}));}};_0x197e21=_0x3ecedb([_0x4923f4(0x0,_0x4c9691['IUniverInstanceService']),_0x4923f4(0x1,_0x4c9691[_0x388c16(0x28d)])],_0x197e21);let _0x593144=class{constructor(_0x3552b7,_0x3df2c7,_0x333c11){const _0x136c47=_0x388c16;this['_configService']=_0x3552b7,this[_0x136c47(0x3c2)]=_0x3df2c7,this[_0x136c47(0x3fb)]=_0x333c11,this[_0x136c47(0x4ed)]();}[_0x388c16(0x4ed)](){const _0xb4d6d8=_0x388c16;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x21cc92,_0x4af0ac)=>_0x4af0ac(_0x21cc92)[_0xb4d6d8(0x3f8)]((0x0,_0x1d90a6['concatMap'])(async _0x2034b0=>{const _0x22234d=_0xb4d6d8;let _0x473587=_0x2034b0;if(_0x473587[_0x22234d(0x282)]===0x191){if(typeof window>'u')throw Error(_0x22234d(0x22b));if(window[_0x22234d(0x4f6)](this[_0x22234d(0x3fb)]['t']('auth.needGotoLoginAlert'))){let _0x36bc67=window[_0x22234d(0x45d)](window[_0x22234d(0x496)][_0x22234d(0x456)]);window[_0x22234d(0x496)][_0x22234d(0x456)]=this[_0x22234d(0x3ff)]()+_0x22234d(0x276)+_0x36bc67;}}return _0x473587;}))});}[_0x388c16(0x3ff)](){const _0x254b0e=_0x388c16;var _0xce29fe;let _0x43fe03=this['_configService'][_0x254b0e(0x438)](_0x52c9fb);return(_0xce29fe=_0x43fe03==null?void 0x0:_0x43fe03['loginUrlKey'])==null?_0x254b0e(0x1dc):_0xce29fe;}};_0x593144=_0x3ecedb([_0x4923f4(0x0,_0x4c9691[_0x388c16(0x28d)]),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x750beb[_0x388c16(0x28c)])),_0x4923f4(0x2,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691['LocaleService']))],_0x593144);let _0x164e3a=class extends _0x4c9691[_0x388c16(0x292)]{constructor(_0x42c2ff,_0x417d0b){const _0x38a771=_0x388c16;super(),this[_0x38a771(0x300)]=_0x42c2ff,this[_0x38a771(0x28a)]=_0x417d0b,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){const _0x5c4ceb=_0x388c16;let _0xc2fd80=this;this['disposeWithMe'](this[_0x5c4ceb(0x300)][_0x5c4ceb(0x47f)]({'priority':0x3e7,'interceptor':(0x0,_0x750beb[_0x5c4ceb(0x1ab)])({'isMatch'(_0x254626){const _0x5e998e=_0x5c4ceb;var _0x5608d2;if(_0x254626[_0x5e998e(0x350)]==='POST'&&(_0x5608d2=_0x254626['requestParams'])!=null&&_0x5608d2[_0x5e998e(0x401)]){let {objectID:_0x155e4c,objectType:_0x2bd3a3}=_0x254626[_0x5e998e(0x1ac)]['body']||{};if(!_0x155e4c||_0x2bd3a3===void 0x0)return!0x1;let _0x4095b3=_0xc2fd80['_getAPIPrefixPath']()+'/'+_0x2bd3a3+_0x5e998e(0x20d)+_0x155e4c+_0x5e998e(0x24a);if(_0x254626['url']===_0x4095b3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x7f5551){const _0x10af9e=_0x5c4ceb;var _0x402b2f;return(_0x402b2f=_0x7f5551[_0x10af9e(0x1ac)])==null?void 0x0:_0x402b2f['body'];},'mergeParamsToRequest'(_0x2817c6,_0x3867ae){const _0x2bf09f=_0x5c4ceb;let _0xd9ffb0=_0xc2fd80['_getAPIPrefixPath']()+_0x2bf09f(0x402),_0x2701e7=_0x2817c6['reduce']((_0x4c527e,_0x22b892)=>{const _0x23a50b=_0x2bf09f;let {unitID:_0x51fce4,objectID:_0x8a33c1,objectType:_0x39f95b,actions:_0x12afc6}=_0x22b892;return _0x4c527e[_0x51fce4]||(_0x4c527e[_0x51fce4]={}),_0x4c527e[_0x51fce4][_0x8a33c1]||(_0x4c527e[_0x51fce4][_0x8a33c1]={'objectID':_0x8a33c1,'objectType':_0x39f95b,'actions':[]}),_0x4c527e[_0x51fce4][_0x8a33c1][_0x23a50b(0x2e4)][_0x23a50b(0x221)](..._0x12afc6),_0x4c527e;},{}),_0x435ffa=[];for(let _0x56c205 in _0x2701e7)for(let _0x4ba982 in _0x2701e7[_0x56c205]){let {actions:_0x1918f1,objectType:_0x3652c1}=_0x2701e7[_0x56c205][_0x4ba982],_0xa6c14c=[...new Set(_0x1918f1)];_0x435ffa[_0x2bf09f(0x221)]({'unitID':_0x56c205,'objectID':_0x4ba982,'objectType':_0x3652c1,'actions':_0xa6c14c});}return new _0x750beb[(_0x2bf09f(0x3af))]('POST',_0xd9ffb0,{'headers':_0x3867ae['headers'],'withCredentials':_0x3867ae['withCredentials'],'responseType':_0x3867ae[_0x2bf09f(0x1d9)],'body':{'requests':_0x435ffa}});}},{'distributeResult'(_0x5c5e66,_0x4c563e){let {objectActions:_0x412fcc}=_0x5c5e66;return _0x4c563e['map'](_0x3aad97=>{const _0x7f2b4=_0x2f25;let {unitID:_0x336dfa,objectID:_0x4b93f0,actions:_0x4d8a23}=_0x3aad97,_0x203b0=_0x412fcc[_0x7f2b4(0x332)](_0x2d78ce=>_0x2d78ce[_0x7f2b4(0x266)]===_0x336dfa&&_0x2d78ce[_0x7f2b4(0x494)]===_0x4b93f0);return{'config':_0x3aad97,'result':{'actions':_0x4d8a23[_0x7f2b4(0x1da)](_0x2da1d6=>_0x203b0==null?void 0x0:_0x203b0[_0x7f2b4(0x2e4)][_0x7f2b4(0x332)](_0x41abf5=>_0x41abf5[_0x7f2b4(0x46c)]===_0x2da1d6))[_0x7f2b4(0x33f)](_0x1037d5=>!!_0x1037d5),'error':_0x5c5e66['error']}};});}})}));}[_0x388c16(0x3cb)](){const _0x1151f0=_0x388c16;var _0x25528f;let _0x1651e8=this['_configService'][_0x1151f0(0x438)](_0x52c9fb);return(_0x25528f=_0x1651e8==null?void 0x0:_0x1651e8['authzUrl'])==null?_0x1151f0(0x2f5):_0x25528f;}async[_0x388c16(0x434)](_0x519321){const _0x400fc1=_0x388c16;let _0x4e7eba=this[_0x400fc1(0x3cb)]()+'/'+_0x519321[_0x400fc1(0x4de)]+'/object';return(await this[_0x400fc1(0x300)][_0x400fc1(0x34f)](_0x4e7eba,{'body':_0x519321}))[_0x400fc1(0x401)][_0x400fc1(0x494)]||'';}async[_0x388c16(0x2d0)](_0x4db085){const _0x20d2bc=_0x388c16;let _0x288392=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x20d2bc(0x300)][_0x20d2bc(0x34f)](_0x288392,{'body':_0x4db085}))[_0x20d2bc(0x401)][_0x20d2bc(0x41e)];}async['update'](_0x29e385){const _0x5ea3be=_0x388c16;var _0x2b138f;let _0x16dbdc=this[_0x5ea3be(0x3cb)]()+'/'+_0x29e385[_0x5ea3be(0x4de)]+_0x5ea3be(0x20d)+_0x29e385[_0x5ea3be(0x494)],_0x27b3a2=await this[_0x5ea3be(0x300)][_0x5ea3be(0x216)](_0x16dbdc,{'body':_0x29e385});if((_0x27b3a2==null||(_0x2b138f=_0x27b3a2['body'])==null||(_0x2b138f=_0x2b138f['error'])==null?void 0x0:_0x2b138f[_0x5ea3be(0x309)])!==0x1)throw Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x388c16(0x413)](_0x43fac5){const _0x3923a3=_0x388c16;let _0x3c55b8=this[_0x3923a3(0x3cb)]()+'/'+_0x43fac5[_0x3923a3(0x4de)]+_0x3923a3(0x20d)+_0x43fac5['objectID']+_0x3923a3(0x24a);return(await this[_0x3923a3(0x300)][_0x3923a3(0x34f)](_0x3c55b8,{'body':_0x43fac5}))[_0x3923a3(0x401)][_0x3923a3(0x2e4)];}async[_0x388c16(0x3a0)](_0x53a447){const _0x37f4d2=_0x388c16;let _0x4db934=this['_getAPIPrefixPath']()+_0x37f4d2(0x402);return(await this[_0x37f4d2(0x300)][_0x37f4d2(0x34f)](_0x4db934,{'body':{'requests':_0x53a447}}))[_0x37f4d2(0x401)][_0x37f4d2(0x272)];}async[_0x388c16(0x2a9)](_0x39db52){const _0x255b96=_0x388c16;let _0x56ed61=this[_0x255b96(0x3cb)]()+'/'+_0x39db52[_0x255b96(0x4de)]+_0x255b96(0x405),_0xa2e8be=await this[_0x255b96(0x300)][_0x255b96(0x34f)](_0x56ed61,{'body':_0x39db52});return{'roles':_0xa2e8be[_0x255b96(0x401)]['roles'],'actions':_0xa2e8be[_0x255b96(0x401)][_0x255b96(0x2e4)]};}async['deleteCollaborator'](_0x7dfff8){const _0x21f50d=_0x388c16;let _0x1708ef=this[_0x21f50d(0x3cb)]()+_0x21f50d(0x489);await this[_0x21f50d(0x300)]['delete'](_0x1708ef,{'params':{'collaboratorID':_0x7dfff8[_0x21f50d(0x475)],'objectID':_0x7dfff8['objectID'],'unitID':_0x7dfff8[_0x21f50d(0x266)]}});}async[_0x388c16(0x29f)](_0x13e839){const _0x132e99=_0x388c16;let _0x227de4=this[_0x132e99(0x3cb)]()+_0x132e99(0x489);await this[_0x132e99(0x300)][_0x132e99(0x1f1)](_0x227de4,{'body':_0x13e839});}async[_0x388c16(0x2be)](_0x41df39){const _0x42e8d9=_0x388c16;let _0x1a1cc1=this[_0x42e8d9(0x3cb)]()+_0x42e8d9(0x489);await this[_0x42e8d9(0x300)]['post'](_0x1a1cc1,{'body':_0x41df39});}async['listCollaborators'](_0x459662){const _0x1be3c1=_0x388c16;let _0x3b362b=this[_0x1be3c1(0x3cb)]()+_0x1be3c1(0x489);return(await this[_0x1be3c1(0x300)][_0x1be3c1(0x1c6)](_0x3b362b,{'params':{'objectID':_0x459662[_0x1be3c1(0x494)],'unitID':_0x459662[_0x1be3c1(0x266)]}}))[_0x1be3c1(0x401)][_0x1be3c1(0x279)];}async['putCollaborators'](_0x2cb427){const _0x2e888a=_0x388c16;let _0x40bf1e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x2e888a(0x300)][_0x2e888a(0x216)](_0x40bf1e,{'body':_0x2cb427});}};_0x164e3a=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691['Inject'])(_0x750beb[_0x388c16(0x28c)])),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x28d)]))],_0x164e3a);var _0x2c2800=_0x5841b6(()=>{}),_0x46bfe1=_0x5841b6((_0x16d902,_0x359803)=>{(function(_0x40f7cb,_0x26ba00){const _0x1934a6=_0x2f25;typeof _0x16d902==_0x1934a6(0x2cd)?_0x359803[_0x1934a6(0x19d)]=_0x16d902=_0x26ba00():typeof define==_0x1934a6(0x4f0)&&define[_0x1934a6(0x2d8)]?define([],_0x26ba00):_0x40f7cb[_0x1934a6(0x1ee)]=_0x26ba00();}(_0x16d902,function(){var _0x28f5fe=_0x28f5fe||function(_0x14113a,_0xf02a48){const _0x120193=_0x2f25;var _0x24da58;if(typeof window<'u'&&window['crypto']&&(_0x24da58=window[_0x120193(0x2eb)]),typeof self<'u'&&self['crypto']&&(_0x24da58=self[_0x120193(0x2eb)]),typeof globalThis<'u'&&globalThis[_0x120193(0x2eb)]&&(_0x24da58=globalThis[_0x120193(0x2eb)]),!_0x24da58&&typeof window<'u'&&window[_0x120193(0x442)]&&(_0x24da58=window['msCrypto']),!_0x24da58&&typeof global<'u'&&global[_0x120193(0x2eb)]&&(_0x24da58=global[_0x120193(0x2eb)]),!_0x24da58&&typeof require==_0x120193(0x4f0))try{_0x24da58=_0x2c2800();}catch{}var _0x3f2265=function(){const _0x23e875=_0x120193;if(_0x24da58){if(typeof _0x24da58['getRandomValues']==_0x23e875(0x4f0))try{return _0x24da58[_0x23e875(0x248)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x24da58['randomBytes']=='function')try{return _0x24da58['randomBytes'](0x4)['readInt32LE']();}catch{}}throw Error(_0x23e875(0x34a));},_0x2da216=Object[_0x120193(0x434)]||(function(){function _0x93f076(){}return function(_0x5354ed){const _0x2d7e2c=_0x2f25;var _0x44f9cb;return _0x93f076[_0x2d7e2c(0x3b4)]=_0x5354ed,_0x44f9cb=new _0x93f076(),_0x93f076['prototype']=null,_0x44f9cb;};}()),_0x336614={},_0x4d972e=_0x336614[_0x120193(0x27e)]={},_0x3652c8=_0x4d972e[_0x120193(0x15f)]=(function(){return{'extend':function(_0x4a733e){const _0x5afee0=_0x2f25;var _0x426b2b=_0x2da216(this);return _0x4a733e&&_0x426b2b[_0x5afee0(0x1fe)](_0x4a733e),(!_0x426b2b[_0x5afee0(0x213)](_0x5afee0(0x4ed))||this['init']===_0x426b2b[_0x5afee0(0x4ed)])&&(_0x426b2b['init']=function(){const _0x507b5f=_0x5afee0;_0x426b2b[_0x507b5f(0x210)][_0x507b5f(0x4ed)][_0x507b5f(0x313)](this,arguments);}),_0x426b2b['init'][_0x5afee0(0x3b4)]=_0x426b2b,_0x426b2b[_0x5afee0(0x210)]=this,_0x426b2b;},'create':function(){const _0xe0f417=_0x2f25;var _0x2c857f=this[_0xe0f417(0x287)]();return _0x2c857f[_0xe0f417(0x4ed)][_0xe0f417(0x313)](_0x2c857f,arguments),_0x2c857f;},'init':function(){},'mixIn':function(_0x554cf7){const _0x435a1e=_0x2f25;for(var _0x413505 in _0x554cf7)_0x554cf7[_0x435a1e(0x213)](_0x413505)&&(this[_0x413505]=_0x554cf7[_0x413505]);_0x554cf7[_0x435a1e(0x213)](_0x435a1e(0x42d))&&(this[_0x435a1e(0x42d)]=_0x554cf7[_0x435a1e(0x42d)]);},'clone':function(){const _0x294271=_0x2f25;return this[_0x294271(0x4ed)][_0x294271(0x3b4)][_0x294271(0x287)](this);}};}()),_0x7ba536=_0x4d972e[_0x120193(0x23a)]=_0x3652c8['extend']({'init':function(_0x2c10e0,_0xd16360){const _0x14be76=_0x120193;_0x2c10e0=this[_0x14be76(0x2d6)]=_0x2c10e0||[],_0xd16360==_0xf02a48?this[_0x14be76(0x2c7)]=_0x2c10e0[_0x14be76(0x1a3)]*0x4:this[_0x14be76(0x2c7)]=_0xd16360;},'toString':function(_0x5de0e9){const _0x19fd58=_0x120193;return(_0x5de0e9||_0x4781bd)[_0x19fd58(0x1f7)](this);},'concat':function(_0x477329){const _0x50ce8c=_0x120193;var _0x4ecd66=this[_0x50ce8c(0x2d6)],_0x39fa4d=_0x477329[_0x50ce8c(0x2d6)],_0x5e975e=this[_0x50ce8c(0x2c7)],_0xd54a5b=_0x477329[_0x50ce8c(0x2c7)];if(this[_0x50ce8c(0x21f)](),_0x5e975e%0x4)for(var _0x2c32b3=0x0;_0x2c32b3<_0xd54a5b;_0x2c32b3++){var _0x34b582=_0x39fa4d[_0x2c32b3>>>0x2]>>>0x18-_0x2c32b3%0x4*0x8&0xff;_0x4ecd66[_0x5e975e+_0x2c32b3>>>0x2]|=_0x34b582<<0x18-(_0x5e975e+_0x2c32b3)%0x4*0x8;}else{for(var _0x1b5888=0x0;_0x1b5888<_0xd54a5b;_0x1b5888+=0x4)_0x4ecd66[_0x5e975e+_0x1b5888>>>0x2]=_0x39fa4d[_0x1b5888>>>0x2];}return this[_0x50ce8c(0x2c7)]+=_0xd54a5b,this;},'clamp':function(){const _0x10bd86=_0x120193;var _0x10ba15=this['words'],_0x5f1f84=this[_0x10bd86(0x2c7)];_0x10ba15[_0x5f1f84>>>0x2]&=0xffffffff<<0x20-_0x5f1f84%0x4*0x8,_0x10ba15['length']=_0x14113a[_0x10bd86(0x317)](_0x5f1f84/0x4);},'clone':function(){const _0x58d4b4=_0x120193;var _0x485a76=_0x3652c8[_0x58d4b4(0x4a4)]['call'](this);return _0x485a76[_0x58d4b4(0x2d6)]=this[_0x58d4b4(0x2d6)][_0x58d4b4(0x342)](0x0),_0x485a76;},'random':function(_0x194fef){const _0x2846cd=_0x120193;for(var _0x4c3386=[],_0x8baaf9=0x0;_0x8baaf9<_0x194fef;_0x8baaf9+=0x4)_0x4c3386['push'](_0x3f2265());return new _0x7ba536[(_0x2846cd(0x4ed))](_0x4c3386,_0x194fef);}}),_0x25d875=_0x336614[_0x120193(0x281)]={},_0x4781bd=_0x25d875[_0x120193(0x4db)]={'stringify':function(_0x86236d){const _0x215af6=_0x120193;for(var _0x33a2c1=_0x86236d[_0x215af6(0x2d6)],_0x374476=_0x86236d[_0x215af6(0x2c7)],_0x219ea3=[],_0x131dab=0x0;_0x131dab<_0x374476;_0x131dab++){var _0x37efbb=_0x33a2c1[_0x131dab>>>0x2]>>>0x18-_0x131dab%0x4*0x8&0xff;_0x219ea3[_0x215af6(0x221)]((_0x37efbb>>>0x4)[_0x215af6(0x42d)](0x10)),_0x219ea3[_0x215af6(0x221)]((_0x37efbb&0xf)[_0x215af6(0x42d)](0x10));}return _0x219ea3[_0x215af6(0x3a4)]('');},'parse':function(_0x51fc62){const _0x2efb3e=_0x120193;for(var _0x5db1de=_0x51fc62[_0x2efb3e(0x1a3)],_0x3659fa=[],_0x4270b3=0x0;_0x4270b3<_0x5db1de;_0x4270b3+=0x2)_0x3659fa[_0x4270b3>>>0x3]|=parseInt(_0x51fc62[_0x2efb3e(0x151)](_0x4270b3,0x2),0x10)<<0x18-_0x4270b3%0x8*0x4;return new _0x7ba536[(_0x2efb3e(0x4ed))](_0x3659fa,_0x5db1de/0x2);}},_0x398fb5=_0x25d875[_0x120193(0x345)]={'stringify':function(_0x3d8cc0){const _0x17358f=_0x120193;for(var _0x2327df=_0x3d8cc0[_0x17358f(0x2d6)],_0x5f35b9=_0x3d8cc0[_0x17358f(0x2c7)],_0x440163=[],_0x3a9666=0x0;_0x3a9666<_0x5f35b9;_0x3a9666++){var _0x43db6b=_0x2327df[_0x3a9666>>>0x2]>>>0x18-_0x3a9666%0x4*0x8&0xff;_0x440163['push'](String[_0x17358f(0x360)](_0x43db6b));}return _0x440163[_0x17358f(0x3a4)]('');},'parse':function(_0x29987c){const _0x446e5b=_0x120193;for(var _0x3cd249=_0x29987c['length'],_0x344d26=[],_0x4ac81b=0x0;_0x4ac81b<_0x3cd249;_0x4ac81b++)_0x344d26[_0x4ac81b>>>0x2]|=(_0x29987c[_0x446e5b(0x256)](_0x4ac81b)&0xff)<<0x18-_0x4ac81b%0x4*0x8;return new _0x7ba536[(_0x446e5b(0x4ed))](_0x344d26,_0x3cd249);}},_0x4ab15e=_0x25d875[_0x120193(0x154)]={'stringify':function(_0x48311a){const _0x80ac75=_0x120193;try{return decodeURIComponent(escape(_0x398fb5[_0x80ac75(0x1f7)](_0x48311a)));}catch{throw Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x857292){const _0x17ceb7=_0x120193;return _0x398fb5[_0x17ceb7(0x382)](unescape(encodeURIComponent(_0x857292)));}},_0x4395eb=_0x4d972e['BufferedBlockAlgorithm']=_0x3652c8['extend']({'reset':function(){const _0xce9e76=_0x120193;this[_0xce9e76(0x203)]=new _0x7ba536[(_0xce9e76(0x4ed))](),this[_0xce9e76(0x226)]=0x0;},'_append':function(_0x5860c0){const _0xc8bb=_0x120193;typeof _0x5860c0=='string'&&(_0x5860c0=_0x4ab15e[_0xc8bb(0x382)](_0x5860c0)),this[_0xc8bb(0x203)][_0xc8bb(0x2b1)](_0x5860c0),this['_nDataBytes']+=_0x5860c0[_0xc8bb(0x2c7)];},'_process':function(_0x59925e){const _0x13d644=_0x120193;var _0x515c41,_0x321b13=this['_data'],_0x14b4dc=_0x321b13[_0x13d644(0x2d6)],_0xdd9414=_0x321b13[_0x13d644(0x2c7)],_0x5c4ae8=this['blockSize'],_0x48efb5=_0xdd9414/(_0x5c4ae8*0x4);_0x48efb5=_0x59925e?_0x14113a['ceil'](_0x48efb5):_0x14113a[_0x13d644(0x3d4)]((_0x48efb5|0x0)-this[_0x13d644(0x1eb)],0x0);var _0x4541b7=_0x48efb5*_0x5c4ae8,_0x114898=_0x14113a[_0x13d644(0x41c)](_0x4541b7*0x4,_0xdd9414);if(_0x4541b7){for(var _0x4a141e=0x0;_0x4a141e<_0x4541b7;_0x4a141e+=_0x5c4ae8)this[_0x13d644(0x34b)](_0x14b4dc,_0x4a141e);_0x515c41=_0x14b4dc[_0x13d644(0x2ff)](0x0,_0x4541b7),_0x321b13[_0x13d644(0x2c7)]-=_0x114898;}return new _0x7ba536[(_0x13d644(0x4ed))](_0x515c41,_0x114898);},'clone':function(){const _0x49e640=_0x120193;var _0x42eb66=_0x3652c8[_0x49e640(0x4a4)][_0x49e640(0x48c)](this);return _0x42eb66[_0x49e640(0x203)]=this[_0x49e640(0x203)][_0x49e640(0x4a4)](),_0x42eb66;},'_minBufferSize':0x0});_0x4d972e[_0x120193(0x1e5)]=_0x4395eb[_0x120193(0x287)]({'cfg':_0x3652c8[_0x120193(0x287)](),'init':function(_0x644664){const _0x257d76=_0x120193;this['cfg']=this['cfg'][_0x257d76(0x287)](_0x644664),this[_0x257d76(0x460)]();},'reset':function(){const _0x13215b=_0x120193;_0x4395eb[_0x13215b(0x460)][_0x13215b(0x48c)](this),this[_0x13215b(0x259)]();},'update':function(_0x95df63){const _0x5447e5=_0x120193;return this['_append'](_0x95df63),this[_0x5447e5(0x3e2)](),this;},'finalize':function(_0x58ee67){const _0x182100=_0x120193;return _0x58ee67&&this[_0x182100(0x2cf)](_0x58ee67),this[_0x182100(0x220)]();},'blockSize':0x200/0x20,'_createHelper':function(_0x10b820){return function(_0x40dc3f,_0x4ba8c5){const _0x329089=_0x2f25;return new _0x10b820['init'](_0x4ba8c5)[_0x329089(0x412)](_0x40dc3f);};},'_createHmacHelper':function(_0x33abc2){return function(_0x32411f,_0x3aaf71){const _0x25594e=_0x2f25;return new _0x3fdf5c['HMAC'][(_0x25594e(0x4ed))](_0x33abc2,_0x3aaf71)[_0x25594e(0x412)](_0x32411f);};}});var _0x3fdf5c=_0x336614[_0x120193(0x214)]={};return _0x336614;}(Math);return _0x28f5fe;}));}),_0x2096e9=_0x5841b6((_0x17fd23,_0x1bb272)=>{(function(_0x3a051a,_0x2888e1){const _0x2a1468=_0x2f25;typeof _0x17fd23==_0x2a1468(0x2cd)?_0x1bb272[_0x2a1468(0x19d)]=_0x17fd23=_0x2888e1(_0x46bfe1()):typeof define==_0x2a1468(0x4f0)&&define[_0x2a1468(0x2d8)]?define([_0x2a1468(0x414)],_0x2888e1):_0x2888e1(_0x3a051a[_0x2a1468(0x1ee)]);}(_0x17fd23,function(_0x12d5dd){const _0x44e94f=_0x2f25;return(function(){const _0x53a4a5=_0x2f25;var _0x3f5145=_0x12d5dd,_0x2bf9b8=_0x3f5145[_0x53a4a5(0x27e)][_0x53a4a5(0x23a)],_0x343936=_0x3f5145['enc'];_0x343936[_0x53a4a5(0x240)]={'stringify':function(_0x41ad7c){const _0x3ec949=_0x53a4a5;var _0x1f4eb9=_0x41ad7c[_0x3ec949(0x2d6)],_0x4f0c97=_0x41ad7c[_0x3ec949(0x2c7)],_0x4e83a6=this[_0x3ec949(0x176)];_0x41ad7c[_0x3ec949(0x21f)]();for(var _0x244e52=[],_0x1dcff7=0x0;_0x1dcff7<_0x4f0c97;_0x1dcff7+=0x3)for(var _0x43b8f9=_0x1f4eb9[_0x1dcff7>>>0x2]>>>0x18-_0x1dcff7%0x4*0x8&0xff,_0xd24ce4=_0x1f4eb9[_0x1dcff7+0x1>>>0x2]>>>0x18-(_0x1dcff7+0x1)%0x4*0x8&0xff,_0x5b5fa6=_0x1f4eb9[_0x1dcff7+0x2>>>0x2]>>>0x18-(_0x1dcff7+0x2)%0x4*0x8&0xff,_0x3955e3=_0x43b8f9<<0x10|_0xd24ce4<<0x8|_0x5b5fa6,_0x521067=0x0;_0x521067<0x4&&_0x1dcff7+_0x521067*0.75<_0x4f0c97;_0x521067++)_0x244e52[_0x3ec949(0x221)](_0x4e83a6['charAt'](_0x3955e3>>>0x6*(0x3-_0x521067)&0x3f));var _0x16b952=_0x4e83a6[_0x3ec949(0x418)](0x40);if(_0x16b952){for(;_0x244e52[_0x3ec949(0x1a3)]%0x4;)_0x244e52['push'](_0x16b952);}return _0x244e52[_0x3ec949(0x3a4)]('');},'parse':function(_0x7a1972){const _0x247bbb=_0x53a4a5;var _0x2c151d=_0x7a1972[_0x247bbb(0x1a3)],_0xe3b04d=this['_map'],_0x11f23b=this['_reverseMap'];if(!_0x11f23b){_0x11f23b=this['_reverseMap']=[];for(var _0x51325c=0x0;_0x51325c<_0xe3b04d[_0x247bbb(0x1a3)];_0x51325c++)_0x11f23b[_0xe3b04d[_0x247bbb(0x256)](_0x51325c)]=_0x51325c;}var _0x5219b9=_0xe3b04d[_0x247bbb(0x418)](0x40);if(_0x5219b9){var _0x207e84=_0x7a1972['indexOf'](_0x5219b9);_0x207e84!==-0x1&&(_0x2c151d=_0x207e84);}return _0x2b9682(_0x7a1972,_0x2c151d,_0x11f23b);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x2b9682(_0x4d4dff,_0x530bb1,_0x297fbe){const _0x5e4279=_0x53a4a5;for(var _0x2a9505=[],_0x307d9a=0x0,_0x44ae61=0x0;_0x44ae61<_0x530bb1;_0x44ae61++)if(_0x44ae61%0x4){var _0x2d776a=_0x297fbe[_0x4d4dff[_0x5e4279(0x256)](_0x44ae61-0x1)]<<_0x44ae61%0x4*0x2|_0x297fbe[_0x4d4dff['charCodeAt'](_0x44ae61)]>>>0x6-_0x44ae61%0x4*0x2;_0x2a9505[_0x307d9a>>>0x2]|=_0x2d776a<<0x18-_0x307d9a%0x4*0x8,_0x307d9a++;}return _0x2bf9b8[_0x5e4279(0x434)](_0x2a9505,_0x307d9a);}}()),_0x12d5dd[_0x44e94f(0x281)][_0x44e94f(0x240)];}));}),_0x486abd=_0x5841b6((_0x1c1b88,_0x41d371)=>{(function(_0x2e8cbd,_0x530452){const _0x481cf6=_0x2f25;typeof _0x1c1b88=='object'?_0x41d371[_0x481cf6(0x19d)]=_0x1c1b88=_0x530452(_0x46bfe1()):typeof define==_0x481cf6(0x4f0)&&define[_0x481cf6(0x2d8)]?define(['./core'],_0x530452):_0x530452(_0x2e8cbd[_0x481cf6(0x1ee)]);}(_0x1c1b88,function(_0x278035){return function(_0x43d75e){const _0x5a2e5a=_0x2f25;var _0x2f6fa3=_0x278035,_0x3e968a=_0x2f6fa3['lib'],_0xaf34bf=_0x3e968a[_0x5a2e5a(0x23a)],_0x3bcf80=_0x3e968a[_0x5a2e5a(0x1e5)],_0x58ac7a=_0x2f6fa3[_0x5a2e5a(0x214)],_0x5bc57a=[];(function(){const _0x3f6276=_0x5a2e5a;for(var _0x16c429=0x0;_0x16c429<0x40;_0x16c429++)_0x5bc57a[_0x16c429]=_0x43d75e[_0x3f6276(0x1f0)](_0x43d75e[_0x3f6276(0x30a)](_0x16c429+0x1))*0x100000000|0x0;}());var _0x28905d=_0x58ac7a[_0x5a2e5a(0x46f)]=_0x3bcf80['extend']({'_doReset':function(){const _0x260e01=_0x5a2e5a;this[_0x260e01(0x17b)]=new _0xaf34bf[(_0x260e01(0x4ed))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1ca848,_0x22847a){const _0x3056b1=_0x5a2e5a;for(var _0x1c03a2=0x0;_0x1c03a2<0x10;_0x1c03a2++){var _0x10d9f9=_0x22847a+_0x1c03a2,_0x22f6f1=_0x1ca848[_0x10d9f9];_0x1ca848[_0x10d9f9]=(_0x22f6f1<<0x8|_0x22f6f1>>>0x18)&0xff00ff|(_0x22f6f1<<0x18|_0x22f6f1>>>0x8)&0xff00ff00;}var _0x5e19bc=this[_0x3056b1(0x17b)][_0x3056b1(0x2d6)],_0x2afc26=_0x1ca848[_0x22847a+0x0],_0x4c94ed=_0x1ca848[_0x22847a+0x1],_0x15c969=_0x1ca848[_0x22847a+0x2],_0x8ffb16=_0x1ca848[_0x22847a+0x3],_0x14f5e8=_0x1ca848[_0x22847a+0x4],_0x23d5ad=_0x1ca848[_0x22847a+0x5],_0x39cf59=_0x1ca848[_0x22847a+0x6],_0x2ff9fa=_0x1ca848[_0x22847a+0x7],_0x5793fe=_0x1ca848[_0x22847a+0x8],_0x2adde9=_0x1ca848[_0x22847a+0x9],_0x303445=_0x1ca848[_0x22847a+0xa],_0xd7cbe9=_0x1ca848[_0x22847a+0xb],_0x58835d=_0x1ca848[_0x22847a+0xc],_0x4e801c=_0x1ca848[_0x22847a+0xd],_0x2128e9=_0x1ca848[_0x22847a+0xe],_0x37ae24=_0x1ca848[_0x22847a+0xf],_0xb2524a=_0x5e19bc[0x0],_0x215d28=_0x5e19bc[0x1],_0x4452f1=_0x5e19bc[0x2],_0x3a3751=_0x5e19bc[0x3];_0xb2524a=_0x2bb9ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x2afc26,0x7,_0x5bc57a[0x0]),_0x3a3751=_0x2bb9ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x4c94ed,0xc,_0x5bc57a[0x1]),_0x4452f1=_0x2bb9ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x15c969,0x11,_0x5bc57a[0x2]),_0x215d28=_0x2bb9ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x8ffb16,0x16,_0x5bc57a[0x3]),_0xb2524a=_0x2bb9ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x14f5e8,0x7,_0x5bc57a[0x4]),_0x3a3751=_0x2bb9ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x23d5ad,0xc,_0x5bc57a[0x5]),_0x4452f1=_0x2bb9ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x39cf59,0x11,_0x5bc57a[0x6]),_0x215d28=_0x2bb9ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x2ff9fa,0x16,_0x5bc57a[0x7]),_0xb2524a=_0x2bb9ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x5793fe,0x7,_0x5bc57a[0x8]),_0x3a3751=_0x2bb9ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x2adde9,0xc,_0x5bc57a[0x9]),_0x4452f1=_0x2bb9ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x303445,0x11,_0x5bc57a[0xa]),_0x215d28=_0x2bb9ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0xd7cbe9,0x16,_0x5bc57a[0xb]),_0xb2524a=_0x2bb9ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x58835d,0x7,_0x5bc57a[0xc]),_0x3a3751=_0x2bb9ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x4e801c,0xc,_0x5bc57a[0xd]),_0x4452f1=_0x2bb9ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x2128e9,0x11,_0x5bc57a[0xe]),_0x215d28=_0x2bb9ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x37ae24,0x16,_0x5bc57a[0xf]),_0xb2524a=_0x4f03ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x4c94ed,0x5,_0x5bc57a[0x10]),_0x3a3751=_0x4f03ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x39cf59,0x9,_0x5bc57a[0x11]),_0x4452f1=_0x4f03ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0xd7cbe9,0xe,_0x5bc57a[0x12]),_0x215d28=_0x4f03ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x2afc26,0x14,_0x5bc57a[0x13]),_0xb2524a=_0x4f03ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x23d5ad,0x5,_0x5bc57a[0x14]),_0x3a3751=_0x4f03ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x303445,0x9,_0x5bc57a[0x15]),_0x4452f1=_0x4f03ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x37ae24,0xe,_0x5bc57a[0x16]),_0x215d28=_0x4f03ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x14f5e8,0x14,_0x5bc57a[0x17]),_0xb2524a=_0x4f03ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x2adde9,0x5,_0x5bc57a[0x18]),_0x3a3751=_0x4f03ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x2128e9,0x9,_0x5bc57a[0x19]),_0x4452f1=_0x4f03ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x8ffb16,0xe,_0x5bc57a[0x1a]),_0x215d28=_0x4f03ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x5793fe,0x14,_0x5bc57a[0x1b]),_0xb2524a=_0x4f03ad(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x4e801c,0x5,_0x5bc57a[0x1c]),_0x3a3751=_0x4f03ad(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x15c969,0x9,_0x5bc57a[0x1d]),_0x4452f1=_0x4f03ad(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x2ff9fa,0xe,_0x5bc57a[0x1e]),_0x215d28=_0x4f03ad(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x58835d,0x14,_0x5bc57a[0x1f]),_0xb2524a=_0x4cfadd(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x23d5ad,0x4,_0x5bc57a[0x20]),_0x3a3751=_0x4cfadd(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x5793fe,0xb,_0x5bc57a[0x21]),_0x4452f1=_0x4cfadd(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0xd7cbe9,0x10,_0x5bc57a[0x22]),_0x215d28=_0x4cfadd(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x2128e9,0x17,_0x5bc57a[0x23]),_0xb2524a=_0x4cfadd(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x4c94ed,0x4,_0x5bc57a[0x24]),_0x3a3751=_0x4cfadd(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x14f5e8,0xb,_0x5bc57a[0x25]),_0x4452f1=_0x4cfadd(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x2ff9fa,0x10,_0x5bc57a[0x26]),_0x215d28=_0x4cfadd(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x303445,0x17,_0x5bc57a[0x27]),_0xb2524a=_0x4cfadd(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x4e801c,0x4,_0x5bc57a[0x28]),_0x3a3751=_0x4cfadd(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x2afc26,0xb,_0x5bc57a[0x29]),_0x4452f1=_0x4cfadd(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x8ffb16,0x10,_0x5bc57a[0x2a]),_0x215d28=_0x4cfadd(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x39cf59,0x17,_0x5bc57a[0x2b]),_0xb2524a=_0x4cfadd(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x2adde9,0x4,_0x5bc57a[0x2c]),_0x3a3751=_0x4cfadd(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x58835d,0xb,_0x5bc57a[0x2d]),_0x4452f1=_0x4cfadd(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x37ae24,0x10,_0x5bc57a[0x2e]),_0x215d28=_0x4cfadd(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x15c969,0x17,_0x5bc57a[0x2f]),_0xb2524a=_0x5c5f55(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x2afc26,0x6,_0x5bc57a[0x30]),_0x3a3751=_0x5c5f55(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x2ff9fa,0xa,_0x5bc57a[0x31]),_0x4452f1=_0x5c5f55(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x2128e9,0xf,_0x5bc57a[0x32]),_0x215d28=_0x5c5f55(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x23d5ad,0x15,_0x5bc57a[0x33]),_0xb2524a=_0x5c5f55(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x58835d,0x6,_0x5bc57a[0x34]),_0x3a3751=_0x5c5f55(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x8ffb16,0xa,_0x5bc57a[0x35]),_0x4452f1=_0x5c5f55(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x303445,0xf,_0x5bc57a[0x36]),_0x215d28=_0x5c5f55(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x4c94ed,0x15,_0x5bc57a[0x37]),_0xb2524a=_0x5c5f55(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x5793fe,0x6,_0x5bc57a[0x38]),_0x3a3751=_0x5c5f55(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0x37ae24,0xa,_0x5bc57a[0x39]),_0x4452f1=_0x5c5f55(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x39cf59,0xf,_0x5bc57a[0x3a]),_0x215d28=_0x5c5f55(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x4e801c,0x15,_0x5bc57a[0x3b]),_0xb2524a=_0x5c5f55(_0xb2524a,_0x215d28,_0x4452f1,_0x3a3751,_0x14f5e8,0x6,_0x5bc57a[0x3c]),_0x3a3751=_0x5c5f55(_0x3a3751,_0xb2524a,_0x215d28,_0x4452f1,_0xd7cbe9,0xa,_0x5bc57a[0x3d]),_0x4452f1=_0x5c5f55(_0x4452f1,_0x3a3751,_0xb2524a,_0x215d28,_0x15c969,0xf,_0x5bc57a[0x3e]),_0x215d28=_0x5c5f55(_0x215d28,_0x4452f1,_0x3a3751,_0xb2524a,_0x2adde9,0x15,_0x5bc57a[0x3f]),_0x5e19bc[0x0]=_0x5e19bc[0x0]+_0xb2524a|0x0,_0x5e19bc[0x1]=_0x5e19bc[0x1]+_0x215d28|0x0,_0x5e19bc[0x2]=_0x5e19bc[0x2]+_0x4452f1|0x0,_0x5e19bc[0x3]=_0x5e19bc[0x3]+_0x3a3751|0x0;},'_doFinalize':function(){const _0x3a031f=_0x5a2e5a;var _0x39ef5c=this[_0x3a031f(0x203)],_0x2c5f0d=_0x39ef5c[_0x3a031f(0x2d6)],_0x211df0=this[_0x3a031f(0x226)]*0x8,_0x18e49f=_0x39ef5c[_0x3a031f(0x2c7)]*0x8;_0x2c5f0d[_0x18e49f>>>0x5]|=0x80<<0x18-_0x18e49f%0x20;var _0x15d4f3=_0x43d75e[_0x3a031f(0x419)](_0x211df0/0x100000000),_0x62653a=_0x211df0;_0x2c5f0d[(_0x18e49f+0x40>>>0x9<<0x4)+0xf]=(_0x15d4f3<<0x8|_0x15d4f3>>>0x18)&0xff00ff|(_0x15d4f3<<0x18|_0x15d4f3>>>0x8)&0xff00ff00,_0x2c5f0d[(_0x18e49f+0x40>>>0x9<<0x4)+0xe]=(_0x62653a<<0x8|_0x62653a>>>0x18)&0xff00ff|(_0x62653a<<0x18|_0x62653a>>>0x8)&0xff00ff00,_0x39ef5c['sigBytes']=(_0x2c5f0d[_0x3a031f(0x1a3)]+0x1)*0x4,this['_process']();for(var _0x212ae3=this[_0x3a031f(0x17b)],_0x245cf7=_0x212ae3[_0x3a031f(0x2d6)],_0x348abb=0x0;_0x348abb<0x4;_0x348abb++){var _0x45fc0d=_0x245cf7[_0x348abb];_0x245cf7[_0x348abb]=(_0x45fc0d<<0x8|_0x45fc0d>>>0x18)&0xff00ff|(_0x45fc0d<<0x18|_0x45fc0d>>>0x8)&0xff00ff00;}return _0x212ae3;},'clone':function(){const _0x5d4814=_0x5a2e5a;var _0x174017=_0x3bcf80['clone'][_0x5d4814(0x48c)](this);return _0x174017['_hash']=this[_0x5d4814(0x17b)][_0x5d4814(0x4a4)](),_0x174017;}});function _0x2bb9ad(_0x318e2e,_0x583974,_0x2564cd,_0x5a8262,_0x11032f,_0x2cce82,_0x1690e0){var _0x5ee733=_0x318e2e+(_0x583974&_0x2564cd|~_0x583974&_0x5a8262)+_0x11032f+_0x1690e0;return(_0x5ee733<<_0x2cce82|_0x5ee733>>>0x20-_0x2cce82)+_0x583974;}function _0x4f03ad(_0x13bc79,_0x271be9,_0x59484f,_0x3d26c7,_0x5336dd,_0x490cf6,_0x41c3e7){var _0x372d99=_0x13bc79+(_0x271be9&_0x3d26c7|_0x59484f&~_0x3d26c7)+_0x5336dd+_0x41c3e7;return(_0x372d99<<_0x490cf6|_0x372d99>>>0x20-_0x490cf6)+_0x271be9;}function _0x4cfadd(_0x3a260f,_0x126e03,_0x329c8a,_0x6fa85b,_0x1144c6,_0x5aab70,_0x302c73){var _0x3753f2=_0x3a260f+(_0x126e03^_0x329c8a^_0x6fa85b)+_0x1144c6+_0x302c73;return(_0x3753f2<<_0x5aab70|_0x3753f2>>>0x20-_0x5aab70)+_0x126e03;}function _0x5c5f55(_0x5236c9,_0x187e00,_0x594da9,_0x3cc0b6,_0x4f8e70,_0x1788f4,_0x47319e){var _0x257d15=_0x5236c9+(_0x594da9^(_0x187e00|~_0x3cc0b6))+_0x4f8e70+_0x47319e;return(_0x257d15<<_0x1788f4|_0x257d15>>>0x20-_0x1788f4)+_0x187e00;}_0x2f6fa3[_0x5a2e5a(0x46f)]=_0x3bcf80[_0x5a2e5a(0x211)](_0x28905d),_0x2f6fa3['HmacMD5']=_0x3bcf80[_0x5a2e5a(0x436)](_0x28905d);}(Math),_0x278035['MD5'];}));}),_0x4090e2=_0x5841b6((_0x35266d,_0x2aa484)=>{(function(_0x58426d,_0x3473e8){const _0x148af6=_0x2f25;typeof _0x35266d==_0x148af6(0x2cd)?_0x2aa484['exports']=_0x35266d=_0x3473e8(_0x46bfe1()):typeof define==_0x148af6(0x4f0)&&define[_0x148af6(0x2d8)]?define([_0x148af6(0x414)],_0x3473e8):_0x3473e8(_0x58426d[_0x148af6(0x1ee)]);}(_0x35266d,function(_0x51322c){const _0x343e96=_0x2f25;return(function(){const _0x3c77d3=_0x2f25;var _0x4e4bbb=_0x51322c,_0x400039=_0x4e4bbb['lib'],_0x4197c9=_0x400039[_0x3c77d3(0x23a)],_0x33c020=_0x400039[_0x3c77d3(0x1e5)],_0x5276dc=_0x4e4bbb[_0x3c77d3(0x214)],_0x28c151=[],_0x9ff724=_0x5276dc[_0x3c77d3(0x4a1)]=_0x33c020[_0x3c77d3(0x287)]({'_doReset':function(){const _0x431a08=_0x3c77d3;this['_hash']=new _0x4197c9[(_0x431a08(0x4ed))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1dd7a7,_0x858371){const _0x309005=_0x3c77d3;for(var _0x1cc545=this[_0x309005(0x17b)][_0x309005(0x2d6)],_0x521634=_0x1cc545[0x0],_0x502d79=_0x1cc545[0x1],_0x5a196a=_0x1cc545[0x2],_0x3accd0=_0x1cc545[0x3],_0x5e6a31=_0x1cc545[0x4],_0x35ffb4=0x0;_0x35ffb4<0x50;_0x35ffb4++){if(_0x35ffb4<0x10)_0x28c151[_0x35ffb4]=_0x1dd7a7[_0x858371+_0x35ffb4]|0x0;else{var _0x53059c=_0x28c151[_0x35ffb4-0x3]^_0x28c151[_0x35ffb4-0x8]^_0x28c151[_0x35ffb4-0xe]^_0x28c151[_0x35ffb4-0x10];_0x28c151[_0x35ffb4]=_0x53059c<<0x1|_0x53059c>>>0x1f;}var _0x56bb14=(_0x521634<<0x5|_0x521634>>>0x1b)+_0x5e6a31+_0x28c151[_0x35ffb4];_0x35ffb4<0x14?_0x56bb14+=(_0x502d79&_0x5a196a|~_0x502d79&_0x3accd0)+0x5a827999:_0x35ffb4<0x28?_0x56bb14+=(_0x502d79^_0x5a196a^_0x3accd0)+0x6ed9eba1:_0x35ffb4<0x3c?_0x56bb14+=(_0x502d79&_0x5a196a|_0x502d79&_0x3accd0|_0x5a196a&_0x3accd0)-0x70e44324:_0x56bb14+=(_0x502d79^_0x5a196a^_0x3accd0)-0x359d3e2a,_0x5e6a31=_0x3accd0,_0x3accd0=_0x5a196a,_0x5a196a=_0x502d79<<0x1e|_0x502d79>>>0x2,_0x502d79=_0x521634,_0x521634=_0x56bb14;}_0x1cc545[0x0]=_0x1cc545[0x0]+_0x521634|0x0,_0x1cc545[0x1]=_0x1cc545[0x1]+_0x502d79|0x0,_0x1cc545[0x2]=_0x1cc545[0x2]+_0x5a196a|0x0,_0x1cc545[0x3]=_0x1cc545[0x3]+_0x3accd0|0x0,_0x1cc545[0x4]=_0x1cc545[0x4]+_0x5e6a31|0x0;},'_doFinalize':function(){const _0x3e540d=_0x3c77d3;var _0x58d11c=this['_data'],_0x43da01=_0x58d11c[_0x3e540d(0x2d6)],_0x29b0a9=this[_0x3e540d(0x226)]*0x8,_0x238f32=_0x58d11c[_0x3e540d(0x2c7)]*0x8;return _0x43da01[_0x238f32>>>0x5]|=0x80<<0x18-_0x238f32%0x20,_0x43da01[(_0x238f32+0x40>>>0x9<<0x4)+0xe]=Math[_0x3e540d(0x419)](_0x29b0a9/0x100000000),_0x43da01[(_0x238f32+0x40>>>0x9<<0x4)+0xf]=_0x29b0a9,_0x58d11c[_0x3e540d(0x2c7)]=_0x43da01[_0x3e540d(0x1a3)]*0x4,this['_process'](),this[_0x3e540d(0x17b)];},'clone':function(){const _0x1fc73b=_0x3c77d3;var _0x222d35=_0x33c020['clone']['call'](this);return _0x222d35[_0x1fc73b(0x17b)]=this[_0x1fc73b(0x17b)][_0x1fc73b(0x4a4)](),_0x222d35;}});_0x4e4bbb[_0x3c77d3(0x4a1)]=_0x33c020[_0x3c77d3(0x211)](_0x9ff724),_0x4e4bbb[_0x3c77d3(0x1f5)]=_0x33c020[_0x3c77d3(0x436)](_0x9ff724);}()),_0x51322c[_0x343e96(0x4a1)];}));}),_0x3beb81=_0x5841b6((_0x2a0bf7,_0xab207f)=>{(function(_0x52e620,_0x2c9200){const _0x375965=_0x2f25;typeof _0x2a0bf7=='object'?_0xab207f[_0x375965(0x19d)]=_0x2a0bf7=_0x2c9200(_0x46bfe1()):typeof define==_0x375965(0x4f0)&&define[_0x375965(0x2d8)]?define(['./core'],_0x2c9200):_0x2c9200(_0x52e620[_0x375965(0x1ee)]);}(_0x2a0bf7,function(_0xb661fd){(function(){const _0x30205c=_0x2f25;var _0x483200=_0xb661fd,_0x492964=_0x483200[_0x30205c(0x27e)][_0x30205c(0x15f)],_0x47a1a8=_0x483200[_0x30205c(0x281)][_0x30205c(0x154)],_0x4d615a=_0x483200[_0x30205c(0x214)];_0x4d615a[_0x30205c(0x466)]=_0x492964[_0x30205c(0x287)]({'init':function(_0x249972,_0x49771c){const _0x19291e=_0x30205c;_0x249972=this[_0x19291e(0x439)]=new _0x249972[(_0x19291e(0x4ed))](),typeof _0x49771c==_0x19291e(0x3e4)&&(_0x49771c=_0x47a1a8['parse'](_0x49771c));var _0x7b483a=_0x249972[_0x19291e(0x44f)],_0x425ddf=_0x7b483a*0x4;_0x49771c[_0x19291e(0x2c7)]>_0x425ddf&&(_0x49771c=_0x249972['finalize'](_0x49771c)),_0x49771c[_0x19291e(0x21f)]();for(var _0xff25ff=this[_0x19291e(0x487)]=_0x49771c[_0x19291e(0x4a4)](),_0x1ceacf=this['_iKey']=_0x49771c['clone'](),_0x199971=_0xff25ff[_0x19291e(0x2d6)],_0x573afc=_0x1ceacf[_0x19291e(0x2d6)],_0x1af592=0x0;_0x1af592<_0x7b483a;_0x1af592++)_0x199971[_0x1af592]^=0x5c5c5c5c,_0x573afc[_0x1af592]^=0x36363636;_0xff25ff[_0x19291e(0x2c7)]=_0x1ceacf[_0x19291e(0x2c7)]=_0x425ddf,this[_0x19291e(0x460)]();},'reset':function(){const _0x5a1d99=_0x30205c;var _0x2efc40=this[_0x5a1d99(0x439)];_0x2efc40[_0x5a1d99(0x460)](),_0x2efc40[_0x5a1d99(0x192)](this[_0x5a1d99(0x249)]);},'update':function(_0x24231b){const _0x1cfa2c=_0x30205c;return this[_0x1cfa2c(0x439)][_0x1cfa2c(0x192)](_0x24231b),this;},'finalize':function(_0x3ba864){const _0x29869f=_0x30205c;var _0x468576=this['_hasher'],_0x2bb85e=_0x468576['finalize'](_0x3ba864);return _0x468576[_0x29869f(0x460)](),_0x468576[_0x29869f(0x412)](this[_0x29869f(0x487)][_0x29869f(0x4a4)]()[_0x29869f(0x2b1)](_0x2bb85e));}});}());}));}),_0x49e176=_0x5841b6((_0xcd0fa0,_0x12c666)=>{(function(_0x1220e2,_0x42ba78,_0x2ab387){const _0x40dc26=_0x2f25;typeof _0xcd0fa0==_0x40dc26(0x2cd)?_0x12c666[_0x40dc26(0x19d)]=_0xcd0fa0=_0x42ba78(_0x46bfe1(),_0x4090e2(),_0x3beb81()):typeof define=='function'&&define[_0x40dc26(0x2d8)]?define([_0x40dc26(0x414),_0x40dc26(0x49b),_0x40dc26(0x40e)],_0x42ba78):_0x42ba78(_0x1220e2[_0x40dc26(0x1ee)]);}(_0xcd0fa0,function(_0x1494bd){const _0x6a5f07=_0x2f25;return(function(){const _0x2a7754=_0x2f25;var _0x144f19=_0x1494bd,_0x1f3e25=_0x144f19['lib'],_0x5e77ce=_0x1f3e25[_0x2a7754(0x15f)],_0x5c7b11=_0x1f3e25[_0x2a7754(0x23a)],_0x155356=_0x144f19[_0x2a7754(0x214)],_0x548a4f=_0x155356['MD5'],_0x32f090=_0x155356['EvpKDF']=_0x5e77ce['extend']({'cfg':_0x5e77ce[_0x2a7754(0x287)]({'keySize':0x80/0x20,'hasher':_0x548a4f,'iterations':0x1}),'init':function(_0x2be604){const _0x2e604b=_0x2a7754;this[_0x2e604b(0x30c)]=this[_0x2e604b(0x30c)][_0x2e604b(0x287)](_0x2be604);},'compute':function(_0x2ed113,_0x729c79){const _0x48a407=_0x2a7754;for(var _0x40e8fc,_0x54f5e7=this[_0x48a407(0x30c)],_0x480091=_0x54f5e7[_0x48a407(0x1ef)][_0x48a407(0x434)](),_0x4532ed=_0x5c7b11[_0x48a407(0x434)](),_0x4774a3=_0x4532ed[_0x48a407(0x2d6)],_0xb9f78c=_0x54f5e7['keySize'],_0x393266=_0x54f5e7[_0x48a407(0x150)];_0x4774a3[_0x48a407(0x1a3)]<_0xb9f78c;){_0x40e8fc&&_0x480091[_0x48a407(0x192)](_0x40e8fc),_0x40e8fc=_0x480091[_0x48a407(0x192)](_0x2ed113)['finalize'](_0x729c79),_0x480091[_0x48a407(0x460)]();for(var _0x1ca4b5=0x1;_0x1ca4b5<_0x393266;_0x1ca4b5++)_0x40e8fc=_0x480091['finalize'](_0x40e8fc),_0x480091[_0x48a407(0x460)]();_0x4532ed[_0x48a407(0x2b1)](_0x40e8fc);}return _0x4532ed[_0x48a407(0x2c7)]=_0xb9f78c*0x4,_0x4532ed;}});_0x144f19[_0x2a7754(0x451)]=function(_0x4e6365,_0x1905ce,_0x229718){const _0x5acc57=_0x2a7754;return _0x32f090['create'](_0x229718)[_0x5acc57(0x3ae)](_0x4e6365,_0x1905ce);};}()),_0x1494bd[_0x6a5f07(0x451)];}));}),_0x30dad6=_0x5841b6((_0x4d3be4,_0x779a0f)=>{(function(_0x20614a,_0x1a9021,_0x3ea25d){const _0x3b1435=_0x2f25;typeof _0x4d3be4==_0x3b1435(0x2cd)?_0x779a0f[_0x3b1435(0x19d)]=_0x4d3be4=_0x1a9021(_0x46bfe1(),_0x49e176()):typeof define==_0x3b1435(0x4f0)&&define['amd']?define([_0x3b1435(0x414),_0x3b1435(0x20b)],_0x1a9021):_0x1a9021(_0x20614a[_0x3b1435(0x1ee)]);}(_0x4d3be4,function(_0x4024ad){_0x4024ad['lib']['Cipher']||function(_0x299668){const _0x564874=_0x2f25;var _0x39014a=_0x4024ad,_0x5e459f=_0x39014a[_0x564874(0x27e)],_0x389aad=_0x5e459f[_0x564874(0x15f)],_0x13369=_0x5e459f[_0x564874(0x23a)],_0xd653f8=_0x5e459f[_0x564874(0x26a)],_0x1a617f=_0x39014a[_0x564874(0x281)];_0x1a617f[_0x564874(0x154)];var _0x3ee2f8=_0x1a617f[_0x564874(0x240)],_0x350659=_0x39014a[_0x564874(0x214)]['EvpKDF'],_0xc7810=_0x5e459f[_0x564874(0x2d3)]=_0xd653f8[_0x564874(0x287)]({'cfg':_0x389aad['extend'](),'createEncryptor':function(_0x5705e6,_0x4f69cf){const _0x2d191c=_0x564874;return this[_0x2d191c(0x434)](this['_ENC_XFORM_MODE'],_0x5705e6,_0x4f69cf);},'createDecryptor':function(_0x5dd83d,_0x35fe08){const _0x191ebd=_0x564874;return this['create'](this[_0x191ebd(0x2f1)],_0x5dd83d,_0x35fe08);},'init':function(_0x27f27f,_0x418835,_0x32d454){const _0x183c0d=_0x564874;this[_0x183c0d(0x30c)]=this[_0x183c0d(0x30c)][_0x183c0d(0x287)](_0x32d454),this['_xformMode']=_0x27f27f,this[_0x183c0d(0x3ac)]=_0x418835,this['reset']();},'reset':function(){const _0x11c7e2=_0x564874;_0xd653f8[_0x11c7e2(0x460)][_0x11c7e2(0x48c)](this),this['_doReset']();},'process':function(_0x4e146d){const _0x4e8309=_0x564874;return this[_0x4e8309(0x2cf)](_0x4e146d),this[_0x4e8309(0x3e2)]();},'finalize':function(_0xeeafe2){const _0x416cd0=_0x564874;return _0xeeafe2&&this[_0x416cd0(0x2cf)](_0xeeafe2),this['_doFinalize']();},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3c4099(_0x558d3f){const _0x1c7227=_0x2f25;return typeof _0x558d3f==_0x1c7227(0x3e4)?_0x51f6b3:_0x1e97ed;}return function(_0x477cb6){return{'encrypt':function(_0x3141b4,_0x3c76a9,_0x34ab0a){const _0x4b798a=_0x2f25;return _0x3c4099(_0x3c76a9)[_0x4b798a(0x40d)](_0x477cb6,_0x3141b4,_0x3c76a9,_0x34ab0a);},'decrypt':function(_0x2f9347,_0x248096,_0x41afd1){const _0x563ded=_0x2f25;return _0x3c4099(_0x248096)[_0x563ded(0x40c)](_0x477cb6,_0x2f9347,_0x248096,_0x41afd1);}};};}())});_0x5e459f[_0x564874(0x182)]=_0xc7810['extend']({'_doFinalize':function(){return this['_process'](!0x0);},'blockSize':0x1});var _0x597e30=_0x39014a['mode']={},_0x8ed904=_0x5e459f[_0x564874(0x2d1)]=_0x389aad['extend']({'createEncryptor':function(_0x5038da,_0xcbde4f){const _0x2bff42=_0x564874;return this[_0x2bff42(0x29b)][_0x2bff42(0x434)](_0x5038da,_0xcbde4f);},'createDecryptor':function(_0x5336ac,_0x5d20b1){const _0x524603=_0x564874;return this[_0x524603(0x1c7)][_0x524603(0x434)](_0x5336ac,_0x5d20b1);},'init':function(_0x30d159,_0x3e17d2){const _0x4c85de=_0x564874;this[_0x4c85de(0x24c)]=_0x30d159,this[_0x4c85de(0x476)]=_0x3e17d2;}}),_0x30a061=_0x597e30[_0x564874(0x46a)]=(function(){const _0x4013ca=_0x564874;var _0xdd62f8=_0x8ed904[_0x4013ca(0x287)]();_0xdd62f8[_0x4013ca(0x29b)]=_0xdd62f8[_0x4013ca(0x287)]({'processBlock':function(_0x188465,_0x3f01ca){const _0xa89210=_0x4013ca;var _0x30cb47=this[_0xa89210(0x24c)],_0xa7a97f=_0x30cb47[_0xa89210(0x44f)];_0x150246['call'](this,_0x188465,_0x3f01ca,_0xa7a97f),_0x30cb47[_0xa89210(0x3c1)](_0x188465,_0x3f01ca),this[_0xa89210(0x4c2)]=_0x188465[_0xa89210(0x342)](_0x3f01ca,_0x3f01ca+_0xa7a97f);}}),_0xdd62f8['Decryptor']=_0xdd62f8[_0x4013ca(0x287)]({'processBlock':function(_0x25b50e,_0x5093dc){const _0x5b869e=_0x4013ca;var _0x1fe6ea=this[_0x5b869e(0x24c)],_0x4710e0=_0x1fe6ea[_0x5b869e(0x44f)],_0x3c063a=_0x25b50e[_0x5b869e(0x342)](_0x5093dc,_0x5093dc+_0x4710e0);_0x1fe6ea[_0x5b869e(0x304)](_0x25b50e,_0x5093dc),_0x150246[_0x5b869e(0x48c)](this,_0x25b50e,_0x5093dc,_0x4710e0),this[_0x5b869e(0x4c2)]=_0x3c063a;}});function _0x150246(_0x450ce6,_0x1f8c5e,_0x45c6aa){const _0x13d93a=_0x4013ca;var _0x64f2eb,_0x5db35e=this[_0x13d93a(0x476)];_0x5db35e?(_0x64f2eb=_0x5db35e,this['_iv']=_0x299668):_0x64f2eb=this[_0x13d93a(0x4c2)];for(var _0xf3cd7d=0x0;_0xf3cd7d<_0x45c6aa;_0xf3cd7d++)_0x450ce6[_0x1f8c5e+_0xf3cd7d]^=_0x64f2eb[_0xf3cd7d];}return _0xdd62f8;}()),_0x2fe93e=_0x39014a[_0x564874(0x27a)]={},_0x3a3dbd=_0x2fe93e['Pkcs7']={'pad':function(_0x6c4aad,_0x1fad6b){const _0x58719b=_0x564874;for(var _0xff3537=_0x1fad6b*0x4,_0x570d6c=_0xff3537-_0x6c4aad[_0x58719b(0x2c7)]%_0xff3537,_0x368575=_0x570d6c<<0x18|_0x570d6c<<0x10|_0x570d6c<<0x8|_0x570d6c,_0x44771b=[],_0x21deb5=0x0;_0x21deb5<_0x570d6c;_0x21deb5+=0x4)_0x44771b[_0x58719b(0x221)](_0x368575);var _0x558bc1=_0x13369[_0x58719b(0x434)](_0x44771b,_0x570d6c);_0x6c4aad['concat'](_0x558bc1);},'unpad':function(_0x95c603){const _0x4d23de=_0x564874;var _0x38a8be=_0x95c603['words'][_0x95c603[_0x4d23de(0x2c7)]-0x1>>>0x2]&0xff;_0x95c603[_0x4d23de(0x2c7)]-=_0x38a8be;}};_0x5e459f['BlockCipher']=_0xc7810[_0x564874(0x287)]({'cfg':_0xc7810[_0x564874(0x30c)][_0x564874(0x287)]({'mode':_0x30a061,'padding':_0x3a3dbd}),'reset':function(){const _0x5d6b9e=_0x564874;var _0x59c3be;_0xc7810[_0x5d6b9e(0x460)][_0x5d6b9e(0x48c)](this);var _0x5204b8=this[_0x5d6b9e(0x30c)],_0x3c552f=_0x5204b8['iv'],_0x37e7b2=_0x5204b8['mode'];this[_0x5d6b9e(0x338)]==this[_0x5d6b9e(0x4e3)]?_0x59c3be=_0x37e7b2[_0x5d6b9e(0x48e)]:(_0x59c3be=_0x37e7b2[_0x5d6b9e(0x471)],this[_0x5d6b9e(0x1eb)]=0x1),this[_0x5d6b9e(0x41a)]&&this[_0x5d6b9e(0x41a)][_0x5d6b9e(0x3e6)]==_0x59c3be?this[_0x5d6b9e(0x41a)][_0x5d6b9e(0x4ed)](this,_0x3c552f&&_0x3c552f[_0x5d6b9e(0x2d6)]):(this[_0x5d6b9e(0x41a)]=_0x59c3be[_0x5d6b9e(0x48c)](_0x37e7b2,this,_0x3c552f&&_0x3c552f[_0x5d6b9e(0x2d6)]),this['_mode'][_0x5d6b9e(0x3e6)]=_0x59c3be);},'_doProcessBlock':function(_0x67bc65,_0x1b1804){const _0x2b9216=_0x564874;this[_0x2b9216(0x41a)][_0x2b9216(0x483)](_0x67bc65,_0x1b1804);},'_doFinalize':function(){const _0x581b57=_0x564874;var _0x2eb434,_0x424e19=this[_0x581b57(0x30c)][_0x581b57(0x343)];return this[_0x581b57(0x338)]==this[_0x581b57(0x4e3)]?(_0x424e19['pad'](this[_0x581b57(0x203)],this[_0x581b57(0x44f)]),_0x2eb434=this[_0x581b57(0x3e2)](!0x0)):(_0x2eb434=this[_0x581b57(0x3e2)](!0x0),_0x424e19['unpad'](_0x2eb434)),_0x2eb434;},'blockSize':0x80/0x20});var _0x2c3b29=_0x5e459f[_0x564874(0x39e)]=_0x389aad[_0x564874(0x287)]({'init':function(_0x349581){const _0x3b9604=_0x564874;this[_0x3b9604(0x1fe)](_0x349581);},'toString':function(_0x3427ef){return(_0x3427ef||this['formatter'])['stringify'](this);}}),_0x3a5ba2=_0x39014a['format']={},_0x4f1dc3=_0x3a5ba2[_0x564874(0x386)]={'stringify':function(_0x12479d){const _0x17e08d=_0x564874;var _0xc90fbd,_0x277c92=_0x12479d[_0x17e08d(0x474)],_0x4c3589=_0x12479d['salt'];return _0xc90fbd=_0x4c3589?_0x13369[_0x17e08d(0x434)]([0x53616c74,0x65645f5f])[_0x17e08d(0x2b1)](_0x4c3589)[_0x17e08d(0x2b1)](_0x277c92):_0x277c92,_0xc90fbd['toString'](_0x3ee2f8);},'parse':function(_0xc03bbb){const _0x7fea97=_0x564874;var _0x150274,_0x3feb16=_0x3ee2f8[_0x7fea97(0x382)](_0xc03bbb),_0x29724e=_0x3feb16[_0x7fea97(0x2d6)];return _0x29724e[0x0]==0x53616c74&&_0x29724e[0x1]==0x65645f5f&&(_0x150274=_0x13369[_0x7fea97(0x434)](_0x29724e['slice'](0x2,0x4)),_0x29724e[_0x7fea97(0x2ff)](0x0,0x4),_0x3feb16['sigBytes']-=0x10),_0x2c3b29['create']({'ciphertext':_0x3feb16,'salt':_0x150274});}},_0x1e97ed=_0x5e459f[_0x564874(0x3ec)]=_0x389aad[_0x564874(0x287)]({'cfg':_0x389aad[_0x564874(0x287)]({'format':_0x4f1dc3}),'encrypt':function(_0x240cdf,_0x55ead3,_0x338b1b,_0x25fe43){const _0x24484f=_0x564874;_0x25fe43=this[_0x24484f(0x30c)][_0x24484f(0x287)](_0x25fe43);var _0x125263=_0x240cdf[_0x24484f(0x48e)](_0x338b1b,_0x25fe43),_0x195bed=_0x125263[_0x24484f(0x412)](_0x55ead3),_0x2a0c18=_0x125263['cfg'];return _0x2c3b29[_0x24484f(0x434)]({'ciphertext':_0x195bed,'key':_0x338b1b,'iv':_0x2a0c18['iv'],'algorithm':_0x240cdf,'mode':_0x2a0c18['mode'],'padding':_0x2a0c18[_0x24484f(0x343)],'blockSize':_0x240cdf['blockSize'],'formatter':_0x25fe43[_0x24484f(0x3bd)]});},'decrypt':function(_0x3505ef,_0xff1f7,_0x385887,_0x4077de){const _0x43a42c=_0x564874;return _0x4077de=this[_0x43a42c(0x30c)]['extend'](_0x4077de),_0xff1f7=this[_0x43a42c(0x161)](_0xff1f7,_0x4077de['format']),_0x3505ef[_0x43a42c(0x471)](_0x385887,_0x4077de)['finalize'](_0xff1f7[_0x43a42c(0x474)]);},'_parse':function(_0x50d0bf,_0x414fdc){const _0x51e22a=_0x564874;return typeof _0x50d0bf==_0x51e22a(0x3e4)?_0x414fdc[_0x51e22a(0x382)](_0x50d0bf,this):_0x50d0bf;}}),_0x3efed5=_0x39014a['kdf']={},_0xe74f03=_0x3efed5[_0x564874(0x386)]={'execute':function(_0xcd3dd6,_0x151f7e,_0x43af01,_0x104c31,_0x153b36){const _0x48be11=_0x564874;if(_0x104c31||(_0x104c31=_0x13369[_0x48be11(0x331)](0x40/0x8)),_0x153b36)var _0x3b19e6=_0x350659[_0x48be11(0x434)]({'keySize':_0x151f7e+_0x43af01,'hasher':_0x153b36})[_0x48be11(0x3ae)](_0xcd3dd6,_0x104c31);else var _0x3b19e6=_0x350659[_0x48be11(0x434)]({'keySize':_0x151f7e+_0x43af01})[_0x48be11(0x3ae)](_0xcd3dd6,_0x104c31);var _0x219bb1=_0x13369['create'](_0x3b19e6[_0x48be11(0x2d6)][_0x48be11(0x342)](_0x151f7e),_0x43af01*0x4);return _0x3b19e6[_0x48be11(0x2c7)]=_0x151f7e*0x4,_0x2c3b29[_0x48be11(0x434)]({'key':_0x3b19e6,'iv':_0x219bb1,'salt':_0x104c31});}},_0x51f6b3=_0x5e459f[_0x564874(0x449)]=_0x1e97ed[_0x564874(0x287)]({'cfg':_0x1e97ed['cfg'][_0x564874(0x287)]({'kdf':_0xe74f03}),'encrypt':function(_0x2f6738,_0x345206,_0x974f2b,_0x9fcd83){const _0x140cd7=_0x564874;_0x9fcd83=this[_0x140cd7(0x30c)][_0x140cd7(0x287)](_0x9fcd83);var _0x57729a=_0x9fcd83['kdf'][_0x140cd7(0x3dc)](_0x974f2b,_0x2f6738['keySize'],_0x2f6738[_0x140cd7(0x25f)],_0x9fcd83[_0x140cd7(0x3d0)],_0x9fcd83[_0x140cd7(0x1ef)]);_0x9fcd83['iv']=_0x57729a['iv'];var _0x366eba=_0x1e97ed[_0x140cd7(0x40d)][_0x140cd7(0x48c)](this,_0x2f6738,_0x345206,_0x57729a['key'],_0x9fcd83);return _0x366eba[_0x140cd7(0x1fe)](_0x57729a),_0x366eba;},'decrypt':function(_0x31a386,_0x16609b,_0x14e97f,_0x1f6a7e){const _0x58adbd=_0x564874;_0x1f6a7e=this[_0x58adbd(0x30c)][_0x58adbd(0x287)](_0x1f6a7e),_0x16609b=this['_parse'](_0x16609b,_0x1f6a7e['format']);var _0x54ddad=_0x1f6a7e[_0x58adbd(0x18c)]['execute'](_0x14e97f,_0x31a386[_0x58adbd(0x336)],_0x31a386[_0x58adbd(0x25f)],_0x16609b[_0x58adbd(0x3d0)],_0x1f6a7e[_0x58adbd(0x1ef)]);return _0x1f6a7e['iv']=_0x54ddad['iv'],_0x1e97ed[_0x58adbd(0x40c)]['call'](this,_0x31a386,_0x16609b,_0x54ddad[_0x58adbd(0x224)],_0x1f6a7e);}});}();}));}),_0x57ab38=_0x5841b6((_0x1c127d,_0x5c561a)=>{(function(_0x1bd865,_0x3675c1,_0x3ea3ed){const _0x2ba1e3=_0x2f25;typeof _0x1c127d==_0x2ba1e3(0x2cd)?_0x5c561a[_0x2ba1e3(0x19d)]=_0x1c127d=_0x3675c1(_0x46bfe1(),_0x2096e9(),_0x486abd(),_0x49e176(),_0x30dad6()):typeof define=='function'&&define[_0x2ba1e3(0x2d8)]?define([_0x2ba1e3(0x414),'./enc-base64',_0x2ba1e3(0x3e3),_0x2ba1e3(0x20b),_0x2ba1e3(0x3ef)],_0x3675c1):_0x3675c1(_0x1bd865[_0x2ba1e3(0x1ee)]);}(_0x1c127d,function(_0x18f5f7){const _0x4c82c9=_0x2f25;return(function(){const _0x38e84a=_0x2f25;var _0x400397=_0x18f5f7,_0x1d3959=_0x400397[_0x38e84a(0x27e)][_0x38e84a(0x4cc)],_0x475720=_0x400397[_0x38e84a(0x214)],_0x91bf30=[],_0x383ae3=[],_0x53b130=[],_0x169305=[],_0x3d7939=[],_0xdcf92e=[],_0x1ffa63=[],_0x5880ca=[],_0x432560=[],_0x498214=[];(function(){for(var _0x468acc=[],_0x2f65d0=0x0;_0x2f65d0<0x100;_0x2f65d0++)_0x2f65d0<0x80?_0x468acc[_0x2f65d0]=_0x2f65d0<<0x1:_0x468acc[_0x2f65d0]=_0x2f65d0<<0x1^0x11b;for(var _0x50e557=0x0,_0x548981=0x0,_0x2f65d0=0x0;_0x2f65d0<0x100;_0x2f65d0++){var _0x1ada41=_0x548981^_0x548981<<0x1^_0x548981<<0x2^_0x548981<<0x3^_0x548981<<0x4;_0x1ada41=_0x1ada41>>>0x8^_0x1ada41&0xff^0x63,_0x91bf30[_0x50e557]=_0x1ada41,_0x383ae3[_0x1ada41]=_0x50e557;var _0xa56550=_0x468acc[_0x50e557],_0x12dca7=_0x468acc[_0xa56550],_0x1ff9e9=_0x468acc[_0x12dca7],_0x40faa2=_0x468acc[_0x1ada41]*0x101^_0x1ada41*0x1010100;_0x53b130[_0x50e557]=_0x40faa2<<0x18|_0x40faa2>>>0x8,_0x169305[_0x50e557]=_0x40faa2<<0x10|_0x40faa2>>>0x10,_0x3d7939[_0x50e557]=_0x40faa2<<0x8|_0x40faa2>>>0x18,_0xdcf92e[_0x50e557]=_0x40faa2;var _0x40faa2=_0x1ff9e9*0x1010101^_0x12dca7*0x10001^_0xa56550*0x101^_0x50e557*0x1010100;_0x1ffa63[_0x1ada41]=_0x40faa2<<0x18|_0x40faa2>>>0x8,_0x5880ca[_0x1ada41]=_0x40faa2<<0x10|_0x40faa2>>>0x10,_0x432560[_0x1ada41]=_0x40faa2<<0x8|_0x40faa2>>>0x18,_0x498214[_0x1ada41]=_0x40faa2,_0x50e557?(_0x50e557=_0xa56550^_0x468acc[_0x468acc[_0x468acc[_0x1ff9e9^_0xa56550]]],_0x548981^=_0x468acc[_0x468acc[_0x548981]]):_0x50e557=_0x548981=0x1;}}());var _0x3c258c=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4bf9a3=_0x475720[_0x38e84a(0x36e)]=_0x1d3959[_0x38e84a(0x287)]({'_doReset':function(){const _0x49cc3d=_0x38e84a;var _0x2bd194;if(!(this[_0x49cc3d(0x4cd)]&&this['_keyPriorReset']===this['_key'])){for(var _0x293fe0=this['_keyPriorReset']=this[_0x49cc3d(0x3ac)],_0x33463d=_0x293fe0['words'],_0x720a15=_0x293fe0[_0x49cc3d(0x2c7)]/0x4,_0x316a1b=((this[_0x49cc3d(0x4cd)]=_0x720a15+0x6)+0x1)*0x4,_0x390ad9=this[_0x49cc3d(0x22f)]=[],_0x21607a=0x0;_0x21607a<_0x316a1b;_0x21607a++)_0x21607a<_0x720a15?_0x390ad9[_0x21607a]=_0x33463d[_0x21607a]:(_0x2bd194=_0x390ad9[_0x21607a-0x1],_0x21607a%_0x720a15?_0x720a15>0x6&&_0x21607a%_0x720a15==0x4&&(_0x2bd194=_0x91bf30[_0x2bd194>>>0x18]<<0x18|_0x91bf30[_0x2bd194>>>0x10&0xff]<<0x10|_0x91bf30[_0x2bd194>>>0x8&0xff]<<0x8|_0x91bf30[_0x2bd194&0xff]):(_0x2bd194=_0x2bd194<<0x8|_0x2bd194>>>0x18,_0x2bd194=_0x91bf30[_0x2bd194>>>0x18]<<0x18|_0x91bf30[_0x2bd194>>>0x10&0xff]<<0x10|_0x91bf30[_0x2bd194>>>0x8&0xff]<<0x8|_0x91bf30[_0x2bd194&0xff],_0x2bd194^=_0x3c258c[_0x21607a/_0x720a15|0x0]<<0x18),_0x390ad9[_0x21607a]=_0x390ad9[_0x21607a-_0x720a15]^_0x2bd194);for(var _0x2d679e=this[_0x49cc3d(0x1bd)]=[],_0x33c94e=0x0;_0x33c94e<_0x316a1b;_0x33c94e++){var _0x21607a=_0x316a1b-_0x33c94e;if(_0x33c94e%0x4)var _0x2bd194=_0x390ad9[_0x21607a];else var _0x2bd194=_0x390ad9[_0x21607a-0x4];_0x33c94e<0x4||_0x21607a<=0x4?_0x2d679e[_0x33c94e]=_0x2bd194:_0x2d679e[_0x33c94e]=_0x1ffa63[_0x91bf30[_0x2bd194>>>0x18]]^_0x5880ca[_0x91bf30[_0x2bd194>>>0x10&0xff]]^_0x432560[_0x91bf30[_0x2bd194>>>0x8&0xff]]^_0x498214[_0x91bf30[_0x2bd194&0xff]];}}},'encryptBlock':function(_0x215df2,_0x342270){const _0x1758b5=_0x38e84a;this[_0x1758b5(0x3e1)](_0x215df2,_0x342270,this[_0x1758b5(0x22f)],_0x53b130,_0x169305,_0x3d7939,_0xdcf92e,_0x91bf30);},'decryptBlock':function(_0x4c8c06,_0x17be20){const _0x2bd0ff=_0x38e84a;var _0x268336=_0x4c8c06[_0x17be20+0x1];_0x4c8c06[_0x17be20+0x1]=_0x4c8c06[_0x17be20+0x3],_0x4c8c06[_0x17be20+0x3]=_0x268336,this[_0x2bd0ff(0x3e1)](_0x4c8c06,_0x17be20,this['_invKeySchedule'],_0x1ffa63,_0x5880ca,_0x432560,_0x498214,_0x383ae3);var _0x268336=_0x4c8c06[_0x17be20+0x1];_0x4c8c06[_0x17be20+0x1]=_0x4c8c06[_0x17be20+0x3],_0x4c8c06[_0x17be20+0x3]=_0x268336;},'_doCryptBlock':function(_0x41f7a2,_0x3fe8c4,_0x59f75a,_0x10a34e,_0x196f9b,_0x119278,_0x44c132,_0x296568){const _0x176c70=_0x38e84a;for(var _0x23be55=this[_0x176c70(0x4cd)],_0x3f9495=_0x41f7a2[_0x3fe8c4]^_0x59f75a[0x0],_0x35db5c=_0x41f7a2[_0x3fe8c4+0x1]^_0x59f75a[0x1],_0x36edc1=_0x41f7a2[_0x3fe8c4+0x2]^_0x59f75a[0x2],_0x4bd8dc=_0x41f7a2[_0x3fe8c4+0x3]^_0x59f75a[0x3],_0x263428=0x4,_0x3f1dad=0x1;_0x3f1dad<_0x23be55;_0x3f1dad++){var _0x26ced7=_0x10a34e[_0x3f9495>>>0x18]^_0x196f9b[_0x35db5c>>>0x10&0xff]^_0x119278[_0x36edc1>>>0x8&0xff]^_0x44c132[_0x4bd8dc&0xff]^_0x59f75a[_0x263428++],_0x39e152=_0x10a34e[_0x35db5c>>>0x18]^_0x196f9b[_0x36edc1>>>0x10&0xff]^_0x119278[_0x4bd8dc>>>0x8&0xff]^_0x44c132[_0x3f9495&0xff]^_0x59f75a[_0x263428++],_0x159967=_0x10a34e[_0x36edc1>>>0x18]^_0x196f9b[_0x4bd8dc>>>0x10&0xff]^_0x119278[_0x3f9495>>>0x8&0xff]^_0x44c132[_0x35db5c&0xff]^_0x59f75a[_0x263428++],_0xdcac31=_0x10a34e[_0x4bd8dc>>>0x18]^_0x196f9b[_0x3f9495>>>0x10&0xff]^_0x119278[_0x35db5c>>>0x8&0xff]^_0x44c132[_0x36edc1&0xff]^_0x59f75a[_0x263428++];_0x3f9495=_0x26ced7,_0x35db5c=_0x39e152,_0x36edc1=_0x159967,_0x4bd8dc=_0xdcac31;}var _0x26ced7=(_0x296568[_0x3f9495>>>0x18]<<0x18|_0x296568[_0x35db5c>>>0x10&0xff]<<0x10|_0x296568[_0x36edc1>>>0x8&0xff]<<0x8|_0x296568[_0x4bd8dc&0xff])^_0x59f75a[_0x263428++],_0x39e152=(_0x296568[_0x35db5c>>>0x18]<<0x18|_0x296568[_0x36edc1>>>0x10&0xff]<<0x10|_0x296568[_0x4bd8dc>>>0x8&0xff]<<0x8|_0x296568[_0x3f9495&0xff])^_0x59f75a[_0x263428++],_0x159967=(_0x296568[_0x36edc1>>>0x18]<<0x18|_0x296568[_0x4bd8dc>>>0x10&0xff]<<0x10|_0x296568[_0x3f9495>>>0x8&0xff]<<0x8|_0x296568[_0x35db5c&0xff])^_0x59f75a[_0x263428++],_0xdcac31=(_0x296568[_0x4bd8dc>>>0x18]<<0x18|_0x296568[_0x3f9495>>>0x10&0xff]<<0x10|_0x296568[_0x35db5c>>>0x8&0xff]<<0x8|_0x296568[_0x36edc1&0xff])^_0x59f75a[_0x263428++];_0x41f7a2[_0x3fe8c4]=_0x26ced7,_0x41f7a2[_0x3fe8c4+0x1]=_0x39e152,_0x41f7a2[_0x3fe8c4+0x2]=_0x159967,_0x41f7a2[_0x3fe8c4+0x3]=_0xdcac31;},'keySize':0x100/0x20});_0x400397['AES']=_0x1d3959[_0x38e84a(0x211)](_0x4bf9a3);}()),_0x18f5f7[_0x4c82c9(0x36e)];}));}),_0x90bd8b=_0x5841b6((_0x18e8b8,_0x40eb49)=>{(function(_0x10d60a,_0x3271de){const _0x60fd9=_0x2f25;typeof _0x18e8b8==_0x60fd9(0x2cd)?_0x40eb49[_0x60fd9(0x19d)]=_0x18e8b8=_0x3271de(_0x46bfe1()):typeof define=='function'&&define['amd']?define(['./core'],_0x3271de):_0x3271de(_0x10d60a[_0x60fd9(0x1ee)]);}(_0x18e8b8,function(_0x3492e8){const _0x4d2e9d=_0x2f25;return _0x3492e8[_0x4d2e9d(0x281)][_0x4d2e9d(0x154)];}));}),_0x3220f4=_0x5841b6((_0x30d255,_0xfea098)=>{(function(_0x2879c0,_0x1dab0c){const _0x36fc15=_0x2f25;typeof _0x30d255==_0x36fc15(0x2cd)?_0xfea098[_0x36fc15(0x19d)]=_0x30d255=_0x1dab0c(_0x46bfe1()):typeof define==_0x36fc15(0x4f0)&&define[_0x36fc15(0x2d8)]?define([_0x36fc15(0x414)],_0x1dab0c):_0x1dab0c(_0x2879c0[_0x36fc15(0x1ee)]);}(_0x30d255,function(_0x12fc9c){const _0x16db9d=_0x2f25;return(function(){const _0x4247c4=_0x2f25;if(typeof ArrayBuffer==_0x4247c4(0x4f0)){var _0x20c830=_0x12fc9c[_0x4247c4(0x27e)][_0x4247c4(0x23a)],_0x413a2f=_0x20c830[_0x4247c4(0x4ed)],_0x3e8e7a=_0x20c830[_0x4247c4(0x4ed)]=function(_0x48737f){const _0x3a429d=_0x4247c4;if(_0x48737f instanceof ArrayBuffer&&(_0x48737f=new Uint8Array(_0x48737f)),(_0x48737f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x48737f instanceof Uint8ClampedArray||_0x48737f instanceof Int16Array||_0x48737f instanceof Uint16Array||_0x48737f instanceof Int32Array||_0x48737f instanceof Uint32Array||_0x48737f instanceof Float32Array||_0x48737f instanceof Float64Array)&&(_0x48737f=new Uint8Array(_0x48737f[_0x3a429d(0x2ad)],_0x48737f['byteOffset'],_0x48737f[_0x3a429d(0x2b6)])),_0x48737f instanceof Uint8Array){for(var _0x3cf9b3=_0x48737f[_0x3a429d(0x2b6)],_0x5a4b89=[],_0x19cd22=0x0;_0x19cd22<_0x3cf9b3;_0x19cd22++)_0x5a4b89[_0x19cd22>>>0x2]|=_0x48737f[_0x19cd22]<<0x18-_0x19cd22%0x4*0x8;_0x413a2f[_0x3a429d(0x48c)](this,_0x5a4b89,_0x3cf9b3);}else _0x413a2f[_0x3a429d(0x313)](this,arguments);};_0x3e8e7a['prototype']=_0x20c830;}}()),_0x12fc9c[_0x16db9d(0x27e)][_0x16db9d(0x23a)];}));}),_0xd776f2=_0x5841b6((_0x347e5d,_0x48c669)=>{(function(_0x411b65,_0x3a01ab,_0x582ce0){const _0x12d57f=_0x2f25;typeof _0x347e5d==_0x12d57f(0x2cd)?_0x48c669[_0x12d57f(0x19d)]=_0x347e5d=_0x3a01ab(_0x46bfe1(),_0x30dad6()):typeof define==_0x12d57f(0x4f0)&&define['amd']?define([_0x12d57f(0x414),_0x12d57f(0x3ef)],_0x3a01ab):_0x3a01ab(_0x411b65[_0x12d57f(0x1ee)]);}(_0x347e5d,function(_0x40ed78){const _0x532f53=_0x2f25;return _0x40ed78[_0x532f53(0x27a)][_0x532f53(0x465)]={'pad':function(){},'unpad':function(){}},_0x40ed78['pad'][_0x532f53(0x465)];}));}),_0x21252b=_0x26a9ac(_0x57ab38()),_0x42fc35=_0x26a9ac(_0x2096e9()),_0xc42a8e=_0x26a9ac(_0x90bd8b()),_0x3b36db=_0x26a9ac(_0x3220f4()),_0x270798=_0x26a9ac(_0xd776f2());function _0xd707f5(_0x4c3017,_0x19d104){const _0x30b090=_0x388c16;let _0x2d5763=_0x19d104-_0x4c3017[_0x30b090(0x1a3)]%_0x19d104;return _0x4c3017+String['fromCharCode'](_0x2d5763)[_0x30b090(0x4d2)](_0x2d5763);}function _0xaf9bcd(_0x1a7c95,_0x258239){const _0x4b4c2e=_0x388c16;let _0x7f47b9=_0x3b36db['default'][_0x4b4c2e(0x331)](0x10),_0xe969db=_0xd707f5(_0x1a7c95,0x10),_0x567d87=_0x21252b[_0x4b4c2e(0x34c)][_0x4b4c2e(0x40d)](_0xc42a8e[_0x4b4c2e(0x34c)][_0x4b4c2e(0x382)](_0xe969db),_0x42fc35[_0x4b4c2e(0x34c)][_0x4b4c2e(0x382)](_0x258239),{'iv':_0x7f47b9,'padding':_0x270798[_0x4b4c2e(0x34c)]});return _0x7f47b9['concat'](_0x567d87[_0x4b4c2e(0x474)])[_0x4b4c2e(0x42d)](_0x42fc35[_0x4b4c2e(0x34c)]);}function _0x4ccba9(){const _0x1a515e=_0x388c16;let _0x29f5d8=(0x0,_0x2f0cd5['getGlobalObject'])()['__Key__'];if(typeof window<'u'&&window[_0x1a515e(0x496)]!==void 0x0&&_0x29f5d8){let _0x417fa6={'time':Math[_0x1a515e(0x419)](Date[_0x1a515e(0x329)]()/0x3e8),'domain':location[_0x1a515e(0x445)]};return _0xaf9bcd(JSON['stringify'](_0x417fa6),_0x29f5d8);}}let _0x429086=class{constructor(_0x2ef57d){const _0x3584d8=_0x388c16;this[_0x3584d8(0x3c2)]=_0x2ef57d,this[_0x3584d8(0x353)]();}[_0x388c16(0x353)](){const _0x738c55=_0x388c16;this[_0x738c55(0x3c2)]['registerHTTPInterceptor']({'interceptor':(_0x2001ad,_0x1e5cd2)=>{const _0x4fafae=_0x738c55;let _0x5fb9a2=_0x2001ad[_0x4fafae(0x3e7)],_0x5a8043=_0x4ccba9();return _0x5a8043&&_0x5fb9a2[_0x4fafae(0x163)]('x-univer-host',_0x5a8043),_0x1e5cd2(_0x2001ad);}});}};_0x429086=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x750beb[_0x388c16(0x28c)]))],_0x429086);let _0x2f1390=class extends _0x4c9691['RxDisposable']{constructor(_0x48bdb5,_0x4eccab,_0x2fe286){const _0x4adbe6=_0x388c16;super(),this['_logService']=_0x48bdb5,this[_0x4adbe6(0x444)]=_0x4eccab,this[_0x4adbe6(0x403)]=_0x2fe286,_0x167995(this,_0x4adbe6(0x432),new _0x1d90a6[(_0x4adbe6(0x26f))](null)),_0x167995(this,_0x4adbe6(0x2c6),this[_0x4adbe6(0x432)]['asObservable']());}async['loadUnitOfRevision'](_0x4cab77,_0x1517a2,_0x2a6d96){const _0x47dc3f=_0x388c16;this['_unitInfo$']['next']({'unitId':_0x4cab77,'type':_0x1517a2});let _0x30bf25=null;switch(_0x1517a2){case _0x194d58[_0x47dc3f(0x464)]:_0x30bf25=await this[_0x47dc3f(0x444)][_0x47dc3f(0x322)](_0x4cab77,_0x2a6d96);break;case _0x194d58[_0x47dc3f(0x38b)]:_0x30bf25=await this[_0x47dc3f(0x444)]['loadDoc'](_0x4cab77,_0x2a6d96);break;default:this[_0x47dc3f(0x3f1)][_0x47dc3f(0x1fa)](_0x47dc3f(0x167),_0x47dc3f(0x3be));break;}return _0x30bf25;}async[_0x388c16(0x3a9)](_0x20d852,_0x5b313c,_0x254332){const _0x3002ba=_0x388c16;var _0x3d9bf9;this[_0x3002ba(0x432)][_0x3002ba(0x2fd)]({'unitId':_0x20d852,'type':_0x5b313c,'subUnitId':_0x254332});let _0x5707f6=0x0,_0x3b2282=await((_0x3d9bf9=this[_0x3002ba(0x403)])==null?void 0x0:_0x3d9bf9[_0x3002ba(0x348)](_0x20d852));return _0x3b2282&&(_0x3b2282[_0x3002ba(0x43b)]||_0x3b2282['mutations'][_0x3002ba(0x1a3)]!==0x0)&&(_0x5707f6=_0x3b2282[_0x3002ba(0x4e9)]),_0x5707f6===0x0&&this[_0x3002ba(0x3f1)][_0x3002ba(0x24e)](_0x3002ba(0x167),_0x3002ba(0x159)),this[_0x3002ba(0x2a1)](_0x20d852,_0x5b313c,_0x5707f6);}};_0x2f1390=_0x3ecedb([_0x4923f4(0x0,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x22113f[_0x388c16(0x4e0)])),_0x4923f4(0x2,(0x0,_0x4c9691[_0x388c16(0x2bf)])(_0xd5c1f1))],_0x2f1390);let _0x24ca88=[_0x388c16(0x27f),_0x388c16(0x21a),_0x388c16(0x197),_0x388c16(0x19b),_0x388c16(0x318)],_0x3e0ef6=class{constructor(_0x508035,_0x33f969,_0x233afb){const _0x556669=_0x388c16;this[_0x556669(0x3c2)]=_0x508035,this[_0x556669(0x28a)]=_0x33f969,this['_univerInstanceService']=_0x233afb,_0x167995(this,_0x556669(0x3bf),0x0),_0x167995(this,_0x556669(0x480),new _0x1d90a6[(_0x556669(0x310))]()),_0x167995(this,'change$',this[_0x556669(0x480)]),_0x167995(this,_0x556669(0x4af),new Map());}[_0x388c16(0x2a4)](_0x66e1cf){const _0x5c5c42=_0x388c16;this[_0x5c5c42(0x3bf)]=_0x66e1cf,this[_0x5c5c42(0x480)]['next'](_0x66e1cf);}['getImageSourceCache'](_0x31e5be,_0x5df379){const _0x52df25=_0x388c16;if(_0x5df379===_0xac2517[_0x52df25(0x19f)]['BASE64']){let _0x151844=new Image();return _0x151844[_0x52df25(0x2a7)]=_0x31e5be,_0x151844;}return this[_0x52df25(0x4af)][_0x52df25(0x1c6)](_0x31e5be);}[_0x388c16(0x364)](_0x4cff07,_0x52477e,_0xb10d68){const _0xcbf81d=_0x388c16;_0x52477e===_0xac2517[_0xcbf81d(0x19f)][_0xcbf81d(0x395)]||_0xb10d68==null||this[_0xcbf81d(0x4af)][_0xcbf81d(0x163)](_0x4cff07,_0xb10d68);}async[_0x388c16(0x171)](_0x4f14ef){const _0x4f7d55=_0x388c16;try{let _0x2da946=this['_replaceFileID'](this[_0x4f7d55(0x46d)](),''+_0x4f14ef),_0x4caf93=(await this['_httpService'][_0x4f7d55(0x1c6)](_0x2da946))[_0x4f7d55(0x401)];if(_0x4caf93['error']&&_0x4caf93['error'][_0x4f7d55(0x309)]===_0x290029['OK']){let _0x55351f=(0x0,_0x4c9691[_0x4f7d55(0x415)])(_0x4caf93['url'],this[_0x4f7d55(0x37e)]());return Promise[_0x4f7d55(0x4e8)](_0x55351f);}return Promise['reject'](_0x4caf93['error']);}catch(_0x31373c){return Promise[_0x4f7d55(0x372)](_0x31373c);}}async[_0x388c16(0x312)](_0x5ca102){const _0x4ecf06=_0x388c16;let _0x864bd0='';if(!_0x24ca88[_0x4ecf06(0x26d)](_0x5ca102[_0x4ecf06(0x2f7)]))return this[_0x4ecf06(0x254)](),Promise[_0x4ecf06(0x372)](Error(_0xac2517[_0x4ecf06(0x426)][_0x4ecf06(0x273)]));if(_0x5ca102[_0x4ecf06(0x42b)]>0x500000)return this['_decreaseWaiting'](),Promise[_0x4ecf06(0x372)](Error(_0xac2517[_0x4ecf06(0x426)][_0x4ecf06(0x2a6)]));try{let _0x14d61c=new FormData();_0x14d61c[_0x4ecf06(0x32d)](_0x4ecf06(0x485),_0x5ca102);let _0x257ff1=this[_0x4ecf06(0x371)][_0x4ecf06(0x2e3)](),_0x2f0a6d=_0x257ff1==null?void 0x0:_0x257ff1['getUnitId']();if(!_0x2f0a6d)throw Error(_0x4ecf06(0x299));let _0x1174d5=this[_0x4ecf06(0x2f0)]()+'?size='+_0x5ca102['size']['toString']()+_0x4ecf06(0x2b4)+_0x25178b['UnitEmbedded']+_0x4ecf06(0x26c)+encodeURIComponent(_0x2f0a6d),_0x3b4dbe={'body':_0x14d61c},_0x474a93=(await this[_0x4ecf06(0x3c2)]['post'](_0x1174d5,_0x3b4dbe))[_0x4ecf06(0x401)];if(typeof _0x474a93[_0x4ecf06(0x4ce)]!=_0x4ecf06(0x3e4))return this[_0x4ecf06(0x254)](),Promise['reject'](Error(_0xac2517[_0x4ecf06(0x426)]['ERROR_IMAGE']));_0x864bd0=_0x474a93['FileId'];}catch{return this[_0x4ecf06(0x254)](),Promise[_0x4ecf06(0x372)](Error(_0xac2517['ImageUploadStatusType'][_0x4ecf06(0x237)]));}return new Promise((_0x1c4dec,_0x13c22c)=>{const _0x12b112=_0x4ecf06;let _0x42f6a2=new FileReader();_0x42f6a2[_0x12b112(0x472)](_0x5ca102),_0x42f6a2[_0x12b112(0x181)]=_0x4dc3dc=>{const _0x330536=_0x12b112;var _0x2a8920;let _0x1fddb9=(_0x2a8920=_0x4dc3dc[_0x330536(0x461)])==null?void 0x0:_0x2a8920[_0x330536(0x3a1)];if(_0x1fddb9==null){this[_0x330536(0x254)](),_0x13c22c(Error(_0xac2517['ImageUploadStatusType'][_0x330536(0x237)]));return;}_0x1c4dec({'imageId':(0x0,_0x4c9691[_0x330536(0x17c)])(0x6),'imageSourceType':_0xac2517[_0x330536(0x19f)][_0x330536(0x383)],'source':_0x864bd0,'base64Cache':_0x1fddb9,'status':_0xac2517['ImageUploadStatusType']['SUCCUSS']}),this[_0x330536(0x254)]();};});}[_0x388c16(0x2f0)](){const _0x1acef4=_0x388c16;var _0x345abd;let _0x168493=this['_configService'][_0x1acef4(0x438)](_0x52c9fb);return(_0x345abd=_0x168493==null?void 0x0:_0x168493['uploadFileServerUrl'])==null?_0x1acef4(0x1f9):_0x345abd;}['_getSignURL'](){const _0x4e2ee1=_0x388c16;var _0x33ad0f;let _0x2be848=this[_0x4e2ee1(0x28a)][_0x4e2ee1(0x438)](_0x52c9fb);return(_0x33ad0f=_0x2be848==null?void 0x0:_0x2be848[_0x4e2ee1(0x2b3)])==null?_0x4e2ee1(0x2bc):_0x33ad0f;}[_0x388c16(0x37e)](){const _0x185bab=_0x388c16;var _0x434622;let _0x2048aa=this[_0x185bab(0x28a)]['getConfig'](_0x52c9fb);return(_0x434622=_0x2048aa==null?void 0x0:_0x2048aa[_0x185bab(0x158)])==null?location['origin']:_0x434622;}[_0x388c16(0x44b)](_0x39f01b,_0x3f097e){const _0x21dd91=_0x388c16;return _0x39f01b[_0x21dd91(0x1b1)]('{fileID}',_0x3f097e);}['_decreaseWaiting'](){const _0x246496=_0x388c16;--this[_0x246496(0x3bf)],this[_0x246496(0x480)][_0x246496(0x2fd)](this[_0x246496(0x3bf)]);}};_0x3e0ef6=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x750beb[_0x388c16(0x28c)])),_0x4923f4(0x1,_0x4c9691[_0x388c16(0x28d)]),_0x4923f4(0x2,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x384)]))],_0x3e0ef6);let _0x3a96dd=class{constructor(_0x4ec285,_0x505b3b){const _0x16514e=_0x388c16;this[_0x16514e(0x28a)]=_0x4ec285,this['_HTTPService']=_0x505b3b;}[_0x388c16(0x3cb)](){const _0xadf175=_0x388c16;var _0x30d7fd;let _0x12b157=this['_configService'][_0xadf175(0x438)](_0x52c9fb);return(_0x30d7fd=_0x12b157==null?void 0x0:_0x12b157[_0xadf175(0x1f8)])==null?_0xadf175(0x2f5):_0x30d7fd;}async[_0x388c16(0x2d0)](_0x41d185){const _0x55e29e=_0x388c16;let _0x495a5b=this[_0x55e29e(0x3cb)]()+_0x55e29e(0x489);return{'list':[{'title':_0x55e29e(0x320),'mentions':(await this[_0x55e29e(0x300)][_0x55e29e(0x1c6)](_0x495a5b,{'params':{'objectID':_0x41d185[_0x55e29e(0x1bc)],'unitID':_0x41d185['unitId']}}))['body'][_0x55e29e(0x279)][_0x55e29e(0x1da)](_0x2c8f80=>({'objectId':_0x2c8f80['id'],'name':_0x2c8f80[_0x55e29e(0x491)][_0x55e29e(0x417)],'metadata':{'icon':_0x2c8f80[_0x55e29e(0x491)][_0x55e29e(0x200)]},'label':_0x2c8f80['subject'][_0x55e29e(0x417)],'objectType':_0x4c9691['MentionType'][_0x55e29e(0x2ed)]})),'metadata':{},'type':_0x4c9691[_0x55e29e(0x1d0)][_0x55e29e(0x2ed)]}]};}};_0x3a96dd=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691['IConfigService'])),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x750beb[_0x388c16(0x28c)]))],_0x3a96dd);let _0x127fd5=class extends _0x4c9691[_0x388c16(0x433)]{constructor(_0x579cdb,_0xb2aebf,_0x19a163,_0x3aa208,_0x2aec75){const _0x4e6ac1=_0x388c16;super(),this['_injector']=_0x579cdb,this['_univerInstanceService']=_0xb2aebf,this['_permissionService']=_0x19a163,this['_collaborationSessionService']=_0x3aa208,this[_0x4e6ac1(0x1ec)]=_0x2aec75,this[_0x4e6ac1(0x2f3)](),this[_0x4e6ac1(0x1f4)]();}[_0x388c16(0x1f4)](){const _0x28eb83=_0x388c16;let _0x49f0e3=async _0x5e842b=>{const _0x342248=_0x2f25;(await this[_0x342248(0x43d)][_0x342248(0x326)](_0x5e842b))[_0x342248(0x458)][_0x342248(0x3f8)]((0x0,_0x29e3de['filter'])(_0x5ca6d8=>_0x5ca6d8['eventID']===_0x22113f[_0x342248(0x3f5)]['SHOULD_CLOSE_CONN']),(0x0,_0x29e3de[_0x342248(0x199)])(this[_0x342248(0x473)]))['subscribe'](_0x1326a0=>{const _0x4d8e68=_0x342248;let {reason:_0x49fd32}=_0x1326a0['data'];this[_0x4d8e68(0x1ec)][_0x4d8e68(0x14f)]({'id':_0x577fae[_0x4d8e68(0x215)],'data':_0x49fd32}),this[_0x4d8e68(0x2d5)][_0x4d8e68(0x180)](new _0x190d88[(_0x4d8e68(0x495))](_0x5e842b)['id'],!0x1),this[_0x4d8e68(0x43d)][_0x4d8e68(0x376)](_0x5e842b);});};(0x0,_0x1d90a6[_0x28eb83(0x3a6)])(this[_0x28eb83(0x371)]['getTypeOfUnitAdded$'](_0x4c9691['UniverInstanceType']['UNIVER_SHEET']),this[_0x28eb83(0x371)][_0x28eb83(0x408)](_0x4c9691[_0x28eb83(0x385)]['UNIVER_DOC']))[_0x28eb83(0x3f8)]((0x0,_0x29e3de[_0x28eb83(0x1da)])(_0x28112d=>_0x28112d['getUnitId']()),(0x0,_0x29e3de['filter'])(_0x356b14=>!(0x0,_0x4c9691[_0x28eb83(0x262)])(_0x356b14)),(0x0,_0x29e3de[_0x28eb83(0x199)])(this[_0x28eb83(0x473)]))['subscribe'](_0x40cb6c=>{_0x49f0e3(_0x40cb6c);});}[_0x388c16(0x2f3)](){const _0x3cf992=_0x388c16;let _0x4811d4=async _0x3797f0=>{const _0x2588a0=_0x2f25;let _0xe94e3f=await this[_0x2588a0(0x43d)]['requireSession'](_0x3797f0),_0x7815be=this[_0x2588a0(0x31f)][_0x2588a0(0x1c6)](_0x190d88['SheetPermissionInitController']);_0xe94e3f[_0x2588a0(0x458)][_0x2588a0(0x3f8)]((0x0,_0x29e3de[_0x2588a0(0x33f)])(_0x1b0a4b=>_0x1b0a4b['eventID']===_0x22113f['CollaborationEvent']['UPDATE_PERMISSION_OBJ']),(0x0,_0x29e3de[_0x2588a0(0x199)])(this['dispose$']))[_0x2588a0(0x339)](_0x34113e=>{const _0x399d3d=_0x2588a0;let {objectId:_0x14e818}=_0x34113e[_0x399d3d(0x1d1)];_0x14e818===_0x3797f0?_0x7815be['initWorkbookPermissionChange'](_0x3797f0):_0x7815be[_0x399d3d(0x2f9)](_0x3797f0,_0x14e818);});};(0x0,_0x1d90a6['merge'])(this[_0x3cf992(0x371)][_0x3cf992(0x408)](_0x4c9691[_0x3cf992(0x385)][_0x3cf992(0x464)]))[_0x3cf992(0x3f8)]((0x0,_0x29e3de[_0x3cf992(0x1da)])(_0xe79e9d=>_0xe79e9d[_0x3cf992(0x323)]()),(0x0,_0x29e3de[_0x3cf992(0x33f)])(_0x8c8f04=>!(0x0,_0x4c9691[_0x3cf992(0x262)])(_0x8c8f04)),(0x0,_0x29e3de[_0x3cf992(0x199)])(this[_0x3cf992(0x473)]))[_0x3cf992(0x339)](_0x332616=>{_0x4811d4(_0x332616);});}};_0x127fd5=_0x3ecedb([_0x4923f4(0x0,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691['Injector'])),_0x4923f4(0x1,_0x4c9691['IUniverInstanceService']),_0x4923f4(0x2,_0x4c9691[_0x388c16(0x228)]),_0x4923f4(0x3,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x8dbac3)),_0x4923f4(0x4,(0x0,_0x4c9691['Inject'])(_0x20dd8a))],_0x127fd5);let _0xd9eff=class{constructor(_0x218863,_0x3594f0){const _0x6687e=_0x388c16;this[_0x6687e(0x28a)]=_0x218863,this[_0x6687e(0x3c2)]=_0x3594f0;}async[_0x388c16(0x1de)](_0x4b4641,_0x22d751){const _0x49947c=_0x388c16;var _0x566a50;let {unitID:_0x460cbc,type:_0xd008db,revision:_0x405d8f=0x0}=_0x22d751,_0x4d39b1=this[_0x49947c(0x437)]()+'/'+_0xd008db+_0x49947c(0x4dd)+_0x460cbc+_0x49947c(0x497)+_0x405d8f,_0x4e13b7=(await this['_httpService']['get'](_0x4d39b1))['body'],_0x5cf72f=(_0x566a50=_0x4e13b7[_0x49947c(0x31d)])==null?void 0x0:_0x566a50[_0x49947c(0x334)];if(_0x5cf72f){let _0x456b2a=_0x5cf72f==null?void 0x0:_0x5cf72f['originalMeta'];_0x5cf72f[_0x49947c(0x46e)]=_0x22113f[_0x49947c(0x391)]['encode']((0x0,_0x22113f['b64DecodeUnicode'])(_0x456b2a)),Object[_0x49947c(0x2ba)](_0x5cf72f['sheets'])['forEach'](([,_0x4501af])=>{const _0x366fad=_0x49947c;let _0x4d5492=_0x4501af['originalMeta'];_0x4501af[_0x366fad(0x46e)]=_0x22113f['textEncoder'][_0x366fad(0x3e0)]((0x0,_0x22113f['b64DecodeUnicode'])(_0x4d5492));});}return _0x4e13b7;}async[_0x388c16(0x3a5)](_0x4e5938,_0x4df4e0){const _0x32fc27=_0x388c16;let {unitID:_0x143007,type:_0x40b825,blockID:_0x98e70}=_0x4df4e0,_0xe93cdd=this['_getAPIPrefix']()+'/'+_0x40b825+_0x32fc27(0x4dd)+_0x143007+_0x32fc27(0x49d)+_0x98e70;return(await this[_0x32fc27(0x3c2)][_0x32fc27(0x1c6)](_0xe93cdd))[_0x32fc27(0x401)];}async[_0x388c16(0x27c)](_0x373468,_0x500af5){const _0x480211=_0x388c16;let {unitID:_0x507e12,type:_0x30ea8f,blockID:_0x1761ff}=_0x500af5,_0x11ddbc=this[_0x480211(0x2d4)]()+_0x480211(0x49d)+_0x30ea8f+_0x480211(0x4dd)+_0x507e12+_0x480211(0x49d)+_0x1761ff;return(await this['_httpService'][_0x480211(0x1c6)](_0x11ddbc))[_0x480211(0x401)];}async['fetchMissingChangesets'](_0x4f94ef,_0x4233e6){const _0x412a8d=_0x388c16;let {unitID:_0x7fb187,type:_0x408698,from:_0x5489b2,to:_0x5bc441}=_0x4233e6,_0x914684=this['_getAPIPrefix']()+'/'+_0x408698+_0x412a8d(0x4dd)+_0x7fb187+_0x412a8d(0x157)+_0x5489b2+_0x412a8d(0x493)+_0x5bc441;return(await this[_0x412a8d(0x3c2)][_0x412a8d(0x1c6)](_0x914684))[_0x412a8d(0x401)];}[_0x388c16(0x437)](){const _0x3e1da0=_0x388c16;var _0x1ad66c;return(_0x1ad66c=this['_configService'][_0x3e1da0(0x438)](_0x3e1da0(0x3aa)))==null?this[_0x3e1da0(0x2d4)]():_0x1ad66c;}[_0x388c16(0x2d4)](){const _0x1549a5=_0x388c16;var _0xcf0297;let _0x3db12d=this['_configService'][_0x1549a5(0x438)](_0x52c9fb);return(_0xcf0297=_0x3db12d==null?void 0x0:_0x3db12d[_0x1549a5(0x26e)])==null?_0x1549a5(0x295):_0xcf0297;}async[_0x388c16(0x238)](_0x5f3270,_0x44af58){const _0x6e7fa2=_0x388c16;let _0x23b31a=_0x6e7fa2(0x35c)+_0x44af58[_0x6e7fa2(0x2f7)]+_0x6e7fa2(0x4dd)+_0x44af58[_0x6e7fa2(0x266)]+_0x6e7fa2(0x316);return(await this[_0x6e7fa2(0x3c2)]['get'](_0x23b31a,{'params':{'resourceId':JSON[_0x6e7fa2(0x1f7)](_0x44af58['resourceIDs'])}}))[_0x6e7fa2(0x401)];}[_0x388c16(0x411)](){const _0x1e061a=_0x388c16;throw Error(_0x1e061a(0x33e));}[_0x388c16(0x3c3)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){const _0x9a0c27=_0x388c16;throw Error(_0x9a0c27(0x33e));}['saveChangeset'](){const _0x5477fb=_0x388c16;throw Error(_0x5477fb(0x33e));}[_0x388c16(0x4df)](){const _0x5c6834=_0x388c16;throw Error(_0x5c6834(0x33e));}[_0x388c16(0x398)](){throw Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};_0xd9eff=_0x3ecedb([_0x4923f4(0x0,_0x4c9691['IConfigService']),_0x4923f4(0x1,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x750beb[_0x388c16(0x28c)]))],_0xd9eff);let _0x3feeff=class extends _0x4c9691[_0x388c16(0x4bd)]{constructor(_0xdb7de2,_0x11f85e,_0x560c86,_0x3febb2,_0x304d23){super(_0xdb7de2,_0x11f85e,_0x560c86),this['_transformService']=_0x3febb2,this['_logService']=_0x304d23;}['transformUndoRedo'](_0x3763f4,_0x3609db){const _0x16a329=_0x388c16;let _0x5f342d=this[_0x16a329(0x1d8)](_0x3763f4);if(_0x5f342d)try{let _0x37fc66=this[_0x16a329(0x29c)](_0x5f342d,_0x3609db);this[_0x16a329(0x4e4)](_0x3763f4,_0x37fc66);}catch(_0x47c357){this['_logService'][_0x16a329(0x1fa)]('[CollaborationUndoRedoService]',_0x47c357),this[_0x16a329(0x296)](_0x3763f4);}let _0x478a10=this[_0x16a329(0x1fb)](_0x3763f4);if(_0x478a10)try{let _0x1198f4=this['_transformStack'](_0x478a10,_0x3609db);this[_0x16a329(0x4b6)](_0x3763f4,_0x1198f4);}catch(_0x73d88a){this[_0x16a329(0x3f1)][_0x16a329(0x1fa)](_0x73d88a),this['_clearRedo'](_0x3763f4);}}[_0x388c16(0x296)](_0x3ceaa3){const _0x26d27a=_0x388c16;let _0x259cc9=this['_getUndoStack'](_0x3ceaa3);_0x259cc9&&(_0x259cc9[_0x26d27a(0x1a3)]=0x0,this[_0x26d27a(0x4a6)]());}[_0x388c16(0x286)](_0x19a8cd){const _0x4c904e=_0x388c16;let _0x14350b=this[_0x4c904e(0x1fb)](_0x19a8cd);_0x14350b&&(_0x14350b[_0x4c904e(0x1a3)]=0x0,this[_0x4c904e(0x4a6)]());}[_0x388c16(0x4e4)](_0x4d59a2,_0x31107a){const _0x125a05=_0x388c16;this[_0x125a05(0x2dc)][_0x125a05(0x163)](_0x4d59a2,_0x31107a),this[_0x125a05(0x4a6)]();}[_0x388c16(0x4b6)](_0x309909,_0x2f0b56){const _0x42e190=_0x388c16;this['_redoStacks'][_0x42e190(0x163)](_0x309909,_0x2f0b56),this['_updateStatus']();}[_0x388c16(0x29c)](_0x3c9c40,_0x4ab764){const _0x242148=_0x388c16;let _0x2b0310=[],_0x3be8c1=_0x4ab764,_0x2ac412=_0x4ab764;for(let _0x486646=_0x3c9c40[_0x242148(0x1a3)]-0x1;_0x486646>=0x0;_0x486646--){let {unitID:_0x28daf8,undoMutations:_0x4182af,redoMutations:_0x28df51}=_0x3c9c40[_0x486646],_0x9eb42a=this['_transformService'][_0x242148(0x409)](_0x3be8c1,_0x4182af),_0x1adf98=this['_transformService'][_0x242148(0x409)](_0x2ac412,_0x28df51);if((0x0,_0x22113f[_0x242148(0x4c7)])(_0x9eb42a)||(0x0,_0x22113f[_0x242148(0x4c7)])(_0x1adf98)){this['_logService']['error'](_0x242148(0x31c),_0x242148(0x2c2),_0x9eb42a,_0x1adf98);break;}_0x3be8c1=_0x9eb42a[_0x242148(0x1ed)],_0x2ac412=_0x1adf98[_0x242148(0x1ed)],_0x2b0310['push']({'unitID':_0x28daf8,'undoMutations':_0x9eb42a[_0x242148(0x172)],'redoMutations':_0x1adf98[_0x242148(0x172)]});}return _0x2b0310[_0x242148(0x373)]();}};_0x3feeff=_0x3ecedb([_0x4923f4(0x0,_0x4c9691[_0x388c16(0x384)]),_0x4923f4(0x1,_0x4c9691[_0x388c16(0x225)]),_0x4923f4(0x2,_0x4c9691['IContextService']),_0x4923f4(0x3,_0x22113f[_0x388c16(0x463)]),_0x4923f4(0x4,_0x4c9691['ILogService'])],_0x3feeff);let _0x5e5171=class extends _0x4c9691[_0x388c16(0x1fc)]{constructor(_0x443a38={},_0x280255,_0x135f3e,_0x4106b7){const _0x36376d=_0x388c16;super(),this[_0x36376d(0x4e6)]=_0x443a38,this[_0x36376d(0x3f1)]=_0x280255,this['_injector']=_0x135f3e,this[_0x36376d(0x28a)]=_0x4106b7;let {..._0x5b930d}=(0x0,_0x4c9691['merge'])({},_0x61d523,_0x443a38);if(!_0x5b930d['socketService'])throw Error(_0x36376d(0x378));this[_0x36376d(0x4e6)]=_0x5b930d,this['_configService'][_0x36376d(0x1a8)](_0x52c9fb,_0x5b930d);}['onStarting'](){const _0x6375e3=_0x388c16;this[_0x6375e3(0x3b2)](),this[_0x6375e3(0x311)]();}[_0x388c16(0x3b2)](){const _0x2acec1=_0x388c16;var _0x4ad184,_0x314b2a;this[_0x2acec1(0x31f)]['has'](_0x4c9691[_0x2acec1(0x2c3)])&&this['_logService'][_0x2acec1(0x1fa)](_0x2acec1(0x2e1),_0x2acec1(0x3eb));let _0x3b05c9=(0x0,_0x4c9691[_0x2acec1(0x1e9)])([[_0x4c9691['IUndoRedoService'],{'useClass':_0x3feeff}],[_0x8dbac3],[_0x2ca67a],[_0x4d2785],[_0x593144],[_0x429086],[_0x147ce6],[_0x127fd5],[_0x20dd8a],[_0x2f1390],[_0x542253,{'useClass':this['_config'][_0x2acec1(0x3fc)]}],[_0x22113f[_0x2acec1(0x482)],{'useClass':_0xd9eff}],[_0x4c9691[_0x2acec1(0x22a)],{'useClass':_0x164e3a}],[_0xac2517[_0x2acec1(0x325)],{'useClass':_0x3e0ef6}],[_0x4c9691[_0x2acec1(0x48b)],{'useClass':_0x3a96dd}],[_0x8eab61],[_0x197e21]],(_0x4ad184=this[_0x2acec1(0x4e6)])==null?void 0x0:_0x4ad184[_0x2acec1(0x191)]);if(!((_0x314b2a=this[_0x2acec1(0x4e6)])!=null&&_0x314b2a[_0x2acec1(0x2e0)])){let _0x38dde7=_0x3b05c9[_0x2acec1(0x189)](([_0x338007])=>_0x338007===_0xfce292);_0x38dde7!==-0x1&&_0x3b05c9[_0x2acec1(0x2ff)](_0x38dde7,0x1);}(0x0,_0x4c9691[_0x2acec1(0x1a7)])(this[_0x2acec1(0x31f)],_0x3b05c9);}['_initDependencies'](){const _0x4afedf=_0x388c16;var _0xaad36e,_0x45ce46;if(this[_0x4afedf(0x31f)][_0x4afedf(0x1c6)](_0x750beb[_0x4afedf(0x28c)])[_0x4afedf(0x47f)]({'priority':0x14,'interceptor':(0x0,_0x750beb[_0x4afedf(0x374)])({'maxParallel':0x6})}),!((_0xaad36e=this[_0x4afedf(0x4e6)])!=null&&_0xaad36e[_0x4afedf(0x4a8)])){var _0x4f4a06;(_0x4f4a06=this[_0x4afedf(0x31f)][_0x4afedf(0x1c6)](_0xd5c1f1,_0x4c9691[_0x4afedf(0x2ac)]['OPTIONAL']))==null||_0x4f4a06[_0x4afedf(0x4cf)]();}(_0x45ce46=this[_0x4afedf(0x4e6)])!=null&&_0x45ce46['enableAuthServer']&&(0x0,_0x4c9691[_0x4afedf(0x1b0)])(this[_0x4afedf(0x31f)],[[_0x593144]]),(0x0,_0x4c9691[_0x4afedf(0x1b0)])(this['_injector'],[[_0x429086],[_0x8eab61],[_0x127fd5]]);}};_0x167995(_0x5e5171,_0x388c16(0x38a),_0x388c16(0x209)),_0x167995(_0x5e5171,_0x388c16(0x305),_0x4fc999),_0x167995(_0x5e5171,'version',_0x22bf0b),_0x5e5171=_0x3ecedb([(0x0,_0x4c9691[_0x388c16(0x42c)])(_0x2f0cd5[_0x388c16(0x235)],_0x22113f[_0x388c16(0x16c)],_0x750beb[_0x388c16(0x4b0)]),_0x4923f4(0x1,_0x4c9691[_0x388c16(0x231)]),_0x4923f4(0x2,(0x0,_0x4c9691[_0x388c16(0x4da)])(_0x4c9691[_0x388c16(0x2c0)])),_0x4923f4(0x3,_0x4c9691[_0x388c16(0x28d)])],_0x5e5171),Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x22d),{'enumerable':!0x0,'get':function(){return _0x164e3a;}}),Object['defineProperty'](_0x57f8cc,_0x388c16(0x1c1),{'enumerable':!0x0,'get':function(){return _0x56a83c;}}),Object['defineProperty'](_0x57f8cc,_0x388c16(0x441),{'enumerable':!0x0,'get':function(){return _0x4bf776;}}),_0x57f8cc['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x52c9fb,Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x298),{'enumerable':!0x0,'get':function(){return _0x8eab61;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x1a1),{'enumerable':!0x0,'get':function(){return _0x44af68;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x4c1),{'enumerable':!0x0,'get':function(){return _0x3e0ef6;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,'CollaborationSession',{'enumerable':!0x0,'get':function(){return _0x4da542;}}),Object['defineProperty'](_0x57f8cc,'CollaborationSessionService',{'enumerable':!0x0,'get':function(){return _0x8dbac3;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x49a),{'enumerable':!0x0,'get':function(){return _0x3f3356;}}),_0x57f8cc[_0x388c16(0x3e8)]=_0x44ebbd,_0x57f8cc[_0x388c16(0x36d)]=_0x577fae,_0x57f8cc['CollaborationUIEventService']=_0x20dd8a,Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x4ab),{'enumerable':!0x0,'get':function(){return _0x3feeff;}}),_0x57f8cc[_0x388c16(0x250)]=_0x147ce6,Object['defineProperty'](_0x57f8cc,'ConflictState',{'enumerable':!0x0,'get':function(){return _0x57790d;}}),_0x57f8cc[_0x388c16(0x2af)]=_0x1049c0,_0x57f8cc['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x388c16(0x347),_0x57f8cc[_0x388c16(0x165)]=_0x388c16(0x3d9),Object['defineProperty'](_0x57f8cc,'DataLoaderService',{'enumerable':!0x0,'get':function(){return _0x2f1390;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x4a9),{'enumerable':!0x0,'get':function(){return _0x1782f4;}}),Object['defineProperty'](_0x57f8cc,_0x388c16(0x4bb),{'enumerable':!0x0,'get':function(){return _0x25a93f;}}),_0x57f8cc[_0x388c16(0x204)]='HEARTBEAT_INTERVAL',_0x57f8cc[_0x388c16(0x28e)]=_0x388c16(0x36f),_0x57f8cc['ICollaborationSocketService']=_0x542253,_0x57f8cc[_0x388c16(0x32f)]=_0xd5c1f1,_0x57f8cc['INetworkConditionService']=_0x38a135,_0x57f8cc[_0x388c16(0x3d6)]=_0xfce292,_0x57f8cc[_0x388c16(0x48d)]=0x3e8,_0x57f8cc['LOCAL_CACHE_INTERVAL_KEY']=_0x388c16(0x48d),Object['defineProperty'](_0x57f8cc,_0x388c16(0x328),{'enumerable':!0x0,'get':function(){return _0x2ca67a;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x4b1),{'enumerable':!0x0,'get':function(){return _0x3a96dd;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,'OfflineState',{'enumerable':!0x0,'get':function(){return _0x150e04;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,'PendingState',{'enumerable':!0x0,'get':function(){return _0xdaecc2;}}),_0x57f8cc['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x388c16(0x4a7),_0x57f8cc[_0x388c16(0x49c)]=_0x388c16(0x390),_0x57f8cc[_0x388c16(0x196)]=_0x16446d,Object[_0x388c16(0x2e8)](_0x57f8cc,_0x388c16(0x3bc),{'enumerable':!0x0,'get':function(){return _0x1a46eb;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,'SheetTransformSelectionsService',{'enumerable':!0x0,'get':function(){return _0x4d2785;}}),Object[_0x388c16(0x2e8)](_0x57f8cc,'SnapshotServerOverHTTPService',{'enumerable':!0x0,'get':function(){return _0xd9eff;}}),Object['defineProperty'](_0x57f8cc,_0x388c16(0x2a3),{'enumerable':!0x0,'get':function(){return _0x558869;}}),_0x57f8cc['UnitStatus']=_0x129273,Object[_0x388c16(0x2e8)](_0x57f8cc,'UniverCollaborationClientPlugin',{'enumerable':!0x0,'get':function(){return _0x5e5171;}}),_0x57f8cc[_0x388c16(0x255)]=_0x1efbe8,_0x57f8cc[_0x388c16(0x349)]=_0x71832,_0x57f8cc[_0x388c16(0x2b0)]=_0x51f47f;}));
|
|
3
3
|
|
|
4
4
|
// @univerjs-pro/collaboration-client/facade
|
|
5
|
-
function
|
|
5
|
+
function _0x555a(_0x1dd1e5,_0x3c7421){_0x1dd1e5=_0x1dd1e5-0x1ac;const _0x131112=_0x1311();let _0x555acd=_0x131112[_0x1dd1e5];return _0x555acd;}(function(_0x52a9a0,_0x528d23){const _0x19e357=_0x555a,_0x2e6698=_0x52a9a0();while(!![]){try{const _0x4cbcf3=-parseInt(_0x19e357(0x1f9))/0x1*(parseInt(_0x19e357(0x1b2))/0x2)+parseInt(_0x19e357(0x1cc))/0x3+parseInt(_0x19e357(0x1c7))/0x4+parseInt(_0x19e357(0x1dc))/0x5*(parseInt(_0x19e357(0x1b1))/0x6)+-parseInt(_0x19e357(0x1fb))/0x7*(-parseInt(_0x19e357(0x1b5))/0x8)+parseInt(_0x19e357(0x1f6))/0x9+parseInt(_0x19e357(0x1cb))/0xa*(-parseInt(_0x19e357(0x1fa))/0xb);if(_0x4cbcf3===_0x528d23)break;else _0x2e6698['push'](_0x2e6698['shift']());}catch(_0xf5e7de){_0x2e6698['push'](_0x2e6698['shift']());}}}(_0x1311,0x836b7),function(_0x393f0d,_0x1fa784){const _0x541e54=_0x555a;typeof exports==_0x541e54(0x1d4)&&typeof module<'u'?_0x1fa784(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core/facade`),require(`@univerjs/core`),require(`@univerjs-pro/collaboration`),require(`rxjs`)):typeof define==_0x541e54(0x1ad)&&define[_0x541e54(0x1ae)]?define([_0x541e54(0x1f1),_0x541e54(0x1ee),_0x541e54(0x1bb),_0x541e54(0x1d9),_0x541e54(0x1f0),'rxjs'],_0x1fa784):(_0x393f0d=typeof globalThis<'u'?globalThis:_0x393f0d||self,_0x1fa784(_0x393f0d[_0x541e54(0x1d0)]={},_0x393f0d[_0x541e54(0x1ce)],_0x393f0d[_0x541e54(0x1af)],_0x393f0d[_0x541e54(0x1d5)],_0x393f0d[_0x541e54(0x1ba)],_0x393f0d[_0x541e54(0x1c6)]));}(this,function(_0x463447,_0x17ef91,_0x2863bb,_0x10420c,_0x21e1fa,_0x9c6145){const _0x36d1fb=_0x555a;Object['defineProperty'](_0x463447,Symbol[_0x36d1fb(0x1c1)],{'value':_0x36d1fb(0x1ca)});var _0x164e2b=class extends _0x2863bb['FEnum']{get[_0x36d1fb(0x1b9)](){const _0x364452=_0x36d1fb;return _0x17ef91[_0x364452(0x1b9)];}};_0x2863bb['FEnum']['extend'](_0x164e2b);var _0x3c7766=class extends _0x2863bb[_0x36d1fb(0x1e7)]{get[_0x36d1fb(0x1e3)](){const _0x4e160b=_0x36d1fb;return _0x4e160b(0x1e3);}};_0x2863bb['FEventName'][_0x36d1fb(0x1d6)](_0x3c7766);function _0x568f4d(_0x38d29c,_0x2a32bd){return function(_0x17ec83,_0x22d40d){_0x2a32bd(_0x17ec83,_0x22d40d,_0x38d29c);};}function _0x1806cf(_0x3cc1a9,_0x59cfab,_0x23147e,_0x14ca9f){const _0x417e3a=_0x36d1fb;var _0x40bc91=arguments[_0x417e3a(0x1b0)],_0x38951b=_0x40bc91<0x3?_0x59cfab:_0x14ca9f===null?_0x14ca9f=Object[_0x417e3a(0x1f5)](_0x59cfab,_0x23147e):_0x14ca9f,_0x32978f;if(typeof Reflect=='object'&&typeof Reflect[_0x417e3a(0x1ed)]==_0x417e3a(0x1ad))_0x38951b=Reflect[_0x417e3a(0x1ed)](_0x3cc1a9,_0x59cfab,_0x23147e,_0x14ca9f);else{for(var _0x3d5a6e=_0x3cc1a9[_0x417e3a(0x1b0)]-0x1;_0x3d5a6e>=0x0;_0x3d5a6e--)(_0x32978f=_0x3cc1a9[_0x3d5a6e])&&(_0x38951b=(_0x40bc91<0x3?_0x32978f(_0x38951b):_0x40bc91>0x3?_0x32978f(_0x59cfab,_0x23147e,_0x38951b):_0x32978f(_0x59cfab,_0x23147e))||_0x38951b);}return _0x40bc91>0x3&&_0x38951b&&Object['defineProperty'](_0x59cfab,_0x23147e,_0x38951b),_0x38951b;}let _0x52d035=class extends _0x2863bb[_0x36d1fb(0x1be)]{constructor(_0x210fcd,_0x34782f,_0x7b944b,_0x1b41b8,_0x55cc37){const _0x2683d4=_0x36d1fb;super(),this[_0x2683d4(0x1c9)]=_0x210fcd,this[_0x2683d4(0x1f4)]=_0x34782f,this[_0x2683d4(0x1db)]=_0x7b944b,this[_0x2683d4(0x1ea)]=_0x1b41b8,this[_0x2683d4(0x1bf)]=_0x55cc37;}async[_0x36d1fb(0x1b7)](){return this['loadActiveSheetAsync']();}async[_0x36d1fb(0x1cf)](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x36d1fb(0x1f2)](_0x5237c7){const _0x3c2c04=_0x36d1fb;return this[_0x3c2c04(0x1bd)](_0x5237c7);}async[_0x36d1fb(0x1bd)](_0x1b43f1,_0x3e427d){const _0x566987=_0x36d1fb;return await this['_snapshotService']['loadSheet'](_0x1b43f1,0x0,_0x3e427d)?(await this[_0x566987(0x1bf)][_0x566987(0x1cd)](_0x1b43f1),this[_0x566987(0x1c9)][_0x566987(0x1c4)](_0x1b43f1)):null;}[_0x36d1fb(0x1da)](_0x4b4a74,_0x5af400){const _0x26ef3d=_0x36d1fb;return(0x0,_0x10420c['toDisposable'])(this[_0x26ef3d(0x1f4)]['get'](_0x17ef91[_0x26ef3d(0x1b3)])[_0x26ef3d(0x1df)](_0x4b4a74)[_0x26ef3d(0x1e0)]((0x0,_0x9c6145[_0x26ef3d(0x1eb)])(_0x742a14=>_0x742a14[_0x26ef3d(0x1ef)]))[_0x26ef3d(0x1f8)](_0x4c83c3=>_0x5af400(Array[_0x26ef3d(0x1e2)](_0x4c83c3[_0x26ef3d(0x1e4)]()))));}[_0x36d1fb(0x1b8)](_0x586eab){const _0x30be2f=_0x36d1fb;var _0x343583;let _0x26840d;if(_0x586eab)_0x26840d=_0x586eab;else{let _0x2a0a31=this[_0x30be2f(0x1db)][_0x30be2f(0x1b4)]();_0x26840d=_0x2a0a31==null?void 0x0:_0x2a0a31[_0x30be2f(0x1ec)]();}if(!_0x26840d)return _0x17ef91[_0x30be2f(0x1b9)][_0x30be2f(0x1d2)];let _0x86f298=this[_0x30be2f(0x1bf)][_0x30be2f(0x1de)](_0x26840d);return(_0x343583=_0x86f298==null?void 0x0:_0x86f298['state']['status'])==null?_0x17ef91[_0x30be2f(0x1b9)][_0x30be2f(0x1d2)]:_0x343583;}};_0x52d035=_0x1806cf([_0x568f4d(0x1,(0x0,_0x10420c[_0x36d1fb(0x1ac)])(_0x10420c[_0x36d1fb(0x1bc)])),_0x568f4d(0x2,_0x10420c[_0x36d1fb(0x1e8)]),_0x568f4d(0x3,(0x0,_0x10420c[_0x36d1fb(0x1ac)])(_0x21e1fa['SnapshotService'])),_0x568f4d(0x4,(0x0,_0x10420c[_0x36d1fb(0x1ac)])(_0x17ef91[_0x36d1fb(0x1f7)]))],_0x52d035);var _0x32c84f=class extends _0x2863bb[_0x36d1fb(0x1d7)]{[_0x36d1fb(0x1c5)](_0x384d20){const _0x24c5aa=_0x36d1fb;let _0x164339=_0x384d20[_0x24c5aa(0x1d8)](_0x17ef91[_0x24c5aa(0x1f7)]);this['disposeWithMe'](this[_0x24c5aa(0x1e6)](this[_0x24c5aa(0x1c0)]['CollaborationStatusChanged'],()=>{const _0x3d0b96=_0x24c5aa;let _0x25b89c=new _0x10420c[(_0x3d0b96(0x1fc))](),_0x51c04c=_0x164339['entityInit$'][_0x3d0b96(0x1f8)](_0x414fa5=>{const _0x49888e=_0x3d0b96;let _0x4454bc=_0x414fa5[_0x49888e(0x1c2)]['subscribe'](_0x370284=>{const _0x101997=_0x49888e;let _0x1d12a2={'unitId':_0x414fa5[_0x101997(0x1f3)],'status':_0x370284};this[_0x101997(0x1c3)](this[_0x101997(0x1c0)][_0x101997(0x1e3)],_0x1d12a2);});_0x25b89c[_0x49888e(0x1e1)]((0x0,_0x10420c[_0x49888e(0x1b6)])(_0x4454bc));});return _0x25b89c['add']((0x0,_0x10420c[_0x3d0b96(0x1b6)])(_0x51c04c)),_0x25b89c;}));}['getCollaboration'](){const _0x4a9d14=_0x36d1fb;return this['_injector'][_0x4a9d14(0x1e5)](_0x52d035,{'getUniverSheet':_0x4e19cc=>this[_0x4a9d14(0x1c4)](_0x4e19cc)});}[_0x36d1fb(0x1c8)](_0x4ee2be,_0xe27a2,_0x2247f1){const _0xeef512=_0x36d1fb;return this[_0xeef512(0x1f4)][_0xeef512(0x1d8)](_0x17ef91[_0xeef512(0x1d3)])[_0xeef512(0x1dd)](_0x4ee2be,_0xe27a2,_0x2247f1);}['loadServerUnitOfRevision'](_0x3d9065,_0xaf15c3,_0x4861da){const _0x292898=_0x36d1fb;return this[_0x292898(0x1f4)]['get'](_0x17ef91[_0x292898(0x1d3)])[_0x292898(0x1e9)](_0x3d9065,_0xaf15c3,_0x4861da);}};_0x2863bb[_0x36d1fb(0x1d7)]['extend'](_0x32c84f),Object[_0x36d1fb(0x1d1)](_0x463447,'FCollaboration',{'enumerable':!0x0,'get':function(){return _0x52d035;}});}));function _0x1311(){const _0x1c434b=['getCollaborationStatus','CollaborationStatus','UniverProCollaboration','@univerjs/core/facade','Injector','loadSheetAsync','FBase','_collaborationController','Event','toStringTag','status$','fireEvent','getUniverSheet','_initialize','rxjs','3192352oNSMiW','loadServerUnit','_handler','Module','1983370BwXEZi','744306SiGtjS','readyForCollab','UniverProCollaborationClient','loadActiveSheetAsync','UniverProCollaborationClientFacade','defineProperty','NOT_COLLAB','DataLoaderService','object','UniverCore','extend','FUniver','get','@univerjs/core','subscribeCollaborators','_univerInstanceService','5KoogTZ','loadUnit','getCollabEntity','waitForRoom$','pipe','add','from','CollaborationStatusChanged','values','createInstance','registerEventHandler','FEventName','IUniverInstanceService','loadUnitOfRevision','_snapshotService','switchMap','getUnitId','decorate','@univerjs-pro/collaboration-client','members$','@univerjs-pro/collaboration','exports','loadSheet','unitID','_injector','getOwnPropertyDescriptor','7607781XeedYA','CollaborationController','subscribe','2xbIbTj','132hAoBmE','67459DrxbZN','DisposableCollection','Inject','function','amd','UniverCoreFacade','length','5457468JEGUGB','345314yfqQZs','MemberService','getFocusedUnit','384eEVreu','toDisposable','loadActiveSheet'];_0x1311=function(){return _0x1c434b;};return _0x1311();}
|
|
6
6
|
|
|
7
7
|
// @univerjs-pro/collaboration-client-ui/index
|
|
8
|
-
(function(_0x3751c1,_0x245eb5){const _0x5d7166=_0x1f09,_0x2dd76c=_0x3751c1();while(!![]){try{const _0x292413=-parseInt(_0x5d7166(0x2ba))/0x1*(parseInt(_0x5d7166(0x37f))/0x2)+-parseInt(_0x5d7166(0x18a))/0x3*(parseInt(_0x5d7166(0x196))/0x4)+-parseInt(_0x5d7166(0x25b))/0x5*(-parseInt(_0x5d7166(0x461))/0x6)+-parseInt(_0x5d7166(0x35c))/0x7+parseInt(_0x5d7166(0x2d8))/0x8*(-parseInt(_0x5d7166(0x152))/0x9)+-parseInt(_0x5d7166(0x278))/0xa*(parseInt(_0x5d7166(0x445))/0xb)+parseInt(_0x5d7166(0x2b1))/0xc;if(_0x292413===_0x245eb5)break;else _0x2dd76c['push'](_0x2dd76c['shift']());}catch(_0x895223){_0x2dd76c['push'](_0x2dd76c['shift']());}}}(_0x59b4,0x33d5c),function(_0x5f3bca,_0x13183b){const _0x50e683=_0x1f09;typeof exports==_0x50e683(0x30b)&&typeof module<'u'?_0x13183b(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),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==_0x50e683(0x2f0)&&define['amd']?define([_0x50e683(0x2bf),_0x50e683(0x43f),_0x50e683(0x1fd),'@univerjs/ui',_0x50e683(0x3f5),_0x50e683(0x1a3),_0x50e683(0x41e),_0x50e683(0x209),_0x50e683(0x460),_0x50e683(0x280),_0x50e683(0x212),_0x50e683(0x1e3),'@univerjs/docs-ui',_0x50e683(0x329),'@univerjs-pro/collaboration',_0x50e683(0x2ac),'@univerjs/engine-formula',_0x50e683(0x1ee),_0x50e683(0x208)],_0x13183b):(_0x5f3bca=typeof globalThis<'u'?globalThis:_0x5f3bca||self,_0x13183b(_0x5f3bca[_0x50e683(0x175)]={},_0x5f3bca[_0x50e683(0x265)],_0x5f3bca[_0x50e683(0x1cb)],_0x5f3bca[_0x50e683(0x195)],_0x5f3bca[_0x50e683(0x3f5)],_0x5f3bca['UniverDesign'],_0x5f3bca[_0x50e683(0x435)],_0x5f3bca[_0x50e683(0x435)],_0x5f3bca[_0x50e683(0x36c)],_0x5f3bca['UniverSheets'],_0x5f3bca[_0x50e683(0x364)],_0x5f3bca[_0x50e683(0x38f)],_0x5f3bca[_0x50e683(0x297)],_0x5f3bca[_0x50e683(0x396)],_0x5f3bca[_0x50e683(0x170)],_0x5f3bca['UniverDocs'],_0x5f3bca[_0x50e683(0x29c)],_0x5f3bca[_0x50e683(0x3f5)][_0x50e683(0x3c9)],_0x5f3bca[_0x50e683(0x16f)]));}(this,function(_0x2f0af9,_0x18e88d,_0x1e96bc,_0x163a5f,_0x25f103,_0x12bd8e,_0x996045,_0x3595c1,_0xba6498,_0x3a9a8f,_0x42ac73,_0xe453ac,_0xe88835,_0x42b430,_0x55fb1d,_0x3aacdf,_0x3b565c,_0x23c12b,_0x1827e1){const _0x29b412=_0x1f09;Object[_0x29b412(0x45a)](_0x2f0af9,Symbol[_0x29b412(0x38c)],{'value':_0x29b412(0x3fa)});function _0x42b57b({ref:_0x3af208,..._0x530459}){const _0x481816=_0x29b412;let {icon:_0x586923,id:_0x551974,className:_0x48dfcb,extend:_0x528e3f,..._0x2f833e}=_0x530459,_0x2f8775=(_0x481816(0x35a)+_0x551974+'\x20'+(_0x48dfcb||''))[_0x481816(0x3f4)](),_0x5b0949=(0x0,_0x996045['useRef'])('_'+_0x5dc6e6());return _0x2b3511(_0x586923,''+_0x551974,{'defIds':_0x586923[_0x481816(0x3a0)],'idSuffix':_0x5b0949[_0x481816(0x456)]},{'ref':_0x3af208,'className':_0x2f8775,..._0x2f833e},_0x528e3f);}function _0x2b3511(_0x4c696b,_0x4f0fc3,_0x2aa7c7,_0x2744ed,_0x48bc65){const _0x50afc7=_0x29b412;return(0x0,_0x996045['createElement'])(_0x4c696b[_0x50afc7(0x3e0)],{'key':_0x4f0fc3,..._0x5c3b31(_0x4c696b,_0x2aa7c7,_0x48bc65),..._0x2744ed},(_0x5d5327(_0x4c696b,_0x2aa7c7)[_0x50afc7(0x2f9)]||[])[_0x50afc7(0x403)]((_0x2255a4,_0x1f95ee)=>_0x2b3511(_0x2255a4,_0x4f0fc3+'-'+_0x4c696b[_0x50afc7(0x3e0)]+'-'+_0x1f95ee,_0x2aa7c7,void 0x0,_0x48bc65)));}function _0x5c3b31(_0x5b3c6d,_0x48ccfa,_0x1c3285){const _0x159ef5=_0x29b412;let _0x4851ac={..._0x5b3c6d['attrs']};_0x1c3285!=null&&_0x1c3285[_0x159ef5(0x426)]&&_0x4851ac['fill']==='colorChannel1'&&(_0x4851ac[_0x159ef5(0x2e6)]=_0x1c3285[_0x159ef5(0x426)]),_0x5b3c6d[_0x159ef5(0x3e0)]===_0x159ef5(0x44b)&&_0x4851ac['id']&&(_0x4851ac['id']+=_0x48ccfa[_0x159ef5(0x36b)]),Object[_0x159ef5(0x2d4)](_0x4851ac)[_0x159ef5(0x312)](([_0x3f271b,_0x32171c])=>{const _0x13a9a7=_0x159ef5;_0x3f271b===_0x13a9a7(0x44b)&&typeof _0x32171c=='string'&&(_0x4851ac[_0x3f271b]=_0x32171c[_0x13a9a7(0x26c)](/url\(#(.*)\)/,_0x13a9a7(0x231)+_0x48ccfa[_0x13a9a7(0x36b)]+')'));});let {defIds:_0x12a107}=_0x48ccfa;return!_0x12a107||_0x12a107[_0x159ef5(0x1b7)]===0x0?_0x4851ac:(_0x5b3c6d[_0x159ef5(0x3e0)]===_0x159ef5(0x229)&&_0x4851ac[_0x159ef5(0x3e5)]&&(_0x4851ac['xlink:href']+=_0x48ccfa[_0x159ef5(0x36b)]),Object['entries'](_0x4851ac)['forEach'](([_0x4cf601,_0x292449])=>{const _0x542692=_0x159ef5;typeof _0x292449==_0x542692(0x416)&&(_0x4851ac[_0x4cf601]=_0x292449['replace'](/url\(#(.*)\)/,_0x542692(0x231)+_0x48ccfa[_0x542692(0x36b)]+')'));}),_0x4851ac);}function _0x5d5327(_0x187400,_0x55d846){const _0x139bac=_0x29b412;var _0x1b727b;let {defIds:_0x557a96}=_0x55d846;return!_0x557a96||_0x557a96[_0x139bac(0x1b7)]===0x0?_0x187400:_0x187400[_0x139bac(0x3e0)]===_0x139bac(0x2e7)&&(_0x1b727b=_0x187400[_0x139bac(0x2f9)])!=null&&_0x1b727b[_0x139bac(0x1b7)]?{..._0x187400,'children':_0x187400[_0x139bac(0x2f9)][_0x139bac(0x403)](_0x1c93ef=>typeof _0x1c93ef[_0x139bac(0x402)]['id']==_0x139bac(0x416)&&_0x557a96&&_0x557a96[_0x139bac(0x1d8)](_0x1c93ef[_0x139bac(0x402)]['id'])?{..._0x1c93ef,'attrs':{..._0x1c93ef[_0x139bac(0x402)],'id':_0x1c93ef[_0x139bac(0x402)]['id']+_0x55d846['idSuffix']}}:_0x1c93ef)}:_0x187400;}function _0x5dc6e6(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x42b57b[_0x29b412(0x181)]='UniverIcon';let _0x3044f3={'tag':_0x29b412(0x25e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x29b412(0x34f),'viewBox':_0x29b412(0x463),'width':_0x29b412(0x457),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x29b412(0x330),'attrs':{'stroke':_0x29b412(0x2ff),'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':_0x29b412(0x29f),'strokeLinejoin':_0x29b412(0x29f),'strokeWidth':1.2}}]},{'tag':_0x29b412(0x2e7),'attrs':{},'children':[{'tag':_0x29b412(0x40e),'attrs':{'id':_0x29b412(0x3dc)},'children':[{'tag':_0x29b412(0x330),'attrs':{'fill':_0x29b412(0x2a5),'d':_0x29b412(0x2df)}}]}]}],'defIds':[_0x29b412(0x3dc)]},_0x32f60e=(0x0,_0x996045[_0x29b412(0x249)])(function(_0x4f7e7f,_0x5b8fa4){const _0x501c73=_0x29b412;return(0x0,_0x996045[_0x501c73(0x3b2)])(_0x42b57b,Object[_0x501c73(0x1cd)]({},_0x4f7e7f,{'id':'off-line-icon','ref':_0x5b8fa4,'icon':_0x3044f3}));});_0x32f60e[_0x29b412(0x181)]=_0x29b412(0x1ec);let _0x18c937={'tag':'svg','attrs':{'xmlns':_0x29b412(0x3f8),'fill':_0x29b412(0x34f),'viewBox':_0x29b412(0x2c3),'width':_0x29b412(0x457),'height':_0x29b412(0x457)},'children':[{'tag':'g','attrs':{'clipPath':_0x29b412(0x336)},'children':[{'tag':_0x29b412(0x330),'attrs':{'stroke':_0x29b412(0x2ff),'d':_0x29b412(0x1aa),'strokeLinecap':'round','strokeLinejoin':_0x29b412(0x29f),'strokeWidth':1.2}}]},{'tag':_0x29b412(0x2e7),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x29b412(0x2df),'transform':'translate(.97)'}}]}]}],'defIds':[_0x29b412(0x169)]},_0x4b6f8b=(0x0,_0x996045['forwardRef'])(function(_0x29bffd,_0x571e3c){const _0x923b3a=_0x29b412;return(0x0,_0x996045['createElement'])(_0x42b57b,Object[_0x923b3a(0x1cd)]({},_0x29bffd,{'id':_0x923b3a(0x1ce),'ref':_0x571e3c,'icon':_0x18c937}));});_0x4b6f8b['displayName']=_0x29b412(0x23f);function _0x134a0c(_0x22f849){const _0x1166f0=_0x29b412;switch(_0x22f849){case _0x18e88d['CollaborationStatus'][_0x1166f0(0x1c6)]:return _0x1166f0(0x1de);case _0x18e88d[_0x1166f0(0x22f)]['CONFLICT']:return _0x1166f0(0x23a);case _0x18e88d['CollaborationStatus'][_0x1166f0(0x3eb)]:return _0x1166f0(0x3b1);case _0x18e88d[_0x1166f0(0x22f)]['NOT_COLLAB']:return'collabStatus.notCollab';case _0x18e88d[_0x1166f0(0x22f)]['AWAITING']:case _0x18e88d[_0x1166f0(0x22f)]['AWAITING_WITH_PENDING']:return _0x1166f0(0x26e);case _0x18e88d[_0x1166f0(0x22f)][_0x1166f0(0x2c2)]:case _0x18e88d['CollaborationStatus'][_0x1166f0(0x381)]:return _0x1166f0(0x17f);}}function _0x48688a(_0x304914){const _0x46b464=_0x29b412;let {status$:_0x4db24c}=_0x304914,_0x4ca7ab=(0x0,_0x163a5f['useObservable'])(_0x4db24c,_0x18e88d[_0x46b464(0x22f)][_0x46b464(0x19f)]),_0x2efa9c=(0x0,_0x163a5f[_0x46b464(0x28d)])(_0x1e96bc['LocaleService']),_0x1446ef=(0x0,_0x163a5f[_0x46b464(0x28d)])(_0x18e88d[_0x46b464(0x38e)]),_0x4989c5=_0x4ca7ab!==_0x18e88d['CollaborationStatus'][_0x46b464(0x1c6)],_0x3213e3=_0x2efa9c['t'](_0x134a0c(_0x4ca7ab)),_0x8c953b=_0x4989c5?(0x0,_0x3595c1[_0x46b464(0x289)])(_0x4b6f8b,{}):(0x0,_0x3595c1[_0x46b464(0x289)])(_0x32f60e,{}),_0x5bca74=(0x0,_0x996045[_0x46b464(0x3a8)])(()=>{_0x4989c5||_0x1446ef['reconnect']();},[_0x4989c5,_0x1446ef]);function _0x551a39(){const _0x5f256c=_0x46b464;return(0x0,_0x3595c1[_0x5f256c(0x269)])(_0x5f256c(0x1b9),{'className':'univer-flex\x20univer-items-center','onClick':_0x5bca74,'children':[(0x0,_0x3595c1[_0x5f256c(0x289)])(_0x5f256c(0x1b9),{'className':(0x0,_0x12bd8e[_0x5f256c(0x31c)])('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4989c5,'univer-text-red-500':!_0x4989c5}),'children':_0x8c953b}),(0x0,_0x3595c1['jsx'])(_0x5f256c(0x1b9),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3213e3})]});}return _0x4989c5?_0x551a39():(0x0,_0x3595c1[_0x46b464(0x289)])(_0x12bd8e[_0x46b464(0x261)],{'title':_0x2efa9c['t'](_0x46b464(0x2f3)),'children':_0x551a39()});}function _0xd5e38a(_0x4d823b){'@babel/helpers - typeof';const _0x2fbcb0=_0x29b412;return _0xd5e38a=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x2fbcb0(0x1f1)?function(_0x1376bc){return typeof _0x1376bc;}:function(_0x5daa45){const _0x3237b0=_0x2fbcb0;return _0x5daa45&&typeof Symbol==_0x3237b0(0x2f0)&&_0x5daa45['constructor']===Symbol&&_0x5daa45!==Symbol[_0x3237b0(0x153)]?_0x3237b0(0x1f1):typeof _0x5daa45;},_0xd5e38a(_0x4d823b);}function _0x597435(_0x4d913e,_0x2c742a){const _0x2c94bf=_0x29b412;if(_0xd5e38a(_0x4d913e)!=_0x2c94bf(0x30b)||!_0x4d913e)return _0x4d913e;var _0x17305c=_0x4d913e[Symbol[_0x2c94bf(0x163)]];if(_0x17305c!==void 0x0){var _0x3987dd=_0x17305c[_0x2c94bf(0x2ef)](_0x4d913e,_0x2c742a||_0x2c94bf(0x1b6));if(_0xd5e38a(_0x3987dd)!='object')return _0x3987dd;throw TypeError(_0x2c94bf(0x2b9));}return(_0x2c742a===_0x2c94bf(0x416)?String:Number)(_0x4d913e);}function _0x133709(_0x57284c){const _0x25d8ef=_0x29b412;var _0x58dc39=_0x597435(_0x57284c,_0x25d8ef(0x416));return _0xd5e38a(_0x58dc39)==_0x25d8ef(0x1f1)?_0x58dc39:_0x58dc39+'';}function _0x4878f2(_0x4f1d6b,_0x349441,_0x25b22b){return(_0x349441=_0x133709(_0x349441))in _0x4f1d6b?Object['defineProperty'](_0x4f1d6b,_0x349441,{'value':_0x25b22b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f1d6b[_0x349441]=_0x25b22b,_0x4f1d6b;}function _0x19fee6(_0x492af7,_0x58cae9){return function(_0x246808,_0x5a3d84){_0x58cae9(_0x246808,_0x5a3d84,_0x492af7);};}function _0x1c9c51(_0x2f8532,_0x34e9d1,_0xe01564,_0x3d6bf9){const _0x4f4920=_0x29b412;var _0x2ed182=arguments['length'],_0x2a2f27=_0x2ed182<0x3?_0x34e9d1:_0x3d6bf9===null?_0x3d6bf9=Object[_0x4f4920(0x2bd)](_0x34e9d1,_0xe01564):_0x3d6bf9,_0x439dce;if(typeof Reflect==_0x4f4920(0x30b)&&typeof Reflect[_0x4f4920(0x282)]=='function')_0x2a2f27=Reflect[_0x4f4920(0x282)](_0x2f8532,_0x34e9d1,_0xe01564,_0x3d6bf9);else{for(var _0x4ae473=_0x2f8532['length']-0x1;_0x4ae473>=0x0;_0x4ae473--)(_0x439dce=_0x2f8532[_0x4ae473])&&(_0x2a2f27=(_0x2ed182<0x3?_0x439dce(_0x2a2f27):_0x2ed182>0x3?_0x439dce(_0x34e9d1,_0xe01564,_0x2a2f27):_0x439dce(_0x34e9d1,_0xe01564))||_0x2a2f27);}return _0x2ed182>0x3&&_0x2a2f27&&Object[_0x4f4920(0x45a)](_0x34e9d1,_0xe01564,_0x2a2f27),_0x2a2f27;}let _0x31d8d2=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x58757a,_0x2c32b2,_0xb84fd0,_0x445ab3){const _0x36627f=_0x29b412;super(),this[_0x36627f(0x2d1)]=_0x58757a,this[_0x36627f(0x21f)]=_0x2c32b2,this[_0x36627f(0x27e)]=_0xb84fd0,this[_0x36627f(0x171)]=_0x445ab3,_0x4878f2(this,_0x36627f(0x1f6),new _0x25f103[(_0x36627f(0x177))](_0x18e88d[_0x36627f(0x22f)][_0x36627f(0x19f)])),this[_0x36627f(0x3f0)](),this[_0x36627f(0x412)]();}[_0x29b412(0x412)](){const _0x3ce989=_0x29b412;this[_0x3ce989(0x434)](this[_0x3ce989(0x2d1)][_0x3ce989(0x2cf)][_0x3ce989(0x23c)]((0x0,_0x25f103[_0x3ce989(0x43a)])(()=>{const _0x2964b0=_0x3ce989;let _0x44f120=this[_0x2964b0(0x2d1)][_0x2964b0(0x37d)]();return _0x44f120?this['_collaborationController'][_0x2964b0(0x1b3)](_0x44f120[_0x2964b0(0x393)]()):(0x0,_0x25f103['of'])(null);}),(0x0,_0x25f103[_0x3ce989(0x43a)])(_0x2e62ce=>_0x2e62ce?_0x2e62ce[_0x3ce989(0x1fb)]:(0x0,_0x25f103['of'])(_0x18e88d['CollaborationStatus'][_0x3ce989(0x19f)])))[_0x3ce989(0x2ca)](_0x3fd373=>{const _0x5b67fa=_0x3ce989;this['_status$'][_0x5b67fa(0x1db)](_0x3fd373);}));}[_0x29b412(0x3f0)](){const _0xc7e217=_0x29b412;this[_0xc7e217(0x434)](this[_0xc7e217(0x171)]['registerComponent'](_0x163a5f[_0xc7e217(0x406)][_0xc7e217(0x40f)],()=>(0x0,_0x163a5f[_0xc7e217(0x1a1)])(_0x3d5c36({'status$':this['_status$'][_0xc7e217(0x341)]()}),this[_0xc7e217(0x21f)])));}};_0x31d8d2=_0x1c9c51([_0x19fee6(0x0,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['Injector'])),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d[_0x29b412(0x322)])),_0x19fee6(0x3,_0x163a5f['IUIPartsService'])],_0x31d8d2);function _0x3d5c36(_0x3441a8){let {status$:_0x4b973b}=_0x3441a8;return function(){const _0x110a6b=_0x1f09;return(0x0,_0x3595c1[_0x110a6b(0x289)])(_0x48688a,{'status$':_0x4b973b});};}let _0x19d706=(0x0,_0x1e96bc[_0x29b412(0x29e)])(_0x29b412(0x326)),_0x4bd713=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(_0x4a305a,_0x5e937d,_0x5c084b,_0x2ad14f,_0x1928cd){const _0x1f10c9=_0x29b412;super(),this[_0x1f10c9(0x433)]=_0x4a305a,this[_0x1f10c9(0x3d0)]=_0x5e937d,this[_0x1f10c9(0x1e4)]=_0x5c084b,this[_0x1f10c9(0x245)]=_0x2ad14f,_0x1928cd?_0x1928cd==null||_0x1928cd['whenReady']()['then'](()=>this['_init']()):(this['_logService']['debug'](_0x1f10c9(0x43e),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1f10c9(0x19b)]());}async['_init'](){const _0x15198c=_0x29b412;let _0x570d96=this[_0x15198c(0x433)][_0x15198c(0x263)]('unit'),_0x5cb7b7=this[_0x15198c(0x433)]['getParam'](_0x15198c(0x2f8)),_0x1066d0=this['_urlService'][_0x15198c(0x263)](_0x15198c(0x277));if(!_0x570d96||!_0x5cb7b7){this['_logService'][_0x15198c(0x424)](_0x15198c(0x43e),_0x15198c(0x18b));return;}let _0x2ce9da=await this['_dataLoaderService'][_0x15198c(0x3db)](_0x570d96,Number(_0x5cb7b7),_0x1066d0);_0x2ce9da&&_0x2ce9da instanceof _0x1e96bc['Workbook']&&this[_0x15198c(0x164)](_0x2ce9da);}async['_setupSubUnitSync'](_0x2ad20a){const _0x127f95=_0x29b412;await this[_0x127f95(0x252)](_0x2ad20a),_0x2ad20a['activeSheet$'][_0x127f95(0x23c)]((0x0,_0x25f103[_0x127f95(0x3c7)])(this[_0x127f95(0x165)]))[_0x127f95(0x2ca)](_0x7dae9c=>{const _0x5433d9=_0x127f95;_0x7dae9c&&this[_0x5433d9(0x211)](_0x7dae9c);}),this[_0x127f95(0x433)]['urlChange$'][_0x127f95(0x23c)]((0x0,_0x25f103['takeUntil'])(this['dispose$']))[_0x127f95(0x2ca)](()=>this[_0x127f95(0x252)](_0x2ad20a));}[_0x29b412(0x211)](_0x415db7,_0x11e44c=!0x1){const _0x1f80b0=_0x29b412;let _0x599b2a=this[_0x1f80b0(0x433)]['getParam'](_0x1f80b0(0x277));_0x415db7[_0x1f80b0(0x2a2)]()!==_0x599b2a&&this[_0x1f80b0(0x433)]['setParam'](_0x1f80b0(0x277),_0x415db7[_0x1f80b0(0x2a2)](),_0x11e44c);}async['_updateSubUnitFromURLParams'](_0xa30344){const _0x1c5e83=_0x29b412;var _0x22e396;let _0x302177=this['_urlService'][_0x1c5e83(0x263)](_0x1c5e83(0x277));if(!_0x302177||!_0xa30344[_0x1c5e83(0x354)](_0x302177)){let _0x7c0966=_0xa30344[_0x1c5e83(0x39f)]()[0x0],_0x25917b=_0xa30344[_0x1c5e83(0x354)](_0x7c0966);if(!_0x25917b)return;this[_0x1c5e83(0x211)](_0x25917b,!0x0),await this['_commandService'][_0x1c5e83(0x358)](_0x3a9a8f['SetWorksheetActivateCommand']['id'],{'unitId':_0xa30344[_0x1c5e83(0x393)](),'subUnitId':_0x7c0966});return;}((_0x22e396=_0xa30344['getActiveSheet']())==null?void 0x0:_0x22e396[_0x1c5e83(0x2a2)]())!==_0x302177&&await this[_0x1c5e83(0x1e4)][_0x1c5e83(0x358)](_0x3a9a8f[_0x1c5e83(0x348)]['id'],{'unitId':_0xa30344[_0x1c5e83(0x393)](),'subUnitId':_0x302177});}};_0x4bd713=_0x1c9c51([_0x19fee6(0x0,_0x19d706),_0x19fee6(0x1,_0x1e96bc[_0x29b412(0x24a)]),_0x19fee6(0x2,_0x1e96bc[_0x29b412(0x42c)]),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d['DataLoaderService'])),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x20b)])(_0xba6498[_0x29b412(0x238)]))],_0x4bd713);var _0x3a7710=_0x29b412(0x1bd),_0x4df1c3=_0x29b412(0x2ce);let _0x3048a8=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(_0x547f9e,_0x4c537b){const _0x1b6937=_0x29b412;super(),this[_0x1b6937(0x1b5)]=_0x547f9e,this[_0x1b6937(0x338)]=_0x4c537b,this[_0x1b6937(0x19b)]();}[_0x29b412(0x19b)](){const _0x28dfcf=_0x29b412;let _0x393f53=this;this['disposeWithMe'](this[_0x28dfcf(0x1b5)][_0x28dfcf(0x421)]({'onBeforePasteImage':async _0x4babcf=>{const _0x2e9763=_0x28dfcf;let _0x50d80=await _0x393f53[_0x2e9763(0x338)][_0x2e9763(0x40d)](_0x4babcf);return _0x50d80?{'source':_0x50d80[_0x2e9763(0x25f)],'imageSourceType':_0x50d80[_0x2e9763(0x295)]}:null;}}));}};_0x3048a8=_0x1c9c51([_0x19fee6(0x0,_0xe88835[_0x29b412(0x2ad)]),_0x19fee6(0x1,_0x42b430[_0x29b412(0x28b)])],_0x3048a8);let _0x519b19=['purple.300',_0x29b412(0x432),_0x29b412(0x2b4),_0x29b412(0x370),_0x29b412(0x2f7),'yellow.400'];var _0x447e19=class extends _0x1e96bc['Disposable']{constructor(..._0x29c9c1){const _0x586830=_0x29b412;super(..._0x29c9c1),_0x4878f2(this,_0x586830(0x2a9),new Map()),_0x4878f2(this,_0x586830(0x335),0x0);}[_0x29b412(0x2fc)](_0x4aa21f){const _0x12cbf3=_0x29b412;if(this['_assignedColors'][_0x12cbf3(0x411)](_0x4aa21f))return this['_assignedColors'][_0x12cbf3(0x17b)](_0x4aa21f);let _0x406318=_0x519b19[this[_0x12cbf3(0x335)]];return this[_0x12cbf3(0x335)]=(this[_0x12cbf3(0x335)]+0x1)%_0x519b19[_0x12cbf3(0x1b7)],this['_assignedColors'][_0x12cbf3(0x1dc)](_0x4aa21f,_0x406318),_0x406318;}},_0x4212b1=function(_0x5ece7e){const _0x49646b=_0x29b412;return _0x5ece7e[_0x49646b(0x331)]='1',_0x5ece7e['Inactive']='0',_0x5ece7e;}(_0x4212b1||{});function _0x4ca010(_0x1111e3){const _0x1f8534=_0x29b412;let _0x50ceab='';for(let _0x2f5260 of _0x1111e3){let {startOffset:_0x21c1c7,endOffset:_0x33e3ed,isActive:_0x16d4c7,rangeType:_0xb85fd4,segmentId:_0x3d7370,segmentPage:_0x435cf8}=_0x2f5260;_0x50ceab['length']&&(_0x50ceab+=','),_0x50ceab+=_0x21c1c7+':'+_0x33e3ed+':'+(_0x16d4c7?_0x4212b1[_0x1f8534(0x331)]:_0x4212b1[_0x1f8534(0x3d9)])+':'+_0xb85fd4+':'+_0x3d7370+':'+_0x435cf8;}return _0x50ceab;}function _0x20a36d(_0x41c6fe){const _0x5ca588=_0x29b412;let _0x1277f2=_0x41c6fe[_0x5ca588(0x1d7)](','),_0x26abd4=[];for(let _0x402835 of _0x1277f2){let [_0x1fbce1,_0x43db11,_0x139e96,_0x32988f,_0x31d5a0,_0x66275a]=_0x402835[_0x5ca588(0x1d7)](':');_0x26abd4[_0x5ca588(0x3ec)]({'startOffset':Number(_0x1fbce1),'endOffset':Number(_0x43db11),'collapsed':_0x1fbce1===_0x43db11,'isActive':_0x139e96===_0x4212b1[_0x5ca588(0x331)],'rangeType':_0x32988f===_0x1e96bc[_0x5ca588(0x155)][_0x5ca588(0x319)]?_0x1e96bc[_0x5ca588(0x155)]['TEXT']:_0x1e96bc['DOC_RANGE_TYPE'][_0x5ca588(0x45d)],'segmentId':typeof _0x31d5a0=='string'?String(_0x31d5a0):'','segmentPage':Number(_0x66275a==null?-0x1:_0x66275a)});}return _0x26abd4[_0x5ca588(0x409)](_0x4d575a=>_0x4d575a['isActive'])||(_0x26abd4[0x0][_0x5ca588(0x43c)]=!0x0),_0x26abd4;}var _0x54c1c7=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(..._0x55e6ef){const _0x48ccf9=_0x29b412;super(..._0x55e6ef),_0x4878f2(this,_0x48ccf9(0x351),new _0x25f103[(_0x48ccf9(0x177))](null)),_0x4878f2(this,'collabCursorState$',this[_0x48ccf9(0x351)][_0x48ccf9(0x341)]());}[_0x29b412(0x30e)](_0xb7fc09){const _0x527215=_0x29b412;let {unitID:_0x76d712,memberID:_0x30538b,textRanges:_0x29296d}=_0xb7fc09,_0x373399=_0x4ca010(_0x29296d);if(_0x373399==='')return;let _0x33ba1d={'unitID':_0x76d712,'memberID':_0x30538b,'selection':_0x373399};this[_0x527215(0x351)][_0x527215(0x1db)](_0x33ba1d);}};let _0x83701a=class extends _0x1e96bc[_0x29b412(0x267)]{get[_0x29b412(0x22e)](){const _0x1fc8cd=_0x29b412;return this[_0x1fc8cd(0x226)][_0x1fc8cd(0x27d)]();}get[_0x29b412(0x304)](){return this['_roomMembers$']['getValue']();}constructor(_0x83a06f,_0x5431ba,_0x7d2cde,_0x257c31,_0x388183,_0x34c527,_0x36e93e,_0x2a4cd8,_0x4906ac){const _0x1c8dfe=_0x29b412;super(),this[_0x1c8dfe(0x180)]=_0x83a06f,this[_0x1c8dfe(0x16b)]=_0x5431ba,this[_0x1c8dfe(0x21f)]=_0x7d2cde,this[_0x1c8dfe(0x21d)]=_0x257c31,this[_0x1c8dfe(0x1a6)]=_0x388183,this[_0x1c8dfe(0x3c6)]=_0x34c527,this[_0x1c8dfe(0x446)]=_0x36e93e,this[_0x1c8dfe(0x2d1)]=_0x2a4cd8,this[_0x1c8dfe(0x1e4)]=_0x4906ac,_0x4878f2(this,'_online',!0x1),_0x4878f2(this,_0x1c8dfe(0x19b),!0x1),_0x4878f2(this,'_cursorInfo$',new _0x25f103[(_0x1c8dfe(0x177))](new Map())),_0x4878f2(this,_0x1c8dfe(0x309),this['_cursorInfo$'][_0x1c8dfe(0x341)]()),_0x4878f2(this,_0x1c8dfe(0x1b4),new _0x25f103['BehaviorSubject']([])),_0x4878f2(this,_0x1c8dfe(0x1e5),this[_0x1c8dfe(0x1b4)][_0x1c8dfe(0x23c)]((0x0,_0x25f103[_0x1c8dfe(0x213)])(0x12c))),_0x4878f2(this,_0x1c8dfe(0x3bf),(0x0,_0x1e96bc[_0x1c8dfe(0x20e)])(_0x3f488b=>{const _0x2faa7c=_0x1c8dfe;let _0x799354={'eventID':_0x55fb1d[_0x2faa7c(0x1f3)][_0x2faa7c(0x2e0)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x4ca010(_0x3f488b)}};this[_0x2faa7c(0x16b)][_0x2faa7c(0x3e8)](_0x799354,this['unitID']);},0x64));}[_0x29b412(0x1e7)](){const _0x5760fb=_0x29b412;super['dispose'](),this[_0x5760fb(0x226)][_0x5760fb(0x1db)](new Map()),this[_0x5760fb(0x226)][_0x5760fb(0x444)](),this[_0x5760fb(0x1b4)][_0x5760fb(0x1db)]([]),this[_0x5760fb(0x1b4)]['complete']();}[_0x29b412(0x37a)](){const _0x212d30=_0x29b412;this[_0x212d30(0x19b)]||(this['_init']=!0x0,this['_session'][_0x212d30(0x2bc)][_0x212d30(0x23c)]((0x0,_0x25f103[_0x212d30(0x3c7)])(this[_0x212d30(0x165)]))['subscribe'](_0x463949=>{const _0x3aba3a=_0x212d30;_0x463949===_0x18e88d[_0x3aba3a(0x1f7)][_0x3aba3a(0x314)]?this[_0x3aba3a(0x3a4)]():this[_0x3aba3a(0x1af)]();}),this[_0x212d30(0x16b)][_0x212d30(0x420)][_0x212d30(0x23c)]((0x0,_0x25f103[_0x212d30(0x3c7)])(this[_0x212d30(0x165)]))[_0x212d30(0x2ca)](_0x4f0df9=>{const _0x3bdad8=_0x212d30;let _0x490f79=_0x4f0df9[_0x3bdad8(0x34e)];_0x490f79===_0x55fb1d[_0x3bdad8(0x1f3)]['UPDATE_CURSOR']&&this[_0x3bdad8(0x32a)](_0x4f0df9),_0x490f79===_0x55fb1d[_0x3bdad8(0x1f3)][_0x3bdad8(0x1b1)]&&this['_onCursorDelete'](_0x4f0df9);}),this[_0x212d30(0x434)](this['_commandService'][_0x212d30(0x2d9)](_0x5c76f7=>{const _0x2328c2=_0x212d30;let _0x194148=_0x5c76f7[_0x2328c2(0x431)];_0x194148!=null&&this['_online']&&_0x5c76f7['id']===_0x3aacdf[_0x2328c2(0x3c2)]['id']&&_0x194148['unitId']===this[_0x2328c2(0x180)]&&_0x194148[_0x2328c2(0x349)]===!0x1&&_0x194148[_0x2328c2(0x1ba)][_0x2328c2(0x1b7)]>0x0&&this['_updateLocalCursor'](_0x194148[_0x2328c2(0x1ba)]);})),this[_0x212d30(0x3c6)]['collabCursorState$'][_0x212d30(0x23c)]((0x0,_0x25f103[_0x212d30(0x3c7)])(this['dispose$']))[_0x212d30(0x2ca)](_0x2b25c9=>{const _0x36581b=_0x212d30;if((_0x2b25c9==null?void 0x0:_0x2b25c9[_0x36581b(0x180)])!==this[_0x36581b(0x180)])return;let _0x38ce3e={'eventID':_0x55fb1d[_0x36581b(0x1f3)][_0x36581b(0x2e0)],'data':_0x2b25c9};this[_0x36581b(0x32a)](_0x38ce3e);}),this[_0x212d30(0x434)](this[_0x212d30(0x1e4)][_0x212d30(0x2d9)](_0x35bcc8=>{const _0x414993=_0x212d30;if(_0x35bcc8[_0x414993(0x431)]==null)return;let _0x1ad72c=_0x35bcc8[_0x414993(0x431)];if(_0x35bcc8['id']!==_0x3aacdf[_0x414993(0x405)]['id']||_0x1ad72c[_0x414993(0x378)]!==this[_0x414993(0x180)])return;let _0x14e0af={'id':_0x414993(0x3ac),'params':_0x1ad72c},_0x42f0d8=this[_0x414993(0x22e)];for(let [_0x4a575e,_0x1ae761]of _0x42f0d8){let _0x1d949a={'id':_0x414993(0x3ac),'params':{'unitId':this[_0x414993(0x180)],'actions':null,'textRanges':_0x1ae761[_0x414993(0x1ba)]}},_0x1b25d0=this['_transformService']['transformMutation'](_0x14e0af,_0x1d949a,!0x1);if((0x0,_0x55fb1d[_0x414993(0x2ea)])(_0x1b25d0))throw _0x1b25d0[_0x414993(0x1cf)];_0x42f0d8[_0x414993(0x1dc)](_0x4a575e,{..._0x1ae761,'ranges':_0x1b25d0[_0x414993(0x447)]['params']['textRanges']});}queueMicrotask(()=>{const _0x275327=_0x414993;this[_0x275327(0x226)][_0x275327(0x1db)](_0x42f0d8);});})));}[_0x29b412(0x32a)](_0x4acaf7){const _0x380687=_0x29b412;var _0x444814,_0x575190;let {memberID:_0x5b0ec4,selection:_0x1e2b79}=_0x4acaf7[_0x380687(0x2c4)],_0x384f6b=_0x20a36d(_0x1e2b79),_0x2ddeff=(_0x444814=(_0x575190=this[_0x380687(0x1a6)][_0x380687(0x301)](this[_0x380687(0x180)],_0x5b0ec4))==null?void 0x0:_0x575190[_0x380687(0x298)])==null?_0x380687(0x357):_0x444814,_0x5f3a4f={'color':this[_0x380687(0x21d)]['assignAColorForMemberID'](_0x5b0ec4),'name':_0x2ddeff,'ranges':_0x384f6b},_0x424858=this['cursorInfo'];_0x424858[_0x380687(0x1dc)](_0x5b0ec4,_0x5f3a4f),this['_cursorInfo$']['next'](_0x424858);}[_0x29b412(0x179)](_0xe98497){const _0x520f77=_0x29b412;let {memberID:_0x16e383}=_0xe98497[_0x520f77(0x2c4)],_0x77a7c0=this[_0x520f77(0x22e)];_0x77a7c0[_0x520f77(0x24d)](_0x16e383),this['_cursorInfo$']['next'](_0x77a7c0);}[_0x29b412(0x3a4)](){const _0x1a4ea9=_0x29b412;var _0xf3315f;if(this[_0x1a4ea9(0x223)]=!0x0,((_0xf3315f=this[_0x1a4ea9(0x2d1)]['getFocusedUnit']())==null?void 0x0:_0xf3315f['getUnitId']())!==this[_0x1a4ea9(0x180)])return;let _0x109861=this['_injector'][_0x1a4ea9(0x17b)](_0x3aacdf[_0x1a4ea9(0x3d8)])[_0x1a4ea9(0x45c)]();Array['isArray'](_0x109861)&&_0x109861[_0x1a4ea9(0x1b7)]>0x0&&this[_0x1a4ea9(0x3bf)](_0x109861);}[_0x29b412(0x1af)](){const _0x35f742=_0x29b412;this[_0x35f742(0x223)]=!0x1;}};_0x83701a=_0x1c9c51([_0x19fee6(0x2,(0x0,_0x1e96bc['Inject'])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x447e19)),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d[_0x29b412(0x2b0)])),_0x19fee6(0x5,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x54c1c7)),_0x19fee6(0x6,_0x55fb1d[_0x29b412(0x42a)]),_0x19fee6(0x7,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x8,_0x1e96bc[_0x29b412(0x42c)])],_0x83701a);let _0x37f6df=()=>{let _0x2123ba=[],_0x5a963d=!0x1;return _0x948fef=>{_0x2123ba['push'](_0x948fef),_0x5a963d||(_0x5a963d=!0x0,setTimeout(()=>{const _0x3a3ab0=_0x1f09;_0x2123ba[_0x3a3ab0(0x312)](_0x304be9=>_0x304be9()),_0x2123ba=[],_0x5a963d=!0x1;}));};},_0x4853dd=class extends _0x1e96bc[_0x29b412(0x267)]{get[_0x29b412(0x22e)](){const _0x4e0b6a=_0x29b412;return this[_0x4e0b6a(0x226)]['getValue']();}get[_0x29b412(0x304)](){const _0x558420=_0x29b412;return this[_0x558420(0x1b4)]['getValue']();}constructor(_0x165d4e,_0x459e5b,_0x3c577b,_0x520e0e,_0x53ab57,_0x3be1ea,_0x3382d7,_0x5d3512){const _0x3be063=_0x29b412;super(),this['unitID']=_0x165d4e,this[_0x3be063(0x16b)]=_0x459e5b,this[_0x3be063(0x21f)]=_0x3c577b,this['_colorAssignService']=_0x520e0e,this[_0x3be063(0x1a6)]=_0x53ab57,this[_0x3be063(0x2d1)]=_0x3be1ea,this['_commandService']=_0x3382d7,this[_0x3be063(0x251)]=_0x5d3512,_0x4878f2(this,_0x3be063(0x223),!0x1),_0x4878f2(this,'_init',!0x1),_0x4878f2(this,'_cursorInfo$',new _0x25f103[(_0x3be063(0x177))](new Map())),_0x4878f2(this,_0x3be063(0x309),this['_cursorInfo$']['asObservable']()),_0x4878f2(this,_0x3be063(0x1b4),new _0x25f103[(_0x3be063(0x177))]([])),_0x4878f2(this,_0x3be063(0x1e5),this[_0x3be063(0x1b4)][_0x3be063(0x23c)]((0x0,_0x25f103['debounceTime'])(0x12c))),_0x4878f2(this,_0x3be063(0x3bf),(0x0,_0x1e96bc[_0x3be063(0x20e)])((_0x458b64,_0x172515)=>{const _0x58d36b=_0x3be063;let _0x26badc={'eventID':_0x55fb1d[_0x58d36b(0x1f3)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x58d36b(0x180)],'memberID':this[_0x58d36b(0x16b)][_0x58d36b(0x352)](),'selection':(0x0,_0x3b565c[_0x58d36b(0x419)])(_0x458b64,_0x172515['range'])}};this['_session'][_0x58d36b(0x3e8)](_0x26badc,this[_0x58d36b(0x180)]);},0x64));}[_0x29b412(0x1e7)](){const _0x5c77f2=_0x29b412;super['dispose'](),this[_0x5c77f2(0x226)]['next'](new Map()),this[_0x5c77f2(0x226)][_0x5c77f2(0x444)](),this[_0x5c77f2(0x1b4)]['next']([]),this['_roomMembers$'][_0x5c77f2(0x444)]();}[_0x29b412(0x37a)](){const _0x449b33=_0x29b412;this['_init']||(this[_0x449b33(0x19b)]=!0x0,this['_session'][_0x449b33(0x2bc)][_0x449b33(0x23c)]((0x0,_0x25f103[_0x449b33(0x3c7)])(this[_0x449b33(0x165)]))[_0x449b33(0x2ca)](_0x10a028=>{const _0x56d92c=_0x449b33;_0x10a028===_0x18e88d[_0x56d92c(0x1f7)][_0x56d92c(0x314)]?this['_toggleOnline']():this[_0x56d92c(0x1af)]();}),this['_session'][_0x449b33(0x420)][_0x449b33(0x23c)]((0x0,_0x25f103[_0x449b33(0x3c7)])(this[_0x449b33(0x165)]))['subscribe'](_0x5d77b2=>{const _0xd57e6f=_0x449b33;let _0x746d14=_0x5d77b2['eventID'];_0x746d14===_0x55fb1d['CollaborationEvent'][_0xd57e6f(0x2e0)]&&this[_0xd57e6f(0x32a)](_0x5d77b2),_0x746d14===_0x55fb1d['CollaborationEvent'][_0xd57e6f(0x1b1)]&&this[_0xd57e6f(0x179)](_0x5d77b2);}),this['_onRefRangeChange'](),this[_0x449b33(0x434)](this[_0x449b33(0x1e4)][_0x449b33(0x2d9)](_0x3f9fdd=>{const _0x4b0058=_0x449b33;if(this[_0x4b0058(0x223)]&&_0x3f9fdd['id']===_0x3a9a8f[_0x4b0058(0x1be)]['id']&&_0x3f9fdd[_0x4b0058(0x431)][_0x4b0058(0x378)]===this['unitID']){let _0x154280=_0x3f9fdd[_0x4b0058(0x431)];this[_0x4b0058(0x3bf)](_0x154280[_0x4b0058(0x2ee)],_0x154280[_0x4b0058(0x1ae)][0x0]);}})));}[_0x29b412(0x32a)](_0x263fe8){const _0x5cbd3f=_0x29b412;var _0x324624,_0x788b3a;let {memberID:_0xbb81b9,selection:_0x43d407}=_0x263fe8[_0x5cbd3f(0x2c4)],{sheetName:_0x334063,range:_0x35ce05}=(0x0,_0x3b565c['deserializeRangeWithSheet'])(_0x43d407),_0x1cce6b={'name':(_0x324624=(_0x788b3a=this['_memberService'][_0x5cbd3f(0x301)](this[_0x5cbd3f(0x180)],_0xbb81b9))==null?void 0x0:_0x788b3a[_0x5cbd3f(0x298)])==null?_0x5cbd3f(0x357):_0x324624,'range':this[_0x5cbd3f(0x408)](_0x334063,_0x35ce05),'sheetID':_0x334063,'color':this[_0x5cbd3f(0x21d)][_0x5cbd3f(0x2fc)](_0xbb81b9),'selection':_0x43d407},_0xffb35f=this[_0x5cbd3f(0x22e)];_0xffb35f[_0x5cbd3f(0x1dc)](_0xbb81b9,_0x1cce6b),this[_0x5cbd3f(0x226)][_0x5cbd3f(0x1db)](_0xffb35f);}[_0x29b412(0x179)](_0x5e53aa){const _0x2fe577=_0x29b412;let {memberID:_0x2d99d7}=_0x5e53aa[_0x2fe577(0x2c4)],_0x20d45d=this[_0x2fe577(0x22e)];_0x20d45d['delete'](_0x2d99d7),this[_0x2fe577(0x226)]['next'](_0x20d45d);}['_getMergeRange'](_0x343c17,_0x567cf4){const _0x322e73=_0x29b412;var _0x1647a2;let _0xa9057d=(_0x1647a2=this[_0x322e73(0x2d1)][_0x322e73(0x29d)](this['unitID']))==null||(_0x1647a2=_0x1647a2[_0x322e73(0x354)](_0x343c17))==null?void 0x0:_0x1647a2[_0x322e73(0x279)]();return(_0xa9057d==null?void 0x0:_0xa9057d['find'](_0x4e5c5a=>_0x1e96bc['Rectangle'][_0x322e73(0x1b0)](_0x4e5c5a,_0x567cf4)))||_0x567cf4;}[_0x29b412(0x2dd)](){const _0x34a47b=_0x29b412;let _0x47f365=new _0x1e96bc[(_0x34a47b(0x394))](),_0x29e4e1=_0x37f6df(),_0x5b578f=()=>{const _0x56e03d=_0x34a47b;_0x47f365[_0x56e03d(0x1e7)]();let _0x139a46=(_0x2d8cf4,_0x4c6b97,_0x392777,_0x1437d1)=>{const _0x3b115c=_0x56e03d;let _0x4615da=[];switch(_0x2d8cf4['id']){case _0x3a9a8f[_0x3b115c(0x345)][_0x3b115c(0x187)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x1f8)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f[_0x3b115c(0x345)][_0x3b115c(0x3ad)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x272)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f[_0x3b115c(0x345)]['InsertColCommandId']:_0x4615da=(0x0,_0x3a9a8f['handleInsertCol'])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId'][_0x3b115c(0x1df)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x3fc)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId'][_0x3b115c(0x221)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x454)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f[_0x3b115c(0x345)][_0x3b115c(0x355)]:_0x4615da=(0x0,_0x3a9a8f['handleInsertRow'])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId']['MoveRangeCommandId']:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x3e6)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId']['RemoveColCommandId']:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x293)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId'][_0x3b115c(0x1a0)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x17e)])(_0x2d8cf4,_0x1437d1);break;}let _0x239f5e=(0x0,_0x3a9a8f[_0x3b115c(0x386)])(_0x4615da,_0x1437d1),_0x199f5d=this['cursorInfo'][_0x3b115c(0x17b)](_0x4c6b97);if(_0x199f5d&&_0x239f5e){let _0x244272={..._0x199f5d,'range':_0x239f5e};this[_0x3b115c(0x22e)][_0x3b115c(0x1dc)](_0x4c6b97,_0x244272),_0x29e4e1(()=>{const _0x5749f0=_0x3b115c;let _0x5660ca=this[_0x5749f0(0x251)][_0x5749f0(0x27b)](_0x239f5e,_0x2cb5a9=>(_0x5660ca[_0x5749f0(0x1e7)](),_0x139a46(_0x2cb5a9,_0x4c6b97,_0x392777,_0x239f5e)));_0x47f365[_0x5749f0(0x20c)](_0x5660ca);});}return{'redos':[],'undos':[]};};this[_0x56e03d(0x22e)][_0x56e03d(0x312)]((_0x4a53d8,_0xa50d9e)=>{const _0x19c4db=_0x56e03d;let {range:_0x1f1108,sheetID:_0x19e370}=_0x4a53d8,_0x45b800=this['_refRangeService']['registerRefRange'](_0x1f1108,_0x459dec=>(_0x45b800[_0x19c4db(0x1e7)](),_0x139a46(_0x459dec,_0xa50d9e,_0x19e370,_0x1f1108)));_0x47f365['add'](_0x45b800);});};this['disposeWithMe']((0x0,_0x1e96bc['toDisposable'])(this[_0x34a47b(0x226)][_0x34a47b(0x2ca)](()=>{_0x5b578f();})));}['_toggleOnline'](){const _0x1fb496=_0x29b412;var _0x23175d,_0x136c47;if(this[_0x1fb496(0x223)]=!0x0,((_0x23175d=this[_0x1fb496(0x2d1)][_0x1fb496(0x37d)]())==null?void 0x0:_0x23175d[_0x1fb496(0x393)]())!==this[_0x1fb496(0x180)])return;let _0x2f4b26=(_0x136c47=this['_injector']['get'](_0x3a9a8f[_0x1fb496(0x3e7)])[_0x1fb496(0x23e)]())==null?void 0x0:_0x136c47[0x0],_0x3fa803=this[_0x1fb496(0x2d1)][_0x1fb496(0x38b)](_0x1e96bc[_0x1fb496(0x20d)]['UNIVER_SHEET'])['getActiveSheet']();_0x2f4b26&&_0x3fa803&&this['_updateLocalCursor'](_0x3fa803[_0x1fb496(0x2a2)](),_0x2f4b26);}[_0x29b412(0x1af)](){const _0x769354=_0x29b412;this[_0x769354(0x223)]=!0x1;}};_0x4853dd=_0x1c9c51([_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x447e19)),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d['MemberService'])),_0x19fee6(0x5,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x6,_0x1e96bc[_0x29b412(0x42c)]),_0x19fee6(0x7,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x3a9a8f[_0x29b412(0x40c)]))],_0x4853dd);let _0x396377=class extends _0x1e96bc['RxDisposable']{constructor(_0x28bbc0,_0x223af9,_0x338f39){const _0x319d75=_0x29b412;super(),this['_univerInstanceService']=_0x28bbc0,this[_0x319d75(0x21f)]=_0x223af9,this[_0x319d75(0x281)]=_0x338f39,_0x4878f2(this,_0x319d75(0x1a9),new Map()),_0x4878f2(this,'_entityInit$',new _0x25f103[(_0x319d75(0x321))]()),this[_0x319d75(0x19b)]();}[_0x29b412(0x1e7)](){const _0x4c88b4=_0x29b412;super[_0x4c88b4(0x1e7)](),this[_0x4c88b4(0x3d7)][_0x4c88b4(0x444)](),this[_0x4c88b4(0x1a9)][_0x4c88b4(0x312)](_0x2114f0=>_0x2114f0[_0x4c88b4(0x1e7)]());}[_0x29b412(0x197)](_0x53cc1c){const _0x310827=_0x29b412;return this['_entities'][_0x310827(0x411)](_0x53cc1c)?this['_entities'][_0x310827(0x17b)](_0x53cc1c)[_0x310827(0x309)]:this['_entityInit$'][_0x310827(0x23c)]((0x0,_0x25f103[_0x310827(0x442)])(_0xcb81da=>_0xcb81da['unitID']===_0x53cc1c),(0x0,_0x25f103[_0x310827(0x43a)])(_0x2f40fa=>_0x2f40fa[_0x310827(0x309)]));}['_init'](){const _0x20bb1a=_0x29b412;this[_0x20bb1a(0x2d1)][_0x20bb1a(0x465)](_0x1e96bc[_0x20bb1a(0x20d)][_0x20bb1a(0x3b4)])[_0x20bb1a(0x23c)]((0x0,_0x25f103[_0x20bb1a(0x3c7)])(this[_0x20bb1a(0x165)]))[_0x20bb1a(0x2ca)](async _0x495a51=>{const _0x227328=_0x20bb1a;let _0x16fb0a=_0x495a51['getUnitId'](),_0xc90972=await this[_0x227328(0x429)](_0x16fb0a);this[_0x227328(0x3d7)][_0x227328(0x1db)](_0xc90972),this[_0x227328(0x1a9)]['set'](_0x16fb0a,_0xc90972);}),this['_univerInstanceService'][_0x20bb1a(0x465)](_0x1e96bc[_0x20bb1a(0x20d)][_0x20bb1a(0x1dd)])['pipe']((0x0,_0x25f103[_0x20bb1a(0x3c7)])(this[_0x20bb1a(0x165)]))[_0x20bb1a(0x23c)]((0x0,_0x25f103[_0x20bb1a(0x442)])(_0x3cd117=>!_0x3cd117[_0x20bb1a(0x393)]()[_0x20bb1a(0x220)]('__')))[_0x20bb1a(0x2ca)](async _0x4dbc92=>{const _0x23e5f7=_0x20bb1a;let _0x1890fa=_0x4dbc92[_0x23e5f7(0x393)](),_0x4a5f49=await this['_startDocCollabCursor'](_0x1890fa);this[_0x23e5f7(0x3d7)]['next'](_0x4a5f49),this[_0x23e5f7(0x1a9)][_0x23e5f7(0x1dc)](_0x1890fa,_0x4a5f49);}),(0x0,_0x25f103[_0x20bb1a(0x371)])(this[_0x20bb1a(0x2d1)][_0x20bb1a(0x31f)](_0x1e96bc[_0x20bb1a(0x20d)][_0x20bb1a(0x1dd)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1e96bc[_0x20bb1a(0x20d)][_0x20bb1a(0x3b4)]))['pipe']((0x0,_0x25f103[_0x20bb1a(0x3c7)])(this[_0x20bb1a(0x165)]))[_0x20bb1a(0x2ca)](_0x58567f=>{const _0x454037=_0x20bb1a;let _0x3e07f6=_0x58567f[_0x454037(0x393)](),_0x16c8aa=this[_0x454037(0x1a9)][_0x454037(0x17b)](_0x3e07f6);_0x16c8aa&&(_0x16c8aa[_0x454037(0x1e7)](),this[_0x454037(0x1a9)][_0x454037(0x24d)](_0x3e07f6));});}async['_startSheetCollabCursor'](_0xe7b3f2){const _0x52c21f=_0x29b412;let _0x2c9104=await this['_collabSessionService'][_0x52c21f(0x24c)](_0xe7b3f2),_0x33b542=this['_injector'][_0x52c21f(0x18c)](_0x4853dd,_0xe7b3f2,_0x2c9104);return _0x33b542[_0x52c21f(0x37a)](),_0x33b542;}async['_startDocCollabCursor'](_0x5bef0f){const _0x1d55dd=_0x29b412;let _0x243a4f=await this[_0x1d55dd(0x281)]['requireSession'](_0x5bef0f),_0xf24d7e=this['_injector']['createInstance'](_0x83701a,_0x5bef0f,_0x243a4f);return _0xf24d7e['init'](),_0xf24d7e;}};_0x396377=_0x1c9c51([_0x19fee6(0x0,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d[_0x29b412(0x38e)]))],_0x396377);function _0x3e4eef(_0x3979ec,_0x47d0d9){const _0x3ac713=_0x29b412;var _0x41ecee,_0x3603c4,_0x49386a;let {radius:_0x2eec1a,width:_0x2fe56b,height:_0x976f02}=_0x47d0d9;_0x2eec1a=(_0x41ecee=_0x2eec1a)==null?0x0:_0x41ecee,_0x2fe56b=(_0x3603c4=_0x2fe56b)==null?0x1e:_0x3603c4,_0x976f02=(_0x49386a=_0x976f02)==null?0x1e:_0x49386a;let _0x384575=0x0,_0x411d1a=0x0,_0x115917=0x0;_0x384575=_0x411d1a=_0x115917=Math[_0x3ac713(0x356)](_0x2eec1a,_0x2fe56b/0x2,_0x976f02/0x2),_0x3979ec['beginPath'](),_0x3979ec[_0x3ac713(0x449)](_0x384575,0x0),_0x3979ec['lineTo'](_0x2fe56b-_0x411d1a,0x0),_0x3979ec['arc'](_0x2fe56b-_0x411d1a,_0x411d1a,_0x411d1a,Math['PI']*0x3/0x2,0x0,!0x1),_0x3979ec[_0x3ac713(0x1ca)](_0x2fe56b,_0x976f02-_0x115917),_0x3979ec[_0x3ac713(0x3b7)](_0x2fe56b-_0x115917,_0x976f02-_0x115917,_0x115917,0x0,Math['PI']/0x2,!0x1),_0x3979ec[_0x3ac713(0x1ca)](0x0,_0x976f02),_0x3979ec[_0x3ac713(0x1ca)](0x0,_0x384575),_0x3979ec[_0x3ac713(0x3b7)](_0x384575,_0x384575,_0x384575,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3979ec['closePath'](),_0x47d0d9[_0x3ac713(0x2e6)]&&(_0x3979ec[_0x3ac713(0x166)](),_0x3979ec[_0x3ac713(0x323)]=_0x47d0d9[_0x3ac713(0x2e6)],_0x47d0d9[_0x3ac713(0x344)]==='evenodd'?_0x3979ec[_0x3ac713(0x2e6)](_0x3ac713(0x1a2)):_0x3979ec['fill'](),_0x3979ec[_0x3ac713(0x3c1)]());}var _0x3fff7c=class _0x4eb704 extends _0x42ac73[_0x29b412(0x3ef)]{constructor(_0x4dc50e,_0x48dfaf){const _0x5c208b=_0x29b412;super(_0x4dc50e,_0x48dfaf),_0x4878f2(this,_0x5c208b(0x44c),void 0x0),_0x4878f2(this,_0x5c208b(0x15d),void 0x0),this['color']=_0x48dfaf==null?void 0x0:_0x48dfaf[_0x5c208b(0x44c)],this['text']=_0x48dfaf==null?void 0x0:_0x48dfaf[_0x5c208b(0x15d)];}static[_0x29b412(0x190)](_0x4799f7,_0x251588){const _0x375acb=_0x29b412;let {text:_0xe81eee,color:_0x30ab73}=_0x251588;_0x4799f7['save'](),_0x4799f7[_0x375acb(0x1d4)]=_0x375acb(0x160);let _0x3023f4=_0x4799f7[_0x375acb(0x26a)](_0xe81eee)[_0x375acb(0x2ae)];if(_0x3e4eef(_0x4799f7,{'height':0x14,'radius':0x4,'width':Math['min'](_0x3023f4+0x8,0xc8),'fill':_0x30ab73,'evented':!0x1}),_0x4799f7['fillStyle']=_0x375acb(0x36e),_0x3023f4>0xc0){let _0x189adf='',_0x165d8b=0x0;for(let _0x36718d of _0xe81eee){let _0xd27561=_0x4799f7[_0x375acb(0x26a)](_0x36718d)[_0x375acb(0x2ae)];if(_0x165d8b+_0xd27561<=0xc0-_0x4799f7['measureText']('...')[_0x375acb(0x2ae)])_0x189adf+=_0x36718d,_0x165d8b+=_0xd27561;else{_0x189adf+=_0x375acb(0x33e);break;}}_0x4799f7[_0x375acb(0x2de)](_0x189adf,0x4,0xf);}else _0x4799f7[_0x375acb(0x2de)](_0xe81eee,0x4,0xf);_0x4799f7[_0x375acb(0x3c1)]();}['_draw'](_0x32b5e2){const _0x2d67d0=_0x29b412;_0x4eb704[_0x2d67d0(0x190)](_0x32b5e2,this);}};let _0x5ae368='collab-text-anchor-';var _0x3c104f=class{constructor(_0x3c0d9b,_0x57a231,_0xc65beb,_0x31e0d2){const _0x13007f=_0x29b412;this[_0x13007f(0x339)]=_0x3c0d9b,this[_0x13007f(0x285)]=_0x57a231,this[_0x13007f(0x188)]=_0xc65beb,this[_0x13007f(0x401)]=_0x31e0d2,_0x4878f2(this,_0x13007f(0x1a5),[]),_0x4878f2(this,_0x13007f(0x294),null),_0x4878f2(this,_0x13007f(0x305),null),_0x4878f2(this,_0x13007f(0x2e9),null),_0x4878f2(this,_0x13007f(0x3a5),null),_0x4878f2(this,'_eventUnsubscribe',null),this[_0x13007f(0x3e9)]();}set[_0x29b412(0x317)](_0x2209a3){const _0x54f2dc=_0x29b412;_0x2209a3?(this['_anchorDot']&&this['_anchorDot'][_0x54f2dc(0x193)](),this[_0x54f2dc(0x305)]&&this[_0x54f2dc(0x305)]['show']()):(this[_0x54f2dc(0x2e9)]&&this[_0x54f2dc(0x2e9)][_0x54f2dc(0x450)](),this['_textBubble']&&this[_0x54f2dc(0x305)][_0x54f2dc(0x193)]());}[_0x29b412(0x1e7)](){const _0x5bc547=_0x29b412;for(let _0xd94525 of this[_0x5bc547(0x1a5)])_0xd94525['dispose']();this[_0x5bc547(0x305)]&&this[_0x5bc547(0x305)][_0x5bc547(0x1e7)](),this[_0x5bc547(0x2e9)]&&this[_0x5bc547(0x2e9)][_0x5bc547(0x1e7)](),this[_0x5bc547(0x294)]&&this['_anchor'][_0x5bc547(0x1e7)](),this[_0x5bc547(0x21e)]&&this[_0x5bc547(0x21e)]();}['_render'](){const _0x1ae480=_0x29b412;let {_docSkeleton:_0x2144f9,_document:_0x2c831c}=this,{color:_0x36b694,name:_0x2bca94,ranges:_0x3061c2}=this[_0x1ae480(0x339)],_0x1010de=_0x2c831c[_0x1ae480(0x216)](),{docsLeft:_0x32954d,docsTop:_0xdd8fc6}=_0x1010de,_0x571bbd=new _0xe88835[(_0x1ae480(0x39c))](_0x1010de,_0x2144f9);for(let {startOffset:_0x398df4,endOffset:_0x176fdb,rangeType:_0xe22076,segmentId:_0x41c315,segmentPage:_0x254479,collapsed:_0x1a2b97,isActive:_0x2f1102}of _0x3061c2){let _0x56b78d=_0x2144f9['findNodePositionByCharIndex'](_0x398df4,!0x0,_0x41c315,_0x254479),_0x567f6e=_0x2144f9[_0x1ae480(0x283)](_0x176fdb,!0x0,_0x41c315,_0x254479);if(_0x567f6e==null&&(_0x567f6e=_0x2144f9[_0x1ae480(0x283)](_0x176fdb-0x1,!0x1,_0x41c315,_0x254479)),_0x2f1102){let {contentBoxPointGroup:_0x56ca02}=_0x571bbd[_0x1ae480(0x1ef)](_0x567f6e,_0x567f6e);if(_0x56ca02[_0x1ae480(0x1b7)]===0x0)continue;this[_0x1ae480(0x35e)](_0x36b694,_0x56ca02,_0x32954d,_0xdd8fc6,_0x2bca94),this[_0x1ae480(0x21e)]=this[_0x1ae480(0x302)]();}if(_0x56b78d&&_0x567f6e){if(_0xe22076===_0x1e96bc[_0x1ae480(0x155)][_0x1ae480(0x45d)]){var _0x316605;let {pointGroup:_0x5a0355}=(_0x316605=new _0xe88835[(_0x1ae480(0x236))](_0x1010de,_0x2144f9)[_0x1ae480(0x1ef)](_0x56b78d,_0x567f6e))==null?{}:_0x316605;if(_0x5a0355==null||_0x5a0355[_0x1ae480(0x1b7)]===0x0)continue;this[_0x1ae480(0x1d3)](_0x36b694,_0x5a0355,_0x32954d,_0xdd8fc6);}else{if(!_0x1a2b97){let {borderBoxPointGroup:_0xb6d706}=_0x571bbd['getRangePointData'](_0x56b78d,_0x567f6e);if(_0xb6d706['length']===0x0)continue;this[_0x1ae480(0x16d)](_0x36b694,_0xb6d706,_0x32954d,_0xdd8fc6);}}}}}[_0x29b412(0x35e)](_0x22ece4,_0x22293a,_0x4b5eeb,_0x52cddd,_0x1e0856){const _0x971822=_0x29b412;let {left:_0x1bdb09,top:_0x23ba29,height:_0x2ab78a}=this[_0x971822(0x18f)](_0x22293a),_0x2423b5=1.5/this[_0x971822(0x3fe)](),_0x5cbe4d=new _0x42ac73['Rect'](_0x5ae368+(0x0,_0x1e96bc[_0x971822(0x1f9)])(0x6),{'left':_0x1bdb09+_0x4b5eeb-_0x2423b5,'top':_0x23ba29+_0x52cddd,'height':_0x2ab78a,'width':1.5,'fill':_0x22ece4||(0x0,_0x42ac73[_0x971822(0x3c4)])(_0x1e96bc[_0x971822(0x3e2)][_0x971822(0x292)],0x0),'strokeWidth':_0x2423b5,'stroke':_0x971822(0x1ed),'evented':!0x0});this[_0x971822(0x294)]=_0x5cbe4d,this[_0x971822(0x285)]['addObject'](_0x5cbe4d,_0xe88835[_0x971822(0x2be)]);let _0x5b6d12=new _0x42ac73['Rect'](_0x5ae368+(0x0,_0x1e96bc[_0x971822(0x1f9)])(0x6),{'left':_0x1bdb09+_0x4b5eeb-_0x2423b5,'top':_0x23ba29+_0x52cddd-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x22ece4||(0x0,_0x42ac73['getColor'])(_0x1e96bc['COLORS'][_0x971822(0x292)],0x0),'strokeWidth':0x0,'stroke':_0x22ece4||(0x0,_0x42ac73[_0x971822(0x3c4)])(_0x1e96bc[_0x971822(0x3e2)]['black'],0x0),'evented':!0x1});this[_0x971822(0x2e9)]=_0x5b6d12,this['_scene'][_0x971822(0x368)](_0x5b6d12,_0xe88835['TEXT_RANGE_LAYER_INDEX']);let _0x4e9c4c=new _0x3fff7c(_0x5ae368+(0x0,_0x1e96bc[_0x971822(0x1f9)])(0x6),{'left':_0x1bdb09+_0x4b5eeb-_0x2423b5,'top':_0x23ba29+_0x52cddd-0x14,'text':_0x1e0856,'color':_0x22ece4});this['_textBubble']=_0x4e9c4c,this[_0x971822(0x285)]['addObject'](_0x4e9c4c,_0xe88835[_0x971822(0x2be)]),this[_0x971822(0x317)]=!0x1;}[_0x29b412(0x302)](){const _0x1f95fb=_0x29b412;let _0x570dfa=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x38e7c3=this[_0x1f95fb(0x294)][_0x1f95fb(0x254)][_0x1f95fb(0x31a)](()=>{const _0x1d8ab0=_0x1f95fb;this[_0x1d8ab0(0x3a5)]&&clearTimeout(this[_0x1d8ab0(0x3a5)]),this['_hideTimer']=setTimeout(()=>{const _0x191691=_0x1d8ab0;this[_0x191691(0x317)]=!0x1;},0x7d0);});return()=>{const _0xc47a3f=_0x1f95fb;_0x570dfa[_0xc47a3f(0x3bc)](),_0x38e7c3['unsubscribe']();};}['_drawTextRange'](_0x144f7d,_0x2a87fc,_0x1f0678,_0x9d8996){const _0x25bbf0=_0x29b412;let _0x569e54=0.2,_0x5b55a4=new _0x1e96bc[(_0x25bbf0(0x1f0))](_0x144f7d)[_0x25bbf0(0x21c)](_0x569e54)[_0x25bbf0(0x243)](),_0x6d4b0e=new _0x42ac73[(_0x25bbf0(0x22b))]('collab-text-range-'+(0x0,_0x1e96bc['generateRandomId'])(0x6),{'pointsGroup':_0x2a87fc,'fill':_0x5b55a4||(0x0,_0x42ac73[_0x25bbf0(0x3c4)])(_0x1e96bc[_0x25bbf0(0x3e2)][_0x25bbf0(0x292)],_0x569e54),'left':_0x1f0678,'top':_0x9d8996,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x25bbf0(0x1a5)][_0x25bbf0(0x3ec)](_0x6d4b0e),this[_0x25bbf0(0x285)]['addObject'](_0x6d4b0e,_0xe88835[_0x25bbf0(0x2be)]);}[_0x29b412(0x1d3)](_0x49ddf5,_0x4ed521,_0x2d84bb,_0x1b4bd2){const _0x46a778=_0x29b412;let _0x576d43=0.2,_0x58ffca=new _0x1e96bc['ColorKit'](_0x49ddf5)[_0x46a778(0x21c)](_0x576d43)['toRgbString'](),_0x304d10=new _0x42ac73[(_0x46a778(0x22b))]('collab-rect-range-'+(0x0,_0x1e96bc[_0x46a778(0x1f9)])(0x6),{'pointsGroup':_0x4ed521,'fill':_0x58ffca||(0x0,_0x42ac73[_0x46a778(0x3c4)])(_0x1e96bc['COLORS'][_0x46a778(0x292)],_0x576d43),'left':_0x2d84bb,'top':_0x1b4bd2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46a778(0x1a5)][_0x46a778(0x3ec)](_0x304d10),this[_0x46a778(0x285)][_0x46a778(0x368)](_0x304d10,_0xe88835[_0x46a778(0x2be)]);}[_0x29b412(0x18f)](_0x260ef0){let _0x18995f=_0x260ef0[0x0],_0x3ebb6c=_0x18995f[0x0],_0x453a64=_0x18995f[0x2],{x:_0x5b0007,y:_0x5ca8f5}=_0x3ebb6c,{x:_0x139fdc,y:_0x5ed55d}=_0x453a64;return{'left':_0x5b0007,'top':_0x5ca8f5,'width':_0x139fdc-_0x5b0007,'height':_0x5ed55d-_0x5ca8f5};}[_0x29b412(0x3fe)](){const _0x3f8056=_0x29b412;let {scaleX:_0x2f7130,scaleY:_0x4af46b}=this[_0x3f8056(0x285)][_0x3f8056(0x347)]();return Math[_0x3f8056(0x44a)](_0x2f7130,_0x4af46b);}};let _0x303d04=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(_0xb6fa4f,_0x577c32,_0x12ed0c,_0x2ec7a3,_0x53035c){const _0x216722=_0x29b412;super(),this[_0x216722(0x158)]=_0xb6fa4f,this['_docSkeletonManagerService']=_0x577c32,this[_0x216722(0x21b)]=_0x12ed0c,this['_commandService']=_0x2ec7a3,this[_0x216722(0x33f)]=_0x53035c,_0x4878f2(this,_0x216722(0x392),[]),_0x4878f2(this,_0x216722(0x19d),[]),this['_init']();}['_init'](){const _0x3276eb=_0x29b412;let _0x967496=this[_0x3276eb(0x158)][_0x3276eb(0x378)],_0x5e1999=this['_docSkeletonManagerService'];this[_0x3276eb(0x434)]((0x0,_0x25f103[_0x3276eb(0x19c)])([this[_0x3276eb(0x21b)]['getCollabCursors$'](_0x967496),this[_0x3276eb(0x33f)][_0x3276eb(0x17c)]])[_0x3276eb(0x23c)]((0x0,_0x23c12b[_0x3276eb(0x403)])(([_0x3a07df,_0x588ddf])=>({'skeleton':_0x5e1999[_0x3276eb(0x219)](),'cursors':[..._0x3a07df['values']()][_0x3276eb(0x1c2)](_0x64ae73=>({..._0x64ae73,'color':this[_0x3276eb(0x33f)]['getColorFromTheme'](_0x64ae73[_0x3276eb(0x44c)])}))})))[_0x3276eb(0x2ca)](_0x223dac=>{const _0x121d33=_0x3276eb;if(this[_0x121d33(0x384)](),_0x223dac){let {skeleton:_0x215f8d,cursors:_0x58ec81}=_0x223dac;this[_0x121d33(0x192)](_0x215f8d,_0x58ec81);}})),this[_0x3276eb(0x1c9)](),this[_0x3276eb(0x390)]();}[_0x29b412(0x192)](_0x1139f4,_0x4eaa26){const _0x1dfdc3=_0x29b412;let {scene:_0x1153a5,mainComponent:_0x428efa}=this[_0x1dfdc3(0x158)];this[_0x1dfdc3(0x392)]=_0x4eaa26[_0x1dfdc3(0x403)](_0x338d8d=>new _0x3c104f(_0x338d8d,_0x1153a5,_0x1139f4,_0x428efa)),this[_0x1dfdc3(0x19d)]=_0x4eaa26;}[_0x29b412(0x222)](){const _0x50893a=_0x29b412;this[_0x50893a(0x384)]();let {scene:_0x17ba28,mainComponent:_0x9a0bea}=this[_0x50893a(0x158)],_0x5a023e=this[_0x50893a(0x2fd)][_0x50893a(0x219)]();this['_cursorShapes']=this[_0x50893a(0x19d)][_0x50893a(0x403)](_0x26d2ed=>new _0x3c104f(_0x26d2ed,_0x17ba28,_0x5a023e,_0x9a0bea));}[_0x29b412(0x384)](){const _0x54ec8e=_0x29b412;this[_0x54ec8e(0x392)][_0x54ec8e(0x312)](_0x111c54=>_0x111c54[_0x54ec8e(0x1e7)]()),this[_0x54ec8e(0x392)]=[];}[_0x29b412(0x390)](){const _0x1c2f27=_0x29b412;let _0x37de48=[_0xe88835[_0x1c2f27(0x3c8)]['id']];this[_0x1c2f27(0x434)](this[_0x1c2f27(0x1e4)]['onCommandExecuted'](_0x43efd4=>{const _0x9922ac=_0x1c2f27;_0x37de48['includes'](_0x43efd4['id'])&&_0x43efd4[_0x9922ac(0x431)][_0x9922ac(0x378)]===this['_context'][_0x9922ac(0x378)]&&this[_0x9922ac(0x222)]();}));}[_0x29b412(0x1c9)](){const _0x19184c=_0x29b412;this[_0x19184c(0x434)]((0x0,_0x1e96bc[_0x19184c(0x30d)])(this['_context'][_0x19184c(0x404)][_0x19184c(0x21a)])[_0x19184c(0x23c)]((0x0,_0x23c12b[_0x19184c(0x442)])(_0x1a163c=>_0x1a163c[_0x19184c(0x2f8)]===_0x42ac73[_0x19184c(0x43d)]['resize']),(0x0,_0x23c12b[_0x19184c(0x3b6)])(0x10))['subscribe'](()=>{const _0x44e63a=_0x19184c;this[_0x44e63a(0x222)]();}));}};_0x303d04=_0x1c9c51([_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x3aacdf[_0x29b412(0x237)])),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x396377)),_0x19fee6(0x3,_0x1e96bc['ICommandService']),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['ThemeService']))],_0x303d04);var _0x5a9d20=class extends _0x42ac73[_0x29b412(0x3ef)]{constructor(_0x54cf87,_0x4b9cc0){const _0x22930c=_0x29b412;if(super(_0x54cf87,_0x4b9cc0),_0x4878f2(this,_0x22930c(0x328),void 0x0),_0x4878f2(this,_0x22930c(0x25d),!0x1),_0x4878f2(this,_0x22930c(0x40a),void 0x0),_0x4878f2(this,'_name',''),_0x4878f2(this,'_labelPosition',_0x22930c(0x3b9)),_0x4878f2(this,_0x22930c(0x315),void 0x0),_0x4878f2(this,'_showText',void 0x0),_0x4878f2(this,_0x22930c(0x3f7),void 0x0),_0x4878f2(this,_0x22930c(0x1fa),0x4),_0x4878f2(this,'_blinkTimer',void 0x0),_0x4878f2(this,_0x22930c(0x334),void 0x0),_0x4878f2(this,_0x22930c(0x206),!0x0),_0x4878f2(this,_0x22930c(0x205),0x0),_0x4b9cc0){var _0x26b316;if(this['setShapeProps'](_0x4b9cc0),_0x4b9cc0['highlight']&&((_0x26b316=_0x4b9cc0[_0x22930c(0x353)])==null?this[_0x22930c(0x1fa)]:_0x26b316)){var _0x24bf9e;this[_0x22930c(0x210)]((_0x24bf9e=_0x4b9cc0['highlightSecond'])==null?this[_0x22930c(0x1fa)]:_0x24bf9e);}}this['onPointerEnter$'][_0x22930c(0x31a)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x22930c(0x254)][_0x22930c(0x31a)](()=>this[_0x22930c(0x1ad)]({'hovered':!0x1}));}['setOffsetY'](_0x3819ec){this['_offsetY']=_0x3819ec;}[_0x29b412(0x1ad)](_0x553c51){const _0x2f2d41=_0x29b412;var _0x54e9ad,_0x4f590e,_0x2588d4,_0x49801a,_0x3c3b02,_0x2fcedf,_0x23832b;this['_color']=(_0x54e9ad=_0x553c51['color'])==null?this[_0x2f2d41(0x328)]:_0x54e9ad,this[_0x2f2d41(0x25d)]=(_0x4f590e=_0x553c51['hovered'])==null?this[_0x2f2d41(0x25d)]:_0x4f590e,this['_range']=(_0x2588d4=_0x553c51[_0x2f2d41(0x233)])==null?this[_0x2f2d41(0x40a)]:_0x2588d4,this[_0x2f2d41(0x3ce)]=(_0x49801a=_0x553c51[_0x2f2d41(0x298)])==null?this[_0x2f2d41(0x3ce)]:_0x49801a,this[_0x2f2d41(0x241)]=(_0x3c3b02=_0x553c51[_0x2f2d41(0x22d)])==null?this[_0x2f2d41(0x241)]:_0x3c3b02,this[_0x2f2d41(0x315)]=(_0x2fcedf=_0x553c51[_0x2f2d41(0x266)])==null?this[_0x2f2d41(0x315)]:_0x2fcedf,this[_0x2f2d41(0x453)]=(_0x23832b=_0x553c51['showText'])==null?this[_0x2f2d41(0x453)]:_0x23832b,_0x553c51[_0x2f2d41(0x353)]!==void 0x0&&(this['_highlightSecond']=_0x553c51['highlightSecond']),_0x553c51[_0x2f2d41(0x224)]!==void 0x0&&(this[_0x2f2d41(0x3f7)]=_0x553c51[_0x2f2d41(0x224)]),_0x553c51[_0x2f2d41(0x198)]!==void 0x0&&(this[_0x2f2d41(0x205)]=_0x553c51[_0x2f2d41(0x198)]),this[_0x2f2d41(0x3bb)]({'width':_0x553c51[_0x2f2d41(0x2ae)],'height':_0x553c51[_0x2f2d41(0x31b)]});}[_0x29b412(0x27f)](_0x54a6e2){const _0x33dc15=_0x29b412;let {row:_0x5b847e,column:_0x3a136b}=_0x54a6e2;if(_0x5b847e>=this[_0x33dc15(0x40a)][_0x33dc15(0x387)]&&_0x5b847e<=this[_0x33dc15(0x40a)][_0x33dc15(0x380)]&&_0x3a136b>=this[_0x33dc15(0x40a)][_0x33dc15(0x247)]&&_0x3a136b<=this[_0x33dc15(0x40a)][_0x33dc15(0x42e)]){this[_0x33dc15(0x1ad)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x29b412(0x210)](_0x5af236){const _0x45ba80=_0x29b412;this['_stopBlinking'](),this[_0x45ba80(0x206)]=!0x0,this['_blinkIntervalTimer']=window[_0x45ba80(0x19a)](()=>{const _0x35bf36=_0x45ba80;this[_0x35bf36(0x206)]=!this[_0x35bf36(0x206)],this[_0x35bf36(0x2f5)](!0x0);},0x1f4),this[_0x45ba80(0x410)]=window[_0x45ba80(0x20a)](()=>{const _0x34582d=_0x45ba80;this['_stopBlinking'](),this[_0x34582d(0x206)]=!0x0,this['makeDirty'](!0x0);},_0x5af236*0x3e8);}['_stopBlinking'](){const _0x14466e=_0x29b412;this[_0x14466e(0x334)]&&(window['clearInterval'](this[_0x14466e(0x334)]),this[_0x14466e(0x334)]=void 0x0),this[_0x14466e(0x410)]&&(window['clearTimeout'](this[_0x14466e(0x410)]),this[_0x14466e(0x410)]=void 0x0);}['triggerDblclick'](_0x27c910){return!0x1;}[_0x29b412(0x1e7)](){const _0x37abc2=_0x29b412;this[_0x37abc2(0x2cb)](),super[_0x37abc2(0x1e7)]();}[_0x29b412(0x2a8)](_0x7156f6){const _0x17cf1c=_0x29b412;var _0xfe7e54;let _0xedb8ef=this[_0x17cf1c(0x328)],_0x4d95ef=this['_backgroundColor'];if(this['_highlight']&&!this[_0x17cf1c(0x206)]&&(_0xedb8ef=this['_getLighterColor'](this[_0x17cf1c(0x328)]),_0x4d95ef=this[_0x17cf1c(0x315)]?this[_0x17cf1c(0x3d3)](this[_0x17cf1c(0x315)]):void 0x0),_0x42ac73['Rect'][_0x17cf1c(0x190)](_0x7156f6,{'width':this['width'],'height':this[_0x17cf1c(0x31b)],'strokeWidth':(_0xfe7e54=this[_0x17cf1c(0x29b)])==null?1.5:_0xfe7e54,'stroke':_0xedb8ef,'evented':!0x1,'fill':_0x4d95ef}),this[_0x17cf1c(0x25d)]||this[_0x17cf1c(0x453)]){var _0x4f7871;_0x7156f6[_0x17cf1c(0x166)](),_0x7156f6[_0x17cf1c(0x43b)](0x1,0x0,0x0,0x1,this[_0x17cf1c(0x2ae)],(this[_0x17cf1c(0x241)]===_0x17cf1c(0x1b8)?0x0:-0x14)+((_0x4f7871=this[_0x17cf1c(0x205)])==null?0x0:_0x4f7871)),_0x3fff7c['drawWith'](_0x7156f6,{'text':this[_0x17cf1c(0x3ce)],'color':_0xedb8ef}),_0x7156f6[_0x17cf1c(0x3c1)]();}}['_getLighterColor'](_0x5de18a){const _0x2fef3a=_0x29b412;return _0x5de18a['startsWith']('#')?_0x2fef3a(0x2cc)+Number[_0x2fef3a(0x391)](_0x5de18a['slice'](0x1,0x3),0x10)+',\x20'+Number[_0x2fef3a(0x391)](_0x5de18a['slice'](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x5de18a['slice'](0x5,0x7),0x10)+_0x2fef3a(0x1fc):_0x5de18a[_0x2fef3a(0x220)]('rgba')?_0x5de18a['replace'](/[\d.]+\)$/g,'0.2)'):_0x5de18a[_0x2fef3a(0x220)](_0x2fef3a(0x3ee))?_0x5de18a['replace']('rgb','rgba')[_0x2fef3a(0x26c)](')',',\x200.2)'):_0x5de18a;}};let _0x1225ba=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(_0x280019,_0x4ae9c4,_0x55a63c,_0x16abca){const _0x2b4a5d=_0x29b412;super(),this[_0x2b4a5d(0x158)]=_0x280019,this['_sheetSkeletonManagerService']=_0x4ae9c4,this[_0x2b4a5d(0x21b)]=_0x55a63c,this[_0x2b4a5d(0x33f)]=_0x16abca,_0x4878f2(this,_0x2b4a5d(0x19d),new Set()),_0x4878f2(this,_0x2b4a5d(0x2ed),null),this['_init']();}[_0x29b412(0x19b)](){const _0x37900=_0x29b412;this[_0x37900(0x452)][_0x37900(0x24e)][_0x37900(0x23c)]((0x0,_0x23c12b['takeUntil'])(this[_0x37900(0x165)]),(0x0,_0x23c12b['switchMap'])(_0x2441b7=>{const _0x2fbb15=_0x37900;if(_0x2441b7){let _0x2fab44=_0x2441b7['sheetId'];return(0x0,_0x25f103['combineLatest'])(this['_collabCursorController']['getCollabCursors$'](this[_0x2fbb15(0x158)][_0x2fbb15(0x378)]),this['_themeService'][_0x2fbb15(0x17c)])[_0x2fbb15(0x23c)]((0x0,_0x23c12b[_0x2fbb15(0x403)])(([_0x3ddb70,_0x507668])=>{const _0x3b9bcd=_0x2fbb15;let _0x10b45e=new Map();return _0x3ddb70[_0x3b9bcd(0x312)]((_0x354aab,_0x59ef74)=>{const _0x517c64=_0x3b9bcd;if(_0x354aab[_0x517c64(0x2d5)]===_0x2fab44){let _0x149bfb={..._0x354aab};_0x149bfb[_0x517c64(0x44c)]=this[_0x517c64(0x33f)][_0x517c64(0x3ea)](_0x354aab[_0x517c64(0x44c)]),_0x10b45e[_0x517c64(0x1dc)](_0x59ef74,_0x149bfb);}}),{'skeleton':_0x2441b7,'cursors':_0x10b45e};}));}return(0x0,_0x25f103['of'])({'skeleton':null,'cursors':new Map()});}))[_0x37900(0x2ca)](({skeleton:_0x4447d7,cursors:_0x33ce2d})=>{const _0x5f4f7e=_0x37900;this[_0x5f4f7e(0x384)](),_0x4447d7&&this[_0x5f4f7e(0x192)](_0x4447d7,_0x33ce2d);}),this['_sheetSkeletonManagerService'][_0x37900(0x24e)][_0x37900(0x2ca)](_0x38dd71=>{const _0x5cd98a=_0x37900;if(_0x38dd71==null)return;let {skeleton:_0x43a147}=_0x38dd71,{scene:_0x43804f}=this[_0x5cd98a(0x158)];_0x43804f[_0x5cd98a(0x273)]['subscribeEvent']((0x0,_0x1e96bc[_0x5cd98a(0x20e)])(_0x262c7e=>{const _0x57cf73=_0x5cd98a;var _0x3deace,_0x294928;let {offsetX:_0x16973e,offsetY:_0xac43df}=_0x262c7e,{x:_0x2829bc,y:_0x2fa77c}=_0x43804f[_0x57cf73(0x161)](_0x42ac73[_0x57cf73(0x441)][_0x57cf73(0x227)]([_0x16973e,_0xac43df])),{scaleX:_0x236199,scaleY:_0xb60ed7}=_0x43804f['getAncestorScale'](),_0x5a54d3=_0x43804f[_0x57cf73(0x2b2)](_0x42ac73[_0x57cf73(0x362)]['VIEW_MAIN']),_0x12d162=_0x43804f[_0x57cf73(0x262)](_0x42ac73[_0x57cf73(0x441)]['FromArray']([_0x2829bc,_0x2fa77c]),_0x5a54d3),_0xee2662=_0x43a147['getCellPositionByOffset'](_0x16973e,_0xac43df,_0x236199,_0xb60ed7,_0x12d162);((_0x3deace=this[_0x57cf73(0x2ed)])==null?void 0x0:_0x3deace[_0x57cf73(0x41a)])===_0xee2662[_0x57cf73(0x41a)]&&((_0x294928=this[_0x57cf73(0x2ed)])==null?void 0x0:_0x294928[_0x57cf73(0x2b7)])===_0xee2662['row']||this[_0x57cf73(0x19d)][_0x57cf73(0x312)](_0x5f1fae=>{_0x5f1fae['onMouseMove'](_0xee2662);});},0x64));});}[_0x29b412(0x192)](_0x252bf9,_0x5f50ef){const _0x2d9b77=_0x29b412;var _0x275c2c;let _0x24fa72=(_0x275c2c=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x275c2c[_0x2d9b77(0x3ff)];if(!_0x24fa72)return;let _0x831d1=this['_getSheetObject']();if(!_0x831d1)return;this['_cursors']['forEach'](_0x123c77=>{const _0x4129e6=_0x2d9b77;_0x123c77[_0x4129e6(0x2f5)]();});let {scene:_0x16c8cf}=_0x831d1,_0x11b7e1=_0x34efc9(Array[_0x2d9b77(0x30c)](_0x5f50ef[_0x2d9b77(0x253)]()))[_0x2d9b77(0x403)](_0x19ba63=>{const _0x4637d6=_0x2d9b77;let {color:_0xde619e,range:_0x4dd6ad,name:_0x5eef21,selection:_0xd3dbe,sheetID:_0x1b1941}=_0x19ba63,{startColumn:_0x44eec1,startRow:_0xbffd5f,endColumn:_0x140010,endRow:_0x3c7efe}=_0x4dd6ad,_0x3ae7c4=(0x0,_0x1827e1['getCoordByCell'])(_0xbffd5f,_0x44eec1,_0x16c8cf,_0x24fa72),_0x4dae7f=(0x0,_0x1827e1[_0x4637d6(0x34a)])(_0x3c7efe,_0x140010,_0x16c8cf,_0x24fa72),{columnHeaderHeightAndMarginTop:_0x40eb52}=_0x24fa72,{startX:_0x3e8f09,startY:_0x37bf29}=_0x3ae7c4,{endX:_0x25fe8f,endY:_0x55bc3e}=_0x4dae7f,_0x234012=_0x25fe8f-_0x3e8f09,_0x3c8f6a=_0x55bc3e-_0x37bf29;return new _0x5a9d20(_0x5eef21,{'labelPosition':_0x37bf29-_0x40eb52>=0x14?_0x4637d6(0x3b9):_0x4637d6(0x1b8),'sheetID':_0x1b1941,'range':_0x4dd6ad,'color':_0xde619e,'name':_0x5eef21,'selection':_0xd3dbe,'left':_0x3e8f09,'top':_0x37bf29,'width':_0x234012,'height':_0x3c8f6a,'evented':!0x1,'zIndex':0x1389});});_0x16c8cf[_0x2d9b77(0x39a)](_0x11b7e1,0x1),this[_0x2d9b77(0x19d)]=new Set(_0x11b7e1);}[_0x29b412(0x384)](){const _0xf87dd5=_0x29b412;var _0x502ba0;(_0x502ba0=this[_0xf87dd5(0x19d)])==null||_0x502ba0['forEach'](_0x5dee53=>_0x5dee53[_0xf87dd5(0x1e7)]());}[_0x29b412(0x307)](){const _0x3b629f=_0x29b412;return(0x0,_0x1827e1[_0x3b629f(0x437)])(this[_0x3b629f(0x158)][_0x3b629f(0x1bf)],this[_0x3b629f(0x158)]);}};_0x1225ba=_0x1c9c51([_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1827e1['SheetSkeletonManagerService'])),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x396377)),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['ThemeService']))],_0x1225ba);function _0x34efc9(_0x5c2079){const _0x44f221=_0x29b412;let _0x3d0516=new Map();return _0x5c2079[_0x44f221(0x312)](_0x52cb44=>{const _0x1598de=_0x44f221;if(_0x3d0516['has'](_0x52cb44['selection'])){let _0x566fa6=_0x3d0516[_0x1598de(0x17b)](_0x52cb44[_0x1598de(0x1bc)]);_0x566fa6[_0x1598de(0x298)]+=',\x20'+_0x52cb44['name'];}else _0x3d0516[_0x1598de(0x1dc)](_0x52cb44[_0x1598de(0x1bc)],_0x52cb44);}),Array['from'](_0x3d0516[_0x44f221(0x253)]());}let _0x3bab23=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x1f67b1,_0x3b2395,_0x50ee3d,_0x23a2ce,_0x53fcdd,_0x768d2e){const _0x1f4954=_0x29b412;super(),this[_0x1f4954(0x1f4)]=_0x1f67b1,this['_localCacheService']=_0x3b2395,this[_0x1f4954(0x316)]=_0x50ee3d,this['_messageService']=_0x23a2ce,this[_0x1f4954(0x173)]=_0x53fcdd,this[_0x1f4954(0x382)]=_0x768d2e,this[_0x1f4954(0x36d)](),this[_0x1f4954(0x204)]();}[_0x29b412(0x36d)](){const _0x55a557=_0x29b412;this['disposeWithMe'](this[_0x55a557(0x1f4)]['registerBeforeClose'](()=>{const _0xa6e3b2=_0x55a557;if(this[_0xa6e3b2(0x3fd)][_0xa6e3b2(0x425)][_0xa6e3b2(0x2e1)])return this[_0xa6e3b2(0x382)]['t'](_0xa6e3b2(0x448));}));}[_0x29b412(0x204)](){const _0x2137d4=_0x29b412;this[_0x2137d4(0x434)](this[_0x2137d4(0x316)][_0x2137d4(0x420)][_0x2137d4(0x2ca)](_0x56320e=>{const _0x2ed3c6=_0x2137d4;_0x56320e['id']===_0x18e88d['CollaborationUIEventId'][_0x2ed3c6(0x218)]&&this['_messageService'][_0x2ed3c6(0x450)]({'type':_0x12bd8e[_0x2ed3c6(0x1b2)]['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)]['CLOSE_ROOM']&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e[_0x2ed3c6(0x1b2)][_0x2ed3c6(0x33a)],'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x45f))}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)][_0x2ed3c6(0x459)]&&this[_0x2ed3c6(0x173)][_0x2ed3c6(0x450)]({'title':this['_localeService']['t'](_0x2ed3c6(0x288)),'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x1e6)),'type':_0x2ed3c6(0x1cf),'duration':0x0}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)]['CONFLICT']&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e['MessageType'][_0x2ed3c6(0x369)],'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x45f))+'('+_0x56320e[_0x2ed3c6(0x2c4)]+')'}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)][_0x2ed3c6(0x3a3)]&&this[_0x2ed3c6(0x2d3)]['show']({'type':_0x12bd8e[_0x2ed3c6(0x1b2)][_0x2ed3c6(0x33a)],'content':this[_0x2ed3c6(0x382)]['t'](_0x56320e['data']||'')}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)][_0x2ed3c6(0x42f)]&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e[_0x2ed3c6(0x1b2)][_0x2ed3c6(0x33a)],'content':this['_localeService']['t'](_0x2ed3c6(0x3ab))}),_0x56320e['id']===_0x18e88d['CollaborationUIEventId'][_0x2ed3c6(0x1d6)]&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e[_0x2ed3c6(0x1b2)][_0x2ed3c6(0x369)],'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x2d7))}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)][_0x2ed3c6(0x215)]&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e['MessageType'][_0x2ed3c6(0x369)],'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x3cf))});}));}};_0x3bab23=_0x1c9c51([_0x19fee6(0x0,_0x163a5f['IBeforeCloseService']),_0x19fee6(0x1,_0x18e88d[_0x29b412(0x2ec)]),_0x19fee6(0x2,(0x0,_0x1e96bc['Inject'])(_0x18e88d[_0x29b412(0x375)])),_0x19fee6(0x3,_0x163a5f[_0x29b412(0x268)]),_0x19fee6(0x4,_0x163a5f['INotificationService']),_0x19fee6(0x5,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['LocaleService']))],_0x3bab23);let _0x2eef91=_0x29b412(0x2b3);Symbol(_0x2eef91);let _0x26ee57={},_0x548b99=class{constructor(_0x5c0f6f,_0x4c0c18){const _0x206685=_0x29b412;this[_0x206685(0x446)]=_0x5c0f6f,this[_0x206685(0x16e)]=_0x4c0c18;}['transformIMECache'](_0x3f3774){this['_transformUndoRedoStack'](_0x3f3774),this['_transformPreviousActiveRange'](_0x3f3774);}['transformRemoteChangeset'](_0x3557f2){const _0x1756aa=_0x29b412;let {unitID:_0x4982c8}=_0x3557f2,{redoCache:_0xd45036}=this[_0x1756aa(0x16e)][_0x1756aa(0x156)](_0x4982c8)[_0x1756aa(0x3a6)](_0xe88835['DocIMEInputManagerService'])[_0x1756aa(0x367)]();if(_0xd45036['length']===0x0)return _0x3557f2;let _0x5b2a8c=_0x1e96bc['Tools'][_0x1756aa(0x3a1)](_0x3557f2[_0x1756aa(0x260)][0x0]);for(let _0x464598=0x0;_0x464598<_0xd45036['length'];_0x464598++){let _0x1ab2a4={'id':'doc.mutation.rich-text-editing','params':{..._0xd45036[_0x464598]}},_0x107ece=this[_0x1756aa(0x446)][_0x1756aa(0x255)](_0x5b2a8c,_0x1ab2a4,!0x1);if((0x0,_0x55fb1d[_0x1756aa(0x2ea)])(_0x107ece))throw _0x107ece['error'];_0x5b2a8c=_0x107ece[_0x1756aa(0x296)];}return{..._0x1e96bc['Tools'][_0x1756aa(0x3a1)](_0x3557f2),'mutations':[_0x5b2a8c]};}[_0x29b412(0x194)](_0xcd52f){const _0x43842e=_0x29b412;let {unitID:_0x300dd2}=_0xcd52f,_0x522986=this[_0x43842e(0x16e)][_0x43842e(0x156)](_0x300dd2)['with'](_0xe88835[_0x43842e(0x313)]),{undoCache:_0x35139b,redoCache:_0x5e045e}=_0x522986[_0x43842e(0x367)]();if(_0x35139b[_0x43842e(0x1b7)]===0x0||_0x5e045e[_0x43842e(0x1b7)]===0x0)return;let _0x21a3c1=[],_0x36bb23=[],_0x28cc20=_0x1e96bc['Tools'][_0x43842e(0x3a1)](_0xcd52f[_0x43842e(0x260)][0x0]),_0x3cd184=_0x1e96bc[_0x43842e(0x287)][_0x43842e(0x3a1)](_0xcd52f[_0x43842e(0x260)][0x0]);for(let _0x593943=_0x35139b[_0x43842e(0x1b7)]-0x1;_0x593943>=0x0;_0x593943--){let _0x389f50={'id':_0x43842e(0x3ac),'params':{..._0x35139b[_0x593943]}},_0xdff7fa={'id':_0x43842e(0x3ac),'params':{..._0x5e045e[_0x593943]}},_0x2eebe5=this[_0x43842e(0x446)]['transformMutation'](_0x28cc20,_0x389f50,!0x1),_0x141a86=this[_0x43842e(0x446)][_0x43842e(0x255)](_0x3cd184,_0xdff7fa,!0x1);if((0x0,_0x55fb1d[_0x43842e(0x2ea)])(_0x2eebe5))throw _0x2eebe5['error'];if((0x0,_0x55fb1d[_0x43842e(0x2ea)])(_0x141a86))throw _0x141a86[_0x43842e(0x1cf)];_0x21a3c1[_0x43842e(0x2e5)](_0x2eebe5[_0x43842e(0x447)][_0x43842e(0x431)]),_0x36bb23[_0x43842e(0x2e5)](_0x141a86['m2Prime'][_0x43842e(0x431)]),_0x28cc20=_0x2eebe5[_0x43842e(0x296)],_0x3cd184=_0x141a86[_0x43842e(0x296)];}_0x522986[_0x43842e(0x1ea)]({'undoCache':_0x21a3c1,'redoCache':_0x36bb23});}[_0x29b412(0x2e2)](_0x374880){const _0xc91c10=_0x29b412;let {unitID:_0x5db3ef}=_0x374880,_0x6c6cea=this[_0xc91c10(0x16e)]['getRenderById'](_0x5db3ef)[_0xc91c10(0x3a6)](_0xe88835['DocIMEInputManagerService']),_0xd1974e=_0x6c6cea[_0xc91c10(0x3da)]();if(_0xd1974e==null)return;let _0x219571=[{'id':_0xc91c10(0x3ac),'params':{'unitId':_0x374880[_0xc91c10(0x180)],'actions':null,'textRanges':[_0xd1974e]}}],_0xee3601=this[_0xc91c10(0x446)][_0xc91c10(0x39e)](_0x374880,_0x219571);if(!(0x0,_0x55fb1d[_0xc91c10(0x3be)])(_0xee3601))throw _0xee3601[_0xc91c10(0x1cf)];let _0x1802f0=_0xee3601[_0xc91c10(0x447)][0x0][_0xc91c10(0x431)][_0xc91c10(0x3f9)];Array['isArray'](_0x1802f0)&&_0x1802f0[_0xc91c10(0x1b7)]&&_0x6c6cea[_0xc91c10(0x22c)](_0x1802f0[0x0]);}};_0x548b99=_0x1c9c51([_0x19fee6(0x0,_0x55fb1d['ITransformService']),_0x19fee6(0x1,_0x42ac73['IRenderManagerService'])],_0x548b99);let _0x164d7f=class{constructor(_0x53301a,_0x3d105d,_0x2557eb){const _0x4b46dc=_0x29b412;this[_0x4b46dc(0x21f)]=_0x53301a,this[_0x4b46dc(0x446)]=_0x3d105d,this['_docStateChangeManagerService']=_0x2557eb;}[_0x29b412(0x189)](_0x1a32d8){const _0x178831=_0x29b412;this[_0x178831(0x3aa)](_0x1a32d8);}[_0x29b412(0x244)](_0x19a8e4){const _0x2b34a3=_0x29b412;let {unitID:_0x37b09b}=_0x19a8e4,{collaboration:_0x41487d}=this[_0x2b34a3(0x33c)][_0x2b34a3(0x39d)](_0x37b09b);if(_0x41487d[_0x2b34a3(0x1b7)]===0x0)return _0x19a8e4;let _0x429cf7=_0x1e96bc[_0x2b34a3(0x287)][_0x2b34a3(0x3a1)](_0x19a8e4[_0x2b34a3(0x260)][0x0]);for(let _0x127a18=0x0;_0x127a18<_0x41487d[_0x2b34a3(0x1b7)];_0x127a18++){let _0x40e553={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x41487d[_0x127a18][_0x2b34a3(0x378)],..._0x41487d[_0x127a18][_0x2b34a3(0x274)]}},_0x48279a=this[_0x2b34a3(0x446)][_0x2b34a3(0x255)](_0x429cf7,_0x40e553,!0x1);if((0x0,_0x55fb1d['isTransformMutationFailure'])(_0x48279a))throw _0x48279a['error'];_0x429cf7=_0x48279a[_0x2b34a3(0x296)];}return{..._0x1e96bc[_0x2b34a3(0x287)]['deepClone'](_0x19a8e4),'mutations':[_0x429cf7]};}[_0x29b412(0x3aa)](_0x58de53){const _0x3c6e61=_0x29b412;let {unitID:_0x42f58e}=_0x58de53,{history:_0x2e3dcc,collaboration:_0x2080f5}=this[_0x3c6e61(0x33c)][_0x3c6e61(0x39d)](_0x42f58e);if(_0x2e3dcc['length']===0x0&&_0x2080f5['length']===0x0)return;let _0x57d63f=[],_0x11f026=[],_0x4708c0=_0x1e96bc['Tools'][_0x3c6e61(0x3a1)](_0x58de53[_0x3c6e61(0x260)][0x0]),_0x72e56=_0x1e96bc['Tools'][_0x3c6e61(0x3a1)](_0x58de53[_0x3c6e61(0x260)][0x0]);for(let _0x2df32e=_0x2e3dcc['length']-0x1;_0x2df32e>=0x0;_0x2df32e--){let _0x261747={'id':_0x3c6e61(0x3ac),'params':{'unitId':_0x2e3dcc[_0x2df32e][_0x3c6e61(0x378)],..._0x2e3dcc[_0x2df32e][_0x3c6e61(0x34d)]}},_0x5a129b={'id':_0x3c6e61(0x3ac),'params':{'unitId':_0x2e3dcc[_0x2df32e][_0x3c6e61(0x378)],..._0x2e3dcc[_0x2df32e][_0x3c6e61(0x274)]}},_0x8fe57c=this[_0x3c6e61(0x446)][_0x3c6e61(0x255)](_0x4708c0,_0x261747,!0x1),_0x5a0ce1=this[_0x3c6e61(0x446)][_0x3c6e61(0x255)](_0x72e56,_0x5a129b,!0x1);if((0x0,_0x55fb1d[_0x3c6e61(0x2ea)])(_0x8fe57c))throw _0x8fe57c['error'];if((0x0,_0x55fb1d[_0x3c6e61(0x2ea)])(_0x5a0ce1))throw _0x5a0ce1[_0x3c6e61(0x1cf)];_0x57d63f[_0x3c6e61(0x2e5)]({..._0x2e3dcc[_0x2df32e],'undoState':_0x8fe57c['m2Prime'][_0x3c6e61(0x431)],'redoState':_0x5a0ce1[_0x3c6e61(0x447)][_0x3c6e61(0x431)]}),_0x4708c0=_0x8fe57c[_0x3c6e61(0x296)],_0x72e56=_0x5a0ce1[_0x3c6e61(0x296)];}_0x4708c0=_0x1e96bc[_0x3c6e61(0x287)][_0x3c6e61(0x3a1)](_0x58de53['mutations'][0x0]),_0x72e56=_0x1e96bc[_0x3c6e61(0x287)][_0x3c6e61(0x3a1)](_0x58de53[_0x3c6e61(0x260)][0x0]);for(let _0x373075=_0x2080f5[_0x3c6e61(0x1b7)]-0x1;_0x373075>=0x0;_0x373075--){let _0x354494={'id':_0x3c6e61(0x3ac),'params':{'unitId':_0x2080f5[_0x373075][_0x3c6e61(0x378)],..._0x2080f5[_0x373075][_0x3c6e61(0x34d)]}},_0x3de5c4={'id':_0x3c6e61(0x3ac),'params':{'unitId':_0x2080f5[_0x373075][_0x3c6e61(0x378)],..._0x2080f5[_0x373075][_0x3c6e61(0x274)]}},_0x1ee72a=this['_transformService'][_0x3c6e61(0x255)](_0x4708c0,_0x354494,!0x1),_0x3c54d5=this['_transformService'][_0x3c6e61(0x255)](_0x72e56,_0x3de5c4,!0x1);if((0x0,_0x55fb1d[_0x3c6e61(0x2ea)])(_0x1ee72a))throw _0x1ee72a['error'];if((0x0,_0x55fb1d[_0x3c6e61(0x2ea)])(_0x3c54d5))throw _0x3c54d5['error'];_0x11f026[_0x3c6e61(0x2e5)]({..._0x2080f5[_0x373075],'undoState':_0x1ee72a[_0x3c6e61(0x447)][_0x3c6e61(0x431)],'redoState':_0x3c54d5['m2Prime'][_0x3c6e61(0x431)]}),_0x4708c0=_0x1ee72a[_0x3c6e61(0x296)],_0x72e56=_0x3c54d5[_0x3c6e61(0x296)];}this[_0x3c6e61(0x33c)][_0x3c6e61(0x2a1)](_0x42f58e,{'history':_0x57d63f,'collaboration':_0x11f026});}};_0x164d7f=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc['Inject'])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x1,_0x55fb1d[_0x29b412(0x42a)]),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe88835[_0x29b412(0x343)]))],_0x164d7f);let _0x12c66b=class{constructor(_0x59aac9,_0x35b233){this['_injector']=_0x59aac9,this['_transformService']=_0x35b233;}[_0x29b412(0x157)](_0xc2d487){const _0x224304=_0x29b412;var _0x46cedf;let _0x3a1b48=this[_0x224304(0x21f)]['get'](_0x3aacdf[_0x224304(0x3d8)]),_0x4f801a=(_0x46cedf=_0x3a1b48['getDocRanges']())==null?[]:_0x46cedf;if(_0x4f801a['length']===0x0)return;let _0x17d2a2=_0xc2d487['unitID'],_0x4748c0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x17d2a2,'actions':null,'textRanges':_0x4f801a}}],_0x731f18=this['_transformService'][_0x224304(0x39e)](_0xc2d487,_0x4748c0);if(!(0x0,_0x55fb1d['isTransformMutationsWithChangesetSuccess'])(_0x731f18))throw _0x731f18[_0x224304(0x1cf)];let _0x2ccf82=_0x731f18[_0x224304(0x447)][0x0]['params']['textRanges'];Array[_0x224304(0x41c)](_0x2ccf82)&&_0x2ccf82[_0x224304(0x1b7)]&&_0x3a1b48[_0x224304(0x185)](_0x2ccf82,{'unitId':_0x17d2a2,'subUnitId':_0x17d2a2},!0x1);}};_0x12c66b=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x1,_0x55fb1d[_0x29b412(0x42a)])],_0x12c66b);let _0xfbf66=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x1a1108,_0x19c535,_0x7d0ae,_0x2d5a7a,_0x2acf7f,_0x253193,_0x95f8e3,_0x5486d7){const _0x4b8c70=_0x29b412;super(),this[_0x4b8c70(0x33c)]=_0x1a1108,this[_0x4b8c70(0x27e)]=_0x19c535,this['_docTransformIMECacheService']=_0x7d0ae,this[_0x4b8c70(0x275)]=_0x2d5a7a,this[_0x4b8c70(0x28c)]=_0x2acf7f,this['_docSyncEditingCollabCursorService']=_0x253193,this['_messageService']=_0x95f8e3,this[_0x4b8c70(0x382)]=_0x5486d7,_0x4878f2(this,_0x4b8c70(0x1f6),new _0x25f103[(_0x4b8c70(0x177))](_0x18e88d[_0x4b8c70(0x22f)][_0x4b8c70(0x19f)])),this[_0x4b8c70(0x228)]();}[_0x29b412(0x228)](){const _0x453f06=_0x29b412;this[_0x453f06(0x434)](this[_0x453f06(0x27e)][_0x453f06(0x1bb)]['subscribe'](_0x2b8c18=>{const _0x492894=_0x453f06;let _0x384535=this[_0x492894(0x33c)][_0x492894(0x1ac)][_0x492894(0x2ca)](_0x3a5f9d=>{const _0x3d25f1=_0x492894;if(_0x3a5f9d==null)return;let {unitId:_0x52640f,redoState:_0x55d963,commandId:_0x26572d}=_0x3a5f9d;if(_0x52640f!==_0x2b8c18[_0x3d25f1(0x180)])return;let _0x5052ef={'id':_0x26572d,'type':_0x1e96bc[_0x3d25f1(0x2a7)][_0x3d25f1(0x44d)],'params':{'unitId':_0x52640f,'actions':_0x55d963[_0x3d25f1(0x376)],'textRanges':null}};_0x2b8c18[_0x3d25f1(0x428)](_0x5052ef);});_0x2b8c18['disposeWithMe'](_0x384535),_0x2b8c18 instanceof _0x18e88d[_0x492894(0x2ab)]&&_0x2b8c18[_0x492894(0x15a)]({'onTransformIME':_0x31a927=>this['_docTransformIMECacheService'][_0x492894(0x264)](_0x31a927),'onTransformState':_0x1dc330=>this[_0x492894(0x275)][_0x492894(0x189)](_0x1dc330),'onTransformSelections':_0x1a5a9a=>this[_0x492894(0x28c)][_0x492894(0x157)](_0x1a5a9a),'onSyncEditingCollabCursor':_0x3d86bf=>this[_0x492894(0x333)][_0x492894(0x30e)](_0x3d86bf),'onTransformRemoteChangesetByIMECache':_0x32589b=>this[_0x492894(0x37c)][_0x492894(0x244)](_0x32589b),'onTransformRemoteChangesetByStateCache':_0x589e44=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x589e44)});}));}};_0xfbf66=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc['Inject'])(_0xe88835[_0x29b412(0x343)])),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d['CollaborationController'])),_0x19fee6(0x2,(0x0,_0x1e96bc['Inject'])(_0x548b99)),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x164d7f)),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x12c66b)),_0x19fee6(0x5,(0x0,_0x1e96bc['Inject'])(_0x54c1c7)),_0x19fee6(0x6,_0x163a5f[_0x29b412(0x268)]),_0x19fee6(0x7,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['LocaleService']))],_0xfbf66);let _0x50b38e=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x524dfd,_0x933d4f,_0x5a0fc0,_0x544a99){const _0x3d9e12=_0x29b412;super(),this['_injector']=_0x524dfd,this[_0x3d9e12(0x20f)]=_0x933d4f,this[_0x3d9e12(0x3d0)]=_0x5a0fc0,this[_0x3d9e12(0x318)]=_0x544a99,_0x4878f2(this,_0x3d9e12(0x458),void 0x0),this[_0x3d9e12(0x19b)]();}[_0x29b412(0x19b)](){const _0x4d819b=_0x29b412;this[_0x4d819b(0x2a0)](),this[_0x4d819b(0x359)](),this[_0x4d819b(0x19e)](),this['_initUserListener']();}[_0x29b412(0x418)](){const _0x59f18a=_0x29b412;this['disposeWithMe'](this[_0x59f18a(0x318)]['socket$'][_0x59f18a(0x2ca)](_0xdd83e7=>{const _0x5d2f96=_0x59f18a;this[_0x5d2f96(0x458)]=_0xdd83e7==null?void 0x0:_0xdd83e7['memberID'];}));}[_0x29b412(0x2a0)](){const _0x5681de=_0x29b412;let _0x4569b9=_0x3d7c0e=>{const _0x5f2397=_0x1f09;var _0x2803cf;this[_0x5f2397(0x3d4)](_0x5f2397(0x1cf),_0x5f2397(0x24b)+_0x3d7c0e[_0x5f2397(0x217)]+'\x20at\x20'+_0x3d7c0e[_0x5f2397(0x440)]+':'+_0x3d7c0e['lineno']+':'+_0x3d7c0e['colno']+'\x0a'+(((_0x2803cf=_0x3d7c0e[_0x5f2397(0x1cf)])==null?void 0x0:_0x2803cf[_0x5f2397(0x360)])||''));};window[_0x5681de(0x234)](_0x5681de(0x1cf),_0x4569b9),this[_0x5681de(0x434)](()=>{const _0x489062=_0x5681de;window[_0x489062(0x154)](_0x489062(0x1cf),_0x4569b9);});}[_0x29b412(0x359)](){const _0x52fbff=_0x29b412;let _0xc272d1=_0x10ea62=>{const _0x39bb71=_0x1f09;this['_uploadLog'](_0x39bb71(0x1cf),_0x39bb71(0x3f1)+_0x10ea62[_0x39bb71(0x286)]);};window[_0x52fbff(0x234)]('unhandledrejection',_0xc272d1),this[_0x52fbff(0x434)](()=>{const _0x214f15=_0x52fbff;window[_0x214f15(0x154)](_0x214f15(0x2fa),_0xc272d1);});}[_0x29b412(0x19e)](){const _0x27b805=_0x29b412;let _0x1d6a12=this[_0x27b805(0x3d0)][_0x27b805(0x1cf)][_0x27b805(0x2fb)](this[_0x27b805(0x3d0)]);this[_0x27b805(0x3d0)][_0x27b805(0x1cf)]=(..._0x15125c)=>{const _0x19be7d=_0x27b805;let _0x1e75a4=_0x15125c[_0x19be7d(0x403)](_0x4ae5e9=>_0x4ae5e9 instanceof Error?_0x4ae5e9[_0x19be7d(0x217)]+'\x0a'+_0x4ae5e9['stack']:String(_0x4ae5e9))[_0x19be7d(0x15c)]('\x20');this['_uploadLog'](_0x19be7d(0x1cf),_0x19be7d(0x2dc)+_0x1e75a4),_0x1d6a12(..._0x15125c);},this[_0x27b805(0x434)](()=>{this['_logService']['error']=_0x1d6a12;});}[_0x29b412(0x3d4)](_0x291f91,_0x1d6558){const _0x3e150d=_0x29b412;try{let _0x15f7fb={'userId':this[_0x3e150d(0x458)],'logLabel':_0x291f91,'content':_0x1d6558};this[_0x3e150d(0x20f)][_0x3e150d(0x1a4)](_0x3e150d(0x300),{'body':_0x15f7fb})[_0x3e150d(0x3cd)](()=>{});}catch{}}};_0x50b38e=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc['Inject'])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe453ac[_0x29b412(0x30f)])),_0x19fee6(0x2,_0x1e96bc['ILogService']),_0x19fee6(0x3,(0x0,_0x1e96bc['Inject'])(_0x18e88d['CollaborationSessionService']))],_0x50b38e);let _0x3beb10=function(_0x36bfcf){const _0x3efb7f=_0x29b412;return _0x36bfcf[_0x36bfcf['UNDEFINED']=0x0]=_0x3efb7f(0x203),_0x36bfcf[_0x36bfcf['OK']=0x1]='OK',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1d2)]=0x2]=_0x3efb7f(0x1d2),_0x36bfcf[_0x36bfcf['PERMISSION_DENIED']=0x3]=_0x3efb7f(0x459),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3f3)]=0x4]=_0x3efb7f(0x3f3),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x39b)]=0x5]=_0x3efb7f(0x39b),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2da)]=0x6]=_0x3efb7f(0x2da),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x388)]=0x7]='INVALID_ARGUMENT',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x398)]=0x8]=_0x3efb7f(0x398),_0x36bfcf[_0x36bfcf['COMPLETION_FINISHED']=0x9]=_0x3efb7f(0x36a),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x32b)]=0xa]='LOGIN_FAILED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x379)]=0xb]=_0x3efb7f(0x379),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1cc)]=0xc]=_0x3efb7f(0x1cc),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x439)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x443)]=0xe]=_0x3efb7f(0x443),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1e8)]=0xf]=_0x3efb7f(0x1e8),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x44f)]=0x10]=_0x3efb7f(0x44f),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x214)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x31e)]=0x65]='ERROR_AGAIN',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1a7)]=0xc9]=_0x3efb7f(0x1a7),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x25a)]=0xca]=_0x3efb7f(0x25a),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x248)]=0x1389]=_0x3efb7f(0x248),_0x36bfcf[_0x36bfcf['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3efb7f(0x259),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x38d)]=0x1772]=_0x3efb7f(0x38d),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3e3)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x36bfcf[_0x36bfcf['APPLY_REJECT']=0x1b59]=_0x3efb7f(0x271),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1d0)]=0x1b5a]=_0x3efb7f(0x1d0),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2c1)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2e8)]=0x1b5c]=_0x3efb7f(0x2e8),_0x36bfcf[_0x36bfcf['APPLY_DUPLICATED']=0x1b5d]=_0x3efb7f(0x2b8),_0x36bfcf[_0x36bfcf['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x36bfcf[_0x36bfcf['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3efb7f(0x372),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x16c)]=0x232a]=_0x3efb7f(0x16c),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3cc)]=0x232b]=_0x3efb7f(0x3cc),_0x36bfcf[_0x36bfcf['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3efb7f(0x40b),_0x36bfcf[_0x36bfcf['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3c3)]=0x2711]=_0x3efb7f(0x3c3),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2d0)]=0x2712]=_0x3efb7f(0x2d0),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3a7)]=0x2713]=_0x3efb7f(0x3a7),_0x36bfcf[_0x36bfcf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3efb7f(0x366),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x29a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x35d)]=0x271b]=_0x3efb7f(0x35d),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x27c)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x36bfcf[_0x36bfcf['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3efb7f(0x1e1),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x250)]=0x271e]=_0x3efb7f(0x250),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1d5)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x36bfcf[_0x36bfcf['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3efb7f(0x225),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x423)]=0x2af9]=_0x3efb7f(0x423),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x37b)]=0x2ee1]=_0x3efb7f(0x37b),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2a6)]=0x2ee2]='INVALID_INVITE_CODE',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1eb)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x290)]=0x2ee4]=_0x3efb7f(0x290),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x207)]=0x2ee5]=_0x3efb7f(0x207),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x183)]=0x32c9]=_0x3efb7f(0x183),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x466)]=0x32ca]=_0x3efb7f(0x466),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x30a)]=0x32cb]=_0x3efb7f(0x30a),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x389)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x36bfcf[_0x36bfcf['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x191)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x34b)]=0x36b4]=_0x3efb7f(0x34b),_0x36bfcf[_0x36bfcf['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2f2)]=0x36b6]=_0x3efb7f(0x2f2),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x235)]=0x36b7]=_0x3efb7f(0x235),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2e4)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x36bfcf[_0x36bfcf['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x3efb7f(0x1c3),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3d1)]=0x3716]=_0x3efb7f(0x3d1),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x415)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3d2)]=0x37dd]=_0x3efb7f(0x3d2),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x15f)]=0x3a99]=_0x3efb7f(0x15f),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x413)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3e1)]=0x3a9b]=_0x3efb7f(0x3e1),_0x36bfcf[_0x36bfcf['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x3efb7f(0x464),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2f6)]=0x3a9d]=_0x3efb7f(0x2f6),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x35f)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x17a)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x276)]=0x3e81]=_0x3efb7f(0x276),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x182)]=-0x1]=_0x3efb7f(0x182),_0x36bfcf;}({});function _0x2a8cbb(_0x178484){const _0x2d5bf4=_0x29b412;var _0xbccdf3,_0x4d83e3;let _0x1620e6=(_0xbccdf3=_0x178484[_0x2d5bf4(0x41f)])==null?void 0x0:_0xbccdf3[_0x2d5bf4(0x3b5)],_0x5a9676=((_0x4d83e3=_0x178484['stageInfo'])==null?void 0x0:_0x4d83e3[_0x2d5bf4(0x41d)])||0x0;return _0x1620e6===_0x3b565c[_0x2d5bf4(0x36f)][_0x2d5bf4(0x1c1)]&&_0x5a9676>0x0;}function _0x474789(_0x5a38cb){const _0x5d21aa=_0x29b412;return _0x5a38cb[_0x5d21aa(0x15b)]===_0x3b565c[_0x5d21aa(0x397)][_0x5d21aa(0x332)];}let _0x1e5951=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x21e94d,_0x46ea4c,_0x24baf4,_0x3bb4c0,_0x378ea8,_0xed9cc1,_0xc30640){const _0x269f35=_0x29b412;super(),this[_0x269f35(0x2d3)]=_0x21e94d,this[_0x269f35(0x1e4)]=_0x46ea4c,this['_configService']=_0x24baf4,this[_0x269f35(0x20f)]=_0x3bb4c0,this[_0x269f35(0x2d1)]=_0x378ea8,this[_0x269f35(0x3d0)]=_0xed9cc1,this[_0x269f35(0x382)]=_0xc30640,_0x4878f2(this,_0x269f35(0x230),null),_0x4878f2(this,_0x269f35(0x16a),0x0),_0x4878f2(this,'_currentUsage',0x0),_0x4878f2(this,_0x269f35(0x3a2),[]),_0x4878f2(this,_0x269f35(0x23b),0x0),this[_0x269f35(0x1ab)]();}[_0x29b412(0x1ab)](){const _0x487dc1=_0x29b412;this[_0x487dc1(0x434)](this[_0x487dc1(0x1e4)]['beforeCommandExecuted']((_0x488243,_0x1b1733)=>{const _0x546342=_0x487dc1;var _0x457cb8;if(_0x488243['id']!==_0x3b565c[_0x546342(0x18e)]['id'])return;let _0x4f6d0d=_0x488243[_0x546342(0x431)];if(this[_0x546342(0x258)]((_0x457cb8=_0x4f6d0d[_0x546342(0x2b6)])==null?[]:_0x457cb8)&&!this[_0x546342(0x246)]())throw this['_checkAndWaitForCalculationPermission'](_0x488243,_0x1b1733),this[_0x546342(0x2f4)](),new _0x1e96bc[(_0x546342(0x15e))]();})),this[_0x487dc1(0x434)](this[_0x487dc1(0x1e4)][_0x487dc1(0x2d9)]((_0x1c71b4,_0x215427)=>{const _0x11be81=_0x487dc1;if(_0x1c71b4['id']!==_0x3b565c[_0x11be81(0x186)]['id'])return;let _0x148593=_0x1c71b4[_0x11be81(0x431)];if(_0x2a8cbb(_0x148593)){let _0x32f570=(0x0,_0x1e96bc[_0x11be81(0x1f9)])();this['_taskIds']['push'](_0x32f570),this[_0x11be81(0x2c9)](_0x32f570);}else{if(_0x474789(_0x148593)&&this[_0x11be81(0x3a2)][_0x11be81(0x1b7)]>0x0){let _0x59e017=this[_0x11be81(0x3a2)][_0x11be81(0x3ae)]();this[_0x11be81(0x3c0)](_0x59e017);}}}));}[_0x29b412(0x1e7)](){const _0x37d2e0=_0x29b412;super[_0x37d2e0(0x1e7)](),this[_0x37d2e0(0x42d)](),this[_0x37d2e0(0x3a2)]=[],this[_0x37d2e0(0x26d)]=0x0,this[_0x37d2e0(0x16a)]=0x0,this[_0x37d2e0(0x23b)]=0x0;}async[_0x29b412(0x2a4)](_0x308e3f,_0x1b71b9){const _0x561cb9=_0x29b412;for(let _0x2c27e8=0x0;_0x2c27e8<0x1e;_0x2c27e8++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x308e3f,_0x1b71b9),this[_0x561cb9(0x2d3)][_0x561cb9(0x450)]({'content':this[_0x561cb9(0x382)]['t']('formula.calculation.started'),'type':_0x12bd8e[_0x561cb9(0x1b2)][_0x561cb9(0x26f)]});return;}await new Promise(_0x55d594=>{const _0x31137e=_0x561cb9;this[_0x31137e(0x230)]=window[_0x31137e(0x20a)](_0x55d594,0x3e8);});}catch(_0x4f166d){this[_0x561cb9(0x3d0)][_0x561cb9(0x1cf)](_0x4f166d);}this[_0x561cb9(0x2d3)][_0x561cb9(0x450)]({'content':this[_0x561cb9(0x382)]['t'](_0x561cb9(0x365)),'type':_0x12bd8e['MessageType'][_0x561cb9(0x369)]});}[_0x29b412(0x45b)](_0x319631,_0x498612){const _0x3c3957=_0x29b412;try{this['_commandService'][_0x3c3957(0x358)](_0x319631['id'],_0x319631[_0x3c3957(0x431)],_0x498612);}catch(_0x37c4c4){this[_0x3c3957(0x3d0)][_0x3c3957(0x1cf)](_0x37c4c4);}}[_0x29b412(0x23d)](_0x3fd9af,_0xf03def){const _0x37d609=_0x29b412;_0xf03def<this[_0x37d609(0x23b)]||(this[_0x37d609(0x23b)]=_0xf03def,this[_0x37d609(0x16a)]=Number[_0x37d609(0x391)](_0x3fd9af['maxFormulaLimit']),this[_0x37d609(0x26d)]=Number[_0x37d609(0x391)](_0x3fd9af['currentUsage']));}async[_0x29b412(0x2c9)](_0x46a356){const _0x535b68=_0x29b412;let _0x34b40f=Date['now']();try{var _0x3cef6d,_0x4a040d;let _0x2b6157=((_0x3cef6d=this['_configService'][_0x535b68(0x1f5)](_0x18e88d[_0x535b68(0x342)]))==null?void 0x0:_0x3cef6d[_0x535b68(0x1c4)])||_0x535b68(0x3af),_0x1b0210=(await this[_0x535b68(0x20f)][_0x535b68(0x1a4)](_0x2b6157,{'body':JSON['stringify']({'taskId':_0x46a356})}))[_0x535b68(0x2eb)];if(((_0x4a040d=_0x1b0210['error'])==null?void 0x0:_0x4a040d[_0x535b68(0x303)])!==_0x3beb10['OK'])return;this[_0x535b68(0x23d)](_0x1b0210[_0x535b68(0x3cb)],_0x34b40f);}catch(_0x3cc0e2){this[_0x535b68(0x3d0)][_0x535b68(0x1cf)](_0x3cc0e2);}}async[_0x29b412(0x38a)](_0x12c247){const _0x3530c9=_0x29b412;let _0x218eaa=Date[_0x3530c9(0x24f)]();try{var _0x3d2fc6,_0x516f11;let _0x3274f1=((_0x3d2fc6=this[_0x3530c9(0x363)][_0x3530c9(0x1f5)](_0x18e88d[_0x3530c9(0x342)]))==null?void 0x0:_0x3d2fc6[_0x3530c9(0x200)])||'/universer-api/license/formula/limit/status',_0x5f33e8=_0x12c247?_0x3274f1+_0x3530c9(0x3ba)+encodeURIComponent(_0x12c247):_0x3274f1,_0x4e9d51=(await this['_httpService'][_0x3530c9(0x17b)](_0x5f33e8))[_0x3530c9(0x2eb)];if(((_0x516f11=_0x4e9d51['error'])==null?void 0x0:_0x516f11[_0x3530c9(0x303)])!==_0x3beb10['OK'])return;this[_0x3530c9(0x23d)](_0x4e9d51[_0x3530c9(0x3cb)],_0x218eaa);}catch(_0x5d8a63){this['_logService'][_0x3530c9(0x1cf)](_0x5d8a63);}}async[_0x29b412(0x3c0)](_0x50a4dd){const _0x39dffc=_0x29b412;let _0x56937b=Date[_0x39dffc(0x24f)]();try{var _0xfdb0bc,_0x2e6300;let _0x2e1280=((_0xfdb0bc=this[_0x39dffc(0x363)]['getConfig'](_0x18e88d[_0x39dffc(0x342)]))==null?void 0x0:_0xfdb0bc[_0x39dffc(0x2c0)])||'/universer-api/license/formula/limit/done',_0xbb7257=(await this[_0x39dffc(0x20f)][_0x39dffc(0x1a4)](_0x2e1280,{'body':JSON[_0x39dffc(0x3fb)]({'taskId':_0x50a4dd})}))[_0x39dffc(0x2eb)];if(((_0x2e6300=_0xbb7257[_0x39dffc(0x1cf)])==null?void 0x0:_0x2e6300[_0x39dffc(0x303)])!==_0x3beb10['OK'])return;this['_setFormulaLimitStatus'](_0xbb7257[_0x39dffc(0x3cb)],_0x56937b);}catch(_0xf46bf7){this[_0x39dffc(0x3d0)][_0x39dffc(0x1cf)](_0xf46bf7);}}[_0x29b412(0x246)](){const _0xe75ed1=_0x29b412;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0xe75ed1(0x26d)]>0x0;}[_0x29b412(0x42d)](){const _0x422938=_0x29b412;this[_0x422938(0x230)]&&(clearTimeout(this[_0x422938(0x230)]),this[_0x422938(0x230)]=null);}[_0x29b412(0x2f4)](){const _0x1531d7=_0x29b412;this[_0x1531d7(0x2d3)]['show']({'content':this[_0x1531d7(0x382)]['t'](_0x1531d7(0x1e2)),'type':_0x12bd8e['MessageType'][_0x1531d7(0x201)]});}['_hasFormulaInDirtyRanges'](_0x193b9b){const _0x248844=_0x29b412;for(let _0x4bbf43 of _0x193b9b){let {unitId:_0x12c361,sheetId:_0x296e40,range:_0x4492e0}=_0x4bbf43,_0xeaf923=this[_0x248844(0x2d1)]['getUnit'](_0x12c361);if(!_0xeaf923)continue;let _0x59ceea=_0xeaf923[_0x248844(0x354)](_0x296e40);if(!_0x59ceea)continue;let _0x570ac7=_0x59ceea[_0x248844(0x414)]();for(let _0x34aeef=_0x4492e0[_0x248844(0x387)];_0x34aeef<=_0x4492e0[_0x248844(0x380)];_0x34aeef++)for(let _0x68cbc0=_0x4492e0[_0x248844(0x247)];_0x68cbc0<=_0x4492e0[_0x248844(0x42e)];_0x68cbc0++){let _0x27ce8a=_0x570ac7[_0x248844(0x27d)](_0x34aeef,_0x68cbc0);if(_0x27ce8a&&((0x0,_0x1e96bc[_0x248844(0x34c)])(_0x27ce8a['f'])||(0x0,_0x1e96bc[_0x248844(0x455)])(_0x27ce8a['si'])))return!0x0;}}return!0x1;}};_0x1e5951=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc['Inject'])(_0x163a5f[_0x29b412(0x268)])),_0x19fee6(0x1,_0x1e96bc[_0x29b412(0x42c)]),_0x19fee6(0x2,_0x1e96bc[_0x29b412(0x41b)]),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe453ac['HTTPService'])),_0x19fee6(0x4,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x5,_0x1e96bc[_0x29b412(0x24a)]),_0x19fee6(0x6,(0x0,_0x1e96bc['Inject'])(_0x1e96bc[_0x29b412(0x1d9)]))],_0x1e5951);let _0x4ee559=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x55ff19,_0x2e4fc8,_0x4e12c7){const _0x3f352f=_0x29b412;super(),this[_0x3f352f(0x363)]=_0x55ff19,this[_0x3f352f(0x308)]=_0x2e4fc8,this[_0x3f352f(0x256)]=_0x4e12c7,_0x4878f2(this,_0x3f352f(0x2cd),new Map()),_0x4878f2(this,'_saveTaskMap',new Map()),_0x4878f2(this,_0x3f352f(0x184),!0x1);}[_0x29b412(0x37e)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x41fcd7=_0x29b412;this[_0x41fcd7(0x184)]=!0x1;}get['saveTaskMap'](){const _0xa33c8a=_0x29b412;return this[_0xa33c8a(0x2b5)];}[_0x29b412(0x1e7)](){const _0x2e2606=_0x29b412;this[_0x2e2606(0x337)]()[_0x2e2606(0x232)](()=>super['dispose']());}async[_0x29b412(0x2db)](_0x36edda){const _0x569688=_0x29b412;return this[_0x569688(0x184)]?null:this['_localStorageService']['getItem']((0x0,_0x18e88d['getLocalCacheKey'])(_0x36edda));}async['saveOfflineData'](_0x32c0e9,_0x411d7a){const _0x417c9b=_0x29b412;return!!this[_0x417c9b(0x308)][_0x417c9b(0x3f6)](_0x32c0e9,_0x411d7a);}[_0x29b412(0x3b8)](_0x410647,_0x3b3a3c,_0x5e3515,_0x448abd){const _0x337add=_0x29b412;let _0x43b28b=this[_0x337add(0x256)][_0x337add(0x17d)](_0x410647);this[_0x337add(0x2cd)][_0x337add(0x1dc)](_0x410647,{'unitID':_0x410647,'type':_0x3b3a3c,'awaitingChangeset':_0x5e3515,'mutations':_0x448abd,'rev':_0x43b28b}),this[_0x337add(0x2b5)][_0x337add(0x411)](_0x410647)||this[_0x337add(0x178)](_0x410647);}[_0x29b412(0x178)](_0x2b27bd){const _0x12e3ab=_0x29b412;let _0x48f44e=this['_getSaveTimeout']();_0x48f44e===0x0?this[_0x12e3ab(0x240)](_0x2b27bd):this['_saveTaskMap']['set'](_0x2b27bd,setTimeout(()=>this[_0x12e3ab(0x240)](_0x2b27bd),_0x48f44e));}[_0x29b412(0x199)](){const _0x38f477=_0x29b412;var _0x912de2;return(_0x912de2=this[_0x38f477(0x363)][_0x38f477(0x1f5)](_0x18e88d[_0x38f477(0x18d)]))==null?_0x18e88d[_0x38f477(0x32c)]:_0x912de2;}[_0x29b412(0x240)](_0x20d5be){const _0x2899b7=_0x29b412;let _0xb67ecb=this[_0x2899b7(0x2b5)][_0x2899b7(0x17b)](_0x20d5be);return _0xb67ecb!==void 0x0&&window['clearTimeout'](_0xb67ecb),this[_0x2899b7(0x308)][_0x2899b7(0x3f6)]((0x0,_0x18e88d[_0x2899b7(0x2c6)])(_0x20d5be),this[_0x2899b7(0x2cd)][_0x2899b7(0x17b)](_0x20d5be))[_0x2899b7(0x232)](()=>this[_0x2899b7(0x2b5)]['delete'](_0x20d5be));}async['exhaustSavingTask'](){const _0x4265c5=_0x29b412;let _0x1a2b7e=[];this[_0x4265c5(0x2b5)][_0x4265c5(0x312)]((_0x4026a7,_0x48094c)=>{const _0x3ad648=_0x4265c5;window['clearTimeout'](_0x4026a7),_0x1a2b7e[_0x3ad648(0x3ec)](this['_saveCache'](_0x48094c)[_0x3ad648(0x232)](()=>{const _0x5ae92d=_0x3ad648;this[_0x5ae92d(0x2b5)][_0x5ae92d(0x24d)](_0x48094c);}));}),await Promise[_0x4265c5(0x291)](_0x1a2b7e);}};_0x4ee559=_0x1c9c51([_0x19fee6(0x0,_0x1e96bc[_0x29b412(0x41b)]),_0x19fee6(0x1,_0x1e96bc['ILocalStorageService']),_0x19fee6(0x2,(0x0,_0x1e96bc['Inject'])(_0x55fb1d[_0x29b412(0x239)]))],_0x4ee559);var _0x294890=class extends _0x1e96bc['RxDisposable']{constructor(){const _0xd3f5bc=_0x29b412;super(),_0x4878f2(this,_0xd3f5bc(0x3ca),void 0x0),this[_0xd3f5bc(0x3ca)]=(0x0,_0x25f103[_0xd3f5bc(0x2f1)])(window,_0xd3f5bc(0x2c7))[_0xd3f5bc(0x23c)]((0x0,_0x25f103[_0xd3f5bc(0x3c7)])(this['dispose$']),(0x0,_0x25f103['shareReplay'])(0x1),(0x0,_0x25f103[_0xd3f5bc(0x3b3)])(void 0x0));}[_0x29b412(0x346)](_0x413666,_0x326232,_0x3e0221=!0x1){const _0x1b3183=_0x29b412;let _0x6ccd70=new URL(window[_0x1b3183(0x3ed)][_0x1b3183(0x168)]);_0x6ccd70[_0x1b3183(0x1c0)][_0x1b3183(0x1dc)](_0x413666,_0x326232),_0x3e0221?window[_0x1b3183(0x451)]['replaceState']('','',_0x6ccd70['toString']()):window[_0x1b3183(0x451)][_0x1b3183(0x32d)]('','',_0x6ccd70[_0x1b3183(0x28f)]());}[_0x29b412(0x383)](_0x11f5a1,_0x471ce2=!0x1){const _0x5a9f1d=_0x29b412;let _0x3ddd6f=new URL(window[_0x5a9f1d(0x3ed)][_0x5a9f1d(0x168)]);_0x3ddd6f[_0x5a9f1d(0x1c0)]['delete'](_0x11f5a1),_0x471ce2?window[_0x5a9f1d(0x451)][_0x5a9f1d(0x438)]('','',_0x3ddd6f[_0x5a9f1d(0x28f)]()):window[_0x5a9f1d(0x451)][_0x5a9f1d(0x32d)]('','',_0x3ddd6f[_0x5a9f1d(0x28f)]());}[_0x29b412(0x263)](_0x5ae4f3){const _0x5d996a=_0x29b412;var _0x33fbf2;return(_0x33fbf2=new URL(window[_0x5d996a(0x3ed)]['href'])[_0x5d996a(0x1c0)]['get'](_0x5ae4f3))==null?void 0x0:_0x33fbf2;}};let _0x5003be=class extends _0x1e96bc[_0x29b412(0x3e4)]{constructor(_0x3277a9=_0x26ee57,_0x2a4ba0,_0x42caf8,_0x581d62){const _0xecfc8c=_0x29b412;super(),this[_0xecfc8c(0x324)]=_0x3277a9,this['_renderManagerService']=_0x2a4ba0,this['_injector']=_0x42caf8,this[_0xecfc8c(0x363)]=_0x581d62;let {..._0x16b781}=(0x0,_0x1e96bc[_0xecfc8c(0x371)])({},_0x26ee57,this['_config']);this[_0xecfc8c(0x363)][_0xecfc8c(0x176)](_0x2eef91,_0x16b781);}[_0x29b412(0x28e)](){const _0x1f9c22=_0x29b412;this[_0x1f9c22(0x3c5)](),this[_0x1f9c22(0x2fe)]();}[_0x29b412(0x3d6)](){const _0x118bc5=_0x29b412;this[_0x118bc5(0x284)]();}[_0x29b412(0x3c5)](){const _0xfc99aa=_0x29b412;var _0x53d6dc;let _0x5ba7a0=[[_0x447e19],[_0x1e5951],[_0x12c66b],[_0x548b99],[_0x164d7f],[_0x54c1c7],[_0x19d706,{'useClass':_0x294890}],[_0xe453ac[_0xfc99aa(0x42b)],{'useClass':_0xe453ac[_0xfc99aa(0x3bd)]}],[_0x18e88d[_0xfc99aa(0x2ec)],{'useClass':_0x4ee559}],[_0x31d8d2],[_0xfbf66],[_0x3bab23],[_0x396377],[_0x3048a8],[_0x4bd713]];this[_0xfc99aa(0x324)]['enableFrontendLog']&&_0x5ba7a0['push']([_0x50b38e]),(0x0,_0x1e96bc[_0xfc99aa(0x2bb)])(this['_injector'],(0x0,_0x1e96bc[_0xfc99aa(0x1c8)])(_0x5ba7a0,(_0x53d6dc=this['_config'])==null?void 0x0:_0x53d6dc[_0xfc99aa(0x270)]));}[_0x29b412(0x284)](){const _0x6a358c=_0x29b412;this[_0x6a358c(0x434)](this[_0x6a358c(0x16e)][_0x6a358c(0x2e3)](_0x1e96bc[_0x6a358c(0x20d)][_0x6a358c(0x1dd)],[_0x303d04])),this['disposeWithMe'](this[_0x6a358c(0x16e)][_0x6a358c(0x2e3)](_0x1e96bc[_0x6a358c(0x20d)][_0x6a358c(0x3b4)],[_0x1225ba]));}['_initDependencies'](){const _0x7ac55d=_0x29b412;(0x0,_0x1e96bc[_0x7ac55d(0x311)])(this[_0x7ac55d(0x21f)],[[_0x396377],[_0x31d8d2],[_0xfbf66],[_0x3bab23],[_0x4bd713],[_0x1e5951]]),this[_0x7ac55d(0x324)][_0x7ac55d(0x2af)]&&(0x0,_0x1e96bc[_0x7ac55d(0x311)])(this[_0x7ac55d(0x21f)],[[_0x50b38e]]);}};_0x4878f2(_0x5003be,'pluginName','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x4878f2(_0x5003be,_0x29b412(0x2aa),_0x3a7710),_0x4878f2(_0x5003be,_0x29b412(0x32e),_0x4df1c3),_0x5003be=_0x1c9c51([(0x0,_0x1e96bc[_0x29b412(0x3df)])(_0x18e88d[_0x29b412(0x33d)]),_0x19fee6(0x1,_0x42ac73[_0x29b412(0x417)]),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x3,_0x1e96bc['IConfigService'])],_0x5003be);let _0x10dd44=class extends _0x18e88d[_0x29b412(0x3d5)]{constructor(_0x28b029,_0x5c4938,_0x2de144,_0x3e716b,_0x291f72){super(_0x28b029,_0x5c4938,_0x2de144,_0x3e716b,_0x291f72);}async[_0x29b412(0x340)](_0x232ed9){const _0x4d569d=_0x29b412;let _0x49fc19=await this[_0x4d569d(0x400)](),_0x2ffcc0=this['_createSocketURL'](_0x232ed9,_0x49fc19);return this[_0x4d569d(0x44e)](_0x2ffcc0);}['_createSocketURL'](_0x265d40,_0x5ca5c9){const _0x5954ca=_0x29b412;let _0x2a278a=typeof window>'u'?new URL(_0x265d40):new URL(_0x265d40,window[_0x5954ca(0x3ed)]['origin']);_0x2a278a[_0x5954ca(0x1c0)][_0x5954ca(0x1dc)](_0x5954ca(0x35b),_0x5ca5c9);let _0x2fb8ee=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5954ca(0x3ed)][_0x5954ca(0x361)]);return _0x2fb8ee[_0x5954ca(0x17b)]('runId')&&_0x2a278a[_0x5954ca(0x1c0)]['set']('runId',_0x2fb8ee[_0x5954ca(0x17b)](_0x5954ca(0x422))),_0x2a278a[_0x5954ca(0x28f)]();}async['_getSessionTicket'](){const _0x2cd5bc=_0x29b412;var _0x44de20,_0x54941b,_0x414ddb;let _0x5b99c9=this[_0x2cd5bc(0x363)][_0x2cd5bc(0x1f5)](_0x18e88d[_0x2cd5bc(0x342)]),_0x7aafde=(_0x44de20=_0x5b99c9==null?void 0x0:_0x5b99c9['wsSessionTicketUrl'])==null?_0x18e88d['DEFAULT_WS_SESSION_TICKET_URL']:_0x44de20;return(_0x54941b=(_0x414ddb=(await this[_0x2cd5bc(0x20f)][_0x2cd5bc(0x17b)](_0x7aafde,{'headers':{'Content-Type':_0x2cd5bc(0x3b0)}}))[_0x2cd5bc(0x2eb)])==null?void 0x0:_0x414ddb[_0x2cd5bc(0x3de)])==null?'':_0x54941b;}};_0x10dd44=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe453ac[_0x29b412(0x30f)])),_0x19fee6(0x2,_0x1e96bc[_0x29b412(0x41b)]),_0x19fee6(0x3,_0x1e96bc[_0x29b412(0x24a)]),_0x19fee6(0x4,_0x55fb1d[_0x29b412(0x407)])],_0x10dd44);let _0x24bc76=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x514373,_0x1ca4d4,_0x3ab589){const _0x448d2d=_0x29b412;super(),this['_instanceService']=_0x514373,this[_0x448d2d(0x20f)]=_0x1ca4d4,this[_0x448d2d(0x363)]=_0x3ab589;}async['runOnServer'](_0x7ae2c7,_0x2a9ed8,_0x22d292,..._0x1fec78){const _0x553f84=_0x29b412;var _0x11c2cf,_0x5b555a,_0x31f17d,_0x20e274;let _0x85692a=this[_0x553f84(0x31d)][_0x553f84(0x37d)]();if(!_0x85692a)throw Error(_0x553f84(0x1fe));let _0x172f98=((_0x11c2cf=this['_configService'][_0x553f84(0x1f5)](_0x18e88d['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))==null?_0x18e88d[_0x553f84(0x2d2)]:_0x11c2cf)+'/'+_0x7ae2c7+'/run/'+_0x2a9ed8,_0x1dabef={'scriptId':_0x7ae2c7,'runId':(_0x5b555a=new URL(window[_0x553f84(0x3ed)][_0x553f84(0x168)])[_0x553f84(0x1c0)][_0x553f84(0x17b)](_0x553f84(0x422)))==null?'':_0x5b555a,'function':_0x2a9ed8,'unitId':_0x85692a['getUnitId'](),'argsOfFunction':JSON[_0x553f84(0x3fb)](_0x1fec78),'invokeId':(_0x31f17d=_0x22d292[_0x553f84(0x27a)])==null?'':_0x31f17d,'executionId':(_0x20e274=_0x22d292[_0x553f84(0x395)])==null?'':_0x20e274};try{let _0x1bc09b=await this['_httpService'][_0x553f84(0x1a4)](_0x172f98,{'body':_0x1dabef});return _0x1bc09b['body'][_0x553f84(0x1cf)]&&_0x1bc09b[_0x553f84(0x2eb)][_0x553f84(0x1cf)]['code']!==_0x3beb10['OK']?'Failed':_0x1bc09b['body'][_0x553f84(0x399)];}catch{return _0x553f84(0x25c);}}};_0x24bc76=_0x1c9c51([_0x19fee6(0x0,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe453ac[_0x29b412(0x30f)])),_0x19fee6(0x2,_0x1e96bc['IConfigService'])],_0x24bc76);var _0x5ba476=function(_0x1ae756){const _0x551be8=_0x29b412;return _0x1ae756[_0x1ae756[_0x551be8(0x462)]=0x0]=_0x551be8(0x462),_0x1ae756[_0x1ae756[_0x551be8(0x22a)]=0x1]=_0x551be8(0x22a),_0x1ae756[_0x1ae756['HEARTBEAT']=0x2]=_0x551be8(0x436),_0x1ae756;}(_0x5ba476||{});let _0x484776=0x7530,_0x12e800=_0x29b412(0x1c5);var _0xa6a228=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(){const _0x314ece=_0x29b412;super(),_0x4878f2(this,_0x314ece(0x174),(0x0,_0x1e96bc[_0x314ece(0x1f9)])()),_0x4878f2(this,'_selfUnitIDs',new Set()),_0x4878f2(this,'_unitOnClients',new Map()),_0x4878f2(this,_0x314ece(0x45e),null),_0x4878f2(this,'_clearOtherTimers',new Map()),_0x4878f2(this,_0x314ece(0x374),new Map()),this[_0x314ece(0x19b)]();}[_0x29b412(0x1e7)](){const _0xaba82e=_0x29b412;super[_0xaba82e(0x1e7)](),this[_0xaba82e(0x1e0)][_0xaba82e(0x312)]((_0x1314f8,_0xb530e0)=>this[_0xaba82e(0x377)](_0xb530e0)),this[_0xaba82e(0x45e)]&&window[_0xaba82e(0x2d6)](this['_heartbeatTimer']);}[_0x29b412(0x172)](_0x3f6b34){const _0x5cde09=_0x29b412;return this[_0x5cde09(0x167)](_0x3f6b34)[_0x5cde09(0x23c)]((0x0,_0x25f103[_0x5cde09(0x1d1)])());}[_0x29b412(0x257)](_0x3789d5){const _0x312bda=_0x29b412;this['_selfUnitIDs'][_0x312bda(0x2e1)]===0x0&&this[_0x312bda(0x1c7)](),this[_0x312bda(0x1f2)][_0x312bda(0x20c)](_0x3789d5),this[_0x312bda(0x3a9)]({'type':_0x5ba476[_0x312bda(0x462)],'memberID':this['_id'],'unitIDs':[_0x3789d5],'isForwarded':!0x1});}[_0x29b412(0x427)](_0xf9e57f){const _0x3ce809=_0x29b412;this[_0x3ce809(0x1f2)][_0x3ce809(0x24d)](_0xf9e57f),this[_0x3ce809(0x1f2)][_0x3ce809(0x2e1)]===0x0&&this[_0x3ce809(0x45e)]&&window[_0x3ce809(0x2d6)](this[_0x3ce809(0x45e)]);}['_init'](){const _0x4023cd=_0x29b412;this['disposeWithMe']((0x0,_0x1e96bc[_0x4023cd(0x202)])((0x0,_0x25f103['fromEvent'])(window,_0x4023cd(0x162))['subscribe'](_0x1d3ae4=>{const _0x255133=_0x4023cd;if(_0x1d3ae4[_0x255133(0x310)]!==_0x12e800||!_0x1d3ae4[_0x255133(0x350)])return;let _0x33b0ff=JSON[_0x255133(0x1da)](_0x1d3ae4['newValue']);this[_0x255133(0x2c8)](_0x33b0ff);}))),window[_0x4023cd(0x234)](_0x4023cd(0x2a3),()=>this['_send']({'type':_0x5ba476['LEAVE'],'memberID':this[_0x4023cd(0x174)],'unitIDs':Array['from'](this[_0x4023cd(0x1f2)])}));}[_0x29b412(0x2c8)](_0x168819){const _0x55543c=_0x29b412;switch(_0x168819['type']){case _0x5ba476[_0x55543c(0x462)]:this['_handleJoinEvent'](_0x168819);break;case _0x5ba476[_0x55543c(0x22a)]:this['_handleLeaveEvent'](_0x168819);break;case _0x5ba476['HEARTBEAT']:this[_0x55543c(0x3f2)](_0x168819);break;}}[_0x29b412(0x32f)](_0x9726a0){const _0xe37db4=_0x29b412;let {unitIDs:_0x377a14,memberID:_0x5c6e93,isForwarded:_0x46b543}=_0x9726a0;_0x377a14[_0xe37db4(0x312)](_0x2a033a=>{const _0x4c3a4e=_0xe37db4;if(!_0x46b543&&this[_0x4c3a4e(0x33b)][_0x4c3a4e(0x411)](_0x2a033a)&&this['_ensureSubject'](_0x2a033a)[_0x4c3a4e(0x1db)](_0x18e88d[_0x4c3a4e(0x327)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x4c3a4e(0x411)](_0x2a033a)||!this[_0x4c3a4e(0x33b)][_0x4c3a4e(0x17b)](_0x2a033a)['has'](_0x5c6e93)){let _0x504774=this[_0x4c3a4e(0x33b)]['get'](_0x2a033a)||new Set();_0x504774[_0x4c3a4e(0x20c)](_0x5c6e93),this[_0x4c3a4e(0x33b)]['set'](_0x2a033a,_0x504774),this[_0x4c3a4e(0x1a8)](_0x5c6e93);}}),_0x46b543||this[_0xe37db4(0x3a9)]({'type':_0x5ba476[_0xe37db4(0x462)],'memberID':this[_0xe37db4(0x174)],'unitIDs':[...this[_0xe37db4(0x1f2)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x378d36){const _0x12e442=_0x29b412;this[_0x12e442(0x377)](_0x378d36);let _0x294b79=window[_0x12e442(0x20a)](()=>{const _0xbc866d=_0x12e442;this[_0xbc866d(0x33b)][_0xbc866d(0x312)](_0x4ac55d=>{_0x4ac55d['delete'](_0x378d36);});},_0x484776*0x2);this[_0x12e442(0x1e0)][_0x12e442(0x1dc)](_0x378d36,_0x294b79);}[_0x29b412(0x377)](_0x4c6fbf){const _0xa18723=_0x29b412;if(this[_0xa18723(0x1e0)][_0xa18723(0x411)](_0x4c6fbf)){let _0x1a25a3=this[_0xa18723(0x1e0)][_0xa18723(0x17b)](_0x4c6fbf);_0x1a25a3&&window[_0xa18723(0x325)](_0x1a25a3),this[_0xa18723(0x1e0)][_0xa18723(0x1dc)](_0x4c6fbf,null);}}['_handleLeaveEvent'](_0x378933){const _0x1f2c32=_0x29b412;let {memberID:_0x379f84,unitIDs:_0x5d2b22}=_0x378933;_0x5d2b22[_0x1f2c32(0x312)](_0x5a1483=>{const _0x4ffb66=_0x1f2c32;var _0x2455a3;let _0x401af4=this['_unitOnClients'][_0x4ffb66(0x17b)](_0x5a1483);_0x401af4&&(_0x401af4[_0x4ffb66(0x24d)](_0x379f84),(_0x2455a3=this['_ensureSubject'](_0x5a1483))==null||_0x2455a3['next'](_0x401af4[_0x4ffb66(0x2e1)]===0x0?_0x18e88d['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x18e88d['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x379f84);}[_0x29b412(0x3f2)](_0x21243b){const _0xb54d03=_0x29b412;this[_0xb54d03(0x1a8)](_0x21243b[_0xb54d03(0x242)]);}[_0x29b412(0x3a9)](_0x58ebbb){const _0x49bf5c=_0x29b412;localStorage[_0x49bf5c(0x3f6)](_0x12e800,JSON[_0x49bf5c(0x3fb)](_0x58ebbb));}[_0x29b412(0x1c7)](){const _0x31b8b1=_0x29b412;this[_0x31b8b1(0x45e)]=window[_0x31b8b1(0x19a)](()=>{const _0x46feb0=_0x31b8b1;this[_0x46feb0(0x3a9)]({'type':_0x5ba476['HEARTBEAT'],'memberID':this['_id']});},_0x484776);}[_0x29b412(0x167)](_0x18b938){const _0x7745ff=_0x29b412;return this['_unitStatus'][_0x7745ff(0x411)](_0x18b938)||this['_unitStatus'][_0x7745ff(0x1dc)](_0x18b938,new _0x25f103[(_0x7745ff(0x177))](_0x18e88d[_0x7745ff(0x327)][_0x7745ff(0x320)])),this['_unitStatus']['get'](_0x18b938);}};Object['defineProperty'](_0x2f0af9,_0x29b412(0x373),{'enumerable':!0x0,'get':function(){return _0x10dd44;}}),Object[_0x29b412(0x45a)](_0x2f0af9,_0x29b412(0x2c5),{'enumerable':!0x0,'get':function(){return _0x4bd713;}}),Object[_0x29b412(0x45a)](_0x2f0af9,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x31d8d2;}}),_0x2f0af9['IURLService']=_0x19d706,Object[_0x29b412(0x45a)](_0x2f0af9,_0x29b412(0x26b),{'enumerable':!0x0,'get':function(){return _0x24bc76;}}),_0x2f0af9[_0x29b412(0x1e9)]=_0x5a9d20,Object[_0x29b412(0x45a)](_0x2f0af9,_0x29b412(0x306),{'enumerable':!0x0,'get':function(){return _0x5003be;}}),_0x2f0af9[_0x29b412(0x159)]=_0xa6a228,_0x2f0af9[_0x29b412(0x430)]=_0x294890;}));function _0x1f09(_0x10e4fb,_0x4ac7e0){_0x10e4fb=_0x10e4fb-0x152;const _0x59b470=_0x59b4();let _0x1f094f=_0x59b470[_0x10e4fb];return _0x1f094f;}function _0x59b4(){const _0x2f001b=['touchDependencies','forEach','DocIMEInputManagerService','ONLINE','_backgroundColor','_collaborationUIEventService','_hover','_collaborationSessionService','TEXT','subscribeEvent','height','clsx','_instanceService','ERROR_AGAIN','getTypeOfUnitDisposed$','NO_OTHER_CLIENTS_EDITING','Subject','CollaborationController','fillStyle','_config','clearTimeout','uni.network.url-service','UnitStatus','_color','@univerjs/drawing','_onCursorUpdate','LOGIN_FAILED','LOCAL_CACHE_INTERVAL','pushState','version','_handleJoinEvent','path','Active','SUCCESS','_docSyncEditingCollabCursorService','_blinkIntervalTimer','_colorIndex','url(#on-line-icon_clip0_910_349)','exhaustSavingTask','_imageIoService','_cursor','Warning','_unitOnClients','_docStateChangeManagerService','UniverCollaborationClientPlugin','...','_themeService','createSocket','asObservable','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','DocStateChangeManagerService','fillRule','EffectRefRangId','setParam','getAncestorScale','SetWorksheetActivateCommand','isEditing','getCoordByCell','PAYMENT_CHANNEL_NOT_SUPPORT','isFormulaString','undoState','eventID','none','newValue','_collabCursorState$','getMemberID','highlightSecond','getSheetBySheetId','InsertRowCommandId','min','Unknown\x20user','executeCommand','_initUnhandledRejectionListener','univerjs-icon\x20univerjs-icon-','sessionTicket','743302wgMTmn','YUUMI_ASYNCIO_CANCELLED','_drawAnchor','REDEMPTION_USER_REDEEM_TIMES_EXCEED','stack','search','SHEET_VIEWPORT_KEY','_configService','UniverEngineRender','formula.calculation.unable','YUUMI_SUBSCRIPTION_NOT_FOUND','getUndoRedoMutationParamsCache','addObject','Error','COMPLETION_FINISHED','idSuffix','UniverRpc','_setupBeforeClosingHandler','#FFF','FormulaExecuteStageType','red.300','merge','LICENSE_MAX_UNITS_EXCEEDED','BrowserCollaborationSocketService','_unitStatus','CollaborationUIEventService','actions','_removeClearOtherTimer','unitId','MOBILE_VERIFY_CODE_MISMATCH','init','INVITE_CODE_HAS_BEEN_UES','_docTransformIMECacheService','getFocusedUnit','disableLocalCache','34xuqZej','endRow','PENDING','_localeService','removeParam','_removeCollabCursors','CollaborationUIEventId','runRefRangeMutations','startRow','INVALID_ARGUMENT','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_getFormulaLimitStatus','getCurrentUnitForType','toStringTag','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationSessionService','UniverNetwork','_initCommandExecutedListener','parseInt','_cursorShapes','getUnitId','DisposableCollection','executionId','UniverDrawing','FormulaExecutedStateType','TOO_MANY_REQUESTS','result','addObjects','UNAUTHENTICATED','NodePositionConvertToCursor','getStateCache','transformMutationsWithChangeset','getUnhiddenWorksheets','defIds','deepClone','_taskIds','JOIN_ROOM_FAILED','_toggleOnline','_hideTimer','with','YUUMI_RATE_OVER_LIMIT','useCallback','_send','_transformHistoryAndStateStack','session.will-retry','doc.mutation.rich-text-editing','DeleteRangeMoveUpCommandId','shift','/universer-api/license/formula/limit/start','application/json','collabStatus.fetchMiss','createElement','mapTo','UNIVER_SHEET','stage','throttleTime','arc','updateOfflineData','top','?taskId=','transformByState','unsubscribe','WebSocketService','isTransformMutationsWithChangesetSuccess','_updateLocalCursor','_releaseCalculationLimit','restore','SetTextSelectionsOperation','YUUMI_UNABLE_LOAD_URL','getColor','_registerDependencies','_syncEditingCollabCursorService','takeUntil','SetDocZoomRatioOperation','operators','urlChange$','limitInfo','LICENSE_IMPORT_SIZE_EXCEEDED','catch','_name','session.collaboration-timeout','_logService','ENTITLE_REPORT_LIMIT_EXCEED','ENTITLE_NEED_BILLING_ADDRESS','_getLighterColor','_uploadLog','CollaborationSocketService','onRendered','_entityInit$','DocSelectionManagerService','Inactive','getActiveRange','loadUnit','off-line-icon_clip0_910_343','Injector','ticket','DependentOn','tag','REDEMPTION_CODE_FULLY_REDEEMED','COLORS','ENSURE_SNAPSHOT_EXECUTION','Plugin','xlink:href','handleMoveRange','SheetsSelectionsService','send','_render','getColorFromTheme','FETCH_MISS','push','location','rgb','Shape','_initStatusComponent','[Unhandled\x20Rejection]:\x20','_handleHeartbeatEvent','NOT_FOUND','trim','rxjs','setItem','_highlight','http://www.w3.org/2000/svg','textRanges','Module','stringify','handleInsertRangeMoveDown','_localCacheService','_getScale','skeleton','_getSessionTicket','_document','attrs','map','engine','RichTextEditingMutation','BuiltInUIPart','ISnapshotServerService','_getMergeRange','some','_range','LICENSE_EXPORT_SIZE_EXCEEDED','RefRangeService','saveImage','clipPath','HEADER_MENU','_blinkTimer','has','_initStatusListener','REDEMPTION_CODE_INACTIVE','getCellMatrix','ENTITLE_INSUFFICIENT_QUOTA','string','IRenderManagerService','_initUserListener','serializeRangeWithSheet','column','IConfigService','isArray','totalFormulasToCalculate','react','stageInfo','event$','addClipboardHook','runId','PY_RUNTIME_SCRIPT_ERROR','debug','saveTaskMap','colorChannel1','disposeUnit','onLocalMutation','_startSheetCollabCursor','ITransformService','ISocketService','ICommandService','_clearPolling','endColumn','SOCKET_FAILED_RETRY','WebURLService','params','jiqing.500','_urlService','disposeWithMe','React','HEARTBEAT','getSheetObject','replaceState','EMAIL_VERIFY_CODE_MISMATCH','switchMap','transform','isActive','TRANSFORM_CHANGE_OBSERVABLE_TYPE','[CollaborationDataLoaderController]','@univerjs-pro/collaboration-client','filename','Vector2','filter','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','complete','33lApEUK','_transformService','m2Prime','collaboration.offline-data-not-saved','moveTo','max','mask','color','MUTATION','_doCreateSocket','LOGIN_TOKEN_PROCESSING_FAILED','show','history','_sheetSkeletonManagerService','_showText','handleInsertRangeMoveRight','isFormulaId','current','1em','_memberID','PERMISSION_DENIED','defineProperty','_applyCommand','getDocRanges','RECT','_heartbeatTimer','collaboration.closeRoom','@univerjs/rpc','11460jnClSV','JOIN','0\x200\x2016\x2016','REDEMPTION_CODE_NOT_STARTED','getTypeOfUnitAdded$','MOBILE_HAS_BEEN_BOUND','216324KxrgPW','prototype','removeEventListener','DOC_RANGE_TYPE','getRenderById','transformSelections','_context','WebBrowserSingleActiveUnitService','addHandlerCallback','functionsExecutedState','join','text','CanceledError','REDEMPTION_INVALID_CODE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getRelativeToViewportCoord','storage','toPrimitive','_setupSubUnitSync','dispose$','save','_ensureSubject','href','on-line-icon_clip0_910_349','_maxFormulaLimit','_session','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_drawTextRange','_renderManagerService','UniverSheetsUi','UniverProCollaboration','_uiPartsService','getUnitStatus$','_notificationService','_id','UniverProCollaborationClientUi','setConfig','BehaviorSubject','_scheduleSaving','_onCursorDelete','REDEMPTION_CODE_HAS_BEEN_CREATED','get','currentTheme$','getCurrentRevOfUnit','handleIRemoveRow','collabStatus.synced','unitID','displayName','UNRECOGNIZED','WECHAT_HAS_BEEN_BOUND','_disabled','replaceDocRanges','SetFormulaCalculationNotificationMutation','DeleteRangeMoveLeftCommandId','_docSkeleton','transformStateCache','142863KHaNrg','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createInstance','LOCAL_CACHE_INTERVAL_KEY','SetFormulaCalculationStartMutation','_getAnchorBounding','drawWith','ENTITLE_DUP_SUBSCRIPTION','_updateCollabCursors','hide','_transformUndoRedoStack','UniverUi','12LeHlXt','getCollabCursors$','offsetY','_getSaveTimeout','setInterval','_init','combineLatest','_cursors','_monkeyPatchLogService','NOT_COLLAB','RemoveRowCommandId','connectInjector','evenodd','@univerjs/design','post','_shapes','_memberService','USER_NOT_FOUND','_scheduleClearOtherTimer','_entities','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','_initCommandInterceptor','docStateChange$','setShapeProps','selections','_toggleOffline','contains','USERS_LEAVE','MessageType','getCollabEntity$','_roomMembers$','_docClipboardService','default','length','bottom','div','ranges','entityInit$','selection','@univerjs-pro/collaboration-client-ui','SetSelectionsOperation','unit','searchParams','START_CALCULATION','flatMap','ENTITLE_CHAT_LIMIT_EXCEED','startFormulaLimitUrl','ACTIVE_UNIT_EVENT_CHANNEL','OFFLINE','_scheduleHeartbeat','mergeOverrideWithDependencies','_initResize','lineTo','UniverCore','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','assign','on-line-icon','error','APPLY_NON_SEQUENTIAL_REVISION','distinctUntilChanged','INTERNAL_ERROR','_drawRectRange','font','YUUMI_AI_RUN_FAILED','SOCKET_FAILED','split','includes','LocaleService','parse','next','set','UNIVER_DOC','collabStatus.offline','InsertRangeMoveDownCommandId','_clearOtherTimers','YUUMI_ALL_TABLES_IS_INVALID','formula.calculation.waiting','@univerjs/network','_commandService','roomMembers$','permission.content','dispose','AUTHORIZE_CODE_ILLEGAL','SheetCollabCursorShape','setUndoRedoMutationParamsCache','INVITE_CODE_REQUIRED','OffLineIcon','rgba(255,\x20255,\x20255,\x200.01)','rxjs/operators','getRangePointData','ColorKit','symbol','_selfUnitIDs','CollaborationEvent','_beforeCloseService','getConfig','_status$','SessionStatus','handleDeleteRangeMoveLeft','generateRandomId','_highlightSecond','status$',',\x200.2)','@univerjs/core','[RemoteUniscriptService]:\x20no\x20focused\x20unit','Inject','getFormulaLimitStatusUrl','Loading','toDisposable','UNDEFINED','_initEvent','_offsetY','_isBlinkVisible','INVITE_CODE_ALREADY_BOUND','@univerjs/sheets-ui','react/jsx-runtime','setTimeout','Optional','add','UniverInstanceType','debounce','_httpService','_startBlinking','_updateURLWithCurrentState','@univerjs/engine-render','debounceTime','CURRENT_STATUS_CANNOT_OPERATE','SUBMIT_CHANGESET_TIMEOUT','getOffsetConfig','message','OTHER_CLIENT_EDITING','getSkeleton','onTransformChange$','_collabCursorController','setAlpha','_colorAssignService','_eventUnsubscribe','_injector','startsWith','InsertRangeMoveRightCommandId','_refreshCollabCursors','_online','highlight','YUUMI_CONNECTOR_URL_NOT_FOUND','_cursorInfo$','FromArray','_initEntityListener','use','LEAVE','RegularPolygon','setActiveRange','labelPosition','cursorInfo','CollaborationStatus','_pollingInterval','url(#$1','then','range','addEventListener','ENTITLE_COUPON_USED_UP','NodePositionConvertToRectRange','DocSkeletonManagerService','IRemoteInstanceService','RevisionService','collabStatus.conflict','_lastResponseTimestamp','pipe','_setFormulaLimitStatus','getCurrentSelections','OnLineIcon','_saveCache','_labelPosition','memberID','toRgbString','transformRemoteChangeset','_dataLoaderService','_checkCalculationAvailable','startColumn','CHANGESET_REVISION_CONFILICT','forwardRef','ILogService','[Window\x20Error]:\x20','requireSession','delete','currentSkeleton$','now','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_refRangeService','_updateSubUnitFromURLParams','values','onPointerLeave$','transformMutation','_revisionService','editingUnit','_hasFormulaInDirtyRanges','SNAPSHOT_INVALID_SNAPSHOT','USER_IS_ANONYMOUS','955DscQLb','Failed','_hovered','svg','source','mutations','Tooltip','getVpScrollXYInfoByPosToVp','getParam','transformIMECache','UniverProCollaborationClient','backgroundColor','RxDisposable','IMessageService','jsxs','measureText','RemoteUniscriptService','replace','_currentUsage','collabStatus.syncing','Success','override','APPLY_REJECT','handleDeleteRangeMoveUp','onPointerMove$','redoState','_docTransformStateCacheService','DATA_SOURCE_TOO_LARGE','subunit','1308730AVRXjb','getMergeData','invokeId','registerRefRange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getValue','_collaborationController','onMouseMove','@univerjs/sheets','_collabSessionService','decorate','findNodePositionByCharIndex','_registerRenderDependencies','_scene','reason','Tools','permission.title','jsx','IUniverInstanceService','IImageIoService','_docTransformSelectionsService','useDependency','onStarting','toString','USER_NOT_INVITED_CODE','all','black','handleIRemoveCol','_anchor','imageSourceType','m1Prime','UniverDocsUi','name','Disposable','YUUMI_NO_CUBOID_FOR_QUESTION','strokeWidth','UniverEngineFormula','getUniverSheetInstance','createIdentifier','round','_initWindowErrorListener','setStateCache','getSheetId','unload','_checkAndWaitForCalculationPermission','white','INVALID_INVITE_CODE','CommandType','_draw','_assignedColors','packageName','DocCollaborationEntity','@univerjs/docs','IDocClipboardService','width','enableFrontendLog','MemberService','13028340AnCfWH','getViewport','collaboration-client-ui.config','green.600','_saveTaskMap','dirtyRanges','row','APPLY_DUPLICATED','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','16709ASTYzO','registerDependencies','sessionStatus$','getOwnPropertyDescriptor','TEXT_RANGE_LAYER_INDEX','exports','releaseFormulaLimitUrl','APPLY_REVISION_CONFILICT','SYNCED','0\x200\x2017\x2016','data','CollaborationDataLoaderController','getLocalCacheKey','popstate','_handleEvent','_startCalculationLimit','subscribe','_stopBlinking','rgba(','_cachedData','0.19.0','focused$','YUUMI_URL_COL_OUT_OF_RANGE','_univerInstanceService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_messageService','entries','sheetID','clearInterval','session.connection-failed','104RgBQah','onCommandExecuted','ALREADY_EXISTS','loadOfflineData','[LogService\x20Error]:\x20','_onRefRangeChange','fillText','M0\x200H16V16H0z','UPDATE_CURSOR','size','_transformPreviousActiveRange','registerRenderModule','ENTITLE_USE_COUPON_NOT_1ST_TRADE','unshift','fill','defs','APPLY_PERMISSION_DENIED','_anchorDot','isTransformMutationFailure','body','ILocalCacheService','_lastPointer','subUnitId','call','function','fromEvent','ENTITLE_COUPON_EXPIRED','collab-client.tooltip.reconnect','_showGuardMessage','makeDirty','REDEMPTION_USER_NOT_ELIGIBLE','blue.400','type','children','unhandledrejection','bind','assignAColorForMemberID','_docSkeletonManagerService','_initDependencies','currentColor','/universer-api/frontend/logs','getMember','_handleHover','code','roomMembers','_textBubble','UniverCollaborationClientUIPlugin','_getSheetObject','_localStorageService','cursorInfo$','EMAIL_HAS_BEEN_BOUND','object','from','fromEventSubject','syncEditingCollabCursor','HTTPService','key'];_0x59b4=function(){return _0x2f001b;};return _0x59b4();}
|
|
8
|
+
(function(_0x1392d0,_0x815005){const _0xf15b67=_0xff8c,_0x5a94bb=_0x1392d0();while(!![]){try{const _0x5f4c3e=-parseInt(_0xf15b67(0x33c))/0x1*(parseInt(_0xf15b67(0x35a))/0x2)+parseInt(_0xf15b67(0x2b0))/0x3*(-parseInt(_0xf15b67(0x258))/0x4)+-parseInt(_0xf15b67(0x1b5))/0x5+parseInt(_0xf15b67(0x459))/0x6+parseInt(_0xf15b67(0x3e1))/0x7+-parseInt(_0xf15b67(0x23f))/0x8*(parseInt(_0xf15b67(0x2d7))/0x9)+parseInt(_0xf15b67(0x309))/0xa;if(_0x5f4c3e===_0x815005)break;else _0x5a94bb['push'](_0x5a94bb['shift']());}catch(_0x2baf60){_0x5a94bb['push'](_0x5a94bb['shift']());}}}(_0x178d,0x2570d),function(_0x2fdb2a,_0x528d4b){const _0x54ecd9=_0xff8c;typeof exports==_0x54ecd9(0x207)&&typeof module<'u'?_0x528d4b(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),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==_0x54ecd9(0x441)&&define[_0x54ecd9(0x492)]?define([_0x54ecd9(0x279),_0x54ecd9(0x23c),'@univerjs/core','@univerjs/ui',_0x54ecd9(0x34b),_0x54ecd9(0x46f),_0x54ecd9(0x334),_0x54ecd9(0x2f0),_0x54ecd9(0x1f1),_0x54ecd9(0x2a2),'@univerjs/engine-render',_0x54ecd9(0x218),_0x54ecd9(0x30e),_0x54ecd9(0x244),_0x54ecd9(0x3de),_0x54ecd9(0x406),_0x54ecd9(0x299),_0x54ecd9(0x1ff),_0x54ecd9(0x363)],_0x528d4b):(_0x2fdb2a=typeof globalThis<'u'?globalThis:_0x2fdb2a||self,_0x528d4b(_0x2fdb2a[_0x54ecd9(0x21f)]={},_0x2fdb2a['UniverProCollaborationClient'],_0x2fdb2a[_0x54ecd9(0x429)],_0x2fdb2a['UniverUi'],_0x2fdb2a[_0x54ecd9(0x34b)],_0x2fdb2a[_0x54ecd9(0x43a)],_0x2fdb2a['React'],_0x2fdb2a[_0x54ecd9(0x370)],_0x2fdb2a[_0x54ecd9(0x301)],_0x2fdb2a['UniverSheets'],_0x2fdb2a[_0x54ecd9(0x498)],_0x2fdb2a[_0x54ecd9(0x1a1)],_0x2fdb2a[_0x54ecd9(0x321)],_0x2fdb2a[_0x54ecd9(0x46d)],_0x2fdb2a[_0x54ecd9(0x425)],_0x2fdb2a[_0x54ecd9(0x3d6)],_0x2fdb2a[_0x54ecd9(0x281)],_0x2fdb2a['rxjs'][_0x54ecd9(0x2a5)],_0x2fdb2a[_0x54ecd9(0x37a)]));}(this,function(_0x4bdf46,_0x3839b9,_0x412392,_0x197442,_0x1af95b,_0x39ba33,_0x41dd93,_0xec8f0c,_0x3d3cc4,_0x36e5e1,_0x6b7952,_0x1aaf00,_0x493739,_0x556f51,_0x584220,_0x5bad8c,_0x3eef3a,_0x5a2ef1,_0x2e45e6){const _0x2c832d=_0xff8c;Object[_0x2c832d(0x361)](_0x4bdf46,Symbol['toStringTag'],{'value':'Module'});function _0xe4b778({ref:_0x36c7fc,..._0x587935}){const _0x2bd681=_0x2c832d;let {icon:_0x3f07ed,id:_0x3f611f,className:_0xc0840d,extend:_0x5abbbf,..._0x442d0a}=_0x587935,_0x4546fa=(_0x2bd681(0x2ff)+_0x3f611f+'\x20'+(_0xc0840d||''))[_0x2bd681(0x25d)](),_0x5564c9=(0x0,_0x41dd93[_0x2bd681(0x4b2)])('_'+_0xbf0d7());return _0x240f6f(_0x3f07ed,''+_0x3f611f,{'defIds':_0x3f07ed['defIds'],'idSuffix':_0x5564c9['current']},{'ref':_0x36c7fc,'className':_0x4546fa,..._0x442d0a},_0x5abbbf);}function _0x240f6f(_0xa7189e,_0x5ec8e0,_0xb39865,_0xe5bd7a,_0x508609){const _0x5d0656=_0x2c832d;return(0x0,_0x41dd93['createElement'])(_0xa7189e[_0x5d0656(0x499)],{'key':_0x5ec8e0,..._0x3e2625(_0xa7189e,_0xb39865,_0x508609),..._0xe5bd7a},(_0x203da1(_0xa7189e,_0xb39865)['children']||[])[_0x5d0656(0x464)]((_0x25f654,_0x56ebac)=>_0x240f6f(_0x25f654,_0x5ec8e0+'-'+_0xa7189e['tag']+'-'+_0x56ebac,_0xb39865,void 0x0,_0x508609)));}function _0x3e2625(_0x4e46f2,_0x396b23,_0x1e610a){const _0x4da0b6=_0x2c832d;let _0x39676d={..._0x4e46f2[_0x4da0b6(0x230)]};_0x1e610a!=null&&_0x1e610a[_0x4da0b6(0x3f4)]&&_0x39676d[_0x4da0b6(0x3be)]==='colorChannel1'&&(_0x39676d[_0x4da0b6(0x3be)]=_0x1e610a[_0x4da0b6(0x3f4)]),_0x4e46f2[_0x4da0b6(0x499)]===_0x4da0b6(0x1bd)&&_0x39676d['id']&&(_0x39676d['id']+=_0x396b23['idSuffix']),Object[_0x4da0b6(0x473)](_0x39676d)[_0x4da0b6(0x341)](([_0x2f6345,_0x5e6200])=>{const _0x3b64aa=_0x4da0b6;_0x2f6345===_0x3b64aa(0x1bd)&&typeof _0x5e6200==_0x3b64aa(0x1ba)&&(_0x39676d[_0x2f6345]=_0x5e6200[_0x3b64aa(0x23e)](/url\(#(.*)\)/,'url(#$1'+_0x396b23['idSuffix']+')'));});let {defIds:_0x5e336a}=_0x396b23;return!_0x5e336a||_0x5e336a['length']===0x0?_0x39676d:(_0x4e46f2['tag']==='use'&&_0x39676d[_0x4da0b6(0x247)]&&(_0x39676d['xlink:href']+=_0x396b23[_0x4da0b6(0x261)]),Object['entries'](_0x39676d)['forEach'](([_0x2f91a7,_0x197521])=>{const _0x49adae=_0x4da0b6;typeof _0x197521==_0x49adae(0x1ba)&&(_0x39676d[_0x2f91a7]=_0x197521[_0x49adae(0x23e)](/url\(#(.*)\)/,_0x49adae(0x28a)+_0x396b23[_0x49adae(0x261)]+')'));}),_0x39676d);}function _0x203da1(_0x2cbb4b,_0x3f03ab){const _0x4eb7c2=_0x2c832d;var _0xa4daed;let {defIds:_0x330fa5}=_0x3f03ab;return!_0x330fa5||_0x330fa5[_0x4eb7c2(0x1e6)]===0x0?_0x2cbb4b:_0x2cbb4b[_0x4eb7c2(0x499)]===_0x4eb7c2(0x2ac)&&(_0xa4daed=_0x2cbb4b[_0x4eb7c2(0x2e6)])!=null&&_0xa4daed[_0x4eb7c2(0x1e6)]?{..._0x2cbb4b,'children':_0x2cbb4b['children']['map'](_0x5d3ff7=>typeof _0x5d3ff7[_0x4eb7c2(0x230)]['id']==_0x4eb7c2(0x1ba)&&_0x330fa5&&_0x330fa5['includes'](_0x5d3ff7[_0x4eb7c2(0x230)]['id'])?{..._0x5d3ff7,'attrs':{..._0x5d3ff7[_0x4eb7c2(0x230)],'id':_0x5d3ff7['attrs']['id']+_0x3f03ab[_0x4eb7c2(0x261)]}}:_0x5d3ff7)}:_0x2cbb4b;}function _0xbf0d7(){const _0xc4a080=_0x2c832d;return Math[_0xc4a080(0x1dd)]()[_0xc4a080(0x263)](0x24)[_0xc4a080(0x25e)](0x2,0x8);}_0xe4b778[_0x2c832d(0x25a)]=_0x2c832d(0x482);let _0x2ccd5e={'tag':_0x2c832d(0x20a),'attrs':{'xmlns':_0x2c832d(0x3ec),'fill':_0x2c832d(0x484),'viewBox':_0x2c832d(0x1e0),'width':'1em','height':_0x2c832d(0x311)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x2c832d(0x20f),'attrs':{'stroke':_0x2c832d(0x1d2),'d':_0x2c832d(0x3f2),'strokeLinecap':_0x2c832d(0x47c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x2c832d(0x20f),'attrs':{'fill':_0x2c832d(0x461),'d':_0x2c832d(0x1e8)}}]}]}],'defIds':[_0x2c832d(0x337)]},_0x206c92=(0x0,_0x41dd93[_0x2c832d(0x2fd)])(function(_0x5566b3,_0x48aeb0){const _0xe07734=_0x2c832d;return(0x0,_0x41dd93[_0xe07734(0x310)])(_0xe4b778,Object[_0xe07734(0x32d)]({},_0x5566b3,{'id':'off-line-icon','ref':_0x48aeb0,'icon':_0x2ccd5e}));});_0x206c92[_0x2c832d(0x25a)]=_0x2c832d(0x1b2);let _0x5e8e3d={'tag':_0x2c832d(0x20a),'attrs':{'xmlns':_0x2c832d(0x3ec),'fill':_0x2c832d(0x484),'viewBox':_0x2c832d(0x40c),'width':_0x2c832d(0x311),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2c832d(0x326)},'children':[{'tag':_0x2c832d(0x20f),'attrs':{'stroke':_0x2c832d(0x1d2),'d':_0x2c832d(0x20b),'strokeLinecap':_0x2c832d(0x47c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2c832d(0x2ac),'attrs':{},'children':[{'tag':_0x2c832d(0x277),'attrs':{'id':_0x2c832d(0x3f6)},'children':[{'tag':'path','attrs':{'fill':_0x2c832d(0x461),'d':_0x2c832d(0x1e8),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2c832d(0x3f6)]},_0x4ca495=(0x0,_0x41dd93['forwardRef'])(function(_0x12fa26,_0x2eb8ac){const _0x3abf78=_0x2c832d;return(0x0,_0x41dd93[_0x3abf78(0x310)])(_0xe4b778,Object[_0x3abf78(0x32d)]({},_0x12fa26,{'id':_0x3abf78(0x351),'ref':_0x2eb8ac,'icon':_0x5e8e3d}));});_0x4ca495[_0x2c832d(0x25a)]=_0x2c832d(0x1a0);function _0x4e19d0(_0x3a4399){const _0x2d68bb=_0x2c832d;switch(_0x3a4399){case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x289)]:return _0x2d68bb(0x27b);case _0x3839b9['CollaborationStatus'][_0x2d68bb(0x3a6)]:return _0x2d68bb(0x43e);case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x414)]:return'collabStatus.fetchMiss';case _0x3839b9[_0x2d68bb(0x2b6)]['NOT_COLLAB']:return _0x2d68bb(0x426);case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x1c8)]:case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x47b)]:return _0x2d68bb(0x38e);case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x493)]:case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x42b)]:return'collabStatus.synced';}}function _0x2e5e12(_0x4d5491){const _0x217ba2=_0x2c832d;let {status$:_0x435c9a}=_0x4d5491,_0x17b16f=(0x0,_0x197442['useObservable'])(_0x435c9a,_0x3839b9[_0x217ba2(0x2b6)][_0x217ba2(0x222)]),_0x1a9ada=(0x0,_0x197442['useDependency'])(_0x412392['LocaleService']),_0x2d7f0c=(0x0,_0x197442[_0x217ba2(0x3d9)])(_0x3839b9[_0x217ba2(0x37f)]),_0x2227ba=_0x17b16f!==_0x3839b9['CollaborationStatus']['OFFLINE'],_0x21b371=_0x1a9ada['t'](_0x4e19d0(_0x17b16f)),_0x294cf8=_0x2227ba?(0x0,_0xec8f0c['jsx'])(_0x4ca495,{}):(0x0,_0xec8f0c[_0x217ba2(0x1db)])(_0x206c92,{}),_0xbc7ce4=(0x0,_0x41dd93[_0x217ba2(0x2fb)])(()=>{const _0x2f18ed=_0x217ba2;_0x2227ba||_0x2d7f0c[_0x2f18ed(0x39c)]();},[_0x2227ba,_0x2d7f0c]);function _0x5cdb4b(){const _0x12bc6c=_0x217ba2;return(0x0,_0xec8f0c[_0x12bc6c(0x39b)])(_0x12bc6c(0x4a8),{'className':_0x12bc6c(0x3f7),'onClick':_0xbc7ce4,'children':[(0x0,_0xec8f0c[_0x12bc6c(0x1db)])(_0x12bc6c(0x4a8),{'className':(0x0,_0x39ba33[_0x12bc6c(0x34e)])(_0x12bc6c(0x24f),{'univer-text-green-500':_0x2227ba,'univer-text-red-500':!_0x2227ba}),'children':_0x294cf8}),(0x0,_0xec8f0c[_0x12bc6c(0x1db)])(_0x12bc6c(0x4a8),{'className':_0x12bc6c(0x30b),'children':_0x21b371})]});}return _0x2227ba?_0x5cdb4b():(0x0,_0xec8f0c[_0x217ba2(0x1db)])(_0x39ba33[_0x217ba2(0x451)],{'title':_0x1a9ada['t'](_0x217ba2(0x3b3)),'children':_0x5cdb4b()});}function _0x38acbe(_0x3c162a){'@babel/helpers - typeof';const _0x2dd107=_0x2c832d;return _0x38acbe=typeof Symbol==_0x2dd107(0x441)&&typeof Symbol[_0x2dd107(0x347)]==_0x2dd107(0x26d)?function(_0x1d3f67){return typeof _0x1d3f67;}:function(_0x2c35e4){const _0x2d429d=_0x2dd107;return _0x2c35e4&&typeof Symbol==_0x2d429d(0x441)&&_0x2c35e4[_0x2d429d(0x249)]===Symbol&&_0x2c35e4!==Symbol[_0x2d429d(0x278)]?_0x2d429d(0x26d):typeof _0x2c35e4;},_0x38acbe(_0x3c162a);}function _0x5dc897(_0x28a693,_0x252bd4){const _0x28c637=_0x2c832d;if(_0x38acbe(_0x28a693)!='object'||!_0x28a693)return _0x28a693;var _0x237dee=_0x28a693[Symbol[_0x28c637(0x3a7)]];if(_0x237dee!==void 0x0){var _0x2fd15a=_0x237dee[_0x28c637(0x3a9)](_0x28a693,_0x252bd4||_0x28c637(0x2c8));if(_0x38acbe(_0x2fd15a)!=_0x28c637(0x207))return _0x2fd15a;throw TypeError(_0x28c637(0x254));}return(_0x252bd4===_0x28c637(0x1ba)?String:Number)(_0x28a693);}function _0x4e7b89(_0x3cbe0b){const _0x4377b2=_0x2c832d;var _0xf5954f=_0x5dc897(_0x3cbe0b,_0x4377b2(0x1ba));return _0x38acbe(_0xf5954f)==_0x4377b2(0x26d)?_0xf5954f:_0xf5954f+'';}function _0x4a0977(_0x223235,_0x41c30d,_0x15f8e5){return(_0x41c30d=_0x4e7b89(_0x41c30d))in _0x223235?Object['defineProperty'](_0x223235,_0x41c30d,{'value':_0x15f8e5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x223235[_0x41c30d]=_0x15f8e5,_0x223235;}function _0x144f1b(_0x47e639,_0x31249a){return function(_0x433476,_0x42875c){_0x31249a(_0x433476,_0x42875c,_0x47e639);};}function _0x568561(_0x2642f6,_0x1dad74,_0x5b14e8,_0x295d86){const _0x91ac43=_0x2c832d;var _0x40424d=arguments[_0x91ac43(0x1e6)],_0x438277=_0x40424d<0x3?_0x1dad74:_0x295d86===null?_0x295d86=Object[_0x91ac43(0x320)](_0x1dad74,_0x5b14e8):_0x295d86,_0x92b869;if(typeof Reflect==_0x91ac43(0x207)&&typeof Reflect[_0x91ac43(0x1bb)]=='function')_0x438277=Reflect[_0x91ac43(0x1bb)](_0x2642f6,_0x1dad74,_0x5b14e8,_0x295d86);else{for(var _0xc8e714=_0x2642f6[_0x91ac43(0x1e6)]-0x1;_0xc8e714>=0x0;_0xc8e714--)(_0x92b869=_0x2642f6[_0xc8e714])&&(_0x438277=(_0x40424d<0x3?_0x92b869(_0x438277):_0x40424d>0x3?_0x92b869(_0x1dad74,_0x5b14e8,_0x438277):_0x92b869(_0x1dad74,_0x5b14e8))||_0x438277);}return _0x40424d>0x3&&_0x438277&&Object[_0x91ac43(0x361)](_0x1dad74,_0x5b14e8,_0x438277),_0x438277;}let _0x51fe36=class extends _0x412392['Disposable']{constructor(_0x5cadb5,_0x2b7ce9,_0x4d8385,_0x2d6edb){const _0x14b7d7=_0x2c832d;super(),this[_0x14b7d7(0x206)]=_0x5cadb5,this[_0x14b7d7(0x3b8)]=_0x2b7ce9,this[_0x14b7d7(0x389)]=_0x4d8385,this['_uiPartsService']=_0x2d6edb,_0x4a0977(this,_0x14b7d7(0x471),new _0x1af95b[(_0x14b7d7(0x3d7))](_0x3839b9[_0x14b7d7(0x2b6)][_0x14b7d7(0x222)])),this[_0x14b7d7(0x1df)](),this[_0x14b7d7(0x390)]();}[_0x2c832d(0x390)](){const _0x425ce4=_0x2c832d;this['disposeWithMe'](this[_0x425ce4(0x206)][_0x425ce4(0x1f5)][_0x425ce4(0x1ed)]((0x0,_0x1af95b['switchMap'])(()=>{const _0x58e5c8=_0x425ce4;let _0x5cd474=this['_univerInstanceService'][_0x58e5c8(0x4a0)]();return _0x5cd474?this[_0x58e5c8(0x389)]['getCollabEntity$'](_0x5cd474[_0x58e5c8(0x418)]()):(0x0,_0x1af95b['of'])(null);}),(0x0,_0x1af95b[_0x425ce4(0x2e1)])(_0x43394d=>_0x43394d?_0x43394d[_0x425ce4(0x34f)]:(0x0,_0x1af95b['of'])(_0x3839b9[_0x425ce4(0x2b6)][_0x425ce4(0x222)])))[_0x425ce4(0x2ef)](_0x26901f=>{const _0x98ac4=_0x425ce4;this[_0x98ac4(0x471)][_0x98ac4(0x34a)](_0x26901f);}));}[_0x2c832d(0x1df)](){const _0x1c757f=_0x2c832d;this[_0x1c757f(0x319)](this[_0x1c757f(0x4a5)][_0x1c757f(0x495)](_0x197442['BuiltInUIPart'][_0x1c757f(0x386)],()=>(0x0,_0x197442[_0x1c757f(0x30d)])(_0x409b3f({'status$':this['_status$'][_0x1c757f(0x280)]()}),this['_injector'])));}};_0x51fe36=_0x568561([_0x144f1b(0x0,_0x412392['IUniverInstanceService']),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x2,(0x0,_0x412392['Inject'])(_0x3839b9['CollaborationController'])),_0x144f1b(0x3,_0x197442[_0x2c832d(0x1bf)])],_0x51fe36);function _0x409b3f(_0x42363e){let {status$:_0x5d12f3}=_0x42363e;return function(){const _0x57423d=_0xff8c;return(0x0,_0xec8f0c[_0x57423d(0x1db)])(_0x2e5e12,{'status$':_0x5d12f3});};}let _0x8c589b=(0x0,_0x412392[_0x2c832d(0x35d)])(_0x2c832d(0x3c0)),_0x2109df=class extends _0x412392[_0x2c832d(0x2df)]{constructor(_0x3f4370,_0x452d40,_0x5c861a,_0x1e7bfd,_0x1ca64b){const _0xc97d17=_0x2c832d;super(),this[_0xc97d17(0x423)]=_0x3f4370,this[_0xc97d17(0x436)]=_0x452d40,this[_0xc97d17(0x3b6)]=_0x5c861a,this['_dataLoaderService']=_0x1e7bfd,_0x1ca64b?_0x1ca64b==null||_0x1ca64b[_0xc97d17(0x2c3)]()['then'](()=>this['_init']()):(this[_0xc97d17(0x436)][_0xc97d17(0x456)]('[CollaborationDataLoaderController]',_0xc97d17(0x2ea)),this[_0xc97d17(0x21c)]());}async[_0x2c832d(0x21c)](){const _0x564ec6=_0x2c832d;let _0x4734ad=this[_0x564ec6(0x423)][_0x564ec6(0x25f)](_0x564ec6(0x36c)),_0x3c5773=this[_0x564ec6(0x423)][_0x564ec6(0x25f)](_0x564ec6(0x199)),_0x5da80f=this[_0x564ec6(0x423)][_0x564ec6(0x25f)](_0x564ec6(0x417));if(!_0x4734ad||!_0x3c5773){this[_0x564ec6(0x436)][_0x564ec6(0x456)](_0x564ec6(0x2bd),_0x564ec6(0x240));return;}let _0x1dcb4e=await this['_dataLoaderService'][_0x564ec6(0x2ce)](_0x4734ad,Number(_0x3c5773),_0x5da80f);_0x1dcb4e&&_0x1dcb4e instanceof _0x412392[_0x564ec6(0x3c6)]&&this[_0x564ec6(0x33e)](_0x1dcb4e);}async['_setupSubUnitSync'](_0x563676){const _0x2d4bd1=_0x2c832d;await this[_0x2d4bd1(0x276)](_0x563676),_0x563676[_0x2d4bd1(0x1a9)][_0x2d4bd1(0x1ed)]((0x0,_0x1af95b[_0x2d4bd1(0x37d)])(this[_0x2d4bd1(0x378)]))['subscribe'](_0x3cb0f5=>{_0x3cb0f5&&this['_updateURLWithCurrentState'](_0x3cb0f5);}),this[_0x2d4bd1(0x423)][_0x2d4bd1(0x1e7)]['pipe']((0x0,_0x1af95b[_0x2d4bd1(0x37d)])(this[_0x2d4bd1(0x378)]))['subscribe'](()=>this[_0x2d4bd1(0x276)](_0x563676));}[_0x2c832d(0x437)](_0xf3c661,_0x2eb34a=!0x1){const _0x645c9c=_0x2c832d;let _0x2c00a7=this[_0x645c9c(0x423)]['getParam'](_0x645c9c(0x417));_0xf3c661[_0x645c9c(0x38d)]()!==_0x2c00a7&&this[_0x645c9c(0x423)][_0x645c9c(0x1a6)](_0x645c9c(0x417),_0xf3c661[_0x645c9c(0x38d)](),_0x2eb34a);}async['_updateSubUnitFromURLParams'](_0x5a1f3d){const _0x4d5bfc=_0x2c832d;var _0x15cc2c;let _0x3b87e9=this[_0x4d5bfc(0x423)][_0x4d5bfc(0x25f)](_0x4d5bfc(0x417));if(!_0x3b87e9||!_0x5a1f3d[_0x4d5bfc(0x2a9)](_0x3b87e9)){let _0x24f313=_0x5a1f3d[_0x4d5bfc(0x224)]()[0x0],_0x27270d=_0x5a1f3d[_0x4d5bfc(0x2a9)](_0x24f313);if(!_0x27270d)return;this[_0x4d5bfc(0x437)](_0x27270d,!0x0),await this['_commandService']['executeCommand'](_0x36e5e1['SetWorksheetActivateCommand']['id'],{'unitId':_0x5a1f3d[_0x4d5bfc(0x418)](),'subUnitId':_0x24f313});return;}((_0x15cc2c=_0x5a1f3d[_0x4d5bfc(0x48f)]())==null?void 0x0:_0x15cc2c[_0x4d5bfc(0x38d)]())!==_0x3b87e9&&await this[_0x4d5bfc(0x3b6)][_0x4d5bfc(0x2d6)](_0x36e5e1['SetWorksheetActivateCommand']['id'],{'unitId':_0x5a1f3d[_0x4d5bfc(0x418)](),'subUnitId':_0x3b87e9});}};_0x2109df=_0x568561([_0x144f1b(0x0,_0x8c589b),_0x144f1b(0x1,_0x412392[_0x2c832d(0x4b3)]),_0x144f1b(0x2,_0x412392[_0x2c832d(0x335)]),_0x144f1b(0x3,(0x0,_0x412392['Inject'])(_0x3839b9[_0x2c832d(0x360)])),_0x144f1b(0x4,(0x0,_0x412392[_0x2c832d(0x20d)])(_0x3d3cc4['IRemoteInstanceService']))],_0x2109df);var _0x29c032='@univerjs-pro/collaboration-client-ui',_0x35beee=_0x2c832d(0x257);let _0x3d1d63=class extends _0x412392['RxDisposable']{constructor(_0x564d80,_0x44621c){const _0x2ab993=_0x2c832d;super(),this[_0x2ab993(0x318)]=_0x564d80,this['_imageIoService']=_0x44621c,this[_0x2ab993(0x21c)]();}['_init'](){const _0x3f8733=_0x2c832d;let _0x31866e=this;this[_0x3f8733(0x319)](this[_0x3f8733(0x318)][_0x3f8733(0x412)]({'onBeforePasteImage':async _0x337244=>{const _0x2baae9=_0x3f8733;let _0x1635d2=await _0x31866e[_0x2baae9(0x3cb)][_0x2baae9(0x205)](_0x337244);return _0x1635d2?{'source':_0x1635d2[_0x2baae9(0x497)],'imageSourceType':_0x1635d2[_0x2baae9(0x287)]}:null;}}));}};_0x3d1d63=_0x568561([_0x144f1b(0x0,_0x493739[_0x2c832d(0x4a2)]),_0x144f1b(0x1,_0x556f51[_0x2c832d(0x1da)])],_0x3d1d63);let _0x2df781=['purple.300','jiqing.500',_0x2c832d(0x267),_0x2c832d(0x2f6),_0x2c832d(0x3db),_0x2c832d(0x489)];var _0x4ad64a=class extends _0x412392[_0x2c832d(0x29e)]{constructor(..._0x5e1730){const _0x2461c7=_0x2c832d;super(..._0x5e1730),_0x4a0977(this,'_assignedColors',new Map()),_0x4a0977(this,_0x2461c7(0x2dd),0x0);}['assignAColorForMemberID'](_0x3a8544){const _0x5dd90f=_0x2c832d;if(this[_0x5dd90f(0x331)][_0x5dd90f(0x27c)](_0x3a8544))return this[_0x5dd90f(0x331)][_0x5dd90f(0x24d)](_0x3a8544);let _0x158f71=_0x2df781[this[_0x5dd90f(0x2dd)]];return this[_0x5dd90f(0x2dd)]=(this[_0x5dd90f(0x2dd)]+0x1)%_0x2df781[_0x5dd90f(0x1e6)],this[_0x5dd90f(0x331)]['set'](_0x3a8544,_0x158f71),_0x158f71;}},_0x573e6b=function(_0x36341c){const _0x10ac47=_0x2c832d;return _0x36341c['Active']='1',_0x36341c[_0x10ac47(0x21a)]='0',_0x36341c;}(_0x573e6b||{});function _0x17be86(_0x54ca13){const _0x1cc3c7=_0x2c832d;let _0x120dd5='';for(let _0x3713aa of _0x54ca13){let {startOffset:_0x2a3046,endOffset:_0x1cc35c,isActive:_0x3727c6,rangeType:_0x40550c,segmentId:_0x4c18d1,segmentPage:_0x3bb238}=_0x3713aa;_0x120dd5[_0x1cc3c7(0x1e6)]&&(_0x120dd5+=','),_0x120dd5+=_0x2a3046+':'+_0x1cc35c+':'+(_0x3727c6?_0x573e6b['Active']:_0x573e6b[_0x1cc3c7(0x21a)])+':'+_0x40550c+':'+_0x4c18d1+':'+_0x3bb238;}return _0x120dd5;}function _0xe8c5f2(_0xd6e311){const _0x11d47d=_0x2c832d;let _0xb0b110=_0xd6e311['split'](','),_0x4f4751=[];for(let _0x302e55 of _0xb0b110){let [_0x9f4661,_0x1e9e3d,_0x2dd8a9,_0x2a63c4,_0x5cc43c,_0x3e4071]=_0x302e55[_0x11d47d(0x49f)](':');_0x4f4751[_0x11d47d(0x1ee)]({'startOffset':Number(_0x9f4661),'endOffset':Number(_0x1e9e3d),'collapsed':_0x9f4661===_0x1e9e3d,'isActive':_0x2dd8a9===_0x573e6b[_0x11d47d(0x293)],'rangeType':_0x2a63c4===_0x412392['DOC_RANGE_TYPE'][_0x11d47d(0x246)]?_0x412392[_0x11d47d(0x398)][_0x11d47d(0x246)]:_0x412392[_0x11d47d(0x398)]['RECT'],'segmentId':typeof _0x5cc43c==_0x11d47d(0x1ba)?String(_0x5cc43c):'','segmentPage':Number(_0x3e4071==null?-0x1:_0x3e4071)});}return _0x4f4751['some'](_0x461781=>_0x461781['isActive'])||(_0x4f4751[0x0]['isActive']=!0x0),_0x4f4751;}var _0x1fb69b=class extends _0x412392[_0x2c832d(0x2df)]{constructor(..._0x186721){const _0xce53eb=_0x2c832d;super(..._0x186721),_0x4a0977(this,_0xce53eb(0x248),new _0x1af95b[(_0xce53eb(0x3d7))](null)),_0x4a0977(this,_0xce53eb(0x21b),this[_0xce53eb(0x248)]['asObservable']());}[_0x2c832d(0x3b0)](_0x2b6740){const _0x5886d2=_0x2c832d;let {unitID:_0x214141,memberID:_0x5c2e1e,textRanges:_0x454c1b}=_0x2b6740,_0x34392a=_0x17be86(_0x454c1b);if(_0x34392a==='')return;let _0x4c0be6={'unitID':_0x214141,'memberID':_0x5c2e1e,'selection':_0x34392a};this[_0x5886d2(0x248)][_0x5886d2(0x34a)](_0x4c0be6);}};let _0x56c11f=class extends _0x412392['RxDisposable']{get['cursorInfo'](){const _0x295d3f=_0x2c832d;return this[_0x295d3f(0x355)]['getValue']();}get[_0x2c832d(0x3ad)](){const _0x584ee3=_0x2c832d;return this['_roomMembers$'][_0x584ee3(0x42c)]();}constructor(_0x3d61cf,_0x3477ed,_0x1f2441,_0x4b4efb,_0x8ba546,_0x37db4d,_0xc2421c,_0x1ebfc8,_0x3c233b){const _0xba8cce=_0x2c832d;super(),this[_0xba8cce(0x3a5)]=_0x3d61cf,this[_0xba8cce(0x479)]=_0x3477ed,this[_0xba8cce(0x3b8)]=_0x1f2441,this[_0xba8cce(0x2c2)]=_0x4b4efb,this['_memberService']=_0x8ba546,this[_0xba8cce(0x22a)]=_0x37db4d,this[_0xba8cce(0x32c)]=_0xc2421c,this[_0xba8cce(0x206)]=_0x1ebfc8,this['_commandService']=_0x3c233b,_0x4a0977(this,_0xba8cce(0x202),!0x1),_0x4a0977(this,'_init',!0x1),_0x4a0977(this,'_cursorInfo$',new _0x1af95b[(_0xba8cce(0x3d7))](new Map())),_0x4a0977(this,_0xba8cce(0x1e3),this[_0xba8cce(0x355)]['asObservable']()),_0x4a0977(this,_0xba8cce(0x472),new _0x1af95b[(_0xba8cce(0x3d7))]([])),_0x4a0977(this,'roomMembers$',this[_0xba8cce(0x472)]['pipe']((0x0,_0x1af95b[_0xba8cce(0x3e2)])(0x12c))),_0x4a0977(this,_0xba8cce(0x3cc),(0x0,_0x412392[_0xba8cce(0x46e)])(_0x169118=>{const _0x24878a=_0xba8cce;let _0x12deb6={'eventID':_0x584220['CollaborationEvent'][_0x24878a(0x1a8)],'data':{'unitID':this[_0x24878a(0x3a5)],'memberID':this['_session']['getMemberID'](),'selection':_0x17be86(_0x169118)}};this[_0x24878a(0x479)]['send'](_0x12deb6,this[_0x24878a(0x3a5)]);},0x64));}['dispose'](){const _0x40789e=_0x2c832d;super[_0x40789e(0x43c)](),this[_0x40789e(0x355)][_0x40789e(0x34a)](new Map()),this['_cursorInfo$'][_0x40789e(0x46c)](),this[_0x40789e(0x472)]['next']([]),this['_roomMembers$'][_0x40789e(0x46c)]();}[_0x2c832d(0x305)](){const _0x5aa727=_0x2c832d;this['_init']||(this['_init']=!0x0,this['_session'][_0x5aa727(0x356)][_0x5aa727(0x1ed)]((0x0,_0x1af95b[_0x5aa727(0x37d)])(this[_0x5aa727(0x378)]))['subscribe'](_0x10a04f=>{const _0xf3dd51=_0x5aa727;_0x10a04f===_0x3839b9[_0xf3dd51(0x1f7)][_0xf3dd51(0x2a6)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x5aa727(0x479)][_0x5aa727(0x1b0)][_0x5aa727(0x1ed)]((0x0,_0x1af95b['takeUntil'])(this[_0x5aa727(0x378)]))[_0x5aa727(0x2ef)](_0x10c243=>{const _0x1a00d8=_0x5aa727;let _0x207d0b=_0x10c243[_0x1a00d8(0x40b)];_0x207d0b===_0x584220['CollaborationEvent'][_0x1a00d8(0x1a8)]&&this[_0x1a00d8(0x2f4)](_0x10c243),_0x207d0b===_0x584220[_0x1a00d8(0x410)][_0x1a00d8(0x384)]&&this[_0x1a00d8(0x2af)](_0x10c243);}),this['disposeWithMe'](this[_0x5aa727(0x3b6)][_0x5aa727(0x30a)](_0x3a7e8a=>{const _0x1e422c=_0x5aa727;let _0x68397a=_0x3a7e8a[_0x1e422c(0x29c)];_0x68397a!=null&&this[_0x1e422c(0x202)]&&_0x3a7e8a['id']===_0x5bad8c[_0x1e422c(0x367)]['id']&&_0x68397a[_0x1e422c(0x366)]===this['unitID']&&_0x68397a[_0x1e422c(0x2da)]===!0x1&&_0x68397a[_0x1e422c(0x239)][_0x1e422c(0x1e6)]>0x0&&this[_0x1e422c(0x3cc)](_0x68397a[_0x1e422c(0x239)]);})),this[_0x5aa727(0x22a)][_0x5aa727(0x21b)][_0x5aa727(0x1ed)]((0x0,_0x1af95b[_0x5aa727(0x37d)])(this[_0x5aa727(0x378)]))[_0x5aa727(0x2ef)](_0x63c5da=>{const _0x3cdcd0=_0x5aa727;if((_0x63c5da==null?void 0x0:_0x63c5da[_0x3cdcd0(0x3a5)])!==this[_0x3cdcd0(0x3a5)])return;let _0x4b5661={'eventID':_0x584220[_0x3cdcd0(0x410)]['UPDATE_CURSOR'],'data':_0x63c5da};this[_0x3cdcd0(0x2f4)](_0x4b5661);}),this[_0x5aa727(0x319)](this[_0x5aa727(0x3b6)][_0x5aa727(0x30a)](_0x312ea1=>{const _0x2c5133=_0x5aa727;if(_0x312ea1[_0x2c5133(0x29c)]==null)return;let _0x2b7a14=_0x312ea1[_0x2c5133(0x29c)];if(_0x312ea1['id']!==_0x5bad8c[_0x2c5133(0x3ac)]['id']||_0x2b7a14[_0x2c5133(0x366)]!==this[_0x2c5133(0x3a5)])return;let _0x3d7194={'id':'doc.mutation.rich-text-editing','params':_0x2b7a14},_0x4f3fd2=this[_0x2c5133(0x37e)];for(let [_0x4b8328,_0x39b019]of _0x4f3fd2){let _0x2fdec6={'id':_0x2c5133(0x44a),'params':{'unitId':this[_0x2c5133(0x3a5)],'actions':null,'textRanges':_0x39b019['ranges']}},_0x4b3dc3=this[_0x2c5133(0x32c)][_0x2c5133(0x48b)](_0x3d7194,_0x2fdec6,!0x1);if((0x0,_0x584220[_0x2c5133(0x270)])(_0x4b3dc3))throw _0x4b3dc3[_0x2c5133(0x286)];_0x4f3fd2[_0x2c5133(0x2c9)](_0x4b8328,{..._0x39b019,'ranges':_0x4b3dc3[_0x2c5133(0x39a)]['params']['textRanges']});}queueMicrotask(()=>{const _0x391745=_0x2c5133;this[_0x391745(0x355)][_0x391745(0x34a)](_0x4f3fd2);});})));}[_0x2c832d(0x2f4)](_0x984952){const _0x4772af=_0x2c832d;var _0x30341d,_0x18685d;let {memberID:_0x37f48c,selection:_0x56d379}=_0x984952[_0x4772af(0x496)],_0x261701=_0xe8c5f2(_0x56d379),_0x4ea620=(_0x30341d=(_0x18685d=this[_0x4772af(0x454)][_0x4772af(0x38f)](this['unitID'],_0x37f48c))==null?void 0x0:_0x18685d[_0x4772af(0x2b7)])==null?'Unknown\x20user':_0x30341d,_0xde7537={'color':this['_colorAssignService'][_0x4772af(0x300)](_0x37f48c),'name':_0x4ea620,'ranges':_0x261701},_0x55b222=this[_0x4772af(0x37e)];_0x55b222[_0x4772af(0x2c9)](_0x37f48c,_0xde7537),this[_0x4772af(0x355)][_0x4772af(0x34a)](_0x55b222);}[_0x2c832d(0x2af)](_0x71b779){const _0x2883ad=_0x2c832d;let {memberID:_0x61bf49}=_0x71b779[_0x2883ad(0x496)],_0x5a480b=this[_0x2883ad(0x37e)];_0x5a480b[_0x2883ad(0x44c)](_0x61bf49),this[_0x2883ad(0x355)][_0x2883ad(0x34a)](_0x5a480b);}[_0x2c832d(0x1d5)](){const _0x5ba697=_0x2c832d;var _0x21b3b6;if(this[_0x5ba697(0x202)]=!0x0,((_0x21b3b6=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x21b3b6[_0x5ba697(0x418)]())!==this[_0x5ba697(0x3a5)])return;let _0x43cda8=this['_injector'][_0x5ba697(0x24d)](_0x5bad8c[_0x5ba697(0x2ec)])[_0x5ba697(0x3d0)]();Array['isArray'](_0x43cda8)&&_0x43cda8['length']>0x0&&this['_updateLocalCursor'](_0x43cda8);}[_0x2c832d(0x24a)](){const _0x1fcc7e=_0x2c832d;this[_0x1fcc7e(0x202)]=!0x1;}};_0x56c11f=_0x568561([_0x144f1b(0x2,(0x0,_0x412392['Inject'])(_0x412392[_0x2c832d(0x22b)])),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x4ad64a)),_0x144f1b(0x4,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9[_0x2c832d(0x26c)])),_0x144f1b(0x5,(0x0,_0x412392['Inject'])(_0x1fb69b)),_0x144f1b(0x6,_0x584220[_0x2c832d(0x28b)]),_0x144f1b(0x7,_0x412392[_0x2c832d(0x1ac)]),_0x144f1b(0x8,_0x412392[_0x2c832d(0x335)])],_0x56c11f);let _0x145f34=()=>{let _0x33afdd=[],_0x4472d1=!0x1;return _0x454827=>{const _0x5600d8=_0xff8c;_0x33afdd[_0x5600d8(0x1ee)](_0x454827),_0x4472d1||(_0x4472d1=!0x0,setTimeout(()=>{const _0x1115f7=_0x5600d8;_0x33afdd[_0x1115f7(0x341)](_0x15e179=>_0x15e179()),_0x33afdd=[],_0x4472d1=!0x1;}));};},_0x66be99=class extends _0x412392[_0x2c832d(0x2df)]{get['cursorInfo'](){const _0xe2f175=_0x2c832d;return this['_cursorInfo$'][_0xe2f175(0x42c)]();}get['roomMembers'](){const _0x40db0a=_0x2c832d;return this[_0x40db0a(0x472)]['getValue']();}constructor(_0x5d908d,_0x189fdd,_0xd94cf1,_0x7d1824,_0xbd01f5,_0x11bcf8,_0x2fa631,_0x312344){const _0x4f3db0=_0x2c832d;super(),this[_0x4f3db0(0x3a5)]=_0x5d908d,this['_session']=_0x189fdd,this['_injector']=_0xd94cf1,this[_0x4f3db0(0x2c2)]=_0x7d1824,this['_memberService']=_0xbd01f5,this['_univerInstanceService']=_0x11bcf8,this[_0x4f3db0(0x3b6)]=_0x2fa631,this[_0x4f3db0(0x33b)]=_0x312344,_0x4a0977(this,_0x4f3db0(0x202),!0x1),_0x4a0977(this,'_init',!0x1),_0x4a0977(this,_0x4f3db0(0x355),new _0x1af95b[(_0x4f3db0(0x3d7))](new Map())),_0x4a0977(this,_0x4f3db0(0x1e3),this[_0x4f3db0(0x355)][_0x4f3db0(0x280)]()),_0x4a0977(this,_0x4f3db0(0x472),new _0x1af95b[(_0x4f3db0(0x3d7))]([])),_0x4a0977(this,_0x4f3db0(0x265),this[_0x4f3db0(0x472)][_0x4f3db0(0x1ed)]((0x0,_0x1af95b[_0x4f3db0(0x3e2)])(0x12c))),_0x4a0977(this,_0x4f3db0(0x3cc),(0x0,_0x412392['debounce'])((_0x38f0ff,_0x3dfba0)=>{const _0x2c9d84=_0x4f3db0;let _0x24a1c0={'eventID':_0x584220[_0x2c9d84(0x410)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2c9d84(0x3a5)],'memberID':this[_0x2c9d84(0x479)]['getMemberID'](),'selection':(0x0,_0x3eef3a['serializeRangeWithSheet'])(_0x38f0ff,_0x3dfba0[_0x2c9d84(0x25c)])}};this[_0x2c9d84(0x479)][_0x2c9d84(0x3e8)](_0x24a1c0,this[_0x2c9d84(0x3a5)]);},0x64));}[_0x2c832d(0x43c)](){const _0x15a4b4=_0x2c832d;super[_0x15a4b4(0x43c)](),this[_0x15a4b4(0x355)][_0x15a4b4(0x34a)](new Map()),this['_cursorInfo$']['complete'](),this[_0x15a4b4(0x472)][_0x15a4b4(0x34a)]([]),this['_roomMembers$'][_0x15a4b4(0x46c)]();}[_0x2c832d(0x305)](){const _0x2b9a69=_0x2c832d;this[_0x2b9a69(0x21c)]||(this[_0x2b9a69(0x21c)]=!0x0,this[_0x2b9a69(0x479)][_0x2b9a69(0x356)][_0x2b9a69(0x1ed)]((0x0,_0x1af95b[_0x2b9a69(0x37d)])(this['dispose$']))[_0x2b9a69(0x2ef)](_0x350f2c=>{const _0x4311f6=_0x2b9a69;_0x350f2c===_0x3839b9[_0x4311f6(0x1f7)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x2b9a69(0x1b0)][_0x2b9a69(0x1ed)]((0x0,_0x1af95b[_0x2b9a69(0x37d)])(this['dispose$']))[_0x2b9a69(0x2ef)](_0xde394a=>{const _0xb8472a=_0x2b9a69;let _0x5bcbc3=_0xde394a[_0xb8472a(0x40b)];_0x5bcbc3===_0x584220[_0xb8472a(0x410)]['UPDATE_CURSOR']&&this[_0xb8472a(0x2f4)](_0xde394a),_0x5bcbc3===_0x584220[_0xb8472a(0x410)]['USERS_LEAVE']&&this[_0xb8472a(0x2af)](_0xde394a);}),this[_0x2b9a69(0x49c)](),this['disposeWithMe'](this[_0x2b9a69(0x3b6)]['onCommandExecuted'](_0x1989e0=>{const _0x4f84ee=_0x2b9a69;if(this[_0x4f84ee(0x202)]&&_0x1989e0['id']===_0x36e5e1[_0x4f84ee(0x446)]['id']&&_0x1989e0[_0x4f84ee(0x29c)][_0x4f84ee(0x366)]===this['unitID']){let _0x36b1e5=_0x1989e0[_0x4f84ee(0x29c)];this[_0x4f84ee(0x3cc)](_0x36b1e5[_0x4f84ee(0x29f)],_0x36b1e5[_0x4f84ee(0x26e)][0x0]);}})));}[_0x2c832d(0x2f4)](_0x484688){const _0x4c9af=_0x2c832d;var _0x3a8dfb,_0x219863;let {memberID:_0x335525,selection:_0x4c04a4}=_0x484688['data'],{sheetName:_0x16385b,range:_0x45aa0a}=(0x0,_0x3eef3a[_0x4c9af(0x433)])(_0x4c04a4),_0x1126b1={'name':(_0x3a8dfb=(_0x219863=this[_0x4c9af(0x454)]['getMember'](this[_0x4c9af(0x3a5)],_0x335525))==null?void 0x0:_0x219863[_0x4c9af(0x2b7)])==null?_0x4c9af(0x3a3):_0x3a8dfb,'range':this['_getMergeRange'](_0x16385b,_0x45aa0a),'sheetID':_0x16385b,'color':this[_0x4c9af(0x2c2)][_0x4c9af(0x300)](_0x335525),'selection':_0x4c04a4},_0xad093a=this[_0x4c9af(0x37e)];_0xad093a['set'](_0x335525,_0x1126b1),this[_0x4c9af(0x355)][_0x4c9af(0x34a)](_0xad093a);}[_0x2c832d(0x2af)](_0x34dcb8){const _0x95f9f8=_0x2c832d;let {memberID:_0x15cf2f}=_0x34dcb8[_0x95f9f8(0x496)],_0x90fabb=this['cursorInfo'];_0x90fabb[_0x95f9f8(0x44c)](_0x15cf2f),this[_0x95f9f8(0x355)][_0x95f9f8(0x34a)](_0x90fabb);}[_0x2c832d(0x259)](_0x42ee86,_0x3966c8){const _0x34799b=_0x2c832d;var _0x518c0d;let _0x9fe70c=(_0x518c0d=this[_0x34799b(0x206)][_0x34799b(0x252)](this[_0x34799b(0x3a5)]))==null||(_0x518c0d=_0x518c0d[_0x34799b(0x2a9)](_0x42ee86))==null?void 0x0:_0x518c0d[_0x34799b(0x3fa)]();return(_0x9fe70c==null?void 0x0:_0x9fe70c[_0x34799b(0x215)](_0x126c45=>_0x412392[_0x34799b(0x392)]['contains'](_0x126c45,_0x3966c8)))||_0x3966c8;}['_onRefRangeChange'](){const _0x40ef54=_0x2c832d;let _0x3f9201=new _0x412392[(_0x40ef54(0x236))](),_0x5bec7f=_0x145f34(),_0x3e6881=()=>{const _0x4d67d5=_0x40ef54;_0x3f9201[_0x4d67d5(0x43c)]();let _0x4465c1=(_0x14b258,_0x7c09dd,_0x36555a,_0x178861)=>{const _0xb7e809=_0x4d67d5;let _0x1d9022=[];switch(_0x14b258['id']){case _0x36e5e1[_0xb7e809(0x403)][_0xb7e809(0x39e)]:_0x1d9022=(0x0,_0x36e5e1['handleDeleteRangeMoveLeft'])(_0x14b258,_0x178861);break;case _0x36e5e1[_0xb7e809(0x403)]['DeleteRangeMoveUpCommandId']:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x2d4)])(_0x14b258,_0x178861);break;case _0x36e5e1[_0xb7e809(0x403)][_0xb7e809(0x2d0)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x316)])(_0x14b258,_0x178861);break;case _0x36e5e1[_0xb7e809(0x403)][_0xb7e809(0x3dd)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x235)])(_0x14b258,_0x178861);break;case _0x36e5e1['EffectRefRangId'][_0xb7e809(0x3ba)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x242)])(_0x14b258,_0x178861);break;case _0x36e5e1['EffectRefRangId'][_0xb7e809(0x223)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x1fe)])(_0x14b258,_0x178861);break;case _0x36e5e1['EffectRefRangId']['MoveRangeCommandId']:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x36d)])(_0x14b258,_0x178861);break;case _0x36e5e1[_0xb7e809(0x403)][_0xb7e809(0x47f)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x3e4)])(_0x14b258,_0x178861);break;case _0x36e5e1['EffectRefRangId'][_0xb7e809(0x3d1)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x444)])(_0x14b258,_0x178861);break;}let _0x522c7d=(0x0,_0x36e5e1['runRefRangeMutations'])(_0x1d9022,_0x178861),_0x27be13=this[_0xb7e809(0x37e)][_0xb7e809(0x24d)](_0x7c09dd);if(_0x27be13&&_0x522c7d){let _0x4f62fc={..._0x27be13,'range':_0x522c7d};this[_0xb7e809(0x37e)][_0xb7e809(0x2c9)](_0x7c09dd,_0x4f62fc),_0x5bec7f(()=>{const _0x17ec8d=_0xb7e809;let _0x264ed3=this[_0x17ec8d(0x33b)][_0x17ec8d(0x396)](_0x522c7d,_0x43cdd8=>(_0x264ed3[_0x17ec8d(0x43c)](),_0x4465c1(_0x43cdd8,_0x7c09dd,_0x36555a,_0x522c7d)));_0x3f9201[_0x17ec8d(0x36a)](_0x264ed3);});}return{'redos':[],'undos':[]};};this[_0x4d67d5(0x37e)][_0x4d67d5(0x341)]((_0x3e43ea,_0x7d8252)=>{const _0x3dc77a=_0x4d67d5;let {range:_0x326f18,sheetID:_0x532950}=_0x3e43ea,_0x461c4=this['_refRangeService'][_0x3dc77a(0x396)](_0x326f18,_0x352910=>(_0x461c4[_0x3dc77a(0x43c)](),_0x4465c1(_0x352910,_0x7d8252,_0x532950,_0x326f18)));_0x3f9201[_0x3dc77a(0x36a)](_0x461c4);});};this[_0x40ef54(0x319)]((0x0,_0x412392[_0x40ef54(0x1fa)])(this[_0x40ef54(0x355)][_0x40ef54(0x2ef)](()=>{_0x3e6881();})));}[_0x2c832d(0x1d5)](){const _0x225d6a=_0x2c832d;var _0x47eed0,_0x25caa5;if(this[_0x225d6a(0x202)]=!0x0,((_0x47eed0=this[_0x225d6a(0x206)]['getFocusedUnit']())==null?void 0x0:_0x47eed0['getUnitId']())!==this[_0x225d6a(0x3a5)])return;let _0x2ae040=(_0x25caa5=this[_0x225d6a(0x3b8)][_0x225d6a(0x24d)](_0x36e5e1['SheetsSelectionsService'])[_0x225d6a(0x1ab)]())==null?void 0x0:_0x25caa5[0x0],_0x16ec7a=this[_0x225d6a(0x206)][_0x225d6a(0x306)](_0x412392[_0x225d6a(0x32f)]['UNIVER_SHEET'])[_0x225d6a(0x48f)]();_0x2ae040&&_0x16ec7a&&this[_0x225d6a(0x3cc)](_0x16ec7a['getSheetId'](),_0x2ae040);}[_0x2c832d(0x24a)](){const _0x274a8a=_0x2c832d;this[_0x274a8a(0x202)]=!0x1;}};_0x66be99=_0x568561([_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x4ad64a)),_0x144f1b(0x4,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9[_0x2c832d(0x26c)])),_0x144f1b(0x5,_0x412392[_0x2c832d(0x1ac)]),_0x144f1b(0x6,_0x412392['ICommandService']),_0x144f1b(0x7,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x36e5e1[_0x2c832d(0x2cb)]))],_0x66be99);let _0x270b73=class extends _0x412392[_0x2c832d(0x2df)]{constructor(_0x56e6b4,_0x4b3324,_0x4fe39e){const _0x10af7a=_0x2c832d;super(),this['_univerInstanceService']=_0x56e6b4,this[_0x10af7a(0x3b8)]=_0x4b3324,this['_collabSessionService']=_0x4fe39e,_0x4a0977(this,_0x10af7a(0x36e),new Map()),_0x4a0977(this,_0x10af7a(0x40f),new _0x1af95b[(_0x10af7a(0x350))]()),this[_0x10af7a(0x21c)]();}[_0x2c832d(0x43c)](){const _0x153945=_0x2c832d;super['dispose'](),this[_0x153945(0x40f)][_0x153945(0x46c)](),this[_0x153945(0x36e)][_0x153945(0x341)](_0x4e208d=>_0x4e208d[_0x153945(0x43c)]());}[_0x2c832d(0x38c)](_0x3120f2){const _0x336074=_0x2c832d;return this[_0x336074(0x36e)][_0x336074(0x27c)](_0x3120f2)?this[_0x336074(0x36e)][_0x336074(0x24d)](_0x3120f2)['cursorInfo$']:this['_entityInit$']['pipe']((0x0,_0x1af95b[_0x336074(0x2cf)])(_0x14ece3=>_0x14ece3[_0x336074(0x3a5)]===_0x3120f2),(0x0,_0x1af95b['switchMap'])(_0x1d77fc=>_0x1d77fc[_0x336074(0x1e3)]));}[_0x2c832d(0x21c)](){const _0x173dc3=_0x2c832d;this[_0x173dc3(0x206)]['getTypeOfUnitAdded$'](_0x412392['UniverInstanceType']['UNIVER_SHEET'])[_0x173dc3(0x1ed)]((0x0,_0x1af95b[_0x173dc3(0x37d)])(this[_0x173dc3(0x378)]))['subscribe'](async _0x125b8a=>{const _0x484719=_0x173dc3;let _0x243971=_0x125b8a[_0x484719(0x418)](),_0xf46322=await this[_0x484719(0x292)](_0x243971);this[_0x484719(0x40f)]['next'](_0xf46322),this[_0x484719(0x36e)][_0x484719(0x2c9)](_0x243971,_0xf46322);}),this[_0x173dc3(0x206)][_0x173dc3(0x443)](_0x412392[_0x173dc3(0x32f)]['UNIVER_DOC'])[_0x173dc3(0x1ed)]((0x0,_0x1af95b[_0x173dc3(0x37d)])(this[_0x173dc3(0x378)]))[_0x173dc3(0x1ed)]((0x0,_0x1af95b['filter'])(_0x55ad62=>!_0x55ad62[_0x173dc3(0x418)]()[_0x173dc3(0x1c6)]('__')))[_0x173dc3(0x2ef)](async _0x492b7b=>{const _0x3ef25a=_0x173dc3;let _0x43d975=_0x492b7b['getUnitId'](),_0x31f141=await this[_0x3ef25a(0x245)](_0x43d975);this[_0x3ef25a(0x40f)][_0x3ef25a(0x34a)](_0x31f141),this[_0x3ef25a(0x36e)][_0x3ef25a(0x2c9)](_0x43d975,_0x31f141);}),(0x0,_0x1af95b[_0x173dc3(0x203)])(this[_0x173dc3(0x206)][_0x173dc3(0x317)](_0x412392[_0x173dc3(0x32f)][_0x173dc3(0x1a2)]),this[_0x173dc3(0x206)]['getTypeOfUnitDisposed$'](_0x412392[_0x173dc3(0x32f)][_0x173dc3(0x348)]))[_0x173dc3(0x1ed)]((0x0,_0x1af95b[_0x173dc3(0x37d)])(this[_0x173dc3(0x378)]))[_0x173dc3(0x2ef)](_0x5ccf34=>{const _0x5ef6b0=_0x173dc3;let _0x4ffa5b=_0x5ccf34[_0x5ef6b0(0x418)](),_0x57242f=this[_0x5ef6b0(0x36e)][_0x5ef6b0(0x24d)](_0x4ffa5b);_0x57242f&&(_0x57242f[_0x5ef6b0(0x43c)](),this[_0x5ef6b0(0x36e)]['delete'](_0x4ffa5b));});}async[_0x2c832d(0x292)](_0x499016){const _0xef4ac1=_0x2c832d;let _0x164861=await this[_0xef4ac1(0x1ae)][_0xef4ac1(0x271)](_0x499016),_0x6af485=this[_0xef4ac1(0x3b8)][_0xef4ac1(0x3bc)](_0x66be99,_0x499016,_0x164861);return _0x6af485[_0xef4ac1(0x305)](),_0x6af485;}async[_0x2c832d(0x245)](_0x47a6a5){const _0x221e89=_0x2c832d;let _0x331ccf=await this[_0x221e89(0x1ae)]['requireSession'](_0x47a6a5),_0x29fc1e=this[_0x221e89(0x3b8)][_0x221e89(0x3bc)](_0x56c11f,_0x47a6a5,_0x331ccf);return _0x29fc1e[_0x221e89(0x305)](),_0x29fc1e;}};_0x270b73=_0x568561([_0x144f1b(0x0,_0x412392['IUniverInstanceService']),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9['CollaborationSessionService']))],_0x270b73);function _0x3b878e(_0x27fb96,_0x2224d9){const _0x3da9d0=_0x2c832d;var _0x26c0ac,_0x5d79ea,_0x3d0153;let {radius:_0x4a5d52,width:_0x53ee44,height:_0x1907a0}=_0x2224d9;_0x4a5d52=(_0x26c0ac=_0x4a5d52)==null?0x0:_0x26c0ac,_0x53ee44=(_0x5d79ea=_0x53ee44)==null?0x1e:_0x5d79ea,_0x1907a0=(_0x3d0153=_0x1907a0)==null?0x1e:_0x3d0153;let _0x3a3cb6=0x0,_0x16051d=0x0,_0x56a317=0x0;_0x3a3cb6=_0x16051d=_0x56a317=Math[_0x3da9d0(0x26f)](_0x4a5d52,_0x53ee44/0x2,_0x1907a0/0x2),_0x27fb96[_0x3da9d0(0x35f)](),_0x27fb96[_0x3da9d0(0x208)](_0x3a3cb6,0x0),_0x27fb96['lineTo'](_0x53ee44-_0x16051d,0x0),_0x27fb96[_0x3da9d0(0x30c)](_0x53ee44-_0x16051d,_0x16051d,_0x16051d,Math['PI']*0x3/0x2,0x0,!0x1),_0x27fb96['lineTo'](_0x53ee44,_0x1907a0-_0x56a317),_0x27fb96[_0x3da9d0(0x30c)](_0x53ee44-_0x56a317,_0x1907a0-_0x56a317,_0x56a317,0x0,Math['PI']/0x2,!0x1),_0x27fb96['lineTo'](0x0,_0x1907a0),_0x27fb96[_0x3da9d0(0x3c2)](0x0,_0x3a3cb6),_0x27fb96['arc'](_0x3a3cb6,_0x3a3cb6,_0x3a3cb6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x27fb96[_0x3da9d0(0x448)](),_0x2224d9[_0x3da9d0(0x3be)]&&(_0x27fb96[_0x3da9d0(0x226)](),_0x27fb96[_0x3da9d0(0x2fa)]=_0x2224d9[_0x3da9d0(0x3be)],_0x2224d9[_0x3da9d0(0x217)]===_0x3da9d0(0x31e)?_0x27fb96[_0x3da9d0(0x3be)](_0x3da9d0(0x31e)):_0x27fb96[_0x3da9d0(0x3be)](),_0x27fb96[_0x3da9d0(0x422)]());}var _0x2c341e=class _0x241ae4 extends _0x6b7952[_0x2c832d(0x1fd)]{constructor(_0x8ae16e,_0x38b2e1){const _0x18a56b=_0x2c832d;super(_0x8ae16e,_0x38b2e1),_0x4a0977(this,_0x18a56b(0x438),void 0x0),_0x4a0977(this,_0x18a56b(0x41e),void 0x0),this[_0x18a56b(0x438)]=_0x38b2e1==null?void 0x0:_0x38b2e1[_0x18a56b(0x438)],this[_0x18a56b(0x41e)]=_0x38b2e1==null?void 0x0:_0x38b2e1[_0x18a56b(0x41e)];}static[_0x2c832d(0x1b8)](_0x51a489,_0x26de4d){const _0x1ec98f=_0x2c832d;let {text:_0x65ded4,color:_0x477cff}=_0x26de4d;_0x51a489['save'](),_0x51a489[_0x1ec98f(0x432)]=_0x1ec98f(0x400);let _0x33428d=_0x51a489[_0x1ec98f(0x1a7)](_0x65ded4)[_0x1ec98f(0x405)];if(_0x3b878e(_0x51a489,{'height':0x14,'radius':0x4,'width':Math[_0x1ec98f(0x26f)](_0x33428d+0x8,0xc8),'fill':_0x477cff,'evented':!0x1}),_0x51a489[_0x1ec98f(0x2fa)]=_0x1ec98f(0x1c3),_0x33428d>0xc0){let _0x170b9a='',_0x166434=0x0;for(let _0x15618d of _0x65ded4){let _0x5d989a=_0x51a489[_0x1ec98f(0x1a7)](_0x15618d)['width'];if(_0x166434+_0x5d989a<=0xc0-_0x51a489[_0x1ec98f(0x1a7)](_0x1ec98f(0x2bc))[_0x1ec98f(0x405)])_0x170b9a+=_0x15618d,_0x166434+=_0x5d989a;else{_0x170b9a+='...';break;}}_0x51a489[_0x1ec98f(0x467)](_0x170b9a,0x4,0xf);}else _0x51a489['fillText'](_0x65ded4,0x4,0xf);_0x51a489[_0x1ec98f(0x422)]();}[_0x2c832d(0x2e3)](_0x57002c){_0x241ae4['drawWith'](_0x57002c,this);}};let _0x2a500b=_0x2c832d(0x1de);var _0x52dc37=class{constructor(_0x4c1342,_0x330827,_0x487a15,_0x1b0b93){const _0x44fe63=_0x2c832d;this[_0x44fe63(0x256)]=_0x4c1342,this[_0x44fe63(0x3ab)]=_0x330827,this[_0x44fe63(0x272)]=_0x487a15,this[_0x44fe63(0x352)]=_0x1b0b93,_0x4a0977(this,_0x44fe63(0x3cf),[]),_0x4a0977(this,_0x44fe63(0x234),null),_0x4a0977(this,'_textBubble',null),_0x4a0977(this,_0x44fe63(0x19c),null),_0x4a0977(this,_0x44fe63(0x346),null),_0x4a0977(this,'_eventUnsubscribe',null),this['_render']();}set['_hover'](_0x304a87){const _0x284e28=_0x2c832d;_0x304a87?(this[_0x284e28(0x19c)]&&this[_0x284e28(0x19c)][_0x284e28(0x1f2)](),this[_0x284e28(0x4ad)]&&this[_0x284e28(0x4ad)]['show']()):(this[_0x284e28(0x19c)]&&this[_0x284e28(0x19c)][_0x284e28(0x251)](),this['_textBubble']&&this['_textBubble'][_0x284e28(0x1f2)]());}['dispose'](){const _0x2b4573=_0x2c832d;for(let _0x2e36c3 of this['_shapes'])_0x2e36c3[_0x2b4573(0x43c)]();this[_0x2b4573(0x4ad)]&&this[_0x2b4573(0x4ad)]['dispose'](),this['_anchorDot']&&this[_0x2b4573(0x19c)][_0x2b4573(0x43c)](),this[_0x2b4573(0x234)]&&this[_0x2b4573(0x234)][_0x2b4573(0x43c)](),this[_0x2b4573(0x3fe)]&&this[_0x2b4573(0x3fe)]();}['_render'](){const _0x34a616=_0x2c832d;let {_docSkeleton:_0x10cac7,_document:_0x408981}=this,{color:_0x53119d,name:_0x23a2d6,ranges:_0x4a93d7}=this['_cursor'],_0x573501=_0x408981['getOffsetConfig'](),{docsLeft:_0x4fc525,docsTop:_0x16ea09}=_0x573501,_0x2ae7b9=new _0x493739[(_0x34a616(0x3eb))](_0x573501,_0x10cac7);for(let {startOffset:_0x54c94e,endOffset:_0x127e45,rangeType:_0x933a78,segmentId:_0x4cb7ee,segmentPage:_0x44dede,collapsed:_0x53e076,isActive:_0x4a9f08}of _0x4a93d7){let _0x1c9202=_0x10cac7[_0x34a616(0x38b)](_0x54c94e,!0x0,_0x4cb7ee,_0x44dede),_0x47b672=_0x10cac7[_0x34a616(0x38b)](_0x127e45,!0x0,_0x4cb7ee,_0x44dede);if(_0x47b672==null&&(_0x47b672=_0x10cac7[_0x34a616(0x38b)](_0x127e45-0x1,!0x1,_0x4cb7ee,_0x44dede)),_0x4a9f08){let {contentBoxPointGroup:_0x16abd9}=_0x2ae7b9['getRangePointData'](_0x47b672,_0x47b672);if(_0x16abd9[_0x34a616(0x1e6)]===0x0)continue;this['_drawAnchor'](_0x53119d,_0x16abd9,_0x4fc525,_0x16ea09,_0x23a2d6),this[_0x34a616(0x3fe)]=this[_0x34a616(0x394)]();}if(_0x1c9202&&_0x47b672){if(_0x933a78===_0x412392['DOC_RANGE_TYPE'][_0x34a616(0x2f2)]){var _0x1abf0f;let {pointGroup:_0x14f88e}=(_0x1abf0f=new _0x493739[(_0x34a616(0x2d9))](_0x573501,_0x10cac7)[_0x34a616(0x4aa)](_0x1c9202,_0x47b672))==null?{}:_0x1abf0f;if(_0x14f88e==null||_0x14f88e['length']===0x0)continue;this[_0x34a616(0x427)](_0x53119d,_0x14f88e,_0x4fc525,_0x16ea09);}else{if(!_0x53e076){let {borderBoxPointGroup:_0xe47d35}=_0x2ae7b9[_0x34a616(0x4aa)](_0x1c9202,_0x47b672);if(_0xe47d35[_0x34a616(0x1e6)]===0x0)continue;this[_0x34a616(0x33f)](_0x53119d,_0xe47d35,_0x4fc525,_0x16ea09);}}}}}[_0x2c832d(0x453)](_0x593966,_0x1efef3,_0x5c6158,_0x47056f,_0x152dc5){const _0x88890f=_0x2c832d;let {left:_0x5e4d59,top:_0x11f912,height:_0xbc4612}=this['_getAnchorBounding'](_0x1efef3),_0x4f1953=1.5/this[_0x88890f(0x3e0)](),_0x149cb5=new _0x6b7952[(_0x88890f(0x3bb))](_0x2a500b+(0x0,_0x412392[_0x88890f(0x29a)])(0x6),{'left':_0x5e4d59+_0x5c6158-_0x4f1953,'top':_0x11f912+_0x47056f,'height':_0xbc4612,'width':1.5,'fill':_0x593966||(0x0,_0x6b7952[_0x88890f(0x283)])(_0x412392['COLORS']['black'],0x0),'strokeWidth':_0x4f1953,'stroke':_0x88890f(0x430),'evented':!0x0});this['_anchor']=_0x149cb5,this[_0x88890f(0x3ab)]['addObject'](_0x149cb5,_0x493739[_0x88890f(0x1a3)]);let _0xdb4ef2=new _0x6b7952['Rect'](_0x2a500b+(0x0,_0x412392['generateRandomId'])(0x6),{'left':_0x5e4d59+_0x5c6158-_0x4f1953,'top':_0x11f912+_0x47056f-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x593966||(0x0,_0x6b7952[_0x88890f(0x283)])(_0x412392[_0x88890f(0x1c2)][_0x88890f(0x19b)],0x0),'strokeWidth':0x0,'stroke':_0x593966||(0x0,_0x6b7952[_0x88890f(0x283)])(_0x412392['COLORS']['black'],0x0),'evented':!0x1});this[_0x88890f(0x19c)]=_0xdb4ef2,this[_0x88890f(0x3ab)]['addObject'](_0xdb4ef2,_0x493739[_0x88890f(0x1a3)]);let _0x4a2fba=new _0x2c341e(_0x2a500b+(0x0,_0x412392['generateRandomId'])(0x6),{'left':_0x5e4d59+_0x5c6158-_0x4f1953,'top':_0x11f912+_0x47056f-0x14,'text':_0x152dc5,'color':_0x593966});this['_textBubble']=_0x4a2fba,this[_0x88890f(0x3ab)]['addObject'](_0x4a2fba,_0x493739['TEXT_RANGE_LAYER_INDEX']),this[_0x88890f(0x269)]=!0x1;}[_0x2c832d(0x394)](){const _0x3bf672=_0x2c832d;let _0x187a03=this['_anchor'][_0x3bf672(0x20c)]['subscribeEvent'](()=>{const _0x7e97c1=_0x3bf672;this[_0x7e97c1(0x269)]=!0x0;}),_0x56ac18=this[_0x3bf672(0x234)][_0x3bf672(0x3d5)]['subscribeEvent'](()=>{const _0x432a17=_0x3bf672;this[_0x432a17(0x346)]&&clearTimeout(this[_0x432a17(0x346)]),this[_0x432a17(0x346)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x472e64=_0x3bf672;_0x187a03[_0x472e64(0x212)](),_0x56ac18[_0x472e64(0x212)]();};}['_drawTextRange'](_0x135edc,_0x6c2f63,_0x5951b8,_0x70493){const _0x1e03aa=_0x2c832d;let _0xa94fb5=0.2,_0x300d6a=new _0x412392[(_0x1e03aa(0x452))](_0x135edc)[_0x1e03aa(0x465)](_0xa94fb5)[_0x1e03aa(0x385)](),_0x638d1=new _0x6b7952[(_0x1e03aa(0x458))](_0x1e03aa(0x3d8)+(0x0,_0x412392['generateRandomId'])(0x6),{'pointsGroup':_0x6c2f63,'fill':_0x300d6a||(0x0,_0x6b7952[_0x1e03aa(0x283)])(_0x412392['COLORS'][_0x1e03aa(0x19b)],_0xa94fb5),'left':_0x5951b8,'top':_0x70493,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x638d1),this[_0x1e03aa(0x3ab)]['addObject'](_0x638d1,_0x493739[_0x1e03aa(0x1a3)]);}[_0x2c832d(0x427)](_0x2fd9ef,_0x24e17a,_0x14e0c3,_0x1073fe){const _0xa77391=_0x2c832d;let _0x39f04e=0.2,_0x2bcabf=new _0x412392[(_0xa77391(0x452))](_0x2fd9ef)[_0xa77391(0x465)](_0x39f04e)[_0xa77391(0x385)](),_0x210f33=new _0x6b7952[(_0xa77391(0x458))](_0xa77391(0x4b5)+(0x0,_0x412392['generateRandomId'])(0x6),{'pointsGroup':_0x24e17a,'fill':_0x2bcabf||(0x0,_0x6b7952['getColor'])(_0x412392[_0xa77391(0x1c2)][_0xa77391(0x19b)],_0x39f04e),'left':_0x14e0c3,'top':_0x1073fe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xa77391(0x3cf)]['push'](_0x210f33),this['_scene']['addObject'](_0x210f33,_0x493739[_0xa77391(0x1a3)]);}['_getAnchorBounding'](_0x59a421){let _0x4fbbaf=_0x59a421[0x0],_0x43991d=_0x4fbbaf[0x0],_0x2d41bd=_0x4fbbaf[0x2],{x:_0xe3dc6,y:_0x301be3}=_0x43991d,{x:_0x20a790,y:_0x31c791}=_0x2d41bd;return{'left':_0xe3dc6,'top':_0x301be3,'width':_0x20a790-_0xe3dc6,'height':_0x31c791-_0x301be3};}[_0x2c832d(0x3e0)](){const _0x3f404c=_0x2c832d;let {scaleX:_0xa221c3,scaleY:_0x470248}=this['_scene'][_0x3f404c(0x35c)]();return Math[_0x3f404c(0x1d9)](_0xa221c3,_0x470248);}};let _0x3e3eab=class extends _0x412392[_0x2c832d(0x2df)]{constructor(_0x35af49,_0x2661f4,_0x4b42fc,_0x30ee99,_0x2732a4){const _0xbeae94=_0x2c832d;super(),this[_0xbeae94(0x1d6)]=_0x35af49,this[_0xbeae94(0x204)]=_0x2661f4,this['_collabCursorController']=_0x4b42fc,this[_0xbeae94(0x3b6)]=_0x30ee99,this[_0xbeae94(0x262)]=_0x2732a4,_0x4a0977(this,_0xbeae94(0x3c4),[]),_0x4a0977(this,_0xbeae94(0x31a),[]),this['_init']();}[_0x2c832d(0x21c)](){const _0x8c1e6f=_0x2c832d;let _0x48800e=this[_0x8c1e6f(0x1d6)][_0x8c1e6f(0x366)],_0x58a877=this['_docSkeletonManagerService'];this[_0x8c1e6f(0x319)]((0x0,_0x1af95b['combineLatest'])([this[_0x8c1e6f(0x3e5)][_0x8c1e6f(0x38c)](_0x48800e),this[_0x8c1e6f(0x262)][_0x8c1e6f(0x49a)]])[_0x8c1e6f(0x1ed)]((0x0,_0x5a2ef1['map'])(([_0x45c4e8,_0x769228])=>({'skeleton':_0x58a877[_0x8c1e6f(0x2b2)](),'cursors':[..._0x45c4e8[_0x8c1e6f(0x383)]()]['flatMap'](_0x184b16=>({..._0x184b16,'color':this[_0x8c1e6f(0x262)][_0x8c1e6f(0x38a)](_0x184b16[_0x8c1e6f(0x438)])}))})))[_0x8c1e6f(0x2ef)](_0x85469e=>{const _0x5aaacf=_0x8c1e6f;if(this[_0x5aaacf(0x3c3)](),_0x85469e){let {skeleton:_0x3139a8,cursors:_0x4e5c46}=_0x85469e;this[_0x5aaacf(0x1b7)](_0x3139a8,_0x4e5c46);}})),this['_initResize'](),this[_0x8c1e6f(0x231)]();}[_0x2c832d(0x1b7)](_0x4fe464,_0x3a296a){const _0x56c267=_0x2c832d;let {scene:_0xf99016,mainComponent:_0x5ee3da}=this[_0x56c267(0x1d6)];this[_0x56c267(0x3c4)]=_0x3a296a['map'](_0xa5e08d=>new _0x52dc37(_0xa5e08d,_0xf99016,_0x4fe464,_0x5ee3da)),this[_0x56c267(0x31a)]=_0x3a296a;}['_refreshCollabCursors'](){const _0x36d009=_0x2c832d;this[_0x36d009(0x3c3)]();let {scene:_0x568eed,mainComponent:_0x44ec5b}=this[_0x36d009(0x1d6)],_0x32c3a6=this[_0x36d009(0x204)]['getSkeleton']();this[_0x36d009(0x3c4)]=this[_0x36d009(0x31a)][_0x36d009(0x464)](_0x3df546=>new _0x52dc37(_0x3df546,_0x568eed,_0x32c3a6,_0x44ec5b));}['_removeCollabCursors'](){const _0x483fe0=_0x2c832d;this[_0x483fe0(0x3c4)][_0x483fe0(0x341)](_0x2cc1ba=>_0x2cc1ba[_0x483fe0(0x43c)]()),this[_0x483fe0(0x3c4)]=[];}[_0x2c832d(0x231)](){const _0x167b4b=_0x2c832d;let _0x121bef=[_0x493739[_0x167b4b(0x2d1)]['id']];this[_0x167b4b(0x319)](this[_0x167b4b(0x3b6)][_0x167b4b(0x30a)](_0x5d498d=>{const _0x30720e=_0x167b4b;_0x121bef['includes'](_0x5d498d['id'])&&_0x5d498d[_0x30720e(0x29c)][_0x30720e(0x366)]===this[_0x30720e(0x1d6)][_0x30720e(0x366)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x167564=_0x2c832d;this[_0x167564(0x319)]((0x0,_0x412392[_0x167564(0x374)])(this[_0x167564(0x1d6)][_0x167564(0x1e4)][_0x167564(0x2b1)])[_0x167564(0x1ed)]((0x0,_0x5a2ef1[_0x167564(0x2cf)])(_0x3d334e=>_0x3d334e[_0x167564(0x199)]===_0x6b7952[_0x167564(0x487)]['resize']),(0x0,_0x5a2ef1['throttleTime'])(0x10))[_0x167564(0x2ef)](()=>{const _0xd381e8=_0x167564;this[_0xd381e8(0x43f)]();}));}};_0x3e3eab=_0x568561([_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x5bad8c[_0x2c832d(0x2a3)])),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x270b73)),_0x144f1b(0x3,_0x412392['ICommandService']),_0x144f1b(0x4,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x2f1)]))],_0x3e3eab);var _0x1c5797=class extends _0x6b7952[_0x2c832d(0x1fd)]{constructor(_0x3e2e39,_0x3f2e5b){const _0x1fd753=_0x2c832d;if(super(_0x3e2e39,_0x3f2e5b),_0x4a0977(this,_0x1fd753(0x399),void 0x0),_0x4a0977(this,_0x1fd753(0x19f),!0x1),_0x4a0977(this,_0x1fd753(0x2b5),void 0x0),_0x4a0977(this,_0x1fd753(0x3a2),''),_0x4a0977(this,'_labelPosition','top'),_0x4a0977(this,'_backgroundColor',void 0x0),_0x4a0977(this,_0x1fd753(0x1f8),void 0x0),_0x4a0977(this,_0x1fd753(0x1ca),void 0x0),_0x4a0977(this,'_highlightSecond',0x4),_0x4a0977(this,_0x1fd753(0x4b4),void 0x0),_0x4a0977(this,_0x1fd753(0x2c5),void 0x0),_0x4a0977(this,'_isBlinkVisible',!0x0),_0x4a0977(this,'_offsetY',0x0),_0x3f2e5b){var _0x8b4d96;if(this[_0x1fd753(0x1f0)](_0x3f2e5b),_0x3f2e5b[_0x1fd753(0x291)]&&((_0x8b4d96=_0x3f2e5b[_0x1fd753(0x29d)])==null?this[_0x1fd753(0x402)]:_0x8b4d96)){var _0x2b7fcd;this[_0x1fd753(0x358)]((_0x2b7fcd=_0x3f2e5b[_0x1fd753(0x29d)])==null?this['_highlightSecond']:_0x2b7fcd);}}this['onPointerEnter$'][_0x1fd753(0x2d8)](()=>this[_0x1fd753(0x1f0)]({'hovered':!0x0})),this[_0x1fd753(0x3d5)]['subscribeEvent'](()=>this[_0x1fd753(0x1f0)]({'hovered':!0x1}));}['setOffsetY'](_0x2d9525){const _0x2b2033=_0x2c832d;this[_0x2b2033(0x1c4)]=_0x2d9525;}['setShapeProps'](_0x4b2d62){const _0x5d0696=_0x2c832d;var _0x3e939d,_0x448aaf,_0x2429d3,_0x301e7e,_0x2e6181,_0x33969a,_0x3a376e;this[_0x5d0696(0x399)]=(_0x3e939d=_0x4b2d62[_0x5d0696(0x438)])==null?this[_0x5d0696(0x399)]:_0x3e939d,this[_0x5d0696(0x19f)]=(_0x448aaf=_0x4b2d62[_0x5d0696(0x37b)])==null?this['_hovered']:_0x448aaf,this[_0x5d0696(0x2b5)]=(_0x2429d3=_0x4b2d62['range'])==null?this[_0x5d0696(0x2b5)]:_0x2429d3,this['_name']=(_0x301e7e=_0x4b2d62['name'])==null?this[_0x5d0696(0x3a2)]:_0x301e7e,this[_0x5d0696(0x3c9)]=(_0x2e6181=_0x4b2d62[_0x5d0696(0x344)])==null?this[_0x5d0696(0x3c9)]:_0x2e6181,this[_0x5d0696(0x19a)]=(_0x33969a=_0x4b2d62[_0x5d0696(0x44d)])==null?this[_0x5d0696(0x19a)]:_0x33969a,this['_showText']=(_0x3a376e=_0x4b2d62[_0x5d0696(0x1c0)])==null?this['_showText']:_0x3a376e,_0x4b2d62['highlightSecond']!==void 0x0&&(this[_0x5d0696(0x402)]=_0x4b2d62[_0x5d0696(0x29d)]),_0x4b2d62[_0x5d0696(0x291)]!==void 0x0&&(this[_0x5d0696(0x1ca)]=_0x4b2d62['highlight']),_0x4b2d62[_0x5d0696(0x36f)]!==void 0x0&&(this[_0x5d0696(0x1c4)]=_0x4b2d62['offsetY']),this[_0x5d0696(0x219)]({'width':_0x4b2d62[_0x5d0696(0x405)],'height':_0x4b2d62[_0x5d0696(0x228)]});}[_0x2c832d(0x2e2)](_0x2ba731){const _0x16cbec=_0x2c832d;let {row:_0x4354f7,column:_0x93aa74}=_0x2ba731;if(_0x4354f7>=this['_range'][_0x16cbec(0x45d)]&&_0x4354f7<=this['_range'][_0x16cbec(0x397)]&&_0x93aa74>=this[_0x16cbec(0x2b5)][_0x16cbec(0x253)]&&_0x93aa74<=this[_0x16cbec(0x2b5)][_0x16cbec(0x35e)]){this[_0x16cbec(0x1f0)]({'hovered':!0x0});return;}this[_0x16cbec(0x1f0)]({'hovered':!0x1});}[_0x2c832d(0x358)](_0x27849){const _0x508be7=_0x2c832d;this[_0x508be7(0x2dc)](),this['_isBlinkVisible']=!0x0,this[_0x508be7(0x2c5)]=window[_0x508be7(0x333)](()=>{const _0x415925=_0x508be7;this[_0x415925(0x303)]=!this[_0x415925(0x303)],this[_0x415925(0x45e)](!0x0);},0x1f4),this[_0x508be7(0x4b4)]=window[_0x508be7(0x2e5)](()=>{const _0xd75849=_0x508be7;this[_0xd75849(0x2dc)](),this[_0xd75849(0x303)]=!0x0,this[_0xd75849(0x45e)](!0x0);},_0x27849*0x3e8);}['_stopBlinking'](){const _0x26cb7b=_0x2c832d;this[_0x26cb7b(0x2c5)]&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x26cb7b(0x2c5)]=void 0x0),this[_0x26cb7b(0x4b4)]&&(window[_0x26cb7b(0x4a1)](this[_0x26cb7b(0x4b4)]),this['_blinkTimer']=void 0x0);}['triggerDblclick'](_0x5c88f8){return!0x1;}[_0x2c832d(0x43c)](){const _0xe1c64b=_0x2c832d;this[_0xe1c64b(0x2dc)](),super['dispose']();}[_0x2c832d(0x2e3)](_0xfe1209){const _0x29b163=_0x2c832d;var _0x26ce4f;let _0x397231=this[_0x29b163(0x399)],_0x293a0d=this[_0x29b163(0x19a)];if(this[_0x29b163(0x1ca)]&&!this[_0x29b163(0x303)]&&(_0x397231=this[_0x29b163(0x221)](this[_0x29b163(0x399)]),_0x293a0d=this['_backgroundColor']?this[_0x29b163(0x221)](this[_0x29b163(0x19a)]):void 0x0),_0x6b7952[_0x29b163(0x3bb)][_0x29b163(0x1b8)](_0xfe1209,{'width':this[_0x29b163(0x405)],'height':this[_0x29b163(0x228)],'strokeWidth':(_0x26ce4f=this[_0x29b163(0x478)])==null?1.5:_0x26ce4f,'stroke':_0x397231,'evented':!0x1,'fill':_0x293a0d}),this[_0x29b163(0x19f)]||this[_0x29b163(0x1f8)]){var _0xa96007;_0xfe1209['save'](),_0xfe1209[_0x29b163(0x462)](0x1,0x0,0x0,0x1,this[_0x29b163(0x405)],(this[_0x29b163(0x3c9)]===_0x29b163(0x2ee)?0x0:-0x14)+((_0xa96007=this[_0x29b163(0x1c4)])==null?0x0:_0xa96007)),_0x2c341e[_0x29b163(0x1b8)](_0xfe1209,{'text':this[_0x29b163(0x3a2)],'color':_0x397231}),_0xfe1209[_0x29b163(0x422)]();}}[_0x2c832d(0x221)](_0x2853a1){const _0x2585c3=_0x2c832d;return _0x2853a1[_0x2585c3(0x1c6)]('#')?_0x2585c3(0x25b)+Number['parseInt'](_0x2853a1[_0x2585c3(0x2db)](0x1,0x3),0x10)+',\x20'+Number[_0x2585c3(0x1f9)](_0x2853a1[_0x2585c3(0x2db)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x2853a1[_0x2585c3(0x2db)](0x5,0x7),0x10)+_0x2585c3(0x1d3):_0x2853a1[_0x2585c3(0x1c6)](_0x2585c3(0x288))?_0x2853a1[_0x2585c3(0x23e)](/[\d.]+\)$/g,'0.2)'):_0x2853a1[_0x2585c3(0x1c6)](_0x2585c3(0x45f))?_0x2853a1['replace'](_0x2585c3(0x45f),_0x2585c3(0x288))[_0x2585c3(0x23e)](')',_0x2585c3(0x1d3)):_0x2853a1;}};let _0x19300d=class extends _0x412392[_0x2c832d(0x2df)]{constructor(_0x889b10,_0x2ba4c8,_0x3d3860,_0x23b493){const _0x47c220=_0x2c832d;super(),this[_0x47c220(0x1d6)]=_0x889b10,this[_0x47c220(0x31c)]=_0x2ba4c8,this['_collabCursorController']=_0x3d3860,this[_0x47c220(0x262)]=_0x23b493,_0x4a0977(this,_0x47c220(0x31a),new Set()),_0x4a0977(this,_0x47c220(0x28e),null),this[_0x47c220(0x21c)]();}[_0x2c832d(0x21c)](){const _0x47baca=_0x2c832d;this[_0x47baca(0x31c)][_0x47baca(0x2cc)]['pipe']((0x0,_0x5a2ef1[_0x47baca(0x37d)])(this[_0x47baca(0x378)]),(0x0,_0x5a2ef1[_0x47baca(0x2e1)])(_0xc91c2c=>{const _0x397876=_0x47baca;if(_0xc91c2c){let _0x3f50bf=_0xc91c2c['sheetId'];return(0x0,_0x1af95b[_0x397876(0x373)])(this[_0x397876(0x3e5)][_0x397876(0x38c)](this[_0x397876(0x1d6)][_0x397876(0x366)]),this[_0x397876(0x262)][_0x397876(0x49a)])[_0x397876(0x1ed)]((0x0,_0x5a2ef1['map'])(([_0x193895,_0x259f23])=>{const _0x3c235e=_0x397876;let _0x37a0f1=new Map();return _0x193895[_0x3c235e(0x341)]((_0x3155c5,_0x1b2d2a)=>{const _0x4378ba=_0x3c235e;if(_0x3155c5[_0x4378ba(0x32e)]===_0x3f50bf){let _0x36a546={..._0x3155c5};_0x36a546[_0x4378ba(0x438)]=this['_themeService'][_0x4378ba(0x38a)](_0x3155c5[_0x4378ba(0x438)]),_0x37a0f1[_0x4378ba(0x2c9)](_0x1b2d2a,_0x36a546);}}),{'skeleton':_0xc91c2c,'cursors':_0x37a0f1};}));}return(0x0,_0x1af95b['of'])({'skeleton':null,'cursors':new Map()});}))[_0x47baca(0x2ef)](({skeleton:_0x21a561,cursors:_0x3faa41})=>{const _0x1f73e3=_0x47baca;this[_0x1f73e3(0x3c3)](),_0x21a561&&this['_updateCollabCursors'](_0x21a561,_0x3faa41);}),this[_0x47baca(0x31c)][_0x47baca(0x2cc)]['subscribe'](_0x877919=>{const _0x2f5f77=_0x47baca;if(_0x877919==null)return;let {skeleton:_0x3d2072}=_0x877919,{scene:_0x473e7e}=this[_0x2f5f77(0x1d6)];_0x473e7e[_0x2f5f77(0x2de)][_0x2f5f77(0x2d8)]((0x0,_0x412392['debounce'])(_0x18633d=>{const _0x1540d0=_0x2f5f77;var _0x46b32a,_0x4350cc;let {offsetX:_0x260d44,offsetY:_0x1b4e7e}=_0x18633d,{x:_0x28a155,y:_0x46b4f1}=_0x473e7e[_0x1540d0(0x449)](_0x6b7952['Vector2']['FromArray']([_0x260d44,_0x1b4e7e])),{scaleX:_0x1d56ff,scaleY:_0x9bb788}=_0x473e7e[_0x1540d0(0x35c)](),_0x5d5c93=_0x473e7e[_0x1540d0(0x4af)](_0x6b7952[_0x1540d0(0x3ce)][_0x1540d0(0x3b1)]),_0x55ae09=_0x473e7e[_0x1540d0(0x3f3)](_0x6b7952[_0x1540d0(0x243)][_0x1540d0(0x365)]([_0x28a155,_0x46b4f1]),_0x5d5c93),_0x1facd8=_0x3d2072['getCellPositionByOffset'](_0x260d44,_0x1b4e7e,_0x1d56ff,_0x9bb788,_0x55ae09);((_0x46b32a=this[_0x1540d0(0x28e)])==null?void 0x0:_0x46b32a[_0x1540d0(0x380)])===_0x1facd8['column']&&((_0x4350cc=this['_lastPointer'])==null?void 0x0:_0x4350cc[_0x1540d0(0x2e8)])===_0x1facd8[_0x1540d0(0x2e8)]||this[_0x1540d0(0x31a)][_0x1540d0(0x341)](_0x11382f=>{_0x11382f['onMouseMove'](_0x1facd8);});},0x64));});}['_updateCollabCursors'](_0x4b1614,_0x45211e){const _0x2a7980=_0x2c832d;let _0x2f5b8a=this[_0x2a7980(0x31c)][_0x2a7980(0x3a0)]();if(!_0x2f5b8a)return;let _0x460ed1=this[_0x2a7980(0x40e)]();if(!_0x460ed1)return;this['_cursors']['forEach'](_0x5c4b0b=>{_0x5c4b0b['makeDirty']();});let {scene:_0x56eba1}=_0x460ed1,_0x281ab2=_0x2cdc88(Array['from'](_0x45211e[_0x2a7980(0x383)]()))[_0x2a7980(0x464)](_0x5b2fa9=>{const _0x5ce57d=_0x2a7980;let {color:_0x49dfb5,range:_0x3238c5,name:_0x8c90c8,selection:_0x3074a3,sheetID:_0x56fa47}=_0x5b2fa9,{startColumn:_0x537ad6,startRow:_0x1876f5,endColumn:_0x406c0e,endRow:_0x364f93}=_0x3238c5,_0x3aa9a6=(0x0,_0x2e45e6[_0x5ce57d(0x1eb)])(_0x1876f5,_0x537ad6,_0x56eba1,_0x2f5b8a),_0x1addf8=(0x0,_0x2e45e6[_0x5ce57d(0x1eb)])(_0x364f93,_0x406c0e,_0x56eba1,_0x2f5b8a),{columnHeaderHeightAndMarginTop:_0x48f13b}=_0x2f5b8a,{startX:_0x397237,startY:_0x5d66ff}=_0x3aa9a6,{endX:_0x27a337,endY:_0x3caf4d}=_0x1addf8,_0x3b2d96=_0x27a337-_0x397237,_0x16b5fb=_0x3caf4d-_0x5d66ff;return new _0x1c5797(_0x8c90c8,{'labelPosition':_0x5d66ff-_0x48f13b>=0x14?_0x5ce57d(0x469):'bottom','sheetID':_0x56fa47,'range':_0x3238c5,'color':_0x49dfb5,'name':_0x8c90c8,'selection':_0x3074a3,'left':_0x397237,'top':_0x5d66ff,'width':_0x3b2d96,'height':_0x16b5fb,'evented':!0x1,'zIndex':0x1389});});_0x56eba1['addObjects'](_0x281ab2,0x1),this['_cursors']=new Set(_0x281ab2);}['_removeCollabCursors'](){const _0x1492b4=_0x2c832d;var _0x5bb3bb;(_0x5bb3bb=this[_0x1492b4(0x31a)])==null||_0x5bb3bb[_0x1492b4(0x341)](_0x15c642=>_0x15c642[_0x1492b4(0x43c)]());}[_0x2c832d(0x40e)](){const _0x2202b7=_0x2c832d;return(0x0,_0x2e45e6['getSheetObject'])(this[_0x2202b7(0x1d6)][_0x2202b7(0x36c)],this[_0x2202b7(0x1d6)]);}};_0x19300d=_0x568561([_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x2e45e6[_0x2c832d(0x1fb)])),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x270b73)),_0x144f1b(0x3,(0x0,_0x412392['Inject'])(_0x412392[_0x2c832d(0x2f1)]))],_0x19300d);function _0x2cdc88(_0x78978){const _0x286b90=_0x2c832d;let _0x29a75c=new Map();return _0x78978[_0x286b90(0x341)](_0x704099=>{const _0x2d374f=_0x286b90;if(_0x29a75c[_0x2d374f(0x27c)](_0x704099[_0x2d374f(0x21e)])){let _0x812324=_0x29a75c[_0x2d374f(0x24d)](_0x704099['selection']);_0x812324[_0x2d374f(0x2b7)]+=',\x20'+_0x704099[_0x2d374f(0x2b7)];}else _0x29a75c[_0x2d374f(0x2c9)](_0x704099[_0x2d374f(0x21e)],_0x704099);}),Array[_0x286b90(0x238)](_0x29a75c[_0x286b90(0x383)]());}let _0x3a5846=class extends _0x412392[_0x2c832d(0x29e)]{constructor(_0x54305e,_0x40314d,_0x434ef5,_0x32fe32,_0x2aa916,_0x77f0b8){const _0x2c9e0c=_0x2c832d;super(),this['_beforeCloseService']=_0x54305e,this[_0x2c9e0c(0x3cd)]=_0x40314d,this['_collaborationUIEventService']=_0x434ef5,this[_0x2c9e0c(0x2aa)]=_0x32fe32,this[_0x2c9e0c(0x304)]=_0x2aa916,this['_localeService']=_0x77f0b8,this[_0x2c9e0c(0x260)](),this[_0x2c9e0c(0x393)]();}[_0x2c832d(0x260)](){const _0x3e2934=_0x2c832d;this['disposeWithMe'](this['_beforeCloseService'][_0x3e2934(0x41d)](()=>{const _0x169dc5=_0x3e2934;if(this[_0x169dc5(0x3cd)][_0x169dc5(0x45b)][_0x169dc5(0x48a)])return this[_0x169dc5(0x2c6)]['t'](_0x169dc5(0x255));}));}['_initEvent'](){const _0x5ad39c=_0x2c832d;this[_0x5ad39c(0x319)](this[_0x5ad39c(0x2ba)][_0x5ad39c(0x1b0)]['subscribe'](_0xabb2d2=>{const _0x1cebfe=_0x5ad39c;_0xabb2d2['id']===_0x3839b9['CollaborationUIEventId'][_0x1cebfe(0x2a8)]&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33['MessageType'][_0x1cebfe(0x45c)],'content':this['_localeService']['t'](_0x1cebfe(0x2f3))}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)][_0x1cebfe(0x3ee)]&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33[_0x1cebfe(0x2b3)]['Warning'],'content':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x229))}),_0xabb2d2['id']===_0x3839b9['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x28d)),'content':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x1cc)),'type':_0x1cebfe(0x286),'duration':0x0}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)]['CONFLICT']&&this[_0x1cebfe(0x2aa)]['show']({'type':_0x39ba33['MessageType'][_0x1cebfe(0x1d8)],'content':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x229))+'('+_0xabb2d2[_0x1cebfe(0x496)]+')'}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)]['JOIN_ROOM_FAILED']&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33[_0x1cebfe(0x2b3)][_0x1cebfe(0x45c)],'content':this['_localeService']['t'](_0xabb2d2[_0x1cebfe(0x496)]||'')}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)][_0x1cebfe(0x1e2)]&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33['MessageType'][_0x1cebfe(0x45c)],'content':this['_localeService']['t']('session.will-retry')}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)][_0x1cebfe(0x266)]&&this[_0x1cebfe(0x2aa)]['show']({'type':_0x39ba33[_0x1cebfe(0x2b3)]['Error'],'content':this['_localeService']['t'](_0x1cebfe(0x447))}),_0xabb2d2['id']===_0x3839b9['CollaborationUIEventId'][_0x1cebfe(0x4ab)]&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33['MessageType']['Error'],'content':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x439))});}));}};_0x3a5846=_0x568561([_0x144f1b(0x0,_0x197442[_0x2c832d(0x3fc)]),_0x144f1b(0x1,_0x3839b9[_0x2c832d(0x391)]),_0x144f1b(0x2,(0x0,_0x412392['Inject'])(_0x3839b9[_0x2c832d(0x3c8)])),_0x144f1b(0x3,_0x197442[_0x2c832d(0x49d)]),_0x144f1b(0x4,_0x197442[_0x2c832d(0x2f8)]),_0x144f1b(0x5,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x1c1)]))],_0x3a5846);let _0x45e6c7='collaboration-client-ui.config';Symbol(_0x45e6c7);let _0x43887c={},_0x564baf=class{constructor(_0x120a99,_0x5a537a){const _0x4cfb80=_0x2c832d;this[_0x4cfb80(0x32c)]=_0x120a99,this[_0x4cfb80(0x4a6)]=_0x5a537a;}[_0x2c832d(0x4a9)](_0x3e2769){const _0x6dd024=_0x2c832d;this[_0x6dd024(0x2f9)](_0x3e2769),this[_0x6dd024(0x2a0)](_0x3e2769);}[_0x2c832d(0x3c1)](_0x59644a){const _0x52a360=_0x2c832d;let {unitID:_0x4c4f6b}=_0x59644a,{redoCache:_0x3076e5}=this[_0x52a360(0x4a6)][_0x52a360(0x48c)](_0x4c4f6b)[_0x52a360(0x468)](_0x493739[_0x52a360(0x376)])[_0x52a360(0x200)]();if(_0x3076e5[_0x52a360(0x1e6)]===0x0)return _0x59644a;let _0x1d5119=_0x412392[_0x52a360(0x39d)]['deepClone'](_0x59644a[_0x52a360(0x294)][0x0]);for(let _0x435a32=0x0;_0x435a32<_0x3076e5[_0x52a360(0x1e6)];_0x435a32++){let _0x2a95c9={'id':_0x52a360(0x44a),'params':{..._0x3076e5[_0x435a32]}},_0x36977a=this[_0x52a360(0x32c)][_0x52a360(0x48b)](_0x1d5119,_0x2a95c9,!0x1);if((0x0,_0x584220[_0x52a360(0x270)])(_0x36977a))throw _0x36977a[_0x52a360(0x286)];_0x1d5119=_0x36977a[_0x52a360(0x284)];}return{..._0x412392[_0x52a360(0x39d)][_0x52a360(0x3ff)](_0x59644a),'mutations':[_0x1d5119]};}['_transformUndoRedoStack'](_0x6f80a5){const _0x30b5bc=_0x2c832d;let {unitID:_0x4288cf}=_0x6f80a5,_0x4da1f8=this[_0x30b5bc(0x4a6)][_0x30b5bc(0x48c)](_0x4288cf)[_0x30b5bc(0x468)](_0x493739[_0x30b5bc(0x376)]),{undoCache:_0x53868b,redoCache:_0x3c1ed8}=_0x4da1f8[_0x30b5bc(0x200)]();if(_0x53868b[_0x30b5bc(0x1e6)]===0x0||_0x3c1ed8[_0x30b5bc(0x1e6)]===0x0)return;let _0x42fd04=[],_0x1fb0e1=[],_0xb8278c=_0x412392['Tools'][_0x30b5bc(0x3ff)](_0x6f80a5[_0x30b5bc(0x294)][0x0]),_0x5b0e6a=_0x412392[_0x30b5bc(0x39d)][_0x30b5bc(0x3ff)](_0x6f80a5[_0x30b5bc(0x294)][0x0]);for(let _0x48a9d7=_0x53868b['length']-0x1;_0x48a9d7>=0x0;_0x48a9d7--){let _0x1bf178={'id':'doc.mutation.rich-text-editing','params':{..._0x53868b[_0x48a9d7]}},_0x4be818={'id':_0x30b5bc(0x44a),'params':{..._0x3c1ed8[_0x48a9d7]}},_0x30604e=this[_0x30b5bc(0x32c)][_0x30b5bc(0x48b)](_0xb8278c,_0x1bf178,!0x1),_0x2d1e71=this['_transformService'][_0x30b5bc(0x48b)](_0x5b0e6a,_0x4be818,!0x1);if((0x0,_0x584220['isTransformMutationFailure'])(_0x30604e))throw _0x30604e[_0x30b5bc(0x286)];if((0x0,_0x584220[_0x30b5bc(0x270)])(_0x2d1e71))throw _0x2d1e71[_0x30b5bc(0x286)];_0x42fd04[_0x30b5bc(0x1dc)](_0x30604e[_0x30b5bc(0x39a)][_0x30b5bc(0x29c)]),_0x1fb0e1['unshift'](_0x2d1e71[_0x30b5bc(0x39a)][_0x30b5bc(0x29c)]),_0xb8278c=_0x30604e['m1Prime'],_0x5b0e6a=_0x2d1e71[_0x30b5bc(0x284)];}_0x4da1f8[_0x30b5bc(0x2b4)]({'undoCache':_0x42fd04,'redoCache':_0x1fb0e1});}[_0x2c832d(0x2a0)](_0x2d1286){const _0x2c0ca6=_0x2c832d;let {unitID:_0x3a9d28}=_0x2d1286,_0x52e784=this[_0x2c0ca6(0x4a6)]['getRenderById'](_0x3a9d28)[_0x2c0ca6(0x468)](_0x493739[_0x2c0ca6(0x376)]),_0x1df6df=_0x52e784['getActiveRange']();if(_0x1df6df==null)return;let _0x4e102f=[{'id':_0x2c0ca6(0x44a),'params':{'unitId':_0x2d1286[_0x2c0ca6(0x3a5)],'actions':null,'textRanges':[_0x1df6df]}}],_0x1fdc54=this['_transformService']['transformMutationsWithChangeset'](_0x2d1286,_0x4e102f);if(!(0x0,_0x584220['isTransformMutationsWithChangesetSuccess'])(_0x1fdc54))throw _0x1fdc54[_0x2c0ca6(0x286)];let _0x41a691=_0x1fdc54[_0x2c0ca6(0x39a)][0x0]['params'][_0x2c0ca6(0x475)];Array['isArray'](_0x41a691)&&_0x41a691[_0x2c0ca6(0x1e6)]&&_0x52e784[_0x2c0ca6(0x2c7)](_0x41a691[0x0]);}};_0x564baf=_0x568561([_0x144f1b(0x0,_0x584220[_0x2c832d(0x28b)]),_0x144f1b(0x1,_0x6b7952[_0x2c832d(0x368)])],_0x564baf);let _0xcacb51=class{constructor(_0x2bde94,_0x101315,_0x5c8c43){const _0x4f10fb=_0x2c832d;this[_0x4f10fb(0x3b8)]=_0x2bde94,this['_transformService']=_0x101315,this[_0x4f10fb(0x3b7)]=_0x5c8c43;}['transformStateCache'](_0x46bd0a){this['_transformHistoryAndStateStack'](_0x46bd0a);}[_0x2c832d(0x3c1)](_0x4eb7d8){const _0x5484e1=_0x2c832d;let {unitID:_0x359948}=_0x4eb7d8,{collaboration:_0x384db7}=this[_0x5484e1(0x3b7)]['getStateCache'](_0x359948);if(_0x384db7['length']===0x0)return _0x4eb7d8;let _0x55f792=_0x412392[_0x5484e1(0x39d)][_0x5484e1(0x3ff)](_0x4eb7d8[_0x5484e1(0x294)][0x0]);for(let _0x2fcd0e=0x0;_0x2fcd0e<_0x384db7[_0x5484e1(0x1e6)];_0x2fcd0e++){let _0x4a6aca={'id':_0x5484e1(0x44a),'params':{'unitId':_0x384db7[_0x2fcd0e][_0x5484e1(0x366)],..._0x384db7[_0x2fcd0e][_0x5484e1(0x2d2)]}},_0x2000e9=this[_0x5484e1(0x32c)]['transformMutation'](_0x55f792,_0x4a6aca,!0x1);if((0x0,_0x584220['isTransformMutationFailure'])(_0x2000e9))throw _0x2000e9[_0x5484e1(0x286)];_0x55f792=_0x2000e9[_0x5484e1(0x284)];}return{..._0x412392[_0x5484e1(0x39d)][_0x5484e1(0x3ff)](_0x4eb7d8),'mutations':[_0x55f792]};}[_0x2c832d(0x41f)](_0x3c4dbd){const _0x27b8f9=_0x2c832d;let {unitID:_0x5d1b7d}=_0x3c4dbd,{history:_0x4ae092,collaboration:_0x4a2457}=this['_docStateChangeManagerService'][_0x27b8f9(0x19e)](_0x5d1b7d);if(_0x4ae092[_0x27b8f9(0x1e6)]===0x0&&_0x4a2457[_0x27b8f9(0x1e6)]===0x0)return;let _0x191269=[],_0x381be6=[],_0xfbc186=_0x412392[_0x27b8f9(0x39d)][_0x27b8f9(0x3ff)](_0x3c4dbd[_0x27b8f9(0x294)][0x0]),_0x7506af=_0x412392['Tools']['deepClone'](_0x3c4dbd[_0x27b8f9(0x294)][0x0]);for(let _0x52964e=_0x4ae092[_0x27b8f9(0x1e6)]-0x1;_0x52964e>=0x0;_0x52964e--){let _0x548bfe={'id':_0x27b8f9(0x44a),'params':{'unitId':_0x4ae092[_0x52964e][_0x27b8f9(0x366)],..._0x4ae092[_0x52964e][_0x27b8f9(0x407)]}},_0x4ca958={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4ae092[_0x52964e]['unitId'],..._0x4ae092[_0x52964e][_0x27b8f9(0x2d2)]}},_0x254e6d=this[_0x27b8f9(0x32c)][_0x27b8f9(0x48b)](_0xfbc186,_0x548bfe,!0x1),_0x8e17b2=this[_0x27b8f9(0x32c)][_0x27b8f9(0x48b)](_0x7506af,_0x4ca958,!0x1);if((0x0,_0x584220[_0x27b8f9(0x270)])(_0x254e6d))throw _0x254e6d[_0x27b8f9(0x286)];if((0x0,_0x584220[_0x27b8f9(0x270)])(_0x8e17b2))throw _0x8e17b2[_0x27b8f9(0x286)];_0x191269[_0x27b8f9(0x1dc)]({..._0x4ae092[_0x52964e],'undoState':_0x254e6d[_0x27b8f9(0x39a)]['params'],'redoState':_0x8e17b2[_0x27b8f9(0x39a)][_0x27b8f9(0x29c)]}),_0xfbc186=_0x254e6d[_0x27b8f9(0x284)],_0x7506af=_0x8e17b2[_0x27b8f9(0x284)];}_0xfbc186=_0x412392[_0x27b8f9(0x39d)][_0x27b8f9(0x3ff)](_0x3c4dbd[_0x27b8f9(0x294)][0x0]),_0x7506af=_0x412392[_0x27b8f9(0x39d)][_0x27b8f9(0x3ff)](_0x3c4dbd[_0x27b8f9(0x294)][0x0]);for(let _0xed96fb=_0x4a2457['length']-0x1;_0xed96fb>=0x0;_0xed96fb--){let _0x140564={'id':_0x27b8f9(0x44a),'params':{'unitId':_0x4a2457[_0xed96fb][_0x27b8f9(0x366)],..._0x4a2457[_0xed96fb][_0x27b8f9(0x407)]}},_0x33787a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4a2457[_0xed96fb]['unitId'],..._0x4a2457[_0xed96fb][_0x27b8f9(0x2d2)]}},_0x2c7c3c=this['_transformService']['transformMutation'](_0xfbc186,_0x140564,!0x1),_0x3c07aa=this[_0x27b8f9(0x32c)][_0x27b8f9(0x48b)](_0x7506af,_0x33787a,!0x1);if((0x0,_0x584220[_0x27b8f9(0x270)])(_0x2c7c3c))throw _0x2c7c3c[_0x27b8f9(0x286)];if((0x0,_0x584220[_0x27b8f9(0x270)])(_0x3c07aa))throw _0x3c07aa[_0x27b8f9(0x286)];_0x381be6[_0x27b8f9(0x1dc)]({..._0x4a2457[_0xed96fb],'undoState':_0x2c7c3c['m2Prime'][_0x27b8f9(0x29c)],'redoState':_0x3c07aa[_0x27b8f9(0x39a)][_0x27b8f9(0x29c)]}),_0xfbc186=_0x2c7c3c[_0x27b8f9(0x284)],_0x7506af=_0x3c07aa[_0x27b8f9(0x284)];}this[_0x27b8f9(0x3b7)][_0x27b8f9(0x3bd)](_0x5d1b7d,{'history':_0x191269,'collaboration':_0x381be6});}};_0xcacb51=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x1,_0x584220[_0x2c832d(0x28b)]),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x493739[_0x2c832d(0x32a)]))],_0xcacb51);let _0x2842fb=class{constructor(_0x4b0f3f,_0x2e42fb){const _0x1bd5a0=_0x2c832d;this[_0x1bd5a0(0x3b8)]=_0x4b0f3f,this[_0x1bd5a0(0x32c)]=_0x2e42fb;}['transformSelections'](_0x2c73f9){const _0x237f30=_0x2c832d;var _0x297a7e;let _0x28cedf=this[_0x237f30(0x3b8)]['get'](_0x5bad8c['DocSelectionManagerService']),_0x5e069f=(_0x297a7e=_0x28cedf[_0x237f30(0x3d0)]())==null?[]:_0x297a7e;if(_0x5e069f['length']===0x0)return;let _0x1641b2=_0x2c73f9['unitID'],_0x22f77b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1641b2,'actions':null,'textRanges':_0x5e069f}}],_0x42495b=this[_0x237f30(0x32c)][_0x237f30(0x33a)](_0x2c73f9,_0x22f77b);if(!(0x0,_0x584220[_0x237f30(0x1ce)])(_0x42495b))throw _0x42495b['error'];let _0x14f65c=_0x42495b[_0x237f30(0x39a)][0x0][_0x237f30(0x29c)][_0x237f30(0x475)];Array[_0x237f30(0x285)](_0x14f65c)&&_0x14f65c[_0x237f30(0x1e6)]&&_0x28cedf[_0x237f30(0x457)](_0x14f65c,{'unitId':_0x1641b2,'subUnitId':_0x1641b2},!0x1);}};_0x2842fb=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x1,_0x584220[_0x2c832d(0x28b)])],_0x2842fb);let _0x524fbf=class extends _0x412392[_0x2c832d(0x29e)]{constructor(_0x47a250,_0x1652df,_0x42e607,_0x1c4d0d,_0x5c39dc,_0x566ee9,_0x34727b,_0x3bc5ba){const _0x337e43=_0x2c832d;super(),this[_0x337e43(0x3b7)]=_0x47a250,this[_0x337e43(0x389)]=_0x1652df,this['_docTransformIMECacheService']=_0x42e607,this[_0x337e43(0x1b4)]=_0x1c4d0d,this['_docTransformSelectionsService']=_0x5c39dc,this['_docSyncEditingCollabCursorService']=_0x566ee9,this['_messageService']=_0x34727b,this[_0x337e43(0x2c6)]=_0x3bc5ba,_0x4a0977(this,_0x337e43(0x471),new _0x1af95b[(_0x337e43(0x3d7))](_0x3839b9[_0x337e43(0x2b6)][_0x337e43(0x222)])),this[_0x337e43(0x40d)]();}[_0x2c832d(0x40d)](){const _0x1cef1d=_0x2c832d;this[_0x1cef1d(0x319)](this[_0x1cef1d(0x389)]['entityInit$'][_0x1cef1d(0x2ef)](_0x340687=>{const _0x581bd6=_0x1cef1d;let _0x2e3e77=this['_docStateChangeManagerService'][_0x581bd6(0x274)][_0x581bd6(0x2ef)](_0x13a398=>{const _0x3223f3=_0x581bd6;if(_0x13a398==null)return;let {unitId:_0x22868e,redoState:_0x3e51a1,commandId:_0x53f95e}=_0x13a398;if(_0x22868e!==_0x340687['unitID'])return;let _0x5ccda9={'id':_0x53f95e,'type':_0x412392[_0x3223f3(0x1c5)]['MUTATION'],'params':{'unitId':_0x22868e,'actions':_0x3e51a1[_0x3223f3(0x329)],'textRanges':null}};_0x340687[_0x3223f3(0x3bf)](_0x5ccda9);});_0x340687[_0x581bd6(0x319)](_0x2e3e77),_0x340687 instanceof _0x3839b9[_0x581bd6(0x1b9)]&&_0x340687[_0x581bd6(0x3a1)]({'onTransformIME':_0x3d5bf2=>this[_0x581bd6(0x460)]['transformIMECache'](_0x3d5bf2),'onTransformState':_0x8470d5=>this[_0x581bd6(0x1b4)][_0x581bd6(0x42a)](_0x8470d5),'onTransformSelections':_0x2f833e=>this[_0x581bd6(0x364)][_0x581bd6(0x3f5)](_0x2f833e),'onSyncEditingCollabCursor':_0x5ae4f2=>this[_0x581bd6(0x2bf)]['syncEditingCollabCursor'](_0x5ae4f2),'onTransformRemoteChangesetByIMECache':_0x3519fc=>this['_docTransformIMECacheService'][_0x581bd6(0x3c1)](_0x3519fc),'onTransformRemoteChangesetByStateCache':_0x20ef24=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x20ef24)});}));}};_0x524fbf=_0x568561([_0x144f1b(0x0,(0x0,_0x412392['Inject'])(_0x493739[_0x2c832d(0x32a)])),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9['CollaborationController'])),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x564baf)),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0xcacb51)),_0x144f1b(0x4,(0x0,_0x412392['Inject'])(_0x2842fb)),_0x144f1b(0x5,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1fb69b)),_0x144f1b(0x6,_0x197442[_0x2c832d(0x49d)]),_0x144f1b(0x7,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x1c1)]))],_0x524fbf);let _0x5325d3=class extends _0x412392[_0x2c832d(0x29e)]{constructor(_0x27b851,_0x5095a7,_0xc77870,_0x4e433f){const _0x42a2ed=_0x2c832d;super(),this[_0x42a2ed(0x3b8)]=_0x27b851,this[_0x42a2ed(0x1ea)]=_0x5095a7,this[_0x42a2ed(0x436)]=_0xc77870,this['_collaborationSessionService']=_0x4e433f,_0x4a0977(this,'_memberID',void 0x0),this[_0x42a2ed(0x21c)]();}[_0x2c832d(0x21c)](){const _0x51396c=_0x2c832d;this[_0x51396c(0x1d4)](),this[_0x51396c(0x388)](),this[_0x51396c(0x372)](),this['_initUserListener']();}[_0x2c832d(0x2bb)](){const _0x35ba3f=_0x2c832d;this[_0x35ba3f(0x319)](this[_0x35ba3f(0x2be)][_0x35ba3f(0x290)][_0x35ba3f(0x2ef)](_0x27facb=>{const _0x2fdd8e=_0x35ba3f;this[_0x2fdd8e(0x442)]=_0x27facb==null?void 0x0:_0x27facb[_0x2fdd8e(0x4a3)];}));}[_0x2c832d(0x1d4)](){const _0x2a28f7=_0x2c832d;let _0x1082e5=_0x4081af=>{const _0x393a79=_0xff8c;var _0x2b0140;this['_uploadLog'](_0x393a79(0x286),_0x393a79(0x354)+_0x4081af[_0x393a79(0x474)]+_0x393a79(0x342)+_0x4081af['filename']+':'+_0x4081af[_0x393a79(0x46b)]+':'+_0x4081af[_0x393a79(0x3c7)]+'\x0a'+(((_0x2b0140=_0x4081af['error'])==null?void 0x0:_0x2b0140[_0x393a79(0x419)])||''));};window[_0x2a28f7(0x42d)]('error',_0x1082e5),this[_0x2a28f7(0x319)](()=>{const _0x2bad16=_0x2a28f7;window[_0x2bad16(0x476)](_0x2bad16(0x286),_0x1082e5);});}[_0x2c832d(0x388)](){const _0x5eaa7e=_0x2c832d;let _0x438d85=_0x3a8fe6=>{const _0x5efbd3=_0xff8c;this[_0x5efbd3(0x43d)](_0x5efbd3(0x286),'[Unhandled\x20Rejection]:\x20'+_0x3a8fe6[_0x5efbd3(0x2fe)]);};window[_0x5eaa7e(0x42d)]('unhandledrejection',_0x438d85),this[_0x5eaa7e(0x319)](()=>{const _0xe3a030=_0x5eaa7e;window[_0xe3a030(0x476)](_0xe3a030(0x250),_0x438d85);});}[_0x2c832d(0x372)](){const _0x5be6ad=_0x2c832d;let _0xb14842=this[_0x5be6ad(0x436)][_0x5be6ad(0x286)][_0x5be6ad(0x3af)](this[_0x5be6ad(0x436)]);this[_0x5be6ad(0x436)][_0x5be6ad(0x286)]=(..._0x53863e)=>{const _0x38a16f=_0x5be6ad;let _0x436b67=_0x53863e[_0x38a16f(0x464)](_0x393333=>_0x393333 instanceof Error?_0x393333[_0x38a16f(0x474)]+'\x0a'+_0x393333[_0x38a16f(0x419)]:String(_0x393333))[_0x38a16f(0x2f7)]('\x20');this[_0x38a16f(0x43d)](_0x38a16f(0x286),_0x38a16f(0x1c9)+_0x436b67),_0xb14842(..._0x53863e);},this[_0x5be6ad(0x319)](()=>{const _0x15b424=_0x5be6ad;this[_0x15b424(0x436)][_0x15b424(0x286)]=_0xb14842;});}['_uploadLog'](_0x18d3d8,_0xe92647){const _0x4c8196=_0x2c832d;try{let _0x30c6f1={'userId':this[_0x4c8196(0x442)],'logLabel':_0x18d3d8,'content':_0xe92647};this['_httpService']['post'](_0x4c8196(0x268),{'body':_0x30c6f1})['catch'](()=>{});}catch{}}};_0x5325d3=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x22b)])),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1aaf00['HTTPService'])),_0x144f1b(0x2,_0x412392[_0x2c832d(0x4b3)]),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9[_0x2c832d(0x37f)]))],_0x5325d3);let _0x32a119=function(_0x43665a){const _0x2f9e39=_0x2c832d;return _0x43665a[_0x43665a[_0x2f9e39(0x39f)]=0x0]=_0x2f9e39(0x39f),_0x43665a[_0x43665a['OK']=0x1]='OK',_0x43665a[_0x43665a['INTERNAL_ERROR']=0x2]=_0x2f9e39(0x494),_0x43665a[_0x43665a[_0x2f9e39(0x1ad)]=0x3]=_0x2f9e39(0x1ad),_0x43665a[_0x43665a[_0x2f9e39(0x435)]=0x4]=_0x2f9e39(0x435),_0x43665a[_0x43665a[_0x2f9e39(0x381)]=0x5]=_0x2f9e39(0x381),_0x43665a[_0x43665a[_0x2f9e39(0x491)]=0x6]='ALREADY_EXISTS',_0x43665a[_0x43665a[_0x2f9e39(0x466)]=0x7]=_0x2f9e39(0x466),_0x43665a[_0x43665a['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x43665a[_0x43665a[_0x2f9e39(0x1f6)]=0x9]='COMPLETION_FINISHED',_0x43665a[_0x43665a[_0x2f9e39(0x404)]=0xa]=_0x2f9e39(0x404),_0x43665a[_0x43665a[_0x2f9e39(0x2c0)]=0xb]=_0x2f9e39(0x2c0),_0x43665a[_0x43665a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2f9e39(0x2ca),_0x43665a[_0x43665a[_0x2f9e39(0x264)]=0xd]=_0x2f9e39(0x264),_0x43665a[_0x43665a[_0x2f9e39(0x213)]=0xe]=_0x2f9e39(0x213),_0x43665a[_0x43665a[_0x2f9e39(0x375)]=0xf]=_0x2f9e39(0x375),_0x43665a[_0x43665a[_0x2f9e39(0x1ec)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x43665a[_0x43665a['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x2f9e39(0x1cb),_0x43665a[_0x43665a[_0x2f9e39(0x323)]=0x65]=_0x2f9e39(0x323),_0x43665a[_0x43665a[_0x2f9e39(0x37c)]=0xc9]=_0x2f9e39(0x37c),_0x43665a[_0x43665a[_0x2f9e39(0x349)]=0xca]=_0x2f9e39(0x349),_0x43665a[_0x43665a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2f9e39(0x340),_0x43665a[_0x43665a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2f9e39(0x1e5),_0x43665a[_0x43665a[_0x2f9e39(0x1a4)]=0x1772]=_0x2f9e39(0x1a4),_0x43665a[_0x43665a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2f9e39(0x2b9),_0x43665a[_0x43665a[_0x2f9e39(0x3ed)]=0x1b59]=_0x2f9e39(0x3ed),_0x43665a[_0x43665a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2f9e39(0x3ea),_0x43665a[_0x43665a[_0x2f9e39(0x463)]=0x1b5b]=_0x2f9e39(0x463),_0x43665a[_0x43665a[_0x2f9e39(0x42e)]=0x1b5c]=_0x2f9e39(0x42e),_0x43665a[_0x43665a[_0x2f9e39(0x225)]=0x1b5d]=_0x2f9e39(0x225),_0x43665a[_0x43665a[_0x2f9e39(0x227)]=0x1f41]=_0x2f9e39(0x227),_0x43665a[_0x43665a[_0x2f9e39(0x1b6)]=0x2329]=_0x2f9e39(0x1b6),_0x43665a[_0x43665a[_0x2f9e39(0x1af)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x43665a[_0x43665a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2f9e39(0x434),_0x43665a[_0x43665a[_0x2f9e39(0x2a1)]=0x232c]=_0x2f9e39(0x2a1),_0x43665a[_0x43665a[_0x2f9e39(0x371)]=0x232d]=_0x2f9e39(0x371),_0x43665a[_0x43665a[_0x2f9e39(0x1d7)]=0x2711]=_0x2f9e39(0x1d7),_0x43665a[_0x43665a[_0x2f9e39(0x214)]=0x2712]=_0x2f9e39(0x214),_0x43665a[_0x43665a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2f9e39(0x369),_0x43665a[_0x43665a[_0x2f9e39(0x24e)]=0x2714]=_0x2f9e39(0x24e),_0x43665a[_0x43665a[_0x2f9e39(0x1f4)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x43665a[_0x43665a[_0x2f9e39(0x27e)]=0x271b]=_0x2f9e39(0x27e),_0x43665a[_0x43665a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x2f9e39(0x2cd),_0x43665a[_0x43665a[_0x2f9e39(0x209)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x43665a[_0x43665a['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x2f9e39(0x1b3),_0x43665a[_0x43665a['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2f9e39(0x3b5),_0x43665a[_0x43665a[_0x2f9e39(0x19d)]=0x2720]=_0x2f9e39(0x19d),_0x43665a[_0x43665a[_0x2f9e39(0x31d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x43665a[_0x43665a[_0x2f9e39(0x483)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x43665a[_0x43665a[_0x2f9e39(0x3b4)]=0x2ee2]='INVALID_INVITE_CODE',_0x43665a[_0x43665a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2f9e39(0x332),_0x43665a[_0x43665a[_0x2f9e39(0x1d1)]=0x2ee4]=_0x2f9e39(0x1d1),_0x43665a[_0x43665a[_0x2f9e39(0x48e)]=0x2ee5]=_0x2f9e39(0x48e),_0x43665a[_0x43665a[_0x2f9e39(0x23b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x43665a[_0x43665a[_0x2f9e39(0x2ae)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x43665a[_0x43665a[_0x2f9e39(0x2d3)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x43665a[_0x43665a[_0x2f9e39(0x296)]=0x36b1]=_0x2f9e39(0x296),_0x43665a[_0x43665a[_0x2f9e39(0x345)]=0x36b2]=_0x2f9e39(0x345),_0x43665a[_0x43665a[_0x2f9e39(0x4a7)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x43665a[_0x43665a[_0x2f9e39(0x415)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x43665a[_0x43665a[_0x2f9e39(0x1e1)]=0x36b5]=_0x2f9e39(0x1e1),_0x43665a[_0x43665a[_0x2f9e39(0x2e7)]=0x36b6]=_0x2f9e39(0x2e7),_0x43665a[_0x43665a[_0x2f9e39(0x211)]=0x36b7]=_0x2f9e39(0x211),_0x43665a[_0x43665a[_0x2f9e39(0x450)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x43665a[_0x43665a[_0x2f9e39(0x298)]=0x3715]=_0x2f9e39(0x298),_0x43665a[_0x43665a['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x2f9e39(0x420),_0x43665a[_0x43665a['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x2f9e39(0x44f),_0x43665a[_0x43665a[_0x2f9e39(0x33d)]=0x37dd]=_0x2f9e39(0x33d),_0x43665a[_0x43665a['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x43665a[_0x43665a[_0x2f9e39(0x40a)]=0x3a9a]=_0x2f9e39(0x40a),_0x43665a[_0x43665a[_0x2f9e39(0x308)]=0x3a9b]=_0x2f9e39(0x308),_0x43665a[_0x43665a[_0x2f9e39(0x3d3)]=0x3a9c]=_0x2f9e39(0x3d3),_0x43665a[_0x43665a[_0x2f9e39(0x359)]=0x3a9d]=_0x2f9e39(0x359),_0x43665a[_0x43665a['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x2f9e39(0x3ef),_0x43665a[_0x43665a[_0x2f9e39(0x23d)]=0x3a9f]=_0x2f9e39(0x23d),_0x43665a[_0x43665a['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x2f9e39(0x4ae),_0x43665a[_0x43665a['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x43665a;}({});function _0x1b274c(_0xf8a65c){const _0x5baf2d=_0x2c832d;var _0x3a4059,_0x6cfd20;let _0x5b96ec=(_0x3a4059=_0xf8a65c['stageInfo'])==null?void 0x0:_0x3a4059[_0x5baf2d(0x233)],_0x40dc45=((_0x6cfd20=_0xf8a65c[_0x5baf2d(0x46a)])==null?void 0x0:_0x6cfd20['totalFormulasToCalculate'])||0x0;return _0x5b96ec===_0x3eef3a[_0x5baf2d(0x282)]['START_CALCULATION']&&_0x40dc45>0x0;}function _0x324149(_0xbb2aec){const _0x3a818c=_0x2c832d;return _0xbb2aec[_0x3a818c(0x2c1)]===_0x3eef3a[_0x3a818c(0x2ad)][_0x3a818c(0x31b)];}let _0x381f4e=class extends _0x412392['Disposable']{constructor(_0x4f9596,_0x480af2,_0x4f21f6,_0x56c08b,_0x1b92ab,_0x40cc24,_0x134de5){const _0x31bfad=_0x2c832d;super(),this[_0x31bfad(0x2aa)]=_0x4f9596,this['_commandService']=_0x480af2,this[_0x31bfad(0x44e)]=_0x4f21f6,this[_0x31bfad(0x1ea)]=_0x56c08b,this[_0x31bfad(0x206)]=_0x1b92ab,this['_logService']=_0x40cc24,this[_0x31bfad(0x2c6)]=_0x134de5,_0x4a0977(this,'_pollingInterval',null),_0x4a0977(this,_0x31bfad(0x324),0x0),_0x4a0977(this,_0x31bfad(0x2a7),0x0),_0x4a0977(this,_0x31bfad(0x273),[]),_0x4a0977(this,_0x31bfad(0x382),0x0),this[_0x31bfad(0x210)]();}['_initCommandInterceptor'](){const _0x8422a7=_0x2c832d;this[_0x8422a7(0x319)](this[_0x8422a7(0x3b6)]['beforeCommandExecuted']((_0x359d45,_0x1467e8)=>{const _0x4a9aee=_0x8422a7;var _0x31d52b;if(_0x359d45['id']!==_0x3eef3a[_0x4a9aee(0x322)]['id'])return;let _0x2cf2f5=_0x359d45[_0x4a9aee(0x29c)];if(this['_hasFormulaInDirtyRanges']((_0x31d52b=_0x2cf2f5[_0x4a9aee(0x2fc)])==null?[]:_0x31d52b)&&!this[_0x4a9aee(0x22d)]())throw this[_0x4a9aee(0x314)](_0x359d45,_0x1467e8),this[_0x4a9aee(0x27a)](),new _0x412392[(_0x4a9aee(0x48d))]();})),this[_0x8422a7(0x319)](this['_commandService']['onCommandExecuted']((_0x193f06,_0x302f40)=>{const _0x387760=_0x8422a7;if(_0x193f06['id']!==_0x3eef3a[_0x387760(0x34c)]['id'])return;let _0x4e5f8b=_0x193f06[_0x387760(0x29c)];if(_0x1b274c(_0x4e5f8b)){let _0x3fc97a=(0x0,_0x412392['generateRandomId'])();this[_0x387760(0x273)][_0x387760(0x1ee)](_0x3fc97a),this[_0x387760(0x41c)](_0x3fc97a);}else{if(_0x324149(_0x4e5f8b)&&this[_0x387760(0x273)][_0x387760(0x1e6)]>0x0){let _0x2567f7=this[_0x387760(0x273)][_0x387760(0x22f)]();this['_releaseCalculationLimit'](_0x2567f7);}}}));}[_0x2c832d(0x43c)](){const _0x4f9a1f=_0x2c832d;super['dispose'](),this[_0x4f9a1f(0x428)](),this[_0x4f9a1f(0x273)]=[],this[_0x4f9a1f(0x2a7)]=0x0,this[_0x4f9a1f(0x324)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x2c832d(0x314)](_0x363923,_0x3ca14e){const _0x364506=_0x2c832d;for(let _0x42913f=0x0;_0x42913f<0x1e;_0x42913f++)try{if(await this['_getFormulaLimitStatus'](),this[_0x364506(0x22d)]()){this[_0x364506(0x36b)](_0x363923,_0x3ca14e),this[_0x364506(0x2aa)][_0x364506(0x251)]({'content':this[_0x364506(0x2c6)]['t'](_0x364506(0x312)),'type':_0x39ba33[_0x364506(0x2b3)][_0x364506(0x275)]});return;}await new Promise(_0xc0dd85=>{const _0x1ad9fa=_0x364506;this[_0x1ad9fa(0x3ca)]=window[_0x1ad9fa(0x2e5)](_0xc0dd85,0x3e8);});}catch(_0x3fac32){this[_0x364506(0x436)]['error'](_0x3fac32);}this[_0x364506(0x2aa)][_0x364506(0x251)]({'content':this[_0x364506(0x2c6)]['t']('formula.calculation.unable'),'type':_0x39ba33[_0x364506(0x2b3)][_0x364506(0x1d8)]});}[_0x2c832d(0x36b)](_0x3033e4,_0x1b6e46){const _0x4add4d=_0x2c832d;try{this['_commandService'][_0x4add4d(0x2d6)](_0x3033e4['id'],_0x3033e4[_0x4add4d(0x29c)],_0x1b6e46);}catch(_0x78c37){this[_0x4add4d(0x436)][_0x4add4d(0x286)](_0x78c37);}}[_0x2c832d(0x339)](_0x35cdce,_0x10cd2f){const _0x24bcde=_0x2c832d;_0x10cd2f<this[_0x24bcde(0x382)]||(this['_lastResponseTimestamp']=_0x10cd2f,this['_maxFormulaLimit']=Number[_0x24bcde(0x1f9)](_0x35cdce[_0x24bcde(0x4a4)]),this[_0x24bcde(0x2a7)]=Number[_0x24bcde(0x1f9)](_0x35cdce[_0x24bcde(0x35b)]));}async['_startCalculationLimit'](_0xf4f313){const _0x10d4d8=_0x2c832d;let _0x3daac2=Date[_0x10d4d8(0x2ed)]();try{var _0x43da57,_0x51d4a9;let _0x15c939=((_0x43da57=this[_0x10d4d8(0x44e)][_0x10d4d8(0x1aa)](_0x3839b9[_0x10d4d8(0x377)]))==null?void 0x0:_0x43da57[_0x10d4d8(0x2e0)])||'/universer-api/license/formula/limit/start',_0x41be66=(await this[_0x10d4d8(0x1ea)][_0x10d4d8(0x2f5)](_0x15c939,{'body':JSON[_0x10d4d8(0x47d)]({'taskId':_0xf4f313})}))[_0x10d4d8(0x21d)];if(((_0x51d4a9=_0x41be66[_0x10d4d8(0x286)])==null?void 0x0:_0x51d4a9[_0x10d4d8(0x28f)])!==_0x32a119['OK'])return;this[_0x10d4d8(0x339)](_0x41be66[_0x10d4d8(0x32b)],_0x3daac2);}catch(_0x7268e7){this[_0x10d4d8(0x436)][_0x10d4d8(0x286)](_0x7268e7);}}async[_0x2c832d(0x3d2)](_0x549b36){const _0x4a809b=_0x2c832d;let _0x4931e8=Date[_0x4a809b(0x2ed)]();try{var _0x5174d5,_0x5699af;let _0x35ede1=((_0x5174d5=this[_0x4a809b(0x44e)]['getConfig'](_0x3839b9[_0x4a809b(0x377)]))==null?void 0x0:_0x5174d5[_0x4a809b(0x1f3)])||_0x4a809b(0x24c),_0x463cf5=_0x549b36?_0x35ede1+_0x4a809b(0x395)+encodeURIComponent(_0x549b36):_0x35ede1,_0x51ae92=(await this[_0x4a809b(0x1ea)][_0x4a809b(0x24d)](_0x463cf5))['body'];if(((_0x5699af=_0x51ae92[_0x4a809b(0x286)])==null?void 0x0:_0x5699af['code'])!==_0x32a119['OK'])return;this[_0x4a809b(0x339)](_0x51ae92[_0x4a809b(0x32b)],_0x4931e8);}catch(_0x1c8c8a){this['_logService'][_0x4a809b(0x286)](_0x1c8c8a);}}async[_0x2c832d(0x1ef)](_0xaeb0c3){const _0x1a048a=_0x2c832d;let _0x408d86=Date[_0x1a048a(0x2ed)]();try{var _0x307667,_0x3e0e47;let _0x2cc5ae=((_0x307667=this['_configService']['getConfig'](_0x3839b9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x307667['releaseFormulaLimitUrl'])||_0x1a048a(0x2ab),_0x5c11c8=(await this[_0x1a048a(0x1ea)]['post'](_0x2cc5ae,{'body':JSON['stringify']({'taskId':_0xaeb0c3})}))[_0x1a048a(0x21d)];if(((_0x3e0e47=_0x5c11c8[_0x1a048a(0x286)])==null?void 0x0:_0x3e0e47[_0x1a048a(0x28f)])!==_0x32a119['OK'])return;this[_0x1a048a(0x339)](_0x5c11c8[_0x1a048a(0x32b)],_0x408d86);}catch(_0x2db552){this[_0x1a048a(0x436)][_0x1a048a(0x286)](_0x2db552);}}[_0x2c832d(0x22d)](){const _0x202862=_0x2c832d;return this[_0x202862(0x324)]===0x0?!0x0:this[_0x202862(0x324)]-this[_0x202862(0x2a7)]>0x0;}[_0x2c832d(0x428)](){const _0x3ce997=_0x2c832d;this[_0x3ce997(0x3ca)]&&(clearTimeout(this[_0x3ce997(0x3ca)]),this[_0x3ce997(0x3ca)]=null);}[_0x2c832d(0x27a)](){const _0x4173ba=_0x2c832d;this[_0x4173ba(0x2aa)][_0x4173ba(0x251)]({'content':this[_0x4173ba(0x2c6)]['t'](_0x4173ba(0x3c5)),'type':_0x39ba33['MessageType'][_0x4173ba(0x44b)]});}[_0x2c832d(0x3da)](_0x249914){const _0x2aa197=_0x2c832d;for(let _0x5d8da3 of _0x249914){let {unitId:_0x12265f,sheetId:_0x10247e,range:_0x56d544}=_0x5d8da3,_0x12042b=this[_0x2aa197(0x206)]['getUnit'](_0x12265f);if(!_0x12042b)continue;let _0x49244f=_0x12042b['getSheetBySheetId'](_0x10247e);if(!_0x49244f)continue;let _0x290f0e=_0x49244f[_0x2aa197(0x307)]();for(let _0x50ea9e=_0x56d544['startRow'];_0x50ea9e<=_0x56d544['endRow'];_0x50ea9e++)for(let _0xc547a9=_0x56d544[_0x2aa197(0x253)];_0xc547a9<=_0x56d544[_0x2aa197(0x35e)];_0xc547a9++){let _0x425cfd=_0x290f0e[_0x2aa197(0x42c)](_0x50ea9e,_0xc547a9);if(_0x425cfd&&((0x0,_0x412392[_0x2aa197(0x26a)])(_0x425cfd['f'])||(0x0,_0x412392[_0x2aa197(0x3d4)])(_0x425cfd['si'])))return!0x0;}}return!0x1;}};_0x381f4e=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x197442[_0x2c832d(0x49d)])),_0x144f1b(0x1,_0x412392[_0x2c832d(0x335)]),_0x144f1b(0x2,_0x412392[_0x2c832d(0x49b)]),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1aaf00[_0x2c832d(0x357)])),_0x144f1b(0x4,_0x412392[_0x2c832d(0x1ac)]),_0x144f1b(0x5,_0x412392[_0x2c832d(0x4b3)]),_0x144f1b(0x6,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['LocaleService']))],_0x381f4e);let _0x490512=class extends _0x412392['Disposable']{constructor(_0x391c05,_0x4c51db,_0x2de54f){const _0x47a776=_0x2c832d;super(),this[_0x47a776(0x44e)]=_0x391c05,this[_0x47a776(0x42f)]=_0x4c51db,this['_revisionService']=_0x2de54f,_0x4a0977(this,_0x47a776(0x2a4),new Map()),_0x4a0977(this,_0x47a776(0x295),new Map()),_0x4a0977(this,_0x47a776(0x3e6),!0x1);}[_0x2c832d(0x2e9)](){const _0x3a2124=_0x2c832d;this[_0x3a2124(0x3e6)]=!0x0;}[_0x2c832d(0x3e7)](){this['_disabled']=!0x1;}get[_0x2c832d(0x45b)](){const _0x5f572d=_0x2c832d;return this[_0x5f572d(0x295)];}[_0x2c832d(0x43c)](){const _0x1e6a04=_0x2c832d;this['exhaustSavingTask']()['then'](()=>super[_0x1e6a04(0x43c)]());}async[_0x2c832d(0x1be)](_0x3a12ee){const _0x22fad6=_0x2c832d;return this[_0x22fad6(0x3e6)]?null:this[_0x22fad6(0x42f)][_0x22fad6(0x3b2)]((0x0,_0x3839b9[_0x22fad6(0x416)])(_0x3a12ee));}async[_0x2c832d(0x237)](_0x3b74d8,_0x59f3ee){const _0x15e3a3=_0x2c832d;return!!this[_0x15e3a3(0x42f)][_0x15e3a3(0x408)](_0x3b74d8,_0x59f3ee);}[_0x2c832d(0x3fb)](_0x306593,_0x5818b3,_0x4f23ba,_0x524981){const _0x44dd28=_0x2c832d;let _0x437286=this[_0x44dd28(0x353)]['getCurrentRevOfUnit'](_0x306593);this[_0x44dd28(0x2a4)][_0x44dd28(0x2c9)](_0x306593,{'unitID':_0x306593,'type':_0x5818b3,'awaitingChangeset':_0x4f23ba,'mutations':_0x524981,'rev':_0x437286}),this[_0x44dd28(0x295)][_0x44dd28(0x27c)](_0x306593)||this[_0x44dd28(0x328)](_0x306593);}[_0x2c832d(0x328)](_0x3411dc){const _0x4da5d3=_0x2c832d;let _0x40e695=this['_getSaveTimeout']();_0x40e695===0x0?this[_0x4da5d3(0x1cd)](_0x3411dc):this['_saveTaskMap'][_0x4da5d3(0x2c9)](_0x3411dc,setTimeout(()=>this[_0x4da5d3(0x1cd)](_0x3411dc),_0x40e695));}[_0x2c832d(0x28c)](){const _0x2c34ac=_0x2c832d;var _0x4196a2;return(_0x4196a2=this[_0x2c34ac(0x44e)][_0x2c34ac(0x1aa)](_0x3839b9[_0x2c34ac(0x302)]))==null?_0x3839b9[_0x2c34ac(0x3ae)]:_0x4196a2;}['_saveCache'](_0x1b4a91){const _0x551440=_0x2c832d;let _0x2b528a=this[_0x551440(0x295)][_0x551440(0x24d)](_0x1b4a91);return _0x2b528a!==void 0x0&&window[_0x551440(0x4a1)](_0x2b528a),this[_0x551440(0x42f)][_0x551440(0x408)]((0x0,_0x3839b9['getLocalCacheKey'])(_0x1b4a91),this['_cachedData'][_0x551440(0x24d)](_0x1b4a91))[_0x551440(0x486)](()=>this[_0x551440(0x295)]['delete'](_0x1b4a91));}async[_0x2c832d(0x22e)](){const _0x504a12=_0x2c832d;let _0x7d90e7=[];this[_0x504a12(0x295)][_0x504a12(0x341)]((_0x44a9ef,_0x25975a)=>{const _0x59c90c=_0x504a12;window[_0x59c90c(0x4a1)](_0x44a9ef),_0x7d90e7[_0x59c90c(0x1ee)](this[_0x59c90c(0x1cd)](_0x25975a)[_0x59c90c(0x486)](()=>{const _0xa0593b=_0x59c90c;this[_0xa0593b(0x295)][_0xa0593b(0x44c)](_0x25975a);}));}),await Promise['all'](_0x7d90e7);}};_0x490512=_0x568561([_0x144f1b(0x0,_0x412392[_0x2c832d(0x49b)]),_0x144f1b(0x1,_0x412392['ILocalStorageService']),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x584220['RevisionService']))],_0x490512);var _0x2f801c=class extends _0x412392[_0x2c832d(0x2df)]{constructor(){const _0x18e055=_0x2c832d;super(),_0x4a0977(this,_0x18e055(0x1e7),void 0x0),this['urlChange$']=(0x0,_0x1af95b['fromEvent'])(window,_0x18e055(0x470))[_0x18e055(0x1ed)]((0x0,_0x1af95b[_0x18e055(0x37d)])(this[_0x18e055(0x378)]),(0x0,_0x1af95b[_0x18e055(0x481)])(0x1),(0x0,_0x1af95b['mapTo'])(void 0x0));}[_0x2c832d(0x1a6)](_0x5a5a5d,_0x1e4657,_0x49bad8=!0x1){const _0x5c703a=_0x2c832d;let _0x642509=new URL(window[_0x5c703a(0x297)][_0x5c703a(0x343)]);_0x642509[_0x5c703a(0x480)][_0x5c703a(0x2c9)](_0x5a5a5d,_0x1e4657),_0x49bad8?window['history'][_0x5c703a(0x1fc)]('','',_0x642509[_0x5c703a(0x263)]()):window['history'][_0x5c703a(0x41b)]('','',_0x642509['toString']());}[_0x2c832d(0x409)](_0x56a534,_0x1aebcd=!0x1){const _0x26cdd2=_0x2c832d;let _0x5a24f8=new URL(window['location']['href']);_0x5a24f8[_0x26cdd2(0x480)][_0x26cdd2(0x44c)](_0x56a534),_0x1aebcd?window[_0x26cdd2(0x3e9)][_0x26cdd2(0x1fc)]('','',_0x5a24f8[_0x26cdd2(0x263)]()):window[_0x26cdd2(0x3e9)][_0x26cdd2(0x41b)]('','',_0x5a24f8[_0x26cdd2(0x263)]());}[_0x2c832d(0x25f)](_0x5dd86c){const _0x4b68c3=_0x2c832d;var _0x439fc2;return(_0x439fc2=new URL(window['location'][_0x4b68c3(0x343)])[_0x4b68c3(0x480)]['get'](_0x5dd86c))==null?void 0x0:_0x439fc2;}};let _0x2383b6=class extends _0x412392['Plugin']{constructor(_0x1f408e=_0x43887c,_0xc42a9f,_0x254b2c,_0xbee01){const _0x3dc0bc=_0x2c832d;super(),this['_config']=_0x1f408e,this[_0x3dc0bc(0x4a6)]=_0xc42a9f,this[_0x3dc0bc(0x3b8)]=_0x254b2c,this['_configService']=_0xbee01;let {..._0x17699b}=(0x0,_0x412392[_0x3dc0bc(0x203)])({},_0x43887c,this[_0x3dc0bc(0x3f8)]);this['_configService']['setConfig'](_0x45e6c7,_0x17699b);}[_0x2c832d(0x1cf)](){const _0x4f08d8=_0x2c832d;this[_0x4f08d8(0x216)](),this[_0x4f08d8(0x241)]();}[_0x2c832d(0x455)](){const _0x429316=_0x2c832d;this[_0x429316(0x26b)]();}[_0x2c832d(0x216)](){const _0x5b9f89=_0x2c832d;var _0x2a7bd6;let _0x400de4=[[_0x4ad64a],[_0x381f4e],[_0x2842fb],[_0x564baf],[_0xcacb51],[_0x1fb69b],[_0x8c589b,{'useClass':_0x2f801c}],[_0x1aaf00[_0x5b9f89(0x1a5)],{'useClass':_0x1aaf00[_0x5b9f89(0x401)]}],[_0x3839b9[_0x5b9f89(0x391)],{'useClass':_0x490512}],[_0x51fe36],[_0x524fbf],[_0x3a5846],[_0x270b73],[_0x3d1d63],[_0x2109df]];this[_0x5b9f89(0x3f8)][_0x5b9f89(0x315)]&&_0x400de4[_0x5b9f89(0x1ee)]([_0x5325d3]),(0x0,_0x412392[_0x5b9f89(0x477)])(this['_injector'],(0x0,_0x412392[_0x5b9f89(0x485)])(_0x400de4,(_0x2a7bd6=this[_0x5b9f89(0x3f8)])==null?void 0x0:_0x2a7bd6[_0x5b9f89(0x4b1)]));}[_0x2c832d(0x26b)](){const _0x63aac1=_0x2c832d;this['disposeWithMe'](this[_0x63aac1(0x4a6)][_0x63aac1(0x387)](_0x412392[_0x63aac1(0x32f)][_0x63aac1(0x1a2)],[_0x3e3eab])),this[_0x63aac1(0x319)](this[_0x63aac1(0x4a6)][_0x63aac1(0x387)](_0x412392['UniverInstanceType']['UNIVER_SHEET'],[_0x19300d]));}['_initDependencies'](){const _0x549631=_0x2c832d;(0x0,_0x412392['touchDependencies'])(this[_0x549631(0x3b8)],[[_0x270b73],[_0x51fe36],[_0x524fbf],[_0x3a5846],[_0x2109df],[_0x381f4e]]),this[_0x549631(0x3f8)]['enableFrontendLog']&&(0x0,_0x412392[_0x549631(0x327)])(this[_0x549631(0x3b8)],[[_0x5325d3]]);}};_0x4a0977(_0x2383b6,_0x2c832d(0x1c7),_0x2c832d(0x22c)),_0x4a0977(_0x2383b6,_0x2c832d(0x27f),_0x29c032),_0x4a0977(_0x2383b6,'version',_0x35beee),_0x2383b6=_0x568561([(0x0,_0x412392[_0x2c832d(0x445)])(_0x3839b9[_0x2c832d(0x3b9)]),_0x144f1b(0x1,_0x6b7952[_0x2c832d(0x368)]),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x3,_0x412392[_0x2c832d(0x49b)])],_0x2383b6);let _0x5c710b=class extends _0x3839b9[_0x2c832d(0x3a4)]{constructor(_0xacfa59,_0x2b05a8,_0x2f881a,_0x57b5a8,_0x234aa3){super(_0xacfa59,_0x2b05a8,_0x2f881a,_0x57b5a8,_0x234aa3);}async['createSocket'](_0x505e92){const _0x16496=_0x2c832d;let _0x4605ce=await this['_getSessionTicket'](),_0x12712c=this[_0x16496(0x45a)](_0x505e92,_0x4605ce);return this[_0x16496(0x338)](_0x12712c);}[_0x2c832d(0x45a)](_0x390e17,_0x24d4fc){const _0x4c3460=_0x2c832d;let _0x5c7d23=typeof window>'u'?new URL(_0x390e17):new URL(_0x390e17,window[_0x4c3460(0x297)][_0x4c3460(0x379)]);_0x5c7d23[_0x4c3460(0x480)][_0x4c3460(0x2c9)](_0x4c3460(0x4b0),_0x24d4fc);let _0x3baed0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4c3460(0x297)][_0x4c3460(0x1d0)]);return _0x3baed0[_0x4c3460(0x24d)](_0x4c3460(0x2b8))&&_0x5c7d23[_0x4c3460(0x480)][_0x4c3460(0x2c9)]('runId',_0x3baed0[_0x4c3460(0x24d)](_0x4c3460(0x2b8))),_0x5c7d23['toString']();}async[_0x2c832d(0x488)](){const _0x4a5740=_0x2c832d;var _0x110cfb,_0x487347,_0x1ce08c;let _0x537013=this['_configService']['getConfig'](_0x3839b9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x40f0b8=(_0x110cfb=_0x537013==null?void 0x0:_0x537013[_0x4a5740(0x232)])==null?_0x3839b9[_0x4a5740(0x490)]:_0x110cfb;return(_0x487347=(_0x1ce08c=(await this[_0x4a5740(0x1ea)][_0x4a5740(0x24d)](_0x40f0b8,{'headers':{'Content-Type':_0x4a5740(0x3f1)}}))[_0x4a5740(0x21d)])==null?void 0x0:_0x1ce08c[_0x4a5740(0x20e)])==null?'':_0x487347;}};_0x5c710b=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x22b)])),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1aaf00[_0x2c832d(0x357)])),_0x144f1b(0x2,_0x412392[_0x2c832d(0x49b)]),_0x144f1b(0x3,_0x412392['ILogService']),_0x144f1b(0x4,_0x584220['ISnapshotServerService'])],_0x5c710b);let _0x160a0f=class extends _0x412392[_0x2c832d(0x29e)]{constructor(_0xed4db0,_0x5a84e0,_0x55303e){const _0x55acee=_0x2c832d;super(),this[_0x55acee(0x24b)]=_0xed4db0,this[_0x55acee(0x1ea)]=_0x5a84e0,this[_0x55acee(0x44e)]=_0x55303e;}async[_0x2c832d(0x431)](_0x52f092,_0xdd806,_0x3c98af,..._0x5c42f6){const _0xe41a69=_0x2c832d;var _0x9638d5,_0x34b2b6,_0x58e6aa,_0x229643;let _0x598069=this[_0xe41a69(0x24b)]['getFocusedUnit']();if(!_0x598069)throw Error(_0xe41a69(0x2c4));let _0x187d4b=((_0x9638d5=this[_0xe41a69(0x44e)]['getConfig'](_0x3839b9['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))==null?_0x3839b9[_0xe41a69(0x4ac)]:_0x9638d5)+'/'+_0x52f092+_0xe41a69(0x2e4)+_0xdd806,_0x2ff607={'scriptId':_0x52f092,'runId':(_0x34b2b6=new URL(window[_0xe41a69(0x297)][_0xe41a69(0x343)])[_0xe41a69(0x480)][_0xe41a69(0x24d)]('runId'))==null?'':_0x34b2b6,'function':_0xdd806,'unitId':_0x598069[_0xe41a69(0x418)](),'argsOfFunction':JSON[_0xe41a69(0x47d)](_0x5c42f6),'invokeId':(_0x58e6aa=_0x3c98af['invokeId'])==null?'':_0x58e6aa,'executionId':(_0x229643=_0x3c98af['executionId'])==null?'':_0x229643};try{let _0x5a0ddb=await this[_0xe41a69(0x1ea)][_0xe41a69(0x2f5)](_0x187d4b,{'body':_0x2ff607});return _0x5a0ddb[_0xe41a69(0x21d)][_0xe41a69(0x286)]&&_0x5a0ddb[_0xe41a69(0x21d)][_0xe41a69(0x286)][_0xe41a69(0x28f)]!==_0x32a119['OK']?_0xe41a69(0x3f9):_0x5a0ddb['body']['result'];}catch{return'Failed';}}};_0x160a0f=_0x568561([_0x144f1b(0x0,_0x412392[_0x2c832d(0x1ac)]),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1aaf00[_0x2c832d(0x357)])),_0x144f1b(0x2,_0x412392[_0x2c832d(0x49b)])],_0x160a0f);var _0x4b1d71=function(_0x3c1f3f){const _0x100dc2=_0x2c832d;return _0x3c1f3f[_0x3c1f3f[_0x100dc2(0x1b1)]=0x0]=_0x100dc2(0x1b1),_0x3c1f3f[_0x3c1f3f['LEAVE']=0x1]='LEAVE',_0x3c1f3f[_0x3c1f3f[_0x100dc2(0x43b)]=0x2]=_0x100dc2(0x43b),_0x3c1f3f;}(_0x4b1d71||{});let _0x3277b1=0x7530,_0x186652=_0x2c832d(0x325);var _0x1e3d69=class extends _0x412392[_0x2c832d(0x29e)]{constructor(){const _0x5e0a9c=_0x2c832d;super(),_0x4a0977(this,_0x5e0a9c(0x2eb),(0x0,_0x412392['generateRandomId'])()),_0x4a0977(this,_0x5e0a9c(0x362),new Set()),_0x4a0977(this,'_unitOnClients',new Map()),_0x4a0977(this,_0x5e0a9c(0x440),null),_0x4a0977(this,_0x5e0a9c(0x27d),new Map()),_0x4a0977(this,_0x5e0a9c(0x47e),new Map()),this[_0x5e0a9c(0x21c)]();}[_0x2c832d(0x43c)](){const _0xb6aaa7=_0x2c832d;super['dispose'](),this['_clearOtherTimers'][_0xb6aaa7(0x341)]((_0x19744b,_0x25058c)=>this[_0xb6aaa7(0x31f)](_0x25058c)),this[_0xb6aaa7(0x440)]&&window['clearInterval'](this[_0xb6aaa7(0x440)]);}['getUnitStatus$'](_0x36e4bf){const _0x3aec2a=_0x2c832d;return this[_0x3aec2a(0x29b)](_0x36e4bf)[_0x3aec2a(0x1ed)]((0x0,_0x1af95b[_0x3aec2a(0x3fd)])());}['editingUnit'](_0x35828f){const _0x561b77=_0x2c832d;this['_selfUnitIDs'][_0x561b77(0x48a)]===0x0&&this[_0x561b77(0x201)](),this['_selfUnitIDs'][_0x561b77(0x36a)](_0x35828f),this[_0x561b77(0x413)]({'type':_0x4b1d71[_0x561b77(0x1b1)],'memberID':this[_0x561b77(0x2eb)],'unitIDs':[_0x35828f],'isForwarded':!0x1});}['disposeUnit'](_0x30ab96){const _0x4c5218=_0x2c832d;this['_selfUnitIDs'][_0x4c5218(0x44c)](_0x30ab96),this[_0x4c5218(0x362)][_0x4c5218(0x48a)]===0x0&&this[_0x4c5218(0x440)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2c832d(0x21c)](){const _0x747d37=_0x2c832d;this[_0x747d37(0x319)]((0x0,_0x412392[_0x747d37(0x1fa)])((0x0,_0x1af95b[_0x747d37(0x411)])(window,_0x747d37(0x3dc))[_0x747d37(0x2ef)](_0x4e0d95=>{const _0xf8bb97=_0x747d37;if(_0x4e0d95[_0xf8bb97(0x3f0)]!==_0x186652||!_0x4e0d95[_0xf8bb97(0x30f)])return;let _0x23f301=JSON[_0xf8bb97(0x336)](_0x4e0d95[_0xf8bb97(0x30f)]);this[_0xf8bb97(0x1e9)](_0x23f301);}))),window[_0x747d37(0x42d)]('unload',()=>this[_0x747d37(0x413)]({'type':_0x4b1d71['LEAVE'],'memberID':this[_0x747d37(0x2eb)],'unitIDs':Array[_0x747d37(0x238)](this[_0x747d37(0x362)])}));}[_0x2c832d(0x1e9)](_0x1502dd){const _0x3ecc2b=_0x2c832d;switch(_0x1502dd[_0x3ecc2b(0x199)]){case _0x4b1d71[_0x3ecc2b(0x1b1)]:this[_0x3ecc2b(0x34d)](_0x1502dd);break;case _0x4b1d71['LEAVE']:this[_0x3ecc2b(0x3aa)](_0x1502dd);break;case _0x4b1d71[_0x3ecc2b(0x43b)]:this[_0x3ecc2b(0x47a)](_0x1502dd);break;}}[_0x2c832d(0x34d)](_0xf0c75){const _0x1db770=_0x2c832d;let {unitIDs:_0x4973d7,memberID:_0x11164a,isForwarded:_0x39ff39}=_0xf0c75;_0x4973d7['forEach'](_0x4fd6c4=>{const _0x56d87d=_0xff8c;if(!_0x39ff39&&this[_0x56d87d(0x41a)]['has'](_0x4fd6c4)&&this[_0x56d87d(0x29b)](_0x4fd6c4)[_0x56d87d(0x34a)](_0x3839b9['UnitStatus'][_0x56d87d(0x49e)]),!this[_0x56d87d(0x41a)][_0x56d87d(0x27c)](_0x4fd6c4)||!this[_0x56d87d(0x41a)][_0x56d87d(0x24d)](_0x4fd6c4)[_0x56d87d(0x27c)](_0x11164a)){let _0x1437fa=this['_unitOnClients']['get'](_0x4fd6c4)||new Set();_0x1437fa[_0x56d87d(0x36a)](_0x11164a),this[_0x56d87d(0x41a)][_0x56d87d(0x2c9)](_0x4fd6c4,_0x1437fa),this['_scheduleClearOtherTimer'](_0x11164a);}}),_0x39ff39||this[_0x1db770(0x413)]({'type':_0x4b1d71[_0x1db770(0x1b1)],'memberID':this[_0x1db770(0x2eb)],'unitIDs':[...this[_0x1db770(0x362)]],'isForwarded':!0x0});}[_0x2c832d(0x3df)](_0x1f4294){const _0x31083b=_0x2c832d;this[_0x31083b(0x31f)](_0x1f4294);let _0x28848d=window[_0x31083b(0x2e5)](()=>{const _0x5197e0=_0x31083b;this[_0x5197e0(0x41a)][_0x5197e0(0x341)](_0x45bd9a=>{const _0x2a02f9=_0x5197e0;_0x45bd9a[_0x2a02f9(0x44c)](_0x1f4294);});},_0x3277b1*0x2);this[_0x31083b(0x27d)][_0x31083b(0x2c9)](_0x1f4294,_0x28848d);}[_0x2c832d(0x31f)](_0x181a85){const _0x523a79=_0x2c832d;if(this[_0x523a79(0x27d)][_0x523a79(0x27c)](_0x181a85)){let _0x36a4f2=this['_clearOtherTimers'][_0x523a79(0x24d)](_0x181a85);_0x36a4f2&&window['clearTimeout'](_0x36a4f2),this[_0x523a79(0x27d)][_0x523a79(0x2c9)](_0x181a85,null);}}[_0x2c832d(0x3aa)](_0xd73bb7){const _0x3ee694=_0x2c832d;let {memberID:_0x338de5,unitIDs:_0x5d2e02}=_0xd73bb7;_0x5d2e02[_0x3ee694(0x341)](_0x445658=>{const _0x2346e6=_0x3ee694;var _0x4b4fa0;let _0x2ccc09=this['_unitOnClients']['get'](_0x445658);_0x2ccc09&&(_0x2ccc09[_0x2346e6(0x44c)](_0x338de5),(_0x4b4fa0=this[_0x2346e6(0x29b)](_0x445658))==null||_0x4b4fa0['next'](_0x2ccc09['size']===0x0?_0x3839b9[_0x2346e6(0x330)][_0x2346e6(0x421)]:_0x3839b9[_0x2346e6(0x330)][_0x2346e6(0x49e)]));}),this[_0x3ee694(0x31f)](_0x338de5);}[_0x2c832d(0x47a)](_0xb150f6){const _0x23d8d5=_0x2c832d;this[_0x23d8d5(0x3df)](_0xb150f6['memberID']);}[_0x2c832d(0x413)](_0x3f4508){const _0x4170a8=_0x2c832d;localStorage[_0x4170a8(0x408)](_0x186652,JSON['stringify'](_0x3f4508));}[_0x2c832d(0x201)](){const _0x45082a=_0x2c832d;this[_0x45082a(0x440)]=window[_0x45082a(0x333)](()=>{const _0x4c58d9=_0x45082a;this[_0x4c58d9(0x413)]({'type':_0x4b1d71[_0x4c58d9(0x43b)],'memberID':this[_0x4c58d9(0x2eb)]});},_0x3277b1);}['_ensureSubject'](_0x2e5e4c){const _0x199b6d=_0x2c832d;return this[_0x199b6d(0x47e)][_0x199b6d(0x27c)](_0x2e5e4c)||this['_unitStatus'][_0x199b6d(0x2c9)](_0x2e5e4c,new _0x1af95b[(_0x199b6d(0x3d7))](_0x3839b9['UnitStatus'][_0x199b6d(0x421)])),this[_0x199b6d(0x47e)][_0x199b6d(0x24d)](_0x2e5e4c);}};Object[_0x2c832d(0x361)](_0x4bdf46,_0x2c832d(0x313),{'enumerable':!0x0,'get':function(){return _0x5c710b;}}),Object[_0x2c832d(0x361)](_0x4bdf46,'CollaborationDataLoaderController',{'enumerable':!0x0,'get':function(){return _0x2109df;}}),Object['defineProperty'](_0x4bdf46,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x51fe36;}}),_0x4bdf46[_0x2c832d(0x1bc)]=_0x8c589b,Object[_0x2c832d(0x361)](_0x4bdf46,_0x2c832d(0x23a),{'enumerable':!0x0,'get':function(){return _0x160a0f;}}),_0x4bdf46[_0x2c832d(0x424)]=_0x1c5797,Object[_0x2c832d(0x361)](_0x4bdf46,_0x2c832d(0x3a8),{'enumerable':!0x0,'get':function(){return _0x2383b6;}}),_0x4bdf46['WebBrowserSingleActiveUnitService']=_0x1e3d69,_0x4bdf46[_0x2c832d(0x3e3)]=_0x2f801c;}));function _0xff8c(_0x49b17b,_0x2b9df1){_0x49b17b=_0x49b17b-0x199;const _0x178d38=_0x178d();let _0xff8c1a=_0x178d38[_0x49b17b];return _0xff8c1a;}function _0x178d(){const _0xf3e4a4=['_id','DocSelectionManagerService','now','bottom','subscribe','react/jsx-runtime','ThemeService','RECT','collaboration.single-unit.warning','_onCursorUpdate','post','red.300','join','INotificationService','_transformUndoRedoStack','fillStyle','useCallback','dirtyRanges','forwardRef','reason','univerjs-icon\x20univerjs-icon-','assignAColorForMemberID','UniverRpc','LOCAL_CACHE_INTERVAL_KEY','_isBlinkVisible','_notificationService','init','getCurrentUnitForType','getCellMatrix','REDEMPTION_CODE_FULLY_REDEEMED','2775780sWgCnR','onCommandExecuted','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','arc','connectInjector','@univerjs/docs-ui','newValue','createElement','1em','formula.calculation.started','BrowserCollaborationSocketService','_checkAndWaitForCalculationPermission','enableFrontendLog','handleInsertCol','getTypeOfUnitDisposed$','_docClipboardService','disposeWithMe','_cursors','SUCCESS','_sheetSkeletonManagerService','PY_RUNTIME_SCRIPT_ERROR','evenodd','_removeClearOtherTimer','getOwnPropertyDescriptor','UniverDocsUi','SetFormulaCalculationStartMutation','ERROR_AGAIN','_maxFormulaLimit','ACTIVE_UNIT_EVENT_CHANNEL','url(#on-line-icon_clip0_910_349)','touchDependencies','_scheduleSaving','actions','DocStateChangeManagerService','limitInfo','_transformService','assign','sheetID','UniverInstanceType','UnitStatus','_assignedColors','INVITE_CODE_REQUIRED','setInterval','react','ICommandService','parse','off-line-icon_clip0_910_343','_doCreateSocket','_setFormulaLimitStatus','transformMutationsWithChangeset','_refRangeService','4mVCEtt','ENTITLE_NEED_BILLING_ADDRESS','_setupSubUnitSync','_drawTextRange','CHANGESET_REVISION_CONFILICT','forEach','\x20at\x20','href','labelPosition','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_hideTimer','iterator','UNIVER_SHEET','USER_IS_ANONYMOUS','next','rxjs','SetFormulaCalculationNotificationMutation','_handleJoinEvent','clsx','status$','Subject','on-line-icon','_document','_revisionService','[Window\x20Error]:\x20','_cursorInfo$','sessionStatus$','HTTPService','_startBlinking','REDEMPTION_USER_NOT_ELIGIBLE','38966QbCEJA','currentUsage','getAncestorScale','createIdentifier','endColumn','beginPath','DataLoaderService','defineProperty','_selfUnitIDs','@univerjs/sheets-ui','_docTransformSelectionsService','FromArray','unitId','SetTextSelectionsOperation','IRenderManagerService','YUUMI_RATE_OVER_LIMIT','add','_applyCommand','unit','handleMoveRange','_entities','offsetY','React','LICENSE_DISTRO_REJECTED','_monkeyPatchLogService','combineLatest','fromEventSubject','AUTHORIZE_CODE_ILLEGAL','DocIMEInputManagerService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','dispose$','origin','UniverSheetsUi','hovered','USER_NOT_FOUND','takeUntil','cursorInfo','CollaborationSessionService','column','UNAUTHENTICATED','_lastResponseTimestamp','values','USERS_LEAVE','toRgbString','HEADER_MENU','registerRenderModule','_initUnhandledRejectionListener','_collaborationController','getColorFromTheme','findNodePositionByCharIndex','getCollabCursors$','getSheetId','collabStatus.syncing','getMember','_initStatusListener','ILocalCacheService','Rectangle','_initEvent','_handleHover','?taskId=','registerRefRange','endRow','DOC_RANGE_TYPE','_color','m2Prime','jsxs','reconnect','Tools','DeleteRangeMoveLeftCommandId','UNDEFINED','getCurrentSkeleton','addHandlerCallback','_name','Unknown\x20user','CollaborationSocketService','unitID','CONFLICT','toPrimitive','UniverCollaborationClientUIPlugin','call','_handleLeaveEvent','_scene','RichTextEditingMutation','roomMembers','LOCAL_CACHE_INTERVAL','bind','syncEditingCollabCursor','VIEW_MAIN','getItem','collab-client.tooltip.reconnect','INVALID_INVITE_CODE','YUUMI_AI_RUN_FAILED','_commandService','_docStateChangeManagerService','_injector','UniverCollaborationClientPlugin','InsertRangeMoveRightCommandId','Rect','createInstance','setStateCache','fill','onLocalMutation','uni.network.url-service','transformRemoteChangeset','lineTo','_removeCollabCursors','_cursorShapes','formula.calculation.waiting','Workbook','colno','CollaborationUIEventService','_labelPosition','_pollingInterval','_imageIoService','_updateLocalCursor','_localCacheService','SHEET_VIEWPORT_KEY','_shapes','getDocRanges','RemoveRowCommandId','_getFormulaLimitStatus','REDEMPTION_CODE_NOT_STARTED','isFormulaId','onPointerLeave$','UniverDocs','BehaviorSubject','collab-text-range-','useDependency','_hasFormulaInDirtyRanges','blue.400','storage','InsertRangeMoveDownCommandId','@univerjs-pro/collaboration','_scheduleClearOtherTimer','_getScale','1614536oFBGjO','debounceTime','WebURLService','handleIRemoveCol','_collabCursorController','_disabled','enableLocalCache','send','history','APPLY_NON_SEQUENTIAL_REVISION','NodePositionConvertToCursor','http://www.w3.org/2000/svg','APPLY_REJECT','CLOSE_ROOM','REDEMPTION_USER_REDEEM_TIMES_EXCEED','key','application/json','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','getVpScrollXYInfoByPosToVp','colorChannel1','transformSelections','on-line-icon_clip0_910_349','univer-flex\x20univer-items-center','_config','Failed','getMergeData','updateOfflineData','IBeforeCloseService','distinctUntilChanged','_eventUnsubscribe','deepClone','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','WebSocketService','_highlightSecond','EffectRefRangId','LOGIN_FAILED','width','@univerjs/docs','undoState','setItem','removeParam','REDEMPTION_CODE_INACTIVE','eventID','0\x200\x2017\x2016','_initEntityListener','_getSheetObject','_entityInit$','CollaborationEvent','fromEvent','addClipboardHook','_send','FETCH_MISS','PAYMENT_CHANNEL_NOT_SUPPORT','getLocalCacheKey','subunit','getUnitId','stack','_unitOnClients','pushState','_startCalculationLimit','registerBeforeClose','text','_transformHistoryAndStateStack','ENTITLE_REPORT_LIMIT_EXCEED','NO_OTHER_CLIENTS_EDITING','restore','_urlService','SheetCollabCursorShape','UniverProCollaboration','collabStatus.notCollab','_drawRectRange','_clearPolling','UniverCore','transformStateCache','PENDING','getValue','addEventListener','APPLY_PERMISSION_DENIED','_localStorageService','rgba(255,\x20255,\x20255,\x200.01)','runOnServer','font','deserializeRangeWithSheet','LICENSE_IMPORT_SIZE_EXCEEDED','NOT_FOUND','_logService','_updateURLWithCurrentState','color','session.collaboration-timeout','UniverDesign','HEARTBEAT','dispose','_uploadLog','collabStatus.conflict','_refreshCollabCursors','_heartbeatTimer','function','_memberID','getTypeOfUnitAdded$','handleIRemoveRow','DependentOn','SetSelectionsOperation','session.connection-failed','closePath','getRelativeToViewportCoord','doc.mutation.rich-text-editing','Loading','delete','backgroundColor','_configService','ENTITLE_INSUFFICIENT_QUOTA','ENTITLE_USE_COUPON_NOT_1ST_TRADE','Tooltip','ColorKit','_drawAnchor','_memberService','onRendered','debug','replaceDocRanges','RegularPolygon','1112106pmqmEz','_createSocketURL','saveTaskMap','Warning','startRow','makeDirty','rgb','_docTransformIMECacheService','white','transform','APPLY_REVISION_CONFILICT','map','setAlpha','INVALID_ARGUMENT','fillText','with','top','stageInfo','lineno','complete','UniverDrawing','debounce','@univerjs/design','popstate','_status$','_roomMembers$','entries','message','textRanges','removeEventListener','registerDependencies','strokeWidth','_session','_handleHeartbeatEvent','AWAITING_WITH_PENDING','round','stringify','_unitStatus','RemoveColCommandId','searchParams','shareReplay','UniverIcon','INVITE_CODE_HAS_BEEN_UES','none','mergeOverrideWithDependencies','then','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getSessionTicket','yellow.400','size','transformMutation','getRenderById','CanceledError','INVITE_CODE_ALREADY_BOUND','getActiveSheet','DEFAULT_WS_SESSION_TICKET_URL','ALREADY_EXISTS','amd','SYNCED','INTERNAL_ERROR','registerComponent','data','source','UniverEngineRender','tag','currentTheme$','IConfigService','_onRefRangeChange','IMessageService','OTHER_CLIENTS_EDITING','split','getFocusedUnit','clearTimeout','IDocClipboardService','memberID','maxFormulaLimit','_uiPartsService','_renderManagerService','ENTITLE_DUP_SUBSCRIPTION','div','transformIMECache','getRangePointData','SUBMIT_CHANGESET_TIMEOUT','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_textBubble','DATA_SOURCE_TOO_LARGE','getViewport','sessionTicket','override','useRef','ILogService','_blinkTimer','collab-rect-range-','type','_backgroundColor','black','_anchorDot','YUUMI_CONNECTOR_URL_NOT_FOUND','getStateCache','_hovered','OnLineIcon','UniverNetwork','UNIVER_DOC','TEXT_RANGE_LAYER_INDEX','SNAPSHOT_HAS_BEEN_REMOVED','ISocketService','setParam','measureText','UPDATE_CURSOR','activeSheet$','getConfig','getCurrentSelections','IUniverInstanceService','PERMISSION_DENIED','_collabSessionService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','event$','JOIN','OffLineIcon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_docTransformStateCacheService','501765wPzMyI','LICENSE_MAX_UNITS_EXCEEDED','_updateCollabCursors','drawWith','DocCollaborationEntity','string','decorate','IURLService','mask','loadOfflineData','IUIPartsService','showText','LocaleService','COLORS','#FFF','_offsetY','CommandType','startsWith','pluginName','AWAITING','[LogService\x20Error]:\x20','_highlight','CURRENT_STATUS_CANNOT_OPERATE','permission.content','_saveCache','isTransformMutationsWithChangesetSuccess','onStarting','search','USER_NOT_INVITED_CODE','currentColor',',\x200.2)','_initWindowErrorListener','_toggleOnline','_context','YUUMI_UNABLE_LOAD_URL','Error','max','IImageIoService','jsx','unshift','random','collab-text-anchor-','_initStatusComponent','0\x200\x2016\x2016','ENTITLE_INVALID_COUPON_CODE','SOCKET_FAILED_RETRY','cursorInfo$','engine','SNAPSHOT_INVALID_SNAPSHOT','length','urlChange$','M0\x200H16V16H0z','_handleEvent','_httpService','getCoordByCell','LOGIN_TOKEN_PROCESSING_FAILED','pipe','push','_releaseCalculationLimit','setShapeProps','@univerjs/rpc','hide','getFormulaLimitStatusUrl','YUUMI_NO_CUBOID_FOR_QUESTION','focused$','COMPLETION_FINISHED','SessionStatus','_showText','parseInt','toDisposable','SheetSkeletonManagerService','replaceState','Shape','handleInsertRow','rxjs/operators','getUndoRedoMutationParamsCache','_scheduleHeartbeat','_online','merge','_docSkeletonManagerService','saveImage','_univerInstanceService','object','moveTo','YUUMI_ALL_TABLES_IS_INVALID','svg','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','onPointerEnter$','Optional','ticket','path','_initCommandInterceptor','ENTITLE_COUPON_USED_UP','unsubscribe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_URL_COL_OUT_OF_RANGE','find','_registerDependencies','fillRule','@univerjs/network','transformByState','Inactive','collabCursorState$','_init','body','selection','UniverProCollaborationClientUi','CollaborationUIEventId','_getLighterColor','NOT_COLLAB','InsertRowCommandId','getUnhiddenWorksheets','APPLY_DUPLICATED','save','CONNECTOR_DATA_TOO_LARGE','height','collaboration.closeRoom','_syncEditingCollabCursorService','Injector','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_checkCalculationAvailable','exhaustSavingTask','shift','attrs','_initCommandExecutedListener','wsSessionTicketUrl','stage','_anchor','handleInsertRangeMoveDown','DisposableCollection','saveOfflineData','from','ranges','RemoteUniscriptService','WECHAT_HAS_BEEN_BOUND','@univerjs-pro/collaboration-client','REDEMPTION_CODE_HAS_BEEN_CREATED','replace','849336QyUptz','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initDependencies','handleInsertRangeMoveRight','Vector2','@univerjs/drawing','_startDocCollabCursor','TEXT','xlink:href','_collabCursorState$','constructor','_toggleOffline','_instanceService','/universer-api/license/formula/limit/status','get','YUUMI_SUBSCRIPTION_NOT_FOUND','univer-mr-2\x20univer-flex\x20univer-text-xl','unhandledrejection','show','getUniverSheetInstance','startColumn','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','collaboration.offline-data-not-saved','_cursor','0.20.0','12aXxOtX','_getMergeRange','displayName','rgba(','range','trim','substring','getParam','_setupBeforeClosingHandler','idSuffix','_themeService','toString','EMAIL_VERIFY_CODE_MISMATCH','roomMembers$','SOCKET_FAILED','green.600','/universer-api/frontend/logs','_hover','isFormulaString','_registerRenderDependencies','MemberService','symbol','selections','min','isTransformMutationFailure','requireSession','_docSkeleton','_taskIds','docStateChange$','Success','_updateSubUnitFromURLParams','clipPath','prototype','exports','_showGuardMessage','collabStatus.offline','has','_clearOtherTimers','YUUMI_ASYNCIO_CANCELLED','packageName','asObservable','UniverEngineFormula','FormulaExecuteStageType','getColor','m1Prime','isArray','error','imageSourceType','rgba','OFFLINE','url(#$1','ITransformService','_getSaveTimeout','permission.title','_lastPointer','code','socket$','highlight','_startSheetCollabCursor','Active','mutations','_saveTaskMap','ENTITLE_CAN_NOT_BUY_LOWER_OTP','location','ENTITLE_CHAT_LIMIT_EXCEED','@univerjs/engine-formula','generateRandomId','_ensureSubject','params','highlightSecond','Disposable','subUnitId','_transformPreviousActiveRange','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/sheets','DocSkeletonManagerService','_cachedData','operators','ONLINE','_currentUsage','OTHER_CLIENT_EDITING','getSheetBySheetId','_messageService','/universer-api/license/formula/limit/done','defs','FormulaExecutedStateType','MOBILE_HAS_BEEN_BOUND','_onCursorDelete','149601NjnSPC','onTransformChange$','getSkeleton','MessageType','setUndoRedoMutationParamsCache','_range','CollaborationStatus','name','runId','ENSURE_SNAPSHOT_EXECUTION','_collaborationUIEventService','_initUserListener','...','[CollaborationDataLoaderController]','_collaborationSessionService','_docSyncEditingCollabCursorService','MOBILE_VERIFY_CODE_MISMATCH','functionsExecutedState','_colorAssignService','whenReady','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_blinkIntervalTimer','_localeService','setActiveRange','default','set','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','RefRangeService','currentSkeleton$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','loadUnit','filter','InsertColCommandId','SetDocZoomRatioOperation','redoState','EMAIL_HAS_BEEN_BOUND','handleDeleteRangeMoveUp','Inject','executeCommand','18SFJlXL','subscribeEvent','NodePositionConvertToRectRange','isEditing','slice','_stopBlinking','_colorIndex','onPointerMove$','RxDisposable','startFormulaLimitUrl','switchMap','onMouseMove','_draw','/run/','setTimeout','children','ENTITLE_COUPON_EXPIRED','row','disableLocalCache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'];_0x178d=function(){return _0xf3e4a4;};return _0x178d();}
|
|
9
9
|
|
|
10
10
|
// @univerjs-pro/collaboration-client-ui/facade
|
|
11
|
-
function
|
|
11
|
+
function _0x3156(){var _0x36f77a=['object','@univerjs/core/facade','2870444uXQixl','RemoteUniscriptService','3CdWiKE','function','30327770IuUdNb','356377MnoukH','1156630LgAcLM','694485qRlXsb','@univerjs-pro/collaboration-client-ui','runOnServer','FUniver','13436048Wlaakq','333naqAJZ','36XvyQCw','445420fCFSpT','extend','UniverCoreFacade','3WLvlat'];_0x3156=function(){return _0x36f77a;};return _0x3156();}function _0x4374(_0x4e5ff9,_0x247924){_0x4e5ff9=_0x4e5ff9-0xe1;var _0x3156a1=_0x3156();var _0x4374e1=_0x3156a1[_0x4e5ff9];return _0x4374e1;}(function(_0x22f6c,_0x589c5c){var _0x219764=_0x4374,_0x30e331=_0x22f6c();while(!![]){try{var _0x4df205=-parseInt(_0x219764(0xf2))/0x1*(-parseInt(_0x219764(0xe2))/0x2)+-parseInt(_0x219764(0xed))/0x3*(parseInt(_0x219764(0xf0))/0x4)+parseInt(_0x219764(0xe3))/0x5+parseInt(_0x219764(0xe9))/0x6*(parseInt(_0x219764(0xe1))/0x7)+-parseInt(_0x219764(0xe7))/0x8+parseInt(_0x219764(0xe8))/0x9*(-parseInt(_0x219764(0xea))/0xa)+parseInt(_0x219764(0xf4))/0xb;if(_0x4df205===_0x589c5c)break;else _0x30e331['push'](_0x30e331['shift']());}catch(_0x5675cb){_0x30e331['push'](_0x30e331['shift']());}}}(_0x3156,0xd9947),function(_0x4de3e4,_0x2a681d){var _0x2d1810=_0x4374;typeof exports==_0x2d1810(0xee)&&typeof module<'u'?_0x2a681d(require(`@univerjs-pro/collaboration-client-ui`),require(`@univerjs/core/facade`)):typeof define==_0x2d1810(0xf3)&&define['amd']?define([_0x2d1810(0xe4),_0x2d1810(0xef)],_0x2a681d):(_0x4de3e4=typeof globalThis<'u'?globalThis:_0x4de3e4||self,_0x2a681d(_0x4de3e4['UniverProCollaborationClientUi'],_0x4de3e4[_0x2d1810(0xec)]));}(this,function(_0x1002a6,_0x253232){var _0x213173=_0x4374,_0x2182f5=class extends _0x253232['FUniver']{[_0x213173(0xe5)](_0x1c64b8,_0x1aa195,..._0x145ec0){var _0x2988b8=_0x213173;return this['_injector']['get'](_0x1002a6[_0x2988b8(0xf1)])[_0x2988b8(0xe5)](_0x1c64b8,_0x1aa195,{},..._0x145ec0);}};_0x253232[_0x213173(0xe6)][_0x213173(0xeb)](_0x2182f5);}));
|
|
12
12
|
|
|
13
13
|
// index
|
|
14
14
|
(function(e,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/collaboration-client/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/collaboration-client/lib/facade"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.UniverPresetDocsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi))})(this,(function(e,i,l,t){"use strict";function a(n){const r=new URL(n,window.location.origin);switch(r.protocol){case"https:":r.protocol="wss:";break;case"http:":r.protocol="ws:";break}return r.toString()}function s(n={}){const{universerEndpoint:r}=n,o=r!=null?r:`${window.location.protocol}//${window.location.host}`;return{plugins:[i.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:!0,enableSingleActiveInstanceLock:!0,enableAuthServer:!0,authzUrl:`${o}/universer-api/authz`,snapshotServerUrl:`${o}/universer-api/snapshot`,collabSubmitChangesetUrl:`${o}/universer-api/comb`,collabWebSocketUrl:a(`${o}/universer-api/comb/connect`),loginUrlKey:`${o}/universer-api/oidc/authpage`,uploadFileServerUrl:`${o}/universer-api/stream/file/upload`,signUrlServerUrl:`${o}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${o}/`,wsSessionTicketUrl:`${o}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],t.UniverCollaborationClientUIPlugin]}}e.UniverDocsCollaborationPreset=s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|