@univerjs/preset-sheets-collaboration 0.12.1 → 0.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1,23 +1,23 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0x1ac4(_0x5e6077,_0x189ef8){var _0x7d271f=_0x7d27();return _0x1ac4=function(_0x1ac4e4,_0x4d3c65){_0x1ac4e4=_0x1ac4e4-0x70;var _0x14be6c=_0x7d271f[_0x1ac4e4];return _0x14be6c;},_0x1ac4(_0x5e6077,_0x189ef8);}(function(_0x26f66b,_0x4f590b){var _0x45d7f6=_0x1ac4,_0x559093=_0x26f66b();while(!![]){try{var _0x412d58=-parseInt(_0x45d7f6(0x114))/0x1*(-parseInt(_0x45d7f6(0x8c))/0x2)+-parseInt(_0x45d7f6(0x22c))/0x3+parseInt(_0x45d7f6(0xa0))/0x4*(parseInt(_0x45d7f6(0x38a))/0x5)+-parseInt(_0x45d7f6(0x185))/0x6+parseInt(_0x45d7f6(0x343))/0x7+-parseInt(_0x45d7f6(0x26a))/0x8+-parseInt(_0x45d7f6(0x93))/0x9;if(_0x412d58===_0x4f590b)break;else _0x559093['push'](_0x559093['shift']());}catch(_0x1c662b){_0x559093['push'](_0x559093['shift']());}}}(_0x7d27,0x97635),function(_0x389121,_0x413d57){var _0x569b5f=_0x1ac4;typeof exports==_0x569b5f(0xf1)&&typeof module<'u'?_0x413d57(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x569b5f(0x96)&&define[_0x569b5f(0x2ae)]?define([_0x569b5f(0x17e),_0x569b5f(0x14a),_0x569b5f(0x129),_0x569b5f(0x20d),_0x569b5f(0x30c),_0x569b5f(0x2ba),_0x569b5f(0x3c4),_0x569b5f(0x366),'@univerjs/network',_0x569b5f(0x2eb),'@univerjs-pro/license'],_0x413d57):(_0x389121=typeof globalThis<'u'?globalThis:_0x389121||self,_0x413d57(_0x389121[_0x569b5f(0xfa)]={},_0x389121[_0x569b5f(0x86)],_0x389121[_0x569b5f(0x1ea)],_0x389121[_0x569b5f(0x14f)],_0x389121[_0x569b5f(0x1a6)],_0x389121[_0x569b5f(0x2ba)],_0x389121[_0x569b5f(0x247)],_0x389121[_0x569b5f(0x2ba)][_0x569b5f(0x383)],_0x389121['UniverNetwork'],_0x389121[_0x569b5f(0x3ef)],_0x389121[_0x569b5f(0x31f)]));}(this,function(_0x35847c,_0x32c4ad,_0x765608,_0x5068b0,_0x8c00ce,_0x2f43df,_0x62fd52,_0x3039f7,_0x102f6e,_0x18920f,_0x49e56d){'use strict';var _0x1b6ca5=_0x1ac4;var _0x1d6416=Object[_0x1b6ca5(0x335)],_0xa70983=(_0x2a55aa,_0x1de003,_0x282534)=>_0x1de003 in _0x2a55aa?_0x1d6416(_0x2a55aa,_0x1de003,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x282534}):_0x2a55aa[_0x1de003]=_0x282534,_0x1bac5f=(_0x4f3124,_0x3d08fd,_0x56a9c5)=>_0xa70983(_0x4f3124,typeof _0x3d08fd!=_0x1b6ca5(0x381)?_0x3d08fd+'':_0x3d08fd,_0x56a9c5);const _0xdbb69b=_0x1b6ca5(0x29a),_0x1ade4e=_0x1b6ca5(0x167),_0x58068b='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3729d7=_0x1b6ca5(0x2c5),_0x391bfd=_0x1b6ca5(0xa4),_0x40d4d2=_0x1b6ca5(0x141),_0x4e97c3=_0x1b6ca5(0x1a5),_0x560f63=_0x1b6ca5(0x1b5),_0x42d637='/universer-api/comb',_0x53153f='/universer-api/oidc/authpage',_0x26812e=_0x1b6ca5(0x171),_0x1c6e64=_0x1b6ca5(0x1d7);var _0x3f5711=(_0x269c75=>(_0x269c75[_0x269c75[_0x1b6ca5(0x359)]=0x0]=_0x1b6ca5(0x359),_0x269c75[_0x269c75['OK']=0x1]='OK',_0x269c75[_0x269c75[_0x1b6ca5(0x2c3)]=0x2]=_0x1b6ca5(0x2c3),_0x269c75[_0x269c75[_0x1b6ca5(0x2d4)]=0x3]=_0x1b6ca5(0x2d4),_0x269c75[_0x269c75[_0x1b6ca5(0x3a3)]=0x4]=_0x1b6ca5(0x3a3),_0x269c75[_0x269c75['UNAUTHENTICATED']=0x5]=_0x1b6ca5(0x384),_0x269c75[_0x269c75['ALREADY_EXISTS']=0x6]=_0x1b6ca5(0xed),_0x269c75[_0x269c75[_0x1b6ca5(0x1ce)]=0x7]=_0x1b6ca5(0x1ce),_0x269c75[_0x269c75[_0x1b6ca5(0x15a)]=0x8]=_0x1b6ca5(0x15a),_0x269c75[_0x269c75[_0x1b6ca5(0x395)]=0x9]=_0x1b6ca5(0x395),_0x269c75[_0x269c75[_0x1b6ca5(0x113)]=0xa]='LOGIN_FAILED',_0x269c75[_0x269c75['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x269c75[_0x269c75['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1b6ca5(0x345),_0x269c75[_0x269c75[_0x1b6ca5(0x1dc)]=0xd]=_0x1b6ca5(0x1dc),_0x269c75[_0x269c75[_0x1b6ca5(0x3a6)]=0xe]=_0x1b6ca5(0x3a6),_0x269c75[_0x269c75[_0x1b6ca5(0x314)]=0xf]=_0x1b6ca5(0x314),_0x269c75[_0x269c75[_0x1b6ca5(0x1b2)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x269c75[_0x269c75[_0x1b6ca5(0xf5)]=0x64]=_0x1b6ca5(0xf5),_0x269c75[_0x269c75[_0x1b6ca5(0x36e)]=0x65]=_0x1b6ca5(0x36e),_0x269c75[_0x269c75[_0x1b6ca5(0x3f5)]=0xc9]=_0x1b6ca5(0x3f5),_0x269c75[_0x269c75[_0x1b6ca5(0x3e8)]=0xca]=_0x1b6ca5(0x3e8),_0x269c75[_0x269c75[_0x1b6ca5(0x29e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x269c75[_0x269c75[_0x1b6ca5(0x189)]=0x1771]=_0x1b6ca5(0x189),_0x269c75[_0x269c75[_0x1b6ca5(0x12e)]=0x1772]=_0x1b6ca5(0x12e),_0x269c75[_0x269c75[_0x1b6ca5(0x80)]=0x1773]=_0x1b6ca5(0x80),_0x269c75[_0x269c75[_0x1b6ca5(0x11b)]=0x1b59]=_0x1b6ca5(0x11b),_0x269c75[_0x269c75[_0x1b6ca5(0x316)]=0x1b5a]=_0x1b6ca5(0x316),_0x269c75[_0x269c75['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1b6ca5(0x30b),_0x269c75[_0x269c75[_0x1b6ca5(0x3b8)]=0x1b5c]=_0x1b6ca5(0x3b8),_0x269c75[_0x269c75[_0x1b6ca5(0x3fe)]=0x1b5d]=_0x1b6ca5(0x3fe),_0x269c75[_0x269c75[_0x1b6ca5(0xad)]=0x1f41]=_0x1b6ca5(0xad),_0x269c75[_0x269c75[_0x1b6ca5(0x7a)]=0x2329]=_0x1b6ca5(0x7a),_0x269c75[_0x269c75['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1b6ca5(0x100),_0x269c75[_0x269c75['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1b6ca5(0xdf),_0x269c75[_0x269c75[_0x1b6ca5(0x245)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x269c75[_0x269c75[_0x1b6ca5(0x15f)]=0x232d]=_0x1b6ca5(0x15f),_0x269c75[_0x269c75[_0x1b6ca5(0x3ad)]=0x2711]=_0x1b6ca5(0x3ad),_0x269c75[_0x269c75['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x269c75[_0x269c75[_0x1b6ca5(0x341)]=0x2713]=_0x1b6ca5(0x341),_0x269c75[_0x269c75['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x269c75[_0x269c75[_0x1b6ca5(0x1bb)]=0x271a]=_0x1b6ca5(0x1bb),_0x269c75[_0x269c75[_0x1b6ca5(0x2b7)]=0x271b]=_0x1b6ca5(0x2b7),_0x269c75[_0x269c75[_0x1b6ca5(0x369)]=0x271c]=_0x1b6ca5(0x369),_0x269c75[_0x269c75[_0x1b6ca5(0x1a9)]=0x271d]=_0x1b6ca5(0x1a9),_0x269c75[_0x269c75[_0x1b6ca5(0x235)]=0x271e]=_0x1b6ca5(0x235),_0x269c75[_0x269c75['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x269c75[_0x269c75[_0x1b6ca5(0x25a)]=0x2720]=_0x1b6ca5(0x25a),_0x269c75[_0x269c75['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x269c75[_0x269c75[_0x1b6ca5(0xae)]=0x2ee1]=_0x1b6ca5(0xae),_0x269c75[_0x269c75[_0x1b6ca5(0x273)]=0x2ee2]=_0x1b6ca5(0x273),_0x269c75[_0x269c75['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1b6ca5(0x3e0),_0x269c75[_0x269c75['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1b6ca5(0x16c),_0x269c75[_0x269c75[_0x1b6ca5(0x310)]=0x2ee5]=_0x1b6ca5(0x310),_0x269c75[_0x269c75[_0x1b6ca5(0x400)]=0x32c9]=_0x1b6ca5(0x400),_0x269c75[_0x269c75[_0x1b6ca5(0x286)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x269c75[_0x269c75['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x269c75[_0x269c75[_0x1b6ca5(0x25f)]=0x36b1]=_0x1b6ca5(0x25f),_0x269c75[_0x269c75[_0x1b6ca5(0xac)]=0x36b2]=_0x1b6ca5(0xac),_0x269c75[_0x269c75['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1b6ca5(0x10f),_0x269c75[_0x269c75[_0x1b6ca5(0x363)]=0x36b4]=_0x1b6ca5(0x363),_0x269c75[_0x269c75['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1b6ca5(0x35e),_0x269c75[_0x269c75['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x269c75[_0x269c75[_0x1b6ca5(0x137)]=0x3717]=_0x1b6ca5(0x137),_0x269c75[_0x269c75['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1b6ca5(0x1e1),_0x269c75[_0x269c75[_0x1b6ca5(0x340)]=0x3a99]=_0x1b6ca5(0x340),_0x269c75[_0x269c75[_0x1b6ca5(0x337)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x269c75[_0x269c75[_0x1b6ca5(0xd7)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x269c75[_0x269c75[_0x1b6ca5(0x269)]=0x3a9c]=_0x1b6ca5(0x269),_0x269c75[_0x269c75[_0x1b6ca5(0x27c)]=0x3a9d]=_0x1b6ca5(0x27c),_0x269c75[_0x269c75['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1b6ca5(0x101),_0x269c75[_0x269c75['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x269c75[_0x269c75[_0x1b6ca5(0x83)]=0x3e81]=_0x1b6ca5(0x83),_0x269c75[_0x269c75['UNRECOGNIZED']=-0x1]=_0x1b6ca5(0x28b),_0x269c75))(_0x3f5711||{}),_0x56d87c=(_0x216d24=>(_0x216d24[_0x216d24[_0x1b6ca5(0x2c0)]=0x0]='UNIVER_UNKNOWN',_0x216d24[_0x216d24[_0x1b6ca5(0x31a)]=0x1]=_0x1b6ca5(0x31a),_0x216d24[_0x216d24[_0x1b6ca5(0x398)]=0x2]='UNIVER_SHEET',_0x216d24[_0x216d24[_0x1b6ca5(0x1ca)]=0x3]=_0x1b6ca5(0x1ca),_0x216d24[_0x216d24[_0x1b6ca5(0x19d)]=0x4]=_0x1b6ca5(0x19d),_0x216d24[_0x216d24[_0x1b6ca5(0x28b)]=-0x1]=_0x1b6ca5(0x28b),_0x216d24))(_0x56d87c||{}),_0x1c4fc5=(_0x450779=>(_0x450779[_0x450779[_0x1b6ca5(0x1a0)]=0x0]=_0x1b6ca5(0x1a0),_0x450779[_0x450779[_0x1b6ca5(0x3a2)]=0x1]='HELLO',_0x450779[_0x450779[_0x1b6ca5(0x3b9)]=0x2]='JOIN',_0x450779[_0x450779[_0x1b6ca5(0x3c0)]=0x3]=_0x1b6ca5(0x3c0),_0x450779[_0x450779['INGEST']=0x4]=_0x1b6ca5(0x139),_0x450779[_0x450779[_0x1b6ca5(0x75)]=0x5]='HEARTBEAT',_0x450779[_0x450779[_0x1b6ca5(0x344)]=0x6]='RECV',_0x450779[_0x450779['UNRECOGNIZED']=-0x1]=_0x1b6ca5(0x28b),_0x450779))(_0x1c4fc5||{}),_0x5b7a0f=(_0x3559b4=>(_0x3559b4[_0x3559b4[_0x1b6ca5(0x3d8)]=0x0]=_0x1b6ca5(0x3d8),_0x3559b4[_0x3559b4['OK']=0x1]='OK',_0x3559b4[_0x3559b4['FAIL']=0x2]=_0x1b6ca5(0x33b),_0x3559b4[_0x3559b4[_0x1b6ca5(0x33a)]=0x3e9]=_0x1b6ca5(0x33a),_0x3559b4[_0x3559b4[_0x1b6ca5(0x2a1)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3559b4[_0x3559b4[_0x1b6ca5(0xa7)]=0x3eb]=_0x1b6ca5(0xa7),_0x3559b4[_0x3559b4[_0x1b6ca5(0x2ab)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3559b4[_0x3559b4[_0x1b6ca5(0x28b)]=-0x1]=_0x1b6ca5(0x28b),_0x3559b4))(_0x5b7a0f||{}),_0x54ca25=(_0x137b64=>(_0x137b64[_0x137b64['Undefined']=0x0]=_0x1b6ca5(0xbc),_0x137b64[_0x137b64[_0x1b6ca5(0x313)]=0x1]=_0x1b6ca5(0x313),_0x137b64[_0x137b64[_0x1b6ca5(0x35c)]=0x2]=_0x1b6ca5(0x35c),_0x137b64[_0x137b64['UnitEmbedded']=0x3]=_0x1b6ca5(0x2bc),_0x137b64[_0x137b64['UnitSnapshot']=0x4]=_0x1b6ca5(0x70),_0x137b64[_0x137b64['UserProfileImg']=0x5]=_0x1b6ca5(0x35d),_0x137b64[_0x137b64[_0x1b6ca5(0x84)]=0x6]=_0x1b6ca5(0x84),_0x137b64[_0x137b64['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x137b64))(_0x54ca25||{});const _0x573e20=_0x1b6ca5(0x3e3);function _0x2ac52a(_0x2fd536){var _0x2574b9=_0x1b6ca5;return JSON[_0x2574b9(0x144)](_0x2fd536)[_0x2574b9(0x39e)];}var _0x4d6e97=(_0x129c16=>(_0x129c16[_0x1b6ca5(0x23e)]=_0x1b6ca5(0x23e),_0x129c16['PERMISSION_DENIED']='PERMISSION_DENIED',_0x129c16['CONFLICT']=_0x1b6ca5(0x3f0),_0x129c16['CLOSE_ROOM']=_0x1b6ca5(0x162),_0x129c16[_0x1b6ca5(0x3e9)]=_0x1b6ca5(0x3e9),_0x129c16['SOCKET_FAILED_RETRY']=_0x1b6ca5(0xe6),_0x129c16[_0x1b6ca5(0x15b)]=_0x1b6ca5(0x15b),_0x129c16['SUBMIT_CHANGESET_TIMEOUT']=_0x1b6ca5(0x3f3),_0x129c16))(_0x4d6e97||{});class _0x4474bb{constructor(){var _0x104c38=_0x1b6ca5;_0x1bac5f(this,'_event$',new _0x2f43df[(_0x104c38(0x216))]()),_0x1bac5f(this,_0x104c38(0x34d),this[_0x104c38(0x135)]['asObservable']());}[_0x1b6ca5(0x106)](_0x392f57){var _0x7f43f7=_0x1b6ca5;this[_0x7f43f7(0x135)][_0x7f43f7(0x1a2)](_0x392f57);}}class _0x1442e0{constructor(){var _0x23b5ac=_0x1b6ca5;_0x1bac5f(this,_0x23b5ac(0x36c),new _0x2f43df[(_0x23b5ac(0x216))]()),_0x1bac5f(this,_0x23b5ac(0x184),this['_commentUpdate$'][_0x23b5ac(0x99)]());}[_0x1b6ca5(0x2a8)](_0x90a7de){var _0x311202=_0x1b6ca5;this[_0x311202(0x36c)][_0x311202(0x1a2)](_0x90a7de);}}var _0x3caca0=Object[_0x1b6ca5(0x1d2)],_0x1f17fb=(_0x1366dd,_0xf3e806,_0x593f3d,_0x36c1f9)=>{var _0x23ee20=_0x1b6ca5;for(var _0xe4fa1f=_0x36c1f9>0x1?void 0x0:_0x36c1f9?_0x3caca0(_0xf3e806,_0x593f3d):_0xf3e806,_0x4fc7e5=_0x1366dd[_0x23ee20(0x39e)]-0x1,_0x3bcaf3;_0x4fc7e5>=0x0;_0x4fc7e5--)(_0x3bcaf3=_0x1366dd[_0x4fc7e5])&&(_0xe4fa1f=_0x3bcaf3(_0xe4fa1f)||_0xe4fa1f);return _0xe4fa1f;},_0x271523=(_0x15463c,_0x3890fe)=>(_0x1a1711,_0x5a7a84)=>_0x3890fe(_0x1a1711,_0x5a7a84,_0x15463c);_0x35847c[_0x1b6ca5(0x328)]=class extends _0x765608[_0x1b6ca5(0x2bf)]{constructor(_0x2f132f,_0x11bb56){var _0x3c2c5a=_0x1b6ca5;super(),_0x1bac5f(this,_0x3c2c5a(0xdd),new Map()),_0x1bac5f(this,_0x3c2c5a(0x3b1),new _0x2f43df[(_0x3c2c5a(0x216))]()),(this[_0x3c2c5a(0xe7)]=_0x2f132f,this[_0x3c2c5a(0x125)]=_0x11bb56,this['disposeWithMe'](_0x2f43df[_0x3c2c5a(0x308)](this[_0x3c2c5a(0xe7)][_0x3c2c5a(0x24b)](_0x765608['UniverInstanceType'][_0x3c2c5a(0x398)])['pipe'](_0x3039f7[_0x3c2c5a(0x10d)](_0x1d274f=>_0x1d274f['getUnitId']())),this[_0x3c2c5a(0xe7)][_0x3c2c5a(0x24b)](_0x765608['UniverInstanceType'][_0x3c2c5a(0x31a)])[_0x3c2c5a(0x39a)](_0x3039f7['map'](_0x30727f=>_0x30727f[_0x3c2c5a(0xdc)]())),this[_0x3c2c5a(0xe7)][_0x3c2c5a(0x24b)](_0x765608[_0x3c2c5a(0x173)]['UNIVER_SLIDE'])[_0x3c2c5a(0x39a)](_0x3039f7['map'](_0x5d60d3=>_0x5d60d3[_0x3c2c5a(0xdc)]())))[_0x3c2c5a(0xf0)](_0xd6d394=>this[_0x3c2c5a(0x13b)](_0xd6d394))));}[_0x1b6ca5(0x284)](_0x403afd){var _0x45c509=_0x1b6ca5;return this[_0x45c509(0xdd)][_0x45c509(0x1df)](_0x403afd)?_0x2f43df['of'](this['_roomMembers'][_0x45c509(0x2b3)](_0x403afd)):this[_0x45c509(0x3b1)][_0x45c509(0x39a)](_0x3039f7[_0x45c509(0x10d)](_0x3fc894=>{var _0x25b96f=_0x45c509;if(_0x3fc894===_0x403afd)return this['_roomMembers'][_0x25b96f(0x2b3)](_0x3fc894);}));}[_0x1b6ca5(0x165)](_0x3d9ae9){var _0x2050b5=_0x1b6ca5;this[_0x2050b5(0x125)]['setCurrentUser'](_0x3d9ae9);}[_0x1b6ca5(0x2cf)](){var _0x3d6f63=_0x1b6ca5;return this[_0x3d6f63(0x125)]['getCurrentUser']();}['updateMember'](_0x9c2399,_0x4c714b){var _0x9d87d3=_0x1b6ca5;let _0x1e49f3=this[_0x9d87d3(0xdd)]['get'](_0x9c2399);_0x1e49f3||(_0x1e49f3=new _0x5c3047(),this[_0x9d87d3(0xdd)][_0x9d87d3(0x26d)](_0x9c2399,_0x1e49f3),this[_0x9d87d3(0x3b1)][_0x9d87d3(0x1a2)](_0x9c2399)),_0x1e49f3[_0x9d87d3(0x327)](_0x4c714b);}[_0x1b6ca5(0x24a)](_0x3a2fb7,_0x3954a5){var _0x52530e=_0x1b6ca5;const _0x1e8b05=this['_roomMembers'][_0x52530e(0x2b3)](_0x3a2fb7);_0x1e8b05&&_0x1e8b05[_0x52530e(0x24a)](_0x3954a5);}['getRoom'](_0x4b836e){var _0x2f01c8=_0x1b6ca5;return this['_roomMembers'][_0x2f01c8(0x2b3)](_0x4b836e);}['getMember'](_0x392c06,_0x418903){var _0x5a725d=_0x1b6ca5;const _0x1989c9=this[_0x5a725d(0xdd)]['get'](_0x392c06);if(_0x1989c9)return _0x1989c9['getMember'](_0x418903);}[_0x1b6ca5(0x13b)](_0x1f6581){var _0x5c1d08=_0x1b6ca5;const _0x2b6474=this['_roomMembers'][_0x5c1d08(0x2b3)](_0x1f6581);_0x2b6474&&(_0x2b6474[_0x5c1d08(0xb1)](),this[_0x5c1d08(0xdd)][_0x5c1d08(0x3d7)](_0x1f6581));}[_0x1b6ca5(0xb1)](){var _0x1efdb8=_0x1b6ca5;this['_roomMembers'][_0x1efdb8(0x1d1)](_0x568753=>_0x568753[_0x1efdb8(0xb1)]()),this['_roomMembers'][_0x1efdb8(0x1c1)](),this['_roomCreated$'][_0x1efdb8(0x149)]();}},_0x35847c[_0x1b6ca5(0x328)]=_0x1f17fb([_0x271523(0x0,_0x765608[_0x1b6ca5(0x175)]),_0x271523(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x25d)]))],_0x35847c[_0x1b6ca5(0x328)]);class _0x5c3047 extends _0x765608[_0x1b6ca5(0x2bf)]{constructor(){var _0x448fab=_0x1b6ca5;super(...arguments),_0x1bac5f(this,'_members',new Map()),_0x1bac5f(this,_0x448fab(0x17f),new _0x2f43df[(_0x448fab(0x20b))](this[_0x448fab(0x133)])),_0x1bac5f(this,'members$',this[_0x448fab(0x17f)]['asObservable']());}[_0x1b6ca5(0xb1)](){var _0x3ff02a=_0x1b6ca5;this[_0x3ff02a(0x133)][_0x3ff02a(0x1c1)]();}[_0x1b6ca5(0x327)](_0x38a2eb){var _0x3c21e3=_0x1b6ca5;this['_members'][_0x3c21e3(0x26d)](_0x38a2eb[_0x3c21e3(0x296)],_0x38a2eb),this[_0x3c21e3(0x9d)]();}[_0x1b6ca5(0x24a)](_0x261ee7){var _0x36dbb0=_0x1b6ca5;this[_0x36dbb0(0x133)][_0x36dbb0(0x3d7)](_0x261ee7);}['getMember'](_0xb473a2){var _0x319be8=_0x1b6ca5;return this['_members'][_0x319be8(0x2b3)](_0xb473a2);}[_0x1b6ca5(0x3b6)](){var _0x2116cb=_0x1b6ca5;return Array[_0x2116cb(0x126)](this['_members']['values']());}[_0x1b6ca5(0x9d)](){var _0x59df47=_0x1b6ca5;this[_0x59df47(0x17f)][_0x59df47(0x1a2)](this[_0x59df47(0x133)]);}}var _0xccef21=Object['getOwnPropertyDescriptor'],_0x5016dd=(_0x260db0,_0x18dcfa,_0xb5ea1d,_0x5d1b46)=>{var _0x4b53a6=_0x1b6ca5;for(var _0x1d6669=_0x5d1b46>0x1?void 0x0:_0x5d1b46?_0xccef21(_0x18dcfa,_0xb5ea1d):_0x18dcfa,_0x8d379b=_0x260db0[_0x4b53a6(0x39e)]-0x1,_0x19a712;_0x8d379b>=0x0;_0x8d379b--)(_0x19a712=_0x260db0[_0x8d379b])&&(_0x1d6669=_0x19a712(_0x1d6669)||_0x1d6669);return _0x1d6669;},_0x2d031c=(_0xe1aaa5,_0x4ddd9c)=>(_0x48fe0a,_0x56e28b)=>_0x4ddd9c(_0x48fe0a,_0x56e28b,_0xe1aaa5),_0x34dd1c=(_0x37787b=>(_0x37787b[_0x37787b['IDLE']=0x0]=_0x1b6ca5(0x2f0),_0x37787b[_0x37787b[_0x1b6ca5(0x187)]=0x1]='JOINING',_0x37787b[_0x37787b[_0x1b6ca5(0x1c5)]=0x2]=_0x1b6ca5(0x1c5),_0x37787b[_0x37787b[_0x1b6ca5(0x22e)]=0x3]='ONLINE',_0x37787b))(_0x34dd1c||{});const _0x2c4026={[_0x5b7a0f[_0x1b6ca5(0x33b)]]:_0x1b6ca5(0x1e4),[_0x5b7a0f[_0x1b6ca5(0x33a)]]:_0x1b6ca5(0x74),[_0x5b7a0f['JOIN_ROOM_NOT_EXISTS']]:_0x1b6ca5(0x9e),[_0x5b7a0f['JOIN_ROOM_PERMISSION_DENIED']]:_0x1b6ca5(0x18b),[_0x5b7a0f[_0x1b6ca5(0x2ab)]]:_0x1b6ca5(0x262)};_0x35847c[_0x1b6ca5(0x325)]=class extends _0x765608[_0x1b6ca5(0x3ac)]{constructor(_0x37dd5c,_0x3e6747,_0x5ce467,_0x4399cc,_0x2c44d1,_0x56c456,_0x128bfb,_0x100dda){var _0x4c00d0=_0x1b6ca5;super(),_0x1bac5f(this,_0x4c00d0(0x3bb),new _0x2f43df['BehaviorSubject'](0x0)),_0x1bac5f(this,'sessionStatus$',this['_sessionStatus$'][_0x4c00d0(0x99)]()),_0x1bac5f(this,_0x4c00d0(0x135),new _0x2f43df[(_0x4c00d0(0x216))]()),_0x1bac5f(this,'event$',this['_event$'][_0x4c00d0(0x99)]()),_0x1bac5f(this,_0x4c00d0(0x2f2)),_0x1bac5f(this,_0x4c00d0(0x3db)),_0x1bac5f(this,_0x4c00d0(0x109)),_0x1bac5f(this,_0x4c00d0(0x30e),!0x1),_0x1bac5f(this,_0x4c00d0(0x1be),null),(this[_0x4c00d0(0x150)]=_0x37dd5c,this[_0x4c00d0(0x9f)]=_0x5ce467,this['_configService']=_0x4399cc,this[_0x4c00d0(0x2fa)]=_0x2c44d1,this['_commentService']=_0x56c456,this[_0x4c00d0(0x322)]=_0x128bfb,this[_0x4c00d0(0x275)]=_0x100dda,this['_shouldReportTelemetry']=!!this[_0x4c00d0(0x275)],_0x3e6747[_0x4c00d0(0x39a)](_0x2f43df[_0x4c00d0(0x18c)](this[_0x4c00d0(0x283)]))[_0x4c00d0(0xf0)](_0x4a82c2=>{var _0x427567=_0x4c00d0,_0x409900;typeof _0x4a82c2>'u'||(this[_0x427567(0x2f2)]=_0x4a82c2,_0x4a82c2?(this[_0x427567(0x1c0)](_0x4a82c2),this[_0x427567(0x3db)]=_0x4a82c2[_0x427567(0x32e)][_0x427567(0xf0)](_0x5d7afe=>{var _0xf3d661=_0x427567;_0x5d7afe[_0xf3d661(0x2a5)]===this[_0xf3d661(0x150)]&&this[_0xf3d661(0x193)](_0x5d7afe);})):(this[_0x427567(0xcc)](),this[_0x427567(0x3bb)]['next'](0x2),(_0x409900=this['_socketMessageSubscription'])==null||_0x409900[_0x427567(0x7c)](),this[_0x427567(0x3db)]=null));}));}get[_0x1b6ca5(0x28f)](){var _0x4b6a0b=_0x1b6ca5;return this[_0x4b6a0b(0x3bb)][_0x4b6a0b(0x3bc)]();}[_0x1b6ca5(0x14c)](){var _0xf47180=_0x1b6ca5,_0x45680a,_0x9d1e37;return(_0x9d1e37=(_0x45680a=this[_0xf47180(0x2f2)])==null?void 0x0:_0x45680a[_0xf47180(0x296)])!=null?_0x9d1e37:null;}[_0x1b6ca5(0xb1)](){var _0x4cdf44=_0x1b6ca5;super[_0x4cdf44(0xb1)](),this[_0x4cdf44(0x283)][_0x4cdf44(0x1a2)](),this['dispose$']['complete']();}[_0x1b6ca5(0x11c)](){var _0x3cfb8b=_0x1b6ca5,_0x390b75,_0x3a9ff1;this[_0x3cfb8b(0xcc)](),(_0x390b75=this[_0x3cfb8b(0x2f2)])==null||_0x390b75['send']({'cmd':_0x1c4fc5[_0x3cfb8b(0x3c0)],'data':{'roomID':this['_unitID']}}),(_0x3a9ff1=this[_0x3cfb8b(0x2f2)])==null||_0x3a9ff1[_0x3cfb8b(0x11c)](),this[_0x3cfb8b(0x135)][_0x3cfb8b(0x149)](),this[_0x3cfb8b(0x3bb)][_0x3cfb8b(0x149)](),this[_0x3cfb8b(0xb1)]();}[_0x1b6ca5(0x193)](_0x2928f7){var _0x139bc9=_0x1b6ca5;_0x2928f7[_0x139bc9(0x3b4)]===_0x1c4fc5[_0x139bc9(0x3b9)]?this['_onJoinRoomEvent'](_0x2928f7):_0x2928f7[_0x139bc9(0x3b4)]===_0x1c4fc5[_0x139bc9(0x344)]&&this[_0x139bc9(0x34f)](_0x2928f7);}['_joinRoom'](_0x4a11c5){var _0x1b7811=_0x1b6ca5;this['_sessionStatus$'][_0x1b7811(0x1a2)](0x1),_0x4a11c5[_0x1b7811(0x8a)]({'cmd':_0x1c4fc5['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1b7811(0x150)]}]}});}[_0x1b6ca5(0x38b)](_0x44592a){var _0x557333=_0x1b6ca5,_0x3ad3d3;if(_0x44592a['code']in _0x2c4026){this['_collaborationUIEventService'][_0x557333(0x106)]({'id':_0x4d6e97['JOIN_ROOM_FAILED'],'data':_0x2c4026[_0x44592a[_0x557333(0x3e6)]]}),this['_sessionStatus$'][_0x557333(0x1a2)](0x2);return;}this[_0x557333(0x3bb)]['next'](0x3);const _0x494791=(_0x3ad3d3=_0x44592a['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x3ad3d3[_0x557333(0xfb)];_0x494791&&_0x494791[_0x557333(0x1d1)](_0x5d0a1b=>this[_0x557333(0x2fa)]['updateMember'](this['_unitID'],_0x5d0a1b));}[_0x1b6ca5(0x34f)](_0x1c7eaf){var _0x44405d=_0x1b6ca5;try{const _0x1b1fa0=_0x1c7eaf['data'];switch(_0x1b1fa0[_0x44405d(0x239)]){case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x2de)]:this[_0x44405d(0xb7)](_0x1b1fa0),this['_event$'][_0x44405d(0x1a2)](_0x1b1fa0);break;case _0x32c4ad['CollaborationEvent'][_0x44405d(0x259)]:this['_onUserLeave'](_0x1b1fa0),this[_0x44405d(0x135)][_0x44405d(0x1a2)](_0x1b1fa0);break;case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x20f)]:case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x29c)]:this[_0x44405d(0x15e)](),this[_0x44405d(0xb6)](),this[_0x44405d(0x135)][_0x44405d(0x1a2)](_0x1b1fa0);break;case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x13e)]:this[_0x44405d(0x9f)][_0x44405d(0x35f)](_0x44405d(0x1bd)+JSON['stringify'](_0x1b1fa0)),this[_0x44405d(0x135)]['next'](_0x1b1fa0);break;case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x27d)]:this[_0x44405d(0x3a0)][_0x44405d(0x2a8)](_0x1b1fa0[_0x44405d(0x3c7)]),this[_0x44405d(0x135)][_0x44405d(0x1a2)](_0x1b1fa0);break;default:this[_0x44405d(0x135)][_0x44405d(0x1a2)](_0x1b1fa0);}}catch(_0x52a5a5){this[_0x44405d(0x9f)][_0x44405d(0x35f)](_0x52a5a5,_0x1c7eaf);}}[_0x1b6ca5(0xb7)](_0x2e96c9){var _0x4baf50=_0x1b6ca5;this[_0x4baf50(0x2fa)][_0x4baf50(0x327)](this[_0x4baf50(0x150)],_0x2e96c9[_0x4baf50(0x3c7)]);}[_0x1b6ca5(0x39b)](_0x4f12a4){var _0x4522e0=_0x1b6ca5;this[_0x4522e0(0x2fa)]['removeMember'](this[_0x4522e0(0x150)],_0x4f12a4[_0x4522e0(0x3c7)]['memberID']);}async[_0x1b6ca5(0x8a)](_0x340704,_0x3ec901){var _0x3e097b=_0x1b6ca5;if(this['sessionStatus']!==0x3||!this[_0x3e097b(0x2f2)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x340704[_0x3e097b(0x239)]===_0x32c4ad['CollaborationEvent'][_0x3e097b(0x209)]&&(this[_0x3e097b(0x28a)](),this[_0x3e097b(0x91)](_0x340704)),this[_0x3e097b(0x2f2)][_0x3e097b(0x8a)]({'cmd':_0x1c4fc5['INGEST'],'routeKey':_0x3ec901,'routeType':'','data':_0x340704});}catch(_0x2efb30){this[_0x3e097b(0x9f)]['error'](_0x2efb30);}}[_0x1b6ca5(0x28a)](){var _0x3eadd7=_0x1b6ca5,_0x47fa78;this[_0x3eadd7(0x109)]=setTimeout(()=>{var _0x2c1a14=_0x3eadd7;this[_0x2c1a14(0x109)]=null,this[_0x2c1a14(0x322)][_0x2c1a14(0x106)]({'id':_0x4d6e97[_0x2c1a14(0x3f3)]});},(_0x47fa78=this[_0x3eadd7(0xd8)][_0x3eadd7(0x1ef)](_0x40d4d2))!=null?_0x47fa78:0x4e20);}[_0x1b6ca5(0xb6)](){var _0x2f6b69=_0x1b6ca5;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2f6b69(0x109)]),this[_0x2f6b69(0x109)]=null);}[_0x1b6ca5(0x91)](_0x59f7b6){var _0x22a08e=_0x1b6ca5;if(!this[_0x22a08e(0x30e)])return;const {data:_0x4be0f3}=_0x59f7b6,{unitID:_0x4d1e70,changeset:_0x3954e6}=_0x4be0f3,{mutations:_0x1d3290,type:_0x51faac}=_0x3954e6;this['_telemetryInfo']={'unitId':_0x4d1e70,'type':_0x51faac,'startTime':performance[_0x22a08e(0x3cb)](),'stopTime':0x0,'duration':0x0,'size':_0x2ac52a(_0x1d3290)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5477bb=_0x1b6ca5;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x5477bb(0x9f)][_0x5477bb(0x35f)](_0x5477bb(0x9c),_0x5477bb(0x203));return;}this['_telemetryInfo']['stopTime']=performance['now'](),this[_0x5477bb(0x1be)][_0x5477bb(0x3a1)]=this[_0x5477bb(0x1be)][_0x5477bb(0x238)]-this[_0x5477bb(0x1be)][_0x5477bb(0x2c1)],this[_0x5477bb(0x275)][_0x5477bb(0x10a)](_0x573e20,this[_0x5477bb(0x1be)]),this[_0x5477bb(0x1be)]=null;}}[_0x1b6ca5(0xcc)](){var _0x4265d9=_0x1b6ca5;this[_0x4265d9(0x1be)]=null;}},_0x35847c[_0x1b6ca5(0x325)]=_0x5016dd([_0x2d031c(0x2,_0x765608[_0x1b6ca5(0x3f9)]),_0x2d031c(0x3,_0x765608[_0x1b6ca5(0x1af)]),_0x2d031c(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x35847c[_0x1b6ca5(0x328)])),_0x2d031c(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x1442e0)),_0x2d031c(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x2d031c(0x7,_0x765608[_0x1b6ca5(0x136)](_0x62fd52['ITelemetryService']))],_0x35847c[_0x1b6ca5(0x325)]);const _0x9f10c=_0x765608[_0x1b6ca5(0x24d)]('collaboration-client.local-cache-service');function _0x3698d0(_0xaf5c5f){var _0xbed287=_0x1b6ca5;return _0xbed287(0x94)+_0xaf5c5f;}var _0x379318=Object['getOwnPropertyDescriptor'],_0xc9be1e=(_0x31fa86,_0x2e4878,_0x3eebcd,_0x485e07)=>{var _0x1d0443=_0x1b6ca5;for(var _0x5bb91b=_0x485e07>0x1?void 0x0:_0x485e07?_0x379318(_0x2e4878,_0x3eebcd):_0x2e4878,_0x159db9=_0x31fa86[_0x1d0443(0x39e)]-0x1,_0x5571a2;_0x159db9>=0x0;_0x159db9--)(_0x5571a2=_0x31fa86[_0x159db9])&&(_0x5bb91b=_0x5571a2(_0x5bb91b)||_0x5bb91b);return _0x5bb91b;},_0x4112cd=(_0x47821a,_0x13ece0)=>(_0xc52432,_0xf7ac92)=>_0x13ece0(_0xc52432,_0xf7ac92,_0x47821a);function _0x2e0552(_0x4efb55){var _0x4e2efa=_0x1b6ca5;const {unitID:_0x26ac08,mutations:_0x2f7737}=_0x4efb55;return{'unitId':_0x26ac08,'subUnitId':_0x2f7737[_0x4e2efa(0x39e)]>0x0?_0x2f7737[0x0]['params'][_0x4e2efa(0xe0)]:null};}_0x35847c[_0x1b6ca5(0x30f)]=class{constructor(_0x282262,_0x2f3887,_0x2b3158){var _0x13ef35=_0x1b6ca5;this[_0x13ef35(0x172)]=_0x282262,this[_0x13ef35(0x226)]=_0x2f3887,this[_0x13ef35(0x72)]=_0x2b3158;}[_0x1b6ca5(0x110)](_0x5f5ef4){var _0x31aa29=_0x1b6ca5,_0x497dbd,_0x2b92e2,_0x5d73a5,_0x278193;const _0x14f6be=this[_0x31aa29(0x172)][_0x31aa29(0x2b3)](_0x8c00ce[_0x31aa29(0xf9)]),{unitId:_0x1ce842,subUnitId:_0x512142}=_0x2e0552(_0x5f5ef4),_0x128808=_0x14f6be==null?void 0x0:_0x14f6be[_0x31aa29(0x2ec)](_0x1ce842)[_0x31aa29(0x2df)](),_0x283dbf=(_0x2b92e2=(_0x497dbd=this[_0x31aa29(0x72)][_0x31aa29(0x123)](_0x1ce842))==null?void 0x0:_0x497dbd[_0x31aa29(0x33e)]())==null?void 0x0:_0x2b92e2[_0x31aa29(0x378)]();if(_0x128808[_0x31aa29(0x39e)]===0x0||!_0x1ce842||!_0x512142)return;const _0x502c93=[{'id':_0x8c00ce[_0x31aa29(0xa9)]['id'],'params':{'unitId':_0x1ce842,'subUnitId':_0x283dbf,'selections':_0x765608[_0x31aa29(0x2a4)][_0x31aa29(0x180)](_0x128808)}}],_0x21c202=this['_transformService'][_0x31aa29(0x291)](_0x5f5ef4,_0x502c93);if(!_0x32c4ad[_0x31aa29(0x256)](_0x21c202))throw _0x21c202[_0x31aa29(0x35f)];const _0x3abb43=(_0x278193=(_0x5d73a5=_0x21c202[_0x31aa29(0x1b7)][0x0])==null?void 0x0:_0x5d73a5[_0x31aa29(0x1e7)])==null?void 0x0:_0x278193[_0x31aa29(0x3f7)];if(Array[_0x31aa29(0x14e)](_0x3abb43)&&_0x3abb43[_0x31aa29(0x39e)]){if(_0x3abb43[_0x31aa29(0x39e)]===_0x502c93[0x0][_0x31aa29(0x1e7)]['selections']['length']&&_0x3abb43[_0x31aa29(0x188)]((_0x410aa7,_0x2a8904)=>_0x765608['Rectangle'][_0x31aa29(0x326)](_0x410aa7[_0x31aa29(0x21f)],_0x502c93[0x0][_0x31aa29(0x1e7)][_0x31aa29(0x3f7)][_0x2a8904][_0x31aa29(0x21f)])))return;this[_0x31aa29(0x172)]['get'](_0x765608[_0x31aa29(0x386)])[_0x31aa29(0x351)](_0x8c00ce['SetSelectionsOperation']['id'],{'unitId':_0x1ce842,'subUnitId':_0x283dbf,'selections':_0x3abb43});}}},_0x35847c['SheetTransformSelectionsService']=_0xc9be1e([_0x4112cd(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x4112cd(0x1,_0x32c4ad[_0x1b6ca5(0x152)]),_0x4112cd(0x2,_0x765608['IUniverInstanceService'])],_0x35847c[_0x1b6ca5(0x30f)]);const _0x2aceed=_0x765608[_0x1b6ca5(0x24d)]('univer-pro.collaboration-client.single-active-unit-service');var _0x1601ee=(_0x4ad8e5=>(_0x4ad8e5[_0x4ad8e5[_0x1b6ca5(0x174)]=0x0]=_0x1b6ca5(0x174),_0x4ad8e5[_0x4ad8e5[_0x1b6ca5(0x36f)]=0x1]='OTHER_CLIENTS_EDITING',_0x4ad8e5))(_0x1601ee||{});const _0x32b669='collaboration-client.config',_0x5a1779={},_0x26a872=new Set([_0x8c00ce['InsertSheetMutation']['id']]);function _0x46ce9b(_0x1f44b5,_0x295b12,_0x9697b8,_0x39ddf3,_0x14f05d){var _0x4858c8=_0x1b6ca5,_0x568e2c,_0x1b3890,_0x476902,_0x519b97;const _0x1e9a9f=[];for(const _0x331861 of _0x1f44b5)if(_0x26a872[_0x4858c8(0x1df)](_0x331861['id'])){if(_0x1e9a9f['length']>0x0)break;_0x1e9a9f[_0x4858c8(0x13f)](_0x331861);break;}else _0x1e9a9f[_0x4858c8(0x13f)](_0x331861);const _0x2f0a4b=(_0x1b3890=(_0x568e2c=_0x14f05d[_0x4858c8(0x2cf)]())==null?void 0x0:_0x568e2c[_0x4858c8(0x37b)])!=null?_0x1b3890:_0x4858c8(0x3e1),_0x57c4ab=(_0x519b97=(_0x476902=_0x14f05d[_0x4858c8(0x2cf)]())==null?void 0x0:_0x476902[_0x4858c8(0x296)])!=null?_0x519b97:_0x4858c8(0x3e1);return{'changeset':{'unitID':_0x295b12,'type':_0x32c4ad[_0x4858c8(0x321)](_0x9697b8[_0x4858c8(0x3de)](_0x295b12)),'baseRev':_0x39ddf3[_0x4858c8(0x390)](_0x295b12),'revision':0x0,'userID':_0x2f0a4b,'memberID':_0x57c4ab,'mutations':_0x1e9a9f},'pendingMutations':_0x1f44b5[_0x4858c8(0x1a1)](_0x1e9a9f['length'])};}function _0x7d0fa8(_0x10ef1b,_0x382e8e,_0x51bac4,_0x2b54fb,_0x3600ba){var _0x6b0771=_0x1b6ca5,_0x253065,_0x176d1e,_0x5d356f,_0x292da0;const _0x203069=[_0x10ef1b[_0x6b0771(0x37a)]((_0x213686,_0xd5ad0f)=>{var _0x268e47=_0x6b0771,_0x2c3155;const {id:_0xa570cc}=_0x213686,{id:_0x512518,type:_0xdfeeb9}=_0xd5ad0f,_0x41780b=(_0x2c3155=_0x213686['params'])!=null?_0x2c3155:{'actions':null},_0x1eaf28=_0xd5ad0f['params'];if(_0xa570cc&&_0xa570cc!==_0x512518)throw new Error(_0x268e47(0x31b)+_0xa570cc+_0x268e47(0x3d1)+_0x512518+'.');return{..._0x213686,'id':_0x512518,'type':_0xdfeeb9,'params':{'unitId':_0x1eaf28[_0x268e47(0x272)],'textRanges':_0x1eaf28[_0x268e47(0x2ff)],'actions':_0x765608[_0x268e47(0xef)][_0x268e47(0x3b5)](_0x41780b[_0x268e47(0x303)],_0x1eaf28[_0x268e47(0x303)])}};},{})],_0x2f9455=(_0x176d1e=(_0x253065=_0x3600ba[_0x6b0771(0x2cf)]())==null?void 0x0:_0x253065['userID'])!=null?_0x176d1e:_0x6b0771(0x3e1),_0x164538=(_0x292da0=(_0x5d356f=_0x3600ba[_0x6b0771(0x2cf)]())==null?void 0x0:_0x5d356f[_0x6b0771(0x296)])!=null?_0x292da0:_0x6b0771(0x3e1);return{'changeset':{'unitID':_0x382e8e,'type':_0x32c4ad['mapDocumentTypeToUniverType'](_0x51bac4[_0x6b0771(0x3de)](_0x382e8e)),'baseRev':_0x2b54fb[_0x6b0771(0x390)](_0x382e8e),'revision':0x0,'userID':_0x2f9455,'memberID':_0x164538,'mutations':_0x203069},'pendingMutations':[]};}function _0x54537f(_0x20f87b,_0x33ba37){var _0x3d5009=_0x1b6ca5;const _0x273629=new _0x2f43df[(_0x3d5009(0x2a9))](0x1);return setTimeout(()=>_0x273629[_0x3d5009(0x1a2)](_0x33ba37),_0x20f87b),_0x273629['asObservable']()['pipe'](_0x2f43df[_0x3d5009(0x274)](0x1));}var _0x368a2d=Object['getOwnPropertyDescriptor'],_0x33358a=(_0xe527d8,_0x357e91,_0x5a3212,_0x456491)=>{var _0x1497ae=_0x1b6ca5;for(var _0x4de3cd=_0x456491>0x1?void 0x0:_0x456491?_0x368a2d(_0x357e91,_0x5a3212):_0x357e91,_0x58c006=_0xe527d8[_0x1497ae(0x39e)]-0x1,_0x5c6c41;_0x58c006>=0x0;_0x58c006--)(_0x5c6c41=_0xe527d8[_0x58c006])&&(_0x4de3cd=_0x5c6c41(_0x4de3cd)||_0x4de3cd);return _0x4de3cd;},_0x3bc723=(_0x4ccb49,_0x58bb2c)=>(_0x37cbf6,_0x5296ee)=>_0x58bb2c(_0x37cbf6,_0x5296ee,_0x4ccb49),_0x528d90=(_0x3b5061=>(_0x3b5061[_0x1b6ca5(0x3e2)]=_0x1b6ca5(0x2da),_0x3b5061['SYNCED']='synced',_0x3b5061['PENDING']=_0x1b6ca5(0x357),_0x3b5061[_0x1b6ca5(0xf8)]=_0x1b6ca5(0x320),_0x3b5061[_0x1b6ca5(0x15c)]=_0x1b6ca5(0x2fb),_0x3b5061[_0x1b6ca5(0x89)]=_0x1b6ca5(0x3c6),_0x3b5061[_0x1b6ca5(0x3f0)]=_0x1b6ca5(0x391),_0x3b5061['OFFLINE']='offline',_0x3b5061))(_0x528d90||{});const _0x5b1990=0xea60;class _0x40eaa2{constructor(_0x21c055,_0x25b4fe,_0x369dd8,_0x1c04de,_0x454edf,_0x408eae,_0x464283,_0x1f9a84,_0x3c4be5){var _0x3cc049=_0x1b6ca5;_0x1bac5f(this,_0x3cc049(0x2bb),null),_0x1bac5f(this,_0x3cc049(0x3a9),[]),(this[_0x3cc049(0xfe)]=_0x21c055,this[_0x3cc049(0xbb)]=_0x25b4fe,this[_0x3cc049(0x2f9)]=_0x454edf,this[_0x3cc049(0xa1)]=_0x408eae,this[_0x3cc049(0x2f6)]=_0x464283,this['_revisionService']=_0x1f9a84,this[_0x3cc049(0x294)]=_0x3c4be5,this[_0x3cc049(0x2bb)]=_0x369dd8,this[_0x3cc049(0x3a9)]=_0x1c04de);}[_0x1b6ca5(0x37d)](_0x18b3ab){var _0x59f697=_0x1b6ca5;const _0x5e5aee=this[_0x59f697(0x2d0)]['getCurrentRevOfUnit'](this['unitID']);return _0x18b3ab[_0x59f697(0x2e6)]>_0x5e5aee+0x1?(this['_handler'][_0x59f697(0x21b)]({'from':_0x5e5aee,'to':_0x18b3ab[_0x59f697(0x2e6)]-0x1}),!0x0):!0x1;}[_0x1b6ca5(0x387)](_0x4e511c){var _0x5b111f=_0x1b6ca5;this[_0x5b111f(0x2f6)]['transformUndoRedo'](this['unitID'],_0x4e511c);}[_0x1b6ca5(0x2f4)](_0x1cb0b8){var _0x377c73=_0x1b6ca5,_0x3d068c,_0x4aa74d;(_0x4aa74d=(_0x3d068c=this[_0x377c73(0x2f9)])['onTransformSelections'])==null||_0x4aa74d[_0x377c73(0x118)](_0x3d068c,_0x1cb0b8);}[_0x1b6ca5(0x246)](_0x62d615){var _0x13f809=_0x1b6ca5,_0x4c644a,_0x400bd3;return(_0x400bd3=(_0x4c644a=this[_0x13f809(0x2f9)])[_0x13f809(0x242)])==null?void 0x0:_0x400bd3[_0x13f809(0x118)](_0x4c644a,_0x62d615);}[_0x1b6ca5(0x32f)](_0x22fd4b){var _0x58a2f5=_0x1b6ca5,_0x2dbe09,_0x3a8733;return(_0x3a8733=(_0x2dbe09=this['_handler'])[_0x58a2f5(0x3f1)])==null?void 0x0:_0x3a8733['call'](_0x2dbe09,_0x22fd4b);}[_0x1b6ca5(0x151)](_0x39130f){var _0x9a1396=_0x1b6ca5,_0x4e9f0c,_0x563da7,_0x4b5f3b;return(_0x4b5f3b=(_0x563da7=(_0x4e9f0c=this[_0x9a1396(0x2f9)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x563da7['call'](_0x4e9f0c,_0x39130f))!=null?_0x4b5f3b:_0x39130f;}[_0x1b6ca5(0x1d9)](_0x380b06){var _0x2d73a2=_0x1b6ca5,_0x354e07,_0x269748,_0x4e9ec0;return(_0x4e9ec0=(_0x269748=(_0x354e07=this[_0x2d73a2(0x2f9)])[_0x2d73a2(0x364)])==null?void 0x0:_0x269748[_0x2d73a2(0x118)](_0x354e07,_0x380b06))!=null?_0x4e9ec0:_0x380b06;}[_0x1b6ca5(0x1b6)](_0x3a92f0){var _0x16ffe4=_0x1b6ca5,_0x3308f6,_0x2806a6;if(this[_0x16ffe4(0xbb)]===_0x56d87c[_0x16ffe4(0x31a)]){const {unitID:_0x1310b1,mutations:_0x43ae82,memberID:_0x305fa3}=_0x3a92f0,_0x17be50=_0x43ae82[_0x16ffe4(0x39e)]>0x0?_0x43ae82[0x0][_0x16ffe4(0x1e7)][_0x16ffe4(0x2ff)]:[];Array[_0x16ffe4(0x14e)](_0x17be50)&&_0x17be50[_0x16ffe4(0x39e)]>0x0&&((_0x2806a6=(_0x3308f6=this[_0x16ffe4(0x2f9)])[_0x16ffe4(0x34e)])==null||_0x2806a6[_0x16ffe4(0x118)](_0x3308f6,{'unitID':_0x1310b1,'memberID':_0x305fa3,'textRanges':_0x17be50}));}}['_updateLocalCache'](){var _0x501bd5=_0x1b6ca5,_0x17831c;(_0x17831c=this['_localCacheService'])==null||_0x17831c['updateOfflineData'](this[_0x501bd5(0xfe)],this[_0x501bd5(0xbb)],this['_awaitingChangeset'],this[_0x501bd5(0x3a9)]);}[_0x1b6ca5(0x1e5)](){var _0x5083f9=_0x1b6ca5;return this['_revisionService'][_0x5083f9(0x390)](this[_0x5083f9(0xfe)]);}[_0x1b6ca5(0x32d)](){var _0x1145b9=_0x1b6ca5;this[_0x1145b9(0x2d0)][_0x1145b9(0x169)](this[_0x1145b9(0xfe)]);}[_0x1b6ca5(0x177)](_0x3c8d2e){var _0x3de5b8=_0x1b6ca5,_0x7d6542;let _0x306442=this['_transformRemoteChangesetByIMECache'](_0x3c8d2e);_0x306442=this[_0x3de5b8(0x1d9)](_0x306442);const _0x457562=_0x765608[_0x3de5b8(0x8b)](_0x306442[_0x3de5b8(0x233)],this['_commandService'],{'fromCollab':!0x0});if(!_0x457562[_0x3de5b8(0x27b)])throw _0x457562[_0x3de5b8(0x35f)]instanceof Error?_0x457562['error']:new Error((_0x7d6542=_0x457562[_0x3de5b8(0x35f)])!=null?_0x7d6542:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x306442),this[_0x3de5b8(0x32f)](_0x306442),this[_0x3de5b8(0x387)](_0x3c8d2e),this[_0x3de5b8(0x2f4)](_0x306442),this[_0x3de5b8(0x1b6)](_0x306442),this[_0x3de5b8(0x32d)]();}}_0x35847c[_0x1b6ca5(0x1fd)]=class extends _0x40eaa2{constructor(_0x180e35,_0x4d93e5,_0x30d852,_0x110cdd,_0x94cd90,_0x3b507f,_0x2b5472,_0x3df488,_0x4d8ef8,_0x4eed4f){var _0x365ff0=_0x1b6ca5;super(_0x180e35,_0x4d93e5,null,[],_0x30d852,_0x2b5472,_0x3b507f,_0x110cdd,_0x4eed4f),_0x1bac5f(this,_0x365ff0(0x2cd),_0x365ff0(0x215)),(this[_0x365ff0(0x172)]=_0x94cd90,this['_logService']=_0x3df488,this[_0x365ff0(0x226)]=_0x4d8ef8,this[_0x365ff0(0x389)]=_0x4eed4f);}[_0x1b6ca5(0x377)](_0x2499f5){var _0x17c034=_0x1b6ca5;const _0x3d5528=this[_0x17c034(0x172)]['createInstance'](_0x35847c[_0x17c034(0xc7)],this['unitID'],this[_0x17c034(0xbb)],[_0x2499f5],this[_0x17c034(0x2f9)]);return _0x3d5528[_0x17c034(0x3ff)](),_0x3d5528['_updateLocalCache'](),_0x3d5528;}['onRemoteChangeset'](_0x1cfee6){var _0x3e80bd=_0x1b6ca5;if(this[_0x3e80bd(0x37d)](_0x1cfee6))return this[_0x3e80bd(0x172)]['createInstance'](_0x35847c['FetchingMissState'],this[_0x3e80bd(0xfe)],this['type'],null,[],null,[_0x1cfee6],this[_0x3e80bd(0x2f9)]);try{const _0x4fb5df=this[_0x3e80bd(0x226)][_0x3e80bd(0x291)](_0x1cfee6,[_0x32c4ad[_0x3e80bd(0xb2)]]);if(_0x32c4ad[_0x3e80bd(0x256)](_0x4fb5df)){const {c1Prime:_0x3b9ad6}=_0x4fb5df;return this[_0x3e80bd(0x177)](_0x3b9ad6),this;}throw _0x4fb5df[_0x3e80bd(0x35f)];}catch(_0x40cb8e){return this[_0x3e80bd(0x9f)][_0x3e80bd(0x35f)](_0x40cb8e),this[_0x3e80bd(0x2e8)](!0x1);}}[_0x1b6ca5(0x2e8)](_0x40828c){var _0x5dd37d=_0x1b6ca5;return this[_0x5dd37d(0x172)][_0x5dd37d(0xc8)](_0x35847c['ConflictState'],this[_0x5dd37d(0xfe)],this[_0x5dd37d(0xbb)],null,[],this[_0x5dd37d(0x2f9)],_0x40828c);}['onRemoteAck'](){var _0x3f6176=_0x1b6ca5;throw new Error(_0x3f6176(0xc9));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1b6ca5(0x265)](){var _0x12c466=_0x1b6ca5;return this[_0x12c466(0x172)][_0x12c466(0xc8)](_0x35847c[_0x12c466(0x183)],this[_0x12c466(0xfe)],this['type'],null,[],this[_0x12c466(0x2f9)]);}[_0x1b6ca5(0x3fd)](){return this;}[_0x1b6ca5(0x2d2)](){var _0x309645=_0x1b6ca5;throw new Error(_0x309645(0x370));}[_0x1b6ca5(0x319)](){var _0x50ed63=_0x1b6ca5;const _0x5edc58=this['_revisionService'][_0x50ed63(0x390)](this[_0x50ed63(0xfe)]);return this['_handler'][_0x50ed63(0x21b)]({'from':_0x5edc58,'to':0x0}),this[_0x50ed63(0x172)]['createInstance'](_0x35847c['FetchingMissState'],this[_0x50ed63(0xfe)],this['type'],null,[],null,[],this['_handler']);}},_0x35847c[_0x1b6ca5(0x1fd)]=_0x33358a([_0x3bc723(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['RevisionService'])),_0x3bc723(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x5,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0x6,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0x7,_0x765608['ILogService']),_0x3bc723(0x8,_0x32c4ad[_0x1b6ca5(0x152)]),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c[_0x1b6ca5(0x1fd)]),_0x35847c[_0x1b6ca5(0xc7)]=class extends _0x40eaa2{constructor(_0x14bba1,_0xd10fc7,_0x25974f,_0x3372da,_0x377f44,_0x3ef2df,_0x1d3f48,_0xec0653,_0xa401ff,_0x42e5ea,_0x296eaa,_0x82c32f,_0x5ba803,_0x1dff4b){var _0x1a02fd=_0x1b6ca5;super(_0x14bba1,_0xd10fc7,null,_0x25974f,_0x3372da,_0xa401ff,_0x5ba803,_0x3ef2df,_0x1dff4b),_0x1bac5f(this,'status',_0x1a02fd(0x357)),_0x1bac5f(this,_0x1a02fd(0x3c5),null),_0x1bac5f(this,_0x1a02fd(0x1f9),null),(this[_0x1a02fd(0x172)]=_0x377f44,this['_memberService']=_0x1d3f48,this[_0x1a02fd(0x9f)]=_0xec0653,this[_0x1a02fd(0xd8)]=_0x42e5ea,this['_transformService']=_0x296eaa,this[_0x1a02fd(0xe7)]=_0x82c32f);}['appendMutation'](_0x1440a0){var _0x365839=_0x1b6ca5;return this[_0x365839(0x3a9)][_0x365839(0x13f)](_0x1440a0),this[_0x365839(0x220)](),this;}[_0x1b6ca5(0x12f)](_0x4d7355){var _0x36c2b9=_0x1b6ca5;if(this['_checkMissing'](_0x4d7355))return this[_0x36c2b9(0x31d)](),this['_injector'][_0x36c2b9(0xc8)](_0x35847c[_0x36c2b9(0x25e)],this['unitID'],this['type'],null,this[_0x36c2b9(0x3a9)],null,[_0x4d7355],this[_0x36c2b9(0x2f9)]);try{const _0x48f566=this[_0x36c2b9(0x226)][_0x36c2b9(0x291)](_0x4d7355,this['_pendingMutations']);if(_0x32c4ad[_0x36c2b9(0x256)](_0x48f566)){const {c1Prime:_0x3a3b54,m2Prime:_0x112a6a}=_0x48f566;this['_executeRemoteChangeset'](_0x3a3b54);const _0x976f82=this['_injector']['createInstance'](_0x35847c[_0x36c2b9(0xc7)],this[_0x36c2b9(0xfe)],this['type'],_0x112a6a,this['_handler']);this[_0x36c2b9(0x31d)]();const _0x1df099=new Date()[_0x36c2b9(0x3ed)](),_0x1d6b6d=this[_0x36c2b9(0x3c5)]?Math[_0x36c2b9(0x298)](this[_0x36c2b9(0x3c5)]-_0x1df099,0x0):this[_0x36c2b9(0x16f)]();return _0x976f82['_schedule'](_0x1d6b6d),_0x976f82;}throw _0x48f566['error'];}catch(_0x5675cc){return this['_logService'][_0x36c2b9(0x35f)](_0x5675cc),this[_0x36c2b9(0x2e8)](!0x1);}}[_0x1b6ca5(0x206)](){var _0x9de6c0=_0x1b6ca5;throw new Error(_0x9de6c0(0x3e4));}[_0x1b6ca5(0xde)](){var _0x1b752a=_0x1b6ca5;throw new Error(_0x1b752a(0xc1));}[_0x1b6ca5(0x264)](){return this;}['toggleOffline'](){var _0x55692e=_0x1b6ca5;return this[_0x55692e(0x31d)](),this[_0x55692e(0x172)]['createInstance'](_0x35847c[_0x55692e(0x183)],this[_0x55692e(0xfe)],this['type'],null,this[_0x55692e(0x3a9)],this[_0x55692e(0x2f9)]);}['toggleOnline'](){return this;}[_0x1b6ca5(0x3ff)](_0x772d43){var _0x3453fd=_0x1b6ca5;const _0xe5169b=_0x772d43!=null?_0x772d43:this[_0x3453fd(0x16f)]();this[_0x3453fd(0x3c5)]=new Date()[_0x3453fd(0x3ed)]()+_0xe5169b,this[_0x3453fd(0x1f9)]=setTimeout(()=>{var _0x34e11a=_0x3453fd;this[_0x34e11a(0x31d)]();let _0x5533bd=null;switch(this['type']){case _0x56d87c[_0x34e11a(0x398)]:{_0x5533bd=_0x46ce9b(this['_pendingMutations'],this[_0x34e11a(0xfe)],this[_0x34e11a(0xe7)],this[_0x34e11a(0x2d0)],this[_0x34e11a(0x2fa)]);break;}case _0x56d87c[_0x34e11a(0x31a)]:{this['_pendingMutations'][_0x34e11a(0x188)](_0x22d356=>_0x22d356['id']===_0x5068b0[_0x34e11a(0x21d)]['id'])?_0x5533bd=_0x7d0fa8(this['_pendingMutations'],this[_0x34e11a(0xfe)],this[_0x34e11a(0xe7)],this[_0x34e11a(0x2d0)],this[_0x34e11a(0x2fa)]):_0x5533bd=_0x46ce9b(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x34e11a(0x2d0)],this[_0x34e11a(0x2fa)]);break;}default:throw new Error(_0x34e11a(0x1b1)+this[_0x34e11a(0xbb)]+_0x34e11a(0x1dd));}const {changeset:_0x17f6b2,pendingMutations:_0x5a3e1f}=_0x5533bd;this[_0x34e11a(0x2f9)][_0x34e11a(0x3fc)](_0x17f6b2);const _0xc78e9e=_0x5a3e1f[_0x34e11a(0x39e)]?this[_0x34e11a(0x172)][_0x34e11a(0xc8)](_0x35847c[_0x34e11a(0x2e9)],this['unitID'],this[_0x34e11a(0xbb)],_0x17f6b2,_0x5a3e1f,this[_0x34e11a(0x2f9)],void 0x0):this['_injector']['createInstance'](_0x35847c[_0x34e11a(0xd4)],this[_0x34e11a(0xfe)],this[_0x34e11a(0xbb)],_0x17f6b2,this[_0x34e11a(0x2f9)]);_0xc78e9e[_0x34e11a(0x220)](),this['_handler'][_0x34e11a(0x3ec)](this,_0xc78e9e);},_0xe5169b);}['_getSendChangesetTimeout'](){var _0x419ce6=_0x1b6ca5,_0x4fea2d;const _0x289182=this[_0x419ce6(0xd8)][_0x419ce6(0x1ef)](_0x32b669);return(_0x4fea2d=_0x289182==null?void 0x0:_0x289182[_0x419ce6(0x347)])!=null?_0x4fea2d:0x7d0;}[_0x1b6ca5(0x2d2)](){var _0x43a8c6=_0x1b6ca5;throw new Error(_0x43a8c6(0x111));}[_0x1b6ca5(0x31d)](){var _0x9a5ad2=_0x1b6ca5;this['_sendingTimer']!=null&&(clearTimeout(this[_0x9a5ad2(0x1f9)]),this[_0x9a5ad2(0x1f9)]=null);}['_onConflict'](_0x52dcb6){var _0x69eda0=_0x1b6ca5;return this[_0x69eda0(0x31d)](),this[_0x69eda0(0x172)][_0x69eda0(0xc8)](_0x35847c[_0x69eda0(0x3a8)],this['unitID'],this[_0x69eda0(0xbb)],null,this['_pendingMutations'],this['_handler'],_0x52dcb6);}},_0x35847c[_0x1b6ca5(0xc7)]=_0x33358a([_0x3bc723(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['RevisionService'])),_0x3bc723(0x6,_0x765608['Inject'](_0x35847c['MemberService'])),_0x3bc723(0x7,_0x765608[_0x1b6ca5(0x3f9)]),_0x3bc723(0x8,_0x765608['ICommandService']),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x1af)]),_0x3bc723(0xa,_0x32c4ad[_0x1b6ca5(0x152)]),_0x3bc723(0xb,_0x765608[_0x1b6ca5(0x175)]),_0x3bc723(0xc,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0xd,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c['PendingState']),_0x35847c[_0x1b6ca5(0xd4)]=class extends _0x40eaa2{constructor(_0x56f10a,_0x310305,_0xb532ba,_0x81252c,_0x4d8df0,_0x1a9090,_0x43fa52,_0x5c18a9,_0x11b0c5,_0x28a5b4,_0x534f21){var _0x19a0ce=_0x1b6ca5;super(_0x56f10a,_0x310305,_0xb532ba,[],_0x81252c,_0x43fa52,_0x28a5b4,_0x1a9090,_0x534f21),_0x1bac5f(this,_0x19a0ce(0x2cd),_0x19a0ce(0x320)),_0x1bac5f(this,_0x19a0ce(0x201),0x0),_0x1bac5f(this,_0x19a0ce(0xca)),_0x1bac5f(this,_0x19a0ce(0x3fb)),(this['_injector']=_0x4d8df0,this[_0x19a0ce(0x9f)]=_0x5c18a9,this[_0x19a0ce(0x226)]=_0x11b0c5);}[_0x1b6ca5(0x377)](_0x2f6b5b){var _0x577211=_0x1b6ca5;this['_clearScheduledTask']();const _0x393d4f=this[_0x577211(0x172)][_0x577211(0xc8)](_0x35847c[_0x577211(0x2e9)],this[_0x577211(0xfe)],this['type'],this['_awaitingChangeset'],[_0x2f6b5b],this['_handler'],this[_0x577211(0xca)]);return _0x393d4f[_0x577211(0x220)](),_0x393d4f;}[_0x1b6ca5(0x12f)](_0x5d6042){var _0x4e367d=_0x1b6ca5;if(this[_0x4e367d(0x37d)](_0x5d6042))return this[_0x4e367d(0x31d)](),this[_0x4e367d(0x172)][_0x4e367d(0xc8)](_0x35847c[_0x4e367d(0x25e)],this[_0x4e367d(0xfe)],this[_0x4e367d(0xbb)],this[_0x4e367d(0x2bb)],[],null,[_0x5d6042],this[_0x4e367d(0x2f9)]);try{const _0x560ccb=this[_0x4e367d(0x226)][_0x4e367d(0x2c6)]([_0x5d6042],[this[_0x4e367d(0x2bb)]],!0x1);if(_0x32c4ad[_0x4e367d(0xcd)](_0x560ccb)){const {c1Prime:_0x2fbd4f,c2Prime:_0x1d3524}=_0x560ccb;this[_0x4e367d(0x177)](_0x2fbd4f[0x0]),_0x1d3524[0x0][_0x4e367d(0x292)]=this[_0x4e367d(0x1e5)](),this[_0x4e367d(0x31d)]();const _0x5dcf79=this[_0x4e367d(0x172)][_0x4e367d(0xc8)](_0x35847c[_0x4e367d(0xd4)],this['unitID'],this['type'],_0x1d3524[0x0],this[_0x4e367d(0x2f9)]);return _0x5dcf79[_0x4e367d(0x220)](),_0x5dcf79;}return this['_onConflict'](!0x1);}catch(_0x457977){return this[_0x4e367d(0x9f)]['error'](_0x457977),this[_0x4e367d(0x2e8)](!0x1);}}[_0x1b6ca5(0x206)](_0x5065e6){var _0x10bcce=_0x1b6ca5;this[_0x10bcce(0x31d)]();const _0x3bb061=this[_0x10bcce(0x2d0)][_0x10bcce(0x390)](this['unitID']);if(_0x5065e6[_0x10bcce(0x2e6)]<_0x3bb061-0x1)return this;if(this[_0x10bcce(0x37d)](_0x5065e6))return this[_0x10bcce(0x172)]['createInstance'](_0x35847c[_0x10bcce(0x25e)],this[_0x10bcce(0xfe)],this[_0x10bcce(0xbb)],null,[],this[_0x10bcce(0x2bb)],[],this['_handler']);this[_0x10bcce(0x32d)]();const _0x52e9cb=this['_injector']['createInstance'](_0x35847c[_0x10bcce(0x1fd)],this['unitID'],this['type'],this[_0x10bcce(0x2f9)]);return _0x52e9cb[_0x10bcce(0x220)](),_0x52e9cb;}['onRemoteRej'](_0x1d1a4){var _0x5e7f99=_0x1b6ca5;return this['_onConflict'](!!(_0x1d1a4!=null&&_0x1d1a4[_0x5e7f99(0xb3)]));}['onRemoteRetry'](_0x4bdb50){var _0x1939a1=_0x1b6ca5;return this[_0x1939a1(0x201)]>_0x5b1990?this[_0x1939a1(0x265)]():(this[_0x1939a1(0xca)]=_0x54537f(this[_0x1939a1(0x201)],{'timeout':this[_0x1939a1(0x201)],'reqId':_0x4bdb50[_0x1939a1(0x393)]}),this[_0x1939a1(0x3fb)]=this[_0x1939a1(0xca)][_0x1939a1(0xf0)](({reqId:_0x2c5aba,timeout:_0x177765})=>{var _0xe40e03=_0x1939a1;this[_0xe40e03(0x37c)](_0x2c5aba,_0x177765);}),this);}['toggleOffline'](){var _0x387dc3=_0x1b6ca5;return this[_0x387dc3(0x31d)](),this['_injector']['createInstance'](_0x35847c[_0x387dc3(0x183)],this['unitID'],this[_0x387dc3(0xbb)],this[_0x387dc3(0x2bb)],[],this[_0x387dc3(0x2f9)]);}[_0x1b6ca5(0x3fd)](){return this;}['resend'](){var _0xad04e5=_0x1b6ca5;this[_0xad04e5(0x2f9)][_0xad04e5(0x3fc)](this[_0xad04e5(0x2bb)]);}[_0x1b6ca5(0x2e8)](_0x4c3d08){var _0x56d912=_0x1b6ca5;return this[_0x56d912(0x31d)](),this['_injector']['createInstance'](_0x35847c[_0x56d912(0x3a8)],this['unitID'],this[_0x56d912(0xbb)],this['_awaitingChangeset'],[],this['_handler'],_0x4c3d08);}[_0x1b6ca5(0x37c)](_0x2c1468,_0x42aee2){var _0xa3b44d=_0x1b6ca5,_0x24d5cf;_0x2c1468===((_0x24d5cf=this[_0xa3b44d(0x2bb)])==null?void 0x0:_0x24d5cf[_0xa3b44d(0x393)])&&(this[_0xa3b44d(0x2d2)](),this[_0xa3b44d(0x201)]=_0x42aee2===0x0?0x3e8:_0x42aee2*0x2);}[_0x1b6ca5(0x31d)](){var _0x454e76=_0x1b6ca5,_0x2c27ff;(_0x2c27ff=this[_0x454e76(0x3fb)])==null||_0x2c27ff['unsubscribe'](),this[_0x454e76(0x201)]=0x0;}},_0x35847c[_0x1b6ca5(0xd4)]=_0x33358a([_0x3bc723(0x4,_0x765608['Inject'](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0x6,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0x7,_0x765608[_0x1b6ca5(0x3f9)]),_0x3bc723(0x8,_0x32c4ad[_0x1b6ca5(0x152)]),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0xa,_0x765608['Optional'](_0x9f10c))],_0x35847c['AwaitingState']),_0x35847c[_0x1b6ca5(0x2e9)]=class extends _0x40eaa2{constructor(_0x24c18b,_0x2febb9,_0x4f868a,_0x272aaa,_0x23156c,_0x5abdef,_0x3d0069,_0x3138f6,_0x2b8c4d,_0x4159a9,_0x591d9f,_0x3221a8,_0x4a39c9){var _0x4cb4d5=_0x1b6ca5;super(_0x24c18b,_0x2febb9,_0x4f868a,_0x272aaa,_0x23156c,_0x2b8c4d,_0x3221a8,_0x3138f6,_0x4a39c9),_0x1bac5f(this,_0x4cb4d5(0x2cd),_0x4cb4d5(0x2fb)),_0x1bac5f(this,_0x4cb4d5(0x201),0x0),_0x1bac5f(this,_0x4cb4d5(0xca)),_0x1bac5f(this,'_sender'),(this['_injector']=_0x3d0069,this[_0x4cb4d5(0x9f)]=_0x4159a9,this[_0x4cb4d5(0x226)]=_0x591d9f,this[_0x4cb4d5(0x389)]=_0x4a39c9,_0x5abdef&&(this[_0x4cb4d5(0xca)]=_0x5abdef,this['_sender']=this[_0x4cb4d5(0xca)][_0x4cb4d5(0xf0)](({reqId:_0x3583db,timeout:_0x3b2514})=>{this['_resendWithTimeout'](_0x3583db,_0x3b2514);})));}['appendMutation'](_0x5bd059){var _0x294b1f=_0x1b6ca5;return this[_0x294b1f(0x3a9)][_0x294b1f(0x13f)](_0x5bd059),this;}[_0x1b6ca5(0x12f)](_0x5810b7){var _0x46c072=_0x1b6ca5;if(this['_checkMissing'](_0x5810b7))return this[_0x46c072(0x31d)](),this[_0x46c072(0x172)]['createInstance'](_0x35847c[_0x46c072(0x25e)],this[_0x46c072(0xfe)],this['type'],this[_0x46c072(0x2bb)],this[_0x46c072(0x3a9)],null,[_0x5810b7],this[_0x46c072(0x2f9)]);try{const _0x255b0c=this['_transformService']['transformChangesets']([_0x5810b7],[this['_awaitingChangeset']],!0x1);if(_0x32c4ad[_0x46c072(0xcd)](_0x255b0c)){const {c1Prime:_0x2e32a7,c2Prime:_0x2b0c68}=_0x255b0c,_0x519da5=this[_0x46c072(0x226)][_0x46c072(0x291)](_0x2e32a7[0x0],this[_0x46c072(0x3a9)]);if(_0x32c4ad[_0x46c072(0x256)](_0x519da5)){const {c1Prime:_0x3661a5,m2Prime:_0x409890}=_0x519da5;return this[_0x46c072(0x177)](_0x3661a5),_0x2b0c68[0x0][_0x46c072(0x292)]=this[_0x46c072(0x1e5)](),this[_0x46c072(0x31d)](),this['_injector'][_0x46c072(0xc8)](_0x35847c[_0x46c072(0x2e9)],this[_0x46c072(0xfe)],this[_0x46c072(0xbb)],_0x2b0c68[0x0],_0x409890,this['_handler'],void 0x0);}throw _0x519da5['error'];}throw _0x255b0c[_0x46c072(0x35f)];}catch(_0x3cc83c){return this[_0x46c072(0x9f)][_0x46c072(0x35f)](_0x3cc83c),this[_0x46c072(0x2e8)](!0x1);}}[_0x1b6ca5(0x206)](_0x3264a8){var _0x386560=_0x1b6ca5;if(this[_0x386560(0x31d)](),this[_0x386560(0x37d)](_0x3264a8))return this[_0x386560(0x172)][_0x386560(0xc8)](_0x35847c[_0x386560(0x25e)],this['unitID'],this[_0x386560(0xbb)],null,this['_pendingMutations'],this[_0x386560(0x2bb)],[],this[_0x386560(0x2f9)]);this[_0x386560(0x32d)]();const _0x152bb1=this[_0x386560(0x172)]['createInstance'](_0x35847c[_0x386560(0xc7)],this[_0x386560(0xfe)],this[_0x386560(0xbb)],this[_0x386560(0x3a9)],this[_0x386560(0x2f9)]);return _0x152bb1['_schedule'](),_0x152bb1[_0x386560(0x220)](),_0x152bb1;}[_0x1b6ca5(0xde)](_0xbb46b6){var _0x10f7cd=_0x1b6ca5;return this[_0x10f7cd(0x2e8)](!!(_0xbb46b6!=null&&_0xbb46b6[_0x10f7cd(0xb3)]));}[_0x1b6ca5(0x264)](_0x2ce39f){var _0x474ba3=_0x1b6ca5;return this['_resendTimeout']>_0x5b1990?this[_0x474ba3(0x265)]():(this[_0x474ba3(0xca)]=_0x54537f(this[_0x474ba3(0x201)],{'timeout':this['_resendTimeout'],'reqId':_0x2ce39f[_0x474ba3(0x393)]}),this['_sender']=this[_0x474ba3(0xca)]['subscribe'](({reqId:_0x3d1c7e,timeout:_0x3f4f01})=>{this['_resendWithTimeout'](_0x3d1c7e,_0x3f4f01);}),this);}[_0x1b6ca5(0x265)](){var _0x35cad4=_0x1b6ca5;return this[_0x35cad4(0x31d)](),this[_0x35cad4(0x172)][_0x35cad4(0xc8)](_0x35847c['OfflineState'],this['unitID'],this[_0x35cad4(0xbb)],this[_0x35cad4(0x2bb)],this[_0x35cad4(0x3a9)],this[_0x35cad4(0x2f9)]);}[_0x1b6ca5(0x3fd)](){return this;}[_0x1b6ca5(0x2d2)](){var _0x114a40=_0x1b6ca5;this[_0x114a40(0x2f9)][_0x114a40(0x3fc)](this[_0x114a40(0x2bb)]);}['_onConflict'](_0x1c7492){var _0x37469f=_0x1b6ca5;return this[_0x37469f(0x31d)](),this['_injector'][_0x37469f(0xc8)](_0x35847c[_0x37469f(0x3a8)],this[_0x37469f(0xfe)],this[_0x37469f(0xbb)],null,this[_0x37469f(0x3a9)],this[_0x37469f(0x2f9)],_0x1c7492);}[_0x1b6ca5(0x37c)](_0x9112c1,_0x418378){var _0x38eb11=_0x1b6ca5,_0x4b721b;_0x9112c1===((_0x4b721b=this[_0x38eb11(0x2bb)])==null?void 0x0:_0x4b721b['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x418378===0x0?0x3e8:_0x418378*0x2);}['_clearScheduledTask'](){var _0x527105=_0x1b6ca5,_0x4d0d03;(_0x4d0d03=this[_0x527105(0x3fb)])==null||_0x4d0d03[_0x527105(0x7c)](),this['_resendTimeout']=0x0;}},_0x35847c[_0x1b6ca5(0x2e9)]=_0x33358a([_0x3bc723(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x7,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0x8,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x3f9)]),_0x3bc723(0xa,_0x32c4ad['ITransformService']),_0x3bc723(0xb,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0xc,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c[_0x1b6ca5(0x2e9)]),_0x35847c[_0x1b6ca5(0x3a8)]=class extends _0x40eaa2{constructor(_0x1d8dad,_0x29f7c5,_0x249b12,_0x192318,_0x2622a1,_0xc4579a=!0x1,_0xbd92c8,_0x1df1fd,_0x5e3e8a,_0x49a8ad,_0x30516f,_0x16604e,_0x3abd8d){var _0x380cf8=_0x1b6ca5;super(_0x1d8dad,_0x29f7c5,_0x249b12,_0x192318,_0x2622a1,_0x1df1fd,_0x5e3e8a,_0x49a8ad,_0x3abd8d),_0x1bac5f(this,_0x380cf8(0x2cd),_0x380cf8(0x391)),(this[_0x380cf8(0x281)]=_0xc4579a,this['_permissionService']=_0xbd92c8,this[_0x380cf8(0x237)]=_0x30516f,this['_collaborationUIEventService']=_0x16604e,this[_0x380cf8(0x389)]=_0x3abd8d,this['_showConflictNotification'](),this[_0x380cf8(0x1a4)](),this[_0x380cf8(0x1e6)]());}[_0x1b6ca5(0x377)](){return this;}[_0x1b6ca5(0x12f)](){return this;}[_0x1b6ca5(0x206)](){return this;}[_0x1b6ca5(0xde)](){return this;}['onRemoteRetry'](){return this;}[_0x1b6ca5(0x265)](){return this;}['toggleOnline'](){return this;}[_0x1b6ca5(0x2d2)](){var _0x3c73f8=_0x1b6ca5;throw new Error(_0x3c73f8(0x289));}['_clearLocalCache'](){var _0x59f082=_0x1b6ca5,_0x2d0393;(_0x2d0393=this['_localCacheService'])==null||_0x2d0393[_0x59f082(0x19a)](this[_0x59f082(0xfe)],this['type'],null,[]);}[_0x1b6ca5(0x18f)](){var _0x5d801c=_0x1b6ca5;this['_isPermissionRej']?this[_0x5d801c(0x322)][_0x5d801c(0x106)]({'id':_0x4d6e97['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x5d801c(0x106)]({'id':_0x4d6e97[_0x5d801c(0x3f0)]});}['_disableEditing'](){var _0x16a4b5=_0x1b6ca5;this[_0x16a4b5(0x1d5)]['updatePermissionPoint'](new _0x8c00ce[(_0x16a4b5(0x228))](this[_0x16a4b5(0xfe)])['id'],!0x1);}},_0x35847c[_0x1b6ca5(0x3a8)]=_0x33358a([_0x3bc723(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x112)])),_0x3bc723(0x7,_0x765608['ICommandService']),_0x3bc723(0x8,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0xa,_0x765608['Inject'](_0x765608['LocaleService'])),_0x3bc723(0xb,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x3bc723(0xc,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c['ConflictState']),_0x35847c[_0x1b6ca5(0x183)]=class extends _0x40eaa2{constructor(_0x47ba49,_0x32754b,_0x4afa8a,_0x112b57,_0x4a2793,_0x2ef681,_0x34b771,_0x163622,_0x2ee5e8,_0x4cb79f){var _0x5056eb=_0x1b6ca5;super(_0x47ba49,_0x32754b,_0x4afa8a,_0x112b57,_0x4a2793,_0x163622,_0x2ee5e8,_0x34b771,_0x4cb79f),_0x1bac5f(this,'status','offline'),this[_0x5056eb(0x172)]=_0x2ef681;}[_0x1b6ca5(0x377)](_0x169441){var _0x3a0ce9=_0x1b6ca5;return this[_0x3a0ce9(0x3a9)]['push'](_0x169441),this['_updateLocalCache'](),this;}[_0x1b6ca5(0x12f)](_0x3c8c64){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1b6ca5(0x206)](){var _0x4b11b8=_0x1b6ca5;throw new Error(_0x4b11b8(0x2af));}[_0x1b6ca5(0xde)](){var _0x5947fc=_0x1b6ca5;throw new Error(_0x5947fc(0x2a3));}[_0x1b6ca5(0x264)](){return this;}[_0x1b6ca5(0x265)](){return this;}[_0x1b6ca5(0x3fd)](){var _0xbdea32=_0x1b6ca5;const {_injector:_0x10191e,_pendingMutations:_0x334b91,_awaitingChangeset:_0x3c608c,unitID:_0x4ab40a,_handler:_0x3fc1a3,type:_0x5ec5c8}=this,_0x285db8=_0x437143(_0x10191e,_0x4ab40a,_0x5ec5c8,_0x3c608c,_0x334b91,_0x3fc1a3);return _0x285db8 instanceof _0x35847c[_0xbdea32(0xc7)]?_0x285db8['_schedule']():(_0x285db8 instanceof _0x35847c[_0xbdea32(0x2e9)]||_0x285db8 instanceof _0x35847c['AwaitingState'])&&_0x285db8[_0xbdea32(0x2d2)](),_0x285db8;}['resend'](){var _0x306c24=_0x1b6ca5;throw new Error(_0x306c24(0x241));}},_0x35847c['OfflineState']=_0x33358a([_0x3bc723(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x765608['Injector'])),_0x3bc723(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0x7,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0x8,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0x9,_0x765608['Optional'](_0x9f10c))],_0x35847c[_0x1b6ca5(0x183)]),_0x35847c[_0x1b6ca5(0x25e)]=class extends _0x40eaa2{constructor(_0x51424f,_0xaf1a9d,_0x5f32c2,_0x555528,_0x37e4db,_0x3a0a2f,_0xe92a44,_0x12163e,_0x3b15d6,_0x4bee77,_0x3b5a4d,_0xddb263,_0x1c431a,_0x449f28){var _0x54aab6=_0x1b6ca5;super(_0x51424f,_0xaf1a9d,_0x5f32c2,_0x555528,_0xe92a44,_0x3b5a4d,_0xddb263,_0x3b15d6,_0x449f28),_0x1bac5f(this,'status',_0x54aab6(0x3c6)),(this[_0x54aab6(0x396)]=_0x37e4db,this[_0x54aab6(0x385)]=_0x3a0a2f,this['_injector']=_0x12163e,this[_0x54aab6(0x9f)]=_0x4bee77,this[_0x54aab6(0x226)]=_0x1c431a,this[_0x54aab6(0x389)]=_0x449f28);}[_0x1b6ca5(0x288)](_0x2ee86c){var _0x3e85fe=_0x1b6ca5;try{const _0x4f2db4=[..._0x2ee86c,...this[_0x3e85fe(0x385)]],_0x1ba750=[this['_awaitingChangeset']||this[_0x3e85fe(0x396)]]['filter'](_0xca613f=>!!_0xca613f);let _0x27adf2,_0x5f5092;if(_0x1ba750[_0x3e85fe(0x39e)]){const _0xdd61ce=this[_0x3e85fe(0x226)][_0x3e85fe(0x2c6)](_0x4f2db4,_0x1ba750,!0x1);if(!_0x32c4ad[_0x3e85fe(0xcd)](_0xdd61ce))throw _0xdd61ce[_0x3e85fe(0x35f)];_0x27adf2=_0xdd61ce[_0x3e85fe(0x147)],_0x5f5092=_0xdd61ce[_0x3e85fe(0x374)];}else _0x27adf2=_0x4f2db4,_0x5f5092=[];let _0x129e22=this['_pendingMutations'];_0x27adf2[_0x3e85fe(0x1d1)](_0x42ab9b=>{var _0x3a5a11=_0x3e85fe;let _0x340454;if(_0x129e22[_0x3a5a11(0x39e)]){const _0x3d5316=this['_transformService'][_0x3a5a11(0x291)](_0x42ab9b,_0x129e22);if(!_0x32c4ad[_0x3a5a11(0x256)](_0x3d5316))throw _0x3d5316['error'];_0x340454=_0x3d5316['c1Prime'],_0x129e22=_0x3d5316[_0x3a5a11(0x1b7)];}else _0x340454=_0x42ab9b;this[_0x3a5a11(0x177)](_0x340454);}),this[_0x3e85fe(0x396)]&&this['_incrementRevisionNumber'](),this[_0x3e85fe(0x2bb)]&&_0x5f5092[_0x3e85fe(0x39e)]&&(_0x5f5092[0x0][_0x3e85fe(0x292)]=this[_0x3e85fe(0x1e5)]());let _0x2b0abe;if(this[_0x3e85fe(0x2bb)]&&_0x129e22[_0x3e85fe(0x39e)]!==0x0)_0x2b0abe=this[_0x3e85fe(0x172)][_0x3e85fe(0xc8)](_0x35847c[_0x3e85fe(0x2e9)],this[_0x3e85fe(0xfe)],this['type'],_0x5f5092[0x0],_0x129e22,this[_0x3e85fe(0x2f9)],void 0x0);else{if(this[_0x3e85fe(0x2bb)]&&_0x129e22['length']===0x0)_0x5f5092[0x0][_0x3e85fe(0x292)]=this[_0x3e85fe(0x1e5)](),_0x2b0abe=this[_0x3e85fe(0x172)][_0x3e85fe(0xc8)](_0x35847c[_0x3e85fe(0xd4)],this[_0x3e85fe(0xfe)],this[_0x3e85fe(0xbb)],_0x5f5092[0x0],this[_0x3e85fe(0x2f9)]);else{if(_0x129e22[_0x3e85fe(0x39e)]!==0x0){const _0x2050d2=this[_0x3e85fe(0x172)]['createInstance'](_0x35847c[_0x3e85fe(0xc7)],this[_0x3e85fe(0xfe)],this[_0x3e85fe(0xbb)],_0x129e22,this[_0x3e85fe(0x2f9)]);_0x2050d2['_schedule'](),_0x2b0abe=_0x2050d2;}else _0x2b0abe=this['_injector']['createInstance'](_0x35847c[_0x3e85fe(0x1fd)],this['unitID'],this[_0x3e85fe(0xbb)],this[_0x3e85fe(0x2f9)]);}}return _0x2b0abe['_updateLocalCache'](),_0x2b0abe;}catch(_0x2649d4){return this[_0x3e85fe(0x9f)]['error'](_0x3e85fe(0x18d),_0x3e85fe(0x8f),_0x2649d4),this[_0x3e85fe(0x172)][_0x3e85fe(0xc8)](_0x35847c[_0x3e85fe(0x3a8)],this[_0x3e85fe(0xfe)],this[_0x3e85fe(0xbb)],this[_0x3e85fe(0x2bb)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x1b6ca5(0x2d2)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1b6ca5(0x377)](_0x31dbb8){var _0x190bde=_0x1b6ca5;return this['_pendingMutations'][_0x190bde(0x13f)](_0x31dbb8),this;}[_0x1b6ca5(0x12f)](_0xc62fc5){return this['_queuedRemoteChangesets']['push'](_0xc62fc5),this;}[_0x1b6ca5(0x206)](_0x5bc260){var _0x44663a=_0x1b6ca5;if(this['_awaitingChangeset'])return this[_0x44663a(0x396)]=this[_0x44663a(0x2bb)],this[_0x44663a(0x2bb)]=null,this;throw new Error(_0x44663a(0x2bd));}[_0x1b6ca5(0xde)](_0x3a8a7c){var _0x4b42b3=_0x1b6ca5;return this['_onConflict'](!!(_0x3a8a7c!=null&&_0x3a8a7c[_0x4b42b3(0xb3)]));}[_0x1b6ca5(0x264)](){return this;}['toggleOffline'](){var _0x585431=_0x1b6ca5;return this['_injector'][_0x585431(0xc8)](_0x35847c[_0x585431(0x183)],this[_0x585431(0xfe)],this[_0x585431(0xbb)],this[_0x585431(0x2bb)],this[_0x585431(0x3a9)],this[_0x585431(0x2f9)]);}[_0x1b6ca5(0x3fd)](){return this;}[_0x1b6ca5(0x2e8)](_0x42cc1e){var _0x4440b1=_0x1b6ca5;return this['_injector']['createInstance'](_0x35847c[_0x4440b1(0x3a8)],this[_0x4440b1(0xfe)],this[_0x4440b1(0xbb)],this['_awaitingChangeset'],this[_0x4440b1(0x3a9)],this[_0x4440b1(0x2f9)],_0x42cc1e);}},_0x35847c[_0x1b6ca5(0x25e)]=_0x33358a([_0x3bc723(0x7,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x8,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x3f9)]),_0x3bc723(0xa,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0xb,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0xc,_0x32c4ad[_0x1b6ca5(0x152)]),_0x3bc723(0xd,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c['FetchingMissState']);function _0x437143(_0x1ab710,_0x25409f,_0x30dc9e,_0x4eb6d5,_0x5a3b04,_0x4d7f3c){var _0x2c849c=_0x1b6ca5;return _0x4eb6d5&&_0x5a3b04[_0x2c849c(0x39e)]?_0x1ab710[_0x2c849c(0xc8)](_0x35847c[_0x2c849c(0x2e9)],_0x25409f,_0x30dc9e,_0x4eb6d5,_0x5a3b04,_0x4d7f3c,void 0x0):_0x4eb6d5?_0x1ab710[_0x2c849c(0xc8)](_0x35847c[_0x2c849c(0xd4)],_0x25409f,_0x30dc9e,_0x4eb6d5,_0x4d7f3c):_0x5a3b04['length']?_0x1ab710[_0x2c849c(0xc8)](_0x35847c[_0x2c849c(0xc7)],_0x25409f,_0x30dc9e,_0x5a3b04,_0x4d7f3c):_0x1ab710[_0x2c849c(0xc8)](_0x35847c[_0x2c849c(0x1fd)],_0x25409f,_0x30dc9e,_0x4d7f3c);}var _0x330911=Object[_0x1b6ca5(0x1d2)],_0x31d509=(_0x3394c3,_0x243f6d,_0x472381,_0x1d2670)=>{var _0x2a7761=_0x1b6ca5;for(var _0x27bf9b=_0x1d2670>0x1?void 0x0:_0x1d2670?_0x330911(_0x243f6d,_0x472381):_0x243f6d,_0x381393=_0x3394c3[_0x2a7761(0x39e)]-0x1,_0x53bb43;_0x381393>=0x0;_0x381393--)(_0x53bb43=_0x3394c3[_0x381393])&&(_0x27bf9b=_0x53bb43(_0x27bf9b)||_0x27bf9b);return _0x27bf9b;},_0x1d2720=(_0x1eebaf,_0x47d5ad)=>(_0x3b5907,_0x18a11f)=>_0x47d5ad(_0x3b5907,_0x18a11f,_0x1eebaf);_0x35847c['CollaborationEntity']=class extends _0x765608[_0x1b6ca5(0x3ac)]{constructor(_0x555c8b,_0x3f4fe4,_0xc8e6dd,_0xf4148c,_0x255ede,_0x287b34,_0x2e3a27,_0x51fc2c,_0x379d8a,_0x575380,_0x138293,_0x29533f,_0x5a04ae,_0x366d3d){var _0x14b0c6=_0x1b6ca5;super(),_0x1bac5f(this,_0x14b0c6(0x311),new _0x2f43df['BehaviorSubject'](null)),_0x1bac5f(this,_0x14b0c6(0x248),this[_0x14b0c6(0x311)]['asObservable']()),_0x1bac5f(this,_0x14b0c6(0x2ef)),_0x1bac5f(this,'_collaborationPaused',!0x1),_0x1bac5f(this,_0x14b0c6(0x3d4),''),_0x1bac5f(this,_0x14b0c6(0x1c8),0x0),_0x1bac5f(this,_0x14b0c6(0x33c),this[_0x14b0c6(0x248)]['pipe'](_0x2f43df[_0x14b0c6(0x10d)](_0x57295d=>_0x57295d?_0x57295d['status']:_0x528d90[_0x14b0c6(0x1c5)]),_0x2f43df[_0x14b0c6(0x202)](0x1))),_0x1bac5f(this,'_transitionLocked',!0x1),_0x1bac5f(this,_0x14b0c6(0xc5),[]),(this['unitID']=_0x555c8b,this[_0x14b0c6(0xa6)]=_0x3f4fe4,this['_type']=_0xc8e6dd,this[_0x14b0c6(0x172)]=_0xf4148c,this[_0x14b0c6(0xbf)]=_0x255ede,this[_0x14b0c6(0x237)]=_0x287b34,this[_0x14b0c6(0x2d0)]=_0x2e3a27,this[_0x14b0c6(0x212)]=_0x51fc2c,this[_0x14b0c6(0xe7)]=_0x379d8a,this[_0x14b0c6(0x9f)]=_0x575380,this['_commandService']=_0x138293,this[_0x14b0c6(0x1d5)]=_0x29533f,this[_0x14b0c6(0x79)]=_0x5a04ae,this[_0x14b0c6(0x294)]=_0x366d3d);}get[_0x1b6ca5(0x219)](){return this['_state'];}async[_0x1b6ca5(0x82)](){var _0x239814=_0x1b6ca5;if(this['state'])throw new Error(_0x239814(0x32b));await this[_0x239814(0xfc)]();}[_0x1b6ca5(0x301)](){var _0x3ffa95=_0x1b6ca5;return this[_0x3ffa95(0x31c)]=!0x0,_0x765608[_0x3ffa95(0x182)](()=>{var _0x568137=_0x3ffa95;this[_0x568137(0x31c)]=!0x1,this[_0x568137(0x17c)]();});}[_0x1b6ca5(0x2b8)](_0x471c07){this['_onLocalMutation'](_0x471c07);}[_0x1b6ca5(0xb5)](_0x392c30){var _0x146850=_0x1b6ca5;this[_0x146850(0x2ef)]=_0x392c30,this[_0x146850(0x311)][_0x146850(0x1a2)](_0x392c30);}async[_0x1b6ca5(0xfc)](){var _0x721cce=_0x1b6ca5,_0x31080c;this['_updateState'](await this['_createInitialState']()),this[_0x721cce(0x79)]&&((_0x31080c=this[_0x721cce(0x79)])==null||_0x31080c['editingUnit'](this[_0x721cce(0xfe)]),this[_0x721cce(0x115)](this[_0x721cce(0x79)][_0x721cce(0x379)](this[_0x721cce(0xfe)])[_0x721cce(0xf0)](_0x3c07c1=>{var _0x1d7890=_0x721cce;this[_0x1d7890(0x9f)][_0x1d7890(0x368)](_0x1d7890(0xa8),'editing\x20status\x20changed\x20to',_0x3c07c1),_0x3c07c1===_0x1601ee['OTHER_CLIENTS_EDITING']?(this[_0x1d7890(0x212)][_0x1d7890(0x106)]({'id':_0x4d6e97[_0x1d7890(0x23e)]}),this[_0x1d7890(0x1d5)][_0x1d7890(0x26e)](new _0x8c00ce['WorkbookEditablePermission'](this[_0x1d7890(0xfe)])['id'],!0x1),this[_0x1d7890(0x1d5)][_0x1d7890(0x104)](!0x1)):(this[_0x1d7890(0x1d5)][_0x1d7890(0x26e)](new _0x8c00ce[(_0x1d7890(0x228))](this[_0x1d7890(0xfe)])['id'],!0x0),this[_0x1d7890(0x1d5)]['setShowComponents'](!0x0));})));let _0x28a670=!0x1;return this[_0x721cce(0x115)](this[_0x721cce(0xa6)]['sessionStatus$'][_0x721cce(0xf0)](_0x35ecbb=>{var _0x238df9=_0x721cce;_0x35ecbb===_0x34dd1c[_0x238df9(0x22e)]?this[_0x238df9(0x3c9)](_0x28a670):_0x35ecbb===_0x34dd1c[_0x238df9(0x1c5)]&&(_0x28a670=!0x0,this['_toggleOffline']());})),this[_0x721cce(0x115)](this[_0x721cce(0xa6)][_0x721cce(0x34d)][_0x721cce(0xf0)](_0x227e8c=>{var _0x4381b6=_0x721cce;try{switch(_0x227e8c[_0x4381b6(0x239)]){case _0x32c4ad[_0x4381b6(0x28d)][_0x4381b6(0x1f6)]:{this[_0x4381b6(0x1f4)](_0x32c4ad[_0x4381b6(0x232)](_0x227e8c[_0x4381b6(0x3c7)]));break;}case _0x32c4ad[_0x4381b6(0x28d)][_0x4381b6(0x20f)]:{this[_0x4381b6(0x36d)](_0x227e8c[_0x4381b6(0x3c7)]);break;}case _0x32c4ad['CollaborationEvent'][_0x4381b6(0xbe)]:{this['_onRemoteRejected']();break;}case _0x32c4ad[_0x4381b6(0x28d)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x227e8c['data']);break;}case _0x32c4ad['CollaborationEvent'][_0x4381b6(0x2dc)]:{this[_0x4381b6(0x349)](_0x227e8c['data'][_0x4381b6(0x3bf)]['map'](_0x369aab=>_0x32c4ad[_0x4381b6(0x232)](_0x369aab)));break;}case _0x32c4ad[_0x4381b6(0x28d)][_0x4381b6(0x3dc)]:{this[_0x4381b6(0x134)]({'isPermissionRej':!0x0});break;}case _0x32c4ad[_0x4381b6(0x28d)][_0x4381b6(0x34c)]:break;}}catch(_0x94a9c0){throw console[_0x4381b6(0x35f)](_0x4381b6(0x350),_0x94a9c0),_0x94a9c0;}})),this[_0x721cce(0x2ef)];}[_0x1b6ca5(0x324)](){this['_transitionLocked']=!0x1;}[_0x1b6ca5(0x254)](){var _0x3f6d18=_0x1b6ca5;if(this[_0x3f6d18(0x300)])throw new Error(_0x3f6d18(0x16a));this[_0x3f6d18(0x300)]=!0x0;}[_0x1b6ca5(0x145)](_0x459893){var _0x2c1831=_0x1b6ca5;this[_0x2c1831(0x254)](),this[_0x2c1831(0xb5)](this[_0x2c1831(0x2ef)][_0x2c1831(0x377)](_0x459893)),this[_0x2c1831(0x324)]();}[_0x1b6ca5(0x1f4)](_0x3f709b){var _0x51fdbb=_0x1b6ca5;if(!(_0x3f709b[_0x51fdbb(0x2e6)]<=this[_0x51fdbb(0x2d0)][_0x51fdbb(0x390)](this['unitID']))){if(this[_0x51fdbb(0x31c)]){this[_0x51fdbb(0xc5)]['push'](_0x3f709b);return;}this[_0x51fdbb(0xf2)](_0x3f709b);}}['_exhaustRemoteChangesetQueue'](){var _0x12f8c9=_0x1b6ca5;this[_0x12f8c9(0xc5)]['forEach'](_0xc1220d=>this['_applyRemoteChangeset'](_0xc1220d)),this[_0x12f8c9(0xc5)]=[];}[_0x1b6ca5(0xf2)](_0x5aac36){var _0x38f743=_0x1b6ca5;const _0x1d8c0f=this[_0x38f743(0xbf)][_0x38f743(0x305)]['fetchThroughInterceptors'](this[_0x38f743(0xbf)][_0x38f743(0x305)][_0x38f743(0x32a)]()[_0x38f743(0x2fc)])(_0x5aac36[_0x38f743(0x233)],null)||_0x5aac36[_0x38f743(0x233)],_0x2ba98e={..._0x5aac36,'mutations':_0x1d8c0f};this[_0x38f743(0x254)](),this['_updateState'](this['_state'][_0x38f743(0x12f)](_0x2ba98e)),this['_unlockTransition']();}[_0x1b6ca5(0x36d)](_0xe81c65){var _0x392912=_0x1b6ca5;this[_0x392912(0x254)](),this[_0x392912(0xb5)](this['_state'][_0x392912(0x206)](_0xe81c65)),this['_unlockTransition']();}[_0x1b6ca5(0x134)](_0x3fba0e){var _0x1dbf47=_0x1b6ca5;this[_0x1dbf47(0x254)](),this[_0x1dbf47(0xb5)](this['_state'][_0x1dbf47(0xde)](_0x3fba0e)),this[_0x1dbf47(0x324)]();}['_onRemoteRetry'](_0x3de13e){var _0x3e1b19=_0x1b6ca5;this[_0x3e1b19(0x254)](),this['_updateState'](this['_state'][_0x3e1b19(0x264)](_0x3de13e)),this['_unlockTransition']();}[_0x1b6ca5(0x349)](_0x2ee3c5){var _0x11f6a1=_0x1b6ca5;if(!(this['_state']instanceof _0x35847c[_0x11f6a1(0x25e)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x5bd7b8=_0x2ee3c5[_0x11f6a1(0x10d)](_0x39d9b3=>{var _0x4f1621=_0x11f6a1;const _0x26bfb9=this[_0x4f1621(0xbf)][_0x4f1621(0x305)][_0x4f1621(0x7d)](this[_0x4f1621(0xbf)]['interceptor'][_0x4f1621(0x32a)]()[_0x4f1621(0x2fc)])(_0x39d9b3['mutations'],null)||_0x39d9b3['mutations'];return{..._0x39d9b3,'mutations':_0x26bfb9};});this[_0x11f6a1(0x254)](),this[_0x11f6a1(0xb5)](this[_0x11f6a1(0x2ef)][_0x11f6a1(0x288)](_0x5bd7b8)),this[_0x11f6a1(0x324)]();}[_0x1b6ca5(0x1f2)](){var _0x1daf10=_0x1b6ca5;this[_0x1daf10(0x254)](),this[_0x1daf10(0xb5)](this['_state'][_0x1daf10(0x265)]()),this['_unlockTransition']();}['_toggleOnline'](_0x5880a1=!0x1){var _0x51d4a2=_0x1b6ca5;this['_lockTransition'](),this[_0x51d4a2(0xb5)](this[_0x51d4a2(0x2ef)]['toggleOnline']()),this[_0x51d4a2(0x324)]();const _0x2d043f=this['_state'];_0x5880a1&&_0x2d043f instanceof _0x35847c['SyncedState']&&(this['_lockTransition'](),this[_0x51d4a2(0xb5)](_0x2d043f[_0x51d4a2(0x319)]()),this[_0x51d4a2(0x324)]());}async[_0x1b6ca5(0x3d2)](){return new Promise(_0x4d4a90=>{var _0x55fc02=_0x1ac4;this[_0x55fc02(0xa6)][_0x55fc02(0x132)]['pipe'](_0x2f43df[_0x55fc02(0x274)](0x1))['subscribe'](async _0x2f2595=>{var _0x4d8c69=_0x55fc02;_0x4d4a90(await this['_createInitialStateImpl'](_0x2f2595===_0x34dd1c[_0x4d8c69(0x22e)]));});});}[_0x1b6ca5(0x14b)](){var _0x534184=_0x1b6ca5;const _0xa51c62=this[_0x534184(0xfe)];return{'onStateChange':(_0xfa7124,_0x205d7c)=>{var _0xa666ae=_0x534184;if(_0xfa7124!==this[_0xa666ae(0x2ef)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xfa7124['status']+_0xa666ae(0x38d)+_0x205d7c['status']+_0xa666ae(0x252)+this[_0xa666ae(0x2ef)][_0xa666ae(0x2cd)]);this[_0xa666ae(0xb5)](_0x205d7c);},'onSendChangeset':_0x33d200=>{var _0x965746=_0x534184;_0x33d200['sid']||(_0x33d200[_0x965746(0x7e)]=this[_0x965746(0x3d4)],_0x33d200['reqId']=++this[_0x965746(0x1c8)]);const _0x452806={'eventID':_0x32c4ad['CollaborationEvent'][_0x965746(0x209)],'data':{'unitID':_0x33d200[_0x965746(0xfe)],'unitType':this[_0x965746(0x307)],'changeset':_0x33d200,'memberID':this['session'][_0x965746(0x14c)]()}};this[_0x965746(0xa6)][_0x965746(0x8a)](_0x452806,this[_0x965746(0xfe)]);},'onMissingChangesets':({from:_0x470924,to:_0x2dfd36})=>{var _0x4f2bbb=_0x534184;this['_logService'][_0x4f2bbb(0x368)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x470924+_0x4f2bbb(0x1a3)+_0x2dfd36);const _0x56ac73={'eventID':_0x32c4ad['CollaborationEvent'][_0x4f2bbb(0x181)],'data':{'unitID':_0xa51c62,'unitType':this['_type'],'from':_0x470924,'to':_0x2dfd36}};this['session'][_0x4f2bbb(0x8a)](_0x56ac73,this[_0x4f2bbb(0xfe)]);}};}async[_0x1b6ca5(0x309)](_0x59fc2d){var _0x4029c2=_0x1b6ca5,_0x2e3a5e,_0x314394,_0x46fd82;const _0x489b45=await((_0x2e3a5e=this['_localCacheService'])==null?void 0x0:_0x2e3a5e[_0x4029c2(0x1eb)](this['unitID'])),_0x558e39=(_0x314394=_0x489b45==null?void 0x0:_0x489b45[_0x4029c2(0x233)])!=null?_0x314394:[],_0x2cdf2b=(_0x46fd82=_0x489b45==null?void 0x0:_0x489b45[_0x4029c2(0x1fc)])!=null?_0x46fd82:null,_0x2062b1=!!(_0x2cdf2b!=null&&_0x2cdf2b[_0x4029c2(0x7e)])&&!!(_0x2cdf2b!=null&&_0x2cdf2b['reqId']);this[_0x4029c2(0x3d4)]=_0x2062b1?_0x2cdf2b[_0x4029c2(0x7e)]:_0x32c4ad[_0x4029c2(0x3f4)](),this['_changesetReqId']=_0x2062b1?_0x2cdf2b['reqId']:0x0;const _0x451b75=this['unitID'];try{this['_replayCachedMutations'](_0x2cdf2b,_0x558e39);}catch(_0x28ec10){this[_0x4029c2(0x9f)][_0x4029c2(0x35f)](_0x28ec10);}const _0x49184f=this['_createHandler']();if(_0x59fc2d){const _0x16caa9=_0x437143(this['_injector'],_0x451b75,this['_type'],_0x2cdf2b,_0x558e39,_0x49184f);return _0x16caa9 instanceof _0x35847c[_0x4029c2(0xc7)]?_0x16caa9[_0x4029c2(0x3ff)]():(_0x16caa9 instanceof _0x35847c[_0x4029c2(0x2e9)]||_0x16caa9 instanceof _0x35847c[_0x4029c2(0xd4)])&&_0x16caa9[_0x4029c2(0x2d2)](),_0x16caa9;}return this[_0x4029c2(0x172)][_0x4029c2(0xc8)](_0x35847c[_0x4029c2(0x183)],_0x451b75,this[_0x4029c2(0x307)],_0x2cdf2b,_0x558e39,_0x49184f);}['_replayCachedMutations'](_0x896812,_0xad9c02){var _0x215368=_0x1b6ca5,_0x286a0b,_0x34fe07;const _0x48d458=this[_0x215368(0xbf)][_0x215368(0x305)][_0x215368(0x7d)](this[_0x215368(0xbf)][_0x215368(0x305)][_0x215368(0x32a)]()['COMPRESS_MUTATION_APPLY']);(_0x286a0b=_0x48d458((_0x896812==null?void 0x0:_0x896812['mutations'])||[],null))==null||_0x286a0b[_0x215368(0x1d1)](_0x567c6e=>this[_0x215368(0xa1)][_0x215368(0x351)](_0x567c6e['id'],_0x567c6e[_0x215368(0x1e7)])),(_0x34fe07=_0x48d458(_0xad9c02||[],null))==null||_0x34fe07[_0x215368(0x1d1)](_0x555fe7=>this['_commandService']['executeCommand'](_0x555fe7['id'],_0x555fe7[_0x215368(0x1e7)]));}},_0x35847c[_0x1b6ca5(0xec)]=_0x31d509([_0x1d2720(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x1d2720(0x4,_0x765608['Inject'](_0x32c4ad['CompressMutationService'])),_0x1d2720(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x160)])),_0x1d2720(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x1d2720(0x7,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x1d2720(0x8,_0x765608[_0x1b6ca5(0x175)]),_0x1d2720(0x9,_0x765608['ILogService']),_0x1d2720(0xa,_0x765608[_0x1b6ca5(0x386)]),_0x1d2720(0xb,_0x765608['IPermissionService']),_0x1d2720(0xc,_0x765608['Optional'](_0x2aceed)),_0x1d2720(0xd,_0x765608['Optional'](_0x9f10c))],_0x35847c['CollaborationEntity']),_0x35847c[_0x1b6ca5(0xe3)]=class extends _0x35847c[_0x1b6ca5(0xec)]{constructor(_0x40b0b9,_0x4190a7,_0x2bbbf9,_0x26173e,_0x39973b,_0x1ffe78,_0x3b1591,_0x381c30,_0x4c7d21,_0x1a56a5,_0x5d2b82,_0xa00952,_0xbe3761,_0x578539){var _0x249113=_0x1b6ca5;super(_0x40b0b9,_0x2bbbf9,_0x4190a7,_0x26173e,_0x39973b,_0x1ffe78,_0x3b1591,_0x381c30,_0x4c7d21,_0x1a56a5,_0x5d2b82,_0xa00952,_0xbe3761,_0x578539),_0x1bac5f(this,'_handlerCallback',null),(this[_0x249113(0xfe)]=_0x40b0b9,this[_0x249113(0xbb)]=_0x4190a7);}[_0x1b6ca5(0x17d)](_0x6428e){var _0x3e1fe6=_0x1b6ca5;this[_0x3e1fe6(0x12a)]=_0x6428e;}[_0x1b6ca5(0xb1)](){var _0x331b8e=_0x1b6ca5;this[_0x331b8e(0x12a)]=null,super['dispose']();}[_0x1b6ca5(0x14b)](){var _0x104772=_0x1b6ca5;const _0x174bab=super[_0x104772(0x14b)]();return _0x174bab[_0x104772(0x242)]=_0x3e2941=>{var _0xcc84a3=_0x104772,_0x184552,_0x5ce44a;return(_0x5ce44a=(_0x184552=this[_0xcc84a3(0x12a)])==null?void 0x0:_0x184552['onTransformIME'])==null?void 0x0:_0x5ce44a['call'](_0x184552,_0x3e2941);},_0x174bab[_0x104772(0x3f1)]=_0x231338=>{var _0x4171b5=_0x104772,_0x2c50a2,_0x287bac;return(_0x287bac=(_0x2c50a2=this[_0x4171b5(0x12a)])==null?void 0x0:_0x2c50a2['onTransformState'])==null?void 0x0:_0x287bac[_0x4171b5(0x118)](_0x2c50a2,_0x231338);},_0x174bab['onTransformSelections']=_0x21f3fd=>{var _0x4f9f21=_0x104772,_0x33f5b1,_0x49212e;return(_0x49212e=(_0x33f5b1=this[_0x4f9f21(0x12a)])==null?void 0x0:_0x33f5b1[_0x4f9f21(0x392)])==null?void 0x0:_0x49212e[_0x4f9f21(0x118)](_0x33f5b1,_0x21f3fd);},_0x174bab[_0x104772(0x34e)]=_0x12abd8=>{var _0x339659=_0x104772,_0x2536ea,_0x5e1231;return(_0x5e1231=(_0x2536ea=this['_handlerCallback'])==null?void 0x0:_0x2536ea[_0x339659(0x34e)])==null?void 0x0:_0x5e1231[_0x339659(0x118)](_0x2536ea,_0x12abd8);},_0x174bab['onTransformRemoteChangesetByIMECache']=_0x523ec1=>{var _0x1dbb25=_0x104772,_0x389cb7,_0x3f4b77,_0x43a29f;if(!((_0x389cb7=this[_0x1dbb25(0x12a)])!=null&&_0x389cb7['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x43a29f=(_0x3f4b77=this['_handlerCallback'])==null?void 0x0:_0x3f4b77[_0x1dbb25(0x271)])==null?void 0x0:_0x43a29f[_0x1dbb25(0x118)](_0x3f4b77,_0x523ec1);},_0x174bab[_0x104772(0x364)]=_0xa12bae=>{var _0x4c153b=_0x104772,_0x44025c,_0x3aad7f,_0x1c8ace;if(!((_0x44025c=this[_0x4c153b(0x12a)])!=null&&_0x44025c['onTransformRemoteChangesetByStateCache']))throw new Error(_0x4c153b(0x1e0));return(_0x1c8ace=(_0x3aad7f=this['_handlerCallback'])==null?void 0x0:_0x3aad7f[_0x4c153b(0x364)])==null?void 0x0:_0x1c8ace['call'](_0x3aad7f,_0xa12bae);},_0x174bab;}async[_0x1b6ca5(0xfc)](){var _0xf4854c=_0x1b6ca5;const _0x5df0b5=await super[_0xf4854c(0xfc)]();return this['disposeWithMe'](this[_0xf4854c(0xa1)][_0xf4854c(0x35b)]((_0x41f488,_0x43599c)=>{var _0x2f3a3f=_0xf4854c;if(_0x41f488[_0x2f3a3f(0xbb)]!==_0x765608[_0x2f3a3f(0x23b)][_0x2f3a3f(0x3cf)]||_0x43599c!=null&&_0x43599c[_0x2f3a3f(0x24e)]||_0x43599c!=null&&_0x43599c['onlyLocal']||_0x41f488['id']===_0x5068b0[_0x2f3a3f(0x21d)]['id'])return;const _0x5d09d0=_0x41f488[_0x2f3a3f(0x1e7)];if((_0x5d09d0==null?void 0x0:_0x5d09d0[_0x2f3a3f(0x272)])!==this[_0x2f3a3f(0xfe)])return;const _0x2ddb36=_0x41f488,_0x53d359=this[_0x2f3a3f(0xbf)][_0x2f3a3f(0x305)][_0x2f3a3f(0x7d)](this[_0x2f3a3f(0xbf)][_0x2f3a3f(0x305)]['getInterceptPoints']()[_0x2f3a3f(0x279)])([_0x2ddb36],this[_0x2f3a3f(0xe7)])||[_0x2ddb36];this[_0x2f3a3f(0x145)](_0x53d359[0x0]);})),_0x5df0b5;}},_0x35847c[_0x1b6ca5(0xe3)]=_0x31d509([_0x1d2720(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x1d2720(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['CompressMutationService'])),_0x1d2720(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x765608['LocaleService'])),_0x1d2720(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['RevisionService'])),_0x1d2720(0x7,_0x765608['Inject'](_0x4474bb)),_0x1d2720(0x8,_0x765608[_0x1b6ca5(0x175)]),_0x1d2720(0x9,_0x765608[_0x1b6ca5(0x3f9)]),_0x1d2720(0xa,_0x765608['ICommandService']),_0x1d2720(0xb,_0x765608[_0x1b6ca5(0x112)]),_0x1d2720(0xc,_0x765608[_0x1b6ca5(0x136)](_0x2aceed)),_0x1d2720(0xd,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c[_0x1b6ca5(0xe3)]),_0x35847c[_0x1b6ca5(0x13d)]=class extends _0x35847c[_0x1b6ca5(0xec)]{constructor(_0x3ba9c0,_0x2bafc5,_0x183486,_0x5b4b27,_0x31b901,_0x475a76,_0x5eca30,_0x12c7bf,_0x5f382d,_0x239d53,_0x58d95c,_0x917e59,_0x4db488,_0x37d1ac,_0x26f836){var _0xb80298=_0x1b6ca5;super(_0x3ba9c0,_0x183486,_0x2bafc5,_0x5b4b27,_0x31b901,_0x475a76,_0x5eca30,_0x5f382d,_0x239d53,_0x58d95c,_0x917e59,_0x4db488,_0x37d1ac,_0x26f836),this[_0xb80298(0xfe)]=_0x3ba9c0,this['type']=_0x2bafc5,this[_0xb80298(0x76)]=_0x12c7bf;}[_0x1b6ca5(0x14b)](){var _0x48b1fe=_0x1b6ca5;const _0x436825=super['_createHandler']();return _0x436825[_0x48b1fe(0x392)]=_0x5a7061=>this[_0x48b1fe(0x76)][_0x48b1fe(0x110)](_0x5a7061),_0x436825;}async[_0x1b6ca5(0xfc)](){var _0x276230=_0x1b6ca5;const _0x47cc0e=await super[_0x276230(0xfc)]();return this[_0x276230(0x115)](this[_0x276230(0xa1)]['onCommandExecuted']((_0x502656,_0x5170f0)=>{var _0x4c685a=_0x276230;if(_0x502656['type']!==_0x765608[_0x4c685a(0x23b)][_0x4c685a(0x3cf)]||_0x5170f0!=null&&_0x5170f0[_0x4c685a(0x24e)]||_0x5170f0!=null&&_0x5170f0[_0x4c685a(0x154)])return;const _0x4c240d=_0x502656[_0x4c685a(0x1e7)];if((_0x4c240d==null?void 0x0:_0x4c240d[_0x4c685a(0x272)])!==this[_0x4c685a(0xfe)])return;const _0x56ce8b=_0x502656,_0x47bb03=this[_0x4c685a(0xbf)][_0x4c685a(0x305)][_0x4c685a(0x7d)](this[_0x4c685a(0xbf)][_0x4c685a(0x305)][_0x4c685a(0x32a)]()[_0x4c685a(0x279)])([_0x56ce8b],this[_0x4c685a(0xe7)])||[_0x56ce8b];this[_0x4c685a(0x145)](_0x47bb03[0x0]);})),_0x47cc0e;}},_0x35847c[_0x1b6ca5(0x13d)]=_0x31d509([_0x1d2720(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x1d2720(0x4,_0x765608['Inject'](_0x32c4ad['CompressMutationService'])),_0x1d2720(0x5,_0x765608['Inject'](_0x765608['LocaleService'])),_0x1d2720(0x6,_0x765608['Inject'](_0x32c4ad[_0x1b6ca5(0x399)])),_0x1d2720(0x7,_0x765608[_0x1b6ca5(0xe8)](_0x35847c[_0x1b6ca5(0x30f)])),_0x1d2720(0x8,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x1d2720(0x9,_0x765608[_0x1b6ca5(0x175)]),_0x1d2720(0xa,_0x765608[_0x1b6ca5(0x3f9)]),_0x1d2720(0xb,_0x765608[_0x1b6ca5(0x386)]),_0x1d2720(0xc,_0x765608['IPermissionService']),_0x1d2720(0xd,_0x765608[_0x1b6ca5(0x136)](_0x2aceed)),_0x1d2720(0xe,_0x765608['Optional'](_0x9f10c))],_0x35847c['SheetCollaborationEntity']);const _0x13a6a4=_0x765608[_0x1b6ca5(0x24d)](_0x1b6ca5(0x2ed));function _0x4123d4(_0x48012f){var _0x38feca=_0x1b6ca5,_0x6129b3,_0x1f191b,_0x3d5cac,_0x9a50ad,_0x2bcea9;const _0x53bf72=_0x48012f[_0x38feca(0x3c7)],_0x508aa3=JSON['parse'](_0x53bf72);switch(_0x508aa3[_0x38feca(0x3b4)]){case _0x1c4fc5[_0x38feca(0x75)]:case _0x1c4fc5['HELLO']:{const _0xe3b874=_0x508aa3[_0x38feca(0x163)];return{..._0x508aa3,'data':_0xe3b874,'cmd':_0x508aa3[_0x38feca(0x3b4)]};}case _0x1c4fc5[_0x38feca(0x3b9)]:{const _0x4d68c9=_0x508aa3[_0x38feca(0x39c)];return{..._0x508aa3,'data':_0x4d68c9,'cmd':_0x508aa3['cmd']};}case _0x1c4fc5[_0x38feca(0x344)]:{const _0x53e840=_0x508aa3[_0x38feca(0x2b4)];switch(_0x53e840[_0x38feca(0x239)]){case _0x32c4ad['CollaborationEvent'][_0x38feca(0x3dc)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x6129b3=_0x53e840['permissionRejEvent'])==null?void 0x0:_0x6129b3['cs']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x20f)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x1f191b=_0x53e840[_0x38feca(0x1b0)])==null?void 0x0:_0x1f191b['cs']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x1f6)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x3d5cac=_0x53e840['newCsEvent'])==null?void 0x0:_0x3d5cac['cs']},'cmd':_0x508aa3['cmd']};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0xbe)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x9a50ad=_0x53e840['csRejEvent'])==null?void 0x0:_0x9a50ad['cs']},'cmd':_0x508aa3['cmd']};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x29c)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x2bcea9=_0x53e840[_0x38feca(0x1ff)])==null?void 0x0:_0x2bcea9['cs']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x117)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840['updateCursorEvent']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x2de)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x3be)]},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x259)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x121)]},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x2dd)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840['liveShareNewHost']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x1f1)]:case _0x32c4ad[_0x38feca(0x28d)]['LIVESHARE_OPERATION']:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x3a5)]},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x3a4)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840['liveShareNewHost']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x13e)]:return{..._0x508aa3,'data':_0x53e840,'cmd':_0x508aa3['cmd']};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x27d)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x1fe)]},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x29b)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840['updatePermissionObjEvent']},'cmd':_0x508aa3['cmd']};case _0x32c4ad['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0xc4)]},'cmd':_0x508aa3['cmd']};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x34c)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x20e)]},'cmd':_0x508aa3['cmd']};default:return _0x508aa3;}}default:return _0x508aa3;}}function _0x4ffe11(_0xad4130){var _0x577fff=_0x1b6ca5;switch(_0xad4130[_0x577fff(0x3b4)]){case _0x1c4fc5[_0x577fff(0x75)]:case _0x1c4fc5[_0x577fff(0x3a2)]:return JSON[_0x577fff(0x144)]({'cmd':_0xad4130[_0x577fff(0x3b4)],'routeKey':_0xad4130[_0x577fff(0x2a5)]});case _0x1c4fc5[_0x577fff(0x139)]:{let _0x567422;switch(_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x239)]){case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x117)]:{_0x567422={'eventID':_0x32c4ad['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x259)]:{_0x567422={'eventID':_0x32c4ad['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0xad4130['data'][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x2de)]:{_0x567422={'eventID':_0x32c4ad['CollaborationEvent'][_0x577fff(0x2de)],'joinEvent':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x2dd)]:{_0x567422={'eventID':_0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x2dd)],'liveShareNewHost':_0xad4130['data'][_0x577fff(0x3c7)]};break;}case _0x32c4ad['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x567422={'eventID':_0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x2e3)],'liveShareOperation':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad['CollaborationEvent'][_0x577fff(0x3a4)]:{_0x567422={'eventID':_0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x3a4)],'liveShareTerminate':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x231)]:{_0x567422={'eventID':_0x32c4ad[_0x577fff(0x28d)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)]['LIVESHARE_FETCH_OPERATIONS']:{_0x567422={'eventID':_0x32c4ad['CollaborationEvent'][_0x577fff(0x1f1)]};break;}default:_0x567422={'eventID':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x239)]};}return JSON['stringify']({'cmd':_0xad4130[_0x577fff(0x3b4)],'routeKey':_0xad4130[_0x577fff(0x2a5)],'collaMsg':_0x567422});}case _0x1c4fc5[_0x577fff(0x3b9)]:return JSON[_0x577fff(0x144)]({'cmd':_0xad4130[_0x577fff(0x3b4)],'routeKey':_0xad4130[_0x577fff(0x2a5)],'joinReq':_0xad4130['data']});case _0x1c4fc5[_0x577fff(0x3c0)]:return JSON[_0x577fff(0x144)]({'cmd':_0xad4130[_0x577fff(0x3b4)],'routeKey':_0xad4130[_0x577fff(0x2a5)],'leaveReq':_0xad4130[_0x577fff(0x3c7)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x5b253f=Object[_0x1b6ca5(0x1d2)],_0x1604be=(_0x19090c,_0x3f97e1,_0x340eac,_0x29faf5)=>{var _0x5bfbac=_0x1b6ca5;for(var _0x359cae=_0x29faf5>0x1?void 0x0:_0x29faf5?_0x5b253f(_0x3f97e1,_0x340eac):_0x3f97e1,_0x3a214c=_0x19090c[_0x5bfbac(0x39e)]-0x1,_0x2c8aaf;_0x3a214c>=0x0;_0x3a214c--)(_0x2c8aaf=_0x19090c[_0x3a214c])&&(_0x359cae=_0x2c8aaf(_0x359cae)||_0x359cae);return _0x359cae;},_0x561054=(_0x25d12a,_0x318f62)=>(_0x741662,_0x2dab93)=>_0x318f62(_0x741662,_0x2dab93,_0x25d12a);const _0x1d154d=_0x765608[_0x1b6ca5(0x24d)](_0x1b6ca5(0xa5));function _0x507d64(_0xbe7a19,_0x1e6ffd,_0x4ac5de){var _0x36be09=_0x1b6ca5;return _0xbe7a19+'/'+_0x1e6ffd+_0x36be09(0x1ba)+_0x4ac5de+_0x36be09(0x2b2);}_0x35847c[_0x1b6ca5(0x1f0)]=class extends _0x765608['Disposable']{constructor(_0x5cc9fd,_0x4d8abd,_0x240b13,_0x4e95ac,_0x8345c7){var _0x3e3b29=_0x1b6ca5;super(),this['_injector']=_0x5cc9fd,this[_0x3e3b29(0x2be)]=_0x4d8abd,this[_0x3e3b29(0xd8)]=_0x240b13,this[_0x3e3b29(0x9f)]=_0x4e95ac,this[_0x3e3b29(0x295)]=_0x8345c7;}[_0x1b6ca5(0x290)](_0x59d67b){var _0x270ab6=_0x1b6ca5;const _0xa27733=this[_0x270ab6(0x172)][_0x270ab6(0x2b3)](_0x102f6e['ISocketService']);if(!_0xa27733)throw new Error(_0x270ab6(0x302));const _0x49bd14=_0xa27733[_0x270ab6(0x16e)](_0x59d67b);if(!_0x49bd14)throw new Error(_0x270ab6(0x361));const _0x1bdffb=new _0x765608['DisposableCollection'](),_0x47793e=new _0x2f43df['Subject']();_0x1bdffb[_0x270ab6(0x1db)](_0x49bd14['close$'][_0x270ab6(0xf0)](_0x3ff19b=>_0x47793e[_0x270ab6(0x1a2)](_0x3ff19b))),_0x1bdffb['add'](_0x765608['toDisposable'](()=>_0x47793e[_0x270ab6(0x149)]()));const _0x58bca0=new _0x2f43df['Subject']();_0x1bdffb[_0x270ab6(0x1db)](_0x49bd14[_0x270ab6(0x19e)][_0x270ab6(0xf0)](_0x2832d0=>_0x58bca0[_0x270ab6(0x1a2)](_0x2832d0))),_0x1bdffb[_0x270ab6(0x1db)](_0x765608[_0x270ab6(0x182)](()=>_0x58bca0[_0x270ab6(0x149)]()));const _0x307255=new _0x2f43df[(_0x270ab6(0x216))]();_0x1bdffb['add'](_0x49bd14[_0x270ab6(0x32e)][_0x270ab6(0xf0)](_0x46167a=>{var _0x50eb4d=_0x270ab6;const _0x3e611c=_0x4123d4(_0x46167a);_0x307255[_0x50eb4d(0x1a2)](_0x3e611c);})),_0x1bdffb['add'](_0x765608[_0x270ab6(0x182)](()=>_0x307255['complete']()));let _0xc83642;const _0x5698cb=()=>{var _0xbb1936=_0x270ab6;_0x58bca0[_0xbb1936(0x1a2)](new Event(_0xbb1936(0x119))),_0x47793e[_0xbb1936(0x1a2)](new Event(_0xbb1936(0x119))),_0xc83642[_0xbb1936(0x11c)]();};return _0xc83642={'memberID':'','close$':_0x47793e[_0x270ab6(0x99)](),'error$':_0x58bca0['asObservable'](),'open$':_0x49bd14[_0x270ab6(0x3b2)],'message$':_0x307255[_0x270ab6(0x99)](),'send':_0x50a20e=>{var _0x331b3d=_0x270ab6;if(_0x50a20e['cmd']===_0x1c4fc5[_0x331b3d(0x139)]){if(_0x50a20e[_0x331b3d(0x3c7)][_0x331b3d(0x239)]===_0x32c4ad['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x331b3d(0x1b4)](_0xc83642,_0x50a20e[_0x331b3d(0x3c7)])[_0x331b3d(0xd5)](_0x49df64=>{var _0x5d44de=_0x331b3d;this[_0x5d44de(0x9f)][_0x5d44de(0x35f)](_0x49df64),_0x5698cb();});return;}if(_0x50a20e[_0x331b3d(0x3c7)][_0x331b3d(0x239)]===_0x32c4ad[_0x331b3d(0x28d)]['FETCH_MISSING']){const _0x2d884c=_0x50a20e[_0x331b3d(0x3c7)];this[_0x331b3d(0x200)](_0x2d884c)[_0x331b3d(0x1b9)](_0x325c35=>{var _0x27a861=_0x331b3d;_0x307255[_0x27a861(0x1a2)]({'cmd':_0x1c4fc5[_0x27a861(0x344)],'code':_0x5b7a0f['OK'],'routeKey':_0x2d884c[_0x27a861(0x3c7)][_0x27a861(0xfe)],'routeType':'','data':{'eventID':_0x32c4ad[_0x27a861(0x28d)][_0x27a861(0x2dc)],'data':{'changesets':_0x325c35}}});})[_0x331b3d(0xd5)](_0x1f5f52=>{var _0x30d1ef=_0x331b3d;this[_0x30d1ef(0x9f)][_0x30d1ef(0x35f)](_0x1f5f52),_0x5698cb();});return;}}_0x49bd14[_0x331b3d(0x8a)](_0x4ffe11(_0x50a20e));},'close':()=>{var _0x133f51=_0x270ab6;_0x49bd14['close'](),_0x1bdffb[_0x133f51(0xb1)]();}},_0xc83642;}async['_submitChangeset'](_0x13006d,_0x46bdb7){var _0x188e54=_0x1b6ca5,_0x2afcb6;const {unitType:_0xe33f06,unitID:_0x5e89b6,changeset:_0x3a0fb8}=_0x46bdb7[_0x188e54(0x3c7)],_0x52c00c={'unitID':_0x5e89b6,'memberID':_0x13006d['memberID'],'type':_0xe33f06,'changeset':_0x32c4ad[_0x188e54(0xd1)](_0x3a0fb8)},_0x4fd81d=this[_0x188e54(0xd8)][_0x188e54(0x1ef)](_0x32b669),_0x525834=_0x507d64((_0x2afcb6=_0x4fd81d==null?void 0x0:_0x4fd81d['collabSubmitChangesetUrl'])!=null?_0x2afcb6:_0x42d637,_0xe33f06,_0x5e89b6);try{await this['_httpService'][_0x188e54(0x268)](_0x525834,{'body':_0x52c00c});}catch(_0x1afc84){throw this[_0x188e54(0x9f)][_0x188e54(0x35f)](_0x188e54(0x9c),_0x188e54(0xe5)),_0x1afc84;}}async[_0x1b6ca5(0x200)](_0x19a052){var _0x1953eb=_0x1b6ca5;const {unitID:_0x3e5c3e,from:_0x522a25,to:_0x49a8a3,unitType:_0x521f71}=_0x19a052[_0x1953eb(0x3c7)];return(await this[_0x1953eb(0x295)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3e5c3e,'type':_0x521f71,'from':_0x522a25,'to':_0x49a8a3}))[_0x1953eb(0x3bf)][_0x1953eb(0x10d)](_0x598cd2=>((_0x598cd2[_0x1953eb(0x233)]===null||_0x598cd2[_0x1953eb(0x233)]===void 0x0)&&(_0x598cd2[_0x1953eb(0x233)]=[]),_0x598cd2));}},_0x35847c[_0x1b6ca5(0x1f0)]=_0x1604be([_0x561054(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x561054(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)])),_0x561054(0x2,_0x765608[_0x1b6ca5(0x1af)]),_0x561054(0x3,_0x765608[_0x1b6ca5(0x3f9)]),_0x561054(0x4,_0x32c4ad[_0x1b6ca5(0x2a7)])],_0x35847c[_0x1b6ca5(0x1f0)]);var _0x24c8da=Object[_0x1b6ca5(0x1d2)],_0x4a223d=(_0x468bb4,_0x11f368,_0x9ec4cc,_0x4a79db)=>{for(var _0x55cc77=_0x4a79db>0x1?void 0x0:_0x4a79db?_0x24c8da(_0x11f368,_0x9ec4cc):_0x11f368,_0x4daeb1=_0x468bb4['length']-0x1,_0x33c3e3;_0x4daeb1>=0x0;_0x4daeb1--)(_0x33c3e3=_0x468bb4[_0x4daeb1])&&(_0x55cc77=_0x33c3e3(_0x55cc77)||_0x55cc77);return _0x55cc77;},_0x43a4bd=(_0x1956f8,_0x4db2dc)=>(_0x2dac5f,_0x2c973f)=>_0x4db2dc(_0x2dac5f,_0x2c973f,_0x1956f8);_0x35847c[_0x1b6ca5(0x97)]=class extends _0x765608['Disposable']{constructor(_0x31e57e,_0x48966a,_0x47ca7d,_0x30ae89,_0x5d7823,_0x46586b){var _0x1f5a82=_0x1b6ca5;super(),_0x1bac5f(this,_0x1f5a82(0xf7),new _0x2f43df[(_0x1f5a82(0x20b))](void 0x0)),_0x1bac5f(this,'socket$',this['_socket$'][_0x1f5a82(0x99)]()),_0x1bac5f(this,'_candidateSocket',null),_0x1bac5f(this,_0x1f5a82(0xcf),new Map()),_0x1bac5f(this,_0x1f5a82(0xaa),new _0x2f43df[(_0x1f5a82(0x20b))](_0x34dd1c[_0x1f5a82(0x2f0)])),_0x1bac5f(this,'status$',this[_0x1f5a82(0xaa)][_0x1f5a82(0x99)]()),_0x1bac5f(this,_0x1f5a82(0x267),!0x1),_0x1bac5f(this,_0x1f5a82(0x23d)),_0x1bac5f(this,_0x1f5a82(0x3c2),0x0),_0x1bac5f(this,_0x1f5a82(0x128)),_0x1bac5f(this,_0x1f5a82(0x23c)),(this['_injector']=_0x31e57e,this[_0x1f5a82(0x9f)]=_0x48966a,this[_0x1f5a82(0xd8)]=_0x47ca7d,this[_0x1f5a82(0x34b)]=_0x30ae89,this['_collaborationUIEventService']=_0x5d7823,this[_0x1f5a82(0x3bd)]=_0x46586b,this['_listenToNetworkCondition']());}get[_0x1b6ca5(0x2f2)](){return this['_socket$']['getValue']();}[_0x1b6ca5(0x224)](){var _0x475b7e=_0x1b6ca5;this[_0x475b7e(0x3bd)]&&this['disposeWithMe'](this[_0x475b7e(0x3bd)]['online$'][_0x475b7e(0xf0)](_0x2cc87d=>{var _0x151c86=_0x475b7e;_0x2cc87d&&!this['_socket']&&this['reconnect'](),_0x2cc87d||this[_0x151c86(0x1cd)]();}));}[_0x1b6ca5(0xb1)](){var _0x161814=_0x1b6ca5;super[_0x161814(0xb1)](),this[_0x161814(0x11f)](),this['_clearTimeoutTimer'](),this[_0x161814(0x2e4)](),this[_0x161814(0xcf)]['forEach'](_0x5af8a8=>_0x5af8a8['dispose']()),this[_0x161814(0xcf)]['clear'](),this['_status$'][_0x161814(0x149)]();}async[_0x1b6ca5(0x22d)](_0x4b9ddc){var _0x42b9e1=_0x1b6ca5;if(this[_0x42b9e1(0xcf)][_0x42b9e1(0x1df)](_0x4b9ddc))return this[_0x42b9e1(0xcf)][_0x42b9e1(0x2b3)](_0x4b9ddc);this[_0x42b9e1(0xd9)]();const _0x50f8fd=this[_0x42b9e1(0x172)][_0x42b9e1(0xc8)](_0x35847c[_0x42b9e1(0x325)],_0x4b9ddc,this['_socket$']['asObservable']());return this[_0x42b9e1(0xcf)][_0x42b9e1(0x26d)](_0x4b9ddc,_0x50f8fd),_0x50f8fd;}['closeSession'](_0x9bbac7){var _0x110b47=_0x1b6ca5,_0x228650;const _0x30b830=this['_sessions'][_0x110b47(0x2b3)](_0x9bbac7);_0x30b830&&(this['_sessions']['delete'](_0x9bbac7),_0x30b830['close']()),this['_sessions'][_0x110b47(0x336)]||(_0x228650=this[_0x110b47(0x2f2)])==null||_0x228650['close']();}[_0x1b6ca5(0x2c7)](){var _0x23e8f4=_0x1b6ca5;this[_0x23e8f4(0x3c2)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x23e8f4(0x244)]();}[_0x1b6ca5(0x11f)](){var _0x58e60b=_0x1b6ca5;this[_0x58e60b(0x23d)]!=null&&(clearTimeout(this[_0x58e60b(0x23d)]),this[_0x58e60b(0x23d)]=null);}async['_createSocket'](){var _0x10ea3f=_0x1b6ca5,_0x421344;const _0x384171=this[_0x10ea3f(0xd8)][_0x10ea3f(0x1ef)](_0x32b669),_0x11f772=(_0x421344=_0x384171==null?void 0x0:_0x384171['collabWebSocketUrl'])!=null?_0x421344:_0x58068b,_0x7f20ae=await this[_0x10ea3f(0x34b)][_0x10ea3f(0x16e)](_0x11f772);return this[_0x10ea3f(0x3da)]=_0x7f20ae,_0x7f20ae;}async[_0x1b6ca5(0xd9)](){var _0x589ade=_0x1b6ca5,_0x13d3a5,_0x305c0e;try{const _0x7c9cf2=(_0x305c0e=(_0x13d3a5=this[_0x589ade(0x2f2)])!=null?_0x13d3a5:this[_0x589ade(0x3da)])!=null?_0x305c0e:await this[_0x589ade(0xb0)]();if(_0x7c9cf2){const _0x2e3602=_0x7c9cf2['send'];_0x7c9cf2[_0x589ade(0x8a)]=_0x1d8cab=>(this['_rescheduleHeartbeat'](),_0x2e3602[_0x589ade(0x1fa)](_0x7c9cf2,[_0x1d8cab])),_0x7c9cf2[_0x589ade(0x32e)]['subscribe'](_0x4158b1=>this[_0x589ade(0x19f)](_0x7c9cf2,_0x4158b1)),_0x7c9cf2['error$'][_0x589ade(0x39a)](_0x3039f7[_0x589ade(0x274)](0x1))[_0x589ade(0xf0)](_0x58efb9=>this[_0x589ade(0x9f)]['error'](_0x589ade(0x1f8),_0x58efb9)),_0x7c9cf2[_0x589ade(0x3b2)][_0x589ade(0x39a)](_0x3039f7[_0x589ade(0x274)](0x1))[_0x589ade(0xf0)](()=>{this['_onConnectionOpen'](_0x7c9cf2);}),_0x7c9cf2[_0x589ade(0x3c8)][_0x589ade(0x39a)](_0x3039f7['take'](0x1))[_0x589ade(0xf0)](_0x398df8=>{var _0x569be2=_0x589ade;this[_0x569be2(0x9f)][_0x569be2(0x368)](_0x569be2(0x29d),_0x569be2(0x221),_0x398df8),this[_0x569be2(0x3dd)]();});}}catch(_0x3426a0){this[_0x589ade(0x9f)][_0x589ade(0x35f)](_0x3426a0),this[_0x589ade(0x3dd)]();}}[_0x1b6ca5(0x191)](_0x38e1c0){var _0x24a0bf=_0x1b6ca5;this[_0x24a0bf(0x9f)][_0x24a0bf(0x368)]('[CollaborationSessionService]','socket\x20open.'),_0x38e1c0[_0x24a0bf(0x8a)]({'cmd':_0x1c4fc5['HELLO']}),this[_0x24a0bf(0x122)]();}[_0x1b6ca5(0x1cd)](){var _0x426079=_0x1b6ca5;this[_0x426079(0x267)]=!0x1,this[_0x426079(0x3da)]=null,this[_0x426079(0xaa)]['next'](_0x34dd1c[_0x426079(0x1c5)]),this[_0x426079(0xf7)]['next'](null),this[_0x426079(0x299)](),this[_0x426079(0x2e4)]();}[_0x1b6ca5(0x3dd)](){var _0x49ba43=_0x1b6ca5,_0x12243d;this[_0x49ba43(0x1cd)](),this[_0x49ba43(0x3c2)]<((_0x12243d=this[_0x49ba43(0xd8)]['getConfig'](_0x4e97c3))!=null?_0x12243d:0x3)?(this[_0x49ba43(0x322)][_0x49ba43(0x106)]({'id':_0x4d6e97[_0x49ba43(0xe6)]}),this[_0x49ba43(0x244)]()):this[_0x49ba43(0x322)][_0x49ba43(0x106)]({'id':_0x4d6e97[_0x49ba43(0x15b)]});}[_0x1b6ca5(0x244)](){var _0x339459=_0x1b6ca5,_0x46e28b;const _0x197059=this[_0x339459(0x3c2)],_0x3e93bb=this[_0x339459(0xd8)][_0x339459(0x1ef)](_0x32b669),_0x3edb0f=_0x197059===0x0?0x0:((_0x46e28b=_0x3e93bb==null?void 0x0:_0x3e93bb[_0x339459(0x2e2)])!=null?_0x46e28b:0x4e20)*0x2**_0x197059;this[_0x339459(0x23d)]=setTimeout(()=>{var _0x4d4670=_0x339459;clearTimeout(this[_0x4d4670(0x23d)]),this[_0x4d4670(0x23d)]=null,this[_0x4d4670(0xd9)]();},_0x3edb0f),this[_0x339459(0x3c2)]+=0x1;}['_onMessage'](_0x5a36e3,_0x418eaf){var _0x5e9883=_0x1b6ca5;const {cmd:_0x172cef}=_0x418eaf;_0x172cef===_0x1c4fc5[_0x5e9883(0x3a2)]&&!this[_0x5e9883(0x267)]&&(_0x5a36e3[_0x5e9883(0x296)]=_0x418eaf[_0x5e9883(0x3c7)]['memberID'],this[_0x5e9883(0xf7)]['next'](_0x5a36e3),this[_0x5e9883(0xaa)][_0x5e9883(0x1a2)](_0x34dd1c[_0x5e9883(0x22e)]),this[_0x5e9883(0x267)]=!0x0,this[_0x5e9883(0x3da)]=null),_0x172cef===_0x1c4fc5['HEARTBEAT']&&this[_0x5e9883(0x299)](),this[_0x5e9883(0x122)]();}[_0x1b6ca5(0x122)](){var _0x59ebeb=_0x1b6ca5,_0x24861b;this[_0x59ebeb(0x2e4)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x59ebeb(0x380)](),(_0x24861b=this[_0x59ebeb(0xd8)][_0x59ebeb(0x1ef)](_0x391bfd))!=null?_0x24861b:0x7530);}[_0x1b6ca5(0x380)](){var _0x51c889=_0x1b6ca5;this['_socket'][_0x51c889(0x8a)]({'cmd':_0x1c4fc5[_0x51c889(0x75)]}),this[_0x51c889(0x168)]();}[_0x1b6ca5(0x168)](){var _0x5a272e=_0x1b6ca5,_0x12ca4a;this[_0x5a272e(0x23c)]=setTimeout(()=>this[_0x5a272e(0x3dd)](),(_0x12ca4a=this[_0x5a272e(0xd8)][_0x5a272e(0x1ef)](_0x40d4d2))!=null?_0x12ca4a:0x4e20);}[_0x1b6ca5(0x2e4)](){var _0x4f4afc=_0x1b6ca5;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4f4afc(0x128)]),this['_sendHeartbeatTimer']=null);}[_0x1b6ca5(0x299)](){var _0x3457bb=_0x1b6ca5;this[_0x3457bb(0x23c)]!=null&&(clearTimeout(this[_0x3457bb(0x23c)]),this[_0x3457bb(0x23c)]=null);}},_0x35847c[_0x1b6ca5(0x97)]=_0x4a223d([_0x43a4bd(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x43a4bd(0x1,_0x765608[_0x1b6ca5(0x3f9)]),_0x43a4bd(0x2,_0x765608['IConfigService']),_0x43a4bd(0x3,_0x1d154d),_0x43a4bd(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x43a4bd(0x5,_0x765608[_0x1b6ca5(0x136)](_0x13a6a4))],_0x35847c[_0x1b6ca5(0x97)]);var _0x40ba83=Object[_0x1b6ca5(0x1d2)],_0x12d755=(_0x34aa96,_0x118873,_0x3881d0,_0x71991e)=>{var _0x478994=_0x1b6ca5;for(var _0x36e56d=_0x71991e>0x1?void 0x0:_0x71991e?_0x40ba83(_0x118873,_0x3881d0):_0x118873,_0x435cf=_0x34aa96[_0x478994(0x39e)]-0x1,_0x1ce789;_0x435cf>=0x0;_0x435cf--)(_0x1ce789=_0x34aa96[_0x435cf])&&(_0x36e56d=_0x1ce789(_0x36e56d)||_0x36e56d);return _0x36e56d;},_0x1af6ec=(_0x3fb2bf,_0x40fc17)=>(_0x493d04,_0x3dc909)=>_0x40fc17(_0x493d04,_0x3dc909,_0x3fb2bf);_0x35847c[_0x1b6ca5(0x236)]=class extends _0x765608['RxDisposable']{constructor(_0xd8453e,_0x40c8fe,_0x32f2f9,_0x3ad32a){var _0x44dec5=_0x1b6ca5,_0x264a0d;super(),_0x1bac5f(this,_0x44dec5(0x2f7),new Map()),_0x1bac5f(this,_0x44dec5(0x3cc),new _0x2f43df[(_0x44dec5(0x216))]()),_0x1bac5f(this,_0x44dec5(0x276),this['_entityInit$']['asObservable']()),(this[_0x44dec5(0x172)]=_0xd8453e,this['_collabSessionService']=_0x40c8fe,this[_0x44dec5(0xd8)]=_0x32f2f9,this[_0x44dec5(0xe7)]=_0x3ad32a,((_0x264a0d=this['_configService'][_0x44dec5(0x1ef)](_0x32b669))==null?void 0x0:_0x264a0d[_0x44dec5(0x205)])!==!0x1&&this[_0x44dec5(0xfc)]());}[_0x1b6ca5(0xb1)](){var _0x34443d=_0x1b6ca5;super[_0x34443d(0xb1)](),this[_0x34443d(0x2f7)][_0x34443d(0x1d1)](_0x573eda=>_0x573eda[_0x34443d(0xb1)]()),this['_entities'][_0x34443d(0x1c1)]();}[_0x1b6ca5(0x7f)](_0x31c60a){var _0x7fdbaf=_0x1b6ca5,_0x1c765e;return(_0x1c765e=this['_entities'][_0x7fdbaf(0x2b3)](_0x31c60a))!=null?_0x1c765e:null;}['getCollabEntity$'](_0x3c6224){var _0x2a34b4=_0x1b6ca5;const _0x4dab4d=this['getCollabEntity'](_0x3c6224);return _0x4dab4d?_0x2f43df['of'](_0x4dab4d):this['_entityInit$'][_0x2a34b4(0x39a)](_0x3039f7[_0x2a34b4(0x153)](_0x23655b=>_0x23655b['unitID']===_0x3c6224));}[_0x1b6ca5(0x342)](_0x3048d1){var _0x26b129=_0x1b6ca5;return _0x2f43df[_0x26b129(0x3d3)](this['getCollabEntity$'](_0x3048d1)[_0x26b129(0x39a)](_0x3039f7['map'](()=>{})));}[_0x1b6ca5(0xfc)](){var _0x4d0898=_0x1b6ca5;this[_0x4d0898(0xe7)]['getTypeOfUnitAdded$'](_0x765608['UniverInstanceType'][_0x4d0898(0x398)])[_0x4d0898(0x39a)](_0x2f43df[_0x4d0898(0x18c)](this[_0x4d0898(0x283)]),_0x3039f7['delay'](0x10))[_0x4d0898(0xf0)](async _0x4bf0fe=>{var _0x298115=_0x4d0898;const _0x4a527d=_0x4bf0fe['getUnitId'](),_0x1f505c=await this[_0x298115(0x85)](_0x4a527d,_0x56d87c[_0x298115(0x398)]);this[_0x298115(0x2f7)][_0x298115(0x26d)](_0x4a527d,_0x1f505c);}),this[_0x4d0898(0xe7)][_0x4d0898(0x2ac)](_0x765608[_0x4d0898(0x173)][_0x4d0898(0x31a)])[_0x4d0898(0x39a)](_0x2f43df['takeUntil'](this[_0x4d0898(0x283)]),_0x3039f7[_0x4d0898(0x213)](0x10))['pipe'](_0x3039f7['filter'](_0x304fdf=>!_0x304fdf['getUnitId']()[_0x4d0898(0x157)]('__')))[_0x4d0898(0xf0)](async _0x183e02=>{var _0x1eca04=_0x4d0898;const _0x53abf3=_0x183e02[_0x1eca04(0xdc)](),_0x68655c=await this[_0x1eca04(0x85)](_0x53abf3,_0x56d87c[_0x1eca04(0x31a)]);this[_0x1eca04(0x2f7)]['set'](_0x53abf3,_0x68655c);}),_0x2f43df[_0x4d0898(0x308)](this[_0x4d0898(0xe7)][_0x4d0898(0x24b)](_0x765608[_0x4d0898(0x173)][_0x4d0898(0x398)]),this[_0x4d0898(0xe7)]['getTypeOfUnitDisposed$'](_0x765608['UniverInstanceType'][_0x4d0898(0x31a)]))[_0x4d0898(0x39a)](_0x2f43df['takeUntil'](this[_0x4d0898(0x283)]))[_0x4d0898(0xf0)](_0x4ddf3b=>{var _0x173861=_0x4d0898;const _0x2b6389=_0x4ddf3b[_0x173861(0xdc)](),_0x4b697c=this[_0x173861(0x2f7)][_0x173861(0x2b3)](_0x2b6389);_0x4b697c&&(_0x4b697c[_0x173861(0xb1)](),this[_0x173861(0x2f7)][_0x173861(0x3d7)](_0x2b6389));});}async[_0x1b6ca5(0x85)](_0x2e0b99,_0x1ab46f){var _0x3288f2=_0x1b6ca5;const _0x4422f5=await this['_collabSessionService']['requireSession'](_0x2e0b99),_0xa4b368=this[_0x3288f2(0x172)][_0x3288f2(0xc8)](this['_getCtorByUniverType'](_0x1ab46f),_0x2e0b99,_0x1ab46f,_0x4422f5);return await _0xa4b368[_0x3288f2(0x82)](),this[_0x3288f2(0x3cc)]['next'](_0xa4b368),_0xa4b368;}[_0x1b6ca5(0x1c7)](_0x5c2cd2){var _0x485ea7=_0x1b6ca5;switch(_0x5c2cd2){case _0x56d87c[_0x485ea7(0x31a)]:return _0x35847c[_0x485ea7(0xe3)];case _0x56d87c[_0x485ea7(0x398)]:return _0x35847c[_0x485ea7(0x13d)];default:throw new Error(_0x485ea7(0x1aa)+_0x5c2cd2);}}},_0x35847c[_0x1b6ca5(0x236)]=_0x12d755([_0x1af6ec(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x1af6ec(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x35847c['CollaborationSessionService'])),_0x1af6ec(0x2,_0x765608[_0x1b6ca5(0x1af)]),_0x1af6ec(0x3,_0x765608['IUniverInstanceService'])],_0x35847c[_0x1b6ca5(0x236)]);var _0xa42d89=Object[_0x1b6ca5(0x1d2)],_0x32874a=(_0x13df33,_0x2f2f2b,_0x379d40,_0x5652de)=>{var _0x4d7c0b=_0x1b6ca5;for(var _0x215022=_0x5652de>0x1?void 0x0:_0x5652de?_0xa42d89(_0x2f2f2b,_0x379d40):_0x2f2f2b,_0x41b7c0=_0x13df33[_0x4d7c0b(0x39e)]-0x1,_0x10c738;_0x41b7c0>=0x0;_0x41b7c0--)(_0x10c738=_0x13df33[_0x41b7c0])&&(_0x215022=_0x10c738(_0x215022)||_0x215022);return _0x215022;},_0xf5c9bc=(_0x294035,_0x46093f)=>(_0x1335ff,_0x1e03da)=>_0x46093f(_0x1335ff,_0x1e03da,_0x294035);const _0x13ebfd=_0x1b6ca5(0x108),_0x579600=_0x1b6ca5(0x2d3);let _0x287d89=class extends _0x765608[_0x1b6ca5(0x2bf)]{constructor(_0x4ed9d0,_0x409771){var _0x3e254e=_0x1b6ca5;super(),this[_0x3e254e(0xe7)]=_0x4ed9d0,this['_configService']=_0x409771,this[_0x3e254e(0xfc)]();}[_0x1b6ca5(0xfc)](){var _0x32d0ac=_0x1b6ca5;this[_0x32d0ac(0x115)](this[_0x32d0ac(0xe7)][_0x32d0ac(0x130)][_0x32d0ac(0xf0)](()=>{var _0x271656=_0x32d0ac,_0x12b4ea;const _0x38ffb8=this[_0x271656(0xe7)][_0x271656(0x353)]();let _0x4bc804=(_0x12b4ea=this['_configService'][_0x271656(0x1ef)](_0x13ebfd))!=null?_0x12b4ea:_0x579600;_0x38ffb8 instanceof _0x765608[_0x271656(0x243)]&&(_0x4bc804=_0x38ffb8[_0x271656(0x317)]),document[_0x271656(0x195)]=_0x4bc804;}));}};_0x287d89=_0x32874a([_0xf5c9bc(0x0,_0x765608[_0x1b6ca5(0x175)]),_0xf5c9bc(0x1,_0x765608['IConfigService'])],_0x287d89);var _0x5d4f54=Object[_0x1b6ca5(0x1d2)],_0x5cb059=(_0x3b044b,_0x1adf47,_0x13c800,_0x20a25f)=>{var _0x55d98e=_0x1b6ca5;for(var _0x484f19=_0x20a25f>0x1?void 0x0:_0x20a25f?_0x5d4f54(_0x1adf47,_0x13c800):_0x1adf47,_0x1681e7=_0x3b044b[_0x55d98e(0x39e)]-0x1,_0x1ccafb;_0x1681e7>=0x0;_0x1681e7--)(_0x1ccafb=_0x3b044b[_0x1681e7])&&(_0x484f19=_0x1ccafb(_0x484f19)||_0x484f19);return _0x484f19;},_0x5da9a5=(_0x2e6b23,_0x1234e4)=>(_0x436293,_0x11a889)=>_0x1234e4(_0x436293,_0x11a889,_0x2e6b23);let _0x3e75fa=class{constructor(_0x69c0e6,_0x46071b,_0x5dc19e){var _0x557c50=_0x1b6ca5;this[_0x557c50(0xd8)]=_0x69c0e6,this[_0x557c50(0x2be)]=_0x46071b,this[_0x557c50(0x31e)]=_0x5dc19e,this[_0x557c50(0x82)]();}['init'](){var _0x3b255a=_0x1b6ca5;this[_0x3b255a(0x2be)][_0x3b255a(0xce)]({'priority':0x1,'interceptor':(_0x3ea02b,_0x3e25cb)=>_0x3e25cb(_0x3ea02b)[_0x3b255a(0x39a)](_0x2f43df['concatMap'](async _0x24e5dd=>{var _0x177263=_0x3b255a;const _0x4b0eea=_0x24e5dd;if(_0x4b0eea[_0x177263(0x2cd)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x177263(0x362)](this[_0x177263(0x31e)]['t']('auth.needGotoLoginAlert'))){const _0x19ae5f=window['encodeURIComponent'](window[_0x177263(0x250)]['href']);window[_0x177263(0x250)]['href']=this['_getLoginPath']()+_0x177263(0x2b1)+_0x19ae5f;}}return _0x4b0eea;}))});}[_0x1b6ca5(0x18e)](){var _0xa9964c=_0x1b6ca5,_0x4e2886;const _0x50138b=this[_0xa9964c(0xd8)][_0xa9964c(0x1ef)](_0x32b669);return(_0x4e2886=_0x50138b==null?void 0x0:_0x50138b[_0xa9964c(0x3b7)])!=null?_0x4e2886:_0x53153f;}};_0x3e75fa=_0x5cb059([_0x5da9a5(0x0,_0x765608['IConfigService']),_0x5da9a5(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)])),_0x5da9a5(0x2,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x160)]))],_0x3e75fa);var _0xa5cf99=Object[_0x1b6ca5(0x1d2)],_0x56aabf=(_0x2e6db1,_0xe3822a,_0x3c11be,_0x518987)=>{var _0x221167=_0x1b6ca5;for(var _0x13bdb0=_0x518987>0x1?void 0x0:_0x518987?_0xa5cf99(_0xe3822a,_0x3c11be):_0xe3822a,_0x21959d=_0x2e6db1[_0x221167(0x39e)]-0x1,_0x198278;_0x21959d>=0x0;_0x21959d--)(_0x198278=_0x2e6db1[_0x21959d])&&(_0x13bdb0=_0x198278(_0x13bdb0)||_0x13bdb0);return _0x13bdb0;},_0x2b8a78=(_0x402c34,_0x5b89b5)=>(_0x3c00da,_0x79b7f5)=>_0x5b89b5(_0x3c00da,_0x79b7f5,_0x402c34);const _0x55d47a='/universer-api/authz';_0x35847c[_0x1b6ca5(0x3af)]=class extends _0x765608[_0x1b6ca5(0x2bf)]{constructor(_0x187ce9,_0xe9e57a){var _0x41c366=_0x1b6ca5;super(),this[_0x41c366(0x24c)]=_0x187ce9,this[_0x41c366(0xd8)]=_0xe9e57a,this[_0x41c366(0xc0)]();}[_0x1b6ca5(0xc0)](){var _0xcfdf12=_0x1b6ca5;const _0x5c3f2f=this;this['disposeWithMe'](this[_0xcfdf12(0x24c)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x102f6e[_0xcfdf12(0x17a)]({'isMatch'(_0x24758e){var _0x3b063d=_0xcfdf12,_0x3993a8;if(_0x24758e['method']==='POST'&&((_0x3993a8=_0x24758e[_0x3b063d(0x29f)])!=null&&_0x3993a8[_0x3b063d(0x35a)])){const {objectID:_0x5c33ed,objectType:_0x3e57b2}=_0x24758e[_0x3b063d(0x29f)][_0x3b063d(0x35a)]||{};if(!_0x5c33ed||_0x3e57b2===void 0x0)return!0x1;const _0x362596=_0x5c3f2f[_0x3b063d(0x127)]()+'/'+_0x3e57b2+'/object/'+_0x5c33ed+_0x3b063d(0x2cb);if(_0x24758e[_0x3b063d(0x367)]===_0x362596)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3803c7){var _0x43a381=_0xcfdf12,_0x470935;return(_0x470935=_0x3803c7[_0x43a381(0x29f)])==null?void 0x0:_0x470935[_0x43a381(0x35a)];},'mergeParamsToRequest'(_0x1c0f1c,_0xcc09e5){var _0x1da559=_0xcfdf12;const _0x44f183=_0x5c3f2f[_0x1da559(0x127)]()+_0x1da559(0xdb),_0x4f9025=_0x1c0f1c[_0x1da559(0x37a)]((_0x2f98ff,_0x1438b2)=>{var _0x46bf38=_0x1da559;const {unitID:_0x11b06e,objectID:_0xfb8c0,objectType:_0x1770d5,actions:_0x2b661a}=_0x1438b2;return _0x2f98ff[_0x11b06e]||(_0x2f98ff[_0x11b06e]={}),_0x2f98ff[_0x11b06e][_0xfb8c0]||(_0x2f98ff[_0x11b06e][_0xfb8c0]={'objectID':_0xfb8c0,'objectType':_0x1770d5,'actions':[]}),_0x2f98ff[_0x11b06e][_0xfb8c0][_0x46bf38(0x303)][_0x46bf38(0x13f)](..._0x2b661a),_0x2f98ff;},{}),_0x409f6f=[];for(const _0x42a1a7 in _0x4f9025)for(const _0x6216be in _0x4f9025[_0x42a1a7]){const {actions:_0x17d067,objectType:_0x202e3f}=_0x4f9025[_0x42a1a7][_0x6216be],_0x9cf5a0=[...new Set(_0x17d067)];_0x409f6f['push']({'unitID':_0x42a1a7,'objectID':_0x6216be,'objectType':_0x202e3f,'actions':_0x9cf5a0});}return new _0x102f6e[(_0x1da559(0x21e))](_0x1da559(0x2f1),_0x44f183,{'headers':_0xcc09e5[_0x1da559(0x3e5)],'withCredentials':_0xcc09e5[_0x1da559(0x11e)],'responseType':_0xcc09e5[_0x1da559(0xe2)],'body':{'requests':_0x409f6f}});}},{'distributeResult'(_0x235603,_0x239b6c){var _0x3f39bb=_0xcfdf12;const {objectActions:_0x4f6311}=_0x235603;return _0x239b6c[_0x3f39bb(0x10d)](_0x4c07f2=>{var _0xea76fc=_0x3f39bb;const {unitID:_0x55caf3,objectID:_0xabf8a0,actions:_0x2e74e6}=_0x4c07f2,_0x13d3ee=_0x4f6311[_0xea76fc(0x23a)](_0x5b7264=>_0x5b7264['unitID']===_0x55caf3&&_0x5b7264[_0xea76fc(0x20a)]===_0xabf8a0),_0x252141=_0x2e74e6[_0xea76fc(0x10d)](_0xbc2730=>_0x13d3ee==null?void 0x0:_0x13d3ee[_0xea76fc(0x303)]['find'](_0x1b67d4=>_0x1b67d4[_0xea76fc(0x161)]===_0xbc2730))[_0xea76fc(0x153)](_0x200fd6=>!!_0x200fd6);return{'config':_0x4c07f2,'result':{'actions':_0x252141,'error':_0x235603[_0xea76fc(0x35f)]}};});}})}));}[_0x1b6ca5(0x127)](){var _0x5a524b=_0x1b6ca5,_0x6048d7;const _0xb2a267=this[_0x5a524b(0xd8)]['getConfig'](_0x32b669);return(_0x6048d7=_0xb2a267==null?void 0x0:_0xb2a267[_0x5a524b(0x270)])!=null?_0x6048d7:_0x55d47a;}async[_0x1b6ca5(0x355)](_0x4ed59f){var _0x5a4840=_0x1b6ca5;const _0x42119a=this['_getAPIPrefixPath']()+'/'+_0x4ed59f[_0x5a4840(0x124)]+_0x5a4840(0x334);return(await this[_0x5a4840(0x24c)][_0x5a4840(0x268)](_0x42119a,{'body':_0x4ed59f}))[_0x5a4840(0x35a)][_0x5a4840(0x20a)]||'';}async['list'](_0x1d0045){var _0x123e0f=_0x1b6ca5;const _0x13d8d9=this[_0x123e0f(0x127)]()+_0x123e0f(0xb8);return(await this[_0x123e0f(0x24c)][_0x123e0f(0x268)](_0x13d8d9,{'body':_0x1d0045}))['body']['objects'];}async[_0x1b6ca5(0x2d1)](_0x266cfd){var _0x42dd80=_0x1b6ca5,_0x2ff44e,_0x4d78d0;const _0xdf4e58=this[_0x42dd80(0x127)]()+'/'+_0x266cfd[_0x42dd80(0x124)]+'/object/'+_0x266cfd[_0x42dd80(0x20a)],_0x406640=await this[_0x42dd80(0x24c)][_0x42dd80(0x280)](_0xdf4e58,{'body':_0x266cfd});if(((_0x4d78d0=(_0x2ff44e=_0x406640==null?void 0x0:_0x406640[_0x42dd80(0x35a)])==null?void 0x0:_0x2ff44e[_0x42dd80(0x35f)])==null?void 0x0:_0x4d78d0[_0x42dd80(0x3e6)])!==0x1)throw new Error(_0x42dd80(0x81));}async[_0x1b6ca5(0x1cc)](_0x59661e){var _0x12a988=_0x1b6ca5;const _0x330222=this[_0x12a988(0x127)]()+'/'+_0x59661e[_0x12a988(0x124)]+_0x12a988(0x3c1)+_0x59661e[_0x12a988(0x20a)]+_0x12a988(0x2cb);return(await this['_HTTPService'][_0x12a988(0x268)](_0x330222,{'body':_0x59661e}))['body'][_0x12a988(0x303)];}async[_0x1b6ca5(0x103)](_0x45b89c){var _0x5a74c1=_0x1b6ca5;const _0x193f21=this[_0x5a74c1(0x127)]()+'/-/object/-/batch_allowed';return(await this[_0x5a74c1(0x24c)][_0x5a74c1(0x268)](_0x193f21,{'body':{'requests':_0x45b89c}}))[_0x5a74c1(0x35a)][_0x5a74c1(0x2c4)];}async[_0x1b6ca5(0x2a0)](_0x35f1f9){var _0x5a795e=_0x1b6ca5;const _0x3c19e4=this[_0x5a795e(0x127)]()+'/'+_0x35f1f9[_0x5a795e(0x124)]+'/role',_0x5ca487=await this[_0x5a795e(0x24c)][_0x5a795e(0x268)](_0x3c19e4,{'body':_0x35f1f9});return{'roles':_0x5ca487[_0x5a795e(0x35a)][_0x5a795e(0x28c)],'actions':_0x5ca487[_0x5a795e(0x35a)][_0x5a795e(0x303)]};}async[_0x1b6ca5(0x230)](_0x1c80c2){var _0x37f0da=_0x1b6ca5;const _0xbbf12f=this[_0x37f0da(0x127)]()+_0x37f0da(0x21c);await this[_0x37f0da(0x24c)][_0x37f0da(0x3d7)](_0xbbf12f,{'params':{'collaboratorID':_0x1c80c2['collaboratorID'],'objectID':_0x1c80c2['objectID'],'unitID':_0x1c80c2[_0x37f0da(0xfe)]}});}async[_0x1b6ca5(0x214)](_0x43326e){var _0x32975a=_0x1b6ca5;const _0x16a172=this['_getAPIPrefixPath']()+_0x32975a(0x21c);await this[_0x32975a(0x24c)][_0x32975a(0x33f)](_0x16a172,{'body':_0x43326e});}async[_0x1b6ca5(0x2ea)](_0x2cd7a3){var _0x4ce9a0=_0x1b6ca5;const _0x4924c3=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x4ce9a0(0x24c)][_0x4ce9a0(0x268)](_0x4924c3,{'body':_0x2cd7a3});}async[_0x1b6ca5(0x13c)](_0x5a025c){var _0x2ce93b=_0x1b6ca5;const _0x4e670c=this[_0x2ce93b(0x127)]()+_0x2ce93b(0x21c);return(await this[_0x2ce93b(0x24c)][_0x2ce93b(0x2b3)](_0x4e670c,{'params':{'objectID':_0x5a025c[_0x2ce93b(0x20a)],'unitID':_0x5a025c[_0x2ce93b(0xfe)]}}))[_0x2ce93b(0x35a)][_0x2ce93b(0x3aa)];}async[_0x1b6ca5(0x16d)](_0x491446){var _0x2ffaf5=_0x1b6ca5;const _0x2b103d=this[_0x2ffaf5(0x127)]()+_0x2ffaf5(0x21c);await this[_0x2ffaf5(0x24c)][_0x2ffaf5(0x280)](_0x2b103d,{'body':_0x491446});}},_0x35847c['AuthzIoHttpService']=_0x56aabf([_0x2b8a78(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e['HTTPService'])),_0x2b8a78(0x1,_0x765608['Inject'](_0x765608[_0x1b6ca5(0x1af)]))],_0x35847c[_0x1b6ca5(0x3af)]);var _0x374344=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x208e50(_0x293532){var _0xa7aa80=_0x1b6ca5;return _0x293532&&_0x293532[_0xa7aa80(0x194)]&&Object[_0xa7aa80(0x3d9)][_0xa7aa80(0x2f8)]['call'](_0x293532,'default')?_0x293532[_0xa7aa80(0x92)]:_0x293532;}var _0x29c350={'exports':{}};function _0x22fc74(_0x39b647){var _0x3a6c89=_0x1b6ca5;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x39b647+_0x3a6c89(0x1de));}var _0x519e66={'exports':{}},_0x3b6d3c=_0x519e66[_0x1b6ca5(0x17e)],_0x177da6;function _0x20f9b7(){var _0x848d17=_0x1b6ca5;return _0x177da6||(_0x177da6=0x1,function(_0xc8b7c5,_0xa50ac8){(function(_0x1cc6a0,_0x45d55c){_0xc8b7c5['exports']=_0x45d55c();}(_0x3b6d3c,function(){var _0x1ee095=_0x1ee095||function(_0x149267,_0x49547a){var _0x37b7cf=_0x1ac4,_0x1d1a71;if(typeof window<'u'&&window[_0x37b7cf(0x2ee)]&&(_0x1d1a71=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x1d1a71=self['crypto']),typeof globalThis<'u'&&globalThis[_0x37b7cf(0x2ee)]&&(_0x1d1a71=globalThis['crypto']),!_0x1d1a71&&typeof window<'u'&&window[_0x37b7cf(0x3d0)]&&(_0x1d1a71=window[_0x37b7cf(0x3d0)]),!_0x1d1a71&&typeof _0x374344<'u'&&_0x374344['crypto']&&(_0x1d1a71=_0x374344[_0x37b7cf(0x2ee)]),!_0x1d1a71&&typeof _0x22fc74==_0x37b7cf(0x96))try{_0x1d1a71=require('crypto');}catch{}var _0x18312c=function(){var _0x5aab21=_0x37b7cf;if(_0x1d1a71){if(typeof _0x1d1a71['getRandomValues']=='function')try{return _0x1d1a71['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1d1a71[_0x5aab21(0x10e)]==_0x5aab21(0x96))try{return _0x1d1a71[_0x5aab21(0x10e)](0x4)[_0x5aab21(0x1e8)]();}catch{}}throw new Error(_0x5aab21(0x2c9));},_0x334c80=Object[_0x37b7cf(0x355)]||(function(){function _0x1920e6(){}return function(_0x1a956a){var _0x24f9e6=_0x1ac4,_0xe2a9af;return _0x1920e6[_0x24f9e6(0x3d9)]=_0x1a956a,_0xe2a9af=new _0x1920e6(),_0x1920e6['prototype']=null,_0xe2a9af;};}()),_0x31a05e={},_0x43e313=_0x31a05e['lib']={},_0x263089=_0x43e313['Base']=(function(){return{'extend':function(_0x52c96a){var _0x2b0f2c=_0x1ac4,_0xc5dc20=_0x334c80(this);return _0x52c96a&&_0xc5dc20[_0x2b0f2c(0x323)](_0x52c96a),(!_0xc5dc20[_0x2b0f2c(0x2f8)]('init')||this['init']===_0xc5dc20[_0x2b0f2c(0x82)])&&(_0xc5dc20[_0x2b0f2c(0x82)]=function(){var _0x37db03=_0x2b0f2c;_0xc5dc20[_0x37db03(0x282)][_0x37db03(0x82)][_0x37db03(0x1fa)](this,arguments);}),_0xc5dc20[_0x2b0f2c(0x82)][_0x2b0f2c(0x3d9)]=_0xc5dc20,_0xc5dc20[_0x2b0f2c(0x282)]=this,_0xc5dc20;},'create':function(){var _0x24629d=_0x1ac4,_0x29b86c=this[_0x24629d(0x22f)]();return _0x29b86c['init'][_0x24629d(0x1fa)](_0x29b86c,arguments),_0x29b86c;},'init':function(){},'mixIn':function(_0x7c4f87){var _0xc6c6e=_0x1ac4;for(var _0x4fde40 in _0x7c4f87)_0x7c4f87[_0xc6c6e(0x2f8)](_0x4fde40)&&(this[_0x4fde40]=_0x7c4f87[_0x4fde40]);_0x7c4f87[_0xc6c6e(0x2f8)](_0xc6c6e(0x1ac))&&(this[_0xc6c6e(0x1ac)]=_0x7c4f87[_0xc6c6e(0x1ac)]);},'clone':function(){var _0x56b7d5=_0x1ac4;return this[_0x56b7d5(0x82)][_0x56b7d5(0x3d9)][_0x56b7d5(0x22f)](this);}};}()),_0x322751=_0x43e313[_0x37b7cf(0x26f)]=_0x263089['extend']({'init':function(_0x9af985,_0x3d05b4){var _0x3668bb=_0x37b7cf;_0x9af985=this[_0x3668bb(0x2f5)]=_0x9af985||[],_0x3d05b4!=_0x49547a?this[_0x3668bb(0x3b3)]=_0x3d05b4:this[_0x3668bb(0x3b3)]=_0x9af985[_0x3668bb(0x39e)]*0x4;},'toString':function(_0x4b51ef){var _0x303520=_0x37b7cf;return(_0x4b51ef||_0x2519a3)[_0x303520(0x144)](this);},'concat':function(_0x3ddf92){var _0x2efe17=_0x37b7cf,_0xed9339=this[_0x2efe17(0x2f5)],_0xef7a69=_0x3ddf92[_0x2efe17(0x2f5)],_0x4341be=this['sigBytes'],_0x167b76=_0x3ddf92[_0x2efe17(0x3b3)];if(this[_0x2efe17(0x90)](),_0x4341be%0x4)for(var _0x293265=0x0;_0x293265<_0x167b76;_0x293265++){var _0xba0fe7=_0xef7a69[_0x293265>>>0x2]>>>0x18-_0x293265%0x4*0x8&0xff;_0xed9339[_0x4341be+_0x293265>>>0x2]|=_0xba0fe7<<0x18-(_0x4341be+_0x293265)%0x4*0x8;}else{for(var _0x1f0261=0x0;_0x1f0261<_0x167b76;_0x1f0261+=0x4)_0xed9339[_0x4341be+_0x1f0261>>>0x2]=_0xef7a69[_0x1f0261>>>0x2];}return this[_0x2efe17(0x3b3)]+=_0x167b76,this;},'clamp':function(){var _0x2c6683=_0x37b7cf,_0x2b3d1e=this[_0x2c6683(0x2f5)],_0x34f667=this[_0x2c6683(0x3b3)];_0x2b3d1e[_0x34f667>>>0x2]&=0xffffffff<<0x20-_0x34f667%0x4*0x8,_0x2b3d1e[_0x2c6683(0x39e)]=_0x149267[_0x2c6683(0x278)](_0x34f667/0x4);},'clone':function(){var _0x116ddf=_0x37b7cf,_0xb5b4f9=_0x263089['clone']['call'](this);return _0xb5b4f9[_0x116ddf(0x2f5)]=this[_0x116ddf(0x2f5)][_0x116ddf(0x1a1)](0x0),_0xb5b4f9;},'random':function(_0x2151d9){var _0x46bbcc=_0x37b7cf;for(var _0x2b5f81=[],_0xa660e0=0x0;_0xa660e0<_0x2151d9;_0xa660e0+=0x4)_0x2b5f81['push'](_0x18312c());return new _0x322751[(_0x46bbcc(0x82))](_0x2b5f81,_0x2151d9);}}),_0xc30929=_0x31a05e[_0x37b7cf(0x37f)]={},_0x2519a3=_0xc30929[_0x37b7cf(0x352)]={'stringify':function(_0x148653){var _0x2d5670=_0x37b7cf;for(var _0xd46f32=_0x148653['words'],_0x3e1240=_0x148653[_0x2d5670(0x3b3)],_0x457c38=[],_0x10cc3d=0x0;_0x10cc3d<_0x3e1240;_0x10cc3d++){var _0x2ac818=_0xd46f32[_0x10cc3d>>>0x2]>>>0x18-_0x10cc3d%0x4*0x8&0xff;_0x457c38[_0x2d5670(0x13f)]((_0x2ac818>>>0x4)[_0x2d5670(0x1ac)](0x10)),_0x457c38[_0x2d5670(0x13f)]((_0x2ac818&0xf)[_0x2d5670(0x1ac)](0x10));}return _0x457c38[_0x2d5670(0x234)]('');},'parse':function(_0xd39a67){var _0x3b1b65=_0x37b7cf;for(var _0xe90a3=_0xd39a67[_0x3b1b65(0x39e)],_0x1d64eb=[],_0x158688=0x0;_0x158688<_0xe90a3;_0x158688+=0x2)_0x1d64eb[_0x158688>>>0x3]|=parseInt(_0xd39a67[_0x3b1b65(0x25c)](_0x158688,0x2),0x10)<<0x18-_0x158688%0x8*0x4;return new _0x322751['init'](_0x1d64eb,_0xe90a3/0x2);}},_0x8016fc=_0xc30929[_0x37b7cf(0x17b)]={'stringify':function(_0x434e7f){var _0xd00837=_0x37b7cf;for(var _0x53acb6=_0x434e7f[_0xd00837(0x2f5)],_0x48f3a9=_0x434e7f[_0xd00837(0x3b3)],_0x3e1c69=[],_0x405c21=0x0;_0x405c21<_0x48f3a9;_0x405c21++){var _0x2675b7=_0x53acb6[_0x405c21>>>0x2]>>>0x18-_0x405c21%0x4*0x8&0xff;_0x3e1c69['push'](String[_0xd00837(0x1ee)](_0x2675b7));}return _0x3e1c69[_0xd00837(0x234)]('');},'parse':function(_0x35d142){var _0x13c51f=_0x37b7cf;for(var _0x2c6e47=_0x35d142[_0x13c51f(0x39e)],_0x8b1b93=[],_0x3c6439=0x0;_0x3c6439<_0x2c6e47;_0x3c6439++)_0x8b1b93[_0x3c6439>>>0x2]|=(_0x35d142[_0x13c51f(0x158)](_0x3c6439)&0xff)<<0x18-_0x3c6439%0x4*0x8;return new _0x322751[(_0x13c51f(0x82))](_0x8b1b93,_0x2c6e47);}},_0x1b1bf4=_0xc30929[_0x37b7cf(0x3ba)]={'stringify':function(_0x2f8f05){var _0x450121=_0x37b7cf;try{return decodeURIComponent(escape(_0x8016fc['stringify'](_0x2f8f05)));}catch{throw new Error(_0x450121(0x10b));}},'parse':function(_0x4ced57){var _0x15fdac=_0x37b7cf;return _0x8016fc[_0x15fdac(0x9b)](unescape(encodeURIComponent(_0x4ced57)));}},_0x5e900b=_0x43e313['BufferedBlockAlgorithm']=_0x263089[_0x37b7cf(0x22f)]({'reset':function(){var _0x3c4bbc=_0x37b7cf;this[_0x3c4bbc(0x71)]=new _0x322751[(_0x3c4bbc(0x82))](),this['_nDataBytes']=0x0;},'_append':function(_0x3f18cf){var _0x4c078b=_0x37b7cf;typeof _0x3f18cf==_0x4c078b(0x2d5)&&(_0x3f18cf=_0x1b1bf4[_0x4c078b(0x9b)](_0x3f18cf)),this[_0x4c078b(0x71)][_0x4c078b(0x260)](_0x3f18cf),this['_nDataBytes']+=_0x3f18cf[_0x4c078b(0x3b3)];},'_process':function(_0x27e019){var _0x41ca17=_0x37b7cf,_0x1a5f31,_0x3336e2=this[_0x41ca17(0x71)],_0x36c4a2=_0x3336e2['words'],_0x3c4f72=_0x3336e2['sigBytes'],_0x4c5aad=this[_0x41ca17(0x3df)],_0x27e6dd=_0x4c5aad*0x4,_0x298e26=_0x3c4f72/_0x27e6dd;_0x27e019?_0x298e26=_0x149267[_0x41ca17(0x278)](_0x298e26):_0x298e26=_0x149267[_0x41ca17(0x298)]((_0x298e26|0x0)-this[_0x41ca17(0x140)],0x0);var _0x560ca1=_0x298e26*_0x4c5aad,_0x218a64=_0x149267[_0x41ca17(0x1bf)](_0x560ca1*0x4,_0x3c4f72);if(_0x560ca1){for(var _0x4addd4=0x0;_0x4addd4<_0x560ca1;_0x4addd4+=_0x4c5aad)this[_0x41ca17(0x1bc)](_0x36c4a2,_0x4addd4);_0x1a5f31=_0x36c4a2[_0x41ca17(0x3c3)](0x0,_0x560ca1),_0x3336e2[_0x41ca17(0x3b3)]-=_0x218a64;}return new _0x322751[(_0x41ca17(0x82))](_0x1a5f31,_0x218a64);},'clone':function(){var _0x152f8f=_0x37b7cf,_0x5f3d12=_0x263089[_0x152f8f(0x170)][_0x152f8f(0x118)](this);return _0x5f3d12['_data']=this[_0x152f8f(0x71)][_0x152f8f(0x170)](),_0x5f3d12;},'_minBufferSize':0x0});_0x43e313['Hasher']=_0x5e900b[_0x37b7cf(0x22f)]({'cfg':_0x263089['extend'](),'init':function(_0x54bafc){var _0x4a6131=_0x37b7cf;this[_0x4a6131(0x198)]=this[_0x4a6131(0x198)][_0x4a6131(0x22f)](_0x54bafc),this[_0x4a6131(0x3a7)]();},'reset':function(){var _0x29dce4=_0x37b7cf;_0x5e900b['reset'][_0x29dce4(0x118)](this),this['_doReset']();},'update':function(_0x58105c){var _0x13a294=_0x37b7cf;return this[_0x13a294(0x30d)](_0x58105c),this[_0x13a294(0x1e3)](),this;},'finalize':function(_0x1374da){var _0xa1f22c=_0x37b7cf;_0x1374da&&this[_0xa1f22c(0x30d)](_0x1374da);var _0xedb162=this[_0xa1f22c(0x365)]();return _0xedb162;},'blockSize':0x10,'_createHelper':function(_0x3ec77e){return function(_0x5f122f,_0x4f17e5){var _0xf33597=_0x1ac4;return new _0x3ec77e[(_0xf33597(0x82))](_0x4f17e5)[_0xf33597(0x332)](_0x5f122f);};},'_createHmacHelper':function(_0x3fcf01){return function(_0x1df49d,_0x357035){var _0x5b88e6=_0x1ac4;return new _0x3bfa0d[(_0x5b88e6(0x1ad))][(_0x5b88e6(0x82))](_0x3fcf01,_0x357035)[_0x5b88e6(0x332)](_0x1df49d);};}});var _0x3bfa0d=_0x31a05e[_0x37b7cf(0x227)]={};return _0x31a05e;}(Math);return _0x1ee095;}));}(_0x519e66)),_0x519e66[_0x848d17(0x17e)];}var _0x57ebd2={'exports':{}},_0x202844=_0x57ebd2[_0x1b6ca5(0x17e)],_0x38a7c0;function _0x29f71f(){var _0x194cb0=_0x1b6ca5;return _0x38a7c0||(_0x38a7c0=0x1,function(_0x6b2ede,_0x6c0404){(function(_0x4f60b0,_0xf44977){var _0x2f1546=_0x1ac4;_0x6b2ede[_0x2f1546(0x17e)]=_0xf44977(_0x20f9b7());}(_0x202844,function(_0x14e3b4){var _0x3f7888=_0x1ac4;return(function(){var _0x39fd09=_0x1ac4,_0x56fa94=_0x14e3b4,_0x2427eb=_0x56fa94[_0x39fd09(0x223)],_0x51a32d=_0x2427eb[_0x39fd09(0x26f)],_0x5b5eab=_0x56fa94['enc'];_0x5b5eab[_0x39fd09(0x39f)]={'stringify':function(_0x18b972){var _0x41eaae=_0x39fd09,_0x5a0de4=_0x18b972[_0x41eaae(0x2f5)],_0x13bf89=_0x18b972[_0x41eaae(0x3b3)],_0x585843=this['_map'];_0x18b972[_0x41eaae(0x90)]();for(var _0x2b1c02=[],_0x46796c=0x0;_0x46796c<_0x13bf89;_0x46796c+=0x3)for(var _0x493447=_0x5a0de4[_0x46796c>>>0x2]>>>0x18-_0x46796c%0x4*0x8&0xff,_0x55d2b0=_0x5a0de4[_0x46796c+0x1>>>0x2]>>>0x18-(_0x46796c+0x1)%0x4*0x8&0xff,_0x336115=_0x5a0de4[_0x46796c+0x2>>>0x2]>>>0x18-(_0x46796c+0x2)%0x4*0x8&0xff,_0x3f866d=_0x493447<<0x10|_0x55d2b0<<0x8|_0x336115,_0x5a49c5=0x0;_0x5a49c5<0x4&&_0x46796c+_0x5a49c5*0.75<_0x13bf89;_0x5a49c5++)_0x2b1c02[_0x41eaae(0x13f)](_0x585843['charAt'](_0x3f866d>>>0x6*(0x3-_0x5a49c5)&0x3f));var _0x3f6e4f=_0x585843[_0x41eaae(0xa2)](0x40);if(_0x3f6e4f){for(;_0x2b1c02['length']%0x4;)_0x2b1c02[_0x41eaae(0x13f)](_0x3f6e4f);}return _0x2b1c02[_0x41eaae(0x234)]('');},'parse':function(_0x3b4609){var _0x25f1f1=_0x39fd09,_0x36fa7c=_0x3b4609[_0x25f1f1(0x39e)],_0x18821e=this[_0x25f1f1(0xf6)],_0x35ddf4=this[_0x25f1f1(0x373)];if(!_0x35ddf4){_0x35ddf4=this[_0x25f1f1(0x373)]=[];for(var _0x1e7b34=0x0;_0x1e7b34<_0x18821e[_0x25f1f1(0x39e)];_0x1e7b34++)_0x35ddf4[_0x18821e['charCodeAt'](_0x1e7b34)]=_0x1e7b34;}var _0xcd55ac=_0x18821e['charAt'](0x40);if(_0xcd55ac){var _0x572880=_0x3b4609[_0x25f1f1(0x159)](_0xcd55ac);_0x572880!==-0x1&&(_0x36fa7c=_0x572880);}return _0x449e46(_0x3b4609,_0x36fa7c,_0x35ddf4);},'_map':_0x39fd09(0x2c8)};function _0x449e46(_0x4b11ab,_0x28af44,_0x183a36){var _0x101997=_0x39fd09;for(var _0x7a0398=[],_0x224f82=0x0,_0x52bbe8=0x0;_0x52bbe8<_0x28af44;_0x52bbe8++)if(_0x52bbe8%0x4){var _0x30e854=_0x183a36[_0x4b11ab[_0x101997(0x158)](_0x52bbe8-0x1)]<<_0x52bbe8%0x4*0x2,_0x5d3c9e=_0x183a36[_0x4b11ab[_0x101997(0x158)](_0x52bbe8)]>>>0x6-_0x52bbe8%0x4*0x2,_0x516822=_0x30e854|_0x5d3c9e;_0x7a0398[_0x224f82>>>0x2]|=_0x516822<<0x18-_0x224f82%0x4*0x8,_0x224f82++;}return _0x51a32d[_0x101997(0x355)](_0x7a0398,_0x224f82);}}()),_0x14e3b4[_0x3f7888(0x37f)][_0x3f7888(0x39f)];}));}(_0x57ebd2)),_0x57ebd2[_0x194cb0(0x17e)];}var _0x6feedb={'exports':{}},_0x555e4a=_0x6feedb[_0x1b6ca5(0x17e)],_0x428652;function _0x1855fc(){return _0x428652||(_0x428652=0x1,function(_0x2c6752,_0x5e90ca){(function(_0x4354ff,_0x468949){_0x2c6752['exports']=_0x468949(_0x20f9b7());}(_0x555e4a,function(_0x243d6c){var _0x396996=_0x1ac4;return function(_0x1896e6){var _0x1d177b=_0x1ac4,_0x3fba26=_0x243d6c,_0x309a85=_0x3fba26['lib'],_0x486890=_0x309a85['WordArray'],_0x566acb=_0x309a85['Hasher'],_0x1cc4a8=_0x3fba26[_0x1d177b(0x227)],_0x488ebd=[];(function(){var _0x5f1256=_0x1d177b;for(var _0x1b6c63=0x0;_0x1b6c63<0x40;_0x1b6c63++)_0x488ebd[_0x1b6c63]=_0x1896e6[_0x5f1256(0x22b)](_0x1896e6['sin'](_0x1b6c63+0x1))*0x100000000|0x0;}());var _0x199344=_0x1cc4a8[_0x1d177b(0x229)]=_0x566acb['extend']({'_doReset':function(){var _0x1853b4=_0x1d177b;this['_hash']=new _0x486890[(_0x1853b4(0x82))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xae0014,_0x43580f){var _0x3d9852=_0x1d177b;for(var _0x3c6eef=0x0;_0x3c6eef<0x10;_0x3c6eef++){var _0x1cfa2c=_0x43580f+_0x3c6eef,_0x2fc301=_0xae0014[_0x1cfa2c];_0xae0014[_0x1cfa2c]=(_0x2fc301<<0x8|_0x2fc301>>>0x18)&0xff00ff|(_0x2fc301<<0x18|_0x2fc301>>>0x8)&0xff00ff00;}var _0x4d7ab6=this[_0x3d9852(0x25b)][_0x3d9852(0x2f5)],_0x442c2a=_0xae0014[_0x43580f+0x0],_0x33c7c4=_0xae0014[_0x43580f+0x1],_0x367f30=_0xae0014[_0x43580f+0x2],_0x3d4de9=_0xae0014[_0x43580f+0x3],_0x37d637=_0xae0014[_0x43580f+0x4],_0x3e32f0=_0xae0014[_0x43580f+0x5],_0xc28a15=_0xae0014[_0x43580f+0x6],_0x13dc13=_0xae0014[_0x43580f+0x7],_0x9066c1=_0xae0014[_0x43580f+0x8],_0x100d43=_0xae0014[_0x43580f+0x9],_0x2573f9=_0xae0014[_0x43580f+0xa],_0x4154ca=_0xae0014[_0x43580f+0xb],_0x13d617=_0xae0014[_0x43580f+0xc],_0x3bc198=_0xae0014[_0x43580f+0xd],_0x5969fa=_0xae0014[_0x43580f+0xe],_0x5608e5=_0xae0014[_0x43580f+0xf],_0x13e5a9=_0x4d7ab6[0x0],_0x362122=_0x4d7ab6[0x1],_0x31ce02=_0x4d7ab6[0x2],_0x4c4ed3=_0x4d7ab6[0x3];_0x13e5a9=_0x13e765(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x442c2a,0x7,_0x488ebd[0x0]),_0x4c4ed3=_0x13e765(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x33c7c4,0xc,_0x488ebd[0x1]),_0x31ce02=_0x13e765(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x367f30,0x11,_0x488ebd[0x2]),_0x362122=_0x13e765(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x3d4de9,0x16,_0x488ebd[0x3]),_0x13e5a9=_0x13e765(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x37d637,0x7,_0x488ebd[0x4]),_0x4c4ed3=_0x13e765(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x3e32f0,0xc,_0x488ebd[0x5]),_0x31ce02=_0x13e765(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0xc28a15,0x11,_0x488ebd[0x6]),_0x362122=_0x13e765(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x13dc13,0x16,_0x488ebd[0x7]),_0x13e5a9=_0x13e765(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x9066c1,0x7,_0x488ebd[0x8]),_0x4c4ed3=_0x13e765(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x100d43,0xc,_0x488ebd[0x9]),_0x31ce02=_0x13e765(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x2573f9,0x11,_0x488ebd[0xa]),_0x362122=_0x13e765(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x4154ca,0x16,_0x488ebd[0xb]),_0x13e5a9=_0x13e765(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x13d617,0x7,_0x488ebd[0xc]),_0x4c4ed3=_0x13e765(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x3bc198,0xc,_0x488ebd[0xd]),_0x31ce02=_0x13e765(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x5969fa,0x11,_0x488ebd[0xe]),_0x362122=_0x13e765(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x5608e5,0x16,_0x488ebd[0xf]),_0x13e5a9=_0x35555b(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x33c7c4,0x5,_0x488ebd[0x10]),_0x4c4ed3=_0x35555b(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0xc28a15,0x9,_0x488ebd[0x11]),_0x31ce02=_0x35555b(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x4154ca,0xe,_0x488ebd[0x12]),_0x362122=_0x35555b(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x442c2a,0x14,_0x488ebd[0x13]),_0x13e5a9=_0x35555b(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x3e32f0,0x5,_0x488ebd[0x14]),_0x4c4ed3=_0x35555b(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x2573f9,0x9,_0x488ebd[0x15]),_0x31ce02=_0x35555b(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x5608e5,0xe,_0x488ebd[0x16]),_0x362122=_0x35555b(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x37d637,0x14,_0x488ebd[0x17]),_0x13e5a9=_0x35555b(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x100d43,0x5,_0x488ebd[0x18]),_0x4c4ed3=_0x35555b(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x5969fa,0x9,_0x488ebd[0x19]),_0x31ce02=_0x35555b(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x3d4de9,0xe,_0x488ebd[0x1a]),_0x362122=_0x35555b(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x9066c1,0x14,_0x488ebd[0x1b]),_0x13e5a9=_0x35555b(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x3bc198,0x5,_0x488ebd[0x1c]),_0x4c4ed3=_0x35555b(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x367f30,0x9,_0x488ebd[0x1d]),_0x31ce02=_0x35555b(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x13dc13,0xe,_0x488ebd[0x1e]),_0x362122=_0x35555b(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x13d617,0x14,_0x488ebd[0x1f]),_0x13e5a9=_0x24d373(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x3e32f0,0x4,_0x488ebd[0x20]),_0x4c4ed3=_0x24d373(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x9066c1,0xb,_0x488ebd[0x21]),_0x31ce02=_0x24d373(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x4154ca,0x10,_0x488ebd[0x22]),_0x362122=_0x24d373(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x5969fa,0x17,_0x488ebd[0x23]),_0x13e5a9=_0x24d373(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x33c7c4,0x4,_0x488ebd[0x24]),_0x4c4ed3=_0x24d373(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x37d637,0xb,_0x488ebd[0x25]),_0x31ce02=_0x24d373(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x13dc13,0x10,_0x488ebd[0x26]),_0x362122=_0x24d373(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x2573f9,0x17,_0x488ebd[0x27]),_0x13e5a9=_0x24d373(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x3bc198,0x4,_0x488ebd[0x28]),_0x4c4ed3=_0x24d373(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x442c2a,0xb,_0x488ebd[0x29]),_0x31ce02=_0x24d373(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x3d4de9,0x10,_0x488ebd[0x2a]),_0x362122=_0x24d373(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0xc28a15,0x17,_0x488ebd[0x2b]),_0x13e5a9=_0x24d373(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x100d43,0x4,_0x488ebd[0x2c]),_0x4c4ed3=_0x24d373(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x13d617,0xb,_0x488ebd[0x2d]),_0x31ce02=_0x24d373(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x5608e5,0x10,_0x488ebd[0x2e]),_0x362122=_0x24d373(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x367f30,0x17,_0x488ebd[0x2f]),_0x13e5a9=_0x4b0116(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x442c2a,0x6,_0x488ebd[0x30]),_0x4c4ed3=_0x4b0116(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x13dc13,0xa,_0x488ebd[0x31]),_0x31ce02=_0x4b0116(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x5969fa,0xf,_0x488ebd[0x32]),_0x362122=_0x4b0116(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x3e32f0,0x15,_0x488ebd[0x33]),_0x13e5a9=_0x4b0116(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x13d617,0x6,_0x488ebd[0x34]),_0x4c4ed3=_0x4b0116(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x3d4de9,0xa,_0x488ebd[0x35]),_0x31ce02=_0x4b0116(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x2573f9,0xf,_0x488ebd[0x36]),_0x362122=_0x4b0116(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x33c7c4,0x15,_0x488ebd[0x37]),_0x13e5a9=_0x4b0116(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x9066c1,0x6,_0x488ebd[0x38]),_0x4c4ed3=_0x4b0116(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x5608e5,0xa,_0x488ebd[0x39]),_0x31ce02=_0x4b0116(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0xc28a15,0xf,_0x488ebd[0x3a]),_0x362122=_0x4b0116(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x3bc198,0x15,_0x488ebd[0x3b]),_0x13e5a9=_0x4b0116(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x37d637,0x6,_0x488ebd[0x3c]),_0x4c4ed3=_0x4b0116(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x4154ca,0xa,_0x488ebd[0x3d]),_0x31ce02=_0x4b0116(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x367f30,0xf,_0x488ebd[0x3e]),_0x362122=_0x4b0116(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x100d43,0x15,_0x488ebd[0x3f]),_0x4d7ab6[0x0]=_0x4d7ab6[0x0]+_0x13e5a9|0x0,_0x4d7ab6[0x1]=_0x4d7ab6[0x1]+_0x362122|0x0,_0x4d7ab6[0x2]=_0x4d7ab6[0x2]+_0x31ce02|0x0,_0x4d7ab6[0x3]=_0x4d7ab6[0x3]+_0x4c4ed3|0x0;},'_doFinalize':function(){var _0x1bcfb2=_0x1d177b,_0xfccba9=this[_0x1bcfb2(0x71)],_0x4dad1e=_0xfccba9[_0x1bcfb2(0x2f5)],_0xf6742b=this['_nDataBytes']*0x8,_0x4e2d35=_0xfccba9['sigBytes']*0x8;_0x4dad1e[_0x4e2d35>>>0x5]|=0x80<<0x18-_0x4e2d35%0x20;var _0xb2516a=_0x1896e6[_0x1bcfb2(0x331)](_0xf6742b/0x100000000),_0x15c096=_0xf6742b;_0x4dad1e[(_0x4e2d35+0x40>>>0x9<<0x4)+0xf]=(_0xb2516a<<0x8|_0xb2516a>>>0x18)&0xff00ff|(_0xb2516a<<0x18|_0xb2516a>>>0x8)&0xff00ff00,_0x4dad1e[(_0x4e2d35+0x40>>>0x9<<0x4)+0xe]=(_0x15c096<<0x8|_0x15c096>>>0x18)&0xff00ff|(_0x15c096<<0x18|_0x15c096>>>0x8)&0xff00ff00,_0xfccba9[_0x1bcfb2(0x3b3)]=(_0x4dad1e[_0x1bcfb2(0x39e)]+0x1)*0x4,this['_process']();for(var _0x141c2c=this['_hash'],_0x19ea97=_0x141c2c[_0x1bcfb2(0x2f5)],_0x21a16d=0x0;_0x21a16d<0x4;_0x21a16d++){var _0x3e0fd9=_0x19ea97[_0x21a16d];_0x19ea97[_0x21a16d]=(_0x3e0fd9<<0x8|_0x3e0fd9>>>0x18)&0xff00ff|(_0x3e0fd9<<0x18|_0x3e0fd9>>>0x8)&0xff00ff00;}return _0x141c2c;},'clone':function(){var _0x8715cd=_0x1d177b,_0x595a4d=_0x566acb[_0x8715cd(0x170)][_0x8715cd(0x118)](this);return _0x595a4d[_0x8715cd(0x25b)]=this[_0x8715cd(0x25b)][_0x8715cd(0x170)](),_0x595a4d;}});function _0x13e765(_0x235359,_0x1a6850,_0x5b7b8f,_0x581baf,_0x15b280,_0x30e556,_0x4529b5){var _0x2e808f=_0x235359+(_0x1a6850&_0x5b7b8f|~_0x1a6850&_0x581baf)+_0x15b280+_0x4529b5;return(_0x2e808f<<_0x30e556|_0x2e808f>>>0x20-_0x30e556)+_0x1a6850;}function _0x35555b(_0x283b64,_0x35b3f7,_0xa83b1b,_0x462fdc,_0x3ca91e,_0x1b54cf,_0x152158){var _0x35b2ae=_0x283b64+(_0x35b3f7&_0x462fdc|_0xa83b1b&~_0x462fdc)+_0x3ca91e+_0x152158;return(_0x35b2ae<<_0x1b54cf|_0x35b2ae>>>0x20-_0x1b54cf)+_0x35b3f7;}function _0x24d373(_0x1a3673,_0x395f19,_0x1a3a21,_0x51e46c,_0x431d27,_0x22c852,_0xb7cdce){var _0x53b54f=_0x1a3673+(_0x395f19^_0x1a3a21^_0x51e46c)+_0x431d27+_0xb7cdce;return(_0x53b54f<<_0x22c852|_0x53b54f>>>0x20-_0x22c852)+_0x395f19;}function _0x4b0116(_0x4d60e9,_0x2eb897,_0x1f19c6,_0x5f2d49,_0x47d1f5,_0x46a10e,_0x9d77ac){var _0x5541a9=_0x4d60e9+(_0x1f19c6^(_0x2eb897|~_0x5f2d49))+_0x47d1f5+_0x9d77ac;return(_0x5541a9<<_0x46a10e|_0x5541a9>>>0x20-_0x46a10e)+_0x2eb897;}_0x3fba26[_0x1d177b(0x229)]=_0x566acb[_0x1d177b(0x1d0)](_0x199344),_0x3fba26[_0x1d177b(0x11d)]=_0x566acb['_createHmacHelper'](_0x199344);}(Math),_0x243d6c[_0x396996(0x229)];}));}(_0x6feedb)),_0x6feedb['exports'];}var _0x587674={'exports':{}},_0x4b5134={'exports':{}},_0x292db4=_0x4b5134[_0x1b6ca5(0x17e)],_0x427168;function _0x4757c3(){return _0x427168||(_0x427168=0x1,function(_0x585b2f,_0xb5eb80){(function(_0x56383f,_0x3f9321){var _0x484034=_0x1ac4;_0x585b2f[_0x484034(0x17e)]=_0x3f9321(_0x20f9b7());}(_0x292db4,function(_0x13f1fe){var _0x5aa036=_0x1ac4;return(function(){var _0x1911ba=_0x1ac4,_0x15960b=_0x13f1fe,_0x297e8a=_0x15960b[_0x1911ba(0x223)],_0x1f88f3=_0x297e8a[_0x1911ba(0x26f)],_0x18ecf7=_0x297e8a[_0x1911ba(0x38e)],_0x1cf578=_0x15960b[_0x1911ba(0x227)],_0x59d2fa=[],_0x10cc7c=_0x1cf578[_0x1911ba(0xf3)]=_0x18ecf7[_0x1911ba(0x22f)]({'_doReset':function(){this['_hash']=new _0x1f88f3['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x527302,_0x265a18){var _0x569af7=_0x1911ba;for(var _0x11522b=this['_hash'][_0x569af7(0x2f5)],_0x1d1c2e=_0x11522b[0x0],_0x569c25=_0x11522b[0x1],_0x996d00=_0x11522b[0x2],_0xd93a10=_0x11522b[0x3],_0x40226d=_0x11522b[0x4],_0xe05578=0x0;_0xe05578<0x50;_0xe05578++){if(_0xe05578<0x10)_0x59d2fa[_0xe05578]=_0x527302[_0x265a18+_0xe05578]|0x0;else{var _0x5b7e91=_0x59d2fa[_0xe05578-0x3]^_0x59d2fa[_0xe05578-0x8]^_0x59d2fa[_0xe05578-0xe]^_0x59d2fa[_0xe05578-0x10];_0x59d2fa[_0xe05578]=_0x5b7e91<<0x1|_0x5b7e91>>>0x1f;}var _0x367da3=(_0x1d1c2e<<0x5|_0x1d1c2e>>>0x1b)+_0x40226d+_0x59d2fa[_0xe05578];_0xe05578<0x14?_0x367da3+=(_0x569c25&_0x996d00|~_0x569c25&_0xd93a10)+0x5a827999:_0xe05578<0x28?_0x367da3+=(_0x569c25^_0x996d00^_0xd93a10)+0x6ed9eba1:_0xe05578<0x3c?_0x367da3+=(_0x569c25&_0x996d00|_0x569c25&_0xd93a10|_0x996d00&_0xd93a10)-0x70e44324:_0x367da3+=(_0x569c25^_0x996d00^_0xd93a10)-0x359d3e2a,_0x40226d=_0xd93a10,_0xd93a10=_0x996d00,_0x996d00=_0x569c25<<0x1e|_0x569c25>>>0x2,_0x569c25=_0x1d1c2e,_0x1d1c2e=_0x367da3;}_0x11522b[0x0]=_0x11522b[0x0]+_0x1d1c2e|0x0,_0x11522b[0x1]=_0x11522b[0x1]+_0x569c25|0x0,_0x11522b[0x2]=_0x11522b[0x2]+_0x996d00|0x0,_0x11522b[0x3]=_0x11522b[0x3]+_0xd93a10|0x0,_0x11522b[0x4]=_0x11522b[0x4]+_0x40226d|0x0;},'_doFinalize':function(){var _0x257788=_0x1911ba,_0x841fd8=this[_0x257788(0x71)],_0x50897a=_0x841fd8[_0x257788(0x2f5)],_0x21d928=this[_0x257788(0x371)]*0x8,_0x49022d=_0x841fd8[_0x257788(0x3b3)]*0x8;return _0x50897a[_0x49022d>>>0x5]|=0x80<<0x18-_0x49022d%0x20,_0x50897a[(_0x49022d+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x21d928/0x100000000),_0x50897a[(_0x49022d+0x40>>>0x9<<0x4)+0xf]=_0x21d928,_0x841fd8[_0x257788(0x3b3)]=_0x50897a['length']*0x4,this[_0x257788(0x1e3)](),this['_hash'];},'clone':function(){var _0x19ce45=_0x1911ba,_0x5c45f2=_0x18ecf7[_0x19ce45(0x170)][_0x19ce45(0x118)](this);return _0x5c45f2[_0x19ce45(0x25b)]=this[_0x19ce45(0x25b)][_0x19ce45(0x170)](),_0x5c45f2;}});_0x15960b[_0x1911ba(0xf3)]=_0x18ecf7['_createHelper'](_0x10cc7c),_0x15960b['HmacSHA1']=_0x18ecf7['_createHmacHelper'](_0x10cc7c);}()),_0x13f1fe[_0x5aa036(0xf3)];}));}(_0x4b5134)),_0x4b5134['exports'];}var _0x4f758c={'exports':{}},_0x4b4d55=_0x4f758c[_0x1b6ca5(0x17e)],_0x375340;function _0x16cd90(){var _0x3e9c51=_0x1b6ca5;return _0x375340||(_0x375340=0x1,function(_0x2f8568,_0x534af4){(function(_0x1e6e00,_0x37aec5){_0x2f8568['exports']=_0x37aec5(_0x20f9b7());}(_0x4b4d55,function(_0x2f91b6){(function(){var _0x245521=_0x1ac4,_0x32f636=_0x2f91b6,_0xad51ba=_0x32f636['lib'],_0x61f061=_0xad51ba[_0x245521(0x38c)],_0x118568=_0x32f636[_0x245521(0x37f)],_0x25786f=_0x118568[_0x245521(0x3ba)],_0x4dbc65=_0x32f636[_0x245521(0x227)];_0x4dbc65[_0x245521(0x1ad)]=_0x61f061[_0x245521(0x22f)]({'init':function(_0x43ec99,_0xbd176d){var _0x3bb778=_0x245521;_0x43ec99=this[_0x3bb778(0x3ea)]=new _0x43ec99[(_0x3bb778(0x82))](),typeof _0xbd176d=='string'&&(_0xbd176d=_0x25786f[_0x3bb778(0x9b)](_0xbd176d));var _0x2a37f5=_0x43ec99[_0x3bb778(0x3df)],_0x44d586=_0x2a37f5*0x4;_0xbd176d[_0x3bb778(0x3b3)]>_0x44d586&&(_0xbd176d=_0x43ec99[_0x3bb778(0x332)](_0xbd176d)),_0xbd176d[_0x3bb778(0x90)]();for(var _0x3c24eb=this[_0x3bb778(0x2b9)]=_0xbd176d[_0x3bb778(0x170)](),_0x280b37=this['_iKey']=_0xbd176d[_0x3bb778(0x170)](),_0x469980=_0x3c24eb['words'],_0x5e2031=_0x280b37['words'],_0x41e3c7=0x0;_0x41e3c7<_0x2a37f5;_0x41e3c7++)_0x469980[_0x41e3c7]^=0x5c5c5c5c,_0x5e2031[_0x41e3c7]^=0x36363636;_0x3c24eb[_0x3bb778(0x3b3)]=_0x280b37[_0x3bb778(0x3b3)]=_0x44d586,this['reset']();},'reset':function(){var _0x396ef6=_0x245521,_0x172779=this[_0x396ef6(0x3ea)];_0x172779[_0x396ef6(0x3a7)](),_0x172779['update'](this[_0x396ef6(0x2b6)]);},'update':function(_0x26589c){return this['_hasher']['update'](_0x26589c),this;},'finalize':function(_0x57c0e3){var _0x5d32cb=_0x245521,_0x2b72b3=this[_0x5d32cb(0x3ea)],_0x41ac52=_0x2b72b3[_0x5d32cb(0x332)](_0x57c0e3);_0x2b72b3[_0x5d32cb(0x3a7)]();var _0x584cdd=_0x2b72b3[_0x5d32cb(0x332)](this[_0x5d32cb(0x2b9)][_0x5d32cb(0x170)]()[_0x5d32cb(0x260)](_0x41ac52));return _0x584cdd;}});}());}));}(_0x4f758c)),_0x4f758c[_0x3e9c51(0x17e)];}var _0x3e513=_0x587674[_0x1b6ca5(0x17e)],_0x48d27d;function _0x2cd659(){var _0x4d17c0=_0x1b6ca5;return _0x48d27d||(_0x48d27d=0x1,function(_0x1eef6b,_0x1587ab){(function(_0x47f4fe,_0x51e1fc,_0x307738){var _0x20d891=_0x1ac4;_0x1eef6b[_0x20d891(0x17e)]=_0x51e1fc(_0x20f9b7(),_0x4757c3(),_0x16cd90());}(_0x3e513,function(_0x3ff45f){var _0x2e9eb2=_0x1ac4;return(function(){var _0x4131cb=_0x1ac4,_0x3e4d91=_0x3ff45f,_0x41ebf9=_0x3e4d91['lib'],_0x58327e=_0x41ebf9[_0x4131cb(0x38c)],_0x3c1e85=_0x41ebf9['WordArray'],_0x143826=_0x3e4d91[_0x4131cb(0x227)],_0x2305bb=_0x143826[_0x4131cb(0x229)],_0x251aca=_0x143826[_0x4131cb(0x297)]=_0x58327e[_0x4131cb(0x22f)]({'cfg':_0x58327e[_0x4131cb(0x22f)]({'keySize':0x80/0x20,'hasher':_0x2305bb,'iterations':0x1}),'init':function(_0x1590f0){var _0x291250=_0x4131cb;this[_0x291250(0x198)]=this[_0x291250(0x198)]['extend'](_0x1590f0);},'compute':function(_0xbd8421,_0x5e25e9){var _0x5ad7d0=_0x4131cb;for(var _0x54fb3e,_0x919675=this[_0x5ad7d0(0x198)],_0x54a88e=_0x919675[_0x5ad7d0(0x21a)][_0x5ad7d0(0x355)](),_0xf5babe=_0x3c1e85[_0x5ad7d0(0x355)](),_0x22e199=_0xf5babe[_0x5ad7d0(0x2f5)],_0x28abeb=_0x919675['keySize'],_0x2f8d5f=_0x919675[_0x5ad7d0(0x95)];_0x22e199[_0x5ad7d0(0x39e)]<_0x28abeb;){_0x54fb3e&&_0x54a88e[_0x5ad7d0(0x2d1)](_0x54fb3e),_0x54fb3e=_0x54a88e[_0x5ad7d0(0x2d1)](_0xbd8421)[_0x5ad7d0(0x332)](_0x5e25e9),_0x54a88e[_0x5ad7d0(0x3a7)]();for(var _0x15f2d0=0x1;_0x15f2d0<_0x2f8d5f;_0x15f2d0++)_0x54fb3e=_0x54a88e[_0x5ad7d0(0x332)](_0x54fb3e),_0x54a88e['reset']();_0xf5babe['concat'](_0x54fb3e);}return _0xf5babe['sigBytes']=_0x28abeb*0x4,_0xf5babe;}});_0x3e4d91[_0x4131cb(0x297)]=function(_0x367bdd,_0x2a2496,_0x364936){var _0x34b9e5=_0x4131cb;return _0x251aca[_0x34b9e5(0x355)](_0x364936)[_0x34b9e5(0xe9)](_0x367bdd,_0x2a2496);};}()),_0x3ff45f[_0x2e9eb2(0x297)];}));}(_0x587674)),_0x587674[_0x4d17c0(0x17e)];}var _0x480dae={'exports':{}},_0x425fd5=_0x480dae[_0x1b6ca5(0x17e)],_0x31c122;function _0x708e85(){return _0x31c122||(_0x31c122=0x1,function(_0x5a22f7,_0x5ab3b9){(function(_0x461c81,_0x333249,_0x628d1b){var _0x33c20f=_0x1ac4;_0x5a22f7[_0x33c20f(0x17e)]=_0x333249(_0x20f9b7(),_0x2cd659());}(_0x425fd5,function(_0x27e7f9){var _0x369d28=_0x1ac4;_0x27e7f9[_0x369d28(0x223)][_0x369d28(0x23f)]||function(_0x4fb8f1){var _0x5f50f5=_0x369d28,_0x1280d9=_0x27e7f9,_0x53dc95=_0x1280d9[_0x5f50f5(0x223)],_0x46f2d0=_0x53dc95[_0x5f50f5(0x38c)],_0x108923=_0x53dc95[_0x5f50f5(0x26f)],_0x1ecd44=_0x53dc95[_0x5f50f5(0x1f7)],_0x507915=_0x1280d9[_0x5f50f5(0x37f)];_0x507915[_0x5f50f5(0x3ba)];var _0x41dd80=_0x507915[_0x5f50f5(0x39f)],_0x244648=_0x1280d9[_0x5f50f5(0x227)],_0x1ff8e2=_0x244648[_0x5f50f5(0x297)],_0x2b1b10=_0x53dc95[_0x5f50f5(0x23f)]=_0x1ecd44[_0x5f50f5(0x22f)]({'cfg':_0x46f2d0[_0x5f50f5(0x22f)](),'createEncryptor':function(_0x320422,_0x14a06e){var _0x233b9f=_0x5f50f5;return this[_0x233b9f(0x355)](this[_0x233b9f(0x2b5)],_0x320422,_0x14a06e);},'createDecryptor':function(_0x10a59a,_0x192614){return this['create'](this['_DEC_XFORM_MODE'],_0x10a59a,_0x192614);},'init':function(_0x154342,_0x29010c,_0x276303){var _0x2c35cd=_0x5f50f5;this[_0x2c35cd(0x198)]=this['cfg']['extend'](_0x276303),this[_0x2c35cd(0x354)]=_0x154342,this['_key']=_0x29010c,this[_0x2c35cd(0x3a7)]();},'reset':function(){var _0x36dcb1=_0x5f50f5;_0x1ecd44[_0x36dcb1(0x3a7)][_0x36dcb1(0x118)](this),this['_doReset']();},'process':function(_0x4f3ac3){var _0x683a8e=_0x5f50f5;return this[_0x683a8e(0x30d)](_0x4f3ac3),this[_0x683a8e(0x1e3)]();},'finalize':function(_0x5c1a18){var _0x3c16ad=_0x5f50f5;_0x5c1a18&&this['_append'](_0x5c1a18);var _0xe5b9bc=this[_0x3c16ad(0x365)]();return _0xe5b9bc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x441fd5(_0x2cfac7){var _0x1cc54d=_0x1ac4;return typeof _0x2cfac7==_0x1cc54d(0x2d5)?_0x548669:_0x255342;}return function(_0x457bb3){return{'encrypt':function(_0xc4a2a2,_0x48ed11,_0x3d1c62){var _0x3d1f45=_0x1ac4;return _0x441fd5(_0x48ed11)[_0x3d1f45(0x1c9)](_0x457bb3,_0xc4a2a2,_0x48ed11,_0x3d1c62);},'decrypt':function(_0x429997,_0x1599d0,_0x1d2498){var _0x2d136a=_0x1ac4;return _0x441fd5(_0x1599d0)[_0x2d136a(0x318)](_0x457bb3,_0x429997,_0x1599d0,_0x1d2498);}};};}())});_0x53dc95['StreamCipher']=_0x2b1b10['extend']({'_doFinalize':function(){var _0x486774=_0x5f50f5,_0xe16582=this[_0x486774(0x1e3)](!0x0);return _0xe16582;},'blockSize':0x1});var _0x298ed9=_0x1280d9['mode']={},_0x57c1c2=_0x53dc95['BlockCipherMode']=_0x46f2d0[_0x5f50f5(0x22f)]({'createEncryptor':function(_0x315101,_0x523057){var _0x2b3e15=_0x5f50f5;return this[_0x2b3e15(0xb9)]['create'](_0x315101,_0x523057);},'createDecryptor':function(_0x4ad826,_0x5b7a5b){var _0x9c53b9=_0x5f50f5;return this[_0x9c53b9(0xf4)][_0x9c53b9(0x355)](_0x4ad826,_0x5b7a5b);},'init':function(_0x551387,_0xd770ee){var _0x540279=_0x5f50f5;this[_0x540279(0xbd)]=_0x551387,this[_0x540279(0x261)]=_0xd770ee;}}),_0x5e2118=_0x298ed9[_0x5f50f5(0xff)]=(function(){var _0x56c4f7=_0x5f50f5,_0x7307c=_0x57c1c2[_0x56c4f7(0x22f)]();_0x7307c[_0x56c4f7(0xb9)]=_0x7307c['extend']({'processBlock':function(_0x2cfe25,_0x2f4839){var _0x5adcef=_0x56c4f7,_0x491b41=this[_0x5adcef(0xbd)],_0x40f3ea=_0x491b41[_0x5adcef(0x3df)];_0x4103bb[_0x5adcef(0x118)](this,_0x2cfe25,_0x2f4839,_0x40f3ea),_0x491b41['encryptBlock'](_0x2cfe25,_0x2f4839),this[_0x5adcef(0x3ee)]=_0x2cfe25['slice'](_0x2f4839,_0x2f4839+_0x40f3ea);}}),_0x7307c[_0x56c4f7(0xf4)]=_0x7307c['extend']({'processBlock':function(_0x2d76d3,_0x7a3949){var _0x192322=_0x56c4f7,_0x1f6aaf=this[_0x192322(0xbd)],_0x88f3d1=_0x1f6aaf[_0x192322(0x3df)],_0xb1ead3=_0x2d76d3[_0x192322(0x1a1)](_0x7a3949,_0x7a3949+_0x88f3d1);_0x1f6aaf[_0x192322(0x190)](_0x2d76d3,_0x7a3949),_0x4103bb[_0x192322(0x118)](this,_0x2d76d3,_0x7a3949,_0x88f3d1),this['_prevBlock']=_0xb1ead3;}});function _0x4103bb(_0x140683,_0x2963c3,_0x562860){var _0x5dc2ff=_0x56c4f7,_0x4a42d9,_0x58502e=this[_0x5dc2ff(0x261)];_0x58502e?(_0x4a42d9=_0x58502e,this['_iv']=_0x4fb8f1):_0x4a42d9=this[_0x5dc2ff(0x3ee)];for(var _0x2689cf=0x0;_0x2689cf<_0x562860;_0x2689cf++)_0x140683[_0x2963c3+_0x2689cf]^=_0x4a42d9[_0x2689cf];}return _0x7307c;}()),_0x54abf5=_0x1280d9[_0x5f50f5(0x3b0)]={},_0x312756=_0x54abf5[_0x5f50f5(0x3f6)]={'pad':function(_0x1c464c,_0x1184d6){var _0x3158cd=_0x5f50f5;for(var _0x248127=_0x1184d6*0x4,_0x25fac9=_0x248127-_0x1c464c[_0x3158cd(0x3b3)]%_0x248127,_0x39def4=_0x25fac9<<0x18|_0x25fac9<<0x10|_0x25fac9<<0x8|_0x25fac9,_0x4350c8=[],_0x66f87=0x0;_0x66f87<_0x25fac9;_0x66f87+=0x4)_0x4350c8[_0x3158cd(0x13f)](_0x39def4);var _0x5557f7=_0x108923[_0x3158cd(0x355)](_0x4350c8,_0x25fac9);_0x1c464c[_0x3158cd(0x260)](_0x5557f7);},'unpad':function(_0x5a868c){var _0x108dc8=_0x5f50f5,_0x1c0c18=_0x5a868c[_0x108dc8(0x2f5)][_0x5a868c['sigBytes']-0x1>>>0x2]&0xff;_0x5a868c[_0x108dc8(0x3b3)]-=_0x1c0c18;}};_0x53dc95[_0x5f50f5(0x263)]=_0x2b1b10['extend']({'cfg':_0x2b1b10[_0x5f50f5(0x198)][_0x5f50f5(0x22f)]({'mode':_0x5e2118,'padding':_0x312756}),'reset':function(){var _0x122732=_0x5f50f5,_0x550a89;_0x2b1b10[_0x122732(0x3a7)][_0x122732(0x118)](this);var _0x1a999c=this[_0x122732(0x198)],_0x1c5feb=_0x1a999c['iv'],_0x50be92=_0x1a999c[_0x122732(0x12b)];this[_0x122732(0x354)]==this[_0x122732(0x2b5)]?_0x550a89=_0x50be92[_0x122732(0x38f)]:(_0x550a89=_0x50be92['createDecryptor'],this[_0x122732(0x140)]=0x1),this[_0x122732(0x1d3)]&&this[_0x122732(0x1d3)][_0x122732(0xfd)]==_0x550a89?this[_0x122732(0x1d3)]['init'](this,_0x1c5feb&&_0x1c5feb['words']):(this[_0x122732(0x1d3)]=_0x550a89['call'](_0x50be92,this,_0x1c5feb&&_0x1c5feb[_0x122732(0x2f5)]),this['_mode'][_0x122732(0xfd)]=_0x550a89);},'_doProcessBlock':function(_0xa7a07a,_0x3b1f54){var _0x116360=_0x5f50f5;this[_0x116360(0x1d3)][_0x116360(0xb4)](_0xa7a07a,_0x3b1f54);},'_doFinalize':function(){var _0xbd3c65=_0x5f50f5,_0x623bc9,_0x4df787=this[_0xbd3c65(0x198)][_0xbd3c65(0x293)];return this[_0xbd3c65(0x354)]==this[_0xbd3c65(0x2b5)]?(_0x4df787[_0xbd3c65(0x3b0)](this['_data'],this['blockSize']),_0x623bc9=this[_0xbd3c65(0x1e3)](!0x0)):(_0x623bc9=this[_0xbd3c65(0x1e3)](!0x0),_0x4df787[_0xbd3c65(0x217)](_0x623bc9)),_0x623bc9;},'blockSize':0x80/0x20});var _0x4d6417=_0x53dc95['CipherParams']=_0x46f2d0[_0x5f50f5(0x22f)]({'init':function(_0x11b708){var _0x3f6f39=_0x5f50f5;this[_0x3f6f39(0x323)](_0x11b708);},'toString':function(_0x35825b){var _0x2ca3e5=_0x5f50f5;return(_0x35825b||this[_0x2ca3e5(0x3ae)])['stringify'](this);}}),_0x4f7e10=_0x1280d9['format']={},_0x2fda93=_0x4f7e10['OpenSSL']={'stringify':function(_0x4a34d4){var _0x2da540=_0x5f50f5,_0x5cb5fc,_0x14c3c6=_0x4a34d4[_0x2da540(0x1cf)],_0x459c67=_0x4a34d4[_0x2da540(0x155)];return _0x459c67?_0x5cb5fc=_0x108923[_0x2da540(0x355)]([0x53616c74,0x65645f5f])[_0x2da540(0x260)](_0x459c67)[_0x2da540(0x260)](_0x14c3c6):_0x5cb5fc=_0x14c3c6,_0x5cb5fc[_0x2da540(0x1ac)](_0x41dd80);},'parse':function(_0x2d1be5){var _0x2d3e8a=_0x5f50f5,_0x46872a,_0x3b95d5=_0x41dd80[_0x2d3e8a(0x9b)](_0x2d1be5),_0x2a2dee=_0x3b95d5['words'];return _0x2a2dee[0x0]==0x53616c74&&_0x2a2dee[0x1]==0x65645f5f&&(_0x46872a=_0x108923[_0x2d3e8a(0x355)](_0x2a2dee['slice'](0x2,0x4)),_0x2a2dee[_0x2d3e8a(0x3c3)](0x0,0x4),_0x3b95d5['sigBytes']-=0x10),_0x4d6417[_0x2d3e8a(0x355)]({'ciphertext':_0x3b95d5,'salt':_0x46872a});}},_0x255342=_0x53dc95['SerializableCipher']=_0x46f2d0[_0x5f50f5(0x22f)]({'cfg':_0x46f2d0[_0x5f50f5(0x22f)]({'format':_0x2fda93}),'encrypt':function(_0x49641d,_0x52ecc3,_0xd4b995,_0x3935a0){var _0x4c27c4=_0x5f50f5;_0x3935a0=this[_0x4c27c4(0x198)][_0x4c27c4(0x22f)](_0x3935a0);var _0x1b5734=_0x49641d[_0x4c27c4(0x38f)](_0xd4b995,_0x3935a0),_0x596d1f=_0x1b5734[_0x4c27c4(0x332)](_0x52ecc3),_0x41af4b=_0x1b5734[_0x4c27c4(0x198)];return _0x4d6417[_0x4c27c4(0x355)]({'ciphertext':_0x596d1f,'key':_0xd4b995,'iv':_0x41af4b['iv'],'algorithm':_0x49641d,'mode':_0x41af4b[_0x4c27c4(0x12b)],'padding':_0x41af4b[_0x4c27c4(0x293)],'blockSize':_0x49641d[_0x4c27c4(0x3df)],'formatter':_0x3935a0['format']});},'decrypt':function(_0x28d458,_0x2732ea,_0x37cae5,_0x367f75){var _0x446fa3=_0x5f50f5;_0x367f75=this[_0x446fa3(0x198)][_0x446fa3(0x22f)](_0x367f75),_0x2732ea=this[_0x446fa3(0x164)](_0x2732ea,_0x367f75[_0x446fa3(0x9a)]);var _0x145605=_0x28d458[_0x446fa3(0x143)](_0x37cae5,_0x367f75)[_0x446fa3(0x332)](_0x2732ea[_0x446fa3(0x1cf)]);return _0x145605;},'_parse':function(_0x111446,_0x598f89){var _0x43595a=_0x5f50f5;return typeof _0x111446==_0x43595a(0x2d5)?_0x598f89[_0x43595a(0x9b)](_0x111446,this):_0x111446;}}),_0xddbd46=_0x1280d9[_0x5f50f5(0xda)]={},_0x132631=_0xddbd46['OpenSSL']={'execute':function(_0x550526,_0x20717a,_0x26ee0a,_0x4c9197,_0x3903d4){var _0xb1c53=_0x5f50f5;if(_0x4c9197||(_0x4c9197=_0x108923[_0xb1c53(0x131)](0x40/0x8)),_0x3903d4)var _0x19c536=_0x1ff8e2[_0xb1c53(0x355)]({'keySize':_0x20717a+_0x26ee0a,'hasher':_0x3903d4})[_0xb1c53(0xe9)](_0x550526,_0x4c9197);else var _0x19c536=_0x1ff8e2[_0xb1c53(0x355)]({'keySize':_0x20717a+_0x26ee0a})[_0xb1c53(0xe9)](_0x550526,_0x4c9197);var _0x572605=_0x108923[_0xb1c53(0x355)](_0x19c536[_0xb1c53(0x2f5)]['slice'](_0x20717a),_0x26ee0a*0x4);return _0x19c536[_0xb1c53(0x3b3)]=_0x20717a*0x4,_0x4d6417[_0xb1c53(0x355)]({'key':_0x19c536,'iv':_0x572605,'salt':_0x4c9197});}},_0x548669=_0x53dc95['PasswordBasedCipher']=_0x255342[_0x5f50f5(0x22f)]({'cfg':_0x255342[_0x5f50f5(0x198)][_0x5f50f5(0x22f)]({'kdf':_0x132631}),'encrypt':function(_0x154ad9,_0x2a55e5,_0x2e3887,_0x2f847f){var _0x40cc38=_0x5f50f5;_0x2f847f=this[_0x40cc38(0x198)][_0x40cc38(0x22f)](_0x2f847f);var _0xcda618=_0x2f847f[_0x40cc38(0xda)][_0x40cc38(0x277)](_0x2e3887,_0x154ad9['keySize'],_0x154ad9[_0x40cc38(0x210)],_0x2f847f['salt'],_0x2f847f[_0x40cc38(0x21a)]);_0x2f847f['iv']=_0xcda618['iv'];var _0x5f05f4=_0x255342[_0x40cc38(0x1c9)][_0x40cc38(0x118)](this,_0x154ad9,_0x2a55e5,_0xcda618['key'],_0x2f847f);return _0x5f05f4[_0x40cc38(0x323)](_0xcda618),_0x5f05f4;},'decrypt':function(_0x283b7e,_0x500a96,_0x59389f,_0x4ec0ca){var _0x562e12=_0x5f50f5;_0x4ec0ca=this[_0x562e12(0x198)][_0x562e12(0x22f)](_0x4ec0ca),_0x500a96=this['_parse'](_0x500a96,_0x4ec0ca[_0x562e12(0x9a)]);var _0x592a35=_0x4ec0ca[_0x562e12(0xda)]['execute'](_0x59389f,_0x283b7e[_0x562e12(0x3eb)],_0x283b7e[_0x562e12(0x210)],_0x500a96[_0x562e12(0x155)],_0x4ec0ca[_0x562e12(0x21a)]);_0x4ec0ca['iv']=_0x592a35['iv'];var _0x46cc4e=_0x255342[_0x562e12(0x318)]['call'](this,_0x283b7e,_0x500a96,_0x592a35[_0x562e12(0x22a)],_0x4ec0ca);return _0x46cc4e;}});}();}));}(_0x480dae)),_0x480dae['exports'];}var _0x9d82ef=_0x29c350[_0x1b6ca5(0x17e)],_0x15b0eb;function _0x28fe95(){var _0x330be1=_0x1b6ca5;return _0x15b0eb||(_0x15b0eb=0x1,function(_0x289c1f,_0xfda357){(function(_0x30bd78,_0x86cde6,_0xbd81fe){_0x289c1f['exports']=_0x86cde6(_0x20f9b7(),_0x29f71f(),_0x1855fc(),_0x2cd659(),_0x708e85());}(_0x9d82ef,function(_0x186d54){var _0x2f54da=_0x1ac4;return(function(){var _0x52df1d=_0x1ac4,_0x5e2700=_0x186d54,_0x513c00=_0x5e2700['lib'],_0x5abdf8=_0x513c00[_0x52df1d(0x263)],_0xb9d5e4=_0x5e2700['algo'],_0x1f54cf=[],_0xca9d31=[],_0x46ea10=[],_0x1093be=[],_0x2b2cd7=[],_0x1c93a8=[],_0x4a9479=[],_0x2d1ac1=[],_0x971b97=[],_0x589020=[];(function(){for(var _0x341ecb=[],_0x1a0915=0x0;_0x1a0915<0x100;_0x1a0915++)_0x1a0915<0x80?_0x341ecb[_0x1a0915]=_0x1a0915<<0x1:_0x341ecb[_0x1a0915]=_0x1a0915<<0x1^0x11b;for(var _0x46a31f=0x0,_0xfc8ee3=0x0,_0x1a0915=0x0;_0x1a0915<0x100;_0x1a0915++){var _0x4cc6af=_0xfc8ee3^_0xfc8ee3<<0x1^_0xfc8ee3<<0x2^_0xfc8ee3<<0x3^_0xfc8ee3<<0x4;_0x4cc6af=_0x4cc6af>>>0x8^_0x4cc6af&0xff^0x63,_0x1f54cf[_0x46a31f]=_0x4cc6af,_0xca9d31[_0x4cc6af]=_0x46a31f;var _0x435274=_0x341ecb[_0x46a31f],_0x5111d3=_0x341ecb[_0x435274],_0x3e109b=_0x341ecb[_0x5111d3],_0x2ca87f=_0x341ecb[_0x4cc6af]*0x101^_0x4cc6af*0x1010100;_0x46ea10[_0x46a31f]=_0x2ca87f<<0x18|_0x2ca87f>>>0x8,_0x1093be[_0x46a31f]=_0x2ca87f<<0x10|_0x2ca87f>>>0x10,_0x2b2cd7[_0x46a31f]=_0x2ca87f<<0x8|_0x2ca87f>>>0x18,_0x1c93a8[_0x46a31f]=_0x2ca87f;var _0x2ca87f=_0x3e109b*0x1010101^_0x5111d3*0x10001^_0x435274*0x101^_0x46a31f*0x1010100;_0x4a9479[_0x4cc6af]=_0x2ca87f<<0x18|_0x2ca87f>>>0x8,_0x2d1ac1[_0x4cc6af]=_0x2ca87f<<0x10|_0x2ca87f>>>0x10,_0x971b97[_0x4cc6af]=_0x2ca87f<<0x8|_0x2ca87f>>>0x18,_0x589020[_0x4cc6af]=_0x2ca87f,_0x46a31f?(_0x46a31f=_0x435274^_0x341ecb[_0x341ecb[_0x341ecb[_0x3e109b^_0x435274]]],_0xfc8ee3^=_0x341ecb[_0x341ecb[_0xfc8ee3]]):_0x46a31f=_0xfc8ee3=0x1;}}());var _0x29ed40=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x42b0e3=_0xb9d5e4[_0x52df1d(0x26c)]=_0x5abdf8['extend']({'_doReset':function(){var _0x58b5b9=_0x52df1d,_0xece958;if(!(this[_0x58b5b9(0x287)]&&this['_keyPriorReset']===this[_0x58b5b9(0x375)])){for(var _0x14c6e3=this[_0x58b5b9(0x1c4)]=this[_0x58b5b9(0x375)],_0x315638=_0x14c6e3['words'],_0x5cc88d=_0x14c6e3[_0x58b5b9(0x3b3)]/0x4,_0x2c2445=this[_0x58b5b9(0x287)]=_0x5cc88d+0x6,_0x4efb85=(_0x2c2445+0x1)*0x4,_0x2836c0=this[_0x58b5b9(0xeb)]=[],_0x4ebcb8=0x0;_0x4ebcb8<_0x4efb85;_0x4ebcb8++)_0x4ebcb8<_0x5cc88d?_0x2836c0[_0x4ebcb8]=_0x315638[_0x4ebcb8]:(_0xece958=_0x2836c0[_0x4ebcb8-0x1],_0x4ebcb8%_0x5cc88d?_0x5cc88d>0x6&&_0x4ebcb8%_0x5cc88d==0x4&&(_0xece958=_0x1f54cf[_0xece958>>>0x18]<<0x18|_0x1f54cf[_0xece958>>>0x10&0xff]<<0x10|_0x1f54cf[_0xece958>>>0x8&0xff]<<0x8|_0x1f54cf[_0xece958&0xff]):(_0xece958=_0xece958<<0x8|_0xece958>>>0x18,_0xece958=_0x1f54cf[_0xece958>>>0x18]<<0x18|_0x1f54cf[_0xece958>>>0x10&0xff]<<0x10|_0x1f54cf[_0xece958>>>0x8&0xff]<<0x8|_0x1f54cf[_0xece958&0xff],_0xece958^=_0x29ed40[_0x4ebcb8/_0x5cc88d|0x0]<<0x18),_0x2836c0[_0x4ebcb8]=_0x2836c0[_0x4ebcb8-_0x5cc88d]^_0xece958);for(var _0x452eaa=this[_0x58b5b9(0x338)]=[],_0x3ef0b3=0x0;_0x3ef0b3<_0x4efb85;_0x3ef0b3++){var _0x4ebcb8=_0x4efb85-_0x3ef0b3;if(_0x3ef0b3%0x4)var _0xece958=_0x2836c0[_0x4ebcb8];else var _0xece958=_0x2836c0[_0x4ebcb8-0x4];_0x3ef0b3<0x4||_0x4ebcb8<=0x4?_0x452eaa[_0x3ef0b3]=_0xece958:_0x452eaa[_0x3ef0b3]=_0x4a9479[_0x1f54cf[_0xece958>>>0x18]]^_0x2d1ac1[_0x1f54cf[_0xece958>>>0x10&0xff]]^_0x971b97[_0x1f54cf[_0xece958>>>0x8&0xff]]^_0x589020[_0x1f54cf[_0xece958&0xff]];}}},'encryptBlock':function(_0x40314b,_0x222e8a){var _0x283743=_0x52df1d;this[_0x283743(0x3ab)](_0x40314b,_0x222e8a,this[_0x283743(0xeb)],_0x46ea10,_0x1093be,_0x2b2cd7,_0x1c93a8,_0x1f54cf);},'decryptBlock':function(_0x49d432,_0x41a09d){var _0x59d376=_0x52df1d,_0x4a00d6=_0x49d432[_0x41a09d+0x1];_0x49d432[_0x41a09d+0x1]=_0x49d432[_0x41a09d+0x3],_0x49d432[_0x41a09d+0x3]=_0x4a00d6,this[_0x59d376(0x3ab)](_0x49d432,_0x41a09d,this[_0x59d376(0x338)],_0x4a9479,_0x2d1ac1,_0x971b97,_0x589020,_0xca9d31);var _0x4a00d6=_0x49d432[_0x41a09d+0x1];_0x49d432[_0x41a09d+0x1]=_0x49d432[_0x41a09d+0x3],_0x49d432[_0x41a09d+0x3]=_0x4a00d6;},'_doCryptBlock':function(_0x18aaab,_0x184f18,_0x138799,_0x5e539a,_0x54421a,_0xfb9cab,_0xb9a134,_0x59416b){for(var _0x1d5a8b=this['_nRounds'],_0x133ca4=_0x18aaab[_0x184f18]^_0x138799[0x0],_0x303d69=_0x18aaab[_0x184f18+0x1]^_0x138799[0x1],_0x1f0612=_0x18aaab[_0x184f18+0x2]^_0x138799[0x2],_0x3bf19c=_0x18aaab[_0x184f18+0x3]^_0x138799[0x3],_0xdafb95=0x4,_0x176ff6=0x1;_0x176ff6<_0x1d5a8b;_0x176ff6++){var _0x7a1ec=_0x5e539a[_0x133ca4>>>0x18]^_0x54421a[_0x303d69>>>0x10&0xff]^_0xfb9cab[_0x1f0612>>>0x8&0xff]^_0xb9a134[_0x3bf19c&0xff]^_0x138799[_0xdafb95++],_0x2fc504=_0x5e539a[_0x303d69>>>0x18]^_0x54421a[_0x1f0612>>>0x10&0xff]^_0xfb9cab[_0x3bf19c>>>0x8&0xff]^_0xb9a134[_0x133ca4&0xff]^_0x138799[_0xdafb95++],_0x1c68d4=_0x5e539a[_0x1f0612>>>0x18]^_0x54421a[_0x3bf19c>>>0x10&0xff]^_0xfb9cab[_0x133ca4>>>0x8&0xff]^_0xb9a134[_0x303d69&0xff]^_0x138799[_0xdafb95++],_0x3c9695=_0x5e539a[_0x3bf19c>>>0x18]^_0x54421a[_0x133ca4>>>0x10&0xff]^_0xfb9cab[_0x303d69>>>0x8&0xff]^_0xb9a134[_0x1f0612&0xff]^_0x138799[_0xdafb95++];_0x133ca4=_0x7a1ec,_0x303d69=_0x2fc504,_0x1f0612=_0x1c68d4,_0x3bf19c=_0x3c9695;}var _0x7a1ec=(_0x59416b[_0x133ca4>>>0x18]<<0x18|_0x59416b[_0x303d69>>>0x10&0xff]<<0x10|_0x59416b[_0x1f0612>>>0x8&0xff]<<0x8|_0x59416b[_0x3bf19c&0xff])^_0x138799[_0xdafb95++],_0x2fc504=(_0x59416b[_0x303d69>>>0x18]<<0x18|_0x59416b[_0x1f0612>>>0x10&0xff]<<0x10|_0x59416b[_0x3bf19c>>>0x8&0xff]<<0x8|_0x59416b[_0x133ca4&0xff])^_0x138799[_0xdafb95++],_0x1c68d4=(_0x59416b[_0x1f0612>>>0x18]<<0x18|_0x59416b[_0x3bf19c>>>0x10&0xff]<<0x10|_0x59416b[_0x133ca4>>>0x8&0xff]<<0x8|_0x59416b[_0x303d69&0xff])^_0x138799[_0xdafb95++],_0x3c9695=(_0x59416b[_0x3bf19c>>>0x18]<<0x18|_0x59416b[_0x133ca4>>>0x10&0xff]<<0x10|_0x59416b[_0x303d69>>>0x8&0xff]<<0x8|_0x59416b[_0x1f0612&0xff])^_0x138799[_0xdafb95++];_0x18aaab[_0x184f18]=_0x7a1ec,_0x18aaab[_0x184f18+0x1]=_0x2fc504,_0x18aaab[_0x184f18+0x2]=_0x1c68d4,_0x18aaab[_0x184f18+0x3]=_0x3c9695;},'keySize':0x100/0x20});_0x5e2700['AES']=_0x5abdf8[_0x52df1d(0x1d0)](_0x42b0e3);}()),_0x186d54[_0x2f54da(0x26c)];}));}(_0x29c350)),_0x29c350[_0x330be1(0x17e)];}var _0xec352b=_0x28fe95();const _0x28c803=_0x208e50(_0xec352b);var _0x409a2d=_0x29f71f();const _0x3c4f46=_0x208e50(_0x409a2d);var _0x360a32={'exports':{}},_0x302b39=_0x360a32['exports'],_0x1f0721;function _0x40543a(){return _0x1f0721||(_0x1f0721=0x1,function(_0x105823,_0x368fd6){(function(_0x3c72f9,_0xef3294){_0x105823['exports']=_0xef3294(_0x20f9b7());}(_0x302b39,function(_0x1184bb){var _0x362b7e=_0x1ac4;return _0x1184bb[_0x362b7e(0x37f)][_0x362b7e(0x3ba)];}));}(_0x360a32)),_0x360a32['exports'];}var _0x5c10f4=_0x40543a();const _0x4f7af9=_0x208e50(_0x5c10f4);var _0x367a6e={'exports':{}},_0x4f4381=_0x367a6e[_0x1b6ca5(0x17e)],_0x3b754e;function _0x4553eb(){var _0x5498f5=_0x1b6ca5;return _0x3b754e||(_0x3b754e=0x1,function(_0x204d00,_0x3ce0c4){(function(_0xbdf04,_0x2f3e79){var _0x3dfd97=_0x1ac4;_0x204d00[_0x3dfd97(0x17e)]=_0x2f3e79(_0x20f9b7());}(_0x4f4381,function(_0x13f470){var _0x400b11=_0x1ac4;return(function(){var _0x2043a6=_0x1ac4;if(typeof ArrayBuffer=='function'){var _0xbcc975=_0x13f470,_0x5b232e=_0xbcc975[_0x2043a6(0x223)],_0x5d1d44=_0x5b232e['WordArray'],_0x17ce60=_0x5d1d44[_0x2043a6(0x82)],_0xce80cd=_0x5d1d44[_0x2043a6(0x82)]=function(_0x3e4a95){var _0x10cae2=_0x2043a6;if(_0x3e4a95 instanceof ArrayBuffer&&(_0x3e4a95=new Uint8Array(_0x3e4a95)),(_0x3e4a95 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3e4a95 instanceof Uint8ClampedArray||_0x3e4a95 instanceof Int16Array||_0x3e4a95 instanceof Uint16Array||_0x3e4a95 instanceof Int32Array||_0x3e4a95 instanceof Uint32Array||_0x3e4a95 instanceof Float32Array||_0x3e4a95 instanceof Float64Array)&&(_0x3e4a95=new Uint8Array(_0x3e4a95['buffer'],_0x3e4a95['byteOffset'],_0x3e4a95['byteLength'])),_0x3e4a95 instanceof Uint8Array){for(var _0x387c66=_0x3e4a95[_0x10cae2(0x176)],_0x4b0fdc=[],_0x611170=0x0;_0x611170<_0x387c66;_0x611170++)_0x4b0fdc[_0x611170>>>0x2]|=_0x3e4a95[_0x611170]<<0x18-_0x611170%0x4*0x8;_0x17ce60[_0x10cae2(0x118)](this,_0x4b0fdc,_0x387c66);}else _0x17ce60['apply'](this,arguments);};_0xce80cd['prototype']=_0x5d1d44;}}()),_0x13f470['lib'][_0x400b11(0x26f)];}));}(_0x367a6e)),_0x367a6e[_0x5498f5(0x17e)];}var _0xefc745=_0x4553eb();const _0x25d0dc=_0x208e50(_0xefc745);var _0x2f177a={'exports':{}},_0x5da06e=_0x2f177a[_0x1b6ca5(0x17e)],_0x56ec82;function _0x1193aa(){var _0x212a08=_0x1b6ca5;return _0x56ec82||(_0x56ec82=0x1,function(_0x32e5fc,_0x463159){(function(_0x13f2de,_0x22a2da,_0x3a0837){var _0xccf61c=_0x1ac4;_0x32e5fc[_0xccf61c(0x17e)]=_0x22a2da(_0x20f9b7(),_0x708e85());}(_0x5da06e,function(_0x4a0232){var _0x523757=_0x1ac4;return _0x4a0232[_0x523757(0x3b0)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4a0232[_0x523757(0x3b0)][_0x523757(0x376)];}));}(_0x2f177a)),_0x2f177a[_0x212a08(0x17e)];}var _0x45953a=_0x1193aa();const _0x1fb257=_0x208e50(_0x45953a);function _0x54669e(_0x502c0d,_0xaa6a3){var _0x24451c=_0x1b6ca5;const _0x72fc1=_0xaa6a3-_0x502c0d['length']%_0xaa6a3,_0x5c9a25=String[_0x24451c(0x1ee)](_0x72fc1)[_0x24451c(0x3f2)](_0x72fc1);return _0x502c0d+_0x5c9a25;}function _0x583eed(_0x102cc1,_0xc3283c){var _0x198c76=_0x1b6ca5;const _0x395a9e=_0x25d0dc['random'](0x10),_0x78002a=_0x54669e(_0x102cc1,0x10),_0x2008bd=_0x28c803[_0x198c76(0x1c9)](_0x4f7af9['parse'](_0x78002a),_0x3c4f46[_0x198c76(0x9b)](_0xc3283c),{'iv':_0x395a9e,'padding':_0x1fb257});return _0x395a9e['concat'](_0x2008bd[_0x198c76(0x1cf)])[_0x198c76(0x1ac)](_0x3c4f46);}function _0x4b2d4f(){var _0x319eb2=_0x1b6ca5;const _0xdb98c2=_0x49e56d[_0x319eb2(0x1d8)]()['__Key__'];if(_0xdb98c2){const _0x539a45={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x319eb2(0x2e7)]};return _0x583eed(JSON[_0x319eb2(0x144)](_0x539a45),_0xdb98c2);}}var _0x1ce3ae=Object[_0x1b6ca5(0x1d2)],_0x21b435=(_0x26d3d6,_0x1c397e,_0x44130b,_0x215d0d)=>{var _0x10577f=_0x1b6ca5;for(var _0xad69a8=_0x215d0d>0x1?void 0x0:_0x215d0d?_0x1ce3ae(_0x1c397e,_0x44130b):_0x1c397e,_0x2da08b=_0x26d3d6[_0x10577f(0x39e)]-0x1,_0x17d596;_0x2da08b>=0x0;_0x2da08b--)(_0x17d596=_0x26d3d6[_0x2da08b])&&(_0xad69a8=_0x17d596(_0xad69a8)||_0xad69a8);return _0xad69a8;},_0x4047a5=(_0x31552f,_0x57e63e)=>(_0x1e02a5,_0x49e06a)=>_0x57e63e(_0x1e02a5,_0x49e06a,_0x31552f);let _0x13c997=class{constructor(_0x3a03ae){var _0x133e71=_0x1b6ca5;this[_0x133e71(0x2be)]=_0x3a03ae,this[_0x133e71(0x192)]();}[_0x1b6ca5(0x192)](){var _0x57ca10=_0x1b6ca5;this[_0x57ca10(0x2be)][_0x57ca10(0xce)]({'interceptor':(_0xd66e38,_0x307405)=>{var _0x29bc05=_0x57ca10;const _0x1cdcd7=_0xd66e38['headers'],_0x335ed9=_0x4b2d4f();return _0x335ed9&&_0x1cdcd7[_0x29bc05(0x26d)](_0x29bc05(0x2aa),_0x335ed9),_0x307405(_0xd66e38);}});}};_0x13c997=_0x21b435([_0x4047a5(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)]))],_0x13c997);var _0x23de5f=Object[_0x1b6ca5(0x1d2)],_0x5ea687=(_0xb1b20,_0x3379cd,_0x92b3f8,_0x207780)=>{var _0x39c8c7=_0x1b6ca5;for(var _0x839237=_0x207780>0x1?void 0x0:_0x207780?_0x23de5f(_0x3379cd,_0x92b3f8):_0x3379cd,_0x47bd4b=_0xb1b20[_0x39c8c7(0x39e)]-0x1,_0x36649f;_0x47bd4b>=0x0;_0x47bd4b--)(_0x36649f=_0xb1b20[_0x47bd4b])&&(_0x839237=_0x36649f(_0x839237)||_0x839237);return _0x839237;},_0x1cda8f=(_0x1502de,_0x1c54ab)=>(_0x4bd051,_0x13665d)=>_0x1c54ab(_0x4bd051,_0x13665d,_0x1502de);_0x35847c[_0x1b6ca5(0x3d5)]=class extends _0x765608[_0x1b6ca5(0x3ac)]{constructor(_0x15c453,_0x31877c,_0x19c6e3){var _0x4bfb78=_0x1b6ca5;super(),_0x1bac5f(this,'_unitInfo$',new _0x2f43df['BehaviorSubject'](null)),_0x1bac5f(this,_0x4bfb78(0x2cc),this[_0x4bfb78(0x14d)][_0x4bfb78(0x99)]()),(this[_0x4bfb78(0x9f)]=_0x15c453,this[_0x4bfb78(0x358)]=_0x31877c,this[_0x4bfb78(0x294)]=_0x19c6e3);}async[_0x1b6ca5(0x197)](_0x5d6886,_0x2839e2,_0x480d8e){var _0x577fdd=_0x1b6ca5;this[_0x577fdd(0x14d)][_0x577fdd(0x1a2)]({'unitId':_0x5d6886,'type':_0x2839e2});let _0x195f72=null;switch(_0x2839e2){case _0x56d87c[_0x577fdd(0x398)]:{_0x195f72=await this[_0x577fdd(0x358)][_0x577fdd(0x1a8)](_0x5d6886,_0x480d8e);break;}case _0x56d87c[_0x577fdd(0x31a)]:{_0x195f72=await this[_0x577fdd(0x358)]['loadDoc'](_0x5d6886,_0x480d8e);break;}default:{this[_0x577fdd(0x9f)][_0x577fdd(0x35f)](_0x577fdd(0x388),_0x577fdd(0x285));break;}}return _0x195f72;}async[_0x1b6ca5(0x11a)](_0x51bb1f,_0x3588fe,_0x2d52c0){var _0x3c5bf9=_0x1b6ca5,_0xdc9abc;this[_0x3c5bf9(0x14d)][_0x3c5bf9(0x1a2)]({'unitId':_0x51bb1f,'type':_0x3588fe,'subUnitId':_0x2d52c0});let _0x57717a=0x0;const _0x203801=await((_0xdc9abc=this[_0x3c5bf9(0x294)])==null?void 0x0:_0xdc9abc[_0x3c5bf9(0x1eb)](_0x51bb1f));return _0x203801&&(_0x203801[_0x3c5bf9(0x1fc)]||_0x203801['mutations'][_0x3c5bf9(0x39e)]!==0x0)&&(_0x57717a=_0x203801['rev']),_0x57717a===0x0&&this[_0x3c5bf9(0x9f)]['debug'](_0x3c5bf9(0x388),_0x3c5bf9(0x249)),this[_0x3c5bf9(0x197)](_0x51bb1f,_0x3588fe,_0x57717a);}},_0x35847c[_0x1b6ca5(0x3d5)]=_0x5ea687([_0x1cda8f(0x0,_0x765608[_0x1b6ca5(0x3f9)]),_0x1cda8f(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['SnapshotService'])),_0x1cda8f(0x2,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c[_0x1b6ca5(0x3d5)]);var _0x3e400b=Object[_0x1b6ca5(0x1d2)],_0x113cff=(_0x468aac,_0x5408de,_0x5492df,_0x311bc2)=>{var _0x194052=_0x1b6ca5;for(var _0x528681=_0x311bc2>0x1?void 0x0:_0x311bc2?_0x3e400b(_0x5408de,_0x5492df):_0x5408de,_0x68fe20=_0x468aac[_0x194052(0x39e)]-0x1,_0x4e9d8d;_0x68fe20>=0x0;_0x68fe20--)(_0x4e9d8d=_0x468aac[_0x68fe20])&&(_0x528681=_0x4e9d8d(_0x528681)||_0x528681);return _0x528681;},_0x13254b=(_0x53821b,_0x46ecdb)=>(_0x20c8c9,_0x31afb2)=>_0x46ecdb(_0x20c8c9,_0x31afb2,_0x53821b);const _0x41d53c=[_0x1b6ca5(0x1b8),_0x1b6ca5(0x98),_0x1b6ca5(0x116),_0x1b6ca5(0x1c3),_0x1b6ca5(0x1ec)],_0x2dfb72=0x5*0x400*0x400,_0x175b10=_0x1b6ca5(0x240),_0x284c40=_0x1b6ca5(0x1c6);_0x35847c[_0x1b6ca5(0x120)]=class{constructor(_0x2b084f,_0x1aec52,_0x508041){var _0x5afec9=_0x1b6ca5;_0x1bac5f(this,_0x5afec9(0x27f),0x0),_0x1bac5f(this,'_change$',new _0x2f43df[(_0x5afec9(0x216))]()),_0x1bac5f(this,'change$',this[_0x5afec9(0x3ca)]),_0x1bac5f(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x2b084f,this[_0x5afec9(0xd8)]=_0x1aec52,this[_0x5afec9(0xe7)]=_0x508041);}[_0x1b6ca5(0x382)](_0x4f5c05){var _0x180f1f=_0x1b6ca5;this['_waitCount']=_0x4f5c05,this[_0x180f1f(0x3ca)][_0x180f1f(0x1a2)](_0x4f5c05);}[_0x1b6ca5(0x102)](_0x415884,_0x1b1dbb){var _0x3bfb26=_0x1b6ca5;if(_0x1b1dbb===_0x18920f[_0x3bfb26(0x3f8)][_0x3bfb26(0x2d6)]){const _0x1a7278=new Image();return _0x1a7278[_0x3bfb26(0x166)]=_0x415884,_0x1a7278;}return this[_0x3bfb26(0x12d)][_0x3bfb26(0x2b3)](_0x415884);}[_0x1b6ca5(0x1a7)](_0x14d117,_0x59614f,_0x4bcd83){var _0x5b30b1=_0x1b6ca5;_0x59614f===_0x18920f[_0x5b30b1(0x3f8)][_0x5b30b1(0x2d6)]||_0x4bcd83==null||this[_0x5b30b1(0x12d)]['set'](_0x14d117,_0x4bcd83);}async[_0x1b6ca5(0x394)](_0xf48373){var _0x259a66=_0x1b6ca5;try{const _0x3e6b50=this[_0x259a66(0x255)](this[_0x259a66(0x1cb)](),''+_0xf48373),_0x277386=(await this[_0x259a66(0x2be)][_0x259a66(0x2b3)](_0x3e6b50))[_0x259a66(0x35a)];if(_0x277386[_0x259a66(0x35f)]&&_0x277386[_0x259a66(0x35f)]['code']===_0x3f5711['OK']){const _0x50fd9c=new URL(_0x277386[_0x259a66(0x367)],this['_getDownloadEndpointURL']())[_0x259a66(0x1ac)]();return Promise['resolve'](_0x50fd9c);}return Promise[_0x259a66(0x1c2)](_0x277386[_0x259a66(0x35f)]);}catch(_0x5544ce){return Promise[_0x259a66(0x1c2)](_0x5544ce);}}async[_0x1b6ca5(0x208)](_0x437ba4){var _0x429dc1=_0x1b6ca5;let _0x4b3202='';if(!_0x41d53c[_0x429dc1(0xea)](_0x437ba4[_0x429dc1(0xbb)]))return this[_0x429dc1(0x196)](),Promise[_0x429dc1(0x1c2)](new Error(_0x18920f[_0x429dc1(0xa3)]['ERROR_IMAGE_TYPE']));if(_0x437ba4[_0x429dc1(0x336)]>_0x2dfb72)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x18920f['ImageUploadStatusType'][_0x429dc1(0x3e7)]));try{const _0x10f50e=new FormData();_0x10f50e[_0x429dc1(0x28e)](_0x429dc1(0xaf),_0x437ba4);const _0x2819ef=this[_0x429dc1(0xe7)][_0x429dc1(0x353)](),_0x5173ae=_0x2819ef==null?void 0x0:_0x2819ef['getUnitId']();if(!_0x5173ae)throw new Error(_0x429dc1(0x2f3));const _0x53e00e=this[_0x429dc1(0x12c)]()+_0x429dc1(0xd6)+_0x437ba4[_0x429dc1(0x336)][_0x429dc1(0x1ac)]()+'&source='+_0x54ca25[_0x429dc1(0x2bc)]+'&assign='+encodeURIComponent(_0x5173ae),_0x441141={'body':_0x10f50e},_0x29f48a=(await this[_0x429dc1(0x2be)][_0x429dc1(0x268)](_0x53e00e,_0x441141))[_0x429dc1(0x35a)];if(typeof _0x29f48a['FileId']!=_0x429dc1(0x2d5))return this[_0x429dc1(0x196)](),Promise['reject'](new Error(_0x18920f[_0x429dc1(0xa3)][_0x429dc1(0x397)]));_0x4b3202=_0x29f48a['FileId'];}catch{return this[_0x429dc1(0x196)](),Promise[_0x429dc1(0x1c2)](new Error(_0x18920f['ImageUploadStatusType'][_0x429dc1(0x397)]));}return new Promise((_0x5bbdf2,_0x2360ae)=>{var _0x22f904=_0x429dc1;const _0x19fc88=new FileReader();_0x19fc88[_0x22f904(0x315)](_0x437ba4),_0x19fc88['onload']=_0x1a43fa=>{var _0x78d1eb=_0x22f904,_0xf71c18;const _0x1f6071=(_0xf71c18=_0x1a43fa[_0x78d1eb(0x19b)])==null?void 0x0:_0xf71c18[_0x78d1eb(0x27b)];if(_0x1f6071==null){this[_0x78d1eb(0x196)](),_0x2360ae(new Error(_0x18920f[_0x78d1eb(0xa3)][_0x78d1eb(0x397)]));return;}const _0x1a1695=_0x765608[_0x78d1eb(0x199)](0x6);_0x5bbdf2({'imageId':_0x1a1695,'imageSourceType':_0x18920f[_0x78d1eb(0x3f8)]['UUID'],'source':_0x4b3202,'base64Cache':_0x1f6071,'status':_0x18920f[_0x78d1eb(0xa3)][_0x78d1eb(0xd0)]}),this['_decreaseWaiting']();};});}[_0x1b6ca5(0x12c)](){var _0x48919=_0x1b6ca5,_0x50a23d;const _0x5f0e5e=this[_0x48919(0xd8)][_0x48919(0x1ef)](_0x32b669);return(_0x50a23d=_0x5f0e5e==null?void 0x0:_0x5f0e5e[_0x48919(0x258)])!=null?_0x50a23d:_0x175b10;}['_getSignURL'](){var _0x3657ea=_0x1b6ca5,_0x50e8db;const _0x5e5f69=this[_0x3657ea(0xd8)][_0x3657ea(0x1ef)](_0x32b669);return(_0x50e8db=_0x5e5f69==null?void 0x0:_0x5e5f69[_0x3657ea(0x2b0)])!=null?_0x50e8db:_0x284c40;}['_getDownloadEndpointURL'](){var _0x56720f=_0x1b6ca5,_0x18c89b;const _0x445853=this[_0x56720f(0xd8)][_0x56720f(0x1ef)](_0x32b669);return(_0x18c89b=_0x445853==null?void 0x0:_0x445853[_0x56720f(0x10c)])!=null?_0x18c89b:location[_0x56720f(0x73)];}[_0x1b6ca5(0x255)](_0x1ff8f8,_0x36097b){var _0x41cc74=_0x1b6ca5;return _0x1ff8f8[_0x41cc74(0x87)]('{fileID}',_0x36097b);}['_decreaseWaiting'](){var _0x16e499=_0x1b6ca5;this[_0x16e499(0x27f)]-=0x1,this[_0x16e499(0x3ca)][_0x16e499(0x1a2)](this['_waitCount']);}},_0x35847c[_0x1b6ca5(0x120)]=_0x113cff([_0x13254b(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)])),_0x13254b(0x1,_0x765608[_0x1b6ca5(0x1af)]),_0x13254b(0x2,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x175)]))],_0x35847c[_0x1b6ca5(0x120)]);var _0x437acd=Object[_0x1b6ca5(0x1d2)],_0x58bffb=(_0x26e18e,_0x62e56e,_0x4bad39,_0x3fb214)=>{var _0x4b80bc=_0x1b6ca5;for(var _0x30f55d=_0x3fb214>0x1?void 0x0:_0x3fb214?_0x437acd(_0x62e56e,_0x4bad39):_0x62e56e,_0x3ac4b4=_0x26e18e[_0x4b80bc(0x39e)]-0x1,_0x47e8e5;_0x3ac4b4>=0x0;_0x3ac4b4--)(_0x47e8e5=_0x26e18e[_0x3ac4b4])&&(_0x30f55d=_0x47e8e5(_0x30f55d)||_0x30f55d);return _0x30f55d;},_0x142bd6=(_0x485510,_0x46b89e)=>(_0x434ad5,_0x549b02)=>_0x46b89e(_0x434ad5,_0x549b02,_0x485510);const _0x2bc6b6=_0x1b6ca5(0x36a);_0x35847c[_0x1b6ca5(0x33d)]=class{constructor(_0x580e3f,_0x1d0d31){var _0x429fdd=_0x1b6ca5;this[_0x429fdd(0xd8)]=_0x580e3f,this['_HTTPService']=_0x1d0d31;}[_0x1b6ca5(0x127)](){var _0x1bdd87=_0x1b6ca5,_0x5948a3;const _0x88b02b=this[_0x1bdd87(0xd8)]['getConfig'](_0x32b669);return(_0x5948a3=_0x88b02b==null?void 0x0:_0x88b02b[_0x1bdd87(0x270)])!=null?_0x5948a3:_0x2bc6b6;}async[_0x1b6ca5(0x7b)](_0x33e90e){var _0x53d2cf=_0x1b6ca5;const _0x391f59=this[_0x53d2cf(0x127)]()+_0x53d2cf(0x21c);return{'list':[{'title':_0x53d2cf(0x27a),'mentions':(await this[_0x53d2cf(0x24c)][_0x53d2cf(0x2b3)](_0x391f59,{'params':{'objectID':_0x33e90e['unitId'],'unitID':_0x33e90e[_0x53d2cf(0x272)]}}))['body'][_0x53d2cf(0x3aa)][_0x53d2cf(0x10d)](_0x3baef0=>({'objectId':_0x3baef0['id'],'name':_0x3baef0[_0x53d2cf(0x13a)]['name'],'metadata':{'icon':_0x3baef0[_0x53d2cf(0x13a)][_0x53d2cf(0x266)]},'label':_0x3baef0['subject']['name'],'objectType':_0x765608[_0x53d2cf(0x2a6)]['PERSON']})),'metadata':{},'type':_0x765608[_0x53d2cf(0x2a6)][_0x53d2cf(0x1da)]}]};}},_0x35847c[_0x1b6ca5(0x33d)]=_0x58bffb([_0x142bd6(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608['IConfigService'])),_0x142bd6(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)]))],_0x35847c[_0x1b6ca5(0x33d)]);var _0x2f80d1=Object[_0x1b6ca5(0x1d2)],_0x3bf16f=(_0x5b054a,_0x25e29a,_0x235977,_0x62116b)=>{for(var _0x8a20a1=_0x62116b>0x1?void 0x0:_0x62116b?_0x2f80d1(_0x25e29a,_0x235977):_0x25e29a,_0x3e02e4=_0x5b054a['length']-0x1,_0x7ed4a6;_0x3e02e4>=0x0;_0x3e02e4--)(_0x7ed4a6=_0x5b054a[_0x3e02e4])&&(_0x8a20a1=_0x7ed4a6(_0x8a20a1)||_0x8a20a1);return _0x8a20a1;},_0x5c4af6=(_0x5800f6,_0x540c03)=>(_0x541b86,_0x324c78)=>_0x540c03(_0x541b86,_0x324c78,_0x5800f6);let _0x14028a=class extends _0x765608[_0x1b6ca5(0x3ac)]{constructor(_0x38f8ec,_0x390246,_0x364b48,_0x3ff551,_0xc8b4ae){var _0x26e4e9=_0x1b6ca5;super(),this[_0x26e4e9(0x172)]=_0x38f8ec,this[_0x26e4e9(0xe7)]=_0x390246,this[_0x26e4e9(0x1d5)]=_0x364b48,this[_0x26e4e9(0xba)]=_0x3ff551,this[_0x26e4e9(0x322)]=_0xc8b4ae,this[_0x26e4e9(0xe1)](),this['_initCloseConn']();}[_0x1b6ca5(0x20c)](){var _0x28457d=_0x1b6ca5;const _0x1bbc0b=async _0xd661b9=>{var _0x539cdb=_0x1ac4;(await this[_0x539cdb(0xba)]['requireSession'](_0xd661b9))[_0x539cdb(0x34d)][_0x539cdb(0x39a)](_0x3039f7[_0x539cdb(0x153)](_0x4e8d09=>_0x4e8d09['eventID']===_0x32c4ad[_0x539cdb(0x28d)][_0x539cdb(0x356)]),_0x3039f7[_0x539cdb(0x18c)](this['dispose$']))[_0x539cdb(0xf0)](_0x38b2ec=>{var _0x5553f4=_0x539cdb;const _0x201101=_0x38b2ec,{reason:_0xb96908}=_0x201101['data'];this['_collaborationUIEventService'][_0x5553f4(0x106)]({'id':_0x4d6e97[_0x5553f4(0x162)],'data':_0xb96908}),this[_0x5553f4(0x1d5)]['updatePermissionPoint'](new _0x8c00ce[(_0x5553f4(0x228))](_0xd661b9)['id'],!0x1),this[_0x5553f4(0xba)][_0x5553f4(0x253)](_0xd661b9);});};_0x2f43df['merge'](this[_0x28457d(0xe7)]['getTypeOfUnitAdded$'](_0x765608[_0x28457d(0x173)][_0x28457d(0x398)]),this[_0x28457d(0xe7)][_0x28457d(0x2ac)](_0x765608[_0x28457d(0x173)][_0x28457d(0x31a)]))[_0x28457d(0x39a)](_0x3039f7[_0x28457d(0x10d)](_0xce3d15=>_0xce3d15[_0x28457d(0xdc)]()),_0x3039f7[_0x28457d(0x153)](_0x48a7f6=>!_0x765608[_0x28457d(0x1b3)](_0x48a7f6)),_0x3039f7[_0x28457d(0x18c)](this[_0x28457d(0x283)]))[_0x28457d(0xf0)](_0x10b2fd=>{_0x1bbc0b(_0x10b2fd);});}['_initUnitPermissionChange'](){var _0x3a727=_0x1b6ca5;const _0xc5d7d=async _0xa9ffd3=>{var _0x17ba62=_0x1ac4;const _0x71e4f9=await this[_0x17ba62(0xba)]['requireSession'](_0xa9ffd3),_0x351531=this['_injector'][_0x17ba62(0x2b3)](_0x8c00ce[_0x17ba62(0x1ed)]);_0x71e4f9[_0x17ba62(0x34d)][_0x17ba62(0x39a)](_0x3039f7[_0x17ba62(0x153)](_0x20d4ef=>_0x20d4ef[_0x17ba62(0x239)]===_0x32c4ad[_0x17ba62(0x28d)][_0x17ba62(0x29b)]),_0x3039f7[_0x17ba62(0x18c)](this[_0x17ba62(0x283)]))['subscribe'](_0x14d6c0=>{var _0xcbdc3=_0x17ba62;const _0x2c3a97=_0x14d6c0,{objectId:_0x2af3ee}=_0x2c3a97['data'];_0x2af3ee===_0xa9ffd3?_0x351531[_0xcbdc3(0x1d4)](_0xa9ffd3):_0x351531[_0xcbdc3(0x8e)](_0xa9ffd3,_0x2af3ee);});};_0x2f43df[_0x3a727(0x308)](this[_0x3a727(0xe7)][_0x3a727(0x2ac)](_0x765608['UniverInstanceType'][_0x3a727(0x398)]))[_0x3a727(0x39a)](_0x3039f7[_0x3a727(0x10d)](_0x413a8c=>_0x413a8c[_0x3a727(0xdc)]()),_0x3039f7['filter'](_0x28d47c=>!_0x765608[_0x3a727(0x1b3)](_0x28d47c)),_0x3039f7['takeUntil'](this[_0x3a727(0x283)]))['subscribe'](_0x530fa0=>{_0xc5d7d(_0x530fa0);});}};_0x14028a=_0x3bf16f([_0x5c4af6(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x5c4af6(0x1,_0x765608[_0x1b6ca5(0x175)]),_0x5c4af6(0x2,_0x765608[_0x1b6ca5(0x112)]),_0x5c4af6(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x35847c[_0x1b6ca5(0x97)])),_0x5c4af6(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb))],_0x14028a);var _0x3fa282=Object[_0x1b6ca5(0x1d2)],_0x36f40a=(_0xa9ebfb,_0x43e7b7,_0x29adbe,_0x331702)=>{for(var _0x2b241a=_0x331702>0x1?void 0x0:_0x331702?_0x3fa282(_0x43e7b7,_0x29adbe):_0x43e7b7,_0x158b6a=_0xa9ebfb['length']-0x1,_0x2cf2d5;_0x158b6a>=0x0;_0x158b6a--)(_0x2cf2d5=_0xa9ebfb[_0x158b6a])&&(_0x2b241a=_0x2cf2d5(_0x2b241a)||_0x2b241a);return _0x2b241a;},_0x454e73=(_0x3b794d,_0x493687)=>(_0x38e77f,_0x5db998)=>_0x493687(_0x38e77f,_0x5db998,_0x3b794d);_0x35847c[_0x1b6ca5(0x312)]=class{constructor(_0xe6d162,_0x4191ad){var _0x1948fd=_0x1b6ca5;this[_0x1948fd(0xd8)]=_0xe6d162,this[_0x1948fd(0x2be)]=_0x4191ad;}async[_0x1b6ca5(0xc3)](_0x18af4a,_0x88f56d){var _0x4ba068=_0x1b6ca5,_0x218a51;const {unitID:_0x88c2b7,type:_0x44a26a,revision:_0x2de613=0x0}=_0x88f56d,_0x5e2258=this[_0x4ba068(0xe4)]()+'/'+_0x44a26a+'/unit/'+_0x88c2b7+_0x4ba068(0x2e1)+_0x2de613,_0x273e9e=(await this['_httpService']['get'](_0x5e2258))[_0x4ba068(0x35a)],_0x4666eb=(_0x218a51=_0x273e9e['snapshot'])==null?void 0x0:_0x218a51['workbook'];if(_0x4666eb){const _0x1d606c=_0x4666eb==null?void 0x0:_0x4666eb[_0x4ba068(0x178)],_0xbbf8d4=_0x32c4ad[_0x4ba068(0x26b)][_0x4ba068(0x27e)](_0x32c4ad[_0x4ba068(0x186)](_0x1d606c));_0x4666eb[_0x4ba068(0x178)]=_0xbbf8d4,Object[_0x4ba068(0x2fe)](_0x4666eb[_0x4ba068(0x3d6)])['forEach'](([,_0x13345a])=>{var _0x2ec3ab=_0x4ba068;const _0x1a62e1=_0x13345a[_0x2ec3ab(0x178)],_0x578709=_0x32c4ad[_0x2ec3ab(0x26b)][_0x2ec3ab(0x27e)](_0x32c4ad['b64DecodeUnicode'](_0x1a62e1));_0x13345a[_0x2ec3ab(0x178)]=_0x578709;});}return _0x273e9e;}async[_0x1b6ca5(0x156)](_0x130b53,_0x55f038){var _0x1d8cf3=_0x1b6ca5;const {unitID:_0x5ebe6e,type:_0x421623,blockID:_0xcafb57}=_0x55f038,_0x587d85=this[_0x1d8cf3(0x19c)]()+'/'+_0x421623+_0x1d8cf3(0x1ba)+_0x5ebe6e+_0x1d8cf3(0xcb)+_0xcafb57;return(await this[_0x1d8cf3(0x2be)][_0x1d8cf3(0x2b3)](_0x587d85))['body'];}async['getDeserializedSheetBlock'](_0x3dc2b5,_0x299fcb){var _0x23c20e=_0x1b6ca5;const {unitID:_0x1b9b32,type:_0x46a7f5,blockID:_0x681f65}=_0x299fcb,_0x309181=this[_0x23c20e(0x19c)]()+_0x23c20e(0xcb)+_0x46a7f5+_0x23c20e(0x1ba)+_0x1b9b32+_0x23c20e(0xcb)+_0x681f65;return(await this[_0x23c20e(0x2be)][_0x23c20e(0x2b3)](_0x309181))[_0x23c20e(0x35a)];}async[_0x1b6ca5(0x78)](_0x2540aa,_0x4e1f6d){var _0x5f552a=_0x1b6ca5;const {unitID:_0x340a86,type:_0x387530,from:_0x334658,to:_0x2095b4}=_0x4e1f6d,_0x217aa7=this[_0x5f552a(0x19c)]()+'/'+_0x387530+'/unit/'+_0x340a86+_0x5f552a(0x15d)+_0x334658+_0x5f552a(0x142)+_0x2095b4;return(await this[_0x5f552a(0x2be)]['get'](_0x217aa7))[_0x5f552a(0x35a)];}['getSnapshotAPIPath'](){var _0x4a4312=_0x1b6ca5,_0x10256e;return(_0x10256e=this[_0x4a4312(0xd8)][_0x4a4312(0x1ef)](_0x1ade4e))!=null?_0x10256e:this[_0x4a4312(0x19c)]();}[_0x1b6ca5(0x19c)](){var _0x840563=_0x1b6ca5,_0x1f2883;const _0x5b7c53=this[_0x840563(0xd8)][_0x840563(0x1ef)](_0x32b669);return(_0x1f2883=_0x5b7c53==null?void 0x0:_0x5b7c53[_0x840563(0x3cd)])!=null?_0x1f2883:_0xdbb69b;}async[_0x1b6ca5(0x148)](_0x431e54,_0x546814){var _0x30f4d1=_0x1b6ca5;const _0x10542='/universer-api/snapshot/'+_0x546814['type']+'/unit/'+_0x546814[_0x30f4d1(0xfe)]+_0x30f4d1(0x105);return(await this[_0x30f4d1(0x2be)][_0x30f4d1(0x2b3)](_0x10542,{'params':{'resourceId':JSON[_0x30f4d1(0x144)](_0x546814['resourceIDs'])}}))['body'];}[_0x1b6ca5(0x204)](){var _0x24caf4=_0x1b6ca5;throw new Error(_0x24caf4(0x2fd));}[_0x1b6ca5(0x37e)](){var _0x1fa276=_0x1b6ca5;throw new Error(_0x1fa276(0x2fd));}[_0x1b6ca5(0x3ce)](){var _0x319ee1=_0x1b6ca5;throw new Error(_0x319ee1(0x2fd));}[_0x1b6ca5(0x16b)](){var _0x38d088=_0x1b6ca5;throw new Error(_0x38d088(0x2fd));}[_0x1b6ca5(0x3fa)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1b6ca5(0x225)](){var _0xab738b=_0x1b6ca5;throw new Error(_0xab738b(0x2fd));}},_0x35847c['SnapshotServerOverHTTPService']=_0x36f40a([_0x454e73(0x0,_0x765608[_0x1b6ca5(0x1af)]),_0x454e73(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)]))],_0x35847c[_0x1b6ca5(0x312)]);var _0x5112f2=Object[_0x1b6ca5(0x1d2)],_0x3b3ed6=(_0x438cda,_0x11a598,_0xb27b46,_0x257957)=>{var _0x269fd1=_0x1b6ca5;for(var _0x32f18c=_0x257957>0x1?void 0x0:_0x257957?_0x5112f2(_0x11a598,_0xb27b46):_0x11a598,_0x5ccf51=_0x438cda[_0x269fd1(0x39e)]-0x1,_0x7cc7ea;_0x5ccf51>=0x0;_0x5ccf51--)(_0x7cc7ea=_0x438cda[_0x5ccf51])&&(_0x32f18c=_0x7cc7ea(_0x32f18c)||_0x32f18c);return _0x32f18c;},_0x119d17=(_0x11d796,_0x475fc4)=>(_0x3855ba,_0x4b6498)=>_0x475fc4(_0x3855ba,_0x4b6498,_0x11d796);_0x35847c['CollaborativeUndoRedoService']=class extends _0x765608[_0x1b6ca5(0x1fb)]{constructor(_0x2c3b08,_0x2f2f60,_0x1ee41f,_0x5e5bdb,_0x42cf4d){var _0xfbe868=_0x1b6ca5;super(_0x2c3b08,_0x2f2f60,_0x1ee41f),this[_0xfbe868(0x226)]=_0x5e5bdb,this['_logService']=_0x42cf4d;}['transformUndoRedo'](_0x4b8ada,_0x91c42a){var _0x514fec=_0x1b6ca5;const _0x3a5b01=this[_0x514fec(0x2d9)](_0x4b8ada);if(_0x3a5b01)try{const _0x2acd78=this[_0x514fec(0x24f)](_0x3a5b01,_0x91c42a);this[_0x514fec(0x146)](_0x4b8ada,_0x2acd78);}catch(_0x1338a4){this[_0x514fec(0x9f)][_0x514fec(0x35f)](_0x514fec(0x1f5),_0x1338a4),this['_clearUndo'](_0x4b8ada);}const _0x5b435b=this['_getRedoStack'](_0x4b8ada);if(_0x5b435b)try{const _0x4cb6d1=this[_0x514fec(0x24f)](_0x5b435b,_0x91c42a);this['_substituteRedoStack'](_0x4b8ada,_0x4cb6d1);}catch(_0x11e19c){this[_0x514fec(0x9f)][_0x514fec(0x35f)](_0x11e19c),this[_0x514fec(0x2ca)](_0x4b8ada);}}[_0x1b6ca5(0x30a)](_0x462d20){var _0x319114=_0x1b6ca5;const _0xcc7cfb=this[_0x319114(0x2d9)](_0x462d20);_0xcc7cfb&&(_0xcc7cfb[_0x319114(0x39e)]=0x0,this[_0x319114(0x39d)]());}[_0x1b6ca5(0x2ca)](_0x426728){var _0x5edbf4=_0x1b6ca5;const _0x2e74ed=this['_getRedoStack'](_0x426728);_0x2e74ed&&(_0x2e74ed[_0x5edbf4(0x39e)]=0x0,this['_updateStatus']());}[_0x1b6ca5(0x146)](_0x56fa23,_0x292386){var _0x5a9c18=_0x1b6ca5;this['_undoStacks'][_0x5a9c18(0x26d)](_0x56fa23,_0x292386),this[_0x5a9c18(0x39d)]();}[_0x1b6ca5(0x32c)](_0x1f220a,_0x37bb70){this['_redoStacks']['set'](_0x1f220a,_0x37bb70),this['_updateStatus']();}[_0x1b6ca5(0x24f)](_0x1a5278,_0x17b1cc){var _0x36f1d2=_0x1b6ca5;const _0x131d4c=[];let _0x21e770=_0x17b1cc,_0x4a1adf=_0x17b1cc;for(let _0x392f2b=_0x1a5278['length']-0x1;_0x392f2b>=0x0;_0x392f2b--){const {unitID:_0x56209d,undoMutations:_0x11cc40,redoMutations:_0x6c16e1}=_0x1a5278[_0x392f2b],_0x4b198d=this['_transformService']['transformMutationsWithChangeset'](_0x21e770,_0x11cc40),_0x59c4ec=this[_0x36f1d2(0x226)][_0x36f1d2(0x291)](_0x4a1adf,_0x6c16e1);if(_0x32c4ad['isTransformMutationsWithChangesetFailure'](_0x4b198d)||_0x32c4ad[_0x36f1d2(0x2d7)](_0x59c4ec)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x36f1d2(0x8d),_0x4b198d,_0x59c4ec);break;}_0x21e770=_0x4b198d[_0x36f1d2(0x147)],_0x4a1adf=_0x59c4ec[_0x36f1d2(0x147)],_0x131d4c[_0x36f1d2(0x13f)]({'unitID':_0x56209d,'undoMutations':_0x4b198d[_0x36f1d2(0x1b7)],'redoMutations':_0x59c4ec['m2Prime']});}return _0x131d4c[_0x36f1d2(0x1f3)]();}},_0x35847c['CollaborativeUndoRedoService']=_0x3b3ed6([_0x119d17(0x0,_0x765608[_0x1b6ca5(0x175)]),_0x119d17(0x1,_0x765608[_0x1b6ca5(0x386)]),_0x119d17(0x2,_0x765608[_0x1b6ca5(0x2e5)]),_0x119d17(0x3,_0x32c4ad[_0x1b6ca5(0x152)]),_0x119d17(0x4,_0x765608[_0x1b6ca5(0x3f9)])],_0x35847c[_0x1b6ca5(0xd3)]);var _0x9ac0e8=Object[_0x1b6ca5(0x335)],_0x448025=Object[_0x1b6ca5(0x1d2)],_0x3f9f36=(_0xd78a8c,_0x5ee595,_0xd0c970)=>_0x5ee595 in _0xd78a8c?_0x9ac0e8(_0xd78a8c,_0x5ee595,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd0c970}):_0xd78a8c[_0x5ee595]=_0xd0c970,_0x5ae503=(_0x2e9c97,_0x5d8d6a,_0xe525ab,_0x37344d)=>{var _0x38dd56=_0x1b6ca5;for(var _0x35fc6b=_0x37344d>0x1?void 0x0:_0x37344d?_0x448025(_0x5d8d6a,_0xe525ab):_0x5d8d6a,_0x4e40e4=_0x2e9c97[_0x38dd56(0x39e)]-0x1,_0x44df6f;_0x4e40e4>=0x0;_0x4e40e4--)(_0x44df6f=_0x2e9c97[_0x4e40e4])&&(_0x35fc6b=_0x44df6f(_0x35fc6b)||_0x35fc6b);return _0x35fc6b;},_0x2bd820=(_0x58fb1e,_0x301b80)=>(_0x2d2a54,_0x1b2b1a)=>_0x301b80(_0x2d2a54,_0x1b2b1a,_0x58fb1e),_0x1ea5ab=(_0x2936b9,_0x55bd64,_0x1098ae)=>_0x3f9f36(_0x2936b9,_0x55bd64+'',_0x1098ae);const _0x5690bc=_0x1b6ca5(0x138);_0x35847c[_0x1b6ca5(0x372)]=class extends _0x765608[_0x1b6ca5(0x2a2)]{constructor(_0x2f0802,_0xf795e9,_0xc72818,_0x285f0c){var _0x10436c=_0x1b6ca5;super(),_0x1bac5f(this,_0x10436c(0x1ab)),(this['_logService']=_0xf795e9,this[_0x10436c(0x172)]=_0xc72818,this[_0x10436c(0xd8)]=_0x285f0c);const {..._0x555383}=_0x765608[_0x10436c(0x308)]({},_0x5a1779,_0x2f0802);if(!_0x555383[_0x10436c(0x1d6)])throw new Error(_0x10436c(0x339));this[_0x10436c(0x1ab)]=_0x555383,this[_0x10436c(0xd8)]['setConfig'](_0x32b669,_0x555383);}['onStarting'](){var _0x55f19e=_0x1b6ca5;this[_0x55f19e(0xc2)](),this['_initDependencies']();}['_registerDependencies'](){var _0x1f150d=_0x1b6ca5,_0x223675,_0x4e2d23;this[_0x1f150d(0x172)]['has'](_0x765608['IUndoRedoService'])&&this[_0x1f150d(0x9f)]['error'](_0x1f150d(0x36b),_0x1f150d(0x218));const _0x1a4a8f=_0x765608[_0x1f150d(0xab)]([[_0x765608[_0x1f150d(0x77)],{'useClass':_0x35847c[_0x1f150d(0xd3)]}],[_0x35847c[_0x1f150d(0x97)]],[_0x35847c['MemberService']],[_0x35847c['SheetTransformSelectionsService']],[_0x3e75fa],[_0x13c997],[_0x1442e0],[_0x14028a],[_0x4474bb],[_0x35847c[_0x1f150d(0x3d5)]],[_0x1d154d,{'useClass':this[_0x1f150d(0x1ab)][_0x1f150d(0x1d6)]}],[_0x32c4ad[_0x1f150d(0x2a7)],{'useClass':_0x35847c[_0x1f150d(0x312)]}],[_0x765608[_0x1f150d(0x2d8)],{'useClass':_0x35847c['AuthzIoHttpService']}],[_0x18920f[_0x1f150d(0xee)],{'useClass':_0x35847c[_0x1f150d(0x120)]}],[_0x765608['IMentionIOService'],{'useClass':_0x35847c[_0x1f150d(0x33d)]}],[_0x35847c[_0x1f150d(0x236)]],[_0x287d89]],(_0x223675=this[_0x1f150d(0x1ab)])==null?void 0x0:_0x223675[_0x1f150d(0x1e2)]);if(!((_0x4e2d23=this['_config'])!=null&&_0x4e2d23[_0x1f150d(0x360)])){const _0x41a703=_0x1a4a8f[_0x1f150d(0x18a)](([_0x703f3b])=>_0x703f3b===_0x2aceed);_0x41a703!==-0x1&&_0x1a4a8f[_0x1f150d(0x3c3)](_0x41a703,0x1);}_0x765608['registerDependencies'](this['_injector'],_0x1a4a8f);}[_0x1b6ca5(0x2ad)](){var _0x42a1fb=_0x1b6ca5,_0x4b7972,_0x5a09b1,_0x56fd0f;this[_0x42a1fb(0x172)]['get'](_0x102f6e['HTTPService'])[_0x42a1fb(0xce)]({'priority':0x14,'interceptor':_0x102f6e[_0x42a1fb(0x2db)]({'maxParallel':0x6})}),(_0x4b7972=this[_0x42a1fb(0x1ab)])!=null&&_0x4b7972[_0x42a1fb(0x2c2)]||(_0x5a09b1=this[_0x42a1fb(0x172)][_0x42a1fb(0x2b3)](_0x9f10c,_0x765608[_0x42a1fb(0x251)]['OPTIONAL']))==null||_0x5a09b1[_0x42a1fb(0x34a)](),(_0x56fd0f=this['_config'])!=null&&_0x56fd0f[_0x42a1fb(0x333)]&&_0x765608[_0x42a1fb(0x348)](this[_0x42a1fb(0x172)],[[_0x3e75fa]]),_0x765608[_0x42a1fb(0x348)](this['_injector'],[[_0x13c997],[_0x35847c[_0x42a1fb(0x236)]],[_0x14028a]]);}},_0x1ea5ab(_0x35847c[_0x1b6ca5(0x372)],'pluginName',_0x5690bc),_0x35847c[_0x1b6ca5(0x372)]=_0x5ae503([_0x765608['DependentOn'](_0x32c4ad[_0x1b6ca5(0x1e9)],_0x102f6e['UniverNetworkPlugin']),_0x2bd820(0x1,_0x765608[_0x1b6ca5(0x3f9)]),_0x2bd820(0x2,_0x765608['Inject'](_0x765608[_0x1b6ca5(0x329)])),_0x2bd820(0x3,_0x765608[_0x1b6ca5(0x1af)])],_0x35847c[_0x1b6ca5(0x372)]),_0x35847c[_0x1b6ca5(0x2ce)]=_0x32b669,_0x35847c[_0x1b6ca5(0x107)]=_0x528d90,_0x35847c[_0x1b6ca5(0xd2)]=_0x4d6e97,_0x35847c['CollaborationUIEventService']=_0x4474bb,_0x35847c['CommentService']=_0x1442e0,_0x35847c[_0x1b6ca5(0x222)]=_0x58068b,_0x35847c[_0x1b6ca5(0x207)]=_0x1c6e64,_0x35847c['DEFAULT_WS_SESSION_TICKET_URL']=_0x3729d7,_0x35847c[_0x1b6ca5(0x257)]=_0x391bfd,_0x35847c['HEARTBEAT_TIMEOUT_KEY']=_0x40d4d2,_0x35847c['ICollaborationSocketService']=_0x1d154d,_0x35847c[_0x1b6ca5(0xc6)]=_0x9f10c,_0x35847c['INetworkConditionService']=_0x13a6a4,_0x35847c['ISingleActiveUnitService']=_0x2aceed,_0x35847c[_0x1b6ca5(0x1b5)]=0x3e8,_0x35847c[_0x1b6ca5(0x306)]=_0x560f63,_0x35847c[_0x1b6ca5(0x1ae)]=_0x26812e,_0x35847c['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x4e97c3,_0x35847c[_0x1b6ca5(0x304)]=_0x34dd1c,_0x35847c['UnitStatus']=_0x1601ee,_0x35847c[_0x1b6ca5(0x2e0)]=_0x4123d4,_0x35847c[_0x1b6ca5(0x88)]=_0x3698d0,_0x35847c[_0x1b6ca5(0x211)]=_0x4ffe11,Object[_0x1b6ca5(0x335)](_0x35847c,Symbol[_0x1b6ca5(0x346)],{'value':_0x1b6ca5(0x179)});}));function _0x7d27(){var _0xd48df3=['not_collab','ThresholdInterceptorFactory','PSEUDO_FETCH_MISSING_RESULT','LIVESHARE_NEW_HOST','USERS_ENTER','getCurrentSelections','deserializeToCombResponse','/rev/','retryConnectingInterval','LIVESHARE_OPERATION','_clearHeartbeatTimer','IContextService','revision','hostname','_onConflict','AwaitingWithPendingState','createCollaborator','@univerjs/drawing','getWorkbookSelections','univer-pro.collaboration-client.network-condition.service','crypto','_state','IDLE','POST','_socket','unitId\x20is\x20not\x20found','_transformSelections','words','_undoRedoService','_entities','hasOwnProperty','_handler','_memberService','awaiting_with_pending','COMPRESS_MUTATION_APPLY','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','entries','textRanges','_transitionLocked','pauseCollaboration','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','actions','SessionStatus','interceptor','LOCAL_CACHE_INTERVAL_KEY','_type','merge','_createInitialStateImpl','_clearUndo','APPLY_REVISION_CONFILICT','@univerjs/sheets','_append','_shouldReportTelemetry','SheetTransformSelectionsService','INVITE_CODE_ALREADY_BOUND','_state$','SnapshotServerOverHTTPService','HttpImport','AUTHORIZE_CODE_ILLEGAL','readAsDataURL','APPLY_NON_SEQUENTIAL_REVISION','name','decrypt','fetchMiss','UNIVER_DOC','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_collaborationPaused','_clearScheduledTask','localeService','UniverProLicense','awaiting','mapDocumentTypeToUniverType','_collaborationUIEventService','mixIn','_unlockTransition','CollaborationSession','equals','updateMember','MemberService','Injector','getInterceptPoints','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_substituteRedoStack','_incrementRevisionNumber','message$','_transformStateCache','HTTPService','floor','finalize','enableAuthServer','/object','defineProperty','size','REDEMPTION_CODE_INACTIVE','_invKeySchedule','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','JOIN_ROOM_FULL','FAIL','status$','MentionIoHttpService','getActiveSheet','patch','REDEMPTION_INVALID_CODE','YUUMI_RATE_OVER_LIMIT','readyForCollab','2414986dycLwH','RECV','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','toStringTag','sendChangesetTimeout','touchDependencies','_onFetchMissResult','disableLocalCache','_socketService','UNISCRIPT_RUN','event$','onSyncEditingCollabCursor','_onRecvEvent','Error\x20on\x20receiving\x20event','executeCommand','Hex','getFocusedUnit','_xformMode','create','SHOULD_CLOSE_CONN','pending','_snapshotService','UNDEFINED','body','onCommandExecuted','HttpExport','UserProfileImg','ENTITLE_CHAT_LIMIT_EXCEED','error','enableSingleActiveInstanceLock','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','confirm','PAYMENT_CHANNEL_NOT_SUPPORT','onTransformRemoteChangesetByStateCache','_doFinalize','rxjs/operators','url','debug','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/universer-api/authz','[UniverCollaborationClientPlugin]','_commentUpdate$','_onRemoteACK','ERROR_AGAIN','OTHER_CLIENTS_EDITING','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_nDataBytes','UniverCollaborationClientPlugin','_reverseMap','c2Prime','_key','NoPadding','appendMutation','getSheetId','getUnitStatus$','reduce','userID','_resendWithTimeout','_checkMissing','updateSnapshot','enc','_sendHeartbeat','symbol','setWaitCount','operators','UNAUTHENTICATED','_queuedRemoteChangesets','ICommandService','_transformUndoredo','[DataLoaderService]','localCacheService','697185XyqpfL','_onJoinRoomEvent','Base','\x0aAfter:\x20','Hasher','createEncryptor','getCurrentRevOfUnit','conflict','onTransformSelections','reqId','getImage','COMPLETION_FINISHED','_acknowledgedAwaitingChangeset','ERROR_IMAGE','UNIVER_SHEET','RevisionService','pipe','_onUserLeave','joinRsp','_updateStatus','length','Base64','_commentService','duration','HELLO','NOT_FOUND','LIVESHARE_TERMINATE','liveShareOperation','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','reset','ConflictState','_pendingMutations','collaborators','_doCryptBlock','RxDisposable','YUUMI_UNABLE_LOAD_URL','formatter','AuthzIoHttpService','pad','_roomCreated$','open$','sigBytes','cmd','compose','getAllMembers','loginUrlKey','APPLY_PERMISSION_DENIED','JOIN','Utf8','_sessionStatus$','getValue','_networkConditionService','joinEvent','changesets','LEAVE','/object/','_retryCount','splice','@univerjs/telemetry','_scheduleCompleteTimestamp','fetch_missing','data','close$','_toggleOnline','_change$','now','_entityInit$','snapshotServerUrl','saveSheetBlock','MUTATION','msCrypto','\x20-\x20','_createInitialState','firstValueFrom','_changesetSessionId','DataLoaderService','sheets','delete','UNKNOWN_CODE','prototype','_candidateSocket','_socketMessageSubscription','PERMISSION_REJ','_onConnectionFailed','getUnitType','blockSize','INVITE_CODE_REQUIRED','unknown','NOT_COLLAB','collaboration_new_changeset','[PendingState]:\x20received\x20acknowledgement.','headers','code','ERROR_EXCEED_SIZE','USER_IS_ANONYMOUS','JOIN_ROOM_FAILED','_hasher','keySize','onStateChange','getTime','_prevBlock','UniverDrawing','CONFLICT','onTransformState','repeat','SUBMIT_CHANGESET_TIMEOUT','uuidv4','USER_NOT_FOUND','Pkcs7','selections','ImageSourceType','ILogService','copyFileMeta','_sender','onSendChangeset','toggleOnline','APPLY_DUPLICATED','_schedule','WECHAT_HAS_BEEN_BOUND','UnitSnapshot','_data','_instanceService','origin','session.room-full','HEARTBEAT','_sheetTransformSelectionsService','IUndoRedoService','fetchMissingChangesets','_singleActiveUnitService','LICENSE_MAX_UNITS_EXCEEDED','list','unsubscribe','fetchThroughInterceptors','sid','getCollabEntity','ENSURE_SNAPSHOT_EXECUTION','Failed\x20to\x20update\x20permission\x20point','init','DATA_SOURCE_TOO_LARGE','ClipsheetFragments','_startCollaboration','UniverProCollaboration','replace','getLocalCacheKey','FETCH_MISS','send','sequenceExecute','2395602OFYPvN','transformStack\x20failed!','refreshPermission','failed\x20to\x20apply\x20missed\x20changesets!','clamp','_startTelemetryCollaborationNewChangeset','default','1309923XZHpwd','unit-cache-','iterations','function','CollaborationSessionService','image/jpeg','asObservable','format','parse','[CollaborationSession]','_emitMembers','session.room-not-exists','_logService','20TPKqsb','_commandService','charAt','ImageUploadStatusType','HEARTBEAT_INTERVAL','univer-pro.collaboration-client-socket-service','session','JOIN_ROOM_PERMISSION_DENIED','[CollaborationEntity]','SetSelectionsOperation','_status$','mergeOverrideWithDependencies','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','CONNECTOR_DATA_TOO_LARGE','INVITE_CODE_HAS_BEEN_UES','file','_createSocket','dispose','EmptyMutationInfo','isPermissionRej','processBlock','_updateState','_clearCollaborationTimeoutTimer','_onUserJoin','/-/object/list','Encryptor','_collaborationSessionService','type','Undefined','_cipher','CHANGESET_REJ','_compressMutationService','_initMergeInterceptor','[PendingState]:\x20received\x20rejection.','_registerDependencies','getUnitOnRev','shouldCloseConn','_remoteChangesetQueue','ILocalCacheService','PendingState','createInstance','[SyncedState]:\x20received\x20acknowledgement.','_resendTimer','/block/','_throwTelemetryCollaborationNewChangeset','isTransformChangesetsSuccess','registerHTTPInterceptor','_sessions','SUCCUSS','parseChangesetToProtocol','CollaborationUIEventId','CollaborativeUndoRedoService','AwaitingState','catch','?size=','REDEMPTION_CODE_FULLY_REDEEMED','_configService','_tryEnsureSocket','kdf','/-/object/-/batch_allowed','getUnitId','_roomMembers','onRemoteRej','LICENSE_IMPORT_SIZE_EXCEEDED','subUnitId','_initUnitPermissionChange','responseType','DocCollaborationEntity','getSnapshotAPIPath','submit\x20changeset\x20error!','SOCKET_FAILED_RETRY','_univerInstanceService','Inject','compute','includes','_keySchedule','CollaborationEntity','ALREADY_EXISTS','IImageIoService','JSONX','subscribe','object','_applyRemoteChangeset','SHA1','Decryptor','CURRENT_STATUS_CANNOT_OPERATE','_map','_socket$','AWAITING','SheetsSelectionsService','UniverProCollaborationClient','members','_init','__creator','unitID','CBC','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getImageSourceCache','batchAllowed','setShowComponents','/resources','emitEvent','CollaborationStatus','DEFAULT_FILE_NAME','_collaborationTimeoutTimer','capture','Malformed\x20UTF-8\x20data','downloadEndpointUrl','map','randomBytes','ENTITLE_DUP_SUBSCRIPTION','transformSelections','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','IPermissionService','LOGIN_FAILED','1LUIHzD','disposeWithMe','image/jpg','UPDATE_CURSOR','call','connection\x20error','loadUnit','APPLY_REJECT','close','HmacMD5','withCredentials','_clearRetryConnectingTimer','CollaborationImageIoService','leaveEvent','_rescheduleHeartbeat','getUnit','objectType','_userManagerService','from','_getAPIPrefixPath','_sendHeartbeatTimer','@univerjs/core','_handlerCallback','mode','_getUploadFileURL','_imageSourceCache','SNAPSHOT_HAS_BEEN_REMOVED','onRemoteChangeset','focused$','random','sessionStatus$','_members','_onRemoteRejected','_event$','Optional','ENTITLE_INSUFFICIENT_QUOTA','UNIVER_COLLABORATION_CLIENT_PLUGIN','INGEST','subject','_removeRoom','listCollaborators','SheetCollaborationEntity','MSG_FOR_ERROR','push','_minBufferSize','HEARTBEAT_TIMEOUT','&to=','createDecryptor','stringify','_onLocalMutation','_substituteUndoStack','c1Prime','getResourcesRequest','complete','@univerjs-pro/collaboration','_createHandler','getMemberID','_unitInfo$','isArray','UniverDocs','_unitID','_transformRemoteChangesetByIMECache','ITransformService','filter','onlyLocal','salt','getSheetBlock','startsWith','charCodeAt','indexOf','TOO_MANY_REQUESTS','SOCKET_FAILED','AWAITING_WITH_PENDING','/fetchmissing?from=','_stopTelemetryCollaborationNewChangeset','LICENSE_DISTRO_REJECTED','LocaleService','action','CLOSE_ROOM','infoRsp','_parse','setCurrentUser','src','SNAPSHOT_URL_KEY','_waitForHeartbeatResponse','incrementRevOfUnit','[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.','saveChangeset','USER_NOT_INVITED_CODE','putCollaborators','createSocket','_getSendChangesetTimeout','clone','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_injector','UniverInstanceType','NO_OTHER_CLIENTS_EDITING','IUniverInstanceService','byteLength','_executeRemoteChangeset','originalMeta','Module','MergeInterceptorFactory','Latin1','_exhaustRemoteChangesetQueue','addHandlerCallback','exports','_members$','deepClone','FETCH_MISSING','toDisposable','OfflineState','commentUpdate$','581046jkIOtJ','b64DecodeUnicode','JOINING','every','SNAPSHOT_INVALID_SNAPSHOT','findIndex','session.room-permission-denied','takeUntil','[FetchMissState]','_getLoginPath','_showConflictNotification','decryptBlock','_onConnectionOpen','_initRequestHeader','_onCombEvent','__esModule','title','_decreaseWaiting','loadUnitOfRevision','cfg','generateRandomId','updateOfflineData','target','_getAPIPrefix','UNIVER_PROJECT','error$','_onMessage','UNKNOWN_CMD','slice','next','\x20to\x20','_clearLocalCache','RETRY_CONNECTING_MAX_COUNT','UniverSheets','addImageSourceCache','loadSheet','YUUMI_ALL_TABLES_IS_INVALID','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_config','toString','HMAC','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IConfigService','csAckEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','LOGIN_TOKEN_PROCESSING_FAILED','isInternalEditorID','_submitChangeset','LOCAL_CACHE_INTERVAL','_syncEditingCollabCursor','m2Prime','image/png','then','/unit/','YUUMI_NO_CUBOID_FOR_QUESTION','_doProcessBlock','save\x20fail\x20reason\x20is\x20','_telemetryInfo','min','_joinRoom','clear','reject','image/gif','_keyPriorReset','OFFLINE','/universer-api/file/{fileID}/sign-url','_getCtorByUniverType','_changesetReqId','encrypt','UNIVER_SLIDE','_getSignURL','allowed','_onOffline','INVALID_ARGUMENT','ciphertext','_createHelper','forEach','getOwnPropertyDescriptor','_mode','initWorkbookPermissionChange','_permissionService','socketService','/universer-api/uniscript','getGlobalObject','_transformRemoteChangesetByStateCache','PERSON','add','EMAIL_VERIFY_CODE_MISMATCH','\x20in\x20_schedule.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','has','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','ENTITLE_NEED_BILLING_ADDRESS','override','_process','session.join-failed','_getCurrentRevision','_disableEditing','params','readInt32LE','UniverCollaborationPlugin','UniverCore','loadOfflineData','image/bmp','SheetPermissionInitController','fromCharCode','getConfig','CollaborationSocketService','LIVESHARE_FETCH_OPERATIONS','_toggleOffline','reverse','_onRemoteChangeset','[CollaborationUndoRedoService]','NEW_CHANGESETS','BufferedBlockAlgorithm','[CollaborationSessionService]:\x20socket\x20error','_sendingTimer','apply','LocalUndoRedoService','awaitingChangeset','SyncedState','commentUpdateEvent','csShouldRetryEvent','_fetchMissChangesets','_resendTimeout','shareReplay','telemetry\x20info\x20is\x20not\x20initialized','saveSnapshot','enableCollaboration','onRemoteAck','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','saveImage','SUBMIT_CHANGESET','objectID','BehaviorSubject','_initCloseConn','@univerjs/docs','uniscriptRunEvent','CHANGESET_ACK','ivSize','serializeCombRequest','_eventService','delay','updateCollaborator','synced','Subject','unpad','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','state','hasher','onMissingChangesets','/collaborator','RichTextEditingMutation','HTTPRequest','range','_updateLocalCache','socket\x20close','DEFAULT_COLLAB_WEB_SOCKET_URL','lib','_listenToNetworkCondition','getLatestCsReqIdBySid','_transformService','algo','WorkbookEditablePermission','MD5','key','abs','3014484TeqyQY','requireSession','ONLINE','extend','deleteCollaborator','LIVESHARE_REQUEST_HOST','parseProtocolChangeset','mutations','join','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CollaborationController','_localeService','stopTime','eventID','find','CommandType','_timeoutTimer','_retryConnectingTimer','OTHER_CLIENT_EDITING','Cipher','/universer-api/stream/file/upload','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformIME','Workbook','_tryReconnect','LICENSE_EXPORT_SIZE_EXCEEDED','_transformIMECache','UniverTelemetry','state$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','removeMember','getTypeOfUnitDisposed$','_HTTPService','createIdentifier','fromCollab','_transformStack','location','Quantity','\x0aCurrent:\x20','closeSession','_lockTransition','_replaceFileID','isTransformMutationsWithChangesetSuccess','HEARTBEAT_INTERVAL_KEY','uploadFileServerUrl','USERS_LEAVE','YUUMI_CONNECTOR_URL_NOT_FOUND','_hash','substr','UserManagerService','FetchingMissState','ENTITLE_CAN_NOT_BUY_LOWER_OTP','concat','_iv','session.room-cnt-exceeds','BlockCipher','onRemoteRetry','toggleOffline','avatar','_socketReady','post','REDEMPTION_CODE_NOT_STARTED','2981464mAfEyP','textEncoder','AES','set','updatePermissionPoint','WordArray','authzUrl','onTransformRemoteChangesetByIMECache','unitId','INVALID_INVITE_CODE','take','_telemetryService','entityInit$','execute','ceil','COMPRESS_MUTATION_SEND','People','result','REDEMPTION_USER_NOT_ELIGIBLE','COMMENT_UPDATE','encode','_waitCount','put','_isPermissionRej','$super','dispose$','waitForRoom$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','MOBILE_HAS_BEEN_BOUND','_nRounds','onMissedChangesetFetched','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleCollaborationTimeoutTimer','UNRECOGNIZED','roles','CollaborationEvent','append','sessionStatus','_doCreateSocket','transformMutationsWithChangeset','baseRev','padding','_localCacheService','_snapshotServerService','memberID','EvpKDF','max','_clearTimeoutTimer','/universer-api/snapshot','UPDATE_PERMISSION_OBJ','CHANGESET_SHOULD_RETRY','[CollaborationSessionService]','CHANGESET_REVISION_CONFILICT','requestParams','listRoles','JOIN_ROOM_NOT_EXISTS','Plugin','[OfflineState]:\x20received\x20rejection.','Tools','routeKey','MentionType','ISnapshotServerService','onCommentUpdate','ReplaySubject','x-univer-host','GLOBAL_ROOMS_CNT_EXCEEDS','getTypeOfUnitAdded$','_initDependencies','amd','[OfflineState]:\x20received\x20acknowledgement.','signUrlServerUrl','?url=','/new_changes','get','collaMsg','_ENC_XFORM_MODE','_iKey','YUUMI_ASYNCIO_CANCELLED','onLocalMutation','_oKey','rxjs','_awaitingChangeset','UnitEmbedded','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_httpService','Disposable','UNIVER_UNKNOWN','startTime','enableOfflineEditing','INTERNAL_ERROR','objectActions','/universer-api/user/session-ticket','transformChangesets','reconnect','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_clearRedo','/allowed','unitInfo$','status','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getCurrentUser','_revisionService','update','resend','Univer','PERMISSION_DENIED','string','BASE64','isTransformMutationsWithChangesetFailure','IAuthzIoService','_getUndoStack'];_0x7d27=function(){return _0xd48df3;};return _0x7d27();}
2
+ function _0x532f(_0x25f1b2,_0x868a62){var _0x44db5c=_0x44db();return _0x532f=function(_0x532f4b,_0x1f002c){_0x532f4b=_0x532f4b-0x85;var _0x1c092f=_0x44db5c[_0x532f4b];return _0x1c092f;},_0x532f(_0x25f1b2,_0x868a62);}function _0x44db(){var _0x28651c=['APPLY_PERMISSION_DENIED','AUTHORIZE_CODE_ILLEGAL','REDEMPTION_INVALID_CODE','COMPRESS_MUTATION_APPLY','USER_NOT_FOUND','setCurrentUser','_onUserLeave','infoRsp','every','[CollaborationState]:\x20apply\x20error!','update','_startCollaboration','CollaborativeUndoRedoService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','updatePermissionObjEvent','MUTATION','_univerInstanceService','abs','_onConflict','HEARTBEAT_TIMEOUT','CHANGESET_REJ','ICollaborationSocketService','deserializeToCombResponse','getTypeOfUnitDisposed$','avatar','saveSheetBlock','JSONX','status$','CHANGESET_ACK','@univerjs-pro/license','_unitID','_data','eventID','b64DecodeUnicode','_injector','_acknowledgedAwaitingChangeset','_toggleOnline','listCollaborators','_redoStacks','put','includes','toggleOnline','csShouldRetryEvent','HEARTBEAT_INTERVAL','APPLY_REJECT','_checkMissing','stopTime','DisposableCollection','_getDownloadEndpointURL','MOBILE_VERIFY_CODE_MISMATCH','withCredentials','call','SUBMIT_CHANGESET','CollaborationEvent','data','resourceIDs','Injector','CollaborationUIEventId','_onCombEvent','sessionStatus','/unit/','_resendWithTimeout','_schedule','_lockTransition','_doProcessBlock','loadUnitOfRevision','[DataLoaderService]','[OfflineState]:\x20received\x20rejection.','REDEMPTION_USER_NOT_ELIGIBLE','AuthzIoHttpService','_transformStack','LOCAL_CACHE_INTERVAL','awaiting','CollaborationController','JOIN_ROOM_FULL','catch','finalize','SOCKET_FAILED_RETRY','_handler','HEARTBEAT_INTERVAL_KEY','13124520cFEMFe','sequenceExecute','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','addHandlerCallback','uuidv4','UNRECOGNIZED','getSnapshotAPIPath','override','getTypeOfUnitAdded$','compute','pipe','telemetry\x20info\x20is\x20not\x20initialized','UniverDocs','_clearLocalCache','ciphertext','/universer-api/uniscript','SNAPSHOT_HAS_BEEN_REMOVED','/universer-api/snapshot','PSEUDO_FETCH_MISSING_RESULT','copyFileMeta','YUUMI_AI_RUN_FAILED','prototype','Disposable','/object/','deepClone','\x20in\x20_schedule.','SHOULD_CLOSE_CONN','length','WECHAT_HAS_BEEN_BOUND','NOT_FOUND','awaiting_with_pending','FileId','_replayCachedMutations','_xformMode','leaveEvent','saveSnapshot','SnapshotServerOverHTTPService','fetch_missing','operators','GLOBAL_ROOMS_CNT_EXCEEDS','IUniverInstanceService','name','state$','onTransformState','onTransformRemoteChangesetByStateCache','dispose$','_nDataBytes','getMember','OPTIONAL','getUnitId','createCollaborator','HTTPRequest','@univerjs/drawing','INVITE_CODE_REQUIRED','socket\x20open.','_disableEditing','_collaborationTimeoutTimer','onRemoteAck','CollaborationImageIoService','focused$','_clearRetryConnectingTimer','repeat','fromCollab','src','mapDocumentTypeToUniverType','CHANGESET_REVISION_CONFILICT','_configService','reset','_changesetSessionId','Hex','routeKey','_transformService','_socket$','onTransformIME','map','_updateState','isPermissionRej','_listenToNetworkCondition','resend','_tryEnsureSocket','ConflictState','close','_tryReconnect','ITransformService','DEFAULT_COLLAB_WEB_SOCKET_URL','executeCommand','decryptBlock','/object','_init','SheetTransformSelectionsService','_updateStatus','YUUMI_ASYNCIO_CANCELLED','_cipher','entries','salt','indexOf','_getLoginPath','_onFetchMissResult','apply','ILogService','_pendingMutations','JOIN','UNIVER_SLIDE','unknown','collaboratorID','event$','_socket','words','UNAUTHENTICATED','_iKey','LocaleService','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_UNABLE_LOAD_URL','encrypt','LICENSE_MAX_UNITS_EXCEEDED','Hasher','_revisionService','open$','touchDependencies','/universer-api/snapshot/','_parse','WordArray','emitEvent','_snapshotService','_telemetryService','_resendTimeout','EMAIL_VERIFY_CODE_MISMATCH','LocalUndoRedoService','UniverNetworkPlugin','string','_doReset','DependentOn','Quantity','@univerjs/docs','saveChangeset','EmptyMutationInfo','set','resolve','BehaviorSubject','serializeCombRequest','default','commentUpdateEvent','_shouldReportTelemetry','members','ITelemetryService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','type','state','OfflineState','9948qvKcbM','HmacMD5','@univerjs/core','ENTITLE_DUP_SUBSCRIPTION','_exhaustRemoteChangesetQueue','UniverCollaborationPlugin','removeMember','APPLY_NON_SEQUENTIAL_REVISION','c2Prime','getValue','image/png','has','createInstance','_initRequestHeader','title','message$','ERROR_IMAGE_TYPE','status','transformChangesets','RxDisposable','getAllMembers','Base64','_executeRemoteChangeset','batchAllowed','Base','ISnapshotServerService','_localeService','CollaborationEntity','RETRY_CONNECTING_MAX_COUNT_KEY','_localCacheService','Inject','_doCryptBlock','SetSelectionsOperation','offline','defineProperty','floor','unitId','UNISCRIPT_RUN','OTHER_CLIENT_EDITING','function','joinEvent','_rescheduleHeartbeat','method','crypto','getDeserializedSheetBlock','USER_IS_ANONYMOUS','fetchThroughInterceptors','waitForRoom$','_onOffline','subject','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','univer-pro.collaboration-client.network-condition.service','getImageSourceCache','updateMember','HttpImport','registerDependencies','hasOwnProperty','push','disposeWithMe','getCurrentUser','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UNDEFINED','session.room-cnt-exceeds','delay','UNIVER_DOC','addImageSourceCache','toString','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','create','_submitChangeset','action','uploadFileServerUrl','_onRemoteRetry','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformUndoredo','&source=','UNIVER_PROJECT','objectActions','OTHER_CLIENTS_EDITING','UniverNetwork','_substituteRedoStack','PERSON','SNAPSHOT_INVALID_SNAPSHOT','subscribe','NEW_CHANGESETS','setConfig','collaMsg','error','enableSingleActiveInstanceLock','target','Plugin','[CollaborationSessionService]:\x20socket\x20error','getLocalCacheKey','ENTITLE_REPORT_LIMIT_EXCEED','JOIN_ROOM_PERMISSION_DENIED','listRoles','shareReplay','REDEMPTION_CODE_HAS_BEEN_CREATED','APPLY_REVISION_CONFILICT','actions','UniverInstanceType','UUID','_waitForHeartbeatResponse','updateCollaborator','SHA1','BlockCipher','isTransformChangesetsSuccess','ENSURE_SNAPSHOT_EXECUTION','rev','UniverProLicense','slice','RevisionService','getTime','signUrlServerUrl','FETCH_MISS','IImageIoService','baseRev','onlyLocal','_doFinalize','_remoteChangesetQueue','_getCtorByUniverType','_HTTPService','min','values','onTransformSelections','AWAITING_WITH_PENDING','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','JOIN_ROOM_FAILED','JOINING','_collaborationSessionService','enableOfflineEditing','_getCurrentRevision','clone','[OfflineState]:\x20received\x20changeset.','toDisposable','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getCollabEntity','412IdMjkA','objectType','UNIVER_SHEET','_onConnectionFailed','originalMeta','CommandType','_instanceService','JOIN_ROOM_NOT_EXISTS','INGEST','PERMISSION_DENIED','SerializableCipher','unitID','_nRounds','readAsDataURL','IUndoRedoService','_entities','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_scheduleCollaborationTimeoutTimer','formatter','DataLoaderService','readInt32LE','MD5','LICENSE_EXPORT_SIZE_EXCEEDED','symbol','getSheetBlock','collaboration-client.local-cache-service','{fileID}','_handlerCallback','onMissedChangesetFetched','parseProtocolChangeset','PasswordBasedCipher','_getAPIPrefix','concatMap','_oKey','UnitStatus','_append','IMentionIOService','INVALID_INVITE_CODE','mutations','closeSession','findIndex','_queuedRemoteChangesets','randomBytes','_clearScheduledTask','_throwTelemetryCollaborationNewChangeset','BASE64','ClipsheetFragments','format','FETCH_MISSING','_state$','_sendHeartbeat','execute','_toggleOffline','_emitMembers','kdf','updatePermissionPoint','processBlock','getUnitType','complete','_createInitialState','/new_changes','_registerDependencies','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','reduce','OpenSSL','lib','Univer','now','range','_entityInit$','_undoStacks','_transformSelections','getOwnPropertyDescriptor','isTransformMutationsWithChangesetFailure','unpad','@univerjs-pro/collaboration','createEncryptor','_clearRedo','__creator','[CollaborationUndoRedoService]','m2Prime','onMissingChangesets','310721Cnriwb','_hasher','_joinRoom','/block/','ISocketService','_keySchedule','UnitSnapshot','UPDATE_CURSOR','DEFAULT_WS_SESSION_TICKET_URL','origin','reconnect','ILocalCacheService','textRanges','YUUMI_CONNECTOR_URL_NOT_FOUND','_incrementRevisionNumber','takeUntil','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ws://127.0.0.1:8000/universer-api/comb/connect','_singleActiveUnitService','Undefined','socketService','byteLength','pad','sessionStatus$','_decreaseWaiting','add','47353141CTsEwu','DATA_SOURCE_TOO_LARGE','_transformRemoteChangesetByStateCache','LICENSE_IMPORT_SIZE_EXCEEDED','6LHxlkj','Decryptor','_imageSourceCache','AwaitingWithPendingState','[SyncedState]:\x20received\x20rejection.','createIdentifier','ERROR_IMAGE','_onRemoteRejected','duration','selections','sendChangesetTimeout','RETRY_CONNECTING_MAX_COUNT','/rev/','1560348rLzMAh','ENTITLE_INSUFFICIENT_QUOTA','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_transitionLocked','REDEMPTION_CODE_NOT_STARTED','_substituteUndoStack','_compressMutationService','_initDependencies','MOBILE_HAS_BEEN_BOUND','generateRandomId','pluginName','_getSendChangesetTimeout','transformMutationsWithChangeset','EvpKDF','_snapshotServerService','loadOfflineData','rxjs/operators','Utf8','editingUnit','_roomMembers','getActiveSheet','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','&assign=','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','saveImage','session.join-failed','getSheetId','CommentService','newCsEvent','startsWith','init','HEARTBEAT','_prevBlock','_socketMessageSubscription','_candidateSocket','COMPRESS_MUTATION_SEND','revision','\x0aCurrent:\x20','_onRemoteACK','onSendChangeset','IConfigService','failed\x20to\x20apply\x20missed\x20changesets!','[FetchMissState]','_showConflictNotification','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','byteOffset','_logService','key','authzUrl','hostname','CHANGESET_SHOULD_RETRY','_createInitialStateImpl','save\x20fail\x20reason\x20is\x20','ReplaySubject','_updateLocalCache','@univerjs/network','c1Prime','HMAC','getCurrentSelections','_event$','incrementRevOfUnit','_commandService','ceil','MSG_FOR_ERROR','UnitEmbedded','_retryCount','FetchingMissState','SessionStatus','INVITE_CODE_HAS_BEEN_UES','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Module','Optional','_sendHeartbeatTimer','disableLocalCache','merge','ONLINE','[PendingState]:\x20received\x20rejection.','LOGIN_TOKEN_PROCESSING_FAILED','DEFAULT_FILE_NAME','from','SUCCUSS','AWAITING','cfg','getMemberID','enc','LIVESHARE_OPERATION','_commentUpdate$','LIVESHARE_FETCH_OPERATIONS','objectID','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_hash','ImageUploadStatusType','transformStack\x20failed!','UNKNOWN_CMD','_status$','__Key__','LICENSE_DISTRO_REJECTED','error$','post','/universer-api/stream/file/upload','HELLO','max','SOCKET_FAILED','AwaitingState','_telemetryInfo','/universer-api/user/session-ticket','?url=','toggleOffline','uniscriptRunEvent','FAIL','Subject','NO_OTHER_CLIENTS_EDITING','enableCollaboration','list','_process','_keyPriorReset','_scheduleCompleteTimestamp','ENTITLE_NEED_BILLING_ADDRESS','BlockCipherMode','stringify','find','_collaborationUIEventService','auth.needGotoLoginAlert','getResourcesRequest','EMAIL_HAS_BEEN_BOUND','_initUnitPermissionChange','PERMISSION_REJ','[CollaborationSessionService]','session.room-permission-denied','YUUMI_NO_CUBOID_FOR_QUESTION','next','CBC','CLOSE_ROOM','_removeRoom','UNIVER_UNKNOWN','_change$','location','BufferedBlockAlgorithm','reverse','_timeoutTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','1297865YMucoc','Latin1','APPLY_DUPLICATED','NOT_COLLAB','_onConnectionOpen','transformUndoRedo','LIVESHARE_TERMINATE','snapshotServerUrl','onTransformRemoteChangesetByIMECache','SUBMIT_CHANGESET_TIMEOUT','reqId','_minBufferSize','_mode','getConfig','exports','_onUserJoin','YUUMI_URL_COL_OUT_OF_RANGE','random','then','_transformRemoteChangesetByIMECache','_onRecvEvent','_clearHeartbeatTimer','workbook','splice','pending','readyForCollab','CompressMutationService','_map','onSyncEditingCollabCursor','getUnitOnRev','SheetPermissionInitController','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_syncEditingCollabCursor','LIVESHARE_REQUEST_HOST','localeService','textEncoder','session','_initMergeInterceptor','getRandomValues','_userManagerService','USERS_LEAVE','headers','_clearUndo','ALREADY_EXISTS','HttpExport','COMPLETION_FINISHED','code','memberID','RichTextEditingMutation','buffer','_networkConditionService','_waitCount','fromCharCode','CONNECTOR_DATA_TOO_LARGE','sid','substr','/universer-api/authz','CONFLICT','body','asObservable','[OfflineState]:\x20received\x20acknowledgement.','close$','3138lrOVOJ','ivSize','_isPermissionRej','cmd','unsubscribe','patch','confirm','getInterceptPoints','ThresholdInterceptorFactory','SheetsSelectionsService','updateOfflineData','LOGIN_FAILED','_sessionStatus$','_createHandler','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','getImage','IPermissionService','_iv','_stopTelemetryCollaborationNewChangeset','HTTPService','file','_sessions','\x0aAfter:\x20','equals','_clearCollaborationTimeoutTimer','enableAuthServer','REDEMPTION_CODE_INACTIVE','_changesetReqId','[PendingState]:\x20received\x20acknowledgement.','_createSocket','ImageSourceType','INVALID_ARGUMENT','ENTITLE_CHAT_LIMIT_EXCEED','isArray','forEach','localCacheService','entityInit$','image/bmp','send','IContextService','_collaborationPaused','CollaborationSession','fetchMissingChangesets','2149sjqSKa','getWorkbookSelections','OFFLINE','_ENC_XFORM_MODE','LIVESHARE_NEW_HOST','CollaborationSocketService','getCollabEntity$','padding','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','iterations','_state','_onMessage','shouldCloseConn','setWaitCount','TOO_MANY_REQUESTS','params','_permissionService','clamp','UniverCollaborationClientPlugin','_memberService','ERROR_EXCEED_SIZE','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','loadUnit','70ZodXYR','CURRENT_STATUS_CANNOT_OPERATE','_createHmacHelper','isTransformMutationsWithChangesetSuccess','_collabSessionService','_type','INTERNAL_ERROR','clear','INVITE_CODE_ALREADY_BOUND','UniverCore','_httpService','INetworkConditionService','_getAPIPrefixPath','REDEMPTION_CODE_FULLY_REDEEMED','[CollaborationSession]','_getUploadFileURL','_commentService','requestParams','href','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_members','mixIn','RECV','POST','onRemoteRetry','[SyncedState]:\x20received\x20acknowledgement.','onCommandExecuted','Failed\x20to\x20update\x20permission\x20point','sheets','unitInfo$','Malformed\x20UTF-8\x20data','_createHelper','_sheetTransformSelectionsService','_socketReady','USERS_ENTER','NoPadding','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','liveShareNewHost','IAuthzIoService','_key','_sender','Workbook','PendingState','onRemoteRej','awaitingChangeset','changesets','downloadEndpointUrl','loadSheet','_socketService','take','commentUpdate$','_config','encodeURIComponent','_members$','getUnit','MentionIoHttpService','liveShareOperation','onRemoteChangeset','transformSelections','size','isInternalEditorID','CollaborationUIEventService','AES','image/jpg','extend','UserManagerService','appendMutation','hasher','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverDrawing','_fetchMissChangesets','?size=','interceptor','/-/object/-/batch_allowed','sin','_awaitingChangeset','image/gif','socket\x20close','_roomCreated$','debug','_onRemoteChangeset','retryConnectingInterval','USER_NOT_INVITED_CODE','fetching\x20missing\x20changesets\x20from\x20','PY_RUNTIME_SCRIPT_ERROR','_clearTimeoutTimer','getCurrentRevOfUnit','/allowed','getFocusedUnit','rxjs','joinRsp','People','capture','online$','ICommandService','dispose','WorkbookEditablePermission','getLatestCsReqIdBySid','Error\x20on\x20receiving\x20event','_transformIMECache','SyncedState','msCrypto','IDLE','createDecryptor','reject','SNAPSHOT_URL_KEY','_eventService','_onLocalMutation','/collaborator','blockSize','charCodeAt','url','startTime','CollaborationStatus','UniverProCollaborationClient','_reverseMap','[UniverCollaborationClientPlugin]','keySize','UniverSheets','collaborators','_startTelemetryCollaborationNewChangeset','parse','SheetCollaborationEntity','_initCloseConn','UNIVER_COLLABORATION_CLIENT_PLUGIN','mode','join','Encryptor','requireSession','onStateChange','algo','setShowComponents','$super','roles','LEAVE','_unlockTransition','MemberService','sigBytes','univer-pro.collaboration-client.single-active-unit-service','[PendingState]:\x20unhandled\x20univer\x20type:\x20','DocCollaborationEntity','CollaborationSessionService','UNKNOWN_CODE','charAt','_retryConnectingTimer','PAYMENT_CHANNEL_NOT_SUPPORT','connection\x20error','get','_applyRemoteChangeset','InsertSheetMutation','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','result','loadDoc','concat','userID','MentionType','_sendingTimer','createSocket','_onJoinRoomEvent','filter','_unitInfo$','registerHTTPInterceptor','_getSignURL','_resendTimer','ERROR_AGAIN','initWorkbookPermissionChange','delete','HmacSHA1'];_0x44db=function(){return _0x28651c;};return _0x44db();}(function(_0x1dd14f,_0x56d8ed){var _0x447e10=_0x532f,_0x19d4ac=_0x1dd14f();while(!![]){try{var _0x5480fc=parseInt(_0x447e10(0x1db))/0x1*(-parseInt(_0x447e10(0x1f9))/0x2)+-parseInt(_0x447e10(0x100))/0x3*(-parseInt(_0x447e10(0x189))/0x4)+parseInt(_0x447e10(0x295))/0x5+-parseInt(_0x447e10(0x2d3))/0x6*(parseInt(_0x447e10(0x2ff))/0x7)+-parseInt(_0x447e10(0x40f))/0x8+parseInt(_0x447e10(0x206))/0x9*(-parseInt(_0x447e10(0x316))/0xa)+parseInt(_0x447e10(0x1f5))/0xb;if(_0x5480fc===_0x56d8ed)break;else _0x19d4ac['push'](_0x19d4ac['shift']());}catch(_0x3a5ecb){_0x19d4ac['push'](_0x19d4ac['shift']());}}}(_0x44db,0xea253),function(_0x3ff5c3,_0x1cf5e0){var _0xe7f8c3=_0x532f;typeof exports=='object'&&typeof module<'u'?_0x1cf5e0(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0xe7f8c3(0x127)&&define['amd']?define([_0xe7f8c3(0x2a3),_0xe7f8c3(0x1d4),_0xe7f8c3(0x102),_0xe7f8c3(0xf0),'@univerjs/sheets',_0xe7f8c3(0x370),'@univerjs/telemetry',_0xe7f8c3(0x216),_0xe7f8c3(0x23e),_0xe7f8c3(0x9f),_0xe7f8c3(0x3dc)],_0x1cf5e0):(_0x3ff5c3=typeof globalThis<'u'?globalThis:_0x3ff5c3||self,_0x1cf5e0(_0x3ff5c3[_0xe7f8c3(0x389)]={},_0x3ff5c3['UniverProCollaboration'],_0x3ff5c3[_0xe7f8c3(0x31f)],_0x3ff5c3[_0xe7f8c3(0x41c)],_0x3ff5c3[_0xe7f8c3(0x38d)],_0x3ff5c3[_0xe7f8c3(0x370)],_0x3ff5c3['UniverTelemetry'],_0x3ff5c3['rxjs'][_0xe7f8c3(0x91)],_0x3ff5c3[_0xe7f8c3(0x14f)],_0x3ff5c3[_0xe7f8c3(0x35c)],_0x3ff5c3[_0xe7f8c3(0x16d)]));}(this,function(_0x247d18,_0x4f9634,_0x112078,_0x171cda,_0x44a4a2,_0x1909d3,_0x1782f1,_0x57d774,_0x1b0b18,_0x4b9ee5,_0x236deb){'use strict';var _0x46a189=_0x532f;var _0x3f386d=Object[_0x46a189(0x122)],_0x2a6c22=(_0x4525f8,_0x3c351a,_0x565171)=>_0x3c351a in _0x4525f8?_0x3f386d(_0x4525f8,_0x3c351a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x565171}):_0x4525f8[_0x3c351a]=_0x565171,_0x25aa6e=(_0x56ef5b,_0x5a9b84,_0x1eafcd)=>_0x2a6c22(_0x56ef5b,typeof _0x5a9b84!=_0x46a189(0x1a0)?_0x5a9b84+'':_0x5a9b84,_0x1eafcd);const _0x22f59e=_0x46a189(0x421),_0x30d808=_0x46a189(0x380),_0x1cfacc=_0x46a189(0x1ec),_0x35d64c=_0x46a189(0x271),_0x3dbfa6=_0x46a189(0x3ea),_0x375a07=_0x46a189(0x3d2),_0x302883=_0x46a189(0x204),_0x2ccf29=_0x46a189(0x406),_0x18fa10='/universer-api/comb',_0x1c9c58='/universer-api/oidc/authpage',_0x475e7c=_0x46a189(0x24c),_0x3f6e73=_0x46a189(0x41f);var _0x169ac9=(_0x45a58d=>(_0x45a58d[_0x45a58d['UNDEFINED']=0x0]=_0x46a189(0x13d),_0x45a58d[_0x45a58d['OK']=0x1]='OK',_0x45a58d[_0x45a58d[_0x46a189(0x31c)]=0x2]=_0x46a189(0x31c),_0x45a58d[_0x45a58d[_0x46a189(0x192)]=0x3]=_0x46a189(0x192),_0x45a58d[_0x45a58d[_0x46a189(0x88)]=0x4]=_0x46a189(0x88),_0x45a58d[_0x45a58d[_0x46a189(0xd7)]=0x5]=_0x46a189(0xd7),_0x45a58d[_0x45a58d['ALREADY_EXISTS']=0x6]=_0x46a189(0x2c0),_0x45a58d[_0x45a58d[_0x46a189(0x2f3)]=0x7]=_0x46a189(0x2f3),_0x45a58d[_0x45a58d[_0x46a189(0x30d)]=0x8]=_0x46a189(0x30d),_0x45a58d[_0x45a58d[_0x46a189(0x2c2)]=0x9]='COMPLETION_FINISHED',_0x45a58d[_0x45a58d[_0x46a189(0x2de)]=0xa]=_0x46a189(0x2de),_0x45a58d[_0x45a58d[_0x46a189(0x3f0)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x45a58d[_0x45a58d[_0x46a189(0x17e)]=0xc]=_0x46a189(0x17e),_0x45a58d[_0x45a58d[_0x46a189(0xe9)]=0xd]=_0x46a189(0xe9),_0x45a58d[_0x45a58d[_0x46a189(0x32a)]=0xe]=_0x46a189(0x32a),_0x45a58d[_0x45a58d[_0x46a189(0x3c0)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x45a58d[_0x45a58d[_0x46a189(0x254)]=0x10]=_0x46a189(0x254),_0x45a58d[_0x45a58d[_0x46a189(0x317)]=0x64]=_0x46a189(0x317),_0x45a58d[_0x45a58d[_0x46a189(0x3bb)]=0x65]=_0x46a189(0x3bb),_0x45a58d[_0x45a58d[_0x46a189(0x3c3)]=0xc9]=_0x46a189(0x3c3),_0x45a58d[_0x45a58d[_0x46a189(0x12d)]=0xca]=_0x46a189(0x12d),_0x45a58d[_0x45a58d[_0x46a189(0xac)]=0x1389]=_0x46a189(0xac),_0x45a58d[_0x45a58d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x46a189(0x152),_0x45a58d[_0x45a58d[_0x46a189(0x420)]=0x1772]=_0x46a189(0x420),_0x45a58d[_0x45a58d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x46a189(0x16b),_0x45a58d[_0x45a58d[_0x46a189(0x3eb)]=0x1b59]=_0x46a189(0x3eb),_0x45a58d[_0x45a58d[_0x46a189(0x107)]=0x1b5a]=_0x46a189(0x107),_0x45a58d[_0x45a58d[_0x46a189(0x162)]=0x1b5b]=_0x46a189(0x162),_0x45a58d[_0x45a58d[_0x46a189(0x3bf)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x45a58d[_0x45a58d[_0x46a189(0x297)]=0x1b5d]=_0x46a189(0x297),_0x45a58d[_0x45a58d[_0x46a189(0x2ca)]=0x1f41]=_0x46a189(0x2ca),_0x45a58d[_0x45a58d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x46a189(0xdd),_0x45a58d[_0x45a58d[_0x46a189(0x21b)]=0x232a]=_0x46a189(0x21b),_0x45a58d[_0x45a58d[_0x46a189(0x1f8)]=0x232b]=_0x46a189(0x1f8),_0x45a58d[_0x45a58d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x46a189(0x19f),_0x45a58d[_0x45a58d[_0x46a189(0x268)]=0x232d]=_0x46a189(0x268),_0x45a58d[_0x45a58d[_0x46a189(0xdb)]=0x2711]=_0x46a189(0xdb),_0x45a58d[_0x45a58d[_0x46a189(0x2a5)]=0x2712]=_0x46a189(0x2a5),_0x45a58d[_0x45a58d['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x45a58d[_0x45a58d[_0x46a189(0xda)]=0x2714]=_0x46a189(0xda),_0x45a58d[_0x45a58d[_0x46a189(0x289)]=0x271a]=_0x46a189(0x289),_0x45a58d[_0x45a58d[_0x46a189(0xc6)]=0x271b]=_0x46a189(0xc6),_0x45a58d[_0x45a58d[_0x46a189(0x261)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x45a58d[_0x45a58d['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x45a58d[_0x45a58d[_0x46a189(0x35b)]=0x271e]=_0x46a189(0x35b),_0x45a58d[_0x45a58d[_0x46a189(0x424)]=0x271f]=_0x46a189(0x424),_0x45a58d[_0x45a58d[_0x46a189(0x1e8)]=0x2720]=_0x46a189(0x1e8),_0x45a58d[_0x45a58d[_0x46a189(0x36b)]=0x2af9]=_0x46a189(0x36b),_0x45a58d[_0x45a58d['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x46a189(0x24b),_0x45a58d[_0x45a58d[_0x46a189(0x1ae)]=0x2ee2]=_0x46a189(0x1ae),_0x45a58d[_0x45a58d[_0x46a189(0xa0)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x45a58d[_0x45a58d[_0x46a189(0x369)]=0x2ee4]=_0x46a189(0x369),_0x45a58d[_0x45a58d[_0x46a189(0x31e)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x45a58d[_0x45a58d[_0x46a189(0x87)]=0x32c9]=_0x46a189(0x87),_0x45a58d[_0x45a58d[_0x46a189(0x20e)]=0x32ca]=_0x46a189(0x20e),_0x45a58d[_0x45a58d[_0x46a189(0x284)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x45a58d[_0x45a58d[_0x46a189(0x199)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x45a58d[_0x45a58d[_0x46a189(0x13c)]=0x36b2]=_0x46a189(0x13c),_0x45a58d[_0x45a58d[_0x46a189(0x103)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x45a58d[_0x45a58d[_0x46a189(0x3a8)]=0x36b4]=_0x46a189(0x3a8),_0x45a58d[_0x45a58d[_0x46a189(0x2f4)]=0x3715]=_0x46a189(0x2f4),_0x45a58d[_0x45a58d[_0x46a189(0x15d)]=0x3716]=_0x46a189(0x15d),_0x45a58d[_0x45a58d[_0x46a189(0x207)]=0x3717]=_0x46a189(0x207),_0x45a58d[_0x45a58d[_0x46a189(0x27d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x45a58d[_0x45a58d[_0x46a189(0x3c1)]=0x3a99]=_0x46a189(0x3c1),_0x45a58d[_0x45a58d[_0x46a189(0x2ee)]=0x3a9a]=_0x46a189(0x2ee),_0x45a58d[_0x45a58d[_0x46a189(0x323)]=0x3a9b]=_0x46a189(0x323),_0x45a58d[_0x45a58d[_0x46a189(0x20a)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x45a58d[_0x45a58d['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x46a189(0x403),_0x45a58d[_0x45a58d[_0x46a189(0x2b4)]=0x3a9e]=_0x46a189(0x2b4),_0x45a58d[_0x45a58d['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x46a189(0x161),_0x45a58d[_0x45a58d['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x46a189(0x1f6),_0x45a58d[_0x45a58d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x45a58d))(_0x169ac9||{}),_0x193e02=(_0x307967=>(_0x307967[_0x307967[_0x46a189(0x28e)]=0x0]=_0x46a189(0x28e),_0x307967[_0x307967['UNIVER_DOC']=0x1]=_0x46a189(0x140),_0x307967[_0x307967['UNIVER_SHEET']=0x2]=_0x46a189(0x18b),_0x307967[_0x307967[_0x46a189(0xd1)]=0x3]=_0x46a189(0xd1),_0x307967[_0x307967[_0x46a189(0x14c)]=0x4]='UNIVER_PROJECT',_0x307967[_0x307967[_0x46a189(0x415)]=-0x1]=_0x46a189(0x415),_0x307967))(_0x193e02||{}),_0x32720a=(_0x57b738=>(_0x57b738[_0x57b738[_0x46a189(0x265)]=0x0]=_0x46a189(0x265),_0x57b738[_0x57b738[_0x46a189(0x26c)]=0x1]='HELLO',_0x57b738[_0x57b738['JOIN']=0x2]=_0x46a189(0xd0),_0x57b738[_0x57b738[_0x46a189(0x39d)]=0x3]='LEAVE',_0x57b738[_0x57b738[_0x46a189(0x191)]=0x4]='INGEST',_0x57b738[_0x57b738[_0x46a189(0x226)]=0x5]=_0x46a189(0x226),_0x57b738[_0x57b738[_0x46a189(0x32d)]=0x6]=_0x46a189(0x32d),_0x57b738[_0x57b738[_0x46a189(0x415)]=-0x1]=_0x46a189(0x415),_0x57b738))(_0x32720a||{}),_0x142cf7=(_0x500a0c=>(_0x500a0c[_0x500a0c['UNKNOWN_CODE']=0x0]=_0x46a189(0x3a5),_0x500a0c[_0x500a0c['OK']=0x1]='OK',_0x500a0c[_0x500a0c['FAIL']=0x2]='FAIL',_0x500a0c[_0x500a0c[_0x46a189(0x409)]=0x3e9]=_0x46a189(0x409),_0x500a0c[_0x500a0c[_0x46a189(0x190)]=0x3ea]=_0x46a189(0x190),_0x500a0c[_0x500a0c[_0x46a189(0x15e)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x500a0c[_0x500a0c[_0x46a189(0x92)]=0x3ec]=_0x46a189(0x92),_0x500a0c[_0x500a0c[_0x46a189(0x415)]=-0x1]=_0x46a189(0x415),_0x500a0c))(_0x142cf7||{}),_0x6a4310=(_0x71b615=>(_0x71b615[_0x71b615[_0x46a189(0x1ee)]=0x0]=_0x46a189(0x1ee),_0x71b615[_0x71b615['HttpImport']=0x1]=_0x46a189(0x136),_0x71b615[_0x71b615[_0x46a189(0x2c1)]=0x2]=_0x46a189(0x2c1),_0x71b615[_0x71b615[_0x46a189(0x247)]=0x3]=_0x46a189(0x247),_0x71b615[_0x71b615[_0x46a189(0x1e1)]=0x4]=_0x46a189(0x1e1),_0x71b615[_0x71b615['UserProfileImg']=0x5]='UserProfileImg',_0x71b615[_0x71b615[_0x46a189(0x1b7)]=0x6]=_0x46a189(0x1b7),_0x71b615[_0x71b615[_0x46a189(0x415)]=-0x1]='UNRECOGNIZED',_0x71b615))(_0x6a4310||{});const _0x31a0de='collaboration_new_changeset';function _0x5170bd(_0x4c3de5){var _0xe7d2e5=_0x46a189;return JSON[_0xe7d2e5(0x27f)](_0x4c3de5)[_0xe7d2e5(0x86)];}var _0xee750e=(_0x18023d=>(_0x18023d[_0x46a189(0x126)]='OTHER_CLIENT_EDITING',_0x18023d['PERMISSION_DENIED']='PERMISSION_DENIED',_0x18023d[_0x46a189(0x2ce)]=_0x46a189(0x2ce),_0x18023d[_0x46a189(0x28c)]='CLOSE_ROOM',_0x18023d['JOIN_ROOM_FAILED']=_0x46a189(0x17f),_0x18023d['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x18023d['SOCKET_FAILED']='SOCKET_FAILED',_0x18023d[_0x46a189(0x29e)]='SUBMIT_CHANGESET_TIMEOUT',_0x18023d))(_0xee750e||{});class _0x12b7ba{constructor(){var _0x14992d=_0x46a189;_0x25aa6e(this,'_event$',new _0x1909d3[(_0x14992d(0x276))]()),_0x25aa6e(this,_0x14992d(0xd4),this[_0x14992d(0x242)]['asObservable']());}[_0x46a189(0xe5)](_0x417e97){var _0x3b9f9d=_0x46a189;this['_event$'][_0x3b9f9d(0x28a)](_0x417e97);}}class _0x4b3801{constructor(){var _0x917324=_0x46a189;_0x25aa6e(this,'_commentUpdate$',new _0x1909d3['Subject']()),_0x25aa6e(this,_0x917324(0x349),this[_0x917324(0x25d)][_0x917324(0x2d0)]());}['onCommentUpdate'](_0x29a07a){var _0x12abf5=_0x46a189;this['_commentUpdate$'][_0x12abf5(0x28a)](_0x29a07a);}}var _0x5178df=Object[_0x46a189(0x1d1)],_0x10812b=(_0x493b55,_0x31989a,_0x1b9379,_0x2fc5f9)=>{var _0x4a596c=_0x46a189;for(var _0x529dda=_0x2fc5f9>0x1?void 0x0:_0x2fc5f9?_0x5178df(_0x31989a,_0x1b9379):_0x31989a,_0x95f1b9=_0x493b55[_0x4a596c(0x86)]-0x1,_0x506b6e;_0x95f1b9>=0x0;_0x95f1b9--)(_0x506b6e=_0x493b55[_0x95f1b9])&&(_0x529dda=_0x506b6e(_0x529dda)||_0x529dda);return _0x529dda;},_0x226330=(_0x36f549,_0x2fb304)=>(_0x2f5581,_0x1f236c)=>_0x2fb304(_0x2f5581,_0x1f236c,_0x36f549);_0x247d18[_0x46a189(0x39f)]=class extends _0x112078[_0x46a189(0x426)]{constructor(_0x1310e9,_0x17b136){var _0x27763=_0x46a189;super(),_0x25aa6e(this,_0x27763(0x219),new Map()),_0x25aa6e(this,'_roomCreated$',new _0x1909d3[(_0x27763(0x276))]()),(this[_0x27763(0x3cf)]=_0x1310e9,this['_userManagerService']=_0x17b136,this[_0x27763(0x13a)](_0x1909d3[_0x27763(0x251)](this[_0x27763(0x3cf)][_0x27763(0x3d6)](_0x112078[_0x27763(0x164)]['UNIVER_SHEET'])[_0x27763(0x41a)](_0x57d774[_0x27763(0xb5)](_0x412ac1=>_0x412ac1[_0x27763(0x9c)]())),this['_univerInstanceService'][_0x27763(0x3d6)](_0x112078[_0x27763(0x164)]['UNIVER_DOC'])[_0x27763(0x41a)](_0x57d774['map'](_0x3e53fa=>_0x3e53fa['getUnitId']())),this[_0x27763(0x3cf)][_0x27763(0x3d6)](_0x112078[_0x27763(0x164)][_0x27763(0xd1)])['pipe'](_0x57d774['map'](_0x5a3970=>_0x5a3970[_0x27763(0x9c)]())))[_0x27763(0x153)](_0x37879c=>this[_0x27763(0x28d)](_0x37879c))));}[_0x46a189(0x12f)](_0x30d39e){var _0x22498b=_0x46a189;return this[_0x22498b(0x219)][_0x22498b(0x10b)](_0x30d39e)?_0x1909d3['of'](this['_roomMembers'][_0x22498b(0x3aa)](_0x30d39e)):this[_0x22498b(0x365)][_0x22498b(0x41a)](_0x57d774[_0x22498b(0xb5)](_0x38ad1b=>{var _0x4ed957=_0x22498b;if(_0x38ad1b===_0x30d39e)return this[_0x4ed957(0x219)][_0x4ed957(0x3aa)](_0x38ad1b);}));}[_0x46a189(0x3c4)](_0x50fc61){var _0x1074a3=_0x46a189;this[_0x1074a3(0x2bc)]['setCurrentUser'](_0x50fc61);}[_0x46a189(0x13b)](){var _0x51d8e3=_0x46a189;return this[_0x51d8e3(0x2bc)][_0x51d8e3(0x13b)]();}[_0x46a189(0x135)](_0x5a2c63,_0xdbf0d2){var _0x7e8a3c=_0x46a189;let _0x18be40=this['_roomMembers']['get'](_0x5a2c63);_0x18be40||(_0x18be40=new _0x8f18a2(),this[_0x7e8a3c(0x219)][_0x7e8a3c(0xf3)](_0x5a2c63,_0x18be40),this[_0x7e8a3c(0x365)][_0x7e8a3c(0x28a)](_0x5a2c63)),_0x18be40[_0x7e8a3c(0x135)](_0xdbf0d2);}[_0x46a189(0x106)](_0x3de89b,_0x8d3a43){var _0x267127=_0x46a189;const _0x49d129=this[_0x267127(0x219)][_0x267127(0x3aa)](_0x3de89b);_0x49d129&&_0x49d129[_0x267127(0x106)](_0x8d3a43);}['getRoom'](_0x485367){var _0x5d8f02=_0x46a189;return this[_0x5d8f02(0x219)][_0x5d8f02(0x3aa)](_0x485367);}[_0x46a189(0x9a)](_0x79a973,_0x1e8b0c){var _0x2a2188=_0x46a189;const _0x297339=this[_0x2a2188(0x219)][_0x2a2188(0x3aa)](_0x79a973);if(_0x297339)return _0x297339[_0x2a2188(0x9a)](_0x1e8b0c);}[_0x46a189(0x28d)](_0x1adacb){var _0x3f7099=_0x46a189;const _0x219fc2=this[_0x3f7099(0x219)]['get'](_0x1adacb);_0x219fc2&&(_0x219fc2[_0x3f7099(0x376)](),this[_0x3f7099(0x219)][_0x3f7099(0x3bd)](_0x1adacb));}[_0x46a189(0x376)](){var _0x1790b0=_0x46a189;this[_0x1790b0(0x219)][_0x1790b0(0x2f6)](_0x51d581=>_0x51d581[_0x1790b0(0x376)]()),this[_0x1790b0(0x219)][_0x1790b0(0x31d)](),this['_roomCreated$'][_0x1790b0(0x1c3)]();}},_0x247d18[_0x46a189(0x39f)]=_0x10812b([_0x226330(0x0,_0x112078[_0x46a189(0x93)]),_0x226330(0x1,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x358)]))],_0x247d18[_0x46a189(0x39f)]);class _0x8f18a2 extends _0x112078[_0x46a189(0x426)]{constructor(){var _0x24eb48=_0x46a189;super(...arguments),_0x25aa6e(this,_0x24eb48(0x32b),new Map()),_0x25aa6e(this,_0x24eb48(0x34c),new _0x1909d3['BehaviorSubject'](this[_0x24eb48(0x32b)])),_0x25aa6e(this,'members$',this[_0x24eb48(0x34c)]['asObservable']());}[_0x46a189(0x376)](){var _0x1cba53=_0x46a189;this['_members'][_0x1cba53(0x31d)]();}[_0x46a189(0x135)](_0x473519){var _0x3fb3cc=_0x46a189;this[_0x3fb3cc(0x32b)][_0x3fb3cc(0xf3)](_0x473519['memberID'],_0x473519),this['_emitMembers']();}['removeMember'](_0x4e323b){var _0x439dda=_0x46a189;this[_0x439dda(0x32b)][_0x439dda(0x3bd)](_0x4e323b);}[_0x46a189(0x9a)](_0x3571d6){var _0x1bc299=_0x46a189;return this[_0x1bc299(0x32b)]['get'](_0x3571d6);}[_0x46a189(0x114)](){var _0x55935d=_0x46a189;return Array[_0x55935d(0x256)](this[_0x55935d(0x32b)][_0x55935d(0x17b)]());}[_0x46a189(0x1be)](){var _0x859ac7=_0x46a189;this[_0x859ac7(0x34c)][_0x859ac7(0x28a)](this[_0x859ac7(0x32b)]);}}var _0x1384ba=Object['getOwnPropertyDescriptor'],_0x2aeca1=(_0x31341b,_0x408785,_0x329157,_0x45e07d)=>{for(var _0x4af454=_0x45e07d>0x1?void 0x0:_0x45e07d?_0x1384ba(_0x408785,_0x329157):_0x408785,_0x330ad5=_0x31341b['length']-0x1,_0x4c6ae9;_0x330ad5>=0x0;_0x330ad5--)(_0x4c6ae9=_0x31341b[_0x330ad5])&&(_0x4af454=_0x4c6ae9(_0x4af454)||_0x4af454);return _0x4af454;},_0x5bc123=(_0x3f688c,_0x4dcc57)=>(_0x3e57df,_0x744d43)=>_0x4dcc57(_0x3e57df,_0x744d43,_0x3f688c),_0x4f1434=(_0x3956ba=>(_0x3956ba[_0x3956ba[_0x46a189(0x37d)]=0x0]=_0x46a189(0x37d),_0x3956ba[_0x3956ba[_0x46a189(0x180)]=0x1]=_0x46a189(0x180),_0x3956ba[_0x3956ba['OFFLINE']=0x2]=_0x46a189(0x301),_0x3956ba[_0x3956ba[_0x46a189(0x252)]=0x3]=_0x46a189(0x252),_0x3956ba))(_0x4f1434||{});const _0x51a3a6={[_0x142cf7[_0x46a189(0x275)]]:_0x46a189(0x220),[_0x142cf7[_0x46a189(0x409)]]:'session.room-full',[_0x142cf7[_0x46a189(0x190)]]:'session.room-not-exists',[_0x142cf7['JOIN_ROOM_PERMISSION_DENIED']]:_0x46a189(0x288),[_0x142cf7[_0x46a189(0x92)]]:_0x46a189(0x13e)};_0x247d18[_0x46a189(0x2fd)]=class extends _0x112078[_0x46a189(0x113)]{constructor(_0x1f4042,_0x14430d,_0xb64d32,_0x404b49,_0x34f835,_0x52ceba,_0x4914c8,_0x5cfa75){var _0x3298e9=_0x46a189;super(),_0x25aa6e(this,_0x3298e9(0x2df),new _0x1909d3[(_0x3298e9(0xf5))](0x0)),_0x25aa6e(this,_0x3298e9(0x1f2),this[_0x3298e9(0x2df)]['asObservable']()),_0x25aa6e(this,_0x3298e9(0x242),new _0x1909d3[(_0x3298e9(0x276))]()),_0x25aa6e(this,_0x3298e9(0xd4),this['_event$'][_0x3298e9(0x2d0)]()),_0x25aa6e(this,_0x3298e9(0xd5)),_0x25aa6e(this,_0x3298e9(0x228)),_0x25aa6e(this,_0x3298e9(0xa3)),_0x25aa6e(this,_0x3298e9(0xf9),!0x1),_0x25aa6e(this,_0x3298e9(0x270),null),(this[_0x3298e9(0x3dd)]=_0x1f4042,this[_0x3298e9(0x235)]=_0xb64d32,this[_0x3298e9(0xad)]=_0x404b49,this[_0x3298e9(0x312)]=_0x34f835,this[_0x3298e9(0x326)]=_0x52ceba,this[_0x3298e9(0x281)]=_0x4914c8,this[_0x3298e9(0xe7)]=_0x5cfa75,this['_shouldReportTelemetry']=!!this[_0x3298e9(0xe7)],_0x14430d[_0x3298e9(0x41a)](_0x1909d3[_0x3298e9(0x1ea)](this[_0x3298e9(0x98)]))[_0x3298e9(0x153)](_0x580b78=>{var _0x532f5e=_0x3298e9,_0x56994a;typeof _0x580b78>'u'||(this[_0x532f5e(0xd5)]=_0x580b78,_0x580b78?(this[_0x532f5e(0x1dd)](_0x580b78),this[_0x532f5e(0x228)]=_0x580b78['message$']['subscribe'](_0x35ec51=>{var _0xcb3d2c=_0x532f5e;_0x35ec51[_0xcb3d2c(0xb1)]===this['_unitID']&&this[_0xcb3d2c(0x3f9)](_0x35ec51);})):(this[_0x532f5e(0x1b5)](),this[_0x532f5e(0x2df)][_0x532f5e(0x28a)](0x2),(_0x56994a=this[_0x532f5e(0x228)])==null||_0x56994a[_0x532f5e(0x2d7)](),this[_0x532f5e(0x228)]=null));}));}get[_0x46a189(0x3fa)](){var _0xbaaac5=_0x46a189;return this[_0xbaaac5(0x2df)]['getValue']();}[_0x46a189(0x25a)](){var _0x1335a3=_0x46a189,_0x6d8109,_0x541133;return(_0x541133=(_0x6d8109=this['_socket'])==null?void 0x0:_0x6d8109[_0x1335a3(0x2c4)])!=null?_0x541133:null;}[_0x46a189(0x376)](){var _0xe67f98=_0x46a189;super[_0xe67f98(0x376)](),this[_0xe67f98(0x98)][_0xe67f98(0x28a)](),this['dispose$'][_0xe67f98(0x1c3)]();}[_0x46a189(0xbc)](){var _0x179474=_0x46a189,_0x5967c4,_0x47ea24;this[_0x179474(0x1b5)](),(_0x5967c4=this[_0x179474(0xd5)])==null||_0x5967c4[_0x179474(0x2fa)]({'cmd':_0x32720a[_0x179474(0x39d)],'data':{'roomID':this[_0x179474(0x3dd)]}}),(_0x47ea24=this['_socket'])==null||_0x47ea24['close'](),this[_0x179474(0x242)]['complete'](),this['_sessionStatus$'][_0x179474(0x1c3)](),this[_0x179474(0x376)]();}[_0x46a189(0x3f9)](_0xdda356){var _0x2cacce=_0x46a189;_0xdda356[_0x2cacce(0x2d6)]===_0x32720a['JOIN']?this[_0x2cacce(0x3b5)](_0xdda356):_0xdda356[_0x2cacce(0x2d6)]===_0x32720a[_0x2cacce(0x32d)]&&this[_0x2cacce(0x2a9)](_0xdda356);}[_0x46a189(0x1dd)](_0x5c6826){var _0x537e8c=_0x46a189;this[_0x537e8c(0x2df)]['next'](0x1),_0x5c6826[_0x537e8c(0x2fa)]({'cmd':_0x32720a['JOIN'],'routeKey':this[_0x537e8c(0x3dd)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x46a189(0x3b5)](_0x325a7c){var _0x41a1a9=_0x46a189,_0x34867a;if(_0x325a7c[_0x41a1a9(0x2c3)]in _0x51a3a6){this[_0x41a1a9(0x281)]['emitEvent']({'id':_0xee750e[_0x41a1a9(0x17f)],'data':_0x51a3a6[_0x325a7c[_0x41a1a9(0x2c3)]]}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$'][_0x41a1a9(0x28a)](0x3);const _0x56fd95=(_0x34867a=_0x325a7c[_0x41a1a9(0x3f5)]['roomInfos'][this[_0x41a1a9(0x3dd)]])==null?void 0x0:_0x34867a[_0x41a1a9(0xfa)];_0x56fd95&&_0x56fd95[_0x41a1a9(0x2f6)](_0x2de559=>this[_0x41a1a9(0x312)][_0x41a1a9(0x135)](this[_0x41a1a9(0x3dd)],_0x2de559));}[_0x46a189(0x2a9)](_0x418b68){var _0x15aaa3=_0x46a189;try{const _0x2e2ebf=_0x418b68['data'];switch(_0x2e2ebf[_0x15aaa3(0x3df)]){case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x339)]:this[_0x15aaa3(0x2a4)](_0x2e2ebf),this[_0x15aaa3(0x242)][_0x15aaa3(0x28a)](_0x2e2ebf);break;case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x2bd)]:this[_0x15aaa3(0x3c5)](_0x2e2ebf),this['_event$']['next'](_0x2e2ebf);break;case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x3db)]:case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x239)]:this[_0x15aaa3(0x2e6)](),this[_0x15aaa3(0x2ec)](),this[_0x15aaa3(0x242)][_0x15aaa3(0x28a)](_0x2e2ebf);break;case _0x4f9634[_0x15aaa3(0x3f4)][_0x15aaa3(0x246)]:this[_0x15aaa3(0x235)][_0x15aaa3(0x157)](_0x15aaa3(0x23b)+JSON['stringify'](_0x2e2ebf)),this['_event$'][_0x15aaa3(0x28a)](_0x2e2ebf);break;case _0x4f9634['CollaborationEvent']['COMMENT_UPDATE']:this['_commentService']['onCommentUpdate'](_0x2e2ebf[_0x15aaa3(0x3f5)]),this[_0x15aaa3(0x242)]['next'](_0x2e2ebf);break;default:this[_0x15aaa3(0x242)][_0x15aaa3(0x28a)](_0x2e2ebf);}}catch(_0x26ebcd){this[_0x15aaa3(0x235)]['error'](_0x26ebcd,_0x418b68);}}['_onUserJoin'](_0x510666){var _0x1d4e8e=_0x46a189;this[_0x1d4e8e(0x312)][_0x1d4e8e(0x135)](this[_0x1d4e8e(0x3dd)],_0x510666['data']);}[_0x46a189(0x3c5)](_0x1d6670){var _0x37b399=_0x46a189;this['_memberService'][_0x37b399(0x106)](this[_0x37b399(0x3dd)],_0x1d6670['data']['memberID']);}async[_0x46a189(0x2fa)](_0x5a4511,_0x843b12){var _0x272cbf=_0x46a189;if(this[_0x272cbf(0x3fa)]!==0x3||!this[_0x272cbf(0xd5)])throw new Error(_0x272cbf(0x307));try{_0x5a4511[_0x272cbf(0x3df)]===_0x4f9634[_0x272cbf(0x3f4)][_0x272cbf(0x3f3)]&&(this[_0x272cbf(0x19a)](),this[_0x272cbf(0x38f)](_0x5a4511)),this[_0x272cbf(0xd5)][_0x272cbf(0x2fa)]({'cmd':_0x32720a[_0x272cbf(0x191)],'routeKey':_0x843b12,'routeType':'','data':_0x5a4511});}catch(_0x5db594){this[_0x272cbf(0x235)][_0x272cbf(0x157)](_0x5db594);}}[_0x46a189(0x19a)](){var _0x2e47ca=_0x46a189,_0x42af6b;this[_0x2e47ca(0xa3)]=setTimeout(()=>{var _0xe9ec2f=_0x2e47ca;this[_0xe9ec2f(0xa3)]=null,this[_0xe9ec2f(0x281)][_0xe9ec2f(0xe5)]({'id':_0xee750e['SUBMIT_CHANGESET_TIMEOUT']});},(_0x42af6b=this['_configService']['getConfig'](_0x375a07))!=null?_0x42af6b:0x4e20);}[_0x46a189(0x2ec)](){var _0x4294e4=_0x46a189;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x4294e4(0xa3)]),this[_0x4294e4(0xa3)]=null);}[_0x46a189(0x38f)](_0x60f685){var _0x2c7be0=_0x46a189;if(!this[_0x2c7be0(0xf9)])return;const {data:_0x172094}=_0x60f685,{unitID:_0x113ab3,changeset:_0x422081}=_0x172094,{mutations:_0x356bf4,type:_0x1068e7}=_0x422081;this[_0x2c7be0(0x270)]={'unitId':_0x113ab3,'type':_0x1068e7,'startTime':performance[_0x2c7be0(0x1cc)](),'stopTime':0x0,'duration':0x0,'size':_0x5170bd(_0x356bf4)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x704e94=_0x46a189;if(this[_0x704e94(0xf9)]){if(!this['_telemetryInfo']){this['_logService'][_0x704e94(0x157)](_0x704e94(0x324),_0x704e94(0x41b));return;}this[_0x704e94(0x270)][_0x704e94(0x3ed)]=performance[_0x704e94(0x1cc)](),this['_telemetryInfo'][_0x704e94(0x201)]=this[_0x704e94(0x270)][_0x704e94(0x3ed)]-this[_0x704e94(0x270)][_0x704e94(0x387)],this[_0x704e94(0xe7)][_0x704e94(0x373)](_0x31a0de,this[_0x704e94(0x270)]),this[_0x704e94(0x270)]=null;}}[_0x46a189(0x1b5)](){var _0x33ef8c=_0x46a189;this[_0x33ef8c(0x270)]=null;}},_0x247d18[_0x46a189(0x2fd)]=_0x2aeca1([_0x5bc123(0x2,_0x112078[_0x46a189(0xce)]),_0x5bc123(0x3,_0x112078[_0x46a189(0x22f)]),_0x5bc123(0x4,_0x112078['Inject'](_0x247d18['MemberService'])),_0x5bc123(0x5,_0x112078['Inject'](_0x4b3801)),_0x5bc123(0x6,_0x112078[_0x46a189(0x11e)](_0x12b7ba)),_0x5bc123(0x7,_0x112078[_0x46a189(0x24e)](_0x1782f1[_0x46a189(0xfb)]))],_0x247d18[_0x46a189(0x2fd)]);const _0x1257cc=_0x112078[_0x46a189(0x1fe)](_0x46a189(0x1a2));function _0x37fe5f(_0x4cf76b){return'unit-cache-'+_0x4cf76b;}var _0x3a5878=Object[_0x46a189(0x1d1)],_0x4e1184=(_0x229f6e,_0x1d08ba,_0x182e0d,_0x3cac18)=>{for(var _0x1299d0=_0x3cac18>0x1?void 0x0:_0x3cac18?_0x3a5878(_0x1d08ba,_0x182e0d):_0x1d08ba,_0xb683ab=_0x229f6e['length']-0x1,_0xcdde53;_0xb683ab>=0x0;_0xb683ab--)(_0xcdde53=_0x229f6e[_0xb683ab])&&(_0x1299d0=_0xcdde53(_0x1299d0)||_0x1299d0);return _0x1299d0;},_0x4b5882=(_0xff0538,_0x303e15)=>(_0xf5f05b,_0x3d10a5)=>_0x303e15(_0xf5f05b,_0x3d10a5,_0xff0538);function _0x53c8db(_0x496c32){var _0x598242=_0x46a189;const {unitID:_0x852b40,mutations:_0x2c28ec}=_0x496c32;return{'unitId':_0x852b40,'subUnitId':_0x2c28ec[_0x598242(0x86)]>0x0?_0x2c28ec[0x0][_0x598242(0x30e)]['subUnitId']:null};}_0x247d18['SheetTransformSelectionsService']=class{constructor(_0x43e6f9,_0xec7f45,_0x5ddcab){var _0x2ede86=_0x46a189;this['_injector']=_0x43e6f9,this['_transformService']=_0xec7f45,this[_0x2ede86(0x18f)]=_0x5ddcab;}['transformSelections'](_0x11f8b0){var _0x37cc37=_0x46a189,_0x3838c8,_0x7d2f2,_0x4529d0,_0xbfceee;const _0x411aea=this['_injector'][_0x37cc37(0x3aa)](_0x44a4a2[_0x37cc37(0x2dc)]),{unitId:_0x5d5b8,subUnitId:_0x331700}=_0x53c8db(_0x11f8b0),_0x2bea25=_0x411aea==null?void 0x0:_0x411aea[_0x37cc37(0x300)](_0x5d5b8)[_0x37cc37(0x241)](),_0x331ba8=(_0x7d2f2=(_0x3838c8=this[_0x37cc37(0x18f)][_0x37cc37(0x34d)](_0x5d5b8))==null?void 0x0:_0x3838c8[_0x37cc37(0x21a)]())==null?void 0x0:_0x7d2f2[_0x37cc37(0x221)]();if(_0x2bea25[_0x37cc37(0x86)]===0x0||!_0x5d5b8||!_0x331700)return;const _0x5b5f80=[{'id':_0x44a4a2[_0x37cc37(0x120)]['id'],'params':{'unitId':_0x5d5b8,'subUnitId':_0x331ba8,'selections':_0x112078['Tools'][_0x37cc37(0x428)](_0x2bea25)}}],_0x149875=this['_transformService'][_0x37cc37(0x212)](_0x11f8b0,_0x5b5f80);if(!_0x4f9634[_0x37cc37(0x319)](_0x149875))throw _0x149875['error'];const _0x1b8acc=(_0xbfceee=(_0x4529d0=_0x149875[_0x37cc37(0x1d9)][0x0])==null?void 0x0:_0x4529d0[_0x37cc37(0x30e)])==null?void 0x0:_0xbfceee['selections'];if(Array[_0x37cc37(0x2f5)](_0x1b8acc)&&_0x1b8acc[_0x37cc37(0x86)]){if(_0x1b8acc[_0x37cc37(0x86)]===_0x5b5f80[0x0][_0x37cc37(0x30e)][_0x37cc37(0x202)]['length']&&_0x1b8acc['every']((_0x470069,_0x14c43b)=>_0x112078['Rectangle'][_0x37cc37(0x2eb)](_0x470069[_0x37cc37(0x1cd)],_0x5b5f80[0x0][_0x37cc37(0x30e)][_0x37cc37(0x202)][_0x14c43b][_0x37cc37(0x1cd)])))return;this[_0x37cc37(0x3e1)][_0x37cc37(0x3aa)](_0x112078[_0x37cc37(0x375)])[_0x37cc37(0xc0)](_0x44a4a2['SetSelectionsOperation']['id'],{'unitId':_0x5d5b8,'subUnitId':_0x331ba8,'selections':_0x1b8acc});}}},_0x247d18[_0x46a189(0xc4)]=_0x4e1184([_0x4b5882(0x0,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x4b5882(0x1,_0x4f9634[_0x46a189(0xbe)]),_0x4b5882(0x2,_0x112078[_0x46a189(0x93)])],_0x247d18[_0x46a189(0xc4)]);const _0x51ca0c=_0x112078[_0x46a189(0x1fe)](_0x46a189(0x3a1));var _0xaf572f=(_0x553b74=>(_0x553b74[_0x553b74[_0x46a189(0x277)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x553b74[_0x553b74[_0x46a189(0x14e)]=0x1]=_0x46a189(0x14e),_0x553b74))(_0xaf572f||{});const _0x4f0c7a='collaboration-client.config',_0x13cd5c={},_0x2bc183=new Set([_0x44a4a2[_0x46a189(0x3ac)]['id']]);function _0x20c38c(_0x2e5210,_0x3e2548,_0x361151,_0x1bf89a,_0x237fa0){var _0x2b2f4f=_0x46a189,_0x10a2fb,_0x5629f3,_0x3f6dc5,_0x41713d;const _0x9c8733=[];for(const _0x344be4 of _0x2e5210)if(_0x2bc183[_0x2b2f4f(0x10b)](_0x344be4['id'])){if(_0x9c8733['length']>0x0)break;_0x9c8733[_0x2b2f4f(0x139)](_0x344be4);break;}else _0x9c8733[_0x2b2f4f(0x139)](_0x344be4);const _0x468960=(_0x5629f3=(_0x10a2fb=_0x237fa0[_0x2b2f4f(0x13b)]())==null?void 0x0:_0x10a2fb[_0x2b2f4f(0x3b1)])!=null?_0x5629f3:_0x2b2f4f(0xd2),_0x57727f=(_0x41713d=(_0x3f6dc5=_0x237fa0[_0x2b2f4f(0x13b)]())==null?void 0x0:_0x3f6dc5[_0x2b2f4f(0x2c4)])!=null?_0x41713d:_0x2b2f4f(0xd2);return{'changeset':{'unitID':_0x3e2548,'type':_0x4f9634['mapDocumentTypeToUniverType'](_0x361151['getUnitType'](_0x3e2548)),'baseRev':_0x1bf89a[_0x2b2f4f(0x36d)](_0x3e2548),'revision':0x0,'userID':_0x468960,'memberID':_0x57727f,'mutations':_0x9c8733},'pendingMutations':_0x2e5210[_0x2b2f4f(0x16e)](_0x9c8733[_0x2b2f4f(0x86)])};}function _0x4de314(_0x576e95,_0x38b69d,_0x48e115,_0x5934a6,_0x2d6925){var _0xfe1b14=_0x46a189,_0x258b30,_0x2d5172,_0x5a16bb,_0x13520d;const _0x285bf4=[_0x576e95['reduce']((_0x202b67,_0x2cdf60)=>{var _0x2b9376=_0x532f,_0x4dcdc4;const {id:_0x5715b4}=_0x202b67,{id:_0x396bbb,type:_0xdfffa0}=_0x2cdf60,_0x39e548=(_0x4dcdc4=_0x202b67[_0x2b9376(0x30e)])!=null?_0x4dcdc4:{'actions':null},_0x26f689=_0x2cdf60[_0x2b9376(0x30e)];if(_0x5715b4&&_0x5715b4!==_0x396bbb)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x5715b4+'\x20-\x20'+_0x396bbb+'.');return{..._0x202b67,'id':_0x396bbb,'type':_0xdfffa0,'params':{'unitId':_0x26f689[_0x2b9376(0x124)],'textRanges':_0x26f689[_0x2b9376(0x1e7)],'actions':_0x112078[_0x2b9376(0x3d9)]['compose'](_0x39e548[_0x2b9376(0x163)],_0x26f689['actions'])}};},{})],_0x366684=(_0x2d5172=(_0x258b30=_0x2d6925[_0xfe1b14(0x13b)]())==null?void 0x0:_0x258b30[_0xfe1b14(0x3b1)])!=null?_0x2d5172:_0xfe1b14(0xd2),_0x3fe92b=(_0x13520d=(_0x5a16bb=_0x2d6925[_0xfe1b14(0x13b)]())==null?void 0x0:_0x5a16bb[_0xfe1b14(0x2c4)])!=null?_0x13520d:'unknown';return{'changeset':{'unitID':_0x38b69d,'type':_0x4f9634[_0xfe1b14(0xab)](_0x48e115[_0xfe1b14(0x1c2)](_0x38b69d)),'baseRev':_0x5934a6[_0xfe1b14(0x36d)](_0x38b69d),'revision':0x0,'userID':_0x366684,'memberID':_0x3fe92b,'mutations':_0x285bf4},'pendingMutations':[]};}function _0x8f7348(_0x1c3015,_0x13e0d8){var _0x478d70=_0x46a189;const _0x257237=new _0x1909d3[(_0x478d70(0x23c))](0x1);return setTimeout(()=>_0x257237[_0x478d70(0x28a)](_0x13e0d8),_0x1c3015),_0x257237[_0x478d70(0x2d0)]()[_0x478d70(0x41a)](_0x1909d3[_0x478d70(0x348)](0x1));}var _0x20317f=Object[_0x46a189(0x1d1)],_0x476bd3=(_0x2ef545,_0x8f8e39,_0x12a602,_0x375b16)=>{var _0x4ea487=_0x46a189;for(var _0x2ab777=_0x375b16>0x1?void 0x0:_0x375b16?_0x20317f(_0x8f8e39,_0x12a602):_0x8f8e39,_0x2ab7e0=_0x2ef545[_0x4ea487(0x86)]-0x1,_0x122758;_0x2ab7e0>=0x0;_0x2ab7e0--)(_0x122758=_0x2ef545[_0x2ab7e0])&&(_0x2ab777=_0x122758(_0x2ab777)||_0x2ab777);return _0x2ab777;},_0x1064ef=(_0x331aaf,_0x1f05da)=>(_0x21001e,_0x1083bc)=>_0x1f05da(_0x21001e,_0x1083bc,_0x331aaf),_0x41e9c8=(_0x34b2e4=>(_0x34b2e4[_0x46a189(0x298)]='not_collab',_0x34b2e4['SYNCED']='synced',_0x34b2e4['PENDING']=_0x46a189(0x2ad),_0x34b2e4[_0x46a189(0x258)]=_0x46a189(0x407),_0x34b2e4[_0x46a189(0x17d)]=_0x46a189(0x89),_0x34b2e4[_0x46a189(0x172)]=_0x46a189(0x90),_0x34b2e4[_0x46a189(0x2ce)]='conflict',_0x34b2e4['OFFLINE']='offline',_0x34b2e4))(_0x41e9c8||{});const _0x42e30a=0xea60;class _0x1442ea{constructor(_0x1138e0,_0x370112,_0x54aed7,_0x25ee0d,_0x298d13,_0xc14b27,_0x2f9670,_0x37fecd,_0x1627c7){var _0x1d444d=_0x46a189;_0x25aa6e(this,_0x1d444d(0x362),null),_0x25aa6e(this,_0x1d444d(0xcf),[]),(this['unitID']=_0x1138e0,this[_0x1d444d(0xfd)]=_0x370112,this['_handler']=_0x298d13,this[_0x1d444d(0x244)]=_0xc14b27,this['_undoRedoService']=_0x2f9670,this[_0x1d444d(0xdf)]=_0x37fecd,this[_0x1d444d(0x11d)]=_0x1627c7,this[_0x1d444d(0x362)]=_0x54aed7,this[_0x1d444d(0xcf)]=_0x25ee0d);}['_checkMissing'](_0x56a5eb){var _0x3cc9ff=_0x46a189;const _0x3ceb35=this[_0x3cc9ff(0xdf)][_0x3cc9ff(0x36d)](this[_0x3cc9ff(0x194)]);return _0x56a5eb[_0x3cc9ff(0x22b)]>_0x3ceb35+0x1?(this[_0x3cc9ff(0x40d)][_0x3cc9ff(0x1da)]({'from':_0x3ceb35,'to':_0x56a5eb[_0x3cc9ff(0x22b)]-0x1}),!0x0):!0x1;}[_0x46a189(0x14a)](_0x5c8c6d){var _0x3af2c7=_0x46a189;this['_undoRedoService'][_0x3af2c7(0x29a)](this[_0x3af2c7(0x194)],_0x5c8c6d);}[_0x46a189(0x1d0)](_0x2b78a0){var _0x455409=_0x46a189,_0x3840cf,_0x22a9e2;(_0x22a9e2=(_0x3840cf=this['_handler'])[_0x455409(0x17c)])==null||_0x22a9e2[_0x455409(0x3f2)](_0x3840cf,_0x2b78a0);}['_transformIMECache'](_0x5d758e){var _0x2b3eb7=_0x46a189,_0x6d551f,_0x6be772;return(_0x6be772=(_0x6d551f=this[_0x2b3eb7(0x40d)])[_0x2b3eb7(0xb4)])==null?void 0x0:_0x6be772[_0x2b3eb7(0x3f2)](_0x6d551f,_0x5d758e);}['_transformStateCache'](_0x1f14e3){var _0x3d2221=_0x46a189,_0x58d8d0,_0x217b80;return(_0x217b80=(_0x58d8d0=this[_0x3d2221(0x40d)])[_0x3d2221(0x96)])==null?void 0x0:_0x217b80['call'](_0x58d8d0,_0x1f14e3);}[_0x46a189(0x2a8)](_0x56c35f){var _0x1c013f=_0x46a189,_0x4f1478,_0x377d05,_0x329513;return(_0x329513=(_0x377d05=(_0x4f1478=this[_0x1c013f(0x40d)])[_0x1c013f(0x29d)])==null?void 0x0:_0x377d05[_0x1c013f(0x3f2)](_0x4f1478,_0x56c35f))!=null?_0x329513:_0x56c35f;}[_0x46a189(0x1f7)](_0x818c7e){var _0x11e88f=_0x46a189,_0x7f87f4,_0x47d6fe,_0x71b20a;return(_0x71b20a=(_0x47d6fe=(_0x7f87f4=this['_handler'])[_0x11e88f(0x97)])==null?void 0x0:_0x47d6fe[_0x11e88f(0x3f2)](_0x7f87f4,_0x818c7e))!=null?_0x71b20a:_0x818c7e;}[_0x46a189(0x2b5)](_0x2f5983){var _0x364fcc=_0x46a189,_0x3ca6f8,_0x4ac548;if(this[_0x364fcc(0xfd)]===_0x193e02[_0x364fcc(0x140)]){const {unitID:_0x26ceea,mutations:_0x21066e,memberID:_0x29415a}=_0x2f5983,_0x1f727d=_0x21066e[_0x364fcc(0x86)]>0x0?_0x21066e[0x0][_0x364fcc(0x30e)][_0x364fcc(0x1e7)]:[];Array[_0x364fcc(0x2f5)](_0x1f727d)&&_0x1f727d['length']>0x0&&((_0x4ac548=(_0x3ca6f8=this[_0x364fcc(0x40d)])[_0x364fcc(0x2b1)])==null||_0x4ac548[_0x364fcc(0x3f2)](_0x3ca6f8,{'unitID':_0x26ceea,'memberID':_0x29415a,'textRanges':_0x1f727d}));}}[_0x46a189(0x23d)](){var _0xd05c38=_0x46a189,_0x173d68;(_0x173d68=this[_0xd05c38(0x11d)])==null||_0x173d68[_0xd05c38(0x2dd)](this['unitID'],this[_0xd05c38(0xfd)],this[_0xd05c38(0x362)],this[_0xd05c38(0xcf)]);}[_0x46a189(0x183)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}['_incrementRevisionNumber'](){var _0x768ba1=_0x46a189;this[_0x768ba1(0xdf)][_0x768ba1(0x243)](this[_0x768ba1(0x194)]);}['_executeRemoteChangeset'](_0x1fffc8){var _0x1085d5=_0x46a189,_0x403109;let _0x2a6425=this[_0x1085d5(0x2a8)](_0x1fffc8);_0x2a6425=this['_transformRemoteChangesetByStateCache'](_0x2a6425);const _0x56e65a=_0x112078[_0x1085d5(0x410)](_0x2a6425[_0x1085d5(0x1af)],this['_commandService'],{'fromCollab':!0x0});if(!_0x56e65a[_0x1085d5(0x3ae)])throw _0x56e65a['error']instanceof Error?_0x56e65a['error']:new Error((_0x403109=_0x56e65a['error'])!=null?_0x403109:_0x1085d5(0x3c8));this[_0x1085d5(0x37a)](_0x2a6425),this['_transformStateCache'](_0x2a6425),this[_0x1085d5(0x14a)](_0x1fffc8),this[_0x1085d5(0x1d0)](_0x2a6425),this['_syncEditingCollabCursor'](_0x2a6425),this[_0x1085d5(0x1e9)]();}}_0x247d18[_0x46a189(0x37b)]=class extends _0x1442ea{constructor(_0x214e95,_0x2ddf40,_0x697988,_0x9c5b78,_0x38a320,_0x224d9a,_0x2db070,_0x5089e9,_0xc7b761,_0xfd80bc){var _0x465824=_0x46a189;super(_0x214e95,_0x2ddf40,null,[],_0x697988,_0x2db070,_0x224d9a,_0x9c5b78,_0xfd80bc),_0x25aa6e(this,_0x465824(0x111),'synced'),(this[_0x465824(0x3e1)]=_0x38a320,this[_0x465824(0x235)]=_0x5089e9,this[_0x465824(0xb2)]=_0xc7b761,this[_0x465824(0x2f7)]=_0xfd80bc);}['appendMutation'](_0x570385){var _0x2dac91=_0x46a189;const _0x475977=this[_0x2dac91(0x3e1)][_0x2dac91(0x10c)](_0x247d18[_0x2dac91(0x341)],this[_0x2dac91(0x194)],this['type'],[_0x570385],this[_0x2dac91(0x40d)]);return _0x475977['_schedule'](),_0x475977['_updateLocalCache'](),_0x475977;}['onRemoteChangeset'](_0x541875){var _0x51bf14=_0x46a189;if(this['_checkMissing'](_0x541875))return this['_injector'][_0x51bf14(0x10c)](_0x247d18[_0x51bf14(0x249)],this[_0x51bf14(0x194)],this['type'],null,[],null,[_0x541875],this['_handler']);try{const _0x1cea13=this[_0x51bf14(0xb2)][_0x51bf14(0x212)](_0x541875,[_0x4f9634[_0x51bf14(0xf2)]]);if(_0x4f9634[_0x51bf14(0x319)](_0x1cea13)){const {c1Prime:_0x224877}=_0x1cea13;return this[_0x51bf14(0x116)](_0x224877),this;}throw _0x1cea13[_0x51bf14(0x157)];}catch(_0x546284){return this[_0x51bf14(0x235)]['error'](_0x546284),this['_onConflict'](!0x1);}}[_0x46a189(0x3d1)](_0x44df7d){var _0x45dc48=_0x46a189;return this['_injector']['createInstance'](_0x247d18[_0x45dc48(0xbb)],this[_0x45dc48(0x194)],this[_0x45dc48(0xfd)],null,[],this[_0x45dc48(0x40d)],_0x44df7d);}[_0x46a189(0xa4)](){var _0x11f205=_0x46a189;throw new Error(_0x11f205(0x330));}[_0x46a189(0x342)](){var _0x5ebf51=_0x46a189;throw new Error(_0x5ebf51(0x1fd));}['onRemoteRetry'](){return this;}[_0x46a189(0x273)](){var _0x5ad2f8=_0x46a189;return this[_0x5ad2f8(0x3e1)][_0x5ad2f8(0x10c)](_0x247d18['OfflineState'],this[_0x5ad2f8(0x194)],this[_0x5ad2f8(0xfd)],null,[],this['_handler']);}[_0x46a189(0x3e8)](){return this;}[_0x46a189(0xb9)](){var _0x56c311=_0x46a189;throw new Error(_0x56c311(0x21e));}['fetchMiss'](){var _0x1ba959=_0x46a189;const _0x1e02b5=this[_0x1ba959(0xdf)][_0x1ba959(0x36d)](this['unitID']);return this['_handler']['onMissingChangesets']({'from':_0x1e02b5,'to':0x0}),this[_0x1ba959(0x3e1)][_0x1ba959(0x10c)](_0x247d18[_0x1ba959(0x249)],this[_0x1ba959(0x194)],this[_0x1ba959(0xfd)],null,[],null,[],this[_0x1ba959(0x40d)]);}},_0x247d18[_0x46a189(0x37b)]=_0x476bd3([_0x1064ef(0x3,_0x112078['Inject'](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0x4,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x5,_0x112078[_0x46a189(0x197)]),_0x1064ef(0x6,_0x112078[_0x46a189(0x375)]),_0x1064ef(0x7,_0x112078[_0x46a189(0xce)]),_0x1064ef(0x8,_0x4f9634['ITransformService']),_0x1064ef(0x9,_0x112078['Optional'](_0x1257cc))],_0x247d18[_0x46a189(0x37b)]),_0x247d18[_0x46a189(0x341)]=class extends _0x1442ea{constructor(_0x4122ca,_0x19ca1d,_0x1b931c,_0x3fcabe,_0x34ecd7,_0x1892fe,_0x555a22,_0x457f05,_0x5c9781,_0x3de0ab,_0x564c0a,_0x6ca685,_0x195264,_0x141903){var _0x4f8955=_0x46a189;super(_0x4122ca,_0x19ca1d,null,_0x1b931c,_0x3fcabe,_0x5c9781,_0x195264,_0x1892fe,_0x141903),_0x25aa6e(this,_0x4f8955(0x111),_0x4f8955(0x2ad)),_0x25aa6e(this,_0x4f8955(0x27c),null),_0x25aa6e(this,_0x4f8955(0x3b3),null),(this[_0x4f8955(0x3e1)]=_0x34ecd7,this[_0x4f8955(0x312)]=_0x555a22,this[_0x4f8955(0x235)]=_0x457f05,this[_0x4f8955(0xad)]=_0x3de0ab,this[_0x4f8955(0xb2)]=_0x564c0a,this['_univerInstanceService']=_0x6ca685);}[_0x46a189(0x359)](_0x1355b5){var _0x518813=_0x46a189;return this['_pendingMutations'][_0x518813(0x139)](_0x1355b5),this[_0x518813(0x23d)](),this;}['onRemoteChangeset'](_0x191d3e){var _0x54b520=_0x46a189;if(this[_0x54b520(0x3ec)](_0x191d3e))return this['_clearScheduledTask'](),this[_0x54b520(0x3e1)][_0x54b520(0x10c)](_0x247d18[_0x54b520(0x249)],this[_0x54b520(0x194)],this[_0x54b520(0xfd)],null,this['_pendingMutations'],null,[_0x191d3e],this[_0x54b520(0x40d)]);try{const _0x587603=this[_0x54b520(0xb2)][_0x54b520(0x212)](_0x191d3e,this[_0x54b520(0xcf)]);if(_0x4f9634['isTransformMutationsWithChangesetSuccess'](_0x587603)){const {c1Prime:_0x3d45cf,m2Prime:_0x11a8ea}=_0x587603;this['_executeRemoteChangeset'](_0x3d45cf);const _0x36e24b=this['_injector']['createInstance'](_0x247d18[_0x54b520(0x341)],this[_0x54b520(0x194)],this['type'],_0x11a8ea,this[_0x54b520(0x40d)]);this[_0x54b520(0x1b4)]();const _0x3d34b5=new Date()[_0x54b520(0x170)](),_0x5cd823=this[_0x54b520(0x27c)]?Math[_0x54b520(0x26d)](this['_scheduleCompleteTimestamp']-_0x3d34b5,0x0):this[_0x54b520(0x211)]();return _0x36e24b[_0x54b520(0x3fd)](_0x5cd823),_0x36e24b;}throw _0x587603[_0x54b520(0x157)];}catch(_0x13e089){return this[_0x54b520(0x235)][_0x54b520(0x157)](_0x13e089),this[_0x54b520(0x3d1)](!0x1);}}[_0x46a189(0xa4)](){var _0x2f8aca=_0x46a189;throw new Error(_0x2f8aca(0x2f0));}['onRemoteRej'](){var _0x4ee18b=_0x46a189;throw new Error(_0x4ee18b(0x253));}['onRemoteRetry'](){return this;}[_0x46a189(0x273)](){var _0xaeb4c6=_0x46a189;return this[_0xaeb4c6(0x1b4)](),this[_0xaeb4c6(0x3e1)][_0xaeb4c6(0x10c)](_0x247d18[_0xaeb4c6(0xff)],this[_0xaeb4c6(0x194)],this['type'],null,this[_0xaeb4c6(0xcf)],this[_0xaeb4c6(0x40d)]);}['toggleOnline'](){return this;}[_0x46a189(0x3fd)](_0x24b9da){var _0x2ce5e2=_0x46a189;const _0x2c79ac=_0x24b9da!=null?_0x24b9da:this['_getSendChangesetTimeout']();this[_0x2ce5e2(0x27c)]=new Date()['getTime']()+_0x2c79ac,this['_sendingTimer']=setTimeout(()=>{var _0x298310=_0x2ce5e2;this[_0x298310(0x1b4)]();let _0x575a68=null;switch(this[_0x298310(0xfd)]){case _0x193e02[_0x298310(0x18b)]:{_0x575a68=_0x20c38c(this[_0x298310(0xcf)],this[_0x298310(0x194)],this[_0x298310(0x3cf)],this[_0x298310(0xdf)],this[_0x298310(0x312)]);break;}case _0x193e02['UNIVER_DOC']:{this[_0x298310(0xcf)][_0x298310(0x3c7)](_0x160882=>_0x160882['id']===_0x171cda['RichTextEditingMutation']['id'])?_0x575a68=_0x4de314(this[_0x298310(0xcf)],this['unitID'],this[_0x298310(0x3cf)],this[_0x298310(0xdf)],this[_0x298310(0x312)]):_0x575a68=_0x20c38c(this[_0x298310(0xcf)],this[_0x298310(0x194)],this['_univerInstanceService'],this[_0x298310(0xdf)],this[_0x298310(0x312)]);break;}default:throw new Error(_0x298310(0x3a2)+this[_0x298310(0xfd)]+_0x298310(0x429));}const {changeset:_0x2228df,pendingMutations:_0x5d509d}=_0x575a68;this['_handler'][_0x298310(0x22e)](_0x2228df);const _0x2f3bd4=_0x5d509d[_0x298310(0x86)]?this[_0x298310(0x3e1)]['createInstance'](_0x247d18['AwaitingWithPendingState'],this[_0x298310(0x194)],this[_0x298310(0xfd)],_0x2228df,_0x5d509d,this[_0x298310(0x40d)],void 0x0):this[_0x298310(0x3e1)][_0x298310(0x10c)](_0x247d18[_0x298310(0x26f)],this[_0x298310(0x194)],this[_0x298310(0xfd)],_0x2228df,this[_0x298310(0x40d)]);_0x2f3bd4[_0x298310(0x23d)](),this['_handler'][_0x298310(0x398)](this,_0x2f3bd4);},_0x2c79ac);}[_0x46a189(0x211)](){var _0x493661=_0x46a189,_0x4c16ee;const _0x3727cb=this[_0x493661(0xad)]['getConfig'](_0x4f0c7a);return(_0x4c16ee=_0x3727cb==null?void 0x0:_0x3727cb[_0x493661(0x203)])!=null?_0x4c16ee:0x7d0;}[_0x46a189(0xb9)](){var _0x1266e1=_0x46a189;throw new Error(_0x1266e1(0x314));}['_clearScheduledTask'](){var _0x36c7f1=_0x46a189;this[_0x36c7f1(0x3b3)]!=null&&(clearTimeout(this[_0x36c7f1(0x3b3)]),this['_sendingTimer']=null);}[_0x46a189(0x3d1)](_0x4d575a){var _0x2142c1=_0x46a189;return this[_0x2142c1(0x1b4)](),this[_0x2142c1(0x3e1)][_0x2142c1(0x10c)](_0x247d18[_0x2142c1(0xbb)],this[_0x2142c1(0x194)],this[_0x2142c1(0xfd)],null,this[_0x2142c1(0xcf)],this['_handler'],_0x4d575a);}},_0x247d18[_0x46a189(0x341)]=_0x476bd3([_0x1064ef(0x4,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x5,_0x112078[_0x46a189(0x11e)](_0x4f9634['RevisionService'])),_0x1064ef(0x6,_0x112078[_0x46a189(0x11e)](_0x247d18[_0x46a189(0x39f)])),_0x1064ef(0x7,_0x112078[_0x46a189(0xce)]),_0x1064ef(0x8,_0x112078[_0x46a189(0x375)]),_0x1064ef(0x9,_0x112078[_0x46a189(0x22f)]),_0x1064ef(0xa,_0x4f9634[_0x46a189(0xbe)]),_0x1064ef(0xb,_0x112078['IUniverInstanceService']),_0x1064ef(0xc,_0x112078['IUndoRedoService']),_0x1064ef(0xd,_0x112078['Optional'](_0x1257cc))],_0x247d18[_0x46a189(0x341)]),_0x247d18['AwaitingState']=class extends _0x1442ea{constructor(_0x492b66,_0x29cdc6,_0x4ff168,_0x503d41,_0x315f92,_0x1cad9d,_0x5dda73,_0x1fee45,_0x43770d,_0x21dccc,_0x1b7633){var _0x314ebb=_0x46a189;super(_0x492b66,_0x29cdc6,_0x4ff168,[],_0x503d41,_0x5dda73,_0x21dccc,_0x1cad9d,_0x1b7633),_0x25aa6e(this,_0x314ebb(0x111),_0x314ebb(0x407)),_0x25aa6e(this,_0x314ebb(0xe8),0x0),_0x25aa6e(this,_0x314ebb(0x3ba)),_0x25aa6e(this,_0x314ebb(0x33f)),(this[_0x314ebb(0x3e1)]=_0x315f92,this['_logService']=_0x1fee45,this[_0x314ebb(0xb2)]=_0x43770d);}['appendMutation'](_0x18050c){var _0x8e1a50=_0x46a189;this['_clearScheduledTask']();const _0x48a480=this[_0x8e1a50(0x3e1)][_0x8e1a50(0x10c)](_0x247d18['AwaitingWithPendingState'],this[_0x8e1a50(0x194)],this[_0x8e1a50(0xfd)],this[_0x8e1a50(0x362)],[_0x18050c],this[_0x8e1a50(0x40d)],this[_0x8e1a50(0x3ba)]);return _0x48a480[_0x8e1a50(0x23d)](),_0x48a480;}['onRemoteChangeset'](_0x2bbae6){var _0x18b413=_0x46a189;if(this[_0x18b413(0x3ec)](_0x2bbae6))return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x247d18[_0x18b413(0x249)],this[_0x18b413(0x194)],this[_0x18b413(0xfd)],this[_0x18b413(0x362)],[],null,[_0x2bbae6],this[_0x18b413(0x40d)]);try{const _0x489b39=this[_0x18b413(0xb2)][_0x18b413(0x112)]([_0x2bbae6],[this[_0x18b413(0x362)]],!0x1);if(_0x4f9634['isTransformChangesetsSuccess'](_0x489b39)){const {c1Prime:_0x11b0e6,c2Prime:_0x57fd37}=_0x489b39;this['_executeRemoteChangeset'](_0x11b0e6[0x0]),_0x57fd37[0x0]['baseRev']=this[_0x18b413(0x183)](),this[_0x18b413(0x1b4)]();const _0xd7f0ad=this[_0x18b413(0x3e1)][_0x18b413(0x10c)](_0x247d18[_0x18b413(0x26f)],this['unitID'],this[_0x18b413(0xfd)],_0x57fd37[0x0],this['_handler']);return _0xd7f0ad['_updateLocalCache'](),_0xd7f0ad;}return this[_0x18b413(0x3d1)](!0x1);}catch(_0x8a2352){return this['_logService'][_0x18b413(0x157)](_0x8a2352),this[_0x18b413(0x3d1)](!0x1);}}['onRemoteAck'](_0x184b53){var _0x97f4bd=_0x46a189;this['_clearScheduledTask']();const _0x50eb37=this[_0x97f4bd(0xdf)][_0x97f4bd(0x36d)](this[_0x97f4bd(0x194)]);if(_0x184b53[_0x97f4bd(0x22b)]<_0x50eb37-0x1)return this;if(this[_0x97f4bd(0x3ec)](_0x184b53))return this[_0x97f4bd(0x3e1)][_0x97f4bd(0x10c)](_0x247d18[_0x97f4bd(0x249)],this[_0x97f4bd(0x194)],this['type'],null,[],this[_0x97f4bd(0x362)],[],this[_0x97f4bd(0x40d)]);this[_0x97f4bd(0x1e9)]();const _0x4e6c53=this[_0x97f4bd(0x3e1)][_0x97f4bd(0x10c)](_0x247d18['SyncedState'],this['unitID'],this[_0x97f4bd(0xfd)],this[_0x97f4bd(0x40d)]);return _0x4e6c53[_0x97f4bd(0x23d)](),_0x4e6c53;}[_0x46a189(0x342)](_0x3a6192){var _0x20a671=_0x46a189;return this[_0x20a671(0x3d1)](!!(_0x3a6192!=null&&_0x3a6192[_0x20a671(0xb7)]));}[_0x46a189(0x32f)](_0x1fdf7b){var _0x23a844=_0x46a189;return this['_resendTimeout']>_0x42e30a?this[_0x23a844(0x273)]():(this[_0x23a844(0x3ba)]=_0x8f7348(this[_0x23a844(0xe8)],{'timeout':this[_0x23a844(0xe8)],'reqId':_0x1fdf7b[_0x23a844(0x29f)]}),this[_0x23a844(0x33f)]=this[_0x23a844(0x3ba)][_0x23a844(0x153)](({reqId:_0x4ab516,timeout:_0x2d794d})=>{var _0x2a617c=_0x23a844;this[_0x2a617c(0x3fc)](_0x4ab516,_0x2d794d);}),this);}[_0x46a189(0x273)](){var _0x42e0d7=_0x46a189;return this[_0x42e0d7(0x1b4)](),this[_0x42e0d7(0x3e1)][_0x42e0d7(0x10c)](_0x247d18[_0x42e0d7(0xff)],this[_0x42e0d7(0x194)],this[_0x42e0d7(0xfd)],this['_awaitingChangeset'],[],this[_0x42e0d7(0x40d)]);}[_0x46a189(0x3e8)](){return this;}[_0x46a189(0xb9)](){var _0x2d51a9=_0x46a189;this[_0x2d51a9(0x40d)][_0x2d51a9(0x22e)](this['_awaitingChangeset']);}['_onConflict'](_0x2e9c97){var _0x3bf08f=_0x46a189;return this[_0x3bf08f(0x1b4)](),this[_0x3bf08f(0x3e1)]['createInstance'](_0x247d18['ConflictState'],this[_0x3bf08f(0x194)],this[_0x3bf08f(0xfd)],this[_0x3bf08f(0x362)],[],this[_0x3bf08f(0x40d)],_0x2e9c97);}['_resendWithTimeout'](_0x48e11e,_0x99b7b4){var _0x519647=_0x46a189,_0x5e602b;_0x48e11e===((_0x5e602b=this[_0x519647(0x362)])==null?void 0x0:_0x5e602b['reqId'])&&(this[_0x519647(0xb9)](),this['_resendTimeout']=_0x99b7b4===0x0?0x3e8:_0x99b7b4*0x2);}['_clearScheduledTask'](){var _0x5090ba=_0x46a189,_0xd6aeb9;(_0xd6aeb9=this['_sender'])==null||_0xd6aeb9[_0x5090ba(0x2d7)](),this[_0x5090ba(0xe8)]=0x0;}},_0x247d18['AwaitingState']=_0x476bd3([_0x1064ef(0x4,_0x112078['Inject'](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x5,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0x6,_0x112078[_0x46a189(0x375)]),_0x1064ef(0x7,_0x112078[_0x46a189(0xce)]),_0x1064ef(0x8,_0x4f9634[_0x46a189(0xbe)]),_0x1064ef(0x9,_0x112078[_0x46a189(0x197)]),_0x1064ef(0xa,_0x112078['Optional'](_0x1257cc))],_0x247d18[_0x46a189(0x26f)]),_0x247d18[_0x46a189(0x1fc)]=class extends _0x1442ea{constructor(_0x309fd0,_0x5bebbe,_0x4345e9,_0x3dfe20,_0x2a869a,_0x127df5,_0xeefc8e,_0x476542,_0x144a99,_0x2115ce,_0x505f1c,_0x38d4e0,_0x1038c3){var _0x214c35=_0x46a189;super(_0x309fd0,_0x5bebbe,_0x4345e9,_0x3dfe20,_0x2a869a,_0x144a99,_0x38d4e0,_0x476542,_0x1038c3),_0x25aa6e(this,_0x214c35(0x111),'awaiting_with_pending'),_0x25aa6e(this,'_resendTimeout',0x0),_0x25aa6e(this,_0x214c35(0x3ba)),_0x25aa6e(this,'_sender'),(this['_injector']=_0xeefc8e,this[_0x214c35(0x235)]=_0x2115ce,this[_0x214c35(0xb2)]=_0x505f1c,this['localCacheService']=_0x1038c3,_0x127df5&&(this['_resendTimer']=_0x127df5,this[_0x214c35(0x33f)]=this[_0x214c35(0x3ba)][_0x214c35(0x153)](({reqId:_0x15540b,timeout:_0x539347})=>{var _0x237706=_0x214c35;this[_0x237706(0x3fc)](_0x15540b,_0x539347);})));}[_0x46a189(0x359)](_0x398e77){var _0x4e9b98=_0x46a189;return this[_0x4e9b98(0xcf)][_0x4e9b98(0x139)](_0x398e77),this;}[_0x46a189(0x350)](_0x33cdd){var _0x3f5376=_0x46a189;if(this[_0x3f5376(0x3ec)](_0x33cdd))return this[_0x3f5376(0x1b4)](),this['_injector'][_0x3f5376(0x10c)](_0x247d18[_0x3f5376(0x249)],this[_0x3f5376(0x194)],this[_0x3f5376(0xfd)],this[_0x3f5376(0x362)],this[_0x3f5376(0xcf)],null,[_0x33cdd],this[_0x3f5376(0x40d)]);try{const _0x13f0be=this['_transformService'][_0x3f5376(0x112)]([_0x33cdd],[this['_awaitingChangeset']],!0x1);if(_0x4f9634[_0x3f5376(0x16a)](_0x13f0be)){const {c1Prime:_0x302da5,c2Prime:_0x1465f3}=_0x13f0be,_0x52a157=this['_transformService']['transformMutationsWithChangeset'](_0x302da5[0x0],this[_0x3f5376(0xcf)]);if(_0x4f9634[_0x3f5376(0x319)](_0x52a157)){const {c1Prime:_0x30fba4,m2Prime:_0x9a34be}=_0x52a157;return this[_0x3f5376(0x116)](_0x30fba4),_0x1465f3[0x0][_0x3f5376(0x174)]=this[_0x3f5376(0x183)](),this[_0x3f5376(0x1b4)](),this['_injector'][_0x3f5376(0x10c)](_0x247d18[_0x3f5376(0x1fc)],this['unitID'],this['type'],_0x1465f3[0x0],_0x9a34be,this[_0x3f5376(0x40d)],void 0x0);}throw _0x52a157[_0x3f5376(0x157)];}throw _0x13f0be[_0x3f5376(0x157)];}catch(_0x1c2fbc){return this['_logService'][_0x3f5376(0x157)](_0x1c2fbc),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x589d0b){var _0x23ccb3=_0x46a189;if(this[_0x23ccb3(0x1b4)](),this['_checkMissing'](_0x589d0b))return this[_0x23ccb3(0x3e1)][_0x23ccb3(0x10c)](_0x247d18[_0x23ccb3(0x249)],this['unitID'],this[_0x23ccb3(0xfd)],null,this[_0x23ccb3(0xcf)],this[_0x23ccb3(0x362)],[],this[_0x23ccb3(0x40d)]);this['_incrementRevisionNumber']();const _0x52d3a1=this[_0x23ccb3(0x3e1)][_0x23ccb3(0x10c)](_0x247d18[_0x23ccb3(0x341)],this['unitID'],this[_0x23ccb3(0xfd)],this[_0x23ccb3(0xcf)],this[_0x23ccb3(0x40d)]);return _0x52d3a1[_0x23ccb3(0x3fd)](),_0x52d3a1[_0x23ccb3(0x23d)](),_0x52d3a1;}[_0x46a189(0x342)](_0x4fda86){var _0x16b85d=_0x46a189;return this[_0x16b85d(0x3d1)](!!(_0x4fda86!=null&&_0x4fda86[_0x16b85d(0xb7)]));}['onRemoteRetry'](_0x3da459){var _0x24601e=_0x46a189;return this[_0x24601e(0xe8)]>_0x42e30a?this[_0x24601e(0x273)]():(this[_0x24601e(0x3ba)]=_0x8f7348(this[_0x24601e(0xe8)],{'timeout':this[_0x24601e(0xe8)],'reqId':_0x3da459[_0x24601e(0x29f)]}),this[_0x24601e(0x33f)]=this[_0x24601e(0x3ba)][_0x24601e(0x153)](({reqId:_0x43f786,timeout:_0x265f15})=>{var _0x3bc793=_0x24601e;this[_0x3bc793(0x3fc)](_0x43f786,_0x265f15);}),this);}['toggleOffline'](){var _0x1b664c=_0x46a189;return this[_0x1b664c(0x1b4)](),this['_injector'][_0x1b664c(0x10c)](_0x247d18[_0x1b664c(0xff)],this[_0x1b664c(0x194)],this['type'],this[_0x1b664c(0x362)],this[_0x1b664c(0xcf)],this[_0x1b664c(0x40d)]);}[_0x46a189(0x3e8)](){return this;}[_0x46a189(0xb9)](){var _0x38810c=_0x46a189;this['_handler'][_0x38810c(0x22e)](this[_0x38810c(0x362)]);}[_0x46a189(0x3d1)](_0x8e067){var _0x517a72=_0x46a189;return this['_clearScheduledTask'](),this[_0x517a72(0x3e1)][_0x517a72(0x10c)](_0x247d18[_0x517a72(0xbb)],this[_0x517a72(0x194)],this['type'],null,this[_0x517a72(0xcf)],this[_0x517a72(0x40d)],_0x8e067);}['_resendWithTimeout'](_0x4bcdb6,_0x18db0e){var _0x10ea87=_0x46a189,_0x38bf53;_0x4bcdb6===((_0x38bf53=this[_0x10ea87(0x362)])==null?void 0x0:_0x38bf53['reqId'])&&(this[_0x10ea87(0xb9)](),this[_0x10ea87(0xe8)]=_0x18db0e===0x0?0x3e8:_0x18db0e*0x2);}['_clearScheduledTask'](){var _0x34296b=_0x46a189,_0x3ed64d;(_0x3ed64d=this[_0x34296b(0x33f)])==null||_0x3ed64d['unsubscribe'](),this['_resendTimeout']=0x0;}},_0x247d18[_0x46a189(0x1fc)]=_0x476bd3([_0x1064ef(0x6,_0x112078['Inject'](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x7,_0x112078[_0x46a189(0x11e)](_0x4f9634['RevisionService'])),_0x1064ef(0x8,_0x112078['ICommandService']),_0x1064ef(0x9,_0x112078[_0x46a189(0xce)]),_0x1064ef(0xa,_0x4f9634[_0x46a189(0xbe)]),_0x1064ef(0xb,_0x112078[_0x46a189(0x197)]),_0x1064ef(0xc,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0x1fc)]),_0x247d18[_0x46a189(0xbb)]=class extends _0x1442ea{constructor(_0x452086,_0x445b97,_0x2390d0,_0x2e7721,_0x34136d,_0x48c79c=!0x1,_0x56fdac,_0x1c9306,_0xd03f58,_0x46983f,_0x940f55,_0x1a9906,_0x5462d1){var _0x2cdac0=_0x46a189;super(_0x452086,_0x445b97,_0x2390d0,_0x2e7721,_0x34136d,_0x1c9306,_0xd03f58,_0x46983f,_0x5462d1),_0x25aa6e(this,_0x2cdac0(0x111),'conflict'),(this['_isPermissionRej']=_0x48c79c,this[_0x2cdac0(0x30f)]=_0x56fdac,this[_0x2cdac0(0x11a)]=_0x940f55,this['_collaborationUIEventService']=_0x1a9906,this[_0x2cdac0(0x2f7)]=_0x5462d1,this[_0x2cdac0(0x232)](),this[_0x2cdac0(0x41d)](),this[_0x2cdac0(0xa2)]());}[_0x46a189(0x359)](){return this;}['onRemoteChangeset'](){return this;}[_0x46a189(0xa4)](){return this;}['onRemoteRej'](){return this;}[_0x46a189(0x32f)](){return this;}[_0x46a189(0x273)](){return this;}[_0x46a189(0x3e8)](){return this;}[_0x46a189(0xb9)](){var _0x2ea67b=_0x46a189;throw new Error(_0x2ea67b(0x2e2));}[_0x46a189(0x41d)](){var _0x14183b=_0x46a189,_0x58ba2d;(_0x58ba2d=this['_localCacheService'])==null||_0x58ba2d[_0x14183b(0x2dd)](this[_0x14183b(0x194)],this['type'],null,[]);}[_0x46a189(0x232)](){var _0x413b8b=_0x46a189;this[_0x413b8b(0x2d5)]?this[_0x413b8b(0x281)]['emitEvent']({'id':_0xee750e[_0x413b8b(0x192)]}):this[_0x413b8b(0x281)][_0x413b8b(0xe5)]({'id':_0xee750e[_0x413b8b(0x2ce)]});}[_0x46a189(0xa2)](){var _0x3b7669=_0x46a189;this[_0x3b7669(0x30f)][_0x3b7669(0x1c0)](new _0x44a4a2['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}},_0x247d18[_0x46a189(0xbb)]=_0x476bd3([_0x1064ef(0x6,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x2e4)])),_0x1064ef(0x7,_0x112078[_0x46a189(0x375)]),_0x1064ef(0x8,_0x112078[_0x46a189(0x197)]),_0x1064ef(0x9,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0xa,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0xd9)])),_0x1064ef(0xb,_0x112078['Inject'](_0x12b7ba)),_0x1064ef(0xc,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18['ConflictState']),_0x247d18[_0x46a189(0xff)]=class extends _0x1442ea{constructor(_0xe0342a,_0x1f7ab6,_0x29b8a8,_0x1f68a2,_0x205121,_0x1085d2,_0x45290d,_0x321d1a,_0x53c8bf,_0x59a920){var _0x1ec399=_0x46a189;super(_0xe0342a,_0x1f7ab6,_0x29b8a8,_0x1f68a2,_0x205121,_0x321d1a,_0x53c8bf,_0x45290d,_0x59a920),_0x25aa6e(this,'status',_0x1ec399(0x121)),this['_injector']=_0x1085d2;}['appendMutation'](_0x1574cc){var _0x2defeb=_0x46a189;return this['_pendingMutations'][_0x2defeb(0x139)](_0x1574cc),this[_0x2defeb(0x23d)](),this;}[_0x46a189(0x350)](_0xaff2b1){var _0x42781d=_0x46a189;throw new Error(_0x42781d(0x185));}[_0x46a189(0xa4)](){var _0x5cb1ca=_0x46a189;throw new Error(_0x5cb1ca(0x2d1));}[_0x46a189(0x342)](){var _0x3a4134=_0x46a189;throw new Error(_0x3a4134(0x402));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x46a189(0x3e8)](){var _0x1a577f=_0x46a189;const {_injector:_0x215638,_pendingMutations:_0x2f529b,_awaitingChangeset:_0x4643b0,unitID:_0x5b1e14,_handler:_0x198e81,type:_0x330baa}=this,_0x2876b4=_0x43dba4(_0x215638,_0x5b1e14,_0x330baa,_0x4643b0,_0x2f529b,_0x198e81);return _0x2876b4 instanceof _0x247d18['PendingState']?_0x2876b4[_0x1a577f(0x3fd)]():(_0x2876b4 instanceof _0x247d18[_0x1a577f(0x1fc)]||_0x2876b4 instanceof _0x247d18[_0x1a577f(0x26f)])&&_0x2876b4[_0x1a577f(0xb9)](),_0x2876b4;}[_0x46a189(0xb9)](){var _0x31ce57=_0x46a189;throw new Error(_0x31ce57(0x149));}},_0x247d18[_0x46a189(0xff)]=_0x476bd3([_0x1064ef(0x5,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x6,_0x112078['Inject'](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0x7,_0x112078['ICommandService']),_0x1064ef(0x8,_0x112078[_0x46a189(0x197)]),_0x1064ef(0x9,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0xff)]),_0x247d18[_0x46a189(0x249)]=class extends _0x1442ea{constructor(_0x34b05c,_0x5681a1,_0x2948dc,_0x4c008a,_0x2de0e3,_0x5da276,_0x20aaac,_0xc5ecd1,_0xc9a751,_0x1f303f,_0x19fa9f,_0x37010b,_0x56de84,_0x481533){var _0x5e84b5=_0x46a189;super(_0x34b05c,_0x5681a1,_0x2948dc,_0x4c008a,_0x20aaac,_0x19fa9f,_0x37010b,_0xc9a751,_0x481533),_0x25aa6e(this,'status',_0x5e84b5(0x90)),(this[_0x5e84b5(0x3e2)]=_0x2de0e3,this[_0x5e84b5(0x1b2)]=_0x5da276,this['_injector']=_0xc5ecd1,this[_0x5e84b5(0x235)]=_0x1f303f,this['_transformService']=_0x56de84,this[_0x5e84b5(0x2f7)]=_0x481533);}[_0x46a189(0x1a5)](_0x4a3019){var _0x4e8158=_0x46a189;try{const _0x313009=[..._0x4a3019,...this[_0x4e8158(0x1b2)]],_0x1eaa1d=[this[_0x4e8158(0x362)]||this[_0x4e8158(0x3e2)]]['filter'](_0x3b9481=>!!_0x3b9481);let _0x5e8979,_0x9a4888;if(_0x1eaa1d[_0x4e8158(0x86)]){const _0x5965b8=this[_0x4e8158(0xb2)][_0x4e8158(0x112)](_0x313009,_0x1eaa1d,!0x1);if(!_0x4f9634[_0x4e8158(0x16a)](_0x5965b8))throw _0x5965b8['error'];_0x5e8979=_0x5965b8['c1Prime'],_0x9a4888=_0x5965b8[_0x4e8158(0x108)];}else _0x5e8979=_0x313009,_0x9a4888=[];let _0x20edfb=this[_0x4e8158(0xcf)];_0x5e8979[_0x4e8158(0x2f6)](_0xb9dd83=>{var _0x140d68=_0x4e8158;let _0x216e97;if(_0x20edfb[_0x140d68(0x86)]){const _0x1f1f5a=this['_transformService']['transformMutationsWithChangeset'](_0xb9dd83,_0x20edfb);if(!_0x4f9634['isTransformMutationsWithChangesetSuccess'](_0x1f1f5a))throw _0x1f1f5a['error'];_0x216e97=_0x1f1f5a[_0x140d68(0x23f)],_0x20edfb=_0x1f1f5a[_0x140d68(0x1d9)];}else _0x216e97=_0xb9dd83;this['_executeRemoteChangeset'](_0x216e97);}),this[_0x4e8158(0x3e2)]&&this['_incrementRevisionNumber'](),this[_0x4e8158(0x362)]&&_0x9a4888[_0x4e8158(0x86)]&&(_0x9a4888[0x0][_0x4e8158(0x174)]=this[_0x4e8158(0x183)]());let _0x1048f1;if(this[_0x4e8158(0x362)]&&_0x20edfb[_0x4e8158(0x86)]!==0x0)_0x1048f1=this[_0x4e8158(0x3e1)][_0x4e8158(0x10c)](_0x247d18[_0x4e8158(0x1fc)],this[_0x4e8158(0x194)],this[_0x4e8158(0xfd)],_0x9a4888[0x0],_0x20edfb,this[_0x4e8158(0x40d)],void 0x0);else{if(this[_0x4e8158(0x362)]&&_0x20edfb['length']===0x0)_0x9a4888[0x0]['baseRev']=this[_0x4e8158(0x183)](),_0x1048f1=this['_injector'][_0x4e8158(0x10c)](_0x247d18[_0x4e8158(0x26f)],this['unitID'],this[_0x4e8158(0xfd)],_0x9a4888[0x0],this[_0x4e8158(0x40d)]);else{if(_0x20edfb['length']!==0x0){const _0x1161e3=this[_0x4e8158(0x3e1)][_0x4e8158(0x10c)](_0x247d18['PendingState'],this[_0x4e8158(0x194)],this[_0x4e8158(0xfd)],_0x20edfb,this[_0x4e8158(0x40d)]);_0x1161e3[_0x4e8158(0x3fd)](),_0x1048f1=_0x1161e3;}else _0x1048f1=this[_0x4e8158(0x3e1)][_0x4e8158(0x10c)](_0x247d18[_0x4e8158(0x37b)],this[_0x4e8158(0x194)],this[_0x4e8158(0xfd)],this['_handler']);}}return _0x1048f1[_0x4e8158(0x23d)](),_0x1048f1;}catch(_0xba8702){return this[_0x4e8158(0x235)]['error'](_0x4e8158(0x231),_0x4e8158(0x230),_0xba8702),this[_0x4e8158(0x3e1)][_0x4e8158(0x10c)](_0x247d18[_0x4e8158(0xbb)],this['unitID'],this[_0x4e8158(0xfd)],this[_0x4e8158(0x362)],this[_0x4e8158(0xcf)],this[_0x4e8158(0x40d)],!0x1);}}[_0x46a189(0xb9)](){var _0x511eda=_0x46a189;throw new Error(_0x511eda(0xfc));}['appendMutation'](_0x2fd673){var _0x5c1a87=_0x46a189;return this['_pendingMutations'][_0x5c1a87(0x139)](_0x2fd673),this;}[_0x46a189(0x350)](_0xec5058){var _0x30a127=_0x46a189;return this[_0x30a127(0x1b2)][_0x30a127(0x139)](_0xec5058),this;}[_0x46a189(0xa4)](_0x8da4de){var _0x3c46fa=_0x46a189;if(this[_0x3c46fa(0x362)])return this[_0x3c46fa(0x3e2)]=this[_0x3c46fa(0x362)],this['_awaitingChangeset']=null,this;throw new Error(_0x3c46fa(0x294));}[_0x46a189(0x342)](_0x50b19d){var _0x2b799c=_0x46a189;return this['_onConflict'](!!(_0x50b19d!=null&&_0x50b19d[_0x2b799c(0xb7)]));}[_0x46a189(0x32f)](){return this;}[_0x46a189(0x273)](){var _0x2c1367=_0x46a189;return this[_0x2c1367(0x3e1)]['createInstance'](_0x247d18[_0x2c1367(0xff)],this[_0x2c1367(0x194)],this[_0x2c1367(0xfd)],this['_awaitingChangeset'],this[_0x2c1367(0xcf)],this[_0x2c1367(0x40d)]);}[_0x46a189(0x3e8)](){return this;}['_onConflict'](_0x4f5a81){var _0x50b6cf=_0x46a189;return this[_0x50b6cf(0x3e1)][_0x50b6cf(0x10c)](_0x247d18[_0x50b6cf(0xbb)],this['unitID'],this[_0x50b6cf(0xfd)],this[_0x50b6cf(0x362)],this[_0x50b6cf(0xcf)],this['_handler'],_0x4f5a81);}},_0x247d18['FetchingMissState']=_0x476bd3([_0x1064ef(0x7,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1064ef(0x8,_0x112078['Inject'](_0x4f9634[_0x46a189(0x16f)])),_0x1064ef(0x9,_0x112078[_0x46a189(0xce)]),_0x1064ef(0xa,_0x112078['ICommandService']),_0x1064ef(0xb,_0x112078['IUndoRedoService']),_0x1064ef(0xc,_0x4f9634[_0x46a189(0xbe)]),_0x1064ef(0xd,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0x249)]);function _0x43dba4(_0x19f7c5,_0x347c81,_0x33cd0b,_0x134c46,_0x131a52,_0x33e7c8){var _0x2e0447=_0x46a189;return _0x134c46&&_0x131a52[_0x2e0447(0x86)]?_0x19f7c5[_0x2e0447(0x10c)](_0x247d18[_0x2e0447(0x1fc)],_0x347c81,_0x33cd0b,_0x134c46,_0x131a52,_0x33e7c8,void 0x0):_0x134c46?_0x19f7c5[_0x2e0447(0x10c)](_0x247d18[_0x2e0447(0x26f)],_0x347c81,_0x33cd0b,_0x134c46,_0x33e7c8):_0x131a52[_0x2e0447(0x86)]?_0x19f7c5['createInstance'](_0x247d18['PendingState'],_0x347c81,_0x33cd0b,_0x131a52,_0x33e7c8):_0x19f7c5[_0x2e0447(0x10c)](_0x247d18['SyncedState'],_0x347c81,_0x33cd0b,_0x33e7c8);}var _0x1ecd97=Object[_0x46a189(0x1d1)],_0x6fafde=(_0x522f63,_0x1530bb,_0x18eb0f,_0x4bd28e)=>{var _0x56993a=_0x46a189;for(var _0x10faf9=_0x4bd28e>0x1?void 0x0:_0x4bd28e?_0x1ecd97(_0x1530bb,_0x18eb0f):_0x1530bb,_0x450808=_0x522f63[_0x56993a(0x86)]-0x1,_0x32c5a2;_0x450808>=0x0;_0x450808--)(_0x32c5a2=_0x522f63[_0x450808])&&(_0x10faf9=_0x32c5a2(_0x10faf9)||_0x10faf9);return _0x10faf9;},_0x3290fe=(_0x39b6fa,_0x3ea48d)=>(_0x4c7c5e,_0x543f78)=>_0x3ea48d(_0x4c7c5e,_0x543f78,_0x39b6fa);_0x247d18[_0x46a189(0x11b)]=class extends _0x112078[_0x46a189(0x113)]{constructor(_0x16f116,_0x36e33b,_0x55986d,_0x3b0c5e,_0x150441,_0x10162a,_0x3555c3,_0x47f9ef,_0x326ef6,_0x36eeec,_0x3c052b,_0x171318,_0x450070,_0x3a82f2){var _0x12980b=_0x46a189;super(),_0x25aa6e(this,'_state$',new _0x1909d3['BehaviorSubject'](null)),_0x25aa6e(this,'state$',this[_0x12980b(0x1ba)][_0x12980b(0x2d0)]()),_0x25aa6e(this,_0x12980b(0x309)),_0x25aa6e(this,_0x12980b(0x2fc),!0x1),_0x25aa6e(this,'_changesetSessionId',''),_0x25aa6e(this,_0x12980b(0x2ef),0x0),_0x25aa6e(this,_0x12980b(0x3da),this[_0x12980b(0x95)]['pipe'](_0x1909d3[_0x12980b(0xb5)](_0x476aba=>_0x476aba?_0x476aba[_0x12980b(0x111)]:_0x41e9c8[_0x12980b(0x301)]),_0x1909d3[_0x12980b(0x160)](0x1))),_0x25aa6e(this,_0x12980b(0x209),!0x1),_0x25aa6e(this,_0x12980b(0x177),[]),(this[_0x12980b(0x194)]=_0x16f116,this[_0x12980b(0x2b9)]=_0x36e33b,this[_0x12980b(0x31b)]=_0x55986d,this['_injector']=_0x3b0c5e,this['_compressMutationService']=_0x150441,this['_localeService']=_0x10162a,this[_0x12980b(0xdf)]=_0x3555c3,this[_0x12980b(0x381)]=_0x47f9ef,this[_0x12980b(0x3cf)]=_0x326ef6,this[_0x12980b(0x235)]=_0x36eeec,this['_commandService']=_0x3c052b,this['_permissionService']=_0x171318,this['_singleActiveUnitService']=_0x450070,this[_0x12980b(0x11d)]=_0x3a82f2);}get[_0x46a189(0xfe)](){var _0x1cfcb8=_0x46a189;return this[_0x1cfcb8(0x309)];}async[_0x46a189(0x225)](){var _0x212e19=_0x46a189;if(this[_0x212e19(0xfe)])throw new Error(_0x212e19(0x412));await this[_0x212e19(0xc3)]();}['pauseCollaboration'](){var _0x54b5bd=_0x46a189;return this[_0x54b5bd(0x2fc)]=!0x0,_0x112078[_0x54b5bd(0x186)](()=>{var _0x381e25=_0x54b5bd;this['_collaborationPaused']=!0x1,this[_0x381e25(0x104)]();});}['onLocalMutation'](_0x39e184){var _0x10d38a=_0x46a189;this[_0x10d38a(0x382)](_0x39e184);}[_0x46a189(0xb6)](_0x3c0fd4){var _0x3ff702=_0x46a189;this[_0x3ff702(0x309)]=_0x3c0fd4,this[_0x3ff702(0x1ba)][_0x3ff702(0x28a)](_0x3c0fd4);}async[_0x46a189(0xc3)](){var _0x37e64d=_0x46a189,_0x444113;this[_0x37e64d(0xb6)](await this[_0x37e64d(0x1c4)]()),this[_0x37e64d(0x1ed)]&&((_0x444113=this[_0x37e64d(0x1ed)])==null||_0x444113[_0x37e64d(0x218)](this[_0x37e64d(0x194)]),this[_0x37e64d(0x13a)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x37e64d(0x194)])[_0x37e64d(0x153)](_0x380456=>{var _0x10de85=_0x37e64d;this['_logService'][_0x10de85(0x366)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x380456),_0x380456===_0xaf572f[_0x10de85(0x14e)]?(this[_0x10de85(0x381)][_0x10de85(0xe5)]({'id':_0xee750e['OTHER_CLIENT_EDITING']}),this[_0x10de85(0x30f)][_0x10de85(0x1c0)](new _0x44a4a2[(_0x10de85(0x377))](this[_0x10de85(0x194)])['id'],!0x1),this[_0x10de85(0x30f)][_0x10de85(0x39a)](!0x1)):(this[_0x10de85(0x30f)][_0x10de85(0x1c0)](new _0x44a4a2[(_0x10de85(0x377))](this[_0x10de85(0x194)])['id'],!0x0),this[_0x10de85(0x30f)][_0x10de85(0x39a)](!0x0));})));let _0x2006c0=!0x1;return this[_0x37e64d(0x13a)](this[_0x37e64d(0x2b9)][_0x37e64d(0x1f2)][_0x37e64d(0x153)](_0x1dc9b7=>{var _0x22196c=_0x37e64d;_0x1dc9b7===_0x4f1434['ONLINE']?this['_toggleOnline'](_0x2006c0):_0x1dc9b7===_0x4f1434['OFFLINE']&&(_0x2006c0=!0x0,this[_0x22196c(0x1bd)]());})),this[_0x37e64d(0x13a)](this[_0x37e64d(0x2b9)][_0x37e64d(0xd4)][_0x37e64d(0x153)](_0x1c8d0a=>{var _0xaf258f=_0x37e64d;try{switch(_0x1c8d0a[_0xaf258f(0x3df)]){case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x154)]:{this[_0xaf258f(0x367)](_0x4f9634[_0xaf258f(0x1a6)](_0x1c8d0a[_0xaf258f(0x3f5)]));break;}case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x3db)]:{this[_0xaf258f(0x22d)](_0x1c8d0a[_0xaf258f(0x3f5)]);break;}case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x3d3)]:{this[_0xaf258f(0x200)]();break;}case _0x4f9634['CollaborationEvent'][_0xaf258f(0x239)]:{this[_0xaf258f(0x148)](_0x1c8d0a['data']);break;}case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x422)]:{this[_0xaf258f(0xcc)](_0x1c8d0a['data'][_0xaf258f(0x344)][_0xaf258f(0xb5)](_0x464d49=>_0x4f9634['parseProtocolChangeset'](_0x464d49)));break;}case _0x4f9634[_0xaf258f(0x3f4)][_0xaf258f(0x286)]:{this[_0xaf258f(0x200)]({'isPermissionRej':!0x0});break;}case _0x4f9634['CollaborationEvent'][_0xaf258f(0x125)]:break;}}catch(_0x10f3be){throw console[_0xaf258f(0x157)](_0xaf258f(0x379),_0x10f3be),_0x10f3be;}})),this[_0x37e64d(0x309)];}[_0x46a189(0x39e)](){var _0x4b0dc1=_0x46a189;this[_0x4b0dc1(0x209)]=!0x1;}[_0x46a189(0x3fe)](){var _0x2f610a=_0x46a189;if(this[_0x2f610a(0x209)])throw new 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[_0x2f610a(0x209)]=!0x0;}['_onLocalMutation'](_0x47916d){var _0x4b700e=_0x46a189;this[_0x4b700e(0x3fe)](),this[_0x4b700e(0xb6)](this[_0x4b700e(0x309)][_0x4b700e(0x359)](_0x47916d)),this[_0x4b700e(0x39e)]();}[_0x46a189(0x367)](_0x572fba){var _0x239562=_0x46a189;if(!(_0x572fba[_0x239562(0x22b)]<=this[_0x239562(0xdf)][_0x239562(0x36d)](this[_0x239562(0x194)]))){if(this[_0x239562(0x2fc)]){this[_0x239562(0x177)][_0x239562(0x139)](_0x572fba);return;}this[_0x239562(0x3ab)](_0x572fba);}}['_exhaustRemoteChangesetQueue'](){var _0x1545b6=_0x46a189;this[_0x1545b6(0x177)][_0x1545b6(0x2f6)](_0x210d43=>this[_0x1545b6(0x3ab)](_0x210d43)),this[_0x1545b6(0x177)]=[];}[_0x46a189(0x3ab)](_0x13d800){var _0x5573c6=_0x46a189;const _0x5d433b=this[_0x5573c6(0x20c)][_0x5573c6(0x35f)][_0x5573c6(0x12e)](this['_compressMutationService']['interceptor'][_0x5573c6(0x2da)]()[_0x5573c6(0x3c2)])(_0x13d800[_0x5573c6(0x1af)],null)||_0x13d800[_0x5573c6(0x1af)],_0x4cd3bc={..._0x13d800,'mutations':_0x5d433b};this[_0x5573c6(0x3fe)](),this[_0x5573c6(0xb6)](this['_state'][_0x5573c6(0x350)](_0x4cd3bc)),this[_0x5573c6(0x39e)]();}[_0x46a189(0x22d)](_0x4f41bd){var _0x110b15=_0x46a189;this[_0x110b15(0x3fe)](),this['_updateState'](this[_0x110b15(0x309)]['onRemoteAck'](_0x4f41bd)),this['_unlockTransition']();}['_onRemoteRejected'](_0x1dbd52){var _0x157bbb=_0x46a189;this[_0x157bbb(0x3fe)](),this['_updateState'](this[_0x157bbb(0x309)][_0x157bbb(0x342)](_0x1dbd52)),this['_unlockTransition']();}[_0x46a189(0x148)](_0x4d1aa1){var _0x47b50a=_0x46a189;this['_lockTransition'](),this[_0x47b50a(0xb6)](this[_0x47b50a(0x309)]['onRemoteRetry'](_0x4d1aa1)),this['_unlockTransition']();}[_0x46a189(0xcc)](_0x431f4c){var _0x5d9a9b=_0x46a189;if(!(this['_state']instanceof _0x247d18['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xd4b78=_0x431f4c[_0x5d9a9b(0xb5)](_0x1147b2=>{var _0x36d576=_0x5d9a9b;const _0x513ca7=this[_0x36d576(0x20c)][_0x36d576(0x35f)][_0x36d576(0x12e)](this['_compressMutationService'][_0x36d576(0x35f)]['getInterceptPoints']()[_0x36d576(0x3c2)])(_0x1147b2['mutations'],null)||_0x1147b2['mutations'];return{..._0x1147b2,'mutations':_0x513ca7};});this[_0x5d9a9b(0x3fe)](),this[_0x5d9a9b(0xb6)](this[_0x5d9a9b(0x309)][_0x5d9a9b(0x1a5)](_0xd4b78)),this[_0x5d9a9b(0x39e)]();}[_0x46a189(0x1bd)](){var _0x4f41a8=_0x46a189;this[_0x4f41a8(0x3fe)](),this[_0x4f41a8(0xb6)](this[_0x4f41a8(0x309)][_0x4f41a8(0x273)]()),this[_0x4f41a8(0x39e)]();}[_0x46a189(0x3e3)](_0x3a15a1=!0x1){var _0x26ba61=_0x46a189;this[_0x26ba61(0x3fe)](),this['_updateState'](this[_0x26ba61(0x309)][_0x26ba61(0x3e8)]()),this['_unlockTransition']();const _0x506c95=this[_0x26ba61(0x309)];_0x3a15a1&&_0x506c95 instanceof _0x247d18[_0x26ba61(0x37b)]&&(this[_0x26ba61(0x3fe)](),this['_updateState'](_0x506c95['fetchMiss']()),this[_0x26ba61(0x39e)]());}async[_0x46a189(0x1c4)](){return new Promise(_0x28ebf8=>{var _0x3d759c=_0x532f;this[_0x3d759c(0x2b9)]['sessionStatus$'][_0x3d759c(0x41a)](_0x1909d3[_0x3d759c(0x348)](0x1))['subscribe'](async _0xcf26f5=>{var _0x3ddd64=_0x3d759c;_0x28ebf8(await this['_createInitialStateImpl'](_0xcf26f5===_0x4f1434[_0x3ddd64(0x252)]));});});}['_createHandler'](){var _0x283fff=_0x46a189;const _0x1dcad4=this[_0x283fff(0x194)];return{'onStateChange':(_0xd951c3,_0x1d90f2)=>{var _0x4711a4=_0x283fff;if(_0xd951c3!==this[_0x4711a4(0x309)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xd951c3['status']+_0x4711a4(0x2ea)+_0x1d90f2[_0x4711a4(0x111)]+_0x4711a4(0x22c)+this[_0x4711a4(0x309)][_0x4711a4(0x111)]);this[_0x4711a4(0xb6)](_0x1d90f2);},'onSendChangeset':_0x3691a2=>{var _0x421f77=_0x283fff;_0x3691a2[_0x421f77(0x2cb)]||(_0x3691a2['sid']=this[_0x421f77(0xaf)],_0x3691a2[_0x421f77(0x29f)]=++this[_0x421f77(0x2ef)]);const _0x587db2={'eventID':_0x4f9634[_0x421f77(0x3f4)][_0x421f77(0x3f3)],'data':{'unitID':_0x3691a2[_0x421f77(0x194)],'unitType':this[_0x421f77(0x31b)],'changeset':_0x3691a2,'memberID':this[_0x421f77(0x2b9)][_0x421f77(0x25a)]()}};this['session'][_0x421f77(0x2fa)](_0x587db2,this[_0x421f77(0x194)]);},'onMissingChangesets':({from:_0x282d96,to:_0x79b22c})=>{var _0x2c6009=_0x283fff;this[_0x2c6009(0x235)][_0x2c6009(0x366)]('[CollaborationEntity]',_0x2c6009(0x36a)+_0x282d96+'\x20to\x20'+_0x79b22c);const _0x4257dc={'eventID':_0x4f9634['CollaborationEvent'][_0x2c6009(0x1b9)],'data':{'unitID':_0x1dcad4,'unitType':this[_0x2c6009(0x31b)],'from':_0x282d96,'to':_0x79b22c}};this[_0x2c6009(0x2b9)]['send'](_0x4257dc,this[_0x2c6009(0x194)]);}};}async[_0x46a189(0x23a)](_0x445883){var _0x54c873=_0x46a189,_0x106b8c,_0x32bfcb,_0x29ac10;const _0x5bc15a=await((_0x106b8c=this[_0x54c873(0x11d)])==null?void 0x0:_0x106b8c[_0x54c873(0x215)](this[_0x54c873(0x194)])),_0x31d820=(_0x32bfcb=_0x5bc15a==null?void 0x0:_0x5bc15a[_0x54c873(0x1af)])!=null?_0x32bfcb:[],_0x7cd963=(_0x29ac10=_0x5bc15a==null?void 0x0:_0x5bc15a['awaitingChangeset'])!=null?_0x29ac10:null,_0x3990a6=!!(_0x7cd963!=null&&_0x7cd963[_0x54c873(0x2cb)])&&!!(_0x7cd963!=null&&_0x7cd963[_0x54c873(0x29f)]);this[_0x54c873(0xaf)]=_0x3990a6?_0x7cd963[_0x54c873(0x2cb)]:_0x4f9634[_0x54c873(0x414)](),this[_0x54c873(0x2ef)]=_0x3990a6?_0x7cd963[_0x54c873(0x29f)]:0x0;const _0x1fd5b2=this[_0x54c873(0x194)];try{this[_0x54c873(0x8b)](_0x7cd963,_0x31d820);}catch(_0x121857){this['_logService']['error'](_0x121857);}const _0x402e8e=this[_0x54c873(0x2e0)]();if(_0x445883){const _0x89fbe7=_0x43dba4(this[_0x54c873(0x3e1)],_0x1fd5b2,this[_0x54c873(0x31b)],_0x7cd963,_0x31d820,_0x402e8e);return _0x89fbe7 instanceof _0x247d18[_0x54c873(0x341)]?_0x89fbe7['_schedule']():(_0x89fbe7 instanceof _0x247d18[_0x54c873(0x1fc)]||_0x89fbe7 instanceof _0x247d18[_0x54c873(0x26f)])&&_0x89fbe7['resend'](),_0x89fbe7;}return this[_0x54c873(0x3e1)][_0x54c873(0x10c)](_0x247d18[_0x54c873(0xff)],_0x1fd5b2,this[_0x54c873(0x31b)],_0x7cd963,_0x31d820,_0x402e8e);}[_0x46a189(0x8b)](_0x2da263,_0x5aa6bc){var _0x2b496d=_0x46a189,_0x419d23,_0x47c31d;const _0x1f1221=this[_0x2b496d(0x20c)]['interceptor'][_0x2b496d(0x12e)](this['_compressMutationService'][_0x2b496d(0x35f)][_0x2b496d(0x2da)]()[_0x2b496d(0x3c2)]);(_0x419d23=_0x1f1221((_0x2da263==null?void 0x0:_0x2da263[_0x2b496d(0x1af)])||[],null))==null||_0x419d23[_0x2b496d(0x2f6)](_0x268cd9=>this[_0x2b496d(0x244)][_0x2b496d(0xc0)](_0x268cd9['id'],_0x268cd9['params'])),(_0x47c31d=_0x1f1221(_0x5aa6bc||[],null))==null||_0x47c31d[_0x2b496d(0x2f6)](_0x1e5cbd=>this[_0x2b496d(0x244)]['executeCommand'](_0x1e5cbd['id'],_0x1e5cbd[_0x2b496d(0x30e)]));}},_0x247d18['CollaborationEntity']=_0x6fafde([_0x3290fe(0x3,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x3290fe(0x4,_0x112078['Inject'](_0x4f9634[_0x46a189(0x2af)])),_0x3290fe(0x5,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0xd9)])),_0x3290fe(0x6,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x16f)])),_0x3290fe(0x7,_0x112078['Inject'](_0x12b7ba)),_0x3290fe(0x8,_0x112078['IUniverInstanceService']),_0x3290fe(0x9,_0x112078['ILogService']),_0x3290fe(0xa,_0x112078['ICommandService']),_0x3290fe(0xb,_0x112078[_0x46a189(0x2e4)]),_0x3290fe(0xc,_0x112078[_0x46a189(0x24e)](_0x51ca0c)),_0x3290fe(0xd,_0x112078['Optional'](_0x1257cc))],_0x247d18['CollaborationEntity']),_0x247d18[_0x46a189(0x3a3)]=class extends _0x247d18[_0x46a189(0x11b)]{constructor(_0x1b7403,_0x1a8b0a,_0x4d8d28,_0x3ba352,_0xe6b339,_0x4892dd,_0x5c0392,_0x26ecf8,_0x20a136,_0x300966,_0x2e4512,_0x4949b9,_0x36ef31,_0x3ab146){var _0x4ed337=_0x46a189;super(_0x1b7403,_0x4d8d28,_0x1a8b0a,_0x3ba352,_0xe6b339,_0x4892dd,_0x5c0392,_0x26ecf8,_0x20a136,_0x300966,_0x2e4512,_0x4949b9,_0x36ef31,_0x3ab146),_0x25aa6e(this,_0x4ed337(0x1a4),null),(this[_0x4ed337(0x194)]=_0x1b7403,this[_0x4ed337(0xfd)]=_0x1a8b0a);}[_0x46a189(0x413)](_0x477d30){var _0x186c6c=_0x46a189;this[_0x186c6c(0x1a4)]=_0x477d30;}['dispose'](){var _0x30eac4=_0x46a189;this['_handlerCallback']=null,super[_0x30eac4(0x376)]();}[_0x46a189(0x2e0)](){var _0x4c9cc3=_0x46a189;const _0x52a79d=super[_0x4c9cc3(0x2e0)]();return _0x52a79d[_0x4c9cc3(0xb4)]=_0x1d38d5=>{var _0x3d430f=_0x4c9cc3,_0x337177,_0x1318e8;return(_0x1318e8=(_0x337177=this[_0x3d430f(0x1a4)])==null?void 0x0:_0x337177[_0x3d430f(0xb4)])==null?void 0x0:_0x1318e8[_0x3d430f(0x3f2)](_0x337177,_0x1d38d5);},_0x52a79d[_0x4c9cc3(0x96)]=_0x18d378=>{var _0x29078c=_0x4c9cc3,_0x356075,_0x283c31;return(_0x283c31=(_0x356075=this[_0x29078c(0x1a4)])==null?void 0x0:_0x356075[_0x29078c(0x96)])==null?void 0x0:_0x283c31[_0x29078c(0x3f2)](_0x356075,_0x18d378);},_0x52a79d[_0x4c9cc3(0x17c)]=_0x32135e=>{var _0x464d5a=_0x4c9cc3,_0x5581b8,_0x479f06;return(_0x479f06=(_0x5581b8=this['_handlerCallback'])==null?void 0x0:_0x5581b8[_0x464d5a(0x17c)])==null?void 0x0:_0x479f06['call'](_0x5581b8,_0x32135e);},_0x52a79d[_0x4c9cc3(0x2b1)]=_0xfe58a3=>{var _0x13cec1=_0x4c9cc3,_0x50710c,_0x3c8c04;return(_0x3c8c04=(_0x50710c=this['_handlerCallback'])==null?void 0x0:_0x50710c['onSyncEditingCollabCursor'])==null?void 0x0:_0x3c8c04[_0x13cec1(0x3f2)](_0x50710c,_0xfe58a3);},_0x52a79d['onTransformRemoteChangesetByIMECache']=_0x42e961=>{var _0x2afac2=_0x4c9cc3,_0x21c3db,_0x1211e5,_0x51200f;if(!((_0x21c3db=this[_0x2afac2(0x1a4)])!=null&&_0x21c3db[_0x2afac2(0x29d)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x51200f=(_0x1211e5=this[_0x2afac2(0x1a4)])==null?void 0x0:_0x1211e5[_0x2afac2(0x29d)])==null?void 0x0:_0x51200f[_0x2afac2(0x3f2)](_0x1211e5,_0x42e961);},_0x52a79d[_0x4c9cc3(0x97)]=_0x497c55=>{var _0x15bddf=_0x4c9cc3,_0x151166,_0x47e785,_0x93cef8;if(!((_0x151166=this[_0x15bddf(0x1a4)])!=null&&_0x151166[_0x15bddf(0x97)]))throw new Error(_0x15bddf(0x132));return(_0x93cef8=(_0x47e785=this[_0x15bddf(0x1a4)])==null?void 0x0:_0x47e785[_0x15bddf(0x97)])==null?void 0x0:_0x93cef8[_0x15bddf(0x3f2)](_0x47e785,_0x497c55);},_0x52a79d;}async['_init'](){var _0x81432a=_0x46a189;const _0x26253a=await super['_init']();return this[_0x81432a(0x13a)](this[_0x81432a(0x244)]['onCommandExecuted']((_0x3327f2,_0x429e4d)=>{var _0x4f65ed=_0x81432a;if(_0x3327f2[_0x4f65ed(0xfd)]!==_0x112078['CommandType'][_0x4f65ed(0x3ce)]||_0x429e4d!=null&&_0x429e4d[_0x4f65ed(0xa9)]||_0x429e4d!=null&&_0x429e4d[_0x4f65ed(0x175)]||_0x3327f2['id']===_0x171cda[_0x4f65ed(0x2c5)]['id'])return;const _0x5028de=_0x3327f2['params'];if((_0x5028de==null?void 0x0:_0x5028de[_0x4f65ed(0x124)])!==this[_0x4f65ed(0x194)])return;const _0x2827f2=_0x3327f2,_0x377840=this[_0x4f65ed(0x20c)][_0x4f65ed(0x35f)][_0x4f65ed(0x12e)](this[_0x4f65ed(0x20c)][_0x4f65ed(0x35f)][_0x4f65ed(0x2da)]()[_0x4f65ed(0x22a)])([_0x2827f2],this[_0x4f65ed(0x3cf)])||[_0x2827f2];this['_onLocalMutation'](_0x377840[0x0]);})),_0x26253a;}},_0x247d18[_0x46a189(0x3a3)]=_0x6fafde([_0x3290fe(0x3,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x3290fe(0x4,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x2af)])),_0x3290fe(0x5,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0xd9)])),_0x3290fe(0x6,_0x112078['Inject'](_0x4f9634['RevisionService'])),_0x3290fe(0x7,_0x112078[_0x46a189(0x11e)](_0x12b7ba)),_0x3290fe(0x8,_0x112078[_0x46a189(0x93)]),_0x3290fe(0x9,_0x112078['ILogService']),_0x3290fe(0xa,_0x112078[_0x46a189(0x375)]),_0x3290fe(0xb,_0x112078['IPermissionService']),_0x3290fe(0xc,_0x112078[_0x46a189(0x24e)](_0x51ca0c)),_0x3290fe(0xd,_0x112078['Optional'](_0x1257cc))],_0x247d18['DocCollaborationEntity']),_0x247d18[_0x46a189(0x391)]=class extends _0x247d18[_0x46a189(0x11b)]{constructor(_0x51150b,_0x2cea13,_0x50bc74,_0x3aacf9,_0x45c34d,_0x1274eb,_0x322080,_0x256131,_0xca5ece,_0x2a73a8,_0x26dce4,_0x1cc97b,_0x554cb8,_0x1828c1,_0x318adc){var _0x471356=_0x46a189;super(_0x51150b,_0x50bc74,_0x2cea13,_0x3aacf9,_0x45c34d,_0x1274eb,_0x322080,_0xca5ece,_0x2a73a8,_0x26dce4,_0x1cc97b,_0x554cb8,_0x1828c1,_0x318adc),this['unitID']=_0x51150b,this[_0x471356(0xfd)]=_0x2cea13,this[_0x471356(0x337)]=_0x256131;}[_0x46a189(0x2e0)](){var _0x12c16a=_0x46a189;const _0xa139e3=super['_createHandler']();return _0xa139e3[_0x12c16a(0x17c)]=_0x4ecda1=>this[_0x12c16a(0x337)][_0x12c16a(0x351)](_0x4ecda1),_0xa139e3;}async[_0x46a189(0xc3)](){var _0x1535e2=_0x46a189;const _0x1ddd29=await super[_0x1535e2(0xc3)]();return this[_0x1535e2(0x13a)](this['_commandService'][_0x1535e2(0x331)]((_0x5a26f1,_0x57a7a3)=>{var _0x390f84=_0x1535e2;if(_0x5a26f1[_0x390f84(0xfd)]!==_0x112078[_0x390f84(0x18e)][_0x390f84(0x3ce)]||_0x57a7a3!=null&&_0x57a7a3[_0x390f84(0xa9)]||_0x57a7a3!=null&&_0x57a7a3[_0x390f84(0x175)])return;const _0xc3a16f=_0x5a26f1['params'];if((_0xc3a16f==null?void 0x0:_0xc3a16f['unitId'])!==this['unitID'])return;const _0x58fcc1=_0x5a26f1,_0x5cdf44=this['_compressMutationService'][_0x390f84(0x35f)][_0x390f84(0x12e)](this[_0x390f84(0x20c)][_0x390f84(0x35f)][_0x390f84(0x2da)]()[_0x390f84(0x22a)])([_0x58fcc1],this[_0x390f84(0x3cf)])||[_0x58fcc1];this[_0x390f84(0x382)](_0x5cdf44[0x0]);})),_0x1ddd29;}},_0x247d18[_0x46a189(0x391)]=_0x6fafde([_0x3290fe(0x3,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x3290fe(0x4,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x2af)])),_0x3290fe(0x5,_0x112078['Inject'](_0x112078['LocaleService'])),_0x3290fe(0x6,_0x112078[_0x46a189(0x11e)](_0x4f9634[_0x46a189(0x16f)])),_0x3290fe(0x7,_0x112078[_0x46a189(0x11e)](_0x247d18[_0x46a189(0xc4)])),_0x3290fe(0x8,_0x112078[_0x46a189(0x11e)](_0x12b7ba)),_0x3290fe(0x9,_0x112078[_0x46a189(0x93)]),_0x3290fe(0xa,_0x112078['ILogService']),_0x3290fe(0xb,_0x112078[_0x46a189(0x375)]),_0x3290fe(0xc,_0x112078[_0x46a189(0x2e4)]),_0x3290fe(0xd,_0x112078[_0x46a189(0x24e)](_0x51ca0c)),_0x3290fe(0xe,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0x391)]);const _0x4284be=_0x112078[_0x46a189(0x1fe)](_0x46a189(0x133));function _0x3a30da(_0x36c8b2){var _0x412ef9=_0x46a189,_0x44ac5b,_0x2406fb,_0x1e60b5,_0x4b64fb,_0x20d046;const _0xfdcb12=_0x36c8b2[_0x412ef9(0x3f5)],_0x17149d=JSON[_0x412ef9(0x390)](_0xfdcb12);switch(_0x17149d[_0x412ef9(0x2d6)]){case _0x32720a[_0x412ef9(0x226)]:case _0x32720a[_0x412ef9(0x26c)]:{const _0x2540a8=_0x17149d[_0x412ef9(0x3c6)];return{..._0x17149d,'data':_0x2540a8,'cmd':_0x17149d['cmd']};}case _0x32720a[_0x412ef9(0xd0)]:{const _0x1c87c4=_0x17149d[_0x412ef9(0x371)];return{..._0x17149d,'data':_0x1c87c4,'cmd':_0x17149d[_0x412ef9(0x2d6)]};}case _0x32720a[_0x412ef9(0x32d)]:{const _0x5153a0=_0x17149d[_0x412ef9(0x156)];switch(_0x5153a0[_0x412ef9(0x3df)]){case _0x4f9634['CollaborationEvent'][_0x412ef9(0x286)]:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x44ac5b=_0x5153a0['permissionRejEvent'])==null?void 0x0:_0x44ac5b['cs']},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x3db)]:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x2406fb=_0x5153a0['csAckEvent'])==null?void 0x0:_0x2406fb['cs']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)]['NEW_CHANGESETS']:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x1e60b5=_0x5153a0[_0x412ef9(0x223)])==null?void 0x0:_0x1e60b5['cs']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x3d3)]:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x4b64fb=_0x5153a0['csRejEvent'])==null?void 0x0:_0x4b64fb['cs']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x239)]:return{..._0x17149d,'data':{..._0x5153a0,'data':(_0x20d046=_0x5153a0[_0x412ef9(0x3e9)])==null?void 0x0:_0x20d046['cs']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x1e2)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0['updateCursorEvent']},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x339)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x128)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634['CollaborationEvent']['USERS_LEAVE']:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x8d)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634['CollaborationEvent'][_0x412ef9(0x303)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x33c)]},'cmd':_0x17149d['cmd']};case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x25e)]:case _0x4f9634[_0x412ef9(0x3f4)][_0x412ef9(0x25c)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x34f)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634['CollaborationEvent'][_0x412ef9(0x29b)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x33c)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)]['MSG_FOR_ERROR']:return{..._0x17149d,'data':_0x5153a0,'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)]['COMMENT_UPDATE']:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0xf8)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)]['UPDATE_PERMISSION_OBJ']:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x3cd)]},'cmd':_0x17149d['cmd']};case _0x4f9634['CollaborationEvent'][_0x412ef9(0x85)]:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x30b)]},'cmd':_0x17149d[_0x412ef9(0x2d6)]};case _0x4f9634[_0x412ef9(0x3f4)]['UNISCRIPT_RUN']:return{..._0x17149d,'data':{..._0x5153a0,'data':_0x5153a0[_0x412ef9(0x274)]},'cmd':_0x17149d['cmd']};default:return _0x17149d;}}default:return _0x17149d;}}function _0x5da2ca(_0x583679){var _0x5b6b62=_0x46a189;switch(_0x583679[_0x5b6b62(0x2d6)]){case _0x32720a[_0x5b6b62(0x226)]:case _0x32720a[_0x5b6b62(0x26c)]:return JSON[_0x5b6b62(0x27f)]({'cmd':_0x583679['cmd'],'routeKey':_0x583679[_0x5b6b62(0xb1)]});case _0x32720a[_0x5b6b62(0x191)]:{let _0x55e346;switch(_0x583679[_0x5b6b62(0x3f5)][_0x5b6b62(0x3df)]){case _0x4f9634['CollaborationEvent'][_0x5b6b62(0x1e2)]:{_0x55e346={'eventID':_0x4f9634['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x583679[_0x5b6b62(0x3f5)][_0x5b6b62(0x3f5)]};break;}case _0x4f9634[_0x5b6b62(0x3f4)]['USERS_LEAVE']:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x2bd)],'leaveEvent':_0x583679['data']['data']};break;}case _0x4f9634['CollaborationEvent'][_0x5b6b62(0x339)]:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x339)],'joinEvent':_0x583679['data']['data']};break;}case _0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x303)]:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x303)],'liveShareNewHost':_0x583679[_0x5b6b62(0x3f5)]['data']};break;}case _0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x25c)]:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x25c)],'liveShareOperation':_0x583679[_0x5b6b62(0x3f5)]['data']};break;}case _0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x29b)]:{_0x55e346={'eventID':_0x4f9634['CollaborationEvent'][_0x5b6b62(0x29b)],'liveShareTerminate':_0x583679[_0x5b6b62(0x3f5)][_0x5b6b62(0x3f5)]};break;}case _0x4f9634[_0x5b6b62(0x3f4)]['LIVESHARE_REQUEST_HOST']:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x2b6)],'liveShareRequestHost':_0x583679['data']['data']};break;}case _0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x25e)]:{_0x55e346={'eventID':_0x4f9634[_0x5b6b62(0x3f4)][_0x5b6b62(0x25e)]};break;}default:_0x55e346={'eventID':_0x583679['data'][_0x5b6b62(0x3df)]};}return JSON['stringify']({'cmd':_0x583679[_0x5b6b62(0x2d6)],'routeKey':_0x583679['routeKey'],'collaMsg':_0x55e346});}case _0x32720a[_0x5b6b62(0xd0)]:return JSON[_0x5b6b62(0x27f)]({'cmd':_0x583679[_0x5b6b62(0x2d6)],'routeKey':_0x583679[_0x5b6b62(0xb1)],'joinReq':_0x583679[_0x5b6b62(0x3f5)]});case _0x32720a[_0x5b6b62(0x39d)]:return JSON[_0x5b6b62(0x27f)]({'cmd':_0x583679['cmd'],'routeKey':_0x583679[_0x5b6b62(0xb1)],'leaveReq':_0x583679[_0x5b6b62(0x3f5)]});default:throw new Error(_0x5b6b62(0x21c));}}var _0x42b74e=Object['getOwnPropertyDescriptor'],_0x30e8f2=(_0x264a45,_0xe17de,_0x313136,_0x2d4897)=>{var _0x1c9d40=_0x46a189;for(var _0x3110e7=_0x2d4897>0x1?void 0x0:_0x2d4897?_0x42b74e(_0xe17de,_0x313136):_0xe17de,_0x37e8cf=_0x264a45[_0x1c9d40(0x86)]-0x1,_0xa52f31;_0x37e8cf>=0x0;_0x37e8cf--)(_0xa52f31=_0x264a45[_0x37e8cf])&&(_0x3110e7=_0xa52f31(_0x3110e7)||_0x3110e7);return _0x3110e7;},_0x3feea7=(_0x1d920e,_0x18821d)=>(_0x36a04c,_0x4ee9ac)=>_0x18821d(_0x36a04c,_0x4ee9ac,_0x1d920e);const _0x5501e9=_0x112078[_0x46a189(0x1fe)]('univer-pro.collaboration-client-socket-service');function _0x2ae8ef(_0x447bae,_0x2d638a,_0x498a4c){var _0x520f04=_0x46a189;return _0x447bae+'/'+_0x2d638a+_0x520f04(0x3fb)+_0x498a4c+_0x520f04(0x1c5);}_0x247d18[_0x46a189(0x304)]=class extends _0x112078[_0x46a189(0x426)]{constructor(_0x4014bd,_0x563819,_0x2fc33c,_0xac7335,_0x317c2e){var _0x23203e=_0x46a189;super(),this[_0x23203e(0x3e1)]=_0x4014bd,this[_0x23203e(0x320)]=_0x563819,this[_0x23203e(0xad)]=_0x2fc33c,this[_0x23203e(0x235)]=_0xac7335,this[_0x23203e(0x214)]=_0x317c2e;}['_doCreateSocket'](_0x3506a6){var _0x1a6fac=_0x46a189;const _0x1746e9=this[_0x1a6fac(0x3e1)][_0x1a6fac(0x3aa)](_0x1b0b18[_0x1a6fac(0x1df)]);if(!_0x1746e9)throw new Error(_0x1a6fac(0x2e1));const _0x3f3a92=_0x1746e9[_0x1a6fac(0x3b4)](_0x3506a6);if(!_0x3f3a92)throw new Error(_0x1a6fac(0x260));const _0x44e3b2=new _0x112078[(_0x1a6fac(0x3ee))](),_0x404c6f=new _0x1909d3['Subject']();_0x44e3b2['add'](_0x3f3a92[_0x1a6fac(0x2d2)][_0x1a6fac(0x153)](_0x9278e6=>_0x404c6f['next'](_0x9278e6))),_0x44e3b2[_0x1a6fac(0x1f4)](_0x112078['toDisposable'](()=>_0x404c6f['complete']()));const _0x400deb=new _0x1909d3[(_0x1a6fac(0x276))]();_0x44e3b2[_0x1a6fac(0x1f4)](_0x3f3a92[_0x1a6fac(0x269)][_0x1a6fac(0x153)](_0x3b3020=>_0x400deb[_0x1a6fac(0x28a)](_0x3b3020))),_0x44e3b2[_0x1a6fac(0x1f4)](_0x112078[_0x1a6fac(0x186)](()=>_0x400deb[_0x1a6fac(0x1c3)]()));const _0x113e2e=new _0x1909d3[(_0x1a6fac(0x276))]();_0x44e3b2[_0x1a6fac(0x1f4)](_0x3f3a92['message$'][_0x1a6fac(0x153)](_0x36d514=>{var _0xa5e038=_0x1a6fac;const _0x402377=_0x3a30da(_0x36d514);_0x113e2e[_0xa5e038(0x28a)](_0x402377);})),_0x44e3b2[_0x1a6fac(0x1f4)](_0x112078[_0x1a6fac(0x186)](()=>_0x113e2e['complete']()));let _0x4834b9;const _0x1fd89f=()=>{var _0x41f840=_0x1a6fac;_0x400deb[_0x41f840(0x28a)](new Event(_0x41f840(0x3a9))),_0x404c6f['next'](new Event(_0x41f840(0x3a9))),_0x4834b9[_0x41f840(0xbc)]();};return _0x4834b9={'memberID':'','close$':_0x404c6f[_0x1a6fac(0x2d0)](),'error$':_0x400deb[_0x1a6fac(0x2d0)](),'open$':_0x3f3a92[_0x1a6fac(0xe0)],'message$':_0x113e2e[_0x1a6fac(0x2d0)](),'send':_0x4d4bf9=>{var _0x26db11=_0x1a6fac;if(_0x4d4bf9[_0x26db11(0x2d6)]===_0x32720a[_0x26db11(0x191)]){if(_0x4d4bf9['data']['eventID']===_0x4f9634[_0x26db11(0x3f4)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x4834b9,_0x4d4bf9[_0x26db11(0x3f5)])[_0x26db11(0x40a)](_0x2fe844=>{var _0x32a246=_0x26db11;this[_0x32a246(0x235)][_0x32a246(0x157)](_0x2fe844),_0x1fd89f();});return;}if(_0x4d4bf9[_0x26db11(0x3f5)][_0x26db11(0x3df)]===_0x4f9634[_0x26db11(0x3f4)][_0x26db11(0x1b9)]){const _0x22207a=_0x4d4bf9[_0x26db11(0x3f5)];this[_0x26db11(0x35d)](_0x22207a)[_0x26db11(0x2a7)](_0x349413=>{var _0x4e11c4=_0x26db11;_0x113e2e[_0x4e11c4(0x28a)]({'cmd':_0x32720a[_0x4e11c4(0x32d)],'code':_0x142cf7['OK'],'routeKey':_0x22207a[_0x4e11c4(0x3f5)]['unitID'],'routeType':'','data':{'eventID':_0x4f9634[_0x4e11c4(0x3f4)][_0x4e11c4(0x422)],'data':{'changesets':_0x349413}}});})['catch'](_0x3e1703=>{var _0x379cea=_0x26db11;this[_0x379cea(0x235)][_0x379cea(0x157)](_0x3e1703),_0x1fd89f();});return;}}_0x3f3a92['send'](_0x5da2ca(_0x4d4bf9));},'close':()=>{_0x3f3a92['close'](),_0x44e3b2['dispose']();}},_0x4834b9;}async[_0x46a189(0x145)](_0x9e485d,_0x53cddc){var _0xced9f0=_0x46a189,_0x349d30;const {unitType:_0x29bda1,unitID:_0x9de0a6,changeset:_0xd176a1}=_0x53cddc[_0xced9f0(0x3f5)],_0x4d132f={'unitID':_0x9de0a6,'memberID':_0x9e485d[_0xced9f0(0x2c4)],'type':_0x29bda1,'changeset':_0x4f9634['parseChangesetToProtocol'](_0xd176a1)},_0x44bcad=this[_0xced9f0(0xad)][_0xced9f0(0x2a2)](_0x4f0c7a),_0x3a0a79=_0x2ae8ef((_0x349d30=_0x44bcad==null?void 0x0:_0x44bcad['collabSubmitChangesetUrl'])!=null?_0x349d30:_0x18fa10,_0x29bda1,_0x9de0a6);try{await this[_0xced9f0(0x320)]['post'](_0x3a0a79,{'body':_0x4d132f});}catch(_0x20a04a){throw this['_logService'][_0xced9f0(0x157)](_0xced9f0(0x324),'submit\x20changeset\x20error!'),_0x20a04a;}}async[_0x46a189(0x35d)](_0x46d198){var _0x5039b4=_0x46a189;const {unitID:_0x47ed61,from:_0x501211,to:_0x5c8bc4,unitType:_0x494f00}=_0x46d198[_0x5039b4(0x3f5)];return(await this[_0x5039b4(0x214)][_0x5039b4(0x2fe)]({'metadata':void 0x0},{'unitID':_0x47ed61,'type':_0x494f00,'from':_0x501211,'to':_0x5c8bc4}))['changesets']['map'](_0x5eb4c6=>((_0x5eb4c6['mutations']===null||_0x5eb4c6[_0x5039b4(0x1af)]===void 0x0)&&(_0x5eb4c6[_0x5039b4(0x1af)]=[]),_0x5eb4c6));}},_0x247d18[_0x46a189(0x304)]=_0x30e8f2([_0x3feea7(0x0,_0x112078[_0x46a189(0x11e)](_0x112078['Injector'])),_0x3feea7(0x1,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)])),_0x3feea7(0x2,_0x112078[_0x46a189(0x22f)]),_0x3feea7(0x3,_0x112078[_0x46a189(0xce)]),_0x3feea7(0x4,_0x4f9634[_0x46a189(0x119)])],_0x247d18[_0x46a189(0x304)]);var _0x3e9554=Object[_0x46a189(0x1d1)],_0x3bf711=(_0x44b016,_0x1dfba1,_0x5e6ba7,_0x49940e)=>{var _0x4036e8=_0x46a189;for(var _0x4d2fb1=_0x49940e>0x1?void 0x0:_0x49940e?_0x3e9554(_0x1dfba1,_0x5e6ba7):_0x1dfba1,_0xbc37a=_0x44b016[_0x4036e8(0x86)]-0x1,_0x3d9974;_0xbc37a>=0x0;_0xbc37a--)(_0x3d9974=_0x44b016[_0xbc37a])&&(_0x4d2fb1=_0x3d9974(_0x4d2fb1)||_0x4d2fb1);return _0x4d2fb1;},_0x1c57e1=(_0x12729c,_0x466b7f)=>(_0x534ae2,_0xaf5322)=>_0x466b7f(_0x534ae2,_0xaf5322,_0x12729c);_0x247d18[_0x46a189(0x3a4)]=class extends _0x112078['Disposable']{constructor(_0x2a10c6,_0x5a8b9e,_0x9ec38b,_0x867483,_0x4c62a9,_0x206722){var _0x381671=_0x46a189;super(),_0x25aa6e(this,_0x381671(0xb3),new _0x1909d3[(_0x381671(0xf5))](void 0x0)),_0x25aa6e(this,'socket$',this['_socket$']['asObservable']()),_0x25aa6e(this,_0x381671(0x229),null),_0x25aa6e(this,_0x381671(0x2e9),new Map()),_0x25aa6e(this,_0x381671(0x266),new _0x1909d3[(_0x381671(0xf5))](_0x4f1434[_0x381671(0x37d)])),_0x25aa6e(this,_0x381671(0x3da),this[_0x381671(0x266)][_0x381671(0x2d0)]()),_0x25aa6e(this,_0x381671(0x338),!0x1),_0x25aa6e(this,_0x381671(0x3a7)),_0x25aa6e(this,_0x381671(0x248),0x0),_0x25aa6e(this,_0x381671(0x24f)),_0x25aa6e(this,_0x381671(0x293)),(this[_0x381671(0x3e1)]=_0x2a10c6,this['_logService']=_0x5a8b9e,this['_configService']=_0x9ec38b,this[_0x381671(0x347)]=_0x867483,this[_0x381671(0x281)]=_0x4c62a9,this[_0x381671(0x2c7)]=_0x206722,this[_0x381671(0xb8)]());}get['_socket'](){var _0x21a3a3=_0x46a189;return this[_0x21a3a3(0xb3)][_0x21a3a3(0x109)]();}['_listenToNetworkCondition'](){var _0x4a1412=_0x46a189;this[_0x4a1412(0x2c7)]&&this[_0x4a1412(0x13a)](this[_0x4a1412(0x2c7)][_0x4a1412(0x374)][_0x4a1412(0x153)](_0x3e5ce4=>{var _0x73d1d1=_0x4a1412;_0x3e5ce4&&!this[_0x73d1d1(0xd5)]&&this[_0x73d1d1(0x1e5)](),_0x3e5ce4||this[_0x73d1d1(0x130)]();}));}['dispose'](){var _0x46fc68=_0x46a189;super['dispose'](),this[_0x46fc68(0xa7)](),this[_0x46fc68(0x36c)](),this[_0x46fc68(0x2aa)](),this[_0x46fc68(0x2e9)]['forEach'](_0xd640d0=>_0xd640d0[_0x46fc68(0x376)]()),this[_0x46fc68(0x2e9)][_0x46fc68(0x31d)](),this[_0x46fc68(0x266)][_0x46fc68(0x1c3)]();}async['requireSession'](_0x565158){var _0x4d8a2d=_0x46a189;if(this[_0x4d8a2d(0x2e9)]['has'](_0x565158))return this['_sessions'][_0x4d8a2d(0x3aa)](_0x565158);this[_0x4d8a2d(0xba)]();const _0x4a3db3=this[_0x4d8a2d(0x3e1)][_0x4d8a2d(0x10c)](_0x247d18[_0x4d8a2d(0x2fd)],_0x565158,this[_0x4d8a2d(0xb3)][_0x4d8a2d(0x2d0)]());return this[_0x4d8a2d(0x2e9)]['set'](_0x565158,_0x4a3db3),_0x4a3db3;}['closeSession'](_0x19345b){var _0x312920=_0x46a189,_0x3b4277;const _0x15c9af=this[_0x312920(0x2e9)][_0x312920(0x3aa)](_0x19345b);_0x15c9af&&(this[_0x312920(0x2e9)][_0x312920(0x3bd)](_0x19345b),_0x15c9af[_0x312920(0xbc)]()),this['_sessions'][_0x312920(0x352)]||(_0x3b4277=this['_socket'])==null||_0x3b4277[_0x312920(0xbc)]();}[_0x46a189(0x1e5)](){var _0x1dc7f=_0x46a189;this['_retryCount']=0x0,this['_clearRetryConnectingTimer'](),this[_0x1dc7f(0xbd)]();}['_clearRetryConnectingTimer'](){var _0x29a665=_0x46a189;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x29a665(0x3a7)]),this[_0x29a665(0x3a7)]=null);}async['_createSocket'](){var _0x3c5fd4=_0x46a189,_0x4c1184;const _0x4e38d6=this[_0x3c5fd4(0xad)][_0x3c5fd4(0x2a2)](_0x4f0c7a),_0x6d06ba=(_0x4c1184=_0x4e38d6==null?void 0x0:_0x4e38d6['collabWebSocketUrl'])!=null?_0x4c1184:_0x1cfacc,_0x11cc41=await this['_socketService']['createSocket'](_0x6d06ba);return this[_0x3c5fd4(0x229)]=_0x11cc41,_0x11cc41;}async[_0x46a189(0xba)](){var _0x5457ce=_0x46a189,_0x37b002,_0x45c13a;try{const _0x13bcc4=(_0x45c13a=(_0x37b002=this[_0x5457ce(0xd5)])!=null?_0x37b002:this[_0x5457ce(0x229)])!=null?_0x45c13a:await this[_0x5457ce(0x2f1)]();if(_0x13bcc4){const _0x552dd2=_0x13bcc4['send'];_0x13bcc4[_0x5457ce(0x2fa)]=_0x132604=>(this[_0x5457ce(0x129)](),_0x552dd2[_0x5457ce(0xcd)](_0x13bcc4,[_0x132604])),_0x13bcc4[_0x5457ce(0x10f)][_0x5457ce(0x153)](_0x7237be=>this[_0x5457ce(0x30a)](_0x13bcc4,_0x7237be)),_0x13bcc4[_0x5457ce(0x269)]['pipe'](_0x57d774[_0x5457ce(0x348)](0x1))[_0x5457ce(0x153)](_0x454d98=>this[_0x5457ce(0x235)][_0x5457ce(0x157)](_0x5457ce(0x15b),_0x454d98)),_0x13bcc4['open$']['pipe'](_0x57d774[_0x5457ce(0x348)](0x1))[_0x5457ce(0x153)](()=>{this['_onConnectionOpen'](_0x13bcc4);}),_0x13bcc4['close$'][_0x5457ce(0x41a)](_0x57d774[_0x5457ce(0x348)](0x1))[_0x5457ce(0x153)](_0x5b9d42=>{var _0x3f453d=_0x5457ce;this['_logService']['debug'](_0x3f453d(0x287),_0x3f453d(0x364),_0x5b9d42),this['_onConnectionFailed']();});}}catch(_0x5a329e){this['_logService'][_0x5457ce(0x157)](_0x5a329e),this[_0x5457ce(0x18c)]();}}[_0x46a189(0x299)](_0x523974){var _0x3129c4=_0x46a189;this[_0x3129c4(0x235)][_0x3129c4(0x366)](_0x3129c4(0x287),_0x3129c4(0xa1)),_0x523974['send']({'cmd':_0x32720a[_0x3129c4(0x26c)]}),this[_0x3129c4(0x129)]();}[_0x46a189(0x130)](){var _0x12e067=_0x46a189;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x12e067(0x266)]['next'](_0x4f1434[_0x12e067(0x301)]),this[_0x12e067(0xb3)][_0x12e067(0x28a)](null),this[_0x12e067(0x36c)](),this[_0x12e067(0x2aa)]();}[_0x46a189(0x18c)](){var _0x58c9aa=_0x46a189,_0x3e01ab;this[_0x58c9aa(0x130)](),this[_0x58c9aa(0x248)]<((_0x3e01ab=this[_0x58c9aa(0xad)]['getConfig'](_0x302883))!=null?_0x3e01ab:0x3)?(this['_collaborationUIEventService'][_0x58c9aa(0xe5)]({'id':_0xee750e[_0x58c9aa(0x40c)]}),this[_0x58c9aa(0xbd)]()):this['_collaborationUIEventService'][_0x58c9aa(0xe5)]({'id':_0xee750e[_0x58c9aa(0x26e)]});}[_0x46a189(0xbd)](){var _0x45142f=_0x46a189,_0x11161b;const _0x1806b3=this[_0x45142f(0x248)],_0x45dae8=this[_0x45142f(0xad)][_0x45142f(0x2a2)](_0x4f0c7a),_0x13044a=_0x1806b3===0x0?0x0:((_0x11161b=_0x45dae8==null?void 0x0:_0x45dae8[_0x45142f(0x368)])!=null?_0x11161b:0x4e20)*0x2**_0x1806b3;this['_retryConnectingTimer']=setTimeout(()=>{var _0x126bcd=_0x45142f;clearTimeout(this[_0x126bcd(0x3a7)]),this[_0x126bcd(0x3a7)]=null,this[_0x126bcd(0xba)]();},_0x13044a),this['_retryCount']+=0x1;}['_onMessage'](_0x467efc,_0x37c7c4){var _0x393cb8=_0x46a189;const {cmd:_0x533ec3}=_0x37c7c4;_0x533ec3===_0x32720a[_0x393cb8(0x26c)]&&!this[_0x393cb8(0x338)]&&(_0x467efc[_0x393cb8(0x2c4)]=_0x37c7c4[_0x393cb8(0x3f5)][_0x393cb8(0x2c4)],this['_socket$'][_0x393cb8(0x28a)](_0x467efc),this[_0x393cb8(0x266)][_0x393cb8(0x28a)](_0x4f1434['ONLINE']),this['_socketReady']=!0x0,this[_0x393cb8(0x229)]=null),_0x533ec3===_0x32720a['HEARTBEAT']&&this[_0x393cb8(0x36c)](),this[_0x393cb8(0x129)]();}[_0x46a189(0x129)](){var _0x7c6321=_0x46a189,_0x41cabd;this[_0x7c6321(0x2aa)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x7c6321(0x1bb)](),(_0x41cabd=this[_0x7c6321(0xad)]['getConfig'](_0x3dbfa6))!=null?_0x41cabd:0x7530);}[_0x46a189(0x1bb)](){var _0x1b555a=_0x46a189;this['_socket'][_0x1b555a(0x2fa)]({'cmd':_0x32720a[_0x1b555a(0x226)]}),this[_0x1b555a(0x166)]();}[_0x46a189(0x166)](){var _0x5d018a=_0x46a189,_0x1f809e;this['_timeoutTimer']=setTimeout(()=>this[_0x5d018a(0x18c)](),(_0x1f809e=this['_configService']['getConfig'](_0x375a07))!=null?_0x1f809e:0x4e20);}[_0x46a189(0x2aa)](){var _0x51e66f=_0x46a189;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x51e66f(0x24f)]=null);}[_0x46a189(0x36c)](){var _0x271762=_0x46a189;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x271762(0x293)]),this[_0x271762(0x293)]=null);}},_0x247d18['CollaborationSessionService']=_0x3bf711([_0x1c57e1(0x0,_0x112078[_0x46a189(0x11e)](_0x112078['Injector'])),_0x1c57e1(0x1,_0x112078[_0x46a189(0xce)]),_0x1c57e1(0x2,_0x112078['IConfigService']),_0x1c57e1(0x3,_0x5501e9),_0x1c57e1(0x4,_0x112078[_0x46a189(0x11e)](_0x12b7ba)),_0x1c57e1(0x5,_0x112078[_0x46a189(0x24e)](_0x4284be))],_0x247d18[_0x46a189(0x3a4)]);var _0x2a5326=Object['getOwnPropertyDescriptor'],_0xe69e2c=(_0x3f7f39,_0x5f56a2,_0x38b627,_0x305fa9)=>{var _0x36befa=_0x46a189;for(var _0x27abf9=_0x305fa9>0x1?void 0x0:_0x305fa9?_0x2a5326(_0x5f56a2,_0x38b627):_0x5f56a2,_0x543c92=_0x3f7f39[_0x36befa(0x86)]-0x1,_0x3f1672;_0x543c92>=0x0;_0x543c92--)(_0x3f1672=_0x3f7f39[_0x543c92])&&(_0x27abf9=_0x3f1672(_0x27abf9)||_0x27abf9);return _0x27abf9;},_0x740c56=(_0x3c3a9a,_0x5b6436)=>(_0x583e08,_0x4922f7)=>_0x5b6436(_0x583e08,_0x4922f7,_0x3c3a9a);_0x247d18[_0x46a189(0x408)]=class extends _0x112078[_0x46a189(0x113)]{constructor(_0x426a66,_0x5e49e5,_0x405122,_0x1d98d8){var _0x2ae217=_0x46a189,_0x1e7152;super(),_0x25aa6e(this,'_entities',new Map()),_0x25aa6e(this,_0x2ae217(0x1ce),new _0x1909d3[(_0x2ae217(0x276))]()),_0x25aa6e(this,_0x2ae217(0x2f8),this[_0x2ae217(0x1ce)][_0x2ae217(0x2d0)]()),(this[_0x2ae217(0x3e1)]=_0x426a66,this[_0x2ae217(0x31a)]=_0x5e49e5,this[_0x2ae217(0xad)]=_0x405122,this[_0x2ae217(0x3cf)]=_0x1d98d8,((_0x1e7152=this[_0x2ae217(0xad)][_0x2ae217(0x2a2)](_0x4f0c7a))==null?void 0x0:_0x1e7152[_0x2ae217(0x278)])!==!0x1&&this[_0x2ae217(0xc3)]());}[_0x46a189(0x376)](){var _0x481ccc=_0x46a189;super['dispose'](),this[_0x481ccc(0x198)][_0x481ccc(0x2f6)](_0x343dcd=>_0x343dcd[_0x481ccc(0x376)]()),this['_entities'][_0x481ccc(0x31d)]();}[_0x46a189(0x188)](_0x44aa69){var _0xa82b35=_0x46a189,_0x271d64;return(_0x271d64=this[_0xa82b35(0x198)][_0xa82b35(0x3aa)](_0x44aa69))!=null?_0x271d64:null;}[_0x46a189(0x305)](_0x30fc64){var _0x5047ab=_0x46a189;const _0x2aa111=this[_0x5047ab(0x188)](_0x30fc64);return _0x2aa111?_0x1909d3['of'](_0x2aa111):this[_0x5047ab(0x1ce)][_0x5047ab(0x41a)](_0x57d774['filter'](_0x32147c=>_0x32147c['unitID']===_0x30fc64));}[_0x46a189(0x2ae)](_0x431a8b){var _0x36fc1f=_0x46a189;return _0x1909d3['firstValueFrom'](this['getCollabEntity$'](_0x431a8b)[_0x36fc1f(0x41a)](_0x57d774[_0x36fc1f(0xb5)](()=>{})));}[_0x46a189(0xc3)](){var _0x3c53fc=_0x46a189;this['_univerInstanceService'][_0x3c53fc(0x418)](_0x112078[_0x3c53fc(0x164)][_0x3c53fc(0x18b)])[_0x3c53fc(0x41a)](_0x1909d3[_0x3c53fc(0x1ea)](this[_0x3c53fc(0x98)]),_0x57d774[_0x3c53fc(0x13f)](0x10))[_0x3c53fc(0x153)](async _0x29e027=>{var _0x1a263c=_0x3c53fc;const _0x2b978d=_0x29e027[_0x1a263c(0x9c)](),_0x1ebe39=await this['_startCollaboration'](_0x2b978d,_0x193e02[_0x1a263c(0x18b)]);this['_entities']['set'](_0x2b978d,_0x1ebe39);}),this[_0x3c53fc(0x3cf)][_0x3c53fc(0x418)](_0x112078[_0x3c53fc(0x164)]['UNIVER_DOC'])['pipe'](_0x1909d3[_0x3c53fc(0x1ea)](this[_0x3c53fc(0x98)]),_0x57d774[_0x3c53fc(0x13f)](0x10))[_0x3c53fc(0x41a)](_0x57d774['filter'](_0x341214=>!_0x341214[_0x3c53fc(0x9c)]()[_0x3c53fc(0x224)]('__')))['subscribe'](async _0x590be6=>{var _0x2f3524=_0x3c53fc;const _0x1b1e40=_0x590be6[_0x2f3524(0x9c)](),_0x3dd82a=await this[_0x2f3524(0x3ca)](_0x1b1e40,_0x193e02['UNIVER_DOC']);this['_entities'][_0x2f3524(0xf3)](_0x1b1e40,_0x3dd82a);}),_0x1909d3[_0x3c53fc(0x251)](this[_0x3c53fc(0x3cf)][_0x3c53fc(0x3d6)](_0x112078[_0x3c53fc(0x164)]['UNIVER_SHEET']),this[_0x3c53fc(0x3cf)][_0x3c53fc(0x3d6)](_0x112078['UniverInstanceType'][_0x3c53fc(0x140)]))[_0x3c53fc(0x41a)](_0x1909d3[_0x3c53fc(0x1ea)](this[_0x3c53fc(0x98)]))['subscribe'](_0x10c0e5=>{var _0x1327ec=_0x3c53fc;const _0x429061=_0x10c0e5['getUnitId'](),_0x3c150d=this['_entities'][_0x1327ec(0x3aa)](_0x429061);_0x3c150d&&(_0x3c150d[_0x1327ec(0x376)](),this['_entities']['delete'](_0x429061));});}async[_0x46a189(0x3ca)](_0x3fdf4a,_0x39cbdc){var _0x1833c1=_0x46a189;const _0x464ce0=await this[_0x1833c1(0x31a)]['requireSession'](_0x3fdf4a),_0xdb7934=this[_0x1833c1(0x3e1)][_0x1833c1(0x10c)](this[_0x1833c1(0x178)](_0x39cbdc),_0x3fdf4a,_0x39cbdc,_0x464ce0);return await _0xdb7934[_0x1833c1(0x225)](),this[_0x1833c1(0x1ce)]['next'](_0xdb7934),_0xdb7934;}[_0x46a189(0x178)](_0x2c81ed){var _0x56e939=_0x46a189;switch(_0x2c81ed){case _0x193e02[_0x56e939(0x140)]:return _0x247d18[_0x56e939(0x3a3)];case _0x193e02[_0x56e939(0x18b)]:return _0x247d18[_0x56e939(0x391)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2c81ed);}}},_0x247d18[_0x46a189(0x408)]=_0xe69e2c([_0x740c56(0x0,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x740c56(0x1,_0x112078[_0x46a189(0x11e)](_0x247d18['CollaborationSessionService'])),_0x740c56(0x2,_0x112078[_0x46a189(0x22f)]),_0x740c56(0x3,_0x112078[_0x46a189(0x93)])],_0x247d18[_0x46a189(0x408)]);var _0x2de2aa=Object[_0x46a189(0x1d1)],_0x16263a=(_0x2803f6,_0x1b1a24,_0x81c26f,_0x4bf719)=>{var _0x5c1992=_0x46a189;for(var _0x11701b=_0x4bf719>0x1?void 0x0:_0x4bf719?_0x2de2aa(_0x1b1a24,_0x81c26f):_0x1b1a24,_0x4f29b9=_0x2803f6[_0x5c1992(0x86)]-0x1,_0x416b81;_0x4f29b9>=0x0;_0x4f29b9--)(_0x416b81=_0x2803f6[_0x4f29b9])&&(_0x11701b=_0x416b81(_0x11701b)||_0x11701b);return _0x11701b;},_0x517170=(_0x24b02a,_0x525430)=>(_0x5e188c,_0x1af0d7)=>_0x525430(_0x5e188c,_0x1af0d7,_0x24b02a);const _0x191a2d=_0x46a189(0x255),_0x1c24eb=_0x46a189(0x1cb);let _0x2f6ee9=class extends _0x112078[_0x46a189(0x426)]{constructor(_0xd720b5,_0x26b828){var _0x484347=_0x46a189;super(),this[_0x484347(0x3cf)]=_0xd720b5,this['_configService']=_0x26b828,this[_0x484347(0xc3)]();}['_init'](){var _0x592c41=_0x46a189;this[_0x592c41(0x13a)](this['_univerInstanceService'][_0x592c41(0xa6)][_0x592c41(0x153)](()=>{var _0x48672e=_0x592c41,_0x2bedd4;const _0x758c9c=this[_0x48672e(0x3cf)][_0x48672e(0x36f)]();let _0x5e1311=(_0x2bedd4=this[_0x48672e(0xad)][_0x48672e(0x2a2)](_0x191a2d))!=null?_0x2bedd4:_0x1c24eb;_0x758c9c instanceof _0x112078[_0x48672e(0x340)]&&(_0x5e1311=_0x758c9c[_0x48672e(0x94)]),document[_0x48672e(0x10e)]=_0x5e1311;}));}};_0x2f6ee9=_0x16263a([_0x517170(0x0,_0x112078['IUniverInstanceService']),_0x517170(0x1,_0x112078['IConfigService'])],_0x2f6ee9);var _0x25bca7=Object[_0x46a189(0x1d1)],_0x5ab716=(_0x336943,_0x308ec6,_0x580aa4,_0x8f155d)=>{for(var _0x52c189=_0x8f155d>0x1?void 0x0:_0x8f155d?_0x25bca7(_0x308ec6,_0x580aa4):_0x308ec6,_0x3f7244=_0x336943['length']-0x1,_0x1a80be;_0x3f7244>=0x0;_0x3f7244--)(_0x1a80be=_0x336943[_0x3f7244])&&(_0x52c189=_0x1a80be(_0x52c189)||_0x52c189);return _0x52c189;},_0x5c2816=(_0x9f344f,_0x9dc40c)=>(_0x1324a2,_0x33bcef)=>_0x9dc40c(_0x1324a2,_0x33bcef,_0x9f344f);let _0x327685=class{constructor(_0x3c797b,_0x3cc66b,_0x1f853d){var _0x4bed67=_0x46a189;this['_configService']=_0x3c797b,this[_0x4bed67(0x320)]=_0x3cc66b,this['localeService']=_0x1f853d,this[_0x4bed67(0x225)]();}['init'](){var _0x490e1f=_0x46a189;this[_0x490e1f(0x320)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x474adf,_0xbb15e1)=>_0xbb15e1(_0x474adf)[_0x490e1f(0x41a)](_0x1909d3[_0x490e1f(0x1a9)](async _0x4d6051=>{var _0x2d4008=_0x490e1f;const _0x2edbfe=_0x4d6051;if(_0x2edbfe['status']===0x191){if(typeof window>'u')throw new Error(_0x2d4008(0x208));if(window[_0x2d4008(0x2d9)](this[_0x2d4008(0x2b7)]['t'](_0x2d4008(0x282)))){const _0x5c9916=window[_0x2d4008(0x34b)](window['location'][_0x2d4008(0x328)]);window[_0x2d4008(0x290)][_0x2d4008(0x328)]=this['_getLoginPath']()+_0x2d4008(0x272)+_0x5c9916;}}return _0x2edbfe;}))});}[_0x46a189(0xcb)](){var _0x925e4a=_0x46a189,_0xa475c0;const _0x1ee0a6=this[_0x925e4a(0xad)][_0x925e4a(0x2a2)](_0x4f0c7a);return(_0xa475c0=_0x1ee0a6==null?void 0x0:_0x1ee0a6['loginUrlKey'])!=null?_0xa475c0:_0x1c9c58;}};_0x327685=_0x5ab716([_0x5c2816(0x0,_0x112078[_0x46a189(0x22f)]),_0x5c2816(0x1,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)])),_0x5c2816(0x2,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0xd9)]))],_0x327685);var _0x175056=Object['getOwnPropertyDescriptor'],_0x4a2d78=(_0x3ad132,_0x3435c2,_0x2645ad,_0x5e08a8)=>{var _0x39264f=_0x46a189;for(var _0x32e74d=_0x5e08a8>0x1?void 0x0:_0x5e08a8?_0x175056(_0x3435c2,_0x2645ad):_0x3435c2,_0x278815=_0x3ad132[_0x39264f(0x86)]-0x1,_0x2a0ef5;_0x278815>=0x0;_0x278815--)(_0x2a0ef5=_0x3ad132[_0x278815])&&(_0x32e74d=_0x2a0ef5(_0x32e74d)||_0x32e74d);return _0x32e74d;},_0x1a822f=(_0x18556f,_0x824614)=>(_0x509dfa,_0x3eddce)=>_0x824614(_0x509dfa,_0x3eddce,_0x18556f);const _0xa7fa46=_0x46a189(0x2cd);_0x247d18[_0x46a189(0x404)]=class extends _0x112078['Disposable']{constructor(_0x2d8ec4,_0x48e81b){var _0x2e4577=_0x46a189;super(),this[_0x2e4577(0x179)]=_0x2d8ec4,this['_configService']=_0x48e81b,this[_0x2e4577(0x2ba)]();}[_0x46a189(0x2ba)](){var _0x5ca6da=_0x46a189;const _0xfcbf1d=this;this[_0x5ca6da(0x13a)](this[_0x5ca6da(0x179)][_0x5ca6da(0x3b8)]({'priority':0x3e7,'interceptor':_0x1b0b18['MergeInterceptorFactory']({'isMatch'(_0x36f796){var _0xd24edc=_0x5ca6da,_0x414fb3;if(_0x36f796[_0xd24edc(0x12a)]===_0xd24edc(0x32e)&&((_0x414fb3=_0x36f796[_0xd24edc(0x327)])!=null&&_0x414fb3[_0xd24edc(0x2cf)])){const {objectID:_0x14b66b,objectType:_0x569a06}=_0x36f796['requestParams'][_0xd24edc(0x2cf)]||{};if(!_0x14b66b||_0x569a06===void 0x0)return!0x1;const _0x2978b0=_0xfcbf1d['_getAPIPrefixPath']()+'/'+_0x569a06+_0xd24edc(0x427)+_0x14b66b+_0xd24edc(0x36e);if(_0x36f796[_0xd24edc(0x386)]===_0x2978b0)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x410031){var _0x96f0a6=_0x5ca6da,_0x561bce;return(_0x561bce=_0x410031[_0x96f0a6(0x327)])==null?void 0x0:_0x561bce[_0x96f0a6(0x2cf)];},'mergeParamsToRequest'(_0x27b2d3,_0x50ca47){var _0x32eb2b=_0x5ca6da;const _0x13ded2=_0xfcbf1d[_0x32eb2b(0x322)]()+'/-/object/-/batch_allowed',_0x48511a=_0x27b2d3[_0x32eb2b(0x1c8)]((_0x509dbf,_0x2c0cf0)=>{var _0x43f622=_0x32eb2b;const {unitID:_0x481f3e,objectID:_0x1a7aae,objectType:_0x326fc5,actions:_0x13084f}=_0x2c0cf0;return _0x509dbf[_0x481f3e]||(_0x509dbf[_0x481f3e]={}),_0x509dbf[_0x481f3e][_0x1a7aae]||(_0x509dbf[_0x481f3e][_0x1a7aae]={'objectID':_0x1a7aae,'objectType':_0x326fc5,'actions':[]}),_0x509dbf[_0x481f3e][_0x1a7aae]['actions'][_0x43f622(0x139)](..._0x13084f),_0x509dbf;},{}),_0x3fd785=[];for(const _0x4db1a5 in _0x48511a)for(const _0x46a4ca in _0x48511a[_0x4db1a5]){const {actions:_0x4b7457,objectType:_0x49f00e}=_0x48511a[_0x4db1a5][_0x46a4ca],_0x30ece8=[...new Set(_0x4b7457)];_0x3fd785[_0x32eb2b(0x139)]({'unitID':_0x4db1a5,'objectID':_0x46a4ca,'objectType':_0x49f00e,'actions':_0x30ece8});}return new _0x1b0b18[(_0x32eb2b(0x9e))]('POST',_0x13ded2,{'headers':_0x50ca47[_0x32eb2b(0x2be)],'withCredentials':_0x50ca47[_0x32eb2b(0x3f1)],'responseType':_0x50ca47['responseType'],'body':{'requests':_0x3fd785}});}},{'distributeResult'(_0x57b279,_0x208710){var _0x30e812=_0x5ca6da;const {objectActions:_0x3199f7}=_0x57b279;return _0x208710[_0x30e812(0xb5)](_0x5d9843=>{var _0x1e0ac6=_0x30e812;const {unitID:_0xa68185,objectID:_0x162680,actions:_0x38ba66}=_0x5d9843,_0x252275=_0x3199f7[_0x1e0ac6(0x280)](_0x493b0e=>_0x493b0e[_0x1e0ac6(0x194)]===_0xa68185&&_0x493b0e[_0x1e0ac6(0x25f)]===_0x162680),_0x21583c=_0x38ba66[_0x1e0ac6(0xb5)](_0x272895=>_0x252275==null?void 0x0:_0x252275[_0x1e0ac6(0x163)][_0x1e0ac6(0x280)](_0x35c817=>_0x35c817[_0x1e0ac6(0x146)]===_0x272895))['filter'](_0x11b1c4=>!!_0x11b1c4);return{'config':_0x5d9843,'result':{'actions':_0x21583c,'error':_0x57b279['error']}};});}})}));}[_0x46a189(0x322)](){var _0x429527=_0x46a189,_0x9654bd;const _0x544d2c=this[_0x429527(0xad)][_0x429527(0x2a2)](_0x4f0c7a);return(_0x9654bd=_0x544d2c==null?void 0x0:_0x544d2c[_0x429527(0x237)])!=null?_0x9654bd:_0xa7fa46;}async[_0x46a189(0x144)](_0x455972){var _0x346473=_0x46a189;const _0x49f638=this[_0x346473(0x322)]()+'/'+_0x455972[_0x346473(0x18a)]+_0x346473(0xc2);return(await this[_0x346473(0x179)][_0x346473(0x26a)](_0x49f638,{'body':_0x455972}))[_0x346473(0x2cf)]['objectID']||'';}async[_0x46a189(0x279)](_0x20bf6c){var _0x1bbb9c=_0x46a189;const _0x3fea84=this[_0x1bbb9c(0x322)]()+'/-/object/list';return(await this[_0x1bbb9c(0x179)][_0x1bbb9c(0x26a)](_0x3fea84,{'body':_0x20bf6c}))['body']['objects'];}async['update'](_0x490441){var _0x2f06c9=_0x46a189,_0x4b5e6a,_0x1966dc;const _0x26dfd7=this[_0x2f06c9(0x322)]()+'/'+_0x490441[_0x2f06c9(0x18a)]+_0x2f06c9(0x427)+_0x490441[_0x2f06c9(0x25f)],_0x2c5c65=await this['_HTTPService'][_0x2f06c9(0x3e6)](_0x26dfd7,{'body':_0x490441});if(((_0x1966dc=(_0x4b5e6a=_0x2c5c65==null?void 0x0:_0x2c5c65['body'])==null?void 0x0:_0x4b5e6a[_0x2f06c9(0x157)])==null?void 0x0:_0x1966dc[_0x2f06c9(0x2c3)])!==0x1)throw new Error(_0x2f06c9(0x332));}async['allowed'](_0x429f1a){var _0x4fcece=_0x46a189;const _0x267b4b=this[_0x4fcece(0x322)]()+'/'+_0x429f1a['objectType']+_0x4fcece(0x427)+_0x429f1a[_0x4fcece(0x25f)]+_0x4fcece(0x36e);return(await this[_0x4fcece(0x179)]['post'](_0x267b4b,{'body':_0x429f1a}))[_0x4fcece(0x2cf)][_0x4fcece(0x163)];}async[_0x46a189(0x117)](_0x47f394){var _0xc3dd5d=_0x46a189;const _0x4144f4=this[_0xc3dd5d(0x322)]()+_0xc3dd5d(0x360);return(await this[_0xc3dd5d(0x179)][_0xc3dd5d(0x26a)](_0x4144f4,{'body':{'requests':_0x47f394}}))['body'][_0xc3dd5d(0x14d)];}async[_0x46a189(0x15f)](_0x3add96){var _0xbfd2f8=_0x46a189;const _0x3a861c=this[_0xbfd2f8(0x322)]()+'/'+_0x3add96[_0xbfd2f8(0x18a)]+'/role',_0x31bd29=await this[_0xbfd2f8(0x179)][_0xbfd2f8(0x26a)](_0x3a861c,{'body':_0x3add96});return{'roles':_0x31bd29[_0xbfd2f8(0x2cf)][_0xbfd2f8(0x39c)],'actions':_0x31bd29[_0xbfd2f8(0x2cf)]['actions']};}async['deleteCollaborator'](_0x49ecf1){var _0x54334a=_0x46a189;const _0x74ec34=this[_0x54334a(0x322)]()+_0x54334a(0x383);await this[_0x54334a(0x179)]['delete'](_0x74ec34,{'params':{'collaboratorID':_0x49ecf1[_0x54334a(0xd3)],'objectID':_0x49ecf1[_0x54334a(0x25f)],'unitID':_0x49ecf1[_0x54334a(0x194)]}});}async[_0x46a189(0x167)](_0x22a81a){var _0x250bd3=_0x46a189;const _0x10fb7f=this[_0x250bd3(0x322)]()+_0x250bd3(0x383);await this[_0x250bd3(0x179)][_0x250bd3(0x2d8)](_0x10fb7f,{'body':_0x22a81a});}async[_0x46a189(0x9d)](_0x4f2593){var _0x303689=_0x46a189;const _0x220f76=this[_0x303689(0x322)]()+_0x303689(0x383);await this[_0x303689(0x179)]['post'](_0x220f76,{'body':_0x4f2593});}async[_0x46a189(0x3e4)](_0x58824a){var _0x206f0d=_0x46a189;const _0x136d5d=this[_0x206f0d(0x322)]()+'/collaborator';return(await this[_0x206f0d(0x179)][_0x206f0d(0x3aa)](_0x136d5d,{'params':{'objectID':_0x58824a[_0x206f0d(0x25f)],'unitID':_0x58824a['unitID']}}))[_0x206f0d(0x2cf)][_0x206f0d(0x38e)];}async['putCollaborators'](_0x56c010){var _0x40e75d=_0x46a189;const _0xdd1785=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x40e75d(0x179)][_0x40e75d(0x3e6)](_0xdd1785,{'body':_0x56c010});}},_0x247d18[_0x46a189(0x404)]=_0x4a2d78([_0x1a822f(0x0,_0x112078['Inject'](_0x1b0b18['HTTPService'])),_0x1a822f(0x1,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x22f)]))],_0x247d18[_0x46a189(0x404)]);var _0x4ed974=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x2577ba(_0x49ed25){var _0x2f86ce=_0x46a189;return _0x49ed25&&_0x49ed25['__esModule']&&Object['prototype'][_0x2f86ce(0x138)][_0x2f86ce(0x3f2)](_0x49ed25,'default')?_0x49ed25[_0x2f86ce(0xf7)]:_0x49ed25;}var _0x12cccc={'exports':{}};function _0x1aa7ab(_0x1679d4){var _0x593c70=_0x46a189;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1679d4+_0x593c70(0x33b));}var _0x2cc2eb={'exports':{}},_0xae656c=_0x2cc2eb['exports'],_0x23a4d6;function _0x10f252(){var _0x9d089b=_0x46a189;return _0x23a4d6||(_0x23a4d6=0x1,function(_0x40eda3,_0x5c1c36){(function(_0x407356,_0x3b7640){_0x40eda3['exports']=_0x3b7640();}(_0xae656c,function(){var _0x1744d6=_0x1744d6||function(_0xe0b69d,_0x2c8e3a){var _0x5f437f=_0x532f,_0x17c1fa;if(typeof window<'u'&&window[_0x5f437f(0x12b)]&&(_0x17c1fa=window[_0x5f437f(0x12b)]),typeof self<'u'&&self[_0x5f437f(0x12b)]&&(_0x17c1fa=self[_0x5f437f(0x12b)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x17c1fa=globalThis[_0x5f437f(0x12b)]),!_0x17c1fa&&typeof window<'u'&&window[_0x5f437f(0x37c)]&&(_0x17c1fa=window[_0x5f437f(0x37c)]),!_0x17c1fa&&typeof _0x4ed974<'u'&&_0x4ed974[_0x5f437f(0x12b)]&&(_0x17c1fa=_0x4ed974[_0x5f437f(0x12b)]),!_0x17c1fa&&typeof _0x1aa7ab==_0x5f437f(0x127))try{_0x17c1fa=require('crypto');}catch{}var _0x1b492a=function(){var _0x468de3=_0x5f437f;if(_0x17c1fa){if(typeof _0x17c1fa['getRandomValues']==_0x468de3(0x127))try{return _0x17c1fa[_0x468de3(0x2bb)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x17c1fa['randomBytes']==_0x468de3(0x127))try{return _0x17c1fa[_0x468de3(0x1b3)](0x4)[_0x468de3(0x19d)]();}catch{}}throw new Error(_0x468de3(0x411));},_0x3ec6a2=Object[_0x5f437f(0x144)]||(function(){function _0xe2cd12(){}return function(_0x5986ae){var _0x1e9927=_0x532f,_0x48f699;return _0xe2cd12[_0x1e9927(0x425)]=_0x5986ae,_0x48f699=new _0xe2cd12(),_0xe2cd12[_0x1e9927(0x425)]=null,_0x48f699;};}()),_0x46b9ac={},_0x5dd9ae=_0x46b9ac['lib']={},_0x4ab59a=_0x5dd9ae[_0x5f437f(0x118)]=(function(){return{'extend':function(_0x23bbd7){var _0xf3ccc9=_0x532f,_0x188581=_0x3ec6a2(this);return _0x23bbd7&&_0x188581['mixIn'](_0x23bbd7),(!_0x188581[_0xf3ccc9(0x138)](_0xf3ccc9(0x225))||this[_0xf3ccc9(0x225)]===_0x188581['init'])&&(_0x188581[_0xf3ccc9(0x225)]=function(){var _0x1f60cf=_0xf3ccc9;_0x188581['$super'][_0x1f60cf(0x225)]['apply'](this,arguments);}),_0x188581['init']['prototype']=_0x188581,_0x188581[_0xf3ccc9(0x39b)]=this,_0x188581;},'create':function(){var _0x3159a6=_0x532f,_0xf23265=this['extend']();return _0xf23265[_0x3159a6(0x225)][_0x3159a6(0xcd)](_0xf23265,arguments),_0xf23265;},'init':function(){},'mixIn':function(_0x4bbeb){var _0x17907e=_0x532f;for(var _0x2f1a9a in _0x4bbeb)_0x4bbeb[_0x17907e(0x138)](_0x2f1a9a)&&(this[_0x2f1a9a]=_0x4bbeb[_0x2f1a9a]);_0x4bbeb[_0x17907e(0x138)](_0x17907e(0x142))&&(this[_0x17907e(0x142)]=_0x4bbeb[_0x17907e(0x142)]);},'clone':function(){var _0x4a6a79=_0x532f;return this[_0x4a6a79(0x225)]['prototype'][_0x4a6a79(0x357)](this);}};}()),_0x290000=_0x5dd9ae[_0x5f437f(0xe4)]=_0x4ab59a[_0x5f437f(0x357)]({'init':function(_0x3722cd,_0x419900){var _0x5c4f92=_0x5f437f;_0x3722cd=this[_0x5c4f92(0xd6)]=_0x3722cd||[],_0x419900!=_0x2c8e3a?this[_0x5c4f92(0x3a0)]=_0x419900:this[_0x5c4f92(0x3a0)]=_0x3722cd[_0x5c4f92(0x86)]*0x4;},'toString':function(_0x343a9d){var _0x48dd1e=_0x5f437f;return(_0x343a9d||_0x3e2458)[_0x48dd1e(0x27f)](this);},'concat':function(_0x13bea7){var _0x26f2b5=_0x5f437f,_0x45dd00=this['words'],_0x46778a=_0x13bea7[_0x26f2b5(0xd6)],_0x1177f6=this[_0x26f2b5(0x3a0)],_0x36fa37=_0x13bea7['sigBytes'];if(this[_0x26f2b5(0x310)](),_0x1177f6%0x4)for(var _0x4e2495=0x0;_0x4e2495<_0x36fa37;_0x4e2495++){var _0x2a5c01=_0x46778a[_0x4e2495>>>0x2]>>>0x18-_0x4e2495%0x4*0x8&0xff;_0x45dd00[_0x1177f6+_0x4e2495>>>0x2]|=_0x2a5c01<<0x18-(_0x1177f6+_0x4e2495)%0x4*0x8;}else{for(var _0x13f64f=0x0;_0x13f64f<_0x36fa37;_0x13f64f+=0x4)_0x45dd00[_0x1177f6+_0x13f64f>>>0x2]=_0x46778a[_0x13f64f>>>0x2];}return this['sigBytes']+=_0x36fa37,this;},'clamp':function(){var _0x4f84f7=_0x5f437f,_0x297b2f=this[_0x4f84f7(0xd6)],_0x5518b5=this['sigBytes'];_0x297b2f[_0x5518b5>>>0x2]&=0xffffffff<<0x20-_0x5518b5%0x4*0x8,_0x297b2f[_0x4f84f7(0x86)]=_0xe0b69d['ceil'](_0x5518b5/0x4);},'clone':function(){var _0x2e6cb0=_0x5f437f,_0x19ad73=_0x4ab59a['clone'][_0x2e6cb0(0x3f2)](this);return _0x19ad73[_0x2e6cb0(0xd6)]=this[_0x2e6cb0(0xd6)][_0x2e6cb0(0x16e)](0x0),_0x19ad73;},'random':function(_0xc1048d){var _0x2faae1=_0x5f437f;for(var _0x2ae013=[],_0x17e954=0x0;_0x17e954<_0xc1048d;_0x17e954+=0x4)_0x2ae013[_0x2faae1(0x139)](_0x1b492a());return new _0x290000[(_0x2faae1(0x225))](_0x2ae013,_0xc1048d);}}),_0x1ecb11=_0x46b9ac[_0x5f437f(0x25b)]={},_0x3e2458=_0x1ecb11[_0x5f437f(0xb0)]={'stringify':function(_0x1b98e){var _0x194c1b=_0x5f437f;for(var _0x322bec=_0x1b98e[_0x194c1b(0xd6)],_0x2ac69e=_0x1b98e['sigBytes'],_0x174493=[],_0x36753c=0x0;_0x36753c<_0x2ac69e;_0x36753c++){var _0x743288=_0x322bec[_0x36753c>>>0x2]>>>0x18-_0x36753c%0x4*0x8&0xff;_0x174493['push']((_0x743288>>>0x4)[_0x194c1b(0x142)](0x10)),_0x174493[_0x194c1b(0x139)]((_0x743288&0xf)[_0x194c1b(0x142)](0x10));}return _0x174493[_0x194c1b(0x395)]('');},'parse':function(_0x446568){var _0xa4d59b=_0x5f437f;for(var _0x477543=_0x446568[_0xa4d59b(0x86)],_0x1a44f0=[],_0x3baa14=0x0;_0x3baa14<_0x477543;_0x3baa14+=0x2)_0x1a44f0[_0x3baa14>>>0x3]|=parseInt(_0x446568[_0xa4d59b(0x2cc)](_0x3baa14,0x2),0x10)<<0x18-_0x3baa14%0x8*0x4;return new _0x290000[(_0xa4d59b(0x225))](_0x1a44f0,_0x477543/0x2);}},_0x4da516=_0x1ecb11[_0x5f437f(0x296)]={'stringify':function(_0x405df8){var _0x593d0f=_0x5f437f;for(var _0x40f5a9=_0x405df8[_0x593d0f(0xd6)],_0x5ab703=_0x405df8[_0x593d0f(0x3a0)],_0x37bc22=[],_0x5be502=0x0;_0x5be502<_0x5ab703;_0x5be502++){var _0x3b7b3e=_0x40f5a9[_0x5be502>>>0x2]>>>0x18-_0x5be502%0x4*0x8&0xff;_0x37bc22['push'](String[_0x593d0f(0x2c9)](_0x3b7b3e));}return _0x37bc22['join']('');},'parse':function(_0xca0b8e){var _0x197de5=_0x5f437f;for(var _0x5474ed=_0xca0b8e['length'],_0x5c1d59=[],_0x2f61f8=0x0;_0x2f61f8<_0x5474ed;_0x2f61f8++)_0x5c1d59[_0x2f61f8>>>0x2]|=(_0xca0b8e[_0x197de5(0x385)](_0x2f61f8)&0xff)<<0x18-_0x2f61f8%0x4*0x8;return new _0x290000[(_0x197de5(0x225))](_0x5c1d59,_0x5474ed);}},_0x2540cf=_0x1ecb11[_0x5f437f(0x217)]={'stringify':function(_0x3d162e){var _0x346c45=_0x5f437f;try{return decodeURIComponent(escape(_0x4da516[_0x346c45(0x27f)](_0x3d162e)));}catch{throw new Error(_0x346c45(0x335));}},'parse':function(_0x152162){var _0x1a5ef8=_0x5f437f;return _0x4da516[_0x1a5ef8(0x390)](unescape(encodeURIComponent(_0x152162)));}},_0x8bbeaa=_0x5dd9ae[_0x5f437f(0x291)]=_0x4ab59a[_0x5f437f(0x357)]({'reset':function(){var _0x5247c8=_0x5f437f;this[_0x5247c8(0x3de)]=new _0x290000[(_0x5247c8(0x225))](),this[_0x5247c8(0x99)]=0x0;},'_append':function(_0x6748a7){var _0x56c281=_0x5f437f;typeof _0x6748a7==_0x56c281(0xec)&&(_0x6748a7=_0x2540cf[_0x56c281(0x390)](_0x6748a7)),this[_0x56c281(0x3de)][_0x56c281(0x3b0)](_0x6748a7),this['_nDataBytes']+=_0x6748a7[_0x56c281(0x3a0)];},'_process':function(_0x3a214){var _0x4303e2=_0x5f437f,_0xf7e441,_0x56a39c=this[_0x4303e2(0x3de)],_0x3e7a6d=_0x56a39c[_0x4303e2(0xd6)],_0x2fc6d7=_0x56a39c[_0x4303e2(0x3a0)],_0x28bae6=this['blockSize'],_0x4abad8=_0x28bae6*0x4,_0x2a2277=_0x2fc6d7/_0x4abad8;_0x3a214?_0x2a2277=_0xe0b69d[_0x4303e2(0x245)](_0x2a2277):_0x2a2277=_0xe0b69d[_0x4303e2(0x26d)]((_0x2a2277|0x0)-this['_minBufferSize'],0x0);var _0x3c6d3c=_0x2a2277*_0x28bae6,_0xca05f0=_0xe0b69d[_0x4303e2(0x17a)](_0x3c6d3c*0x4,_0x2fc6d7);if(_0x3c6d3c){for(var _0x56aa3d=0x0;_0x56aa3d<_0x3c6d3c;_0x56aa3d+=_0x28bae6)this[_0x4303e2(0x3ff)](_0x3e7a6d,_0x56aa3d);_0xf7e441=_0x3e7a6d['splice'](0x0,_0x3c6d3c),_0x56a39c[_0x4303e2(0x3a0)]-=_0xca05f0;}return new _0x290000[(_0x4303e2(0x225))](_0xf7e441,_0xca05f0);},'clone':function(){var _0x22ec2f=_0x5f437f,_0x3f6871=_0x4ab59a[_0x22ec2f(0x184)][_0x22ec2f(0x3f2)](this);return _0x3f6871[_0x22ec2f(0x3de)]=this[_0x22ec2f(0x3de)][_0x22ec2f(0x184)](),_0x3f6871;},'_minBufferSize':0x0});_0x5dd9ae[_0x5f437f(0xde)]=_0x8bbeaa['extend']({'cfg':_0x4ab59a[_0x5f437f(0x357)](),'init':function(_0x332c4b){var _0x3f0fb1=_0x5f437f;this['cfg']=this[_0x3f0fb1(0x259)]['extend'](_0x332c4b),this[_0x3f0fb1(0xae)]();},'reset':function(){var _0x1c5710=_0x5f437f;_0x8bbeaa[_0x1c5710(0xae)][_0x1c5710(0x3f2)](this),this['_doReset']();},'update':function(_0x20cbf8){var _0x4b9d1e=_0x5f437f;return this[_0x4b9d1e(0x1ac)](_0x20cbf8),this[_0x4b9d1e(0x27a)](),this;},'finalize':function(_0x446849){var _0x209ef4=_0x5f437f;_0x446849&&this[_0x209ef4(0x1ac)](_0x446849);var _0xe4b67e=this[_0x209ef4(0x176)]();return _0xe4b67e;},'blockSize':0x10,'_createHelper':function(_0x509bf3){return function(_0x2824bb,_0x6138ef){var _0x156337=_0x532f;return new _0x509bf3[(_0x156337(0x225))](_0x6138ef)[_0x156337(0x40b)](_0x2824bb);};},'_createHmacHelper':function(_0x7c5d5a){return function(_0x59928c,_0x475dd8){var _0x4341ff=_0x532f;return new _0x1de18c[(_0x4341ff(0x240))][(_0x4341ff(0x225))](_0x7c5d5a,_0x475dd8)[_0x4341ff(0x40b)](_0x59928c);};}});var _0x1de18c=_0x46b9ac[_0x5f437f(0x399)]={};return _0x46b9ac;}(Math);return _0x1744d6;}));}(_0x2cc2eb)),_0x2cc2eb[_0x9d089b(0x2a3)];}var _0x5e9580={'exports':{}},_0x36c3ec=_0x5e9580['exports'],_0x421702;function _0x2ea24d(){return _0x421702||(_0x421702=0x1,function(_0x24122d,_0x5c977d){(function(_0x10b78e,_0x36dac7){var _0x29f9a6=_0x532f;_0x24122d[_0x29f9a6(0x2a3)]=_0x36dac7(_0x10f252());}(_0x36c3ec,function(_0x445774){var _0x16dd7c=_0x532f;return(function(){var _0x4bbc19=_0x532f,_0x27ed06=_0x445774,_0x876224=_0x27ed06[_0x4bbc19(0x1ca)],_0x3d6632=_0x876224[_0x4bbc19(0xe4)],_0x19aeb6=_0x27ed06['enc'];_0x19aeb6['Base64']={'stringify':function(_0x62b609){var _0x7e05bd=_0x4bbc19,_0x1c98ef=_0x62b609[_0x7e05bd(0xd6)],_0x4ba96=_0x62b609['sigBytes'],_0x5807f5=this[_0x7e05bd(0x2b0)];_0x62b609[_0x7e05bd(0x310)]();for(var _0x2a1210=[],_0x3728d2=0x0;_0x3728d2<_0x4ba96;_0x3728d2+=0x3)for(var _0x62a4ec=_0x1c98ef[_0x3728d2>>>0x2]>>>0x18-_0x3728d2%0x4*0x8&0xff,_0x391ea1=_0x1c98ef[_0x3728d2+0x1>>>0x2]>>>0x18-(_0x3728d2+0x1)%0x4*0x8&0xff,_0x5fea58=_0x1c98ef[_0x3728d2+0x2>>>0x2]>>>0x18-(_0x3728d2+0x2)%0x4*0x8&0xff,_0x5a9387=_0x62a4ec<<0x10|_0x391ea1<<0x8|_0x5fea58,_0x2c4dd5=0x0;_0x2c4dd5<0x4&&_0x3728d2+_0x2c4dd5*0.75<_0x4ba96;_0x2c4dd5++)_0x2a1210[_0x7e05bd(0x139)](_0x5807f5[_0x7e05bd(0x3a6)](_0x5a9387>>>0x6*(0x3-_0x2c4dd5)&0x3f));var _0x28f161=_0x5807f5[_0x7e05bd(0x3a6)](0x40);if(_0x28f161){for(;_0x2a1210[_0x7e05bd(0x86)]%0x4;)_0x2a1210['push'](_0x28f161);}return _0x2a1210[_0x7e05bd(0x395)]('');},'parse':function(_0x59866b){var _0x50430e=_0x4bbc19,_0x5c5f83=_0x59866b[_0x50430e(0x86)],_0x2661c9=this[_0x50430e(0x2b0)],_0x5e9c71=this['_reverseMap'];if(!_0x5e9c71){_0x5e9c71=this[_0x50430e(0x38a)]=[];for(var _0x4b74be=0x0;_0x4b74be<_0x2661c9[_0x50430e(0x86)];_0x4b74be++)_0x5e9c71[_0x2661c9[_0x50430e(0x385)](_0x4b74be)]=_0x4b74be;}var _0x23b6a9=_0x2661c9[_0x50430e(0x3a6)](0x40);if(_0x23b6a9){var _0x384c05=_0x59866b[_0x50430e(0xca)](_0x23b6a9);_0x384c05!==-0x1&&(_0x5c5f83=_0x384c05);}return _0x4cca7b(_0x59866b,_0x5c5f83,_0x5e9c71);},'_map':_0x4bbc19(0x3cc)};function _0x4cca7b(_0x3bc865,_0x2a2b03,_0x393580){var _0x18c7b3=_0x4bbc19;for(var _0x5b308f=[],_0x4089f8=0x0,_0x7b29df=0x0;_0x7b29df<_0x2a2b03;_0x7b29df++)if(_0x7b29df%0x4){var _0x5f1df0=_0x393580[_0x3bc865[_0x18c7b3(0x385)](_0x7b29df-0x1)]<<_0x7b29df%0x4*0x2,_0x2f697c=_0x393580[_0x3bc865['charCodeAt'](_0x7b29df)]>>>0x6-_0x7b29df%0x4*0x2,_0x44e017=_0x5f1df0|_0x2f697c;_0x5b308f[_0x4089f8>>>0x2]|=_0x44e017<<0x18-_0x4089f8%0x4*0x8,_0x4089f8++;}return _0x3d6632['create'](_0x5b308f,_0x4089f8);}}()),_0x445774[_0x16dd7c(0x25b)][_0x16dd7c(0x115)];}));}(_0x5e9580)),_0x5e9580['exports'];}var _0x342287={'exports':{}},_0x36ae9d=_0x342287[_0x46a189(0x2a3)],_0x7fdac5;function _0xda11a2(){var _0x5d5de3=_0x46a189;return _0x7fdac5||(_0x7fdac5=0x1,function(_0x24645c,_0x1a00f2){(function(_0x4685a9,_0x358792){var _0x2996b2=_0x532f;_0x24645c[_0x2996b2(0x2a3)]=_0x358792(_0x10f252());}(_0x36ae9d,function(_0x3bfd84){var _0x975bdd=_0x532f;return function(_0x86fcc4){var _0x297ce5=_0x532f,_0x2e2faa=_0x3bfd84,_0x1fb80b=_0x2e2faa[_0x297ce5(0x1ca)],_0x3c9167=_0x1fb80b['WordArray'],_0x43dcf2=_0x1fb80b[_0x297ce5(0xde)],_0x27081b=_0x2e2faa[_0x297ce5(0x399)],_0x406ef5=[];(function(){var _0x8fbf7e=_0x297ce5;for(var _0x191717=0x0;_0x191717<0x40;_0x191717++)_0x406ef5[_0x191717]=_0x86fcc4[_0x8fbf7e(0x3d0)](_0x86fcc4[_0x8fbf7e(0x361)](_0x191717+0x1))*0x100000000|0x0;}());var _0x4d5971=_0x27081b['MD5']=_0x43dcf2[_0x297ce5(0x357)]({'_doReset':function(){var _0x15f925=_0x297ce5;this[_0x15f925(0x262)]=new _0x3c9167['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x471cfb,_0x1c8571){var _0x48bdd9=_0x297ce5;for(var _0x13a423=0x0;_0x13a423<0x10;_0x13a423++){var _0x26f132=_0x1c8571+_0x13a423,_0x1eeb1a=_0x471cfb[_0x26f132];_0x471cfb[_0x26f132]=(_0x1eeb1a<<0x8|_0x1eeb1a>>>0x18)&0xff00ff|(_0x1eeb1a<<0x18|_0x1eeb1a>>>0x8)&0xff00ff00;}var _0x290463=this[_0x48bdd9(0x262)][_0x48bdd9(0xd6)],_0x1fa8f5=_0x471cfb[_0x1c8571+0x0],_0x1cf97c=_0x471cfb[_0x1c8571+0x1],_0x22c7f4=_0x471cfb[_0x1c8571+0x2],_0x5b6abd=_0x471cfb[_0x1c8571+0x3],_0x435b56=_0x471cfb[_0x1c8571+0x4],_0xf023ba=_0x471cfb[_0x1c8571+0x5],_0x24af45=_0x471cfb[_0x1c8571+0x6],_0x184785=_0x471cfb[_0x1c8571+0x7],_0x2429fe=_0x471cfb[_0x1c8571+0x8],_0x365c16=_0x471cfb[_0x1c8571+0x9],_0x4581d6=_0x471cfb[_0x1c8571+0xa],_0x2780b9=_0x471cfb[_0x1c8571+0xb],_0x5ede7f=_0x471cfb[_0x1c8571+0xc],_0x16bcba=_0x471cfb[_0x1c8571+0xd],_0x5a3917=_0x471cfb[_0x1c8571+0xe],_0x538047=_0x471cfb[_0x1c8571+0xf],_0x1d0eea=_0x290463[0x0],_0x2f7d86=_0x290463[0x1],_0x59fd8e=_0x290463[0x2],_0x9e2461=_0x290463[0x3];_0x1d0eea=_0x401850(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1fa8f5,0x7,_0x406ef5[0x0]),_0x9e2461=_0x401850(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x1cf97c,0xc,_0x406ef5[0x1]),_0x59fd8e=_0x401850(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x22c7f4,0x11,_0x406ef5[0x2]),_0x2f7d86=_0x401850(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x5b6abd,0x16,_0x406ef5[0x3]),_0x1d0eea=_0x401850(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x435b56,0x7,_0x406ef5[0x4]),_0x9e2461=_0x401850(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0xf023ba,0xc,_0x406ef5[0x5]),_0x59fd8e=_0x401850(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x24af45,0x11,_0x406ef5[0x6]),_0x2f7d86=_0x401850(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x184785,0x16,_0x406ef5[0x7]),_0x1d0eea=_0x401850(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x2429fe,0x7,_0x406ef5[0x8]),_0x9e2461=_0x401850(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x365c16,0xc,_0x406ef5[0x9]),_0x59fd8e=_0x401850(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x4581d6,0x11,_0x406ef5[0xa]),_0x2f7d86=_0x401850(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2780b9,0x16,_0x406ef5[0xb]),_0x1d0eea=_0x401850(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x5ede7f,0x7,_0x406ef5[0xc]),_0x9e2461=_0x401850(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x16bcba,0xc,_0x406ef5[0xd]),_0x59fd8e=_0x401850(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x5a3917,0x11,_0x406ef5[0xe]),_0x2f7d86=_0x401850(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x538047,0x16,_0x406ef5[0xf]),_0x1d0eea=_0x1dd239(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1cf97c,0x5,_0x406ef5[0x10]),_0x9e2461=_0x1dd239(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x24af45,0x9,_0x406ef5[0x11]),_0x59fd8e=_0x1dd239(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x2780b9,0xe,_0x406ef5[0x12]),_0x2f7d86=_0x1dd239(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x1fa8f5,0x14,_0x406ef5[0x13]),_0x1d0eea=_0x1dd239(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0xf023ba,0x5,_0x406ef5[0x14]),_0x9e2461=_0x1dd239(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x4581d6,0x9,_0x406ef5[0x15]),_0x59fd8e=_0x1dd239(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x538047,0xe,_0x406ef5[0x16]),_0x2f7d86=_0x1dd239(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x435b56,0x14,_0x406ef5[0x17]),_0x1d0eea=_0x1dd239(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x365c16,0x5,_0x406ef5[0x18]),_0x9e2461=_0x1dd239(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x5a3917,0x9,_0x406ef5[0x19]),_0x59fd8e=_0x1dd239(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x5b6abd,0xe,_0x406ef5[0x1a]),_0x2f7d86=_0x1dd239(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2429fe,0x14,_0x406ef5[0x1b]),_0x1d0eea=_0x1dd239(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x16bcba,0x5,_0x406ef5[0x1c]),_0x9e2461=_0x1dd239(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x22c7f4,0x9,_0x406ef5[0x1d]),_0x59fd8e=_0x1dd239(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x184785,0xe,_0x406ef5[0x1e]),_0x2f7d86=_0x1dd239(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x5ede7f,0x14,_0x406ef5[0x1f]),_0x1d0eea=_0x1117eb(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0xf023ba,0x4,_0x406ef5[0x20]),_0x9e2461=_0x1117eb(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x2429fe,0xb,_0x406ef5[0x21]),_0x59fd8e=_0x1117eb(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x2780b9,0x10,_0x406ef5[0x22]),_0x2f7d86=_0x1117eb(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x5a3917,0x17,_0x406ef5[0x23]),_0x1d0eea=_0x1117eb(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1cf97c,0x4,_0x406ef5[0x24]),_0x9e2461=_0x1117eb(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x435b56,0xb,_0x406ef5[0x25]),_0x59fd8e=_0x1117eb(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x184785,0x10,_0x406ef5[0x26]),_0x2f7d86=_0x1117eb(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x4581d6,0x17,_0x406ef5[0x27]),_0x1d0eea=_0x1117eb(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x16bcba,0x4,_0x406ef5[0x28]),_0x9e2461=_0x1117eb(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x1fa8f5,0xb,_0x406ef5[0x29]),_0x59fd8e=_0x1117eb(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x5b6abd,0x10,_0x406ef5[0x2a]),_0x2f7d86=_0x1117eb(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x24af45,0x17,_0x406ef5[0x2b]),_0x1d0eea=_0x1117eb(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x365c16,0x4,_0x406ef5[0x2c]),_0x9e2461=_0x1117eb(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x5ede7f,0xb,_0x406ef5[0x2d]),_0x59fd8e=_0x1117eb(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x538047,0x10,_0x406ef5[0x2e]),_0x2f7d86=_0x1117eb(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x22c7f4,0x17,_0x406ef5[0x2f]),_0x1d0eea=_0x4c0b37(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1fa8f5,0x6,_0x406ef5[0x30]),_0x9e2461=_0x4c0b37(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x184785,0xa,_0x406ef5[0x31]),_0x59fd8e=_0x4c0b37(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x5a3917,0xf,_0x406ef5[0x32]),_0x2f7d86=_0x4c0b37(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0xf023ba,0x15,_0x406ef5[0x33]),_0x1d0eea=_0x4c0b37(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x5ede7f,0x6,_0x406ef5[0x34]),_0x9e2461=_0x4c0b37(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x5b6abd,0xa,_0x406ef5[0x35]),_0x59fd8e=_0x4c0b37(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x4581d6,0xf,_0x406ef5[0x36]),_0x2f7d86=_0x4c0b37(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x1cf97c,0x15,_0x406ef5[0x37]),_0x1d0eea=_0x4c0b37(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x2429fe,0x6,_0x406ef5[0x38]),_0x9e2461=_0x4c0b37(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x538047,0xa,_0x406ef5[0x39]),_0x59fd8e=_0x4c0b37(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x24af45,0xf,_0x406ef5[0x3a]),_0x2f7d86=_0x4c0b37(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x16bcba,0x15,_0x406ef5[0x3b]),_0x1d0eea=_0x4c0b37(_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x9e2461,_0x435b56,0x6,_0x406ef5[0x3c]),_0x9e2461=_0x4c0b37(_0x9e2461,_0x1d0eea,_0x2f7d86,_0x59fd8e,_0x2780b9,0xa,_0x406ef5[0x3d]),_0x59fd8e=_0x4c0b37(_0x59fd8e,_0x9e2461,_0x1d0eea,_0x2f7d86,_0x22c7f4,0xf,_0x406ef5[0x3e]),_0x2f7d86=_0x4c0b37(_0x2f7d86,_0x59fd8e,_0x9e2461,_0x1d0eea,_0x365c16,0x15,_0x406ef5[0x3f]),_0x290463[0x0]=_0x290463[0x0]+_0x1d0eea|0x0,_0x290463[0x1]=_0x290463[0x1]+_0x2f7d86|0x0,_0x290463[0x2]=_0x290463[0x2]+_0x59fd8e|0x0,_0x290463[0x3]=_0x290463[0x3]+_0x9e2461|0x0;},'_doFinalize':function(){var _0x1278f6=_0x297ce5,_0x5b90b3=this[_0x1278f6(0x3de)],_0x5c7509=_0x5b90b3[_0x1278f6(0xd6)],_0x50be0a=this[_0x1278f6(0x99)]*0x8,_0x404702=_0x5b90b3[_0x1278f6(0x3a0)]*0x8;_0x5c7509[_0x404702>>>0x5]|=0x80<<0x18-_0x404702%0x20;var _0x3ca141=_0x86fcc4[_0x1278f6(0x123)](_0x50be0a/0x100000000),_0x27e5a3=_0x50be0a;_0x5c7509[(_0x404702+0x40>>>0x9<<0x4)+0xf]=(_0x3ca141<<0x8|_0x3ca141>>>0x18)&0xff00ff|(_0x3ca141<<0x18|_0x3ca141>>>0x8)&0xff00ff00,_0x5c7509[(_0x404702+0x40>>>0x9<<0x4)+0xe]=(_0x27e5a3<<0x8|_0x27e5a3>>>0x18)&0xff00ff|(_0x27e5a3<<0x18|_0x27e5a3>>>0x8)&0xff00ff00,_0x5b90b3[_0x1278f6(0x3a0)]=(_0x5c7509[_0x1278f6(0x86)]+0x1)*0x4,this[_0x1278f6(0x27a)]();for(var _0x1d74ee=this[_0x1278f6(0x262)],_0x1a6f51=_0x1d74ee[_0x1278f6(0xd6)],_0xeac78f=0x0;_0xeac78f<0x4;_0xeac78f++){var _0x2db9ea=_0x1a6f51[_0xeac78f];_0x1a6f51[_0xeac78f]=(_0x2db9ea<<0x8|_0x2db9ea>>>0x18)&0xff00ff|(_0x2db9ea<<0x18|_0x2db9ea>>>0x8)&0xff00ff00;}return _0x1d74ee;},'clone':function(){var _0x1e242d=_0x297ce5,_0x4ee524=_0x43dcf2[_0x1e242d(0x184)][_0x1e242d(0x3f2)](this);return _0x4ee524[_0x1e242d(0x262)]=this[_0x1e242d(0x262)]['clone'](),_0x4ee524;}});function _0x401850(_0xe16463,_0x63a854,_0xe71591,_0x22add8,_0x31bafb,_0x12d243,_0x1b3812){var _0x3ae620=_0xe16463+(_0x63a854&_0xe71591|~_0x63a854&_0x22add8)+_0x31bafb+_0x1b3812;return(_0x3ae620<<_0x12d243|_0x3ae620>>>0x20-_0x12d243)+_0x63a854;}function _0x1dd239(_0x224b90,_0x176c4c,_0x487a9b,_0x1aa548,_0x1e2cbe,_0x29724f,_0x55dcea){var _0x57835f=_0x224b90+(_0x176c4c&_0x1aa548|_0x487a9b&~_0x1aa548)+_0x1e2cbe+_0x55dcea;return(_0x57835f<<_0x29724f|_0x57835f>>>0x20-_0x29724f)+_0x176c4c;}function _0x1117eb(_0x24dde9,_0x53e24e,_0xd73c9,_0x89eda5,_0x35ccaa,_0x29c26b,_0x380d30){var _0x8b1e7b=_0x24dde9+(_0x53e24e^_0xd73c9^_0x89eda5)+_0x35ccaa+_0x380d30;return(_0x8b1e7b<<_0x29c26b|_0x8b1e7b>>>0x20-_0x29c26b)+_0x53e24e;}function _0x4c0b37(_0x581c19,_0x3c7e56,_0x97e040,_0x34a63c,_0x4d3b99,_0x2de15b,_0x849ffd){var _0x3d8efd=_0x581c19+(_0x97e040^(_0x3c7e56|~_0x34a63c))+_0x4d3b99+_0x849ffd;return(_0x3d8efd<<_0x2de15b|_0x3d8efd>>>0x20-_0x2de15b)+_0x3c7e56;}_0x2e2faa[_0x297ce5(0x19e)]=_0x43dcf2['_createHelper'](_0x4d5971),_0x2e2faa[_0x297ce5(0x101)]=_0x43dcf2[_0x297ce5(0x318)](_0x4d5971);}(Math),_0x3bfd84[_0x975bdd(0x19e)];}));}(_0x342287)),_0x342287[_0x5d5de3(0x2a3)];}var _0x37193c={'exports':{}},_0x5db7b3={'exports':{}},_0x2e9a09=_0x5db7b3[_0x46a189(0x2a3)],_0x6be86;function _0x16ec76(){return _0x6be86||(_0x6be86=0x1,function(_0x3fc51a,_0x4765eb){(function(_0x36e6dc,_0x4e21c1){var _0x282da8=_0x532f;_0x3fc51a[_0x282da8(0x2a3)]=_0x4e21c1(_0x10f252());}(_0x2e9a09,function(_0x591f86){return(function(){var _0x228588=_0x532f,_0x3d27b6=_0x591f86,_0x138a31=_0x3d27b6[_0x228588(0x1ca)],_0xb4898=_0x138a31[_0x228588(0xe4)],_0xb83018=_0x138a31[_0x228588(0xde)],_0x13c8ac=_0x3d27b6['algo'],_0x1643c1=[],_0x1ae154=_0x13c8ac['SHA1']=_0xb83018[_0x228588(0x357)]({'_doReset':function(){var _0x4e0e19=_0x228588;this[_0x4e0e19(0x262)]=new _0xb4898[(_0x4e0e19(0x225))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x35d9ee,_0x79faf9){var _0x48dec0=_0x228588;for(var _0x3392fc=this['_hash'][_0x48dec0(0xd6)],_0x21b1cd=_0x3392fc[0x0],_0x107397=_0x3392fc[0x1],_0x2e0d33=_0x3392fc[0x2],_0x2cf707=_0x3392fc[0x3],_0x546c4d=_0x3392fc[0x4],_0x17d174=0x0;_0x17d174<0x50;_0x17d174++){if(_0x17d174<0x10)_0x1643c1[_0x17d174]=_0x35d9ee[_0x79faf9+_0x17d174]|0x0;else{var _0x5a6f4b=_0x1643c1[_0x17d174-0x3]^_0x1643c1[_0x17d174-0x8]^_0x1643c1[_0x17d174-0xe]^_0x1643c1[_0x17d174-0x10];_0x1643c1[_0x17d174]=_0x5a6f4b<<0x1|_0x5a6f4b>>>0x1f;}var _0x38173b=(_0x21b1cd<<0x5|_0x21b1cd>>>0x1b)+_0x546c4d+_0x1643c1[_0x17d174];_0x17d174<0x14?_0x38173b+=(_0x107397&_0x2e0d33|~_0x107397&_0x2cf707)+0x5a827999:_0x17d174<0x28?_0x38173b+=(_0x107397^_0x2e0d33^_0x2cf707)+0x6ed9eba1:_0x17d174<0x3c?_0x38173b+=(_0x107397&_0x2e0d33|_0x107397&_0x2cf707|_0x2e0d33&_0x2cf707)-0x70e44324:_0x38173b+=(_0x107397^_0x2e0d33^_0x2cf707)-0x359d3e2a,_0x546c4d=_0x2cf707,_0x2cf707=_0x2e0d33,_0x2e0d33=_0x107397<<0x1e|_0x107397>>>0x2,_0x107397=_0x21b1cd,_0x21b1cd=_0x38173b;}_0x3392fc[0x0]=_0x3392fc[0x0]+_0x21b1cd|0x0,_0x3392fc[0x1]=_0x3392fc[0x1]+_0x107397|0x0,_0x3392fc[0x2]=_0x3392fc[0x2]+_0x2e0d33|0x0,_0x3392fc[0x3]=_0x3392fc[0x3]+_0x2cf707|0x0,_0x3392fc[0x4]=_0x3392fc[0x4]+_0x546c4d|0x0;},'_doFinalize':function(){var _0x7288ca=_0x228588,_0x572478=this[_0x7288ca(0x3de)],_0x382dfe=_0x572478['words'],_0x3c6e9d=this[_0x7288ca(0x99)]*0x8,_0x530de1=_0x572478[_0x7288ca(0x3a0)]*0x8;return _0x382dfe[_0x530de1>>>0x5]|=0x80<<0x18-_0x530de1%0x20,_0x382dfe[(_0x530de1+0x40>>>0x9<<0x4)+0xe]=Math[_0x7288ca(0x123)](_0x3c6e9d/0x100000000),_0x382dfe[(_0x530de1+0x40>>>0x9<<0x4)+0xf]=_0x3c6e9d,_0x572478[_0x7288ca(0x3a0)]=_0x382dfe[_0x7288ca(0x86)]*0x4,this[_0x7288ca(0x27a)](),this['_hash'];},'clone':function(){var _0x309553=_0x228588,_0x3ea30e=_0xb83018[_0x309553(0x184)][_0x309553(0x3f2)](this);return _0x3ea30e[_0x309553(0x262)]=this[_0x309553(0x262)][_0x309553(0x184)](),_0x3ea30e;}});_0x3d27b6[_0x228588(0x168)]=_0xb83018[_0x228588(0x336)](_0x1ae154),_0x3d27b6[_0x228588(0x3be)]=_0xb83018['_createHmacHelper'](_0x1ae154);}()),_0x591f86['SHA1'];}));}(_0x5db7b3)),_0x5db7b3['exports'];}var _0x19d76a={'exports':{}},_0x1c3506=_0x19d76a['exports'],_0x5cabd3;function _0x1d8a3d(){var _0x578398=_0x46a189;return _0x5cabd3||(_0x5cabd3=0x1,function(_0x599ae1,_0x473831){(function(_0x12c6fe,_0x3ac746){var _0x1dc4ab=_0x532f;_0x599ae1[_0x1dc4ab(0x2a3)]=_0x3ac746(_0x10f252());}(_0x1c3506,function(_0x1438d7){(function(){var _0x336939=_0x532f,_0x7f17b6=_0x1438d7,_0x47aeb4=_0x7f17b6[_0x336939(0x1ca)],_0x2c943c=_0x47aeb4[_0x336939(0x118)],_0x2658a9=_0x7f17b6[_0x336939(0x25b)],_0x1f5e30=_0x2658a9[_0x336939(0x217)],_0x33f76a=_0x7f17b6[_0x336939(0x399)];_0x33f76a[_0x336939(0x240)]=_0x2c943c[_0x336939(0x357)]({'init':function(_0x4141d0,_0x106bb2){var _0x180d1e=_0x336939;_0x4141d0=this[_0x180d1e(0x1dc)]=new _0x4141d0['init'](),typeof _0x106bb2==_0x180d1e(0xec)&&(_0x106bb2=_0x1f5e30['parse'](_0x106bb2));var _0x33d054=_0x4141d0[_0x180d1e(0x384)],_0x46fa1e=_0x33d054*0x4;_0x106bb2[_0x180d1e(0x3a0)]>_0x46fa1e&&(_0x106bb2=_0x4141d0[_0x180d1e(0x40b)](_0x106bb2)),_0x106bb2[_0x180d1e(0x310)]();for(var _0x7ac494=this['_oKey']=_0x106bb2[_0x180d1e(0x184)](),_0x2ee453=this[_0x180d1e(0xd8)]=_0x106bb2[_0x180d1e(0x184)](),_0x29d6a9=_0x7ac494[_0x180d1e(0xd6)],_0x346705=_0x2ee453[_0x180d1e(0xd6)],_0xfe33e=0x0;_0xfe33e<_0x33d054;_0xfe33e++)_0x29d6a9[_0xfe33e]^=0x5c5c5c5c,_0x346705[_0xfe33e]^=0x36363636;_0x7ac494['sigBytes']=_0x2ee453[_0x180d1e(0x3a0)]=_0x46fa1e,this[_0x180d1e(0xae)]();},'reset':function(){var _0x2e832b=_0x336939,_0x2f6f7=this[_0x2e832b(0x1dc)];_0x2f6f7['reset'](),_0x2f6f7['update'](this[_0x2e832b(0xd8)]);},'update':function(_0x58a9bd){var _0x5f289f=_0x336939;return this[_0x5f289f(0x1dc)]['update'](_0x58a9bd),this;},'finalize':function(_0x46dc3e){var _0x1c03f4=_0x336939,_0x581afe=this['_hasher'],_0x5aeb82=_0x581afe[_0x1c03f4(0x40b)](_0x46dc3e);_0x581afe['reset']();var _0x3b2eda=_0x581afe[_0x1c03f4(0x40b)](this[_0x1c03f4(0x1aa)][_0x1c03f4(0x184)]()['concat'](_0x5aeb82));return _0x3b2eda;}});}());}));}(_0x19d76a)),_0x19d76a[_0x578398(0x2a3)];}var _0x302572=_0x37193c[_0x46a189(0x2a3)],_0x307f45;function _0x483d34(){var _0x5d8cfa=_0x46a189;return _0x307f45||(_0x307f45=0x1,function(_0x3186ae,_0xe960a8){(function(_0x53ed37,_0x13ee18,_0x5c9a89){var _0x40509c=_0x532f;_0x3186ae[_0x40509c(0x2a3)]=_0x13ee18(_0x10f252(),_0x16ec76(),_0x1d8a3d());}(_0x302572,function(_0xe8325a){return(function(){var _0x3512a6=_0x532f,_0x2f7a2a=_0xe8325a,_0x52e320=_0x2f7a2a[_0x3512a6(0x1ca)],_0xa56e19=_0x52e320[_0x3512a6(0x118)],_0x37983f=_0x52e320[_0x3512a6(0xe4)],_0x39b6f1=_0x2f7a2a[_0x3512a6(0x399)],_0x3e1042=_0x39b6f1['MD5'],_0x4aaab9=_0x39b6f1[_0x3512a6(0x213)]=_0xa56e19[_0x3512a6(0x357)]({'cfg':_0xa56e19['extend']({'keySize':0x80/0x20,'hasher':_0x3e1042,'iterations':0x1}),'init':function(_0x2c568d){var _0x4cf574=_0x3512a6;this[_0x4cf574(0x259)]=this[_0x4cf574(0x259)]['extend'](_0x2c568d);},'compute':function(_0x5d294e,_0x55e7c9){var _0x315db6=_0x3512a6;for(var _0x452296,_0x79abd=this[_0x315db6(0x259)],_0x2a76b6=_0x79abd[_0x315db6(0x35a)][_0x315db6(0x144)](),_0x39edd5=_0x37983f[_0x315db6(0x144)](),_0x32cff9=_0x39edd5[_0x315db6(0xd6)],_0x5b7efb=_0x79abd['keySize'],_0xdc009a=_0x79abd[_0x315db6(0x308)];_0x32cff9[_0x315db6(0x86)]<_0x5b7efb;){_0x452296&&_0x2a76b6[_0x315db6(0x3c9)](_0x452296),_0x452296=_0x2a76b6[_0x315db6(0x3c9)](_0x5d294e)[_0x315db6(0x40b)](_0x55e7c9),_0x2a76b6[_0x315db6(0xae)]();for(var _0x27c182=0x1;_0x27c182<_0xdc009a;_0x27c182++)_0x452296=_0x2a76b6[_0x315db6(0x40b)](_0x452296),_0x2a76b6[_0x315db6(0xae)]();_0x39edd5[_0x315db6(0x3b0)](_0x452296);}return _0x39edd5[_0x315db6(0x3a0)]=_0x5b7efb*0x4,_0x39edd5;}});_0x2f7a2a[_0x3512a6(0x213)]=function(_0x17f055,_0x8b31d9,_0x4d3ed1){var _0x1cd282=_0x3512a6;return _0x4aaab9[_0x1cd282(0x144)](_0x4d3ed1)[_0x1cd282(0x419)](_0x17f055,_0x8b31d9);};}()),_0xe8325a['EvpKDF'];}));}(_0x37193c)),_0x37193c[_0x5d8cfa(0x2a3)];}var _0x1e4111={'exports':{}},_0x1c4120=_0x1e4111[_0x46a189(0x2a3)],_0x5272b4;function _0x2f791f(){return _0x5272b4||(_0x5272b4=0x1,function(_0xd3e8c3,_0x259ed0){(function(_0x48be0e,_0x25045a,_0x18c47e){var _0x27bdb2=_0x532f;_0xd3e8c3[_0x27bdb2(0x2a3)]=_0x25045a(_0x10f252(),_0x483d34());}(_0x1c4120,function(_0x35551e){_0x35551e['lib']['Cipher']||function(_0xbc4d0f){var _0x7619a0=_0x532f,_0x474867=_0x35551e,_0x1da7dc=_0x474867[_0x7619a0(0x1ca)],_0x8daec0=_0x1da7dc[_0x7619a0(0x118)],_0x1f1921=_0x1da7dc[_0x7619a0(0xe4)],_0x67fbad=_0x1da7dc['BufferedBlockAlgorithm'],_0x179783=_0x474867[_0x7619a0(0x25b)];_0x179783[_0x7619a0(0x217)];var _0x51453f=_0x179783[_0x7619a0(0x115)],_0x39c2f1=_0x474867[_0x7619a0(0x399)],_0x53a8d1=_0x39c2f1[_0x7619a0(0x213)],_0x53a236=_0x1da7dc['Cipher']=_0x67fbad[_0x7619a0(0x357)]({'cfg':_0x8daec0[_0x7619a0(0x357)](),'createEncryptor':function(_0x457f00,_0x32f7e7){var _0x48e447=_0x7619a0;return this['create'](this[_0x48e447(0x302)],_0x457f00,_0x32f7e7);},'createDecryptor':function(_0x4f7783,_0x2b403f){var _0x5c961f=_0x7619a0;return this[_0x5c961f(0x144)](this['_DEC_XFORM_MODE'],_0x4f7783,_0x2b403f);},'init':function(_0x369b32,_0x17770a,_0x55560a){var _0x5ccce1=_0x7619a0;this['cfg']=this[_0x5ccce1(0x259)]['extend'](_0x55560a),this[_0x5ccce1(0x8c)]=_0x369b32,this['_key']=_0x17770a,this[_0x5ccce1(0xae)]();},'reset':function(){var _0x17489e=_0x7619a0;_0x67fbad[_0x17489e(0xae)][_0x17489e(0x3f2)](this),this[_0x17489e(0xed)]();},'process':function(_0x1989bc){var _0x112606=_0x7619a0;return this['_append'](_0x1989bc),this[_0x112606(0x27a)]();},'finalize':function(_0x348e77){var _0x4b7ccf=_0x7619a0;_0x348e77&&this[_0x4b7ccf(0x1ac)](_0x348e77);var _0x465bfe=this[_0x4b7ccf(0x176)]();return _0x465bfe;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xa807b6(_0xeb8691){var _0x57039e=_0x532f;return typeof _0xeb8691==_0x57039e(0xec)?_0xb75352:_0x1f7cd3;}return function(_0xdd3fe){return{'encrypt':function(_0x597a85,_0x48ae0b,_0x5ef71a){var _0x5e0eef=_0x532f;return _0xa807b6(_0x48ae0b)[_0x5e0eef(0xdc)](_0xdd3fe,_0x597a85,_0x48ae0b,_0x5ef71a);},'decrypt':function(_0x4304a1,_0x4b1b9d,_0x213e93){return _0xa807b6(_0x4b1b9d)['decrypt'](_0xdd3fe,_0x4304a1,_0x4b1b9d,_0x213e93);}};};}())});_0x1da7dc['StreamCipher']=_0x53a236[_0x7619a0(0x357)]({'_doFinalize':function(){var _0x5dec51=_0x7619a0,_0x21c12d=this[_0x5dec51(0x27a)](!0x0);return _0x21c12d;},'blockSize':0x1});var _0x341c0f=_0x474867[_0x7619a0(0x394)]={},_0x56a6bf=_0x1da7dc[_0x7619a0(0x27e)]=_0x8daec0[_0x7619a0(0x357)]({'createEncryptor':function(_0x4f2575,_0x7fba76){var _0x541883=_0x7619a0;return this[_0x541883(0x396)]['create'](_0x4f2575,_0x7fba76);},'createDecryptor':function(_0x40c351,_0x45dd5b){var _0x54e69f=_0x7619a0;return this[_0x54e69f(0x1fa)]['create'](_0x40c351,_0x45dd5b);},'init':function(_0x332dc1,_0xce64f6){var _0x3507d3=_0x7619a0;this[_0x3507d3(0xc7)]=_0x332dc1,this['_iv']=_0xce64f6;}}),_0x500090=_0x341c0f[_0x7619a0(0x28b)]=(function(){var _0x1d1ebd=_0x7619a0,_0x156648=_0x56a6bf[_0x1d1ebd(0x357)]();_0x156648[_0x1d1ebd(0x396)]=_0x156648[_0x1d1ebd(0x357)]({'processBlock':function(_0x4995cf,_0x23a23c){var _0x2abe46=_0x1d1ebd,_0x255d26=this[_0x2abe46(0xc7)],_0x13481d=_0x255d26[_0x2abe46(0x384)];_0x56940f[_0x2abe46(0x3f2)](this,_0x4995cf,_0x23a23c,_0x13481d),_0x255d26['encryptBlock'](_0x4995cf,_0x23a23c),this[_0x2abe46(0x227)]=_0x4995cf[_0x2abe46(0x16e)](_0x23a23c,_0x23a23c+_0x13481d);}}),_0x156648[_0x1d1ebd(0x1fa)]=_0x156648[_0x1d1ebd(0x357)]({'processBlock':function(_0x2f904d,_0x14755b){var _0x55c1e4=_0x1d1ebd,_0x524169=this['_cipher'],_0x3fd58c=_0x524169[_0x55c1e4(0x384)],_0x495877=_0x2f904d[_0x55c1e4(0x16e)](_0x14755b,_0x14755b+_0x3fd58c);_0x524169[_0x55c1e4(0xc1)](_0x2f904d,_0x14755b),_0x56940f[_0x55c1e4(0x3f2)](this,_0x2f904d,_0x14755b,_0x3fd58c),this['_prevBlock']=_0x495877;}});function _0x56940f(_0x21ed39,_0x2b4cba,_0x185a8f){var _0x521a02=_0x1d1ebd,_0xbaf534,_0x33fe2d=this[_0x521a02(0x2e5)];_0x33fe2d?(_0xbaf534=_0x33fe2d,this[_0x521a02(0x2e5)]=_0xbc4d0f):_0xbaf534=this[_0x521a02(0x227)];for(var _0x339d05=0x0;_0x339d05<_0x185a8f;_0x339d05++)_0x21ed39[_0x2b4cba+_0x339d05]^=_0xbaf534[_0x339d05];}return _0x156648;}()),_0x5a9f68=_0x474867['pad']={},_0x668057=_0x5a9f68['Pkcs7']={'pad':function(_0x3396ed,_0x160df3){var _0x254bd7=_0x7619a0;for(var _0x4f3325=_0x160df3*0x4,_0xcd68ef=_0x4f3325-_0x3396ed[_0x254bd7(0x3a0)]%_0x4f3325,_0x509ec8=_0xcd68ef<<0x18|_0xcd68ef<<0x10|_0xcd68ef<<0x8|_0xcd68ef,_0x3aadd4=[],_0x2de6e8=0x0;_0x2de6e8<_0xcd68ef;_0x2de6e8+=0x4)_0x3aadd4[_0x254bd7(0x139)](_0x509ec8);var _0x483bdf=_0x1f1921[_0x254bd7(0x144)](_0x3aadd4,_0xcd68ef);_0x3396ed[_0x254bd7(0x3b0)](_0x483bdf);},'unpad':function(_0x28b407){var _0x10212c=_0x7619a0,_0x215fca=_0x28b407[_0x10212c(0xd6)][_0x28b407[_0x10212c(0x3a0)]-0x1>>>0x2]&0xff;_0x28b407[_0x10212c(0x3a0)]-=_0x215fca;}};_0x1da7dc['BlockCipher']=_0x53a236['extend']({'cfg':_0x53a236[_0x7619a0(0x259)][_0x7619a0(0x357)]({'mode':_0x500090,'padding':_0x668057}),'reset':function(){var _0x3c9df7=_0x7619a0,_0x1bea3a;_0x53a236[_0x3c9df7(0xae)][_0x3c9df7(0x3f2)](this);var _0x5d8947=this[_0x3c9df7(0x259)],_0x9b8e42=_0x5d8947['iv'],_0x2b2266=_0x5d8947['mode'];this[_0x3c9df7(0x8c)]==this['_ENC_XFORM_MODE']?_0x1bea3a=_0x2b2266[_0x3c9df7(0x1d5)]:(_0x1bea3a=_0x2b2266[_0x3c9df7(0x37e)],this[_0x3c9df7(0x2a0)]=0x1),this[_0x3c9df7(0x2a1)]&&this[_0x3c9df7(0x2a1)][_0x3c9df7(0x1d7)]==_0x1bea3a?this[_0x3c9df7(0x2a1)][_0x3c9df7(0x225)](this,_0x9b8e42&&_0x9b8e42[_0x3c9df7(0xd6)]):(this[_0x3c9df7(0x2a1)]=_0x1bea3a[_0x3c9df7(0x3f2)](_0x2b2266,this,_0x9b8e42&&_0x9b8e42[_0x3c9df7(0xd6)]),this[_0x3c9df7(0x2a1)][_0x3c9df7(0x1d7)]=_0x1bea3a);},'_doProcessBlock':function(_0x3b7eec,_0x24c7f4){var _0x4d1593=_0x7619a0;this[_0x4d1593(0x2a1)][_0x4d1593(0x1c1)](_0x3b7eec,_0x24c7f4);},'_doFinalize':function(){var _0x6957f=_0x7619a0,_0x15673a,_0x5a2f25=this[_0x6957f(0x259)]['padding'];return this[_0x6957f(0x8c)]==this[_0x6957f(0x302)]?(_0x5a2f25[_0x6957f(0x1f1)](this['_data'],this['blockSize']),_0x15673a=this[_0x6957f(0x27a)](!0x0)):(_0x15673a=this['_process'](!0x0),_0x5a2f25[_0x6957f(0x1d3)](_0x15673a)),_0x15673a;},'blockSize':0x80/0x20});var _0x161b9e=_0x1da7dc['CipherParams']=_0x8daec0[_0x7619a0(0x357)]({'init':function(_0x220c17){this['mixIn'](_0x220c17);},'toString':function(_0x160905){var _0x3de998=_0x7619a0;return(_0x160905||this[_0x3de998(0x19b)])[_0x3de998(0x27f)](this);}}),_0x5678f7=_0x474867[_0x7619a0(0x1b8)]={},_0x509e02=_0x5678f7[_0x7619a0(0x1c9)]={'stringify':function(_0xaa5dd8){var _0x256f10=_0x7619a0,_0x5aed4c,_0x4f56a2=_0xaa5dd8[_0x256f10(0x41e)],_0x2fd791=_0xaa5dd8['salt'];return _0x2fd791?_0x5aed4c=_0x1f1921[_0x256f10(0x144)]([0x53616c74,0x65645f5f])[_0x256f10(0x3b0)](_0x2fd791)[_0x256f10(0x3b0)](_0x4f56a2):_0x5aed4c=_0x4f56a2,_0x5aed4c[_0x256f10(0x142)](_0x51453f);},'parse':function(_0x82cab4){var _0x14d44a=_0x7619a0,_0xda43ff,_0x1584b2=_0x51453f[_0x14d44a(0x390)](_0x82cab4),_0x2548a9=_0x1584b2['words'];return _0x2548a9[0x0]==0x53616c74&&_0x2548a9[0x1]==0x65645f5f&&(_0xda43ff=_0x1f1921[_0x14d44a(0x144)](_0x2548a9[_0x14d44a(0x16e)](0x2,0x4)),_0x2548a9[_0x14d44a(0x2ac)](0x0,0x4),_0x1584b2[_0x14d44a(0x3a0)]-=0x10),_0x161b9e['create']({'ciphertext':_0x1584b2,'salt':_0xda43ff});}},_0x1f7cd3=_0x1da7dc[_0x7619a0(0x193)]=_0x8daec0['extend']({'cfg':_0x8daec0[_0x7619a0(0x357)]({'format':_0x509e02}),'encrypt':function(_0x4acb0b,_0x3d3b92,_0x39348c,_0x36d506){var _0x4db0a2=_0x7619a0;_0x36d506=this[_0x4db0a2(0x259)][_0x4db0a2(0x357)](_0x36d506);var _0x3a4aaf=_0x4acb0b[_0x4db0a2(0x1d5)](_0x39348c,_0x36d506),_0x1d14a4=_0x3a4aaf[_0x4db0a2(0x40b)](_0x3d3b92),_0x1b5867=_0x3a4aaf[_0x4db0a2(0x259)];return _0x161b9e[_0x4db0a2(0x144)]({'ciphertext':_0x1d14a4,'key':_0x39348c,'iv':_0x1b5867['iv'],'algorithm':_0x4acb0b,'mode':_0x1b5867['mode'],'padding':_0x1b5867[_0x4db0a2(0x306)],'blockSize':_0x4acb0b['blockSize'],'formatter':_0x36d506[_0x4db0a2(0x1b8)]});},'decrypt':function(_0x968088,_0x4b1392,_0x5a8361,_0x2d78f0){var _0x37bbec=_0x7619a0;_0x2d78f0=this[_0x37bbec(0x259)]['extend'](_0x2d78f0),_0x4b1392=this[_0x37bbec(0xe3)](_0x4b1392,_0x2d78f0[_0x37bbec(0x1b8)]);var _0x545118=_0x968088[_0x37bbec(0x37e)](_0x5a8361,_0x2d78f0)[_0x37bbec(0x40b)](_0x4b1392[_0x37bbec(0x41e)]);return _0x545118;},'_parse':function(_0x514dbb,_0x42765b){var _0x535545=_0x7619a0;return typeof _0x514dbb==_0x535545(0xec)?_0x42765b[_0x535545(0x390)](_0x514dbb,this):_0x514dbb;}}),_0x531d57=_0x474867[_0x7619a0(0x1bf)]={},_0x24debb=_0x531d57[_0x7619a0(0x1c9)]={'execute':function(_0x1b5ee1,_0xb66a36,_0x2890f1,_0x59f49e,_0x18d544){var _0x5e98b5=_0x7619a0;if(_0x59f49e||(_0x59f49e=_0x1f1921[_0x5e98b5(0x2a6)](0x40/0x8)),_0x18d544)var _0x387f84=_0x53a8d1[_0x5e98b5(0x144)]({'keySize':_0xb66a36+_0x2890f1,'hasher':_0x18d544})[_0x5e98b5(0x419)](_0x1b5ee1,_0x59f49e);else var _0x387f84=_0x53a8d1[_0x5e98b5(0x144)]({'keySize':_0xb66a36+_0x2890f1})[_0x5e98b5(0x419)](_0x1b5ee1,_0x59f49e);var _0x1ca3e3=_0x1f1921[_0x5e98b5(0x144)](_0x387f84[_0x5e98b5(0xd6)][_0x5e98b5(0x16e)](_0xb66a36),_0x2890f1*0x4);return _0x387f84[_0x5e98b5(0x3a0)]=_0xb66a36*0x4,_0x161b9e[_0x5e98b5(0x144)]({'key':_0x387f84,'iv':_0x1ca3e3,'salt':_0x59f49e});}},_0xb75352=_0x1da7dc[_0x7619a0(0x1a7)]=_0x1f7cd3[_0x7619a0(0x357)]({'cfg':_0x1f7cd3[_0x7619a0(0x259)][_0x7619a0(0x357)]({'kdf':_0x24debb}),'encrypt':function(_0x560737,_0x27d749,_0x471689,_0x4a7acd){var _0x520b74=_0x7619a0;_0x4a7acd=this[_0x520b74(0x259)][_0x520b74(0x357)](_0x4a7acd);var _0x2553f6=_0x4a7acd['kdf']['execute'](_0x471689,_0x560737['keySize'],_0x560737[_0x520b74(0x2d4)],_0x4a7acd['salt'],_0x4a7acd[_0x520b74(0x35a)]);_0x4a7acd['iv']=_0x2553f6['iv'];var _0x21a82a=_0x1f7cd3[_0x520b74(0xdc)][_0x520b74(0x3f2)](this,_0x560737,_0x27d749,_0x2553f6[_0x520b74(0x236)],_0x4a7acd);return _0x21a82a[_0x520b74(0x32c)](_0x2553f6),_0x21a82a;},'decrypt':function(_0x1b8bae,_0x375d5c,_0x551e36,_0x51947e){var _0x16bebf=_0x7619a0;_0x51947e=this[_0x16bebf(0x259)]['extend'](_0x51947e),_0x375d5c=this['_parse'](_0x375d5c,_0x51947e[_0x16bebf(0x1b8)]);var _0x255b35=_0x51947e['kdf'][_0x16bebf(0x1bc)](_0x551e36,_0x1b8bae[_0x16bebf(0x38c)],_0x1b8bae['ivSize'],_0x375d5c[_0x16bebf(0xc9)],_0x51947e[_0x16bebf(0x35a)]);_0x51947e['iv']=_0x255b35['iv'];var _0x5581eb=_0x1f7cd3['decrypt'][_0x16bebf(0x3f2)](this,_0x1b8bae,_0x375d5c,_0x255b35[_0x16bebf(0x236)],_0x51947e);return _0x5581eb;}});}();}));}(_0x1e4111)),_0x1e4111['exports'];}var _0x58a2ec=_0x12cccc[_0x46a189(0x2a3)],_0x3983b9;function _0x1fffcc(){var _0x863490=_0x46a189;return _0x3983b9||(_0x3983b9=0x1,function(_0x10fd9f,_0xf2a92c){(function(_0x446395,_0x1831ac,_0x3a7d3a){var _0x3ebb8a=_0x532f;_0x10fd9f[_0x3ebb8a(0x2a3)]=_0x1831ac(_0x10f252(),_0x2ea24d(),_0xda11a2(),_0x483d34(),_0x2f791f());}(_0x58a2ec,function(_0x18ab1){var _0x1bfc3d=_0x532f;return(function(){var _0x49acc8=_0x532f,_0x32efa6=_0x18ab1,_0x5de56c=_0x32efa6[_0x49acc8(0x1ca)],_0xf09ed8=_0x5de56c[_0x49acc8(0x169)],_0x305881=_0x32efa6[_0x49acc8(0x399)],_0x5edbb4=[],_0x2ac440=[],_0x5cef2c=[],_0x3608ff=[],_0x239944=[],_0x57231a=[],_0x107979=[],_0x33668a=[],_0x189ee3=[],_0x3be325=[];(function(){for(var _0x3acc58=[],_0x73f168=0x0;_0x73f168<0x100;_0x73f168++)_0x73f168<0x80?_0x3acc58[_0x73f168]=_0x73f168<<0x1:_0x3acc58[_0x73f168]=_0x73f168<<0x1^0x11b;for(var _0x2fee91=0x0,_0x5a3a8b=0x0,_0x73f168=0x0;_0x73f168<0x100;_0x73f168++){var _0x56fb05=_0x5a3a8b^_0x5a3a8b<<0x1^_0x5a3a8b<<0x2^_0x5a3a8b<<0x3^_0x5a3a8b<<0x4;_0x56fb05=_0x56fb05>>>0x8^_0x56fb05&0xff^0x63,_0x5edbb4[_0x2fee91]=_0x56fb05,_0x2ac440[_0x56fb05]=_0x2fee91;var _0x2b8ea9=_0x3acc58[_0x2fee91],_0x5a98d4=_0x3acc58[_0x2b8ea9],_0xf7c0f5=_0x3acc58[_0x5a98d4],_0x24eee2=_0x3acc58[_0x56fb05]*0x101^_0x56fb05*0x1010100;_0x5cef2c[_0x2fee91]=_0x24eee2<<0x18|_0x24eee2>>>0x8,_0x3608ff[_0x2fee91]=_0x24eee2<<0x10|_0x24eee2>>>0x10,_0x239944[_0x2fee91]=_0x24eee2<<0x8|_0x24eee2>>>0x18,_0x57231a[_0x2fee91]=_0x24eee2;var _0x24eee2=_0xf7c0f5*0x1010101^_0x5a98d4*0x10001^_0x2b8ea9*0x101^_0x2fee91*0x1010100;_0x107979[_0x56fb05]=_0x24eee2<<0x18|_0x24eee2>>>0x8,_0x33668a[_0x56fb05]=_0x24eee2<<0x10|_0x24eee2>>>0x10,_0x189ee3[_0x56fb05]=_0x24eee2<<0x8|_0x24eee2>>>0x18,_0x3be325[_0x56fb05]=_0x24eee2,_0x2fee91?(_0x2fee91=_0x2b8ea9^_0x3acc58[_0x3acc58[_0x3acc58[_0xf7c0f5^_0x2b8ea9]]],_0x5a3a8b^=_0x3acc58[_0x3acc58[_0x5a3a8b]]):_0x2fee91=_0x5a3a8b=0x1;}}());var _0x5e769=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x49315e=_0x305881[_0x49acc8(0x355)]=_0xf09ed8[_0x49acc8(0x357)]({'_doReset':function(){var _0x25aa6c=_0x49acc8,_0x12dfb2;if(!(this[_0x25aa6c(0x195)]&&this[_0x25aa6c(0x27b)]===this[_0x25aa6c(0x33e)])){for(var _0x146655=this[_0x25aa6c(0x27b)]=this[_0x25aa6c(0x33e)],_0x479933=_0x146655[_0x25aa6c(0xd6)],_0x357875=_0x146655[_0x25aa6c(0x3a0)]/0x4,_0x541f06=this['_nRounds']=_0x357875+0x6,_0x5184bd=(_0x541f06+0x1)*0x4,_0x3eccf9=this[_0x25aa6c(0x1e0)]=[],_0x20fc91=0x0;_0x20fc91<_0x5184bd;_0x20fc91++)_0x20fc91<_0x357875?_0x3eccf9[_0x20fc91]=_0x479933[_0x20fc91]:(_0x12dfb2=_0x3eccf9[_0x20fc91-0x1],_0x20fc91%_0x357875?_0x357875>0x6&&_0x20fc91%_0x357875==0x4&&(_0x12dfb2=_0x5edbb4[_0x12dfb2>>>0x18]<<0x18|_0x5edbb4[_0x12dfb2>>>0x10&0xff]<<0x10|_0x5edbb4[_0x12dfb2>>>0x8&0xff]<<0x8|_0x5edbb4[_0x12dfb2&0xff]):(_0x12dfb2=_0x12dfb2<<0x8|_0x12dfb2>>>0x18,_0x12dfb2=_0x5edbb4[_0x12dfb2>>>0x18]<<0x18|_0x5edbb4[_0x12dfb2>>>0x10&0xff]<<0x10|_0x5edbb4[_0x12dfb2>>>0x8&0xff]<<0x8|_0x5edbb4[_0x12dfb2&0xff],_0x12dfb2^=_0x5e769[_0x20fc91/_0x357875|0x0]<<0x18),_0x3eccf9[_0x20fc91]=_0x3eccf9[_0x20fc91-_0x357875]^_0x12dfb2);for(var _0x191b46=this['_invKeySchedule']=[],_0x1e8335=0x0;_0x1e8335<_0x5184bd;_0x1e8335++){var _0x20fc91=_0x5184bd-_0x1e8335;if(_0x1e8335%0x4)var _0x12dfb2=_0x3eccf9[_0x20fc91];else var _0x12dfb2=_0x3eccf9[_0x20fc91-0x4];_0x1e8335<0x4||_0x20fc91<=0x4?_0x191b46[_0x1e8335]=_0x12dfb2:_0x191b46[_0x1e8335]=_0x107979[_0x5edbb4[_0x12dfb2>>>0x18]]^_0x33668a[_0x5edbb4[_0x12dfb2>>>0x10&0xff]]^_0x189ee3[_0x5edbb4[_0x12dfb2>>>0x8&0xff]]^_0x3be325[_0x5edbb4[_0x12dfb2&0xff]];}}},'encryptBlock':function(_0x154af8,_0x2a74a4){var _0x300f2a=_0x49acc8;this[_0x300f2a(0x11f)](_0x154af8,_0x2a74a4,this[_0x300f2a(0x1e0)],_0x5cef2c,_0x3608ff,_0x239944,_0x57231a,_0x5edbb4);},'decryptBlock':function(_0x3aff9f,_0x205e6c){var _0x993469=_0x3aff9f[_0x205e6c+0x1];_0x3aff9f[_0x205e6c+0x1]=_0x3aff9f[_0x205e6c+0x3],_0x3aff9f[_0x205e6c+0x3]=_0x993469,this['_doCryptBlock'](_0x3aff9f,_0x205e6c,this['_invKeySchedule'],_0x107979,_0x33668a,_0x189ee3,_0x3be325,_0x2ac440);var _0x993469=_0x3aff9f[_0x205e6c+0x1];_0x3aff9f[_0x205e6c+0x1]=_0x3aff9f[_0x205e6c+0x3],_0x3aff9f[_0x205e6c+0x3]=_0x993469;},'_doCryptBlock':function(_0x1c1784,_0x3b2135,_0x2b7c39,_0x14209d,_0x459b5c,_0x4fda33,_0x8cec09,_0x552142){var _0xdd2feb=_0x49acc8;for(var _0x434af1=this[_0xdd2feb(0x195)],_0x15784f=_0x1c1784[_0x3b2135]^_0x2b7c39[0x0],_0x140361=_0x1c1784[_0x3b2135+0x1]^_0x2b7c39[0x1],_0x4ef20f=_0x1c1784[_0x3b2135+0x2]^_0x2b7c39[0x2],_0x559674=_0x1c1784[_0x3b2135+0x3]^_0x2b7c39[0x3],_0x3cfbd3=0x4,_0x31880f=0x1;_0x31880f<_0x434af1;_0x31880f++){var _0xd05593=_0x14209d[_0x15784f>>>0x18]^_0x459b5c[_0x140361>>>0x10&0xff]^_0x4fda33[_0x4ef20f>>>0x8&0xff]^_0x8cec09[_0x559674&0xff]^_0x2b7c39[_0x3cfbd3++],_0x3e12c4=_0x14209d[_0x140361>>>0x18]^_0x459b5c[_0x4ef20f>>>0x10&0xff]^_0x4fda33[_0x559674>>>0x8&0xff]^_0x8cec09[_0x15784f&0xff]^_0x2b7c39[_0x3cfbd3++],_0x4a61d7=_0x14209d[_0x4ef20f>>>0x18]^_0x459b5c[_0x559674>>>0x10&0xff]^_0x4fda33[_0x15784f>>>0x8&0xff]^_0x8cec09[_0x140361&0xff]^_0x2b7c39[_0x3cfbd3++],_0x560a56=_0x14209d[_0x559674>>>0x18]^_0x459b5c[_0x15784f>>>0x10&0xff]^_0x4fda33[_0x140361>>>0x8&0xff]^_0x8cec09[_0x4ef20f&0xff]^_0x2b7c39[_0x3cfbd3++];_0x15784f=_0xd05593,_0x140361=_0x3e12c4,_0x4ef20f=_0x4a61d7,_0x559674=_0x560a56;}var _0xd05593=(_0x552142[_0x15784f>>>0x18]<<0x18|_0x552142[_0x140361>>>0x10&0xff]<<0x10|_0x552142[_0x4ef20f>>>0x8&0xff]<<0x8|_0x552142[_0x559674&0xff])^_0x2b7c39[_0x3cfbd3++],_0x3e12c4=(_0x552142[_0x140361>>>0x18]<<0x18|_0x552142[_0x4ef20f>>>0x10&0xff]<<0x10|_0x552142[_0x559674>>>0x8&0xff]<<0x8|_0x552142[_0x15784f&0xff])^_0x2b7c39[_0x3cfbd3++],_0x4a61d7=(_0x552142[_0x4ef20f>>>0x18]<<0x18|_0x552142[_0x559674>>>0x10&0xff]<<0x10|_0x552142[_0x15784f>>>0x8&0xff]<<0x8|_0x552142[_0x140361&0xff])^_0x2b7c39[_0x3cfbd3++],_0x560a56=(_0x552142[_0x559674>>>0x18]<<0x18|_0x552142[_0x15784f>>>0x10&0xff]<<0x10|_0x552142[_0x140361>>>0x8&0xff]<<0x8|_0x552142[_0x4ef20f&0xff])^_0x2b7c39[_0x3cfbd3++];_0x1c1784[_0x3b2135]=_0xd05593,_0x1c1784[_0x3b2135+0x1]=_0x3e12c4,_0x1c1784[_0x3b2135+0x2]=_0x4a61d7,_0x1c1784[_0x3b2135+0x3]=_0x560a56;},'keySize':0x100/0x20});_0x32efa6[_0x49acc8(0x355)]=_0xf09ed8[_0x49acc8(0x336)](_0x49315e);}()),_0x18ab1[_0x1bfc3d(0x355)];}));}(_0x12cccc)),_0x12cccc[_0x863490(0x2a3)];}var _0x1f0d38=_0x1fffcc();const _0x29a064=_0x2577ba(_0x1f0d38);var _0x4c9ec2=_0x2ea24d();const _0x29432a=_0x2577ba(_0x4c9ec2);var _0x6ae997={'exports':{}},_0x10b11a=_0x6ae997[_0x46a189(0x2a3)],_0x31c95e;function _0x3c8809(){var _0x3ef456=_0x46a189;return _0x31c95e||(_0x31c95e=0x1,function(_0xbc2158,_0x1b4740){(function(_0x5cde01,_0x2bbc6d){var _0x3d3708=_0x532f;_0xbc2158[_0x3d3708(0x2a3)]=_0x2bbc6d(_0x10f252());}(_0x10b11a,function(_0x25b816){var _0x2e6c8d=_0x532f;return _0x25b816[_0x2e6c8d(0x25b)][_0x2e6c8d(0x217)];}));}(_0x6ae997)),_0x6ae997[_0x3ef456(0x2a3)];}var _0x1b8d63=_0x3c8809();const _0xa89690=_0x2577ba(_0x1b8d63);var _0x5e7554={'exports':{}},_0x534396=_0x5e7554[_0x46a189(0x2a3)],_0x5f0f1a;function _0x3dd0f4(){return _0x5f0f1a||(_0x5f0f1a=0x1,function(_0x1f1675,_0x4c7890){(function(_0x35df7a,_0x3d94a8){var _0x23929f=_0x532f;_0x1f1675[_0x23929f(0x2a3)]=_0x3d94a8(_0x10f252());}(_0x534396,function(_0x34288b){var _0x255ebf=_0x532f;return(function(){var _0x172654=_0x532f;if(typeof ArrayBuffer==_0x172654(0x127)){var _0x173da4=_0x34288b,_0x2dad44=_0x173da4[_0x172654(0x1ca)],_0x13dc80=_0x2dad44[_0x172654(0xe4)],_0x40870a=_0x13dc80['init'],_0x208b51=_0x13dc80[_0x172654(0x225)]=function(_0x58600e){var _0x430e6f=_0x172654;if(_0x58600e instanceof ArrayBuffer&&(_0x58600e=new Uint8Array(_0x58600e)),(_0x58600e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x58600e instanceof Uint8ClampedArray||_0x58600e instanceof Int16Array||_0x58600e instanceof Uint16Array||_0x58600e instanceof Int32Array||_0x58600e instanceof Uint32Array||_0x58600e instanceof Float32Array||_0x58600e instanceof Float64Array)&&(_0x58600e=new Uint8Array(_0x58600e[_0x430e6f(0x2c6)],_0x58600e[_0x430e6f(0x234)],_0x58600e[_0x430e6f(0x1f0)])),_0x58600e instanceof Uint8Array){for(var _0x474a2a=_0x58600e[_0x430e6f(0x1f0)],_0x40e189=[],_0x36cd8f=0x0;_0x36cd8f<_0x474a2a;_0x36cd8f++)_0x40e189[_0x36cd8f>>>0x2]|=_0x58600e[_0x36cd8f]<<0x18-_0x36cd8f%0x4*0x8;_0x40870a[_0x430e6f(0x3f2)](this,_0x40e189,_0x474a2a);}else _0x40870a[_0x430e6f(0xcd)](this,arguments);};_0x208b51[_0x172654(0x425)]=_0x13dc80;}}()),_0x34288b[_0x255ebf(0x1ca)][_0x255ebf(0xe4)];}));}(_0x5e7554)),_0x5e7554['exports'];}var _0x3d8bdd=_0x3dd0f4();const _0x290c96=_0x2577ba(_0x3d8bdd);var _0x5231d0={'exports':{}},_0x1a542c=_0x5231d0[_0x46a189(0x2a3)],_0x4e44a5;function _0x37dbdc(){return _0x4e44a5||(_0x4e44a5=0x1,function(_0x3833f8,_0x26c9ab){(function(_0x15ef89,_0x44aceb,_0x2a3125){_0x3833f8['exports']=_0x44aceb(_0x10f252(),_0x2f791f());}(_0x1a542c,function(_0x58747f){var _0x35fe3e=_0x532f;return _0x58747f['pad'][_0x35fe3e(0x33a)]={'pad':function(){},'unpad':function(){}},_0x58747f[_0x35fe3e(0x1f1)][_0x35fe3e(0x33a)];}));}(_0x5231d0)),_0x5231d0['exports'];}var _0x44b051=_0x37dbdc();const _0x53790f=_0x2577ba(_0x44b051);function _0x4ecc23(_0x2c99ce,_0x1c8e1d){var _0x3cdb15=_0x46a189;const _0x1f1fa0=_0x1c8e1d-_0x2c99ce[_0x3cdb15(0x86)]%_0x1c8e1d,_0x24b038=String['fromCharCode'](_0x1f1fa0)[_0x3cdb15(0xa8)](_0x1f1fa0);return _0x2c99ce+_0x24b038;}function _0x388b3d(_0x255e29,_0x43900f){var _0x51dff5=_0x46a189;const _0xf5cba2=_0x290c96[_0x51dff5(0x2a6)](0x10),_0x3ca512=_0x4ecc23(_0x255e29,0x10),_0x4d1b51=_0x29a064[_0x51dff5(0xdc)](_0xa89690[_0x51dff5(0x390)](_0x3ca512),_0x29432a[_0x51dff5(0x390)](_0x43900f),{'iv':_0xf5cba2,'padding':_0x53790f});return _0xf5cba2['concat'](_0x4d1b51[_0x51dff5(0x41e)])['toString'](_0x29432a);}function _0x4f8bd1(){var _0x105328=_0x46a189;const _0x16f8f9=_0x236deb['getGlobalObject']()[_0x105328(0x267)];if(_0x16f8f9){const _0x409d68={'time':Math[_0x105328(0x123)](Date[_0x105328(0x1cc)]()/0x3e8),'domain':location[_0x105328(0x238)]};return _0x388b3d(JSON[_0x105328(0x27f)](_0x409d68),_0x16f8f9);}}var _0x346cd1=Object['getOwnPropertyDescriptor'],_0x561292=(_0xeeb68d,_0xa7874c,_0x155527,_0x31f91f)=>{for(var _0x390a87=_0x31f91f>0x1?void 0x0:_0x31f91f?_0x346cd1(_0xa7874c,_0x155527):_0xa7874c,_0x55ba58=_0xeeb68d['length']-0x1,_0x27ace5;_0x55ba58>=0x0;_0x55ba58--)(_0x27ace5=_0xeeb68d[_0x55ba58])&&(_0x390a87=_0x27ace5(_0x390a87)||_0x390a87);return _0x390a87;},_0x29b1d6=(_0x430222,_0x550a13)=>(_0x5a47bf,_0x1ee3ea)=>_0x550a13(_0x5a47bf,_0x1ee3ea,_0x430222);let _0x2162c9=class{constructor(_0xc3faf1){var _0x52dae6=_0x46a189;this['_httpService']=_0xc3faf1,this[_0x52dae6(0x10d)]();}['_initRequestHeader'](){var _0x4d53b1=_0x46a189;this[_0x4d53b1(0x320)][_0x4d53b1(0x3b8)]({'interceptor':(_0x25f59f,_0x59322c)=>{var _0x55eb52=_0x4d53b1;const _0x207c9f=_0x25f59f[_0x55eb52(0x2be)],_0x89e251=_0x4f8bd1();return _0x89e251&&_0x207c9f[_0x55eb52(0xf3)]('x-univer-host',_0x89e251),_0x59322c(_0x25f59f);}});}};_0x2162c9=_0x561292([_0x29b1d6(0x0,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)]))],_0x2162c9);var _0x1cf9a2=Object[_0x46a189(0x1d1)],_0x473bbc=(_0x3959c3,_0xbea1f8,_0x39ac77,_0x403515)=>{var _0x5c5b0a=_0x46a189;for(var _0x434b0d=_0x403515>0x1?void 0x0:_0x403515?_0x1cf9a2(_0xbea1f8,_0x39ac77):_0xbea1f8,_0x56ef71=_0x3959c3[_0x5c5b0a(0x86)]-0x1,_0x3a2d82;_0x56ef71>=0x0;_0x56ef71--)(_0x3a2d82=_0x3959c3[_0x56ef71])&&(_0x434b0d=_0x3a2d82(_0x434b0d)||_0x434b0d);return _0x434b0d;},_0x572752=(_0x4e901d,_0x2c9078)=>(_0x548e99,_0x110e25)=>_0x2c9078(_0x548e99,_0x110e25,_0x4e901d);_0x247d18[_0x46a189(0x19c)]=class extends _0x112078['RxDisposable']{constructor(_0x35f63e,_0x1a4825,_0x316efc){var _0x3936fc=_0x46a189;super(),_0x25aa6e(this,_0x3936fc(0x3b7),new _0x1909d3[(_0x3936fc(0xf5))](null)),_0x25aa6e(this,_0x3936fc(0x334),this[_0x3936fc(0x3b7)]['asObservable']()),(this[_0x3936fc(0x235)]=_0x35f63e,this[_0x3936fc(0xe6)]=_0x1a4825,this['_localCacheService']=_0x316efc);}async[_0x46a189(0x400)](_0x2f19c8,_0x124935,_0x3fdf64){var _0x379a9e=_0x46a189;this[_0x379a9e(0x3b7)][_0x379a9e(0x28a)]({'unitId':_0x2f19c8,'type':_0x124935});let _0x52ad54=null;switch(_0x124935){case _0x193e02['UNIVER_SHEET']:{_0x52ad54=await this[_0x379a9e(0xe6)][_0x379a9e(0x346)](_0x2f19c8,_0x3fdf64);break;}case _0x193e02[_0x379a9e(0x140)]:{_0x52ad54=await this[_0x379a9e(0xe6)][_0x379a9e(0x3af)](_0x2f19c8,_0x3fdf64);break;}default:{this['_logService'][_0x379a9e(0x157)](_0x379a9e(0x401),_0x379a9e(0x3ad));break;}}return _0x52ad54;}async[_0x46a189(0x315)](_0x46ce79,_0xeb9716,_0x26f6cc){var _0x211596=_0x46a189,_0x5b1834;this[_0x211596(0x3b7)][_0x211596(0x28a)]({'unitId':_0x46ce79,'type':_0xeb9716,'subUnitId':_0x26f6cc});let _0x5b5336=0x0;const _0x161428=await((_0x5b1834=this[_0x211596(0x11d)])==null?void 0x0:_0x5b1834[_0x211596(0x215)](_0x46ce79));return _0x161428&&(_0x161428[_0x211596(0x343)]||_0x161428['mutations'][_0x211596(0x86)]!==0x0)&&(_0x5b5336=_0x161428[_0x211596(0x16c)]),_0x5b5336===0x0&&this[_0x211596(0x235)][_0x211596(0x366)](_0x211596(0x401),_0x211596(0x1eb)),this[_0x211596(0x400)](_0x46ce79,_0xeb9716,_0x5b5336);}},_0x247d18[_0x46a189(0x19c)]=_0x473bbc([_0x572752(0x0,_0x112078[_0x46a189(0xce)]),_0x572752(0x1,_0x112078[_0x46a189(0x11e)](_0x4f9634['SnapshotService'])),_0x572752(0x2,_0x112078[_0x46a189(0x24e)](_0x1257cc))],_0x247d18[_0x46a189(0x19c)]);var _0x3d2c22=Object['getOwnPropertyDescriptor'],_0xb52317=(_0x44c1dc,_0x2bdcdf,_0x4b5e72,_0x524755)=>{var _0x27527a=_0x46a189;for(var _0x2c5f1b=_0x524755>0x1?void 0x0:_0x524755?_0x3d2c22(_0x2bdcdf,_0x4b5e72):_0x2bdcdf,_0x4387d6=_0x44c1dc[_0x27527a(0x86)]-0x1,_0x386436;_0x4387d6>=0x0;_0x4387d6--)(_0x386436=_0x44c1dc[_0x4387d6])&&(_0x2c5f1b=_0x386436(_0x2c5f1b)||_0x2c5f1b);return _0x2c5f1b;},_0xf1d62a=(_0x6716fd,_0x531b8b)=>(_0xd0a757,_0x45c351)=>_0x531b8b(_0xd0a757,_0x45c351,_0x6716fd);const _0xb20945=[_0x46a189(0x10a),'image/jpeg',_0x46a189(0x356),_0x46a189(0x363),_0x46a189(0x2f9)],_0x3b87e1=0x5*0x400*0x400,_0x319048=_0x46a189(0x26b),_0x1448a2='/universer-api/file/{fileID}/sign-url';_0x247d18['CollaborationImageIoService']=class{constructor(_0x3ee740,_0x591fc9,_0xf29407){var _0x3db03e=_0x46a189;_0x25aa6e(this,_0x3db03e(0x2c8),0x0),_0x25aa6e(this,'_change$',new _0x1909d3[(_0x3db03e(0x276))]()),_0x25aa6e(this,'change$',this['_change$']),_0x25aa6e(this,_0x3db03e(0x1fb),new Map()),(this[_0x3db03e(0x320)]=_0x3ee740,this[_0x3db03e(0xad)]=_0x591fc9,this[_0x3db03e(0x3cf)]=_0xf29407);}[_0x46a189(0x30c)](_0x1dd9c4){var _0x154b0c=_0x46a189;this['_waitCount']=_0x1dd9c4,this['_change$'][_0x154b0c(0x28a)](_0x1dd9c4);}[_0x46a189(0x134)](_0x1a7a08,_0x23d4e2){var _0xaf373d=_0x46a189;if(_0x23d4e2===_0x4b9ee5[_0xaf373d(0x2f2)][_0xaf373d(0x1b6)]){const _0x1efa86=new Image();return _0x1efa86[_0xaf373d(0xaa)]=_0x1a7a08,_0x1efa86;}return this['_imageSourceCache']['get'](_0x1a7a08);}[_0x46a189(0x141)](_0x247869,_0x30b100,_0x5e83f4){var _0x460304=_0x46a189;_0x30b100===_0x4b9ee5['ImageSourceType']['BASE64']||_0x5e83f4==null||this[_0x460304(0x1fb)][_0x460304(0xf3)](_0x247869,_0x5e83f4);}async[_0x46a189(0x2e3)](_0x34a054){var _0x38e042=_0x46a189;try{const _0x48455f=this['_replaceFileID'](this[_0x38e042(0x3b9)](),''+_0x34a054),_0x291fe7=(await this[_0x38e042(0x320)]['get'](_0x48455f))[_0x38e042(0x2cf)];if(_0x291fe7['error']&&_0x291fe7[_0x38e042(0x157)][_0x38e042(0x2c3)]===_0x169ac9['OK']){const _0x38c3f7=new URL(_0x291fe7[_0x38e042(0x386)],this[_0x38e042(0x3ef)]())['toString']();return Promise[_0x38e042(0xf4)](_0x38c3f7);}return Promise[_0x38e042(0x37f)](_0x291fe7[_0x38e042(0x157)]);}catch(_0x2630b1){return Promise['reject'](_0x2630b1);}}async[_0x46a189(0x21f)](_0x5e5bc0){var _0x4f2aee=_0x46a189;let _0x2b2fe4='';if(!_0xb20945[_0x4f2aee(0x3e7)](_0x5e5bc0[_0x4f2aee(0xfd)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x4b9ee5['ImageUploadStatusType'][_0x4f2aee(0x110)]));if(_0x5e5bc0[_0x4f2aee(0x352)]>_0x3b87e1)return this[_0x4f2aee(0x1f3)](),Promise[_0x4f2aee(0x37f)](new Error(_0x4b9ee5[_0x4f2aee(0x263)][_0x4f2aee(0x313)]));try{const _0x55510c=new FormData();_0x55510c['append'](_0x4f2aee(0x2e8),_0x5e5bc0);const _0x2ff32d=this['_univerInstanceService'][_0x4f2aee(0x36f)](),_0x584f5f=_0x2ff32d==null?void 0x0:_0x2ff32d[_0x4f2aee(0x9c)]();if(!_0x584f5f)throw new Error('unitId\x20is\x20not\x20found');const _0x2e2e48=this['_getUploadFileURL']()+_0x4f2aee(0x35e)+_0x5e5bc0['size'][_0x4f2aee(0x142)]()+_0x4f2aee(0x14b)+_0x6a4310[_0x4f2aee(0x247)]+_0x4f2aee(0x21d)+encodeURIComponent(_0x584f5f),_0x12857e={'body':_0x55510c},_0x4f7446=(await this[_0x4f2aee(0x320)][_0x4f2aee(0x26a)](_0x2e2e48,_0x12857e))[_0x4f2aee(0x2cf)];if(typeof _0x4f7446[_0x4f2aee(0x8a)]!=_0x4f2aee(0xec))return this[_0x4f2aee(0x1f3)](),Promise[_0x4f2aee(0x37f)](new Error(_0x4b9ee5[_0x4f2aee(0x263)]['ERROR_IMAGE']));_0x2b2fe4=_0x4f7446['FileId'];}catch{return this[_0x4f2aee(0x1f3)](),Promise[_0x4f2aee(0x37f)](new Error(_0x4b9ee5[_0x4f2aee(0x263)]['ERROR_IMAGE']));}return new Promise((_0x59a16d,_0x4859a1)=>{var _0x4e29fe=_0x4f2aee;const _0x2b7757=new FileReader();_0x2b7757[_0x4e29fe(0x196)](_0x5e5bc0),_0x2b7757['onload']=_0x1c2a86=>{var _0x51b03f=_0x4e29fe,_0xd9ac5f;const _0x287062=(_0xd9ac5f=_0x1c2a86[_0x51b03f(0x159)])==null?void 0x0:_0xd9ac5f[_0x51b03f(0x3ae)];if(_0x287062==null){this['_decreaseWaiting'](),_0x4859a1(new Error(_0x4b9ee5['ImageUploadStatusType'][_0x51b03f(0x1ff)]));return;}const _0x40dc18=_0x112078[_0x51b03f(0x20f)](0x6);_0x59a16d({'imageId':_0x40dc18,'imageSourceType':_0x4b9ee5['ImageSourceType'][_0x51b03f(0x165)],'source':_0x2b2fe4,'base64Cache':_0x287062,'status':_0x4b9ee5['ImageUploadStatusType'][_0x51b03f(0x257)]}),this[_0x51b03f(0x1f3)]();};});}[_0x46a189(0x325)](){var _0x29b05d=_0x46a189,_0x3c4562;const _0x14b03b=this[_0x29b05d(0xad)]['getConfig'](_0x4f0c7a);return(_0x3c4562=_0x14b03b==null?void 0x0:_0x14b03b[_0x29b05d(0x147)])!=null?_0x3c4562:_0x319048;}[_0x46a189(0x3b9)](){var _0x444d61=_0x46a189,_0x3f8ac4;const _0x160bad=this[_0x444d61(0xad)][_0x444d61(0x2a2)](_0x4f0c7a);return(_0x3f8ac4=_0x160bad==null?void 0x0:_0x160bad[_0x444d61(0x171)])!=null?_0x3f8ac4:_0x1448a2;}['_getDownloadEndpointURL'](){var _0x3b0cf0=_0x46a189,_0x5e7cb6;const _0x504243=this['_configService'][_0x3b0cf0(0x2a2)](_0x4f0c7a);return(_0x5e7cb6=_0x504243==null?void 0x0:_0x504243[_0x3b0cf0(0x345)])!=null?_0x5e7cb6:location[_0x3b0cf0(0x1e4)];}['_replaceFileID'](_0x151a65,_0x3a2229){var _0x30804f=_0x46a189;return _0x151a65['replace'](_0x30804f(0x1a3),_0x3a2229);}['_decreaseWaiting'](){var _0xa57c9a=_0x46a189;this['_waitCount']-=0x1,this[_0xa57c9a(0x28f)]['next'](this[_0xa57c9a(0x2c8)]);}},_0x247d18[_0x46a189(0xa5)]=_0xb52317([_0xf1d62a(0x0,_0x112078['Inject'](_0x1b0b18[_0x46a189(0x2e7)])),_0xf1d62a(0x1,_0x112078[_0x46a189(0x22f)]),_0xf1d62a(0x2,_0x112078['Inject'](_0x112078[_0x46a189(0x93)]))],_0x247d18[_0x46a189(0xa5)]);var _0x221bcd=Object[_0x46a189(0x1d1)],_0x502118=(_0x1ed2fc,_0x1e2138,_0x4f8a21,_0x5a3a99)=>{for(var _0x5ce225=_0x5a3a99>0x1?void 0x0:_0x5a3a99?_0x221bcd(_0x1e2138,_0x4f8a21):_0x1e2138,_0x5ee481=_0x1ed2fc['length']-0x1,_0x514588;_0x5ee481>=0x0;_0x5ee481--)(_0x514588=_0x1ed2fc[_0x5ee481])&&(_0x5ce225=_0x514588(_0x5ce225)||_0x5ce225);return _0x5ce225;},_0x1c741a=(_0x2d5761,_0x43e026)=>(_0x3f5086,_0xeac417)=>_0x43e026(_0x3f5086,_0xeac417,_0x2d5761);const _0xddd260=_0x46a189(0x2cd);_0x247d18[_0x46a189(0x34e)]=class{constructor(_0x4a8ec2,_0x1670d9){var _0x23ea4d=_0x46a189;this[_0x23ea4d(0xad)]=_0x4a8ec2,this[_0x23ea4d(0x179)]=_0x1670d9;}['_getAPIPrefixPath'](){var _0x772e77=_0x46a189,_0x355034;const _0x318160=this[_0x772e77(0xad)]['getConfig'](_0x4f0c7a);return(_0x355034=_0x318160==null?void 0x0:_0x318160[_0x772e77(0x237)])!=null?_0x355034:_0xddd260;}async['list'](_0x156763){var _0x5c7029=_0x46a189;const _0x41cbb8=this[_0x5c7029(0x322)]()+_0x5c7029(0x383);return{'list':[{'title':_0x5c7029(0x372),'mentions':(await this['_HTTPService'][_0x5c7029(0x3aa)](_0x41cbb8,{'params':{'objectID':_0x156763[_0x5c7029(0x124)],'unitID':_0x156763['unitId']}}))[_0x5c7029(0x2cf)][_0x5c7029(0x38e)][_0x5c7029(0xb5)](_0x4efd2c=>({'objectId':_0x4efd2c['id'],'name':_0x4efd2c['subject'][_0x5c7029(0x94)],'metadata':{'icon':_0x4efd2c['subject'][_0x5c7029(0x3d7)]},'label':_0x4efd2c[_0x5c7029(0x131)]['name'],'objectType':_0x112078[_0x5c7029(0x3b2)][_0x5c7029(0x151)]})),'metadata':{},'type':_0x112078[_0x5c7029(0x3b2)]['PERSON']}]};}},_0x247d18['MentionIoHttpService']=_0x502118([_0x1c741a(0x0,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x22f)])),_0x1c741a(0x1,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)]))],_0x247d18[_0x46a189(0x34e)]);var _0x91cbc5=Object[_0x46a189(0x1d1)],_0x59b95e=(_0x3fd0a3,_0x2423d8,_0x37fb02,_0x2e23d8)=>{var _0x349141=_0x46a189;for(var _0x26b345=_0x2e23d8>0x1?void 0x0:_0x2e23d8?_0x91cbc5(_0x2423d8,_0x37fb02):_0x2423d8,_0x9016d8=_0x3fd0a3[_0x349141(0x86)]-0x1,_0x158fac;_0x9016d8>=0x0;_0x9016d8--)(_0x158fac=_0x3fd0a3[_0x9016d8])&&(_0x26b345=_0x158fac(_0x26b345)||_0x26b345);return _0x26b345;},_0x3888a8=(_0x2b480a,_0x37e460)=>(_0x1958ff,_0x209a8d)=>_0x37e460(_0x1958ff,_0x209a8d,_0x2b480a);let _0x5c1315=class extends _0x112078[_0x46a189(0x113)]{constructor(_0x174f52,_0x2f9042,_0xb87f0e,_0x1fcd17,_0x1065fa){var _0x271655=_0x46a189;super(),this['_injector']=_0x174f52,this[_0x271655(0x3cf)]=_0x2f9042,this[_0x271655(0x30f)]=_0xb87f0e,this[_0x271655(0x181)]=_0x1fcd17,this[_0x271655(0x281)]=_0x1065fa,this[_0x271655(0x285)](),this['_initCloseConn']();}[_0x46a189(0x392)](){var _0x2551b2=_0x46a189;const _0x621c66=async _0x36024f=>{var _0x230276=_0x532f;(await this[_0x230276(0x181)][_0x230276(0x397)](_0x36024f))[_0x230276(0xd4)][_0x230276(0x41a)](_0x57d774[_0x230276(0x3b6)](_0x467d8e=>_0x467d8e[_0x230276(0x3df)]===_0x4f9634['CollaborationEvent'][_0x230276(0x85)]),_0x57d774[_0x230276(0x1ea)](this['dispose$']))[_0x230276(0x153)](_0x337279=>{var _0xf3634c=_0x230276;const _0x3a311b=_0x337279,{reason:_0x2489e1}=_0x3a311b[_0xf3634c(0x3f5)];this[_0xf3634c(0x281)][_0xf3634c(0xe5)]({'id':_0xee750e['CLOSE_ROOM'],'data':_0x2489e1}),this['_permissionService'][_0xf3634c(0x1c0)](new _0x44a4a2[(_0xf3634c(0x377))](_0x36024f)['id'],!0x1),this[_0xf3634c(0x181)][_0xf3634c(0x1b0)](_0x36024f);});};_0x1909d3[_0x2551b2(0x251)](this[_0x2551b2(0x3cf)][_0x2551b2(0x418)](_0x112078[_0x2551b2(0x164)]['UNIVER_SHEET']),this[_0x2551b2(0x3cf)][_0x2551b2(0x418)](_0x112078[_0x2551b2(0x164)]['UNIVER_DOC']))['pipe'](_0x57d774[_0x2551b2(0xb5)](_0x2ffd73=>_0x2ffd73['getUnitId']()),_0x57d774['filter'](_0x965efd=>!_0x112078['isInternalEditorID'](_0x965efd)),_0x57d774['takeUntil'](this[_0x2551b2(0x98)]))[_0x2551b2(0x153)](_0xe03acf=>{_0x621c66(_0xe03acf);});}['_initUnitPermissionChange'](){var _0x2d45d9=_0x46a189;const _0x3a2b71=async _0x36ae60=>{var _0x3e97fd=_0x532f;const _0x4b78fa=await this[_0x3e97fd(0x181)][_0x3e97fd(0x397)](_0x36ae60),_0x17ecbc=this['_injector']['get'](_0x44a4a2[_0x3e97fd(0x2b3)]);_0x4b78fa['event$'][_0x3e97fd(0x41a)](_0x57d774['filter'](_0x1f324c=>_0x1f324c[_0x3e97fd(0x3df)]===_0x4f9634[_0x3e97fd(0x3f4)]['UPDATE_PERMISSION_OBJ']),_0x57d774['takeUntil'](this['dispose$']))['subscribe'](_0x4bd593=>{var _0x15eb99=_0x3e97fd;const _0x45fcba=_0x4bd593,{objectId:_0x313c9e}=_0x45fcba[_0x15eb99(0x3f5)];_0x313c9e===_0x36ae60?_0x17ecbc[_0x15eb99(0x3bc)](_0x36ae60):_0x17ecbc['refreshPermission'](_0x36ae60,_0x313c9e);});};_0x1909d3[_0x2d45d9(0x251)](this[_0x2d45d9(0x3cf)]['getTypeOfUnitAdded$'](_0x112078[_0x2d45d9(0x164)][_0x2d45d9(0x18b)]))[_0x2d45d9(0x41a)](_0x57d774[_0x2d45d9(0xb5)](_0x1a2176=>_0x1a2176[_0x2d45d9(0x9c)]()),_0x57d774[_0x2d45d9(0x3b6)](_0x255c19=>!_0x112078[_0x2d45d9(0x353)](_0x255c19)),_0x57d774[_0x2d45d9(0x1ea)](this[_0x2d45d9(0x98)]))[_0x2d45d9(0x153)](_0x48fbae=>{_0x3a2b71(_0x48fbae);});}};_0x5c1315=_0x59b95e([_0x3888a8(0x0,_0x112078[_0x46a189(0x11e)](_0x112078['Injector'])),_0x3888a8(0x1,_0x112078[_0x46a189(0x93)]),_0x3888a8(0x2,_0x112078[_0x46a189(0x2e4)]),_0x3888a8(0x3,_0x112078[_0x46a189(0x11e)](_0x247d18[_0x46a189(0x3a4)])),_0x3888a8(0x4,_0x112078['Inject'](_0x12b7ba))],_0x5c1315);var _0x43e49d=Object[_0x46a189(0x1d1)],_0x2704e5=(_0x2f078f,_0x2ec0ac,_0x4c93e3,_0x3db6b8)=>{var _0x3b3b41=_0x46a189;for(var _0x24c6a3=_0x3db6b8>0x1?void 0x0:_0x3db6b8?_0x43e49d(_0x2ec0ac,_0x4c93e3):_0x2ec0ac,_0x45564d=_0x2f078f[_0x3b3b41(0x86)]-0x1,_0x5b4e87;_0x45564d>=0x0;_0x45564d--)(_0x5b4e87=_0x2f078f[_0x45564d])&&(_0x24c6a3=_0x5b4e87(_0x24c6a3)||_0x24c6a3);return _0x24c6a3;},_0x2ad91f=(_0x5793b0,_0x170b44)=>(_0x8431c5,_0x229979)=>_0x170b44(_0x8431c5,_0x229979,_0x5793b0);_0x247d18[_0x46a189(0x8f)]=class{constructor(_0x1dddf,_0x31d663){var _0x4dd42e=_0x46a189;this[_0x4dd42e(0xad)]=_0x1dddf,this[_0x4dd42e(0x320)]=_0x31d663;}async[_0x46a189(0x2b2)](_0x3a686b,_0x5edd00){var _0x5c8e04=_0x46a189,_0x5cdd22;const {unitID:_0x422ef5,type:_0x9e6201,revision:_0x45f661=0x0}=_0x5edd00,_0x8ea1a1=this[_0x5c8e04(0x416)]()+'/'+_0x9e6201+'/unit/'+_0x422ef5+_0x5c8e04(0x205)+_0x45f661,_0x41c4c3=(await this['_httpService'][_0x5c8e04(0x3aa)](_0x8ea1a1))[_0x5c8e04(0x2cf)],_0x2a5ed3=(_0x5cdd22=_0x41c4c3['snapshot'])==null?void 0x0:_0x5cdd22[_0x5c8e04(0x2ab)];if(_0x2a5ed3){const _0x1dccbb=_0x2a5ed3==null?void 0x0:_0x2a5ed3['originalMeta'],_0x5382eb=_0x4f9634[_0x5c8e04(0x2b8)]['encode'](_0x4f9634[_0x5c8e04(0x3e0)](_0x1dccbb));_0x2a5ed3['originalMeta']=_0x5382eb,Object[_0x5c8e04(0xc8)](_0x2a5ed3[_0x5c8e04(0x333)])['forEach'](([,_0x3f80f4])=>{var _0x4a82a1=_0x5c8e04;const _0x18ab00=_0x3f80f4[_0x4a82a1(0x18d)],_0x5f2b8e=_0x4f9634[_0x4a82a1(0x2b8)]['encode'](_0x4f9634[_0x4a82a1(0x3e0)](_0x18ab00));_0x3f80f4['originalMeta']=_0x5f2b8e;});}return _0x41c4c3;}async[_0x46a189(0x1a1)](_0x29c389,_0x290cc2){var _0x368914=_0x46a189;const {unitID:_0x568fa0,type:_0x405d61,blockID:_0x310d34}=_0x290cc2,_0x59cd40=this['_getAPIPrefix']()+'/'+_0x405d61+'/unit/'+_0x568fa0+_0x368914(0x1de)+_0x310d34;return(await this[_0x368914(0x320)][_0x368914(0x3aa)](_0x59cd40))[_0x368914(0x2cf)];}async[_0x46a189(0x12c)](_0x30cce2,_0x33a057){var _0x17b2e4=_0x46a189;const {unitID:_0x312386,type:_0x400b0d,blockID:_0x1cd8c1}=_0x33a057,_0xc98ede=this[_0x17b2e4(0x1a8)]()+_0x17b2e4(0x1de)+_0x400b0d+_0x17b2e4(0x3fb)+_0x312386+'/block/'+_0x1cd8c1;return(await this['_httpService']['get'](_0xc98ede))[_0x17b2e4(0x2cf)];}async[_0x46a189(0x2fe)](_0x111835,_0x3fd6e4){var _0xabf185=_0x46a189;const {unitID:_0x40d28e,type:_0x44e35f,from:_0x49704a,to:_0xc26ef9}=_0x3fd6e4,_0x16d5a7=this[_0xabf185(0x1a8)]()+'/'+_0x44e35f+_0xabf185(0x3fb)+_0x40d28e+'/fetchmissing?from='+_0x49704a+'&to='+_0xc26ef9;return(await this[_0xabf185(0x320)]['get'](_0x16d5a7))[_0xabf185(0x2cf)];}[_0x46a189(0x416)](){var _0x3a827e=_0x46a189,_0x27d095;return(_0x27d095=this[_0x3a827e(0xad)][_0x3a827e(0x2a2)](_0x30d808))!=null?_0x27d095:this[_0x3a827e(0x1a8)]();}[_0x46a189(0x1a8)](){var _0x5c844f=_0x46a189,_0x4f09f3;const _0x4df906=this[_0x5c844f(0xad)][_0x5c844f(0x2a2)](_0x4f0c7a);return(_0x4f09f3=_0x4df906==null?void 0x0:_0x4df906[_0x5c844f(0x29c)])!=null?_0x4f09f3:_0x22f59e;}async[_0x46a189(0x283)](_0x19c3ec,_0xd24f3b){var _0x351434=_0x46a189;const _0x5cd2e5=_0x351434(0xe2)+_0xd24f3b[_0x351434(0xfd)]+_0x351434(0x3fb)+_0xd24f3b[_0x351434(0x194)]+'/resources';return(await this[_0x351434(0x320)][_0x351434(0x3aa)](_0x5cd2e5,{'params':{'resourceId':JSON[_0x351434(0x27f)](_0xd24f3b[_0x351434(0x3f6)])}}))[_0x351434(0x2cf)];}[_0x46a189(0x8e)](){var _0x861d21=_0x46a189;throw new Error(_0x861d21(0x187));}['updateSnapshot'](){var _0x1fbd43=_0x46a189;throw new Error(_0x1fbd43(0x187));}[_0x46a189(0x3d8)](){var _0x47dd20=_0x46a189;throw new Error(_0x47dd20(0x187));}[_0x46a189(0xf1)](){var _0x18e87b=_0x46a189;throw new Error(_0x18e87b(0x187));}[_0x46a189(0x423)](){var _0x171be6=_0x46a189;throw new Error(_0x171be6(0x187));}[_0x46a189(0x378)](){var _0x48cfa5=_0x46a189;throw new Error(_0x48cfa5(0x187));}},_0x247d18[_0x46a189(0x8f)]=_0x2704e5([_0x2ad91f(0x0,_0x112078[_0x46a189(0x22f)]),_0x2ad91f(0x1,_0x112078[_0x46a189(0x11e)](_0x1b0b18[_0x46a189(0x2e7)]))],_0x247d18['SnapshotServerOverHTTPService']);var _0xf24acb=Object[_0x46a189(0x1d1)],_0x12787b=(_0x2e1fb8,_0x28ad49,_0x13d5b8,_0xae6a22)=>{var _0x4f8585=_0x46a189;for(var _0x16e704=_0xae6a22>0x1?void 0x0:_0xae6a22?_0xf24acb(_0x28ad49,_0x13d5b8):_0x28ad49,_0x537790=_0x2e1fb8[_0x4f8585(0x86)]-0x1,_0x160bed;_0x537790>=0x0;_0x537790--)(_0x160bed=_0x2e1fb8[_0x537790])&&(_0x16e704=_0x160bed(_0x16e704)||_0x16e704);return _0x16e704;},_0x1f9d63=(_0x4db8ca,_0x152f0b)=>(_0x5b3de7,_0x5eab82)=>_0x152f0b(_0x5b3de7,_0x5eab82,_0x4db8ca);_0x247d18[_0x46a189(0x3cb)]=class extends _0x112078[_0x46a189(0xea)]{constructor(_0x5e6f1a,_0x4e6175,_0x305dc3,_0xce5c31,_0x13753b){var _0x5d1407=_0x46a189;super(_0x5e6f1a,_0x4e6175,_0x305dc3),this[_0x5d1407(0xb2)]=_0xce5c31,this[_0x5d1407(0x235)]=_0x13753b;}['transformUndoRedo'](_0x139939,_0x250099){var _0x2b2abb=_0x46a189;const _0x533579=this['_getUndoStack'](_0x139939);if(_0x533579)try{const _0x2c30be=this[_0x2b2abb(0x405)](_0x533579,_0x250099);this[_0x2b2abb(0x20b)](_0x139939,_0x2c30be);}catch(_0x4cbaec){this['_logService']['error'](_0x2b2abb(0x1d8),_0x4cbaec),this['_clearUndo'](_0x139939);}const _0x5d2eee=this['_getRedoStack'](_0x139939);if(_0x5d2eee)try{const _0x361064=this[_0x2b2abb(0x405)](_0x5d2eee,_0x250099);this[_0x2b2abb(0x150)](_0x139939,_0x361064);}catch(_0x3a8250){this[_0x2b2abb(0x235)][_0x2b2abb(0x157)](_0x3a8250),this['_clearRedo'](_0x139939);}}[_0x46a189(0x2bf)](_0x5c7778){var _0x2193a9=_0x46a189;const _0x3436ad=this['_getUndoStack'](_0x5c7778);_0x3436ad&&(_0x3436ad[_0x2193a9(0x86)]=0x0,this[_0x2193a9(0xc5)]());}[_0x46a189(0x1d6)](_0xd4f3a2){var _0x380e2f=_0x46a189;const _0x118d92=this['_getRedoStack'](_0xd4f3a2);_0x118d92&&(_0x118d92[_0x380e2f(0x86)]=0x0,this[_0x380e2f(0xc5)]());}['_substituteUndoStack'](_0x5c997b,_0x15164e){var _0x1dde0d=_0x46a189;this[_0x1dde0d(0x1cf)][_0x1dde0d(0xf3)](_0x5c997b,_0x15164e),this[_0x1dde0d(0xc5)]();}[_0x46a189(0x150)](_0x46881d,_0x335d0e){var _0xac4f16=_0x46a189;this[_0xac4f16(0x3e5)][_0xac4f16(0xf3)](_0x46881d,_0x335d0e),this[_0xac4f16(0xc5)]();}[_0x46a189(0x405)](_0x7ed71,_0x84f137){var _0x3c11a0=_0x46a189;const _0xd7f05d=[];let _0x3f8252=_0x84f137,_0x1f9b0d=_0x84f137;for(let _0x14e657=_0x7ed71[_0x3c11a0(0x86)]-0x1;_0x14e657>=0x0;_0x14e657--){const {unitID:_0x1e0713,undoMutations:_0xd0cf3f,redoMutations:_0x4319db}=_0x7ed71[_0x14e657],_0x17e65=this[_0x3c11a0(0xb2)][_0x3c11a0(0x212)](_0x3f8252,_0xd0cf3f),_0x5d76a1=this[_0x3c11a0(0xb2)][_0x3c11a0(0x212)](_0x1f9b0d,_0x4319db);if(_0x4f9634[_0x3c11a0(0x1d2)](_0x17e65)||_0x4f9634['isTransformMutationsWithChangesetFailure'](_0x5d76a1)){this[_0x3c11a0(0x235)]['error'](_0x3c11a0(0x1d8),_0x3c11a0(0x264),_0x17e65,_0x5d76a1);break;}_0x3f8252=_0x17e65['c1Prime'],_0x1f9b0d=_0x5d76a1[_0x3c11a0(0x23f)],_0xd7f05d[_0x3c11a0(0x139)]({'unitID':_0x1e0713,'undoMutations':_0x17e65[_0x3c11a0(0x1d9)],'redoMutations':_0x5d76a1[_0x3c11a0(0x1d9)]});}return _0xd7f05d[_0x3c11a0(0x292)]();}},_0x247d18[_0x46a189(0x3cb)]=_0x12787b([_0x1f9d63(0x0,_0x112078[_0x46a189(0x93)]),_0x1f9d63(0x1,_0x112078['ICommandService']),_0x1f9d63(0x2,_0x112078[_0x46a189(0x2fb)]),_0x1f9d63(0x3,_0x4f9634[_0x46a189(0xbe)]),_0x1f9d63(0x4,_0x112078['ILogService'])],_0x247d18['CollaborativeUndoRedoService']);var _0x42659b=Object[_0x46a189(0x122)],_0x3685fb=Object[_0x46a189(0x1d1)],_0x411738=(_0x2df5c4,_0x23509c,_0x5922a9)=>_0x23509c in _0x2df5c4?_0x42659b(_0x2df5c4,_0x23509c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5922a9}):_0x2df5c4[_0x23509c]=_0x5922a9,_0x6c4e83=(_0x182600,_0x560f58,_0x383e7b,_0x185e53)=>{var _0x251a36=_0x46a189;for(var _0x3b6354=_0x185e53>0x1?void 0x0:_0x185e53?_0x3685fb(_0x560f58,_0x383e7b):_0x560f58,_0xff5734=_0x182600[_0x251a36(0x86)]-0x1,_0x22b89b;_0xff5734>=0x0;_0xff5734--)(_0x22b89b=_0x182600[_0xff5734])&&(_0x3b6354=_0x22b89b(_0x3b6354)||_0x3b6354);return _0x3b6354;},_0x1f1c7a=(_0x19b247,_0x38310e)=>(_0x529bfc,_0x3ff81d)=>_0x38310e(_0x529bfc,_0x3ff81d,_0x19b247),_0x2bc8e8=(_0x24c9e2,_0x8d253e,_0x3f4296)=>_0x411738(_0x24c9e2,_0x8d253e+'',_0x3f4296);const _0x479ff3=_0x46a189(0x393);_0x247d18[_0x46a189(0x311)]=class extends _0x112078[_0x46a189(0x15a)]{constructor(_0x3bcb6e,_0x3512ec,_0x29d113,_0x5a9281){var _0x3b862f=_0x46a189;super(),_0x25aa6e(this,_0x3b862f(0x34a)),(this[_0x3b862f(0x235)]=_0x3512ec,this[_0x3b862f(0x3e1)]=_0x29d113,this[_0x3b862f(0xad)]=_0x5a9281);const {..._0x2702c5}=_0x112078['merge']({},_0x13cd5c,_0x3bcb6e);if(!_0x2702c5[_0x3b862f(0x1ef)])throw new Error(_0x3b862f(0x1c7));this[_0x3b862f(0x34a)]=_0x2702c5,this[_0x3b862f(0xad)][_0x3b862f(0x155)](_0x4f0c7a,_0x2702c5);}['onStarting'](){var _0x152c0a=_0x46a189;this['_registerDependencies'](),this[_0x152c0a(0x20d)]();}[_0x46a189(0x1c6)](){var _0x200bca=_0x46a189,_0x12bc4e,_0x43b454;this['_injector'][_0x200bca(0x10b)](_0x112078[_0x200bca(0x197)])&&this[_0x200bca(0x235)][_0x200bca(0x157)](_0x200bca(0x38b),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2d9a72=_0x112078['mergeOverrideWithDependencies']([[_0x112078[_0x200bca(0x197)],{'useClass':_0x247d18[_0x200bca(0x3cb)]}],[_0x247d18[_0x200bca(0x3a4)]],[_0x247d18[_0x200bca(0x39f)]],[_0x247d18[_0x200bca(0xc4)]],[_0x327685],[_0x2162c9],[_0x4b3801],[_0x5c1315],[_0x12b7ba],[_0x247d18[_0x200bca(0x19c)]],[_0x5501e9,{'useClass':this[_0x200bca(0x34a)]['socketService']}],[_0x4f9634[_0x200bca(0x119)],{'useClass':_0x247d18['SnapshotServerOverHTTPService']}],[_0x112078[_0x200bca(0x33d)],{'useClass':_0x247d18[_0x200bca(0x404)]}],[_0x4b9ee5[_0x200bca(0x173)],{'useClass':_0x247d18[_0x200bca(0xa5)]}],[_0x112078[_0x200bca(0x1ad)],{'useClass':_0x247d18['MentionIoHttpService']}],[_0x247d18[_0x200bca(0x408)]],[_0x2f6ee9]],(_0x12bc4e=this[_0x200bca(0x34a)])==null?void 0x0:_0x12bc4e[_0x200bca(0x417)]);if(!((_0x43b454=this[_0x200bca(0x34a)])!=null&&_0x43b454[_0x200bca(0x158)])){const _0x3acf1f=_0x2d9a72[_0x200bca(0x1b1)](([_0x246669])=>_0x246669===_0x51ca0c);_0x3acf1f!==-0x1&&_0x2d9a72[_0x200bca(0x2ac)](_0x3acf1f,0x1);}_0x112078[_0x200bca(0x137)](this['_injector'],_0x2d9a72);}[_0x46a189(0x20d)](){var _0x2d377d=_0x46a189,_0x3bb22,_0x474389,_0xf74353;this['_injector'][_0x2d377d(0x3aa)](_0x1b0b18[_0x2d377d(0x2e7)])[_0x2d377d(0x3b8)]({'priority':0x14,'interceptor':_0x1b0b18[_0x2d377d(0x2db)]({'maxParallel':0x6})}),(_0x3bb22=this[_0x2d377d(0x34a)])!=null&&_0x3bb22[_0x2d377d(0x182)]||(_0x474389=this['_injector'][_0x2d377d(0x3aa)](_0x1257cc,_0x112078[_0x2d377d(0xef)][_0x2d377d(0x9b)]))==null||_0x474389[_0x2d377d(0x250)](),(_0xf74353=this['_config'])!=null&&_0xf74353[_0x2d377d(0x2ed)]&&_0x112078[_0x2d377d(0xe1)](this[_0x2d377d(0x3e1)],[[_0x327685]]),_0x112078['touchDependencies'](this['_injector'],[[_0x2162c9],[_0x247d18[_0x2d377d(0x408)]],[_0x5c1315]]);}},_0x2bc8e8(_0x247d18[_0x46a189(0x311)],_0x46a189(0x210),_0x479ff3),_0x247d18['UniverCollaborationClientPlugin']=_0x6c4e83([_0x112078[_0x46a189(0xee)](_0x4f9634[_0x46a189(0x105)],_0x1b0b18[_0x46a189(0xeb)]),_0x1f1c7a(0x1,_0x112078[_0x46a189(0xce)]),_0x1f1c7a(0x2,_0x112078[_0x46a189(0x11e)](_0x112078[_0x46a189(0x3f7)])),_0x1f1c7a(0x3,_0x112078['IConfigService'])],_0x247d18['UniverCollaborationClientPlugin']),_0x247d18[_0x46a189(0x143)]=_0x4f0c7a,_0x247d18[_0x46a189(0x388)]=_0x41e9c8,_0x247d18[_0x46a189(0x3f8)]=_0xee750e,_0x247d18[_0x46a189(0x354)]=_0x12b7ba,_0x247d18[_0x46a189(0x222)]=_0x4b3801,_0x247d18[_0x46a189(0xbf)]=_0x1cfacc,_0x247d18[_0x46a189(0x329)]=_0x3f6e73,_0x247d18[_0x46a189(0x1e3)]=_0x35d64c,_0x247d18[_0x46a189(0x40e)]=_0x3dbfa6,_0x247d18['HEARTBEAT_TIMEOUT_KEY']=_0x375a07,_0x247d18[_0x46a189(0x3d4)]=_0x5501e9,_0x247d18[_0x46a189(0x1e6)]=_0x1257cc,_0x247d18[_0x46a189(0x321)]=_0x4284be,_0x247d18['ISingleActiveUnitService']=_0x51ca0c,_0x247d18['LOCAL_CACHE_INTERVAL']=0x3e8,_0x247d18['LOCAL_CACHE_INTERVAL_KEY']=_0x2ccf29,_0x247d18[_0x46a189(0x233)]=_0x475e7c,_0x247d18[_0x46a189(0x11c)]=_0x302883,_0x247d18[_0x46a189(0x24a)]=_0x4f1434,_0x247d18[_0x46a189(0x1ab)]=_0xaf572f,_0x247d18[_0x46a189(0x3d5)]=_0x3a30da,_0x247d18[_0x46a189(0x15c)]=_0x37fe5f,_0x247d18[_0x46a189(0xf6)]=_0x5da2ca,Object['defineProperty'](_0x247d18,Symbol['toStringTag'],{'value':_0x46a189(0x24d)});}));
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0xcf94(_0x35f672,_0x2a9725){const _0xe6d781=_0xe6d7();return _0xcf94=function(_0xcf943,_0x6da399){_0xcf943=_0xcf943-0x1a6;let _0x59303c=_0xe6d781[_0xcf943];return _0x59303c;},_0xcf94(_0x35f672,_0x2a9725);}(function(_0x26e7d1,_0x2c5d0e){const _0x124fbc=_0xcf94,_0x5b330e=_0x26e7d1();while(!![]){try{const _0x3bbf48=parseInt(_0x124fbc(0x1c7))/0x1+-parseInt(_0x124fbc(0x1e7))/0x2*(-parseInt(_0x124fbc(0x1d9))/0x3)+parseInt(_0x124fbc(0x1ab))/0x4+parseInt(_0x124fbc(0x1d5))/0x5*(parseInt(_0x124fbc(0x1e4))/0x6)+parseInt(_0x124fbc(0x1ca))/0x7+-parseInt(_0x124fbc(0x1a7))/0x8*(-parseInt(_0x124fbc(0x1be))/0x9)+-parseInt(_0x124fbc(0x1b2))/0xa;if(_0x3bbf48===_0x2c5d0e)break;else _0x5b330e['push'](_0x5b330e['shift']());}catch(_0x24b128){_0x5b330e['push'](_0x5b330e['shift']());}}}(_0xe6d7,0xcb5d1),function(_0x51653f,_0x1c2760){const _0x427cfa=_0xcf94;typeof exports==_0x427cfa(0x1c2)&&typeof module<'u'?_0x1c2760(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x427cfa(0x1b8)&&define['amd']?define([_0x427cfa(0x1c9),_0x427cfa(0x1bc),_0x427cfa(0x1b9),'@univerjs-pro/collaboration',_0x427cfa(0x1d2),_0x427cfa(0x1c0)],_0x1c2760):(_0x51653f=typeof globalThis<'u'?globalThis:_0x51653f||self,_0x1c2760(_0x51653f[_0x427cfa(0x1b1)]={},_0x51653f[_0x427cfa(0x1af)],_0x51653f[_0x427cfa(0x1c8)],_0x51653f[_0x427cfa(0x1cd)],_0x51653f['UniverCore'],_0x51653f['rxjs']));}(this,function(_0xec28d,_0x1bde76,_0xa4a1d7,_0x468100,_0x57f053,_0x4022ea){'use strict';const _0x229c94=_0xcf94;class _0x411c21 extends _0xa4a1d7[_0x229c94(0x1ce)]{get['CollaborationStatus'](){return _0x1bde76['CollaborationStatus'];}}_0xa4a1d7[_0x229c94(0x1ce)][_0x229c94(0x1d6)](_0x411c21);var _0x216c51=Object[_0x229c94(0x1aa)],_0x31b8ab=(_0x457774,_0x5a0797,_0x2f463a,_0x51f1f0)=>{const _0x4e1471=_0x229c94;for(var _0x5d9086=_0x51f1f0>0x1?void 0x0:_0x51f1f0?_0x216c51(_0x5a0797,_0x2f463a):_0x5a0797,_0x2e933a=_0x457774[_0x4e1471(0x1c4)]-0x1,_0x29d88c;_0x2e933a>=0x0;_0x2e933a--)(_0x29d88c=_0x457774[_0x2e933a])&&(_0x5d9086=_0x29d88c(_0x5d9086)||_0x5d9086);return _0x5d9086;},_0x570e92=(_0x5eeb16,_0x5721c5)=>(_0x174e32,_0x2d9764)=>_0x5721c5(_0x174e32,_0x2d9764,_0x5eeb16);_0xec28d[_0x229c94(0x1d7)]=class extends _0xa4a1d7[_0x229c94(0x1c3)]{constructor(_0x450902,_0xf76435,_0x48a5dd,_0x2d05a7,_0x1d225c){const _0x401c45=_0x229c94;super(),this[_0x401c45(0x1e2)]=_0x450902,this['_injector']=_0xf76435,this['_univerInstanceService']=_0x48a5dd,this[_0x401c45(0x1e5)]=_0x2d05a7,this[_0x401c45(0x1da)]=_0x1d225c;}async[_0x229c94(0x1d3)](){const _0x25baa1=_0x229c94;return this[_0x25baa1(0x1cc)]();}async[_0x229c94(0x1cc)](){const _0x473f89=_0x229c94;throw new Error(_0x473f89(0x1d0));}async[_0x229c94(0x1b5)](_0x17d1ad){const _0x3d843e=_0x229c94;return this[_0x3d843e(0x1b3)](_0x17d1ad);}async['loadSheetAsync'](_0x26556a,_0xd808f){const _0x2dea81=_0x229c94;return await this[_0x2dea81(0x1e5)][_0x2dea81(0x1b5)](_0x26556a,0x0,_0xd808f)?(await this['_collaborationController']['readyForCollab'](_0x26556a),this['_handler'][_0x2dea81(0x1c6)](_0x26556a)):null;}[_0x229c94(0x1b6)](_0x5c47dc,_0x1df1f6){const _0x4cc89e=_0x229c94,_0x150533=this['_injector']['get'](_0x1bde76[_0x4cc89e(0x1a8)])['waitForRoom$'](_0x5c47dc)[_0x4cc89e(0x1a9)](_0x4022ea[_0x4cc89e(0x1ba)](_0x31520f=>_0x31520f[_0x4cc89e(0x1e6)]))[_0x4cc89e(0x1cb)](_0x20983a=>_0x1df1f6(Array[_0x4cc89e(0x1ad)](_0x20983a['values']())));return _0x57f053[_0x4cc89e(0x1cf)](_0x150533);}['getCollaborationStatus'](){const _0x3b1710=_0x229c94,_0x5ddfc2=this[_0x3b1710(0x1dc)][_0x3b1710(0x1db)]();if(!_0x5ddfc2)return _0x1bde76[_0x3b1710(0x1b7)][_0x3b1710(0x1df)];const _0x4a4b2a=this[_0x3b1710(0x1da)][_0x3b1710(0x1a6)](_0x5ddfc2[_0x3b1710(0x1ac)]());return _0x4a4b2a?_0x4a4b2a[_0x3b1710(0x1d8)][_0x3b1710(0x1e0)]:_0x1bde76['CollaborationStatus'][_0x3b1710(0x1df)];}},_0xec28d[_0x229c94(0x1d7)]=_0x31b8ab([_0x570e92(0x1,_0x57f053[_0x229c94(0x1b0)](_0x57f053[_0x229c94(0x1d1)])),_0x570e92(0x2,_0x57f053[_0x229c94(0x1e1)]),_0x570e92(0x3,_0x57f053['Inject'](_0x468100['SnapshotService'])),_0x570e92(0x4,_0x57f053[_0x229c94(0x1b0)](_0x1bde76[_0x229c94(0x1b4)]))],_0xec28d['FCollaboration']);class _0x336663 extends _0xa4a1d7[_0x229c94(0x1c5)]{[_0x229c94(0x1de)](){const _0x12ed7e=_0x229c94;return this[_0x12ed7e(0x1c1)][_0x12ed7e(0x1dd)](_0xec28d[_0x12ed7e(0x1d7)],{'getUniverSheet':_0x5c33da=>this[_0x12ed7e(0x1c6)](_0x5c33da)});}[_0x229c94(0x1bd)](_0x753082,_0x56121c,_0x24b299){const _0x2e31fb=_0x229c94;return this[_0x2e31fb(0x1c1)][_0x2e31fb(0x1bf)](_0x1bde76[_0x2e31fb(0x1e3)])['loadUnit'](_0x753082,_0x56121c,_0x24b299);}[_0x229c94(0x1bb)](_0x20bc96,_0x47ebbb,_0x236d91){const _0x1d0aa3=_0x229c94;return this[_0x1d0aa3(0x1c1)][_0x1d0aa3(0x1bf)](_0x1bde76['DataLoaderService'])[_0x1d0aa3(0x1d4)](_0x20bc96,_0x47ebbb,_0x236d91);}}_0xa4a1d7[_0x229c94(0x1c5)][_0x229c94(0x1d6)](_0x336663),Object[_0x229c94(0x1ae)](_0xec28d,Symbol['toStringTag'],{'value':'Module'});}));function _0xe6d7(){const _0x102098=['pipe','getOwnPropertyDescriptor','3852996yJTCqT','getUnitId','from','defineProperty','UniverProCollaborationClient','Inject','UniverProCollaborationClientFacade','49191000zHzpMQ','loadSheetAsync','CollaborationController','loadSheet','subscribeCollaborators','CollaborationStatus','function','@univerjs/core/facade','switchMap','loadServerUnitOfRevision','@univerjs-pro/collaboration-client','loadServerUnit','18QfzlsA','get','rxjs','_injector','object','FBase','length','FUniver','getUniverSheet','766333gtvuFG','UniverCoreFacade','exports','6086542mKpovb','subscribe','loadActiveSheetAsync','UniverProCollaboration','FEnum','toDisposable','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','Injector','@univerjs/core','loadActiveSheet','loadUnitOfRevision','138070cfPDMA','extend','FCollaboration','state','4403859scXjvK','_collaborationController','getFocusedUnit','_univerInstanceService','createInstance','getCollaboration','NOT_COLLAB','status','IUniverInstanceService','_handler','DataLoaderService','330WniDhm','_snapshotService','members$','2pLSskr','getCollabEntity','665064Ihahyn','MemberService'];_0xe6d7=function(){return _0x102098;};return _0xe6d7();}
5
+ (function(_0x47e803,_0x3891e4){const _0x24d4a4=_0x306d,_0x28b27d=_0x47e803();while(!![]){try{const _0x5daf3b=-parseInt(_0x24d4a4(0x1b8))/0x1+-parseInt(_0x24d4a4(0x1b7))/0x2+parseInt(_0x24d4a4(0x1b0))/0x3+parseInt(_0x24d4a4(0x1ae))/0x4*(parseInt(_0x24d4a4(0x193))/0x5)+-parseInt(_0x24d4a4(0x197))/0x6*(-parseInt(_0x24d4a4(0x1c4))/0x7)+parseInt(_0x24d4a4(0x189))/0x8+-parseInt(_0x24d4a4(0x1bf))/0x9*(parseInt(_0x24d4a4(0x19c))/0xa);if(_0x5daf3b===_0x3891e4)break;else _0x28b27d['push'](_0x28b27d['shift']());}catch(_0x48b4f4){_0x28b27d['push'](_0x28b27d['shift']());}}}(_0x5c09,0x74dba),function(_0x364bfc,_0x574397){const _0x4160f3=_0x306d;typeof exports==_0x4160f3(0x1b4)&&typeof module<'u'?_0x574397(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x4160f3(0x1c3)&&define[_0x4160f3(0x1c6)]?define([_0x4160f3(0x1ac),_0x4160f3(0x1ab),_0x4160f3(0x195),_0x4160f3(0x1bc),'@univerjs/core',_0x4160f3(0x191)],_0x574397):(_0x364bfc=typeof globalThis<'u'?globalThis:_0x364bfc||self,_0x574397(_0x364bfc['UniverProCollaborationClientFacade']={},_0x364bfc[_0x4160f3(0x1b2)],_0x364bfc[_0x4160f3(0x1a6)],_0x364bfc['UniverProCollaboration'],_0x364bfc['UniverCore'],_0x364bfc['rxjs']));}(this,function(_0x54d466,_0x3fc75c,_0x504b79,_0x221c97,_0xbdae00,_0x3983b8){'use strict';const _0x79b42d=_0x306d;class _0x227e82 extends _0x504b79['FEnum']{get[_0x79b42d(0x1bb)](){const _0xb990c1=_0x79b42d;return _0x3fc75c[_0xb990c1(0x1bb)];}}_0x504b79[_0x79b42d(0x187)][_0x79b42d(0x1ad)](_0x227e82);var _0x23c06c=Object[_0x79b42d(0x190)],_0x5bf388=(_0x21bfe8,_0x4e05dc,_0x2e68a9,_0x187435)=>{for(var _0x5478e4=_0x187435>0x1?void 0x0:_0x187435?_0x23c06c(_0x4e05dc,_0x2e68a9):_0x4e05dc,_0xa8507=_0x21bfe8['length']-0x1,_0xfdd78f;_0xa8507>=0x0;_0xa8507--)(_0xfdd78f=_0x21bfe8[_0xa8507])&&(_0x5478e4=_0xfdd78f(_0x5478e4)||_0x5478e4);return _0x5478e4;},_0x551a62=(_0x445399,_0x9f386f)=>(_0x40ec69,_0x42c023)=>_0x9f386f(_0x40ec69,_0x42c023,_0x445399);_0x54d466['FCollaboration']=class extends _0x504b79[_0x79b42d(0x1b1)]{constructor(_0x337d79,_0x1fca0c,_0x43bfe3,_0x27f3ac,_0x26aa5d){const _0x1a9948=_0x79b42d;super(),this[_0x1a9948(0x1b5)]=_0x337d79,this[_0x1a9948(0x198)]=_0x1fca0c,this[_0x1a9948(0x1a1)]=_0x43bfe3,this[_0x1a9948(0x1aa)]=_0x27f3ac,this['_collaborationController']=_0x26aa5d;}async[_0x79b42d(0x19e)](){return this['loadActiveSheetAsync']();}async[_0x79b42d(0x1c0)](){const _0x45c2c3=_0x79b42d;throw new Error(_0x45c2c3(0x1a4));}async[_0x79b42d(0x1a7)](_0x190f7b){const _0x15b8f4=_0x79b42d;return this[_0x15b8f4(0x1a9)](_0x190f7b);}async[_0x79b42d(0x1a9)](_0x20dd26,_0x3ce3f7){const _0x443b3f=_0x79b42d;return await this[_0x443b3f(0x1aa)]['loadSheet'](_0x20dd26,0x0,_0x3ce3f7)?(await this[_0x443b3f(0x18a)][_0x443b3f(0x18f)](_0x20dd26),this[_0x443b3f(0x1b5)][_0x443b3f(0x1a0)](_0x20dd26)):null;}[_0x79b42d(0x1c2)](_0x3271f3,_0x387f67){const _0x43859f=_0x79b42d,_0x410c06=this['_injector'][_0x43859f(0x1af)](_0x3fc75c[_0x43859f(0x19f)])['waitForRoom$'](_0x3271f3)[_0x43859f(0x19d)](_0x3983b8['switchMap'](_0x3569a8=>_0x3569a8[_0x43859f(0x1ba)]))[_0x43859f(0x1a5)](_0x2f5e7d=>_0x387f67(Array[_0x43859f(0x1bd)](_0x2f5e7d[_0x43859f(0x1be)]())));return _0xbdae00['toDisposable'](_0x410c06);}['getCollaborationStatus'](){const _0x25bc09=_0x79b42d,_0x136b80=this['_univerInstanceService'][_0x25bc09(0x1c5)]();if(!_0x136b80)return _0x3fc75c[_0x25bc09(0x1bb)]['NOT_COLLAB'];const _0x4ab8d6=this['_collaborationController'][_0x25bc09(0x1c1)](_0x136b80[_0x25bc09(0x1a2)]());return _0x4ab8d6?_0x4ab8d6[_0x25bc09(0x18e)]['status']:_0x3fc75c[_0x25bc09(0x1bb)][_0x25bc09(0x19a)];}},_0x54d466[_0x79b42d(0x1a8)]=_0x5bf388([_0x551a62(0x1,_0xbdae00[_0x79b42d(0x199)](_0xbdae00[_0x79b42d(0x188)])),_0x551a62(0x2,_0xbdae00[_0x79b42d(0x1b9)]),_0x551a62(0x3,_0xbdae00[_0x79b42d(0x199)](_0x221c97[_0x79b42d(0x19b)])),_0x551a62(0x4,_0xbdae00['Inject'](_0x3fc75c[_0x79b42d(0x1a3)]))],_0x54d466['FCollaboration']);class _0x1af5bc extends _0x504b79[_0x79b42d(0x196)]{[_0x79b42d(0x18d)](){const _0x562eb0=_0x79b42d;return this[_0x562eb0(0x198)]['createInstance'](_0x54d466[_0x562eb0(0x1a8)],{'getUniverSheet':_0x447417=>this['getUniverSheet'](_0x447417)});}[_0x79b42d(0x18c)](_0xcca85c,_0x282767,_0x1bd48a){const _0x16c78e=_0x79b42d;return this[_0x16c78e(0x198)][_0x16c78e(0x1af)](_0x3fc75c[_0x16c78e(0x18b)])[_0x16c78e(0x1b3)](_0xcca85c,_0x282767,_0x1bd48a);}[_0x79b42d(0x1b6)](_0x268222,_0x588bee,_0x1961f1){const _0x50ea55=_0x79b42d;return this[_0x50ea55(0x198)][_0x50ea55(0x1af)](_0x3fc75c[_0x50ea55(0x18b)])[_0x50ea55(0x186)](_0x268222,_0x588bee,_0x1961f1);}}_0x504b79[_0x79b42d(0x196)][_0x79b42d(0x1ad)](_0x1af5bc),Object[_0x79b42d(0x194)](_0x54d466,Symbol['toStringTag'],{'value':_0x79b42d(0x192)});}));function _0x306d(_0x18e204,_0x34efb1){const _0x5c0950=_0x5c09();return _0x306d=function(_0x306d38,_0x1d5d5c){_0x306d38=_0x306d38-0x186;let _0x2fc0de=_0x5c0950[_0x306d38];return _0x2fc0de;},_0x306d(_0x18e204,_0x34efb1);}function _0x5c09(){const _0x2012f0=['UniverCoreFacade','loadSheet','FCollaboration','loadSheetAsync','_snapshotService','@univerjs-pro/collaboration-client','exports','extend','1624392pFEyBl','get','95484CUxSsZ','FBase','UniverProCollaborationClient','loadUnit','object','_handler','loadServerUnitOfRevision','1544670VhmVKA','512971TrveXv','IUniverInstanceService','members$','CollaborationStatus','@univerjs-pro/collaboration','from','values','4041DTLSzZ','loadActiveSheetAsync','getCollabEntity','subscribeCollaborators','function','133cdqobX','getFocusedUnit','amd','loadUnitOfRevision','FEnum','Injector','4709656ZlliPx','_collaborationController','DataLoaderService','loadServerUnit','getCollaboration','state','readyForCollab','getOwnPropertyDescriptor','rxjs','Module','5dXymig','defineProperty','@univerjs/core/facade','FUniver','300756cqIuYu','_injector','Inject','NOT_COLLAB','SnapshotService','4790snuTpR','pipe','loadActiveSheet','MemberService','getUniverSheet','_univerInstanceService','getUnitId','CollaborationController','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','subscribe'];_0x5c09=function(){return _0x2012f0;};return _0x5c09();}
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x3674(){const _0x278f08=['font','_cachedData','mergeOverrideWithDependencies','range','unitId','_commandService','getConfig','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_setFormulaLimitStatus','_maxFormulaLimit','data','addHandlerCallback','children','YUUMI_URL_COL_OUT_OF_RANGE','black','application/json','SOCKET_FAILED_RETRY','origin','handleDeleteRangeMoveLeft','get','some','Inject','IUIPartsService','combineLatest','INVALID_INVITE_CODE','getCurrentSelections','handleDeleteRangeMoveUp','startRow','ENTITLE_INSUFFICIENT_QUOTA','width','_startSheetCollabCursor','_getMergeRange','_updateCollabCursors','disposeWithMe','getCoordByCell','RegularPolygon','_backgroundColor','_hover','setConfig','_checkAndWaitForCalculationPermission','href','_transformUndoRedoStack','IMessageService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','currentColor','_themeService','_showGuardMessage','assign','TOO_MANY_REQUESTS','urlChange$','getDocRanges','onRendered','_toggleOffline','UniverProCollaborationClient','_currentUsage','status$','FromArray','colorChannel1','/universer-api/license/formula/limit/status','white','reason','_scene','arc','transformIMECache','color','newValue','getSkeleton','roomMembers','rxjs/operators','_handleEvent','getOwnPropertyDescriptor','_checkCalculationAvailable','UniverDesign','HEADER_MENU','limitInfo','Error','ERROR_AGAIN','setParam','next','show','setInterval','Success','undoState','findNodePositionByCharIndex','path','LOCAL_CACHE_INTERVAL','RefRangeService','_dataLoaderService','replace','url(#on-line-icon_clip0_910_349)','85257ScLQcw','socket$','UniverRpc','getUnitId','...','disableLocalCache','disposeUnit','_entityInit$','handleMoveRange','UniverProCollaborationClientUi','_cursorShapes','join','drawWith','UniverEngineFormula','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','saveOfflineData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','isTransformMutationsWithChangesetSuccess','onPointerMove$','_handleHover','LOGIN_TOKEN_PROCESSING_FAILED','delete','UNIVER_DOC','registerRefRange','find','YUUMI_NO_CUBOID_FOR_QUESTION','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getUnit','_notificationService','ILocalCacheService','EMAIL_VERIFY_CODE_MISMATCH','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_heartbeatTimer','mask','pipe','WebBrowserSingleActiveUnitService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onCursorUpdate','APPLY_REVISION_CONFILICT','DocStateChangeManagerService','_taskIds','Optional','subscribeEvent','INVITE_CODE_HAS_BEEN_UES','then','ICommandService','Injector','exhaustSavingTask','_anchor','DocSelectionManagerService','BrowserCollaborationSocketService','unsubscribe','_ensureSubject','toDisposable','_scheduleHeartbeat','_onCursorDelete','save','defs','getViewport','/universer-api/frontend/logs','YUUMI_ALL_TABLES_IS_INVALID','_collabCursorController','executeCommand','isArray','OTHER_CLIENTS_EDITING','CLOSE_ROOM','_initUnhandledRejectionListener','removeParam','M0\x200H16V16H0z','actions','size','SetWorksheetActivateCommand','fromEvent','operators','mapTo','CollaborationEvent','clearTimeout','values','YUUMI_SUBSCRIPTION_NOT_FOUND','[Unhandled\x20Rejection]:\x20','_registerRenderDependencies','843488HkKOmC','LOGIN_FAILED','switchMap','UniverUi','AWAITING','getMemberID','_session','NodePositionConvertToRectRange','toString','ENTITLE_DUP_SUBSCRIPTION','totalFormulasToCalculate','ENTITLE_NEED_BILLING_ADDRESS','_docTransformIMECacheService','replaceDocRanges','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_colorAssignService','dispose$','object','START_CALCULATION','requireSession','onLocalMutation','univer-mr-2\x20univer-flex\x20univer-text-xl','RECT','_docSkeletonManagerService','handleInsertRangeMoveRight','fillRule','onStarting','CollaborationSocketService','getformulaLimitStatusUrl','_pollingInterval','_initEvent','_anchorDot','CollaborationController','measureText','storage','LOCAL_CACHE_INTERVAL_KEY','idSuffix','[LogService\x20Error]:\x20','body','REDEMPTION_CODE_NOT_STARTED','_collabSessionService','LICENSE_MAX_UNITS_EXCEEDED','fillText','jsx','handleIRemoveRow','_instanceService','NodePositionConvertToCursor','lineTo','currentTheme$','TEXT','entityInit$','collabStatus.fetchMiss','isEditing','selection','jiqing.500','on-line-icon','@univerjs/core','IConfigService','_updateSubUnitFromURLParams','_entities','YUUMI_AI_RUN_FAILED','_textBubble','getMember','setShapeProps','takeUntil','_draw','UNDEFINED','filter','FETCH_MISS','random','evenodd','collab-client.tooltip.reconnect','@univerjs-pro/collaboration','top','/universer-api/license/formula/limit/start','length','INVALID_ARGUMENT','subscribe','complete','collaboration-client-ui.config','eventID','_initStatusComponent','collaboration.single-unit.warning','makeDirty','getCurrentRevOfUnit','1em','tag','getColor','_cursorInfo$','isFormulaString','string','assignAColorForMemberID','_getAnchorBounding','YUUMI_UNABLE_LOAD_URL','hovered','debug','DeleteRangeMoveUpCommandId','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getRenderById','getCellPositionByOffset','collabStatus.notCollab','m2Prime','map','endRow','ENTITLE_CHAT_LIMIT_EXCEED','_imageIoService','getTypeOfUnitAdded$','set','includes','ACTIVE_UNIT_EVENT_CHANNEL','Tools','SetDocZoomRatioOperation','throttleTime','react/jsx-runtime','UnitStatus','transformMutation','none','_status$','searchParams','docStateChange$','parseInt','UniverCollaborationClientUIPlugin','_id','params','transformByState','CURRENT_STATUS_CANNOT_OPERATE','JOIN_ROOM_FAILED','code','_saveTaskMap','loadOfflineData','cursorInfo$','forwardRef','59345FmCrYi','DATA_SOURCE_TOO_LARGE','85806XGYiLX','split','_getScale','CollaborationDataLoaderController','setTimeout','_roomMembers$','roomMembers$','_docStateChangeManagerService','_eventUnsubscribe','location','ONLINE','Disposable','@univerjs/design','MOBILE_HAS_BEEN_BOUND','WECHAT_HAS_BEEN_BOUND','displayName','UNIVER_SHEET','unit','getSheetObject','debounce','2734VaCMpi','startsWith','sessionStatus$','endColumn','getItem','yellow.400','_configService','_memberService','NOT_FOUND','IURLService','IRemoteInstanceService','_monkeyPatchLogService','_getFormulaLimitStatus','REDEMPTION_CODE_FULLY_REDEEMED','SNAPSHOT_INVALID_SNAPSHOT','removeEventListener','getCurrent','cursorInfo','getCollabEntity$','transformSelections','@univerjs-pro/collaboration-client','_initCommandExecutedListener','Failed','MOBILE_VERIFY_CODE_MISMATCH','beginPath','triggerDblclick','getActiveSheet','MoveRangeCommandId','@univerjs/engine-formula','add','addEventListener','setStateCache','UniverIcon','LICENSE_DISTRO_REJECTED','green.600','_localeService','getVpScrollXYInfoByPosToVp','Rect','getLocalCacheKey','\x20at\x20','clipPath','YUUMI_RATE_OVER_LIMIT','DocSkeletonManagerService','getSheetId','REDEMPTION_INVALID_CODE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_startDocCollabCursor','MessageType','div','INVITE_CODE_ALREADY_BOUND','_hideTimer','releaseFormulaLimitUrl','_toggleOnline','maxFormulaLimit','with','dispose','_unitOnClients','ITransformService','EMAIL_HAS_BEEN_BOUND','getColorFromTheme','session.will-retry','DocCollaborationEntity','handleInsertRow','memberID','collab-rect-range-','_collaborationController','useObservable','AUTHORIZE_CODE_ILLEGAL','_initStatusListener','handleInsertRangeMoveDown','saveImage','svg','_localStorageService','toRgbString','APPLY_DUPLICATED','USER_NOT_FOUND','RemoveRowCommandId','collabStatus.synced','_cursors','getStateCache','UniverSheets','_getSheetObject','_cursor','UniverProCollaboration','_transformHistoryAndStateStack','RxDisposable','search','getMergeData','BehaviorSubject','IRenderManagerService','Warning','blue.400','_render','formula.calculation.unable','_injector','bind','_clearPolling','exports','permission.title','@univerjs/docs-ui','handleIRemoveCol','deepClone','DesktopCollaborationStatusDisplayController','DEFAULT_WS_SESSION_TICKET_URL','_selfUnitIDs','catch','stringify','replaceState','rgba(255,\x20255,\x20255,\x200.01)','_handleJoinEvent','setAlpha','2211240mawCrz','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','HTTPService','onMouseMove','Shape','UniverEngineRender','off-line-icon','NOT_COLLAB','http://www.w3.org/2000/svg','useDependency','substring','editingUnit','_createSocketURL','ENTITLE_REPORT_LIMIT_EXCEED','0\x200\x2016\x2016','_updateURLWithCurrentState','subUnitId','post','DocIMEInputManagerService','_docClipboardService','clearInterval','SetFormulaCalculationStartMutation','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','setItem','[Window\x20Error]:\x20','bottom','runRefRangeMutations','330ZgUmQj','@univerjs/rpc','_labelPosition','redoState','0\x200\x2017\x2016','YUUMI_CONNECTOR_URL_NOT_FOUND','merge','clsx','saveTaskMap','row','getOffsetConfig','event$','_messageService','_hovered','OffLineIcon','moveTo','history','uni.network.url-service','_sheetSkeletonManagerService','getRangePointData','doc.mutation.rich-text-editing','_collaborationSessionService','registerComponent','_handleHeartbeatEvent','TEXT_RANGE_LAYER_INDEX','UniverDocs','unshift','on-line-icon_clip0_910_349','IUniverInstanceService','[CollaborationDataLoaderController]','22XnfkHs','PAYMENT_CHANNEL_NOT_SUPPORT','transformStateCache','InsertColCommandId','getFocusedUnit','syncEditingCollabCursor','functionsExecutedState','YUUMI_ASYNCIO_CANCELLED','onPointerEnter$','off-line-icon_clip0_910_343','_send','handleInsertCol','filename','_initWindowErrorListener','_refRangeService','debounceTime','skeleton','_syncEditingCollabCursorService','defIds','createSocket','_revisionService','resize','_init','APPLY_PERMISSION_DENIED','_initEntityListener','_releaseCalculationLimit','ranges','round','createElement','rxjs','COLORS','_collabCursorState$','EffectRefRangId','_localCacheService','_collaborationUIEventService','defineProperty','addObjects','LICENSE_IMPORT_SIZE_EXCEEDED','collaboration-client.offline-data-not-saved','PENDING','init','dirtyRanges','createIdentifier','getParam','sessionTicket','PERMISSION_DENIED','_setupSubUnitSync','UniverInstanceType','_initUserListener','runId','textRanges','ColorKit','_colorIndex','_lastResponseTimestamp','_initCommandInterceptor','_uiPartsService','attrs','@univerjs/sheets-ui','ILogService','_color','type','_shapes','contains','USER_IS_ANONYMOUS','getValue','REDEMPTION_USER_NOT_ELIGIBLE','INVITE_CODE_REQUIRED','getCellMatrix','trim','name','80fTBAiV','send','CollaborationUIEventService','_lastPointer','amd','text','OFFLINE','2658hQfSyJ','m1Prime','COMPLETION_FINISHED','Vector2','getAncestorScale','AWAITING_WITH_PENDING','SNAPSHOT_HAS_BEEN_REMOVED','?taskId=','onPointerLeave$','translate(.97)','_assignedColors','addClipboardHook','_initDependencies','_handleLeaveEvent','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_drawTextRange','_disabled','createInstance','5047OKLFHy','_logService','registerDependencies','activeSheet$','shift','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','USER_NOT_INVITED_CODE','Subject','_onRefRangeChange','IDocClipboardService','_uploadLog','_renderManagerService','pushState','RemoteUniscriptService','fillStyle','getSheetBySheetId','ENSURE_SNAPSHOT_EXECUTION','runOnServer','formula.calculation.started','column','InsertRangeMoveRightCommandId','_scheduleClearOtherTimer','_setupBeforeClosingHandler','APPLY_NON_SEQUENTIAL_REVISION','red.300','error','ILocalStorageService','CONNECTOR_DATA_TOO_LARGE','onCommandExecuted','UniverSheetsUi','loadUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','_drawRectRange','DOC_RANGE_TYPE','subunit','@univerjs/drawing','getUniverSheetInstance','ALREADY_EXISTS','url(#$1','RevisionService','INTERNAL_ERROR','has','addObject','collabStatus.conflict','ISnapshotServerService','_beforeCloseService','_memberID','imageSourceType','getCollabCursors$','CollaborationSessionService','React','executionId','reconnect','xlink:href','MemberService','purple.300','useCallback','getRelativeToViewportCoord','UniverDocsUi','_transformPreviousActiveRange','isActive','entries','_online','message','from','stageInfo','_refreshCollabCursors','PY_RUNTIME_SCRIPT_ERROR','INotificationService','327VmfBiz','forEach','_applyCommand','asObservable','/universer-api/license/formula/limit/done','_saveCache','getActiveRange','generateRandomId','_getSessionTicket','_removeCollabCursors','mutations','height','min','_drawAnchor','USERS_LEAVE','hide','CollaborationUIEventId','_univerInstanceService','#FFF','distinctUntilChanged','unitID','now','fill','restore','_urlService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CollaborationStatus','CONFLICT','FormulaExecuteStageType','collabCursorState$','@univerjs/ui','FormulaExecutedStateType','_transformService','collabStatus.offline','REDEMPTION_CODE_INACTIVE','_removeClearOtherTimer','_initResize','_httpService','_startCalculationLimit','currentSkeleton$','transformMutationsWithChangeset','stack','InsertRangeMoveDownCommandId','_clearOtherTimers','SessionStatus','_updateLocalCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','startColumn','transformRemoteChangeset','fromEventSubject','getUnitStatus$','VIEW_MAIN','source','_range','_name','UPDATE_CURSOR','APPLY_REJECT','push','/run/','UniverCollaborationClientPlugin','_getSaveTimeout','_docTransformStateCacheService','labelPosition','ThemeService','shareReplay','override','_config','Workbook','_doCreateSocket','_docSyncEditingCollabCursorService','_unitStatus','ISocketService','getTypeOfUnitDisposed$','_hasFormulaInDirtyRanges','isTransformMutationFailure','current','univer-flex\x20univer-items-center','_context','unhandledrejection'];_0x3674=function(){return _0x278f08;};return _0x3674();}function _0x3621(_0x3c01a0,_0x5b0b36){const _0x367459=_0x3674();return _0x3621=function(_0x362151,_0x411d0c){_0x362151=_0x362151-0x1ba;let _0x5baea0=_0x367459[_0x362151];return _0x5baea0;},_0x3621(_0x3c01a0,_0x5b0b36);}(function(_0x1fb1e3,_0xe6a074){const _0x158be5=_0x3621,_0x4d19f8=_0x1fb1e3();while(!![]){try{const _0x5f5d74=parseInt(_0x158be5(0x427))/0x1+parseInt(_0x158be5(0x43b))/0x2*(-parseInt(_0x158be5(0x2a7))/0x3)+-parseInt(_0x158be5(0x249))/0x4*(-parseInt(_0x158be5(0x425))/0x5)+-parseInt(_0x158be5(0x250))/0x6*(-parseInt(_0x158be5(0x262))/0x7)+-parseInt(_0x158be5(0x3a1))/0x8+-parseInt(_0x158be5(0x350))/0x9*(-parseInt(_0x158be5(0x1e5))/0xa)+parseInt(_0x158be5(0x203))/0xb*(-parseInt(_0x158be5(0x1c9))/0xc);if(_0x5f5d74===_0xe6a074)break;else _0x4d19f8['push'](_0x4d19f8['shift']());}catch(_0x3feb4c){_0x4d19f8['push'](_0x4d19f8['shift']());}}}(_0x3674,0x511bb),function(_0x4cc780,_0x271d09){const _0xb6337a=_0x3621;typeof exports==_0xb6337a(0x3b2)&&typeof module<'u'?_0x271d09(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0xb6337a(0x24d)]?define([_0xb6337a(0x1bb),_0xb6337a(0x412),_0xb6337a(0x44f),_0xb6337a(0x3d9),_0xb6337a(0x2c5),_0xb6337a(0x220),_0xb6337a(0x433),'react',_0xb6337a(0x1e6),'@univerjs/sheets','@univerjs/engine-render','@univerjs/network',_0xb6337a(0x1bd),_0xb6337a(0x285),_0xb6337a(0x3e9),'@univerjs/docs',_0xb6337a(0x457),_0xb6337a(0x33a),_0xb6337a(0x23c)],_0x271d09):(_0x4cc780=typeof globalThis<'u'?globalThis:_0x4cc780||self,_0x271d09(_0x4cc780[_0xb6337a(0x359)]={},_0x4cc780[_0xb6337a(0x294)],_0x4cc780[_0xb6337a(0x32b)],_0x4cc780['UniverCore'],_0x4cc780[_0xb6337a(0x3a4)],_0x4cc780[_0xb6337a(0x220)],_0x4cc780[_0xb6337a(0x33e)],_0x4cc780[_0xb6337a(0x294)],_0x4cc780[_0xb6337a(0x352)],_0x4cc780[_0xb6337a(0x48b)],_0x4cc780[_0xb6337a(0x1cf)],_0x4cc780['UniverNetwork'],_0x4cc780[_0xb6337a(0x29c)],_0x4cc780['UniverDrawing'],_0x4cc780[_0xb6337a(0x48e)],_0x4cc780[_0xb6337a(0x1fe)],_0x4cc780[_0xb6337a(0x35d)],_0x4cc780[_0xb6337a(0x220)][_0xb6337a(0x399)],_0x4cc780[_0xb6337a(0x27f)]));}(this,function(_0x8036c6,_0x56c279,_0x19f8d7,_0x3772e7,_0x2e0e04,_0x104804,_0x4d7604,_0x430ffc,_0x2bbe73,_0x235c42,_0x29b571,_0xe6cf6e,_0x7ab617,_0x331913,_0x116492,_0x37acc3,_0x4915ec,_0x568e97,_0x3e18f2){'use strict';const _0x513e05=_0x3621;var _0xcaddf5=Object['defineProperty'],_0x2b860e=(_0x38ba96,_0x1e448d,_0x54a2f2)=>_0x1e448d in _0x38ba96?_0xcaddf5(_0x38ba96,_0x1e448d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54a2f2}):_0x38ba96[_0x1e448d]=_0x54a2f2,_0xfd5d9c=(_0xead01,_0x494ee9,_0x51d4aa)=>_0x2b860e(_0xead01,typeof _0x494ee9!='symbol'?_0x494ee9+'':_0x494ee9,_0x51d4aa);function _0x1e85c1({ref:_0xe86f5c,..._0x281e53}){const _0x2fbb59=_0x3621,{icon:_0x256f37,id:_0x139a09,className:_0x16071c,extend:_0x16e8a6,..._0x1742b8}=_0x281e53,_0x2efc03=('univerjs-icon\x20univerjs-icon-'+_0x139a09+'\x20'+(_0x16071c||''))[_0x2fbb59(0x247)](),_0xe32f61=_0x430ffc['useRef']('_'+_0x2fc302());return _0x35ac53(_0x256f37,''+_0x139a09,{'defIds':_0x256f37[_0x2fbb59(0x215)],'idSuffix':_0xe32f61[_0x2fbb59(0x2f2)]},{'ref':_0xe86f5c,'className':_0x2efc03,..._0x1742b8},_0x16e8a6);}function _0x35ac53(_0x5055ed,_0x20066b,_0x533f6d,_0x475994,_0x33ea58){const _0x13f0e2=_0x3621;return _0x430ffc[_0x13f0e2(0x21f)](_0x5055ed[_0x13f0e2(0x3f7)],{'key':_0x20066b,..._0x23eaeb(_0x5055ed,_0x533f6d,_0x33ea58),..._0x475994},(_0x2f85fd(_0x5055ed,_0x533f6d)[_0x13f0e2(0x302)]||[])[_0x13f0e2(0x407)]((_0x4475cf,_0x3eb428)=>_0x35ac53(_0x4475cf,_0x20066b+'-'+_0x5055ed[_0x13f0e2(0x3f7)]+'-'+_0x3eb428,_0x533f6d,void 0x0,_0x33ea58)));}function _0x23eaeb(_0x66bab,_0x5b02ec,_0x205b0f){const _0x5dbea4=_0x3621,_0xfc991a={..._0x66bab['attrs']};_0x205b0f!=null&&_0x205b0f['colorChannel1']&&_0xfc991a['fill']===_0x5dbea4(0x32f)&&(_0xfc991a[_0x5dbea4(0x2bd)]=_0x205b0f[_0x5dbea4(0x32f)]),_0x66bab[_0x5dbea4(0x3f7)]===_0x5dbea4(0x371)&&_0xfc991a['id']&&(_0xfc991a['id']=_0xfc991a['id']+_0x5b02ec[_0x5dbea4(0x3c5)]),Object[_0x5dbea4(0x29f)](_0xfc991a)[_0x5dbea4(0x2a8)](([_0xc860a7,_0x4e8672])=>{const _0x5a3e33=_0x5dbea4;_0xc860a7===_0x5a3e33(0x371)&&typeof _0x4e8672=='string'&&(_0xfc991a[_0xc860a7]=_0x4e8672[_0x5a3e33(0x34e)](/url\(#(.*)\)/,'url(#$1'+_0x5b02ec[_0x5a3e33(0x3c5)]+')'));});const {defIds:_0x3f4f08}=_0x5b02ec;return!_0x3f4f08||_0x3f4f08[_0x5dbea4(0x3ec)]===0x0||(_0x66bab[_0x5dbea4(0x3f7)]==='use'&&_0xfc991a[_0x5dbea4(0x297)]&&(_0xfc991a[_0x5dbea4(0x297)]=_0xfc991a['xlink:href']+_0x5b02ec[_0x5dbea4(0x3c5)]),Object[_0x5dbea4(0x29f)](_0xfc991a)[_0x5dbea4(0x2a8)](([_0x55b305,_0x4782d0])=>{const _0x3c18f6=_0x5dbea4;typeof _0x4782d0=='string'&&(_0xfc991a[_0x55b305]=_0x4782d0[_0x3c18f6(0x34e)](/url\(#(.*)\)/,_0x3c18f6(0x288)+_0x5b02ec[_0x3c18f6(0x3c5)]+')'));})),_0xfc991a;}function _0x2f85fd(_0x43d4f1,_0x33da0b){const _0x220a96=_0x3621;var _0x40f495;const {defIds:_0x1fd22d}=_0x33da0b;return!_0x1fd22d||_0x1fd22d[_0x220a96(0x3ec)]===0x0?_0x43d4f1:_0x43d4f1[_0x220a96(0x3f7)]==='defs'&&((_0x40f495=_0x43d4f1['children'])!=null&&_0x40f495[_0x220a96(0x3ec)])?{..._0x43d4f1,'children':_0x43d4f1[_0x220a96(0x302)]['map'](_0x569cdf=>typeof _0x569cdf[_0x220a96(0x23b)]['id']==_0x220a96(0x3fb)&&_0x1fd22d&&_0x1fd22d[_0x220a96(0x40d)](_0x569cdf[_0x220a96(0x23b)]['id'])?{..._0x569cdf,'attrs':{..._0x569cdf['attrs'],'id':_0x569cdf[_0x220a96(0x23b)]['id']+_0x33da0b[_0x220a96(0x3c5)]}}:_0x569cdf)}:_0x43d4f1;}function _0x2fc302(){const _0x563a4c=_0x3621;return Math[_0x563a4c(0x3e6)]()['toString'](0x24)[_0x563a4c(0x1d4)](0x2,0x8);}_0x1e85c1['displayName']=_0x513e05(0x45b);const _0x4503bd={'tag':_0x513e05(0x482),'attrs':{'xmlns':_0x513e05(0x1d2),'fill':_0x513e05(0x415),'viewBox':_0x513e05(0x1d8),'width':_0x513e05(0x3f6),'height':_0x513e05(0x3f6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x513e05(0x35e),'strokeLinecap':_0x513e05(0x21e),'strokeLinejoin':_0x513e05(0x21e),'strokeWidth':1.2}}]},{'tag':_0x513e05(0x389),'attrs':{},'children':[{'tag':_0x513e05(0x463),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x513e05(0x34a),'attrs':{'fill':'white','d':_0x513e05(0x394)}}]}]}],'defIds':[_0x513e05(0x20c)]},_0x2f76b9=_0x430ffc[_0x513e05(0x424)](function(_0x523f19,_0x3c0fb9){const _0x17a5ab=_0x513e05;return _0x430ffc[_0x17a5ab(0x21f)](_0x1e85c1,Object[_0x17a5ab(0x325)]({},_0x523f19,{'id':_0x17a5ab(0x1d0),'ref':_0x3c0fb9,'icon':_0x4503bd}));});_0x2f76b9[_0x513e05(0x436)]=_0x513e05(0x1f3);const _0x1ede86={'tag':_0x513e05(0x482),'attrs':{'xmlns':_0x513e05(0x1d2),'fill':_0x513e05(0x415),'viewBox':_0x513e05(0x1e9),'width':_0x513e05(0x3f6),'height':_0x513e05(0x3f6)},'children':[{'tag':'g','attrs':{'clipPath':_0x513e05(0x34f)},'children':[{'tag':_0x513e05(0x34a),'attrs':{'stroke':_0x513e05(0x322),'d':_0x513e05(0x36f),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x513e05(0x200)},'children':[{'tag':_0x513e05(0x34a),'attrs':{'fill':_0x513e05(0x331),'d':_0x513e05(0x394),'transform':_0x513e05(0x259)}}]}]}],'defIds':[_0x513e05(0x200)]},_0x2b2972=_0x430ffc['forwardRef'](function(_0x2524a6,_0x3da9ee){const _0x3eb8fa=_0x513e05;return _0x430ffc[_0x3eb8fa(0x21f)](_0x1e85c1,Object[_0x3eb8fa(0x325)]({},_0x2524a6,{'id':_0x3eb8fa(0x3d8),'ref':_0x3da9ee,'icon':_0x1ede86}));});_0x2b2972[_0x513e05(0x436)]='OnLineIcon';function _0x187e4c(_0x5dc5c1){const _0x225b5e=_0x513e05;switch(_0x5dc5c1){case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x24f)]:return _0x225b5e(0x2c8);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x2c2)]:return _0x225b5e(0x28d);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x3e5)]:return _0x225b5e(0x3d4);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x1d1)]:return _0x225b5e(0x405);case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x3a5)]:case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x255)]:return'collabStatus.syncing';case _0x19f8d7[_0x225b5e(0x2c1)]['SYNCED']:case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x22a)]:return _0x225b5e(0x488);}}function _0x4e96ee(_0x4f1c5d){const _0x5c3840=_0x513e05,{status$:_0x4a8481}=_0x4f1c5d,_0x15936e=_0x2e0e04[_0x5c3840(0x47d)](_0x4a8481,_0x19f8d7[_0x5c3840(0x2c1)][_0x5c3840(0x1d1)]),_0x55af6a=_0x2e0e04[_0x5c3840(0x1d3)](_0x3772e7['LocaleService']),_0x41fd37=_0x2e0e04[_0x5c3840(0x1d3)](_0x19f8d7[_0x5c3840(0x293)]),_0x29a1e9=_0x15936e!==_0x19f8d7[_0x5c3840(0x2c1)][_0x5c3840(0x24f)],_0x384cc3=_0x55af6a['t'](_0x187e4c(_0x15936e)),_0x27a613=_0x29a1e9?_0x56c279[_0x5c3840(0x3cc)](_0x2b2972,{}):_0x56c279[_0x5c3840(0x3cc)](_0x2f76b9,{}),_0x41a943=_0x430ffc[_0x5c3840(0x29a)](()=>{const _0x18473c=_0x5c3840;_0x29a1e9||_0x41fd37[_0x18473c(0x296)]();},[_0x29a1e9,_0x41fd37]);function _0x1a1f00(){const _0x5bcaca=_0x5c3840;return _0x56c279['jsxs'](_0x5bcaca(0x46b),{'className':_0x5bcaca(0x2f3),'onClick':_0x41a943,'children':[_0x56c279[_0x5bcaca(0x3cc)](_0x5bcaca(0x46b),{'className':_0x4d7604[_0x5bcaca(0x1ec)](_0x5bcaca(0x3b6),{'univer-text-green-500':_0x29a1e9,'univer-text-red-500':!_0x29a1e9}),'children':_0x27a613}),_0x56c279[_0x5bcaca(0x3cc)]('div',{'className':_0x5bcaca(0x321),'children':_0x384cc3})]});}return _0x29a1e9?_0x1a1f00():_0x56c279[_0x5c3840(0x3cc)](_0x4d7604['Tooltip'],{'title':_0x55af6a['t'](_0x5c3840(0x3e8)),'children':_0x1a1f00()});}var _0x2094ef=Object['getOwnPropertyDescriptor'],_0x494b85=(_0x11ee00,_0x1401f2,_0x30c2b7,_0x1e5084)=>{const _0x2cb164=_0x513e05;for(var _0x2b82b1=_0x1e5084>0x1?void 0x0:_0x1e5084?_0x2094ef(_0x1401f2,_0x30c2b7):_0x1401f2,_0xa65337=_0x11ee00[_0x2cb164(0x3ec)]-0x1,_0x1bc7d6;_0xa65337>=0x0;_0xa65337--)(_0x1bc7d6=_0x11ee00[_0xa65337])&&(_0x2b82b1=_0x1bc7d6(_0x2b82b1)||_0x2b82b1);return _0x2b82b1;},_0x464ce5=(_0x81033f,_0x3b4167)=>(_0x2cdab2,_0x5420f9)=>_0x3b4167(_0x2cdab2,_0x5420f9,_0x81033f);_0x8036c6[_0x513e05(0x1c0)]=class extends _0x3772e7['Disposable']{constructor(_0x5765b9,_0x136f0e,_0x4068c3,_0x2d2709){const _0x2e8c02=_0x513e05;super(),_0xfd5d9c(this,_0x2e8c02(0x416),new _0x104804['BehaviorSubject'](_0x19f8d7[_0x2e8c02(0x2c1)][_0x2e8c02(0x1d1)])),(this['_univerInstanceService']=_0x5765b9,this[_0x2e8c02(0x499)]=_0x136f0e,this[_0x2e8c02(0x47c)]=_0x4068c3,this[_0x2e8c02(0x23a)]=_0x2d2709,this[_0x2e8c02(0x3f2)](),this[_0x2e8c02(0x47f)]());}[_0x513e05(0x47f)](){const _0x57bd4a=_0x513e05;this[_0x57bd4a(0x317)](this['_univerInstanceService']['focused$'][_0x57bd4a(0x372)](_0x104804[_0x57bd4a(0x3a3)](()=>{const _0x43c545=_0x57bd4a,_0x1e30fb=this[_0x43c545(0x2b8)][_0x43c545(0x207)]();return _0x1e30fb?this[_0x43c545(0x47c)][_0x43c545(0x44d)](_0x1e30fb[_0x43c545(0x353)]()):_0x104804['of'](null);}),_0x104804[_0x57bd4a(0x3a3)](_0x488c93=>_0x488c93?_0x488c93[_0x57bd4a(0x32d)]:_0x104804['of'](_0x19f8d7[_0x57bd4a(0x2c1)][_0x57bd4a(0x1d1)])))[_0x57bd4a(0x3ee)](_0xc16a43=>{const _0x2aa95d=_0x57bd4a;this[_0x2aa95d(0x416)][_0x2aa95d(0x344)](_0xc16a43);}));}['_initStatusComponent'](){const _0x2dea3f=_0x513e05;this[_0x2dea3f(0x317)](this[_0x2dea3f(0x23a)][_0x2dea3f(0x1fb)](_0x2e0e04['BuiltInUIPart'][_0x2dea3f(0x33f)],()=>_0x2e0e04['connectInjector'](_0x2382d0({'status$':this[_0x2dea3f(0x416)]['asObservable']()}),this[_0x2dea3f(0x499)])));}},_0x8036c6[_0x513e05(0x1c0)]=_0x494b85([_0x464ce5(0x0,_0x3772e7[_0x513e05(0x201)]),_0x464ce5(0x1,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x464ce5(0x2,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x3c1)])),_0x464ce5(0x3,_0x2e0e04[_0x513e05(0x30c)])],_0x8036c6[_0x513e05(0x1c0)]);function _0x2382d0(_0x49756a){const {status$:_0x1230c2}=_0x49756a;return function(){const _0x49d3da=_0x3621;return _0x56c279[_0x49d3da(0x3cc)](_0x4e96ee,{'status$':_0x1230c2});};}const _0x2a7c11=_0x3772e7[_0x513e05(0x22d)](_0x513e05(0x1f6));var _0x2a8c15=Object[_0x513e05(0x33c)],_0x9e51a9=(_0x2045be,_0x3e035d,_0x272527,_0x3fd9c9)=>{const _0x277f32=_0x513e05;for(var _0x3f362a=_0x3fd9c9>0x1?void 0x0:_0x3fd9c9?_0x2a8c15(_0x3e035d,_0x272527):_0x3e035d,_0x92d593=_0x2045be[_0x277f32(0x3ec)]-0x1,_0x5a68b8;_0x92d593>=0x0;_0x92d593--)(_0x5a68b8=_0x2045be[_0x92d593])&&(_0x3f362a=_0x5a68b8(_0x3f362a)||_0x3f362a);return _0x3f362a;},_0x2978ea=(_0x304539,_0x59b503)=>(_0xe8af11,_0x253600)=>_0x59b503(_0xe8af11,_0x253600,_0x304539);_0x8036c6[_0x513e05(0x42a)]=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x45778c,_0x358d6d,_0x28b3d0,_0x51c18a,_0x8138e4){const _0x353388=_0x513e05;super(),this['_urlService']=_0x45778c,this[_0x353388(0x263)]=_0x358d6d,this[_0x353388(0x2fb)]=_0x28b3d0,this[_0x353388(0x34d)]=_0x51c18a,_0x8138e4?_0x8138e4==null||_0x8138e4['whenReady']()[_0x353388(0x37c)](()=>this[_0x353388(0x219)]()):(this[_0x353388(0x263)][_0x353388(0x400)](_0x353388(0x202),_0x353388(0x2d5)),this[_0x353388(0x219)]());}async[_0x513e05(0x219)](){const _0x56de9f=_0x513e05,_0x56a7f3=this[_0x56de9f(0x2bf)][_0x56de9f(0x22e)](_0x56de9f(0x438)),_0x473946=this[_0x56de9f(0x2bf)]['getParam'](_0x56de9f(0x23f)),_0x142dd3=this[_0x56de9f(0x2bf)][_0x56de9f(0x22e)](_0x56de9f(0x284));if(!_0x56a7f3||!_0x473946){this[_0x56de9f(0x263)][_0x56de9f(0x400)]('[CollaborationDataLoaderController]',_0x56de9f(0x2c0));return;}const _0x58b0bb=await this['_dataLoaderService'][_0x56de9f(0x280)](_0x56a7f3,Number(_0x473946),_0x142dd3);_0x58b0bb&&_0x58b0bb instanceof _0x3772e7[_0x56de9f(0x2ea)]&&this[_0x56de9f(0x231)](_0x58b0bb);}async[_0x513e05(0x231)](_0x3b3f13){const _0x2fbf3f=_0x513e05;await this[_0x2fbf3f(0x3db)](_0x3b3f13),_0x3b3f13[_0x2fbf3f(0x265)][_0x2fbf3f(0x372)](_0x104804[_0x2fbf3f(0x3e1)](this[_0x2fbf3f(0x3b1)]))[_0x2fbf3f(0x3ee)](_0x2e0f83=>{_0x2e0f83&&this['_updateURLWithCurrentState'](_0x2e0f83);}),this['_urlService'][_0x2fbf3f(0x327)][_0x2fbf3f(0x372)](_0x104804['takeUntil'](this[_0x2fbf3f(0x3b1)]))['subscribe'](()=>this[_0x2fbf3f(0x3db)](_0x3b3f13));}[_0x513e05(0x1d9)](_0x4e4eb9,_0x54e928=!0x1){const _0xda4e3d=_0x513e05,_0x14d73f=this[_0xda4e3d(0x2bf)][_0xda4e3d(0x22e)]('subunit');_0x4e4eb9[_0xda4e3d(0x466)]()!==_0x14d73f&&this[_0xda4e3d(0x2bf)][_0xda4e3d(0x343)]('subunit',_0x4e4eb9[_0xda4e3d(0x466)](),_0x54e928);}async['_updateSubUnitFromURLParams'](_0x570c4a){const _0x4d9a08=_0x513e05;var _0x28ed0a;const _0x21a133=this[_0x4d9a08(0x2bf)]['getParam'](_0x4d9a08(0x284));if(!_0x21a133||!_0x570c4a['getSheetBySheetId'](_0x21a133)){const _0x1d16e4=_0x570c4a['getUnhiddenWorksheets']()[0x0],_0x1dfc4f=_0x570c4a[_0x4d9a08(0x271)](_0x1d16e4);if(!_0x1dfc4f)return;this[_0x4d9a08(0x1d9)](_0x1dfc4f,!0x0),await this[_0x4d9a08(0x2fb)]['executeCommand'](_0x235c42['SetWorksheetActivateCommand']['id'],{'unitId':_0x570c4a[_0x4d9a08(0x353)](),'subUnitId':_0x1d16e4});return;}((_0x28ed0a=_0x570c4a[_0x4d9a08(0x455)]())==null?void 0x0:_0x28ed0a['getSheetId']())!==_0x21a133&&await this[_0x4d9a08(0x2fb)][_0x4d9a08(0x38e)](_0x235c42[_0x4d9a08(0x397)]['id'],{'unitId':_0x570c4a[_0x4d9a08(0x353)](),'subUnitId':_0x21a133});}},_0x8036c6['CollaborationDataLoaderController']=_0x9e51a9([_0x2978ea(0x0,_0x2a7c11),_0x2978ea(0x1,_0x3772e7[_0x513e05(0x23d)]),_0x2978ea(0x2,_0x3772e7[_0x513e05(0x37d)]),_0x2978ea(0x3,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7['DataLoaderService'])),_0x2978ea(0x4,_0x3772e7[_0x513e05(0x379)](_0x2bbe73[_0x513e05(0x445)]))],_0x8036c6['CollaborationDataLoaderController']);var _0x2f3241=Object[_0x513e05(0x33c)],_0x1690a9=(_0x4c479b,_0x153315,_0x3c453b,_0x4e500c)=>{for(var _0x1728f0=_0x4e500c>0x1?void 0x0:_0x4e500c?_0x2f3241(_0x153315,_0x3c453b):_0x153315,_0x3b98d0=_0x4c479b['length']-0x1,_0x15b740;_0x3b98d0>=0x0;_0x3b98d0--)(_0x15b740=_0x4c479b[_0x3b98d0])&&(_0x1728f0=_0x15b740(_0x1728f0)||_0x1728f0);return _0x1728f0;},_0x57947e=(_0x58e2f7,_0x3254f1)=>(_0x33a8b3,_0x1ca669)=>_0x3254f1(_0x33a8b3,_0x1ca669,_0x58e2f7);let _0x459a5d=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x501863,_0x142944){const _0x5d6d2a=_0x513e05;super(),this[_0x5d6d2a(0x1dd)]=_0x501863,this['_imageIoService']=_0x142944,this[_0x5d6d2a(0x219)]();}[_0x513e05(0x219)](){const _0x4f9da4=_0x513e05,_0x21901b=this;this[_0x4f9da4(0x317)](this[_0x4f9da4(0x1dd)][_0x4f9da4(0x25b)]({'onBeforePasteImage':async _0x3d26f6=>{const _0x47e041=_0x4f9da4,_0x794551=await _0x21901b[_0x47e041(0x40a)][_0x47e041(0x481)](_0x3d26f6);return _0x794551?{'source':_0x794551[_0x47e041(0x2db)],'imageSourceType':_0x794551[_0x47e041(0x291)]}:null;}}));}};_0x459a5d=_0x1690a9([_0x57947e(0x0,_0x7ab617[_0x513e05(0x26b)]),_0x57947e(0x1,_0x331913['IImageIoService'])],_0x459a5d);const _0x717805=[_0x513e05(0x299),_0x513e05(0x3d7),_0x513e05(0x45d),_0x513e05(0x27a),_0x513e05(0x496),_0x513e05(0x440)];class _0x2e3fbf extends _0x3772e7[_0x513e05(0x432)]{constructor(){const _0x34af51=_0x513e05;super(...arguments),_0xfd5d9c(this,_0x34af51(0x25a),new Map()),_0xfd5d9c(this,_0x34af51(0x237),0x0);}[_0x513e05(0x3fc)](_0x558af0){const _0x53e338=_0x513e05;if(this['_assignedColors'][_0x53e338(0x28b)](_0x558af0))return this['_assignedColors'][_0x53e338(0x309)](_0x558af0);const _0x3f5ea3=_0x717805[this[_0x53e338(0x237)]];return this[_0x53e338(0x237)]=(this[_0x53e338(0x237)]+0x1)%_0x717805[_0x53e338(0x3ec)],this['_assignedColors'][_0x53e338(0x40c)](_0x558af0,_0x3f5ea3),_0x3f5ea3;}}function _0x55ad25(_0x45ad1b){const _0x368891=_0x513e05;let _0x530a91='';for(const _0x1bcca1 of _0x45ad1b){const {startOffset:_0x520e82,endOffset:_0x3d2898,isActive:_0x57fa3b,rangeType:_0x8004e2,segmentId:_0x86d390,segmentPage:_0x323c2e}=_0x1bcca1;_0x530a91[_0x368891(0x3ec)]&&(_0x530a91+=','),_0x530a91+=_0x520e82+':'+_0x3d2898+':'+(_0x57fa3b?'1':'0')+':'+_0x8004e2+':'+_0x86d390+':'+_0x323c2e;}return _0x530a91;}function _0x4a02b9(_0x26dc9f){const _0x1e9471=_0x513e05,_0x27b7d0=_0x26dc9f[_0x1e9471(0x428)](','),_0x16df61=[];for(const _0x5c22ce of _0x27b7d0){const [_0x183f5f,_0x5f38e9,_0x4460a8,_0x978111,_0x575734,_0x255cfa]=_0x5c22ce[_0x1e9471(0x428)](':');_0x16df61[_0x1e9471(0x2e0)]({'startOffset':Number(_0x183f5f),'endOffset':Number(_0x5f38e9),'collapsed':_0x183f5f===_0x5f38e9,'isActive':_0x4460a8==='1','rangeType':_0x978111===_0x3772e7[_0x1e9471(0x283)][_0x1e9471(0x3d2)]?_0x3772e7[_0x1e9471(0x283)][_0x1e9471(0x3d2)]:_0x3772e7[_0x1e9471(0x283)]['RECT'],'segmentId':typeof _0x575734==_0x1e9471(0x3fb)?String(_0x575734):'','segmentPage':Number(_0x255cfa!=null?_0x255cfa:-0x1)});}return _0x16df61[_0x1e9471(0x30a)](_0x80c020=>_0x80c020[_0x1e9471(0x29e)])||(_0x16df61[0x0][_0x1e9471(0x29e)]=!0x0),_0x16df61;}class _0x39a103 extends _0x3772e7['RxDisposable']{constructor(){const _0x2be7c4=_0x513e05;super(...arguments),_0xfd5d9c(this,_0x2be7c4(0x222),new _0x104804['BehaviorSubject'](null)),_0xfd5d9c(this,_0x2be7c4(0x2c4),this['_collabCursorState$'][_0x2be7c4(0x2aa)]());}[_0x513e05(0x208)](_0x4a4aaf){const _0x3da5f1=_0x513e05,{unitID:_0x18a123,memberID:_0x31e19c,textRanges:_0x293cd9}=_0x4a4aaf,_0x17e69f=_0x55ad25(_0x293cd9);if(_0x17e69f==='')return;const _0x2b989b={'unitID':_0x18a123,'memberID':_0x31e19c,'selection':_0x17e69f};this[_0x3da5f1(0x222)][_0x3da5f1(0x344)](_0x2b989b);}}var _0x4df8b5=Object[_0x513e05(0x33c)],_0x3dc6b8=(_0x5180b3,_0x5368ea,_0x18eec2,_0x455016)=>{const _0x5f1d0a=_0x513e05;for(var _0x3b4fd6=_0x455016>0x1?void 0x0:_0x455016?_0x4df8b5(_0x5368ea,_0x18eec2):_0x5368ea,_0xef037e=_0x5180b3[_0x5f1d0a(0x3ec)]-0x1,_0x4f7316;_0xef037e>=0x0;_0xef037e--)(_0x4f7316=_0x5180b3[_0xef037e])&&(_0x3b4fd6=_0x4f7316(_0x3b4fd6)||_0x3b4fd6);return _0x3b4fd6;},_0x25e0f9=(_0x4b0ad0,_0x1ed3be)=>(_0x28f8be,_0x4e576c)=>_0x1ed3be(_0x28f8be,_0x4e576c,_0x4b0ad0);const _0x4cbf16=0x12c,_0x146e9e=0x64;let _0x49a88b=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x3430c6,_0x256f97,_0x26ea97,_0x33180d,_0x41d3d8,_0x5717fd,_0x159b8e,_0x28ddb8,_0x508f0b){const _0x377d97=_0x513e05;super(),_0xfd5d9c(this,_0x377d97(0x2a0),!0x1),_0xfd5d9c(this,_0x377d97(0x219),!0x1),_0xfd5d9c(this,_0x377d97(0x3f9),new _0x104804[(_0x377d97(0x493))](new Map())),_0xfd5d9c(this,_0x377d97(0x423),this['_cursorInfo$']['asObservable']()),_0xfd5d9c(this,_0x377d97(0x42c),new _0x104804[(_0x377d97(0x493))]([])),_0xfd5d9c(this,_0x377d97(0x42d),this[_0x377d97(0x42c)]['pipe'](_0x104804[_0x377d97(0x212)](_0x4cbf16))),_0xfd5d9c(this,'_updateLocalCursor',_0x3772e7[_0x377d97(0x43a)](_0x4c6972=>{const _0x4544ba=_0x377d97,_0x2c8cdc={'eventID':_0x116492['CollaborationEvent'][_0x4544ba(0x2de)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x4544ba(0x3a6)](),'selection':_0x55ad25(_0x4c6972)}};this[_0x4544ba(0x3a7)][_0x4544ba(0x24a)](_0x2c8cdc,this[_0x4544ba(0x2bb)]);},_0x146e9e)),(this[_0x377d97(0x2bb)]=_0x3430c6,this[_0x377d97(0x3a7)]=_0x256f97,this[_0x377d97(0x499)]=_0x26ea97,this[_0x377d97(0x3b0)]=_0x33180d,this[_0x377d97(0x442)]=_0x41d3d8,this['_syncEditingCollabCursorService']=_0x5717fd,this[_0x377d97(0x2c7)]=_0x159b8e,this['_univerInstanceService']=_0x28ddb8,this['_commandService']=_0x508f0b);}get[_0x513e05(0x44c)](){const _0x69693f=_0x513e05;return this[_0x69693f(0x3f9)][_0x69693f(0x243)]();}get[_0x513e05(0x339)](){const _0x23b53a=_0x513e05;return this[_0x23b53a(0x42c)][_0x23b53a(0x243)]();}[_0x513e05(0x472)](){const _0x2bdc7a=_0x513e05;super[_0x2bdc7a(0x472)](),this[_0x2bdc7a(0x3f9)][_0x2bdc7a(0x344)](new Map()),this[_0x2bdc7a(0x3f9)][_0x2bdc7a(0x3ef)](),this[_0x2bdc7a(0x42c)][_0x2bdc7a(0x344)]([]),this[_0x2bdc7a(0x42c)]['complete']();}[_0x513e05(0x22b)](){const _0x15c93a=_0x513e05;this[_0x15c93a(0x219)]||(this[_0x15c93a(0x219)]=!0x0,this['_session'][_0x15c93a(0x43d)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))['subscribe'](_0x5b960c=>{const _0x503b7a=_0x15c93a;_0x5b960c===_0x19f8d7[_0x503b7a(0x2d3)]['ONLINE']?this[_0x503b7a(0x46f)]():this[_0x503b7a(0x32a)]();}),this[_0x15c93a(0x3a7)][_0x15c93a(0x1f0)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))['subscribe'](_0x8727a8=>{const _0x39eb0b=_0x15c93a,_0x40f268=_0x8727a8['eventID'];_0x40f268===_0x116492[_0x39eb0b(0x39b)][_0x39eb0b(0x2de)]&&this[_0x39eb0b(0x375)](_0x8727a8),_0x40f268===_0x116492['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x8727a8);}),this[_0x15c93a(0x317)](this[_0x15c93a(0x2fb)][_0x15c93a(0x27e)](_0x172e26=>{const _0x26cff4=_0x15c93a,_0x1fc34b=_0x172e26[_0x26cff4(0x41c)];_0x1fc34b!=null&&this[_0x26cff4(0x2a0)]&&_0x172e26['id']===_0x37acc3['SetTextSelectionsOperation']['id']&&_0x1fc34b['unitId']===this[_0x26cff4(0x2bb)]&&_0x1fc34b[_0x26cff4(0x3d5)]===!0x1&&_0x1fc34b[_0x26cff4(0x21d)][_0x26cff4(0x3ec)]>0x0&&this[_0x26cff4(0x2d4)](_0x1fc34b[_0x26cff4(0x21d)]);})),this[_0x15c93a(0x214)][_0x15c93a(0x2c4)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))[_0x15c93a(0x3ee)](_0x46c392=>{const _0x5584bd=_0x15c93a;if((_0x46c392==null?void 0x0:_0x46c392['unitID'])!==this[_0x5584bd(0x2bb)])return;const _0x2b5804={'eventID':_0x116492['CollaborationEvent'][_0x5584bd(0x2de)],'data':_0x46c392};this['_onCursorUpdate'](_0x2b5804);}),this[_0x15c93a(0x317)](this[_0x15c93a(0x2fb)][_0x15c93a(0x27e)](_0x265464=>{const _0x51df1a=_0x15c93a;if(_0x265464[_0x51df1a(0x41c)]==null)return;const _0x255346=_0x265464['params'];if(_0x265464['id']!==_0x37acc3['RichTextEditingMutation']['id']||_0x255346[_0x51df1a(0x2fa)]!==this['unitID'])return;const _0x52259b={'id':_0x51df1a(0x1f9),'params':_0x255346},_0x41ecf7=this[_0x51df1a(0x44c)];for(const [_0xa2d9f3,_0x38027f]of _0x41ecf7){const _0xb7d971={'id':_0x51df1a(0x1f9),'params':{'unitId':this[_0x51df1a(0x2bb)],'actions':null,'textRanges':_0x38027f[_0x51df1a(0x21d)]}},_0x379baa=this['_transformService'][_0x51df1a(0x414)](_0x52259b,_0xb7d971,!0x1);if(_0x116492['isTransformMutationFailure'](_0x379baa))throw _0x379baa[_0x51df1a(0x27b)];_0x41ecf7[_0x51df1a(0x40c)](_0xa2d9f3,{..._0x38027f,'ranges':_0x379baa[_0x51df1a(0x406)][_0x51df1a(0x41c)]['textRanges']});}queueMicrotask(()=>{const _0x16d919=_0x51df1a;this[_0x16d919(0x3f9)][_0x16d919(0x344)](_0x41ecf7);});})));}['_onCursorUpdate'](_0x3a88ac){const _0x27dd0b=_0x513e05;var _0x2b3dd5,_0x5063c4;const {memberID:_0x1d8101,selection:_0x17ce50}=_0x3a88ac['data'],_0x1c794c=_0x4a02b9(_0x17ce50),_0x90ab4a=(_0x5063c4=(_0x2b3dd5=this[_0x27dd0b(0x442)][_0x27dd0b(0x3df)](this[_0x27dd0b(0x2bb)],_0x1d8101))==null?void 0x0:_0x2b3dd5[_0x27dd0b(0x248)])!=null?_0x5063c4:'Unknown\x20user',_0x149026={'color':this[_0x27dd0b(0x3b0)][_0x27dd0b(0x3fc)](_0x1d8101),'name':_0x90ab4a,'ranges':_0x1c794c},_0x43f4ef=this['cursorInfo'];_0x43f4ef['set'](_0x1d8101,_0x149026),this[_0x27dd0b(0x3f9)][_0x27dd0b(0x344)](_0x43f4ef);}[_0x513e05(0x387)](_0x160718){const _0x310baf=_0x513e05,{memberID:_0x51e41d}=_0x160718['data'],_0x4c2462=this[_0x310baf(0x44c)];_0x4c2462['delete'](_0x51e41d),this[_0x310baf(0x3f9)]['next'](_0x4c2462);}['_toggleOnline'](){const _0x10249c=_0x513e05;var _0x162f73;if(this[_0x10249c(0x2a0)]=!0x0,((_0x162f73=this[_0x10249c(0x2b8)][_0x10249c(0x207)]())==null?void 0x0:_0x162f73[_0x10249c(0x353)]())!==this[_0x10249c(0x2bb)])return;const _0xc3f4fc=this[_0x10249c(0x499)][_0x10249c(0x309)](_0x37acc3[_0x10249c(0x381)])[_0x10249c(0x328)]();Array[_0x10249c(0x38f)](_0xc3f4fc)&&_0xc3f4fc[_0x10249c(0x3ec)]>0x0&&this[_0x10249c(0x2d4)](_0xc3f4fc);}[_0x513e05(0x32a)](){const _0x2b10c1=_0x513e05;this[_0x2b10c1(0x2a0)]=!0x1;}};_0x49a88b=_0x3dc6b8([_0x25e0f9(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0x25e0f9(0x3,_0x3772e7[_0x513e05(0x30b)](_0x2e3fbf)),_0x25e0f9(0x4,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x298)])),_0x25e0f9(0x5,_0x3772e7['Inject'](_0x39a103)),_0x25e0f9(0x6,_0x116492[_0x513e05(0x474)]),_0x25e0f9(0x7,_0x3772e7[_0x513e05(0x201)]),_0x25e0f9(0x8,_0x3772e7[_0x513e05(0x37d)])],_0x49a88b);var _0x64f36b=Object['getOwnPropertyDescriptor'],_0x3a993e=(_0x151cea,_0x4b0a69,_0x4afa2a,_0x5a8be6)=>{const _0x5c4733=_0x513e05;for(var _0x4473e3=_0x5a8be6>0x1?void 0x0:_0x5a8be6?_0x64f36b(_0x4b0a69,_0x4afa2a):_0x4b0a69,_0x1391fc=_0x151cea[_0x5c4733(0x3ec)]-0x1,_0xc360d0;_0x1391fc>=0x0;_0x1391fc--)(_0xc360d0=_0x151cea[_0x1391fc])&&(_0x4473e3=_0xc360d0(_0x4473e3)||_0x4473e3);return _0x4473e3;},_0x62df0b=(_0x186208,_0x55bff6)=>(_0x41bb77,_0x5719d3)=>_0x55bff6(_0x41bb77,_0x5719d3,_0x186208);const _0xc589c4=0x12c,_0x3203fd=0x64,_0x12dbb7=()=>{let _0xe1419=[],_0x409f1f=!0x1;return _0x2736a1=>{_0xe1419['push'](_0x2736a1),_0x409f1f||(_0x409f1f=!0x0,setTimeout(()=>{_0xe1419['forEach'](_0x2819ef=>_0x2819ef()),_0xe1419=[],_0x409f1f=!0x1;}));};};let _0x42473b=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x16f045,_0x3c650b,_0x4d534c,_0x303e87,_0x522873,_0x387eb3,_0x17bdec,_0x4420db){const _0x541eee=_0x513e05;super(),_0xfd5d9c(this,_0x541eee(0x2a0),!0x1),_0xfd5d9c(this,_0x541eee(0x219),!0x1),_0xfd5d9c(this,_0x541eee(0x3f9),new _0x104804['BehaviorSubject'](new Map())),_0xfd5d9c(this,_0x541eee(0x423),this[_0x541eee(0x3f9)][_0x541eee(0x2aa)]()),_0xfd5d9c(this,_0x541eee(0x42c),new _0x104804[(_0x541eee(0x493))]([])),_0xfd5d9c(this,'roomMembers$',this[_0x541eee(0x42c)][_0x541eee(0x372)](_0x104804[_0x541eee(0x212)](_0xc589c4))),_0xfd5d9c(this,_0x541eee(0x2d4),_0x3772e7['debounce']((_0x1fdf56,_0x557a50)=>{const _0x125735=_0x541eee,_0x3e1cb5={'eventID':_0x116492[_0x125735(0x39b)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x125735(0x2bb)],'memberID':this[_0x125735(0x3a7)][_0x125735(0x3a6)](),'selection':_0x4915ec['serializeRangeWithSheet'](_0x1fdf56,_0x557a50['range'])}};this[_0x125735(0x3a7)][_0x125735(0x24a)](_0x3e1cb5,this[_0x125735(0x2bb)]);},_0x3203fd)),(this[_0x541eee(0x2bb)]=_0x16f045,this['_session']=_0x3c650b,this[_0x541eee(0x499)]=_0x4d534c,this[_0x541eee(0x3b0)]=_0x303e87,this['_memberService']=_0x522873,this[_0x541eee(0x2b8)]=_0x387eb3,this[_0x541eee(0x2fb)]=_0x17bdec,this[_0x541eee(0x211)]=_0x4420db);}get[_0x513e05(0x44c)](){return this['_cursorInfo$']['getValue']();}get[_0x513e05(0x339)](){const _0x182f6e=_0x513e05;return this[_0x182f6e(0x42c)][_0x182f6e(0x243)]();}[_0x513e05(0x472)](){const _0x49c1d1=_0x513e05;super[_0x49c1d1(0x472)](),this[_0x49c1d1(0x3f9)][_0x49c1d1(0x344)](new Map()),this[_0x49c1d1(0x3f9)][_0x49c1d1(0x3ef)](),this[_0x49c1d1(0x42c)][_0x49c1d1(0x344)]([]),this[_0x49c1d1(0x42c)][_0x49c1d1(0x3ef)]();}[_0x513e05(0x22b)](){const _0x5b4bd7=_0x513e05;this['_init']||(this[_0x5b4bd7(0x219)]=!0x0,this[_0x5b4bd7(0x3a7)]['sessionStatus$'][_0x5b4bd7(0x372)](_0x104804[_0x5b4bd7(0x3e1)](this[_0x5b4bd7(0x3b1)]))[_0x5b4bd7(0x3ee)](_0x1a2d05=>{const _0xa3aadc=_0x5b4bd7;_0x1a2d05===_0x19f8d7[_0xa3aadc(0x2d3)][_0xa3aadc(0x431)]?this['_toggleOnline']():this[_0xa3aadc(0x32a)]();}),this['_session'][_0x5b4bd7(0x1f0)]['pipe'](_0x104804[_0x5b4bd7(0x3e1)](this[_0x5b4bd7(0x3b1)]))['subscribe'](_0x5bf2fd=>{const _0x11ff6f=_0x5b4bd7,_0x29d45a=_0x5bf2fd[_0x11ff6f(0x3f1)];_0x29d45a===_0x116492[_0x11ff6f(0x39b)][_0x11ff6f(0x2de)]&&this[_0x11ff6f(0x375)](_0x5bf2fd),_0x29d45a===_0x116492[_0x11ff6f(0x39b)][_0x11ff6f(0x2b5)]&&this[_0x11ff6f(0x387)](_0x5bf2fd);}),this[_0x5b4bd7(0x26a)](),this['disposeWithMe'](this[_0x5b4bd7(0x2fb)][_0x5b4bd7(0x27e)](_0x4821d9=>{const _0x3dee1c=_0x5b4bd7;if(this[_0x3dee1c(0x2a0)]&&_0x4821d9['id']===_0x235c42['SetSelectionsOperation']['id']&&_0x4821d9[_0x3dee1c(0x41c)][_0x3dee1c(0x2fa)]===this[_0x3dee1c(0x2bb)]){const _0x1eb5c5=_0x4821d9[_0x3dee1c(0x41c)];this[_0x3dee1c(0x2d4)](_0x1eb5c5[_0x3dee1c(0x1da)],_0x1eb5c5['selections'][0x0]);}})));}[_0x513e05(0x375)](_0x25b34f){const _0x549ff1=_0x513e05;var _0x50bdfc,_0x25a8b3;const {memberID:_0x406214,selection:_0x326768}=_0x25b34f[_0x549ff1(0x300)],{sheetName:_0x5af176,range:_0x4c2bf9}=_0x4915ec['deserializeRangeWithSheet'](_0x326768),_0x1ca767={'name':(_0x25a8b3=(_0x50bdfc=this[_0x549ff1(0x442)][_0x549ff1(0x3df)](this['unitID'],_0x406214))==null?void 0x0:_0x50bdfc[_0x549ff1(0x248)])!=null?_0x25a8b3:'Unknown\x20user','range':this['_getMergeRange'](_0x5af176,_0x4c2bf9),'sheetID':_0x5af176,'color':this[_0x549ff1(0x3b0)]['assignAColorForMemberID'](_0x406214),'selection':_0x326768},_0x39f0a1=this['cursorInfo'];_0x39f0a1[_0x549ff1(0x40c)](_0x406214,_0x1ca767),this[_0x549ff1(0x3f9)][_0x549ff1(0x344)](_0x39f0a1);}[_0x513e05(0x387)](_0x464662){const _0x3b06cf=_0x513e05,{memberID:_0x525daf}=_0x464662[_0x3b06cf(0x300)],_0x60830e=this[_0x3b06cf(0x44c)];_0x60830e[_0x3b06cf(0x365)](_0x525daf),this[_0x3b06cf(0x3f9)][_0x3b06cf(0x344)](_0x60830e);}[_0x513e05(0x315)](_0x4fc43c,_0x2b01bd){const _0x53c8cf=_0x513e05;var _0x10f591,_0x4bb857;const _0x2a493d=(_0x4bb857=(_0x10f591=this[_0x53c8cf(0x2b8)][_0x53c8cf(0x286)](this[_0x53c8cf(0x2bb)]))==null?void 0x0:_0x10f591[_0x53c8cf(0x271)](_0x4fc43c))==null?void 0x0:_0x4bb857[_0x53c8cf(0x492)]();return(_0x2a493d==null?void 0x0:_0x2a493d[_0x53c8cf(0x368)](_0x516345=>_0x3772e7['Rectangle'][_0x53c8cf(0x241)](_0x516345,_0x2b01bd)))||_0x2b01bd;}[_0x513e05(0x26a)](){const _0x43f4c4=_0x513e05,_0x5be895=new _0x3772e7['DisposableCollection'](),_0x4aa4fb=_0x12dbb7(),_0xb69b68=()=>{const _0x5debf2=_0x3621;_0x5be895[_0x5debf2(0x472)]();const _0x13cd8b=(_0x49a93e,_0x436872,_0x52febc,_0x481ef8)=>{const _0x30043a=_0x5debf2;let _0x1a8ab7=[];switch(_0x49a93e['id']){case _0x235c42[_0x30043a(0x223)]['DeleteRangeMoveLeftCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x308)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x401)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x310)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x206)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x20e)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x2d1)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x480)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x276)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x3b9)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)]['InsertRowCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x479)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x456)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x358)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)]['RemoveColCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x1be)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x487)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x3cd)](_0x49a93e,_0x481ef8);break;}}const _0x16173e=_0x235c42[_0x30043a(0x1e4)](_0x1a8ab7,_0x481ef8),_0x4b6746=this[_0x30043a(0x44c)][_0x30043a(0x309)](_0x436872);if(_0x4b6746&&_0x16173e){const _0x30cbda={..._0x4b6746,'range':_0x16173e};this[_0x30043a(0x44c)][_0x30043a(0x40c)](_0x436872,_0x30cbda),_0x4aa4fb(()=>{const _0x5cd1ff=_0x30043a,_0x1e0e9a=this['_refRangeService'][_0x5cd1ff(0x367)](_0x16173e,_0x4dbc29=>(_0x1e0e9a[_0x5cd1ff(0x472)](),_0x13cd8b(_0x4dbc29,_0x436872,_0x52febc,_0x16173e)));_0x5be895['add'](_0x1e0e9a);});}return{'redos':[],'undos':[]};};this[_0x5debf2(0x44c)][_0x5debf2(0x2a8)]((_0x2d8721,_0x472e7a)=>{const _0x5a349d=_0x5debf2,{range:_0x3092e1,sheetID:_0x19b8f8}=_0x2d8721,_0x25d00f=this[_0x5a349d(0x211)][_0x5a349d(0x367)](_0x3092e1,_0x19ce1f=>(_0x25d00f[_0x5a349d(0x472)](),_0x13cd8b(_0x19ce1f,_0x472e7a,_0x19b8f8,_0x3092e1)));_0x5be895['add'](_0x25d00f);});};this[_0x43f4c4(0x317)](_0x3772e7[_0x43f4c4(0x385)](this[_0x43f4c4(0x3f9)][_0x43f4c4(0x3ee)](()=>{_0xb69b68();})));}[_0x513e05(0x46f)](){const _0xbdf5be=_0x513e05;var _0x58cdc3,_0x3deae2;if(this['_online']=!0x0,((_0x58cdc3=this[_0xbdf5be(0x2b8)][_0xbdf5be(0x207)]())==null?void 0x0:_0x58cdc3['getUnitId']())!==this[_0xbdf5be(0x2bb)])return;const _0x52e50f=(_0x3deae2=this['_injector'][_0xbdf5be(0x309)](_0x235c42['SheetsSelectionsService'])[_0xbdf5be(0x30f)]())==null?void 0x0:_0x3deae2[0x0],_0x476167=this['_univerInstanceService']['getCurrentUnitForType'](_0x3772e7['UniverInstanceType'][_0xbdf5be(0x437)])[_0xbdf5be(0x455)]();_0x52e50f&&_0x476167&&this[_0xbdf5be(0x2d4)](_0x476167[_0xbdf5be(0x466)](),_0x52e50f);}[_0x513e05(0x32a)](){const _0x467a81=_0x513e05;this[_0x467a81(0x2a0)]=!0x1;}};_0x42473b=_0x3a993e([_0x62df0b(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x62df0b(0x3,_0x3772e7[_0x513e05(0x30b)](_0x2e3fbf)),_0x62df0b(0x4,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x298)])),_0x62df0b(0x5,_0x3772e7['IUniverInstanceService']),_0x62df0b(0x6,_0x3772e7[_0x513e05(0x37d)]),_0x62df0b(0x7,_0x3772e7[_0x513e05(0x30b)](_0x235c42[_0x513e05(0x34c)]))],_0x42473b);var _0x5dc3a1=Object[_0x513e05(0x33c)],_0x1ed3bf=(_0x2b2032,_0x4f2dbe,_0x25b904,_0xa3937e)=>{const _0x5d5bb5=_0x513e05;for(var _0x1e7001=_0xa3937e>0x1?void 0x0:_0xa3937e?_0x5dc3a1(_0x4f2dbe,_0x25b904):_0x4f2dbe,_0x23c4c7=_0x2b2032[_0x5d5bb5(0x3ec)]-0x1,_0x1b4516;_0x23c4c7>=0x0;_0x23c4c7--)(_0x1b4516=_0x2b2032[_0x23c4c7])&&(_0x1e7001=_0x1b4516(_0x1e7001)||_0x1e7001);return _0x1e7001;},_0x3b0807=(_0x5e6722,_0x2cf0e1)=>(_0xec3dd3,_0x17f663)=>_0x2cf0e1(_0xec3dd3,_0x17f663,_0x5e6722);let _0x2234d1=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x21b776,_0x1440f5,_0x40fa11){const _0x173aed=_0x513e05;super(),_0xfd5d9c(this,'_entities',new Map()),_0xfd5d9c(this,_0x173aed(0x357),new _0x104804[(_0x173aed(0x269))]()),(this[_0x173aed(0x2b8)]=_0x21b776,this[_0x173aed(0x499)]=_0x1440f5,this[_0x173aed(0x3c9)]=_0x40fa11,this[_0x173aed(0x219)]());}[_0x513e05(0x472)](){const _0x2d623f=_0x513e05;super[_0x2d623f(0x472)](),this['_entityInit$'][_0x2d623f(0x3ef)](),this[_0x2d623f(0x3dc)]['forEach'](_0x330c0a=>_0x330c0a[_0x2d623f(0x472)]());}[_0x513e05(0x292)](_0x3bbd6c){const _0x55379c=_0x513e05;return this['_entities']['has'](_0x3bbd6c)?this[_0x55379c(0x3dc)]['get'](_0x3bbd6c)[_0x55379c(0x423)]:this[_0x55379c(0x357)]['pipe'](_0x104804[_0x55379c(0x3e4)](_0x2aae8a=>_0x2aae8a['unitID']===_0x3bbd6c),_0x104804[_0x55379c(0x3a3)](_0x5864c8=>_0x5864c8[_0x55379c(0x423)]));}[_0x513e05(0x219)](){const _0x20879d=_0x513e05;this[_0x20879d(0x2b8)][_0x20879d(0x40b)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x437)])[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this[_0x20879d(0x3b1)]))['subscribe'](async _0x579fce=>{const _0x5a0ff1=_0x20879d,_0x1cd7d5=_0x579fce['getUnitId'](),_0x77853b=await this[_0x5a0ff1(0x314)](_0x1cd7d5);this[_0x5a0ff1(0x357)][_0x5a0ff1(0x344)](_0x77853b),this[_0x5a0ff1(0x3dc)][_0x5a0ff1(0x40c)](_0x1cd7d5,_0x77853b);}),this[_0x20879d(0x2b8)][_0x20879d(0x40b)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x366)])[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this['dispose$']))[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e4)](_0xfe335f=>!_0xfe335f[_0x20879d(0x353)]()[_0x20879d(0x43c)]('__')))['subscribe'](async _0xf36c05=>{const _0x1311ef=_0x20879d,_0x106d92=_0xf36c05[_0x1311ef(0x353)](),_0x280553=await this['_startDocCollabCursor'](_0x106d92);this[_0x1311ef(0x357)][_0x1311ef(0x344)](_0x280553),this[_0x1311ef(0x3dc)][_0x1311ef(0x40c)](_0x106d92,_0x280553);}),_0x104804[_0x20879d(0x1eb)](this[_0x20879d(0x2b8)][_0x20879d(0x2ef)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x366)]),this[_0x20879d(0x2b8)][_0x20879d(0x2ef)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x437)]))[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this[_0x20879d(0x3b1)]))[_0x20879d(0x3ee)](_0x19fe44=>{const _0x2c7ccc=_0x20879d,_0x3607a3=_0x19fe44[_0x2c7ccc(0x353)](),_0x1df31b=this[_0x2c7ccc(0x3dc)][_0x2c7ccc(0x309)](_0x3607a3);_0x1df31b&&(_0x1df31b[_0x2c7ccc(0x472)](),this[_0x2c7ccc(0x3dc)][_0x2c7ccc(0x365)](_0x3607a3));});}async[_0x513e05(0x314)](_0x563269){const _0x4a0783=_0x513e05,_0x112671=await this[_0x4a0783(0x3c9)][_0x4a0783(0x3b4)](_0x563269),_0x2f7275=this['_injector'][_0x4a0783(0x261)](_0x42473b,_0x563269,_0x112671);return _0x2f7275[_0x4a0783(0x22b)](),_0x2f7275;}async[_0x513e05(0x469)](_0x214d8c){const _0x4b747f=_0x513e05,_0x2023ed=await this[_0x4b747f(0x3c9)][_0x4b747f(0x3b4)](_0x214d8c),_0x3c416e=this['_injector'][_0x4b747f(0x261)](_0x49a88b,_0x214d8c,_0x2023ed);return _0x3c416e[_0x4b747f(0x22b)](),_0x3c416e;}};_0x2234d1=_0x1ed3bf([_0x3b0807(0x0,_0x3772e7[_0x513e05(0x201)]),_0x3b0807(0x1,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x3b0807(0x2,_0x3772e7['Inject'](_0x19f8d7['CollaborationSessionService']))],_0x2234d1);const _0x2d8fb8=0x14,_0x4ee5d3=0xc8,_0x1a82ee=0x4,_0x55e3cb=0x5;function _0x2b814f(_0x17c2de,_0x4e4f02){const _0x314e70=_0x513e05;let {radius:_0x5077e8,width:_0x49b425,height:_0x284619}=_0x4e4f02;_0x5077e8=_0x5077e8!=null?_0x5077e8:0x0,_0x49b425=_0x49b425!=null?_0x49b425:0x1e,_0x284619=_0x284619!=null?_0x284619:0x1e;let _0x4e62ac=0x0,_0x34772a=0x0,_0x5a1273=0x0;_0x4e62ac=_0x34772a=_0x5a1273=Math['min'](_0x5077e8,_0x49b425/0x2,_0x284619/0x2),_0x17c2de[_0x314e70(0x453)](),_0x17c2de[_0x314e70(0x1f4)](_0x4e62ac,0x0),_0x17c2de[_0x314e70(0x3d0)](_0x49b425-_0x34772a,0x0),_0x17c2de[_0x314e70(0x334)](_0x49b425-_0x34772a,_0x34772a,_0x34772a,Math['PI']*0x3/0x2,0x0,!0x1),_0x17c2de[_0x314e70(0x3d0)](_0x49b425,_0x284619-_0x5a1273),_0x17c2de['arc'](_0x49b425-_0x5a1273,_0x284619-_0x5a1273,_0x5a1273,0x0,Math['PI']/0x2,!0x1),_0x17c2de[_0x314e70(0x3d0)](0x0,_0x284619),_0x17c2de[_0x314e70(0x3d0)](0x0,_0x4e62ac),_0x17c2de[_0x314e70(0x334)](_0x4e62ac,_0x4e62ac,_0x4e62ac,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x17c2de['closePath'](),_0x4e4f02['fill']&&(_0x17c2de['save'](),_0x17c2de[_0x314e70(0x270)]=_0x4e4f02['fill'],_0x4e4f02[_0x314e70(0x3ba)]===_0x314e70(0x3e7)?_0x17c2de[_0x314e70(0x2bd)](_0x314e70(0x3e7)):_0x17c2de[_0x314e70(0x2bd)](),_0x17c2de[_0x314e70(0x2be)]());}class _0x1ebdbd extends _0x29b571[_0x513e05(0x1ce)]{constructor(_0x3ec316,_0x1f8f72){const _0x2a7592=_0x513e05;super(_0x3ec316,_0x1f8f72),_0xfd5d9c(this,'color'),_0xfd5d9c(this,_0x2a7592(0x24e)),(this['color']=_0x1f8f72==null?void 0x0:_0x1f8f72[_0x2a7592(0x336)],this[_0x2a7592(0x24e)]=_0x1f8f72==null?void 0x0:_0x1f8f72[_0x2a7592(0x24e)]);}static['drawWith'](_0x533679,_0x37c57e){const _0xabdeb1=_0x513e05,{text:_0x43fe14,color:_0x1b6bfa}=_0x37c57e;_0x533679[_0xabdeb1(0x388)](),_0x533679[_0xabdeb1(0x2f6)]=_0xabdeb1(0x360);const _0x57c439=_0x533679[_0xabdeb1(0x3c2)](_0x43fe14)[_0xabdeb1(0x313)],_0xb76790=Math[_0xabdeb1(0x2b3)](_0x57c439+0x2*_0x1a82ee,_0x4ee5d3);_0x2b814f(_0x533679,{'height':_0x2d8fb8,'radius':0x4,'width':_0xb76790,'fill':_0x1b6bfa}),_0x533679[_0xabdeb1(0x270)]=_0xabdeb1(0x2b9);const _0x14e1c6=_0x1a82ee,_0x23fc03=_0x2d8fb8-_0x55e3cb,_0x5ee7e5=_0x4ee5d3-0x2*_0x1a82ee;if(_0x57c439>_0x5ee7e5){let _0x3ad4ba='',_0x3f4796=0x0;for(const _0x7d3095 of _0x43fe14){const _0x5c8ab3=_0x533679[_0xabdeb1(0x3c2)](_0x7d3095)[_0xabdeb1(0x313)];if(_0x3f4796+_0x5c8ab3<=_0x5ee7e5-_0x533679[_0xabdeb1(0x3c2)](_0xabdeb1(0x354))['width'])_0x3ad4ba+=_0x7d3095,_0x3f4796+=_0x5c8ab3;else{_0x3ad4ba+=_0xabdeb1(0x354);break;}}_0x533679[_0xabdeb1(0x3cb)](_0x3ad4ba,_0x14e1c6,_0x23fc03);}else _0x533679['fillText'](_0x43fe14,_0x14e1c6,_0x23fc03);_0x533679[_0xabdeb1(0x2be)]();}[_0x513e05(0x3e2)](_0x375269){const _0xe7766d=_0x513e05;_0x1ebdbd[_0xe7766d(0x35c)](_0x375269,this);}}const _0x32883b='collab-text-anchor-',_0x51bf40='collab-text-range-',_0x474afd=_0x513e05(0x47b),_0x404681=0x6,_0x40e8c1=1.5,_0x136e3c=0x4,_0x104b0d=1.5,_0x551ba4=_0x513e05(0x1c6);class _0xe6a382{constructor(_0x3a76f4,_0x5bf1e5,_0x497eeb,_0x213938){const _0x2a0e42=_0x513e05;_0xfd5d9c(this,_0x2a0e42(0x240),[]),_0xfd5d9c(this,_0x2a0e42(0x380),null),_0xfd5d9c(this,_0x2a0e42(0x3de),null),_0xfd5d9c(this,_0x2a0e42(0x3c0),null),_0xfd5d9c(this,_0x2a0e42(0x46d),null),_0xfd5d9c(this,_0x2a0e42(0x42f),null),(this['_cursor']=_0x3a76f4,this[_0x2a0e42(0x333)]=_0x5bf1e5,this['_docSkeleton']=_0x497eeb,this['_document']=_0x213938,this[_0x2a0e42(0x497)]());}set[_0x513e05(0x31b)](_0x15b9f8){const _0x89e8f8=_0x513e05;_0x15b9f8?(this[_0x89e8f8(0x3c0)]&&this['_anchorDot'][_0x89e8f8(0x2b6)](),this[_0x89e8f8(0x3de)]&&this['_textBubble'][_0x89e8f8(0x345)]()):(this[_0x89e8f8(0x3c0)]&&this['_anchorDot']['show'](),this[_0x89e8f8(0x3de)]&&this['_textBubble'][_0x89e8f8(0x2b6)]());}[_0x513e05(0x472)](){const _0x29d28b=_0x513e05;for(const _0x3892a0 of this[_0x29d28b(0x240)])_0x3892a0[_0x29d28b(0x472)]();this['_textBubble']&&this[_0x29d28b(0x3de)][_0x29d28b(0x472)](),this[_0x29d28b(0x3c0)]&&this[_0x29d28b(0x3c0)][_0x29d28b(0x472)](),this[_0x29d28b(0x380)]&&this[_0x29d28b(0x380)][_0x29d28b(0x472)](),this[_0x29d28b(0x42f)]&&this[_0x29d28b(0x42f)]();}[_0x513e05(0x497)](){const _0x535f32=_0x513e05;var _0x1d5092;const {_docSkeleton:_0x326ec8,_document:_0x8a97c4}=this,{color:_0x130bb5,name:_0x4d1d4c,ranges:_0x2e8889}=this[_0x535f32(0x48d)],_0xe52f85=_0x8a97c4[_0x535f32(0x1ef)](),{docsLeft:_0x154a33,docsTop:_0x1d8d7c}=_0xe52f85,_0x2b713a=new _0x7ab617[(_0x535f32(0x3cf))](_0xe52f85,_0x326ec8);for(const {startOffset:_0x890178,endOffset:_0xd331bc,rangeType:_0x529d8b,segmentId:_0x4098f3,segmentPage:_0x54f6cb,collapsed:_0x383d2d,isActive:_0x13c2ee}of _0x2e8889){const _0x4b3b4e=_0x326ec8['findNodePositionByCharIndex'](_0x890178,!0x0,_0x4098f3,_0x54f6cb);let _0x3deb1b=_0x326ec8['findNodePositionByCharIndex'](_0xd331bc,!0x0,_0x4098f3,_0x54f6cb);if(_0x3deb1b==null&&(_0x3deb1b=_0x326ec8[_0x535f32(0x349)](_0xd331bc-0x1,!0x1,_0x4098f3,_0x54f6cb)),_0x13c2ee){const {contentBoxPointGroup:_0x2defa4}=_0x2b713a[_0x535f32(0x1f8)](_0x3deb1b,_0x3deb1b);if(_0x2defa4[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x2b4)](_0x130bb5,_0x2defa4,_0x154a33,_0x1d8d7c,_0x4d1d4c),this['_eventUnsubscribe']=this[_0x535f32(0x363)]();}if(_0x4b3b4e&&_0x3deb1b){if(_0x529d8b===_0x3772e7['DOC_RANGE_TYPE'][_0x535f32(0x3b7)]){const _0x182a96=new _0x7ab617[(_0x535f32(0x3a8))](_0xe52f85,_0x326ec8),{pointGroup:_0xb0f904}=(_0x1d5092=_0x182a96[_0x535f32(0x1f8)](_0x4b3b4e,_0x3deb1b))!=null?_0x1d5092:{};if(_0xb0f904==null||_0xb0f904[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x282)](_0x130bb5,_0xb0f904,_0x154a33,_0x1d8d7c);}else{if(!_0x383d2d){const {borderBoxPointGroup:_0x2d1d71}=_0x2b713a[_0x535f32(0x1f8)](_0x4b3b4e,_0x3deb1b);if(_0x2d1d71[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x25f)](_0x130bb5,_0x2d1d71,_0x154a33,_0x1d8d7c);}}}}}[_0x513e05(0x2b4)](_0x48fb6d,_0x37181b,_0x135a11,_0x40c1a8,_0x458422){const _0x34bbe5=_0x513e05,_0x43fa79=this['_getAnchorBounding'](_0x37181b),{left:_0x2301c3,top:_0x3ce6bf,height:_0x833ae6}=_0x43fa79,_0x52170d=this[_0x34bbe5(0x429)](),_0x3c6373=_0x104b0d/_0x52170d,_0x28b6bf=new _0x29b571[(_0x34bbe5(0x460))](_0x32883b+_0x3772e7['generateRandomId'](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8,'height':_0x833ae6,'width':_0x40e8c1,'fill':_0x48fb6d||_0x29b571['getColor'](_0x3772e7['COLORS'][_0x34bbe5(0x304)],0x0),'strokeWidth':_0x3c6373,'stroke':_0x551ba4,'evented':!0x0});this[_0x34bbe5(0x380)]=_0x28b6bf,this['_scene'][_0x34bbe5(0x28c)](_0x28b6bf,_0x7ab617['TEXT_RANGE_LAYER_INDEX']);const _0x5e001c=new _0x29b571[(_0x34bbe5(0x460))](_0x32883b+_0x3772e7[_0x34bbe5(0x2ae)](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8-_0x136e3c/0x2,'height':_0x136e3c,'width':_0x136e3c,'fill':_0x48fb6d||_0x29b571[_0x34bbe5(0x3f8)](_0x3772e7['COLORS'][_0x34bbe5(0x304)],0x0),'strokeWidth':0x0,'stroke':_0x48fb6d||_0x29b571[_0x34bbe5(0x3f8)](_0x3772e7[_0x34bbe5(0x221)][_0x34bbe5(0x304)],0x0),'evented':!0x1});this[_0x34bbe5(0x3c0)]=_0x5e001c,this[_0x34bbe5(0x333)][_0x34bbe5(0x28c)](_0x5e001c,_0x7ab617[_0x34bbe5(0x1fd)]);const _0x312b09=new _0x1ebdbd(_0x32883b+_0x3772e7['generateRandomId'](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8-_0x2d8fb8,'text':_0x458422,'color':_0x48fb6d});this['_textBubble']=_0x312b09,this['_scene']['addObject'](_0x312b09,_0x7ab617[_0x34bbe5(0x1fd)]),this['_hover']=!0x1;}['_handleHover'](){const _0x358d32=_0x513e05,_0x2b8d64=this[_0x358d32(0x380)][_0x358d32(0x20b)]['subscribeEvent'](()=>{const _0x2a5a81=_0x358d32;this[_0x2a5a81(0x31b)]=!0x0;}),_0x2a9906=this['_anchor'][_0x358d32(0x258)]['subscribeEvent'](()=>{const _0x2ee4d3=_0x358d32;this[_0x2ee4d3(0x46d)]&&clearTimeout(this[_0x2ee4d3(0x46d)]),this[_0x2ee4d3(0x46d)]=setTimeout(()=>{const _0x7e5813=_0x2ee4d3;this[_0x7e5813(0x31b)]=!0x1;},0x7d0);});return()=>{const _0x4111f6=_0x358d32;_0x2b8d64[_0x4111f6(0x383)](),_0x2a9906[_0x4111f6(0x383)]();};}[_0x513e05(0x25f)](_0x2aed28,_0x5f472e,_0x1e0e42,_0x2fbba8){const _0x508fb2=_0x513e05,_0x11c010=new _0x3772e7['ColorKit'](_0x2aed28)[_0x508fb2(0x1c8)](0.2)[_0x508fb2(0x484)](),_0x552c01=new _0x29b571[(_0x508fb2(0x319))](_0x51bf40+_0x3772e7['generateRandomId'](_0x404681),{'pointsGroup':_0x5f472e,'fill':_0x11c010||_0x29b571[_0x508fb2(0x3f8)](_0x3772e7[_0x508fb2(0x221)][_0x508fb2(0x304)],0.2),'left':_0x1e0e42,'top':_0x2fbba8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x508fb2(0x240)][_0x508fb2(0x2e0)](_0x552c01),this['_scene'][_0x508fb2(0x28c)](_0x552c01,_0x7ab617[_0x508fb2(0x1fd)]);}[_0x513e05(0x282)](_0x11f0bf,_0x2e5dc,_0x45b373,_0x5e4286){const _0x35729f=_0x513e05,_0x328aad=new _0x3772e7[(_0x35729f(0x236))](_0x11f0bf)['setAlpha'](0.2)[_0x35729f(0x484)](),_0x4e30cd=new _0x29b571[(_0x35729f(0x319))](_0x474afd+_0x3772e7[_0x35729f(0x2ae)](_0x404681),{'pointsGroup':_0x2e5dc,'fill':_0x328aad||_0x29b571[_0x35729f(0x3f8)](_0x3772e7['COLORS'][_0x35729f(0x304)],0.2),'left':_0x45b373,'top':_0x5e4286,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x35729f(0x240)]['push'](_0x4e30cd),this[_0x35729f(0x333)]['addObject'](_0x4e30cd,_0x7ab617['TEXT_RANGE_LAYER_INDEX']);}[_0x513e05(0x3fd)](_0x11e699){const _0x4e39fd=_0x11e699[0x0],_0x47c9db=_0x4e39fd[0x0],_0x14f768=_0x4e39fd[0x2],{x:_0x6fcd1e,y:_0x49469c}=_0x47c9db,{x:_0x106562,y:_0x3eb4b9}=_0x14f768;return{'left':_0x6fcd1e,'top':_0x49469c,'width':_0x106562-_0x6fcd1e,'height':_0x3eb4b9-_0x49469c};}['_getScale'](){const _0x283284=_0x513e05,{scaleX:_0x23a028,scaleY:_0x12e7eb}=this[_0x283284(0x333)][_0x283284(0x254)]();return Math['max'](_0x23a028,_0x12e7eb);}}var _0x318d1d=Object[_0x513e05(0x33c)],_0xfd50fd=(_0x12307b,_0x528f88,_0x5419b1,_0x4c881d)=>{const _0x50b167=_0x513e05;for(var _0x25484c=_0x4c881d>0x1?void 0x0:_0x4c881d?_0x318d1d(_0x528f88,_0x5419b1):_0x528f88,_0xdace3a=_0x12307b[_0x50b167(0x3ec)]-0x1,_0x5a3420;_0xdace3a>=0x0;_0xdace3a--)(_0x5a3420=_0x12307b[_0xdace3a])&&(_0x25484c=_0x5a3420(_0x25484c)||_0x25484c);return _0x25484c;},_0x1f5c41=(_0x384e79,_0x53c53d)=>(_0x4b594d,_0x14560f)=>_0x53c53d(_0x4b594d,_0x14560f,_0x384e79);let _0x4d05f1=class extends _0x3772e7['RxDisposable']{constructor(_0x2cafae,_0x90c3f6,_0x2fc4f,_0x280736,_0x315fca){const _0x29490f=_0x513e05;super(),_0xfd5d9c(this,_0x29490f(0x35a),[]),_0xfd5d9c(this,'_cursors',[]),(this['_context']=_0x2cafae,this[_0x29490f(0x3b8)]=_0x90c3f6,this[_0x29490f(0x38d)]=_0x2fc4f,this[_0x29490f(0x2fb)]=_0x280736,this[_0x29490f(0x323)]=_0x315fca,this[_0x29490f(0x219)]());}[_0x513e05(0x219)](){const _0x5f0dfe=_0x513e05,_0x588e68=this[_0x5f0dfe(0x2f4)][_0x5f0dfe(0x2fa)],_0x3557d2=this[_0x5f0dfe(0x3b8)];this[_0x5f0dfe(0x317)](_0x104804[_0x5f0dfe(0x30d)]([this[_0x5f0dfe(0x38d)]['getCollabCursors$'](_0x588e68),this[_0x5f0dfe(0x323)][_0x5f0dfe(0x3d1)]])[_0x5f0dfe(0x372)](_0x568e97[_0x5f0dfe(0x407)](([_0x1d325d,_0x1dbed5])=>({'skeleton':_0x3557d2['getSkeleton'](),'cursors':[..._0x1d325d[_0x5f0dfe(0x39d)]()]['flatMap'](_0x4fa6f2=>({..._0x4fa6f2,'color':this[_0x5f0dfe(0x323)][_0x5f0dfe(0x476)](_0x4fa6f2[_0x5f0dfe(0x336)])}))})))[_0x5f0dfe(0x3ee)](_0x3478b0=>{const _0x1e9d27=_0x5f0dfe;if(this[_0x1e9d27(0x2b0)](),_0x3478b0){const {skeleton:_0x155408,cursors:_0xee3ba7}=_0x3478b0;this[_0x1e9d27(0x316)](_0x155408,_0xee3ba7);}})),this[_0x5f0dfe(0x2cb)](),this[_0x5f0dfe(0x450)]();}[_0x513e05(0x316)](_0x420556,_0x14f122){const _0x4604c1=_0x513e05,{scene:_0x4a218c,mainComponent:_0x2ccdda}=this['_context'],_0x263af1=_0x14f122['map'](_0x3fb87c=>new _0xe6a382(_0x3fb87c,_0x4a218c,_0x420556,_0x2ccdda));this[_0x4604c1(0x35a)]=_0x263af1,this['_cursors']=_0x14f122;}[_0x513e05(0x2a4)](){const _0x5437c4=_0x513e05;this[_0x5437c4(0x2b0)]();const {scene:_0x1d80f5,mainComponent:_0x456d22}=this[_0x5437c4(0x2f4)],_0x57d739=this[_0x5437c4(0x3b8)][_0x5437c4(0x338)](),_0x10689d=this[_0x5437c4(0x489)][_0x5437c4(0x407)](_0x249b8a=>new _0xe6a382(_0x249b8a,_0x1d80f5,_0x57d739,_0x456d22));this[_0x5437c4(0x35a)]=_0x10689d;}['_removeCollabCursors'](){const _0x13d2d5=_0x513e05;this[_0x13d2d5(0x35a)][_0x13d2d5(0x2a8)](_0x150b4e=>_0x150b4e[_0x13d2d5(0x472)]()),this[_0x13d2d5(0x35a)]=[];}['_initCommandExecutedListener'](){const _0x320ca5=_0x513e05,_0x449bbe=[_0x7ab617[_0x320ca5(0x410)]['id']];this[_0x320ca5(0x317)](this['_commandService']['onCommandExecuted'](_0xf36dd0=>{const _0xa27884=_0x320ca5;_0x449bbe[_0xa27884(0x40d)](_0xf36dd0['id'])&&_0xf36dd0[_0xa27884(0x41c)]['unitId']===this['_context'][_0xa27884(0x2fa)]&&this[_0xa27884(0x2a4)]();}));}['_initResize'](){const _0x55ac46=_0x513e05;this[_0x55ac46(0x317)](_0x3772e7[_0x55ac46(0x2d8)](this[_0x55ac46(0x2f4)]['engine']['onTransformChange$'])[_0x55ac46(0x372)](_0x568e97[_0x55ac46(0x3e4)](_0x12e2d8=>_0x12e2d8[_0x55ac46(0x23f)]===_0x29b571['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x55ac46(0x218)]),_0x568e97[_0x55ac46(0x411)](0x10))['subscribe'](()=>{const _0x1e96d7=_0x55ac46;this[_0x1e96d7(0x2a4)]();}));}};_0x4d05f1=_0xfd50fd([_0x1f5c41(0x1,_0x3772e7['Inject'](_0x37acc3[_0x513e05(0x465)])),_0x1f5c41(0x2,_0x3772e7['Inject'](_0x2234d1)),_0x1f5c41(0x3,_0x3772e7['ICommandService']),_0x1f5c41(0x4,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x2e6)]))],_0x4d05f1);const _0x8ae3bd=0x1,_0x519199=1.5;class _0xc79a86 extends _0x29b571[_0x513e05(0x1ce)]{constructor(_0x39987c,_0xda71b0){const _0x43e7ef=_0x513e05;super(_0x39987c,_0xda71b0),_0xfd5d9c(this,'_color'),_0xfd5d9c(this,_0x43e7ef(0x1f2),!0x1),_0xfd5d9c(this,'_range'),_0xfd5d9c(this,'_name',''),_0xfd5d9c(this,'_labelPosition','top'),_0xfd5d9c(this,_0x43e7ef(0x31a)),(_0xda71b0&&this[_0x43e7ef(0x3e0)](_0xda71b0),this[_0x43e7ef(0x20b)][_0x43e7ef(0x37a)](()=>this[_0x43e7ef(0x3e0)]({'hovered':!0x0})),this['onPointerLeave$'][_0x43e7ef(0x37a)](()=>this[_0x43e7ef(0x3e0)]({'hovered':!0x1})));}['setShapeProps'](_0x3e8aaf){const _0x5d3463=_0x513e05;var _0x5b3bac,_0x426284,_0x4227f7,_0x29dc60,_0x33f5d8,_0x32e118;this[_0x5d3463(0x23e)]=(_0x5b3bac=_0x3e8aaf[_0x5d3463(0x336)])!=null?_0x5b3bac:this[_0x5d3463(0x23e)],this[_0x5d3463(0x1f2)]=(_0x426284=_0x3e8aaf[_0x5d3463(0x3ff)])!=null?_0x426284:this['_hovered'],this['_range']=(_0x4227f7=_0x3e8aaf[_0x5d3463(0x2f9)])!=null?_0x4227f7:this[_0x5d3463(0x2dc)],this[_0x5d3463(0x2dd)]=(_0x29dc60=_0x3e8aaf[_0x5d3463(0x248)])!=null?_0x29dc60:this['_name'],this[_0x5d3463(0x1e7)]=(_0x33f5d8=_0x3e8aaf[_0x5d3463(0x2e5)])!=null?_0x33f5d8:this[_0x5d3463(0x1e7)],this[_0x5d3463(0x31a)]=(_0x32e118=_0x3e8aaf['backgroundColor'])!=null?_0x32e118:this[_0x5d3463(0x31a)],this[_0x5d3463(0x41d)]({'width':_0x3e8aaf[_0x5d3463(0x313)],'height':_0x3e8aaf[_0x5d3463(0x2b2)]});}[_0x513e05(0x1cd)](_0x17432b){const _0xfd46d5=_0x513e05,{row:_0x2e1e51,column:_0x5b0463}=_0x17432b;if(_0x2e1e51>=this[_0xfd46d5(0x2dc)][_0xfd46d5(0x311)]&&_0x2e1e51<=this['_range'][_0xfd46d5(0x408)]&&_0x5b0463>=this[_0xfd46d5(0x2dc)][_0xfd46d5(0x2d6)]&&_0x5b0463<=this[_0xfd46d5(0x2dc)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0xfd46d5(0x3e0)]({'hovered':!0x1});}[_0x513e05(0x454)](_0x2057c2){return!0x1;}[_0x513e05(0x3e2)](_0x2213d7){const _0x1c80a3=_0x513e05;_0x29b571[_0x1c80a3(0x460)][_0x1c80a3(0x35c)](_0x2213d7,{'width':this['width'],'height':this[_0x1c80a3(0x2b2)],'strokeWidth':_0x519199,'stroke':this[_0x1c80a3(0x23e)],'evented':!0x1,'fill':this[_0x1c80a3(0x31a)]}),this[_0x1c80a3(0x1f2)]&&(_0x2213d7[_0x1c80a3(0x388)](),_0x2213d7['transform'](0x1,0x0,0x0,0x1,this[_0x1c80a3(0x313)],this[_0x1c80a3(0x1e7)]===_0x1c80a3(0x1e3)?0x0:-_0x2d8fb8),_0x1ebdbd['drawWith'](_0x2213d7,{'text':this[_0x1c80a3(0x2dd)],'color':this[_0x1c80a3(0x23e)]}),_0x2213d7['restore']());}}var _0x2e98ed=Object[_0x513e05(0x33c)],_0x21ad4b=(_0x40f8b9,_0x48fd6a,_0x51b62c,_0x108bef)=>{const _0x549863=_0x513e05;for(var _0x186b3f=_0x108bef>0x1?void 0x0:_0x108bef?_0x2e98ed(_0x48fd6a,_0x51b62c):_0x48fd6a,_0x51732f=_0x40f8b9[_0x549863(0x3ec)]-0x1,_0x5e49e9;_0x51732f>=0x0;_0x51732f--)(_0x5e49e9=_0x40f8b9[_0x51732f])&&(_0x186b3f=_0x5e49e9(_0x186b3f)||_0x186b3f);return _0x186b3f;},_0x22e80f=(_0x53ab7b,_0x146e27)=>(_0x2c5c27,_0x1cfac3)=>_0x146e27(_0x2c5c27,_0x1cfac3,_0x53ab7b);const _0x354c78=0x1389;let _0x4fc936=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x31ee8c,_0x491daf,_0x70d571,_0x951809){const _0x7740ba=_0x513e05;super(),_0xfd5d9c(this,'_cursors',new Set()),_0xfd5d9c(this,_0x7740ba(0x24c),null),(this['_context']=_0x31ee8c,this[_0x7740ba(0x1f7)]=_0x491daf,this[_0x7740ba(0x38d)]=_0x70d571,this[_0x7740ba(0x323)]=_0x951809,this['_init']());}['_init'](){const _0x2c4811=_0x513e05;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x2c4811(0x372)](_0x568e97[_0x2c4811(0x3e1)](this[_0x2c4811(0x3b1)]),_0x568e97[_0x2c4811(0x3a3)](_0x5e7407=>{const _0x32580a=_0x2c4811;if(_0x5e7407){const _0x1c7166=_0x5e7407['sheetId'];return _0x104804[_0x32580a(0x30d)](this['_collabCursorController'][_0x32580a(0x292)](this[_0x32580a(0x2f4)][_0x32580a(0x2fa)]),this[_0x32580a(0x323)][_0x32580a(0x3d1)])['pipe'](_0x568e97[_0x32580a(0x407)](([_0x3fe3d7,_0x452339])=>{const _0x1b0b2f=_0x32580a,_0x5736f9=new Map();return _0x3fe3d7[_0x1b0b2f(0x2a8)]((_0x834c28,_0x3f43c2)=>{const _0x19f1fd=_0x1b0b2f;if(_0x834c28['sheetID']===_0x1c7166){const _0x3670ef={..._0x834c28};_0x3670ef['color']=this['_themeService']['getColorFromTheme'](_0x834c28[_0x19f1fd(0x336)]),_0x5736f9[_0x19f1fd(0x40c)](_0x3f43c2,_0x3670ef);}}),{'skeleton':_0x5e7407,'cursors':_0x5736f9};}));}return _0x104804['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x42bafc,cursors:_0x2a61ea})=>{const _0x43ed3d=_0x2c4811;this[_0x43ed3d(0x2b0)](),_0x42bafc&&this['_updateCollabCursors'](_0x42bafc,_0x2a61ea);}),this[_0x2c4811(0x1f7)][_0x2c4811(0x2ce)]['subscribe'](_0x2a8593=>{const _0x72553=_0x2c4811;if(_0x2a8593==null)return;const {skeleton:_0x35862e}=_0x2a8593,{scene:_0x2a6da1}=this['_context'];_0x2a6da1[_0x72553(0x362)][_0x72553(0x37a)](_0x3772e7[_0x72553(0x43a)](_0x20a506=>{const _0x1e5ff0=_0x72553;var _0x3dcbed,_0x3fa7d6;const {offsetX:_0x3a905c,offsetY:_0x4c480e}=_0x20a506,{x:_0x4cd532,y:_0x355cce}=_0x2a6da1[_0x1e5ff0(0x29b)](_0x29b571['Vector2'][_0x1e5ff0(0x32e)]([_0x3a905c,_0x4c480e])),{scaleX:_0x56d765,scaleY:_0x4bd465}=_0x2a6da1[_0x1e5ff0(0x254)](),_0x2bf5a9=_0x2a6da1[_0x1e5ff0(0x38a)](_0x29b571['SHEET_VIEWPORT_KEY'][_0x1e5ff0(0x2da)]),_0x50b788=_0x2a6da1[_0x1e5ff0(0x45f)](_0x29b571[_0x1e5ff0(0x253)][_0x1e5ff0(0x32e)]([_0x4cd532,_0x355cce]),_0x2bf5a9),_0x576aec=_0x35862e[_0x1e5ff0(0x404)](_0x3a905c,_0x4c480e,_0x56d765,_0x4bd465,_0x50b788);((_0x3dcbed=this[_0x1e5ff0(0x24c)])==null?void 0x0:_0x3dcbed['column'])===_0x576aec[_0x1e5ff0(0x275)]&&((_0x3fa7d6=this['_lastPointer'])==null?void 0x0:_0x3fa7d6['row'])===_0x576aec[_0x1e5ff0(0x1ee)]||this['_cursors'][_0x1e5ff0(0x2a8)](_0x103ccc=>{const _0xc34117=_0x1e5ff0;_0x103ccc[_0xc34117(0x1cd)](_0x576aec);});},0x64));});}['_updateCollabCursors'](_0x14c980,_0x15af29){const _0x204fa0=_0x513e05;var _0x4cbc01;const _0x684e3d=(_0x4cbc01=this[_0x204fa0(0x1f7)][_0x204fa0(0x44b)]())==null?void 0x0:_0x4cbc01[_0x204fa0(0x213)];if(!_0x684e3d)return;const _0x32757e=this[_0x204fa0(0x48c)]();if(!_0x32757e)return;this['_cursors'][_0x204fa0(0x2a8)](_0x22ca18=>{const _0x12d855=_0x204fa0;_0x22ca18[_0x12d855(0x3f4)]();});const {scene:_0x1d5bef}=_0x32757e,_0x3914ae=_0x56585e(Array[_0x204fa0(0x2a2)](_0x15af29['values']()))[_0x204fa0(0x407)](_0x2e68fa=>{const _0xe94795=_0x204fa0,{color:_0x37f57f,range:_0x25981e,name:_0x5bc598,selection:_0x40b755,sheetID:_0x12e2bf}=_0x2e68fa,{startColumn:_0x28a945,startRow:_0x2e7bfb,endColumn:_0x348f2a,endRow:_0x39fe65}=_0x25981e,_0x52c7f2=_0x3e18f2['getCoordByCell'](_0x2e7bfb,_0x28a945,_0x1d5bef,_0x684e3d),_0x72acba=_0x3e18f2[_0xe94795(0x318)](_0x39fe65,_0x348f2a,_0x1d5bef,_0x684e3d),{columnHeaderHeightAndMarginTop:_0x116240}=_0x684e3d,{startX:_0x3df4c0,startY:_0x45d3f2}=_0x52c7f2,{endX:_0x453f04,endY:_0x4cb7b6}=_0x72acba,_0x299809=_0x453f04-_0x3df4c0,_0x5a7d82=_0x4cb7b6-_0x45d3f2,_0x1577f4={'labelPosition':_0x45d3f2-_0x116240>=_0x2d8fb8?_0xe94795(0x3ea):_0xe94795(0x1e3),'sheetID':_0x12e2bf,'range':_0x25981e,'color':_0x37f57f,'name':_0x5bc598,'selection':_0x40b755,'left':_0x3df4c0,'top':_0x45d3f2,'width':_0x299809,'height':_0x5a7d82,'evented':!0x1,'zIndex':_0x354c78};return new _0xc79a86(_0x5bc598,_0x1577f4);});_0x1d5bef[_0x204fa0(0x227)](_0x3914ae,_0x8ae3bd),this[_0x204fa0(0x489)]=new Set(_0x3914ae);}[_0x513e05(0x2b0)](){const _0x1f1caf=_0x513e05;var _0x211c5a;(_0x211c5a=this[_0x1f1caf(0x489)])==null||_0x211c5a[_0x1f1caf(0x2a8)](_0x436720=>_0x436720[_0x1f1caf(0x472)]());}['_getSheetObject'](){const _0x43c1e3=_0x513e05;return _0x3e18f2[_0x43c1e3(0x439)](this[_0x43c1e3(0x2f4)][_0x43c1e3(0x438)],this['_context']);}};_0x4fc936=_0x21ad4b([_0x22e80f(0x1,_0x3772e7[_0x513e05(0x30b)](_0x3e18f2['SheetSkeletonManagerService'])),_0x22e80f(0x2,_0x3772e7[_0x513e05(0x30b)](_0x2234d1)),_0x22e80f(0x3,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x2e6)]))],_0x4fc936);function _0x56585e(_0x5de952){const _0x144b04=_0x513e05,_0x1de40c=new Map();return _0x5de952[_0x144b04(0x2a8)](_0x27ee28=>{const _0x197385=_0x144b04;if(_0x1de40c[_0x197385(0x28b)](_0x27ee28['selection'])){const _0x136060=_0x1de40c[_0x197385(0x309)](_0x27ee28[_0x197385(0x3d6)]);_0x136060[_0x197385(0x248)]+=',\x20'+_0x27ee28[_0x197385(0x248)];}else _0x1de40c[_0x197385(0x40c)](_0x27ee28[_0x197385(0x3d6)],_0x27ee28);}),Array[_0x144b04(0x2a2)](_0x1de40c[_0x144b04(0x39d)]());}var _0x1fc807=Object[_0x513e05(0x33c)],_0xeecbf1=(_0x78943f,_0x39e1df,_0x2bff15,_0x5ea7a7)=>{for(var _0x19dec1=_0x5ea7a7>0x1?void 0x0:_0x5ea7a7?_0x1fc807(_0x39e1df,_0x2bff15):_0x39e1df,_0x1667c4=_0x78943f['length']-0x1,_0x347ad5;_0x1667c4>=0x0;_0x1667c4--)(_0x347ad5=_0x78943f[_0x1667c4])&&(_0x19dec1=_0x347ad5(_0x19dec1)||_0x19dec1);return _0x19dec1;},_0x15f4ee=(_0x2e8f24,_0x5a61c4)=>(_0x11235b,_0x2ffb4e)=>_0x5a61c4(_0x11235b,_0x2ffb4e,_0x2e8f24);let _0x23daa2=class extends _0x3772e7['Disposable']{constructor(_0x1190a0,_0x37c60b,_0x39e3e9,_0x137925,_0x36bd2a,_0x25930d){const _0x2c0081=_0x513e05;super(),this[_0x2c0081(0x28f)]=_0x1190a0,this[_0x2c0081(0x224)]=_0x37c60b,this[_0x2c0081(0x225)]=_0x39e3e9,this[_0x2c0081(0x1f1)]=_0x137925,this[_0x2c0081(0x36c)]=_0x36bd2a,this[_0x2c0081(0x45e)]=_0x25930d,this[_0x2c0081(0x278)](),this[_0x2c0081(0x3bf)]();}[_0x513e05(0x278)](){const _0x5bcbd4=_0x513e05;this[_0x5bcbd4(0x317)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x18bb8a=_0x5bcbd4;if(this[_0x18bb8a(0x224)]['saveTaskMap'][_0x18bb8a(0x396)])return this[_0x18bb8a(0x45e)]['t'](_0x18bb8a(0x229));}));}[_0x513e05(0x3bf)](){const _0x3907d8=_0x513e05;this[_0x3907d8(0x317)](this['_collaborationUIEventService'][_0x3907d8(0x1f0)]['subscribe'](_0x293ccd=>{const _0xc22a3c=_0x3907d8;_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604['MessageType'][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t'](_0xc22a3c(0x3f3))}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId'][_0xc22a3c(0x391)]&&this[_0xc22a3c(0x1f1)][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t']('collaboration.closeRoom')}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x230)]&&this[_0xc22a3c(0x36c)]['show']({'title':this[_0xc22a3c(0x45e)]['t'](_0xc22a3c(0x1bc)),'content':this[_0xc22a3c(0x45e)]['t']('permission.content'),'type':_0xc22a3c(0x27b),'duration':0x0}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x2c2)]&&this['_messageService']['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('collaboration.closeRoom')+'('+_0x293ccd['data']+')'}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x41f)]&&this['_messageService'][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t'](_0x293ccd[_0xc22a3c(0x300)]||'')}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId'][_0xc22a3c(0x306)]&&this[_0xc22a3c(0x1f1)][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this['_localeService']['t'](_0xc22a3c(0x477))}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('session.connection-failed')}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('session.collaboration-timeout')});}));}};_0x23daa2=_0xeecbf1([_0x15f4ee(0x0,_0x2e0e04['IBeforeCloseService']),_0x15f4ee(0x1,_0x19f8d7[_0x513e05(0x36d)]),_0x15f4ee(0x2,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x24b)])),_0x15f4ee(0x3,_0x2e0e04[_0x513e05(0x320)]),_0x15f4ee(0x4,_0x2e0e04[_0x513e05(0x2a6)]),_0x15f4ee(0x5,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x23daa2);var _0x41ee97=Object[_0x513e05(0x33c)],_0x42024e=(_0x37b62e,_0x488ab9,_0x3d8854,_0x496979)=>{const _0xfedb5c=_0x513e05;for(var _0x57ecf4=_0x496979>0x1?void 0x0:_0x496979?_0x41ee97(_0x488ab9,_0x3d8854):_0x488ab9,_0x33b252=_0x37b62e[_0xfedb5c(0x3ec)]-0x1,_0x2bec64;_0x33b252>=0x0;_0x33b252--)(_0x2bec64=_0x37b62e[_0x33b252])&&(_0x57ecf4=_0x2bec64(_0x57ecf4)||_0x57ecf4);return _0x57ecf4;},_0x207359=(_0x30a909,_0x9a48d7)=>(_0x5772db,_0x512a77)=>_0x9a48d7(_0x5772db,_0x512a77,_0x30a909);let _0x19eb72=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x52e992,_0x1e788b,_0x360329,_0x22d765){const _0x14494c=_0x513e05;super(),_0xfd5d9c(this,'_memberID'),(this[_0x14494c(0x499)]=_0x52e992,this[_0x14494c(0x2cc)]=_0x1e788b,this['_logService']=_0x360329,this[_0x14494c(0x1fa)]=_0x22d765,this[_0x14494c(0x219)]());}[_0x513e05(0x219)](){const _0x368c0c=_0x513e05;this[_0x368c0c(0x210)](),this[_0x368c0c(0x392)](),this[_0x368c0c(0x446)](),this[_0x368c0c(0x233)]();}[_0x513e05(0x233)](){const _0x15130c=_0x513e05;this[_0x15130c(0x317)](this[_0x15130c(0x1fa)][_0x15130c(0x351)][_0x15130c(0x3ee)](_0x3fbdc5=>{const _0x33def3=_0x15130c;this['_memberID']=_0x3fbdc5==null?void 0x0:_0x3fbdc5[_0x33def3(0x47a)];}));}['_initWindowErrorListener'](){const _0x569f9c=_0x513e05,_0x308455=_0x38e438=>{const _0x4ac515=_0x3621;var _0x2a5251;this[_0x4ac515(0x26c)]('error',_0x4ac515(0x1e2)+_0x38e438[_0x4ac515(0x2a1)]+_0x4ac515(0x462)+_0x38e438[_0x4ac515(0x20f)]+':'+_0x38e438['lineno']+':'+_0x38e438['colno']+'\x0a'+(((_0x2a5251=_0x38e438['error'])==null?void 0x0:_0x2a5251[_0x4ac515(0x2d0)])||''));};window[_0x569f9c(0x459)](_0x569f9c(0x27b),_0x308455),this[_0x569f9c(0x317)](()=>{const _0x37a7cf=_0x569f9c;window[_0x37a7cf(0x44a)](_0x37a7cf(0x27b),_0x308455);});}[_0x513e05(0x392)](){const _0xf9499f=_0x513e05,_0x46caec=_0x43aeca=>{const _0x511d62=_0x3621;this[_0x511d62(0x26c)]('error',_0x511d62(0x39f)+_0x43aeca[_0x511d62(0x332)]);};window[_0xf9499f(0x459)](_0xf9499f(0x2f5),_0x46caec),this[_0xf9499f(0x317)](()=>{const _0x23fefe=_0xf9499f;window[_0x23fefe(0x44a)](_0x23fefe(0x2f5),_0x46caec);});}[_0x513e05(0x446)](){const _0x2da058=_0x513e05,_0x20f4c5=this['_logService'][_0x2da058(0x27b)][_0x2da058(0x49a)](this['_logService']);this['_logService'][_0x2da058(0x27b)]=(..._0x224570)=>{const _0x46e62e=_0x2da058,_0x18ba83=_0x224570[_0x46e62e(0x407)](_0x23b76f=>_0x23b76f instanceof Error?_0x23b76f[_0x46e62e(0x2a1)]+'\x0a'+_0x23b76f[_0x46e62e(0x2d0)]:String(_0x23b76f))[_0x46e62e(0x35b)]('\x20');this[_0x46e62e(0x26c)](_0x46e62e(0x27b),_0x46e62e(0x3c6)+_0x18ba83),_0x20f4c5(..._0x224570);},this[_0x2da058(0x317)](()=>{const _0x44f090=_0x2da058;this[_0x44f090(0x263)][_0x44f090(0x27b)]=_0x20f4c5;});}['_uploadLog'](_0x573d74,_0x290014){const _0x3b448b=_0x513e05;try{const _0x50c658={'userId':this[_0x3b448b(0x290)],'logLabel':_0x573d74,'content':_0x290014};this['_httpService'][_0x3b448b(0x1db)](_0x3b448b(0x38b),{'body':_0x50c658})[_0x3b448b(0x1c3)](()=>{});}catch{}}};_0x19eb72=_0x42024e([_0x207359(0x0,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0x207359(0x1,_0x3772e7[_0x513e05(0x30b)](_0xe6cf6e[_0x513e05(0x1cc)])),_0x207359(0x2,_0x3772e7[_0x513e05(0x23d)]),_0x207359(0x3,_0x3772e7['Inject'](_0x19f8d7[_0x513e05(0x293)]))],_0x19eb72);const _0x2157a3=_0x513e05(0x3f0),_0x52c7c0={};var _0xf0dfb2=Object[_0x513e05(0x33c)],_0x33eddd=(_0x104115,_0xa508f9,_0x184bcd,_0x4cff1f)=>{const _0x4c6897=_0x513e05;for(var _0x10a093=_0x4cff1f>0x1?void 0x0:_0x4cff1f?_0xf0dfb2(_0xa508f9,_0x184bcd):_0xa508f9,_0x429611=_0x104115[_0x4c6897(0x3ec)]-0x1,_0x1fd8c9;_0x429611>=0x0;_0x429611--)(_0x1fd8c9=_0x104115[_0x429611])&&(_0x10a093=_0x1fd8c9(_0x10a093)||_0x10a093);return _0x10a093;},_0x23af59=(_0x2b0a14,_0x5f58e7)=>(_0x3a15df,_0x9d97cb)=>_0x5f58e7(_0x3a15df,_0x9d97cb,_0x2b0a14);let _0x32f42e=class{constructor(_0x2c17ab,_0x1d2a8d){const _0x1cc9a0=_0x513e05;this[_0x1cc9a0(0x2c7)]=_0x2c17ab,this['_renderManagerService']=_0x1d2a8d;}['transformIMECache'](_0xa4c095){const _0x4b1a16=_0x513e05;this[_0x4b1a16(0x31f)](_0xa4c095),this['_transformPreviousActiveRange'](_0xa4c095);}['transformRemoteChangeset'](_0x26bec9){const _0x42db4c=_0x513e05,{unitID:_0x4841e5}=_0x26bec9,_0x53b5d7=this[_0x42db4c(0x26d)][_0x42db4c(0x403)](_0x4841e5)[_0x42db4c(0x471)](_0x7ab617[_0x42db4c(0x1dc)]),{redoCache:_0x5ef349}=_0x53b5d7['getUndoRedoMutationParamsCache']();if(_0x5ef349[_0x42db4c(0x3ec)]===0x0)return _0x26bec9;let _0x38f1e1=_0x3772e7[_0x42db4c(0x40f)]['deepClone'](_0x26bec9[_0x42db4c(0x2b1)][0x0]);for(let _0x10804b=0x0;_0x10804b<_0x5ef349[_0x42db4c(0x3ec)];_0x10804b++){const _0x46d4d7={'id':'doc.mutation.rich-text-editing','params':{..._0x5ef349[_0x10804b]}},_0x1b86e5=this['_transformService'][_0x42db4c(0x414)](_0x38f1e1,_0x46d4d7,!0x1);if(_0x116492['isTransformMutationFailure'](_0x1b86e5))throw _0x1b86e5[_0x42db4c(0x27b)];_0x38f1e1=_0x1b86e5['m1Prime'];}return{..._0x3772e7[_0x42db4c(0x40f)][_0x42db4c(0x1bf)](_0x26bec9),'mutations':[_0x38f1e1]};}[_0x513e05(0x31f)](_0x4f76c0){const _0x133ee8=_0x513e05,{unitID:_0x3f5376}=_0x4f76c0,_0x51eff9=this[_0x133ee8(0x26d)]['getRenderById'](_0x3f5376)[_0x133ee8(0x471)](_0x7ab617['DocIMEInputManagerService']),{undoCache:_0x5ee065,redoCache:_0x50a9f5}=_0x51eff9['getUndoRedoMutationParamsCache']();if(_0x5ee065[_0x133ee8(0x3ec)]===0x0||_0x50a9f5[_0x133ee8(0x3ec)]===0x0)return;const _0x3560ce=[],_0x12c045=[];let _0x3cd3f8=_0x3772e7['Tools']['deepClone'](_0x4f76c0[_0x133ee8(0x2b1)][0x0]),_0x390471=_0x3772e7[_0x133ee8(0x40f)]['deepClone'](_0x4f76c0[_0x133ee8(0x2b1)][0x0]);for(let _0x216eb0=_0x5ee065[_0x133ee8(0x3ec)]-0x1;_0x216eb0>=0x0;_0x216eb0--){const _0x439b74={'id':'doc.mutation.rich-text-editing','params':{..._0x5ee065[_0x216eb0]}},_0x5df481={'id':_0x133ee8(0x1f9),'params':{..._0x50a9f5[_0x216eb0]}},_0x31e8bc=this[_0x133ee8(0x2c7)][_0x133ee8(0x414)](_0x3cd3f8,_0x439b74,!0x1),_0x36a01a=this[_0x133ee8(0x2c7)][_0x133ee8(0x414)](_0x390471,_0x5df481,!0x1);if(_0x116492['isTransformMutationFailure'](_0x31e8bc))throw _0x31e8bc[_0x133ee8(0x27b)];if(_0x116492[_0x133ee8(0x2f1)](_0x36a01a))throw _0x36a01a['error'];_0x3560ce[_0x133ee8(0x1ff)](_0x31e8bc[_0x133ee8(0x406)]['params']),_0x12c045['unshift'](_0x36a01a['m2Prime'][_0x133ee8(0x41c)]),_0x3cd3f8=_0x31e8bc[_0x133ee8(0x251)],_0x390471=_0x36a01a['m1Prime'];}_0x51eff9['setUndoRedoMutationParamsCache']({'undoCache':_0x3560ce,'redoCache':_0x12c045});}[_0x513e05(0x29d)](_0x2242fa){const _0x4d53ef=_0x513e05,{unitID:_0x248847}=_0x2242fa,_0x1f6ee3=this[_0x4d53ef(0x26d)][_0x4d53ef(0x403)](_0x248847)['with'](_0x7ab617[_0x4d53ef(0x1dc)]),_0x2a55de=_0x1f6ee3[_0x4d53ef(0x2ad)]();if(_0x2a55de==null)return;const _0x2adf75=[{'id':_0x4d53ef(0x1f9),'params':{'unitId':_0x2242fa[_0x4d53ef(0x2bb)],'actions':null,'textRanges':[_0x2a55de]}}],_0x209e7c=this['_transformService'][_0x4d53ef(0x2cf)](_0x2242fa,_0x2adf75);if(!_0x116492[_0x4d53ef(0x361)](_0x209e7c))throw _0x209e7c[_0x4d53ef(0x27b)];const _0xdb0ee9=_0x209e7c[_0x4d53ef(0x406)][0x0][_0x4d53ef(0x41c)]['textRanges'];Array[_0x4d53ef(0x38f)](_0xdb0ee9)&&_0xdb0ee9[_0x4d53ef(0x3ec)]&&_0x1f6ee3['setActiveRange'](_0xdb0ee9[0x0]);}};_0x32f42e=_0x33eddd([_0x23af59(0x0,_0x116492[_0x513e05(0x474)]),_0x23af59(0x1,_0x29b571[_0x513e05(0x494)])],_0x32f42e);var _0x3b59f6=Object[_0x513e05(0x33c)],_0x12dab7=(_0x313a01,_0x5ef9c0,_0x3c7bb4,_0x5bf269)=>{const _0x108720=_0x513e05;for(var _0x3fdc0c=_0x5bf269>0x1?void 0x0:_0x5bf269?_0x3b59f6(_0x5ef9c0,_0x3c7bb4):_0x5ef9c0,_0x1d6429=_0x313a01[_0x108720(0x3ec)]-0x1,_0x469c82;_0x1d6429>=0x0;_0x1d6429--)(_0x469c82=_0x313a01[_0x1d6429])&&(_0x3fdc0c=_0x469c82(_0x3fdc0c)||_0x3fdc0c);return _0x3fdc0c;},_0xd8c785=(_0x45d74c,_0x1207dd)=>(_0x59535c,_0x517d09)=>_0x1207dd(_0x59535c,_0x517d09,_0x45d74c);let _0x52ca15=class{constructor(_0x4e4225,_0x44835c,_0xf60d91){const _0x1c0d15=_0x513e05;this['_injector']=_0x4e4225,this[_0x1c0d15(0x2c7)]=_0x44835c,this[_0x1c0d15(0x42e)]=_0xf60d91;}[_0x513e05(0x205)](_0x26596f){const _0x4dd691=_0x513e05;this[_0x4dd691(0x48f)](_0x26596f);}[_0x513e05(0x2d7)](_0x2ef70a){const _0x3cd1ca=_0x513e05,{unitID:_0x2f9de0}=_0x2ef70a,{collaboration:_0x2162fb}=this[_0x3cd1ca(0x42e)][_0x3cd1ca(0x48a)](_0x2f9de0);if(_0x2162fb[_0x3cd1ca(0x3ec)]===0x0)return _0x2ef70a;let _0x48d3a5=_0x3772e7[_0x3cd1ca(0x40f)][_0x3cd1ca(0x1bf)](_0x2ef70a[_0x3cd1ca(0x2b1)][0x0]);for(let _0x508086=0x0;_0x508086<_0x2162fb[_0x3cd1ca(0x3ec)];_0x508086++){const _0x4b8f86={'id':_0x3cd1ca(0x1f9),'params':{'unitId':_0x2162fb[_0x508086][_0x3cd1ca(0x2fa)],..._0x2162fb[_0x508086][_0x3cd1ca(0x1e8)]}},_0x474ded=this[_0x3cd1ca(0x2c7)]['transformMutation'](_0x48d3a5,_0x4b8f86,!0x1);if(_0x116492['isTransformMutationFailure'](_0x474ded))throw _0x474ded[_0x3cd1ca(0x27b)];_0x48d3a5=_0x474ded[_0x3cd1ca(0x251)];}return{..._0x3772e7[_0x3cd1ca(0x40f)][_0x3cd1ca(0x1bf)](_0x2ef70a),'mutations':[_0x48d3a5]};}[_0x513e05(0x48f)](_0x328bae){const _0x1bd963=_0x513e05,{unitID:_0x160443}=_0x328bae,{history:_0x5732ea,collaboration:_0x2f6339}=this[_0x1bd963(0x42e)][_0x1bd963(0x48a)](_0x160443);if(_0x5732ea[_0x1bd963(0x3ec)]===0x0&&_0x2f6339[_0x1bd963(0x3ec)]===0x0)return;const _0xbb91a7=[],_0x5f37f0=[];let _0x239a6c=_0x3772e7[_0x1bd963(0x40f)]['deepClone'](_0x328bae['mutations'][0x0]),_0x4937ff=_0x3772e7[_0x1bd963(0x40f)][_0x1bd963(0x1bf)](_0x328bae[_0x1bd963(0x2b1)][0x0]);for(let _0x5a5c57=_0x5732ea['length']-0x1;_0x5a5c57>=0x0;_0x5a5c57--){const _0x248973={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x5732ea[_0x5a5c57][_0x1bd963(0x2fa)],..._0x5732ea[_0x5a5c57][_0x1bd963(0x348)]}},_0x2705ae={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x5732ea[_0x5a5c57][_0x1bd963(0x2fa)],..._0x5732ea[_0x5a5c57][_0x1bd963(0x1e8)]}},_0x1b6650=this['_transformService']['transformMutation'](_0x239a6c,_0x248973,!0x1),_0x2cf554=this[_0x1bd963(0x2c7)]['transformMutation'](_0x4937ff,_0x2705ae,!0x1);if(_0x116492[_0x1bd963(0x2f1)](_0x1b6650))throw _0x1b6650[_0x1bd963(0x27b)];if(_0x116492[_0x1bd963(0x2f1)](_0x2cf554))throw _0x2cf554[_0x1bd963(0x27b)];_0xbb91a7['unshift']({..._0x5732ea[_0x5a5c57],'undoState':_0x1b6650[_0x1bd963(0x406)][_0x1bd963(0x41c)],'redoState':_0x2cf554[_0x1bd963(0x406)][_0x1bd963(0x41c)]}),_0x239a6c=_0x1b6650[_0x1bd963(0x251)],_0x4937ff=_0x2cf554[_0x1bd963(0x251)];}_0x239a6c=_0x3772e7[_0x1bd963(0x40f)][_0x1bd963(0x1bf)](_0x328bae['mutations'][0x0]),_0x4937ff=_0x3772e7['Tools'][_0x1bd963(0x1bf)](_0x328bae[_0x1bd963(0x2b1)][0x0]);for(let _0x30bc1a=_0x2f6339[_0x1bd963(0x3ec)]-0x1;_0x30bc1a>=0x0;_0x30bc1a--){const _0x5f292e={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x2f6339[_0x30bc1a][_0x1bd963(0x2fa)],..._0x2f6339[_0x30bc1a]['undoState']}},_0x4c1e8f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f6339[_0x30bc1a]['unitId'],..._0x2f6339[_0x30bc1a][_0x1bd963(0x1e8)]}},_0x45beb4=this[_0x1bd963(0x2c7)][_0x1bd963(0x414)](_0x239a6c,_0x5f292e,!0x1),_0x141402=this[_0x1bd963(0x2c7)][_0x1bd963(0x414)](_0x4937ff,_0x4c1e8f,!0x1);if(_0x116492[_0x1bd963(0x2f1)](_0x45beb4))throw _0x45beb4['error'];if(_0x116492[_0x1bd963(0x2f1)](_0x141402))throw _0x141402['error'];_0x5f37f0['unshift']({..._0x2f6339[_0x30bc1a],'undoState':_0x45beb4['m2Prime']['params'],'redoState':_0x141402[_0x1bd963(0x406)]['params']}),_0x239a6c=_0x45beb4[_0x1bd963(0x251)],_0x4937ff=_0x141402[_0x1bd963(0x251)];}this[_0x1bd963(0x42e)][_0x1bd963(0x45a)](_0x160443,{'history':_0xbb91a7,'collaboration':_0x5f37f0});}};_0x52ca15=_0x12dab7([_0xd8c785(0x0,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0xd8c785(0x1,_0x116492[_0x513e05(0x474)]),_0xd8c785(0x2,_0x3772e7['Inject'](_0x7ab617[_0x513e05(0x377)]))],_0x52ca15);var _0x1d2f37=Object[_0x513e05(0x33c)],_0x41b06b=(_0x3b3d9c,_0x59b8ec,_0xc8973b,_0x13f08e)=>{for(var _0x41f22f=_0x13f08e>0x1?void 0x0:_0x13f08e?_0x1d2f37(_0x59b8ec,_0xc8973b):_0x59b8ec,_0x4d993d=_0x3b3d9c['length']-0x1,_0x4cda86;_0x4d993d>=0x0;_0x4d993d--)(_0x4cda86=_0x3b3d9c[_0x4d993d])&&(_0x41f22f=_0x4cda86(_0x41f22f)||_0x41f22f);return _0x41f22f;},_0x91bd8d=(_0x55f2d8,_0x33b374)=>(_0x31a658,_0x155689)=>_0x33b374(_0x31a658,_0x155689,_0x55f2d8);let _0x348751=class{constructor(_0xb5396,_0x209445){const _0x2313e1=_0x513e05;this[_0x2313e1(0x499)]=_0xb5396,this[_0x2313e1(0x2c7)]=_0x209445;}['transformSelections'](_0x4afaeb){const _0x19872f=_0x513e05;var _0x18b48a;const _0x441051=this[_0x19872f(0x499)]['get'](_0x37acc3[_0x19872f(0x381)]),_0x50b347=(_0x18b48a=_0x441051['getDocRanges']())!=null?_0x18b48a:[];if(_0x50b347['length']===0x0)return;const _0xb419a7=_0x4afaeb[_0x19872f(0x2bb)],_0x2b80c6=[{'id':_0x19872f(0x1f9),'params':{'unitId':_0xb419a7,'actions':null,'textRanges':_0x50b347}}],_0x4f6127=this['_transformService'][_0x19872f(0x2cf)](_0x4afaeb,_0x2b80c6);if(!_0x116492['isTransformMutationsWithChangesetSuccess'](_0x4f6127))throw _0x4f6127[_0x19872f(0x27b)];const _0x1f1e71=_0x4f6127['m2Prime'][0x0][_0x19872f(0x41c)][_0x19872f(0x235)];Array[_0x19872f(0x38f)](_0x1f1e71)&&_0x1f1e71[_0x19872f(0x3ec)]&&_0x441051[_0x19872f(0x3ae)](_0x1f1e71,{'unitId':_0xb419a7,'subUnitId':_0xb419a7},!0x1);}};_0x348751=_0x41b06b([_0x91bd8d(0x0,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x91bd8d(0x1,_0x116492[_0x513e05(0x474)])],_0x348751);var _0x2cf5f3=Object[_0x513e05(0x33c)],_0x202b36=(_0x1b8a13,_0xc88c3f,_0x423485,_0xd4323d)=>{const _0x57551d=_0x513e05;for(var _0x5b47a8=_0xd4323d>0x1?void 0x0:_0xd4323d?_0x2cf5f3(_0xc88c3f,_0x423485):_0xc88c3f,_0x33157a=_0x1b8a13[_0x57551d(0x3ec)]-0x1,_0x4cc91f;_0x33157a>=0x0;_0x33157a--)(_0x4cc91f=_0x1b8a13[_0x33157a])&&(_0x5b47a8=_0x4cc91f(_0x5b47a8)||_0x5b47a8);return _0x5b47a8;},_0x2d0061=(_0x19bf0a,_0x457f1a)=>(_0x5a6727,_0xf2e10c)=>_0x457f1a(_0x5a6727,_0xf2e10c,_0x19bf0a);let _0x27ca3d=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x56d518,_0x1260d4,_0x2513a6,_0x37e09c,_0x46ef61,_0x1e1f54,_0x43dc7d,_0x5465fa){const _0x498ab7=_0x513e05;super(),_0xfd5d9c(this,'_status$',new _0x104804[(_0x498ab7(0x493))](_0x19f8d7[_0x498ab7(0x2c1)][_0x498ab7(0x1d1)])),(this['_docStateChangeManagerService']=_0x56d518,this[_0x498ab7(0x47c)]=_0x1260d4,this[_0x498ab7(0x3ad)]=_0x2513a6,this['_docTransformStateCacheService']=_0x37e09c,this['_docTransformSelectionsService']=_0x46ef61,this[_0x498ab7(0x2ec)]=_0x1e1f54,this[_0x498ab7(0x1f1)]=_0x43dc7d,this[_0x498ab7(0x45e)]=_0x5465fa,this[_0x498ab7(0x21b)]());}['_initEntityListener'](){const _0x4826c1=_0x513e05;this[_0x4826c1(0x317)](this[_0x4826c1(0x47c)][_0x4826c1(0x3d3)][_0x4826c1(0x3ee)](_0x2f5c1e=>{const _0xf64037=_0x4826c1,_0xccc75c=this['_docStateChangeManagerService'][_0xf64037(0x418)]['subscribe'](_0x3de056=>{const _0x12c4d0=_0xf64037;if(_0x3de056==null)return;const {unitId:_0x3463e8,redoState:_0x4539ba,commandId:_0x115a23}=_0x3de056;if(_0x3463e8!==_0x2f5c1e[_0x12c4d0(0x2bb)])return;const _0xf74158={'id':_0x115a23,'type':_0x3772e7['CommandType']['MUTATION'],'params':{'unitId':_0x3463e8,'actions':_0x4539ba[_0x12c4d0(0x395)],'textRanges':null}};_0x2f5c1e[_0x12c4d0(0x3b5)](_0xf74158);});if(_0x2f5c1e[_0xf64037(0x317)](_0xccc75c),_0x2f5c1e instanceof _0x19f8d7[_0xf64037(0x478)]){const _0x3ac909={'onTransformIME':_0x1285f6=>this[_0xf64037(0x3ad)][_0xf64037(0x335)](_0x1285f6),'onTransformState':_0x1832bb=>this[_0xf64037(0x2e4)][_0xf64037(0x205)](_0x1832bb),'onTransformSelections':_0x564257=>this['_docTransformSelectionsService'][_0xf64037(0x44e)](_0x564257),'onSyncEditingCollabCursor':_0x15f7cc=>this[_0xf64037(0x2ec)]['syncEditingCollabCursor'](_0x15f7cc),'onTransformRemoteChangesetByIMECache':_0x1ec292=>this[_0xf64037(0x3ad)]['transformRemoteChangeset'](_0x1ec292),'onTransformRemoteChangesetByStateCache':_0x4d16df=>this[_0xf64037(0x2e4)][_0xf64037(0x2d7)](_0x4d16df)};_0x2f5c1e[_0xf64037(0x301)](_0x3ac909);}}));}};_0x27ca3d=_0x202b36([_0x2d0061(0x0,_0x3772e7[_0x513e05(0x30b)](_0x7ab617[_0x513e05(0x377)])),_0x2d0061(0x1,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x3c1)])),_0x2d0061(0x2,_0x3772e7[_0x513e05(0x30b)](_0x32f42e)),_0x2d0061(0x3,_0x3772e7['Inject'](_0x52ca15)),_0x2d0061(0x4,_0x3772e7[_0x513e05(0x30b)](_0x348751)),_0x2d0061(0x5,_0x3772e7['Inject'](_0x39a103)),_0x2d0061(0x6,_0x2e0e04[_0x513e05(0x320)]),_0x2d0061(0x7,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x27ca3d);var _0x47161c=(_0x3f19da=>(_0x3f19da[_0x3f19da[_0x513e05(0x3e3)]=0x0]=_0x513e05(0x3e3),_0x3f19da[_0x3f19da['OK']=0x1]='OK',_0x3f19da[_0x3f19da['INTERNAL_ERROR']=0x2]=_0x513e05(0x28a),_0x3f19da[_0x3f19da[_0x513e05(0x230)]=0x3]='PERMISSION_DENIED',_0x3f19da[_0x3f19da[_0x513e05(0x443)]=0x4]=_0x513e05(0x443),_0x3f19da[_0x3f19da['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3f19da[_0x3f19da[_0x513e05(0x287)]=0x6]=_0x513e05(0x287),_0x3f19da[_0x3f19da[_0x513e05(0x3ed)]=0x7]='INVALID_ARGUMENT',_0x3f19da[_0x3f19da[_0x513e05(0x326)]=0x8]=_0x513e05(0x326),_0x3f19da[_0x3f19da['COMPLETION_FINISHED']=0x9]=_0x513e05(0x252),_0x3f19da[_0x3f19da[_0x513e05(0x3a2)]=0xa]=_0x513e05(0x3a2),_0x3f19da[_0x3f19da['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x513e05(0x452),_0x3f19da[_0x3f19da[_0x513e05(0x374)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3f19da[_0x3f19da[_0x513e05(0x36e)]=0xd]=_0x513e05(0x36e),_0x3f19da[_0x3f19da[_0x513e05(0x267)]=0xe]=_0x513e05(0x267),_0x3f19da[_0x3f19da[_0x513e05(0x47e)]=0xf]=_0x513e05(0x47e),_0x3f19da[_0x3f19da[_0x513e05(0x364)]=0x10]=_0x513e05(0x364),_0x3f19da[_0x3f19da[_0x513e05(0x41e)]=0x64]=_0x513e05(0x41e),_0x3f19da[_0x3f19da[_0x513e05(0x342)]=0x65]=_0x513e05(0x342),_0x3f19da[_0x3f19da[_0x513e05(0x486)]=0xc9]=_0x513e05(0x486),_0x3f19da[_0x3f19da[_0x513e05(0x242)]=0xca]=_0x513e05(0x242),_0x3f19da[_0x3f19da['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3f19da[_0x3f19da['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x513e05(0x449),_0x3f19da[_0x3f19da[_0x513e05(0x256)]=0x1772]=_0x513e05(0x256),_0x3f19da[_0x3f19da[_0x513e05(0x272)]=0x1773]=_0x513e05(0x272),_0x3f19da[_0x3f19da[_0x513e05(0x2df)]=0x1b59]=_0x513e05(0x2df),_0x3f19da[_0x3f19da[_0x513e05(0x279)]=0x1b5a]=_0x513e05(0x279),_0x3f19da[_0x3f19da[_0x513e05(0x376)]=0x1b5b]=_0x513e05(0x376),_0x3f19da[_0x3f19da[_0x513e05(0x21a)]=0x1b5c]=_0x513e05(0x21a),_0x3f19da[_0x3f19da[_0x513e05(0x485)]=0x1b5d]=_0x513e05(0x485),_0x3f19da[_0x3f19da[_0x513e05(0x27d)]=0x1f41]=_0x513e05(0x27d),_0x3f19da[_0x3f19da[_0x513e05(0x3ca)]=0x2329]=_0x513e05(0x3ca),_0x3f19da[_0x3f19da[_0x513e05(0x1ca)]=0x232a]=_0x513e05(0x1ca),_0x3f19da[_0x3f19da[_0x513e05(0x228)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3f19da[_0x3f19da['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3f19da[_0x3f19da['LICENSE_DISTRO_REJECTED']=0x232d]=_0x513e05(0x45c),_0x3f19da[_0x3f19da[_0x513e05(0x3fe)]=0x2711]=_0x513e05(0x3fe),_0x3f19da[_0x3f19da['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x513e05(0x303),_0x3f19da[_0x3f19da[_0x513e05(0x464)]=0x2713]=_0x513e05(0x464),_0x3f19da[_0x3f19da['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x513e05(0x39e),_0x3f19da[_0x3f19da[_0x513e05(0x369)]=0x271a]=_0x513e05(0x369),_0x3f19da[_0x3f19da['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x513e05(0x20a),_0x3f19da[_0x3f19da[_0x513e05(0x1cb)]=0x271c]=_0x513e05(0x1cb),_0x3f19da[_0x3f19da['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x513e05(0x38c),_0x3f19da[_0x3f19da[_0x513e05(0x1e0)]=0x271e]=_0x513e05(0x1e0),_0x3f19da[_0x3f19da['YUUMI_AI_RUN_FAILED']=0x271f]=_0x513e05(0x3dd),_0x3f19da[_0x3f19da['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x513e05(0x1ea),_0x3f19da[_0x3f19da[_0x513e05(0x2a5)]=0x2af9]=_0x513e05(0x2a5),_0x3f19da[_0x3f19da[_0x513e05(0x37b)]=0x2ee1]=_0x513e05(0x37b),_0x3f19da[_0x3f19da[_0x513e05(0x30e)]=0x2ee2]=_0x513e05(0x30e),_0x3f19da[_0x3f19da[_0x513e05(0x245)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3f19da[_0x3f19da[_0x513e05(0x268)]=0x2ee4]=_0x513e05(0x268),_0x3f19da[_0x3f19da[_0x513e05(0x46c)]=0x2ee5]=_0x513e05(0x46c),_0x3f19da[_0x3f19da['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x513e05(0x435),_0x3f19da[_0x3f19da[_0x513e05(0x434)]=0x32ca]=_0x513e05(0x434),_0x3f19da[_0x3f19da['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x513e05(0x475),_0x3f19da[_0x3f19da[_0x513e05(0x25e)]=0x36b1]=_0x513e05(0x25e),_0x3f19da[_0x3f19da[_0x513e05(0x402)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x3f19da[_0x3f19da[_0x513e05(0x3aa)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x3f19da[_0x3f19da[_0x513e05(0x204)]=0x36b4]=_0x513e05(0x204),_0x3f19da[_0x3f19da[_0x513e05(0x409)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x3f19da[_0x3f19da[_0x513e05(0x1d7)]=0x3716]=_0x513e05(0x1d7),_0x3f19da[_0x3f19da['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x513e05(0x312),_0x3f19da[_0x3f19da[_0x513e05(0x3ac)]=0x37dd]=_0x513e05(0x3ac),_0x3f19da[_0x3f19da[_0x513e05(0x467)]=0x3a99]=_0x513e05(0x467),_0x3f19da[_0x3f19da['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x513e05(0x2c9),_0x3f19da[_0x3f19da[_0x513e05(0x448)]=0x3a9b]=_0x513e05(0x448),_0x3f19da[_0x3f19da[_0x513e05(0x3c8)]=0x3a9c]=_0x513e05(0x3c8),_0x3f19da[_0x3f19da[_0x513e05(0x244)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x3f19da[_0x3f19da['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x513e05(0x36a),_0x3f19da[_0x3f19da[_0x513e05(0x281)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x3f19da[_0x3f19da['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x513e05(0x426),_0x3f19da[_0x3f19da['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3f19da))(_0x47161c||{});function _0x45cbe8(_0x4dd6a2){const _0x1b7136=_0x513e05;var _0x163ca1,_0x5b2343;const _0xecfb2=(_0x163ca1=_0x4dd6a2[_0x1b7136(0x2a3)])==null?void 0x0:_0x163ca1['stage'],_0xbf135=((_0x5b2343=_0x4dd6a2['stageInfo'])==null?void 0x0:_0x5b2343[_0x1b7136(0x3ab)])||0x0;return _0xecfb2===_0x4915ec[_0x1b7136(0x2c3)][_0x1b7136(0x3b3)]&&_0xbf135>0x0;}function _0x3ae9d2(_0x1f87ea){const _0x424112=_0x513e05;return _0x1f87ea[_0x424112(0x209)]===_0x4915ec[_0x424112(0x2c6)]['SUCCESS'];}var _0x5c1bed=Object[_0x513e05(0x33c)],_0x547cfe=(_0x25d0f8,_0x1fc232,_0x105f9c,_0x113e59)=>{const _0x279a20=_0x513e05;for(var _0x469526=_0x113e59>0x1?void 0x0:_0x113e59?_0x5c1bed(_0x1fc232,_0x105f9c):_0x1fc232,_0x3ce19c=_0x25d0f8[_0x279a20(0x3ec)]-0x1,_0x1305f5;_0x3ce19c>=0x0;_0x3ce19c--)(_0x1305f5=_0x25d0f8[_0x3ce19c])&&(_0x469526=_0x1305f5(_0x469526)||_0x469526);return _0x469526;},_0x165919=(_0x3c3500,_0x228ee5)=>(_0x167188,_0x53390b)=>_0x228ee5(_0x167188,_0x53390b,_0x3c3500);const _0x43e127=_0x513e05(0x330),_0x72413=_0x513e05(0x3eb),_0x322cce=_0x513e05(0x2ab);let _0x498739=class extends _0x3772e7['Disposable']{constructor(_0x41929e,_0x1a0177,_0x25f9b0,_0x4299e4,_0x545d01,_0x2c9f30,_0xd8d871){const _0x5b4f69=_0x513e05;super(),_0xfd5d9c(this,_0x5b4f69(0x3be),null),_0xfd5d9c(this,'_maxFormulaLimit',0x0),_0xfd5d9c(this,_0x5b4f69(0x32c),0x0),_0xfd5d9c(this,_0x5b4f69(0x378),[]),_0xfd5d9c(this,'_lastResponseTimestamp',0x0),(this[_0x5b4f69(0x1f1)]=_0x41929e,this[_0x5b4f69(0x2fb)]=_0x1a0177,this[_0x5b4f69(0x441)]=_0x25f9b0,this[_0x5b4f69(0x2cc)]=_0x4299e4,this[_0x5b4f69(0x2b8)]=_0x545d01,this[_0x5b4f69(0x263)]=_0x2c9f30,this['_localeService']=_0xd8d871,this['_initCommandInterceptor']());}[_0x513e05(0x239)](){const _0x47a081=_0x513e05;this[_0x47a081(0x317)](this[_0x47a081(0x2fb)]['beforeCommandExecuted']((_0x3476bf,_0x46eb5c)=>{const _0x2aeaed=_0x47a081;var _0x31c888;if(_0x3476bf['id']!==_0x4915ec[_0x2aeaed(0x1df)]['id'])return;const _0x5c124b=_0x3476bf[_0x2aeaed(0x41c)];if(!this[_0x2aeaed(0x2f0)]((_0x31c888=_0x5c124b[_0x2aeaed(0x22c)])!=null?_0x31c888:[]))return;if(!this[_0x2aeaed(0x33d)]())throw this[_0x2aeaed(0x31d)](_0x3476bf,_0x46eb5c),this[_0x2aeaed(0x324)](),new _0x3772e7['CanceledError']();})),this[_0x47a081(0x317)](this['_commandService'][_0x47a081(0x27e)]((_0x2c2389,_0x472874)=>{const _0x120dad=_0x47a081;if(_0x2c2389['id']!==_0x4915ec['SetFormulaCalculationNotificationMutation']['id'])return;const _0x211926=_0x2c2389[_0x120dad(0x41c)];if(_0x45cbe8(_0x211926)){const _0xbc2639=_0x3772e7[_0x120dad(0x2ae)]();this[_0x120dad(0x378)]['push'](_0xbc2639),this[_0x120dad(0x2cd)](_0xbc2639);}else{if(_0x3ae9d2(_0x211926)&&this[_0x120dad(0x378)][_0x120dad(0x3ec)]>0x0){const _0x22daf7=this[_0x120dad(0x378)][_0x120dad(0x266)]();this[_0x120dad(0x21c)](_0x22daf7);}}}));}[_0x513e05(0x472)](){const _0x3492cf=_0x513e05;super[_0x3492cf(0x472)](),this[_0x3492cf(0x1ba)](),this[_0x3492cf(0x378)]=[],this[_0x3492cf(0x32c)]=0x0,this[_0x3492cf(0x2ff)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x513e05(0x31d)](_0x14d11b,_0x20494f){const _0x242538=_0x513e05;for(let _0x5b7684=0x0;_0x5b7684<0x1e;_0x5b7684++)try{if(await this[_0x242538(0x447)](),this['_checkCalculationAvailable']()){this[_0x242538(0x2a9)](_0x14d11b,_0x20494f),this[_0x242538(0x1f1)]['show']({'content':this[_0x242538(0x45e)]['t'](_0x242538(0x274)),'type':_0x4d7604[_0x242538(0x46a)][_0x242538(0x347)]});return;}await new Promise(_0x4a7905=>{const _0x59b818=_0x242538;this['_pollingInterval']=window[_0x59b818(0x42b)](_0x4a7905,0x3e8);});}catch(_0x3274ab){this['_logService']['error'](_0x3274ab);}this['_messageService'][_0x242538(0x345)]({'content':this[_0x242538(0x45e)]['t'](_0x242538(0x498)),'type':_0x4d7604[_0x242538(0x46a)][_0x242538(0x341)]});}[_0x513e05(0x2a9)](_0x39cbd5,_0x3bc3fe){const _0x23d2fa=_0x513e05;try{this[_0x23d2fa(0x2fb)][_0x23d2fa(0x38e)](_0x39cbd5['id'],_0x39cbd5[_0x23d2fa(0x41c)],_0x3bc3fe);}catch(_0x58561b){this['_logService'][_0x23d2fa(0x27b)](_0x58561b);}}[_0x513e05(0x2fe)](_0xbef603,_0x54a53a){const _0x32339b=_0x513e05;_0x54a53a<this[_0x32339b(0x238)]||(this[_0x32339b(0x238)]=_0x54a53a,this['_maxFormulaLimit']=Number[_0x32339b(0x419)](_0xbef603[_0x32339b(0x470)]),this['_currentUsage']=Number[_0x32339b(0x419)](_0xbef603['currentUsage']));}async[_0x513e05(0x2cd)](_0x388b54){const _0x2e6739=_0x513e05;var _0x4a16df,_0x4cf367;const _0x41f397=Date[_0x2e6739(0x2bc)]();try{const _0x577b36=((_0x4a16df=this[_0x2e6739(0x441)][_0x2e6739(0x2fc)](_0x19f8d7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4a16df['startFormulaLimitUrl'])||_0x72413,_0x16aabf=(await this['_httpService'][_0x2e6739(0x1db)](_0x577b36,{'body':JSON[_0x2e6739(0x1c4)]({'taskId':_0x388b54})}))['body'];if(((_0x4cf367=_0x16aabf[_0x2e6739(0x27b)])==null?void 0x0:_0x4cf367[_0x2e6739(0x420)])!==_0x47161c['OK'])return;this['_setFormulaLimitStatus'](_0x16aabf[_0x2e6739(0x340)],_0x41f397);}catch(_0x1a15a7){this[_0x2e6739(0x263)][_0x2e6739(0x27b)](_0x1a15a7);}}async['_getFormulaLimitStatus'](_0x560cab){const _0x3710f6=_0x513e05;var _0x4ace94,_0x4dda40;const _0x34cc12=Date['now']();try{const _0x5adcaa=((_0x4ace94=this[_0x3710f6(0x441)][_0x3710f6(0x2fc)](_0x19f8d7[_0x3710f6(0x2fd)]))==null?void 0x0:_0x4ace94[_0x3710f6(0x3bd)])||_0x43e127,_0x594435=_0x560cab?_0x5adcaa+_0x3710f6(0x257)+encodeURIComponent(_0x560cab):_0x5adcaa,_0x5b4f21=(await this['_httpService'][_0x3710f6(0x309)](_0x594435))[_0x3710f6(0x3c7)];if(((_0x4dda40=_0x5b4f21['error'])==null?void 0x0:_0x4dda40[_0x3710f6(0x420)])!==_0x47161c['OK'])return;this[_0x3710f6(0x2fe)](_0x5b4f21[_0x3710f6(0x340)],_0x34cc12);}catch(_0x14b066){this[_0x3710f6(0x263)][_0x3710f6(0x27b)](_0x14b066);}}async[_0x513e05(0x21c)](_0x12ab92){const _0xd9d9e2=_0x513e05;var _0x1c8da2,_0x1835ba;const _0x4fc9ea=Date[_0xd9d9e2(0x2bc)]();try{const _0x45dcef=((_0x1c8da2=this[_0xd9d9e2(0x441)][_0xd9d9e2(0x2fc)](_0x19f8d7[_0xd9d9e2(0x2fd)]))==null?void 0x0:_0x1c8da2[_0xd9d9e2(0x46e)])||_0x322cce,_0x4a0829=(await this[_0xd9d9e2(0x2cc)][_0xd9d9e2(0x1db)](_0x45dcef,{'body':JSON['stringify']({'taskId':_0x12ab92})}))[_0xd9d9e2(0x3c7)];if(((_0x1835ba=_0x4a0829[_0xd9d9e2(0x27b)])==null?void 0x0:_0x1835ba[_0xd9d9e2(0x420)])!==_0x47161c['OK'])return;this['_setFormulaLimitStatus'](_0x4a0829['limitInfo'],_0x4fc9ea);}catch(_0x2ad3cd){this['_logService'][_0xd9d9e2(0x27b)](_0x2ad3cd);}}[_0x513e05(0x33d)](){const _0x5c6ba6=_0x513e05;return this[_0x5c6ba6(0x2ff)]===0x0?!0x0:this[_0x5c6ba6(0x2ff)]-this[_0x5c6ba6(0x32c)]>0x0;}[_0x513e05(0x1ba)](){const _0x42430b=_0x513e05;this['_pollingInterval']&&(clearTimeout(this[_0x42430b(0x3be)]),this[_0x42430b(0x3be)]=null);}['_showGuardMessage'](){const _0xa0a995=_0x513e05;this[_0xa0a995(0x1f1)][_0xa0a995(0x345)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x4d7604[_0xa0a995(0x46a)]['Loading']});}['_hasFormulaInDirtyRanges'](_0x1e434a){const _0x393c8a=_0x513e05;for(const _0x2b40e of _0x1e434a){const {unitId:_0x562feb,sheetId:_0x5cf05e,range:_0x4d8e53}=_0x2b40e,_0x2432b9=this[_0x393c8a(0x2b8)][_0x393c8a(0x36b)](_0x562feb);if(!_0x2432b9)continue;const _0x155dc7=_0x2432b9[_0x393c8a(0x271)](_0x5cf05e);if(!_0x155dc7)continue;const _0xd6d498=_0x155dc7[_0x393c8a(0x246)]();for(let _0x59bf94=_0x4d8e53['startRow'];_0x59bf94<=_0x4d8e53['endRow'];_0x59bf94++)for(let _0x5cb158=_0x4d8e53[_0x393c8a(0x2d6)];_0x5cb158<=_0x4d8e53[_0x393c8a(0x43e)];_0x5cb158++){const _0x59f917=_0xd6d498[_0x393c8a(0x243)](_0x59bf94,_0x5cb158);if(_0x59f917&&(_0x3772e7[_0x393c8a(0x3fa)](_0x59f917['f'])||_0x3772e7['isFormulaId'](_0x59f917['si'])))return!0x0;}}return!0x1;}};_0x498739=_0x547cfe([_0x165919(0x0,_0x3772e7[_0x513e05(0x30b)](_0x2e0e04[_0x513e05(0x320)])),_0x165919(0x1,_0x3772e7[_0x513e05(0x37d)]),_0x165919(0x2,_0x3772e7[_0x513e05(0x3da)]),_0x165919(0x3,_0x3772e7['Inject'](_0xe6cf6e[_0x513e05(0x1cc)])),_0x165919(0x4,_0x3772e7['IUniverInstanceService']),_0x165919(0x5,_0x3772e7['ILogService']),_0x165919(0x6,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x498739);var _0x50d826=Object[_0x513e05(0x33c)],_0x2462a1=(_0x5928ae,_0x398a58,_0x49e847,_0xe2e77d)=>{const _0x4ee6cb=_0x513e05;for(var _0x3cdabd=_0xe2e77d>0x1?void 0x0:_0xe2e77d?_0x50d826(_0x398a58,_0x49e847):_0x398a58,_0x1b42da=_0x5928ae[_0x4ee6cb(0x3ec)]-0x1,_0x220dcb;_0x1b42da>=0x0;_0x1b42da--)(_0x220dcb=_0x5928ae[_0x1b42da])&&(_0x3cdabd=_0x220dcb(_0x3cdabd)||_0x3cdabd);return _0x3cdabd;},_0x214577=(_0x5bd627,_0x6fe9fb)=>(_0x6b2b71,_0xc6b0c8)=>_0x6fe9fb(_0x6b2b71,_0xc6b0c8,_0x5bd627);let _0x1853ac=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x5b1534,_0xb9c86f,_0xd68d99){const _0x2f04eb=_0x513e05;super(),_0xfd5d9c(this,_0x2f04eb(0x2f7),new Map()),_0xfd5d9c(this,_0x2f04eb(0x421),new Map()),_0xfd5d9c(this,_0x2f04eb(0x260),!0x1),(this[_0x2f04eb(0x441)]=_0x5b1534,this['_localStorageService']=_0xb9c86f,this[_0x2f04eb(0x217)]=_0xd68d99);}[_0x513e05(0x355)](){const _0x4365b3=_0x513e05;this[_0x4365b3(0x260)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x513e05(0x1ed)](){return this['_saveTaskMap'];}[_0x513e05(0x472)](){const _0x1b136f=_0x513e05;this[_0x1b136f(0x37f)]()[_0x1b136f(0x37c)](()=>super[_0x1b136f(0x472)]());}async[_0x513e05(0x422)](_0x28ab1d){const _0x260bcc=_0x513e05;return this[_0x260bcc(0x260)]?null:this['_localStorageService'][_0x260bcc(0x43f)](_0x19f8d7[_0x260bcc(0x461)](_0x28ab1d));}async[_0x513e05(0x35f)](_0x54726e,_0x27f00e){const _0x57bfb0=_0x513e05;return!!this['_localStorageService'][_0x57bfb0(0x1e1)](_0x54726e,_0x27f00e);}['updateOfflineData'](_0x5e0a96,_0x280cf8,_0x14aa0d,_0x3ccdc0){const _0x2b3729=_0x513e05,_0x268851=this[_0x2b3729(0x217)][_0x2b3729(0x3f5)](_0x5e0a96);this[_0x2b3729(0x2f7)][_0x2b3729(0x40c)](_0x5e0a96,{'unitID':_0x5e0a96,'type':_0x280cf8,'awaitingChangeset':_0x14aa0d,'mutations':_0x3ccdc0,'rev':_0x268851}),this['_saveTaskMap'][_0x2b3729(0x28b)](_0x5e0a96)||this['_scheduleSaving'](_0x5e0a96);}['_scheduleSaving'](_0x1f684d){const _0x769e8e=_0x513e05,_0x568b29=this[_0x769e8e(0x2e3)]();_0x568b29===0x0?this[_0x769e8e(0x2ac)](_0x1f684d):this['_saveTaskMap'][_0x769e8e(0x40c)](_0x1f684d,setTimeout(()=>this[_0x769e8e(0x2ac)](_0x1f684d),_0x568b29));}['_getSaveTimeout'](){const _0x3cfb83=_0x513e05;var _0x2731e7;return(_0x2731e7=this[_0x3cfb83(0x441)][_0x3cfb83(0x2fc)](_0x19f8d7[_0x3cfb83(0x3c4)]))!=null?_0x2731e7:_0x19f8d7[_0x3cfb83(0x34b)];}['_saveCache'](_0x589a51){const _0x4ee6e5=_0x513e05,_0x592cfd=this['_saveTaskMap'][_0x4ee6e5(0x309)](_0x589a51);return _0x592cfd!==void 0x0&&window[_0x4ee6e5(0x39c)](_0x592cfd),this[_0x4ee6e5(0x483)][_0x4ee6e5(0x1e1)](_0x19f8d7[_0x4ee6e5(0x461)](_0x589a51),this['_cachedData']['get'](_0x589a51))[_0x4ee6e5(0x37c)](()=>this[_0x4ee6e5(0x421)][_0x4ee6e5(0x365)](_0x589a51));}async[_0x513e05(0x37f)](){const _0x25ad9d=_0x513e05,_0x500a99=[];this[_0x25ad9d(0x421)][_0x25ad9d(0x2a8)]((_0x3373fa,_0x2aa396)=>{const _0x379e2c=_0x25ad9d;window[_0x379e2c(0x39c)](_0x3373fa),_0x500a99[_0x379e2c(0x2e0)](this['_saveCache'](_0x2aa396)['then'](()=>{const _0x2b41bb=_0x379e2c;this[_0x2b41bb(0x421)][_0x2b41bb(0x365)](_0x2aa396);}));}),await Promise['all'](_0x500a99);}};_0x1853ac=_0x2462a1([_0x214577(0x0,_0x3772e7['IConfigService']),_0x214577(0x1,_0x3772e7[_0x513e05(0x27c)]),_0x214577(0x2,_0x3772e7[_0x513e05(0x30b)](_0x116492[_0x513e05(0x289)]))],_0x1853ac);class _0x39c7f7 extends _0x3772e7[_0x513e05(0x490)]{constructor(){const _0x42e1c2=_0x513e05;super(),_0xfd5d9c(this,_0x42e1c2(0x327)),this[_0x42e1c2(0x327)]=_0x104804[_0x42e1c2(0x398)](window,'popstate')[_0x42e1c2(0x372)](_0x104804[_0x42e1c2(0x3e1)](this['dispose$']),_0x104804[_0x42e1c2(0x2e7)](0x1),_0x104804[_0x42e1c2(0x39a)](void 0x0));}['setParam'](_0x3d90f5,_0x8e5b9c,_0x1e749f=!0x1){const _0x599318=_0x513e05,_0x22ba32=new URL(window[_0x599318(0x430)][_0x599318(0x31e)]);_0x22ba32['searchParams'][_0x599318(0x40c)](_0x3d90f5,_0x8e5b9c),_0x1e749f?window[_0x599318(0x1f5)][_0x599318(0x1c5)]('','',_0x22ba32['toString']()):window[_0x599318(0x1f5)][_0x599318(0x26e)]('','',_0x22ba32[_0x599318(0x3a9)]());}[_0x513e05(0x393)](_0x1e215c,_0x5db700=!0x1){const _0x234511=_0x513e05,_0x2c9352=new URL(window[_0x234511(0x430)][_0x234511(0x31e)]);_0x2c9352[_0x234511(0x417)]['delete'](_0x1e215c),_0x5db700?window['history'][_0x234511(0x1c5)]('','',_0x2c9352[_0x234511(0x3a9)]()):window['history']['pushState']('','',_0x2c9352[_0x234511(0x3a9)]());}[_0x513e05(0x22e)](_0x2ac35e){const _0x41dbc2=_0x513e05;var _0x1ed3a9;return(_0x1ed3a9=new URL(window[_0x41dbc2(0x430)][_0x41dbc2(0x31e)])[_0x41dbc2(0x417)][_0x41dbc2(0x309)](_0x2ac35e))!=null?_0x1ed3a9:void 0x0;}}var _0x3feea5=Object[_0x513e05(0x226)],_0x42c8e1=Object['getOwnPropertyDescriptor'],_0x419814=(_0x53bed1,_0x215e79,_0x4784e7)=>_0x215e79 in _0x53bed1?_0x3feea5(_0x53bed1,_0x215e79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4784e7}):_0x53bed1[_0x215e79]=_0x4784e7,_0x318a22=(_0x2df643,_0x42ed79,_0x298add,_0x4ae870)=>{for(var _0x4680f4=_0x4ae870>0x1?void 0x0:_0x4ae870?_0x42c8e1(_0x42ed79,_0x298add):_0x42ed79,_0x11faad=_0x2df643['length']-0x1,_0x26fa0c;_0x11faad>=0x0;_0x11faad--)(_0x26fa0c=_0x2df643[_0x11faad])&&(_0x4680f4=_0x26fa0c(_0x4680f4)||_0x4680f4);return _0x4680f4;},_0x2e8ae0=(_0x32648f,_0x692bf3)=>(_0x12696c,_0x14e15d)=>_0x692bf3(_0x12696c,_0x14e15d,_0x32648f),_0x4a9300=(_0xcf762c,_0x6670a,_0x4c0e84)=>_0x419814(_0xcf762c,_0x6670a+'',_0x4c0e84);const _0x5049ca=_0x513e05(0x468);_0x8036c6[_0x513e05(0x41a)]=class extends _0x3772e7['Plugin']{constructor(_0xea60b1=_0x52c7c0,_0x14917b,_0x3ba0a4,_0x277063){const _0x3833dd=_0x513e05;super(),this[_0x3833dd(0x2e9)]=_0xea60b1,this[_0x3833dd(0x26d)]=_0x14917b,this[_0x3833dd(0x499)]=_0x3ba0a4,this['_configService']=_0x277063;const {..._0x39ffe6}=_0x3772e7['merge']({},_0x52c7c0,this[_0x3833dd(0x2e9)]);this['_configService'][_0x3833dd(0x31c)](_0x2157a3,_0x39ffe6);}[_0x513e05(0x3bb)](){const _0x5b60c4=_0x513e05;this['_registerDependencies'](),this[_0x5b60c4(0x25c)]();}[_0x513e05(0x329)](){const _0x56381b=_0x513e05;this[_0x56381b(0x3a0)]();}['_registerDependencies'](){const _0x33e5f8=_0x513e05;var _0x1fca3d;const _0x1a3e83=[[_0x2e3fbf],[_0x498739],[_0x348751],[_0x32f42e],[_0x52ca15],[_0x39a103],[_0x2a7c11,{'useClass':_0x39c7f7}],[_0xe6cf6e[_0x33e5f8(0x2ee)],{'useClass':_0xe6cf6e['WebSocketService']}],[_0x19f8d7[_0x33e5f8(0x36d)],{'useClass':_0x1853ac}],[_0x8036c6[_0x33e5f8(0x1c0)]],[_0x27ca3d],[_0x23daa2],[_0x2234d1],[_0x459a5d],[_0x8036c6[_0x33e5f8(0x42a)]]];this[_0x33e5f8(0x2e9)]['enableFrontendLog']&&_0x1a3e83[_0x33e5f8(0x2e0)]([_0x19eb72]),_0x3772e7[_0x33e5f8(0x264)](this[_0x33e5f8(0x499)],_0x3772e7[_0x33e5f8(0x2f8)](_0x1a3e83,(_0x1fca3d=this[_0x33e5f8(0x2e9)])==null?void 0x0:_0x1fca3d[_0x33e5f8(0x2e8)]));}['_registerRenderDependencies'](){const _0x186f81=_0x513e05;this[_0x186f81(0x317)](this[_0x186f81(0x26d)]['registerRenderModule'](_0x3772e7[_0x186f81(0x232)][_0x186f81(0x366)],[_0x4d05f1])),this['disposeWithMe'](this[_0x186f81(0x26d)]['registerRenderModule'](_0x3772e7[_0x186f81(0x232)][_0x186f81(0x437)],[_0x4fc936]));}[_0x513e05(0x25c)](){const _0x308ee0=_0x513e05;_0x3772e7['touchDependencies'](this[_0x308ee0(0x499)],[[_0x2234d1],[_0x8036c6['DesktopCollaborationStatusDisplayController']],[_0x27ca3d],[_0x23daa2],[_0x8036c6['CollaborationDataLoaderController']],[_0x498739]]),this[_0x308ee0(0x2e9)]['enableFrontendLog']&&_0x3772e7['touchDependencies'](this[_0x308ee0(0x499)],[[_0x19eb72]]);}},_0x4a9300(_0x8036c6[_0x513e05(0x41a)],'pluginName',_0x5049ca),_0x8036c6[_0x513e05(0x41a)]=_0x318a22([_0x3772e7['DependentOn'](_0x19f8d7[_0x513e05(0x2e2)]),_0x2e8ae0(0x1,_0x29b571[_0x513e05(0x494)]),_0x2e8ae0(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x2e8ae0(0x3,_0x3772e7['IConfigService'])],_0x8036c6['UniverCollaborationClientUIPlugin']);var _0x130241=Object[_0x513e05(0x33c)],_0x5ddeed=(_0x7f3be1,_0xc6d3b8,_0x210dc6,_0x426342)=>{const _0x479ab0=_0x513e05;for(var _0x27ec7a=_0x426342>0x1?void 0x0:_0x426342?_0x130241(_0xc6d3b8,_0x210dc6):_0xc6d3b8,_0x49361d=_0x7f3be1[_0x479ab0(0x3ec)]-0x1,_0x436ad6;_0x49361d>=0x0;_0x49361d--)(_0x436ad6=_0x7f3be1[_0x49361d])&&(_0x27ec7a=_0x436ad6(_0x27ec7a)||_0x27ec7a);return _0x27ec7a;},_0x52934b=(_0x37fde8,_0x4f3f35)=>(_0x5610a0,_0x25f3e5)=>_0x4f3f35(_0x5610a0,_0x25f3e5,_0x37fde8);_0x8036c6[_0x513e05(0x382)]=class extends _0x19f8d7[_0x513e05(0x3bc)]{constructor(_0x26b322,_0x2a8a05,_0x1f6b1d,_0x39ccff,_0x3bb78d){super(_0x26b322,_0x2a8a05,_0x1f6b1d,_0x39ccff,_0x3bb78d);}async[_0x513e05(0x216)](_0x377044){const _0xf0b049=_0x513e05,_0x474a08=await this[_0xf0b049(0x2af)](),_0x58620d=this[_0xf0b049(0x1d6)](_0x377044,_0x474a08);return this[_0xf0b049(0x2eb)](_0x58620d);}[_0x513e05(0x1d6)](_0x188fea,_0x24333c){const _0x5ef18e=_0x513e05,_0x31db8f=typeof window>'u'?new URL(_0x188fea):new URL(_0x188fea,window[_0x5ef18e(0x430)][_0x5ef18e(0x307)]);_0x31db8f[_0x5ef18e(0x417)]['set'](_0x5ef18e(0x22f),_0x24333c);const _0x463c79=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5ef18e(0x430)][_0x5ef18e(0x491)]);return _0x463c79[_0x5ef18e(0x309)](_0x5ef18e(0x234))&&_0x31db8f['searchParams'][_0x5ef18e(0x40c)](_0x5ef18e(0x234),_0x463c79[_0x5ef18e(0x309)](_0x5ef18e(0x234))),_0x31db8f['toString']();}async['_getSessionTicket'](){const _0xdbfdd4=_0x513e05;var _0x5c3d12,_0x195efd,_0x2f08ea;const _0x267b48=this[_0xdbfdd4(0x441)][_0xdbfdd4(0x2fc)](_0x19f8d7[_0xdbfdd4(0x2fd)]),_0xba795e=(_0x5c3d12=_0x267b48==null?void 0x0:_0x267b48['wsSessionTicketUrl'])!=null?_0x5c3d12:_0x19f8d7[_0xdbfdd4(0x1c1)];return(_0x2f08ea=(_0x195efd=(await this[_0xdbfdd4(0x2cc)][_0xdbfdd4(0x309)](_0xba795e,{'headers':{'Content-Type':_0xdbfdd4(0x305)}}))[_0xdbfdd4(0x3c7)])==null?void 0x0:_0x195efd['ticket'])!=null?_0x2f08ea:'';}},_0x8036c6[_0x513e05(0x382)]=_0x5ddeed([_0x52934b(0x0,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x52934b(0x1,_0x3772e7[_0x513e05(0x30b)](_0xe6cf6e[_0x513e05(0x1cc)])),_0x52934b(0x2,_0x3772e7[_0x513e05(0x3da)]),_0x52934b(0x3,_0x3772e7['ILogService']),_0x52934b(0x4,_0x116492[_0x513e05(0x28e)])],_0x8036c6['BrowserCollaborationSocketService']);var _0x16cc04=Object[_0x513e05(0x33c)],_0x5770e8=(_0x5b28da,_0x1a2eeb,_0x294702,_0x323b4)=>{const _0x4d729a=_0x513e05;for(var _0x11b788=_0x323b4>0x1?void 0x0:_0x323b4?_0x16cc04(_0x1a2eeb,_0x294702):_0x1a2eeb,_0x587833=_0x5b28da[_0x4d729a(0x3ec)]-0x1,_0x34d95f;_0x587833>=0x0;_0x587833--)(_0x34d95f=_0x5b28da[_0x587833])&&(_0x11b788=_0x34d95f(_0x11b788)||_0x11b788);return _0x11b788;},_0x2702fb=(_0x3b4ad0,_0x1d0631)=>(_0x512a8a,_0x4dd87b)=>_0x1d0631(_0x512a8a,_0x4dd87b,_0x3b4ad0);_0x8036c6[_0x513e05(0x26f)]=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x319ba3,_0x27a756,_0x5a8711){const _0x2e6f5e=_0x513e05;super(),this['_instanceService']=_0x319ba3,this[_0x2e6f5e(0x2cc)]=_0x27a756,this[_0x2e6f5e(0x441)]=_0x5a8711;}async[_0x513e05(0x273)](_0x5d4a42,_0x3e3564,_0x3eaa30,..._0x13b607){const _0x380063=_0x513e05;var _0x639b66,_0x2bc033,_0x5b7b0f,_0x163c7e;const _0x5d0977=this[_0x380063(0x3ce)][_0x380063(0x207)]();if(!_0x5d0977)throw new Error(_0x380063(0x3af));const _0x24cde3=((_0x639b66=this[_0x380063(0x441)][_0x380063(0x2fc)](_0x19f8d7['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x639b66:_0x19f8d7['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5d4a42+_0x380063(0x2e1)+_0x3e3564,_0x386439=new URL(window[_0x380063(0x430)][_0x380063(0x31e)]),_0x1b8740={'scriptId':_0x5d4a42,'runId':(_0x2bc033=_0x386439[_0x380063(0x417)][_0x380063(0x309)]('runId'))!=null?_0x2bc033:'','function':_0x3e3564,'unitId':_0x5d0977[_0x380063(0x353)](),'argsOfFunction':JSON['stringify'](_0x13b607),'invokeId':(_0x5b7b0f=_0x3eaa30['invokeId'])!=null?_0x5b7b0f:'','executionId':(_0x163c7e=_0x3eaa30[_0x380063(0x295)])!=null?_0x163c7e:''};try{const _0x3bdf2c=await this[_0x380063(0x2cc)][_0x380063(0x1db)](_0x24cde3,{'body':_0x1b8740});return _0x3bdf2c[_0x380063(0x3c7)][_0x380063(0x27b)]&&_0x3bdf2c[_0x380063(0x3c7)][_0x380063(0x27b)][_0x380063(0x420)]!==_0x47161c['OK']?_0x380063(0x451):_0x3bdf2c[_0x380063(0x3c7)]['result'];}catch{return _0x380063(0x451);}}},_0x8036c6[_0x513e05(0x26f)]=_0x5770e8([_0x2702fb(0x0,_0x3772e7[_0x513e05(0x201)]),_0x2702fb(0x1,_0x3772e7['Inject'](_0xe6cf6e['HTTPService'])),_0x2702fb(0x2,_0x3772e7[_0x513e05(0x3da)])],_0x8036c6['RemoteUniscriptService']);const _0x99680c=0x7530,_0x4094b6=_0x513e05(0x40e);class _0x26e4a4 extends _0x3772e7['Disposable']{constructor(){const _0x2cf71c=_0x513e05;super(),_0xfd5d9c(this,_0x2cf71c(0x41b),_0x3772e7[_0x2cf71c(0x2ae)]()),_0xfd5d9c(this,_0x2cf71c(0x1c2),new Set()),_0xfd5d9c(this,_0x2cf71c(0x473),new Map()),_0xfd5d9c(this,_0x2cf71c(0x370),null),_0xfd5d9c(this,_0x2cf71c(0x2d2),new Map()),_0xfd5d9c(this,'_unitStatus',new Map()),this[_0x2cf71c(0x219)]();}[_0x513e05(0x472)](){const _0xb8b5b8=_0x513e05;super[_0xb8b5b8(0x472)](),this[_0xb8b5b8(0x2d2)][_0xb8b5b8(0x2a8)]((_0x2520a1,_0x281725)=>this[_0xb8b5b8(0x2ca)](_0x281725)),this[_0xb8b5b8(0x370)]&&window[_0xb8b5b8(0x1de)](this[_0xb8b5b8(0x370)]);}[_0x513e05(0x2d9)](_0x1f0cf5){const _0x11d0ee=_0x513e05;return this[_0x11d0ee(0x384)](_0x1f0cf5)[_0x11d0ee(0x372)](_0x104804[_0x11d0ee(0x2ba)]());}[_0x513e05(0x1d5)](_0xec2d5b){const _0x566c9d=_0x513e05;this[_0x566c9d(0x1c2)][_0x566c9d(0x396)]===0x0&&this[_0x566c9d(0x386)](),this[_0x566c9d(0x1c2)]['add'](_0xec2d5b),this[_0x566c9d(0x20d)]({'type':0x0,'memberID':this[_0x566c9d(0x41b)],'unitIDs':[_0xec2d5b],'isForwarded':!0x1});}[_0x513e05(0x356)](_0x5cc433){const _0x55e28f=_0x513e05;this[_0x55e28f(0x1c2)]['delete'](_0x5cc433),this[_0x55e28f(0x1c2)][_0x55e28f(0x396)]===0x0&&this[_0x55e28f(0x370)]&&window[_0x55e28f(0x1de)](this[_0x55e28f(0x370)]);}[_0x513e05(0x219)](){const _0x4efc29=_0x513e05;this[_0x4efc29(0x317)](_0x3772e7[_0x4efc29(0x385)](_0x104804['fromEvent'](window,_0x4efc29(0x3c3))[_0x4efc29(0x3ee)](_0x3a2d13=>{const _0x2e523e=_0x4efc29;if(_0x3a2d13['key']!==_0x4094b6||!_0x3a2d13[_0x2e523e(0x337)])return;const _0x435281=JSON['parse'](_0x3a2d13[_0x2e523e(0x337)]);this[_0x2e523e(0x33b)](_0x435281);}))),window[_0x4efc29(0x459)]('unload',()=>this[_0x4efc29(0x20d)]({'type':0x1,'memberID':this[_0x4efc29(0x41b)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x513e05(0x33b)](_0x1cd135){const _0x20546f=_0x513e05;switch(_0x1cd135[_0x20546f(0x23f)]){case 0x0:this[_0x20546f(0x1c7)](_0x1cd135);break;case 0x1:this[_0x20546f(0x25d)](_0x1cd135);break;case 0x2:this[_0x20546f(0x1fc)](_0x1cd135);break;}}[_0x513e05(0x1c7)](_0x3cf225){const _0x2b3634=_0x513e05,{unitIDs:_0x32bd66,memberID:_0x203e23,isForwarded:_0x718ab5}=_0x3cf225;_0x32bd66[_0x2b3634(0x2a8)](_0x446f8f=>{const _0x3461c4=_0x2b3634;if(!_0x718ab5&&this[_0x3461c4(0x473)][_0x3461c4(0x28b)](_0x446f8f)&&this[_0x3461c4(0x384)](_0x446f8f)[_0x3461c4(0x344)](_0x19f8d7[_0x3461c4(0x413)][_0x3461c4(0x390)]),!this[_0x3461c4(0x473)][_0x3461c4(0x28b)](_0x446f8f)||!this[_0x3461c4(0x473)][_0x3461c4(0x309)](_0x446f8f)['has'](_0x203e23)){const _0x279ce4=this[_0x3461c4(0x473)][_0x3461c4(0x309)](_0x446f8f)||new Set();_0x279ce4[_0x3461c4(0x458)](_0x203e23),this[_0x3461c4(0x473)][_0x3461c4(0x40c)](_0x446f8f,_0x279ce4),this['_scheduleClearOtherTimer'](_0x203e23);}}),_0x718ab5||this[_0x2b3634(0x20d)]({'type':0x0,'memberID':this[_0x2b3634(0x41b)],'unitIDs':[...this[_0x2b3634(0x1c2)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5dc944){const _0x1c434e=_0x513e05;this[_0x1c434e(0x2ca)](_0x5dc944);const _0x329296=window[_0x1c434e(0x42b)](()=>{const _0x28addd=_0x1c434e;this[_0x28addd(0x473)][_0x28addd(0x2a8)](_0x8265d8=>{const _0x4b0fe2=_0x28addd;_0x8265d8[_0x4b0fe2(0x365)](_0x5dc944);});},_0x99680c*0x2);this[_0x1c434e(0x2d2)][_0x1c434e(0x40c)](_0x5dc944,_0x329296);}[_0x513e05(0x2ca)](_0x251043){const _0x195167=_0x513e05;if(this['_clearOtherTimers']['has'](_0x251043)){const _0x3e80cd=this['_clearOtherTimers'][_0x195167(0x309)](_0x251043);_0x3e80cd&&window[_0x195167(0x39c)](_0x3e80cd),this[_0x195167(0x2d2)]['set'](_0x251043,null);}}['_handleLeaveEvent'](_0x4effdb){const _0x24d44a=_0x513e05,{memberID:_0x5aed11,unitIDs:_0xdcfc70}=_0x4effdb;_0xdcfc70['forEach'](_0xf77538=>{const _0x4edbaa=_0x3621;var _0x2554f2;const _0x2a5cb0=this[_0x4edbaa(0x473)]['get'](_0xf77538);_0x2a5cb0&&(_0x2a5cb0[_0x4edbaa(0x365)](_0x5aed11),(_0x2554f2=this[_0x4edbaa(0x384)](_0xf77538))==null||_0x2554f2[_0x4edbaa(0x344)](_0x2a5cb0[_0x4edbaa(0x396)]===0x0?_0x19f8d7[_0x4edbaa(0x413)]['NO_OTHER_CLIENTS_EDITING']:_0x19f8d7[_0x4edbaa(0x413)][_0x4edbaa(0x390)]));}),this[_0x24d44a(0x2ca)](_0x5aed11);}[_0x513e05(0x1fc)](_0x404f4a){const _0x264838=_0x513e05;this[_0x264838(0x277)](_0x404f4a[_0x264838(0x47a)]);}[_0x513e05(0x20d)](_0x4f5d01){const _0x280fc9=_0x513e05;localStorage[_0x280fc9(0x1e1)](_0x4094b6,JSON['stringify'](_0x4f5d01));}['_scheduleHeartbeat'](){const _0x40e502=_0x513e05;this[_0x40e502(0x370)]=window[_0x40e502(0x346)](()=>{const _0x5c6f70=_0x40e502;this[_0x5c6f70(0x20d)]({'type':0x2,'memberID':this[_0x5c6f70(0x41b)]});},_0x99680c);}[_0x513e05(0x384)](_0x46b507){const _0x2fe2ca=_0x513e05;return this[_0x2fe2ca(0x2ed)][_0x2fe2ca(0x28b)](_0x46b507)||this[_0x2fe2ca(0x2ed)]['set'](_0x46b507,new _0x104804[(_0x2fe2ca(0x493))](_0x19f8d7[_0x2fe2ca(0x413)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x46b507);}}_0x8036c6[_0x513e05(0x444)]=_0x2a7c11,_0x8036c6['SheetCollabCursorShape']=_0xc79a86,_0x8036c6[_0x513e05(0x373)]=_0x26e4a4,_0x8036c6['WebURLService']=_0x39c7f7,Object[_0x513e05(0x226)](_0x8036c6,Symbol['toStringTag'],{'value':'Module'});}));
8
+ function _0xd869(_0x1dc9d5,_0x23723e){const _0x5f3338=_0x5f33();return _0xd869=function(_0xd869b9,_0x1602dd){_0xd869b9=_0xd869b9-0x1ea;let _0x230744=_0x5f3338[_0xd869b9];return _0x230744;},_0xd869(_0x1dc9d5,_0x23723e);}function _0x5f33(){const _0x1515d6=['href','_updateLocalCursor','dispose','collabStatus.offline','_textBubble','getFocusedUnit','_hasFormulaInDirtyRanges','INVITE_CODE_REQUIRED','@univerjs-pro/collaboration-client','_initWindowErrorListener','_handleEvent','_docTransformStateCacheService','TOO_MANY_REQUESTS','OffLineIcon','now','_cursors','stage','UniverProCollaborationClientUi','_syncEditingCollabCursorService','cursorInfo','url(#off-line-icon_clip0_910_343)','rgba(255,\x20255,\x20255,\x200.01)','with','whenReady','on-line-icon_clip0_910_349','m1Prime','_showGuardMessage','editingUnit','_online','ENTITLE_CHAT_LIMIT_EXCEED','handleInsertCol','UniverRpc','forwardRef','_anchorDot','forEach','_status$','FromArray','_docSkeleton','enableFrontendLog','currentColor','setShapeProps','height','getViewport','/universer-api/license/formula/limit/start','hovered','INVALID_ARGUMENT','SheetSkeletonManagerService','_localStorageService','IDocClipboardService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_updateURLWithCurrentState','NOT_COLLAB','currentSkeleton$','beginPath','@univerjs/drawing','FormulaExecutedStateType','_onCursorDelete','SetSelectionsOperation','Shape','MOBILE_VERIFY_CODE_MISMATCH','YUUMI_ASYNCIO_CANCELLED','_document','then','origin','string','transformRemoteChangeset','getCellPositionByOffset','url(#on-line-icon_clip0_910_349)','AUTHORIZE_CODE_ILLEGAL','registerBeforeClose','CONNECTOR_DATA_TOO_LARGE','APPLY_NON_SEQUENTIAL_REVISION','location','runOnServer','throttleTime','ILogService','CollaborationDataLoaderController','_initCommandExecutedListener','startsWith','_localeService','session.collaboration-timeout','shift','UniverInstanceType','triggerDblclick','transformByState','SetTextSelectionsOperation','Disposable','dispose$','SetDocZoomRatioOperation','univer-flex\x20univer-items-center','ENSURE_SNAPSHOT_EXECUTION','DependentOn','registerRefRange','setConfig','getActiveRange','_transformPreviousActiveRange','_colorIndex','_docTransformSelectionsService','PENDING','UPDATE_CURSOR','_toggleOffline','registerRenderModule','m2Prime','_entities','getValue','switchMap','_logService','_checkAndWaitForCalculationPermission','_init','UniverDrawing','_assignedColors','show','259329UrHHwt','_hover','SetFormulaCalculationStartMutation','RemoveColCommandId','LICENSE_EXPORT_SIZE_EXCEEDED','reconnect','YUUMI_SUBSCRIPTION_NOT_FOUND','limitInfo','type','deserializeRangeWithSheet','sessionStatus$','425752JqPTVa','_hideTimer','getColor','colorChannel1','UNDEFINED','ENTITLE_REPORT_LIMIT_EXCEED','catch','history','@univerjs/ui','random','getOwnPropertyDescriptor','searchParams','startColumn','14RCztlw','size','DocCollaborationEntity','stringify','IRenderManagerService','APPLY_DUPLICATED','setStateCache','ENTITLE_DUP_SUBSCRIPTION','1543959JwKbjP','clipPath','startRow','SYNCED','_handleLeaveEvent','transformStateCache','connectInjector','runId','getTypeOfUnitAdded$','TEXT_RANGE_LAYER_INDEX','_setFormulaLimitStatus','imageSourceType','rxjs','ALREADY_EXISTS','@univerjs/docs-ui','save','UniverProCollaborationClient','@univerjs/sheets','WebURLService','min','_createSocketURL','_getFormulaLimitStatus','_cursorInfo$','EMAIL_HAS_BEEN_BOUND','DeleteRangeMoveLeftCommandId','makeDirty','endRow','tag','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UNIVER_SHEET','addObject','_clearOtherTimers','_startDocCollabCursor','UniverNetwork','_getScale','getUniverSheetInstance','CollaborationEvent','getMember','getCollabEntity$','shareReplay','executeCommand','handleMoveRange','distinctUntilChanged','from','error','_initStatusListener','unitID','SheetsSelectionsService','UNIVER_DOC','urlChange$','_injector','LOGIN_FAILED','HEADER_MENU','runRefRangeMutations','off-line-icon','SNAPSHOT_INVALID_SNAPSHOT','handleInsertRangeMoveDown','NodePositionConvertToRectRange','ENTITLE_CAN_NOT_BUY_LOWER_OTP','22mwYeYY','/universer-api/license/formula/limit/done','OTHER_CLIENT_EDITING','COMPLETION_FINISHED','sheetID','labelPosition','addObjects','INotificationService','removeParam','collab-client.tooltip.reconnect','#FFF','disposeUnit','CollaborationUIEventService','CHANGESET_REVISION_CONFILICT','width','toStringTag','CommandType','Tools','REDEMPTION_CODE_HAS_BEEN_CREATED','MemberService','subscribeEvent','UniverEngineFormula','cursorInfo$','totalFormulasToCalculate','clsx','_cursorShapes','Plugin','_handleHeartbeatEvent','WECHAT_HAS_BEEN_BOUND','UniverSheets','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','beforeCommandExecuted','on-line-icon','LOGIN_TOKEN_PROCESSING_FAILED','_getSessionTicket','params','handleInsertRangeMoveRight','@univerjs/design','_transformService','undoState','[Window\x20Error]:\x20','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','PAYMENT_CHANNEL_NOT_SUPPORT','collabStatus.synced','VIEW_MAIN','ThemeService','operators','_saveTaskMap','_collabSessionService','InsertRangeMoveRightCommandId','svg','COLORS','0\x200\x2017\x2016','max','_lastPointer','fromEvent','_taskIds','UNAUTHENTICATED','BrowserCollaborationSocketService','attrs','DataLoaderService','fill','debounceTime','USER_NOT_INVITED_CODE','UniverEngineRender','RxDisposable','pipe','ITransformService','RevisionService','getCellMatrix','UnitStatus','sessionTicket','HTTPService','@univerjs/engine-formula','complete','maxFormulaLimit','_dataLoaderService','current','_initStatusComponent','map','defineProperty','_collaborationUIEventService','DisposableCollection','filter','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_instanceService','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','2226fZHjkT','handleInsertRow','debounce','_config','RegularPolygon','handleDeleteRangeMoveLeft','getTypeOfUnitDisposed$','white','_httpService','UniverSheetsUi','_handleJoinEvent','_docClipboardService','stageInfo','isTransformMutationFailure','getLocalCacheKey','parseInt','getSkeleton','replaceState','_id','DOC_RANGE_TYPE','jsx','textRanges','row','_colorAssignService','children','restore','_refreshCollabCursors','ILocalStorageService','DEFAULT_WS_SESSION_TICKET_URL','PY_RUNTIME_SCRIPT_ERROR','onRendered','removeEventListener','_applyCommand','join','transformSelections','code','subUnitId','subunit','session.will-retry','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initEntityListener','JOIN_ROOM_FAILED','toDisposable','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','none','_initUserListener','_sheetSkeletonManagerService','CanceledError','react','_session','/universer-api/license/formula/limit/status','black','_color','startFormulaLimitUrl','trim','_revisionService','_anchor','_scheduleSaving','MoveRangeCommandId','_collaborationController','CollaborationUIEventId','FETCH_MISS','ICommandService','UniverDesign','onCommandExecuted','IUIPartsService','OnLineIcon','0\x200\x2016\x2016','_ensureSubject','_beforeCloseService','setTimeout','YUUMI_URL_COL_OUT_OF_RANGE','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','_startCalculationLimit','text','NOT_FOUND','getSheetBySheetId','IMessageService','stack','react/jsx-runtime','CollaborationStatus','combineLatest','length','_updateSubUnitFromURLParams','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Vector2','top','getRangePointData','_name','YUUMI_AI_RUN_FAILED','getVpScrollXYInfoByPosToVp','ENTITLE_INSUFFICIENT_QUOTA','_docSkeletonManagerService','NO_OTHER_CLIENTS_EDITING','formula.calculation.started','_pollingInterval','_refRangeService','MOBILE_HAS_BEEN_BOUND','ISocketService','ERROR_AGAIN','uni.network.url-service','permission.title','syncEditingCollabCursor','_transformUndoRedoStack','evenodd','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getOffsetConfig','engine','72FWqkmd','30SYEfYo','entityInit$','_drawTextRange','unit','InsertRangeMoveDownCommandId','USER_NOT_FOUND','memberID','_scheduleClearOtherTimer','addClipboardHook','collab-rect-range-','http://www.w3.org/2000/svg','OFFLINE','socket$','storage','_registerRenderDependencies','onPointerMove$','bottom','M0\x200H16V16H0z','get','RemoveRowCommandId','_unitStatus','750688NEMche','DATA_SOURCE_TOO_LARGE','roomMembers','EMAIL_VERIFY_CODE_MISMATCH','UniverCollaborationClientUIPlugin','...','ILocalCacheService','createElement','unshift','all','getConfig','lineno','_initUnhandledRejectionListener','getStateCache','saveImage','INVITE_CODE_HAS_BEEN_UES','YUUMI_CONNECTOR_URL_NOT_FOUND','getDocRanges','resize','name','_registerDependencies','CONFLICT','OTHER_CLIENTS_EDITING','3615UXBiDd','UniverProCollaboration','popstate','updateOfflineData','CollaborationSessionService','saveOfflineData','search','disposeWithMe','_initCommandInterceptor','DocSkeletonManagerService','CollaborationController','LICENSE_DISTRO_REJECTED','isArray','_heartbeatTimer','getAncestorScale','green.600','IRemoteInstanceService','INVITE_CODE_ALREADY_BOUND','measureText','ticket','ENTITLE_NEED_BILLING_ADDRESS','arc','REDEMPTION_CODE_INACTIVE','_collaborationSessionService','_uiPartsService','_selfUnitIDs','RECT','setAlpha','skeleton','_docStateChangeManagerService','handleIRemoveRow','SNAPSHOT_HAS_BEEN_REMOVED','_urlService','bind','takeUntil','UniverDocsUi','mask','_startSheetCollabCursor','idSuffix','releaseFormulaLimitUrl','invokeId','getMemberID','closePath','red.300','doc.mutation.rich-text-editing','_disabled','_renderManagerService','_checkCalculationAvailable','_monkeyPatchLogService','collaboration-client.offline-data-not-saved','functionsExecutedState','collabStatus.conflict','addEventListener','ColorKit','SOCKET_FAILED_RETRY','pushState','_handleHover','mapTo','_render','_initEvent','getUnit','useObservable','purple.300','set','_hovered','_removeCollabCursors','getSheetId','_setupSubUnitSync','values','includes','NodePositionConvertToCursor','Error','createSocket','saveTaskMap','activeSheet$','permission.content','_univerInstanceService','LICENSE_MAX_UNITS_EXCEEDED','fillRule','currentTheme$','translate(.97)','object','_initDependencies','send','formula.calculation.unable','BehaviorSubject','236985OBhAqh','backgroundColor','APPLY_PERMISSION_DENIED','find','Loading','SheetCollabCursorShape','IConfigService','2466924jgvjOc','YUUMI_NO_CUBOID_FOR_QUESTION','@univerjs/network','_cursor','_backgroundColor','endColumn','APPLY_REVISION_CONFILICT','getUnitStatus$','touchDependencies','_transformHistoryAndStateStack','setItem','APPLY_REJECT','_uploadLog','next','deepClone','getRenderById','collaboration.single-unit.warning','REDEMPTION_INVALID_CODE','clearTimeout','ranges','_lastResponseTimestamp','pluginName','IUniverInstanceService','_releaseCalculationLimit','AWAITING_WITH_PENDING','_messageService','actions','Rectangle','_localCacheService','unitId','getCoordByCell','Injector','_collabCursorState$','Subject','SessionStatus','useRef','MessageType','body','assignAColorForMemberID','redoState','focused$','fillText','path','univer-mr-2\x20univer-flex\x20univer-text-xl','_onRefRangeChange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transform','application/json','YUUMI_UNABLE_LOAD_URL','LocaleService','selection','replace','SetFormulaCalculationNotificationMutation','CLOSE_ROOM','init','isActive','[Unhandled\x20Rejection]:\x20','@univerjs/core','disableLocalCache','fromEventSubject','unsubscribe','_onCursorUpdate','off-line-icon_clip0_910_343','_labelPosition','_send','flatMap','getformulaLimitStatusUrl','unhandledrejection','_clearPolling','findNodePositionByCharIndex','_getSheetObject','PERMISSION_DENIED','onPointerEnter$','_getAnchorBounding','_maxFormulaLimit','merge','has','_scheduleHeartbeat','collabStatus.notCollab','REDEMPTION_USER_REDEEM_TIMES_EXCEED','transformIMECache','loadUnit','INVALID_INVITE_CODE','eventID','Optional','setParam','_scene','_draw','CURRENT_STATUS_CANNOT_OPERATE','START_CALCULATION','collaboration-client-ui.config','exhaustSavingTask','_doCreateSocket','parse','generateRandomId','UniverCollaborationClientPlugin','LICENSE_IMPORT_SIZE_EXCEEDED','push','Warning','USERS_LEAVE','range','enableLocalCache','defs','transformMutation','subscribe','_toggleOnline','Workbook','LOCAL_CACHE_INTERVAL','collab-text-range-','?taskId=','xlink:href','UniverUi','transformMutationsWithChangeset','fillStyle','drawWith','selections','_eventUnsubscribe','clearInterval','event$','Rect','_setupBeforeClosingHandler','currentUsage','_currentUsage','getParam','_getMergeRange','sheetId','jsxs','_memberService','result','getUndoRedoMutationParamsCache','_themeService','SHEET_VIEWPORT_KEY','_docTransformIMECacheService','delete','split','add','_drawAnchor','contains','_range','_commandService','requireSession','column','DocStateChangeManagerService','color','round','mutations','docStateChange$','DesktopCollaborationStatusDisplayController','DocIMEInputManagerService','dirtyRanges','YUUMI_RATE_OVER_LIMIT','EffectRefRangId','SUCCESS','getCurrentRevOfUnit','getColorFromTheme','@univerjs-pro/collaboration','displayName','status$','toString','_shapes','ACTIVE_UNIT_EVENT_CHANNEL','reason','UNRECOGNIZED','DocSelectionManagerService','getCollabCursors$','_updateCollabCursors','post','_removeClearOtherTimer','colno','handleIRemoveCol','_entityInit$','message','replaceDocRanges','isEditing','hide','exports','@univerjs/rpc','_collabCursorController','SetWorksheetActivateCommand','_roomMembers$','handleDeleteRangeMoveUp','div','Inject','_configService','data','Failed','INTERNAL_ERROR','formula.calculation.waiting','debug','REDEMPTION_CODE_FULLY_REDEEMED','1em','RichTextEditingMutation','lineTo','TEXT','_imageIoService','_unitOnClients','getUnitId','amd','RemoteUniscriptService','_cachedData','newValue','isTransformMutationsWithChangesetSuccess','_saveCache','registerComponent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_memberID','asObservable','[CollaborationDataLoaderController]','LOCAL_CACHE_INTERVAL_KEY','SUBMIT_CHANGESET_TIMEOUT','_notificationService','_context','symbol','wsSessionTicketUrl','some','IImageIoService'];_0x5f33=function(){return _0x1515d6;};return _0x5f33();}(function(_0x5d7b73,_0x1d1cb9){const _0x32d03d=_0xd869,_0x251028=_0x5d7b73();while(!![]){try{const _0x2fee79=-parseInt(_0x32d03d(0x4c7))/0x1+parseInt(_0x32d03d(0x3ab))/0x2*(parseInt(_0x32d03d(0x244))/0x3)+-parseInt(_0x32d03d(0x39e))/0x4+-parseInt(_0x32d03d(0x1ee))/0x5*(-parseInt(_0x32d03d(0x445))/0x6)+-parseInt(_0x32d03d(0x393))/0x7*(-parseInt(_0x32d03d(0x4b1))/0x8)+parseInt(_0x32d03d(0x3b3))/0x9*(parseInt(_0x32d03d(0x4b2))/0xa)+parseInt(_0x32d03d(0x3ee))/0xb*(-parseInt(_0x32d03d(0x24b))/0xc);if(_0x2fee79===_0x1d1cb9)break;else _0x251028['push'](_0x251028['shift']());}catch(_0x1d844d){_0x251028['push'](_0x251028['shift']());}}}(_0x5f33,0x61e62),function(_0x56a97c,_0x1aab00){const _0x16dc1c=_0xd869;typeof exports==_0x16dc1c(0x23f)&&typeof module<'u'?_0x1aab00(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x16dc1c(0x310)]?define([_0x16dc1c(0x2fa),_0x16dc1c(0x494),_0x16dc1c(0x32b),_0x16dc1c(0x284),_0x16dc1c(0x3a6),'rxjs',_0x16dc1c(0x413),_0x16dc1c(0x475),_0x16dc1c(0x2fb),_0x16dc1c(0x3c4),'@univerjs/engine-render',_0x16dc1c(0x24d),_0x16dc1c(0x3c1),_0x16dc1c(0x359),_0x16dc1c(0x2e6),'@univerjs/docs',_0x16dc1c(0x437),'rxjs/operators','@univerjs/sheets-ui'],_0x1aab00):(_0x56a97c=typeof globalThis<'u'?globalThis:_0x56a97c||self,_0x1aab00(_0x56a97c[_0x16dc1c(0x334)]={},_0x56a97c['React'],_0x56a97c[_0x16dc1c(0x3c3)],_0x56a97c['UniverCore'],_0x56a97c[_0x16dc1c(0x2ba)],_0x56a97c[_0x16dc1c(0x3bf)],_0x56a97c[_0x16dc1c(0x484)],_0x56a97c['React'],_0x56a97c[_0x16dc1c(0x342)],_0x56a97c[_0x16dc1c(0x40b)],_0x56a97c[_0x16dc1c(0x42e)],_0x56a97c[_0x16dc1c(0x3d4)],_0x56a97c[_0x16dc1c(0x211)],_0x56a97c[_0x16dc1c(0x390)],_0x56a97c[_0x16dc1c(0x1ef)],_0x56a97c['UniverDocs'],_0x56a97c[_0x16dc1c(0x403)],_0x56a97c['rxjs'][_0x16dc1c(0x41c)],_0x56a97c[_0x16dc1c(0x44e)]));}(this,function(_0x3e1990,_0x28f318,_0x493e59,_0x51c091,_0x47d161,_0x2d756d,_0x1039db,_0x48ac88,_0x455030,_0x184ff5,_0x396fb6,_0x38be65,_0x594fa4,_0x2e6991,_0x5b9cab,_0x37270e,_0xfcd088,_0xe24628,_0x5aaf45){'use strict';const _0x25c8ac=_0xd869;var _0x16d5e3=Object[_0x25c8ac(0x43e)],_0x108762=(_0x35cb87,_0x2bb3a0,_0x55b7ef)=>_0x2bb3a0 in _0x35cb87?_0x16d5e3(_0x35cb87,_0x2bb3a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55b7ef}):_0x35cb87[_0x2bb3a0]=_0x55b7ef,_0x3a54cf=(_0x6e6c74,_0xb6a63b,_0x48e5f6)=>_0x108762(_0x6e6c74,typeof _0xb6a63b!=_0x25c8ac(0x31f)?_0xb6a63b+'':_0xb6a63b,_0x48e5f6);function _0x30e69f({ref:_0x32af84,..._0xd224fa}){const _0x334bda=_0x25c8ac,{icon:_0x4edddc,id:_0x483b3e,className:_0x235cc8,extend:_0x36fd03,..._0x4ce8ec}=_0xd224fa,_0x50b6fd=('univerjs-icon\x20univerjs-icon-'+_0x483b3e+'\x20'+(_0x235cc8||''))[_0x334bda(0x47b)](),_0xb16133=_0x48ac88[_0x334bda(0x26e)]('_'+_0x3cd384());return _0x1824cc(_0x4edddc,''+_0x483b3e,{'defIds':_0x4edddc['defIds'],'idSuffix':_0xb16133[_0x334bda(0x43b)]},{'ref':_0x32af84,'className':_0x50b6fd,..._0x4ce8ec},_0x36fd03);}function _0x1824cc(_0x139793,_0x433eee,_0x44ece7,_0x139346,_0x5d40b3){const _0x4c3fb8=_0x25c8ac;return _0x48ac88['createElement'](_0x139793[_0x4c3fb8(0x3ce)],{'key':_0x433eee,..._0x3bb75a(_0x139793,_0x44ece7,_0x5d40b3),..._0x139346},(_0x20c545(_0x139793,_0x44ece7)[_0x4c3fb8(0x45d)]||[])[_0x4c3fb8(0x43d)]((_0x581013,_0x208988)=>_0x1824cc(_0x581013,_0x433eee+'-'+_0x139793[_0x4c3fb8(0x3ce)]+'-'+_0x208988,_0x44ece7,void 0x0,_0x5d40b3)));}function _0x3bb75a(_0x34d2f4,_0x867fd9,_0xaa8e4e){const _0x2ccbd9=_0x25c8ac,_0x8552e6={..._0x34d2f4['attrs']};_0xaa8e4e!=null&&_0xaa8e4e[_0x2ccbd9(0x3a1)]&&_0x8552e6['fill']===_0x2ccbd9(0x3a1)&&(_0x8552e6['fill']=_0xaa8e4e['colorChannel1']),_0x34d2f4[_0x2ccbd9(0x3ce)]===_0x2ccbd9(0x212)&&_0x8552e6['id']&&(_0x8552e6['id']=_0x8552e6['id']+_0x867fd9[_0x2ccbd9(0x214)]),Object['entries'](_0x8552e6)[_0x2ccbd9(0x345)](([_0x300140,_0x11e6e4])=>{const _0x3fc173=_0x2ccbd9;_0x300140===_0x3fc173(0x212)&&typeof _0x11e6e4==_0x3fc173(0x363)&&(_0x8552e6[_0x300140]=_0x11e6e4[_0x3fc173(0x27e)](/url\(#(.*)\)/,'url(#$1'+_0x867fd9['idSuffix']+')'));});const {defIds:_0x444ff1}=_0x867fd9;return!_0x444ff1||_0x444ff1[_0x2ccbd9(0x497)]===0x0||(_0x34d2f4[_0x2ccbd9(0x3ce)]==='use'&&_0x8552e6[_0x2ccbd9(0x2b9)]&&(_0x8552e6[_0x2ccbd9(0x2b9)]=_0x8552e6[_0x2ccbd9(0x2b9)]+_0x867fd9[_0x2ccbd9(0x214)]),Object['entries'](_0x8552e6)[_0x2ccbd9(0x345)](([_0x5b4e43,_0x3327de])=>{const _0x27d23e=_0x2ccbd9;typeof _0x3327de=='string'&&(_0x8552e6[_0x5b4e43]=_0x3327de[_0x27d23e(0x27e)](/url\(#(.*)\)/,'url(#$1'+_0x867fd9[_0x27d23e(0x214)]+')'));})),_0x8552e6;}function _0x20c545(_0x4cbd60,_0x2bb8ec){const _0x280936=_0x25c8ac;var _0x53d5ca;const {defIds:_0x1b606f}=_0x2bb8ec;return!_0x1b606f||_0x1b606f[_0x280936(0x497)]===0x0?_0x4cbd60:_0x4cbd60[_0x280936(0x3ce)]===_0x280936(0x2b1)&&((_0x53d5ca=_0x4cbd60['children'])!=null&&_0x53d5ca[_0x280936(0x497)])?{..._0x4cbd60,'children':_0x4cbd60['children']['map'](_0xd9bd40=>typeof _0xd9bd40['attrs']['id']=='string'&&_0x1b606f&&_0x1b606f[_0x280936(0x233)](_0xd9bd40['attrs']['id'])?{..._0xd9bd40,'attrs':{..._0xd9bd40[_0x280936(0x429)],'id':_0xd9bd40[_0x280936(0x429)]['id']+_0x2bb8ec[_0x280936(0x214)]}}:_0xd9bd40)}:_0x4cbd60;}function _0x3cd384(){const _0x59fc07=_0x25c8ac;return Math[_0x59fc07(0x3a7)]()[_0x59fc07(0x2e9)](0x24)['substring'](0x2,0x8);}_0x30e69f[_0x25c8ac(0x2e7)]='UniverIcon';const _0x44a0c2={'tag':_0x25c8ac(0x420),'attrs':{'xmlns':_0x25c8ac(0x4bc),'fill':_0x25c8ac(0x471),'viewBox':_0x25c8ac(0x488),'width':_0x25c8ac(0x309),'height':_0x25c8ac(0x309)},'children':[{'tag':'g','attrs':{'clipPath':_0x25c8ac(0x337)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'stroke':_0x25c8ac(0x34a),'d':_0x25c8ac(0x48d),'strokeLinecap':_0x25c8ac(0x2db),'strokeLinejoin':_0x25c8ac(0x2db),'strokeWidth':1.2}}]},{'tag':_0x25c8ac(0x2b1),'attrs':{},'children':[{'tag':_0x25c8ac(0x3b4),'attrs':{'id':_0x25c8ac(0x289)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'fill':_0x25c8ac(0x44c),'d':_0x25c8ac(0x4c3)}}]}]}],'defIds':[_0x25c8ac(0x289)]},_0x203892=_0x48ac88['forwardRef'](function(_0x32a454,_0x3a44e2){const _0x3f9267=_0x25c8ac;return _0x48ac88[_0x3f9267(0x4ce)](_0x30e69f,Object['assign']({},_0x32a454,{'id':_0x3f9267(0x3e9),'ref':_0x3a44e2,'icon':_0x44a0c2}));});_0x203892[_0x25c8ac(0x2e7)]=_0x25c8ac(0x330);const _0x154113={'tag':_0x25c8ac(0x420),'attrs':{'xmlns':_0x25c8ac(0x4bc),'fill':'none','viewBox':_0x25c8ac(0x422),'width':_0x25c8ac(0x309),'height':_0x25c8ac(0x309)},'children':[{'tag':'g','attrs':{'clipPath':_0x25c8ac(0x366)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'stroke':_0x25c8ac(0x34a),'d':_0x25c8ac(0x444),'strokeLinecap':'round','strokeLinejoin':_0x25c8ac(0x2db),'strokeWidth':1.2}}]},{'tag':_0x25c8ac(0x2b1),'attrs':{},'children':[{'tag':_0x25c8ac(0x3b4),'attrs':{'id':_0x25c8ac(0x33b)},'children':[{'tag':_0x25c8ac(0x275),'attrs':{'fill':_0x25c8ac(0x44c),'d':_0x25c8ac(0x4c3),'transform':_0x25c8ac(0x23e)}}]}]}],'defIds':[_0x25c8ac(0x33b)]},_0xf8140=_0x48ac88[_0x25c8ac(0x343)](function(_0x38025a,_0x33f56d){const _0x5f2372=_0x25c8ac;return _0x48ac88[_0x5f2372(0x4ce)](_0x30e69f,Object['assign']({},_0x38025a,{'id':_0x5f2372(0x40e),'ref':_0x33f56d,'icon':_0x154113}));});_0xf8140[_0x25c8ac(0x2e7)]=_0x25c8ac(0x487);function _0x23753c(_0x4a96a6){const _0x5a20bf=_0x25c8ac;switch(_0x4a96a6){case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x4bd)]:return _0x5a20bf(0x326);case _0x493e59[_0x5a20bf(0x495)]['CONFLICT']:return _0x5a20bf(0x221);case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x482)]:return'collabStatus.fetchMiss';case _0x493e59[_0x5a20bf(0x495)]['NOT_COLLAB']:return _0x5a20bf(0x299);case _0x493e59['CollaborationStatus']['AWAITING']:case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x263)]:return'collabStatus.syncing';case _0x493e59['CollaborationStatus'][_0x5a20bf(0x3b6)]:case _0x493e59[_0x5a20bf(0x495)][_0x5a20bf(0x385)]:return _0x5a20bf(0x419);}}function _0x5d6759(_0x44027b){const _0x653721=_0x25c8ac,{status$:_0x1576dc}=_0x44027b,_0x3ba682=_0x47d161[_0x653721(0x22b)](_0x1576dc,_0x493e59[_0x653721(0x495)][_0x653721(0x356)]),_0x5e734d=_0x47d161['useDependency'](_0x51c091[_0x653721(0x27c)]),_0x24d327=_0x47d161['useDependency'](_0x493e59[_0x653721(0x1f2)]),_0x48ba29=_0x3ba682!==_0x493e59[_0x653721(0x495)][_0x653721(0x4bd)],_0x30645d=_0x5e734d['t'](_0x23753c(_0x3ba682)),_0x4c4784=_0x48ba29?_0x28f318[_0x653721(0x459)](_0xf8140,{}):_0x28f318[_0x653721(0x459)](_0x203892,{}),_0x5e0068=_0x48ac88['useCallback'](()=>{const _0x19623e=_0x653721;_0x48ba29||_0x24d327[_0x19623e(0x398)]();},[_0x48ba29,_0x24d327]);function _0x43d532(){const _0x425473=_0x653721;return _0x28f318[_0x425473(0x2c9)](_0x425473(0x300),{'className':_0x425473(0x37c),'onClick':_0x5e0068,'children':[_0x28f318[_0x425473(0x459)](_0x425473(0x300),{'className':_0x1039db[_0x425473(0x406)](_0x425473(0x276),{'univer-text-green-500':_0x48ba29,'univer-text-red-500':!_0x48ba29}),'children':_0x4c4784}),_0x28f318[_0x425473(0x459)](_0x425473(0x300),{'className':_0x425473(0x278),'children':_0x30645d})]});}return _0x48ba29?_0x43d532():_0x28f318[_0x653721(0x459)](_0x1039db['Tooltip'],{'title':_0x5e734d['t'](_0x653721(0x3f7)),'children':_0x43d532()});}var _0x5e3dad=Object[_0x25c8ac(0x3a8)],_0x2bba69=(_0x81345b,_0x31de25,_0xd45531,_0x849073)=>{const _0x4e76c0=_0x25c8ac;for(var _0x2a8da=_0x849073>0x1?void 0x0:_0x849073?_0x5e3dad(_0x31de25,_0xd45531):_0x31de25,_0x47a9a3=_0x81345b[_0x4e76c0(0x497)]-0x1,_0x39fba3;_0x47a9a3>=0x0;_0x47a9a3--)(_0x39fba3=_0x81345b[_0x47a9a3])&&(_0x2a8da=_0x39fba3(_0x2a8da)||_0x2a8da);return _0x2a8da;},_0x48ca72=(_0x16e758,_0x11d0fd)=>(_0x23e6cd,_0x3e52af)=>_0x11d0fd(_0x23e6cd,_0x3e52af,_0x16e758);_0x3e1990['DesktopCollaborationStatusDisplayController']=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x260071,_0x591f6d,_0x378f94,_0x53658d){const _0x3afe2a=_0x25c8ac;super(),_0x3a54cf(this,_0x3afe2a(0x346),new _0x2d756d[(_0x3afe2a(0x243))](_0x493e59[_0x3afe2a(0x495)][_0x3afe2a(0x356)])),(this[_0x3afe2a(0x23a)]=_0x260071,this['_injector']=_0x591f6d,this['_collaborationController']=_0x378f94,this[_0x3afe2a(0x206)]=_0x53658d,this['_initStatusComponent'](),this[_0x3afe2a(0x3e0)]());}[_0x25c8ac(0x3e0)](){const _0x346733=_0x25c8ac;this['disposeWithMe'](this['_univerInstanceService'][_0x346733(0x273)][_0x346733(0x430)](_0x2d756d[_0x346733(0x38c)](()=>{const _0x5e6a73=_0x346733,_0x2eed89=this['_univerInstanceService'][_0x5e6a73(0x328)]();return _0x2eed89?this['_collaborationController'][_0x5e6a73(0x3d9)](_0x2eed89[_0x5e6a73(0x30f)]()):_0x2d756d['of'](null);}),_0x2d756d[_0x346733(0x38c)](_0x5a8b79=>_0x5a8b79?_0x5a8b79[_0x346733(0x2e8)]:_0x2d756d['of'](_0x493e59[_0x346733(0x495)][_0x346733(0x356)])))[_0x346733(0x2b3)](_0x1c65cf=>{this['_status$']['next'](_0x1c65cf);}));}[_0x25c8ac(0x43c)](){const _0x3add05=_0x25c8ac;this[_0x3add05(0x1f5)](this['_uiPartsService'][_0x3add05(0x316)](_0x47d161['BuiltInUIPart'][_0x3add05(0x3e7)],()=>_0x47d161[_0x3add05(0x3b9)](_0x493f43({'status$':this[_0x3add05(0x346)][_0x3add05(0x319)]()}),this[_0x3add05(0x3e5)])));}},_0x3e1990[_0x25c8ac(0x2de)]=_0x2bba69([_0x48ca72(0x0,_0x51c091[_0x25c8ac(0x261)]),_0x48ca72(0x1,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x26a)])),_0x48ca72(0x2,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x1f8)])),_0x48ca72(0x3,_0x47d161[_0x25c8ac(0x486)])],_0x3e1990[_0x25c8ac(0x2de)]);function _0x493f43(_0x5bc3d3){const {status$:_0x4e46b8}=_0x5bc3d3;return function(){const _0x119f80=_0xd869;return _0x28f318[_0x119f80(0x459)](_0x5d6759,{'status$':_0x4e46b8});};}const _0x2e14a9=_0x51c091['createIdentifier'](_0x25c8ac(0x4a9));var _0x221104=Object[_0x25c8ac(0x3a8)],_0x128adc=(_0x254b44,_0x4d9bbb,_0x2f03a6,_0x52119c)=>{const _0x3c7ed7=_0x25c8ac;for(var _0x335886=_0x52119c>0x1?void 0x0:_0x52119c?_0x221104(_0x4d9bbb,_0x2f03a6):_0x4d9bbb,_0x549ef4=_0x254b44[_0x3c7ed7(0x497)]-0x1,_0x3f1bf4;_0x549ef4>=0x0;_0x549ef4--)(_0x3f1bf4=_0x254b44[_0x549ef4])&&(_0x335886=_0x3f1bf4(_0x335886)||_0x335886);return _0x335886;},_0x29596e=(_0x47bfb1,_0x387f04)=>(_0x5b7c78,_0x2d8f7a)=>_0x387f04(_0x5b7c78,_0x2d8f7a,_0x47bfb1);_0x3e1990[_0x25c8ac(0x36f)]=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x332f48,_0x20132b,_0x36d830,_0x178ce9,_0x32a4f2){const _0x7a16ce=_0x25c8ac;super(),this[_0x7a16ce(0x20e)]=_0x332f48,this['_logService']=_0x20132b,this[_0x7a16ce(0x2d6)]=_0x36d830,this[_0x7a16ce(0x43a)]=_0x178ce9,_0x32a4f2?_0x32a4f2==null||_0x32a4f2[_0x7a16ce(0x33a)]()[_0x7a16ce(0x361)](()=>this[_0x7a16ce(0x38f)]()):(this['_logService'][_0x7a16ce(0x307)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x7a16ce(0x38f)]());}async[_0x25c8ac(0x38f)](){const _0x2c627a=_0x25c8ac,_0x1c83f0=this[_0x2c627a(0x20e)][_0x2c627a(0x2c6)](_0x2c627a(0x4b5)),_0x5c6c57=this[_0x2c627a(0x20e)][_0x2c627a(0x2c6)](_0x2c627a(0x39b)),_0x3ab3b2=this[_0x2c627a(0x20e)][_0x2c627a(0x2c6)]('subunit');if(!_0x1c83f0||!_0x5c6c57){this[_0x2c627a(0x38d)][_0x2c627a(0x307)](_0x2c627a(0x31a),_0x2c627a(0x46c));return;}const _0x9a8a59=await this['_dataLoaderService'][_0x2c627a(0x29c)](_0x1c83f0,Number(_0x5c6c57),_0x3ab3b2);_0x9a8a59&&_0x9a8a59 instanceof _0x51c091[_0x2c627a(0x2b5)]&&this[_0x2c627a(0x231)](_0x9a8a59);}async['_setupSubUnitSync'](_0x120cf5){const _0x101ca9=_0x25c8ac;await this[_0x101ca9(0x498)](_0x120cf5),_0x120cf5[_0x101ca9(0x238)][_0x101ca9(0x430)](_0x2d756d[_0x101ca9(0x210)](this['dispose$']))['subscribe'](_0x52ca8c=>{const _0x50afdc=_0x101ca9;_0x52ca8c&&this[_0x50afdc(0x355)](_0x52ca8c);}),this[_0x101ca9(0x20e)]['urlChange$'][_0x101ca9(0x430)](_0x2d756d[_0x101ca9(0x210)](this[_0x101ca9(0x37a)]))[_0x101ca9(0x2b3)](()=>this[_0x101ca9(0x498)](_0x120cf5));}[_0x25c8ac(0x355)](_0x46d2e2,_0x217078=!0x1){const _0x4f566d=_0x25c8ac,_0x1141c8=this[_0x4f566d(0x20e)][_0x4f566d(0x2c6)](_0x4f566d(0x46a));_0x46d2e2[_0x4f566d(0x230)]()!==_0x1141c8&&this[_0x4f566d(0x20e)][_0x4f566d(0x2a0)](_0x4f566d(0x46a),_0x46d2e2[_0x4f566d(0x230)](),_0x217078);}async[_0x25c8ac(0x498)](_0x41b7ca){const _0x2e3eb6=_0x25c8ac;var _0x38a41a;const _0x4f3eba=this[_0x2e3eb6(0x20e)]['getParam'](_0x2e3eb6(0x46a));if(!_0x4f3eba||!_0x41b7ca[_0x2e3eb6(0x491)](_0x4f3eba)){const _0x578749=_0x41b7ca['getUnhiddenWorksheets']()[0x0],_0xf2d36c=_0x41b7ca[_0x2e3eb6(0x491)](_0x578749);if(!_0xf2d36c)return;this[_0x2e3eb6(0x355)](_0xf2d36c,!0x0),await this[_0x2e3eb6(0x2d6)][_0x2e3eb6(0x3db)](_0x184ff5['SetWorksheetActivateCommand']['id'],{'unitId':_0x41b7ca['getUnitId'](),'subUnitId':_0x578749});return;}((_0x38a41a=_0x41b7ca['getActiveSheet']())==null?void 0x0:_0x38a41a[_0x2e3eb6(0x230)]())!==_0x4f3eba&&await this[_0x2e3eb6(0x2d6)][_0x2e3eb6(0x3db)](_0x184ff5[_0x2e3eb6(0x2fd)]['id'],{'unitId':_0x41b7ca[_0x2e3eb6(0x30f)](),'subUnitId':_0x4f3eba});}},_0x3e1990['CollaborationDataLoaderController']=_0x128adc([_0x29596e(0x0,_0x2e14a9),_0x29596e(0x1,_0x51c091['ILogService']),_0x29596e(0x2,_0x51c091[_0x25c8ac(0x483)]),_0x29596e(0x3,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x42a)])),_0x29596e(0x4,_0x51c091[_0x25c8ac(0x29f)](_0x455030[_0x25c8ac(0x1fe)]))],_0x3e1990['CollaborationDataLoaderController']);var _0x5ab5b8=Object[_0x25c8ac(0x3a8)],_0x114b66=(_0x3f606c,_0x4da2ed,_0x231806,_0x4abc6b)=>{const _0x2e326c=_0x25c8ac;for(var _0x32443c=_0x4abc6b>0x1?void 0x0:_0x4abc6b?_0x5ab5b8(_0x4da2ed,_0x231806):_0x4da2ed,_0x2dad0c=_0x3f606c[_0x2e326c(0x497)]-0x1,_0x1e3072;_0x2dad0c>=0x0;_0x2dad0c--)(_0x1e3072=_0x3f606c[_0x2dad0c])&&(_0x32443c=_0x1e3072(_0x32443c)||_0x32443c);return _0x32443c;},_0x715c48=(_0x2c07f6,_0x442b18)=>(_0x1bc16d,_0x2ba3ea)=>_0x442b18(_0x1bc16d,_0x2ba3ea,_0x2c07f6);let _0xee1fb5=class extends _0x51c091['RxDisposable']{constructor(_0x5af752,_0x56e938){const _0xc240b3=_0x25c8ac;super(),this[_0xc240b3(0x450)]=_0x5af752,this[_0xc240b3(0x30d)]=_0x56e938,this[_0xc240b3(0x38f)]();}[_0x25c8ac(0x38f)](){const _0x240618=_0x25c8ac,_0x7e188d=this;this[_0x240618(0x1f5)](this['_docClipboardService'][_0x240618(0x4ba)]({'onBeforePasteImage':async _0x3cd973=>{const _0x21e7eb=_0x240618,_0xba0326=await _0x7e188d[_0x21e7eb(0x30d)][_0x21e7eb(0x4d5)](_0x3cd973);return _0xba0326?{'source':_0xba0326['source'],'imageSourceType':_0xba0326[_0x21e7eb(0x3be)]}:null;}}));}};_0xee1fb5=_0x114b66([_0x715c48(0x0,_0x594fa4[_0x25c8ac(0x353)]),_0x715c48(0x1,_0x2e6991[_0x25c8ac(0x322)])],_0xee1fb5);const _0x124c8d=[_0x25c8ac(0x22c),'jiqing.500',_0x25c8ac(0x1fd),_0x25c8ac(0x219),'blue.400','yellow.400'];class _0x3dd070 extends _0x51c091[_0x25c8ac(0x379)]{constructor(){const _0x148cab=_0x25c8ac;super(...arguments),_0x3a54cf(this,'_assignedColors',new Map()),_0x3a54cf(this,_0x148cab(0x383),0x0);}['assignAColorForMemberID'](_0x17ecc2){const _0x3396a0=_0x25c8ac;if(this['_assignedColors'][_0x3396a0(0x297)](_0x17ecc2))return this[_0x3396a0(0x391)][_0x3396a0(0x4c4)](_0x17ecc2);const _0x7cfbcd=_0x124c8d[this[_0x3396a0(0x383)]];return this[_0x3396a0(0x383)]=(this[_0x3396a0(0x383)]+0x1)%_0x124c8d['length'],this[_0x3396a0(0x391)][_0x3396a0(0x22d)](_0x17ecc2,_0x7cfbcd),_0x7cfbcd;}}function _0x3190ac(_0x2d4bf2){let _0x58f40e='';for(const _0x287a1d of _0x2d4bf2){const {startOffset:_0x58e838,endOffset:_0x2e6922,isActive:_0x4c7880,rangeType:_0x4ac23a,segmentId:_0x3b6764,segmentPage:_0x2b28ab}=_0x287a1d;_0x58f40e['length']&&(_0x58f40e+=','),_0x58f40e+=_0x58e838+':'+_0x2e6922+':'+(_0x4c7880?'1':'0')+':'+_0x4ac23a+':'+_0x3b6764+':'+_0x2b28ab;}return _0x58f40e;}function _0x505ec7(_0xd3347a){const _0x2e2919=_0x25c8ac,_0x2c71ad=_0xd3347a[_0x2e2919(0x2d1)](','),_0x253e35=[];for(const _0x309d57 of _0x2c71ad){const [_0x23b262,_0x40927f,_0x11ca47,_0x2e85fa,_0x1b6d95,_0x532b5a]=_0x309d57[_0x2e2919(0x2d1)](':');_0x253e35['push']({'startOffset':Number(_0x23b262),'endOffset':Number(_0x40927f),'collapsed':_0x23b262===_0x40927f,'isActive':_0x11ca47==='1','rangeType':_0x2e85fa===_0x51c091['DOC_RANGE_TYPE'][_0x2e2919(0x30c)]?_0x51c091[_0x2e2919(0x458)][_0x2e2919(0x30c)]:_0x51c091[_0x2e2919(0x458)][_0x2e2919(0x208)],'segmentId':typeof _0x1b6d95==_0x2e2919(0x363)?String(_0x1b6d95):'','segmentPage':Number(_0x532b5a!=null?_0x532b5a:-0x1)});}return _0x253e35[_0x2e2919(0x321)](_0x83e861=>_0x83e861[_0x2e2919(0x282)])||(_0x253e35[0x0]['isActive']=!0x0),_0x253e35;}class _0x43bd11 extends _0x51c091[_0x25c8ac(0x42f)]{constructor(){const _0x42ec57=_0x25c8ac;super(...arguments),_0x3a54cf(this,_0x42ec57(0x26b),new _0x2d756d[(_0x42ec57(0x243))](null)),_0x3a54cf(this,'collabCursorState$',this[_0x42ec57(0x26b)][_0x42ec57(0x319)]());}[_0x25c8ac(0x4ab)](_0x140ad2){const _0x3dabdf=_0x25c8ac,{unitID:_0xee07f3,memberID:_0x348712,textRanges:_0x3e5bbd}=_0x140ad2,_0x1ee357=_0x3190ac(_0x3e5bbd);if(_0x1ee357==='')return;const _0x1e2c0a={'unitID':_0xee07f3,'memberID':_0x348712,'selection':_0x1ee357};this[_0x3dabdf(0x26b)][_0x3dabdf(0x258)](_0x1e2c0a);}}var _0xc82f30=Object[_0x25c8ac(0x3a8)],_0xc0e9a6=(_0x3bb3a8,_0x55470c,_0x3769e8,_0x1e7d8a)=>{const _0x399061=_0x25c8ac;for(var _0x2798ef=_0x1e7d8a>0x1?void 0x0:_0x1e7d8a?_0xc82f30(_0x55470c,_0x3769e8):_0x55470c,_0x5282f0=_0x3bb3a8[_0x399061(0x497)]-0x1,_0x39e769;_0x5282f0>=0x0;_0x5282f0--)(_0x39e769=_0x3bb3a8[_0x5282f0])&&(_0x2798ef=_0x39e769(_0x2798ef)||_0x2798ef);return _0x2798ef;},_0x455341=(_0x4f7e0f,_0x5c82fb)=>(_0x29255c,_0x51246f)=>_0x5c82fb(_0x29255c,_0x51246f,_0x4f7e0f);const _0x17f5e1=0x12c,_0x2e9a9e=0x64;let _0x5ae18d=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x402032,_0x1395e2,_0x53725c,_0xec3a79,_0x3d21d1,_0x1adeca,_0x42d7b6,_0x2a546e,_0x1817d6){const _0x47ffef=_0x25c8ac;super(),_0x3a54cf(this,'_online',!0x1),_0x3a54cf(this,_0x47ffef(0x38f),!0x1),_0x3a54cf(this,_0x47ffef(0x3c9),new _0x2d756d['BehaviorSubject'](new Map())),_0x3a54cf(this,_0x47ffef(0x404),this['_cursorInfo$']['asObservable']()),_0x3a54cf(this,_0x47ffef(0x2fe),new _0x2d756d['BehaviorSubject']([])),_0x3a54cf(this,'roomMembers$',this[_0x47ffef(0x2fe)][_0x47ffef(0x430)](_0x2d756d[_0x47ffef(0x42c)](_0x17f5e1))),_0x3a54cf(this,'_updateLocalCursor',_0x51c091[_0x47ffef(0x447)](_0x1d1bc3=>{const _0x4431dd=_0x47ffef,_0x1a3d54={'eventID':_0x5b9cab[_0x4431dd(0x3d7)][_0x4431dd(0x386)],'data':{'unitID':this['unitID'],'memberID':this[_0x4431dd(0x476)]['getMemberID'](),'selection':_0x3190ac(_0x1d1bc3)}};this[_0x4431dd(0x476)][_0x4431dd(0x241)](_0x1a3d54,this[_0x4431dd(0x3e1)]);},_0x2e9a9e)),(this[_0x47ffef(0x3e1)]=_0x402032,this[_0x47ffef(0x476)]=_0x1395e2,this[_0x47ffef(0x3e5)]=_0x53725c,this[_0x47ffef(0x45c)]=_0xec3a79,this['_memberService']=_0x3d21d1,this[_0x47ffef(0x335)]=_0x1adeca,this[_0x47ffef(0x414)]=_0x42d7b6,this['_univerInstanceService']=_0x2a546e,this[_0x47ffef(0x2d6)]=_0x1817d6);}get[_0x25c8ac(0x336)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x4e8264=_0x25c8ac;return this['_roomMembers$'][_0x4e8264(0x38b)]();}['dispose'](){const _0x1309db=_0x25c8ac;super[_0x1309db(0x325)](),this[_0x1309db(0x3c9)][_0x1309db(0x258)](new Map()),this[_0x1309db(0x3c9)][_0x1309db(0x438)](),this[_0x1309db(0x2fe)][_0x1309db(0x258)]([]),this[_0x1309db(0x2fe)]['complete']();}['init'](){const _0x2b1621=_0x25c8ac;this[_0x2b1621(0x38f)]||(this[_0x2b1621(0x38f)]=!0x0,this[_0x2b1621(0x476)][_0x2b1621(0x39d)][_0x2b1621(0x430)](_0x2d756d[_0x2b1621(0x210)](this[_0x2b1621(0x37a)]))[_0x2b1621(0x2b3)](_0x50b40d=>{const _0x8e46e9=_0x2b1621;_0x50b40d===_0x493e59[_0x8e46e9(0x26d)]['ONLINE']?this[_0x8e46e9(0x2b4)]():this[_0x8e46e9(0x387)]();}),this[_0x2b1621(0x476)][_0x2b1621(0x2c1)][_0x2b1621(0x430)](_0x2d756d[_0x2b1621(0x210)](this[_0x2b1621(0x37a)]))[_0x2b1621(0x2b3)](_0x54c7d5=>{const _0x5425a7=_0x2b1621,_0x4c3bf7=_0x54c7d5['eventID'];_0x4c3bf7===_0x5b9cab[_0x5425a7(0x3d7)][_0x5425a7(0x386)]&&this[_0x5425a7(0x288)](_0x54c7d5),_0x4c3bf7===_0x5b9cab['CollaborationEvent']['USERS_LEAVE']&&this[_0x5425a7(0x35b)](_0x54c7d5);}),this['disposeWithMe'](this['_commandService'][_0x2b1621(0x485)](_0x319ccf=>{const _0x5e9230=_0x2b1621,_0x5722ee=_0x319ccf[_0x5e9230(0x411)];_0x5722ee!=null&&this[_0x5e9230(0x33f)]&&_0x319ccf['id']===_0x37270e[_0x5e9230(0x378)]['id']&&_0x5722ee[_0x5e9230(0x268)]===this['unitID']&&_0x5722ee[_0x5e9230(0x2f8)]===!0x1&&_0x5722ee['ranges'][_0x5e9230(0x497)]>0x0&&this[_0x5e9230(0x324)](_0x5722ee[_0x5e9230(0x25e)]);})),this[_0x2b1621(0x335)]['collabCursorState$'][_0x2b1621(0x430)](_0x2d756d[_0x2b1621(0x210)](this[_0x2b1621(0x37a)]))[_0x2b1621(0x2b3)](_0x469c16=>{const _0x5dee18=_0x2b1621;if((_0x469c16==null?void 0x0:_0x469c16[_0x5dee18(0x3e1)])!==this[_0x5dee18(0x3e1)])return;const _0xda0b7c={'eventID':_0x5b9cab['CollaborationEvent'][_0x5dee18(0x386)],'data':_0x469c16};this[_0x5dee18(0x288)](_0xda0b7c);}),this[_0x2b1621(0x1f5)](this[_0x2b1621(0x2d6)][_0x2b1621(0x485)](_0x3a8705=>{const _0x46d807=_0x2b1621;if(_0x3a8705[_0x46d807(0x411)]==null)return;const _0x4c22c8=_0x3a8705[_0x46d807(0x411)];if(_0x3a8705['id']!==_0x37270e[_0x46d807(0x30a)]['id']||_0x4c22c8[_0x46d807(0x268)]!==this[_0x46d807(0x3e1)])return;const _0x11a835={'id':_0x46d807(0x21a),'params':_0x4c22c8},_0x4d8bb3=this[_0x46d807(0x336)];for(const [_0x160ad3,_0xac7133]of _0x4d8bb3){const _0x290f2d={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x46d807(0x3e1)],'actions':null,'textRanges':_0xac7133['ranges']}},_0x4b7a06=this[_0x46d807(0x414)]['transformMutation'](_0x11a835,_0x290f2d,!0x1);if(_0x5b9cab[_0x46d807(0x452)](_0x4b7a06))throw _0x4b7a06['error'];_0x4d8bb3[_0x46d807(0x22d)](_0x160ad3,{..._0xac7133,'ranges':_0x4b7a06[_0x46d807(0x389)][_0x46d807(0x411)][_0x46d807(0x45a)]});}queueMicrotask(()=>{const _0x437c25=_0x46d807;this[_0x437c25(0x3c9)][_0x437c25(0x258)](_0x4d8bb3);});})));}[_0x25c8ac(0x288)](_0x1698b6){const _0x34d936=_0x25c8ac;var _0xf6e15c,_0x1aec5b;const {memberID:_0x191bf3,selection:_0x3bbcc1}=_0x1698b6[_0x34d936(0x303)],_0x2689ac=_0x505ec7(_0x3bbcc1),_0xe99abd=(_0x1aec5b=(_0xf6e15c=this[_0x34d936(0x2ca)][_0x34d936(0x3d8)](this[_0x34d936(0x3e1)],_0x191bf3))==null?void 0x0:_0xf6e15c['name'])!=null?_0x1aec5b:'Unknown\x20user',_0x358a4e={'color':this['_colorAssignService'][_0x34d936(0x271)](_0x191bf3),'name':_0xe99abd,'ranges':_0x2689ac},_0x5021a7=this['cursorInfo'];_0x5021a7[_0x34d936(0x22d)](_0x191bf3,_0x358a4e),this['_cursorInfo$'][_0x34d936(0x258)](_0x5021a7);}['_onCursorDelete'](_0x27f41a){const _0x535b53=_0x25c8ac,{memberID:_0x2b042f}=_0x27f41a[_0x535b53(0x303)],_0x11bcb4=this[_0x535b53(0x336)];_0x11bcb4['delete'](_0x2b042f),this[_0x535b53(0x3c9)][_0x535b53(0x258)](_0x11bcb4);}[_0x25c8ac(0x2b4)](){const _0x31a329=_0x25c8ac;var _0x593aaf;if(this['_online']=!0x0,((_0x593aaf=this[_0x31a329(0x23a)]['getFocusedUnit']())==null?void 0x0:_0x593aaf['getUnitId']())!==this[_0x31a329(0x3e1)])return;const _0x25530d=this['_injector'][_0x31a329(0x4c4)](_0x37270e[_0x31a329(0x2ee)])[_0x31a329(0x4d8)]();Array[_0x31a329(0x1fa)](_0x25530d)&&_0x25530d[_0x31a329(0x497)]>0x0&&this[_0x31a329(0x324)](_0x25530d);}[_0x25c8ac(0x387)](){const _0x4da63e=_0x25c8ac;this[_0x4da63e(0x33f)]=!0x1;}};_0x5ae18d=_0xc0e9a6([_0x455341(0x2,_0x51c091[_0x25c8ac(0x301)](_0x51c091['Injector'])),_0x455341(0x3,_0x51c091['Inject'](_0x3dd070)),_0x455341(0x4,_0x51c091[_0x25c8ac(0x301)](_0x493e59['MemberService'])),_0x455341(0x5,_0x51c091[_0x25c8ac(0x301)](_0x43bd11)),_0x455341(0x6,_0x5b9cab[_0x25c8ac(0x431)]),_0x455341(0x7,_0x51c091[_0x25c8ac(0x261)]),_0x455341(0x8,_0x51c091['ICommandService'])],_0x5ae18d);var _0x5c03ba=Object['getOwnPropertyDescriptor'],_0x317fe5=(_0x560e93,_0x83ab81,_0x48fadd,_0x1adc15)=>{const _0x52a44c=_0x25c8ac;for(var _0x4e4cf5=_0x1adc15>0x1?void 0x0:_0x1adc15?_0x5c03ba(_0x83ab81,_0x48fadd):_0x83ab81,_0xfc3c37=_0x560e93[_0x52a44c(0x497)]-0x1,_0x47da54;_0xfc3c37>=0x0;_0xfc3c37--)(_0x47da54=_0x560e93[_0xfc3c37])&&(_0x4e4cf5=_0x47da54(_0x4e4cf5)||_0x4e4cf5);return _0x4e4cf5;},_0x134361=(_0xfec868,_0x57a270)=>(_0x58f9e0,_0x4e1c6c)=>_0x57a270(_0x58f9e0,_0x4e1c6c,_0xfec868);const _0x4081fa=0x12c,_0x37a625=0x64,_0x11bc78=()=>{let _0x36fff9=[],_0x250dff=!0x1;return _0x4f16c0=>{const _0xaff4d4=_0xd869;_0x36fff9[_0xaff4d4(0x2ac)](_0x4f16c0),_0x250dff||(_0x250dff=!0x0,setTimeout(()=>{const _0x467d5e=_0xaff4d4;_0x36fff9[_0x467d5e(0x345)](_0x5e2311=>_0x5e2311()),_0x36fff9=[],_0x250dff=!0x1;}));};};let _0x219f89=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x1cba96,_0x33b86b,_0x3141d1,_0x195c13,_0x3b7928,_0x5d5c86,_0x2958de,_0x3e0d0e){const _0x246637=_0x25c8ac;super(),_0x3a54cf(this,_0x246637(0x33f),!0x1),_0x3a54cf(this,_0x246637(0x38f),!0x1),_0x3a54cf(this,_0x246637(0x3c9),new _0x2d756d[(_0x246637(0x243))](new Map())),_0x3a54cf(this,_0x246637(0x404),this[_0x246637(0x3c9)][_0x246637(0x319)]()),_0x3a54cf(this,_0x246637(0x2fe),new _0x2d756d[(_0x246637(0x243))]([])),_0x3a54cf(this,'roomMembers$',this[_0x246637(0x2fe)][_0x246637(0x430)](_0x2d756d[_0x246637(0x42c)](_0x4081fa))),_0x3a54cf(this,_0x246637(0x324),_0x51c091[_0x246637(0x447)]((_0x497824,_0x13a953)=>{const _0x12bccb=_0x246637,_0x908948={'eventID':_0x5b9cab[_0x12bccb(0x3d7)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x12bccb(0x476)][_0x12bccb(0x217)](),'selection':_0xfcd088['serializeRangeWithSheet'](_0x497824,_0x13a953[_0x12bccb(0x2af)])}};this[_0x12bccb(0x476)][_0x12bccb(0x241)](_0x908948,this['unitID']);},_0x37a625)),(this[_0x246637(0x3e1)]=_0x1cba96,this['_session']=_0x33b86b,this[_0x246637(0x3e5)]=_0x3141d1,this['_colorAssignService']=_0x195c13,this[_0x246637(0x2ca)]=_0x3b7928,this['_univerInstanceService']=_0x5d5c86,this['_commandService']=_0x2958de,this[_0x246637(0x4a5)]=_0x3e0d0e);}get[_0x25c8ac(0x336)](){const _0x567064=_0x25c8ac;return this[_0x567064(0x3c9)][_0x567064(0x38b)]();}get[_0x25c8ac(0x4c9)](){const _0x391081=_0x25c8ac;return this['_roomMembers$'][_0x391081(0x38b)]();}[_0x25c8ac(0x325)](){const _0x543b28=_0x25c8ac;super[_0x543b28(0x325)](),this[_0x543b28(0x3c9)][_0x543b28(0x258)](new Map()),this[_0x543b28(0x3c9)][_0x543b28(0x438)](),this[_0x543b28(0x2fe)][_0x543b28(0x258)]([]),this['_roomMembers$'][_0x543b28(0x438)]();}[_0x25c8ac(0x281)](){const _0x21003e=_0x25c8ac;this[_0x21003e(0x38f)]||(this[_0x21003e(0x38f)]=!0x0,this['_session']['sessionStatus$'][_0x21003e(0x430)](_0x2d756d['takeUntil'](this[_0x21003e(0x37a)]))['subscribe'](_0x245d28=>{const _0x2a61a0=_0x21003e;_0x245d28===_0x493e59['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x2a61a0(0x387)]();}),this[_0x21003e(0x476)][_0x21003e(0x2c1)]['pipe'](_0x2d756d[_0x21003e(0x210)](this[_0x21003e(0x37a)]))[_0x21003e(0x2b3)](_0xc619ab=>{const _0x426e84=_0x21003e,_0x31aaff=_0xc619ab[_0x426e84(0x29e)];_0x31aaff===_0x5b9cab[_0x426e84(0x3d7)][_0x426e84(0x386)]&&this[_0x426e84(0x288)](_0xc619ab),_0x31aaff===_0x5b9cab[_0x426e84(0x3d7)][_0x426e84(0x2ae)]&&this[_0x426e84(0x35b)](_0xc619ab);}),this[_0x21003e(0x277)](),this[_0x21003e(0x1f5)](this[_0x21003e(0x2d6)]['onCommandExecuted'](_0x528c77=>{const _0x3c3ea3=_0x21003e;if(this[_0x3c3ea3(0x33f)]&&_0x528c77['id']===_0x184ff5[_0x3c3ea3(0x35c)]['id']&&_0x528c77[_0x3c3ea3(0x411)][_0x3c3ea3(0x268)]===this['unitID']){const _0x5c8de6=_0x528c77['params'];this[_0x3c3ea3(0x324)](_0x5c8de6[_0x3c3ea3(0x469)],_0x5c8de6[_0x3c3ea3(0x2be)][0x0]);}})));}[_0x25c8ac(0x288)](_0x57a7a2){const _0x467740=_0x25c8ac;var _0x26bfa7,_0x38cbf2;const {memberID:_0x1844a7,selection:_0x15b1f9}=_0x57a7a2[_0x467740(0x303)],{sheetName:_0x3360e3,range:_0x6976dc}=_0xfcd088[_0x467740(0x39c)](_0x15b1f9),_0xdb1b9={'name':(_0x38cbf2=(_0x26bfa7=this[_0x467740(0x2ca)][_0x467740(0x3d8)](this[_0x467740(0x3e1)],_0x1844a7))==null?void 0x0:_0x26bfa7['name'])!=null?_0x38cbf2:'Unknown\x20user','range':this['_getMergeRange'](_0x3360e3,_0x6976dc),'sheetID':_0x3360e3,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1844a7),'selection':_0x15b1f9},_0x123821=this[_0x467740(0x336)];_0x123821[_0x467740(0x22d)](_0x1844a7,_0xdb1b9),this[_0x467740(0x3c9)]['next'](_0x123821);}[_0x25c8ac(0x35b)](_0x497b98){const _0x4ec836=_0x25c8ac,{memberID:_0x20fa5a}=_0x497b98[_0x4ec836(0x303)],_0x412f68=this[_0x4ec836(0x336)];_0x412f68[_0x4ec836(0x2d0)](_0x20fa5a),this['_cursorInfo$'][_0x4ec836(0x258)](_0x412f68);}[_0x25c8ac(0x2c7)](_0x4cbe8d,_0xe7d289){const _0x17c206=_0x25c8ac;var _0x7049fc,_0x3b5a6e;const _0x59dc29=(_0x3b5a6e=(_0x7049fc=this[_0x17c206(0x23a)][_0x17c206(0x3d6)](this[_0x17c206(0x3e1)]))==null?void 0x0:_0x7049fc[_0x17c206(0x491)](_0x4cbe8d))==null?void 0x0:_0x3b5a6e['getMergeData']();return(_0x59dc29==null?void 0x0:_0x59dc29[_0x17c206(0x247)](_0x343772=>_0x51c091[_0x17c206(0x266)][_0x17c206(0x2d4)](_0x343772,_0xe7d289)))||_0xe7d289;}['_onRefRangeChange'](){const _0x537ba3=_0x25c8ac,_0x9c2eae=new _0x51c091[(_0x537ba3(0x440))](),_0xdb3e49=_0x11bc78(),_0x2348b4=()=>{const _0x497219=_0x537ba3;_0x9c2eae[_0x497219(0x325)]();const _0x23306e=(_0x196a63,_0x13ad1b,_0x15ef8a,_0x2c339e)=>{const _0x323d47=_0x497219;let _0x3f3b15=[];switch(_0x196a63['id']){case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x3cb)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x44a)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)]['DeleteRangeMoveUpCommandId']:{_0x3f3b15=_0x184ff5[_0x323d47(0x2ff)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)]['InsertColCommandId']:{_0x3f3b15=_0x184ff5[_0x323d47(0x341)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x4b6)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x3eb)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x41f)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x412)](_0x196a63,_0x2c339e);break;}case _0x184ff5['EffectRefRangId']['InsertRowCommandId']:{_0x3f3b15=_0x184ff5[_0x323d47(0x446)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x47f)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x3dc)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x396)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x2f4)](_0x196a63,_0x2c339e);break;}case _0x184ff5[_0x323d47(0x2e2)][_0x323d47(0x4c5)]:{_0x3f3b15=_0x184ff5[_0x323d47(0x20c)](_0x196a63,_0x2c339e);break;}}const _0x1a7152=_0x184ff5[_0x323d47(0x3e8)](_0x3f3b15,_0x2c339e),_0x3713c7=this[_0x323d47(0x336)]['get'](_0x13ad1b);if(_0x3713c7&&_0x1a7152){const _0x39e771={..._0x3713c7,'range':_0x1a7152};this[_0x323d47(0x336)][_0x323d47(0x22d)](_0x13ad1b,_0x39e771),_0xdb3e49(()=>{const _0x4a9761=_0x323d47,_0x26fe49=this[_0x4a9761(0x4a5)][_0x4a9761(0x37f)](_0x1a7152,_0x2a4feb=>(_0x26fe49['dispose'](),_0x23306e(_0x2a4feb,_0x13ad1b,_0x15ef8a,_0x1a7152)));_0x9c2eae[_0x4a9761(0x2d2)](_0x26fe49);});}return{'redos':[],'undos':[]};};this[_0x497219(0x336)]['forEach']((_0x4a3d20,_0x103a96)=>{const _0x479f21=_0x497219,{range:_0x565a48,sheetID:_0x3e3a24}=_0x4a3d20,_0x703cf=this[_0x479f21(0x4a5)]['registerRefRange'](_0x565a48,_0x1436da=>(_0x703cf['dispose'](),_0x23306e(_0x1436da,_0x103a96,_0x3e3a24,_0x565a48)));_0x9c2eae['add'](_0x703cf);});};this[_0x537ba3(0x1f5)](_0x51c091['toDisposable'](this[_0x537ba3(0x3c9)][_0x537ba3(0x2b3)](()=>{_0x2348b4();})));}[_0x25c8ac(0x2b4)](){const _0x18a2a1=_0x25c8ac;var _0x2fb576,_0x4546b4;if(this['_online']=!0x0,((_0x2fb576=this['_univerInstanceService'][_0x18a2a1(0x328)]())==null?void 0x0:_0x2fb576[_0x18a2a1(0x30f)]())!==this[_0x18a2a1(0x3e1)])return;const _0x1c8fcf=(_0x4546b4=this[_0x18a2a1(0x3e5)][_0x18a2a1(0x4c4)](_0x184ff5[_0x18a2a1(0x3e2)])['getCurrentSelections']())==null?void 0x0:_0x4546b4[0x0],_0x32fe7a=this[_0x18a2a1(0x23a)]['getCurrentUnitForType'](_0x51c091[_0x18a2a1(0x375)][_0x18a2a1(0x3d0)])['getActiveSheet']();_0x1c8fcf&&_0x32fe7a&&this[_0x18a2a1(0x324)](_0x32fe7a[_0x18a2a1(0x230)](),_0x1c8fcf);}['_toggleOffline'](){this['_online']=!0x1;}};_0x219f89=_0x317fe5([_0x134361(0x2,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x134361(0x3,_0x51c091['Inject'](_0x3dd070)),_0x134361(0x4,_0x51c091[_0x25c8ac(0x301)](_0x493e59[_0x25c8ac(0x401)])),_0x134361(0x5,_0x51c091[_0x25c8ac(0x261)]),_0x134361(0x6,_0x51c091[_0x25c8ac(0x483)]),_0x134361(0x7,_0x51c091[_0x25c8ac(0x301)](_0x184ff5['RefRangeService']))],_0x219f89);var _0x43e703=Object['getOwnPropertyDescriptor'],_0x39b925=(_0x12c4b8,_0x1ba556,_0x40c4b7,_0x376dae)=>{for(var _0x59f3d0=_0x376dae>0x1?void 0x0:_0x376dae?_0x43e703(_0x1ba556,_0x40c4b7):_0x1ba556,_0x339b61=_0x12c4b8['length']-0x1,_0x50bc3e;_0x339b61>=0x0;_0x339b61--)(_0x50bc3e=_0x12c4b8[_0x339b61])&&(_0x59f3d0=_0x50bc3e(_0x59f3d0)||_0x59f3d0);return _0x59f3d0;},_0x4b7da2=(_0x5b3971,_0x15d1ba)=>(_0x140356,_0x317c05)=>_0x15d1ba(_0x140356,_0x317c05,_0x5b3971);let _0x43fe6e=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x23000e,_0x27f75d,_0x3e1bec){const _0x2a942a=_0x25c8ac;super(),_0x3a54cf(this,_0x2a942a(0x38a),new Map()),_0x3a54cf(this,_0x2a942a(0x2f5),new _0x2d756d[(_0x2a942a(0x26c))]()),(this['_univerInstanceService']=_0x23000e,this['_injector']=_0x27f75d,this[_0x2a942a(0x41e)]=_0x3e1bec,this[_0x2a942a(0x38f)]());}[_0x25c8ac(0x325)](){const _0x249908=_0x25c8ac;super['dispose'](),this['_entityInit$'][_0x249908(0x438)](),this['_entities'][_0x249908(0x345)](_0x583c9f=>_0x583c9f[_0x249908(0x325)]());}[_0x25c8ac(0x2ef)](_0x8710f4){const _0x295207=_0x25c8ac;return this[_0x295207(0x38a)][_0x295207(0x297)](_0x8710f4)?this[_0x295207(0x38a)][_0x295207(0x4c4)](_0x8710f4)[_0x295207(0x404)]:this['_entityInit$']['pipe'](_0x2d756d[_0x295207(0x441)](_0x4c5ae1=>_0x4c5ae1[_0x295207(0x3e1)]===_0x8710f4),_0x2d756d['switchMap'](_0x46ac19=>_0x46ac19[_0x295207(0x404)]));}[_0x25c8ac(0x38f)](){const _0x4401e2=_0x25c8ac;this[_0x4401e2(0x23a)][_0x4401e2(0x3bb)](_0x51c091['UniverInstanceType'][_0x4401e2(0x3d0)])[_0x4401e2(0x430)](_0x2d756d[_0x4401e2(0x210)](this['dispose$']))[_0x4401e2(0x2b3)](async _0x55e8a0=>{const _0x21d9b6=_0x4401e2,_0x2a8a27=_0x55e8a0[_0x21d9b6(0x30f)](),_0x137c67=await this['_startSheetCollabCursor'](_0x2a8a27);this[_0x21d9b6(0x2f5)][_0x21d9b6(0x258)](_0x137c67),this['_entities'][_0x21d9b6(0x22d)](_0x2a8a27,_0x137c67);}),this[_0x4401e2(0x23a)][_0x4401e2(0x3bb)](_0x51c091[_0x4401e2(0x375)][_0x4401e2(0x3e3)])['pipe'](_0x2d756d[_0x4401e2(0x210)](this[_0x4401e2(0x37a)]))[_0x4401e2(0x430)](_0x2d756d['filter'](_0x467a7d=>!_0x467a7d['getUnitId']()[_0x4401e2(0x371)]('__')))['subscribe'](async _0x52985c=>{const _0x20a7a6=_0x4401e2,_0x4a3f86=_0x52985c['getUnitId'](),_0x35592a=await this[_0x20a7a6(0x3d3)](_0x4a3f86);this[_0x20a7a6(0x2f5)][_0x20a7a6(0x258)](_0x35592a),this[_0x20a7a6(0x38a)][_0x20a7a6(0x22d)](_0x4a3f86,_0x35592a);}),_0x2d756d[_0x4401e2(0x296)](this[_0x4401e2(0x23a)][_0x4401e2(0x44b)](_0x51c091[_0x4401e2(0x375)][_0x4401e2(0x3e3)]),this[_0x4401e2(0x23a)][_0x4401e2(0x44b)](_0x51c091['UniverInstanceType'][_0x4401e2(0x3d0)]))[_0x4401e2(0x430)](_0x2d756d['takeUntil'](this[_0x4401e2(0x37a)]))[_0x4401e2(0x2b3)](_0x1b6538=>{const _0x47331f=_0x4401e2,_0x238a37=_0x1b6538[_0x47331f(0x30f)](),_0x3831eb=this[_0x47331f(0x38a)][_0x47331f(0x4c4)](_0x238a37);_0x3831eb&&(_0x3831eb['dispose'](),this[_0x47331f(0x38a)][_0x47331f(0x2d0)](_0x238a37));});}async[_0x25c8ac(0x213)](_0x3fcb99){const _0x55c731=_0x25c8ac,_0x2a858f=await this[_0x55c731(0x41e)][_0x55c731(0x2d7)](_0x3fcb99),_0x5bed77=this[_0x55c731(0x3e5)]['createInstance'](_0x219f89,_0x3fcb99,_0x2a858f);return _0x5bed77[_0x55c731(0x281)](),_0x5bed77;}async[_0x25c8ac(0x3d3)](_0x5e8a13){const _0x532623=_0x25c8ac,_0x101bd9=await this[_0x532623(0x41e)][_0x532623(0x2d7)](_0x5e8a13),_0x1f88a1=this[_0x532623(0x3e5)]['createInstance'](_0x5ae18d,_0x5e8a13,_0x101bd9);return _0x1f88a1[_0x532623(0x281)](),_0x1f88a1;}};_0x43fe6e=_0x39b925([_0x4b7da2(0x0,_0x51c091[_0x25c8ac(0x261)]),_0x4b7da2(0x1,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x4b7da2(0x2,_0x51c091[_0x25c8ac(0x301)](_0x493e59['CollaborationSessionService']))],_0x43fe6e);const _0x3e88d8=0x14,_0x4f6245=0xc8,_0x169f85=0x4,_0x389b3c=0x5;function _0x2cd01b(_0x357dd5,_0x206aa4){const _0x5664c0=_0x25c8ac;let {radius:_0x556760,width:_0xd6431f,height:_0x3f04a5}=_0x206aa4;_0x556760=_0x556760!=null?_0x556760:0x0,_0xd6431f=_0xd6431f!=null?_0xd6431f:0x1e,_0x3f04a5=_0x3f04a5!=null?_0x3f04a5:0x1e;let _0xfec8e8=0x0,_0x253c20=0x0,_0x1b6d26=0x0;_0xfec8e8=_0x253c20=_0x1b6d26=Math[_0x5664c0(0x3c6)](_0x556760,_0xd6431f/0x2,_0x3f04a5/0x2),_0x357dd5[_0x5664c0(0x358)](),_0x357dd5['moveTo'](_0xfec8e8,0x0),_0x357dd5[_0x5664c0(0x30b)](_0xd6431f-_0x253c20,0x0),_0x357dd5[_0x5664c0(0x203)](_0xd6431f-_0x253c20,_0x253c20,_0x253c20,Math['PI']*0x3/0x2,0x0,!0x1),_0x357dd5[_0x5664c0(0x30b)](_0xd6431f,_0x3f04a5-_0x1b6d26),_0x357dd5[_0x5664c0(0x203)](_0xd6431f-_0x1b6d26,_0x3f04a5-_0x1b6d26,_0x1b6d26,0x0,Math['PI']/0x2,!0x1),_0x357dd5[_0x5664c0(0x30b)](0x0,_0x3f04a5),_0x357dd5[_0x5664c0(0x30b)](0x0,_0xfec8e8),_0x357dd5[_0x5664c0(0x203)](_0xfec8e8,_0xfec8e8,_0xfec8e8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x357dd5[_0x5664c0(0x218)](),_0x206aa4[_0x5664c0(0x42b)]&&(_0x357dd5['save'](),_0x357dd5['fillStyle']=_0x206aa4[_0x5664c0(0x42b)],_0x206aa4[_0x5664c0(0x23c)]==='evenodd'?_0x357dd5[_0x5664c0(0x42b)](_0x5664c0(0x4ad)):_0x357dd5[_0x5664c0(0x42b)](),_0x357dd5[_0x5664c0(0x45e)]());}class _0x138c53 extends _0x396fb6[_0x25c8ac(0x35d)]{constructor(_0x33501d,_0x2b8b94){const _0x33b346=_0x25c8ac;super(_0x33501d,_0x2b8b94),_0x3a54cf(this,_0x33b346(0x2da)),_0x3a54cf(this,'text'),(this[_0x33b346(0x2da)]=_0x2b8b94==null?void 0x0:_0x2b8b94[_0x33b346(0x2da)],this['text']=_0x2b8b94==null?void 0x0:_0x2b8b94[_0x33b346(0x48f)]);}static[_0x25c8ac(0x2bd)](_0x4bc761,_0x4bc170){const _0xd9e91e=_0x25c8ac,{text:_0x3cc97f,color:_0x1a5144}=_0x4bc170;_0x4bc761[_0xd9e91e(0x3c2)](),_0x4bc761['font']=_0xd9e91e(0x499);const _0x48cc26=_0x4bc761[_0xd9e91e(0x200)](_0x3cc97f)[_0xd9e91e(0x3fc)],_0x3830ce=Math[_0xd9e91e(0x3c6)](_0x48cc26+0x2*_0x169f85,_0x4f6245);_0x2cd01b(_0x4bc761,{'height':_0x3e88d8,'radius':0x4,'width':_0x3830ce,'fill':_0x1a5144}),_0x4bc761[_0xd9e91e(0x2bc)]=_0xd9e91e(0x3f8);const _0x527108=_0x169f85,_0x2b136e=_0x3e88d8-_0x389b3c,_0x369d8c=_0x4f6245-0x2*_0x169f85;if(_0x48cc26>_0x369d8c){let _0x19ffd2='',_0x542079=0x0;for(const _0x3f335b of _0x3cc97f){const _0x5e899f=_0x4bc761['measureText'](_0x3f335b)[_0xd9e91e(0x3fc)];if(_0x542079+_0x5e899f<=_0x369d8c-_0x4bc761['measureText'](_0xd9e91e(0x4cc))[_0xd9e91e(0x3fc)])_0x19ffd2+=_0x3f335b,_0x542079+=_0x5e899f;else{_0x19ffd2+='...';break;}}_0x4bc761[_0xd9e91e(0x274)](_0x19ffd2,_0x527108,_0x2b136e);}else _0x4bc761['fillText'](_0x3cc97f,_0x527108,_0x2b136e);_0x4bc761[_0xd9e91e(0x45e)]();}[_0x25c8ac(0x2a2)](_0x168f4e){const _0x3200c8=_0x25c8ac;_0x138c53[_0x3200c8(0x2bd)](_0x168f4e,this);}}const _0x41e103='collab-text-anchor-',_0x3446e0=_0x25c8ac(0x2b7),_0x77063e=_0x25c8ac(0x4bb),_0x31de00=0x6,_0x449f62=1.5,_0x3ce1c4=0x4,_0x267e4d=1.5,_0xbfaac7=_0x25c8ac(0x338);class _0x1ab378{constructor(_0x1c81d5,_0x134eb7,_0xe80fb5,_0x3cedb3){const _0x1bce42=_0x25c8ac;_0x3a54cf(this,_0x1bce42(0x2ea),[]),_0x3a54cf(this,_0x1bce42(0x47d),null),_0x3a54cf(this,_0x1bce42(0x327),null),_0x3a54cf(this,_0x1bce42(0x344),null),_0x3a54cf(this,_0x1bce42(0x39f),null),_0x3a54cf(this,'_eventUnsubscribe',null),(this[_0x1bce42(0x24e)]=_0x1c81d5,this[_0x1bce42(0x2a1)]=_0x134eb7,this[_0x1bce42(0x348)]=_0xe80fb5,this[_0x1bce42(0x360)]=_0x3cedb3,this['_render']());}set['_hover'](_0x37c3d0){const _0x35781a=_0x25c8ac;_0x37c3d0?(this['_anchorDot']&&this[_0x35781a(0x344)][_0x35781a(0x2f9)](),this[_0x35781a(0x327)]&&this[_0x35781a(0x327)][_0x35781a(0x392)]()):(this['_anchorDot']&&this[_0x35781a(0x344)][_0x35781a(0x392)](),this[_0x35781a(0x327)]&&this['_textBubble'][_0x35781a(0x2f9)]());}['dispose'](){const _0x57cb4a=_0x25c8ac;for(const _0x55e805 of this['_shapes'])_0x55e805['dispose']();this[_0x57cb4a(0x327)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x57cb4a(0x325)](),this[_0x57cb4a(0x47d)]&&this[_0x57cb4a(0x47d)][_0x57cb4a(0x325)](),this[_0x57cb4a(0x2bf)]&&this['_eventUnsubscribe']();}[_0x25c8ac(0x228)](){const _0x54994e=_0x25c8ac;var _0x37f415;const {_docSkeleton:_0x352fac,_document:_0x115d46}=this,{color:_0x132b28,name:_0x2e3999,ranges:_0x57f150}=this['_cursor'],_0x44c6b6=_0x115d46[_0x54994e(0x4af)](),{docsLeft:_0x40b3d0,docsTop:_0x577af5}=_0x44c6b6,_0x2ad7df=new _0x594fa4[(_0x54994e(0x234))](_0x44c6b6,_0x352fac);for(const {startOffset:_0x4f72c8,endOffset:_0x54e7b9,rangeType:_0x21c9b5,segmentId:_0x4c3ac6,segmentPage:_0x558944,collapsed:_0x248858,isActive:_0x9718e9}of _0x57f150){const _0x520e13=_0x352fac[_0x54994e(0x290)](_0x4f72c8,!0x0,_0x4c3ac6,_0x558944);let _0x288de7=_0x352fac[_0x54994e(0x290)](_0x54e7b9,!0x0,_0x4c3ac6,_0x558944);if(_0x288de7==null&&(_0x288de7=_0x352fac['findNodePositionByCharIndex'](_0x54e7b9-0x1,!0x1,_0x4c3ac6,_0x558944)),_0x9718e9){const {contentBoxPointGroup:_0x2be2fc}=_0x2ad7df[_0x54994e(0x49c)](_0x288de7,_0x288de7);if(_0x2be2fc['length']===0x0)continue;this[_0x54994e(0x2d3)](_0x132b28,_0x2be2fc,_0x40b3d0,_0x577af5,_0x2e3999),this[_0x54994e(0x2bf)]=this[_0x54994e(0x226)]();}if(_0x520e13&&_0x288de7){if(_0x21c9b5===_0x51c091[_0x54994e(0x458)][_0x54994e(0x208)]){const _0x3aeba6=new _0x594fa4[(_0x54994e(0x3ec))](_0x44c6b6,_0x352fac),{pointGroup:_0x2adfc1}=(_0x37f415=_0x3aeba6[_0x54994e(0x49c)](_0x520e13,_0x288de7))!=null?_0x37f415:{};if(_0x2adfc1==null||_0x2adfc1[_0x54994e(0x497)]===0x0)continue;this['_drawRectRange'](_0x132b28,_0x2adfc1,_0x40b3d0,_0x577af5);}else{if(!_0x248858){const {borderBoxPointGroup:_0x4e02a1}=_0x2ad7df['getRangePointData'](_0x520e13,_0x288de7);if(_0x4e02a1[_0x54994e(0x497)]===0x0)continue;this['_drawTextRange'](_0x132b28,_0x4e02a1,_0x40b3d0,_0x577af5);}}}}}[_0x25c8ac(0x2d3)](_0x5d3e39,_0x368bcc,_0x566245,_0x158632,_0x2b1b0b){const _0x175d10=_0x25c8ac,_0x8adbcf=this[_0x175d10(0x294)](_0x368bcc),{left:_0x13fa91,top:_0x531bf5,height:_0x2c3ef2}=_0x8adbcf,_0x312f6c=this[_0x175d10(0x3d5)](),_0x1a89f6=_0x267e4d/_0x312f6c,_0x366d6e=new _0x396fb6['Rect'](_0x41e103+_0x51c091[_0x175d10(0x2a9)](_0x31de00),{'left':_0x13fa91+_0x566245-_0x1a89f6,'top':_0x531bf5+_0x158632,'height':_0x2c3ef2,'width':_0x449f62,'fill':_0x5d3e39||_0x396fb6[_0x175d10(0x3a0)](_0x51c091[_0x175d10(0x421)][_0x175d10(0x478)],0x0),'strokeWidth':_0x1a89f6,'stroke':_0xbfaac7,'evented':!0x0});this[_0x175d10(0x47d)]=_0x366d6e,this['_scene'][_0x175d10(0x3d1)](_0x366d6e,_0x594fa4[_0x175d10(0x3bc)]);const _0x2ab239=new _0x396fb6[(_0x175d10(0x2c2))](_0x41e103+_0x51c091[_0x175d10(0x2a9)](_0x31de00),{'left':_0x13fa91+_0x566245-_0x1a89f6,'top':_0x531bf5+_0x158632-_0x3ce1c4/0x2,'height':_0x3ce1c4,'width':_0x3ce1c4,'fill':_0x5d3e39||_0x396fb6[_0x175d10(0x3a0)](_0x51c091['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x5d3e39||_0x396fb6[_0x175d10(0x3a0)](_0x51c091['COLORS'][_0x175d10(0x478)],0x0),'evented':!0x1});this['_anchorDot']=_0x2ab239,this[_0x175d10(0x2a1)][_0x175d10(0x3d1)](_0x2ab239,_0x594fa4[_0x175d10(0x3bc)]);const _0x28a0ce=new _0x138c53(_0x41e103+_0x51c091[_0x175d10(0x2a9)](_0x31de00),{'left':_0x13fa91+_0x566245-_0x1a89f6,'top':_0x531bf5+_0x158632-_0x3e88d8,'text':_0x2b1b0b,'color':_0x5d3e39});this['_textBubble']=_0x28a0ce,this['_scene'][_0x175d10(0x3d1)](_0x28a0ce,_0x594fa4['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x25c8ac(0x226)](){const _0x40a5db=_0x25c8ac,_0x4d9e8f=this['_anchor'][_0x40a5db(0x293)][_0x40a5db(0x402)](()=>{const _0x3a51f2=_0x40a5db;this[_0x3a51f2(0x394)]=!0x0;}),_0x22893c=this[_0x40a5db(0x47d)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x28d953=_0x40a5db;this[_0x28d953(0x39f)]&&clearTimeout(this[_0x28d953(0x39f)]),this[_0x28d953(0x39f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x19dc6f=_0x40a5db;_0x4d9e8f[_0x19dc6f(0x287)](),_0x22893c['unsubscribe']();};}[_0x25c8ac(0x4b4)](_0x488218,_0x22c41c,_0x9fae0f,_0x4b8d59){const _0x2346c9=_0x25c8ac,_0x285042=new _0x51c091['ColorKit'](_0x488218)[_0x2346c9(0x209)](0.2)['toRgbString'](),_0x5e99f7=new _0x396fb6['RegularPolygon'](_0x3446e0+_0x51c091[_0x2346c9(0x2a9)](_0x31de00),{'pointsGroup':_0x22c41c,'fill':_0x285042||_0x396fb6[_0x2346c9(0x3a0)](_0x51c091['COLORS'][_0x2346c9(0x478)],0.2),'left':_0x9fae0f,'top':_0x4b8d59,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2346c9(0x2ac)](_0x5e99f7),this[_0x2346c9(0x2a1)]['addObject'](_0x5e99f7,_0x594fa4[_0x2346c9(0x3bc)]);}['_drawRectRange'](_0x2982a6,_0x86c13e,_0xe1adb8,_0x555841){const _0x46ec1f=_0x25c8ac,_0x464309=new _0x51c091[(_0x46ec1f(0x223))](_0x2982a6)[_0x46ec1f(0x209)](0.2)['toRgbString'](),_0x482f97=new _0x396fb6[(_0x46ec1f(0x449))](_0x77063e+_0x51c091['generateRandomId'](_0x31de00),{'pointsGroup':_0x86c13e,'fill':_0x464309||_0x396fb6[_0x46ec1f(0x3a0)](_0x51c091[_0x46ec1f(0x421)][_0x46ec1f(0x478)],0.2),'left':_0xe1adb8,'top':_0x555841,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46ec1f(0x2ea)][_0x46ec1f(0x2ac)](_0x482f97),this[_0x46ec1f(0x2a1)]['addObject'](_0x482f97,_0x594fa4[_0x46ec1f(0x3bc)]);}[_0x25c8ac(0x294)](_0x1dfb30){const _0x190ad4=_0x1dfb30[0x0],_0x588b04=_0x190ad4[0x0],_0x3013e1=_0x190ad4[0x2],{x:_0x2125d1,y:_0x3e177f}=_0x588b04,{x:_0x443c39,y:_0x425670}=_0x3013e1;return{'left':_0x2125d1,'top':_0x3e177f,'width':_0x443c39-_0x2125d1,'height':_0x425670-_0x3e177f};}[_0x25c8ac(0x3d5)](){const _0x402234=_0x25c8ac,{scaleX:_0x394688,scaleY:_0x235e97}=this[_0x402234(0x2a1)][_0x402234(0x1fc)]();return Math[_0x402234(0x423)](_0x394688,_0x235e97);}}var _0x4bd16f=Object[_0x25c8ac(0x3a8)],_0x58b0e0=(_0x1e423a,_0x5cfe8f,_0x38a679,_0x465cdf)=>{const _0x1813c9=_0x25c8ac;for(var _0x3161e5=_0x465cdf>0x1?void 0x0:_0x465cdf?_0x4bd16f(_0x5cfe8f,_0x38a679):_0x5cfe8f,_0x5b28c6=_0x1e423a[_0x1813c9(0x497)]-0x1,_0x4d0cbf;_0x5b28c6>=0x0;_0x5b28c6--)(_0x4d0cbf=_0x1e423a[_0x5b28c6])&&(_0x3161e5=_0x4d0cbf(_0x3161e5)||_0x3161e5);return _0x3161e5;},_0x49e4b5=(_0x19ffd7,_0x3867fb)=>(_0x327329,_0xe7de90)=>_0x3867fb(_0x327329,_0xe7de90,_0x19ffd7);let _0x743d07=class extends _0x51c091['RxDisposable']{constructor(_0x434582,_0x1afa6e,_0x47a2d3,_0x301a5c,_0x414c62){const _0x518c06=_0x25c8ac;super(),_0x3a54cf(this,_0x518c06(0x407),[]),_0x3a54cf(this,_0x518c06(0x332),[]),(this[_0x518c06(0x31e)]=_0x434582,this['_docSkeletonManagerService']=_0x1afa6e,this['_collabCursorController']=_0x47a2d3,this[_0x518c06(0x2d6)]=_0x301a5c,this[_0x518c06(0x2cd)]=_0x414c62,this['_init']());}[_0x25c8ac(0x38f)](){const _0x23341e=_0x25c8ac,_0x2b900e=this[_0x23341e(0x31e)][_0x23341e(0x268)],_0x30c80b=this['_docSkeletonManagerService'];this[_0x23341e(0x1f5)](_0x2d756d[_0x23341e(0x496)]([this[_0x23341e(0x2fc)]['getCollabCursors$'](_0x2b900e),this[_0x23341e(0x2cd)][_0x23341e(0x23d)]])[_0x23341e(0x430)](_0xe24628[_0x23341e(0x43d)](([_0x3a1dee,_0xa0d65d])=>({'skeleton':_0x30c80b['getSkeleton'](),'cursors':[..._0x3a1dee['values']()][_0x23341e(0x28c)](_0x2e9a72=>({..._0x2e9a72,'color':this[_0x23341e(0x2cd)]['getColorFromTheme'](_0x2e9a72[_0x23341e(0x2da)])}))})))[_0x23341e(0x2b3)](_0x3fedba=>{const _0x241824=_0x23341e;if(this[_0x241824(0x22f)](),_0x3fedba){const {skeleton:_0x1e7cef,cursors:_0xd266da}=_0x3fedba;this[_0x241824(0x2f0)](_0x1e7cef,_0xd266da);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x25c8ac(0x2f0)](_0x20e1d2,_0x49d078){const _0x24c7ec=_0x25c8ac,{scene:_0x544e66,mainComponent:_0x3b0bf7}=this[_0x24c7ec(0x31e)],_0x17d7c1=_0x49d078['map'](_0x3f6745=>new _0x1ab378(_0x3f6745,_0x544e66,_0x20e1d2,_0x3b0bf7));this[_0x24c7ec(0x407)]=_0x17d7c1,this[_0x24c7ec(0x332)]=_0x49d078;}[_0x25c8ac(0x45f)](){const _0x30bae1=_0x25c8ac;this[_0x30bae1(0x22f)]();const {scene:_0x2ca01e,mainComponent:_0x504d26}=this[_0x30bae1(0x31e)],_0x43d178=this[_0x30bae1(0x4a1)][_0x30bae1(0x455)](),_0x420ba4=this[_0x30bae1(0x332)][_0x30bae1(0x43d)](_0x44c309=>new _0x1ab378(_0x44c309,_0x2ca01e,_0x43d178,_0x504d26));this[_0x30bae1(0x407)]=_0x420ba4;}[_0x25c8ac(0x22f)](){const _0x3f7ec8=_0x25c8ac;this[_0x3f7ec8(0x407)]['forEach'](_0x35e78b=>_0x35e78b[_0x3f7ec8(0x325)]()),this[_0x3f7ec8(0x407)]=[];}[_0x25c8ac(0x370)](){const _0x2c7673=_0x25c8ac,_0x343451=[_0x594fa4[_0x2c7673(0x37b)]['id']];this[_0x2c7673(0x1f5)](this[_0x2c7673(0x2d6)][_0x2c7673(0x485)](_0xc573a6=>{const _0x380052=_0x2c7673;_0x343451[_0x380052(0x233)](_0xc573a6['id'])&&_0xc573a6[_0x380052(0x411)][_0x380052(0x268)]===this['_context'][_0x380052(0x268)]&&this[_0x380052(0x45f)]();}));}['_initResize'](){const _0x1e250f=_0x25c8ac;this['disposeWithMe'](_0x51c091[_0x1e250f(0x286)](this['_context'][_0x1e250f(0x4b0)]['onTransformChange$'])[_0x1e250f(0x430)](_0xe24628['filter'](_0x5e670b=>_0x5e670b['type']===_0x396fb6['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x1e250f(0x4d9)]),_0xe24628[_0x1e250f(0x36d)](0x10))[_0x1e250f(0x2b3)](()=>{const _0x547148=_0x1e250f;this[_0x547148(0x45f)]();}));}};_0x743d07=_0x58b0e0([_0x49e4b5(0x1,_0x51c091[_0x25c8ac(0x301)](_0x37270e[_0x25c8ac(0x1f7)])),_0x49e4b5(0x2,_0x51c091['Inject'](_0x43fe6e)),_0x49e4b5(0x3,_0x51c091[_0x25c8ac(0x483)]),_0x49e4b5(0x4,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x41b)]))],_0x743d07);const _0x1b8c31=0x1,_0x4ae82e=1.5;class _0x1855f6 extends _0x396fb6[_0x25c8ac(0x35d)]{constructor(_0x15031d,_0x341307){const _0x414b29=_0x25c8ac;super(_0x15031d,_0x341307),_0x3a54cf(this,_0x414b29(0x479)),_0x3a54cf(this,_0x414b29(0x22e),!0x1),_0x3a54cf(this,_0x414b29(0x2d5)),_0x3a54cf(this,_0x414b29(0x49d),''),_0x3a54cf(this,_0x414b29(0x28a),_0x414b29(0x49b)),_0x3a54cf(this,_0x414b29(0x24f)),(_0x341307&&this[_0x414b29(0x34b)](_0x341307),this['onPointerEnter$'][_0x414b29(0x402)](()=>this[_0x414b29(0x34b)]({'hovered':!0x0})),this['onPointerLeave$'][_0x414b29(0x402)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x25c8ac(0x34b)](_0x18234a){const _0x1fc0ba=_0x25c8ac;var _0x4e43d7,_0x119f0d,_0x3433be,_0x1af4b1,_0x2e17ed,_0x4d8cec;this[_0x1fc0ba(0x479)]=(_0x4e43d7=_0x18234a[_0x1fc0ba(0x2da)])!=null?_0x4e43d7:this[_0x1fc0ba(0x479)],this[_0x1fc0ba(0x22e)]=(_0x119f0d=_0x18234a[_0x1fc0ba(0x34f)])!=null?_0x119f0d:this[_0x1fc0ba(0x22e)],this[_0x1fc0ba(0x2d5)]=(_0x3433be=_0x18234a[_0x1fc0ba(0x2af)])!=null?_0x3433be:this[_0x1fc0ba(0x2d5)],this[_0x1fc0ba(0x49d)]=(_0x1af4b1=_0x18234a[_0x1fc0ba(0x1ea)])!=null?_0x1af4b1:this[_0x1fc0ba(0x49d)],this['_labelPosition']=(_0x2e17ed=_0x18234a[_0x1fc0ba(0x3f3)])!=null?_0x2e17ed:this[_0x1fc0ba(0x28a)],this[_0x1fc0ba(0x24f)]=(_0x4d8cec=_0x18234a[_0x1fc0ba(0x245)])!=null?_0x4d8cec:this[_0x1fc0ba(0x24f)],this[_0x1fc0ba(0x377)]({'width':_0x18234a[_0x1fc0ba(0x3fc)],'height':_0x18234a[_0x1fc0ba(0x34c)]});}['onMouseMove'](_0xc266d4){const _0x9e3d46=_0x25c8ac,{row:_0x348e01,column:_0x446ee1}=_0xc266d4;if(_0x348e01>=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x3b5)]&&_0x348e01<=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x3cd)]&&_0x446ee1>=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x3aa)]&&_0x446ee1<=this[_0x9e3d46(0x2d5)][_0x9e3d46(0x250)]){this[_0x9e3d46(0x34b)]({'hovered':!0x0});return;}this[_0x9e3d46(0x34b)]({'hovered':!0x1});}[_0x25c8ac(0x376)](_0x4e1c5b){return!0x1;}[_0x25c8ac(0x2a2)](_0x37aae2){const _0x2fd50a=_0x25c8ac;_0x396fb6[_0x2fd50a(0x2c2)][_0x2fd50a(0x2bd)](_0x37aae2,{'width':this[_0x2fd50a(0x3fc)],'height':this[_0x2fd50a(0x34c)],'strokeWidth':_0x4ae82e,'stroke':this[_0x2fd50a(0x479)],'evented':!0x1,'fill':this[_0x2fd50a(0x24f)]}),this[_0x2fd50a(0x22e)]&&(_0x37aae2[_0x2fd50a(0x3c2)](),_0x37aae2[_0x2fd50a(0x279)](0x1,0x0,0x0,0x1,this[_0x2fd50a(0x3fc)],this[_0x2fd50a(0x28a)]==='bottom'?0x0:-_0x3e88d8),_0x138c53['drawWith'](_0x37aae2,{'text':this[_0x2fd50a(0x49d)],'color':this['_color']}),_0x37aae2['restore']());}}var _0x30616d=Object['getOwnPropertyDescriptor'],_0x1a0574=(_0x27b98d,_0x5c36c6,_0xa0c220,_0x22dbef)=>{const _0x168b36=_0x25c8ac;for(var _0x1fa660=_0x22dbef>0x1?void 0x0:_0x22dbef?_0x30616d(_0x5c36c6,_0xa0c220):_0x5c36c6,_0x7f962e=_0x27b98d[_0x168b36(0x497)]-0x1,_0x126114;_0x7f962e>=0x0;_0x7f962e--)(_0x126114=_0x27b98d[_0x7f962e])&&(_0x1fa660=_0x126114(_0x1fa660)||_0x1fa660);return _0x1fa660;},_0x30b26c=(_0x88b9e8,_0x463d24)=>(_0x3cfdd2,_0xab744e)=>_0x463d24(_0x3cfdd2,_0xab744e,_0x88b9e8);const _0x973394=0x1389;let _0x62dded=class extends _0x51c091[_0x25c8ac(0x42f)]{constructor(_0x344475,_0x23d545,_0x359dde,_0x2a57a3){const _0x41953c=_0x25c8ac;super(),_0x3a54cf(this,_0x41953c(0x332),new Set()),_0x3a54cf(this,_0x41953c(0x424),null),(this[_0x41953c(0x31e)]=_0x344475,this[_0x41953c(0x473)]=_0x23d545,this['_collabCursorController']=_0x359dde,this[_0x41953c(0x2cd)]=_0x2a57a3,this[_0x41953c(0x38f)]());}[_0x25c8ac(0x38f)](){const _0x421f12=_0x25c8ac;this[_0x421f12(0x473)][_0x421f12(0x357)][_0x421f12(0x430)](_0xe24628['takeUntil'](this[_0x421f12(0x37a)]),_0xe24628[_0x421f12(0x38c)](_0x9ed001=>{const _0x33ab63=_0x421f12;if(_0x9ed001){const _0x7bbac3=_0x9ed001[_0x33ab63(0x2c8)];return _0x2d756d[_0x33ab63(0x496)](this[_0x33ab63(0x2fc)][_0x33ab63(0x2ef)](this[_0x33ab63(0x31e)][_0x33ab63(0x268)]),this[_0x33ab63(0x2cd)][_0x33ab63(0x23d)])[_0x33ab63(0x430)](_0xe24628[_0x33ab63(0x43d)](([_0x5d427a,_0x1a37ef])=>{const _0x2ff7ee=_0x33ab63,_0x6d0a5b=new Map();return _0x5d427a[_0x2ff7ee(0x345)]((_0x593936,_0x68004d)=>{const _0x5e1332=_0x2ff7ee;if(_0x593936[_0x5e1332(0x3f2)]===_0x7bbac3){const _0x2c79f1={..._0x593936};_0x2c79f1[_0x5e1332(0x2da)]=this[_0x5e1332(0x2cd)][_0x5e1332(0x2e5)](_0x593936[_0x5e1332(0x2da)]),_0x6d0a5b[_0x5e1332(0x22d)](_0x68004d,_0x2c79f1);}}),{'skeleton':_0x9ed001,'cursors':_0x6d0a5b};}));}return _0x2d756d['of']({'skeleton':null,'cursors':new Map()});}))[_0x421f12(0x2b3)](({skeleton:_0x2aaf49,cursors:_0x37bb7e})=>{const _0x77245=_0x421f12;this[_0x77245(0x22f)](),_0x2aaf49&&this['_updateCollabCursors'](_0x2aaf49,_0x37bb7e);}),this['_sheetSkeletonManagerService'][_0x421f12(0x357)][_0x421f12(0x2b3)](_0xf545b7=>{const _0x5e2dcd=_0x421f12;if(_0xf545b7==null)return;const {skeleton:_0x55cc3e}=_0xf545b7,{scene:_0x2e8369}=this['_context'];_0x2e8369[_0x5e2dcd(0x4c1)][_0x5e2dcd(0x402)](_0x51c091[_0x5e2dcd(0x447)](_0x18bb03=>{const _0x342587=_0x5e2dcd;var _0x4203f4,_0x5673f2;const {offsetX:_0x311f35,offsetY:_0x4d2298}=_0x18bb03,{x:_0x380bb5,y:_0x2bccee}=_0x2e8369['getRelativeToViewportCoord'](_0x396fb6['Vector2'][_0x342587(0x347)]([_0x311f35,_0x4d2298])),{scaleX:_0x364ff1,scaleY:_0x432c22}=_0x2e8369[_0x342587(0x1fc)](),_0x1c5010=_0x2e8369[_0x342587(0x34d)](_0x396fb6[_0x342587(0x2ce)][_0x342587(0x41a)]),_0x4b8458=_0x2e8369[_0x342587(0x49f)](_0x396fb6[_0x342587(0x49a)][_0x342587(0x347)]([_0x380bb5,_0x2bccee]),_0x1c5010),_0x168051=_0x55cc3e[_0x342587(0x365)](_0x311f35,_0x4d2298,_0x364ff1,_0x432c22,_0x4b8458);((_0x4203f4=this[_0x342587(0x424)])==null?void 0x0:_0x4203f4[_0x342587(0x2d8)])===_0x168051[_0x342587(0x2d8)]&&((_0x5673f2=this['_lastPointer'])==null?void 0x0:_0x5673f2[_0x342587(0x45b)])===_0x168051[_0x342587(0x45b)]||this[_0x342587(0x332)][_0x342587(0x345)](_0x4f8c53=>{_0x4f8c53['onMouseMove'](_0x168051);});},0x64));});}[_0x25c8ac(0x2f0)](_0x43c365,_0x2ab2cc){const _0x1c5a33=_0x25c8ac;var _0xbed0f6;const _0x3b333e=(_0xbed0f6=this[_0x1c5a33(0x473)]['getCurrent']())==null?void 0x0:_0xbed0f6[_0x1c5a33(0x20a)];if(!_0x3b333e)return;const _0x509b9c=this[_0x1c5a33(0x291)]();if(!_0x509b9c)return;this[_0x1c5a33(0x332)]['forEach'](_0x23bd84=>{const _0x4167fa=_0x1c5a33;_0x23bd84[_0x4167fa(0x3cc)]();});const {scene:_0x3e3aea}=_0x509b9c,_0x237390=_0x16ce05(Array[_0x1c5a33(0x3de)](_0x2ab2cc[_0x1c5a33(0x232)]()))['map'](_0x41820f=>{const _0x345500=_0x1c5a33,{color:_0x36c604,range:_0x3cc6de,name:_0x1feb22,selection:_0x360344,sheetID:_0x235403}=_0x41820f,{startColumn:_0x363726,startRow:_0x5f5442,endColumn:_0x467034,endRow:_0x13736d}=_0x3cc6de,_0x285441=_0x5aaf45[_0x345500(0x269)](_0x5f5442,_0x363726,_0x3e3aea,_0x3b333e),_0x43baa8=_0x5aaf45[_0x345500(0x269)](_0x13736d,_0x467034,_0x3e3aea,_0x3b333e),{columnHeaderHeightAndMarginTop:_0x431061}=_0x3b333e,{startX:_0x49e3c8,startY:_0x36a690}=_0x285441,{endX:_0x4cc179,endY:_0x2fa19e}=_0x43baa8,_0x533b91=_0x4cc179-_0x49e3c8,_0x10eb9b=_0x2fa19e-_0x36a690,_0xfa2e0c={'labelPosition':_0x36a690-_0x431061>=_0x3e88d8?_0x345500(0x49b):_0x345500(0x4c2),'sheetID':_0x235403,'range':_0x3cc6de,'color':_0x36c604,'name':_0x1feb22,'selection':_0x360344,'left':_0x49e3c8,'top':_0x36a690,'width':_0x533b91,'height':_0x10eb9b,'evented':!0x1,'zIndex':_0x973394};return new _0x1855f6(_0x1feb22,_0xfa2e0c);});_0x3e3aea[_0x1c5a33(0x3f4)](_0x237390,_0x1b8c31),this[_0x1c5a33(0x332)]=new Set(_0x237390);}[_0x25c8ac(0x22f)](){const _0x3a6ac6=_0x25c8ac;var _0x441f6b;(_0x441f6b=this[_0x3a6ac6(0x332)])==null||_0x441f6b[_0x3a6ac6(0x345)](_0x15aec0=>_0x15aec0[_0x3a6ac6(0x325)]());}[_0x25c8ac(0x291)](){const _0x3d2048=_0x25c8ac;return _0x5aaf45['getSheetObject'](this[_0x3d2048(0x31e)][_0x3d2048(0x4b5)],this['_context']);}};_0x62dded=_0x1a0574([_0x30b26c(0x1,_0x51c091[_0x25c8ac(0x301)](_0x5aaf45[_0x25c8ac(0x351)])),_0x30b26c(0x2,_0x51c091['Inject'](_0x43fe6e)),_0x30b26c(0x3,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x41b)]))],_0x62dded);function _0x16ce05(_0x40d3b2){const _0x2cbbf9=_0x25c8ac,_0x4bfad6=new Map();return _0x40d3b2['forEach'](_0x14de9b=>{const _0x4835e7=_0xd869;if(_0x4bfad6[_0x4835e7(0x297)](_0x14de9b[_0x4835e7(0x27d)])){const _0x5031e2=_0x4bfad6[_0x4835e7(0x4c4)](_0x14de9b[_0x4835e7(0x27d)]);_0x5031e2[_0x4835e7(0x1ea)]+=',\x20'+_0x14de9b[_0x4835e7(0x1ea)];}else _0x4bfad6[_0x4835e7(0x22d)](_0x14de9b[_0x4835e7(0x27d)],_0x14de9b);}),Array[_0x2cbbf9(0x3de)](_0x4bfad6[_0x2cbbf9(0x232)]());}var _0x29ab0c=Object[_0x25c8ac(0x3a8)],_0x15b492=(_0x16eb62,_0x35edbe,_0x4bfdb7,_0x23c58d)=>{const _0x2d88d8=_0x25c8ac;for(var _0x58517f=_0x23c58d>0x1?void 0x0:_0x23c58d?_0x29ab0c(_0x35edbe,_0x4bfdb7):_0x35edbe,_0x31ba92=_0x16eb62[_0x2d88d8(0x497)]-0x1,_0x2ba036;_0x31ba92>=0x0;_0x31ba92--)(_0x2ba036=_0x16eb62[_0x31ba92])&&(_0x58517f=_0x2ba036(_0x58517f)||_0x58517f);return _0x58517f;},_0x425b82=(_0x38ae6c,_0x160252)=>(_0x51ffc0,_0x134016)=>_0x160252(_0x51ffc0,_0x134016,_0x38ae6c);let _0x1e22db=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x1ac8ac,_0x1d1d63,_0x202e91,_0x30edaa,_0x376001,_0x31f904){const _0x2b57cc=_0x25c8ac;super(),this[_0x2b57cc(0x48a)]=_0x1ac8ac,this[_0x2b57cc(0x267)]=_0x1d1d63,this['_collaborationUIEventService']=_0x202e91,this[_0x2b57cc(0x264)]=_0x30edaa,this[_0x2b57cc(0x31d)]=_0x376001,this[_0x2b57cc(0x372)]=_0x31f904,this[_0x2b57cc(0x2c3)](),this[_0x2b57cc(0x229)]();}[_0x25c8ac(0x2c3)](){const _0x2ed39f=_0x25c8ac;this[_0x2ed39f(0x1f5)](this[_0x2ed39f(0x48a)][_0x2ed39f(0x368)](()=>{const _0x49413d=_0x2ed39f;if(this[_0x49413d(0x267)][_0x49413d(0x237)][_0x49413d(0x3ac)])return this[_0x49413d(0x372)]['t'](_0x49413d(0x21f));}));}['_initEvent'](){const _0x57b5ac=_0x25c8ac;this['disposeWithMe'](this[_0x57b5ac(0x43f)][_0x57b5ac(0x2c1)][_0x57b5ac(0x2b3)](_0x4bc46e=>{const _0xcf2a45=_0x57b5ac;_0x4bc46e['id']===_0x493e59['CollaborationUIEventId'][_0xcf2a45(0x3f0)]&&this['_messageService'][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x25b))}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x280)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db['MessageType'][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t']('collaboration.closeRoom')}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x292)]&&this['_notificationService'][_0xcf2a45(0x392)]({'title':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x4aa)),'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x239)),'type':_0xcf2a45(0x3df),'duration':0x0}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x1ec)]&&this[_0xcf2a45(0x264)]['show']({'type':_0x1039db['MessageType'][_0xcf2a45(0x235)],'content':this[_0xcf2a45(0x372)]['t']('collaboration.closeRoom')+'('+_0x4bc46e[_0xcf2a45(0x303)]+')'}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x46e)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t'](_0x4bc46e[_0xcf2a45(0x303)]||'')}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x224)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x2ad)],'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x46b))}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)]['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x1039db['MessageType']['Error'],'content':this[_0xcf2a45(0x372)]['t']('session.connection-failed')}),_0x4bc46e['id']===_0x493e59[_0xcf2a45(0x481)][_0xcf2a45(0x31c)]&&this[_0xcf2a45(0x264)][_0xcf2a45(0x392)]({'type':_0x1039db[_0xcf2a45(0x26f)][_0xcf2a45(0x235)],'content':this[_0xcf2a45(0x372)]['t'](_0xcf2a45(0x373))});}));}};_0x1e22db=_0x15b492([_0x425b82(0x0,_0x47d161['IBeforeCloseService']),_0x425b82(0x1,_0x493e59[_0x25c8ac(0x4cd)]),_0x425b82(0x2,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x3fa)])),_0x425b82(0x3,_0x47d161[_0x25c8ac(0x492)]),_0x425b82(0x4,_0x47d161[_0x25c8ac(0x3f5)]),_0x425b82(0x5,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x27c)]))],_0x1e22db);var _0x4f6c6d=Object[_0x25c8ac(0x3a8)],_0x2f7efc=(_0x3d41a8,_0xc390b3,_0x97e7ab,_0x10d50d)=>{const _0x355344=_0x25c8ac;for(var _0x405f5a=_0x10d50d>0x1?void 0x0:_0x10d50d?_0x4f6c6d(_0xc390b3,_0x97e7ab):_0xc390b3,_0x3a3866=_0x3d41a8[_0x355344(0x497)]-0x1,_0x5172d6;_0x3a3866>=0x0;_0x3a3866--)(_0x5172d6=_0x3d41a8[_0x3a3866])&&(_0x405f5a=_0x5172d6(_0x405f5a)||_0x405f5a);return _0x405f5a;},_0x1c94f3=(_0x2b616c,_0xe8b611)=>(_0x20c8f2,_0x5d156b)=>_0xe8b611(_0x20c8f2,_0x5d156b,_0x2b616c);let _0x5971ed=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x4c106d,_0xcdfbef,_0x475d77,_0x283c7e){const _0x3d0aca=_0x25c8ac;super(),_0x3a54cf(this,'_memberID'),(this[_0x3d0aca(0x3e5)]=_0x4c106d,this['_httpService']=_0xcdfbef,this[_0x3d0aca(0x38d)]=_0x475d77,this[_0x3d0aca(0x205)]=_0x283c7e,this['_init']());}[_0x25c8ac(0x38f)](){const _0x101e45=_0x25c8ac;this['_initWindowErrorListener'](),this[_0x101e45(0x4d3)](),this[_0x101e45(0x21e)](),this['_initUserListener']();}[_0x25c8ac(0x472)](){const _0xa13380=_0x25c8ac;this['disposeWithMe'](this[_0xa13380(0x205)][_0xa13380(0x4be)][_0xa13380(0x2b3)](_0x9b739d=>{const _0x127833=_0xa13380;this[_0x127833(0x318)]=_0x9b739d==null?void 0x0:_0x9b739d[_0x127833(0x4b8)];}));}[_0x25c8ac(0x32c)](){const _0x764f1a=_0x25c8ac,_0x54c5ba=_0x5610ab=>{const _0x2eb333=_0xd869;var _0x453d1a;this['_uploadLog'](_0x2eb333(0x3df),_0x2eb333(0x416)+_0x5610ab['message']+'\x20at\x20'+_0x5610ab['filename']+':'+_0x5610ab[_0x2eb333(0x4d2)]+':'+_0x5610ab[_0x2eb333(0x2f3)]+'\x0a'+(((_0x453d1a=_0x5610ab[_0x2eb333(0x3df)])==null?void 0x0:_0x453d1a[_0x2eb333(0x493)])||''));};window[_0x764f1a(0x222)](_0x764f1a(0x3df),_0x54c5ba),this[_0x764f1a(0x1f5)](()=>{const _0x2907ce=_0x764f1a;window[_0x2907ce(0x464)]('error',_0x54c5ba);});}[_0x25c8ac(0x4d3)](){const _0x1af3b0=_0x25c8ac,_0x235439=_0x37288f=>{const _0x4cbf28=_0xd869;this[_0x4cbf28(0x257)]('error',_0x4cbf28(0x283)+_0x37288f[_0x4cbf28(0x2ec)]);};window[_0x1af3b0(0x222)](_0x1af3b0(0x28e),_0x235439),this[_0x1af3b0(0x1f5)](()=>{const _0x3d6b8c=_0x1af3b0;window[_0x3d6b8c(0x464)](_0x3d6b8c(0x28e),_0x235439);});}[_0x25c8ac(0x21e)](){const _0x284c87=_0x25c8ac,_0x87d50f=this[_0x284c87(0x38d)][_0x284c87(0x3df)][_0x284c87(0x20f)](this['_logService']);this[_0x284c87(0x38d)]['error']=(..._0x569935)=>{const _0x2b2d3d=_0x284c87,_0x58e01d=_0x569935['map'](_0x45a0e4=>_0x45a0e4 instanceof Error?_0x45a0e4[_0x2b2d3d(0x2f6)]+'\x0a'+_0x45a0e4['stack']:String(_0x45a0e4))[_0x2b2d3d(0x466)]('\x20');this['_uploadLog'](_0x2b2d3d(0x3df),'[LogService\x20Error]:\x20'+_0x58e01d),_0x87d50f(..._0x569935);},this[_0x284c87(0x1f5)](()=>{const _0x5a14d6=_0x284c87;this[_0x5a14d6(0x38d)][_0x5a14d6(0x3df)]=_0x87d50f;});}[_0x25c8ac(0x257)](_0x370db7,_0x5a73c5){const _0xba4ba=_0x25c8ac;try{const _0x4c43da={'userId':this[_0xba4ba(0x318)],'logLabel':_0x370db7,'content':_0x5a73c5};this['_httpService']['post']('/universer-api/frontend/logs',{'body':_0x4c43da})[_0xba4ba(0x3a4)](()=>{});}catch{}}};_0x5971ed=_0x2f7efc([_0x1c94f3(0x0,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x26a)])),_0x1c94f3(0x1,_0x51c091[_0x25c8ac(0x301)](_0x38be65[_0x25c8ac(0x436)])),_0x1c94f3(0x2,_0x51c091[_0x25c8ac(0x36e)]),_0x1c94f3(0x3,_0x51c091['Inject'](_0x493e59[_0x25c8ac(0x1f2)]))],_0x5971ed);const _0x50d024=_0x25c8ac(0x2a5),_0x3bc6e3={};var _0x393079=Object[_0x25c8ac(0x3a8)],_0x4f22c5=(_0x25beb7,_0x424d8f,_0xa4c970,_0x194e62)=>{const _0x1aeb36=_0x25c8ac;for(var _0x1515fb=_0x194e62>0x1?void 0x0:_0x194e62?_0x393079(_0x424d8f,_0xa4c970):_0x424d8f,_0x104bfe=_0x25beb7[_0x1aeb36(0x497)]-0x1,_0x551135;_0x104bfe>=0x0;_0x104bfe--)(_0x551135=_0x25beb7[_0x104bfe])&&(_0x1515fb=_0x551135(_0x1515fb)||_0x1515fb);return _0x1515fb;},_0x42042d=(_0x4ba6dc,_0x4acd0d)=>(_0x573318,_0x1bae24)=>_0x4acd0d(_0x573318,_0x1bae24,_0x4ba6dc);let _0x36d845=class{constructor(_0x296b0f,_0x52873d){const _0x1a41e8=_0x25c8ac;this[_0x1a41e8(0x414)]=_0x296b0f,this[_0x1a41e8(0x21c)]=_0x52873d;}[_0x25c8ac(0x29b)](_0x1af2ba){const _0x5b1295=_0x25c8ac;this[_0x5b1295(0x4ac)](_0x1af2ba),this[_0x5b1295(0x382)](_0x1af2ba);}['transformRemoteChangeset'](_0x1b3fff){const _0x1994fa=_0x25c8ac,{unitID:_0x36ae73}=_0x1b3fff,_0x40a0d9=this[_0x1994fa(0x21c)][_0x1994fa(0x25a)](_0x36ae73)['with'](_0x594fa4['DocIMEInputManagerService']),{redoCache:_0x2098eb}=_0x40a0d9['getUndoRedoMutationParamsCache']();if(_0x2098eb[_0x1994fa(0x497)]===0x0)return _0x1b3fff;let _0x2bdabf=_0x51c091[_0x1994fa(0x3ff)]['deepClone'](_0x1b3fff['mutations'][0x0]);for(let _0xc889c7=0x0;_0xc889c7<_0x2098eb['length'];_0xc889c7++){const _0xbe59={'id':'doc.mutation.rich-text-editing','params':{..._0x2098eb[_0xc889c7]}},_0x3360ee=this['_transformService'][_0x1994fa(0x2b2)](_0x2bdabf,_0xbe59,!0x1);if(_0x5b9cab[_0x1994fa(0x452)](_0x3360ee))throw _0x3360ee[_0x1994fa(0x3df)];_0x2bdabf=_0x3360ee['m1Prime'];}return{..._0x51c091[_0x1994fa(0x3ff)][_0x1994fa(0x259)](_0x1b3fff),'mutations':[_0x2bdabf]};}[_0x25c8ac(0x4ac)](_0x1f1546){const _0x11d044=_0x25c8ac,{unitID:_0x2ec474}=_0x1f1546,_0x2af329=this[_0x11d044(0x21c)]['getRenderById'](_0x2ec474)[_0x11d044(0x339)](_0x594fa4['DocIMEInputManagerService']),{undoCache:_0x4c182d,redoCache:_0x5ced31}=_0x2af329[_0x11d044(0x2cc)]();if(_0x4c182d[_0x11d044(0x497)]===0x0||_0x5ced31[_0x11d044(0x497)]===0x0)return;const _0x19b3a4=[],_0x4e8156=[];let _0x41fa1e=_0x51c091[_0x11d044(0x3ff)]['deepClone'](_0x1f1546['mutations'][0x0]),_0x5ea255=_0x51c091[_0x11d044(0x3ff)][_0x11d044(0x259)](_0x1f1546[_0x11d044(0x2dc)][0x0]);for(let _0x53d254=_0x4c182d[_0x11d044(0x497)]-0x1;_0x53d254>=0x0;_0x53d254--){const _0x1af8ad={'id':'doc.mutation.rich-text-editing','params':{..._0x4c182d[_0x53d254]}},_0x105dad={'id':'doc.mutation.rich-text-editing','params':{..._0x5ced31[_0x53d254]}},_0x25fab0=this[_0x11d044(0x414)][_0x11d044(0x2b2)](_0x41fa1e,_0x1af8ad,!0x1),_0x5ece87=this[_0x11d044(0x414)][_0x11d044(0x2b2)](_0x5ea255,_0x105dad,!0x1);if(_0x5b9cab[_0x11d044(0x452)](_0x25fab0))throw _0x25fab0['error'];if(_0x5b9cab[_0x11d044(0x452)](_0x5ece87))throw _0x5ece87[_0x11d044(0x3df)];_0x19b3a4[_0x11d044(0x4cf)](_0x25fab0[_0x11d044(0x389)][_0x11d044(0x411)]),_0x4e8156[_0x11d044(0x4cf)](_0x5ece87[_0x11d044(0x389)][_0x11d044(0x411)]),_0x41fa1e=_0x25fab0[_0x11d044(0x33c)],_0x5ea255=_0x5ece87[_0x11d044(0x33c)];}_0x2af329['setUndoRedoMutationParamsCache']({'undoCache':_0x19b3a4,'redoCache':_0x4e8156});}[_0x25c8ac(0x382)](_0x186536){const _0x40fea0=_0x25c8ac,{unitID:_0x5cbecc}=_0x186536,_0x66e5df=this[_0x40fea0(0x21c)][_0x40fea0(0x25a)](_0x5cbecc)['with'](_0x594fa4[_0x40fea0(0x2df)]),_0x3af6fe=_0x66e5df[_0x40fea0(0x381)]();if(_0x3af6fe==null)return;const _0x2159ae=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x186536['unitID'],'actions':null,'textRanges':[_0x3af6fe]}}],_0x510151=this[_0x40fea0(0x414)][_0x40fea0(0x2bb)](_0x186536,_0x2159ae);if(!_0x5b9cab[_0x40fea0(0x314)](_0x510151))throw _0x510151['error'];const _0x526d21=_0x510151[_0x40fea0(0x389)][0x0]['params'][_0x40fea0(0x45a)];Array[_0x40fea0(0x1fa)](_0x526d21)&&_0x526d21[_0x40fea0(0x497)]&&_0x66e5df['setActiveRange'](_0x526d21[0x0]);}};_0x36d845=_0x4f22c5([_0x42042d(0x0,_0x5b9cab[_0x25c8ac(0x431)]),_0x42042d(0x1,_0x396fb6['IRenderManagerService'])],_0x36d845);var _0x5d8053=Object[_0x25c8ac(0x3a8)],_0x56f933=(_0x188e70,_0x42a546,_0x2a3b1f,_0x4a80b5)=>{for(var _0x25fd9d=_0x4a80b5>0x1?void 0x0:_0x4a80b5?_0x5d8053(_0x42a546,_0x2a3b1f):_0x42a546,_0x1efe8a=_0x188e70['length']-0x1,_0x59958a;_0x1efe8a>=0x0;_0x1efe8a--)(_0x59958a=_0x188e70[_0x1efe8a])&&(_0x25fd9d=_0x59958a(_0x25fd9d)||_0x25fd9d);return _0x25fd9d;},_0x5833a8=(_0x18f96f,_0x184249)=>(_0x11b367,_0x2ac88f)=>_0x184249(_0x11b367,_0x2ac88f,_0x18f96f);let _0x40750b=class{constructor(_0x3a865a,_0x37fcbc,_0x424c94){const _0x53f457=_0x25c8ac;this[_0x53f457(0x3e5)]=_0x3a865a,this[_0x53f457(0x414)]=_0x37fcbc,this[_0x53f457(0x20b)]=_0x424c94;}[_0x25c8ac(0x3b8)](_0xe3db17){const _0x1df755=_0x25c8ac;this[_0x1df755(0x254)](_0xe3db17);}[_0x25c8ac(0x364)](_0x3dd461){const _0x3b9195=_0x25c8ac,{unitID:_0x247cef}=_0x3dd461,{collaboration:_0x1836b1}=this[_0x3b9195(0x20b)][_0x3b9195(0x4d4)](_0x247cef);if(_0x1836b1[_0x3b9195(0x497)]===0x0)return _0x3dd461;let _0xacc4a4=_0x51c091['Tools'][_0x3b9195(0x259)](_0x3dd461[_0x3b9195(0x2dc)][0x0]);for(let _0x763975=0x0;_0x763975<_0x1836b1['length'];_0x763975++){const _0x837758={'id':_0x3b9195(0x21a),'params':{'unitId':_0x1836b1[_0x763975]['unitId'],..._0x1836b1[_0x763975][_0x3b9195(0x272)]}},_0x464696=this[_0x3b9195(0x414)][_0x3b9195(0x2b2)](_0xacc4a4,_0x837758,!0x1);if(_0x5b9cab[_0x3b9195(0x452)](_0x464696))throw _0x464696[_0x3b9195(0x3df)];_0xacc4a4=_0x464696[_0x3b9195(0x33c)];}return{..._0x51c091['Tools'][_0x3b9195(0x259)](_0x3dd461),'mutations':[_0xacc4a4]};}['_transformHistoryAndStateStack'](_0x2304a4){const _0x3c7267=_0x25c8ac,{unitID:_0x23b94d}=_0x2304a4,{history:_0x533608,collaboration:_0x55b871}=this[_0x3c7267(0x20b)][_0x3c7267(0x4d4)](_0x23b94d);if(_0x533608[_0x3c7267(0x497)]===0x0&&_0x55b871['length']===0x0)return;const _0x47bc20=[],_0x4d68fb=[];let _0x16873c=_0x51c091[_0x3c7267(0x3ff)][_0x3c7267(0x259)](_0x2304a4['mutations'][0x0]),_0x39051e=_0x51c091['Tools']['deepClone'](_0x2304a4[_0x3c7267(0x2dc)][0x0]);for(let _0x40e6cf=_0x533608['length']-0x1;_0x40e6cf>=0x0;_0x40e6cf--){const _0x193b0d={'id':_0x3c7267(0x21a),'params':{'unitId':_0x533608[_0x40e6cf][_0x3c7267(0x268)],..._0x533608[_0x40e6cf][_0x3c7267(0x415)]}},_0x41bade={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x533608[_0x40e6cf]['unitId'],..._0x533608[_0x40e6cf]['redoState']}},_0x1764e5=this[_0x3c7267(0x414)]['transformMutation'](_0x16873c,_0x193b0d,!0x1),_0x1fee67=this[_0x3c7267(0x414)][_0x3c7267(0x2b2)](_0x39051e,_0x41bade,!0x1);if(_0x5b9cab[_0x3c7267(0x452)](_0x1764e5))throw _0x1764e5[_0x3c7267(0x3df)];if(_0x5b9cab[_0x3c7267(0x452)](_0x1fee67))throw _0x1fee67[_0x3c7267(0x3df)];_0x47bc20[_0x3c7267(0x4cf)]({..._0x533608[_0x40e6cf],'undoState':_0x1764e5[_0x3c7267(0x389)][_0x3c7267(0x411)],'redoState':_0x1fee67[_0x3c7267(0x389)][_0x3c7267(0x411)]}),_0x16873c=_0x1764e5[_0x3c7267(0x33c)],_0x39051e=_0x1fee67[_0x3c7267(0x33c)];}_0x16873c=_0x51c091[_0x3c7267(0x3ff)][_0x3c7267(0x259)](_0x2304a4[_0x3c7267(0x2dc)][0x0]),_0x39051e=_0x51c091[_0x3c7267(0x3ff)][_0x3c7267(0x259)](_0x2304a4[_0x3c7267(0x2dc)][0x0]);for(let _0x3e7061=_0x55b871[_0x3c7267(0x497)]-0x1;_0x3e7061>=0x0;_0x3e7061--){const _0x302915={'id':_0x3c7267(0x21a),'params':{'unitId':_0x55b871[_0x3e7061][_0x3c7267(0x268)],..._0x55b871[_0x3e7061][_0x3c7267(0x415)]}},_0x356470={'id':_0x3c7267(0x21a),'params':{'unitId':_0x55b871[_0x3e7061]['unitId'],..._0x55b871[_0x3e7061][_0x3c7267(0x272)]}},_0x51f03c=this[_0x3c7267(0x414)][_0x3c7267(0x2b2)](_0x16873c,_0x302915,!0x1),_0x19fb70=this['_transformService'][_0x3c7267(0x2b2)](_0x39051e,_0x356470,!0x1);if(_0x5b9cab[_0x3c7267(0x452)](_0x51f03c))throw _0x51f03c['error'];if(_0x5b9cab[_0x3c7267(0x452)](_0x19fb70))throw _0x19fb70[_0x3c7267(0x3df)];_0x4d68fb['unshift']({..._0x55b871[_0x3e7061],'undoState':_0x51f03c[_0x3c7267(0x389)][_0x3c7267(0x411)],'redoState':_0x19fb70[_0x3c7267(0x389)][_0x3c7267(0x411)]}),_0x16873c=_0x51f03c[_0x3c7267(0x33c)],_0x39051e=_0x19fb70['m1Prime'];}this['_docStateChangeManagerService'][_0x3c7267(0x3b1)](_0x23b94d,{'history':_0x47bc20,'collaboration':_0x4d68fb});}};_0x40750b=_0x56f933([_0x5833a8(0x0,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x26a)])),_0x5833a8(0x1,_0x5b9cab['ITransformService']),_0x5833a8(0x2,_0x51c091[_0x25c8ac(0x301)](_0x594fa4[_0x25c8ac(0x2d9)]))],_0x40750b);var _0x132645=Object[_0x25c8ac(0x3a8)],_0x4bbfef=(_0x2c60e8,_0x4e3d5c,_0x122742,_0x3372ea)=>{for(var _0x2457d0=_0x3372ea>0x1?void 0x0:_0x3372ea?_0x132645(_0x4e3d5c,_0x122742):_0x4e3d5c,_0x230e30=_0x2c60e8['length']-0x1,_0x113fc0;_0x230e30>=0x0;_0x230e30--)(_0x113fc0=_0x2c60e8[_0x230e30])&&(_0x2457d0=_0x113fc0(_0x2457d0)||_0x2457d0);return _0x2457d0;},_0x536d50=(_0xbf09c6,_0x419445)=>(_0x49e432,_0x519452)=>_0x419445(_0x49e432,_0x519452,_0xbf09c6);let _0x4139fa=class{constructor(_0x5ccb2b,_0x13ca82){const _0x73fddc=_0x25c8ac;this[_0x73fddc(0x3e5)]=_0x5ccb2b,this['_transformService']=_0x13ca82;}[_0x25c8ac(0x467)](_0x554ae8){const _0x3eed8f=_0x25c8ac;var _0x437b5f;const _0x11e68b=this[_0x3eed8f(0x3e5)][_0x3eed8f(0x4c4)](_0x37270e['DocSelectionManagerService']),_0x5a81dc=(_0x437b5f=_0x11e68b[_0x3eed8f(0x4d8)]())!=null?_0x437b5f:[];if(_0x5a81dc[_0x3eed8f(0x497)]===0x0)return;const _0x391912=_0x554ae8[_0x3eed8f(0x3e1)],_0x2950cd=[{'id':_0x3eed8f(0x21a),'params':{'unitId':_0x391912,'actions':null,'textRanges':_0x5a81dc}}],_0xca6d5f=this[_0x3eed8f(0x414)][_0x3eed8f(0x2bb)](_0x554ae8,_0x2950cd);if(!_0x5b9cab[_0x3eed8f(0x314)](_0xca6d5f))throw _0xca6d5f[_0x3eed8f(0x3df)];const _0x214e9a=_0xca6d5f['m2Prime'][0x0][_0x3eed8f(0x411)][_0x3eed8f(0x45a)];Array[_0x3eed8f(0x1fa)](_0x214e9a)&&_0x214e9a[_0x3eed8f(0x497)]&&_0x11e68b[_0x3eed8f(0x2f7)](_0x214e9a,{'unitId':_0x391912,'subUnitId':_0x391912},!0x1);}};_0x4139fa=_0x4bbfef([_0x536d50(0x0,_0x51c091[_0x25c8ac(0x301)](_0x51c091['Injector'])),_0x536d50(0x1,_0x5b9cab[_0x25c8ac(0x431)])],_0x4139fa);var _0x239ce6=Object[_0x25c8ac(0x3a8)],_0x19aec7=(_0xcf162,_0x4b7fb1,_0x1a523d,_0x14a893)=>{for(var _0xd33dde=_0x14a893>0x1?void 0x0:_0x14a893?_0x239ce6(_0x4b7fb1,_0x1a523d):_0x4b7fb1,_0x599a3e=_0xcf162['length']-0x1,_0x3ce1fc;_0x599a3e>=0x0;_0x599a3e--)(_0x3ce1fc=_0xcf162[_0x599a3e])&&(_0xd33dde=_0x3ce1fc(_0xd33dde)||_0xd33dde);return _0xd33dde;},_0x333003=(_0x4a5f19,_0x175aa9)=>(_0x2c56a5,_0x3b6eb1)=>_0x175aa9(_0x2c56a5,_0x3b6eb1,_0x4a5f19);let _0x41b37a=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x1f0f14,_0x2e4f5e,_0xee5db6,_0x1576a3,_0x3c2229,_0x25d9a3,_0x503918,_0x3ef373){const _0x15f9d1=_0x25c8ac;super(),_0x3a54cf(this,_0x15f9d1(0x346),new _0x2d756d[(_0x15f9d1(0x243))](_0x493e59['CollaborationStatus'][_0x15f9d1(0x356)])),(this[_0x15f9d1(0x20b)]=_0x1f0f14,this[_0x15f9d1(0x480)]=_0x2e4f5e,this[_0x15f9d1(0x2cf)]=_0xee5db6,this[_0x15f9d1(0x32e)]=_0x1576a3,this['_docTransformSelectionsService']=_0x3c2229,this['_docSyncEditingCollabCursorService']=_0x25d9a3,this[_0x15f9d1(0x264)]=_0x503918,this[_0x15f9d1(0x372)]=_0x3ef373,this[_0x15f9d1(0x46d)]());}[_0x25c8ac(0x46d)](){const _0x56f26d=_0x25c8ac;this['disposeWithMe'](this['_collaborationController'][_0x56f26d(0x4b3)][_0x56f26d(0x2b3)](_0x2724db=>{const _0x53ec8c=_0x56f26d,_0xb2d254=this['_docStateChangeManagerService'][_0x53ec8c(0x2dd)]['subscribe'](_0x4e81e3=>{const _0x3dedca=_0x53ec8c;if(_0x4e81e3==null)return;const {unitId:_0x1f084f,redoState:_0x385ba0,commandId:_0x33a782}=_0x4e81e3;if(_0x1f084f!==_0x2724db[_0x3dedca(0x3e1)])return;const _0x44a2e7={'id':_0x33a782,'type':_0x51c091[_0x3dedca(0x3fe)]['MUTATION'],'params':{'unitId':_0x1f084f,'actions':_0x385ba0[_0x3dedca(0x265)],'textRanges':null}};_0x2724db['onLocalMutation'](_0x44a2e7);});if(_0x2724db[_0x53ec8c(0x1f5)](_0xb2d254),_0x2724db instanceof _0x493e59[_0x53ec8c(0x3ad)]){const _0x3652e1={'onTransformIME':_0x442c35=>this[_0x53ec8c(0x2cf)][_0x53ec8c(0x29b)](_0x442c35),'onTransformState':_0x37a17b=>this[_0x53ec8c(0x32e)][_0x53ec8c(0x3b8)](_0x37a17b),'onTransformSelections':_0x441060=>this[_0x53ec8c(0x384)]['transformSelections'](_0x441060),'onSyncEditingCollabCursor':_0x1282b5=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x1282b5),'onTransformRemoteChangesetByIMECache':_0x22c662=>this[_0x53ec8c(0x2cf)]['transformRemoteChangeset'](_0x22c662),'onTransformRemoteChangesetByStateCache':_0x8e56a7=>this[_0x53ec8c(0x32e)][_0x53ec8c(0x364)](_0x8e56a7)};_0x2724db['addHandlerCallback'](_0x3652e1);}}));}};_0x41b37a=_0x19aec7([_0x333003(0x0,_0x51c091['Inject'](_0x594fa4[_0x25c8ac(0x2d9)])),_0x333003(0x1,_0x51c091[_0x25c8ac(0x301)](_0x493e59[_0x25c8ac(0x1f8)])),_0x333003(0x2,_0x51c091[_0x25c8ac(0x301)](_0x36d845)),_0x333003(0x3,_0x51c091[_0x25c8ac(0x301)](_0x40750b)),_0x333003(0x4,_0x51c091[_0x25c8ac(0x301)](_0x4139fa)),_0x333003(0x5,_0x51c091[_0x25c8ac(0x301)](_0x43bd11)),_0x333003(0x6,_0x47d161[_0x25c8ac(0x492)]),_0x333003(0x7,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x27c)]))],_0x41b37a);var _0x19b5af=(_0x437107=>(_0x437107[_0x437107[_0x25c8ac(0x3a2)]=0x0]=_0x25c8ac(0x3a2),_0x437107[_0x437107['OK']=0x1]='OK',_0x437107[_0x437107[_0x25c8ac(0x305)]=0x2]=_0x25c8ac(0x305),_0x437107[_0x437107['PERMISSION_DENIED']=0x3]=_0x25c8ac(0x292),_0x437107[_0x437107[_0x25c8ac(0x490)]=0x4]='NOT_FOUND',_0x437107[_0x437107['UNAUTHENTICATED']=0x5]=_0x25c8ac(0x427),_0x437107[_0x437107[_0x25c8ac(0x3c0)]=0x6]='ALREADY_EXISTS',_0x437107[_0x437107['INVALID_ARGUMENT']=0x7]=_0x25c8ac(0x350),_0x437107[_0x437107[_0x25c8ac(0x32f)]=0x8]=_0x25c8ac(0x32f),_0x437107[_0x437107['COMPLETION_FINISHED']=0x9]=_0x25c8ac(0x3f1),_0x437107[_0x437107[_0x25c8ac(0x3e6)]=0xa]=_0x25c8ac(0x3e6),_0x437107[_0x437107[_0x25c8ac(0x35e)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x437107[_0x437107[_0x25c8ac(0x4ae)]=0xc]=_0x25c8ac(0x4ae),_0x437107[_0x437107[_0x25c8ac(0x4ca)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x437107[_0x437107[_0x25c8ac(0x40c)]=0xe]=_0x25c8ac(0x40c),_0x437107[_0x437107['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x25c8ac(0x367),_0x437107[_0x437107['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x25c8ac(0x40f),_0x437107[_0x437107[_0x25c8ac(0x2a3)]=0x64]=_0x25c8ac(0x2a3),_0x437107[_0x437107[_0x25c8ac(0x4a8)]=0x65]=_0x25c8ac(0x4a8),_0x437107[_0x437107[_0x25c8ac(0x4b7)]=0xc9]=_0x25c8ac(0x4b7),_0x437107[_0x437107['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x437107[_0x437107['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x25c8ac(0x3fb),_0x437107[_0x437107['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x25c8ac(0x3ea),_0x437107[_0x437107[_0x25c8ac(0x20d)]=0x1772]=_0x25c8ac(0x20d),_0x437107[_0x437107['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x25c8ac(0x37d),_0x437107[_0x437107[_0x25c8ac(0x256)]=0x1b59]='APPLY_REJECT',_0x437107[_0x437107[_0x25c8ac(0x36a)]=0x1b5a]=_0x25c8ac(0x36a),_0x437107[_0x437107[_0x25c8ac(0x251)]=0x1b5b]=_0x25c8ac(0x251),_0x437107[_0x437107['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x25c8ac(0x246),_0x437107[_0x437107[_0x25c8ac(0x3b0)]=0x1b5d]=_0x25c8ac(0x3b0),_0x437107[_0x437107[_0x25c8ac(0x369)]=0x1f41]=_0x25c8ac(0x369),_0x437107[_0x437107[_0x25c8ac(0x23b)]=0x2329]=_0x25c8ac(0x23b),_0x437107[_0x437107[_0x25c8ac(0x317)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x437107[_0x437107[_0x25c8ac(0x2ab)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x437107[_0x437107['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x25c8ac(0x397),_0x437107[_0x437107[_0x25c8ac(0x1f9)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x437107[_0x437107[_0x25c8ac(0x27b)]=0x2711]=_0x25c8ac(0x27b),_0x437107[_0x437107['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x25c8ac(0x48c),_0x437107[_0x437107[_0x25c8ac(0x2e1)]=0x2713]=_0x25c8ac(0x2e1),_0x437107[_0x437107[_0x25c8ac(0x399)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x437107[_0x437107[_0x25c8ac(0x24c)]=0x271a]=_0x25c8ac(0x24c),_0x437107[_0x437107[_0x25c8ac(0x35f)]=0x271b]=_0x25c8ac(0x35f),_0x437107[_0x437107[_0x25c8ac(0x442)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x437107[_0x437107['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x437107[_0x437107['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x25c8ac(0x470),_0x437107[_0x437107[_0x25c8ac(0x49e)]=0x271f]=_0x25c8ac(0x49e),_0x437107[_0x437107[_0x25c8ac(0x4d7)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x437107[_0x437107['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x25c8ac(0x462),_0x437107[_0x437107['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x25c8ac(0x4d6),_0x437107[_0x437107[_0x25c8ac(0x29d)]=0x2ee2]='INVALID_INVITE_CODE',_0x437107[_0x437107[_0x25c8ac(0x32a)]=0x2ee3]=_0x25c8ac(0x32a),_0x437107[_0x437107[_0x25c8ac(0x42d)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x437107[_0x437107[_0x25c8ac(0x1ff)]=0x2ee5]=_0x25c8ac(0x1ff),_0x437107[_0x437107[_0x25c8ac(0x40a)]=0x32c9]=_0x25c8ac(0x40a),_0x437107[_0x437107[_0x25c8ac(0x4a6)]=0x32ca]=_0x25c8ac(0x4a6),_0x437107[_0x437107[_0x25c8ac(0x3ca)]=0x32cb]=_0x25c8ac(0x3ca),_0x437107[_0x437107[_0x25c8ac(0x3ed)]=0x36b1]=_0x25c8ac(0x3ed),_0x437107[_0x437107[_0x25c8ac(0x3cf)]=0x36b2]=_0x25c8ac(0x3cf),_0x437107[_0x437107[_0x25c8ac(0x3b2)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x437107[_0x437107['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x25c8ac(0x418),_0x437107[_0x437107[_0x25c8ac(0x340)]=0x3715]=_0x25c8ac(0x340),_0x437107[_0x437107['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x25c8ac(0x3a3),_0x437107[_0x437107[_0x25c8ac(0x4a0)]=0x3717]=_0x25c8ac(0x4a0),_0x437107[_0x437107[_0x25c8ac(0x202)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x437107[_0x437107[_0x25c8ac(0x25c)]=0x3a99]=_0x25c8ac(0x25c),_0x437107[_0x437107['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x25c8ac(0x204),_0x437107[_0x437107[_0x25c8ac(0x308)]=0x3a9b]=_0x25c8ac(0x308),_0x437107[_0x437107['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x437107[_0x437107['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x437107[_0x437107[_0x25c8ac(0x29a)]=0x3a9e]=_0x25c8ac(0x29a),_0x437107[_0x437107[_0x25c8ac(0x400)]=0x3a9f]=_0x25c8ac(0x400),_0x437107[_0x437107[_0x25c8ac(0x4c8)]=0x3e81]=_0x25c8ac(0x4c8),_0x437107[_0x437107[_0x25c8ac(0x2ed)]=-0x1]=_0x25c8ac(0x2ed),_0x437107))(_0x19b5af||{});function _0x20f5e7(_0x5ea61a){const _0x50fce6=_0x25c8ac;var _0xe1ea17,_0x3903aa;const _0x50f9e6=(_0xe1ea17=_0x5ea61a[_0x50fce6(0x451)])==null?void 0x0:_0xe1ea17[_0x50fce6(0x333)],_0x423f2e=((_0x3903aa=_0x5ea61a[_0x50fce6(0x451)])==null?void 0x0:_0x3903aa[_0x50fce6(0x405)])||0x0;return _0x50f9e6===_0xfcd088['FormulaExecuteStageType'][_0x50fce6(0x2a4)]&&_0x423f2e>0x0;}function _0x5853fe(_0x2c11c2){const _0x29052a=_0x25c8ac;return _0x2c11c2[_0x29052a(0x220)]===_0xfcd088[_0x29052a(0x35a)][_0x29052a(0x2e3)];}var _0x2e164c=Object[_0x25c8ac(0x3a8)],_0x2505ae=(_0x2d1453,_0x693628,_0x317480,_0x1dd285)=>{const _0x331741=_0x25c8ac;for(var _0x4812f6=_0x1dd285>0x1?void 0x0:_0x1dd285?_0x2e164c(_0x693628,_0x317480):_0x693628,_0x2695b3=_0x2d1453[_0x331741(0x497)]-0x1,_0x321ece;_0x2695b3>=0x0;_0x2695b3--)(_0x321ece=_0x2d1453[_0x2695b3])&&(_0x4812f6=_0x321ece(_0x4812f6)||_0x4812f6);return _0x4812f6;},_0x5bf078=(_0x7b0880,_0x3efe25)=>(_0x259039,_0x13c524)=>_0x3efe25(_0x259039,_0x13c524,_0x7b0880);const _0x221cbd=_0x25c8ac(0x477),_0x39d1f3=_0x25c8ac(0x34e),_0x52567f=_0x25c8ac(0x3ef);let _0x253e7a=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x10b10c,_0xaa566d,_0x220d1c,_0x473df5,_0x1b6d6e,_0x1e521d,_0x124e9e){const _0x3e12be=_0x25c8ac;super(),_0x3a54cf(this,'_pollingInterval',null),_0x3a54cf(this,_0x3e12be(0x295),0x0),_0x3a54cf(this,_0x3e12be(0x2c5),0x0),_0x3a54cf(this,'_taskIds',[]),_0x3a54cf(this,_0x3e12be(0x25f),0x0),(this[_0x3e12be(0x264)]=_0x10b10c,this[_0x3e12be(0x2d6)]=_0xaa566d,this[_0x3e12be(0x302)]=_0x220d1c,this[_0x3e12be(0x44d)]=_0x473df5,this[_0x3e12be(0x23a)]=_0x1b6d6e,this['_logService']=_0x1e521d,this[_0x3e12be(0x372)]=_0x124e9e,this[_0x3e12be(0x1f6)]());}[_0x25c8ac(0x1f6)](){const _0x5f1c5c=_0x25c8ac;this[_0x5f1c5c(0x1f5)](this[_0x5f1c5c(0x2d6)][_0x5f1c5c(0x40d)]((_0x4095d5,_0x27fca6)=>{const _0x5b8846=_0x5f1c5c;var _0x4403df;if(_0x4095d5['id']!==_0xfcd088[_0x5b8846(0x395)]['id'])return;const _0x1bc522=_0x4095d5[_0x5b8846(0x411)];if(!this[_0x5b8846(0x329)]((_0x4403df=_0x1bc522[_0x5b8846(0x2e0)])!=null?_0x4403df:[]))return;if(!this[_0x5b8846(0x21d)]())throw this[_0x5b8846(0x38e)](_0x4095d5,_0x27fca6),this['_showGuardMessage'](),new _0x51c091[(_0x5b8846(0x474))]();})),this[_0x5f1c5c(0x1f5)](this[_0x5f1c5c(0x2d6)][_0x5f1c5c(0x485)]((_0x5188e4,_0x169ace)=>{const _0x4415ad=_0x5f1c5c;if(_0x5188e4['id']!==_0xfcd088[_0x4415ad(0x27f)]['id'])return;const _0x44b7b8=_0x5188e4[_0x4415ad(0x411)];if(_0x20f5e7(_0x44b7b8)){const _0x526857=_0x51c091[_0x4415ad(0x2a9)]();this[_0x4415ad(0x426)][_0x4415ad(0x2ac)](_0x526857),this[_0x4415ad(0x48e)](_0x526857);}else{if(_0x5853fe(_0x44b7b8)&&this[_0x4415ad(0x426)][_0x4415ad(0x497)]>0x0){const _0x13a908=this[_0x4415ad(0x426)][_0x4415ad(0x374)]();this[_0x4415ad(0x262)](_0x13a908);}}}));}[_0x25c8ac(0x325)](){const _0x44197e=_0x25c8ac;super[_0x44197e(0x325)](),this['_clearPolling'](),this[_0x44197e(0x426)]=[],this[_0x44197e(0x2c5)]=0x0,this[_0x44197e(0x295)]=0x0,this[_0x44197e(0x25f)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x24cc9a,_0x1d087b){const _0x2c40a7=_0x25c8ac;for(let _0x116ed5=0x0;_0x116ed5<0x1e;_0x116ed5++)try{if(await this[_0x2c40a7(0x3c8)](),this[_0x2c40a7(0x21d)]()){this['_applyCommand'](_0x24cc9a,_0x1d087b),this[_0x2c40a7(0x264)]['show']({'content':this[_0x2c40a7(0x372)]['t'](_0x2c40a7(0x4a3)),'type':_0x1039db[_0x2c40a7(0x26f)]['Success']});return;}await new Promise(_0x5dcac3=>{const _0x2cb946=_0x2c40a7;this[_0x2cb946(0x4a4)]=window[_0x2cb946(0x48b)](_0x5dcac3,0x3e8);});}catch(_0x2f330b){this[_0x2c40a7(0x38d)][_0x2c40a7(0x3df)](_0x2f330b);}this['_messageService'][_0x2c40a7(0x392)]({'content':this['_localeService']['t'](_0x2c40a7(0x242)),'type':_0x1039db[_0x2c40a7(0x26f)]['Error']});}[_0x25c8ac(0x465)](_0x3ea1c9,_0x1b0bc7){const _0xacc448=_0x25c8ac;try{this[_0xacc448(0x2d6)][_0xacc448(0x3db)](_0x3ea1c9['id'],_0x3ea1c9['params'],_0x1b0bc7);}catch(_0x5a25b0){this['_logService'][_0xacc448(0x3df)](_0x5a25b0);}}[_0x25c8ac(0x3bd)](_0x149503,_0x5a33d6){const _0x19d19d=_0x25c8ac;_0x5a33d6<this[_0x19d19d(0x25f)]||(this[_0x19d19d(0x25f)]=_0x5a33d6,this[_0x19d19d(0x295)]=Number['parseInt'](_0x149503[_0x19d19d(0x439)]),this[_0x19d19d(0x2c5)]=Number[_0x19d19d(0x454)](_0x149503[_0x19d19d(0x2c4)]));}async[_0x25c8ac(0x48e)](_0x3f0435){const _0x2746dd=_0x25c8ac;var _0x1ef856,_0x7bc123;const _0x472f00=Date['now']();try{const _0xacb859=((_0x1ef856=this[_0x2746dd(0x302)][_0x2746dd(0x4d1)](_0x493e59[_0x2746dd(0x417)]))==null?void 0x0:_0x1ef856[_0x2746dd(0x47a)])||_0x39d1f3,_0x44646c=(await this[_0x2746dd(0x44d)][_0x2746dd(0x2f1)](_0xacb859,{'body':JSON[_0x2746dd(0x3ae)]({'taskId':_0x3f0435})}))[_0x2746dd(0x270)];if(((_0x7bc123=_0x44646c[_0x2746dd(0x3df)])==null?void 0x0:_0x7bc123[_0x2746dd(0x468)])!==_0x19b5af['OK'])return;this[_0x2746dd(0x3bd)](_0x44646c[_0x2746dd(0x39a)],_0x472f00);}catch(_0x952533){this[_0x2746dd(0x38d)]['error'](_0x952533);}}async[_0x25c8ac(0x3c8)](_0x338ad7){const _0x23e4fd=_0x25c8ac;var _0x38da63,_0x5e5afb;const _0x30795b=Date['now']();try{const _0x2948c1=((_0x38da63=this[_0x23e4fd(0x302)][_0x23e4fd(0x4d1)](_0x493e59[_0x23e4fd(0x417)]))==null?void 0x0:_0x38da63[_0x23e4fd(0x28d)])||_0x221cbd,_0x568406=_0x338ad7?_0x2948c1+_0x23e4fd(0x2b8)+encodeURIComponent(_0x338ad7):_0x2948c1,_0x289d4b=(await this[_0x23e4fd(0x44d)]['get'](_0x568406))[_0x23e4fd(0x270)];if(((_0x5e5afb=_0x289d4b[_0x23e4fd(0x3df)])==null?void 0x0:_0x5e5afb[_0x23e4fd(0x468)])!==_0x19b5af['OK'])return;this[_0x23e4fd(0x3bd)](_0x289d4b['limitInfo'],_0x30795b);}catch(_0x131396){this[_0x23e4fd(0x38d)][_0x23e4fd(0x3df)](_0x131396);}}async[_0x25c8ac(0x262)](_0x4ef488){const _0x7d27a2=_0x25c8ac;var _0x204168,_0x419108;const _0x41fce0=Date[_0x7d27a2(0x331)]();try{const _0x25d2fd=((_0x204168=this[_0x7d27a2(0x302)][_0x7d27a2(0x4d1)](_0x493e59[_0x7d27a2(0x417)]))==null?void 0x0:_0x204168[_0x7d27a2(0x215)])||_0x52567f,_0x4b9800=(await this[_0x7d27a2(0x44d)][_0x7d27a2(0x2f1)](_0x25d2fd,{'body':JSON[_0x7d27a2(0x3ae)]({'taskId':_0x4ef488})}))[_0x7d27a2(0x270)];if(((_0x419108=_0x4b9800[_0x7d27a2(0x3df)])==null?void 0x0:_0x419108[_0x7d27a2(0x468)])!==_0x19b5af['OK'])return;this[_0x7d27a2(0x3bd)](_0x4b9800[_0x7d27a2(0x39a)],_0x41fce0);}catch(_0x493723){this[_0x7d27a2(0x38d)]['error'](_0x493723);}}[_0x25c8ac(0x21d)](){const _0x25d6be=_0x25c8ac;return this[_0x25d6be(0x295)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x25d6be(0x2c5)]>0x0;}[_0x25c8ac(0x28f)](){const _0x54af2f=_0x25c8ac;this['_pollingInterval']&&(clearTimeout(this[_0x54af2f(0x4a4)]),this['_pollingInterval']=null);}[_0x25c8ac(0x33d)](){const _0xfe105=_0x25c8ac;this[_0xfe105(0x264)][_0xfe105(0x392)]({'content':this['_localeService']['t'](_0xfe105(0x306)),'type':_0x1039db['MessageType'][_0xfe105(0x248)]});}[_0x25c8ac(0x329)](_0x24cef9){const _0x264299=_0x25c8ac;for(const _0x240572 of _0x24cef9){const {unitId:_0x2ed058,sheetId:_0x69162e,range:_0x43fde9}=_0x240572,_0x589218=this['_univerInstanceService'][_0x264299(0x22a)](_0x2ed058);if(!_0x589218)continue;const _0x542054=_0x589218[_0x264299(0x491)](_0x69162e);if(!_0x542054)continue;const _0x46b4ad=_0x542054[_0x264299(0x433)]();for(let _0xe1ca54=_0x43fde9['startRow'];_0xe1ca54<=_0x43fde9[_0x264299(0x3cd)];_0xe1ca54++)for(let _0x126385=_0x43fde9[_0x264299(0x3aa)];_0x126385<=_0x43fde9['endColumn'];_0x126385++){const _0x3f89a1=_0x46b4ad[_0x264299(0x38b)](_0xe1ca54,_0x126385);if(_0x3f89a1&&(_0x51c091['isFormulaString'](_0x3f89a1['f'])||_0x51c091['isFormulaId'](_0x3f89a1['si'])))return!0x0;}}return!0x1;}};_0x253e7a=_0x2505ae([_0x5bf078(0x0,_0x51c091[_0x25c8ac(0x301)](_0x47d161[_0x25c8ac(0x492)])),_0x5bf078(0x1,_0x51c091[_0x25c8ac(0x483)]),_0x5bf078(0x2,_0x51c091[_0x25c8ac(0x24a)]),_0x5bf078(0x3,_0x51c091['Inject'](_0x38be65[_0x25c8ac(0x436)])),_0x5bf078(0x4,_0x51c091['IUniverInstanceService']),_0x5bf078(0x5,_0x51c091[_0x25c8ac(0x36e)]),_0x5bf078(0x6,_0x51c091['Inject'](_0x51c091[_0x25c8ac(0x27c)]))],_0x253e7a);var _0x54bf3b=Object[_0x25c8ac(0x3a8)],_0x22a5be=(_0x43ba1e,_0x3af3ea,_0x5da429,_0x452d57)=>{const _0x2912fd=_0x25c8ac;for(var _0x5413d0=_0x452d57>0x1?void 0x0:_0x452d57?_0x54bf3b(_0x3af3ea,_0x5da429):_0x3af3ea,_0x13d113=_0x43ba1e[_0x2912fd(0x497)]-0x1,_0x239b9e;_0x13d113>=0x0;_0x13d113--)(_0x239b9e=_0x43ba1e[_0x13d113])&&(_0x5413d0=_0x239b9e(_0x5413d0)||_0x5413d0);return _0x5413d0;},_0x4b2404=(_0x4188a7,_0x4314f1)=>(_0x4a304d,_0x5509bd)=>_0x4314f1(_0x4a304d,_0x5509bd,_0x4188a7);let _0x390357=class extends _0x51c091['Disposable']{constructor(_0x550158,_0x8e8545,_0x308edc){const _0x152430=_0x25c8ac;super(),_0x3a54cf(this,_0x152430(0x312),new Map()),_0x3a54cf(this,_0x152430(0x41d),new Map()),_0x3a54cf(this,_0x152430(0x21b),!0x1),(this[_0x152430(0x302)]=_0x550158,this[_0x152430(0x352)]=_0x8e8545,this[_0x152430(0x47c)]=_0x308edc);}[_0x25c8ac(0x285)](){const _0x506bfa=_0x25c8ac;this[_0x506bfa(0x21b)]=!0x0;}[_0x25c8ac(0x2b0)](){const _0x5820f9=_0x25c8ac;this[_0x5820f9(0x21b)]=!0x1;}get['saveTaskMap'](){const _0x4b221f=_0x25c8ac;return this[_0x4b221f(0x41d)];}[_0x25c8ac(0x325)](){const _0x4fceee=_0x25c8ac;this[_0x4fceee(0x2a6)]()[_0x4fceee(0x361)](()=>super[_0x4fceee(0x325)]());}async['loadOfflineData'](_0x30f0e5){const _0x1d865e=_0x25c8ac;return this[_0x1d865e(0x21b)]?null:this[_0x1d865e(0x352)]['getItem'](_0x493e59[_0x1d865e(0x453)](_0x30f0e5));}async[_0x25c8ac(0x1f3)](_0x3bb16e,_0x452fab){const _0xb3d123=_0x25c8ac;return!!this[_0xb3d123(0x352)]['setItem'](_0x3bb16e,_0x452fab);}[_0x25c8ac(0x1f1)](_0x197c01,_0x288fa9,_0x4c1e23,_0x326000){const _0x18965b=_0x25c8ac,_0x1c1663=this[_0x18965b(0x47c)][_0x18965b(0x2e4)](_0x197c01);this[_0x18965b(0x312)][_0x18965b(0x22d)](_0x197c01,{'unitID':_0x197c01,'type':_0x288fa9,'awaitingChangeset':_0x4c1e23,'mutations':_0x326000,'rev':_0x1c1663}),this['_saveTaskMap'][_0x18965b(0x297)](_0x197c01)||this[_0x18965b(0x47e)](_0x197c01);}[_0x25c8ac(0x47e)](_0x33138b){const _0x3a6bd2=_0x25c8ac,_0x4499df=this['_getSaveTimeout']();_0x4499df===0x0?this[_0x3a6bd2(0x315)](_0x33138b):this[_0x3a6bd2(0x41d)]['set'](_0x33138b,setTimeout(()=>this[_0x3a6bd2(0x315)](_0x33138b),_0x4499df));}['_getSaveTimeout'](){const _0x2996f0=_0x25c8ac;var _0x119c0a;return(_0x119c0a=this[_0x2996f0(0x302)]['getConfig'](_0x493e59[_0x2996f0(0x31b)]))!=null?_0x119c0a:_0x493e59[_0x2996f0(0x2b6)];}[_0x25c8ac(0x315)](_0x14496b){const _0xffd7b0=_0x25c8ac,_0x580ae8=this[_0xffd7b0(0x41d)][_0xffd7b0(0x4c4)](_0x14496b);return _0x580ae8!==void 0x0&&window[_0xffd7b0(0x25d)](_0x580ae8),this['_localStorageService'][_0xffd7b0(0x255)](_0x493e59[_0xffd7b0(0x453)](_0x14496b),this[_0xffd7b0(0x312)][_0xffd7b0(0x4c4)](_0x14496b))[_0xffd7b0(0x361)](()=>this[_0xffd7b0(0x41d)][_0xffd7b0(0x2d0)](_0x14496b));}async['exhaustSavingTask'](){const _0x1f55fe=_0x25c8ac,_0x5c6949=[];this['_saveTaskMap'][_0x1f55fe(0x345)]((_0x49d312,_0x1b1dd5)=>{const _0x235a5d=_0x1f55fe;window[_0x235a5d(0x25d)](_0x49d312),_0x5c6949[_0x235a5d(0x2ac)](this[_0x235a5d(0x315)](_0x1b1dd5)[_0x235a5d(0x361)](()=>{const _0x418f53=_0x235a5d;this[_0x418f53(0x41d)]['delete'](_0x1b1dd5);}));}),await Promise[_0x1f55fe(0x4d0)](_0x5c6949);}};_0x390357=_0x22a5be([_0x4b2404(0x0,_0x51c091[_0x25c8ac(0x24a)]),_0x4b2404(0x1,_0x51c091[_0x25c8ac(0x460)]),_0x4b2404(0x2,_0x51c091[_0x25c8ac(0x301)](_0x5b9cab[_0x25c8ac(0x432)]))],_0x390357);class _0x31456c extends _0x51c091[_0x25c8ac(0x42f)]{constructor(){const _0x361961=_0x25c8ac;super(),_0x3a54cf(this,_0x361961(0x3e4)),this[_0x361961(0x3e4)]=_0x2d756d[_0x361961(0x425)](window,_0x361961(0x1f0))['pipe'](_0x2d756d[_0x361961(0x210)](this[_0x361961(0x37a)]),_0x2d756d[_0x361961(0x3da)](0x1),_0x2d756d[_0x361961(0x227)](void 0x0));}['setParam'](_0xf02304,_0x23b344,_0x1532b4=!0x1){const _0xd92278=_0x25c8ac,_0x27c4e8=new URL(window['location']['href']);_0x27c4e8[_0xd92278(0x3a9)][_0xd92278(0x22d)](_0xf02304,_0x23b344),_0x1532b4?window[_0xd92278(0x3a5)][_0xd92278(0x456)]('','',_0x27c4e8['toString']()):window['history'][_0xd92278(0x225)]('','',_0x27c4e8[_0xd92278(0x2e9)]());}[_0x25c8ac(0x3f6)](_0x555a99,_0x440ec5=!0x1){const _0x160d93=_0x25c8ac,_0x3f715b=new URL(window[_0x160d93(0x36b)]['href']);_0x3f715b[_0x160d93(0x3a9)][_0x160d93(0x2d0)](_0x555a99),_0x440ec5?window[_0x160d93(0x3a5)][_0x160d93(0x456)]('','',_0x3f715b['toString']()):window['history'][_0x160d93(0x225)]('','',_0x3f715b[_0x160d93(0x2e9)]());}[_0x25c8ac(0x2c6)](_0x5fa5ee){const _0x14b440=_0x25c8ac;var _0xffcd48;return(_0xffcd48=new URL(window[_0x14b440(0x36b)][_0x14b440(0x323)])['searchParams'][_0x14b440(0x4c4)](_0x5fa5ee))!=null?_0xffcd48:void 0x0;}}var _0x5b5def=Object[_0x25c8ac(0x43e)],_0x145180=Object[_0x25c8ac(0x3a8)],_0x1e4cb3=(_0x180c94,_0x1bb547,_0x41255f)=>_0x1bb547 in _0x180c94?_0x5b5def(_0x180c94,_0x1bb547,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41255f}):_0x180c94[_0x1bb547]=_0x41255f,_0x1631eb=(_0x54b48f,_0x4a1585,_0x3e95bf,_0x285c4f)=>{const _0x5604c6=_0x25c8ac;for(var _0x5b2597=_0x285c4f>0x1?void 0x0:_0x285c4f?_0x145180(_0x4a1585,_0x3e95bf):_0x4a1585,_0x2f07ad=_0x54b48f[_0x5604c6(0x497)]-0x1,_0x470938;_0x2f07ad>=0x0;_0x2f07ad--)(_0x470938=_0x54b48f[_0x2f07ad])&&(_0x5b2597=_0x470938(_0x5b2597)||_0x5b2597);return _0x5b2597;},_0x2ea720=(_0x3197d0,_0x9de994)=>(_0x25ccbe,_0x1924d7)=>_0x9de994(_0x25ccbe,_0x1924d7,_0x3197d0),_0x260ff7=(_0x366398,_0x37a31d,_0x1f4057)=>_0x1e4cb3(_0x366398,_0x37a31d+'',_0x1f4057);const _0x4f241b='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3e1990['UniverCollaborationClientUIPlugin']=class extends _0x51c091[_0x25c8ac(0x408)]{constructor(_0x5518c6=_0x3bc6e3,_0x594283,_0x3ea43e,_0x2ee299){const _0x95270a=_0x25c8ac;super(),this['_config']=_0x5518c6,this[_0x95270a(0x21c)]=_0x594283,this[_0x95270a(0x3e5)]=_0x3ea43e,this[_0x95270a(0x302)]=_0x2ee299;const {..._0x41316f}=_0x51c091[_0x95270a(0x296)]({},_0x3bc6e3,this['_config']);this[_0x95270a(0x302)][_0x95270a(0x380)](_0x50d024,_0x41316f);}['onStarting'](){const _0xbfdf6f=_0x25c8ac;this[_0xbfdf6f(0x1eb)](),this[_0xbfdf6f(0x240)]();}[_0x25c8ac(0x463)](){this['_registerRenderDependencies']();}[_0x25c8ac(0x1eb)](){const _0x45e25a=_0x25c8ac;var _0x335e7d;const _0x40d3a7=[[_0x3dd070],[_0x253e7a],[_0x4139fa],[_0x36d845],[_0x40750b],[_0x43bd11],[_0x2e14a9,{'useClass':_0x31456c}],[_0x38be65[_0x45e25a(0x4a7)],{'useClass':_0x38be65['WebSocketService']}],[_0x493e59[_0x45e25a(0x4cd)],{'useClass':_0x390357}],[_0x3e1990['DesktopCollaborationStatusDisplayController']],[_0x41b37a],[_0x1e22db],[_0x43fe6e],[_0xee1fb5],[_0x3e1990[_0x45e25a(0x36f)]]];this[_0x45e25a(0x448)][_0x45e25a(0x349)]&&_0x40d3a7['push']([_0x5971ed]),_0x51c091['registerDependencies'](this[_0x45e25a(0x3e5)],_0x51c091['mergeOverrideWithDependencies'](_0x40d3a7,(_0x335e7d=this['_config'])==null?void 0x0:_0x335e7d['override']));}[_0x25c8ac(0x4c0)](){const _0x4787b4=_0x25c8ac;this[_0x4787b4(0x1f5)](this[_0x4787b4(0x21c)][_0x4787b4(0x388)](_0x51c091[_0x4787b4(0x375)]['UNIVER_DOC'],[_0x743d07])),this['disposeWithMe'](this[_0x4787b4(0x21c)][_0x4787b4(0x388)](_0x51c091[_0x4787b4(0x375)][_0x4787b4(0x3d0)],[_0x62dded]));}[_0x25c8ac(0x240)](){const _0x3cc457=_0x25c8ac;_0x51c091[_0x3cc457(0x253)](this[_0x3cc457(0x3e5)],[[_0x43fe6e],[_0x3e1990[_0x3cc457(0x2de)]],[_0x41b37a],[_0x1e22db],[_0x3e1990[_0x3cc457(0x36f)]],[_0x253e7a]]),this[_0x3cc457(0x448)][_0x3cc457(0x349)]&&_0x51c091[_0x3cc457(0x253)](this[_0x3cc457(0x3e5)],[[_0x5971ed]]);}},_0x260ff7(_0x3e1990[_0x25c8ac(0x4cb)],_0x25c8ac(0x260),_0x4f241b),_0x3e1990[_0x25c8ac(0x4cb)]=_0x1631eb([_0x51c091[_0x25c8ac(0x37e)](_0x493e59[_0x25c8ac(0x2aa)]),_0x2ea720(0x1,_0x396fb6[_0x25c8ac(0x3af)]),_0x2ea720(0x2,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x2ea720(0x3,_0x51c091[_0x25c8ac(0x24a)])],_0x3e1990[_0x25c8ac(0x4cb)]);var _0x442e3c=Object[_0x25c8ac(0x3a8)],_0x5b194f=(_0x20f538,_0x518649,_0x519b96,_0x539253)=>{const _0x13ae78=_0x25c8ac;for(var _0x2db818=_0x539253>0x1?void 0x0:_0x539253?_0x442e3c(_0x518649,_0x519b96):_0x518649,_0x362539=_0x20f538[_0x13ae78(0x497)]-0x1,_0x2ba429;_0x362539>=0x0;_0x362539--)(_0x2ba429=_0x20f538[_0x362539])&&(_0x2db818=_0x2ba429(_0x2db818)||_0x2db818);return _0x2db818;},_0x179efe=(_0x5136c6,_0x5d1972)=>(_0x2095b5,_0x2600a9)=>_0x5d1972(_0x2095b5,_0x2600a9,_0x5136c6);_0x3e1990['BrowserCollaborationSocketService']=class extends _0x493e59['CollaborationSocketService']{constructor(_0x3893eb,_0x487848,_0x16aa99,_0x5d5d0a,_0x44ea11){super(_0x3893eb,_0x487848,_0x16aa99,_0x5d5d0a,_0x44ea11);}async[_0x25c8ac(0x236)](_0x2c25d6){const _0x5461a5=_0x25c8ac,_0x4ff7a1=await this[_0x5461a5(0x410)](),_0x98d984=this[_0x5461a5(0x3c7)](_0x2c25d6,_0x4ff7a1);return this[_0x5461a5(0x2a7)](_0x98d984);}[_0x25c8ac(0x3c7)](_0x5c75b5,_0x162f9e){const _0x58deec=_0x25c8ac,_0x190a56=typeof window>'u'?new URL(_0x5c75b5):new URL(_0x5c75b5,window[_0x58deec(0x36b)][_0x58deec(0x362)]);_0x190a56['searchParams'][_0x58deec(0x22d)](_0x58deec(0x435),_0x162f9e);const _0x72c9cc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x58deec(0x1f4)]);return _0x72c9cc[_0x58deec(0x4c4)](_0x58deec(0x3ba))&&_0x190a56[_0x58deec(0x3a9)][_0x58deec(0x22d)](_0x58deec(0x3ba),_0x72c9cc[_0x58deec(0x4c4)](_0x58deec(0x3ba))),_0x190a56[_0x58deec(0x2e9)]();}async[_0x25c8ac(0x410)](){const _0x4e94a9=_0x25c8ac;var _0x4e71cc,_0x4ecf48,_0x210e0b;const _0x23d908=this[_0x4e94a9(0x302)][_0x4e94a9(0x4d1)](_0x493e59['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x409cab=(_0x4e71cc=_0x23d908==null?void 0x0:_0x23d908[_0x4e94a9(0x320)])!=null?_0x4e71cc:_0x493e59[_0x4e94a9(0x461)];return(_0x210e0b=(_0x4ecf48=(await this[_0x4e94a9(0x44d)][_0x4e94a9(0x4c4)](_0x409cab,{'headers':{'Content-Type':_0x4e94a9(0x27a)}}))['body'])==null?void 0x0:_0x4ecf48[_0x4e94a9(0x201)])!=null?_0x210e0b:'';}},_0x3e1990['BrowserCollaborationSocketService']=_0x5b194f([_0x179efe(0x0,_0x51c091[_0x25c8ac(0x301)](_0x51c091[_0x25c8ac(0x26a)])),_0x179efe(0x1,_0x51c091['Inject'](_0x38be65[_0x25c8ac(0x436)])),_0x179efe(0x2,_0x51c091[_0x25c8ac(0x24a)]),_0x179efe(0x3,_0x51c091['ILogService']),_0x179efe(0x4,_0x5b9cab['ISnapshotServerService'])],_0x3e1990[_0x25c8ac(0x428)]);var _0x58912d=Object[_0x25c8ac(0x3a8)],_0x4c903b=(_0x1f5a25,_0x27a3f6,_0x2430f2,_0x259631)=>{const _0x330b37=_0x25c8ac;for(var _0x43e174=_0x259631>0x1?void 0x0:_0x259631?_0x58912d(_0x27a3f6,_0x2430f2):_0x27a3f6,_0x4ad398=_0x1f5a25[_0x330b37(0x497)]-0x1,_0x26c1f0;_0x4ad398>=0x0;_0x4ad398--)(_0x26c1f0=_0x1f5a25[_0x4ad398])&&(_0x43e174=_0x26c1f0(_0x43e174)||_0x43e174);return _0x43e174;},_0x310e46=(_0x4051cb,_0x555cc2)=>(_0x186990,_0x461e90)=>_0x555cc2(_0x186990,_0x461e90,_0x4051cb);_0x3e1990[_0x25c8ac(0x311)]=class extends _0x51c091[_0x25c8ac(0x379)]{constructor(_0x2d16f5,_0x8412bf,_0x18bc04){const _0x537dd9=_0x25c8ac;super(),this[_0x537dd9(0x443)]=_0x2d16f5,this['_httpService']=_0x8412bf,this[_0x537dd9(0x302)]=_0x18bc04;}async[_0x25c8ac(0x36c)](_0x59d040,_0x1c65a7,_0x1519bf,..._0x2b0fc7){const _0x3e9cfa=_0x25c8ac;var _0x408b4e,_0xf1e7b8,_0x52ef12,_0xa33607;const _0x11b539=this[_0x3e9cfa(0x443)]['getFocusedUnit']();if(!_0x11b539)throw new Error(_0x3e9cfa(0x354));const _0x527dbb=((_0x408b4e=this['_configService'][_0x3e9cfa(0x4d1)](_0x493e59['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x408b4e:_0x493e59['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x59d040+'/run/'+_0x1c65a7,_0x175f80=new URL(window[_0x3e9cfa(0x36b)][_0x3e9cfa(0x323)]),_0x2ad0b1={'scriptId':_0x59d040,'runId':(_0xf1e7b8=_0x175f80['searchParams'][_0x3e9cfa(0x4c4)](_0x3e9cfa(0x3ba)))!=null?_0xf1e7b8:'','function':_0x1c65a7,'unitId':_0x11b539[_0x3e9cfa(0x30f)](),'argsOfFunction':JSON[_0x3e9cfa(0x3ae)](_0x2b0fc7),'invokeId':(_0x52ef12=_0x1519bf[_0x3e9cfa(0x216)])!=null?_0x52ef12:'','executionId':(_0xa33607=_0x1519bf['executionId'])!=null?_0xa33607:''};try{const _0x49dae1=await this[_0x3e9cfa(0x44d)][_0x3e9cfa(0x2f1)](_0x527dbb,{'body':_0x2ad0b1});return _0x49dae1[_0x3e9cfa(0x270)]['error']&&_0x49dae1[_0x3e9cfa(0x270)][_0x3e9cfa(0x3df)][_0x3e9cfa(0x468)]!==_0x19b5af['OK']?_0x3e9cfa(0x304):_0x49dae1[_0x3e9cfa(0x270)][_0x3e9cfa(0x2cb)];}catch{return _0x3e9cfa(0x304);}}},_0x3e1990['RemoteUniscriptService']=_0x4c903b([_0x310e46(0x0,_0x51c091['IUniverInstanceService']),_0x310e46(0x1,_0x51c091[_0x25c8ac(0x301)](_0x38be65['HTTPService'])),_0x310e46(0x2,_0x51c091[_0x25c8ac(0x24a)])],_0x3e1990['RemoteUniscriptService']);const _0x593ce8=0x7530,_0x5dda2d=_0x25c8ac(0x2eb);class _0x1cfa3e extends _0x51c091[_0x25c8ac(0x379)]{constructor(){const _0x21853d=_0x25c8ac;super(),_0x3a54cf(this,_0x21853d(0x457),_0x51c091[_0x21853d(0x2a9)]()),_0x3a54cf(this,_0x21853d(0x207),new Set()),_0x3a54cf(this,_0x21853d(0x30e),new Map()),_0x3a54cf(this,'_heartbeatTimer',null),_0x3a54cf(this,_0x21853d(0x3d2),new Map()),_0x3a54cf(this,_0x21853d(0x4c6),new Map()),this[_0x21853d(0x38f)]();}[_0x25c8ac(0x325)](){const _0x6583b9=_0x25c8ac;super[_0x6583b9(0x325)](),this['_clearOtherTimers'][_0x6583b9(0x345)]((_0x4560f2,_0x47a988)=>this[_0x6583b9(0x2f2)](_0x47a988)),this[_0x6583b9(0x1fb)]&&window[_0x6583b9(0x2c0)](this[_0x6583b9(0x1fb)]);}[_0x25c8ac(0x252)](_0xafd7c5){const _0x1a1348=_0x25c8ac;return this[_0x1a1348(0x489)](_0xafd7c5)['pipe'](_0x2d756d[_0x1a1348(0x3dd)]());}[_0x25c8ac(0x33e)](_0x2bf600){const _0xe71c73=_0x25c8ac;this['_selfUnitIDs'][_0xe71c73(0x3ac)]===0x0&&this['_scheduleHeartbeat'](),this[_0xe71c73(0x207)]['add'](_0x2bf600),this[_0xe71c73(0x28b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2bf600],'isForwarded':!0x1});}[_0x25c8ac(0x3f9)](_0x16c83d){const _0x50ac40=_0x25c8ac;this[_0x50ac40(0x207)][_0x50ac40(0x2d0)](_0x16c83d),this[_0x50ac40(0x207)][_0x50ac40(0x3ac)]===0x0&&this[_0x50ac40(0x1fb)]&&window[_0x50ac40(0x2c0)](this['_heartbeatTimer']);}[_0x25c8ac(0x38f)](){const _0x1798ec=_0x25c8ac;this[_0x1798ec(0x1f5)](_0x51c091[_0x1798ec(0x46f)](_0x2d756d[_0x1798ec(0x425)](window,_0x1798ec(0x4bf))[_0x1798ec(0x2b3)](_0x5d122a=>{const _0x348261=_0x1798ec;if(_0x5d122a['key']!==_0x5dda2d||!_0x5d122a['newValue'])return;const _0x57ed6c=JSON[_0x348261(0x2a8)](_0x5d122a[_0x348261(0x313)]);this[_0x348261(0x32d)](_0x57ed6c);}))),window['addEventListener']('unload',()=>this[_0x1798ec(0x28b)]({'type':0x1,'memberID':this[_0x1798ec(0x457)],'unitIDs':Array['from'](this[_0x1798ec(0x207)])}));}[_0x25c8ac(0x32d)](_0x34ccb6){const _0x228d0c=_0x25c8ac;switch(_0x34ccb6['type']){case 0x0:this[_0x228d0c(0x44f)](_0x34ccb6);break;case 0x1:this[_0x228d0c(0x3b7)](_0x34ccb6);break;case 0x2:this[_0x228d0c(0x409)](_0x34ccb6);break;}}[_0x25c8ac(0x44f)](_0x5efb32){const _0x50e26f=_0x25c8ac,{unitIDs:_0x58cef0,memberID:_0x3caf2c,isForwarded:_0x2ffebd}=_0x5efb32;_0x58cef0[_0x50e26f(0x345)](_0x490d54=>{const _0x52fe3f=_0x50e26f;if(!_0x2ffebd&&this[_0x52fe3f(0x30e)][_0x52fe3f(0x297)](_0x490d54)&&this['_ensureSubject'](_0x490d54)[_0x52fe3f(0x258)](_0x493e59['UnitStatus'][_0x52fe3f(0x1ed)]),!this['_unitOnClients']['has'](_0x490d54)||!this[_0x52fe3f(0x30e)][_0x52fe3f(0x4c4)](_0x490d54)[_0x52fe3f(0x297)](_0x3caf2c)){const _0x3b4b95=this[_0x52fe3f(0x30e)][_0x52fe3f(0x4c4)](_0x490d54)||new Set();_0x3b4b95[_0x52fe3f(0x2d2)](_0x3caf2c),this['_unitOnClients'][_0x52fe3f(0x22d)](_0x490d54,_0x3b4b95),this['_scheduleClearOtherTimer'](_0x3caf2c);}}),_0x2ffebd||this[_0x50e26f(0x28b)]({'type':0x0,'memberID':this[_0x50e26f(0x457)],'unitIDs':[...this[_0x50e26f(0x207)]],'isForwarded':!0x0});}[_0x25c8ac(0x4b9)](_0x59e7fe){const _0x1b57d5=_0x25c8ac;this['_removeClearOtherTimer'](_0x59e7fe);const _0x1c6698=window['setTimeout'](()=>{const _0x4568f9=_0xd869;this[_0x4568f9(0x30e)][_0x4568f9(0x345)](_0x11c1e1=>{const _0x406c8a=_0x4568f9;_0x11c1e1[_0x406c8a(0x2d0)](_0x59e7fe);});},_0x593ce8*0x2);this[_0x1b57d5(0x3d2)][_0x1b57d5(0x22d)](_0x59e7fe,_0x1c6698);}[_0x25c8ac(0x2f2)](_0x23e4b8){const _0x434e8f=_0x25c8ac;if(this['_clearOtherTimers'][_0x434e8f(0x297)](_0x23e4b8)){const _0x2755cf=this['_clearOtherTimers'][_0x434e8f(0x4c4)](_0x23e4b8);_0x2755cf&&window['clearTimeout'](_0x2755cf),this[_0x434e8f(0x3d2)][_0x434e8f(0x22d)](_0x23e4b8,null);}}[_0x25c8ac(0x3b7)](_0x555b4e){const _0x30cd62=_0x25c8ac,{memberID:_0x47c348,unitIDs:_0x254497}=_0x555b4e;_0x254497[_0x30cd62(0x345)](_0x4d088c=>{const _0x1bdea4=_0x30cd62;var _0x485a5f;const _0x5d50fb=this[_0x1bdea4(0x30e)][_0x1bdea4(0x4c4)](_0x4d088c);_0x5d50fb&&(_0x5d50fb[_0x1bdea4(0x2d0)](_0x47c348),(_0x485a5f=this['_ensureSubject'](_0x4d088c))==null||_0x485a5f[_0x1bdea4(0x258)](_0x5d50fb[_0x1bdea4(0x3ac)]===0x0?_0x493e59[_0x1bdea4(0x434)][_0x1bdea4(0x4a2)]:_0x493e59['UnitStatus'][_0x1bdea4(0x1ed)]));}),this['_removeClearOtherTimer'](_0x47c348);}[_0x25c8ac(0x409)](_0x2752a7){const _0x113f5e=_0x25c8ac;this[_0x113f5e(0x4b9)](_0x2752a7[_0x113f5e(0x4b8)]);}[_0x25c8ac(0x28b)](_0x55ec6e){const _0x219270=_0x25c8ac;localStorage[_0x219270(0x255)](_0x5dda2d,JSON[_0x219270(0x3ae)](_0x55ec6e));}[_0x25c8ac(0x298)](){const _0x2e91ae=_0x25c8ac;this[_0x2e91ae(0x1fb)]=window['setInterval'](()=>{const _0x54a69f=_0x2e91ae;this[_0x54a69f(0x28b)]({'type':0x2,'memberID':this['_id']});},_0x593ce8);}['_ensureSubject'](_0x2c06a2){const _0x302ce5=_0x25c8ac;return this[_0x302ce5(0x4c6)]['has'](_0x2c06a2)||this['_unitStatus']['set'](_0x2c06a2,new _0x2d756d['BehaviorSubject'](_0x493e59[_0x302ce5(0x434)][_0x302ce5(0x4a2)])),this[_0x302ce5(0x4c6)][_0x302ce5(0x4c4)](_0x2c06a2);}}_0x3e1990['IURLService']=_0x2e14a9,_0x3e1990[_0x25c8ac(0x249)]=_0x1855f6,_0x3e1990['WebBrowserSingleActiveUnitService']=_0x1cfa3e,_0x3e1990[_0x25c8ac(0x3c5)]=_0x31456c,Object[_0x25c8ac(0x43e)](_0x3e1990,Symbol[_0x25c8ac(0x3fd)],{'value':'Module'});}));
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x512e(_0x14489a,_0x43ac7c){var _0x14431f=_0x1443();return _0x512e=function(_0x512e10,_0x4e6363){_0x512e10=_0x512e10-0x116;var _0x37a383=_0x14431f[_0x512e10];return _0x37a383;},_0x512e(_0x14489a,_0x43ac7c);}(function(_0x392d42,_0x5e5076){var _0x1bd7ee=_0x512e,_0xa8f59d=_0x392d42();while(!![]){try{var _0x3c4fc3=-parseInt(_0x1bd7ee(0x128))/0x1*(-parseInt(_0x1bd7ee(0x121))/0x2)+parseInt(_0x1bd7ee(0x125))/0x3+parseInt(_0x1bd7ee(0x11e))/0x4*(parseInt(_0x1bd7ee(0x126))/0x5)+-parseInt(_0x1bd7ee(0x120))/0x6*(-parseInt(_0x1bd7ee(0x11b))/0x7)+parseInt(_0x1bd7ee(0x116))/0x8*(parseInt(_0x1bd7ee(0x11f))/0x9)+-parseInt(_0x1bd7ee(0x124))/0xa+-parseInt(_0x1bd7ee(0x11d))/0xb;if(_0x3c4fc3===_0x5e5076)break;else _0xa8f59d['push'](_0xa8f59d['shift']());}catch(_0x1f8d5f){_0xa8f59d['push'](_0xa8f59d['shift']());}}}(_0x1443,0x2d7c5),function(_0x31b25a,_0x201f1d){var _0x3dd62b=_0x512e;typeof exports=='object'&&typeof module<'u'?_0x201f1d(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define=='function'&&define[_0x3dd62b(0x129)]?define([_0x3dd62b(0x127),_0x3dd62b(0x123)],_0x201f1d):(_0x31b25a=typeof globalThis<'u'?globalThis:_0x31b25a||self,_0x201f1d(_0x31b25a[_0x3dd62b(0x11c)],_0x31b25a['UniverCoreFacade']));}(this,function(_0x37f358,_0x295e8d){'use strict';var _0x2c271d=_0x512e;class _0x5ec3a3 extends _0x295e8d[_0x2c271d(0x118)]{[_0x2c271d(0x117)](_0x34f4c2,_0x5862f1,..._0x446977){var _0x5913a5=_0x2c271d;return this['_injector'][_0x5913a5(0x122)](_0x37f358[_0x5913a5(0x119)])['runOnServer'](_0x34f4c2,_0x5862f1,{},..._0x446977);}}_0x295e8d['FUniver'][_0x2c271d(0x11a)](_0x5ec3a3);}));function _0x1443(){var _0x189621=['UniverProCollaborationClientUi','7443612zyNNwy','48584OsPowg','4383DNyBFI','6XlAsNS','45788Tnjgkk','get','@univerjs/core/facade','766630rzYEfU','309519KGglhh','15TZfWgH','@univerjs-pro/collaboration-client-ui','4bRUvcv','amd','5552mtKqsP','runOnServer','FUniver','RemoteUniscriptService','extend','2593493TAacQb'];_0x1443=function(){return _0x189621;};return _0x1443();}
11
+ function _0x4bf3(){var _0x4bd311=['16rCMhMg','UniverProCollaborationClientUi','runOnServer','10iLJFsW','33950961gdcvJx','78EhsYOu','4533876IkvBFk','56413jpEppw','204420pTxHYg','RemoteUniscriptService','_injector','object','@univerjs/core/facade','FUniver','@univerjs-pro/collaboration-client-ui','5852567bXdkNH','function','486ghKWqw','337310RZiGgs','extend','amd','UniverCoreFacade','2828352mzebkt'];_0x4bf3=function(){return _0x4bd311;};return _0x4bf3();}function _0x2deb(_0x27b306,_0x29dd65){var _0x4bf34c=_0x4bf3();return _0x2deb=function(_0x2deb92,_0x14f613){_0x2deb92=_0x2deb92-0x13a;var _0x35575c=_0x4bf34c[_0x2deb92];return _0x35575c;},_0x2deb(_0x27b306,_0x29dd65);}(function(_0x5f411b,_0x3041c8){var _0x391234=_0x2deb,_0x469d25=_0x5f411b();while(!![]){try{var _0x1b0638=-parseInt(_0x391234(0x142))/0x1*(-parseInt(_0x391234(0x13e))/0x2)+parseInt(_0x391234(0x141))/0x3+parseInt(_0x391234(0x13a))/0x4+parseInt(_0x391234(0x14d))/0x5*(parseInt(_0x391234(0x140))/0x6)+parseInt(_0x391234(0x14a))/0x7*(parseInt(_0x391234(0x13b))/0x8)+parseInt(_0x391234(0x14c))/0x9*(-parseInt(_0x391234(0x143))/0xa)+-parseInt(_0x391234(0x13f))/0xb;if(_0x1b0638===_0x3041c8)break;else _0x469d25['push'](_0x469d25['shift']());}catch(_0x2a0d5b){_0x469d25['push'](_0x469d25['shift']());}}}(_0x4bf3,0xd1c9e),function(_0x78db43,_0x1db26b){var _0x1ac191=_0x2deb;typeof exports==_0x1ac191(0x146)&&typeof module<'u'?_0x1db26b(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x1ac191(0x14b)&&define[_0x1ac191(0x14f)]?define([_0x1ac191(0x149),_0x1ac191(0x147)],_0x1db26b):(_0x78db43=typeof globalThis<'u'?globalThis:_0x78db43||self,_0x1db26b(_0x78db43[_0x1ac191(0x13c)],_0x78db43[_0x1ac191(0x150)]));}(this,function(_0x4661d1,_0x512875){'use strict';var _0x23618d=_0x2deb;class _0x594a13 extends _0x512875['FUniver']{[_0x23618d(0x13d)](_0x54e089,_0x5542e3,..._0x3687ea){var _0x48de7c=_0x23618d;return this[_0x48de7c(0x145)]['get'](_0x4661d1[_0x48de7c(0x144)])[_0x48de7c(0x13d)](_0x54e089,_0x5542e3,{},..._0x3687ea);}}_0x512875[_0x23618d(0x148)][_0x23618d(0x14e)](_0x594a13);}));
12
12
 
13
13
  // @univerjs-pro/thread-comment-datasource/index
14
- function _0x43b6(){const _0xef9192=['solved','COMMENT','users','resolved','length','replyId','UniverLicensePlugin','Add','exports','root','userId','post','Plugin','format','stringify','/edit','parse','replies','updateComment','_userService','getUnit','UniverProCollaborationClient','UniverThreadComment','filter','1141bviBpN','getOwnPropertyDescriptor','saveCommentToSnapshot','user','disposeWithMe','/solved','rangeId','getMemberID','resolveComment','10zfECVt','payload','Injector','Unknown','@univerjs/thread-comment-ui','values','ThreadCommentModel','Delete','map','4883112UJMIkP','userID','onStarting','bufferTime','thread-comment-data-source.config','409904fnSnzq','ref','Inject','UniverThreadCommentUi','1420359XwfLXu','UniverThreadCommentUIPlugin','UNIVER_UNKNOWN','UniverInstanceType','/add','DependentOn','10579BjONCy','YYYY/MM/DD\x20HH:mm','rangeType','add','_configService','rxjs','slice','_commentService','@univerjs/core','UniverProLicense','CollaborationSessionService','UNRECOGNIZED','unitId','1449789WDzaiH','Solved','dayjs','comments','forEach','_threadCommentDataSource','merge','Edit','HTTPService','code','amd','CustomRangeType','type','object','subscribe','_injector','UniverCollaborationClientPlugin','Solve','CommentService','body','UniverNetwork','@univerjs-pro/license','Reply','@univerjs/network','addUser','@univerjs/thread-comment','UniverCore','deleteComment','_sessionService','dataSource','get','symbol','toStringTag','Disposable','_init','onReady','_threadCommentModel','addComment','getCurrentUser','_threadCommentDataSourceService','OpenOrReOpen','getUser','threadId','_initUserSync','30tkyFrd','UniverThreadCommentDataSourcePlugin','error','requireSession','_config','createTimestamp','defineProperty','36192erMutX','/delete','comment','/universer-api/user/list','_httpService','_initDataSource','6570117GCYWST','function','86hjDQyc','content','/universer-api/comment/unit/','UserManagerService','Module'];_0x43b6=function(){return _0xef9192;};return _0x43b6();}function _0x2263(_0x26951e,_0x51504c){const _0x43b6ef=_0x43b6();return _0x2263=function(_0x226364,_0x39c559){_0x226364=_0x226364-0x1a3;let _0x4e8dc4=_0x43b6ef[_0x226364];return _0x4e8dc4;},_0x2263(_0x26951e,_0x51504c);}(function(_0xd14ae0,_0xf243e5){const _0x20ddf4=_0x2263,_0x5068ca=_0xd14ae0();while(!![]){try{const _0x3ed83e=parseInt(_0x20ddf4(0x1c1))/0x1*(parseInt(_0x20ddf4(0x209))/0x2)+-parseInt(_0x20ddf4(0x1bb))/0x3+-parseInt(_0x20ddf4(0x1b7))/0x4*(parseInt(_0x20ddf4(0x1a9))/0x5)+-parseInt(_0x20ddf4(0x201))/0x6*(parseInt(_0x20ddf4(0x226))/0x7)+parseInt(_0x20ddf4(0x1b2))/0x8+parseInt(_0x20ddf4(0x207))/0x9+parseInt(_0x20ddf4(0x1fa))/0xa*(parseInt(_0x20ddf4(0x1ce))/0xb);if(_0x3ed83e===_0xf243e5)break;else _0x5068ca['push'](_0x5068ca['shift']());}catch(_0x191611){_0x5068ca['push'](_0x5068ca['shift']());}}}(_0x43b6,0x812b3),function(_0x5860bf,_0x298227){const _0xa7eb1e=_0x2263;typeof exports==_0xa7eb1e(0x1db)&&typeof module<'u'?_0x298227(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0xa7eb1e(0x208)&&define[_0xa7eb1e(0x1d8)]?define([_0xa7eb1e(0x216),'@univerjs-pro/collaboration-client',_0xa7eb1e(0x1e3),_0xa7eb1e(0x1c9),_0xa7eb1e(0x1ad),_0xa7eb1e(0x1e7),_0xa7eb1e(0x1c6),_0xa7eb1e(0x1e5)],_0x298227):(_0x5860bf=typeof globalThis<'u'?globalThis:_0x5860bf||self,_0x298227(_0x5860bf['UniverProThreadCommentDatasource']={},_0x5860bf[_0xa7eb1e(0x223)],_0x5860bf[_0xa7eb1e(0x1ca)],_0x5860bf[_0xa7eb1e(0x1e8)],_0x5860bf[_0xa7eb1e(0x1ba)],_0x5860bf[_0xa7eb1e(0x224)],_0x5860bf[_0xa7eb1e(0x1c6)],_0x5860bf[_0xa7eb1e(0x1e2)]));}(this,function(_0x1364c8,_0x39b02d,_0x2c286d,_0x4fe2f8,_0x4dd2a8,_0x335fb0,_0x29d836,_0x2d13c2){'use strict';const _0x621c8a=_0x2263;const _0x4696c5='UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN';var _0x589ea0=(_0xdf4b59=>(_0xdf4b59[_0xdf4b59[_0x621c8a(0x1f6)]=0x0]='OpenOrReOpen',_0xdf4b59[_0xdf4b59[_0x621c8a(0x1cf)]=0x1]=_0x621c8a(0x1cf),_0xdf4b59[_0xdf4b59['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xdf4b59))(_0x589ea0||{}),_0x18e293=(_0xbd6438=>(_0xbd6438[_0xbd6438['Unknown']=0x0]=_0x621c8a(0x1ac),_0xbd6438[_0xbd6438['Add']=0x1]=_0x621c8a(0x215),_0xbd6438[_0xbd6438[_0x621c8a(0x1e4)]=0x2]=_0x621c8a(0x1e4),_0xbd6438[_0xbd6438[_0x621c8a(0x1d5)]=0x3]=_0x621c8a(0x1d5),_0xbd6438[_0xbd6438[_0x621c8a(0x1b0)]=0x4]=_0x621c8a(0x1b0),_0xbd6438[_0xbd6438[_0x621c8a(0x1df)]=0x5]=_0x621c8a(0x1df),_0xbd6438[_0xbd6438['UNRECOGNIZED']=-0x1]=_0x621c8a(0x1cc),_0xbd6438))(_0x18e293||{});const _0x34ad45=_0x5444c3=>_0x4fe2f8[_0x621c8a(0x1d0)](new Date(+_0x5444c3))[_0x621c8a(0x21b)](_0x621c8a(0x1c2)),_0x32d783=async(_0x352d11,_0x3cffdd)=>{const _0x4697b0=_0x621c8a,_0x2bd54d=_0x352d11[_0x4697b0(0x1ec)](_0x4fe2f8[_0x4697b0(0x20c)]),_0x543cd3=_0x352d11[_0x4697b0(0x1ec)](_0x2d13c2[_0x4697b0(0x1d6)]);_0x3cffdd[_0x4697b0(0x1d2)](_0x5f21bd=>{const _0x2e3569=_0x4697b0;_0x2bd54d[_0x2e3569(0x1f7)](_0x5f21bd)&&_0x3cffdd['delete'](_0x5f21bd);}),_0x3cffdd['size']&&(await _0x543cd3[_0x4697b0(0x1ec)](_0x4697b0(0x204),{'params':{'userIDs':[..._0x3cffdd]}}))[_0x4697b0(0x1e1)][_0x4697b0(0x210)]['forEach'](_0x40778b=>{const _0x581ad5=_0x4697b0;_0x40778b&&_0x2bd54d[_0x581ad5(0x1e6)](_0x40778b);});};var _0x48a680=Object[_0x621c8a(0x227)],_0x2b4e8f=(_0x1e14bd,_0x410822,_0x1a27e2,_0x195c04)=>{const _0x29c8cb=_0x621c8a;for(var _0x3b7566=_0x195c04>0x1?void 0x0:_0x195c04?_0x48a680(_0x410822,_0x1a27e2):_0x410822,_0x5eb332=_0x1e14bd[_0x29c8cb(0x212)]-0x1,_0x8d7e0f;_0x5eb332>=0x0;_0x5eb332--)(_0x8d7e0f=_0x1e14bd[_0x5eb332])&&(_0x3b7566=_0x8d7e0f(_0x3b7566)||_0x3b7566);return _0x3b7566;},_0x579027=(_0x46c716,_0x483230)=>(_0x590855,_0x533cfa)=>_0x483230(_0x590855,_0x533cfa,_0x46c716);let _0x479b42=class extends _0x4fe2f8[_0x621c8a(0x1ef)]{constructor(_0x5a0169,_0x245875,_0x241c80,_0x562fa5){const _0x46e933=_0x621c8a;super(),this[_0x46e933(0x1c8)]=_0x5a0169,this[_0x46e933(0x1f2)]=_0x245875,this[_0x46e933(0x221)]=_0x241c80,this['_injector']=_0x562fa5,this[_0x46e933(0x1f0)](),this['_initUserSync']();}[_0x621c8a(0x1f9)](){const _0x10aa3b=_0x621c8a;this['disposeWithMe'](this[_0x10aa3b(0x1f2)]['commentUpdate$']['pipe'](_0x29d836[_0x10aa3b(0x1b5)](0x10))[_0x10aa3b(0x1dc)](_0x82182a=>{const _0x8f9877=_0x10aa3b,_0x2ae634=new Set();_0x82182a[_0x8f9877(0x1d2)](_0x293d12=>{const _0x2d7df9=_0x8f9877;switch(_0x293d12[_0x2d7df9(0x1da)]){case'add':{const _0x2775eb=_0x293d12[_0x2d7df9(0x1aa)]['personId'];_0x2ae634[_0x2d7df9(0x1c4)](_0x2775eb);break;}}}),_0x32d783(this['_injector'],_0x2ae634);}));}[_0x621c8a(0x1f0)](){const _0x3fbc45=_0x621c8a;this[_0x3fbc45(0x1a4)](this[_0x3fbc45(0x1c8)]['commentUpdate$'][_0x3fbc45(0x1dc)](async _0x48d7a8=>{const _0x5311f1=_0x3fbc45;var _0xcf88c0,_0x5c0372,_0xae7ec2,_0x11c52a;const _0x555409=(_0xcf88c0=this['_threadCommentModel'][_0x5311f1(0x222)](_0x48d7a8[_0x5311f1(0x1cd)])['find'](_0x1ae19b=>_0x1ae19b[_0x5311f1(0x1f8)]===_0x48d7a8[_0x5311f1(0x1f8)]))==null?void 0x0:_0xcf88c0[_0x5311f1(0x217)];if(!_0x555409)return;const {unitId:_0x2d61a9,subUnitId:_0x70e6f6}=_0x555409;switch(_0x48d7a8[_0x5311f1(0x1a3)]&&this[_0x5311f1(0x221)]['addUser'](_0x48d7a8[_0x5311f1(0x1a3)]),_0x48d7a8[_0x5311f1(0x1da)]){case _0x18e293[_0x5311f1(0x215)]:break;case _0x18e293['Reply']:{this['_threadCommentModel'][_0x5311f1(0x1f3)](_0x2d61a9,_0x70e6f6,{'unitId':_0x2d61a9,'subUnitId':_0x70e6f6,'ref':'','id':_0x48d7a8['replyId'],'dT':_0x34ad45(+_0x48d7a8[_0x5311f1(0x1ff)]),'threadId':_0x48d7a8[_0x5311f1(0x1f8)],'personId':(_0xae7ec2=(_0x5c0372=_0x48d7a8[_0x5311f1(0x1a3)])==null?void 0x0:_0x5c0372[_0x5311f1(0x1b3)])!=null?_0xae7ec2:_0x48d7a8[_0x5311f1(0x218)],'text':JSON[_0x5311f1(0x21e)](_0x48d7a8[_0x5311f1(0x20a)]),'parentId':_0x555409['id']});break;}case _0x18e293[_0x5311f1(0x1b0)]:{const _0x392d86=this[_0x5311f1(0x1f2)]['getComment'](_0x2d61a9,_0x70e6f6,_0x48d7a8[_0x5311f1(0x213)]);_0x392d86&&_0x392d86['parentId']&&this['_threadCommentModel'][_0x5311f1(0x1e9)](_0x2d61a9,_0x70e6f6,_0x48d7a8[_0x5311f1(0x213)]);break;}case _0x18e293[_0x5311f1(0x1d5)]:{this[_0x5311f1(0x1f2)][_0x5311f1(0x220)](_0x2d61a9,_0x70e6f6,{'commentId':_0x48d7a8['replyId'],'text':JSON['parse'](_0x48d7a8['content'])});break;}case _0x18e293[_0x5311f1(0x1df)]:{const _0x277692=(_0x11c52a=this['_threadCommentModel'][_0x5311f1(0x222)](_0x48d7a8[_0x5311f1(0x1cd)])['find'](_0x8967a7=>_0x8967a7[_0x5311f1(0x1f8)]===_0x48d7a8[_0x5311f1(0x1f8)]))==null?void 0x0:_0x11c52a[_0x5311f1(0x217)];_0x277692&&this['_threadCommentModel']['resolveComment'](_0x2d61a9,_0x70e6f6,_0x277692['id'],_0x48d7a8[_0x5311f1(0x20e)]===_0x589ea0[_0x5311f1(0x1cf)]);break;}}}));}};_0x479b42=_0x2b4e8f([_0x579027(0x0,_0x4fe2f8[_0x621c8a(0x1b9)](_0x39b02d[_0x621c8a(0x1e0)])),_0x579027(0x1,_0x4fe2f8[_0x621c8a(0x1b9)](_0x335fb0[_0x621c8a(0x1af)])),_0x579027(0x2,_0x4fe2f8[_0x621c8a(0x1b9)](_0x4fe2f8[_0x621c8a(0x20c)])),_0x579027(0x3,_0x4fe2f8[_0x621c8a(0x1b9)](_0x4fe2f8[_0x621c8a(0x1ab)]))],_0x479b42);const _0x492efb=_0x621c8a(0x1b6),_0x27617e={};var _0x290262=Object[_0x621c8a(0x227)],_0xe659bf=(_0x3000e6,_0x57c87c,_0x25aaef,_0x25c6a1)=>{const _0x58c15f=_0x621c8a;for(var _0x370b6e=_0x25c6a1>0x1?void 0x0:_0x25c6a1?_0x290262(_0x57c87c,_0x25aaef):_0x57c87c,_0xa18c26=_0x3000e6[_0x58c15f(0x212)]-0x1,_0x399e0b;_0xa18c26>=0x0;_0xa18c26--)(_0x399e0b=_0x3000e6[_0xa18c26])&&(_0x370b6e=_0x399e0b(_0x370b6e)||_0x370b6e);return _0x370b6e;},_0x3f08a2=(_0x556b74,_0x1c4725)=>(_0x2869fe,_0x252775)=>_0x1c4725(_0x2869fe,_0x252775,_0x556b74);function _0x13c38e(_0x5031a2,_0x170e2f){const _0x59d96f=_0x621c8a,_0xea9d2e=_0x5031a2[_0x59d96f(0x21f)][0x0];return{..._0x170e2f,'id':_0xea9d2e[_0x59d96f(0x213)],'resolved':_0x5031a2[_0x59d96f(0x20e)]===0x1,'dT':_0x34ad45(_0xea9d2e['createTimestamp']),'personId':_0xea9d2e[_0x59d96f(0x218)],'threadId':_0xea9d2e[_0x59d96f(0x1f8)]};}function _0x286105(_0x51c281,_0x40367e,_0x386aa4){const _0x4244bf=_0x621c8a;var _0x389807,_0x41fe8c;if(((_0x41fe8c=(_0x389807=_0x51c281==null?void 0x0:_0x51c281[_0x4244bf(0x21f)])==null?void 0x0:_0x389807[_0x4244bf(0x212)])!=null?_0x41fe8c:0x0)>0x0){const _0x11783f=(_0x5d8e4b,_0x1bb702)=>({'id':_0x5d8e4b[_0x4244bf(0x213)],'threadId':_0x5d8e4b[_0x4244bf(0x1f8)],'dT':_0x34ad45(_0x5d8e4b[_0x4244bf(0x1ff)]),'personId':_0x5d8e4b['userId'],'resolved':_0x51c281[_0x4244bf(0x20e)]===_0x589ea0[_0x4244bf(0x1cf)],'unitId':_0x40367e,'subUnitId':_0x386aa4,'text':JSON['parse'](_0x5d8e4b['content']),'parentId':_0x1bb702}),_0x7ceb7e=_0x11783f(_0x51c281[_0x4244bf(0x21f)][0x0]);return{..._0x7ceb7e,'children':_0x51c281[_0x4244bf(0x21f)][_0x4244bf(0x1c7)](0x1)[_0x4244bf(0x1b1)](_0x32c0cf=>_0x11783f(_0x32c0cf,_0x7ceb7e['id']))};}return null;}let _0x14208e=class{constructor(_0x3797a7,_0x2498f7,_0x367310){const _0x1abdfb=_0x621c8a;this[_0x1abdfb(0x205)]=_0x3797a7,this[_0x1abdfb(0x221)]=_0x2498f7,this[_0x1abdfb(0x1ea)]=_0x367310;}async[_0x621c8a(0x1f3)](_0x216feb){const _0x1aabdd=_0x621c8a;var _0x112b29,_0x2d497b;const {parentId:_0x57904f,unitId:_0x2b53c9,text:_0x4a91ef,threadId:_0x24a3ab}=_0x216feb,_0x227674=(_0x2d497b=(_0x112b29=_0x4a91ef['customRanges'])==null?void 0x0:_0x112b29[_0x1aabdd(0x225)](_0x52d885=>_0x52d885[_0x1aabdd(0x1c3)]===_0x4fe2f8[_0x1aabdd(0x1d9)][_0x1aabdd(0x20f)])['map'](_0x370e17=>_0x370e17[_0x1aabdd(0x1a6)]))!=null?_0x2d497b:[],_0x15bc49=JSON[_0x1aabdd(0x21c)](_0x4a91ef),_0x4bcd87=(await this[_0x1aabdd(0x1ea)][_0x1aabdd(0x1fd)](_0x2b53c9))[_0x1aabdd(0x1a7)]();if(_0x57904f){const _0x4a02bb={'memberId':_0x4bcd87,'unitId':_0x2b53c9,'content':_0x15bc49,'mention':_0x227674,'threadId':_0x24a3ab},_0x2da8d9=(await this[_0x1aabdd(0x205)][_0x1aabdd(0x219)](_0x1aabdd(0x20b)+_0x2b53c9+'/reply',{'body':_0x4a02bb}))[_0x1aabdd(0x1e1)]['reply'];return{..._0x216feb,'id':_0x2da8d9[_0x1aabdd(0x213)],'dT':_0x4fe2f8['dayjs'](+_0x2da8d9[_0x1aabdd(0x1ff)])['format'](_0x1aabdd(0x1c2)),'personId':_0x2da8d9[_0x1aabdd(0x218)]};}else{const _0x2cc378={'memberId':_0x4bcd87,'unitId':_0x2b53c9,'content':_0x15bc49,'mention':_0x227674},_0x5da2f2=await this[_0x1aabdd(0x205)][_0x1aabdd(0x219)](_0x1aabdd(0x20b)+_0x2b53c9+_0x1aabdd(0x1bf),{'body':_0x2cc378});return _0x13c38e(_0x5da2f2[_0x1aabdd(0x1e1)][_0x1aabdd(0x203)],_0x216feb);}}async[_0x621c8a(0x220)](_0xc994e9){const _0x491d2e=_0x621c8a;var _0xb15531,_0x36ac69;const {text:_0x418561,unitId:_0x26af0d}=_0xc994e9,_0x11a4b1=(_0x36ac69=(_0xb15531=_0x418561['customRanges'])==null?void 0x0:_0xb15531['filter'](_0x52e0cc=>_0x52e0cc[_0x491d2e(0x1c3)]===_0x4fe2f8[_0x491d2e(0x1d9)][_0x491d2e(0x20f)])[_0x491d2e(0x1b1)](_0x1940cc=>_0x1940cc['rangeId']))!=null?_0x36ac69:[],_0xfd37db=JSON[_0x491d2e(0x21c)](_0x418561),_0x4cc4bf=_0xc994e9[_0x491d2e(0x1f8)],_0x5f0442=_0xc994e9['id'],_0x5e5958={'memberId':(await this[_0x491d2e(0x1ea)][_0x491d2e(0x1fd)](_0x26af0d))[_0x491d2e(0x1a7)](),'unitId':_0x26af0d,'threadId':_0x4cc4bf,'mention':_0x11a4b1,'content':_0xfd37db,'replyId':_0x5f0442},_0x5058ed=await this['_httpService'][_0x491d2e(0x219)](_0x491d2e(0x20b)+_0x26af0d+_0x491d2e(0x21d),{'body':_0x5e5958});return!_0x5058ed[_0x491d2e(0x1e1)][_0x491d2e(0x1fc)]||_0x5058ed[_0x491d2e(0x1e1)][_0x491d2e(0x1fc)][_0x491d2e(0x1d7)]===0x1;}async[_0x621c8a(0x1a8)](_0x521bd1){const _0x29cd5d=_0x621c8a,{unitId:_0x35773f}=_0x521bd1,_0x531f53=_0x521bd1[_0x29cd5d(0x1f8)],_0x44a999={'memberId':this[_0x29cd5d(0x221)][_0x29cd5d(0x1f4)]()['userID'],'unitId':_0x35773f,'threadId':_0x531f53,'solved':_0x521bd1[_0x29cd5d(0x211)]?_0x589ea0[_0x29cd5d(0x1cf)]:_0x589ea0[_0x29cd5d(0x1f6)]},_0x2048bb=await this[_0x29cd5d(0x205)][_0x29cd5d(0x219)](_0x29cd5d(0x20b)+_0x35773f+_0x29cd5d(0x1a5),{'body':_0x44a999});return!_0x2048bb[_0x29cd5d(0x1e1)][_0x29cd5d(0x1fc)]||_0x2048bb['body'][_0x29cd5d(0x1fc)]['code']===0x1;}async[_0x621c8a(0x1e9)](_0x581cb1,_0x2c0d3d,_0x2ee973,_0x3a5334){const _0x43b918=_0x621c8a,_0x1ef600={'memberId':(await this[_0x43b918(0x1ea)][_0x43b918(0x1fd)](_0x581cb1))[_0x43b918(0x1a7)](),'threadId':_0x2ee973,'replyId':_0x3a5334,'unitId':_0x581cb1},_0x323014=await this[_0x43b918(0x205)][_0x43b918(0x219)](_0x43b918(0x20b)+_0x581cb1+_0x43b918(0x202),{'body':_0x1ef600});return!_0x323014[_0x43b918(0x1e1)]['error']||_0x323014[_0x43b918(0x1e1)][_0x43b918(0x1fc)][_0x43b918(0x1d7)]===0x1;}async['listComments'](_0x23d2ac,_0x568b3d,_0x63bf56){const _0x40bc64=_0x621c8a,_0xe15183={'unitId':_0x23d2ac,'threadId':_0x63bf56},_0x35e970=await this[_0x40bc64(0x205)][_0x40bc64(0x219)]('/universer-api/comment/unit/'+_0x23d2ac+'/list',{'body':_0xe15183}),_0x1b4263=_0x63bf56[_0x40bc64(0x1b1)](_0x50611d=>_0x286105(_0x35e970['body'][_0x40bc64(0x1d1)][_0x50611d],_0x23d2ac,_0x568b3d))[_0x40bc64(0x225)](Boolean);return Object[_0x40bc64(0x1ae)](_0x35e970[_0x40bc64(0x1e1)][_0x40bc64(0x210)])[_0x40bc64(0x1d2)](_0x36411f=>{const _0x33947d=_0x40bc64;this['_userService'][_0x33947d(0x1e6)](_0x36411f);}),_0x1b4263;}[_0x621c8a(0x228)](_0x2826a4){const _0x1ffd4e=_0x621c8a;return{'id':_0x2826a4['id'],'threadId':_0x2826a4['threadId'],'ref':_0x2826a4[_0x1ffd4e(0x1b8)]};}};_0x14208e=_0xe659bf([_0x3f08a2(0x0,_0x4fe2f8[_0x621c8a(0x1b9)](_0x2d13c2[_0x621c8a(0x1d6)])),_0x3f08a2(0x1,_0x4fe2f8[_0x621c8a(0x1b9)](_0x4fe2f8[_0x621c8a(0x20c)])),_0x3f08a2(0x2,_0x4fe2f8[_0x621c8a(0x1b9)](_0x39b02d[_0x621c8a(0x1cb)]))],_0x14208e);var _0x49bc21=Object[_0x621c8a(0x227)],_0x5b47dc=(_0x4db194,_0x57ca5c,_0x457608,_0x3a60b6)=>{const _0x5e58a4=_0x621c8a;for(var _0x1b0cae=_0x3a60b6>0x1?void 0x0:_0x3a60b6?_0x49bc21(_0x57ca5c,_0x457608):_0x57ca5c,_0x3807bc=_0x4db194[_0x5e58a4(0x212)]-0x1,_0x524fe6;_0x3807bc>=0x0;_0x3807bc--)(_0x524fe6=_0x4db194[_0x3807bc])&&(_0x1b0cae=_0x524fe6(_0x1b0cae)||_0x1b0cae);return _0x1b0cae;},_0x2e4e1a=(_0x56aefc,_0x411035)=>(_0x5564c1,_0x130719)=>_0x411035(_0x5564c1,_0x130719,_0x56aefc);let _0x4bf261=class extends _0x4fe2f8[_0x621c8a(0x1ef)]{constructor(_0x2fe674,_0x54cd8f){const _0x1c9525=_0x621c8a;super(),this[_0x1c9525(0x1f5)]=_0x2fe674,this[_0x1c9525(0x1d3)]=_0x54cd8f,this[_0x1c9525(0x206)]();}['_initDataSource'](){const _0x2dbd77=_0x621c8a;this['_threadCommentDataSourceService'][_0x2dbd77(0x1eb)]=this[_0x2dbd77(0x1d3)],this[_0x2dbd77(0x1f5)]['syncUpdateMutationToColla']=!0x1;}};_0x4bf261=_0x5b47dc([_0x2e4e1a(0x0,_0x335fb0['IThreadCommentDataSourceService']),_0x2e4e1a(0x1,_0x4fe2f8[_0x621c8a(0x1b9)](_0x14208e))],_0x4bf261);var _0x24e48e=Object[_0x621c8a(0x200)],_0x2b6ea3=Object[_0x621c8a(0x227)],_0x5a4e09=(_0x1b89e4,_0x601104,_0x5921c3)=>_0x601104 in _0x1b89e4?_0x24e48e(_0x1b89e4,_0x601104,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5921c3}):_0x1b89e4[_0x601104]=_0x5921c3,_0x4b39da=(_0x5d4a9f,_0x1ba3b8,_0x1708e3,_0x1df463)=>{const _0x562803=_0x621c8a;for(var _0x38b97e=_0x1df463>0x1?void 0x0:_0x1df463?_0x2b6ea3(_0x1ba3b8,_0x1708e3):_0x1ba3b8,_0x339de0=_0x5d4a9f[_0x562803(0x212)]-0x1,_0x3f85fa;_0x339de0>=0x0;_0x339de0--)(_0x3f85fa=_0x5d4a9f[_0x339de0])&&(_0x38b97e=_0x3f85fa(_0x38b97e)||_0x38b97e);return _0x38b97e;},_0x1706f7=(_0x5bc052,_0x395508)=>(_0x3dbfdd,_0x162e21)=>_0x395508(_0x3dbfdd,_0x162e21,_0x5bc052),_0x16bba0=(_0x11750b,_0x240602,_0x3997ea)=>_0x5a4e09(_0x11750b,typeof _0x240602!=_0x621c8a(0x1ed)?_0x240602+'':_0x240602,_0x3997ea);_0x1364c8['UniverThreadCommentDataSourcePlugin']=class extends _0x4fe2f8[_0x621c8a(0x21a)]{constructor(_0x3f27be=_0x27617e,_0x209b5b,_0x2b3de3){const _0x5d3465=_0x621c8a;super(),this[_0x5d3465(0x1fe)]=_0x3f27be,this['_injector']=_0x209b5b,this[_0x5d3465(0x1c5)]=_0x2b3de3;const {..._0x5e42ec}=_0x4fe2f8[_0x5d3465(0x1d4)]({},_0x27617e,this['_config']);this[_0x5d3465(0x1c5)]['setConfig'](_0x492efb,_0x5e42ec);}[_0x621c8a(0x1b4)](){[[_0x14208e],[_0x4bf261],[_0x479b42]]['forEach'](_0x4623e4=>{const _0x234546=_0x2263;this[_0x234546(0x1dd)][_0x234546(0x1c4)](_0x4623e4);});}[_0x621c8a(0x1f1)](){const _0x20d6b9=_0x621c8a;this[_0x20d6b9(0x1dd)][_0x20d6b9(0x1ec)](_0x4bf261),this[_0x20d6b9(0x1dd)][_0x20d6b9(0x1ec)](_0x479b42);}},_0x16bba0(_0x1364c8[_0x621c8a(0x1fb)],'pluginName',_0x4696c5),_0x16bba0(_0x1364c8[_0x621c8a(0x1fb)],_0x621c8a(0x1da),_0x4fe2f8[_0x621c8a(0x1be)][_0x621c8a(0x1bd)]),_0x1364c8[_0x621c8a(0x1fb)]=_0x4b39da([_0x4fe2f8[_0x621c8a(0x1c0)](_0x4dd2a8[_0x621c8a(0x1bc)],_0x39b02d[_0x621c8a(0x1de)],_0x2c286d[_0x621c8a(0x214)]),_0x1706f7(0x1,_0x4fe2f8['Inject'](_0x4fe2f8[_0x621c8a(0x1ab)])),_0x1706f7(0x2,_0x4fe2f8['IConfigService'])],_0x1364c8[_0x621c8a(0x1fb)]),Object[_0x621c8a(0x200)](_0x1364c8,Symbol[_0x621c8a(0x1ee)],{'value':_0x621c8a(0x20d)});}));
14
+ function _0x36b8(_0x2864a1,_0x162230){const _0x18b0aa=_0x18b0();return _0x36b8=function(_0x36b8a1,_0x6148fc){_0x36b8a1=_0x36b8a1-0x1f3;let _0x1ecaef=_0x18b0aa[_0x36b8a1];return _0x1ecaef;},_0x36b8(_0x2864a1,_0x162230);}(function(_0x55b05b,_0x5f2a8e){const _0x8ebc=_0x36b8,_0x5c2b94=_0x55b05b();while(!![]){try{const _0x56a7af=parseInt(_0x8ebc(0x24d))/0x1*(-parseInt(_0x8ebc(0x246))/0x2)+parseInt(_0x8ebc(0x268))/0x3*(parseInt(_0x8ebc(0x243))/0x4)+parseInt(_0x8ebc(0x23e))/0x5+-parseInt(_0x8ebc(0x22d))/0x6+-parseInt(_0x8ebc(0x264))/0x7+-parseInt(_0x8ebc(0x24c))/0x8*(parseInt(_0x8ebc(0x249))/0x9)+-parseInt(_0x8ebc(0x209))/0xa*(-parseInt(_0x8ebc(0x25c))/0xb);if(_0x56a7af===_0x5f2a8e)break;else _0x5c2b94['push'](_0x5c2b94['shift']());}catch(_0x82221a){_0x5c2b94['push'](_0x5c2b94['shift']());}}}(_0x18b0,0x8d972),function(_0x167a8f,_0x4b7fd7){const _0x540fbb=_0x36b8;typeof exports==_0x540fbb(0x256)&&typeof module<'u'?_0x4b7fd7(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0x540fbb(0x1f3)&&define['amd']?define([_0x540fbb(0x26e),_0x540fbb(0x239),'@univerjs-pro/license','@univerjs/core','@univerjs/thread-comment-ui',_0x540fbb(0x22f),_0x540fbb(0x24a),_0x540fbb(0x20b)],_0x4b7fd7):(_0x167a8f=typeof globalThis<'u'?globalThis:_0x167a8f||self,_0x4b7fd7(_0x167a8f['UniverProThreadCommentDatasource']={},_0x167a8f[_0x540fbb(0x25d)],_0x167a8f[_0x540fbb(0x20d)],_0x167a8f[_0x540fbb(0x272)],_0x167a8f[_0x540fbb(0x220)],_0x167a8f[_0x540fbb(0x25e)],_0x167a8f[_0x540fbb(0x24a)],_0x167a8f['UniverNetwork']));}(this,function(_0x5838ea,_0x1cabcb,_0x250cd7,_0x559f35,_0x5e4b71,_0x3beb1d,_0x17826c,_0x2c1229){'use strict';const _0x4ac278=_0x36b8;const _0x47eccf=_0x4ac278(0x206);var _0x2203ca=(_0x2ad0e1=>(_0x2ad0e1[_0x2ad0e1[_0x4ac278(0x1fd)]=0x0]=_0x4ac278(0x1fd),_0x2ad0e1[_0x2ad0e1[_0x4ac278(0x240)]=0x1]=_0x4ac278(0x240),_0x2ad0e1[_0x2ad0e1[_0x4ac278(0x1f4)]=-0x1]=_0x4ac278(0x1f4),_0x2ad0e1))(_0x2203ca||{}),_0x49f46a=(_0xca68a2=>(_0xca68a2[_0xca68a2[_0x4ac278(0x203)]=0x0]=_0x4ac278(0x203),_0xca68a2[_0xca68a2[_0x4ac278(0x262)]=0x1]=_0x4ac278(0x262),_0xca68a2[_0xca68a2[_0x4ac278(0x260)]=0x2]=_0x4ac278(0x260),_0xca68a2[_0xca68a2[_0x4ac278(0x218)]=0x3]='Edit',_0xca68a2[_0xca68a2['Delete']=0x4]='Delete',_0xca68a2[_0xca68a2[_0x4ac278(0x251)]=0x5]=_0x4ac278(0x251),_0xca68a2[_0xca68a2[_0x4ac278(0x1f4)]=-0x1]='UNRECOGNIZED',_0xca68a2))(_0x49f46a||{});const _0x423bfe=_0x32b763=>_0x559f35[_0x4ac278(0x271)](new Date(+_0x32b763))['format'](_0x4ac278(0x211)),_0x1d1730=async(_0x3fdba2,_0x181d51)=>{const _0x4ad18a=_0x4ac278,_0x35f481=_0x3fdba2[_0x4ad18a(0x23d)](_0x559f35[_0x4ad18a(0x223)]),_0x4e5f62=_0x3fdba2[_0x4ad18a(0x23d)](_0x2c1229[_0x4ad18a(0x236)]);_0x181d51[_0x4ad18a(0x242)](_0x4e2405=>{_0x35f481['getUser'](_0x4e2405)&&_0x181d51['delete'](_0x4e2405);}),_0x181d51[_0x4ad18a(0x21e)]&&(await _0x4e5f62[_0x4ad18a(0x23d)]('/universer-api/user/list',{'params':{'userIDs':[..._0x181d51]}}))[_0x4ad18a(0x261)][_0x4ad18a(0x238)][_0x4ad18a(0x242)](_0x99cff1=>{_0x99cff1&&_0x35f481['addUser'](_0x99cff1);});};var _0xd2f529=Object[_0x4ac278(0x221)],_0x2fefef=(_0x20774b,_0xdc6e9c,_0x179cb4,_0x4166b2)=>{for(var _0x3620b4=_0x4166b2>0x1?void 0x0:_0x4166b2?_0xd2f529(_0xdc6e9c,_0x179cb4):_0xdc6e9c,_0x24c46c=_0x20774b['length']-0x1,_0x541eca;_0x24c46c>=0x0;_0x24c46c--)(_0x541eca=_0x20774b[_0x24c46c])&&(_0x3620b4=_0x541eca(_0x3620b4)||_0x3620b4);return _0x3620b4;},_0x23f3f0=(_0x5a91ae,_0x4b300a)=>(_0xbd31f2,_0x4b5ab1)=>_0x4b300a(_0xbd31f2,_0x4b5ab1,_0x5a91ae);let _0x23ae1a=class extends _0x559f35[_0x4ac278(0x265)]{constructor(_0x55ee03,_0x24a5b7,_0x4dc5ca,_0x1959e0){const _0x36d06c=_0x4ac278;super(),this['_commentService']=_0x55ee03,this['_threadCommentModel']=_0x24a5b7,this[_0x36d06c(0x226)]=_0x4dc5ca,this[_0x36d06c(0x244)]=_0x1959e0,this[_0x36d06c(0x23f)](),this[_0x36d06c(0x255)]();}['_initUserSync'](){const _0x3e1836=_0x4ac278;this['disposeWithMe'](this[_0x3e1836(0x259)][_0x3e1836(0x22e)][_0x3e1836(0x231)](_0x17826c[_0x3e1836(0x21b)](0x10))[_0x3e1836(0x26a)](_0x270b6c=>{const _0x1affe0=_0x3e1836,_0x14a6ee=new Set();_0x270b6c['forEach'](_0x491b66=>{const _0x2329c3=_0x36b8;switch(_0x491b66[_0x2329c3(0x213)]){case _0x2329c3(0x22a):{const _0x177f82=_0x491b66[_0x2329c3(0x200)][_0x2329c3(0x1f6)];_0x14a6ee[_0x2329c3(0x22a)](_0x177f82);break;}}}),_0x1d1730(this[_0x1affe0(0x244)],_0x14a6ee);}));}[_0x4ac278(0x23f)](){const _0x2a97fb=_0x4ac278;this[_0x2a97fb(0x207)](this['_commentService'][_0x2a97fb(0x22e)]['subscribe'](async _0x19fc28=>{const _0x1c3bff=_0x2a97fb;var _0x5eb4cc,_0x103b8e,_0x127401,_0x980d2c;const _0x205e2f=(_0x5eb4cc=this[_0x1c3bff(0x259)][_0x1c3bff(0x201)](_0x19fc28[_0x1c3bff(0x25f)])[_0x1c3bff(0x21a)](_0x1ca51b=>_0x1ca51b[_0x1c3bff(0x1ff)]===_0x19fc28['threadId']))==null?void 0x0:_0x5eb4cc[_0x1c3bff(0x235)];if(!_0x205e2f)return;const {unitId:_0x169979,subUnitId:_0x195d5c}=_0x205e2f;switch(_0x19fc28[_0x1c3bff(0x21f)]&&this[_0x1c3bff(0x226)][_0x1c3bff(0x26f)](_0x19fc28['user']),_0x19fc28['type']){case _0x49f46a[_0x1c3bff(0x262)]:break;case _0x49f46a[_0x1c3bff(0x260)]:{this[_0x1c3bff(0x259)]['addComment'](_0x169979,_0x195d5c,{'unitId':_0x169979,'subUnitId':_0x195d5c,'ref':'','id':_0x19fc28[_0x1c3bff(0x214)],'dT':_0x423bfe(+_0x19fc28['createTimestamp']),'threadId':_0x19fc28[_0x1c3bff(0x1ff)],'personId':(_0x127401=(_0x103b8e=_0x19fc28[_0x1c3bff(0x21f)])==null?void 0x0:_0x103b8e[_0x1c3bff(0x26b)])!=null?_0x127401:_0x19fc28[_0x1c3bff(0x24b)],'text':JSON[_0x1c3bff(0x252)](_0x19fc28[_0x1c3bff(0x1f9)]),'parentId':_0x205e2f['id']});break;}case _0x49f46a[_0x1c3bff(0x245)]:{const _0x1c44ad=this[_0x1c3bff(0x259)]['getComment'](_0x169979,_0x195d5c,_0x19fc28[_0x1c3bff(0x214)]);_0x1c44ad&&_0x1c44ad[_0x1c3bff(0x1fc)]&&this[_0x1c3bff(0x259)]['deleteComment'](_0x169979,_0x195d5c,_0x19fc28[_0x1c3bff(0x214)]);break;}case _0x49f46a[_0x1c3bff(0x218)]:{this[_0x1c3bff(0x259)][_0x1c3bff(0x23a)](_0x169979,_0x195d5c,{'commentId':_0x19fc28['replyId'],'text':JSON['parse'](_0x19fc28[_0x1c3bff(0x1f9)])});break;}case _0x49f46a[_0x1c3bff(0x251)]:{const _0xcee4f7=(_0x980d2c=this['_threadCommentModel'][_0x1c3bff(0x201)](_0x19fc28['unitId'])[_0x1c3bff(0x21a)](_0x5ab72a=>_0x5ab72a[_0x1c3bff(0x1ff)]===_0x19fc28[_0x1c3bff(0x1ff)]))==null?void 0x0:_0x980d2c[_0x1c3bff(0x235)];_0xcee4f7&&this[_0x1c3bff(0x259)][_0x1c3bff(0x1fa)](_0x169979,_0x195d5c,_0xcee4f7['id'],_0x19fc28[_0x1c3bff(0x270)]===_0x2203ca[_0x1c3bff(0x240)]);break;}}}));}};_0x23ae1a=_0x2fefef([_0x23f3f0(0x0,_0x559f35['Inject'](_0x1cabcb['CommentService'])),_0x23f3f0(0x1,_0x559f35[_0x4ac278(0x228)](_0x3beb1d[_0x4ac278(0x24f)])),_0x23f3f0(0x2,_0x559f35[_0x4ac278(0x228)](_0x559f35[_0x4ac278(0x223)])),_0x23f3f0(0x3,_0x559f35['Inject'](_0x559f35[_0x4ac278(0x23c)]))],_0x23ae1a);const _0xaaf712=_0x4ac278(0x204),_0x4845e7={};var _0x4a873b=Object[_0x4ac278(0x221)],_0x40934f=(_0x1d24d6,_0x3c6da3,_0x2858c1,_0x39d05c)=>{const _0x4c8c90=_0x4ac278;for(var _0x5a3787=_0x39d05c>0x1?void 0x0:_0x39d05c?_0x4a873b(_0x3c6da3,_0x2858c1):_0x3c6da3,_0x96b7d3=_0x1d24d6[_0x4c8c90(0x263)]-0x1,_0x2b6171;_0x96b7d3>=0x0;_0x96b7d3--)(_0x2b6171=_0x1d24d6[_0x96b7d3])&&(_0x5a3787=_0x2b6171(_0x5a3787)||_0x5a3787);return _0x5a3787;},_0x57eacf=(_0x25af5a,_0x39178b)=>(_0x5dbd57,_0x2ff018)=>_0x39178b(_0x5dbd57,_0x2ff018,_0x25af5a);function _0x354760(_0x1ce131,_0xf07070){const _0x4178a7=_0x4ac278,_0x21afc3=_0x1ce131[_0x4178a7(0x216)][0x0];return{..._0xf07070,'id':_0x21afc3[_0x4178a7(0x214)],'resolved':_0x1ce131[_0x4178a7(0x270)]===0x1,'dT':_0x423bfe(_0x21afc3['createTimestamp']),'personId':_0x21afc3[_0x4178a7(0x24b)],'threadId':_0x21afc3['threadId']};}function _0x5ea654(_0x5b7aeb,_0x4f54ab,_0x2121e5){const _0x393be9=_0x4ac278;var _0x30a8ce,_0x17acda;if(((_0x17acda=(_0x30a8ce=_0x5b7aeb==null?void 0x0:_0x5b7aeb[_0x393be9(0x216)])==null?void 0x0:_0x30a8ce[_0x393be9(0x263)])!=null?_0x17acda:0x0)>0x0){const _0xbac0a1=(_0x9ef73b,_0x2536f7)=>({'id':_0x9ef73b[_0x393be9(0x214)],'threadId':_0x9ef73b[_0x393be9(0x1ff)],'dT':_0x423bfe(_0x9ef73b['createTimestamp']),'personId':_0x9ef73b[_0x393be9(0x24b)],'resolved':_0x5b7aeb[_0x393be9(0x270)]===_0x2203ca[_0x393be9(0x240)],'unitId':_0x4f54ab,'subUnitId':_0x2121e5,'text':JSON[_0x393be9(0x252)](_0x9ef73b[_0x393be9(0x1f9)]),'parentId':_0x2536f7}),_0x40a35d=_0xbac0a1(_0x5b7aeb[_0x393be9(0x216)][0x0]);return{..._0x40a35d,'children':_0x5b7aeb[_0x393be9(0x216)][_0x393be9(0x267)](0x1)[_0x393be9(0x1fe)](_0x60c671=>_0xbac0a1(_0x60c671,_0x40a35d['id']))};}return null;}let _0x3b779e=class{constructor(_0x21166d,_0x30ed2e,_0x1370d1){const _0x50121e=_0x4ac278;this[_0x50121e(0x21d)]=_0x21166d,this['_userService']=_0x30ed2e,this[_0x50121e(0x233)]=_0x1370d1;}async[_0x4ac278(0x20c)](_0x368a2c){const _0x27dbd4=_0x4ac278;var _0x39f5b7,_0x22cf5f;const {parentId:_0xf9b6d,unitId:_0x24276f,text:_0x2bdd3f,threadId:_0xd8ea25}=_0x368a2c,_0x269f9a=(_0x22cf5f=(_0x39f5b7=_0x2bdd3f[_0x27dbd4(0x224)])==null?void 0x0:_0x39f5b7['filter'](_0x520814=>_0x520814[_0x27dbd4(0x26c)]===_0x559f35[_0x27dbd4(0x237)][_0x27dbd4(0x257)])[_0x27dbd4(0x1fe)](_0x59e389=>_0x59e389[_0x27dbd4(0x248)]))!=null?_0x22cf5f:[],_0x40b66e=JSON['stringify'](_0x2bdd3f),_0x4e6d74=(await this[_0x27dbd4(0x233)][_0x27dbd4(0x1f5)](_0x24276f))[_0x27dbd4(0x229)]();if(_0xf9b6d){const _0x28134b={'memberId':_0x4e6d74,'unitId':_0x24276f,'content':_0x40b66e,'mention':_0x269f9a,'threadId':_0xd8ea25},_0x48b707=(await this[_0x27dbd4(0x21d)][_0x27dbd4(0x20e)]('/universer-api/comment/unit/'+_0x24276f+'/reply',{'body':_0x28134b}))[_0x27dbd4(0x261)][_0x27dbd4(0x247)];return{..._0x368a2c,'id':_0x48b707[_0x27dbd4(0x214)],'dT':_0x559f35['dayjs'](+_0x48b707[_0x27dbd4(0x26d)])[_0x27dbd4(0x210)]('YYYY/MM/DD\x20HH:mm'),'personId':_0x48b707[_0x27dbd4(0x24b)]};}else{const _0x36486b={'memberId':_0x4e6d74,'unitId':_0x24276f,'content':_0x40b66e,'mention':_0x269f9a},_0x1d74fb=await this['_httpService']['post'](_0x27dbd4(0x254)+_0x24276f+_0x27dbd4(0x232),{'body':_0x36486b});return _0x354760(_0x1d74fb[_0x27dbd4(0x261)]['comment'],_0x368a2c);}}async['updateComment'](_0x49ca29){const _0x2ebe4c=_0x4ac278;var _0x15b504,_0x11a934;const {text:_0x151d3c,unitId:_0x4eafba}=_0x49ca29,_0x4e6f45=(_0x11a934=(_0x15b504=_0x151d3c[_0x2ebe4c(0x224)])==null?void 0x0:_0x15b504['filter'](_0x50bd94=>_0x50bd94[_0x2ebe4c(0x26c)]===_0x559f35[_0x2ebe4c(0x237)][_0x2ebe4c(0x257)])[_0x2ebe4c(0x1fe)](_0x3feff3=>_0x3feff3[_0x2ebe4c(0x248)]))!=null?_0x11a934:[],_0x5d670e=JSON['stringify'](_0x151d3c),_0x23a358=_0x49ca29[_0x2ebe4c(0x1ff)],_0x388669=_0x49ca29['id'],_0x2bd58a={'memberId':(await this[_0x2ebe4c(0x233)]['requireSession'](_0x4eafba))[_0x2ebe4c(0x229)](),'unitId':_0x4eafba,'threadId':_0x23a358,'mention':_0x4e6f45,'content':_0x5d670e,'replyId':_0x388669},_0x202d40=await this[_0x2ebe4c(0x21d)][_0x2ebe4c(0x20e)]('/universer-api/comment/unit/'+_0x4eafba+_0x2ebe4c(0x24e),{'body':_0x2bd58a});return!_0x202d40['body'][_0x2ebe4c(0x225)]||_0x202d40['body'][_0x2ebe4c(0x225)][_0x2ebe4c(0x269)]===0x1;}async[_0x4ac278(0x1fa)](_0x49f0a2){const _0x33f1a8=_0x4ac278,{unitId:_0x2a83b6}=_0x49f0a2,_0xdba305=_0x49f0a2[_0x33f1a8(0x1ff)],_0x128b27={'memberId':this['_userService']['getCurrentUser']()[_0x33f1a8(0x26b)],'unitId':_0x2a83b6,'threadId':_0xdba305,'solved':_0x49f0a2[_0x33f1a8(0x250)]?_0x2203ca[_0x33f1a8(0x240)]:_0x2203ca['OpenOrReOpen']},_0x5970db=await this[_0x33f1a8(0x21d)][_0x33f1a8(0x20e)](_0x33f1a8(0x254)+_0x2a83b6+_0x33f1a8(0x20a),{'body':_0x128b27});return!_0x5970db[_0x33f1a8(0x261)][_0x33f1a8(0x225)]||_0x5970db[_0x33f1a8(0x261)]['error'][_0x33f1a8(0x269)]===0x1;}async['deleteComment'](_0x5aed5c,_0x160bae,_0x51e99f,_0x3e1b1a){const _0x2774b2=_0x4ac278,_0x810b5c={'memberId':(await this[_0x2774b2(0x233)][_0x2774b2(0x1f5)](_0x5aed5c))[_0x2774b2(0x229)](),'threadId':_0x51e99f,'replyId':_0x3e1b1a,'unitId':_0x5aed5c},_0x5a39b5=await this[_0x2774b2(0x21d)][_0x2774b2(0x20e)]('/universer-api/comment/unit/'+_0x5aed5c+_0x2774b2(0x266),{'body':_0x810b5c});return!_0x5a39b5[_0x2774b2(0x261)]['error']||_0x5a39b5[_0x2774b2(0x261)][_0x2774b2(0x225)][_0x2774b2(0x269)]===0x1;}async[_0x4ac278(0x253)](_0x280644,_0x5de97,_0x23c4a7){const _0x58fcc2=_0x4ac278,_0x5f5b9a={'unitId':_0x280644,'threadId':_0x23c4a7},_0x110e3e=await this['_httpService'][_0x58fcc2(0x20e)](_0x58fcc2(0x254)+_0x280644+_0x58fcc2(0x227),{'body':_0x5f5b9a}),_0x2c9269=_0x23c4a7[_0x58fcc2(0x1fe)](_0x43eff0=>_0x5ea654(_0x110e3e[_0x58fcc2(0x261)][_0x58fcc2(0x234)][_0x43eff0],_0x280644,_0x5de97))[_0x58fcc2(0x205)](Boolean);return Object['values'](_0x110e3e[_0x58fcc2(0x261)][_0x58fcc2(0x238)])[_0x58fcc2(0x242)](_0x5aed71=>{const _0x571b1d=_0x58fcc2;this[_0x571b1d(0x226)][_0x571b1d(0x26f)](_0x5aed71);}),_0x2c9269;}[_0x4ac278(0x20f)](_0x51023d){const _0x228ff6=_0x4ac278;return{'id':_0x51023d['id'],'threadId':_0x51023d['threadId'],'ref':_0x51023d[_0x228ff6(0x202)]};}};_0x3b779e=_0x40934f([_0x57eacf(0x0,_0x559f35[_0x4ac278(0x228)](_0x2c1229['HTTPService'])),_0x57eacf(0x1,_0x559f35[_0x4ac278(0x228)](_0x559f35[_0x4ac278(0x223)])),_0x57eacf(0x2,_0x559f35['Inject'](_0x1cabcb[_0x4ac278(0x25a)]))],_0x3b779e);var _0x132f02=Object[_0x4ac278(0x221)],_0xbfaa64=(_0x2d04b7,_0xf1f7ea,_0x378e8e,_0x23aaa0)=>{const _0x4b2ada=_0x4ac278;for(var _0x5c501c=_0x23aaa0>0x1?void 0x0:_0x23aaa0?_0x132f02(_0xf1f7ea,_0x378e8e):_0xf1f7ea,_0x521e59=_0x2d04b7[_0x4b2ada(0x263)]-0x1,_0x15fe00;_0x521e59>=0x0;_0x521e59--)(_0x15fe00=_0x2d04b7[_0x521e59])&&(_0x5c501c=_0x15fe00(_0x5c501c)||_0x5c501c);return _0x5c501c;},_0x323d31=(_0x47e460,_0x42b945)=>(_0x18f404,_0x3c6a05)=>_0x42b945(_0x18f404,_0x3c6a05,_0x47e460);let _0x1aed25=class extends _0x559f35[_0x4ac278(0x265)]{constructor(_0x447f48,_0x1a652d){const _0x24d3ee=_0x4ac278;super(),this[_0x24d3ee(0x1f8)]=_0x447f48,this['_threadCommentDataSource']=_0x1a652d,this[_0x24d3ee(0x22c)]();}[_0x4ac278(0x22c)](){const _0x4c53c1=_0x4ac278;this['_threadCommentDataSourceService'][_0x4c53c1(0x258)]=this['_threadCommentDataSource'],this[_0x4c53c1(0x1f8)][_0x4c53c1(0x219)]=!0x1;}};_0x1aed25=_0xbfaa64([_0x323d31(0x0,_0x3beb1d['IThreadCommentDataSourceService']),_0x323d31(0x1,_0x559f35[_0x4ac278(0x228)](_0x3b779e))],_0x1aed25);var _0x59f3fe=Object['defineProperty'],_0x30548d=Object[_0x4ac278(0x221)],_0x4d403c=(_0x32f7a7,_0x15ec43,_0x11208b)=>_0x15ec43 in _0x32f7a7?_0x59f3fe(_0x32f7a7,_0x15ec43,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11208b}):_0x32f7a7[_0x15ec43]=_0x11208b,_0x19a716=(_0x4ac8b5,_0x4ec567,_0x179ef5,_0x1c7c3f)=>{const _0x1988f5=_0x4ac278;for(var _0x3d4ffd=_0x1c7c3f>0x1?void 0x0:_0x1c7c3f?_0x30548d(_0x4ec567,_0x179ef5):_0x4ec567,_0xf5c8c9=_0x4ac8b5[_0x1988f5(0x263)]-0x1,_0x50c1ca;_0xf5c8c9>=0x0;_0xf5c8c9--)(_0x50c1ca=_0x4ac8b5[_0xf5c8c9])&&(_0x3d4ffd=_0x50c1ca(_0x3d4ffd)||_0x3d4ffd);return _0x3d4ffd;},_0x57d374=(_0x28afed,_0xf8ccd1)=>(_0x23a7c2,_0x124750)=>_0xf8ccd1(_0x23a7c2,_0x124750,_0x28afed),_0x288689=(_0x118a1b,_0x1e9549,_0x165351)=>_0x4d403c(_0x118a1b,typeof _0x1e9549!='symbol'?_0x1e9549+'':_0x1e9549,_0x165351);_0x5838ea[_0x4ac278(0x230)]=class extends _0x559f35['Plugin']{constructor(_0x31f90a=_0x4845e7,_0x9ed0e1,_0x1bea2a){const _0x3044d6=_0x4ac278;super(),this[_0x3044d6(0x212)]=_0x31f90a,this['_injector']=_0x9ed0e1,this[_0x3044d6(0x215)]=_0x1bea2a;const {..._0x2a882f}=_0x559f35[_0x3044d6(0x23b)]({},_0x4845e7,this[_0x3044d6(0x212)]);this[_0x3044d6(0x215)][_0x3044d6(0x22b)](_0xaaf712,_0x2a882f);}[_0x4ac278(0x208)](){const _0x513e0d=_0x4ac278;[[_0x3b779e],[_0x1aed25],[_0x23ae1a]][_0x513e0d(0x242)](_0x224b23=>{const _0x220e1c=_0x513e0d;this[_0x220e1c(0x244)]['add'](_0x224b23);});}[_0x4ac278(0x25b)](){const _0x38eff1=_0x4ac278;this[_0x38eff1(0x244)][_0x38eff1(0x23d)](_0x1aed25),this['_injector']['get'](_0x23ae1a);}},_0x288689(_0x5838ea[_0x4ac278(0x230)],'pluginName',_0x47eccf),_0x288689(_0x5838ea[_0x4ac278(0x230)],_0x4ac278(0x213),_0x559f35[_0x4ac278(0x217)]['UNIVER_UNKNOWN']),_0x5838ea[_0x4ac278(0x230)]=_0x19a716([_0x559f35['DependentOn'](_0x5e4b71[_0x4ac278(0x1fb)],_0x1cabcb[_0x4ac278(0x241)],_0x250cd7[_0x4ac278(0x1f7)]),_0x57d374(0x1,_0x559f35[_0x4ac278(0x228)](_0x559f35[_0x4ac278(0x23c)])),_0x57d374(0x2,_0x559f35[_0x4ac278(0x21c)])],_0x5838ea[_0x4ac278(0x230)]),Object['defineProperty'](_0x5838ea,Symbol[_0x4ac278(0x222)],{'value':'Module'});}));function _0x18b0(){const _0xde38e1=['/edit','ThreadCommentModel','resolved','Solve','parse','listComments','/universer-api/comment/unit/','_initUserSync','object','COMMENT','dataSource','_threadCommentModel','CollaborationSessionService','onReady','11mNivqM','UniverProCollaborationClient','UniverThreadComment','unitId','Reply','body','Add','length','2832578oZtnie','Disposable','/delete','slice','368013UPrsQw','code','subscribe','userID','rangeType','createTimestamp','exports','addUser','solved','dayjs','UniverCore','function','UNRECOGNIZED','requireSession','personId','UniverLicensePlugin','_threadCommentDataSourceService','content','resolveComment','UniverThreadCommentUIPlugin','parentId','OpenOrReOpen','map','threadId','payload','getUnit','ref','Unknown','thread-comment-data-source.config','filter','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','disposeWithMe','onStarting','30840fbHwAq','/solved','@univerjs/network','addComment','UniverProLicense','post','saveCommentToSnapshot','format','YYYY/MM/DD\x20HH:mm','_config','type','replyId','_configService','replies','UniverInstanceType','Edit','syncUpdateMutationToColla','find','bufferTime','IConfigService','_httpService','size','user','UniverThreadCommentUi','getOwnPropertyDescriptor','toStringTag','UserManagerService','customRanges','error','_userService','/list','Inject','getMemberID','add','setConfig','_initDataSource','2047392tvIELd','commentUpdate$','@univerjs/thread-comment','UniverThreadCommentDataSourcePlugin','pipe','/add','_sessionService','comments','root','HTTPService','CustomRangeType','users','@univerjs-pro/collaboration-client','updateComment','merge','Injector','get','2049005OPALIS','_init','Solved','UniverCollaborationClientPlugin','forEach','32JVMHIm','_injector','Delete','34bDnOEG','reply','rangeId','36Itbesx','rxjs','userId','26088uFsQSD','3257GBMZdw'];_0x18b0=function(){return _0xde38e1;};return _0x18b0();}
15
15
 
16
16
  // @univerjs-pro/edit-history-viewer/index
17
- function _0x331c(_0x19c97b,_0xd58f68){const _0x5804ed=_0x5804();return _0x331c=function(_0x331c03,_0x2112f9){_0x331c03=_0x331c03-0xce;let _0x374134=_0x5804ed[_0x331c03];return _0x374134;},_0x331c(_0x19c97b,_0xd58f68);}(function(_0x364814,_0x19d4fd){const _0x235259=_0x331c,_0x24edd1=_0x364814();while(!![]){try{const _0x3d5c8c=-parseInt(_0x235259(0x224))/0x1+-parseInt(_0x235259(0x263))/0x2*(parseInt(_0x235259(0xe4))/0x3)+-parseInt(_0x235259(0x103))/0x4+-parseInt(_0x235259(0x214))/0x5*(parseInt(_0x235259(0x20f))/0x6)+parseInt(_0x235259(0x11f))/0x7*(parseInt(_0x235259(0x1c1))/0x8)+parseInt(_0x235259(0x165))/0x9+parseInt(_0x235259(0x216))/0xa;if(_0x3d5c8c===_0x19d4fd)break;else _0x24edd1['push'](_0x24edd1['shift']());}catch(_0x7b13c5){_0x24edd1['push'](_0x24edd1['shift']());}}}(_0x5804,0x2dcc2),function(_0x182770,_0x3d5348){const _0x2bd23a=_0x331c;typeof exports=='object'&&typeof module<'u'?_0x3d5348(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x2bd23a(0x25a)&&define[_0x2bd23a(0xd2)]?define([_0x2bd23a(0x275),_0x2bd23a(0x151),_0x2bd23a(0x226),_0x2bd23a(0x2bb),_0x2bd23a(0x2ef),_0x2bd23a(0x117),'@univerjs/network','@univerjs/sheets-ui',_0x2bd23a(0x2e4),_0x2bd23a(0x1a1),_0x2bd23a(0x22a),'rxjs',_0x2bd23a(0x262),'@univerjs/data-validation',_0x2bd23a(0x284),_0x2bd23a(0x125),_0x2bd23a(0x153),'react',_0x2bd23a(0x2d2)],_0x3d5348):(_0x182770=typeof globalThis<'u'?globalThis:_0x182770||self,_0x3d5348(_0x182770[_0x2bd23a(0x202)]={},_0x182770[_0x2bd23a(0x2cc)],_0x182770['UniverProCollaborationClient'],_0x182770[_0x2bd23a(0x2ea)],_0x182770[_0x2bd23a(0x1d7)],_0x182770[_0x2bd23a(0x1e7)],_0x182770[_0x2bd23a(0x175)],_0x182770[_0x2bd23a(0x2d9)],_0x182770[_0x2bd23a(0x28a)],_0x182770['UniverDesign'],_0x182770[_0x2bd23a(0x210)],_0x182770[_0x2bd23a(0x115)],_0x182770[_0x2bd23a(0x16a)],_0x182770[_0x2bd23a(0x2fc)],_0x182770[_0x2bd23a(0x1b1)],_0x182770[_0x2bd23a(0x242)],_0x182770['React'],_0x182770['React'],_0x182770[_0x2bd23a(0x186)]));}(this,function(_0x2afb7b,_0x4658e3,_0x4342ff,_0x287239,_0x21904a,_0x185f7f,_0x2b0737,_0xf33c3,_0x1f9fca,_0x407bc3,_0x56ed82,_0x493d52,_0xd45be1,_0x346063,_0xed2ba5,_0x2fa927,_0x5118a6,_0x5cef4f,_0x50e0f0){'use strict';const _0x149b74=_0x331c;var _0x232177=Object[_0x149b74(0x2ad)],_0xc63a65=(_0x16a13a,_0x4955a0,_0x3d1b23)=>_0x4955a0 in _0x16a13a?_0x232177(_0x16a13a,_0x4955a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d1b23}):_0x16a13a[_0x4955a0]=_0x3d1b23,_0x217380=(_0x51c253,_0x1ba736,_0x28b556)=>_0xc63a65(_0x51c253,typeof _0x1ba736!=_0x149b74(0x1be)?_0x1ba736+'':_0x1ba736,_0x28b556);const _0x18ecfb='edit-history-viewer.config',_0x3b2a13={};var _0x46fd51=Object[_0x149b74(0x1c2)],_0xc566bb=(_0x47fde1,_0x1b388d,_0xad9083,_0x4c679a)=>{const _0x42866c=_0x149b74;for(var _0x42168b=_0x4c679a>0x1?void 0x0:_0x4c679a?_0x46fd51(_0x1b388d,_0xad9083):_0x1b388d,_0xae6423=_0x47fde1[_0x42866c(0x121)]-0x1,_0x272283;_0xae6423>=0x0;_0xae6423--)(_0x272283=_0x47fde1[_0xae6423])&&(_0x42168b=_0x272283(_0x42168b)||_0x42168b);return _0x42168b;},_0x85169e=(_0x2ed628,_0x1457cc)=>(_0x138b21,_0x504369)=>_0x1457cc(_0x138b21,_0x504369,_0x2ed628);let _0x6a9a62=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x1dc291){super(),this['_cellEditorManagerService']=_0x1dc291,this['_init']();}[_0x149b74(0x1b4)](){const _0xb3c63b=_0x149b74;this[_0xb3c63b(0x17c)](this['_cellEditorManagerService'][_0xb3c63b(0xd0)][_0xb3c63b(0x2a3)](_0x37790a=>{const _0x3c2ebc=_0xb3c63b;_0x37790a!=null&&_0x37790a[_0x3c2ebc(0x252)]&&this['_cellEditorManagerService'][_0x3c2ebc(0x14b)]({'show':!0x1});}));}};_0x6a9a62=_0xc566bb([_0x85169e(0x0,_0xf33c3[_0x149b74(0x14a)])],_0x6a9a62);var _0x403561=(_0xf698f8=>(_0xf698f8[_0xf698f8[_0x149b74(0x29b)]=0x0]='UNDEFINED',_0xf698f8[_0xf698f8['OK']=0x1]='OK',_0xf698f8[_0xf698f8[_0x149b74(0x278)]=0x2]='INTERNAL_ERROR',_0xf698f8[_0xf698f8['PERMISSION_DENIED']=0x3]=_0x149b74(0x251),_0xf698f8[_0xf698f8[_0x149b74(0x1fc)]=0x4]=_0x149b74(0x1fc),_0xf698f8[_0xf698f8['UNAUTHENTICATED']=0x5]=_0x149b74(0x194),_0xf698f8[_0xf698f8[_0x149b74(0x29e)]=0x6]=_0x149b74(0x29e),_0xf698f8[_0xf698f8['INVALID_ARGUMENT']=0x7]=_0x149b74(0x1e4),_0xf698f8[_0xf698f8[_0x149b74(0x152)]=0x8]=_0x149b74(0x152),_0xf698f8[_0xf698f8['COMPLETION_FINISHED']=0x9]=_0x149b74(0x24b),_0xf698f8[_0xf698f8[_0x149b74(0x12a)]=0xa]=_0x149b74(0x12a),_0xf698f8[_0xf698f8['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x149b74(0x273),_0xf698f8[_0xf698f8['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x149b74(0x24c),_0xf698f8[_0xf698f8[_0x149b74(0x280)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xf698f8[_0xf698f8[_0x149b74(0x2d6)]=0xe]=_0x149b74(0x2d6),_0xf698f8[_0xf698f8[_0x149b74(0x1b6)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0xf698f8[_0xf698f8['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x149b74(0x1f6),_0xf698f8[_0xf698f8[_0x149b74(0x2c5)]=0x64]=_0x149b74(0x2c5),_0xf698f8[_0xf698f8[_0x149b74(0x178)]=0x65]=_0x149b74(0x178),_0xf698f8[_0xf698f8[_0x149b74(0xfb)]=0xc9]=_0x149b74(0xfb),_0xf698f8[_0xf698f8[_0x149b74(0x21a)]=0xca]=_0x149b74(0x21a),_0xf698f8[_0xf698f8[_0x149b74(0x1a3)]=0x1389]=_0x149b74(0x1a3),_0xf698f8[_0xf698f8[_0x149b74(0xe3)]=0x1771]=_0x149b74(0xe3),_0xf698f8[_0xf698f8[_0x149b74(0x2c2)]=0x1772]=_0x149b74(0x2c2),_0xf698f8[_0xf698f8[_0x149b74(0x28c)]=0x1773]=_0x149b74(0x28c),_0xf698f8[_0xf698f8['APPLY_REJECT']=0x1b59]=_0x149b74(0x254),_0xf698f8[_0xf698f8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xf698f8[_0xf698f8[_0x149b74(0x169)]=0x1b5b]=_0x149b74(0x169),_0xf698f8[_0xf698f8['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0xf698f8[_0xf698f8[_0x149b74(0x173)]=0x1b5d]=_0x149b74(0x173),_0xf698f8[_0xf698f8[_0x149b74(0xee)]=0x1f41]=_0x149b74(0xee),_0xf698f8[_0xf698f8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x149b74(0x1f2),_0xf698f8[_0xf698f8[_0x149b74(0x25e)]=0x232a]=_0x149b74(0x25e),_0xf698f8[_0xf698f8['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xf698f8[_0xf698f8[_0x149b74(0x1c0)]=0x232c]=_0x149b74(0x1c0),_0xf698f8[_0xf698f8[_0x149b74(0x196)]=0x232d]=_0x149b74(0x196),_0xf698f8[_0xf698f8['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xf698f8[_0xf698f8[_0x149b74(0x144)]=0x2712]=_0x149b74(0x144),_0xf698f8[_0xf698f8['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xf698f8[_0xf698f8['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x149b74(0x250),_0xf698f8[_0xf698f8['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x149b74(0x15a),_0xf698f8[_0xf698f8[_0x149b74(0x2f0)]=0x271b]=_0x149b74(0x2f0),_0xf698f8[_0xf698f8[_0x149b74(0x2d7)]=0x271c]=_0x149b74(0x2d7),_0xf698f8[_0xf698f8[_0x149b74(0x24d)]=0x271d]=_0x149b74(0x24d),_0xf698f8[_0xf698f8[_0x149b74(0x290)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0xf698f8[_0xf698f8['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0xf698f8[_0xf698f8['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x149b74(0x221),_0xf698f8[_0xf698f8[_0x149b74(0x1d2)]=0x2af9]=_0x149b74(0x1d2),_0xf698f8[_0xf698f8[_0x149b74(0x28b)]=0x2ee1]=_0x149b74(0x28b),_0xf698f8[_0xf698f8[_0x149b74(0xe6)]=0x2ee2]=_0x149b74(0xe6),_0xf698f8[_0xf698f8['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0xf698f8[_0xf698f8['USER_NOT_INVITED_CODE']=0x2ee4]=_0x149b74(0x2ed),_0xf698f8[_0xf698f8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x149b74(0xf6),_0xf698f8[_0xf698f8[_0x149b74(0x11e)]=0x32c9]=_0x149b74(0x11e),_0xf698f8[_0xf698f8[_0x149b74(0x23a)]=0x32ca]=_0x149b74(0x23a),_0xf698f8[_0xf698f8['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x149b74(0x113),_0xf698f8[_0xf698f8[_0x149b74(0x220)]=0x36b1]=_0x149b74(0x220),_0xf698f8[_0xf698f8[_0x149b74(0x174)]=0x36b2]=_0x149b74(0x174),_0xf698f8[_0xf698f8['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0xf698f8[_0xf698f8['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x149b74(0x114),_0xf698f8[_0xf698f8[_0x149b74(0x1aa)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xf698f8[_0xf698f8[_0x149b74(0x213)]=0x3716]=_0x149b74(0x213),_0xf698f8[_0xf698f8[_0x149b74(0x245)]=0x3717]=_0x149b74(0x245),_0xf698f8[_0xf698f8[_0x149b74(0x2be)]=0x37dd]=_0x149b74(0x2be),_0xf698f8[_0xf698f8[_0x149b74(0x26e)]=0x3a99]='REDEMPTION_INVALID_CODE',_0xf698f8[_0xf698f8[_0x149b74(0x16e)]=0x3a9a]=_0x149b74(0x16e),_0xf698f8[_0xf698f8[_0x149b74(0x225)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0xf698f8[_0xf698f8[_0x149b74(0x18c)]=0x3a9c]=_0x149b74(0x18c),_0xf698f8[_0xf698f8[_0x149b74(0x2d5)]=0x3a9d]=_0x149b74(0x2d5),_0xf698f8[_0xf698f8[_0x149b74(0x255)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0xf698f8[_0xf698f8[_0x149b74(0xf7)]=0x3a9f]=_0x149b74(0xf7),_0xf698f8[_0xf698f8[_0x149b74(0x1a8)]=0x3e81]=_0x149b74(0x1a8),_0xf698f8[_0xf698f8[_0x149b74(0x104)]=-0x1]=_0x149b74(0x104),_0xf698f8))(_0x403561||{}),_0x24bec5=(_0x42e60e=>(_0x42e60e[_0x42e60e['UNIVER_UNKNOWN']=0x0]=_0x149b74(0x21b),_0x42e60e[_0x42e60e[_0x149b74(0xf3)]=0x1]=_0x149b74(0xf3),_0x42e60e[_0x42e60e[_0x149b74(0xd7)]=0x2]=_0x149b74(0xd7),_0x42e60e[_0x42e60e[_0x149b74(0x2cb)]=0x3]=_0x149b74(0x2cb),_0x42e60e[_0x42e60e[_0x149b74(0x1f8)]=0x4]=_0x149b74(0x1f8),_0x42e60e[_0x42e60e[_0x149b74(0x104)]=-0x1]=_0x149b74(0x104),_0x42e60e))(_0x24bec5||{}),_0x540ea8=(_0x41df71=>(_0x41df71[_0x41df71[_0x149b74(0x155)]=0x0]=_0x149b74(0x155),_0x41df71[_0x41df71[_0x149b74(0x2d0)]=0x1]=_0x149b74(0x2d0),_0x41df71[_0x41df71[_0x149b74(0xdb)]=0x2]=_0x149b74(0xdb),_0x41df71[_0x41df71[_0x149b74(0xf2)]=0x3]=_0x149b74(0xf2),_0x41df71[_0x41df71[_0x149b74(0x13f)]=0x4]=_0x149b74(0x13f),_0x41df71[_0x41df71[_0x149b74(0x17f)]=0x5]=_0x149b74(0x17f),_0x41df71[_0x41df71['Copy']=0x6]='Copy',_0x41df71[_0x41df71[_0x149b74(0x105)]=0x7]=_0x149b74(0x105),_0x41df71[_0x41df71['Export']=0x8]=_0x149b74(0x100),_0x41df71[_0x41df71[_0x149b74(0x26f)]=0x9]=_0x149b74(0x26f),_0x41df71[_0x41df71[_0x149b74(0x223)]=0xa]=_0x149b74(0x223),_0x41df71[_0x41df71[_0x149b74(0x1bd)]=0xb]=_0x149b74(0x1bd),_0x41df71[_0x41df71[_0x149b74(0x281)]=0xc]=_0x149b74(0x281),_0x41df71[_0x41df71['CreateWorksheet']=0xd]='CreateWorksheet',_0x41df71[_0x41df71[_0x149b74(0x1ef)]=0xe]='SetWorksheetStyle',_0x41df71[_0x41df71[_0x149b74(0x16d)]=0xf]=_0x149b74(0x16d),_0x41df71[_0x41df71[_0x149b74(0x135)]=0x10]=_0x149b74(0x135),_0x41df71[_0x41df71[_0x149b74(0x207)]=0x11]=_0x149b74(0x207),_0x41df71[_0x41df71['Filter']=0x12]=_0x149b74(0x231),_0x41df71[_0x41df71[_0x149b74(0xfd)]=0x13]='PivotTable',_0x41df71[_0x41df71[_0x149b74(0x154)]=0x14]=_0x149b74(0x154),_0x41df71[_0x41df71['History']=0x15]='History',_0x41df71[_0x41df71[_0x149b74(0x24e)]=0x16]=_0x149b74(0x24e),_0x41df71[_0x41df71['ViemRwHgtClWdt']=0x17]=_0x149b74(0x1a7),_0x41df71[_0x41df71[_0x149b74(0x1c9)]=0x18]='ViewFilter',_0x41df71[_0x41df71[_0x149b74(0x1bf)]=0x19]=_0x149b74(0x1bf),_0x41df71[_0x41df71[_0x149b74(0x24a)]=0x1a]='DeleteSheet',_0x41df71[_0x41df71[_0x149b74(0x1fa)]=0x1b]='HideSheet',_0x41df71[_0x41df71[_0x149b74(0x247)]=0x1c]=_0x149b74(0x247),_0x41df71[_0x41df71[_0x149b74(0xef)]=0x1d]=_0x149b74(0xef),_0x41df71[_0x41df71[_0x149b74(0x1fd)]=0x1e]=_0x149b74(0x1fd),_0x41df71[_0x41df71[_0x149b74(0x163)]=0x1f]='SelectProtectedCells',_0x41df71[_0x41df71[_0x149b74(0x219)]=0x20]=_0x149b74(0x219),_0x41df71[_0x41df71[_0x149b74(0x1f0)]=0x21]=_0x149b74(0x1f0),_0x41df71[_0x41df71['SetCellValue']=0x22]=_0x149b74(0x2ec),_0x41df71[_0x41df71[_0x149b74(0x1ba)]=0x23]=_0x149b74(0x1ba),_0x41df71[_0x41df71[_0x149b74(0x16c)]=0x24]=_0x149b74(0x16c),_0x41df71[_0x41df71[_0x149b74(0x2cf)]=0x25]=_0x149b74(0x2cf),_0x41df71[_0x41df71[_0x149b74(0x170)]=0x26]=_0x149b74(0x170),_0x41df71[_0x41df71[_0x149b74(0xda)]=0x27]=_0x149b74(0xda),_0x41df71[_0x41df71[_0x149b74(0x218)]=0x28]='DeleteColumn',_0x41df71[_0x41df71[_0x149b74(0x268)]=0x29]=_0x149b74(0x268),_0x41df71[_0x41df71[_0x149b74(0x235)]=0x2a]=_0x149b74(0x235),_0x41df71[_0x41df71[_0x149b74(0xe0)]=0x2b]='RecoverHistory',_0x41df71[_0x41df71[_0x149b74(0x18e)]=0x2c]='ViewHistory',_0x41df71[_0x41df71[_0x149b74(0x21e)]=0x2d]='CreatePermissionObject',_0x41df71[_0x41df71[_0x149b74(0x104)]=-0x1]='UNRECOGNIZED',_0x41df71))(_0x540ea8||{});function _0x431555(_0x33a37b){const _0x3193e4=_0x149b74;return!!(_0x33a37b&&_0x33a37b[_0x3193e4(0x159)]&&_0x33a37b[_0x3193e4(0x159)]!==_0x403561['OK']&&_0x33a37b[_0x3193e4(0x159)]!=='OK');}const _0x610a11=(_0x4da82e,_0x293773)=>{const _0x5d7401=_0x149b74;if(!_0x4da82e)return{'date':'','time':''};const _0x312248=new Date(_0x4da82e),_0x49e112=_0x312248[_0x5d7401(0xd1)]()[_0x5d7401(0x222)]('T')[0x0];switch(_0x293773){case _0x287239[_0x5d7401(0x289)]['ZH_CN']:return{'date':_0x1d8852(_0x49e112,_0x293773),'time':_0x312248[_0x5d7401(0x2e1)]()+':'+String(_0x312248[_0x5d7401(0x1bb)]())[_0x5d7401(0x1b7)](0x2,'0')};default:return{'date':_0x1d8852(_0x49e112,_0x293773),'time':_0x312248[_0x5d7401(0x2e1)]()+':'+_0x312248['getMinutes']()};}},_0x5ef180=(_0x21b2e4,_0x52332f)=>{const _0x162cbb=_0x149b74,_0x38a197=_0x21b2e4[_0x162cbb(0x244)]||_0x52332f['t']('editHistory.panel.unknownUser');if(_0x21b2e4[_0x162cbb(0xe9)][_0x162cbb(0x299)](_0x1f1a60=>_0x1f1a60===_0x4658e3['RevertRevisionMutation']['id'])&&_0x21b2e4['recoverTime']){const _0x4cffd8=_0x610a11(_0x21b2e4[_0x162cbb(0x129)],_0x52332f['getCurrentLocale']()),_0x4df076=_0x4cffd8['date']+'\x20'+_0x4cffd8['time'];return _0x38a197+'\x20'+_0x52332f['t'](_0x162cbb(0x2ac))+'\x20'+_0x4df076+'\x20'+_0x52332f['t']('editHistory.action.revertSheetSuffix');}const _0x32045d=_0x181fc4(_0x21b2e4),_0x453b8d=_0x32045d[_0x162cbb(0x121)]===0x1?_0x52332f['t'](_0x32045d[0x0]):''+_0x52332f['t'](_0x32045d[0x0])+_0x52332f['t'](_0x162cbb(0x2c6));return _0x38a197+'\x20'+_0x453b8d;};function _0x181fc4(_0x29e726){const _0x36020e=_0x149b74;if(_0x29e726[_0x36020e(0xe9)][_0x36020e(0x121)]===0x0)return[''];const _0x259f66=_0x36020e(0x106),_0x550393=_0x259f66+_0x36020e(0x2a4),_0x258c25=[{'id':_0x4658e3[_0x36020e(0x1cb)]['id'],'action':_0x259f66+_0x36020e(0x1eb)},{'id':_0x4658e3['RevertRevisionMutation']['id'],'action':_0x259f66+_0x36020e(0x1df)},{'id':_0x56ed82[_0x36020e(0x164)]['id'],'action':_0x259f66+_0x36020e(0x177)},{'id':_0x56ed82['RemoveSheetMutation']['id'],'action':_0x259f66+_0x36020e(0xe5)},{'id':_0x56ed82[_0x36020e(0x1d1)]['id'],'action':_0x259f66+_0x36020e(0x172)},{'id':_0x2fa927[_0x36020e(0x133)]['id'],'action':_0x259f66+_0x36020e(0x2bf)},{'id':_0x346063['AddDataValidationMutation']['id'],'action':_0x259f66+_0x36020e(0x21d)},{'id':_0x346063[_0x36020e(0xe7)]['id'],'action':_0x259f66+_0x36020e(0x21d)},{'id':_0xed2ba5['SetConditionalRuleMutation']['id'],'action':_0x259f66+_0x36020e(0x27b)},{'id':_0xed2ba5[_0x36020e(0x25d)]['id'],'action':_0x259f66+_0x36020e(0x27b)},{'id':_0x56ed82[_0x36020e(0x1e2)]['id'],'action':_0x259f66+_0x36020e(0x139)},{'id':_0x56ed82[_0x36020e(0xce)]['id'],'action':_0x259f66+_0x36020e(0x139)},{'id':_0xd45be1['AddSheetSparklineMutation']['id'],'action':_0x259f66+'addSparkline'},{'id':_0x56ed82[_0x36020e(0x2a5)]['id'],'action':_0x259f66+'deleteProtection'},{'id':_0x56ed82['DeleteWorksheetProtectionMutation']['id'],'action':_0x259f66+'deleteProtection'}]['filter'](_0x139738=>_0x29e726['commands'][_0x36020e(0x16f)](_0x139738['id']));return _0x258c25!=null&&_0x258c25[_0x36020e(0x121)]?_0x258c25[_0x36020e(0x158)](_0xc00194=>_0xc00194[_0x36020e(0xd9)]):[_0x550393];}function _0x1d8852(_0x3b0762,_0x455ce9){const _0x2b4d80=_0x149b74,[_0x3ae277,_0x30a3d2,_0x5133e5]=new Date()[_0x2b4d80(0xd1)]()['split']('T')[0x0][_0x2b4d80(0x222)]('-'),[_0x5e109d,_0x5ba5ae,_0x50172a]=_0x3b0762[_0x2b4d80(0x222)]('-'),_0x3d7fbd=_0x3ae277===_0x5e109d&&_0x30a3d2===_0x5ba5ae&&_0x5133e5===_0x50172a;let _0x280cee='',_0x323d10='',_0x20708b='';switch(_0x455ce9){case _0x287239['LocaleType']['ZH_CN']:return _0x3d7fbd?'今天':(_0x280cee=_0x3ae277===_0x5e109d?'':_0x5e109d+'年',_0x323d10=_0x5ba5ae+'月',_0x20708b=_0x50172a+'日',''+_0x280cee+_0x323d10+_0x20708b);default:return _0x3d7fbd?_0x2b4d80(0xf5):(_0x280cee=_0x3ae277===_0x5e109d?'':_0x5e109d+'-',_0x323d10=_0x5ba5ae+'-',_0x20708b=''+_0x50172a,''+_0x280cee+_0x323d10+_0x20708b);}}function _0x4f3174(_0x41d1f8){const _0xe758c2=_0x149b74;return _0x41d1f8?_0x41d1f8[_0xe758c2(0x102)]((_0x2d4012,_0x4e9fda)=>{const _0x35fb15=_0xe758c2,_0x51d61a=new Date(_0x4e9fda[_0x35fb15(0x233)])[_0x35fb15(0xd1)]()[_0x35fb15(0x222)]('T')[0x0];return _0x2d4012[_0x35fb15(0x121)]>0x0&&_0x2d4012[_0x2d4012['length']-0x1][_0x35fb15(0x264)]===_0x51d61a?_0x2d4012[_0x2d4012[_0x35fb15(0x121)]-0x1][_0x35fb15(0x2d1)]['push'](_0x4e9fda):_0x2d4012['push']({'dateString':_0x51d61a,'versions':[_0x4e9fda]}),_0x2d4012;},[]):[];}var _0x39f7db=Object[_0x149b74(0x1c2)],_0xd4604=(_0x4ac4af,_0x3143ca,_0x253d2d,_0x238812)=>{const _0x38b35a=_0x149b74;for(var _0xb34ba5=_0x238812>0x1?void 0x0:_0x238812?_0x39f7db(_0x3143ca,_0x253d2d):_0x3143ca,_0x463ab9=_0x4ac4af[_0x38b35a(0x121)]-0x1,_0x5bad6d;_0x463ab9>=0x0;_0x463ab9--)(_0x5bad6d=_0x4ac4af[_0x463ab9])&&(_0xb34ba5=_0x5bad6d(_0xb34ba5)||_0xb34ba5);return _0xb34ba5;},_0x3875ed=(_0x4f7755,_0x41a48f)=>(_0x1d1a65,_0x36bc06)=>_0x41a48f(_0x1d1a65,_0x36bc06,_0x4f7755);const _0x9548dd=_0x149b74(0xed);let _0x35ad97=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x14c36d,_0x40e565,_0x58fffe,_0x1178c5,_0x7112d,_0x2b882d,_0x59fae4){const _0x2fc1ee=_0x149b74;super(),_0x217380(this,_0x2fc1ee(0x2ba),new Map()),(this[_0x2fc1ee(0x1af)]=_0x14c36d,this[_0x2fc1ee(0x17a)]=_0x40e565,this[_0x2fc1ee(0x2e6)]=_0x58fffe,this[_0x2fc1ee(0x13b)]=_0x1178c5,this[_0x2fc1ee(0x17b)]=_0x7112d,this[_0x2fc1ee(0x23d)]=_0x2b882d,this[_0x2fc1ee(0xdf)]=_0x59fae4);}[_0x149b74(0x2e9)](){const _0x23edb8=_0x149b74;this['_workbookDataCache'][_0x23edb8(0x15f)](),super[_0x23edb8(0x2e9)]();}async[_0x149b74(0x10a)](_0x29cead,_0x6dbf3d){const _0x24a3f0=_0x149b74,_0x117299=this[_0x24a3f0(0x137)]()+'/'+_0x29cead+'/list?length=20'+(_0x6dbf3d?'&lastLabel='+_0x6dbf3d:'');try{const _0x1aeeaf=(await this[_0x24a3f0(0x17b)][_0x24a3f0(0x266)](_0x117299))[_0x24a3f0(0x2ae)];if(_0x1aeeaf&&_0x1aeeaf[_0x24a3f0(0x157)]&&_0x1aeeaf[_0x24a3f0(0x157)][_0x24a3f0(0x159)]===_0x403561['OK']){const {hasMore:_0x4cab07,lastLabel:_0x567fe5}=_0x1aeeaf,_0x769f99=_0x5cfdcd(_0x1aeeaf),_0x29abd9=_0x1aeeaf['entities'][_0x24a3f0(0x27a)];return{'hasMore':_0x4cab07,'lastLabel':_0x567fe5,'versions':_0x769f99,'members':_0x29abd9};}}catch(_0x15dd51){console[_0x24a3f0(0x157)](_0x15dd51);}return null;}['_getAPIPrefix'](){const _0x3e1d7e=_0x149b74;var _0x4be5bc;const _0x42ebe7=this['_configService'][_0x3e1d7e(0x12f)](_0x18ecfb);return(_0x4be5bc=_0x42ebe7==null?void 0x0:_0x42ebe7[_0x3e1d7e(0x1d9)])!=null?_0x4be5bc:_0x9548dd;}async[_0x149b74(0x243)](_0x17256b,_0x9cd122,_0x3cd3fb){const _0x547d45=_0x149b74;var _0x35948d,_0x382cea;_0x3cd3fb===void 0x0&&(_0x3cd3fb={}),this['_workbookDataCache'][_0x547d45(0xec)](_0x17256b)||this[_0x547d45(0x2ba)][_0x547d45(0x2c3)](_0x17256b,new Map());const {snapshot:_0x2b9071,changesets:_0x4f4a07,error:_0x52eae6}=await this['_snapshotServerService'][_0x547d45(0xd4)](_0x3cd3fb,{'unitID':_0x17256b,'type':_0x24bec5[_0x547d45(0xd7)],'revision':_0x9cd122});if(_0x431555(_0x52eae6)||!_0x2b9071||!_0x2b9071['workbook'])throw new Error(_0x547d45(0x2fb));const _0x488c1f=(_0x35948d=_0x4f4a07==null?void 0x0:_0x4f4a07['length'])!=null?_0x35948d:0x0;if(_0x9cd122!==0x0&&_0x2b9071[_0x547d45(0x29a)]+_0x488c1f!==_0x9cd122)throw new Error(_0x547d45(0x2dc));const {workbook:_0x8bfed2}=_0x2b9071,_0x1c99c4=_0x8bfed2[_0x547d45(0x182)]?Object['entries'](_0x8bfed2[_0x547d45(0x182)])[_0x547d45(0x158)](([_0x27e2d8,_0xbbd627])=>{const _0x133612=_0x547d45;var _0x3700d8,_0x52ce97;return(_0x52ce97=(_0x3700d8=_0xbbd627['blocks'])==null?void 0x0:_0x3700d8[_0x133612(0x158)](_0x19fb8c=>_0x19fb8c))!=null?_0x52ce97:[];})['flat']():[],_0x28fe79=(await Promise[_0x547d45(0x13a)](_0x1c99c4[_0x547d45(0x158)](_0x25985e=>this[_0x547d45(0x1af)]['getDeserializedSheetBlock'](_0x3cd3fb,{'unitID':_0x17256b,'type':_0x24bec5[_0x547d45(0xd7)],'blockID':_0x25985e})[_0x547d45(0x19c)](_0x4f68e9=>_0x4f68e9[_0x547d45(0x2e8)]))))[_0x547d45(0x11b)](_0x20702f=>!!_0x20702f),_0x4090dd=_0x4658e3['transformSnapshotToWorkbookData'](_0x2b9071,_0x28fe79,_0x3cd3fb);return(_0x382cea=this[_0x547d45(0x2ba)][_0x547d45(0x266)](_0x17256b))==null||_0x382cea['set'](_0x9cd122,{'workbook':_0x4090dd}),new Promise(_0x367adb=>{const _0x1ff012=_0x547d45,_0x489746=this[_0x1ff012(0x17a)][_0x1ff012(0x28d)](_0x287239[_0x1ff012(0x1e6)][_0x1ff012(0xd7)]);_0x489746?(this['_univerInstanceService'][_0x1ff012(0x2b3)](_0x489746[_0x1ff012(0xd3)]()),setTimeout(()=>{const _0x2dfcd2=_0x1ff012;this[_0x2dfcd2(0x2b1)](_0x4090dd,_0x4f4a07),this['_sheetPermissionInitController'][_0x2dfcd2(0x23c)](),_0x367adb(!0x0);},0x0)):(this[_0x1ff012(0x2b1)](_0x4090dd,_0x4f4a07),_0x367adb(!0x0));});}[_0x149b74(0x2b1)](_0x54ad93,_0x34759d){const _0x4bf4e8=_0x149b74,_0x3b0e9d=this[_0x4bf4e8(0x17a)][_0x4bf4e8(0x272)](_0x287239[_0x4bf4e8(0x1e6)][_0x4bf4e8(0xd7)],_0x54ad93);this[_0x4bf4e8(0x17a)][_0x4bf4e8(0x189)](_0x3b0e9d[_0x4bf4e8(0xd3)]());const _0x5eff6b=this[_0x4bf4e8(0x23d)][_0x4bf4e8(0xf4)][_0x4bf4e8(0x22d)](this[_0x4bf4e8(0x23d)]['interceptor'][_0x4bf4e8(0x230)]()[_0x4bf4e8(0x1c4)]);return _0x34759d==null||_0x34759d['forEach'](_0x4a8b67=>{const _0x2f866a=_0x4bf4e8,_0x6001cc=_0x4a8b67[_0x2f866a(0x1d3)][_0x2f866a(0x158)](_0x5a3f33=>({'id':_0x5a3f33['id'],'params':JSON[_0x2f866a(0x18b)](_0x5a3f33[_0x2f866a(0x145)])}));({..._0x4a8b67,'mutations':_0x5eff6b(_0x6001cc,null)||_0x6001cc}[_0x2f866a(0x1d3)][_0x2f866a(0x295)](_0x1113e5=>{const _0x5001ea=_0x2f866a;this[_0x5001ea(0x2e6)]['hasCommand'](_0x1113e5['id'])&&this['_commandService'][_0x5001ea(0x167)](_0x1113e5['id'],_0x1113e5[_0x5001ea(0x1a6)]);}));}),_0x3b0e9d;}};_0x35ad97=_0xd4604([_0x3875ed(0x0,_0x4658e3[_0x149b74(0x2f3)]),_0x3875ed(0x1,_0x287239[_0x149b74(0x1b3)]),_0x3875ed(0x2,_0x287239[_0x149b74(0x180)]),_0x3875ed(0x3,_0x287239[_0x149b74(0xeb)]),_0x3875ed(0x4,_0x287239['Inject'](_0x2b0737['HTTPService'])),_0x3875ed(0x5,_0x287239[_0x149b74(0x14e)](_0x4658e3['CompressMutationService'])),_0x3875ed(0x6,_0x287239[_0x149b74(0x14e)](_0x56ed82[_0x149b74(0x2f9)]))],_0x35ad97);function _0x5cfdcd(_0x34f571){const _0x179797=_0x149b74;var _0x56dce5,_0x491619;const _0x12f5a0=[],{entities:_0x20ecc3,historyIds:_0x831992}=_0x34f571,{datas:_0x59703c,users:_0x3cb48c}=_0x20ecc3;for(const _0x147036 of _0x831992)if(_0x59703c[_0x147036]){const _0x36d3ae=!!((_0x56dce5=_0x3cb48c[_0x59703c[_0x147036][_0x179797(0x127)]])!=null&&_0x56dce5[_0x179797(0x2b0)]);_0x12f5a0[_0x179797(0x27c)]({'unitId':_0x59703c[_0x147036]['unitId'],'user':_0x36d3ae?'':((_0x491619=_0x3cb48c==null?void 0x0:_0x3cb48c[_0x59703c[_0x147036][_0x179797(0x127)]])==null?void 0x0:_0x491619['name'])||'','isAnonymous':_0x36d3ae,'id':_0x147036,'time':_0x59703c[_0x147036][_0x179797(0x188)]?Number(_0x59703c[_0x147036][_0x179797(0x188)]):void 0x0,'commands':_0x59703c[_0x147036][_0x179797(0x119)],'startRev':Number(_0x59703c[_0x147036]['startRevision']),'endRev':Number(_0x59703c[_0x147036]['endRevision']),'recoverTime':_0x59703c[_0x147036][_0x179797(0x129)]?Number(_0x59703c[_0x147036][_0x179797(0x129)]):void 0x0});}return _0x12f5a0;}var _0x1e2244=Object[_0x149b74(0x1c2)],_0x5ded08=(_0x2dda40,_0x39f5a2,_0x45f050,_0x517792)=>{for(var _0x2412d0=_0x517792>0x1?void 0x0:_0x517792?_0x1e2244(_0x39f5a2,_0x45f050):_0x39f5a2,_0xe9dbc6=_0x2dda40['length']-0x1,_0x2bf7eb;_0xe9dbc6>=0x0;_0xe9dbc6--)(_0x2bf7eb=_0x2dda40[_0xe9dbc6])&&(_0x2412d0=_0x2bf7eb(_0x2412d0)||_0x2412d0);return _0x2412d0;},_0x2e2817=(_0x305443,_0x392a49)=>(_0x5c6d47,_0x307694)=>_0x392a49(_0x5c6d47,_0x307694,_0x305443),_0x2c8ae7=(_0x589317=>(_0x589317['Entered']=_0x149b74(0x246),_0x589317[_0x149b74(0x1a4)]='exited',_0x589317[_0x149b74(0x13c)]=_0x149b74(0x157),_0x589317))(_0x2c8ae7||{}),_0x411a36=(_0x56cbd0=>(_0x56cbd0[_0x149b74(0x291)]='init',_0x56cbd0[_0x149b74(0x181)]='loading',_0x56cbd0[_0x149b74(0x258)]=_0x149b74(0x283),_0x56cbd0))(_0x411a36||{});const _0x3b9a55=_0x149b74(0x10e);_0x2afb7b['HistoryManagerService']=class extends _0x287239['Disposable']{constructor(_0x5ee1d2,_0x4eebbc,_0x233039,_0x13567b){const _0x33d658=_0x149b74;super(),_0x217380(this,_0x33d658(0x2f7),new _0x493d52[(_0x33d658(0x288))]([])),_0x217380(this,_0x33d658(0x156),this[_0x33d658(0x2f7)]['asObservable']()),_0x217380(this,_0x33d658(0x14d),new _0x493d52['BehaviorSubject']('')),_0x217380(this,_0x33d658(0x2fe),this['_currentVersion$'][_0x33d658(0x1ac)]()),_0x217380(this,_0x33d658(0x2fd),new _0x493d52[(_0x33d658(0x288))](_0x33d658(0x246))),_0x217380(this,_0x33d658(0x206),this['_status$'][_0x33d658(0x1ac)]()),_0x217380(this,_0x33d658(0x1f5),new _0x493d52[(_0x33d658(0x288))](0x0)),_0x217380(this,_0x33d658(0x2f6),this[_0x33d658(0x1f5)]['asObservable']()),_0x217380(this,_0x33d658(0x1ca),new _0x493d52[(_0x33d658(0x288))]('')),_0x217380(this,_0x33d658(0x12d),this[_0x33d658(0x1ca)][_0x33d658(0x1ac)]()),_0x217380(this,'_fetching',!0x1),_0x217380(this,_0x33d658(0x217),new _0x493d52[(_0x33d658(0x288))](_0x33d658(0x2f5))),_0x217380(this,'loadingState$',this['_loadingState$'][_0x33d658(0x1ac)]()),_0x217380(this,'_lastLabel',null),_0x217380(this,_0x33d658(0x2f4),!0x0),_0x217380(this,_0x33d658(0x200),new Map()),_0x217380(this,'_historyContainerId'),_0x217380(this,_0x33d658(0x229)),_0x217380(this,'_maskElement'),_0x217380(this,'_canRevert',!0x1),(this[_0x33d658(0x1f3)]=_0x5ee1d2,this[_0x33d658(0x2c8)]=_0x4eebbc,this[_0x33d658(0x23b)]=_0x233039,this[_0x33d658(0x2a1)]=_0x13567b);}async[_0x149b74(0x171)](_0x4a3598,_0xba8a72,_0x2448c4){const _0x55596d=_0x149b74;this['_historyContainerId']=_0xba8a72,this[_0x55596d(0x162)]=_0x2448c4,this[_0x55596d(0x1ca)][_0x55596d(0x19d)](_0x4a3598),this[_0x55596d(0x20a)]=!0x0;const _0x25e39d=await this['_historyFetchService']['getVersions'](_0x4a3598);if(this[_0x55596d(0x20a)]=!0x1,_0x25e39d){const {versions:_0x41f4cd,lastLabel:_0x355c31,hasMore:_0x386be4,members:_0xf17fde}=_0x25e39d;_0x41f4cd[_0x55596d(0x121)]===0x0&&_0x41f4cd[_0x55596d(0x27c)]({'unitId':_0x4a3598,'id':_0x3b9a55,'startRev':0x1,'endRev':0x0,'time':Date[_0x55596d(0x28e)](),'user':this['_localeService']['t'](_0x55596d(0x1bc)),'commands':[],'isAnonymous':!0x1}),this[_0x55596d(0x123)](_0x41f4cd,_0x386be4,_0x355c31,_0xf17fde),this['_currentVersion$'][_0x55596d(0x19d)](_0x41f4cd[0x0]['id']);}else this[_0x55596d(0x2fd)]['next'](_0x55596d(0x157));}async['loadMoreVersions'](){const _0x517f69=_0x149b74;if(!this[_0x517f69(0x1d5)]||!this[_0x517f69(0x2f4)]||this[_0x517f69(0x20a)])return!0x1;this[_0x517f69(0x20a)]=!0x0;const _0x53f8ca=await this['_historyFetchService'][_0x517f69(0x10a)](this[_0x517f69(0x1c6)],this[_0x517f69(0x1d5)]);if(this[_0x517f69(0x20a)]=!0x1,_0x53f8ca){const {versions:_0x4ef6e2,lastLabel:_0x108814,hasMore:_0x4a1028,members:_0x41c147}=_0x53f8ca;this[_0x517f69(0x123)](_0x4ef6e2,_0x4a1028,_0x108814,_0x41c147);}else this[_0x517f69(0x1f3)][_0x517f69(0x252)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x407bc3[_0x517f69(0x241)][_0x517f69(0x13c)],'duration':0xbb8});return!0x0;}async[_0x149b74(0x249)](_0x1301e1){const _0x3b0f78=_0x149b74;var _0x9cbb8c;const _0x209eaa=(_0x9cbb8c=this['_versions$'][_0x3b0f78(0x2e2)])==null?void 0x0:_0x9cbb8c[_0x3b0f78(0x24f)](_0x46ca23=>_0x46ca23['id']===_0x1301e1),{endRev:_0x3db3af}=_0x209eaa||{};_0x3db3af||_0x3db3af===0x0?(this['_loadingState$']['next'](_0x3b0f78(0x22c)),await this[_0x3b0f78(0x2a1)][_0x3b0f78(0x243)](this[_0x3b0f78(0x1c6)],_0x3db3af),this[_0x3b0f78(0x217)][_0x3b0f78(0x19d)](_0x3b0f78(0x283))):this['_status$'][_0x3b0f78(0x19d)]('error');}async[_0x149b74(0x271)](_0x180f27){const _0x71604b=_0x149b74,_0x3265d5=_0x180f27?this['getVersion'](_0x180f27):this[_0x71604b(0x205)]();if(!_0x3265d5)return;const _0x47e1e2=_0x3265d5[_0x71604b(0x1e8)],_0xdefb8e=_0x610a11(_0x3265d5[_0x71604b(0x233)],this[_0x71604b(0x23b)]['getCurrentLocale']());await this['_confirmService'][_0x71604b(0xe2)]({'id':_0x71604b(0x2a7),'title':{'title':this[_0x71604b(0x23b)]['t'](_0x71604b(0x130))},'children':{'title':this[_0x71604b(0x23b)]['t']('editHistory.panel.revertConfirmText')+_0x71604b(0x187)+_0xdefb8e[_0x71604b(0x1de)]+'\x20'+_0xdefb8e[_0x71604b(0x233)]+')'},'cancelText':this['_localeService']['t'](_0x71604b(0xea)),'confirmText':this['_localeService']['t']('editHistory.panel.confirm')})&&this[_0x71604b(0x1f5)][_0x71604b(0x19d)](_0x47e1e2);}[_0x149b74(0x123)](_0x52b0e5,_0x3c6daf,_0x178182,_0x44b247){const _0x47e789=_0x149b74;this['_versions$'][_0x47e789(0x19d)](this[_0x47e789(0x2f7)][_0x47e789(0x2e2)]['concat'](_0x52b0e5)),this[_0x47e789(0x2f4)]=_0x3c6daf,this[_0x47e789(0x1d5)]=_0x178182,_0x44b247&&Object['keys'](_0x44b247)[_0x47e789(0x295)](_0x3d0446=>this[_0x47e789(0x200)][_0x47e789(0x2c3)](_0x3d0446,_0x44b247[_0x3d0446]));}['getCurrentVersion'](){const _0x437c42=_0x149b74;return this[_0x437c42(0x29f)](this['_currentVersion$'][_0x437c42(0x2e2)]);}['getVersion'](_0x36baab){const _0x29c16d=_0x149b74;var _0x2bb1a1;return(_0x2bb1a1=this[_0x29c16d(0x2f7)][_0x29c16d(0x2e2)])==null?void 0x0:_0x2bb1a1[_0x29c16d(0x24f)](_0x241e64=>_0x241e64['id']===_0x36baab);}[_0x149b74(0x282)](_0x3adbdf){const _0x538b8a=_0x149b74;return this[_0x538b8a(0x200)][_0x538b8a(0x266)](_0x3adbdf);}[_0x149b74(0x2a9)](){const _0x4f7b0f=_0x149b74;this['_maskElement']=document[_0x4f7b0f(0x2e0)](_0x4f7b0f(0x2a6)),this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0xfc)]=_0x4f7b0f(0x27f),this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0x20b)][_0x4f7b0f(0x1e9)]='absolute',this[_0x4f7b0f(0x2b5)]['style']['top']='0',this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0x20b)][_0x4f7b0f(0x14f)]='0',this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0x20b)][_0x4f7b0f(0x19f)]='100%',this['_maskElement'][_0x4f7b0f(0x20b)][_0x4f7b0f(0x297)]=_0x4f7b0f(0x143),this[_0x4f7b0f(0x2b5)]['style'][_0x4f7b0f(0x1d0)]=_0x4f7b0f(0x2c9),this['_maskElement']['style'][_0x4f7b0f(0xcf)]=_0x4f7b0f(0x1ad),this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0x20b)]['display']=_0x4f7b0f(0x1e3),this['_maskElement']['style']['justifyContent']=_0x4f7b0f(0x22f),this[_0x4f7b0f(0x2b5)]['style'][_0x4f7b0f(0x1dc)]=_0x4f7b0f(0x1ea),this['_maskElement'][_0x4f7b0f(0x20b)][_0x4f7b0f(0x23f)]=_0x4f7b0f(0x142),this[_0x4f7b0f(0x229)][_0x4f7b0f(0x2f8)](this[_0x4f7b0f(0x2b5)]);}[_0x149b74(0x2a0)](){const _0x405d81=_0x149b74;var _0x3fcd2e;const _0x2c41a3=(_0x3fcd2e=document['getElementById'](this['_historyContainerId']))==null?void 0x0:_0x3fcd2e[_0x405d81(0x25f)](_0x405d81(0x132));_0x2c41a3&&(this[_0x405d81(0x229)]=_0x2c41a3,this[_0x405d81(0x2a9)]());}[_0x149b74(0xdd)](){const _0xb1aaa1=_0x149b74;this[_0xb1aaa1(0x229)]||this[_0xb1aaa1(0x2a0)](),this['_maskElement']&&(this['_maskElement'][_0xb1aaa1(0x20b)][_0xb1aaa1(0x23f)]=_0xb1aaa1(0x1e3));}[_0x149b74(0x259)](){const _0xac0f6=_0x149b74;this['_maskElement']&&(this['_maskElement'][_0xac0f6(0x20b)][_0xac0f6(0x23f)]=_0xac0f6(0x142));}set[_0x149b74(0x120)](_0x31815f){const _0x2fb7f9=_0x149b74;this[_0x2fb7f9(0x2fd)][_0x2fb7f9(0x19d)](_0x31815f);}set['currentVersion'](_0xc682e){const _0x208795=_0x149b74;_0xc682e!==this[_0x208795(0x14d)][_0x208795(0x2e2)]&&this[_0x208795(0x14d)]['next'](_0xc682e);}get['currentVersion'](){const _0x308e50=_0x149b74;return this[_0x308e50(0x14d)][_0x308e50(0x2e2)];}set[_0x149b74(0x1c6)](_0x4d8506){const _0x554c0a=_0x149b74;this['_unitId$'][_0x554c0a(0x19d)](_0x4d8506);}get['unitId'](){const _0xdbce64=_0x149b74;return this[_0xdbce64(0x1ca)][_0xdbce64(0x2e2)];}get[_0x149b74(0x2ee)](){return this['_canRevert'];}get[_0x149b74(0x190)](){const _0x2a98cd=_0x149b74;return this[_0x2a98cd(0x217)][_0x2a98cd(0x2e2)];}},_0x2afb7b[_0x149b74(0x15b)]=_0x5ded08([_0x2e2817(0x0,_0x1f9fca['IMessageService']),_0x2e2817(0x1,_0x1f9fca['IConfirmService']),_0x2e2817(0x2,_0x287239[_0x149b74(0x14e)](_0x287239[_0x149b74(0x298)])),_0x2e2817(0x3,_0x287239['Inject'](_0x35ad97))],_0x2afb7b[_0x149b74(0x15b)]);function _0x178652({ref:_0x252a64,..._0x4e240f}){const _0x104251=_0x149b74,{icon:_0xd9dbd7,id:_0x9cbac4,className:_0x3b01d6,extend:_0x1b8856,..._0x2060a4}=_0x4e240f,_0x1ddb59=('univerjs-icon\x20univerjs-icon-'+_0x9cbac4+'\x20'+(_0x3b01d6||''))['trim'](),_0xa7b887=_0x5cef4f[_0x104251(0xd6)]('_'+_0x3491f8());return _0x465402(_0xd9dbd7,''+_0x9cbac4,{'defIds':_0xd9dbd7[_0x104251(0x1a5)],'idSuffix':_0xa7b887[_0x104251(0xf9)]},{'ref':_0x252a64,'className':_0x1ddb59,..._0x2060a4},_0x1b8856);}function _0x465402(_0x13ec16,_0xc2669d,_0x524d5f,_0x5a7de8,_0x103ab6){const _0x15fe11=_0x149b74;return _0x5cef4f[_0x15fe11(0x2e0)](_0x13ec16['tag'],{'key':_0xc2669d,..._0x372083(_0x13ec16,_0x524d5f,_0x103ab6),..._0x5a7de8},(_0x2fa0a1(_0x13ec16,_0x524d5f)[_0x15fe11(0x2bc)]||[])['map']((_0x4fd65d,_0x42fa95)=>_0x465402(_0x4fd65d,_0xc2669d+'-'+_0x13ec16['tag']+'-'+_0x42fa95,_0x524d5f,void 0x0,_0x103ab6)));}function _0x372083(_0x536176,_0x495634,_0x176998){const _0x5beb07=_0x149b74,_0xfd4dde={..._0x536176[_0x5beb07(0x21f)]};_0x176998!=null&&_0x176998[_0x5beb07(0x2c0)]&&_0xfd4dde[_0x5beb07(0x227)]===_0x5beb07(0x2c0)&&(_0xfd4dde[_0x5beb07(0x227)]=_0x176998[_0x5beb07(0x2c0)]),_0x536176['tag']==='mask'&&_0xfd4dde['id']&&(_0xfd4dde['id']=_0xfd4dde['id']+_0x495634[_0x5beb07(0x10f)]),Object[_0x5beb07(0x2da)](_0xfd4dde)[_0x5beb07(0x295)](([_0x2798ab,_0x4198d7])=>{const _0x26bc39=_0x5beb07;_0x2798ab===_0x26bc39(0x2c4)&&typeof _0x4198d7=='string'&&(_0xfd4dde[_0x2798ab]=_0x4198d7['replace'](/url\(#(.*)\)/,_0x26bc39(0x176)+_0x495634[_0x26bc39(0x10f)]+')'));});const {defIds:_0x393d91}=_0x495634;return!_0x393d91||_0x393d91[_0x5beb07(0x121)]===0x0||(_0x536176[_0x5beb07(0x1b2)]==='use'&&_0xfd4dde[_0x5beb07(0x26d)]&&(_0xfd4dde['xlink:href']=_0xfd4dde[_0x5beb07(0x26d)]+_0x495634[_0x5beb07(0x10f)]),Object[_0x5beb07(0x2da)](_0xfd4dde)[_0x5beb07(0x295)](([_0xa4a1f7,_0x4d9268])=>{const _0x5ecc9e=_0x5beb07;typeof _0x4d9268==_0x5ecc9e(0x197)&&(_0xfd4dde[_0xa4a1f7]=_0x4d9268[_0x5ecc9e(0x20e)](/url\(#(.*)\)/,_0x5ecc9e(0x176)+_0x495634['idSuffix']+')'));})),_0xfd4dde;}function _0x2fa0a1(_0xf0c402,_0x272ca2){const _0x386154=_0x149b74;var _0x47798b;const {defIds:_0x45e17a}=_0x272ca2;return!_0x45e17a||_0x45e17a[_0x386154(0x121)]===0x0?_0xf0c402:_0xf0c402[_0x386154(0x1b2)]==='defs'&&((_0x47798b=_0xf0c402[_0x386154(0x2bc)])!=null&&_0x47798b[_0x386154(0x121)])?{..._0xf0c402,'children':_0xf0c402[_0x386154(0x2bc)][_0x386154(0x158)](_0x25e767=>typeof _0x25e767[_0x386154(0x21f)]['id']==_0x386154(0x197)&&_0x45e17a&&_0x45e17a[_0x386154(0x16f)](_0x25e767[_0x386154(0x21f)]['id'])?{..._0x25e767,'attrs':{..._0x25e767['attrs'],'id':_0x25e767[_0x386154(0x21f)]['id']+_0x272ca2['idSuffix']}}:_0x25e767)}:_0xf0c402;}function _0x3491f8(){const _0x295d43=_0x149b74;return Math[_0x295d43(0x168)]()[_0x295d43(0x21c)](0x24)['substring'](0x2,0x8);}_0x178652['displayName']='UniverIcon';const _0x449c94={'tag':_0x149b74(0x179),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x149b74(0x1a0),'width':_0x149b74(0x2db),'height':_0x149b74(0x2db)},'children':[{'tag':_0x149b74(0x166),'attrs':{'fill':_0x149b74(0x1b0),'d':_0x149b74(0x28f)}}]},_0x56b031=_0x5cef4f[_0x149b74(0x101)](function(_0x5f5b5e,_0x1fb8d0){const _0x69a6b7=_0x149b74;return _0x5cef4f[_0x69a6b7(0x2e0)](_0x178652,Object[_0x69a6b7(0x199)]({},_0x5f5b5e,{'id':_0x69a6b7(0xf0),'ref':_0x1fb8d0,'icon':_0x449c94}));});_0x56b031['displayName']=_0x149b74(0x12c);const _0x4dbe8f={'tag':_0x149b74(0x179),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x149b74(0x142),'viewBox':_0x149b74(0x10b),'width':'1em','height':_0x149b74(0x2db)},'children':[{'tag':'g','attrs':{'fill':_0x149b74(0x1b0),'clipPath':_0x149b74(0x2ab)},'children':[{'tag':_0x149b74(0x166),'attrs':{'d':_0x149b74(0x1fb)}},{'tag':_0x149b74(0x166),'attrs':{'d':_0x149b74(0x195),'fillRule':'evenodd','clipRule':_0x149b74(0x126)}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x149b74(0x2af)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x149b74(0x1ad),'rx':0x4}}]}]}],'defIds':[_0x149b74(0x2af)]},_0x3664fd=_0x5cef4f['forwardRef'](function(_0x47eee0,_0x20212e){const _0x4772a0=_0x149b74;return _0x5cef4f[_0x4772a0(0x2e0)](_0x178652,Object[_0x4772a0(0x199)]({},_0x47eee0,{'id':_0x4772a0(0xf8),'ref':_0x20212e,'icon':_0x4dbe8f}));});_0x3664fd[_0x149b74(0x26c)]=_0x149b74(0x19a);const _0x212f44={'tag':_0x149b74(0x179),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x149b74(0x142),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x149b74(0x2db)},'children':[{'tag':_0x149b74(0x166),'attrs':{'fill':'#0B9EFB','d':_0x149b74(0x201),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x149b74(0x166),'attrs':{'fill':_0x149b74(0x25c),'d':_0x149b74(0x228),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x2ae722=_0x5cef4f[_0x149b74(0x101)](function(_0x3e7222,_0x5c3104){const _0x5c4df1=_0x149b74;return _0x5cef4f[_0x5c4df1(0x2e0)](_0x178652,Object['assign']({},_0x3e7222,{'id':_0x5c4df1(0x276),'ref':_0x5c3104,'icon':_0x212f44}));});_0x2ae722[_0x149b74(0x26c)]=_0x149b74(0x138);function _0x171a95(){const _0x116286=_0x149b74;var _0x48d3ad;const _0x13994c=_0x1f9fca[_0x116286(0x1a9)](_0x2afb7b[_0x116286(0x15b)]),_0x42023b=_0x1f9fca[_0x116286(0x1a9)](_0x287239[_0x116286(0x298)]),_0x16477f=_0x5cef4f[_0x116286(0xfa)](()=>{const _0x386079=_0x116286;_0x13994c[_0x386079(0x120)]=_0x2c8ae7[_0x386079(0x1a4)];},[_0x13994c]),_0x2806af=_0x5cef4f[_0x116286(0xfa)](()=>{const _0x18c9b8=_0x116286;_0x13994c[_0x18c9b8(0x271)]();},[_0x13994c]),_0x1220ae=_0x1f9fca[_0x116286(0x240)](_0x13994c[_0x116286(0x2fe)]),_0x5663dc=_0x1f9fca[_0x116286(0x240)](_0x13994c[_0x116286(0x156)]),_0x43651a=_0x1220ae===((_0x48d3ad=_0x5663dc==null?void 0x0:_0x5663dc[0x0])==null?void 0x0:_0x48d3ad['id']),_0x24fa81=_0x1220ae!==''&&!_0x43651a&&_0x13994c[_0x116286(0x2ee)];return _0x5118a6[_0x116286(0x1b8)](_0x116286(0x2a6),{'className':_0x407bc3['clsx'](_0x116286(0x15d),_0x407bc3['borderBottomClassName']),'children':[_0x5118a6[_0x116286(0xff)]('a',{'className':'univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','role':'button','onClick':_0x16477f,'children':_0x5118a6[_0x116286(0xff)](_0x56b031,{'className':'univer-text-2xl\x20dark:!univer-text-white'})}),_0x5118a6['jsx'](_0x116286(0x2a6),{'className':_0x116286(0x183),'children':_0x24fa81&&_0x5118a6[_0x116286(0xff)](_0x407bc3[_0x116286(0x150)],{'variant':_0x116286(0x17e),'onClick':_0x2806af,'children':_0x42023b['t'](_0x116286(0x265))})})]});}var _0x2f02a=Object[_0x149b74(0x1c2)],_0x552d18=(_0x37c69,_0x566ae2,_0x3eb121,_0x5d80ac)=>{const _0x410280=_0x149b74;for(var _0x51868d=_0x5d80ac>0x1?void 0x0:_0x5d80ac?_0x2f02a(_0x566ae2,_0x3eb121):_0x566ae2,_0x596b67=_0x37c69[_0x410280(0x121)]-0x1,_0x241f87;_0x596b67>=0x0;_0x596b67--)(_0x241f87=_0x37c69[_0x596b67])&&(_0x51868d=_0x241f87(_0x51868d)||_0x51868d);return _0x51868d;},_0x1d5562=(_0x584f34,_0x1f9483)=>(_0x51a670,_0x4f79e2)=>_0x1f9483(_0x51a670,_0x4f79e2,_0x584f34);let _0x592ff1=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x2cc209,_0x348365,_0x1411a2,_0x452d92,_0x56519a,_0x54765f){const _0x599ae0=_0x149b74;super(),this['_permissionService']=_0x2cc209,this['_uiPartsService']=_0x348365,this[_0x599ae0(0x1f3)]=_0x1411a2,this[_0x599ae0(0x23b)]=_0x452d92,this[_0x599ae0(0x1b9)]=_0x56519a,this[_0x599ae0(0x1ff)]=_0x54765f,this[_0x599ae0(0x1b4)]();}[_0x149b74(0x1b4)](){const _0x10843c=_0x149b74;this[_0x10843c(0x17c)](this[_0x10843c(0x1b9)][_0x10843c(0x2fe)][_0x10843c(0x2a3)](_0x44aca1=>{const _0x38a63d=_0x10843c;_0x44aca1&&this[_0x38a63d(0x1b9)][_0x38a63d(0x249)](_0x44aca1);})),this[_0x10843c(0x17c)](this[_0x10843c(0x2e7)][_0x10843c(0x236)][_0x10843c(0x2a3)](_0x119223=>{const _0x8af106=_0x10843c,_0x260cd9=this[_0x8af106(0x1b9)][_0x8af106(0x1c6)];_0x260cd9&&(_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0x2d0)]&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82['WorkbookEditablePermission'](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0xef)]&&_0x119223['value']===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82[(_0x8af106(0x2aa))](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0x1bf)]&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82[(_0x8af106(0x146))](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0x1fa)]&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82[(_0x8af106(0x1da))](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8['Comment']&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82['WorkbookEditablePermission'](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0x154)]&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82[(_0x8af106(0x1ce))](_0x260cd9)['id'],!0x1));})),this['disposeWithMe'](this[_0x10843c(0x239)]['registerComponent'](_0x1f9fca[_0x10843c(0x10d)][_0x10843c(0x1f1)],()=>_0x1f9fca[_0x10843c(0x2c1)](_0x171a95,this['_injector']))),this[_0x10843c(0x17c)](this[_0x10843c(0x1b9)][_0x10843c(0x15c)][_0x10843c(0x2a3)](_0x191446=>{const _0x27af6c=_0x10843c;_0x191446===_0x411a36[_0x27af6c(0x181)]&&(this['_historyManagerService'][_0x27af6c(0xdd)](),this[_0x27af6c(0x1f3)][_0x27af6c(0x252)]({'type':_0x407bc3[_0x27af6c(0x241)]['Info'],'content':this[_0x27af6c(0x23b)]['t'](_0x27af6c(0xfe))})),_0x191446===_0x411a36[_0x27af6c(0x258)]&&this[_0x27af6c(0x1b9)][_0x27af6c(0x259)]();}));}};_0x592ff1=_0x552d18([_0x1d5562(0x0,_0x287239[_0x149b74(0x19e)]),_0x1d5562(0x1,_0x1f9fca[_0x149b74(0x140)]),_0x1d5562(0x2,_0x1f9fca['IMessageService']),_0x1d5562(0x3,_0x287239[_0x149b74(0x14e)](_0x287239[_0x149b74(0x298)])),_0x1d5562(0x4,_0x287239[_0x149b74(0x14e)](_0x2afb7b[_0x149b74(0x15b)])),_0x1d5562(0x5,_0x287239['Inject'](_0x287239['Injector']))],_0x592ff1);var _0x1c7eb4=Object[_0x149b74(0x1c2)],_0x2630ce=(_0x52d753,_0xcbc072,_0x286ef3,_0x39624b)=>{for(var _0x2f2cb0=_0x39624b>0x1?void 0x0:_0x39624b?_0x1c7eb4(_0xcbc072,_0x286ef3):_0xcbc072,_0x150083=_0x52d753['length']-0x1,_0x32c85c;_0x150083>=0x0;_0x150083--)(_0x32c85c=_0x52d753[_0x150083])&&(_0x2f2cb0=_0x32c85c(_0x2f2cb0)||_0x2f2cb0);return _0x2f2cb0;},_0x5daccd=(_0x3b4199,_0x39131b)=>(_0x17772e,_0x30c39b)=>_0x39131b(_0x17772e,_0x30c39b,_0x3b4199);let _0x19337e=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0xd18b43,_0x5b0af8,_0x37605e){const _0x4e8b10=_0x149b74;super(),_0x217380(this,_0x4e8b10(0x12e),new Map()),_0x217380(this,_0x4e8b10(0x19b),new _0x493d52[(_0x4e8b10(0x288))]({'ranges':new Map(),'active':null})),_0x217380(this,_0x4e8b10(0x2b7),this['_currentVersionDiff$'][_0x4e8b10(0x1ac)]()),(this['_historyManagerService']=_0xd18b43,this[_0x4e8b10(0x15e)]=_0x5b0af8,this[_0x4e8b10(0x1af)]=_0x37605e,this['_init']());}[_0x149b74(0x1b4)](){const _0x42f3af=_0x149b74;this[_0x42f3af(0x12e)]=new Map(),this[_0x42f3af(0x17c)](this[_0x42f3af(0x1b9)][_0x42f3af(0x12d)][_0x42f3af(0x2a3)](_0xe66688=>{const _0x5d3396=_0x42f3af;_0xe66688&&!this[_0x5d3396(0x12e)][_0x5d3396(0xec)](_0xe66688)&&this[_0x5d3396(0x12e)][_0x5d3396(0x2c3)](_0xe66688,new Map());})),this[_0x42f3af(0x17c)](this[_0x42f3af(0x1b9)]['currentVersion$'][_0x42f3af(0x2a3)](async _0x43e07b=>{const _0x37b705=_0x42f3af;var _0x43a24e;_0x43e07b&&(await this[_0x37b705(0x13d)](_0x43e07b),this[_0x37b705(0x19b)][_0x37b705(0x19d)](((_0x43a24e=this['_diffRangesMap'][_0x37b705(0x266)](this[_0x37b705(0x1b9)][_0x37b705(0x1c6)]))==null?void 0x0:_0x43a24e[_0x37b705(0x266)](_0x43e07b))||{'ranges':new Map(),'active':null}));}));}async[_0x149b74(0x13d)](_0xa5d010){const _0x192002=_0x149b74;var _0x1d12c0,_0xd6a31;const _0x3c0234=this[_0x192002(0x1b9)][_0x192002(0x29f)](_0xa5d010),_0x18e34a=this['_historyManagerService'][_0x192002(0x1c6)];if(!_0x3c0234||!_0x18e34a)return;const _0x31679b=this[_0x192002(0x12e)]['get'](_0x18e34a);if(_0x31679b||this[_0x192002(0x12e)]['set'](_0x18e34a,new Map()),(_0x1d12c0=this[_0x192002(0x12e)][_0x192002(0x266)](_0x18e34a))!=null&&_0x1d12c0[_0x192002(0xec)](_0x3c0234['id']))return;const {startRev:_0x52d24a,endRev:_0x141941}=_0x3c0234;if(_0x52d24a===0x1){_0x31679b[_0x192002(0x2c3)](_0x3c0234['id'],{'ranges':new Map(),'active':null});return;}const _0x39b612=_0x52d24a-0x1,_0xeaa53d=_0x141941,_0x20d004=await this[_0x192002(0x1af)][_0x192002(0x1d6)]({},{'unitID':_0x18e34a,'from':_0x39b612,'to':_0xeaa53d,'type':_0x24bec5['UNIVER_SHEET']});if(((_0xd6a31=_0x20d004[_0x192002(0x157)])==null?void 0x0:_0xd6a31[_0x192002(0x159)])===_0x403561['OK']){const _0x46363e=_0x20d004[_0x192002(0x10c)]['map'](_0x5e9050=>((_0x5e9050[_0x192002(0x1d3)]===null||_0x5e9050['mutations']===void 0x0)&&(_0x5e9050[_0x192002(0x1d3)]=[]),_0x4658e3['parseProtocolChangeset'](_0x5e9050)))[_0x192002(0x158)](_0x4780eb=>_0x4780eb['mutations'][_0x192002(0x158)](_0x4fec98=>({..._0x4fec98,'params':{..._0x4fec98[_0x192002(0x1a6)],'memberId':_0x4780eb[_0x192002(0x109)]}})))['flat'](),_0x4bf038=this[_0x192002(0x134)](_0x46363e),_0x55aeb=this['_getActiveSubUnitId'](_0x46363e),_0x2cec59=this[_0x192002(0x191)](_0x4bf038);_0x31679b['set'](_0x3c0234['id'],{'ranges':_0x2cec59,'active':_0x55aeb});}}[_0x149b74(0x134)](_0x3e92f5){const _0xe706be=_0x149b74;let _0x38a4ef=[];for(let _0x435b2e=0x0;_0x435b2e<_0x3e92f5[_0xe706be(0x121)];_0x435b2e++){const _0x3c09ae=_0x3e92f5[_0x435b2e];if(_0x38a4ef[_0xe706be(0x27c)](_0x3c09ae),_0x435b2e!==_0x3e92f5['length']-0x1){const _0x48d38b=_0x3e92f5[_0x435b2e+0x1],_0x4a6aef=this[_0xe706be(0x15e)][_0xe706be(0x2e5)](_0x38a4ef,[_0x48d38b]);_0x4658e3[_0xe706be(0x292)](_0x4a6aef)?_0x38a4ef=_0x4a6aef[_0xe706be(0xe1)]:_0x38a4ef=[];}}return _0x38a4ef;}[_0x149b74(0x1ec)](_0x12423a){const _0x52d5d0=_0x149b74;let _0x95596c=[];return _0x12423a[_0x52d5d0(0x295)](_0x2a6f94=>{const _0x5d654e=_0x52d5d0;if(_0x2a6f94['id']===_0x56ed82[_0x5d654e(0x164)]['id']){const _0x4b67a3=_0x2a6f94[_0x5d654e(0x1a6)];_0x95596c[_0x5d654e(0x27c)](_0x4b67a3[_0x5d654e(0x11d)]['id']);}else{if(_0x2a6f94['id']===_0x56ed82[_0x5d654e(0x161)]['id']){const _0x1ee9ad=_0x2a6f94[_0x5d654e(0x1a6)];_0x95596c[_0x5d654e(0x121)]>0x0&&(_0x95596c=_0x95596c[_0x5d654e(0x11b)](_0x143e6c=>_0x143e6c!==_0x1ee9ad[_0x5d654e(0x1f4)]));}else{if(_0x2a6f94['id']===_0x56ed82[_0x5d654e(0x1cc)]['id']){const _0x10c879=_0x2a6f94['params'];_0x10c879[_0x5d654e(0x1e1)]?_0x95596c=_0x95596c[_0x5d654e(0x11b)](_0x184b04=>_0x184b04!==_0x10c879[_0x5d654e(0x1f4)]):_0x95596c[_0x5d654e(0x27c)](_0x10c879[_0x5d654e(0x1f4)]);}else{const _0x418792=_0x2a6f94['params'];_0x418792[_0x5d654e(0x1f4)]&&_0x95596c[_0x5d654e(0x27c)](_0x418792['subUnitId']);}}}}),_0x95596c[_0x52d5d0(0x121)]>0x0?_0x95596c[_0x95596c[_0x52d5d0(0x121)]-0x1]:null;}['_extractRanges'](_0x2b910e){const _0x1a1304=_0x149b74,_0x24a6bb=new Map();return _0x2b910e[_0x1a1304(0x295)](_0x3700ce=>{const _0x3be39b=_0x1a1304;var _0x225881,_0x8e1ecd;const _0x232cda=(_0x225881=_0x3700ce[_0x3be39b(0x1a6)])==null?void 0x0:_0x225881[_0x3be39b(0x1cd)];if(_0x232cda){_0x24a6bb[_0x3be39b(0xec)](_0x232cda)||_0x24a6bb[_0x3be39b(0x2c3)](_0x232cda,[]);const _0x3b6def=this[_0x3be39b(0x2d8)](_0x3700ce);(_0x8e1ecd=_0x24a6bb[_0x3be39b(0x266)](_0x232cda))==null||_0x8e1ecd['push'](..._0x3b6def);}}),_0x24a6bb[_0x1a1304(0x295)]((_0x8e24cf,_0x2426b6)=>{const _0x482da7=_0x1a1304;_0x24a6bb[_0x482da7(0x2c3)](_0x2426b6,this[_0x482da7(0x277)](_0x8e24cf));}),_0x24a6bb;}['_getRangesByMutation'](_0x3173cb){const _0x3faf66=_0x149b74;switch(_0x3173cb['id']){case _0x56ed82['AddRangeProtectionMutation']['id']:{const _0x4828e3=_0x3173cb['params'];return _0x4828e3[_0x3faf66(0x185)][_0x3faf66(0x158)](_0x232726=>_0x232726[_0x3faf66(0x1ee)][_0x3faf66(0x158)](_0x203c44=>({'range':_0x203c44,'unitId':_0x4828e3[_0x3faf66(0x1c6)],'subUnitId':_0x4828e3[_0x3faf66(0x1f4)]})))[_0x3faf66(0x1c7)]();}case _0x56ed82['AddWorksheetMergeMutation']['id']:{const _0x15c4a7=_0x3173cb[_0x3faf66(0x1a6)];return _0x15c4a7[_0x3faf66(0x1ee)][_0x3faf66(0x158)](_0xb8efe8=>({'range':_0xb8efe8,'unitId':_0x15c4a7['unitId'],'subUnitId':_0x15c4a7['subUnitId']}));}case _0x56ed82[_0x3faf66(0x2ca)]['id']:{const _0x2f7588=_0x3173cb[_0x3faf66(0x1a6)];return[{'range':_0x2f7588['range'],'unitId':_0x2f7588['unitId'],'subUnitId':_0x2f7588[_0x3faf66(0x1f4)]}];}case _0x56ed82[_0x3faf66(0x1fe)]['id']:{const _0x527b71=_0x3173cb['params'];return[{'range':_0x527b71[_0x3faf66(0x203)],'unitId':_0x527b71[_0x3faf66(0x1c6)],'subUnitId':_0x527b71[_0x3faf66(0x1f4)]}];}case _0x56ed82[_0x3faf66(0x237)]['id']:{const _0x16460d=_0x3173cb[_0x3faf66(0x1a6)],{from:_0x36fb6d,to:_0x118f33,unitId:_0x1e46ef}=_0x16460d;return[{'range':_0x2e9865(_0x36fb6d['value']),'unitId':_0x1e46ef,'subUnitId':_0x36fb6d[_0x3faf66(0x1f4)]},{'range':_0x2e9865(_0x118f33[_0x3faf66(0x2e2)]),'unitId':_0x1e46ef,'subUnitId':_0x118f33[_0x3faf66(0x1f4)]}];}case _0x56ed82[_0x3faf66(0x107)]['id']:{const _0x466c7=_0x3173cb[_0x3faf66(0x1a6)],{unitId:_0xef488a,subUnitId:_0x2ba6a5,sourceRange:_0x1cfc0b,targetRange:_0x4a030d}=_0x466c7,_0x28f2f9=_0x1cfc0b[_0x3faf66(0x1e0)]-_0x1cfc0b[_0x3faf66(0x2dd)]+0x1;return[{'range':_0x4a030d[_0x3faf66(0x2dd)]<=_0x1cfc0b['startRow']?_0x4a030d:{..._0x4a030d,'startRow':_0x4a030d['startRow']-_0x28f2f9,'endRow':_0x4a030d[_0x3faf66(0x1e0)]-_0x28f2f9},'unitId':_0xef488a,'subUnitId':_0x2ba6a5}];}case _0x56ed82['MoveColsMutation']['id']:{const _0x15f73d=_0x3173cb[_0x3faf66(0x1a6)],{unitId:_0x1266d2,subUnitId:_0xb5ef5f,sourceRange:_0x27f7a4,targetRange:_0x1ccbff}=_0x15f73d,_0x15a531=_0x27f7a4[_0x3faf66(0xde)]-_0x27f7a4['startColumn']+0x1;return[{'range':_0x1ccbff['startColumn']<=_0x27f7a4[_0x3faf66(0x257)]?_0x1ccbff:{..._0x1ccbff,'startColumn':_0x1ccbff['startColumn']-_0x15a531,'endColumn':_0x1ccbff[_0x3faf66(0xde)]-_0x15a531},'unitId':_0x1266d2,'subUnitId':_0xb5ef5f}];}case _0x56ed82['SetNumfmtMutation']['id']:{const _0x5529aa=_0x3173cb[_0x3faf66(0x1a6)],{values:_0x8199c8,unitId:_0x225ea8,subUnitId:_0x48b4f8}=_0x5529aa;return Object[_0x3faf66(0x1ed)](_0x8199c8)[_0x3faf66(0x158)](_0xa2f5c2=>_0xa2f5c2['ranges'][_0x3faf66(0x158)](_0x3c59f1=>({'range':_0x3c59f1,'unitId':_0x225ea8,'subUnitId':_0x48b4f8})))[_0x3faf66(0x1c7)]();}case _0x56ed82['RemoveNumfmtMutation']['id']:{const _0x515e44=_0x3173cb[_0x3faf66(0x1a6)],{ranges:_0xb7d931,unitId:_0x1bdce5,subUnitId:_0x4239c4}=_0x515e44;return _0xb7d931['map'](_0x4096ac=>({'range':_0x4096ac,'unitId':_0x1bdce5,'subUnitId':_0x4239c4}));}case _0x56ed82[_0x3faf66(0x209)]['id']:{const _0x591c67=_0x3173cb[_0x3faf66(0x1a6)],{unitId:_0x34ce39,subUnitId:_0x1eb589,range:_0x94e03f}=_0x591c67;return[{'range':_0x94e03f,'unitId':_0x34ce39,'subUnitId':_0x1eb589}];}case _0x56ed82[_0x3faf66(0x2d4)]['id']:{const _0x4d99c6=_0x3173cb['params'];return _0x4d99c6['rule'][_0x3faf66(0x1ee)]['map'](_0x39f073=>({'range':_0x39f073,'unitId':_0x4d99c6[_0x3faf66(0x1c6)],'subUnitId':_0x4d99c6[_0x3faf66(0x1f4)]}));}case _0x56ed82[_0x3faf66(0x287)]['id']:{const _0x57c98f=_0x3173cb[_0x3faf66(0x1a6)];return _0x57c98f[_0x3faf66(0x149)]?_0x303cfa(_0x57c98f[_0x3faf66(0x149)])[_0x3faf66(0x158)](_0x33c0d7=>({'range':_0x33c0d7,'unitId':_0x57c98f[_0x3faf66(0x1c6)],'subUnitId':_0x57c98f['subUnitId']})):[];}case _0x2fa927[_0x3faf66(0x133)]['id']:{const _0x2a7742=_0x3173cb[_0x3faf66(0x1a6)];return[{'range':_0x2a7742[_0x3faf66(0x203)],'unitId':_0x2a7742['unitId'],'subUnitId':_0x2a7742[_0x3faf66(0x1f4)]}];}case _0x346063[_0x3faf66(0x111)]['id']:{const _0x248c29=_0x3173cb[_0x3faf66(0x1a6)];return(Array['isArray'](_0x248c29['rule'])?_0x248c29[_0x3faf66(0x2f2)]:[_0x248c29[_0x3faf66(0x2f2)]])['map'](_0xd8fe31=>_0xd8fe31[_0x3faf66(0x1ee)]['map'](_0x3f7668=>({'range':_0x3f7668,'unitId':_0x248c29[_0x3faf66(0x1c6)],'subUnitId':_0x248c29[_0x3faf66(0x1f4)]})))['flat']();}case _0xed2ba5['SetConditionalRuleMutation']['id']:{const _0x290a07=_0x3173cb[_0x3faf66(0x1a6)];return _0x290a07[_0x3faf66(0x2f2)][_0x3faf66(0x1ee)][_0x3faf66(0x158)](_0x58db18=>({'range':_0x58db18,'unitId':_0x290a07[_0x3faf66(0x1c6)],'subUnitId':_0x290a07[_0x3faf66(0x1f4)]}));}default:return[];}}[_0x149b74(0x277)](_0x300b55){const _0x1acdd6=_0x149b74;if(_0x300b55[_0x1acdd6(0x121)]<=0x1)return _0x300b55;const _0x435dd8=new Map();return _0x300b55[_0x1acdd6(0x295)](_0x38fb80=>{const _0x22f795=_0x1acdd6;var _0x473bfb;const {unitId:_0x234684,subUnitId:_0x37b79f}=_0x38fb80,_0x4a8100=_0x234684+'-'+_0x37b79f;_0x435dd8['has'](_0x4a8100)?(_0x473bfb=_0x435dd8[_0x22f795(0x266)](_0x4a8100))==null||_0x473bfb[_0x22f795(0x27c)](_0x38fb80):_0x435dd8[_0x22f795(0x2c3)](_0x4a8100,[_0x38fb80]);}),Array[_0x1acdd6(0x193)](_0x435dd8[_0x1acdd6(0x1ed)]())['map'](_0x1e8a53=>new _0x56ed82[(_0x1acdd6(0x14c))]()[_0x1acdd6(0x208)](..._0x1e8a53[_0x1acdd6(0x158)](_0x1cf363=>_0x1cf363['range']))[_0x1acdd6(0x18a)]()[_0x1acdd6(0x158)](_0x4712ce=>({'range':_0x4712ce,'unitId':_0x1e8a53[0x0]['unitId'],'subUnitId':_0x1e8a53[0x0][_0x1acdd6(0x1f4)]})))[_0x1acdd6(0x1c7)]();}};_0x19337e=_0x2630ce([_0x5daccd(0x0,_0x287239['Inject'](_0x2afb7b['HistoryManagerService'])),_0x5daccd(0x1,_0x4658e3[_0x149b74(0x1c8)]),_0x5daccd(0x2,_0x4658e3['ISnapshotServerService'])],_0x19337e);function _0x2e9865(_0x329d33){const _0x8448a3=_0x149b74;return new _0x287239[(_0x8448a3(0x26a))](_0x329d33)[_0x8448a3(0x1b5)]();}function _0x303cfa(_0xa30e34){const _0x349c74=_0x149b74,_0x8e257f=new _0x287239[(_0x349c74(0x26a))](_0xa30e34),_0x484777=new _0x287239['ObjectMatrix']();return _0x8e257f[_0x349c74(0x116)]((_0x355732,_0x4d0efd)=>{const _0x3c8e98=_0x349c74;_0x484777[_0x3c8e98(0x1d8)](_0x355732,_0x4d0efd,0x1);}),_0x56ed82[_0x349c74(0x11c)](_0x484777);}var _0x5790ee=Object['getOwnPropertyDescriptor'],_0x28c6e5=(_0x15e023,_0x6ab3e0,_0x220549,_0x554ed7)=>{const _0xda859a=_0x149b74;for(var _0x12c3cf=_0x554ed7>0x1?void 0x0:_0x554ed7?_0x5790ee(_0x6ab3e0,_0x220549):_0x6ab3e0,_0x42701b=_0x15e023[_0xda859a(0x121)]-0x1,_0x23a23a;_0x42701b>=0x0;_0x42701b--)(_0x23a23a=_0x15e023[_0x42701b])&&(_0x12c3cf=_0x23a23a(_0x12c3cf)||_0x12c3cf);return _0x12c3cf;},_0x16d3b6=(_0x3ba353,_0x11779f)=>(_0x19a1cc,_0x47d26c)=>_0x11779f(_0x19a1cc,_0x47d26c,_0x3ba353);let _0x31d0e5=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x68d5e3,_0x556984,_0x4e2bae,_0x4b5d5d,_0x5e0719,_0xeed00f,_0x5be944){const _0x21b6dd=_0x149b74;super(),_0x217380(this,_0x21b6dd(0x279),new Set()),_0x217380(this,_0x21b6dd(0x267),null),(this[_0x21b6dd(0x148)]=_0x68d5e3,this[_0x21b6dd(0x1b9)]=_0x556984,this['_versionDiffService']=_0x4e2bae,this[_0x21b6dd(0x17a)]=_0x4b5d5d,this[_0x21b6dd(0x253)]=_0x5e0719,this[_0x21b6dd(0x1cf)]=_0xeed00f,this[_0x21b6dd(0x2e6)]=_0x5be944,this[_0x21b6dd(0x1b4)]());}[_0x149b74(0x1b4)](){const _0x40b014=_0x149b74;this[_0x40b014(0x124)](),this['_initActiveSwitch']();}[_0x149b74(0x124)](){const _0x40aa70=_0x149b74;this[_0x40aa70(0x17c)](_0x493d52[_0x40aa70(0xe8)]([this[_0x40aa70(0x1b9)][_0x40aa70(0x15c)],this['_sheetSkeletonManagerService']['currentSkeleton$']])[_0x40aa70(0x12b)](_0x493d52[_0x40aa70(0x198)](([_0x35c1f8,_0x300cb6])=>{const _0x1618f0=_0x40aa70;if(_0x35c1f8===_0x411a36[_0x1618f0(0x258)]&&_0x300cb6){const _0x524668=_0x300cb6['sheetId'];return this[_0x1618f0(0x232)][_0x1618f0(0x2b7)][_0x1618f0(0x12b)](_0x493d52['map'](_0x2283b3=>{const _0x450c2f=_0x1618f0,_0x3a57f9=new Map();return _0x2283b3[_0x450c2f(0x1ee)][_0x450c2f(0x295)]((_0x35fe21,_0x3aa038)=>{const _0x1581c9=_0x450c2f,_0x4286df=_0x35fe21['filter'](_0x315f90=>_0x315f90[_0x1581c9(0x1f4)]===_0x524668);_0x3a57f9[_0x1581c9(0x2c3)](_0x3aa038,_0x4286df);}),{'skeleton':_0x300cb6,'diffs':_0x3a57f9};}));}return _0x493d52['of']({'skeleton':null,'diffs':new Map()});}))[_0x40aa70(0x2a3)](({skeleton:_0x306aa6,diffs:_0x1e5fdb})=>{const _0x3c6989=_0x40aa70;this['_removeDiffMarks'](),_0x306aa6&&this[_0x3c6989(0x18d)](_0x306aa6,_0x1e5fdb);})),this[_0x40aa70(0x17c)](this[_0x40aa70(0x1cf)][_0x40aa70(0x2a8)][_0x40aa70(0x2a3)](_0x1b724b=>{const _0xf75352=_0x40aa70;if(_0x1b724b==null)return;const {skeleton:_0xe7505b}=_0x1b724b,{scene:_0x489006}=this[_0xf75352(0x148)];_0x489006[_0xf75352(0x293)][_0xf75352(0x1dd)](_0x287239[_0xf75352(0x270)](_0x4dcd3e=>{const _0x2e8a73=_0xf75352;var _0x4c2876,_0x12f7ac;const {offsetX:_0x169fba,offsetY:_0x2e682f}=_0x4dcd3e,{x:_0x2178fd,y:_0x501726}=_0x489006['getRelativeToViewportCoord'](_0x185f7f[_0x2e8a73(0x16b)][_0x2e8a73(0x22b)]([_0x169fba,_0x2e682f])),{scaleX:_0xa865b5,scaleY:_0xf57099}=_0x489006[_0x2e8a73(0x29d)](),_0x40e9ad=_0x489006[_0x2e8a73(0xf1)](_0x185f7f[_0x2e8a73(0x1ae)]['VIEW_MAIN']),_0xc71fa4=_0x489006[_0x2e8a73(0x27e)](_0x185f7f[_0x2e8a73(0x16b)]['FromArray']([_0x2178fd,_0x501726]),_0x40e9ad),_0xc67b34=_0xe7505b['getCellPositionByOffset'](_0x169fba,_0x2e682f,_0xa865b5,_0xf57099,_0xc71fa4);((_0x4c2876=this['_lastPointer'])==null?void 0x0:_0x4c2876['column'])===_0xc67b34[_0x2e8a73(0x286)]&&((_0x12f7ac=this['_lastPointer'])==null?void 0x0:_0x12f7ac[_0x2e8a73(0x112)])===_0xc67b34[_0x2e8a73(0x112)]||this['_diffs'][_0x2e8a73(0x295)](_0xced18=>{const _0x203230=_0x2e8a73;_0xced18[_0x203230(0x128)](_0xc67b34);});},0x64));}));}[_0x149b74(0x26b)](){const _0x2d3524=_0x149b74;this[_0x2d3524(0x17c)](this[_0x2d3524(0x1b9)][_0x2d3524(0x15c)][_0x2d3524(0x2a3)](_0x39858e=>{const _0x3fe529=_0x2d3524,_0x3eb960=new _0x287239[(_0x3fe529(0x2a2))]();return _0x39858e===_0x411a36[_0x3fe529(0x258)]&&(_0x3eb960[_0x3fe529(0x2e9)](),_0x3eb960[_0x3fe529(0x208)](this[_0x3fe529(0x232)]['currentVersionDiff$'][_0x3fe529(0x2a3)](_0x13a266=>{const _0x30cc95=_0x3fe529;_0x13a266['active']&&this[_0x30cc95(0x2e6)]['executeCommand'](_0x56ed82[_0x30cc95(0x2b6)]['id'],{'unitId':this[_0x30cc95(0x148)][_0x30cc95(0x1c6)],'subUnitId':_0x13a266[_0x30cc95(0x1c3)]});}))),()=>_0x3eb960[_0x3fe529(0x2e9)]();}));}[_0x149b74(0x18d)](_0x15436d,_0x1fb236){const _0x5e4031=_0x149b74;var _0x2cf611;const _0x100615=(_0x2cf611=this[_0x5e4031(0x1cf)]['getCurrent']())==null?void 0x0:_0x2cf611[_0x5e4031(0x2de)];if(!_0x100615)return;this['_diffs'][_0x5e4031(0x295)](_0x2db421=>{_0x2db421['makeDirty']();});const {scene:_0x37a4e7}=this[_0x5e4031(0x148)],_0x509f95=Array[_0x5e4031(0x193)](_0x1fb236[_0x5e4031(0x18f)]())[_0x5e4031(0x158)](_0x17e340=>_0x1fb236['get'](_0x17e340)['map'](_0x253e14=>{const _0x1c9a45=_0x5e4031;var _0x395133;const {range:_0x5c7e16,subUnitId:_0x249c92,unitId:_0x437cf4}=_0x253e14,{startColumn:_0x42944c,startRow:_0x44cec9,endColumn:_0x26704a,endRow:_0x49a17e}=_0x5c7e16,_0x33a2ed=_0xf33c3[_0x1c9a45(0x2f1)](_0x44cec9,_0x42944c,_0x37a4e7,_0x100615),_0xe280e5=_0xf33c3[_0x1c9a45(0x2f1)](_0x49a17e,_0x26704a,_0x37a4e7,_0x100615),{columnHeaderHeightAndMarginTop:_0x4f1a3b}=_0x100615,{startX:_0x442682,startY:_0x1f3eb0}=_0x33a2ed,{endX:_0x5df8ab,endY:_0x2a4c7c}=_0xe280e5,_0x4019a8=_0x5df8ab-_0x442682,_0x1e8262=_0x2a4c7c-_0x1f3eb0,_0x29ca35={'labelPosition':_0x1f3eb0-_0x4f1a3b>=0x14?'top':_0x1c9a45(0xdc),'sheetID':_0x249c92,'range':_0x5c7e16,'color':_0x1c9a45(0x2b4),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x1c9a45(0x2b4),'name':((_0x395133=this['_historyManagerService'][_0x1c9a45(0x282)](_0x17e340))==null?void 0x0:_0x395133['name'])||'','selection':_0x437cf4+'-'+_0x249c92+'-'+_0x5c7e16[_0x1c9a45(0x257)]+'-'+_0x5c7e16['startRow']+'-'+_0x5c7e16[_0x1c9a45(0xde)]+'-'+_0x5c7e16[_0x1c9a45(0x1e0)],'left':_0x442682,'top':_0x1f3eb0,'width':_0x4019a8,'height':_0x1e8262,'evented':!0x1,'zIndex':0x1};return new _0x50e0f0['SheetCollabCursorShape']('',_0x29ca35);}))[_0x5e4031(0x1c7)]();_0x37a4e7['addObjects'](_0x509f95,0x1),this[_0x5e4031(0x279)]=new Set(_0x509f95);}[_0x149b74(0x238)](){const _0x2dd9c7=_0x149b74;var _0x1ce5b0;(_0x1ce5b0=this[_0x2dd9c7(0x279)])==null||_0x1ce5b0[_0x2dd9c7(0x295)](_0x3a053f=>_0x3a053f[_0x2dd9c7(0x2e9)]());}[_0x149b74(0x118)](){const _0x522aa1=_0x149b74;return _0xf33c3['getSheetObject'](this[_0x522aa1(0x17a)],this['_renderManagerService']);}};_0x31d0e5=_0x28c6e5([_0x16d3b6(0x1,_0x287239[_0x149b74(0x14e)](_0x2afb7b[_0x149b74(0x15b)])),_0x16d3b6(0x2,_0x287239[_0x149b74(0x14e)](_0x19337e)),_0x16d3b6(0x3,_0x287239[_0x149b74(0x1b3)]),_0x16d3b6(0x4,_0x185f7f[_0x149b74(0x256)]),_0x16d3b6(0x5,_0x287239['Inject'](_0xf33c3[_0x149b74(0x110)])),_0x16d3b6(0x6,_0x287239[_0x149b74(0x180)])],_0x31d0e5);function _0x21c1c8(){const _0x3780de=_0x149b74,_0x1bbb77=_0x1f9fca[_0x3780de(0x1a9)](_0x2afb7b[_0x3780de(0x15b)]),_0xaf6f7=_0x1f9fca['useObservable'](_0x1bbb77[_0x3780de(0x156)]),[_0x5a4802,_0x37e881]=_0x5cef4f['useState'](!0x1),_0x204a1a=_0x4f3174(_0xaf6f7);return _0xaf6f7?_0x5118a6[_0x3780de(0xff)](_0x3780de(0x2a6),{'className':_0x3780de(0x296),'children':_0x5118a6[_0x3780de(0x1b8)](_0x3780de(0x2a6),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x204a1a[_0x3780de(0x158)]((_0x5af571,_0x57b1e3)=>_0x5118a6[_0x3780de(0x1b8)](_0x5cef4f[_0x3780de(0x2b8)],{'children':[_0x5118a6['jsx'](_0x1d7efe,{'date':_0x5af571[_0x3780de(0x264)]}),_0x5af571[_0x3780de(0x2d1)][_0x3780de(0x158)]((_0x4d5f8a,_0x310bfa)=>_0x5118a6[_0x3780de(0xff)](_0x522a74,{'index':[_0x57b1e3,_0x310bfa],'item':_0x4d5f8a},_0x57b1e3+'-'+_0x310bfa))]},_0x5af571[_0x3780de(0x264)])),_0x5a4802&&_0x5118a6['jsx'](_0x25fa5d,{})]})}):_0x5118a6['jsx'](_0x46b8e6,{});}function _0x25fa5d(){const _0x2b2a0b=_0x149b74;return _0x5118a6['jsx'](_0x2b2a0b(0x2a6),{'className':_0x2b2a0b(0x11a),'children':_0x5118a6[_0x2b2a0b(0xff)](_0x2ae722,{'className':_0x2b2a0b(0x234)})});}function _0x46b8e6(){const _0x3c82ad=_0x149b74;return _0x5118a6[_0x3c82ad(0xff)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':_0x5118a6['jsx'](_0x3c82ad(0x20c),{'className':_0x3c82ad(0x2b9),'children':_0x5118a6[_0x3c82ad(0xff)](_0x2ae722,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function _0x1d7efe(_0xf80d4c){const _0x255f6e=_0x149b74,_0x75567a=_0x1f9fca['useDependency'](_0x287239['LocaleService']),{date:_0x33393e}=_0xf80d4c;return _0x5118a6[_0x255f6e(0xff)](_0x255f6e(0x2a6),{'className':_0x255f6e(0x1f7),'children':_0x1d8852(_0x33393e,_0x75567a[_0x255f6e(0x2c7)]())});}function _0x522a74(_0x5f0452){const _0x40ab56=_0x149b74,{item:_0x2db31c,index:_0x40424f}=_0x5f0452,{time:_0x2a4459,user:_0x5a1c58}=_0x2db31c,[_0x1eef2d,_0x121525]=_0x40424f,_0x50bf5c=_0x1f9fca[_0x40ab56(0x1a9)](_0x2afb7b[_0x40ab56(0x15b)]),_0x2f880e=_0x1f9fca[_0x40ab56(0x240)](_0x50bf5c[_0x40ab56(0x2fe)],'',!0x0)===_0x2db31c['id'],_0x50f42e=_0x1eef2d===0x0&&_0x121525===0x0,_0x125787=!_0x50f42e&&_0x50bf5c['canRevert'],_0x3a8031=_0x1f9fca['useDependency'](_0x287239[_0x40ab56(0x298)]),_0x53444c=_0x3a8031[_0x40ab56(0x2c7)](),_0x1e6c1f=_0x610a11(_0x2a4459,_0x53444c),_0x3ec57e=_0x3a8031['t']('editHistory.panel.currentVersion'),_0xd5fc85=_0x5cef4f['useCallback'](_0x2f6496=>{const _0x2ad625=_0x40ab56;_0x50bf5c[_0x2ad625(0x190)]!==_0x411a36[_0x2ad625(0x181)]&&(_0x50bf5c[_0x2ad625(0x2ce)]=_0x2f6496);},[_0x50bf5c]),_0x4a05b2=_0x5cef4f['useCallback'](_0x2ab42b=>{const _0x43edef=_0x40ab56;_0x50bf5c[_0x43edef(0x271)](_0x2ab42b);},[_0x50bf5c]);return _0x5118a6[_0x40ab56(0x1b8)](_0x40ab56(0x2a6),{'className':_0x407bc3[_0x40ab56(0x17d)]('univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x2f880e}),'onClick':()=>_0xd5fc85(_0x2db31c['id']),'children':[_0x5118a6[_0x40ab56(0x1b8)]('div',{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x5118a6[_0x40ab56(0x1b8)](_0x40ab56(0x2a6),{'className':_0x40ab56(0x147),'children':[_0x5118a6[_0x40ab56(0xff)](_0x40ab56(0x20c),{'children':_0x1e6c1f[_0x40ab56(0x233)]}),_0x50f42e&&_0x5118a6['jsx']('span',{'className':_0x40ab56(0x108),'children':_0x3ec57e})]}),_0x5118a6[_0x40ab56(0xff)]('div',{'children':_0x125787&&_0x5118a6[_0x40ab56(0xff)](_0x407bc3[_0x40ab56(0x2bd)],{'title':_0x3a8031['t'](_0x40ab56(0x2b2)),'children':_0x5118a6[_0x40ab56(0xff)](_0x40ab56(0x2a6),{'onClick':_0x40539c=>{_0x40539c['stopPropagation'](),_0x4a05b2(_0x2db31c['id']);},'className':_0x40ab56(0x294),'children':_0x5118a6['jsx'](_0x3664fd,{})})})})]}),_0x5118a6['jsx'](_0x40ab56(0x2a6),{'className':_0x40ab56(0x1f9),'children':_0x5ef180(_0x2db31c,_0x3a8031)})]});}var _0xfac406=Object[_0x149b74(0x1c2)],_0x5c1e75=(_0x4c05bb,_0x51b2e2,_0x325a11,_0x4d7624)=>{const _0x1b20b3=_0x149b74;for(var _0x3be1cf=_0x4d7624>0x1?void 0x0:_0x4d7624?_0xfac406(_0x51b2e2,_0x325a11):_0x51b2e2,_0x10add7=_0x4c05bb[_0x1b20b3(0x121)]-0x1,_0xeebf75;_0x10add7>=0x0;_0x10add7--)(_0xeebf75=_0x4c05bb[_0x10add7])&&(_0x3be1cf=_0xeebf75(_0x3be1cf)||_0x3be1cf);return _0x3be1cf;},_0x23d421=(_0x57705b,_0x4da916)=>(_0x4b0680,_0x4ef1f0)=>_0x4da916(_0x4b0680,_0x4ef1f0,_0x57705b);const _0x260210=_0x149b74(0x2fa);let _0x50b0d8=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x597b4a,_0x4ab10e,_0x4c1f87,_0x3a5cd3){const _0x5a93e9=_0x149b74;super(),_0x217380(this,_0x5a93e9(0x2df),null),(this[_0x5a93e9(0x274)]=_0x597b4a,this[_0x5a93e9(0x13e)]=_0x4ab10e,this[_0x5a93e9(0x23b)]=_0x4c1f87,this[_0x5a93e9(0x1b9)]=_0x3a5cd3,this[_0x5a93e9(0x1b4)]());}['_init'](){const _0x29dc0a=_0x149b74;this[_0x29dc0a(0x192)](),this[_0x29dc0a(0x20d)]();}[_0x149b74(0x20d)](){const _0x520556=_0x149b74;if(this[_0x520556(0x2df)])return;const _0x542948={'header':{'title':this['_localeService']['t'](_0x520556(0x184))},'children':{'label':_0x260210},'onClose':()=>{const _0x47908b=_0x520556;this[_0x47908b(0x2df)]=null,this[_0x47908b(0x1b9)][_0x47908b(0x120)]=_0x2c8ae7[_0x47908b(0x1a4)];}};this[_0x520556(0x2df)]=this[_0x520556(0x274)][_0x520556(0x1ab)]({..._0x542948});}[_0x149b74(0x192)](){const _0x1cc4e9=_0x149b74;this[_0x1cc4e9(0x17c)](this[_0x1cc4e9(0x13e)][_0x1cc4e9(0x2cd)](_0x260210,_0x21c1c8)),this['disposeWithMe'](this[_0x1cc4e9(0x274)][_0x1cc4e9(0x1db)][_0x1cc4e9(0x12b)](_0x493d52[_0x1cc4e9(0x25b)](0x64))[_0x1cc4e9(0x2a3)](_0xb5f1c1=>{const _0x52ed6c=_0x1cc4e9,{target:_0x374496}=_0xb5f1c1||{};if(_0x374496){const {scrollTop:_0x503f6a,scrollHeight:_0x3d6004,clientHeight:_0x1747de}=_0x374496;_0x503f6a+_0x1747de>=_0x3d6004-0x5&&this[_0x52ed6c(0x1b9)]['loadMoreVersions']();}}));}};_0x50b0d8=_0x5c1e75([_0x23d421(0x0,_0x1f9fca[_0x149b74(0x2eb)]),_0x23d421(0x1,_0x287239[_0x149b74(0x14e)](_0x1f9fca['ComponentManager'])),_0x23d421(0x2,_0x287239[_0x149b74(0x14e)](_0x287239[_0x149b74(0x298)])),_0x23d421(0x3,_0x287239[_0x149b74(0x14e)](_0x2afb7b[_0x149b74(0x15b)]))],_0x50b0d8);class _0x2d670a extends _0x287239[_0x149b74(0x23e)]{constructor(){const _0x271d27=_0x149b74;super(),_0x217380(this,_0x271d27(0x269),new _0x493d52[(_0x271d27(0x248))]());}[_0x149b74(0x1ab)](){const _0x4bcc8e=_0x149b74;return _0x287239[_0x4bcc8e(0xd5)](()=>{});}[_0x149b74(0x131)](){}[_0x149b74(0x2e3)](_0x3831a4){}[_0x149b74(0x1e5)](){const _0x4d42fb=_0x149b74;return this[_0x4d42fb(0x269)]['asObservable']();}}var _0x1be837=Object['defineProperty'],_0x213d28=Object[_0x149b74(0x1c2)],_0x19865e=(_0x252db6,_0x3acddb,_0x2a80ec)=>_0x3acddb in _0x252db6?_0x1be837(_0x252db6,_0x3acddb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a80ec}):_0x252db6[_0x3acddb]=_0x2a80ec,_0x22174d=(_0x167eda,_0x5cf881,_0x12ca7b,_0x5d155c)=>{for(var _0x596767=_0x5d155c>0x1?void 0x0:_0x5d155c?_0x213d28(_0x5cf881,_0x12ca7b):_0x5cf881,_0x15ae29=_0x167eda['length']-0x1,_0x14fed1;_0x15ae29>=0x0;_0x15ae29--)(_0x14fed1=_0x167eda[_0x15ae29])&&(_0x596767=_0x14fed1(_0x596767)||_0x596767);return _0x596767;},_0x246dbd=(_0x201656,_0x516fe3)=>(_0x3f1c9b,_0x1e65d0)=>_0x516fe3(_0x3f1c9b,_0x1e65d0,_0x201656),_0x86a201=(_0x4b8818,_0x57ea0a,_0x52999b)=>_0x19865e(_0x4b8818,_0x57ea0a+'',_0x52999b);const _0x5af79d=_0x149b74(0x212);_0x2afb7b[_0x149b74(0x122)]=class extends _0x287239['Plugin']{constructor(_0x39581f=_0x3b2a13,_0x25105b,_0x125c69,_0x491a7d){const _0xe33899=_0x149b74;super(),this[_0xe33899(0x261)]=_0x39581f,this[_0xe33899(0x1ff)]=_0x25105b,this[_0xe33899(0x253)]=_0x125c69,this[_0xe33899(0x13b)]=_0x491a7d;const {..._0x20f712}=_0x287239[_0xe33899(0x18a)]({},_0x3b2a13,this[_0xe33899(0x261)]);this['_configService'][_0xe33899(0x204)](_0x18ecfb,_0x20f712);}['onStarting'](){const _0x49a127=_0x149b74;[[_0x2afb7b[_0x49a127(0x15b)]],[_0x592ff1],[_0x19337e],[_0x35ad97],[_0x50b0d8],[_0x6a9a62],[_0x4658e3[_0x49a127(0x2f3)],{'useClass':_0x4342ff[_0x49a127(0x1c5)]}],[_0x1f9fca[_0x49a127(0x160)],{'useClass':_0x2d670a}],[_0x21904a[_0x49a127(0x141)],{'useClass':_0x4342ff[_0x49a127(0x211)]}]][_0x49a127(0x295)](_0xf2ad44=>this[_0x49a127(0x1ff)][_0x49a127(0x208)](_0xf2ad44)),this[_0x49a127(0x1ff)][_0x49a127(0x266)](_0x592ff1);}[_0x149b74(0x1a2)](){const _0x425391=_0x149b74;[[_0x31d0e5]][_0x425391(0x295)](_0x15ebf4=>{const _0x2f66fe=_0x425391;this[_0x2f66fe(0x17c)](this[_0x2f66fe(0x253)][_0x2f66fe(0x260)](_0x287239[_0x2f66fe(0x1e6)][_0x2f66fe(0xd7)],_0x15ebf4));}),this[_0x425391(0x1ff)][_0x425391(0x266)](_0x6a9a62),this[_0x425391(0x1ff)][_0x425391(0x266)](_0x50b0d8);}[_0x149b74(0xd8)](){const _0x775f97=_0x149b74;this[_0x775f97(0x1ff)][_0x775f97(0x266)](_0x19337e);}},_0x86a201(_0x2afb7b['UniverEditHistoryViewerPlugin'],_0x149b74(0x27d),_0x5af79d),_0x2afb7b[_0x149b74(0x122)]=_0x22174d([_0x287239[_0x149b74(0x215)](_0xf33c3[_0x149b74(0x29c)],_0x2b0737[_0x149b74(0x22e)]),_0x246dbd(0x1,_0x287239['Inject'](_0x287239[_0x149b74(0x2d3)])),_0x246dbd(0x2,_0x185f7f['IRenderManagerService']),_0x246dbd(0x3,_0x287239[_0x149b74(0xeb)])],_0x2afb7b[_0x149b74(0x122)]),_0x2afb7b['HistoryModeStatus']=_0x2c8ae7,Object['defineProperty'](_0x2afb7b,Symbol['toStringTag'],{'value':_0x149b74(0x1d4)});}));function _0x5804(){const _0x5dea01=['next','IPermissionService','width','0\x200\x2016\x2016','@univerjs/design','onRendered','CHANGESET_REVISION_CONFILICT','Exited','defIds','params','ViemRwHgtClWdt','DATA_SOURCE_TOO_LARGE','useDependency','ENTITLE_CHAT_LIMIT_EXCEED','open','asObservable','white','SHEET_VIEWPORT_KEY','_snapshotServerService','currentColor','UniverSheetsConditionalFormatting','tag','IUniverInstanceService','_init','getDataRange','AUTHORIZE_CODE_ILLEGAL','padStart','jsxs','_historyManagerService','SetRowStyle','getMinutes','editHistory.panel.currentUser','HideWorksheet','symbol','MoveSheet','LICENSE_EXPORT_SIZE_EXCEEDED','1386376Fynmal','getOwnPropertyDescriptor','active','COMPRESS_MUTATION_APPLY','SnapshotServerOverHTTPService','unitId','flat','ITransformService','ViewFilter','_unitId$','CreateUnitMutation','SetWorksheetHideMutation','memberId','WorkbookEditablePermission','_sheetSkeletonManagerService','backgroundColor','SetFrozenMutation','PY_RUNTIME_SCRIPT_ERROR','mutations','Module','_lastLabel','fetchMissingChangesets','UniverDrawing','setValue','historyListServerUrl','WorkbookHideSheetPermission','scrollEvent$','zIndex','subscribeEvent','date','revertSheet','endRow','hidden','AddWorksheetProtectionMutation','flex','INVALID_ARGUMENT','getDialogs$','UniverInstanceType','UniverEngineRender','endRev','position','1000','createSheet','_getActiveSubUnitId','values','ranges','SetWorksheetStyle','SetCellStyle','HEADER','LICENSE_MAX_UNITS_EXCEEDED','_messageService','subUnitId','_revertRevision$','LOGIN_TOKEN_PROCESSING_FAILED','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','UNIVER_PROJECT','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','HideSheet','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','NOT_FOUND','CreateSheet','InsertColMutation','_injector','_members','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','UniverProEditHistoryViewer','range','setConfig','getCurrentVersion','status$','Sort','add','ReorderRangeMutation','_fetching','style','span','_openPanel','replace','16914ZGsBUU','UniverSheets','CollaborationImageIoService','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','ENTITLE_REPORT_LIMIT_EXCEED','395XRrbXU','DependentOn','5348720TfEtrH','_loadingState$','DeleteColumn','SelectUnProtectedCells','USER_IS_ANONYMOUS','UNIVER_UNKNOWN','toString','setDV','CreatePermissionObject','attrs','ENTITLE_CAN_NOT_BUY_LOWER_OTP','YUUMI_CONNECTOR_URL_NOT_FOUND','split','DeleteWorksheet','284225VzJIdP','REDEMPTION_CODE_FULLY_REDEEMED','@univerjs-pro/collaboration-client','fill','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','_maskContainer','@univerjs/sheets','FromArray','loading','fetchThroughInterceptors','UniverNetworkPlugin','center','getInterceptPoints','Filter','_versionDiffService','time','univer-animate-spin','Delete','permissionPointUpdate$','MoveRangeMutation','_removeDiffMarks','_uiPartsService','MOBILE_HAS_BEEN_BOUND','_localeService','refreshRangeProtectPermission','_compressMutationService','Disposable','display','useObservable','MessageType','UniverSheetsFilter','loadSheet','user','ENTITLE_INSUFFICIENT_QUOTA','entered','CopySheet','Subject','triggerLoadSheet','DeleteSheet','COMPLETION_FINISHED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_ALL_TABLES_IS_INVALID','RwHgtClWdt','find','YUUMI_SUBSCRIPTION_NOT_FOUND','PERMISSION_DENIED','show','_renderManagerService','APPLY_REJECT','REDEMPTION_USER_REDEEM_TIMES_EXCEED','IRenderManagerService','startColumn','Loaded','hideMask','function','debounceTime','#0B9EFB','AddConditionalRuleMutation','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','querySelector','registerRenderModule','_config','@univerjs-pro/sheets-sparkline','30mWZkoF','dateString','editHistory.header.revert','get','_lastPointer','EditExtraObject','_dialogOptions$','ObjectMatrix','_initActiveSwitch','displayName','xlink:href','REDEMPTION_INVALID_CODE','MoveWorksheet','debounce','triggerRevert','createUnit','MOBILE_VERIFY_CODE_MISMATCH','_sidebarService','exports','loading-multi-icon','_combineRanges','INTERNAL_ERROR','_diffs','users','setCF','push','pluginName','getVpScrollXYInfoByPosToVp','history-mask','EMAIL_VERIFY_CODE_MISMATCH','RenameWorksheet','getMember','loaded','@univerjs/sheets-conditional-formatting','subType','column','SetRangeValuesMutation','BehaviorSubject','LocaleType','UniverUi','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','getCurrentUnitForType','now','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Init','isTransformMutationsSuccess','onPointerMove$','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','forEach','univer-overflow-hidden','height','LocaleService','some','rev','UNDEFINED','UniverSheetsUIPlugin','getAncestorScale','ALREADY_EXISTS','getVersion','_initMaskContainer','_historyFetchService','DisposableCollection','subscribe','editSheet','DeleteRangeProtectionMutation','div','confirm-revert-revision','currentSkeleton$','_createMask','WorkbookRenameSheetPermission','url(#restore-icon_clip0_1247_2)','editHistory.action.revertSheetPrefix','defineProperty','body','restore-icon_clip0_1247_2','anonymous','_createUnit','editHistory.panel.revertDesc','disposeUnit','rgba(58,\x2096,\x20247,\x200.20)','_maskElement','SetWorksheetActiveOperation','currentVersionDiff$','Fragment','univer-text-gray-500','_workbookDataCache','@univerjs/core','children','Tooltip','ENTITLE_NEED_BILLING_ADDRESS','setFilter','colorChannel1','connectInjector','SNAPSHOT_HAS_BEEN_REMOVED','set','mask','CURRENT_STATUS_CANNOT_OPERATE','editHistory.action.etc','getCurrentLocale','_confirmService','rgba(225,\x20225,\x20225,\x200.5)','InsertRowMutation','UNIVER_SLIDE','UniverProCollaboration','register','currentVersion','InsertRow','Edit','versions','@univerjs-pro/collaboration-client-ui','Injector','SetRangeProtectionMutation','REDEMPTION_USER_NOT_ELIGIBLE','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_getRangesByMutation','UniverSheetsUi','entries','1em','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','startRow','skeleton','_sidebarDisposable','createElement','getHours','value','closeAll','@univerjs/ui','transformMutations','_commandService','_permissionService','block','dispose','UniverCore','ISidebarService','SetCellValue','USER_NOT_INVITED_CODE','canRevert','@univerjs/drawing','YUUMI_ASYNCIO_CANCELLED','getCoordByCell','rule','ISnapshotServerService','_hasMore','init','revertRevision$','_versions$','append','SheetPermissionInitController','history-panel','[HistoryFetchService]:\x20request\x20snapshot\x20error!','UniverDataValidation','_status$','currentVersion$','AddRangeProtectionMutation','color','state$','toISOString','amd','getUnitId','getUnitOnRev','toDisposable','useRef','UNIVER_SHEET','onSteady','action','DeleteRow','ManageCollaborator','bottom','showMask','endColumn','_sheetPermissionInitController','RecoverHistory','m1Prime','confirm','SNAPSHOT_INVALID_SNAPSHOT','51537UbLKIu','removeSheet','INVALID_INVITE_CODE','UpdateDataValidationMutation','combineLatest','commands','editHistory.panel.cancel','IConfigService','has','/universer-api/history','CONNECTOR_DATA_TOO_LARGE','RenameSheet','back-icon','getViewport','Print','UNIVER_DOC','interceptor','Today','INVITE_CODE_ALREADY_BOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','restore-icon','current','useCallback','USER_NOT_FOUND','className','PivotTable','editHistory.info.loading','jsx','Export','forwardRef','reduce','196472IebiKi','UNRECOGNIZED','Share','editHistory.action.','MoveRowsMutation','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','userID','getVersions','0\x200\x2016\x2017','changesets','BuiltInUIPart','VIRTUAL_VERSION_NOW','idSuffix','SheetSkeletonManagerService','AddDataValidationMutation','row','EMAIL_HAS_BEEN_BOUND','PAYMENT_CHANNEL_NOT_SUPPORT','rxjs','forValue','@univerjs/engine-render','_getSheetObject','command','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','filter','findAllRectangle','sheet','WECHAT_HAS_BEEN_BOUND','7ngAvrW','status','length','UniverEditHistoryViewerPlugin','_updateVersions','_initRender','@univerjs/sheets-filter','evenodd','userId','onMouseMove','recoverTime','LOGIN_FAILED','pipe','BackIcon','unitId$','_diffRangesMap','getConfig','editHistory.panel.revertConfirm','close','.univer-app-container-content','SetSheetsFilterRangeMutation','_transformMutationByOrder','InsertHyperlink','updatePermissionPoint','_getAPIPrefix','LoadingMultiIcon','addProtection','all','_configService','Error','ensureVersion','_componentManager','Duplicate','IUIPartsService','IImageIoService','none','100%','YUUMI_URL_COL_OUT_OF_RANGE','data','WorkbookMoveSheetPermission','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_context','cellValue','ICellEditorManagerService','setState','RangeMergeUtil','_currentVersion$','Inject','left','Button','@univerjs-pro/collaboration','TOO_MANY_REQUESTS','react/jsx-runtime','FloatImg','View','versions$','error','map','code','YUUMI_NO_CUBOID_FOR_QUESTION','HistoryManagerService','loadingState$','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','_transformService','clear','IDialogService','RemoveSheetMutation','_canRevert','SelectProtectedCells','InsertSheetMutation','2638314hOrDoY','path','syncExecuteCommand','random','APPLY_REVISION_CONFILICT','UniverProSheetsSparkline','Vector2','SetColumnStyle','EditWorksheetCell','REDEMPTION_CODE_INACTIVE','includes','InsertColumn','triggerLoadVersions','setFrozen','APPLY_DUPLICATED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UniverNetwork','url(#$1','insertSheet','ERROR_AGAIN','svg','_univerInstanceService','_httpService','disposeWithMe','clsx','primary','Comment','ICommandService','Loading','blockMeta','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','editHistory.panel.title','rules','UniverProCollaborationClientUi',':\x20(','createTime','focusUnit','merge','parse','REDEMPTION_CODE_NOT_STARTED','_updateDiffMarks','ViewHistory','keys','loadingState','_extractRanges','_initPanel','from','UNAUTHENTICATED','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','LICENSE_DISTRO_REJECTED','string','switchMap','assign','RestoreIcon','_currentVersionDiff$','then'];_0x5804=function(){return _0x5dea01;};return _0x5804();}
17
+ function _0x1bb1(){const _0x59251d=['_updateVersions','Init','syncExecuteCommand','UniverInstanceType','HistoryModeStatus','rules','HEADER','getHours','SetConditionalRuleMutation','endRev','EMAIL_HAS_BEEN_BOUND','ENTITLE_REPORT_LIMIT_EXCEED','isArray','APPLY_REJECT','getCellPositionByOffset','editHistory.panel.revertConfirm','clipPath','setConfig','ENTITLE_CAN_NOT_BUY_LOWER_OTP','univerjs-icon\x20univerjs-icon-','SetCellStyle','body','historyListServerUrl','USER_NOT_FOUND','WorkbookHideSheetPermission','skeleton','span','debounce','setCF','@univerjs/data-validation','hasCommand','createSheet','RestoreIcon','React','useDependency','UNIVER_SLIDE','IRenderManagerService','RwHgtClWdt','xlink:href','InsertColumn','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','INVALID_ARGUMENT','state$','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','getElementById','getDataRange','setFilter','EditWorksheetCell','SetRangeProtectionMutation','REDEMPTION_CODE_HAS_BEEN_CREATED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','univer-m-auto\x20univer-animate-spin','style','SelectUnProtectedCells','_diffs','YUUMI_URL_COL_OUT_OF_RANGE','editHistory.action.etc','Delete','substring','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','some','connectInjector','SetCellValue','PERMISSION_DENIED','SetWorksheetHideMutation','_localeService','keys','APPLY_NON_SEQUENTIAL_REVISION','6fiNbWR','currentSkeleton$','Share','setDV','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','InsertRowMutation','_versionDiffService','versions$','recoverTime','UniverSheetsUIPlugin','WorkbookMoveSheetPermission','InsertHyperlink','init','defs','RemoveSheetMutation','DeleteRow','debounceTime','showMask','triggerLoadSheet','code','forValue','RangeMergeUtil','hidden','permissionPointUpdate$','getUnitId','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','tag','_members','backgroundColor','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','RecoverHistory','Exited','querySelector','_openPanel','endRow','ENTITLE_INSUFFICIENT_QUOTA','LocaleService','defineProperty','closeAll','stopPropagation','loadMoreVersions','YUUMI_ASYNCIO_CANCELLED','ENSURE_SNAPSHOT_EXECUTION','@univerjs/ui','entered','append','Sort','_configService','loadSheet','path','idSuffix','ReorderRangeMutation','editHistory.panel.currentUser','HTTPService','@univerjs/sheets','column','RemoveNumfmtMutation','editHistory.panel.title','_lastLabel','UniverProCollaborationClient','_sheetPermissionInitController','ViewHistory','confirm-revert-revision','MoveColsMutation','canRevert','status','REDEMPTION_CODE_FULLY_REDEEMED','makeDirty','white','scrollEvent$','find','disposeWithMe','removeSheet','_univerInstanceService','WECHAT_HAS_BEEN_BOUND','AddWorksheetMergeMutation','APPLY_REVISION_CONFILICT','react/jsx-runtime','UniverEditHistoryViewerPlugin','@univerjs-pro/sheets-sparkline','next','onStarting','UniverSheetsConditionalFormatting','/universer-api/history','absolute','loading','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','colorChannel1','YUUMI_AI_RUN_FAILED','button','fill','isTransformMutationsSuccess','SetSheetsFilterRangeMutation','setState','Today','VIEW_MAIN','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','UNIVER_UNKNOWN','transformMutations','color','addSparkline','UniverNetwork','_createUnit','unitId','Loaded','UniverProCollaborationClientUi','_versions$','ENTITLE_NEED_BILLING_ADDRESS','MoveRowsMutation','url(#$1','show','UniverDrawing','MoveSheet','_updateDiffMarks','6065913hkRIyC','BehaviorSubject','now',':\x20(','YUUMI_NO_CUBOID_FOR_QUESTION','toDisposable','LICENSE_MAX_UNITS_EXCEEDED','LOGIN_FAILED','displayName','editHistory.panel.revertDesc','Comment','UNAUTHENTICATED','object','HideWorksheet','_httpService','USER_IS_ANONYMOUS','HideSheet','loadingState','UpdateDataValidationMutation','_maskContainer','ITransformService','YUUMI_ALL_TABLES_IS_INVALID','_combineRanges','versions','_permissionService','time','UNRECOGNIZED','getVpScrollXYInfoByPosToVp','getViewport','_loadingState$','confirm','PAYMENT_CHANNEL_NOT_SUPPORT','ICommandService','error','_sidebarDisposable','getUnitOnRev','currentVersionDiff$','_getSheetObject','_initActiveSwitch','_historyFetchService','REDEMPTION_CODE_INACTIVE','children','_cellEditorManagerService','updatePermissionPoint','NOT_FOUND','bottom','userId','createElement','CURRENT_STATUS_CANNOT_OPERATE','AddConditionalRuleMutation','USER_NOT_INVITED_CODE','users','Fragment','editHistory.info.loading','_uiPartsService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','YUUMI_UNABLE_LOAD_URL','cellValue','zIndex','subUnitId','_removeDiffMarks','switchMap','className','_context','exited','REDEMPTION_INVALID_CODE','_commandService','none','mutations','ALREADY_EXISTS','startRevision','_compressMutationService','_status$','LICENSE_IMPORT_SIZE_EXCEEDED','startRow','Entered','SnapshotServerOverHTTPService','getDeserializedSheetBlock','active','editHistory.header.revert','revertSheet','name','set','FromArray','Duplicate','ranges','range','rgba(225,\x20225,\x20225,\x200.5)','row','_getRangesByMutation','DeleteColumn','_currentVersion$','ENTITLE_DUP_SUBSCRIPTION','univer-text-gray-500','_sheetSkeletonManagerService','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','UNIVER_SHEET','action','workbook','History','@univerjs-pro/collaboration','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ISnapshotServerService','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','dateString','UNDEFINED','_componentManager','CopySheet','CHANGESET_REVISION_CONFILICT','1em','createTime','ManageCollaborator','_canRevert','@univerjs/drawing','ENTITLE_CHAT_LIMIT_EXCEED','UniverSheetsUi','clsx','add','UniverDesign','addProtection','MessageType','parse','insertSheet','InsertRow','_confirmService','data','COMPLETION_FINISHED','editHistory.panel.cancel','SHEET_VIEWPORT_KEY','YUUMI_RATE_OVER_LIMIT','Export','editHistory.action.revertSheetPrefix','univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','blocks','@univerjs/sheets-conditional-formatting','_workbookDataCache','Inject','rev','http://www.w3.org/2000/svg','sheetId','focusUnit','getSheetObject','_getActiveSubUnitId','VIRTUAL_VERSION_NOW','UniverEngineRender','IDialogService','CONNECTOR_DATA_TOO_LARGE','BuiltInUIPart','INVITE_CODE_ALREADY_BOUND','DeleteSheet','YUUMI_CONNECTOR_URL_NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ERROR_AGAIN','flat','_initPanel','SetColumnStyle','height','IImageIoService','split','getVersion','_initRender','FloatImg','forEach','filter','getCurrentVersion','@univerjs/design','UniverCore','DependentOn','pluginName','getConfig','AUTHORIZE_CODE_ILLEGAL','REDEMPTION_CODE_NOT_STARTED','useState','WorkbookEditablePermission','_diffRangesMap','Disposable','currentVersion','interceptor','CreatePermissionObject','_renderManagerService','PY_RUNTIME_SCRIPT_ERROR','loaded','INVITE_CODE_HAS_BEEN_UES','View','univer-text-2xl\x20dark:!univer-text-white','AddSheetSparklineMutation','currentVersion$','AddRangeProtectionMutation','flex','#0B9EFB','RenameSheet','_initMaskContainer','dispose','APPLY_PERMISSION_DENIED','getCurrentLocale','IMessageService','100%','top','ViemRwHgtClWdt','SetWorksheetStyle','includes','div','Vector2','InsertSheetMutation','ensureVersion','DeleteRangeProtectionMutation','asObservable','function','subType','RevertRevisionMutation','SNAPSHOT_INVALID_SNAPSHOT','blockMeta','restore-icon_clip0_1247_2','_currentVersionDiff$','SetFrozenMutation','startColumn','HistoryManagerService','disposeUnit','MOBILE_HAS_BEEN_BOUND','getMember','univer-overflow-hidden','_injector','SelectProtectedCells','CreateSheet','jsxs','_transformService','merge','memberId','_messageService','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','left','BackIcon','revertRevision$','evenodd','_revertRevision$','_sidebarService','subscribe','IUniverInstanceService','Edit','then','_snapshotServerService','AddDataValidationMutation','CreateWorksheet','has','UniverIcon','current','registerComponent','4196608zMWgfq','url(#restore-icon_clip0_1247_2)','631143BlDaDf','triggerLoadVersions','COMPRESS_MUTATION_APPLY','UNIVER_DOC','useCallback','setValue','open','InsertColMutation','exports','ObjectMatrix','defIds','INTERNAL_ERROR','@univerjs-pro/collaboration-client-ui','use','SheetPermissionInitController','_hasMore','_extractRanges','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','INVITE_CODE_REQUIRED','replace','_init','currentColor','Button','m1Prime','string','APPLY_DUPLICATED','@univerjs-pro/collaboration-client','display','endColumn','rect','ComponentManager','editHistory.panel.listFetchError','CreateUnitMutation','Loading','Copy','0\x200\x2016\x2016','editHistory.action.','REDEMPTION_USER_REDEEM_TIMES_EXCEED','unitId$','useObservable','SNAPSHOT_HAS_BEEN_REMOVED','block','SheetSkeletonManagerService','EditExtraObject','map','length','getVersions','362628OVjWlc','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','REDEMPTION_USER_NOT_ELIGIBLE','rxjs','getInterceptPoints','@univerjs/sheets-ui','params','endRevision','jsx','toStringTag','fetchMissingChangesets','/list?length=20','from','YUUMI_SUBSCRIPTION_NOT_FOUND','back-icon','ICellEditorManagerService','@univerjs/network','MoveWorksheet','pipe','onSteady','getAncestorScale','UniverProSheetsSparkline','_transformMutationByOrder','ViewFilter','svg','useRef','justifyContent','_historyManagerService','register','createUnit','3906455HggmvC','loadingState$','_historyContainerId','&lastLabel=','2009730piBstR','IUIPartsService','registerRenderModule','_unitId$','getMinutes','editHistory.action.revertSheetSuffix','LoadingMultiIcon','Tooltip','PivotTable','UniverSheets','getCoordByCell','getOwnPropertyDescriptor','push','attrs','deleteProtection','commands','_maskElement','value','addObjects','editHistory.panel.revertConfirmText','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','8662864IntbhZ','UniverNetworkPlugin','EMAIL_VERIFY_CODE_MISMATCH','_createMask','_dialogOptions$','hideMask','center','assign','forwardRef','symbol','mask','SetRowStyle','values','getCurrent','ISidebarService','LICENSE_EXPORT_SIZE_EXCEEDED','onMouseMove','clear','LICENSE_DISTRO_REJECTED','executeCommand','_fetching','userID','Injector','entries','UNIVER_PROJECT','combineLatest','1000','SetNumfmtMutation','univer-flex\x20univer-items-center\x20univer-justify-center','_config','Error','toString','@univerjs/engine-render','ZH_CN','date','get','TOO_MANY_REQUESTS','padStart','toISOString','[HistoryFetchService]:\x20request\x20snapshot\x20error!','DisposableCollection','RenameWorksheet','SetWorksheetActiveOperation','WorkbookRenameSheetPermission','rule','close','INVALID_INVITE_CODE','anonymous','triggerRevert','_getAPIPrefix','Module'];_0x1bb1=function(){return _0x59251d;};return _0x1bb1();}function _0x1d45(_0x3ed032,_0x4b070b){const _0x1bb1e6=_0x1bb1();return _0x1d45=function(_0x1d451e,_0x322279){_0x1d451e=_0x1d451e-0x17f;let _0x4256af=_0x1bb1e6[_0x1d451e];return _0x4256af;},_0x1d45(_0x3ed032,_0x4b070b);}(function(_0x1b56ce,_0x2bcbd1){const _0x52961a=_0x1d45,_0x3f37c0=_0x1b56ce();while(!![]){try{const _0x6b8f7e=-parseInt(_0x52961a(0x277))/0x1+-parseInt(_0x52961a(0x2a6))/0x2+-parseInt(_0x52961a(0x2c8))/0x3+parseInt(_0x52961a(0x275))/0x4+parseInt(_0x52961a(0x2c4))/0x5*(parseInt(_0x52961a(0x354))/0x6)+-parseInt(_0x52961a(0x3c6))/0x7+parseInt(_0x52961a(0x2dd))/0x8;if(_0x6b8f7e===_0x2bcbd1)break;else _0x3f37c0['push'](_0x3f37c0['shift']());}catch(_0x2e5af0){_0x3f37c0['push'](_0x3f37c0['shift']());}}}(_0x1bb1,0x89c97),function(_0x22f3af,_0x1c63b0){const _0x385f48=_0x1d45;typeof exports==_0x385f48(0x189)&&typeof module<'u'?_0x1c63b0(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x385f48(0x24d)&&define['amd']?define([_0x385f48(0x27f),_0x385f48(0x1e1),_0x385f48(0x291),'@univerjs/core',_0x385f48(0x1ee),_0x385f48(0x2fd),_0x385f48(0x2b6),_0x385f48(0x2ab),_0x385f48(0x37f),_0x385f48(0x223),_0x385f48(0x38a),_0x385f48(0x2a9),_0x385f48(0x3a3),_0x385f48(0x32d),_0x385f48(0x203),'@univerjs/sheets-filter',_0x385f48(0x3a1),'react',_0x385f48(0x283)],_0x1c63b0):(_0x22f3af=typeof globalThis<'u'?globalThis:_0x22f3af||self,_0x1c63b0(_0x22f3af['UniverProEditHistoryViewer']={},_0x22f3af['UniverProCollaboration'],_0x22f3af[_0x385f48(0x38f)],_0x22f3af[_0x385f48(0x224)],_0x22f3af[_0x385f48(0x3c3)],_0x22f3af[_0x385f48(0x20d)],_0x22f3af[_0x385f48(0x3b9)],_0x22f3af[_0x385f48(0x1f0)],_0x22f3af['UniverUi'],_0x22f3af[_0x385f48(0x1f3)],_0x22f3af[_0x385f48(0x2d1)],_0x22f3af[_0x385f48(0x2a9)],_0x22f3af[_0x385f48(0x2bb)],_0x22f3af['UniverDataValidation'],_0x22f3af[_0x385f48(0x3a6)],_0x22f3af['UniverSheetsFilter'],_0x22f3af['React'],_0x22f3af[_0x385f48(0x331)],_0x22f3af[_0x385f48(0x3bd)]));}(this,function(_0x311108,_0x221432,_0x4371ba,_0x5999cd,_0x17f407,_0x9378cd,_0x5eeed9,_0x1f85a6,_0x447332,_0x1f7c98,_0x31a12e,_0x2ae290,_0x155fda,_0x1dd3f5,_0x1034bd,_0x45108d,_0x4dbad1,_0x3b3caa,_0xab4d26){'use strict';const _0x1afe5f=_0x1d45;var _0x28629c=Object[_0x1afe5f(0x379)],_0x445804=(_0x2274aa,_0xec9999,_0x348d9f)=>_0xec9999 in _0x2274aa?_0x28629c(_0x2274aa,_0xec9999,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x348d9f}):_0x2274aa[_0xec9999]=_0x348d9f,_0x57ef2d=(_0x55cd52,_0x2fef7a,_0x3b5f4c)=>_0x445804(_0x55cd52,typeof _0x2fef7a!=_0x1afe5f(0x2e6)?_0x2fef7a+'':_0x2fef7a,_0x3b5f4c);const _0x438df1='edit-history-viewer.config',_0x5cf162={};var _0x17cee8=Object[_0x1afe5f(0x2d3)],_0x3a711e=(_0x8dd36d,_0xf19dae,_0x374891,_0x2be208)=>{for(var _0x4f2eaa=_0x2be208>0x1?void 0x0:_0x2be208?_0x17cee8(_0xf19dae,_0x374891):_0xf19dae,_0x19e8e0=_0x8dd36d['length']-0x1,_0x23fd81;_0x19e8e0>=0x0;_0x19e8e0--)(_0x23fd81=_0x8dd36d[_0x19e8e0])&&(_0x4f2eaa=_0x23fd81(_0x4f2eaa)||_0x4f2eaa);return _0x4f2eaa;},_0x58330b=(_0xd8e93b,_0x303644)=>(_0x243861,_0x35a632)=>_0x303644(_0x243861,_0x35a632,_0xd8e93b);let _0x412f1a=class extends _0x5999cd['Disposable']{constructor(_0xc09cb2){const _0x2ad7ba=_0x1afe5f;super(),this[_0x2ad7ba(0x1a7)]=_0xc09cb2,this[_0x2ad7ba(0x28b)]();}['_init'](){const _0x1ba00d=_0x1afe5f;this[_0x1ba00d(0x39b)](this[_0x1ba00d(0x1a7)][_0x1ba00d(0x33a)][_0x1ba00d(0x26a)](_0x1c3298=>{const _0x5ef707=_0x1ba00d;_0x1c3298!=null&&_0x1c3298[_0x5ef707(0x3c2)]&&this[_0x5ef707(0x1a7)][_0x5ef707(0x3b1)]({'show':!0x1});}));}};_0x412f1a=_0x3a711e([_0x58330b(0x0,_0x1f85a6[_0x1afe5f(0x2b5)])],_0x412f1a);var _0x1a56b0=(_0x54aa57=>(_0x54aa57[_0x54aa57[_0x1afe5f(0x1e6)]=0x0]=_0x1afe5f(0x1e6),_0x54aa57[_0x54aa57['OK']=0x1]='OK',_0x54aa57[_0x54aa57[_0x1afe5f(0x282)]=0x2]=_0x1afe5f(0x282),_0x54aa57[_0x54aa57[_0x1afe5f(0x34f)]=0x3]=_0x1afe5f(0x34f),_0x54aa57[_0x54aa57['NOT_FOUND']=0x4]=_0x1afe5f(0x1a9),_0x54aa57[_0x54aa57[_0x1afe5f(0x188)]=0x5]=_0x1afe5f(0x188),_0x54aa57[_0x54aa57[_0x1afe5f(0x1c2)]=0x6]=_0x1afe5f(0x1c2),_0x54aa57[_0x54aa57[_0x1afe5f(0x339)]=0x7]=_0x1afe5f(0x339),_0x54aa57[_0x54aa57[_0x1afe5f(0x301)]=0x8]='TOO_MANY_REQUESTS',_0x54aa57[_0x54aa57['COMPLETION_FINISHED']=0x9]=_0x1afe5f(0x1fb),_0x54aa57[_0x54aa57[_0x1afe5f(0x184)]=0xa]='LOGIN_FAILED',_0x54aa57[_0x54aa57['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x54aa57[_0x54aa57[_0x1afe5f(0x342)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x54aa57[_0x54aa57[_0x1afe5f(0x2df)]=0xd]=_0x1afe5f(0x2df),_0x54aa57[_0x54aa57[_0x1afe5f(0x215)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x54aa57[_0x54aa57[_0x1afe5f(0x228)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x54aa57[_0x54aa57['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x54aa57[_0x54aa57[_0x1afe5f(0x1ad)]=0x64]=_0x1afe5f(0x1ad),_0x54aa57[_0x54aa57[_0x1afe5f(0x216)]=0x65]=_0x1afe5f(0x216),_0x54aa57[_0x54aa57[_0x1afe5f(0x327)]=0xc9]=_0x1afe5f(0x327),_0x54aa57[_0x54aa57['USER_IS_ANONYMOUS']=0xca]=_0x1afe5f(0x18c),_0x54aa57[_0x54aa57[_0x1afe5f(0x1e9)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x54aa57[_0x54aa57[_0x1afe5f(0x250)]=0x1771]=_0x1afe5f(0x250),_0x54aa57[_0x54aa57[_0x1afe5f(0x29f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x54aa57[_0x54aa57[_0x1afe5f(0x37e)]=0x1773]=_0x1afe5f(0x37e),_0x54aa57[_0x54aa57[_0x1afe5f(0x31d)]=0x1b59]='APPLY_REJECT',_0x54aa57[_0x54aa57[_0x1afe5f(0x353)]=0x1b5a]=_0x1afe5f(0x353),_0x54aa57[_0x54aa57[_0x1afe5f(0x3a0)]=0x1b5b]=_0x1afe5f(0x3a0),_0x54aa57[_0x54aa57[_0x1afe5f(0x23f)]=0x1b5c]=_0x1afe5f(0x23f),_0x54aa57[_0x54aa57['APPLY_DUPLICATED']=0x1b5d]=_0x1afe5f(0x290),_0x54aa57[_0x54aa57[_0x1afe5f(0x20f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x54aa57[_0x54aa57[_0x1afe5f(0x183)]=0x2329]=_0x1afe5f(0x183),_0x54aa57[_0x54aa57[_0x1afe5f(0x1e2)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x54aa57[_0x54aa57[_0x1afe5f(0x1c6)]=0x232b]=_0x1afe5f(0x1c6),_0x54aa57[_0x54aa57[_0x1afe5f(0x2ec)]=0x232c]=_0x1afe5f(0x2ec),_0x54aa57[_0x54aa57[_0x1afe5f(0x2ef)]=0x232d]=_0x1afe5f(0x2ef),_0x54aa57[_0x54aa57[_0x1afe5f(0x1b5)]=0x2711]=_0x1afe5f(0x1b5),_0x54aa57[_0x54aa57[_0x1afe5f(0x347)]=0x2712]=_0x1afe5f(0x347),_0x54aa57[_0x54aa57[_0x1afe5f(0x1fe)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x54aa57[_0x54aa57[_0x1afe5f(0x2b3)]=0x2714]=_0x1afe5f(0x2b3),_0x54aa57[_0x54aa57[_0x1afe5f(0x181)]=0x271a]=_0x1afe5f(0x181),_0x54aa57[_0x54aa57[_0x1afe5f(0x37d)]=0x271b]=_0x1afe5f(0x37d),_0x54aa57[_0x54aa57['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1afe5f(0x214),_0x54aa57[_0x54aa57['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1afe5f(0x192),_0x54aa57[_0x54aa57['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x54aa57[_0x54aa57['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1afe5f(0x3ac),_0x54aa57[_0x54aa57[_0x1afe5f(0x213)]=0x2720]=_0x1afe5f(0x213),_0x54aa57[_0x54aa57[_0x1afe5f(0x232)]=0x2af9]=_0x1afe5f(0x232),_0x54aa57[_0x54aa57['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1afe5f(0x234),_0x54aa57[_0x54aa57['INVALID_INVITE_CODE']=0x2ee2]=_0x1afe5f(0x30b),_0x54aa57[_0x54aa57[_0x1afe5f(0x289)]=0x2ee3]=_0x1afe5f(0x289),_0x54aa57[_0x54aa57[_0x1afe5f(0x1af)]=0x2ee4]=_0x1afe5f(0x1af),_0x54aa57[_0x54aa57[_0x1afe5f(0x211)]=0x2ee5]=_0x1afe5f(0x211),_0x54aa57[_0x54aa57[_0x1afe5f(0x39e)]=0x32c9]=_0x1afe5f(0x39e),_0x54aa57[_0x54aa57[_0x1afe5f(0x258)]=0x32ca]=_0x1afe5f(0x258),_0x54aa57[_0x54aa57['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1afe5f(0x31a),_0x54aa57[_0x54aa57[_0x1afe5f(0x322)]=0x36b1]=_0x1afe5f(0x322),_0x54aa57[_0x54aa57[_0x1afe5f(0x1b4)]=0x36b2]=_0x1afe5f(0x1b4),_0x54aa57[_0x54aa57[_0x1afe5f(0x1d9)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x54aa57[_0x54aa57[_0x1afe5f(0x19c)]=0x36b4]=_0x1afe5f(0x19c),_0x54aa57[_0x54aa57[_0x1afe5f(0x1ef)]=0x3715]=_0x1afe5f(0x1ef),_0x54aa57[_0x54aa57[_0x1afe5f(0x31b)]=0x3716]=_0x1afe5f(0x31b),_0x54aa57[_0x54aa57[_0x1afe5f(0x377)]=0x3717]=_0x1afe5f(0x377),_0x54aa57[_0x54aa57[_0x1afe5f(0x3bf)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x54aa57[_0x54aa57[_0x1afe5f(0x1be)]=0x3a99]=_0x1afe5f(0x1be),_0x54aa57[_0x54aa57[_0x1afe5f(0x1a5)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x54aa57[_0x54aa57[_0x1afe5f(0x396)]=0x3a9b]=_0x1afe5f(0x396),_0x54aa57[_0x54aa57[_0x1afe5f(0x229)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x54aa57[_0x54aa57['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x1afe5f(0x2a8),_0x54aa57[_0x54aa57[_0x1afe5f(0x29c)]=0x3a9e]=_0x1afe5f(0x29c),_0x54aa57[_0x54aa57[_0x1afe5f(0x341)]=0x3a9f]=_0x1afe5f(0x341),_0x54aa57[_0x54aa57['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x54aa57[_0x54aa57[_0x1afe5f(0x197)]=-0x1]='UNRECOGNIZED',_0x54aa57))(_0x1a56b0||{}),_0x49d7de=(_0xf7369c=>(_0xf7369c[_0xf7369c['UNIVER_UNKNOWN']=0x0]=_0x1afe5f(0x3b5),_0xf7369c[_0xf7369c[_0x1afe5f(0x27a)]=0x1]='UNIVER_DOC',_0xf7369c[_0xf7369c[_0x1afe5f(0x1dd)]=0x2]='UNIVER_SHEET',_0xf7369c[_0xf7369c['UNIVER_SLIDE']=0x3]=_0x1afe5f(0x333),_0xf7369c[_0xf7369c['UNIVER_PROJECT']=0x4]=_0x1afe5f(0x2f5),_0xf7369c[_0xf7369c['UNRECOGNIZED']=-0x1]=_0x1afe5f(0x197),_0xf7369c))(_0x49d7de||{}),_0x1f8240=(_0x323228=>(_0x323228[_0x323228[_0x1afe5f(0x235)]=0x0]=_0x1afe5f(0x235),_0x323228[_0x323228['Edit']=0x1]=_0x1afe5f(0x26c),_0x323228[_0x323228[_0x1afe5f(0x1ec)]=0x2]=_0x1afe5f(0x1ec),_0x323228[_0x323228['Print']=0x3]='Print',_0x323228[_0x323228['Duplicate']=0x4]=_0x1afe5f(0x1d1),_0x323228[_0x323228[_0x1afe5f(0x187)]=0x5]='Comment',_0x323228[_0x323228[_0x1afe5f(0x299)]=0x6]='Copy',_0x323228[_0x323228[_0x1afe5f(0x356)]=0x7]=_0x1afe5f(0x356),_0x323228[_0x323228[_0x1afe5f(0x1ff)]=0x8]='Export',_0x323228[_0x323228[_0x1afe5f(0x2b7)]=0x9]=_0x1afe5f(0x2b7),_0x323228[_0x323228['DeleteWorksheet']=0xa]='DeleteWorksheet',_0x323228[_0x323228[_0x1afe5f(0x18a)]=0xb]=_0x1afe5f(0x18a),_0x323228[_0x323228[_0x1afe5f(0x306)]=0xc]=_0x1afe5f(0x306),_0x323228[_0x323228['CreateWorksheet']=0xd]=_0x1afe5f(0x270),_0x323228[_0x323228[_0x1afe5f(0x245)]=0xe]=_0x1afe5f(0x245),_0x323228[_0x323228[_0x1afe5f(0x33f)]=0xf]=_0x1afe5f(0x33f),_0x323228[_0x323228['InsertHyperlink']=0x10]=_0x1afe5f(0x35f),_0x323228[_0x323228[_0x1afe5f(0x382)]=0x11]=_0x1afe5f(0x382),_0x323228[_0x323228['Filter']=0x12]='Filter',_0x323228[_0x323228[_0x1afe5f(0x2d0)]=0x13]=_0x1afe5f(0x2d0),_0x323228[_0x323228['FloatImg']=0x14]=_0x1afe5f(0x21f),_0x323228[_0x323228[_0x1afe5f(0x1e0)]=0x15]=_0x1afe5f(0x1e0),_0x323228[_0x323228[_0x1afe5f(0x335)]=0x16]=_0x1afe5f(0x335),_0x323228[_0x323228[_0x1afe5f(0x244)]=0x17]=_0x1afe5f(0x244),_0x323228[_0x323228[_0x1afe5f(0x2bd)]=0x18]=_0x1afe5f(0x2bd),_0x323228[_0x323228[_0x1afe5f(0x3c4)]=0x19]='MoveSheet',_0x323228[_0x323228[_0x1afe5f(0x212)]=0x1a]=_0x1afe5f(0x212),_0x323228[_0x323228[_0x1afe5f(0x18d)]=0x1b]=_0x1afe5f(0x18d),_0x323228[_0x323228[_0x1afe5f(0x1e8)]=0x1c]=_0x1afe5f(0x1e8),_0x323228[_0x323228[_0x1afe5f(0x23c)]=0x1d]=_0x1afe5f(0x23c),_0x323228[_0x323228['CreateSheet']=0x1e]=_0x1afe5f(0x25d),_0x323228[_0x323228[_0x1afe5f(0x25c)]=0x1f]='SelectProtectedCells',_0x323228[_0x323228['SelectUnProtectedCells']=0x20]=_0x1afe5f(0x345),_0x323228[_0x323228[_0x1afe5f(0x324)]=0x21]=_0x1afe5f(0x324),_0x323228[_0x323228[_0x1afe5f(0x34e)]=0x22]=_0x1afe5f(0x34e),_0x323228[_0x323228['SetRowStyle']=0x23]=_0x1afe5f(0x2e8),_0x323228[_0x323228[_0x1afe5f(0x219)]=0x24]='SetColumnStyle',_0x323228[_0x323228[_0x1afe5f(0x1f8)]=0x25]=_0x1afe5f(0x1f8),_0x323228[_0x323228[_0x1afe5f(0x337)]=0x26]='InsertColumn',_0x323228[_0x323228['DeleteRow']=0x27]=_0x1afe5f(0x363),_0x323228[_0x323228[_0x1afe5f(0x1d7)]=0x28]=_0x1afe5f(0x1d7),_0x323228[_0x323228[_0x1afe5f(0x2a2)]=0x29]=_0x1afe5f(0x2a2),_0x323228[_0x323228[_0x1afe5f(0x349)]=0x2a]=_0x1afe5f(0x349),_0x323228[_0x323228[_0x1afe5f(0x372)]=0x2b]=_0x1afe5f(0x372),_0x323228[_0x323228[_0x1afe5f(0x391)]=0x2c]=_0x1afe5f(0x391),_0x323228[_0x323228[_0x1afe5f(0x230)]=0x2d]='CreatePermissionObject',_0x323228[_0x323228[_0x1afe5f(0x197)]=-0x1]=_0x1afe5f(0x197),_0x323228))(_0x1f8240||{});function _0x511b1b(_0x2f5e0b){const _0x5e6e35=_0x1afe5f;return!!(_0x2f5e0b&&_0x2f5e0b['code']&&_0x2f5e0b[_0x5e6e35(0x367)]!==_0x1a56b0['OK']&&_0x2f5e0b[_0x5e6e35(0x367)]!=='OK');}const _0x414a26=(_0x43dc39,_0x6bd376)=>{const _0x50cd1d=_0x1afe5f;if(!_0x43dc39)return{'date':'','time':''};const _0x535f12=new Date(_0x43dc39),_0x9df9a=_0x535f12[_0x50cd1d(0x303)]()[_0x50cd1d(0x21c)]('T')[0x0];switch(_0x6bd376){case _0x5999cd['LocaleType'][_0x50cd1d(0x2fe)]:return{'date':_0x56ddd8(_0x9df9a,_0x6bd376),'time':_0x535f12[_0x50cd1d(0x317)]()+':'+String(_0x535f12[_0x50cd1d(0x2cc)]())[_0x50cd1d(0x302)](0x2,'0')};default:return{'date':_0x56ddd8(_0x9df9a,_0x6bd376),'time':_0x535f12[_0x50cd1d(0x317)]()+':'+_0x535f12[_0x50cd1d(0x2cc)]()};}},_0x2d0f08=(_0x383a75,_0x3bcd99)=>{const _0x1cdad1=_0x1afe5f,_0x417fee=_0x383a75['user']||_0x3bcd99['t']('editHistory.panel.unknownUser');if(_0x383a75['commands'][_0x1cdad1(0x34c)](_0x342a5d=>_0x342a5d===_0x221432[_0x1cdad1(0x24f)]['id'])&&_0x383a75[_0x1cdad1(0x35c)]){const _0xf86c70=_0x414a26(_0x383a75[_0x1cdad1(0x35c)],_0x3bcd99['getCurrentLocale']()),_0x269b1e=_0xf86c70[_0x1cdad1(0x2ff)]+'\x20'+_0xf86c70[_0x1cdad1(0x196)];return _0x417fee+'\x20'+_0x3bcd99['t'](_0x1cdad1(0x200))+'\x20'+_0x269b1e+'\x20'+_0x3bcd99['t'](_0x1cdad1(0x2cd));}const _0x2d2d05=_0x1e85ca(_0x383a75),_0x25040e=_0x2d2d05[_0x1cdad1(0x2a4)]===0x1?_0x3bcd99['t'](_0x2d2d05[0x0]):''+_0x3bcd99['t'](_0x2d2d05[0x0])+_0x3bcd99['t'](_0x1cdad1(0x348));return _0x417fee+'\x20'+_0x25040e;};function _0x1e85ca(_0x4d05e9){const _0x4b491f=_0x1afe5f;if(_0x4d05e9[_0x4b491f(0x2d7)][_0x4b491f(0x2a4)]===0x0)return[''];const _0x3f4a3e=_0x4b491f(0x29b),_0x31f6ff=_0x3f4a3e+'editSheet',_0x39ce55=[{'id':_0x221432[_0x4b491f(0x297)]['id'],'action':_0x3f4a3e+_0x4b491f(0x32f)},{'id':_0x221432[_0x4b491f(0x24f)]['id'],'action':_0x3f4a3e+_0x4b491f(0x1cd)},{'id':_0x31a12e[_0x4b491f(0x249)]['id'],'action':_0x3f4a3e+_0x4b491f(0x1f7)},{'id':_0x31a12e[_0x4b491f(0x362)]['id'],'action':_0x3f4a3e+_0x4b491f(0x39c)},{'id':_0x31a12e[_0x4b491f(0x254)]['id'],'action':_0x3f4a3e+'setFrozen'},{'id':_0x45108d['SetSheetsFilterRangeMutation']['id'],'action':_0x3f4a3e+_0x4b491f(0x33e)},{'id':_0x1dd3f5[_0x4b491f(0x26f)]['id'],'action':_0x3f4a3e+_0x4b491f(0x357)},{'id':_0x1dd3f5[_0x4b491f(0x18f)]['id'],'action':_0x3f4a3e+_0x4b491f(0x357)},{'id':_0x1034bd[_0x4b491f(0x318)]['id'],'action':_0x3f4a3e+_0x4b491f(0x32c)},{'id':_0x1034bd[_0x4b491f(0x1ae)]['id'],'action':_0x3f4a3e+_0x4b491f(0x32c)},{'id':_0x31a12e['AddWorksheetProtectionMutation']['id'],'action':_0x3f4a3e+_0x4b491f(0x1f4)},{'id':_0x31a12e[_0x4b491f(0x239)]['id'],'action':_0x3f4a3e+_0x4b491f(0x1f4)},{'id':_0x155fda[_0x4b491f(0x237)]['id'],'action':_0x3f4a3e+_0x4b491f(0x3b8)},{'id':_0x31a12e[_0x4b491f(0x24b)]['id'],'action':_0x3f4a3e+_0x4b491f(0x2d6)},{'id':_0x31a12e['DeleteWorksheetProtectionMutation']['id'],'action':_0x3f4a3e+_0x4b491f(0x2d6)}][_0x4b491f(0x221)](_0x296597=>_0x4d05e9[_0x4b491f(0x2d7)][_0x4b491f(0x246)](_0x296597['id']));return _0x39ce55!=null&&_0x39ce55[_0x4b491f(0x2a4)]?_0x39ce55[_0x4b491f(0x2a3)](_0x35ae3f=>_0x35ae3f[_0x4b491f(0x1de)]):[_0x31f6ff];}function _0x56ddd8(_0xbde1b2,_0x340670){const _0x3b803c=_0x1afe5f,[_0x3bc689,_0x73882a,_0x3bfc58]=new Date()[_0x3b803c(0x303)]()['split']('T')[0x0][_0x3b803c(0x21c)]('-'),[_0x3c50dd,_0x2ff6da,_0x2966ba]=_0xbde1b2[_0x3b803c(0x21c)]('-'),_0x5c6c54=_0x3bc689===_0x3c50dd&&_0x73882a===_0x2ff6da&&_0x3bfc58===_0x2966ba;let _0x305308='',_0x1e5424='',_0x549c4b='';switch(_0x340670){case _0x5999cd['LocaleType'][_0x3b803c(0x2fe)]:return _0x5c6c54?'今天':(_0x305308=_0x3bc689===_0x3c50dd?'':_0x3c50dd+'年',_0x1e5424=_0x2ff6da+'月',_0x549c4b=_0x2966ba+'日',''+_0x305308+_0x1e5424+_0x549c4b);default:return _0x5c6c54?_0x3b803c(0x3b2):(_0x305308=_0x3bc689===_0x3c50dd?'':_0x3c50dd+'-',_0x1e5424=_0x2ff6da+'-',_0x549c4b=''+_0x2966ba,''+_0x305308+_0x1e5424+_0x549c4b);}}function _0x6dcede(_0x3e3c92){return _0x3e3c92?_0x3e3c92['reduce']((_0x105831,_0x450724)=>{const _0x35d1bb=_0x1d45,_0x8446bd=new Date(_0x450724[_0x35d1bb(0x196)])[_0x35d1bb(0x303)]()['split']('T')[0x0];return _0x105831[_0x35d1bb(0x2a4)]>0x0&&_0x105831[_0x105831[_0x35d1bb(0x2a4)]-0x1]['dateString']===_0x8446bd?_0x105831[_0x105831[_0x35d1bb(0x2a4)]-0x1][_0x35d1bb(0x194)]['push'](_0x450724):_0x105831[_0x35d1bb(0x2d4)]({'dateString':_0x8446bd,'versions':[_0x450724]}),_0x105831;},[]):[];}var _0x4d64d5=Object[_0x1afe5f(0x2d3)],_0x9adae6=(_0x1f4327,_0x4fcd50,_0x376d63,_0x1ba255)=>{const _0x5043e2=_0x1afe5f;for(var _0x34c62c=_0x1ba255>0x1?void 0x0:_0x1ba255?_0x4d64d5(_0x4fcd50,_0x376d63):_0x4fcd50,_0xa74f9e=_0x1f4327[_0x5043e2(0x2a4)]-0x1,_0x103d14;_0xa74f9e>=0x0;_0xa74f9e--)(_0x103d14=_0x1f4327[_0xa74f9e])&&(_0x34c62c=_0x103d14(_0x34c62c)||_0x34c62c);return _0x34c62c;},_0x48ee7b=(_0x4461ff,_0x59cbe0)=>(_0x351659,_0x151ee3)=>_0x59cbe0(_0x351659,_0x151ee3,_0x4461ff);const _0xe61c68=_0x1afe5f(0x3a7);let _0x61ac77=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x1242da,_0x180599,_0x170ffc,_0x2411dd,_0x5ad77e,_0x38716f,_0x3f3644){const _0x216b73=_0x1afe5f;super(),_0x57ef2d(this,_0x216b73(0x204),new Map()),(this[_0x216b73(0x26e)]=_0x1242da,this[_0x216b73(0x39d)]=_0x180599,this[_0x216b73(0x1bf)]=_0x170ffc,this[_0x216b73(0x383)]=_0x2411dd,this['_httpService']=_0x5ad77e,this[_0x216b73(0x1c4)]=_0x38716f,this['_sheetPermissionInitController']=_0x3f3644);}[_0x1afe5f(0x23e)](){const _0x4fc7dd=_0x1afe5f;this[_0x4fc7dd(0x204)][_0x4fc7dd(0x2ee)](),super[_0x4fc7dd(0x23e)]();}async[_0x1afe5f(0x2a5)](_0x3510e2,_0x404f97){const _0x5a05c4=_0x1afe5f,_0x4b5934=this['_getAPIPrefix']()+'/'+_0x3510e2+_0x5a05c4(0x2b1)+(_0x404f97?_0x5a05c4(0x2c7)+_0x404f97:'');try{const _0x1ed873=(await this[_0x5a05c4(0x18b)][_0x5a05c4(0x300)](_0x4b5934))[_0x5a05c4(0x325)];if(_0x1ed873&&_0x1ed873[_0x5a05c4(0x19e)]&&_0x1ed873[_0x5a05c4(0x19e)][_0x5a05c4(0x367)]===_0x1a56b0['OK']){const {hasMore:_0x9b2f56,lastLabel:_0x25b5b7}=_0x1ed873,_0x838645=_0x22aa0c(_0x1ed873),_0x2bb977=_0x1ed873['entities'][_0x5a05c4(0x1b0)];return{'hasMore':_0x9b2f56,'lastLabel':_0x25b5b7,'versions':_0x838645,'members':_0x2bb977};}}catch(_0x125970){console[_0x5a05c4(0x19e)](_0x125970);}return null;}[_0x1afe5f(0x30e)](){const _0x1df01a=_0x1afe5f;var _0x34c23f;const _0xf9593f=this['_configService'][_0x1df01a(0x227)](_0x438df1);return(_0x34c23f=_0xf9593f==null?void 0x0:_0xf9593f[_0x1df01a(0x326)])!=null?_0x34c23f:_0xe61c68;}async[_0x1afe5f(0x384)](_0xc1cd19,_0x55cfa7,_0x40e0aa){const _0x4550b1=_0x1afe5f;var _0x2a64c2,_0x2668e2;_0x40e0aa===void 0x0&&(_0x40e0aa={}),this[_0x4550b1(0x204)][_0x4550b1(0x271)](_0xc1cd19)||this[_0x4550b1(0x204)][_0x4550b1(0x1cf)](_0xc1cd19,new Map());const {snapshot:_0x561596,changesets:_0x6cd944,error:_0x3762ef}=await this[_0x4550b1(0x26e)][_0x4550b1(0x1a0)](_0x40e0aa,{'unitID':_0xc1cd19,'type':_0x49d7de['UNIVER_SHEET'],'revision':_0x55cfa7});if(_0x511b1b(_0x3762ef)||!_0x561596||!_0x561596[_0x4550b1(0x1df)])throw new Error(_0x4550b1(0x304));const _0x421151=(_0x2a64c2=_0x6cd944==null?void 0x0:_0x6cd944[_0x4550b1(0x2a4)])!=null?_0x2a64c2:0x0;if(_0x55cfa7!==0x0&&_0x561596[_0x4550b1(0x206)]+_0x421151!==_0x55cfa7)throw new Error(_0x4550b1(0x358));const {workbook:_0x1e3c91}=_0x561596,_0x32198a=_0x1e3c91[_0x4550b1(0x251)]?Object[_0x4550b1(0x2f4)](_0x1e3c91[_0x4550b1(0x251)])[_0x4550b1(0x2a3)](([_0x3e9d05,_0x45f66a])=>{const _0xc0a0fb=_0x4550b1;var _0x2fe770,_0x3ebb5f;return(_0x3ebb5f=(_0x2fe770=_0x45f66a[_0xc0a0fb(0x202)])==null?void 0x0:_0x2fe770[_0xc0a0fb(0x2a3)](_0x93e961=>_0x93e961))!=null?_0x3ebb5f:[];})[_0x4550b1(0x217)]():[],_0x358f98=(await Promise['all'](_0x32198a[_0x4550b1(0x2a3)](_0x5ab31e=>this['_snapshotServerService'][_0x4550b1(0x1ca)](_0x40e0aa,{'unitID':_0xc1cd19,'type':_0x49d7de['UNIVER_SHEET'],'blockID':_0x5ab31e})[_0x4550b1(0x26d)](_0x489b86=>_0x489b86[_0x4550b1(0x2a0)]))))[_0x4550b1(0x221)](_0x527553=>!!_0x527553),_0x38ef6b=_0x221432['transformSnapshotToWorkbookData'](_0x561596,_0x358f98,_0x40e0aa);return(_0x2668e2=this['_workbookDataCache'][_0x4550b1(0x300)](_0xc1cd19))==null||_0x2668e2[_0x4550b1(0x1cf)](_0x55cfa7,{'workbook':_0x38ef6b}),new Promise(_0x41b409=>{const _0xc54624=_0x4550b1,_0x478656=this['_univerInstanceService']['getCurrentUnitForType'](_0x5999cd[_0xc54624(0x313)][_0xc54624(0x1dd)]);_0x478656?(this[_0xc54624(0x39d)][_0xc54624(0x257)](_0x478656[_0xc54624(0x36c)]()),setTimeout(()=>{const _0x4a38b5=_0xc54624;this[_0x4a38b5(0x3ba)](_0x38ef6b,_0x6cd944),this[_0x4a38b5(0x390)]['refreshRangeProtectPermission'](),_0x41b409(!0x0);},0x0)):(this[_0xc54624(0x3ba)](_0x38ef6b,_0x6cd944),_0x41b409(!0x0));});}[_0x1afe5f(0x3ba)](_0x925052,_0x4e0dd3){const _0x5daea3=_0x1afe5f,_0x213dce=this[_0x5daea3(0x39d)][_0x5daea3(0x2c3)](_0x5999cd[_0x5daea3(0x313)][_0x5daea3(0x1dd)],_0x925052);this[_0x5daea3(0x39d)][_0x5daea3(0x209)](_0x213dce[_0x5daea3(0x36c)]());const _0x13db70=this[_0x5daea3(0x1c4)][_0x5daea3(0x22f)]['fetchThroughInterceptors'](this[_0x5daea3(0x1c4)][_0x5daea3(0x22f)][_0x5daea3(0x2aa)]()[_0x5daea3(0x279)]);return _0x4e0dd3==null||_0x4e0dd3['forEach'](_0x32eaf3=>{const _0x25e7df=_0x5daea3,_0x45ffef=_0x32eaf3[_0x25e7df(0x1c1)][_0x25e7df(0x2a3)](_0x29c8f1=>({'id':_0x29c8f1['id'],'params':JSON[_0x25e7df(0x1f6)](_0x29c8f1[_0x25e7df(0x1fa)])}));({..._0x32eaf3,'mutations':_0x13db70(_0x45ffef,null)||_0x45ffef}[_0x25e7df(0x1c1)][_0x25e7df(0x220)](_0x2d6417=>{const _0x61d241=_0x25e7df;this[_0x61d241(0x1bf)][_0x61d241(0x32e)](_0x2d6417['id'])&&this[_0x61d241(0x1bf)][_0x61d241(0x312)](_0x2d6417['id'],_0x2d6417[_0x61d241(0x2ac)]);}));}),_0x213dce;}};_0x61ac77=_0x9adae6([_0x48ee7b(0x0,_0x221432[_0x1afe5f(0x1e3)]),_0x48ee7b(0x1,_0x5999cd[_0x1afe5f(0x26b)]),_0x48ee7b(0x2,_0x5999cd[_0x1afe5f(0x19d)]),_0x48ee7b(0x3,_0x5999cd['IConfigService']),_0x48ee7b(0x4,_0x5999cd[_0x1afe5f(0x205)](_0x5eeed9[_0x1afe5f(0x389)])),_0x48ee7b(0x5,_0x5999cd[_0x1afe5f(0x205)](_0x221432['CompressMutationService'])),_0x48ee7b(0x6,_0x5999cd[_0x1afe5f(0x205)](_0x31a12e[_0x1afe5f(0x285)]))],_0x61ac77);function _0x22aa0c(_0x599e2a){const _0x14be21=_0x1afe5f;var _0x24c78f,_0x2b0deb;const _0x55fdfb=[],{entities:_0x4340de,historyIds:_0x5be914}=_0x599e2a,{datas:_0x474641,users:_0x36c248}=_0x4340de;for(const _0x1d7446 of _0x5be914)if(_0x474641[_0x1d7446]){const _0x264006=!!((_0x24c78f=_0x36c248[_0x474641[_0x1d7446]['userId']])!=null&&_0x24c78f[_0x14be21(0x30c)]);_0x55fdfb[_0x14be21(0x2d4)]({'unitId':_0x474641[_0x1d7446][_0x14be21(0x3bb)],'user':_0x264006?'':((_0x2b0deb=_0x36c248==null?void 0x0:_0x36c248[_0x474641[_0x1d7446][_0x14be21(0x1ab)]])==null?void 0x0:_0x2b0deb[_0x14be21(0x1ce)])||'','isAnonymous':_0x264006,'id':_0x1d7446,'time':_0x474641[_0x1d7446][_0x14be21(0x1eb)]?Number(_0x474641[_0x1d7446][_0x14be21(0x1eb)]):void 0x0,'commands':_0x474641[_0x1d7446]['command'],'startRev':Number(_0x474641[_0x1d7446][_0x14be21(0x1c3)]),'endRev':Number(_0x474641[_0x1d7446][_0x14be21(0x2ad)]),'recoverTime':_0x474641[_0x1d7446][_0x14be21(0x35c)]?Number(_0x474641[_0x1d7446][_0x14be21(0x35c)]):void 0x0});}return _0x55fdfb;}var _0x2a4d0f=Object[_0x1afe5f(0x2d3)],_0x50c23c=(_0x9ea3b9,_0xc7eb16,_0x22dedf,_0x2c31fa)=>{const _0x5dbdad=_0x1afe5f;for(var _0x1ad68d=_0x2c31fa>0x1?void 0x0:_0x2c31fa?_0x2a4d0f(_0xc7eb16,_0x22dedf):_0xc7eb16,_0x2eb0a4=_0x9ea3b9[_0x5dbdad(0x2a4)]-0x1,_0x27773d;_0x2eb0a4>=0x0;_0x2eb0a4--)(_0x27773d=_0x9ea3b9[_0x2eb0a4])&&(_0x1ad68d=_0x27773d(_0x1ad68d)||_0x1ad68d);return _0x1ad68d;},_0x2c8225=(_0x4a9017,_0x447d86)=>(_0x26161e,_0x52c613)=>_0x447d86(_0x26161e,_0x52c613,_0x4a9017),_0x4cb442=(_0x912fa3=>(_0x912fa3[_0x1afe5f(0x1c8)]=_0x1afe5f(0x380),_0x912fa3[_0x1afe5f(0x373)]=_0x1afe5f(0x1bd),_0x912fa3[_0x1afe5f(0x2fb)]=_0x1afe5f(0x19e),_0x912fa3))(_0x4cb442||{}),_0x89285d=(_0x2a4fdc=>(_0x2a4fdc[_0x1afe5f(0x311)]=_0x1afe5f(0x360),_0x2a4fdc['Loading']='loading',_0x2a4fdc[_0x1afe5f(0x3bc)]=_0x1afe5f(0x233),_0x2a4fdc))(_0x89285d||{});const _0x21ab74=_0x1afe5f(0x20c);_0x311108['HistoryManagerService']=class extends _0x5999cd['Disposable']{constructor(_0x1003da,_0x259a0c,_0x3ed02a,_0x3e268f){const _0x38e471=_0x1afe5f;super(),_0x57ef2d(this,_0x38e471(0x3be),new _0x2ae290[(_0x38e471(0x3c7))]([])),_0x57ef2d(this,_0x38e471(0x35b),this['_versions$'][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x1d8),new _0x2ae290[(_0x38e471(0x3c7))]('')),_0x57ef2d(this,_0x38e471(0x238),this[_0x38e471(0x1d8)][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x1c5),new _0x2ae290[(_0x38e471(0x3c7))](_0x38e471(0x380))),_0x57ef2d(this,'status$',this[_0x38e471(0x1c5)]['asObservable']()),_0x57ef2d(this,_0x38e471(0x268),new _0x2ae290[(_0x38e471(0x3c7))](0x0)),_0x57ef2d(this,_0x38e471(0x266),this[_0x38e471(0x268)][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x2cb),new _0x2ae290[(_0x38e471(0x3c7))]('')),_0x57ef2d(this,_0x38e471(0x29d),this[_0x38e471(0x2cb)][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x2f1),!0x1),_0x57ef2d(this,_0x38e471(0x19a),new _0x2ae290[(_0x38e471(0x3c7))](_0x38e471(0x360))),_0x57ef2d(this,_0x38e471(0x2c5),this['_loadingState$'][_0x38e471(0x24c)]()),_0x57ef2d(this,_0x38e471(0x38e),null),_0x57ef2d(this,_0x38e471(0x286),!0x0),_0x57ef2d(this,'_members',new Map()),_0x57ef2d(this,_0x38e471(0x2c6)),_0x57ef2d(this,_0x38e471(0x190)),_0x57ef2d(this,_0x38e471(0x2d8)),_0x57ef2d(this,'_canRevert',!0x1),(this[_0x38e471(0x262)]=_0x1003da,this['_confirmService']=_0x259a0c,this['_localeService']=_0x3ed02a,this[_0x38e471(0x1a4)]=_0x3e268f);}async[_0x1afe5f(0x278)](_0x335dcd,_0x349049,_0x2c0c50){const _0x3aa46a=_0x1afe5f;this[_0x3aa46a(0x2c6)]=_0x349049,this[_0x3aa46a(0x1ed)]=_0x2c0c50,this[_0x3aa46a(0x2cb)][_0x3aa46a(0x3a4)](_0x335dcd),this[_0x3aa46a(0x2f1)]=!0x0;const _0xd4ba7c=await this['_historyFetchService'][_0x3aa46a(0x2a5)](_0x335dcd);if(this[_0x3aa46a(0x2f1)]=!0x1,_0xd4ba7c){const {versions:_0x3bebf4,lastLabel:_0x3d66b9,hasMore:_0x163df0,members:_0x1441dd}=_0xd4ba7c;_0x3bebf4[_0x3aa46a(0x2a4)]===0x0&&_0x3bebf4[_0x3aa46a(0x2d4)]({'unitId':_0x335dcd,'id':_0x21ab74,'startRev':0x1,'endRev':0x0,'time':Date[_0x3aa46a(0x17f)](),'user':this['_localeService']['t'](_0x3aa46a(0x388)),'commands':[],'isAnonymous':!0x1}),this[_0x3aa46a(0x310)](_0x3bebf4,_0x163df0,_0x3d66b9,_0x1441dd),this[_0x3aa46a(0x1d8)][_0x3aa46a(0x3a4)](_0x3bebf4[0x0]['id']);}else this[_0x3aa46a(0x1c5)][_0x3aa46a(0x3a4)](_0x3aa46a(0x19e));}async[_0x1afe5f(0x37c)](){const _0x1fa2ea=_0x1afe5f;if(!this['_lastLabel']||!this[_0x1fa2ea(0x286)]||this[_0x1fa2ea(0x2f1)])return!0x1;this[_0x1fa2ea(0x2f1)]=!0x0;const _0x3ce5cc=await this[_0x1fa2ea(0x1a4)][_0x1fa2ea(0x2a5)](this[_0x1fa2ea(0x3bb)],this[_0x1fa2ea(0x38e)]);if(this[_0x1fa2ea(0x2f1)]=!0x1,_0x3ce5cc){const {versions:_0x47b9d7,lastLabel:_0x3b7d0f,hasMore:_0x40b88d,members:_0x1f2a9f}=_0x3ce5cc;this[_0x1fa2ea(0x310)](_0x47b9d7,_0x40b88d,_0x3b7d0f,_0x1f2a9f);}else this[_0x1fa2ea(0x262)][_0x1fa2ea(0x3c2)]({'content':this[_0x1fa2ea(0x351)]['t'](_0x1fa2ea(0x296)),'type':_0x1f7c98[_0x1fa2ea(0x1f5)][_0x1fa2ea(0x2fb)],'duration':0xbb8});return!0x0;}async[_0x1afe5f(0x366)](_0x2914c2){const _0x84d07f=_0x1afe5f;var _0x1dcd01;const _0x4b7024=(_0x1dcd01=this[_0x84d07f(0x3be)][_0x84d07f(0x2d9)])==null?void 0x0:_0x1dcd01[_0x84d07f(0x39a)](_0x37021d=>_0x37021d['id']===_0x2914c2),{endRev:_0xf7a7f3}=_0x4b7024||{};_0xf7a7f3||_0xf7a7f3===0x0?(this[_0x84d07f(0x19a)][_0x84d07f(0x3a4)](_0x84d07f(0x3a9)),await this[_0x84d07f(0x1a4)][_0x84d07f(0x384)](this[_0x84d07f(0x3bb)],_0xf7a7f3),this['_loadingState$']['next'](_0x84d07f(0x233))):this[_0x84d07f(0x1c5)][_0x84d07f(0x3a4)](_0x84d07f(0x19e));}async[_0x1afe5f(0x30d)](_0x3fcad7){const _0xffe967=_0x1afe5f,_0x337776=_0x3fcad7?this[_0xffe967(0x21d)](_0x3fcad7):this[_0xffe967(0x222)]();if(!_0x337776)return;const _0x2e7040=_0x337776[_0xffe967(0x319)],_0x450744=_0x414a26(_0x337776[_0xffe967(0x196)],this[_0xffe967(0x351)]['getCurrentLocale']());await this[_0xffe967(0x1f9)][_0xffe967(0x19b)]({'id':_0xffe967(0x392),'title':{'title':this[_0xffe967(0x351)]['t'](_0xffe967(0x31f))},'children':{'title':this['_localeService']['t'](_0xffe967(0x2db))+_0xffe967(0x180)+_0x450744['date']+'\x20'+_0x450744[_0xffe967(0x196)]+')'},'cancelText':this[_0xffe967(0x351)]['t'](_0xffe967(0x1fc)),'confirmText':this['_localeService']['t']('editHistory.panel.confirm')})&&this[_0xffe967(0x268)][_0xffe967(0x3a4)](_0x2e7040);}[_0x1afe5f(0x310)](_0x3a63b0,_0x272a14,_0x48cf13,_0x34d06d){const _0x2f8083=_0x1afe5f;this['_versions$'][_0x2f8083(0x3a4)](this['_versions$'][_0x2f8083(0x2d9)]['concat'](_0x3a63b0)),this[_0x2f8083(0x286)]=_0x272a14,this[_0x2f8083(0x38e)]=_0x48cf13,_0x34d06d&&Object[_0x2f8083(0x352)](_0x34d06d)[_0x2f8083(0x220)](_0x364ec4=>this['_members']['set'](_0x364ec4,_0x34d06d[_0x364ec4]));}['getCurrentVersion'](){const _0x2178cb=_0x1afe5f;return this[_0x2178cb(0x21d)](this[_0x2178cb(0x1d8)][_0x2178cb(0x2d9)]);}[_0x1afe5f(0x21d)](_0x97e187){const _0x2ddf4d=_0x1afe5f;var _0x4172cb;return(_0x4172cb=this['_versions$'][_0x2ddf4d(0x2d9)])==null?void 0x0:_0x4172cb[_0x2ddf4d(0x39a)](_0x388abb=>_0x388abb['id']===_0x97e187);}[_0x1afe5f(0x259)](_0x47fa7c){const _0x5a11a9=_0x1afe5f;return this[_0x5a11a9(0x36f)][_0x5a11a9(0x300)](_0x47fa7c);}['_createMask'](){const _0x5e1e3e=_0x1afe5f;this[_0x5e1e3e(0x2d8)]=document[_0x5e1e3e(0x1ac)](_0x5e1e3e(0x247)),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x1bb)]='history-mask',this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)]['position']=_0x5e1e3e(0x3a8),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)][_0x5e1e3e(0x243)]='0',this['_maskElement']['style'][_0x5e1e3e(0x264)]='0',this['_maskElement'][_0x5e1e3e(0x344)]['width']=_0x5e1e3e(0x242),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)][_0x5e1e3e(0x21a)]='100%',this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)][_0x5e1e3e(0x370)]=_0x5e1e3e(0x1d4),this['_maskElement'][_0x5e1e3e(0x344)][_0x5e1e3e(0x3b7)]=_0x5e1e3e(0x398),this['_maskElement'][_0x5e1e3e(0x344)]['display']=_0x5e1e3e(0x23a),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)][_0x5e1e3e(0x2c0)]=_0x5e1e3e(0x2e3),this[_0x5e1e3e(0x2d8)]['style'][_0x5e1e3e(0x1b7)]=_0x5e1e3e(0x2f7),this[_0x5e1e3e(0x2d8)][_0x5e1e3e(0x344)]['display']=_0x5e1e3e(0x1c0),this[_0x5e1e3e(0x190)][_0x5e1e3e(0x381)](this['_maskElement']);}['_initMaskContainer'](){const _0x4e938a=_0x1afe5f;var _0x4ac866;const _0x12cf79=(_0x4ac866=document[_0x4e938a(0x33c)](this[_0x4e938a(0x2c6)]))==null?void 0x0:_0x4ac866[_0x4e938a(0x374)]('.univer-app-container-content');_0x12cf79&&(this[_0x4e938a(0x190)]=_0x12cf79,this[_0x4e938a(0x2e0)]());}[_0x1afe5f(0x365)](){const _0x57caba=_0x1afe5f;this[_0x57caba(0x190)]||this[_0x57caba(0x23d)](),this[_0x57caba(0x2d8)]&&(this['_maskElement']['style'][_0x57caba(0x292)]='flex');}[_0x1afe5f(0x2e2)](){const _0x49cc47=_0x1afe5f;this['_maskElement']&&(this[_0x49cc47(0x2d8)][_0x49cc47(0x344)]['display']=_0x49cc47(0x1c0));}set[_0x1afe5f(0x395)](_0x31a817){this['_status$']['next'](_0x31a817);}set[_0x1afe5f(0x22e)](_0x3f5602){const _0x685e2f=_0x1afe5f;_0x3f5602!==this[_0x685e2f(0x1d8)]['value']&&this[_0x685e2f(0x1d8)]['next'](_0x3f5602);}get[_0x1afe5f(0x22e)](){const _0x17761d=_0x1afe5f;return this[_0x17761d(0x1d8)][_0x17761d(0x2d9)];}set[_0x1afe5f(0x3bb)](_0x4d17db){const _0xa98d2c=_0x1afe5f;this[_0xa98d2c(0x2cb)][_0xa98d2c(0x3a4)](_0x4d17db);}get[_0x1afe5f(0x3bb)](){const _0x18dfa6=_0x1afe5f;return this[_0x18dfa6(0x2cb)][_0x18dfa6(0x2d9)];}get[_0x1afe5f(0x394)](){return this['_canRevert'];}get[_0x1afe5f(0x18e)](){const _0xb452d=_0x1afe5f;return this[_0xb452d(0x19a)][_0xb452d(0x2d9)];}},_0x311108['HistoryManagerService']=_0x50c23c([_0x2c8225(0x0,_0x447332[_0x1afe5f(0x241)]),_0x2c8225(0x1,_0x447332['IConfirmService']),_0x2c8225(0x2,_0x5999cd['Inject'](_0x5999cd[_0x1afe5f(0x378)])),_0x2c8225(0x3,_0x5999cd[_0x1afe5f(0x205)](_0x61ac77))],_0x311108[_0x1afe5f(0x256)]);function _0x3b5f83({ref:_0x1f1675,..._0x54e97e}){const _0x25a32a=_0x1afe5f,{icon:_0x8c1cbf,id:_0x5e70e6,className:_0x14be93,extend:_0xe39f0b,..._0x2ea66a}=_0x54e97e,_0x38df21=(_0x25a32a(0x323)+_0x5e70e6+'\x20'+(_0x14be93||''))['trim'](),_0x102075=_0x3b3caa[_0x25a32a(0x2bf)]('_'+_0x1f5a5d());return _0x29468c(_0x8c1cbf,''+_0x5e70e6,{'defIds':_0x8c1cbf[_0x25a32a(0x281)],'idSuffix':_0x102075[_0x25a32a(0x273)]},{'ref':_0x1f1675,'className':_0x38df21,..._0x2ea66a},_0xe39f0b);}function _0x29468c(_0x4b0fe6,_0x2c0e4b,_0x19d4c7,_0x2006f4,_0x4f0665){const _0x344121=_0x1afe5f;return _0x3b3caa[_0x344121(0x1ac)](_0x4b0fe6[_0x344121(0x36e)],{'key':_0x2c0e4b,..._0x275493(_0x4b0fe6,_0x19d4c7,_0x4f0665),..._0x2006f4},(_0x2f19bc(_0x4b0fe6,_0x19d4c7)[_0x344121(0x1a6)]||[])[_0x344121(0x2a3)]((_0x1d099c,_0x273b80)=>_0x29468c(_0x1d099c,_0x2c0e4b+'-'+_0x4b0fe6['tag']+'-'+_0x273b80,_0x19d4c7,void 0x0,_0x4f0665)));}function _0x275493(_0x945155,_0x4761b7,_0x551999){const _0x513fcc=_0x1afe5f,_0x5a2f4d={..._0x945155[_0x513fcc(0x2d5)]};_0x551999!=null&&_0x551999[_0x513fcc(0x3ab)]&&_0x5a2f4d[_0x513fcc(0x3ae)]===_0x513fcc(0x3ab)&&(_0x5a2f4d['fill']=_0x551999[_0x513fcc(0x3ab)]),_0x945155['tag']===_0x513fcc(0x2e7)&&_0x5a2f4d['id']&&(_0x5a2f4d['id']=_0x5a2f4d['id']+_0x4761b7[_0x513fcc(0x386)]),Object['entries'](_0x5a2f4d)[_0x513fcc(0x220)](([_0x4a398e,_0x3d9e51])=>{const _0x26022d=_0x513fcc;_0x4a398e===_0x26022d(0x2e7)&&typeof _0x3d9e51==_0x26022d(0x28f)&&(_0x5a2f4d[_0x4a398e]=_0x3d9e51[_0x26022d(0x28a)](/url\(#(.*)\)/,_0x26022d(0x3c1)+_0x4761b7['idSuffix']+')'));});const {defIds:_0x547019}=_0x4761b7;return!_0x547019||_0x547019[_0x513fcc(0x2a4)]===0x0||(_0x945155['tag']===_0x513fcc(0x284)&&_0x5a2f4d[_0x513fcc(0x336)]&&(_0x5a2f4d[_0x513fcc(0x336)]=_0x5a2f4d[_0x513fcc(0x336)]+_0x4761b7[_0x513fcc(0x386)]),Object[_0x513fcc(0x2f4)](_0x5a2f4d)['forEach'](([_0x1a7a5b,_0x3c79f4])=>{const _0x19687d=_0x513fcc;typeof _0x3c79f4==_0x19687d(0x28f)&&(_0x5a2f4d[_0x1a7a5b]=_0x3c79f4[_0x19687d(0x28a)](/url\(#(.*)\)/,'url(#$1'+_0x4761b7[_0x19687d(0x386)]+')'));})),_0x5a2f4d;}function _0x2f19bc(_0x911e0e,_0x53ec7b){const _0x2678b5=_0x1afe5f;var _0x347c91;const {defIds:_0xbcff18}=_0x53ec7b;return!_0xbcff18||_0xbcff18[_0x2678b5(0x2a4)]===0x0?_0x911e0e:_0x911e0e['tag']===_0x2678b5(0x361)&&((_0x347c91=_0x911e0e['children'])!=null&&_0x347c91['length'])?{..._0x911e0e,'children':_0x911e0e[_0x2678b5(0x1a6)][_0x2678b5(0x2a3)](_0x193345=>typeof _0x193345[_0x2678b5(0x2d5)]['id']==_0x2678b5(0x28f)&&_0xbcff18&&_0xbcff18[_0x2678b5(0x246)](_0x193345[_0x2678b5(0x2d5)]['id'])?{..._0x193345,'attrs':{..._0x193345[_0x2678b5(0x2d5)],'id':_0x193345[_0x2678b5(0x2d5)]['id']+_0x53ec7b[_0x2678b5(0x386)]}}:_0x193345)}:_0x911e0e;}function _0x1f5a5d(){const _0x1500bd=_0x1afe5f;return Math['random']()[_0x1500bd(0x2fc)](0x24)[_0x1500bd(0x34a)](0x2,0x8);}_0x3b5f83['displayName']=_0x1afe5f(0x272);const _0x3cccbb={'tag':_0x1afe5f(0x2be),'attrs':{'xmlns':_0x1afe5f(0x207),'fill':_0x1afe5f(0x1c0),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1afe5f(0x1ea)},'children':[{'tag':'path','attrs':{'fill':_0x1afe5f(0x28c),'d':'M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z'}}]},_0x35df19=_0x3b3caa[_0x1afe5f(0x2e5)](function(_0x4e38d0,_0x5aa6dd){const _0x1d2ec8=_0x1afe5f;return _0x3b3caa['createElement'](_0x3b5f83,Object[_0x1d2ec8(0x2e4)]({},_0x4e38d0,{'id':_0x1d2ec8(0x2b4),'ref':_0x5aa6dd,'icon':_0x3cccbb}));});_0x35df19['displayName']=_0x1afe5f(0x265);const _0x3724a3={'tag':_0x1afe5f(0x2be),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2017','width':'1em','height':_0x1afe5f(0x1ea)},'children':[{'tag':'g','attrs':{'fill':_0x1afe5f(0x28c),'clipPath':_0x1afe5f(0x276)},'children':[{'tag':_0x1afe5f(0x385),'attrs':{'d':_0x1afe5f(0x34b)}},{'tag':_0x1afe5f(0x385),'attrs':{'d':'M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','fillRule':_0x1afe5f(0x267),'clipRule':'evenodd'}}]},{'tag':_0x1afe5f(0x361),'attrs':{},'children':[{'tag':_0x1afe5f(0x320),'attrs':{'id':_0x1afe5f(0x252)},'children':[{'tag':_0x1afe5f(0x294),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x1afe5f(0x398),'rx':0x4}}]}]}],'defIds':[_0x1afe5f(0x252)]},_0x1be778=_0x3b3caa[_0x1afe5f(0x2e5)](function(_0x2e65e7,_0x2d48b4){const _0x592560=_0x1afe5f;return _0x3b3caa[_0x592560(0x1ac)](_0x3b5f83,Object['assign']({},_0x2e65e7,{'id':'restore-icon','ref':_0x2d48b4,'icon':_0x3724a3}));});_0x1be778['displayName']=_0x1afe5f(0x330);const _0x328cc2={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1afe5f(0x1c0),'viewBox':_0x1afe5f(0x29a),'width':_0x1afe5f(0x1ea),'height':_0x1afe5f(0x1ea)},'children':[{'tag':_0x1afe5f(0x385),'attrs':{'fill':'#0B9EFB','d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x1afe5f(0x267),'clipRule':_0x1afe5f(0x267)}},{'tag':_0x1afe5f(0x385),'attrs':{'fill':_0x1afe5f(0x23b),'d':_0x1afe5f(0x3b4),'fillRule':_0x1afe5f(0x267),'clipRule':_0x1afe5f(0x267)}}]},_0x274e2c=_0x3b3caa[_0x1afe5f(0x2e5)](function(_0x1e7ccb,_0x432d1f){const _0x486cc5=_0x1afe5f;return _0x3b3caa[_0x486cc5(0x1ac)](_0x3b5f83,Object[_0x486cc5(0x2e4)]({},_0x1e7ccb,{'id':'loading-multi-icon','ref':_0x432d1f,'icon':_0x328cc2}));});_0x274e2c[_0x1afe5f(0x185)]=_0x1afe5f(0x2ce);function _0x133b75(){const _0x3c7d13=_0x1afe5f;var _0x360920;const _0x46da91=_0x447332[_0x3c7d13(0x332)](_0x311108[_0x3c7d13(0x256)]),_0x5798a0=_0x447332[_0x3c7d13(0x332)](_0x5999cd[_0x3c7d13(0x378)]),_0xf485d2=_0x3b3caa[_0x3c7d13(0x27b)](()=>{const _0x20f80e=_0x3c7d13;_0x46da91[_0x20f80e(0x395)]=_0x4cb442[_0x20f80e(0x373)];},[_0x46da91]),_0x45299e=_0x3b3caa[_0x3c7d13(0x27b)](()=>{const _0x3200c9=_0x3c7d13;_0x46da91[_0x3200c9(0x30d)]();},[_0x46da91]),_0x32732a=_0x447332[_0x3c7d13(0x29e)](_0x46da91['currentVersion$']),_0x43c942=_0x447332[_0x3c7d13(0x29e)](_0x46da91[_0x3c7d13(0x35b)]),_0x26fce0=_0x32732a===((_0x360920=_0x43c942==null?void 0x0:_0x43c942[0x0])==null?void 0x0:_0x360920['id']),_0x3d63b8=_0x32732a!==''&&!_0x26fce0&&_0x46da91[_0x3c7d13(0x394)];return _0x4dbad1[_0x3c7d13(0x25e)](_0x3c7d13(0x247),{'className':_0x1f7c98[_0x3c7d13(0x1f1)](_0x3c7d13(0x263),_0x1f7c98['borderBottomClassName']),'children':[_0x4dbad1[_0x3c7d13(0x2ae)]('a',{'className':_0x3c7d13(0x2dc),'role':_0x3c7d13(0x3ad),'onClick':_0xf485d2,'children':_0x4dbad1['jsx'](_0x35df19,{'className':_0x3c7d13(0x236)})}),_0x4dbad1[_0x3c7d13(0x2ae)]('div',{'className':_0x3c7d13(0x3aa),'children':_0x3d63b8&&_0x4dbad1['jsx'](_0x1f7c98[_0x3c7d13(0x28d)],{'variant':'primary','onClick':_0x45299e,'children':_0x5798a0['t'](_0x3c7d13(0x1cc))})})]});}var _0x4b7af9=Object[_0x1afe5f(0x2d3)],_0x3822c1=(_0x208273,_0x11c115,_0x5a874d,_0xb205ca)=>{const _0x422f3d=_0x1afe5f;for(var _0x2d556b=_0xb205ca>0x1?void 0x0:_0xb205ca?_0x4b7af9(_0x11c115,_0x5a874d):_0x11c115,_0x32cebd=_0x208273[_0x422f3d(0x2a4)]-0x1,_0x32d469;_0x32cebd>=0x0;_0x32cebd--)(_0x32d469=_0x208273[_0x32cebd])&&(_0x2d556b=_0x32d469(_0x2d556b)||_0x2d556b);return _0x2d556b;},_0x397164=(_0x6deb91,_0x153e85)=>(_0x3b62d8,_0x5ca57c)=>_0x153e85(_0x3b62d8,_0x5ca57c,_0x6deb91);let _0x5201a6=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x4af7c9,_0x5c968c,_0x301e27,_0x5b2a5d,_0x468688,_0x1e569a){const _0x4e654f=_0x1afe5f;super(),this['_permissionService']=_0x4af7c9,this[_0x4e654f(0x1b3)]=_0x5c968c,this['_messageService']=_0x301e27,this[_0x4e654f(0x351)]=_0x5b2a5d,this[_0x4e654f(0x2c1)]=_0x468688,this[_0x4e654f(0x25b)]=_0x1e569a,this[_0x4e654f(0x28b)]();}[_0x1afe5f(0x28b)](){const _0x10537b=_0x1afe5f;this[_0x10537b(0x39b)](this[_0x10537b(0x2c1)][_0x10537b(0x238)]['subscribe'](_0x4f0785=>{const _0x57cd57=_0x10537b;_0x4f0785&&this['_historyManagerService'][_0x57cd57(0x366)](_0x4f0785);})),this[_0x10537b(0x39b)](this[_0x10537b(0x195)][_0x10537b(0x36b)][_0x10537b(0x26a)](_0x1421ad=>{const _0x160ccd=_0x10537b,_0x21b5b5=this['_historyManagerService'][_0x160ccd(0x3bb)];_0x21b5b5&&(_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240['Edit']&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService'][_0x160ccd(0x1a8)](new _0x31a12e['WorkbookEditablePermission'](_0x21b5b5)['id'],!0x1),_0x1421ad['subType']===_0x1f8240[_0x160ccd(0x23c)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x31a12e[(_0x160ccd(0x308))](_0x21b5b5)['id'],!0x1),_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240[_0x160ccd(0x3c4)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService'][_0x160ccd(0x1a8)](new _0x31a12e[(_0x160ccd(0x35e))](_0x21b5b5)['id'],!0x1),_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240[_0x160ccd(0x18d)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService'][_0x160ccd(0x1a8)](new _0x31a12e[(_0x160ccd(0x328))](_0x21b5b5)['id'],!0x1),_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240[_0x160ccd(0x187)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this[_0x160ccd(0x195)][_0x160ccd(0x1a8)](new _0x31a12e[(_0x160ccd(0x22b))](_0x21b5b5)['id'],!0x1),_0x1421ad[_0x160ccd(0x24e)]===_0x1f8240[_0x160ccd(0x21f)]&&_0x1421ad[_0x160ccd(0x2d9)]===!0x0&&this['_permissionService'][_0x160ccd(0x1a8)](new _0x31a12e[(_0x160ccd(0x22b))](_0x21b5b5)['id'],!0x1));})),this[_0x10537b(0x39b)](this[_0x10537b(0x1b3)][_0x10537b(0x274)](_0x447332[_0x10537b(0x210)][_0x10537b(0x316)],()=>_0x447332[_0x10537b(0x34d)](_0x133b75,this[_0x10537b(0x25b)]))),this[_0x10537b(0x39b)](this['_historyManagerService'][_0x10537b(0x2c5)][_0x10537b(0x26a)](_0x12e7fc=>{const _0x5916a0=_0x10537b;_0x12e7fc===_0x89285d[_0x5916a0(0x298)]&&(this[_0x5916a0(0x2c1)]['showMask'](),this[_0x5916a0(0x262)][_0x5916a0(0x3c2)]({'type':_0x1f7c98[_0x5916a0(0x1f5)]['Info'],'content':this[_0x5916a0(0x351)]['t'](_0x5916a0(0x1b2))})),_0x12e7fc===_0x89285d[_0x5916a0(0x3bc)]&&this[_0x5916a0(0x2c1)][_0x5916a0(0x2e2)]();}));}};_0x5201a6=_0x3822c1([_0x397164(0x0,_0x5999cd['IPermissionService']),_0x397164(0x1,_0x447332[_0x1afe5f(0x2c9)]),_0x397164(0x2,_0x447332[_0x1afe5f(0x241)]),_0x397164(0x3,_0x5999cd[_0x1afe5f(0x205)](_0x5999cd[_0x1afe5f(0x378)])),_0x397164(0x4,_0x5999cd['Inject'](_0x311108[_0x1afe5f(0x256)])),_0x397164(0x5,_0x5999cd['Inject'](_0x5999cd[_0x1afe5f(0x2f3)]))],_0x5201a6);var _0x13160c=Object[_0x1afe5f(0x2d3)],_0x3b3000=(_0x3079b5,_0x94d848,_0x32ae5f,_0x10ffad)=>{for(var _0x1bd70b=_0x10ffad>0x1?void 0x0:_0x10ffad?_0x13160c(_0x94d848,_0x32ae5f):_0x94d848,_0x500b8d=_0x3079b5['length']-0x1,_0x27230a;_0x500b8d>=0x0;_0x500b8d--)(_0x27230a=_0x3079b5[_0x500b8d])&&(_0x1bd70b=_0x27230a(_0x1bd70b)||_0x1bd70b);return _0x1bd70b;},_0x425839=(_0x16ee14,_0x4dba4e)=>(_0x260d64,_0x6e506c)=>_0x4dba4e(_0x260d64,_0x6e506c,_0x16ee14);let _0xbe32d7=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x5b6d18,_0x16765e,_0x9a6c1b){const _0x2f1823=_0x1afe5f;super(),_0x57ef2d(this,_0x2f1823(0x22c),new Map()),_0x57ef2d(this,_0x2f1823(0x253),new _0x2ae290[(_0x2f1823(0x3c7))]({'ranges':new Map(),'active':null})),_0x57ef2d(this,_0x2f1823(0x1a1),this[_0x2f1823(0x253)][_0x2f1823(0x24c)]()),(this[_0x2f1823(0x2c1)]=_0x5b6d18,this[_0x2f1823(0x25f)]=_0x16765e,this[_0x2f1823(0x26e)]=_0x9a6c1b,this['_init']());}[_0x1afe5f(0x28b)](){const _0x4b1f4e=_0x1afe5f;this[_0x4b1f4e(0x22c)]=new Map(),this['disposeWithMe'](this[_0x4b1f4e(0x2c1)]['unitId$'][_0x4b1f4e(0x26a)](_0xa490d9=>{const _0x7e0f70=_0x4b1f4e;_0xa490d9&&!this[_0x7e0f70(0x22c)]['has'](_0xa490d9)&&this['_diffRangesMap'][_0x7e0f70(0x1cf)](_0xa490d9,new Map());})),this['disposeWithMe'](this[_0x4b1f4e(0x2c1)][_0x4b1f4e(0x238)][_0x4b1f4e(0x26a)](async _0x378680=>{const _0x2a64f5=_0x4b1f4e;var _0xc51b4b;_0x378680&&(await this[_0x2a64f5(0x24a)](_0x378680),this[_0x2a64f5(0x253)][_0x2a64f5(0x3a4)](((_0xc51b4b=this['_diffRangesMap'][_0x2a64f5(0x300)](this[_0x2a64f5(0x2c1)]['unitId']))==null?void 0x0:_0xc51b4b[_0x2a64f5(0x300)](_0x378680))||{'ranges':new Map(),'active':null}));}));}async[_0x1afe5f(0x24a)](_0x269b89){const _0x124c57=_0x1afe5f;var _0x410b7f,_0x3ab855;const _0x5d14fa=this[_0x124c57(0x2c1)][_0x124c57(0x21d)](_0x269b89),_0x3a8626=this['_historyManagerService'][_0x124c57(0x3bb)];if(!_0x5d14fa||!_0x3a8626)return;const _0xf3cfb=this[_0x124c57(0x22c)][_0x124c57(0x300)](_0x3a8626);if(_0xf3cfb||this[_0x124c57(0x22c)][_0x124c57(0x1cf)](_0x3a8626,new Map()),(_0x410b7f=this[_0x124c57(0x22c)][_0x124c57(0x300)](_0x3a8626))!=null&&_0x410b7f[_0x124c57(0x271)](_0x5d14fa['id']))return;const {startRev:_0x61cd9f,endRev:_0x487da6}=_0x5d14fa;if(_0x61cd9f===0x1){_0xf3cfb[_0x124c57(0x1cf)](_0x5d14fa['id'],{'ranges':new Map(),'active':null});return;}const _0x459cbf=_0x61cd9f-0x1,_0x12c311=_0x487da6,_0x3840d0=await this[_0x124c57(0x26e)][_0x124c57(0x2b0)]({},{'unitID':_0x3a8626,'from':_0x459cbf,'to':_0x12c311,'type':_0x49d7de[_0x124c57(0x1dd)]});if(((_0x3ab855=_0x3840d0[_0x124c57(0x19e)])==null?void 0x0:_0x3ab855['code'])===_0x1a56b0['OK']){const _0x35aa44=_0x3840d0['changesets'][_0x124c57(0x2a3)](_0x19cc39=>((_0x19cc39[_0x124c57(0x1c1)]===null||_0x19cc39[_0x124c57(0x1c1)]===void 0x0)&&(_0x19cc39[_0x124c57(0x1c1)]=[]),_0x221432['parseProtocolChangeset'](_0x19cc39)))['map'](_0x78af4d=>_0x78af4d[_0x124c57(0x1c1)][_0x124c57(0x2a3)](_0x21c7de=>({..._0x21c7de,'params':{..._0x21c7de[_0x124c57(0x2ac)],'memberId':_0x78af4d[_0x124c57(0x2f2)]}})))[_0x124c57(0x217)](),_0x43f370=this[_0x124c57(0x2bc)](_0x35aa44),_0x3df01c=this[_0x124c57(0x20b)](_0x35aa44),_0x599329=this['_extractRanges'](_0x43f370);_0xf3cfb[_0x124c57(0x1cf)](_0x5d14fa['id'],{'ranges':_0x599329,'active':_0x3df01c});}}[_0x1afe5f(0x2bc)](_0x5024f1){const _0x1cb6b1=_0x1afe5f;let _0x2844b7=[];for(let _0x5d526f=0x0;_0x5d526f<_0x5024f1[_0x1cb6b1(0x2a4)];_0x5d526f++){const _0x21751b=_0x5024f1[_0x5d526f];if(_0x2844b7[_0x1cb6b1(0x2d4)](_0x21751b),_0x5d526f!==_0x5024f1[_0x1cb6b1(0x2a4)]-0x1){const _0x440288=_0x5024f1[_0x5d526f+0x1],_0x4b97ed=this['_transformService'][_0x1cb6b1(0x3b6)](_0x2844b7,[_0x440288]);_0x221432[_0x1cb6b1(0x3af)](_0x4b97ed)?_0x2844b7=_0x4b97ed[_0x1cb6b1(0x28e)]:_0x2844b7=[];}}return _0x2844b7;}[_0x1afe5f(0x20b)](_0x31d32a){const _0x3a0985=_0x1afe5f;let _0x461142=[];return _0x31d32a[_0x3a0985(0x220)](_0x3c8716=>{const _0x47b3d1=_0x3a0985;if(_0x3c8716['id']===_0x31a12e[_0x47b3d1(0x249)]['id']){const _0x4593e8=_0x3c8716[_0x47b3d1(0x2ac)];_0x461142['push'](_0x4593e8['sheet']['id']);}else{if(_0x3c8716['id']===_0x31a12e[_0x47b3d1(0x362)]['id']){const _0x1bc6dd=_0x3c8716[_0x47b3d1(0x2ac)];_0x461142[_0x47b3d1(0x2a4)]>0x0&&(_0x461142=_0x461142[_0x47b3d1(0x221)](_0x7dd682=>_0x7dd682!==_0x1bc6dd[_0x47b3d1(0x1b8)]));}else{if(_0x3c8716['id']===_0x31a12e[_0x47b3d1(0x350)]['id']){const _0x101c6d=_0x3c8716[_0x47b3d1(0x2ac)];_0x101c6d[_0x47b3d1(0x36a)]?_0x461142=_0x461142[_0x47b3d1(0x221)](_0x243554=>_0x243554!==_0x101c6d['subUnitId']):_0x461142[_0x47b3d1(0x2d4)](_0x101c6d[_0x47b3d1(0x1b8)]);}else{const _0xb835d1=_0x3c8716['params'];_0xb835d1[_0x47b3d1(0x1b8)]&&_0x461142[_0x47b3d1(0x2d4)](_0xb835d1[_0x47b3d1(0x1b8)]);}}}}),_0x461142[_0x3a0985(0x2a4)]>0x0?_0x461142[_0x461142[_0x3a0985(0x2a4)]-0x1]:null;}[_0x1afe5f(0x287)](_0x3986cb){const _0x2789e2=_0x1afe5f,_0x13b9a6=new Map();return _0x3986cb[_0x2789e2(0x220)](_0x468731=>{const _0x262fc8=_0x2789e2;var _0x2d18da,_0x591a31;const _0xfc2683=(_0x2d18da=_0x468731[_0x262fc8(0x2ac)])==null?void 0x0:_0x2d18da[_0x262fc8(0x261)];if(_0xfc2683){_0x13b9a6[_0x262fc8(0x271)](_0xfc2683)||_0x13b9a6[_0x262fc8(0x1cf)](_0xfc2683,[]);const _0x54eeae=this['_getRangesByMutation'](_0x468731);(_0x591a31=_0x13b9a6[_0x262fc8(0x300)](_0xfc2683))==null||_0x591a31[_0x262fc8(0x2d4)](..._0x54eeae);}}),_0x13b9a6[_0x2789e2(0x220)]((_0x521e8c,_0x39360c)=>{const _0x1613a8=_0x2789e2;_0x13b9a6[_0x1613a8(0x1cf)](_0x39360c,this[_0x1613a8(0x193)](_0x521e8c));}),_0x13b9a6;}[_0x1afe5f(0x1d6)](_0x919eab){const _0x3d52e5=_0x1afe5f;switch(_0x919eab['id']){case _0x31a12e[_0x3d52e5(0x239)]['id']:{const _0x273240=_0x919eab['params'];return _0x273240[_0x3d52e5(0x315)][_0x3d52e5(0x2a3)](_0x5027e3=>_0x5027e3[_0x3d52e5(0x1d2)][_0x3d52e5(0x2a3)](_0x124bac=>({'range':_0x124bac,'unitId':_0x273240[_0x3d52e5(0x3bb)],'subUnitId':_0x273240[_0x3d52e5(0x1b8)]})))[_0x3d52e5(0x217)]();}case _0x31a12e[_0x3d52e5(0x39f)]['id']:{const _0x11ae5c=_0x919eab['params'];return _0x11ae5c[_0x3d52e5(0x1d2)]['map'](_0x5428d1=>({'range':_0x5428d1,'unitId':_0x11ae5c[_0x3d52e5(0x3bb)],'subUnitId':_0x11ae5c['subUnitId']}));}case _0x31a12e[_0x3d52e5(0x359)]['id']:{const _0x138e1a=_0x919eab[_0x3d52e5(0x2ac)];return[{'range':_0x138e1a[_0x3d52e5(0x1d3)],'unitId':_0x138e1a[_0x3d52e5(0x3bb)],'subUnitId':_0x138e1a[_0x3d52e5(0x1b8)]}];}case _0x31a12e[_0x3d52e5(0x27e)]['id']:{const _0x47d7f6=_0x919eab[_0x3d52e5(0x2ac)];return[{'range':_0x47d7f6[_0x3d52e5(0x1d3)],'unitId':_0x47d7f6[_0x3d52e5(0x3bb)],'subUnitId':_0x47d7f6['subUnitId']}];}case _0x31a12e['MoveRangeMutation']['id']:{const _0x2d5023=_0x919eab[_0x3d52e5(0x2ac)],{from:_0x43d1e4,to:_0x3c5720,unitId:_0x2ec633}=_0x2d5023;return[{'range':_0x4109e0(_0x43d1e4[_0x3d52e5(0x2d9)]),'unitId':_0x2ec633,'subUnitId':_0x43d1e4['subUnitId']},{'range':_0x4109e0(_0x3c5720[_0x3d52e5(0x2d9)]),'unitId':_0x2ec633,'subUnitId':_0x3c5720[_0x3d52e5(0x1b8)]}];}case _0x31a12e[_0x3d52e5(0x3c0)]['id']:{const _0x279ac1=_0x919eab[_0x3d52e5(0x2ac)],{unitId:_0x492858,subUnitId:_0x48896f,sourceRange:_0x8055d8,targetRange:_0x2653d3}=_0x279ac1,_0xfb2bb=_0x8055d8[_0x3d52e5(0x376)]-_0x8055d8['startRow']+0x1;return[{'range':_0x2653d3[_0x3d52e5(0x1c7)]<=_0x8055d8[_0x3d52e5(0x1c7)]?_0x2653d3:{..._0x2653d3,'startRow':_0x2653d3[_0x3d52e5(0x1c7)]-_0xfb2bb,'endRow':_0x2653d3[_0x3d52e5(0x376)]-_0xfb2bb},'unitId':_0x492858,'subUnitId':_0x48896f}];}case _0x31a12e[_0x3d52e5(0x393)]['id']:{const _0x5cde80=_0x919eab['params'],{unitId:_0x57ae6c,subUnitId:_0xaf07ac,sourceRange:_0x447903,targetRange:_0x2e12dc}=_0x5cde80,_0x3a98c7=_0x447903[_0x3d52e5(0x293)]-_0x447903[_0x3d52e5(0x255)]+0x1;return[{'range':_0x2e12dc['startColumn']<=_0x447903[_0x3d52e5(0x255)]?_0x2e12dc:{..._0x2e12dc,'startColumn':_0x2e12dc[_0x3d52e5(0x255)]-_0x3a98c7,'endColumn':_0x2e12dc[_0x3d52e5(0x293)]-_0x3a98c7},'unitId':_0x57ae6c,'subUnitId':_0xaf07ac}];}case _0x31a12e[_0x3d52e5(0x2f8)]['id']:{const _0xbd6692=_0x919eab[_0x3d52e5(0x2ac)],{values:_0x3dffb9,unitId:_0x321a9a,subUnitId:_0x24d9af}=_0xbd6692;return Object[_0x3d52e5(0x2e9)](_0x3dffb9)[_0x3d52e5(0x2a3)](_0x38e148=>_0x38e148[_0x3d52e5(0x1d2)]['map'](_0x129655=>({'range':_0x129655,'unitId':_0x321a9a,'subUnitId':_0x24d9af})))[_0x3d52e5(0x217)]();}case _0x31a12e[_0x3d52e5(0x38c)]['id']:{const _0x370900=_0x919eab['params'],{ranges:_0x40da6b,unitId:_0x27f486,subUnitId:_0x510ab0}=_0x370900;return _0x40da6b[_0x3d52e5(0x2a3)](_0x3552dc=>({'range':_0x3552dc,'unitId':_0x27f486,'subUnitId':_0x510ab0}));}case _0x31a12e[_0x3d52e5(0x387)]['id']:{const _0x25861f=_0x919eab[_0x3d52e5(0x2ac)],{unitId:_0x2cef9b,subUnitId:_0x93e21a,range:_0x1dabc8}=_0x25861f;return[{'range':_0x1dabc8,'unitId':_0x2cef9b,'subUnitId':_0x93e21a}];}case _0x31a12e[_0x3d52e5(0x340)]['id']:{const _0x124ff6=_0x919eab[_0x3d52e5(0x2ac)];return _0x124ff6[_0x3d52e5(0x309)][_0x3d52e5(0x1d2)][_0x3d52e5(0x2a3)](_0x43c4d0=>({'range':_0x43c4d0,'unitId':_0x124ff6[_0x3d52e5(0x3bb)],'subUnitId':_0x124ff6[_0x3d52e5(0x1b8)]}));}case _0x31a12e['SetRangeValuesMutation']['id']:{const _0x2abeae=_0x919eab[_0x3d52e5(0x2ac)];return _0x2abeae[_0x3d52e5(0x1b6)]?_0x2baaab(_0x2abeae['cellValue'])[_0x3d52e5(0x2a3)](_0x5c302c=>({'range':_0x5c302c,'unitId':_0x2abeae[_0x3d52e5(0x3bb)],'subUnitId':_0x2abeae[_0x3d52e5(0x1b8)]})):[];}case _0x45108d[_0x3d52e5(0x3b0)]['id']:{const _0x564c18=_0x919eab[_0x3d52e5(0x2ac)];return[{'range':_0x564c18[_0x3d52e5(0x1d3)],'unitId':_0x564c18['unitId'],'subUnitId':_0x564c18[_0x3d52e5(0x1b8)]}];}case _0x1dd3f5[_0x3d52e5(0x26f)]['id']:{const _0x119524=_0x919eab['params'];return(Array[_0x3d52e5(0x31c)](_0x119524[_0x3d52e5(0x309)])?_0x119524[_0x3d52e5(0x309)]:[_0x119524[_0x3d52e5(0x309)]])[_0x3d52e5(0x2a3)](_0x52615f=>_0x52615f[_0x3d52e5(0x1d2)][_0x3d52e5(0x2a3)](_0x55ecd0=>({'range':_0x55ecd0,'unitId':_0x119524[_0x3d52e5(0x3bb)],'subUnitId':_0x119524[_0x3d52e5(0x1b8)]})))[_0x3d52e5(0x217)]();}case _0x1034bd[_0x3d52e5(0x318)]['id']:{const _0x53d11f=_0x919eab['params'];return _0x53d11f['rule'][_0x3d52e5(0x1d2)][_0x3d52e5(0x2a3)](_0x2ab04a=>({'range':_0x2ab04a,'unitId':_0x53d11f['unitId'],'subUnitId':_0x53d11f[_0x3d52e5(0x1b8)]}));}default:return[];}}[_0x1afe5f(0x193)](_0x163d94){const _0xc1d7a6=_0x1afe5f;if(_0x163d94[_0xc1d7a6(0x2a4)]<=0x1)return _0x163d94;const _0x5d69fb=new Map();return _0x163d94[_0xc1d7a6(0x220)](_0x55bdc6=>{const _0x342258=_0xc1d7a6;var _0x1df459;const {unitId:_0x17f7ac,subUnitId:_0x11c37b}=_0x55bdc6,_0x20261f=_0x17f7ac+'-'+_0x11c37b;_0x5d69fb['has'](_0x20261f)?(_0x1df459=_0x5d69fb[_0x342258(0x300)](_0x20261f))==null||_0x1df459[_0x342258(0x2d4)](_0x55bdc6):_0x5d69fb['set'](_0x20261f,[_0x55bdc6]);}),Array[_0xc1d7a6(0x2b2)](_0x5d69fb[_0xc1d7a6(0x2e9)]())[_0xc1d7a6(0x2a3)](_0x8ac31f=>new _0x31a12e[(_0xc1d7a6(0x369))]()[_0xc1d7a6(0x1f2)](..._0x8ac31f[_0xc1d7a6(0x2a3)](_0x42f72b=>_0x42f72b[_0xc1d7a6(0x1d3)]))[_0xc1d7a6(0x260)]()[_0xc1d7a6(0x2a3)](_0x2c4fc1=>({'range':_0x2c4fc1,'unitId':_0x8ac31f[0x0][_0xc1d7a6(0x3bb)],'subUnitId':_0x8ac31f[0x0][_0xc1d7a6(0x1b8)]})))[_0xc1d7a6(0x217)]();}};_0xbe32d7=_0x3b3000([_0x425839(0x0,_0x5999cd[_0x1afe5f(0x205)](_0x311108[_0x1afe5f(0x256)])),_0x425839(0x1,_0x221432[_0x1afe5f(0x191)]),_0x425839(0x2,_0x221432[_0x1afe5f(0x1e3)])],_0xbe32d7);function _0x4109e0(_0x2dc379){const _0x254200=_0x1afe5f;return new _0x5999cd[(_0x254200(0x280))](_0x2dc379)[_0x254200(0x33d)]();}function _0x2baaab(_0xbaccb0){const _0x188aa7=_0x1afe5f,_0x3a7fec=new _0x5999cd[(_0x188aa7(0x280))](_0xbaccb0),_0x2a1c72=new _0x5999cd['ObjectMatrix']();return _0x3a7fec[_0x188aa7(0x368)]((_0x36a2b2,_0x399e7f)=>{const _0x8e23b0=_0x188aa7;_0x2a1c72[_0x8e23b0(0x27c)](_0x36a2b2,_0x399e7f,0x1);}),_0x31a12e['findAllRectangle'](_0x2a1c72);}var _0x5644ce=Object['getOwnPropertyDescriptor'],_0xe5463c=(_0xaa1b5d,_0xcc6138,_0x3ad788,_0x2001b4)=>{for(var _0x177301=_0x2001b4>0x1?void 0x0:_0x2001b4?_0x5644ce(_0xcc6138,_0x3ad788):_0xcc6138,_0x4863de=_0xaa1b5d['length']-0x1,_0x5f11c7;_0x4863de>=0x0;_0x4863de--)(_0x5f11c7=_0xaa1b5d[_0x4863de])&&(_0x177301=_0x5f11c7(_0x177301)||_0x177301);return _0x177301;},_0x453f3e=(_0x2a293b,_0x32d807)=>(_0x44d09f,_0x1d8df9)=>_0x32d807(_0x44d09f,_0x1d8df9,_0x2a293b);let _0x5bea65=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x49ce79,_0x5d1bee,_0x3b5a04,_0x27755a,_0x5a1511,_0x2a05b1,_0x465b30){const _0x1f0c29=_0x1afe5f;super(),_0x57ef2d(this,_0x1f0c29(0x346),new Set()),_0x57ef2d(this,'_lastPointer',null),(this[_0x1f0c29(0x1bc)]=_0x49ce79,this[_0x1f0c29(0x2c1)]=_0x5d1bee,this[_0x1f0c29(0x35a)]=_0x3b5a04,this[_0x1f0c29(0x39d)]=_0x27755a,this[_0x1f0c29(0x231)]=_0x5a1511,this['_sheetSkeletonManagerService']=_0x2a05b1,this['_commandService']=_0x465b30,this['_init']());}['_init'](){this['_initRender'](),this['_initActiveSwitch']();}[_0x1afe5f(0x21e)](){const _0x273396=_0x1afe5f;this[_0x273396(0x39b)](_0x2ae290[_0x273396(0x2f6)]([this[_0x273396(0x2c1)][_0x273396(0x2c5)],this[_0x273396(0x1db)][_0x273396(0x355)]])[_0x273396(0x2b8)](_0x2ae290[_0x273396(0x1ba)](([_0xa7e6fd,_0xf6f0dc])=>{const _0x1b0a27=_0x273396;if(_0xa7e6fd===_0x89285d[_0x1b0a27(0x3bc)]&&_0xf6f0dc){const _0x1bf54b=_0xf6f0dc[_0x1b0a27(0x208)];return this[_0x1b0a27(0x35a)][_0x1b0a27(0x1a1)][_0x1b0a27(0x2b8)](_0x2ae290['map'](_0x400c1e=>{const _0x176df7=_0x1b0a27,_0x3f8016=new Map();return _0x400c1e[_0x176df7(0x1d2)]['forEach']((_0x386a40,_0x38183a)=>{const _0x5a7040=_0x176df7,_0x20691b=_0x386a40[_0x5a7040(0x221)](_0x368095=>_0x368095[_0x5a7040(0x1b8)]===_0x1bf54b);_0x3f8016[_0x5a7040(0x1cf)](_0x38183a,_0x20691b);}),{'skeleton':_0xf6f0dc,'diffs':_0x3f8016};}));}return _0x2ae290['of']({'skeleton':null,'diffs':new Map()});}))[_0x273396(0x26a)](({skeleton:_0x11f43d,diffs:_0x4171e5})=>{const _0x520910=_0x273396;this['_removeDiffMarks'](),_0x11f43d&&this[_0x520910(0x3c5)](_0x11f43d,_0x4171e5);})),this[_0x273396(0x39b)](this[_0x273396(0x1db)][_0x273396(0x355)][_0x273396(0x26a)](_0x4da7be=>{const _0x50a27e=_0x273396;if(_0x4da7be==null)return;const {skeleton:_0x9fe300}=_0x4da7be,{scene:_0x3718bc}=this[_0x50a27e(0x1bc)];_0x3718bc['onPointerMove$']['subscribeEvent'](_0x5999cd[_0x50a27e(0x32b)](_0x196f42=>{const _0x10d015=_0x50a27e;var _0x405259,_0x2bcefb;const {offsetX:_0x3aa736,offsetY:_0x266ae1}=_0x196f42,{x:_0x2aa29f,y:_0x58c950}=_0x3718bc['getRelativeToViewportCoord'](_0x9378cd['Vector2']['FromArray']([_0x3aa736,_0x266ae1])),{scaleX:_0x24487d,scaleY:_0x495d5f}=_0x3718bc[_0x10d015(0x2ba)](),_0x3cdea3=_0x3718bc[_0x10d015(0x199)](_0x9378cd[_0x10d015(0x1fd)][_0x10d015(0x3b3)]),_0x2ed338=_0x3718bc[_0x10d015(0x198)](_0x9378cd[_0x10d015(0x248)][_0x10d015(0x1d0)]([_0x2aa29f,_0x58c950]),_0x3cdea3),_0x523e4a=_0x9fe300[_0x10d015(0x31e)](_0x3aa736,_0x266ae1,_0x24487d,_0x495d5f,_0x2ed338);((_0x405259=this['_lastPointer'])==null?void 0x0:_0x405259[_0x10d015(0x38b)])===_0x523e4a['column']&&((_0x2bcefb=this['_lastPointer'])==null?void 0x0:_0x2bcefb[_0x10d015(0x1d5)])===_0x523e4a[_0x10d015(0x1d5)]||this['_diffs']['forEach'](_0xb1514e=>{const _0x2e98e7=_0x10d015;_0xb1514e[_0x2e98e7(0x2ed)](_0x523e4a);});},0x64));}));}[_0x1afe5f(0x1a3)](){const _0x4ef95a=_0x1afe5f;this[_0x4ef95a(0x39b)](this['_historyManagerService'][_0x4ef95a(0x2c5)][_0x4ef95a(0x26a)](_0xc8d331=>{const _0xf96545=_0x4ef95a,_0xa1c5=new _0x5999cd[(_0xf96545(0x305))]();return _0xc8d331===_0x89285d[_0xf96545(0x3bc)]&&(_0xa1c5['dispose'](),_0xa1c5[_0xf96545(0x1f2)](this['_versionDiffService'][_0xf96545(0x1a1)]['subscribe'](_0x35d4ce=>{const _0x558e5a=_0xf96545;_0x35d4ce[_0x558e5a(0x1cb)]&&this[_0x558e5a(0x1bf)][_0x558e5a(0x2f0)](_0x31a12e[_0x558e5a(0x307)]['id'],{'unitId':this[_0x558e5a(0x1bc)][_0x558e5a(0x3bb)],'subUnitId':_0x35d4ce[_0x558e5a(0x1cb)]});}))),()=>_0xa1c5[_0xf96545(0x23e)]();}));}[_0x1afe5f(0x3c5)](_0x2ec6e9,_0x3c7b91){const _0x1c6606=_0x1afe5f;var _0x196361;const _0x5c8310=(_0x196361=this[_0x1c6606(0x1db)][_0x1c6606(0x2ea)]())==null?void 0x0:_0x196361[_0x1c6606(0x329)];if(!_0x5c8310)return;this['_diffs'][_0x1c6606(0x220)](_0x3461fc=>{const _0x4edbfa=_0x1c6606;_0x3461fc[_0x4edbfa(0x397)]();});const {scene:_0x4e8866}=this['_context'],_0x521cfb=Array['from'](_0x3c7b91[_0x1c6606(0x352)]())['map'](_0x18898c=>_0x3c7b91[_0x1c6606(0x300)](_0x18898c)[_0x1c6606(0x2a3)](_0x10710e=>{const _0x4fa4e9=_0x1c6606;var _0x114a35;const {range:_0x2cacfe,subUnitId:_0x2f8937,unitId:_0x360519}=_0x10710e,{startColumn:_0x47833e,startRow:_0x47eb02,endColumn:_0x1ac79f,endRow:_0x20f350}=_0x2cacfe,_0x520ff3=_0x1f85a6[_0x4fa4e9(0x2d2)](_0x47eb02,_0x47833e,_0x4e8866,_0x5c8310),_0x33fb93=_0x1f85a6[_0x4fa4e9(0x2d2)](_0x20f350,_0x1ac79f,_0x4e8866,_0x5c8310),{columnHeaderHeightAndMarginTop:_0x39ab69}=_0x5c8310,{startX:_0x4332dd,startY:_0x293673}=_0x520ff3,{endX:_0x3820b2,endY:_0x12955a}=_0x33fb93,_0x16b499=_0x3820b2-_0x4332dd,_0x5055f8=_0x12955a-_0x293673,_0x46afef={'labelPosition':_0x293673-_0x39ab69>=0x14?'top':_0x4fa4e9(0x1aa),'sheetID':_0x2f8937,'range':_0x2cacfe,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':'rgba(58,\x2096,\x20247,\x200.20)','name':((_0x114a35=this[_0x4fa4e9(0x2c1)][_0x4fa4e9(0x259)](_0x18898c))==null?void 0x0:_0x114a35['name'])||'','selection':_0x360519+'-'+_0x2f8937+'-'+_0x2cacfe[_0x4fa4e9(0x255)]+'-'+_0x2cacfe[_0x4fa4e9(0x1c7)]+'-'+_0x2cacfe['endColumn']+'-'+_0x2cacfe['endRow'],'left':_0x4332dd,'top':_0x293673,'width':_0x16b499,'height':_0x5055f8,'evented':!0x1,'zIndex':0x1};return new _0xab4d26['SheetCollabCursorShape']('',_0x46afef);}))[_0x1c6606(0x217)]();_0x4e8866[_0x1c6606(0x2da)](_0x521cfb,0x1),this[_0x1c6606(0x346)]=new Set(_0x521cfb);}[_0x1afe5f(0x1b9)](){const _0x421041=_0x1afe5f;var _0x297e5a;(_0x297e5a=this['_diffs'])==null||_0x297e5a[_0x421041(0x220)](_0x53a3e9=>_0x53a3e9[_0x421041(0x23e)]());}[_0x1afe5f(0x1a2)](){const _0x578bd=_0x1afe5f;return _0x1f85a6[_0x578bd(0x20a)](this[_0x578bd(0x39d)],this[_0x578bd(0x231)]);}};_0x5bea65=_0xe5463c([_0x453f3e(0x1,_0x5999cd[_0x1afe5f(0x205)](_0x311108[_0x1afe5f(0x256)])),_0x453f3e(0x2,_0x5999cd['Inject'](_0xbe32d7)),_0x453f3e(0x3,_0x5999cd['IUniverInstanceService']),_0x453f3e(0x4,_0x9378cd['IRenderManagerService']),_0x453f3e(0x5,_0x5999cd[_0x1afe5f(0x205)](_0x1f85a6[_0x1afe5f(0x2a1)])),_0x453f3e(0x6,_0x5999cd['ICommandService'])],_0x5bea65);function _0x22fa36(){const _0x162afd=_0x1afe5f,_0x38b786=_0x447332[_0x162afd(0x332)](_0x311108['HistoryManagerService']),_0x573235=_0x447332[_0x162afd(0x29e)](_0x38b786[_0x162afd(0x35b)]),[_0x5e9bd4,_0x4cf579]=_0x3b3caa[_0x162afd(0x22a)](!0x1),_0x40ba60=_0x6dcede(_0x573235);return _0x573235?_0x4dbad1[_0x162afd(0x2ae)](_0x162afd(0x247),{'className':_0x162afd(0x25a),'children':_0x4dbad1[_0x162afd(0x25e)](_0x162afd(0x247),{'className':_0x162afd(0x33b),'children':[_0x40ba60['map']((_0x5e8155,_0xb97672)=>_0x4dbad1[_0x162afd(0x25e)](_0x3b3caa[_0x162afd(0x1b1)],{'children':[_0x4dbad1[_0x162afd(0x2ae)](_0x2b24b2,{'date':_0x5e8155[_0x162afd(0x1e5)]}),_0x5e8155[_0x162afd(0x194)][_0x162afd(0x2a3)]((_0x530397,_0x66566e)=>_0x4dbad1[_0x162afd(0x2ae)](_0xfbecf,{'index':[_0xb97672,_0x66566e],'item':_0x530397},_0xb97672+'-'+_0x66566e))]},_0x5e8155['dateString'])),_0x5e9bd4&&_0x4dbad1[_0x162afd(0x2ae)](_0x1f56a7,{})]})}):_0x4dbad1[_0x162afd(0x2ae)](_0x297e98,{});}function _0x1f56a7(){const _0xe91358=_0x1afe5f;return _0x4dbad1[_0xe91358(0x2ae)](_0xe91358(0x247),{'className':_0xe91358(0x1dc),'children':_0x4dbad1['jsx'](_0x274e2c,{'className':'univer-animate-spin'})});}function _0x297e98(){const _0x42d218=_0x1afe5f;return _0x4dbad1[_0x42d218(0x2ae)](_0x42d218(0x247),{'className':_0x42d218(0x2f9),'children':_0x4dbad1['jsx']('span',{'className':_0x42d218(0x1da),'children':_0x4dbad1[_0x42d218(0x2ae)](_0x274e2c,{'className':_0x42d218(0x343)})})});}function _0x2b24b2(_0x45b41f){const _0x97f6a8=_0x1afe5f,_0x5e212b=_0x447332['useDependency'](_0x5999cd[_0x97f6a8(0x378)]),{date:_0x2b00c7}=_0x45b41f;return _0x4dbad1[_0x97f6a8(0x2ae)]('div',{'className':_0x97f6a8(0x338),'children':_0x56ddd8(_0x2b00c7,_0x5e212b[_0x97f6a8(0x240)]())});}function _0xfbecf(_0x25a453){const _0x328d2d=_0x1afe5f,{item:_0x45de15,index:_0x19ba33}=_0x25a453,{time:_0xe00cb2,user:_0x458a48}=_0x45de15,[_0x57caa4,_0xf663a8]=_0x19ba33,_0x11f8d7=_0x447332['useDependency'](_0x311108[_0x328d2d(0x256)]),_0x2eae5e=_0x447332['useObservable'](_0x11f8d7['currentVersion$'],'',!0x0)===_0x45de15['id'],_0x552042=_0x57caa4===0x0&&_0xf663a8===0x0,_0x486193=!_0x552042&&_0x11f8d7[_0x328d2d(0x394)],_0x505010=_0x447332[_0x328d2d(0x332)](_0x5999cd['LocaleService']),_0x1d9d8b=_0x505010['getCurrentLocale'](),_0x6791d0=_0x414a26(_0xe00cb2,_0x1d9d8b),_0x596241=_0x505010['t']('editHistory.panel.currentVersion'),_0x5e2a7d=_0x3b3caa[_0x328d2d(0x27b)](_0x16604f=>{const _0x1e4401=_0x328d2d;_0x11f8d7[_0x1e4401(0x18e)]!==_0x89285d[_0x1e4401(0x298)]&&(_0x11f8d7['currentVersion']=_0x16604f);},[_0x11f8d7]),_0x1d744a=_0x3b3caa[_0x328d2d(0x27b)](_0xb661c9=>{const _0x38e45f=_0x328d2d;_0x11f8d7[_0x38e45f(0x30d)](_0xb661c9);},[_0x11f8d7]);return _0x4dbad1[_0x328d2d(0x25e)](_0x328d2d(0x247),{'className':_0x1f7c98['clsx'](_0x328d2d(0x201),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x2eae5e}),'onClick':()=>_0x5e2a7d(_0x45de15['id']),'children':[_0x4dbad1[_0x328d2d(0x25e)]('div',{'className':_0x328d2d(0x1e4),'children':[_0x4dbad1[_0x328d2d(0x25e)](_0x328d2d(0x247),{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x4dbad1[_0x328d2d(0x2ae)]('span',{'children':_0x6791d0['time']}),_0x552042&&_0x4dbad1[_0x328d2d(0x2ae)](_0x328d2d(0x32a),{'className':_0x328d2d(0x36d),'children':_0x596241})]}),_0x4dbad1[_0x328d2d(0x2ae)]('div',{'children':_0x486193&&_0x4dbad1[_0x328d2d(0x2ae)](_0x1f7c98[_0x328d2d(0x2cf)],{'title':_0x505010['t'](_0x328d2d(0x186)),'children':_0x4dbad1[_0x328d2d(0x2ae)](_0x328d2d(0x247),{'onClick':_0x15cd37=>{const _0x4a2b5b=_0x328d2d;_0x15cd37[_0x4a2b5b(0x37b)](),_0x1d744a(_0x45de15['id']);},'className':_0x328d2d(0x371),'children':_0x4dbad1[_0x328d2d(0x2ae)](_0x1be778,{})})})})]}),_0x4dbad1[_0x328d2d(0x2ae)](_0x328d2d(0x247),{'className':_0x328d2d(0x2a7),'children':_0x2d0f08(_0x45de15,_0x505010)})]});}var _0x24e937=Object[_0x1afe5f(0x2d3)],_0x45b300=(_0x542f34,_0x4616c6,_0x3bb1b3,_0x2ae76c)=>{for(var _0x21ceca=_0x2ae76c>0x1?void 0x0:_0x2ae76c?_0x24e937(_0x4616c6,_0x3bb1b3):_0x4616c6,_0x14325f=_0x542f34['length']-0x1,_0x17524e;_0x14325f>=0x0;_0x14325f--)(_0x17524e=_0x542f34[_0x14325f])&&(_0x21ceca=_0x17524e(_0x21ceca)||_0x21ceca);return _0x21ceca;},_0x1b3e68=(_0x29660f,_0x1f97ed)=>(_0x137f40,_0x37b4bd)=>_0x1f97ed(_0x137f40,_0x37b4bd,_0x29660f);const _0x762eda='history-panel';let _0xeafef4=class extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(_0x18962d,_0x2cdb31,_0x4e2734,_0xb3be91){const _0x7b5e68=_0x1afe5f;super(),_0x57ef2d(this,_0x7b5e68(0x19f),null),(this[_0x7b5e68(0x269)]=_0x18962d,this[_0x7b5e68(0x1e7)]=_0x2cdb31,this[_0x7b5e68(0x351)]=_0x4e2734,this[_0x7b5e68(0x2c1)]=_0xb3be91,this[_0x7b5e68(0x28b)]());}[_0x1afe5f(0x28b)](){const _0x592a04=_0x1afe5f;this[_0x592a04(0x218)](),this[_0x592a04(0x375)]();}[_0x1afe5f(0x375)](){const _0x37e6da=_0x1afe5f;if(this['_sidebarDisposable'])return;const _0x2e7dec={'header':{'title':this[_0x37e6da(0x351)]['t'](_0x37e6da(0x38d))},'children':{'label':_0x762eda},'onClose':()=>{const _0x521850=_0x37e6da;this[_0x521850(0x19f)]=null,this[_0x521850(0x2c1)][_0x521850(0x395)]=_0x4cb442[_0x521850(0x373)];}};this[_0x37e6da(0x19f)]=this[_0x37e6da(0x269)]['open']({..._0x2e7dec});}[_0x1afe5f(0x218)](){const _0x593ebd=_0x1afe5f;this['disposeWithMe'](this[_0x593ebd(0x1e7)][_0x593ebd(0x2c2)](_0x762eda,_0x22fa36)),this['disposeWithMe'](this[_0x593ebd(0x269)][_0x593ebd(0x399)]['pipe'](_0x2ae290[_0x593ebd(0x364)](0x64))[_0x593ebd(0x26a)](_0x3df84a=>{const _0x1d09d9=_0x593ebd,{target:_0x566f92}=_0x3df84a||{};if(_0x566f92){const {scrollTop:_0x267db1,scrollHeight:_0x58d384,clientHeight:_0x84e1b0}=_0x566f92;_0x267db1+_0x84e1b0>=_0x58d384-0x5&&this['_historyManagerService'][_0x1d09d9(0x37c)]();}}));}};_0xeafef4=_0x45b300([_0x1b3e68(0x0,_0x447332[_0x1afe5f(0x2eb)]),_0x1b3e68(0x1,_0x5999cd['Inject'](_0x447332[_0x1afe5f(0x295)])),_0x1b3e68(0x2,_0x5999cd['Inject'](_0x5999cd['LocaleService'])),_0x1b3e68(0x3,_0x5999cd[_0x1afe5f(0x205)](_0x311108[_0x1afe5f(0x256)]))],_0xeafef4);class _0x3fd4bf extends _0x5999cd[_0x1afe5f(0x22d)]{constructor(){const _0x997590=_0x1afe5f;super(),_0x57ef2d(this,_0x997590(0x2e1),new _0x2ae290['Subject']());}[_0x1afe5f(0x27d)](){const _0x732bf6=_0x1afe5f;return _0x5999cd[_0x732bf6(0x182)](()=>{});}[_0x1afe5f(0x30a)](){}[_0x1afe5f(0x37a)](_0x18e303){}['getDialogs$'](){return this['_dialogOptions$']['asObservable']();}}var _0x1b8126=Object[_0x1afe5f(0x379)],_0x16842b=Object[_0x1afe5f(0x2d3)],_0x481c22=(_0x2d5df1,_0x144fd3,_0x8a588b)=>_0x144fd3 in _0x2d5df1?_0x1b8126(_0x2d5df1,_0x144fd3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8a588b}):_0x2d5df1[_0x144fd3]=_0x8a588b,_0x128e6f=(_0x25b5d9,_0x5ae618,_0x1b47da,_0x313373)=>{const _0x9721d1=_0x1afe5f;for(var _0x448356=_0x313373>0x1?void 0x0:_0x313373?_0x16842b(_0x5ae618,_0x1b47da):_0x5ae618,_0x52f429=_0x25b5d9[_0x9721d1(0x2a4)]-0x1,_0x5e33be;_0x52f429>=0x0;_0x52f429--)(_0x5e33be=_0x25b5d9[_0x52f429])&&(_0x448356=_0x5e33be(_0x448356)||_0x448356);return _0x448356;},_0x2e9eb7=(_0x5b7184,_0x222aac)=>(_0x58db0d,_0x19844a)=>_0x222aac(_0x58db0d,_0x19844a,_0x5b7184),_0x4fb9aa=(_0x45be1b,_0x2cd861,_0x28a333)=>_0x481c22(_0x45be1b,_0x2cd861+'',_0x28a333);const _0xc32d7e=_0x1afe5f(0x288);_0x311108[_0x1afe5f(0x3a2)]=class extends _0x5999cd['Plugin']{constructor(_0x3740ac=_0x5cf162,_0x5005e1,_0x245fe3,_0x258320){const _0x8894aa=_0x1afe5f;super(),this['_config']=_0x3740ac,this[_0x8894aa(0x25b)]=_0x5005e1,this[_0x8894aa(0x231)]=_0x245fe3,this[_0x8894aa(0x383)]=_0x258320;const {..._0x2c6031}=_0x5999cd[_0x8894aa(0x260)]({},_0x5cf162,this[_0x8894aa(0x2fa)]);this[_0x8894aa(0x383)][_0x8894aa(0x321)](_0x438df1,_0x2c6031);}[_0x1afe5f(0x3a5)](){const _0x10a537=_0x1afe5f;[[_0x311108[_0x10a537(0x256)]],[_0x5201a6],[_0xbe32d7],[_0x61ac77],[_0xeafef4],[_0x412f1a],[_0x221432[_0x10a537(0x1e3)],{'useClass':_0x4371ba[_0x10a537(0x1c9)]}],[_0x447332[_0x10a537(0x20e)],{'useClass':_0x3fd4bf}],[_0x17f407[_0x10a537(0x21b)],{'useClass':_0x4371ba['CollaborationImageIoService']}]]['forEach'](_0x5ed2ef=>this['_injector'][_0x10a537(0x1f2)](_0x5ed2ef)),this['_injector'][_0x10a537(0x300)](_0x5201a6);}['onRendered'](){const _0x217145=_0x1afe5f;[[_0x5bea65]]['forEach'](_0x1a25c5=>{const _0x36c4f5=_0x1d45;this[_0x36c4f5(0x39b)](this[_0x36c4f5(0x231)][_0x36c4f5(0x2ca)](_0x5999cd[_0x36c4f5(0x313)][_0x36c4f5(0x1dd)],_0x1a25c5));}),this[_0x217145(0x25b)][_0x217145(0x300)](_0x412f1a),this['_injector'][_0x217145(0x300)](_0xeafef4);}[_0x1afe5f(0x2b9)](){const _0x299b36=_0x1afe5f;this[_0x299b36(0x25b)]['get'](_0xbe32d7);}},_0x4fb9aa(_0x311108['UniverEditHistoryViewerPlugin'],_0x1afe5f(0x226),_0xc32d7e),_0x311108[_0x1afe5f(0x3a2)]=_0x128e6f([_0x5999cd[_0x1afe5f(0x225)](_0x1f85a6[_0x1afe5f(0x35d)],_0x5eeed9[_0x1afe5f(0x2de)]),_0x2e9eb7(0x1,_0x5999cd[_0x1afe5f(0x205)](_0x5999cd[_0x1afe5f(0x2f3)])),_0x2e9eb7(0x2,_0x9378cd[_0x1afe5f(0x334)]),_0x2e9eb7(0x3,_0x5999cd['IConfigService'])],_0x311108[_0x1afe5f(0x3a2)]),_0x311108[_0x1afe5f(0x314)]=_0x4cb442,Object[_0x1afe5f(0x379)](_0x311108,Symbol[_0x1afe5f(0x2af)],{'value':_0x1afe5f(0x30f)});}));
18
18
 
19
19
  // @univerjs-pro/edit-history-loader/index
20
- function _0x5d09(_0x126c2e,_0x319167){const _0x1e157e=_0x1e15();return _0x5d09=function(_0x5d09a1,_0x5c396c){_0x5d09a1=_0x5d09a1-0x1ae;let _0x2b793f=_0x1e157e[_0x5d09a1];return _0x2b793f;},_0x5d09(_0x126c2e,_0x319167);}function _0x1e15(){const _0x149c9b=['9eaADZp','UniverCollaborationPlugin','ThemeService','style','disposeWithMe','@univerjs/design','HistoryManagerService','IDialogService','@univerjs/engine-formula','exports','amd','current','data','setLocale','white','UniverSheetsHyperLinkPlugin','some','createElement','getSubunitRuleList','UniverSheetsFilter','IImageIoService','React','unsubscribe','SYNCED','CollaborationEvent','1256408Xrahyi','state$','\x20has\x20been\x20registered.','0\x200\x2016\x2016','svg','UniverSheetsPlugin','@univerjs-pro/edit-history-viewer','UniverRenderEnginePlugin','@univerjs/sheets-hyper-link-ui','@univerjs/drawing-ui','next','asObservable','type','UniverDataValidationPlugin','UniverInstanceType','UniverSheetsFilterUIPlugin','executeCommand','status','xlink:href','UniverDocsUIPlugin','darkMode$','random','url(#history-icon_clip0_907_281)','Loading','UNIVER_CONTAINER_ID','@univerjs-pro/sheets-pivot','getCollabEntity','flat','@univerjs/sheets-drawing','@univerjs/sheets-numfmt','block','invoke','_pluginMap','Injector','UniverLicensePlugin','UniverSheetsUIPlugin','position','_messageService','UniverSheetsFormula','close','UniverProSheetsSparklineUi','CollaborationController','UniverDrawingUIPlugin','_univerInstanceService','UniverSheetsUi','UniverCore','UniverSheetsConditionalFormattingUi','MessageType','displayName','setTheme','object','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','div','UniverSheetsFormulaUIPlugin','Module','1039740zJIJbK','mountHistoryContent','show','editHistory.panel.revertFailed','1228494GiZHtz','mutations','none','_menuManagerService','./worker.js','RibbonStartGroup','historyUniver$','[HistoryLoaderService]:\x20Plugin\x20','UniverDrawingPlugin','onStarting','onSteady','IMessageService','@univerjs/core','fill','univer-container','set','uComp','getConfig','getMenuHiddenObservable','_collaborationController','colorChannel1','UniverSheetsDataValidation','_commandService','@univerjs/engine-render','toString','unMountHistoryContent','Plugin','UniverDrawingUi','@univerjs/sheets-formula-ui','2467487TSVwIT','UniverDrawing','has','UniverSheetsHyperLink','get','Error','defIds','children','merge','UniverProSheetsPivot','getLocales','@univerjs-pro/sheets-sparkline','display','width','@univerjs-pro/collaboration','location','register','OPERATION','idSuffix','function','Disposable','symbol','getSheetId','@univerjs-pro/collaboration-client','CommandType','_disposableCollection','IUniverInstanceService','UniverSheetsNumfmtPlugin','toStringTag','WorkbookEditablePermission','getOwnPropertyDescriptor','history-icon_clip0_907_281','menu','_configService','WorkbookRecoverHistoryPermission','appendChild','triggerLoadVersions','UniverSheetsDrawing','@univerjs/sheets-conditional-formatting-ui','UniverEngineFormula','subscribe','attrs','UniverSheetsConditionalFormattingPlugin','defs','_componentManager','HistoryLoaderService','composePermission','UniverSheetsDrawingUIPlugin','left','UniverSheetsHyperLinkUIPlugin','editHistory.panel.reverting','_localeService','getElementById','UniverProCollaborationClient','session','forwardRef','univerjs-icon\x20univerjs-icon-','IConfigService','pluginName','100%','_initPlugins','editHistory.panel.listFetchError','UniverSheetsNumfmt','WorkbookViewHistoryPermission','getCurrentLocale','_localCacheService','_themeService','UniverSheetsFormulaPlugin','absolute','@univerjs/sheets-drawing-ui','_init','RevertRevisionMutation','UniverSheetsFormulaUi','706295oPAngR','UniverSheetsFilterUi','40571kQFmvv','@univerjs/drawing','ComponentManager','@univerjs/sheets-filter-ui','edit-history-loader.config','@univerjs/sheets-filter','UniverFormulaEnginePlugin','getSheetCommandTarget','UniverDesign','Inject','UniverSheetsDrawingUi','height','2dxudJC','OTHERS','replace','_initListener','UniverUi','UniverIcon','toDisposable','entries','_initUniver','map','historyUniver','defineProperty','@univerjs/sheets-ui','M0\x200H16V16H0z','registerPlugin','UniverSheetsDataValidationPlugin','ICommandService','string','UniverSheetsConditionalFormatting','dispose','UniverSheetsFilterPlugin','_initContainer','BehaviorSubject','UniverEditHistoryLoaderPlugin','IAuthzIoService','@univerjs/sheets-hyper-link','HistoryIcon','@univerjs/rpc','value','UniverEditHistoryViewerPlugin','useRef','setDarkMode','UniverNetworkPlugin','UNIVER_HISTORY_CONTAINER_ID','currentTheme$','forEach','WorksheetEditPermission','CHANGESET_ACK','clipPath','mask','1em','UniverProEditHistoryLoader','add','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','4840toIMBM','from','univerContainerId','_revertErrorTimer','DisposableCollection','substring','UniverDocsUi','getUnit','RxDisposable','top','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','@univerjs/docs','currentColor','ILocalCacheService','LS_CONFIG_KEY','3rviyUk','LocaleService','url(#$1','setConfig','_config','path','http://www.w3.org/2000/svg','revertRevision$','trim','_historyUniver$','UNIVER_CONTAINER_ID_KEY','UniverSheetsPivotTablePlugin','IMenuManagerService','tag','includes','rxjs','7acmGuN','length','closeAll','HistoryModeStatus','values','univer.operation.toggle-edit-history','_permissionService','UniverDocs','history-container','reload','history-icon','@univerjs-pro/sheets-sparkline-ui','UniverProCollaboration','10nlVwsc','UniverDocsPlugin','CollaborationStatus','UniverEngineRender','zIndex','registerCommand','_injector','every','RangeProtectionPermissionEditPoint','Univer','use','@univerjs/sheets','mergeMenu','editHistory.panel.title','getCurrentRangeDisable$'];_0x1e15=function(){return _0x149c9b;};return _0x1e15();}(function(_0x59e52e,_0x27af56){const _0x4d256f=_0x5d09,_0x5734f8=_0x59e52e();while(!![]){try{const _0x12c320=parseInt(_0x4d256f(0x1e7))/0x1*(parseInt(_0x4d256f(0x1f3))/0x2)+parseInt(_0x4d256f(0x22e))/0x3*(-parseInt(_0x4d256f(0x21f))/0x4)+parseInt(_0x4d256f(0x1e5))/0x5+-parseInt(_0x4d256f(0x2ae))/0x6*(parseInt(_0x4d256f(0x23e))/0x7)+parseInt(_0x4d256f(0x273))/0x8*(-parseInt(_0x4d256f(0x25a))/0x9)+parseInt(_0x4d256f(0x24b))/0xa*(parseInt(_0x4d256f(0x2cb))/0xb)+parseInt(_0x4d256f(0x2aa))/0xc;if(_0x12c320===_0x27af56)break;else _0x5734f8['push'](_0x5734f8['shift']());}catch(_0x3a2212){_0x5734f8['push'](_0x5734f8['shift']());}}}(_0x1e15,0x1faf6),function(_0x511ea6,_0x9f46bd){const _0x3efaab=_0x5d09;typeof exports==_0x3efaab(0x2a5)&&typeof module<'u'?_0x9f46bd(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x3efaab(0x1af)&&define[_0x3efaab(0x264)]?define([_0x3efaab(0x263),_0x3efaab(0x2ba),_0x3efaab(0x2d9),_0x3efaab(0x1b3),_0x3efaab(0x25f),'react','@univerjs/ui',_0x3efaab(0x23d),_0x3efaab(0x256),_0x3efaab(0x279),'@univerjs-pro/license',_0x3efaab(0x28c),_0x3efaab(0x2d6),_0x3efaab(0x249),'@univerjs/data-validation',_0x3efaab(0x22a),'@univerjs/docs-ui',_0x3efaab(0x1e8),_0x3efaab(0x27c),_0x3efaab(0x262),_0x3efaab(0x2c5),'@univerjs/network',_0x3efaab(0x20e),'@univerjs/sheets-conditional-formatting',_0x3efaab(0x1c2),'@univerjs/sheets-data-validation','@univerjs/sheets-data-validation-ui',_0x3efaab(0x28f),_0x3efaab(0x1e1),_0x3efaab(0x1ec),_0x3efaab(0x1ea),'@univerjs/sheets-formula',_0x3efaab(0x2ca),_0x3efaab(0x20c),_0x3efaab(0x27b),_0x3efaab(0x290),_0x3efaab(0x1ff)],_0x9f46bd):(_0x511ea6=typeof globalThis<'u'?globalThis:_0x511ea6||self,_0x9f46bd(_0x511ea6[_0x3efaab(0x21c)]={},_0x511ea6[_0x3efaab(0x2a0)],_0x511ea6[_0x3efaab(0x24a)],_0x511ea6[_0x3efaab(0x1d1)],_0x511ea6[_0x3efaab(0x1ef)],_0x511ea6[_0x3efaab(0x26f)],_0x511ea6[_0x3efaab(0x1f7)],_0x511ea6['rxjs'],_0x511ea6['UniverSheets'],_0x511ea6['UniverProEditHistoryViewer'],_0x511ea6['UniverProLicense'],_0x511ea6[_0x3efaab(0x2d4)],_0x511ea6['UniverProSheetsSparkline'],_0x511ea6[_0x3efaab(0x29b)],_0x511ea6['UniverDataValidation'],_0x511ea6[_0x3efaab(0x245)],_0x511ea6[_0x3efaab(0x225)],_0x511ea6[_0x3efaab(0x2cc)],_0x511ea6[_0x3efaab(0x2c9)],_0x511ea6[_0x3efaab(0x1c3)],_0x511ea6[_0x3efaab(0x24e)],_0x511ea6['UniverNetwork'],_0x511ea6['UniverRpc'],_0x511ea6[_0x3efaab(0x205)],_0x511ea6[_0x3efaab(0x2a1)],_0x511ea6[_0x3efaab(0x2c3)],_0x511ea6['UniverSheetsDataValidationUi'],_0x511ea6[_0x3efaab(0x1c1)],_0x511ea6[_0x3efaab(0x1f1)],_0x511ea6[_0x3efaab(0x26d)],_0x511ea6[_0x3efaab(0x1e6)],_0x511ea6[_0x3efaab(0x299)],_0x511ea6[_0x3efaab(0x1e4)],_0x511ea6[_0x3efaab(0x2ce)],_0x511ea6['UniverSheetsHyperLinkUi'],_0x511ea6[_0x3efaab(0x1da)],_0x511ea6[_0x3efaab(0x29f)]));}(this,function(_0x1c80c5,_0x509b43,_0x4226fd,_0x22be86,_0x280f43,_0x47ee0c,_0x3c337d,_0x54ddc1,_0x52cf1c,_0x97794b,_0xeb80a2,_0x3aa51b,_0x487a66,_0x35611a,_0xffa3b1,_0x21eb7e,_0x5c856b,_0x27084d,_0x17bbdd,_0x3f6fcd,_0x515d2f,_0xc4dd8c,_0xab74af,_0x41ceb3,_0x286167,_0x59c342,_0x2a14a2,_0x9e2429,_0x4c4886,_0x5c9dfe,_0x12ef78,_0x51b25f,_0x11112c,_0x96c448,_0x4ba3d9,_0x1cce12,_0x11ca31){'use strict';const _0x57404d=_0x5d09;var _0x1e1a87=Object['defineProperty'],_0x1f46ce=(_0x5c7285,_0x40f954,_0x4a3a18)=>_0x40f954 in _0x5c7285?_0x1e1a87(_0x5c7285,_0x40f954,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a3a18}):_0x5c7285[_0x40f954]=_0x4a3a18,_0x43ffb4=(_0x3eaabd,_0x532051,_0x15c912)=>_0x1f46ce(_0x3eaabd,typeof _0x532051!=_0x57404d(0x1b1)?_0x532051+'':_0x532051,_0x15c912),_0x106a9e;const _0x3f5597=_0x57404d(0x1eb),_0x5b164a={};function _0x28ebb9({ref:_0x56e33e,..._0x3a056a}){const _0x585180=_0x57404d,{icon:_0x5604a0,id:_0x226eb6,className:_0x4a40c2,extend:_0x19ba63,..._0x488eb7}=_0x3a056a,_0x5666f2=(_0x585180(0x1d4)+_0x226eb6+'\x20'+(_0x4a40c2||''))[_0x585180(0x236)](),_0x23acc6=_0x47ee0c[_0x585180(0x211)]('_'+_0x3fdef1());return _0x7c3654(_0x5604a0,''+_0x226eb6,{'defIds':_0x5604a0[_0x585180(0x2d1)],'idSuffix':_0x23acc6[_0x585180(0x265)]},{'ref':_0x56e33e,'className':_0x5666f2,..._0x488eb7},_0x19ba63);}function _0x7c3654(_0x1f3082,_0x171307,_0x15fca6,_0x333c15,_0x3363fb){const _0x1f7321=_0x57404d;return _0x47ee0c[_0x1f7321(0x26b)](_0x1f3082[_0x1f7321(0x23b)],{'key':_0x171307,..._0x8cd27e(_0x1f3082,_0x15fca6,_0x3363fb),..._0x333c15},(_0x589232(_0x1f3082,_0x15fca6)[_0x1f7321(0x2d2)]||[])[_0x1f7321(0x1fc)]((_0x3311b9,_0x2c45bf)=>_0x7c3654(_0x3311b9,_0x171307+'-'+_0x1f3082[_0x1f7321(0x23b)]+'-'+_0x2c45bf,_0x15fca6,void 0x0,_0x3363fb)));}function _0x8cd27e(_0x2bd847,_0x1863bd,_0x4f07d3){const _0x152139=_0x57404d,_0x1053ff={..._0x2bd847[_0x152139(0x1c5)]};_0x4f07d3!=null&&_0x4f07d3[_0x152139(0x2c2)]&&_0x1053ff[_0x152139(0x2bb)]===_0x152139(0x2c2)&&(_0x1053ff[_0x152139(0x2bb)]=_0x4f07d3[_0x152139(0x2c2)]),_0x2bd847[_0x152139(0x23b)]===_0x152139(0x21a)&&_0x1053ff['id']&&(_0x1053ff['id']=_0x1053ff['id']+_0x1863bd[_0x152139(0x1ae)]),Object[_0x152139(0x1fa)](_0x1053ff)[_0x152139(0x216)](([_0x2f0c58,_0x2892dd])=>{const _0xf9befa=_0x152139;_0x2f0c58===_0xf9befa(0x21a)&&typeof _0x2892dd==_0xf9befa(0x204)&&(_0x1053ff[_0x2f0c58]=_0x2892dd[_0xf9befa(0x1f5)](/url\(#(.*)\)/,_0xf9befa(0x230)+_0x1863bd[_0xf9befa(0x1ae)]+')'));});const {defIds:_0x2404fc}=_0x1863bd;return!_0x2404fc||_0x2404fc[_0x152139(0x23f)]===0x0||(_0x2bd847[_0x152139(0x23b)]===_0x152139(0x255)&&_0x1053ff[_0x152139(0x285)]&&(_0x1053ff[_0x152139(0x285)]=_0x1053ff[_0x152139(0x285)]+_0x1863bd[_0x152139(0x1ae)]),Object[_0x152139(0x1fa)](_0x1053ff)[_0x152139(0x216)](([_0x67729a,_0x544ef4])=>{const _0x4418e6=_0x152139;typeof _0x544ef4==_0x4418e6(0x204)&&(_0x1053ff[_0x67729a]=_0x544ef4[_0x4418e6(0x1f5)](/url\(#(.*)\)/,_0x4418e6(0x230)+_0x1863bd['idSuffix']+')'));})),_0x1053ff;}function _0x589232(_0x266667,_0x38c1bd){const _0x2fe312=_0x57404d;var _0x33c27d;const {defIds:_0x279c60}=_0x38c1bd;return!_0x279c60||_0x279c60['length']===0x0?_0x266667:_0x266667['tag']===_0x2fe312(0x1c7)&&((_0x33c27d=_0x266667[_0x2fe312(0x2d2)])!=null&&_0x33c27d['length'])?{..._0x266667,'children':_0x266667[_0x2fe312(0x2d2)][_0x2fe312(0x1fc)](_0x9a9c4d=>typeof _0x9a9c4d[_0x2fe312(0x1c5)]['id']==_0x2fe312(0x204)&&_0x279c60&&_0x279c60[_0x2fe312(0x23c)](_0x9a9c4d[_0x2fe312(0x1c5)]['id'])?{..._0x9a9c4d,'attrs':{..._0x9a9c4d['attrs'],'id':_0x9a9c4d[_0x2fe312(0x1c5)]['id']+_0x38c1bd[_0x2fe312(0x1ae)]}}:_0x9a9c4d)}:_0x266667;}function _0x3fdef1(){const _0x503895=_0x57404d;return Math[_0x503895(0x288)]()[_0x503895(0x2c6)](0x24)[_0x503895(0x224)](0x2,0x8);}_0x28ebb9[_0x57404d(0x2a3)]=_0x57404d(0x1f8);const _0x2368fa={'tag':_0x57404d(0x277),'attrs':{'xmlns':_0x57404d(0x234),'fill':'none','viewBox':_0x57404d(0x276),'width':_0x57404d(0x21b),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x57404d(0x22b),'clipPath':_0x57404d(0x289)},'children':[{'tag':_0x57404d(0x233),'attrs':{'d':_0x57404d(0x2a6)}},{'tag':'path','attrs':{'d':_0x57404d(0x229)}}]},{'tag':_0x57404d(0x1c7),'attrs':{},'children':[{'tag':_0x57404d(0x219),'attrs':{'id':_0x57404d(0x1bb)},'children':[{'tag':_0x57404d(0x233),'attrs':{'fill':_0x57404d(0x268),'d':_0x57404d(0x200)}}]}]}],'defIds':[_0x57404d(0x1bb)]},_0x312a28=_0x47ee0c[_0x57404d(0x1d3)](function(_0x3340f2,_0x545888){const _0x4d3b05=_0x57404d;return _0x47ee0c[_0x4d3b05(0x26b)](_0x28ebb9,Object['assign']({},_0x3340f2,{'id':_0x4d3b05(0x248),'ref':_0x545888,'icon':_0x2368fa}));});_0x312a28[_0x57404d(0x2a3)]='HistoryIcon';var _0x58ff51=Object[_0x57404d(0x1ba)],_0x508173=(_0x539963,_0x4d8474,_0x5d48fa,_0x2b923d)=>{for(var _0x40b870=_0x2b923d>0x1?void 0x0:_0x2b923d?_0x58ff51(_0x4d8474,_0x5d48fa):_0x4d8474,_0x14c4c2=_0x539963['length']-0x1,_0x2c5f86;_0x14c4c2>=0x0;_0x14c4c2--)(_0x2c5f86=_0x539963[_0x14c4c2])&&(_0x40b870=_0x2c5f86(_0x40b870)||_0x40b870);return _0x40b870;},_0x1d850e=(_0x20de03,_0x2e2bae)=>(_0x3c87c6,_0x5c58ff)=>_0x2e2bae(_0x3c87c6,_0x5c58ff,_0x20de03);const _0x695235=_0x57404d(0x2bc),_0x5379c1=_0x57404d(0x28b),_0x5b6f6a='univer-history-container';_0x1c80c5[_0x57404d(0x1c9)]=class extends _0x509b43[_0x57404d(0x1b0)]{constructor(_0x3095a6,_0x275799,_0xe39372,_0x3ad8da,_0x59356f,_0x23ef06,_0x351a90,_0xe28ee8,_0x4d9cec,_0x54b13d){const _0x42d385=_0x57404d;super(),_0x43ffb4(this,_0x42d385(0x237),new _0x54ddc1[(_0x42d385(0x209))](null)),_0x43ffb4(this,_0x42d385(0x2b4),this[_0x42d385(0x237)][_0x42d385(0x27e)]()),_0x43ffb4(this,_0x42d385(0x1b5),new _0x509b43[(_0x42d385(0x223))]()),_0x43ffb4(this,_0x42d385(0x293),new Map()),(this[_0x42d385(0x1cf)]=_0x3095a6,this[_0x42d385(0x29e)]=_0x275799,this[_0x42d385(0x1bd)]=_0xe39372,this[_0x42d385(0x2c4)]=_0x3ad8da,this[_0x42d385(0x298)]=_0x59356f,this[_0x42d385(0x244)]=_0x23ef06,this['_selectionProtectionRuleModel']=_0x351a90,this['_dialogService']=_0xe28ee8,this['_sidebarService']=_0x4d9cec,this['_themeService']=_0x54b13d,this['_init']());}get['historyUniver'](){const _0x3f6ed9=_0x57404d;return this[_0x3f6ed9(0x237)][_0x3f6ed9(0x20f)];}['_init'](){const _0x4aef23=_0x57404d;this[_0x4aef23(0x208)](),this[_0x4aef23(0x1d8)]();}[_0x57404d(0x208)](){const _0x390435=_0x57404d;var _0x3da32b;const _0x3656b4=(_0x3da32b=this[_0x390435(0x1bd)][_0x390435(0x2bf)](_0x5379c1))!=null?_0x3da32b:_0x695235,_0x20ea90=document[_0x390435(0x1d0)](_0x3656b4);if(!_0x20ea90)return;const _0x1329a6=document['createElement'](_0x390435(0x2a7));_0x1329a6['id']=_0x5b6f6a,_0x1329a6['dataset'][_0x390435(0x2be)]=_0x390435(0x246),_0x1329a6[_0x390435(0x25d)][_0x390435(0x297)]=_0x390435(0x1e0),_0x1329a6['style'][_0x390435(0x228)]='0',_0x1329a6[_0x390435(0x25d)][_0x390435(0x1cc)]='0',_0x1329a6['style'][_0x390435(0x2d8)]='100%',_0x1329a6['style'][_0x390435(0x1f2)]=_0x390435(0x1d7),_0x1329a6[_0x390435(0x25d)][_0x390435(0x24f)]='1000',_0x1329a6['style']['display']=_0x390435(0x2b0),_0x20ea90[_0x390435(0x1bf)](_0x1329a6);}[_0x57404d(0x1d8)](){const _0x3d7bed=_0x57404d;var _0x5d41b7;[[_0x515d2f[_0x3d7bed(0x27a)]],[_0x3c337d['UniverUIPlugin'],{'container':_0x5b6f6a,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x3c337d['IDialogService'],null]]}],[_0xc4dd8c[_0x3d7bed(0x213)]],[_0x27084d[_0x3d7bed(0x2b6)],{'override':[[_0x27084d[_0x3d7bed(0x26e)],null]]}],[_0x21eb7e[_0x3d7bed(0x24c)],{'hasScroll':!0x1}],[_0x5c856b[_0x3d7bed(0x286)]],[_0x1cce12[_0x3d7bed(0x1b7)]],[_0x52cf1c[_0x3d7bed(0x278)],{'notExecuteFormula':!0x0}],[_0x11ca31[_0x3d7bed(0x296)]],[_0x51b25f[_0x3d7bed(0x1df)]],[_0x11112c[_0x3d7bed(0x2a8)]],[_0x4226fd[_0x3d7bed(0x25b)]],[_0x5c9dfe[_0x3d7bed(0x207)]],[_0x12ef78[_0x3d7bed(0x282)]],[_0x41ceb3[_0x3d7bed(0x1c6)]],[_0x286167['UniverSheetsConditionalFormattingUIPlugin']],[_0x96c448[_0x3d7bed(0x269)]],[_0x4ba3d9[_0x3d7bed(0x1cd)]],[_0xffa3b1[_0x3d7bed(0x280)]],[_0x59c342[_0x3d7bed(0x202)]],[_0x2a14a2['UniverSheetsDataValidationUIPlugin']],[_0x3f6fcd[_0x3d7bed(0x1ed)],{'notExecuteFormula':!0x0}],[_0xab74af['UniverRPCMainThreadPlugin'],{'workerURL':_0x3d7bed(0x2b2)}],[_0x17bbdd[_0x3d7bed(0x29d)]],[_0x9e2429['UniverSheetsDrawingPlugin']],[_0x4c4886[_0x3d7bed(0x1cb)]],[_0x487a66['UniverSheetSparklinePlugin']],[_0x35611a['UniverSheetSparklineUIPlugin']],[_0x3aa51b[_0x3d7bed(0x239)],{'notExecuteFormula':!0x0}],[_0x97794b[_0x3d7bed(0x210)],{'historyListServerUrl':(_0x5d41b7=this[_0x3d7bed(0x1bd)][_0x3d7bed(0x2bf)](_0x3f5597))==null?void 0x0:_0x5d41b7['historyListServerUrl']}]][_0x3d7bed(0x216)](([_0x5c1601,_0x3aa082])=>this[_0x3d7bed(0x201)](_0x5c1601,_0x3aa082));}['dispose'](){const _0x24d7fc=_0x57404d;super['dispose'](),this[_0x24d7fc(0x2c7)](),this[_0x24d7fc(0x293)]['clear']();}[_0x57404d(0x201)](_0x18e6a0,_0x5e8573,_0x418478){const _0x56f83e=_0x57404d;if(this['_pluginMap'][_0x56f83e(0x2cd)](_0x18e6a0[_0x56f83e(0x1d6)])&&!_0x418478)throw new Error(_0x56f83e(0x2b5)+_0x18e6a0['pluginName']+_0x56f83e(0x275));this['_pluginMap'][_0x56f83e(0x2bd)](_0x18e6a0[_0x56f83e(0x1d6)],[_0x18e6a0,_0x5e8573]);}['getAllPlugins'](){const _0x48b7a3=_0x57404d;return Array[_0x48b7a3(0x220)](this[_0x48b7a3(0x293)][_0x48b7a3(0x242)]());}['mountHistoryContent'](_0x28e260){const _0x2ff102=_0x57404d,_0x2c088c=document['getElementById'](_0x5b6f6a);_0x2c088c&&(_0x2c088c[_0x2ff102(0x25d)][_0x2ff102(0x2d7)]=_0x2ff102(0x291),this[_0x2ff102(0x1fb)](_0x28e260,_0x5b6f6a));}[_0x57404d(0x2c7)](){const _0xddea52=_0x57404d;var _0x245de7;this['_disposableCollection'][_0xddea52(0x206)](),(_0x245de7=this[_0xddea52(0x1fd)])==null||_0x245de7[_0xddea52(0x206)](),this['_historyUniver$']['next'](null);const _0x432444=document[_0xddea52(0x1d0)](_0x5b6f6a);_0x432444&&(_0x432444[_0xddea52(0x25d)][_0xddea52(0x2d7)]=_0xddea52(0x2b0));}[_0x57404d(0x1fb)](_0x2c0852,_0x169116){const _0x3296c4=_0x57404d;if(this[_0x3296c4(0x1fd)])return;const _0x9fa915=new _0x509b43[(_0x3296c4(0x254))]({'locales':{[this[_0x3296c4(0x1cf)][_0x3296c4(0x1dc)]()]:this[_0x3296c4(0x1cf)][_0x3296c4(0x2d5)]()},'override':[[_0x509b43[_0x3296c4(0x20b)],{'useClass':_0x22be86['AuthzIoHttpService']}]]}),_0x24e454=_0x9fa915['__getInjector']();this[_0x3296c4(0x25e)](this[_0x3296c4(0x1de)][_0x3296c4(0x287)][_0x3296c4(0x1c4)](_0x4349d1=>{const _0x59b6e6=_0x3296c4;_0x24e454[_0x59b6e6(0x2cf)](_0x509b43[_0x59b6e6(0x25c)])[_0x59b6e6(0x212)](_0x4349d1);})),this[_0x3296c4(0x25e)](this[_0x3296c4(0x1de)][_0x3296c4(0x215)][_0x3296c4(0x1c4)](_0x2b8fb6=>{const _0x5f01f9=_0x3296c4;_0x24e454[_0x5f01f9(0x2cf)](_0x509b43[_0x5f01f9(0x25c)])[_0x5f01f9(0x2a4)](_0x2b8fb6);})),_0x24e454['get'](_0x509b43[_0x3296c4(0x22f)])[_0x3296c4(0x267)](this['_localeService'][_0x3296c4(0x1dc)]()),_0x24e454['get'](_0x509b43[_0x3296c4(0x1d5)])['setConfig'](_0x22be86[_0x3296c4(0x21e)],this[_0x3296c4(0x1bd)]['getConfig'](_0x22be86[_0x3296c4(0x21e)]));const _0xa92901=this[_0x3296c4(0x1bd)][_0x3296c4(0x2bf)](_0xeb80a2[_0x3296c4(0x22d)]);_0xa92901&&_0x9fa915['registerPlugin'](_0xeb80a2[_0x3296c4(0x295)],{'license':_0xa92901['ls']}),this[_0x3296c4(0x293)][_0x3296c4(0x216)](([_0x5cea65,_0x32d9a8])=>{const _0x52d199=_0x3296c4;_0x9fa915[_0x52d199(0x201)](_0x5cea65,_0x32d9a8);}),_0x24e454[_0x3296c4(0x292)](_0x46a5d8=>{const _0xc267dd=_0x3296c4;this[_0xc267dd(0x1f6)](_0x46a5d8,_0x2c0852);}),this[_0x3296c4(0x237)][_0x3296c4(0x27d)](_0x9fa915);const _0x5c9ae2=_0x24e454[_0x3296c4(0x2cf)](_0x97794b[_0x3296c4(0x260)]),_0xe070b1=this['_checkCanRevert'](_0x2c0852);_0x5c9ae2[_0x3296c4(0x1c0)](_0x2c0852,_0x169116,_0xe070b1);}[_0x57404d(0x1f6)](_0x25996a,_0xb1950b){const _0x417c83=_0x57404d,_0x15d724=_0x25996a[_0x417c83(0x2cf)](_0x97794b['HistoryManagerService']);this[_0x417c83(0x1b5)][_0x417c83(0x21d)](_0x15d724['status$'][_0x417c83(0x1c4)](_0x58a881=>{const _0x170757=_0x417c83;switch(_0x58a881){case _0x97794b['HistoryModeStatus']['Entered']:this['_dialogService'][_0x170757(0x240)](),this['_sidebarService'][_0x170757(0x29a)]();break;case _0x97794b['HistoryModeStatus']['Exited']:this['unMountHistoryContent']();break;case _0x97794b[_0x170757(0x241)][_0x170757(0x2d0)]:this['unMountHistoryContent'](),this[_0x170757(0x298)]['show']({'content':this[_0x170757(0x1cf)]['t'](_0x170757(0x1d9)),'type':_0x280f43['MessageType'][_0x170757(0x2d0)],'duration':0xbb8});break;}})),this[_0x417c83(0x1b5)][_0x417c83(0x21d)](_0x15d724[_0x417c83(0x235)][_0x417c83(0x1c4)](async _0x453377=>{const _0x28c201=_0x417c83;_0x453377&&this[_0x28c201(0x2c4)][_0x28c201(0x283)](_0x4226fd[_0x28c201(0x1e3)]['id'],{'unitId':_0xb1950b,'revision':_0x453377});}));}['_checkCanRevert'](_0x4a3b14){const _0x5f52bb=_0x57404d,_0x30c061=this['_univerInstanceService'][_0x5f52bb(0x226)](_0x4a3b14)['getSheets']()[_0x5f52bb(0x1fc)](_0x5c5934=>_0x5c5934[_0x5f52bb(0x1b2)]()),_0x5af28f=new _0x52cf1c[(_0x5f52bb(0x1b9))](_0x4a3b14)['id'],_0x27537e=_0x30c061[_0x5f52bb(0x1fc)](_0x49db2e=>new _0x52cf1c[(_0x5f52bb(0x217))](_0x4a3b14,_0x49db2e)['id']),_0x4035f1=_0x30c061['map'](_0x14f457=>this['_selectionProtectionRuleModel'][_0x5f52bb(0x26c)](_0x4a3b14,_0x14f457)[_0x5f52bb(0x1fc)](_0x23f5be=>new _0x52cf1c[(_0x5f52bb(0x253))](_0x4a3b14,_0x14f457,_0x23f5be['permissionId'])['id']))[_0x5f52bb(0x28e)](),_0xa223a2=new _0x52cf1c[(_0x5f52bb(0x1be))](_0x4a3b14)['id'];return this[_0x5f52bb(0x244)][_0x5f52bb(0x1ca)]([_0x5af28f,..._0x27537e,..._0x4035f1,_0xa223a2])[_0x5f52bb(0x252)](_0x36d25f=>!!_0x36d25f[_0x5f52bb(0x20f)]);}},_0x1c80c5[_0x57404d(0x1c9)]=_0x508173([_0x1d850e(0x0,_0x509b43['Inject'](_0x509b43[_0x57404d(0x22f)])),_0x1d850e(0x1,_0x509b43[_0x57404d(0x1b6)]),_0x1d850e(0x2,_0x509b43[_0x57404d(0x1d5)]),_0x1d850e(0x3,_0x509b43['ICommandService']),_0x1d850e(0x4,_0x3c337d[_0x57404d(0x2b9)]),_0x1d850e(0x5,_0x509b43['IPermissionService']),_0x1d850e(0x6,_0x509b43[_0x57404d(0x1f0)](_0x52cf1c['RangeProtectionRuleModel'])),_0x1d850e(0x7,_0x509b43[_0x57404d(0x1f0)](_0x3c337d[_0x57404d(0x261)])),_0x1d850e(0x8,_0x509b43['Inject'](_0x3c337d['ISidebarService'])),_0x1d850e(0x9,_0x509b43[_0x57404d(0x1f0)](_0x509b43['ThemeService']))],_0x1c80c5[_0x57404d(0x1c9)]);const _0x351072={'id':_0x57404d(0x243),'type':_0x509b43[_0x57404d(0x1b4)][_0x57404d(0x2dc)],'handler':_0x3144f1=>{const _0x5beff5=_0x57404d,_0x1c8131=_0x3144f1[_0x5beff5(0x2cf)](_0x1c80c5[_0x5beff5(0x1c9)]),_0xb49434=_0x3144f1[_0x5beff5(0x2cf)](_0x509b43[_0x5beff5(0x1b6)]),{unitId:_0x59791a}=_0x52cf1c[_0x5beff5(0x1ee)](_0xb49434)||{};return _0x59791a?(_0x1c8131[_0x5beff5(0x2ab)](_0x59791a),!0x0):!0x1;}};function _0xa2536a(_0x46e5f8){const _0xbd33ed=_0x57404d;return{'id':_0x351072['id'],'type':_0x3c337d['MenuItemType']['BUTTON'],'icon':_0xbd33ed(0x20d),'tooltip':_0xbd33ed(0x258),'hidden$':_0x3c337d[_0xbd33ed(0x2c0)](_0x46e5f8,_0x509b43[_0xbd33ed(0x281)]['UNIVER_SHEET']),'disabled$':_0x11ca31[_0xbd33ed(0x259)](_0x46e5f8,{'workbookTypes':[_0x52cf1c[_0xbd33ed(0x1b9)],_0x52cf1c[_0xbd33ed(0x1db)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x3762bf={[_0x3c337d[_0x57404d(0x2b3)][_0x57404d(0x1f4)]]:{[_0x351072['id']]:{'order':0.2,'menuItemFactory':_0xa2536a}}};var _0x4270b5=Object[_0x57404d(0x1ba)],_0x43819f=(_0x111c01,_0x5bf792,_0xd40118,_0x29b918)=>{const _0x11dbe2=_0x57404d;for(var _0x22ce03=_0x29b918>0x1?void 0x0:_0x29b918?_0x4270b5(_0x5bf792,_0xd40118):_0x5bf792,_0x517ad5=_0x111c01[_0x11dbe2(0x23f)]-0x1,_0x942110;_0x517ad5>=0x0;_0x517ad5--)(_0x942110=_0x111c01[_0x517ad5])&&(_0x22ce03=_0x942110(_0x22ce03)||_0x22ce03);return _0x22ce03;},_0x19d9d9=(_0x4fb17c,_0x373d60)=>(_0x4385b0,_0x1c21b7)=>_0x373d60(_0x4385b0,_0x1c21b7,_0x4fb17c);let _0x1dd558=class extends _0x509b43[_0x57404d(0x227)]{constructor(_0x6d2d4d,_0x44b534,_0x15b2bb,_0x25e033,_0x3ef29d,_0x48e1ed,_0x4b531a,_0x117346){const _0x47de46=_0x57404d;super(),_0x43ffb4(this,_0x47de46(0x222),null),(this['_commandService']=_0x6d2d4d,this['_menuManagerService']=_0x44b534,this[_0x47de46(0x1c8)]=_0x15b2bb,this['_historyManagerService']=_0x25e033,this[_0x47de46(0x1cf)]=_0x3ef29d,this['_messageService']=_0x48e1ed,this['_collaborationController']=_0x4b531a,this['_localCacheService']=_0x117346,this[_0x47de46(0x1e2)]());}[_0x57404d(0x1e2)](){const _0x5d3571=_0x57404d;[_0x351072][_0x5d3571(0x216)](_0x4792e2=>this['disposeWithMe'](_0x509b43[_0x5d3571(0x1f9)](this[_0x5d3571(0x2c4)][_0x5d3571(0x250)](_0x4792e2)))),this[_0x5d3571(0x25e)](this[_0x5d3571(0x1c8)][_0x5d3571(0x2db)](_0x5d3571(0x20d),_0x312a28)),this[_0x5d3571(0x2b1)][_0x5d3571(0x257)](_0x3762bf),this[_0x5d3571(0x25e)](this[_0x5d3571(0x2c4)]['onCommandExecuted'](_0x59cb6e=>{const _0x2ce00a=_0x5d3571;if(_0x59cb6e['id']===_0x4226fd[_0x2ce00a(0x1e3)]['id']){this[_0x2ce00a(0x298)]['show']({'content':this[_0x2ce00a(0x1cf)]['t'](_0x2ce00a(0x1ce)),'type':_0x280f43[_0x2ce00a(0x2a2)][_0x2ce00a(0x28a)],'duration':0x1388});const {unitId:_0x2af4fa}=_0x59cb6e['params'],_0x5f418b=this[_0x2ce00a(0x2c1)][_0x2ce00a(0x28d)](_0x2af4fa),_0x2f2331=_0x54ddc1['combineLatest']([_0x5f418b[_0x2ce00a(0x1d2)]['event$'],_0x5f418b[_0x2ce00a(0x274)]])[_0x2ce00a(0x1c4)](async([_0x469357,_0x8a5c4e])=>{const _0x17a06a=_0x2ce00a;var _0x5abac5;_0x469357['eventID']===_0x4226fd[_0x17a06a(0x272)][_0x17a06a(0x218)]&&(_0x8a5c4e==null?void 0x0:_0x8a5c4e[_0x17a06a(0x284)])===_0x22be86[_0x17a06a(0x24d)][_0x17a06a(0x271)]&&_0x469357[_0x17a06a(0x266)][_0x17a06a(0x2af)][_0x17a06a(0x26a)](_0x3e85de=>_0x3e85de['id']===_0x4226fd[_0x17a06a(0x1e3)]['id'])&&(this['_historyManagerService'][_0x17a06a(0x2c7)](),_0x2f2331[_0x17a06a(0x270)](),this[_0x17a06a(0x222)]&&clearTimeout(this[_0x17a06a(0x222)]),await((_0x5abac5=this[_0x17a06a(0x1dd)])==null?void 0x0:_0x5abac5['exhaustSavingTask']()),setTimeout(()=>window[_0x17a06a(0x2da)][_0x17a06a(0x247)]()));});this[_0x2ce00a(0x222)]=setTimeout(()=>{const _0x560ada=_0x2ce00a;_0x2f2331['unsubscribe'](),this[_0x560ada(0x298)][_0x560ada(0x2ac)]({'content':this[_0x560ada(0x1cf)]['t'](_0x560ada(0x2ad)),'type':_0x280f43[_0x560ada(0x2a2)][_0x560ada(0x2d0)],'duration':0xbb8});},0x1388);}}));}};_0x1dd558=_0x43819f([_0x19d9d9(0x0,_0x509b43[_0x57404d(0x203)]),_0x19d9d9(0x1,_0x3c337d[_0x57404d(0x23a)]),_0x19d9d9(0x2,_0x509b43[_0x57404d(0x1f0)](_0x3c337d[_0x57404d(0x1e9)])),_0x19d9d9(0x3,_0x509b43[_0x57404d(0x1f0)](_0x1c80c5[_0x57404d(0x1c9)])),_0x19d9d9(0x4,_0x509b43['Inject'](_0x509b43[_0x57404d(0x22f)])),_0x19d9d9(0x5,_0x3c337d['IMessageService']),_0x19d9d9(0x6,_0x509b43[_0x57404d(0x1f0)](_0x22be86[_0x57404d(0x29c)])),_0x19d9d9(0x7,_0x22be86[_0x57404d(0x22c)])],_0x1dd558);var _0x117ac7=Object[_0x57404d(0x1ba)],_0x1ca722=(_0x5543ab,_0x3d9684,_0x11da98,_0x47a5c0)=>{const _0x2c3d61=_0x57404d;for(var _0x1d3c94=_0x47a5c0>0x1?void 0x0:_0x47a5c0?_0x117ac7(_0x3d9684,_0x11da98):_0x3d9684,_0x41d0b8=_0x5543ab[_0x2c3d61(0x23f)]-0x1,_0x3a33a5;_0x41d0b8>=0x0;_0x41d0b8--)(_0x3a33a5=_0x5543ab[_0x41d0b8])&&(_0x1d3c94=_0x3a33a5(_0x1d3c94)||_0x1d3c94);return _0x1d3c94;},_0x2b0b0a=(_0x168794,_0x55af36)=>(_0x287212,_0x9ebac6)=>_0x55af36(_0x287212,_0x9ebac6,_0x168794);const _0xfb12f6='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';_0x1c80c5[_0x57404d(0x20a)]=(_0x106a9e=class extends _0x509b43[_0x57404d(0x2c8)]{constructor(_0x283252=_0x5b164a,_0x2cb4d4,_0x676c60){const _0x425974=_0x57404d;super(),this[_0x425974(0x232)]=_0x283252,this['_injector']=_0x2cb4d4,this[_0x425974(0x1bd)]=_0x676c60;const {menu:_0x103ecc,..._0x53d173}=_0x509b43[_0x425974(0x2d3)]({},_0x5b164a,this['_config']);_0x103ecc&&this[_0x425974(0x1bd)][_0x425974(0x231)](_0x425974(0x1bc),_0x103ecc,{'merge':!0x0}),this[_0x425974(0x1bd)]['setConfig'](_0x3f5597,_0x53d173),this['_config'][_0x425974(0x221)]&&this[_0x425974(0x1bd)][_0x425974(0x231)](_0x5379c1,this[_0x425974(0x232)]['univerContainerId']);}[_0x57404d(0x2b7)](){const _0x54bc77=_0x57404d;[[_0x1c80c5[_0x54bc77(0x1c9)]],[_0x1dd558]][_0x54bc77(0x216)](_0x2e1ddc=>this['_injector'][_0x54bc77(0x21d)](_0x2e1ddc));}[_0x57404d(0x2b8)](){const _0x99f562=_0x57404d;this[_0x99f562(0x251)][_0x99f562(0x2cf)](_0x1dd558);}},_0x43ffb4(_0x106a9e,_0x57404d(0x27f),_0x509b43[_0x57404d(0x281)]['UNIVER_UNKNOWN']),_0x43ffb4(_0x106a9e,_0x57404d(0x1d6),_0xfb12f6),_0x106a9e),_0x1c80c5[_0x57404d(0x20a)]=_0x1ca722([_0x2b0b0a(0x1,_0x509b43[_0x57404d(0x1f0)](_0x509b43[_0x57404d(0x294)])),_0x2b0b0a(0x2,_0x509b43[_0x57404d(0x1d5)])],_0x1c80c5['UniverEditHistoryLoaderPlugin']),_0x1c80c5[_0x57404d(0x238)]=_0x5379c1,_0x1c80c5[_0x57404d(0x214)]=_0x5b6f6a,Object[_0x57404d(0x1fe)](_0x1c80c5,Symbol[_0x57404d(0x1b8)],{'value':_0x57404d(0x2a9)});}));
20
+ function _0x41e4(_0x95ef9a,_0x385485){const _0x2f327a=_0x2f32();return _0x41e4=function(_0x41e4bb,_0x1a1f9f){_0x41e4bb=_0x41e4bb-0x15e;let _0x3a4934=_0x2f327a[_0x41e4bb];return _0x3a4934;},_0x41e4(_0x95ef9a,_0x385485);}function _0x2f32(){const _0x257e88=['@univerjs/sheets-drawing','5242638NLPgXi','UniverSheetsConditionalFormattingUi','5117hPIpDi','mask','LocaleService','editHistory.panel.title','WorkbookViewHistoryPermission','every','rxjs','status','flat','UniverDataValidation','OPERATION','values','@univerjs/design','width','string','absolute','UniverSheets','eventID','WorkbookRecoverHistoryPermission','UNIVER_SHEET','1000','_initListener','CollaborationStatus','@univerjs/sheets-drawing-ui','7JWERnt','15gJSQZC','MenuItemType','HistoryLoaderService','@univerjs/sheets-ui','_injector','1067aGLPtl','UniverDocs','UniverSheetSparklineUIPlugin','IMessageService','position','UniverProLicense','mergeMenu','defIds','6388740jgsoCA','WorksheetEditPermission','@univerjs/engine-render','getCurrentRangeDisable$','clipPath','zIndex','xlink:href','random','_historyManagerService','UniverEngineRender','getSheetId','UNIVER_CONTAINER_ID_KEY','mountHistoryContent','UniverInstanceType','style','currentColor','React','UniverNetwork','toDisposable','100%','history-icon_clip0_907_281','_initPlugins','combineLatest','useRef','IPermissionService','@univerjs/sheets-numfmt','UNIVER_HISTORY_CONTAINER_ID','toStringTag','length','subscribe','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','UniverSheetsHyperLinkPlugin','params','@univerjs/docs','univer.operation.toggle-edit-history','@univerjs/sheets-filter-ui','Univer','map','height','ICommandService','IDialogService','_configService','forwardRef','add','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','_menuManagerService','next','has','_pluginMap','permissionId','_selectionProtectionRuleModel','historyUniver$','UniverSheetsDrawingUIPlugin','IConfigService','tag','defs','_historyUniver$','UniverSheetsFormula','top','editHistory.panel.revertFailed','reload','history-icon','function','RxDisposable','invoke','react','register','show','ILocalCacheService','createElement','Error','assign','LS_CONFIG_KEY','registerCommand','replace','@univerjs/sheets-data-validation-ui','unsubscribe','UniverSheetsNumfmt','_initContainer','_localCacheService','path','UniverRenderEnginePlugin','UniverSheetsFilter','getOwnPropertyDescriptor','triggerLoadVersions','UniverProEditHistoryViewer','idSuffix','UniverRPCMainThreadPlugin','UniverSheetsNumfmtPlugin','white','_collaborationController','exhaustSavingTask','getConfig','UniverCollaborationPlugin','registerPlugin','_univerInstanceService','M0\x200H16V16H0z','substring','@univerjs/core','426704tTYyzI','historyUniver','UniverIcon','UniverDesign','editHistory.panel.listFetchError','getMenuHiddenObservable','UniverSheetsFormulaUIPlugin','get','editHistory.panel.reverting','@univerjs/sheets-hyper-link-ui','_commandService','session','@univerjs/ui','UniverProEditHistoryLoader','setTheme','UniverFormulaEnginePlugin','@univerjs/engine-formula','_dialogService','__getInjector','UniverDataValidationPlugin','UniverSheetsHyperLinkUIPlugin','set','UniverSheetsDataValidationPlugin','CommandType','ThemeService','attrs','onStarting','_themeService','WorkbookEditablePermission','UniverSheetsDrawingUi','Injector','setConfig','@univerjs/sheets-hyper-link','RangeProtectionPermissionEditPoint','UniverEngineFormula','unMountHistoryContent','type','_permissionService','_checkCanRevert','53772RHikEa','6fdWwmq','UNIVER_UNKNOWN','Loading','getSubunitRuleList','_initUniver','@univerjs-pro/collaboration-client','getUnit','disposeWithMe','@univerjs-pro/sheets-pivot','HistoryModeStatus','@univerjs/sheets-formula-ui','_init','appendChild','entries','CollaborationController','UniverSheetsFilterPlugin','MessageType','url(#history-icon_clip0_907_281)','UniverSheetsConditionalFormattingPlugin','colorChannel1','RibbonStartGroup','UniverNetworkPlugin','_disposableCollection','UniverSheetsHyperLinkUi','IUniverInstanceService','UniverSheetsUIPlugin','trim','currentTheme$','dispose','defineProperty','Exited','1em','children','@univerjs/rpc','Module','UniverSheetsDataValidationUIPlugin','from','_messageService','UniverEditHistoryLoaderPlugin','block','value','UniverLicensePlugin','forEach','@univerjs/sheets','edit-history-loader.config','getElementById','0\x200\x2016\x2016','merge','getLocales','ComponentManager','8VqmUdO','univerContainerId','HistoryIcon','univerjs-icon\x20univerjs-icon-','uComp','getSheets','UniverUi','history-container','Plugin','http://www.w3.org/2000/svg','SYNCED','BUTTON','Entered','display','Inject','RevertRevisionMutation','_revertErrorTimer','includes','getAllPlugins','onCommandExecuted','UniverDrawingPlugin','UniverProCollaborationClient','DisposableCollection','none','pluginName','_localeService','@univerjs/network','UniverSheetsConditionalFormatting','fill','use','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverSheetsDrawingPlugin','UniverSheetsDataValidationUi','event$','UniverSheetsHyperLink','978556JJQGaz','3915320vPVJQC','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','\x20has\x20been\x20registered.','getCollabEntity','UniverRpc','close','UniverSheetsDataValidation','UniverSheetsFilterUIPlugin','AuthzIoHttpService','CollaborationEvent','getCurrentLocale','UniverProSheetsSparkline','@univerjs/sheets-conditional-formatting-ui','./worker.js','@univerjs-pro/sheets-sparkline','asObservable','HistoryManagerService','data','_config','@univerjs/drawing-ui','amd','UniverDrawingUIPlugin','@univerjs/sheets-conditional-formatting'];_0x2f32=function(){return _0x257e88;};return _0x2f32();}(function(_0x2bb197,_0x1bfb92){const _0x593ec0=_0x41e4,_0x4c34c0=_0x2bb197();while(!![]){try{const _0x1c21e4=-parseInt(_0x593ec0(0x1b5))/0x1+-parseInt(_0x593ec0(0x23e))/0x2*(-parseInt(_0x593ec0(0x266))/0x3)+parseInt(_0x593ec0(0x19a))/0x4*(-parseInt(_0x593ec0(0x1ce))/0x5)+-parseInt(_0x593ec0(0x1b3))/0x6*(-parseInt(_0x593ec0(0x1cd))/0x7)+-parseInt(_0x593ec0(0x177))/0x8*(-parseInt(_0x593ec0(0x1db))/0x9)+-parseInt(_0x593ec0(0x19b))/0xa+parseInt(_0x593ec0(0x1d3))/0xb*(-parseInt(_0x593ec0(0x265))/0xc);if(_0x1c21e4===_0x1bfb92)break;else _0x4c34c0['push'](_0x4c34c0['shift']());}catch(_0x45c185){_0x4c34c0['push'](_0x4c34c0['shift']());}}}(_0x2f32,0x6caba),function(_0x31daa2,_0x44735a){const _0x2419f9=_0x41e4;typeof exports=='object'&&typeof module<'u'?_0x44735a(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x2419f9(0x219)&&define[_0x2419f9(0x1af)]?define(['exports',_0x2419f9(0x23d),'@univerjs-pro/collaboration',_0x2419f9(0x26b),_0x2419f9(0x1c1),_0x2419f9(0x21c),_0x2419f9(0x24a),_0x2419f9(0x1bb),_0x2419f9(0x170),'@univerjs-pro/edit-history-viewer','@univerjs-pro/license',_0x2419f9(0x26e),_0x2419f9(0x1a9),'@univerjs-pro/sheets-sparkline-ui','@univerjs/data-validation',_0x2419f9(0x1fc),'@univerjs/docs-ui','@univerjs/drawing',_0x2419f9(0x1ae),_0x2419f9(0x24e),_0x2419f9(0x1dd),_0x2419f9(0x191),_0x2419f9(0x166),_0x2419f9(0x1b1),_0x2419f9(0x1a7),'@univerjs/sheets-data-validation',_0x2419f9(0x226),_0x2419f9(0x1b2),_0x2419f9(0x1cc),'@univerjs/sheets-filter',_0x2419f9(0x1fe),'@univerjs/sheets-formula',_0x2419f9(0x270),_0x2419f9(0x25e),_0x2419f9(0x247),_0x2419f9(0x1f4),_0x2419f9(0x1d1)],_0x44735a):(_0x31daa2=typeof globalThis<'u'?globalThis:_0x31daa2||self,_0x44735a(_0x31daa2[_0x2419f9(0x24b)]={},_0x31daa2['UniverCore'],_0x31daa2['UniverProCollaboration'],_0x31daa2[_0x2419f9(0x18c)],_0x31daa2[_0x2419f9(0x241)],_0x31daa2[_0x2419f9(0x1eb)],_0x31daa2[_0x2419f9(0x17d)],_0x31daa2[_0x2419f9(0x1bb)],_0x31daa2[_0x2419f9(0x1c5)],_0x31daa2[_0x2419f9(0x230)],_0x31daa2[_0x2419f9(0x1d8)],_0x31daa2['UniverProSheetsPivot'],_0x31daa2[_0x2419f9(0x1a6)],_0x31daa2['UniverProSheetsSparklineUi'],_0x31daa2[_0x2419f9(0x1be)],_0x31daa2[_0x2419f9(0x1d4)],_0x31daa2['UniverDocsUi'],_0x31daa2['UniverDrawing'],_0x31daa2['UniverDrawingUi'],_0x31daa2[_0x2419f9(0x260)],_0x31daa2[_0x2419f9(0x1e4)],_0x31daa2[_0x2419f9(0x1ec)],_0x31daa2[_0x2419f9(0x19f)],_0x31daa2[_0x2419f9(0x192)],_0x31daa2[_0x2419f9(0x1b4)],_0x31daa2[_0x2419f9(0x1a1)],_0x31daa2[_0x2419f9(0x197)],_0x31daa2['UniverSheetsDrawing'],_0x31daa2[_0x2419f9(0x25b)],_0x31daa2[_0x2419f9(0x22d)],_0x31daa2['UniverSheetsFilterUi'],_0x31daa2[_0x2419f9(0x214)],_0x31daa2['UniverSheetsFormulaUi'],_0x31daa2[_0x2419f9(0x199)],_0x31daa2[_0x2419f9(0x27d)],_0x31daa2[_0x2419f9(0x228)],_0x31daa2['UniverSheetsUi']));}(this,function(_0x1278ea,_0x339e3f,_0xf8ce4f,_0x454ce2,_0x476c4b,_0x36e089,_0x51ef13,_0x52b758,_0x26f8ec,_0x5132cd,_0x547ba6,_0x2c0534,_0x3fe4ae,_0x489412,_0x4b21f9,_0x542d8b,_0x4b659b,_0xc144d8,_0x5344d2,_0x4bdac8,_0x31f033,_0x1ed6d5,_0x307b38,_0x19420c,_0x1e7f41,_0x5a3af6,_0x44c346,_0x447d40,_0x5c083a,_0x324e13,_0xd5eb1,_0x5bf049,_0x14659c,_0x7824a2,_0x83e7f6,_0x44f0b8,_0xcb266c){'use strict';const _0x3adaff=_0x41e4;var _0x3b289b=Object[_0x3adaff(0x162)],_0x5cd0e5=(_0x3a445f,_0x16f895,_0x3ef71b)=>_0x16f895 in _0x3a445f?_0x3b289b(_0x3a445f,_0x16f895,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ef71b}):_0x3a445f[_0x16f895]=_0x3ef71b,_0x1bc6a7=(_0x539660,_0x3e54a4,_0x2352c0)=>_0x5cd0e5(_0x539660,typeof _0x3e54a4!='symbol'?_0x3e54a4+'':_0x3e54a4,_0x2352c0),_0x3f0a29;const _0x225b63=_0x3adaff(0x171),_0x4daa1a={};function _0x2074d9({ref:_0x42a73d,..._0x1399f7}){const _0x5704c7=_0x3adaff,{icon:_0x2e73aa,id:_0x4b0853,className:_0x27f55d,extend:_0xa00a6d,..._0x32eacf}=_0x1399f7,_0x5eac80=(_0x5704c7(0x17a)+_0x4b0853+'\x20'+(_0x27f55d||''))[_0x5704c7(0x15f)](),_0x329b7d=_0x36e089[_0x5704c7(0x1f2)]('_'+_0x1c53ed());return _0x3a988f(_0x2e73aa,''+_0x4b0853,{'defIds':_0x2e73aa[_0x5704c7(0x1da)],'idSuffix':_0x329b7d['current']},{'ref':_0x42a73d,'className':_0x5eac80,..._0x32eacf},_0xa00a6d);}function _0x3a988f(_0x13311d,_0x408a6c,_0x1a6d5e,_0x5ccd24,_0x15d253){const _0x45cee4=_0x3adaff;return _0x36e089[_0x45cee4(0x220)](_0x13311d[_0x45cee4(0x211)],{'key':_0x408a6c,..._0x39358c(_0x13311d,_0x1a6d5e,_0x15d253),..._0x5ccd24},(_0x1fe76f(_0x13311d,_0x1a6d5e)[_0x45cee4(0x165)]||[])[_0x45cee4(0x200)]((_0x338b90,_0x499afa)=>_0x3a988f(_0x338b90,_0x408a6c+'-'+_0x13311d['tag']+'-'+_0x499afa,_0x1a6d5e,void 0x0,_0x15d253)));}function _0x39358c(_0x153cf2,_0xd74124,_0x40931c){const _0x1a57bc=_0x3adaff,_0x22a3bd={..._0x153cf2[_0x1a57bc(0x257)]};_0x40931c!=null&&_0x40931c['colorChannel1']&&_0x22a3bd['fill']===_0x1a57bc(0x279)&&(_0x22a3bd[_0x1a57bc(0x193)]=_0x40931c[_0x1a57bc(0x279)]),_0x153cf2[_0x1a57bc(0x211)]===_0x1a57bc(0x1b6)&&_0x22a3bd['id']&&(_0x22a3bd['id']=_0x22a3bd['id']+_0xd74124['idSuffix']),Object['entries'](_0x22a3bd)[_0x1a57bc(0x16f)](([_0x32014f,_0x43be62])=>{const _0x1c0a89=_0x1a57bc;_0x32014f===_0x1c0a89(0x1b6)&&typeof _0x43be62==_0x1c0a89(0x1c3)&&(_0x22a3bd[_0x32014f]=_0x43be62[_0x1c0a89(0x225)](/url\(#(.*)\)/,'url(#$1'+_0xd74124[_0x1c0a89(0x231)]+')'));});const {defIds:_0x358670}=_0xd74124;return!_0x358670||_0x358670[_0x1a57bc(0x1f7)]===0x0||(_0x153cf2[_0x1a57bc(0x211)]===_0x1a57bc(0x194)&&_0x22a3bd[_0x1a57bc(0x1e1)]&&(_0x22a3bd[_0x1a57bc(0x1e1)]=_0x22a3bd[_0x1a57bc(0x1e1)]+_0xd74124[_0x1a57bc(0x231)]),Object[_0x1a57bc(0x273)](_0x22a3bd)[_0x1a57bc(0x16f)](([_0x335ba8,_0x548f08])=>{const _0xd5619f=_0x1a57bc;typeof _0x548f08==_0xd5619f(0x1c3)&&(_0x22a3bd[_0x335ba8]=_0x548f08['replace'](/url\(#(.*)\)/,'url(#$1'+_0xd74124[_0xd5619f(0x231)]+')'));})),_0x22a3bd;}function _0x1fe76f(_0x5aa4fb,_0x444982){const _0x182ae6=_0x3adaff;var _0xc0926d;const {defIds:_0x4a2243}=_0x444982;return!_0x4a2243||_0x4a2243['length']===0x0?_0x5aa4fb:_0x5aa4fb['tag']===_0x182ae6(0x212)&&((_0xc0926d=_0x5aa4fb[_0x182ae6(0x165)])!=null&&_0xc0926d['length'])?{..._0x5aa4fb,'children':_0x5aa4fb[_0x182ae6(0x165)]['map'](_0x490e70=>typeof _0x490e70['attrs']['id']==_0x182ae6(0x1c3)&&_0x4a2243&&_0x4a2243[_0x182ae6(0x188)](_0x490e70[_0x182ae6(0x257)]['id'])?{..._0x490e70,'attrs':{..._0x490e70[_0x182ae6(0x257)],'id':_0x490e70[_0x182ae6(0x257)]['id']+_0x444982[_0x182ae6(0x231)]}}:_0x490e70)}:_0x5aa4fb;}function _0x1c53ed(){const _0x19eabb=_0x3adaff;return Math[_0x19eabb(0x1e2)]()['toString'](0x24)[_0x19eabb(0x23c)](0x2,0x8);}_0x2074d9['displayName']=_0x3adaff(0x240);const _0x277e5b={'tag':'svg','attrs':{'xmlns':_0x3adaff(0x180),'fill':'none','viewBox':_0x3adaff(0x173),'width':_0x3adaff(0x164),'height':_0x3adaff(0x164)},'children':[{'tag':'g','attrs':{'fill':_0x3adaff(0x1ea),'clipPath':_0x3adaff(0x277)},'children':[{'tag':_0x3adaff(0x22b),'attrs':{'d':_0x3adaff(0x207)}},{'tag':'path','attrs':{'d':_0x3adaff(0x1f9)}}]},{'tag':_0x3adaff(0x212),'attrs':{},'children':[{'tag':_0x3adaff(0x1df),'attrs':{'id':_0x3adaff(0x1ef)},'children':[{'tag':_0x3adaff(0x22b),'attrs':{'fill':_0x3adaff(0x234),'d':_0x3adaff(0x23b)}}]}]}],'defIds':['history-icon_clip0_907_281']},_0x4f8497=_0x36e089[_0x3adaff(0x205)](function(_0xd3c642,_0x4adaed){const _0x49cc87=_0x3adaff;return _0x36e089['createElement'](_0x2074d9,Object[_0x49cc87(0x222)]({},_0xd3c642,{'id':_0x49cc87(0x218),'ref':_0x4adaed,'icon':_0x277e5b}));});_0x4f8497['displayName']=_0x3adaff(0x179);var _0x4e71b2=Object[_0x3adaff(0x22e)],_0x32299b=(_0x5db7f4,_0x462e8d,_0x292060,_0x18c411)=>{const _0x2226b5=_0x3adaff;for(var _0x153e5f=_0x18c411>0x1?void 0x0:_0x18c411?_0x4e71b2(_0x462e8d,_0x292060):_0x462e8d,_0x28bf96=_0x5db7f4[_0x2226b5(0x1f7)]-0x1,_0x223b37;_0x28bf96>=0x0;_0x28bf96--)(_0x223b37=_0x5db7f4[_0x28bf96])&&(_0x153e5f=_0x223b37(_0x153e5f)||_0x153e5f);return _0x153e5f;},_0x89249=(_0x45e8ec,_0x495d0f)=>(_0x51f01e,_0x514743)=>_0x495d0f(_0x51f01e,_0x514743,_0x45e8ec);const _0x385ee5='univer-container',_0x597b80='UNIVER_CONTAINER_ID',_0x42aa57='univer-history-container';_0x1278ea[_0x3adaff(0x1d0)]=class extends _0x339e3f['Disposable']{constructor(_0x11663f,_0x188f04,_0x312d83,_0x178e6a,_0xf3423,_0x4781aa,_0x105bf6,_0x2f9f11,_0x10dbd1,_0x3a8dd1){const _0x35526a=_0x3adaff;super(),_0x1bc6a7(this,_0x35526a(0x213),new _0x52b758['BehaviorSubject'](null)),_0x1bc6a7(this,_0x35526a(0x20e),this[_0x35526a(0x213)][_0x35526a(0x1aa)]()),_0x1bc6a7(this,_0x35526a(0x27c),new _0x339e3f[(_0x35526a(0x18d))]()),_0x1bc6a7(this,'_pluginMap',new Map()),(this[_0x35526a(0x190)]=_0x11663f,this['_univerInstanceService']=_0x188f04,this[_0x35526a(0x204)]=_0x312d83,this[_0x35526a(0x248)]=_0x178e6a,this[_0x35526a(0x16a)]=_0xf3423,this[_0x35526a(0x263)]=_0x4781aa,this[_0x35526a(0x20d)]=_0x105bf6,this['_dialogService']=_0x2f9f11,this['_sidebarService']=_0x10dbd1,this['_themeService']=_0x3a8dd1,this['_init']());}get[_0x3adaff(0x23f)](){const _0x4519e3=_0x3adaff;return this[_0x4519e3(0x213)][_0x4519e3(0x16d)];}['_init'](){const _0x2648ab=_0x3adaff;this[_0x2648ab(0x229)](),this[_0x2648ab(0x1f0)]();}[_0x3adaff(0x229)](){const _0x49f8b9=_0x3adaff;var _0x387693;const _0x4f5111=(_0x387693=this[_0x49f8b9(0x204)]['getConfig'](_0x597b80))!=null?_0x387693:_0x385ee5,_0x5d82ce=document[_0x49f8b9(0x172)](_0x4f5111);if(!_0x5d82ce)return;const _0x5cf393=document[_0x49f8b9(0x220)]('div');_0x5cf393['id']=_0x42aa57,_0x5cf393['dataset'][_0x49f8b9(0x17b)]=_0x49f8b9(0x17e),_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x1d7)]=_0x49f8b9(0x1c4),_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x215)]='0',_0x5cf393[_0x49f8b9(0x1e9)]['left']='0',_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x1c2)]=_0x49f8b9(0x1ee),_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x201)]=_0x49f8b9(0x1ee),_0x5cf393[_0x49f8b9(0x1e9)][_0x49f8b9(0x1e0)]=_0x49f8b9(0x1c9),_0x5cf393[_0x49f8b9(0x1e9)]['display']='none',_0x5d82ce[_0x49f8b9(0x272)](_0x5cf393);}[_0x3adaff(0x1f0)](){const _0x255d1b=_0x3adaff;var _0x108b55;[[_0x31f033[_0x255d1b(0x22c)]],[_0x51ef13['UniverUIPlugin'],{'container':_0x42aa57,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x51ef13[_0x255d1b(0x203)],null]]}],[_0x1ed6d5[_0x255d1b(0x27b)]],[_0xc144d8[_0x255d1b(0x18b)],{'override':[[_0xc144d8['IImageIoService'],null]]}],[_0x542d8b['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x4b659b['UniverDocsUIPlugin']],[_0x44f0b8[_0x255d1b(0x233)]],[_0x26f8ec['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0xcb266c[_0x255d1b(0x15e)]],[_0x5bf049['UniverSheetsFormulaPlugin']],[_0x14659c[_0x255d1b(0x244)]],[_0xf8ce4f[_0x255d1b(0x238)]],[_0x324e13[_0x255d1b(0x275)]],[_0xd5eb1[_0x255d1b(0x1a2)]],[_0x19420c[_0x255d1b(0x278)]],[_0x1e7f41['UniverSheetsConditionalFormattingUIPlugin']],[_0x7824a2[_0x255d1b(0x1fa)]],[_0x83e7f6[_0x255d1b(0x252)]],[_0x4b21f9[_0x255d1b(0x251)]],[_0x5a3af6[_0x255d1b(0x254)]],[_0x44c346[_0x255d1b(0x168)]],[_0x4bdac8[_0x255d1b(0x24d)],{'notExecuteFormula':!0x0}],[_0x307b38[_0x255d1b(0x232)],{'workerURL':_0x255d1b(0x1a8)}],[_0x5344d2[_0x255d1b(0x1b0)]],[_0x447d40[_0x255d1b(0x196)]],[_0x5c083a[_0x255d1b(0x20f)]],[_0x3fe4ae['UniverSheetSparklinePlugin']],[_0x489412[_0x255d1b(0x1d5)]],[_0x2c0534['UniverSheetsPivotTablePlugin'],{'notExecuteFormula':!0x0}],[_0x5132cd['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x108b55=this['_configService'][_0x255d1b(0x237)](_0x225b63))==null?void 0x0:_0x108b55['historyListServerUrl']}]][_0x255d1b(0x16f)](([_0x347012,_0x1a1121])=>this[_0x255d1b(0x239)](_0x347012,_0x1a1121));}[_0x3adaff(0x161)](){const _0x4fa172=_0x3adaff;super[_0x4fa172(0x161)](),this['unMountHistoryContent'](),this[_0x4fa172(0x20b)]['clear']();}[_0x3adaff(0x239)](_0x4bc22d,_0x536a1a,_0x47dfd3){const _0x5e87d9=_0x3adaff;if(this[_0x5e87d9(0x20b)][_0x5e87d9(0x20a)](_0x4bc22d['pluginName'])&&!_0x47dfd3)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x4bc22d[_0x5e87d9(0x18f)]+_0x5e87d9(0x19d));this[_0x5e87d9(0x20b)][_0x5e87d9(0x253)](_0x4bc22d[_0x5e87d9(0x18f)],[_0x4bc22d,_0x536a1a]);}[_0x3adaff(0x189)](){const _0x4135e1=_0x3adaff;return Array[_0x4135e1(0x169)](this['_pluginMap'][_0x4135e1(0x1c0)]());}[_0x3adaff(0x1e7)](_0x20859a){const _0x3b6a03=_0x3adaff,_0x2152cb=document[_0x3b6a03(0x172)](_0x42aa57);_0x2152cb&&(_0x2152cb[_0x3b6a03(0x1e9)]['display']=_0x3b6a03(0x16c),this[_0x3b6a03(0x26a)](_0x20859a,_0x42aa57));}[_0x3adaff(0x261)](){const _0x25a251=_0x3adaff;var _0x935b6e;this[_0x25a251(0x27c)][_0x25a251(0x161)](),(_0x935b6e=this[_0x25a251(0x23f)])==null||_0x935b6e['dispose'](),this[_0x25a251(0x213)][_0x25a251(0x209)](null);const _0x14c147=document['getElementById'](_0x42aa57);_0x14c147&&(_0x14c147[_0x25a251(0x1e9)][_0x25a251(0x184)]=_0x25a251(0x18e));}['_initUniver'](_0xf03db3,_0xef6d4b){const _0x2253c2=_0x3adaff;if(this['historyUniver'])return;const _0x39711c=new _0x339e3f[(_0x2253c2(0x1ff))]({'locales':{[this[_0x2253c2(0x190)][_0x2253c2(0x1a5)]()]:this[_0x2253c2(0x190)][_0x2253c2(0x175)]()},'override':[[_0x339e3f['IAuthzIoService'],{'useClass':_0x454ce2[_0x2253c2(0x1a3)]}]]}),_0x3aae11=_0x39711c[_0x2253c2(0x250)]();this[_0x2253c2(0x26d)](this[_0x2253c2(0x259)]['darkMode$'][_0x2253c2(0x1f8)](_0x2d8c0a=>{const _0xaa9379=_0x2253c2;_0x3aae11[_0xaa9379(0x245)](_0x339e3f[_0xaa9379(0x256)])['setDarkMode'](_0x2d8c0a);})),this['disposeWithMe'](this[_0x2253c2(0x259)][_0x2253c2(0x160)][_0x2253c2(0x1f8)](_0x301a3d=>{const _0x1f801c=_0x2253c2;_0x3aae11['get'](_0x339e3f[_0x1f801c(0x256)])[_0x1f801c(0x24c)](_0x301a3d);})),_0x3aae11[_0x2253c2(0x245)](_0x339e3f[_0x2253c2(0x1b7)])['setLocale'](this['_localeService'][_0x2253c2(0x1a5)]()),_0x3aae11[_0x2253c2(0x245)](_0x339e3f['IConfigService'])['setConfig'](_0x454ce2[_0x2253c2(0x195)],this[_0x2253c2(0x204)][_0x2253c2(0x237)](_0x454ce2[_0x2253c2(0x195)]));const _0x34b3ae=this[_0x2253c2(0x204)]['getConfig'](_0x547ba6[_0x2253c2(0x223)]);_0x34b3ae&&_0x39711c[_0x2253c2(0x239)](_0x547ba6[_0x2253c2(0x16e)],{'license':_0x34b3ae['ls']}),this['_pluginMap'][_0x2253c2(0x16f)](([_0x48c73a,_0x1a3676])=>{_0x39711c['registerPlugin'](_0x48c73a,_0x1a3676);}),_0x3aae11[_0x2253c2(0x21b)](_0x51fd8d=>{const _0x42fa84=_0x2253c2;this[_0x42fa84(0x1ca)](_0x51fd8d,_0xf03db3);}),this[_0x2253c2(0x213)][_0x2253c2(0x209)](_0x39711c);const _0x3eeb08=_0x3aae11[_0x2253c2(0x245)](_0x5132cd['HistoryManagerService']),_0x115867=this[_0x2253c2(0x264)](_0xf03db3);_0x3eeb08[_0x2253c2(0x22f)](_0xf03db3,_0xef6d4b,_0x115867);}['_initListener'](_0x1de5f0,_0x4c0b89){const _0x466607=_0x3adaff,_0x2e8efd=_0x1de5f0['get'](_0x5132cd[_0x466607(0x1ab)]);this[_0x466607(0x27c)][_0x466607(0x206)](_0x2e8efd['status$'][_0x466607(0x1f8)](_0x591e47=>{const _0x54568b=_0x466607;switch(_0x591e47){case _0x5132cd['HistoryModeStatus'][_0x54568b(0x183)]:this[_0x54568b(0x24f)]['closeAll'](),this['_sidebarService'][_0x54568b(0x1a0)]();break;case _0x5132cd[_0x54568b(0x26f)][_0x54568b(0x163)]:this[_0x54568b(0x261)]();break;case _0x5132cd['HistoryModeStatus'][_0x54568b(0x221)]:this[_0x54568b(0x261)](),this[_0x54568b(0x16a)][_0x54568b(0x21e)]({'content':this['_localeService']['t'](_0x54568b(0x242)),'type':_0x476c4b['MessageType'][_0x54568b(0x221)],'duration':0xbb8});break;}})),this[_0x466607(0x27c)][_0x466607(0x206)](_0x2e8efd['revertRevision$'][_0x466607(0x1f8)](async _0x464235=>{const _0x40d459=_0x466607;_0x464235&&this[_0x40d459(0x248)]['executeCommand'](_0xf8ce4f[_0x40d459(0x186)]['id'],{'unitId':_0x4c0b89,'revision':_0x464235});}));}[_0x3adaff(0x264)](_0x194c8f){const _0x40c32e=_0x3adaff,_0x5b8a57=this[_0x40c32e(0x23a)][_0x40c32e(0x26c)](_0x194c8f)[_0x40c32e(0x17c)]()['map'](_0x3a5a34=>_0x3a5a34[_0x40c32e(0x1e5)]()),_0x58ac6e=new _0x26f8ec['WorkbookEditablePermission'](_0x194c8f)['id'],_0x3f1379=_0x5b8a57[_0x40c32e(0x200)](_0x1ab856=>new _0x26f8ec[(_0x40c32e(0x1dc))](_0x194c8f,_0x1ab856)['id']),_0x386c8c=_0x5b8a57['map'](_0x1c9321=>this[_0x40c32e(0x20d)][_0x40c32e(0x269)](_0x194c8f,_0x1c9321)[_0x40c32e(0x200)](_0x3cf3c0=>new _0x26f8ec[(_0x40c32e(0x25f))](_0x194c8f,_0x1c9321,_0x3cf3c0[_0x40c32e(0x20c)])['id']))[_0x40c32e(0x1bd)](),_0x35828b=new _0x26f8ec[(_0x40c32e(0x1c7))](_0x194c8f)['id'];return this[_0x40c32e(0x263)]['composePermission']([_0x58ac6e,..._0x3f1379,..._0x386c8c,_0x35828b])[_0x40c32e(0x1ba)](_0x54844c=>!!_0x54844c[_0x40c32e(0x16d)]);}},_0x1278ea[_0x3adaff(0x1d0)]=_0x32299b([_0x89249(0x0,_0x339e3f[_0x3adaff(0x185)](_0x339e3f['LocaleService'])),_0x89249(0x1,_0x339e3f['IUniverInstanceService']),_0x89249(0x2,_0x339e3f[_0x3adaff(0x210)]),_0x89249(0x3,_0x339e3f[_0x3adaff(0x202)]),_0x89249(0x4,_0x51ef13[_0x3adaff(0x1d6)]),_0x89249(0x5,_0x339e3f[_0x3adaff(0x1f3)]),_0x89249(0x6,_0x339e3f['Inject'](_0x26f8ec['RangeProtectionRuleModel'])),_0x89249(0x7,_0x339e3f['Inject'](_0x51ef13[_0x3adaff(0x203)])),_0x89249(0x8,_0x339e3f['Inject'](_0x51ef13['ISidebarService'])),_0x89249(0x9,_0x339e3f[_0x3adaff(0x185)](_0x339e3f['ThemeService']))],_0x1278ea[_0x3adaff(0x1d0)]);const _0x3ddd6d={'id':_0x3adaff(0x1fd),'type':_0x339e3f[_0x3adaff(0x255)][_0x3adaff(0x1bf)],'handler':_0x172860=>{const _0x2c00ae=_0x3adaff,_0x189abf=_0x172860[_0x2c00ae(0x245)](_0x1278ea[_0x2c00ae(0x1d0)]),_0x329ce7=_0x172860[_0x2c00ae(0x245)](_0x339e3f[_0x2c00ae(0x27e)]),{unitId:_0x56f878}=_0x26f8ec['getSheetCommandTarget'](_0x329ce7)||{};return _0x56f878?(_0x189abf[_0x2c00ae(0x1e7)](_0x56f878),!0x0):!0x1;}};function _0x4ddd9b(_0x3837ec){const _0x1a393f=_0x3adaff;return{'id':_0x3ddd6d['id'],'type':_0x51ef13[_0x1a393f(0x1cf)][_0x1a393f(0x182)],'icon':_0x1a393f(0x179),'tooltip':_0x1a393f(0x1b8),'hidden$':_0x51ef13[_0x1a393f(0x243)](_0x3837ec,_0x339e3f[_0x1a393f(0x1e8)][_0x1a393f(0x1c8)]),'disabled$':_0xcb266c[_0x1a393f(0x1de)](_0x3837ec,{'workbookTypes':[_0x26f8ec[_0x1a393f(0x25a)],_0x26f8ec[_0x1a393f(0x1b9)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x567382={[_0x51ef13[_0x3adaff(0x27a)]['OTHERS']]:{[_0x3ddd6d['id']]:{'order':0.2,'menuItemFactory':_0x4ddd9b}}};var _0x2e5c25=Object[_0x3adaff(0x22e)],_0x2a2dee=(_0x5efdd5,_0x59bdc4,_0x3e7f03,_0x4a8867)=>{const _0x259923=_0x3adaff;for(var _0x1d7481=_0x4a8867>0x1?void 0x0:_0x4a8867?_0x2e5c25(_0x59bdc4,_0x3e7f03):_0x59bdc4,_0x359013=_0x5efdd5[_0x259923(0x1f7)]-0x1,_0x407594;_0x359013>=0x0;_0x359013--)(_0x407594=_0x5efdd5[_0x359013])&&(_0x1d7481=_0x407594(_0x1d7481)||_0x1d7481);return _0x1d7481;},_0x2f89bb=(_0x49f6e5,_0x44f541)=>(_0x30849c,_0xe95579)=>_0x44f541(_0x30849c,_0xe95579,_0x49f6e5);let _0x314eb1=class extends _0x339e3f[_0x3adaff(0x21a)]{constructor(_0x5b1796,_0x9d675f,_0x3f61bb,_0x14ccb3,_0x327da1,_0x347b3a,_0x2539e1,_0x1b2a68){const _0x3eaf09=_0x3adaff;super(),_0x1bc6a7(this,'_revertErrorTimer',null),(this[_0x3eaf09(0x248)]=_0x5b1796,this[_0x3eaf09(0x208)]=_0x9d675f,this['_componentManager']=_0x3f61bb,this[_0x3eaf09(0x1e3)]=_0x14ccb3,this[_0x3eaf09(0x190)]=_0x327da1,this[_0x3eaf09(0x16a)]=_0x347b3a,this[_0x3eaf09(0x235)]=_0x2539e1,this[_0x3eaf09(0x22a)]=_0x1b2a68,this['_init']());}[_0x3adaff(0x271)](){const _0x55b5cc=_0x3adaff;[_0x3ddd6d]['forEach'](_0x216a8b=>this[_0x55b5cc(0x26d)](_0x339e3f[_0x55b5cc(0x1ed)](this[_0x55b5cc(0x248)][_0x55b5cc(0x224)](_0x216a8b)))),this[_0x55b5cc(0x26d)](this['_componentManager'][_0x55b5cc(0x21d)](_0x55b5cc(0x179),_0x4f8497)),this[_0x55b5cc(0x208)][_0x55b5cc(0x1d9)](_0x567382),this[_0x55b5cc(0x26d)](this[_0x55b5cc(0x248)][_0x55b5cc(0x18a)](_0x4d6724=>{const _0x3020c2=_0x55b5cc;if(_0x4d6724['id']===_0xf8ce4f[_0x3020c2(0x186)]['id']){this['_messageService'][_0x3020c2(0x21e)]({'content':this['_localeService']['t'](_0x3020c2(0x246)),'type':_0x476c4b['MessageType'][_0x3020c2(0x268)],'duration':0x1388});const {unitId:_0x494cb1}=_0x4d6724[_0x3020c2(0x1fb)],_0x753ae4=this[_0x3020c2(0x235)][_0x3020c2(0x19e)](_0x494cb1),_0x3eba8a=_0x52b758[_0x3020c2(0x1f1)]([_0x753ae4[_0x3020c2(0x249)][_0x3020c2(0x198)],_0x753ae4['state$']])[_0x3020c2(0x1f8)](async([_0x556056,_0xd8b73])=>{const _0x7dfaa6=_0x3020c2;var _0x1e3094;_0x556056[_0x7dfaa6(0x1c6)]===_0xf8ce4f[_0x7dfaa6(0x1a4)]['CHANGESET_ACK']&&(_0xd8b73==null?void 0x0:_0xd8b73[_0x7dfaa6(0x1bc)])===_0x454ce2[_0x7dfaa6(0x1cb)][_0x7dfaa6(0x181)]&&_0x556056[_0x7dfaa6(0x1ac)]['mutations']['some'](_0x38f9cf=>_0x38f9cf['id']===_0xf8ce4f['RevertRevisionMutation']['id'])&&(this[_0x7dfaa6(0x1e3)][_0x7dfaa6(0x261)](),_0x3eba8a[_0x7dfaa6(0x227)](),this[_0x7dfaa6(0x187)]&&clearTimeout(this[_0x7dfaa6(0x187)]),await((_0x1e3094=this[_0x7dfaa6(0x22a)])==null?void 0x0:_0x1e3094[_0x7dfaa6(0x236)]()),setTimeout(()=>window['location'][_0x7dfaa6(0x217)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x4a3fab=_0x3020c2;_0x3eba8a[_0x4a3fab(0x227)](),this[_0x4a3fab(0x16a)][_0x4a3fab(0x21e)]({'content':this[_0x4a3fab(0x190)]['t'](_0x4a3fab(0x216)),'type':_0x476c4b[_0x4a3fab(0x276)][_0x4a3fab(0x221)],'duration':0xbb8});},0x1388);}}));}};_0x314eb1=_0x2a2dee([_0x2f89bb(0x0,_0x339e3f['ICommandService']),_0x2f89bb(0x1,_0x51ef13['IMenuManagerService']),_0x2f89bb(0x2,_0x339e3f[_0x3adaff(0x185)](_0x51ef13[_0x3adaff(0x176)])),_0x2f89bb(0x3,_0x339e3f[_0x3adaff(0x185)](_0x1278ea['HistoryLoaderService'])),_0x2f89bb(0x4,_0x339e3f[_0x3adaff(0x185)](_0x339e3f['LocaleService'])),_0x2f89bb(0x5,_0x51ef13[_0x3adaff(0x1d6)]),_0x2f89bb(0x6,_0x339e3f['Inject'](_0x454ce2[_0x3adaff(0x274)])),_0x2f89bb(0x7,_0x454ce2[_0x3adaff(0x21f)])],_0x314eb1);var _0x56603f=Object['getOwnPropertyDescriptor'],_0x591ce8=(_0x598b86,_0x57c667,_0x3c060b,_0x3ea658)=>{const _0x7e316a=_0x3adaff;for(var _0xb27f06=_0x3ea658>0x1?void 0x0:_0x3ea658?_0x56603f(_0x57c667,_0x3c060b):_0x57c667,_0x220fa7=_0x598b86[_0x7e316a(0x1f7)]-0x1,_0x5c9f98;_0x220fa7>=0x0;_0x220fa7--)(_0x5c9f98=_0x598b86[_0x220fa7])&&(_0xb27f06=_0x5c9f98(_0xb27f06)||_0xb27f06);return _0xb27f06;},_0x1b37ed=(_0x280b1e,_0x1852a3)=>(_0x3ea069,_0x5a7721)=>_0x1852a3(_0x3ea069,_0x5a7721,_0x280b1e);const _0x3de01b=_0x3adaff(0x19c);_0x1278ea[_0x3adaff(0x16b)]=(_0x3f0a29=class extends _0x339e3f[_0x3adaff(0x17f)]{constructor(_0x214e03=_0x4daa1a,_0x3a1f90,_0x55b04b){const _0x8d5b9=_0x3adaff;super(),this[_0x8d5b9(0x1ad)]=_0x214e03,this[_0x8d5b9(0x1d2)]=_0x3a1f90,this[_0x8d5b9(0x204)]=_0x55b04b;const {menu:_0x1579e4,..._0x4b17c5}=_0x339e3f[_0x8d5b9(0x174)]({},_0x4daa1a,this[_0x8d5b9(0x1ad)]);_0x1579e4&&this[_0x8d5b9(0x204)][_0x8d5b9(0x25d)]('menu',_0x1579e4,{'merge':!0x0}),this['_configService']['setConfig'](_0x225b63,_0x4b17c5),this[_0x8d5b9(0x1ad)][_0x8d5b9(0x178)]&&this['_configService'][_0x8d5b9(0x25d)](_0x597b80,this['_config']['univerContainerId']);}[_0x3adaff(0x258)](){const _0x48bbcf=_0x3adaff;[[_0x1278ea[_0x48bbcf(0x1d0)]],[_0x314eb1]]['forEach'](_0x443edb=>this[_0x48bbcf(0x1d2)]['add'](_0x443edb));}['onSteady'](){const _0x2bba05=_0x3adaff;this[_0x2bba05(0x1d2)][_0x2bba05(0x245)](_0x314eb1);}},_0x1bc6a7(_0x3f0a29,_0x3adaff(0x262),_0x339e3f[_0x3adaff(0x1e8)][_0x3adaff(0x267)]),_0x1bc6a7(_0x3f0a29,'pluginName',_0x3de01b),_0x3f0a29),_0x1278ea['UniverEditHistoryLoaderPlugin']=_0x591ce8([_0x1b37ed(0x1,_0x339e3f[_0x3adaff(0x185)](_0x339e3f[_0x3adaff(0x25c)])),_0x1b37ed(0x2,_0x339e3f[_0x3adaff(0x210)])],_0x1278ea[_0x3adaff(0x16b)]),_0x1278ea[_0x3adaff(0x1e6)]=_0x597b80,_0x1278ea[_0x3adaff(0x1f5)]=_0x42aa57,Object[_0x3adaff(0x162)](_0x1278ea,Symbol[_0x3adaff(0x1f6)],{'value':_0x3adaff(0x167)});}));
21
21
 
22
22
  // index
23
23
  (function(e,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("@univerjs-pro/collaboration"),require("@univerjs-pro/collaboration-client"),require("@univerjs-pro/collaboration-client-ui"),require("@univerjs-pro/edit-history-loader"),require("@univerjs-pro/collaboration-client/lib/facade"),require("@univerjs-pro/collaboration-client-ui/lib/facade")):typeof define=="function"&&define.amd?define(["exports","@univerjs-pro/collaboration","@univerjs-pro/collaboration-client","@univerjs-pro/collaboration-client-ui","@univerjs-pro/edit-history-loader","@univerjs-pro/collaboration-client/lib/facade","@univerjs-pro/collaboration-client-ui/lib/facade"],o):(e=typeof globalThis<"u"?globalThis:e||self,o(e.UniverPresetSheetsCollaboration={},e.UniverProCollaboration,e.UniverProCollaborationClient,e.UniverProCollaborationClientUi,e.UniverProEditHistoryLoader))})(this,(function(e,o,l,t,a){"use strict";function s(n){const i=new URL(n,window.location.origin);switch(i.protocol){case"https:":i.protocol="wss:";break;case"http:":i.protocol="ws:";break}return i.toString()}function u(n={}){const{universerEndpoint:i,univerContainerId:c="app",enableOfflineEditing:p=!0,enableSingleActiveInstanceLock:v=!0}=n,r=i!=null?i:`${window.location.protocol}//${window.location.host}`;return{plugins:[o.UniverCollaborationPlugin,[l.UniverCollaborationClientPlugin,{socketService:t.BrowserCollaborationSocketService,enableOfflineEditing:p,enableSingleActiveInstanceLock:v,enableAuthServer:!0,authzUrl:`${r}/universer-api/authz`,snapshotServerUrl:`${r}/universer-api/snapshot`,collabSubmitChangesetUrl:`${r}/universer-api/comb`,collabWebSocketUrl:s(`${r}/universer-api/comb/connect`),loginUrlKey:`${r}/universer-api/oidc/authpage`,uploadFileServerUrl:`${r}/universer-api/stream/file/upload`,signUrlServerUrl:`${r}/universer-api/file/{fileID}/sign-url`,downloadEndpointUrl:`${r}/`,wsSessionTicketUrl:`${r}/universer-api/user/session-ticket`,sendChangesetTimeout:200}],[t.UniverCollaborationClientUIPlugin,{}],[a.UniverEditHistoryLoaderPlugin,{univerContainerId:c,historyListServerUrl:`${r}/universer-api/history`}]]}}e.UniverSheetsCollaborationPreset=u,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));