@univerjs/preset-sheets-collaboration 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1,23 +1,23 @@
1
1
  // @univerjs-pro/collaboration-client/index
2
- function _0x4166(_0x2f8c17,_0x3c9271){_0x2f8c17=_0x2f8c17-0x1b6;var _0x140737=_0x1407();var _0x416687=_0x140737[_0x2f8c17];return _0x416687;}(function(_0x3a26fd,_0x5a31b2){var _0x63c3d4=_0x4166,_0x3f5e45=_0x3a26fd();while(!![]){try{var _0x3e4021=-parseInt(_0x63c3d4(0x537))/0x1*(-parseInt(_0x63c3d4(0x37c))/0x2)+-parseInt(_0x63c3d4(0x345))/0x3*(parseInt(_0x63c3d4(0x55e))/0x4)+-parseInt(_0x63c3d4(0x1d4))/0x5+parseInt(_0x63c3d4(0x2f7))/0x6*(parseInt(_0x63c3d4(0x3d8))/0x7)+-parseInt(_0x63c3d4(0x3c2))/0x8+-parseInt(_0x63c3d4(0x1d6))/0x9*(parseInt(_0x63c3d4(0x1ef))/0xa)+-parseInt(_0x63c3d4(0x1d0))/0xb*(-parseInt(_0x63c3d4(0x4eb))/0xc);if(_0x3e4021===_0x5a31b2)break;else _0x3f5e45['push'](_0x3f5e45['shift']());}catch(_0x772ab8){_0x3f5e45['push'](_0x3f5e45['shift']());}}}(_0x1407,0x82b67),function(_0x38d6cb,_0x4ed6e1){var _0xf7a370=_0x4166;typeof exports==_0xf7a370(0x4d9)&&typeof module<'u'?_0x4ed6e1(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==_0xf7a370(0x462)&&define[_0xf7a370(0x331)]?define([_0xf7a370(0x2b7),_0xf7a370(0x50a),_0xf7a370(0x3dd),_0xf7a370(0x3f7),_0xf7a370(0x1f5),_0xf7a370(0x2f5),'@univerjs/telemetry',_0xf7a370(0x348),'@univerjs/network',_0xf7a370(0x2e5),'@univerjs-pro/license'],_0x4ed6e1):(_0x38d6cb=typeof globalThis<'u'?globalThis:_0x38d6cb||self,_0x4ed6e1(_0x38d6cb['UniverProCollaborationClient']={},_0x38d6cb[_0xf7a370(0x47f)],_0x38d6cb['UniverCore'],_0x38d6cb[_0xf7a370(0x39a)],_0x38d6cb['UniverSheets'],_0x38d6cb[_0xf7a370(0x2f5)],_0x38d6cb[_0xf7a370(0x347)],_0x38d6cb[_0xf7a370(0x2f5)][_0xf7a370(0x4d3)],_0x38d6cb[_0xf7a370(0x51f)],_0x38d6cb[_0xf7a370(0x555)],_0x38d6cb[_0xf7a370(0x423)]));}(this,function(_0x63229a,_0x1a9a73,_0x1e6ccd,_0x43ec50,_0x5298c8,_0x5e254c,_0x442c12,_0x5f013a,_0x442c2c,_0x471407,_0x4939d8){'use strict';var _0x7f6170=_0x4166;var _0x39e6db=Object[_0x7f6170(0x1e4)],_0x4c006=(_0x39585a,_0x4142c6,_0x267295)=>_0x4142c6 in _0x39585a?_0x39e6db(_0x39585a,_0x4142c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x267295}):_0x39585a[_0x4142c6]=_0x267295,_0xf97e8c=(_0x3e387d,_0x1c959f,_0x2ebcac)=>_0x4c006(_0x3e387d,typeof _0x1c959f!=_0x7f6170(0x28f)?_0x1c959f+'':_0x1c959f,_0x2ebcac);const _0x1429e9=_0x7f6170(0x37b),_0x468d92=_0x7f6170(0x255),_0x44d68a=_0x7f6170(0x4bc),_0x93432=_0x7f6170(0x551),_0x2aa407=_0x7f6170(0x1c1),_0x4471eb=_0x7f6170(0x26f),_0x412f77=_0x7f6170(0x504),_0x3fb743=_0x7f6170(0x51c),_0x5af579='/universer-api/comb',_0x33abcb=_0x7f6170(0x232),_0x530a65=_0x7f6170(0x3ba),_0x2d05f4=_0x7f6170(0x2a0);var _0x1cc8fe=(_0x4871de=>(_0x4871de[_0x4871de[_0x7f6170(0x460)]=0x0]='UNDEFINED',_0x4871de[_0x4871de['OK']=0x1]='OK',_0x4871de[_0x4871de['INTERNAL_ERROR']=0x2]=_0x7f6170(0x43a),_0x4871de[_0x4871de[_0x7f6170(0x35d)]=0x3]=_0x7f6170(0x35d),_0x4871de[_0x4871de['NOT_FOUND']=0x4]=_0x7f6170(0x3bd),_0x4871de[_0x4871de[_0x7f6170(0x3cb)]=0x5]='UNAUTHENTICATED',_0x4871de[_0x4871de[_0x7f6170(0x2a1)]=0x6]=_0x7f6170(0x2a1),_0x4871de[_0x4871de['INVALID_ARGUMENT']=0x7]=_0x7f6170(0x1bd),_0x4871de[_0x4871de['TOO_MANY_REQUESTS']=0x8]=_0x7f6170(0x2c5),_0x4871de[_0x4871de['COMPLETION_FINISHED']=0x9]=_0x7f6170(0x374),_0x4871de[_0x4871de[_0x7f6170(0x32e)]=0xa]=_0x7f6170(0x32e),_0x4871de[_0x4871de[_0x7f6170(0x33e)]=0xb]=_0x7f6170(0x33e),_0x4871de[_0x4871de[_0x7f6170(0x408)]=0xc]=_0x7f6170(0x408),_0x4871de[_0x4871de[_0x7f6170(0x2f0)]=0xd]=_0x7f6170(0x2f0),_0x4871de[_0x4871de['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4871de[_0x4871de['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x7f6170(0x380),_0x4871de[_0x4871de[_0x7f6170(0x321)]=0x10]=_0x7f6170(0x321),_0x4871de[_0x4871de[_0x7f6170(0x1d8)]=0x64]=_0x7f6170(0x1d8),_0x4871de[_0x4871de[_0x7f6170(0x456)]=0x65]=_0x7f6170(0x456),_0x4871de[_0x4871de[_0x7f6170(0x3bc)]=0xc9]=_0x7f6170(0x3bc),_0x4871de[_0x4871de[_0x7f6170(0x40e)]=0xca]=_0x7f6170(0x40e),_0x4871de[_0x4871de[_0x7f6170(0x3ff)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4871de[_0x4871de['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x7f6170(0x4e8),_0x4871de[_0x4871de[_0x7f6170(0x35f)]=0x1772]=_0x7f6170(0x35f),_0x4871de[_0x4871de['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4871de[_0x4871de[_0x7f6170(0x453)]=0x1b59]=_0x7f6170(0x453),_0x4871de[_0x4871de[_0x7f6170(0x2ae)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4871de[_0x4871de[_0x7f6170(0x51b)]=0x1b5b]=_0x7f6170(0x51b),_0x4871de[_0x4871de[_0x7f6170(0x3a9)]=0x1b5c]=_0x7f6170(0x3a9),_0x4871de[_0x4871de['APPLY_DUPLICATED']=0x1b5d]=_0x7f6170(0x402),_0x4871de[_0x4871de[_0x7f6170(0x233)]=0x1f41]=_0x7f6170(0x233),_0x4871de[_0x4871de['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x7f6170(0x562),_0x4871de[_0x4871de[_0x7f6170(0x4dd)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4871de[_0x4871de[_0x7f6170(0x24c)]=0x232b]=_0x7f6170(0x24c),_0x4871de[_0x4871de[_0x7f6170(0x4e0)]=0x232c]=_0x7f6170(0x4e0),_0x4871de[_0x4871de['LICENSE_DISTRO_REJECTED']=0x232d]=_0x7f6170(0x510),_0x4871de[_0x4871de[_0x7f6170(0x46d)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4871de[_0x4871de['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4871de[_0x4871de['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x7f6170(0x370),_0x4871de[_0x4871de['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x7f6170(0x50b),_0x4871de[_0x4871de[_0x7f6170(0x279)]=0x271a]=_0x7f6170(0x279),_0x4871de[_0x4871de[_0x7f6170(0x489)]=0x271b]=_0x7f6170(0x489),_0x4871de[_0x4871de[_0x7f6170(0x44e)]=0x271c]=_0x7f6170(0x44e),_0x4871de[_0x4871de[_0x7f6170(0x4e2)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4871de[_0x4871de[_0x7f6170(0x38a)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4871de[_0x4871de[_0x7f6170(0x442)]=0x271f]=_0x7f6170(0x442),_0x4871de[_0x4871de[_0x7f6170(0x536)]=0x2720]=_0x7f6170(0x536),_0x4871de[_0x4871de[_0x7f6170(0x534)]=0x2af9]=_0x7f6170(0x534),_0x4871de[_0x4871de[_0x7f6170(0x252)]=0x2ee1]=_0x7f6170(0x252),_0x4871de[_0x4871de[_0x7f6170(0x2bb)]=0x2ee2]=_0x7f6170(0x2bb),_0x4871de[_0x4871de['INVITE_CODE_REQUIRED']=0x2ee3]=_0x7f6170(0x360),_0x4871de[_0x4871de[_0x7f6170(0x1fa)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4871de[_0x4871de['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x7f6170(0x425),_0x4871de[_0x4871de[_0x7f6170(0x365)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4871de[_0x4871de[_0x7f6170(0x3f2)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4871de[_0x4871de['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4871de[_0x4871de['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x7f6170(0x28b),_0x4871de[_0x4871de[_0x7f6170(0x563)]=0x36b2]=_0x7f6170(0x563),_0x4871de[_0x4871de[_0x7f6170(0x3c8)]=0x36b3]=_0x7f6170(0x3c8),_0x4871de[_0x4871de[_0x7f6170(0x349)]=0x36b4]=_0x7f6170(0x349),_0x4871de[_0x4871de[_0x7f6170(0x1f1)]=0x36b5]=_0x7f6170(0x1f1),_0x4871de[_0x4871de[_0x7f6170(0x20d)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x4871de[_0x4871de[_0x7f6170(0x1e1)]=0x36b7]=_0x7f6170(0x1e1),_0x4871de[_0x4871de[_0x7f6170(0x421)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x4871de[_0x4871de[_0x7f6170(0x38b)]=0x3715]=_0x7f6170(0x38b),_0x4871de[_0x4871de[_0x7f6170(0x2c7)]=0x3716]=_0x7f6170(0x2c7),_0x4871de[_0x4871de[_0x7f6170(0x1b8)]=0x3717]=_0x7f6170(0x1b8),_0x4871de[_0x4871de['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x7f6170(0x4d8),_0x4871de[_0x4871de['REDEMPTION_INVALID_CODE']=0x3a99]=_0x7f6170(0x44d),_0x4871de[_0x4871de[_0x7f6170(0x474)]=0x3a9a]=_0x7f6170(0x474),_0x4871de[_0x4871de[_0x7f6170(0x203)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4871de[_0x4871de['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x4871de[_0x4871de[_0x7f6170(0x546)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x4871de[_0x4871de[_0x7f6170(0x2af)]=0x3a9e]=_0x7f6170(0x2af),_0x4871de[_0x4871de['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x7f6170(0x1df),_0x4871de[_0x4871de[_0x7f6170(0x404)]=0x3e81]=_0x7f6170(0x404),_0x4871de[_0x4871de[_0x7f6170(0x3a1)]=-0x1]='UNRECOGNIZED',_0x4871de))(_0x1cc8fe||{}),_0x391016=(_0x4cb3e4=>(_0x4cb3e4[_0x4cb3e4[_0x7f6170(0x278)]=0x0]=_0x7f6170(0x278),_0x4cb3e4[_0x4cb3e4[_0x7f6170(0x549)]=0x1]=_0x7f6170(0x549),_0x4cb3e4[_0x4cb3e4['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x4cb3e4[_0x4cb3e4[_0x7f6170(0x501)]=0x3]=_0x7f6170(0x501),_0x4cb3e4[_0x4cb3e4['UNIVER_PROJECT']=0x4]=_0x7f6170(0x43e),_0x4cb3e4[_0x4cb3e4['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4cb3e4))(_0x391016||{}),_0xebaad7=(_0x48fa5f=>(_0x48fa5f[_0x48fa5f['UNKNOWN_CMD']=0x0]=_0x7f6170(0x330),_0x48fa5f[_0x48fa5f['HELLO']=0x1]=_0x7f6170(0x37f),_0x48fa5f[_0x48fa5f[_0x7f6170(0x32a)]=0x2]=_0x7f6170(0x32a),_0x48fa5f[_0x48fa5f[_0x7f6170(0x420)]=0x3]='LEAVE',_0x48fa5f[_0x48fa5f[_0x7f6170(0x3ad)]=0x4]=_0x7f6170(0x3ad),_0x48fa5f[_0x48fa5f[_0x7f6170(0x452)]=0x5]='HEARTBEAT',_0x48fa5f[_0x48fa5f['RECV']=0x6]=_0x7f6170(0x301),_0x48fa5f[_0x48fa5f[_0x7f6170(0x3a1)]=-0x1]='UNRECOGNIZED',_0x48fa5f))(_0xebaad7||{}),_0x2b0e2a=(_0x4a8d4c=>(_0x4a8d4c[_0x4a8d4c['UNKNOWN_CODE']=0x0]=_0x7f6170(0x521),_0x4a8d4c[_0x4a8d4c['OK']=0x1]='OK',_0x4a8d4c[_0x4a8d4c[_0x7f6170(0x247)]=0x2]=_0x7f6170(0x247),_0x4a8d4c[_0x4a8d4c[_0x7f6170(0x3cd)]=0x3e9]=_0x7f6170(0x3cd),_0x4a8d4c[_0x4a8d4c[_0x7f6170(0x340)]=0x3ea]=_0x7f6170(0x340),_0x4a8d4c[_0x4a8d4c['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x7f6170(0x447),_0x4a8d4c[_0x4a8d4c[_0x7f6170(0x258)]=0x3ec]=_0x7f6170(0x258),_0x4a8d4c[_0x4a8d4c[_0x7f6170(0x3a1)]=-0x1]=_0x7f6170(0x3a1),_0x4a8d4c))(_0x2b0e2a||{}),_0x4b57a5=(_0x499701=>(_0x499701[_0x499701[_0x7f6170(0x333)]=0x0]='Undefined',_0x499701[_0x499701['HttpImport']=0x1]=_0x7f6170(0x34a),_0x499701[_0x499701[_0x7f6170(0x3ca)]=0x2]='HttpExport',_0x499701[_0x499701[_0x7f6170(0x273)]=0x3]=_0x7f6170(0x273),_0x499701[_0x499701['UnitSnapshot']=0x4]=_0x7f6170(0x1d5),_0x499701[_0x499701[_0x7f6170(0x465)]=0x5]='UserProfileImg',_0x499701[_0x499701[_0x7f6170(0x541)]=0x6]=_0x7f6170(0x541),_0x499701[_0x499701[_0x7f6170(0x3a1)]=-0x1]=_0x7f6170(0x3a1),_0x499701))(_0x4b57a5||{});const _0x3b5495='collaboration_new_changeset';function _0x2e1b43(_0x3e6cce){var _0x1cf54f=_0x7f6170;return JSON[_0x1cf54f(0x4a7)](_0x3e6cce)[_0x1cf54f(0x3eb)];}var _0x3908d8=(_0x199144=>(_0x199144[_0x7f6170(0x240)]='OTHER_CLIENT_EDITING',_0x199144[_0x7f6170(0x35d)]='PERMISSION_DENIED',_0x199144[_0x7f6170(0x4db)]=_0x7f6170(0x4db),_0x199144[_0x7f6170(0x3d9)]=_0x7f6170(0x3d9),_0x199144[_0x7f6170(0x41e)]=_0x7f6170(0x41e),_0x199144[_0x7f6170(0x21a)]=_0x7f6170(0x21a),_0x199144['SOCKET_FAILED']=_0x7f6170(0x1da),_0x199144[_0x7f6170(0x4a0)]=_0x7f6170(0x4a0),_0x199144))(_0x3908d8||{});class _0x4e5888{constructor(){var _0x3c9809=_0x7f6170;_0xf97e8c(this,_0x3c9809(0x2c0),new _0x5e254c[(_0x3c9809(0x45a))]()),_0xf97e8c(this,'event$',this[_0x3c9809(0x2c0)][_0x3c9809(0x2e1)]());}[_0x7f6170(0x518)](_0x4f40d4){this['_event$']['next'](_0x4f40d4);}}class _0x54bccf{constructor(){var _0x63e18d=_0x7f6170;_0xf97e8c(this,'_commentUpdate$',new _0x5e254c[(_0x63e18d(0x45a))]()),_0xf97e8c(this,'commentUpdate$',this[_0x63e18d(0x2c8)][_0x63e18d(0x2e1)]());}[_0x7f6170(0x1c2)](_0x387fd6){var _0x26cb02=_0x7f6170;this[_0x26cb02(0x2c8)][_0x26cb02(0x2cc)](_0x387fd6);}}var _0x38ed00=Object[_0x7f6170(0x46a)],_0x108b18=(_0x45c300,_0x17ece0,_0x13a645,_0x1d864c)=>{var _0x459cc3=_0x7f6170;for(var _0x4dff60=_0x1d864c>0x1?void 0x0:_0x1d864c?_0x38ed00(_0x17ece0,_0x13a645):_0x17ece0,_0x45b724=_0x45c300[_0x459cc3(0x3eb)]-0x1,_0x2fd09d;_0x45b724>=0x0;_0x45b724--)(_0x2fd09d=_0x45c300[_0x45b724])&&(_0x4dff60=_0x2fd09d(_0x4dff60)||_0x4dff60);return _0x4dff60;},_0x2369cc=(_0x1572fe,_0x5b36ad)=>(_0x2c0de8,_0x431996)=>_0x5b36ad(_0x2c0de8,_0x431996,_0x1572fe);_0x63229a[_0x7f6170(0x520)]=class extends _0x1e6ccd[_0x7f6170(0x30d)]{constructor(_0xb92198,_0x3feb8d){var _0x1d01a2=_0x7f6170;super(),_0xf97e8c(this,_0x1d01a2(0x473),new Map()),_0xf97e8c(this,_0x1d01a2(0x35a),new _0x5e254c[(_0x1d01a2(0x45a))]()),(this[_0x1d01a2(0x1e9)]=_0xb92198,this[_0x1d01a2(0x52d)]=_0x3feb8d,this[_0x1d01a2(0x1f3)](_0x5e254c['merge'](this['_univerInstanceService'][_0x1d01a2(0x47e)](_0x1e6ccd[_0x1d01a2(0x227)][_0x1d01a2(0x307)])[_0x1d01a2(0x4b0)](_0x5f013a[_0x1d01a2(0x334)](_0xa5dc0a=>_0xa5dc0a[_0x1d01a2(0x4a4)]())),this['_univerInstanceService'][_0x1d01a2(0x47e)](_0x1e6ccd['UniverInstanceType']['UNIVER_DOC'])[_0x1d01a2(0x4b0)](_0x5f013a[_0x1d01a2(0x334)](_0x1c6cdc=>_0x1c6cdc['getUnitId']())),this['_univerInstanceService'][_0x1d01a2(0x47e)](_0x1e6ccd['UniverInstanceType'][_0x1d01a2(0x501)])['pipe'](_0x5f013a[_0x1d01a2(0x334)](_0xca83bb=>_0xca83bb['getUnitId']())))[_0x1d01a2(0x500)](_0x3b0153=>this[_0x1d01a2(0x443)](_0x3b0153))));}[_0x7f6170(0x329)](_0x451845){var _0x256af1=_0x7f6170;return this['_roomMembers']['has'](_0x451845)?_0x5e254c['of'](this[_0x256af1(0x473)][_0x256af1(0x522)](_0x451845)):this['_roomCreated$'][_0x256af1(0x4b0)](_0x5f013a[_0x256af1(0x334)](_0x41085e=>{var _0x3e7b64=_0x256af1;if(_0x41085e===_0x451845)return this[_0x3e7b64(0x473)][_0x3e7b64(0x522)](_0x41085e);}));}[_0x7f6170(0x272)](_0x4f4446){var _0x4369b6=_0x7f6170;this[_0x4369b6(0x52d)]['setCurrentUser'](_0x4f4446);}['getCurrentUser'](){var _0x1c6b35=_0x7f6170;return this[_0x1c6b35(0x52d)]['getCurrentUser']();}['updateMember'](_0x32f495,_0x3f2055){var _0x126a3a=_0x7f6170;let _0x2b696d=this[_0x126a3a(0x473)][_0x126a3a(0x522)](_0x32f495);_0x2b696d||(_0x2b696d=new _0x26daf4(),this[_0x126a3a(0x473)][_0x126a3a(0x302)](_0x32f495,_0x2b696d),this['_roomCreated$']['next'](_0x32f495)),_0x2b696d[_0x126a3a(0x466)](_0x3f2055);}[_0x7f6170(0x23c)](_0x2e7aea,_0x325dee){var _0x2dd1ce=_0x7f6170;const _0x3e89c4=this[_0x2dd1ce(0x473)]['get'](_0x2e7aea);_0x3e89c4&&_0x3e89c4[_0x2dd1ce(0x23c)](_0x325dee);}[_0x7f6170(0x2cd)](_0x175536){var _0x467975=_0x7f6170;return this[_0x467975(0x473)][_0x467975(0x522)](_0x175536);}['getMember'](_0x1d9240,_0x2f0cd6){var _0x59fb1a=_0x7f6170;const _0x3b573c=this[_0x59fb1a(0x473)]['get'](_0x1d9240);if(_0x3b573c)return _0x3b573c[_0x59fb1a(0x285)](_0x2f0cd6);}[_0x7f6170(0x443)](_0x2e7f29){var _0x2dd94c=_0x7f6170;const _0xb37ee=this[_0x2dd94c(0x473)]['get'](_0x2e7f29);_0xb37ee&&(_0xb37ee['dispose'](),this[_0x2dd94c(0x473)][_0x2dd94c(0x276)](_0x2e7f29));}[_0x7f6170(0x55b)](){var _0x30c126=_0x7f6170;this[_0x30c126(0x473)][_0x30c126(0x29c)](_0x2c1bf3=>_0x2c1bf3[_0x30c126(0x55b)]()),this[_0x30c126(0x473)][_0x30c126(0x1e7)](),this[_0x30c126(0x35a)][_0x30c126(0x30f)]();}},_0x63229a[_0x7f6170(0x520)]=_0x108b18([_0x2369cc(0x0,_0x1e6ccd[_0x7f6170(0x299)]),_0x2369cc(0x1,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd['UserManagerService']))],_0x63229a['MemberService']);class _0x26daf4 extends _0x1e6ccd[_0x7f6170(0x30d)]{constructor(){var _0x25f54f=_0x7f6170;super(...arguments),_0xf97e8c(this,_0x25f54f(0x40b),new Map()),_0xf97e8c(this,_0x25f54f(0x245),new _0x5e254c[(_0x25f54f(0x39b))](this[_0x25f54f(0x40b)])),_0xf97e8c(this,_0x25f54f(0x205),this[_0x25f54f(0x245)]['asObservable']());}['dispose'](){var _0x45cad6=_0x7f6170;this[_0x45cad6(0x40b)][_0x45cad6(0x1e7)]();}[_0x7f6170(0x466)](_0x5a4259){var _0xf4589d=_0x7f6170;this['_members'][_0xf4589d(0x302)](_0x5a4259['memberID'],_0x5a4259),this['_emitMembers']();}[_0x7f6170(0x23c)](_0x3d9ee8){var _0xd0ff5b=_0x7f6170;this[_0xd0ff5b(0x40b)]['delete'](_0x3d9ee8);}[_0x7f6170(0x285)](_0xc54ac3){var _0x1a97d2=_0x7f6170;return this[_0x1a97d2(0x40b)][_0x1a97d2(0x522)](_0xc54ac3);}[_0x7f6170(0x20c)](){var _0x51367f=_0x7f6170;return Array['from'](this['_members'][_0x51367f(0x4e1)]());}['_emitMembers'](){var _0x37535f=_0x7f6170;this[_0x37535f(0x245)][_0x37535f(0x2cc)](this[_0x37535f(0x40b)]);}}var _0x25f953=Object[_0x7f6170(0x46a)],_0x365c75=(_0x41ee67,_0x1a3f91,_0x12d54,_0x549b0f)=>{var _0x28ba6a=_0x7f6170;for(var _0x1bb5c9=_0x549b0f>0x1?void 0x0:_0x549b0f?_0x25f953(_0x1a3f91,_0x12d54):_0x1a3f91,_0x407abe=_0x41ee67[_0x28ba6a(0x3eb)]-0x1,_0x5a4ab7;_0x407abe>=0x0;_0x407abe--)(_0x5a4ab7=_0x41ee67[_0x407abe])&&(_0x1bb5c9=_0x5a4ab7(_0x1bb5c9)||_0x1bb5c9);return _0x1bb5c9;},_0x1fe0dd=(_0x1dd15c,_0x59f6a1)=>(_0x220b6d,_0x3736ed)=>_0x59f6a1(_0x220b6d,_0x3736ed,_0x1dd15c),_0x165b16=(_0x51d58c=>(_0x51d58c[_0x51d58c[_0x7f6170(0x4e4)]=0x0]=_0x7f6170(0x4e4),_0x51d58c[_0x51d58c[_0x7f6170(0x552)]=0x1]=_0x7f6170(0x552),_0x51d58c[_0x51d58c[_0x7f6170(0x20e)]=0x2]=_0x7f6170(0x20e),_0x51d58c[_0x51d58c['ONLINE']=0x3]='ONLINE',_0x51d58c))(_0x165b16||{});const _0x34948f={[_0x2b0e2a[_0x7f6170(0x247)]]:_0x7f6170(0x480),[_0x2b0e2a[_0x7f6170(0x3cd)]]:_0x7f6170(0x1ff),[_0x2b0e2a[_0x7f6170(0x340)]]:_0x7f6170(0x463),[_0x2b0e2a['JOIN_ROOM_PERMISSION_DENIED']]:_0x7f6170(0x4ec),[_0x2b0e2a[_0x7f6170(0x258)]]:_0x7f6170(0x265)};_0x63229a['CollaborationSession']=class extends _0x1e6ccd[_0x7f6170(0x2fe)]{constructor(_0x48a44d,_0x101b5d,_0x9414c1,_0x1c42f5,_0x590221,_0x5b99c6,_0x219196,_0x37e40d){var _0x6a2848=_0x7f6170;super(),_0xf97e8c(this,_0x6a2848(0x25d),new _0x5e254c[(_0x6a2848(0x39b))](0x0)),_0xf97e8c(this,'sessionStatus$',this[_0x6a2848(0x25d)][_0x6a2848(0x2e1)]()),_0xf97e8c(this,_0x6a2848(0x2c0),new _0x5e254c['Subject']()),_0xf97e8c(this,_0x6a2848(0x444),this[_0x6a2848(0x2c0)]['asObservable']()),_0xf97e8c(this,'_socket'),_0xf97e8c(this,_0x6a2848(0x3d6)),_0xf97e8c(this,'_collaborationTimeoutTimer'),_0xf97e8c(this,_0x6a2848(0x4bd),!0x1),_0xf97e8c(this,'_telemetryInfo',null),(this[_0x6a2848(0x38f)]=_0x48a44d,this['_logService']=_0x9414c1,this[_0x6a2848(0x372)]=_0x1c42f5,this[_0x6a2848(0x2f3)]=_0x590221,this['_commentService']=_0x5b99c6,this['_collaborationUIEventService']=_0x219196,this[_0x6a2848(0x50c)]=_0x37e40d,this[_0x6a2848(0x4bd)]=!!this[_0x6a2848(0x50c)],_0x101b5d[_0x6a2848(0x4b0)](_0x5e254c[_0x6a2848(0x3b3)](this[_0x6a2848(0x27e)]))['subscribe'](_0x17b0c6=>{var _0x1c4c08=_0x6a2848,_0xcde73a;typeof _0x17b0c6>'u'||(this[_0x1c4c08(0x36b)]=_0x17b0c6,_0x17b0c6?(this[_0x1c4c08(0x407)](_0x17b0c6),this['_socketMessageSubscription']=_0x17b0c6[_0x1c4c08(0x505)]['subscribe'](_0x5e9411=>{var _0x3f33e0=_0x1c4c08;_0x5e9411[_0x3f33e0(0x43d)]===this['_unitID']&&this[_0x3f33e0(0x21f)](_0x5e9411);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x1c4c08(0x25d)][_0x1c4c08(0x2cc)](0x2),(_0xcde73a=this[_0x1c4c08(0x3d6)])==null||_0xcde73a['unsubscribe'](),this[_0x1c4c08(0x3d6)]=null));}));}get[_0x7f6170(0x409)](){var _0x4b7bbc=_0x7f6170;return this[_0x4b7bbc(0x25d)][_0x4b7bbc(0x43f)]();}[_0x7f6170(0x3ce)](){var _0x22522a=_0x7f6170,_0x349ade,_0x58fda9;return(_0x58fda9=(_0x349ade=this[_0x22522a(0x36b)])==null?void 0x0:_0x349ade[_0x22522a(0x49d)])!=null?_0x58fda9:null;}[_0x7f6170(0x55b)](){var _0x16208e=_0x7f6170;super[_0x16208e(0x55b)](),this[_0x16208e(0x27e)]['next'](),this[_0x16208e(0x27e)][_0x16208e(0x30f)]();}[_0x7f6170(0x36f)](){var _0x499264=_0x7f6170,_0x262109,_0x52df5c;this[_0x499264(0x52e)](),(_0x262109=this[_0x499264(0x36b)])==null||_0x262109['send']({'cmd':_0xebaad7[_0x499264(0x420)],'data':{'roomID':this[_0x499264(0x38f)]}}),(_0x52df5c=this[_0x499264(0x36b)])==null||_0x52df5c[_0x499264(0x36f)](),this[_0x499264(0x2c0)][_0x499264(0x30f)](),this[_0x499264(0x25d)][_0x499264(0x30f)](),this['dispose']();}[_0x7f6170(0x21f)](_0x380666){var _0x4dc30a=_0x7f6170;_0x380666[_0x4dc30a(0x45b)]===_0xebaad7[_0x4dc30a(0x32a)]?this[_0x4dc30a(0x38c)](_0x380666):_0x380666[_0x4dc30a(0x45b)]===_0xebaad7[_0x4dc30a(0x301)]&&this['_onRecvEvent'](_0x380666);}['_joinRoom'](_0x69747){var _0x137d9f=_0x7f6170;this[_0x137d9f(0x25d)][_0x137d9f(0x2cc)](0x1),_0x69747['send']({'cmd':_0xebaad7['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x137d9f(0x38f)]}]}});}[_0x7f6170(0x38c)](_0x65f06c){var _0x4a9a77=_0x7f6170,_0x3cffb6;if(_0x65f06c[_0x4a9a77(0x20a)]in _0x34948f){this['_collaborationUIEventService'][_0x4a9a77(0x518)]({'id':_0x3908d8['JOIN_ROOM_FAILED'],'data':_0x34948f[_0x65f06c[_0x4a9a77(0x20a)]]}),this[_0x4a9a77(0x25d)][_0x4a9a77(0x2cc)](0x2);return;}this[_0x4a9a77(0x25d)][_0x4a9a77(0x2cc)](0x3);const _0x266136=(_0x3cffb6=_0x65f06c[_0x4a9a77(0x1b9)][_0x4a9a77(0x33d)][this['_unitID']])==null?void 0x0:_0x3cffb6['members'];_0x266136&&_0x266136['forEach'](_0x137be9=>this[_0x4a9a77(0x2f3)][_0x4a9a77(0x466)](this[_0x4a9a77(0x38f)],_0x137be9));}[_0x7f6170(0x53e)](_0x36d66a){var _0x458b2b=_0x7f6170;try{const _0x3473cf=_0x36d66a[_0x458b2b(0x1b9)];switch(_0x3473cf['eventID']){case _0x1a9a73['CollaborationEvent'][_0x458b2b(0x41f)]:this[_0x458b2b(0x28e)](_0x3473cf),this[_0x458b2b(0x2c0)][_0x458b2b(0x2cc)](_0x3473cf);break;case _0x1a9a73['CollaborationEvent'][_0x458b2b(0x469)]:this[_0x458b2b(0x3f8)](_0x3473cf),this[_0x458b2b(0x2c0)][_0x458b2b(0x2cc)](_0x3473cf);break;case _0x1a9a73[_0x458b2b(0x2ec)][_0x458b2b(0x304)]:case _0x1a9a73[_0x458b2b(0x2ec)][_0x458b2b(0x4f8)]:this[_0x458b2b(0x387)](),this['_clearCollaborationTimeoutTimer'](),this[_0x458b2b(0x2c0)][_0x458b2b(0x2cc)](_0x3473cf);break;case _0x1a9a73[_0x458b2b(0x2ec)][_0x458b2b(0x3ec)]:this[_0x458b2b(0x4f7)]['error'](_0x458b2b(0x269)+JSON['stringify'](_0x3473cf)),this[_0x458b2b(0x2c0)]['next'](_0x3473cf);break;case _0x1a9a73[_0x458b2b(0x2ec)][_0x458b2b(0x1c3)]:this[_0x458b2b(0x4f9)][_0x458b2b(0x1c2)](_0x3473cf[_0x458b2b(0x1b9)]),this[_0x458b2b(0x2c0)][_0x458b2b(0x2cc)](_0x3473cf);break;default:this[_0x458b2b(0x2c0)][_0x458b2b(0x2cc)](_0x3473cf);}}catch(_0x517e7d){this[_0x458b2b(0x4f7)][_0x458b2b(0x467)](_0x517e7d,_0x36d66a);}}[_0x7f6170(0x28e)](_0x2cc01d){var _0x22f937=_0x7f6170;this[_0x22f937(0x2f3)][_0x22f937(0x466)](this[_0x22f937(0x38f)],_0x2cc01d[_0x22f937(0x1b9)]);}[_0x7f6170(0x3f8)](_0x36505b){var _0x3046bf=_0x7f6170;this[_0x3046bf(0x2f3)][_0x3046bf(0x23c)](this[_0x3046bf(0x38f)],_0x36505b[_0x3046bf(0x1b9)][_0x3046bf(0x49d)]);}async[_0x7f6170(0x2c9)](_0x49e8dc,_0x2f0177){var _0x340eb1=_0x7f6170;if(this[_0x340eb1(0x409)]!==0x3||!this[_0x340eb1(0x36b)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x49e8dc['eventID']===_0x1a9a73[_0x340eb1(0x2ec)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x49e8dc)),this[_0x340eb1(0x36b)][_0x340eb1(0x2c9)]({'cmd':_0xebaad7[_0x340eb1(0x3ad)],'routeKey':_0x2f0177,'routeType':'','data':_0x49e8dc});}catch(_0x58da51){this[_0x340eb1(0x4f7)][_0x340eb1(0x467)](_0x58da51);}}[_0x7f6170(0x40d)](){var _0x4f93f2=_0x7f6170,_0x26182b;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x10a746=_0x4166;this[_0x10a746(0x27c)]=null,this[_0x10a746(0x343)][_0x10a746(0x518)]({'id':_0x3908d8[_0x10a746(0x4a0)]});},(_0x26182b=this[_0x4f93f2(0x372)][_0x4f93f2(0x2d6)](_0x4471eb))!=null?_0x26182b:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x2e16df=_0x7f6170;this[_0x2e16df(0x27c)]&&(clearTimeout(this[_0x2e16df(0x27c)]),this[_0x2e16df(0x27c)]=null);}[_0x7f6170(0x1fe)](_0x114d04){var _0x1055bf=_0x7f6170;if(!this[_0x1055bf(0x4bd)])return;const {data:_0x6d4d5e}=_0x114d04,{unitID:_0x3fc89b,changeset:_0x594528}=_0x6d4d5e,{mutations:_0x10f4cb,type:_0x36d4be}=_0x594528;this['_telemetryInfo']={'unitId':_0x3fc89b,'type':_0x36d4be,'startTime':performance[_0x1055bf(0x53f)](),'stopTime':0x0,'duration':0x0,'size':_0x2e1b43(_0x10f4cb)};}[_0x7f6170(0x387)](){var _0xced328=_0x7f6170;if(this[_0xced328(0x4bd)]){if(!this[_0xced328(0x417)]){this[_0xced328(0x4f7)][_0xced328(0x467)](_0xced328(0x211),_0xced328(0x1ee));return;}this[_0xced328(0x417)][_0xced328(0x34f)]=performance[_0xced328(0x53f)](),this[_0xced328(0x417)]['duration']=this[_0xced328(0x417)][_0xced328(0x34f)]-this[_0xced328(0x417)][_0xced328(0x355)],this[_0xced328(0x50c)][_0xced328(0x494)](_0x3b5495,this[_0xced328(0x417)]),this[_0xced328(0x417)]=null;}}[_0x7f6170(0x52e)](){var _0x18fa08=_0x7f6170;this[_0x18fa08(0x417)]=null;}},_0x63229a[_0x7f6170(0x354)]=_0x365c75([_0x1fe0dd(0x2,_0x1e6ccd[_0x7f6170(0x30a)]),_0x1fe0dd(0x3,_0x1e6ccd[_0x7f6170(0x3d4)]),_0x1fe0dd(0x4,_0x1e6ccd[_0x7f6170(0x22a)](_0x63229a[_0x7f6170(0x520)])),_0x1fe0dd(0x5,_0x1e6ccd['Inject'](_0x54bccf)),_0x1fe0dd(0x6,_0x1e6ccd[_0x7f6170(0x22a)](_0x4e5888)),_0x1fe0dd(0x7,_0x1e6ccd['Optional'](_0x442c12['ITelemetryService']))],_0x63229a[_0x7f6170(0x354)]);const _0x16e08f=_0x1e6ccd[_0x7f6170(0x31b)]('collaboration-client.local-cache-service');function _0x2295e6(_0x5bd926){var _0x2875d8=_0x7f6170;return _0x2875d8(0x352)+_0x5bd926;}var _0x1bd2c7=Object['getOwnPropertyDescriptor'],_0x5b8886=(_0xd316f9,_0x43865a,_0x4e818c,_0x483494)=>{var _0x354566=_0x7f6170;for(var _0x4806ac=_0x483494>0x1?void 0x0:_0x483494?_0x1bd2c7(_0x43865a,_0x4e818c):_0x43865a,_0x96308e=_0xd316f9[_0x354566(0x3eb)]-0x1,_0x12d313;_0x96308e>=0x0;_0x96308e--)(_0x12d313=_0xd316f9[_0x96308e])&&(_0x4806ac=_0x12d313(_0x4806ac)||_0x4806ac);return _0x4806ac;},_0x867af1=(_0x2095d2,_0x2cfe6e)=>(_0x16b741,_0x2476c1)=>_0x2cfe6e(_0x16b741,_0x2476c1,_0x2095d2);function _0x5a0e8d(_0x3dec29){var _0x3f32ef=_0x7f6170;const {unitID:_0x128f93,mutations:_0x47ca0e}=_0x3dec29;return{'unitId':_0x128f93,'subUnitId':_0x47ca0e[_0x3f32ef(0x3eb)]>0x0?_0x47ca0e[0x0]['params']['subUnitId']:null};}_0x63229a[_0x7f6170(0x280)]=class{constructor(_0x26c2f9,_0x27be3a,_0xf239b7){var _0x2a6040=_0x7f6170;this[_0x2a6040(0x23a)]=_0x26c2f9,this[_0x2a6040(0x547)]=_0x27be3a,this['_instanceService']=_0xf239b7;}[_0x7f6170(0x2fb)](_0x444b36){var _0x1cad6a=_0x7f6170,_0x234179,_0x3add47,_0x3dd927,_0x580df3;const _0x37a9f3=this[_0x1cad6a(0x23a)][_0x1cad6a(0x522)](_0x5298c8[_0x1cad6a(0x236)]),{unitId:_0x103969,subUnitId:_0x3823ec}=_0x5a0e8d(_0x444b36),_0x56c642=_0x37a9f3==null?void 0x0:_0x37a9f3[_0x1cad6a(0x4ca)](_0x103969)[_0x1cad6a(0x53d)](),_0x5b06cc=(_0x3add47=(_0x234179=this[_0x1cad6a(0x4b9)][_0x1cad6a(0x1ba)](_0x103969))==null?void 0x0:_0x234179[_0x1cad6a(0x3b0)]())==null?void 0x0:_0x3add47[_0x1cad6a(0x3ac)]();if(_0x56c642[_0x1cad6a(0x3eb)]===0x0||!_0x103969||!_0x3823ec)return;const _0x1811cf=[{'id':_0x5298c8[_0x1cad6a(0x50e)]['id'],'params':{'unitId':_0x103969,'subUnitId':_0x5b06cc,'selections':_0x1e6ccd[_0x1cad6a(0x2de)]['deepClone'](_0x56c642)}}],_0x45a717=this['_transformService'][_0x1cad6a(0x3c5)](_0x444b36,_0x1811cf);if(!_0x1a9a73[_0x1cad6a(0x346)](_0x45a717))throw _0x45a717[_0x1cad6a(0x467)];const _0x37fe91=(_0x580df3=(_0x3dd927=_0x45a717[_0x1cad6a(0x4c1)][0x0])==null?void 0x0:_0x3dd927[_0x1cad6a(0x432)])==null?void 0x0:_0x580df3['selections'];if(Array[_0x1cad6a(0x364)](_0x37fe91)&&_0x37fe91[_0x1cad6a(0x3eb)]){if(_0x37fe91[_0x1cad6a(0x3eb)]===_0x1811cf[0x0]['params'][_0x1cad6a(0x2c1)][_0x1cad6a(0x3eb)]&&_0x37fe91[_0x1cad6a(0x54c)]((_0x34ccd9,_0x52c6de)=>_0x1e6ccd[_0x1cad6a(0x310)][_0x1cad6a(0x54f)](_0x34ccd9[_0x1cad6a(0x498)],_0x1811cf[0x0]['params'][_0x1cad6a(0x2c1)][_0x52c6de][_0x1cad6a(0x498)])))return;this[_0x1cad6a(0x23a)][_0x1cad6a(0x522)](_0x1e6ccd[_0x1cad6a(0x4ad)])['executeCommand'](_0x5298c8[_0x1cad6a(0x50e)]['id'],{'unitId':_0x103969,'subUnitId':_0x5b06cc,'selections':_0x37fe91});}}},_0x63229a[_0x7f6170(0x280)]=_0x5b8886([_0x867af1(0x0,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd['Injector'])),_0x867af1(0x1,_0x1a9a73['ITransformService']),_0x867af1(0x2,_0x1e6ccd[_0x7f6170(0x299)])],_0x63229a[_0x7f6170(0x280)]);const _0xb79436=_0x1e6ccd[_0x7f6170(0x31b)](_0x7f6170(0x295));var _0xd29664=(_0x4d8551=>(_0x4d8551[_0x4d8551[_0x7f6170(0x31f)]=0x0]=_0x7f6170(0x31f),_0x4d8551[_0x4d8551[_0x7f6170(0x201)]=0x1]=_0x7f6170(0x201),_0x4d8551))(_0xd29664||{});const _0x36ab8e=_0x7f6170(0x454),_0x41fdc0={};function _0xff00d6(_0x4afe6c){var _0x2cb986=_0x7f6170,_0x45833c;return!!((_0x45833c=_0x4afe6c[_0x2cb986(0x432)])!=null&&_0x45833c['__splitChunk__']);}const _0x377ede=new Set([_0x5298c8[_0x7f6170(0x31e)]['id']]);function _0x5d50dc(_0x534c02,_0x1adfd9,_0x456eda,_0x1e446f,_0x1ac078){var _0x1e7265=_0x7f6170,_0x2e3e9e,_0x304a65,_0x2f7363,_0x2c6c0f;const _0x46b26c=[];for(const _0x4abb48 of _0x534c02){if(_0x377ede[_0x1e7265(0x24d)](_0x4abb48['id'])){if(_0x46b26c['length']>0x0)break;_0x46b26c[_0x1e7265(0x327)](_0x4abb48);break;}if(_0xff00d6(_0x4abb48)){if(_0x46b26c[_0x1e7265(0x3eb)]>0x0)break;_0x46b26c[_0x1e7265(0x327)](_0x4abb48);break;}_0x46b26c[_0x1e7265(0x327)](_0x4abb48);}const _0x4e999f=(_0x304a65=(_0x2e3e9e=_0x1ac078[_0x1e7265(0x485)]())==null?void 0x0:_0x2e3e9e[_0x1e7265(0x2fa)])!=null?_0x304a65:'unknown',_0x594a20=(_0x2c6c0f=(_0x2f7363=_0x1ac078[_0x1e7265(0x485)]())==null?void 0x0:_0x2f7363[_0x1e7265(0x49d)])!=null?_0x2c6c0f:_0x1e7265(0x311);return{'changeset':{'unitID':_0x1adfd9,'type':_0x1a9a73[_0x1e7265(0x1c7)](_0x456eda[_0x1e7265(0x257)](_0x1adfd9)),'baseRev':_0x1e446f[_0x1e7265(0x25b)](_0x1adfd9),'revision':0x0,'userID':_0x4e999f,'memberID':_0x594a20,'mutations':_0x46b26c},'pendingMutations':_0x534c02[_0x1e7265(0x363)](_0x46b26c[_0x1e7265(0x3eb)])};}function _0x44ca85(_0xae5f0b,_0x5ee803,_0x4b600e,_0x5c295c,_0x56c900){var _0x563e0e=_0x7f6170,_0x23d833,_0x5e1cda,_0x245d4c,_0x155c5e;const _0x4dc1d8=[_0xae5f0b[_0x563e0e(0x242)]((_0x42b23a,_0x510adf)=>{var _0x1bb91d=_0x563e0e,_0x5e793a;const {id:_0x544831}=_0x42b23a,{id:_0x51a331,type:_0x3fc8a7}=_0x510adf,_0xf4b9d=(_0x5e793a=_0x42b23a[_0x1bb91d(0x432)])!=null?_0x5e793a:{'actions':null},_0x40de11=_0x510adf[_0x1bb91d(0x432)];if(_0x544831&&_0x544831!==_0x51a331)throw new Error(_0x1bb91d(0x231)+_0x544831+_0x1bb91d(0x412)+_0x51a331+'.');return{..._0x42b23a,'id':_0x51a331,'type':_0x3fc8a7,'params':{'unitId':_0x40de11[_0x1bb91d(0x24f)],'textRanges':_0x40de11[_0x1bb91d(0x44b)],'actions':_0x1e6ccd[_0x1bb91d(0x392)]['compose'](_0xf4b9d[_0x1bb91d(0x389)],_0x40de11['actions'])}};},{})],_0x32c46e=(_0x5e1cda=(_0x23d833=_0x56c900[_0x563e0e(0x485)]())==null?void 0x0:_0x23d833['userID'])!=null?_0x5e1cda:_0x563e0e(0x311),_0x1ad474=(_0x155c5e=(_0x245d4c=_0x56c900['getCurrentUser']())==null?void 0x0:_0x245d4c[_0x563e0e(0x49d)])!=null?_0x155c5e:_0x563e0e(0x311);return{'changeset':{'unitID':_0x5ee803,'type':_0x1a9a73[_0x563e0e(0x1c7)](_0x4b600e[_0x563e0e(0x257)](_0x5ee803)),'baseRev':_0x5c295c[_0x563e0e(0x25b)](_0x5ee803),'revision':0x0,'userID':_0x32c46e,'memberID':_0x1ad474,'mutations':_0x4dc1d8},'pendingMutations':[]};}function _0x495e30(_0x9152e6,_0x4e7f01){var _0x2b7c5a=_0x7f6170;const _0x540ce5=new _0x5e254c[(_0x2b7c5a(0x2dc))](0x1);return setTimeout(()=>_0x540ce5['next'](_0x4e7f01),_0x9152e6),_0x540ce5[_0x2b7c5a(0x2e1)]()[_0x2b7c5a(0x4b0)](_0x5e254c[_0x2b7c5a(0x3e7)](0x1));}var _0x3eec44=Object[_0x7f6170(0x46a)],_0x548942=(_0x8ac6a4,_0x35fcfd,_0x313f41,_0x2c388b)=>{var _0x2a7466=_0x7f6170;for(var _0x40f008=_0x2c388b>0x1?void 0x0:_0x2c388b?_0x3eec44(_0x35fcfd,_0x313f41):_0x35fcfd,_0x7491b8=_0x8ac6a4[_0x2a7466(0x3eb)]-0x1,_0x2ab81c;_0x7491b8>=0x0;_0x7491b8--)(_0x2ab81c=_0x8ac6a4[_0x7491b8])&&(_0x40f008=_0x2ab81c(_0x40f008)||_0x40f008);return _0x40f008;},_0x19d416=(_0x4af817,_0x5a65f4)=>(_0x2431f4,_0x3490a8)=>_0x5a65f4(_0x2431f4,_0x3490a8,_0x4af817),_0x4c5bba=(_0x27ba14=>(_0x27ba14[_0x7f6170(0x2aa)]=_0x7f6170(0x4c9),_0x27ba14[_0x7f6170(0x439)]=_0x7f6170(0x206),_0x27ba14[_0x7f6170(0x290)]=_0x7f6170(0x373),_0x27ba14[_0x7f6170(0x43c)]=_0x7f6170(0x291),_0x27ba14[_0x7f6170(0x468)]=_0x7f6170(0x403),_0x27ba14[_0x7f6170(0x53c)]=_0x7f6170(0x309),_0x27ba14[_0x7f6170(0x4db)]=_0x7f6170(0x40a),_0x27ba14['OFFLINE']=_0x7f6170(0x470),_0x27ba14))(_0x4c5bba||{});const _0x2c608f=0x4e20,_0x247bd5=0x2bf20;class _0x14bf53{constructor(_0x353556,_0x573a08,_0x4a0828,_0x2c5b23,_0x4466a1,_0x23cb9b,_0x40b98c,_0x218972,_0x123156){var _0x10d870=_0x7f6170;_0xf97e8c(this,_0x10d870(0x3d3),null),_0xf97e8c(this,'_pendingMutations',[]),(this[_0x10d870(0x2e9)]=_0x353556,this[_0x10d870(0x558)]=_0x573a08,this[_0x10d870(0x264)]=_0x4466a1,this['_commandService']=_0x23cb9b,this[_0x10d870(0x288)]=_0x40b98c,this['_revisionService']=_0x218972,this[_0x10d870(0x51a)]=_0x123156,this['_awaitingChangeset']=_0x4a0828,this[_0x10d870(0x388)]=_0x2c5b23);}[_0x7f6170(0x256)](_0x5ee4b0){var _0x21ffee=_0x7f6170;const _0x360cde=this['_revisionService'][_0x21ffee(0x25b)](this['unitID']);return _0x5ee4b0['revision']>_0x360cde+0x1?(this[_0x21ffee(0x264)][_0x21ffee(0x477)]({'from':_0x360cde,'to':_0x5ee4b0[_0x21ffee(0x3da)]-0x1}),!0x0):!0x1;}[_0x7f6170(0x535)](_0x19e000){var _0x63e3de=_0x7f6170;this[_0x63e3de(0x288)]['transformUndoRedo'](this[_0x63e3de(0x2e9)],_0x19e000);}[_0x7f6170(0x297)](_0x2d6f97){var _0xc907f1=_0x7f6170,_0x336a89,_0x5d06f4;(_0x5d06f4=(_0x336a89=this[_0xc907f1(0x264)])[_0xc907f1(0x25f)])==null||_0x5d06f4[_0xc907f1(0x226)](_0x336a89,_0x2d6f97);}[_0x7f6170(0x20f)](_0x27d82d){var _0x2396d1=_0x7f6170,_0x67436c,_0x3ae555;return(_0x3ae555=(_0x67436c=this[_0x2396d1(0x264)])[_0x2396d1(0x25a)])==null?void 0x0:_0x3ae555['call'](_0x67436c,_0x27d82d);}['_transformStateCache'](_0xa363b4){var _0x429c7c=_0x7f6170,_0x1299f0,_0x1a5043;return(_0x1a5043=(_0x1299f0=this[_0x429c7c(0x264)])[_0x429c7c(0x4f5)])==null?void 0x0:_0x1a5043['call'](_0x1299f0,_0xa363b4);}[_0x7f6170(0x353)](_0x1a71f4){var _0x33044e=_0x7f6170,_0x49bb36,_0x467395,_0x593925;return(_0x593925=(_0x467395=(_0x49bb36=this[_0x33044e(0x264)])[_0x33044e(0x3a3)])==null?void 0x0:_0x467395[_0x33044e(0x226)](_0x49bb36,_0x1a71f4))!=null?_0x593925:_0x1a71f4;}[_0x7f6170(0x234)](_0x16cd6f){var _0x9529b8=_0x7f6170,_0x2e5f2e,_0x1efbd1,_0x27060b;return(_0x27060b=(_0x1efbd1=(_0x2e5f2e=this[_0x9529b8(0x264)])[_0x9529b8(0x4fe)])==null?void 0x0:_0x1efbd1['call'](_0x2e5f2e,_0x16cd6f))!=null?_0x27060b:_0x16cd6f;}[_0x7f6170(0x282)](_0x1cd3f6){var _0x592f00=_0x7f6170,_0x2e5a2c,_0x20507f;if(this[_0x592f00(0x558)]===_0x391016[_0x592f00(0x549)]){const {unitID:_0x568bad,mutations:_0x381877,memberID:_0x45ab8a}=_0x1cd3f6,_0x408d17=_0x381877[_0x592f00(0x3eb)]>0x0?_0x381877[0x0][_0x592f00(0x432)][_0x592f00(0x44b)]:[];Array['isArray'](_0x408d17)&&_0x408d17[_0x592f00(0x3eb)]>0x0&&((_0x20507f=(_0x2e5a2c=this[_0x592f00(0x264)])[_0x592f00(0x1fb)])==null||_0x20507f['call'](_0x2e5a2c,{'unitID':_0x568bad,'memberID':_0x45ab8a,'textRanges':_0x408d17}));}}[_0x7f6170(0x300)](){var _0x3d84fb=_0x7f6170,_0x282fad;(_0x282fad=this[_0x3d84fb(0x51a)])==null||_0x282fad[_0x3d84fb(0x40f)](this[_0x3d84fb(0x2e9)],this[_0x3d84fb(0x558)],this[_0x3d84fb(0x3d3)],this['_pendingMutations']);}[_0x7f6170(0x2ea)](){var _0x55b16d=_0x7f6170;return this[_0x55b16d(0x27b)][_0x55b16d(0x25b)](this[_0x55b16d(0x2e9)]);}[_0x7f6170(0x3a5)](){var _0x5015a3=_0x7f6170;this['_revisionService'][_0x5015a3(0x4cc)](this[_0x5015a3(0x2e9)]);}[_0x7f6170(0x3f9)](_0x30b36d){var _0xf6d83e=_0x7f6170,_0xf289ee;let _0x8cd033=this[_0xf6d83e(0x353)](_0x30b36d);_0x8cd033=this[_0xf6d83e(0x234)](_0x8cd033);const _0xd8194d=_0x1e6ccd[_0xf6d83e(0x2d2)](_0x8cd033[_0xf6d83e(0x478)],this['_commandService'],{'fromCollab':!0x0});if(!_0xd8194d[_0xf6d83e(0x497)])throw _0xd8194d['error']instanceof Error?_0xd8194d[_0xf6d83e(0x467)]:new Error((_0xf289ee=_0xd8194d[_0xf6d83e(0x467)])!=null?_0xf289ee:_0xf6d83e(0x4aa));this['_transformIMECache'](_0x8cd033),this[_0xf6d83e(0x492)](_0x8cd033),this[_0xf6d83e(0x535)](_0x30b36d),this['_transformSelections'](_0x8cd033),this[_0xf6d83e(0x282)](_0x8cd033),this[_0xf6d83e(0x3a5)]();}}_0x63229a['SyncedState']=class extends _0x14bf53{constructor(_0x5c7429,_0x3e26f8,_0x2de6b2,_0x2b3e4d,_0xd73fb4,_0x4f7af3,_0x1f8236,_0x4b431b,_0x2fc06c,_0x4368ef){var _0xde3e2=_0x7f6170;super(_0x5c7429,_0x3e26f8,null,[],_0x2de6b2,_0x1f8236,_0x4f7af3,_0x2b3e4d,_0x4368ef),_0xf97e8c(this,_0xde3e2(0x3aa),_0xde3e2(0x206)),(this[_0xde3e2(0x23a)]=_0xd73fb4,this['_logService']=_0x4b431b,this[_0xde3e2(0x547)]=_0x2fc06c,this['localCacheService']=_0x4368ef);}[_0x7f6170(0x228)](_0x1ed457){var _0x39349d=_0x7f6170;const _0x1852de=this['_injector'][_0x39349d(0x286)](_0x63229a[_0x39349d(0x40c)],this[_0x39349d(0x2e9)],this[_0x39349d(0x558)],[_0x1ed457],this[_0x39349d(0x264)]);return _0x1852de[_0x39349d(0x315)](),_0x1852de[_0x39349d(0x300)](),_0x1852de;}[_0x7f6170(0x1f7)](_0x2635db){var _0x54ef61=_0x7f6170;if(this[_0x54ef61(0x256)](_0x2635db))return this[_0x54ef61(0x23a)][_0x54ef61(0x286)](_0x63229a[_0x54ef61(0x246)],this[_0x54ef61(0x2e9)],this[_0x54ef61(0x558)],null,[],null,[_0x2635db],this['_handler']);try{const _0x5d7a34=this[_0x54ef61(0x547)][_0x54ef61(0x3c5)](_0x2635db,[_0x1a9a73['EmptyMutationInfo']]);if(_0x1a9a73[_0x54ef61(0x346)](_0x5d7a34)){const {c1Prime:_0x4a99e1}=_0x5d7a34;return this[_0x54ef61(0x3f9)](_0x4a99e1),this;}throw _0x5d7a34[_0x54ef61(0x467)];}catch(_0x2b4b05){return this[_0x54ef61(0x4f7)][_0x54ef61(0x467)](_0x2b4b05),this[_0x54ef61(0x328)](!0x1);}}[_0x7f6170(0x328)](_0x512a1b){var _0x57359f=_0x7f6170;return this[_0x57359f(0x23a)][_0x57359f(0x286)](_0x63229a[_0x57359f(0x339)],this['unitID'],this[_0x57359f(0x558)],null,[],this[_0x57359f(0x264)],_0x512a1b);}[_0x7f6170(0x46f)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x7f6170(0x2cb)](){var _0x307b66=_0x7f6170;throw new Error(_0x307b66(0x45d));}[_0x7f6170(0x445)](){return this;}[_0x7f6170(0x55a)](){var _0x4d9804=_0x7f6170;return this[_0x4d9804(0x23a)][_0x4d9804(0x286)](_0x63229a['OfflineState'],this[_0x4d9804(0x2e9)],this[_0x4d9804(0x558)],null,[],this[_0x4d9804(0x264)]);}['toggleOnline'](){return this;}[_0x7f6170(0x3e3)](){var _0x209641=_0x7f6170;throw new Error(_0x209641(0x1d2));}[_0x7f6170(0x2d1)](){var _0x50aed1=_0x7f6170;const _0x2b7185=this[_0x50aed1(0x27b)]['getCurrentRevOfUnit'](this[_0x50aed1(0x2e9)]);return this[_0x50aed1(0x264)][_0x50aed1(0x477)]({'from':_0x2b7185,'to':0x0}),this[_0x50aed1(0x23a)][_0x50aed1(0x286)](_0x63229a['FetchingMissState'],this[_0x50aed1(0x2e9)],this[_0x50aed1(0x558)],null,[],null,[],this[_0x50aed1(0x264)]);}},_0x63229a[_0x7f6170(0x393)]=_0x548942([_0x19d416(0x3,_0x1e6ccd[_0x7f6170(0x22a)](_0x1a9a73[_0x7f6170(0x238)])),_0x19d416(0x4,_0x1e6ccd['Inject'](_0x1e6ccd[_0x7f6170(0x220)])),_0x19d416(0x5,_0x1e6ccd[_0x7f6170(0x224)]),_0x19d416(0x6,_0x1e6ccd[_0x7f6170(0x4ad)]),_0x19d416(0x7,_0x1e6ccd[_0x7f6170(0x30a)]),_0x19d416(0x8,_0x1a9a73[_0x7f6170(0x48a)]),_0x19d416(0x9,_0x1e6ccd[_0x7f6170(0x4cd)](_0x16e08f))],_0x63229a[_0x7f6170(0x393)]),_0x63229a['PendingState']=class extends _0x14bf53{constructor(_0x389f2c,_0x1d01d5,_0x1a702e,_0x5985c9,_0xbb6aac,_0x313132,_0x50be34,_0x3cfb23,_0x3471a4,_0xbc8be9,_0x429dd5,_0x2e9571,_0x1908c3,_0x1d7876){var _0x3f6fe4=_0x7f6170;super(_0x389f2c,_0x1d01d5,null,_0x1a702e,_0x5985c9,_0x3471a4,_0x1908c3,_0x313132,_0x1d7876),_0xf97e8c(this,_0x3f6fe4(0x3aa),'pending'),_0xf97e8c(this,_0x3f6fe4(0x2be),null),_0xf97e8c(this,_0x3f6fe4(0x4ea),null),(this[_0x3f6fe4(0x23a)]=_0xbb6aac,this[_0x3f6fe4(0x2f3)]=_0x50be34,this['_logService']=_0x3cfb23,this[_0x3f6fe4(0x372)]=_0xbc8be9,this[_0x3f6fe4(0x547)]=_0x429dd5,this[_0x3f6fe4(0x1e9)]=_0x2e9571);}['appendMutation'](_0x55b7e8){var _0x7b2911=_0x7f6170;return this[_0x7b2911(0x388)][_0x7b2911(0x327)](_0x55b7e8),this[_0x7b2911(0x300)](),this;}[_0x7f6170(0x1f7)](_0x5bde40){var _0x5d9bd6=_0x7f6170;if(this[_0x5d9bd6(0x256)](_0x5bde40))return this[_0x5d9bd6(0x2b6)](),this[_0x5d9bd6(0x23a)][_0x5d9bd6(0x286)](_0x63229a[_0x5d9bd6(0x246)],this[_0x5d9bd6(0x2e9)],this[_0x5d9bd6(0x558)],null,this[_0x5d9bd6(0x388)],null,[_0x5bde40],this[_0x5d9bd6(0x264)]);try{const _0x1b5c00=this['_transformService'][_0x5d9bd6(0x3c5)](_0x5bde40,this[_0x5d9bd6(0x388)]);if(_0x1a9a73['isTransformMutationsWithChangesetSuccess'](_0x1b5c00)){const {c1Prime:_0x285b00,m2Prime:_0x8a027b}=_0x1b5c00;this[_0x5d9bd6(0x3f9)](_0x285b00);const _0x2a1519=this['_injector'][_0x5d9bd6(0x286)](_0x63229a[_0x5d9bd6(0x40c)],this['unitID'],this['type'],_0x8a027b,this[_0x5d9bd6(0x264)]);this[_0x5d9bd6(0x2b6)]();const _0x58dbd6=new Date()[_0x5d9bd6(0x2da)](),_0x1401cc=this[_0x5d9bd6(0x2be)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x58dbd6,0x0):this['_getSendChangesetTimeout']();return _0x2a1519[_0x5d9bd6(0x315)](_0x1401cc),_0x2a1519;}throw _0x1b5c00[_0x5d9bd6(0x467)];}catch(_0x3b3ce1){return this['_logService'][_0x5d9bd6(0x467)](_0x3b3ce1),this[_0x5d9bd6(0x328)](!0x1);}}[_0x7f6170(0x46f)](){var _0x14dcaf=_0x7f6170;throw new Error(_0x14dcaf(0x313));}['onRemoteRej'](){var _0x2908a4=_0x7f6170;throw new Error(_0x2908a4(0x31a));}[_0x7f6170(0x445)](){return this;}[_0x7f6170(0x55a)](){var _0x48c9f6=_0x7f6170;return this['_clearScheduledTask'](),this['_injector'][_0x48c9f6(0x286)](_0x63229a['OfflineState'],this[_0x48c9f6(0x2e9)],this[_0x48c9f6(0x558)],null,this[_0x48c9f6(0x388)],this[_0x48c9f6(0x264)]);}['toggleOnline'](){return this;}[_0x7f6170(0x315)](_0x633f5e){var _0x2a10a4=_0x7f6170;const _0x2eebca=_0x633f5e!=null?_0x633f5e:this[_0x2a10a4(0x384)]();this[_0x2a10a4(0x2be)]=new Date()[_0x2a10a4(0x2da)]()+_0x2eebca,this[_0x2a10a4(0x4ea)]=setTimeout(()=>{var _0x189e6a=_0x2a10a4;this['_clearScheduledTask']();let _0x4e3448=null;switch(this['type']){case _0x391016['UNIVER_SHEET']:{_0x4e3448=_0x5d50dc(this[_0x189e6a(0x388)],this[_0x189e6a(0x2e9)],this[_0x189e6a(0x1e9)],this[_0x189e6a(0x27b)],this['_memberService']);break;}case _0x391016['UNIVER_DOC']:{this['_pendingMutations'][_0x189e6a(0x54c)](_0x2aa734=>_0x2aa734['id']===_0x43ec50[_0x189e6a(0x268)]['id'])?_0x4e3448=_0x44ca85(this[_0x189e6a(0x388)],this[_0x189e6a(0x2e9)],this[_0x189e6a(0x1e9)],this['_revisionService'],this[_0x189e6a(0x2f3)]):_0x4e3448=_0x5d50dc(this[_0x189e6a(0x388)],this[_0x189e6a(0x2e9)],this[_0x189e6a(0x1e9)],this[_0x189e6a(0x27b)],this[_0x189e6a(0x2f3)]);break;}default:throw new Error(_0x189e6a(0x52c)+this['type']+_0x189e6a(0x35b));}const {changeset:_0x3ddfc9,pendingMutations:_0x32c791}=_0x4e3448;this['_handler'][_0x189e6a(0x543)](_0x3ddfc9);const _0x423ac9=_0x32c791[_0x189e6a(0x3eb)]?this['_injector']['createInstance'](_0x63229a[_0x189e6a(0x371)],this[_0x189e6a(0x2e9)],this[_0x189e6a(0x558)],_0x3ddfc9,_0x32c791,this[_0x189e6a(0x264)],void 0x0):this[_0x189e6a(0x23a)][_0x189e6a(0x286)](_0x63229a['AwaitingState'],this[_0x189e6a(0x2e9)],this[_0x189e6a(0x558)],_0x3ddfc9,this[_0x189e6a(0x264)]);_0x423ac9[_0x189e6a(0x300)](),this[_0x189e6a(0x264)]['onStateChange'](this,_0x423ac9);},_0x2eebca);}[_0x7f6170(0x384)](){var _0x15e8b5=_0x7f6170,_0x2c479d;const _0x58a95=this['_configService'][_0x15e8b5(0x2d6)](_0x36ab8e);return(_0x2c479d=_0x58a95==null?void 0x0:_0x58a95[_0x15e8b5(0x1b6)])!=null?_0x2c479d:0x7d0;}[_0x7f6170(0x3e3)](){var _0x372d5b=_0x7f6170;throw new Error(_0x372d5b(0x524));}[_0x7f6170(0x2b6)](){var _0x5e214b=_0x7f6170;this['_sendingTimer']!=null&&(clearTimeout(this[_0x5e214b(0x4ea)]),this[_0x5e214b(0x4ea)]=null);}[_0x7f6170(0x328)](_0x54b8fe){var _0x5c5c56=_0x7f6170;return this[_0x5c5c56(0x2b6)](),this[_0x5c5c56(0x23a)]['createInstance'](_0x63229a[_0x5c5c56(0x339)],this[_0x5c5c56(0x2e9)],this[_0x5c5c56(0x558)],null,this[_0x5c5c56(0x388)],this[_0x5c5c56(0x264)],_0x54b8fe);}},_0x63229a['PendingState']=_0x548942([_0x19d416(0x4,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd[_0x7f6170(0x220)])),_0x19d416(0x5,_0x1e6ccd[_0x7f6170(0x22a)](_0x1a9a73[_0x7f6170(0x238)])),_0x19d416(0x6,_0x1e6ccd[_0x7f6170(0x22a)](_0x63229a[_0x7f6170(0x520)])),_0x19d416(0x7,_0x1e6ccd[_0x7f6170(0x30a)]),_0x19d416(0x8,_0x1e6ccd['ICommandService']),_0x19d416(0x9,_0x1e6ccd[_0x7f6170(0x3d4)]),_0x19d416(0xa,_0x1a9a73[_0x7f6170(0x48a)]),_0x19d416(0xb,_0x1e6ccd['IUniverInstanceService']),_0x19d416(0xc,_0x1e6ccd['IUndoRedoService']),_0x19d416(0xd,_0x1e6ccd[_0x7f6170(0x4cd)](_0x16e08f))],_0x63229a[_0x7f6170(0x40c)]),_0x63229a[_0x7f6170(0x545)]=class extends _0x14bf53{constructor(_0x598c16,_0x4526a8,_0x3325c2,_0x368a6d,_0x171242,_0x4e62b8,_0x2b4f75,_0x29b97f,_0x5ac2ba,_0x138bfd,_0x32150c){var _0x3bccc5=_0x7f6170;super(_0x598c16,_0x4526a8,_0x3325c2,[],_0x368a6d,_0x2b4f75,_0x138bfd,_0x4e62b8,_0x32150c),_0xf97e8c(this,'status','awaiting'),_0xf97e8c(this,'_resendTimeout',0x0),_0xf97e8c(this,_0x3bccc5(0x4c7),0x0),_0xf97e8c(this,_0x3bccc5(0x45c)),_0xf97e8c(this,_0x3bccc5(0x516)),(this[_0x3bccc5(0x23a)]=_0x171242,this[_0x3bccc5(0x4f7)]=_0x29b97f,this['_transformService']=_0x5ac2ba);}['appendMutation'](_0x2b829b){var _0x25b8dd=_0x7f6170;this['_clearScheduledTask']();const _0x2eea73=this['_injector'][_0x25b8dd(0x286)](_0x63229a[_0x25b8dd(0x371)],this[_0x25b8dd(0x2e9)],this[_0x25b8dd(0x558)],this['_awaitingChangeset'],[_0x2b829b],this[_0x25b8dd(0x264)],this[_0x25b8dd(0x45c)]);return _0x2eea73[_0x25b8dd(0x300)](),_0x2eea73;}[_0x7f6170(0x1f7)](_0x4daf67){var _0x3ae442=_0x7f6170;if(this['_checkMissing'](_0x4daf67))return this[_0x3ae442(0x2b6)](),this['_injector'][_0x3ae442(0x286)](_0x63229a[_0x3ae442(0x246)],this['unitID'],this[_0x3ae442(0x558)],this['_awaitingChangeset'],[],null,[_0x4daf67],this[_0x3ae442(0x264)]);try{const _0x22f692=this[_0x3ae442(0x547)][_0x3ae442(0x51e)]([_0x4daf67],[this[_0x3ae442(0x3d3)]],!0x1);if(_0x1a9a73['isTransformChangesetsSuccess'](_0x22f692)){const {c1Prime:_0x13d058,c2Prime:_0x32f731}=_0x22f692;this[_0x3ae442(0x3f9)](_0x13d058[0x0]),_0x32f731[0x0]['baseRev']=this[_0x3ae442(0x2ea)](),this[_0x3ae442(0x2b6)]();const _0x1e9fd0=this['_injector'][_0x3ae442(0x286)](_0x63229a[_0x3ae442(0x545)],this[_0x3ae442(0x2e9)],this['type'],_0x32f731[0x0],this[_0x3ae442(0x264)]);return _0x1e9fd0[_0x3ae442(0x300)](),_0x1e9fd0;}return this['_onConflict'](!0x1);}catch(_0x38f049){return this[_0x3ae442(0x4f7)][_0x3ae442(0x467)](_0x38f049),this[_0x3ae442(0x328)](!0x1);}}[_0x7f6170(0x46f)](_0x12302b){var _0x25ca80=_0x7f6170;this['_clearScheduledTask']();const _0x530cd5=this['_revisionService'][_0x25ca80(0x25b)](this['unitID']);if(_0x12302b[_0x25ca80(0x3da)]<_0x530cd5-0x1)return this;if(this['_checkMissing'](_0x12302b))return this[_0x25ca80(0x23a)][_0x25ca80(0x286)](_0x63229a[_0x25ca80(0x246)],this[_0x25ca80(0x2e9)],this[_0x25ca80(0x558)],null,[],this[_0x25ca80(0x3d3)],[],this[_0x25ca80(0x264)]);this['_incrementRevisionNumber']();const _0x35da40=this[_0x25ca80(0x23a)][_0x25ca80(0x286)](_0x63229a[_0x25ca80(0x393)],this['unitID'],this[_0x25ca80(0x558)],this[_0x25ca80(0x264)]);return _0x35da40[_0x25ca80(0x300)](),_0x35da40;}['onRemoteRej'](_0x5bf9dc){var _0x20521d=_0x7f6170;return this[_0x20521d(0x328)](!!(_0x5bf9dc!=null&&_0x5bf9dc[_0x20521d(0x41d)]));}[_0x7f6170(0x445)](_0x1240ca){var _0x1f5ac8=_0x7f6170;return this[_0x1f5ac8(0x4c7)]>_0x247bd5?this[_0x1f5ac8(0x55a)]():(this['_resendTimer']=_0x495e30(this[_0x1f5ac8(0x1c5)],{'timeout':this[_0x1f5ac8(0x1c5)],'reqId':_0x1240ca['reqId']}),this[_0x1f5ac8(0x516)]=this[_0x1f5ac8(0x45c)]['subscribe'](({reqId:_0x438f7b,timeout:_0x2e16da})=>{this['_resendWithTimeout'](_0x438f7b,_0x2e16da);}),this);}[_0x7f6170(0x55a)](){var _0x2f0820=_0x7f6170;return this[_0x2f0820(0x2b6)](),this[_0x2f0820(0x23a)][_0x2f0820(0x286)](_0x63229a['OfflineState'],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x2f0820(0x264)]);}[_0x7f6170(0x318)](){return this;}['resend'](){var _0x3cfe02=_0x7f6170;this[_0x3cfe02(0x264)][_0x3cfe02(0x543)](this['_awaitingChangeset']);}[_0x7f6170(0x328)](_0x202ec8){var _0x3dbd1b=_0x7f6170;return this[_0x3dbd1b(0x2b6)](),this['_injector'][_0x3dbd1b(0x286)](_0x63229a[_0x3dbd1b(0x339)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x3dbd1b(0x264)],_0x202ec8);}[_0x7f6170(0x1ec)](_0x8982a2,_0x56dde0){var _0x32b1b8=_0x7f6170,_0x1c9fe7;_0x8982a2===((_0x1c9fe7=this['_awaitingChangeset'])==null?void 0x0:_0x1c9fe7[_0x32b1b8(0x34c)])&&(this[_0x32b1b8(0x3e3)](),this['_resendTimeout']=_0x56dde0===0x0?0x3e8:Math[_0x32b1b8(0x4c2)](_0x56dde0*0x2,_0x2c608f),this[_0x32b1b8(0x4c7)]+=this[_0x32b1b8(0x1c5)]);}[_0x7f6170(0x2b6)](){var _0x51e0af=_0x7f6170,_0x2919a9;(_0x2919a9=this[_0x51e0af(0x516)])==null||_0x2919a9[_0x51e0af(0x379)](),this[_0x51e0af(0x1c5)]=0x0,this[_0x51e0af(0x4c7)]=0x0;}},_0x63229a['AwaitingState']=_0x548942([_0x19d416(0x4,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd[_0x7f6170(0x220)])),_0x19d416(0x5,_0x1e6ccd[_0x7f6170(0x22a)](_0x1a9a73['RevisionService'])),_0x19d416(0x6,_0x1e6ccd['ICommandService']),_0x19d416(0x7,_0x1e6ccd[_0x7f6170(0x30a)]),_0x19d416(0x8,_0x1a9a73[_0x7f6170(0x48a)]),_0x19d416(0x9,_0x1e6ccd[_0x7f6170(0x224)]),_0x19d416(0xa,_0x1e6ccd[_0x7f6170(0x4cd)](_0x16e08f))],_0x63229a[_0x7f6170(0x545)]),_0x63229a['AwaitingWithPendingState']=class extends _0x14bf53{constructor(_0x47047,_0x698d22,_0x5953b5,_0x5197ba,_0x4e40de,_0x3217d7,_0x34577d,_0x481ec3,_0x1ced4f,_0x25ca13,_0x182fb,_0x5dcdc3,_0x1ea7c5){var _0x5b8e65=_0x7f6170;super(_0x47047,_0x698d22,_0x5953b5,_0x5197ba,_0x4e40de,_0x1ced4f,_0x5dcdc3,_0x481ec3,_0x1ea7c5),_0xf97e8c(this,'status',_0x5b8e65(0x403)),_0xf97e8c(this,'_resendTimeout',0x0),_0xf97e8c(this,'_maxTotalRetryTimeout',0x0),_0xf97e8c(this,_0x5b8e65(0x45c)),_0xf97e8c(this,'_sender'),(this[_0x5b8e65(0x23a)]=_0x34577d,this[_0x5b8e65(0x4f7)]=_0x25ca13,this[_0x5b8e65(0x547)]=_0x182fb,this[_0x5b8e65(0x21d)]=_0x1ea7c5,_0x3217d7&&(this[_0x5b8e65(0x45c)]=_0x3217d7,this['_sender']=this[_0x5b8e65(0x45c)]['subscribe'](({reqId:_0x10e7ca,timeout:_0x58f994})=>{this['_resendWithTimeout'](_0x10e7ca,_0x58f994);})));}['appendMutation'](_0x123a08){var _0x3ac790=_0x7f6170;return this[_0x3ac790(0x388)]['push'](_0x123a08),this;}[_0x7f6170(0x1f7)](_0x3d55e3){var _0x4d24bb=_0x7f6170;if(this[_0x4d24bb(0x256)](_0x3d55e3))return this['_clearScheduledTask'](),this[_0x4d24bb(0x23a)][_0x4d24bb(0x286)](_0x63229a['FetchingMissState'],this['unitID'],this[_0x4d24bb(0x558)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x3d55e3],this[_0x4d24bb(0x264)]);try{const _0x56b125=this['_transformService'][_0x4d24bb(0x51e)]([_0x3d55e3],[this['_awaitingChangeset']],!0x1);if(_0x1a9a73[_0x4d24bb(0x32d)](_0x56b125)){const {c1Prime:_0x553aa2,c2Prime:_0x1c0b15}=_0x56b125,_0x3a23a9=this[_0x4d24bb(0x547)][_0x4d24bb(0x3c5)](_0x553aa2[0x0],this[_0x4d24bb(0x388)]);if(_0x1a9a73['isTransformMutationsWithChangesetSuccess'](_0x3a23a9)){const {c1Prime:_0x3e8be8,m2Prime:_0x1d9b7c}=_0x3a23a9;return this[_0x4d24bb(0x3f9)](_0x3e8be8),_0x1c0b15[0x0]['baseRev']=this[_0x4d24bb(0x2ea)](),this[_0x4d24bb(0x2b6)](),this[_0x4d24bb(0x23a)][_0x4d24bb(0x286)](_0x63229a[_0x4d24bb(0x371)],this['unitID'],this[_0x4d24bb(0x558)],_0x1c0b15[0x0],_0x1d9b7c,this[_0x4d24bb(0x264)],void 0x0);}throw _0x3a23a9[_0x4d24bb(0x467)];}throw _0x56b125['error'];}catch(_0x15134d){return this[_0x4d24bb(0x4f7)]['error'](_0x15134d),this[_0x4d24bb(0x328)](!0x1);}}[_0x7f6170(0x46f)](_0x3d16a2){var _0x180a78=_0x7f6170;if(this[_0x180a78(0x2b6)](),this[_0x180a78(0x256)](_0x3d16a2))return this[_0x180a78(0x23a)][_0x180a78(0x286)](_0x63229a[_0x180a78(0x246)],this['unitID'],this['type'],null,this[_0x180a78(0x388)],this[_0x180a78(0x3d3)],[],this[_0x180a78(0x264)]);this[_0x180a78(0x3a5)]();const _0xc5591f=this[_0x180a78(0x23a)][_0x180a78(0x286)](_0x63229a[_0x180a78(0x40c)],this['unitID'],this[_0x180a78(0x558)],this[_0x180a78(0x388)],this[_0x180a78(0x264)]);return _0xc5591f['_schedule'](),_0xc5591f[_0x180a78(0x300)](),_0xc5591f;}[_0x7f6170(0x2cb)](_0x226790){var _0x784097=_0x7f6170;return this['_onConflict'](!!(_0x226790!=null&&_0x226790[_0x784097(0x41d)]));}[_0x7f6170(0x445)](_0x1386d6){var _0x4c7a65=_0x7f6170;return this[_0x4c7a65(0x4c7)]>_0x247bd5?this[_0x4c7a65(0x55a)]():(this[_0x4c7a65(0x45c)]=_0x495e30(this[_0x4c7a65(0x1c5)],{'timeout':this[_0x4c7a65(0x1c5)],'reqId':_0x1386d6[_0x4c7a65(0x34c)]}),this[_0x4c7a65(0x516)]=this[_0x4c7a65(0x45c)][_0x4c7a65(0x500)](({reqId:_0x3d958a,timeout:_0x4a2b37})=>{var _0x39d8a9=_0x4c7a65;this[_0x39d8a9(0x1ec)](_0x3d958a,_0x4a2b37);}),this);}['toggleOffline'](){var _0x285258=_0x7f6170;return this['_clearScheduledTask'](),this[_0x285258(0x23a)][_0x285258(0x286)](_0x63229a[_0x285258(0x3d5)],this[_0x285258(0x2e9)],this[_0x285258(0x558)],this[_0x285258(0x3d3)],this[_0x285258(0x388)],this[_0x285258(0x264)]);}[_0x7f6170(0x318)](){return this;}[_0x7f6170(0x3e3)](){var _0x56890a=_0x7f6170;this[_0x56890a(0x264)][_0x56890a(0x543)](this['_awaitingChangeset']);}[_0x7f6170(0x328)](_0x31d591){var _0x3064e3=_0x7f6170;return this[_0x3064e3(0x2b6)](),this[_0x3064e3(0x23a)][_0x3064e3(0x286)](_0x63229a[_0x3064e3(0x339)],this[_0x3064e3(0x2e9)],this[_0x3064e3(0x558)],null,this['_pendingMutations'],this[_0x3064e3(0x264)],_0x31d591);}[_0x7f6170(0x1ec)](_0x599623,_0x504062){var _0xf6fac7=_0x7f6170,_0x3ed1c7;_0x599623===((_0x3ed1c7=this['_awaitingChangeset'])==null?void 0x0:_0x3ed1c7[_0xf6fac7(0x34c)])&&(this[_0xf6fac7(0x3e3)](),this[_0xf6fac7(0x1c5)]=_0x504062===0x0?0x3e8:Math['min'](_0x504062*0x2,_0x2c608f),this['_maxTotalRetryTimeout']+=this['_resendTimeout']);}[_0x7f6170(0x2b6)](){var _0x1e6c36=_0x7f6170,_0x23008c;(_0x23008c=this[_0x1e6c36(0x516)])==null||_0x23008c['unsubscribe'](),this[_0x1e6c36(0x1c5)]=0x0,this['_maxTotalRetryTimeout']=0x0;}},_0x63229a['AwaitingWithPendingState']=_0x548942([_0x19d416(0x6,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd[_0x7f6170(0x220)])),_0x19d416(0x7,_0x1e6ccd[_0x7f6170(0x22a)](_0x1a9a73[_0x7f6170(0x238)])),_0x19d416(0x8,_0x1e6ccd[_0x7f6170(0x4ad)]),_0x19d416(0x9,_0x1e6ccd[_0x7f6170(0x30a)]),_0x19d416(0xa,_0x1a9a73[_0x7f6170(0x48a)]),_0x19d416(0xb,_0x1e6ccd[_0x7f6170(0x224)]),_0x19d416(0xc,_0x1e6ccd['Optional'](_0x16e08f))],_0x63229a['AwaitingWithPendingState']),_0x63229a[_0x7f6170(0x339)]=class extends _0x14bf53{constructor(_0x2762e6,_0x4cb58a,_0x54a769,_0x4a94b1,_0x3e4e66,_0x28a1ea=!0x1,_0x27b3ac,_0x12d908,_0x277a48,_0xb68d88,_0x44446d,_0x19d0d1,_0x34f8da){var _0x55b98b=_0x7f6170;super(_0x2762e6,_0x4cb58a,_0x54a769,_0x4a94b1,_0x3e4e66,_0x12d908,_0x277a48,_0xb68d88,_0x34f8da),_0xf97e8c(this,_0x55b98b(0x3aa),_0x55b98b(0x40a)),(this[_0x55b98b(0x3f1)]=_0x28a1ea,this[_0x55b98b(0x49f)]=_0x27b3ac,this[_0x55b98b(0x1dc)]=_0x44446d,this[_0x55b98b(0x343)]=_0x19d0d1,this['localCacheService']=_0x34f8da,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x55b98b(0x3d7)]());}[_0x7f6170(0x228)](){return this;}[_0x7f6170(0x1f7)](){return this;}[_0x7f6170(0x46f)](){return this;}[_0x7f6170(0x2cb)](){return this;}[_0x7f6170(0x445)](){return this;}['toggleOffline'](){return this;}[_0x7f6170(0x318)](){return this;}['resend'](){var _0x3bd8f6=_0x7f6170;throw new Error(_0x3bd8f6(0x3e2));}['_clearLocalCache'](){var _0x347d3d=_0x7f6170,_0x535365;(_0x535365=this[_0x347d3d(0x51a)])==null||_0x535365[_0x347d3d(0x40f)](this[_0x347d3d(0x2e9)],this[_0x347d3d(0x558)],null,[]);}[_0x7f6170(0x438)](){var _0x54c321=_0x7f6170;this[_0x54c321(0x3f1)]?this[_0x54c321(0x343)][_0x54c321(0x518)]({'id':_0x3908d8[_0x54c321(0x35d)]}):this[_0x54c321(0x343)][_0x54c321(0x518)]({'id':_0x3908d8['CONFLICT']});}[_0x7f6170(0x3d7)](){var _0xbdfdfe=_0x7f6170;this[_0xbdfdfe(0x49f)]['updatePermissionPoint'](new _0x5298c8[(_0xbdfdfe(0x215))](this[_0xbdfdfe(0x2e9)])['id'],!0x1);}},_0x63229a[_0x7f6170(0x339)]=_0x548942([_0x19d416(0x6,_0x1e6ccd['Inject'](_0x1e6ccd[_0x7f6170(0x376)])),_0x19d416(0x7,_0x1e6ccd['ICommandService']),_0x19d416(0x8,_0x1e6ccd[_0x7f6170(0x224)]),_0x19d416(0x9,_0x1e6ccd['Inject'](_0x1a9a73[_0x7f6170(0x238)])),_0x19d416(0xa,_0x1e6ccd['Inject'](_0x1e6ccd['LocaleService'])),_0x19d416(0xb,_0x1e6ccd[_0x7f6170(0x22a)](_0x4e5888)),_0x19d416(0xc,_0x1e6ccd['Optional'](_0x16e08f))],_0x63229a[_0x7f6170(0x339)]),_0x63229a[_0x7f6170(0x3d5)]=class extends _0x14bf53{constructor(_0x176b7a,_0x21ed5a,_0x1fcd8d,_0x2240a8,_0x1e9184,_0x131b37,_0x39c786,_0x1c86de,_0x2a96cc,_0x240220){var _0x51a5cf=_0x7f6170;super(_0x176b7a,_0x21ed5a,_0x1fcd8d,_0x2240a8,_0x1e9184,_0x1c86de,_0x2a96cc,_0x39c786,_0x240220),_0xf97e8c(this,'status',_0x51a5cf(0x470)),this[_0x51a5cf(0x23a)]=_0x131b37;}[_0x7f6170(0x228)](_0x460b47){var _0x24e4f2=_0x7f6170;return this[_0x24e4f2(0x388)]['push'](_0x460b47),this[_0x24e4f2(0x300)](),this;}[_0x7f6170(0x1f7)](_0x298aba){var _0x1d7c94=_0x7f6170;throw new Error(_0x1d7c94(0x2a8));}[_0x7f6170(0x46f)](){var _0x55d6e5=_0x7f6170;throw new Error(_0x55d6e5(0x1e8));}[_0x7f6170(0x2cb)](){var _0x140da6=_0x7f6170;throw new Error(_0x140da6(0x361));}['onRemoteRetry'](){return this;}[_0x7f6170(0x55a)](){return this;}[_0x7f6170(0x318)](){var _0x3525ff=_0x7f6170;const {_injector:_0x5e026,_pendingMutations:_0x25d897,_awaitingChangeset:_0x2fda64,unitID:_0x1a8e9f,_handler:_0x1e83a3,type:_0x31d44f}=this,_0x4b056b=_0x577de9(_0x5e026,_0x1a8e9f,_0x31d44f,_0x2fda64,_0x25d897,_0x1e83a3);return _0x4b056b instanceof _0x63229a['PendingState']?_0x4b056b[_0x3525ff(0x315)]():(_0x4b056b instanceof _0x63229a['AwaitingWithPendingState']||_0x4b056b instanceof _0x63229a[_0x3525ff(0x545)])&&_0x4b056b[_0x3525ff(0x3e3)](),_0x4b056b;}[_0x7f6170(0x3e3)](){var _0x23794e=_0x7f6170;throw new Error(_0x23794e(0x446));}},_0x63229a[_0x7f6170(0x3d5)]=_0x548942([_0x19d416(0x5,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd[_0x7f6170(0x220)])),_0x19d416(0x6,_0x1e6ccd['Inject'](_0x1a9a73[_0x7f6170(0x238)])),_0x19d416(0x7,_0x1e6ccd[_0x7f6170(0x4ad)]),_0x19d416(0x8,_0x1e6ccd[_0x7f6170(0x224)]),_0x19d416(0x9,_0x1e6ccd[_0x7f6170(0x4cd)](_0x16e08f))],_0x63229a['OfflineState']),_0x63229a[_0x7f6170(0x246)]=class extends _0x14bf53{constructor(_0x4069c0,_0x440a2d,_0xffa272,_0x2df2bb,_0x3cc811,_0x9fc6bb,_0x5b4d23,_0x2fbc0a,_0x141e62,_0x445067,_0x51ca1c,_0x20ba80,_0x60f912,_0xd0ce1a){var _0x280f67=_0x7f6170;super(_0x4069c0,_0x440a2d,_0xffa272,_0x2df2bb,_0x5b4d23,_0x51ca1c,_0x20ba80,_0x141e62,_0xd0ce1a),_0xf97e8c(this,_0x280f67(0x3aa),'fetch_missing'),(this[_0x280f67(0x1cd)]=_0x3cc811,this[_0x280f67(0x556)]=_0x9fc6bb,this[_0x280f67(0x23a)]=_0x2fbc0a,this[_0x280f67(0x4f7)]=_0x445067,this[_0x280f67(0x547)]=_0x60f912,this[_0x280f67(0x21d)]=_0xd0ce1a);}['onMissedChangesetFetched'](_0x5ec0fa){var _0x2eef29=_0x7f6170;try{const _0xb09bd6=[..._0x5ec0fa,...this['_queuedRemoteChangesets']],_0x14dd80=[this[_0x2eef29(0x3d3)]||this[_0x2eef29(0x1cd)]]['filter'](_0x23a72a=>!!_0x23a72a);let _0x22f620,_0xb1991;if(_0x14dd80[_0x2eef29(0x3eb)]){const _0x433104=this[_0x2eef29(0x547)]['transformChangesets'](_0xb09bd6,_0x14dd80,!0x1);if(!_0x1a9a73[_0x2eef29(0x32d)](_0x433104))throw _0x433104['error'];_0x22f620=_0x433104[_0x2eef29(0x1d9)],_0xb1991=_0x433104['c2Prime'];}else _0x22f620=_0xb09bd6,_0xb1991=[];let _0x228f67=this[_0x2eef29(0x388)];_0x22f620[_0x2eef29(0x29c)](_0x35e685=>{var _0x270e2d=_0x2eef29;let _0x23a396;if(_0x228f67['length']){const _0x4387f7=this[_0x270e2d(0x547)][_0x270e2d(0x3c5)](_0x35e685,_0x228f67);if(!_0x1a9a73['isTransformMutationsWithChangesetSuccess'](_0x4387f7))throw _0x4387f7[_0x270e2d(0x467)];_0x23a396=_0x4387f7['c1Prime'],_0x228f67=_0x4387f7[_0x270e2d(0x4c1)];}else _0x23a396=_0x35e685;this[_0x270e2d(0x3f9)](_0x23a396);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2eef29(0x3a5)](),this[_0x2eef29(0x3d3)]&&_0xb1991[_0x2eef29(0x3eb)]&&(_0xb1991[0x0][_0x2eef29(0x42a)]=this[_0x2eef29(0x2ea)]());let _0x139cb9;if(this[_0x2eef29(0x3d3)]&&_0x228f67[_0x2eef29(0x3eb)]!==0x0)_0x139cb9=this[_0x2eef29(0x23a)]['createInstance'](_0x63229a[_0x2eef29(0x371)],this[_0x2eef29(0x2e9)],this[_0x2eef29(0x558)],_0xb1991[0x0],_0x228f67,this[_0x2eef29(0x264)],void 0x0);else{if(this[_0x2eef29(0x3d3)]&&_0x228f67[_0x2eef29(0x3eb)]===0x0)_0xb1991[0x0][_0x2eef29(0x42a)]=this[_0x2eef29(0x2ea)](),_0x139cb9=this[_0x2eef29(0x23a)][_0x2eef29(0x286)](_0x63229a[_0x2eef29(0x545)],this['unitID'],this[_0x2eef29(0x558)],_0xb1991[0x0],this[_0x2eef29(0x264)]);else{if(_0x228f67['length']!==0x0){const _0x253b70=this['_injector'][_0x2eef29(0x286)](_0x63229a[_0x2eef29(0x40c)],this[_0x2eef29(0x2e9)],this[_0x2eef29(0x558)],_0x228f67,this['_handler']);_0x253b70[_0x2eef29(0x315)](),_0x139cb9=_0x253b70;}else _0x139cb9=this[_0x2eef29(0x23a)][_0x2eef29(0x286)](_0x63229a[_0x2eef29(0x393)],this[_0x2eef29(0x2e9)],this[_0x2eef29(0x558)],this[_0x2eef29(0x264)]);}}return _0x139cb9[_0x2eef29(0x300)](),_0x139cb9;}catch(_0x20cadd){return this[_0x2eef29(0x4f7)][_0x2eef29(0x467)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x20cadd),this[_0x2eef29(0x23a)][_0x2eef29(0x286)](_0x63229a[_0x2eef29(0x339)],this[_0x2eef29(0x2e9)],this[_0x2eef29(0x558)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x2eef29(0x264)],!0x1);}}[_0x7f6170(0x3e3)](){var _0x183ca3=_0x7f6170;throw new Error(_0x183ca3(0x36a));}['appendMutation'](_0x3dcc2b){var _0x4303fd=_0x7f6170;return this[_0x4303fd(0x388)][_0x4303fd(0x327)](_0x3dcc2b),this;}[_0x7f6170(0x1f7)](_0x5354b2){var _0x322400=_0x7f6170;return this[_0x322400(0x556)][_0x322400(0x327)](_0x5354b2),this;}[_0x7f6170(0x46f)](_0x1aeb1c){var _0x5b5ae8=_0x7f6170;if(this[_0x5b5ae8(0x3d3)])return this[_0x5b5ae8(0x1cd)]=this['_awaitingChangeset'],this[_0x5b5ae8(0x3d3)]=null,this;throw new Error(_0x5b5ae8(0x39f));}[_0x7f6170(0x2cb)](_0x286636){var _0x4fc03d=_0x7f6170;return this[_0x4fc03d(0x328)](!!(_0x286636!=null&&_0x286636[_0x4fc03d(0x41d)]));}[_0x7f6170(0x445)](){return this;}[_0x7f6170(0x55a)](){var _0x4ca4cd=_0x7f6170;return this[_0x4ca4cd(0x23a)][_0x4ca4cd(0x286)](_0x63229a['OfflineState'],this['unitID'],this[_0x4ca4cd(0x558)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x4ca4cd(0x264)]);}['toggleOnline'](){return this;}[_0x7f6170(0x328)](_0x4f06cb){var _0x3b8b98=_0x7f6170;return this[_0x3b8b98(0x23a)][_0x3b8b98(0x286)](_0x63229a['ConflictState'],this['unitID'],this['type'],this[_0x3b8b98(0x3d3)],this[_0x3b8b98(0x388)],this['_handler'],_0x4f06cb);}},_0x63229a['FetchingMissState']=_0x548942([_0x19d416(0x7,_0x1e6ccd['Inject'](_0x1e6ccd[_0x7f6170(0x220)])),_0x19d416(0x8,_0x1e6ccd[_0x7f6170(0x22a)](_0x1a9a73[_0x7f6170(0x238)])),_0x19d416(0x9,_0x1e6ccd['ILogService']),_0x19d416(0xa,_0x1e6ccd[_0x7f6170(0x4ad)]),_0x19d416(0xb,_0x1e6ccd['IUndoRedoService']),_0x19d416(0xc,_0x1a9a73['ITransformService']),_0x19d416(0xd,_0x1e6ccd[_0x7f6170(0x4cd)](_0x16e08f))],_0x63229a[_0x7f6170(0x246)]);function _0x577de9(_0x38a36f,_0x57ae7f,_0xb1e7dd,_0x19121d,_0x1d81be,_0x2bec38){var _0xdae236=_0x7f6170;return _0x19121d&&_0x1d81be[_0xdae236(0x3eb)]?_0x38a36f[_0xdae236(0x286)](_0x63229a[_0xdae236(0x371)],_0x57ae7f,_0xb1e7dd,_0x19121d,_0x1d81be,_0x2bec38,void 0x0):_0x19121d?_0x38a36f['createInstance'](_0x63229a[_0xdae236(0x545)],_0x57ae7f,_0xb1e7dd,_0x19121d,_0x2bec38):_0x1d81be[_0xdae236(0x3eb)]?_0x38a36f[_0xdae236(0x286)](_0x63229a['PendingState'],_0x57ae7f,_0xb1e7dd,_0x1d81be,_0x2bec38):_0x38a36f['createInstance'](_0x63229a[_0xdae236(0x393)],_0x57ae7f,_0xb1e7dd,_0x2bec38);}var _0x5b5a1c=Object['getOwnPropertyDescriptor'],_0x2998a8=(_0xb21146,_0xf266ee,_0x4e7c1e,_0x52af8d)=>{var _0x13ebbc=_0x7f6170;for(var _0xd4efea=_0x52af8d>0x1?void 0x0:_0x52af8d?_0x5b5a1c(_0xf266ee,_0x4e7c1e):_0xf266ee,_0x508a20=_0xb21146[_0x13ebbc(0x3eb)]-0x1,_0x3658f2;_0x508a20>=0x0;_0x508a20--)(_0x3658f2=_0xb21146[_0x508a20])&&(_0xd4efea=_0x3658f2(_0xd4efea)||_0xd4efea);return _0xd4efea;},_0x425bd9=(_0x603b1e,_0x5c1174)=>(_0x4c1bbf,_0x5c8fd3)=>_0x5c1174(_0x4c1bbf,_0x5c8fd3,_0x603b1e);_0x63229a['CollaborationEntity']=class extends _0x1e6ccd[_0x7f6170(0x2fe)]{constructor(_0x21d13a,_0x431ff1,_0x5004ab,_0x2534cb,_0x4231ef,_0x4ffb17,_0xec80fb,_0x14ffb4,_0x417ab3,_0x30f095,_0x4e5312,_0x5cf0a3,_0x438eaf,_0x8f579d){var _0x1905f1=_0x7f6170;super(),_0xf97e8c(this,_0x1905f1(0x3db),new _0x5e254c[(_0x1905f1(0x39b))](null)),_0xf97e8c(this,_0x1905f1(0x39c),this[_0x1905f1(0x3db)][_0x1905f1(0x2e1)]()),_0xf97e8c(this,_0x1905f1(0x4a6)),_0xf97e8c(this,'_collaborationPaused',!0x1),_0xf97e8c(this,_0x1905f1(0x1d7),''),_0xf97e8c(this,_0x1905f1(0x260),0x0),_0xf97e8c(this,_0x1905f1(0x2f2),this[_0x1905f1(0x39c)][_0x1905f1(0x4b0)](_0x5e254c[_0x1905f1(0x334)](_0x2e2214=>_0x2e2214?_0x2e2214[_0x1905f1(0x3aa)]:_0x4c5bba[_0x1905f1(0x20e)]),_0x5e254c[_0x1905f1(0x3d0)](0x1))),_0xf97e8c(this,_0x1905f1(0x25e),!0x1),_0xf97e8c(this,'_remoteChangesetQueue',[]),(this[_0x1905f1(0x2e9)]=_0x21d13a,this[_0x1905f1(0x21e)]=_0x431ff1,this[_0x1905f1(0x2ee)]=_0x5004ab,this['_injector']=_0x2534cb,this['_compressMutationService']=_0x4231ef,this['_localeService']=_0x4ffb17,this[_0x1905f1(0x27b)]=_0xec80fb,this[_0x1905f1(0x561)]=_0x14ffb4,this[_0x1905f1(0x1e9)]=_0x417ab3,this[_0x1905f1(0x4f7)]=_0x30f095,this[_0x1905f1(0x382)]=_0x4e5312,this[_0x1905f1(0x49f)]=_0x5cf0a3,this[_0x1905f1(0x4e5)]=_0x438eaf,this[_0x1905f1(0x51a)]=_0x8f579d);}get['state'](){var _0x5ef455=_0x7f6170;return this[_0x5ef455(0x4a6)];}async[_0x7f6170(0x427)](){var _0x594c19=_0x7f6170;if(this[_0x594c19(0x415)])throw new Error(_0x594c19(0x1ca));await this[_0x594c19(0x464)]();}[_0x7f6170(0x3fe)](){return this['_collaborationPaused']=!0x0,_0x1e6ccd['toDisposable'](()=>{var _0x5a1c2c=_0x4166;this[_0x5a1c2c(0x540)]=!0x1,this[_0x5a1c2c(0x396)]();});}['onLocalMutation'](_0x3861a7){var _0xa1dd5b=_0x7f6170;this[_0xa1dd5b(0x24b)](_0x3861a7);}[_0x7f6170(0x3cc)](_0x5e6bfb){var _0x3a9e77=_0x7f6170;this[_0x3a9e77(0x4a6)]=_0x5e6bfb,this['_state$'][_0x3a9e77(0x2cc)](_0x5e6bfb);}async[_0x7f6170(0x464)](){var _0x5dd565=_0x7f6170,_0x297e09;this[_0x5dd565(0x3cc)](await this[_0x5dd565(0x414)]()),this['_singleActiveUnitService']&&((_0x297e09=this[_0x5dd565(0x4e5)])==null||_0x297e09['editingUnit'](this[_0x5dd565(0x2e9)]),this[_0x5dd565(0x1f3)](this[_0x5dd565(0x4e5)]['getUnitStatus$'](this[_0x5dd565(0x2e9)])['subscribe'](_0x57ce10=>{var _0x5f7be8=_0x5dd565;this[_0x5f7be8(0x4f7)][_0x5f7be8(0x344)](_0x5f7be8(0x4d5),'editing\x20status\x20changed\x20to',_0x57ce10),_0x57ce10===_0xd29664[_0x5f7be8(0x201)]?(this['_eventService'][_0x5f7be8(0x518)]({'id':_0x3908d8['OTHER_CLIENT_EDITING']}),this[_0x5f7be8(0x49f)][_0x5f7be8(0x225)](new _0x5298c8['WorkbookEditablePermission'](this[_0x5f7be8(0x2e9)])['id'],!0x1),this[_0x5f7be8(0x49f)][_0x5f7be8(0x37d)](!0x1)):(this[_0x5f7be8(0x49f)][_0x5f7be8(0x225)](new _0x5298c8[(_0x5f7be8(0x215))](this['unitID'])['id'],!0x0),this[_0x5f7be8(0x49f)][_0x5f7be8(0x37d)](!0x0));})));let _0x3d6c1a=!0x1;return this[_0x5dd565(0x1f3)](this['session']['sessionStatus$'][_0x5dd565(0x500)](_0x357b5d=>{var _0x14fcea=_0x5dd565;_0x357b5d===_0x165b16[_0x14fcea(0x4a2)]?this[_0x14fcea(0x44f)](_0x3d6c1a):_0x357b5d===_0x165b16[_0x14fcea(0x20e)]&&(_0x3d6c1a=!0x0,this[_0x14fcea(0x479)]());})),this[_0x5dd565(0x1f3)](this[_0x5dd565(0x21e)][_0x5dd565(0x444)]['subscribe'](_0x2fadda=>{var _0x4858f7=_0x5dd565;try{switch(_0x2fadda[_0x4858f7(0x3a7)]){case _0x1a9a73[_0x4858f7(0x2ec)]['NEW_CHANGESETS']:{this[_0x4858f7(0x262)](_0x1a9a73[_0x4858f7(0x554)](_0x2fadda[_0x4858f7(0x1b9)]));break;}case _0x1a9a73[_0x4858f7(0x2ec)][_0x4858f7(0x304)]:{this[_0x4858f7(0x26b)](_0x2fadda[_0x4858f7(0x1b9)]);break;}case _0x1a9a73['CollaborationEvent'][_0x4858f7(0x31d)]:{this[_0x4858f7(0x1f8)]();break;}case _0x1a9a73[_0x4858f7(0x2ec)][_0x4858f7(0x4f8)]:{this[_0x4858f7(0x4a9)](_0x2fadda[_0x4858f7(0x1b9)]);break;}case _0x1a9a73[_0x4858f7(0x2ec)][_0x4858f7(0x3ae)]:{this[_0x4858f7(0x509)](_0x2fadda[_0x4858f7(0x1b9)]['changesets'][_0x4858f7(0x334)](_0x3a02f2=>_0x1a9a73['parseProtocolChangeset'](_0x3a02f2)));break;}case _0x1a9a73['CollaborationEvent'][_0x4858f7(0x486)]:{this[_0x4858f7(0x1f8)]({'isPermissionRej':!0x0});break;}case _0x1a9a73['CollaborationEvent']['UNISCRIPT_RUN']:break;}}catch(_0x3b887e){throw console[_0x4858f7(0x467)]('Error\x20on\x20receiving\x20event',_0x3b887e),_0x3b887e;}})),this[_0x5dd565(0x4a6)];}[_0x7f6170(0x529)](){this['_transitionLocked']=!0x1;}[_0x7f6170(0x212)](){var _0x1b9049=_0x7f6170;if(this[_0x1b9049(0x25e)])throw new Error(_0x1b9049(0x4b3));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x30259e){var _0x41a140=_0x7f6170;this[_0x41a140(0x212)](),this[_0x41a140(0x3cc)](this[_0x41a140(0x4a6)][_0x41a140(0x228)](_0x30259e)),this[_0x41a140(0x529)]();}[_0x7f6170(0x262)](_0x5dfc56){var _0x11a874=_0x7f6170;if(!(_0x5dfc56[_0x11a874(0x3da)]<=this[_0x11a874(0x27b)][_0x11a874(0x25b)](this['unitID']))){if(this[_0x11a874(0x540)]){this[_0x11a874(0x461)]['push'](_0x5dfc56);return;}this['_applyRemoteChangeset'](_0x5dfc56);}}[_0x7f6170(0x396)](){var _0x1da9e5=_0x7f6170;this[_0x1da9e5(0x461)][_0x1da9e5(0x29c)](_0x482c82=>this[_0x1da9e5(0x32b)](_0x482c82)),this[_0x1da9e5(0x461)]=[];}[_0x7f6170(0x32b)](_0x5360f4){var _0x5a9c78=_0x7f6170;const _0x47f337=this[_0x5a9c78(0x2a6)][_0x5a9c78(0x218)]['fetchThroughInterceptors'](this[_0x5a9c78(0x2a6)][_0x5a9c78(0x218)][_0x5a9c78(0x502)]()[_0x5a9c78(0x2a4)])(_0x5360f4[_0x5a9c78(0x478)],null)||_0x5360f4[_0x5a9c78(0x478)],_0x25a0ba={..._0x5360f4,'mutations':_0x47f337};this[_0x5a9c78(0x212)](),this['_updateState'](this[_0x5a9c78(0x4a6)]['onRemoteChangeset'](_0x25a0ba)),this[_0x5a9c78(0x529)]();}[_0x7f6170(0x26b)](_0x286868){var _0x464678=_0x7f6170;this[_0x464678(0x212)](),this[_0x464678(0x3cc)](this[_0x464678(0x4a6)][_0x464678(0x46f)](_0x286868)),this[_0x464678(0x529)]();}['_onRemoteRejected'](_0x350309){var _0x1f088c=_0x7f6170;this[_0x1f088c(0x212)](),this[_0x1f088c(0x3cc)](this[_0x1f088c(0x4a6)][_0x1f088c(0x2cb)](_0x350309)),this[_0x1f088c(0x529)]();}[_0x7f6170(0x4a9)](_0x1994d0){var _0x482e07=_0x7f6170;this['_lockTransition'](),this['_updateState'](this[_0x482e07(0x4a6)]['onRemoteRetry'](_0x1994d0)),this['_unlockTransition']();}['_onFetchMissResult'](_0x23d949){var _0x5dff94=_0x7f6170;if(!(this[_0x5dff94(0x4a6)]instanceof _0x63229a[_0x5dff94(0x246)]))throw new TypeError(_0x5dff94(0x544));const _0x5c5e65=_0x23d949[_0x5dff94(0x334)](_0x3449e0=>{var _0x3c8a26=_0x5dff94;const _0x537625=this[_0x3c8a26(0x2a6)]['interceptor'][_0x3c8a26(0x45e)](this[_0x3c8a26(0x2a6)][_0x3c8a26(0x218)][_0x3c8a26(0x502)]()[_0x3c8a26(0x2a4)])(_0x3449e0[_0x3c8a26(0x478)],null)||_0x3449e0[_0x3c8a26(0x478)];return{..._0x3449e0,'mutations':_0x537625};});this[_0x5dff94(0x212)](),this[_0x5dff94(0x3cc)](this[_0x5dff94(0x4a6)][_0x5dff94(0x35c)](_0x5c5e65)),this[_0x5dff94(0x529)]();}[_0x7f6170(0x479)](){var _0x2f2d1f=_0x7f6170;this[_0x2f2d1f(0x212)](),this['_updateState'](this[_0x2f2d1f(0x4a6)]['toggleOffline']()),this['_unlockTransition']();}[_0x7f6170(0x44f)](_0x1fc4f3=!0x1){var _0x31fbfe=_0x7f6170;this[_0x31fbfe(0x212)](),this[_0x31fbfe(0x3cc)](this['_state'][_0x31fbfe(0x318)]()),this['_unlockTransition']();const _0xb00417=this[_0x31fbfe(0x4a6)];_0x1fc4f3&&_0xb00417 instanceof _0x63229a[_0x31fbfe(0x393)]&&(this['_lockTransition'](),this['_updateState'](_0xb00417[_0x31fbfe(0x2d1)]()),this[_0x31fbfe(0x529)]());}async['_createInitialState'](){return new Promise(_0x394bca=>{var _0x1b5619=_0x4166;this[_0x1b5619(0x21e)][_0x1b5619(0x3f6)]['pipe'](_0x5e254c['take'](0x1))[_0x1b5619(0x500)](async _0x2e87db=>{var _0x22c4c2=_0x1b5619;_0x394bca(await this[_0x22c4c2(0x2b1)](_0x2e87db===_0x165b16[_0x22c4c2(0x4a2)]));});});}[_0x7f6170(0x3ed)](){var _0x19c872=_0x7f6170;const _0x109432=this[_0x19c872(0x2e9)];return{'onStateChange':(_0x33eed5,_0x3fe020)=>{var _0x30251d=_0x19c872;if(_0x33eed5!==this['_state'])throw new Error(_0x30251d(0x1bb)+_0x33eed5[_0x30251d(0x3aa)]+_0x30251d(0x49c)+_0x3fe020[_0x30251d(0x3aa)]+_0x30251d(0x38e)+this[_0x30251d(0x4a6)][_0x30251d(0x3aa)]);this['_updateState'](_0x3fe020);},'onSendChangeset':_0x54e5b7=>{var _0x42930d=_0x19c872;_0x54e5b7[_0x42930d(0x200)]||(_0x54e5b7[_0x42930d(0x200)]=this[_0x42930d(0x1d7)],_0x54e5b7['reqId']=++this[_0x42930d(0x260)]);const _0x25eff2={'eventID':_0x1a9a73['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x54e5b7[_0x42930d(0x2e9)],'unitType':this['_type'],'changeset':_0x54e5b7,'memberID':this[_0x42930d(0x21e)][_0x42930d(0x3ce)]()}};this[_0x42930d(0x21e)][_0x42930d(0x2c9)](_0x25eff2,this['unitID']);},'onMissingChangesets':({from:_0x3469d6,to:_0x58155d})=>{var _0x236108=_0x19c872;this['_logService'][_0x236108(0x344)]('[CollaborationEntity]',_0x236108(0x47c)+_0x3469d6+_0x236108(0x207)+_0x58155d);const _0x5a6ac5={'eventID':_0x1a9a73[_0x236108(0x2ec)][_0x236108(0x476)],'data':{'unitID':_0x109432,'unitType':this['_type'],'from':_0x3469d6,'to':_0x58155d}};this[_0x236108(0x21e)][_0x236108(0x2c9)](_0x5a6ac5,this[_0x236108(0x2e9)]);}};}async['_createInitialStateImpl'](_0x10fe9d){var _0x395cf9=_0x7f6170,_0x42bd30,_0x3653c5,_0x3231d1;const _0xacf4ef=await((_0x42bd30=this['_localCacheService'])==null?void 0x0:_0x42bd30['loadOfflineData'](this[_0x395cf9(0x2e9)])),_0x21cef1=(_0x3653c5=_0xacf4ef==null?void 0x0:_0xacf4ef[_0x395cf9(0x478)])!=null?_0x3653c5:[],_0x2f9211=(_0x3231d1=_0xacf4ef==null?void 0x0:_0xacf4ef[_0x395cf9(0x289)])!=null?_0x3231d1:null,_0x41554e=!!(_0x2f9211!=null&&_0x2f9211[_0x395cf9(0x200)])&&!!(_0x2f9211!=null&&_0x2f9211[_0x395cf9(0x34c)]);this[_0x395cf9(0x1d7)]=_0x41554e?_0x2f9211[_0x395cf9(0x200)]:_0x1a9a73[_0x395cf9(0x38d)](),this[_0x395cf9(0x260)]=_0x41554e?_0x2f9211[_0x395cf9(0x34c)]:0x0;const _0x13e9e3=this[_0x395cf9(0x2e9)];try{this[_0x395cf9(0x506)](_0x2f9211,_0x21cef1);}catch(_0x33bc00){this[_0x395cf9(0x4f7)][_0x395cf9(0x467)](_0x33bc00);}const _0x58e1ea=this[_0x395cf9(0x3ed)]();if(_0x10fe9d){const _0x2096fa=_0x577de9(this['_injector'],_0x13e9e3,this[_0x395cf9(0x2ee)],_0x2f9211,_0x21cef1,_0x58e1ea);return _0x2096fa instanceof _0x63229a[_0x395cf9(0x40c)]?_0x2096fa[_0x395cf9(0x315)]():(_0x2096fa instanceof _0x63229a[_0x395cf9(0x371)]||_0x2096fa instanceof _0x63229a[_0x395cf9(0x545)])&&_0x2096fa['resend'](),_0x2096fa;}return this[_0x395cf9(0x23a)][_0x395cf9(0x286)](_0x63229a[_0x395cf9(0x3d5)],_0x13e9e3,this[_0x395cf9(0x2ee)],_0x2f9211,_0x21cef1,_0x58e1ea);}[_0x7f6170(0x506)](_0x11c00f,_0x4adfa3){var _0x3729d9=_0x7f6170,_0x19d48f,_0x4fa448;const _0x48f76f=this['_compressMutationService'][_0x3729d9(0x218)][_0x3729d9(0x45e)](this[_0x3729d9(0x2a6)]['interceptor']['getInterceptPoints']()[_0x3729d9(0x2a4)]);(_0x19d48f=_0x48f76f((_0x11c00f==null?void 0x0:_0x11c00f[_0x3729d9(0x478)])||[],null))==null||_0x19d48f[_0x3729d9(0x29c)](_0x40cfba=>this[_0x3729d9(0x382)]['executeCommand'](_0x40cfba['id'],_0x40cfba[_0x3729d9(0x432)])),(_0x4fa448=_0x48f76f(_0x4adfa3||[],null))==null||_0x4fa448[_0x3729d9(0x29c)](_0x221b6c=>this['_commandService'][_0x3729d9(0x3de)](_0x221b6c['id'],_0x221b6c[_0x3729d9(0x432)]));}},_0x63229a[_0x7f6170(0x448)]=_0x2998a8([_0x425bd9(0x3,_0x1e6ccd['Inject'](_0x1e6ccd[_0x7f6170(0x220)])),_0x425bd9(0x4,_0x1e6ccd[_0x7f6170(0x22a)](_0x1a9a73[_0x7f6170(0x3a2)])),_0x425bd9(0x5,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd[_0x7f6170(0x3fd)])),_0x425bd9(0x6,_0x1e6ccd['Inject'](_0x1a9a73[_0x7f6170(0x238)])),_0x425bd9(0x7,_0x1e6ccd[_0x7f6170(0x22a)](_0x4e5888)),_0x425bd9(0x8,_0x1e6ccd[_0x7f6170(0x299)]),_0x425bd9(0x9,_0x1e6ccd[_0x7f6170(0x30a)]),_0x425bd9(0xa,_0x1e6ccd[_0x7f6170(0x4ad)]),_0x425bd9(0xb,_0x1e6ccd[_0x7f6170(0x376)]),_0x425bd9(0xc,_0x1e6ccd[_0x7f6170(0x4cd)](_0xb79436)),_0x425bd9(0xd,_0x1e6ccd[_0x7f6170(0x4cd)](_0x16e08f))],_0x63229a[_0x7f6170(0x448)]),_0x63229a[_0x7f6170(0x37e)]=class extends _0x63229a[_0x7f6170(0x448)]{constructor(_0x38e3be,_0x2bc526,_0x3ad392,_0x4859d0,_0x3142a2,_0x1db8be,_0x3254d2,_0x387ea1,_0x59457d,_0x120100,_0x1ff645,_0x5b9b9f,_0x200e2e,_0x253704){var _0x16c3bc=_0x7f6170;super(_0x38e3be,_0x3ad392,_0x2bc526,_0x4859d0,_0x3142a2,_0x1db8be,_0x3254d2,_0x387ea1,_0x59457d,_0x120100,_0x1ff645,_0x5b9b9f,_0x200e2e,_0x253704),_0xf97e8c(this,_0x16c3bc(0x2d0),null),(this[_0x16c3bc(0x2e9)]=_0x38e3be,this[_0x16c3bc(0x558)]=_0x2bc526);}[_0x7f6170(0x312)](_0x2100c9){var _0x457285=_0x7f6170;this[_0x457285(0x2d0)]=_0x2100c9;}[_0x7f6170(0x55b)](){var _0x3a4b4c=_0x7f6170;this[_0x3a4b4c(0x2d0)]=null,super[_0x3a4b4c(0x55b)]();}[_0x7f6170(0x3ed)](){var _0x5619e8=_0x7f6170;const _0x43a758=super['_createHandler']();return _0x43a758['onTransformIME']=_0x49dc8e=>{var _0x36ec72=_0x4166,_0xd26986,_0x553634;return(_0x553634=(_0xd26986=this[_0x36ec72(0x2d0)])==null?void 0x0:_0xd26986[_0x36ec72(0x25a)])==null?void 0x0:_0x553634[_0x36ec72(0x226)](_0xd26986,_0x49dc8e);},_0x43a758[_0x5619e8(0x4f5)]=_0x432708=>{var _0x260399=_0x5619e8,_0x49b8e2,_0x31b888;return(_0x31b888=(_0x49b8e2=this[_0x260399(0x2d0)])==null?void 0x0:_0x49b8e2[_0x260399(0x4f5)])==null?void 0x0:_0x31b888[_0x260399(0x226)](_0x49b8e2,_0x432708);},_0x43a758['onTransformSelections']=_0x5bfe95=>{var _0x7139f7=_0x5619e8,_0x9951c0,_0x45d523;return(_0x45d523=(_0x9951c0=this['_handlerCallback'])==null?void 0x0:_0x9951c0[_0x7139f7(0x25f)])==null?void 0x0:_0x45d523[_0x7139f7(0x226)](_0x9951c0,_0x5bfe95);},_0x43a758[_0x5619e8(0x1fb)]=_0x3c0dc7=>{var _0x363091=_0x5619e8,_0x4affdc,_0x15874b;return(_0x15874b=(_0x4affdc=this['_handlerCallback'])==null?void 0x0:_0x4affdc[_0x363091(0x1fb)])==null?void 0x0:_0x15874b[_0x363091(0x226)](_0x4affdc,_0x3c0dc7);},_0x43a758[_0x5619e8(0x3a3)]=_0x15dacf=>{var _0x57231f=_0x5619e8,_0x466210,_0x5c36cb,_0x1a549d;if(!((_0x466210=this['_handlerCallback'])!=null&&_0x466210[_0x57231f(0x3a3)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1a549d=(_0x5c36cb=this[_0x57231f(0x2d0)])==null?void 0x0:_0x5c36cb['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1a549d[_0x57231f(0x226)](_0x5c36cb,_0x15dacf);},_0x43a758[_0x5619e8(0x4fe)]=_0x8adf38=>{var _0x1ea59c=_0x5619e8,_0x266c5a,_0x3f2020,_0x4230ae;if(!((_0x266c5a=this[_0x1ea59c(0x2d0)])!=null&&_0x266c5a[_0x1ea59c(0x4fe)]))throw new Error(_0x1ea59c(0x4be));return(_0x4230ae=(_0x3f2020=this[_0x1ea59c(0x2d0)])==null?void 0x0:_0x3f2020[_0x1ea59c(0x4fe)])==null?void 0x0:_0x4230ae[_0x1ea59c(0x226)](_0x3f2020,_0x8adf38);},_0x43a758;}async['_init'](){var _0x4b34ee=_0x7f6170;const _0x1cac50=await super[_0x4b34ee(0x464)]();return this[_0x4b34ee(0x1f3)](this['_commandService']['onMutationExecutedForCollab']((_0x58fc7b,_0x28f94b)=>{var _0x1f4e9b=_0x4b34ee;if(_0x58fc7b[_0x1f4e9b(0x558)]!==_0x1e6ccd[_0x1f4e9b(0x3e6)][_0x1f4e9b(0x2b2)]||_0x28f94b!=null&&_0x28f94b['fromCollab']||_0x28f94b!=null&&_0x28f94b[_0x1f4e9b(0x24a)]||_0x58fc7b['id']===_0x43ec50[_0x1f4e9b(0x268)]['id'])return;const _0x38760b=_0x58fc7b[_0x1f4e9b(0x432)];if((_0x38760b==null?void 0x0:_0x38760b[_0x1f4e9b(0x24f)])!==this[_0x1f4e9b(0x2e9)])return;const _0x4bf129=_0x58fc7b,_0x9e5ab2=this['_compressMutationService'][_0x1f4e9b(0x218)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x1f4e9b(0x218)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x4bf129],this['_univerInstanceService'])||[_0x4bf129];this['_onLocalMutation'](_0x9e5ab2[0x0]);})),_0x1cac50;}},_0x63229a[_0x7f6170(0x37e)]=_0x2998a8([_0x425bd9(0x3,_0x1e6ccd['Inject'](_0x1e6ccd[_0x7f6170(0x220)])),_0x425bd9(0x4,_0x1e6ccd[_0x7f6170(0x22a)](_0x1a9a73[_0x7f6170(0x3a2)])),_0x425bd9(0x5,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd['LocaleService'])),_0x425bd9(0x6,_0x1e6ccd[_0x7f6170(0x22a)](_0x1a9a73[_0x7f6170(0x238)])),_0x425bd9(0x7,_0x1e6ccd[_0x7f6170(0x22a)](_0x4e5888)),_0x425bd9(0x8,_0x1e6ccd[_0x7f6170(0x299)]),_0x425bd9(0x9,_0x1e6ccd['ILogService']),_0x425bd9(0xa,_0x1e6ccd[_0x7f6170(0x4ad)]),_0x425bd9(0xb,_0x1e6ccd[_0x7f6170(0x376)]),_0x425bd9(0xc,_0x1e6ccd[_0x7f6170(0x4cd)](_0xb79436)),_0x425bd9(0xd,_0x1e6ccd[_0x7f6170(0x4cd)](_0x16e08f))],_0x63229a[_0x7f6170(0x37e)]),_0x63229a['SheetCollaborationEntity']=class extends _0x63229a[_0x7f6170(0x448)]{constructor(_0x355eda,_0x1236a6,_0x371927,_0x2ae4c1,_0x34cfec,_0x5d330e,_0x45000b,_0x2d1b4f,_0x51c71b,_0x5604ce,_0x27bf80,_0x29ae2f,_0x966bcf,_0x4620ab,_0x4c1975){var _0x5e89db=_0x7f6170;super(_0x355eda,_0x371927,_0x1236a6,_0x2ae4c1,_0x34cfec,_0x5d330e,_0x45000b,_0x51c71b,_0x5604ce,_0x27bf80,_0x29ae2f,_0x966bcf,_0x4620ab,_0x4c1975),this['unitID']=_0x355eda,this[_0x5e89db(0x558)]=_0x1236a6,this[_0x5e89db(0x28c)]=_0x2d1b4f;}['_createHandler'](){var _0x3e6cf4=_0x7f6170;const _0x4e4a0d=super[_0x3e6cf4(0x3ed)]();return _0x4e4a0d[_0x3e6cf4(0x25f)]=_0x120142=>this['_sheetTransformSelectionsService'][_0x3e6cf4(0x2fb)](_0x120142),_0x4e4a0d;}async[_0x7f6170(0x464)](){var _0xb78c02=_0x7f6170;const _0x79bca6=await super[_0xb78c02(0x464)]();return this[_0xb78c02(0x1f3)](this['_commandService'][_0xb78c02(0x271)]((_0x4f8ea5,_0xf29231)=>{var _0x2d264d=_0xb78c02;if(_0x4f8ea5['type']!==_0x1e6ccd[_0x2d264d(0x3e6)]['MUTATION']||_0xf29231!=null&&_0xf29231[_0x2d264d(0x4da)]||_0xf29231!=null&&_0xf29231[_0x2d264d(0x24a)])return;const _0x5f165a=_0x4f8ea5[_0x2d264d(0x432)];if((_0x5f165a==null?void 0x0:_0x5f165a[_0x2d264d(0x24f)])!==this[_0x2d264d(0x2e9)])return;const _0x488fb5=_0x4f8ea5,_0x722a6c=this[_0x2d264d(0x2a6)][_0x2d264d(0x218)][_0x2d264d(0x45e)](this[_0x2d264d(0x2a6)]['interceptor'][_0x2d264d(0x502)]()[_0x2d264d(0x406)])([_0x488fb5],this['_univerInstanceService'])||[_0x488fb5];this[_0x2d264d(0x24b)](_0x722a6c[0x0]);})),_0x79bca6;}},_0x63229a[_0x7f6170(0x1f4)]=_0x2998a8([_0x425bd9(0x3,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd[_0x7f6170(0x220)])),_0x425bd9(0x4,_0x1e6ccd[_0x7f6170(0x22a)](_0x1a9a73[_0x7f6170(0x3a2)])),_0x425bd9(0x5,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd[_0x7f6170(0x3fd)])),_0x425bd9(0x6,_0x1e6ccd[_0x7f6170(0x22a)](_0x1a9a73[_0x7f6170(0x238)])),_0x425bd9(0x7,_0x1e6ccd[_0x7f6170(0x22a)](_0x63229a[_0x7f6170(0x280)])),_0x425bd9(0x8,_0x1e6ccd[_0x7f6170(0x22a)](_0x4e5888)),_0x425bd9(0x9,_0x1e6ccd['IUniverInstanceService']),_0x425bd9(0xa,_0x1e6ccd[_0x7f6170(0x30a)]),_0x425bd9(0xb,_0x1e6ccd[_0x7f6170(0x4ad)]),_0x425bd9(0xc,_0x1e6ccd['IPermissionService']),_0x425bd9(0xd,_0x1e6ccd['Optional'](_0xb79436)),_0x425bd9(0xe,_0x1e6ccd[_0x7f6170(0x4cd)](_0x16e08f))],_0x63229a[_0x7f6170(0x1f4)]);const _0x4a16c0=_0x1e6ccd['createIdentifier'](_0x7f6170(0x2e4));function _0xcc8786(_0xaf5c89){var _0x8276a4=_0x7f6170,_0xe7bd3,_0x56e6c3,_0xa575a2,_0x4b68f4,_0x7c1e39;const _0x5b65b1=_0xaf5c89[_0x8276a4(0x1b9)],_0x19ad06=JSON['parse'](_0x5b65b1);switch(_0x19ad06[_0x8276a4(0x45b)]){case _0xebaad7[_0x8276a4(0x452)]:case _0xebaad7[_0x8276a4(0x37f)]:{const _0x268ff4=_0x19ad06[_0x8276a4(0x274)];return{..._0x19ad06,'data':_0x268ff4,'cmd':_0x19ad06[_0x8276a4(0x45b)]};}case _0xebaad7['JOIN']:{const _0x28cc0f=_0x19ad06['joinRsp'];return{..._0x19ad06,'data':_0x28cc0f,'cmd':_0x19ad06[_0x8276a4(0x45b)]};}case _0xebaad7['RECV']:{const _0x7f6918=_0x19ad06['collaMsg'];switch(_0x7f6918[_0x8276a4(0x3a7)]){case _0x1a9a73[_0x8276a4(0x2ec)]['PERMISSION_REJ']:return{..._0x19ad06,'data':{..._0x7f6918,'data':(_0xe7bd3=_0x7f6918[_0x8276a4(0x1dd)])==null?void 0x0:_0xe7bd3['cs']},'cmd':_0x19ad06[_0x8276a4(0x45b)]};case _0x1a9a73[_0x8276a4(0x2ec)][_0x8276a4(0x304)]:return{..._0x19ad06,'data':{..._0x7f6918,'data':(_0x56e6c3=_0x7f6918[_0x8276a4(0x214)])==null?void 0x0:_0x56e6c3['cs']},'cmd':_0x19ad06[_0x8276a4(0x45b)]};case _0x1a9a73[_0x8276a4(0x2ec)]['NEW_CHANGESETS']:return{..._0x19ad06,'data':{..._0x7f6918,'data':(_0xa575a2=_0x7f6918[_0x8276a4(0x263)])==null?void 0x0:_0xa575a2['cs']},'cmd':_0x19ad06[_0x8276a4(0x45b)]};case _0x1a9a73['CollaborationEvent'][_0x8276a4(0x31d)]:return{..._0x19ad06,'data':{..._0x7f6918,'data':(_0x4b68f4=_0x7f6918[_0x8276a4(0x491)])==null?void 0x0:_0x4b68f4['cs']},'cmd':_0x19ad06['cmd']};case _0x1a9a73[_0x8276a4(0x2ec)][_0x8276a4(0x4f8)]:return{..._0x19ad06,'data':{..._0x7f6918,'data':(_0x7c1e39=_0x7f6918[_0x8276a4(0x459)])==null?void 0x0:_0x7c1e39['cs']},'cmd':_0x19ad06[_0x8276a4(0x45b)]};case _0x1a9a73[_0x8276a4(0x2ec)]['UPDATE_CURSOR']:return{..._0x19ad06,'data':{..._0x7f6918,'data':_0x7f6918[_0x8276a4(0x332)]},'cmd':_0x19ad06[_0x8276a4(0x45b)]};case _0x1a9a73[_0x8276a4(0x2ec)]['USERS_ENTER']:return{..._0x19ad06,'data':{..._0x7f6918,'data':_0x7f6918[_0x8276a4(0x46e)]},'cmd':_0x19ad06['cmd']};case _0x1a9a73[_0x8276a4(0x2ec)][_0x8276a4(0x469)]:return{..._0x19ad06,'data':{..._0x7f6918,'data':_0x7f6918['leaveEvent']},'cmd':_0x19ad06['cmd']};case _0x1a9a73[_0x8276a4(0x2ec)]['LIVESHARE_NEW_HOST']:return{..._0x19ad06,'data':{..._0x7f6918,'data':_0x7f6918[_0x8276a4(0x378)]},'cmd':_0x19ad06[_0x8276a4(0x45b)]};case _0x1a9a73[_0x8276a4(0x2ec)][_0x8276a4(0x527)]:case _0x1a9a73[_0x8276a4(0x2ec)][_0x8276a4(0x30b)]:return{..._0x19ad06,'data':{..._0x7f6918,'data':_0x7f6918[_0x8276a4(0x381)]},'cmd':_0x19ad06[_0x8276a4(0x45b)]};case _0x1a9a73['CollaborationEvent'][_0x8276a4(0x21b)]:return{..._0x19ad06,'data':{..._0x7f6918,'data':_0x7f6918[_0x8276a4(0x378)]},'cmd':_0x19ad06['cmd']};case _0x1a9a73[_0x8276a4(0x2ec)][_0x8276a4(0x3ec)]:return{..._0x19ad06,'data':_0x7f6918,'cmd':_0x19ad06[_0x8276a4(0x45b)]};case _0x1a9a73['CollaborationEvent'][_0x8276a4(0x1c3)]:return{..._0x19ad06,'data':{..._0x7f6918,'data':_0x7f6918['commentUpdateEvent']},'cmd':_0x19ad06[_0x8276a4(0x45b)]};case _0x1a9a73[_0x8276a4(0x2ec)][_0x8276a4(0x2d7)]:return{..._0x19ad06,'data':{..._0x7f6918,'data':_0x7f6918['updatePermissionObjEvent']},'cmd':_0x19ad06[_0x8276a4(0x45b)]};case _0x1a9a73[_0x8276a4(0x2ec)]['SHOULD_CLOSE_CONN']:return{..._0x19ad06,'data':{..._0x7f6918,'data':_0x7f6918[_0x8276a4(0x1fc)]},'cmd':_0x19ad06['cmd']};case _0x1a9a73['CollaborationEvent']['UNISCRIPT_RUN']:return{..._0x19ad06,'data':{..._0x7f6918,'data':_0x7f6918[_0x8276a4(0x33c)]},'cmd':_0x19ad06[_0x8276a4(0x45b)]};default:return _0x19ad06;}}default:return _0x19ad06;}}function _0x21750b(_0x13dd88){var _0x253df9=_0x7f6170;switch(_0x13dd88[_0x253df9(0x45b)]){case _0xebaad7[_0x253df9(0x452)]:case _0xebaad7['HELLO']:return JSON[_0x253df9(0x4a7)]({'cmd':_0x13dd88[_0x253df9(0x45b)],'routeKey':_0x13dd88['routeKey']});case _0xebaad7[_0x253df9(0x3ad)]:{let _0x535310;switch(_0x13dd88[_0x253df9(0x1b9)][_0x253df9(0x3a7)]){case _0x1a9a73[_0x253df9(0x2ec)][_0x253df9(0x3a4)]:{_0x535310={'eventID':_0x1a9a73[_0x253df9(0x2ec)]['UPDATE_CURSOR'],'updateCursorEvent':_0x13dd88[_0x253df9(0x1b9)]['data']};break;}case _0x1a9a73[_0x253df9(0x2ec)][_0x253df9(0x469)]:{_0x535310={'eventID':_0x1a9a73[_0x253df9(0x2ec)][_0x253df9(0x469)],'leaveEvent':_0x13dd88['data']['data']};break;}case _0x1a9a73[_0x253df9(0x2ec)][_0x253df9(0x41f)]:{_0x535310={'eventID':_0x1a9a73[_0x253df9(0x2ec)]['USERS_ENTER'],'joinEvent':_0x13dd88[_0x253df9(0x1b9)][_0x253df9(0x1b9)]};break;}case _0x1a9a73[_0x253df9(0x2ec)]['LIVESHARE_NEW_HOST']:{_0x535310={'eventID':_0x1a9a73[_0x253df9(0x2ec)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x13dd88[_0x253df9(0x1b9)][_0x253df9(0x1b9)]};break;}case _0x1a9a73[_0x253df9(0x2ec)]['LIVESHARE_OPERATION']:{_0x535310={'eventID':_0x1a9a73[_0x253df9(0x2ec)][_0x253df9(0x30b)],'liveShareOperation':_0x13dd88['data'][_0x253df9(0x1b9)]};break;}case _0x1a9a73[_0x253df9(0x2ec)][_0x253df9(0x21b)]:{_0x535310={'eventID':_0x1a9a73[_0x253df9(0x2ec)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x13dd88[_0x253df9(0x1b9)][_0x253df9(0x1b9)]};break;}case _0x1a9a73[_0x253df9(0x2ec)][_0x253df9(0x513)]:{_0x535310={'eventID':_0x1a9a73['CollaborationEvent'][_0x253df9(0x513)],'liveShareRequestHost':_0x13dd88['data'][_0x253df9(0x1b9)]};break;}case _0x1a9a73['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x535310={'eventID':_0x1a9a73[_0x253df9(0x2ec)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x535310={'eventID':_0x13dd88['data'][_0x253df9(0x3a7)]};}return JSON[_0x253df9(0x4a7)]({'cmd':_0x13dd88[_0x253df9(0x45b)],'routeKey':_0x13dd88[_0x253df9(0x43d)],'collaMsg':_0x535310});}case _0xebaad7[_0x253df9(0x32a)]:return JSON['stringify']({'cmd':_0x13dd88[_0x253df9(0x45b)],'routeKey':_0x13dd88[_0x253df9(0x43d)],'joinReq':_0x13dd88[_0x253df9(0x1b9)]});case _0xebaad7['LEAVE']:return JSON[_0x253df9(0x4a7)]({'cmd':_0x13dd88[_0x253df9(0x45b)],'routeKey':_0x13dd88[_0x253df9(0x43d)],'leaveReq':_0x13dd88[_0x253df9(0x1b9)]});default:throw new Error(_0x253df9(0x514));}}var _0x3966fc=Object[_0x7f6170(0x46a)],_0x4dbee6=(_0x4a99b0,_0x3f412b,_0x1183bc,_0x15eb22)=>{var _0x3c724e=_0x7f6170;for(var _0x47b6d9=_0x15eb22>0x1?void 0x0:_0x15eb22?_0x3966fc(_0x3f412b,_0x1183bc):_0x3f412b,_0x1fad3a=_0x4a99b0[_0x3c724e(0x3eb)]-0x1,_0x115370;_0x1fad3a>=0x0;_0x1fad3a--)(_0x115370=_0x4a99b0[_0x1fad3a])&&(_0x47b6d9=_0x115370(_0x47b6d9)||_0x47b6d9);return _0x47b6d9;},_0x473dab=(_0x12e00a,_0x4ef885)=>(_0x51005d,_0x3077a5)=>_0x4ef885(_0x51005d,_0x3077a5,_0x12e00a);const _0x2c9fa7=_0x1e6ccd['createIdentifier']('univer-pro.collaboration-client-socket-service');function _0x31a385(_0x32b5f8,_0x2a6636,_0x420b3f){var _0x38b56c=_0x7f6170;return _0x32b5f8+'/'+_0x2a6636+_0x38b56c(0x4a8)+_0x420b3f+_0x38b56c(0x2d5);}_0x63229a[_0x7f6170(0x366)]=class extends _0x1e6ccd[_0x7f6170(0x30d)]{constructor(_0x26eef3,_0x34caf5,_0x4df7c1,_0x51f93a,_0x2d0273){var _0x168904=_0x7f6170;super(),this[_0x168904(0x23a)]=_0x26eef3,this[_0x168904(0x52b)]=_0x34caf5,this[_0x168904(0x372)]=_0x4df7c1,this[_0x168904(0x4f7)]=_0x51f93a,this['_snapshotServerService']=_0x2d0273;}[_0x7f6170(0x386)](_0x25272d){var _0x5e8c8f=_0x7f6170;const _0x5f20ba=this['_injector']['get'](_0x442c2c[_0x5e8c8f(0x451)]);if(!_0x5f20ba)throw new Error(_0x5e8c8f(0x34b));const _0x1d9f0e=_0x5f20ba[_0x5e8c8f(0x2a7)](_0x25272d);if(!_0x1d9f0e)throw new Error(_0x5e8c8f(0x41a));const _0x434ed2=new _0x1e6ccd[(_0x5e8c8f(0x244))](),_0x53fcbb=new _0x5e254c[(_0x5e8c8f(0x45a))]();_0x434ed2[_0x5e8c8f(0x4d7)](_0x1d9f0e[_0x5e8c8f(0x3ef)][_0x5e8c8f(0x500)](_0x272756=>_0x53fcbb[_0x5e8c8f(0x2cc)](_0x272756))),_0x434ed2[_0x5e8c8f(0x4d7)](_0x1e6ccd[_0x5e8c8f(0x254)](()=>_0x53fcbb[_0x5e8c8f(0x30f)]()));const _0x19ce43=new _0x5e254c[(_0x5e8c8f(0x45a))]();_0x434ed2[_0x5e8c8f(0x4d7)](_0x1d9f0e[_0x5e8c8f(0x4cb)][_0x5e8c8f(0x500)](_0x128f8b=>_0x19ce43[_0x5e8c8f(0x2cc)](_0x128f8b))),_0x434ed2[_0x5e8c8f(0x4d7)](_0x1e6ccd['toDisposable'](()=>_0x19ce43[_0x5e8c8f(0x30f)]()));const _0x429e38=new _0x5e254c[(_0x5e8c8f(0x45a))]();_0x434ed2[_0x5e8c8f(0x4d7)](_0x1d9f0e[_0x5e8c8f(0x505)][_0x5e8c8f(0x500)](_0x2f00a3=>{var _0x263143=_0x5e8c8f;const _0x2f3c67=_0xcc8786(_0x2f00a3);_0x429e38[_0x263143(0x2cc)](_0x2f3c67);})),_0x434ed2[_0x5e8c8f(0x4d7)](_0x1e6ccd[_0x5e8c8f(0x254)](()=>_0x429e38[_0x5e8c8f(0x30f)]()));let _0x3bf3e2;const _0x52f675=()=>{var _0x4303fe=_0x5e8c8f;_0x19ce43['next'](new Event('connection\x20error')),_0x53fcbb[_0x4303fe(0x2cc)](new Event(_0x4303fe(0x472))),_0x3bf3e2[_0x4303fe(0x36f)]();};return _0x3bf3e2={'memberID':'','close$':_0x53fcbb[_0x5e8c8f(0x2e1)](),'error$':_0x19ce43[_0x5e8c8f(0x2e1)](),'open$':_0x1d9f0e['open$'],'message$':_0x429e38[_0x5e8c8f(0x2e1)](),'send':_0x469b81=>{var _0x493566=_0x5e8c8f;if(_0x469b81['cmd']===_0xebaad7['INGEST']){if(_0x469b81[_0x493566(0x1b9)][_0x493566(0x3a7)]===_0x1a9a73[_0x493566(0x2ec)][_0x493566(0x4e6)]){this[_0x493566(0x3c6)](_0x3bf3e2,_0x469b81[_0x493566(0x1b9)])[_0x493566(0x47d)](_0xfab857=>{var _0x3571bb=_0x493566;this[_0x3571bb(0x4f7)][_0x3571bb(0x467)](_0xfab857),_0x52f675();});return;}if(_0x469b81[_0x493566(0x1b9)][_0x493566(0x3a7)]===_0x1a9a73['CollaborationEvent'][_0x493566(0x476)]){const _0x27318f=_0x469b81['data'];this[_0x493566(0x317)](_0x27318f)['then'](_0x2f1ad2=>{var _0x351f24=_0x493566;_0x429e38[_0x351f24(0x2cc)]({'cmd':_0xebaad7[_0x351f24(0x301)],'code':_0x2b0e2a['OK'],'routeKey':_0x27318f[_0x351f24(0x1b9)]['unitID'],'routeType':'','data':{'eventID':_0x1a9a73[_0x351f24(0x2ec)][_0x351f24(0x3ae)],'data':{'changesets':_0x2f1ad2}}});})[_0x493566(0x47d)](_0x23f370=>{var _0x1bf928=_0x493566;this[_0x1bf928(0x4f7)][_0x1bf928(0x467)](_0x23f370),_0x52f675();});return;}}_0x1d9f0e[_0x493566(0x2c9)](_0x21750b(_0x469b81));},'close':()=>{var _0x3f03e7=_0x5e8c8f;_0x1d9f0e[_0x3f03e7(0x36f)](),_0x434ed2[_0x3f03e7(0x55b)]();}},_0x3bf3e2;}async['_submitChangeset'](_0x35a9a0,_0x319e5a){var _0xff67b3=_0x7f6170,_0x2dfdab;const {unitType:_0x340a57,unitID:_0x371aab,changeset:_0x30e207}=_0x319e5a[_0xff67b3(0x1b9)],_0xab802c={'unitID':_0x371aab,'memberID':_0x35a9a0[_0xff67b3(0x49d)],'type':_0x340a57,'changeset':_0x1a9a73['parseChangesetToProtocol'](_0x30e207)},_0x15be11=this[_0xff67b3(0x372)][_0xff67b3(0x2d6)](_0x36ab8e),_0x5a7c97=_0x31a385((_0x2dfdab=_0x15be11==null?void 0x0:_0x15be11[_0xff67b3(0x507)])!=null?_0x2dfdab:_0x5af579,_0x340a57,_0x371aab);try{await this['_httpService'][_0xff67b3(0x4cf)](_0x5a7c97,{'body':_0xab802c});}catch(_0x34f598){throw this['_logService'][_0xff67b3(0x467)]('[CollaborationSession]',_0xff67b3(0x21c)),_0x34f598;}}async[_0x7f6170(0x317)](_0x3fb230){var _0x47969f=_0x7f6170;const {unitID:_0x30a246,from:_0x2d415c,to:_0x4a4472,unitType:_0x1e96fb}=_0x3fb230[_0x47969f(0x1b9)];return(await this[_0x47969f(0x55c)][_0x47969f(0x493)]({'metadata':void 0x0},{'unitID':_0x30a246,'type':_0x1e96fb,'from':_0x2d415c,'to':_0x4a4472}))[_0x47969f(0x368)][_0x47969f(0x334)](_0x3104f7=>((_0x3104f7['mutations']===null||_0x3104f7[_0x47969f(0x478)]===void 0x0)&&(_0x3104f7[_0x47969f(0x478)]=[]),_0x3104f7));}},_0x63229a[_0x7f6170(0x366)]=_0x4dbee6([_0x473dab(0x0,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd[_0x7f6170(0x220)])),_0x473dab(0x1,_0x1e6ccd[_0x7f6170(0x22a)](_0x442c2c[_0x7f6170(0x30e)])),_0x473dab(0x2,_0x1e6ccd[_0x7f6170(0x3d4)]),_0x473dab(0x3,_0x1e6ccd['ILogService']),_0x473dab(0x4,_0x1a9a73[_0x7f6170(0x2e6)])],_0x63229a[_0x7f6170(0x366)]);var _0x163084=Object[_0x7f6170(0x46a)],_0x1f776=(_0x715b0e,_0x51ebc3,_0xf0de21,_0x35508e)=>{for(var _0x45e2fb=_0x35508e>0x1?void 0x0:_0x35508e?_0x163084(_0x51ebc3,_0xf0de21):_0x51ebc3,_0x3002f4=_0x715b0e['length']-0x1,_0x5d829c;_0x3002f4>=0x0;_0x3002f4--)(_0x5d829c=_0x715b0e[_0x3002f4])&&(_0x45e2fb=_0x5d829c(_0x45e2fb)||_0x45e2fb);return _0x45e2fb;},_0x151df8=(_0x4d87fb,_0x378cbd)=>(_0x4efec2,_0x42807a)=>_0x378cbd(_0x4efec2,_0x42807a,_0x4d87fb);_0x63229a[_0x7f6170(0x542)]=class extends _0x1e6ccd[_0x7f6170(0x30d)]{constructor(_0x18f221,_0x4e7839,_0x5e7e7b,_0x3534aa,_0x49c1c3,_0x5de2ed){var _0x92936=_0x7f6170;super(),_0xf97e8c(this,'_socket$',new _0x5e254c[(_0x92936(0x39b))](void 0x0)),_0xf97e8c(this,_0x92936(0x401),this[_0x92936(0x284)]['asObservable']()),_0xf97e8c(this,_0x92936(0x419),null),_0xf97e8c(this,_0x92936(0x2f8),new Map()),_0xf97e8c(this,_0x92936(0x4d2),new _0x5e254c[(_0x92936(0x39b))](_0x165b16['IDLE'])),_0xf97e8c(this,'status$',this[_0x92936(0x4d2)][_0x92936(0x2e1)]()),_0xf97e8c(this,_0x92936(0x1cb),!0x1),_0xf97e8c(this,_0x92936(0x3f3)),_0xf97e8c(this,_0x92936(0x550),0x0),_0xf97e8c(this,_0x92936(0x37a)),_0xf97e8c(this,'_timeoutTimer'),(this[_0x92936(0x23a)]=_0x18f221,this[_0x92936(0x4f7)]=_0x4e7839,this[_0x92936(0x372)]=_0x5e7e7b,this[_0x92936(0x325)]=_0x3534aa,this[_0x92936(0x343)]=_0x49c1c3,this[_0x92936(0x44c)]=_0x5de2ed,this[_0x92936(0x259)]());}get[_0x7f6170(0x36b)](){var _0x13c477=_0x7f6170;return this[_0x13c477(0x284)][_0x13c477(0x43f)]();}['_listenToNetworkCondition'](){var _0x16781e=_0x7f6170;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService'][_0x16781e(0x3b6)][_0x16781e(0x500)](_0x8cc704=>{var _0x2245c8=_0x16781e;_0x8cc704&&!this[_0x2245c8(0x36b)]&&this[_0x2245c8(0x400)](),_0x8cc704||this[_0x2245c8(0x2b9)]();}));}[_0x7f6170(0x55b)](){var _0x3d01f1=_0x7f6170;super['dispose'](),this[_0x3d01f1(0x39e)](),this[_0x3d01f1(0x2e7)](),this['_clearHeartbeatTimer'](),this[_0x3d01f1(0x2f8)]['forEach'](_0x5ad393=>_0x5ad393[_0x3d01f1(0x55b)]()),this[_0x3d01f1(0x2f8)][_0x3d01f1(0x1e7)](),this[_0x3d01f1(0x4d2)][_0x3d01f1(0x30f)]();}async[_0x7f6170(0x4c5)](_0x3f687d){var _0x4937c=_0x7f6170;if(this[_0x4937c(0x2f8)][_0x4937c(0x24d)](_0x3f687d))return this[_0x4937c(0x2f8)][_0x4937c(0x522)](_0x3f687d);this[_0x4937c(0x487)]();const _0x30c1d5=this[_0x4937c(0x23a)][_0x4937c(0x286)](_0x63229a[_0x4937c(0x354)],_0x3f687d,this[_0x4937c(0x284)]['asObservable']());return this[_0x4937c(0x2f8)][_0x4937c(0x302)](_0x3f687d,_0x30c1d5),_0x30c1d5;}['closeSession'](_0x2b51f5){var _0x5e1390=_0x7f6170,_0x3876a0;const _0x23adf5=this[_0x5e1390(0x2f8)][_0x5e1390(0x522)](_0x2b51f5);_0x23adf5&&(this[_0x5e1390(0x2f8)][_0x5e1390(0x276)](_0x2b51f5),_0x23adf5[_0x5e1390(0x36f)]()),this[_0x5e1390(0x2f8)][_0x5e1390(0x416)]||(_0x3876a0=this[_0x5e1390(0x36b)])==null||_0x3876a0[_0x5e1390(0x36f)]();}[_0x7f6170(0x400)](){var _0x243019=_0x7f6170;this[_0x243019(0x550)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x7f6170(0x39e)](){var _0x275332=_0x7f6170;this[_0x275332(0x3f3)]!=null&&(clearTimeout(this[_0x275332(0x3f3)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x465084=_0x7f6170,_0x21916b;const _0x50eebc=this[_0x465084(0x372)][_0x465084(0x2d6)](_0x36ab8e),_0x2d0f06=(_0x21916b=_0x50eebc==null?void 0x0:_0x50eebc[_0x465084(0x356)])!=null?_0x21916b:_0x44d68a,_0x5456bd=await this[_0x465084(0x325)][_0x465084(0x2a7)](_0x2d0f06);return this[_0x465084(0x419)]=_0x5456bd,_0x5456bd;}async[_0x7f6170(0x487)](){var _0x4c28fb=_0x7f6170,_0x8a72b4,_0x44828f;try{const _0x546080=(_0x44828f=(_0x8a72b4=this[_0x4c28fb(0x36b)])!=null?_0x8a72b4:this[_0x4c28fb(0x419)])!=null?_0x44828f:await this[_0x4c28fb(0x4c3)]();if(_0x546080){const _0x2c8ea6=_0x546080[_0x4c28fb(0x2c9)];_0x546080['send']=_0x29ecd8=>(this['_rescheduleHeartbeat'](),_0x2c8ea6[_0x4c28fb(0x42f)](_0x546080,[_0x29ecd8])),_0x546080[_0x4c28fb(0x505)]['subscribe'](_0x608b74=>this[_0x4c28fb(0x41c)](_0x546080,_0x608b74)),_0x546080[_0x4c28fb(0x4cb)]['pipe'](_0x5f013a[_0x4c28fb(0x3e7)](0x1))[_0x4c28fb(0x500)](_0x3f6c34=>this[_0x4c28fb(0x4f7)][_0x4c28fb(0x467)](_0x4c28fb(0x54b),_0x3f6c34)),_0x546080['open$'][_0x4c28fb(0x4b0)](_0x5f013a[_0x4c28fb(0x3e7)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x546080);}),_0x546080[_0x4c28fb(0x3ef)][_0x4c28fb(0x4b0)](_0x5f013a['take'](0x1))[_0x4c28fb(0x500)](_0x3321bd=>{var _0x5f3a45=_0x4c28fb;this[_0x5f3a45(0x4f7)][_0x5f3a45(0x344)](_0x5f3a45(0x22c),'socket\x20close',_0x3321bd),this['_onConnectionFailed']();});}}catch(_0x46df14){this[_0x4c28fb(0x4f7)]['error'](_0x46df14),this[_0x4c28fb(0x229)]();}}[_0x7f6170(0x2df)](_0x3ddd65){var _0x76a9a0=_0x7f6170;this['_logService'][_0x76a9a0(0x344)]('[CollaborationSessionService]',_0x76a9a0(0x3d1)),_0x3ddd65['send']({'cmd':_0xebaad7[_0x76a9a0(0x37f)]}),this['_rescheduleHeartbeat']();}[_0x7f6170(0x2b9)](){var _0x246538=_0x7f6170;this[_0x246538(0x1cb)]=!0x1,this[_0x246538(0x419)]=null,this[_0x246538(0x4d2)][_0x246538(0x2cc)](_0x165b16[_0x246538(0x20e)]),this[_0x246538(0x284)][_0x246538(0x2cc)](null),this[_0x246538(0x2e7)](),this[_0x246538(0x53b)]();}[_0x7f6170(0x229)](){var _0x5d260b=_0x7f6170,_0x350d43;this[_0x5d260b(0x2b9)](),this[_0x5d260b(0x550)]<((_0x350d43=this[_0x5d260b(0x372)][_0x5d260b(0x2d6)](_0x412f77))!=null?_0x350d43:0x3)?(this[_0x5d260b(0x343)][_0x5d260b(0x518)]({'id':_0x3908d8[_0x5d260b(0x21a)]}),this['_tryReconnect']()):this[_0x5d260b(0x343)][_0x5d260b(0x518)]({'id':_0x3908d8[_0x5d260b(0x1da)]});}['_tryReconnect'](){var _0x41e873=_0x7f6170,_0xcf10f4;const _0xd40dbf=this[_0x41e873(0x550)],_0x568def=this[_0x41e873(0x372)][_0x41e873(0x2d6)](_0x36ab8e),_0x2eecb0=_0xd40dbf===0x0?0x0:((_0xcf10f4=_0x568def==null?void 0x0:_0x568def[_0x41e873(0x3e1)])!=null?_0xcf10f4:0x4e20)*0x2**_0xd40dbf;this[_0x41e873(0x3f3)]=setTimeout(()=>{var _0x296984=_0x41e873;clearTimeout(this['_retryConnectingTimer']),this[_0x296984(0x3f3)]=null,this[_0x296984(0x487)]();},_0x2eecb0),this[_0x41e873(0x550)]+=0x1;}[_0x7f6170(0x41c)](_0x493444,_0x5d817a){var _0x4fd58a=_0x7f6170;const {cmd:_0x55c6fe}=_0x5d817a;_0x55c6fe===_0xebaad7[_0x4fd58a(0x37f)]&&!this[_0x4fd58a(0x1cb)]&&(_0x493444['memberID']=_0x5d817a[_0x4fd58a(0x1b9)][_0x4fd58a(0x49d)],this[_0x4fd58a(0x284)]['next'](_0x493444),this[_0x4fd58a(0x4d2)]['next'](_0x165b16[_0x4fd58a(0x4a2)]),this[_0x4fd58a(0x1cb)]=!0x0,this[_0x4fd58a(0x419)]=null),_0x55c6fe===_0xebaad7['HEARTBEAT']&&this[_0x4fd58a(0x2e7)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x5a6137=_0x7f6170,_0x329437;this[_0x5a6137(0x53b)](),this[_0x5a6137(0x37a)]=setTimeout(()=>this[_0x5a6137(0x533)](),(_0x329437=this[_0x5a6137(0x372)]['getConfig'](_0x2aa407))!=null?_0x329437:0x7530);}[_0x7f6170(0x533)](){var _0x1b9d49=_0x7f6170;this[_0x1b9d49(0x36b)][_0x1b9d49(0x2c9)]({'cmd':_0xebaad7['HEARTBEAT']}),this[_0x1b9d49(0x3f4)]();}[_0x7f6170(0x3f4)](){var _0xfb9b0c=_0x7f6170,_0x98e252;this['_timeoutTimer']=setTimeout(()=>this[_0xfb9b0c(0x229)](),(_0x98e252=this[_0xfb9b0c(0x372)][_0xfb9b0c(0x2d6)](_0x4471eb))!=null?_0x98e252:0x4e20);}[_0x7f6170(0x53b)](){var _0x35b666=_0x7f6170;this[_0x35b666(0x37a)]!=null&&(clearTimeout(this[_0x35b666(0x37a)]),this[_0x35b666(0x37a)]=null);}['_clearTimeoutTimer'](){var _0x51d1ca=_0x7f6170;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x51d1ca(0x4fb)]),this[_0x51d1ca(0x4fb)]=null);}},_0x63229a[_0x7f6170(0x542)]=_0x1f776([_0x151df8(0x0,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd[_0x7f6170(0x220)])),_0x151df8(0x1,_0x1e6ccd['ILogService']),_0x151df8(0x2,_0x1e6ccd[_0x7f6170(0x3d4)]),_0x151df8(0x3,_0x2c9fa7),_0x151df8(0x4,_0x1e6ccd[_0x7f6170(0x22a)](_0x4e5888)),_0x151df8(0x5,_0x1e6ccd[_0x7f6170(0x4cd)](_0x4a16c0))],_0x63229a[_0x7f6170(0x542)]);var _0xffe4b2=Object[_0x7f6170(0x46a)],_0x52fc0a=(_0x4ba1c2,_0x2a370b,_0x124fbf,_0x37bb0a)=>{var _0x1c2960=_0x7f6170;for(var _0x1f6c31=_0x37bb0a>0x1?void 0x0:_0x37bb0a?_0xffe4b2(_0x2a370b,_0x124fbf):_0x2a370b,_0x512e64=_0x4ba1c2[_0x1c2960(0x3eb)]-0x1,_0x384026;_0x512e64>=0x0;_0x512e64--)(_0x384026=_0x4ba1c2[_0x512e64])&&(_0x1f6c31=_0x384026(_0x1f6c31)||_0x1f6c31);return _0x1f6c31;},_0x815b72=(_0x515a84,_0x4f0d29)=>(_0x4325cb,_0x44980e)=>_0x4f0d29(_0x4325cb,_0x44980e,_0x515a84);_0x63229a[_0x7f6170(0x4fc)]=class extends _0x1e6ccd[_0x7f6170(0x2fe)]{constructor(_0x58005a,_0x768190,_0x140076,_0x523be9){var _0x5d0be0=_0x7f6170,_0xc71b99;super(),_0xf97e8c(this,'_entities',new Map()),_0xf97e8c(this,_0x5d0be0(0x1c6),new _0x5e254c['Subject']()),_0xf97e8c(this,'entityInit$',this[_0x5d0be0(0x1c6)][_0x5d0be0(0x2e1)]()),(this[_0x5d0be0(0x23a)]=_0x58005a,this['_collabSessionService']=_0x768190,this[_0x5d0be0(0x372)]=_0x140076,this['_univerInstanceService']=_0x523be9,((_0xc71b99=this[_0x5d0be0(0x372)][_0x5d0be0(0x2d6)](_0x36ab8e))==null?void 0x0:_0xc71b99[_0x5d0be0(0x4d0)])!==!0x1&&this[_0x5d0be0(0x464)]());}[_0x7f6170(0x55b)](){var _0x430915=_0x7f6170;super[_0x430915(0x55b)](),this[_0x430915(0x3ea)]['forEach'](_0x157260=>_0x157260[_0x430915(0x55b)]()),this[_0x430915(0x3ea)][_0x430915(0x1e7)]();}[_0x7f6170(0x4e7)](_0x23bd3e){var _0x396ad0=_0x7f6170,_0x463aee;return(_0x463aee=this[_0x396ad0(0x3ea)]['get'](_0x23bd3e))!=null?_0x463aee:null;}[_0x7f6170(0x2d8)](_0x577925){var _0x27b57d=_0x7f6170;const _0x9d7099=this[_0x27b57d(0x4e7)](_0x577925);return _0x9d7099?_0x5e254c['of'](_0x9d7099):this[_0x27b57d(0x1c6)][_0x27b57d(0x4b0)](_0x5f013a[_0x27b57d(0x3ab)](_0x26377b=>_0x26377b[_0x27b57d(0x2e9)]===_0x577925));}[_0x7f6170(0x482)](_0x3f79dd){var _0x1da4cd=_0x7f6170;return _0x5e254c[_0x1da4cd(0x4ef)](this['getCollabEntity$'](_0x3f79dd)[_0x1da4cd(0x4b0)](_0x5f013a[_0x1da4cd(0x334)](()=>{})));}[_0x7f6170(0x464)](){var _0x76e349=_0x7f6170;this[_0x76e349(0x1e9)][_0x76e349(0x2bd)](_0x1e6ccd[_0x76e349(0x227)][_0x76e349(0x307)])['pipe'](_0x5e254c['takeUntil'](this[_0x76e349(0x27e)]),_0x5f013a[_0x76e349(0x48d)](0x10))['subscribe'](async _0x22c50f=>{var _0x11551c=_0x76e349;const _0xc57aaf=_0x22c50f[_0x11551c(0x4a4)](),_0x60e011=await this[_0x11551c(0x435)](_0xc57aaf,_0x391016[_0x11551c(0x307)]);this[_0x11551c(0x3ea)][_0x11551c(0x302)](_0xc57aaf,_0x60e011);}),this[_0x76e349(0x1e9)][_0x76e349(0x2bd)](_0x1e6ccd[_0x76e349(0x227)][_0x76e349(0x549)])[_0x76e349(0x4b0)](_0x5e254c[_0x76e349(0x3b3)](this[_0x76e349(0x27e)]),_0x5f013a['delay'](0x10))[_0x76e349(0x4b0)](_0x5f013a[_0x76e349(0x3ab)](_0x30265b=>!_0x30265b['getUnitId']()[_0x76e349(0x266)]('__')))[_0x76e349(0x500)](async _0xe7b47c=>{var _0x5c2eff=_0x76e349;const _0x1b31d4=_0xe7b47c[_0x5c2eff(0x4a4)](),_0x11c38a=await this['_startCollaboration'](_0x1b31d4,_0x391016['UNIVER_DOC']);this[_0x5c2eff(0x3ea)][_0x5c2eff(0x302)](_0x1b31d4,_0x11c38a);}),_0x5e254c[_0x76e349(0x1e6)](this[_0x76e349(0x1e9)][_0x76e349(0x47e)](_0x1e6ccd[_0x76e349(0x227)][_0x76e349(0x307)]),this[_0x76e349(0x1e9)][_0x76e349(0x47e)](_0x1e6ccd[_0x76e349(0x227)][_0x76e349(0x549)]))[_0x76e349(0x4b0)](_0x5e254c['takeUntil'](this[_0x76e349(0x27e)]))[_0x76e349(0x500)](_0x2b4947=>{var _0x3c4432=_0x76e349;const _0x389c57=_0x2b4947[_0x3c4432(0x4a4)](),_0x5c438d=this[_0x3c4432(0x3ea)]['get'](_0x389c57);_0x5c438d&&(_0x5c438d['dispose'](),this[_0x3c4432(0x3ea)][_0x3c4432(0x276)](_0x389c57));});}async[_0x7f6170(0x435)](_0x7a38fe,_0x4b00af){var _0x5a1a2e=_0x7f6170;const _0x2f6621=await this['_collabSessionService'][_0x5a1a2e(0x4c5)](_0x7a38fe),_0x197b84=this[_0x5a1a2e(0x23a)]['createInstance'](this[_0x5a1a2e(0x2d9)](_0x4b00af),_0x7a38fe,_0x4b00af,_0x2f6621);return await _0x197b84[_0x5a1a2e(0x427)](),this[_0x5a1a2e(0x1c6)][_0x5a1a2e(0x2cc)](_0x197b84),_0x197b84;}[_0x7f6170(0x2d9)](_0x388ab7){var _0x50c77c=_0x7f6170;switch(_0x388ab7){case _0x391016[_0x50c77c(0x549)]:return _0x63229a[_0x50c77c(0x37e)];case _0x391016[_0x50c77c(0x307)]:return _0x63229a['SheetCollaborationEntity'];default:throw new Error(_0x50c77c(0x4b1)+_0x388ab7);}}},_0x63229a[_0x7f6170(0x4fc)]=_0x52fc0a([_0x815b72(0x0,_0x1e6ccd['Inject'](_0x1e6ccd[_0x7f6170(0x220)])),_0x815b72(0x1,_0x1e6ccd[_0x7f6170(0x22a)](_0x63229a[_0x7f6170(0x542)])),_0x815b72(0x2,_0x1e6ccd[_0x7f6170(0x3d4)]),_0x815b72(0x3,_0x1e6ccd[_0x7f6170(0x299)])],_0x63229a[_0x7f6170(0x4fc)]);var _0x363b76=Object[_0x7f6170(0x46a)],_0x2e0c52=(_0xd6b7d1,_0x16e6f4,_0x46f526,_0x362934)=>{var _0xc60a7e=_0x7f6170;for(var _0x1c4069=_0x362934>0x1?void 0x0:_0x362934?_0x363b76(_0x16e6f4,_0x46f526):_0x16e6f4,_0x3a7246=_0xd6b7d1[_0xc60a7e(0x3eb)]-0x1,_0x40ed6a;_0x3a7246>=0x0;_0x3a7246--)(_0x40ed6a=_0xd6b7d1[_0x3a7246])&&(_0x1c4069=_0x40ed6a(_0x1c4069)||_0x1c4069);return _0x1c4069;},_0x5a7ea1=(_0x90e9d7,_0x42134d)=>(_0x41dca4,_0x50728a)=>_0x42134d(_0x41dca4,_0x50728a,_0x90e9d7);const _0x145d8a=_0x7f6170(0x23e),_0x39999a=_0x7f6170(0x3e5);let _0x434e32=class extends _0x1e6ccd[_0x7f6170(0x30d)]{constructor(_0x144bf2,_0x42f687){var _0x22942f=_0x7f6170;super(),this[_0x22942f(0x1e9)]=_0x144bf2,this[_0x22942f(0x372)]=_0x42f687,this[_0x22942f(0x464)]();}[_0x7f6170(0x464)](){var _0x1c7bb0=_0x7f6170;this[_0x1c7bb0(0x1f3)](this[_0x1c7bb0(0x1e9)]['focused$'][_0x1c7bb0(0x500)](()=>{var _0xcee3ef=_0x1c7bb0,_0x3525fc;const _0x70d477=this[_0xcee3ef(0x1e9)][_0xcee3ef(0x23f)]();let _0x20250f=(_0x3525fc=this[_0xcee3ef(0x372)][_0xcee3ef(0x2d6)](_0x145d8a))!=null?_0x3525fc:_0x39999a;_0x70d477 instanceof _0x1e6ccd[_0xcee3ef(0x433)]&&(_0x20250f=_0x70d477[_0xcee3ef(0x4bf)]),document[_0xcee3ef(0x428)]=_0x20250f;}));}};_0x434e32=_0x2e0c52([_0x5a7ea1(0x0,_0x1e6ccd['IUniverInstanceService']),_0x5a7ea1(0x1,_0x1e6ccd[_0x7f6170(0x3d4)])],_0x434e32);var _0x10e282=Object[_0x7f6170(0x46a)],_0x5db9da=(_0x9f593e,_0x216504,_0x48baff,_0x242668)=>{var _0x214f9d=_0x7f6170;for(var _0x3c190b=_0x242668>0x1?void 0x0:_0x242668?_0x10e282(_0x216504,_0x48baff):_0x216504,_0x301092=_0x9f593e[_0x214f9d(0x3eb)]-0x1,_0x2e77e1;_0x301092>=0x0;_0x301092--)(_0x2e77e1=_0x9f593e[_0x301092])&&(_0x3c190b=_0x2e77e1(_0x3c190b)||_0x3c190b);return _0x3c190b;},_0x22889e=(_0x457812,_0xcfc959)=>(_0xfd8701,_0xdaa98d)=>_0xcfc959(_0xfd8701,_0xdaa98d,_0x457812);let _0x22408c=class{constructor(_0x61804b,_0x61ff16,_0x19cca0){var _0x3f023a=_0x7f6170;this[_0x3f023a(0x372)]=_0x61804b,this[_0x3f023a(0x52b)]=_0x61ff16,this['localeService']=_0x19cca0,this[_0x3f023a(0x427)]();}[_0x7f6170(0x427)](){var _0x43639c=_0x7f6170;this[_0x43639c(0x52b)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x2f53e5,_0x5b9dac)=>_0x5b9dac(_0x2f53e5)[_0x43639c(0x4b0)](_0x5e254c[_0x43639c(0x4af)](async _0x4951ce=>{var _0x4c33e8=_0x43639c;const _0x36a116=_0x4951ce;if(_0x36a116[_0x4c33e8(0x3aa)]===0x191){if(typeof window>'u')throw new Error(_0x4c33e8(0x357));if(window[_0x4c33e8(0x2fc)](this[_0x4c33e8(0x3b5)]['t']('auth.needGotoLoginAlert'))){const _0x52f6a5=window[_0x4c33e8(0x39d)](window[_0x4c33e8(0x253)][_0x4c33e8(0x33b)]);window['location'][_0x4c33e8(0x33b)]=this[_0x4c33e8(0x36c)]()+'?url='+_0x52f6a5;}}return _0x36a116;}))});}['_getLoginPath'](){var _0x6f0780=_0x7f6170,_0x570701;const _0x22eab8=this[_0x6f0780(0x372)][_0x6f0780(0x2d6)](_0x36ab8e);return(_0x570701=_0x22eab8==null?void 0x0:_0x22eab8[_0x6f0780(0x275)])!=null?_0x570701:_0x33abcb;}};_0x22408c=_0x5db9da([_0x22889e(0x0,_0x1e6ccd[_0x7f6170(0x3d4)]),_0x22889e(0x1,_0x1e6ccd[_0x7f6170(0x22a)](_0x442c2c[_0x7f6170(0x30e)])),_0x22889e(0x2,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd[_0x7f6170(0x3fd)]))],_0x22408c);var _0x23cd61=Object['getOwnPropertyDescriptor'],_0x7e524=(_0x459a05,_0x53f227,_0x2dfe13,_0x53386a)=>{var _0x243ba0=_0x7f6170;for(var _0x372140=_0x53386a>0x1?void 0x0:_0x53386a?_0x23cd61(_0x53f227,_0x2dfe13):_0x53f227,_0xa9a3c9=_0x459a05[_0x243ba0(0x3eb)]-0x1,_0x36d3c5;_0xa9a3c9>=0x0;_0xa9a3c9--)(_0x36d3c5=_0x459a05[_0xa9a3c9])&&(_0x372140=_0x36d3c5(_0x372140)||_0x372140);return _0x372140;},_0x1654da=(_0x423a31,_0x3b4fd3)=>(_0x3aecd2,_0x3fb2c2)=>_0x3b4fd3(_0x3aecd2,_0x3fb2c2,_0x423a31);const _0xeac659=_0x7f6170(0x2b0);_0x63229a['AuthzIoHttpService']=class extends _0x1e6ccd['Disposable']{constructor(_0x4210e1,_0x41c692){var _0x5333e5=_0x7f6170;super(),this[_0x5333e5(0x3b7)]=_0x4210e1,this['_configService']=_0x41c692,this[_0x5333e5(0x28d)]();}[_0x7f6170(0x28d)](){var _0x2e2e9d=_0x7f6170;const _0x2649a0=this;this[_0x2e2e9d(0x1f3)](this[_0x2e2e9d(0x3b7)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x442c2c[_0x2e2e9d(0x213)]({'isMatch'(_0x4f0c81){var _0x7b0919=_0x2e2e9d,_0x6e9477;if(_0x4f0c81[_0x7b0919(0x323)]===_0x7b0919(0x4f6)&&((_0x6e9477=_0x4f0c81[_0x7b0919(0x530)])!=null&&_0x6e9477[_0x7b0919(0x2a2)])){const {objectID:_0x330386,objectType:_0x56bc3f}=_0x4f0c81['requestParams'][_0x7b0919(0x2a2)]||{};if(!_0x330386||_0x56bc3f===void 0x0)return!0x1;const _0x3b8d78=_0x2649a0[_0x7b0919(0x455)]()+'/'+_0x56bc3f+_0x7b0919(0x490)+_0x330386+_0x7b0919(0x50f);if(_0x4f0c81[_0x7b0919(0x362)]===_0x3b8d78)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x54426e){var _0x5cc3b7=_0x2e2e9d,_0xd656ca;return(_0xd656ca=_0x54426e[_0x5cc3b7(0x530)])==null?void 0x0:_0xd656ca[_0x5cc3b7(0x2a2)];},'mergeParamsToRequest'(_0x2ceeea,_0x4a51f1){var _0x3b5203=_0x2e2e9d;const _0x409c91=_0x2649a0[_0x3b5203(0x455)]()+_0x3b5203(0x51d),_0x3bc443=_0x2ceeea[_0x3b5203(0x242)]((_0x38584a,_0x2e9cb2)=>{var _0x99f9f0=_0x3b5203;const {unitID:_0x43cacb,objectID:_0x3c478f,objectType:_0x2206a8,actions:_0x47fd98}=_0x2e9cb2;return _0x38584a[_0x43cacb]||(_0x38584a[_0x43cacb]={}),_0x38584a[_0x43cacb][_0x3c478f]||(_0x38584a[_0x43cacb][_0x3c478f]={'objectID':_0x3c478f,'objectType':_0x2206a8,'actions':[]}),_0x38584a[_0x43cacb][_0x3c478f][_0x99f9f0(0x389)][_0x99f9f0(0x327)](..._0x47fd98),_0x38584a;},{}),_0x1f6f45=[];for(const _0xded3a4 in _0x3bc443)for(const _0xaff791 in _0x3bc443[_0xded3a4]){const {actions:_0x526e77,objectType:_0x18ba2b}=_0x3bc443[_0xded3a4][_0xaff791],_0x271a91=[...new Set(_0x526e77)];_0x1f6f45[_0x3b5203(0x327)]({'unitID':_0xded3a4,'objectID':_0xaff791,'objectType':_0x18ba2b,'actions':_0x271a91});}return new _0x442c2c[(_0x3b5203(0x292))](_0x3b5203(0x4f6),_0x409c91,{'headers':_0x4a51f1[_0x3b5203(0x41b)],'withCredentials':_0x4a51f1['withCredentials'],'responseType':_0x4a51f1[_0x3b5203(0x410)],'body':{'requests':_0x1f6f45}});}},{'distributeResult'(_0x33831a,_0x53af7d){const {objectActions:_0x1058de}=_0x33831a;return _0x53af7d['map'](_0x115481=>{var _0x19bf2d=_0x4166;const {unitID:_0x55b5bf,objectID:_0x181c24,actions:_0x53c418}=_0x115481,_0xc2f509=_0x1058de[_0x19bf2d(0x422)](_0x3f66b0=>_0x3f66b0[_0x19bf2d(0x2e9)]===_0x55b5bf&&_0x3f66b0['objectID']===_0x181c24),_0xb48f0=_0x53c418[_0x19bf2d(0x334)](_0x394ba8=>_0xc2f509==null?void 0x0:_0xc2f509[_0x19bf2d(0x389)][_0x19bf2d(0x422)](_0x4f1ce3=>_0x4f1ce3[_0x19bf2d(0x1be)]===_0x394ba8))[_0x19bf2d(0x3ab)](_0x35d748=>!!_0x35d748);return{'config':_0x115481,'result':{'actions':_0xb48f0,'error':_0x33831a[_0x19bf2d(0x467)]}};});}})}));}[_0x7f6170(0x455)](){var _0x22ae0d=_0x7f6170,_0x440129;const _0x21af17=this[_0x22ae0d(0x372)][_0x22ae0d(0x2d6)](_0x36ab8e);return(_0x440129=_0x21af17==null?void 0x0:_0x21af17[_0x22ae0d(0x2b5)])!=null?_0x440129:_0xeac659;}async['create'](_0x4c53b8){var _0x35b3f7=_0x7f6170;const _0x2b8f2a=this['_getAPIPrefixPath']()+'/'+_0x4c53b8[_0x35b3f7(0x4f4)]+_0x35b3f7(0x2d4);return(await this['_HTTPService'][_0x35b3f7(0x4cf)](_0x2b8f2a,{'body':_0x4c53b8}))[_0x35b3f7(0x2a2)]['objectID']||'';}async[_0x7f6170(0x4ac)](_0x4035f7){var _0x5c2408=_0x7f6170;const _0xabf191=this[_0x5c2408(0x455)]()+_0x5c2408(0x222);return(await this['_HTTPService'][_0x5c2408(0x4cf)](_0xabf191,{'body':_0x4035f7}))['body'][_0x5c2408(0x30c)];}async[_0x7f6170(0x3c9)](_0x5116ec){var _0x5067ad=_0x7f6170,_0x3cd1f4,_0x4e3031;const _0x4e53db=this[_0x5067ad(0x455)]()+'/'+_0x5116ec[_0x5067ad(0x4f4)]+'/object/'+_0x5116ec['objectID'],_0xcdd836=await this[_0x5067ad(0x3b7)][_0x5067ad(0x48e)](_0x4e53db,{'body':_0x5116ec});if(((_0x4e3031=(_0x3cd1f4=_0xcdd836==null?void 0x0:_0xcdd836[_0x5067ad(0x2a2)])==null?void 0x0:_0x3cd1f4[_0x5067ad(0x467)])==null?void 0x0:_0x4e3031[_0x5067ad(0x20a)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x7f6170(0x44a)](_0x1e0603){var _0x57aa79=_0x7f6170;const _0x3e8739=this[_0x57aa79(0x455)]()+'/'+_0x1e0603[_0x57aa79(0x4f4)]+_0x57aa79(0x490)+_0x1e0603[_0x57aa79(0x2f6)]+_0x57aa79(0x50f);return(await this[_0x57aa79(0x3b7)][_0x57aa79(0x4cf)](_0x3e8739,{'body':_0x1e0603}))[_0x57aa79(0x2a2)]['actions'];}async[_0x7f6170(0x499)](_0x27445d){var _0x49cf85=_0x7f6170;const _0x29046a=this[_0x49cf85(0x455)]()+'/-/object/-/batch_allowed';return(await this[_0x49cf85(0x3b7)][_0x49cf85(0x4cf)](_0x29046a,{'body':{'requests':_0x27445d}}))[_0x49cf85(0x2a2)]['objectActions'];}async['listRoles'](_0x2072c7){var _0x39eed9=_0x7f6170;const _0xbb48b3=this[_0x39eed9(0x455)]()+'/'+_0x2072c7['objectType']+_0x39eed9(0x2a9),_0x7cea1f=await this[_0x39eed9(0x3b7)][_0x39eed9(0x4cf)](_0xbb48b3,{'body':_0x2072c7});return{'roles':_0x7cea1f[_0x39eed9(0x2a2)][_0x39eed9(0x515)],'actions':_0x7cea1f[_0x39eed9(0x2a2)]['actions']};}async['deleteCollaborator'](_0x21d068){var _0x351b7f=_0x7f6170;const _0x273044=this['_getAPIPrefixPath']()+_0x351b7f(0x54a);await this[_0x351b7f(0x3b7)]['delete'](_0x273044,{'params':{'collaboratorID':_0x21d068[_0x351b7f(0x471)],'objectID':_0x21d068['objectID'],'unitID':_0x21d068[_0x351b7f(0x2e9)]}});}async[_0x7f6170(0x4e3)](_0x33be5e){var _0xcd73f2=_0x7f6170;const _0x1983c5=this[_0xcd73f2(0x455)]()+_0xcd73f2(0x54a);await this[_0xcd73f2(0x3b7)][_0xcd73f2(0x341)](_0x1983c5,{'body':_0x33be5e});}async[_0x7f6170(0x2ac)](_0x2ad38a){var _0x257f62=_0x7f6170;const _0x481467=this[_0x257f62(0x455)]()+_0x257f62(0x54a);await this[_0x257f62(0x3b7)][_0x257f62(0x4cf)](_0x481467,{'body':_0x2ad38a});}async[_0x7f6170(0x26c)](_0xe91e70){var _0xcafe91=_0x7f6170;const _0x388237=this[_0xcafe91(0x455)]()+'/collaborator';return(await this['_HTTPService'][_0xcafe91(0x522)](_0x388237,{'params':{'objectID':_0xe91e70['objectID'],'unitID':_0xe91e70[_0xcafe91(0x2e9)]}}))[_0xcafe91(0x2a2)]['collaborators'];}async[_0x7f6170(0x429)](_0xcec5b0){var _0x236848=_0x7f6170;const _0x4052a5=this[_0x236848(0x455)]()+_0x236848(0x54a);await this[_0x236848(0x3b7)][_0x236848(0x48e)](_0x4052a5,{'body':_0xcec5b0});}},_0x63229a[_0x7f6170(0x2e8)]=_0x7e524([_0x1654da(0x0,_0x1e6ccd[_0x7f6170(0x22a)](_0x442c2c['HTTPService'])),_0x1654da(0x1,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd['IConfigService']))],_0x63229a[_0x7f6170(0x2e8)]);var _0x3ceb1e=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x42144b(_0x55de3d){var _0x41a992=_0x7f6170;return _0x55de3d&&_0x55de3d[_0x41a992(0x2b8)]&&Object['prototype']['hasOwnProperty'][_0x41a992(0x226)](_0x55de3d,_0x41a992(0x418))?_0x55de3d[_0x41a992(0x418)]:_0x55de3d;}var _0x215e54={'exports':{}};function _0x48c893(_0x3633de){var _0x3f888e=_0x7f6170;throw new Error(_0x3f888e(0x3df)+_0x3633de+_0x3f888e(0x4a5));}var _0x1df384={'exports':{}},_0x248818=_0x1df384[_0x7f6170(0x2b7)],_0x64ca54;function _0x57e27d(){var _0x26ffda=_0x7f6170;return _0x64ca54||(_0x64ca54=0x1,function(_0x18f662,_0x551f06){(function(_0x52e4f7,_0x151d19){_0x18f662['exports']=_0x151d19();}(_0x248818,function(){var _0x31ad36=_0x31ad36||function(_0x362858,_0x348dee){var _0x48bba1=_0x4166,_0x4a2446;if(typeof window<'u'&&window['crypto']&&(_0x4a2446=window[_0x48bba1(0x48f)]),typeof self<'u'&&self[_0x48bba1(0x48f)]&&(_0x4a2446=self['crypto']),typeof globalThis<'u'&&globalThis[_0x48bba1(0x48f)]&&(_0x4a2446=globalThis[_0x48bba1(0x48f)]),!_0x4a2446&&typeof window<'u'&&window[_0x48bba1(0x336)]&&(_0x4a2446=window[_0x48bba1(0x336)]),!_0x4a2446&&typeof _0x3ceb1e<'u'&&_0x3ceb1e[_0x48bba1(0x48f)]&&(_0x4a2446=_0x3ceb1e[_0x48bba1(0x48f)]),!_0x4a2446&&typeof _0x48c893==_0x48bba1(0x462))try{_0x4a2446=require('crypto');}catch{}var _0x52204b=function(){var _0x235699=_0x48bba1;if(_0x4a2446){if(typeof _0x4a2446[_0x235699(0x377)]=='function')try{return _0x4a2446[_0x235699(0x377)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4a2446[_0x235699(0x24e)]==_0x235699(0x462))try{return _0x4a2446[_0x235699(0x24e)](0x4)[_0x235699(0x29d)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x421055=Object['create']||(function(){function _0x7aac30(){}return function(_0x6dc03f){var _0x398076=_0x4166,_0x2a388e;return _0x7aac30[_0x398076(0x2ba)]=_0x6dc03f,_0x2a388e=new _0x7aac30(),_0x7aac30['prototype']=null,_0x2a388e;};}()),_0x4adba3={},_0xf58170=_0x4adba3['lib']={},_0x4a10ee=_0xf58170[_0x48bba1(0x3b8)]=(function(){return{'extend':function(_0x118bfc){var _0x16709d=_0x4166,_0x4cf4be=_0x421055(this);return _0x118bfc&&_0x4cf4be[_0x16709d(0x42b)](_0x118bfc),(!_0x4cf4be[_0x16709d(0x4d4)](_0x16709d(0x427))||this[_0x16709d(0x427)]===_0x4cf4be[_0x16709d(0x427)])&&(_0x4cf4be['init']=function(){var _0xd3fc4b=_0x16709d;_0x4cf4be[_0xd3fc4b(0x1ea)][_0xd3fc4b(0x427)]['apply'](this,arguments);}),_0x4cf4be[_0x16709d(0x427)]['prototype']=_0x4cf4be,_0x4cf4be[_0x16709d(0x1ea)]=this,_0x4cf4be;},'create':function(){var _0x38d6d2=_0x4166,_0x4b73b2=this[_0x38d6d2(0x42d)]();return _0x4b73b2[_0x38d6d2(0x427)][_0x38d6d2(0x42f)](_0x4b73b2,arguments),_0x4b73b2;},'init':function(){},'mixIn':function(_0x156faa){var _0x48eb1f=_0x4166;for(var _0x55a9c9 in _0x156faa)_0x156faa[_0x48eb1f(0x4d4)](_0x55a9c9)&&(this[_0x55a9c9]=_0x156faa[_0x55a9c9]);_0x156faa[_0x48eb1f(0x4d4)](_0x48eb1f(0x2b4))&&(this[_0x48eb1f(0x2b4)]=_0x156faa[_0x48eb1f(0x2b4)]);},'clone':function(){var _0x184abc=_0x4166;return this[_0x184abc(0x427)][_0x184abc(0x2ba)][_0x184abc(0x42d)](this);}};}()),_0x1e560e=_0xf58170[_0x48bba1(0x4ae)]=_0x4a10ee[_0x48bba1(0x42d)]({'init':function(_0x269ffc,_0x6244d7){var _0x438d43=_0x48bba1;_0x269ffc=this[_0x438d43(0x369)]=_0x269ffc||[],_0x6244d7!=_0x348dee?this[_0x438d43(0x249)]=_0x6244d7:this[_0x438d43(0x249)]=_0x269ffc['length']*0x4;},'toString':function(_0x334fa9){var _0x51cf70=_0x48bba1;return(_0x334fa9||_0x5a78b7)[_0x51cf70(0x4a7)](this);},'concat':function(_0x519c01){var _0x4e9440=_0x48bba1,_0x42f4b5=this['words'],_0x4e5ac9=_0x519c01['words'],_0x31a506=this['sigBytes'],_0x2e17d7=_0x519c01[_0x4e9440(0x249)];if(this[_0x4e9440(0x1de)](),_0x31a506%0x4)for(var _0x5aeb10=0x0;_0x5aeb10<_0x2e17d7;_0x5aeb10++){var _0x3465b1=_0x4e5ac9[_0x5aeb10>>>0x2]>>>0x18-_0x5aeb10%0x4*0x8&0xff;_0x42f4b5[_0x31a506+_0x5aeb10>>>0x2]|=_0x3465b1<<0x18-(_0x31a506+_0x5aeb10)%0x4*0x8;}else{for(var _0x59fc9=0x0;_0x59fc9<_0x2e17d7;_0x59fc9+=0x4)_0x42f4b5[_0x31a506+_0x59fc9>>>0x2]=_0x4e5ac9[_0x59fc9>>>0x2];}return this[_0x4e9440(0x249)]+=_0x2e17d7,this;},'clamp':function(){var _0x55d2dd=_0x48bba1,_0x30b711=this[_0x55d2dd(0x369)],_0x481ea9=this[_0x55d2dd(0x249)];_0x30b711[_0x481ea9>>>0x2]&=0xffffffff<<0x20-_0x481ea9%0x4*0x8,_0x30b711[_0x55d2dd(0x3eb)]=_0x362858[_0x55d2dd(0x27a)](_0x481ea9/0x4);},'clone':function(){var _0x36023a=_0x48bba1,_0x5ad4cb=_0x4a10ee[_0x36023a(0x1e5)][_0x36023a(0x226)](this);return _0x5ad4cb[_0x36023a(0x369)]=this['words']['slice'](0x0),_0x5ad4cb;},'random':function(_0x13e273){for(var _0x267e8f=[],_0x5a1b7e=0x0;_0x5a1b7e<_0x13e273;_0x5a1b7e+=0x4)_0x267e8f['push'](_0x52204b());return new _0x1e560e['init'](_0x267e8f,_0x13e273);}}),_0x25f94b=_0x4adba3[_0x48bba1(0x560)]={},_0x5a78b7=_0x25f94b['Hex']={'stringify':function(_0x4faf35){var _0x35d195=_0x48bba1;for(var _0x46b1b5=_0x4faf35[_0x35d195(0x369)],_0x1b2ed1=_0x4faf35['sigBytes'],_0x8895f8=[],_0x4ff234=0x0;_0x4ff234<_0x1b2ed1;_0x4ff234++){var _0x48ebff=_0x46b1b5[_0x4ff234>>>0x2]>>>0x18-_0x4ff234%0x4*0x8&0xff;_0x8895f8['push']((_0x48ebff>>>0x4)[_0x35d195(0x2b4)](0x10)),_0x8895f8['push']((_0x48ebff&0xf)[_0x35d195(0x2b4)](0x10));}return _0x8895f8[_0x35d195(0x397)]('');},'parse':function(_0x162d0f){var _0x1dd945=_0x48bba1;for(var _0x11e0d7=_0x162d0f[_0x1dd945(0x3eb)],_0x389e25=[],_0x2d02e6=0x0;_0x2d02e6<_0x11e0d7;_0x2d02e6+=0x2)_0x389e25[_0x2d02e6>>>0x3]|=parseInt(_0x162d0f[_0x1dd945(0x4b6)](_0x2d02e6,0x2),0x10)<<0x18-_0x2d02e6%0x8*0x4;return new _0x1e560e['init'](_0x389e25,_0x11e0d7/0x2);}},_0x92b837=_0x25f94b[_0x48bba1(0x3fb)]={'stringify':function(_0x3c1a4a){var _0x520e7e=_0x48bba1;for(var _0x577256=_0x3c1a4a[_0x520e7e(0x369)],_0x36f877=_0x3c1a4a[_0x520e7e(0x249)],_0x3da784=[],_0x4ae915=0x0;_0x4ae915<_0x36f877;_0x4ae915++){var _0x49b008=_0x577256[_0x4ae915>>>0x2]>>>0x18-_0x4ae915%0x4*0x8&0xff;_0x3da784[_0x520e7e(0x327)](String[_0x520e7e(0x25c)](_0x49b008));}return _0x3da784[_0x520e7e(0x397)]('');},'parse':function(_0x17bd76){var _0x57e038=_0x48bba1;for(var _0x57b755=_0x17bd76[_0x57e038(0x3eb)],_0x110a18=[],_0xb8e2db=0x0;_0xb8e2db<_0x57b755;_0xb8e2db++)_0x110a18[_0xb8e2db>>>0x2]|=(_0x17bd76[_0x57e038(0x399)](_0xb8e2db)&0xff)<<0x18-_0xb8e2db%0x4*0x8;return new _0x1e560e[(_0x57e038(0x427))](_0x110a18,_0x57b755);}},_0x20e011=_0x25f94b['Utf8']={'stringify':function(_0x5e27f9){var _0x5ceabf=_0x48bba1;try{return decodeURIComponent(escape(_0x92b837[_0x5ceabf(0x4a7)](_0x5e27f9)));}catch{throw new Error(_0x5ceabf(0x3be));}},'parse':function(_0xe6867c){var _0x2714d0=_0x48bba1;return _0x92b837[_0x2714d0(0x2dd)](unescape(encodeURIComponent(_0xe6867c)));}},_0x101e87=_0xf58170[_0x48bba1(0x22b)]=_0x4a10ee[_0x48bba1(0x42d)]({'reset':function(){var _0x13b752=_0x48bba1;this[_0x13b752(0x277)]=new _0x1e560e[(_0x13b752(0x427))](),this['_nDataBytes']=0x0;},'_append':function(_0x207f41){var _0xb5c5=_0x48bba1;typeof _0x207f41==_0xb5c5(0x4b4)&&(_0x207f41=_0x20e011[_0xb5c5(0x2dd)](_0x207f41)),this[_0xb5c5(0x277)][_0xb5c5(0x3b9)](_0x207f41),this['_nDataBytes']+=_0x207f41[_0xb5c5(0x249)];},'_process':function(_0x4a2e99){var _0x2c4cf1=_0x48bba1,_0x2d6191,_0x5e9ff8=this['_data'],_0x269065=_0x5e9ff8[_0x2c4cf1(0x369)],_0x1b9cc4=_0x5e9ff8[_0x2c4cf1(0x249)],_0x27f6de=this[_0x2c4cf1(0x3c0)],_0x42c868=_0x27f6de*0x4,_0x106d69=_0x1b9cc4/_0x42c868;_0x4a2e99?_0x106d69=_0x362858[_0x2c4cf1(0x27a)](_0x106d69):_0x106d69=_0x362858[_0x2c4cf1(0x394)]((_0x106d69|0x0)-this['_minBufferSize'],0x0);var _0x5e3b38=_0x106d69*_0x27f6de,_0x38dc7b=_0x362858[_0x2c4cf1(0x4c2)](_0x5e3b38*0x4,_0x1b9cc4);if(_0x5e3b38){for(var _0x5bbc85=0x0;_0x5bbc85<_0x5e3b38;_0x5bbc85+=_0x27f6de)this[_0x2c4cf1(0x4f1)](_0x269065,_0x5bbc85);_0x2d6191=_0x269065[_0x2c4cf1(0x1e3)](0x0,_0x5e3b38),_0x5e9ff8[_0x2c4cf1(0x249)]-=_0x38dc7b;}return new _0x1e560e[(_0x2c4cf1(0x427))](_0x2d6191,_0x38dc7b);},'clone':function(){var _0x235b94=_0x48bba1,_0x2c068d=_0x4a10ee['clone'][_0x235b94(0x226)](this);return _0x2c068d[_0x235b94(0x277)]=this['_data'][_0x235b94(0x1e5)](),_0x2c068d;},'_minBufferSize':0x0});_0xf58170['Hasher']=_0x101e87[_0x48bba1(0x42d)]({'cfg':_0x4a10ee[_0x48bba1(0x42d)](),'init':function(_0x2f4e69){var _0x1dcefb=_0x48bba1;this['cfg']=this['cfg'][_0x1dcefb(0x42d)](_0x2f4e69),this[_0x1dcefb(0x3f5)]();},'reset':function(){var _0x33d0f1=_0x48bba1;_0x101e87[_0x33d0f1(0x3f5)][_0x33d0f1(0x226)](this),this[_0x33d0f1(0x23d)]();},'update':function(_0x29f3c0){var _0x18a85e=_0x48bba1;return this[_0x18a85e(0x511)](_0x29f3c0),this[_0x18a85e(0x475)](),this;},'finalize':function(_0x472674){var _0x364809=_0x48bba1;_0x472674&&this[_0x364809(0x511)](_0x472674);var _0x4501c0=this[_0x364809(0x52a)]();return _0x4501c0;},'blockSize':0x10,'_createHelper':function(_0x5c30f9){return function(_0x29a816,_0x41feb0){var _0x14e8df=_0x4166;return new _0x5c30f9[(_0x14e8df(0x427))](_0x41feb0)[_0x14e8df(0x3f0)](_0x29a816);};},'_createHmacHelper':function(_0x11cfa0){return function(_0x42904f,_0x29a62e){var _0x1a591f=_0x4166;return new _0x33d245[(_0x1a591f(0x293))][(_0x1a591f(0x427))](_0x11cfa0,_0x29a62e)[_0x1a591f(0x3f0)](_0x42904f);};}});var _0x33d245=_0x4adba3[_0x48bba1(0x32f)]={};return _0x4adba3;}(Math);return _0x31ad36;}));}(_0x1df384)),_0x1df384[_0x26ffda(0x2b7)];}var _0x347248={'exports':{}},_0x27971e=_0x347248[_0x7f6170(0x2b7)],_0x5886c1;function _0x221e09(){var _0x4065e3=_0x7f6170;return _0x5886c1||(_0x5886c1=0x1,function(_0x3b4c6a,_0x54310b){(function(_0x468b14,_0x36f4c4){var _0x56da08=_0x4166;_0x3b4c6a[_0x56da08(0x2b7)]=_0x36f4c4(_0x57e27d());}(_0x27971e,function(_0x4f1b04){var _0x5f5e0e=_0x4166;return(function(){var _0x177251=_0x4166,_0x4c6a81=_0x4f1b04,_0x5531f4=_0x4c6a81[_0x177251(0x42e)],_0x599da0=_0x5531f4[_0x177251(0x4ae)],_0x37ca55=_0x4c6a81[_0x177251(0x560)];_0x37ca55[_0x177251(0x3a8)]={'stringify':function(_0x1f47f7){var _0x114b2c=_0x177251,_0x2b9bce=_0x1f47f7[_0x114b2c(0x369)],_0x1b4d44=_0x1f47f7[_0x114b2c(0x249)],_0x25f924=this[_0x114b2c(0x29f)];_0x1f47f7['clamp']();for(var _0x13cfc3=[],_0x579c71=0x0;_0x579c71<_0x1b4d44;_0x579c71+=0x3)for(var _0x2cfc3d=_0x2b9bce[_0x579c71>>>0x2]>>>0x18-_0x579c71%0x4*0x8&0xff,_0xb984bc=_0x2b9bce[_0x579c71+0x1>>>0x2]>>>0x18-(_0x579c71+0x1)%0x4*0x8&0xff,_0x4dc7a1=_0x2b9bce[_0x579c71+0x2>>>0x2]>>>0x18-(_0x579c71+0x2)%0x4*0x8&0xff,_0x1f1190=_0x2cfc3d<<0x10|_0xb984bc<<0x8|_0x4dc7a1,_0x580052=0x0;_0x580052<0x4&&_0x579c71+_0x580052*0.75<_0x1b4d44;_0x580052++)_0x13cfc3['push'](_0x25f924['charAt'](_0x1f1190>>>0x6*(0x3-_0x580052)&0x3f));var _0x1f8b79=_0x25f924[_0x114b2c(0x202)](0x40);if(_0x1f8b79){for(;_0x13cfc3[_0x114b2c(0x3eb)]%0x4;)_0x13cfc3[_0x114b2c(0x327)](_0x1f8b79);}return _0x13cfc3[_0x114b2c(0x397)]('');},'parse':function(_0x27049d){var _0x495bb1=_0x177251,_0x5b49bf=_0x27049d[_0x495bb1(0x3eb)],_0x327734=this['_map'],_0xca41d8=this[_0x495bb1(0x539)];if(!_0xca41d8){_0xca41d8=this[_0x495bb1(0x539)]=[];for(var _0x44e8dd=0x0;_0x44e8dd<_0x327734['length'];_0x44e8dd++)_0xca41d8[_0x327734['charCodeAt'](_0x44e8dd)]=_0x44e8dd;}var _0x46732b=_0x327734[_0x495bb1(0x202)](0x40);if(_0x46732b){var _0x1b5d42=_0x27049d[_0x495bb1(0x1db)](_0x46732b);_0x1b5d42!==-0x1&&(_0x5b49bf=_0x1b5d42);}return _0x4e8e84(_0x27049d,_0x5b49bf,_0xca41d8);},'_map':_0x177251(0x430)};function _0x4e8e84(_0x24c94b,_0x5d8734,_0x1cfd20){var _0x416a3c=_0x177251;for(var _0x5a2a3d=[],_0x33477a=0x0,_0x52b8ea=0x0;_0x52b8ea<_0x5d8734;_0x52b8ea++)if(_0x52b8ea%0x4){var _0x9c7f6a=_0x1cfd20[_0x24c94b[_0x416a3c(0x399)](_0x52b8ea-0x1)]<<_0x52b8ea%0x4*0x2,_0xd2d15b=_0x1cfd20[_0x24c94b[_0x416a3c(0x399)](_0x52b8ea)]>>>0x6-_0x52b8ea%0x4*0x2,_0x4b113a=_0x9c7f6a|_0xd2d15b;_0x5a2a3d[_0x33477a>>>0x2]|=_0x4b113a<<0x18-_0x33477a%0x4*0x8,_0x33477a++;}return _0x599da0[_0x416a3c(0x351)](_0x5a2a3d,_0x33477a);}}()),_0x4f1b04[_0x5f5e0e(0x560)]['Base64'];}));}(_0x347248)),_0x347248[_0x4065e3(0x2b7)];}var _0x5a47d7={'exports':{}},_0x1865b5=_0x5a47d7[_0x7f6170(0x2b7)],_0x513f5f;function _0x8b8fbd(){var _0x5054dc=_0x7f6170;return _0x513f5f||(_0x513f5f=0x1,function(_0x197c9e,_0x1a0a10){(function(_0x242d84,_0xae540d){_0x197c9e['exports']=_0xae540d(_0x57e27d());}(_0x1865b5,function(_0x144602){var _0x45c9cf=_0x4166;return function(_0x2705ad){var _0x10aca7=_0x4166,_0x1673bd=_0x144602,_0x472d6b=_0x1673bd[_0x10aca7(0x42e)],_0x39b59a=_0x472d6b[_0x10aca7(0x4ae)],_0x394954=_0x472d6b['Hasher'],_0x113a35=_0x1673bd[_0x10aca7(0x32f)],_0x3a7ae5=[];(function(){var _0x1770e9=_0x10aca7;for(var _0x40beba=0x0;_0x40beba<0x40;_0x40beba++)_0x3a7ae5[_0x40beba]=_0x2705ad['abs'](_0x2705ad[_0x1770e9(0x46c)](_0x40beba+0x1))*0x100000000|0x0;}());var _0x32da7c=_0x113a35[_0x10aca7(0x3af)]=_0x394954[_0x10aca7(0x42d)]({'_doReset':function(){var _0x5270b6=_0x10aca7;this[_0x5270b6(0x358)]=new _0x39b59a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x703029,_0x25cc00){var _0x3dc783=_0x10aca7;for(var _0x40deed=0x0;_0x40deed<0x10;_0x40deed++){var _0x57c3c1=_0x25cc00+_0x40deed,_0x470f23=_0x703029[_0x57c3c1];_0x703029[_0x57c3c1]=(_0x470f23<<0x8|_0x470f23>>>0x18)&0xff00ff|(_0x470f23<<0x18|_0x470f23>>>0x8)&0xff00ff00;}var _0x97b082=this[_0x3dc783(0x358)][_0x3dc783(0x369)],_0x51fd1b=_0x703029[_0x25cc00+0x0],_0x11b8b0=_0x703029[_0x25cc00+0x1],_0x5dc09b=_0x703029[_0x25cc00+0x2],_0x4b1b7e=_0x703029[_0x25cc00+0x3],_0x1a2604=_0x703029[_0x25cc00+0x4],_0x56c229=_0x703029[_0x25cc00+0x5],_0xb3c283=_0x703029[_0x25cc00+0x6],_0x49120b=_0x703029[_0x25cc00+0x7],_0x48b5fd=_0x703029[_0x25cc00+0x8],_0x4c961c=_0x703029[_0x25cc00+0x9],_0x2d2829=_0x703029[_0x25cc00+0xa],_0x225db8=_0x703029[_0x25cc00+0xb],_0x1bbcb8=_0x703029[_0x25cc00+0xc],_0x5111c5=_0x703029[_0x25cc00+0xd],_0x3ab7fb=_0x703029[_0x25cc00+0xe],_0x9b481e=_0x703029[_0x25cc00+0xf],_0x4b6e37=_0x97b082[0x0],_0x22191d=_0x97b082[0x1],_0xa13404=_0x97b082[0x2],_0xdc96b0=_0x97b082[0x3];_0x4b6e37=_0x3bd60d(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x51fd1b,0x7,_0x3a7ae5[0x0]),_0xdc96b0=_0x3bd60d(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x11b8b0,0xc,_0x3a7ae5[0x1]),_0xa13404=_0x3bd60d(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x5dc09b,0x11,_0x3a7ae5[0x2]),_0x22191d=_0x3bd60d(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x4b1b7e,0x16,_0x3a7ae5[0x3]),_0x4b6e37=_0x3bd60d(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x1a2604,0x7,_0x3a7ae5[0x4]),_0xdc96b0=_0x3bd60d(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x56c229,0xc,_0x3a7ae5[0x5]),_0xa13404=_0x3bd60d(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0xb3c283,0x11,_0x3a7ae5[0x6]),_0x22191d=_0x3bd60d(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x49120b,0x16,_0x3a7ae5[0x7]),_0x4b6e37=_0x3bd60d(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x48b5fd,0x7,_0x3a7ae5[0x8]),_0xdc96b0=_0x3bd60d(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x4c961c,0xc,_0x3a7ae5[0x9]),_0xa13404=_0x3bd60d(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x2d2829,0x11,_0x3a7ae5[0xa]),_0x22191d=_0x3bd60d(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x225db8,0x16,_0x3a7ae5[0xb]),_0x4b6e37=_0x3bd60d(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x1bbcb8,0x7,_0x3a7ae5[0xc]),_0xdc96b0=_0x3bd60d(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x5111c5,0xc,_0x3a7ae5[0xd]),_0xa13404=_0x3bd60d(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x3ab7fb,0x11,_0x3a7ae5[0xe]),_0x22191d=_0x3bd60d(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x9b481e,0x16,_0x3a7ae5[0xf]),_0x4b6e37=_0x2b99c1(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x11b8b0,0x5,_0x3a7ae5[0x10]),_0xdc96b0=_0x2b99c1(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0xb3c283,0x9,_0x3a7ae5[0x11]),_0xa13404=_0x2b99c1(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x225db8,0xe,_0x3a7ae5[0x12]),_0x22191d=_0x2b99c1(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x51fd1b,0x14,_0x3a7ae5[0x13]),_0x4b6e37=_0x2b99c1(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x56c229,0x5,_0x3a7ae5[0x14]),_0xdc96b0=_0x2b99c1(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x2d2829,0x9,_0x3a7ae5[0x15]),_0xa13404=_0x2b99c1(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x9b481e,0xe,_0x3a7ae5[0x16]),_0x22191d=_0x2b99c1(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x1a2604,0x14,_0x3a7ae5[0x17]),_0x4b6e37=_0x2b99c1(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x4c961c,0x5,_0x3a7ae5[0x18]),_0xdc96b0=_0x2b99c1(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x3ab7fb,0x9,_0x3a7ae5[0x19]),_0xa13404=_0x2b99c1(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x4b1b7e,0xe,_0x3a7ae5[0x1a]),_0x22191d=_0x2b99c1(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x48b5fd,0x14,_0x3a7ae5[0x1b]),_0x4b6e37=_0x2b99c1(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x5111c5,0x5,_0x3a7ae5[0x1c]),_0xdc96b0=_0x2b99c1(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x5dc09b,0x9,_0x3a7ae5[0x1d]),_0xa13404=_0x2b99c1(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x49120b,0xe,_0x3a7ae5[0x1e]),_0x22191d=_0x2b99c1(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x1bbcb8,0x14,_0x3a7ae5[0x1f]),_0x4b6e37=_0x101b94(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x56c229,0x4,_0x3a7ae5[0x20]),_0xdc96b0=_0x101b94(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x48b5fd,0xb,_0x3a7ae5[0x21]),_0xa13404=_0x101b94(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x225db8,0x10,_0x3a7ae5[0x22]),_0x22191d=_0x101b94(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x3ab7fb,0x17,_0x3a7ae5[0x23]),_0x4b6e37=_0x101b94(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x11b8b0,0x4,_0x3a7ae5[0x24]),_0xdc96b0=_0x101b94(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x1a2604,0xb,_0x3a7ae5[0x25]),_0xa13404=_0x101b94(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x49120b,0x10,_0x3a7ae5[0x26]),_0x22191d=_0x101b94(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x2d2829,0x17,_0x3a7ae5[0x27]),_0x4b6e37=_0x101b94(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x5111c5,0x4,_0x3a7ae5[0x28]),_0xdc96b0=_0x101b94(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x51fd1b,0xb,_0x3a7ae5[0x29]),_0xa13404=_0x101b94(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x4b1b7e,0x10,_0x3a7ae5[0x2a]),_0x22191d=_0x101b94(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0xb3c283,0x17,_0x3a7ae5[0x2b]),_0x4b6e37=_0x101b94(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x4c961c,0x4,_0x3a7ae5[0x2c]),_0xdc96b0=_0x101b94(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x1bbcb8,0xb,_0x3a7ae5[0x2d]),_0xa13404=_0x101b94(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x9b481e,0x10,_0x3a7ae5[0x2e]),_0x22191d=_0x101b94(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x5dc09b,0x17,_0x3a7ae5[0x2f]),_0x4b6e37=_0xaf11c5(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x51fd1b,0x6,_0x3a7ae5[0x30]),_0xdc96b0=_0xaf11c5(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x49120b,0xa,_0x3a7ae5[0x31]),_0xa13404=_0xaf11c5(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x3ab7fb,0xf,_0x3a7ae5[0x32]),_0x22191d=_0xaf11c5(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x56c229,0x15,_0x3a7ae5[0x33]),_0x4b6e37=_0xaf11c5(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x1bbcb8,0x6,_0x3a7ae5[0x34]),_0xdc96b0=_0xaf11c5(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x4b1b7e,0xa,_0x3a7ae5[0x35]),_0xa13404=_0xaf11c5(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x2d2829,0xf,_0x3a7ae5[0x36]),_0x22191d=_0xaf11c5(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x11b8b0,0x15,_0x3a7ae5[0x37]),_0x4b6e37=_0xaf11c5(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x48b5fd,0x6,_0x3a7ae5[0x38]),_0xdc96b0=_0xaf11c5(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x9b481e,0xa,_0x3a7ae5[0x39]),_0xa13404=_0xaf11c5(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0xb3c283,0xf,_0x3a7ae5[0x3a]),_0x22191d=_0xaf11c5(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x5111c5,0x15,_0x3a7ae5[0x3b]),_0x4b6e37=_0xaf11c5(_0x4b6e37,_0x22191d,_0xa13404,_0xdc96b0,_0x1a2604,0x6,_0x3a7ae5[0x3c]),_0xdc96b0=_0xaf11c5(_0xdc96b0,_0x4b6e37,_0x22191d,_0xa13404,_0x225db8,0xa,_0x3a7ae5[0x3d]),_0xa13404=_0xaf11c5(_0xa13404,_0xdc96b0,_0x4b6e37,_0x22191d,_0x5dc09b,0xf,_0x3a7ae5[0x3e]),_0x22191d=_0xaf11c5(_0x22191d,_0xa13404,_0xdc96b0,_0x4b6e37,_0x4c961c,0x15,_0x3a7ae5[0x3f]),_0x97b082[0x0]=_0x97b082[0x0]+_0x4b6e37|0x0,_0x97b082[0x1]=_0x97b082[0x1]+_0x22191d|0x0,_0x97b082[0x2]=_0x97b082[0x2]+_0xa13404|0x0,_0x97b082[0x3]=_0x97b082[0x3]+_0xdc96b0|0x0;},'_doFinalize':function(){var _0x20a566=_0x10aca7,_0x302aa3=this['_data'],_0xbbd04=_0x302aa3[_0x20a566(0x369)],_0x378a05=this['_nDataBytes']*0x8,_0x190493=_0x302aa3[_0x20a566(0x249)]*0x8;_0xbbd04[_0x190493>>>0x5]|=0x80<<0x18-_0x190493%0x20;var _0x42dce7=_0x2705ad['floor'](_0x378a05/0x100000000),_0x1ed170=_0x378a05;_0xbbd04[(_0x190493+0x40>>>0x9<<0x4)+0xf]=(_0x42dce7<<0x8|_0x42dce7>>>0x18)&0xff00ff|(_0x42dce7<<0x18|_0x42dce7>>>0x8)&0xff00ff00,_0xbbd04[(_0x190493+0x40>>>0x9<<0x4)+0xe]=(_0x1ed170<<0x8|_0x1ed170>>>0x18)&0xff00ff|(_0x1ed170<<0x18|_0x1ed170>>>0x8)&0xff00ff00,_0x302aa3[_0x20a566(0x249)]=(_0xbbd04[_0x20a566(0x3eb)]+0x1)*0x4,this[_0x20a566(0x475)]();for(var _0x166844=this[_0x20a566(0x358)],_0x1aa395=_0x166844['words'],_0x4fea75=0x0;_0x4fea75<0x4;_0x4fea75++){var _0x272a7d=_0x1aa395[_0x4fea75];_0x1aa395[_0x4fea75]=(_0x272a7d<<0x8|_0x272a7d>>>0x18)&0xff00ff|(_0x272a7d<<0x18|_0x272a7d>>>0x8)&0xff00ff00;}return _0x166844;},'clone':function(){var _0x53e408=_0x10aca7,_0x355cbe=_0x394954[_0x53e408(0x1e5)][_0x53e408(0x226)](this);return _0x355cbe[_0x53e408(0x358)]=this['_hash'][_0x53e408(0x1e5)](),_0x355cbe;}});function _0x3bd60d(_0x5cf0f2,_0x292c9a,_0x3a2261,_0x29bda3,_0x1431e6,_0x516daa,_0x3907a6){var _0x3a7fb5=_0x5cf0f2+(_0x292c9a&_0x3a2261|~_0x292c9a&_0x29bda3)+_0x1431e6+_0x3907a6;return(_0x3a7fb5<<_0x516daa|_0x3a7fb5>>>0x20-_0x516daa)+_0x292c9a;}function _0x2b99c1(_0x18648b,_0x2548cd,_0x29deb9,_0x189bd6,_0x70d0c5,_0x1a3215,_0x3420aa){var _0x3a9fde=_0x18648b+(_0x2548cd&_0x189bd6|_0x29deb9&~_0x189bd6)+_0x70d0c5+_0x3420aa;return(_0x3a9fde<<_0x1a3215|_0x3a9fde>>>0x20-_0x1a3215)+_0x2548cd;}function _0x101b94(_0x188845,_0x42652f,_0xb890fb,_0x42ee14,_0x2a46b8,_0x320e8c,_0x4dd815){var _0x1d5ef0=_0x188845+(_0x42652f^_0xb890fb^_0x42ee14)+_0x2a46b8+_0x4dd815;return(_0x1d5ef0<<_0x320e8c|_0x1d5ef0>>>0x20-_0x320e8c)+_0x42652f;}function _0xaf11c5(_0x232557,_0x5a090f,_0x11e429,_0x1bfe8b,_0x4afccf,_0x4ef9b4,_0xd37c32){var _0x39f59f=_0x232557+(_0x11e429^(_0x5a090f|~_0x1bfe8b))+_0x4afccf+_0xd37c32;return(_0x39f59f<<_0x4ef9b4|_0x39f59f>>>0x20-_0x4ef9b4)+_0x5a090f;}_0x1673bd[_0x10aca7(0x3af)]=_0x394954[_0x10aca7(0x22e)](_0x32da7c),_0x1673bd[_0x10aca7(0x2b3)]=_0x394954[_0x10aca7(0x204)](_0x32da7c);}(Math),_0x144602[_0x45c9cf(0x3af)];}));}(_0x5a47d7)),_0x5a47d7[_0x5054dc(0x2b7)];}var _0x114c30={'exports':{}},_0x3f9d66={'exports':{}},_0x3196bb=_0x3f9d66[_0x7f6170(0x2b7)],_0x4b4f32;function _0x270993(){return _0x4b4f32||(_0x4b4f32=0x1,function(_0x5cecf4,_0x43c14b){(function(_0x1cc4af,_0x619b99){_0x5cecf4['exports']=_0x619b99(_0x57e27d());}(_0x3196bb,function(_0x261262){var _0x24e401=_0x4166;return(function(){var _0xd92715=_0x4166,_0xafa27a=_0x261262,_0x27d1a6=_0xafa27a[_0xd92715(0x42e)],_0x194e69=_0x27d1a6[_0xd92715(0x4ae)],_0x2000c5=_0x27d1a6[_0xd92715(0x523)],_0x390895=_0xafa27a[_0xd92715(0x32f)],_0x132671=[],_0x25bbbf=_0x390895['SHA1']=_0x2000c5[_0xd92715(0x42d)]({'_doReset':function(){var _0xa8c2ee=_0xd92715;this[_0xa8c2ee(0x358)]=new _0x194e69['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4648a4,_0x5f29b7){var _0x28d697=_0xd92715;for(var _0x4b4377=this[_0x28d697(0x358)][_0x28d697(0x369)],_0x2ca586=_0x4b4377[0x0],_0x2f61e6=_0x4b4377[0x1],_0x441f5c=_0x4b4377[0x2],_0x41cde4=_0x4b4377[0x3],_0xb99281=_0x4b4377[0x4],_0x1ea709=0x0;_0x1ea709<0x50;_0x1ea709++){if(_0x1ea709<0x10)_0x132671[_0x1ea709]=_0x4648a4[_0x5f29b7+_0x1ea709]|0x0;else{var _0x5cfd36=_0x132671[_0x1ea709-0x3]^_0x132671[_0x1ea709-0x8]^_0x132671[_0x1ea709-0xe]^_0x132671[_0x1ea709-0x10];_0x132671[_0x1ea709]=_0x5cfd36<<0x1|_0x5cfd36>>>0x1f;}var _0x2c7097=(_0x2ca586<<0x5|_0x2ca586>>>0x1b)+_0xb99281+_0x132671[_0x1ea709];_0x1ea709<0x14?_0x2c7097+=(_0x2f61e6&_0x441f5c|~_0x2f61e6&_0x41cde4)+0x5a827999:_0x1ea709<0x28?_0x2c7097+=(_0x2f61e6^_0x441f5c^_0x41cde4)+0x6ed9eba1:_0x1ea709<0x3c?_0x2c7097+=(_0x2f61e6&_0x441f5c|_0x2f61e6&_0x41cde4|_0x441f5c&_0x41cde4)-0x70e44324:_0x2c7097+=(_0x2f61e6^_0x441f5c^_0x41cde4)-0x359d3e2a,_0xb99281=_0x41cde4,_0x41cde4=_0x441f5c,_0x441f5c=_0x2f61e6<<0x1e|_0x2f61e6>>>0x2,_0x2f61e6=_0x2ca586,_0x2ca586=_0x2c7097;}_0x4b4377[0x0]=_0x4b4377[0x0]+_0x2ca586|0x0,_0x4b4377[0x1]=_0x4b4377[0x1]+_0x2f61e6|0x0,_0x4b4377[0x2]=_0x4b4377[0x2]+_0x441f5c|0x0,_0x4b4377[0x3]=_0x4b4377[0x3]+_0x41cde4|0x0,_0x4b4377[0x4]=_0x4b4377[0x4]+_0xb99281|0x0;},'_doFinalize':function(){var _0x959012=_0xd92715,_0x38db4b=this[_0x959012(0x277)],_0x43b0ed=_0x38db4b[_0x959012(0x369)],_0xbb8adc=this['_nDataBytes']*0x8,_0x3594e8=_0x38db4b['sigBytes']*0x8;return _0x43b0ed[_0x3594e8>>>0x5]|=0x80<<0x18-_0x3594e8%0x20,_0x43b0ed[(_0x3594e8+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0xbb8adc/0x100000000),_0x43b0ed[(_0x3594e8+0x40>>>0x9<<0x4)+0xf]=_0xbb8adc,_0x38db4b[_0x959012(0x249)]=_0x43b0ed[_0x959012(0x3eb)]*0x4,this[_0x959012(0x475)](),this[_0x959012(0x358)];},'clone':function(){var _0x4c9f77=_0xd92715,_0x1637d0=_0x2000c5[_0x4c9f77(0x1e5)]['call'](this);return _0x1637d0['_hash']=this[_0x4c9f77(0x358)][_0x4c9f77(0x1e5)](),_0x1637d0;}});_0xafa27a[_0xd92715(0x1fd)]=_0x2000c5['_createHelper'](_0x25bbbf),_0xafa27a[_0xd92715(0x526)]=_0x2000c5[_0xd92715(0x204)](_0x25bbbf);}()),_0x261262[_0x24e401(0x1fd)];}));}(_0x3f9d66)),_0x3f9d66['exports'];}var _0x1d60aa={'exports':{}},_0x206133=_0x1d60aa[_0x7f6170(0x2b7)],_0x59ab39;function _0x4286fe(){var _0x3ad0ab=_0x7f6170;return _0x59ab39||(_0x59ab39=0x1,function(_0x20f9ac,_0x730864){(function(_0x27bbd2,_0x441dbe){_0x20f9ac['exports']=_0x441dbe(_0x57e27d());}(_0x206133,function(_0x1b1092){(function(){var _0x4857d3=_0x4166,_0x2d99ee=_0x1b1092,_0x9030b6=_0x2d99ee[_0x4857d3(0x42e)],_0x37c8a0=_0x9030b6[_0x4857d3(0x3b8)],_0x2b957d=_0x2d99ee['enc'],_0x512ce0=_0x2b957d[_0x4857d3(0x2ef)],_0xaccffd=_0x2d99ee[_0x4857d3(0x32f)];_0xaccffd[_0x4857d3(0x293)]=_0x37c8a0[_0x4857d3(0x42d)]({'init':function(_0x2d4c0b,_0x4ecd75){var _0x14ed2a=_0x4857d3;_0x2d4c0b=this['_hasher']=new _0x2d4c0b['init'](),typeof _0x4ecd75==_0x14ed2a(0x4b4)&&(_0x4ecd75=_0x512ce0[_0x14ed2a(0x2dd)](_0x4ecd75));var _0x1dabc4=_0x2d4c0b[_0x14ed2a(0x3c0)],_0x2b5060=_0x1dabc4*0x4;_0x4ecd75[_0x14ed2a(0x249)]>_0x2b5060&&(_0x4ecd75=_0x2d4c0b[_0x14ed2a(0x3f0)](_0x4ecd75)),_0x4ecd75[_0x14ed2a(0x1de)]();for(var _0x499258=this[_0x14ed2a(0x548)]=_0x4ecd75[_0x14ed2a(0x1e5)](),_0x133a0f=this['_iKey']=_0x4ecd75[_0x14ed2a(0x1e5)](),_0x17268f=_0x499258[_0x14ed2a(0x369)],_0x3fe08b=_0x133a0f[_0x14ed2a(0x369)],_0xb1fd10=0x0;_0xb1fd10<_0x1dabc4;_0xb1fd10++)_0x17268f[_0xb1fd10]^=0x5c5c5c5c,_0x3fe08b[_0xb1fd10]^=0x36363636;_0x499258[_0x14ed2a(0x249)]=_0x133a0f['sigBytes']=_0x2b5060,this['reset']();},'reset':function(){var _0x59bf14=_0x4857d3,_0x314afb=this['_hasher'];_0x314afb[_0x59bf14(0x3f5)](),_0x314afb[_0x59bf14(0x3c9)](this[_0x59bf14(0x1ed)]);},'update':function(_0xa57797){var _0x233286=_0x4857d3;return this['_hasher'][_0x233286(0x3c9)](_0xa57797),this;},'finalize':function(_0x5beeaf){var _0x1b1224=_0x4857d3,_0x4e20ac=this[_0x1b1224(0x1f6)],_0x406bb2=_0x4e20ac[_0x1b1224(0x3f0)](_0x5beeaf);_0x4e20ac[_0x1b1224(0x3f5)]();var _0x5ec167=_0x4e20ac['finalize'](this[_0x1b1224(0x548)][_0x1b1224(0x1e5)]()[_0x1b1224(0x3b9)](_0x406bb2));return _0x5ec167;}});}());}));}(_0x1d60aa)),_0x1d60aa[_0x3ad0ab(0x2b7)];}var _0x262db4=_0x114c30[_0x7f6170(0x2b7)],_0x36e77d;function _0x109bfa(){return _0x36e77d||(_0x36e77d=0x1,function(_0x596997,_0x58204f){(function(_0x12d83c,_0x38a828,_0x4c1c71){var _0x24c8ff=_0x4166;_0x596997[_0x24c8ff(0x2b7)]=_0x38a828(_0x57e27d(),_0x270993(),_0x4286fe());}(_0x262db4,function(_0x51cb41){var _0xa30be6=_0x4166;return(function(){var _0x5b7658=_0x4166,_0x707d32=_0x51cb41,_0x2bef64=_0x707d32[_0x5b7658(0x42e)],_0x533755=_0x2bef64[_0x5b7658(0x3b8)],_0x162c2d=_0x2bef64['WordArray'],_0x3eadc6=_0x707d32[_0x5b7658(0x32f)],_0x3840d0=_0x3eadc6[_0x5b7658(0x3af)],_0x382fa5=_0x3eadc6[_0x5b7658(0x36e)]=_0x533755['extend']({'cfg':_0x533755[_0x5b7658(0x42d)]({'keySize':0x80/0x20,'hasher':_0x3840d0,'iterations':0x1}),'init':function(_0x18b389){var _0x5b0ff2=_0x5b7658;this['cfg']=this[_0x5b0ff2(0x391)]['extend'](_0x18b389);},'compute':function(_0x1ec66d,_0x5e9200){var _0xb052f8=_0x5b7658;for(var _0x4c25dd,_0x137413=this['cfg'],_0x481996=_0x137413['hasher']['create'](),_0x3a1bb3=_0x162c2d[_0xb052f8(0x351)](),_0x3a4c65=_0x3a1bb3[_0xb052f8(0x369)],_0x483116=_0x137413['keySize'],_0x3891cc=_0x137413[_0xb052f8(0x4ed)];_0x3a4c65['length']<_0x483116;){_0x4c25dd&&_0x481996[_0xb052f8(0x3c9)](_0x4c25dd),_0x4c25dd=_0x481996[_0xb052f8(0x3c9)](_0x1ec66d)[_0xb052f8(0x3f0)](_0x5e9200),_0x481996[_0xb052f8(0x3f5)]();for(var _0x5a83b3=0x1;_0x5a83b3<_0x3891cc;_0x5a83b3++)_0x4c25dd=_0x481996['finalize'](_0x4c25dd),_0x481996[_0xb052f8(0x3f5)]();_0x3a1bb3[_0xb052f8(0x3b9)](_0x4c25dd);}return _0x3a1bb3[_0xb052f8(0x249)]=_0x483116*0x4,_0x3a1bb3;}});_0x707d32[_0x5b7658(0x36e)]=function(_0x446bc3,_0x4450df,_0x326904){var _0x5cef61=_0x5b7658;return _0x382fa5[_0x5cef61(0x351)](_0x326904)[_0x5cef61(0x1e2)](_0x446bc3,_0x4450df);};}()),_0x51cb41[_0xa30be6(0x36e)];}));}(_0x114c30)),_0x114c30['exports'];}var _0x2702d8={'exports':{}},_0x513405=_0x2702d8[_0x7f6170(0x2b7)],_0x2582d;function _0x3b0bab(){var _0x13c926=_0x7f6170;return _0x2582d||(_0x2582d=0x1,function(_0x57fe81,_0x4d9b7e){(function(_0x27a6b0,_0xfe7af1,_0x39c723){var _0x282486=_0x4166;_0x57fe81[_0x282486(0x2b7)]=_0xfe7af1(_0x57e27d(),_0x109bfa());}(_0x513405,function(_0x3af5c5){var _0x4c1bff=_0x4166;_0x3af5c5[_0x4c1bff(0x42e)][_0x4c1bff(0x3fa)]||function(_0xc2ee85){var _0x477798=_0x4c1bff,_0x5752e8=_0x3af5c5,_0x51ced3=_0x5752e8[_0x477798(0x42e)],_0x3474dc=_0x51ced3[_0x477798(0x3b8)],_0x5b164b=_0x51ced3[_0x477798(0x4ae)],_0x194da4=_0x51ced3[_0x477798(0x22b)],_0x37a4ed=_0x5752e8[_0x477798(0x560)];_0x37a4ed[_0x477798(0x2ef)];var _0x8bbaa4=_0x37a4ed[_0x477798(0x3a8)],_0x3f6ec7=_0x5752e8[_0x477798(0x32f)],_0x29621e=_0x3f6ec7[_0x477798(0x36e)],_0x1e7335=_0x51ced3[_0x477798(0x3fa)]=_0x194da4['extend']({'cfg':_0x3474dc[_0x477798(0x42d)](),'createEncryptor':function(_0x3f8266,_0x171c6c){var _0x42b478=_0x477798;return this[_0x42b478(0x351)](this['_ENC_XFORM_MODE'],_0x3f8266,_0x171c6c);},'createDecryptor':function(_0x59f7ef,_0x439152){var _0x3ab527=_0x477798;return this[_0x3ab527(0x351)](this[_0x3ab527(0x2e0)],_0x59f7ef,_0x439152);},'init':function(_0x43c099,_0x58362b,_0x13faf1){var _0x1e3bd1=_0x477798;this[_0x1e3bd1(0x391)]=this[_0x1e3bd1(0x391)][_0x1e3bd1(0x42d)](_0x13faf1),this['_xformMode']=_0x43c099,this[_0x1e3bd1(0x49b)]=_0x58362b,this['reset']();},'reset':function(){var _0x5d767f=_0x477798;_0x194da4[_0x5d767f(0x3f5)][_0x5d767f(0x226)](this),this[_0x5d767f(0x23d)]();},'process':function(_0x3ccbfd){var _0x58d94e=_0x477798;return this[_0x58d94e(0x511)](_0x3ccbfd),this[_0x58d94e(0x475)]();},'finalize':function(_0x1f9f8f){var _0x7d1d63=_0x477798;_0x1f9f8f&&this[_0x7d1d63(0x511)](_0x1f9f8f);var _0x51164c=this[_0x7d1d63(0x52a)]();return _0x51164c;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x784d70(_0x41ca26){var _0x584faf=_0x4166;return typeof _0x41ca26==_0x584faf(0x4b4)?_0x25ba1c:_0x13159b;}return function(_0x54a8b1){return{'encrypt':function(_0x450a39,_0x122d8d,_0x5c0dd4){var _0x50e632=_0x4166;return _0x784d70(_0x122d8d)[_0x50e632(0x398)](_0x54a8b1,_0x450a39,_0x122d8d,_0x5c0dd4);},'decrypt':function(_0x1f01db,_0x329ed7,_0x254d05){return _0x784d70(_0x329ed7)['decrypt'](_0x54a8b1,_0x1f01db,_0x329ed7,_0x254d05);}};};}())});_0x51ced3[_0x477798(0x1bc)]=_0x1e7335['extend']({'_doFinalize':function(){var _0x215aac=_0x477798,_0xb8de86=this[_0x215aac(0x475)](!0x0);return _0xb8de86;},'blockSize':0x1});var _0x2b1c51=_0x5752e8['mode']={},_0x4439ef=_0x51ced3[_0x477798(0x528)]=_0x3474dc[_0x477798(0x42d)]({'createEncryptor':function(_0x8cee24,_0x4bef8d){var _0x138c12=_0x477798;return this[_0x138c12(0x337)][_0x138c12(0x351)](_0x8cee24,_0x4bef8d);},'createDecryptor':function(_0x4aa88f,_0x20bec9){var _0xe216d3=_0x477798;return this[_0xe216d3(0x495)][_0xe216d3(0x351)](_0x4aa88f,_0x20bec9);},'init':function(_0x4be2d7,_0x5e284c){var _0x5cbf5a=_0x477798;this[_0x5cbf5a(0x496)]=_0x4be2d7,this[_0x5cbf5a(0x31c)]=_0x5e284c;}}),_0x3e2225=_0x2b1c51['CBC']=(function(){var _0x3df6cb=_0x477798,_0x584fcb=_0x4439ef[_0x3df6cb(0x42d)]();_0x584fcb['Encryptor']=_0x584fcb[_0x3df6cb(0x42d)]({'processBlock':function(_0x519009,_0x4ac9fe){var _0x22c225=_0x3df6cb,_0x2c830c=this['_cipher'],_0x17c94e=_0x2c830c[_0x22c225(0x3c0)];_0x17b07e[_0x22c225(0x226)](this,_0x519009,_0x4ac9fe,_0x17c94e),_0x2c830c['encryptBlock'](_0x519009,_0x4ac9fe),this[_0x22c225(0x261)]=_0x519009[_0x22c225(0x363)](_0x4ac9fe,_0x4ac9fe+_0x17c94e);}}),_0x584fcb['Decryptor']=_0x584fcb[_0x3df6cb(0x42d)]({'processBlock':function(_0xc1aaa1,_0xf2584b){var _0x447977=_0x3df6cb,_0x1276b1=this[_0x447977(0x496)],_0x2cea37=_0x1276b1['blockSize'],_0x520d0a=_0xc1aaa1['slice'](_0xf2584b,_0xf2584b+_0x2cea37);_0x1276b1[_0x447977(0x4ce)](_0xc1aaa1,_0xf2584b),_0x17b07e[_0x447977(0x226)](this,_0xc1aaa1,_0xf2584b,_0x2cea37),this[_0x447977(0x261)]=_0x520d0a;}});function _0x17b07e(_0xef3d48,_0x55744c,_0x19cbb3){var _0xec369c=_0x3df6cb,_0x54f950,_0x589d51=this[_0xec369c(0x31c)];_0x589d51?(_0x54f950=_0x589d51,this[_0xec369c(0x31c)]=_0xc2ee85):_0x54f950=this[_0xec369c(0x261)];for(var _0x43623b=0x0;_0x43623b<_0x19cbb3;_0x43623b++)_0xef3d48[_0x55744c+_0x43623b]^=_0x54f950[_0x43623b];}return _0x584fcb;}()),_0x3a0583=_0x5752e8['pad']={},_0x3eb2bf=_0x3a0583[_0x477798(0x450)]={'pad':function(_0x541169,_0x10ac70){var _0x25d74f=_0x477798;for(var _0x2b3c7=_0x10ac70*0x4,_0x1d66a9=_0x2b3c7-_0x541169[_0x25d74f(0x249)]%_0x2b3c7,_0x4321be=_0x1d66a9<<0x18|_0x1d66a9<<0x10|_0x1d66a9<<0x8|_0x1d66a9,_0x258189=[],_0x2bb460=0x0;_0x2bb460<_0x1d66a9;_0x2bb460+=0x4)_0x258189[_0x25d74f(0x327)](_0x4321be);var _0x2bff99=_0x5b164b[_0x25d74f(0x351)](_0x258189,_0x1d66a9);_0x541169[_0x25d74f(0x3b9)](_0x2bff99);},'unpad':function(_0xde0c34){var _0x4eb85c=_0x477798,_0x11151b=_0xde0c34[_0x4eb85c(0x369)][_0xde0c34[_0x4eb85c(0x249)]-0x1>>>0x2]&0xff;_0xde0c34['sigBytes']-=_0x11151b;}};_0x51ced3[_0x477798(0x1f9)]=_0x1e7335[_0x477798(0x42d)]({'cfg':_0x1e7335['cfg'][_0x477798(0x42d)]({'mode':_0x3e2225,'padding':_0x3eb2bf}),'reset':function(){var _0xeea32f=_0x477798,_0x132a48;_0x1e7335['reset'][_0xeea32f(0x226)](this);var _0x5496ab=this[_0xeea32f(0x391)],_0xb4ab0d=_0x5496ab['iv'],_0x354344=_0x5496ab[_0xeea32f(0x3bf)];this[_0xeea32f(0x559)]==this[_0xeea32f(0x303)]?_0x132a48=_0x354344[_0xeea32f(0x1cf)]:(_0x132a48=_0x354344[_0xeea32f(0x50d)],this[_0xeea32f(0x45f)]=0x1),this[_0xeea32f(0x375)]&&this[_0xeea32f(0x375)][_0xeea32f(0x4d1)]==_0x132a48?this[_0xeea32f(0x375)]['init'](this,_0xb4ab0d&&_0xb4ab0d['words']):(this['_mode']=_0x132a48[_0xeea32f(0x226)](_0x354344,this,_0xb4ab0d&&_0xb4ab0d[_0xeea32f(0x369)]),this[_0xeea32f(0x375)][_0xeea32f(0x4d1)]=_0x132a48);},'_doProcessBlock':function(_0x5c1253,_0x2b471b){var _0x25b36f=_0x477798;this[_0x25b36f(0x375)][_0x25b36f(0x26d)](_0x5c1253,_0x2b471b);},'_doFinalize':function(){var _0x29532c=_0x477798,_0x31e820,_0x189733=this['cfg'][_0x29532c(0x484)];return this[_0x29532c(0x559)]==this['_ENC_XFORM_MODE']?(_0x189733[_0x29532c(0x27d)](this[_0x29532c(0x277)],this[_0x29532c(0x3c0)]),_0x31e820=this['_process'](!0x0)):(_0x31e820=this['_process'](!0x0),_0x189733[_0x29532c(0x42c)](_0x31e820)),_0x31e820;},'blockSize':0x80/0x20});var _0x35612a=_0x51ced3[_0x477798(0x287)]=_0x3474dc[_0x477798(0x42d)]({'init':function(_0xc09ba8){var _0x429249=_0x477798;this[_0x429249(0x42b)](_0xc09ba8);},'toString':function(_0x58b9bd){var _0x151ad9=_0x477798;return(_0x58b9bd||this[_0x151ad9(0x3a6)])[_0x151ad9(0x4a7)](this);}}),_0x2ac724=_0x5752e8[_0x477798(0x3dc)]={},_0x59c1a7=_0x2ac724[_0x477798(0x1bf)]={'stringify':function(_0x16293f){var _0x15ab30=_0x477798,_0x1ba0db,_0x54de54=_0x16293f['ciphertext'],_0x25b0b3=_0x16293f[_0x15ab30(0x488)];return _0x25b0b3?_0x1ba0db=_0x5b164b[_0x15ab30(0x351)]([0x53616c74,0x65645f5f])[_0x15ab30(0x3b9)](_0x25b0b3)[_0x15ab30(0x3b9)](_0x54de54):_0x1ba0db=_0x54de54,_0x1ba0db[_0x15ab30(0x2b4)](_0x8bbaa4);},'parse':function(_0x54d374){var _0x48f819=_0x477798,_0x54aa60,_0x104f04=_0x8bbaa4[_0x48f819(0x2dd)](_0x54d374),_0x7a7705=_0x104f04[_0x48f819(0x369)];return _0x7a7705[0x0]==0x53616c74&&_0x7a7705[0x1]==0x65645f5f&&(_0x54aa60=_0x5b164b[_0x48f819(0x351)](_0x7a7705[_0x48f819(0x363)](0x2,0x4)),_0x7a7705[_0x48f819(0x1e3)](0x0,0x4),_0x104f04[_0x48f819(0x249)]-=0x10),_0x35612a[_0x48f819(0x351)]({'ciphertext':_0x104f04,'salt':_0x54aa60});}},_0x13159b=_0x51ced3[_0x477798(0x3c7)]=_0x3474dc['extend']({'cfg':_0x3474dc[_0x477798(0x42d)]({'format':_0x59c1a7}),'encrypt':function(_0x585510,_0x605dd2,_0x52c4fd,_0x11cc64){var _0x3645e8=_0x477798;_0x11cc64=this[_0x3645e8(0x391)]['extend'](_0x11cc64);var _0xda81a2=_0x585510[_0x3645e8(0x1cf)](_0x52c4fd,_0x11cc64),_0x21e94c=_0xda81a2[_0x3645e8(0x3f0)](_0x605dd2),_0x40e3ba=_0xda81a2[_0x3645e8(0x391)];return _0x35612a[_0x3645e8(0x351)]({'ciphertext':_0x21e94c,'key':_0x52c4fd,'iv':_0x40e3ba['iv'],'algorithm':_0x585510,'mode':_0x40e3ba[_0x3645e8(0x3bf)],'padding':_0x40e3ba[_0x3645e8(0x484)],'blockSize':_0x585510[_0x3645e8(0x3c0)],'formatter':_0x11cc64[_0x3645e8(0x3dc)]});},'decrypt':function(_0x315315,_0xb748f3,_0x8b4fd2,_0x27dab3){var _0x1f19bf=_0x477798;_0x27dab3=this[_0x1f19bf(0x391)][_0x1f19bf(0x42d)](_0x27dab3),_0xb748f3=this[_0x1f19bf(0x1d1)](_0xb748f3,_0x27dab3['format']);var _0x231bd9=_0x315315[_0x1f19bf(0x50d)](_0x8b4fd2,_0x27dab3)[_0x1f19bf(0x3f0)](_0xb748f3[_0x1f19bf(0x2eb)]);return _0x231bd9;},'_parse':function(_0x247ac5,_0x1e6421){var _0x508a90=_0x477798;return typeof _0x247ac5==_0x508a90(0x4b4)?_0x1e6421['parse'](_0x247ac5,this):_0x247ac5;}}),_0x513b6a=_0x5752e8['kdf']={},_0x52076b=_0x513b6a[_0x477798(0x1bf)]={'execute':function(_0x6db567,_0x326c89,_0x794bfc,_0x5354dc,_0x367238){var _0x57c3b0=_0x477798;if(_0x5354dc||(_0x5354dc=_0x5b164b[_0x57c3b0(0x2a3)](0x40/0x8)),_0x367238)var _0x4e9c98=_0x29621e[_0x57c3b0(0x351)]({'keySize':_0x326c89+_0x794bfc,'hasher':_0x367238})[_0x57c3b0(0x1e2)](_0x6db567,_0x5354dc);else var _0x4e9c98=_0x29621e[_0x57c3b0(0x351)]({'keySize':_0x326c89+_0x794bfc})[_0x57c3b0(0x1e2)](_0x6db567,_0x5354dc);var _0x3edbf9=_0x5b164b[_0x57c3b0(0x351)](_0x4e9c98[_0x57c3b0(0x369)][_0x57c3b0(0x363)](_0x326c89),_0x794bfc*0x4);return _0x4e9c98[_0x57c3b0(0x249)]=_0x326c89*0x4,_0x35612a[_0x57c3b0(0x351)]({'key':_0x4e9c98,'iv':_0x3edbf9,'salt':_0x5354dc});}},_0x25ba1c=_0x51ced3[_0x477798(0x34d)]=_0x13159b[_0x477798(0x42d)]({'cfg':_0x13159b['cfg'][_0x477798(0x42d)]({'kdf':_0x52076b}),'encrypt':function(_0x566a41,_0x25bddf,_0xcfdf1f,_0x425e3a){var _0xe0a3d=_0x477798;_0x425e3a=this['cfg'][_0xe0a3d(0x42d)](_0x425e3a);var _0x449678=_0x425e3a[_0xe0a3d(0x338)][_0xe0a3d(0x359)](_0xcfdf1f,_0x566a41[_0xe0a3d(0x2c2)],_0x566a41['ivSize'],_0x425e3a[_0xe0a3d(0x488)],_0x425e3a[_0xe0a3d(0x2d3)]);_0x425e3a['iv']=_0x449678['iv'];var _0x419e6a=_0x13159b[_0xe0a3d(0x398)]['call'](this,_0x566a41,_0x25bddf,_0x449678[_0xe0a3d(0x281)],_0x425e3a);return _0x419e6a['mixIn'](_0x449678),_0x419e6a;},'decrypt':function(_0x4726d3,_0x3d4f51,_0x1dc3e1,_0x3c903a){var _0x83e516=_0x477798;_0x3c903a=this['cfg'][_0x83e516(0x42d)](_0x3c903a),_0x3d4f51=this[_0x83e516(0x1d1)](_0x3d4f51,_0x3c903a[_0x83e516(0x3dc)]);var _0x46dc8b=_0x3c903a[_0x83e516(0x338)][_0x83e516(0x359)](_0x1dc3e1,_0x4726d3[_0x83e516(0x2c2)],_0x4726d3[_0x83e516(0x4f0)],_0x3d4f51[_0x83e516(0x488)],_0x3c903a[_0x83e516(0x2d3)]);_0x3c903a['iv']=_0x46dc8b['iv'];var _0x18a6d0=_0x13159b[_0x83e516(0x3b1)][_0x83e516(0x226)](this,_0x4726d3,_0x3d4f51,_0x46dc8b[_0x83e516(0x281)],_0x3c903a);return _0x18a6d0;}});}();}));}(_0x2702d8)),_0x2702d8[_0x13c926(0x2b7)];}var _0x4e8c0d=_0x215e54[_0x7f6170(0x2b7)],_0x316dbb;function _0x27a7a6(){var _0x1aa8fe=_0x7f6170;return _0x316dbb||(_0x316dbb=0x1,function(_0x1f5b71,_0x5de976){(function(_0x5e322d,_0x5910af,_0x297093){var _0x39050b=_0x4166;_0x1f5b71[_0x39050b(0x2b7)]=_0x5910af(_0x57e27d(),_0x221e09(),_0x8b8fbd(),_0x109bfa(),_0x3b0bab());}(_0x4e8c0d,function(_0x2f256a){var _0x1fc9e2=_0x4166;return(function(){var _0x2ebd71=_0x4166,_0x42b3be=_0x2f256a,_0xc164f3=_0x42b3be[_0x2ebd71(0x42e)],_0x32187c=_0xc164f3['BlockCipher'],_0x595a12=_0x42b3be['algo'],_0x3a3541=[],_0x2c000c=[],_0x2bf123=[],_0x371a33=[],_0x3a2675=[],_0x53a42e=[],_0x1979c7=[],_0x1ca04b=[],_0x2c90f3=[],_0x4fb458=[];(function(){for(var _0x4df7ee=[],_0x589197=0x0;_0x589197<0x100;_0x589197++)_0x589197<0x80?_0x4df7ee[_0x589197]=_0x589197<<0x1:_0x4df7ee[_0x589197]=_0x589197<<0x1^0x11b;for(var _0x734f41=0x0,_0x2cc7e6=0x0,_0x589197=0x0;_0x589197<0x100;_0x589197++){var _0x4af4c8=_0x2cc7e6^_0x2cc7e6<<0x1^_0x2cc7e6<<0x2^_0x2cc7e6<<0x3^_0x2cc7e6<<0x4;_0x4af4c8=_0x4af4c8>>>0x8^_0x4af4c8&0xff^0x63,_0x3a3541[_0x734f41]=_0x4af4c8,_0x2c000c[_0x4af4c8]=_0x734f41;var _0x447cb4=_0x4df7ee[_0x734f41],_0x392eda=_0x4df7ee[_0x447cb4],_0x5dda88=_0x4df7ee[_0x392eda],_0x30105f=_0x4df7ee[_0x4af4c8]*0x101^_0x4af4c8*0x1010100;_0x2bf123[_0x734f41]=_0x30105f<<0x18|_0x30105f>>>0x8,_0x371a33[_0x734f41]=_0x30105f<<0x10|_0x30105f>>>0x10,_0x3a2675[_0x734f41]=_0x30105f<<0x8|_0x30105f>>>0x18,_0x53a42e[_0x734f41]=_0x30105f;var _0x30105f=_0x5dda88*0x1010101^_0x392eda*0x10001^_0x447cb4*0x101^_0x734f41*0x1010100;_0x1979c7[_0x4af4c8]=_0x30105f<<0x18|_0x30105f>>>0x8,_0x1ca04b[_0x4af4c8]=_0x30105f<<0x10|_0x30105f>>>0x10,_0x2c90f3[_0x4af4c8]=_0x30105f<<0x8|_0x30105f>>>0x18,_0x4fb458[_0x4af4c8]=_0x30105f,_0x734f41?(_0x734f41=_0x447cb4^_0x4df7ee[_0x4df7ee[_0x4df7ee[_0x5dda88^_0x447cb4]]],_0x2cc7e6^=_0x4df7ee[_0x4df7ee[_0x2cc7e6]]):_0x734f41=_0x2cc7e6=0x1;}}());var _0x3d749a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4c42a7=_0x595a12['AES']=_0x32187c['extend']({'_doReset':function(){var _0xff7b1b=_0x2ebd71,_0x3f6a63;if(!(this['_nRounds']&&this[_0xff7b1b(0x531)]===this[_0xff7b1b(0x49b)])){for(var _0x4724dd=this[_0xff7b1b(0x531)]=this['_key'],_0x22b53d=_0x4724dd[_0xff7b1b(0x369)],_0x775455=_0x4724dd['sigBytes']/0x4,_0x1db088=this[_0xff7b1b(0x305)]=_0x775455+0x6,_0x516984=(_0x1db088+0x1)*0x4,_0x388baf=this[_0xff7b1b(0x4df)]=[],_0x4d5e5c=0x0;_0x4d5e5c<_0x516984;_0x4d5e5c++)_0x4d5e5c<_0x775455?_0x388baf[_0x4d5e5c]=_0x22b53d[_0x4d5e5c]:(_0x3f6a63=_0x388baf[_0x4d5e5c-0x1],_0x4d5e5c%_0x775455?_0x775455>0x6&&_0x4d5e5c%_0x775455==0x4&&(_0x3f6a63=_0x3a3541[_0x3f6a63>>>0x18]<<0x18|_0x3a3541[_0x3f6a63>>>0x10&0xff]<<0x10|_0x3a3541[_0x3f6a63>>>0x8&0xff]<<0x8|_0x3a3541[_0x3f6a63&0xff]):(_0x3f6a63=_0x3f6a63<<0x8|_0x3f6a63>>>0x18,_0x3f6a63=_0x3a3541[_0x3f6a63>>>0x18]<<0x18|_0x3a3541[_0x3f6a63>>>0x10&0xff]<<0x10|_0x3a3541[_0x3f6a63>>>0x8&0xff]<<0x8|_0x3a3541[_0x3f6a63&0xff],_0x3f6a63^=_0x3d749a[_0x4d5e5c/_0x775455|0x0]<<0x18),_0x388baf[_0x4d5e5c]=_0x388baf[_0x4d5e5c-_0x775455]^_0x3f6a63);for(var _0x4e402b=this['_invKeySchedule']=[],_0x1af481=0x0;_0x1af481<_0x516984;_0x1af481++){var _0x4d5e5c=_0x516984-_0x1af481;if(_0x1af481%0x4)var _0x3f6a63=_0x388baf[_0x4d5e5c];else var _0x3f6a63=_0x388baf[_0x4d5e5c-0x4];_0x1af481<0x4||_0x4d5e5c<=0x4?_0x4e402b[_0x1af481]=_0x3f6a63:_0x4e402b[_0x1af481]=_0x1979c7[_0x3a3541[_0x3f6a63>>>0x18]]^_0x1ca04b[_0x3a3541[_0x3f6a63>>>0x10&0xff]]^_0x2c90f3[_0x3a3541[_0x3f6a63>>>0x8&0xff]]^_0x4fb458[_0x3a3541[_0x3f6a63&0xff]];}}},'encryptBlock':function(_0x201ec8,_0x42b2a6){this['_doCryptBlock'](_0x201ec8,_0x42b2a6,this['_keySchedule'],_0x2bf123,_0x371a33,_0x3a2675,_0x53a42e,_0x3a3541);},'decryptBlock':function(_0xbe1b8b,_0x5de444){var _0x4cee59=_0x2ebd71,_0x1ff7f8=_0xbe1b8b[_0x5de444+0x1];_0xbe1b8b[_0x5de444+0x1]=_0xbe1b8b[_0x5de444+0x3],_0xbe1b8b[_0x5de444+0x3]=_0x1ff7f8,this[_0x4cee59(0x4c0)](_0xbe1b8b,_0x5de444,this[_0x4cee59(0x383)],_0x1979c7,_0x1ca04b,_0x2c90f3,_0x4fb458,_0x2c000c);var _0x1ff7f8=_0xbe1b8b[_0x5de444+0x1];_0xbe1b8b[_0x5de444+0x1]=_0xbe1b8b[_0x5de444+0x3],_0xbe1b8b[_0x5de444+0x3]=_0x1ff7f8;},'_doCryptBlock':function(_0xb02f48,_0x254369,_0x39ed93,_0x53ad31,_0x59d16c,_0x4ee196,_0x57ed37,_0x43fd6f){var _0x1af06e=_0x2ebd71;for(var _0x1b9e15=this[_0x1af06e(0x305)],_0x1ecd3d=_0xb02f48[_0x254369]^_0x39ed93[0x0],_0x27cd8d=_0xb02f48[_0x254369+0x1]^_0x39ed93[0x1],_0x172f85=_0xb02f48[_0x254369+0x2]^_0x39ed93[0x2],_0x486ff0=_0xb02f48[_0x254369+0x3]^_0x39ed93[0x3],_0x2b3a27=0x4,_0x38967b=0x1;_0x38967b<_0x1b9e15;_0x38967b++){var _0x2ee4cc=_0x53ad31[_0x1ecd3d>>>0x18]^_0x59d16c[_0x27cd8d>>>0x10&0xff]^_0x4ee196[_0x172f85>>>0x8&0xff]^_0x57ed37[_0x486ff0&0xff]^_0x39ed93[_0x2b3a27++],_0x161ae5=_0x53ad31[_0x27cd8d>>>0x18]^_0x59d16c[_0x172f85>>>0x10&0xff]^_0x4ee196[_0x486ff0>>>0x8&0xff]^_0x57ed37[_0x1ecd3d&0xff]^_0x39ed93[_0x2b3a27++],_0x527199=_0x53ad31[_0x172f85>>>0x18]^_0x59d16c[_0x486ff0>>>0x10&0xff]^_0x4ee196[_0x1ecd3d>>>0x8&0xff]^_0x57ed37[_0x27cd8d&0xff]^_0x39ed93[_0x2b3a27++],_0x1be440=_0x53ad31[_0x486ff0>>>0x18]^_0x59d16c[_0x1ecd3d>>>0x10&0xff]^_0x4ee196[_0x27cd8d>>>0x8&0xff]^_0x57ed37[_0x172f85&0xff]^_0x39ed93[_0x2b3a27++];_0x1ecd3d=_0x2ee4cc,_0x27cd8d=_0x161ae5,_0x172f85=_0x527199,_0x486ff0=_0x1be440;}var _0x2ee4cc=(_0x43fd6f[_0x1ecd3d>>>0x18]<<0x18|_0x43fd6f[_0x27cd8d>>>0x10&0xff]<<0x10|_0x43fd6f[_0x172f85>>>0x8&0xff]<<0x8|_0x43fd6f[_0x486ff0&0xff])^_0x39ed93[_0x2b3a27++],_0x161ae5=(_0x43fd6f[_0x27cd8d>>>0x18]<<0x18|_0x43fd6f[_0x172f85>>>0x10&0xff]<<0x10|_0x43fd6f[_0x486ff0>>>0x8&0xff]<<0x8|_0x43fd6f[_0x1ecd3d&0xff])^_0x39ed93[_0x2b3a27++],_0x527199=(_0x43fd6f[_0x172f85>>>0x18]<<0x18|_0x43fd6f[_0x486ff0>>>0x10&0xff]<<0x10|_0x43fd6f[_0x1ecd3d>>>0x8&0xff]<<0x8|_0x43fd6f[_0x27cd8d&0xff])^_0x39ed93[_0x2b3a27++],_0x1be440=(_0x43fd6f[_0x486ff0>>>0x18]<<0x18|_0x43fd6f[_0x1ecd3d>>>0x10&0xff]<<0x10|_0x43fd6f[_0x27cd8d>>>0x8&0xff]<<0x8|_0x43fd6f[_0x172f85&0xff])^_0x39ed93[_0x2b3a27++];_0xb02f48[_0x254369]=_0x2ee4cc,_0xb02f48[_0x254369+0x1]=_0x161ae5,_0xb02f48[_0x254369+0x2]=_0x527199,_0xb02f48[_0x254369+0x3]=_0x1be440;},'keySize':0x100/0x20});_0x42b3be[_0x2ebd71(0x235)]=_0x32187c[_0x2ebd71(0x22e)](_0x4c42a7);}()),_0x2f256a[_0x1fc9e2(0x235)];}));}(_0x215e54)),_0x215e54[_0x1aa8fe(0x2b7)];}var _0x1d0291=_0x27a7a6();const _0x4635b5=_0x42144b(_0x1d0291);var _0x508171=_0x221e09();const _0x3e597c=_0x42144b(_0x508171);var _0x203135={'exports':{}},_0x1f2131=_0x203135['exports'],_0x3d77df;function _0x445b6e(){var _0x395f74=_0x7f6170;return _0x3d77df||(_0x3d77df=0x1,function(_0x4c970e,_0x3d84c3){(function(_0x2b5aa0,_0x2bf1d9){_0x4c970e['exports']=_0x2bf1d9(_0x57e27d());}(_0x1f2131,function(_0x56a857){var _0x4add47=_0x4166;return _0x56a857[_0x4add47(0x560)][_0x4add47(0x2ef)];}));}(_0x203135)),_0x203135[_0x395f74(0x2b7)];}var _0x139ec4=_0x445b6e();const _0x341ec8=_0x42144b(_0x139ec4);var _0x4b6358={'exports':{}},_0x1814bf=_0x4b6358['exports'],_0x353889;function _0x5dc658(){return _0x353889||(_0x353889=0x1,function(_0x2d7096,_0x103237){(function(_0x1f8254,_0x5bc74f){var _0xde301b=_0x4166;_0x2d7096[_0xde301b(0x2b7)]=_0x5bc74f(_0x57e27d());}(_0x1814bf,function(_0x2f6cae){var _0x546b6e=_0x4166;return(function(){var _0x58ebee=_0x4166;if(typeof ArrayBuffer==_0x58ebee(0x462)){var _0x57845c=_0x2f6cae,_0x191a36=_0x57845c[_0x58ebee(0x42e)],_0x499225=_0x191a36[_0x58ebee(0x4ae)],_0x1a1e56=_0x499225[_0x58ebee(0x427)],_0x63493d=_0x499225[_0x58ebee(0x427)]=function(_0x42bd57){var _0x6585d1=_0x58ebee;if(_0x42bd57 instanceof ArrayBuffer&&(_0x42bd57=new Uint8Array(_0x42bd57)),(_0x42bd57 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x42bd57 instanceof Uint8ClampedArray||_0x42bd57 instanceof Int16Array||_0x42bd57 instanceof Uint16Array||_0x42bd57 instanceof Int32Array||_0x42bd57 instanceof Uint32Array||_0x42bd57 instanceof Float32Array||_0x42bd57 instanceof Float64Array)&&(_0x42bd57=new Uint8Array(_0x42bd57[_0x6585d1(0x1d3)],_0x42bd57['byteOffset'],_0x42bd57[_0x6585d1(0x4dc)])),_0x42bd57 instanceof Uint8Array){for(var _0x8a9805=_0x42bd57['byteLength'],_0x53fe6f=[],_0x2f7e6c=0x0;_0x2f7e6c<_0x8a9805;_0x2f7e6c++)_0x53fe6f[_0x2f7e6c>>>0x2]|=_0x42bd57[_0x2f7e6c]<<0x18-_0x2f7e6c%0x4*0x8;_0x1a1e56[_0x6585d1(0x226)](this,_0x53fe6f,_0x8a9805);}else _0x1a1e56[_0x6585d1(0x42f)](this,arguments);};_0x63493d[_0x58ebee(0x2ba)]=_0x499225;}}()),_0x2f6cae[_0x546b6e(0x42e)][_0x546b6e(0x4ae)];}));}(_0x4b6358)),_0x4b6358['exports'];}var _0x4bf435=_0x5dc658();const _0x5560d9=_0x42144b(_0x4bf435);var _0x38e0c4={'exports':{}},_0x3fcf12=_0x38e0c4[_0x7f6170(0x2b7)],_0x318fc6;function _0x3c239d(){return _0x318fc6||(_0x318fc6=0x1,function(_0x3ce472,_0x18a0fb){(function(_0x121176,_0x36a6dc,_0x3147e1){_0x3ce472['exports']=_0x36a6dc(_0x57e27d(),_0x3b0bab());}(_0x3fcf12,function(_0x166d76){var _0x1afdc5=_0x4166;return _0x166d76['pad'][_0x1afdc5(0x1c9)]={'pad':function(){},'unpad':function(){}},_0x166d76['pad'][_0x1afdc5(0x1c9)];}));}(_0x38e0c4)),_0x38e0c4['exports'];}var _0x1017b5=_0x3c239d();const _0x5a0955=_0x42144b(_0x1017b5);function _0x444eec(_0x5bd261,_0x420515){var _0x59d998=_0x7f6170;const _0x38616d=_0x420515-_0x5bd261['length']%_0x420515,_0x253042=String['fromCharCode'](_0x38616d)[_0x59d998(0x4c4)](_0x38616d);return _0x5bd261+_0x253042;}function _0x971f4c(_0x2bcfd2,_0x289664){var _0xf0d954=_0x7f6170;const _0x54ccfd=_0x5560d9[_0xf0d954(0x2a3)](0x10),_0xc74889=_0x444eec(_0x2bcfd2,0x10),_0x4b4967=_0x4635b5[_0xf0d954(0x398)](_0x341ec8[_0xf0d954(0x2dd)](_0xc74889),_0x3e597c[_0xf0d954(0x2dd)](_0x289664),{'iv':_0x54ccfd,'padding':_0x5a0955});return _0x54ccfd[_0xf0d954(0x3b9)](_0x4b4967['ciphertext'])[_0xf0d954(0x2b4)](_0x3e597c);}function _0x15dd68(){var _0x29df26=_0x7f6170;const _0x5b080f=_0x4939d8[_0x29df26(0x2ff)]()[_0x29df26(0x230)];if(_0x5b080f){const _0x282c46={'time':Math[_0x29df26(0x48b)](Date[_0x29df26(0x53f)]()/0x3e8),'domain':location[_0x29df26(0x28a)]};return _0x971f4c(JSON['stringify'](_0x282c46),_0x5b080f);}}var _0x25f713=Object[_0x7f6170(0x46a)],_0x9aea41=(_0x399f1b,_0x4caf50,_0x4e05d5,_0x20c8c3)=>{for(var _0x34af14=_0x20c8c3>0x1?void 0x0:_0x20c8c3?_0x25f713(_0x4caf50,_0x4e05d5):_0x4caf50,_0x5f0757=_0x399f1b['length']-0x1,_0x115587;_0x5f0757>=0x0;_0x5f0757--)(_0x115587=_0x399f1b[_0x5f0757])&&(_0x34af14=_0x115587(_0x34af14)||_0x34af14);return _0x34af14;},_0x1c2a15=(_0x44c5c8,_0x5f22c0)=>(_0x5426b3,_0x589f66)=>_0x5f22c0(_0x5426b3,_0x589f66,_0x44c5c8);let _0x2e597b=class{constructor(_0x21d077){this['_httpService']=_0x21d077,this['_initRequestHeader']();}[_0x7f6170(0x248)](){var _0x5c464f=_0x7f6170;this[_0x5c464f(0x52b)][_0x5c464f(0x3b2)]({'interceptor':(_0x26c4cb,_0x3ed4c1)=>{const _0x147394=_0x26c4cb['headers'],_0x129069=_0x15dd68();return _0x129069&&_0x147394['set']('x-univer-host',_0x129069),_0x3ed4c1(_0x26c4cb);}});}};_0x2e597b=_0x9aea41([_0x1c2a15(0x0,_0x1e6ccd[_0x7f6170(0x22a)](_0x442c2c[_0x7f6170(0x30e)]))],_0x2e597b);var _0x3f8096=Object[_0x7f6170(0x46a)],_0x408181=(_0x1f1347,_0x5c6646,_0x19b18e,_0x1581d6)=>{for(var _0xd73c64=_0x1581d6>0x1?void 0x0:_0x1581d6?_0x3f8096(_0x5c6646,_0x19b18e):_0x5c6646,_0x1c4be7=_0x1f1347['length']-0x1,_0x8d0d60;_0x1c4be7>=0x0;_0x1c4be7--)(_0x8d0d60=_0x1f1347[_0x1c4be7])&&(_0xd73c64=_0x8d0d60(_0xd73c64)||_0xd73c64);return _0xd73c64;},_0x1a0213=(_0x2e6f35,_0x5090dd)=>(_0x400e98,_0x36e9e0)=>_0x5090dd(_0x400e98,_0x36e9e0,_0x2e6f35);_0x63229a[_0x7f6170(0x503)]=class extends _0x1e6ccd[_0x7f6170(0x2fe)]{constructor(_0x2b8c8e,_0x104e22,_0x1fd360){var _0x2a4081=_0x7f6170;super(),_0xf97e8c(this,_0x2a4081(0x424),new _0x5e254c['BehaviorSubject'](null)),_0xf97e8c(this,_0x2a4081(0x4ff),this[_0x2a4081(0x424)]['asObservable']()),(this[_0x2a4081(0x4f7)]=_0x2b8c8e,this[_0x2a4081(0x3b4)]=_0x104e22,this[_0x2a4081(0x51a)]=_0x1fd360);}async[_0x7f6170(0x3bb)](_0x5dc509,_0x49c10a,_0x23221e){var _0x201a6a=_0x7f6170;this['_unitInfo$'][_0x201a6a(0x2cc)]({'unitId':_0x5dc509,'type':_0x49c10a});let _0xef0581=null;switch(_0x49c10a){case _0x391016[_0x201a6a(0x307)]:{_0xef0581=await this[_0x201a6a(0x3b4)][_0x201a6a(0x3e4)](_0x5dc509,_0x23221e);break;}case _0x391016[_0x201a6a(0x549)]:{_0xef0581=await this['_snapshotService'][_0x201a6a(0x3ee)](_0x5dc509,_0x23221e);break;}default:{this[_0x201a6a(0x4f7)]['error'](_0x201a6a(0x210),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0xef0581;}async['loadUnit'](_0x4249e2,_0x5b425f,_0x11580f){var _0x1fb668=_0x7f6170,_0x39e9b6;this[_0x1fb668(0x424)][_0x1fb668(0x2cc)]({'unitId':_0x4249e2,'type':_0x5b425f,'subUnitId':_0x11580f});let _0x3eacf7=0x0;const _0x47f7f6=await((_0x39e9b6=this[_0x1fb668(0x51a)])==null?void 0x0:_0x39e9b6[_0x1fb668(0x3e8)](_0x4249e2));return _0x47f7f6&&(_0x47f7f6['awaitingChangeset']||_0x47f7f6[_0x1fb668(0x478)]['length']!==0x0)&&(_0x3eacf7=_0x47f7f6[_0x1fb668(0x219)]),_0x3eacf7===0x0&&this[_0x1fb668(0x4f7)]['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1fb668(0x3bb)](_0x4249e2,_0x5b425f,_0x3eacf7);}},_0x63229a[_0x7f6170(0x503)]=_0x408181([_0x1a0213(0x0,_0x1e6ccd[_0x7f6170(0x30a)]),_0x1a0213(0x1,_0x1e6ccd[_0x7f6170(0x22a)](_0x1a9a73[_0x7f6170(0x52f)])),_0x1a0213(0x2,_0x1e6ccd[_0x7f6170(0x4cd)](_0x16e08f))],_0x63229a[_0x7f6170(0x503)]);var _0x328246=Object[_0x7f6170(0x46a)],_0x5af470=(_0x126668,_0xe40372,_0x42f443,_0x5964a9)=>{for(var _0x13729a=_0x5964a9>0x1?void 0x0:_0x5964a9?_0x328246(_0xe40372,_0x42f443):_0xe40372,_0x3efbeb=_0x126668['length']-0x1,_0x51e4b6;_0x3efbeb>=0x0;_0x3efbeb--)(_0x51e4b6=_0x126668[_0x3efbeb])&&(_0x13729a=_0x51e4b6(_0x13729a)||_0x13729a);return _0x13729a;},_0x3ac468=(_0x9e29af,_0x1fd5d5)=>(_0x388324,_0x17ab43)=>_0x1fd5d5(_0x388324,_0x17ab43,_0x9e29af);const _0x4d40b8=[_0x7f6170(0x326),_0x7f6170(0x23b),_0x7f6170(0x1e0),'image/gif',_0x7f6170(0x3c4)],_0x21aeeb=0x5*0x400*0x400,_0x29ba16=_0x7f6170(0x3fc),_0x208887=_0x7f6170(0x4b5);_0x63229a[_0x7f6170(0x532)]=class{constructor(_0x2e8063,_0x1a982f,_0x7aee8){var _0x417fc3=_0x7f6170;_0xf97e8c(this,'_waitCount',0x0),_0xf97e8c(this,'_change$',new _0x5e254c[(_0x417fc3(0x45a))]()),_0xf97e8c(this,'change$',this[_0x417fc3(0x320)]),_0xf97e8c(this,_0x417fc3(0x209),new Map()),(this[_0x417fc3(0x52b)]=_0x2e8063,this[_0x417fc3(0x372)]=_0x1a982f,this[_0x417fc3(0x1e9)]=_0x7aee8);}[_0x7f6170(0x221)](_0x2e9bb7){var _0x96a2f3=_0x7f6170;this['_waitCount']=_0x2e9bb7,this[_0x96a2f3(0x320)][_0x96a2f3(0x2cc)](_0x2e9bb7);}[_0x7f6170(0x3e0)](_0x1409e4,_0x518266){var _0x1e62dd=_0x7f6170;if(_0x518266===_0x471407[_0x1e62dd(0x431)][_0x1e62dd(0x55f)]){const _0x43ac4f=new Image();return _0x43ac4f['src']=_0x1409e4,_0x43ac4f;}return this[_0x1e62dd(0x209)][_0x1e62dd(0x522)](_0x1409e4);}[_0x7f6170(0x2e2)](_0x18264c,_0x569341,_0x361cdd){var _0x46f2f5=_0x7f6170;_0x569341===_0x471407['ImageSourceType'][_0x46f2f5(0x55f)]||_0x361cdd==null||this[_0x46f2f5(0x209)]['set'](_0x18264c,_0x361cdd);}async[_0x7f6170(0x4a3)](_0x3d30cf){var _0x5240b7=_0x7f6170;try{const _0x589d12=this['_replaceFileID'](this[_0x5240b7(0x33a)](),''+_0x3d30cf),_0x4a864e=(await this[_0x5240b7(0x52b)][_0x5240b7(0x522)](_0x589d12))[_0x5240b7(0x2a2)];if(_0x4a864e[_0x5240b7(0x467)]&&_0x4a864e[_0x5240b7(0x467)][_0x5240b7(0x20a)]===_0x1cc8fe['OK']){const _0x3e6e27=new URL(_0x4a864e[_0x5240b7(0x362)],this['_getDownloadEndpointURL']())[_0x5240b7(0x2b4)]();return Promise['resolve'](_0x3e6e27);}return Promise['reject'](_0x4a864e['error']);}catch(_0x1eb09a){return Promise[_0x5240b7(0x2ce)](_0x1eb09a);}}async[_0x7f6170(0x3e9)](_0x228f55){var _0x4aabbe=_0x7f6170;let _0x7dad40='';if(!_0x4d40b8[_0x4aabbe(0x481)](_0x228f55[_0x4aabbe(0x558)]))return this[_0x4aabbe(0x449)](),Promise[_0x4aabbe(0x2ce)](new Error(_0x471407[_0x4aabbe(0x308)][_0x4aabbe(0x483)]));if(_0x228f55[_0x4aabbe(0x416)]>_0x21aeeb)return this[_0x4aabbe(0x449)](),Promise['reject'](new Error(_0x471407[_0x4aabbe(0x308)][_0x4aabbe(0x517)]));try{const _0x5836ea=new FormData();_0x5836ea[_0x4aabbe(0x250)](_0x4aabbe(0x29e),_0x228f55);const _0x58d730=this['_univerInstanceService'][_0x4aabbe(0x23f)](),_0x35a3d7=_0x58d730==null?void 0x0:_0x58d730['getUnitId']();if(!_0x35a3d7)throw new Error(_0x4aabbe(0x4c6));const _0x3a1acf=this['_getUploadFileURL']()+_0x4aabbe(0x2bf)+_0x228f55['size'][_0x4aabbe(0x2b4)]()+_0x4aabbe(0x316)+_0x4b57a5[_0x4aabbe(0x273)]+_0x4aabbe(0x385)+encodeURIComponent(_0x35a3d7),_0x377e4b={'body':_0x5836ea},_0x46d7e3=(await this[_0x4aabbe(0x52b)][_0x4aabbe(0x4cf)](_0x3a1acf,_0x377e4b))['body'];if(typeof _0x46d7e3[_0x4aabbe(0x2c4)]!='string')return this[_0x4aabbe(0x449)](),Promise[_0x4aabbe(0x2ce)](new Error(_0x471407[_0x4aabbe(0x308)]['ERROR_IMAGE']));_0x7dad40=_0x46d7e3[_0x4aabbe(0x2c4)];}catch{return this[_0x4aabbe(0x449)](),Promise[_0x4aabbe(0x2ce)](new Error(_0x471407[_0x4aabbe(0x308)]['ERROR_IMAGE']));}return new Promise((_0x33df9b,_0x1a8655)=>{const _0x3e2875=new FileReader();_0x3e2875['readAsDataURL'](_0x228f55),_0x3e2875['onload']=_0xd3488a=>{var _0x39f233=_0x4166,_0x356828;const _0x1cae72=(_0x356828=_0xd3488a[_0x39f233(0x1cc)])==null?void 0x0:_0x356828[_0x39f233(0x497)];if(_0x1cae72==null){this[_0x39f233(0x449)](),_0x1a8655(new Error(_0x471407[_0x39f233(0x308)]['ERROR_IMAGE']));return;}const _0x50ef9c=_0x1e6ccd['generateRandomId'](0x6);_0x33df9b({'imageId':_0x50ef9c,'imageSourceType':_0x471407['ImageSourceType'][_0x39f233(0x54d)],'source':_0x7dad40,'base64Cache':_0x1cae72,'status':_0x471407[_0x39f233(0x308)][_0x39f233(0x29a)]}),this[_0x39f233(0x449)]();};});}[_0x7f6170(0x508)](){var _0x2a958b=_0x7f6170,_0x9b4685;const _0x547740=this[_0x2a958b(0x372)][_0x2a958b(0x2d6)](_0x36ab8e);return(_0x9b4685=_0x547740==null?void 0x0:_0x547740[_0x2a958b(0x1b7)])!=null?_0x9b4685:_0x29ba16;}[_0x7f6170(0x33a)](){var _0x1d9657=_0x7f6170,_0x45a5cf;const _0x1ce1ad=this['_configService'][_0x1d9657(0x2d6)](_0x36ab8e);return(_0x45a5cf=_0x1ce1ad==null?void 0x0:_0x1ce1ad[_0x1d9657(0x29b)])!=null?_0x45a5cf:_0x208887;}[_0x7f6170(0x434)](){var _0x3b3e4a=_0x7f6170,_0x4ef443;const _0x349890=this[_0x3b3e4a(0x372)]['getConfig'](_0x36ab8e);return(_0x4ef443=_0x349890==null?void 0x0:_0x349890[_0x3b3e4a(0x553)])!=null?_0x4ef443:location['origin'];}[_0x7f6170(0x557)](_0xba304c,_0x44a110){var _0x291980=_0x7f6170;return _0xba304c['replace'](_0x291980(0x1ce),_0x44a110);}[_0x7f6170(0x449)](){var _0x2765b4=_0x7f6170;this[_0x2765b4(0x20b)]-=0x1,this['_change$'][_0x2765b4(0x2cc)](this[_0x2765b4(0x20b)]);}},_0x63229a[_0x7f6170(0x532)]=_0x5af470([_0x3ac468(0x0,_0x1e6ccd[_0x7f6170(0x22a)](_0x442c2c[_0x7f6170(0x30e)])),_0x3ac468(0x1,_0x1e6ccd[_0x7f6170(0x3d4)]),_0x3ac468(0x2,_0x1e6ccd['Inject'](_0x1e6ccd[_0x7f6170(0x299)]))],_0x63229a[_0x7f6170(0x532)]);var _0x545874=Object[_0x7f6170(0x46a)],_0x19535f=(_0x273d82,_0x1f0ada,_0x5dba7b,_0x36a2fa)=>{for(var _0x144c03=_0x36a2fa>0x1?void 0x0:_0x36a2fa?_0x545874(_0x1f0ada,_0x5dba7b):_0x1f0ada,_0x1edcf9=_0x273d82['length']-0x1,_0x4c6521;_0x1edcf9>=0x0;_0x1edcf9--)(_0x4c6521=_0x273d82[_0x1edcf9])&&(_0x144c03=_0x4c6521(_0x144c03)||_0x144c03);return _0x144c03;},_0x173884=(_0x40f4b0,_0x5d0cfd)=>(_0x45e43e,_0x1144ae)=>_0x5d0cfd(_0x45e43e,_0x1144ae,_0x40f4b0);const _0x475308='/universer-api/authz';_0x63229a[_0x7f6170(0x4b8)]=class{constructor(_0x33a339,_0x4ceb75){var _0xa7e99d=_0x7f6170;this[_0xa7e99d(0x372)]=_0x33a339,this[_0xa7e99d(0x3b7)]=_0x4ceb75;}[_0x7f6170(0x455)](){var _0x5aecb3=_0x7f6170,_0x2aaba6;const _0x2863a1=this[_0x5aecb3(0x372)]['getConfig'](_0x36ab8e);return(_0x2aaba6=_0x2863a1==null?void 0x0:_0x2863a1[_0x5aecb3(0x2b5)])!=null?_0x2aaba6:_0x475308;}async[_0x7f6170(0x4ac)](_0x5dbfd2){var _0x2f4526=_0x7f6170;const _0x5ae6fd=this[_0x2f4526(0x455)]()+_0x2f4526(0x54a);return{'list':[{'title':_0x2f4526(0x296),'mentions':(await this[_0x2f4526(0x3b7)][_0x2f4526(0x522)](_0x5ae6fd,{'params':{'objectID':_0x5dbfd2[_0x2f4526(0x24f)],'unitID':_0x5dbfd2[_0x2f4526(0x24f)]}}))[_0x2f4526(0x2a2)][_0x2f4526(0x405)][_0x2f4526(0x334)](_0x2f0dad=>({'objectId':_0x2f0dad['id'],'name':_0x2f0dad[_0x2f4526(0x43b)][_0x2f4526(0x4bf)],'metadata':{'icon':_0x2f0dad[_0x2f4526(0x43b)][_0x2f4526(0x55d)]},'label':_0x2f0dad[_0x2f4526(0x43b)][_0x2f4526(0x4bf)],'objectType':_0x1e6ccd[_0x2f4526(0x4c8)][_0x2f4526(0x47a)]})),'metadata':{},'type':_0x1e6ccd[_0x2f4526(0x4c8)][_0x2f4526(0x47a)]}]};}},_0x63229a[_0x7f6170(0x4b8)]=_0x19535f([_0x173884(0x0,_0x1e6ccd['Inject'](_0x1e6ccd[_0x7f6170(0x3d4)])),_0x173884(0x1,_0x1e6ccd['Inject'](_0x442c2c[_0x7f6170(0x30e)]))],_0x63229a[_0x7f6170(0x4b8)]);var _0x14dc28=Object['getOwnPropertyDescriptor'],_0x4e64cf=(_0x174245,_0xa28bc,_0xc03bae,_0x5152c2)=>{var _0x391501=_0x7f6170;for(var _0xee7bd4=_0x5152c2>0x1?void 0x0:_0x5152c2?_0x14dc28(_0xa28bc,_0xc03bae):_0xa28bc,_0x1eea53=_0x174245[_0x391501(0x3eb)]-0x1,_0x3a4646;_0x1eea53>=0x0;_0x1eea53--)(_0x3a4646=_0x174245[_0x1eea53])&&(_0xee7bd4=_0x3a4646(_0xee7bd4)||_0xee7bd4);return _0xee7bd4;},_0x185166=(_0x4f2155,_0x242879)=>(_0x1bd714,_0x5241bc)=>_0x242879(_0x1bd714,_0x5241bc,_0x4f2155);let _0x80915c=class extends _0x1e6ccd[_0x7f6170(0x2fe)]{constructor(_0x16dabe,_0x2ba27f,_0x3a3eee,_0x4dbd44,_0x16a79a){var _0x4952f6=_0x7f6170;super(),this[_0x4952f6(0x23a)]=_0x16dabe,this[_0x4952f6(0x1e9)]=_0x2ba27f,this[_0x4952f6(0x49f)]=_0x3a3eee,this[_0x4952f6(0x2cf)]=_0x4dbd44,this[_0x4952f6(0x343)]=_0x16a79a,this[_0x4952f6(0x2ed)](),this[_0x4952f6(0x457)]();}[_0x7f6170(0x457)](){var _0x493087=_0x7f6170;const _0x18286c=async _0x1cb109=>{var _0x1a45a5=_0x4166;(await this[_0x1a45a5(0x2cf)][_0x1a45a5(0x4c5)](_0x1cb109))['event$'][_0x1a45a5(0x4b0)](_0x5f013a[_0x1a45a5(0x3ab)](_0x5ea119=>_0x5ea119[_0x1a45a5(0x3a7)]===_0x1a9a73[_0x1a45a5(0x2ec)][_0x1a45a5(0x390)]),_0x5f013a[_0x1a45a5(0x3b3)](this['dispose$']))[_0x1a45a5(0x500)](_0xf4e03a=>{var _0x2b5611=_0x1a45a5;const _0x14c4a1=_0xf4e03a,{reason:_0x47efb1}=_0x14c4a1[_0x2b5611(0x1b9)];this['_collaborationUIEventService'][_0x2b5611(0x518)]({'id':_0x3908d8[_0x2b5611(0x3d9)],'data':_0x47efb1}),this[_0x2b5611(0x49f)][_0x2b5611(0x225)](new _0x5298c8[(_0x2b5611(0x215))](_0x1cb109)['id'],!0x1),this[_0x2b5611(0x2cf)][_0x2b5611(0x2f1)](_0x1cb109);});};_0x5e254c[_0x493087(0x1e6)](this[_0x493087(0x1e9)][_0x493087(0x2bd)](_0x1e6ccd[_0x493087(0x227)]['UNIVER_SHEET']),this[_0x493087(0x1e9)][_0x493087(0x2bd)](_0x1e6ccd['UniverInstanceType'][_0x493087(0x549)]))[_0x493087(0x4b0)](_0x5f013a[_0x493087(0x334)](_0x375d63=>_0x375d63[_0x493087(0x4a4)]()),_0x5f013a['filter'](_0x2cb94c=>!_0x1e6ccd[_0x493087(0x440)](_0x2cb94c)),_0x5f013a['takeUntil'](this[_0x493087(0x27e)]))[_0x493087(0x500)](_0x4a52c8=>{_0x18286c(_0x4a52c8);});}[_0x7f6170(0x2ed)](){var _0x1f1dee=_0x7f6170;const _0xea4691=async _0x40798a=>{var _0x5a12b6=_0x4166;const _0x1662c8=await this[_0x5a12b6(0x2cf)]['requireSession'](_0x40798a),_0x210ae5=this[_0x5a12b6(0x23a)][_0x5a12b6(0x522)](_0x5298c8[_0x5a12b6(0x3c3)]);_0x1662c8['event$'][_0x5a12b6(0x4b0)](_0x5f013a[_0x5a12b6(0x3ab)](_0x17c1f6=>_0x17c1f6[_0x5a12b6(0x3a7)]===_0x1a9a73[_0x5a12b6(0x2ec)][_0x5a12b6(0x2d7)]),_0x5f013a[_0x5a12b6(0x3b3)](this['dispose$']))[_0x5a12b6(0x500)](_0x5c21b2=>{var _0x351526=_0x5a12b6;const _0x1fa90e=_0x5c21b2,{objectId:_0x483db2}=_0x1fa90e[_0x351526(0x1b9)];_0x483db2===_0x40798a?_0x210ae5[_0x351526(0x4de)](_0x40798a):_0x210ae5[_0x351526(0x3d2)](_0x40798a,_0x483db2);});};_0x5e254c[_0x1f1dee(0x1e6)](this[_0x1f1dee(0x1e9)][_0x1f1dee(0x2bd)](_0x1e6ccd[_0x1f1dee(0x227)][_0x1f1dee(0x307)]))[_0x1f1dee(0x4b0)](_0x5f013a[_0x1f1dee(0x334)](_0x4a7869=>_0x4a7869[_0x1f1dee(0x4a4)]()),_0x5f013a[_0x1f1dee(0x3ab)](_0x34a424=>!_0x1e6ccd[_0x1f1dee(0x440)](_0x34a424)),_0x5f013a['takeUntil'](this[_0x1f1dee(0x27e)]))['subscribe'](_0x579eae=>{_0xea4691(_0x579eae);});}};_0x80915c=_0x4e64cf([_0x185166(0x0,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd[_0x7f6170(0x220)])),_0x185166(0x1,_0x1e6ccd[_0x7f6170(0x299)]),_0x185166(0x2,_0x1e6ccd[_0x7f6170(0x376)]),_0x185166(0x3,_0x1e6ccd[_0x7f6170(0x22a)](_0x63229a[_0x7f6170(0x542)])),_0x185166(0x4,_0x1e6ccd[_0x7f6170(0x22a)](_0x4e5888))],_0x80915c);var _0x4105b9=Object[_0x7f6170(0x46a)],_0xb1e756=(_0x5975b0,_0x301c8e,_0x45f82c,_0x44cda0)=>{for(var _0x2880a0=_0x44cda0>0x1?void 0x0:_0x44cda0?_0x4105b9(_0x301c8e,_0x45f82c):_0x301c8e,_0x47e333=_0x5975b0['length']-0x1,_0x4299f8;_0x47e333>=0x0;_0x47e333--)(_0x4299f8=_0x5975b0[_0x47e333])&&(_0x2880a0=_0x4299f8(_0x2880a0)||_0x2880a0);return _0x2880a0;},_0x56b355=(_0x77190c,_0x1c4f34)=>(_0x5608d1,_0x563936)=>_0x1c4f34(_0x5608d1,_0x563936,_0x77190c);_0x63229a[_0x7f6170(0x241)]=class{constructor(_0x165ba1,_0x2f980d){var _0x2ff658=_0x7f6170;this[_0x2ff658(0x372)]=_0x165ba1,this['_httpService']=_0x2f980d;}async[_0x7f6170(0x239)](_0x316275,_0x16cb91){var _0x2c913b=_0x7f6170,_0x5d5cd2;const {unitID:_0x2a59f6,type:_0xaa23c7,revision:_0x57d768=0x0}=_0x16cb91,_0x525153=this[_0x2c913b(0x4f2)]()+'/'+_0xaa23c7+_0x2c913b(0x4a8)+_0x2a59f6+_0x2c913b(0x342)+_0x57d768,_0x367519=(await this[_0x2c913b(0x52b)]['get'](_0x525153))[_0x2c913b(0x2a2)],_0xb5f5d4=(_0x5d5cd2=_0x367519['snapshot'])==null?void 0x0:_0x5d5cd2[_0x2c913b(0x4bb)];if(_0xb5f5d4){const _0x331b1b=_0xb5f5d4==null?void 0x0:_0xb5f5d4[_0x2c913b(0x47b)],_0x4b27c3=_0x1a9a73[_0x2c913b(0x1c0)]['encode'](_0x1a9a73['b64DecodeUnicode'](_0x331b1b));_0xb5f5d4['originalMeta']=_0x4b27c3,Object[_0x2c913b(0x4a1)](_0xb5f5d4['sheets'])['forEach'](([,_0x3767b1])=>{var _0x3b4642=_0x2c913b;const _0x13f2a4=_0x3767b1['originalMeta'],_0x3a5210=_0x1a9a73[_0x3b4642(0x1c0)][_0x3b4642(0x46b)](_0x1a9a73[_0x3b4642(0x519)](_0x13f2a4));_0x3767b1[_0x3b4642(0x47b)]=_0x3a5210;});}return _0x367519;}async[_0x7f6170(0x1eb)](_0x12bb3d,_0x508c99){var _0x33eecc=_0x7f6170;const {unitID:_0x54fcbb,type:_0xd64c2e,blockID:_0x120d29}=_0x508c99,_0x4d8b4e=this[_0x33eecc(0x458)]()+'/'+_0xd64c2e+'/unit/'+_0x54fcbb+_0x33eecc(0x294)+_0x120d29;return(await this[_0x33eecc(0x52b)][_0x33eecc(0x522)](_0x4d8b4e))[_0x33eecc(0x2a2)];}async[_0x7f6170(0x35e)](_0x3c9fc8,_0x32b9aa){var _0x4c010c=_0x7f6170;const {unitID:_0x190a48,type:_0x563d09,blockID:_0x471354}=_0x32b9aa,_0x5d64a9=this[_0x4c010c(0x458)]()+'/block/'+_0x563d09+_0x4c010c(0x4a8)+_0x190a48+_0x4c010c(0x294)+_0x471354;return(await this[_0x4c010c(0x52b)][_0x4c010c(0x522)](_0x5d64a9))['body'];}async[_0x7f6170(0x493)](_0x407733,_0x364dbb){var _0x24a97d=_0x7f6170;const {unitID:_0x2c2148,type:_0x2d59fc,from:_0x1d5d8f,to:_0x32dbc6}=_0x364dbb,_0x9faf06=this['_getAPIPrefix']()+'/'+_0x2d59fc+'/unit/'+_0x2c2148+'/fetchmissing?from='+_0x1d5d8f+_0x24a97d(0x4fa)+_0x32dbc6;return(await this[_0x24a97d(0x52b)][_0x24a97d(0x522)](_0x9faf06))[_0x24a97d(0x2a2)];}['getSnapshotAPIPath'](){var _0xc4e9e0=_0x7f6170,_0x19db88;return(_0x19db88=this[_0xc4e9e0(0x372)][_0xc4e9e0(0x2d6)](_0x468d92))!=null?_0x19db88:this[_0xc4e9e0(0x458)]();}[_0x7f6170(0x458)](){var _0x4456a1=_0x7f6170,_0x3f9e75;const _0xbb6688=this['_configService'][_0x4456a1(0x2d6)](_0x36ab8e);return(_0x3f9e75=_0xbb6688==null?void 0x0:_0xbb6688[_0x4456a1(0x525)])!=null?_0x3f9e75:_0x1429e9;}async[_0x7f6170(0x270)](_0x4ce4a4,_0xbc5a50){var _0x5d62da=_0x7f6170;const _0x153dd7=_0x5d62da(0x367)+_0xbc5a50[_0x5d62da(0x558)]+_0x5d62da(0x4a8)+_0xbc5a50['unitID']+_0x5d62da(0x335);return(await this['_httpService']['get'](_0x153dd7,{'params':{'resourceId':JSON['stringify'](_0xbc5a50[_0x5d62da(0x243)])}}))[_0x5d62da(0x2a2)];}[_0x7f6170(0x4ee)](){var _0x398e7c=_0x7f6170;throw new Error(_0x398e7c(0x2f9));}[_0x7f6170(0x2db)](){var _0x18127e=_0x7f6170;throw new Error(_0x18127e(0x2f9));}['saveSheetBlock'](){var _0xa77305=_0x7f6170;throw new Error(_0xa77305(0x2f9));}[_0x7f6170(0x512)](){var _0x2579ae=_0x7f6170;throw new Error(_0x2579ae(0x2f9));}[_0x7f6170(0x1f0)](){var _0x46083d=_0x7f6170;throw new Error(_0x46083d(0x2f9));}[_0x7f6170(0x2c3)](){var _0x172532=_0x7f6170;throw new Error(_0x172532(0x2f9));}},_0x63229a[_0x7f6170(0x241)]=_0xb1e756([_0x56b355(0x0,_0x1e6ccd[_0x7f6170(0x3d4)]),_0x56b355(0x1,_0x1e6ccd['Inject'](_0x442c2c[_0x7f6170(0x30e)]))],_0x63229a[_0x7f6170(0x241)]);var _0x504a84=Object[_0x7f6170(0x46a)],_0x38a740=(_0x5e703b,_0x16e8aa,_0x11e956,_0x26c99f)=>{var _0x431a4b=_0x7f6170;for(var _0x7f5511=_0x26c99f>0x1?void 0x0:_0x26c99f?_0x504a84(_0x16e8aa,_0x11e956):_0x16e8aa,_0x43ceef=_0x5e703b[_0x431a4b(0x3eb)]-0x1,_0x34b0a1;_0x43ceef>=0x0;_0x43ceef--)(_0x34b0a1=_0x5e703b[_0x43ceef])&&(_0x7f5511=_0x34b0a1(_0x7f5511)||_0x7f5511);return _0x7f5511;},_0x1b086a=(_0x1f69b0,_0x39c88f)=>(_0x3a3c82,_0x5a02c7)=>_0x39c88f(_0x3a3c82,_0x5a02c7,_0x1f69b0);_0x63229a[_0x7f6170(0x223)]=class extends _0x1e6ccd[_0x7f6170(0x2ad)]{constructor(_0x1dd894,_0x4ee8b7,_0x3a8042,_0x1bc6b8,_0x2b854d){var _0x36be66=_0x7f6170;super(_0x1dd894,_0x4ee8b7,_0x3a8042),this[_0x36be66(0x547)]=_0x1bc6b8,this[_0x36be66(0x4f7)]=_0x2b854d;}['transformUndoRedo'](_0x29e835,_0x3f4241){var _0x16590b=_0x7f6170;const _0x510aec=this['_getUndoStack'](_0x29e835);if(_0x510aec)try{const _0x22923b=this[_0x16590b(0x48c)](_0x510aec,_0x3f4241);this['_substituteUndoStack'](_0x29e835,_0x22923b);}catch(_0x400fb6){this[_0x16590b(0x4f7)]['error']('[CollaborationUndoRedoService]',_0x400fb6),this['_clearUndo'](_0x29e835);}const _0x4e4c65=this[_0x16590b(0x208)](_0x29e835);if(_0x4e4c65)try{const _0x5cbc9c=this[_0x16590b(0x48c)](_0x4e4c65,_0x3f4241);this[_0x16590b(0x1c8)](_0x29e835,_0x5cbc9c);}catch(_0x3953a4){this[_0x16590b(0x4f7)]['error'](_0x3953a4),this['_clearRedo'](_0x29e835);}}[_0x7f6170(0x49e)](_0x534f59){const _0x406aec=this['_getUndoStack'](_0x534f59);_0x406aec&&(_0x406aec['length']=0x0,this['_updateStatus']());}[_0x7f6170(0x441)](_0x5edb66){var _0x433093=_0x7f6170;const _0x4d0422=this[_0x433093(0x208)](_0x5edb66);_0x4d0422&&(_0x4d0422[_0x433093(0x3eb)]=0x0,this[_0x433093(0x1f2)]());}[_0x7f6170(0x2ca)](_0x5707fc,_0x10ace4){var _0x35a19c=_0x7f6170;this[_0x35a19c(0x3cf)][_0x35a19c(0x302)](_0x5707fc,_0x10ace4),this['_updateStatus']();}[_0x7f6170(0x1c8)](_0x1a7185,_0x28e9ed){var _0x2ccac0=_0x7f6170;this[_0x2ccac0(0x2f4)][_0x2ccac0(0x302)](_0x1a7185,_0x28e9ed),this[_0x2ccac0(0x1f2)]();}[_0x7f6170(0x48c)](_0x5beac0,_0x24671e){var _0xbacad0=_0x7f6170;const _0x225fad=[];let _0xf8d83=_0x24671e,_0x8db9ab=_0x24671e;for(let _0x3bffae=_0x5beac0['length']-0x1;_0x3bffae>=0x0;_0x3bffae--){const {unitID:_0x3047cc,undoMutations:_0x283d55,redoMutations:_0x451cfa}=_0x5beac0[_0x3bffae],_0xb6b12=this[_0xbacad0(0x547)][_0xbacad0(0x3c5)](_0xf8d83,_0x283d55),_0xf4f35b=this[_0xbacad0(0x547)]['transformMutationsWithChangeset'](_0x8db9ab,_0x451cfa);if(_0x1a9a73[_0xbacad0(0x33f)](_0xb6b12)||_0x1a9a73[_0xbacad0(0x33f)](_0xf4f35b)){this['_logService'][_0xbacad0(0x467)](_0xbacad0(0x411),_0xbacad0(0x36d),_0xb6b12,_0xf4f35b);break;}_0xf8d83=_0xb6b12[_0xbacad0(0x1d9)],_0x8db9ab=_0xf4f35b['c1Prime'],_0x225fad[_0xbacad0(0x327)]({'unitID':_0x3047cc,'undoMutations':_0xb6b12[_0xbacad0(0x4c1)],'redoMutations':_0xf4f35b[_0xbacad0(0x4c1)]});}return _0x225fad[_0xbacad0(0x4f3)]();}},_0x63229a[_0x7f6170(0x223)]=_0x38a740([_0x1b086a(0x0,_0x1e6ccd['IUniverInstanceService']),_0x1b086a(0x1,_0x1e6ccd[_0x7f6170(0x4ad)]),_0x1b086a(0x2,_0x1e6ccd[_0x7f6170(0x22f)]),_0x1b086a(0x3,_0x1a9a73[_0x7f6170(0x48a)]),_0x1b086a(0x4,_0x1e6ccd[_0x7f6170(0x30a)])],_0x63229a[_0x7f6170(0x223)]);var _0x2d1ab2=Object['defineProperty'],_0x5c34ca=Object[_0x7f6170(0x46a)],_0x4f9169=(_0x47a997,_0x3ec3ef,_0x407f14)=>_0x3ec3ef in _0x47a997?_0x2d1ab2(_0x47a997,_0x3ec3ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x407f14}):_0x47a997[_0x3ec3ef]=_0x407f14,_0x2778bc=(_0x181803,_0x2dcd79,_0x3fc3d2,_0x54d6fe)=>{var _0x65025e=_0x7f6170;for(var _0x4a5e00=_0x54d6fe>0x1?void 0x0:_0x54d6fe?_0x5c34ca(_0x2dcd79,_0x3fc3d2):_0x2dcd79,_0x1e812f=_0x181803[_0x65025e(0x3eb)]-0x1,_0x57642f;_0x1e812f>=0x0;_0x1e812f--)(_0x57642f=_0x181803[_0x1e812f])&&(_0x4a5e00=_0x57642f(_0x4a5e00)||_0x4a5e00);return _0x4a5e00;},_0x3ba19b=(_0x40432b,_0x2a2fae)=>(_0x199d02,_0x2c0341)=>_0x2a2fae(_0x199d02,_0x2c0341,_0x40432b),_0x99d938=(_0x5544af,_0x5ca569,_0xb4d0ea)=>_0x4f9169(_0x5544af,_0x5ca569+'',_0xb4d0ea);const _0x3aaf25='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x63229a[_0x7f6170(0x324)]=class extends _0x1e6ccd[_0x7f6170(0x26a)]{constructor(_0xa3bb39,_0x54eb08,_0x238478,_0x23cf5e){var _0xf0f142=_0x7f6170;super(),_0xf97e8c(this,_0xf0f142(0x306)),(this['_logService']=_0x54eb08,this['_injector']=_0x238478,this[_0xf0f142(0x372)]=_0x23cf5e);const {..._0x43e7fa}=_0x1e6ccd['merge']({},_0x41fdc0,_0xa3bb39);if(!_0x43e7fa[_0xf0f142(0x4d6)])throw new Error(_0xf0f142(0x26e));this[_0xf0f142(0x306)]=_0x43e7fa,this['_configService'][_0xf0f142(0x27f)](_0x36ab8e,_0x43e7fa);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x7f6170(0x4ab)](){var _0x5aa4fc=_0x7f6170,_0x49a621,_0x22bd7c;this[_0x5aa4fc(0x23a)][_0x5aa4fc(0x24d)](_0x1e6ccd[_0x5aa4fc(0x224)])&&this['_logService'][_0x5aa4fc(0x467)]('[UniverCollaborationClientPlugin]',_0x5aa4fc(0x3a0));const _0x4f4e45=_0x1e6ccd['mergeOverrideWithDependencies']([[_0x1e6ccd['IUndoRedoService'],{'useClass':_0x63229a['CollaborativeUndoRedoService']}],[_0x63229a[_0x5aa4fc(0x542)]],[_0x63229a[_0x5aa4fc(0x520)]],[_0x63229a[_0x5aa4fc(0x280)]],[_0x22408c],[_0x2e597b],[_0x54bccf],[_0x80915c],[_0x4e5888],[_0x63229a[_0x5aa4fc(0x503)]],[_0x2c9fa7,{'useClass':this[_0x5aa4fc(0x306)][_0x5aa4fc(0x4d6)]}],[_0x1a9a73[_0x5aa4fc(0x2e6)],{'useClass':_0x63229a[_0x5aa4fc(0x241)]}],[_0x1e6ccd[_0x5aa4fc(0x4b2)],{'useClass':_0x63229a[_0x5aa4fc(0x2e8)]}],[_0x471407['IImageIoService'],{'useClass':_0x63229a[_0x5aa4fc(0x532)]}],[_0x1e6ccd[_0x5aa4fc(0x319)],{'useClass':_0x63229a['MentionIoHttpService']}],[_0x63229a[_0x5aa4fc(0x4fc)]],[_0x434e32]],(_0x49a621=this[_0x5aa4fc(0x306)])==null?void 0x0:_0x49a621['override']);if(!((_0x22bd7c=this['_config'])!=null&&_0x22bd7c[_0x5aa4fc(0x2a5)])){const _0x7bc6cd=_0x4f4e45[_0x5aa4fc(0x322)](([_0x346ae7])=>_0x346ae7===_0xb79436);_0x7bc6cd!==-0x1&&_0x4f4e45[_0x5aa4fc(0x1e3)](_0x7bc6cd,0x1);}_0x1e6ccd[_0x5aa4fc(0x267)](this[_0x5aa4fc(0x23a)],_0x4f4e45);}[_0x7f6170(0x54e)](){var _0x5ce33c=_0x7f6170,_0x27491b,_0x3e0d43,_0x17b4ed;this['_injector']['get'](_0x442c2c[_0x5ce33c(0x30e)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x442c2c[_0x5ce33c(0x283)]({'maxParallel':0x6})}),(_0x27491b=this[_0x5ce33c(0x306)])!=null&&_0x27491b[_0x5ce33c(0x437)]||(_0x3e0d43=this['_injector']['get'](_0x16e08f,_0x1e6ccd[_0x5ce33c(0x298)][_0x5ce33c(0x3c1)]))==null||_0x3e0d43[_0x5ce33c(0x413)](),(_0x17b4ed=this[_0x5ce33c(0x306)])!=null&&_0x17b4ed[_0x5ce33c(0x2c6)]&&_0x1e6ccd[_0x5ce33c(0x1c4)](this[_0x5ce33c(0x23a)],[[_0x22408c]]),_0x1e6ccd[_0x5ce33c(0x1c4)](this[_0x5ce33c(0x23a)],[[_0x2e597b],[_0x63229a[_0x5ce33c(0x4fc)]],[_0x80915c]]);}},_0x99d938(_0x63229a[_0x7f6170(0x324)],_0x7f6170(0x2e3),_0x3aaf25),_0x63229a[_0x7f6170(0x324)]=_0x2778bc([_0x1e6ccd[_0x7f6170(0x216)](_0x1a9a73[_0x7f6170(0x426)],_0x442c2c[_0x7f6170(0x2ab)]),_0x3ba19b(0x1,_0x1e6ccd['ILogService']),_0x3ba19b(0x2,_0x1e6ccd[_0x7f6170(0x22a)](_0x1e6ccd[_0x7f6170(0x220)])),_0x3ba19b(0x3,_0x1e6ccd[_0x7f6170(0x3d4)])],_0x63229a[_0x7f6170(0x324)]),_0x63229a[_0x7f6170(0x4e9)]=_0x36ab8e,_0x63229a[_0x7f6170(0x350)]=_0x4c5bba,_0x63229a[_0x7f6170(0x314)]=_0x3908d8,_0x63229a[_0x7f6170(0x4fd)]=_0x4e5888,_0x63229a[_0x7f6170(0x53a)]=_0x54bccf,_0x63229a['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x44d68a,_0x63229a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x2d05f4,_0x63229a[_0x7f6170(0x4b7)]=_0x93432,_0x63229a[_0x7f6170(0x4ba)]=_0x2aa407,_0x63229a[_0x7f6170(0x436)]=_0x4471eb,_0x63229a['ICollaborationSocketService']=_0x2c9fa7,_0x63229a[_0x7f6170(0x22d)]=_0x16e08f,_0x63229a[_0x7f6170(0x251)]=_0x4a16c0,_0x63229a[_0x7f6170(0x32c)]=_0xb79436,_0x63229a[_0x7f6170(0x51c)]=0x3e8,_0x63229a[_0x7f6170(0x34e)]=_0x3fb743,_0x63229a[_0x7f6170(0x2bc)]=_0x530a65,_0x63229a[_0x7f6170(0x2fd)]=_0x412f77,_0x63229a[_0x7f6170(0x395)]=_0x165b16,_0x63229a['UnitStatus']=_0xd29664,_0x63229a[_0x7f6170(0x237)]=_0xcc8786,_0x63229a[_0x7f6170(0x538)]=_0x2295e6,_0x63229a['serializeCombRequest']=_0x21750b,Object[_0x7f6170(0x1e4)](_0x63229a,Symbol[_0x7f6170(0x49a)],{'value':_0x7f6170(0x217)});}));function _0x1407(){var _0x3d939b=['catch','getTypeOfUnitDisposed$','UniverProCollaboration','session.join-failed','includes','readyForCollab','ERROR_IMAGE_TYPE','padding','getCurrentUser','PERMISSION_REJ','_tryEnsureSocket','salt','YUUMI_ASYNCIO_CANCELLED','ITransformService','floor','_transformStack','delay','put','crypto','/object/','csRejEvent','_transformStateCache','fetchMissingChangesets','capture','Decryptor','_cipher','result','range','batchAllowed','toStringTag','_key','\x0aAfter:\x20','memberID','_clearUndo','_permissionService','SUBMIT_CHANGESET_TIMEOUT','entries','ONLINE','getImage','getUnitId','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_state','stringify','/unit/','_onRemoteRetry','[CollaborationState]:\x20apply\x20error!','_registerDependencies','list','ICommandService','WordArray','concatMap','pipe','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','IAuthzIoService','[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.','string','/universer-api/file/{fileID}/sign-url','substr','DEFAULT_WS_SESSION_TICKET_URL','MentionIoHttpService','_instanceService','HEARTBEAT_INTERVAL_KEY','workbook','ws://127.0.0.1:8000/universer-api/comb/connect','_shouldReportTelemetry','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','name','_doCryptBlock','m2Prime','min','_createSocket','repeat','requireSession','unitId\x20is\x20not\x20found','_maxTotalRetryTimeout','MentionType','not_collab','getWorkbookSelections','error$','incrementRevOfUnit','Optional','decryptBlock','post','enableCollaboration','__creator','_status$','operators','hasOwnProperty','[CollaborationEntity]','socketService','add','ENTITLE_NEED_BILLING_ADDRESS','object','fromCollab','CONFLICT','byteLength','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','initWorkbookPermissionChange','_keySchedule','LICENSE_EXPORT_SIZE_EXCEEDED','values','YUUMI_ALL_TABLES_IS_INVALID','updateCollaborator','IDLE','_singleActiveUnitService','SUBMIT_CHANGESET','getCollabEntity','SNAPSHOT_INVALID_SNAPSHOT','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_sendingTimer','276bRWFiO','session.room-permission-denied','iterations','saveSnapshot','firstValueFrom','ivSize','_doProcessBlock','getSnapshotAPIPath','reverse','objectType','onTransformState','POST','_logService','CHANGESET_SHOULD_RETRY','_commentService','&to=','_timeoutTimer','CollaborationController','CollaborationUIEventService','onTransformRemoteChangesetByStateCache','unitInfo$','subscribe','UNIVER_SLIDE','getInterceptPoints','DataLoaderService','RETRY_CONNECTING_MAX_COUNT','message$','_replayCachedMutations','collabSubmitChangesetUrl','_getUploadFileURL','_onFetchMissResult','@univerjs-pro/collaboration','YUUMI_SUBSCRIPTION_NOT_FOUND','_telemetryService','createDecryptor','SetSelectionsOperation','/allowed','LICENSE_DISTRO_REJECTED','_append','saveChangeset','LIVESHARE_REQUEST_HOST','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','roles','_sender','ERROR_EXCEED_SIZE','emitEvent','b64DecodeUnicode','_localCacheService','APPLY_REVISION_CONFILICT','LOCAL_CACHE_INTERVAL','/-/object/-/batch_allowed','transformChangesets','UniverNetwork','MemberService','UNKNOWN_CODE','get','Hasher','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','snapshotServerUrl','HmacSHA1','LIVESHARE_FETCH_OPERATIONS','BlockCipherMode','_unlockTransition','_doFinalize','_httpService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_userManagerService','_throwTelemetryCollaborationNewChangeset','SnapshotService','requestParams','_keyPriorReset','CollaborationImageIoService','_sendHeartbeat','PY_RUNTIME_SCRIPT_ERROR','_transformUndoredo','YUUMI_CONNECTOR_URL_NOT_FOUND','64YNfFLm','getLocalCacheKey','_reverseMap','CommentService','_clearHeartbeatTimer','FETCH_MISS','getCurrentSelections','_onRecvEvent','now','_collaborationPaused','ClipsheetFragments','CollaborationSessionService','onSendChangeset','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','AwaitingState','REDEMPTION_USER_NOT_ELIGIBLE','_transformService','_oKey','UNIVER_DOC','/collaborator','[CollaborationSessionService]:\x20socket\x20error','every','UUID','_initDependencies','equals','_retryCount','/universer-api/user/session-ticket','JOINING','downloadEndpointUrl','parseProtocolChangeset','UniverDrawing','_queuedRemoteChangesets','_replaceFileID','type','_xformMode','toggleOffline','dispose','_snapshotServerService','avatar','2352724OtKCvI','BASE64','enc','_eventService','LICENSE_MAX_UNITS_EXCEEDED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','sendChangesetTimeout','uploadFileServerUrl','ENTITLE_INSUFFICIENT_QUOTA','data','getUnit','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','StreamCipher','INVALID_ARGUMENT','action','OpenSSL','textEncoder','HEARTBEAT_INTERVAL','onCommentUpdate','COMMENT_UPDATE','touchDependencies','_resendTimeout','_entityInit$','mapDocumentTypeToUniverType','_substituteRedoStack','NoPadding','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_socketReady','target','_acknowledgedAwaitingChangeset','{fileID}','createEncryptor','1304853vyXpNK','_parse','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','buffer','4967270ADIoAD','UnitSnapshot','240273nEEzLg','_changesetSessionId','CURRENT_STATUS_CANNOT_OPERATE','c1Prime','SOCKET_FAILED','indexOf','_localeService','permissionRejEvent','clamp','REDEMPTION_CODE_HAS_BEEN_CREATED','image/jpg','ENTITLE_COUPON_USED_UP','compute','splice','defineProperty','clone','merge','clear','[OfflineState]:\x20received\x20acknowledgement.','_univerInstanceService','$super','getSheetBlock','_resendWithTimeout','_iKey','telemetry\x20info\x20is\x20not\x20initialized','290ozHuDl','copyFileMeta','ENTITLE_INVALID_COUPON_CODE','_updateStatus','disposeWithMe','SheetCollaborationEntity','@univerjs/sheets','_hasher','onRemoteChangeset','_onRemoteRejected','BlockCipher','USER_NOT_INVITED_CODE','onSyncEditingCollabCursor','shouldCloseConn','SHA1','_startTelemetryCollaborationNewChangeset','session.room-full','sid','OTHER_CLIENTS_EDITING','charAt','REDEMPTION_CODE_FULLY_REDEEMED','_createHmacHelper','members$','synced','\x20to\x20','_getRedoStack','_imageSourceCache','code','_waitCount','getAllMembers','ENTITLE_COUPON_EXPIRED','OFFLINE','_transformIMECache','[DataLoaderService]','[CollaborationSession]','_lockTransition','MergeInterceptorFactory','csAckEvent','WorkbookEditablePermission','DependentOn','Module','interceptor','rev','SOCKET_FAILED_RETRY','LIVESHARE_TERMINATE','submit\x20changeset\x20error!','localCacheService','session','_onCombEvent','Injector','setWaitCount','/-/object/list','CollaborativeUndoRedoService','IUndoRedoService','updatePermissionPoint','call','UniverInstanceType','appendMutation','_onConnectionFailed','Inject','BufferedBlockAlgorithm','[CollaborationSessionService]','ILocalCacheService','_createHelper','IContextService','__Key__','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','/universer-api/oidc/authpage','CONNECTOR_DATA_TOO_LARGE','_transformRemoteChangesetByStateCache','AES','SheetsSelectionsService','deserializeToCombResponse','RevisionService','getUnitOnRev','_injector','image/jpeg','removeMember','_doReset','DEFAULT_FILE_NAME','getFocusedUnit','OTHER_CLIENT_EDITING','SnapshotServerOverHTTPService','reduce','resourceIDs','DisposableCollection','_members$','FetchingMissState','FAIL','_initRequestHeader','sigBytes','onlyLocal','_onLocalMutation','LICENSE_IMPORT_SIZE_EXCEEDED','has','randomBytes','unitId','append','INetworkConditionService','INVITE_CODE_HAS_BEEN_UES','location','toDisposable','SNAPSHOT_URL_KEY','_checkMissing','getUnitType','GLOBAL_ROOMS_CNT_EXCEEDS','_listenToNetworkCondition','onTransformIME','getCurrentRevOfUnit','fromCharCode','_sessionStatus$','_transitionLocked','onTransformSelections','_changesetReqId','_prevBlock','_onRemoteChangeset','newCsEvent','_handler','session.room-cnt-exceeds','startsWith','registerDependencies','RichTextEditingMutation','save\x20fail\x20reason\x20is\x20','Plugin','_onRemoteACK','listCollaborators','processBlock','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','HEARTBEAT_TIMEOUT','getResourcesRequest','onMutationExecutedForCollab','setCurrentUser','UnitEmbedded','infoRsp','loginUrlKey','delete','_data','UNIVER_UNKNOWN','YUUMI_NO_CUBOID_FOR_QUESTION','ceil','_revisionService','_collaborationTimeoutTimer','pad','dispose$','setConfig','SheetTransformSelectionsService','key','_syncEditingCollabCursor','ThresholdInterceptorFactory','_socket$','getMember','createInstance','CipherParams','_undoRedoService','awaitingChangeset','hostname','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_sheetTransformSelectionsService','_initMergeInterceptor','_onUserJoin','symbol','PENDING','awaiting','HTTPRequest','HMAC','/block/','univer-pro.collaboration-client.single-active-unit-service','People','_transformSelections','Quantity','IUniverInstanceService','SUCCUSS','signUrlServerUrl','forEach','readInt32LE','file','_map','/universer-api/uniscript','ALREADY_EXISTS','body','random','COMPRESS_MUTATION_APPLY','enableSingleActiveInstanceLock','_compressMutationService','createSocket','[OfflineState]:\x20received\x20changeset.','/role','NOT_COLLAB','UniverNetworkPlugin','createCollaborator','LocalUndoRedoService','APPLY_NON_SEQUENTIAL_REVISION','REDEMPTION_USER_REDEEM_TIMES_EXCEED','/universer-api/authz','_createInitialStateImpl','MUTATION','HmacMD5','toString','authzUrl','_clearScheduledTask','exports','__esModule','_onOffline','prototype','INVALID_INVITE_CODE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getTypeOfUnitAdded$','_scheduleCompleteTimestamp','?size=','_event$','selections','keySize','getLatestCsReqIdBySid','FileId','TOO_MANY_REQUESTS','enableAuthServer','ENTITLE_REPORT_LIMIT_EXCEED','_commentUpdate$','send','_substituteUndoStack','onRemoteRej','next','getRoom','reject','_collaborationSessionService','_handlerCallback','fetchMiss','sequenceExecute','hasher','/object','/new_changes','getConfig','UPDATE_PERMISSION_OBJ','getCollabEntity$','_getCtorByUniverType','getTime','updateSnapshot','ReplaySubject','parse','Tools','_onConnectionOpen','_DEC_XFORM_MODE','asObservable','addImageSourceCache','pluginName','univer-pro.collaboration-client.network-condition.service','@univerjs/drawing','ISnapshotServerService','_clearTimeoutTimer','AuthzIoHttpService','unitID','_getCurrentRevision','ciphertext','CollaborationEvent','_initUnitPermissionChange','_type','Utf8','EMAIL_VERIFY_CODE_MISMATCH','closeSession','status$','_memberService','_redoStacks','rxjs','objectID','2981910wAUxIF','_sessions','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','userID','transformSelections','confirm','RETRY_CONNECTING_MAX_COUNT_KEY','RxDisposable','getGlobalObject','_updateLocalCache','RECV','set','_ENC_XFORM_MODE','CHANGESET_ACK','_nRounds','_config','UNIVER_SHEET','ImageUploadStatusType','fetch_missing','ILogService','LIVESHARE_OPERATION','objects','Disposable','HTTPService','complete','Rectangle','unknown','addHandlerCallback','[PendingState]:\x20received\x20acknowledgement.','CollaborationUIEventId','_schedule','&source=','_fetchMissChangesets','toggleOnline','IMentionIOService','[PendingState]:\x20received\x20rejection.','createIdentifier','_iv','CHANGESET_REJ','InsertSheetMutation','NO_OTHER_CLIENTS_EDITING','_change$','LOGIN_TOKEN_PROCESSING_FAILED','findIndex','method','UniverCollaborationClientPlugin','_socketService','image/png','push','_onConflict','waitForRoom$','JOIN','_applyRemoteChangeset','ISingleActiveUnitService','isTransformChangesetsSuccess','LOGIN_FAILED','algo','UNKNOWN_CMD','amd','updateCursorEvent','Undefined','map','/resources','msCrypto','Encryptor','kdf','ConflictState','_getSignURL','href','uniscriptRunEvent','roomInfos','MOBILE_VERIFY_CODE_MISMATCH','isTransformMutationsWithChangesetFailure','JOIN_ROOM_NOT_EXISTS','patch','/rev/','_collaborationUIEventService','debug','3jKPLku','isTransformMutationsWithChangesetSuccess','UniverTelemetry','rxjs/operators','PAYMENT_CHANNEL_NOT_SUPPORT','HttpImport','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','reqId','PasswordBasedCipher','LOCAL_CACHE_INTERVAL_KEY','stopTime','CollaborationStatus','create','unit-cache-','_transformRemoteChangesetByIMECache','CollaborationSession','startTime','collabWebSocketUrl','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_hash','execute','_roomCreated$','\x20in\x20_schedule.','onMissedChangesetFetched','PERMISSION_DENIED','getDeserializedSheetBlock','SNAPSHOT_HAS_BEEN_REMOVED','INVITE_CODE_REQUIRED','[OfflineState]:\x20received\x20rejection.','url','slice','isArray','WECHAT_HAS_BEEN_BOUND','CollaborationSocketService','/universer-api/snapshot/','changesets','words','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket','_getLoginPath','transformStack\x20failed!','EvpKDF','close','YUUMI_RATE_OVER_LIMIT','AwaitingWithPendingState','_configService','pending','COMPLETION_FINISHED','_mode','IPermissionService','getRandomValues','liveShareNewHost','unsubscribe','_sendHeartbeatTimer','/universer-api/snapshot','3626OzNYDt','setShowComponents','DocCollaborationEntity','HELLO','AUTHORIZE_CODE_ILLEGAL','liveShareOperation','_commandService','_invKeySchedule','_getSendChangesetTimeout','&assign=','_doCreateSocket','_stopTelemetryCollaborationNewChangeset','_pendingMutations','actions','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_CHAT_LIMIT_EXCEED','_onJoinRoomEvent','uuidv4','\x0aCurrent:\x20','_unitID','SHOULD_CLOSE_CONN','cfg','JSONX','SyncedState','max','SessionStatus','_exhaustRemoteChangesetQueue','join','encrypt','charCodeAt','UniverDocs','BehaviorSubject','state$','encodeURIComponent','_clearRetryConnectingTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','UNRECOGNIZED','CompressMutationService','onTransformRemoteChangesetByIMECache','UPDATE_CURSOR','_incrementRevisionNumber','formatter','eventID','Base64','APPLY_PERMISSION_DENIED','status','filter','getSheetId','INGEST','PSEUDO_FETCH_MISSING_RESULT','MD5','getActiveSheet','decrypt','registerHTTPInterceptor','takeUntil','_snapshotService','localeService','online$','_HTTPService','Base','concat','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','loadUnitOfRevision','USER_NOT_FOUND','NOT_FOUND','Malformed\x20UTF-8\x20data','mode','blockSize','OPTIONAL','3600792jffgDL','SheetPermissionInitController','image/bmp','transformMutationsWithChangeset','_submitChangeset','SerializableCipher','ENTITLE_DUP_SUBSCRIPTION','update','HttpExport','UNAUTHENTICATED','_updateState','JOIN_ROOM_FULL','getMemberID','_undoStacks','shareReplay','socket\x20open.','refreshPermission','_awaitingChangeset','IConfigService','OfflineState','_socketMessageSubscription','_disableEditing','7rCRzHK','CLOSE_ROOM','revision','_state$','format','@univerjs/core','executeCommand','Could\x20not\x20dynamically\x20require\x20\x22','getImageSourceCache','retryConnectingInterval','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','resend','loadSheet','Univer','CommandType','take','loadOfflineData','saveImage','_entities','length','MSG_FOR_ERROR','_createHandler','loadDoc','close$','finalize','_isPermissionRej','MOBILE_HAS_BEEN_BOUND','_retryConnectingTimer','_waitForHeartbeatResponse','reset','sessionStatus$','@univerjs/docs','_onUserLeave','_executeRemoteChangeset','Cipher','Latin1','/universer-api/stream/file/upload','LocaleService','pauseCollaboration','CHANGESET_REVISION_CONFILICT','reconnect','socket$','APPLY_DUPLICATED','awaiting_with_pending','DATA_SOURCE_TOO_LARGE','collaborators','COMPRESS_MUTATION_SEND','_joinRoom','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','sessionStatus','conflict','_members','PendingState','_scheduleCollaborationTimeoutTimer','USER_IS_ANONYMOUS','updateOfflineData','responseType','[CollaborationUndoRedoService]','\x20-\x20','disableLocalCache','_createInitialState','state','size','_telemetryInfo','default','_candidateSocket','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','headers','_onMessage','isPermissionRej','JOIN_ROOM_FAILED','USERS_ENTER','LEAVE','ENTITLE_USE_COUPON_NOT_1ST_TRADE','find','UniverProLicense','_unitInfo$','INVITE_CODE_ALREADY_BOUND','UniverCollaborationPlugin','init','title','putCollaborators','baseRev','mixIn','unpad','extend','lib','apply','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','ImageSourceType','params','Workbook','_getDownloadEndpointURL','_startCollaboration','HEARTBEAT_TIMEOUT_KEY','enableOfflineEditing','_showConflictNotification','SYNCED','INTERNAL_ERROR','subject','AWAITING','routeKey','UNIVER_PROJECT','getValue','isInternalEditorID','_clearRedo','YUUMI_AI_RUN_FAILED','_removeRoom','event$','onRemoteRetry','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','JOIN_ROOM_PERMISSION_DENIED','CollaborationEntity','_decreaseWaiting','allowed','textRanges','_networkConditionService','REDEMPTION_INVALID_CODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_toggleOnline','Pkcs7','ISocketService','HEARTBEAT','APPLY_REJECT','collaboration-client.config','_getAPIPrefixPath','ERROR_AGAIN','_initCloseConn','_getAPIPrefix','csShouldRetryEvent','Subject','cmd','_resendTimer','[SyncedState]:\x20received\x20rejection.','fetchThroughInterceptors','_minBufferSize','UNDEFINED','_remoteChangesetQueue','function','session.room-not-exists','_init','UserProfileImg','updateMember','error','AWAITING_WITH_PENDING','USERS_LEAVE','getOwnPropertyDescriptor','encode','sin','YUUMI_UNABLE_LOAD_URL','joinEvent','onRemoteAck','offline','collaboratorID','connection\x20error','_roomMembers','REDEMPTION_CODE_INACTIVE','_process','FETCH_MISSING','onMissingChangesets','mutations','_toggleOffline','PERSON','originalMeta','fetching\x20missing\x20changesets\x20from\x20'];_0x1407=function(){return _0x3d939b;};return _0x1407();}
2
+ function _0x4d6f(_0xba1a21,_0x1726db){_0xba1a21=_0xba1a21-0x1c5;var _0x452af7=_0x452a();var _0x4d6f1d=_0x452af7[_0xba1a21];return _0x4d6f1d;}function _0x452a(){var _0xba2c2f=['_transformService','Error\x20on\x20receiving\x20event','IConfigService','_localCacheService','has','[CollaborationSessionService]','actions','location','_collaborationPaused','_change$','submit\x20changeset\x20error!','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_entityInit$','getConfig','transformUndoRedo','_type','_sessions','setCurrentUser','leaveEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SessionStatus','sequenceExecute','sendChangesetTimeout','/new_changes','_unitInfo$','PAYMENT_CHANNEL_NOT_SUPPORT','_initDependencies','b64DecodeUnicode','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UNISCRIPT_RUN','HELLO','_incrementRevisionNumber','update','SOCKET_FAILED','_getLoginPath','BlockCipherMode','PERSON','uuidv4','append','_commentService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','loadUnitOfRevision','[PendingState]:\x20received\x20acknowledgement.','dispose$','OpenSSL','ERROR_IMAGE','_getUndoStack','DATA_SOURCE_TOO_LARGE','8GoKJPa','_collaborationTimeoutTimer','replace','deserializeToCombResponse','UserProfileImg','parseProtocolChangeset','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ENTITLE_NEED_BILLING_ADDRESS','[DataLoaderService]','pipe','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','data','_socketMessageSubscription','UUID','CipherParams','_startCollaboration','Malformed\x20UTF-8\x20data','UniverCollaborationClientPlugin','_executeRemoteChangeset','mutations','@univerjs/telemetry','_networkConditionService','SyncedState','LEAVE','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handlerCallback','YUUMI_RATE_OVER_LIMIT','INVITE_CODE_HAS_BEEN_UES','_clearHeartbeatTimer','_state','@univerjs/drawing','name','getCurrentRevOfUnit','type','_onLocalMutation','_createHmacHelper','CompressMutationService','mapDocumentTypeToUniverType','getResourcesRequest','now','573520yYUVFr','NO_OTHER_CLIENTS_EDITING','substr','/-/object/-/batch_allowed','_collaborationSessionService','clone','next','Undefined','image/jpeg','_eventService','_lockTransition','CONNECTOR_DATA_TOO_LARGE','updateMember','IPermissionService','_userManagerService','image/gif','ILocalCacheService','CollaborationSessionService','hostname','enableAuthServer','ISnapshotServerService','SUBMIT_CHANGESET','toggleOffline','key','ILogService','_onRemoteACK','isTransformMutationsWithChangesetFailure','url','_tryEnsureSocket','_roomCreated$','_process','setWaitCount','__splitChunk__','session','retryConnectingInterval','_onUserLeave','_tryReconnect','session.room-not-exists','awaiting_with_pending','_changesetReqId','Disposable','/universer-api/uniscript','univer-pro.collaboration-client.network-condition.service','2033592uXHFIF','getUnit','HmacMD5','editingUnit','NEW_CHANGESETS','parse','registerHTTPInterceptor','encode','onTransformRemoteChangesetByStateCache','DataLoaderService','LIVESHARE_FETCH_OPERATIONS','mode','sigBytes','UNDEFINED','_clearLocalCache','image/bmp','take','UniverProCollaborationClient','[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.','_timeoutTimer','getRoom','CONFLICT','error$','enableSingleActiveInstanceLock','EvpKDF','SnapshotService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','JOIN_ROOM_FULL','AWAITING_WITH_PENDING','_transformStateCache','createEncryptor','add','JOIN_ROOM_PERMISSION_DENIED','_stopTelemetryCollaborationNewChangeset','JOIN','_resendTimer','_logService','csShouldRetryEvent','INetworkConditionService','_handler','image/png','body','reconnect','_startTelemetryCollaborationNewChangeset','roomInfos','_onFetchMissResult','_iv','_clearUndo','Failed\x20to\x20update\x20permission\x20point','_sender','parseChangesetToProtocol','list','auth.needGotoLoginAlert','result','_snapshotServerService','RevisionService','_xformMode','getTime','waitForRoom$','readAsDataURL','UNIVER_COLLABORATION_CLIENT_PLUGIN','POST','FileId','interceptor','getCurrentUser','_joinRoom','getUnitStatus$','_socket','collaboration_new_changeset','ImageSourceType','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','SUCCUSS','_checkMissing','_commentUpdate$','transformChangesets','_memberService','HEARTBEAT_INTERVAL_KEY','transformSelections','pending','action','getSheetBlock','commentUpdateEvent','sessionStatus','_permissionService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_createInitialState','_parse','ENTITLE_CAN_NOT_BUY_LOWER_OTP','shouldCloseConn','onCommentUpdate','focused$','setShowComponents','ICommandService','_disableEditing','SnapshotServerOverHTTPService','find','loginUrlKey','lib','loadDoc','href','_queuedRemoteChangesets','CollaborationController','HEARTBEAT_TIMEOUT_KEY','change$','_telemetryService','getUnitId','BASE64','includes','[CollaborationSession]','_sendHeartbeat','/object/','UniverProLicense','unsubscribe','blockSize','entries','originalMeta','serializeCombRequest','joinRsp','People','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','rxjs','_onOffline','subUnitId','_telemetryInfo','UPDATE_CURSOR','_configService','95277FOyuMn','compose','Rectangle','CollaborationUIEventService','UNIVER_PROJECT','OTHER_CLIENT_EDITING','DEFAULT_COLLAB_WEB_SOCKET_URL','encrypt','_transformUndoredo','Injector','confirm','RxDisposable','asObservable','UniverNetworkPlugin','SNAPSHOT_INVALID_SNAPSHOT','Tools','ENTITLE_REPORT_LIMIT_EXCEED','ALREADY_EXISTS','call','session.room-cnt-exceeds','CLOSE_ROOM','_getAPIPrefixPath','format','SUBMIT_CHANGESET_TIMEOUT','LIVESHARE_NEW_HOST','startTime','state$','capture','close$','getImageSourceCache','SetSelectionsOperation','CHANGESET_ACK','getDeserializedSheetBlock','_univerInstanceService','NOT_FOUND','listRoles','addImageSourceCache','USERS_ENTER','_exhaustRemoteChangesetQueue','_hasher','APPLY_DUPLICATED','_getCtorByUniverType','_oKey','_schedule','_undoRedoService','TOO_MANY_REQUESTS','_onRecvEvent','_localeService','YUUMI_ALL_TABLES_IS_INVALID','members$','collabSubmitChangesetUrl','onRemoteAck','[CollaborationEntity]','send','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','ENTITLE_INSUFFICIENT_QUOTA','INVALID_ARGUMENT','PY_RUNTIME_SCRIPT_ERROR','_scheduleCollaborationTimeoutTimer','/universer-api/user/session-ticket','MentionIoHttpService','_onMessage','map','_initUnitPermissionChange','Hex','FetchingMissState','telemetry\x20info\x20is\x20not\x20initialized','_transformRemoteChangesetByStateCache','_changesetSessionId','univer-pro.collaboration-client.single-active-unit-service','3VCGTJj','AWAITING','UniverProCollaboration','getMember','[CollaborationUndoRedoService]','sessionStatus$','_onRemoteChangeset','floor','/universer-api/file/{fileID}/sign-url','_unlockTransition','ENTITLE_DUP_SUBSCRIPTION','_getRedoStack','awaitingChangeset','_isPermissionRej','headers','/rev/','CollaborationImageIoService','symbol','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UNAUTHENTICATED','_members','merge','18978970LfQKhT','LIVESHARE_REQUEST_HOST','_onRemoteRejected','_getUploadFileURL','byteOffset','_acknowledgedAwaitingChangeset','members','AUTHORIZE_CODE_ILLEGAL','REDEMPTION_CODE_HAS_BEEN_CREATED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ivSize','YUUMI_CONNECTOR_URL_NOT_FOUND','COMPRESS_MUTATION_SEND','UniverDrawing','_doCryptBlock','HttpImport','session.join-failed','_members$','connection\x20error','init','getTypeOfUnitAdded$','_resendTimeout','stopTime','socket\x20close','_imageSourceCache','size','ISocketService','CollaborationEntity','UNKNOWN_CMD','/universer-api/oidc/authpage','requireSession','enableCollaboration','AuthzIoHttpService','ITransformService','_socketService','ENTITLE_COUPON_EXPIRED','getCollabEntity$','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','hasOwnProperty','keySize','UnitSnapshot','UNIVER_SHEET','fromCollab','clamp','[SyncedState]:\x20received\x20acknowledgement.','resend','onRemoteRetry','AES','toDisposable','&assign=','enableOfflineEditing','reqId','GLOBAL_ROOMS_CNT_EXCEEDS','COMMENT_UPDATE','SNAPSHOT_HAS_BEEN_REMOVED','duration','rxjs/operators','subscribe','USER_NOT_INVITED_CODE','INVITE_CODE_ALREADY_BOUND','_removeRoom','socket$','\x20in\x20_schedule.','_toggleOffline','_keyPriorReset','REDEMPTION_USER_NOT_ELIGIBLE','?url=','m2Prime','deleteCollaborator','_throwTelemetryCollaborationNewChangeset','INVITE_CODE_REQUIRED','conflict','_ENC_XFORM_MODE','UnitEmbedded','signUrlServerUrl','\x20-\x20','UniverDocs','ONLINE','_unitID','APPLY_NON_SEQUENTIAL_REVISION','reverse','_commandService','REDEMPTION_INVALID_CODE','appendMutation','Decryptor','Utf8','enc','[OfflineState]:\x20received\x20rejection.','/universer-api/snapshot/','_sendingTimer','Pkcs7','onTransformSelections','\x20to\x20','_data','reduce','PERMISSION_DENIED','entityInit$','Inject','createIdentifier','INGEST','JSONX','BufferedBlockAlgorithm','Optional','_iKey','/fetchmissing?from=','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPLETION_FINISHED','unitInfo$','_candidateSocket','MD5','MSG_FOR_ERROR','_listenToNetworkCondition','unit-cache-','push','UNKNOWN_CODE','params','22JVukjq','LIVESHARE_TERMINATE','updateCursorEvent','onMissedChangesetFetched','/unit/','state','method','_cipher','deepClone','ConflictState','APPLY_REJECT','responseType','loadSheet','/allowed','ISingleActiveUnitService','_sheetTransformSelectionsService','DEFAULT_FILE_NAME','decrypt','join','rev','CHANGESET_SHOULD_RETRY','prototype','getActiveSheet','filter','hasher','_showConflictNotification','_doReset','onMutationExecutedForCollab','loadOfflineData','{fileID}','_rescheduleHeartbeat','CollaborationEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','BehaviorSubject','IUniverInstanceService','_transformIMECache','initWorkbookPermissionChange','formatter','_doFinalize','snapshotServerUrl','_key','localCacheService','_collaborationUIEventService','LOCAL_CACHE_INTERVAL_KEY','resolve','event$','UniverCore','getAllMembers','_event$','cmd','CollaborativeUndoRedoService','csAckEvent','updateSnapshot','sid','getFocusedUnit','MemberService','UniverTelemetry','_state$','crypto','getCollabEntity','ENSURE_SNAPSHOT_EXECUTION','words','OfflineState','1150352DesSIa','status$','_onUserJoin','slice','_onConflict','Subject','/collaborator','ERROR_EXCEED_SIZE','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','SHOULD_CLOSE_CONN','random','_remoteChangesetQueue','YUUMI_ASYNCIO_CANCELLED','univer-pro.collaboration-client-socket-service','x-univer-host','_substituteRedoStack','_submitChangeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','WordArray','dispose','findIndex','socket\x20open.','FETCH_MISS','SOCKET_FAILED_RETRY','SheetsSelectionsService','takeUntil','Base64','_sessionStatus$','isTransformMutationsWithChangesetSuccess','SerializableCipher','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','REDEMPTION_CODE_FULLY_REDEEMED','Base','mixIn','isTransformChangesetsSuccess','onRemoteChangeset','_hash','onSendChangeset','_clearTimeoutTimer','finalize','YUUMI_SUBSCRIPTION_NOT_FOUND','Workbook','MUTATION','_onConnectionOpen','_maxTotalRetryTimeout','onRemoteRej','then','_clearRedo','_snapshotService','listCollaborators','onlyLocal','_shouldReportTelemetry','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_keySchedule','socketService','RETRY_CONNECTING_MAX_COUNT','synced','ReplaySubject','Encryptor','ICollaborationSocketService','getRandomValues','concat','extend','_transformRemoteChangesetByIMECache','USERS_LEAVE','firstValueFrom','isPermissionRej','RECV','UNRECOGNIZED','toString','objectID','CollaborationStatus','_append','OFFLINE','_initCloseConn','_scheduleCompleteTimestamp','max','defineProperty','permissionRejEvent','_httpService','not_collab','_initMergeInterceptor','USER_IS_ANONYMOUS','processBlock','_toggleOnline','default','reset','objectType','432mSuPgW','onload','_transformSelections','_invKeySchedule','[OfflineState]:\x20received\x20changeset.','debug','_doCreateSocket','byteLength','_waitForHeartbeatResponse','_socket$','length','updatePermissionPoint','apply','routeKey','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','toggleOnline','exports','JOIN_ROOM_NOT_EXISTS','HTTPRequest','_injector','getSnapshotAPIPath','copyFileMeta','_createInitialStateImpl','/universer-api/comb','@univerjs/network','awaiting','_onRemoteRetry','readInt32LE','set','_emitMembers','incrementRevOfUnit','_mode','onSyncEditingCollabCursor','_status$','revision','removeMember','liveShareNewHost','_singleActiveUnitService','_transitionLocked','touchDependencies','EMAIL_HAS_BEEN_BOUND','HmacSHA1','_roomMembers','workbook','charCodeAt','createInstance','code','updateCollaborator','roles','_updateStatus','IUndoRedoService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformRemoteChangesetByIMECache','fetchMissingChangesets','disableLocalCache','CBC','amd','origin','_init','_clearScheduledTask','close','reject','_nDataBytes','onTransformState','unitId','CollaborationSocketService','_getSignURL','_waitCount','getUnitType','transformStack\x20failed!','LICENSE_MAX_UNITS_EXCEEDED','FAIL','_applyRemoteChangeset','session.room-full','createCollaborator','UNIVER_SLIDE','[UniverCollaborationClientPlugin]','getValue','_map','fromCharCode','YUUMI_URL_COL_OUT_OF_RANGE','unitID','encryptBlock','_transformStack','HttpExport','PENDING','patch','eventID','LICENSE_EXPORT_SIZE_EXCEEDED','commentUpdate$','LOGIN_TOKEN_PROCESSING_FAILED','OTHER_CLIENTS_EDITING','abs','open$','joinEvent','post','closeSession','downloadEndpointUrl','randomBytes','_prevBlock','MOBILE_HAS_BEEN_BOUND','_config','Cipher','14719311xwmqac','IDLE','__Key__','function','WorkbookEditablePermission','RETRY_CONNECTING_MAX_COUNT_KEY','_getCurrentRevision','isArray','EmptyMutationInfo','RichTextEditingMutation','NoPadding','_registerDependencies','ClipsheetFragments','HEARTBEAT','createSocket','createDecryptor','range','CollaborationUIEventId','JOIN_ROOM_FAILED','executeCommand','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','AwaitingWithPendingState','SHA1','operators','UNIVER_DOC','_getAPIPrefix','[PendingState]:\x20received\x20rejection.','_resendWithTimeout','REDEMPTION_CODE_NOT_STARTED','getCurrentSelections','_substituteUndoStack','fetchMiss','selections','_clearRetryConnectingTimer','YUUMI_AI_RUN_FAILED','CHANGESET_REVISION_CONFILICT','addHandlerCallback','[OfflineState]:\x20received\x20acknowledgement.','sin','delay','_instanceService','_nRounds','@univerjs/docs','REDEMPTION_USER_REDEEM_TIMES_EXCEED','fetch_missing','title','Hasher','message$','changesets','YUUMI_NO_CUBOID_FOR_QUESTION','_getDownloadEndpointURL','YUUMI_UNABLE_LOAD_URL','_onCombEvent','PendingState','/role','ENTITLE_COUPON_USED_UP','_HTTPService','JOINING','pad','APPLY_REVISION_CONFILICT','textEncoder','__creator','Could\x20not\x20dynamically\x20require\x20\x22','emitEvent','PasswordBasedCipher','DisposableCollection','salt','WECHAT_HAS_BEEN_BOUND','online$','LocaleService','HTTPService','_createSocket','_onConnectionFailed','collabWebSocketUrl','object','ImageUploadStatusType','_getSendChangesetTimeout','[SyncedState]:\x20received\x20rejection.','LICENSE_IMPORT_SIZE_EXCEEDED','error','Latin1','_revisionService','CollaborationSession','charAt','_doProcessBlock','status','_replayCachedMutations','ws://127.0.0.1:8000/universer-api/comb/connect','delete','saveSnapshot','_clearCollaborationTimeoutTimer','REDEMPTION_CODE_INACTIVE','_createHandler','StreamCipher','kdf','SNAPSHOT_URL_KEY','min','getSheetId','saveImage','c2Prime','baseRev','requestParams','objectActions','isInternalEditorID','cfg','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_undoStacks','every','memberID','_updateLocalCache','ERROR_IMAGE_TYPE','authzUrl','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','[CollaborationState]:\x20apply\x20error!','clear','UniverInstanceType','EMAIL_VERIFY_CODE_MISMATCH','onMissingChangesets','_minBufferSize','get','HEARTBEAT_TIMEOUT','/block/','CommandType','forEach','SheetTransformSelectionsService','HMAC','OPTIONAL','_pendingMutations','saveChangeset','_compressMutationService','_socketReady','_awaitingChangeset','_createHelper','save\x20fail\x20reason\x20is\x20','iterations','MOBILE_VERIFY_CODE_MISMATCH','_decreaseWaiting','userID','unknown','UPDATE_PERMISSION_OBJ','fetchThroughInterceptors','execute','SheetCollaborationEntity','_updateState','onTransformIME','padding','ENTITLE_INVALID_COUPON_CODE','_collabSessionService','stringify','Quantity','infoRsp','complete','@univerjs/core','COMPRESS_MUTATION_APPLY','string','CURRENT_STATUS_CANNOT_OPERATE','session.room-permission-denied','BlockCipher','localeService','609380ZCccPr','algo','_reverseMap','UNIVER_UNKNOWN','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','decryptBlock','fetching\x20missing\x20changesets\x20from\x20','[PendingState]:\x20unhandled\x20univer\x20type:\x20','DocCollaborationEntity','uploadFileServerUrl','_replaceFileID','AwaitingState','getOwnPropertyDescriptor','refreshPermission','LIVESHARE_OPERATION','USER_NOT_FOUND','[CollaborationSessionService]:\x20socket\x20error','IAuthzIoService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','ENTITLE_CHAT_LIMIT_EXCEED','getTypeOfUnitDisposed$','disposeWithMe','ERROR_AGAIN','__esModule','indexOf','c1Prime','_sendHeartbeatTimer','$super','create','splice','getInterceptPoints','[FetchMissState]','updateOfflineData','_entities','collaborators','withCredentials','/object','collaboration-client.local-cache-service','_fetchMissChangesets','transformMutationsWithChangeset','values','HEARTBEAT_INTERVAL','ceil','textRanges','ciphertext','_initRequestHeader','_retryCount','_retryConnectingTimer'];_0x452a=function(){return _0xba2c2f;};return _0x452a();}(function(_0x4ffe7f,_0x51c02e){var _0x328087=_0x4d6f,_0x4f5306=_0x4ffe7f();while(!![]){try{var _0xf48e8=parseInt(_0x328087(0x52e))/0x1+-parseInt(_0x328087(0x559))/0x2+-parseInt(_0x328087(0x27f))/0x3*(-parseInt(_0x328087(0x348))/0x4)+-parseInt(_0x328087(0x4a6))/0x5+parseInt(_0x328087(0x3a0))/0x6*(-parseInt(_0x328087(0x239))/0x7)+parseInt(_0x328087(0x506))/0x8*(-parseInt(_0x328087(0x407))/0x9)+parseInt(_0x328087(0x295))/0xa*(parseInt(_0x328087(0x309))/0xb);if(_0xf48e8===_0x51c02e)break;else _0x4f5306['push'](_0x4f5306['shift']());}catch(_0x2635c8){_0x4f5306['push'](_0x4f5306['shift']());}}}(_0x452a,0xdc667),function(_0x38154d,_0x2f2f31){var _0x5736ea=_0x4d6f;typeof exports==_0x5736ea(0x451)&&typeof module<'u'?_0x2f2f31(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==_0x5736ea(0x40a)&&define[_0x5736ea(0x3d8)]?define([_0x5736ea(0x3b0),'@univerjs-pro/collaboration',_0x5736ea(0x49f),_0x5736ea(0x431),'@univerjs/sheets','rxjs',_0x5736ea(0x51a),_0x5736ea(0x2cd),_0x5736ea(0x3b8),_0x5736ea(0x524),'@univerjs-pro/license'],_0x2f2f31):(_0x38154d=typeof globalThis<'u'?globalThis:_0x38154d||self,_0x2f2f31(_0x38154d[_0x5736ea(0x1cc)]={},_0x38154d[_0x5736ea(0x281)],_0x38154d[_0x5736ea(0x337)],_0x38154d[_0x5736ea(0x2e1)],_0x38154d['UniverSheets'],_0x38154d[_0x5736ea(0x233)],_0x38154d[_0x5736ea(0x341)],_0x38154d[_0x5736ea(0x233)][_0x5736ea(0x41e)],_0x38154d['UniverNetwork'],_0x38154d[_0x5736ea(0x2a2)],_0x38154d[_0x5736ea(0x22a)]));}(this,function(_0x2c717a,_0x9d3528,_0x5a87f6,_0x48d960,_0x2dec7c,_0x49c451,_0x2518fe,_0xf159a2,_0x3f793f,_0x5dfc2e,_0xc549e7){'use strict';var _0x4ef07c=_0x4d6f;var _0x20da00=Object[_0x4ef07c(0x395)],_0x5b51cc=(_0x4933bb,_0x46b72a,_0x22dd56)=>_0x46b72a in _0x4933bb?_0x20da00(_0x4933bb,_0x46b72a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22dd56}):_0x4933bb[_0x46b72a]=_0x22dd56,_0x27ebba=(_0x7d56aa,_0x3051d2,_0x270e3a)=>_0x5b51cc(_0x7d56aa,typeof _0x3051d2!=_0x4ef07c(0x290)?_0x3051d2+'':_0x3051d2,_0x270e3a);const _0x3565d7='/universer-api/snapshot',_0x7cc834=_0x4ef07c(0x466),_0x3de4fd=_0x4ef07c(0x45e),_0x2e1070=_0x4ef07c(0x274),_0xe56939=_0x4ef07c(0x4cf),_0x2c4727=_0x4ef07c(0x47f),_0x426cb4=_0x4ef07c(0x37f),_0x1dd524='LOCAL_CACHE_INTERVAL',_0x12cea0=_0x4ef07c(0x3b7),_0x565a47=_0x4ef07c(0x2b2),_0x5d93ab='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x33b475=_0x4ef07c(0x557);var _0x4c3020=(_0x163d0a=>(_0x163d0a[_0x163d0a[_0x4ef07c(0x1c8)]=0x0]=_0x4ef07c(0x1c8),_0x163d0a[_0x163d0a['OK']=0x1]='OK',_0x163d0a[_0x163d0a['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x163d0a[_0x163d0a[_0x4ef07c(0x2f4)]=0x3]=_0x4ef07c(0x2f4),_0x163d0a[_0x163d0a['NOT_FOUND']=0x4]=_0x4ef07c(0x25b),_0x163d0a[_0x163d0a[_0x4ef07c(0x292)]=0x5]='UNAUTHENTICATED',_0x163d0a[_0x163d0a[_0x4ef07c(0x24a)]=0x6]=_0x4ef07c(0x24a),_0x163d0a[_0x163d0a[_0x4ef07c(0x271)]=0x7]='INVALID_ARGUMENT',_0x163d0a[_0x163d0a[_0x4ef07c(0x266)]=0x8]=_0x4ef07c(0x266),_0x163d0a[_0x163d0a[_0x4ef07c(0x2ff)]=0x9]=_0x4ef07c(0x2ff),_0x163d0a[_0x163d0a['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x163d0a[_0x163d0a[_0x4ef07c(0x48e)]=0xb]=_0x4ef07c(0x48e),_0x163d0a[_0x163d0a[_0x4ef07c(0x41b)]=0xc]=_0x4ef07c(0x41b),_0x163d0a[_0x163d0a[_0x4ef07c(0x47b)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x163d0a[_0x163d0a['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x4ef07c(0x29e),_0x163d0a[_0x163d0a[_0x4ef07c(0x29c)]=0xf]=_0x4ef07c(0x29c),_0x163d0a[_0x163d0a[_0x4ef07c(0x3fa)]=0x10]=_0x4ef07c(0x3fa),_0x163d0a[_0x163d0a[_0x4ef07c(0x4a2)]=0x64]=_0x4ef07c(0x4a2),_0x163d0a[_0x163d0a[_0x4ef07c(0x4bc)]=0x65]=_0x4ef07c(0x4bc),_0x163d0a[_0x163d0a[_0x4ef07c(0x4b5)]=0xc9]=_0x4ef07c(0x4b5),_0x163d0a[_0x163d0a[_0x4ef07c(0x39a)]=0xca]=_0x4ef07c(0x39a),_0x163d0a[_0x163d0a[_0x4ef07c(0x42a)]=0x1389]=_0x4ef07c(0x42a),_0x163d0a[_0x163d0a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4ef07c(0x247),_0x163d0a[_0x163d0a[_0x4ef07c(0x2cb)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x163d0a[_0x163d0a[_0x4ef07c(0x345)]=0x1773]=_0x4ef07c(0x345),_0x163d0a[_0x163d0a[_0x4ef07c(0x313)]=0x1b59]=_0x4ef07c(0x313),_0x163d0a[_0x163d0a[_0x4ef07c(0x2e4)]=0x1b5a]=_0x4ef07c(0x2e4),_0x163d0a[_0x163d0a[_0x4ef07c(0x442)]=0x1b5b]=_0x4ef07c(0x442),_0x163d0a[_0x163d0a['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x163d0a[_0x163d0a['APPLY_DUPLICATED']=0x1b5d]=_0x4ef07c(0x261),_0x163d0a[_0x163d0a[_0x4ef07c(0x539)]=0x1f41]=_0x4ef07c(0x539),_0x163d0a[_0x163d0a[_0x4ef07c(0x3e6)]=0x2329]=_0x4ef07c(0x3e6),_0x163d0a[_0x163d0a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4ef07c(0x329),_0x163d0a[_0x163d0a[_0x4ef07c(0x455)]=0x232b]=_0x4ef07c(0x455),_0x163d0a[_0x163d0a[_0x4ef07c(0x3f8)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x163d0a[_0x163d0a['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x163d0a[_0x163d0a[_0x4ef07c(0x43a)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x163d0a[_0x163d0a[_0x4ef07c(0x3f0)]=0x2712]=_0x4ef07c(0x3f0),_0x163d0a[_0x163d0a[_0x4ef07c(0x520)]=0x2713]=_0x4ef07c(0x520),_0x163d0a[_0x163d0a[_0x4ef07c(0x370)]=0x2714]=_0x4ef07c(0x370),_0x163d0a[_0x163d0a[_0x4ef07c(0x438)]=0x271a]=_0x4ef07c(0x438),_0x163d0a[_0x163d0a[_0x4ef07c(0x354)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x163d0a[_0x163d0a[_0x4ef07c(0x50c)]=0x271c]=_0x4ef07c(0x50c),_0x163d0a[_0x163d0a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x4ef07c(0x269),_0x163d0a[_0x163d0a[_0x4ef07c(0x4aa)]=0x271e]=_0x4ef07c(0x4aa),_0x163d0a[_0x163d0a['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4ef07c(0x429),_0x163d0a[_0x163d0a[_0x4ef07c(0x2a0)]=0x2720]=_0x4ef07c(0x2a0),_0x163d0a[_0x163d0a[_0x4ef07c(0x272)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x163d0a[_0x163d0a[_0x4ef07c(0x521)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x163d0a[_0x163d0a['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x163d0a[_0x163d0a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4ef07c(0x2db),_0x163d0a[_0x163d0a[_0x4ef07c(0x2cf)]=0x2ee4]=_0x4ef07c(0x2cf),_0x163d0a[_0x163d0a[_0x4ef07c(0x2d0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x163d0a[_0x163d0a[_0x4ef07c(0x44a)]=0x32c9]=_0x4ef07c(0x44a),_0x163d0a[_0x163d0a[_0x4ef07c(0x404)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x163d0a[_0x163d0a[_0x4ef07c(0x3c8)]=0x32cb]=_0x4ef07c(0x3c8),_0x163d0a[_0x163d0a[_0x4ef07c(0x212)]=0x36b1]=_0x4ef07c(0x212),_0x163d0a[_0x163d0a[_0x4ef07c(0x26f)]=0x36b2]=_0x4ef07c(0x26f),_0x163d0a[_0x163d0a[_0x4ef07c(0x289)]=0x36b3]=_0x4ef07c(0x289),_0x163d0a[_0x163d0a['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x4ef07c(0x4ef),_0x163d0a[_0x163d0a[_0x4ef07c(0x499)]=0x36b5]=_0x4ef07c(0x499),_0x163d0a[_0x163d0a[_0x4ef07c(0x2b8)]=0x36b6]=_0x4ef07c(0x2b8),_0x163d0a[_0x163d0a[_0x4ef07c(0x43e)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x163d0a[_0x163d0a[_0x4ef07c(0x1d5)]=0x36b8]=_0x4ef07c(0x1d5),_0x163d0a[_0x163d0a[_0x4ef07c(0x4b9)]=0x3715]=_0x4ef07c(0x4b9),_0x163d0a[_0x163d0a[_0x4ef07c(0x249)]=0x3716]=_0x4ef07c(0x249),_0x163d0a[_0x163d0a[_0x4ef07c(0x270)]=0x3717]=_0x4ef07c(0x270),_0x163d0a[_0x163d0a[_0x4ef07c(0x50d)]=0x37dd]=_0x4ef07c(0x50d),_0x163d0a[_0x163d0a[_0x4ef07c(0x2e7)]=0x3a99]=_0x4ef07c(0x2e7),_0x163d0a[_0x163d0a[_0x4ef07c(0x462)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x163d0a[_0x163d0a[_0x4ef07c(0x367)]=0x3a9b]=_0x4ef07c(0x367),_0x163d0a[_0x163d0a[_0x4ef07c(0x423)]=0x3a9c]=_0x4ef07c(0x423),_0x163d0a[_0x163d0a[_0x4ef07c(0x2d6)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x163d0a[_0x163d0a['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x4ef07c(0x432),_0x163d0a[_0x163d0a[_0x4ef07c(0x29d)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x163d0a[_0x163d0a[_0x4ef07c(0x505)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x163d0a[_0x163d0a['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x163d0a))(_0x4c3020||{}),_0x1ac378=(_0x3d356a=>(_0x3d356a[_0x3d356a[_0x4ef07c(0x4a9)]=0x0]='UNIVER_UNKNOWN',_0x3d356a[_0x3d356a[_0x4ef07c(0x41f)]=0x1]='UNIVER_DOC',_0x3d356a[_0x3d356a[_0x4ef07c(0x2be)]=0x2]='UNIVER_SHEET',_0x3d356a[_0x3d356a[_0x4ef07c(0x3eb)]=0x3]=_0x4ef07c(0x3eb),_0x3d356a[_0x3d356a[_0x4ef07c(0x23d)]=0x4]=_0x4ef07c(0x23d),_0x3d356a[_0x3d356a['UNRECOGNIZED']=-0x1]=_0x4ef07c(0x38c),_0x3d356a))(_0x1ac378||{}),_0x529cbe=(_0x5738b8=>(_0x5738b8[_0x5738b8[_0x4ef07c(0x2b1)]=0x0]=_0x4ef07c(0x2b1),_0x5738b8[_0x5738b8[_0x4ef07c(0x4f4)]=0x1]=_0x4ef07c(0x4f4),_0x5738b8[_0x5738b8['JOIN']=0x2]=_0x4ef07c(0x1dd),_0x5738b8[_0x5738b8['LEAVE']=0x3]=_0x4ef07c(0x51d),_0x5738b8[_0x5738b8[_0x4ef07c(0x2f8)]=0x4]=_0x4ef07c(0x2f8),_0x5738b8[_0x5738b8[_0x4ef07c(0x414)]=0x5]='HEARTBEAT',_0x5738b8[_0x5738b8['RECV']=0x6]=_0x4ef07c(0x38b),_0x5738b8[_0x5738b8['UNRECOGNIZED']=-0x1]=_0x4ef07c(0x38c),_0x5738b8))(_0x529cbe||{}),_0x488bd0=(_0x705cf7=>(_0x705cf7[_0x705cf7[_0x4ef07c(0x307)]=0x0]=_0x4ef07c(0x307),_0x705cf7[_0x705cf7['OK']=0x1]='OK',_0x705cf7[_0x705cf7[_0x4ef07c(0x3e7)]=0x2]=_0x4ef07c(0x3e7),_0x705cf7[_0x705cf7[_0x4ef07c(0x1d6)]=0x3e9]=_0x4ef07c(0x1d6),_0x705cf7[_0x705cf7[_0x4ef07c(0x3b1)]=0x3ea]=_0x4ef07c(0x3b1),_0x705cf7[_0x705cf7[_0x4ef07c(0x1db)]=0x3eb]=_0x4ef07c(0x1db),_0x705cf7[_0x705cf7[_0x4ef07c(0x2c9)]=0x3ec]=_0x4ef07c(0x2c9),_0x705cf7[_0x705cf7[_0x4ef07c(0x38c)]=-0x1]='UNRECOGNIZED',_0x705cf7))(_0x488bd0||{}),_0x522cad=(_0x4d2748=>(_0x4d2748[_0x4d2748['Undefined']=0x0]=_0x4ef07c(0x535),_0x4d2748[_0x4d2748[_0x4ef07c(0x2a4)]=0x1]=_0x4ef07c(0x2a4),_0x4d2748[_0x4d2748[_0x4ef07c(0x3f4)]=0x2]=_0x4ef07c(0x3f4),_0x4d2748[_0x4d2748[_0x4ef07c(0x2de)]=0x3]=_0x4ef07c(0x2de),_0x4d2748[_0x4d2748['UnitSnapshot']=0x4]=_0x4ef07c(0x2bd),_0x4d2748[_0x4d2748[_0x4ef07c(0x50a)]=0x5]='UserProfileImg',_0x4d2748[_0x4d2748[_0x4ef07c(0x413)]=0x6]=_0x4ef07c(0x413),_0x4d2748[_0x4d2748[_0x4ef07c(0x38c)]=-0x1]=_0x4ef07c(0x38c),_0x4d2748))(_0x522cad||{});const _0x5739b1=_0x4ef07c(0x1ff);function _0x21a9ab(_0x1dfb32){var _0x1efaa8=_0x4ef07c;return JSON[_0x1efaa8(0x49b)](_0x1dfb32)[_0x1efaa8(0x3aa)];}var _0x28846f=(_0x534e4d=>(_0x534e4d[_0x4ef07c(0x23e)]=_0x4ef07c(0x23e),_0x534e4d[_0x4ef07c(0x2f4)]=_0x4ef07c(0x2f4),_0x534e4d[_0x4ef07c(0x1d0)]=_0x4ef07c(0x1d0),_0x534e4d[_0x4ef07c(0x24d)]='CLOSE_ROOM',_0x534e4d[_0x4ef07c(0x419)]=_0x4ef07c(0x419),_0x534e4d[_0x4ef07c(0x35f)]=_0x4ef07c(0x35f),_0x534e4d[_0x4ef07c(0x4f7)]=_0x4ef07c(0x4f7),_0x534e4d['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x534e4d))(_0x28846f||{});class _0x596edb{constructor(){var _0x334e92=_0x4ef07c;_0x27ebba(this,_0x334e92(0x339),new _0x49c451[(_0x334e92(0x34d))]()),_0x27ebba(this,_0x334e92(0x336),this[_0x334e92(0x339)]['asObservable']());}[_0x4ef07c(0x446)](_0x17640d){this['_event$']['next'](_0x17640d);}}class _0x46eb06{constructor(){var _0x1c3aaa=_0x4ef07c;_0x27ebba(this,'_commentUpdate$',new _0x49c451[(_0x1c3aaa(0x34d))]()),_0x27ebba(this,_0x1c3aaa(0x3f9),this[_0x1c3aaa(0x204)][_0x1c3aaa(0x245)]());}['onCommentUpdate'](_0x4b1b68){var _0x11dc92=_0x4ef07c;this[_0x11dc92(0x204)][_0x11dc92(0x534)](_0x4b1b68);}}var _0x2e7c4d=Object[_0x4ef07c(0x4b2)],_0x579363=(_0x2103de,_0x147c85,_0x408265,_0x2a821a)=>{var _0x11a4da=_0x4ef07c;for(var _0x378e74=_0x2a821a>0x1?void 0x0:_0x2a821a?_0x2e7c4d(_0x147c85,_0x408265):_0x147c85,_0x330358=_0x2103de[_0x11a4da(0x3aa)]-0x1,_0x1e0fa4;_0x330358>=0x0;_0x330358--)(_0x1e0fa4=_0x2103de[_0x330358])&&(_0x378e74=_0x1e0fa4(_0x378e74)||_0x378e74);return _0x378e74;},_0x4a58a4=(_0x5b4660,_0x37c288)=>(_0x4d0748,_0x183f59)=>_0x37c288(_0x4d0748,_0x183f59,_0x5b4660);_0x2c717a['MemberService']=class extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(_0x43d66e,_0x3d54ab){var _0x22fdee=_0x4ef07c;super(),_0x27ebba(this,_0x22fdee(0x3ca),new Map()),_0x27ebba(this,_0x22fdee(0x54b),new _0x49c451[(_0x22fdee(0x34d))]()),(this[_0x22fdee(0x25a)]=_0x43d66e,this['_userManagerService']=_0x3d54ab,this['disposeWithMe'](_0x49c451[_0x22fdee(0x294)](this[_0x22fdee(0x25a)][_0x22fdee(0x4ba)](_0x5a87f6[_0x22fdee(0x47a)][_0x22fdee(0x2be)])[_0x22fdee(0x50f)](_0xf159a2[_0x22fdee(0x277)](_0x3f4a76=>_0x3f4a76[_0x22fdee(0x224)]())),this[_0x22fdee(0x25a)][_0x22fdee(0x4ba)](_0x5a87f6[_0x22fdee(0x47a)]['UNIVER_DOC'])[_0x22fdee(0x50f)](_0xf159a2[_0x22fdee(0x277)](_0x2dd83e=>_0x2dd83e[_0x22fdee(0x224)]())),this[_0x22fdee(0x25a)][_0x22fdee(0x4ba)](_0x5a87f6[_0x22fdee(0x47a)][_0x22fdee(0x3eb)])[_0x22fdee(0x50f)](_0xf159a2[_0x22fdee(0x277)](_0x6c0ff0=>_0x6c0ff0['getUnitId']())))[_0x22fdee(0x2ce)](_0xad92ba=>this[_0x22fdee(0x2d1)](_0xad92ba))));}[_0x4ef07c(0x1f5)](_0x2d30f0){var _0x482b15=_0x4ef07c;return this[_0x482b15(0x3ca)][_0x482b15(0x4da)](_0x2d30f0)?_0x49c451['of'](this[_0x482b15(0x3ca)][_0x482b15(0x47e)](_0x2d30f0)):this['_roomCreated$']['pipe'](_0xf159a2['map'](_0x12b633=>{var _0x26088e=_0x482b15;if(_0x12b633===_0x2d30f0)return this[_0x26088e(0x3ca)]['get'](_0x12b633);}));}[_0x4ef07c(0x4e7)](_0x4a481e){var _0x41188c=_0x4ef07c;this['_userManagerService'][_0x41188c(0x4e7)](_0x4a481e);}[_0x4ef07c(0x1fb)](){var _0x29d47d=_0x4ef07c;return this[_0x29d47d(0x53c)][_0x29d47d(0x1fb)]();}[_0x4ef07c(0x53a)](_0x2a2f63,_0x3ecf11){var _0x545555=_0x4ef07c;let _0x1c2dae=this['_roomMembers']['get'](_0x2a2f63);_0x1c2dae||(_0x1c2dae=new _0x3a9e2b(),this[_0x545555(0x3ca)][_0x545555(0x3bc)](_0x2a2f63,_0x1c2dae),this[_0x545555(0x54b)][_0x545555(0x534)](_0x2a2f63)),_0x1c2dae[_0x545555(0x53a)](_0x3ecf11);}[_0x4ef07c(0x3c3)](_0x5d2cbc,_0x446c0d){var _0x40b87e=_0x4ef07c;const _0x172002=this[_0x40b87e(0x3ca)][_0x40b87e(0x47e)](_0x5d2cbc);_0x172002&&_0x172002['removeMember'](_0x446c0d);}[_0x4ef07c(0x1cf)](_0x18b1a6){var _0x4ac015=_0x4ef07c;return this['_roomMembers'][_0x4ac015(0x47e)](_0x18b1a6);}[_0x4ef07c(0x282)](_0x535b0e,_0x34c549){var _0x50bcfa=_0x4ef07c;const _0x6517d7=this[_0x50bcfa(0x3ca)]['get'](_0x535b0e);if(_0x6517d7)return _0x6517d7['getMember'](_0x34c549);}[_0x4ef07c(0x2d1)](_0x4f0f6f){var _0x196104=_0x4ef07c;const _0x4c43dc=this[_0x196104(0x3ca)][_0x196104(0x47e)](_0x4f0f6f);_0x4c43dc&&(_0x4c43dc[_0x196104(0x35b)](),this[_0x196104(0x3ca)][_0x196104(0x45f)](_0x4f0f6f));}['dispose'](){var _0x445822=_0x4ef07c;this[_0x445822(0x3ca)][_0x445822(0x482)](_0x447c29=>_0x447c29[_0x445822(0x35b)]()),this[_0x445822(0x3ca)][_0x445822(0x479)](),this['_roomCreated$'][_0x445822(0x49e)]();}},_0x2c717a[_0x4ef07c(0x340)]=_0x579363([_0x4a58a4(0x0,_0x5a87f6[_0x4ef07c(0x32b)]),_0x4a58a4(0x1,_0x5a87f6['Inject'](_0x5a87f6['UserManagerService']))],_0x2c717a[_0x4ef07c(0x340)]);class _0x3a9e2b extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(){var _0x398414=_0x4ef07c;super(...arguments),_0x27ebba(this,'_members',new Map()),_0x27ebba(this,'_members$',new _0x49c451['BehaviorSubject'](this['_members'])),_0x27ebba(this,_0x398414(0x26a),this[_0x398414(0x2a6)]['asObservable']());}[_0x4ef07c(0x35b)](){var _0x4b9e3a=_0x4ef07c;this[_0x4b9e3a(0x293)][_0x4b9e3a(0x479)]();}['updateMember'](_0x34b2b7){var _0xebd72e=_0x4ef07c;this[_0xebd72e(0x293)][_0xebd72e(0x3bc)](_0x34b2b7[_0xebd72e(0x473)],_0x34b2b7),this['_emitMembers']();}[_0x4ef07c(0x3c3)](_0x4748cb){this['_members']['delete'](_0x4748cb);}['getMember'](_0x13e548){var _0x41531f=_0x4ef07c;return this[_0x41531f(0x293)][_0x41531f(0x47e)](_0x13e548);}[_0x4ef07c(0x338)](){var _0x503965=_0x4ef07c;return Array['from'](this[_0x503965(0x293)][_0x503965(0x4ce)]());}[_0x4ef07c(0x3bd)](){var _0x222aa1=_0x4ef07c;this[_0x222aa1(0x2a6)][_0x222aa1(0x534)](this['_members']);}}var _0x20cfdd=Object['getOwnPropertyDescriptor'],_0x26b22f=(_0x2f77eb,_0x5a7518,_0x314b47,_0x3685e7)=>{for(var _0x2f5dc0=_0x3685e7>0x1?void 0x0:_0x3685e7?_0x20cfdd(_0x5a7518,_0x314b47):_0x5a7518,_0x210b89=_0x2f77eb['length']-0x1,_0x2d7bfb;_0x210b89>=0x0;_0x210b89--)(_0x2d7bfb=_0x2f77eb[_0x210b89])&&(_0x2f5dc0=_0x2d7bfb(_0x2f5dc0)||_0x2f5dc0);return _0x2f5dc0;},_0x8d2cf5=(_0x1d1d0d,_0x4d67f6)=>(_0x4e0cea,_0x1fdbd3)=>_0x4d67f6(_0x4e0cea,_0x1fdbd3,_0x1d1d0d),_0x14cf5c=(_0x207c1e=>(_0x207c1e[_0x207c1e[_0x4ef07c(0x408)]=0x0]=_0x4ef07c(0x408),_0x207c1e[_0x207c1e[_0x4ef07c(0x440)]=0x1]='JOINING',_0x207c1e[_0x207c1e[_0x4ef07c(0x391)]=0x2]=_0x4ef07c(0x391),_0x207c1e[_0x207c1e['ONLINE']=0x3]=_0x4ef07c(0x2e2),_0x207c1e))(_0x14cf5c||{});const _0x38ead9={[_0x488bd0['FAIL']]:_0x4ef07c(0x2a5),[_0x488bd0[_0x4ef07c(0x1d6)]]:_0x4ef07c(0x3e9),[_0x488bd0[_0x4ef07c(0x3b1)]]:_0x4ef07c(0x553),[_0x488bd0['JOIN_ROOM_PERMISSION_DENIED']]:_0x4ef07c(0x4a3),[_0x488bd0[_0x4ef07c(0x2c9)]]:_0x4ef07c(0x24c)};_0x2c717a[_0x4ef07c(0x459)]=class extends _0x5a87f6[_0x4ef07c(0x244)]{constructor(_0x515f92,_0xf24fd7,_0x28cf73,_0x16223b,_0x390118,_0x5b7d3f,_0x30e1a3,_0x4e1070){var _0x3fd6fb=_0x4ef07c;super(),_0x27ebba(this,'_sessionStatus$',new _0x49c451[(_0x3fd6fb(0x32a))](0x0)),_0x27ebba(this,_0x3fd6fb(0x284),this[_0x3fd6fb(0x363)]['asObservable']()),_0x27ebba(this,_0x3fd6fb(0x339),new _0x49c451[(_0x3fd6fb(0x34d))]()),_0x27ebba(this,_0x3fd6fb(0x336),this[_0x3fd6fb(0x339)][_0x3fd6fb(0x245)]()),_0x27ebba(this,'_socket'),_0x27ebba(this,_0x3fd6fb(0x512)),_0x27ebba(this,'_collaborationTimeoutTimer'),_0x27ebba(this,'_shouldReportTelemetry',!0x1),_0x27ebba(this,_0x3fd6fb(0x236),null),(this[_0x3fd6fb(0x2e3)]=_0x515f92,this[_0x3fd6fb(0x1df)]=_0x28cf73,this[_0x3fd6fb(0x238)]=_0x16223b,this['_memberService']=_0x390118,this[_0x3fd6fb(0x4fd)]=_0x5b7d3f,this[_0x3fd6fb(0x333)]=_0x30e1a3,this[_0x3fd6fb(0x223)]=_0x4e1070,this[_0x3fd6fb(0x37b)]=!!this[_0x3fd6fb(0x223)],_0xf24fd7['pipe'](_0x49c451[_0x3fd6fb(0x361)](this['dispose$']))[_0x3fd6fb(0x2ce)](_0x379bf4=>{var _0x404829=_0x3fd6fb,_0x4845a4;typeof _0x379bf4>'u'||(this['_socket']=_0x379bf4,_0x379bf4?(this['_joinRoom'](_0x379bf4),this[_0x404829(0x512)]=_0x379bf4['message$'][_0x404829(0x2ce)](_0x3070f4=>{var _0x374398=_0x404829;_0x3070f4['routeKey']===this[_0x374398(0x2e3)]&&this[_0x374398(0x43b)](_0x3070f4);})):(this[_0x404829(0x2da)](),this[_0x404829(0x363)][_0x404829(0x534)](0x2),(_0x4845a4=this[_0x404829(0x512)])==null||_0x4845a4[_0x404829(0x22b)](),this['_socketMessageSubscription']=null));}));}get[_0x4ef07c(0x20d)](){var _0x520b6c=_0x4ef07c;return this[_0x520b6c(0x363)][_0x520b6c(0x3ed)]();}['getMemberID'](){var _0x572a31=_0x4ef07c,_0x1c3f02,_0x5dd1e0;return(_0x5dd1e0=(_0x1c3f02=this[_0x572a31(0x1fe)])==null?void 0x0:_0x1c3f02[_0x572a31(0x473)])!=null?_0x5dd1e0:null;}['dispose'](){var _0x255046=_0x4ef07c;super['dispose'](),this['dispose$'][_0x255046(0x534)](),this['dispose$']['complete']();}[_0x4ef07c(0x3dc)](){var _0x241ba5=_0x4ef07c,_0x50d2c4,_0x5e9576;this[_0x241ba5(0x2da)](),(_0x50d2c4=this[_0x241ba5(0x1fe)])==null||_0x50d2c4[_0x241ba5(0x26e)]({'cmd':_0x529cbe['LEAVE'],'data':{'roomID':this[_0x241ba5(0x2e3)]}}),(_0x5e9576=this[_0x241ba5(0x1fe)])==null||_0x5e9576['close'](),this[_0x241ba5(0x339)][_0x241ba5(0x49e)](),this[_0x241ba5(0x363)]['complete'](),this[_0x241ba5(0x35b)]();}[_0x4ef07c(0x43b)](_0x43b07d){var _0x12b79b=_0x4ef07c;_0x43b07d['cmd']===_0x529cbe['JOIN']?this['_onJoinRoomEvent'](_0x43b07d):_0x43b07d['cmd']===_0x529cbe['RECV']&&this[_0x12b79b(0x267)](_0x43b07d);}[_0x4ef07c(0x1fc)](_0x5d95d4){var _0x2d54e1=_0x4ef07c;this[_0x2d54e1(0x363)]['next'](0x1),_0x5d95d4['send']({'cmd':_0x529cbe[_0x2d54e1(0x1dd)],'routeKey':this[_0x2d54e1(0x2e3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2d54e1(0x2e3)]}]}});}['_onJoinRoomEvent'](_0x23efa0){var _0x4ce5d7=_0x4ef07c,_0x4ac154;if(_0x23efa0[_0x4ce5d7(0x3ce)]in _0x38ead9){this['_collaborationUIEventService'][_0x4ce5d7(0x446)]({'id':_0x28846f[_0x4ce5d7(0x419)],'data':_0x38ead9[_0x23efa0['code']]}),this[_0x4ce5d7(0x363)]['next'](0x2);return;}this[_0x4ce5d7(0x363)][_0x4ce5d7(0x534)](0x3);const _0x17b867=(_0x4ac154=_0x23efa0[_0x4ce5d7(0x511)][_0x4ce5d7(0x1e7)][this['_unitID']])==null?void 0x0:_0x4ac154[_0x4ce5d7(0x29b)];_0x17b867&&_0x17b867[_0x4ce5d7(0x482)](_0x4669f8=>this[_0x4ce5d7(0x206)][_0x4ce5d7(0x53a)](this['_unitID'],_0x4669f8));}[_0x4ef07c(0x267)](_0x5584ae){var _0x343713=_0x4ef07c;try{const _0x124bd5=_0x5584ae[_0x343713(0x511)];switch(_0x124bd5[_0x343713(0x3f7)]){case _0x9d3528[_0x343713(0x328)][_0x343713(0x25e)]:this[_0x343713(0x34a)](_0x124bd5),this[_0x343713(0x339)]['next'](_0x124bd5);break;case _0x9d3528[_0x343713(0x328)][_0x343713(0x388)]:this[_0x343713(0x551)](_0x124bd5),this[_0x343713(0x339)][_0x343713(0x534)](_0x124bd5);break;case _0x9d3528[_0x343713(0x328)][_0x343713(0x258)]:case _0x9d3528[_0x343713(0x328)]['CHANGESET_SHOULD_RETRY']:this[_0x343713(0x1dc)](),this[_0x343713(0x461)](),this['_event$'][_0x343713(0x534)](_0x124bd5);break;case _0x9d3528[_0x343713(0x328)][_0x343713(0x303)]:this['_logService'][_0x343713(0x456)](_0x343713(0x48c)+JSON[_0x343713(0x49b)](_0x124bd5)),this[_0x343713(0x339)][_0x343713(0x534)](_0x124bd5);break;case _0x9d3528[_0x343713(0x328)]['COMMENT_UPDATE']:this[_0x343713(0x4fd)][_0x343713(0x214)](_0x124bd5['data']),this[_0x343713(0x339)]['next'](_0x124bd5);break;default:this[_0x343713(0x339)][_0x343713(0x534)](_0x124bd5);}}catch(_0x280ff6){this[_0x343713(0x1df)][_0x343713(0x456)](_0x280ff6,_0x5584ae);}}[_0x4ef07c(0x34a)](_0x3ecdd0){var _0x1d95a8=_0x4ef07c;this[_0x1d95a8(0x206)]['updateMember'](this[_0x1d95a8(0x2e3)],_0x3ecdd0[_0x1d95a8(0x511)]);}[_0x4ef07c(0x551)](_0x591132){var _0xdedddf=_0x4ef07c;this['_memberService']['removeMember'](this[_0xdedddf(0x2e3)],_0x591132[_0xdedddf(0x511)][_0xdedddf(0x473)]);}async[_0x4ef07c(0x26e)](_0x376580,_0x5585ce){var _0x3de0c7=_0x4ef07c;if(this['sessionStatus']!==0x3||!this[_0x3de0c7(0x1fe)])throw new Error(_0x3de0c7(0x3ae));try{_0x376580[_0x3de0c7(0x3f7)]===_0x9d3528['CollaborationEvent'][_0x3de0c7(0x543)]&&(this[_0x3de0c7(0x273)](),this[_0x3de0c7(0x1e6)](_0x376580)),this['_socket'][_0x3de0c7(0x26e)]({'cmd':_0x529cbe[_0x3de0c7(0x2f8)],'routeKey':_0x5585ce,'routeType':'','data':_0x376580});}catch(_0x2250b1){this[_0x3de0c7(0x1df)]['error'](_0x2250b1);}}['_scheduleCollaborationTimeoutTimer'](){var _0x51ba5d=_0x4ef07c,_0x32bad4;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x91284e=_0x4d6f;this[_0x91284e(0x507)]=null,this[_0x91284e(0x333)]['emitEvent']({'id':_0x28846f[_0x91284e(0x250)]});},(_0x32bad4=this[_0x51ba5d(0x238)]['getConfig'](_0x2c4727))!=null?_0x32bad4:0x4e20);}[_0x4ef07c(0x461)](){var _0x21cf75=_0x4ef07c;this[_0x21cf75(0x507)]&&(clearTimeout(this[_0x21cf75(0x507)]),this[_0x21cf75(0x507)]=null);}[_0x4ef07c(0x1e6)](_0x51d5f5){var _0x3071e6=_0x4ef07c;if(!this[_0x3071e6(0x37b)])return;const {data:_0x3e6f83}=_0x51d5f5,{unitID:_0x3f5bc4,changeset:_0x3fd09d}=_0x3e6f83,{mutations:_0x12ed6f,type:_0x4d26c1}=_0x3fd09d;this['_telemetryInfo']={'unitId':_0x3f5bc4,'type':_0x4d26c1,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x21a9ab(_0x12ed6f)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x51c23f=_0x4ef07c;if(this[_0x51c23f(0x37b)]){if(!this[_0x51c23f(0x236)]){this[_0x51c23f(0x1df)][_0x51c23f(0x456)]('[CollaborationSession]',_0x51c23f(0x27b));return;}this['_telemetryInfo'][_0x51c23f(0x2ab)]=performance[_0x51c23f(0x52d)](),this[_0x51c23f(0x236)][_0x51c23f(0x2cc)]=this[_0x51c23f(0x236)][_0x51c23f(0x2ab)]-this['_telemetryInfo'][_0x51c23f(0x252)],this['_telemetryService'][_0x51c23f(0x254)](_0x5739b1,this[_0x51c23f(0x236)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x342d47=_0x4ef07c;this[_0x342d47(0x236)]=null;}},_0x2c717a[_0x4ef07c(0x459)]=_0x26b22f([_0x8d2cf5(0x2,_0x5a87f6[_0x4ef07c(0x546)]),_0x8d2cf5(0x3,_0x5a87f6['IConfigService']),_0x8d2cf5(0x4,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a[_0x4ef07c(0x340)])),_0x8d2cf5(0x5,_0x5a87f6[_0x4ef07c(0x2f6)](_0x46eb06)),_0x8d2cf5(0x6,_0x5a87f6['Inject'](_0x596edb)),_0x8d2cf5(0x7,_0x5a87f6[_0x4ef07c(0x2fb)](_0x2518fe['ITelemetryService']))],_0x2c717a[_0x4ef07c(0x459)]);const _0x11ccb1=_0x5a87f6[_0x4ef07c(0x2f7)](_0x4ef07c(0x4cb));function _0x11afa6(_0x341960){var _0x4967f9=_0x4ef07c;return _0x4967f9(0x305)+_0x341960;}var _0x3384b4=Object[_0x4ef07c(0x4b2)],_0x38f562=(_0x5469dd,_0x4e9e9e,_0x2f6cb3,_0xd5084e)=>{var _0x38b940=_0x4ef07c;for(var _0x5ef401=_0xd5084e>0x1?void 0x0:_0xd5084e?_0x3384b4(_0x4e9e9e,_0x2f6cb3):_0x4e9e9e,_0x467410=_0x5469dd[_0x38b940(0x3aa)]-0x1,_0x628f0c;_0x467410>=0x0;_0x467410--)(_0x628f0c=_0x5469dd[_0x467410])&&(_0x5ef401=_0x628f0c(_0x5ef401)||_0x5ef401);return _0x5ef401;},_0x184fa5=(_0x2682ee,_0x5a3848)=>(_0x27e913,_0x3c6c20)=>_0x5a3848(_0x27e913,_0x3c6c20,_0x2682ee);function _0xea93f0(_0x575db1){var _0x3c36f6=_0x4ef07c;const {unitID:_0x5c14b9,mutations:_0x2e8b04}=_0x575db1;return{'unitId':_0x5c14b9,'subUnitId':_0x2e8b04['length']>0x0?_0x2e8b04[0x0][_0x3c36f6(0x308)][_0x3c36f6(0x235)]:null};}_0x2c717a[_0x4ef07c(0x483)]=class{constructor(_0x8853a2,_0x23eb35,_0x474069){var _0x288e3e=_0x4ef07c;this['_injector']=_0x8853a2,this[_0x288e3e(0x4d6)]=_0x23eb35,this[_0x288e3e(0x42f)]=_0x474069;}[_0x4ef07c(0x208)](_0x36956d){var _0x47551d=_0x4ef07c,_0x58263e,_0x1d19fa,_0x1b1c7a,_0x5dbecb;const _0x2d8b90=this[_0x47551d(0x3b3)]['get'](_0x2dec7c[_0x47551d(0x360)]),{unitId:_0xc54919,subUnitId:_0x2ff688}=_0xea93f0(_0x36956d),_0x219f7c=_0x2d8b90==null?void 0x0:_0x2d8b90['getWorkbookSelections'](_0xc54919)[_0x47551d(0x424)](),_0x389c0c=(_0x1d19fa=(_0x58263e=this[_0x47551d(0x42f)][_0x47551d(0x55a)](_0xc54919))==null?void 0x0:_0x58263e[_0x47551d(0x31f)]())==null?void 0x0:_0x1d19fa[_0x47551d(0x468)]();if(_0x219f7c[_0x47551d(0x3aa)]===0x0||!_0xc54919||!_0x2ff688)return;const _0xd46a06=[{'id':_0x2dec7c[_0x47551d(0x257)]['id'],'params':{'unitId':_0xc54919,'subUnitId':_0x389c0c,'selections':_0x5a87f6[_0x47551d(0x248)][_0x47551d(0x311)](_0x219f7c)}}],_0x59f520=this[_0x47551d(0x4d6)]['transformMutationsWithChangeset'](_0x36956d,_0xd46a06);if(!_0x9d3528[_0x47551d(0x364)](_0x59f520))throw _0x59f520[_0x47551d(0x456)];const _0x2e0e7c=(_0x5dbecb=(_0x1b1c7a=_0x59f520[_0x47551d(0x2d8)][0x0])==null?void 0x0:_0x1b1c7a[_0x47551d(0x308)])==null?void 0x0:_0x5dbecb[_0x47551d(0x427)];if(Array[_0x47551d(0x40e)](_0x2e0e7c)&&_0x2e0e7c[_0x47551d(0x3aa)]){if(_0x2e0e7c[_0x47551d(0x3aa)]===_0xd46a06[0x0][_0x47551d(0x308)][_0x47551d(0x427)][_0x47551d(0x3aa)]&&_0x2e0e7c['every']((_0x4c58b7,_0x23aab8)=>_0x5a87f6[_0x47551d(0x23b)]['equals'](_0x4c58b7['range'],_0xd46a06[0x0][_0x47551d(0x308)][_0x47551d(0x427)][_0x23aab8][_0x47551d(0x417)])))return;this[_0x47551d(0x3b3)][_0x47551d(0x47e)](_0x5a87f6['ICommandService'])['executeCommand'](_0x2dec7c[_0x47551d(0x257)]['id'],{'unitId':_0xc54919,'subUnitId':_0x389c0c,'selections':_0x2e0e7c});}}},_0x2c717a[_0x4ef07c(0x483)]=_0x38f562([_0x184fa5(0x0,_0x5a87f6['Inject'](_0x5a87f6['Injector'])),_0x184fa5(0x1,_0x9d3528[_0x4ef07c(0x2b6)]),_0x184fa5(0x2,_0x5a87f6[_0x4ef07c(0x32b)])],_0x2c717a['SheetTransformSelectionsService']);const _0x53cb33=_0x5a87f6[_0x4ef07c(0x2f7)](_0x4ef07c(0x27e));var _0x11b621=(_0x3391ce=>(_0x3391ce[_0x3391ce[_0x4ef07c(0x52f)]=0x0]=_0x4ef07c(0x52f),_0x3391ce[_0x3391ce[_0x4ef07c(0x3fb)]=0x1]=_0x4ef07c(0x3fb),_0x3391ce))(_0x11b621||{});const _0x50bbc4='collaboration-client.config',_0x5a3a37={};function _0x7faaaa(_0x5a15a0){var _0x3cc35f=_0x4ef07c,_0x400e47;return!!((_0x400e47=_0x5a15a0[_0x3cc35f(0x308)])!=null&&_0x400e47[_0x3cc35f(0x54e)]);}const _0x5e7697=new Set([_0x2dec7c['InsertSheetMutation']['id']]);function _0x2064b5(_0x244c1c,_0x5535bb,_0x24f875,_0x56bdcd,_0x1928f2){var _0xb59aba=_0x4ef07c,_0xd6e71d,_0x2150aa,_0xd9d92f,_0x30f644;const _0x4a8e08=[];for(const _0x225b64 of _0x244c1c){if(_0x5e7697[_0xb59aba(0x4da)](_0x225b64['id'])){if(_0x4a8e08['length']>0x0)break;_0x4a8e08['push'](_0x225b64);break;}if(_0x7faaaa(_0x225b64)){if(_0x4a8e08[_0xb59aba(0x3aa)]>0x0)break;_0x4a8e08[_0xb59aba(0x306)](_0x225b64);break;}_0x4a8e08[_0xb59aba(0x306)](_0x225b64);}const _0x19166c=(_0x2150aa=(_0xd6e71d=_0x1928f2[_0xb59aba(0x1fb)]())==null?void 0x0:_0xd6e71d['userID'])!=null?_0x2150aa:_0xb59aba(0x491),_0x1191eb=(_0x30f644=(_0xd9d92f=_0x1928f2[_0xb59aba(0x1fb)]())==null?void 0x0:_0xd9d92f[_0xb59aba(0x473)])!=null?_0x30f644:_0xb59aba(0x491);return{'changeset':{'unitID':_0x5535bb,'type':_0x9d3528[_0xb59aba(0x52b)](_0x24f875[_0xb59aba(0x3e4)](_0x5535bb)),'baseRev':_0x56bdcd['getCurrentRevOfUnit'](_0x5535bb),'revision':0x0,'userID':_0x19166c,'memberID':_0x1191eb,'mutations':_0x4a8e08},'pendingMutations':_0x244c1c[_0xb59aba(0x34b)](_0x4a8e08['length'])};}function _0x2858ca(_0x5dc581,_0x492bb2,_0x502851,_0x53746c,_0x42a519){var _0x377937=_0x4ef07c,_0x21895f,_0xdd4f61,_0x17b9ea,_0x1eeee5;const _0x169b55=[_0x5dc581[_0x377937(0x2f3)]((_0x266a07,_0x1ac2c3)=>{var _0x534e4e=_0x377937,_0x347488;const {id:_0x553efd}=_0x266a07,{id:_0x5cb72a,type:_0x7fad65}=_0x1ac2c3,_0x468022=(_0x347488=_0x266a07[_0x534e4e(0x308)])!=null?_0x347488:{'actions':null},_0x4c1cc9=_0x1ac2c3['params'];if(_0x553efd&&_0x553efd!==_0x5cb72a)throw new Error(_0x534e4e(0x510)+_0x553efd+_0x534e4e(0x2e0)+_0x5cb72a+'.');return{..._0x266a07,'id':_0x5cb72a,'type':_0x7fad65,'params':{'unitId':_0x4c1cc9[_0x534e4e(0x3e0)],'textRanges':_0x4c1cc9[_0x534e4e(0x4d1)],'actions':_0x5a87f6[_0x534e4e(0x2f9)][_0x534e4e(0x23a)](_0x468022[_0x534e4e(0x4dc)],_0x4c1cc9[_0x534e4e(0x4dc)])}};},{})],_0x167e11=(_0xdd4f61=(_0x21895f=_0x42a519[_0x377937(0x1fb)]())==null?void 0x0:_0x21895f[_0x377937(0x490)])!=null?_0xdd4f61:'unknown',_0x49367c=(_0x1eeee5=(_0x17b9ea=_0x42a519[_0x377937(0x1fb)]())==null?void 0x0:_0x17b9ea['memberID'])!=null?_0x1eeee5:_0x377937(0x491);return{'changeset':{'unitID':_0x492bb2,'type':_0x9d3528[_0x377937(0x52b)](_0x502851[_0x377937(0x3e4)](_0x492bb2)),'baseRev':_0x53746c[_0x377937(0x526)](_0x492bb2),'revision':0x0,'userID':_0x167e11,'memberID':_0x49367c,'mutations':_0x169b55},'pendingMutations':[]};}function _0x260427(_0x579418,_0x565ad6){var _0x2a0c42=_0x4ef07c;const _0x1e7b14=new _0x49c451[(_0x2a0c42(0x381))](0x1);return setTimeout(()=>_0x1e7b14['next'](_0x565ad6),_0x579418),_0x1e7b14[_0x2a0c42(0x245)]()['pipe'](_0x49c451[_0x2a0c42(0x1cb)](0x1));}var _0x66d30f=Object[_0x4ef07c(0x4b2)],_0x1b743b=(_0x8c705f,_0x2be0fb,_0x4ec8b8,_0xe7becb)=>{var _0x13e8cd=_0x4ef07c;for(var _0x27efa3=_0xe7becb>0x1?void 0x0:_0xe7becb?_0x66d30f(_0x2be0fb,_0x4ec8b8):_0x2be0fb,_0x3f164d=_0x8c705f[_0x13e8cd(0x3aa)]-0x1,_0x209236;_0x3f164d>=0x0;_0x3f164d--)(_0x209236=_0x8c705f[_0x3f164d])&&(_0x27efa3=_0x209236(_0x27efa3)||_0x27efa3);return _0x27efa3;},_0x2ed7f1=(_0x47ac24,_0x603494)=>(_0x102dab,_0x37b759)=>_0x603494(_0x102dab,_0x37b759,_0x47ac24),_0x12c0ef=(_0x3e892d=>(_0x3e892d['NOT_COLLAB']=_0x4ef07c(0x398),_0x3e892d['SYNCED']='synced',_0x3e892d[_0x4ef07c(0x3f5)]=_0x4ef07c(0x209),_0x3e892d[_0x4ef07c(0x280)]=_0x4ef07c(0x3b9),_0x3e892d[_0x4ef07c(0x1d7)]='awaiting_with_pending',_0x3e892d[_0x4ef07c(0x35e)]=_0x4ef07c(0x433),_0x3e892d['CONFLICT']='conflict',_0x3e892d['OFFLINE']='offline',_0x3e892d))(_0x12c0ef||{});const _0x377f2d=0x4e20,_0x152f5d=0x2bf20;class _0x4f4aaa{constructor(_0x326184,_0x1395e1,_0x48c282,_0x5a58b4,_0x4503a5,_0x1fdf84,_0x2a2b32,_0x43af01,_0x291235){var _0x362be4=_0x4ef07c;_0x27ebba(this,_0x362be4(0x48a),null),_0x27ebba(this,'_pendingMutations',[]),(this[_0x362be4(0x3f1)]=_0x326184,this['type']=_0x1395e1,this[_0x362be4(0x1e2)]=_0x4503a5,this[_0x362be4(0x2e6)]=_0x1fdf84,this['_undoRedoService']=_0x2a2b32,this['_revisionService']=_0x43af01,this[_0x362be4(0x4d9)]=_0x291235,this['_awaitingChangeset']=_0x48c282,this['_pendingMutations']=_0x5a58b4);}[_0x4ef07c(0x203)](_0x139707){var _0xb316e3=_0x4ef07c;const _0x5d45df=this[_0xb316e3(0x458)][_0xb316e3(0x526)](this[_0xb316e3(0x3f1)]);return _0x139707[_0xb316e3(0x3c2)]>_0x5d45df+0x1?(this[_0xb316e3(0x1e2)]['onMissingChangesets']({'from':_0x5d45df,'to':_0x139707[_0xb316e3(0x3c2)]-0x1}),!0x0):!0x1;}[_0x4ef07c(0x241)](_0x5f93bc){var _0x2909d3=_0x4ef07c;this[_0x2909d3(0x265)][_0x2909d3(0x4e4)](this[_0x2909d3(0x3f1)],_0x5f93bc);}[_0x4ef07c(0x3a2)](_0x5a8019){var _0x457280=_0x4ef07c,_0xb3417c,_0x986be6;(_0x986be6=(_0xb3417c=this['_handler'])[_0x457280(0x2f0)])==null||_0x986be6[_0x457280(0x24b)](_0xb3417c,_0x5a8019);}[_0x4ef07c(0x32c)](_0x230b8a){var _0x2a5fa9=_0x4ef07c,_0x56f8a6,_0x536ecd;return(_0x536ecd=(_0x56f8a6=this[_0x2a5fa9(0x1e2)])[_0x2a5fa9(0x497)])==null?void 0x0:_0x536ecd[_0x2a5fa9(0x24b)](_0x56f8a6,_0x230b8a);}[_0x4ef07c(0x1d8)](_0xdaa4c){var _0x3c00a0=_0x4ef07c,_0x23ae84,_0x57c73d;return(_0x57c73d=(_0x23ae84=this['_handler'])[_0x3c00a0(0x3df)])==null?void 0x0:_0x57c73d['call'](_0x23ae84,_0xdaa4c);}[_0x4ef07c(0x387)](_0x5eaf18){var _0x11a516=_0x4ef07c,_0x203bbd,_0x373aad,_0x453934;return(_0x453934=(_0x373aad=(_0x203bbd=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x373aad[_0x11a516(0x24b)](_0x203bbd,_0x5eaf18))!=null?_0x453934:_0x5eaf18;}[_0x4ef07c(0x27c)](_0x37a89c){var _0x49322c=_0x4ef07c,_0x171db8,_0x1644d4,_0x4a4d07;return(_0x4a4d07=(_0x1644d4=(_0x171db8=this[_0x49322c(0x1e2)])[_0x49322c(0x561)])==null?void 0x0:_0x1644d4['call'](_0x171db8,_0x37a89c))!=null?_0x4a4d07:_0x37a89c;}['_syncEditingCollabCursor'](_0x2ca8fd){var _0x10b749=_0x4ef07c,_0x1d86ef,_0x8e8b43;if(this[_0x10b749(0x527)]===_0x1ac378[_0x10b749(0x41f)]){const {unitID:_0x31cc80,mutations:_0x54b185,memberID:_0x3db23d}=_0x2ca8fd,_0x276e8e=_0x54b185[_0x10b749(0x3aa)]>0x0?_0x54b185[0x0]['params'][_0x10b749(0x4d1)]:[];Array[_0x10b749(0x40e)](_0x276e8e)&&_0x276e8e[_0x10b749(0x3aa)]>0x0&&((_0x8e8b43=(_0x1d86ef=this[_0x10b749(0x1e2)])[_0x10b749(0x3c0)])==null||_0x8e8b43[_0x10b749(0x24b)](_0x1d86ef,{'unitID':_0x31cc80,'memberID':_0x3db23d,'textRanges':_0x276e8e}));}}[_0x4ef07c(0x474)](){var _0x4168ba=_0x4ef07c,_0xa478f0;(_0xa478f0=this[_0x4168ba(0x4d9)])==null||_0xa478f0[_0x4168ba(0x4c6)](this[_0x4168ba(0x3f1)],this[_0x4168ba(0x527)],this['_awaitingChangeset'],this[_0x4168ba(0x486)]);}['_getCurrentRevision'](){var _0x3dde2f=_0x4ef07c;return this[_0x3dde2f(0x458)][_0x3dde2f(0x526)](this[_0x3dde2f(0x3f1)]);}[_0x4ef07c(0x4f5)](){var _0x3fd002=_0x4ef07c;this[_0x3fd002(0x458)][_0x3fd002(0x3be)](this[_0x3fd002(0x3f1)]);}['_executeRemoteChangeset'](_0x47d632){var _0x279558=_0x4ef07c,_0x25b0a6;let _0x4ac9f4=this[_0x279558(0x387)](_0x47d632);_0x4ac9f4=this[_0x279558(0x27c)](_0x4ac9f4);const _0x2431d7=_0x5a87f6[_0x279558(0x4eb)](_0x4ac9f4[_0x279558(0x519)],this[_0x279558(0x2e6)],{'fromCollab':!0x0});if(!_0x2431d7[_0x279558(0x1f0)])throw _0x2431d7[_0x279558(0x456)]instanceof Error?_0x2431d7['error']:new Error((_0x25b0a6=_0x2431d7[_0x279558(0x456)])!=null?_0x25b0a6:_0x279558(0x478));this[_0x279558(0x32c)](_0x4ac9f4),this[_0x279558(0x1d8)](_0x4ac9f4),this[_0x279558(0x241)](_0x47d632),this['_transformSelections'](_0x4ac9f4),this['_syncEditingCollabCursor'](_0x4ac9f4),this[_0x279558(0x4f5)]();}}_0x2c717a[_0x4ef07c(0x51c)]=class extends _0x4f4aaa{constructor(_0x485b60,_0x1a6861,_0x4fe247,_0x296f3c,_0x2ee2a3,_0x259bff,_0x10797f,_0xb51c1d,_0x18e4a7,_0x58024c){var _0x33599d=_0x4ef07c;super(_0x485b60,_0x1a6861,null,[],_0x4fe247,_0x10797f,_0x259bff,_0x296f3c,_0x58024c),_0x27ebba(this,'status',_0x33599d(0x380)),(this['_injector']=_0x2ee2a3,this[_0x33599d(0x1df)]=_0xb51c1d,this['_transformService']=_0x18e4a7,this[_0x33599d(0x332)]=_0x58024c);}[_0x4ef07c(0x2e8)](_0x26bb3f){var _0x11dc76=_0x4ef07c;const _0x151feb=this[_0x11dc76(0x3b3)][_0x11dc76(0x3cd)](_0x2c717a[_0x11dc76(0x43c)],this[_0x11dc76(0x3f1)],this[_0x11dc76(0x527)],[_0x26bb3f],this['_handler']);return _0x151feb['_schedule'](),_0x151feb[_0x11dc76(0x474)](),_0x151feb;}[_0x4ef07c(0x36b)](_0x242e3b){var _0x232fcc=_0x4ef07c;if(this[_0x232fcc(0x203)](_0x242e3b))return this[_0x232fcc(0x3b3)][_0x232fcc(0x3cd)](_0x2c717a[_0x232fcc(0x27a)],this[_0x232fcc(0x3f1)],this[_0x232fcc(0x527)],null,[],null,[_0x242e3b],this[_0x232fcc(0x1e2)]);try{const _0x28b157=this[_0x232fcc(0x4d6)]['transformMutationsWithChangeset'](_0x242e3b,[_0x9d3528[_0x232fcc(0x40f)]]);if(_0x9d3528[_0x232fcc(0x364)](_0x28b157)){const {c1Prime:_0x4a257e}=_0x28b157;return this[_0x232fcc(0x518)](_0x4a257e),this;}throw _0x28b157[_0x232fcc(0x456)];}catch(_0x4663bd){return this[_0x232fcc(0x1df)][_0x232fcc(0x456)](_0x4663bd),this[_0x232fcc(0x34c)](!0x1);}}['_onConflict'](_0x12443e){var _0x119342=_0x4ef07c;return this[_0x119342(0x3b3)]['createInstance'](_0x2c717a[_0x119342(0x312)],this[_0x119342(0x3f1)],this[_0x119342(0x527)],null,[],this['_handler'],_0x12443e);}[_0x4ef07c(0x26c)](){var _0x9075c8=_0x4ef07c;throw new Error(_0x9075c8(0x2c1));}['onRemoteRej'](){var _0x597c64=_0x4ef07c;throw new Error(_0x597c64(0x454));}[_0x4ef07c(0x2c3)](){return this;}['toggleOffline'](){var _0x3f0186=_0x4ef07c;return this[_0x3f0186(0x3b3)]['createInstance'](_0x2c717a[_0x3f0186(0x347)],this['unitID'],this['type'],null,[],this[_0x3f0186(0x1e2)]);}[_0x4ef07c(0x3af)](){return this;}['resend'](){var _0x41a7a8=_0x4ef07c;throw new Error(_0x41a7a8(0x3d3));}[_0x4ef07c(0x426)](){var _0x5cc425=_0x4ef07c;const _0x558d37=this[_0x5cc425(0x458)][_0x5cc425(0x526)](this[_0x5cc425(0x3f1)]);return this[_0x5cc425(0x1e2)][_0x5cc425(0x47c)]({'from':_0x558d37,'to':0x0}),this[_0x5cc425(0x3b3)][_0x5cc425(0x3cd)](_0x2c717a[_0x5cc425(0x27a)],this[_0x5cc425(0x3f1)],this['type'],null,[],null,[],this['_handler']);}},_0x2c717a[_0x4ef07c(0x51c)]=_0x1b743b([_0x2ed7f1(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x4,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x5,_0x5a87f6['IUndoRedoService']),_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x217)]),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0x8,_0x9d3528['ITransformService']),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x51c)]),_0x2c717a[_0x4ef07c(0x43c)]=class extends _0x4f4aaa{constructor(_0x3cd5aa,_0x48eb6e,_0x53e06a,_0x1c6bb1,_0x2e222b,_0x4b7cad,_0x275153,_0x35b16a,_0x568974,_0x249f48,_0x2eac68,_0x269b21,_0xb2437d,_0x56a1b4){var _0x24c481=_0x4ef07c;super(_0x3cd5aa,_0x48eb6e,null,_0x53e06a,_0x1c6bb1,_0x568974,_0xb2437d,_0x4b7cad,_0x56a1b4),_0x27ebba(this,_0x24c481(0x45c),'pending'),_0x27ebba(this,_0x24c481(0x393),null),_0x27ebba(this,'_sendingTimer',null),(this[_0x24c481(0x3b3)]=_0x2e222b,this[_0x24c481(0x206)]=_0x275153,this[_0x24c481(0x1df)]=_0x35b16a,this['_configService']=_0x249f48,this[_0x24c481(0x4d6)]=_0x2eac68,this[_0x24c481(0x25a)]=_0x269b21);}['appendMutation'](_0x10dfcd){var _0x324991=_0x4ef07c;return this[_0x324991(0x486)][_0x324991(0x306)](_0x10dfcd),this['_updateLocalCache'](),this;}[_0x4ef07c(0x36b)](_0x333799){var _0xfbfd4e=_0x4ef07c;if(this[_0xfbfd4e(0x203)](_0x333799))return this[_0xfbfd4e(0x3db)](),this[_0xfbfd4e(0x3b3)][_0xfbfd4e(0x3cd)](_0x2c717a[_0xfbfd4e(0x27a)],this[_0xfbfd4e(0x3f1)],this[_0xfbfd4e(0x527)],null,this[_0xfbfd4e(0x486)],null,[_0x333799],this[_0xfbfd4e(0x1e2)]);try{const _0x58e6af=this[_0xfbfd4e(0x4d6)][_0xfbfd4e(0x4cd)](_0x333799,this[_0xfbfd4e(0x486)]);if(_0x9d3528[_0xfbfd4e(0x364)](_0x58e6af)){const {c1Prime:_0xcbc1d8,m2Prime:_0x347c0e}=_0x58e6af;this[_0xfbfd4e(0x518)](_0xcbc1d8);const _0x53f956=this[_0xfbfd4e(0x3b3)]['createInstance'](_0x2c717a[_0xfbfd4e(0x43c)],this[_0xfbfd4e(0x3f1)],this[_0xfbfd4e(0x527)],_0x347c0e,this['_handler']);this[_0xfbfd4e(0x3db)]();const _0x35712c=new Date()[_0xfbfd4e(0x1f4)](),_0x31e3a2=this['_scheduleCompleteTimestamp']?Math[_0xfbfd4e(0x394)](this[_0xfbfd4e(0x393)]-_0x35712c,0x0):this['_getSendChangesetTimeout']();return _0x53f956['_schedule'](_0x31e3a2),_0x53f956;}throw _0x58e6af['error'];}catch(_0xaff6f5){return this['_logService'][_0xfbfd4e(0x456)](_0xaff6f5),this[_0xfbfd4e(0x34c)](!0x1);}}[_0x4ef07c(0x26c)](){var _0x5deefd=_0x4ef07c;throw new Error(_0x5deefd(0x500));}['onRemoteRej'](){var _0xea059e=_0x4ef07c;throw new Error(_0xea059e(0x421));}[_0x4ef07c(0x2c3)](){return this;}[_0x4ef07c(0x544)](){var _0x1834c1=_0x4ef07c;return this[_0x1834c1(0x3db)](),this['_injector'][_0x1834c1(0x3cd)](_0x2c717a[_0x1834c1(0x347)],this['unitID'],this[_0x1834c1(0x527)],null,this[_0x1834c1(0x486)],this[_0x1834c1(0x1e2)]);}['toggleOnline'](){return this;}[_0x4ef07c(0x264)](_0x3d1bc7){var _0x4c816b=_0x4ef07c;const _0x152516=_0x3d1bc7!=null?_0x3d1bc7:this[_0x4c816b(0x453)]();this[_0x4c816b(0x393)]=new Date()[_0x4c816b(0x1f4)]()+_0x152516,this['_sendingTimer']=setTimeout(()=>{var _0x54cce2=_0x4c816b;this[_0x54cce2(0x3db)]();let _0x178095=null;switch(this['type']){case _0x1ac378[_0x54cce2(0x2be)]:{_0x178095=_0x2064b5(this[_0x54cce2(0x486)],this[_0x54cce2(0x3f1)],this['_univerInstanceService'],this[_0x54cce2(0x458)],this[_0x54cce2(0x206)]);break;}case _0x1ac378[_0x54cce2(0x41f)]:{this['_pendingMutations'][_0x54cce2(0x472)](_0x54efc5=>_0x54efc5['id']===_0x48d960[_0x54cce2(0x410)]['id'])?_0x178095=_0x2858ca(this['_pendingMutations'],this[_0x54cce2(0x3f1)],this[_0x54cce2(0x25a)],this[_0x54cce2(0x458)],this[_0x54cce2(0x206)]):_0x178095=_0x2064b5(this[_0x54cce2(0x486)],this[_0x54cce2(0x3f1)],this[_0x54cce2(0x25a)],this[_0x54cce2(0x458)],this[_0x54cce2(0x206)]);break;}default:throw new Error(_0x54cce2(0x4ad)+this[_0x54cce2(0x527)]+_0x54cce2(0x2d3));}const {changeset:_0x2486dc,pendingMutations:_0xee9a6a}=_0x178095;this['_handler'][_0x54cce2(0x36d)](_0x2486dc);const _0x3ff9e2=_0xee9a6a[_0x54cce2(0x3aa)]?this['_injector'][_0x54cce2(0x3cd)](_0x2c717a[_0x54cce2(0x41c)],this['unitID'],this[_0x54cce2(0x527)],_0x2486dc,_0xee9a6a,this[_0x54cce2(0x1e2)],void 0x0):this[_0x54cce2(0x3b3)]['createInstance'](_0x2c717a[_0x54cce2(0x4b1)],this['unitID'],this[_0x54cce2(0x527)],_0x2486dc,this['_handler']);_0x3ff9e2[_0x54cce2(0x474)](),this['_handler']['onStateChange'](this,_0x3ff9e2);},_0x152516);}[_0x4ef07c(0x453)](){var _0x3fbbee=_0x4ef07c,_0x230f8b;const _0x22f9b2=this[_0x3fbbee(0x238)][_0x3fbbee(0x4e3)](_0x50bbc4);return(_0x230f8b=_0x22f9b2==null?void 0x0:_0x22f9b2[_0x3fbbee(0x4ec)])!=null?_0x230f8b:0x7d0;}[_0x4ef07c(0x2c2)](){var _0x68580a=_0x4ef07c;throw new Error(_0x68580a(0x4fe));}[_0x4ef07c(0x3db)](){var _0x19b00c=_0x4ef07c;this[_0x19b00c(0x2ee)]!=null&&(clearTimeout(this[_0x19b00c(0x2ee)]),this[_0x19b00c(0x2ee)]=null);}['_onConflict'](_0x2fd84d){var _0x1e3929=_0x4ef07c;return this[_0x1e3929(0x3db)](),this[_0x1e3929(0x3b3)][_0x1e3929(0x3cd)](_0x2c717a['ConflictState'],this[_0x1e3929(0x3f1)],this['type'],null,this['_pendingMutations'],this[_0x1e3929(0x1e2)],_0x2fd84d);}},_0x2c717a['PendingState']=_0x1b743b([_0x2ed7f1(0x4,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x5,_0x5a87f6['Inject'](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a['MemberService'])),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0x8,_0x5a87f6[_0x4ef07c(0x217)]),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x2ed7f1(0xa,_0x9d3528[_0x4ef07c(0x2b6)]),_0x2ed7f1(0xb,_0x5a87f6[_0x4ef07c(0x32b)]),_0x2ed7f1(0xc,_0x5a87f6[_0x4ef07c(0x3d2)]),_0x2ed7f1(0xd,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x43c)]),_0x2c717a[_0x4ef07c(0x4b1)]=class extends _0x4f4aaa{constructor(_0x213f02,_0x18df35,_0x3223b8,_0x652182,_0x2115ec,_0xe9fd42,_0x4a8e7c,_0x12cfc5,_0x2e300e,_0x5721f1,_0x403223){var _0x7cd6a5=_0x4ef07c;super(_0x213f02,_0x18df35,_0x3223b8,[],_0x652182,_0x4a8e7c,_0x5721f1,_0xe9fd42,_0x403223),_0x27ebba(this,_0x7cd6a5(0x45c),_0x7cd6a5(0x3b9)),_0x27ebba(this,_0x7cd6a5(0x2aa),0x0),_0x27ebba(this,'_maxTotalRetryTimeout',0x0),_0x27ebba(this,'_resendTimer'),_0x27ebba(this,_0x7cd6a5(0x1ec)),(this['_injector']=_0x2115ec,this['_logService']=_0x12cfc5,this['_transformService']=_0x2e300e);}[_0x4ef07c(0x2e8)](_0x30d63c){var _0xfd40bf=_0x4ef07c;this[_0xfd40bf(0x3db)]();const _0x3aad84=this[_0xfd40bf(0x3b3)]['createInstance'](_0x2c717a[_0xfd40bf(0x41c)],this[_0xfd40bf(0x3f1)],this[_0xfd40bf(0x527)],this[_0xfd40bf(0x48a)],[_0x30d63c],this[_0xfd40bf(0x1e2)],this['_resendTimer']);return _0x3aad84[_0xfd40bf(0x474)](),_0x3aad84;}['onRemoteChangeset'](_0x34bb73){var _0x33dff6=_0x4ef07c;if(this[_0x33dff6(0x203)](_0x34bb73))return this[_0x33dff6(0x3db)](),this[_0x33dff6(0x3b3)][_0x33dff6(0x3cd)](_0x2c717a[_0x33dff6(0x27a)],this['unitID'],this[_0x33dff6(0x527)],this['_awaitingChangeset'],[],null,[_0x34bb73],this[_0x33dff6(0x1e2)]);try{const _0x1d6958=this[_0x33dff6(0x4d6)][_0x33dff6(0x205)]([_0x34bb73],[this[_0x33dff6(0x48a)]],!0x1);if(_0x9d3528[_0x33dff6(0x36a)](_0x1d6958)){const {c1Prime:_0x5377ec,c2Prime:_0x1bddb4}=_0x1d6958;this[_0x33dff6(0x518)](_0x5377ec[0x0]),_0x1bddb4[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x33dff6(0x3db)]();const _0x4d0170=this[_0x33dff6(0x3b3)][_0x33dff6(0x3cd)](_0x2c717a[_0x33dff6(0x4b1)],this[_0x33dff6(0x3f1)],this['type'],_0x1bddb4[0x0],this[_0x33dff6(0x1e2)]);return _0x4d0170[_0x33dff6(0x474)](),_0x4d0170;}return this[_0x33dff6(0x34c)](!0x1);}catch(_0x44404){return this[_0x33dff6(0x1df)][_0x33dff6(0x456)](_0x44404),this[_0x33dff6(0x34c)](!0x1);}}[_0x4ef07c(0x26c)](_0x15c877){var _0x5b483a=_0x4ef07c;this[_0x5b483a(0x3db)]();const _0x3a3e14=this[_0x5b483a(0x458)][_0x5b483a(0x526)](this[_0x5b483a(0x3f1)]);if(_0x15c877[_0x5b483a(0x3c2)]<_0x3a3e14-0x1)return this;if(this[_0x5b483a(0x203)](_0x15c877))return this['_injector'][_0x5b483a(0x3cd)](_0x2c717a['FetchingMissState'],this[_0x5b483a(0x3f1)],this[_0x5b483a(0x527)],null,[],this[_0x5b483a(0x48a)],[],this[_0x5b483a(0x1e2)]);this['_incrementRevisionNumber']();const _0x25cbe1=this['_injector'][_0x5b483a(0x3cd)](_0x2c717a[_0x5b483a(0x51c)],this[_0x5b483a(0x3f1)],this[_0x5b483a(0x527)],this[_0x5b483a(0x1e2)]);return _0x25cbe1[_0x5b483a(0x474)](),_0x25cbe1;}[_0x4ef07c(0x375)](_0x36bac5){var _0x4a5d41=_0x4ef07c;return this[_0x4a5d41(0x34c)](!!(_0x36bac5!=null&&_0x36bac5[_0x4a5d41(0x38a)]));}[_0x4ef07c(0x2c3)](_0x1ca52d){var _0xa336e3=_0x4ef07c;return this['_maxTotalRetryTimeout']>_0x152f5d?this[_0xa336e3(0x544)]():(this[_0xa336e3(0x1de)]=_0x260427(this[_0xa336e3(0x2aa)],{'timeout':this['_resendTimeout'],'reqId':_0x1ca52d[_0xa336e3(0x2c8)]}),this[_0xa336e3(0x1ec)]=this['_resendTimer'][_0xa336e3(0x2ce)](({reqId:_0x570974,timeout:_0x5704eb})=>{var _0x450699=_0xa336e3;this[_0x450699(0x422)](_0x570974,_0x5704eb);}),this);}[_0x4ef07c(0x544)](){var _0xe6fcf8=_0x4ef07c;return this[_0xe6fcf8(0x3db)](),this[_0xe6fcf8(0x3b3)][_0xe6fcf8(0x3cd)](_0x2c717a['OfflineState'],this['unitID'],this[_0xe6fcf8(0x527)],this[_0xe6fcf8(0x48a)],[],this[_0xe6fcf8(0x1e2)]);}[_0x4ef07c(0x3af)](){return this;}['resend'](){var _0x1509a7=_0x4ef07c;this[_0x1509a7(0x1e2)][_0x1509a7(0x36d)](this[_0x1509a7(0x48a)]);}[_0x4ef07c(0x34c)](_0x323f58){var _0x22ad1c=_0x4ef07c;return this[_0x22ad1c(0x3db)](),this['_injector']['createInstance'](_0x2c717a[_0x22ad1c(0x312)],this['unitID'],this[_0x22ad1c(0x527)],this[_0x22ad1c(0x48a)],[],this[_0x22ad1c(0x1e2)],_0x323f58);}['_resendWithTimeout'](_0x41376d,_0xc17870){var _0x529656=_0x4ef07c,_0x4e1090;_0x41376d===((_0x4e1090=this[_0x529656(0x48a)])==null?void 0x0:_0x4e1090[_0x529656(0x2c8)])&&(this[_0x529656(0x2c2)](),this['_resendTimeout']=_0xc17870===0x0?0x3e8:Math[_0x529656(0x467)](_0xc17870*0x2,_0x377f2d),this['_maxTotalRetryTimeout']+=this[_0x529656(0x2aa)]);}[_0x4ef07c(0x3db)](){var _0x597dcc=_0x4ef07c,_0x1c58df;(_0x1c58df=this[_0x597dcc(0x1ec)])==null||_0x1c58df[_0x597dcc(0x22b)](),this['_resendTimeout']=0x0,this[_0x597dcc(0x374)]=0x0;}},_0x2c717a[_0x4ef07c(0x4b1)]=_0x1b743b([_0x2ed7f1(0x4,_0x5a87f6['Inject'](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x5,_0x5a87f6['Inject'](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x6,_0x5a87f6['ICommandService']),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0x8,_0x9d3528[_0x4ef07c(0x2b6)]),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x3d2)]),_0x2ed7f1(0xa,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a['AwaitingState']),_0x2c717a['AwaitingWithPendingState']=class extends _0x4f4aaa{constructor(_0x442da4,_0x47c147,_0x37c7c0,_0xd51701,_0x277a35,_0x23c57d,_0x2c5f94,_0x40edf4,_0x5ab1d2,_0x1af432,_0x42f569,_0x2d76e4,_0x198393){var _0x1b0041=_0x4ef07c;super(_0x442da4,_0x47c147,_0x37c7c0,_0xd51701,_0x277a35,_0x5ab1d2,_0x2d76e4,_0x40edf4,_0x198393),_0x27ebba(this,_0x1b0041(0x45c),_0x1b0041(0x554)),_0x27ebba(this,_0x1b0041(0x2aa),0x0),_0x27ebba(this,_0x1b0041(0x374),0x0),_0x27ebba(this,_0x1b0041(0x1de)),_0x27ebba(this,'_sender'),(this[_0x1b0041(0x3b3)]=_0x2c5f94,this[_0x1b0041(0x1df)]=_0x1af432,this[_0x1b0041(0x4d6)]=_0x42f569,this[_0x1b0041(0x332)]=_0x198393,_0x23c57d&&(this[_0x1b0041(0x1de)]=_0x23c57d,this[_0x1b0041(0x1ec)]=this[_0x1b0041(0x1de)][_0x1b0041(0x2ce)](({reqId:_0x256125,timeout:_0x490a26})=>{var _0x2163a1=_0x1b0041;this[_0x2163a1(0x422)](_0x256125,_0x490a26);})));}[_0x4ef07c(0x2e8)](_0x19a5bc){var _0x543889=_0x4ef07c;return this[_0x543889(0x486)][_0x543889(0x306)](_0x19a5bc),this;}['onRemoteChangeset'](_0x339cfa){var _0x2f0c88=_0x4ef07c;if(this['_checkMissing'](_0x339cfa))return this[_0x2f0c88(0x3db)](),this[_0x2f0c88(0x3b3)]['createInstance'](_0x2c717a[_0x2f0c88(0x27a)],this['unitID'],this[_0x2f0c88(0x527)],this['_awaitingChangeset'],this[_0x2f0c88(0x486)],null,[_0x339cfa],this[_0x2f0c88(0x1e2)]);try{const _0x369004=this[_0x2f0c88(0x4d6)][_0x2f0c88(0x205)]([_0x339cfa],[this['_awaitingChangeset']],!0x1);if(_0x9d3528['isTransformChangesetsSuccess'](_0x369004)){const {c1Prime:_0x225815,c2Prime:_0x56b1e1}=_0x369004,_0x3125e7=this['_transformService'][_0x2f0c88(0x4cd)](_0x225815[0x0],this[_0x2f0c88(0x486)]);if(_0x9d3528[_0x2f0c88(0x364)](_0x3125e7)){const {c1Prime:_0x1837b5,m2Prime:_0x36f82c}=_0x3125e7;return this['_executeRemoteChangeset'](_0x1837b5),_0x56b1e1[0x0]['baseRev']=this[_0x2f0c88(0x40d)](),this['_clearScheduledTask'](),this[_0x2f0c88(0x3b3)][_0x2f0c88(0x3cd)](_0x2c717a['AwaitingWithPendingState'],this[_0x2f0c88(0x3f1)],this[_0x2f0c88(0x527)],_0x56b1e1[0x0],_0x36f82c,this['_handler'],void 0x0);}throw _0x3125e7[_0x2f0c88(0x456)];}throw _0x369004[_0x2f0c88(0x456)];}catch(_0x505962){return this[_0x2f0c88(0x1df)]['error'](_0x505962),this[_0x2f0c88(0x34c)](!0x1);}}['onRemoteAck'](_0x43c0fa){var _0x34d769=_0x4ef07c;if(this[_0x34d769(0x3db)](),this[_0x34d769(0x203)](_0x43c0fa))return this[_0x34d769(0x3b3)][_0x34d769(0x3cd)](_0x2c717a[_0x34d769(0x27a)],this[_0x34d769(0x3f1)],this['type'],null,this[_0x34d769(0x486)],this[_0x34d769(0x48a)],[],this[_0x34d769(0x1e2)]);this[_0x34d769(0x4f5)]();const _0x5339fb=this[_0x34d769(0x3b3)]['createInstance'](_0x2c717a[_0x34d769(0x43c)],this['unitID'],this[_0x34d769(0x527)],this[_0x34d769(0x486)],this[_0x34d769(0x1e2)]);return _0x5339fb[_0x34d769(0x264)](),_0x5339fb[_0x34d769(0x474)](),_0x5339fb;}[_0x4ef07c(0x375)](_0x4f7582){var _0x31b41f=_0x4ef07c;return this[_0x31b41f(0x34c)](!!(_0x4f7582!=null&&_0x4f7582[_0x31b41f(0x38a)]));}[_0x4ef07c(0x2c3)](_0x4cb77a){var _0x922944=_0x4ef07c;return this['_maxTotalRetryTimeout']>_0x152f5d?this[_0x922944(0x544)]():(this[_0x922944(0x1de)]=_0x260427(this['_resendTimeout'],{'timeout':this[_0x922944(0x2aa)],'reqId':_0x4cb77a[_0x922944(0x2c8)]}),this['_sender']=this[_0x922944(0x1de)]['subscribe'](({reqId:_0x22e351,timeout:_0x1a4fc7})=>{var _0x30bae3=_0x922944;this[_0x30bae3(0x422)](_0x22e351,_0x1a4fc7);}),this);}['toggleOffline'](){var _0x311f60=_0x4ef07c;return this[_0x311f60(0x3db)](),this[_0x311f60(0x3b3)]['createInstance'](_0x2c717a['OfflineState'],this[_0x311f60(0x3f1)],this[_0x311f60(0x527)],this[_0x311f60(0x48a)],this[_0x311f60(0x486)],this[_0x311f60(0x1e2)]);}[_0x4ef07c(0x3af)](){return this;}[_0x4ef07c(0x2c2)](){var _0xcece28=_0x4ef07c;this[_0xcece28(0x1e2)][_0xcece28(0x36d)](this['_awaitingChangeset']);}[_0x4ef07c(0x34c)](_0x18df1d){var _0x186724=_0x4ef07c;return this[_0x186724(0x3db)](),this[_0x186724(0x3b3)][_0x186724(0x3cd)](_0x2c717a['ConflictState'],this[_0x186724(0x3f1)],this['type'],null,this[_0x186724(0x486)],this[_0x186724(0x1e2)],_0x18df1d);}[_0x4ef07c(0x422)](_0x51b38a,_0x55291f){var _0x558538=_0x4ef07c,_0x266e5b;_0x51b38a===((_0x266e5b=this[_0x558538(0x48a)])==null?void 0x0:_0x266e5b[_0x558538(0x2c8)])&&(this[_0x558538(0x2c2)](),this[_0x558538(0x2aa)]=_0x55291f===0x0?0x3e8:Math[_0x558538(0x467)](_0x55291f*0x2,_0x377f2d),this[_0x558538(0x374)]+=this[_0x558538(0x2aa)]);}[_0x4ef07c(0x3db)](){var _0x5f8986=_0x4ef07c,_0x48b1cf;(_0x48b1cf=this[_0x5f8986(0x1ec)])==null||_0x48b1cf[_0x5f8986(0x22b)](),this['_resendTimeout']=0x0,this[_0x5f8986(0x374)]=0x0;}},_0x2c717a[_0x4ef07c(0x41c)]=_0x1b743b([_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6['Injector'])),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x8,_0x5a87f6['ICommandService']),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0xa,_0x9d3528['ITransformService']),_0x2ed7f1(0xb,_0x5a87f6[_0x4ef07c(0x3d2)]),_0x2ed7f1(0xc,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x41c)]),_0x2c717a[_0x4ef07c(0x312)]=class extends _0x4f4aaa{constructor(_0x37d800,_0x1c3d46,_0xbc411a,_0x362abf,_0x4f7279,_0x2c4eee=!0x1,_0x4fce6f,_0x3e4b9a,_0x8a43f3,_0x28217b,_0x3d46fe,_0x527c4e,_0x18fc18){var _0x3dbe4d=_0x4ef07c;super(_0x37d800,_0x1c3d46,_0xbc411a,_0x362abf,_0x4f7279,_0x3e4b9a,_0x8a43f3,_0x28217b,_0x18fc18),_0x27ebba(this,_0x3dbe4d(0x45c),_0x3dbe4d(0x2dc)),(this['_isPermissionRej']=_0x2c4eee,this['_permissionService']=_0x4fce6f,this['_localeService']=_0x3d46fe,this[_0x3dbe4d(0x333)]=_0x527c4e,this[_0x3dbe4d(0x332)]=_0x18fc18,this[_0x3dbe4d(0x322)](),this[_0x3dbe4d(0x1c9)](),this[_0x3dbe4d(0x218)]());}[_0x4ef07c(0x2e8)](){return this;}[_0x4ef07c(0x36b)](){return this;}[_0x4ef07c(0x26c)](){return this;}[_0x4ef07c(0x375)](){return this;}[_0x4ef07c(0x2c3)](){return this;}[_0x4ef07c(0x544)](){return this;}[_0x4ef07c(0x3af)](){return this;}[_0x4ef07c(0x2c2)](){var _0x45ba00=_0x4ef07c;throw new Error(_0x45ba00(0x2ba));}[_0x4ef07c(0x1c9)](){var _0x22cb89=_0x4ef07c,_0xb5009f;(_0xb5009f=this[_0x22cb89(0x4d9)])==null||_0xb5009f[_0x22cb89(0x4c6)](this[_0x22cb89(0x3f1)],this[_0x22cb89(0x527)],null,[]);}[_0x4ef07c(0x322)](){var _0x169ef6=_0x4ef07c;this[_0x169ef6(0x28c)]?this[_0x169ef6(0x333)]['emitEvent']({'id':_0x28846f[_0x169ef6(0x2f4)]}):this[_0x169ef6(0x333)][_0x169ef6(0x446)]({'id':_0x28846f[_0x169ef6(0x1d0)]});}[_0x4ef07c(0x218)](){var _0x244008=_0x4ef07c;this[_0x244008(0x20e)][_0x244008(0x3ab)](new _0x2dec7c['WorkbookEditablePermission'](this[_0x244008(0x3f1)])['id'],!0x1);}},_0x2c717a['ConflictState']=_0x1b743b([_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x53b)])),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x217)]),_0x2ed7f1(0x8,_0x5a87f6[_0x4ef07c(0x3d2)]),_0x2ed7f1(0x9,_0x5a87f6['Inject'](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0xa,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x44c)])),_0x2ed7f1(0xb,_0x5a87f6[_0x4ef07c(0x2f6)](_0x596edb)),_0x2ed7f1(0xc,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x312)]),_0x2c717a[_0x4ef07c(0x347)]=class extends _0x4f4aaa{constructor(_0x3713c0,_0x5199bc,_0x3985ce,_0x2dcdc7,_0x4674be,_0x2a3af7,_0x66bf14,_0x371fb6,_0x391298,_0x1de195){var _0xc36b4b=_0x4ef07c;super(_0x3713c0,_0x5199bc,_0x3985ce,_0x2dcdc7,_0x4674be,_0x371fb6,_0x391298,_0x66bf14,_0x1de195),_0x27ebba(this,_0xc36b4b(0x45c),'offline'),this['_injector']=_0x2a3af7;}[_0x4ef07c(0x2e8)](_0x4be880){var _0x5db3f4=_0x4ef07c;return this[_0x5db3f4(0x486)][_0x5db3f4(0x306)](_0x4be880),this[_0x5db3f4(0x474)](),this;}[_0x4ef07c(0x36b)](_0x49076c){var _0x25ee73=_0x4ef07c;throw new Error(_0x25ee73(0x3a4));}[_0x4ef07c(0x26c)](){var _0x152126=_0x4ef07c;throw new Error(_0x152126(0x42c));}[_0x4ef07c(0x375)](){var _0x5b1d44=_0x4ef07c;throw new Error(_0x5b1d44(0x2ec));}[_0x4ef07c(0x2c3)](){return this;}[_0x4ef07c(0x544)](){return this;}[_0x4ef07c(0x3af)](){var _0x238e02=_0x4ef07c;const {_injector:_0x52dd7d,_pendingMutations:_0x1a52d2,_awaitingChangeset:_0x55e715,unitID:_0x546252,_handler:_0x64be04,type:_0x16f5b2}=this,_0xca5256=_0x107772(_0x52dd7d,_0x546252,_0x16f5b2,_0x55e715,_0x1a52d2,_0x64be04);return _0xca5256 instanceof _0x2c717a['PendingState']?_0xca5256[_0x238e02(0x264)]():(_0xca5256 instanceof _0x2c717a['AwaitingWithPendingState']||_0xca5256 instanceof _0x2c717a[_0x238e02(0x4b1)])&&_0xca5256['resend'](),_0xca5256;}[_0x4ef07c(0x2c2)](){var _0x3811e4=_0x4ef07c;throw new Error(_0x3811e4(0x37c));}},_0x2c717a[_0x4ef07c(0x347)]=_0x1b743b([_0x2ed7f1(0x5,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x217)]),_0x2ed7f1(0x8,_0x5a87f6['IUndoRedoService']),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x347)]),_0x2c717a[_0x4ef07c(0x27a)]=class extends _0x4f4aaa{constructor(_0x20c22e,_0x21c033,_0x2c3f89,_0x113f22,_0x174e70,_0x4f61f6,_0x148252,_0x454823,_0xca03da,_0x3dbc79,_0x1ad411,_0xa349f,_0x15b6b1,_0x4680e9){var _0x52857e=_0x4ef07c;super(_0x20c22e,_0x21c033,_0x2c3f89,_0x113f22,_0x148252,_0x1ad411,_0xa349f,_0xca03da,_0x4680e9),_0x27ebba(this,_0x52857e(0x45c),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x174e70,this[_0x52857e(0x21f)]=_0x4f61f6,this['_injector']=_0x454823,this[_0x52857e(0x1df)]=_0x3dbc79,this[_0x52857e(0x4d6)]=_0x15b6b1,this[_0x52857e(0x332)]=_0x4680e9);}[_0x4ef07c(0x30c)](_0x5e9f7d){var _0x469b52=_0x4ef07c;try{const _0x28679e=[..._0x5e9f7d,...this[_0x469b52(0x21f)]],_0x376690=[this[_0x469b52(0x48a)]||this['_acknowledgedAwaitingChangeset']][_0x469b52(0x320)](_0x593039=>!!_0x593039);let _0x67f333,_0x40e2d7;if(_0x376690[_0x469b52(0x3aa)]){const _0x28fee5=this['_transformService'][_0x469b52(0x205)](_0x28679e,_0x376690,!0x1);if(!_0x9d3528['isTransformChangesetsSuccess'](_0x28fee5))throw _0x28fee5['error'];_0x67f333=_0x28fee5['c1Prime'],_0x40e2d7=_0x28fee5[_0x469b52(0x46a)];}else _0x67f333=_0x28679e,_0x40e2d7=[];let _0x13d006=this['_pendingMutations'];_0x67f333[_0x469b52(0x482)](_0x42e2d9=>{var _0x367472=_0x469b52;let _0x5e5637;if(_0x13d006[_0x367472(0x3aa)]){const _0x364e21=this['_transformService'][_0x367472(0x4cd)](_0x42e2d9,_0x13d006);if(!_0x9d3528[_0x367472(0x364)](_0x364e21))throw _0x364e21['error'];_0x5e5637=_0x364e21[_0x367472(0x4bf)],_0x13d006=_0x364e21[_0x367472(0x2d8)];}else _0x5e5637=_0x42e2d9;this[_0x367472(0x518)](_0x5e5637);}),this['_acknowledgedAwaitingChangeset']&&this[_0x469b52(0x4f5)](),this[_0x469b52(0x48a)]&&_0x40e2d7[_0x469b52(0x3aa)]&&(_0x40e2d7[0x0][_0x469b52(0x46b)]=this[_0x469b52(0x40d)]());let _0x181746;if(this[_0x469b52(0x48a)]&&_0x13d006[_0x469b52(0x3aa)]!==0x0)_0x181746=this[_0x469b52(0x3b3)][_0x469b52(0x3cd)](_0x2c717a[_0x469b52(0x41c)],this['unitID'],this[_0x469b52(0x527)],_0x40e2d7[0x0],_0x13d006,this[_0x469b52(0x1e2)],void 0x0);else{if(this[_0x469b52(0x48a)]&&_0x13d006[_0x469b52(0x3aa)]===0x0)_0x40e2d7[0x0]['baseRev']=this['_getCurrentRevision'](),_0x181746=this[_0x469b52(0x3b3)]['createInstance'](_0x2c717a[_0x469b52(0x4b1)],this[_0x469b52(0x3f1)],this[_0x469b52(0x527)],_0x40e2d7[0x0],this[_0x469b52(0x1e2)]);else{if(_0x13d006[_0x469b52(0x3aa)]!==0x0){const _0x28107e=this['_injector'][_0x469b52(0x3cd)](_0x2c717a[_0x469b52(0x43c)],this['unitID'],this['type'],_0x13d006,this[_0x469b52(0x1e2)]);_0x28107e['_schedule'](),_0x181746=_0x28107e;}else _0x181746=this[_0x469b52(0x3b3)][_0x469b52(0x3cd)](_0x2c717a[_0x469b52(0x51c)],this[_0x469b52(0x3f1)],this[_0x469b52(0x527)],this['_handler']);}}return _0x181746[_0x469b52(0x474)](),_0x181746;}catch(_0x153cd8){return this[_0x469b52(0x1df)][_0x469b52(0x456)](_0x469b52(0x4c5),'failed\x20to\x20apply\x20missed\x20changesets!',_0x153cd8),this[_0x469b52(0x3b3)]['createInstance'](_0x2c717a[_0x469b52(0x312)],this[_0x469b52(0x3f1)],this['type'],this[_0x469b52(0x48a)],this[_0x469b52(0x486)],this[_0x469b52(0x1e2)],!0x1);}}[_0x4ef07c(0x2c2)](){var _0x167cf4=_0x4ef07c;throw new Error(_0x167cf4(0x350));}[_0x4ef07c(0x2e8)](_0x346e47){var _0x3cc023=_0x4ef07c;return this[_0x3cc023(0x486)]['push'](_0x346e47),this;}[_0x4ef07c(0x36b)](_0x51f825){var _0x983db5=_0x4ef07c;return this[_0x983db5(0x21f)][_0x983db5(0x306)](_0x51f825),this;}[_0x4ef07c(0x26c)](_0xe67d33){var _0x45f244=_0x4ef07c;if(this[_0x45f244(0x48a)])return this[_0x45f244(0x29a)]=this[_0x45f244(0x48a)],this[_0x45f244(0x48a)]=null,this;throw new Error(_0x45f244(0x2fe));}[_0x4ef07c(0x375)](_0x276d2f){var _0xc482a7=_0x4ef07c;return this['_onConflict'](!!(_0x276d2f!=null&&_0x276d2f[_0xc482a7(0x38a)]));}[_0x4ef07c(0x2c3)](){return this;}['toggleOffline'](){var _0x3a8316=_0x4ef07c;return this[_0x3a8316(0x3b3)][_0x3a8316(0x3cd)](_0x2c717a['OfflineState'],this['unitID'],this[_0x3a8316(0x527)],this[_0x3a8316(0x48a)],this[_0x3a8316(0x486)],this['_handler']);}[_0x4ef07c(0x3af)](){return this;}['_onConflict'](_0x38bca0){var _0x150078=_0x4ef07c;return this[_0x150078(0x3b3)]['createInstance'](_0x2c717a['ConflictState'],this['unitID'],this[_0x150078(0x527)],this['_awaitingChangeset'],this[_0x150078(0x486)],this[_0x150078(0x1e2)],_0x38bca0);}},_0x2c717a[_0x4ef07c(0x27a)]=_0x1b743b([_0x2ed7f1(0x7,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x2ed7f1(0x8,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528['RevisionService'])),_0x2ed7f1(0x9,_0x5a87f6[_0x4ef07c(0x546)]),_0x2ed7f1(0xa,_0x5a87f6['ICommandService']),_0x2ed7f1(0xb,_0x5a87f6['IUndoRedoService']),_0x2ed7f1(0xc,_0x9d3528[_0x4ef07c(0x2b6)]),_0x2ed7f1(0xd,_0x5a87f6[_0x4ef07c(0x2fb)](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x27a)]);function _0x107772(_0x308391,_0x1365fc,_0x4ca2ca,_0x318258,_0x2dd51e,_0x3653da){var _0x4823e7=_0x4ef07c;return _0x318258&&_0x2dd51e[_0x4823e7(0x3aa)]?_0x308391[_0x4823e7(0x3cd)](_0x2c717a[_0x4823e7(0x41c)],_0x1365fc,_0x4ca2ca,_0x318258,_0x2dd51e,_0x3653da,void 0x0):_0x318258?_0x308391['createInstance'](_0x2c717a[_0x4823e7(0x4b1)],_0x1365fc,_0x4ca2ca,_0x318258,_0x3653da):_0x2dd51e[_0x4823e7(0x3aa)]?_0x308391[_0x4823e7(0x3cd)](_0x2c717a[_0x4823e7(0x43c)],_0x1365fc,_0x4ca2ca,_0x2dd51e,_0x3653da):_0x308391[_0x4823e7(0x3cd)](_0x2c717a[_0x4823e7(0x51c)],_0x1365fc,_0x4ca2ca,_0x3653da);}var _0x1ded19=Object['getOwnPropertyDescriptor'],_0xcc55ce=(_0x49ee11,_0x5ef584,_0x26e51c,_0x5a967e)=>{var _0x2c1af5=_0x4ef07c;for(var _0x19366e=_0x5a967e>0x1?void 0x0:_0x5a967e?_0x1ded19(_0x5ef584,_0x26e51c):_0x5ef584,_0x566240=_0x49ee11[_0x2c1af5(0x3aa)]-0x1,_0x4f8804;_0x566240>=0x0;_0x566240--)(_0x4f8804=_0x49ee11[_0x566240])&&(_0x19366e=_0x4f8804(_0x19366e)||_0x19366e);return _0x19366e;},_0x748969=(_0x3cfa8d,_0x3a690d)=>(_0x463b7b,_0x43eb6e)=>_0x3a690d(_0x463b7b,_0x43eb6e,_0x3cfa8d);_0x2c717a[_0x4ef07c(0x2b0)]=class extends _0x5a87f6[_0x4ef07c(0x244)]{constructor(_0x13d69b,_0xc96c5e,_0x48ee34,_0x10c686,_0x22324c,_0x3b38a0,_0x470e02,_0x28b9ba,_0xc080dd,_0x52f2e4,_0x5d0f27,_0x1805a5,_0x8d8c23,_0x43b0b2){var _0x592ab5=_0x4ef07c;super(),_0x27ebba(this,_0x592ab5(0x342),new _0x49c451[(_0x592ab5(0x32a))](null)),_0x27ebba(this,_0x592ab5(0x253),this[_0x592ab5(0x342)]['asObservable']()),_0x27ebba(this,'_state'),_0x27ebba(this,_0x592ab5(0x4de),!0x1),_0x27ebba(this,_0x592ab5(0x27d),''),_0x27ebba(this,_0x592ab5(0x555),0x0),_0x27ebba(this,_0x592ab5(0x349),this[_0x592ab5(0x253)][_0x592ab5(0x50f)](_0x49c451[_0x592ab5(0x277)](_0x2f8260=>_0x2f8260?_0x2f8260[_0x592ab5(0x45c)]:_0x12c0ef[_0x592ab5(0x391)]),_0x49c451['shareReplay'](0x1))),_0x27ebba(this,'_transitionLocked',!0x1),_0x27ebba(this,'_remoteChangesetQueue',[]),(this[_0x592ab5(0x3f1)]=_0x13d69b,this['session']=_0xc96c5e,this[_0x592ab5(0x4e5)]=_0x48ee34,this[_0x592ab5(0x3b3)]=_0x10c686,this[_0x592ab5(0x488)]=_0x22324c,this[_0x592ab5(0x268)]=_0x3b38a0,this[_0x592ab5(0x458)]=_0x470e02,this[_0x592ab5(0x537)]=_0x28b9ba,this[_0x592ab5(0x25a)]=_0xc080dd,this[_0x592ab5(0x1df)]=_0x52f2e4,this[_0x592ab5(0x2e6)]=_0x5d0f27,this[_0x592ab5(0x20e)]=_0x1805a5,this[_0x592ab5(0x3c5)]=_0x8d8c23,this[_0x592ab5(0x4d9)]=_0x43b0b2);}get[_0x4ef07c(0x30e)](){var _0x4fb77b=_0x4ef07c;return this[_0x4fb77b(0x523)];}async[_0x4ef07c(0x2a8)](){var _0x48929d=_0x4ef07c;if(this[_0x48929d(0x30e)])throw new Error(_0x48929d(0x20f));await this['_init']();}['pauseCollaboration'](){var _0x27c71f=_0x4ef07c;return this[_0x27c71f(0x4de)]=!0x0,_0x5a87f6[_0x27c71f(0x2c5)](()=>{var _0x235d2a=_0x27c71f;this[_0x235d2a(0x4de)]=!0x1,this[_0x235d2a(0x25f)]();});}['onLocalMutation'](_0x395c9f){var _0x3215b4=_0x4ef07c;this[_0x3215b4(0x528)](_0x395c9f);}[_0x4ef07c(0x496)](_0x59b3f2){var _0x45f5e1=_0x4ef07c;this[_0x45f5e1(0x523)]=_0x59b3f2,this['_state$'][_0x45f5e1(0x534)](_0x59b3f2);}async[_0x4ef07c(0x3da)](){var _0x3e7f64=_0x4ef07c,_0x4c048e;this[_0x3e7f64(0x496)](await this[_0x3e7f64(0x210)]()),this['_singleActiveUnitService']&&((_0x4c048e=this[_0x3e7f64(0x3c5)])==null||_0x4c048e[_0x3e7f64(0x55c)](this[_0x3e7f64(0x3f1)]),this[_0x3e7f64(0x4bb)](this[_0x3e7f64(0x3c5)][_0x3e7f64(0x1fd)](this[_0x3e7f64(0x3f1)])[_0x3e7f64(0x2ce)](_0x320dd2=>{var _0x47c1b1=_0x3e7f64;this[_0x47c1b1(0x1df)][_0x47c1b1(0x3a5)](_0x47c1b1(0x26d),'editing\x20status\x20changed\x20to',_0x320dd2),_0x320dd2===_0x11b621['OTHER_CLIENTS_EDITING']?(this[_0x47c1b1(0x537)][_0x47c1b1(0x446)]({'id':_0x28846f[_0x47c1b1(0x23e)]}),this['_permissionService'][_0x47c1b1(0x3ab)](new _0x2dec7c[(_0x47c1b1(0x40b))](this[_0x47c1b1(0x3f1)])['id'],!0x1),this[_0x47c1b1(0x20e)]['setShowComponents'](!0x1)):(this[_0x47c1b1(0x20e)]['updatePermissionPoint'](new _0x2dec7c[(_0x47c1b1(0x40b))](this[_0x47c1b1(0x3f1)])['id'],!0x0),this['_permissionService'][_0x47c1b1(0x216)](!0x0));})));let _0x2a1471=!0x1;return this['disposeWithMe'](this[_0x3e7f64(0x54f)][_0x3e7f64(0x284)]['subscribe'](_0x449ba1=>{var _0xad2550=_0x3e7f64;_0x449ba1===_0x14cf5c[_0xad2550(0x2e2)]?this[_0xad2550(0x39c)](_0x2a1471):_0x449ba1===_0x14cf5c[_0xad2550(0x391)]&&(_0x2a1471=!0x0,this[_0xad2550(0x2d4)]());})),this[_0x3e7f64(0x4bb)](this[_0x3e7f64(0x54f)]['event$'][_0x3e7f64(0x2ce)](_0xa99ee8=>{var _0xe54fba=_0x3e7f64;try{switch(_0xa99ee8[_0xe54fba(0x3f7)]){case _0x9d3528[_0xe54fba(0x328)]['NEW_CHANGESETS']:{this[_0xe54fba(0x285)](_0x9d3528[_0xe54fba(0x50b)](_0xa99ee8[_0xe54fba(0x511)]));break;}case _0x9d3528['CollaborationEvent'][_0xe54fba(0x258)]:{this['_onRemoteACK'](_0xa99ee8[_0xe54fba(0x511)]);break;}case _0x9d3528[_0xe54fba(0x328)]['CHANGESET_REJ']:{this[_0xe54fba(0x297)]();break;}case _0x9d3528['CollaborationEvent'][_0xe54fba(0x31d)]:{this[_0xe54fba(0x3ba)](_0xa99ee8['data']);break;}case _0x9d3528[_0xe54fba(0x328)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xa99ee8[_0xe54fba(0x511)][_0xe54fba(0x437)]['map'](_0x39d4e6=>_0x9d3528['parseProtocolChangeset'](_0x39d4e6)));break;}case _0x9d3528[_0xe54fba(0x328)]['PERMISSION_REJ']:{this[_0xe54fba(0x297)]({'isPermissionRej':!0x0});break;}case _0x9d3528[_0xe54fba(0x328)][_0xe54fba(0x4f3)]:break;}}catch(_0xa9ba6b){throw console[_0xe54fba(0x456)](_0xe54fba(0x4d7),_0xa9ba6b),_0xa9ba6b;}})),this[_0x3e7f64(0x523)];}[_0x4ef07c(0x288)](){var _0x1da848=_0x4ef07c;this[_0x1da848(0x3c6)]=!0x1;}[_0x4ef07c(0x538)](){var _0x44bb03=_0x4ef07c;if(this[_0x44bb03(0x3c6)])throw new Error(_0x44bb03(0x1cd));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x461841){var _0x376082=_0x4ef07c;this[_0x376082(0x538)](),this[_0x376082(0x496)](this['_state']['appendMutation'](_0x461841)),this[_0x376082(0x288)]();}[_0x4ef07c(0x285)](_0x1925fa){var _0x3999ac=_0x4ef07c;if(!(_0x1925fa[_0x3999ac(0x3c2)]<=this[_0x3999ac(0x458)][_0x3999ac(0x526)](this['unitID']))){if(this[_0x3999ac(0x4de)]){this[_0x3999ac(0x353)]['push'](_0x1925fa);return;}this[_0x3999ac(0x3e8)](_0x1925fa);}}[_0x4ef07c(0x25f)](){var _0x17e343=_0x4ef07c;this[_0x17e343(0x353)][_0x17e343(0x482)](_0x3e1877=>this[_0x17e343(0x3e8)](_0x3e1877)),this[_0x17e343(0x353)]=[];}[_0x4ef07c(0x3e8)](_0x125de3){var _0x6c5f8a=_0x4ef07c;const _0x49272f=this['_compressMutationService']['interceptor'][_0x6c5f8a(0x493)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x6c5f8a(0x4a0)])(_0x125de3[_0x6c5f8a(0x519)],null)||_0x125de3[_0x6c5f8a(0x519)],_0x3bec3c={..._0x125de3,'mutations':_0x49272f};this[_0x6c5f8a(0x538)](),this[_0x6c5f8a(0x496)](this['_state'][_0x6c5f8a(0x36b)](_0x3bec3c)),this['_unlockTransition']();}[_0x4ef07c(0x547)](_0x1f1ce6){var _0x11351c=_0x4ef07c;this[_0x11351c(0x538)](),this[_0x11351c(0x496)](this[_0x11351c(0x523)]['onRemoteAck'](_0x1f1ce6)),this[_0x11351c(0x288)]();}['_onRemoteRejected'](_0x1e549a){var _0x2ed8de=_0x4ef07c;this[_0x2ed8de(0x538)](),this[_0x2ed8de(0x496)](this[_0x2ed8de(0x523)]['onRemoteRej'](_0x1e549a)),this[_0x2ed8de(0x288)]();}[_0x4ef07c(0x3ba)](_0xb9bed6){var _0x378043=_0x4ef07c;this[_0x378043(0x538)](),this[_0x378043(0x496)](this['_state'][_0x378043(0x2c3)](_0xb9bed6)),this[_0x378043(0x288)]();}[_0x4ef07c(0x1e8)](_0x2fb49b){var _0x1278b6=_0x4ef07c;if(!(this[_0x1278b6(0x523)]instanceof _0x2c717a[_0x1278b6(0x27a)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x57cd1b=_0x2fb49b['map'](_0x5a8740=>{var _0x54848f=_0x1278b6;const _0x3f1b05=this['_compressMutationService'][_0x54848f(0x1fa)][_0x54848f(0x493)](this['_compressMutationService'][_0x54848f(0x1fa)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x5a8740[_0x54848f(0x519)],null)||_0x5a8740[_0x54848f(0x519)];return{..._0x5a8740,'mutations':_0x3f1b05};});this[_0x1278b6(0x538)](),this[_0x1278b6(0x496)](this[_0x1278b6(0x523)]['onMissedChangesetFetched'](_0x57cd1b)),this['_unlockTransition']();}[_0x4ef07c(0x2d4)](){var _0x207177=_0x4ef07c;this[_0x207177(0x538)](),this[_0x207177(0x496)](this['_state'][_0x207177(0x544)]()),this[_0x207177(0x288)]();}[_0x4ef07c(0x39c)](_0x5e2039=!0x1){var _0x23f39e=_0x4ef07c;this[_0x23f39e(0x538)](),this[_0x23f39e(0x496)](this[_0x23f39e(0x523)][_0x23f39e(0x3af)]()),this[_0x23f39e(0x288)]();const _0x93ddbf=this[_0x23f39e(0x523)];_0x5e2039&&_0x93ddbf instanceof _0x2c717a['SyncedState']&&(this['_lockTransition'](),this[_0x23f39e(0x496)](_0x93ddbf['fetchMiss']()),this[_0x23f39e(0x288)]());}async[_0x4ef07c(0x210)](){return new Promise(_0x62a308=>{var _0x499fef=_0x4d6f;this[_0x499fef(0x54f)]['sessionStatus$'][_0x499fef(0x50f)](_0x49c451['take'](0x1))['subscribe'](async _0x3125bc=>{_0x62a308(await this['_createInitialStateImpl'](_0x3125bc===_0x14cf5c['ONLINE']));});});}[_0x4ef07c(0x463)](){const _0x3311b2=this['unitID'];return{'onStateChange':(_0xc3bbdb,_0x5146b9)=>{var _0xb576ae=_0x4d6f;if(_0xc3bbdb!==this[_0xb576ae(0x523)])throw new Error(_0xb576ae(0x366)+_0xc3bbdb[_0xb576ae(0x45c)]+'\x0aAfter:\x20'+_0x5146b9[_0xb576ae(0x45c)]+'\x0aCurrent:\x20'+this[_0xb576ae(0x523)][_0xb576ae(0x45c)]);this['_updateState'](_0x5146b9);},'onSendChangeset':_0x3dc618=>{var _0x37e30c=_0x4d6f;_0x3dc618[_0x37e30c(0x33e)]||(_0x3dc618[_0x37e30c(0x33e)]=this[_0x37e30c(0x27d)],_0x3dc618['reqId']=++this[_0x37e30c(0x555)]);const _0x3c0c2a={'eventID':_0x9d3528['CollaborationEvent'][_0x37e30c(0x543)],'data':{'unitID':_0x3dc618[_0x37e30c(0x3f1)],'unitType':this[_0x37e30c(0x4e5)],'changeset':_0x3dc618,'memberID':this[_0x37e30c(0x54f)]['getMemberID']()}};this[_0x37e30c(0x54f)]['send'](_0x3c0c2a,this['unitID']);},'onMissingChangesets':({from:_0x2a11f4,to:_0x1aa286})=>{var _0xb18f06=_0x4d6f;this['_logService'][_0xb18f06(0x3a5)](_0xb18f06(0x26d),_0xb18f06(0x4ac)+_0x2a11f4+_0xb18f06(0x2f1)+_0x1aa286);const _0x23a09f={'eventID':_0x9d3528[_0xb18f06(0x328)]['FETCH_MISSING'],'data':{'unitID':_0x3311b2,'unitType':this[_0xb18f06(0x4e5)],'from':_0x2a11f4,'to':_0x1aa286}};this[_0xb18f06(0x54f)][_0xb18f06(0x26e)](_0x23a09f,this['unitID']);}};}async[_0x4ef07c(0x3b6)](_0x3eb9a3){var _0x28b4c0=_0x4ef07c,_0x49ab65,_0x4640b6,_0x2648f2;const _0x1ef185=await((_0x49ab65=this[_0x28b4c0(0x4d9)])==null?void 0x0:_0x49ab65[_0x28b4c0(0x325)](this['unitID'])),_0x5a5cc2=(_0x4640b6=_0x1ef185==null?void 0x0:_0x1ef185[_0x28b4c0(0x519)])!=null?_0x4640b6:[],_0x31a60c=(_0x2648f2=_0x1ef185==null?void 0x0:_0x1ef185[_0x28b4c0(0x28b)])!=null?_0x2648f2:null,_0x2f8826=!!(_0x31a60c!=null&&_0x31a60c[_0x28b4c0(0x33e)])&&!!(_0x31a60c!=null&&_0x31a60c[_0x28b4c0(0x2c8)]);this[_0x28b4c0(0x27d)]=_0x2f8826?_0x31a60c[_0x28b4c0(0x33e)]:_0x9d3528[_0x28b4c0(0x4fb)](),this[_0x28b4c0(0x555)]=_0x2f8826?_0x31a60c[_0x28b4c0(0x2c8)]:0x0;const _0x546cd0=this[_0x28b4c0(0x3f1)];try{this[_0x28b4c0(0x45d)](_0x31a60c,_0x5a5cc2);}catch(_0x2af8a4){this[_0x28b4c0(0x1df)]['error'](_0x2af8a4);}const _0x5ac864=this[_0x28b4c0(0x463)]();if(_0x3eb9a3){const _0x2b236b=_0x107772(this[_0x28b4c0(0x3b3)],_0x546cd0,this[_0x28b4c0(0x4e5)],_0x31a60c,_0x5a5cc2,_0x5ac864);return _0x2b236b instanceof _0x2c717a[_0x28b4c0(0x43c)]?_0x2b236b[_0x28b4c0(0x264)]():(_0x2b236b instanceof _0x2c717a['AwaitingWithPendingState']||_0x2b236b instanceof _0x2c717a[_0x28b4c0(0x4b1)])&&_0x2b236b[_0x28b4c0(0x2c2)](),_0x2b236b;}return this['_injector'][_0x28b4c0(0x3cd)](_0x2c717a['OfflineState'],_0x546cd0,this[_0x28b4c0(0x4e5)],_0x31a60c,_0x5a5cc2,_0x5ac864);}['_replayCachedMutations'](_0x4f848f,_0x418489){var _0x4cfaa3=_0x4ef07c,_0x50f213,_0x1dcfbf;const _0x17efc1=this[_0x4cfaa3(0x488)][_0x4cfaa3(0x1fa)][_0x4cfaa3(0x493)](this['_compressMutationService'][_0x4cfaa3(0x1fa)][_0x4cfaa3(0x4c4)]()[_0x4cfaa3(0x4a0)]);(_0x50f213=_0x17efc1((_0x4f848f==null?void 0x0:_0x4f848f[_0x4cfaa3(0x519)])||[],null))==null||_0x50f213[_0x4cfaa3(0x482)](_0x4172f1=>this[_0x4cfaa3(0x2e6)][_0x4cfaa3(0x41a)](_0x4172f1['id'],_0x4172f1[_0x4cfaa3(0x308)])),(_0x1dcfbf=_0x17efc1(_0x418489||[],null))==null||_0x1dcfbf[_0x4cfaa3(0x482)](_0x181f09=>this[_0x4cfaa3(0x2e6)][_0x4cfaa3(0x41a)](_0x181f09['id'],_0x181f09['params']));}},_0x2c717a[_0x4ef07c(0x2b0)]=_0xcc55ce([_0x748969(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x748969(0x4,_0x5a87f6['Inject'](_0x9d3528[_0x4ef07c(0x52a)])),_0x748969(0x5,_0x5a87f6['Inject'](_0x5a87f6['LocaleService'])),_0x748969(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x748969(0x7,_0x5a87f6['Inject'](_0x596edb)),_0x748969(0x8,_0x5a87f6[_0x4ef07c(0x32b)]),_0x748969(0x9,_0x5a87f6[_0x4ef07c(0x546)]),_0x748969(0xa,_0x5a87f6[_0x4ef07c(0x217)]),_0x748969(0xb,_0x5a87f6[_0x4ef07c(0x53b)]),_0x748969(0xc,_0x5a87f6[_0x4ef07c(0x2fb)](_0x53cb33)),_0x748969(0xd,_0x5a87f6['Optional'](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x2b0)]),_0x2c717a[_0x4ef07c(0x4ae)]=class extends _0x2c717a[_0x4ef07c(0x2b0)]{constructor(_0xc08884,_0xa0c65c,_0x4d92f4,_0x91ff85,_0x2b57e8,_0x2b9eef,_0x40002f,_0x3a6eec,_0x258c1b,_0x1ace60,_0x42083b,_0x40dedd,_0x2372a5,_0x58392d){var _0x358ab0=_0x4ef07c;super(_0xc08884,_0x4d92f4,_0xa0c65c,_0x91ff85,_0x2b57e8,_0x2b9eef,_0x40002f,_0x3a6eec,_0x258c1b,_0x1ace60,_0x42083b,_0x40dedd,_0x2372a5,_0x58392d),_0x27ebba(this,_0x358ab0(0x51f),null),(this['unitID']=_0xc08884,this[_0x358ab0(0x527)]=_0xa0c65c);}[_0x4ef07c(0x42b)](_0x2c03b4){var _0x2c4303=_0x4ef07c;this[_0x2c4303(0x51f)]=_0x2c03b4;}['dispose'](){var _0x49505d=_0x4ef07c;this[_0x49505d(0x51f)]=null,super[_0x49505d(0x35b)]();}[_0x4ef07c(0x463)](){var _0x286313=_0x4ef07c;const _0x6d552=super['_createHandler']();return _0x6d552[_0x286313(0x497)]=_0x233a4b=>{var _0x3d6dc6=_0x286313,_0x3ee7d6,_0xdab0ca;return(_0xdab0ca=(_0x3ee7d6=this[_0x3d6dc6(0x51f)])==null?void 0x0:_0x3ee7d6[_0x3d6dc6(0x497)])==null?void 0x0:_0xdab0ca[_0x3d6dc6(0x24b)](_0x3ee7d6,_0x233a4b);},_0x6d552[_0x286313(0x3df)]=_0x29add5=>{var _0x3e12a2=_0x286313,_0x55dd7f,_0x4eb9e0;return(_0x4eb9e0=(_0x55dd7f=this[_0x3e12a2(0x51f)])==null?void 0x0:_0x55dd7f[_0x3e12a2(0x3df)])==null?void 0x0:_0x4eb9e0[_0x3e12a2(0x24b)](_0x55dd7f,_0x29add5);},_0x6d552[_0x286313(0x2f0)]=_0x2260e7=>{var _0x3aac43=_0x286313,_0xdb7fc1,_0x34fc9e;return(_0x34fc9e=(_0xdb7fc1=this[_0x3aac43(0x51f)])==null?void 0x0:_0xdb7fc1['onTransformSelections'])==null?void 0x0:_0x34fc9e[_0x3aac43(0x24b)](_0xdb7fc1,_0x2260e7);},_0x6d552[_0x286313(0x3c0)]=_0x46e3a1=>{var _0x164078=_0x286313,_0x1a2c40,_0x34777d;return(_0x34777d=(_0x1a2c40=this['_handlerCallback'])==null?void 0x0:_0x1a2c40[_0x164078(0x3c0)])==null?void 0x0:_0x34777d[_0x164078(0x24b)](_0x1a2c40,_0x46e3a1);},_0x6d552[_0x286313(0x3d4)]=_0x40ed0a=>{var _0x19c96d=_0x286313,_0x539257,_0x494bf9,_0x3966d2;if(!((_0x539257=this[_0x19c96d(0x51f)])!=null&&_0x539257[_0x19c96d(0x3d4)]))throw new Error(_0x19c96d(0x201));return(_0x3966d2=(_0x494bf9=this[_0x19c96d(0x51f)])==null?void 0x0:_0x494bf9[_0x19c96d(0x3d4)])==null?void 0x0:_0x3966d2[_0x19c96d(0x24b)](_0x494bf9,_0x40ed0a);},_0x6d552[_0x286313(0x561)]=_0x3ff5cd=>{var _0x43e4a6=_0x286313,_0xd87f2c,_0x53e78b,_0x580199;if(!((_0xd87f2c=this[_0x43e4a6(0x51f)])!=null&&_0xd87f2c['onTransformRemoteChangesetByStateCache']))throw new Error(_0x43e4a6(0x477));return(_0x580199=(_0x53e78b=this[_0x43e4a6(0x51f)])==null?void 0x0:_0x53e78b[_0x43e4a6(0x561)])==null?void 0x0:_0x580199['call'](_0x53e78b,_0x3ff5cd);},_0x6d552;}async[_0x4ef07c(0x3da)](){var _0x489484=_0x4ef07c;const _0x307a45=await super[_0x489484(0x3da)]();return this[_0x489484(0x4bb)](this['_commandService'][_0x489484(0x324)]((_0x189a76,_0x833ab9)=>{var _0x53d7f7=_0x489484;if(_0x189a76[_0x53d7f7(0x527)]!==_0x5a87f6['CommandType'][_0x53d7f7(0x372)]||_0x833ab9!=null&&_0x833ab9[_0x53d7f7(0x2bf)]||_0x833ab9!=null&&_0x833ab9[_0x53d7f7(0x37a)]||_0x189a76['id']===_0x48d960[_0x53d7f7(0x410)]['id'])return;const _0xbf7220=_0x189a76['params'];if((_0xbf7220==null?void 0x0:_0xbf7220[_0x53d7f7(0x3e0)])!==this[_0x53d7f7(0x3f1)])return;const _0x1e69c1=_0x189a76,_0xfee00c=this[_0x53d7f7(0x488)][_0x53d7f7(0x1fa)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x53d7f7(0x4c4)]()['COMPRESS_MUTATION_SEND'])([_0x1e69c1],this[_0x53d7f7(0x25a)])||[_0x1e69c1];this['_onLocalMutation'](_0xfee00c[0x0]);})),_0x307a45;}},_0x2c717a[_0x4ef07c(0x4ae)]=_0xcc55ce([_0x748969(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x748969(0x4,_0x5a87f6['Inject'](_0x9d3528['CompressMutationService'])),_0x748969(0x5,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x44c)])),_0x748969(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x748969(0x7,_0x5a87f6['Inject'](_0x596edb)),_0x748969(0x8,_0x5a87f6['IUniverInstanceService']),_0x748969(0x9,_0x5a87f6[_0x4ef07c(0x546)]),_0x748969(0xa,_0x5a87f6[_0x4ef07c(0x217)]),_0x748969(0xb,_0x5a87f6[_0x4ef07c(0x53b)]),_0x748969(0xc,_0x5a87f6[_0x4ef07c(0x2fb)](_0x53cb33)),_0x748969(0xd,_0x5a87f6['Optional'](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x4ae)]),_0x2c717a[_0x4ef07c(0x495)]=class extends _0x2c717a[_0x4ef07c(0x2b0)]{constructor(_0x213d7a,_0x33849f,_0x3be4e0,_0xac582f,_0x199b12,_0x3af272,_0x1dd5ec,_0x34f5a3,_0x13dc21,_0x300f93,_0x2b99a3,_0x2f0646,_0x4cf845,_0x1d6359,_0x45eab0){var _0x42ab80=_0x4ef07c;super(_0x213d7a,_0x3be4e0,_0x33849f,_0xac582f,_0x199b12,_0x3af272,_0x1dd5ec,_0x13dc21,_0x300f93,_0x2b99a3,_0x2f0646,_0x4cf845,_0x1d6359,_0x45eab0),this['unitID']=_0x213d7a,this['type']=_0x33849f,this[_0x42ab80(0x318)]=_0x34f5a3;}['_createHandler'](){var _0x2a13c1=_0x4ef07c;const _0x23e241=super[_0x2a13c1(0x463)]();return _0x23e241[_0x2a13c1(0x2f0)]=_0x2b26ce=>this[_0x2a13c1(0x318)][_0x2a13c1(0x208)](_0x2b26ce),_0x23e241;}async['_init'](){var _0x4e95e1=_0x4ef07c;const _0x40f540=await super[_0x4e95e1(0x3da)]();return this[_0x4e95e1(0x4bb)](this[_0x4e95e1(0x2e6)]['onMutationExecutedForCollab']((_0x250462,_0xf2d35a)=>{var _0x1ffe87=_0x4e95e1;if(_0x250462[_0x1ffe87(0x527)]!==_0x5a87f6[_0x1ffe87(0x481)][_0x1ffe87(0x372)]||_0xf2d35a!=null&&_0xf2d35a[_0x1ffe87(0x2bf)]||_0xf2d35a!=null&&_0xf2d35a[_0x1ffe87(0x37a)])return;const _0x4f695e=_0x250462[_0x1ffe87(0x308)];if((_0x4f695e==null?void 0x0:_0x4f695e['unitId'])!==this[_0x1ffe87(0x3f1)])return;const _0x4818d4=_0x250462,_0x1c11c8=this[_0x1ffe87(0x488)][_0x1ffe87(0x1fa)][_0x1ffe87(0x493)](this[_0x1ffe87(0x488)][_0x1ffe87(0x1fa)][_0x1ffe87(0x4c4)]()[_0x1ffe87(0x2a1)])([_0x4818d4],this[_0x1ffe87(0x25a)])||[_0x4818d4];this[_0x1ffe87(0x528)](_0x1c11c8[0x0]);})),_0x40f540;}},_0x2c717a[_0x4ef07c(0x495)]=_0xcc55ce([_0x748969(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x748969(0x4,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x52a)])),_0x748969(0x5,_0x5a87f6['Inject'](_0x5a87f6[_0x4ef07c(0x44c)])),_0x748969(0x6,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1f2)])),_0x748969(0x7,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a[_0x4ef07c(0x483)])),_0x748969(0x8,_0x5a87f6[_0x4ef07c(0x2f6)](_0x596edb)),_0x748969(0x9,_0x5a87f6[_0x4ef07c(0x32b)]),_0x748969(0xa,_0x5a87f6[_0x4ef07c(0x546)]),_0x748969(0xb,_0x5a87f6[_0x4ef07c(0x217)]),_0x748969(0xc,_0x5a87f6['IPermissionService']),_0x748969(0xd,_0x5a87f6[_0x4ef07c(0x2fb)](_0x53cb33)),_0x748969(0xe,_0x5a87f6['Optional'](_0x11ccb1))],_0x2c717a[_0x4ef07c(0x495)]);const _0x369ad3=_0x5a87f6[_0x4ef07c(0x2f7)](_0x4ef07c(0x558));function _0x3e784f(_0x77aab9){var _0x578c62=_0x4ef07c,_0xd007ad,_0x34148f,_0x37657d,_0x19fde9,_0x4db7b0;const _0x1ffd8d=_0x77aab9[_0x578c62(0x511)],_0x126968=JSON[_0x578c62(0x55e)](_0x1ffd8d);switch(_0x126968['cmd']){case _0x529cbe['HEARTBEAT']:case _0x529cbe['HELLO']:{const _0x126926=_0x126968[_0x578c62(0x49d)];return{..._0x126968,'data':_0x126926,'cmd':_0x126968[_0x578c62(0x33a)]};}case _0x529cbe[_0x578c62(0x1dd)]:{const _0x19b008=_0x126968[_0x578c62(0x230)];return{..._0x126968,'data':_0x19b008,'cmd':_0x126968[_0x578c62(0x33a)]};}case _0x529cbe[_0x578c62(0x38b)]:{const _0x2f14ff=_0x126968['collaMsg'];switch(_0x2f14ff['eventID']){case _0x9d3528[_0x578c62(0x328)]['PERMISSION_REJ']:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0xd007ad=_0x2f14ff[_0x578c62(0x396)])==null?void 0x0:_0xd007ad['cs']},'cmd':_0x126968['cmd']};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x258)]:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0x34148f=_0x2f14ff[_0x578c62(0x33c)])==null?void 0x0:_0x34148f['cs']},'cmd':_0x126968['cmd']};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x55d)]:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0x37657d=_0x2f14ff['newCsEvent'])==null?void 0x0:_0x37657d['cs']},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)]['CHANGESET_REJ']:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0x19fde9=_0x2f14ff['csRejEvent'])==null?void 0x0:_0x19fde9['cs']},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x31d)]:return{..._0x126968,'data':{..._0x2f14ff,'data':(_0x4db7b0=_0x2f14ff[_0x578c62(0x1e0)])==null?void 0x0:_0x4db7b0['cs']},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x237)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x30b)]},'cmd':_0x126968['cmd']};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x25e)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x3fe)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x388)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x4e8)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528['CollaborationEvent'][_0x578c62(0x251)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x3c4)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528['CollaborationEvent'][_0x578c62(0x1c5)]:case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x4b4)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff['liveShareOperation']},'cmd':_0x126968['cmd']};case _0x9d3528['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x3c4)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x303)]:return{..._0x126968,'data':_0x2f14ff,'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x2ca)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x20c)]},'cmd':_0x126968['cmd']};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x492)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff['updatePermissionObjEvent']},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)][_0x578c62(0x351)]:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff[_0x578c62(0x213)]},'cmd':_0x126968[_0x578c62(0x33a)]};case _0x9d3528[_0x578c62(0x328)]['UNISCRIPT_RUN']:return{..._0x126968,'data':{..._0x2f14ff,'data':_0x2f14ff['uniscriptRunEvent']},'cmd':_0x126968[_0x578c62(0x33a)]};default:return _0x126968;}}default:return _0x126968;}}function _0xd1ca62(_0x2407c2){var _0x3d1a8f=_0x4ef07c;switch(_0x2407c2[_0x3d1a8f(0x33a)]){case _0x529cbe[_0x3d1a8f(0x414)]:case _0x529cbe[_0x3d1a8f(0x4f4)]:return JSON[_0x3d1a8f(0x49b)]({'cmd':_0x2407c2[_0x3d1a8f(0x33a)],'routeKey':_0x2407c2[_0x3d1a8f(0x3ad)]});case _0x529cbe[_0x3d1a8f(0x2f8)]:{let _0x5512d3;switch(_0x2407c2[_0x3d1a8f(0x511)]['eventID']){case _0x9d3528['CollaborationEvent'][_0x3d1a8f(0x237)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x237)],'updateCursorEvent':_0x2407c2[_0x3d1a8f(0x511)]['data']};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x388)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)]['USERS_LEAVE'],'leaveEvent':_0x2407c2[_0x3d1a8f(0x511)][_0x3d1a8f(0x511)]};break;}case _0x9d3528['CollaborationEvent'][_0x3d1a8f(0x25e)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x25e)],'joinEvent':_0x2407c2[_0x3d1a8f(0x511)]['data']};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x251)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x251)],'liveShareNewHost':_0x2407c2[_0x3d1a8f(0x511)]['data']};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x4b4)]:{_0x5512d3={'eventID':_0x9d3528['CollaborationEvent'][_0x3d1a8f(0x4b4)],'liveShareOperation':_0x2407c2[_0x3d1a8f(0x511)][_0x3d1a8f(0x511)]};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x30a)]:{_0x5512d3={'eventID':_0x9d3528['CollaborationEvent'][_0x3d1a8f(0x30a)],'liveShareTerminate':_0x2407c2[_0x3d1a8f(0x511)][_0x3d1a8f(0x511)]};break;}case _0x9d3528[_0x3d1a8f(0x328)][_0x3d1a8f(0x296)]:{_0x5512d3={'eventID':_0x9d3528[_0x3d1a8f(0x328)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2407c2[_0x3d1a8f(0x511)][_0x3d1a8f(0x511)]};break;}case _0x9d3528['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x5512d3={'eventID':_0x9d3528['CollaborationEvent'][_0x3d1a8f(0x1c5)]};break;}default:_0x5512d3={'eventID':_0x2407c2[_0x3d1a8f(0x511)]['eventID']};}return JSON[_0x3d1a8f(0x49b)]({'cmd':_0x2407c2['cmd'],'routeKey':_0x2407c2['routeKey'],'collaMsg':_0x5512d3});}case _0x529cbe['JOIN']:return JSON[_0x3d1a8f(0x49b)]({'cmd':_0x2407c2[_0x3d1a8f(0x33a)],'routeKey':_0x2407c2[_0x3d1a8f(0x3ad)],'joinReq':_0x2407c2[_0x3d1a8f(0x511)]});case _0x529cbe[_0x3d1a8f(0x51d)]:return JSON[_0x3d1a8f(0x49b)]({'cmd':_0x2407c2[_0x3d1a8f(0x33a)],'routeKey':_0x2407c2[_0x3d1a8f(0x3ad)],'leaveReq':_0x2407c2['data']});default:throw new Error(_0x3d1a8f(0x470));}}var _0x52355b=Object[_0x4ef07c(0x4b2)],_0x5f3dc5=(_0x1232c7,_0x942d3e,_0xccc4c6,_0x4c0a3b)=>{var _0x1982b4=_0x4ef07c;for(var _0x15dda0=_0x4c0a3b>0x1?void 0x0:_0x4c0a3b?_0x52355b(_0x942d3e,_0xccc4c6):_0x942d3e,_0x392465=_0x1232c7[_0x1982b4(0x3aa)]-0x1,_0x295a63;_0x392465>=0x0;_0x392465--)(_0x295a63=_0x1232c7[_0x392465])&&(_0x15dda0=_0x295a63(_0x15dda0)||_0x15dda0);return _0x15dda0;},_0x38e5be=(_0x3a71cb,_0x44e22e)=>(_0x3efb57,_0x2eb4df)=>_0x44e22e(_0x3efb57,_0x2eb4df,_0x3a71cb);const _0x2ab6d6=_0x5a87f6[_0x4ef07c(0x2f7)](_0x4ef07c(0x355));function _0x3ea35d(_0x21a9e5,_0x37df22,_0x9eec8a){var _0x1c527a=_0x4ef07c;return _0x21a9e5+'/'+_0x37df22+_0x1c527a(0x30d)+_0x9eec8a+_0x1c527a(0x4ed);}_0x2c717a[_0x4ef07c(0x3e1)]=class extends _0x5a87f6['Disposable']{constructor(_0xa666c1,_0x310462,_0x36a570,_0x16a73a,_0x20c3c5){var _0xbfae07=_0x4ef07c;super(),this['_injector']=_0xa666c1,this[_0xbfae07(0x397)]=_0x310462,this[_0xbfae07(0x238)]=_0x36a570,this['_logService']=_0x16a73a,this[_0xbfae07(0x1f1)]=_0x20c3c5;}[_0x4ef07c(0x3a6)](_0x25bc22){var _0x2f46f8=_0x4ef07c;const _0x9acaee=this[_0x2f46f8(0x3b3)][_0x2f46f8(0x47e)](_0x3f793f[_0x2f46f8(0x2af)]);if(!_0x9acaee)throw new Error(_0x2f46f8(0x4f2));const _0x29e938=_0x9acaee[_0x2f46f8(0x415)](_0x25bc22);if(!_0x29e938)throw new Error(_0x2f46f8(0x359));const _0x4386d1=new _0x5a87f6[(_0x2f46f8(0x448))](),_0x44bf69=new _0x49c451['Subject']();_0x4386d1[_0x2f46f8(0x1da)](_0x29e938[_0x2f46f8(0x255)][_0x2f46f8(0x2ce)](_0x5b2662=>_0x44bf69[_0x2f46f8(0x534)](_0x5b2662))),_0x4386d1['add'](_0x5a87f6[_0x2f46f8(0x2c5)](()=>_0x44bf69[_0x2f46f8(0x49e)]()));const _0x31879c=new _0x49c451[(_0x2f46f8(0x34d))]();_0x4386d1[_0x2f46f8(0x1da)](_0x29e938[_0x2f46f8(0x1d1)]['subscribe'](_0x662551=>_0x31879c[_0x2f46f8(0x534)](_0x662551))),_0x4386d1[_0x2f46f8(0x1da)](_0x5a87f6[_0x2f46f8(0x2c5)](()=>_0x31879c[_0x2f46f8(0x49e)]()));const _0x584981=new _0x49c451['Subject']();_0x4386d1[_0x2f46f8(0x1da)](_0x29e938['message$'][_0x2f46f8(0x2ce)](_0x20dc07=>{const _0x2123d9=_0x3e784f(_0x20dc07);_0x584981['next'](_0x2123d9);})),_0x4386d1[_0x2f46f8(0x1da)](_0x5a87f6[_0x2f46f8(0x2c5)](()=>_0x584981['complete']()));let _0x3f4138;const _0x4db3db=()=>{var _0x4b27d0=_0x2f46f8;_0x31879c[_0x4b27d0(0x534)](new Event(_0x4b27d0(0x2a7))),_0x44bf69[_0x4b27d0(0x534)](new Event(_0x4b27d0(0x2a7))),_0x3f4138['close']();};return _0x3f4138={'memberID':'','close$':_0x44bf69[_0x2f46f8(0x245)](),'error$':_0x31879c[_0x2f46f8(0x245)](),'open$':_0x29e938[_0x2f46f8(0x3fd)],'message$':_0x584981[_0x2f46f8(0x245)](),'send':_0x2c39ea=>{var _0xaa42bc=_0x2f46f8;if(_0x2c39ea[_0xaa42bc(0x33a)]===_0x529cbe[_0xaa42bc(0x2f8)]){if(_0x2c39ea[_0xaa42bc(0x511)][_0xaa42bc(0x3f7)]===_0x9d3528[_0xaa42bc(0x328)][_0xaa42bc(0x543)]){this[_0xaa42bc(0x358)](_0x3f4138,_0x2c39ea[_0xaa42bc(0x511)])['catch'](_0x2ff0ea=>{var _0x4628a0=_0xaa42bc;this['_logService'][_0x4628a0(0x456)](_0x2ff0ea),_0x4db3db();});return;}if(_0x2c39ea[_0xaa42bc(0x511)][_0xaa42bc(0x3f7)]===_0x9d3528['CollaborationEvent']['FETCH_MISSING']){const _0x1734d7=_0x2c39ea['data'];this[_0xaa42bc(0x4cc)](_0x1734d7)[_0xaa42bc(0x376)](_0x5ee351=>{var _0x39cf9d=_0xaa42bc;_0x584981[_0x39cf9d(0x534)]({'cmd':_0x529cbe[_0x39cf9d(0x38b)],'code':_0x488bd0['OK'],'routeKey':_0x1734d7[_0x39cf9d(0x511)][_0x39cf9d(0x3f1)],'routeType':'','data':{'eventID':_0x9d3528[_0x39cf9d(0x328)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5ee351}}});})['catch'](_0x419afe=>{var _0x21f44e=_0xaa42bc;this['_logService'][_0x21f44e(0x456)](_0x419afe),_0x4db3db();});return;}}_0x29e938['send'](_0xd1ca62(_0x2c39ea));},'close':()=>{var _0x1bee9b=_0x2f46f8;_0x29e938[_0x1bee9b(0x3dc)](),_0x4386d1[_0x1bee9b(0x35b)]();}},_0x3f4138;}async[_0x4ef07c(0x358)](_0x1c3aa5,_0x514b03){var _0x85a3b6=_0x4ef07c,_0x26081d;const {unitType:_0x4d0a79,unitID:_0x3de201,changeset:_0x413c8a}=_0x514b03[_0x85a3b6(0x511)],_0x40cb34={'unitID':_0x3de201,'memberID':_0x1c3aa5['memberID'],'type':_0x4d0a79,'changeset':_0x9d3528[_0x85a3b6(0x1ed)](_0x413c8a)},_0x2cd70b=this['_configService'][_0x85a3b6(0x4e3)](_0x50bbc4),_0xfe7886=_0x3ea35d((_0x26081d=_0x2cd70b==null?void 0x0:_0x2cd70b[_0x85a3b6(0x26b)])!=null?_0x26081d:_0x12cea0,_0x4d0a79,_0x3de201);try{await this['_httpService']['post'](_0xfe7886,{'body':_0x40cb34});}catch(_0x4d96e0){throw this[_0x85a3b6(0x1df)]['error'](_0x85a3b6(0x227),_0x85a3b6(0x4e0)),_0x4d96e0;}}async[_0x4ef07c(0x4cc)](_0x3b6728){var _0x45ee8c=_0x4ef07c;const {unitID:_0x1518d2,from:_0x5d03e3,to:_0x1d9d21,unitType:_0x199d16}=_0x3b6728[_0x45ee8c(0x511)];return(await this[_0x45ee8c(0x1f1)][_0x45ee8c(0x3d5)]({'metadata':void 0x0},{'unitID':_0x1518d2,'type':_0x199d16,'from':_0x5d03e3,'to':_0x1d9d21}))[_0x45ee8c(0x437)][_0x45ee8c(0x277)](_0x4734b3=>((_0x4734b3[_0x45ee8c(0x519)]===null||_0x4734b3[_0x45ee8c(0x519)]===void 0x0)&&(_0x4734b3[_0x45ee8c(0x519)]=[]),_0x4734b3));}},_0x2c717a[_0x4ef07c(0x3e1)]=_0x5f3dc5([_0x38e5be(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x38e5be(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f['HTTPService'])),_0x38e5be(0x2,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x38e5be(0x3,_0x5a87f6['ILogService']),_0x38e5be(0x4,_0x9d3528[_0x4ef07c(0x542)])],_0x2c717a[_0x4ef07c(0x3e1)]);var _0x420b9a=Object[_0x4ef07c(0x4b2)],_0x1193c6=(_0x23d7d2,_0x1a9b0f,_0xaf65af,_0x440ff5)=>{for(var _0x6fcb16=_0x440ff5>0x1?void 0x0:_0x440ff5?_0x420b9a(_0x1a9b0f,_0xaf65af):_0x1a9b0f,_0x20296e=_0x23d7d2['length']-0x1,_0x2ba561;_0x20296e>=0x0;_0x20296e--)(_0x2ba561=_0x23d7d2[_0x20296e])&&(_0x6fcb16=_0x2ba561(_0x6fcb16)||_0x6fcb16);return _0x6fcb16;},_0x11846a=(_0x5b99d7,_0x53d250)=>(_0x135087,_0x17eada)=>_0x53d250(_0x135087,_0x17eada,_0x5b99d7);_0x2c717a['CollaborationSessionService']=class extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(_0x190446,_0x36d42f,_0x10f57c,_0x2bbc19,_0x450942,_0x42eca3){var _0x34ee5c=_0x4ef07c;super(),_0x27ebba(this,_0x34ee5c(0x3a9),new _0x49c451[(_0x34ee5c(0x32a))](void 0x0)),_0x27ebba(this,_0x34ee5c(0x2d2),this[_0x34ee5c(0x3a9)][_0x34ee5c(0x245)]()),_0x27ebba(this,'_candidateSocket',null),_0x27ebba(this,_0x34ee5c(0x4e6),new Map()),_0x27ebba(this,_0x34ee5c(0x3c1),new _0x49c451[(_0x34ee5c(0x32a))](_0x14cf5c[_0x34ee5c(0x408)])),_0x27ebba(this,_0x34ee5c(0x349),this[_0x34ee5c(0x3c1)][_0x34ee5c(0x245)]()),_0x27ebba(this,_0x34ee5c(0x489),!0x1),_0x27ebba(this,'_retryConnectingTimer'),_0x27ebba(this,'_retryCount',0x0),_0x27ebba(this,'_sendHeartbeatTimer'),_0x27ebba(this,'_timeoutTimer'),(this[_0x34ee5c(0x3b3)]=_0x190446,this[_0x34ee5c(0x1df)]=_0x36d42f,this['_configService']=_0x10f57c,this[_0x34ee5c(0x2b7)]=_0x2bbc19,this['_collaborationUIEventService']=_0x450942,this[_0x34ee5c(0x51b)]=_0x42eca3,this['_listenToNetworkCondition']());}get['_socket'](){return this['_socket$']['getValue']();}[_0x4ef07c(0x304)](){var _0x348b52=_0x4ef07c;this['_networkConditionService']&&this[_0x348b52(0x4bb)](this['_networkConditionService'][_0x348b52(0x44b)]['subscribe'](_0x4d1909=>{var _0xae4bde=_0x348b52;_0x4d1909&&!this[_0xae4bde(0x1fe)]&&this[_0xae4bde(0x1e5)](),_0x4d1909||this[_0xae4bde(0x234)]();}));}['dispose'](){var _0x488905=_0x4ef07c;super[_0x488905(0x35b)](),this['_clearRetryConnectingTimer'](),this[_0x488905(0x36e)](),this['_clearHeartbeatTimer'](),this[_0x488905(0x4e6)][_0x488905(0x482)](_0x1345a2=>_0x1345a2[_0x488905(0x35b)]()),this['_sessions']['clear'](),this[_0x488905(0x3c1)][_0x488905(0x49e)]();}async[_0x4ef07c(0x2b3)](_0x221bc7){var _0x5a4868=_0x4ef07c;if(this['_sessions']['has'](_0x221bc7))return this['_sessions']['get'](_0x221bc7);this['_tryEnsureSocket']();const _0x57e254=this[_0x5a4868(0x3b3)][_0x5a4868(0x3cd)](_0x2c717a[_0x5a4868(0x459)],_0x221bc7,this['_socket$'][_0x5a4868(0x245)]());return this['_sessions'][_0x5a4868(0x3bc)](_0x221bc7,_0x57e254),_0x57e254;}['closeSession'](_0x2cb74e){var _0x2a4326=_0x4ef07c,_0x4b27e1;const _0x5e0cc8=this[_0x2a4326(0x4e6)]['get'](_0x2cb74e);_0x5e0cc8&&(this[_0x2a4326(0x4e6)]['delete'](_0x2cb74e),_0x5e0cc8[_0x2a4326(0x3dc)]()),this['_sessions'][_0x2a4326(0x2ae)]||(_0x4b27e1=this['_socket'])==null||_0x4b27e1['close']();}[_0x4ef07c(0x1e5)](){var _0x54d9a4=_0x4ef07c;this[_0x54d9a4(0x4d4)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x54d9a4(0x552)]();}[_0x4ef07c(0x428)](){var _0x449cb0=_0x4ef07c;this[_0x449cb0(0x4d5)]!=null&&(clearTimeout(this[_0x449cb0(0x4d5)]),this[_0x449cb0(0x4d5)]=null);}async['_createSocket'](){var _0x37f0ea=_0x4ef07c,_0x4d9b97;const _0x10d765=this['_configService'][_0x37f0ea(0x4e3)](_0x50bbc4),_0x59c37b=(_0x4d9b97=_0x10d765==null?void 0x0:_0x10d765[_0x37f0ea(0x450)])!=null?_0x4d9b97:_0x3de4fd,_0x351343=await this[_0x37f0ea(0x2b7)][_0x37f0ea(0x415)](_0x59c37b);return this[_0x37f0ea(0x301)]=_0x351343,_0x351343;}async[_0x4ef07c(0x54a)](){var _0x323fb1=_0x4ef07c,_0x5ee4cd,_0x234423;try{const _0x595c9c=(_0x234423=(_0x5ee4cd=this[_0x323fb1(0x1fe)])!=null?_0x5ee4cd:this[_0x323fb1(0x301)])!=null?_0x234423:await this[_0x323fb1(0x44e)]();if(_0x595c9c){const _0x4b31fb=_0x595c9c[_0x323fb1(0x26e)];_0x595c9c[_0x323fb1(0x26e)]=_0x146c00=>(this[_0x323fb1(0x327)](),_0x4b31fb[_0x323fb1(0x3ac)](_0x595c9c,[_0x146c00])),_0x595c9c[_0x323fb1(0x436)][_0x323fb1(0x2ce)](_0x3552a0=>this[_0x323fb1(0x276)](_0x595c9c,_0x3552a0)),_0x595c9c[_0x323fb1(0x1d1)][_0x323fb1(0x50f)](_0xf159a2[_0x323fb1(0x1cb)](0x1))[_0x323fb1(0x2ce)](_0x501dce=>this['_logService'][_0x323fb1(0x456)](_0x323fb1(0x4b6),_0x501dce)),_0x595c9c[_0x323fb1(0x3fd)]['pipe'](_0xf159a2[_0x323fb1(0x1cb)](0x1))[_0x323fb1(0x2ce)](()=>{var _0x523122=_0x323fb1;this[_0x523122(0x373)](_0x595c9c);}),_0x595c9c[_0x323fb1(0x255)][_0x323fb1(0x50f)](_0xf159a2[_0x323fb1(0x1cb)](0x1))[_0x323fb1(0x2ce)](_0x4ea434=>{var _0x1c5f6d=_0x323fb1;this[_0x1c5f6d(0x1df)]['debug'](_0x1c5f6d(0x4db),_0x1c5f6d(0x2ac),_0x4ea434),this[_0x1c5f6d(0x44f)]();});}}catch(_0x2b7441){this[_0x323fb1(0x1df)][_0x323fb1(0x456)](_0x2b7441),this[_0x323fb1(0x44f)]();}}['_onConnectionOpen'](_0xfc54fb){var _0x5553d8=_0x4ef07c;this[_0x5553d8(0x1df)][_0x5553d8(0x3a5)](_0x5553d8(0x4db),_0x5553d8(0x35d)),_0xfc54fb['send']({'cmd':_0x529cbe[_0x5553d8(0x4f4)]}),this['_rescheduleHeartbeat']();}[_0x4ef07c(0x234)](){var _0x5c84a4=_0x4ef07c;this[_0x5c84a4(0x489)]=!0x1,this[_0x5c84a4(0x301)]=null,this[_0x5c84a4(0x3c1)]['next'](_0x14cf5c[_0x5c84a4(0x391)]),this['_socket$'][_0x5c84a4(0x534)](null),this[_0x5c84a4(0x36e)](),this[_0x5c84a4(0x522)]();}[_0x4ef07c(0x44f)](){var _0x195fae=_0x4ef07c,_0x3ad4d8;this['_onOffline'](),this[_0x195fae(0x4d4)]<((_0x3ad4d8=this[_0x195fae(0x238)][_0x195fae(0x4e3)](_0x426cb4))!=null?_0x3ad4d8:0x3)?(this[_0x195fae(0x333)][_0x195fae(0x446)]({'id':_0x28846f[_0x195fae(0x35f)]}),this[_0x195fae(0x552)]()):this[_0x195fae(0x333)][_0x195fae(0x446)]({'id':_0x28846f[_0x195fae(0x4f7)]});}['_tryReconnect'](){var _0x2bd097=_0x4ef07c,_0x3eebea;const _0x178f4d=this[_0x2bd097(0x4d4)],_0x42d938=this[_0x2bd097(0x238)][_0x2bd097(0x4e3)](_0x50bbc4),_0x44303e=_0x178f4d===0x0?0x0:((_0x3eebea=_0x42d938==null?void 0x0:_0x42d938[_0x2bd097(0x550)])!=null?_0x3eebea:0x4e20)*0x2**_0x178f4d;this[_0x2bd097(0x4d5)]=setTimeout(()=>{var _0x902455=_0x2bd097;clearTimeout(this[_0x902455(0x4d5)]),this[_0x902455(0x4d5)]=null,this[_0x902455(0x54a)]();},_0x44303e),this[_0x2bd097(0x4d4)]+=0x1;}[_0x4ef07c(0x276)](_0x295b98,_0x4527df){var _0x19ae3f=_0x4ef07c;const {cmd:_0xe04942}=_0x4527df;_0xe04942===_0x529cbe[_0x19ae3f(0x4f4)]&&!this[_0x19ae3f(0x489)]&&(_0x295b98[_0x19ae3f(0x473)]=_0x4527df['data'][_0x19ae3f(0x473)],this[_0x19ae3f(0x3a9)][_0x19ae3f(0x534)](_0x295b98),this['_status$']['next'](_0x14cf5c['ONLINE']),this[_0x19ae3f(0x489)]=!0x0,this[_0x19ae3f(0x301)]=null),_0xe04942===_0x529cbe[_0x19ae3f(0x414)]&&this[_0x19ae3f(0x36e)](),this[_0x19ae3f(0x327)]();}[_0x4ef07c(0x327)](){var _0xf33271=_0x4ef07c,_0x317a21;this[_0xf33271(0x522)](),this[_0xf33271(0x4c0)]=setTimeout(()=>this[_0xf33271(0x228)](),(_0x317a21=this['_configService'][_0xf33271(0x4e3)](_0xe56939))!=null?_0x317a21:0x7530);}[_0x4ef07c(0x228)](){var _0x5afbd3=_0x4ef07c;this[_0x5afbd3(0x1fe)]['send']({'cmd':_0x529cbe[_0x5afbd3(0x414)]}),this[_0x5afbd3(0x3a8)]();}[_0x4ef07c(0x3a8)](){var _0x2186f3=_0x4ef07c,_0x4d5858;this[_0x2186f3(0x1ce)]=setTimeout(()=>this[_0x2186f3(0x44f)](),(_0x4d5858=this['_configService'][_0x2186f3(0x4e3)](_0x2c4727))!=null?_0x4d5858:0x4e20);}[_0x4ef07c(0x522)](){var _0x16a0d6=_0x4ef07c;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x16a0d6(0x4c0)]),this[_0x16a0d6(0x4c0)]=null);}[_0x4ef07c(0x36e)](){var _0x29a6f9=_0x4ef07c;this[_0x29a6f9(0x1ce)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x29a6f9(0x1ce)]=null);}},_0x2c717a[_0x4ef07c(0x53f)]=_0x1193c6([_0x11846a(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x11846a(0x1,_0x5a87f6[_0x4ef07c(0x546)]),_0x11846a(0x2,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x11846a(0x3,_0x2ab6d6),_0x11846a(0x4,_0x5a87f6['Inject'](_0x596edb)),_0x11846a(0x5,_0x5a87f6[_0x4ef07c(0x2fb)](_0x369ad3))],_0x2c717a[_0x4ef07c(0x53f)]);var _0x4319ac=Object[_0x4ef07c(0x4b2)],_0x36173b=(_0x2ce8ba,_0x4e3496,_0x32db85,_0x1a114e)=>{for(var _0x384f2e=_0x1a114e>0x1?void 0x0:_0x1a114e?_0x4319ac(_0x4e3496,_0x32db85):_0x4e3496,_0x73f7a=_0x2ce8ba['length']-0x1,_0x199ede;_0x73f7a>=0x0;_0x73f7a--)(_0x199ede=_0x2ce8ba[_0x73f7a])&&(_0x384f2e=_0x199ede(_0x384f2e)||_0x384f2e);return _0x384f2e;},_0x3cb26a=(_0x3e8249,_0x426311)=>(_0x45400b,_0x4233b5)=>_0x426311(_0x45400b,_0x4233b5,_0x3e8249);_0x2c717a[_0x4ef07c(0x220)]=class extends _0x5a87f6['RxDisposable']{constructor(_0x23516e,_0x187413,_0x49fce1,_0x332438){var _0x1f2af6=_0x4ef07c,_0x35d98f;super(),_0x27ebba(this,_0x1f2af6(0x4c7),new Map()),_0x27ebba(this,_0x1f2af6(0x4e2),new _0x49c451[(_0x1f2af6(0x34d))]()),_0x27ebba(this,_0x1f2af6(0x2f5),this[_0x1f2af6(0x4e2)]['asObservable']()),(this[_0x1f2af6(0x3b3)]=_0x23516e,this['_collabSessionService']=_0x187413,this['_configService']=_0x49fce1,this['_univerInstanceService']=_0x332438,((_0x35d98f=this['_configService'][_0x1f2af6(0x4e3)](_0x50bbc4))==null?void 0x0:_0x35d98f[_0x1f2af6(0x2b4)])!==!0x1&&this[_0x1f2af6(0x3da)]());}['dispose'](){var _0x43de51=_0x4ef07c;super[_0x43de51(0x35b)](),this['_entities'][_0x43de51(0x482)](_0x12204c=>_0x12204c[_0x43de51(0x35b)]()),this['_entities'][_0x43de51(0x479)]();}[_0x4ef07c(0x344)](_0x5d6390){var _0x59bf7a=_0x4ef07c,_0x57d111;return(_0x57d111=this[_0x59bf7a(0x4c7)][_0x59bf7a(0x47e)](_0x5d6390))!=null?_0x57d111:null;}[_0x4ef07c(0x2b9)](_0x25b354){var _0x4b3a73=_0x4ef07c;const _0x564d68=this[_0x4b3a73(0x344)](_0x25b354);return _0x564d68?_0x49c451['of'](_0x564d68):this['_entityInit$'][_0x4b3a73(0x50f)](_0xf159a2[_0x4b3a73(0x320)](_0x418ad5=>_0x418ad5[_0x4b3a73(0x3f1)]===_0x25b354));}['readyForCollab'](_0x3b8a01){var _0x2e1e1e=_0x4ef07c;return _0x49c451[_0x2e1e1e(0x389)](this[_0x2e1e1e(0x2b9)](_0x3b8a01)[_0x2e1e1e(0x50f)](_0xf159a2['map'](()=>{})));}[_0x4ef07c(0x3da)](){var _0x41a58f=_0x4ef07c;this[_0x41a58f(0x25a)][_0x41a58f(0x2a9)](_0x5a87f6[_0x41a58f(0x47a)]['UNIVER_SHEET'])[_0x41a58f(0x50f)](_0x49c451[_0x41a58f(0x361)](this[_0x41a58f(0x501)]),_0xf159a2[_0x41a58f(0x42e)](0x10))[_0x41a58f(0x2ce)](async _0x129be6=>{var _0xb2faed=_0x41a58f;const _0x29539d=_0x129be6['getUnitId'](),_0x537e49=await this[_0xb2faed(0x515)](_0x29539d,_0x1ac378[_0xb2faed(0x2be)]);this[_0xb2faed(0x4c7)]['set'](_0x29539d,_0x537e49);}),this[_0x41a58f(0x25a)]['getTypeOfUnitAdded$'](_0x5a87f6['UniverInstanceType'][_0x41a58f(0x41f)])[_0x41a58f(0x50f)](_0x49c451[_0x41a58f(0x361)](this[_0x41a58f(0x501)]),_0xf159a2['delay'](0x10))[_0x41a58f(0x50f)](_0xf159a2['filter'](_0x4658ea=>!_0x4658ea[_0x41a58f(0x224)]()['startsWith']('__')))[_0x41a58f(0x2ce)](async _0xcebd2f=>{var _0x535fe6=_0x41a58f;const _0x513303=_0xcebd2f['getUnitId'](),_0x201493=await this[_0x535fe6(0x515)](_0x513303,_0x1ac378[_0x535fe6(0x41f)]);this['_entities'][_0x535fe6(0x3bc)](_0x513303,_0x201493);}),_0x49c451[_0x41a58f(0x294)](this[_0x41a58f(0x25a)][_0x41a58f(0x4ba)](_0x5a87f6[_0x41a58f(0x47a)]['UNIVER_SHEET']),this[_0x41a58f(0x25a)][_0x41a58f(0x4ba)](_0x5a87f6['UniverInstanceType'][_0x41a58f(0x41f)]))[_0x41a58f(0x50f)](_0x49c451[_0x41a58f(0x361)](this['dispose$']))[_0x41a58f(0x2ce)](_0x13f9c4=>{var _0x45dbac=_0x41a58f;const _0x4fc7b0=_0x13f9c4[_0x45dbac(0x224)](),_0x45f16b=this[_0x45dbac(0x4c7)][_0x45dbac(0x47e)](_0x4fc7b0);_0x45f16b&&(_0x45f16b[_0x45dbac(0x35b)](),this['_entities'][_0x45dbac(0x45f)](_0x4fc7b0));});}async['_startCollaboration'](_0xc9990f,_0x427f3d){var _0x414715=_0x4ef07c;const _0x19375b=await this[_0x414715(0x49a)][_0x414715(0x2b3)](_0xc9990f),_0x1b6a46=this[_0x414715(0x3b3)]['createInstance'](this[_0x414715(0x262)](_0x427f3d),_0xc9990f,_0x427f3d,_0x19375b);return await _0x1b6a46[_0x414715(0x2a8)](),this[_0x414715(0x4e2)][_0x414715(0x534)](_0x1b6a46),_0x1b6a46;}[_0x4ef07c(0x262)](_0x50eb0e){var _0x3019de=_0x4ef07c;switch(_0x50eb0e){case _0x1ac378[_0x3019de(0x41f)]:return _0x2c717a['DocCollaborationEntity'];case _0x1ac378[_0x3019de(0x2be)]:return _0x2c717a['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x50eb0e);}}},_0x2c717a[_0x4ef07c(0x220)]=_0x36173b([_0x3cb26a(0x0,_0x5a87f6['Inject'](_0x5a87f6[_0x4ef07c(0x242)])),_0x3cb26a(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a[_0x4ef07c(0x53f)])),_0x3cb26a(0x2,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x3cb26a(0x3,_0x5a87f6[_0x4ef07c(0x32b)])],_0x2c717a[_0x4ef07c(0x220)]);var _0x1ddbb4=Object['getOwnPropertyDescriptor'],_0x381579=(_0x3972db,_0x41d513,_0x1aa892,_0x1809dc)=>{var _0x3c2a14=_0x4ef07c;for(var _0xbb298d=_0x1809dc>0x1?void 0x0:_0x1809dc?_0x1ddbb4(_0x41d513,_0x1aa892):_0x41d513,_0x4e1e38=_0x3972db[_0x3c2a14(0x3aa)]-0x1,_0x2b2829;_0x4e1e38>=0x0;_0x4e1e38--)(_0x2b2829=_0x3972db[_0x4e1e38])&&(_0xbb298d=_0x2b2829(_0xbb298d)||_0xbb298d);return _0xbb298d;},_0x5f2ab4=(_0x3794b0,_0x186d26)=>(_0x7a1fc3,_0x1d5f9c)=>_0x186d26(_0x7a1fc3,_0x1d5f9c,_0x3794b0);const _0x38417c=_0x4ef07c(0x319),_0x1cb4bf='Univer';let _0x401217=class extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(_0x6d339a,_0x47f614){var _0x26b048=_0x4ef07c;super(),this[_0x26b048(0x25a)]=_0x6d339a,this[_0x26b048(0x238)]=_0x47f614,this[_0x26b048(0x3da)]();}['_init'](){var _0xfebbcf=_0x4ef07c;this[_0xfebbcf(0x4bb)](this[_0xfebbcf(0x25a)][_0xfebbcf(0x215)][_0xfebbcf(0x2ce)](()=>{var _0x3eaf93=_0xfebbcf,_0x3a26da;const _0x237d81=this[_0x3eaf93(0x25a)][_0x3eaf93(0x33f)]();let _0x1b96b4=(_0x3a26da=this[_0x3eaf93(0x238)][_0x3eaf93(0x4e3)](_0x38417c))!=null?_0x3a26da:_0x1cb4bf;_0x237d81 instanceof _0x5a87f6[_0x3eaf93(0x371)]&&(_0x1b96b4=_0x237d81['name']),document[_0x3eaf93(0x434)]=_0x1b96b4;}));}};_0x401217=_0x381579([_0x5f2ab4(0x0,_0x5a87f6['IUniverInstanceService']),_0x5f2ab4(0x1,_0x5a87f6[_0x4ef07c(0x4d8)])],_0x401217);var _0x5b59c7=Object[_0x4ef07c(0x4b2)],_0x4c2709=(_0x147805,_0x3bd37b,_0x5db1c9,_0x3fe45f)=>{var _0x333f61=_0x4ef07c;for(var _0x268fab=_0x3fe45f>0x1?void 0x0:_0x3fe45f?_0x5b59c7(_0x3bd37b,_0x5db1c9):_0x3bd37b,_0x490e21=_0x147805[_0x333f61(0x3aa)]-0x1,_0x3fc6e3;_0x490e21>=0x0;_0x490e21--)(_0x3fc6e3=_0x147805[_0x490e21])&&(_0x268fab=_0x3fc6e3(_0x268fab)||_0x268fab);return _0x268fab;},_0x18752b=(_0xd45707,_0x14c299)=>(_0x3a7ca9,_0x82f394)=>_0x14c299(_0x3a7ca9,_0x82f394,_0xd45707);let _0x4d2a45=class{constructor(_0x50075f,_0x326b8f,_0x765129){var _0x50e207=_0x4ef07c;this[_0x50e207(0x238)]=_0x50075f,this[_0x50e207(0x397)]=_0x326b8f,this[_0x50e207(0x4a5)]=_0x765129,this[_0x50e207(0x2a8)]();}[_0x4ef07c(0x2a8)](){var _0x36dca1=_0x4ef07c;this[_0x36dca1(0x397)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5eca5e,_0x4f2aea)=>_0x4f2aea(_0x5eca5e)[_0x36dca1(0x50f)](_0x49c451['concatMap'](async _0x4a6c8a=>{var _0x3adb1c=_0x36dca1;const _0x3f0a64=_0x4a6c8a;if(_0x3f0a64[_0x3adb1c(0x45c)]===0x191){if(typeof window>'u')throw new Error(_0x3adb1c(0x232));if(window[_0x3adb1c(0x243)](this['localeService']['t'](_0x3adb1c(0x1ef)))){const _0x48bf87=window['encodeURIComponent'](window[_0x3adb1c(0x4dd)]['href']);window[_0x3adb1c(0x4dd)][_0x3adb1c(0x21e)]=this['_getLoginPath']()+_0x3adb1c(0x2d7)+_0x48bf87;}}return _0x3f0a64;}))});}[_0x4ef07c(0x4f8)](){var _0x28783c=_0x4ef07c,_0x4663ec;const _0x2770c8=this[_0x28783c(0x238)][_0x28783c(0x4e3)](_0x50bbc4);return(_0x4663ec=_0x2770c8==null?void 0x0:_0x2770c8[_0x28783c(0x21b)])!=null?_0x4663ec:_0x565a47;}};_0x4d2a45=_0x4c2709([_0x18752b(0x0,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x18752b(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f[_0x4ef07c(0x44d)])),_0x18752b(0x2,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x44c)]))],_0x4d2a45);var _0x54a8c8=Object[_0x4ef07c(0x4b2)],_0x2acfd3=(_0x148504,_0x2550b7,_0x46236a,_0x3177a8)=>{for(var _0x334a98=_0x3177a8>0x1?void 0x0:_0x3177a8?_0x54a8c8(_0x2550b7,_0x46236a):_0x2550b7,_0x52edcc=_0x148504['length']-0x1,_0x56c327;_0x52edcc>=0x0;_0x52edcc--)(_0x56c327=_0x148504[_0x52edcc])&&(_0x334a98=_0x56c327(_0x334a98)||_0x334a98);return _0x334a98;},_0xbee90c=(_0x3456fa,_0x28e8b8)=>(_0x45211c,_0x585356)=>_0x28e8b8(_0x45211c,_0x585356,_0x3456fa);const _0x260280='/universer-api/authz';_0x2c717a[_0x4ef07c(0x2b5)]=class extends _0x5a87f6[_0x4ef07c(0x556)]{constructor(_0x5b7936,_0x2edfdb){var _0x48097b=_0x4ef07c;super(),this[_0x48097b(0x43f)]=_0x5b7936,this['_configService']=_0x2edfdb,this[_0x48097b(0x399)]();}[_0x4ef07c(0x399)](){var _0x3009f9=_0x4ef07c;const _0x36d687=this;this['disposeWithMe'](this['_HTTPService'][_0x3009f9(0x55f)]({'priority':0x3e7,'interceptor':_0x3f793f['MergeInterceptorFactory']({'isMatch'(_0x376f58){var _0x407fbb=_0x3009f9,_0x3fa6c9;if(_0x376f58[_0x407fbb(0x30f)]===_0x407fbb(0x1f8)&&((_0x3fa6c9=_0x376f58[_0x407fbb(0x46c)])!=null&&_0x3fa6c9[_0x407fbb(0x1e4)])){const {objectID:_0x5625a2,objectType:_0x14069e}=_0x376f58[_0x407fbb(0x46c)][_0x407fbb(0x1e4)]||{};if(!_0x5625a2||_0x14069e===void 0x0)return!0x1;const _0x5b9dd9=_0x36d687[_0x407fbb(0x24e)]()+'/'+_0x14069e+'/object/'+_0x5625a2+_0x407fbb(0x316);if(_0x376f58[_0x407fbb(0x549)]===_0x5b9dd9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x205bf2){var _0x265146=_0x3009f9,_0x5288f0;return(_0x5288f0=_0x205bf2[_0x265146(0x46c)])==null?void 0x0:_0x5288f0[_0x265146(0x1e4)];},'mergeParamsToRequest'(_0x780707,_0x5e73eb){var _0x280070=_0x3009f9;const _0x34a9cb=_0x36d687[_0x280070(0x24e)]()+_0x280070(0x531),_0x35091e=_0x780707[_0x280070(0x2f3)]((_0x5e6bd2,_0x4ef864)=>{var _0x217a5d=_0x280070;const {unitID:_0x3480c4,objectID:_0x24a57c,objectType:_0x43c03d,actions:_0x46b34a}=_0x4ef864;return _0x5e6bd2[_0x3480c4]||(_0x5e6bd2[_0x3480c4]={}),_0x5e6bd2[_0x3480c4][_0x24a57c]||(_0x5e6bd2[_0x3480c4][_0x24a57c]={'objectID':_0x24a57c,'objectType':_0x43c03d,'actions':[]}),_0x5e6bd2[_0x3480c4][_0x24a57c][_0x217a5d(0x4dc)][_0x217a5d(0x306)](..._0x46b34a),_0x5e6bd2;},{}),_0x496a1c=[];for(const _0x31ab9d in _0x35091e)for(const _0x1f0264 in _0x35091e[_0x31ab9d]){const {actions:_0x33305c,objectType:_0x2cce06}=_0x35091e[_0x31ab9d][_0x1f0264],_0x54202e=[...new Set(_0x33305c)];_0x496a1c['push']({'unitID':_0x31ab9d,'objectID':_0x1f0264,'objectType':_0x2cce06,'actions':_0x54202e});}return new _0x3f793f[(_0x280070(0x3b2))](_0x280070(0x1f8),_0x34a9cb,{'headers':_0x5e73eb[_0x280070(0x28d)],'withCredentials':_0x5e73eb[_0x280070(0x4c9)],'responseType':_0x5e73eb[_0x280070(0x314)],'body':{'requests':_0x496a1c}});}},{'distributeResult'(_0x10341a,_0x295de4){var _0x25d563=_0x3009f9;const {objectActions:_0x47beb4}=_0x10341a;return _0x295de4[_0x25d563(0x277)](_0xe54574=>{var _0x4d33a4=_0x25d563;const {unitID:_0x3d6164,objectID:_0x1b5d09,actions:_0x35d6ab}=_0xe54574,_0x482a3c=_0x47beb4[_0x4d33a4(0x21a)](_0x266305=>_0x266305[_0x4d33a4(0x3f1)]===_0x3d6164&&_0x266305[_0x4d33a4(0x38e)]===_0x1b5d09),_0xd18b0d=_0x35d6ab[_0x4d33a4(0x277)](_0x134340=>_0x482a3c==null?void 0x0:_0x482a3c[_0x4d33a4(0x4dc)][_0x4d33a4(0x21a)](_0x2ab294=>_0x2ab294[_0x4d33a4(0x20a)]===_0x134340))['filter'](_0x4c0213=>!!_0x4c0213);return{'config':_0xe54574,'result':{'actions':_0xd18b0d,'error':_0x10341a[_0x4d33a4(0x456)]}};});}})}));}[_0x4ef07c(0x24e)](){var _0x4785a3=_0x4ef07c,_0x3976ae;const _0x14f02a=this['_configService'][_0x4785a3(0x4e3)](_0x50bbc4);return(_0x3976ae=_0x14f02a==null?void 0x0:_0x14f02a[_0x4785a3(0x476)])!=null?_0x3976ae:_0x260280;}async[_0x4ef07c(0x4c2)](_0x48bfcc){var _0x2ef57a=_0x4ef07c;const _0x5ddf73=this[_0x2ef57a(0x24e)]()+'/'+_0x48bfcc[_0x2ef57a(0x39f)]+_0x2ef57a(0x4ca);return(await this[_0x2ef57a(0x43f)][_0x2ef57a(0x3ff)](_0x5ddf73,{'body':_0x48bfcc}))['body']['objectID']||'';}async[_0x4ef07c(0x1ee)](_0x49141f){var _0x298f0d=_0x4ef07c;const _0x4f4feb=this[_0x298f0d(0x24e)]()+'/-/object/list';return(await this[_0x298f0d(0x43f)][_0x298f0d(0x3ff)](_0x4f4feb,{'body':_0x49141f}))[_0x298f0d(0x1e4)]['objects'];}async[_0x4ef07c(0x4f6)](_0x1ff4ae){var _0xf4a5dc=_0x4ef07c,_0x404cc1,_0x389324;const _0x3a192d=this[_0xf4a5dc(0x24e)]()+'/'+_0x1ff4ae[_0xf4a5dc(0x39f)]+'/object/'+_0x1ff4ae[_0xf4a5dc(0x38e)],_0x1d99ce=await this[_0xf4a5dc(0x43f)]['put'](_0x3a192d,{'body':_0x1ff4ae});if(((_0x389324=(_0x404cc1=_0x1d99ce==null?void 0x0:_0x1d99ce[_0xf4a5dc(0x1e4)])==null?void 0x0:_0x404cc1[_0xf4a5dc(0x456)])==null?void 0x0:_0x389324[_0xf4a5dc(0x3ce)])!==0x1)throw new Error(_0xf4a5dc(0x1eb));}async['allowed'](_0x4d3d6a){var _0x335e63=_0x4ef07c;const _0x20dd68=this[_0x335e63(0x24e)]()+'/'+_0x4d3d6a['objectType']+_0x335e63(0x229)+_0x4d3d6a['objectID']+_0x335e63(0x316);return(await this[_0x335e63(0x43f)][_0x335e63(0x3ff)](_0x20dd68,{'body':_0x4d3d6a}))['body'][_0x335e63(0x4dc)];}async['batchAllowed'](_0x1ee4a6){var _0x131404=_0x4ef07c;const _0x1be68b=this['_getAPIPrefixPath']()+_0x131404(0x531);return(await this[_0x131404(0x43f)][_0x131404(0x3ff)](_0x1be68b,{'body':{'requests':_0x1ee4a6}}))[_0x131404(0x1e4)][_0x131404(0x46d)];}async[_0x4ef07c(0x25c)](_0x4585ff){var _0x126b77=_0x4ef07c;const _0x2d7aa9=this['_getAPIPrefixPath']()+'/'+_0x4585ff['objectType']+_0x126b77(0x43d),_0x2fd946=await this[_0x126b77(0x43f)][_0x126b77(0x3ff)](_0x2d7aa9,{'body':_0x4585ff});return{'roles':_0x2fd946[_0x126b77(0x1e4)][_0x126b77(0x3d0)],'actions':_0x2fd946[_0x126b77(0x1e4)][_0x126b77(0x4dc)]};}async[_0x4ef07c(0x2d9)](_0x3d9e07){var _0x1bf028=_0x4ef07c;const _0x53b867=this['_getAPIPrefixPath']()+_0x1bf028(0x34e);await this[_0x1bf028(0x43f)][_0x1bf028(0x45f)](_0x53b867,{'params':{'collaboratorID':_0x3d9e07['collaboratorID'],'objectID':_0x3d9e07[_0x1bf028(0x38e)],'unitID':_0x3d9e07[_0x1bf028(0x3f1)]}});}async[_0x4ef07c(0x3cf)](_0xa493cb){var _0x4c8fff=_0x4ef07c;const _0x1109a9=this[_0x4c8fff(0x24e)]()+'/collaborator';await this[_0x4c8fff(0x43f)][_0x4c8fff(0x3f6)](_0x1109a9,{'body':_0xa493cb});}async[_0x4ef07c(0x3ea)](_0x4abf78){var _0x4f3858=_0x4ef07c;const _0x330cd2=this[_0x4f3858(0x24e)]()+_0x4f3858(0x34e);await this[_0x4f3858(0x43f)][_0x4f3858(0x3ff)](_0x330cd2,{'body':_0x4abf78});}async[_0x4ef07c(0x379)](_0x41e35e){var _0x51da78=_0x4ef07c;const _0x5c197f=this[_0x51da78(0x24e)]()+_0x51da78(0x34e);return(await this[_0x51da78(0x43f)][_0x51da78(0x47e)](_0x5c197f,{'params':{'objectID':_0x41e35e[_0x51da78(0x38e)],'unitID':_0x41e35e[_0x51da78(0x3f1)]}}))['body'][_0x51da78(0x4c8)];}async['putCollaborators'](_0xebc0a7){var _0x3ceff7=_0x4ef07c;const _0x37377d=this[_0x3ceff7(0x24e)]()+'/collaborator';await this[_0x3ceff7(0x43f)]['put'](_0x37377d,{'body':_0xebc0a7});}},_0x2c717a['AuthzIoHttpService']=_0x2acfd3([_0xbee90c(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f[_0x4ef07c(0x44d)])),_0xbee90c(0x1,_0x5a87f6['Inject'](_0x5a87f6['IConfigService']))],_0x2c717a['AuthzIoHttpService']);var _0x1f65ef=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0xabc530(_0x34955a){var _0x319897=_0x4ef07c;return _0x34955a&&_0x34955a[_0x319897(0x4bd)]&&Object['prototype']['hasOwnProperty'][_0x319897(0x24b)](_0x34955a,_0x319897(0x39d))?_0x34955a['default']:_0x34955a;}var _0x265397={'exports':{}};function _0x34ba27(_0x45d2a5){var _0x11dea2=_0x4ef07c;throw new Error(_0x11dea2(0x445)+_0x45d2a5+_0x11dea2(0x4b8));}var _0x454222={'exports':{}},_0x568b8f=_0x454222[_0x4ef07c(0x3b0)],_0x346d8f;function _0x3d7c88(){var _0x566990=_0x4ef07c;return _0x346d8f||(_0x346d8f=0x1,function(_0x36511b,_0x5e6a38){(function(_0x39fb72,_0x300139){var _0x37d22c=_0x4d6f;_0x36511b[_0x37d22c(0x3b0)]=_0x300139();}(_0x568b8f,function(){var _0x3d53f3=_0x3d53f3||function(_0x425a99,_0xeeea19){var _0x55c295=_0x4d6f,_0xd14c3f;if(typeof window<'u'&&window['crypto']&&(_0xd14c3f=window['crypto']),typeof self<'u'&&self['crypto']&&(_0xd14c3f=self['crypto']),typeof globalThis<'u'&&globalThis[_0x55c295(0x343)]&&(_0xd14c3f=globalThis[_0x55c295(0x343)]),!_0xd14c3f&&typeof window<'u'&&window['msCrypto']&&(_0xd14c3f=window['msCrypto']),!_0xd14c3f&&typeof _0x1f65ef<'u'&&_0x1f65ef['crypto']&&(_0xd14c3f=_0x1f65ef[_0x55c295(0x343)]),!_0xd14c3f&&typeof _0x34ba27==_0x55c295(0x40a))try{_0xd14c3f=require('crypto');}catch{}var _0x230f52=function(){var _0x237bf3=_0x55c295;if(_0xd14c3f){if(typeof _0xd14c3f['getRandomValues']==_0x237bf3(0x40a))try{return _0xd14c3f[_0x237bf3(0x384)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xd14c3f['randomBytes']==_0x237bf3(0x40a))try{return _0xd14c3f[_0x237bf3(0x402)](0x4)[_0x237bf3(0x3bb)]();}catch{}}throw new Error(_0x237bf3(0x291));},_0x40920e=Object[_0x55c295(0x4c2)]||(function(){function _0x2e7a65(){}return function(_0x3edbb5){var _0x38fa8f=_0x4d6f,_0x4f2275;return _0x2e7a65[_0x38fa8f(0x31e)]=_0x3edbb5,_0x4f2275=new _0x2e7a65(),_0x2e7a65[_0x38fa8f(0x31e)]=null,_0x4f2275;};}()),_0x1b8266={},_0x297104=_0x1b8266[_0x55c295(0x21c)]={},_0x1e8773=_0x297104[_0x55c295(0x368)]=(function(){return{'extend':function(_0x193a08){var _0x3d3a29=_0x4d6f,_0x1daf18=_0x40920e(this);return _0x193a08&&_0x1daf18[_0x3d3a29(0x369)](_0x193a08),(!_0x1daf18['hasOwnProperty'](_0x3d3a29(0x2a8))||this[_0x3d3a29(0x2a8)]===_0x1daf18[_0x3d3a29(0x2a8)])&&(_0x1daf18[_0x3d3a29(0x2a8)]=function(){var _0x1613a0=_0x3d3a29;_0x1daf18['$super'][_0x1613a0(0x2a8)]['apply'](this,arguments);}),_0x1daf18[_0x3d3a29(0x2a8)]['prototype']=_0x1daf18,_0x1daf18[_0x3d3a29(0x4c1)]=this,_0x1daf18;},'create':function(){var _0x21e1b1=_0x4d6f,_0x15bd31=this[_0x21e1b1(0x386)]();return _0x15bd31[_0x21e1b1(0x2a8)][_0x21e1b1(0x3ac)](_0x15bd31,arguments),_0x15bd31;},'init':function(){},'mixIn':function(_0x4f9ef1){var _0x25f478=_0x4d6f;for(var _0x167705 in _0x4f9ef1)_0x4f9ef1[_0x25f478(0x2bb)](_0x167705)&&(this[_0x167705]=_0x4f9ef1[_0x167705]);_0x4f9ef1[_0x25f478(0x2bb)](_0x25f478(0x38d))&&(this[_0x25f478(0x38d)]=_0x4f9ef1[_0x25f478(0x38d)]);},'clone':function(){var _0x3bbb89=_0x4d6f;return this['init'][_0x3bbb89(0x31e)]['extend'](this);}};}()),_0x4218f1=_0x297104[_0x55c295(0x35a)]=_0x1e8773[_0x55c295(0x386)]({'init':function(_0x5a2190,_0x4bbf9f){var _0x4c54dc=_0x55c295;_0x5a2190=this['words']=_0x5a2190||[],_0x4bbf9f!=_0xeeea19?this[_0x4c54dc(0x1c7)]=_0x4bbf9f:this[_0x4c54dc(0x1c7)]=_0x5a2190['length']*0x4;},'toString':function(_0x12d795){var _0x134a9c=_0x55c295;return(_0x12d795||_0x3364da)[_0x134a9c(0x49b)](this);},'concat':function(_0x16fe92){var _0x14026e=_0x55c295,_0x123e28=this[_0x14026e(0x346)],_0x170237=_0x16fe92[_0x14026e(0x346)],_0x232332=this[_0x14026e(0x1c7)],_0x4b3f84=_0x16fe92[_0x14026e(0x1c7)];if(this['clamp'](),_0x232332%0x4)for(var _0x584b5c=0x0;_0x584b5c<_0x4b3f84;_0x584b5c++){var _0x29809=_0x170237[_0x584b5c>>>0x2]>>>0x18-_0x584b5c%0x4*0x8&0xff;_0x123e28[_0x232332+_0x584b5c>>>0x2]|=_0x29809<<0x18-(_0x232332+_0x584b5c)%0x4*0x8;}else{for(var _0x16f51f=0x0;_0x16f51f<_0x4b3f84;_0x16f51f+=0x4)_0x123e28[_0x232332+_0x16f51f>>>0x2]=_0x170237[_0x16f51f>>>0x2];}return this[_0x14026e(0x1c7)]+=_0x4b3f84,this;},'clamp':function(){var _0x46b907=_0x55c295,_0xc4312c=this[_0x46b907(0x346)],_0x51b2f2=this['sigBytes'];_0xc4312c[_0x51b2f2>>>0x2]&=0xffffffff<<0x20-_0x51b2f2%0x4*0x8,_0xc4312c[_0x46b907(0x3aa)]=_0x425a99['ceil'](_0x51b2f2/0x4);},'clone':function(){var _0x2663e2=_0x55c295,_0x323a8d=_0x1e8773['clone'][_0x2663e2(0x24b)](this);return _0x323a8d[_0x2663e2(0x346)]=this['words'][_0x2663e2(0x34b)](0x0),_0x323a8d;},'random':function(_0x4ef4f3){var _0x26225e=_0x55c295;for(var _0x5cf492=[],_0x86f660=0x0;_0x86f660<_0x4ef4f3;_0x86f660+=0x4)_0x5cf492[_0x26225e(0x306)](_0x230f52());return new _0x4218f1[(_0x26225e(0x2a8))](_0x5cf492,_0x4ef4f3);}}),_0x3f252a=_0x1b8266[_0x55c295(0x2eb)]={},_0x3364da=_0x3f252a[_0x55c295(0x279)]={'stringify':function(_0x12d517){var _0x459ad1=_0x55c295;for(var _0x4809e7=_0x12d517[_0x459ad1(0x346)],_0x1be89d=_0x12d517[_0x459ad1(0x1c7)],_0x179e56=[],_0x350eb2=0x0;_0x350eb2<_0x1be89d;_0x350eb2++){var _0x2021fe=_0x4809e7[_0x350eb2>>>0x2]>>>0x18-_0x350eb2%0x4*0x8&0xff;_0x179e56[_0x459ad1(0x306)]((_0x2021fe>>>0x4)['toString'](0x10)),_0x179e56['push']((_0x2021fe&0xf)[_0x459ad1(0x38d)](0x10));}return _0x179e56[_0x459ad1(0x31b)]('');},'parse':function(_0xf8ce69){var _0x533daf=_0x55c295;for(var _0x1b3294=_0xf8ce69['length'],_0x2768b7=[],_0x23658d=0x0;_0x23658d<_0x1b3294;_0x23658d+=0x2)_0x2768b7[_0x23658d>>>0x3]|=parseInt(_0xf8ce69[_0x533daf(0x530)](_0x23658d,0x2),0x10)<<0x18-_0x23658d%0x8*0x4;return new _0x4218f1[(_0x533daf(0x2a8))](_0x2768b7,_0x1b3294/0x2);}},_0x170739=_0x3f252a[_0x55c295(0x457)]={'stringify':function(_0x450e24){var _0x3accb9=_0x55c295;for(var _0x336b8a=_0x450e24['words'],_0x161969=_0x450e24['sigBytes'],_0x15ccc9=[],_0x413ef4=0x0;_0x413ef4<_0x161969;_0x413ef4++){var _0x171f03=_0x336b8a[_0x413ef4>>>0x2]>>>0x18-_0x413ef4%0x4*0x8&0xff;_0x15ccc9[_0x3accb9(0x306)](String[_0x3accb9(0x3ef)](_0x171f03));}return _0x15ccc9[_0x3accb9(0x31b)]('');},'parse':function(_0x5bcc4c){var _0x57dbe6=_0x55c295;for(var _0x115aa6=_0x5bcc4c[_0x57dbe6(0x3aa)],_0x2420c5=[],_0x4e9af9=0x0;_0x4e9af9<_0x115aa6;_0x4e9af9++)_0x2420c5[_0x4e9af9>>>0x2]|=(_0x5bcc4c[_0x57dbe6(0x3cc)](_0x4e9af9)&0xff)<<0x18-_0x4e9af9%0x4*0x8;return new _0x4218f1[(_0x57dbe6(0x2a8))](_0x2420c5,_0x115aa6);}},_0x3660a2=_0x3f252a['Utf8']={'stringify':function(_0x511bb9){var _0x306969=_0x55c295;try{return decodeURIComponent(escape(_0x170739[_0x306969(0x49b)](_0x511bb9)));}catch{throw new Error(_0x306969(0x516));}},'parse':function(_0x59b2d1){var _0x4bdea6=_0x55c295;return _0x170739[_0x4bdea6(0x55e)](unescape(encodeURIComponent(_0x59b2d1)));}},_0x3fc16a=_0x297104[_0x55c295(0x2fa)]=_0x1e8773[_0x55c295(0x386)]({'reset':function(){var _0x27d7ab=_0x55c295;this[_0x27d7ab(0x2f2)]=new _0x4218f1['init'](),this[_0x27d7ab(0x3de)]=0x0;},'_append':function(_0x41a552){var _0x98c524=_0x55c295;typeof _0x41a552==_0x98c524(0x4a1)&&(_0x41a552=_0x3660a2[_0x98c524(0x55e)](_0x41a552)),this['_data'][_0x98c524(0x385)](_0x41a552),this[_0x98c524(0x3de)]+=_0x41a552[_0x98c524(0x1c7)];},'_process':function(_0x27505a){var _0x39c4e5=_0x55c295,_0x1ceda9,_0x293900=this[_0x39c4e5(0x2f2)],_0x517a81=_0x293900[_0x39c4e5(0x346)],_0x2fc3b7=_0x293900[_0x39c4e5(0x1c7)],_0x7a3ba4=this[_0x39c4e5(0x22c)],_0x199420=_0x7a3ba4*0x4,_0x721571=_0x2fc3b7/_0x199420;_0x27505a?_0x721571=_0x425a99[_0x39c4e5(0x4d0)](_0x721571):_0x721571=_0x425a99[_0x39c4e5(0x394)]((_0x721571|0x0)-this[_0x39c4e5(0x47d)],0x0);var _0x3a9eb1=_0x721571*_0x7a3ba4,_0x1a8a94=_0x425a99[_0x39c4e5(0x467)](_0x3a9eb1*0x4,_0x2fc3b7);if(_0x3a9eb1){for(var _0x3a4849=0x0;_0x3a4849<_0x3a9eb1;_0x3a4849+=_0x7a3ba4)this[_0x39c4e5(0x45b)](_0x517a81,_0x3a4849);_0x1ceda9=_0x517a81[_0x39c4e5(0x4c3)](0x0,_0x3a9eb1),_0x293900[_0x39c4e5(0x1c7)]-=_0x1a8a94;}return new _0x4218f1[(_0x39c4e5(0x2a8))](_0x1ceda9,_0x1a8a94);},'clone':function(){var _0x169f65=_0x55c295,_0x586988=_0x1e8773[_0x169f65(0x533)][_0x169f65(0x24b)](this);return _0x586988[_0x169f65(0x2f2)]=this[_0x169f65(0x2f2)]['clone'](),_0x586988;},'_minBufferSize':0x0});_0x297104[_0x55c295(0x435)]=_0x3fc16a[_0x55c295(0x386)]({'cfg':_0x1e8773[_0x55c295(0x386)](),'init':function(_0x458748){var _0x40f717=_0x55c295;this['cfg']=this[_0x40f717(0x46f)][_0x40f717(0x386)](_0x458748),this['reset']();},'reset':function(){var _0x5d01cc=_0x55c295;_0x3fc16a[_0x5d01cc(0x39e)][_0x5d01cc(0x24b)](this),this[_0x5d01cc(0x323)]();},'update':function(_0x5c9097){var _0x4b60ae=_0x55c295;return this[_0x4b60ae(0x390)](_0x5c9097),this[_0x4b60ae(0x54c)](),this;},'finalize':function(_0x28bbe5){var _0x4bdce7=_0x55c295;_0x28bbe5&&this[_0x4bdce7(0x390)](_0x28bbe5);var _0x4c2f0a=this[_0x4bdce7(0x32f)]();return _0x4c2f0a;},'blockSize':0x10,'_createHelper':function(_0x1ae202){return function(_0x11f011,_0x564685){var _0x54c5c6=_0x4d6f;return new _0x1ae202['init'](_0x564685)[_0x54c5c6(0x36f)](_0x11f011);};},'_createHmacHelper':function(_0xbfda98){return function(_0x160187,_0x373843){var _0x5a0104=_0x4d6f;return new _0x510d8e[(_0x5a0104(0x484))][(_0x5a0104(0x2a8))](_0xbfda98,_0x373843)[_0x5a0104(0x36f)](_0x160187);};}});var _0x510d8e=_0x1b8266[_0x55c295(0x4a7)]={};return _0x1b8266;}(Math);return _0x3d53f3;}));}(_0x454222)),_0x454222[_0x566990(0x3b0)];}var _0x429ba4={'exports':{}},_0x348e37=_0x429ba4[_0x4ef07c(0x3b0)],_0x25a878;function _0x3a11d6(){var _0x2e4b6b=_0x4ef07c;return _0x25a878||(_0x25a878=0x1,function(_0x5be6b8,_0x1dff3a){(function(_0x28c563,_0x3c216b){_0x5be6b8['exports']=_0x3c216b(_0x3d7c88());}(_0x348e37,function(_0x33223d){var _0x1faae4=_0x4d6f;return(function(){var _0x1a013c=_0x4d6f,_0x314d6f=_0x33223d,_0x38cc90=_0x314d6f[_0x1a013c(0x21c)],_0x425d58=_0x38cc90[_0x1a013c(0x35a)],_0x3916c6=_0x314d6f[_0x1a013c(0x2eb)];_0x3916c6[_0x1a013c(0x362)]={'stringify':function(_0x1035d2){var _0x5bdce3=_0x1a013c,_0x56f551=_0x1035d2['words'],_0x102a45=_0x1035d2['sigBytes'],_0x3df21a=this[_0x5bdce3(0x3ee)];_0x1035d2['clamp']();for(var _0x1a008c=[],_0x10c27e=0x0;_0x10c27e<_0x102a45;_0x10c27e+=0x3)for(var _0x455ecb=_0x56f551[_0x10c27e>>>0x2]>>>0x18-_0x10c27e%0x4*0x8&0xff,_0x464221=_0x56f551[_0x10c27e+0x1>>>0x2]>>>0x18-(_0x10c27e+0x1)%0x4*0x8&0xff,_0x3eef9b=_0x56f551[_0x10c27e+0x2>>>0x2]>>>0x18-(_0x10c27e+0x2)%0x4*0x8&0xff,_0x3a978e=_0x455ecb<<0x10|_0x464221<<0x8|_0x3eef9b,_0x23f4b8=0x0;_0x23f4b8<0x4&&_0x10c27e+_0x23f4b8*0.75<_0x102a45;_0x23f4b8++)_0x1a008c[_0x5bdce3(0x306)](_0x3df21a[_0x5bdce3(0x45a)](_0x3a978e>>>0x6*(0x3-_0x23f4b8)&0x3f));var _0x1f276f=_0x3df21a[_0x5bdce3(0x45a)](0x40);if(_0x1f276f){for(;_0x1a008c[_0x5bdce3(0x3aa)]%0x4;)_0x1a008c['push'](_0x1f276f);}return _0x1a008c[_0x5bdce3(0x31b)]('');},'parse':function(_0x24cb0e){var _0x469927=_0x1a013c,_0x5ea9d9=_0x24cb0e[_0x469927(0x3aa)],_0x4cf908=this[_0x469927(0x3ee)],_0x1ab386=this[_0x469927(0x4a8)];if(!_0x1ab386){_0x1ab386=this[_0x469927(0x4a8)]=[];for(var _0x5e6ecc=0x0;_0x5e6ecc<_0x4cf908['length'];_0x5e6ecc++)_0x1ab386[_0x4cf908[_0x469927(0x3cc)](_0x5e6ecc)]=_0x5e6ecc;}var _0x1ec6b6=_0x4cf908[_0x469927(0x45a)](0x40);if(_0x1ec6b6){var _0x4b7ee4=_0x24cb0e[_0x469927(0x4be)](_0x1ec6b6);_0x4b7ee4!==-0x1&&(_0x5ea9d9=_0x4b7ee4);}return _0x48029c(_0x24cb0e,_0x5ea9d9,_0x1ab386);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x48029c(_0x14c574,_0x46373a,_0x110f40){var _0x38cc51=_0x1a013c;for(var _0x178a40=[],_0x424882=0x0,_0x3f1604=0x0;_0x3f1604<_0x46373a;_0x3f1604++)if(_0x3f1604%0x4){var _0x5c73d2=_0x110f40[_0x14c574[_0x38cc51(0x3cc)](_0x3f1604-0x1)]<<_0x3f1604%0x4*0x2,_0x7a20c4=_0x110f40[_0x14c574[_0x38cc51(0x3cc)](_0x3f1604)]>>>0x6-_0x3f1604%0x4*0x2,_0x4ba219=_0x5c73d2|_0x7a20c4;_0x178a40[_0x424882>>>0x2]|=_0x4ba219<<0x18-_0x424882%0x4*0x8,_0x424882++;}return _0x425d58[_0x38cc51(0x4c2)](_0x178a40,_0x424882);}}()),_0x33223d[_0x1faae4(0x2eb)]['Base64'];}));}(_0x429ba4)),_0x429ba4[_0x2e4b6b(0x3b0)];}var _0x3b124a={'exports':{}},_0x4f6195=_0x3b124a[_0x4ef07c(0x3b0)],_0x49b47b;function _0x1c8a85(){return _0x49b47b||(_0x49b47b=0x1,function(_0x46ec46,_0x23369b){(function(_0x1e0a80,_0x5a3ad7){var _0xfbf8e6=_0x4d6f;_0x46ec46[_0xfbf8e6(0x3b0)]=_0x5a3ad7(_0x3d7c88());}(_0x4f6195,function(_0x54b217){var _0x344073=_0x4d6f;return function(_0x45b490){var _0x80f2fd=_0x4d6f,_0x18c9e6=_0x54b217,_0x22bb4b=_0x18c9e6[_0x80f2fd(0x21c)],_0x5c5093=_0x22bb4b[_0x80f2fd(0x35a)],_0x51b7ad=_0x22bb4b['Hasher'],_0x41933d=_0x18c9e6[_0x80f2fd(0x4a7)],_0x31eb9d=[];(function(){var _0x24b64e=_0x80f2fd;for(var _0x39d7b4=0x0;_0x39d7b4<0x40;_0x39d7b4++)_0x31eb9d[_0x39d7b4]=_0x45b490[_0x24b64e(0x3fc)](_0x45b490[_0x24b64e(0x42d)](_0x39d7b4+0x1))*0x100000000|0x0;}());var _0x244e7a=_0x41933d[_0x80f2fd(0x302)]=_0x51b7ad[_0x80f2fd(0x386)]({'_doReset':function(){var _0x48d7df=_0x80f2fd;this['_hash']=new _0x5c5093[(_0x48d7df(0x2a8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xf91714,_0x115071){var _0x496536=_0x80f2fd;for(var _0x37fbb0=0x0;_0x37fbb0<0x10;_0x37fbb0++){var _0x5d29c9=_0x115071+_0x37fbb0,_0x37c758=_0xf91714[_0x5d29c9];_0xf91714[_0x5d29c9]=(_0x37c758<<0x8|_0x37c758>>>0x18)&0xff00ff|(_0x37c758<<0x18|_0x37c758>>>0x8)&0xff00ff00;}var _0x8cc5a9=this[_0x496536(0x36c)][_0x496536(0x346)],_0x18a417=_0xf91714[_0x115071+0x0],_0x651013=_0xf91714[_0x115071+0x1],_0xc13f28=_0xf91714[_0x115071+0x2],_0x35c19e=_0xf91714[_0x115071+0x3],_0x3c3131=_0xf91714[_0x115071+0x4],_0x50eb77=_0xf91714[_0x115071+0x5],_0x54988e=_0xf91714[_0x115071+0x6],_0x5d4075=_0xf91714[_0x115071+0x7],_0x5d9729=_0xf91714[_0x115071+0x8],_0x1dc24b=_0xf91714[_0x115071+0x9],_0x80f0f4=_0xf91714[_0x115071+0xa],_0x55d411=_0xf91714[_0x115071+0xb],_0x284cb4=_0xf91714[_0x115071+0xc],_0x4d771b=_0xf91714[_0x115071+0xd],_0xa28c1a=_0xf91714[_0x115071+0xe],_0x1f68da=_0xf91714[_0x115071+0xf],_0x456ff5=_0x8cc5a9[0x0],_0xe2569f=_0x8cc5a9[0x1],_0x103d88=_0x8cc5a9[0x2],_0x1d8c06=_0x8cc5a9[0x3];_0x456ff5=_0x174f56(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x18a417,0x7,_0x31eb9d[0x0]),_0x1d8c06=_0x174f56(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x651013,0xc,_0x31eb9d[0x1]),_0x103d88=_0x174f56(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0xc13f28,0x11,_0x31eb9d[0x2]),_0xe2569f=_0x174f56(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x35c19e,0x16,_0x31eb9d[0x3]),_0x456ff5=_0x174f56(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x3c3131,0x7,_0x31eb9d[0x4]),_0x1d8c06=_0x174f56(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x50eb77,0xc,_0x31eb9d[0x5]),_0x103d88=_0x174f56(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x54988e,0x11,_0x31eb9d[0x6]),_0xe2569f=_0x174f56(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x5d4075,0x16,_0x31eb9d[0x7]),_0x456ff5=_0x174f56(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x5d9729,0x7,_0x31eb9d[0x8]),_0x1d8c06=_0x174f56(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x1dc24b,0xc,_0x31eb9d[0x9]),_0x103d88=_0x174f56(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x80f0f4,0x11,_0x31eb9d[0xa]),_0xe2569f=_0x174f56(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x55d411,0x16,_0x31eb9d[0xb]),_0x456ff5=_0x174f56(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x284cb4,0x7,_0x31eb9d[0xc]),_0x1d8c06=_0x174f56(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x4d771b,0xc,_0x31eb9d[0xd]),_0x103d88=_0x174f56(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0xa28c1a,0x11,_0x31eb9d[0xe]),_0xe2569f=_0x174f56(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x1f68da,0x16,_0x31eb9d[0xf]),_0x456ff5=_0x14db85(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x651013,0x5,_0x31eb9d[0x10]),_0x1d8c06=_0x14db85(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x54988e,0x9,_0x31eb9d[0x11]),_0x103d88=_0x14db85(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x55d411,0xe,_0x31eb9d[0x12]),_0xe2569f=_0x14db85(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x18a417,0x14,_0x31eb9d[0x13]),_0x456ff5=_0x14db85(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x50eb77,0x5,_0x31eb9d[0x14]),_0x1d8c06=_0x14db85(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x80f0f4,0x9,_0x31eb9d[0x15]),_0x103d88=_0x14db85(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x1f68da,0xe,_0x31eb9d[0x16]),_0xe2569f=_0x14db85(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x3c3131,0x14,_0x31eb9d[0x17]),_0x456ff5=_0x14db85(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x1dc24b,0x5,_0x31eb9d[0x18]),_0x1d8c06=_0x14db85(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0xa28c1a,0x9,_0x31eb9d[0x19]),_0x103d88=_0x14db85(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x35c19e,0xe,_0x31eb9d[0x1a]),_0xe2569f=_0x14db85(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x5d9729,0x14,_0x31eb9d[0x1b]),_0x456ff5=_0x14db85(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x4d771b,0x5,_0x31eb9d[0x1c]),_0x1d8c06=_0x14db85(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0xc13f28,0x9,_0x31eb9d[0x1d]),_0x103d88=_0x14db85(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x5d4075,0xe,_0x31eb9d[0x1e]),_0xe2569f=_0x14db85(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x284cb4,0x14,_0x31eb9d[0x1f]),_0x456ff5=_0x27658d(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x50eb77,0x4,_0x31eb9d[0x20]),_0x1d8c06=_0x27658d(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x5d9729,0xb,_0x31eb9d[0x21]),_0x103d88=_0x27658d(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x55d411,0x10,_0x31eb9d[0x22]),_0xe2569f=_0x27658d(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0xa28c1a,0x17,_0x31eb9d[0x23]),_0x456ff5=_0x27658d(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x651013,0x4,_0x31eb9d[0x24]),_0x1d8c06=_0x27658d(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x3c3131,0xb,_0x31eb9d[0x25]),_0x103d88=_0x27658d(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x5d4075,0x10,_0x31eb9d[0x26]),_0xe2569f=_0x27658d(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x80f0f4,0x17,_0x31eb9d[0x27]),_0x456ff5=_0x27658d(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x4d771b,0x4,_0x31eb9d[0x28]),_0x1d8c06=_0x27658d(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x18a417,0xb,_0x31eb9d[0x29]),_0x103d88=_0x27658d(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x35c19e,0x10,_0x31eb9d[0x2a]),_0xe2569f=_0x27658d(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x54988e,0x17,_0x31eb9d[0x2b]),_0x456ff5=_0x27658d(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x1dc24b,0x4,_0x31eb9d[0x2c]),_0x1d8c06=_0x27658d(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x284cb4,0xb,_0x31eb9d[0x2d]),_0x103d88=_0x27658d(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x1f68da,0x10,_0x31eb9d[0x2e]),_0xe2569f=_0x27658d(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0xc13f28,0x17,_0x31eb9d[0x2f]),_0x456ff5=_0x512cb9(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x18a417,0x6,_0x31eb9d[0x30]),_0x1d8c06=_0x512cb9(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x5d4075,0xa,_0x31eb9d[0x31]),_0x103d88=_0x512cb9(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0xa28c1a,0xf,_0x31eb9d[0x32]),_0xe2569f=_0x512cb9(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x50eb77,0x15,_0x31eb9d[0x33]),_0x456ff5=_0x512cb9(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x284cb4,0x6,_0x31eb9d[0x34]),_0x1d8c06=_0x512cb9(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x35c19e,0xa,_0x31eb9d[0x35]),_0x103d88=_0x512cb9(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x80f0f4,0xf,_0x31eb9d[0x36]),_0xe2569f=_0x512cb9(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x651013,0x15,_0x31eb9d[0x37]),_0x456ff5=_0x512cb9(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x5d9729,0x6,_0x31eb9d[0x38]),_0x1d8c06=_0x512cb9(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x1f68da,0xa,_0x31eb9d[0x39]),_0x103d88=_0x512cb9(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0x54988e,0xf,_0x31eb9d[0x3a]),_0xe2569f=_0x512cb9(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x4d771b,0x15,_0x31eb9d[0x3b]),_0x456ff5=_0x512cb9(_0x456ff5,_0xe2569f,_0x103d88,_0x1d8c06,_0x3c3131,0x6,_0x31eb9d[0x3c]),_0x1d8c06=_0x512cb9(_0x1d8c06,_0x456ff5,_0xe2569f,_0x103d88,_0x55d411,0xa,_0x31eb9d[0x3d]),_0x103d88=_0x512cb9(_0x103d88,_0x1d8c06,_0x456ff5,_0xe2569f,_0xc13f28,0xf,_0x31eb9d[0x3e]),_0xe2569f=_0x512cb9(_0xe2569f,_0x103d88,_0x1d8c06,_0x456ff5,_0x1dc24b,0x15,_0x31eb9d[0x3f]),_0x8cc5a9[0x0]=_0x8cc5a9[0x0]+_0x456ff5|0x0,_0x8cc5a9[0x1]=_0x8cc5a9[0x1]+_0xe2569f|0x0,_0x8cc5a9[0x2]=_0x8cc5a9[0x2]+_0x103d88|0x0,_0x8cc5a9[0x3]=_0x8cc5a9[0x3]+_0x1d8c06|0x0;},'_doFinalize':function(){var _0x27cbf2=_0x80f2fd,_0x260996=this[_0x27cbf2(0x2f2)],_0x56ff89=_0x260996['words'],_0x2ce0d4=this['_nDataBytes']*0x8,_0x3a5493=_0x260996['sigBytes']*0x8;_0x56ff89[_0x3a5493>>>0x5]|=0x80<<0x18-_0x3a5493%0x20;var _0x5718c0=_0x45b490[_0x27cbf2(0x286)](_0x2ce0d4/0x100000000),_0x4bad21=_0x2ce0d4;_0x56ff89[(_0x3a5493+0x40>>>0x9<<0x4)+0xf]=(_0x5718c0<<0x8|_0x5718c0>>>0x18)&0xff00ff|(_0x5718c0<<0x18|_0x5718c0>>>0x8)&0xff00ff00,_0x56ff89[(_0x3a5493+0x40>>>0x9<<0x4)+0xe]=(_0x4bad21<<0x8|_0x4bad21>>>0x18)&0xff00ff|(_0x4bad21<<0x18|_0x4bad21>>>0x8)&0xff00ff00,_0x260996[_0x27cbf2(0x1c7)]=(_0x56ff89[_0x27cbf2(0x3aa)]+0x1)*0x4,this['_process']();for(var _0x7f4009=this['_hash'],_0x4a72b4=_0x7f4009['words'],_0x270187=0x0;_0x270187<0x4;_0x270187++){var _0x49a9d1=_0x4a72b4[_0x270187];_0x4a72b4[_0x270187]=(_0x49a9d1<<0x8|_0x49a9d1>>>0x18)&0xff00ff|(_0x49a9d1<<0x18|_0x49a9d1>>>0x8)&0xff00ff00;}return _0x7f4009;},'clone':function(){var _0xa4d876=_0x80f2fd,_0x2b9c19=_0x51b7ad[_0xa4d876(0x533)][_0xa4d876(0x24b)](this);return _0x2b9c19[_0xa4d876(0x36c)]=this[_0xa4d876(0x36c)][_0xa4d876(0x533)](),_0x2b9c19;}});function _0x174f56(_0x2e8b15,_0x32a8c2,_0x54884a,_0x2933ec,_0x418b1e,_0x201cd9,_0x3f5734){var _0x22d6b0=_0x2e8b15+(_0x32a8c2&_0x54884a|~_0x32a8c2&_0x2933ec)+_0x418b1e+_0x3f5734;return(_0x22d6b0<<_0x201cd9|_0x22d6b0>>>0x20-_0x201cd9)+_0x32a8c2;}function _0x14db85(_0xac2793,_0x17095b,_0x241fe5,_0x4e96ca,_0x24da75,_0x899db9,_0x3fa745){var _0x347d7b=_0xac2793+(_0x17095b&_0x4e96ca|_0x241fe5&~_0x4e96ca)+_0x24da75+_0x3fa745;return(_0x347d7b<<_0x899db9|_0x347d7b>>>0x20-_0x899db9)+_0x17095b;}function _0x27658d(_0x4f0073,_0x150ee5,_0x308986,_0x59850d,_0x2d46f9,_0x1f667a,_0x551aff){var _0x5f4beb=_0x4f0073+(_0x150ee5^_0x308986^_0x59850d)+_0x2d46f9+_0x551aff;return(_0x5f4beb<<_0x1f667a|_0x5f4beb>>>0x20-_0x1f667a)+_0x150ee5;}function _0x512cb9(_0x41005a,_0x46e772,_0x426165,_0x4a3b54,_0x2e9457,_0x260cdd,_0x56ad73){var _0xe7dbbd=_0x41005a+(_0x426165^(_0x46e772|~_0x4a3b54))+_0x2e9457+_0x56ad73;return(_0xe7dbbd<<_0x260cdd|_0xe7dbbd>>>0x20-_0x260cdd)+_0x46e772;}_0x18c9e6[_0x80f2fd(0x302)]=_0x51b7ad['_createHelper'](_0x244e7a),_0x18c9e6[_0x80f2fd(0x55b)]=_0x51b7ad['_createHmacHelper'](_0x244e7a);}(Math),_0x54b217[_0x344073(0x302)];}));}(_0x3b124a)),_0x3b124a['exports'];}var _0xac6be7={'exports':{}},_0x51cd40={'exports':{}},_0x41a8ca=_0x51cd40['exports'],_0x47384a;function _0x12cbba(){var _0x345576=_0x4ef07c;return _0x47384a||(_0x47384a=0x1,function(_0xd9d5ac,_0x1f27ef){(function(_0xc43042,_0x5eb5bd){var _0x5eb251=_0x4d6f;_0xd9d5ac[_0x5eb251(0x3b0)]=_0x5eb5bd(_0x3d7c88());}(_0x41a8ca,function(_0x539659){var _0xc7c286=_0x4d6f;return(function(){var _0x161048=_0x4d6f,_0x5cff81=_0x539659,_0x1bfadb=_0x5cff81[_0x161048(0x21c)],_0x103ad9=_0x1bfadb[_0x161048(0x35a)],_0x250dae=_0x1bfadb[_0x161048(0x435)],_0x3f946b=_0x5cff81[_0x161048(0x4a7)],_0x48f8d4=[],_0x44e1fe=_0x3f946b['SHA1']=_0x250dae[_0x161048(0x386)]({'_doReset':function(){var _0x5016fa=_0x161048;this[_0x5016fa(0x36c)]=new _0x103ad9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x195cbf,_0x3357f0){var _0x2b7a4e=_0x161048;for(var _0x4b575b=this[_0x2b7a4e(0x36c)][_0x2b7a4e(0x346)],_0x446dbc=_0x4b575b[0x0],_0x1ea74e=_0x4b575b[0x1],_0x1d6e5b=_0x4b575b[0x2],_0xbb956=_0x4b575b[0x3],_0x3198e0=_0x4b575b[0x4],_0x34fe77=0x0;_0x34fe77<0x50;_0x34fe77++){if(_0x34fe77<0x10)_0x48f8d4[_0x34fe77]=_0x195cbf[_0x3357f0+_0x34fe77]|0x0;else{var _0x4bc7c7=_0x48f8d4[_0x34fe77-0x3]^_0x48f8d4[_0x34fe77-0x8]^_0x48f8d4[_0x34fe77-0xe]^_0x48f8d4[_0x34fe77-0x10];_0x48f8d4[_0x34fe77]=_0x4bc7c7<<0x1|_0x4bc7c7>>>0x1f;}var _0x30852c=(_0x446dbc<<0x5|_0x446dbc>>>0x1b)+_0x3198e0+_0x48f8d4[_0x34fe77];_0x34fe77<0x14?_0x30852c+=(_0x1ea74e&_0x1d6e5b|~_0x1ea74e&_0xbb956)+0x5a827999:_0x34fe77<0x28?_0x30852c+=(_0x1ea74e^_0x1d6e5b^_0xbb956)+0x6ed9eba1:_0x34fe77<0x3c?_0x30852c+=(_0x1ea74e&_0x1d6e5b|_0x1ea74e&_0xbb956|_0x1d6e5b&_0xbb956)-0x70e44324:_0x30852c+=(_0x1ea74e^_0x1d6e5b^_0xbb956)-0x359d3e2a,_0x3198e0=_0xbb956,_0xbb956=_0x1d6e5b,_0x1d6e5b=_0x1ea74e<<0x1e|_0x1ea74e>>>0x2,_0x1ea74e=_0x446dbc,_0x446dbc=_0x30852c;}_0x4b575b[0x0]=_0x4b575b[0x0]+_0x446dbc|0x0,_0x4b575b[0x1]=_0x4b575b[0x1]+_0x1ea74e|0x0,_0x4b575b[0x2]=_0x4b575b[0x2]+_0x1d6e5b|0x0,_0x4b575b[0x3]=_0x4b575b[0x3]+_0xbb956|0x0,_0x4b575b[0x4]=_0x4b575b[0x4]+_0x3198e0|0x0;},'_doFinalize':function(){var _0xab7b3b=_0x161048,_0x475308=this[_0xab7b3b(0x2f2)],_0x5c42ef=_0x475308['words'],_0x487b22=this[_0xab7b3b(0x3de)]*0x8,_0x533945=_0x475308[_0xab7b3b(0x1c7)]*0x8;return _0x5c42ef[_0x533945>>>0x5]|=0x80<<0x18-_0x533945%0x20,_0x5c42ef[(_0x533945+0x40>>>0x9<<0x4)+0xe]=Math[_0xab7b3b(0x286)](_0x487b22/0x100000000),_0x5c42ef[(_0x533945+0x40>>>0x9<<0x4)+0xf]=_0x487b22,_0x475308['sigBytes']=_0x5c42ef['length']*0x4,this[_0xab7b3b(0x54c)](),this[_0xab7b3b(0x36c)];},'clone':function(){var _0x3a64cf=_0x161048,_0x3f10eb=_0x250dae[_0x3a64cf(0x533)]['call'](this);return _0x3f10eb[_0x3a64cf(0x36c)]=this[_0x3a64cf(0x36c)][_0x3a64cf(0x533)](),_0x3f10eb;}});_0x5cff81['SHA1']=_0x250dae[_0x161048(0x48b)](_0x44e1fe),_0x5cff81[_0x161048(0x3c9)]=_0x250dae[_0x161048(0x529)](_0x44e1fe);}()),_0x539659[_0xc7c286(0x41d)];}));}(_0x51cd40)),_0x51cd40[_0x345576(0x3b0)];}var _0x6dfef7={'exports':{}},_0x560853=_0x6dfef7[_0x4ef07c(0x3b0)],_0x1865fc;function _0x308a7c(){var _0x252ed8=_0x4ef07c;return _0x1865fc||(_0x1865fc=0x1,function(_0x53fa11,_0x4cfc28){(function(_0x470582,_0x2b5a06){_0x53fa11['exports']=_0x2b5a06(_0x3d7c88());}(_0x560853,function(_0xafd659){(function(){var _0x121954=_0x4d6f,_0x354a4f=_0xafd659,_0x265526=_0x354a4f[_0x121954(0x21c)],_0x33bc84=_0x265526[_0x121954(0x368)],_0x51d6a1=_0x354a4f[_0x121954(0x2eb)],_0x2aca88=_0x51d6a1[_0x121954(0x2ea)],_0x35ffca=_0x354a4f[_0x121954(0x4a7)];_0x35ffca['HMAC']=_0x33bc84[_0x121954(0x386)]({'init':function(_0x5c2200,_0x23dc47){var _0x370fcb=_0x121954;_0x5c2200=this[_0x370fcb(0x260)]=new _0x5c2200[(_0x370fcb(0x2a8))](),typeof _0x23dc47==_0x370fcb(0x4a1)&&(_0x23dc47=_0x2aca88[_0x370fcb(0x55e)](_0x23dc47));var _0x49463e=_0x5c2200['blockSize'],_0x3bbc04=_0x49463e*0x4;_0x23dc47[_0x370fcb(0x1c7)]>_0x3bbc04&&(_0x23dc47=_0x5c2200[_0x370fcb(0x36f)](_0x23dc47)),_0x23dc47[_0x370fcb(0x2c0)]();for(var _0x488264=this[_0x370fcb(0x263)]=_0x23dc47['clone'](),_0x202c3e=this[_0x370fcb(0x2fc)]=_0x23dc47['clone'](),_0x517b47=_0x488264['words'],_0x43457d=_0x202c3e['words'],_0x390429=0x0;_0x390429<_0x49463e;_0x390429++)_0x517b47[_0x390429]^=0x5c5c5c5c,_0x43457d[_0x390429]^=0x36363636;_0x488264[_0x370fcb(0x1c7)]=_0x202c3e[_0x370fcb(0x1c7)]=_0x3bbc04,this[_0x370fcb(0x39e)]();},'reset':function(){var _0x4e4e86=_0x121954,_0x157c79=this[_0x4e4e86(0x260)];_0x157c79['reset'](),_0x157c79[_0x4e4e86(0x4f6)](this[_0x4e4e86(0x2fc)]);},'update':function(_0x57538d){var _0x5bbaa4=_0x121954;return this[_0x5bbaa4(0x260)][_0x5bbaa4(0x4f6)](_0x57538d),this;},'finalize':function(_0x3e8331){var _0x5ad1da=_0x121954,_0x2e0676=this[_0x5ad1da(0x260)],_0x496109=_0x2e0676['finalize'](_0x3e8331);_0x2e0676[_0x5ad1da(0x39e)]();var _0x64e6a=_0x2e0676[_0x5ad1da(0x36f)](this[_0x5ad1da(0x263)][_0x5ad1da(0x533)]()[_0x5ad1da(0x385)](_0x496109));return _0x64e6a;}});}());}));}(_0x6dfef7)),_0x6dfef7[_0x252ed8(0x3b0)];}var _0x3f4033=_0xac6be7[_0x4ef07c(0x3b0)],_0x5020ff;function _0x344cef(){var _0x331596=_0x4ef07c;return _0x5020ff||(_0x5020ff=0x1,function(_0x24940d,_0x29e639){(function(_0x4bc243,_0x19a22e,_0x1d8f00){_0x24940d['exports']=_0x19a22e(_0x3d7c88(),_0x12cbba(),_0x308a7c());}(_0x3f4033,function(_0x1aff17){var _0x319ca8=_0x4d6f;return(function(){var _0x3e8acf=_0x4d6f,_0x11b655=_0x1aff17,_0x170252=_0x11b655['lib'],_0x4dd43a=_0x170252[_0x3e8acf(0x368)],_0x456466=_0x170252[_0x3e8acf(0x35a)],_0x57ce73=_0x11b655[_0x3e8acf(0x4a7)],_0xda71d1=_0x57ce73['MD5'],_0x49ff27=_0x57ce73[_0x3e8acf(0x1d3)]=_0x4dd43a[_0x3e8acf(0x386)]({'cfg':_0x4dd43a['extend']({'keySize':0x80/0x20,'hasher':_0xda71d1,'iterations':0x1}),'init':function(_0x87bb89){var _0x493abf=_0x3e8acf;this[_0x493abf(0x46f)]=this[_0x493abf(0x46f)][_0x493abf(0x386)](_0x87bb89);},'compute':function(_0x5c86e1,_0x4b1b4c){var _0x206604=_0x3e8acf;for(var _0x2f8553,_0x358e2e=this[_0x206604(0x46f)],_0xc464ed=_0x358e2e[_0x206604(0x321)][_0x206604(0x4c2)](),_0x396aa4=_0x456466['create'](),_0x510606=_0x396aa4['words'],_0xc4a3e4=_0x358e2e[_0x206604(0x2bc)],_0x21898c=_0x358e2e[_0x206604(0x48d)];_0x510606['length']<_0xc4a3e4;){_0x2f8553&&_0xc464ed[_0x206604(0x4f6)](_0x2f8553),_0x2f8553=_0xc464ed[_0x206604(0x4f6)](_0x5c86e1)[_0x206604(0x36f)](_0x4b1b4c),_0xc464ed[_0x206604(0x39e)]();for(var _0x27db2f=0x1;_0x27db2f<_0x21898c;_0x27db2f++)_0x2f8553=_0xc464ed['finalize'](_0x2f8553),_0xc464ed[_0x206604(0x39e)]();_0x396aa4[_0x206604(0x385)](_0x2f8553);}return _0x396aa4['sigBytes']=_0xc4a3e4*0x4,_0x396aa4;}});_0x11b655[_0x3e8acf(0x1d3)]=function(_0x2c17bf,_0x36c19d,_0x203479){return _0x49ff27['create'](_0x203479)['compute'](_0x2c17bf,_0x36c19d);};}()),_0x1aff17[_0x319ca8(0x1d3)];}));}(_0xac6be7)),_0xac6be7[_0x331596(0x3b0)];}var _0x16de91={'exports':{}},_0x5e2e32=_0x16de91[_0x4ef07c(0x3b0)],_0x21202b;function _0x494c1f(){var _0x5ac9fe=_0x4ef07c;return _0x21202b||(_0x21202b=0x1,function(_0x3af63c,_0x16b648){(function(_0x45e5ff,_0x4d9384,_0x55b44e){_0x3af63c['exports']=_0x4d9384(_0x3d7c88(),_0x344cef());}(_0x5e2e32,function(_0x47f445){var _0x3a337c=_0x4d6f;_0x47f445['lib'][_0x3a337c(0x406)]||function(_0x559dfe){var _0x51d10c=_0x3a337c,_0xeb5676=_0x47f445,_0x2513fc=_0xeb5676[_0x51d10c(0x21c)],_0x4cb5fa=_0x2513fc[_0x51d10c(0x368)],_0x468ff7=_0x2513fc[_0x51d10c(0x35a)],_0x753968=_0x2513fc[_0x51d10c(0x2fa)],_0x17b4fd=_0xeb5676[_0x51d10c(0x2eb)];_0x17b4fd[_0x51d10c(0x2ea)];var _0x4b80f4=_0x17b4fd[_0x51d10c(0x362)],_0x3c8275=_0xeb5676['algo'],_0x1dd631=_0x3c8275[_0x51d10c(0x1d3)],_0xbe692f=_0x2513fc[_0x51d10c(0x406)]=_0x753968[_0x51d10c(0x386)]({'cfg':_0x4cb5fa[_0x51d10c(0x386)](),'createEncryptor':function(_0x503c2f,_0x1c58f2){var _0x1f23f7=_0x51d10c;return this['create'](this[_0x1f23f7(0x2dd)],_0x503c2f,_0x1c58f2);},'createDecryptor':function(_0x1ddca6,_0xe3b0b){var _0x56b4f9=_0x51d10c;return this[_0x56b4f9(0x4c2)](this['_DEC_XFORM_MODE'],_0x1ddca6,_0xe3b0b);},'init':function(_0x129c2a,_0x51c6b4,_0x349deb){var _0x335b4e=_0x51d10c;this[_0x335b4e(0x46f)]=this[_0x335b4e(0x46f)][_0x335b4e(0x386)](_0x349deb),this['_xformMode']=_0x129c2a,this['_key']=_0x51c6b4,this[_0x335b4e(0x39e)]();},'reset':function(){var _0x410c83=_0x51d10c;_0x753968['reset'][_0x410c83(0x24b)](this),this[_0x410c83(0x323)]();},'process':function(_0x4ab212){var _0x1d50d9=_0x51d10c;return this[_0x1d50d9(0x390)](_0x4ab212),this[_0x1d50d9(0x54c)]();},'finalize':function(_0x13ab09){var _0x4ecdff=_0x51d10c;_0x13ab09&&this[_0x4ecdff(0x390)](_0x13ab09);var _0x5be1c1=this[_0x4ecdff(0x32f)]();return _0x5be1c1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x436c73(_0x1eb6df){var _0x562d8b=_0x4d6f;return typeof _0x1eb6df==_0x562d8b(0x4a1)?_0x2a3497:_0x6a5d20;}return function(_0x1b22df){return{'encrypt':function(_0x1f3efe,_0x1e0c43,_0x969dc2){var _0x2825f5=_0x4d6f;return _0x436c73(_0x1e0c43)[_0x2825f5(0x240)](_0x1b22df,_0x1f3efe,_0x1e0c43,_0x969dc2);},'decrypt':function(_0x49493b,_0x30a92d,_0x54d2e3){var _0x5da6f7=_0x4d6f;return _0x436c73(_0x30a92d)[_0x5da6f7(0x31a)](_0x1b22df,_0x49493b,_0x30a92d,_0x54d2e3);}};};}())});_0x2513fc[_0x51d10c(0x464)]=_0xbe692f['extend']({'_doFinalize':function(){var _0xd50d2a=_0x51d10c,_0x528b11=this[_0xd50d2a(0x54c)](!0x0);return _0x528b11;},'blockSize':0x1});var _0x30f10d=_0xeb5676[_0x51d10c(0x1c6)]={},_0x3bb8d0=_0x2513fc[_0x51d10c(0x4f9)]=_0x4cb5fa[_0x51d10c(0x386)]({'createEncryptor':function(_0x3c49ce,_0x1826fd){var _0x549f4a=_0x51d10c;return this[_0x549f4a(0x382)]['create'](_0x3c49ce,_0x1826fd);},'createDecryptor':function(_0x3a2ff4,_0x19c7d4){var _0x39f209=_0x51d10c;return this[_0x39f209(0x2e9)][_0x39f209(0x4c2)](_0x3a2ff4,_0x19c7d4);},'init':function(_0x2e0983,_0x4ef771){var _0x2159e4=_0x51d10c;this['_cipher']=_0x2e0983,this[_0x2159e4(0x1e9)]=_0x4ef771;}}),_0x11bed5=_0x30f10d[_0x51d10c(0x3d7)]=(function(){var _0x158b94=_0x51d10c,_0x408c7b=_0x3bb8d0[_0x158b94(0x386)]();_0x408c7b[_0x158b94(0x382)]=_0x408c7b['extend']({'processBlock':function(_0x455cc2,_0x45494a){var _0x2d2a96=_0x158b94,_0x2ef347=this['_cipher'],_0x4d83f5=_0x2ef347[_0x2d2a96(0x22c)];_0x576b82[_0x2d2a96(0x24b)](this,_0x455cc2,_0x45494a,_0x4d83f5),_0x2ef347[_0x2d2a96(0x3f2)](_0x455cc2,_0x45494a),this['_prevBlock']=_0x455cc2[_0x2d2a96(0x34b)](_0x45494a,_0x45494a+_0x4d83f5);}}),_0x408c7b[_0x158b94(0x2e9)]=_0x408c7b[_0x158b94(0x386)]({'processBlock':function(_0x4e5e23,_0x13924a){var _0x5686dd=_0x158b94,_0x3d8064=this[_0x5686dd(0x310)],_0x5e2c4a=_0x3d8064[_0x5686dd(0x22c)],_0x37b34d=_0x4e5e23[_0x5686dd(0x34b)](_0x13924a,_0x13924a+_0x5e2c4a);_0x3d8064[_0x5686dd(0x4ab)](_0x4e5e23,_0x13924a),_0x576b82['call'](this,_0x4e5e23,_0x13924a,_0x5e2c4a),this[_0x5686dd(0x403)]=_0x37b34d;}});function _0x576b82(_0x584443,_0x5a3eb8,_0x47da48){var _0x57685f=_0x158b94,_0x3b985d,_0x4a6322=this[_0x57685f(0x1e9)];_0x4a6322?(_0x3b985d=_0x4a6322,this[_0x57685f(0x1e9)]=_0x559dfe):_0x3b985d=this[_0x57685f(0x403)];for(var _0x32d86b=0x0;_0x32d86b<_0x47da48;_0x32d86b++)_0x584443[_0x5a3eb8+_0x32d86b]^=_0x3b985d[_0x32d86b];}return _0x408c7b;}()),_0x32dc4a=_0xeb5676['pad']={},_0x5864f5=_0x32dc4a[_0x51d10c(0x2ef)]={'pad':function(_0x48b4dc,_0xf8bc38){var _0x476a82=_0x51d10c;for(var _0x1d8827=_0xf8bc38*0x4,_0x3d166f=_0x1d8827-_0x48b4dc[_0x476a82(0x1c7)]%_0x1d8827,_0x1120f8=_0x3d166f<<0x18|_0x3d166f<<0x10|_0x3d166f<<0x8|_0x3d166f,_0x4fe473=[],_0x88b206=0x0;_0x88b206<_0x3d166f;_0x88b206+=0x4)_0x4fe473['push'](_0x1120f8);var _0x3e95a5=_0x468ff7[_0x476a82(0x4c2)](_0x4fe473,_0x3d166f);_0x48b4dc[_0x476a82(0x385)](_0x3e95a5);},'unpad':function(_0x585ea4){var _0x2dc592=_0x51d10c,_0x37810e=_0x585ea4[_0x2dc592(0x346)][_0x585ea4[_0x2dc592(0x1c7)]-0x1>>>0x2]&0xff;_0x585ea4[_0x2dc592(0x1c7)]-=_0x37810e;}};_0x2513fc[_0x51d10c(0x4a4)]=_0xbe692f[_0x51d10c(0x386)]({'cfg':_0xbe692f[_0x51d10c(0x46f)][_0x51d10c(0x386)]({'mode':_0x11bed5,'padding':_0x5864f5}),'reset':function(){var _0x1896d5=_0x51d10c,_0x58fc2b;_0xbe692f['reset'][_0x1896d5(0x24b)](this);var _0x51a01e=this[_0x1896d5(0x46f)],_0x2b2752=_0x51a01e['iv'],_0x118d37=_0x51a01e[_0x1896d5(0x1c6)];this[_0x1896d5(0x1f3)]==this[_0x1896d5(0x2dd)]?_0x58fc2b=_0x118d37[_0x1896d5(0x1d9)]:(_0x58fc2b=_0x118d37[_0x1896d5(0x416)],this['_minBufferSize']=0x1),this[_0x1896d5(0x3bf)]&&this[_0x1896d5(0x3bf)][_0x1896d5(0x444)]==_0x58fc2b?this['_mode'][_0x1896d5(0x2a8)](this,_0x2b2752&&_0x2b2752[_0x1896d5(0x346)]):(this[_0x1896d5(0x3bf)]=_0x58fc2b['call'](_0x118d37,this,_0x2b2752&&_0x2b2752[_0x1896d5(0x346)]),this[_0x1896d5(0x3bf)][_0x1896d5(0x444)]=_0x58fc2b);},'_doProcessBlock':function(_0x33e512,_0x158c65){var _0x1bcb42=_0x51d10c;this[_0x1bcb42(0x3bf)][_0x1bcb42(0x39b)](_0x33e512,_0x158c65);},'_doFinalize':function(){var _0x451e3f=_0x51d10c,_0x528265,_0x4d9a94=this[_0x451e3f(0x46f)][_0x451e3f(0x498)];return this[_0x451e3f(0x1f3)]==this['_ENC_XFORM_MODE']?(_0x4d9a94['pad'](this['_data'],this[_0x451e3f(0x22c)]),_0x528265=this[_0x451e3f(0x54c)](!0x0)):(_0x528265=this[_0x451e3f(0x54c)](!0x0),_0x4d9a94['unpad'](_0x528265)),_0x528265;},'blockSize':0x80/0x20});var _0xb76301=_0x2513fc[_0x51d10c(0x514)]=_0x4cb5fa['extend']({'init':function(_0x1d3866){var _0x2d622b=_0x51d10c;this[_0x2d622b(0x369)](_0x1d3866);},'toString':function(_0x5aec72){var _0xc2016d=_0x51d10c;return(_0x5aec72||this[_0xc2016d(0x32e)])[_0xc2016d(0x49b)](this);}}),_0x1d9b1f=_0xeb5676['format']={},_0x113473=_0x1d9b1f[_0x51d10c(0x502)]={'stringify':function(_0x51d719){var _0x1235ab=_0x51d10c,_0x596b1a,_0x534429=_0x51d719[_0x1235ab(0x4d2)],_0x2fb16f=_0x51d719[_0x1235ab(0x449)];return _0x2fb16f?_0x596b1a=_0x468ff7[_0x1235ab(0x4c2)]([0x53616c74,0x65645f5f])[_0x1235ab(0x385)](_0x2fb16f)[_0x1235ab(0x385)](_0x534429):_0x596b1a=_0x534429,_0x596b1a['toString'](_0x4b80f4);},'parse':function(_0x4303f6){var _0x4d7d7f=_0x51d10c,_0x32fb2e,_0x10d5b4=_0x4b80f4['parse'](_0x4303f6),_0x157699=_0x10d5b4[_0x4d7d7f(0x346)];return _0x157699[0x0]==0x53616c74&&_0x157699[0x1]==0x65645f5f&&(_0x32fb2e=_0x468ff7[_0x4d7d7f(0x4c2)](_0x157699[_0x4d7d7f(0x34b)](0x2,0x4)),_0x157699[_0x4d7d7f(0x4c3)](0x0,0x4),_0x10d5b4['sigBytes']-=0x10),_0xb76301['create']({'ciphertext':_0x10d5b4,'salt':_0x32fb2e});}},_0x6a5d20=_0x2513fc[_0x51d10c(0x365)]=_0x4cb5fa['extend']({'cfg':_0x4cb5fa[_0x51d10c(0x386)]({'format':_0x113473}),'encrypt':function(_0x2f966d,_0xadda79,_0x1d621d,_0x266703){var _0x3d6940=_0x51d10c;_0x266703=this[_0x3d6940(0x46f)]['extend'](_0x266703);var _0xc6ad79=_0x2f966d[_0x3d6940(0x1d9)](_0x1d621d,_0x266703),_0x2d6f86=_0xc6ad79['finalize'](_0xadda79),_0x136b06=_0xc6ad79[_0x3d6940(0x46f)];return _0xb76301[_0x3d6940(0x4c2)]({'ciphertext':_0x2d6f86,'key':_0x1d621d,'iv':_0x136b06['iv'],'algorithm':_0x2f966d,'mode':_0x136b06[_0x3d6940(0x1c6)],'padding':_0x136b06[_0x3d6940(0x498)],'blockSize':_0x2f966d[_0x3d6940(0x22c)],'formatter':_0x266703['format']});},'decrypt':function(_0x70e907,_0x241cef,_0x150a31,_0x3e2720){var _0x3bb35f=_0x51d10c;_0x3e2720=this[_0x3bb35f(0x46f)]['extend'](_0x3e2720),_0x241cef=this[_0x3bb35f(0x211)](_0x241cef,_0x3e2720[_0x3bb35f(0x24f)]);var _0x400cd7=_0x70e907[_0x3bb35f(0x416)](_0x150a31,_0x3e2720)[_0x3bb35f(0x36f)](_0x241cef[_0x3bb35f(0x4d2)]);return _0x400cd7;},'_parse':function(_0x5f1e16,_0xf6f699){return typeof _0x5f1e16=='string'?_0xf6f699['parse'](_0x5f1e16,this):_0x5f1e16;}}),_0xa2c723=_0xeb5676[_0x51d10c(0x465)]={},_0x4b491b=_0xa2c723['OpenSSL']={'execute':function(_0x11da4f,_0x5a842f,_0x43be0,_0x94347,_0x4ee28c){var _0x1f4bcc=_0x51d10c;if(_0x94347||(_0x94347=_0x468ff7['random'](0x40/0x8)),_0x4ee28c)var _0x46799e=_0x1dd631[_0x1f4bcc(0x4c2)]({'keySize':_0x5a842f+_0x43be0,'hasher':_0x4ee28c})['compute'](_0x11da4f,_0x94347);else var _0x46799e=_0x1dd631[_0x1f4bcc(0x4c2)]({'keySize':_0x5a842f+_0x43be0})['compute'](_0x11da4f,_0x94347);var _0xf837e6=_0x468ff7[_0x1f4bcc(0x4c2)](_0x46799e[_0x1f4bcc(0x346)][_0x1f4bcc(0x34b)](_0x5a842f),_0x43be0*0x4);return _0x46799e['sigBytes']=_0x5a842f*0x4,_0xb76301['create']({'key':_0x46799e,'iv':_0xf837e6,'salt':_0x94347});}},_0x2a3497=_0x2513fc[_0x51d10c(0x447)]=_0x6a5d20[_0x51d10c(0x386)]({'cfg':_0x6a5d20[_0x51d10c(0x46f)]['extend']({'kdf':_0x4b491b}),'encrypt':function(_0x4b2c97,_0xef08c6,_0x319612,_0x5539fc){var _0x3b08e7=_0x51d10c;_0x5539fc=this[_0x3b08e7(0x46f)][_0x3b08e7(0x386)](_0x5539fc);var _0x1b9840=_0x5539fc['kdf']['execute'](_0x319612,_0x4b2c97[_0x3b08e7(0x2bc)],_0x4b2c97[_0x3b08e7(0x29f)],_0x5539fc[_0x3b08e7(0x449)],_0x5539fc[_0x3b08e7(0x321)]);_0x5539fc['iv']=_0x1b9840['iv'];var _0x59c7a1=_0x6a5d20['encrypt'][_0x3b08e7(0x24b)](this,_0x4b2c97,_0xef08c6,_0x1b9840[_0x3b08e7(0x545)],_0x5539fc);return _0x59c7a1[_0x3b08e7(0x369)](_0x1b9840),_0x59c7a1;},'decrypt':function(_0x31c3ff,_0x553919,_0xdcf871,_0x4c6ef2){var _0x19eb3c=_0x51d10c;_0x4c6ef2=this[_0x19eb3c(0x46f)][_0x19eb3c(0x386)](_0x4c6ef2),_0x553919=this[_0x19eb3c(0x211)](_0x553919,_0x4c6ef2[_0x19eb3c(0x24f)]);var _0x2aa8be=_0x4c6ef2['kdf'][_0x19eb3c(0x494)](_0xdcf871,_0x31c3ff['keySize'],_0x31c3ff[_0x19eb3c(0x29f)],_0x553919[_0x19eb3c(0x449)],_0x4c6ef2[_0x19eb3c(0x321)]);_0x4c6ef2['iv']=_0x2aa8be['iv'];var _0x1e58e5=_0x6a5d20['decrypt'][_0x19eb3c(0x24b)](this,_0x31c3ff,_0x553919,_0x2aa8be[_0x19eb3c(0x545)],_0x4c6ef2);return _0x1e58e5;}});}();}));}(_0x16de91)),_0x16de91[_0x5ac9fe(0x3b0)];}var _0x2ab463=_0x265397[_0x4ef07c(0x3b0)],_0x343eaa;function _0x40c9f0(){var _0x709737=_0x4ef07c;return _0x343eaa||(_0x343eaa=0x1,function(_0x4f5246,_0x38e566){(function(_0x2390e2,_0x3a2bdf,_0x25315e){var _0x114c80=_0x4d6f;_0x4f5246[_0x114c80(0x3b0)]=_0x3a2bdf(_0x3d7c88(),_0x3a11d6(),_0x1c8a85(),_0x344cef(),_0x494c1f());}(_0x2ab463,function(_0x51490c){return(function(){var _0x41b849=_0x4d6f,_0x4c138d=_0x51490c,_0x19be8c=_0x4c138d['lib'],_0x18c35b=_0x19be8c['BlockCipher'],_0x343c87=_0x4c138d[_0x41b849(0x4a7)],_0x43b480=[],_0xbb9a27=[],_0x2d11e3=[],_0x50dbdd=[],_0x258fb6=[],_0x25f64c=[],_0x10b729=[],_0x279215=[],_0x2cc9b1=[],_0x2d145a=[];(function(){for(var _0x9da1bf=[],_0x1d16e1=0x0;_0x1d16e1<0x100;_0x1d16e1++)_0x1d16e1<0x80?_0x9da1bf[_0x1d16e1]=_0x1d16e1<<0x1:_0x9da1bf[_0x1d16e1]=_0x1d16e1<<0x1^0x11b;for(var _0x199ac2=0x0,_0x59ccad=0x0,_0x1d16e1=0x0;_0x1d16e1<0x100;_0x1d16e1++){var _0x48eb69=_0x59ccad^_0x59ccad<<0x1^_0x59ccad<<0x2^_0x59ccad<<0x3^_0x59ccad<<0x4;_0x48eb69=_0x48eb69>>>0x8^_0x48eb69&0xff^0x63,_0x43b480[_0x199ac2]=_0x48eb69,_0xbb9a27[_0x48eb69]=_0x199ac2;var _0x1448d9=_0x9da1bf[_0x199ac2],_0x30efed=_0x9da1bf[_0x1448d9],_0x17ea5e=_0x9da1bf[_0x30efed],_0x2f35f7=_0x9da1bf[_0x48eb69]*0x101^_0x48eb69*0x1010100;_0x2d11e3[_0x199ac2]=_0x2f35f7<<0x18|_0x2f35f7>>>0x8,_0x50dbdd[_0x199ac2]=_0x2f35f7<<0x10|_0x2f35f7>>>0x10,_0x258fb6[_0x199ac2]=_0x2f35f7<<0x8|_0x2f35f7>>>0x18,_0x25f64c[_0x199ac2]=_0x2f35f7;var _0x2f35f7=_0x17ea5e*0x1010101^_0x30efed*0x10001^_0x1448d9*0x101^_0x199ac2*0x1010100;_0x10b729[_0x48eb69]=_0x2f35f7<<0x18|_0x2f35f7>>>0x8,_0x279215[_0x48eb69]=_0x2f35f7<<0x10|_0x2f35f7>>>0x10,_0x2cc9b1[_0x48eb69]=_0x2f35f7<<0x8|_0x2f35f7>>>0x18,_0x2d145a[_0x48eb69]=_0x2f35f7,_0x199ac2?(_0x199ac2=_0x1448d9^_0x9da1bf[_0x9da1bf[_0x9da1bf[_0x17ea5e^_0x1448d9]]],_0x59ccad^=_0x9da1bf[_0x9da1bf[_0x59ccad]]):_0x199ac2=_0x59ccad=0x1;}}());var _0x4c137a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2c4181=_0x343c87[_0x41b849(0x2c4)]=_0x18c35b[_0x41b849(0x386)]({'_doReset':function(){var _0x20aec9=_0x41b849,_0x4260e8;if(!(this[_0x20aec9(0x430)]&&this[_0x20aec9(0x2d5)]===this[_0x20aec9(0x331)])){for(var _0x292020=this['_keyPriorReset']=this[_0x20aec9(0x331)],_0x58f8b1=_0x292020[_0x20aec9(0x346)],_0x5d451f=_0x292020['sigBytes']/0x4,_0x543491=this[_0x20aec9(0x430)]=_0x5d451f+0x6,_0x137026=(_0x543491+0x1)*0x4,_0x82d743=this[_0x20aec9(0x37d)]=[],_0x10c654=0x0;_0x10c654<_0x137026;_0x10c654++)_0x10c654<_0x5d451f?_0x82d743[_0x10c654]=_0x58f8b1[_0x10c654]:(_0x4260e8=_0x82d743[_0x10c654-0x1],_0x10c654%_0x5d451f?_0x5d451f>0x6&&_0x10c654%_0x5d451f==0x4&&(_0x4260e8=_0x43b480[_0x4260e8>>>0x18]<<0x18|_0x43b480[_0x4260e8>>>0x10&0xff]<<0x10|_0x43b480[_0x4260e8>>>0x8&0xff]<<0x8|_0x43b480[_0x4260e8&0xff]):(_0x4260e8=_0x4260e8<<0x8|_0x4260e8>>>0x18,_0x4260e8=_0x43b480[_0x4260e8>>>0x18]<<0x18|_0x43b480[_0x4260e8>>>0x10&0xff]<<0x10|_0x43b480[_0x4260e8>>>0x8&0xff]<<0x8|_0x43b480[_0x4260e8&0xff],_0x4260e8^=_0x4c137a[_0x10c654/_0x5d451f|0x0]<<0x18),_0x82d743[_0x10c654]=_0x82d743[_0x10c654-_0x5d451f]^_0x4260e8);for(var _0x204914=this[_0x20aec9(0x3a3)]=[],_0xd23818=0x0;_0xd23818<_0x137026;_0xd23818++){var _0x10c654=_0x137026-_0xd23818;if(_0xd23818%0x4)var _0x4260e8=_0x82d743[_0x10c654];else var _0x4260e8=_0x82d743[_0x10c654-0x4];_0xd23818<0x4||_0x10c654<=0x4?_0x204914[_0xd23818]=_0x4260e8:_0x204914[_0xd23818]=_0x10b729[_0x43b480[_0x4260e8>>>0x18]]^_0x279215[_0x43b480[_0x4260e8>>>0x10&0xff]]^_0x2cc9b1[_0x43b480[_0x4260e8>>>0x8&0xff]]^_0x2d145a[_0x43b480[_0x4260e8&0xff]];}}},'encryptBlock':function(_0x433fe5,_0x52149e){var _0x21c25a=_0x41b849;this[_0x21c25a(0x2a3)](_0x433fe5,_0x52149e,this[_0x21c25a(0x37d)],_0x2d11e3,_0x50dbdd,_0x258fb6,_0x25f64c,_0x43b480);},'decryptBlock':function(_0xedf78c,_0x56b1b4){var _0x563876=_0x41b849,_0x1bae2c=_0xedf78c[_0x56b1b4+0x1];_0xedf78c[_0x56b1b4+0x1]=_0xedf78c[_0x56b1b4+0x3],_0xedf78c[_0x56b1b4+0x3]=_0x1bae2c,this[_0x563876(0x2a3)](_0xedf78c,_0x56b1b4,this[_0x563876(0x3a3)],_0x10b729,_0x279215,_0x2cc9b1,_0x2d145a,_0xbb9a27);var _0x1bae2c=_0xedf78c[_0x56b1b4+0x1];_0xedf78c[_0x56b1b4+0x1]=_0xedf78c[_0x56b1b4+0x3],_0xedf78c[_0x56b1b4+0x3]=_0x1bae2c;},'_doCryptBlock':function(_0x65e743,_0x54ac62,_0x30fabb,_0x3d43e2,_0x4ac852,_0x2d99cd,_0x2826a2,_0x16a887){var _0x5e3e4c=_0x41b849;for(var _0x2786a4=this[_0x5e3e4c(0x430)],_0x15e6e4=_0x65e743[_0x54ac62]^_0x30fabb[0x0],_0x12a03c=_0x65e743[_0x54ac62+0x1]^_0x30fabb[0x1],_0x3107f4=_0x65e743[_0x54ac62+0x2]^_0x30fabb[0x2],_0x1b6b26=_0x65e743[_0x54ac62+0x3]^_0x30fabb[0x3],_0x1d0c2d=0x4,_0xb8ae00=0x1;_0xb8ae00<_0x2786a4;_0xb8ae00++){var _0x18c77d=_0x3d43e2[_0x15e6e4>>>0x18]^_0x4ac852[_0x12a03c>>>0x10&0xff]^_0x2d99cd[_0x3107f4>>>0x8&0xff]^_0x2826a2[_0x1b6b26&0xff]^_0x30fabb[_0x1d0c2d++],_0x24aa36=_0x3d43e2[_0x12a03c>>>0x18]^_0x4ac852[_0x3107f4>>>0x10&0xff]^_0x2d99cd[_0x1b6b26>>>0x8&0xff]^_0x2826a2[_0x15e6e4&0xff]^_0x30fabb[_0x1d0c2d++],_0x30af4c=_0x3d43e2[_0x3107f4>>>0x18]^_0x4ac852[_0x1b6b26>>>0x10&0xff]^_0x2d99cd[_0x15e6e4>>>0x8&0xff]^_0x2826a2[_0x12a03c&0xff]^_0x30fabb[_0x1d0c2d++],_0x10b3ed=_0x3d43e2[_0x1b6b26>>>0x18]^_0x4ac852[_0x15e6e4>>>0x10&0xff]^_0x2d99cd[_0x12a03c>>>0x8&0xff]^_0x2826a2[_0x3107f4&0xff]^_0x30fabb[_0x1d0c2d++];_0x15e6e4=_0x18c77d,_0x12a03c=_0x24aa36,_0x3107f4=_0x30af4c,_0x1b6b26=_0x10b3ed;}var _0x18c77d=(_0x16a887[_0x15e6e4>>>0x18]<<0x18|_0x16a887[_0x12a03c>>>0x10&0xff]<<0x10|_0x16a887[_0x3107f4>>>0x8&0xff]<<0x8|_0x16a887[_0x1b6b26&0xff])^_0x30fabb[_0x1d0c2d++],_0x24aa36=(_0x16a887[_0x12a03c>>>0x18]<<0x18|_0x16a887[_0x3107f4>>>0x10&0xff]<<0x10|_0x16a887[_0x1b6b26>>>0x8&0xff]<<0x8|_0x16a887[_0x15e6e4&0xff])^_0x30fabb[_0x1d0c2d++],_0x30af4c=(_0x16a887[_0x3107f4>>>0x18]<<0x18|_0x16a887[_0x1b6b26>>>0x10&0xff]<<0x10|_0x16a887[_0x15e6e4>>>0x8&0xff]<<0x8|_0x16a887[_0x12a03c&0xff])^_0x30fabb[_0x1d0c2d++],_0x10b3ed=(_0x16a887[_0x1b6b26>>>0x18]<<0x18|_0x16a887[_0x15e6e4>>>0x10&0xff]<<0x10|_0x16a887[_0x12a03c>>>0x8&0xff]<<0x8|_0x16a887[_0x3107f4&0xff])^_0x30fabb[_0x1d0c2d++];_0x65e743[_0x54ac62]=_0x18c77d,_0x65e743[_0x54ac62+0x1]=_0x24aa36,_0x65e743[_0x54ac62+0x2]=_0x30af4c,_0x65e743[_0x54ac62+0x3]=_0x10b3ed;},'keySize':0x100/0x20});_0x4c138d['AES']=_0x18c35b[_0x41b849(0x48b)](_0x2c4181);}()),_0x51490c['AES'];}));}(_0x265397)),_0x265397[_0x709737(0x3b0)];}var _0x9f3fd8=_0x40c9f0();const _0xff0e20=_0xabc530(_0x9f3fd8);var _0x5f4c46=_0x3a11d6();const _0x160dee=_0xabc530(_0x5f4c46);var _0x1b1381={'exports':{}},_0xf4dac3=_0x1b1381['exports'],_0x28d9a4;function _0x1b7136(){return _0x28d9a4||(_0x28d9a4=0x1,function(_0x28dd5a,_0x1e5628){(function(_0x13eec2,_0x3e3b87){_0x28dd5a['exports']=_0x3e3b87(_0x3d7c88());}(_0xf4dac3,function(_0x30c63b){var _0x107c6e=_0x4d6f;return _0x30c63b[_0x107c6e(0x2eb)]['Utf8'];}));}(_0x1b1381)),_0x1b1381['exports'];}var _0x1b9e3e=_0x1b7136();const _0x3ee8d3=_0xabc530(_0x1b9e3e);var _0x59f28e={'exports':{}},_0x24ec4b=_0x59f28e[_0x4ef07c(0x3b0)],_0x3592ed;function _0x5c3bd9(){var _0x2110e2=_0x4ef07c;return _0x3592ed||(_0x3592ed=0x1,function(_0x52b2d6,_0x59a41d){(function(_0x399bff,_0x45bddf){var _0x271e5c=_0x4d6f;_0x52b2d6[_0x271e5c(0x3b0)]=_0x45bddf(_0x3d7c88());}(_0x24ec4b,function(_0x3cf682){var _0x4c2f1f=_0x4d6f;return(function(){var _0x3b819e=_0x4d6f;if(typeof ArrayBuffer==_0x3b819e(0x40a)){var _0x2448ed=_0x3cf682,_0x14dc71=_0x2448ed[_0x3b819e(0x21c)],_0x56ac2d=_0x14dc71['WordArray'],_0x1b7abe=_0x56ac2d[_0x3b819e(0x2a8)],_0x3e238e=_0x56ac2d[_0x3b819e(0x2a8)]=function(_0x2c2724){var _0x4545da=_0x3b819e;if(_0x2c2724 instanceof ArrayBuffer&&(_0x2c2724=new Uint8Array(_0x2c2724)),(_0x2c2724 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2c2724 instanceof Uint8ClampedArray||_0x2c2724 instanceof Int16Array||_0x2c2724 instanceof Uint16Array||_0x2c2724 instanceof Int32Array||_0x2c2724 instanceof Uint32Array||_0x2c2724 instanceof Float32Array||_0x2c2724 instanceof Float64Array)&&(_0x2c2724=new Uint8Array(_0x2c2724['buffer'],_0x2c2724[_0x4545da(0x299)],_0x2c2724[_0x4545da(0x3a7)])),_0x2c2724 instanceof Uint8Array){for(var _0x90926d=_0x2c2724['byteLength'],_0x22d852=[],_0x288ddb=0x0;_0x288ddb<_0x90926d;_0x288ddb++)_0x22d852[_0x288ddb>>>0x2]|=_0x2c2724[_0x288ddb]<<0x18-_0x288ddb%0x4*0x8;_0x1b7abe[_0x4545da(0x24b)](this,_0x22d852,_0x90926d);}else _0x1b7abe[_0x4545da(0x3ac)](this,arguments);};_0x3e238e[_0x3b819e(0x31e)]=_0x56ac2d;}}()),_0x3cf682[_0x4c2f1f(0x21c)][_0x4c2f1f(0x35a)];}));}(_0x59f28e)),_0x59f28e[_0x2110e2(0x3b0)];}var _0x2fbe6e=_0x5c3bd9();const _0x42681c=_0xabc530(_0x2fbe6e);var _0x448547={'exports':{}},_0x14cc8a=_0x448547[_0x4ef07c(0x3b0)],_0x3eb44b;function _0x3dc9bf(){return _0x3eb44b||(_0x3eb44b=0x1,function(_0x3bf967,_0x327176){(function(_0x4d396c,_0xdd498a,_0x3e18a4){var _0x1ea753=_0x4d6f;_0x3bf967[_0x1ea753(0x3b0)]=_0xdd498a(_0x3d7c88(),_0x494c1f());}(_0x14cc8a,function(_0x39ece8){var _0x278af1=_0x4d6f;return _0x39ece8[_0x278af1(0x441)][_0x278af1(0x411)]={'pad':function(){},'unpad':function(){}},_0x39ece8[_0x278af1(0x441)][_0x278af1(0x411)];}));}(_0x448547)),_0x448547['exports'];}var _0x31a7c4=_0x3dc9bf();const _0x33c0ce=_0xabc530(_0x31a7c4);function _0x4d93ab(_0x4793ca,_0x14853b){var _0x5d5e0c=_0x4ef07c;const _0x2500c9=_0x14853b-_0x4793ca[_0x5d5e0c(0x3aa)]%_0x14853b,_0x109216=String[_0x5d5e0c(0x3ef)](_0x2500c9)['repeat'](_0x2500c9);return _0x4793ca+_0x109216;}function _0x28e2de(_0x2062f3,_0x5ed615){var _0x26a56e=_0x4ef07c;const _0x198459=_0x42681c[_0x26a56e(0x352)](0x10),_0xa8cafa=_0x4d93ab(_0x2062f3,0x10),_0x324278=_0xff0e20[_0x26a56e(0x240)](_0x3ee8d3['parse'](_0xa8cafa),_0x160dee[_0x26a56e(0x55e)](_0x5ed615),{'iv':_0x198459,'padding':_0x33c0ce});return _0x198459[_0x26a56e(0x385)](_0x324278[_0x26a56e(0x4d2)])['toString'](_0x160dee);}function _0x22f91a(){var _0x1ffc0a=_0x4ef07c;const _0xf78226=_0xc549e7['getGlobalObject']()[_0x1ffc0a(0x409)];if(_0xf78226){const _0x1a3a33={'time':Math[_0x1ffc0a(0x286)](Date[_0x1ffc0a(0x52d)]()/0x3e8),'domain':location[_0x1ffc0a(0x540)]};return _0x28e2de(JSON[_0x1ffc0a(0x49b)](_0x1a3a33),_0xf78226);}}var _0x1b9753=Object[_0x4ef07c(0x4b2)],_0x435622=(_0x8d6ac7,_0x16eae9,_0x4470db,_0xbb3c6e)=>{var _0x3055b8=_0x4ef07c;for(var _0x2f5232=_0xbb3c6e>0x1?void 0x0:_0xbb3c6e?_0x1b9753(_0x16eae9,_0x4470db):_0x16eae9,_0x5a3f4d=_0x8d6ac7[_0x3055b8(0x3aa)]-0x1,_0x4a5aed;_0x5a3f4d>=0x0;_0x5a3f4d--)(_0x4a5aed=_0x8d6ac7[_0x5a3f4d])&&(_0x2f5232=_0x4a5aed(_0x2f5232)||_0x2f5232);return _0x2f5232;},_0x1a829e=(_0xd9fdba,_0x57f268)=>(_0x4b9f09,_0x38047b)=>_0x57f268(_0x4b9f09,_0x38047b,_0xd9fdba);let _0x1cddb0=class{constructor(_0x1ee038){var _0x7cf247=_0x4ef07c;this['_httpService']=_0x1ee038,this[_0x7cf247(0x4d3)]();}[_0x4ef07c(0x4d3)](){var _0x2fba64=_0x4ef07c;this[_0x2fba64(0x397)]['registerHTTPInterceptor']({'interceptor':(_0x28d270,_0xd60034)=>{var _0x5909b4=_0x2fba64;const _0x127b6a=_0x28d270[_0x5909b4(0x28d)],_0x1c1446=_0x22f91a();return _0x1c1446&&_0x127b6a[_0x5909b4(0x3bc)](_0x5909b4(0x356),_0x1c1446),_0xd60034(_0x28d270);}});}};_0x1cddb0=_0x435622([_0x1a829e(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f['HTTPService']))],_0x1cddb0);var _0x487409=Object['getOwnPropertyDescriptor'],_0x35c806=(_0x27c8c0,_0x132fe2,_0x3c3394,_0xb99ea6)=>{var _0x6f8de5=_0x4ef07c;for(var _0x27328f=_0xb99ea6>0x1?void 0x0:_0xb99ea6?_0x487409(_0x132fe2,_0x3c3394):_0x132fe2,_0x26d378=_0x27c8c0[_0x6f8de5(0x3aa)]-0x1,_0x3fb3e9;_0x26d378>=0x0;_0x26d378--)(_0x3fb3e9=_0x27c8c0[_0x26d378])&&(_0x27328f=_0x3fb3e9(_0x27328f)||_0x27328f);return _0x27328f;},_0xcd352d=(_0x52b8e6,_0x5cbb8d)=>(_0x3763b6,_0x212321)=>_0x5cbb8d(_0x3763b6,_0x212321,_0x52b8e6);_0x2c717a[_0x4ef07c(0x562)]=class extends _0x5a87f6[_0x4ef07c(0x244)]{constructor(_0x274781,_0x3ca909,_0x2c285f){var _0x1e4a74=_0x4ef07c;super(),_0x27ebba(this,_0x1e4a74(0x4ee),new _0x49c451[(_0x1e4a74(0x32a))](null)),_0x27ebba(this,_0x1e4a74(0x300),this[_0x1e4a74(0x4ee)][_0x1e4a74(0x245)]()),(this[_0x1e4a74(0x1df)]=_0x274781,this['_snapshotService']=_0x3ca909,this[_0x1e4a74(0x4d9)]=_0x2c285f);}async[_0x4ef07c(0x4ff)](_0x52f355,_0x2f5a56,_0x35a874){var _0x20b751=_0x4ef07c;this[_0x20b751(0x4ee)][_0x20b751(0x534)]({'unitId':_0x52f355,'type':_0x2f5a56});let _0xca774e=null;switch(_0x2f5a56){case _0x1ac378[_0x20b751(0x2be)]:{_0xca774e=await this[_0x20b751(0x378)][_0x20b751(0x315)](_0x52f355,_0x35a874);break;}case _0x1ac378[_0x20b751(0x41f)]:{_0xca774e=await this['_snapshotService'][_0x20b751(0x21d)](_0x52f355,_0x35a874);break;}default:{this[_0x20b751(0x1df)][_0x20b751(0x456)](_0x20b751(0x50e),_0x20b751(0x51e));break;}}return _0xca774e;}async['loadUnit'](_0x268436,_0x3383d5,_0x2bde3c){var _0x1917f1=_0x4ef07c,_0x232915;this[_0x1917f1(0x4ee)][_0x1917f1(0x534)]({'unitId':_0x268436,'type':_0x3383d5,'subUnitId':_0x2bde3c});let _0x2d5f83=0x0;const _0x2f86ff=await((_0x232915=this['_localCacheService'])==null?void 0x0:_0x232915['loadOfflineData'](_0x268436));return _0x2f86ff&&(_0x2f86ff['awaitingChangeset']||_0x2f86ff['mutations'][_0x1917f1(0x3aa)]!==0x0)&&(_0x2d5f83=_0x2f86ff[_0x1917f1(0x31c)]),_0x2d5f83===0x0&&this[_0x1917f1(0x1df)][_0x1917f1(0x3a5)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1917f1(0x4ff)](_0x268436,_0x3383d5,_0x2d5f83);}},_0x2c717a[_0x4ef07c(0x562)]=_0x35c806([_0xcd352d(0x0,_0x5a87f6[_0x4ef07c(0x546)]),_0xcd352d(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x9d3528[_0x4ef07c(0x1d4)])),_0xcd352d(0x2,_0x5a87f6['Optional'](_0x11ccb1))],_0x2c717a['DataLoaderService']);var _0x2cca87=Object['getOwnPropertyDescriptor'],_0x5c1c69=(_0x4eb316,_0x3931d2,_0x46e9eb,_0x1f3317)=>{for(var _0x13c880=_0x1f3317>0x1?void 0x0:_0x1f3317?_0x2cca87(_0x3931d2,_0x46e9eb):_0x3931d2,_0x17614a=_0x4eb316['length']-0x1,_0x4e3a30;_0x17614a>=0x0;_0x17614a--)(_0x4e3a30=_0x4eb316[_0x17614a])&&(_0x13c880=_0x4e3a30(_0x13c880)||_0x13c880);return _0x13c880;},_0x2baa08=(_0x3da6ae,_0x1d8a88)=>(_0x5d2e62,_0x4a46a8)=>_0x1d8a88(_0x5d2e62,_0x4a46a8,_0x3da6ae);const _0x2c5f4c=[_0x4ef07c(0x1e3),_0x4ef07c(0x536),'image/jpg',_0x4ef07c(0x53d),_0x4ef07c(0x1ca)],_0x246851=0x5*0x400*0x400,_0x288ea1='/universer-api/stream/file/upload',_0x38d368=_0x4ef07c(0x287);_0x2c717a[_0x4ef07c(0x28f)]=class{constructor(_0x1bff5c,_0x48f529,_0x474af2){var _0x4bba72=_0x4ef07c;_0x27ebba(this,_0x4bba72(0x3e3),0x0),_0x27ebba(this,_0x4bba72(0x4df),new _0x49c451[(_0x4bba72(0x34d))]()),_0x27ebba(this,_0x4bba72(0x222),this[_0x4bba72(0x4df)]),_0x27ebba(this,_0x4bba72(0x2ad),new Map()),(this['_httpService']=_0x1bff5c,this[_0x4bba72(0x238)]=_0x48f529,this[_0x4bba72(0x25a)]=_0x474af2);}[_0x4ef07c(0x54d)](_0x32b2bf){var _0x2fc27a=_0x4ef07c;this[_0x2fc27a(0x3e3)]=_0x32b2bf,this[_0x2fc27a(0x4df)][_0x2fc27a(0x534)](_0x32b2bf);}[_0x4ef07c(0x256)](_0xfca4b,_0x3e2da2){var _0x5aef43=_0x4ef07c;if(_0x3e2da2===_0x5dfc2e[_0x5aef43(0x200)][_0x5aef43(0x225)]){const _0x523868=new Image();return _0x523868['src']=_0xfca4b,_0x523868;}return this[_0x5aef43(0x2ad)][_0x5aef43(0x47e)](_0xfca4b);}[_0x4ef07c(0x25d)](_0x20b189,_0x1e815b,_0x3ae483){var _0x2817e0=_0x4ef07c;_0x1e815b===_0x5dfc2e[_0x2817e0(0x200)][_0x2817e0(0x225)]||_0x3ae483==null||this[_0x2817e0(0x2ad)][_0x2817e0(0x3bc)](_0x20b189,_0x3ae483);}async['getImage'](_0x1c5866){var _0x3cb0e3=_0x4ef07c;try{const _0x344177=this[_0x3cb0e3(0x4b0)](this['_getSignURL'](),''+_0x1c5866),_0x55d952=(await this[_0x3cb0e3(0x397)][_0x3cb0e3(0x47e)](_0x344177))[_0x3cb0e3(0x1e4)];if(_0x55d952[_0x3cb0e3(0x456)]&&_0x55d952['error'][_0x3cb0e3(0x3ce)]===_0x4c3020['OK']){const _0x340d02=new URL(_0x55d952[_0x3cb0e3(0x549)],this['_getDownloadEndpointURL']())[_0x3cb0e3(0x38d)]();return Promise[_0x3cb0e3(0x335)](_0x340d02);}return Promise[_0x3cb0e3(0x3dd)](_0x55d952[_0x3cb0e3(0x456)]);}catch(_0x5bb32f){return Promise['reject'](_0x5bb32f);}}async[_0x4ef07c(0x469)](_0x2393fe){var _0x4e2819=_0x4ef07c;let _0x15a81a='';if(!_0x2c5f4c[_0x4e2819(0x226)](_0x2393fe[_0x4e2819(0x527)]))return this['_decreaseWaiting'](),Promise[_0x4e2819(0x3dd)](new Error(_0x5dfc2e[_0x4e2819(0x452)][_0x4e2819(0x475)]));if(_0x2393fe[_0x4e2819(0x2ae)]>_0x246851)return this[_0x4e2819(0x48f)](),Promise[_0x4e2819(0x3dd)](new Error(_0x5dfc2e[_0x4e2819(0x452)][_0x4e2819(0x34f)]));try{const _0xb034a3=new FormData();_0xb034a3[_0x4e2819(0x4fc)]('file',_0x2393fe);const _0x2d0ea2=this[_0x4e2819(0x25a)][_0x4e2819(0x33f)](),_0x53ea8a=_0x2d0ea2==null?void 0x0:_0x2d0ea2[_0x4e2819(0x224)]();if(!_0x53ea8a)throw new Error('unitId\x20is\x20not\x20found');const _0x321329=this[_0x4e2819(0x298)]()+'?size='+_0x2393fe[_0x4e2819(0x2ae)][_0x4e2819(0x38d)]()+'&source='+_0x522cad[_0x4e2819(0x2de)]+_0x4e2819(0x2c6)+encodeURIComponent(_0x53ea8a),_0x4c9228={'body':_0xb034a3},_0x59808b=(await this[_0x4e2819(0x397)][_0x4e2819(0x3ff)](_0x321329,_0x4c9228))['body'];if(typeof _0x59808b[_0x4e2819(0x1f9)]!='string')return this[_0x4e2819(0x48f)](),Promise[_0x4e2819(0x3dd)](new Error(_0x5dfc2e[_0x4e2819(0x452)][_0x4e2819(0x503)]));_0x15a81a=_0x59808b[_0x4e2819(0x1f9)];}catch{return this[_0x4e2819(0x48f)](),Promise[_0x4e2819(0x3dd)](new Error(_0x5dfc2e['ImageUploadStatusType']['ERROR_IMAGE']));}return new Promise((_0x531f25,_0x54d832)=>{var _0x287d88=_0x4e2819;const _0x31c4e5=new FileReader();_0x31c4e5[_0x287d88(0x1f6)](_0x2393fe),_0x31c4e5[_0x287d88(0x3a1)]=_0x12400f=>{var _0x1f8dd6=_0x287d88,_0x432a4a;const _0x156e65=(_0x432a4a=_0x12400f['target'])==null?void 0x0:_0x432a4a['result'];if(_0x156e65==null){this[_0x1f8dd6(0x48f)](),_0x54d832(new Error(_0x5dfc2e[_0x1f8dd6(0x452)]['ERROR_IMAGE']));return;}const _0x5aeded=_0x5a87f6['generateRandomId'](0x6);_0x531f25({'imageId':_0x5aeded,'imageSourceType':_0x5dfc2e[_0x1f8dd6(0x200)][_0x1f8dd6(0x513)],'source':_0x15a81a,'base64Cache':_0x156e65,'status':_0x5dfc2e[_0x1f8dd6(0x452)][_0x1f8dd6(0x202)]}),this[_0x1f8dd6(0x48f)]();};});}[_0x4ef07c(0x298)](){var _0x25b263=_0x4ef07c,_0x6f0603;const _0x4babee=this[_0x25b263(0x238)][_0x25b263(0x4e3)](_0x50bbc4);return(_0x6f0603=_0x4babee==null?void 0x0:_0x4babee[_0x25b263(0x4af)])!=null?_0x6f0603:_0x288ea1;}[_0x4ef07c(0x3e2)](){var _0x4040d4=_0x4ef07c,_0x3e99c8;const _0x5e17d8=this['_configService']['getConfig'](_0x50bbc4);return(_0x3e99c8=_0x5e17d8==null?void 0x0:_0x5e17d8[_0x4040d4(0x2df)])!=null?_0x3e99c8:_0x38d368;}[_0x4ef07c(0x439)](){var _0x1e82ab=_0x4ef07c,_0x1661c3;const _0xfa0be1=this[_0x1e82ab(0x238)]['getConfig'](_0x50bbc4);return(_0x1661c3=_0xfa0be1==null?void 0x0:_0xfa0be1[_0x1e82ab(0x401)])!=null?_0x1661c3:location[_0x1e82ab(0x3d9)];}[_0x4ef07c(0x4b0)](_0x3e3844,_0x465fa4){var _0xfa4b8e=_0x4ef07c;return _0x3e3844[_0xfa4b8e(0x508)](_0xfa4b8e(0x326),_0x465fa4);}[_0x4ef07c(0x48f)](){var _0x179bf9=_0x4ef07c;this[_0x179bf9(0x3e3)]-=0x1,this[_0x179bf9(0x4df)][_0x179bf9(0x534)](this['_waitCount']);}},_0x2c717a[_0x4ef07c(0x28f)]=_0x5c1c69([_0x2baa08(0x0,_0x5a87f6['Inject'](_0x3f793f[_0x4ef07c(0x44d)])),_0x2baa08(0x1,_0x5a87f6[_0x4ef07c(0x4d8)]),_0x2baa08(0x2,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x32b)]))],_0x2c717a[_0x4ef07c(0x28f)]);var _0x3aa5be=Object[_0x4ef07c(0x4b2)],_0x85e66a=(_0x154d73,_0x1e6dc4,_0x209f7c,_0x40ccbf)=>{var _0x296ec1=_0x4ef07c;for(var _0x2582af=_0x40ccbf>0x1?void 0x0:_0x40ccbf?_0x3aa5be(_0x1e6dc4,_0x209f7c):_0x1e6dc4,_0x36e190=_0x154d73[_0x296ec1(0x3aa)]-0x1,_0xfab228;_0x36e190>=0x0;_0x36e190--)(_0xfab228=_0x154d73[_0x36e190])&&(_0x2582af=_0xfab228(_0x2582af)||_0x2582af);return _0x2582af;},_0x15c104=(_0x371f70,_0x4a18e4)=>(_0x2a4de0,_0x585f50)=>_0x4a18e4(_0x2a4de0,_0x585f50,_0x371f70);const _0x90f445='/universer-api/authz';_0x2c717a[_0x4ef07c(0x275)]=class{constructor(_0x6f498d,_0x412b9f){this['_configService']=_0x6f498d,this['_HTTPService']=_0x412b9f;}[_0x4ef07c(0x24e)](){var _0x56adda=_0x4ef07c,_0x1d6c9a;const _0x3932eb=this['_configService'][_0x56adda(0x4e3)](_0x50bbc4);return(_0x1d6c9a=_0x3932eb==null?void 0x0:_0x3932eb[_0x56adda(0x476)])!=null?_0x1d6c9a:_0x90f445;}async[_0x4ef07c(0x1ee)](_0x3004b6){var _0x5d53ec=_0x4ef07c;const _0x43302f=this[_0x5d53ec(0x24e)]()+_0x5d53ec(0x34e);return{'list':[{'title':_0x5d53ec(0x231),'mentions':(await this[_0x5d53ec(0x43f)]['get'](_0x43302f,{'params':{'objectID':_0x3004b6[_0x5d53ec(0x3e0)],'unitID':_0x3004b6[_0x5d53ec(0x3e0)]}}))[_0x5d53ec(0x1e4)]['collaborators'][_0x5d53ec(0x277)](_0x48e7b0=>({'objectId':_0x48e7b0['id'],'name':_0x48e7b0['subject'][_0x5d53ec(0x525)],'metadata':{'icon':_0x48e7b0['subject']['avatar']},'label':_0x48e7b0['subject'][_0x5d53ec(0x525)],'objectType':_0x5a87f6['MentionType'][_0x5d53ec(0x4fa)]})),'metadata':{},'type':_0x5a87f6['MentionType'][_0x5d53ec(0x4fa)]}]};}},_0x2c717a[_0x4ef07c(0x275)]=_0x85e66a([_0x15c104(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x4d8)])),_0x15c104(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f[_0x4ef07c(0x44d)]))],_0x2c717a[_0x4ef07c(0x275)]);var _0x170ff8=Object['getOwnPropertyDescriptor'],_0x441c33=(_0x20c0b0,_0x5d9376,_0x2d7e4c,_0x3995b1)=>{var _0x1097e0=_0x4ef07c;for(var _0x269f10=_0x3995b1>0x1?void 0x0:_0x3995b1?_0x170ff8(_0x5d9376,_0x2d7e4c):_0x5d9376,_0x1c3483=_0x20c0b0[_0x1097e0(0x3aa)]-0x1,_0x1853e1;_0x1c3483>=0x0;_0x1c3483--)(_0x1853e1=_0x20c0b0[_0x1c3483])&&(_0x269f10=_0x1853e1(_0x269f10)||_0x269f10);return _0x269f10;},_0x14b8f3=(_0xd5e46,_0x36c56c)=>(_0x1d90f2,_0x2dd1f6)=>_0x36c56c(_0x1d90f2,_0x2dd1f6,_0xd5e46);let _0x1c167c=class extends _0x5a87f6[_0x4ef07c(0x244)]{constructor(_0x468ae3,_0x62722c,_0x373211,_0x3e2feb,_0x195d0c){var _0x495f23=_0x4ef07c;super(),this['_injector']=_0x468ae3,this['_univerInstanceService']=_0x62722c,this[_0x495f23(0x20e)]=_0x373211,this[_0x495f23(0x532)]=_0x3e2feb,this[_0x495f23(0x333)]=_0x195d0c,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x4ef07c(0x392)](){var _0x3dd440=_0x4ef07c;const _0x5011b5=async _0x2010e3=>{var _0x36ebd8=_0x4d6f;(await this['_collaborationSessionService'][_0x36ebd8(0x2b3)](_0x2010e3))[_0x36ebd8(0x336)][_0x36ebd8(0x50f)](_0xf159a2[_0x36ebd8(0x320)](_0x2b0ea2=>_0x2b0ea2[_0x36ebd8(0x3f7)]===_0x9d3528['CollaborationEvent'][_0x36ebd8(0x351)]),_0xf159a2[_0x36ebd8(0x361)](this['dispose$']))['subscribe'](_0x12c611=>{var _0x5575c6=_0x36ebd8;const _0x277e33=_0x12c611,{reason:_0x189bd3}=_0x277e33[_0x5575c6(0x511)];this['_collaborationUIEventService'][_0x5575c6(0x446)]({'id':_0x28846f[_0x5575c6(0x24d)],'data':_0x189bd3}),this[_0x5575c6(0x20e)][_0x5575c6(0x3ab)](new _0x2dec7c[(_0x5575c6(0x40b))](_0x2010e3)['id'],!0x1),this[_0x5575c6(0x532)][_0x5575c6(0x400)](_0x2010e3);});};_0x49c451['merge'](this['_univerInstanceService'][_0x3dd440(0x2a9)](_0x5a87f6[_0x3dd440(0x47a)][_0x3dd440(0x2be)]),this[_0x3dd440(0x25a)][_0x3dd440(0x2a9)](_0x5a87f6[_0x3dd440(0x47a)]['UNIVER_DOC']))[_0x3dd440(0x50f)](_0xf159a2[_0x3dd440(0x277)](_0x3ce9a0=>_0x3ce9a0[_0x3dd440(0x224)]()),_0xf159a2[_0x3dd440(0x320)](_0x2f5b1a=>!_0x5a87f6[_0x3dd440(0x46e)](_0x2f5b1a)),_0xf159a2[_0x3dd440(0x361)](this[_0x3dd440(0x501)]))['subscribe'](_0x5e8d5c=>{_0x5011b5(_0x5e8d5c);});}[_0x4ef07c(0x278)](){var _0x149169=_0x4ef07c;const _0x4eb9b2=async _0x13d306=>{var _0x2cf5d3=_0x4d6f;const _0xde0292=await this[_0x2cf5d3(0x532)][_0x2cf5d3(0x2b3)](_0x13d306),_0x28c08b=this[_0x2cf5d3(0x3b3)]['get'](_0x2dec7c['SheetPermissionInitController']);_0xde0292[_0x2cf5d3(0x336)][_0x2cf5d3(0x50f)](_0xf159a2['filter'](_0x57ae03=>_0x57ae03[_0x2cf5d3(0x3f7)]===_0x9d3528[_0x2cf5d3(0x328)][_0x2cf5d3(0x492)]),_0xf159a2[_0x2cf5d3(0x361)](this[_0x2cf5d3(0x501)]))[_0x2cf5d3(0x2ce)](_0x51c6fb=>{var _0x3442e9=_0x2cf5d3;const _0x13214f=_0x51c6fb,{objectId:_0xf82f75}=_0x13214f[_0x3442e9(0x511)];_0xf82f75===_0x13d306?_0x28c08b[_0x3442e9(0x32d)](_0x13d306):_0x28c08b[_0x3442e9(0x4b3)](_0x13d306,_0xf82f75);});};_0x49c451[_0x149169(0x294)](this[_0x149169(0x25a)][_0x149169(0x2a9)](_0x5a87f6[_0x149169(0x47a)][_0x149169(0x2be)]))['pipe'](_0xf159a2['map'](_0x36752c=>_0x36752c['getUnitId']()),_0xf159a2['filter'](_0xe9b886=>!_0x5a87f6[_0x149169(0x46e)](_0xe9b886)),_0xf159a2[_0x149169(0x361)](this[_0x149169(0x501)]))[_0x149169(0x2ce)](_0x2e352=>{_0x4eb9b2(_0x2e352);});}};_0x1c167c=_0x441c33([_0x14b8f3(0x0,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6[_0x4ef07c(0x242)])),_0x14b8f3(0x1,_0x5a87f6[_0x4ef07c(0x32b)]),_0x14b8f3(0x2,_0x5a87f6['IPermissionService']),_0x14b8f3(0x3,_0x5a87f6[_0x4ef07c(0x2f6)](_0x2c717a['CollaborationSessionService'])),_0x14b8f3(0x4,_0x5a87f6['Inject'](_0x596edb))],_0x1c167c);var _0x41cc07=Object[_0x4ef07c(0x4b2)],_0x582248=(_0x3c0c99,_0x28c05f,_0x1f9c53,_0x228e4a)=>{for(var _0x514663=_0x228e4a>0x1?void 0x0:_0x228e4a?_0x41cc07(_0x28c05f,_0x1f9c53):_0x28c05f,_0x44d032=_0x3c0c99['length']-0x1,_0x501707;_0x44d032>=0x0;_0x44d032--)(_0x501707=_0x3c0c99[_0x44d032])&&(_0x514663=_0x501707(_0x514663)||_0x514663);return _0x514663;},_0x80ca0c=(_0x146315,_0x54a231)=>(_0x5afaf4,_0x2ac270)=>_0x54a231(_0x5afaf4,_0x2ac270,_0x146315);_0x2c717a[_0x4ef07c(0x219)]=class{constructor(_0x52a386,_0x208a16){var _0x1a2495=_0x4ef07c;this[_0x1a2495(0x238)]=_0x52a386,this[_0x1a2495(0x397)]=_0x208a16;}async['getUnitOnRev'](_0x591994,_0x50d40b){var _0x45cbc7=_0x4ef07c,_0x4bbef8;const {unitID:_0x223dc2,type:_0x2b14c7,revision:_0x419544=0x0}=_0x50d40b,_0x15750e=this[_0x45cbc7(0x3b4)]()+'/'+_0x2b14c7+_0x45cbc7(0x30d)+_0x223dc2+_0x45cbc7(0x28e)+_0x419544,_0x5ccc48=(await this[_0x45cbc7(0x397)][_0x45cbc7(0x47e)](_0x15750e))[_0x45cbc7(0x1e4)],_0x2f2507=(_0x4bbef8=_0x5ccc48['snapshot'])==null?void 0x0:_0x4bbef8[_0x45cbc7(0x3cb)];if(_0x2f2507){const _0xf9d373=_0x2f2507==null?void 0x0:_0x2f2507[_0x45cbc7(0x22e)],_0x5f2598=_0x9d3528[_0x45cbc7(0x443)][_0x45cbc7(0x560)](_0x9d3528[_0x45cbc7(0x4f1)](_0xf9d373));_0x2f2507[_0x45cbc7(0x22e)]=_0x5f2598,Object[_0x45cbc7(0x22d)](_0x2f2507['sheets'])[_0x45cbc7(0x482)](([,_0x595110])=>{var _0x8f7489=_0x45cbc7;const _0x242059=_0x595110[_0x8f7489(0x22e)],_0x1b089d=_0x9d3528[_0x8f7489(0x443)]['encode'](_0x9d3528[_0x8f7489(0x4f1)](_0x242059));_0x595110[_0x8f7489(0x22e)]=_0x1b089d;});}return _0x5ccc48;}async[_0x4ef07c(0x20b)](_0x410c92,_0x529aa4){var _0x5ddf81=_0x4ef07c;const {unitID:_0x8434e0,type:_0x9a776c,blockID:_0x3501fc}=_0x529aa4,_0x28f975=this[_0x5ddf81(0x420)]()+'/'+_0x9a776c+_0x5ddf81(0x30d)+_0x8434e0+_0x5ddf81(0x480)+_0x3501fc;return(await this[_0x5ddf81(0x397)][_0x5ddf81(0x47e)](_0x28f975))[_0x5ddf81(0x1e4)];}async[_0x4ef07c(0x259)](_0x22fc49,_0x289ea2){var _0x16b95f=_0x4ef07c;const {unitID:_0x102f55,type:_0x1961d4,blockID:_0x5a04cf}=_0x289ea2,_0x1096f2=this[_0x16b95f(0x420)]()+_0x16b95f(0x480)+_0x1961d4+'/unit/'+_0x102f55+_0x16b95f(0x480)+_0x5a04cf;return(await this[_0x16b95f(0x397)][_0x16b95f(0x47e)](_0x1096f2))[_0x16b95f(0x1e4)];}async['fetchMissingChangesets'](_0x376b67,_0x2e43b0){var _0xf377fd=_0x4ef07c;const {unitID:_0x4ee453,type:_0xc32422,from:_0x35f274,to:_0xb842ff}=_0x2e43b0,_0x298b28=this[_0xf377fd(0x420)]()+'/'+_0xc32422+_0xf377fd(0x30d)+_0x4ee453+_0xf377fd(0x2fd)+_0x35f274+'&to='+_0xb842ff;return(await this[_0xf377fd(0x397)][_0xf377fd(0x47e)](_0x298b28))[_0xf377fd(0x1e4)];}[_0x4ef07c(0x3b4)](){var _0x3494f2=_0x4ef07c,_0x23db82;return(_0x23db82=this[_0x3494f2(0x238)][_0x3494f2(0x4e3)](_0x7cc834))!=null?_0x23db82:this['_getAPIPrefix']();}[_0x4ef07c(0x420)](){var _0x3d0372=_0x4ef07c,_0x1c6ff1;const _0xf4168c=this[_0x3d0372(0x238)]['getConfig'](_0x50bbc4);return(_0x1c6ff1=_0xf4168c==null?void 0x0:_0xf4168c[_0x3d0372(0x330)])!=null?_0x1c6ff1:_0x3565d7;}async[_0x4ef07c(0x52c)](_0xd39113,_0x3e4e74){var _0x5a2689=_0x4ef07c;const _0x1eabaf=_0x5a2689(0x2ed)+_0x3e4e74[_0x5a2689(0x527)]+_0x5a2689(0x30d)+_0x3e4e74[_0x5a2689(0x3f1)]+'/resources';return(await this['_httpService']['get'](_0x1eabaf,{'params':{'resourceId':JSON['stringify'](_0x3e4e74['resourceIDs'])}}))[_0x5a2689(0x1e4)];}[_0x4ef07c(0x460)](){var _0x48df94=_0x4ef07c;throw new Error(_0x48df94(0x4e1));}[_0x4ef07c(0x33d)](){var _0x361f6c=_0x4ef07c;throw new Error(_0x361f6c(0x4e1));}['saveSheetBlock'](){var _0xd278bc=_0x4ef07c;throw new Error(_0xd278bc(0x4e1));}[_0x4ef07c(0x487)](){var _0x29e20b=_0x4ef07c;throw new Error(_0x29e20b(0x4e1));}[_0x4ef07c(0x3b5)](){var _0x29160f=_0x4ef07c;throw new Error(_0x29160f(0x4e1));}['getLatestCsReqIdBySid'](){var _0xc51f8b=_0x4ef07c;throw new Error(_0xc51f8b(0x4e1));}},_0x2c717a[_0x4ef07c(0x219)]=_0x582248([_0x80ca0c(0x0,_0x5a87f6['IConfigService']),_0x80ca0c(0x1,_0x5a87f6[_0x4ef07c(0x2f6)](_0x3f793f[_0x4ef07c(0x44d)]))],_0x2c717a['SnapshotServerOverHTTPService']);var _0x12b5f6=Object[_0x4ef07c(0x4b2)],_0x2eb471=(_0x4f732c,_0x268255,_0x491560,_0x2d12a3)=>{for(var _0x204851=_0x2d12a3>0x1?void 0x0:_0x2d12a3?_0x12b5f6(_0x268255,_0x491560):_0x268255,_0x795349=_0x4f732c['length']-0x1,_0x5e414c;_0x795349>=0x0;_0x795349--)(_0x5e414c=_0x4f732c[_0x795349])&&(_0x204851=_0x5e414c(_0x204851)||_0x204851);return _0x204851;},_0x25982e=(_0x293230,_0x5a85b9)=>(_0x5531d0,_0x9fe1f1)=>_0x5a85b9(_0x5531d0,_0x9fe1f1,_0x293230);_0x2c717a['CollaborativeUndoRedoService']=class extends _0x5a87f6['LocalUndoRedoService']{constructor(_0x1d6015,_0x541f8a,_0x2bbc97,_0xb46b9a,_0x58b6e7){var _0x1c33b1=_0x4ef07c;super(_0x1d6015,_0x541f8a,_0x2bbc97),this[_0x1c33b1(0x4d6)]=_0xb46b9a,this['_logService']=_0x58b6e7;}[_0x4ef07c(0x4e4)](_0x4fa5e9,_0x445e34){var _0x2822c1=_0x4ef07c;const _0x403360=this[_0x2822c1(0x504)](_0x4fa5e9);if(_0x403360)try{const _0x17dbc6=this[_0x2822c1(0x3f3)](_0x403360,_0x445e34);this[_0x2822c1(0x425)](_0x4fa5e9,_0x17dbc6);}catch(_0x5824d5){this[_0x2822c1(0x1df)][_0x2822c1(0x456)](_0x2822c1(0x283),_0x5824d5),this[_0x2822c1(0x1ea)](_0x4fa5e9);}const _0x17292d=this[_0x2822c1(0x28a)](_0x4fa5e9);if(_0x17292d)try{const _0x35f76b=this[_0x2822c1(0x3f3)](_0x17292d,_0x445e34);this[_0x2822c1(0x357)](_0x4fa5e9,_0x35f76b);}catch(_0x50ac74){this[_0x2822c1(0x1df)][_0x2822c1(0x456)](_0x50ac74),this[_0x2822c1(0x377)](_0x4fa5e9);}}[_0x4ef07c(0x1ea)](_0x30b751){var _0x2512cc=_0x4ef07c;const _0x15a7ad=this[_0x2512cc(0x504)](_0x30b751);_0x15a7ad&&(_0x15a7ad[_0x2512cc(0x3aa)]=0x0,this[_0x2512cc(0x3d1)]());}[_0x4ef07c(0x377)](_0x3c07d3){var _0x110b09=_0x4ef07c;const _0x409a6d=this[_0x110b09(0x28a)](_0x3c07d3);_0x409a6d&&(_0x409a6d[_0x110b09(0x3aa)]=0x0,this[_0x110b09(0x3d1)]());}[_0x4ef07c(0x425)](_0x32d88a,_0x49ec07){var _0x245a45=_0x4ef07c;this[_0x245a45(0x471)][_0x245a45(0x3bc)](_0x32d88a,_0x49ec07),this[_0x245a45(0x3d1)]();}[_0x4ef07c(0x357)](_0x483a31,_0x5af07c){var _0x39191d=_0x4ef07c;this['_redoStacks'][_0x39191d(0x3bc)](_0x483a31,_0x5af07c),this[_0x39191d(0x3d1)]();}[_0x4ef07c(0x3f3)](_0xda1c14,_0x14933d){var _0xbccd27=_0x4ef07c;const _0x1bfd5e=[];let _0xa22f01=_0x14933d,_0x5d36d7=_0x14933d;for(let _0x5f514a=_0xda1c14[_0xbccd27(0x3aa)]-0x1;_0x5f514a>=0x0;_0x5f514a--){const {unitID:_0x3d72a7,undoMutations:_0x155cdc,redoMutations:_0x4e0a06}=_0xda1c14[_0x5f514a],_0x1d842c=this[_0xbccd27(0x4d6)][_0xbccd27(0x4cd)](_0xa22f01,_0x155cdc),_0x266a20=this[_0xbccd27(0x4d6)][_0xbccd27(0x4cd)](_0x5d36d7,_0x4e0a06);if(_0x9d3528[_0xbccd27(0x548)](_0x1d842c)||_0x9d3528[_0xbccd27(0x548)](_0x266a20)){this[_0xbccd27(0x1df)][_0xbccd27(0x456)](_0xbccd27(0x283),_0xbccd27(0x3e5),_0x1d842c,_0x266a20);break;}_0xa22f01=_0x1d842c['c1Prime'],_0x5d36d7=_0x266a20[_0xbccd27(0x4bf)],_0x1bfd5e[_0xbccd27(0x306)]({'unitID':_0x3d72a7,'undoMutations':_0x1d842c[_0xbccd27(0x2d8)],'redoMutations':_0x266a20['m2Prime']});}return _0x1bfd5e[_0xbccd27(0x2e5)]();}},_0x2c717a[_0x4ef07c(0x33b)]=_0x2eb471([_0x25982e(0x0,_0x5a87f6['IUniverInstanceService']),_0x25982e(0x1,_0x5a87f6['ICommandService']),_0x25982e(0x2,_0x5a87f6['IContextService']),_0x25982e(0x3,_0x9d3528[_0x4ef07c(0x2b6)]),_0x25982e(0x4,_0x5a87f6[_0x4ef07c(0x546)])],_0x2c717a[_0x4ef07c(0x33b)]);var _0x5acacd=Object[_0x4ef07c(0x395)],_0x44bc04=Object[_0x4ef07c(0x4b2)],_0x25c517=(_0x78635,_0x396b6b,_0x35e3ae)=>_0x396b6b in _0x78635?_0x5acacd(_0x78635,_0x396b6b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35e3ae}):_0x78635[_0x396b6b]=_0x35e3ae,_0x17401d=(_0x11d2c8,_0x3c3a71,_0x5b7a09,_0x3abbf1)=>{var _0x49aebb=_0x4ef07c;for(var _0x5f4698=_0x3abbf1>0x1?void 0x0:_0x3abbf1?_0x44bc04(_0x3c3a71,_0x5b7a09):_0x3c3a71,_0x11eca8=_0x11d2c8[_0x49aebb(0x3aa)]-0x1,_0x3380be;_0x11eca8>=0x0;_0x11eca8--)(_0x3380be=_0x11d2c8[_0x11eca8])&&(_0x5f4698=_0x3380be(_0x5f4698)||_0x5f4698);return _0x5f4698;},_0x571dc1=(_0x4b9637,_0x21df57)=>(_0x1aef8c,_0xa6ba26)=>_0x21df57(_0x1aef8c,_0xa6ba26,_0x4b9637),_0x3c69d1=(_0x3abc51,_0x476d20,_0x5b631f)=>_0x25c517(_0x3abc51,_0x476d20+'',_0x5b631f);const _0x5e1f74=_0x4ef07c(0x1f7);_0x2c717a[_0x4ef07c(0x517)]=class extends _0x5a87f6['Plugin']{constructor(_0x103d2d,_0x5d9b30,_0x1e6103,_0x375889){var _0x3e5451=_0x4ef07c;super(),_0x27ebba(this,'_config'),(this[_0x3e5451(0x1df)]=_0x5d9b30,this[_0x3e5451(0x3b3)]=_0x1e6103,this[_0x3e5451(0x238)]=_0x375889);const {..._0x5cd8b2}=_0x5a87f6['merge']({},_0x5a3a37,_0x103d2d);if(!_0x5cd8b2['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x5cd8b2,this[_0x3e5451(0x238)]['setConfig'](_0x50bbc4,_0x5cd8b2);}['onStarting'](){var _0x4b6f12=_0x4ef07c;this[_0x4b6f12(0x412)](),this[_0x4b6f12(0x4f0)]();}[_0x4ef07c(0x412)](){var _0x55c51a=_0x4ef07c,_0x2c4809,_0x50f850;this['_injector'][_0x55c51a(0x4da)](_0x5a87f6[_0x55c51a(0x3d2)])&&this[_0x55c51a(0x1df)][_0x55c51a(0x456)](_0x55c51a(0x3ec),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x29a183=_0x5a87f6['mergeOverrideWithDependencies']([[_0x5a87f6['IUndoRedoService'],{'useClass':_0x2c717a[_0x55c51a(0x33b)]}],[_0x2c717a[_0x55c51a(0x53f)]],[_0x2c717a['MemberService']],[_0x2c717a['SheetTransformSelectionsService']],[_0x4d2a45],[_0x1cddb0],[_0x46eb06],[_0x1c167c],[_0x596edb],[_0x2c717a[_0x55c51a(0x562)]],[_0x2ab6d6,{'useClass':this[_0x55c51a(0x405)][_0x55c51a(0x37e)]}],[_0x9d3528[_0x55c51a(0x542)],{'useClass':_0x2c717a[_0x55c51a(0x219)]}],[_0x5a87f6[_0x55c51a(0x4b7)],{'useClass':_0x2c717a['AuthzIoHttpService']}],[_0x5dfc2e['IImageIoService'],{'useClass':_0x2c717a[_0x55c51a(0x28f)]}],[_0x5a87f6['IMentionIOService'],{'useClass':_0x2c717a[_0x55c51a(0x275)]}],[_0x2c717a[_0x55c51a(0x220)]],[_0x401217]],(_0x2c4809=this['_config'])==null?void 0x0:_0x2c4809['override']);if(!((_0x50f850=this['_config'])!=null&&_0x50f850[_0x55c51a(0x1d2)])){const _0x592288=_0x29a183[_0x55c51a(0x35c)](([_0x703d77])=>_0x703d77===_0x53cb33);_0x592288!==-0x1&&_0x29a183['splice'](_0x592288,0x1);}_0x5a87f6['registerDependencies'](this[_0x55c51a(0x3b3)],_0x29a183);}[_0x4ef07c(0x4f0)](){var _0x5f2a11=_0x4ef07c,_0x31ebdf,_0x4d1bec,_0x11eb4e;this[_0x5f2a11(0x3b3)][_0x5f2a11(0x47e)](_0x3f793f[_0x5f2a11(0x44d)])[_0x5f2a11(0x55f)]({'priority':0x14,'interceptor':_0x3f793f['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x31ebdf=this[_0x5f2a11(0x405)])!=null&&_0x31ebdf[_0x5f2a11(0x2c7)]||(_0x4d1bec=this[_0x5f2a11(0x3b3)][_0x5f2a11(0x47e)](_0x11ccb1,_0x5a87f6[_0x5f2a11(0x49c)][_0x5f2a11(0x485)]))==null||_0x4d1bec[_0x5f2a11(0x3d6)](),(_0x11eb4e=this['_config'])!=null&&_0x11eb4e[_0x5f2a11(0x541)]&&_0x5a87f6['touchDependencies'](this[_0x5f2a11(0x3b3)],[[_0x4d2a45]]),_0x5a87f6[_0x5f2a11(0x3c7)](this[_0x5f2a11(0x3b3)],[[_0x1cddb0],[_0x2c717a[_0x5f2a11(0x220)]],[_0x1c167c]]);}},_0x3c69d1(_0x2c717a[_0x4ef07c(0x517)],'pluginName',_0x5e1f74),_0x2c717a[_0x4ef07c(0x517)]=_0x17401d([_0x5a87f6['DependentOn'](_0x9d3528['UniverCollaborationPlugin'],_0x3f793f[_0x4ef07c(0x246)]),_0x571dc1(0x1,_0x5a87f6['ILogService']),_0x571dc1(0x2,_0x5a87f6[_0x4ef07c(0x2f6)](_0x5a87f6['Injector'])),_0x571dc1(0x3,_0x5a87f6[_0x4ef07c(0x4d8)])],_0x2c717a[_0x4ef07c(0x517)]),_0x2c717a['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x50bbc4,_0x2c717a[_0x4ef07c(0x38f)]=_0x12c0ef,_0x2c717a[_0x4ef07c(0x418)]=_0x28846f,_0x2c717a[_0x4ef07c(0x23c)]=_0x596edb,_0x2c717a['CommentService']=_0x46eb06,_0x2c717a[_0x4ef07c(0x23f)]=_0x3de4fd,_0x2c717a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']=_0x33b475,_0x2c717a['DEFAULT_WS_SESSION_TICKET_URL']=_0x2e1070,_0x2c717a[_0x4ef07c(0x207)]=_0xe56939,_0x2c717a[_0x4ef07c(0x221)]=_0x2c4727,_0x2c717a[_0x4ef07c(0x383)]=_0x2ab6d6,_0x2c717a[_0x4ef07c(0x53e)]=_0x11ccb1,_0x2c717a[_0x4ef07c(0x1e1)]=_0x369ad3,_0x2c717a[_0x4ef07c(0x317)]=_0x53cb33,_0x2c717a['LOCAL_CACHE_INTERVAL']=0x3e8,_0x2c717a[_0x4ef07c(0x334)]=_0x1dd524,_0x2c717a[_0x4ef07c(0x4e9)]=_0x5d93ab,_0x2c717a[_0x4ef07c(0x40c)]=_0x426cb4,_0x2c717a[_0x4ef07c(0x4ea)]=_0x14cf5c,_0x2c717a['UnitStatus']=_0x11b621,_0x2c717a[_0x4ef07c(0x509)]=_0x3e784f,_0x2c717a['getLocalCacheKey']=_0x11afa6,_0x2c717a[_0x4ef07c(0x22f)]=_0xd1ca62,Object[_0x4ef07c(0x395)](_0x2c717a,Symbol['toStringTag'],{'value':'Module'});}));
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x3256(_0x4cc4bf,_0xaa26d9){_0x4cc4bf=_0x4cc4bf-0x1ea;const _0x558a25=_0x558a();let _0x3256a7=_0x558a25[_0x4cc4bf];return _0x3256a7;}function _0x558a(){const _0x4ffc81=['1325502XAJinW','47245418degcaF','UniverProCollaboration','amd','13HKXrYL','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','FEnum','NOT_COLLAB','subscribe','getUniverSheet','getUnitId','FBase','members$','getCollaboration','getOwnPropertyDescriptor','state','CollaborationStatus','pipe','5194632rjduMv','7DqvgIh','get','53180RTNqgu','4763505NZiCtw','values','from','waitForRoom$','UniverCore','getCollaborationStatus','@univerjs-pro/collaboration','loadServerUnit','_collaborationController','loadActiveSheet','@univerjs-pro/collaboration-client','loadServerUnitOfRevision','status','@univerjs/core/facade','length','loadSheetAsync','Inject','_univerInstanceService','getFocusedUnit','loadActiveSheetAsync','_injector','UniverCoreFacade','exports','function','_handler','2394XFqxUz','FCollaboration','createInstance','DataLoaderService','loadUnit','object','extend','readyForCollab','4sBBKEM','5363496vTVufg','SnapshotService','toStringTag','Module','loadUnitOfRevision','@univerjs/core','getCollabEntity','20020XAtItT','loadSheet','FUniver'];_0x558a=function(){return _0x4ffc81;};return _0x558a();}(function(_0x1e5df3,_0x21cdf5){const _0x4608d4=_0x3256,_0x4255a0=_0x1e5df3();while(!![]){try{const _0x3afcb0=-parseInt(_0x4608d4(0x205))/0x1*(parseInt(_0x4608d4(0x216))/0x2)+-parseInt(_0x4608d4(0x201))/0x3+-parseInt(_0x4608d4(0x1f6))/0x4*(parseInt(_0x4608d4(0x217))/0x5)+parseInt(_0x4608d4(0x213))/0x6*(-parseInt(_0x4608d4(0x214))/0x7)+-parseInt(_0x4608d4(0x1f7))/0x8+-parseInt(_0x4608d4(0x1ee))/0x9*(parseInt(_0x4608d4(0x1fe))/0xa)+parseInt(_0x4608d4(0x202))/0xb;if(_0x3afcb0===_0x21cdf5)break;else _0x4255a0['push'](_0x4255a0['shift']());}catch(_0x434dbe){_0x4255a0['push'](_0x4255a0['shift']());}}}(_0x558a,0x76acc),function(_0x4146aa,_0x124f37){const _0xba61d2=_0x3256;typeof exports==_0xba61d2(0x1f3)&&typeof module<'u'?_0x124f37(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0xba61d2(0x1ec)&&define[_0xba61d2(0x204)]?define([_0xba61d2(0x1eb),_0xba61d2(0x221),_0xba61d2(0x224),_0xba61d2(0x21d),_0xba61d2(0x1fc),'rxjs'],_0x124f37):(_0x4146aa=typeof globalThis<'u'?globalThis:_0x4146aa||self,_0x124f37(_0x4146aa['UniverProCollaborationClientFacade']={},_0x4146aa['UniverProCollaborationClient'],_0x4146aa[_0xba61d2(0x1ea)],_0x4146aa[_0xba61d2(0x203)],_0x4146aa[_0xba61d2(0x21b)],_0x4146aa['rxjs']));}(this,function(_0x2149fc,_0x433869,_0x3d848f,_0x24781d,_0x3e940c,_0xfdbc81){'use strict';const _0x1ee5cb=_0x3256;class _0x45399f extends _0x3d848f[_0x1ee5cb(0x207)]{get[_0x1ee5cb(0x211)](){const _0x20f5c4=_0x1ee5cb;return _0x433869[_0x20f5c4(0x211)];}}_0x3d848f[_0x1ee5cb(0x207)][_0x1ee5cb(0x1f4)](_0x45399f);var _0x39ad8b=Object[_0x1ee5cb(0x20f)],_0x287596=(_0x827851,_0x408755,_0x559767,_0x1581ce)=>{const _0x53f8e0=_0x1ee5cb;for(var _0x4ebe18=_0x1581ce>0x1?void 0x0:_0x1581ce?_0x39ad8b(_0x408755,_0x559767):_0x408755,_0x2fe80b=_0x827851[_0x53f8e0(0x225)]-0x1,_0x12752d;_0x2fe80b>=0x0;_0x2fe80b--)(_0x12752d=_0x827851[_0x2fe80b])&&(_0x4ebe18=_0x12752d(_0x4ebe18)||_0x4ebe18);return _0x4ebe18;},_0x2dafd7=(_0x1b366c,_0x514dcc)=>(_0x24f02e,_0x1b0283)=>_0x514dcc(_0x24f02e,_0x1b0283,_0x1b366c);_0x2149fc[_0x1ee5cb(0x1ef)]=class extends _0x3d848f[_0x1ee5cb(0x20c)]{constructor(_0x3e3b42,_0x1821c4,_0xd3fa9f,_0x2ea89a,_0xa716ca){const _0x15d19d=_0x1ee5cb;super(),this[_0x15d19d(0x1ed)]=_0x3e3b42,this[_0x15d19d(0x22b)]=_0x1821c4,this[_0x15d19d(0x228)]=_0xd3fa9f,this['_snapshotService']=_0x2ea89a,this[_0x15d19d(0x21f)]=_0xa716ca;}async[_0x1ee5cb(0x220)](){return this['loadActiveSheetAsync']();}async[_0x1ee5cb(0x22a)](){const _0xf0507b=_0x1ee5cb;throw new Error(_0xf0507b(0x206));}async[_0x1ee5cb(0x1ff)](_0x3b21cb){const _0x13800a=_0x1ee5cb;return this[_0x13800a(0x226)](_0x3b21cb);}async[_0x1ee5cb(0x226)](_0x26909f,_0x345f47){const _0x548110=_0x1ee5cb;return await this['_snapshotService'][_0x548110(0x1ff)](_0x26909f,0x0,_0x345f47)?(await this[_0x548110(0x21f)][_0x548110(0x1f5)](_0x26909f),this['_handler'][_0x548110(0x20a)](_0x26909f)):null;}['subscribeCollaborators'](_0x39ff12,_0x1c11af){const _0x2143fc=_0x1ee5cb,_0x345d94=this[_0x2143fc(0x22b)][_0x2143fc(0x215)](_0x433869['MemberService'])[_0x2143fc(0x21a)](_0x39ff12)[_0x2143fc(0x212)](_0xfdbc81['switchMap'](_0x5497ab=>_0x5497ab[_0x2143fc(0x20d)]))[_0x2143fc(0x209)](_0x4f8ad8=>_0x1c11af(Array[_0x2143fc(0x219)](_0x4f8ad8[_0x2143fc(0x218)]())));return _0x3e940c['toDisposable'](_0x345d94);}[_0x1ee5cb(0x21c)](){const _0x5ae4d6=_0x1ee5cb,_0xb5ddcf=this[_0x5ae4d6(0x228)][_0x5ae4d6(0x229)]();if(!_0xb5ddcf)return _0x433869[_0x5ae4d6(0x211)][_0x5ae4d6(0x208)];const _0x483092=this['_collaborationController'][_0x5ae4d6(0x1fd)](_0xb5ddcf[_0x5ae4d6(0x20b)]());return _0x483092?_0x483092[_0x5ae4d6(0x210)][_0x5ae4d6(0x223)]:_0x433869[_0x5ae4d6(0x211)][_0x5ae4d6(0x208)];}},_0x2149fc['FCollaboration']=_0x287596([_0x2dafd7(0x1,_0x3e940c[_0x1ee5cb(0x227)](_0x3e940c['Injector'])),_0x2dafd7(0x2,_0x3e940c['IUniverInstanceService']),_0x2dafd7(0x3,_0x3e940c[_0x1ee5cb(0x227)](_0x24781d[_0x1ee5cb(0x1f8)])),_0x2dafd7(0x4,_0x3e940c['Inject'](_0x433869['CollaborationController']))],_0x2149fc['FCollaboration']);class _0x50a56c extends _0x3d848f[_0x1ee5cb(0x200)]{[_0x1ee5cb(0x20e)](){const _0xdb5221=_0x1ee5cb;return this[_0xdb5221(0x22b)][_0xdb5221(0x1f0)](_0x2149fc[_0xdb5221(0x1ef)],{'getUniverSheet':_0x262e27=>this[_0xdb5221(0x20a)](_0x262e27)});}[_0x1ee5cb(0x21e)](_0x51b245,_0x5ea240,_0x50f801){const _0x4245bc=_0x1ee5cb;return this[_0x4245bc(0x22b)][_0x4245bc(0x215)](_0x433869[_0x4245bc(0x1f1)])[_0x4245bc(0x1f2)](_0x51b245,_0x5ea240,_0x50f801);}[_0x1ee5cb(0x222)](_0x4be7f8,_0x15cbfb,_0x4d398f){const _0x5cdcfe=_0x1ee5cb;return this[_0x5cdcfe(0x22b)][_0x5cdcfe(0x215)](_0x433869[_0x5cdcfe(0x1f1)])[_0x5cdcfe(0x1fb)](_0x4be7f8,_0x15cbfb,_0x4d398f);}}_0x3d848f[_0x1ee5cb(0x200)][_0x1ee5cb(0x1f4)](_0x50a56c),Object['defineProperty'](_0x2149fc,Symbol[_0x1ee5cb(0x1f9)],{'value':_0x1ee5cb(0x1fa)});}));
5
+ function _0x8fda(_0x43a3fe,_0x2a90bc){_0x43a3fe=_0x43a3fe-0x1aa;const _0x571bc5=_0x571b();let _0x8fdac0=_0x571bc5[_0x43a3fe];return _0x8fdac0;}(function(_0x24727d,_0x5efaaf){const _0x515351=_0x8fda,_0x54e19c=_0x24727d();while(!![]){try{const _0x26de93=-parseInt(_0x515351(0x1ca))/0x1+-parseInt(_0x515351(0x1e5))/0x2*(parseInt(_0x515351(0x1cf))/0x3)+parseInt(_0x515351(0x1c6))/0x4+parseInt(_0x515351(0x1df))/0x5*(-parseInt(_0x515351(0x1bd))/0x6)+-parseInt(_0x515351(0x1d3))/0x7+parseInt(_0x515351(0x1d2))/0x8*(-parseInt(_0x515351(0x1aa))/0x9)+parseInt(_0x515351(0x1e9))/0xa;if(_0x26de93===_0x5efaaf)break;else _0x54e19c['push'](_0x54e19c['shift']());}catch(_0x552ef9){_0x54e19c['push'](_0x54e19c['shift']());}}}(_0x571b,0x67d2c),function(_0x4e5363,_0x1e6c5c){const _0x5a1074=_0x8fda;typeof exports==_0x5a1074(0x1ce)&&typeof module<'u'?_0x1e6c5c(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x5a1074(0x1e1)&&define[_0x5a1074(0x1ab)]?define([_0x5a1074(0x1b3),_0x5a1074(0x1b7),'@univerjs/core/facade',_0x5a1074(0x1cc),_0x5a1074(0x1d1),'rxjs'],_0x1e6c5c):(_0x4e5363=typeof globalThis<'u'?globalThis:_0x4e5363||self,_0x1e6c5c(_0x4e5363['UniverProCollaborationClientFacade']={},_0x4e5363['UniverProCollaborationClient'],_0x4e5363[_0x5a1074(0x1c0)],_0x4e5363[_0x5a1074(0x1d6)],_0x4e5363[_0x5a1074(0x1bf)],_0x4e5363[_0x5a1074(0x1db)]));}(this,function(_0x4933e5,_0x3aa101,_0x407d34,_0x246c95,_0x3ae71a,_0x93025b){'use strict';const _0x3ab9f2=_0x8fda;class _0x5c73be extends _0x407d34['FEnum']{get[_0x3ab9f2(0x1e6)](){const _0x59d95a=_0x3ab9f2;return _0x3aa101[_0x59d95a(0x1e6)];}}_0x407d34[_0x3ab9f2(0x1b8)]['extend'](_0x5c73be);var _0xcfb388=Object['getOwnPropertyDescriptor'],_0x23b784=(_0x414c01,_0x133c3f,_0x5457c2,_0x12edae)=>{const _0x424bc9=_0x3ab9f2;for(var _0x5210b4=_0x12edae>0x1?void 0x0:_0x12edae?_0xcfb388(_0x133c3f,_0x5457c2):_0x133c3f,_0x31462a=_0x414c01[_0x424bc9(0x1d4)]-0x1,_0x41dbbf;_0x31462a>=0x0;_0x31462a--)(_0x41dbbf=_0x414c01[_0x31462a])&&(_0x5210b4=_0x41dbbf(_0x5210b4)||_0x5210b4);return _0x5210b4;},_0x3fef48=(_0x75ad93,_0xaf12c1)=>(_0x25c033,_0x60921e)=>_0xaf12c1(_0x25c033,_0x60921e,_0x75ad93);_0x4933e5[_0x3ab9f2(0x1b0)]=class extends _0x407d34[_0x3ab9f2(0x1c2)]{constructor(_0x5644cc,_0x2e8196,_0x253178,_0x59ffb5,_0x42fcb0){const _0x125671=_0x3ab9f2;super(),this[_0x125671(0x1dc)]=_0x5644cc,this[_0x125671(0x1c4)]=_0x2e8196,this[_0x125671(0x1bc)]=_0x253178,this[_0x125671(0x1e2)]=_0x59ffb5,this[_0x125671(0x1c9)]=_0x42fcb0;}async[_0x3ab9f2(0x1b5)](){const _0x242648=_0x3ab9f2;return this[_0x242648(0x1cd)]();}async[_0x3ab9f2(0x1cd)](){const _0x886277=_0x3ab9f2;throw new Error(_0x886277(0x1c5));}async['loadSheet'](_0x3eec63){const _0x490f39=_0x3ab9f2;return this[_0x490f39(0x1ac)](_0x3eec63);}async[_0x3ab9f2(0x1ac)](_0x15fa1a,_0x4bd3f7){const _0x2c580a=_0x3ab9f2;return await this[_0x2c580a(0x1e2)][_0x2c580a(0x1be)](_0x15fa1a,0x0,_0x4bd3f7)?(await this[_0x2c580a(0x1c9)][_0x2c580a(0x1af)](_0x15fa1a),this[_0x2c580a(0x1dc)][_0x2c580a(0x1ae)](_0x15fa1a)):null;}['subscribeCollaborators'](_0x487831,_0xa8fa97){const _0x164d9c=_0x3ab9f2,_0x52d993=this[_0x164d9c(0x1c4)][_0x164d9c(0x1b9)](_0x3aa101[_0x164d9c(0x1b4)])[_0x164d9c(0x1ad)](_0x487831)[_0x164d9c(0x1e0)](_0x93025b['switchMap'](_0x511276=>_0x511276[_0x164d9c(0x1e4)]))[_0x164d9c(0x1c7)](_0xd3dd19=>_0xa8fa97(Array['from'](_0xd3dd19[_0x164d9c(0x1d5)]())));return _0x3ae71a[_0x164d9c(0x1d9)](_0x52d993);}['getCollaborationStatus'](){const _0xb726ac=_0x3ab9f2,_0x5ac623=this['_univerInstanceService']['getFocusedUnit']();if(!_0x5ac623)return _0x3aa101[_0xb726ac(0x1e6)][_0xb726ac(0x1d7)];const _0x4ab2d5=this[_0xb726ac(0x1c9)][_0xb726ac(0x1dd)](_0x5ac623[_0xb726ac(0x1d0)]());return _0x4ab2d5?_0x4ab2d5[_0xb726ac(0x1cb)][_0xb726ac(0x1bb)]:_0x3aa101['CollaborationStatus'][_0xb726ac(0x1d7)];}},_0x4933e5[_0x3ab9f2(0x1b0)]=_0x23b784([_0x3fef48(0x1,_0x3ae71a[_0x3ab9f2(0x1c8)](_0x3ae71a['Injector'])),_0x3fef48(0x2,_0x3ae71a['IUniverInstanceService']),_0x3fef48(0x3,_0x3ae71a['Inject'](_0x246c95[_0x3ab9f2(0x1ba)])),_0x3fef48(0x4,_0x3ae71a[_0x3ab9f2(0x1c8)](_0x3aa101[_0x3ab9f2(0x1de)]))],_0x4933e5[_0x3ab9f2(0x1b0)]);class _0x48cb5f extends _0x407d34[_0x3ab9f2(0x1c3)]{[_0x3ab9f2(0x1e8)](){const _0x160fbc=_0x3ab9f2;return this[_0x160fbc(0x1c4)][_0x160fbc(0x1d8)](_0x4933e5['FCollaboration'],{'getUniverSheet':_0x531bce=>this['getUniverSheet'](_0x531bce)});}[_0x3ab9f2(0x1e3)](_0x3651b3,_0x16ef04,_0x2199f6){const _0x56e7d3=_0x3ab9f2;return this['_injector'][_0x56e7d3(0x1b9)](_0x3aa101['DataLoaderService'])[_0x56e7d3(0x1c1)](_0x3651b3,_0x16ef04,_0x2199f6);}[_0x3ab9f2(0x1ea)](_0x4883c8,_0x32d71f,_0x1297b4){const _0x40f0cb=_0x3ab9f2;return this[_0x40f0cb(0x1c4)]['get'](_0x3aa101[_0x40f0cb(0x1e7)])[_0x40f0cb(0x1b6)](_0x4883c8,_0x32d71f,_0x1297b4);}}_0x407d34[_0x3ab9f2(0x1c3)][_0x3ab9f2(0x1da)](_0x48cb5f),Object['defineProperty'](_0x4933e5,Symbol[_0x3ab9f2(0x1b2)],{'value':_0x3ab9f2(0x1b1)});}));function _0x571b(){const _0x996431=['2gNWDcD','CollaborationStatus','DataLoaderService','getCollaboration','19813100FPYXWq','loadServerUnitOfRevision','9POtygD','amd','loadSheetAsync','waitForRoom$','getUniverSheet','readyForCollab','FCollaboration','Module','toStringTag','exports','MemberService','loadActiveSheet','loadUnitOfRevision','@univerjs-pro/collaboration-client','FEnum','get','SnapshotService','status','_univerInstanceService','18UkDDGm','loadSheet','UniverCore','UniverCoreFacade','loadUnit','FBase','FUniver','_injector','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','133032EfUFXq','subscribe','Inject','_collaborationController','185516tQYYJC','state','@univerjs-pro/collaboration','loadActiveSheetAsync','object','208959hJurwN','getUnitId','@univerjs/core','5181168qcurMp','187698zScTBZ','length','values','UniverProCollaboration','NOT_COLLAB','createInstance','toDisposable','extend','rxjs','_handler','getCollabEntity','CollaborationController','1099465ShVZUd','pipe','function','_snapshotService','loadServerUnit','members$'];_0x571b=function(){return _0x996431;};return _0x571b();}
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x2815(_0x42754c,_0x4cb546){_0x42754c=_0x42754c-0x1a4;const _0x38b8b8=_0x38b8();let _0x281523=_0x38b8b8[_0x42754c];return _0x281523;}(function(_0xc00850,_0x2bf154){const _0x3917ca=_0x2815,_0x21d880=_0xc00850();while(!![]){try{const _0x51f33f=-parseInt(_0x3917ca(0x41a))/0x1*(parseInt(_0x3917ca(0x40a))/0x2)+parseInt(_0x3917ca(0x467))/0x3*(-parseInt(_0x3917ca(0x2df))/0x4)+parseInt(_0x3917ca(0x27e))/0x5+-parseInt(_0x3917ca(0x31c))/0x6+parseInt(_0x3917ca(0x27b))/0x7+parseInt(_0x3917ca(0x3f5))/0x8+parseInt(_0x3917ca(0x20b))/0x9;if(_0x51f33f===_0x2bf154)break;else _0x21d880['push'](_0x21d880['shift']());}catch(_0x2221a9){_0x21d880['push'](_0x21d880['shift']());}}}(_0x38b8,0x617e9),function(_0x4cb0c1,_0x502ffe){const _0xffb3e6=_0x2815;typeof exports=='object'&&typeof module<'u'?_0x502ffe(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['amd']?define([_0xffb3e6(0x33e),_0xffb3e6(0x351),_0xffb3e6(0x2ad),_0xffb3e6(0x1f5),_0xffb3e6(0x3a4),'rxjs',_0xffb3e6(0x2bf),_0xffb3e6(0x346),_0xffb3e6(0x261),_0xffb3e6(0x44f),_0xffb3e6(0x1f0),'@univerjs/network',_0xffb3e6(0x23e),_0xffb3e6(0x1b2),_0xffb3e6(0x1fc),_0xffb3e6(0x1ba),_0xffb3e6(0x41c),'rxjs/operators',_0xffb3e6(0x402)],_0x502ffe):(_0x4cb0c1=typeof globalThis<'u'?globalThis:_0x4cb0c1||self,_0x502ffe(_0x4cb0c1[_0xffb3e6(0x25c)]={},_0x4cb0c1[_0xffb3e6(0x1cd)],_0x4cb0c1[_0xffb3e6(0x361)],_0x4cb0c1[_0xffb3e6(0x48c)],_0x4cb0c1['UniverUi'],_0x4cb0c1['rxjs'],_0x4cb0c1[_0xffb3e6(0x40f)],_0x4cb0c1[_0xffb3e6(0x1cd)],_0x4cb0c1[_0xffb3e6(0x38e)],_0x4cb0c1[_0xffb3e6(0x3bf)],_0x4cb0c1[_0xffb3e6(0x335)],_0x4cb0c1['UniverNetwork'],_0x4cb0c1['UniverDocsUi'],_0x4cb0c1[_0xffb3e6(0x45c)],_0x4cb0c1['UniverProCollaboration'],_0x4cb0c1[_0xffb3e6(0x32b)],_0x4cb0c1[_0xffb3e6(0x2f3)],_0x4cb0c1[_0xffb3e6(0x332)][_0xffb3e6(0x312)],_0x4cb0c1[_0xffb3e6(0x454)]));}(this,function(_0x5d6189,_0x2b222d,_0x12afa3,_0x3d65d5,_0x47f27f,_0x5f36f4,_0x225058,_0x42a4ad,_0x202486,_0x15fda1,_0x48b1a2,_0x280651,_0x2cb679,_0x532be4,_0x36b4bf,_0x301e8e,_0x5cefe9,_0x4c0e1b,_0x5df617){'use strict';const _0x4e0a0f=_0x2815;var _0x12aaef=Object[_0x4e0a0f(0x1ef)],_0x24c75d=(_0x58c7b4,_0x4a859e,_0x1f737a)=>_0x4a859e in _0x58c7b4?_0x12aaef(_0x58c7b4,_0x4a859e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f737a}):_0x58c7b4[_0x4a859e]=_0x1f737a,_0x519c33=(_0x24744d,_0x469964,_0x3db145)=>_0x24c75d(_0x24744d,typeof _0x469964!=_0x4e0a0f(0x203)?_0x469964+'':_0x469964,_0x3db145);function _0x10e6cb({ref:_0x444bd1,..._0x42ba64}){const _0x5020a6=_0x4e0a0f,{icon:_0x4b468f,id:_0x3a77bb,className:_0x1966af,extend:_0xb4aef9,..._0x2a95ca}=_0x42ba64,_0x4a55ab=(_0x5020a6(0x44d)+_0x3a77bb+'\x20'+(_0x1966af||''))[_0x5020a6(0x3de)](),_0x2c99c6=_0x42a4ad['useRef']('_'+_0x4b26cf());return _0x52a5a3(_0x4b468f,''+_0x3a77bb,{'defIds':_0x4b468f[_0x5020a6(0x26e)],'idSuffix':_0x2c99c6[_0x5020a6(0x1a9)]},{'ref':_0x444bd1,'className':_0x4a55ab,..._0x2a95ca},_0xb4aef9);}function _0x52a5a3(_0x49250b,_0x36f3ea,_0xb295e2,_0x45659c,_0x4ff93a){const _0x3cfc80=_0x4e0a0f;return _0x42a4ad[_0x3cfc80(0x257)](_0x49250b['tag'],{'key':_0x36f3ea,..._0x4e3bcc(_0x49250b,_0xb295e2,_0x4ff93a),..._0x45659c},(_0x55c012(_0x49250b,_0xb295e2)[_0x3cfc80(0x372)]||[])['map']((_0x2cff42,_0x536735)=>_0x52a5a3(_0x2cff42,_0x36f3ea+'-'+_0x49250b[_0x3cfc80(0x3a6)]+'-'+_0x536735,_0xb295e2,void 0x0,_0x4ff93a)));}function _0x4e3bcc(_0x4618be,_0x52cebb,_0x43c42d){const _0x513174=_0x4e0a0f,_0x550ed5={..._0x4618be[_0x513174(0x2c5)]};_0x43c42d!=null&&_0x43c42d[_0x513174(0x447)]&&_0x550ed5['fill']===_0x513174(0x447)&&(_0x550ed5[_0x513174(0x2c7)]=_0x43c42d['colorChannel1']),_0x4618be[_0x513174(0x3a6)]===_0x513174(0x359)&&_0x550ed5['id']&&(_0x550ed5['id']=_0x550ed5['id']+_0x52cebb['idSuffix']),Object[_0x513174(0x31e)](_0x550ed5)['forEach'](([_0x428efd,_0xd90c65])=>{const _0x2409cf=_0x513174;_0x428efd===_0x2409cf(0x359)&&typeof _0xd90c65==_0x2409cf(0x3a7)&&(_0x550ed5[_0x428efd]=_0xd90c65[_0x2409cf(0x313)](/url\(#(.*)\)/,_0x2409cf(0x33f)+_0x52cebb[_0x2409cf(0x1ca)]+')'));});const {defIds:_0x43d3bd}=_0x52cebb;return!_0x43d3bd||_0x43d3bd[_0x513174(0x401)]===0x0||(_0x4618be[_0x513174(0x3a6)]===_0x513174(0x419)&&_0x550ed5[_0x513174(0x1ac)]&&(_0x550ed5[_0x513174(0x1ac)]=_0x550ed5[_0x513174(0x1ac)]+_0x52cebb[_0x513174(0x1ca)]),Object[_0x513174(0x31e)](_0x550ed5)[_0x513174(0x3e9)](([_0x4b0adb,_0x89f3fa])=>{const _0xa7e815=_0x513174;typeof _0x89f3fa=='string'&&(_0x550ed5[_0x4b0adb]=_0x89f3fa[_0xa7e815(0x313)](/url\(#(.*)\)/,_0xa7e815(0x33f)+_0x52cebb['idSuffix']+')'));})),_0x550ed5;}function _0x55c012(_0x18e8a8,_0x368467){const _0x1b5961=_0x4e0a0f;var _0x2a949c;const {defIds:_0x2dddc2}=_0x368467;return!_0x2dddc2||_0x2dddc2[_0x1b5961(0x401)]===0x0?_0x18e8a8:_0x18e8a8[_0x1b5961(0x3a6)]===_0x1b5961(0x412)&&((_0x2a949c=_0x18e8a8[_0x1b5961(0x372)])!=null&&_0x2a949c['length'])?{..._0x18e8a8,'children':_0x18e8a8[_0x1b5961(0x372)][_0x1b5961(0x1a8)](_0x17c877=>typeof _0x17c877['attrs']['id']==_0x1b5961(0x3a7)&&_0x2dddc2&&_0x2dddc2[_0x1b5961(0x27a)](_0x17c877[_0x1b5961(0x2c5)]['id'])?{..._0x17c877,'attrs':{..._0x17c877[_0x1b5961(0x2c5)],'id':_0x17c877['attrs']['id']+_0x368467[_0x1b5961(0x1ca)]}}:_0x17c877)}:_0x18e8a8;}function _0x4b26cf(){const _0x20ace8=_0x4e0a0f;return Math[_0x20ace8(0x3b8)]()[_0x20ace8(0x3af)](0x24)['substring'](0x2,0x8);}_0x10e6cb['displayName']=_0x4e0a0f(0x237);const _0x26b673={'tag':_0x4e0a0f(0x1e9),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4e0a0f(0x2d1),'viewBox':_0x4e0a0f(0x1b3),'width':_0x4e0a0f(0x382),'height':_0x4e0a0f(0x382)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e0a0f(0x2de)},'children':[{'tag':_0x4e0a0f(0x255),'attrs':{'stroke':_0x4e0a0f(0x424),'d':_0x4e0a0f(0x3c9),'strokeLinecap':_0x4e0a0f(0x475),'strokeLinejoin':_0x4e0a0f(0x475),'strokeWidth':1.2}}]},{'tag':_0x4e0a0f(0x412),'attrs':{},'children':[{'tag':_0x4e0a0f(0x459),'attrs':{'id':_0x4e0a0f(0x3cb)},'children':[{'tag':_0x4e0a0f(0x255),'attrs':{'fill':_0x4e0a0f(0x414),'d':_0x4e0a0f(0x3c5)}}]}]}],'defIds':[_0x4e0a0f(0x3cb)]},_0x22a84d=_0x42a4ad[_0x4e0a0f(0x48a)](function(_0x4ce51e,_0x5246ec){const _0x123fb3=_0x4e0a0f;return _0x42a4ad[_0x123fb3(0x257)](_0x10e6cb,Object['assign']({},_0x4ce51e,{'id':_0x123fb3(0x2cb),'ref':_0x5246ec,'icon':_0x26b673}));});_0x22a84d[_0x4e0a0f(0x22d)]=_0x4e0a0f(0x462);const _0x560650={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4e0a0f(0x2d1),'viewBox':_0x4e0a0f(0x333),'width':_0x4e0a0f(0x382),'height':_0x4e0a0f(0x382)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e0a0f(0x215)},'children':[{'tag':_0x4e0a0f(0x255),'attrs':{'stroke':_0x4e0a0f(0x424),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x4e0a0f(0x475),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4e0a0f(0x459),'attrs':{'id':_0x4e0a0f(0x3f7)},'children':[{'tag':_0x4e0a0f(0x255),'attrs':{'fill':_0x4e0a0f(0x414),'d':_0x4e0a0f(0x3c5),'transform':_0x4e0a0f(0x1ea)}}]}]}],'defIds':[_0x4e0a0f(0x3f7)]},_0xf09e0=_0x42a4ad[_0x4e0a0f(0x48a)](function(_0x3fe0dd,_0x405e8e){const _0x1350e1=_0x4e0a0f;return _0x42a4ad[_0x1350e1(0x257)](_0x10e6cb,Object[_0x1350e1(0x318)]({},_0x3fe0dd,{'id':_0x1350e1(0x2bd),'ref':_0x405e8e,'icon':_0x560650}));});_0xf09e0[_0x4e0a0f(0x22d)]='OnLineIcon';function _0x487e95(_0x224a65){const _0x455172=_0x4e0a0f;switch(_0x224a65){case _0x12afa3[_0x455172(0x1be)]['OFFLINE']:return'collabStatus.offline';case _0x12afa3[_0x455172(0x1be)][_0x455172(0x302)]:return _0x455172(0x275);case _0x12afa3[_0x455172(0x1be)][_0x455172(0x43f)]:return _0x455172(0x3c7);case _0x12afa3[_0x455172(0x1be)][_0x455172(0x1eb)]:return _0x455172(0x1dd);case _0x12afa3[_0x455172(0x1be)]['AWAITING']:case _0x12afa3['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x455172(0x1ee);case _0x12afa3[_0x455172(0x1be)][_0x455172(0x446)]:case _0x12afa3[_0x455172(0x1be)][_0x455172(0x1de)]:return _0x455172(0x3e5);}}function _0x36b17e(_0x24f4d2){const _0x3d1c6f=_0x4e0a0f,{status$:_0x9b34f4}=_0x24f4d2,_0x589585=_0x47f27f[_0x3d1c6f(0x29d)](_0x9b34f4,_0x12afa3[_0x3d1c6f(0x1be)][_0x3d1c6f(0x1eb)]),_0x223244=_0x47f27f[_0x3d1c6f(0x46a)](_0x3d65d5['LocaleService']),_0x19e72c=_0x47f27f[_0x3d1c6f(0x46a)](_0x12afa3[_0x3d1c6f(0x1e8)]),_0x20bf0b=_0x589585!==_0x12afa3[_0x3d1c6f(0x1be)][_0x3d1c6f(0x39e)],_0x5b760c=_0x223244['t'](_0x487e95(_0x589585)),_0x4b304c=_0x20bf0b?_0x2b222d[_0x3d1c6f(0x3fe)](_0xf09e0,{}):_0x2b222d['jsx'](_0x22a84d,{}),_0x55166b=_0x42a4ad[_0x3d1c6f(0x27c)](()=>{const _0x257be8=_0x3d1c6f;_0x20bf0b||_0x19e72c[_0x257be8(0x246)]();},[_0x20bf0b,_0x19e72c]);function _0xea8472(){const _0x4e13fb=_0x3d1c6f;return _0x2b222d[_0x4e13fb(0x2c2)](_0x4e13fb(0x3ad),{'className':_0x4e13fb(0x45a),'onClick':_0x55166b,'children':[_0x2b222d[_0x4e13fb(0x3fe)](_0x4e13fb(0x3ad),{'className':_0x225058[_0x4e13fb(0x1db)](_0x4e13fb(0x21b),{'univer-text-green-500':_0x20bf0b,'univer-text-red-500':!_0x20bf0b}),'children':_0x4b304c}),_0x2b222d[_0x4e13fb(0x3fe)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5b760c})]});}return _0x20bf0b?_0xea8472():_0x2b222d[_0x3d1c6f(0x3fe)](_0x225058['Tooltip'],{'title':_0x223244['t'](_0x3d1c6f(0x44c)),'children':_0xea8472()});}var _0x587753=Object['getOwnPropertyDescriptor'],_0x4ff46d=(_0x5cef62,_0x536e6e,_0x148ea3,_0x2ec19e)=>{const _0x43788a=_0x4e0a0f;for(var _0x3ea70f=_0x2ec19e>0x1?void 0x0:_0x2ec19e?_0x587753(_0x536e6e,_0x148ea3):_0x536e6e,_0x2a815d=_0x5cef62[_0x43788a(0x401)]-0x1,_0x4beb20;_0x2a815d>=0x0;_0x2a815d--)(_0x4beb20=_0x5cef62[_0x2a815d])&&(_0x3ea70f=_0x4beb20(_0x3ea70f)||_0x3ea70f);return _0x3ea70f;},_0x4903e2=(_0xc71eec,_0x192a93)=>(_0x831f32,_0x53c10a)=>_0x192a93(_0x831f32,_0x53c10a,_0xc71eec);_0x5d6189['DesktopCollaborationStatusDisplayController']=class extends _0x3d65d5['Disposable']{constructor(_0x2aa9cd,_0x1bccb7,_0x4339ba,_0x24c64e){const _0x4356f2=_0x4e0a0f;super(),_0x519c33(this,'_status$',new _0x5f36f4[(_0x4356f2(0x426))](_0x12afa3[_0x4356f2(0x1be)][_0x4356f2(0x1eb)])),(this[_0x4356f2(0x2dc)]=_0x2aa9cd,this[_0x4356f2(0x458)]=_0x1bccb7,this[_0x4356f2(0x30b)]=_0x4339ba,this[_0x4356f2(0x395)]=_0x24c64e,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x4e0a0f(0x232)](){const _0x1ebab5=_0x4e0a0f;this[_0x1ebab5(0x38a)](this[_0x1ebab5(0x2dc)][_0x1ebab5(0x43d)]['pipe'](_0x5f36f4[_0x1ebab5(0x461)](()=>{const _0x4ef192=_0x1ebab5,_0x3bacbd=this[_0x4ef192(0x2dc)][_0x4ef192(0x263)]();return _0x3bacbd?this[_0x4ef192(0x30b)][_0x4ef192(0x3a2)](_0x3bacbd[_0x4ef192(0x347)]()):_0x5f36f4['of'](null);}),_0x5f36f4[_0x1ebab5(0x461)](_0x7e4a74=>_0x7e4a74?_0x7e4a74[_0x1ebab5(0x29c)]:_0x5f36f4['of'](_0x12afa3[_0x1ebab5(0x1be)][_0x1ebab5(0x1eb)])))[_0x1ebab5(0x364)](_0x23bf77=>{const _0xa2806b=_0x1ebab5;this[_0xa2806b(0x39b)][_0xa2806b(0x2a7)](_0x23bf77);}));}[_0x4e0a0f(0x36a)](){const _0x693d35=_0x4e0a0f;this[_0x693d35(0x38a)](this[_0x693d35(0x395)][_0x693d35(0x1bb)](_0x47f27f[_0x693d35(0x2d8)][_0x693d35(0x3d2)],()=>_0x47f27f[_0x693d35(0x1e4)](_0x514fa9({'status$':this[_0x693d35(0x39b)]['asObservable']()}),this[_0x693d35(0x458)])));}},_0x5d6189[_0x4e0a0f(0x3ec)]=_0x4ff46d([_0x4903e2(0x0,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x4903e2(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x4903e2(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3[_0x4e0a0f(0x224)])),_0x4903e2(0x3,_0x47f27f[_0x4e0a0f(0x46c)])],_0x5d6189[_0x4e0a0f(0x3ec)]);function _0x514fa9(_0x4ab5c8){const {status$:_0x594c0f}=_0x4ab5c8;return function(){const _0x2ea328=_0x2815;return _0x2b222d[_0x2ea328(0x3fe)](_0x36b17e,{'status$':_0x594c0f});};}const _0x41d09c=_0x3d65d5[_0x4e0a0f(0x44a)](_0x4e0a0f(0x241));var _0x49b579=Object[_0x4e0a0f(0x373)],_0x532ca5=(_0x2176d5,_0x272a33,_0x475ed2,_0x5f4e38)=>{for(var _0x33d637=_0x5f4e38>0x1?void 0x0:_0x5f4e38?_0x49b579(_0x272a33,_0x475ed2):_0x272a33,_0x399d37=_0x2176d5['length']-0x1,_0x26e140;_0x399d37>=0x0;_0x399d37--)(_0x26e140=_0x2176d5[_0x399d37])&&(_0x33d637=_0x26e140(_0x33d637)||_0x33d637);return _0x33d637;},_0x1621fb=(_0x459fac,_0x451abd)=>(_0x2b3ffc,_0x407444)=>_0x451abd(_0x2b3ffc,_0x407444,_0x459fac);_0x5d6189[_0x4e0a0f(0x36c)]=class extends _0x3d65d5[_0x4e0a0f(0x2c6)]{constructor(_0x3ac172,_0x212a46,_0x40782f,_0x191f41,_0x4e0156){const _0x1528b3=_0x4e0a0f;super(),this[_0x1528b3(0x2ae)]=_0x3ac172,this[_0x1528b3(0x376)]=_0x212a46,this[_0x1528b3(0x3cf)]=_0x40782f,this[_0x1528b3(0x37d)]=_0x191f41,_0x4e0156?_0x4e0156==null||_0x4e0156[_0x1528b3(0x482)]()[_0x1528b3(0x2da)](()=>this[_0x1528b3(0x276)]()):(this[_0x1528b3(0x376)][_0x1528b3(0x1e1)](_0x1528b3(0x34c),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1528b3(0x276)]());}async['_init'](){const _0x4136c8=_0x4e0a0f,_0x131367=this[_0x4136c8(0x2ae)]['getParam'](_0x4136c8(0x3f1)),_0x532f33=this[_0x4136c8(0x2ae)][_0x4136c8(0x1f3)](_0x4136c8(0x1d3)),_0x31d91e=this[_0x4136c8(0x2ae)]['getParam'](_0x4136c8(0x321));if(!_0x131367||!_0x532f33){this['_logService'][_0x4136c8(0x1e1)](_0x4136c8(0x34c),_0x4136c8(0x21d));return;}const _0x24b288=await this[_0x4136c8(0x37d)]['loadUnit'](_0x131367,Number(_0x532f33),_0x31d91e);_0x24b288&&_0x24b288 instanceof _0x3d65d5['Workbook']&&this[_0x4136c8(0x44e)](_0x24b288);}async['_setupSubUnitSync'](_0x20e614){const _0x438e27=_0x4e0a0f;await this[_0x438e27(0x360)](_0x20e614),_0x20e614[_0x438e27(0x34e)][_0x438e27(0x2c1)](_0x5f36f4['takeUntil'](this[_0x438e27(0x33b)]))['subscribe'](_0x1905db=>{const _0x2b34ea=_0x438e27;_0x1905db&&this[_0x2b34ea(0x2ca)](_0x1905db);}),this[_0x438e27(0x2ae)][_0x438e27(0x427)]['pipe'](_0x5f36f4[_0x438e27(0x308)](this[_0x438e27(0x33b)]))[_0x438e27(0x364)](()=>this[_0x438e27(0x360)](_0x20e614));}['_updateURLWithCurrentState'](_0x89c76d,_0x36fa19=!0x1){const _0x5a0911=_0x4e0a0f,_0x3861ab=this[_0x5a0911(0x2ae)][_0x5a0911(0x1f3)]('subunit');_0x89c76d[_0x5a0911(0x3e6)]()!==_0x3861ab&&this[_0x5a0911(0x2ae)][_0x5a0911(0x1ce)](_0x5a0911(0x321),_0x89c76d['getSheetId'](),_0x36fa19);}async[_0x4e0a0f(0x360)](_0x309c76){const _0x25532a=_0x4e0a0f;var _0x2ff0f3;const _0x3eb514=this['_urlService'][_0x25532a(0x1f3)](_0x25532a(0x321));if(!_0x3eb514||!_0x309c76[_0x25532a(0x30d)](_0x3eb514)){const _0x471a19=_0x309c76[_0x25532a(0x1fb)]()[0x0],_0x389049=_0x309c76[_0x25532a(0x30d)](_0x471a19);if(!_0x389049)return;this[_0x25532a(0x2ca)](_0x389049,!0x0),await this[_0x25532a(0x3cf)][_0x25532a(0x33a)](_0x15fda1['SetWorksheetActivateCommand']['id'],{'unitId':_0x309c76[_0x25532a(0x347)](),'subUnitId':_0x471a19});return;}((_0x2ff0f3=_0x309c76[_0x25532a(0x214)]())==null?void 0x0:_0x2ff0f3['getSheetId']())!==_0x3eb514&&await this[_0x25532a(0x3cf)]['executeCommand'](_0x15fda1[_0x25532a(0x1cc)]['id'],{'unitId':_0x309c76[_0x25532a(0x347)](),'subUnitId':_0x3eb514});}},_0x5d6189['CollaborationDataLoaderController']=_0x532ca5([_0x1621fb(0x0,_0x41d09c),_0x1621fb(0x1,_0x3d65d5['ILogService']),_0x1621fb(0x2,_0x3d65d5['ICommandService']),_0x1621fb(0x3,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3['DataLoaderService'])),_0x1621fb(0x4,_0x3d65d5['Optional'](_0x202486[_0x4e0a0f(0x330)]))],_0x5d6189[_0x4e0a0f(0x36c)]);var _0x3a1788=Object['getOwnPropertyDescriptor'],_0x1fe199=(_0x267512,_0xd570ed,_0x4741ee,_0xc405d8)=>{const _0x26f756=_0x4e0a0f;for(var _0xf4348d=_0xc405d8>0x1?void 0x0:_0xc405d8?_0x3a1788(_0xd570ed,_0x4741ee):_0xd570ed,_0x53aa38=_0x267512[_0x26f756(0x401)]-0x1,_0x333391;_0x53aa38>=0x0;_0x53aa38--)(_0x333391=_0x267512[_0x53aa38])&&(_0xf4348d=_0x333391(_0xf4348d)||_0xf4348d);return _0xf4348d;},_0x19d914=(_0x21e1ef,_0x26854d)=>(_0x449c4a,_0x1736d3)=>_0x26854d(_0x449c4a,_0x1736d3,_0x21e1ef);let _0x4333d5=class extends _0x3d65d5[_0x4e0a0f(0x2c6)]{constructor(_0xca69b8,_0xaa5135){const _0x1ac615=_0x4e0a0f;super(),this[_0x1ac615(0x21c)]=_0xca69b8,this[_0x1ac615(0x2dd)]=_0xaa5135,this[_0x1ac615(0x276)]();}[_0x4e0a0f(0x276)](){const _0x1990b3=_0x4e0a0f,_0x1c8a3f=this;this[_0x1990b3(0x38a)](this[_0x1990b3(0x21c)][_0x1990b3(0x1e0)]({'onBeforePasteImage':async _0x4faf91=>{const _0x1cb939=_0x1990b3,_0x123054=await _0x1c8a3f['_imageIoService'][_0x1cb939(0x22b)](_0x4faf91);return _0x123054?{'source':_0x123054[_0x1cb939(0x28c)],'imageSourceType':_0x123054[_0x1cb939(0x274)]}:null;}}));}};_0x4333d5=_0x1fe199([_0x19d914(0x0,_0x2cb679[_0x4e0a0f(0x38f)]),_0x19d914(0x1,_0x532be4[_0x4e0a0f(0x3d4)])],_0x4333d5);const _0x29c03b=[_0x4e0a0f(0x421),'jiqing.500',_0x4e0a0f(0x311),_0x4e0a0f(0x281),_0x4e0a0f(0x3b2),'yellow.400'];class _0x5b2747 extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(){const _0x42a1ed=_0x4e0a0f;super(...arguments),_0x519c33(this,_0x42a1ed(0x430),new Map()),_0x519c33(this,_0x42a1ed(0x271),0x0);}[_0x4e0a0f(0x417)](_0x11c29b){const _0x5a7215=_0x4e0a0f;if(this[_0x5a7215(0x430)][_0x5a7215(0x41e)](_0x11c29b))return this[_0x5a7215(0x430)]['get'](_0x11c29b);const _0x5df925=_0x29c03b[this[_0x5a7215(0x271)]];return this[_0x5a7215(0x271)]=(this[_0x5a7215(0x271)]+0x1)%_0x29c03b['length'],this[_0x5a7215(0x430)]['set'](_0x11c29b,_0x5df925),_0x5df925;}}function _0xbc05fe(_0x56cd7c){const _0x414af7=_0x4e0a0f;let _0x4b0244='';for(const _0x439644 of _0x56cd7c){const {startOffset:_0x1f89be,endOffset:_0xb0bf4d,isActive:_0x52818f,rangeType:_0x180919,segmentId:_0x400269,segmentPage:_0x29b80c}=_0x439644;_0x4b0244[_0x414af7(0x401)]&&(_0x4b0244+=','),_0x4b0244+=_0x1f89be+':'+_0xb0bf4d+':'+(_0x52818f?'1':'0')+':'+_0x180919+':'+_0x400269+':'+_0x29b80c;}return _0x4b0244;}function _0x40f323(_0x37af50){const _0x4688ae=_0x4e0a0f,_0x5a8d9e=_0x37af50[_0x4688ae(0x44b)](','),_0x48f932=[];for(const _0x3050ef of _0x5a8d9e){const [_0x447c60,_0x7f3071,_0x4cb807,_0x5491ac,_0x128e3a,_0x30fbf8]=_0x3050ef[_0x4688ae(0x44b)](':');_0x48f932[_0x4688ae(0x1c3)]({'startOffset':Number(_0x447c60),'endOffset':Number(_0x7f3071),'collapsed':_0x447c60===_0x7f3071,'isActive':_0x4cb807==='1','rangeType':_0x5491ac===_0x3d65d5[_0x4688ae(0x29f)][_0x4688ae(0x286)]?_0x3d65d5[_0x4688ae(0x29f)][_0x4688ae(0x286)]:_0x3d65d5[_0x4688ae(0x29f)][_0x4688ae(0x460)],'segmentId':typeof _0x128e3a==_0x4688ae(0x3a7)?String(_0x128e3a):'','segmentPage':Number(_0x30fbf8!=null?_0x30fbf8:-0x1)});}return _0x48f932[_0x4688ae(0x1fd)](_0x304a6d=>_0x304a6d[_0x4688ae(0x423)])||(_0x48f932[0x0][_0x4688ae(0x423)]=!0x0),_0x48f932;}class _0x58e52d extends _0x3d65d5['RxDisposable']{constructor(){const _0x4e8862=_0x4e0a0f;super(...arguments),_0x519c33(this,'_collabCursorState$',new _0x5f36f4[(_0x4e8862(0x426))](null)),_0x519c33(this,_0x4e8862(0x384),this['_collabCursorState$']['asObservable']());}[_0x4e0a0f(0x306)](_0x360a48){const _0x29588d=_0x4e0a0f,{unitID:_0x29ccbc,memberID:_0x5d3e97,textRanges:_0x2c4cee}=_0x360a48,_0x242db6=_0xbc05fe(_0x2c4cee);if(_0x242db6==='')return;const _0x4002be={'unitID':_0x29ccbc,'memberID':_0x5d3e97,'selection':_0x242db6};this[_0x29588d(0x29e)][_0x29588d(0x2a7)](_0x4002be);}}var _0x67cdc9=Object[_0x4e0a0f(0x373)],_0x17136e=(_0x1cf7c4,_0xa531e4,_0x35e702,_0x29996b)=>{const _0x3de2fa=_0x4e0a0f;for(var _0x3fd382=_0x29996b>0x1?void 0x0:_0x29996b?_0x67cdc9(_0xa531e4,_0x35e702):_0xa531e4,_0x543ad5=_0x1cf7c4[_0x3de2fa(0x401)]-0x1,_0x16cd5c;_0x543ad5>=0x0;_0x543ad5--)(_0x16cd5c=_0x1cf7c4[_0x543ad5])&&(_0x3fd382=_0x16cd5c(_0x3fd382)||_0x3fd382);return _0x3fd382;},_0x59fbdd=(_0x546f66,_0x1c2eed)=>(_0x40f541,_0x47a5cb)=>_0x1c2eed(_0x40f541,_0x47a5cb,_0x546f66);const _0x24a6a2=0x12c,_0x2d3cbb=0x64;let _0x420b41=class extends _0x3d65d5[_0x4e0a0f(0x2c6)]{constructor(_0x1f9ac6,_0x3d9fc0,_0x493231,_0x3ddf09,_0x5333ad,_0x433c0a,_0x54bcbe,_0x279fe1,_0x2f41df){const _0x24b6c8=_0x4e0a0f;super(),_0x519c33(this,_0x24b6c8(0x1c7),!0x1),_0x519c33(this,_0x24b6c8(0x276),!0x1),_0x519c33(this,'_cursorInfo$',new _0x5f36f4[(_0x24b6c8(0x426))](new Map())),_0x519c33(this,_0x24b6c8(0x251),this[_0x24b6c8(0x3ef)][_0x24b6c8(0x365)]()),_0x519c33(this,_0x24b6c8(0x2e0),new _0x5f36f4[(_0x24b6c8(0x426))]([])),_0x519c33(this,_0x24b6c8(0x392),this['_roomMembers$']['pipe'](_0x5f36f4[_0x24b6c8(0x445)](_0x24a6a2))),_0x519c33(this,_0x24b6c8(0x26b),_0x3d65d5[_0x24b6c8(0x469)](_0x57053d=>{const _0x42a9ed=_0x24b6c8,_0x53af59={'eventID':_0x36b4bf[_0x42a9ed(0x396)][_0x42a9ed(0x484)],'data':{'unitID':this[_0x42a9ed(0x2b4)],'memberID':this[_0x42a9ed(0x277)]['getMemberID'](),'selection':_0xbc05fe(_0x57053d)}};this[_0x42a9ed(0x277)][_0x42a9ed(0x381)](_0x53af59,this['unitID']);},_0x2d3cbb)),(this[_0x24b6c8(0x2b4)]=_0x1f9ac6,this['_session']=_0x3d9fc0,this[_0x24b6c8(0x458)]=_0x493231,this[_0x24b6c8(0x3f6)]=_0x3ddf09,this[_0x24b6c8(0x457)]=_0x5333ad,this['_syncEditingCollabCursorService']=_0x433c0a,this[_0x24b6c8(0x242)]=_0x54bcbe,this['_univerInstanceService']=_0x279fe1,this[_0x24b6c8(0x3cf)]=_0x2f41df);}get[_0x4e0a0f(0x3a1)](){const _0x52ba4a=_0x4e0a0f;return this[_0x52ba4a(0x3ef)][_0x52ba4a(0x473)]();}get[_0x4e0a0f(0x2d7)](){const _0x3c96df=_0x4e0a0f;return this[_0x3c96df(0x2e0)][_0x3c96df(0x473)]();}[_0x4e0a0f(0x3ab)](){const _0x413088=_0x4e0a0f;super[_0x413088(0x3ab)](),this[_0x413088(0x3ef)][_0x413088(0x2a7)](new Map()),this[_0x413088(0x3ef)][_0x413088(0x440)](),this[_0x413088(0x2e0)][_0x413088(0x2a7)]([]),this['_roomMembers$'][_0x413088(0x440)]();}['init'](){const _0x14a8b2=_0x4e0a0f;this['_init']||(this[_0x14a8b2(0x276)]=!0x0,this[_0x14a8b2(0x277)]['sessionStatus$'][_0x14a8b2(0x2c1)](_0x5f36f4[_0x14a8b2(0x308)](this[_0x14a8b2(0x33b)]))[_0x14a8b2(0x364)](_0x359d32=>{const _0x36ed6d=_0x14a8b2;_0x359d32===_0x12afa3[_0x36ed6d(0x441)][_0x36ed6d(0x3ea)]?this[_0x36ed6d(0x216)]():this[_0x36ed6d(0x1d7)]();}),this[_0x14a8b2(0x277)]['event$'][_0x14a8b2(0x2c1)](_0x5f36f4['takeUntil'](this[_0x14a8b2(0x33b)]))['subscribe'](_0x2473bc=>{const _0x3ce9d7=_0x14a8b2,_0x54bf60=_0x2473bc[_0x3ce9d7(0x320)];_0x54bf60===_0x36b4bf[_0x3ce9d7(0x396)]['UPDATE_CURSOR']&&this[_0x3ce9d7(0x2be)](_0x2473bc),_0x54bf60===_0x36b4bf[_0x3ce9d7(0x396)][_0x3ce9d7(0x386)]&&this[_0x3ce9d7(0x25f)](_0x2473bc);}),this[_0x14a8b2(0x38a)](this[_0x14a8b2(0x3cf)][_0x14a8b2(0x42e)](_0x1e98d9=>{const _0x369b2c=_0x14a8b2,_0x268a7e=_0x1e98d9['params'];_0x268a7e!=null&&this['_online']&&_0x1e98d9['id']===_0x301e8e[_0x369b2c(0x478)]['id']&&_0x268a7e['unitId']===this[_0x369b2c(0x2b4)]&&_0x268a7e[_0x369b2c(0x1c4)]===!0x1&&_0x268a7e[_0x369b2c(0x1c5)][_0x369b2c(0x401)]>0x0&&this['_updateLocalCursor'](_0x268a7e[_0x369b2c(0x1c5)]);})),this['_syncEditingCollabCursorService'][_0x14a8b2(0x384)][_0x14a8b2(0x2c1)](_0x5f36f4[_0x14a8b2(0x308)](this[_0x14a8b2(0x33b)]))[_0x14a8b2(0x364)](_0xec87d3=>{const _0x4649f3=_0x14a8b2;if((_0xec87d3==null?void 0x0:_0xec87d3[_0x4649f3(0x2b4)])!==this[_0x4649f3(0x2b4)])return;const _0x3049ba={'eventID':_0x36b4bf['CollaborationEvent'][_0x4649f3(0x484)],'data':_0xec87d3};this['_onCursorUpdate'](_0x3049ba);}),this['disposeWithMe'](this[_0x14a8b2(0x3cf)][_0x14a8b2(0x42e)](_0x23ebd9=>{const _0x15379e=_0x14a8b2;if(_0x23ebd9[_0x15379e(0x344)]==null)return;const _0x121ca6=_0x23ebd9[_0x15379e(0x344)];if(_0x23ebd9['id']!==_0x301e8e[_0x15379e(0x27f)]['id']||_0x121ca6[_0x15379e(0x3c2)]!==this[_0x15379e(0x2b4)])return;const _0x17ab89={'id':_0x15379e(0x397),'params':_0x121ca6},_0x58bc50=this[_0x15379e(0x3a1)];for(const [_0x178cc3,_0x4ad5b6]of _0x58bc50){const _0x499d24={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x15379e(0x2b4)],'actions':null,'textRanges':_0x4ad5b6[_0x15379e(0x1c5)]}},_0x4087de=this[_0x15379e(0x242)][_0x15379e(0x1fe)](_0x17ab89,_0x499d24,!0x1);if(_0x36b4bf[_0x15379e(0x43e)](_0x4087de))throw _0x4087de[_0x15379e(0x212)];_0x58bc50['set'](_0x178cc3,{..._0x4ad5b6,'ranges':_0x4087de[_0x15379e(0x328)][_0x15379e(0x344)][_0x15379e(0x350)]});}queueMicrotask(()=>{const _0x3afebb=_0x15379e;this[_0x3afebb(0x3ef)][_0x3afebb(0x2a7)](_0x58bc50);});})));}['_onCursorUpdate'](_0x5702c5){const _0x23bfa7=_0x4e0a0f;var _0x271f77,_0x71e3ac;const {memberID:_0x5249ff,selection:_0x36a6d7}=_0x5702c5[_0x23bfa7(0x3fb)],_0x2f7766=_0x40f323(_0x36a6d7),_0x2ca4b1=(_0x71e3ac=(_0x271f77=this['_memberService'][_0x23bfa7(0x439)](this['unitID'],_0x5249ff))==null?void 0x0:_0x271f77[_0x23bfa7(0x483)])!=null?_0x71e3ac:_0x23bfa7(0x3b7),_0x4c07fb={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x5249ff),'name':_0x2ca4b1,'ranges':_0x2f7766},_0x34bf6f=this[_0x23bfa7(0x3a1)];_0x34bf6f[_0x23bfa7(0x33d)](_0x5249ff,_0x4c07fb),this[_0x23bfa7(0x3ef)][_0x23bfa7(0x2a7)](_0x34bf6f);}['_onCursorDelete'](_0x4418a1){const _0x2932ae=_0x4e0a0f,{memberID:_0x3bc704}=_0x4418a1[_0x2932ae(0x3fb)],_0x580e9c=this[_0x2932ae(0x3a1)];_0x580e9c[_0x2932ae(0x32d)](_0x3bc704),this['_cursorInfo$']['next'](_0x580e9c);}['_toggleOnline'](){const _0x43bd54=_0x4e0a0f;var _0x5d0236;if(this['_online']=!0x0,((_0x5d0236=this[_0x43bd54(0x2dc)][_0x43bd54(0x263)]())==null?void 0x0:_0x5d0236[_0x43bd54(0x347)]())!==this[_0x43bd54(0x2b4)])return;const _0x445393=this[_0x43bd54(0x458)][_0x43bd54(0x236)](_0x301e8e['DocSelectionManagerService'])[_0x43bd54(0x316)]();Array['isArray'](_0x445393)&&_0x445393[_0x43bd54(0x401)]>0x0&&this[_0x43bd54(0x26b)](_0x445393);}[_0x4e0a0f(0x1d7)](){const _0x272ede=_0x4e0a0f;this[_0x272ede(0x1c7)]=!0x1;}};_0x420b41=_0x17136e([_0x59fbdd(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x59fbdd(0x3,_0x3d65d5[_0x4e0a0f(0x24b)](_0x5b2747)),_0x59fbdd(0x4,_0x3d65d5['Inject'](_0x12afa3[_0x4e0a0f(0x1a5)])),_0x59fbdd(0x5,_0x3d65d5[_0x4e0a0f(0x24b)](_0x58e52d)),_0x59fbdd(0x6,_0x36b4bf[_0x4e0a0f(0x291)]),_0x59fbdd(0x7,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x59fbdd(0x8,_0x3d65d5['ICommandService'])],_0x420b41);var _0x184f2b=Object[_0x4e0a0f(0x373)],_0x2e5d70=(_0x4aa59c,_0x26bc6b,_0x59414c,_0x4b6add)=>{const _0x4de19a=_0x4e0a0f;for(var _0x578373=_0x4b6add>0x1?void 0x0:_0x4b6add?_0x184f2b(_0x26bc6b,_0x59414c):_0x26bc6b,_0x57697a=_0x4aa59c[_0x4de19a(0x401)]-0x1,_0x25b605;_0x57697a>=0x0;_0x57697a--)(_0x25b605=_0x4aa59c[_0x57697a])&&(_0x578373=_0x25b605(_0x578373)||_0x578373);return _0x578373;},_0x1e1e54=(_0xdb1a2a,_0x5e8f27)=>(_0x47185d,_0x2d7685)=>_0x5e8f27(_0x47185d,_0x2d7685,_0xdb1a2a);const _0x2f7de3=0x12c,_0x406c39=0x64,_0x351cca=()=>{let _0x1c0110=[],_0x3500b3=!0x1;return _0x4106f7=>{const _0x40ffb2=_0x2815;_0x1c0110[_0x40ffb2(0x1c3)](_0x4106f7),_0x3500b3||(_0x3500b3=!0x0,setTimeout(()=>{_0x1c0110['forEach'](_0x47a0ed=>_0x47a0ed()),_0x1c0110=[],_0x3500b3=!0x1;}));};};let _0x184e5c=class extends _0x3d65d5['RxDisposable']{constructor(_0x2730ae,_0xe7f841,_0x52f570,_0x527bd2,_0x11e15d,_0x507788,_0x40e9e0,_0x34350a){const _0x1af5c5=_0x4e0a0f;super(),_0x519c33(this,_0x1af5c5(0x1c7),!0x1),_0x519c33(this,_0x1af5c5(0x276),!0x1),_0x519c33(this,_0x1af5c5(0x3ef),new _0x5f36f4[(_0x1af5c5(0x426))](new Map())),_0x519c33(this,_0x1af5c5(0x251),this[_0x1af5c5(0x3ef)][_0x1af5c5(0x365)]()),_0x519c33(this,_0x1af5c5(0x2e0),new _0x5f36f4['BehaviorSubject']([])),_0x519c33(this,_0x1af5c5(0x392),this[_0x1af5c5(0x2e0)][_0x1af5c5(0x2c1)](_0x5f36f4[_0x1af5c5(0x445)](_0x2f7de3))),_0x519c33(this,_0x1af5c5(0x26b),_0x3d65d5[_0x1af5c5(0x469)]((_0x57cc8e,_0x15686d)=>{const _0x128108=_0x1af5c5,_0x484dec={'eventID':_0x36b4bf[_0x128108(0x396)][_0x128108(0x484)],'data':{'unitID':this[_0x128108(0x2b4)],'memberID':this[_0x128108(0x277)][_0x128108(0x3da)](),'selection':_0x5cefe9['serializeRangeWithSheet'](_0x57cc8e,_0x15686d[_0x128108(0x2b7)])}};this['_session'][_0x128108(0x381)](_0x484dec,this[_0x128108(0x2b4)]);},_0x406c39)),(this['unitID']=_0x2730ae,this[_0x1af5c5(0x277)]=_0xe7f841,this[_0x1af5c5(0x458)]=_0x52f570,this[_0x1af5c5(0x3f6)]=_0x527bd2,this[_0x1af5c5(0x457)]=_0x11e15d,this[_0x1af5c5(0x2dc)]=_0x507788,this[_0x1af5c5(0x3cf)]=_0x40e9e0,this[_0x1af5c5(0x3b5)]=_0x34350a);}get[_0x4e0a0f(0x3a1)](){const _0x50460d=_0x4e0a0f;return this[_0x50460d(0x3ef)][_0x50460d(0x473)]();}get[_0x4e0a0f(0x2d7)](){const _0x1a6ab4=_0x4e0a0f;return this[_0x1a6ab4(0x2e0)]['getValue']();}[_0x4e0a0f(0x3ab)](){const _0x342b38=_0x4e0a0f;super[_0x342b38(0x3ab)](),this['_cursorInfo$'][_0x342b38(0x2a7)](new Map()),this[_0x342b38(0x3ef)][_0x342b38(0x440)](),this['_roomMembers$'][_0x342b38(0x2a7)]([]),this[_0x342b38(0x2e0)][_0x342b38(0x440)]();}[_0x4e0a0f(0x265)](){const _0x339f50=_0x4e0a0f;this[_0x339f50(0x276)]||(this['_init']=!0x0,this[_0x339f50(0x277)]['sessionStatus$']['pipe'](_0x5f36f4[_0x339f50(0x308)](this[_0x339f50(0x33b)]))[_0x339f50(0x364)](_0x25e6ec=>{const _0x195c67=_0x339f50;_0x25e6ec===_0x12afa3[_0x195c67(0x441)][_0x195c67(0x3ea)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x339f50(0x277)]['event$']['pipe'](_0x5f36f4[_0x339f50(0x308)](this[_0x339f50(0x33b)]))[_0x339f50(0x364)](_0x3c911e=>{const _0x2da47c=_0x339f50,_0x2cbc17=_0x3c911e[_0x2da47c(0x320)];_0x2cbc17===_0x36b4bf[_0x2da47c(0x396)]['UPDATE_CURSOR']&&this[_0x2da47c(0x2be)](_0x3c911e),_0x2cbc17===_0x36b4bf[_0x2da47c(0x396)]['USERS_LEAVE']&&this[_0x2da47c(0x25f)](_0x3c911e);}),this[_0x339f50(0x465)](),this['disposeWithMe'](this[_0x339f50(0x3cf)][_0x339f50(0x42e)](_0x4902a8=>{const _0x591b39=_0x339f50;if(this[_0x591b39(0x1c7)]&&_0x4902a8['id']===_0x15fda1[_0x591b39(0x32f)]['id']&&_0x4902a8[_0x591b39(0x344)][_0x591b39(0x3c2)]===this[_0x591b39(0x2b4)]){const _0x3ad02c=_0x4902a8[_0x591b39(0x344)];this[_0x591b39(0x26b)](_0x3ad02c[_0x591b39(0x40d)],_0x3ad02c[_0x591b39(0x3d7)][0x0]);}})));}[_0x4e0a0f(0x2be)](_0x6d8e17){const _0x5b556b=_0x4e0a0f;var _0x39a93a,_0x17f441;const {memberID:_0x3849b4,selection:_0x55a029}=_0x6d8e17[_0x5b556b(0x3fb)],{sheetName:_0x4d2e1c,range:_0x304395}=_0x5cefe9['deserializeRangeWithSheet'](_0x55a029),_0x4abf5c={'name':(_0x17f441=(_0x39a93a=this[_0x5b556b(0x457)][_0x5b556b(0x439)](this[_0x5b556b(0x2b4)],_0x3849b4))==null?void 0x0:_0x39a93a[_0x5b556b(0x483)])!=null?_0x17f441:_0x5b556b(0x3b7),'range':this[_0x5b556b(0x3b6)](_0x4d2e1c,_0x304395),'sheetID':_0x4d2e1c,'color':this[_0x5b556b(0x3f6)][_0x5b556b(0x417)](_0x3849b4),'selection':_0x55a029},_0x203e6a=this[_0x5b556b(0x3a1)];_0x203e6a[_0x5b556b(0x33d)](_0x3849b4,_0x4abf5c),this[_0x5b556b(0x3ef)][_0x5b556b(0x2a7)](_0x203e6a);}[_0x4e0a0f(0x25f)](_0x16255d){const _0x14ebfd=_0x4e0a0f,{memberID:_0x1b745c}=_0x16255d[_0x14ebfd(0x3fb)],_0x1fb9df=this[_0x14ebfd(0x3a1)];_0x1fb9df[_0x14ebfd(0x32d)](_0x1b745c),this[_0x14ebfd(0x3ef)][_0x14ebfd(0x2a7)](_0x1fb9df);}[_0x4e0a0f(0x3b6)](_0x5e4a7e,_0x2a1ee4){const _0x12f524=_0x4e0a0f;var _0x496b9b,_0x5cf23a;const _0x59e30b=(_0x5cf23a=(_0x496b9b=this['_univerInstanceService'][_0x12f524(0x1c0)](this['unitID']))==null?void 0x0:_0x496b9b['getSheetBySheetId'](_0x5e4a7e))==null?void 0x0:_0x5cf23a[_0x12f524(0x2b6)]();return(_0x59e30b==null?void 0x0:_0x59e30b[_0x12f524(0x340)](_0x211d6b=>_0x3d65d5[_0x12f524(0x29a)][_0x12f524(0x1bc)](_0x211d6b,_0x2a1ee4)))||_0x2a1ee4;}['_onRefRangeChange'](){const _0x2e4d7f=_0x4e0a0f,_0x3948a5=new _0x3d65d5[(_0x2e4d7f(0x2a3))](),_0xb4672d=_0x351cca(),_0x5a6737=()=>{const _0x4fd607=_0x2e4d7f;_0x3948a5[_0x4fd607(0x3ab)]();const _0x1e6a86=(_0x598151,_0x58936a,_0xd573e9,_0x29bdfd)=>{const _0x5ed474=_0x4fd607;let _0x2cedf1=[];switch(_0x598151['id']){case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x45d)]:{_0x2cedf1=_0x15fda1[_0x5ed474(0x3c6)](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x2b0)]:{_0x2cedf1=_0x15fda1['handleDeleteRangeMoveUp'](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x472)]:{_0x2cedf1=_0x15fda1['handleInsertCol'](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)]['InsertRangeMoveDownCommandId']:{_0x2cedf1=_0x15fda1[_0x5ed474(0x292)](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)]['InsertRangeMoveRightCommandId']:{_0x2cedf1=_0x15fda1[_0x5ed474(0x304)](_0x598151,_0x29bdfd);break;}case _0x15fda1['EffectRefRangId'][_0x5ed474(0x3c0)]:{_0x2cedf1=_0x15fda1[_0x5ed474(0x35f)](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x27d)]:{_0x2cedf1=_0x15fda1['handleMoveRange'](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x2e5)]:{_0x2cedf1=_0x15fda1[_0x5ed474(0x3a5)](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)]['RemoveRowCommandId']:{_0x2cedf1=_0x15fda1['handleIRemoveRow'](_0x598151,_0x29bdfd);break;}}const _0x3667dd=_0x15fda1[_0x5ed474(0x418)](_0x2cedf1,_0x29bdfd),_0x507b3a=this[_0x5ed474(0x3a1)]['get'](_0x58936a);if(_0x507b3a&&_0x3667dd){const _0x5d5df4={..._0x507b3a,'range':_0x3667dd};this[_0x5ed474(0x3a1)]['set'](_0x58936a,_0x5d5df4),_0xb4672d(()=>{const _0x4b7fd6=_0x5ed474,_0x5988ed=this[_0x4b7fd6(0x3b5)][_0x4b7fd6(0x2d5)](_0x3667dd,_0x16aa4f=>(_0x5988ed[_0x4b7fd6(0x3ab)](),_0x1e6a86(_0x16aa4f,_0x58936a,_0xd573e9,_0x3667dd)));_0x3948a5[_0x4b7fd6(0x3f0)](_0x5988ed);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4fd607(0x3e9)]((_0x5619bf,_0x382e6c)=>{const _0x126a82=_0x4fd607,{range:_0x4dd476,sheetID:_0x375435}=_0x5619bf,_0x15935a=this[_0x126a82(0x3b5)]['registerRefRange'](_0x4dd476,_0x4c1001=>(_0x15935a['dispose'](),_0x1e6a86(_0x4c1001,_0x382e6c,_0x375435,_0x4dd476)));_0x3948a5[_0x126a82(0x3f0)](_0x15935a);});};this[_0x2e4d7f(0x38a)](_0x3d65d5[_0x2e4d7f(0x31b)](this['_cursorInfo$'][_0x2e4d7f(0x364)](()=>{_0x5a6737();})));}['_toggleOnline'](){const _0x327fd3=_0x4e0a0f;var _0x1276c5,_0x2c2586;if(this[_0x327fd3(0x1c7)]=!0x0,((_0x1276c5=this[_0x327fd3(0x2dc)][_0x327fd3(0x263)]())==null?void 0x0:_0x1276c5['getUnitId']())!==this[_0x327fd3(0x2b4)])return;const _0x566d4e=(_0x2c2586=this[_0x327fd3(0x458)][_0x327fd3(0x236)](_0x15fda1['SheetsSelectionsService'])[_0x327fd3(0x22a)]())==null?void 0x0:_0x2c2586[0x0],_0x31ac52=this[_0x327fd3(0x2dc)][_0x327fd3(0x35d)](_0x3d65d5[_0x327fd3(0x307)][_0x327fd3(0x3ac)])[_0x327fd3(0x214)]();_0x566d4e&&_0x31ac52&&this[_0x327fd3(0x26b)](_0x31ac52[_0x327fd3(0x3e6)](),_0x566d4e);}[_0x4e0a0f(0x1d7)](){this['_online']=!0x1;}};_0x184e5c=_0x2e5d70([_0x1e1e54(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x1e1e54(0x3,_0x3d65d5[_0x4e0a0f(0x24b)](_0x5b2747)),_0x1e1e54(0x4,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3[_0x4e0a0f(0x1a5)])),_0x1e1e54(0x5,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x1e1e54(0x6,_0x3d65d5[_0x4e0a0f(0x1ad)]),_0x1e1e54(0x7,_0x3d65d5[_0x4e0a0f(0x24b)](_0x15fda1[_0x4e0a0f(0x256)]))],_0x184e5c);var _0xcba188=Object['getOwnPropertyDescriptor'],_0x177813=(_0x237964,_0x1708f4,_0x5eceb1,_0x4dabe4)=>{const _0x1ab79c=_0x4e0a0f;for(var _0x50d65b=_0x4dabe4>0x1?void 0x0:_0x4dabe4?_0xcba188(_0x1708f4,_0x5eceb1):_0x1708f4,_0x5ea82e=_0x237964[_0x1ab79c(0x401)]-0x1,_0x200594;_0x5ea82e>=0x0;_0x5ea82e--)(_0x200594=_0x237964[_0x5ea82e])&&(_0x50d65b=_0x200594(_0x50d65b)||_0x50d65b);return _0x50d65b;},_0x19d85c=(_0x16e646,_0x220c70)=>(_0x535913,_0x5791f6)=>_0x220c70(_0x535913,_0x5791f6,_0x16e646);let _0x1a8b3b=class extends _0x3d65d5[_0x4e0a0f(0x2c6)]{constructor(_0x24c20e,_0x3716b2,_0x7ee558){const _0x153f87=_0x4e0a0f;super(),_0x519c33(this,_0x153f87(0x3b0),new Map()),_0x519c33(this,_0x153f87(0x2eb),new _0x5f36f4[(_0x153f87(0x1f4))]()),(this[_0x153f87(0x2dc)]=_0x24c20e,this[_0x153f87(0x458)]=_0x3716b2,this[_0x153f87(0x252)]=_0x7ee558,this[_0x153f87(0x276)]());}['dispose'](){const _0x5274b0=_0x4e0a0f;super[_0x5274b0(0x3ab)](),this[_0x5274b0(0x2eb)][_0x5274b0(0x440)](),this['_entities'][_0x5274b0(0x3e9)](_0x517d84=>_0x517d84['dispose']());}[_0x4e0a0f(0x28b)](_0x5d4155){const _0x13532c=_0x4e0a0f;return this[_0x13532c(0x3b0)][_0x13532c(0x41e)](_0x5d4155)?this[_0x13532c(0x3b0)]['get'](_0x5d4155)[_0x13532c(0x251)]:this['_entityInit$'][_0x13532c(0x2c1)](_0x5f36f4[_0x13532c(0x2af)](_0x38631e=>_0x38631e[_0x13532c(0x2b4)]===_0x5d4155),_0x5f36f4['switchMap'](_0x44effb=>_0x44effb[_0x13532c(0x251)]));}[_0x4e0a0f(0x276)](){const _0x53af69=_0x4e0a0f;this['_univerInstanceService'][_0x53af69(0x47e)](_0x3d65d5[_0x53af69(0x307)][_0x53af69(0x3ac)])[_0x53af69(0x2c1)](_0x5f36f4['takeUntil'](this[_0x53af69(0x33b)]))[_0x53af69(0x364)](async _0x34ff02=>{const _0x241371=_0x53af69,_0x2dba0c=_0x34ff02[_0x241371(0x347)](),_0xf28859=await this[_0x241371(0x253)](_0x2dba0c);this[_0x241371(0x2eb)][_0x241371(0x2a7)](_0xf28859),this[_0x241371(0x3b0)][_0x241371(0x33d)](_0x2dba0c,_0xf28859);}),this[_0x53af69(0x2dc)]['getTypeOfUnitAdded$'](_0x3d65d5[_0x53af69(0x307)][_0x53af69(0x1c2)])[_0x53af69(0x2c1)](_0x5f36f4[_0x53af69(0x308)](this[_0x53af69(0x33b)]))['pipe'](_0x5f36f4[_0x53af69(0x2af)](_0x54e2e2=>!_0x54e2e2[_0x53af69(0x347)]()[_0x53af69(0x290)]('__')))[_0x53af69(0x364)](async _0x5014f8=>{const _0xa9ec43=_0x53af69,_0x5ed288=_0x5014f8[_0xa9ec43(0x347)](),_0xf2010c=await this['_startDocCollabCursor'](_0x5ed288);this[_0xa9ec43(0x2eb)]['next'](_0xf2010c),this['_entities'][_0xa9ec43(0x33d)](_0x5ed288,_0xf2010c);}),_0x5f36f4['merge'](this[_0x53af69(0x2dc)]['getTypeOfUnitDisposed$'](_0x3d65d5['UniverInstanceType'][_0x53af69(0x1c2)]),this[_0x53af69(0x2dc)]['getTypeOfUnitDisposed$'](_0x3d65d5[_0x53af69(0x307)][_0x53af69(0x3ac)]))['pipe'](_0x5f36f4[_0x53af69(0x308)](this[_0x53af69(0x33b)]))[_0x53af69(0x364)](_0x3b940b=>{const _0x366465=_0x53af69,_0x40df99=_0x3b940b[_0x366465(0x347)](),_0x2590da=this[_0x366465(0x3b0)][_0x366465(0x236)](_0x40df99);_0x2590da&&(_0x2590da[_0x366465(0x3ab)](),this[_0x366465(0x3b0)][_0x366465(0x32d)](_0x40df99));});}async['_startSheetCollabCursor'](_0x175035){const _0x186654=_0x4e0a0f,_0x54f8e6=await this['_collabSessionService']['requireSession'](_0x175035),_0x4c1a16=this[_0x186654(0x458)]['createInstance'](_0x184e5c,_0x175035,_0x54f8e6);return _0x4c1a16[_0x186654(0x265)](),_0x4c1a16;}async[_0x4e0a0f(0x1d2)](_0x5b3f32){const _0x35b08c=_0x4e0a0f,_0x52922b=await this['_collabSessionService'][_0x35b08c(0x2cf)](_0x5b3f32),_0x1c2164=this['_injector']['createInstance'](_0x420b41,_0x5b3f32,_0x52922b);return _0x1c2164[_0x35b08c(0x265)](),_0x1c2164;}};_0x1a8b3b=_0x177813([_0x19d85c(0x0,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x19d85c(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5['Injector'])),_0x19d85c(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3[_0x4e0a0f(0x1e8)]))],_0x1a8b3b);const _0x229689=0x14,_0x83e6a2=0xc8,_0x30c48d=0x4,_0x2baa1d=0x5;function _0x319ccb(_0x627b44,_0x94d701){const _0x4e41ab=_0x4e0a0f;let {radius:_0x415de1,width:_0x1252e3,height:_0x30d341}=_0x94d701;_0x415de1=_0x415de1!=null?_0x415de1:0x0,_0x1252e3=_0x1252e3!=null?_0x1252e3:0x1e,_0x30d341=_0x30d341!=null?_0x30d341:0x1e;let _0x4f883a=0x0,_0x4bb270=0x0,_0x2b80dd=0x0;_0x4f883a=_0x4bb270=_0x2b80dd=Math[_0x4e41ab(0x39c)](_0x415de1,_0x1252e3/0x2,_0x30d341/0x2),_0x627b44[_0x4e41ab(0x266)](),_0x627b44['moveTo'](_0x4f883a,0x0),_0x627b44[_0x4e41ab(0x235)](_0x1252e3-_0x4bb270,0x0),_0x627b44[_0x4e41ab(0x1e7)](_0x1252e3-_0x4bb270,_0x4bb270,_0x4bb270,Math['PI']*0x3/0x2,0x0,!0x1),_0x627b44['lineTo'](_0x1252e3,_0x30d341-_0x2b80dd),_0x627b44[_0x4e41ab(0x1e7)](_0x1252e3-_0x2b80dd,_0x30d341-_0x2b80dd,_0x2b80dd,0x0,Math['PI']/0x2,!0x1),_0x627b44[_0x4e41ab(0x235)](0x0,_0x30d341),_0x627b44[_0x4e41ab(0x235)](0x0,_0x4f883a),_0x627b44[_0x4e41ab(0x1e7)](_0x4f883a,_0x4f883a,_0x4f883a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x627b44[_0x4e41ab(0x272)](),_0x94d701[_0x4e41ab(0x2c7)]&&(_0x627b44[_0x4e41ab(0x2f8)](),_0x627b44[_0x4e41ab(0x343)]=_0x94d701[_0x4e41ab(0x2c7)],_0x94d701['fillRule']==='evenodd'?_0x627b44[_0x4e41ab(0x2c7)](_0x4e41ab(0x48d)):_0x627b44[_0x4e41ab(0x2c7)](),_0x627b44['restore']());}class _0x5b2f04 extends _0x48b1a2[_0x4e0a0f(0x35b)]{constructor(_0x1877b4,_0xb5126){const _0x3f2347=_0x4e0a0f;super(_0x1877b4,_0xb5126),_0x519c33(this,_0x3f2347(0x1b6)),_0x519c33(this,_0x3f2347(0x1d4)),(this[_0x3f2347(0x1b6)]=_0xb5126==null?void 0x0:_0xb5126[_0x3f2347(0x1b6)],this[_0x3f2347(0x1d4)]=_0xb5126==null?void 0x0:_0xb5126['text']);}static[_0x4e0a0f(0x437)](_0x54dc4d,_0x43c0ab){const _0x401195=_0x4e0a0f,{text:_0x1641a8,color:_0x2735e4}=_0x43c0ab;_0x54dc4d['save'](),_0x54dc4d[_0x401195(0x476)]=_0x401195(0x244);const _0x50e4ff=_0x54dc4d[_0x401195(0x221)](_0x1641a8)['width'],_0x18ade3=Math[_0x401195(0x39c)](_0x50e4ff+0x2*_0x30c48d,_0x83e6a2);_0x319ccb(_0x54dc4d,{'height':_0x229689,'radius':0x4,'width':_0x18ade3,'fill':_0x2735e4}),_0x54dc4d['fillStyle']=_0x401195(0x399);const _0x357372=_0x30c48d,_0x5a3fa5=_0x229689-_0x2baa1d,_0x290063=_0x83e6a2-0x2*_0x30c48d;if(_0x50e4ff>_0x290063){let _0x3e8240='',_0x5a2f57=0x0;for(const _0x469650 of _0x1641a8){const _0x15f404=_0x54dc4d[_0x401195(0x221)](_0x469650)[_0x401195(0x1c9)];if(_0x5a2f57+_0x15f404<=_0x290063-_0x54dc4d[_0x401195(0x221)](_0x401195(0x2fc))[_0x401195(0x1c9)])_0x3e8240+=_0x469650,_0x5a2f57+=_0x15f404;else{_0x3e8240+=_0x401195(0x2fc);break;}}_0x54dc4d[_0x401195(0x288)](_0x3e8240,_0x357372,_0x5a3fa5);}else _0x54dc4d['fillText'](_0x1641a8,_0x357372,_0x5a3fa5);_0x54dc4d[_0x401195(0x2f6)]();}[_0x4e0a0f(0x3aa)](_0x2ab8f5){const _0x5c17ff=_0x4e0a0f;_0x5b2f04[_0x5c17ff(0x437)](_0x2ab8f5,this);}}const _0x50cfe3=_0x4e0a0f(0x468),_0x140d89='collab-text-range-',_0x5e5c20=_0x4e0a0f(0x378),_0x1ac988=0x6,_0x5e4d8c=1.5,_0x444cdb=0x4,_0x58d0e4=1.5,_0x1f38c6=_0x4e0a0f(0x26f);class _0xfd4ff8{constructor(_0x26d56a,_0x2d569e,_0x5ddc46,_0x1e4e37){const _0xe38f79=_0x4e0a0f;_0x519c33(this,_0xe38f79(0x2fb),[]),_0x519c33(this,'_anchor',null),_0x519c33(this,_0xe38f79(0x1d8),null),_0x519c33(this,'_anchorDot',null),_0x519c33(this,'_hideTimer',null),_0x519c33(this,_0xe38f79(0x2e8),null),(this['_cursor']=_0x26d56a,this[_0xe38f79(0x220)]=_0x2d569e,this[_0xe38f79(0x39a)]=_0x5ddc46,this[_0xe38f79(0x452)]=_0x1e4e37,this[_0xe38f79(0x39d)]());}set[_0x4e0a0f(0x366)](_0x5d25b8){const _0x406d2b=_0x4e0a0f;_0x5d25b8?(this[_0x406d2b(0x240)]&&this[_0x406d2b(0x240)][_0x406d2b(0x2a6)](),this[_0x406d2b(0x1d8)]&&this[_0x406d2b(0x1d8)][_0x406d2b(0x480)]()):(this['_anchorDot']&&this['_anchorDot'][_0x406d2b(0x480)](),this[_0x406d2b(0x1d8)]&&this[_0x406d2b(0x1d8)][_0x406d2b(0x2a6)]());}[_0x4e0a0f(0x3ab)](){const _0x281997=_0x4e0a0f;for(const _0xdbd56f of this[_0x281997(0x2fb)])_0xdbd56f[_0x281997(0x3ab)]();this[_0x281997(0x1d8)]&&this['_textBubble'][_0x281997(0x3ab)](),this['_anchorDot']&&this[_0x281997(0x240)][_0x281997(0x3ab)](),this[_0x281997(0x211)]&&this[_0x281997(0x211)][_0x281997(0x3ab)](),this[_0x281997(0x2e8)]&&this[_0x281997(0x2e8)]();}[_0x4e0a0f(0x39d)](){const _0x3d387d=_0x4e0a0f;var _0x2e4ec6;const {_docSkeleton:_0x11ad8e,_document:_0x4d250e}=this,{color:_0x210acb,name:_0x1f8df0,ranges:_0x4ed052}=this[_0x3d387d(0x24f)],_0xa4484f=_0x4d250e['getOffsetConfig'](),{docsLeft:_0x1055ad,docsTop:_0x66eafc}=_0xa4484f,_0x404205=new _0x2cb679[(_0x3d387d(0x28e))](_0xa4484f,_0x11ad8e);for(const {startOffset:_0x346e3c,endOffset:_0x31c63d,rangeType:_0x3c151e,segmentId:_0x134fbe,segmentPage:_0x5030e0,collapsed:_0x11cafc,isActive:_0x2d1e6a}of _0x4ed052){const _0x4a0383=_0x11ad8e[_0x3d387d(0x391)](_0x346e3c,!0x0,_0x134fbe,_0x5030e0);let _0x47f1e8=_0x11ad8e[_0x3d387d(0x391)](_0x31c63d,!0x0,_0x134fbe,_0x5030e0);if(_0x47f1e8==null&&(_0x47f1e8=_0x11ad8e['findNodePositionByCharIndex'](_0x31c63d-0x1,!0x1,_0x134fbe,_0x5030e0)),_0x2d1e6a){const {contentBoxPointGroup:_0x19feec}=_0x404205[_0x3d387d(0x26a)](_0x47f1e8,_0x47f1e8);if(_0x19feec[_0x3d387d(0x401)]===0x0)continue;this['_drawAnchor'](_0x210acb,_0x19feec,_0x1055ad,_0x66eafc,_0x1f8df0),this[_0x3d387d(0x2e8)]=this['_handleHover']();}if(_0x4a0383&&_0x47f1e8){if(_0x3c151e===_0x3d65d5['DOC_RANGE_TYPE'][_0x3d387d(0x460)]){const _0x25b6b7=new _0x2cb679[(_0x3d387d(0x2c3))](_0xa4484f,_0x11ad8e),{pointGroup:_0x299a4b}=(_0x2e4ec6=_0x25b6b7[_0x3d387d(0x26a)](_0x4a0383,_0x47f1e8))!=null?_0x2e4ec6:{};if(_0x299a4b==null||_0x299a4b['length']===0x0)continue;this[_0x3d387d(0x336)](_0x210acb,_0x299a4b,_0x1055ad,_0x66eafc);}else{if(!_0x11cafc){const {borderBoxPointGroup:_0x511e8d}=_0x404205[_0x3d387d(0x26a)](_0x4a0383,_0x47f1e8);if(_0x511e8d[_0x3d387d(0x401)]===0x0)continue;this['_drawTextRange'](_0x210acb,_0x511e8d,_0x1055ad,_0x66eafc);}}}}}[_0x4e0a0f(0x385)](_0x297fd9,_0x106a33,_0x21d938,_0x1d50e2,_0x192b84){const _0x449a4c=_0x4e0a0f,_0x5738dc=this[_0x449a4c(0x223)](_0x106a33),{left:_0x40880b,top:_0x33f2dd,height:_0xef89e6}=_0x5738dc,_0x3ded9a=this[_0x449a4c(0x2fd)](),_0x386119=_0x58d0e4/_0x3ded9a,_0x3a2580=new _0x48b1a2['Rect'](_0x50cfe3+_0x3d65d5[_0x449a4c(0x448)](_0x1ac988),{'left':_0x40880b+_0x21d938-_0x386119,'top':_0x33f2dd+_0x1d50e2,'height':_0xef89e6,'width':_0x5e4d8c,'fill':_0x297fd9||_0x48b1a2['getColor'](_0x3d65d5[_0x449a4c(0x1b4)][_0x449a4c(0x218)],0x0),'strokeWidth':_0x386119,'stroke':_0x1f38c6,'evented':!0x0});this[_0x449a4c(0x211)]=_0x3a2580,this[_0x449a4c(0x220)]['addObject'](_0x3a2580,_0x2cb679[_0x449a4c(0x474)]);const _0x5e7040=new _0x48b1a2[(_0x449a4c(0x37c))](_0x50cfe3+_0x3d65d5[_0x449a4c(0x448)](_0x1ac988),{'left':_0x40880b+_0x21d938-_0x386119,'top':_0x33f2dd+_0x1d50e2-_0x444cdb/0x2,'height':_0x444cdb,'width':_0x444cdb,'fill':_0x297fd9||_0x48b1a2[_0x449a4c(0x226)](_0x3d65d5[_0x449a4c(0x1b4)][_0x449a4c(0x218)],0x0),'strokeWidth':0x0,'stroke':_0x297fd9||_0x48b1a2[_0x449a4c(0x226)](_0x3d65d5[_0x449a4c(0x1b4)][_0x449a4c(0x218)],0x0),'evented':!0x1});this[_0x449a4c(0x240)]=_0x5e7040,this['_scene'][_0x449a4c(0x25e)](_0x5e7040,_0x2cb679[_0x449a4c(0x474)]);const _0x3114bb=new _0x5b2f04(_0x50cfe3+_0x3d65d5[_0x449a4c(0x448)](_0x1ac988),{'left':_0x40880b+_0x21d938-_0x386119,'top':_0x33f2dd+_0x1d50e2-_0x229689,'text':_0x192b84,'color':_0x297fd9});this['_textBubble']=_0x3114bb,this[_0x449a4c(0x220)][_0x449a4c(0x25e)](_0x3114bb,_0x2cb679[_0x449a4c(0x474)]),this[_0x449a4c(0x366)]=!0x1;}[_0x4e0a0f(0x233)](){const _0x6c5d55=_0x4e0a0f,_0xdecd1a=this[_0x6c5d55(0x211)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x449b9d=_0x6c5d55;this[_0x449b9d(0x366)]=!0x0;}),_0x1537da=this[_0x6c5d55(0x211)][_0x6c5d55(0x36b)]['subscribeEvent'](()=>{const _0x9e337d=_0x6c5d55;this[_0x9e337d(0x331)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x5b3277=_0x9e337d;this[_0x5b3277(0x366)]=!0x1;},0x7d0);});return()=>{const _0x4f6319=_0x6c5d55;_0xdecd1a[_0x4f6319(0x21a)](),_0x1537da['unsubscribe']();};}['_drawTextRange'](_0x1dc43c,_0x2d8e85,_0xca5b7,_0x39ad9d){const _0x5bb810=_0x4e0a0f,_0x27f74b=new _0x3d65d5[(_0x5bb810(0x1aa))](_0x1dc43c)[_0x5bb810(0x3b3)](0.2)[_0x5bb810(0x3e2)](),_0x3c46c0=new _0x48b1a2['RegularPolygon'](_0x140d89+_0x3d65d5[_0x5bb810(0x448)](_0x1ac988),{'pointsGroup':_0x2d8e85,'fill':_0x27f74b||_0x48b1a2[_0x5bb810(0x226)](_0x3d65d5[_0x5bb810(0x1b4)][_0x5bb810(0x218)],0.2),'left':_0xca5b7,'top':_0x39ad9d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5bb810(0x2fb)][_0x5bb810(0x1c3)](_0x3c46c0),this[_0x5bb810(0x220)][_0x5bb810(0x25e)](_0x3c46c0,_0x2cb679[_0x5bb810(0x474)]);}[_0x4e0a0f(0x336)](_0x209ad5,_0x9babd1,_0x4ca6ab,_0x19e0a6){const _0x9044f3=_0x4e0a0f,_0x4073e3=new _0x3d65d5['ColorKit'](_0x209ad5)[_0x9044f3(0x3b3)](0.2)[_0x9044f3(0x3e2)](),_0x448245=new _0x48b1a2[(_0x9044f3(0x428))](_0x5e5c20+_0x3d65d5[_0x9044f3(0x448)](_0x1ac988),{'pointsGroup':_0x9babd1,'fill':_0x4073e3||_0x48b1a2[_0x9044f3(0x226)](_0x3d65d5[_0x9044f3(0x1b4)]['black'],0.2),'left':_0x4ca6ab,'top':_0x19e0a6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x9044f3(0x1c3)](_0x448245),this[_0x9044f3(0x220)][_0x9044f3(0x25e)](_0x448245,_0x2cb679[_0x9044f3(0x474)]);}[_0x4e0a0f(0x223)](_0x906e01){const _0xa09897=_0x906e01[0x0],_0xc870c0=_0xa09897[0x0],_0x3c04fe=_0xa09897[0x2],{x:_0x52b019,y:_0x279e18}=_0xc870c0,{x:_0x3808ca,y:_0x4e6c12}=_0x3c04fe;return{'left':_0x52b019,'top':_0x279e18,'width':_0x3808ca-_0x52b019,'height':_0x4e6c12-_0x279e18};}[_0x4e0a0f(0x2fd)](){const _0x19f7d4=_0x4e0a0f,{scaleX:_0x3581a1,scaleY:_0x2894cf}=this[_0x19f7d4(0x220)]['getAncestorScale']();return Math['max'](_0x3581a1,_0x2894cf);}}var _0x26255b=Object['getOwnPropertyDescriptor'],_0x59857d=(_0x5f4e3b,_0x1894fb,_0x561642,_0x4b5253)=>{for(var _0x1d30bc=_0x4b5253>0x1?void 0x0:_0x4b5253?_0x26255b(_0x1894fb,_0x561642):_0x1894fb,_0x32a53d=_0x5f4e3b['length']-0x1,_0x3d3f37;_0x32a53d>=0x0;_0x32a53d--)(_0x3d3f37=_0x5f4e3b[_0x32a53d])&&(_0x1d30bc=_0x3d3f37(_0x1d30bc)||_0x1d30bc);return _0x1d30bc;},_0x365bd7=(_0x436cb1,_0x1ea3de)=>(_0x4f9972,_0x101563)=>_0x1ea3de(_0x4f9972,_0x101563,_0x436cb1);let _0xfead4d=class extends _0x3d65d5['RxDisposable']{constructor(_0x45f671,_0x5dd99a,_0x5c3a38,_0x1e7cc0,_0x72ddff){const _0x1180bc=_0x4e0a0f;super(),_0x519c33(this,'_cursorShapes',[]),_0x519c33(this,_0x1180bc(0x3f2),[]),(this[_0x1180bc(0x2f5)]=_0x45f671,this[_0x1180bc(0x42b)]=_0x5dd99a,this[_0x1180bc(0x326)]=_0x5c3a38,this[_0x1180bc(0x3cf)]=_0x1e7cc0,this['_themeService']=_0x72ddff,this[_0x1180bc(0x276)]());}['_init'](){const _0x3ba953=_0x4e0a0f,_0x3cdf60=this['_context'][_0x3ba953(0x3c2)],_0x4c4969=this['_docSkeletonManagerService'];this[_0x3ba953(0x38a)](_0x5f36f4[_0x3ba953(0x2ce)]([this[_0x3ba953(0x326)][_0x3ba953(0x28b)](_0x3cdf60),this[_0x3ba953(0x38d)][_0x3ba953(0x387)]])[_0x3ba953(0x2c1)](_0x4c0e1b[_0x3ba953(0x1a8)](([_0x21ed5b,_0x1d526b])=>({'skeleton':_0x4c4969[_0x3ba953(0x42c)](),'cursors':[..._0x21ed5b['values']()][_0x3ba953(0x370)](_0x364fa7=>({..._0x364fa7,'color':this[_0x3ba953(0x38d)][_0x3ba953(0x2e7)](_0x364fa7[_0x3ba953(0x1b6)])}))})))[_0x3ba953(0x364)](_0x125128=>{const _0x8dcf81=_0x3ba953;if(this[_0x8dcf81(0x303)](),_0x125128){const {skeleton:_0x45f7f2,cursors:_0x7a42ea}=_0x125128;this[_0x8dcf81(0x1f2)](_0x45f7f2,_0x7a42ea);}})),this['_initResize'](),this[_0x3ba953(0x2e2)]();}[_0x4e0a0f(0x1f2)](_0x33f740,_0x2dbd05){const _0x2d82a5=_0x4e0a0f,{scene:_0x5356d5,mainComponent:_0x1ecdde}=this['_context'],_0x20287f=_0x2dbd05[_0x2d82a5(0x1a8)](_0x314fb7=>new _0xfd4ff8(_0x314fb7,_0x5356d5,_0x33f740,_0x1ecdde));this[_0x2d82a5(0x3e4)]=_0x20287f,this['_cursors']=_0x2dbd05;}[_0x4e0a0f(0x2d6)](){const _0x33ce00=_0x4e0a0f;this[_0x33ce00(0x303)]();const {scene:_0x409774,mainComponent:_0x52a719}=this[_0x33ce00(0x2f5)],_0xf81a62=this[_0x33ce00(0x42b)][_0x33ce00(0x42c)](),_0x5bb0df=this[_0x33ce00(0x3f2)][_0x33ce00(0x1a8)](_0x89f46f=>new _0xfd4ff8(_0x89f46f,_0x409774,_0xf81a62,_0x52a719));this[_0x33ce00(0x3e4)]=_0x5bb0df;}['_removeCollabCursors'](){const _0x10df7b=_0x4e0a0f;this[_0x10df7b(0x3e4)]['forEach'](_0x56762f=>_0x56762f[_0x10df7b(0x3ab)]()),this['_cursorShapes']=[];}[_0x4e0a0f(0x2e2)](){const _0x2641c8=_0x4e0a0f,_0x3224be=[_0x2cb679['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x2641c8(0x3cf)][_0x2641c8(0x42e)](_0x432e92=>{const _0x22906a=_0x2641c8;_0x3224be['includes'](_0x432e92['id'])&&_0x432e92['params'][_0x22906a(0x3c2)]===this['_context']['unitId']&&this[_0x22906a(0x2d6)]();}));}[_0x4e0a0f(0x3d5)](){const _0x35c78a=_0x4e0a0f;this[_0x35c78a(0x38a)](_0x3d65d5[_0x35c78a(0x34a)](this['_context'][_0x35c78a(0x2e4)]['onTransformChange$'])['pipe'](_0x4c0e1b[_0x35c78a(0x2af)](_0x291202=>_0x291202[_0x35c78a(0x1d3)]===_0x48b1a2[_0x35c78a(0x24e)][_0x35c78a(0x1bd)]),_0x4c0e1b[_0x35c78a(0x3a9)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0xfead4d=_0x59857d([_0x365bd7(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x301e8e['DocSkeletonManagerService'])),_0x365bd7(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x1a8b3b)),_0x365bd7(0x3,_0x3d65d5[_0x4e0a0f(0x1ad)]),_0x365bd7(0x4,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x36f)]))],_0xfead4d);const _0x5e3ed6=0x1,_0x107d1c=1.5;class _0x4e0ebf extends _0x48b1a2[_0x4e0a0f(0x35b)]{constructor(_0x21d49a,_0x2b6474){const _0x4f905e=_0x4e0a0f;super(_0x21d49a,_0x2b6474),_0x519c33(this,_0x4f905e(0x3c4)),_0x519c33(this,_0x4f905e(0x464),!0x1),_0x519c33(this,_0x4f905e(0x32a)),_0x519c33(this,_0x4f905e(0x33c),''),_0x519c33(this,'_labelPosition','top'),_0x519c33(this,'_backgroundColor'),(_0x2b6474&&this[_0x4f905e(0x1da)](_0x2b6474),this[_0x4f905e(0x3df)]['subscribeEvent'](()=>this[_0x4f905e(0x1da)]({'hovered':!0x0})),this[_0x4f905e(0x36b)][_0x4f905e(0x294)](()=>this[_0x4f905e(0x1da)]({'hovered':!0x1})));}[_0x4e0a0f(0x1da)](_0x5b8d5d){const _0x3f2d38=_0x4e0a0f;var _0x1e8cd3,_0x5942bb,_0x212275,_0x419560,_0x163f37,_0x2bdbdd;this[_0x3f2d38(0x3c4)]=(_0x1e8cd3=_0x5b8d5d[_0x3f2d38(0x1b6)])!=null?_0x1e8cd3:this[_0x3f2d38(0x3c4)],this['_hovered']=(_0x5942bb=_0x5b8d5d['hovered'])!=null?_0x5942bb:this['_hovered'],this['_range']=(_0x212275=_0x5b8d5d[_0x3f2d38(0x2b7)])!=null?_0x212275:this['_range'],this[_0x3f2d38(0x33c)]=(_0x419560=_0x5b8d5d[_0x3f2d38(0x483)])!=null?_0x419560:this[_0x3f2d38(0x33c)],this[_0x3f2d38(0x31a)]=(_0x163f37=_0x5b8d5d['labelPosition'])!=null?_0x163f37:this[_0x3f2d38(0x31a)],this[_0x3f2d38(0x393)]=(_0x2bdbdd=_0x5b8d5d[_0x3f2d38(0x2ee)])!=null?_0x2bdbdd:this[_0x3f2d38(0x393)],this[_0x3f2d38(0x2a0)]({'width':_0x5b8d5d[_0x3f2d38(0x1c9)],'height':_0x5b8d5d[_0x3f2d38(0x2c8)]});}[_0x4e0a0f(0x249)](_0x217cd2){const _0x3ddaba=_0x4e0a0f,{row:_0x53b230,column:_0x10a715}=_0x217cd2;if(_0x53b230>=this[_0x3ddaba(0x32a)][_0x3ddaba(0x2e1)]&&_0x53b230<=this['_range']['endRow']&&_0x10a715>=this['_range'][_0x3ddaba(0x3fc)]&&_0x10a715<=this['_range'][_0x3ddaba(0x345)]){this[_0x3ddaba(0x1da)]({'hovered':!0x0});return;}this[_0x3ddaba(0x1da)]({'hovered':!0x1});}[_0x4e0a0f(0x2cd)](_0x1bb40c){return!0x1;}[_0x4e0a0f(0x3aa)](_0x1b62c7){const _0xedfae3=_0x4e0a0f;_0x48b1a2[_0xedfae3(0x37c)][_0xedfae3(0x437)](_0x1b62c7,{'width':this[_0xedfae3(0x1c9)],'height':this['height'],'strokeWidth':_0x107d1c,'stroke':this[_0xedfae3(0x3c4)],'evented':!0x1,'fill':this[_0xedfae3(0x393)]}),this['_hovered']&&(_0x1b62c7['save'](),_0x1b62c7['transform'](0x1,0x0,0x0,0x1,this[_0xedfae3(0x1c9)],this[_0xedfae3(0x31a)]==='bottom'?0x0:-_0x229689),_0x5b2f04[_0xedfae3(0x437)](_0x1b62c7,{'text':this['_name'],'color':this[_0xedfae3(0x3c4)]}),_0x1b62c7[_0xedfae3(0x2f6)]());}}var _0xc88733=Object[_0x4e0a0f(0x373)],_0x2dcaa0=(_0x4e4f77,_0x3fee74,_0x277880,_0x25f177)=>{const _0x4f8af3=_0x4e0a0f;for(var _0x314c19=_0x25f177>0x1?void 0x0:_0x25f177?_0xc88733(_0x3fee74,_0x277880):_0x3fee74,_0x5293a5=_0x4e4f77[_0x4f8af3(0x401)]-0x1,_0x42f1bf;_0x5293a5>=0x0;_0x5293a5--)(_0x42f1bf=_0x4e4f77[_0x5293a5])&&(_0x314c19=_0x42f1bf(_0x314c19)||_0x314c19);return _0x314c19;},_0x4962e8=(_0x1a265d,_0xae2b27)=>(_0xf2da3d,_0x4ea7f9)=>_0xae2b27(_0xf2da3d,_0x4ea7f9,_0x1a265d);const _0x175c5c=0x1389;let _0x1d6ca3=class extends _0x3d65d5['RxDisposable']{constructor(_0xf84033,_0x2bec21,_0x118adf,_0x5db567){const _0x48c101=_0x4e0a0f;super(),_0x519c33(this,'_cursors',new Set()),_0x519c33(this,'_lastPointer',null),(this[_0x48c101(0x2f5)]=_0xf84033,this['_sheetSkeletonManagerService']=_0x2bec21,this['_collabCursorController']=_0x118adf,this[_0x48c101(0x38d)]=_0x5db567,this[_0x48c101(0x276)]());}['_init'](){const _0x191eae=_0x4e0a0f;this[_0x191eae(0x416)][_0x191eae(0x453)][_0x191eae(0x2c1)](_0x4c0e1b['takeUntil'](this[_0x191eae(0x33b)]),_0x4c0e1b[_0x191eae(0x461)](_0x35e4e5=>{const _0x475256=_0x191eae;if(_0x35e4e5){const _0x49cf66=_0x35e4e5[_0x475256(0x358)];return _0x5f36f4[_0x475256(0x2ce)](this['_collabCursorController'][_0x475256(0x28b)](this[_0x475256(0x2f5)][_0x475256(0x3c2)]),this[_0x475256(0x38d)][_0x475256(0x387)])['pipe'](_0x4c0e1b[_0x475256(0x1a8)](([_0x13985c,_0x2dc93b])=>{const _0x42054f=_0x475256,_0x2e3b85=new Map();return _0x13985c[_0x42054f(0x3e9)]((_0x13cf6a,_0x29cc33)=>{const _0x9e0d3c=_0x42054f;if(_0x13cf6a[_0x9e0d3c(0x406)]===_0x49cf66){const _0xdc32df={..._0x13cf6a};_0xdc32df['color']=this['_themeService'][_0x9e0d3c(0x2e7)](_0x13cf6a[_0x9e0d3c(0x1b6)]),_0x2e3b85[_0x9e0d3c(0x33d)](_0x29cc33,_0xdc32df);}}),{'skeleton':_0x35e4e5,'cursors':_0x2e3b85};}));}return _0x5f36f4['of']({'skeleton':null,'cursors':new Map()});}))[_0x191eae(0x364)](({skeleton:_0x52ed5c,cursors:_0x57fb67})=>{const _0x3efb50=_0x191eae;this[_0x3efb50(0x303)](),_0x52ed5c&&this[_0x3efb50(0x1f2)](_0x52ed5c,_0x57fb67);}),this[_0x191eae(0x416)][_0x191eae(0x453)][_0x191eae(0x364)](_0x53163b=>{const _0x58683b=_0x191eae;if(_0x53163b==null)return;const {skeleton:_0x32c0bd}=_0x53163b,{scene:_0xc0e01f}=this[_0x58683b(0x2f5)];_0xc0e01f[_0x58683b(0x3a3)][_0x58683b(0x294)](_0x3d65d5[_0x58683b(0x469)](_0x2258f1=>{const _0x26edf5=_0x58683b;var _0x435fd4,_0x1c8834;const {offsetX:_0x57506b,offsetY:_0x3d5511}=_0x2258f1,{x:_0x3395e7,y:_0x17ed66}=_0xc0e01f[_0x26edf5(0x405)](_0x48b1a2['Vector2'][_0x26edf5(0x298)]([_0x57506b,_0x3d5511])),{scaleX:_0xf32260,scaleY:_0x5275a1}=_0xc0e01f['getAncestorScale'](),_0x149ca4=_0xc0e01f['getViewport'](_0x48b1a2[_0x26edf5(0x295)][_0x26edf5(0x3dd)]),_0x18cc8c=_0xc0e01f['getVpScrollXYInfoByPosToVp'](_0x48b1a2[_0x26edf5(0x2e9)][_0x26edf5(0x298)]([_0x3395e7,_0x17ed66]),_0x149ca4),_0x3d9cd4=_0x32c0bd['getCellPositionByOffset'](_0x57506b,_0x3d5511,_0xf32260,_0x5275a1,_0x18cc8c);((_0x435fd4=this[_0x26edf5(0x39f)])==null?void 0x0:_0x435fd4['column'])===_0x3d9cd4[_0x26edf5(0x26c)]&&((_0x1c8834=this[_0x26edf5(0x39f)])==null?void 0x0:_0x1c8834[_0x26edf5(0x394)])===_0x3d9cd4[_0x26edf5(0x394)]||this['_cursors']['forEach'](_0x3ec7e7=>{const _0x877422=_0x26edf5;_0x3ec7e7[_0x877422(0x249)](_0x3d9cd4);});},0x64));});}['_updateCollabCursors'](_0x3e7040,_0x1e7e61){const _0x266c8e=_0x4e0a0f;var _0x1d9c98;const _0x5dbe7b=(_0x1d9c98=this[_0x266c8e(0x416)]['getCurrent']())==null?void 0x0:_0x1d9c98[_0x266c8e(0x408)];if(!_0x5dbe7b)return;const _0xbac28f=this['_getSheetObject']();if(!_0xbac28f)return;this[_0x266c8e(0x3f2)][_0x266c8e(0x3e9)](_0x123c4b=>{const _0x2ac356=_0x266c8e;_0x123c4b[_0x2ac356(0x3d0)]();});const {scene:_0x3fe52a}=_0xbac28f,_0x383d25=_0x5c2cdd(Array['from'](_0x1e7e61[_0x266c8e(0x3f8)]()))[_0x266c8e(0x1a8)](_0x2f12ba=>{const _0x4ad135=_0x266c8e,{color:_0x5020a3,range:_0x24eb5a,name:_0x22ffee,selection:_0x1c2090,sheetID:_0x27317e}=_0x2f12ba,{startColumn:_0x727c3d,startRow:_0x3f0cfd,endColumn:_0x1a740e,endRow:_0x28ced7}=_0x24eb5a,_0x2841b3=_0x5df617[_0x4ad135(0x352)](_0x3f0cfd,_0x727c3d,_0x3fe52a,_0x5dbe7b),_0x411673=_0x5df617['getCoordByCell'](_0x28ced7,_0x1a740e,_0x3fe52a,_0x5dbe7b),{columnHeaderHeightAndMarginTop:_0x59223f}=_0x5dbe7b,{startX:_0x365eed,startY:_0x444040}=_0x2841b3,{endX:_0x5e74fa,endY:_0x288379}=_0x411673,_0x2e5590=_0x5e74fa-_0x365eed,_0x48a703=_0x288379-_0x444040,_0x232fe0={'labelPosition':_0x444040-_0x59223f>=_0x229689?'top':_0x4ad135(0x41b),'sheetID':_0x27317e,'range':_0x24eb5a,'color':_0x5020a3,'name':_0x22ffee,'selection':_0x1c2090,'left':_0x365eed,'top':_0x444040,'width':_0x2e5590,'height':_0x48a703,'evented':!0x1,'zIndex':_0x175c5c};return new _0x4e0ebf(_0x22ffee,_0x232fe0);});_0x3fe52a[_0x266c8e(0x43b)](_0x383d25,_0x5e3ed6),this[_0x266c8e(0x3f2)]=new Set(_0x383d25);}[_0x4e0a0f(0x303)](){const _0x869132=_0x4e0a0f;var _0x4f37de;(_0x4f37de=this[_0x869132(0x3f2)])==null||_0x4f37de[_0x869132(0x3e9)](_0x14403a=>_0x14403a['dispose']());}[_0x4e0a0f(0x296)](){const _0xb2ef1b=_0x4e0a0f;return _0x5df617[_0xb2ef1b(0x3dc)](this['_context'][_0xb2ef1b(0x3f1)],this['_context']);}};_0x1d6ca3=_0x2dcaa0([_0x4962e8(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x5df617[_0x4e0a0f(0x488)])),_0x4962e8(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x1a8b3b)),_0x4962e8(0x3,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5['ThemeService']))],_0x1d6ca3);function _0x5c2cdd(_0x4321fa){const _0x148863=_0x4e0a0f,_0x5bafbc=new Map();return _0x4321fa[_0x148863(0x3e9)](_0xedc922=>{const _0x1e19ba=_0x148863;if(_0x5bafbc[_0x1e19ba(0x41e)](_0xedc922['selection'])){const _0x43e345=_0x5bafbc['get'](_0xedc922[_0x1e19ba(0x369)]);_0x43e345[_0x1e19ba(0x483)]+=',\x20'+_0xedc922[_0x1e19ba(0x483)];}else _0x5bafbc['set'](_0xedc922[_0x1e19ba(0x369)],_0xedc922);}),Array['from'](_0x5bafbc['values']());}var _0x53e8c5=Object[_0x4e0a0f(0x373)],_0x327629=(_0x53b00b,_0x2a21d1,_0x4f1263,_0x54e75d)=>{const _0x19b78f=_0x4e0a0f;for(var _0x2bfe38=_0x54e75d>0x1?void 0x0:_0x54e75d?_0x53e8c5(_0x2a21d1,_0x4f1263):_0x2a21d1,_0x21ec8a=_0x53b00b[_0x19b78f(0x401)]-0x1,_0x54aea7;_0x21ec8a>=0x0;_0x21ec8a--)(_0x54aea7=_0x53b00b[_0x21ec8a])&&(_0x2bfe38=_0x54aea7(_0x2bfe38)||_0x2bfe38);return _0x2bfe38;},_0x41f273=(_0x1df008,_0x8b95a8)=>(_0x1acd1f,_0x196940)=>_0x8b95a8(_0x1acd1f,_0x196940,_0x1df008);let _0x339ee0=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0xee6945,_0x169b84,_0x91797e,_0x396621,_0x4d860e,_0x331c3c){const _0x2e1891=_0x4e0a0f;super(),this[_0x2e1891(0x24a)]=_0xee6945,this['_localCacheService']=_0x169b84,this[_0x2e1891(0x407)]=_0x91797e,this[_0x2e1891(0x231)]=_0x396621,this[_0x2e1891(0x3e3)]=_0x4d860e,this['_localeService']=_0x331c3c,this[_0x2e1891(0x1b8)](),this[_0x2e1891(0x42f)]();}['_setupBeforeClosingHandler'](){const _0x32158e=_0x4e0a0f;this[_0x32158e(0x38a)](this[_0x32158e(0x24a)][_0x32158e(0x2b9)](()=>{const _0x35a23c=_0x32158e;if(this[_0x35a23c(0x279)][_0x35a23c(0x247)][_0x35a23c(0x282)])return this['_localeService']['t']('collaboration.offline-data-not-saved');}));}[_0x4e0a0f(0x42f)](){const _0x471f39=_0x4e0a0f;this['disposeWithMe'](this[_0x471f39(0x407)]['event$'][_0x471f39(0x364)](_0x3983b2=>{const _0xd47893=_0x471f39;_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)]['OTHER_CLIENT_EDITING']&&this[_0xd47893(0x231)]['show']({'type':_0x225058[_0xd47893(0x3bc)][_0xd47893(0x21f)],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x471))}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x2ed)]&&this[_0xd47893(0x231)][_0xd47893(0x480)]({'type':_0x225058[_0xd47893(0x3bc)]['Warning'],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x28f))}),_0x3983b2['id']===_0x12afa3['CollaborationUIEventId'][_0xd47893(0x23a)]&&this[_0xd47893(0x3e3)][_0xd47893(0x480)]({'title':this[_0xd47893(0x354)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0xd47893(0x212),'duration':0x0}),_0x3983b2['id']===_0x12afa3['CollaborationUIEventId'][_0xd47893(0x302)]&&this[_0xd47893(0x231)][_0xd47893(0x480)]({'type':_0x225058[_0xd47893(0x3bc)][_0xd47893(0x47a)],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x28f))+'('+_0x3983b2['data']+')'}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x353)]&&this[_0xd47893(0x231)]['show']({'type':_0x225058[_0xd47893(0x3bc)][_0xd47893(0x21f)],'content':this[_0xd47893(0x354)]['t'](_0x3983b2[_0xd47893(0x3fb)]||'')}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x1cf)]&&this[_0xd47893(0x231)][_0xd47893(0x480)]({'type':_0x225058['MessageType']['Warning'],'content':this[_0xd47893(0x354)]['t']('session.will-retry')}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x3ce)]&&this[_0xd47893(0x231)][_0xd47893(0x480)]({'type':_0x225058[_0xd47893(0x3bc)][_0xd47893(0x47a)],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x32e))}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x315)]&&this['_messageService'][_0xd47893(0x480)]({'type':_0x225058[_0xd47893(0x3bc)]['Error'],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x40b))});}));}};_0x339ee0=_0x327629([_0x41f273(0x0,_0x47f27f[_0x4e0a0f(0x348)]),_0x41f273(0x1,_0x12afa3[_0x4e0a0f(0x207)]),_0x41f273(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3[_0x4e0a0f(0x1e2)])),_0x41f273(0x3,_0x47f27f['IMessageService']),_0x41f273(0x4,_0x47f27f[_0x4e0a0f(0x3e7)]),_0x41f273(0x5,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x1ec)]))],_0x339ee0);var _0x26fda9=Object[_0x4e0a0f(0x373)],_0x1ac167=(_0x2bfd31,_0x3f7882,_0x368891,_0x2f4dda)=>{const _0x2565cc=_0x4e0a0f;for(var _0x11d2ad=_0x2f4dda>0x1?void 0x0:_0x2f4dda?_0x26fda9(_0x3f7882,_0x368891):_0x3f7882,_0x48bd73=_0x2bfd31[_0x2565cc(0x401)]-0x1,_0x26e69e;_0x48bd73>=0x0;_0x48bd73--)(_0x26e69e=_0x2bfd31[_0x48bd73])&&(_0x11d2ad=_0x26e69e(_0x11d2ad)||_0x11d2ad);return _0x11d2ad;},_0xd4ca7a=(_0x4404de,_0x41ee42)=>(_0x1682de,_0x13078e)=>_0x41ee42(_0x1682de,_0x13078e,_0x4404de);let _0xf7fe1c=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0x53b494,_0x61bab8,_0x3044d3,_0x1ccc90){const _0x515e38=_0x4e0a0f;super(),_0x519c33(this,_0x515e38(0x30e)),(this[_0x515e38(0x458)]=_0x53b494,this[_0x515e38(0x48e)]=_0x61bab8,this[_0x515e38(0x376)]=_0x3044d3,this[_0x515e38(0x2a1)]=_0x1ccc90,this['_init']());}[_0x4e0a0f(0x276)](){const _0x2839e8=_0x4e0a0f;this[_0x2839e8(0x1af)](),this[_0x2839e8(0x29b)](),this[_0x2839e8(0x20f)](),this[_0x2839e8(0x300)]();}['_initUserListener'](){const _0x559c07=_0x4e0a0f;this[_0x559c07(0x38a)](this[_0x559c07(0x2a1)][_0x559c07(0x2db)][_0x559c07(0x364)](_0x807ae7=>{const _0x31b25e=_0x559c07;this['_memberID']=_0x807ae7==null?void 0x0:_0x807ae7[_0x31b25e(0x367)];}));}[_0x4e0a0f(0x1af)](){const _0x405b78=_0x4e0a0f,_0x1b3974=_0x1f367c=>{const _0x590656=_0x2815;var _0x2472e6;this[_0x590656(0x374)]('error',_0x590656(0x2f1)+_0x1f367c[_0x590656(0x208)]+'\x20at\x20'+_0x1f367c[_0x590656(0x1b1)]+':'+_0x1f367c[_0x590656(0x219)]+':'+_0x1f367c['colno']+'\x0a'+(((_0x2472e6=_0x1f367c[_0x590656(0x212)])==null?void 0x0:_0x2472e6['stack'])||''));};window[_0x405b78(0x1d5)](_0x405b78(0x212),_0x1b3974),this[_0x405b78(0x38a)](()=>{const _0x1bb6ac=_0x405b78;window['removeEventListener'](_0x1bb6ac(0x212),_0x1b3974);});}[_0x4e0a0f(0x29b)](){const _0x3ab10b=_0x4e0a0f,_0x52878e=_0xeeee49=>{const _0x24d04c=_0x2815;this[_0x24d04c(0x374)](_0x24d04c(0x212),_0x24d04c(0x287)+_0xeeee49[_0x24d04c(0x25a)]);};window[_0x3ab10b(0x1d5)](_0x3ab10b(0x2a2),_0x52878e),this[_0x3ab10b(0x38a)](()=>{const _0xe57236=_0x3ab10b;window[_0xe57236(0x1b5)]('unhandledrejection',_0x52878e);});}['_monkeyPatchLogService'](){const _0x803a68=_0x4e0a0f,_0x78fab3=this[_0x803a68(0x376)][_0x803a68(0x212)][_0x803a68(0x2bc)](this[_0x803a68(0x376)]);this[_0x803a68(0x376)][_0x803a68(0x212)]=(..._0x2aefef)=>{const _0x243de8=_0x803a68,_0x598baa=_0x2aefef[_0x243de8(0x1a8)](_0x31dc44=>_0x31dc44 instanceof Error?_0x31dc44[_0x243de8(0x208)]+'\x0a'+_0x31dc44[_0x243de8(0x1a6)]:String(_0x31dc44))[_0x243de8(0x3ca)]('\x20');this[_0x243de8(0x374)]('error',_0x243de8(0x390)+_0x598baa),_0x78fab3(..._0x2aefef);},this[_0x803a68(0x38a)](()=>{const _0x1b4376=_0x803a68;this[_0x1b4376(0x376)][_0x1b4376(0x212)]=_0x78fab3;});}[_0x4e0a0f(0x374)](_0xa18c75,_0x386948){const _0x46cc0e=_0x4e0a0f;try{const _0x5611f0={'userId':this['_memberID'],'logLabel':_0xa18c75,'content':_0x386948};this[_0x46cc0e(0x48e)][_0x46cc0e(0x278)]('/universer-api/frontend/logs',{'body':_0x5611f0})[_0x46cc0e(0x24d)](()=>{});}catch{}}};_0xf7fe1c=_0x1ac167([_0xd4ca7a(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0xd4ca7a(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x280651[_0x4e0a0f(0x37b)])),_0xd4ca7a(0x2,_0x3d65d5[_0x4e0a0f(0x259)]),_0xd4ca7a(0x3,_0x3d65d5['Inject'](_0x12afa3[_0x4e0a0f(0x1e8)]))],_0xf7fe1c);const _0x3f564f='collaboration-client-ui.config',_0x37e97f={};var _0x527e17=Object[_0x4e0a0f(0x373)],_0x464b85=(_0x558aba,_0x83f3e4,_0x29bb5b,_0x55e218)=>{for(var _0x2dde88=_0x55e218>0x1?void 0x0:_0x55e218?_0x527e17(_0x83f3e4,_0x29bb5b):_0x83f3e4,_0x4d6666=_0x558aba['length']-0x1,_0x5dfcf3;_0x4d6666>=0x0;_0x4d6666--)(_0x5dfcf3=_0x558aba[_0x4d6666])&&(_0x2dde88=_0x5dfcf3(_0x2dde88)||_0x2dde88);return _0x2dde88;},_0x1928b2=(_0x23ac35,_0x340749)=>(_0x5e676f,_0x49000f)=>_0x340749(_0x5e676f,_0x49000f,_0x23ac35);let _0x1eb585=class{constructor(_0xdf94ff,_0xbd8260){const _0x3341c1=_0x4e0a0f;this[_0x3341c1(0x242)]=_0xdf94ff,this['_renderManagerService']=_0xbd8260;}[_0x4e0a0f(0x46b)](_0xff9efa){const _0x21288c=_0x4e0a0f;this['_transformUndoRedoStack'](_0xff9efa),this[_0x21288c(0x299)](_0xff9efa);}[_0x4e0a0f(0x21e)](_0x470d66){const _0x1ef232=_0x4e0a0f,{unitID:_0x2bb227}=_0x470d66,_0x4464ec=this[_0x1ef232(0x2e6)][_0x1ef232(0x36e)](_0x2bb227)[_0x1ef232(0x3eb)](_0x2cb679[_0x1ef232(0x2a9)]),{redoCache:_0x4174e4}=_0x4464ec[_0x1ef232(0x3a8)]();if(_0x4174e4[_0x1ef232(0x401)]===0x0)return _0x470d66;let _0x175622=_0x3d65d5[_0x1ef232(0x349)][_0x1ef232(0x41d)](_0x470d66['mutations'][0x0]);for(let _0x517c3e=0x0;_0x517c3e<_0x4174e4[_0x1ef232(0x401)];_0x517c3e++){const _0x19ed5b={'id':'doc.mutation.rich-text-editing','params':{..._0x4174e4[_0x517c3e]}},_0x321c3b=this[_0x1ef232(0x242)][_0x1ef232(0x1fe)](_0x175622,_0x19ed5b,!0x1);if(_0x36b4bf[_0x1ef232(0x43e)](_0x321c3b))throw _0x321c3b['error'];_0x175622=_0x321c3b[_0x1ef232(0x25b)];}return{..._0x3d65d5[_0x1ef232(0x349)][_0x1ef232(0x41d)](_0x470d66),'mutations':[_0x175622]};}[_0x4e0a0f(0x415)](_0x336a8a){const _0x2f4d78=_0x4e0a0f,{unitID:_0x33acd9}=_0x336a8a,_0x35e715=this[_0x2f4d78(0x2e6)][_0x2f4d78(0x36e)](_0x33acd9)[_0x2f4d78(0x3eb)](_0x2cb679['DocIMEInputManagerService']),{undoCache:_0x25f1ba,redoCache:_0x38f5d8}=_0x35e715[_0x2f4d78(0x3a8)]();if(_0x25f1ba[_0x2f4d78(0x401)]===0x0||_0x38f5d8['length']===0x0)return;const _0x420be7=[],_0x52d684=[];let _0x2d4872=_0x3d65d5['Tools'][_0x2f4d78(0x41d)](_0x336a8a[_0x2f4d78(0x2aa)][0x0]),_0xeb619a=_0x3d65d5[_0x2f4d78(0x349)]['deepClone'](_0x336a8a[_0x2f4d78(0x2aa)][0x0]);for(let _0x59e957=_0x25f1ba[_0x2f4d78(0x401)]-0x1;_0x59e957>=0x0;_0x59e957--){const _0x2dcb1f={'id':_0x2f4d78(0x397),'params':{..._0x25f1ba[_0x59e957]}},_0x588ccd={'id':_0x2f4d78(0x397),'params':{..._0x38f5d8[_0x59e957]}},_0x49a42c=this['_transformService'][_0x2f4d78(0x1fe)](_0x2d4872,_0x2dcb1f,!0x1),_0x1efd1d=this[_0x2f4d78(0x242)][_0x2f4d78(0x1fe)](_0xeb619a,_0x588ccd,!0x1);if(_0x36b4bf[_0x2f4d78(0x43e)](_0x49a42c))throw _0x49a42c['error'];if(_0x36b4bf['isTransformMutationFailure'](_0x1efd1d))throw _0x1efd1d[_0x2f4d78(0x212)];_0x420be7['unshift'](_0x49a42c['m2Prime'][_0x2f4d78(0x344)]),_0x52d684[_0x2f4d78(0x2f0)](_0x1efd1d[_0x2f4d78(0x328)][_0x2f4d78(0x344)]),_0x2d4872=_0x49a42c['m1Prime'],_0xeb619a=_0x1efd1d[_0x2f4d78(0x25b)];}_0x35e715[_0x2f4d78(0x3d6)]({'undoCache':_0x420be7,'redoCache':_0x52d684});}[_0x4e0a0f(0x299)](_0x19dfd8){const _0x40929f=_0x4e0a0f,{unitID:_0x5319af}=_0x19dfd8,_0x1ed597=this[_0x40929f(0x2e6)][_0x40929f(0x36e)](_0x5319af)['with'](_0x2cb679[_0x40929f(0x2a9)]),_0x14bdec=_0x1ed597[_0x40929f(0x268)]();if(_0x14bdec==null)return;const _0x2639f9=[{'id':_0x40929f(0x397),'params':{'unitId':_0x19dfd8[_0x40929f(0x2b4)],'actions':null,'textRanges':[_0x14bdec]}}],_0x5e16af=this[_0x40929f(0x242)]['transformMutationsWithChangeset'](_0x19dfd8,_0x2639f9);if(!_0x36b4bf[_0x40929f(0x2d2)](_0x5e16af))throw _0x5e16af[_0x40929f(0x212)];const _0x20bec8=_0x5e16af[_0x40929f(0x328)][0x0]['params']['textRanges'];Array['isArray'](_0x20bec8)&&_0x20bec8[_0x40929f(0x401)]&&_0x1ed597[_0x40929f(0x26d)](_0x20bec8[0x0]);}};_0x1eb585=_0x464b85([_0x1928b2(0x0,_0x36b4bf['ITransformService']),_0x1928b2(0x1,_0x48b1a2[_0x4e0a0f(0x3ee)])],_0x1eb585);var _0x2923c1=Object[_0x4e0a0f(0x373)],_0x182e85=(_0xe56df6,_0x57db74,_0x2311c6,_0x42f970)=>{for(var _0x41b720=_0x42f970>0x1?void 0x0:_0x42f970?_0x2923c1(_0x57db74,_0x2311c6):_0x57db74,_0x3b7194=_0xe56df6['length']-0x1,_0x46a130;_0x3b7194>=0x0;_0x3b7194--)(_0x46a130=_0xe56df6[_0x3b7194])&&(_0x41b720=_0x46a130(_0x41b720)||_0x41b720);return _0x41b720;},_0x326ca9=(_0xce25fb,_0x4ea6ed)=>(_0x593560,_0x350f8d)=>_0x4ea6ed(_0x593560,_0x350f8d,_0xce25fb);let _0x558573=class{constructor(_0x1493fb,_0x46ce62,_0x4a6565){const _0x37c7a7=_0x4e0a0f;this[_0x37c7a7(0x458)]=_0x1493fb,this['_transformService']=_0x46ce62,this[_0x37c7a7(0x2e3)]=_0x4a6565;}[_0x4e0a0f(0x422)](_0x1f5845){const _0x34377b=_0x4e0a0f;this[_0x34377b(0x32c)](_0x1f5845);}['transformRemoteChangeset'](_0x27ed08){const _0x3a50af=_0x4e0a0f,{unitID:_0x33e9ac}=_0x27ed08,{collaboration:_0x271691}=this['_docStateChangeManagerService'][_0x3a50af(0x341)](_0x33e9ac);if(_0x271691[_0x3a50af(0x401)]===0x0)return _0x27ed08;let _0x39d8a5=_0x3d65d5['Tools'][_0x3a50af(0x41d)](_0x27ed08[_0x3a50af(0x2aa)][0x0]);for(let _0x416478=0x0;_0x416478<_0x271691[_0x3a50af(0x401)];_0x416478++){const _0x591781={'id':_0x3a50af(0x397),'params':{'unitId':_0x271691[_0x416478][_0x3a50af(0x3c2)],..._0x271691[_0x416478][_0x3a50af(0x3b4)]}},_0x49c19a=this[_0x3a50af(0x242)][_0x3a50af(0x1fe)](_0x39d8a5,_0x591781,!0x1);if(_0x36b4bf[_0x3a50af(0x43e)](_0x49c19a))throw _0x49c19a[_0x3a50af(0x212)];_0x39d8a5=_0x49c19a[_0x3a50af(0x25b)];}return{..._0x3d65d5[_0x3a50af(0x349)][_0x3a50af(0x41d)](_0x27ed08),'mutations':[_0x39d8a5]};}[_0x4e0a0f(0x32c)](_0x1a40d2){const _0x423c07=_0x4e0a0f,{unitID:_0x17ac4b}=_0x1a40d2,{history:_0xf698af,collaboration:_0x214cfd}=this[_0x423c07(0x2e3)][_0x423c07(0x341)](_0x17ac4b);if(_0xf698af[_0x423c07(0x401)]===0x0&&_0x214cfd[_0x423c07(0x401)]===0x0)return;const _0x4626bf=[],_0x3913bc=[];let _0x596c00=_0x3d65d5[_0x423c07(0x349)][_0x423c07(0x41d)](_0x1a40d2[_0x423c07(0x2aa)][0x0]),_0x2c1f4c=_0x3d65d5[_0x423c07(0x349)][_0x423c07(0x41d)](_0x1a40d2[_0x423c07(0x2aa)][0x0]);for(let _0x89dc7e=_0xf698af['length']-0x1;_0x89dc7e>=0x0;_0x89dc7e--){const _0x3946cf={'id':_0x423c07(0x397),'params':{'unitId':_0xf698af[_0x89dc7e][_0x423c07(0x3c2)],..._0xf698af[_0x89dc7e][_0x423c07(0x1fa)]}},_0x1535ea={'id':_0x423c07(0x397),'params':{'unitId':_0xf698af[_0x89dc7e][_0x423c07(0x3c2)],..._0xf698af[_0x89dc7e][_0x423c07(0x3b4)]}},_0x1b1021=this[_0x423c07(0x242)]['transformMutation'](_0x596c00,_0x3946cf,!0x1),_0x2a1a91=this[_0x423c07(0x242)][_0x423c07(0x1fe)](_0x2c1f4c,_0x1535ea,!0x1);if(_0x36b4bf['isTransformMutationFailure'](_0x1b1021))throw _0x1b1021[_0x423c07(0x212)];if(_0x36b4bf['isTransformMutationFailure'](_0x2a1a91))throw _0x2a1a91[_0x423c07(0x212)];_0x4626bf['unshift']({..._0xf698af[_0x89dc7e],'undoState':_0x1b1021[_0x423c07(0x328)][_0x423c07(0x344)],'redoState':_0x2a1a91[_0x423c07(0x328)][_0x423c07(0x344)]}),_0x596c00=_0x1b1021[_0x423c07(0x25b)],_0x2c1f4c=_0x2a1a91[_0x423c07(0x25b)];}_0x596c00=_0x3d65d5[_0x423c07(0x349)][_0x423c07(0x41d)](_0x1a40d2[_0x423c07(0x2aa)][0x0]),_0x2c1f4c=_0x3d65d5[_0x423c07(0x349)][_0x423c07(0x41d)](_0x1a40d2['mutations'][0x0]);for(let _0x4920a4=_0x214cfd[_0x423c07(0x401)]-0x1;_0x4920a4>=0x0;_0x4920a4--){const _0x4ec906={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x214cfd[_0x4920a4][_0x423c07(0x3c2)],..._0x214cfd[_0x4920a4][_0x423c07(0x1fa)]}},_0x1951c3={'id':_0x423c07(0x397),'params':{'unitId':_0x214cfd[_0x4920a4][_0x423c07(0x3c2)],..._0x214cfd[_0x4920a4][_0x423c07(0x3b4)]}},_0x337735=this[_0x423c07(0x242)][_0x423c07(0x1fe)](_0x596c00,_0x4ec906,!0x1),_0x5d158d=this[_0x423c07(0x242)][_0x423c07(0x1fe)](_0x2c1f4c,_0x1951c3,!0x1);if(_0x36b4bf[_0x423c07(0x43e)](_0x337735))throw _0x337735['error'];if(_0x36b4bf[_0x423c07(0x43e)](_0x5d158d))throw _0x5d158d[_0x423c07(0x212)];_0x3913bc[_0x423c07(0x2f0)]({..._0x214cfd[_0x4920a4],'undoState':_0x337735[_0x423c07(0x328)][_0x423c07(0x344)],'redoState':_0x5d158d['m2Prime'][_0x423c07(0x344)]}),_0x596c00=_0x337735[_0x423c07(0x25b)],_0x2c1f4c=_0x5d158d['m1Prime'];}this[_0x423c07(0x2e3)][_0x423c07(0x3ae)](_0x17ac4b,{'history':_0x4626bf,'collaboration':_0x3913bc});}};_0x558573=_0x182e85([_0x326ca9(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x326ca9(0x1,_0x36b4bf[_0x4e0a0f(0x291)]),_0x326ca9(0x2,_0x3d65d5['Inject'](_0x2cb679[_0x4e0a0f(0x1f8)]))],_0x558573);var _0x7e9132=Object[_0x4e0a0f(0x373)],_0x4e1137=(_0xd93750,_0x4a1443,_0x329482,_0x454a14)=>{for(var _0xc2352f=_0x454a14>0x1?void 0x0:_0x454a14?_0x7e9132(_0x4a1443,_0x329482):_0x4a1443,_0x496cda=_0xd93750['length']-0x1,_0x536889;_0x496cda>=0x0;_0x496cda--)(_0x536889=_0xd93750[_0x496cda])&&(_0xc2352f=_0x536889(_0xc2352f)||_0xc2352f);return _0xc2352f;},_0x334aac=(_0x2e2eb5,_0x48503a)=>(_0x24fbf9,_0x2100a6)=>_0x48503a(_0x24fbf9,_0x2100a6,_0x2e2eb5);let _0x5c5c0d=class{constructor(_0x373e3c,_0x52922e){const _0x446a8c=_0x4e0a0f;this['_injector']=_0x373e3c,this[_0x446a8c(0x242)]=_0x52922e;}[_0x4e0a0f(0x31d)](_0x95bbe9){const _0x22d269=_0x4e0a0f;var _0x2b51c6;const _0x1c116a=this[_0x22d269(0x458)][_0x22d269(0x236)](_0x301e8e[_0x22d269(0x379)]),_0xdb7f60=(_0x2b51c6=_0x1c116a['getDocRanges']())!=null?_0x2b51c6:[];if(_0xdb7f60[_0x22d269(0x401)]===0x0)return;const _0x1f199d=_0x95bbe9[_0x22d269(0x2b4)],_0x4771da=[{'id':_0x22d269(0x397),'params':{'unitId':_0x1f199d,'actions':null,'textRanges':_0xdb7f60}}],_0x1ec251=this['_transformService'][_0x22d269(0x2cc)](_0x95bbe9,_0x4771da);if(!_0x36b4bf['isTransformMutationsWithChangesetSuccess'](_0x1ec251))throw _0x1ec251['error'];const _0x3e58be=_0x1ec251[_0x22d269(0x328)][0x0][_0x22d269(0x344)][_0x22d269(0x350)];Array[_0x22d269(0x3c1)](_0x3e58be)&&_0x3e58be[_0x22d269(0x401)]&&_0x1c116a['replaceDocRanges'](_0x3e58be,{'unitId':_0x1f199d,'subUnitId':_0x1f199d},!0x1);}};_0x5c5c0d=_0x4e1137([_0x334aac(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x334aac(0x1,_0x36b4bf['ITransformService'])],_0x5c5c0d);var _0x16c437=Object[_0x4e0a0f(0x373)],_0x14dc63=(_0x200ca4,_0x54d067,_0x591b8a,_0x53dc07)=>{for(var _0x32fb9c=_0x53dc07>0x1?void 0x0:_0x53dc07?_0x16c437(_0x54d067,_0x591b8a):_0x54d067,_0x32bcc5=_0x200ca4['length']-0x1,_0x21b173;_0x32bcc5>=0x0;_0x32bcc5--)(_0x21b173=_0x200ca4[_0x32bcc5])&&(_0x32fb9c=_0x21b173(_0x32fb9c)||_0x32fb9c);return _0x32fb9c;},_0x3cd264=(_0x380b9b,_0x4c8857)=>(_0x4496ca,_0x241bf8)=>_0x4c8857(_0x4496ca,_0x241bf8,_0x380b9b);let _0x46cecc=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0x5dbcaf,_0x513d47,_0x5f444f,_0x53432b,_0x40d475,_0x5524cc,_0x4d9cc1,_0x190c62){const _0x18d0d3=_0x4e0a0f;super(),_0x519c33(this,'_status$',new _0x5f36f4[(_0x18d0d3(0x426))](_0x12afa3[_0x18d0d3(0x1be)][_0x18d0d3(0x1eb)])),(this[_0x18d0d3(0x2e3)]=_0x5dbcaf,this[_0x18d0d3(0x30b)]=_0x513d47,this[_0x18d0d3(0x2d0)]=_0x5f444f,this['_docTransformStateCacheService']=_0x53432b,this[_0x18d0d3(0x38b)]=_0x40d475,this[_0x18d0d3(0x3d1)]=_0x5524cc,this['_messageService']=_0x4d9cc1,this[_0x18d0d3(0x354)]=_0x190c62,this[_0x18d0d3(0x443)]());}['_initEntityListener'](){const _0x4c4849=_0x4e0a0f;this['disposeWithMe'](this[_0x4c4849(0x30b)][_0x4c4849(0x3e0)]['subscribe'](_0x5dcacc=>{const _0x198a0e=_0x4c4849,_0xbe1b9d=this[_0x198a0e(0x2e3)][_0x198a0e(0x269)][_0x198a0e(0x364)](_0x1652fc=>{const _0x57538d=_0x198a0e;if(_0x1652fc==null)return;const {unitId:_0x3f42b6,redoState:_0xcfbd4a,commandId:_0x47cdad}=_0x1652fc;if(_0x3f42b6!==_0x5dcacc[_0x57538d(0x2b4)])return;const _0x508266={'id':_0x47cdad,'type':_0x3d65d5[_0x57538d(0x404)][_0x57538d(0x289)],'params':{'unitId':_0x3f42b6,'actions':_0xcfbd4a[_0x57538d(0x3c3)],'textRanges':null}};_0x5dcacc['onLocalMutation'](_0x508266);});if(_0x5dcacc[_0x198a0e(0x38a)](_0xbe1b9d),_0x5dcacc instanceof _0x12afa3[_0x198a0e(0x264)]){const _0x59d04b={'onTransformIME':_0x55b7e0=>this[_0x198a0e(0x2d0)][_0x198a0e(0x46b)](_0x55b7e0),'onTransformState':_0x292f40=>this[_0x198a0e(0x325)][_0x198a0e(0x422)](_0x292f40),'onTransformSelections':_0x472032=>this[_0x198a0e(0x38b)]['transformSelections'](_0x472032),'onSyncEditingCollabCursor':_0x2e6c81=>this[_0x198a0e(0x3d1)][_0x198a0e(0x306)](_0x2e6c81),'onTransformRemoteChangesetByIMECache':_0x2119e2=>this[_0x198a0e(0x2d0)][_0x198a0e(0x21e)](_0x2119e2),'onTransformRemoteChangesetByStateCache':_0x2d72b1=>this[_0x198a0e(0x325)][_0x198a0e(0x21e)](_0x2d72b1)};_0x5dcacc['addHandlerCallback'](_0x59d04b);}}));}};_0x46cecc=_0x14dc63([_0x3cd264(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x2cb679[_0x4e0a0f(0x1f8)])),_0x3cd264(0x1,_0x3d65d5['Inject'](_0x12afa3[_0x4e0a0f(0x224)])),_0x3cd264(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x1eb585)),_0x3cd264(0x3,_0x3d65d5['Inject'](_0x558573)),_0x3cd264(0x4,_0x3d65d5['Inject'](_0x5c5c0d)),_0x3cd264(0x5,_0x3d65d5[_0x4e0a0f(0x24b)](_0x58e52d)),_0x3cd264(0x6,_0x47f27f[_0x4e0a0f(0x2ef)]),_0x3cd264(0x7,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x1ec)]))],_0x46cecc);var _0x38be0f=(_0x65eb20=>(_0x65eb20[_0x65eb20[_0x4e0a0f(0x444)]=0x0]=_0x4e0a0f(0x444),_0x65eb20[_0x65eb20['OK']=0x1]='OK',_0x65eb20[_0x65eb20[_0x4e0a0f(0x338)]=0x2]='INTERNAL_ERROR',_0x65eb20[_0x65eb20['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x65eb20[_0x65eb20['NOT_FOUND']=0x4]='NOT_FOUND',_0x65eb20[_0x65eb20[_0x4e0a0f(0x225)]=0x5]=_0x4e0a0f(0x225),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2a8)]=0x6]=_0x4e0a0f(0x2a8),_0x65eb20[_0x65eb20[_0x4e0a0f(0x20d)]=0x7]=_0x4e0a0f(0x20d),_0x65eb20[_0x65eb20['TOO_MANY_REQUESTS']=0x8]=_0x4e0a0f(0x2c4),_0x65eb20[_0x65eb20['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x65eb20[_0x65eb20['LOGIN_FAILED']=0xa]=_0x4e0a0f(0x2ff),_0x65eb20[_0x65eb20[_0x4e0a0f(0x28d)]=0xb]=_0x4e0a0f(0x28d),_0x65eb20[_0x65eb20['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x47c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1e3)]=0xe]=_0x4e0a0f(0x1e3),_0x65eb20[_0x65eb20[_0x4e0a0f(0x1ed)]=0xf]=_0x4e0a0f(0x1ed),_0x65eb20[_0x65eb20[_0x4e0a0f(0x243)]=0x10]=_0x4e0a0f(0x243),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2d9)]=0x64]=_0x4e0a0f(0x2d9),_0x65eb20[_0x65eb20['ERROR_AGAIN']=0x65]=_0x4e0a0f(0x487),_0x65eb20[_0x65eb20[_0x4e0a0f(0x258)]=0xc9]='USER_NOT_FOUND',_0x65eb20[_0x65eb20[_0x4e0a0f(0x297)]=0xca]=_0x4e0a0f(0x297),_0x65eb20[_0x65eb20[_0x4e0a0f(0x210)]=0x1389]=_0x4e0a0f(0x210),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2bb)]=0x1771]=_0x4e0a0f(0x2bb),_0x65eb20[_0x65eb20['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4e0a0f(0x433),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2b5)]=0x1773]=_0x4e0a0f(0x2b5),_0x65eb20[_0x65eb20[_0x4e0a0f(0x410)]=0x1b59]='APPLY_REJECT',_0x65eb20[_0x65eb20[_0x4e0a0f(0x24c)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1b9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x65eb20[_0x65eb20[_0x4e0a0f(0x456)]=0x1b5c]=_0x4e0a0f(0x456),_0x65eb20[_0x65eb20['APPLY_DUPLICATED']=0x1b5d]=_0x4e0a0f(0x3cc),_0x65eb20[_0x65eb20[_0x4e0a0f(0x35c)]=0x1f41]=_0x4e0a0f(0x35c),_0x65eb20[_0x65eb20[_0x4e0a0f(0x334)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x3ed)]=0x232a]=_0x4e0a0f(0x3ed),_0x65eb20[_0x65eb20[_0x4e0a0f(0x449)]=0x232b]=_0x4e0a0f(0x449),_0x65eb20[_0x65eb20[_0x4e0a0f(0x380)]=0x232c]=_0x4e0a0f(0x380),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2ea)]=0x232d]=_0x4e0a0f(0x2ea),_0x65eb20[_0x65eb20['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1e6)]=0x2712]=_0x4e0a0f(0x1e6),_0x65eb20[_0x65eb20[_0x4e0a0f(0x238)]=0x2713]=_0x4e0a0f(0x238),_0x65eb20[_0x65eb20['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4e0a0f(0x322),_0x65eb20[_0x65eb20['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4e0a0f(0x45e),_0x65eb20[_0x65eb20[_0x4e0a0f(0x28a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x436)]=0x271c]=_0x4e0a0f(0x436),_0x65eb20[_0x65eb20[_0x4e0a0f(0x284)]=0x271d]=_0x4e0a0f(0x284),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2fa)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x30c)]=0x271f]=_0x4e0a0f(0x30c),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2d4)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x65eb20[_0x65eb20[_0x4e0a0f(0x285)]=0x2af9]=_0x4e0a0f(0x285),_0x65eb20[_0x65eb20[_0x4e0a0f(0x1ab)]=0x2ee1]=_0x4e0a0f(0x1ab),_0x65eb20[_0x65eb20[_0x4e0a0f(0x250)]=0x2ee2]='INVALID_INVITE_CODE',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1a4)]=0x2ee3]=_0x4e0a0f(0x1a4),_0x65eb20[_0x65eb20[_0x4e0a0f(0x227)]=0x2ee4]=_0x4e0a0f(0x227),_0x65eb20[_0x65eb20[_0x4e0a0f(0x23d)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x65eb20[_0x65eb20['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4e0a0f(0x425),_0x65eb20[_0x65eb20['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4e0a0f(0x442),_0x65eb20[_0x65eb20['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4e0a0f(0x46d),_0x65eb20[_0x65eb20[_0x4e0a0f(0x20e)]=0x36b1]=_0x4e0a0f(0x20e),_0x65eb20[_0x65eb20[_0x4e0a0f(0x201)]=0x36b2]=_0x4e0a0f(0x201),_0x65eb20[_0x65eb20['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x4e0a0f(0x22e),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2b8)]=0x36b4]=_0x4e0a0f(0x2b8),_0x65eb20[_0x65eb20['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x4e0a0f(0x23f),_0x65eb20[_0x65eb20[_0x4e0a0f(0x37f)]=0x36b6]=_0x4e0a0f(0x37f),_0x65eb20[_0x65eb20['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x65eb20[_0x65eb20[_0x4e0a0f(0x413)]=0x36b8]=_0x4e0a0f(0x413),_0x65eb20[_0x65eb20[_0x4e0a0f(0x319)]=0x3715]=_0x4e0a0f(0x319),_0x65eb20[_0x65eb20['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1d0)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x65eb20[_0x65eb20[_0x4e0a0f(0x357)]=0x37dd]=_0x4e0a0f(0x357),_0x65eb20[_0x65eb20['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x65eb20[_0x65eb20[_0x4e0a0f(0x234)]=0x3a9a]=_0x4e0a0f(0x234),_0x65eb20[_0x65eb20['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x4e0a0f(0x3f4),_0x65eb20[_0x65eb20[_0x4e0a0f(0x3ba)]=0x3a9c]=_0x4e0a0f(0x3ba),_0x65eb20[_0x65eb20['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x4e0a0f(0x47f),_0x65eb20[_0x65eb20[_0x4e0a0f(0x3fd)]=0x3a9e]=_0x4e0a0f(0x3fd),_0x65eb20[_0x65eb20[_0x4e0a0f(0x371)]=0x3a9f]=_0x4e0a0f(0x371),_0x65eb20[_0x65eb20['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x4e0a0f(0x429),_0x65eb20[_0x65eb20[_0x4e0a0f(0x3e8)]=-0x1]=_0x4e0a0f(0x3e8),_0x65eb20))(_0x38be0f||{});function _0x44f109(_0x35b485){const _0x32045a=_0x4e0a0f;var _0x15be4c,_0x1c60d7;const _0x1e0712=(_0x15be4c=_0x35b485['stageInfo'])==null?void 0x0:_0x15be4c['stage'],_0x5258a7=((_0x1c60d7=_0x35b485[_0x32045a(0x1c6)])==null?void 0x0:_0x1c60d7[_0x32045a(0x356)])||0x0;return _0x1e0712===_0x5cefe9[_0x32045a(0x398)][_0x32045a(0x411)]&&_0x5258a7>0x0;}function _0x4a7554(_0x5766c6){const _0x14994f=_0x4e0a0f;return _0x5766c6[_0x14994f(0x479)]===_0x5cefe9[_0x14994f(0x314)][_0x14994f(0x2ec)];}var _0x35245e=Object[_0x4e0a0f(0x373)],_0x2d94ea=(_0x300915,_0x1ef095,_0xd1dca4,_0x1d3dba)=>{const _0x5ed0d7=_0x4e0a0f;for(var _0x557836=_0x1d3dba>0x1?void 0x0:_0x1d3dba?_0x35245e(_0x1ef095,_0xd1dca4):_0x1ef095,_0x4596e4=_0x300915[_0x5ed0d7(0x401)]-0x1,_0x3007f6;_0x4596e4>=0x0;_0x4596e4--)(_0x3007f6=_0x300915[_0x4596e4])&&(_0x557836=_0x3007f6(_0x557836)||_0x557836);return _0x557836;},_0x594317=(_0x2c79e3,_0x2f9f02)=>(_0x2a0bb1,_0x3d53b2)=>_0x2f9f02(_0x2a0bb1,_0x3d53b2,_0x2c79e3);const _0x20a23f=_0x4e0a0f(0x355),_0x32c7b0=_0x4e0a0f(0x254),_0x14b31c='/universer-api/license/formula/limit/done';let _0x38bf51=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0xcee4f6,_0x355fd0,_0x54cb38,_0xa276fb,_0x4877cf,_0x374251,_0x52222c){const _0x14fae1=_0x4e0a0f;super(),_0x519c33(this,_0x14fae1(0x3fa),null),_0x519c33(this,_0x14fae1(0x267),0x0),_0x519c33(this,_0x14fae1(0x213),0x0),_0x519c33(this,_0x14fae1(0x305),[]),_0x519c33(this,_0x14fae1(0x217),0x0),(this['_messageService']=_0xcee4f6,this[_0x14fae1(0x3cf)]=_0x355fd0,this[_0x14fae1(0x46e)]=_0x54cb38,this['_httpService']=_0xa276fb,this[_0x14fae1(0x2dc)]=_0x4877cf,this[_0x14fae1(0x376)]=_0x374251,this['_localeService']=_0x52222c,this['_initCommandInterceptor']());}[_0x4e0a0f(0x485)](){const _0x22c359=_0x4e0a0f;this['disposeWithMe'](this['_commandService'][_0x22c359(0x3d9)]((_0x4074cd,_0x547323)=>{const _0x5ca1f2=_0x22c359;var _0xc9681f;if(_0x4074cd['id']!==_0x5cefe9[_0x5ca1f2(0x47d)]['id'])return;const _0x4b832f=_0x4074cd[_0x5ca1f2(0x344)];if(!this[_0x5ca1f2(0x435)]((_0xc9681f=_0x4b832f[_0x5ca1f2(0x3bd)])!=null?_0xc9681f:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x5ca1f2(0x301)](_0x4074cd,_0x547323),this['_showGuardMessage'](),new _0x3d65d5[(_0x5ca1f2(0x3e1))]();})),this['disposeWithMe'](this[_0x22c359(0x3cf)]['onCommandExecuted']((_0x4a15f6,_0xb0eba6)=>{const _0x3ceb78=_0x22c359;if(_0x4a15f6['id']!==_0x5cefe9[_0x3ceb78(0x37e)]['id'])return;const _0x7b3163=_0x4a15f6[_0x3ceb78(0x344)];if(_0x44f109(_0x7b3163)){const _0x206382=_0x3d65d5['generateRandomId']();this[_0x3ceb78(0x305)][_0x3ceb78(0x1c3)](_0x206382),this[_0x3ceb78(0x2f2)](_0x206382);}else{if(_0x4a7554(_0x7b3163)&&this['_taskIds'][_0x3ceb78(0x401)]>0x0){const _0x9a9334=this[_0x3ceb78(0x305)]['shift']();this[_0x3ceb78(0x42a)](_0x9a9334);}}}));}['dispose'](){const _0x5e7e8a=_0x4e0a0f;super[_0x5e7e8a(0x3ab)](),this[_0x5e7e8a(0x375)](),this[_0x5e7e8a(0x305)]=[],this[_0x5e7e8a(0x213)]=0x0,this[_0x5e7e8a(0x267)]=0x0,this[_0x5e7e8a(0x217)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x328715,_0xdb3bb3){const _0x11608c=_0x4e0a0f;for(let _0x249aa7=0x0;_0x249aa7<0x1e;_0x249aa7++)try{if(await this[_0x11608c(0x2c9)](),this['_checkCalculationAvailable']()){this[_0x11608c(0x3f3)](_0x328715,_0xdb3bb3),this[_0x11608c(0x231)]['show']({'content':this[_0x11608c(0x354)]['t'](_0x11608c(0x25d)),'type':_0x225058[_0x11608c(0x3bc)][_0x11608c(0x2f4)]});return;}await new Promise(_0xf4e2c7=>{const _0x1b161d=_0x11608c;this[_0x1b161d(0x3fa)]=window[_0x1b161d(0x3b9)](_0xf4e2c7,0x3e8);});}catch(_0xaca8a0){this[_0x11608c(0x376)][_0x11608c(0x212)](_0xaca8a0);}this[_0x11608c(0x231)][_0x11608c(0x480)]({'content':this[_0x11608c(0x354)]['t'](_0x11608c(0x3f9)),'type':_0x225058[_0x11608c(0x3bc)][_0x11608c(0x47a)]});}[_0x4e0a0f(0x3f3)](_0x20cc13,_0x5a2ace){const _0x269265=_0x4e0a0f;try{this[_0x269265(0x3cf)][_0x269265(0x33a)](_0x20cc13['id'],_0x20cc13[_0x269265(0x344)],_0x5a2ace);}catch(_0x24eaa7){this[_0x269265(0x376)][_0x269265(0x212)](_0x24eaa7);}}[_0x4e0a0f(0x3d3)](_0x334e80,_0x3e55ee){const _0x20a24b=_0x4e0a0f;_0x3e55ee<this['_lastResponseTimestamp']||(this[_0x20a24b(0x217)]=_0x3e55ee,this[_0x20a24b(0x267)]=Number['parseInt'](_0x334e80['maxFormulaLimit']),this[_0x20a24b(0x213)]=Number[_0x20a24b(0x48b)](_0x334e80[_0x20a24b(0x202)]));}async['_startCalculationLimit'](_0x49c401){const _0xfc1586=_0x4e0a0f;var _0x452069,_0x50cb18;const _0x522c59=Date[_0xfc1586(0x388)]();try{const _0x404c15=((_0x452069=this[_0xfc1586(0x46e)][_0xfc1586(0x228)](_0x12afa3[_0xfc1586(0x450)]))==null?void 0x0:_0x452069[_0xfc1586(0x489)])||_0x32c7b0,_0x3bbb4b=(await this['_httpService'][_0xfc1586(0x278)](_0x404c15,{'body':JSON[_0xfc1586(0x260)]({'taskId':_0x49c401})}))['body'];if(((_0x50cb18=_0x3bbb4b[_0xfc1586(0x212)])==null?void 0x0:_0x50cb18[_0xfc1586(0x283)])!==_0x38be0f['OK'])return;this[_0xfc1586(0x3d3)](_0x3bbb4b[_0xfc1586(0x432)],_0x522c59);}catch(_0x497582){this[_0xfc1586(0x376)][_0xfc1586(0x212)](_0x497582);}}async['_getFormulaLimitStatus'](_0x3d4fa6){const _0x11b635=_0x4e0a0f;var _0x470904,_0x54e8cd;const _0x476550=Date['now']();try{const _0x3da849=((_0x470904=this[_0x11b635(0x46e)][_0x11b635(0x228)](_0x12afa3[_0x11b635(0x450)]))==null?void 0x0:_0x470904['getformulaLimitStatusUrl'])||_0x20a23f,_0xdd1161=_0x3d4fa6?_0x3da849+_0x11b635(0x466)+encodeURIComponent(_0x3d4fa6):_0x3da849,_0x459dae=(await this[_0x11b635(0x48e)]['get'](_0xdd1161))[_0x11b635(0x486)];if(((_0x54e8cd=_0x459dae[_0x11b635(0x212)])==null?void 0x0:_0x54e8cd[_0x11b635(0x283)])!==_0x38be0f['OK'])return;this[_0x11b635(0x3d3)](_0x459dae[_0x11b635(0x432)],_0x476550);}catch(_0x189ae5){this[_0x11b635(0x376)][_0x11b635(0x212)](_0x189ae5);}}async[_0x4e0a0f(0x42a)](_0x37bd53){const _0x3f0d91=_0x4e0a0f;var _0x51899a,_0x3eab86;const _0x126b27=Date[_0x3f0d91(0x388)]();try{const _0x2b3a09=((_0x51899a=this[_0x3f0d91(0x46e)]['getConfig'](_0x12afa3[_0x3f0d91(0x450)]))==null?void 0x0:_0x51899a[_0x3f0d91(0x36d)])||_0x14b31c,_0x4080cf=(await this[_0x3f0d91(0x48e)][_0x3f0d91(0x278)](_0x2b3a09,{'body':JSON[_0x3f0d91(0x260)]({'taskId':_0x37bd53})}))['body'];if(((_0x3eab86=_0x4080cf[_0x3f0d91(0x212)])==null?void 0x0:_0x3eab86['code'])!==_0x38be0f['OK'])return;this[_0x3f0d91(0x3d3)](_0x4080cf['limitInfo'],_0x126b27);}catch(_0x29231f){this[_0x3f0d91(0x376)]['error'](_0x29231f);}}[_0x4e0a0f(0x3a0)](){const _0x4cc505=_0x4e0a0f;return this[_0x4cc505(0x267)]===0x0?!0x0:this[_0x4cc505(0x267)]-this[_0x4cc505(0x213)]>0x0;}['_clearPolling'](){const _0x2e9842=_0x4e0a0f;this[_0x2e9842(0x3fa)]&&(clearTimeout(this[_0x2e9842(0x3fa)]),this['_pollingInterval']=null);}[_0x4e0a0f(0x23c)](){const _0x349fbc=_0x4e0a0f;this[_0x349fbc(0x231)][_0x349fbc(0x480)]({'content':this[_0x349fbc(0x354)]['t']('formula.calculation.waiting'),'type':_0x225058['MessageType']['Loading']});}[_0x4e0a0f(0x435)](_0x78812c){const _0x44f996=_0x4e0a0f;for(const _0x430f43 of _0x78812c){const {unitId:_0x55d99d,sheetId:_0x16d682,range:_0x5a5e0e}=_0x430f43,_0x35f6ea=this[_0x44f996(0x2dc)]['getUnit'](_0x55d99d);if(!_0x35f6ea)continue;const _0x140461=_0x35f6ea[_0x44f996(0x30d)](_0x16d682);if(!_0x140461)continue;const _0x3fcbde=_0x140461[_0x44f996(0x1b0)]();for(let _0x3bc37b=_0x5a5e0e[_0x44f996(0x2e1)];_0x3bc37b<=_0x5a5e0e[_0x44f996(0x2fe)];_0x3bc37b++)for(let _0x5977aa=_0x5a5e0e['startColumn'];_0x5977aa<=_0x5a5e0e[_0x44f996(0x345)];_0x5977aa++){const _0x3cd518=_0x3fcbde[_0x44f996(0x473)](_0x3bc37b,_0x5977aa);if(_0x3cd518&&(_0x3d65d5[_0x44f996(0x30a)](_0x3cd518['f'])||_0x3d65d5[_0x44f996(0x47b)](_0x3cd518['si'])))return!0x0;}}return!0x1;}};_0x38bf51=_0x2d94ea([_0x594317(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x47f27f[_0x4e0a0f(0x2ef)])),_0x594317(0x1,_0x3d65d5[_0x4e0a0f(0x1ad)]),_0x594317(0x2,_0x3d65d5[_0x4e0a0f(0x434)]),_0x594317(0x3,_0x3d65d5['Inject'](_0x280651[_0x4e0a0f(0x37b)])),_0x594317(0x4,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x594317(0x5,_0x3d65d5[_0x4e0a0f(0x259)]),_0x594317(0x6,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5['LocaleService']))],_0x38bf51);var _0x4be8c2=Object[_0x4e0a0f(0x373)],_0x97b2bd=(_0x1be490,_0x1645e6,_0x58ccde,_0x577e81)=>{const _0x4551ad=_0x4e0a0f;for(var _0x1bbfef=_0x577e81>0x1?void 0x0:_0x577e81?_0x4be8c2(_0x1645e6,_0x58ccde):_0x1645e6,_0x6b8d4f=_0x1be490[_0x4551ad(0x401)]-0x1,_0x20d3a5;_0x6b8d4f>=0x0;_0x6b8d4f--)(_0x20d3a5=_0x1be490[_0x6b8d4f])&&(_0x1bbfef=_0x20d3a5(_0x1bbfef)||_0x1bbfef);return _0x1bbfef;},_0x2002ea=(_0x40b868,_0x4d3205)=>(_0x5afca4,_0x527896)=>_0x4d3205(_0x5afca4,_0x527896,_0x40b868);let _0x2f44fc=class extends _0x3d65d5['Disposable']{constructor(_0x41aac7,_0x46476f,_0x4c4467){const _0x6d5129=_0x4e0a0f;super(),_0x519c33(this,_0x6d5129(0x317),new Map()),_0x519c33(this,_0x6d5129(0x40c),new Map()),_0x519c33(this,_0x6d5129(0x35e),!0x1),(this[_0x6d5129(0x46e)]=_0x41aac7,this['_localStorageService']=_0x46476f,this[_0x6d5129(0x337)]=_0x4c4467);}[_0x4e0a0f(0x1d6)](){const _0x39cdbd=_0x4e0a0f;this[_0x39cdbd(0x35e)]=!0x0;}['enableLocalCache'](){const _0x1a1d49=_0x4e0a0f;this[_0x1a1d49(0x35e)]=!0x1;}get[_0x4e0a0f(0x247)](){const _0x431ac2=_0x4e0a0f;return this[_0x431ac2(0x40c)];}[_0x4e0a0f(0x3ab)](){const _0x2822d4=_0x4e0a0f;this['exhaustSavingTask']()[_0x2822d4(0x2da)](()=>super['dispose']());}async['loadOfflineData'](_0x3ffa59){const _0x41b3aa=_0x4e0a0f;return this['_disabled']?null:this['_localStorageService'][_0x41b3aa(0x438)](_0x12afa3[_0x41b3aa(0x40e)](_0x3ffa59));}async['saveOfflineData'](_0x23dd0c,_0x1042f3){const _0x5570d3=_0x4e0a0f;return!!this[_0x5570d3(0x37a)]['setItem'](_0x23dd0c,_0x1042f3);}[_0x4e0a0f(0x2ac)](_0xf56a1,_0x249955,_0x2618db,_0x2916aa){const _0x27fc06=_0x4e0a0f,_0x4b2569=this['_revisionService'][_0x27fc06(0x1df)](_0xf56a1);this[_0x27fc06(0x317)][_0x27fc06(0x33d)](_0xf56a1,{'unitID':_0xf56a1,'type':_0x249955,'awaitingChangeset':_0x2618db,'mutations':_0x2916aa,'rev':_0x4b2569}),this['_saveTaskMap'][_0x27fc06(0x41e)](_0xf56a1)||this[_0x27fc06(0x2b3)](_0xf56a1);}[_0x4e0a0f(0x2b3)](_0x1d1dd0){const _0x8c439b=_0x4e0a0f,_0x3acc68=this[_0x8c439b(0x1f6)]();_0x3acc68===0x0?this[_0x8c439b(0x239)](_0x1d1dd0):this[_0x8c439b(0x40c)][_0x8c439b(0x33d)](_0x1d1dd0,setTimeout(()=>this[_0x8c439b(0x239)](_0x1d1dd0),_0x3acc68));}['_getSaveTimeout'](){const _0x190f00=_0x4e0a0f;var _0x5c5b5e;return(_0x5c5b5e=this['_configService'][_0x190f00(0x228)](_0x12afa3[_0x190f00(0x3d8)]))!=null?_0x5c5b5e:_0x12afa3[_0x190f00(0x1ae)];}[_0x4e0a0f(0x239)](_0x205ac5){const _0x437f97=_0x4e0a0f,_0x281622=this[_0x437f97(0x40c)][_0x437f97(0x236)](_0x205ac5);return _0x281622!==void 0x0&&window[_0x437f97(0x342)](_0x281622),this['_localStorageService'][_0x437f97(0x2f9)](_0x12afa3[_0x437f97(0x40e)](_0x205ac5),this[_0x437f97(0x317)][_0x437f97(0x236)](_0x205ac5))[_0x437f97(0x2da)](()=>this[_0x437f97(0x40c)]['delete'](_0x205ac5));}async[_0x4e0a0f(0x1f1)](){const _0x260e2f=_0x4e0a0f,_0x5bec5a=[];this[_0x260e2f(0x40c)]['forEach']((_0x1e3a30,_0xee1472)=>{const _0x21aa3f=_0x260e2f;window[_0x21aa3f(0x342)](_0x1e3a30),_0x5bec5a['push'](this[_0x21aa3f(0x239)](_0xee1472)[_0x21aa3f(0x2da)](()=>{const _0x251739=_0x21aa3f;this[_0x251739(0x40c)]['delete'](_0xee1472);}));}),await Promise[_0x260e2f(0x1cb)](_0x5bec5a);}};_0x2f44fc=_0x97b2bd([_0x2002ea(0x0,_0x3d65d5['IConfigService']),_0x2002ea(0x1,_0x3d65d5[_0x4e0a0f(0x46f)]),_0x2002ea(0x2,_0x3d65d5['Inject'](_0x36b4bf[_0x4e0a0f(0x35a)]))],_0x2f44fc);class _0x4d959f extends _0x3d65d5['RxDisposable']{constructor(){const _0x1b737b=_0x4e0a0f;super(),_0x519c33(this,_0x1b737b(0x427)),this[_0x1b737b(0x427)]=_0x5f36f4[_0x1b737b(0x222)](window,'popstate')[_0x1b737b(0x2c1)](_0x5f36f4[_0x1b737b(0x308)](this[_0x1b737b(0x33b)]),_0x5f36f4[_0x1b737b(0x2a5)](0x1),_0x5f36f4['mapTo'](void 0x0));}[_0x4e0a0f(0x1ce)](_0x4aa5d0,_0x29c211,_0x4c5150=!0x1){const _0x4bece1=_0x4e0a0f,_0x2f45fe=new URL(window[_0x4bece1(0x34b)]['href']);_0x2f45fe[_0x4bece1(0x3c8)]['set'](_0x4aa5d0,_0x29c211),_0x4c5150?window[_0x4bece1(0x363)][_0x4bece1(0x2ba)]('','',_0x2f45fe[_0x4bece1(0x3af)]()):window[_0x4bece1(0x363)][_0x4bece1(0x270)]('','',_0x2f45fe[_0x4bece1(0x3af)]());}['removeParam'](_0x165ebf,_0x464ead=!0x1){const _0x34ee6b=_0x4e0a0f,_0x483862=new URL(window[_0x34ee6b(0x34b)]['href']);_0x483862[_0x34ee6b(0x3c8)][_0x34ee6b(0x32d)](_0x165ebf),_0x464ead?window[_0x34ee6b(0x363)][_0x34ee6b(0x2ba)]('','',_0x483862[_0x34ee6b(0x3af)]()):window[_0x34ee6b(0x363)][_0x34ee6b(0x270)]('','',_0x483862['toString']());}[_0x4e0a0f(0x1f3)](_0x1400ab){const _0x50a952=_0x4e0a0f;var _0x1d1d0d;return(_0x1d1d0d=new URL(window[_0x50a952(0x34b)]['href'])[_0x50a952(0x3c8)][_0x50a952(0x236)](_0x1400ab))!=null?_0x1d1d0d:void 0x0;}}var _0x359dd7=Object[_0x4e0a0f(0x1ef)],_0x168c31=Object[_0x4e0a0f(0x373)],_0x697e9=(_0x311207,_0x20222e,_0x59a07f)=>_0x20222e in _0x311207?_0x359dd7(_0x311207,_0x20222e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59a07f}):_0x311207[_0x20222e]=_0x59a07f,_0x3f0498=(_0x380f95,_0x318ac5,_0x5f24b6,_0x37b645)=>{const _0x2e3964=_0x4e0a0f;for(var _0x41d61a=_0x37b645>0x1?void 0x0:_0x37b645?_0x168c31(_0x318ac5,_0x5f24b6):_0x318ac5,_0x3b4673=_0x380f95[_0x2e3964(0x401)]-0x1,_0x3a1f82;_0x3b4673>=0x0;_0x3b4673--)(_0x3a1f82=_0x380f95[_0x3b4673])&&(_0x41d61a=_0x3a1f82(_0x41d61a)||_0x41d61a);return _0x41d61a;},_0x6bba6=(_0x35a3ae,_0x391ffe)=>(_0x4df778,_0x50b9ae)=>_0x391ffe(_0x4df778,_0x50b9ae,_0x35a3ae),_0xb4fc69=(_0x15e0e5,_0x2f37fe,_0x53e9b4)=>_0x697e9(_0x15e0e5,_0x2f37fe+'',_0x53e9b4);const _0x26d521=_0x4e0a0f(0x400);_0x5d6189['UniverCollaborationClientUIPlugin']=class extends _0x3d65d5[_0x4e0a0f(0x1dc)]{constructor(_0xa1c002=_0x37e97f,_0x19aace,_0x2cce88,_0x3a38a4){const _0x597a15=_0x4e0a0f;super(),this['_config']=_0xa1c002,this['_renderManagerService']=_0x19aace,this['_injector']=_0x2cce88,this['_configService']=_0x3a38a4;const {..._0x572f91}=_0x3d65d5['merge']({},_0x37e97f,this[_0x597a15(0x20a)]);this['_configService']['setConfig'](_0x3f564f,_0x572f91);}[_0x4e0a0f(0x1d1)](){const _0x2a5e10=_0x4e0a0f;this[_0x2a5e10(0x206)](),this['_initDependencies']();}['onRendered'](){const _0x39294c=_0x4e0a0f;this[_0x39294c(0x200)]();}[_0x4e0a0f(0x206)](){const _0x274610=_0x4e0a0f;var _0x85d671;const _0x1e1061=[[_0x5b2747],[_0x38bf51],[_0x5c5c0d],[_0x1eb585],[_0x558573],[_0x58e52d],[_0x41d09c,{'useClass':_0x4d959f}],[_0x280651['ISocketService'],{'useClass':_0x280651['WebSocketService']}],[_0x12afa3['ILocalCacheService'],{'useClass':_0x2f44fc}],[_0x5d6189[_0x274610(0x3ec)]],[_0x46cecc],[_0x339ee0],[_0x1a8b3b],[_0x4333d5],[_0x5d6189['CollaborationDataLoaderController']]];this[_0x274610(0x20a)][_0x274610(0x310)]&&_0x1e1061[_0x274610(0x1c3)]([_0xf7fe1c]),_0x3d65d5[_0x274610(0x3db)](this[_0x274610(0x458)],_0x3d65d5[_0x274610(0x451)](_0x1e1061,(_0x85d671=this[_0x274610(0x20a)])==null?void 0x0:_0x85d671[_0x274610(0x2b1)]));}[_0x4e0a0f(0x200)](){const _0x39dbe7=_0x4e0a0f;this['disposeWithMe'](this[_0x39dbe7(0x2e6)][_0x39dbe7(0x1f9)](_0x3d65d5[_0x39dbe7(0x307)][_0x39dbe7(0x1c2)],[_0xfead4d])),this[_0x39dbe7(0x38a)](this[_0x39dbe7(0x2e6)]['registerRenderModule'](_0x3d65d5[_0x39dbe7(0x307)]['UNIVER_SHEET'],[_0x1d6ca3]));}['_initDependencies'](){const _0x1433db=_0x4e0a0f;_0x3d65d5['touchDependencies'](this[_0x1433db(0x458)],[[_0x1a8b3b],[_0x5d6189['DesktopCollaborationStatusDisplayController']],[_0x46cecc],[_0x339ee0],[_0x5d6189[_0x1433db(0x36c)]],[_0x38bf51]]),this[_0x1433db(0x20a)][_0x1433db(0x310)]&&_0x3d65d5[_0x1433db(0x1ff)](this[_0x1433db(0x458)],[[_0xf7fe1c]]);}},_0xb4fc69(_0x5d6189[_0x4e0a0f(0x409)],_0x4e0a0f(0x205),_0x26d521),_0x5d6189[_0x4e0a0f(0x409)]=_0x3f0498([_0x3d65d5[_0x4e0a0f(0x229)](_0x12afa3[_0x4e0a0f(0x2d3)]),_0x6bba6(0x1,_0x48b1a2[_0x4e0a0f(0x3ee)]),_0x6bba6(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x6bba6(0x3,_0x3d65d5[_0x4e0a0f(0x434)])],_0x5d6189[_0x4e0a0f(0x409)]);var _0x420e19=Object['getOwnPropertyDescriptor'],_0x118156=(_0x2fd2df,_0x3ea0dd,_0x43a2cf,_0x3847e4)=>{const _0x285c83=_0x4e0a0f;for(var _0x12e131=_0x3847e4>0x1?void 0x0:_0x3847e4?_0x420e19(_0x3ea0dd,_0x43a2cf):_0x3ea0dd,_0x288c2d=_0x2fd2df[_0x285c83(0x401)]-0x1,_0x38b514;_0x288c2d>=0x0;_0x288c2d--)(_0x38b514=_0x2fd2df[_0x288c2d])&&(_0x12e131=_0x38b514(_0x12e131)||_0x12e131);return _0x12e131;},_0x14e2a3=(_0x2dc677,_0x19fe64)=>(_0x45da8e,_0x8933f)=>_0x19fe64(_0x45da8e,_0x8933f,_0x2dc677);_0x5d6189[_0x4e0a0f(0x1e5)]=class extends _0x12afa3['CollaborationSocketService']{constructor(_0x40edbf,_0x4bf45c,_0x4403b6,_0x36ca35,_0x301615){super(_0x40edbf,_0x4bf45c,_0x4403b6,_0x36ca35,_0x301615);}async[_0x4e0a0f(0x389)](_0x2d9c36){const _0x14a47d=_0x4e0a0f,_0x22f052=await this['_getSessionTicket'](),_0x229a0f=this['_createSocketURL'](_0x2d9c36,_0x22f052);return this[_0x14a47d(0x45b)](_0x229a0f);}[_0x4e0a0f(0x245)](_0x3fa139,_0x57b526){const _0xc6d18f=_0x4e0a0f,_0x927535=typeof window>'u'?new URL(_0x3fa139):new URL(_0x3fa139,window[_0xc6d18f(0x34b)][_0xc6d18f(0x377)]);_0x927535[_0xc6d18f(0x3c8)][_0xc6d18f(0x33d)](_0xc6d18f(0x323),_0x57b526);const _0x1bfdde=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc6d18f(0x34b)][_0xc6d18f(0x2a4)]);return _0x1bfdde[_0xc6d18f(0x236)](_0xc6d18f(0x42d))&&_0x927535[_0xc6d18f(0x3c8)][_0xc6d18f(0x33d)](_0xc6d18f(0x42d),_0x1bfdde[_0xc6d18f(0x236)](_0xc6d18f(0x42d))),_0x927535[_0xc6d18f(0x3af)]();}async[_0x4e0a0f(0x431)](){const _0x23a031=_0x4e0a0f;var _0x390da8,_0xa08ee6,_0x2fda6b;const _0x2486ae=this[_0x23a031(0x46e)][_0x23a031(0x228)](_0x12afa3[_0x23a031(0x450)]),_0x284ac6=(_0x390da8=_0x2486ae==null?void 0x0:_0x2486ae[_0x23a031(0x1d9)])!=null?_0x390da8:_0x12afa3[_0x23a031(0x327)];return(_0x2fda6b=(_0xa08ee6=(await this[_0x23a031(0x48e)]['get'](_0x284ac6,{'headers':{'Content-Type':_0x23a031(0x3b1)}}))[_0x23a031(0x486)])==null?void 0x0:_0xa08ee6[_0x23a031(0x273)])!=null?_0x2fda6b:'';}},_0x5d6189['BrowserCollaborationSocketService']=_0x118156([_0x14e2a3(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x14e2a3(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x280651[_0x4e0a0f(0x37b)])),_0x14e2a3(0x2,_0x3d65d5['IConfigService']),_0x14e2a3(0x3,_0x3d65d5[_0x4e0a0f(0x259)]),_0x14e2a3(0x4,_0x36b4bf[_0x4e0a0f(0x43a)])],_0x5d6189['BrowserCollaborationSocketService']);var _0x574c1e=Object['getOwnPropertyDescriptor'],_0x199410=(_0x2e3afe,_0x591e8f,_0x370de8,_0x36dca0)=>{const _0x4330c9=_0x4e0a0f;for(var _0x547fc0=_0x36dca0>0x1?void 0x0:_0x36dca0?_0x574c1e(_0x591e8f,_0x370de8):_0x591e8f,_0x58cccc=_0x2e3afe[_0x4330c9(0x401)]-0x1,_0x277978;_0x58cccc>=0x0;_0x58cccc--)(_0x277978=_0x2e3afe[_0x58cccc])&&(_0x547fc0=_0x277978(_0x547fc0)||_0x547fc0);return _0x547fc0;},_0x311d1d=(_0x1433f1,_0x318314)=>(_0x45bbec,_0x28e426)=>_0x318314(_0x45bbec,_0x28e426,_0x1433f1);_0x5d6189[_0x4e0a0f(0x1c8)]=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0x3a934e,_0x4a08dc,_0x2e974d){const _0x276ad5=_0x4e0a0f;super(),this[_0x276ad5(0x280)]=_0x3a934e,this[_0x276ad5(0x48e)]=_0x4a08dc,this[_0x276ad5(0x46e)]=_0x2e974d;}async['runOnServer'](_0x4bc881,_0xa2f92d,_0x50ad0a,..._0x4ab902){const _0x34ba2e=_0x4e0a0f;var _0x3ca1fe,_0x207574,_0x33923b,_0x26cf6c;const _0x52537b=this[_0x34ba2e(0x280)][_0x34ba2e(0x263)]();if(!_0x52537b)throw new Error(_0x34ba2e(0x30f));const _0x1e156e=((_0x3ca1fe=this[_0x34ba2e(0x46e)][_0x34ba2e(0x228)](_0x12afa3[_0x34ba2e(0x1b7)]))!=null?_0x3ca1fe:_0x12afa3[_0x34ba2e(0x204)])+'/'+_0x4bc881+_0x34ba2e(0x368)+_0xa2f92d,_0x997b77=new URL(window[_0x34ba2e(0x34b)][_0x34ba2e(0x3be)]),_0x3a64d1={'scriptId':_0x4bc881,'runId':(_0x207574=_0x997b77['searchParams'][_0x34ba2e(0x236)](_0x34ba2e(0x42d)))!=null?_0x207574:'','function':_0xa2f92d,'unitId':_0x52537b[_0x34ba2e(0x347)](),'argsOfFunction':JSON[_0x34ba2e(0x260)](_0x4ab902),'invokeId':(_0x33923b=_0x50ad0a[_0x34ba2e(0x34f)])!=null?_0x33923b:'','executionId':(_0x26cf6c=_0x50ad0a[_0x34ba2e(0x1bf)])!=null?_0x26cf6c:''};try{const _0x5b49f8=await this[_0x34ba2e(0x48e)]['post'](_0x1e156e,{'body':_0x3a64d1});return _0x5b49f8[_0x34ba2e(0x486)]['error']&&_0x5b49f8['body'][_0x34ba2e(0x212)][_0x34ba2e(0x283)]!==_0x38be0f['OK']?_0x34ba2e(0x43c):_0x5b49f8[_0x34ba2e(0x486)]['result'];}catch{return _0x34ba2e(0x43c);}}},_0x5d6189[_0x4e0a0f(0x1c8)]=_0x199410([_0x311d1d(0x0,_0x3d65d5['IUniverInstanceService']),_0x311d1d(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x280651['HTTPService'])),_0x311d1d(0x2,_0x3d65d5[_0x4e0a0f(0x434)])],_0x5d6189['RemoteUniscriptService']);const _0x37d032=0x7530,_0x362556='ACTIVE_UNIT_EVENT_CHANNEL';class _0x37ee47 extends _0x3d65d5['Disposable']{constructor(){const _0x5e5f91=_0x4e0a0f;super(),_0x519c33(this,_0x5e5f91(0x309),_0x3d65d5[_0x5e5f91(0x448)]()),_0x519c33(this,_0x5e5f91(0x45f),new Set()),_0x519c33(this,_0x5e5f91(0x362),new Map()),_0x519c33(this,'_heartbeatTimer',null),_0x519c33(this,_0x5e5f91(0x41f),new Map()),_0x519c33(this,_0x5e5f91(0x383),new Map()),this[_0x5e5f91(0x276)]();}['dispose'](){const _0x21e009=_0x4e0a0f;super['dispose'](),this[_0x21e009(0x41f)]['forEach']((_0x50cde3,_0x15eead)=>this['_removeClearOtherTimer'](_0x15eead)),this[_0x21e009(0x31f)]&&window[_0x21e009(0x3ff)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x41bb52){const _0xb915f9=_0x4e0a0f;return this[_0xb915f9(0x455)](_0x41bb52)[_0xb915f9(0x2c1)](_0x5f36f4[_0xb915f9(0x3cd)]());}['editingUnit'](_0x298c14){const _0xab654e=_0x4e0a0f;this[_0xab654e(0x45f)][_0xab654e(0x282)]===0x0&&this[_0xab654e(0x230)](),this[_0xab654e(0x45f)][_0xab654e(0x3f0)](_0x298c14),this['_send']({'type':0x0,'memberID':this[_0xab654e(0x309)],'unitIDs':[_0x298c14],'isForwarded':!0x1});}[_0x4e0a0f(0x38c)](_0x393200){const _0x333070=_0x4e0a0f;this['_selfUnitIDs'][_0x333070(0x32d)](_0x393200),this[_0x333070(0x45f)][_0x333070(0x282)]===0x0&&this[_0x333070(0x31f)]&&window[_0x333070(0x3ff)](this[_0x333070(0x31f)]);}[_0x4e0a0f(0x276)](){const _0x350449=_0x4e0a0f;this[_0x350449(0x38a)](_0x3d65d5['toDisposable'](_0x5f36f4[_0x350449(0x222)](window,_0x350449(0x481))[_0x350449(0x364)](_0x1c1d86=>{const _0x535e96=_0x350449;if(_0x1c1d86[_0x535e96(0x22c)]!==_0x362556||!_0x1c1d86[_0x535e96(0x477)])return;const _0x9cf2a2=JSON[_0x535e96(0x470)](_0x1c1d86[_0x535e96(0x477)]);this['_handleEvent'](_0x9cf2a2);}))),window[_0x350449(0x1d5)](_0x350449(0x209),()=>this['_send']({'type':0x1,'memberID':this[_0x350449(0x309)],'unitIDs':Array['from'](this[_0x350449(0x45f)])}));}['_handleEvent'](_0x1194c9){const _0x29fe29=_0x4e0a0f;switch(_0x1194c9[_0x29fe29(0x1d3)]){case 0x0:this[_0x29fe29(0x403)](_0x1194c9);break;case 0x1:this[_0x29fe29(0x1c1)](_0x1194c9);break;case 0x2:this['_handleHeartbeatEvent'](_0x1194c9);break;}}[_0x4e0a0f(0x403)](_0x55a914){const _0x542ed9=_0x4e0a0f,{unitIDs:_0x1e5c49,memberID:_0x2b3672,isForwarded:_0xd564e3}=_0x55a914;_0x1e5c49[_0x542ed9(0x3e9)](_0x3fa1bc=>{const _0xbd5a92=_0x542ed9;if(!_0xd564e3&&this['_unitOnClients'][_0xbd5a92(0x41e)](_0x3fa1bc)&&this['_ensureSubject'](_0x3fa1bc)[_0xbd5a92(0x2a7)](_0x12afa3[_0xbd5a92(0x2ab)][_0xbd5a92(0x262)]),!this[_0xbd5a92(0x362)][_0xbd5a92(0x41e)](_0x3fa1bc)||!this[_0xbd5a92(0x362)][_0xbd5a92(0x236)](_0x3fa1bc)[_0xbd5a92(0x41e)](_0x2b3672)){const _0x571d70=this[_0xbd5a92(0x362)][_0xbd5a92(0x236)](_0x3fa1bc)||new Set();_0x571d70[_0xbd5a92(0x3f0)](_0x2b3672),this['_unitOnClients'][_0xbd5a92(0x33d)](_0x3fa1bc,_0x571d70),this[_0xbd5a92(0x20c)](_0x2b3672);}}),_0xd564e3||this[_0x542ed9(0x22f)]({'type':0x0,'memberID':this[_0x542ed9(0x309)],'unitIDs':[...this[_0x542ed9(0x45f)]],'isForwarded':!0x0});}[_0x4e0a0f(0x20c)](_0x313fab){const _0x2a6699=_0x4e0a0f;this[_0x2a6699(0x463)](_0x313fab);const _0x4ef641=window['setTimeout'](()=>{const _0x292c7c=_0x2a6699;this['_unitOnClients'][_0x292c7c(0x3e9)](_0x5a87e5=>{const _0x30144e=_0x292c7c;_0x5a87e5[_0x30144e(0x32d)](_0x313fab);});},_0x37d032*0x2);this['_clearOtherTimers'][_0x2a6699(0x33d)](_0x313fab,_0x4ef641);}[_0x4e0a0f(0x463)](_0x36d0b0){const _0x417f02=_0x4e0a0f;if(this[_0x417f02(0x41f)]['has'](_0x36d0b0)){const _0x45f041=this[_0x417f02(0x41f)][_0x417f02(0x236)](_0x36d0b0);_0x45f041&&window[_0x417f02(0x342)](_0x45f041),this[_0x417f02(0x41f)][_0x417f02(0x33d)](_0x36d0b0,null);}}[_0x4e0a0f(0x1c1)](_0x421f51){const _0x287e1a=_0x4e0a0f,{memberID:_0x4fd594,unitIDs:_0x1281a0}=_0x421f51;_0x1281a0[_0x287e1a(0x3e9)](_0x581156=>{const _0x59600a=_0x287e1a;var _0x19dd10;const _0x55875d=this['_unitOnClients'][_0x59600a(0x236)](_0x581156);_0x55875d&&(_0x55875d[_0x59600a(0x32d)](_0x4fd594),(_0x19dd10=this[_0x59600a(0x455)](_0x581156))==null||_0x19dd10['next'](_0x55875d[_0x59600a(0x282)]===0x0?_0x12afa3[_0x59600a(0x2ab)][_0x59600a(0x1a7)]:_0x12afa3[_0x59600a(0x2ab)]['OTHER_CLIENTS_EDITING']));}),this[_0x287e1a(0x463)](_0x4fd594);}[_0x4e0a0f(0x34d)](_0x46b6df){const _0x539f5d=_0x4e0a0f;this[_0x539f5d(0x20c)](_0x46b6df[_0x539f5d(0x367)]);}[_0x4e0a0f(0x22f)](_0x18b2a9){const _0x1af0b0=_0x4e0a0f;localStorage[_0x1af0b0(0x2f9)](_0x362556,JSON[_0x1af0b0(0x260)](_0x18b2a9));}[_0x4e0a0f(0x230)](){const _0x4a7af4=_0x4e0a0f;this[_0x4a7af4(0x31f)]=window[_0x4a7af4(0x329)](()=>{const _0x2acca4=_0x4a7af4;this[_0x2acca4(0x22f)]({'type':0x2,'memberID':this[_0x2acca4(0x309)]});},_0x37d032);}['_ensureSubject'](_0x11595d){const _0x40ac80=_0x4e0a0f;return this[_0x40ac80(0x383)][_0x40ac80(0x41e)](_0x11595d)||this[_0x40ac80(0x383)][_0x40ac80(0x33d)](_0x11595d,new _0x5f36f4[(_0x40ac80(0x426))](_0x12afa3['UnitStatus'][_0x40ac80(0x1a7)])),this['_unitStatus'][_0x40ac80(0x236)](_0x11595d);}}_0x5d6189[_0x4e0a0f(0x339)]=_0x41d09c,_0x5d6189[_0x4e0a0f(0x3bb)]=_0x4e0ebf,_0x5d6189[_0x4e0a0f(0x1f7)]=_0x37ee47,_0x5d6189[_0x4e0a0f(0x23b)]=_0x4d959f,Object[_0x4e0a0f(0x1ef)](_0x5d6189,Symbol[_0x4e0a0f(0x324)],{'value':_0x4e0a0f(0x420)});}));function _0x38b8(){const _0x999a11=['collabCursorState$','_drawAnchor','USERS_LEAVE','currentTheme$','now','createSocket','disposeWithMe','_docTransformSelectionsService','disposeUnit','_themeService','UniverRpc','IDocClipboardService','[LogService\x20Error]:\x20','findNodePositionByCharIndex','roomMembers$','_backgroundColor','row','_uiPartsService','CollaborationEvent','doc.mutation.rich-text-editing','FormulaExecuteStageType','#FFF','_docSkeleton','_status$','min','_render','OFFLINE','_lastPointer','_checkCalculationAvailable','cursorInfo','getCollabEntity$','onPointerMove$','@univerjs/ui','handleIRemoveCol','tag','string','getUndoRedoMutationParamsCache','throttleTime','_draw','dispose','UNIVER_SHEET','div','setStateCache','toString','_entities','application/json','blue.400','setAlpha','redoState','_refRangeService','_getMergeRange','Unknown\x20user','random','setTimeout','REDEMPTION_CODE_NOT_STARTED','SheetCollabCursorShape','MessageType','dirtyRanges','href','UniverSheets','InsertRowCommandId','isArray','unitId','actions','_color','M0\x200H16V16H0z','handleDeleteRangeMoveLeft','collabStatus.fetchMiss','searchParams','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','join','off-line-icon_clip0_910_343','APPLY_DUPLICATED','distinctUntilChanged','SOCKET_FAILED','_commandService','makeDirty','_docSyncEditingCollabCursorService','HEADER_MENU','_setFormulaLimitStatus','IImageIoService','_initResize','setUndoRedoMutationParamsCache','selections','LOCAL_CACHE_INTERVAL_KEY','beforeCommandExecuted','getMemberID','registerDependencies','getSheetObject','VIEW_MAIN','trim','onPointerEnter$','entityInit$','CanceledError','toRgbString','_notificationService','_cursorShapes','collabStatus.synced','getSheetId','INotificationService','UNRECOGNIZED','forEach','ONLINE','with','DesktopCollaborationStatusDisplayController','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IRenderManagerService','_cursorInfo$','add','unit','_cursors','_applyCommand','REDEMPTION_CODE_FULLY_REDEEMED','4363816YWWCTb','_colorAssignService','on-line-icon_clip0_910_349','values','formula.calculation.unable','_pollingInterval','data','startColumn','REDEMPTION_USER_REDEEM_TIMES_EXCEED','jsx','clearInterval','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','length','@univerjs/sheets-ui','_handleJoinEvent','CommandType','getRelativeToViewportCoord','sheetID','_collaborationUIEventService','skeleton','UniverCollaborationClientUIPlugin','523630DAoUKj','session.collaboration-timeout','_saveTaskMap','subUnitId','getLocalCacheKey','UniverDesign','APPLY_REJECT','START_CALCULATION','defs','ENTITLE_USE_COUPON_NOT_1ST_TRADE','white','_transformUndoRedoStack','_sheetSkeletonManagerService','assignAColorForMemberID','runRefRangeMutations','use','2xabuGb','bottom','@univerjs/engine-formula','deepClone','has','_clearOtherTimers','Module','purple.300','transformStateCache','isActive','currentColor','WECHAT_HAS_BEEN_BOUND','BehaviorSubject','urlChange$','RegularPolygon','DATA_SOURCE_TOO_LARGE','_releaseCalculationLimit','_docSkeletonManagerService','getSkeleton','runId','onCommandExecuted','_initEvent','_assignedColors','_getSessionTicket','limitInfo','SNAPSHOT_HAS_BEEN_REMOVED','IConfigService','_hasFormulaInDirtyRanges','YUUMI_TABLE_NOT_FOUND_IN_UNIT','drawWith','getItem','getMember','ISnapshotServerService','addObjects','Failed','focused$','isTransformMutationFailure','FETCH_MISS','complete','SessionStatus','MOBILE_HAS_BEEN_BOUND','_initEntityListener','UNDEFINED','debounceTime','SYNCED','colorChannel1','generateRandomId','LICENSE_IMPORT_SIZE_EXCEEDED','createIdentifier','split','collab-client.tooltip.reconnect','univerjs-icon\x20univerjs-icon-','_setupSubUnitSync','@univerjs/sheets','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','mergeOverrideWithDependencies','_document','currentSkeleton$','UniverSheetsUi','_ensureSubject','APPLY_PERMISSION_DENIED','_memberService','_injector','clipPath','univer-flex\x20univer-items-center','_doCreateSocket','UniverDrawing','DeleteRangeMoveLeftCommandId','YUUMI_NO_CUBOID_FOR_QUESTION','_selfUnitIDs','RECT','switchMap','OffLineIcon','_removeClearOtherTimer','_hovered','_onRefRangeChange','?taskId=','3wzAUCp','collab-text-anchor-','debounce','useDependency','transformIMECache','IUIPartsService','EMAIL_HAS_BEEN_BOUND','_configService','ILocalStorageService','parse','collaboration.single-unit.warning','InsertColCommandId','getValue','TEXT_RANGE_LAYER_INDEX','round','font','newValue','SetTextSelectionsOperation','functionsExecutedState','Error','isFormulaId','EMAIL_VERIFY_CODE_MISMATCH','SetFormulaCalculationStartMutation','getTypeOfUnitAdded$','REDEMPTION_USER_NOT_ELIGIBLE','show','storage','whenReady','name','UPDATE_CURSOR','_initCommandInterceptor','body','ERROR_AGAIN','SheetSkeletonManagerService','startFormulaLimitUrl','forwardRef','parseInt','UniverCore','evenodd','_httpService','INVITE_CODE_REQUIRED','MemberService','stack','NO_OTHER_CLIENTS_EDITING','map','current','ColorKit','INVITE_CODE_HAS_BEEN_UES','xlink:href','ICommandService','LOCAL_CACHE_INTERVAL','_initWindowErrorListener','getCellMatrix','filename','@univerjs/drawing','0\x200\x2016\x2016','COLORS','removeEventListener','color','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_setupBeforeClosingHandler','APPLY_REVISION_CONFILICT','@univerjs/docs','registerComponent','contains','resize','CollaborationStatus','executionId','getUniverSheetInstance','_handleLeaveEvent','UNIVER_DOC','push','isEditing','ranges','stageInfo','_online','RemoteUniscriptService','width','idSuffix','all','SetWorksheetActivateCommand','React','setParam','SOCKET_FAILED_RETRY','ENTITLE_INSUFFICIENT_QUOTA','onStarting','_startDocCollabCursor','type','text','addEventListener','disableLocalCache','_toggleOffline','_textBubble','wsSessionTicketUrl','setShapeProps','clsx','Plugin','collabStatus.notCollab','PENDING','getCurrentRevOfUnit','addClipboardHook','debug','CollaborationUIEventService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','connectInjector','BrowserCollaborationSocketService','YUUMI_URL_COL_OUT_OF_RANGE','arc','CollaborationSessionService','svg','translate(.97)','NOT_COLLAB','LocaleService','AUTHORIZE_CODE_ILLEGAL','collabStatus.syncing','defineProperty','@univerjs/engine-render','exhaustSavingTask','_updateCollabCursors','getParam','Subject','@univerjs/core','_getSaveTimeout','WebBrowserSingleActiveUnitService','DocStateChangeManagerService','registerRenderModule','undoState','getUnhiddenWorksheets','@univerjs-pro/collaboration','some','transformMutation','touchDependencies','_registerRenderDependencies','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','currentUsage','symbol','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','pluginName','_registerDependencies','ILocalCacheService','message','unload','_config','8448021gxeRFd','_scheduleClearOtherTimer','INVALID_ARGUMENT','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_monkeyPatchLogService','CHANGESET_REVISION_CONFILICT','_anchor','error','_currentUsage','getActiveSheet','url(#on-line-icon_clip0_910_349)','_toggleOnline','_lastResponseTimestamp','black','lineno','unsubscribe','univer-mr-2\x20univer-flex\x20univer-text-xl','_docClipboardService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformRemoteChangeset','Warning','_scene','measureText','fromEvent','_getAnchorBounding','CollaborationController','UNAUTHENTICATED','getColor','USER_NOT_INVITED_CODE','getConfig','DependentOn','getCurrentSelections','saveImage','key','displayName','ENTITLE_DUP_SUBSCRIPTION','_send','_scheduleHeartbeat','_messageService','_initStatusListener','_handleHover','REDEMPTION_CODE_INACTIVE','lineTo','get','UniverIcon','YUUMI_RATE_OVER_LIMIT','_saveCache','PERMISSION_DENIED','WebURLService','_showGuardMessage','INVITE_CODE_ALREADY_BOUND','@univerjs/docs-ui','ENTITLE_INVALID_COUPON_CODE','_anchorDot','uni.network.url-service','_transformService','LOGIN_TOKEN_PROCESSING_FAILED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_createSocketURL','reconnect','saveTaskMap','CollaborationUIEventId','onMouseMove','_beforeCloseService','Inject','APPLY_NON_SEQUENTIAL_REVISION','catch','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_cursor','INVALID_INVITE_CODE','cursorInfo$','_collabSessionService','_startSheetCollabCursor','/universer-api/license/formula/limit/start','path','RefRangeService','createElement','USER_NOT_FOUND','ILogService','reason','m1Prime','UniverProCollaborationClientUi','formula.calculation.started','addObject','_onCursorDelete','stringify','@univerjs/rpc','OTHER_CLIENTS_EDITING','getFocusedUnit','DocCollaborationEntity','init','beginPath','_maxFormulaLimit','getActiveRange','docStateChange$','getRangePointData','_updateLocalCursor','column','setActiveRange','defIds','rgba(255,\x20255,\x20255,\x200.01)','pushState','_colorIndex','closePath','ticket','imageSourceType','collabStatus.conflict','_init','_session','post','_localCacheService','includes','745269EWyQQE','useCallback','MoveRangeCommandId','3236160waAhIC','RichTextEditingMutation','_instanceService','red.300','size','code','YUUMI_ALL_TABLES_IS_INVALID','PY_RUNTIME_SCRIPT_ERROR','TEXT','[Unhandled\x20Rejection]:\x20','fillText','MUTATION','YUUMI_ASYNCIO_CANCELLED','getCollabCursors$','source','MOBILE_VERIFY_CODE_MISMATCH','NodePositionConvertToCursor','collaboration.closeRoom','startsWith','ITransformService','handleInsertRangeMoveDown','Disposable','subscribeEvent','SHEET_VIEWPORT_KEY','_getSheetObject','USER_IS_ANONYMOUS','FromArray','_transformPreviousActiveRange','Rectangle','_initUnhandledRejectionListener','status$','useObservable','_collabCursorState$','DOC_RANGE_TYPE','transformByState','_collaborationSessionService','unhandledrejection','DisposableCollection','search','shareReplay','hide','next','ALREADY_EXISTS','DocIMEInputManagerService','mutations','UnitStatus','updateOfflineData','@univerjs-pro/collaboration-client','_urlService','filter','DeleteRangeMoveUpCommandId','override','IUniverInstanceService','_scheduleSaving','unitID','ENSURE_SNAPSHOT_EXECUTION','getMergeData','range','PAYMENT_CHANNEL_NOT_SUPPORT','registerBeforeClose','replaceState','SNAPSHOT_INVALID_SNAPSHOT','bind','on-line-icon','_onCursorUpdate','@univerjs/design','Injector','pipe','jsxs','NodePositionConvertToRectRange','TOO_MANY_REQUESTS','attrs','RxDisposable','fill','height','_getFormulaLimitStatus','_updateURLWithCurrentState','off-line-icon','transformMutationsWithChangeset','triggerDblclick','combineLatest','requireSession','_docTransformIMECacheService','none','isTransformMutationsWithChangesetSuccess','UniverCollaborationClientPlugin','YUUMI_CONNECTOR_URL_NOT_FOUND','registerRefRange','_refreshCollabCursors','roomMembers','BuiltInUIPart','CURRENT_STATUS_CANNOT_OPERATE','then','socket$','_univerInstanceService','_imageIoService','url(#off-line-icon_clip0_910_343)','3090764ZeJzrb','_roomMembers$','startRow','_initCommandExecutedListener','_docStateChangeManagerService','engine','RemoveColCommandId','_renderManagerService','getColorFromTheme','_eventUnsubscribe','Vector2','LICENSE_DISTRO_REJECTED','_entityInit$','SUCCESS','CLOSE_ROOM','backgroundColor','IMessageService','unshift','[Window\x20Error]:\x20','_startCalculationLimit','UniverEngineFormula','Success','_context','restore','EffectRefRangId','save','setItem','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_shapes','...','_getScale','endRow','LOGIN_FAILED','_initUserListener','_checkAndWaitForCalculationPermission','CONFLICT','_removeCollabCursors','handleInsertRangeMoveRight','_taskIds','syncEditingCollabCursor','UniverInstanceType','takeUntil','_id','isFormulaString','_collaborationController','YUUMI_AI_RUN_FAILED','getSheetBySheetId','_memberID','[RemoteUniscriptService]:\x20no\x20focused\x20unit','enableFrontendLog','green.600','operators','replace','FormulaExecutedStateType','SUBMIT_CHANGESET_TIMEOUT','getDocRanges','_cachedData','assign','ENTITLE_CHAT_LIMIT_EXCEED','_labelPosition','toDisposable','3253122yQVVpb','transformSelections','entries','_heartbeatTimer','eventID','subunit','YUUMI_SUBSCRIPTION_NOT_FOUND','sessionTicket','toStringTag','_docTransformStateCacheService','_collabCursorController','DEFAULT_WS_SESSION_TICKET_URL','m2Prime','setInterval','_range','UniverDocs','_transformHistoryAndStateStack','delete','session.connection-failed','SetSelectionsOperation','IRemoteInstanceService','_hideTimer','rxjs','0\x200\x2017\x2016','LICENSE_MAX_UNITS_EXCEEDED','UniverEngineRender','_drawRectRange','_revisionService','INTERNAL_ERROR','IURLService','executeCommand','dispose$','_name','set','exports','url(#$1','find','getStateCache','clearTimeout','fillStyle','params','endColumn','react','getUnitId','IBeforeCloseService','Tools','fromEventSubject','location','[CollaborationDataLoaderController]','_handleHeartbeatEvent','activeSheet$','invokeId','textRanges','react/jsx-runtime','getCoordByCell','JOIN_ROOM_FAILED','_localeService','/universer-api/license/formula/limit/status','totalFormulasToCalculate','ENTITLE_NEED_BILLING_ADDRESS','sheetId','mask','RevisionService','Shape','CONNECTOR_DATA_TOO_LARGE','getCurrentUnitForType','_disabled','handleInsertRow','_updateSubUnitFromURLParams','UniverProCollaborationClient','_unitOnClients','history','subscribe','asObservable','_hover','memberID','/run/','selection','_initStatusComponent','onPointerLeave$','CollaborationDataLoaderController','releaseFormulaLimitUrl','getRenderById','ThemeService','flatMap','REDEMPTION_CODE_HAS_BEEN_CREATED','children','getOwnPropertyDescriptor','_uploadLog','_clearPolling','_logService','origin','collab-rect-range-','DocSelectionManagerService','_localStorageService','HTTPService','Rect','_dataLoaderService','SetFormulaCalculationNotificationMutation','ENTITLE_COUPON_EXPIRED','LICENSE_EXPORT_SIZE_EXCEEDED','send','1em','_unitStatus'];_0x38b8=function(){return _0x999a11;};return _0x38b8();}
8
+ function _0x3baa(){const _0x33e136=['_assignedColors','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','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exports','_maxFormulaLimit','href','_initEvent','maxFormulaLimit','YUUMI_SUBSCRIPTION_NOT_FOUND','ENTITLE_DUP_SUBSCRIPTION','RegularPolygon','@univerjs-pro/collaboration-client','trim','ENTITLE_COUPON_EXPIRED','BrowserCollaborationSocketService','Module','endRow','FETCH_MISS','_scheduleClearOtherTimer','getItem','runRefRangeMutations','MoveRangeCommandId','@univerjs/network','height','beforeCommandExecuted','getUnhiddenWorksheets','CONFLICT','@univerjs/engine-formula','CollaborationStatus','handleDeleteRangeMoveUp','collab-text-anchor-','/universer-api/license/formula/limit/status','saveOfflineData','UniverDocsUi','YUUMI_RATE_OVER_LIMIT','color','getCellPositionByOffset','name','_clearPolling','234EPQghN','_scheduleHeartbeat','find','length','_docTransformStateCacheService','endColumn','executeCommand','_roomMembers$','LOCAL_CACHE_INTERVAL_KEY','getTypeOfUnitDisposed$','UniverEngineRender','ENSURE_SNAPSHOT_EXECUTION','on-line-icon','lineno','cursorInfo','ENTITLE_USE_COUPON_NOT_1ST_TRADE','setStateCache','combineLatest','_updateCollabCursors','YUUMI_UNABLE_LOAD_URL','updateOfflineData','width','defIds','clearTimeout','CollaborationUIEventService','_createSocketURL','_collaborationController','onRendered','394008qzlndj','ALREADY_EXISTS','UniverProCollaboration','DEFAULT_WS_SESSION_TICKET_URL','skeleton','registerBeforeClose','stageInfo','registerRenderModule','history','DocStateChangeManagerService','_toggleOffline','SessionStatus','on-line-icon_clip0_910_349','setInterval','UniverSheets','CollaborationDataLoaderController','application/json','CONNECTOR_DATA_TOO_LARGE','_handleJoinEvent','UniverCollaborationClientUIPlugin','_renderManagerService','unsubscribe','_shapes','DocIMEInputManagerService','InsertRangeMoveDownCommandId','collaboration-client-ui.config','_saveTaskMap','REDEMPTION_INVALID_CODE','displayName','Shape','replaceDocRanges','DOC_RANGE_TYPE','_setupSubUnitSync','onLocalMutation','evenodd','RemoteUniscriptService','catch','getUndoRedoMutationParamsCache','measureText','UniverCollaborationClientPlugin','@univerjs/docs','getRangePointData','_initCommandExecutedListener','moveTo','UniverProCollaborationClientUi','_collaborationUIEventService','RevisionService','_range','memberID','getCurrentSelections','SetTextSelectionsOperation','_drawTextRange','_colorAssignService','isArray','PENDING','transformRemoteChangeset','_textBubble','_currentUsage','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','ACTIVE_UNIT_EVENT_CHANNEL','EffectRefRangId','_session','roomMembers','CHANGESET_REVISION_CONFILICT','_transformService','runId','UniverDesign','ThemeService','dirtyRanges','runOnServer','hovered','some','startColumn','deserializeRangeWithSheet','ENTITLE_REPORT_LIMIT_EXCEED','1757WpuzEb','UniverRpc','APPLY_DUPLICATED','rxjs/operators','ONLINE','_anchorDot','popstate','switchMap','getOwnPropertyDescriptor','_unitOnClients','RemoveColCommandId','REDEMPTION_CODE_FULLY_REDEEMED','rgba(255,\x20255,\x20255,\x200.01)','IConfigService','toRgbString','setUndoRedoMutationParamsCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','colno','_checkCalculationAvailable','isTransformMutationsWithChangesetSuccess','SetFormulaCalculationStartMutation','distinctUntilChanged','_updateSubUnitFromURLParams','row','transformByState','complete','add','get','_localeService','Vector2','values','subscribeEvent','LICENSE_MAX_UNITS_EXCEEDED','_notificationService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','init','svg','WebBrowserSingleActiveUnitService','Injector','REDEMPTION_CODE_INACTIVE','onPointerLeave$','createInstance','SheetSkeletonManagerService','filename','[RemoteUniscriptService]:\x20no\x20focused\x20unit','m2Prime','session.collaboration-timeout','cursorInfo$','[Window\x20Error]:\x20','beginPath','getSheetBySheetId','_initResize','addObjects','_status$','symbol','ranges','_id','APPLY_PERMISSION_DENIED','stack','TOO_MANY_REQUESTS','fromEvent','_onCursorDelete','getUnitId','_collabCursorController','addClipboardHook','_initStatusListener','univer-flex\x20univer-items-center','onMouseMove','_document','[CollaborationDataLoaderController]','5SvUGuZ','top','set','UnitStatus','unit','TEXT_RANGE_LAYER_INDEX','currentSkeleton$','selections','CollaborationSocketService','CollaborationUIEventId','YUUMI_URL_COL_OUT_OF_RANGE','mask','black','merge','_eventUnsubscribe','delete','override','formula.calculation.started','MessageType','getFocusedUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','APPLY_NON_SEQUENTIAL_REVISION','BehaviorSubject','disposeWithMe','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','labelPosition','_transformUndoRedoStack','HTTPService','UNIVER_SHEET','_releaseCalculationLimit','_cachedData','_refreshCollabCursors','unitID','SOCKET_FAILED','mapTo','rxjs','event$','push','reason','handleDeleteRangeMoveLeft','isTransformMutationFailure','_scheduleSaving','isFormulaString','fillText','AUTHORIZE_CODE_ILLEGAL','_online','_uiPartsService','setTimeout','IRenderManagerService','_urlService','object','UniverDrawing','transform','onPointerEnter$','DeleteRangeMoveLeftCommandId','_drawAnchor','random','getUnit','ILocalStorageService','takeUntil','_hideTimer','_getScale','DisposableCollection','176DQwJBR','_hasFormulaInDirtyRanges','setActiveRange','IBeforeCloseService','_lastPointer','getRenderById','univer-mr-2\x20univer-flex\x20univer-text-xl','post','_docSkeletonManagerService','TEXT','backgroundColor','ITransformService','_selfUnitIDs','map','permission.content','MUTATION','getMergeData','IUniverInstanceService','handleInsertCol','clsx','_imageIoService','next','_localCacheService','UNDEFINED','_ensureSubject','collabStatus.conflict','OTHER_CLIENTS_EDITING','deepClone','_collabSessionService','currentTheme$','focused$','body','generateRandomId','subscribe','_initCommandInterceptor','UniverUi','Tools','setItem','_initDependencies','fill','shareReplay','@univerjs/ui','_updateURLWithCurrentState','/universer-api/frontend/logs','Success','WECHAT_HAS_BEEN_BOUND','toString','getTypeOfUnitAdded$','_docTransformSelectionsService','_unitStatus','getSheetId','eventID','getMemberID','jiqing.500','contains','getRelativeToViewportCoord','SOCKET_FAILED_RETRY','?taskId=','SetSelectionsOperation','min','ISocketService','createIdentifier','onCommandExecuted','univerjs-icon\x20univerjs-icon-','saveTaskMap','START_CALCULATION','INTERNAL_ERROR','onStarting','hide','disableLocalCache','CollaborationController','div','getAncestorScale','permission.title','_revisionService','yellow.400','unshift','IMessageService','url(#$1','startRow','collab-rect-range-','then','_memberID','error','setParam','PY_RUNTIME_SCRIPT_ERROR','transformMutationsWithChangeset','ENTITLE_INVALID_COUPON_CODE','ENTITLE_INSUFFICIENT_QUOTA','pushState','show','Disposable','getOffsetConfig','formula.calculation.waiting','RefRangeService','0\x200\x2016\x2016','ENTITLE_CHAT_LIMIT_EXCEED','font','ENTITLE_COUPON_USED_UP','_showGuardMessage','_initEntityListener','handleMoveRange','createElement','textRanges','CollaborationSessionService','defs','off-line-icon','isActive','jsxs','syncEditingCollabCursor','subUnitId','filter','currentUsage','onPointerMove$','message','SetWorksheetActivateCommand','saveImage','CURRENT_STATUS_CANNOT_OPERATE','getActiveSheet','WebURLService','OnLineIcon','getLocalCacheKey','UniverDocs','fromEventSubject','NodePositionConvertToCursor','removeParam','BuiltInUIPart','_entities','USER_IS_ANONYMOUS','addHandlerCallback','REDEMPTION_USER_REDEEM_TIMES_EXCEED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[Unhandled\x20Rejection]:\x20','setAlpha','redoState','RxDisposable','YUUMI_ALL_TABLES_IS_INVALID','[LogService\x20Error]:\x20','getCurrent','OTHER_CLIENT_EDITING','InsertRowCommandId','_setupBeforeClosingHandler','IRemoteInstanceService','exhaustSavingTask','UNAUTHENTICATED','0\x200\x2017\x2016','@univerjs/sheets','now','UniverSheetsUi','IDocClipboardService','UniverInstanceType','newValue','_injector','RECT','key','actions','DocSkeletonManagerService','fillRule','_docSkeleton','limitInfo','getStateCache','enableLocalCache','getUniverSheetInstance','reconnect','435726RSjJsp','bottom','throttleTime','_color','_name','location','SHEET_VIEWPORT_KEY','all','1mKyGWx','undoState','arc','doc.mutation.rich-text-editing','lineTo','_initStatusComponent','EMAIL_VERIFY_CODE_MISMATCH','UPDATE_CURSOR','INVALID_INVITE_CODE','DocCollaborationEntity','entries','INVITE_CODE_ALREADY_BOUND','code','_docTransformIMECacheService','setConfig','isEditing','USER_NOT_FOUND','children','_cursors','DeleteRangeMoveUpCommandId','ILocalCacheService','NOT_COLLAB','_httpService','stringify','_cursorInfo$','_commandService','@univerjs/rpc','formula.calculation.unable','flatMap','USERS_LEAVE','collabStatus.notCollab','translate(.97)','_initWindowErrorListener','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','/run/','_logService','DesktopCollaborationStatusDisplayController','handleInsertRow','uni.network.url-service','disposeUnit','Loading','ENTITLE_NEED_BILLING_ADDRESS','_collaborationSessionService','clipPath','_onRefRangeChange','LocaleService','FromArray','toDisposable','with','red.300','@univerjs/core','includes','ENTITLE_CAN_NOT_BUY_LOWER_OTP','UNRECOGNIZED','string','MOBILE_VERIFY_CODE_MISMATCH','_initUnhandledRejectionListener','loadUnit','idSuffix','getColor','Optional','debounce','Rect','ColorKit','22998chPQdI','CommandType','LICENSE_DISTRO_REJECTED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','5332820BalGrM','NO_OTHER_CLIENTS_EDITING','handleInsertRangeMoveRight','ERROR_AGAIN','_updateLocalCursor','INVITE_CODE_HAS_BEEN_UES','getColorFromTheme','off-line-icon_clip0_910_343','activeSheet$','103826ACCKBP','useDependency','_sheetSkeletonManagerService','_lastResponseTimestamp','_docSyncEditingCollabCursorService','WebSocketService','socket$','Error','transformMutation','COLORS','SheetCollabCursorShape','InsertRangeMoveRightCommandId','3263574xxiJhW','from','text','registerDependencies','findNodePositionByCharIndex','Workbook','dispose$','13832meqmNH','@univerjs/engine-render','_docStateChangeManagerService','asObservable','pluginName','_uploadLog','CollaborationEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','resize','type','YUUMI_ASYNCIO_CANCELLED','params','parseInt','_docClipboardService','_syncEditingCollabCursorService','SUBMIT_CHANGESET_TIMEOUT','_handleHover','_monkeyPatchLogService','getCoordByCell','getCellMatrix','sessionStatus$','_config','path','setShapeProps','UniverIcon','_entityInit$','DATA_SOURCE_TOO_LARGE','getVpScrollXYInfoByPosToVp','_context','_messageService','onTransformChange$','mergeOverrideWithDependencies','getCollabCursors$','LOGIN_TOKEN_PROCESSING_FAILED','_draw','_themeService','serializeRangeWithSheet','11dalQKp','_saveCache','substring','_heartbeatTimer','Failed','_transformHistoryAndStateStack','defineProperty','clearInterval','split','colorChannel1','_initUserListener','_getMergeRange','ILogService','status$','drawWith','INVITE_CODE_REQUIRED','attrs','JOIN_ROOM_FAILED','getValue','debug','SheetsSelectionsService','_getSessionTicket','CLOSE_ROOM','startsWith','dispose','_startDocCollabCursor','_univerInstanceService','react','none','docStateChange$','loadOfflineData','_render','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','m1Prime','parse','EMAIL_HAS_BEEN_BOUND','_onCursorUpdate','1em','NOT_FOUND','LOGIN_FAILED','_beforeCloseService','_labelPosition','_clearOtherTimers','APPLY_REVISION_CONFILICT','INVALID_ARGUMENT','whenReady','collab-text-range-','tag','http://www.w3.org/2000/svg','TRANSFORM_CHANGE_OBSERVABLE_TYPE','INotificationService','removeEventListener','ticket','React','range','InsertColCommandId','_backgroundColor','assignAColorForMemberID','assign','_getSheetObject','Warning','addObject','#FFF','roomMembers$','white','collab-client.tooltip.reconnect','xlink:href','getformulaLimitStatusUrl','useObservable','YUUMI_CONNECTOR_URL_NOT_FOUND','has','Plugin','...','useRef','_applyCommand','collabStatus.offline','_cursorShapes','PERMISSION_DENIED','_memberService','pipe','bind','stage','urlChange$','touchDependencies','SNAPSHOT_INVALID_SNAPSHOT','addEventListener','forEach','_hover','NodePositionConvertToRectRange','closePath','COMPLETION_FINISHED','result','_setFormulaLimitStatus','MOBILE_HAS_BEEN_BOUND','_hovered','AWAITING_WITH_PENDING','getCurrentRevOfUnit','collabStatus.synced','collaboration.closeRoom','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','enableFrontendLog','selection','SNAPSHOT_HAS_BEEN_REMOVED','_transformPreviousActiveRange','ICommandService','join','Unknown\x20user','_collabCursorState$','Inject','PAYMENT_CHANNEL_NOT_SUPPORT','_registerDependencies','executionId','collaboration.single-unit.warning','isFormulaId','_instanceService','requireSession','_getSaveTimeout','_colorIndex','jsx','_getAnchorBounding','replace','UNIVER_DOC','SYNCED','_handleEvent','wsSessionTicketUrl','_registerRenderDependencies','_init','Subject','_removeCollabCursors','getConfig','_anchor','APPLY_REJECT','_handleLeaveEvent','storage','_scene','_localStorageService','searchParams','collabCursorState$','_cursor','_checkAndWaitForCalculationPermission','data','restore','YUUMI_NO_CUBOID_FOR_QUESTION','SetFormulaCalculationNotificationMutation','source','_send','round','_removeClearOtherTimer','useCallback','mutations','handleIRemoveCol','OFFLINE','createSocket','@univerjs/design','_pollingInterval','_startSheetCollabCursor','_configService','transformSelections','transformIMECache','editingUnit','UniverNetwork','_dataLoaderService','MemberService','getViewport','registerRefRange','shift','M0\x200H16V16H0z','_toggleOnline','USER_NOT_INVITED_CODE','getMember','fillStyle','_taskIds','column','REDEMPTION_CODE_NOT_STARTED','send','toStringTag','subunit','getDocRanges','OffLineIcon','_getFormulaLimitStatus','AWAITING','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','blue.400','_disabled','size','replaceState','REDEMPTION_USER_NOT_ELIGIBLE','triggerDblclick','save','getParam','\x20at\x20','unitId','currentColor'];_0x3baa=function(){return _0x33e136;};return _0x3baa();}function _0x2541(_0x344a2e,_0x497b87){_0x344a2e=_0x344a2e-0x156;const _0x3baa6f=_0x3baa();let _0x254186=_0x3baa6f[_0x344a2e];return _0x254186;}(function(_0x2fdc2f,_0x25ab8e){const _0x266791=_0x2541,_0x127cc9=_0x2fdc2f();while(!![]){try{const _0x2fc396=-parseInt(_0x266791(0x20a))/0x1*(-parseInt(_0x266791(0x257))/0x2)+parseInt(_0x266791(0x24a))/0x3*(parseInt(_0x266791(0x15e))/0x4)+parseInt(_0x266791(0x425))/0x5*(-parseInt(_0x266791(0x263))/0x6)+parseInt(_0x266791(0x3df))/0x7*(parseInt(_0x266791(0x26a))/0x8)+-parseInt(_0x266791(0x202))/0x9+parseInt(_0x266791(0x24e))/0xa*(-parseInt(_0x266791(0x28f))/0xb)+-parseInt(_0x266791(0x394))/0xc*(-parseInt(_0x266791(0x378))/0xd);if(_0x2fc396===_0x25ab8e)break;else _0x127cc9['push'](_0x127cc9['shift']());}catch(_0x4dae59){_0x127cc9['push'](_0x127cc9['shift']());}}}(_0x3baa,0x46747),function(_0x5ce6d5,_0x4b07c7){const _0x427c7a=_0x2541;typeof exports==_0x427c7a(0x457)&&typeof module<'u'?_0x4b07c7(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['amd']?define([_0x427c7a(0x354),'react/jsx-runtime',_0x427c7a(0x35c),_0x427c7a(0x23c),_0x427c7a(0x187),'rxjs',_0x427c7a(0x328),_0x427c7a(0x2aa),_0x427c7a(0x224),_0x427c7a(0x1f0),_0x427c7a(0x26b),_0x427c7a(0x367),'@univerjs/docs-ui','@univerjs/drawing','@univerjs-pro/collaboration',_0x427c7a(0x3bc),_0x427c7a(0x36c),_0x427c7a(0x3e2),'@univerjs/sheets-ui'],_0x4b07c7):(_0x5ce6d5=typeof globalThis<'u'?globalThis:_0x5ce6d5||self,_0x4b07c7(_0x5ce6d5[_0x427c7a(0x3c0)]={},_0x5ce6d5[_0x427c7a(0x2c4)],_0x5ce6d5['UniverProCollaborationClient'],_0x5ce6d5['UniverCore'],_0x5ce6d5[_0x427c7a(0x181)],_0x5ce6d5['rxjs'],_0x5ce6d5[_0x427c7a(0x3d6)],_0x5ce6d5['React'],_0x5ce6d5[_0x427c7a(0x3e0)],_0x5ce6d5[_0x427c7a(0x3a2)],_0x5ce6d5[_0x427c7a(0x382)],_0x5ce6d5[_0x427c7a(0x32f)],_0x5ce6d5[_0x427c7a(0x372)],_0x5ce6d5[_0x427c7a(0x458)],_0x5ce6d5[_0x427c7a(0x396)],_0x5ce6d5[_0x427c7a(0x1d8)],_0x5ce6d5['UniverEngineFormula'],_0x5ce6d5[_0x427c7a(0x448)]['operators'],_0x5ce6d5[_0x427c7a(0x1f2)]));}(this,function(_0x38ae7f,_0x570dfc,_0x2cb61c,_0x295c8f,_0x189b11,_0x58c226,_0x599761,_0x1da277,_0x7417fd,_0x11cdbd,_0x8db91b,_0x17ac2f,_0x442538,_0x4b8ddd,_0x143a87,_0x400651,_0x218d3f,_0x2157b5,_0x2cd116){'use strict';const _0xce3cd0=_0x2541;var _0x1c3367=Object[_0xce3cd0(0x295)],_0x5b410a=(_0x2f6180,_0x2530f0,_0x178bb9)=>_0x2530f0 in _0x2f6180?_0x1c3367(_0x2f6180,_0x2530f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x178bb9}):_0x2f6180[_0x2530f0]=_0x178bb9,_0xef452e=(_0x258610,_0x196e84,_0x7a3c5a)=>_0x5b410a(_0x258610,typeof _0x196e84!=_0xce3cd0(0x415)?_0x196e84+'':_0x196e84,_0x7a3c5a);function _0x560a56({ref:_0x3b1c20,..._0x39b95c}){const _0x18fe57=_0xce3cd0,{icon:_0x1f5bfa,id:_0x3654eb,className:_0x43f195,extend:_0x38fb1c,..._0x513c63}=_0x39b95c,_0x12704a=(_0x18fe57(0x19d)+_0x3654eb+'\x20'+(_0x43f195||''))[_0x18fe57(0x35d)](),_0x4c875d=_0x1da277[_0x18fe57(0x2d8)]('_'+_0x25432b());return _0x311bbf(_0x1f5bfa,''+_0x3654eb,{'defIds':_0x1f5bfa[_0x18fe57(0x38e)],'idSuffix':_0x4c875d['current']},{'ref':_0x3b1c20,'className':_0x12704a,..._0x513c63},_0x38fb1c);}function _0x311bbf(_0xe8b092,_0x79142f,_0x5020b5,_0x4a9745,_0x26b3bf){const _0x5729a0=_0xce3cd0;return _0x1da277['createElement'](_0xe8b092[_0x5729a0(0x2be)],{'key':_0x79142f,..._0x4634b7(_0xe8b092,_0x5020b5,_0x26b3bf),..._0x4a9745},(_0x1c1334(_0xe8b092,_0x5020b5)['children']||[])[_0x5729a0(0x16b)]((_0x115a84,_0x3d96b0)=>_0x311bbf(_0x115a84,_0x79142f+'-'+_0xe8b092[_0x5729a0(0x2be)]+'-'+_0x3d96b0,_0x5020b5,void 0x0,_0x26b3bf)));}function _0x4634b7(_0x992174,_0x48ef73,_0x4c4972){const _0x1765f2=_0xce3cd0,_0x48c989={..._0x992174['attrs']};_0x4c4972!=null&&_0x4c4972[_0x1765f2(0x298)]&&_0x48c989[_0x1765f2(0x185)]===_0x1765f2(0x298)&&(_0x48c989[_0x1765f2(0x185)]=_0x4c4972['colorChannel1']),_0x992174['tag']==='mask'&&_0x48c989['id']&&(_0x48c989['id']=_0x48c989['id']+_0x48ef73['idSuffix']),Object[_0x1765f2(0x214)](_0x48c989)['forEach'](([_0x543204,_0x514cfc])=>{const _0x343ffe=_0x1765f2;_0x543204===_0x343ffe(0x430)&&typeof _0x514cfc==_0x343ffe(0x240)&&(_0x48c989[_0x543204]=_0x514cfc[_0x343ffe(0x307)](/url\(#(.*)\)/,_0x343ffe(0x1ac)+_0x48ef73[_0x343ffe(0x244)]+')'));});const {defIds:_0x264fdb}=_0x48ef73;return!_0x264fdb||_0x264fdb['length']===0x0||(_0x992174[_0x1765f2(0x2be)]==='use'&&_0x48c989['xlink:href']&&(_0x48c989[_0x1765f2(0x2d1)]=_0x48c989[_0x1765f2(0x2d1)]+_0x48ef73['idSuffix']),Object['entries'](_0x48c989)[_0x1765f2(0x2e5)](([_0x1f9d62,_0x1db705])=>{const _0x1e6781=_0x1765f2;typeof _0x1db705==_0x1e6781(0x240)&&(_0x48c989[_0x1f9d62]=_0x1db705[_0x1e6781(0x307)](/url\(#(.*)\)/,_0x1e6781(0x1ac)+_0x48ef73[_0x1e6781(0x244)]+')'));})),_0x48c989;}function _0x1c1334(_0x1c1131,_0x5efee3){const _0x1dd976=_0xce3cd0;var _0x4a6777;const {defIds:_0x6e0810}=_0x5efee3;return!_0x6e0810||_0x6e0810[_0x1dd976(0x37b)]===0x0?_0x1c1131:_0x1c1131[_0x1dd976(0x2be)]===_0x1dd976(0x1c7)&&((_0x4a6777=_0x1c1131[_0x1dd976(0x21b)])!=null&&_0x4a6777[_0x1dd976(0x37b)])?{..._0x1c1131,'children':_0x1c1131['children'][_0x1dd976(0x16b)](_0x1969ad=>typeof _0x1969ad[_0x1dd976(0x29f)]['id']==_0x1dd976(0x240)&&_0x6e0810&&_0x6e0810[_0x1dd976(0x23d)](_0x1969ad['attrs']['id'])?{..._0x1969ad,'attrs':{..._0x1969ad[_0x1dd976(0x29f)],'id':_0x1969ad[_0x1dd976(0x29f)]['id']+_0x5efee3[_0x1dd976(0x244)]}}:_0x1969ad)}:_0x1c1131;}function _0x25432b(){const _0x4e4452=_0xce3cd0;return Math[_0x4e4452(0x157)]()[_0x4e4452(0x18c)](0x24)[_0x4e4452(0x291)](0x2,0x8);}_0x560a56['displayName']=_0xce3cd0(0x282);const _0x5cf04b={'tag':'svg','attrs':{'xmlns':_0xce3cd0(0x2bf),'fill':'none','viewBox':_0xce3cd0(0x1bd),'width':_0xce3cd0(0x2b4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0xce3cd0(0x352),'strokeLinecap':_0xce3cd0(0x321),'strokeLinejoin':_0xce3cd0(0x321),'strokeWidth':1.2}}]},{'tag':_0xce3cd0(0x1c7),'attrs':{},'children':[{'tag':_0xce3cd0(0x235),'attrs':{'id':_0xce3cd0(0x255)},'children':[{'tag':_0xce3cd0(0x280),'attrs':{'fill':_0xce3cd0(0x2cf),'d':_0xce3cd0(0x335)}}]}]}],'defIds':[_0xce3cd0(0x255)]},_0x3442da=_0x1da277['forwardRef'](function(_0x1d0ccd,_0x3f4f9f){const _0x3a408f=_0xce3cd0;return _0x1da277[_0x3a408f(0x1c4)](_0x560a56,Object[_0x3a408f(0x2c9)]({},_0x1d0ccd,{'id':_0x3a408f(0x1c8),'ref':_0x3f4f9f,'icon':_0x5cf04b}));});_0x3442da[_0xce3cd0(0x3b0)]=_0xce3cd0(0x341);const _0x229194={'tag':_0xce3cd0(0x403),'attrs':{'xmlns':_0xce3cd0(0x2bf),'fill':_0xce3cd0(0x2ab),'viewBox':_0xce3cd0(0x1ef),'width':_0xce3cd0(0x2b4),'height':_0xce3cd0(0x2b4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xce3cd0(0x280),'attrs':{'stroke':_0xce3cd0(0x350),'d':_0xce3cd0(0x22b),'strokeLinecap':'round','strokeLinejoin':_0xce3cd0(0x321),'strokeWidth':1.2}}]},{'tag':_0xce3cd0(0x1c7),'attrs':{},'children':[{'tag':_0xce3cd0(0x235),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0xce3cd0(0x2cf),'d':_0xce3cd0(0x335),'transform':_0xce3cd0(0x229)}}]}]}],'defIds':[_0xce3cd0(0x3a0)]},_0x15f857=_0x1da277['forwardRef'](function(_0x3f113f,_0x29ce2d){const _0x4b5b69=_0xce3cd0;return _0x1da277[_0x4b5b69(0x1c4)](_0x560a56,Object['assign']({},_0x3f113f,{'id':_0x4b5b69(0x384),'ref':_0x29ce2d,'icon':_0x229194}));});_0x15f857['displayName']=_0xce3cd0(0x1d6);function _0x47a3ee(_0x32a102){const _0x28b2d6=_0xce3cd0;switch(_0x32a102){case _0x2cb61c[_0x28b2d6(0x36d)]['OFFLINE']:return _0x28b2d6(0x2da);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x36b)]:return _0x28b2d6(0x177);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x362)]:return'collabStatus.fetchMiss';case _0x2cb61c['CollaborationStatus'][_0x28b2d6(0x21f)]:return _0x28b2d6(0x228);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x343)]:case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x2ee)]:return'collabStatus.syncing';case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x309)]:case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x3ca)]:return _0x28b2d6(0x2f0);}}function _0x4d60d6(_0x23147d){const _0x1098d2=_0xce3cd0,{status$:_0x2c7db2}=_0x23147d,_0x21de82=_0x189b11[_0x1098d2(0x2d3)](_0x2c7db2,_0x2cb61c['CollaborationStatus']['NOT_COLLAB']),_0x457364=_0x189b11[_0x1098d2(0x258)](_0x295c8f[_0x1098d2(0x237)]),_0x51237f=_0x189b11[_0x1098d2(0x258)](_0x2cb61c['CollaborationSessionService']),_0x258b5a=_0x21de82!==_0x2cb61c['CollaborationStatus'][_0x1098d2(0x326)],_0x72a7a3=_0x457364['t'](_0x47a3ee(_0x21de82)),_0x39c5b2=_0x258b5a?_0x570dfc[_0x1098d2(0x305)](_0x15f857,{}):_0x570dfc['jsx'](_0x3442da,{}),_0x5d80c2=_0x1da277[_0x1098d2(0x323)](()=>{const _0x35866b=_0x1098d2;_0x258b5a||_0x51237f[_0x35866b(0x201)]();},[_0x258b5a,_0x51237f]);function _0x338f51(){const _0x36fa44=_0x1098d2;return _0x570dfc[_0x36fa44(0x1ca)](_0x36fa44(0x1a5),{'className':_0x36fa44(0x421),'onClick':_0x5d80c2,'children':[_0x570dfc[_0x36fa44(0x305)](_0x36fa44(0x1a5),{'className':_0x599761[_0x36fa44(0x171)](_0x36fa44(0x164),{'univer-text-green-500':_0x258b5a,'univer-text-red-500':!_0x258b5a}),'children':_0x39c5b2}),_0x570dfc['jsx']('div',{'className':_0x36fa44(0x2f2),'children':_0x72a7a3})]});}return _0x258b5a?_0x338f51():_0x570dfc[_0x1098d2(0x305)](_0x599761['Tooltip'],{'title':_0x457364['t'](_0x1098d2(0x2d0)),'children':_0x338f51()});}var _0x2bf1d4=Object['getOwnPropertyDescriptor'],_0x2f4e5a=(_0x51df83,_0xff25b7,_0x4dc27e,_0x519b05)=>{const _0x2a74e3=_0xce3cd0;for(var _0x873441=_0x519b05>0x1?void 0x0:_0x519b05?_0x2bf1d4(_0xff25b7,_0x4dc27e):_0xff25b7,_0x4d2eeb=_0x51df83[_0x2a74e3(0x37b)]-0x1,_0x6ce820;_0x4d2eeb>=0x0;_0x4d2eeb--)(_0x6ce820=_0x51df83[_0x4d2eeb])&&(_0x873441=_0x6ce820(_0x873441)||_0x873441);return _0x873441;},_0xb60812=(_0x541ffe,_0x46e1d8)=>(_0x35e9ee,_0x50d82d)=>_0x46e1d8(_0x35e9ee,_0x50d82d,_0x541ffe);_0x38ae7f[_0xce3cd0(0x22e)]=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x4d1e10,_0x22aab9,_0x290282,_0x515c91){const _0x48b9d5=_0xce3cd0;super(),_0xef452e(this,_0x48b9d5(0x414),new _0x58c226[(_0x48b9d5(0x43b))](_0x2cb61c[_0x48b9d5(0x36d)][_0x48b9d5(0x21f)])),(this['_univerInstanceService']=_0x4d1e10,this['_injector']=_0x22aab9,this[_0x48b9d5(0x392)]=_0x290282,this['_uiPartsService']=_0x515c91,this[_0x48b9d5(0x20f)](),this[_0x48b9d5(0x420)]());}['_initStatusListener'](){const _0x21fe57=_0xce3cd0;this[_0x21fe57(0x43c)](this[_0x21fe57(0x2a9)][_0x21fe57(0x17c)][_0x21fe57(0x2de)](_0x58c226[_0x21fe57(0x3e6)](()=>{const _0x286078=_0x21fe57,_0x518cd8=this[_0x286078(0x2a9)][_0x286078(0x438)]();return _0x518cd8?this[_0x286078(0x392)]['getCollabEntity$'](_0x518cd8['getUnitId']()):_0x58c226['of'](null);}),_0x58c226['switchMap'](_0x494e26=>_0x494e26?_0x494e26[_0x21fe57(0x29c)]:_0x58c226['of'](_0x2cb61c[_0x21fe57(0x36d)]['NOT_COLLAB'])))[_0x21fe57(0x17f)](_0x401801=>{const _0x5aa6ca=_0x21fe57;this[_0x5aa6ca(0x414)][_0x5aa6ca(0x173)](_0x401801);}));}['_initStatusComponent'](){const _0x377740=_0xce3cd0;this[_0x377740(0x43c)](this[_0x377740(0x453)]['registerComponent'](_0x189b11[_0x377740(0x1dc)]['HEADER_MENU'],()=>_0x189b11['connectInjector'](_0x108cd4({'status$':this[_0x377740(0x414)][_0x377740(0x26d)]()}),this[_0x377740(0x1f6)])));}},_0x38ae7f['DesktopCollaborationStatusDisplayController']=_0x2f4e5a([_0xb60812(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0xb60812(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0xb60812(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x1a4)])),_0xb60812(0x3,_0x189b11['IUIPartsService'])],_0x38ae7f[_0xce3cd0(0x22e)]);function _0x108cd4(_0x580c6c){const {status$:_0x3a8352}=_0x580c6c;return function(){return _0x570dfc['jsx'](_0x4d60d6,{'status$':_0x3a8352});};}const _0x4d5ea0=_0x295c8f[_0xce3cd0(0x19b)](_0xce3cd0(0x230));var _0x3b67c1=Object[_0xce3cd0(0x3e7)],_0x384cd0=(_0x1ca008,_0x486cd4,_0xd4ff55,_0x506de4)=>{for(var _0x5ac656=_0x506de4>0x1?void 0x0:_0x506de4?_0x3b67c1(_0x486cd4,_0xd4ff55):_0x486cd4,_0x460ef0=_0x1ca008['length']-0x1,_0x180d62;_0x460ef0>=0x0;_0x460ef0--)(_0x180d62=_0x1ca008[_0x460ef0])&&(_0x5ac656=_0x180d62(_0x5ac656)||_0x5ac656);return _0x5ac656;},_0x27661a=(_0x185e58,_0x2b0249)=>(_0xfb613b,_0xacbd9b)=>_0x2b0249(_0xfb613b,_0xacbd9b,_0x185e58);_0x38ae7f[_0xce3cd0(0x3a3)]=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0xa0ce4f,_0x87f400,_0x4dd0ed,_0x44f84a,_0x4731d6){const _0xb482b5=_0xce3cd0;super(),this[_0xb482b5(0x456)]=_0xa0ce4f,this['_logService']=_0x87f400,this[_0xb482b5(0x223)]=_0x4dd0ed,this[_0xb482b5(0x330)]=_0x44f84a,_0x4731d6?_0x4731d6==null||_0x4731d6[_0xb482b5(0x2bc)]()['then'](()=>this[_0xb482b5(0x30d)]()):(this[_0xb482b5(0x22d)][_0xb482b5(0x2a2)](_0xb482b5(0x424),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0xce3cd0(0x30d)](){const _0x4cf117=_0xce3cd0,_0x411d4f=this['_urlService']['getParam'](_0x4cf117(0x429)),_0x7c6cdb=this[_0x4cf117(0x456)][_0x4cf117(0x34d)](_0x4cf117(0x273)),_0x53852f=this[_0x4cf117(0x456)][_0x4cf117(0x34d)](_0x4cf117(0x33f));if(!_0x411d4f||!_0x7c6cdb){this[_0x4cf117(0x22d)][_0x4cf117(0x2a2)](_0x4cf117(0x424),_0x4cf117(0x43d));return;}const _0x3ab63a=await this[_0x4cf117(0x330)][_0x4cf117(0x243)](_0x411d4f,Number(_0x7c6cdb),_0x53852f);_0x3ab63a&&_0x3ab63a instanceof _0x295c8f[_0x4cf117(0x268)]&&this['_setupSubUnitSync'](_0x3ab63a);}async[_0xce3cd0(0x3b4)](_0xa8dc5b){const _0xf05fd9=_0xce3cd0;await this[_0xf05fd9(0x3f5)](_0xa8dc5b),_0xa8dc5b[_0xf05fd9(0x256)][_0xf05fd9(0x2de)](_0x58c226[_0xf05fd9(0x15a)](this[_0xf05fd9(0x269)]))[_0xf05fd9(0x17f)](_0x4fa9ab=>{const _0x2574cb=_0xf05fd9;_0x4fa9ab&&this[_0x2574cb(0x188)](_0x4fa9ab);}),this[_0xf05fd9(0x456)][_0xf05fd9(0x2e1)][_0xf05fd9(0x2de)](_0x58c226[_0xf05fd9(0x15a)](this[_0xf05fd9(0x269)]))[_0xf05fd9(0x17f)](()=>this['_updateSubUnitFromURLParams'](_0xa8dc5b));}[_0xce3cd0(0x188)](_0x4ae39f,_0x39726d=!0x1){const _0x24706b=_0xce3cd0,_0x4e2c71=this[_0x24706b(0x456)][_0x24706b(0x34d)](_0x24706b(0x33f));_0x4ae39f[_0x24706b(0x190)]()!==_0x4e2c71&&this['_urlService'][_0x24706b(0x1b2)]('subunit',_0x4ae39f[_0x24706b(0x190)](),_0x39726d);}async[_0xce3cd0(0x3f5)](_0x35d3a5){const _0x500e28=_0xce3cd0;var _0x546259;const _0x29a19f=this['_urlService'][_0x500e28(0x34d)](_0x500e28(0x33f));if(!_0x29a19f||!_0x35d3a5[_0x500e28(0x411)](_0x29a19f)){const _0x26c149=_0x35d3a5[_0x500e28(0x36a)]()[0x0],_0x4d501c=_0x35d3a5['getSheetBySheetId'](_0x26c149);if(!_0x4d501c)return;this[_0x500e28(0x188)](_0x4d501c,!0x0),await this[_0x500e28(0x223)][_0x500e28(0x37e)](_0x11cdbd[_0x500e28(0x1d1)]['id'],{'unitId':_0x35d3a5[_0x500e28(0x41d)](),'subUnitId':_0x26c149});return;}((_0x546259=_0x35d3a5[_0x500e28(0x1d4)]())==null?void 0x0:_0x546259[_0x500e28(0x190)]())!==_0x29a19f&&await this['_commandService'][_0x500e28(0x37e)](_0x11cdbd[_0x500e28(0x1d1)]['id'],{'unitId':_0x35d3a5['getUnitId'](),'subUnitId':_0x29a19f});}},_0x38ae7f['CollaborationDataLoaderController']=_0x384cd0([_0x27661a(0x0,_0x4d5ea0),_0x27661a(0x1,_0x295c8f['ILogService']),_0x27661a(0x2,_0x295c8f[_0xce3cd0(0x2f7)]),_0x27661a(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c['DataLoaderService'])),_0x27661a(0x4,_0x295c8f[_0xce3cd0(0x246)](_0x7417fd[_0xce3cd0(0x1ec)]))],_0x38ae7f[_0xce3cd0(0x3a3)]);var _0x4160b3=Object[_0xce3cd0(0x3e7)],_0x2cddee=(_0x287b73,_0x4f6173,_0x48b3bc,_0x262c78)=>{const _0x3248dc=_0xce3cd0;for(var _0x58e23a=_0x262c78>0x1?void 0x0:_0x262c78?_0x4160b3(_0x4f6173,_0x48b3bc):_0x4f6173,_0x16d628=_0x287b73[_0x3248dc(0x37b)]-0x1,_0x15793d;_0x16d628>=0x0;_0x16d628--)(_0x15793d=_0x287b73[_0x16d628])&&(_0x58e23a=_0x15793d(_0x58e23a)||_0x58e23a);return _0x58e23a;},_0x4d8e59=(_0x701ee4,_0x1fa068)=>(_0x5ca488,_0x54efbc)=>_0x1fa068(_0x5ca488,_0x54efbc,_0x701ee4);let _0x2605d0=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x39f5bb,_0x4ffb92){const _0x10fd28=_0xce3cd0;super(),this[_0x10fd28(0x277)]=_0x39f5bb,this[_0x10fd28(0x172)]=_0x4ffb92,this['_init']();}[_0xce3cd0(0x30d)](){const _0x52db43=_0xce3cd0,_0x42a989=this;this[_0x52db43(0x43c)](this[_0x52db43(0x277)][_0x52db43(0x41f)]({'onBeforePasteImage':async _0x35389a=>{const _0x30d229=_0x52db43,_0x5e629a=await _0x42a989[_0x30d229(0x172)][_0x30d229(0x1d2)](_0x35389a);return _0x5e629a?{'source':_0x5e629a[_0x30d229(0x31f)],'imageSourceType':_0x5e629a['imageSourceType']}:null;}}));}};_0x2605d0=_0x2cddee([_0x4d8e59(0x0,_0x442538[_0xce3cd0(0x1f3)]),_0x4d8e59(0x1,_0x4b8ddd['IImageIoService'])],_0x2605d0);const _0x26d105=['purple.300',_0xce3cd0(0x193),'green.600',_0xce3cd0(0x23b),_0xce3cd0(0x346),_0xce3cd0(0x1a9)];class _0x12f6f6 extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(){const _0x2c32aa=_0xce3cd0;super(...arguments),_0xef452e(this,_0x2c32aa(0x351),new Map()),_0xef452e(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x31656d){const _0x51630d=_0xce3cd0;if(this[_0x51630d(0x351)]['has'](_0x31656d))return this[_0x51630d(0x351)][_0x51630d(0x3fa)](_0x31656d);const _0x9e8588=_0x26d105[this['_colorIndex']];return this[_0x51630d(0x304)]=(this[_0x51630d(0x304)]+0x1)%_0x26d105[_0x51630d(0x37b)],this[_0x51630d(0x351)][_0x51630d(0x427)](_0x31656d,_0x9e8588),_0x9e8588;}}function _0x301d3e(_0x2a7732){const _0x47ba29=_0xce3cd0;let _0xa87218='';for(const _0x25d0e0 of _0x2a7732){const {startOffset:_0x3c17ae,endOffset:_0x33cdea,isActive:_0xbe2799,rangeType:_0x11584d,segmentId:_0x2b3d10,segmentPage:_0x5dd8d7}=_0x25d0e0;_0xa87218[_0x47ba29(0x37b)]&&(_0xa87218+=','),_0xa87218+=_0x3c17ae+':'+_0x33cdea+':'+(_0xbe2799?'1':'0')+':'+_0x11584d+':'+_0x2b3d10+':'+_0x5dd8d7;}return _0xa87218;}function _0x1cba71(_0x34de07){const _0xed982c=_0xce3cd0,_0xea47b8=_0x34de07[_0xed982c(0x297)](','),_0x32baa9=[];for(const _0x1c9e4b of _0xea47b8){const [_0x2e637b,_0x29ec4a,_0x1e76dd,_0x220286,_0x5e945b,_0xdb14be]=_0x1c9e4b[_0xed982c(0x297)](':');_0x32baa9['push']({'startOffset':Number(_0x2e637b),'endOffset':Number(_0x29ec4a),'collapsed':_0x2e637b===_0x29ec4a,'isActive':_0x1e76dd==='1','rangeType':_0x220286===_0x295c8f[_0xed982c(0x3b3)][_0xed982c(0x167)]?_0x295c8f[_0xed982c(0x3b3)]['TEXT']:_0x295c8f[_0xed982c(0x3b3)][_0xed982c(0x1f7)],'segmentId':typeof _0x5e945b==_0xed982c(0x240)?String(_0x5e945b):'','segmentPage':Number(_0xdb14be!=null?_0xdb14be:-0x1)});}return _0x32baa9[_0xed982c(0x3db)](_0x7e5f22=>_0x7e5f22['isActive'])||(_0x32baa9[0x0][_0xed982c(0x1c9)]=!0x0),_0x32baa9;}class _0x109a2a extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(){const _0x5b5dfb=_0xce3cd0;super(...arguments),_0xef452e(this,_0x5b5dfb(0x2fa),new _0x58c226[(_0x5b5dfb(0x43b))](null)),_0xef452e(this,_0x5b5dfb(0x318),this['_collabCursorState$']['asObservable']());}[_0xce3cd0(0x1cb)](_0x1d9841){const _0x3b6f57=_0xce3cd0,{unitID:_0x2f7729,memberID:_0x378cc9,textRanges:_0x77624d}=_0x1d9841,_0x551550=_0x301d3e(_0x77624d);if(_0x551550==='')return;const _0x8dc6b7={'unitID':_0x2f7729,'memberID':_0x378cc9,'selection':_0x551550};this[_0x3b6f57(0x2fa)][_0x3b6f57(0x173)](_0x8dc6b7);}}var _0x1217a1=Object['getOwnPropertyDescriptor'],_0x17d20c=(_0x1b0406,_0x1ba3d1,_0x15e698,_0x3b0887)=>{const _0x48d89f=_0xce3cd0;for(var _0x629fc0=_0x3b0887>0x1?void 0x0:_0x3b0887?_0x1217a1(_0x1ba3d1,_0x15e698):_0x1ba3d1,_0x4f8ed5=_0x1b0406[_0x48d89f(0x37b)]-0x1,_0x39c88f;_0x4f8ed5>=0x0;_0x4f8ed5--)(_0x39c88f=_0x1b0406[_0x4f8ed5])&&(_0x629fc0=_0x39c88f(_0x629fc0)||_0x629fc0);return _0x629fc0;},_0x2aea2f=(_0x23c91b,_0x57ba93)=>(_0x34969c,_0x2da253)=>_0x57ba93(_0x34969c,_0x2da253,_0x23c91b);const _0x25d219=0x12c,_0x37b944=0x64;let _0x26931f=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x28613b,_0x253918,_0x4a49c4,_0x7cec1d,_0x17315a,_0x53e097,_0x272aca,_0x1f6afa,_0x3b0f0b){const _0x12baa6=_0xce3cd0;super(),_0xef452e(this,_0x12baa6(0x452),!0x1),_0xef452e(this,_0x12baa6(0x30d),!0x1),_0xef452e(this,'_cursorInfo$',new _0x58c226[(_0x12baa6(0x43b))](new Map())),_0xef452e(this,'cursorInfo$',this[_0x12baa6(0x222)]['asObservable']()),_0xef452e(this,_0x12baa6(0x37f),new _0x58c226['BehaviorSubject']([])),_0xef452e(this,_0x12baa6(0x2ce),this[_0x12baa6(0x37f)][_0x12baa6(0x2de)](_0x58c226['debounceTime'](_0x25d219))),_0xef452e(this,'_updateLocalCursor',_0x295c8f['debounce'](_0x376dfb=>{const _0x3132e1=_0x12baa6,_0xc36cba={'eventID':_0x143a87[_0x3132e1(0x270)][_0x3132e1(0x211)],'data':{'unitID':this[_0x3132e1(0x445)],'memberID':this['_session'][_0x3132e1(0x192)](),'selection':_0x301d3e(_0x376dfb)}};this[_0x3132e1(0x3d1)]['send'](_0xc36cba,this[_0x3132e1(0x445)]);},_0x37b944)),(this[_0x12baa6(0x445)]=_0x28613b,this[_0x12baa6(0x3d1)]=_0x253918,this['_injector']=_0x4a49c4,this[_0x12baa6(0x3c8)]=_0x7cec1d,this[_0x12baa6(0x2dd)]=_0x17315a,this[_0x12baa6(0x278)]=_0x53e097,this[_0x12baa6(0x3d4)]=_0x272aca,this[_0x12baa6(0x2a9)]=_0x1f6afa,this[_0x12baa6(0x223)]=_0x3b0f0b);}get['cursorInfo'](){const _0x207a68=_0xce3cd0;return this[_0x207a68(0x222)][_0x207a68(0x2a1)]();}get[_0xce3cd0(0x3d2)](){const _0x41a265=_0xce3cd0;return this[_0x41a265(0x37f)]['getValue']();}[_0xce3cd0(0x2a7)](){const _0x4dc6f3=_0xce3cd0;super['dispose'](),this[_0x4dc6f3(0x222)][_0x4dc6f3(0x173)](new Map()),this['_cursorInfo$'][_0x4dc6f3(0x3f8)](),this['_roomMembers$'][_0x4dc6f3(0x173)]([]),this[_0x4dc6f3(0x37f)][_0x4dc6f3(0x3f8)]();}[_0xce3cd0(0x402)](){const _0x389281=_0xce3cd0;this[_0x389281(0x30d)]||(this[_0x389281(0x30d)]=!0x0,this[_0x389281(0x3d1)][_0x389281(0x27e)][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this[_0x389281(0x269)]))[_0x389281(0x17f)](_0xd2abc8=>{const _0x452aa0=_0x389281;_0xd2abc8===_0x2cb61c[_0x452aa0(0x39f)][_0x452aa0(0x3e3)]?this[_0x452aa0(0x336)]():this['_toggleOffline']();}),this[_0x389281(0x3d1)][_0x389281(0x449)][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this['dispose$']))[_0x389281(0x17f)](_0x1a1bd6=>{const _0x1d3061=_0x389281,_0x169643=_0x1a1bd6[_0x1d3061(0x191)];_0x169643===_0x143a87[_0x1d3061(0x270)]['UPDATE_CURSOR']&&this[_0x1d3061(0x2b3)](_0x1a1bd6),_0x169643===_0x143a87[_0x1d3061(0x270)][_0x1d3061(0x227)]&&this[_0x1d3061(0x41c)](_0x1a1bd6);}),this['disposeWithMe'](this[_0x389281(0x223)]['onCommandExecuted'](_0x4cc502=>{const _0x336d7e=_0x389281,_0x391e47=_0x4cc502[_0x336d7e(0x275)];_0x391e47!=null&&this['_online']&&_0x4cc502['id']===_0x400651[_0x336d7e(0x3c6)]['id']&&_0x391e47[_0x336d7e(0x34f)]===this[_0x336d7e(0x445)]&&_0x391e47[_0x336d7e(0x219)]===!0x1&&_0x391e47[_0x336d7e(0x416)]['length']>0x0&&this['_updateLocalCursor'](_0x391e47[_0x336d7e(0x416)]);})),this[_0x389281(0x278)]['collabCursorState$'][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this[_0x389281(0x269)]))[_0x389281(0x17f)](_0x5cfe4a=>{const _0xbb4229=_0x389281;if((_0x5cfe4a==null?void 0x0:_0x5cfe4a['unitID'])!==this[_0xbb4229(0x445)])return;const _0x55800a={'eventID':_0x143a87[_0xbb4229(0x270)][_0xbb4229(0x211)],'data':_0x5cfe4a};this[_0xbb4229(0x2b3)](_0x55800a);}),this[_0x389281(0x43c)](this['_commandService']['onCommandExecuted'](_0xd1e073=>{const _0x34db72=_0x389281;if(_0xd1e073[_0x34db72(0x275)]==null)return;const _0x88da28=_0xd1e073[_0x34db72(0x275)];if(_0xd1e073['id']!==_0x400651['RichTextEditingMutation']['id']||_0x88da28[_0x34db72(0x34f)]!==this[_0x34db72(0x445)])return;const _0x5d772e={'id':_0x34db72(0x20d),'params':_0x88da28},_0xa7a6bc=this[_0x34db72(0x386)];for(const [_0x509664,_0x5b37b4]of _0xa7a6bc){const _0x4cba2c={'id':_0x34db72(0x20d),'params':{'unitId':this[_0x34db72(0x445)],'actions':null,'textRanges':_0x5b37b4[_0x34db72(0x416)]}},_0x1efc27=this[_0x34db72(0x3d4)][_0x34db72(0x25f)](_0x5d772e,_0x4cba2c,!0x1);if(_0x143a87[_0x34db72(0x44d)](_0x1efc27))throw _0x1efc27[_0x34db72(0x1b1)];_0xa7a6bc[_0x34db72(0x427)](_0x509664,{..._0x5b37b4,'ranges':_0x1efc27[_0x34db72(0x40c)][_0x34db72(0x275)][_0x34db72(0x1c5)]});}queueMicrotask(()=>{const _0x3cc0c0=_0x34db72;this[_0x3cc0c0(0x222)][_0x3cc0c0(0x173)](_0xa7a6bc);});})));}['_onCursorUpdate'](_0x206e92){const _0x205c61=_0xce3cd0;var _0x47183e,_0x3a8537;const {memberID:_0x457677,selection:_0x29d696}=_0x206e92[_0x205c61(0x31b)],_0x2acb2b=_0x1cba71(_0x29d696),_0x599991=(_0x3a8537=(_0x47183e=this['_memberService']['getMember'](this[_0x205c61(0x445)],_0x457677))==null?void 0x0:_0x47183e['name'])!=null?_0x3a8537:_0x205c61(0x2f9),_0x5ef8da={'color':this[_0x205c61(0x3c8)][_0x205c61(0x2c8)](_0x457677),'name':_0x599991,'ranges':_0x2acb2b},_0x528bac=this[_0x205c61(0x386)];_0x528bac[_0x205c61(0x427)](_0x457677,_0x5ef8da),this[_0x205c61(0x222)][_0x205c61(0x173)](_0x528bac);}['_onCursorDelete'](_0x1a4157){const _0x1f7265=_0xce3cd0,{memberID:_0x4cbf3f}=_0x1a4157['data'],_0x474a8d=this[_0x1f7265(0x386)];_0x474a8d[_0x1f7265(0x434)](_0x4cbf3f),this[_0x1f7265(0x222)]['next'](_0x474a8d);}[_0xce3cd0(0x336)](){const _0x526272=_0xce3cd0;var _0x372550;if(this[_0x526272(0x452)]=!0x0,((_0x372550=this[_0x526272(0x2a9)][_0x526272(0x438)]())==null?void 0x0:_0x372550[_0x526272(0x41d)]())!==this[_0x526272(0x445)])return;const _0x37966f=this['_injector'][_0x526272(0x3fa)](_0x400651['DocSelectionManagerService'])[_0x526272(0x340)]();Array['isArray'](_0x37966f)&&_0x37966f[_0x526272(0x37b)]>0x0&&this[_0x526272(0x252)](_0x37966f);}[_0xce3cd0(0x39e)](){const _0x3da4f8=_0xce3cd0;this[_0x3da4f8(0x452)]=!0x1;}};_0x26931f=_0x17d20c([_0x2aea2f(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0x2aea2f(0x3,_0x295c8f['Inject'](_0x12f6f6)),_0x2aea2f(0x4,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x331)])),_0x2aea2f(0x5,_0x295c8f['Inject'](_0x109a2a)),_0x2aea2f(0x6,_0x143a87[_0xce3cd0(0x169)]),_0x2aea2f(0x7,_0x295c8f[_0xce3cd0(0x16f)]),_0x2aea2f(0x8,_0x295c8f[_0xce3cd0(0x2f7)])],_0x26931f);var _0x17682e=Object['getOwnPropertyDescriptor'],_0x40f581=(_0x6d8f40,_0xa7d637,_0x34ceed,_0x4c200c)=>{const _0x5c22c0=_0xce3cd0;for(var _0x3c7cbe=_0x4c200c>0x1?void 0x0:_0x4c200c?_0x17682e(_0xa7d637,_0x34ceed):_0xa7d637,_0x1a8a6b=_0x6d8f40[_0x5c22c0(0x37b)]-0x1,_0x18ee78;_0x1a8a6b>=0x0;_0x1a8a6b--)(_0x18ee78=_0x6d8f40[_0x1a8a6b])&&(_0x3c7cbe=_0x18ee78(_0x3c7cbe)||_0x3c7cbe);return _0x3c7cbe;},_0x5047af=(_0x379322,_0x1f9535)=>(_0x4647d8,_0x475866)=>_0x1f9535(_0x4647d8,_0x475866,_0x379322);const _0x33a122=0x12c,_0x734b93=0x64,_0x46878f=()=>{let _0x24b056=[],_0x33feea=!0x1;return _0x3cc91b=>{const _0x7e9f02=_0x2541;_0x24b056[_0x7e9f02(0x44a)](_0x3cc91b),_0x33feea||(_0x33feea=!0x0,setTimeout(()=>{const _0x515b56=_0x7e9f02;_0x24b056[_0x515b56(0x2e5)](_0x4932c2=>_0x4932c2()),_0x24b056=[],_0x33feea=!0x1;}));};};let _0x58f9eb=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x2c82b5,_0x6a652f,_0x49f4ff,_0x45c455,_0x271ca5,_0x3472fe,_0x4b8662,_0x2ff415){const _0x5c7c92=_0xce3cd0;super(),_0xef452e(this,_0x5c7c92(0x452),!0x1),_0xef452e(this,_0x5c7c92(0x30d),!0x1),_0xef452e(this,_0x5c7c92(0x222),new _0x58c226['BehaviorSubject'](new Map())),_0xef452e(this,_0x5c7c92(0x40e),this[_0x5c7c92(0x222)][_0x5c7c92(0x26d)]()),_0xef452e(this,_0x5c7c92(0x37f),new _0x58c226[(_0x5c7c92(0x43b))]([])),_0xef452e(this,_0x5c7c92(0x2ce),this[_0x5c7c92(0x37f)][_0x5c7c92(0x2de)](_0x58c226['debounceTime'](_0x33a122))),_0xef452e(this,_0x5c7c92(0x252),_0x295c8f[_0x5c7c92(0x247)]((_0x295c2f,_0xbdbb48)=>{const _0x33a7b9=_0x5c7c92,_0x30c2b5={'eventID':_0x143a87[_0x33a7b9(0x270)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x33a7b9(0x445)],'memberID':this[_0x33a7b9(0x3d1)][_0x33a7b9(0x192)](),'selection':_0x218d3f[_0x33a7b9(0x28e)](_0x295c2f,_0xbdbb48['range'])}};this[_0x33a7b9(0x3d1)][_0x33a7b9(0x33d)](_0x30c2b5,this[_0x33a7b9(0x445)]);},_0x734b93)),(this['unitID']=_0x2c82b5,this[_0x5c7c92(0x3d1)]=_0x6a652f,this[_0x5c7c92(0x1f6)]=_0x49f4ff,this[_0x5c7c92(0x3c8)]=_0x45c455,this[_0x5c7c92(0x2dd)]=_0x271ca5,this['_univerInstanceService']=_0x3472fe,this[_0x5c7c92(0x223)]=_0x4b8662,this['_refRangeService']=_0x2ff415);}get[_0xce3cd0(0x386)](){const _0x42525b=_0xce3cd0;return this[_0x42525b(0x222)][_0x42525b(0x2a1)]();}get['roomMembers'](){const _0x4cabff=_0xce3cd0;return this['_roomMembers$'][_0x4cabff(0x2a1)]();}[_0xce3cd0(0x2a7)](){const _0x17588c=_0xce3cd0;super[_0x17588c(0x2a7)](),this['_cursorInfo$'][_0x17588c(0x173)](new Map()),this[_0x17588c(0x222)][_0x17588c(0x3f8)](),this[_0x17588c(0x37f)][_0x17588c(0x173)]([]),this['_roomMembers$'][_0x17588c(0x3f8)]();}[_0xce3cd0(0x402)](){const _0x5f5c54=_0xce3cd0;this['_init']||(this[_0x5f5c54(0x30d)]=!0x0,this['_session'][_0x5f5c54(0x27e)][_0x5f5c54(0x2de)](_0x58c226['takeUntil'](this[_0x5f5c54(0x269)]))['subscribe'](_0x21564e=>{const _0x18fe22=_0x5f5c54;_0x21564e===_0x2cb61c[_0x18fe22(0x39f)][_0x18fe22(0x3e3)]?this[_0x18fe22(0x336)]():this[_0x18fe22(0x39e)]();}),this[_0x5f5c54(0x3d1)][_0x5f5c54(0x449)][_0x5f5c54(0x2de)](_0x58c226[_0x5f5c54(0x15a)](this['dispose$']))[_0x5f5c54(0x17f)](_0x56419f=>{const _0x3c1e30=_0x5f5c54,_0x563f6c=_0x56419f[_0x3c1e30(0x191)];_0x563f6c===_0x143a87['CollaborationEvent'][_0x3c1e30(0x211)]&&this[_0x3c1e30(0x2b3)](_0x56419f),_0x563f6c===_0x143a87['CollaborationEvent'][_0x3c1e30(0x227)]&&this['_onCursorDelete'](_0x56419f);}),this[_0x5f5c54(0x236)](),this[_0x5f5c54(0x43c)](this[_0x5f5c54(0x223)][_0x5f5c54(0x19c)](_0x89f39=>{const _0x1c318f=_0x5f5c54;if(this[_0x1c318f(0x452)]&&_0x89f39['id']===_0x11cdbd[_0x1c318f(0x198)]['id']&&_0x89f39[_0x1c318f(0x275)][_0x1c318f(0x34f)]===this[_0x1c318f(0x445)]){const _0xc3c75d=_0x89f39[_0x1c318f(0x275)];this[_0x1c318f(0x252)](_0xc3c75d[_0x1c318f(0x1cc)],_0xc3c75d[_0x1c318f(0x42c)][0x0]);}})));}[_0xce3cd0(0x2b3)](_0x5a419c){const _0x451e42=_0xce3cd0;var _0x435364,_0x37b1a8;const {memberID:_0x553906,selection:_0x66a661}=_0x5a419c[_0x451e42(0x31b)],{sheetName:_0x497c51,range:_0x157e4f}=_0x218d3f[_0x451e42(0x3dd)](_0x66a661),_0x233076={'name':(_0x37b1a8=(_0x435364=this[_0x451e42(0x2dd)][_0x451e42(0x338)](this[_0x451e42(0x445)],_0x553906))==null?void 0x0:_0x435364['name'])!=null?_0x37b1a8:_0x451e42(0x2f9),'range':this[_0x451e42(0x29a)](_0x497c51,_0x157e4f),'sheetID':_0x497c51,'color':this['_colorAssignService'][_0x451e42(0x2c8)](_0x553906),'selection':_0x66a661},_0x1fee27=this[_0x451e42(0x386)];_0x1fee27[_0x451e42(0x427)](_0x553906,_0x233076),this[_0x451e42(0x222)]['next'](_0x1fee27);}[_0xce3cd0(0x41c)](_0x450873){const _0x35468d=_0xce3cd0,{memberID:_0x8d9b2e}=_0x450873[_0x35468d(0x31b)],_0x40d7db=this[_0x35468d(0x386)];_0x40d7db[_0x35468d(0x434)](_0x8d9b2e),this[_0x35468d(0x222)]['next'](_0x40d7db);}[_0xce3cd0(0x29a)](_0x190af2,_0x1bd7a4){const _0x56f3da=_0xce3cd0;var _0x596afc,_0x2dd375;const _0x2aac4a=(_0x2dd375=(_0x596afc=this[_0x56f3da(0x2a9)][_0x56f3da(0x200)](this[_0x56f3da(0x445)]))==null?void 0x0:_0x596afc[_0x56f3da(0x411)](_0x190af2))==null?void 0x0:_0x2dd375[_0x56f3da(0x16e)]();return(_0x2aac4a==null?void 0x0:_0x2aac4a[_0x56f3da(0x37a)](_0x290a26=>_0x295c8f['Rectangle'][_0x56f3da(0x194)](_0x290a26,_0x1bd7a4)))||_0x1bd7a4;}[_0xce3cd0(0x236)](){const _0x217e82=_0xce3cd0,_0x2e654b=new _0x295c8f[(_0x217e82(0x15d))](),_0x228761=_0x46878f(),_0x295167=()=>{const _0x4993c5=_0x217e82;_0x2e654b[_0x4993c5(0x2a7)]();const _0x3149c1=(_0x1e33db,_0x326240,_0x1fb120,_0x37c7e4)=>{const _0x4c980=_0x4993c5;let _0x4630a4=[];switch(_0x1e33db['id']){case _0x11cdbd['EffectRefRangId'][_0x4c980(0x45b)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x44c)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x21d)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x36e)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x2c6)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x170)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x3ac)]:{_0x4630a4=_0x11cdbd['handleInsertRangeMoveDown'](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x262)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x250)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x1ea)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x22f)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x366)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x1c3)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x3e9)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x325)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)]['RemoveRowCommandId']:{_0x4630a4=_0x11cdbd['handleIRemoveRow'](_0x1e33db,_0x37c7e4);break;}}const _0x594535=_0x11cdbd[_0x4c980(0x365)](_0x4630a4,_0x37c7e4),_0x14b879=this['cursorInfo']['get'](_0x326240);if(_0x14b879&&_0x594535){const _0x4ff172={..._0x14b879,'range':_0x594535};this[_0x4c980(0x386)]['set'](_0x326240,_0x4ff172),_0x228761(()=>{const _0x34977b=_0x4c980,_0x3ade97=this['_refRangeService'][_0x34977b(0x333)](_0x594535,_0x28a63c=>(_0x3ade97[_0x34977b(0x2a7)](),_0x3149c1(_0x28a63c,_0x326240,_0x1fb120,_0x594535)));_0x2e654b[_0x34977b(0x3f9)](_0x3ade97);});}return{'redos':[],'undos':[]};};this[_0x4993c5(0x386)][_0x4993c5(0x2e5)]((_0x17ea93,_0x1083fb)=>{const _0x234952=_0x4993c5,{range:_0x56e4a9,sheetID:_0x26ae98}=_0x17ea93,_0x573a02=this['_refRangeService']['registerRefRange'](_0x56e4a9,_0xac5e1b=>(_0x573a02[_0x234952(0x2a7)](),_0x3149c1(_0xac5e1b,_0x1083fb,_0x26ae98,_0x56e4a9)));_0x2e654b['add'](_0x573a02);});};this['disposeWithMe'](_0x295c8f[_0x217e82(0x239)](this[_0x217e82(0x222)][_0x217e82(0x17f)](()=>{_0x295167();})));}[_0xce3cd0(0x336)](){const _0x3f39a8=_0xce3cd0;var _0x4573d1,_0x2b47f2;if(this[_0x3f39a8(0x452)]=!0x0,((_0x4573d1=this[_0x3f39a8(0x2a9)][_0x3f39a8(0x438)]())==null?void 0x0:_0x4573d1[_0x3f39a8(0x41d)]())!==this[_0x3f39a8(0x445)])return;const _0x1d90d3=(_0x2b47f2=this[_0x3f39a8(0x1f6)][_0x3f39a8(0x3fa)](_0x11cdbd[_0x3f39a8(0x2a3)])[_0x3f39a8(0x3c5)]())==null?void 0x0:_0x2b47f2[0x0],_0x3dbe0e=this[_0x3f39a8(0x2a9)]['getCurrentUnitForType'](_0x295c8f[_0x3f39a8(0x1f4)][_0x3f39a8(0x441)])[_0x3f39a8(0x1d4)]();_0x1d90d3&&_0x3dbe0e&&this['_updateLocalCursor'](_0x3dbe0e[_0x3f39a8(0x190)](),_0x1d90d3);}[_0xce3cd0(0x39e)](){const _0x1064ad=_0xce3cd0;this[_0x1064ad(0x452)]=!0x1;}};_0x58f9eb=_0x40f581([_0x5047af(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x5047af(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x12f6f6)),_0x5047af(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x331)])),_0x5047af(0x5,_0x295c8f['IUniverInstanceService']),_0x5047af(0x6,_0x295c8f[_0xce3cd0(0x2f7)]),_0x5047af(0x7,_0x295c8f[_0xce3cd0(0x2fb)](_0x11cdbd[_0xce3cd0(0x1bc)]))],_0x58f9eb);var _0x5bc8cd=Object[_0xce3cd0(0x3e7)],_0x7c9f56=(_0xd44b82,_0x193b53,_0x942e3c,_0x429a3f)=>{const _0x1dfbd7=_0xce3cd0;for(var _0x1293c5=_0x429a3f>0x1?void 0x0:_0x429a3f?_0x5bc8cd(_0x193b53,_0x942e3c):_0x193b53,_0x156725=_0xd44b82[_0x1dfbd7(0x37b)]-0x1,_0xae86ad;_0x156725>=0x0;_0x156725--)(_0xae86ad=_0xd44b82[_0x156725])&&(_0x1293c5=_0xae86ad(_0x1293c5)||_0x1293c5);return _0x1293c5;},_0x46612d=(_0x45fd7f,_0x103ce9)=>(_0x30baf1,_0x1d52d0)=>_0x103ce9(_0x30baf1,_0x1d52d0,_0x45fd7f);let _0x150b36=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x10353b,_0x43f11a,_0x47083c){const _0xe8e7f4=_0xce3cd0;super(),_0xef452e(this,_0xe8e7f4(0x1dd),new Map()),_0xef452e(this,_0xe8e7f4(0x283),new _0x58c226[(_0xe8e7f4(0x30e))]()),(this[_0xe8e7f4(0x2a9)]=_0x10353b,this[_0xe8e7f4(0x1f6)]=_0x43f11a,this[_0xe8e7f4(0x17a)]=_0x47083c,this[_0xe8e7f4(0x30d)]());}[_0xce3cd0(0x2a7)](){const _0x40697a=_0xce3cd0;super[_0x40697a(0x2a7)](),this['_entityInit$']['complete'](),this[_0x40697a(0x1dd)][_0x40697a(0x2e5)](_0x48f977=>_0x48f977['dispose']());}[_0xce3cd0(0x28a)](_0x1cd312){const _0x50f225=_0xce3cd0;return this[_0x50f225(0x1dd)][_0x50f225(0x2d5)](_0x1cd312)?this['_entities'][_0x50f225(0x3fa)](_0x1cd312)[_0x50f225(0x40e)]:this[_0x50f225(0x283)][_0x50f225(0x2de)](_0x58c226['filter'](_0x46a17e=>_0x46a17e['unitID']===_0x1cd312),_0x58c226['switchMap'](_0x32dcc1=>_0x32dcc1[_0x50f225(0x40e)]));}[_0xce3cd0(0x30d)](){const _0xcfb988=_0xce3cd0;this['_univerInstanceService'][_0xcfb988(0x18d)](_0x295c8f[_0xcfb988(0x1f4)]['UNIVER_SHEET'])['pipe'](_0x58c226[_0xcfb988(0x15a)](this[_0xcfb988(0x269)]))[_0xcfb988(0x17f)](async _0x33769b=>{const _0x515370=_0xcfb988,_0x2cdc21=_0x33769b[_0x515370(0x41d)](),_0x4394eb=await this[_0x515370(0x32a)](_0x2cdc21);this[_0x515370(0x283)][_0x515370(0x173)](_0x4394eb),this[_0x515370(0x1dd)]['set'](_0x2cdc21,_0x4394eb);}),this[_0xcfb988(0x2a9)]['getTypeOfUnitAdded$'](_0x295c8f[_0xcfb988(0x1f4)][_0xcfb988(0x308)])[_0xcfb988(0x2de)](_0x58c226[_0xcfb988(0x15a)](this['dispose$']))[_0xcfb988(0x2de)](_0x58c226[_0xcfb988(0x1cd)](_0x1d6322=>!_0x1d6322[_0xcfb988(0x41d)]()[_0xcfb988(0x2a6)]('__')))[_0xcfb988(0x17f)](async _0x2d8413=>{const _0x3b3dae=_0xcfb988,_0x11c07b=_0x2d8413[_0x3b3dae(0x41d)](),_0x39efda=await this[_0x3b3dae(0x2a8)](_0x11c07b);this[_0x3b3dae(0x283)][_0x3b3dae(0x173)](_0x39efda),this[_0x3b3dae(0x1dd)]['set'](_0x11c07b,_0x39efda);}),_0x58c226[_0xcfb988(0x432)](this[_0xcfb988(0x2a9)][_0xcfb988(0x381)](_0x295c8f[_0xcfb988(0x1f4)][_0xcfb988(0x308)]),this['_univerInstanceService'][_0xcfb988(0x381)](_0x295c8f['UniverInstanceType'][_0xcfb988(0x441)]))['pipe'](_0x58c226[_0xcfb988(0x15a)](this['dispose$']))[_0xcfb988(0x17f)](_0x17b99a=>{const _0x22780f=_0xcfb988,_0x4da580=_0x17b99a[_0x22780f(0x41d)](),_0x327fd1=this[_0x22780f(0x1dd)][_0x22780f(0x3fa)](_0x4da580);_0x327fd1&&(_0x327fd1[_0x22780f(0x2a7)](),this[_0x22780f(0x1dd)]['delete'](_0x4da580));});}async[_0xce3cd0(0x32a)](_0x488c43){const _0x41b422=_0xce3cd0,_0x12c415=await this['_collabSessionService'][_0x41b422(0x302)](_0x488c43),_0x12d132=this[_0x41b422(0x1f6)][_0x41b422(0x408)](_0x58f9eb,_0x488c43,_0x12c415);return _0x12d132[_0x41b422(0x402)](),_0x12d132;}async['_startDocCollabCursor'](_0x22328f){const _0x3d6ebe=_0xce3cd0,_0xea72e7=await this[_0x3d6ebe(0x17a)][_0x3d6ebe(0x302)](_0x22328f),_0x506556=this[_0x3d6ebe(0x1f6)][_0x3d6ebe(0x408)](_0x26931f,_0x22328f,_0xea72e7);return _0x506556['init'](),_0x506556;}};_0x150b36=_0x7c9f56([_0x46612d(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0x46612d(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x46612d(0x2,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x1c6)]))],_0x150b36);const _0x490e44=0x14,_0x25b1d6=0xc8,_0x150591=0x4,_0x5dba56=0x5;function _0x1b2ab7(_0x244c95,_0x3ff72b){const _0x4fbf7e=_0xce3cd0;let {radius:_0x3b9e50,width:_0x48e155,height:_0x295e22}=_0x3ff72b;_0x3b9e50=_0x3b9e50!=null?_0x3b9e50:0x0,_0x48e155=_0x48e155!=null?_0x48e155:0x1e,_0x295e22=_0x295e22!=null?_0x295e22:0x1e;let _0x3d7294=0x0,_0xfdbfa7=0x0,_0x1f1ad0=0x0;_0x3d7294=_0xfdbfa7=_0x1f1ad0=Math[_0x4fbf7e(0x199)](_0x3b9e50,_0x48e155/0x2,_0x295e22/0x2),_0x244c95[_0x4fbf7e(0x410)](),_0x244c95[_0x4fbf7e(0x3bf)](_0x3d7294,0x0),_0x244c95[_0x4fbf7e(0x20e)](_0x48e155-_0xfdbfa7,0x0),_0x244c95[_0x4fbf7e(0x20c)](_0x48e155-_0xfdbfa7,_0xfdbfa7,_0xfdbfa7,Math['PI']*0x3/0x2,0x0,!0x1),_0x244c95[_0x4fbf7e(0x20e)](_0x48e155,_0x295e22-_0x1f1ad0),_0x244c95[_0x4fbf7e(0x20c)](_0x48e155-_0x1f1ad0,_0x295e22-_0x1f1ad0,_0x1f1ad0,0x0,Math['PI']/0x2,!0x1),_0x244c95[_0x4fbf7e(0x20e)](0x0,_0x295e22),_0x244c95[_0x4fbf7e(0x20e)](0x0,_0x3d7294),_0x244c95['arc'](_0x3d7294,_0x3d7294,_0x3d7294,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x244c95[_0x4fbf7e(0x2e8)](),_0x3ff72b[_0x4fbf7e(0x185)]&&(_0x244c95[_0x4fbf7e(0x34c)](),_0x244c95[_0x4fbf7e(0x339)]=_0x3ff72b[_0x4fbf7e(0x185)],_0x3ff72b[_0x4fbf7e(0x1fb)]===_0x4fbf7e(0x3b6)?_0x244c95[_0x4fbf7e(0x185)](_0x4fbf7e(0x3b6)):_0x244c95[_0x4fbf7e(0x185)](),_0x244c95[_0x4fbf7e(0x31c)]());}class _0x2dd573 extends _0x8db91b['Shape']{constructor(_0x1c68fa,_0x2bf2a6){const _0x97656a=_0xce3cd0;super(_0x1c68fa,_0x2bf2a6),_0xef452e(this,_0x97656a(0x374)),_0xef452e(this,_0x97656a(0x265)),(this[_0x97656a(0x374)]=_0x2bf2a6==null?void 0x0:_0x2bf2a6[_0x97656a(0x374)],this[_0x97656a(0x265)]=_0x2bf2a6==null?void 0x0:_0x2bf2a6['text']);}static[_0xce3cd0(0x29d)](_0x2841b6,_0xb9e197){const _0x3e07cf=_0xce3cd0,{text:_0x33c895,color:_0x396e98}=_0xb9e197;_0x2841b6[_0x3e07cf(0x34c)](),_0x2841b6[_0x3e07cf(0x1bf)]=_0x3e07cf(0x3ce);const _0x4b5c09=_0x2841b6[_0x3e07cf(0x3ba)](_0x33c895)['width'],_0x1b21e0=Math[_0x3e07cf(0x199)](_0x4b5c09+0x2*_0x150591,_0x25b1d6);_0x1b2ab7(_0x2841b6,{'height':_0x490e44,'radius':0x4,'width':_0x1b21e0,'fill':_0x396e98}),_0x2841b6[_0x3e07cf(0x339)]=_0x3e07cf(0x2cd);const _0x235960=_0x150591,_0x33e57b=_0x490e44-_0x5dba56,_0x554d1e=_0x25b1d6-0x2*_0x150591;if(_0x4b5c09>_0x554d1e){let _0x4b09f4='',_0x38d242=0x0;for(const _0xd90b25 of _0x33c895){const _0x29f9f8=_0x2841b6[_0x3e07cf(0x3ba)](_0xd90b25)[_0x3e07cf(0x38d)];if(_0x38d242+_0x29f9f8<=_0x554d1e-_0x2841b6['measureText'](_0x3e07cf(0x2d7))['width'])_0x4b09f4+=_0xd90b25,_0x38d242+=_0x29f9f8;else{_0x4b09f4+=_0x3e07cf(0x2d7);break;}}_0x2841b6['fillText'](_0x4b09f4,_0x235960,_0x33e57b);}else _0x2841b6[_0x3e07cf(0x450)](_0x33c895,_0x235960,_0x33e57b);_0x2841b6['restore']();}[_0xce3cd0(0x28c)](_0x51a6ae){_0x2dd573['drawWith'](_0x51a6ae,this);}}const _0x6c73a0=_0xce3cd0(0x36f),_0x5d38c5=_0xce3cd0(0x2bd),_0x37de86=_0xce3cd0(0x1ae),_0xe7008e=0x6,_0x293e22=1.5,_0x2fac45=0x4,_0x4b7a68=1.5,_0x3bd6ea=_0xce3cd0(0x3eb);class _0x2211fb{constructor(_0x300ef8,_0x177cbd,_0xacbd90,_0x57c31a){const _0x4af898=_0xce3cd0;_0xef452e(this,_0x4af898(0x3aa),[]),_0xef452e(this,_0x4af898(0x311),null),_0xef452e(this,_0x4af898(0x3cc),null),_0xef452e(this,_0x4af898(0x3e4),null),_0xef452e(this,'_hideTimer',null),_0xef452e(this,_0x4af898(0x433),null),(this[_0x4af898(0x319)]=_0x300ef8,this[_0x4af898(0x315)]=_0x177cbd,this[_0x4af898(0x1fc)]=_0xacbd90,this[_0x4af898(0x423)]=_0x57c31a,this[_0x4af898(0x2ae)]());}set[_0xce3cd0(0x2e6)](_0x1417fc){const _0x12956d=_0xce3cd0;_0x1417fc?(this[_0x12956d(0x3e4)]&&this[_0x12956d(0x3e4)][_0x12956d(0x1a2)](),this[_0x12956d(0x3cc)]&&this[_0x12956d(0x3cc)][_0x12956d(0x1b8)]()):(this['_anchorDot']&&this[_0x12956d(0x3e4)][_0x12956d(0x1b8)](),this[_0x12956d(0x3cc)]&&this['_textBubble'][_0x12956d(0x1a2)]());}['dispose'](){const _0xd9a3cd=_0xce3cd0;for(const _0x4c9a08 of this['_shapes'])_0x4c9a08[_0xd9a3cd(0x2a7)]();this[_0xd9a3cd(0x3cc)]&&this['_textBubble'][_0xd9a3cd(0x2a7)](),this['_anchorDot']&&this[_0xd9a3cd(0x3e4)][_0xd9a3cd(0x2a7)](),this[_0xd9a3cd(0x311)]&&this[_0xd9a3cd(0x311)][_0xd9a3cd(0x2a7)](),this['_eventUnsubscribe']&&this[_0xd9a3cd(0x433)]();}[_0xce3cd0(0x2ae)](){const _0x485f62=_0xce3cd0;var _0x45f003;const {_docSkeleton:_0x58ee39,_document:_0xb134cf}=this,{color:_0x5d3cde,name:_0x53af7c,ranges:_0x28d16a}=this['_cursor'],_0x1d52a8=_0xb134cf[_0x485f62(0x1ba)](),{docsLeft:_0x3e05ea,docsTop:_0x25c36c}=_0x1d52a8,_0x5882fc=new _0x442538[(_0x485f62(0x1da))](_0x1d52a8,_0x58ee39);for(const {startOffset:_0x22188c,endOffset:_0x127fe3,rangeType:_0x28847f,segmentId:_0x195d93,segmentPage:_0x4ee0c1,collapsed:_0x70d9f8,isActive:_0x365e93}of _0x28d16a){const _0x67323=_0x58ee39[_0x485f62(0x267)](_0x22188c,!0x0,_0x195d93,_0x4ee0c1);let _0x1c9849=_0x58ee39[_0x485f62(0x267)](_0x127fe3,!0x0,_0x195d93,_0x4ee0c1);if(_0x1c9849==null&&(_0x1c9849=_0x58ee39[_0x485f62(0x267)](_0x127fe3-0x1,!0x1,_0x195d93,_0x4ee0c1)),_0x365e93){const {contentBoxPointGroup:_0x32ac23}=_0x5882fc[_0x485f62(0x3bd)](_0x1c9849,_0x1c9849);if(_0x32ac23[_0x485f62(0x37b)]===0x0)continue;this[_0x485f62(0x156)](_0x5d3cde,_0x32ac23,_0x3e05ea,_0x25c36c,_0x53af7c),this[_0x485f62(0x433)]=this['_handleHover']();}if(_0x67323&&_0x1c9849){if(_0x28847f===_0x295c8f[_0x485f62(0x3b3)][_0x485f62(0x1f7)]){const _0x298ff0=new _0x442538[(_0x485f62(0x2e7))](_0x1d52a8,_0x58ee39),{pointGroup:_0xedadbc}=(_0x45f003=_0x298ff0[_0x485f62(0x3bd)](_0x67323,_0x1c9849))!=null?_0x45f003:{};if(_0xedadbc==null||_0xedadbc[_0x485f62(0x37b)]===0x0)continue;this['_drawRectRange'](_0x5d3cde,_0xedadbc,_0x3e05ea,_0x25c36c);}else{if(!_0x70d9f8){const {borderBoxPointGroup:_0x217065}=_0x5882fc[_0x485f62(0x3bd)](_0x67323,_0x1c9849);if(_0x217065[_0x485f62(0x37b)]===0x0)continue;this[_0x485f62(0x3c7)](_0x5d3cde,_0x217065,_0x3e05ea,_0x25c36c);}}}}}[_0xce3cd0(0x156)](_0x56137a,_0x766f19,_0x270203,_0x5dbe96,_0x56f925){const _0x7f629e=_0xce3cd0,_0x23ab50=this[_0x7f629e(0x306)](_0x766f19),{left:_0x103df4,top:_0x4f1edc,height:_0xf61bb9}=_0x23ab50,_0x2c2ae5=this[_0x7f629e(0x15c)](),_0x3aa39c=_0x4b7a68/_0x2c2ae5,_0x36215d=new _0x8db91b[(_0x7f629e(0x248))](_0x6c73a0+_0x295c8f[_0x7f629e(0x17e)](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96,'height':_0xf61bb9,'width':_0x293e22,'fill':_0x56137a||_0x8db91b[_0x7f629e(0x245)](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'strokeWidth':_0x3aa39c,'stroke':_0x3bd6ea,'evented':!0x0});this[_0x7f629e(0x311)]=_0x36215d,this[_0x7f629e(0x315)][_0x7f629e(0x2cc)](_0x36215d,_0x442538[_0x7f629e(0x42a)]);const _0x2814be=new _0x8db91b[(_0x7f629e(0x248))](_0x6c73a0+_0x295c8f[_0x7f629e(0x17e)](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96-_0x2fac45/0x2,'height':_0x2fac45,'width':_0x2fac45,'fill':_0x56137a||_0x8db91b[_0x7f629e(0x245)](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x56137a||_0x8db91b['getColor'](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x2814be,this[_0x7f629e(0x315)][_0x7f629e(0x2cc)](_0x2814be,_0x442538['TEXT_RANGE_LAYER_INDEX']);const _0x2143bf=new _0x2dd573(_0x6c73a0+_0x295c8f['generateRandomId'](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96-_0x490e44,'text':_0x56f925,'color':_0x56137a});this[_0x7f629e(0x3cc)]=_0x2143bf,this['_scene'][_0x7f629e(0x2cc)](_0x2143bf,_0x442538[_0x7f629e(0x42a)]),this[_0x7f629e(0x2e6)]=!0x1;}[_0xce3cd0(0x27a)](){const _0x1cb507=_0xce3cd0,_0x65c968=this[_0x1cb507(0x311)]['onPointerEnter$'][_0x1cb507(0x3fe)](()=>{const _0x51f5f0=_0x1cb507;this[_0x51f5f0(0x2e6)]=!0x0;}),_0xfb059f=this[_0x1cb507(0x311)][_0x1cb507(0x407)][_0x1cb507(0x3fe)](()=>{const _0x3b07f1=_0x1cb507;this[_0x3b07f1(0x15b)]&&clearTimeout(this[_0x3b07f1(0x15b)]),this[_0x3b07f1(0x15b)]=setTimeout(()=>{const _0x337e5a=_0x3b07f1;this[_0x337e5a(0x2e6)]=!0x1;},0x7d0);});return()=>{const _0x37eb9d=_0x1cb507;_0x65c968[_0x37eb9d(0x3a9)](),_0xfb059f[_0x37eb9d(0x3a9)]();};}[_0xce3cd0(0x3c7)](_0x157ccf,_0xbeafae,_0x21f046,_0x2ca3a6){const _0x24de1f=_0xce3cd0,_0xa67d1c=new _0x295c8f[(_0x24de1f(0x249))](_0x157ccf)[_0x24de1f(0x1e3)](0.2)['toRgbString'](),_0x1eaf1=new _0x8db91b[(_0x24de1f(0x35b))](_0x5d38c5+_0x295c8f['generateRandomId'](_0xe7008e),{'pointsGroup':_0xbeafae,'fill':_0xa67d1c||_0x8db91b[_0x24de1f(0x245)](_0x295c8f[_0x24de1f(0x260)][_0x24de1f(0x431)],0.2),'left':_0x21f046,'top':_0x2ca3a6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24de1f(0x3aa)][_0x24de1f(0x44a)](_0x1eaf1),this[_0x24de1f(0x315)][_0x24de1f(0x2cc)](_0x1eaf1,_0x442538['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2f921a,_0x3d3a3a,_0x31ab52,_0x2ca5cc){const _0x1869b9=_0xce3cd0,_0x1424fc=new _0x295c8f[(_0x1869b9(0x249))](_0x2f921a)[_0x1869b9(0x1e3)](0.2)[_0x1869b9(0x3ed)](),_0x527570=new _0x8db91b[(_0x1869b9(0x35b))](_0x37de86+_0x295c8f['generateRandomId'](_0xe7008e),{'pointsGroup':_0x3d3a3a,'fill':_0x1424fc||_0x8db91b['getColor'](_0x295c8f[_0x1869b9(0x260)][_0x1869b9(0x431)],0.2),'left':_0x31ab52,'top':_0x2ca5cc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1869b9(0x3aa)][_0x1869b9(0x44a)](_0x527570),this[_0x1869b9(0x315)][_0x1869b9(0x2cc)](_0x527570,_0x442538[_0x1869b9(0x42a)]);}['_getAnchorBounding'](_0x524321){const _0x233ae1=_0x524321[0x0],_0x58df60=_0x233ae1[0x0],_0x1a79a7=_0x233ae1[0x2],{x:_0x4cb847,y:_0x17927b}=_0x58df60,{x:_0x2b0192,y:_0x2413e6}=_0x1a79a7;return{'left':_0x4cb847,'top':_0x17927b,'width':_0x2b0192-_0x4cb847,'height':_0x2413e6-_0x17927b};}['_getScale'](){const _0x486e0f=_0xce3cd0,{scaleX:_0x548e42,scaleY:_0x3f316f}=this[_0x486e0f(0x315)][_0x486e0f(0x1a6)]();return Math['max'](_0x548e42,_0x3f316f);}}var _0x5d2f4d=Object[_0xce3cd0(0x3e7)],_0x388174=(_0x1bb3da,_0x55bca0,_0x107e3d,_0x26d9c4)=>{const _0x2d7aad=_0xce3cd0;for(var _0x5b4cbf=_0x26d9c4>0x1?void 0x0:_0x26d9c4?_0x5d2f4d(_0x55bca0,_0x107e3d):_0x55bca0,_0x289f1b=_0x1bb3da[_0x2d7aad(0x37b)]-0x1,_0x313db3;_0x289f1b>=0x0;_0x289f1b--)(_0x313db3=_0x1bb3da[_0x289f1b])&&(_0x5b4cbf=_0x313db3(_0x5b4cbf)||_0x5b4cbf);return _0x5b4cbf;},_0x551f39=(_0x7af354,_0x34fece)=>(_0x5589ff,_0x39c91a)=>_0x34fece(_0x5589ff,_0x39c91a,_0x7af354);let _0x53604e=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x250a98,_0x4ae5ba,_0x1ec54e,_0x2e52fb,_0x4a6fa8){const _0x4273cd=_0xce3cd0;super(),_0xef452e(this,_0x4273cd(0x2db),[]),_0xef452e(this,_0x4273cd(0x21c),[]),(this[_0x4273cd(0x286)]=_0x250a98,this[_0x4273cd(0x166)]=_0x4ae5ba,this[_0x4273cd(0x41e)]=_0x1ec54e,this[_0x4273cd(0x223)]=_0x2e52fb,this[_0x4273cd(0x28d)]=_0x4a6fa8,this[_0x4273cd(0x30d)]());}[_0xce3cd0(0x30d)](){const _0x162295=_0xce3cd0,_0x3df23a=this[_0x162295(0x286)][_0x162295(0x34f)],_0x2096dc=this[_0x162295(0x166)];this['disposeWithMe'](_0x58c226[_0x162295(0x389)]([this[_0x162295(0x41e)]['getCollabCursors$'](_0x3df23a),this[_0x162295(0x28d)]['currentTheme$']])[_0x162295(0x2de)](_0x2157b5[_0x162295(0x16b)](([_0x2d1dbe,_0x391809])=>({'skeleton':_0x2096dc['getSkeleton'](),'cursors':[..._0x2d1dbe[_0x162295(0x3fd)]()][_0x162295(0x226)](_0x301d69=>({..._0x301d69,'color':this[_0x162295(0x28d)][_0x162295(0x254)](_0x301d69[_0x162295(0x374)])}))})))['subscribe'](_0x4dd2e3=>{const _0x2bec5c=_0x162295;if(this['_removeCollabCursors'](),_0x4dd2e3){const {skeleton:_0x1cba0e,cursors:_0x1f10ee}=_0x4dd2e3;this[_0x2bec5c(0x38a)](_0x1cba0e,_0x1f10ee);}})),this['_initResize'](),this[_0x162295(0x3be)]();}[_0xce3cd0(0x38a)](_0x2731ec,_0x172ccb){const _0x580b5f=_0xce3cd0,{scene:_0x3a8fa6,mainComponent:_0x25fb1a}=this[_0x580b5f(0x286)],_0x5080ff=_0x172ccb[_0x580b5f(0x16b)](_0x6a7229=>new _0x2211fb(_0x6a7229,_0x3a8fa6,_0x2731ec,_0x25fb1a));this['_cursorShapes']=_0x5080ff,this['_cursors']=_0x172ccb;}[_0xce3cd0(0x444)](){const _0x4a015e=_0xce3cd0;this['_removeCollabCursors']();const {scene:_0x42fb9b,mainComponent:_0x55dede}=this[_0x4a015e(0x286)],_0x55c702=this[_0x4a015e(0x166)]['getSkeleton'](),_0x459a00=this[_0x4a015e(0x21c)][_0x4a015e(0x16b)](_0x530069=>new _0x2211fb(_0x530069,_0x42fb9b,_0x55c702,_0x55dede));this[_0x4a015e(0x2db)]=_0x459a00;}[_0xce3cd0(0x30f)](){const _0x1e2786=_0xce3cd0;this[_0x1e2786(0x2db)][_0x1e2786(0x2e5)](_0x4dd3bd=>_0x4dd3bd['dispose']()),this[_0x1e2786(0x2db)]=[];}[_0xce3cd0(0x3be)](){const _0x9d0b32=_0xce3cd0,_0x9b1576=[_0x442538['SetDocZoomRatioOperation']['id']];this[_0x9d0b32(0x43c)](this['_commandService'][_0x9d0b32(0x19c)](_0x49d4a1=>{const _0x5538b5=_0x9d0b32;_0x9b1576['includes'](_0x49d4a1['id'])&&_0x49d4a1[_0x5538b5(0x275)][_0x5538b5(0x34f)]===this[_0x5538b5(0x286)][_0x5538b5(0x34f)]&&this['_refreshCollabCursors']();}));}[_0xce3cd0(0x412)](){const _0x35ab36=_0xce3cd0;this['disposeWithMe'](_0x295c8f[_0x35ab36(0x1d9)](this[_0x35ab36(0x286)]['engine'][_0x35ab36(0x288)])[_0x35ab36(0x2de)](_0x2157b5[_0x35ab36(0x1cd)](_0x995510=>_0x995510[_0x35ab36(0x273)]===_0x8db91b[_0x35ab36(0x2c0)][_0x35ab36(0x272)]),_0x2157b5[_0x35ab36(0x204)](0x10))[_0x35ab36(0x17f)](()=>{const _0x396d35=_0x35ab36;this[_0x396d35(0x444)]();}));}};_0x53604e=_0x388174([_0x551f39(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x400651[_0xce3cd0(0x1fa)])),_0x551f39(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x150b36)),_0x551f39(0x3,_0x295c8f[_0xce3cd0(0x2f7)]),_0x551f39(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x3d7)]))],_0x53604e);const _0x38ee4b=0x1,_0x3f2c49=1.5;class _0x3ee6ec extends _0x8db91b[_0xce3cd0(0x3b1)]{constructor(_0x3198f5,_0x1d3343){const _0x3bef64=_0xce3cd0;super(_0x3198f5,_0x1d3343),_0xef452e(this,_0x3bef64(0x205)),_0xef452e(this,_0x3bef64(0x2ed),!0x1),_0xef452e(this,_0x3bef64(0x3c3)),_0xef452e(this,_0x3bef64(0x206),''),_0xef452e(this,'_labelPosition',_0x3bef64(0x426)),_0xef452e(this,_0x3bef64(0x2c7)),(_0x1d3343&&this['setShapeProps'](_0x1d3343),this[_0x3bef64(0x45a)][_0x3bef64(0x3fe)](()=>this[_0x3bef64(0x281)]({'hovered':!0x0})),this[_0x3bef64(0x407)][_0x3bef64(0x3fe)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xce3cd0(0x281)](_0x455bda){const _0x37b43f=_0xce3cd0;var _0x436fc1,_0xcc7095,_0x17e2f3,_0x4e673f,_0x58d159,_0x1214f6;this[_0x37b43f(0x205)]=(_0x436fc1=_0x455bda[_0x37b43f(0x374)])!=null?_0x436fc1:this[_0x37b43f(0x205)],this[_0x37b43f(0x2ed)]=(_0xcc7095=_0x455bda[_0x37b43f(0x3da)])!=null?_0xcc7095:this[_0x37b43f(0x2ed)],this['_range']=(_0x17e2f3=_0x455bda[_0x37b43f(0x2c5)])!=null?_0x17e2f3:this[_0x37b43f(0x3c3)],this[_0x37b43f(0x206)]=(_0x4e673f=_0x455bda[_0x37b43f(0x376)])!=null?_0x4e673f:this[_0x37b43f(0x206)],this['_labelPosition']=(_0x58d159=_0x455bda[_0x37b43f(0x43e)])!=null?_0x58d159:this[_0x37b43f(0x2b8)],this[_0x37b43f(0x2c7)]=(_0x1214f6=_0x455bda[_0x37b43f(0x168)])!=null?_0x1214f6:this['_backgroundColor'],this[_0x37b43f(0x3f7)]({'width':_0x455bda['width'],'height':_0x455bda['height']});}[_0xce3cd0(0x422)](_0x339fe2){const _0x45b391=_0xce3cd0,{row:_0x6c7a2b,column:_0x24c286}=_0x339fe2;if(_0x6c7a2b>=this[_0x45b391(0x3c3)][_0x45b391(0x1ad)]&&_0x6c7a2b<=this[_0x45b391(0x3c3)][_0x45b391(0x361)]&&_0x24c286>=this['_range'][_0x45b391(0x3dc)]&&_0x24c286<=this['_range'][_0x45b391(0x37d)]){this[_0x45b391(0x281)]({'hovered':!0x0});return;}this[_0x45b391(0x281)]({'hovered':!0x1});}[_0xce3cd0(0x34b)](_0x5da6e4){return!0x1;}[_0xce3cd0(0x28c)](_0x9bb715){const _0x58410a=_0xce3cd0;_0x8db91b[_0x58410a(0x248)][_0x58410a(0x29d)](_0x9bb715,{'width':this[_0x58410a(0x38d)],'height':this[_0x58410a(0x368)],'strokeWidth':_0x3f2c49,'stroke':this[_0x58410a(0x205)],'evented':!0x1,'fill':this[_0x58410a(0x2c7)]}),this[_0x58410a(0x2ed)]&&(_0x9bb715[_0x58410a(0x34c)](),_0x9bb715[_0x58410a(0x459)](0x1,0x0,0x0,0x1,this[_0x58410a(0x38d)],this[_0x58410a(0x2b8)]===_0x58410a(0x203)?0x0:-_0x490e44),_0x2dd573[_0x58410a(0x29d)](_0x9bb715,{'text':this[_0x58410a(0x206)],'color':this['_color']}),_0x9bb715[_0x58410a(0x31c)]());}}var _0x59211f=Object['getOwnPropertyDescriptor'],_0x42ffe9=(_0x438719,_0x4d8444,_0x2296fe,_0xe568fb)=>{const _0x387800=_0xce3cd0;for(var _0x49e7cb=_0xe568fb>0x1?void 0x0:_0xe568fb?_0x59211f(_0x4d8444,_0x2296fe):_0x4d8444,_0x48af74=_0x438719[_0x387800(0x37b)]-0x1,_0x5769;_0x48af74>=0x0;_0x48af74--)(_0x5769=_0x438719[_0x48af74])&&(_0x49e7cb=_0x5769(_0x49e7cb)||_0x49e7cb);return _0x49e7cb;},_0x58959c=(_0x50a1d7,_0xfce1fe)=>(_0x5d6369,_0x2c87fe)=>_0xfce1fe(_0x5d6369,_0x2c87fe,_0x50a1d7);const _0x2a0525=0x1389;let _0x883637=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x1bcd56,_0x8632f9,_0xe705bb,_0x3f64df){const _0xd3c35d=_0xce3cd0;super(),_0xef452e(this,_0xd3c35d(0x21c),new Set()),_0xef452e(this,_0xd3c35d(0x162),null),(this[_0xd3c35d(0x286)]=_0x1bcd56,this[_0xd3c35d(0x259)]=_0x8632f9,this[_0xd3c35d(0x41e)]=_0xe705bb,this[_0xd3c35d(0x28d)]=_0x3f64df,this[_0xd3c35d(0x30d)]());}['_init'](){const _0xfa8b37=_0xce3cd0;this[_0xfa8b37(0x259)]['currentSkeleton$'][_0xfa8b37(0x2de)](_0x2157b5[_0xfa8b37(0x15a)](this['dispose$']),_0x2157b5[_0xfa8b37(0x3e6)](_0x35c243=>{const _0x4cbb17=_0xfa8b37;if(_0x35c243){const _0xd2bf85=_0x35c243['sheetId'];return _0x58c226[_0x4cbb17(0x389)](this[_0x4cbb17(0x41e)]['getCollabCursors$'](this['_context'][_0x4cbb17(0x34f)]),this[_0x4cbb17(0x28d)][_0x4cbb17(0x17b)])[_0x4cbb17(0x2de)](_0x2157b5[_0x4cbb17(0x16b)](([_0x5818fc,_0x752ddf])=>{const _0x5a3fd7=_0x4cbb17,_0x47f63c=new Map();return _0x5818fc[_0x5a3fd7(0x2e5)]((_0x4406c5,_0xa0d95c)=>{const _0x4d2c0d=_0x5a3fd7;if(_0x4406c5['sheetID']===_0xd2bf85){const _0x849496={..._0x4406c5};_0x849496[_0x4d2c0d(0x374)]=this['_themeService'][_0x4d2c0d(0x254)](_0x4406c5[_0x4d2c0d(0x374)]),_0x47f63c[_0x4d2c0d(0x427)](_0xa0d95c,_0x849496);}}),{'skeleton':_0x35c243,'cursors':_0x47f63c};}));}return _0x58c226['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x430843,cursors:_0x4b34e4})=>{const _0x5d22fe=_0xfa8b37;this[_0x5d22fe(0x30f)](),_0x430843&&this['_updateCollabCursors'](_0x430843,_0x4b34e4);}),this[_0xfa8b37(0x259)][_0xfa8b37(0x42b)][_0xfa8b37(0x17f)](_0x73b8f4=>{const _0x5c0ef7=_0xfa8b37;if(_0x73b8f4==null)return;const {skeleton:_0x4cbd85}=_0x73b8f4,{scene:_0x5147cd}=this['_context'];_0x5147cd[_0x5c0ef7(0x1cf)][_0x5c0ef7(0x3fe)](_0x295c8f[_0x5c0ef7(0x247)](_0xf65b37=>{const _0x4eb4e2=_0x5c0ef7;var _0x1326ac,_0x58aec9;const {offsetX:_0x20c533,offsetY:_0x26de81}=_0xf65b37,{x:_0x55412c,y:_0x1a6882}=_0x5147cd[_0x4eb4e2(0x195)](_0x8db91b[_0x4eb4e2(0x3fc)]['FromArray']([_0x20c533,_0x26de81])),{scaleX:_0x55fdf0,scaleY:_0x36ca01}=_0x5147cd[_0x4eb4e2(0x1a6)](),_0x276322=_0x5147cd[_0x4eb4e2(0x332)](_0x8db91b[_0x4eb4e2(0x208)]['VIEW_MAIN']),_0xd2a96a=_0x5147cd[_0x4eb4e2(0x285)](_0x8db91b[_0x4eb4e2(0x3fc)][_0x4eb4e2(0x238)]([_0x55412c,_0x1a6882]),_0x276322),_0x4210ae=_0x4cbd85[_0x4eb4e2(0x375)](_0x20c533,_0x26de81,_0x55fdf0,_0x36ca01,_0xd2a96a);((_0x1326ac=this[_0x4eb4e2(0x162)])==null?void 0x0:_0x1326ac[_0x4eb4e2(0x33b)])===_0x4210ae[_0x4eb4e2(0x33b)]&&((_0x58aec9=this['_lastPointer'])==null?void 0x0:_0x58aec9[_0x4eb4e2(0x3f6)])===_0x4210ae['row']||this[_0x4eb4e2(0x21c)][_0x4eb4e2(0x2e5)](_0x1aa356=>{const _0x585003=_0x4eb4e2;_0x1aa356[_0x585003(0x422)](_0x4210ae);});},0x64));});}[_0xce3cd0(0x38a)](_0x3b7dcf,_0x106207){const _0x4bd86f=_0xce3cd0;var _0x4988f6;const _0x142d4e=(_0x4988f6=this['_sheetSkeletonManagerService'][_0x4bd86f(0x1e8)]())==null?void 0x0:_0x4988f6[_0x4bd86f(0x398)];if(!_0x142d4e)return;const _0x17436f=this[_0x4bd86f(0x2ca)]();if(!_0x17436f)return;this['_cursors'][_0x4bd86f(0x2e5)](_0x31d6b3=>{_0x31d6b3['makeDirty']();});const {scene:_0x1cdb2d}=_0x17436f,_0x1361e4=_0x347dd5(Array[_0x4bd86f(0x264)](_0x106207['values']()))[_0x4bd86f(0x16b)](_0x366c54=>{const _0x324d9f=_0x4bd86f,{color:_0x834ddd,range:_0x15b71d,name:_0x28b834,selection:_0x29fee3,sheetID:_0x1a192b}=_0x366c54,{startColumn:_0x23f4e7,startRow:_0x590de5,endColumn:_0x2f224a,endRow:_0xa46712}=_0x15b71d,_0x3f4722=_0x2cd116[_0x324d9f(0x27c)](_0x590de5,_0x23f4e7,_0x1cdb2d,_0x142d4e),_0x2f67ea=_0x2cd116[_0x324d9f(0x27c)](_0xa46712,_0x2f224a,_0x1cdb2d,_0x142d4e),{columnHeaderHeightAndMarginTop:_0x4197ee}=_0x142d4e,{startX:_0xc038cc,startY:_0x28131b}=_0x3f4722,{endX:_0x573abf,endY:_0x363c26}=_0x2f67ea,_0x18ed1e=_0x573abf-_0xc038cc,_0x31928c=_0x363c26-_0x28131b,_0x30e1e1={'labelPosition':_0x28131b-_0x4197ee>=_0x490e44?_0x324d9f(0x426):'bottom','sheetID':_0x1a192b,'range':_0x15b71d,'color':_0x834ddd,'name':_0x28b834,'selection':_0x29fee3,'left':_0xc038cc,'top':_0x28131b,'width':_0x18ed1e,'height':_0x31928c,'evented':!0x1,'zIndex':_0x2a0525};return new _0x3ee6ec(_0x28b834,_0x30e1e1);});_0x1cdb2d[_0x4bd86f(0x413)](_0x1361e4,_0x38ee4b),this[_0x4bd86f(0x21c)]=new Set(_0x1361e4);}['_removeCollabCursors'](){const _0xc48981=_0xce3cd0;var _0x559d9d;(_0x559d9d=this[_0xc48981(0x21c)])==null||_0x559d9d[_0xc48981(0x2e5)](_0x15f5f9=>_0x15f5f9[_0xc48981(0x2a7)]());}[_0xce3cd0(0x2ca)](){const _0x4c5647=_0xce3cd0;return _0x2cd116['getSheetObject'](this[_0x4c5647(0x286)][_0x4c5647(0x429)],this[_0x4c5647(0x286)]);}};_0x883637=_0x42ffe9([_0x58959c(0x1,_0x295c8f['Inject'](_0x2cd116[_0xce3cd0(0x409)])),_0x58959c(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x150b36)),_0x58959c(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x3d7)]))],_0x883637);function _0x347dd5(_0x46160f){const _0x3d739c=_0xce3cd0,_0x5f24d5=new Map();return _0x46160f[_0x3d739c(0x2e5)](_0x2c36e4=>{const _0x19fc9e=_0x3d739c;if(_0x5f24d5[_0x19fc9e(0x2d5)](_0x2c36e4['selection'])){const _0x599691=_0x5f24d5[_0x19fc9e(0x3fa)](_0x2c36e4['selection']);_0x599691[_0x19fc9e(0x376)]+=',\x20'+_0x2c36e4[_0x19fc9e(0x376)];}else _0x5f24d5[_0x19fc9e(0x427)](_0x2c36e4[_0x19fc9e(0x2f4)],_0x2c36e4);}),Array[_0x3d739c(0x264)](_0x5f24d5['values']());}var _0x1775c4=Object['getOwnPropertyDescriptor'],_0x589178=(_0x1aa343,_0x4d126c,_0x2d46b4,_0xca28ed)=>{const _0xa5cf59=_0xce3cd0;for(var _0x10997a=_0xca28ed>0x1?void 0x0:_0xca28ed?_0x1775c4(_0x4d126c,_0x2d46b4):_0x4d126c,_0x1ea8ce=_0x1aa343[_0xa5cf59(0x37b)]-0x1,_0x4262f1;_0x1ea8ce>=0x0;_0x1ea8ce--)(_0x4262f1=_0x1aa343[_0x1ea8ce])&&(_0x10997a=_0x4262f1(_0x10997a)||_0x10997a);return _0x10997a;},_0xb875d8=(_0x714d89,_0x217691)=>(_0x3cab9c,_0x5bdeec)=>_0x217691(_0x3cab9c,_0x5bdeec,_0x714d89);let _0x220b52=class extends _0x295c8f['Disposable']{constructor(_0x538168,_0x27041c,_0xbdf5ac,_0x55bc07,_0x1132fa,_0x1779ee){const _0x43287c=_0xce3cd0;super(),this[_0x43287c(0x2b7)]=_0x538168,this[_0x43287c(0x174)]=_0x27041c,this[_0x43287c(0x3c1)]=_0xbdf5ac,this[_0x43287c(0x287)]=_0x55bc07,this['_notificationService']=_0x1132fa,this[_0x43287c(0x3fb)]=_0x1779ee,this[_0x43287c(0x1eb)](),this[_0x43287c(0x357)]();}[_0xce3cd0(0x1eb)](){const _0xc05b4c=_0xce3cd0;this[_0xc05b4c(0x43c)](this[_0xc05b4c(0x2b7)][_0xc05b4c(0x399)](()=>{const _0x15100c=_0xc05b4c;if(this[_0x15100c(0x174)][_0x15100c(0x19e)][_0x15100c(0x348)])return this[_0x15100c(0x3fb)]['t']('collaboration.offline-data-not-saved');}));}[_0xce3cd0(0x357)](){const _0x1518c1=_0xce3cd0;this[_0x1518c1(0x43c)](this[_0x1518c1(0x3c1)][_0x1518c1(0x449)][_0x1518c1(0x17f)](_0x14bc74=>{const _0x4a0f56=_0x1518c1;_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x1e9)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)]['Warning'],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x2ff))}),_0x14bc74['id']===_0x2cb61c['CollaborationUIEventId'][_0x4a0f56(0x2a5)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x2cb)],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x2f1))}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x2dc)]&&this[_0x4a0f56(0x400)][_0x4a0f56(0x1b8)]({'title':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x1a7)),'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x16c)),'type':_0x4a0f56(0x1b1),'duration':0x0}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x36b)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x25e)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x14bc74[_0x4a0f56(0x31b)]+')'}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x2a0)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761['MessageType'][_0x4a0f56(0x2cb)],'content':this['_localeService']['t'](_0x14bc74[_0x4a0f56(0x31b)]||'')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x196)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761['MessageType'][_0x4a0f56(0x2cb)],'content':this[_0x4a0f56(0x3fb)]['t']('session.will-retry')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x446)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761[_0x4a0f56(0x437)]['Error'],'content':this[_0x4a0f56(0x3fb)]['t']('session.connection-failed')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x279)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x25e)],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x40d))});}));}};_0x220b52=_0x589178([_0xb875d8(0x0,_0x189b11[_0xce3cd0(0x161)]),_0xb875d8(0x1,_0x2cb61c['ILocalCacheService']),_0xb875d8(0x2,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x390)])),_0xb875d8(0x3,_0x189b11[_0xce3cd0(0x1ab)]),_0xb875d8(0x4,_0x189b11[_0xce3cd0(0x2c1)]),_0xb875d8(0x5,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['LocaleService']))],_0x220b52);var _0x57b5b8=Object['getOwnPropertyDescriptor'],_0x41a65c=(_0x4d9ca7,_0x2acc7d,_0x6dea33,_0x4f3679)=>{const _0x20e84c=_0xce3cd0;for(var _0x42b3b8=_0x4f3679>0x1?void 0x0:_0x4f3679?_0x57b5b8(_0x2acc7d,_0x6dea33):_0x2acc7d,_0x571d6d=_0x4d9ca7[_0x20e84c(0x37b)]-0x1,_0x264da0;_0x571d6d>=0x0;_0x571d6d--)(_0x264da0=_0x4d9ca7[_0x571d6d])&&(_0x42b3b8=_0x264da0(_0x42b3b8)||_0x42b3b8);return _0x42b3b8;},_0x217677=(_0x4d7a58,_0x3b10e0)=>(_0xa37ad0,_0x452ff7)=>_0x3b10e0(_0xa37ad0,_0x452ff7,_0x4d7a58);let _0x39c89f=class extends _0x295c8f['Disposable']{constructor(_0x13de19,_0x49f9e0,_0x585522,_0x2bdc27){const _0xe8d1c8=_0xce3cd0;super(),_0xef452e(this,_0xe8d1c8(0x1b0)),(this[_0xe8d1c8(0x1f6)]=_0x13de19,this[_0xe8d1c8(0x220)]=_0x49f9e0,this[_0xe8d1c8(0x22d)]=_0x585522,this['_collaborationSessionService']=_0x2bdc27,this['_init']());}['_init'](){const _0x49cc39=_0xce3cd0;this[_0x49cc39(0x22a)](),this[_0x49cc39(0x242)](),this['_monkeyPatchLogService'](),this[_0x49cc39(0x299)]();}['_initUserListener'](){const _0x47a730=_0xce3cd0;this[_0x47a730(0x43c)](this[_0x47a730(0x234)][_0x47a730(0x25d)][_0x47a730(0x17f)](_0x40b096=>{const _0x406080=_0x47a730;this[_0x406080(0x1b0)]=_0x40b096==null?void 0x0:_0x40b096[_0x406080(0x3c4)];}));}[_0xce3cd0(0x22a)](){const _0xab63a=_0xce3cd0,_0x28e40e=_0x26b90f=>{const _0x582a79=_0x2541;var _0x53a79b;this[_0x582a79(0x26f)]('error',_0x582a79(0x40f)+_0x26b90f[_0x582a79(0x1d0)]+_0x582a79(0x34e)+_0x26b90f[_0x582a79(0x40a)]+':'+_0x26b90f[_0x582a79(0x385)]+':'+_0x26b90f[_0x582a79(0x3f0)]+'\x0a'+(((_0x53a79b=_0x26b90f[_0x582a79(0x1b1)])==null?void 0x0:_0x53a79b[_0x582a79(0x419)])||''));};window[_0xab63a(0x2e4)]('error',_0x28e40e),this[_0xab63a(0x43c)](()=>{const _0x33e7d7=_0xab63a;window[_0x33e7d7(0x2c2)](_0x33e7d7(0x1b1),_0x28e40e);});}[_0xce3cd0(0x242)](){const _0x40b5be=_0xce3cd0,_0x51de5b=_0x3f79b8=>{const _0x13c050=_0x2541;this[_0x13c050(0x26f)]('error',_0x13c050(0x1e2)+_0x3f79b8[_0x13c050(0x44b)]);};window[_0x40b5be(0x2e4)]('unhandledrejection',_0x51de5b),this[_0x40b5be(0x43c)](()=>{window['removeEventListener']('unhandledrejection',_0x51de5b);});}[_0xce3cd0(0x27b)](){const _0x12ac2b=_0xce3cd0,_0x1e9849=this[_0x12ac2b(0x22d)][_0x12ac2b(0x1b1)][_0x12ac2b(0x2df)](this[_0x12ac2b(0x22d)]);this[_0x12ac2b(0x22d)][_0x12ac2b(0x1b1)]=(..._0x1532ad)=>{const _0x7165a7=_0x12ac2b,_0xfbd7c6=_0x1532ad[_0x7165a7(0x16b)](_0x3b1fb1=>_0x3b1fb1 instanceof Error?_0x3b1fb1['message']+'\x0a'+_0x3b1fb1[_0x7165a7(0x419)]:String(_0x3b1fb1))[_0x7165a7(0x2f8)]('\x20');this[_0x7165a7(0x26f)]('error',_0x7165a7(0x1e7)+_0xfbd7c6),_0x1e9849(..._0x1532ad);},this[_0x12ac2b(0x43c)](()=>{const _0x3ff5a6=_0x12ac2b;this[_0x3ff5a6(0x22d)][_0x3ff5a6(0x1b1)]=_0x1e9849;});}[_0xce3cd0(0x26f)](_0x51f0b5,_0x19bc2f){const _0x5fb86=_0xce3cd0;try{const _0x4d76bd={'userId':this[_0x5fb86(0x1b0)],'logLabel':_0x51f0b5,'content':_0x19bc2f};this[_0x5fb86(0x220)][_0x5fb86(0x165)](_0x5fb86(0x189),{'body':_0x4d76bd})[_0x5fb86(0x3b8)](()=>{});}catch{}}};_0x39c89f=_0x41a65c([_0x217677(0x0,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x217677(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x217677(0x2,_0x295c8f[_0xce3cd0(0x29b)]),_0x217677(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x1c6)]))],_0x39c89f);const _0x1e1ed6=_0xce3cd0(0x3ad),_0xf2bce4={};var _0x51b493=Object[_0xce3cd0(0x3e7)],_0x28f25b=(_0x329664,_0x39570b,_0x1c4916,_0x58adcd)=>{const _0x341369=_0xce3cd0;for(var _0x112339=_0x58adcd>0x1?void 0x0:_0x58adcd?_0x51b493(_0x39570b,_0x1c4916):_0x39570b,_0x297f23=_0x329664[_0x341369(0x37b)]-0x1,_0x62da15;_0x297f23>=0x0;_0x297f23--)(_0x62da15=_0x329664[_0x297f23])&&(_0x112339=_0x62da15(_0x112339)||_0x112339);return _0x112339;},_0x4d91ef=(_0x27f01e,_0x41bb9f)=>(_0x21c315,_0x4ccde5)=>_0x41bb9f(_0x21c315,_0x4ccde5,_0x27f01e);let _0x13d4ed=class{constructor(_0x574a33,_0x31d1d3){const _0x2c39da=_0xce3cd0;this[_0x2c39da(0x3d4)]=_0x574a33,this[_0x2c39da(0x3a8)]=_0x31d1d3;}[_0xce3cd0(0x32d)](_0x271eb5){const _0x57e082=_0xce3cd0;this['_transformUndoRedoStack'](_0x271eb5),this[_0x57e082(0x2f6)](_0x271eb5);}['transformRemoteChangeset'](_0x426ea4){const _0x4f0998=_0xce3cd0,{unitID:_0x4429ae}=_0x426ea4,_0x54809e=this[_0x4f0998(0x3a8)][_0x4f0998(0x163)](_0x4429ae)[_0x4f0998(0x23a)](_0x442538[_0x4f0998(0x3ab)]),{redoCache:_0x329ecd}=_0x54809e[_0x4f0998(0x3b9)]();if(_0x329ecd['length']===0x0)return _0x426ea4;let _0x38ddfa=_0x295c8f[_0x4f0998(0x182)][_0x4f0998(0x179)](_0x426ea4[_0x4f0998(0x324)][0x0]);for(let _0x5edd61=0x0;_0x5edd61<_0x329ecd[_0x4f0998(0x37b)];_0x5edd61++){const _0x2af366={'id':_0x4f0998(0x20d),'params':{..._0x329ecd[_0x5edd61]}},_0x5e2bc8=this[_0x4f0998(0x3d4)][_0x4f0998(0x25f)](_0x38ddfa,_0x2af366,!0x1);if(_0x143a87[_0x4f0998(0x44d)](_0x5e2bc8))throw _0x5e2bc8[_0x4f0998(0x1b1)];_0x38ddfa=_0x5e2bc8[_0x4f0998(0x2b0)];}return{..._0x295c8f[_0x4f0998(0x182)][_0x4f0998(0x179)](_0x426ea4),'mutations':[_0x38ddfa]};}[_0xce3cd0(0x43f)](_0x109a8c){const _0x1e0735=_0xce3cd0,{unitID:_0x1a5bd4}=_0x109a8c,_0x214a2f=this[_0x1e0735(0x3a8)]['getRenderById'](_0x1a5bd4)[_0x1e0735(0x23a)](_0x442538[_0x1e0735(0x3ab)]),{undoCache:_0x158838,redoCache:_0x4000c3}=_0x214a2f[_0x1e0735(0x3b9)]();if(_0x158838[_0x1e0735(0x37b)]===0x0||_0x4000c3[_0x1e0735(0x37b)]===0x0)return;const _0x4db19b=[],_0x441c93=[];let _0x5e2c61=_0x295c8f[_0x1e0735(0x182)][_0x1e0735(0x179)](_0x109a8c[_0x1e0735(0x324)][0x0]),_0x45c7fd=_0x295c8f[_0x1e0735(0x182)]['deepClone'](_0x109a8c[_0x1e0735(0x324)][0x0]);for(let _0x53b0f7=_0x158838['length']-0x1;_0x53b0f7>=0x0;_0x53b0f7--){const _0x46a239={'id':'doc.mutation.rich-text-editing','params':{..._0x158838[_0x53b0f7]}},_0x3881b2={'id':_0x1e0735(0x20d),'params':{..._0x4000c3[_0x53b0f7]}},_0x10db8d=this[_0x1e0735(0x3d4)]['transformMutation'](_0x5e2c61,_0x46a239,!0x1),_0x2f0001=this[_0x1e0735(0x3d4)]['transformMutation'](_0x45c7fd,_0x3881b2,!0x1);if(_0x143a87[_0x1e0735(0x44d)](_0x10db8d))throw _0x10db8d['error'];if(_0x143a87[_0x1e0735(0x44d)](_0x2f0001))throw _0x2f0001['error'];_0x4db19b[_0x1e0735(0x1aa)](_0x10db8d[_0x1e0735(0x40c)][_0x1e0735(0x275)]),_0x441c93[_0x1e0735(0x1aa)](_0x2f0001[_0x1e0735(0x40c)]['params']),_0x5e2c61=_0x10db8d[_0x1e0735(0x2b0)],_0x45c7fd=_0x2f0001[_0x1e0735(0x2b0)];}_0x214a2f[_0x1e0735(0x3ee)]({'undoCache':_0x4db19b,'redoCache':_0x441c93});}['_transformPreviousActiveRange'](_0x31866e){const _0x4fb713=_0xce3cd0,{unitID:_0x559294}=_0x31866e,_0x198d07=this[_0x4fb713(0x3a8)]['getRenderById'](_0x559294)[_0x4fb713(0x23a)](_0x442538[_0x4fb713(0x3ab)]),_0x479c61=_0x198d07['getActiveRange']();if(_0x479c61==null)return;const _0x243288=[{'id':_0x4fb713(0x20d),'params':{'unitId':_0x31866e[_0x4fb713(0x445)],'actions':null,'textRanges':[_0x479c61]}}],_0x2e852c=this['_transformService'][_0x4fb713(0x1b4)](_0x31866e,_0x243288);if(!_0x143a87[_0x4fb713(0x3f2)](_0x2e852c))throw _0x2e852c[_0x4fb713(0x1b1)];const _0x108e64=_0x2e852c[_0x4fb713(0x40c)][0x0][_0x4fb713(0x275)][_0x4fb713(0x1c5)];Array[_0x4fb713(0x3c9)](_0x108e64)&&_0x108e64['length']&&_0x198d07[_0x4fb713(0x160)](_0x108e64[0x0]);}};_0x13d4ed=_0x28f25b([_0x4d91ef(0x0,_0x143a87[_0xce3cd0(0x169)]),_0x4d91ef(0x1,_0x8db91b[_0xce3cd0(0x455)])],_0x13d4ed);var _0x26a255=Object[_0xce3cd0(0x3e7)],_0x179deb=(_0x31cbf2,_0x4704b8,_0x16b595,_0x4f709c)=>{const _0x37575a=_0xce3cd0;for(var _0x19aca4=_0x4f709c>0x1?void 0x0:_0x4f709c?_0x26a255(_0x4704b8,_0x16b595):_0x4704b8,_0x19114c=_0x31cbf2[_0x37575a(0x37b)]-0x1,_0x377069;_0x19114c>=0x0;_0x19114c--)(_0x377069=_0x31cbf2[_0x19114c])&&(_0x19aca4=_0x377069(_0x19aca4)||_0x19aca4);return _0x19aca4;},_0x5cc411=(_0xce6db,_0x4f33f6)=>(_0x2304b6,_0x42e043)=>_0x4f33f6(_0x2304b6,_0x42e043,_0xce6db);let _0x214e70=class{constructor(_0x4eb52b,_0x1f2976,_0x4e34dd){const _0x2695a2=_0xce3cd0;this['_injector']=_0x4eb52b,this[_0x2695a2(0x3d4)]=_0x1f2976,this[_0x2695a2(0x26c)]=_0x4e34dd;}['transformStateCache'](_0x5d27c3){const _0x2b34c6=_0xce3cd0;this[_0x2b34c6(0x294)](_0x5d27c3);}[_0xce3cd0(0x3cb)](_0x2e6a11){const _0x4f281c=_0xce3cd0,{unitID:_0x551745}=_0x2e6a11,{collaboration:_0x4fb24a}=this['_docStateChangeManagerService'][_0x4f281c(0x1fe)](_0x551745);if(_0x4fb24a[_0x4f281c(0x37b)]===0x0)return _0x2e6a11;let _0x1ff504=_0x295c8f[_0x4f281c(0x182)][_0x4f281c(0x179)](_0x2e6a11[_0x4f281c(0x324)][0x0]);for(let _0x342b8c=0x0;_0x342b8c<_0x4fb24a['length'];_0x342b8c++){const _0x3ffb6a={'id':_0x4f281c(0x20d),'params':{'unitId':_0x4fb24a[_0x342b8c][_0x4f281c(0x34f)],..._0x4fb24a[_0x342b8c][_0x4f281c(0x1e4)]}},_0x214e07=this[_0x4f281c(0x3d4)][_0x4f281c(0x25f)](_0x1ff504,_0x3ffb6a,!0x1);if(_0x143a87[_0x4f281c(0x44d)](_0x214e07))throw _0x214e07['error'];_0x1ff504=_0x214e07[_0x4f281c(0x2b0)];}return{..._0x295c8f[_0x4f281c(0x182)][_0x4f281c(0x179)](_0x2e6a11),'mutations':[_0x1ff504]};}[_0xce3cd0(0x294)](_0x56ce2d){const _0x446302=_0xce3cd0,{unitID:_0x25ffc5}=_0x56ce2d,{history:_0x4b4b8f,collaboration:_0x1de16b}=this[_0x446302(0x26c)][_0x446302(0x1fe)](_0x25ffc5);if(_0x4b4b8f[_0x446302(0x37b)]===0x0&&_0x1de16b['length']===0x0)return;const _0x2f5b13=[],_0x4cd511=[];let _0x4c2a45=_0x295c8f[_0x446302(0x182)][_0x446302(0x179)](_0x56ce2d[_0x446302(0x324)][0x0]),_0x35c105=_0x295c8f[_0x446302(0x182)]['deepClone'](_0x56ce2d[_0x446302(0x324)][0x0]);for(let _0x5315d1=_0x4b4b8f[_0x446302(0x37b)]-0x1;_0x5315d1>=0x0;_0x5315d1--){const _0x1e3614={'id':_0x446302(0x20d),'params':{'unitId':_0x4b4b8f[_0x5315d1][_0x446302(0x34f)],..._0x4b4b8f[_0x5315d1][_0x446302(0x20b)]}},_0x5d6e41={'id':_0x446302(0x20d),'params':{'unitId':_0x4b4b8f[_0x5315d1][_0x446302(0x34f)],..._0x4b4b8f[_0x5315d1][_0x446302(0x1e4)]}},_0x255bbb=this[_0x446302(0x3d4)]['transformMutation'](_0x4c2a45,_0x1e3614,!0x1),_0x4e1d0b=this[_0x446302(0x3d4)][_0x446302(0x25f)](_0x35c105,_0x5d6e41,!0x1);if(_0x143a87[_0x446302(0x44d)](_0x255bbb))throw _0x255bbb[_0x446302(0x1b1)];if(_0x143a87[_0x446302(0x44d)](_0x4e1d0b))throw _0x4e1d0b[_0x446302(0x1b1)];_0x2f5b13[_0x446302(0x1aa)]({..._0x4b4b8f[_0x5315d1],'undoState':_0x255bbb[_0x446302(0x40c)][_0x446302(0x275)],'redoState':_0x4e1d0b[_0x446302(0x40c)][_0x446302(0x275)]}),_0x4c2a45=_0x255bbb['m1Prime'],_0x35c105=_0x4e1d0b['m1Prime'];}_0x4c2a45=_0x295c8f[_0x446302(0x182)][_0x446302(0x179)](_0x56ce2d[_0x446302(0x324)][0x0]),_0x35c105=_0x295c8f['Tools'][_0x446302(0x179)](_0x56ce2d['mutations'][0x0]);for(let _0x37451b=_0x1de16b['length']-0x1;_0x37451b>=0x0;_0x37451b--){const _0xa21d82={'id':_0x446302(0x20d),'params':{'unitId':_0x1de16b[_0x37451b][_0x446302(0x34f)],..._0x1de16b[_0x37451b]['undoState']}},_0x1b1533={'id':_0x446302(0x20d),'params':{'unitId':_0x1de16b[_0x37451b][_0x446302(0x34f)],..._0x1de16b[_0x37451b][_0x446302(0x1e4)]}},_0x3e02f5=this[_0x446302(0x3d4)][_0x446302(0x25f)](_0x4c2a45,_0xa21d82,!0x1),_0x50444f=this[_0x446302(0x3d4)]['transformMutation'](_0x35c105,_0x1b1533,!0x1);if(_0x143a87['isTransformMutationFailure'](_0x3e02f5))throw _0x3e02f5[_0x446302(0x1b1)];if(_0x143a87[_0x446302(0x44d)](_0x50444f))throw _0x50444f[_0x446302(0x1b1)];_0x4cd511[_0x446302(0x1aa)]({..._0x1de16b[_0x37451b],'undoState':_0x3e02f5[_0x446302(0x40c)][_0x446302(0x275)],'redoState':_0x50444f[_0x446302(0x40c)]['params']}),_0x4c2a45=_0x3e02f5[_0x446302(0x2b0)],_0x35c105=_0x50444f[_0x446302(0x2b0)];}this[_0x446302(0x26c)][_0x446302(0x388)](_0x25ffc5,{'history':_0x2f5b13,'collaboration':_0x4cd511});}};_0x214e70=_0x179deb([_0x5cc411(0x0,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x405)])),_0x5cc411(0x1,_0x143a87[_0xce3cd0(0x169)]),_0x5cc411(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x442538[_0xce3cd0(0x39d)]))],_0x214e70);var _0x4a01dd=Object['getOwnPropertyDescriptor'],_0x5064aa=(_0x3bae9a,_0x3ae7e0,_0x16c60e,_0x55491e)=>{for(var _0x3acf49=_0x55491e>0x1?void 0x0:_0x55491e?_0x4a01dd(_0x3ae7e0,_0x16c60e):_0x3ae7e0,_0x1b272b=_0x3bae9a['length']-0x1,_0xda022d;_0x1b272b>=0x0;_0x1b272b--)(_0xda022d=_0x3bae9a[_0x1b272b])&&(_0x3acf49=_0xda022d(_0x3acf49)||_0x3acf49);return _0x3acf49;},_0x357df1=(_0x13b52d,_0x59fe2f)=>(_0x44f928,_0x1539e3)=>_0x59fe2f(_0x44f928,_0x1539e3,_0x13b52d);let _0x5af825=class{constructor(_0x3e4c27,_0xb58c0a){const _0x225452=_0xce3cd0;this[_0x225452(0x1f6)]=_0x3e4c27,this['_transformService']=_0xb58c0a;}[_0xce3cd0(0x32c)](_0x1a6a46){const _0x4d9771=_0xce3cd0;var _0xbdb5a1;const _0x381c57=this[_0x4d9771(0x1f6)][_0x4d9771(0x3fa)](_0x400651['DocSelectionManagerService']),_0x194aa2=(_0xbdb5a1=_0x381c57[_0x4d9771(0x340)]())!=null?_0xbdb5a1:[];if(_0x194aa2[_0x4d9771(0x37b)]===0x0)return;const _0xe3e57f=_0x1a6a46['unitID'],_0xe017f3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe3e57f,'actions':null,'textRanges':_0x194aa2}}],_0x1aa92f=this[_0x4d9771(0x3d4)]['transformMutationsWithChangeset'](_0x1a6a46,_0xe017f3);if(!_0x143a87[_0x4d9771(0x3f2)](_0x1aa92f))throw _0x1aa92f[_0x4d9771(0x1b1)];const _0x4d8ebd=_0x1aa92f[_0x4d9771(0x40c)][0x0]['params'][_0x4d9771(0x1c5)];Array[_0x4d9771(0x3c9)](_0x4d8ebd)&&_0x4d8ebd['length']&&_0x381c57[_0x4d9771(0x3b2)](_0x4d8ebd,{'unitId':_0xe3e57f,'subUnitId':_0xe3e57f},!0x1);}};_0x5af825=_0x5064aa([_0x357df1(0x0,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x405)])),_0x357df1(0x1,_0x143a87[_0xce3cd0(0x169)])],_0x5af825);var _0x1e0e59=Object[_0xce3cd0(0x3e7)],_0x1b682=(_0x4744a8,_0x1695d9,_0x2ae70d,_0x101fd0)=>{const _0xf5f6ea=_0xce3cd0;for(var _0x10533d=_0x101fd0>0x1?void 0x0:_0x101fd0?_0x1e0e59(_0x1695d9,_0x2ae70d):_0x1695d9,_0xc2e0bd=_0x4744a8[_0xf5f6ea(0x37b)]-0x1,_0x3cf109;_0xc2e0bd>=0x0;_0xc2e0bd--)(_0x3cf109=_0x4744a8[_0xc2e0bd])&&(_0x10533d=_0x3cf109(_0x10533d)||_0x10533d);return _0x10533d;},_0x5815dd=(_0x3bffad,_0x57d194)=>(_0x388530,_0x51a730)=>_0x57d194(_0x388530,_0x51a730,_0x3bffad);let _0x9f9f49=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x5b1c88,_0x1adae2,_0xb26174,_0x1b08d4,_0x2bb4ac,_0x321581,_0x3ca2fe,_0xba85df){const _0x29c28f=_0xce3cd0;super(),_0xef452e(this,_0x29c28f(0x414),new _0x58c226[(_0x29c28f(0x43b))](_0x2cb61c[_0x29c28f(0x36d)][_0x29c28f(0x21f)])),(this[_0x29c28f(0x26c)]=_0x5b1c88,this[_0x29c28f(0x392)]=_0x1adae2,this['_docTransformIMECacheService']=_0xb26174,this[_0x29c28f(0x37c)]=_0x1b08d4,this['_docTransformSelectionsService']=_0x2bb4ac,this[_0x29c28f(0x25b)]=_0x321581,this[_0x29c28f(0x287)]=_0x3ca2fe,this[_0x29c28f(0x3fb)]=_0xba85df,this[_0x29c28f(0x1c2)]());}[_0xce3cd0(0x1c2)](){const _0xf5bfe3=_0xce3cd0;this[_0xf5bfe3(0x43c)](this[_0xf5bfe3(0x392)]['entityInit$'][_0xf5bfe3(0x17f)](_0xe00a4f=>{const _0x2b44d3=_0xf5bfe3,_0x347fdf=this[_0x2b44d3(0x26c)][_0x2b44d3(0x2ac)][_0x2b44d3(0x17f)](_0x4da6cf=>{const _0x235b1e=_0x2b44d3;if(_0x4da6cf==null)return;const {unitId:_0x86b15f,redoState:_0x2214be,commandId:_0x1db534}=_0x4da6cf;if(_0x86b15f!==_0xe00a4f[_0x235b1e(0x445)])return;const _0x50145b={'id':_0x1db534,'type':_0x295c8f[_0x235b1e(0x24b)][_0x235b1e(0x16d)],'params':{'unitId':_0x86b15f,'actions':_0x2214be[_0x235b1e(0x1f9)],'textRanges':null}};_0xe00a4f[_0x235b1e(0x3b5)](_0x50145b);});if(_0xe00a4f['disposeWithMe'](_0x347fdf),_0xe00a4f instanceof _0x2cb61c[_0x2b44d3(0x213)]){const _0xc3055={'onTransformIME':_0x5ae32b=>this[_0x2b44d3(0x217)][_0x2b44d3(0x32d)](_0x5ae32b),'onTransformState':_0x2f9fdc=>this['_docTransformStateCacheService']['transformStateCache'](_0x2f9fdc),'onTransformSelections':_0x13bcbf=>this[_0x2b44d3(0x18e)]['transformSelections'](_0x13bcbf),'onSyncEditingCollabCursor':_0x42d093=>this['_docSyncEditingCollabCursorService'][_0x2b44d3(0x1cb)](_0x42d093),'onTransformRemoteChangesetByIMECache':_0x540ea2=>this[_0x2b44d3(0x217)][_0x2b44d3(0x3cb)](_0x540ea2),'onTransformRemoteChangesetByStateCache':_0x32fc37=>this['_docTransformStateCacheService'][_0x2b44d3(0x3cb)](_0x32fc37)};_0xe00a4f[_0x2b44d3(0x1df)](_0xc3055);}}));}};_0x9f9f49=_0x1b682([_0x5815dd(0x0,_0x295c8f['Inject'](_0x442538['DocStateChangeManagerService'])),_0x5815dd(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c['CollaborationController'])),_0x5815dd(0x2,_0x295c8f['Inject'](_0x13d4ed)),_0x5815dd(0x3,_0x295c8f['Inject'](_0x214e70)),_0x5815dd(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x5af825)),_0x5815dd(0x5,_0x295c8f[_0xce3cd0(0x2fb)](_0x109a2a)),_0x5815dd(0x6,_0x189b11['IMessageService']),_0x5815dd(0x7,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x237)]))],_0x9f9f49);var _0x3f8266=(_0xcd04ae=>(_0xcd04ae[_0xcd04ae[_0xce3cd0(0x175)]=0x0]='UNDEFINED',_0xcd04ae[_0xcd04ae['OK']=0x1]='OK',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1a0)]=0x2]=_0xce3cd0(0x1a0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2dc)]=0x3]=_0xce3cd0(0x2dc),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2b5)]=0x4]=_0xce3cd0(0x2b5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1ee)]=0x5]='UNAUTHENTICATED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x395)]=0x6]=_0xce3cd0(0x395),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2bb)]=0x7]=_0xce3cd0(0x2bb),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x41a)]=0x8]='TOO_MANY_REQUESTS',_0xcd04ae[_0xcd04ae['COMPLETION_FINISHED']=0x9]=_0xce3cd0(0x2e9),_0xcd04ae[_0xcd04ae['LOGIN_FAILED']=0xa]=_0xce3cd0(0x2b6),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x241)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1e1)]=0xc]=_0xce3cd0(0x1e1),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x210)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xcd04ae[_0xcd04ae['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xce3cd0(0x353),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x451)]=0xf]=_0xce3cd0(0x451),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x28b)]=0x10]=_0xce3cd0(0x28b),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1d3)]=0x64]=_0xce3cd0(0x1d3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x251)]=0x65]=_0xce3cd0(0x251),_0xcd04ae[_0xcd04ae['USER_NOT_FOUND']=0xc9]=_0xce3cd0(0x21a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1de)]=0xca]=_0xce3cd0(0x1de),_0xcd04ae[_0xcd04ae['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xce3cd0(0x3d3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2e3)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2f5)]=0x1772]=_0xce3cd0(0x2f5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x383)]=0x1773]=_0xce3cd0(0x383),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x312)]=0x1b59]=_0xce3cd0(0x312),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x43a)]=0x1b5a]=_0xce3cd0(0x43a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2ba)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xcd04ae[_0xcd04ae['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xce3cd0(0x418),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3e1)]=0x1b5d]=_0xce3cd0(0x3e1),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3a5)]=0x1f41]=_0xce3cd0(0x3a5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ff)]=0x2329]=_0xce3cd0(0x3ff),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x24d)]=0x232a]=_0xce3cd0(0x24d),_0xcd04ae[_0xcd04ae['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xcd04ae[_0xcd04ae['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x24c)]=0x232d]=_0xce3cd0(0x24c),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x38b)]=0x2711]=_0xce3cd0(0x38b),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x42f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x373)]=0x2713]=_0xce3cd0(0x373),_0xcd04ae[_0xcd04ae['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xce3cd0(0x359),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x31d)]=0x271a]=_0xce3cd0(0x31d),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x274)]=0x271b]=_0xce3cd0(0x274),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ef)]=0x271c]=_0xce3cd0(0x3ef),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1e6)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x401)]=0x271e]=_0xce3cd0(0x401),_0xcd04ae[_0xcd04ae['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2d4)]=0x2720]=_0xce3cd0(0x2d4),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b3)]=0x2af9]=_0xce3cd0(0x1b3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x253)]=0x2ee1]=_0xce3cd0(0x253),_0xcd04ae[_0xcd04ae['INVALID_INVITE_CODE']=0x2ee2]=_0xce3cd0(0x212),_0xcd04ae[_0xcd04ae['INVITE_CODE_REQUIRED']=0x2ee3]=_0xce3cd0(0x29e),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x337)]=0x2ee4]=_0xce3cd0(0x337),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x215)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x18b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2ec)]=0x32ca]=_0xce3cd0(0x2ec),_0xcd04ae[_0xcd04ae['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xce3cd0(0x2b2),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x23e)]=0x36b1]=_0xce3cd0(0x23e),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x345)]=0x36b2]=_0xce3cd0(0x345),_0xcd04ae[_0xcd04ae['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0xce3cd0(0x35a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2fc)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b5)]=0x36b5]=_0xce3cd0(0x1b5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x35e)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0xcd04ae[_0xcd04ae['ENTITLE_COUPON_USED_UP']=0x36b7]=_0xce3cd0(0x1c0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x387)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1be)]=0x3715]=_0xce3cd0(0x1be),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3de)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b6)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x233)]=0x37dd]=_0xce3cd0(0x233),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3af)]=0x3a99]=_0xce3cd0(0x3af),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x406)]=0x3a9a]=_0xce3cd0(0x406),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ea)]=0x3a9b]=_0xce3cd0(0x3ea),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x33c)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x34a)]=0x3a9d]=_0xce3cd0(0x34a),_0xcd04ae[_0xcd04ae['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0xce3cd0(0x1e0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x439)]=0x3a9f]=_0xce3cd0(0x439),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x284)]=0x3e81]=_0xce3cd0(0x284),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x23f)]=-0x1]=_0xce3cd0(0x23f),_0xcd04ae))(_0x3f8266||{});function _0x59df2d(_0x1413d7){const _0x1b374e=_0xce3cd0;var _0x28dd71,_0x467043;const _0x104e51=(_0x28dd71=_0x1413d7['stageInfo'])==null?void 0x0:_0x28dd71[_0x1b374e(0x2e0)],_0x3d0813=((_0x467043=_0x1413d7[_0x1b374e(0x39a)])==null?void 0x0:_0x467043['totalFormulasToCalculate'])||0x0;return _0x104e51===_0x218d3f['FormulaExecuteStageType'][_0x1b374e(0x19f)]&&_0x3d0813>0x0;}function _0x4562a9(_0x5e1f5d){return _0x5e1f5d['functionsExecutedState']===_0x218d3f['FormulaExecutedStateType']['SUCCESS'];}var _0x2f01f2=Object[_0xce3cd0(0x3e7)],_0x1206dd=(_0x1b6e39,_0x4c10a5,_0x481fc5,_0x4faf39)=>{for(var _0xa60039=_0x4faf39>0x1?void 0x0:_0x4faf39?_0x2f01f2(_0x4c10a5,_0x481fc5):_0x4c10a5,_0x3fe4d1=_0x1b6e39['length']-0x1,_0x8918b2;_0x3fe4d1>=0x0;_0x3fe4d1--)(_0x8918b2=_0x1b6e39[_0x3fe4d1])&&(_0xa60039=_0x8918b2(_0xa60039)||_0xa60039);return _0xa60039;},_0x4181cf=(_0x3810b0,_0x366bbd)=>(_0xcf69cd,_0x25793b)=>_0x366bbd(_0xcf69cd,_0x25793b,_0x3810b0);const _0x5a8e9d=_0xce3cd0(0x370),_0x3d3bba='/universer-api/license/formula/limit/start',_0x3266f8='/universer-api/license/formula/limit/done';let _0x42b753=class extends _0x295c8f['Disposable']{constructor(_0x4d6edc,_0x3ef51c,_0x2ee521,_0x390c71,_0x150785,_0x51bec2,_0x446f6f){const _0x58903d=_0xce3cd0;super(),_0xef452e(this,_0x58903d(0x329),null),_0xef452e(this,'_maxFormulaLimit',0x0),_0xef452e(this,_0x58903d(0x3cd),0x0),_0xef452e(this,_0x58903d(0x33a),[]),_0xef452e(this,_0x58903d(0x25a),0x0),(this[_0x58903d(0x287)]=_0x4d6edc,this[_0x58903d(0x223)]=_0x3ef51c,this[_0x58903d(0x32b)]=_0x2ee521,this[_0x58903d(0x220)]=_0x390c71,this[_0x58903d(0x2a9)]=_0x150785,this[_0x58903d(0x22d)]=_0x51bec2,this[_0x58903d(0x3fb)]=_0x446f6f,this[_0x58903d(0x180)]());}['_initCommandInterceptor'](){const _0x317791=_0xce3cd0;this[_0x317791(0x43c)](this['_commandService'][_0x317791(0x369)]((_0x4cdb31,_0x18e888)=>{const _0x580803=_0x317791;var _0x4598af;if(_0x4cdb31['id']!==_0x218d3f[_0x580803(0x3f3)]['id'])return;const _0x414df5=_0x4cdb31[_0x580803(0x275)];if(!this['_hasFormulaInDirtyRanges']((_0x4598af=_0x414df5[_0x580803(0x3d8)])!=null?_0x4598af:[]))return;if(!this[_0x580803(0x3f1)]())throw this[_0x580803(0x31a)](_0x4cdb31,_0x18e888),this['_showGuardMessage'](),new _0x295c8f['CanceledError']();})),this['disposeWithMe'](this['_commandService'][_0x317791(0x19c)]((_0x159950,_0x499416)=>{const _0x341be3=_0x317791;if(_0x159950['id']!==_0x218d3f[_0x341be3(0x31e)]['id'])return;const _0x1d7f4d=_0x159950[_0x341be3(0x275)];if(_0x59df2d(_0x1d7f4d)){const _0x126e32=_0x295c8f[_0x341be3(0x17e)]();this[_0x341be3(0x33a)]['push'](_0x126e32),this['_startCalculationLimit'](_0x126e32);}else{if(_0x4562a9(_0x1d7f4d)&&this[_0x341be3(0x33a)]['length']>0x0){const _0x2fc38e=this[_0x341be3(0x33a)][_0x341be3(0x334)]();this[_0x341be3(0x442)](_0x2fc38e);}}}));}[_0xce3cd0(0x2a7)](){const _0x1000d6=_0xce3cd0;super[_0x1000d6(0x2a7)](),this[_0x1000d6(0x377)](),this['_taskIds']=[],this[_0x1000d6(0x3cd)]=0x0,this[_0x1000d6(0x355)]=0x0,this[_0x1000d6(0x25a)]=0x0;}async[_0xce3cd0(0x31a)](_0x367882,_0x3c7e48){const _0x1183ad=_0xce3cd0;for(let _0x249b74=0x0;_0x249b74<0x1e;_0x249b74++)try{if(await this[_0x1183ad(0x342)](),this[_0x1183ad(0x3f1)]()){this[_0x1183ad(0x2d9)](_0x367882,_0x3c7e48),this[_0x1183ad(0x287)]['show']({'content':this['_localeService']['t'](_0x1183ad(0x436)),'type':_0x599761[_0x1183ad(0x437)][_0x1183ad(0x18a)]});return;}await new Promise(_0x512d99=>{const _0x439bca=_0x1183ad;this[_0x439bca(0x329)]=window[_0x439bca(0x454)](_0x512d99,0x3e8);});}catch(_0x1edee7){this[_0x1183ad(0x22d)][_0x1183ad(0x1b1)](_0x1edee7);}this[_0x1183ad(0x287)][_0x1183ad(0x1b8)]({'content':this[_0x1183ad(0x3fb)]['t'](_0x1183ad(0x225)),'type':_0x599761[_0x1183ad(0x437)][_0x1183ad(0x25e)]});}['_applyCommand'](_0x259872,_0x1fd9f1){const _0x46dbb7=_0xce3cd0;try{this[_0x46dbb7(0x223)][_0x46dbb7(0x37e)](_0x259872['id'],_0x259872[_0x46dbb7(0x275)],_0x1fd9f1);}catch(_0x3df58c){this[_0x46dbb7(0x22d)][_0x46dbb7(0x1b1)](_0x3df58c);}}[_0xce3cd0(0x2eb)](_0x1651a7,_0x12bd71){const _0x2a9eb4=_0xce3cd0;_0x12bd71<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x12bd71,this[_0x2a9eb4(0x355)]=Number[_0x2a9eb4(0x276)](_0x1651a7[_0x2a9eb4(0x358)]),this['_currentUsage']=Number[_0x2a9eb4(0x276)](_0x1651a7[_0x2a9eb4(0x1ce)]));}async['_startCalculationLimit'](_0x579af2){const _0x32484d=_0xce3cd0;var _0x5bc4eb,_0x4c9c37;const _0x2d784f=Date[_0x32484d(0x1f1)]();try{const _0x23c881=((_0x5bc4eb=this[_0x32484d(0x32b)][_0x32484d(0x310)](_0x2cb61c[_0x32484d(0x271)]))==null?void 0x0:_0x5bc4eb['startFormulaLimitUrl'])||_0x3d3bba,_0xedc653=(await this['_httpService'][_0x32484d(0x165)](_0x23c881,{'body':JSON[_0x32484d(0x221)]({'taskId':_0x579af2})}))['body'];if(((_0x4c9c37=_0xedc653[_0x32484d(0x1b1)])==null?void 0x0:_0x4c9c37['code'])!==_0x3f8266['OK'])return;this[_0x32484d(0x2eb)](_0xedc653[_0x32484d(0x1fd)],_0x2d784f);}catch(_0x2dc7b2){this[_0x32484d(0x22d)][_0x32484d(0x1b1)](_0x2dc7b2);}}async[_0xce3cd0(0x342)](_0x4a5adf){const _0x3fd688=_0xce3cd0;var _0x1515c4,_0x1a8834;const _0x23c77c=Date[_0x3fd688(0x1f1)]();try{const _0x3a716e=((_0x1515c4=this[_0x3fd688(0x32b)][_0x3fd688(0x310)](_0x2cb61c[_0x3fd688(0x271)]))==null?void 0x0:_0x1515c4[_0x3fd688(0x2d2)])||_0x5a8e9d,_0x2da31d=_0x4a5adf?_0x3a716e+_0x3fd688(0x197)+encodeURIComponent(_0x4a5adf):_0x3a716e,_0x409876=(await this[_0x3fd688(0x220)][_0x3fd688(0x3fa)](_0x2da31d))['body'];if(((_0x1a8834=_0x409876[_0x3fd688(0x1b1)])==null?void 0x0:_0x1a8834[_0x3fd688(0x216)])!==_0x3f8266['OK'])return;this[_0x3fd688(0x2eb)](_0x409876['limitInfo'],_0x23c77c);}catch(_0x6b797a){this[_0x3fd688(0x22d)][_0x3fd688(0x1b1)](_0x6b797a);}}async[_0xce3cd0(0x442)](_0x3c0ea4){const _0x3fb985=_0xce3cd0;var _0x3289a2,_0x3d9a8b;const _0x37ced9=Date[_0x3fb985(0x1f1)]();try{const _0x54822f=((_0x3289a2=this['_configService'][_0x3fb985(0x310)](_0x2cb61c[_0x3fb985(0x271)]))==null?void 0x0:_0x3289a2['releaseFormulaLimitUrl'])||_0x3266f8,_0x11d6c8=(await this['_httpService']['post'](_0x54822f,{'body':JSON['stringify']({'taskId':_0x3c0ea4})}))[_0x3fb985(0x17d)];if(((_0x3d9a8b=_0x11d6c8[_0x3fb985(0x1b1)])==null?void 0x0:_0x3d9a8b[_0x3fb985(0x216)])!==_0x3f8266['OK'])return;this[_0x3fb985(0x2eb)](_0x11d6c8['limitInfo'],_0x37ced9);}catch(_0x54af2b){this[_0x3fb985(0x22d)]['error'](_0x54af2b);}}['_checkCalculationAvailable'](){const _0x239e14=_0xce3cd0;return this[_0x239e14(0x355)]===0x0?!0x0:this[_0x239e14(0x355)]-this[_0x239e14(0x3cd)]>0x0;}['_clearPolling'](){const _0x127c00=_0xce3cd0;this['_pollingInterval']&&(clearTimeout(this['_pollingInterval']),this[_0x127c00(0x329)]=null);}[_0xce3cd0(0x1c1)](){const _0x1d1640=_0xce3cd0;this[_0x1d1640(0x287)][_0x1d1640(0x1b8)]({'content':this[_0x1d1640(0x3fb)]['t'](_0x1d1640(0x1bb)),'type':_0x599761[_0x1d1640(0x437)][_0x1d1640(0x232)]});}[_0xce3cd0(0x15f)](_0x19a84d){const _0x51e345=_0xce3cd0;for(const _0xc45b9c of _0x19a84d){const {unitId:_0x394a30,sheetId:_0x3c2205,range:_0x5d661d}=_0xc45b9c,_0x546d5d=this['_univerInstanceService'][_0x51e345(0x158)](_0x394a30);if(!_0x546d5d)continue;const _0x13e930=_0x546d5d[_0x51e345(0x411)](_0x3c2205);if(!_0x13e930)continue;const _0x24a26a=_0x13e930[_0x51e345(0x27d)]();for(let _0x35cf53=_0x5d661d[_0x51e345(0x1ad)];_0x35cf53<=_0x5d661d[_0x51e345(0x361)];_0x35cf53++)for(let _0x19f6a4=_0x5d661d['startColumn'];_0x19f6a4<=_0x5d661d['endColumn'];_0x19f6a4++){const _0x57873e=_0x24a26a[_0x51e345(0x2a1)](_0x35cf53,_0x19f6a4);if(_0x57873e&&(_0x295c8f[_0x51e345(0x44f)](_0x57873e['f'])||_0x295c8f[_0x51e345(0x300)](_0x57873e['si'])))return!0x0;}}return!0x1;}};_0x42b753=_0x1206dd([_0x4181cf(0x0,_0x295c8f[_0xce3cd0(0x2fb)](_0x189b11[_0xce3cd0(0x1ab)])),_0x4181cf(0x1,_0x295c8f[_0xce3cd0(0x2f7)]),_0x4181cf(0x2,_0x295c8f[_0xce3cd0(0x3ec)]),_0x4181cf(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x4181cf(0x4,_0x295c8f['IUniverInstanceService']),_0x4181cf(0x5,_0x295c8f[_0xce3cd0(0x29b)]),_0x4181cf(0x6,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x237)]))],_0x42b753);var _0x7e89c6=Object[_0xce3cd0(0x3e7)],_0x33ad81=(_0x3caf23,_0x81fbfc,_0x20def8,_0x41f4b1)=>{for(var _0x16ab70=_0x41f4b1>0x1?void 0x0:_0x41f4b1?_0x7e89c6(_0x81fbfc,_0x20def8):_0x81fbfc,_0x26b1cc=_0x3caf23['length']-0x1,_0x393cc3;_0x26b1cc>=0x0;_0x26b1cc--)(_0x393cc3=_0x3caf23[_0x26b1cc])&&(_0x16ab70=_0x393cc3(_0x16ab70)||_0x16ab70);return _0x16ab70;},_0x531a52=(_0xe47081,_0x5f1c39)=>(_0x3aa668,_0x2d29b6)=>_0x5f1c39(_0x3aa668,_0x2d29b6,_0xe47081);let _0x449712=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x112f8f,_0x44a68f,_0x130e14){const _0x4955b9=_0xce3cd0;super(),_0xef452e(this,_0x4955b9(0x443),new Map()),_0xef452e(this,_0x4955b9(0x3ae),new Map()),_0xef452e(this,_0x4955b9(0x347),!0x1),(this['_configService']=_0x112f8f,this[_0x4955b9(0x316)]=_0x44a68f,this[_0x4955b9(0x1a8)]=_0x130e14);}[_0xce3cd0(0x1a3)](){const _0x1ae716=_0xce3cd0;this[_0x1ae716(0x347)]=!0x0;}[_0xce3cd0(0x1ff)](){const _0x58a060=_0xce3cd0;this[_0x58a060(0x347)]=!0x1;}get[_0xce3cd0(0x19e)](){const _0x46d760=_0xce3cd0;return this[_0x46d760(0x3ae)];}['dispose'](){const _0x3ee0ce=_0xce3cd0;this[_0x3ee0ce(0x1ed)]()[_0x3ee0ce(0x1af)](()=>super[_0x3ee0ce(0x2a7)]());}async[_0xce3cd0(0x2ad)](_0x1fb55f){const _0x335511=_0xce3cd0;return this['_disabled']?null:this[_0x335511(0x316)][_0x335511(0x364)](_0x2cb61c[_0x335511(0x1d7)](_0x1fb55f));}async[_0xce3cd0(0x371)](_0x28e6dd,_0x6941c0){const _0x1319c1=_0xce3cd0;return!!this[_0x1319c1(0x316)][_0x1319c1(0x183)](_0x28e6dd,_0x6941c0);}[_0xce3cd0(0x38c)](_0x8afd5f,_0x3404a5,_0x10e1ad,_0x127577){const _0x49c8d2=_0xce3cd0,_0x3a5876=this[_0x49c8d2(0x1a8)][_0x49c8d2(0x2ef)](_0x8afd5f);this['_cachedData'][_0x49c8d2(0x427)](_0x8afd5f,{'unitID':_0x8afd5f,'type':_0x3404a5,'awaitingChangeset':_0x10e1ad,'mutations':_0x127577,'rev':_0x3a5876}),this[_0x49c8d2(0x3ae)][_0x49c8d2(0x2d5)](_0x8afd5f)||this[_0x49c8d2(0x44e)](_0x8afd5f);}[_0xce3cd0(0x44e)](_0x26fc77){const _0xbe3366=_0xce3cd0,_0x1dd918=this[_0xbe3366(0x303)]();_0x1dd918===0x0?this[_0xbe3366(0x290)](_0x26fc77):this['_saveTaskMap']['set'](_0x26fc77,setTimeout(()=>this[_0xbe3366(0x290)](_0x26fc77),_0x1dd918));}[_0xce3cd0(0x303)](){const _0x1bc32b=_0xce3cd0;var _0x33cf27;return(_0x33cf27=this[_0x1bc32b(0x32b)][_0x1bc32b(0x310)](_0x2cb61c[_0x1bc32b(0x380)]))!=null?_0x33cf27:_0x2cb61c['LOCAL_CACHE_INTERVAL'];}[_0xce3cd0(0x290)](_0xe285cf){const _0x5dbc30=_0xce3cd0,_0x2c6ada=this[_0x5dbc30(0x3ae)][_0x5dbc30(0x3fa)](_0xe285cf);return _0x2c6ada!==void 0x0&&window[_0x5dbc30(0x38f)](_0x2c6ada),this[_0x5dbc30(0x316)][_0x5dbc30(0x183)](_0x2cb61c['getLocalCacheKey'](_0xe285cf),this[_0x5dbc30(0x443)][_0x5dbc30(0x3fa)](_0xe285cf))[_0x5dbc30(0x1af)](()=>this[_0x5dbc30(0x3ae)][_0x5dbc30(0x434)](_0xe285cf));}async[_0xce3cd0(0x1ed)](){const _0x3a6b6b=_0xce3cd0,_0x584c54=[];this[_0x3a6b6b(0x3ae)]['forEach']((_0x425559,_0x7d6dfd)=>{const _0x379969=_0x3a6b6b;window[_0x379969(0x38f)](_0x425559),_0x584c54[_0x379969(0x44a)](this[_0x379969(0x290)](_0x7d6dfd)['then'](()=>{const _0x47b30d=_0x379969;this['_saveTaskMap'][_0x47b30d(0x434)](_0x7d6dfd);}));}),await Promise[_0x3a6b6b(0x209)](_0x584c54);}};_0x449712=_0x33ad81([_0x531a52(0x0,_0x295c8f[_0xce3cd0(0x3ec)]),_0x531a52(0x1,_0x295c8f[_0xce3cd0(0x159)]),_0x531a52(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x143a87[_0xce3cd0(0x3c2)]))],_0x449712);class _0x342226 extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(){const _0x5f5660=_0xce3cd0;super(),_0xef452e(this,_0x5f5660(0x2e1)),this[_0x5f5660(0x2e1)]=_0x58c226[_0x5f5660(0x41b)](window,_0x5f5660(0x3e5))[_0x5f5660(0x2de)](_0x58c226['takeUntil'](this[_0x5f5660(0x269)]),_0x58c226[_0x5f5660(0x186)](0x1),_0x58c226[_0x5f5660(0x447)](void 0x0));}['setParam'](_0x20ca5f,_0x3e2cfc,_0x42d436=!0x1){const _0x4231df=_0xce3cd0,_0xe6e819=new URL(window[_0x4231df(0x207)][_0x4231df(0x356)]);_0xe6e819['searchParams'][_0x4231df(0x427)](_0x20ca5f,_0x3e2cfc),_0x42d436?window[_0x4231df(0x39c)][_0x4231df(0x349)]('','',_0xe6e819[_0x4231df(0x18c)]()):window[_0x4231df(0x39c)][_0x4231df(0x1b7)]('','',_0xe6e819[_0x4231df(0x18c)]());}[_0xce3cd0(0x1db)](_0x20243e,_0x343be1=!0x1){const _0x383f60=_0xce3cd0,_0x123858=new URL(window[_0x383f60(0x207)][_0x383f60(0x356)]);_0x123858[_0x383f60(0x317)]['delete'](_0x20243e),_0x343be1?window[_0x383f60(0x39c)]['replaceState']('','',_0x123858[_0x383f60(0x18c)]()):window[_0x383f60(0x39c)]['pushState']('','',_0x123858[_0x383f60(0x18c)]());}[_0xce3cd0(0x34d)](_0x1e15c3){const _0x38597e=_0xce3cd0;var _0x375c73;return(_0x375c73=new URL(window[_0x38597e(0x207)][_0x38597e(0x356)])['searchParams']['get'](_0x1e15c3))!=null?_0x375c73:void 0x0;}}var _0x189c15=Object[_0xce3cd0(0x295)],_0x210107=Object['getOwnPropertyDescriptor'],_0x504ae8=(_0x17a1bd,_0x4cba49,_0x263704)=>_0x4cba49 in _0x17a1bd?_0x189c15(_0x17a1bd,_0x4cba49,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x263704}):_0x17a1bd[_0x4cba49]=_0x263704,_0x1841ca=(_0x4a148f,_0x482303,_0x4a86a5,_0x38ab40)=>{const _0x4e818a=_0xce3cd0;for(var _0x4d0c9b=_0x38ab40>0x1?void 0x0:_0x38ab40?_0x210107(_0x482303,_0x4a86a5):_0x482303,_0x373c1d=_0x4a148f[_0x4e818a(0x37b)]-0x1,_0x5ab742;_0x373c1d>=0x0;_0x373c1d--)(_0x5ab742=_0x4a148f[_0x373c1d])&&(_0x4d0c9b=_0x5ab742(_0x4d0c9b)||_0x4d0c9b);return _0x4d0c9b;},_0x5e9c2e=(_0x114ea8,_0x571179)=>(_0x77567a,_0x53906d)=>_0x571179(_0x77567a,_0x53906d,_0x114ea8),_0x170801=(_0x54e9a0,_0x3b3456,_0x36ecfb)=>_0x504ae8(_0x54e9a0,_0x3b3456+'',_0x36ecfb);const _0x473e0c=_0xce3cd0(0x344);_0x38ae7f['UniverCollaborationClientUIPlugin']=class extends _0x295c8f[_0xce3cd0(0x2d6)]{constructor(_0x32b2e4=_0xf2bce4,_0x14adb1,_0x2c859a,_0x5ee614){const _0x41d5cc=_0xce3cd0;super(),this[_0x41d5cc(0x27f)]=_0x32b2e4,this[_0x41d5cc(0x3a8)]=_0x14adb1,this[_0x41d5cc(0x1f6)]=_0x2c859a,this[_0x41d5cc(0x32b)]=_0x5ee614;const {..._0x546e01}=_0x295c8f['merge']({},_0xf2bce4,this[_0x41d5cc(0x27f)]);this['_configService'][_0x41d5cc(0x218)](_0x1e1ed6,_0x546e01);}[_0xce3cd0(0x1a1)](){const _0x39fc6a=_0xce3cd0;this[_0x39fc6a(0x2fd)](),this[_0x39fc6a(0x184)]();}[_0xce3cd0(0x393)](){const _0xacd3ba=_0xce3cd0;this[_0xacd3ba(0x30c)]();}[_0xce3cd0(0x2fd)](){const _0x4646ff=_0xce3cd0;var _0x514729;const _0x2dbdc2=[[_0x12f6f6],[_0x42b753],[_0x5af825],[_0x13d4ed],[_0x214e70],[_0x109a2a],[_0x4d5ea0,{'useClass':_0x342226}],[_0x17ac2f[_0x4646ff(0x19a)],{'useClass':_0x17ac2f[_0x4646ff(0x25c)]}],[_0x2cb61c[_0x4646ff(0x21e)],{'useClass':_0x449712}],[_0x38ae7f[_0x4646ff(0x22e)]],[_0x9f9f49],[_0x220b52],[_0x150b36],[_0x2605d0],[_0x38ae7f[_0x4646ff(0x3a3)]]];this[_0x4646ff(0x27f)][_0x4646ff(0x2f3)]&&_0x2dbdc2[_0x4646ff(0x44a)]([_0x39c89f]),_0x295c8f[_0x4646ff(0x266)](this[_0x4646ff(0x1f6)],_0x295c8f[_0x4646ff(0x289)](_0x2dbdc2,(_0x514729=this['_config'])==null?void 0x0:_0x514729[_0x4646ff(0x435)]));}['_registerRenderDependencies'](){const _0x927a76=_0xce3cd0;this[_0x927a76(0x43c)](this['_renderManagerService'][_0x927a76(0x39b)](_0x295c8f[_0x927a76(0x1f4)][_0x927a76(0x308)],[_0x53604e])),this[_0x927a76(0x43c)](this[_0x927a76(0x3a8)][_0x927a76(0x39b)](_0x295c8f[_0x927a76(0x1f4)][_0x927a76(0x441)],[_0x883637]));}[_0xce3cd0(0x184)](){const _0x3b99a2=_0xce3cd0;_0x295c8f[_0x3b99a2(0x2e2)](this[_0x3b99a2(0x1f6)],[[_0x150b36],[_0x38ae7f[_0x3b99a2(0x22e)]],[_0x9f9f49],[_0x220b52],[_0x38ae7f[_0x3b99a2(0x3a3)]],[_0x42b753]]),this[_0x3b99a2(0x27f)][_0x3b99a2(0x2f3)]&&_0x295c8f['touchDependencies'](this[_0x3b99a2(0x1f6)],[[_0x39c89f]]);}},_0x170801(_0x38ae7f['UniverCollaborationClientUIPlugin'],_0xce3cd0(0x26e),_0x473e0c),_0x38ae7f[_0xce3cd0(0x3a7)]=_0x1841ca([_0x295c8f['DependentOn'](_0x2cb61c[_0xce3cd0(0x3bb)]),_0x5e9c2e(0x1,_0x8db91b[_0xce3cd0(0x455)]),_0x5e9c2e(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0x5e9c2e(0x3,_0x295c8f[_0xce3cd0(0x3ec)])],_0x38ae7f['UniverCollaborationClientUIPlugin']);var _0x5c5821=Object[_0xce3cd0(0x3e7)],_0x262b3a=(_0x570aa9,_0x12130f,_0x35cdde,_0xe8f31c)=>{const _0x3847fa=_0xce3cd0;for(var _0x16b390=_0xe8f31c>0x1?void 0x0:_0xe8f31c?_0x5c5821(_0x12130f,_0x35cdde):_0x12130f,_0x154dab=_0x570aa9[_0x3847fa(0x37b)]-0x1,_0x40e0fd;_0x154dab>=0x0;_0x154dab--)(_0x40e0fd=_0x570aa9[_0x154dab])&&(_0x16b390=_0x40e0fd(_0x16b390)||_0x16b390);return _0x16b390;},_0x442ea6=(_0x35899d,_0x1cf839)=>(_0x4d72c4,_0x325fe8)=>_0x1cf839(_0x4d72c4,_0x325fe8,_0x35899d);_0x38ae7f[_0xce3cd0(0x35f)]=class extends _0x2cb61c[_0xce3cd0(0x42d)]{constructor(_0x189a3e,_0x4d61be,_0x959c4e,_0x1ddb9a,_0x1cb8de){super(_0x189a3e,_0x4d61be,_0x959c4e,_0x1ddb9a,_0x1cb8de);}async[_0xce3cd0(0x327)](_0x2690cd){const _0x9c3ad=_0xce3cd0,_0x15e648=await this[_0x9c3ad(0x2a4)](),_0x3178c6=this[_0x9c3ad(0x391)](_0x2690cd,_0x15e648);return this['_doCreateSocket'](_0x3178c6);}[_0xce3cd0(0x391)](_0x149f97,_0x234495){const _0x4bae79=_0xce3cd0,_0x3eef9c=typeof window>'u'?new URL(_0x149f97):new URL(_0x149f97,window['location']['origin']);_0x3eef9c[_0x4bae79(0x317)][_0x4bae79(0x427)]('sessionTicket',_0x234495);const _0x2796ab=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4bae79(0x207)]['search']);return _0x2796ab['get'](_0x4bae79(0x3d5))&&_0x3eef9c[_0x4bae79(0x317)]['set'](_0x4bae79(0x3d5),_0x2796ab[_0x4bae79(0x3fa)](_0x4bae79(0x3d5))),_0x3eef9c[_0x4bae79(0x18c)]();}async[_0xce3cd0(0x2a4)](){const _0x1ffeba=_0xce3cd0;var _0x5437e9,_0x92557d,_0x30e5ad;const _0x4b26e8=this[_0x1ffeba(0x32b)][_0x1ffeba(0x310)](_0x2cb61c[_0x1ffeba(0x271)]),_0x1aef92=(_0x5437e9=_0x4b26e8==null?void 0x0:_0x4b26e8[_0x1ffeba(0x30b)])!=null?_0x5437e9:_0x2cb61c[_0x1ffeba(0x397)];return(_0x30e5ad=(_0x92557d=(await this[_0x1ffeba(0x220)][_0x1ffeba(0x3fa)](_0x1aef92,{'headers':{'Content-Type':_0x1ffeba(0x3a4)}}))['body'])==null?void 0x0:_0x92557d[_0x1ffeba(0x2c3)])!=null?_0x30e5ad:'';}},_0x38ae7f[_0xce3cd0(0x35f)]=_0x262b3a([_0x442ea6(0x0,_0x295c8f['Inject'](_0x295c8f['Injector'])),_0x442ea6(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x442ea6(0x2,_0x295c8f[_0xce3cd0(0x3ec)]),_0x442ea6(0x3,_0x295c8f['ILogService']),_0x442ea6(0x4,_0x143a87['ISnapshotServerService'])],_0x38ae7f[_0xce3cd0(0x35f)]);var _0x159f39=Object[_0xce3cd0(0x3e7)],_0x23e401=(_0x1ee8d6,_0x139138,_0x5451ab,_0x3e5aba)=>{for(var _0x197aa=_0x3e5aba>0x1?void 0x0:_0x3e5aba?_0x159f39(_0x139138,_0x5451ab):_0x139138,_0x56013e=_0x1ee8d6['length']-0x1,_0x3dc2d6;_0x56013e>=0x0;_0x56013e--)(_0x3dc2d6=_0x1ee8d6[_0x56013e])&&(_0x197aa=_0x3dc2d6(_0x197aa)||_0x197aa);return _0x197aa;},_0x46d7ee=(_0x5499eb,_0x53c92b)=>(_0x2f6f53,_0x383e1f)=>_0x53c92b(_0x2f6f53,_0x383e1f,_0x5499eb);_0x38ae7f[_0xce3cd0(0x3b7)]=class extends _0x295c8f['Disposable']{constructor(_0xdc00b3,_0x5e2e57,_0x57bd4f){super(),this['_instanceService']=_0xdc00b3,this['_httpService']=_0x5e2e57,this['_configService']=_0x57bd4f;}async[_0xce3cd0(0x3d9)](_0x5cce66,_0x5b4cf9,_0x35e7a2,..._0x208282){const _0x3ee3a1=_0xce3cd0;var _0x1f6d14,_0x63d543,_0x116cfa,_0x45ecee;const _0x3ae3b2=this[_0x3ee3a1(0x301)][_0x3ee3a1(0x438)]();if(!_0x3ae3b2)throw new Error(_0x3ee3a1(0x40b));const _0x4af05d=((_0x1f6d14=this[_0x3ee3a1(0x32b)][_0x3ee3a1(0x310)](_0x2cb61c[_0x3ee3a1(0x2af)]))!=null?_0x1f6d14:_0x2cb61c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5cce66+_0x3ee3a1(0x22c)+_0x5b4cf9,_0x516992=new URL(window[_0x3ee3a1(0x207)][_0x3ee3a1(0x356)]),_0x1b1413={'scriptId':_0x5cce66,'runId':(_0x63d543=_0x516992[_0x3ee3a1(0x317)][_0x3ee3a1(0x3fa)](_0x3ee3a1(0x3d5)))!=null?_0x63d543:'','function':_0x5b4cf9,'unitId':_0x3ae3b2[_0x3ee3a1(0x41d)](),'argsOfFunction':JSON[_0x3ee3a1(0x221)](_0x208282),'invokeId':(_0x116cfa=_0x35e7a2['invokeId'])!=null?_0x116cfa:'','executionId':(_0x45ecee=_0x35e7a2[_0x3ee3a1(0x2fe)])!=null?_0x45ecee:''};try{const _0x174a48=await this[_0x3ee3a1(0x220)][_0x3ee3a1(0x165)](_0x4af05d,{'body':_0x1b1413});return _0x174a48[_0x3ee3a1(0x17d)][_0x3ee3a1(0x1b1)]&&_0x174a48[_0x3ee3a1(0x17d)]['error'][_0x3ee3a1(0x216)]!==_0x3f8266['OK']?_0x3ee3a1(0x293):_0x174a48[_0x3ee3a1(0x17d)][_0x3ee3a1(0x2ea)];}catch{return _0x3ee3a1(0x293);}}},_0x38ae7f['RemoteUniscriptService']=_0x23e401([_0x46d7ee(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0x46d7ee(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x46d7ee(0x2,_0x295c8f['IConfigService'])],_0x38ae7f['RemoteUniscriptService']);const _0x10d2cb=0x7530,_0x1c9a75=_0xce3cd0(0x3cf);class _0x370626 extends _0x295c8f['Disposable']{constructor(){const _0x22375a=_0xce3cd0;super(),_0xef452e(this,_0x22375a(0x417),_0x295c8f[_0x22375a(0x17e)]()),_0xef452e(this,'_selfUnitIDs',new Set()),_0xef452e(this,_0x22375a(0x3e8),new Map()),_0xef452e(this,_0x22375a(0x292),null),_0xef452e(this,'_clearOtherTimers',new Map()),_0xef452e(this,_0x22375a(0x18f),new Map()),this[_0x22375a(0x30d)]();}[_0xce3cd0(0x2a7)](){const _0xa3b1db=_0xce3cd0;super[_0xa3b1db(0x2a7)](),this[_0xa3b1db(0x2b9)][_0xa3b1db(0x2e5)]((_0x106254,_0x790c78)=>this[_0xa3b1db(0x322)](_0x790c78)),this[_0xa3b1db(0x292)]&&window[_0xa3b1db(0x296)](this[_0xa3b1db(0x292)]);}['getUnitStatus$'](_0x1cbc68){const _0x67c42b=_0xce3cd0;return this['_ensureSubject'](_0x1cbc68)['pipe'](_0x58c226[_0x67c42b(0x3f4)]());}[_0xce3cd0(0x32e)](_0x3f9cc1){const _0x5220dd=_0xce3cd0;this[_0x5220dd(0x16a)][_0x5220dd(0x348)]===0x0&&this[_0x5220dd(0x379)](),this[_0x5220dd(0x16a)][_0x5220dd(0x3f9)](_0x3f9cc1),this['_send']({'type':0x0,'memberID':this[_0x5220dd(0x417)],'unitIDs':[_0x3f9cc1],'isForwarded':!0x1});}[_0xce3cd0(0x231)](_0x22044b){const _0x25ed5a=_0xce3cd0;this[_0x25ed5a(0x16a)][_0x25ed5a(0x434)](_0x22044b),this['_selfUnitIDs'][_0x25ed5a(0x348)]===0x0&&this['_heartbeatTimer']&&window[_0x25ed5a(0x296)](this['_heartbeatTimer']);}[_0xce3cd0(0x30d)](){const _0x57d4b6=_0xce3cd0;this[_0x57d4b6(0x43c)](_0x295c8f[_0x57d4b6(0x239)](_0x58c226[_0x57d4b6(0x41b)](window,_0x57d4b6(0x314))[_0x57d4b6(0x17f)](_0x1bac1f=>{const _0x3d8c1c=_0x57d4b6;if(_0x1bac1f[_0x3d8c1c(0x1f8)]!==_0x1c9a75||!_0x1bac1f[_0x3d8c1c(0x1f5)])return;const _0x5d45ae=JSON[_0x3d8c1c(0x2b1)](_0x1bac1f[_0x3d8c1c(0x1f5)]);this[_0x3d8c1c(0x30a)](_0x5d45ae);}))),window[_0x57d4b6(0x2e4)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x57d4b6(0x264)](this[_0x57d4b6(0x16a)])}));}['_handleEvent'](_0x953116){const _0x16934e=_0xce3cd0;switch(_0x953116[_0x16934e(0x273)]){case 0x0:this['_handleJoinEvent'](_0x953116);break;case 0x1:this[_0x16934e(0x313)](_0x953116);break;case 0x2:this['_handleHeartbeatEvent'](_0x953116);break;}}[_0xce3cd0(0x3a6)](_0x251d69){const _0x1cd04f=_0xce3cd0,{unitIDs:_0x44f337,memberID:_0x1c5232,isForwarded:_0x3fdcca}=_0x251d69;_0x44f337[_0x1cd04f(0x2e5)](_0x1a5556=>{const _0x313f64=_0x1cd04f;if(!_0x3fdcca&&this['_unitOnClients'][_0x313f64(0x2d5)](_0x1a5556)&&this[_0x313f64(0x176)](_0x1a5556)[_0x313f64(0x173)](_0x2cb61c['UnitStatus'][_0x313f64(0x178)]),!this[_0x313f64(0x3e8)]['has'](_0x1a5556)||!this['_unitOnClients'][_0x313f64(0x3fa)](_0x1a5556)['has'](_0x1c5232)){const _0x4d1467=this[_0x313f64(0x3e8)][_0x313f64(0x3fa)](_0x1a5556)||new Set();_0x4d1467[_0x313f64(0x3f9)](_0x1c5232),this[_0x313f64(0x3e8)][_0x313f64(0x427)](_0x1a5556,_0x4d1467),this[_0x313f64(0x363)](_0x1c5232);}}),_0x3fdcca||this[_0x1cd04f(0x320)]({'type':0x0,'memberID':this[_0x1cd04f(0x417)],'unitIDs':[...this[_0x1cd04f(0x16a)]],'isForwarded':!0x0});}[_0xce3cd0(0x363)](_0xfd213f){const _0x275ac2=_0xce3cd0;this[_0x275ac2(0x322)](_0xfd213f);const _0x5a6294=window[_0x275ac2(0x454)](()=>{const _0x55bfa8=_0x275ac2;this[_0x55bfa8(0x3e8)][_0x55bfa8(0x2e5)](_0x3ef0e5=>{const _0x1f9854=_0x55bfa8;_0x3ef0e5[_0x1f9854(0x434)](_0xfd213f);});},_0x10d2cb*0x2);this[_0x275ac2(0x2b9)][_0x275ac2(0x427)](_0xfd213f,_0x5a6294);}[_0xce3cd0(0x322)](_0xb1a272){const _0x501b7d=_0xce3cd0;if(this[_0x501b7d(0x2b9)]['has'](_0xb1a272)){const _0x2f6e92=this['_clearOtherTimers'][_0x501b7d(0x3fa)](_0xb1a272);_0x2f6e92&&window['clearTimeout'](_0x2f6e92),this[_0x501b7d(0x2b9)][_0x501b7d(0x427)](_0xb1a272,null);}}[_0xce3cd0(0x313)](_0x453a8d){const _0x621650=_0xce3cd0,{memberID:_0x3824be,unitIDs:_0x223c24}=_0x453a8d;_0x223c24['forEach'](_0x4767e6=>{const _0x32d60b=_0x2541;var _0x93098c;const _0x491db2=this['_unitOnClients']['get'](_0x4767e6);_0x491db2&&(_0x491db2['delete'](_0x3824be),(_0x93098c=this[_0x32d60b(0x176)](_0x4767e6))==null||_0x93098c[_0x32d60b(0x173)](_0x491db2[_0x32d60b(0x348)]===0x0?_0x2cb61c[_0x32d60b(0x428)][_0x32d60b(0x24f)]:_0x2cb61c['UnitStatus'][_0x32d60b(0x178)]));}),this[_0x621650(0x322)](_0x3824be);}['_handleHeartbeatEvent'](_0x37d3e4){const _0xe1748c=_0xce3cd0;this[_0xe1748c(0x363)](_0x37d3e4[_0xe1748c(0x3c4)]);}[_0xce3cd0(0x320)](_0x39772b){const _0x2d168b=_0xce3cd0;localStorage[_0x2d168b(0x183)](_0x1c9a75,JSON[_0x2d168b(0x221)](_0x39772b));}[_0xce3cd0(0x379)](){const _0xc58489=_0xce3cd0;this[_0xc58489(0x292)]=window[_0xc58489(0x3a1)](()=>{const _0x1977e4=_0xc58489;this[_0x1977e4(0x320)]({'type':0x2,'memberID':this['_id']});},_0x10d2cb);}['_ensureSubject'](_0x35d8b4){const _0x2f4aeb=_0xce3cd0;return this[_0x2f4aeb(0x18f)][_0x2f4aeb(0x2d5)](_0x35d8b4)||this[_0x2f4aeb(0x18f)][_0x2f4aeb(0x427)](_0x35d8b4,new _0x58c226[(_0x2f4aeb(0x43b))](_0x2cb61c['UnitStatus'][_0x2f4aeb(0x24f)])),this['_unitStatus'][_0x2f4aeb(0x3fa)](_0x35d8b4);}}_0x38ae7f['IURLService']=_0x4d5ea0,_0x38ae7f[_0xce3cd0(0x261)]=_0x3ee6ec,_0x38ae7f[_0xce3cd0(0x404)]=_0x370626,_0x38ae7f[_0xce3cd0(0x1d5)]=_0x342226,Object[_0xce3cd0(0x295)](_0x38ae7f,Symbol[_0xce3cd0(0x33e)],{'value':_0xce3cd0(0x360)});}));
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x476b(_0x600906,_0x22be55){_0x600906=_0x600906-0x103;var _0x1d26bd=_0x1d26();var _0x476b00=_0x1d26bd[_0x600906];return _0x476b00;}(function(_0x5c8b59,_0x1f9040){var _0x947fe1=_0x476b,_0x511e8b=_0x5c8b59();while(!![]){try{var _0x267412=parseInt(_0x947fe1(0x109))/0x1*(-parseInt(_0x947fe1(0x111))/0x2)+-parseInt(_0x947fe1(0x10f))/0x3+parseInt(_0x947fe1(0x104))/0x4*(-parseInt(_0x947fe1(0x103))/0x5)+parseInt(_0x947fe1(0x115))/0x6*(parseInt(_0x947fe1(0x110))/0x7)+parseInt(_0x947fe1(0x106))/0x8+parseInt(_0x947fe1(0x10e))/0x9*(parseInt(_0x947fe1(0x108))/0xa)+parseInt(_0x947fe1(0x114))/0xb;if(_0x267412===_0x1f9040)break;else _0x511e8b['push'](_0x511e8b['shift']());}catch(_0x373e55){_0x511e8b['push'](_0x511e8b['shift']());}}}(_0x1d26,0xda4f2),function(_0x294002,_0x81cb14){var _0x45cb42=_0x476b;typeof exports=='object'&&typeof module<'u'?_0x81cb14(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x45cb42(0x107)&&define[_0x45cb42(0x10d)]?define([_0x45cb42(0x105),_0x45cb42(0x10a)],_0x81cb14):(_0x294002=typeof globalThis<'u'?globalThis:_0x294002||self,_0x81cb14(_0x294002[_0x45cb42(0x113)],_0x294002['UniverCoreFacade']));}(this,function(_0x103543,_0x4d4e76){'use strict';var _0x2b9c21=_0x476b;class _0x2c2f08 extends _0x4d4e76[_0x2b9c21(0x10c)]{[_0x2b9c21(0x112)](_0x1acd00,_0x48be78,..._0x6b3bd1){var _0x1b6355=_0x2b9c21;return this['_injector']['get'](_0x103543['RemoteUniscriptService'])[_0x1b6355(0x112)](_0x1acd00,_0x48be78,{},..._0x6b3bd1);}}_0x4d4e76[_0x2b9c21(0x10c)][_0x2b9c21(0x10b)](_0x2c2f08);}));function _0x1d26(){var _0x353885=['328392rOkAzX','4249511lPpdYE','518FVvOKo','runOnServer','UniverProCollaborationClientUi','13559095rtFYxe','6zrljKH','6931825McodaR','4uQNbwM','@univerjs-pro/collaboration-client-ui','7946632Bjyvvx','function','1103590RBBOTV','3841PARyja','@univerjs/core/facade','extend','FUniver','amd','45uTSTfM'];_0x1d26=function(){return _0x353885;};return _0x1d26();}
11
+ function _0x2706(_0x49ec72,_0x5a9a3c){_0x49ec72=_0x49ec72-0x1ef;var _0x57522c=_0x5752();var _0x2706fc=_0x57522c[_0x49ec72];return _0x2706fc;}(function(_0x5203ca,_0x4d4467){var _0x25febe=_0x2706,_0x352fe3=_0x5203ca();while(!![]){try{var _0x58b8da=-parseInt(_0x25febe(0x1ef))/0x1+parseInt(_0x25febe(0x1f0))/0x2+-parseInt(_0x25febe(0x1f6))/0x3*(parseInt(_0x25febe(0x1f1))/0x4)+-parseInt(_0x25febe(0x1f9))/0x5+parseInt(_0x25febe(0x1fb))/0x6+-parseInt(_0x25febe(0x1fd))/0x7*(parseInt(_0x25febe(0x1f3))/0x8)+parseInt(_0x25febe(0x1f7))/0x9*(parseInt(_0x25febe(0x200))/0xa);if(_0x58b8da===_0x4d4467)break;else _0x352fe3['push'](_0x352fe3['shift']());}catch(_0x155c16){_0x352fe3['push'](_0x352fe3['shift']());}}}(_0x5752,0x8c439),function(_0x4398c8,_0xe039bf){var _0x1ac0b1=_0x2706;typeof exports==_0x1ac0b1(0x1f2)&&typeof module<'u'?_0xe039bf(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x1ac0b1(0x1fa)&&define[_0x1ac0b1(0x201)]?define(['@univerjs-pro/collaboration-client-ui','@univerjs/core/facade'],_0xe039bf):(_0x4398c8=typeof globalThis<'u'?globalThis:_0x4398c8||self,_0xe039bf(_0x4398c8[_0x1ac0b1(0x1ff)],_0x4398c8[_0x1ac0b1(0x1fe)]));}(this,function(_0x5cbc94,_0x5256cf){'use strict';class _0x48cc17 extends _0x5256cf['FUniver']{['runOnServer'](_0x12f2d5,_0x13c2ab,..._0x32b7f7){var _0x349979=_0x2706;return this[_0x349979(0x1fc)][_0x349979(0x1f5)](_0x5cbc94[_0x349979(0x1f8)])[_0x349979(0x1f4)](_0x12f2d5,_0x13c2ab,{},..._0x32b7f7);}}_0x5256cf['FUniver']['extend'](_0x48cc17);}));function _0x5752(){var _0x2e168c=['function','5066298uObqgY','_injector','7idAUVg','UniverCoreFacade','UniverProCollaborationClientUi','11497130zRNyLT','amd','587075MSPOQE','435786IcjQhV','4VjCFJe','object','6765832kYfGor','runOnServer','get','148794dKwKPg','9fykQNz','RemoteUniscriptService','775330nVIqCv'];_0x5752=function(){return _0x2e168c;};return _0x5752();}
12
12
 
13
13
  // @univerjs-pro/thread-comment-datasource/index
14
- function _0x18b0(_0x1ec00d,_0x3b5982){_0x1ec00d=_0x1ec00d-0x185;const _0x3622e8=_0x3622();let _0x18b049=_0x3622e8[_0x1ec00d];return _0x18b049;}function _0x3622(){const _0x3c3b84=['29613fEgKHx','onStarting','personId','threadId','Unknown','Disposable','getOwnPropertyDescriptor','disposeWithMe','@univerjs/thread-comment','UserManagerService','getUnit','UniverProCollaborationClient','DependentOn','parse','rangeType','commentUpdate$','forEach','amd','_sessionService','UniverLicensePlugin','addUser','type','UniverNetwork','12PGfQKe','customRanges','UniverThreadCommentUIPlugin','rxjs','Inject','userId','831572DWBWNC','thread-comment-data-source.config','ThreadCommentModel','/delete','defineProperty','CollaborationSessionService','Add','Delete','createTimestamp','@univerjs/core','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','_threadCommentModel','replyId','@univerjs/network','filter','rangeId','comment','pipe','setConfig','_config','Injector','deleteComment','dayjs','_initDataSource','getCurrentUser','code','replies','payload','UniverCore','requireSession','/universer-api/user/list','solved','UniverThreadCommentDataSourcePlugin','get','updateComment','listComments','map','dataSource','delete','UniverProLicense','parentId','onReady','OpenOrReOpen','_userService','_httpService','UniverCollaborationClientPlugin','length','500255bBQFkB','UniverProThreadCommentDatasource','4185990qpDAAJ','userID','UniverThreadComment','addComment','Solve','content','YYYY/MM/DD\x20HH:mm','exports','HTTPService','120960WyKeVI','resolved','/solved','resolveComment','Module','/edit','CustomRangeType','/list','399468ArMHUu','comments','Plugin','_initUserSync','UNIVER_UNKNOWN','6QHUDgb','_threadCommentDataSourceService','UniverThreadCommentUi','/universer-api/comment/unit/','size','object','IThreadCommentDataSourceService','_injector','subscribe','getMemberID','users','user','toStringTag','Edit','ref','CommentService','stringify','getUser','_threadCommentDataSource','bufferTime','find','post','slice','saveCommentToSnapshot','add','9hnwlhD','/add','@univerjs/thread-comment-ui','_init','body','error','UNRECOGNIZED','Solved','@univerjs-pro/collaboration-client','Reply','merge','230315FCnqoe','symbol','root','UniverInstanceType','format'];_0x3622=function(){return _0x3c3b84;};return _0x3622();}(function(_0x5f5b8f,_0x15cb68){const _0x4e7a7f=_0x18b0,_0x31e5db=_0x5f5b8f();while(!![]){try{const _0x38bb55=-parseInt(_0x4e7a7f(0x1fb))/0x1+parseInt(_0x4e7a7f(0x1d2))/0x2+-parseInt(_0x4e7a7f(0x200))/0x3*(parseInt(_0x4e7a7f(0x18a))/0x4)+parseInt(_0x4e7a7f(0x1bf))/0x5*(-parseInt(_0x4e7a7f(0x1d7))/0x6)+-parseInt(_0x4e7a7f(0x190))/0x7+-parseInt(_0x4e7a7f(0x1ca))/0x8+-parseInt(_0x4e7a7f(0x1f0))/0x9*(-parseInt(_0x4e7a7f(0x1c1))/0xa);if(_0x38bb55===_0x15cb68)break;else _0x31e5db['push'](_0x31e5db['shift']());}catch(_0x2dce46){_0x31e5db['push'](_0x31e5db['shift']());}}}(_0x3622,0x1e616),function(_0x4a2aa7,_0x2aa239){const _0x1c4f84=_0x18b0;typeof exports==_0x1c4f84(0x1dc)&&typeof module<'u'?_0x2aa239(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=='function'&&define[_0x1c4f84(0x211)]?define([_0x1c4f84(0x1c8),_0x1c4f84(0x1f8),'@univerjs-pro/license',_0x1c4f84(0x199),_0x1c4f84(0x1f2),_0x1c4f84(0x208),_0x1c4f84(0x18d),_0x1c4f84(0x19d)],_0x2aa239):(_0x4a2aa7=typeof globalThis<'u'?globalThis:_0x4a2aa7||self,_0x2aa239(_0x4a2aa7[_0x1c4f84(0x1c0)]={},_0x4a2aa7[_0x1c4f84(0x20b)],_0x4a2aa7[_0x1c4f84(0x1b7)],_0x4a2aa7[_0x1c4f84(0x1ac)],_0x4a2aa7[_0x1c4f84(0x1d9)],_0x4a2aa7[_0x1c4f84(0x1c3)],_0x4a2aa7[_0x1c4f84(0x18d)],_0x4a2aa7[_0x1c4f84(0x189)]));}(this,function(_0xb2817b,_0xaf304a,_0x4c4188,_0x5782bb,_0x40ae93,_0x4a4df5,_0x411842,_0xb23ab1){'use strict';const _0x4017a5=_0x18b0;const _0x26fd59=_0x4017a5(0x19a);var _0x35d217=(_0x574a77=>(_0x574a77[_0x574a77[_0x4017a5(0x1ba)]=0x0]=_0x4017a5(0x1ba),_0x574a77[_0x574a77[_0x4017a5(0x1f7)]=0x1]='Solved',_0x574a77[_0x574a77[_0x4017a5(0x1f6)]=-0x1]=_0x4017a5(0x1f6),_0x574a77))(_0x35d217||{}),_0x4e7287=(_0x2e1ec9=>(_0x2e1ec9[_0x2e1ec9[_0x4017a5(0x204)]=0x0]=_0x4017a5(0x204),_0x2e1ec9[_0x2e1ec9[_0x4017a5(0x196)]=0x1]='Add',_0x2e1ec9[_0x2e1ec9[_0x4017a5(0x1f9)]=0x2]=_0x4017a5(0x1f9),_0x2e1ec9[_0x2e1ec9[_0x4017a5(0x1e4)]=0x3]='Edit',_0x2e1ec9[_0x2e1ec9[_0x4017a5(0x197)]=0x4]='Delete',_0x2e1ec9[_0x2e1ec9['Solve']=0x5]=_0x4017a5(0x1c5),_0x2e1ec9[_0x2e1ec9['UNRECOGNIZED']=-0x1]=_0x4017a5(0x1f6),_0x2e1ec9))(_0x4e7287||{});const _0xb252d2=_0x384d21=>_0x5782bb[_0x4017a5(0x1a6)](new Date(+_0x384d21))['format']('YYYY/MM/DD\x20HH:mm'),_0x427da7=async(_0x24a72f,_0x3ef125)=>{const _0x321261=_0x4017a5,_0x5decae=_0x24a72f[_0x321261(0x1b1)](_0x5782bb['UserManagerService']),_0x2e20bf=_0x24a72f[_0x321261(0x1b1)](_0xb23ab1['HTTPService']);_0x3ef125[_0x321261(0x210)](_0x1764af=>{const _0x4aa549=_0x321261;_0x5decae[_0x4aa549(0x1e8)](_0x1764af)&&_0x3ef125[_0x4aa549(0x1b6)](_0x1764af);}),_0x3ef125[_0x321261(0x1db)]&&(await _0x2e20bf[_0x321261(0x1b1)](_0x321261(0x1ae),{'params':{'userIDs':[..._0x3ef125]}}))[_0x321261(0x1f4)][_0x321261(0x1e1)][_0x321261(0x210)](_0x501385=>{const _0x24df85=_0x321261;_0x501385&&_0x5decae[_0x24df85(0x187)](_0x501385);});};var _0x565ea6=Object[_0x4017a5(0x206)],_0x933df3=(_0x357fe0,_0x25d264,_0x49ad4d,_0x50805e)=>{for(var _0x1a6d51=_0x50805e>0x1?void 0x0:_0x50805e?_0x565ea6(_0x25d264,_0x49ad4d):_0x25d264,_0x1dd498=_0x357fe0['length']-0x1,_0x213334;_0x1dd498>=0x0;_0x1dd498--)(_0x213334=_0x357fe0[_0x1dd498])&&(_0x1a6d51=_0x213334(_0x1a6d51)||_0x1a6d51);return _0x1a6d51;},_0x22e093=(_0x124f19,_0x51fe04)=>(_0x239aa2,_0x23a631)=>_0x51fe04(_0x239aa2,_0x23a631,_0x124f19);let _0x3b27b7=class extends _0x5782bb[_0x4017a5(0x205)]{constructor(_0x5d0d1b,_0x3f5a62,_0x189eaa,_0x28a113){const _0x365845=_0x4017a5;super(),this['_commentService']=_0x5d0d1b,this[_0x365845(0x19b)]=_0x3f5a62,this[_0x365845(0x1bb)]=_0x189eaa,this['_injector']=_0x28a113,this[_0x365845(0x1f3)](),this[_0x365845(0x1d5)]();}['_initUserSync'](){const _0x300c65=_0x4017a5;this[_0x300c65(0x207)](this[_0x300c65(0x19b)][_0x300c65(0x20f)][_0x300c65(0x1a1)](_0x411842[_0x300c65(0x1ea)](0x10))[_0x300c65(0x1df)](_0x501d51=>{const _0xf9c3b1=_0x300c65,_0x4b12f8=new Set();_0x501d51[_0xf9c3b1(0x210)](_0xc2adb9=>{const _0x7f60de=_0xf9c3b1;switch(_0xc2adb9[_0x7f60de(0x188)]){case _0x7f60de(0x1ef):{const _0x30421e=_0xc2adb9[_0x7f60de(0x1ab)][_0x7f60de(0x202)];_0x4b12f8[_0x7f60de(0x1ef)](_0x30421e);break;}}}),_0x427da7(this[_0xf9c3b1(0x1de)],_0x4b12f8);}));}[_0x4017a5(0x1f3)](){const _0x596bc6=_0x4017a5;this[_0x596bc6(0x207)](this['_commentService'][_0x596bc6(0x20f)][_0x596bc6(0x1df)](async _0xb44414=>{const _0x145c60=_0x596bc6;var _0x27754e,_0x1d2158,_0x2a51d4,_0x24df04;const _0x458a97=(_0x27754e=this['_threadCommentModel'][_0x145c60(0x20a)](_0xb44414['unitId'])[_0x145c60(0x1eb)](_0x18de5b=>_0x18de5b[_0x145c60(0x203)]===_0xb44414[_0x145c60(0x203)]))==null?void 0x0:_0x27754e[_0x145c60(0x1fd)];if(!_0x458a97)return;const {unitId:_0x50fb31,subUnitId:_0xc5c080}=_0x458a97;switch(_0xb44414[_0x145c60(0x1e2)]&&this['_userService'][_0x145c60(0x187)](_0xb44414[_0x145c60(0x1e2)]),_0xb44414[_0x145c60(0x188)]){case _0x4e7287['Add']:break;case _0x4e7287['Reply']:{this[_0x145c60(0x19b)][_0x145c60(0x1c4)](_0x50fb31,_0xc5c080,{'unitId':_0x50fb31,'subUnitId':_0xc5c080,'ref':'','id':_0xb44414[_0x145c60(0x19c)],'dT':_0xb252d2(+_0xb44414[_0x145c60(0x198)]),'threadId':_0xb44414[_0x145c60(0x203)],'personId':(_0x2a51d4=(_0x1d2158=_0xb44414[_0x145c60(0x1e2)])==null?void 0x0:_0x1d2158[_0x145c60(0x1c2)])!=null?_0x2a51d4:_0xb44414[_0x145c60(0x18f)],'text':JSON['parse'](_0xb44414['content']),'parentId':_0x458a97['id']});break;}case _0x4e7287[_0x145c60(0x197)]:{const _0x42cf49=this['_threadCommentModel']['getComment'](_0x50fb31,_0xc5c080,_0xb44414[_0x145c60(0x19c)]);_0x42cf49&&_0x42cf49[_0x145c60(0x1b8)]&&this[_0x145c60(0x19b)][_0x145c60(0x1a5)](_0x50fb31,_0xc5c080,_0xb44414[_0x145c60(0x19c)]);break;}case _0x4e7287[_0x145c60(0x1e4)]:{this['_threadCommentModel'][_0x145c60(0x1b2)](_0x50fb31,_0xc5c080,{'commentId':_0xb44414[_0x145c60(0x19c)],'text':JSON['parse'](_0xb44414[_0x145c60(0x1c6)])});break;}case _0x4e7287[_0x145c60(0x1c5)]:{const _0x4bde90=(_0x24df04=this[_0x145c60(0x19b)][_0x145c60(0x20a)](_0xb44414['unitId'])[_0x145c60(0x1eb)](_0x3db378=>_0x3db378[_0x145c60(0x203)]===_0xb44414[_0x145c60(0x203)]))==null?void 0x0:_0x24df04[_0x145c60(0x1fd)];_0x4bde90&&this[_0x145c60(0x19b)][_0x145c60(0x1cd)](_0x50fb31,_0xc5c080,_0x4bde90['id'],_0xb44414[_0x145c60(0x1af)]===_0x35d217[_0x145c60(0x1f7)]);break;}}}));}};_0x3b27b7=_0x933df3([_0x22e093(0x0,_0x5782bb['Inject'](_0xaf304a[_0x4017a5(0x1e6)])),_0x22e093(0x1,_0x5782bb[_0x4017a5(0x18e)](_0x4a4df5[_0x4017a5(0x192)])),_0x22e093(0x2,_0x5782bb['Inject'](_0x5782bb['UserManagerService'])),_0x22e093(0x3,_0x5782bb[_0x4017a5(0x18e)](_0x5782bb[_0x4017a5(0x1a4)]))],_0x3b27b7);const _0x2102fc=_0x4017a5(0x191),_0x52b3a3={};var _0x44d9ef=Object[_0x4017a5(0x206)],_0x263079=(_0x258dda,_0x49c627,_0x460536,_0x4fcfbc)=>{const _0x4d8c30=_0x4017a5;for(var _0x380414=_0x4fcfbc>0x1?void 0x0:_0x4fcfbc?_0x44d9ef(_0x49c627,_0x460536):_0x49c627,_0xd4eb07=_0x258dda[_0x4d8c30(0x1be)]-0x1,_0x51773b;_0xd4eb07>=0x0;_0xd4eb07--)(_0x51773b=_0x258dda[_0xd4eb07])&&(_0x380414=_0x51773b(_0x380414)||_0x380414);return _0x380414;},_0x522ed8=(_0x1ca3b1,_0xb234d1)=>(_0x1aeef9,_0x292541)=>_0xb234d1(_0x1aeef9,_0x292541,_0x1ca3b1);function _0x329ac0(_0x3060a4,_0x5576f4){const _0x395cc7=_0x4017a5,_0x520a9d=_0x3060a4[_0x395cc7(0x1aa)][0x0];return{..._0x5576f4,'id':_0x520a9d[_0x395cc7(0x19c)],'resolved':_0x3060a4[_0x395cc7(0x1af)]===0x1,'dT':_0xb252d2(_0x520a9d[_0x395cc7(0x198)]),'personId':_0x520a9d[_0x395cc7(0x18f)],'threadId':_0x520a9d['threadId']};}function _0x1108cd(_0x552f9e,_0x445d35,_0x347f85){const _0x543702=_0x4017a5;var _0x490535,_0x4e3e5d;if(((_0x4e3e5d=(_0x490535=_0x552f9e==null?void 0x0:_0x552f9e[_0x543702(0x1aa)])==null?void 0x0:_0x490535['length'])!=null?_0x4e3e5d:0x0)>0x0){const _0x515919=(_0x447227,_0x4af93c)=>({'id':_0x447227[_0x543702(0x19c)],'threadId':_0x447227[_0x543702(0x203)],'dT':_0xb252d2(_0x447227[_0x543702(0x198)]),'personId':_0x447227[_0x543702(0x18f)],'resolved':_0x552f9e[_0x543702(0x1af)]===_0x35d217[_0x543702(0x1f7)],'unitId':_0x445d35,'subUnitId':_0x347f85,'text':JSON[_0x543702(0x20d)](_0x447227['content']),'parentId':_0x4af93c}),_0xb4fa02=_0x515919(_0x552f9e[_0x543702(0x1aa)][0x0]);return{..._0xb4fa02,'children':_0x552f9e[_0x543702(0x1aa)][_0x543702(0x1ed)](0x1)['map'](_0x4c1ab5=>_0x515919(_0x4c1ab5,_0xb4fa02['id']))};}return null;}let _0x46ea66=class{constructor(_0x3ceaea,_0x541ec0,_0x59aff1){const _0x242a19=_0x4017a5;this[_0x242a19(0x1bc)]=_0x3ceaea,this['_userService']=_0x541ec0,this[_0x242a19(0x185)]=_0x59aff1;}async['addComment'](_0x4cb6be){const _0x49803b=_0x4017a5;var _0x1407f0,_0x1f95c1;const {parentId:_0x19065d,unitId:_0x55e396,text:_0x37d09a,threadId:_0x20779f}=_0x4cb6be,_0x4caadd=(_0x1f95c1=(_0x1407f0=_0x37d09a[_0x49803b(0x18b)])==null?void 0x0:_0x1407f0['filter'](_0x188b2d=>_0x188b2d[_0x49803b(0x20e)]===_0x5782bb[_0x49803b(0x1d0)]['COMMENT'])[_0x49803b(0x1b4)](_0x56a740=>_0x56a740[_0x49803b(0x19f)]))!=null?_0x1f95c1:[],_0x39d418=JSON[_0x49803b(0x1e7)](_0x37d09a),_0xed6bbb=(await this[_0x49803b(0x185)][_0x49803b(0x1ad)](_0x55e396))['getMemberID']();if(_0x19065d){const _0x1e192a={'memberId':_0xed6bbb,'unitId':_0x55e396,'content':_0x39d418,'mention':_0x4caadd,'threadId':_0x20779f},_0x262721=(await this[_0x49803b(0x1bc)][_0x49803b(0x1ec)](_0x49803b(0x1da)+_0x55e396+'/reply',{'body':_0x1e192a}))[_0x49803b(0x1f4)]['reply'];return{..._0x4cb6be,'id':_0x262721[_0x49803b(0x19c)],'dT':_0x5782bb[_0x49803b(0x1a6)](+_0x262721['createTimestamp'])[_0x49803b(0x1ff)](_0x49803b(0x1c7)),'personId':_0x262721[_0x49803b(0x18f)]};}else{const _0x3e50be={'memberId':_0xed6bbb,'unitId':_0x55e396,'content':_0x39d418,'mention':_0x4caadd},_0x57d599=await this[_0x49803b(0x1bc)][_0x49803b(0x1ec)](_0x49803b(0x1da)+_0x55e396+_0x49803b(0x1f1),{'body':_0x3e50be});return _0x329ac0(_0x57d599[_0x49803b(0x1f4)][_0x49803b(0x1a0)],_0x4cb6be);}}async['updateComment'](_0x141952){const _0x360348=_0x4017a5;var _0x44883e,_0xaacbd3;const {text:_0x1fb287,unitId:_0x8119b8}=_0x141952,_0x1f5c43=(_0xaacbd3=(_0x44883e=_0x1fb287[_0x360348(0x18b)])==null?void 0x0:_0x44883e[_0x360348(0x19e)](_0x52d976=>_0x52d976['rangeType']===_0x5782bb['CustomRangeType']['COMMENT'])[_0x360348(0x1b4)](_0x3c93c7=>_0x3c93c7['rangeId']))!=null?_0xaacbd3:[],_0x43664d=JSON[_0x360348(0x1e7)](_0x1fb287),_0x3f3e83=_0x141952[_0x360348(0x203)],_0x4e3cd7=_0x141952['id'],_0x5b3b76={'memberId':(await this[_0x360348(0x185)][_0x360348(0x1ad)](_0x8119b8))[_0x360348(0x1e0)](),'unitId':_0x8119b8,'threadId':_0x3f3e83,'mention':_0x1f5c43,'content':_0x43664d,'replyId':_0x4e3cd7},_0x7ceeab=await this[_0x360348(0x1bc)]['post'](_0x360348(0x1da)+_0x8119b8+_0x360348(0x1cf),{'body':_0x5b3b76});return!_0x7ceeab[_0x360348(0x1f4)][_0x360348(0x1f5)]||_0x7ceeab[_0x360348(0x1f4)]['error'][_0x360348(0x1a9)]===0x1;}async['resolveComment'](_0x442e6c){const _0x100c74=_0x4017a5,{unitId:_0x180406}=_0x442e6c,_0x346b0d=_0x442e6c[_0x100c74(0x203)],_0x2e83ed={'memberId':this[_0x100c74(0x1bb)][_0x100c74(0x1a8)]()[_0x100c74(0x1c2)],'unitId':_0x180406,'threadId':_0x346b0d,'solved':_0x442e6c[_0x100c74(0x1cb)]?_0x35d217[_0x100c74(0x1f7)]:_0x35d217['OpenOrReOpen']},_0x3d60a9=await this[_0x100c74(0x1bc)][_0x100c74(0x1ec)](_0x100c74(0x1da)+_0x180406+_0x100c74(0x1cc),{'body':_0x2e83ed});return!_0x3d60a9[_0x100c74(0x1f4)][_0x100c74(0x1f5)]||_0x3d60a9[_0x100c74(0x1f4)][_0x100c74(0x1f5)]['code']===0x1;}async['deleteComment'](_0x16b542,_0x65fd1e,_0x53199f,_0x3091c0){const _0x36ed42=_0x4017a5,_0x1fa18f={'memberId':(await this[_0x36ed42(0x185)][_0x36ed42(0x1ad)](_0x16b542))[_0x36ed42(0x1e0)](),'threadId':_0x53199f,'replyId':_0x3091c0,'unitId':_0x16b542},_0xe55428=await this[_0x36ed42(0x1bc)][_0x36ed42(0x1ec)]('/universer-api/comment/unit/'+_0x16b542+_0x36ed42(0x193),{'body':_0x1fa18f});return!_0xe55428['body'][_0x36ed42(0x1f5)]||_0xe55428[_0x36ed42(0x1f4)][_0x36ed42(0x1f5)]['code']===0x1;}async[_0x4017a5(0x1b3)](_0x48a293,_0xd925c7,_0x251810){const _0x1bb8e0=_0x4017a5,_0x13a262={'unitId':_0x48a293,'threadId':_0x251810},_0x29d719=await this[_0x1bb8e0(0x1bc)][_0x1bb8e0(0x1ec)](_0x1bb8e0(0x1da)+_0x48a293+_0x1bb8e0(0x1d1),{'body':_0x13a262}),_0x53810c=_0x251810[_0x1bb8e0(0x1b4)](_0x3c4114=>_0x1108cd(_0x29d719[_0x1bb8e0(0x1f4)][_0x1bb8e0(0x1d3)][_0x3c4114],_0x48a293,_0xd925c7))['filter'](Boolean);return Object['values'](_0x29d719['body'][_0x1bb8e0(0x1e1)])[_0x1bb8e0(0x210)](_0x540032=>{const _0x1a5468=_0x1bb8e0;this['_userService'][_0x1a5468(0x187)](_0x540032);}),_0x53810c;}[_0x4017a5(0x1ee)](_0x2c2dd7){const _0x5c1f5b=_0x4017a5;return{'id':_0x2c2dd7['id'],'threadId':_0x2c2dd7['threadId'],'ref':_0x2c2dd7[_0x5c1f5b(0x1e5)]};}};_0x46ea66=_0x263079([_0x522ed8(0x0,_0x5782bb[_0x4017a5(0x18e)](_0xb23ab1[_0x4017a5(0x1c9)])),_0x522ed8(0x1,_0x5782bb[_0x4017a5(0x18e)](_0x5782bb[_0x4017a5(0x209)])),_0x522ed8(0x2,_0x5782bb['Inject'](_0xaf304a[_0x4017a5(0x195)]))],_0x46ea66);var _0x31695f=Object[_0x4017a5(0x206)],_0x44bea1=(_0x1ad962,_0x11d1e6,_0x205401,_0x4ba5f0)=>{for(var _0x2dd686=_0x4ba5f0>0x1?void 0x0:_0x4ba5f0?_0x31695f(_0x11d1e6,_0x205401):_0x11d1e6,_0x1887e7=_0x1ad962['length']-0x1,_0x3cdf11;_0x1887e7>=0x0;_0x1887e7--)(_0x3cdf11=_0x1ad962[_0x1887e7])&&(_0x2dd686=_0x3cdf11(_0x2dd686)||_0x2dd686);return _0x2dd686;},_0x3f9d81=(_0x12cc11,_0x3dc467)=>(_0x56d6cc,_0x392a37)=>_0x3dc467(_0x56d6cc,_0x392a37,_0x12cc11);let _0x242293=class extends _0x5782bb[_0x4017a5(0x205)]{constructor(_0x31a7eb,_0x25a3bf){const _0x51c6ae=_0x4017a5;super(),this[_0x51c6ae(0x1d8)]=_0x31a7eb,this[_0x51c6ae(0x1e9)]=_0x25a3bf,this[_0x51c6ae(0x1a7)]();}[_0x4017a5(0x1a7)](){const _0xf4dd0f=_0x4017a5;this[_0xf4dd0f(0x1d8)][_0xf4dd0f(0x1b5)]=this[_0xf4dd0f(0x1e9)],this['_threadCommentDataSourceService']['syncUpdateMutationToColla']=!0x1;}};_0x242293=_0x44bea1([_0x3f9d81(0x0,_0x4a4df5[_0x4017a5(0x1dd)]),_0x3f9d81(0x1,_0x5782bb[_0x4017a5(0x18e)](_0x46ea66))],_0x242293);var _0x301ded=Object[_0x4017a5(0x194)],_0x18118a=Object[_0x4017a5(0x206)],_0x3efadd=(_0x238042,_0x237492,_0x29a87b)=>_0x237492 in _0x238042?_0x301ded(_0x238042,_0x237492,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29a87b}):_0x238042[_0x237492]=_0x29a87b,_0x95330e=(_0xfa2a46,_0x4d9aae,_0x1e59b2,_0x14ddeb)=>{const _0x34bdd5=_0x4017a5;for(var _0x238b15=_0x14ddeb>0x1?void 0x0:_0x14ddeb?_0x18118a(_0x4d9aae,_0x1e59b2):_0x4d9aae,_0x586886=_0xfa2a46[_0x34bdd5(0x1be)]-0x1,_0x238d10;_0x586886>=0x0;_0x586886--)(_0x238d10=_0xfa2a46[_0x586886])&&(_0x238b15=_0x238d10(_0x238b15)||_0x238b15);return _0x238b15;},_0x149a4d=(_0x4f9cac,_0x1e5b41)=>(_0x416a17,_0x14dbde)=>_0x1e5b41(_0x416a17,_0x14dbde,_0x4f9cac),_0x5605c7=(_0x5f5d84,_0x88fe98,_0x413525)=>_0x3efadd(_0x5f5d84,typeof _0x88fe98!=_0x4017a5(0x1fc)?_0x88fe98+'':_0x88fe98,_0x413525);_0xb2817b['UniverThreadCommentDataSourcePlugin']=class extends _0x5782bb[_0x4017a5(0x1d4)]{constructor(_0x1e6ddb=_0x52b3a3,_0x25bde3,_0x413e82){const _0x7d4b46=_0x4017a5;super(),this[_0x7d4b46(0x1a3)]=_0x1e6ddb,this['_injector']=_0x25bde3,this['_configService']=_0x413e82;const {..._0xf267a6}=_0x5782bb[_0x7d4b46(0x1fa)]({},_0x52b3a3,this[_0x7d4b46(0x1a3)]);this['_configService'][_0x7d4b46(0x1a2)](_0x2102fc,_0xf267a6);}[_0x4017a5(0x201)](){const _0x244b34=_0x4017a5;[[_0x46ea66],[_0x242293],[_0x3b27b7]][_0x244b34(0x210)](_0x27394d=>{const _0x5d384b=_0x244b34;this[_0x5d384b(0x1de)][_0x5d384b(0x1ef)](_0x27394d);});}[_0x4017a5(0x1b9)](){const _0x2ea985=_0x4017a5;this[_0x2ea985(0x1de)]['get'](_0x242293),this[_0x2ea985(0x1de)][_0x2ea985(0x1b1)](_0x3b27b7);}},_0x5605c7(_0xb2817b[_0x4017a5(0x1b0)],'pluginName',_0x26fd59),_0x5605c7(_0xb2817b[_0x4017a5(0x1b0)],_0x4017a5(0x188),_0x5782bb[_0x4017a5(0x1fe)][_0x4017a5(0x1d6)]),_0xb2817b[_0x4017a5(0x1b0)]=_0x95330e([_0x5782bb[_0x4017a5(0x20c)](_0x40ae93[_0x4017a5(0x18c)],_0xaf304a[_0x4017a5(0x1bd)],_0x4c4188[_0x4017a5(0x186)]),_0x149a4d(0x1,_0x5782bb['Inject'](_0x5782bb[_0x4017a5(0x1a4)])),_0x149a4d(0x2,_0x5782bb['IConfigService'])],_0xb2817b[_0x4017a5(0x1b0)]),Object['defineProperty'](_0xb2817b,Symbol[_0x4017a5(0x1e3)],{'value':_0x4017a5(0x1ce)});}));
14
+ function _0x56ed(_0x3f7a7b,_0x34ae77){_0x3f7a7b=_0x3f7a7b-0x94;const _0x4668e6=_0x4668();let _0x56ed99=_0x4668e6[_0x3f7a7b];return _0x56ed99;}function _0x4668(){const _0x6a2fdc=['content','getCurrentUser','_threadCommentDataSource','_httpService','/universer-api/user/list','Plugin','_threadCommentDataSourceService','deleteComment','UniverCollaborationClientPlugin','71256PoxdAq','addUser','getMemberID','post','UNRECOGNIZED','syncUpdateMutationToColla','getUser','Unknown','YYYY/MM/DD\x20HH:mm','745MvDyxp','UNIVER_UNKNOWN','bufferTime','OpenOrReOpen','_init','@univerjs-pro/license','setConfig','find','customRanges','Delete','error','350262KftHmT','_initUserSync','Solve','listComments','/add','function','resolveComment','33090zdbBio','unitId','UniverThreadCommentDataSourcePlugin','1709466wzXflt','Inject','Injector','createTimestamp','Edit','17398bgyrEC','root','_injector','users','userID','CollaborationSessionService','/list','size','@univerjs/core','requireSession','values','replyId','length','map','12771WpcPSe','getUnit','CustomRangeType','rangeType','disposeWithMe','commentUpdate$','dataSource','filter','UniverProCollaborationClient','HTTPService','amd','DependentOn','rxjs','getOwnPropertyDescriptor','dayjs','personId','onStarting','111dFBOgx','delete','_sessionService','UniverProLicense','UniverThreadComment','/reply','UserManagerService','@univerjs/network','getComment','code','replies','defineProperty','12873nynIJF','body','/delete','type','stringify','Add','user','parse','UniverProThreadCommentDatasource','COMMENT','forEach','subscribe','rangeId','onReady','_config','UniverThreadCommentUi','get','slice','updateComment','UniverNetwork','solved','@univerjs-pro/collaboration-client','7456zlvOfs','Reply','saveCommentToSnapshot','addComment','IThreadCommentDataSourceService','_configService','reply','threadId','payload','symbol','@univerjs/thread-comment-ui','_userService','parentId','Solved','add','/universer-api/comment/unit/','userId','Module','ref','object','pluginName','/edit','_threadCommentModel','format','Disposable','5892480QKRyaO'];_0x4668=function(){return _0x6a2fdc;};return _0x4668();}(function(_0x29ba91,_0x1c0ac0){const _0x4c3199=_0x56ed,_0x8c9142=_0x29ba91();while(!![]){try{const _0xff8ef7=-parseInt(_0x4c3199(0xea))/0x1+-parseInt(_0x4c3199(0xef))/0x2*(-parseInt(_0x4c3199(0x10e))/0x3)+-parseInt(_0x4c3199(0xc2))/0x4+parseInt(_0x4c3199(0xd5))/0x5*(parseInt(_0x4c3199(0xcc))/0x6)+-parseInt(_0x4c3199(0x11a))/0x7*(parseInt(_0x4c3199(0xa9))/0x8)+-parseInt(_0x4c3199(0xe0))/0x9+-parseInt(_0x4c3199(0xe7))/0xa*(-parseInt(_0x4c3199(0xfd))/0xb);if(_0xff8ef7===_0x1c0ac0)break;else _0x8c9142['push'](_0x8c9142['shift']());}catch(_0x830bd3){_0x8c9142['push'](_0x8c9142['shift']());}}}(_0x4668,0xf3934),function(_0x521cd4,_0xf85836){const _0x2cbebc=_0x56ed;typeof exports==_0x2cbebc(0xbc)&&typeof module<'u'?_0xf85836(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==_0x2cbebc(0xe5)&&define[_0x2cbebc(0x107)]?define(['exports',_0x2cbebc(0xa8),_0x2cbebc(0xda),_0x2cbebc(0xf7),_0x2cbebc(0xb3),'@univerjs/thread-comment',_0x2cbebc(0x109),_0x2cbebc(0x115)],_0xf85836):(_0x521cd4=typeof globalThis<'u'?globalThis:_0x521cd4||self,_0xf85836(_0x521cd4[_0x2cbebc(0x9b)]={},_0x521cd4[_0x2cbebc(0x105)],_0x521cd4[_0x2cbebc(0x111)],_0x521cd4['UniverCore'],_0x521cd4[_0x2cbebc(0xa2)],_0x521cd4[_0x2cbebc(0x112)],_0x521cd4[_0x2cbebc(0x109)],_0x521cd4[_0x2cbebc(0xa6)]));}(this,function(_0xa5bb3,_0x5c0f8f,_0x9d00dd,_0x529188,_0x42974a,_0x43ac1c,_0x17b312,_0x4890dd){'use strict';const _0x5742a8=_0x56ed;const _0x3cb245='UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN';var _0x21fb96=(_0x6958b1=>(_0x6958b1[_0x6958b1[_0x5742a8(0xd8)]=0x0]=_0x5742a8(0xd8),_0x6958b1[_0x6958b1[_0x5742a8(0xb6)]=0x1]=_0x5742a8(0xb6),_0x6958b1[_0x6958b1[_0x5742a8(0xd0)]=-0x1]=_0x5742a8(0xd0),_0x6958b1))(_0x21fb96||{}),_0x32f01a=(_0x221187=>(_0x221187[_0x221187[_0x5742a8(0xd3)]=0x0]=_0x5742a8(0xd3),_0x221187[_0x221187[_0x5742a8(0x98)]=0x1]=_0x5742a8(0x98),_0x221187[_0x221187[_0x5742a8(0xaa)]=0x2]=_0x5742a8(0xaa),_0x221187[_0x221187[_0x5742a8(0xee)]=0x3]='Edit',_0x221187[_0x221187[_0x5742a8(0xde)]=0x4]=_0x5742a8(0xde),_0x221187[_0x221187[_0x5742a8(0xe2)]=0x5]=_0x5742a8(0xe2),_0x221187[_0x221187[_0x5742a8(0xd0)]=-0x1]=_0x5742a8(0xd0),_0x221187))(_0x32f01a||{});const _0x185e1b=_0x42363d=>_0x529188[_0x5742a8(0x10b)](new Date(+_0x42363d))[_0x5742a8(0xc0)](_0x5742a8(0xd4)),_0x51fd4b=async(_0x229e2a,_0x1811b4)=>{const _0x2817c3=_0x5742a8,_0x3c129a=_0x229e2a[_0x2817c3(0xa3)](_0x529188['UserManagerService']),_0x87e017=_0x229e2a[_0x2817c3(0xa3)](_0x4890dd[_0x2817c3(0x106)]);_0x1811b4[_0x2817c3(0x9d)](_0x2c2b41=>{const _0x5c587a=_0x2817c3;_0x3c129a[_0x5c587a(0xd2)](_0x2c2b41)&&_0x1811b4[_0x5c587a(0x10f)](_0x2c2b41);}),_0x1811b4[_0x2817c3(0xf6)]&&(await _0x87e017[_0x2817c3(0xa3)](_0x2817c3(0xc7),{'params':{'userIDs':[..._0x1811b4]}}))[_0x2817c3(0x94)][_0x2817c3(0xf2)][_0x2817c3(0x9d)](_0x29713c=>{const _0x5467db=_0x2817c3;_0x29713c&&_0x3c129a[_0x5467db(0xcd)](_0x29713c);});};var _0x2b550b=Object[_0x5742a8(0x10a)],_0x27eed1=(_0xbf8479,_0x2fedee,_0xeb7972,_0x1e708e)=>{const _0x1aee87=_0x5742a8;for(var _0x4d7c76=_0x1e708e>0x1?void 0x0:_0x1e708e?_0x2b550b(_0x2fedee,_0xeb7972):_0x2fedee,_0x3f5ce5=_0xbf8479[_0x1aee87(0xfb)]-0x1,_0x430cab;_0x3f5ce5>=0x0;_0x3f5ce5--)(_0x430cab=_0xbf8479[_0x3f5ce5])&&(_0x4d7c76=_0x430cab(_0x4d7c76)||_0x4d7c76);return _0x4d7c76;},_0x1d911a=(_0xe0c7d1,_0x32ffba)=>(_0x20ce3e,_0x405f87)=>_0x32ffba(_0x20ce3e,_0x405f87,_0xe0c7d1);let _0x2c1637=class extends _0x529188[_0x5742a8(0xc1)]{constructor(_0x322f93,_0x50dfc3,_0x27370e,_0x22801c){const _0x171ba0=_0x5742a8;super(),this['_commentService']=_0x322f93,this[_0x171ba0(0xbf)]=_0x50dfc3,this['_userService']=_0x27370e,this[_0x171ba0(0xf1)]=_0x22801c,this['_init'](),this[_0x171ba0(0xe1)]();}[_0x5742a8(0xe1)](){const _0x524134=_0x5742a8;this[_0x524134(0x101)](this['_threadCommentModel'][_0x524134(0x102)]['pipe'](_0x17b312[_0x524134(0xd7)](0x10))['subscribe'](_0x5ab807=>{const _0x4873a1=_0x524134,_0x11e621=new Set();_0x5ab807[_0x4873a1(0x9d)](_0x51b92f=>{const _0x27cef4=_0x4873a1;switch(_0x51b92f[_0x27cef4(0x96)]){case _0x27cef4(0xb7):{const _0x1d2784=_0x51b92f[_0x27cef4(0xb1)][_0x27cef4(0x10c)];_0x11e621[_0x27cef4(0xb7)](_0x1d2784);break;}}}),_0x51fd4b(this['_injector'],_0x11e621);}));}[_0x5742a8(0xd9)](){const _0x508b7a=_0x5742a8;this['disposeWithMe'](this['_commentService']['commentUpdate$'][_0x508b7a(0x9e)](async _0x53af1f=>{const _0x1b76aa=_0x508b7a;var _0x36b57f,_0x48d539,_0x2e066c,_0x54535d;const _0x3b84d8=(_0x36b57f=this[_0x1b76aa(0xbf)]['getUnit'](_0x53af1f[_0x1b76aa(0xe8)])[_0x1b76aa(0xdc)](_0x52b6dd=>_0x52b6dd[_0x1b76aa(0xb0)]===_0x53af1f[_0x1b76aa(0xb0)]))==null?void 0x0:_0x36b57f['root'];if(!_0x3b84d8)return;const {unitId:_0x40bf24,subUnitId:_0x39a1e9}=_0x3b84d8;switch(_0x53af1f[_0x1b76aa(0x99)]&&this[_0x1b76aa(0xb4)][_0x1b76aa(0xcd)](_0x53af1f[_0x1b76aa(0x99)]),_0x53af1f[_0x1b76aa(0x96)]){case _0x32f01a[_0x1b76aa(0x98)]:break;case _0x32f01a[_0x1b76aa(0xaa)]:{this[_0x1b76aa(0xbf)][_0x1b76aa(0xac)](_0x40bf24,_0x39a1e9,{'unitId':_0x40bf24,'subUnitId':_0x39a1e9,'ref':'','id':_0x53af1f[_0x1b76aa(0xfa)],'dT':_0x185e1b(+_0x53af1f[_0x1b76aa(0xed)]),'threadId':_0x53af1f[_0x1b76aa(0xb0)],'personId':(_0x2e066c=(_0x48d539=_0x53af1f[_0x1b76aa(0x99)])==null?void 0x0:_0x48d539['userID'])!=null?_0x2e066c:_0x53af1f['userId'],'text':JSON['parse'](_0x53af1f['content']),'parentId':_0x3b84d8['id']});break;}case _0x32f01a[_0x1b76aa(0xde)]:{const _0x2d50f5=this[_0x1b76aa(0xbf)][_0x1b76aa(0x116)](_0x40bf24,_0x39a1e9,_0x53af1f[_0x1b76aa(0xfa)]);_0x2d50f5&&_0x2d50f5[_0x1b76aa(0xb5)]&&this[_0x1b76aa(0xbf)][_0x1b76aa(0xca)](_0x40bf24,_0x39a1e9,_0x53af1f[_0x1b76aa(0xfa)]);break;}case _0x32f01a['Edit']:{this[_0x1b76aa(0xbf)]['updateComment'](_0x40bf24,_0x39a1e9,{'commentId':_0x53af1f[_0x1b76aa(0xfa)],'text':JSON['parse'](_0x53af1f['content'])});break;}case _0x32f01a[_0x1b76aa(0xe2)]:{const _0x7c106b=(_0x54535d=this[_0x1b76aa(0xbf)][_0x1b76aa(0xfe)](_0x53af1f[_0x1b76aa(0xe8)])[_0x1b76aa(0xdc)](_0xbe16a1=>_0xbe16a1[_0x1b76aa(0xb0)]===_0x53af1f[_0x1b76aa(0xb0)]))==null?void 0x0:_0x54535d[_0x1b76aa(0xf0)];_0x7c106b&&this[_0x1b76aa(0xbf)]['resolveComment'](_0x40bf24,_0x39a1e9,_0x7c106b['id'],_0x53af1f[_0x1b76aa(0xa7)]===_0x21fb96[_0x1b76aa(0xb6)]);break;}}}));}};_0x2c1637=_0x27eed1([_0x1d911a(0x0,_0x529188[_0x5742a8(0xeb)](_0x5c0f8f['CommentService'])),_0x1d911a(0x1,_0x529188[_0x5742a8(0xeb)](_0x43ac1c['ThreadCommentModel'])),_0x1d911a(0x2,_0x529188['Inject'](_0x529188['UserManagerService'])),_0x1d911a(0x3,_0x529188['Inject'](_0x529188[_0x5742a8(0xec)]))],_0x2c1637);const _0x292bb0='thread-comment-data-source.config',_0x1ad811={};var _0x178272=Object[_0x5742a8(0x10a)],_0x160547=(_0x48f27f,_0x134781,_0x174182,_0x1dd9fc)=>{const _0x112408=_0x5742a8;for(var _0xd0dcb7=_0x1dd9fc>0x1?void 0x0:_0x1dd9fc?_0x178272(_0x134781,_0x174182):_0x134781,_0x35d469=_0x48f27f[_0x112408(0xfb)]-0x1,_0x1df304;_0x35d469>=0x0;_0x35d469--)(_0x1df304=_0x48f27f[_0x35d469])&&(_0xd0dcb7=_0x1df304(_0xd0dcb7)||_0xd0dcb7);return _0xd0dcb7;},_0x299324=(_0x1e71b7,_0x31deab)=>(_0xd4f739,_0x11d9c6)=>_0x31deab(_0xd4f739,_0x11d9c6,_0x1e71b7);function _0x366ea8(_0xb9d51,_0x57137d){const _0x8622f9=_0x5742a8,_0x1eb956=_0xb9d51[_0x8622f9(0x118)][0x0];return{..._0x57137d,'id':_0x1eb956['replyId'],'resolved':_0xb9d51[_0x8622f9(0xa7)]===0x1,'dT':_0x185e1b(_0x1eb956['createTimestamp']),'personId':_0x1eb956['userId'],'threadId':_0x1eb956['threadId']};}function _0x1a9e6c(_0x640cbb,_0x5343db,_0x469881){const _0x2e5b31=_0x5742a8;var _0x99b36b,_0x2b99a4;if(((_0x2b99a4=(_0x99b36b=_0x640cbb==null?void 0x0:_0x640cbb[_0x2e5b31(0x118)])==null?void 0x0:_0x99b36b['length'])!=null?_0x2b99a4:0x0)>0x0){const _0x589a1a=(_0xb0dc00,_0x50c005)=>({'id':_0xb0dc00['replyId'],'threadId':_0xb0dc00[_0x2e5b31(0xb0)],'dT':_0x185e1b(_0xb0dc00['createTimestamp']),'personId':_0xb0dc00[_0x2e5b31(0xb9)],'resolved':_0x640cbb[_0x2e5b31(0xa7)]===_0x21fb96[_0x2e5b31(0xb6)],'unitId':_0x5343db,'subUnitId':_0x469881,'text':JSON[_0x2e5b31(0x9a)](_0xb0dc00[_0x2e5b31(0xc3)]),'parentId':_0x50c005}),_0x1d56d8=_0x589a1a(_0x640cbb[_0x2e5b31(0x118)][0x0]);return{..._0x1d56d8,'children':_0x640cbb['replies'][_0x2e5b31(0xa4)](0x1)['map'](_0x5c5d63=>_0x589a1a(_0x5c5d63,_0x1d56d8['id']))};}return null;}let _0x558f1a=class{constructor(_0x10850,_0x3db3ac,_0x2c29a6){const _0x14ed0c=_0x5742a8;this[_0x14ed0c(0xc6)]=_0x10850,this[_0x14ed0c(0xb4)]=_0x3db3ac,this['_sessionService']=_0x2c29a6;}async['addComment'](_0x274738){const _0x4c1e52=_0x5742a8;var _0x383ad6,_0x30e933;const {parentId:_0x578486,unitId:_0x2bf226,text:_0x356204,threadId:_0x2ec94e}=_0x274738,_0x286394=(_0x30e933=(_0x383ad6=_0x356204[_0x4c1e52(0xdd)])==null?void 0x0:_0x383ad6[_0x4c1e52(0x104)](_0x26a006=>_0x26a006[_0x4c1e52(0x100)]===_0x529188[_0x4c1e52(0xff)]['COMMENT'])['map'](_0x3e8f6d=>_0x3e8f6d[_0x4c1e52(0x9f)]))!=null?_0x30e933:[],_0x526a0f=JSON['stringify'](_0x356204),_0x547594=(await this[_0x4c1e52(0x110)][_0x4c1e52(0xf8)](_0x2bf226))['getMemberID']();if(_0x578486){const _0x22c62d={'memberId':_0x547594,'unitId':_0x2bf226,'content':_0x526a0f,'mention':_0x286394,'threadId':_0x2ec94e},_0x7513ce=(await this[_0x4c1e52(0xc6)]['post'](_0x4c1e52(0xb8)+_0x2bf226+_0x4c1e52(0x113),{'body':_0x22c62d}))['body'][_0x4c1e52(0xaf)];return{..._0x274738,'id':_0x7513ce[_0x4c1e52(0xfa)],'dT':_0x529188['dayjs'](+_0x7513ce['createTimestamp'])['format']('YYYY/MM/DD\x20HH:mm'),'personId':_0x7513ce[_0x4c1e52(0xb9)]};}else{const _0x4230e8={'memberId':_0x547594,'unitId':_0x2bf226,'content':_0x526a0f,'mention':_0x286394},_0x1d5470=await this[_0x4c1e52(0xc6)][_0x4c1e52(0xcf)](_0x4c1e52(0xb8)+_0x2bf226+_0x4c1e52(0xe4),{'body':_0x4230e8});return _0x366ea8(_0x1d5470[_0x4c1e52(0x94)]['comment'],_0x274738);}}async[_0x5742a8(0xa5)](_0x34721e){const _0x134348=_0x5742a8;var _0x52b469,_0x2f40fe;const {text:_0x1d7c37,unitId:_0x362ae6}=_0x34721e,_0x4782d4=(_0x2f40fe=(_0x52b469=_0x1d7c37[_0x134348(0xdd)])==null?void 0x0:_0x52b469[_0x134348(0x104)](_0x334cc7=>_0x334cc7[_0x134348(0x100)]===_0x529188['CustomRangeType'][_0x134348(0x9c)])['map'](_0x42e2cd=>_0x42e2cd['rangeId']))!=null?_0x2f40fe:[],_0x2dbd94=JSON[_0x134348(0x97)](_0x1d7c37),_0x58ca84=_0x34721e[_0x134348(0xb0)],_0x26db7c=_0x34721e['id'],_0x69a3ae={'memberId':(await this[_0x134348(0x110)][_0x134348(0xf8)](_0x362ae6))[_0x134348(0xce)](),'unitId':_0x362ae6,'threadId':_0x58ca84,'mention':_0x4782d4,'content':_0x2dbd94,'replyId':_0x26db7c},_0x2489be=await this[_0x134348(0xc6)][_0x134348(0xcf)]('/universer-api/comment/unit/'+_0x362ae6+_0x134348(0xbe),{'body':_0x69a3ae});return!_0x2489be[_0x134348(0x94)]['error']||_0x2489be[_0x134348(0x94)][_0x134348(0xdf)][_0x134348(0x117)]===0x1;}async[_0x5742a8(0xe6)](_0xbc4358){const _0x531425=_0x5742a8,{unitId:_0x48cb50}=_0xbc4358,_0x43c736=_0xbc4358['threadId'],_0x11211e={'memberId':this['_userService'][_0x531425(0xc4)]()[_0x531425(0xf3)],'unitId':_0x48cb50,'threadId':_0x43c736,'solved':_0xbc4358['resolved']?_0x21fb96['Solved']:_0x21fb96['OpenOrReOpen']},_0x34a13b=await this[_0x531425(0xc6)]['post'](_0x531425(0xb8)+_0x48cb50+'/solved',{'body':_0x11211e});return!_0x34a13b[_0x531425(0x94)][_0x531425(0xdf)]||_0x34a13b[_0x531425(0x94)][_0x531425(0xdf)][_0x531425(0x117)]===0x1;}async['deleteComment'](_0x3ca24e,_0x5d8836,_0x1023d6,_0x38719c){const _0x171f7e=_0x5742a8,_0x2b87f7={'memberId':(await this[_0x171f7e(0x110)][_0x171f7e(0xf8)](_0x3ca24e))[_0x171f7e(0xce)](),'threadId':_0x1023d6,'replyId':_0x38719c,'unitId':_0x3ca24e},_0x1b010a=await this[_0x171f7e(0xc6)][_0x171f7e(0xcf)]('/universer-api/comment/unit/'+_0x3ca24e+_0x171f7e(0x95),{'body':_0x2b87f7});return!_0x1b010a['body'][_0x171f7e(0xdf)]||_0x1b010a[_0x171f7e(0x94)][_0x171f7e(0xdf)][_0x171f7e(0x117)]===0x1;}async[_0x5742a8(0xe3)](_0x38341e,_0xfe7183,_0xfaf705){const _0x388122=_0x5742a8,_0x2e7943={'unitId':_0x38341e,'threadId':_0xfaf705},_0xe46c9b=await this[_0x388122(0xc6)][_0x388122(0xcf)](_0x388122(0xb8)+_0x38341e+_0x388122(0xf5),{'body':_0x2e7943}),_0x49757f=_0xfaf705[_0x388122(0xfc)](_0x16c340=>_0x1a9e6c(_0xe46c9b[_0x388122(0x94)]['comments'][_0x16c340],_0x38341e,_0xfe7183))[_0x388122(0x104)](Boolean);return Object[_0x388122(0xf9)](_0xe46c9b[_0x388122(0x94)]['users'])[_0x388122(0x9d)](_0x455a34=>{const _0x561840=_0x388122;this[_0x561840(0xb4)][_0x561840(0xcd)](_0x455a34);}),_0x49757f;}[_0x5742a8(0xab)](_0x4eb4ed){const _0x5a84a2=_0x5742a8;return{'id':_0x4eb4ed['id'],'threadId':_0x4eb4ed[_0x5a84a2(0xb0)],'ref':_0x4eb4ed[_0x5a84a2(0xbb)]};}};_0x558f1a=_0x160547([_0x299324(0x0,_0x529188[_0x5742a8(0xeb)](_0x4890dd[_0x5742a8(0x106)])),_0x299324(0x1,_0x529188[_0x5742a8(0xeb)](_0x529188[_0x5742a8(0x114)])),_0x299324(0x2,_0x529188[_0x5742a8(0xeb)](_0x5c0f8f[_0x5742a8(0xf4)]))],_0x558f1a);var _0xe58bd2=Object[_0x5742a8(0x10a)],_0x4ef192=(_0x327709,_0x445f46,_0x3a78c3,_0x4b0617)=>{const _0x2d265e=_0x5742a8;for(var _0x211581=_0x4b0617>0x1?void 0x0:_0x4b0617?_0xe58bd2(_0x445f46,_0x3a78c3):_0x445f46,_0x1ad223=_0x327709[_0x2d265e(0xfb)]-0x1,_0x1113ae;_0x1ad223>=0x0;_0x1ad223--)(_0x1113ae=_0x327709[_0x1ad223])&&(_0x211581=_0x1113ae(_0x211581)||_0x211581);return _0x211581;},_0x18ac63=(_0x34b8ab,_0x42f84d)=>(_0x29c62b,_0x2d36e0)=>_0x42f84d(_0x29c62b,_0x2d36e0,_0x34b8ab);let _0x428263=class extends _0x529188[_0x5742a8(0xc1)]{constructor(_0x4d438,_0x4319b0){const _0x569ae9=_0x5742a8;super(),this['_threadCommentDataSourceService']=_0x4d438,this[_0x569ae9(0xc5)]=_0x4319b0,this['_initDataSource']();}['_initDataSource'](){const _0x446dcd=_0x5742a8;this[_0x446dcd(0xc9)][_0x446dcd(0x103)]=this[_0x446dcd(0xc5)],this['_threadCommentDataSourceService'][_0x446dcd(0xd1)]=!0x1;}};_0x428263=_0x4ef192([_0x18ac63(0x0,_0x43ac1c[_0x5742a8(0xad)]),_0x18ac63(0x1,_0x529188['Inject'](_0x558f1a))],_0x428263);var _0x2ee584=Object[_0x5742a8(0x119)],_0x58495d=Object['getOwnPropertyDescriptor'],_0xecfc1d=(_0x2ea57b,_0x524e8b,_0x5f2ee4)=>_0x524e8b in _0x2ea57b?_0x2ee584(_0x2ea57b,_0x524e8b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f2ee4}):_0x2ea57b[_0x524e8b]=_0x5f2ee4,_0x29369a=(_0xc76ec6,_0x5b4508,_0x31ad88,_0x569ffe)=>{const _0x59f539=_0x5742a8;for(var _0x145be7=_0x569ffe>0x1?void 0x0:_0x569ffe?_0x58495d(_0x5b4508,_0x31ad88):_0x5b4508,_0x12a004=_0xc76ec6[_0x59f539(0xfb)]-0x1,_0x393231;_0x12a004>=0x0;_0x12a004--)(_0x393231=_0xc76ec6[_0x12a004])&&(_0x145be7=_0x393231(_0x145be7)||_0x145be7);return _0x145be7;},_0x2c4bf6=(_0x2a58d3,_0x43b2bd)=>(_0x29ee75,_0x1c2952)=>_0x43b2bd(_0x29ee75,_0x1c2952,_0x2a58d3),_0x4e7d19=(_0x2dd6a3,_0x531dc7,_0x29eeef)=>_0xecfc1d(_0x2dd6a3,typeof _0x531dc7!=_0x5742a8(0xb2)?_0x531dc7+'':_0x531dc7,_0x29eeef);_0xa5bb3['UniverThreadCommentDataSourcePlugin']=class extends _0x529188[_0x5742a8(0xc8)]{constructor(_0x5455cd=_0x1ad811,_0x150ba4,_0x108b3e){const _0x5330c3=_0x5742a8;super(),this[_0x5330c3(0xa1)]=_0x5455cd,this[_0x5330c3(0xf1)]=_0x150ba4,this[_0x5330c3(0xae)]=_0x108b3e;const {..._0x43c85d}=_0x529188['merge']({},_0x1ad811,this['_config']);this[_0x5330c3(0xae)][_0x5330c3(0xdb)](_0x292bb0,_0x43c85d);}[_0x5742a8(0x10d)](){const _0x5515cd=_0x5742a8;[[_0x558f1a],[_0x428263],[_0x2c1637]][_0x5515cd(0x9d)](_0x168e0b=>{const _0x3e9c30=_0x5515cd;this[_0x3e9c30(0xf1)]['add'](_0x168e0b);});}[_0x5742a8(0xa0)](){const _0x1bda62=_0x5742a8;this[_0x1bda62(0xf1)][_0x1bda62(0xa3)](_0x428263),this[_0x1bda62(0xf1)]['get'](_0x2c1637);}},_0x4e7d19(_0xa5bb3[_0x5742a8(0xe9)],_0x5742a8(0xbd),_0x3cb245),_0x4e7d19(_0xa5bb3[_0x5742a8(0xe9)],'type',_0x529188['UniverInstanceType'][_0x5742a8(0xd6)]),_0xa5bb3[_0x5742a8(0xe9)]=_0x29369a([_0x529188[_0x5742a8(0x108)](_0x42974a['UniverThreadCommentUIPlugin'],_0x5c0f8f[_0x5742a8(0xcb)],_0x9d00dd['UniverLicensePlugin']),_0x2c4bf6(0x1,_0x529188[_0x5742a8(0xeb)](_0x529188[_0x5742a8(0xec)])),_0x2c4bf6(0x2,_0x529188['IConfigService'])],_0xa5bb3[_0x5742a8(0xe9)]),Object[_0x5742a8(0x119)](_0xa5bb3,Symbol['toStringTag'],{'value':_0x5742a8(0xba)});}));
15
15
 
16
16
  // @univerjs-pro/edit-history-viewer/index
17
- function _0x3ffd(_0xe387b5,_0x323db2){_0xe387b5=_0xe387b5-0x144;const _0x59df2e=_0x59df();let _0x3ffdc4=_0x59df2e[_0xe387b5];return _0x3ffdc4;}(function(_0x3cba30,_0x3db7ce){const _0x2ffc5f=_0x3ffd,_0x1a2053=_0x3cba30();while(!![]){try{const _0x2a0980=parseInt(_0x2ffc5f(0x227))/0x1*(-parseInt(_0x2ffc5f(0x25f))/0x2)+parseInt(_0x2ffc5f(0x364))/0x3*(-parseInt(_0x2ffc5f(0x2a6))/0x4)+parseInt(_0x2ffc5f(0x252))/0x5*(-parseInt(_0x2ffc5f(0x2d6))/0x6)+-parseInt(_0x2ffc5f(0x199))/0x7*(parseInt(_0x2ffc5f(0x263))/0x8)+parseInt(_0x2ffc5f(0x2af))/0x9*(-parseInt(_0x2ffc5f(0x16a))/0xa)+-parseInt(_0x2ffc5f(0x382))/0xb*(-parseInt(_0x2ffc5f(0x18c))/0xc)+parseInt(_0x2ffc5f(0x319))/0xd*(parseInt(_0x2ffc5f(0x157))/0xe);if(_0x2a0980===_0x3db7ce)break;else _0x1a2053['push'](_0x1a2053['shift']());}catch(_0x40ff92){_0x1a2053['push'](_0x1a2053['shift']());}}}(_0x59df,0x20fc2),function(_0x3b8e99,_0x463b01){const _0x524259=_0x3ffd;typeof exports=='object'&&typeof module<'u'?_0x463b01(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x524259(0x32f)&&define[_0x524259(0x2fe)]?define(['exports',_0x524259(0x158),'@univerjs-pro/collaboration-client',_0x524259(0x26a),_0x524259(0x2e2),_0x524259(0x25c),_0x524259(0x313),'@univerjs/sheets-ui',_0x524259(0x302),_0x524259(0x33a),_0x524259(0x2d0),_0x524259(0x16e),_0x524259(0x209),'@univerjs-pro/sheets-sparkline','@univerjs/data-validation',_0x524259(0x1ce),'@univerjs/sheets-filter','react/jsx-runtime','react',_0x524259(0x2c4)],_0x463b01):(_0x3b8e99=typeof globalThis<'u'?globalThis:_0x3b8e99||self,_0x463b01(_0x3b8e99[_0x524259(0x17d)]={},_0x3b8e99[_0x524259(0x370)],_0x3b8e99[_0x524259(0x2de)],_0x3b8e99[_0x524259(0x350)],_0x3b8e99[_0x524259(0x34c)],_0x3b8e99[_0x524259(0x37f)],_0x3b8e99['UniverNetwork'],_0x3b8e99[_0x524259(0x36d)],_0x3b8e99[_0x524259(0x187)],_0x3b8e99[_0x524259(0x183)],_0x3b8e99[_0x524259(0x1f5)],_0x3b8e99[_0x524259(0x16e)],_0x3b8e99[_0x524259(0x368)],_0x3b8e99[_0x524259(0x28a)],_0x3b8e99[_0x524259(0x171)],_0x3b8e99['UniverSheetsConditionalFormatting'],_0x3b8e99['UniverSheetsFilter'],_0x3b8e99['React'],_0x3b8e99[_0x524259(0x1b2)],_0x3b8e99[_0x524259(0x2ad)]));}(this,function(_0x1732b6,_0x1eaaa3,_0x1edd1a,_0x23f48b,_0x581156,_0x3e56d5,_0x22fe8e,_0x5cca63,_0x5cd9fb,_0x1a278c,_0x230238,_0x41ab31,_0x21285f,_0x4013f3,_0x2a03da,_0x1a032a,_0x2d5a72,_0x3f464e,_0x59d6ce,_0x91539e){'use strict';const _0x5bd50f=_0x3ffd;var _0x39da8e=Object[_0x5bd50f(0x334)],_0x510265=(_0x5b901f,_0x3b7553,_0x559ef1)=>_0x3b7553 in _0x5b901f?_0x39da8e(_0x5b901f,_0x3b7553,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x559ef1}):_0x5b901f[_0x3b7553]=_0x559ef1,_0x195dad=(_0x28f6f6,_0x8ce04e,_0x578c32)=>_0x510265(_0x28f6f6,typeof _0x8ce04e!=_0x5bd50f(0x1f0)?_0x8ce04e+'':_0x8ce04e,_0x578c32);const _0x236128=_0x5bd50f(0x174),_0x58d724={};var _0x46ec76=Object[_0x5bd50f(0x2b4)],_0xe9a41b=(_0x5ae16d,_0x59c098,_0x301327,_0x2842fa)=>{const _0x1e6913=_0x5bd50f;for(var _0x1e0cef=_0x2842fa>0x1?void 0x0:_0x2842fa?_0x46ec76(_0x59c098,_0x301327):_0x59c098,_0x390a22=_0x5ae16d[_0x1e6913(0x1c2)]-0x1,_0x2ccadf;_0x390a22>=0x0;_0x390a22--)(_0x2ccadf=_0x5ae16d[_0x390a22])&&(_0x1e0cef=_0x2ccadf(_0x1e0cef)||_0x1e0cef);return _0x1e0cef;},_0x2c3ab5=(_0xf57452,_0x1afdf2)=>(_0x55e54a,_0x19545f)=>_0x1afdf2(_0x55e54a,_0x19545f,_0xf57452);let _0x19b14c=class extends _0x23f48b[_0x5bd50f(0x228)]{constructor(_0x11f2ad){const _0x2675bd=_0x5bd50f;super(),this[_0x2675bd(0x305)]=_0x11f2ad,this[_0x2675bd(0x31d)]();}[_0x5bd50f(0x31d)](){const _0x4afad7=_0x5bd50f;this[_0x4afad7(0x36b)](this[_0x4afad7(0x305)][_0x4afad7(0x190)][_0x4afad7(0x225)](_0x339338=>{const _0x57ab26=_0x4afad7;_0x339338!=null&&_0x339338['show']&&this[_0x57ab26(0x305)]['setState']({'show':!0x1});}));}};_0x19b14c=_0xe9a41b([_0x2c3ab5(0x0,_0x5cca63['ICellEditorManagerService'])],_0x19b14c);var _0x20a854=(_0x5d73cb=>(_0x5d73cb[_0x5d73cb['UNDEFINED']=0x0]=_0x5bd50f(0x2cc),_0x5d73cb[_0x5d73cb['OK']=0x1]='OK',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x19e)]=0x2]=_0x5bd50f(0x19e),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x28d)]=0x3]=_0x5bd50f(0x28d),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x2fa)]=0x4]=_0x5bd50f(0x2fa),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x27a)]=0x5]=_0x5bd50f(0x27a),_0x5d73cb[_0x5d73cb['ALREADY_EXISTS']=0x6]=_0x5bd50f(0x15e),_0x5d73cb[_0x5d73cb['INVALID_ARGUMENT']=0x7]=_0x5bd50f(0x358),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x2a2)]=0x8]=_0x5bd50f(0x2a2),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x240)]=0x9]='COMPLETION_FINISHED',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x20e)]=0xa]=_0x5bd50f(0x20e),_0x5d73cb[_0x5d73cb['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x5bd50f(0x31a),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x1e5)]=0xc]=_0x5bd50f(0x1e5),_0x5d73cb[_0x5d73cb['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5d73cb[_0x5d73cb['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5bd50f(0x2b6),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x2ed)]=0xf]=_0x5bd50f(0x2ed),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x277)]=0x10]=_0x5bd50f(0x277),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x151)]=0x64]=_0x5bd50f(0x151),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x30a)]=0x65]=_0x5bd50f(0x30a),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x2fd)]=0xc9]=_0x5bd50f(0x2fd),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x148)]=0xca]=_0x5bd50f(0x148),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x299)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5d73cb[_0x5d73cb['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5bd50f(0x38f),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x378)]=0x1772]=_0x5bd50f(0x378),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x205)]=0x1773]=_0x5bd50f(0x205),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x25d)]=0x1b59]=_0x5bd50f(0x25d),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x281)]=0x1b5a]=_0x5bd50f(0x281),_0x5d73cb[_0x5d73cb['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5bd50f(0x2aa),_0x5d73cb[_0x5d73cb['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x2ba)]=0x1b5d]=_0x5bd50f(0x2ba),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x2a0)]=0x1f41]=_0x5bd50f(0x2a0),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x270)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x2f8)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x346)]=0x232b]=_0x5bd50f(0x346),_0x5d73cb[_0x5d73cb['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5bd50f(0x220),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x169)]=0x232d]=_0x5bd50f(0x169),_0x5d73cb[_0x5d73cb['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5d73cb[_0x5d73cb['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5d73cb[_0x5d73cb['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5bd50f(0x2c9),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x2ce)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x32a)]=0x271a]=_0x5bd50f(0x32a),_0x5d73cb[_0x5d73cb['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x5bd50f(0x351),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x20f)]=0x271c]=_0x5bd50f(0x20f),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x389)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x1da)]=0x271e]=_0x5bd50f(0x1da),_0x5d73cb[_0x5d73cb['YUUMI_AI_RUN_FAILED']=0x271f]=_0x5bd50f(0x310),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x25e)]=0x2720]=_0x5bd50f(0x25e),_0x5d73cb[_0x5d73cb['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x165)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x28c)]=0x2ee2]='INVALID_INVITE_CODE',_0x5d73cb[_0x5d73cb['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5bd50f(0x2f9),_0x5d73cb[_0x5d73cb['USER_NOT_INVITED_CODE']=0x2ee4]=_0x5bd50f(0x283),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x222)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5d73cb[_0x5d73cb['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5bd50f(0x155),_0x5d73cb[_0x5d73cb['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x5bd50f(0x15a),_0x5d73cb[_0x5d73cb['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5d73cb[_0x5d73cb['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x5bd50f(0x34a),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x27c)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x1d9)]=0x36b3]=_0x5bd50f(0x1d9),_0x5d73cb[_0x5d73cb['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x5bd50f(0x178),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x289)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x5d73cb[_0x5d73cb['ENTITLE_COUPON_EXPIRED']=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x5d73cb[_0x5d73cb['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x5bd50f(0x342),_0x5d73cb[_0x5d73cb['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x5bd50f(0x317),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x184)]=0x3715]=_0x5bd50f(0x184),_0x5d73cb[_0x5d73cb['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x35a)]=0x3717]=_0x5bd50f(0x35a),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x14e)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5d73cb[_0x5d73cb['REDEMPTION_INVALID_CODE']=0x3a99]=_0x5bd50f(0x1b7),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x14d)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x223)]=0x3a9b]=_0x5bd50f(0x223),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x1c7)]=0x3a9c]=_0x5bd50f(0x1c7),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x217)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x5d73cb[_0x5d73cb['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x181)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5d73cb[_0x5d73cb[_0x5bd50f(0x2ab)]=0x3e81]=_0x5bd50f(0x2ab),_0x5d73cb[_0x5d73cb[_0x5bd50f(0x1cf)]=-0x1]='UNRECOGNIZED',_0x5d73cb))(_0x20a854||{}),_0x57ffd9=(_0x2812f3=>(_0x2812f3[_0x2812f3[_0x5bd50f(0x192)]=0x0]=_0x5bd50f(0x192),_0x2812f3[_0x2812f3[_0x5bd50f(0x271)]=0x1]=_0x5bd50f(0x271),_0x2812f3[_0x2812f3[_0x5bd50f(0x179)]=0x2]=_0x5bd50f(0x179),_0x2812f3[_0x2812f3[_0x5bd50f(0x26c)]=0x3]=_0x5bd50f(0x26c),_0x2812f3[_0x2812f3[_0x5bd50f(0x147)]=0x4]=_0x5bd50f(0x147),_0x2812f3[_0x2812f3[_0x5bd50f(0x1cf)]=-0x1]=_0x5bd50f(0x1cf),_0x2812f3))(_0x57ffd9||{}),_0x2fb02b=(_0x56cba4=>(_0x56cba4[_0x56cba4[_0x5bd50f(0x159)]=0x0]=_0x5bd50f(0x159),_0x56cba4[_0x56cba4[_0x5bd50f(0x14b)]=0x1]=_0x5bd50f(0x14b),_0x56cba4[_0x56cba4[_0x5bd50f(0x287)]=0x2]=_0x5bd50f(0x287),_0x56cba4[_0x56cba4[_0x5bd50f(0x2a4)]=0x3]=_0x5bd50f(0x2a4),_0x56cba4[_0x56cba4[_0x5bd50f(0x371)]=0x4]=_0x5bd50f(0x371),_0x56cba4[_0x56cba4[_0x5bd50f(0x24c)]=0x5]='Comment',_0x56cba4[_0x56cba4[_0x5bd50f(0x2c6)]=0x6]=_0x5bd50f(0x2c6),_0x56cba4[_0x56cba4[_0x5bd50f(0x34e)]=0x7]='Share',_0x56cba4[_0x56cba4[_0x5bd50f(0x1ea)]=0x8]='Export',_0x56cba4[_0x56cba4[_0x5bd50f(0x332)]=0x9]='MoveWorksheet',_0x56cba4[_0x56cba4[_0x5bd50f(0x249)]=0xa]=_0x5bd50f(0x249),_0x56cba4[_0x56cba4[_0x5bd50f(0x1fd)]=0xb]=_0x5bd50f(0x1fd),_0x56cba4[_0x56cba4['RenameWorksheet']=0xc]=_0x5bd50f(0x168),_0x56cba4[_0x56cba4['CreateWorksheet']=0xd]=_0x5bd50f(0x357),_0x56cba4[_0x56cba4[_0x5bd50f(0x172)]=0xe]=_0x5bd50f(0x172),_0x56cba4[_0x56cba4[_0x5bd50f(0x308)]=0xf]=_0x5bd50f(0x308),_0x56cba4[_0x56cba4['InsertHyperlink']=0x10]='InsertHyperlink',_0x56cba4[_0x56cba4['Sort']=0x11]=_0x5bd50f(0x1c6),_0x56cba4[_0x56cba4[_0x5bd50f(0x1a7)]=0x12]=_0x5bd50f(0x1a7),_0x56cba4[_0x56cba4[_0x5bd50f(0x1b6)]=0x13]='PivotTable',_0x56cba4[_0x56cba4[_0x5bd50f(0x326)]=0x14]=_0x5bd50f(0x326),_0x56cba4[_0x56cba4[_0x5bd50f(0x23e)]=0x15]=_0x5bd50f(0x23e),_0x56cba4[_0x56cba4['RwHgtClWdt']=0x16]=_0x5bd50f(0x1f8),_0x56cba4[_0x56cba4[_0x5bd50f(0x1af)]=0x17]='ViemRwHgtClWdt',_0x56cba4[_0x56cba4[_0x5bd50f(0x17c)]=0x18]='ViewFilter',_0x56cba4[_0x56cba4['MoveSheet']=0x19]='MoveSheet',_0x56cba4[_0x56cba4[_0x5bd50f(0x307)]=0x1a]=_0x5bd50f(0x307),_0x56cba4[_0x56cba4[_0x5bd50f(0x23d)]=0x1b]='HideSheet',_0x56cba4[_0x56cba4[_0x5bd50f(0x311)]=0x1c]=_0x5bd50f(0x311),_0x56cba4[_0x56cba4[_0x5bd50f(0x291)]=0x1d]='RenameSheet',_0x56cba4[_0x56cba4[_0x5bd50f(0x2e9)]=0x1e]='CreateSheet',_0x56cba4[_0x56cba4[_0x5bd50f(0x1f6)]=0x1f]=_0x5bd50f(0x1f6),_0x56cba4[_0x56cba4[_0x5bd50f(0x2ac)]=0x20]=_0x5bd50f(0x2ac),_0x56cba4[_0x56cba4[_0x5bd50f(0x316)]=0x21]='SetCellStyle',_0x56cba4[_0x56cba4[_0x5bd50f(0x1b5)]=0x22]=_0x5bd50f(0x1b5),_0x56cba4[_0x56cba4['SetRowStyle']=0x23]=_0x5bd50f(0x258),_0x56cba4[_0x56cba4[_0x5bd50f(0x195)]=0x24]=_0x5bd50f(0x195),_0x56cba4[_0x56cba4['InsertRow']=0x25]=_0x5bd50f(0x1d4),_0x56cba4[_0x56cba4[_0x5bd50f(0x27e)]=0x26]=_0x5bd50f(0x27e),_0x56cba4[_0x56cba4['DeleteRow']=0x27]=_0x5bd50f(0x16b),_0x56cba4[_0x56cba4[_0x5bd50f(0x352)]=0x28]=_0x5bd50f(0x352),_0x56cba4[_0x56cba4[_0x5bd50f(0x318)]=0x29]='EditExtraObject',_0x56cba4[_0x56cba4[_0x5bd50f(0x34f)]=0x2a]=_0x5bd50f(0x34f),_0x56cba4[_0x56cba4['RecoverHistory']=0x2b]=_0x5bd50f(0x1df),_0x56cba4[_0x56cba4['ViewHistory']=0x2c]='ViewHistory',_0x56cba4[_0x56cba4[_0x5bd50f(0x36c)]=0x2d]=_0x5bd50f(0x36c),_0x56cba4[_0x56cba4['UNRECOGNIZED']=-0x1]=_0x5bd50f(0x1cf),_0x56cba4))(_0x2fb02b||{});function _0x5ebec8(_0x35a09f){const _0x22604f=_0x5bd50f;return!!(_0x35a09f&&_0x35a09f['code']&&_0x35a09f[_0x22604f(0x30f)]!==_0x20a854['OK']&&_0x35a09f['code']!=='OK');}const _0x4c4d85=(_0x26255f,_0x30d949)=>{const _0x398d49=_0x5bd50f;if(!_0x26255f)return{'date':'','time':''};const _0x38d7b6=new Date(_0x26255f),_0x113737=_0x38d7b6[_0x398d49(0x20a)]()['split']('T')[0x0];switch(_0x30d949){case _0x23f48b['LocaleType']['ZH_CN']:return{'date':_0x1f0827(_0x113737,_0x30d949),'time':_0x38d7b6[_0x398d49(0x29a)]()+':'+String(_0x38d7b6[_0x398d49(0x241)]())[_0x398d49(0x1eb)](0x2,'0')+':'+String(_0x38d7b6[_0x398d49(0x248)]())['padStart'](0x2,'0')};default:return{'date':_0x1f0827(_0x113737,_0x30d949),'time':_0x38d7b6[_0x398d49(0x29a)]()+':'+_0x38d7b6[_0x398d49(0x241)]()+':'+_0x38d7b6[_0x398d49(0x248)]()};}},_0x441046=(_0x5b9365,_0x434082)=>{const _0x7ef112=_0x5bd50f,_0x654e1=_0x5b9365[_0x7ef112(0x366)]||_0x434082['t'](_0x7ef112(0x1d5));if(_0x5b9365['commands'][_0x7ef112(0x340)](_0x321230=>_0x321230===_0x1eaaa3['RevertRevisionMutation']['id'])&&_0x5b9365[_0x7ef112(0x24a)]){const _0x11deb0=_0x4c4d85(_0x5b9365['recoverTime'],_0x434082[_0x7ef112(0x146)]()),_0x28fee0=_0x11deb0[_0x7ef112(0x1cb)]+'\x20'+_0x11deb0['time'];return _0x654e1+'\x20'+_0x434082['t'](_0x7ef112(0x239))+'\x20'+_0x28fee0+'\x20'+_0x434082['t'](_0x7ef112(0x1d8));}const _0x1a273c=_0x5da501(_0x5b9365),_0x1984ba=_0x1a273c[_0x7ef112(0x1c2)]===0x1?_0x434082['t'](_0x1a273c[0x0]):''+_0x434082['t'](_0x1a273c[0x0])+_0x434082['t'](_0x7ef112(0x353));return _0x654e1+'\x20'+_0x1984ba;};function _0x5da501(_0x4f1d98){const _0x2766a4=_0x5bd50f;if(_0x4f1d98['commands'][_0x2766a4(0x1c2)]===0x0)return[''];const _0x186613='editHistory.action.',_0x3278e9=_0x186613+_0x2766a4(0x253),_0x71c516=[{'id':_0x1eaaa3['CreateUnitMutation']['id'],'action':_0x186613+_0x2766a4(0x339)},{'id':_0x1eaaa3[_0x2766a4(0x304)]['id'],'action':_0x186613+_0x2766a4(0x15f)},{'id':_0x230238['InsertSheetMutation']['id'],'action':_0x186613+'insertSheet'},{'id':_0x230238[_0x2766a4(0x22d)]['id'],'action':_0x186613+'removeSheet'},{'id':_0x230238[_0x2766a4(0x295)]['id'],'action':_0x186613+'setFrozen'},{'id':_0x2d5a72[_0x2766a4(0x1f1)]['id'],'action':_0x186613+_0x2766a4(0x29e)},{'id':_0x2a03da[_0x2766a4(0x28b)]['id'],'action':_0x186613+_0x2766a4(0x16c)},{'id':_0x2a03da['UpdateDataValidationMutation']['id'],'action':_0x186613+_0x2766a4(0x16c)},{'id':_0x1a032a[_0x2766a4(0x388)]['id'],'action':_0x186613+_0x2766a4(0x19c)},{'id':_0x1a032a[_0x2766a4(0x2ca)]['id'],'action':_0x186613+_0x2766a4(0x19c)},{'id':_0x230238[_0x2766a4(0x17f)]['id'],'action':_0x186613+'addProtection'},{'id':_0x230238[_0x2766a4(0x21f)]['id'],'action':_0x186613+_0x2766a4(0x1ed)},{'id':_0x4013f3[_0x2766a4(0x20b)]['id'],'action':_0x186613+'addSparkline'},{'id':_0x21285f[_0x2766a4(0x20d)]['id'],'action':_0x186613+'insertChart'},{'id':_0x230238['DeleteRangeProtectionMutation']['id'],'action':_0x186613+_0x2766a4(0x390)},{'id':_0x230238[_0x2766a4(0x290)]['id'],'action':_0x186613+_0x2766a4(0x390)}][_0x2766a4(0x26e)](_0x55e8e5=>_0x4f1d98['commands'][_0x2766a4(0x273)](_0x55e8e5['id']));return _0x71c516!=null&&_0x71c516[_0x2766a4(0x1c2)]?_0x71c516[_0x2766a4(0x325)](_0x2d4d91=>_0x2d4d91['action']):[_0x3278e9];}function _0x1f0827(_0x4b7016,_0x2bb076){const _0x5d1264=_0x5bd50f,[_0x582cc0,_0x4b4de1,_0x246a49]=new Date()[_0x5d1264(0x20a)]()['split']('T')[0x0][_0x5d1264(0x37e)]('-'),[_0x2b5722,_0x55bdff,_0x4a723d]=_0x4b7016[_0x5d1264(0x37e)]('-'),_0x35169e=_0x582cc0===_0x2b5722&&_0x4b4de1===_0x55bdff&&_0x246a49===_0x4a723d;let _0x1331b0='',_0x4f05bb='',_0x134f27='';switch(_0x2bb076){case _0x23f48b[_0x5d1264(0x2df)]['ZH_CN']:return _0x35169e?'今天':(_0x1331b0=_0x582cc0===_0x2b5722?'':_0x2b5722+'年',_0x4f05bb=_0x55bdff+'月',_0x134f27=_0x4a723d+'日',''+_0x1331b0+_0x4f05bb+_0x134f27);default:return _0x35169e?_0x5d1264(0x145):(_0x1331b0=_0x582cc0===_0x2b5722?'':_0x2b5722+'-',_0x4f05bb=_0x55bdff+'-',_0x134f27=''+_0x4a723d,''+_0x1331b0+_0x4f05bb+_0x134f27);}}function _0x4d5b46(_0x23c8e3){return _0x23c8e3?_0x23c8e3['reduce']((_0x2e6014,_0x55d6a9)=>{const _0x5c5a49=_0x3ffd,_0x12e566=new Date(_0x55d6a9[_0x5c5a49(0x14f)])[_0x5c5a49(0x20a)]()[_0x5c5a49(0x37e)]('T')[0x0];return _0x2e6014[_0x5c5a49(0x1c2)]>0x0&&_0x2e6014[_0x2e6014[_0x5c5a49(0x1c2)]-0x1][_0x5c5a49(0x2d1)]===_0x12e566?_0x2e6014[_0x2e6014[_0x5c5a49(0x1c2)]-0x1]['versions']['push'](_0x55d6a9):_0x2e6014[_0x5c5a49(0x1d2)]({'dateString':_0x12e566,'versions':[_0x55d6a9]}),_0x2e6014;},[]):[];}var _0x3f8aaa=Object['getOwnPropertyDescriptor'],_0x23cc4d=(_0xf20c3e,_0x32837d,_0x526e76,_0x2710e3)=>{const _0x4ca551=_0x5bd50f;for(var _0x5dc1ae=_0x2710e3>0x1?void 0x0:_0x2710e3?_0x3f8aaa(_0x32837d,_0x526e76):_0x32837d,_0x45be67=_0xf20c3e[_0x4ca551(0x1c2)]-0x1,_0x1da25f;_0x45be67>=0x0;_0x45be67--)(_0x1da25f=_0xf20c3e[_0x45be67])&&(_0x5dc1ae=_0x1da25f(_0x5dc1ae)||_0x5dc1ae);return _0x5dc1ae;},_0x28ab5b=(_0xe81f00,_0x34c8ba)=>(_0x8ffe74,_0x29953d)=>_0x34c8ba(_0x8ffe74,_0x29953d,_0xe81f00),_0x385639=(_0x49f09c=>(_0x49f09c[_0x49f09c[_0x5bd50f(0x213)]=0x0]=_0x5bd50f(0x213),_0x49f09c[_0x49f09c[_0x5bd50f(0x31c)]=0x1]='User',_0x49f09c[_0x49f09c['Character']=0x2]=_0x5bd50f(0x200),_0x49f09c))(_0x385639||{});const _0x20d0fe='/universer-api/history';let _0x5a147e=class extends _0x23f48b[_0x5bd50f(0x228)]{constructor(_0x3730c2,_0x39a617,_0x1c4059,_0x107c29,_0x32a0df,_0x4a229a,_0x3368d7){const _0x400a34=_0x5bd50f;super(),_0x195dad(this,_0x400a34(0x19b),new Map()),(this['_snapshotServerService']=_0x3730c2,this[_0x400a34(0x156)]=_0x39a617,this['_commandService']=_0x1c4059,this[_0x400a34(0x265)]=_0x107c29,this[_0x400a34(0x2f4)]=_0x32a0df,this['_compressMutationService']=_0x4a229a,this[_0x400a34(0x275)]=_0x3368d7);}[_0x5bd50f(0x362)](){const _0x379ca0=_0x5bd50f;this['_workbookDataCache']['clear'](),super[_0x379ca0(0x362)]();}async[_0x5bd50f(0x293)](_0x11ac3d){const _0x5a732=_0x5bd50f;try{const _0x510149=(await this[_0x5a732(0x2f4)][_0x5a732(0x160)](this['_getAPIPrefix']()+'/'+_0x11ac3d+'/creators'))['body'];if(_0x510149&&_0x510149['error']&&_0x510149[_0x5a732(0x1b9)][_0x5a732(0x30f)]===_0x20a854['OK'])return _0x510149[_0x5a732(0x34b)];}catch(_0x42e016){console['error'](_0x42e016);}return[];}async[_0x5bd50f(0x1b0)](_0x55f150,_0x2404b2){const _0xd6553b=_0x5bd50f,{userIds:_0x2f130e,lastLabel:_0x4f00e9,origin:_0x45cd12}=_0x2404b2!=null?_0x2404b2:{},_0x71b1f9=new URLSearchParams();_0x71b1f9[_0xd6553b(0x1c4)]('length','20'),_0x4f00e9&&_0x71b1f9['set']('lastLabel',_0x4f00e9),_0x2f130e==null||_0x2f130e['forEach'](_0x45c379=>{const _0x2547cc=_0xd6553b;_0x71b1f9[_0x2547cc(0x2c2)](_0x2547cc(0x35c),_0x45c379);}),_0x45cd12&&_0x71b1f9['set'](_0xd6553b(0x31f),_0x45cd12['toString']());const _0x5ddc59=this[_0xd6553b(0x361)]()+'/'+_0x55f150+_0xd6553b(0x22a)+_0x71b1f9['toString']();try{const _0x20e5c7=(await this[_0xd6553b(0x2f4)]['get'](_0x5ddc59))[_0xd6553b(0x337)];if(_0x20e5c7&&_0x20e5c7['error']&&_0x20e5c7[_0xd6553b(0x1b9)][_0xd6553b(0x30f)]===_0x20a854['OK']){const {hasMore:_0x53750b,lastLabel:_0x51d3fe}=_0x20e5c7,_0x1a3fb=_0x255a35(_0x20e5c7),_0x46a4e6=_0x20e5c7[_0xd6553b(0x219)][_0xd6553b(0x387)];return{'hasMore':_0x53750b,'lastLabel':_0x51d3fe,'versions':_0x1a3fb,'members':_0x46a4e6};}}catch(_0x3597e3){console[_0xd6553b(0x1b9)](_0x3597e3);}return null;}['_getAPIPrefix'](){const _0x47b098=_0x5bd50f;var _0x470d03;const _0xdaba5b=this['_configService'][_0x47b098(0x349)](_0x236128);return(_0x470d03=_0xdaba5b==null?void 0x0:_0xdaba5b[_0x47b098(0x32d)])!=null?_0x470d03:_0x20d0fe;}async['loadSheet'](_0x558d64,_0x4842ac,_0x25af81){const _0x1b2fe0=_0x5bd50f;var _0x58bc32,_0x2d34e2;_0x25af81===void 0x0&&(_0x25af81={}),this[_0x1b2fe0(0x19b)][_0x1b2fe0(0x2ae)](_0x558d64)||this['_workbookDataCache']['set'](_0x558d64,new Map());const {snapshot:_0x4ede29,changesets:_0xfe5007,error:_0x43704c}=await this[_0x1b2fe0(0x230)][_0x1b2fe0(0x347)](_0x25af81,{'unitID':_0x558d64,'type':_0x57ffd9[_0x1b2fe0(0x179)],'revision':_0x4842ac});if(_0x5ebec8(_0x43704c)||!_0x4ede29||!_0x4ede29['workbook'])throw new Error(_0x1b2fe0(0x2cf));const _0x4e185b=(_0x58bc32=_0xfe5007==null?void 0x0:_0xfe5007[_0x1b2fe0(0x1c2)])!=null?_0x58bc32:0x0;if(_0x4842ac!==0x0&&_0x4ede29[_0x1b2fe0(0x2b5)]+_0x4e185b!==_0x4842ac)throw new Error(_0x1b2fe0(0x327));const {workbook:_0x121877}=_0x4ede29,_0x592302=_0x121877[_0x1b2fe0(0x385)]?Object[_0x1b2fe0(0x1dd)](_0x121877[_0x1b2fe0(0x385)])[_0x1b2fe0(0x325)](([_0x391ca1,_0x56989d])=>{const _0x1abf97=_0x1b2fe0;var _0x404617,_0x389ce6;return(_0x389ce6=(_0x404617=_0x56989d[_0x1abf97(0x27b)])==null?void 0x0:_0x404617[_0x1abf97(0x325)](_0x3d6715=>_0x3d6715))!=null?_0x389ce6:[];})[_0x1b2fe0(0x274)]():[],_0x1ca8a1=(await Promise[_0x1b2fe0(0x386)](_0x592302[_0x1b2fe0(0x325)](_0x393870=>this[_0x1b2fe0(0x230)][_0x1b2fe0(0x235)](_0x25af81,{'unitID':_0x558d64,'type':_0x57ffd9[_0x1b2fe0(0x179)],'blockID':_0x393870})['then'](_0x144546=>_0x144546[_0x1b2fe0(0x144)]))))[_0x1b2fe0(0x26e)](_0x409ecb=>!!_0x409ecb),_0x27b00c=await _0x1eaaa3[_0x1b2fe0(0x237)](_0x4ede29,_0x1ca8a1,_0x25af81);return(_0x2d34e2=this['_workbookDataCache'][_0x1b2fe0(0x160)](_0x558d64))==null||_0x2d34e2['set'](_0x4842ac,{'workbook':_0x27b00c}),new Promise(_0x6eb8a6=>{const _0x36773a=_0x1b2fe0,_0x3d499c=this[_0x36773a(0x156)]['getCurrentUnitForType'](_0x23f48b[_0x36773a(0x1aa)][_0x36773a(0x179)]);_0x3d499c?(this[_0x36773a(0x156)][_0x36773a(0x250)](_0x3d499c['getUnitId']()),setTimeout(()=>{const _0x1a98b1=_0x36773a;this[_0x1a98b1(0x38d)](_0x27b00c,_0xfe5007),this[_0x1a98b1(0x275)][_0x1a98b1(0x18e)](),_0x6eb8a6(!0x0);},0x0)):(this[_0x36773a(0x38d)](_0x27b00c,_0xfe5007),_0x6eb8a6(!0x0));});}[_0x5bd50f(0x38d)](_0x30863d,_0x57d5d8){const _0x28bd95=_0x5bd50f,_0x381ab3=this[_0x28bd95(0x156)][_0x28bd95(0x1bf)](_0x23f48b['UniverInstanceType'][_0x28bd95(0x179)],_0x30863d);this[_0x28bd95(0x156)][_0x28bd95(0x251)](_0x381ab3['getUnitId']());const _0xd0a2fd=this['_compressMutationService'][_0x28bd95(0x2b2)][_0x28bd95(0x344)](this[_0x28bd95(0x341)]['interceptor'][_0x28bd95(0x1c3)]()['COMPRESS_MUTATION_APPLY']);return _0x57d5d8==null||_0x57d5d8[_0x28bd95(0x37d)](_0x26b736=>{const _0x357f59=_0x28bd95,_0x262c9b=_0x26b736['mutations'][_0x357f59(0x325)](_0x14ccc6=>({'id':_0x14ccc6['id'],'params':JSON[_0x357f59(0x1a4)](_0x14ccc6[_0x357f59(0x381)])}));({..._0x26b736,'mutations':_0xd0a2fd(_0x262c9b,null)||_0x262c9b}['mutations'][_0x357f59(0x37d)](_0x2731fd=>{const _0x2240c4=_0x357f59;this[_0x2240c4(0x21c)][_0x2240c4(0x243)](_0x2731fd['id'])&&this[_0x2240c4(0x21c)][_0x2240c4(0x338)](_0x2731fd['id'],_0x2731fd[_0x2240c4(0x328)]);}));}),_0x381ab3;}};_0x5a147e=_0x23cc4d([_0x28ab5b(0x0,_0x1eaaa3[_0x5bd50f(0x2f1)]),_0x28ab5b(0x1,_0x23f48b[_0x5bd50f(0x1de)]),_0x28ab5b(0x2,_0x23f48b[_0x5bd50f(0x383)]),_0x28ab5b(0x3,_0x23f48b[_0x5bd50f(0x2a9)]),_0x28ab5b(0x4,_0x23f48b[_0x5bd50f(0x2cb)](_0x22fe8e[_0x5bd50f(0x21d)])),_0x28ab5b(0x5,_0x23f48b['Inject'](_0x1eaaa3[_0x5bd50f(0x2d9)])),_0x28ab5b(0x6,_0x23f48b['Inject'](_0x230238['SheetPermissionInitController']))],_0x5a147e);function _0x255a35(_0x4ce4f2){const _0x4a3f26=_0x5bd50f;var _0x5426ed,_0x534849;const _0x290442=[],{entities:_0x434f0d,historyIds:_0x178315}=_0x4ce4f2,{datas:_0x18bec1,users:_0x3c229f}=_0x434f0d;for(const _0xaea134 of _0x178315){const _0x1d2659=_0x18bec1[_0xaea134];if(_0x1d2659){const _0xdc5396=!!((_0x5426ed=_0x3c229f[_0x1d2659[_0x4a3f26(0x2a1)]])!=null&&_0x5426ed[_0x4a3f26(0x18b)]);_0x290442[_0x4a3f26(0x1d2)]({'unitId':_0x1d2659[_0x4a3f26(0x18f)],'user':_0xdc5396?'':((_0x534849=_0x3c229f==null?void 0x0:_0x3c229f[_0x1d2659[_0x4a3f26(0x2a1)]])==null?void 0x0:_0x534849[_0x4a3f26(0x25b)])||'','isAnonymous':_0xdc5396,'id':_0xaea134,'time':_0x1d2659[_0x4a3f26(0x191)]?Number(_0x1d2659[_0x4a3f26(0x191)]):void 0x0,'commands':_0x1d2659[_0x4a3f26(0x285)],'startRev':Number(_0x1d2659[_0x4a3f26(0x16d)]),'endRev':Number(_0x1d2659['endRevision']),'recoverTime':_0x1d2659['recoverTime']?Number(_0x1d2659['recoverTime']):void 0x0,'additionalFields':_0x1d2659['additionalFields']});}}return _0x290442;}var _0x2a635b=Object[_0x5bd50f(0x2b4)],_0x1320e1=(_0x5a4931,_0x40f043,_0x2e9657,_0x5ec2af)=>{for(var _0x35f74a=_0x5ec2af>0x1?void 0x0:_0x5ec2af?_0x2a635b(_0x40f043,_0x2e9657):_0x40f043,_0x140537=_0x5a4931['length']-0x1,_0x29a911;_0x140537>=0x0;_0x140537--)(_0x29a911=_0x5a4931[_0x140537])&&(_0x35f74a=_0x29a911(_0x35f74a)||_0x35f74a);return _0x35f74a;},_0x64f6d9=(_0x2e5a85,_0x990f6f)=>(_0x7e0dcc,_0x50525b)=>_0x990f6f(_0x7e0dcc,_0x50525b,_0x2e5a85),_0x4b2040=(_0x4b626b=>(_0x4b626b[_0x5bd50f(0x284)]=_0x5bd50f(0x1a3),_0x4b626b[_0x5bd50f(0x14a)]=_0x5bd50f(0x1e0),_0x4b626b[_0x5bd50f(0x1dc)]=_0x5bd50f(0x1b9),_0x4b626b))(_0x4b2040||{}),_0x3591c7=(_0x181148=>(_0x181148['Init']=_0x5bd50f(0x23b),_0x181148[_0x5bd50f(0x30d)]=_0x5bd50f(0x1f7),_0x181148[_0x5bd50f(0x2b7)]=_0x5bd50f(0x166),_0x181148))(_0x3591c7||{});const _0x5a63ee='VIRTUAL_VERSION_NOW';_0x1732b6['HistoryManagerService']=class extends _0x23f48b[_0x5bd50f(0x228)]{constructor(_0x185f2c,_0x357c4c,_0x400cc0,_0x32268e){const _0x5435f2=_0x5bd50f;super(),_0x195dad(this,_0x5435f2(0x185),new _0x41ab31[(_0x5435f2(0x18d))]([])),_0x195dad(this,'versions$',this[_0x5435f2(0x185)][_0x5435f2(0x2e3)]()),_0x195dad(this,'_currentVersion$',new _0x41ab31['BehaviorSubject']('')),_0x195dad(this,'currentVersion$',this[_0x5435f2(0x262)][_0x5435f2(0x2e3)]()),_0x195dad(this,_0x5435f2(0x2eb),new _0x41ab31[(_0x5435f2(0x18d))](_0x5435f2(0x1a3))),_0x195dad(this,'status$',this['_status$'][_0x5435f2(0x2e3)]()),_0x195dad(this,_0x5435f2(0x1ae),new _0x41ab31['BehaviorSubject'](0x0)),_0x195dad(this,_0x5435f2(0x1c1),this['_revertRevision$']['asObservable']()),_0x195dad(this,_0x5435f2(0x2c3),new _0x41ab31['BehaviorSubject']('')),_0x195dad(this,'unitId$',this['_unitId$'][_0x5435f2(0x2e3)]()),_0x195dad(this,'_fetching$',new _0x41ab31[(_0x5435f2(0x18d))](!0x1)),_0x195dad(this,'fetching$',this[_0x5435f2(0x36e)]['asObservable']()),_0x195dad(this,'_creators$',new _0x41ab31[(_0x5435f2(0x18d))]([])),_0x195dad(this,_0x5435f2(0x379),this[_0x5435f2(0x214)][_0x5435f2(0x2e3)]()),_0x195dad(this,_0x5435f2(0x282),new _0x41ab31['BehaviorSubject'](_0x5435f2(0x23b))),_0x195dad(this,_0x5435f2(0x247),this[_0x5435f2(0x282)][_0x5435f2(0x2e3)]()),_0x195dad(this,'_lastLabel',null),_0x195dad(this,_0x5435f2(0x365),!0x0),_0x195dad(this,_0x5435f2(0x242),new Map()),_0x195dad(this,_0x5435f2(0x298)),_0x195dad(this,_0x5435f2(0x309)),_0x195dad(this,_0x5435f2(0x194)),_0x195dad(this,'_canRevert',!0x1),_0x195dad(this,_0x5435f2(0x1db),null),(this[_0x5435f2(0x2d7)]=_0x185f2c,this['_confirmService']=_0x357c4c,this[_0x5435f2(0x354)]=_0x400cc0,this[_0x5435f2(0x238)]=_0x32268e);}[_0x5bd50f(0x2e0)](_0x2b8789){const _0x2493aa=_0x5bd50f;this[_0x2493aa(0x36e)][_0x2493aa(0x1c5)](_0x2b8789);}get[_0x5bd50f(0x206)](){const _0x2fc405=_0x5bd50f;return this[_0x2fc405(0x36e)][_0x2fc405(0x2db)];}async['triggerLoadVersions'](_0xed1426,_0xadff9a,_0x344331){const _0x27150b=_0x5bd50f;this[_0x27150b(0x298)]=_0xadff9a,this['_canRevert']=_0x344331,await this[_0x27150b(0x153)](_0xed1426);}async[_0x5bd50f(0x153)](_0x4fb621,_0x52f0b2){const _0x5b2623=_0x5bd50f;this[_0x5b2623(0x2c3)]['next'](_0x4fb621),this[_0x5b2623(0x1db)]=_0x52f0b2!=null?_0x52f0b2:null,this[_0x5b2623(0x2e0)](!0x0);const _0x266e38=await this[_0x5b2623(0x238)][_0x5b2623(0x1b0)](_0x4fb621,_0x52f0b2);if(this[_0x5b2623(0x2e0)](!0x1),_0x266e38){const {versions:_0x559c10,lastLabel:_0x28c1db,hasMore:_0x45d35b,members:_0x22e288}=_0x266e38;_0x559c10['length']===0x0&&_0x559c10[_0x5b2623(0x1d2)]({'unitId':_0x4fb621,'id':_0x5a63ee,'startRev':0x1,'endRev':0x0,'time':Date[_0x5b2623(0x38b)](),'user':this[_0x5b2623(0x354)]['t']('editHistory.panel.currentUser'),'commands':[],'isAnonymous':!0x1}),this[_0x5b2623(0x294)](_0x559c10,_0x45d35b,_0x28c1db,!0x1,_0x22e288),this[_0x5b2623(0x262)][_0x5b2623(0x1c5)](_0x559c10[0x0]['id']);}else this['_status$'][_0x5b2623(0x1c5)]('error');}async[_0x5bd50f(0x19a)](){const _0x4ad142=_0x5bd50f;if(!this['_lastLabel']||!this[_0x4ad142(0x365)]||this[_0x4ad142(0x206)])return!0x1;this['_setFetching'](!0x0);const _0x184485=await this[_0x4ad142(0x238)][_0x4ad142(0x1b0)](this[_0x4ad142(0x18f)],{'lastLabel':this[_0x4ad142(0x23f)],...this[_0x4ad142(0x1db)]});if(this[_0x4ad142(0x2e0)](!0x1),_0x184485){const {versions:_0x30643e,lastLabel:_0x9d522c,hasMore:_0x5396bf,members:_0x8bbff1}=_0x184485;this[_0x4ad142(0x294)](_0x30643e,_0x5396bf,_0x9d522c,!0x0,_0x8bbff1);}else this[_0x4ad142(0x2d7)][_0x4ad142(0x21e)]({'content':this['_localeService']['t'](_0x4ad142(0x152)),'type':_0x1a278c['MessageType'][_0x4ad142(0x1dc)],'duration':0xbb8});return!0x0;}async[_0x5bd50f(0x17b)](){const _0x1f9ee9=_0x5bd50f,{unitId:_0x2bab56}=this;if(!_0x2bab56)return;const _0x26a4f3=await this['_historyFetchService'][_0x1f9ee9(0x293)](_0x2bab56);_0x26a4f3&&this['_creators$']['next'](_0x26a4f3);}async['triggerLoadSheet'](_0x2189d1){const _0x21209a=_0x5bd50f;var _0x1ae72b;const _0x2a3892=(_0x1ae72b=this[_0x21209a(0x185)][_0x21209a(0x2db)])==null?void 0x0:_0x1ae72b[_0x21209a(0x2d2)](_0x14fe0d=>_0x14fe0d['id']===_0x2189d1),{endRev:_0x41e82d}=_0x2a3892||{};_0x41e82d||_0x41e82d===0x0?(this[_0x21209a(0x282)]['next'](_0x21209a(0x1f7)),await this['_historyFetchService'][_0x21209a(0x161)](this['unitId'],_0x41e82d),this[_0x21209a(0x282)][_0x21209a(0x1c5)](_0x21209a(0x166))):this[_0x21209a(0x2eb)]['next']('error');}async[_0x5bd50f(0x2ec)](_0x5af200){const _0x3d5aa4=_0x5bd50f,_0x287b59=_0x5af200?this[_0x3d5aa4(0x1bd)](_0x5af200):this[_0x3d5aa4(0x244)]();if(!_0x287b59)return;const _0x494092=_0x287b59[_0x3d5aa4(0x33c)],_0x4197ef=_0x4c4d85(_0x287b59['time'],this['_localeService'][_0x3d5aa4(0x146)]());await this[_0x3d5aa4(0x28f)][_0x3d5aa4(0x1a9)]({'id':_0x3d5aa4(0x2f6),'title':{'title':this[_0x3d5aa4(0x354)]['t'](_0x3d5aa4(0x292))},'children':{'title':this[_0x3d5aa4(0x354)]['t'](_0x3d5aa4(0x175))+_0x3d5aa4(0x345)+_0x4197ef[_0x3d5aa4(0x1cb)]+'\x20'+_0x4197ef[_0x3d5aa4(0x14f)]+')'},'cancelText':this[_0x3d5aa4(0x354)]['t']('editHistory.panel.cancel'),'confirmText':this[_0x3d5aa4(0x354)]['t'](_0x3d5aa4(0x196))})&&this[_0x3d5aa4(0x1ae)][_0x3d5aa4(0x1c5)](_0x494092);}[_0x5bd50f(0x294)](_0x2d91e2,_0x1606c3,_0x2ccb74,_0x28329e,_0x4f815f){const _0x26df0b=_0x5bd50f;this[_0x26df0b(0x372)](_0x28329e?this['_versions$'][_0x26df0b(0x2db)][_0x26df0b(0x256)](_0x2d91e2):_0x2d91e2),this['_hasMore']=_0x1606c3,this[_0x26df0b(0x23f)]=_0x2ccb74,_0x4f815f&&Object[_0x26df0b(0x369)](_0x4f815f)[_0x26df0b(0x37d)](_0x15e277=>this['_members'][_0x26df0b(0x1c4)](_0x15e277,_0x4f815f[_0x15e277]));}[_0x5bd50f(0x244)](){const _0x748966=_0x5bd50f;return this[_0x748966(0x1bd)](this[_0x748966(0x262)][_0x748966(0x2db)]);}[_0x5bd50f(0x372)](_0x2a76de){const _0x288f15=_0x5bd50f;this[_0x288f15(0x185)][_0x288f15(0x1c5)](_0x2a76de);}[_0x5bd50f(0x1bd)](_0x552839){const _0x3409f2=_0x5bd50f;var _0x1d5137;return(_0x1d5137=this[_0x3409f2(0x185)]['value'])==null?void 0x0:_0x1d5137['find'](_0x15e2c1=>_0x15e2c1['id']===_0x552839);}[_0x5bd50f(0x38c)](_0x311174){const _0x3ffe4d=_0x5bd50f;return this[_0x3ffe4d(0x242)][_0x3ffe4d(0x160)](_0x311174);}['_createMask'](){const _0x2bd7b8=_0x5bd50f;this[_0x2bd7b8(0x194)]=document[_0x2bd7b8(0x2a3)](_0x2bd7b8(0x2cd)),this[_0x2bd7b8(0x194)][_0x2bd7b8(0x27f)]='history-mask',this[_0x2bd7b8(0x194)][_0x2bd7b8(0x2be)][_0x2bd7b8(0x22c)]='absolute',this['_maskElement'][_0x2bd7b8(0x2be)][_0x2bd7b8(0x1ee)]='0',this[_0x2bd7b8(0x194)][_0x2bd7b8(0x2be)][_0x2bd7b8(0x233)]='0',this[_0x2bd7b8(0x194)][_0x2bd7b8(0x2be)]['width']=_0x2bd7b8(0x201),this[_0x2bd7b8(0x194)][_0x2bd7b8(0x2be)]['height']='100%',this['_maskElement'][_0x2bd7b8(0x2be)][_0x2bd7b8(0x1c0)]='rgba(225,\x20225,\x20225,\x200.5)',this['_maskElement']['style'][_0x2bd7b8(0x207)]=_0x2bd7b8(0x31e),this['_maskElement'][_0x2bd7b8(0x2be)]['display']=_0x2bd7b8(0x33e),this['_maskElement'][_0x2bd7b8(0x2be)][_0x2bd7b8(0x226)]=_0x2bd7b8(0x1a0),this[_0x2bd7b8(0x194)][_0x2bd7b8(0x2be)][_0x2bd7b8(0x27d)]=_0x2bd7b8(0x31b),this[_0x2bd7b8(0x194)][_0x2bd7b8(0x2be)][_0x2bd7b8(0x380)]='none',this[_0x2bd7b8(0x309)][_0x2bd7b8(0x2c2)](this[_0x2bd7b8(0x194)]);}['_initMaskContainer'](){const _0x525426=_0x5bd50f;var _0x10925d;const _0x5b9061=(_0x10925d=document[_0x525426(0x215)](this['_historyContainerId']))==null?void 0x0:_0x10925d['querySelector'](_0x525426(0x376));_0x5b9061&&(this[_0x525426(0x309)]=_0x5b9061,this[_0x525426(0x24e)]());}[_0x5bd50f(0x2a7)](){const _0x27ff2a=_0x5bd50f;this[_0x27ff2a(0x309)]||this['_initMaskContainer'](),this[_0x27ff2a(0x194)]&&(this['_maskElement'][_0x27ff2a(0x2be)]['display']=_0x27ff2a(0x33e));}[_0x5bd50f(0x2ea)](){const _0x4e7958=_0x5bd50f;this[_0x4e7958(0x194)]&&(this[_0x4e7958(0x194)][_0x4e7958(0x2be)][_0x4e7958(0x380)]=_0x4e7958(0x216));}set[_0x5bd50f(0x314)](_0x17f54f){const _0x76f04b=_0x5bd50f;this['_status$'][_0x76f04b(0x1c5)](_0x17f54f);}set['currentVersion'](_0xd6a006){const _0x48c777=_0x5bd50f;_0xd6a006!==this[_0x48c777(0x262)]['value']&&this[_0x48c777(0x262)][_0x48c777(0x1c5)](_0xd6a006);}get[_0x5bd50f(0x154)](){const _0xfbd14c=_0x5bd50f;return this[_0xfbd14c(0x262)]['value'];}set['unitId'](_0xbfe397){const _0x4b3e3f=_0x5bd50f;this[_0x4b3e3f(0x2c3)]['next'](_0xbfe397);}get[_0x5bd50f(0x18f)](){const _0x33ec6d=_0x5bd50f;return this[_0x33ec6d(0x2c3)]['value'];}get[_0x5bd50f(0x2b8)](){return this['_canRevert'];}get[_0x5bd50f(0x245)](){const _0xf474b1=_0x5bd50f;return this[_0xf474b1(0x282)][_0xf474b1(0x2db)];}},_0x1732b6[_0x5bd50f(0x2c1)]=_0x1320e1([_0x64f6d9(0x0,_0x5cd9fb[_0x5bd50f(0x30e)]),_0x64f6d9(0x1,_0x5cd9fb[_0x5bd50f(0x164)]),_0x64f6d9(0x2,_0x23f48b[_0x5bd50f(0x2cb)](_0x23f48b[_0x5bd50f(0x2fc)])),_0x64f6d9(0x3,_0x23f48b['Inject'](_0x5a147e))],_0x1732b6[_0x5bd50f(0x2c1)]);function _0x1bec5d({ref:_0x3cafda,..._0x5850ab}){const _0x39e957=_0x5bd50f,{icon:_0x5279ef,id:_0x2bf037,className:_0x402427,extend:_0x270eff,..._0x5a5a3a}=_0x5850ab,_0x1bca49=(_0x39e957(0x301)+_0x2bf037+'\x20'+(_0x402427||''))[_0x39e957(0x1fb)](),_0x33b729=_0x59d6ce[_0x39e957(0x22e)]('_'+_0x41e96e());return _0x2a1648(_0x5279ef,''+_0x2bf037,{'defIds':_0x5279ef[_0x39e957(0x15c)],'idSuffix':_0x33b729[_0x39e957(0x23c)]},{'ref':_0x3cafda,'className':_0x1bca49,..._0x5a5a3a},_0x270eff);}function _0x2a1648(_0x437824,_0x17b478,_0x3f0e01,_0x5a829b,_0x14e457){const _0x3104c8=_0x5bd50f;return _0x59d6ce[_0x3104c8(0x2a3)](_0x437824[_0x3104c8(0x176)],{'key':_0x17b478,..._0x45870c(_0x437824,_0x3f0e01,_0x14e457),..._0x5a829b},(_0x2af6af(_0x437824,_0x3f0e01)[_0x3104c8(0x1c8)]||[])['map']((_0x104a59,_0x55e365)=>_0x2a1648(_0x104a59,_0x17b478+'-'+_0x437824['tag']+'-'+_0x55e365,_0x3f0e01,void 0x0,_0x14e457)));}function _0x45870c(_0x4d8f30,_0x4a73a2,_0x13ceb4){const _0x2ff25d=_0x5bd50f,_0x2ebbe5={..._0x4d8f30['attrs']};_0x13ceb4!=null&&_0x13ceb4[_0x2ff25d(0x261)]&&_0x2ebbe5[_0x2ff25d(0x1fe)]===_0x2ff25d(0x261)&&(_0x2ebbe5['fill']=_0x13ceb4[_0x2ff25d(0x261)]),_0x4d8f30[_0x2ff25d(0x176)]===_0x2ff25d(0x16f)&&_0x2ebbe5['id']&&(_0x2ebbe5['id']=_0x2ebbe5['id']+_0x4a73a2[_0x2ff25d(0x1e2)]),Object[_0x2ff25d(0x1dd)](_0x2ebbe5)['forEach'](([_0xfe5d2c,_0x114334])=>{const _0x416dd4=_0x2ff25d;_0xfe5d2c===_0x416dd4(0x16f)&&typeof _0x114334=='string'&&(_0x2ebbe5[_0xfe5d2c]=_0x114334[_0x416dd4(0x322)](/url\(#(.*)\)/,_0x416dd4(0x1ac)+_0x4a73a2['idSuffix']+')'));});const {defIds:_0x18b33f}=_0x4a73a2;return!_0x18b33f||_0x18b33f[_0x2ff25d(0x1c2)]===0x0||(_0x4d8f30[_0x2ff25d(0x176)]===_0x2ff25d(0x2c7)&&_0x2ebbe5['xlink:href']&&(_0x2ebbe5[_0x2ff25d(0x331)]=_0x2ebbe5[_0x2ff25d(0x331)]+_0x4a73a2[_0x2ff25d(0x1e2)]),Object[_0x2ff25d(0x1dd)](_0x2ebbe5)[_0x2ff25d(0x37d)](([_0xa1150a,_0x49703c])=>{const _0x4cebfa=_0x2ff25d;typeof _0x49703c==_0x4cebfa(0x19d)&&(_0x2ebbe5[_0xa1150a]=_0x49703c[_0x4cebfa(0x322)](/url\(#(.*)\)/,_0x4cebfa(0x1ac)+_0x4a73a2[_0x4cebfa(0x1e2)]+')'));})),_0x2ebbe5;}function _0x2af6af(_0x40fbbb,_0x51b28d){const _0x1e7780=_0x5bd50f;var _0x3342a6;const {defIds:_0x58ab5e}=_0x51b28d;return!_0x58ab5e||_0x58ab5e['length']===0x0?_0x40fbbb:_0x40fbbb[_0x1e7780(0x176)]===_0x1e7780(0x268)&&((_0x3342a6=_0x40fbbb[_0x1e7780(0x1c8)])!=null&&_0x3342a6['length'])?{..._0x40fbbb,'children':_0x40fbbb[_0x1e7780(0x1c8)][_0x1e7780(0x325)](_0x5a2f30=>typeof _0x5a2f30[_0x1e7780(0x1bc)]['id']==_0x1e7780(0x19d)&&_0x58ab5e&&_0x58ab5e[_0x1e7780(0x273)](_0x5a2f30[_0x1e7780(0x1bc)]['id'])?{..._0x5a2f30,'attrs':{..._0x5a2f30[_0x1e7780(0x1bc)],'id':_0x5a2f30[_0x1e7780(0x1bc)]['id']+_0x51b28d['idSuffix']}}:_0x5a2f30)}:_0x40fbbb;}function _0x41e96e(){const _0x2cc447=_0x5bd50f;return Math['random']()['toString'](0x24)[_0x2cc447(0x37b)](0x2,0x8);}_0x1bec5d[_0x5bd50f(0x2e5)]='UniverIcon';const _0x32b2cb={'tag':_0x5bd50f(0x363),'attrs':{'xmlns':_0x5bd50f(0x246),'fill':'none','viewBox':_0x5bd50f(0x36f),'width':_0x5bd50f(0x259),'height':_0x5bd50f(0x259)},'children':[{'tag':'path','attrs':{'fill':_0x5bd50f(0x315),'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'}}]},_0x59cd90=_0x59d6ce[_0x5bd50f(0x2d4)](function(_0xab6c,_0x4f6b78){const _0x48b9cf=_0x5bd50f;return _0x59d6ce[_0x48b9cf(0x2a3)](_0x1bec5d,Object[_0x48b9cf(0x1a5)]({},_0xab6c,{'id':'back-icon','ref':_0x4f6b78,'icon':_0x32b2cb}));});_0x59cd90['displayName']=_0x5bd50f(0x20c);const _0x5afbd1={'tag':_0x5bd50f(0x363),'attrs':{'xmlns':_0x5bd50f(0x246),'fill':'none','viewBox':'0\x200\x2016\x2017','width':_0x5bd50f(0x259),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':_0x5bd50f(0x2b0)},'children':[{'tag':_0x5bd50f(0x2b9),'attrs':{'d':_0x5bd50f(0x286)}},{'tag':_0x5bd50f(0x2b9),'attrs':{'d':_0x5bd50f(0x197),'fillRule':'evenodd','clipRule':_0x5bd50f(0x320)}}]},{'tag':_0x5bd50f(0x268),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5bd50f(0x15b)},'children':[{'tag':_0x5bd50f(0x300),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':['restore-icon_clip0_1247_2']},_0x3478c1=_0x59d6ce[_0x5bd50f(0x2d4)](function(_0x4022c9,_0x3a21dd){const _0x109850=_0x5bd50f;return _0x59d6ce['createElement'](_0x1bec5d,Object[_0x109850(0x1a5)]({},_0x4022c9,{'id':_0x109850(0x329),'ref':_0x3a21dd,'icon':_0x5afbd1}));});_0x3478c1[_0x5bd50f(0x2e5)]=_0x5bd50f(0x34d);const _0x19f3b6={'tag':_0x5bd50f(0x363),'attrs':{'xmlns':_0x5bd50f(0x246),'fill':'none','viewBox':_0x5bd50f(0x36f),'width':_0x5bd50f(0x259),'height':'1em'},'children':[{'tag':_0x5bd50f(0x2b9),'attrs':{'fill':_0x5bd50f(0x1d0),'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':_0x5bd50f(0x320),'clipRule':_0x5bd50f(0x320)}},{'tag':_0x5bd50f(0x2b9),'attrs':{'fill':_0x5bd50f(0x1d0),'d':_0x5bd50f(0x21a),'fillRule':_0x5bd50f(0x320),'clipRule':_0x5bd50f(0x320)}}]},_0x3f38b2=_0x59d6ce[_0x5bd50f(0x2d4)](function(_0x38fa17,_0x2bc168){return _0x59d6ce['createElement'](_0x1bec5d,Object['assign']({},_0x38fa17,{'id':'loading-multi-icon','ref':_0x2bc168,'icon':_0x19f3b6}));});_0x3f38b2[_0x5bd50f(0x2e5)]=_0x5bd50f(0x2bc);function _0x512619(){const _0xc4ff33=_0x5bd50f;var _0x3744fa;const _0x2324fd=_0x5cd9fb[_0xc4ff33(0x23a)](_0x1732b6['HistoryManagerService']),_0x18524b=_0x5cd9fb[_0xc4ff33(0x23a)](_0x23f48b[_0xc4ff33(0x2fc)]),_0x525bce=_0x59d6ce[_0xc4ff33(0x267)](()=>{const _0x39d432=_0xc4ff33;_0x2324fd[_0x39d432(0x314)]=_0x4b2040['Exited'];},[_0x2324fd]),_0xf52fbe=_0x59d6ce['useCallback'](()=>{_0x2324fd['triggerRevert']();},[_0x2324fd]),_0x3b05dc=_0x5cd9fb[_0xc4ff33(0x32b)](_0x2324fd[_0xc4ff33(0x1f9)]),_0xa28bc3=_0x5cd9fb[_0xc4ff33(0x32b)](_0x2324fd['versions$']),_0x5bbc29=_0x3b05dc===((_0x3744fa=_0xa28bc3==null?void 0x0:_0xa28bc3[0x0])==null?void 0x0:_0x3744fa['id']),_0x31121b=_0x3b05dc!==''&&!_0x5bbc29&&_0x2324fd[_0xc4ff33(0x2b8)];return _0x3f464e[_0xc4ff33(0x1e7)](_0xc4ff33(0x2cd),{'className':_0x1a278c[_0xc4ff33(0x236)](_0xc4ff33(0x321),_0x1a278c[_0xc4ff33(0x231)]),'children':[_0x3f464e[_0xc4ff33(0x162)]('a',{'className':_0xc4ff33(0x2f0),'role':_0xc4ff33(0x170),'onClick':_0x525bce,'children':_0x3f464e[_0xc4ff33(0x162)](_0x59cd90,{'className':_0xc4ff33(0x1e4)})}),_0x3f464e['jsx'](_0xc4ff33(0x2cd),{'className':_0xc4ff33(0x1cd),'children':_0x31121b&&_0x3f464e[_0xc4ff33(0x162)](_0x1a278c[_0xc4ff33(0x272)],{'variant':_0xc4ff33(0x2f3),'onClick':_0xf52fbe,'children':_0x18524b['t']('editHistory.header.revert')})})]});}var _0x1c05c1=Object[_0x5bd50f(0x2b4)],_0x250b9e=(_0x5696e9,_0x47b66b,_0x344718,_0x449afc)=>{for(var _0x5f26a6=_0x449afc>0x1?void 0x0:_0x449afc?_0x1c05c1(_0x47b66b,_0x344718):_0x47b66b,_0xe1285d=_0x5696e9['length']-0x1,_0xe11666;_0xe1285d>=0x0;_0xe1285d--)(_0xe11666=_0x5696e9[_0xe1285d])&&(_0x5f26a6=_0xe11666(_0x5f26a6)||_0x5f26a6);return _0x5f26a6;},_0x3e8855=(_0x24ac5e,_0xec465)=>(_0xcd930c,_0x144262)=>_0xec465(_0xcd930c,_0x144262,_0x24ac5e);let _0x5ab5dc=class extends _0x23f48b[_0x5bd50f(0x228)]{constructor(_0x1da1c0,_0x52326c,_0x31f4cf,_0x1c3f6b,_0x1b1430,_0x1fe8db){const _0x3cd541=_0x5bd50f;super(),this[_0x3cd541(0x276)]=_0x1da1c0,this[_0x3cd541(0x149)]=_0x52326c,this[_0x3cd541(0x2d7)]=_0x31f4cf,this[_0x3cd541(0x354)]=_0x1c3f6b,this[_0x3cd541(0x269)]=_0x1b1430,this[_0x3cd541(0x356)]=_0x1fe8db,this[_0x3cd541(0x31d)]();}['_init'](){const _0xce8116=_0x5bd50f;this[_0xce8116(0x36b)](this[_0xce8116(0x269)][_0xce8116(0x1f9)][_0xce8116(0x225)](_0x5d394f=>{const _0x305bd7=_0xce8116;_0x5d394f&&this[_0x305bd7(0x269)]['triggerLoadSheet'](_0x5d394f);})),this[_0xce8116(0x36b)](this[_0xce8116(0x276)]['permissionPointUpdate$'][_0xce8116(0x225)](_0x37c8d=>{const _0x557cc5=_0xce8116,_0x2dcb97=this[_0x557cc5(0x269)][_0x557cc5(0x18f)];_0x2dcb97&&(_0x37c8d['subType']===_0x2fb02b[_0x557cc5(0x14b)]&&_0x37c8d['value']===!0x0&&this[_0x557cc5(0x276)]['updatePermissionPoint'](new _0x230238['WorkbookEditablePermission'](_0x2dcb97)['id'],!0x1),_0x37c8d[_0x557cc5(0x37c)]===_0x2fb02b[_0x557cc5(0x291)]&&_0x37c8d[_0x557cc5(0x2db)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x230238[(_0x557cc5(0x29b))](_0x2dcb97)['id'],!0x1),_0x37c8d[_0x557cc5(0x37c)]===_0x2fb02b[_0x557cc5(0x17a)]&&_0x37c8d[_0x557cc5(0x2db)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x230238[(_0x557cc5(0x355))](_0x2dcb97)['id'],!0x1),_0x37c8d[_0x557cc5(0x37c)]===_0x2fb02b[_0x557cc5(0x23d)]&&_0x37c8d[_0x557cc5(0x2db)]===!0x0&&this[_0x557cc5(0x276)][_0x557cc5(0x2c0)](new _0x230238[(_0x557cc5(0x26b))](_0x2dcb97)['id'],!0x1),_0x37c8d[_0x557cc5(0x37c)]===_0x2fb02b[_0x557cc5(0x24c)]&&_0x37c8d[_0x557cc5(0x2db)]===!0x0&&this[_0x557cc5(0x276)][_0x557cc5(0x2c0)](new _0x230238[(_0x557cc5(0x1c9))](_0x2dcb97)['id'],!0x1),_0x37c8d[_0x557cc5(0x37c)]===_0x2fb02b[_0x557cc5(0x326)]&&_0x37c8d['value']===!0x0&&this[_0x557cc5(0x276)][_0x557cc5(0x2c0)](new _0x230238[(_0x557cc5(0x1c9))](_0x2dcb97)['id'],!0x1));})),this['disposeWithMe'](this[_0xce8116(0x149)]['registerComponent'](_0x5cd9fb['BuiltInUIPart'][_0xce8116(0x2ff)],()=>_0x5cd9fb[_0xce8116(0x1fa)](_0x512619,this[_0xce8116(0x356)])));let _0x47c0ee;this[_0xce8116(0x36b)](this[_0xce8116(0x269)][_0xce8116(0x247)][_0xce8116(0x225)](_0x440df2=>{const _0x2a89dd=_0xce8116;_0x47c0ee==null||_0x47c0ee[_0x2a89dd(0x362)](),_0x440df2===_0x3591c7[_0x2a89dd(0x30d)]&&(this[_0x2a89dd(0x269)][_0x2a89dd(0x2a7)](),_0x47c0ee=this['_messageService'][_0x2a89dd(0x21e)]({'type':_0x1a278c[_0x2a89dd(0x26d)]['Info'],'content':this[_0x2a89dd(0x354)]['t'](_0x2a89dd(0x15d))})),_0x440df2===_0x3591c7[_0x2a89dd(0x2b7)]&&this[_0x2a89dd(0x269)]['hideMask']();}));}};_0x5ab5dc=_0x250b9e([_0x3e8855(0x0,_0x23f48b[_0x5bd50f(0x303)]),_0x3e8855(0x1,_0x5cd9fb[_0x5bd50f(0x336)]),_0x3e8855(0x2,_0x5cd9fb[_0x5bd50f(0x30e)]),_0x3e8855(0x3,_0x23f48b[_0x5bd50f(0x2cb)](_0x23f48b[_0x5bd50f(0x2fc)])),_0x3e8855(0x4,_0x23f48b[_0x5bd50f(0x2cb)](_0x1732b6[_0x5bd50f(0x2c1)])),_0x3e8855(0x5,_0x23f48b[_0x5bd50f(0x2cb)](_0x23f48b[_0x5bd50f(0x218)]))],_0x5ab5dc);var _0x3a3c0e=Object[_0x5bd50f(0x2b4)],_0x3f77f5=(_0x13c9b3,_0xa77ceb,_0x5518d7,_0x57d5cd)=>{for(var _0x5627d6=_0x57d5cd>0x1?void 0x0:_0x57d5cd?_0x3a3c0e(_0xa77ceb,_0x5518d7):_0xa77ceb,_0x477f09=_0x13c9b3['length']-0x1,_0x58de98;_0x477f09>=0x0;_0x477f09--)(_0x58de98=_0x13c9b3[_0x477f09])&&(_0x5627d6=_0x58de98(_0x5627d6)||_0x5627d6);return _0x5627d6;},_0x38a89c=(_0x32d874,_0x98cb6d)=>(_0x25bc6e,_0x3c1392)=>_0x98cb6d(_0x25bc6e,_0x3c1392,_0x32d874);let _0x36af55=class extends _0x23f48b['Disposable']{constructor(_0x5e4d99,_0x3c41ba,_0x3b70d3){const _0x2fa2dd=_0x5bd50f;super(),_0x195dad(this,'_diffRangesMap',new Map()),_0x195dad(this,_0x2fa2dd(0x360),new _0x41ab31[(_0x2fa2dd(0x18d))]({'ranges':new Map(),'active':null})),_0x195dad(this,'currentVersionDiff$',this[_0x2fa2dd(0x360)][_0x2fa2dd(0x2e3)]()),(this['_historyManagerService']=_0x5e4d99,this[_0x2fa2dd(0x203)]=_0x3c41ba,this[_0x2fa2dd(0x230)]=_0x3b70d3,this[_0x2fa2dd(0x31d)]());}[_0x5bd50f(0x31d)](){const _0x9da7d=_0x5bd50f;this[_0x9da7d(0x288)]=new Map(),this['disposeWithMe'](this[_0x9da7d(0x269)][_0x9da7d(0x28e)][_0x9da7d(0x225)](_0x3cb2ea=>{const _0x43619f=_0x9da7d;_0x3cb2ea&&!this[_0x43619f(0x288)][_0x43619f(0x2ae)](_0x3cb2ea)&&this[_0x43619f(0x288)][_0x43619f(0x1c4)](_0x3cb2ea,new Map());})),this[_0x9da7d(0x36b)](this[_0x9da7d(0x269)][_0x9da7d(0x1f9)][_0x9da7d(0x225)](async _0x3f101d=>{const _0xe2feba=_0x9da7d;var _0x67489f;_0x3f101d&&(await this[_0xe2feba(0x280)](_0x3f101d),this[_0xe2feba(0x360)][_0xe2feba(0x1c5)](((_0x67489f=this['_diffRangesMap']['get'](this[_0xe2feba(0x269)][_0xe2feba(0x18f)]))==null?void 0x0:_0x67489f['get'](_0x3f101d))||{'ranges':new Map(),'active':null}));}));}async['ensureVersion'](_0x32eaa6){const _0x46f445=_0x5bd50f;var _0x42136f,_0x4460ef;const _0x2f83d8=this[_0x46f445(0x269)][_0x46f445(0x1bd)](_0x32eaa6),_0x7e1b81=this['_historyManagerService'][_0x46f445(0x18f)];if(!_0x2f83d8||!_0x7e1b81)return;const _0x31820d=this[_0x46f445(0x288)]['get'](_0x7e1b81);if(_0x31820d||this['_diffRangesMap'][_0x46f445(0x1c4)](_0x7e1b81,new Map()),(_0x42136f=this[_0x46f445(0x288)][_0x46f445(0x160)](_0x7e1b81))!=null&&_0x42136f[_0x46f445(0x2ae)](_0x2f83d8['id']))return;const {startRev:_0x187853,endRev:_0x4028e5}=_0x2f83d8;if(_0x187853===0x1){_0x31820d['set'](_0x2f83d8['id'],{'ranges':new Map(),'active':null});return;}const _0x27da0e=_0x187853-0x1,_0x227d26=_0x4028e5,_0x7884b5=await this[_0x46f445(0x230)]['fetchMissingChangesets']({},{'unitID':_0x7e1b81,'from':_0x27da0e,'to':_0x227d26,'type':_0x57ffd9['UNIVER_SHEET']});if(((_0x4460ef=_0x7884b5['error'])==null?void 0x0:_0x4460ef[_0x46f445(0x30f)])===_0x20a854['OK']){const _0x466e4b=_0x7884b5[_0x46f445(0x375)]['map'](_0x164eec=>((_0x164eec[_0x46f445(0x32c)]===null||_0x164eec[_0x46f445(0x32c)]===void 0x0)&&(_0x164eec[_0x46f445(0x32c)]=[]),_0x1eaaa3[_0x46f445(0x1b1)](_0x164eec)))['map'](_0x30dc53=>_0x30dc53[_0x46f445(0x32c)][_0x46f445(0x325)](_0x192b3e=>({..._0x192b3e,'params':{..._0x192b3e['params'],'memberId':_0x30dc53['userID']}})))[_0x46f445(0x274)](),_0x170c15=await this[_0x46f445(0x264)](_0x466e4b),_0x32bfb5=this[_0x46f445(0x279)](_0x466e4b),_0x1e36f4=this['_extractRanges'](_0x170c15);_0x31820d['set'](_0x2f83d8['id'],{'ranges':_0x1e36f4,'active':_0x32bfb5});}}async[_0x5bd50f(0x264)](_0x504eca){const _0x29900d=_0x5bd50f;let _0x3f30a0=[];for(let _0x56a8d0=0x0;_0x56a8d0<_0x504eca[_0x29900d(0x1c2)];_0x56a8d0++){const _0x197a7=_0x504eca[_0x56a8d0];if(_0x3f30a0[_0x29900d(0x1d2)](_0x197a7),_0x56a8d0!==_0x504eca[_0x29900d(0x1c2)]-0x1){const _0x53a8d9=_0x504eca[_0x56a8d0+0x1],_0x5cb378=this[_0x29900d(0x203)][_0x29900d(0x29d)](_0x3f30a0,[_0x53a8d9]);_0x1eaaa3[_0x29900d(0x186)](_0x5cb378)?_0x3f30a0=_0x5cb378[_0x29900d(0x1e9)]:_0x3f30a0=[];}_0x56a8d0%0xa===0x0&&_0x56a8d0>0x0&&await this['_yieldToMain']();}return _0x3f30a0;}[_0x5bd50f(0x221)](){return new Promise(_0x47ba2b=>{const _0x39fb57=_0x3ffd;typeof requestIdleCallback==_0x39fb57(0x32f)?requestIdleCallback(()=>_0x47ba2b(),{'timeout':0x64}):setTimeout(_0x47ba2b,0x0);});}['_getActiveSubUnitId'](_0x261ce1){const _0x3a9ffc=_0x5bd50f;let _0x3b7dcb=[];return _0x261ce1[_0x3a9ffc(0x37d)](_0x21de21=>{const _0xe8c52=_0x3a9ffc;if(_0x21de21['id']===_0x230238['InsertSheetMutation']['id']){const _0x34f0eb=_0x21de21[_0xe8c52(0x328)];_0x3b7dcb[_0xe8c52(0x1d2)](_0x34f0eb[_0xe8c52(0x24b)]['id']);}else{if(_0x21de21['id']===_0x230238[_0xe8c52(0x22d)]['id']){const _0x1db02b=_0x21de21[_0xe8c52(0x328)];_0x3b7dcb[_0xe8c52(0x1c2)]>0x0&&(_0x3b7dcb=_0x3b7dcb[_0xe8c52(0x26e)](_0x430bcb=>_0x430bcb!==_0x1db02b[_0xe8c52(0x1ab)]));}else{if(_0x21de21['id']===_0x230238[_0xe8c52(0x38a)]['id']){const _0x24d6ea=_0x21de21[_0xe8c52(0x328)];_0x24d6ea[_0xe8c52(0x198)]?_0x3b7dcb=_0x3b7dcb[_0xe8c52(0x26e)](_0x32fb43=>_0x32fb43!==_0x24d6ea[_0xe8c52(0x1ab)]):_0x3b7dcb['push'](_0x24d6ea[_0xe8c52(0x1ab)]);}else{const _0x3b58af=_0x21de21[_0xe8c52(0x328)];_0x3b58af[_0xe8c52(0x1ab)]&&_0x3b7dcb[_0xe8c52(0x1d2)](_0x3b58af['subUnitId']);}}}}),_0x3b7dcb[_0x3a9ffc(0x1c2)]>0x0?_0x3b7dcb[_0x3b7dcb['length']-0x1]:null;}['_extractRanges'](_0x28c80c){const _0x12aafb=_0x5bd50f,_0x11f074=new Map();return _0x28c80c[_0x12aafb(0x37d)](_0x38251d=>{const _0x56086e=_0x12aafb;var _0x47738d,_0x27c36b;const _0x54b8e9=(_0x47738d=_0x38251d[_0x56086e(0x328)])==null?void 0x0:_0x47738d[_0x56086e(0x32e)];if(_0x54b8e9){_0x11f074[_0x56086e(0x2ae)](_0x54b8e9)||_0x11f074[_0x56086e(0x1c4)](_0x54b8e9,[]);const _0x49d8a2=this['_getRangesByMutation'](_0x38251d);(_0x27c36b=_0x11f074[_0x56086e(0x160)](_0x54b8e9))==null||_0x27c36b['push'](..._0x49d8a2);}}),_0x11f074['forEach']((_0x5bae70,_0x94cb5c)=>{_0x11f074['set'](_0x94cb5c,this['_combineRanges'](_0x5bae70));}),_0x11f074;}[_0x5bd50f(0x2d3)](_0x392636){const _0x1a95c3=_0x5bd50f;switch(_0x392636['id']){case _0x230238[_0x1a95c3(0x21f)]['id']:{const _0x475ed7=_0x392636['params'];return _0x475ed7[_0x1a95c3(0x2f5)][_0x1a95c3(0x325)](_0x21ebfb=>_0x21ebfb[_0x1a95c3(0x278)]['map'](_0x5e1b76=>({'range':_0x5e1b76,'unitId':_0x475ed7[_0x1a95c3(0x18f)],'subUnitId':_0x475ed7[_0x1a95c3(0x1ab)]})))[_0x1a95c3(0x274)]();}case _0x230238[_0x1a95c3(0x18a)]['id']:{const _0x2bf4b4=_0x392636[_0x1a95c3(0x328)];return _0x2bf4b4[_0x1a95c3(0x278)][_0x1a95c3(0x325)](_0x12fa0f=>({'range':_0x12fa0f,'unitId':_0x2bf4b4['unitId'],'subUnitId':_0x2bf4b4[_0x1a95c3(0x1ab)]}));}case _0x230238[_0x1a95c3(0x19f)]['id']:{const _0x4fb1f0=_0x392636[_0x1a95c3(0x328)];return[{'range':_0x4fb1f0[_0x1a95c3(0x1bb)],'unitId':_0x4fb1f0[_0x1a95c3(0x18f)],'subUnitId':_0x4fb1f0[_0x1a95c3(0x1ab)]}];}case _0x230238[_0x1a95c3(0x26f)]['id']:{const _0x3bc314=_0x392636[_0x1a95c3(0x328)];return[{'range':_0x3bc314[_0x1a95c3(0x1bb)],'unitId':_0x3bc314[_0x1a95c3(0x18f)],'subUnitId':_0x3bc314[_0x1a95c3(0x1ab)]}];}case _0x230238[_0x1a95c3(0x35b)]['id']:{const _0x47111a=_0x392636[_0x1a95c3(0x328)],{from:_0x4cd517,to:_0x20a768,unitId:_0x464bcb}=_0x47111a;return[{'range':_0x58d106(_0x4cd517[_0x1a95c3(0x2db)]),'unitId':_0x464bcb,'subUnitId':_0x4cd517[_0x1a95c3(0x1ab)]},{'range':_0x58d106(_0x20a768[_0x1a95c3(0x2db)]),'unitId':_0x464bcb,'subUnitId':_0x20a768[_0x1a95c3(0x1ab)]}];}case _0x230238['MoveRowsMutation']['id']:{const _0x543095=_0x392636[_0x1a95c3(0x328)],{unitId:_0x3e2fb3,subUnitId:_0x38be0e,sourceRange:_0x22c0f8,targetRange:_0x381b58}=_0x543095,_0x3da157=_0x22c0f8[_0x1a95c3(0x2c5)]-_0x22c0f8[_0x1a95c3(0x2e4)]+0x1;return[{'range':_0x381b58[_0x1a95c3(0x2e4)]<=_0x22c0f8[_0x1a95c3(0x2e4)]?_0x381b58:{..._0x381b58,'startRow':_0x381b58[_0x1a95c3(0x2e4)]-_0x3da157,'endRow':_0x381b58[_0x1a95c3(0x2c5)]-_0x3da157},'unitId':_0x3e2fb3,'subUnitId':_0x38be0e}];}case _0x230238[_0x1a95c3(0x22b)]['id']:{const _0x54b9a5=_0x392636[_0x1a95c3(0x328)],{unitId:_0x100af4,subUnitId:_0x1da329,sourceRange:_0x51ccc5,targetRange:_0x28d08e}=_0x54b9a5,_0x4bc2e4=_0x51ccc5['endColumn']-_0x51ccc5[_0x1a95c3(0x254)]+0x1;return[{'range':_0x28d08e[_0x1a95c3(0x254)]<=_0x51ccc5[_0x1a95c3(0x254)]?_0x28d08e:{..._0x28d08e,'startColumn':_0x28d08e[_0x1a95c3(0x254)]-_0x4bc2e4,'endColumn':_0x28d08e[_0x1a95c3(0x229)]-_0x4bc2e4},'unitId':_0x100af4,'subUnitId':_0x1da329}];}case _0x230238[_0x1a95c3(0x348)]['id']:{const _0x3d9c81=_0x392636[_0x1a95c3(0x328)],{values:_0xb16004,unitId:_0xce8100,subUnitId:_0x2b532d}=_0x3d9c81;return Object['values'](_0xb16004)[_0x1a95c3(0x325)](_0x345519=>_0x345519[_0x1a95c3(0x278)][_0x1a95c3(0x325)](_0x58daff=>({'range':_0x58daff,'unitId':_0xce8100,'subUnitId':_0x2b532d})))[_0x1a95c3(0x274)]();}case _0x230238[_0x1a95c3(0x257)]['id']:{const _0x499936=_0x392636[_0x1a95c3(0x328)],{ranges:_0x42e8e9,unitId:_0x1becf5,subUnitId:_0x13d475}=_0x499936;return _0x42e8e9[_0x1a95c3(0x325)](_0x44ef02=>({'range':_0x44ef02,'unitId':_0x1becf5,'subUnitId':_0x13d475}));}case _0x230238[_0x1a95c3(0x212)]['id']:{const _0x265379=_0x392636[_0x1a95c3(0x328)],{unitId:_0x25adf2,subUnitId:_0x874170,range:_0x5b09b0}=_0x265379;return[{'range':_0x5b09b0,'unitId':_0x25adf2,'subUnitId':_0x874170}];}case _0x230238[_0x1a95c3(0x1ef)]['id']:{const _0x3a03e5=_0x392636[_0x1a95c3(0x328)];return _0x3a03e5['rule'][_0x1a95c3(0x278)][_0x1a95c3(0x325)](_0x31ca8f=>({'range':_0x31ca8f,'unitId':_0x3a03e5[_0x1a95c3(0x18f)],'subUnitId':_0x3a03e5[_0x1a95c3(0x1ab)]}));}case _0x230238[_0x1a95c3(0x323)]['id']:{const _0x2d90fb=_0x392636['params'];return _0x2d90fb['cellValue']?_0x1b51e7(_0x2d90fb['cellValue'])[_0x1a95c3(0x325)](_0x135de8=>({'range':_0x135de8,'unitId':_0x2d90fb[_0x1a95c3(0x18f)],'subUnitId':_0x2d90fb['subUnitId']})):[];}case _0x2d5a72[_0x1a95c3(0x1f1)]['id']:{const _0x231ef8=_0x392636[_0x1a95c3(0x328)];return[{'range':_0x231ef8[_0x1a95c3(0x1bb)],'unitId':_0x231ef8[_0x1a95c3(0x18f)],'subUnitId':_0x231ef8[_0x1a95c3(0x1ab)]}];}case _0x2a03da[_0x1a95c3(0x28b)]['id']:{const _0x51a867=_0x392636[_0x1a95c3(0x328)];return(Array[_0x1a95c3(0x2bf)](_0x51a867[_0x1a95c3(0x25a)])?_0x51a867[_0x1a95c3(0x25a)]:[_0x51a867[_0x1a95c3(0x25a)]])[_0x1a95c3(0x325)](_0x3a1072=>_0x3a1072[_0x1a95c3(0x278)][_0x1a95c3(0x325)](_0x2afe98=>({'range':_0x2afe98,'unitId':_0x51a867[_0x1a95c3(0x18f)],'subUnitId':_0x51a867[_0x1a95c3(0x1ab)]})))['flat']();}case _0x1a032a[_0x1a95c3(0x388)]['id']:{const _0xf4434e=_0x392636[_0x1a95c3(0x328)];return _0xf4434e[_0x1a95c3(0x25a)][_0x1a95c3(0x278)][_0x1a95c3(0x325)](_0x4441c0=>({'range':_0x4441c0,'unitId':_0xf4434e[_0x1a95c3(0x18f)],'subUnitId':_0xf4434e[_0x1a95c3(0x1ab)]}));}default:return[];}}[_0x5bd50f(0x2b1)](_0xb37a86){const _0x2e0d06=_0x5bd50f;if(_0xb37a86[_0x2e0d06(0x1c2)]<=0x1)return _0xb37a86;const _0x3b5bc4=new Map();return _0xb37a86[_0x2e0d06(0x37d)](_0x32407c=>{const _0x4fb78e=_0x2e0d06;var _0x3738a5;const {unitId:_0x2a94dd,subUnitId:_0x1f409d}=_0x32407c,_0x5512d9=_0x2a94dd+'-'+_0x1f409d;_0x3b5bc4[_0x4fb78e(0x2ae)](_0x5512d9)?(_0x3738a5=_0x3b5bc4[_0x4fb78e(0x160)](_0x5512d9))==null||_0x3738a5[_0x4fb78e(0x1d2)](_0x32407c):_0x3b5bc4[_0x4fb78e(0x1c4)](_0x5512d9,[_0x32407c]);}),Array[_0x2e0d06(0x1fc)](_0x3b5bc4['values']())[_0x2e0d06(0x325)](_0x1e17bd=>new _0x230238[(_0x2e0d06(0x2e8))]()['add'](..._0x1e17bd['map'](_0x309507=>_0x309507['range']))[_0x2e0d06(0x2e6)]()[_0x2e0d06(0x325)](_0x5c46fd=>({'range':_0x5c46fd,'unitId':_0x1e17bd[0x0][_0x2e0d06(0x18f)],'subUnitId':_0x1e17bd[0x0]['subUnitId']})))[_0x2e0d06(0x274)]();}};_0x36af55=_0x3f77f5([_0x38a89c(0x0,_0x23f48b['Inject'](_0x1732b6[_0x5bd50f(0x2c1)])),_0x38a89c(0x1,_0x1eaaa3[_0x5bd50f(0x1ba)]),_0x38a89c(0x2,_0x1eaaa3[_0x5bd50f(0x2f1)])],_0x36af55);function _0x58d106(_0x225bbc){const _0x3143c5=_0x5bd50f;return new _0x23f48b[(_0x3143c5(0x296))](_0x225bbc)[_0x3143c5(0x211)]();}function _0x1b51e7(_0x38613d){const _0x304315=_0x5bd50f,_0x46de41=new _0x23f48b[(_0x304315(0x296))](_0x38613d),_0x5873c5=new _0x23f48b[(_0x304315(0x296))]();return _0x46de41[_0x304315(0x1ad)]((_0xb8cd34,_0x4444be)=>{const _0x387f14=_0x304315;_0x5873c5[_0x387f14(0x367)](_0xb8cd34,_0x4444be,0x1);}),_0x230238['findAllRectangle'](_0x5873c5);}var _0x313fc6=Object[_0x5bd50f(0x2b4)],_0x23b212=(_0x3d5069,_0x3ecbed,_0x44dd3a,_0x3f5fcf)=>{const _0x510cd1=_0x5bd50f;for(var _0x24497f=_0x3f5fcf>0x1?void 0x0:_0x3f5fcf?_0x313fc6(_0x3ecbed,_0x44dd3a):_0x3ecbed,_0x39807c=_0x3d5069[_0x510cd1(0x1c2)]-0x1,_0x172288;_0x39807c>=0x0;_0x39807c--)(_0x172288=_0x3d5069[_0x39807c])&&(_0x24497f=_0x172288(_0x24497f)||_0x24497f);return _0x24497f;},_0x9c0ed8=(_0x5f306f,_0x523730)=>(_0xdf1397,_0x2a301d)=>_0x523730(_0xdf1397,_0x2a301d,_0x5f306f);let _0x2e5e26=class extends _0x23f48b[_0x5bd50f(0x228)]{constructor(_0x415ce0,_0x428ca0,_0x10cabe,_0x2401a2,_0x3bea2f,_0x2c763b,_0x3d6ce2){const _0xe9e46e=_0x5bd50f;super(),_0x195dad(this,_0xe9e46e(0x24d),new Set()),_0x195dad(this,_0xe9e46e(0x167),null),(this[_0xe9e46e(0x306)]=_0x415ce0,this[_0xe9e46e(0x269)]=_0x428ca0,this[_0xe9e46e(0x373)]=_0x10cabe,this['_univerInstanceService']=_0x2401a2,this['_renderManagerService']=_0x3bea2f,this[_0xe9e46e(0x37a)]=_0x2c763b,this['_commandService']=_0x3d6ce2,this[_0xe9e46e(0x31d)]());}[_0x5bd50f(0x31d)](){const _0x31d6d9=_0x5bd50f;this[_0x31d6d9(0x1ff)](),this[_0x31d6d9(0x208)]();}[_0x5bd50f(0x1ff)](){const _0x11bf7c=_0x5bd50f;this['disposeWithMe'](_0x41ab31[_0x11bf7c(0x1f2)]([this[_0x11bf7c(0x269)][_0x11bf7c(0x247)],this[_0x11bf7c(0x37a)][_0x11bf7c(0x193)]])['pipe'](_0x41ab31[_0x11bf7c(0x2e7)](([_0x128aeb,_0x370938])=>{const _0x25d0ae=_0x11bf7c;if(_0x128aeb===_0x3591c7[_0x25d0ae(0x2b7)]&&_0x370938){const _0x27afe7=_0x370938[_0x25d0ae(0x1b4)];return this[_0x25d0ae(0x373)][_0x25d0ae(0x2c8)]['pipe'](_0x41ab31['map'](_0x4e21b5=>{const _0x4cddc5=_0x25d0ae,_0x397289=new Map();return _0x4e21b5[_0x4cddc5(0x278)][_0x4cddc5(0x37d)]((_0x2a7c47,_0x1def7d)=>{const _0xb45cea=_0x4cddc5,_0x3127db=_0x2a7c47['filter'](_0x23cb4f=>_0x23cb4f[_0xb45cea(0x1ab)]===_0x27afe7);_0x397289['set'](_0x1def7d,_0x3127db);}),{'skeleton':_0x370938,'diffs':_0x397289};}));}return _0x41ab31['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x5ae13d,diffs:_0x415f29})=>{const _0x362906=_0x11bf7c;this[_0x362906(0x232)](),_0x5ae13d&&this[_0x362906(0x30c)](_0x5ae13d,_0x415f29);})),this[_0x11bf7c(0x36b)](this[_0x11bf7c(0x37a)][_0x11bf7c(0x193)][_0x11bf7c(0x225)](_0x15950f=>{const _0x17402a=_0x11bf7c;if(_0x15950f==null)return;const {skeleton:_0x4181fb}=_0x15950f,{scene:_0x58a057}=this[_0x17402a(0x306)];_0x58a057[_0x17402a(0x260)]['subscribeEvent'](_0x23f48b[_0x17402a(0x374)](_0x26d138=>{const _0x491b06=_0x17402a;var _0x522058,_0x4b5e54;const {offsetX:_0x152191,offsetY:_0x3b0e12}=_0x26d138,{x:_0x244627,y:_0xa9ab0e}=_0x58a057['getRelativeToViewportCoord'](_0x3e56d5['Vector2'][_0x491b06(0x335)]([_0x152191,_0x3b0e12])),{scaleX:_0x48ee34,scaleY:_0x5a9c65}=_0x58a057[_0x491b06(0x24f)](),_0x590467=_0x58a057[_0x491b06(0x189)](_0x3e56d5[_0x491b06(0x21b)]['VIEW_MAIN']),_0x2eb995=_0x58a057[_0x491b06(0x330)](_0x3e56d5[_0x491b06(0x2bd)][_0x491b06(0x335)]([_0x244627,_0xa9ab0e]),_0x590467),_0x44abc4=_0x4181fb[_0x491b06(0x2dc)](_0x152191,_0x3b0e12,_0x48ee34,_0x5a9c65,_0x2eb995);((_0x522058=this[_0x491b06(0x167)])==null?void 0x0:_0x522058[_0x491b06(0x1e6)])===_0x44abc4[_0x491b06(0x1e6)]&&((_0x4b5e54=this[_0x491b06(0x167)])==null?void 0x0:_0x4b5e54[_0x491b06(0x266)])===_0x44abc4[_0x491b06(0x266)]||this[_0x491b06(0x24d)][_0x491b06(0x37d)](_0x37de60=>{const _0x6308d0=_0x491b06;_0x37de60[_0x6308d0(0x2dd)](_0x44abc4);});},0x64));}));}[_0x5bd50f(0x208)](){this['disposeWithMe'](this['_historyManagerService']['loadingState$']['subscribe'](_0x4e0a03=>{const _0x561e0b=_0x3ffd,_0x49d33e=new _0x23f48b['DisposableCollection']();return _0x4e0a03===_0x3591c7[_0x561e0b(0x2b7)]&&(_0x49d33e[_0x561e0b(0x362)](),_0x49d33e['add'](this[_0x561e0b(0x373)][_0x561e0b(0x2c8)][_0x561e0b(0x225)](_0xc4eba4=>{const _0x51efbf=_0x561e0b;_0xc4eba4[_0x51efbf(0x210)]&&this[_0x51efbf(0x21c)][_0x51efbf(0x163)](_0x230238[_0x51efbf(0x173)]['id'],{'unitId':this[_0x51efbf(0x306)]['unitId'],'subUnitId':_0xc4eba4[_0x51efbf(0x210)]});}))),()=>_0x49d33e['dispose']();}));}[_0x5bd50f(0x30c)](_0x20949d,_0x35bba4){const _0xe3a804=_0x5bd50f;var _0x3e8b1e;const _0x2bfa1c=(_0x3e8b1e=this['_sheetSkeletonManagerService'][_0xe3a804(0x2d8)]())==null?void 0x0:_0x3e8b1e[_0xe3a804(0x14c)];if(!_0x2bfa1c)return;this['_diffs'][_0xe3a804(0x37d)](_0x2cd44b=>{const _0x45efe4=_0xe3a804;_0x2cd44b[_0x45efe4(0x2f7)]();});const {scene:_0x164cb9}=this[_0xe3a804(0x306)],_0xa983f6=Array['from'](_0x35bba4[_0xe3a804(0x369)]())['map'](_0x1b7616=>_0x35bba4['get'](_0x1b7616)[_0xe3a804(0x325)](_0x35c11a=>{const _0x32f4d4=_0xe3a804;var _0xba4608;const {range:_0x5aa083,subUnitId:_0x735fca,unitId:_0x1865c}=_0x35c11a,{startColumn:_0x2bc820,startRow:_0x45f087,endColumn:_0x443984,endRow:_0x57f430}=_0x5aa083,_0x1fcce0=_0x5cca63[_0x32f4d4(0x1b3)](_0x45f087,_0x2bc820,_0x164cb9,_0x2bfa1c),_0x1d1718=_0x5cca63['getCoordByCell'](_0x57f430,_0x443984,_0x164cb9,_0x2bfa1c),{columnHeaderHeightAndMarginTop:_0x558585}=_0x2bfa1c,{startX:_0x34cfb4,startY:_0x55e954}=_0x1fcce0,{endX:_0x9c06ab,endY:_0x4e95dd}=_0x1d1718,_0x2ba5c0=_0x9c06ab-_0x34cfb4,_0x15bbdf=_0x4e95dd-_0x55e954,_0x4eb772={'labelPosition':_0x55e954-_0x558585>=0x14?_0x32f4d4(0x1ee):_0x32f4d4(0x1cc),'sheetID':_0x735fca,'range':_0x5aa083,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x32f4d4(0x2fb),'name':((_0xba4608=this[_0x32f4d4(0x269)][_0x32f4d4(0x38c)](_0x1b7616))==null?void 0x0:_0xba4608['name'])||'','selection':_0x1865c+'-'+_0x735fca+'-'+_0x5aa083[_0x32f4d4(0x254)]+'-'+_0x5aa083['startRow']+'-'+_0x5aa083['endColumn']+'-'+_0x5aa083[_0x32f4d4(0x2c5)],'left':_0x34cfb4,'top':_0x55e954,'width':_0x2ba5c0,'height':_0x15bbdf,'evented':!0x1,'zIndex':0x1};return new _0x91539e[(_0x32f4d4(0x1d7))]('',_0x4eb772);}))[_0xe3a804(0x274)]();_0x164cb9['addObjects'](_0xa983f6,0x1),this[_0xe3a804(0x24d)]=new Set(_0xa983f6);}[_0x5bd50f(0x232)](){const _0x4dc796=_0x5bd50f;var _0x5d386b;(_0x5d386b=this[_0x4dc796(0x24d)])==null||_0x5d386b['forEach'](_0x2d7923=>_0x2d7923[_0x4dc796(0x362)]());}[_0x5bd50f(0x33d)](){const _0x51634b=_0x5bd50f;return _0x5cca63[_0x51634b(0x1d3)](this[_0x51634b(0x156)],this[_0x51634b(0x297)]);}};_0x2e5e26=_0x23b212([_0x9c0ed8(0x1,_0x23f48b[_0x5bd50f(0x2cb)](_0x1732b6['HistoryManagerService'])),_0x9c0ed8(0x2,_0x23f48b[_0x5bd50f(0x2cb)](_0x36af55)),_0x9c0ed8(0x3,_0x23f48b[_0x5bd50f(0x1de)]),_0x9c0ed8(0x4,_0x3e56d5[_0x5bd50f(0x1be)]),_0x9c0ed8(0x5,_0x23f48b[_0x5bd50f(0x2cb)](_0x5cca63[_0x5bd50f(0x2da)])),_0x9c0ed8(0x6,_0x23f48b[_0x5bd50f(0x383)])],_0x2e5e26);function _0x324e2a(){const _0x5ac96e=_0x5bd50f,_0x5c814c=_0x5cd9fb['useDependency'](_0x1732b6[_0x5ac96e(0x2c1)]),_0x12fe8f=_0x5cd9fb[_0x5ac96e(0x32b)](_0x5c814c['versions$']),[_0xf24bf1,_0x4bf294]=_0x59d6ce['useState'](!0x1),_0x548936=_0x4d5b46(_0x12fe8f);return _0x12fe8f?_0x3f464e[_0x5ac96e(0x162)](_0x5ac96e(0x2cd),{'className':_0x5ac96e(0x1ca),'children':_0x3f464e[_0x5ac96e(0x1e7)](_0x5ac96e(0x2cd),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x548936[_0x5ac96e(0x325)]((_0x5e1342,_0x5299b6)=>_0x3f464e[_0x5ac96e(0x1e7)](_0x59d6ce[_0x5ac96e(0x188)],{'children':[_0x3f464e[_0x5ac96e(0x162)](_0x4bc495,{'date':_0x5e1342[_0x5ac96e(0x2d1)]}),_0x5e1342[_0x5ac96e(0x2bb)][_0x5ac96e(0x325)]((_0x309a0e,_0x237be4)=>_0x3f464e[_0x5ac96e(0x162)](_0x2713cb,{'index':[_0x5299b6,_0x237be4],'item':_0x309a0e},_0x5299b6+'-'+_0x237be4))]},_0x5e1342[_0x5ac96e(0x2d1)])),_0xf24bf1&&_0x3f464e[_0x5ac96e(0x162)](_0x1d74fb,{})]})}):_0x3f464e[_0x5ac96e(0x162)](_0x6cd5ae,{});}function _0x1d74fb(){const _0x683cb9=_0x5bd50f;return _0x3f464e['jsx'](_0x683cb9(0x2cd),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','children':_0x3f464e[_0x683cb9(0x162)](_0x3f38b2,{'className':_0x683cb9(0x29c)})});}function _0x6cd5ae(){const _0x113d07=_0x5bd50f;return _0x3f464e['jsx'](_0x113d07(0x2cd),{'className':_0x113d07(0x1d6),'children':_0x3f464e['jsx']('span',{'className':_0x113d07(0x1a8),'children':_0x3f464e['jsx'](_0x3f38b2,{'className':_0x113d07(0x1d1)})})});}function _0x4bc495(_0x1aa2d1){const _0x56a0ed=_0x5bd50f,_0x2fc55e=_0x5cd9fb[_0x56a0ed(0x23a)](_0x23f48b[_0x56a0ed(0x2fc)]),{date:_0x3a4f3c}=_0x1aa2d1;return _0x3f464e[_0x56a0ed(0x162)](_0x56a0ed(0x2cd),{'className':_0x56a0ed(0x1b8),'children':_0x1f0827(_0x3a4f3c,_0x2fc55e[_0x56a0ed(0x146)]())});}function _0x2713cb(_0xb291dc){const _0x2c4d94=_0x5bd50f,{item:_0x1e9338,index:_0x259929}=_0xb291dc,{time:_0xfb3633,user:_0x499204}=_0x1e9338,[_0x10b93d,_0x1243b5]=_0x259929,_0x2838d3=_0x5cd9fb[_0x2c4d94(0x23a)](_0x1732b6['HistoryManagerService']),_0x5e85e4=_0x5cd9fb[_0x2c4d94(0x32b)](_0x2838d3['currentVersion$'],'',!0x0)===_0x1e9338['id'],_0x301464=_0x10b93d===0x0&&_0x1243b5===0x0,_0x503800=!_0x301464&&_0x2838d3[_0x2c4d94(0x2b8)],_0x3a3b7b=_0x5cd9fb['useDependency'](_0x23f48b[_0x2c4d94(0x2fc)]),_0x597f6d=_0x3a3b7b[_0x2c4d94(0x146)](),_0x3c6756=_0x4c4d85(_0xfb3633,_0x597f6d),_0x227120=_0x3a3b7b['t'](_0x2c4d94(0x30b)),_0x10bd97=_0x59d6ce[_0x2c4d94(0x267)](_0x5bee53=>{const _0x43530b=_0x2c4d94;_0x2838d3[_0x43530b(0x245)]!==_0x3591c7[_0x43530b(0x30d)]&&(_0x2838d3[_0x43530b(0x154)]=_0x5bee53);},[_0x2838d3]),_0x504d9f=_0x59d6ce[_0x2c4d94(0x267)](_0x43ecda=>{const _0x521d58=_0x2c4d94;_0x2838d3[_0x521d58(0x2ec)](_0x43ecda);},[_0x2838d3]);return _0x3f464e[_0x2c4d94(0x1e7)](_0x2c4d94(0x2cd),{'className':_0x1a278c['clsx']('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':_0x5e85e4}),'onClick':()=>_0x10bd97(_0x1e9338['id']),'children':[_0x3f464e['jsxs']('div',{'className':_0x2c4d94(0x384),'children':[_0x3f464e[_0x2c4d94(0x1e7)]('div',{'className':_0x2c4d94(0x180),'children':[_0x3f464e[_0x2c4d94(0x162)](_0x2c4d94(0x204),{'children':_0x3c6756[_0x2c4d94(0x14f)]}),_0x301464&&_0x3f464e['jsx'](_0x2c4d94(0x204),{'className':_0x2c4d94(0x1ec),'children':_0x227120})]}),_0x3f464e[_0x2c4d94(0x162)](_0x2c4d94(0x2cd),{'children':_0x503800&&_0x3f464e[_0x2c4d94(0x162)](_0x1a278c[_0x2c4d94(0x1a6)],{'title':_0x3a3b7b['t']('editHistory.panel.revertDesc'),'children':_0x3f464e['jsx'](_0x2c4d94(0x2cd),{'onClick':_0x5923f7=>{_0x5923f7['stopPropagation'](),_0x504d9f(_0x1e9338['id']);},'className':_0x2c4d94(0x343),'children':_0x3f464e[_0x2c4d94(0x162)](_0x3478c1,{})})})})]}),_0x3f464e[_0x2c4d94(0x162)](_0x2c4d94(0x2cd),{'className':_0x2c4d94(0x29f),'children':_0x441046(_0x1e9338,_0x3a3b7b)})]});}var _0x5ae2e1=Object['getOwnPropertyDescriptor'],_0x58aa76=(_0x21e917,_0x2cf9ef,_0x24a1e9,_0x579d2a)=>{const _0x396897=_0x5bd50f;for(var _0x26eef2=_0x579d2a>0x1?void 0x0:_0x579d2a?_0x5ae2e1(_0x2cf9ef,_0x24a1e9):_0x2cf9ef,_0x22b5b9=_0x21e917[_0x396897(0x1c2)]-0x1,_0x2abd98;_0x22b5b9>=0x0;_0x22b5b9--)(_0x2abd98=_0x21e917[_0x22b5b9])&&(_0x26eef2=_0x2abd98(_0x26eef2)||_0x26eef2);return _0x26eef2;},_0x52481f=(_0x47f6a4,_0x112830)=>(_0x466cae,_0x352b0d)=>_0x112830(_0x466cae,_0x352b0d,_0x47f6a4);const _0x16e8c6=_0x5bd50f(0x1e8);let _0xb46adf=class extends _0x23f48b[_0x5bd50f(0x228)]{constructor(_0xecad8f,_0x509d8d,_0x9a5364,_0xdaf68a,_0x1970e5){const _0x791e2c=_0x5bd50f;super(),_0x195dad(this,_0x791e2c(0x2ee),null),(this[_0x791e2c(0x1a2)]=_0xecad8f,this[_0x791e2c(0x224)]=_0x509d8d,this[_0x791e2c(0x354)]=_0x9a5364,this[_0x791e2c(0x269)]=_0xdaf68a,this['_configService']=_0x1970e5,this['_init']());}[_0x5bd50f(0x31d)](){const _0x46c704=_0x5bd50f;this[_0x46c704(0x377)](),this[_0x46c704(0x312)]();}[_0x5bd50f(0x312)](){const _0x16a068=_0x5bd50f;var _0x5f40e0;if(this['_sidebarDisposable'])return;const _0x59e560=((_0x5f40e0=this[_0x16a068(0x265)][_0x16a068(0x349)](_0x236128))==null?void 0x0:_0x5f40e0[_0x16a068(0x33f)])||_0x16e8c6,_0x289262={'header':{'title':this[_0x16a068(0x354)]['t'](_0x16a068(0x234))},'children':{'label':_0x59e560},'onClose':()=>{const _0x4fb169=_0x16a068;this[_0x4fb169(0x2ee)]=null,this[_0x4fb169(0x269)][_0x4fb169(0x314)]=_0x4b2040[_0x4fb169(0x14a)];}};this[_0x16a068(0x2ee)]=this[_0x16a068(0x1a2)]['open']({..._0x289262});}[_0x5bd50f(0x377)](){const _0x189c82=_0x5bd50f;this[_0x189c82(0x36b)](this[_0x189c82(0x224)][_0x189c82(0x2a5)](_0x16e8c6,_0x324e2a)),this[_0x189c82(0x36b)](this['_sidebarService']['scrollEvent$'][_0x189c82(0x202)](_0x41ab31[_0x189c82(0x33b)](0x64))[_0x189c82(0x225)](_0x283874=>{const _0x347eb2=_0x189c82,{target:_0x3094e0}=_0x283874||{};if(_0x3094e0){const {scrollTop:_0x5b0bb2,scrollHeight:_0xa3e632,clientHeight:_0xec7579}=_0x3094e0;_0x5b0bb2+_0xec7579>=_0xa3e632-0x5&&this['_historyManagerService'][_0x347eb2(0x19a)]();}}));}};_0xb46adf=_0x58aa76([_0x52481f(0x0,_0x5cd9fb[_0x5bd50f(0x22f)]),_0x52481f(0x1,_0x23f48b[_0x5bd50f(0x2cb)](_0x5cd9fb[_0x5bd50f(0x2f2)])),_0x52481f(0x2,_0x23f48b[_0x5bd50f(0x2cb)](_0x23f48b['LocaleService'])),_0x52481f(0x3,_0x23f48b[_0x5bd50f(0x2cb)](_0x1732b6[_0x5bd50f(0x2c1)])),_0x52481f(0x4,_0x23f48b[_0x5bd50f(0x2a9)])],_0xb46adf);class _0x3a7aad extends _0x23f48b[_0x5bd50f(0x228)]{constructor(){const _0x3b1b23=_0x5bd50f;super(),_0x195dad(this,'_dialogOptions$',new _0x41ab31[(_0x3b1b23(0x2a8))]());}[_0x5bd50f(0x38e)](){return _0x23f48b['toDisposable'](()=>{});}[_0x5bd50f(0x1e3)](){}[_0x5bd50f(0x359)](_0xabfed7){}[_0x5bd50f(0x2b3)](){const _0x111ede=_0x5bd50f;return this[_0x111ede(0x182)][_0x111ede(0x2e3)]();}}var _0x31936b=Object[_0x5bd50f(0x334)],_0x22a541=Object[_0x5bd50f(0x2b4)],_0x42d086=(_0x43c867,_0x3fb13b,_0x323328)=>_0x3fb13b in _0x43c867?_0x31936b(_0x43c867,_0x3fb13b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x323328}):_0x43c867[_0x3fb13b]=_0x323328,_0x4221d4=(_0xbd6014,_0x2ab62a,_0x38a674,_0xdd6555)=>{const _0x32b1d7=_0x5bd50f;for(var _0x46ae13=_0xdd6555>0x1?void 0x0:_0xdd6555?_0x22a541(_0x2ab62a,_0x38a674):_0x2ab62a,_0x3338f1=_0xbd6014[_0x32b1d7(0x1c2)]-0x1,_0x4ff6c3;_0x3338f1>=0x0;_0x3338f1--)(_0x4ff6c3=_0xbd6014[_0x3338f1])&&(_0x46ae13=_0x4ff6c3(_0x46ae13)||_0x46ae13);return _0x46ae13;},_0x1e7d74=(_0x477828,_0x56f20f)=>(_0x4aa086,_0x22aa5c)=>_0x56f20f(_0x4aa086,_0x22aa5c,_0x477828),_0x348cb8=(_0x4027f5,_0x28ea7b,_0x3d7193)=>_0x42d086(_0x4027f5,_0x28ea7b+'',_0x3d7193);const _0x586eb4=_0x5bd50f(0x150);_0x1732b6[_0x5bd50f(0x324)]=class extends _0x23f48b[_0x5bd50f(0x35d)]{constructor(_0x144d4f=_0x58d724,_0x40d14d,_0x5c3334,_0x5e5444){const _0x42e2cc=_0x5bd50f;super(),this[_0x42e2cc(0x17e)]=_0x144d4f,this[_0x42e2cc(0x356)]=_0x40d14d,this[_0x42e2cc(0x297)]=_0x5c3334,this[_0x42e2cc(0x265)]=_0x5e5444;const {..._0x434143}=_0x23f48b['merge']({},_0x58d724,this[_0x42e2cc(0x17e)]);this[_0x42e2cc(0x265)][_0x42e2cc(0x1f3)](_0x236128,_0x434143);}['onStarting'](){const _0x177cb7=_0x5bd50f;[[_0x1732b6[_0x177cb7(0x2c1)]],[_0x5ab5dc],[_0x36af55],[_0x5a147e],[_0xb46adf],[_0x19b14c],[_0x1eaaa3[_0x177cb7(0x2f1)],{'useClass':_0x1edd1a[_0x177cb7(0x35f)]}],[_0x5cd9fb['IDialogService'],{'useClass':_0x3a7aad}],[_0x581156[_0x177cb7(0x2d5)],{'useClass':_0x1edd1a[_0x177cb7(0x1f4)]}]]['forEach'](_0x446547=>this['_injector'][_0x177cb7(0x35e)](_0x446547)),this['_injector']['get'](_0x5ab5dc);}[_0x5bd50f(0x255)](){const _0x28ec22=_0x5bd50f;[[_0x2e5e26]][_0x28ec22(0x37d)](_0x1b0038=>{const _0x4a8998=_0x28ec22;this[_0x4a8998(0x36b)](this[_0x4a8998(0x297)]['registerRenderModule'](_0x23f48b['UniverInstanceType'][_0x4a8998(0x179)],_0x1b0038));}),this[_0x28ec22(0x356)]['get'](_0x19b14c),this[_0x28ec22(0x356)][_0x28ec22(0x160)](_0xb46adf);}['onSteady'](){this['_injector']['get'](_0x36af55);}},_0x348cb8(_0x1732b6[_0x5bd50f(0x324)],_0x5bd50f(0x1e1),_0x586eb4),_0x1732b6[_0x5bd50f(0x324)]=_0x4221d4([_0x23f48b['DependentOn'](_0x5cca63[_0x5bd50f(0x1a1)],_0x22fe8e[_0x5bd50f(0x2e1)]),_0x1e7d74(0x1,_0x23f48b[_0x5bd50f(0x2cb)](_0x23f48b[_0x5bd50f(0x218)])),_0x1e7d74(0x2,_0x3e56d5[_0x5bd50f(0x1be)]),_0x1e7d74(0x3,_0x23f48b[_0x5bd50f(0x2a9)])],_0x1732b6[_0x5bd50f(0x324)]),_0x1732b6[_0x5bd50f(0x36a)]=_0x4b2040,_0x1732b6[_0x5bd50f(0x333)]=_0x385639,Object[_0x5bd50f(0x334)](_0x1732b6,Symbol[_0x5bd50f(0x177)],{'value':_0x5bd50f(0x2ef)});}));function _0x59df(){const _0x4e9385=['confirm','UniverInstanceType','subUnitId','url(#$1','forValue','_revertRevision$','ViemRwHgtClWdt','getVersions','parseProtocolChangeset','React','getCoordByCell','sheetId','SetCellValue','PivotTable','REDEMPTION_INVALID_CODE','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','error','ITransformService','range','attrs','getVersion','IRenderManagerService','createUnit','backgroundColor','revertRevision$','length','getInterceptPoints','set','next','Sort','REDEMPTION_CODE_NOT_STARTED','children','WorkbookEditablePermission','univer-overflow-hidden','date','bottom','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','@univerjs/sheets-conditional-formatting','UNRECOGNIZED','#0B9EFB','univer-m-auto\x20univer-animate-spin','push','getSheetObject','InsertRow','editHistory.panel.unknownUser','univer-flex\x20univer-items-center\x20univer-justify-center','SheetCollabCursorShape','editHistory.action.revertSheetSuffix','ENTITLE_DUP_SUBSCRIPTION','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_loadParams','Error','entries','IUniverInstanceService','RecoverHistory','exited','pluginName','idSuffix','close','univer-text-2xl\x20dark:!univer-text-white','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','column','jsxs','history-panel','m1Prime','Export','padStart','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','addProtection','top','SetRangeProtectionMutation','symbol','SetSheetsFilterRangeMutation','combineLatest','setConfig','CollaborationImageIoService','UniverSheets','SelectProtectedCells','loading','RwHgtClWdt','currentVersion$','connectInjector','trim','from','HideWorksheet','fill','_initRender','Character','100%','pipe','_transformService','span','ENSURE_SNAPSHOT_EXECUTION','fetching','color','_initActiveSwitch','@univerjs-pro/sheets-chart','toISOString','AddSheetSparklineMutation','BackIcon','InsertSheetsChartMutation','LOGIN_FAILED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','active','getDataRange','ReorderRangeMutation','Unspecified','_creators$','getElementById','none','REDEMPTION_USER_NOT_ELIGIBLE','Injector','entities','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','SHEET_VIEWPORT_KEY','_commandService','HTTPService','show','AddRangeProtectionMutation','LICENSE_EXPORT_SIZE_EXCEEDED','_yieldToMain','INVITE_CODE_ALREADY_BOUND','REDEMPTION_CODE_FULLY_REDEEMED','_componentManager','subscribe','justifyContent','84673Cdqsyh','Disposable','endColumn','/list?','MoveColsMutation','position','RemoveSheetMutation','useRef','ISidebarService','_snapshotServerService','borderBottomClassName','_removeDiffMarks','left','editHistory.panel.title','getDeserializedSheetBlock','clsx','transformSnapshotToWorkbookData','_historyFetchService','editHistory.action.revertSheetPrefix','useDependency','init','current','HideSheet','History','_lastLabel','COMPLETION_FINISHED','getMinutes','_members','hasCommand','getCurrentVersion','loadingState','http://www.w3.org/2000/svg','loadingState$','getSeconds','DeleteWorksheet','recoverTime','sheet','Comment','_diffs','_createMask','getAncestorScale','disposeUnit','focusUnit','5JHWkOm','editSheet','startColumn','onRendered','concat','RemoveNumfmtMutation','SetRowStyle','1em','rule','name','@univerjs/engine-render','APPLY_REJECT','YUUMI_CONNECTOR_URL_NOT_FOUND','2zXbVJq','onPointerMove$','colorChannel1','_currentVersion$','176PjQWVV','_transformMutationByOrder','_configService','row','useCallback','defs','_historyManagerService','@univerjs/core','WorkbookHideSheetPermission','UNIVER_SLIDE','MessageType','filter','InsertColMutation','LICENSE_MAX_UNITS_EXCEEDED','UNIVER_DOC','Button','includes','flat','_sheetPermissionInitController','_permissionService','LOGIN_TOKEN_PROCESSING_FAILED','ranges','_getActiveSubUnitId','UNAUTHENTICATED','blocks','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','zIndex','InsertColumn','className','ensureVersion','APPLY_NON_SEQUENTIAL_REVISION','_loadingState$','USER_NOT_INVITED_CODE','Entered','command','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','ManageCollaborator','_diffRangesMap','ENTITLE_INVALID_COUPON_CODE','UniverProSheetsSparkline','AddDataValidationMutation','INVALID_INVITE_CODE','PERMISSION_DENIED','unitId$','_confirmService','DeleteWorksheetProtectionMutation','RenameSheet','editHistory.panel.revertConfirm','fetchCreatorList','_updateVersions','SetFrozenMutation','ObjectMatrix','_renderManagerService','_historyContainerId','CHANGESET_REVISION_CONFILICT','getHours','WorkbookRenameSheetPermission','univer-animate-spin','transformMutations','setFilter','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','CONNECTOR_DATA_TOO_LARGE','userId','TOO_MANY_REQUESTS','createElement','Print','register','108FutrLj','showMask','Subject','IConfigService','APPLY_REVISION_CONFILICT','DATA_SOURCE_TOO_LARGE','SelectUnProtectedCells','UniverProCollaborationClientUi','has','9HIxudy','url(#restore-icon_clip0_1247_2)','_combineRanges','interceptor','getDialogs$','getOwnPropertyDescriptor','rev','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Loaded','canRevert','path','APPLY_DUPLICATED','versions','LoadingMultiIcon','Vector2','style','isArray','updatePermissionPoint','HistoryManagerService','append','_unitId$','@univerjs-pro/collaboration-client-ui','endRow','Copy','use','currentVersionDiff$','YUUMI_RATE_OVER_LIMIT','AddConditionalRuleMutation','Inject','UNDEFINED','div','YUUMI_SUBSCRIPTION_NOT_FOUND','[HistoryFetchService]:\x20request\x20snapshot\x20error!','@univerjs/sheets','dateString','find','_getRangesByMutation','forwardRef','IImageIoService','1316010rYoVzO','_messageService','getCurrent','CompressMutationService','SheetSkeletonManagerService','value','getCellPositionByOffset','onMouseMove','UniverProCollaborationClient','LocaleType','_setFetching','UniverNetworkPlugin','@univerjs/drawing','asObservable','startRow','displayName','merge','switchMap','RangeMergeUtil','CreateSheet','hideMask','_status$','triggerRevert','AUTHORIZE_CODE_ILLEGAL','_sidebarDisposable','Module','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','ISnapshotServerService','ComponentManager','primary','_httpService','rules','confirm-revert-revision','makeDirty','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','INVITE_CODE_REQUIRED','NOT_FOUND','rgba(58,\x2096,\x20247,\x200.20)','LocaleService','USER_NOT_FOUND','amd','HEADER','rect','univerjs-icon\x20univerjs-icon-','@univerjs/ui','IPermissionService','RevertRevisionMutation','_cellEditorManagerService','_context','DeleteSheet','EditWorksheetCell','_maskContainer','ERROR_AGAIN','editHistory.panel.currentVersion','_updateDiffMarks','Loading','IMessageService','code','YUUMI_AI_RUN_FAILED','CopySheet','_openPanel','@univerjs/network','status','currentColor','SetCellStyle','ENTITLE_USE_COUPON_NOT_1ST_TRADE','EditExtraObject','81289MzUZCx','MOBILE_VERIFY_CODE_MISMATCH','1000','User','_init','white','origin','evenodd','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','replace','SetRangeValuesMutation','UniverEditHistoryViewerPlugin','map','FloatImg','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','params','restore-icon','YUUMI_NO_CUBOID_FOR_QUESTION','useObservable','mutations','historyListServerUrl','memberId','function','getVpScrollXYInfoByPosToVp','xlink:href','MoveWorksheet','HistoryOrigin','defineProperty','FromArray','IUIPartsService','body','syncExecuteCommand','createSheet','@univerjs/design','debounceTime','endRev','_getSheetObject','flex','historyPanelComponentKey','some','_compressMutationService','ENTITLE_COUPON_USED_UP','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','fetchThroughInterceptors',':\x20(','LICENSE_IMPORT_SIZE_EXCEEDED','getUnitOnRev','SetNumfmtMutation','getConfig','ENTITLE_CAN_NOT_BUY_LOWER_OTP','creators','UniverDrawing','RestoreIcon','Share','Delete','UniverCore','YUUMI_ASYNCIO_CANCELLED','DeleteColumn','editHistory.action.etc','_localeService','WorkbookMoveSheetPermission','_injector','CreateWorksheet','INVALID_ARGUMENT','closeAll','ENTITLE_INSUFFICIENT_QUOTA','MoveRangeMutation','userIds','Plugin','add','SnapshotServerOverHTTPService','_currentVersionDiff$','_getAPIPrefix','dispose','svg','27381ZUmowj','_hasMore','user','setValue','UniverProSheetsChart','keys','HistoryModeStatus','disposeWithMe','CreatePermissionObject','UniverSheetsUi','_fetching$','0\x200\x2016\x2016','UniverProCollaboration','Duplicate','_setVersions','_versionDiffService','debounce','changesets','.univer-app-container-content','_initPanel','SNAPSHOT_HAS_BEEN_REMOVED','creators$','_sheetSkeletonManagerService','substring','subType','forEach','split','UniverEngineRender','display','data','42669AnaWmS','ICommandService','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','blockMeta','all','users','SetConditionalRuleMutation','YUUMI_ALL_TABLES_IS_INVALID','SetWorksheetHideMutation','now','getMember','_createUnit','open','SNAPSHOT_INVALID_SNAPSHOT','deleteProtection','block','Today','getCurrentLocale','UNIVER_PROJECT','USER_IS_ANONYMOUS','_uiPartsService','Exited','Edit','skeleton','REDEMPTION_CODE_INACTIVE','ENTITLE_NEED_BILLING_ADDRESS','time','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','CURRENT_STATUS_CANNOT_OPERATE','editHistory.panel.listFetchError','loadInitialVersions','currentVersion','WECHAT_HAS_BEEN_BOUND','_univerInstanceService','1778MnRAhy','@univerjs-pro/collaboration','View','MOBILE_HAS_BEEN_BOUND','restore-icon_clip0_1247_2','defIds','editHistory.info.loading','ALREADY_EXISTS','revertSheet','get','loadSheet','jsx','executeCommand','IConfirmService','INVITE_CODE_HAS_BEEN_UES','loaded','_lastPointer','RenameWorksheet','LICENSE_DISTRO_REJECTED','2646190PoxwTJ','DeleteRow','setDV','startRevision','rxjs','mask','button','UniverDataValidation','SetWorksheetStyle','SetWorksheetActiveOperation','edit-history-viewer.config','editHistory.panel.revertConfirmText','tag','toStringTag','PAYMENT_CHANNEL_NOT_SUPPORT','UNIVER_SHEET','MoveSheet','loadHistoryCreatorList','ViewFilter','UniverProEditHistoryViewer','_config','AddWorksheetProtectionMutation','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','REDEMPTION_CODE_HAS_BEEN_CREATED','_dialogOptions$','UniverDesign','ENTITLE_CHAT_LIMIT_EXCEED','_versions$','isTransformMutationsSuccess','UniverUi','Fragment','getViewport','AddWorksheetMergeMutation','anonymous','804fXqwbq','BehaviorSubject','refreshRangeProtectPermission','unitId','state$','createTime','UNIVER_UNKNOWN','currentSkeleton$','_maskElement','SetColumnStyle','editHistory.panel.confirm','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','hidden','33047PXthsb','loadMoreVersions','_workbookDataCache','setCF','string','INTERNAL_ERROR','InsertRowMutation','center','UniverSheetsUIPlugin','_sidebarService','entered','parse','assign','Tooltip','Filter','univer-text-gray-500'];_0x59df=function(){return _0x4e9385;};return _0x59df();}
17
+ (function(_0x3b7e5a,_0x35e878){const _0x2123c0=_0x45b1,_0x2d33a3=_0x3b7e5a();while(!![]){try{const _0x3b5d60=-parseInt(_0x2123c0(0x2b5))/0x1+parseInt(_0x2123c0(0xf8))/0x2+parseInt(_0x2123c0(0xfe))/0x3*(parseInt(_0x2123c0(0x272))/0x4)+-parseInt(_0x2123c0(0x2d0))/0x5+-parseInt(_0x2123c0(0x26d))/0x6+-parseInt(_0x2123c0(0x13c))/0x7*(parseInt(_0x2123c0(0x1bd))/0x8)+-parseInt(_0x2123c0(0x163))/0x9*(-parseInt(_0x2123c0(0x23d))/0xa);if(_0x3b5d60===_0x35e878)break;else _0x2d33a3['push'](_0x2d33a3['shift']());}catch(_0x5b20b6){_0x2d33a3['push'](_0x2d33a3['shift']());}}}(_0x4c0b,0x7eeb5),function(_0x45ca89,_0x28883b){const _0x320206=_0x45b1;typeof exports==_0x320206(0x249)&&typeof module<'u'?_0x28883b(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x320206(0x248)&&define['amd']?define([_0x320206(0x304),_0x320206(0x2b9),_0x320206(0xf5),_0x320206(0x1b8),_0x320206(0x1fb),'@univerjs/engine-render',_0x320206(0x2d5),_0x320206(0x31c),_0x320206(0x17c),_0x320206(0x159),_0x320206(0x2ff),_0x320206(0x277),'@univerjs-pro/sheets-chart',_0x320206(0x20f),_0x320206(0x2c6),'@univerjs/sheets-conditional-formatting',_0x320206(0x1d4),_0x320206(0x1bf),'react','@univerjs-pro/collaboration-client-ui'],_0x28883b):(_0x45ca89=typeof globalThis<'u'?globalThis:_0x45ca89||self,_0x28883b(_0x45ca89['UniverProEditHistoryViewer']={},_0x45ca89[_0x320206(0x230)],_0x45ca89[_0x320206(0x2d6)],_0x45ca89['UniverCore'],_0x45ca89[_0x320206(0x1a9)],_0x45ca89['UniverEngineRender'],_0x45ca89[_0x320206(0x183)],_0x45ca89['UniverSheetsUi'],_0x45ca89['UniverUi'],_0x45ca89[_0x320206(0x121)],_0x45ca89[_0x320206(0x2e8)],_0x45ca89[_0x320206(0x277)],_0x45ca89[_0x320206(0x12d)],_0x45ca89[_0x320206(0x1ed)],_0x45ca89[_0x320206(0x31b)],_0x45ca89[_0x320206(0x21b)],_0x45ca89[_0x320206(0x181)],_0x45ca89[_0x320206(0x327)],_0x45ca89[_0x320206(0x327)],_0x45ca89[_0x320206(0x324)]));}(this,function(_0x22872a,_0x2f81c0,_0x317887,_0x453f4e,_0x3b78c9,_0x20176a,_0x210f5e,_0x11d4cb,_0x222485,_0x63f929,_0x4f5e86,_0x511bc8,_0x3efa96,_0xd14e4f,_0x3a60c2,_0x244972,_0x18856f,_0x4058c4,_0x520025,_0x974a8c){'use strict';const _0x426336=_0x45b1;var _0x12e9ab=Object[_0x426336(0x114)],_0x26f8b2=(_0x3cbbd9,_0xa87e35,_0x938b55)=>_0xa87e35 in _0x3cbbd9?_0x12e9ab(_0x3cbbd9,_0xa87e35,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x938b55}):_0x3cbbd9[_0xa87e35]=_0x938b55,_0x3e8d0c=(_0x16e0b5,_0x48190d,_0x8186c0)=>_0x26f8b2(_0x16e0b5,typeof _0x48190d!='symbol'?_0x48190d+'':_0x48190d,_0x8186c0);const _0x1572c4=_0x426336(0x12c),_0x2b868b={};var _0x2d0c48=Object[_0x426336(0x2d1)],_0x569a5e=(_0x4dc3e0,_0x215b7d,_0x34afe3,_0x1aa725)=>{const _0x11e40a=_0x426336;for(var _0x3b7cfa=_0x1aa725>0x1?void 0x0:_0x1aa725?_0x2d0c48(_0x215b7d,_0x34afe3):_0x215b7d,_0x1e11be=_0x4dc3e0[_0x11e40a(0x156)]-0x1,_0x2e537b;_0x1e11be>=0x0;_0x1e11be--)(_0x2e537b=_0x4dc3e0[_0x1e11be])&&(_0x3b7cfa=_0x2e537b(_0x3b7cfa)||_0x3b7cfa);return _0x3b7cfa;},_0x25ab85=(_0x58d1d1,_0x401af0)=>(_0x2ccfb7,_0x13389e)=>_0x401af0(_0x2ccfb7,_0x13389e,_0x58d1d1);let _0x48988f=class extends _0x453f4e['Disposable']{constructor(_0x318035){const _0x3ec1c0=_0x426336;super(),this['_cellEditorManagerService']=_0x318035,this[_0x3ec1c0(0x335)]();}[_0x426336(0x335)](){const _0x2f43c5=_0x426336;this['disposeWithMe'](this['_cellEditorManagerService'][_0x2f43c5(0x1f2)][_0x2f43c5(0x218)](_0x87e728=>{const _0x3da2e8=_0x2f43c5;_0x87e728!=null&&_0x87e728[_0x3da2e8(0x33f)]&&this[_0x3da2e8(0x2dc)]['setState']({'show':!0x1});}));}};_0x48988f=_0x569a5e([_0x25ab85(0x0,_0x11d4cb[_0x426336(0x24b)])],_0x48988f);var _0x425752=(_0x2239fb=>(_0x2239fb[_0x2239fb[_0x426336(0x250)]=0x0]=_0x426336(0x250),_0x2239fb[_0x2239fb['OK']=0x1]='OK',_0x2239fb[_0x2239fb[_0x426336(0x148)]=0x2]=_0x426336(0x148),_0x2239fb[_0x2239fb[_0x426336(0x188)]=0x3]='PERMISSION_DENIED',_0x2239fb[_0x2239fb[_0x426336(0x323)]=0x4]='NOT_FOUND',_0x2239fb[_0x2239fb[_0x426336(0x190)]=0x5]='UNAUTHENTICATED',_0x2239fb[_0x2239fb[_0x426336(0x310)]=0x6]=_0x426336(0x310),_0x2239fb[_0x2239fb[_0x426336(0x32e)]=0x7]=_0x426336(0x32e),_0x2239fb[_0x2239fb[_0x426336(0x2e9)]=0x8]='TOO_MANY_REQUESTS',_0x2239fb[_0x2239fb[_0x426336(0x197)]=0x9]=_0x426336(0x197),_0x2239fb[_0x2239fb[_0x426336(0x19e)]=0xa]='LOGIN_FAILED',_0x2239fb[_0x2239fb[_0x426336(0x127)]=0xb]=_0x426336(0x127),_0x2239fb[_0x2239fb[_0x426336(0x339)]=0xc]=_0x426336(0x339),_0x2239fb[_0x2239fb['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x426336(0x135),_0x2239fb[_0x2239fb[_0x426336(0x21c)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2239fb[_0x2239fb['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2239fb[_0x2239fb[_0x426336(0x1a5)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x2239fb[_0x2239fb[_0x426336(0x34e)]=0x64]=_0x426336(0x34e),_0x2239fb[_0x2239fb[_0x426336(0x2e1)]=0x65]=_0x426336(0x2e1),_0x2239fb[_0x2239fb[_0x426336(0x228)]=0xc9]='USER_NOT_FOUND',_0x2239fb[_0x2239fb[_0x426336(0x153)]=0xca]=_0x426336(0x153),_0x2239fb[_0x2239fb['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2239fb[_0x2239fb[_0x426336(0x1bb)]=0x1771]=_0x426336(0x1bb),_0x2239fb[_0x2239fb[_0x426336(0x291)]=0x1772]=_0x426336(0x291),_0x2239fb[_0x2239fb[_0x426336(0x267)]=0x1773]=_0x426336(0x267),_0x2239fb[_0x2239fb[_0x426336(0x33a)]=0x1b59]=_0x426336(0x33a),_0x2239fb[_0x2239fb[_0x426336(0x11c)]=0x1b5a]=_0x426336(0x11c),_0x2239fb[_0x2239fb[_0x426336(0x102)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2239fb[_0x2239fb[_0x426336(0x1b0)]=0x1b5c]=_0x426336(0x1b0),_0x2239fb[_0x2239fb[_0x426336(0x103)]=0x1b5d]=_0x426336(0x103),_0x2239fb[_0x2239fb[_0x426336(0x32d)]=0x1f41]=_0x426336(0x32d),_0x2239fb[_0x2239fb[_0x426336(0x136)]=0x2329]=_0x426336(0x136),_0x2239fb[_0x2239fb[_0x426336(0x155)]=0x232a]=_0x426336(0x155),_0x2239fb[_0x2239fb['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x426336(0x1c3),_0x2239fb[_0x2239fb[_0x426336(0x203)]=0x232c]=_0x426336(0x203),_0x2239fb[_0x2239fb[_0x426336(0xfb)]=0x232d]=_0x426336(0xfb),_0x2239fb[_0x2239fb[_0x426336(0x28a)]=0x2711]=_0x426336(0x28a),_0x2239fb[_0x2239fb['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x426336(0x2c7),_0x2239fb[_0x2239fb[_0x426336(0x338)]=0x2713]=_0x426336(0x338),_0x2239fb[_0x2239fb[_0x426336(0x343)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2239fb[_0x2239fb[_0x426336(0x25f)]=0x271a]=_0x426336(0x25f),_0x2239fb[_0x2239fb['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2239fb[_0x2239fb[_0x426336(0x20e)]=0x271c]=_0x426336(0x20e),_0x2239fb[_0x2239fb[_0x426336(0x1d1)]=0x271d]=_0x426336(0x1d1),_0x2239fb[_0x2239fb[_0x426336(0x180)]=0x271e]=_0x426336(0x180),_0x2239fb[_0x2239fb['YUUMI_AI_RUN_FAILED']=0x271f]=_0x426336(0x27c),_0x2239fb[_0x2239fb[_0x426336(0x20c)]=0x2720]=_0x426336(0x20c),_0x2239fb[_0x2239fb[_0x426336(0x16a)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2239fb[_0x2239fb[_0x426336(0x104)]=0x2ee1]=_0x426336(0x104),_0x2239fb[_0x2239fb['INVALID_INVITE_CODE']=0x2ee2]=_0x426336(0xf6),_0x2239fb[_0x2239fb[_0x426336(0x2c4)]=0x2ee3]=_0x426336(0x2c4),_0x2239fb[_0x2239fb[_0x426336(0x22f)]=0x2ee4]=_0x426336(0x22f),_0x2239fb[_0x2239fb['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2239fb[_0x2239fb['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2239fb[_0x2239fb['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x426336(0x2a3),_0x2239fb[_0x2239fb[_0x426336(0x194)]=0x32cb]=_0x426336(0x194),_0x2239fb[_0x2239fb[_0x426336(0x201)]=0x36b1]=_0x426336(0x201),_0x2239fb[_0x2239fb[_0x426336(0x10e)]=0x36b2]=_0x426336(0x10e),_0x2239fb[_0x2239fb[_0x426336(0x10b)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x2239fb[_0x2239fb[_0x426336(0x184)]=0x36b4]=_0x426336(0x184),_0x2239fb[_0x2239fb[_0x426336(0x24e)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x2239fb[_0x2239fb[_0x426336(0x217)]=0x36b6]=_0x426336(0x217),_0x2239fb[_0x2239fb[_0x426336(0x1cd)]=0x36b7]=_0x426336(0x1cd),_0x2239fb[_0x2239fb[_0x426336(0x29a)]=0x36b8]=_0x426336(0x29a),_0x2239fb[_0x2239fb[_0x426336(0x142)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2239fb[_0x2239fb[_0x426336(0x276)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2239fb[_0x2239fb['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x2239fb[_0x2239fb[_0x426336(0x131)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2239fb[_0x2239fb[_0x426336(0x15c)]=0x3a99]=_0x426336(0x15c),_0x2239fb[_0x2239fb[_0x426336(0x1b5)]=0x3a9a]=_0x426336(0x1b5),_0x2239fb[_0x2239fb['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x426336(0x108),_0x2239fb[_0x2239fb['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x426336(0x16e),_0x2239fb[_0x2239fb[_0x426336(0x245)]=0x3a9d]=_0x426336(0x245),_0x2239fb[_0x2239fb[_0x426336(0x269)]=0x3a9e]=_0x426336(0x269),_0x2239fb[_0x2239fb[_0x426336(0x2bb)]=0x3a9f]=_0x426336(0x2bb),_0x2239fb[_0x2239fb[_0x426336(0x1a7)]=0x3e81]=_0x426336(0x1a7),_0x2239fb[_0x2239fb['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2239fb))(_0x425752||{}),_0x30dc77=(_0x414dc5=>(_0x414dc5[_0x414dc5['UNIVER_UNKNOWN']=0x0]=_0x426336(0x1d8),_0x414dc5[_0x414dc5[_0x426336(0x15b)]=0x1]=_0x426336(0x15b),_0x414dc5[_0x414dc5['UNIVER_SHEET']=0x2]=_0x426336(0x152),_0x414dc5[_0x414dc5['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x414dc5[_0x414dc5['UNIVER_PROJECT']=0x4]=_0x426336(0x300),_0x414dc5[_0x414dc5[_0x426336(0x313)]=-0x1]=_0x426336(0x313),_0x414dc5))(_0x30dc77||{}),_0x949573=(_0x65b3c2=>(_0x65b3c2[_0x65b3c2[_0x426336(0x149)]=0x0]=_0x426336(0x149),_0x65b3c2[_0x65b3c2[_0x426336(0x268)]=0x1]=_0x426336(0x268),_0x65b3c2[_0x65b3c2[_0x426336(0x14d)]=0x2]=_0x426336(0x14d),_0x65b3c2[_0x65b3c2[_0x426336(0x1c4)]=0x3]=_0x426336(0x1c4),_0x65b3c2[_0x65b3c2['Duplicate']=0x4]=_0x426336(0x239),_0x65b3c2[_0x65b3c2[_0x426336(0x346)]=0x5]=_0x426336(0x346),_0x65b3c2[_0x65b3c2[_0x426336(0x192)]=0x6]=_0x426336(0x192),_0x65b3c2[_0x65b3c2['Share']=0x7]='Share',_0x65b3c2[_0x65b3c2['Export']=0x8]=_0x426336(0x20b),_0x65b3c2[_0x65b3c2[_0x426336(0x1da)]=0x9]=_0x426336(0x1da),_0x65b3c2[_0x65b3c2[_0x426336(0x246)]=0xa]='DeleteWorksheet',_0x65b3c2[_0x65b3c2[_0x426336(0x2fb)]=0xb]=_0x426336(0x2fb),_0x65b3c2[_0x65b3c2['RenameWorksheet']=0xc]=_0x426336(0x32c),_0x65b3c2[_0x65b3c2[_0x426336(0x1a6)]=0xd]=_0x426336(0x1a6),_0x65b3c2[_0x65b3c2[_0x426336(0x22c)]=0xe]=_0x426336(0x22c),_0x65b3c2[_0x65b3c2[_0x426336(0x161)]=0xf]=_0x426336(0x161),_0x65b3c2[_0x65b3c2['InsertHyperlink']=0x10]=_0x426336(0x1ce),_0x65b3c2[_0x65b3c2[_0x426336(0x24c)]=0x11]='Sort',_0x65b3c2[_0x65b3c2[_0x426336(0x2e2)]=0x12]='Filter',_0x65b3c2[_0x65b3c2[_0x426336(0x258)]=0x13]=_0x426336(0x258),_0x65b3c2[_0x65b3c2['FloatImg']=0x14]=_0x426336(0x119),_0x65b3c2[_0x65b3c2[_0x426336(0x30d)]=0x15]=_0x426336(0x30d),_0x65b3c2[_0x65b3c2[_0x426336(0x319)]=0x16]=_0x426336(0x319),_0x65b3c2[_0x65b3c2['ViemRwHgtClWdt']=0x17]=_0x426336(0x15f),_0x65b3c2[_0x65b3c2[_0x426336(0x23e)]=0x18]='ViewFilter',_0x65b3c2[_0x65b3c2['MoveSheet']=0x19]=_0x426336(0x158),_0x65b3c2[_0x65b3c2['DeleteSheet']=0x1a]=_0x426336(0x31d),_0x65b3c2[_0x65b3c2[_0x426336(0x30b)]=0x1b]='HideSheet',_0x65b3c2[_0x65b3c2[_0x426336(0x206)]=0x1c]='CopySheet',_0x65b3c2[_0x65b3c2['RenameSheet']=0x1d]=_0x426336(0x242),_0x65b3c2[_0x65b3c2['CreateSheet']=0x1e]=_0x426336(0x126),_0x65b3c2[_0x65b3c2[_0x426336(0x24d)]=0x1f]='SelectProtectedCells',_0x65b3c2[_0x65b3c2['SelectUnProtectedCells']=0x20]=_0x426336(0x222),_0x65b3c2[_0x65b3c2[_0x426336(0x137)]=0x21]=_0x426336(0x137),_0x65b3c2[_0x65b3c2[_0x426336(0x303)]=0x22]=_0x426336(0x303),_0x65b3c2[_0x65b3c2[_0x426336(0x105)]=0x23]=_0x426336(0x105),_0x65b3c2[_0x65b3c2[_0x426336(0x341)]=0x24]=_0x426336(0x341),_0x65b3c2[_0x65b3c2[_0x426336(0x200)]=0x25]='InsertRow',_0x65b3c2[_0x65b3c2['InsertColumn']=0x26]='InsertColumn',_0x65b3c2[_0x65b3c2[_0x426336(0x154)]=0x27]=_0x426336(0x154),_0x65b3c2[_0x65b3c2['DeleteColumn']=0x28]='DeleteColumn',_0x65b3c2[_0x65b3c2['EditExtraObject']=0x29]=_0x426336(0x2c2),_0x65b3c2[_0x65b3c2[_0x426336(0x1a8)]=0x2a]=_0x426336(0x1a8),_0x65b3c2[_0x65b3c2[_0x426336(0x292)]=0x2b]=_0x426336(0x292),_0x65b3c2[_0x65b3c2[_0x426336(0x286)]=0x2c]=_0x426336(0x286),_0x65b3c2[_0x65b3c2[_0x426336(0x2c1)]=0x2d]=_0x426336(0x2c1),_0x65b3c2[_0x65b3c2[_0x426336(0x313)]=-0x1]='UNRECOGNIZED',_0x65b3c2))(_0x949573||{});function _0x68df56(_0x22d0e5){const _0x122901=_0x426336;return!!(_0x22d0e5&&_0x22d0e5['code']&&_0x22d0e5[_0x122901(0x2a4)]!==_0x425752['OK']&&_0x22d0e5[_0x122901(0x2a4)]!=='OK');}const _0x3beab7=(_0x1b7086,_0x3184a7)=>{const _0x3882cf=_0x426336;if(!_0x1b7086)return{'date':'','time':''};const _0xa3afb4=new Date(_0x1b7086),_0x18df6d=_0xa3afb4[_0x3882cf(0x232)]()[_0x3882cf(0x1eb)]('T')[0x0];switch(_0x3184a7){case _0x453f4e[_0x3882cf(0x24f)][_0x3882cf(0x2b7)]:return{'date':_0x28c3bd(_0x18df6d,_0x3184a7),'time':_0xa3afb4[_0x3882cf(0x2ee)]()+':'+String(_0xa3afb4[_0x3882cf(0x325)]())[_0x3882cf(0x2a6)](0x2,'0')+':'+String(_0xa3afb4[_0x3882cf(0x236)]())[_0x3882cf(0x2a6)](0x2,'0')};default:return{'date':_0x28c3bd(_0x18df6d,_0x3184a7),'time':_0xa3afb4['getHours']()+':'+_0xa3afb4[_0x3882cf(0x325)]()+':'+_0xa3afb4[_0x3882cf(0x236)]()};}},_0x5ef092=(_0x4c4af8,_0x249cc9)=>{const _0x5e0422=_0x426336,_0x44cf95=_0x4c4af8[_0x5e0422(0x14f)]||_0x249cc9['t'](_0x5e0422(0x111));if(_0x4c4af8[_0x5e0422(0x2e5)][_0x5e0422(0x1f7)](_0x4c48f2=>_0x4c48f2===_0x2f81c0[_0x5e0422(0x14b)]['id'])&&_0x4c4af8['recoverTime']){const _0x440cdf=_0x3beab7(_0x4c4af8[_0x5e0422(0x32f)],_0x249cc9['getCurrentLocale']()),_0x2f0c8e=_0x440cdf[_0x5e0422(0x349)]+'\x20'+_0x440cdf[_0x5e0422(0x1c1)];return _0x44cf95+'\x20'+_0x249cc9['t'](_0x5e0422(0x2a2))+'\x20'+_0x2f0c8e+'\x20'+_0x249cc9['t'](_0x5e0422(0x29f));}const _0x426dd5=_0xb02838(_0x4c4af8),_0xf92a51=_0x426dd5['length']===0x1?_0x249cc9['t'](_0x426dd5[0x0]):''+_0x249cc9['t'](_0x426dd5[0x0])+_0x249cc9['t'](_0x5e0422(0x2eb));return _0x44cf95+'\x20'+_0xf92a51;};function _0xb02838(_0x3d302c){const _0x2ea0c1=_0x426336;if(_0x3d302c[_0x2ea0c1(0x2e5)][_0x2ea0c1(0x156)]===0x0)return[''];const _0x5e87b2=_0x2ea0c1(0x2dd),_0x25c916=_0x5e87b2+_0x2ea0c1(0x101),_0x4a09c1=[{'id':_0x2f81c0[_0x2ea0c1(0x21a)]['id'],'action':_0x5e87b2+'createSheet'},{'id':_0x2f81c0[_0x2ea0c1(0x14b)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x174)},{'id':_0x4f5e86['InsertSheetMutation']['id'],'action':_0x5e87b2+_0x2ea0c1(0x202)},{'id':_0x4f5e86[_0x2ea0c1(0xf9)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x13f)},{'id':_0x4f5e86[_0x2ea0c1(0x18e)]['id'],'action':_0x5e87b2+'setFrozen'},{'id':_0x18856f['SetSheetsFilterRangeMutation']['id'],'action':_0x5e87b2+'setFilter'},{'id':_0x3a60c2[_0x2ea0c1(0x17e)]['id'],'action':_0x5e87b2+'setDV'},{'id':_0x3a60c2[_0x2ea0c1(0x12f)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x30f)},{'id':_0x244972[_0x2ea0c1(0x1fe)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x2ab)},{'id':_0x244972['AddConditionalRuleMutation']['id'],'action':_0x5e87b2+'setCF'},{'id':_0x4f5e86['AddWorksheetProtectionMutation']['id'],'action':_0x5e87b2+_0x2ea0c1(0x15a)},{'id':_0x4f5e86[_0x2ea0c1(0x312)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x15a)},{'id':_0xd14e4f[_0x2ea0c1(0x1c7)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x231)},{'id':_0x3efa96['InsertSheetsChartMutation']['id'],'action':_0x5e87b2+_0x2ea0c1(0x1f0)},{'id':_0x4f5e86[_0x2ea0c1(0x205)]['id'],'action':_0x5e87b2+_0x2ea0c1(0x143)},{'id':_0x4f5e86['DeleteWorksheetProtectionMutation']['id'],'action':_0x5e87b2+'deleteProtection'}][_0x2ea0c1(0x1ac)](_0x4a0028=>_0x3d302c[_0x2ea0c1(0x2e5)][_0x2ea0c1(0x12b)](_0x4a0028['id']));return _0x4a09c1!=null&&_0x4a09c1['length']?_0x4a09c1['map'](_0x3c5e2e=>_0x3c5e2e[_0x2ea0c1(0x2a7)]):[_0x25c916];}function _0x28c3bd(_0x1e1e02,_0x50e779){const _0x657451=_0x426336,[_0xa7d635,_0x5960ae,_0x3073fa]=new Date()[_0x657451(0x232)]()['split']('T')[0x0][_0x657451(0x1eb)]('-'),[_0x24d485,_0x575953,_0x2a0b6d]=_0x1e1e02[_0x657451(0x1eb)]('-'),_0x1fda2a=_0xa7d635===_0x24d485&&_0x5960ae===_0x575953&&_0x3073fa===_0x2a0b6d;let _0x245fc5='',_0x51a37f='',_0x62f442='';switch(_0x50e779){case _0x453f4e[_0x657451(0x24f)][_0x657451(0x2b7)]:return _0x1fda2a?'今天':(_0x245fc5=_0xa7d635===_0x24d485?'':_0x24d485+'年',_0x51a37f=_0x575953+'月',_0x62f442=_0x2a0b6d+'日',''+_0x245fc5+_0x51a37f+_0x62f442);default:return _0x1fda2a?_0x657451(0x16b):(_0x245fc5=_0xa7d635===_0x24d485?'':_0x24d485+'-',_0x51a37f=_0x575953+'-',_0x62f442=''+_0x2a0b6d,''+_0x245fc5+_0x51a37f+_0x62f442);}}function _0x407b4d(_0x354f7d){const _0x2155ff=_0x426336;return _0x354f7d?_0x354f7d[_0x2155ff(0x211)]((_0x2efcf6,_0x4ec781)=>{const _0x2d5e1c=_0x2155ff,_0x48db6c=new Date(_0x4ec781[_0x2d5e1c(0x1c1)])[_0x2d5e1c(0x232)]()[_0x2d5e1c(0x1eb)]('T')[0x0];return _0x2efcf6[_0x2d5e1c(0x156)]>0x0&&_0x2efcf6[_0x2efcf6[_0x2d5e1c(0x156)]-0x1][_0x2d5e1c(0x247)]===_0x48db6c?_0x2efcf6[_0x2efcf6[_0x2d5e1c(0x156)]-0x1]['versions'][_0x2d5e1c(0x223)](_0x4ec781):_0x2efcf6[_0x2d5e1c(0x223)]({'dateString':_0x48db6c,'versions':[_0x4ec781]}),_0x2efcf6;},[]):[];}var _0x4211d4=Object[_0x426336(0x2d1)],_0x994d83=(_0x94005d,_0x484a96,_0x70efa7,_0x10cf8b)=>{const _0x4f0807=_0x426336;for(var _0x1c99a0=_0x10cf8b>0x1?void 0x0:_0x10cf8b?_0x4211d4(_0x484a96,_0x70efa7):_0x484a96,_0x35b0da=_0x94005d[_0x4f0807(0x156)]-0x1,_0x18efec;_0x35b0da>=0x0;_0x35b0da--)(_0x18efec=_0x94005d[_0x35b0da])&&(_0x1c99a0=_0x18efec(_0x1c99a0)||_0x1c99a0);return _0x1c99a0;},_0x347e8b=(_0x3be7be,_0xcc0328)=>(_0x18bd98,_0x4f430c)=>_0xcc0328(_0x18bd98,_0x4f430c,_0x3be7be),_0x4c7c94=(_0x213e0a=>(_0x213e0a[_0x213e0a['Unspecified']=0x0]=_0x426336(0x2f6),_0x213e0a[_0x213e0a[_0x426336(0x1e1)]=0x1]=_0x426336(0x1e1),_0x213e0a[_0x213e0a[_0x426336(0x19d)]=0x2]=_0x426336(0x19d),_0x213e0a))(_0x4c7c94||{});const _0x561846='/universer-api/history';let _0x28365d=class extends _0x453f4e[_0x426336(0x274)]{constructor(_0x2696b3,_0x5cf05b,_0x224f53,_0x3d6495,_0x25ae2e,_0x47242b,_0x5d093d){const _0x4f65e9=_0x426336;super(),_0x3e8d0c(this,_0x4f65e9(0x1ff),new Map()),(this['_snapshotServerService']=_0x2696b3,this[_0x4f65e9(0x2c3)]=_0x5cf05b,this['_commandService']=_0x224f53,this['_configService']=_0x3d6495,this[_0x4f65e9(0x30c)]=_0x25ae2e,this[_0x4f65e9(0x32a)]=_0x47242b,this[_0x4f65e9(0x315)]=_0x5d093d);}[_0x426336(0x2ec)](){const _0x323690=_0x426336;this[_0x323690(0x1ff)][_0x323690(0x207)](),super['dispose']();}async['fetchCreatorList'](_0x319514){const _0x47537e=_0x426336;try{const _0x40d01c=(await this[_0x47537e(0x30c)][_0x47537e(0x1ba)](this[_0x47537e(0x2f9)]()+'/'+_0x319514+_0x47537e(0x1f6)))[_0x47537e(0x1b9)];if(_0x40d01c&&_0x40d01c[_0x47537e(0x2b6)]&&_0x40d01c[_0x47537e(0x2b6)]['code']===_0x425752['OK'])return _0x40d01c[_0x47537e(0x318)];}catch(_0x17b169){console['error'](_0x17b169);}return[];}async[_0x426336(0x21e)](_0x5ae75b,_0x449f01){const _0x2898f4=_0x426336,{userIds:_0x1303cf,lastLabel:_0xf030a9,origin:_0xc1f03b}=_0x449f01!=null?_0x449f01:{},_0x34dcc7=new URLSearchParams();_0x34dcc7[_0x2898f4(0xff)](_0x2898f4(0x156),'20'),_0xf030a9&&_0x34dcc7[_0x2898f4(0xff)](_0x2898f4(0x317),_0xf030a9),_0x1303cf==null||_0x1303cf['forEach'](_0x5e4f03=>{const _0x2af1cb=_0x2898f4;_0x34dcc7['append'](_0x2af1cb(0x1e7),_0x5e4f03);}),_0xc1f03b&&_0x34dcc7[_0x2898f4(0xff)](_0x2898f4(0x253),_0xc1f03b['toString']());const _0x553e92=this['_getAPIPrefix']()+'/'+_0x5ae75b+_0x2898f4(0x226)+_0x34dcc7[_0x2898f4(0x329)]();try{const _0x16e021=(await this['_httpService']['get'](_0x553e92))[_0x2898f4(0x1b9)];if(_0x16e021&&_0x16e021[_0x2898f4(0x2b6)]&&_0x16e021[_0x2898f4(0x2b6)]['code']===_0x425752['OK']){const {hasMore:_0x423b9a,lastLabel:_0xdee276}=_0x16e021,_0x1e4297=_0x522842(_0x16e021),_0x1efd9f=_0x16e021['entities'][_0x2898f4(0x1f9)];return{'hasMore':_0x423b9a,'lastLabel':_0xdee276,'versions':_0x1e4297,'members':_0x1efd9f};}}catch(_0x2a4bd8){console[_0x2898f4(0x2b6)](_0x2a4bd8);}return null;}['_getAPIPrefix'](){const _0x2a8d73=_0x426336;var _0x441c5d;const _0x13c7d1=this[_0x2a8d73(0x288)][_0x2a8d73(0x2e6)](_0x1572c4);return(_0x441c5d=_0x13c7d1==null?void 0x0:_0x13c7d1[_0x2a8d73(0x348)])!=null?_0x441c5d:_0x561846;}async[_0x426336(0x23f)](_0x529249,_0x105f85,_0x61ed7e){const _0x19d681=_0x426336;var _0x1d502b,_0x13e294;_0x61ed7e===void 0x0&&(_0x61ed7e={}),this[_0x19d681(0x1ff)][_0x19d681(0x314)](_0x529249)||this[_0x19d681(0x1ff)][_0x19d681(0xff)](_0x529249,new Map());const {snapshot:_0x4282a8,changesets:_0x348700,error:_0x4e5afa}=await this['_snapshotServerService'][_0x19d681(0x297)](_0x61ed7e,{'unitID':_0x529249,'type':_0x30dc77[_0x19d681(0x152)],'revision':_0x105f85});if(_0x68df56(_0x4e5afa)||!_0x4282a8||!_0x4282a8[_0x19d681(0x1f3)])throw new Error('[HistoryFetchService]:\x20request\x20snapshot\x20error!');const _0x40dcc9=(_0x1d502b=_0x348700==null?void 0x0:_0x348700[_0x19d681(0x156)])!=null?_0x1d502b:0x0;if(_0x105f85!==0x0&&_0x4282a8[_0x19d681(0x176)]+_0x40dcc9!==_0x105f85)throw new Error(_0x19d681(0x1d9));const {workbook:_0x118007}=_0x4282a8,_0xb95fdb=_0x118007[_0x19d681(0x13a)]?Object[_0x19d681(0x2fe)](_0x118007[_0x19d681(0x13a)])[_0x19d681(0x1c2)](([_0x154421,_0x439183])=>{const _0x18bbff=_0x19d681;var _0x1f583a,_0x311f92;return(_0x311f92=(_0x1f583a=_0x439183[_0x18bbff(0x11d)])==null?void 0x0:_0x1f583a[_0x18bbff(0x1c2)](_0x2fb8b6=>_0x2fb8b6))!=null?_0x311f92:[];})[_0x19d681(0x347)]():[],_0x4875e0=(await Promise[_0x19d681(0xfa)](_0xb95fdb['map'](_0x3000ea=>this[_0x19d681(0x13b)][_0x19d681(0x196)](_0x61ed7e,{'unitID':_0x529249,'type':_0x30dc77[_0x19d681(0x152)],'blockID':_0x3000ea})[_0x19d681(0x2bd)](_0x38fc54=>_0x38fc54[_0x19d681(0x275)]))))[_0x19d681(0x1ac)](_0x24165c=>!!_0x24165c),_0x3d6678=await _0x2f81c0[_0x19d681(0x34f)](_0x4282a8,_0x4875e0,_0x61ed7e);return(_0x13e294=this[_0x19d681(0x1ff)][_0x19d681(0x1ba)](_0x529249))==null||_0x13e294[_0x19d681(0xff)](_0x105f85,{'workbook':_0x3d6678}),new Promise(_0x41ec3d=>{const _0x15e8a9=_0x19d681,_0x5de528=this[_0x15e8a9(0x2c3)]['getCurrentUnitForType'](_0x453f4e[_0x15e8a9(0x1af)][_0x15e8a9(0x152)]);_0x5de528?(this[_0x15e8a9(0x2c3)]['disposeUnit'](_0x5de528['getUnitId']()),setTimeout(()=>{const _0xe70000=_0x15e8a9;this[_0xe70000(0x290)](_0x3d6678,_0x348700),this[_0xe70000(0x315)]['refreshRangeProtectPermission'](),_0x41ec3d(!0x0);},0x0)):(this[_0x15e8a9(0x290)](_0x3d6678,_0x348700),_0x41ec3d(!0x0));});}[_0x426336(0x290)](_0x230f29,_0x15cdc6){const _0x5381e5=_0x426336,_0x2cc8a5=this['_univerInstanceService'][_0x5381e5(0x1fc)](_0x453f4e[_0x5381e5(0x1af)][_0x5381e5(0x152)],_0x230f29);this[_0x5381e5(0x2c3)][_0x5381e5(0x2c8)](_0x2cc8a5['getUnitId']());const _0x54b8c1=this['_compressMutationService'][_0x5381e5(0x34d)][_0x5381e5(0x27e)](this['_compressMutationService'][_0x5381e5(0x34d)][_0x5381e5(0x294)]()[_0x5381e5(0x261)]);return _0x15cdc6==null||_0x15cdc6[_0x5381e5(0x263)](_0x293b7f=>{const _0x233439=_0x5381e5,_0x5bf0a7=_0x293b7f['mutations'][_0x233439(0x1c2)](_0xfde080=>({'id':_0xfde080['id'],'params':JSON['parse'](_0xfde080['data'])}));({..._0x293b7f,'mutations':_0x54b8c1(_0x5bf0a7,null)||_0x5bf0a7}[_0x233439(0x252)][_0x233439(0x263)](_0x409f15=>{const _0xaebd2a=_0x233439;this[_0xaebd2a(0x265)][_0xaebd2a(0x1be)](_0x409f15['id'])&&this[_0xaebd2a(0x265)][_0xaebd2a(0x25e)](_0x409f15['id'],_0x409f15[_0xaebd2a(0x2e3)]);}));}),_0x2cc8a5;}};_0x28365d=_0x994d83([_0x347e8b(0x0,_0x2f81c0[_0x426336(0x2cc)]),_0x347e8b(0x1,_0x453f4e[_0x426336(0x1d5)]),_0x347e8b(0x2,_0x453f4e[_0x426336(0x210)]),_0x347e8b(0x3,_0x453f4e[_0x426336(0x24a)]),_0x347e8b(0x4,_0x453f4e[_0x426336(0x151)](_0x210f5e[_0x426336(0x122)])),_0x347e8b(0x5,_0x453f4e[_0x426336(0x151)](_0x2f81c0[_0x426336(0x235)])),_0x347e8b(0x6,_0x453f4e[_0x426336(0x151)](_0x4f5e86[_0x426336(0x157)]))],_0x28365d);function _0x522842(_0x35b158){const _0x518c59=_0x426336;var _0x2fb413,_0x175b3f;const _0x1891b8=[],{entities:_0x27b42e,historyIds:_0x34651e}=_0x35b158,{datas:_0x530e46,users:_0x1dab9d}=_0x27b42e;for(const _0x289ca2 of _0x34651e){const _0x21d8b9=_0x530e46[_0x289ca2];if(_0x21d8b9){const _0x2c988a=!!((_0x2fb413=_0x1dab9d[_0x21d8b9[_0x518c59(0x279)]])!=null&&_0x2fb413[_0x518c59(0x31e)]);_0x1891b8['push']({'unitId':_0x21d8b9[_0x518c59(0x20d)],'user':_0x2c988a?'':((_0x175b3f=_0x1dab9d==null?void 0x0:_0x1dab9d[_0x21d8b9['userId']])==null?void 0x0:_0x175b3f[_0x518c59(0x117)])||'','isAnonymous':_0x2c988a,'id':_0x289ca2,'time':_0x21d8b9['createTime']?Number(_0x21d8b9['createTime']):void 0x0,'commands':_0x21d8b9['command'],'startRev':Number(_0x21d8b9[_0x518c59(0x1ab)]),'endRev':Number(_0x21d8b9['endRevision']),'recoverTime':_0x21d8b9[_0x518c59(0x32f)]?Number(_0x21d8b9['recoverTime']):void 0x0,'additionalFields':_0x21d8b9['additionalFields']});}}return _0x1891b8;}var _0x346c1b=Object[_0x426336(0x2d1)],_0x393497=(_0x433f71,_0x5e9818,_0x1cc59f,_0x4b13ae)=>{const _0x44b4d3=_0x426336;for(var _0xb387da=_0x4b13ae>0x1?void 0x0:_0x4b13ae?_0x346c1b(_0x5e9818,_0x1cc59f):_0x5e9818,_0x2e6ceb=_0x433f71[_0x44b4d3(0x156)]-0x1,_0x12dbcb;_0x2e6ceb>=0x0;_0x2e6ceb--)(_0x12dbcb=_0x433f71[_0x2e6ceb])&&(_0xb387da=_0x12dbcb(_0xb387da)||_0xb387da);return _0xb387da;},_0x2411d7=(_0x43036b,_0x2dc85d)=>(_0x5b07ac,_0x3f716e)=>_0x2dc85d(_0x5b07ac,_0x3f716e,_0x43036b),_0xe51592=(_0x5ef247=>(_0x5ef247[_0x426336(0x22d)]='entered',_0x5ef247['Exited']=_0x426336(0x1cc),_0x5ef247[_0x426336(0x11e)]=_0x426336(0x2b6),_0x5ef247))(_0xe51592||{}),_0x19995e=(_0x314509=>(_0x314509['Init']=_0x426336(0x167),_0x314509[_0x426336(0x1a2)]=_0x426336(0x2bc),_0x314509[_0x426336(0x1b2)]=_0x426336(0x302),_0x314509))(_0x19995e||{});const _0x38c56b=_0x426336(0x1a1);_0x22872a['HistoryManagerService']=class extends _0x453f4e[_0x426336(0x274)]{constructor(_0x13dff1,_0x2f5b03,_0x710612,_0x5e8f19){const _0x944883=_0x426336;super(),_0x3e8d0c(this,_0x944883(0x305),new _0x511bc8[(_0x944883(0x2b4))]([])),_0x3e8d0c(this,_0x944883(0x18f),this['_versions$'][_0x944883(0x17a)]()),_0x3e8d0c(this,'_currentVersion$',new _0x511bc8[(_0x944883(0x2b4))]('')),_0x3e8d0c(this,_0x944883(0x144),this[_0x944883(0x2b2)][_0x944883(0x17a)]()),_0x3e8d0c(this,_0x944883(0x33e),new _0x511bc8[(_0x944883(0x2b4))](_0x944883(0x130))),_0x3e8d0c(this,_0x944883(0x2a8),this['_status$']['asObservable']()),_0x3e8d0c(this,'_revertRevision$',new _0x511bc8[(_0x944883(0x2b4))](0x0)),_0x3e8d0c(this,_0x944883(0x1d6),this[_0x944883(0x34b)]['asObservable']()),_0x3e8d0c(this,_0x944883(0x19c),new _0x511bc8[(_0x944883(0x2b4))]('')),_0x3e8d0c(this,_0x944883(0x17d),this['_unitId$'][_0x944883(0x17a)]()),_0x3e8d0c(this,_0x944883(0x1f8),new _0x511bc8[(_0x944883(0x2b4))](!0x1)),_0x3e8d0c(this,_0x944883(0x1ae),this[_0x944883(0x1f8)]['asObservable']()),_0x3e8d0c(this,_0x944883(0x195),new _0x511bc8[(_0x944883(0x2b4))]([])),_0x3e8d0c(this,_0x944883(0x1e9),this[_0x944883(0x195)]['asObservable']()),_0x3e8d0c(this,_0x944883(0x1e3),new _0x511bc8['BehaviorSubject'](_0x944883(0x167))),_0x3e8d0c(this,_0x944883(0xfd),this['_loadingState$']['asObservable']()),_0x3e8d0c(this,_0x944883(0x1dc),null),_0x3e8d0c(this,_0x944883(0x289),!0x0),_0x3e8d0c(this,_0x944883(0x1cb),new Map()),_0x3e8d0c(this,_0x944883(0x334)),_0x3e8d0c(this,_0x944883(0x10c)),_0x3e8d0c(this,'_maskElement'),_0x3e8d0c(this,_0x944883(0x234),!0x1),_0x3e8d0c(this,_0x944883(0x2aa),null),(this['_messageService']=_0x13dff1,this[_0x944883(0x191)]=_0x2f5b03,this[_0x944883(0x1df)]=_0x710612,this[_0x944883(0x1fa)]=_0x5e8f19);}[_0x426336(0x187)](_0x1f9e8f){const _0xab3ae=_0x426336;this[_0xab3ae(0x1f8)]['next'](_0x1f9e8f);}get[_0x426336(0x22e)](){const _0x28a4e5=_0x426336;return this['_fetching$'][_0x28a4e5(0x2ea)];}async[_0x426336(0x259)](_0x4c2fa1,_0x24d639,_0x45e139){const _0x280374=_0x426336;this['_historyContainerId']=_0x24d639,this[_0x280374(0x234)]=_0x45e139,await this[_0x280374(0x299)](_0x4c2fa1);}async['loadInitialVersions'](_0x10b4d8,_0x38b55f){const _0x210c15=_0x426336;this[_0x210c15(0x19c)][_0x210c15(0x1b7)](_0x10b4d8),this[_0x210c15(0x2aa)]=_0x38b55f!=null?_0x38b55f:null,this[_0x210c15(0x187)](!0x0);const _0x2d684e=await this[_0x210c15(0x1fa)][_0x210c15(0x21e)](_0x10b4d8,_0x38b55f);if(this[_0x210c15(0x187)](!0x1),_0x2d684e){const {versions:_0x14957b,lastLabel:_0x5cc2d4,hasMore:_0x144d32,members:_0xf68aae}=_0x2d684e;_0x14957b['length']===0x0&&_0x14957b[_0x210c15(0x223)]({'unitId':_0x10b4d8,'id':_0x38c56b,'startRev':0x1,'endRev':0x0,'time':Date[_0x210c15(0x1b3)](),'user':this[_0x210c15(0x1df)]['t'](_0x210c15(0x208)),'commands':[],'isAnonymous':!0x1}),this[_0x210c15(0x1c6)](_0x14957b,_0x144d32,_0x5cc2d4,!0x1,_0xf68aae),this[_0x210c15(0x2b2)][_0x210c15(0x1b7)](_0x14957b[0x0]['id']);}else this['_status$']['next'](_0x210c15(0x2b6));}async[_0x426336(0x2ef)](){const _0x44f823=_0x426336;if(!this['_lastLabel']||!this[_0x44f823(0x289)]||this[_0x44f823(0x22e)])return!0x1;this[_0x44f823(0x187)](!0x0);const _0x45c12e=await this[_0x44f823(0x1fa)]['getVersions'](this['unitId'],{'lastLabel':this[_0x44f823(0x1dc)],...this[_0x44f823(0x2aa)]});if(this[_0x44f823(0x187)](!0x1),_0x45c12e){const {versions:_0x4bf62e,lastLabel:_0x134c3f,hasMore:_0x6d75a0,members:_0x375bf5}=_0x45c12e;this[_0x44f823(0x1c6)](_0x4bf62e,_0x6d75a0,_0x134c3f,!0x0,_0x375bf5);}else this[_0x44f823(0x1e8)][_0x44f823(0x33f)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x63f929[_0x44f823(0x1aa)][_0x44f823(0x11e)],'duration':0xbb8});return!0x0;}async[_0x426336(0x280)](){const _0x4fc8b8=_0x426336,{unitId:_0x3b8bab}=this;if(!_0x3b8bab)return;const _0x5bbd8d=await this[_0x4fc8b8(0x1fa)][_0x4fc8b8(0x2ba)](_0x3b8bab);_0x5bbd8d&&this['_creators$'][_0x4fc8b8(0x1b7)](_0x5bbd8d);}async['triggerLoadSheet'](_0x4bec29){const _0x5dbc71=_0x426336;var _0x172f14;const _0x51b8d3=(_0x172f14=this[_0x5dbc71(0x305)][_0x5dbc71(0x2ea)])==null?void 0x0:_0x172f14[_0x5dbc71(0x2ad)](_0x18b192=>_0x18b192['id']===_0x4bec29),{endRev:_0x3a4718}=_0x51b8d3||{};_0x3a4718||_0x3a4718===0x0?(this['_loadingState$'][_0x5dbc71(0x1b7)](_0x5dbc71(0x2bc)),await this[_0x5dbc71(0x1fa)][_0x5dbc71(0x23f)](this[_0x5dbc71(0x20d)],_0x3a4718),this[_0x5dbc71(0x1e3)][_0x5dbc71(0x1b7)](_0x5dbc71(0x302))):this[_0x5dbc71(0x33e)]['next'](_0x5dbc71(0x2b6));}async[_0x426336(0x106)](_0x4c330e){const _0x7a352b=_0x426336,_0x103131=_0x4c330e?this[_0x7a352b(0x328)](_0x4c330e):this[_0x7a352b(0x2a5)]();if(!_0x103131)return;const _0x53220e=_0x103131[_0x7a352b(0x2e4)],_0x57c5ce=_0x3beab7(_0x103131[_0x7a352b(0x1c1)],this['_localeService'][_0x7a352b(0x169)]());await this[_0x7a352b(0x191)]['confirm']({'id':'confirm-revert-revision','title':{'title':this[_0x7a352b(0x1df)]['t'](_0x7a352b(0x260))},'children':{'title':this['_localeService']['t'](_0x7a352b(0x19a))+_0x7a352b(0x229)+_0x57c5ce[_0x7a352b(0x349)]+'\x20'+_0x57c5ce[_0x7a352b(0x1c1)]+')'},'cancelText':this[_0x7a352b(0x1df)]['t'](_0x7a352b(0x132)),'confirmText':this[_0x7a352b(0x1df)]['t'](_0x7a352b(0xfc))})&&this[_0x7a352b(0x34b)][_0x7a352b(0x1b7)](_0x53220e);}[_0x426336(0x1c6)](_0x30e19c,_0x2c1f2c,_0x149b8b,_0x4c9e3d,_0xb504f5){const _0x1c00b6=_0x426336;this[_0x1c00b6(0x270)](_0x4c9e3d?this[_0x1c00b6(0x305)]['value'][_0x1c00b6(0x264)](_0x30e19c):_0x30e19c),this[_0x1c00b6(0x289)]=_0x2c1f2c,this[_0x1c00b6(0x1dc)]=_0x149b8b,_0xb504f5&&Object[_0x1c00b6(0x306)](_0xb504f5)[_0x1c00b6(0x263)](_0x322a90=>this[_0x1c00b6(0x1cb)][_0x1c00b6(0xff)](_0x322a90,_0xb504f5[_0x322a90]));}[_0x426336(0x2a5)](){const _0xc24b9c=_0x426336;return this[_0xc24b9c(0x328)](this[_0xc24b9c(0x2b2)][_0xc24b9c(0x2ea)]);}['_setVersions'](_0x11c255){const _0x5af53f=_0x426336;this[_0x5af53f(0x305)]['next'](_0x11c255);}[_0x426336(0x328)](_0x58d29a){const _0x1359ca=_0x426336;var _0x35d7a1;return(_0x35d7a1=this[_0x1359ca(0x305)]['value'])==null?void 0x0:_0x35d7a1[_0x1359ca(0x2ad)](_0x4dc741=>_0x4dc741['id']===_0x58d29a);}[_0x426336(0x311)](_0x164a5e){const _0x16d953=_0x426336;return this[_0x16d953(0x1cb)][_0x16d953(0x1ba)](_0x164a5e);}[_0x426336(0x31a)](){const _0x1220f4=_0x426336;this[_0x1220f4(0x165)]=document[_0x1220f4(0x115)](_0x1220f4(0x28c)),this[_0x1220f4(0x165)][_0x1220f4(0x26c)]=_0x1220f4(0x1de),this[_0x1220f4(0x165)]['style'][_0x1220f4(0x301)]=_0x1220f4(0x340),this['_maskElement']['style'][_0x1220f4(0x2d7)]='0',this[_0x1220f4(0x165)][_0x1220f4(0x33d)]['left']='0',this[_0x1220f4(0x165)][_0x1220f4(0x33d)][_0x1220f4(0x128)]=_0x1220f4(0x2cf),this[_0x1220f4(0x165)]['style'][_0x1220f4(0x189)]=_0x1220f4(0x2cf),this[_0x1220f4(0x165)][_0x1220f4(0x33d)][_0x1220f4(0x2d9)]=_0x1220f4(0x2f2),this[_0x1220f4(0x165)]['style'][_0x1220f4(0x2fd)]=_0x1220f4(0x118),this[_0x1220f4(0x165)][_0x1220f4(0x33d)]['display']=_0x1220f4(0x215),this[_0x1220f4(0x165)]['style'][_0x1220f4(0x2a1)]=_0x1220f4(0x251),this[_0x1220f4(0x165)][_0x1220f4(0x33d)][_0x1220f4(0x177)]=_0x1220f4(0x285),this[_0x1220f4(0x165)][_0x1220f4(0x33d)][_0x1220f4(0x13e)]=_0x1220f4(0x25a),this['_maskContainer'][_0x1220f4(0x1f5)](this['_maskElement']);}[_0x426336(0x2b1)](){const _0x472841=_0x426336;var _0x20d1f2;const _0x1ebd24=(_0x20d1f2=document[_0x472841(0x1bc)](this['_historyContainerId']))==null?void 0x0:_0x20d1f2[_0x472841(0x112)](_0x472841(0x214));_0x1ebd24&&(this['_maskContainer']=_0x1ebd24,this[_0x472841(0x31a)]());}['showMask'](){const _0xa0a4a5=_0x426336;this[_0xa0a4a5(0x10c)]||this[_0xa0a4a5(0x2b1)](),this[_0xa0a4a5(0x165)]&&(this[_0xa0a4a5(0x165)][_0xa0a4a5(0x33d)][_0xa0a4a5(0x13e)]=_0xa0a4a5(0x215));}['hideMask'](){const _0x13c51e=_0x426336;this[_0x13c51e(0x165)]&&(this[_0x13c51e(0x165)][_0x13c51e(0x33d)][_0x13c51e(0x13e)]='none');}set['status'](_0x21e139){const _0x5ea1ac=_0x426336;this[_0x5ea1ac(0x33e)][_0x5ea1ac(0x1b7)](_0x21e139);}set[_0x426336(0x32b)](_0x4b4160){_0x4b4160!==this['_currentVersion$']['value']&&this['_currentVersion$']['next'](_0x4b4160);}get[_0x426336(0x32b)](){const _0x9a6a45=_0x426336;return this['_currentVersion$'][_0x9a6a45(0x2ea)];}set[_0x426336(0x20d)](_0x4099e7){const _0x1fd0ae=_0x426336;this[_0x1fd0ae(0x19c)][_0x1fd0ae(0x1b7)](_0x4099e7);}get[_0x426336(0x20d)](){const _0x76d894=_0x426336;return this[_0x76d894(0x19c)][_0x76d894(0x2ea)];}get[_0x426336(0x2c0)](){const _0x38225e=_0x426336;return this[_0x38225e(0x234)];}get[_0x426336(0x296)](){const _0x4e4d14=_0x426336;return this[_0x4e4d14(0x1e3)]['value'];}},_0x22872a['HistoryManagerService']=_0x393497([_0x2411d7(0x0,_0x222485[_0x426336(0x113)]),_0x2411d7(0x1,_0x453f4e[_0x426336(0x1c5)]),_0x2411d7(0x2,_0x453f4e[_0x426336(0x151)](_0x453f4e[_0x426336(0x1f4)])),_0x2411d7(0x3,_0x453f4e[_0x426336(0x151)](_0x28365d))],_0x22872a['HistoryManagerService']);function _0x115576({ref:_0x16497b,..._0x4d7739}){const _0x26c7a1=_0x426336,{icon:_0x2e6afa,id:_0xb51f70,className:_0x3ca3b4,extend:_0xf5bbc1,..._0x3f9626}=_0x4d7739,_0x3d6a79=('univerjs-icon\x20univerjs-icon-'+_0xb51f70+'\x20'+(_0x3ca3b4||''))['trim'](),_0x205970=_0x520025[_0x26c7a1(0x2fc)]('_'+_0x5bfb7c());return _0x5b9d59(_0x2e6afa,''+_0xb51f70,{'defIds':_0x2e6afa[_0x26c7a1(0x2f1)],'idSuffix':_0x205970[_0x26c7a1(0x2c5)]},{'ref':_0x16497b,'className':_0x3d6a79,..._0x3f9626},_0xf5bbc1);}function _0x5b9d59(_0x45f78c,_0x302599,_0x192ebc,_0xf50b5f,_0x128a98){const _0x3527d3=_0x426336;return _0x520025['createElement'](_0x45f78c[_0x3527d3(0x1d7)],{'key':_0x302599,..._0xb4dc6f(_0x45f78c,_0x192ebc,_0x128a98),..._0xf50b5f},(_0x547de6(_0x45f78c,_0x192ebc)[_0x3527d3(0x27f)]||[])[_0x3527d3(0x1c2)]((_0x2fdf71,_0x556c85)=>_0x5b9d59(_0x2fdf71,_0x302599+'-'+_0x45f78c[_0x3527d3(0x1d7)]+'-'+_0x556c85,_0x192ebc,void 0x0,_0x128a98)));}function _0xb4dc6f(_0x393a7f,_0x2ec64c,_0x4589ff){const _0x3c78cc=_0x426336,_0x4bab99={..._0x393a7f[_0x3c78cc(0x178)]};_0x4589ff!=null&&_0x4589ff['colorChannel1']&&_0x4bab99[_0x3c78cc(0x14a)]===_0x3c78cc(0x213)&&(_0x4bab99[_0x3c78cc(0x14a)]=_0x4589ff['colorChannel1']),_0x393a7f[_0x3c78cc(0x1d7)]===_0x3c78cc(0x257)&&_0x4bab99['id']&&(_0x4bab99['id']=_0x4bab99['id']+_0x2ec64c['idSuffix']),Object[_0x3c78cc(0x2fe)](_0x4bab99)['forEach'](([_0x595120,_0x53731b])=>{const _0x14716b=_0x3c78cc;_0x595120==='mask'&&typeof _0x53731b==_0x14716b(0x295)&&(_0x4bab99[_0x595120]=_0x53731b[_0x14716b(0x133)](/url\(#(.*)\)/,_0x14716b(0x18b)+_0x2ec64c[_0x14716b(0x30e)]+')'));});const {defIds:_0x333852}=_0x2ec64c;return!_0x333852||_0x333852[_0x3c78cc(0x156)]===0x0||(_0x393a7f[_0x3c78cc(0x1d7)]===_0x3c78cc(0x2d2)&&_0x4bab99[_0x3c78cc(0x100)]&&(_0x4bab99[_0x3c78cc(0x100)]=_0x4bab99['xlink:href']+_0x2ec64c['idSuffix']),Object['entries'](_0x4bab99)['forEach'](([_0x7f6aff,_0x12fa7a])=>{const _0x5b3b67=_0x3c78cc;typeof _0x12fa7a==_0x5b3b67(0x295)&&(_0x4bab99[_0x7f6aff]=_0x12fa7a[_0x5b3b67(0x133)](/url\(#(.*)\)/,_0x5b3b67(0x18b)+_0x2ec64c['idSuffix']+')'));})),_0x4bab99;}function _0x547de6(_0xab6136,_0xc8ef8f){const _0x42584d=_0x426336;var _0x1050ef;const {defIds:_0x457316}=_0xc8ef8f;return!_0x457316||_0x457316['length']===0x0?_0xab6136:_0xab6136[_0x42584d(0x1d7)]===_0x42584d(0x12a)&&((_0x1050ef=_0xab6136[_0x42584d(0x27f)])!=null&&_0x1050ef['length'])?{..._0xab6136,'children':_0xab6136['children'][_0x42584d(0x1c2)](_0x52ede9=>typeof _0x52ede9['attrs']['id']==_0x42584d(0x295)&&_0x457316&&_0x457316[_0x42584d(0x12b)](_0x52ede9['attrs']['id'])?{..._0x52ede9,'attrs':{..._0x52ede9[_0x42584d(0x178)],'id':_0x52ede9[_0x42584d(0x178)]['id']+_0xc8ef8f[_0x42584d(0x30e)]}}:_0x52ede9)}:_0xab6136;}function _0x5bfb7c(){const _0x43a0ea=_0x426336;return Math[_0x43a0ea(0x212)]()[_0x43a0ea(0x329)](0x24)[_0x43a0ea(0x27d)](0x2,0x8);}_0x115576[_0x426336(0x31f)]=_0x426336(0x2df);const _0x19f08a={'tag':_0x426336(0x164),'attrs':{'xmlns':_0x426336(0x25c),'fill':_0x426336(0x25a),'viewBox':_0x426336(0x162),'width':_0x426336(0x2ca),'height':_0x426336(0x2ca)},'children':[{'tag':_0x426336(0x1ee),'attrs':{'fill':_0x426336(0x1a0),'d':_0x426336(0x2de)}}]},_0x345355=_0x520025[_0x426336(0x332)](function(_0x432476,_0x12f6f6){const _0x246405=_0x426336;return _0x520025[_0x246405(0x115)](_0x115576,Object[_0x246405(0x2f7)]({},_0x432476,{'id':_0x246405(0x116),'ref':_0x12f6f6,'icon':_0x19f08a}));});_0x345355[_0x426336(0x31f)]=_0x426336(0x19b);const _0xff15f2={'tag':_0x426336(0x164),'attrs':{'xmlns':_0x426336(0x25c),'fill':_0x426336(0x25a),'viewBox':_0x426336(0x309),'width':_0x426336(0x2ca),'height':_0x426336(0x2ca)},'children':[{'tag':'g','attrs':{'fill':_0x426336(0x1a0),'clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x426336(0x1ee),'attrs':{'d':'M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z'}},{'tag':'path','attrs':{'d':_0x426336(0x179),'fillRule':_0x426336(0x2cb),'clipRule':_0x426336(0x2cb)}}]},{'tag':_0x426336(0x12a),'attrs':{},'children':[{'tag':_0x426336(0x198),'attrs':{'id':'restore-icon_clip0_1247_2'},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':'white','rx':0x4}}]}]}],'defIds':[_0x426336(0x14e)]},_0x57da55=_0x520025[_0x426336(0x332)](function(_0x1e74b6,_0x526be2){const _0x1cc286=_0x426336;return _0x520025['createElement'](_0x115576,Object[_0x1cc286(0x2f7)]({},_0x1e74b6,{'id':_0x1cc286(0x2ae),'ref':_0x526be2,'icon':_0xff15f2}));});_0x57da55[_0x426336(0x31f)]=_0x426336(0x27a);const _0x159af8={'tag':_0x426336(0x164),'attrs':{'xmlns':_0x426336(0x25c),'fill':_0x426336(0x25a),'viewBox':_0x426336(0x162),'width':_0x426336(0x2ca),'height':_0x426336(0x2ca)},'children':[{'tag':_0x426336(0x1ee),'attrs':{'fill':_0x426336(0x110),'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':_0x426336(0x2cb),'clipRule':_0x426336(0x2cb)}},{'tag':'path','attrs':{'fill':_0x426336(0x110),'d':_0x426336(0x11f),'fillRule':_0x426336(0x2cb),'clipRule':_0x426336(0x2cb)}}]},_0x1e7e5f=_0x520025[_0x426336(0x332)](function(_0x80163a,_0x33c984){const _0x37141e=_0x426336;return _0x520025['createElement'](_0x115576,Object[_0x37141e(0x2f7)]({},_0x80163a,{'id':_0x37141e(0x186),'ref':_0x33c984,'icon':_0x159af8}));});_0x1e7e5f[_0x426336(0x31f)]=_0x426336(0x2e7);function _0x5c33a1(){const _0x58e820=_0x426336;var _0x26c763;const _0x568ed5=_0x222485[_0x58e820(0x139)](_0x22872a[_0x58e820(0x266)]),_0x57b2fc=_0x222485[_0x58e820(0x139)](_0x453f4e[_0x58e820(0x1f4)]),_0x280b06=_0x520025[_0x58e820(0x293)](()=>{const _0x1a96e8=_0x58e820;_0x568ed5[_0x1a96e8(0x1ea)]=_0xe51592[_0x1a96e8(0x199)];},[_0x568ed5]),_0x1a175a=_0x520025[_0x58e820(0x293)](()=>{const _0x581d0a=_0x58e820;_0x568ed5[_0x581d0a(0x106)]();},[_0x568ed5]),_0x4bb511=_0x222485[_0x58e820(0x145)](_0x568ed5['currentVersion$']),_0x4f2442=_0x222485[_0x58e820(0x145)](_0x568ed5['versions$']),_0x45c1d8=_0x4bb511===((_0x26c763=_0x4f2442==null?void 0x0:_0x4f2442[0x0])==null?void 0x0:_0x26c763['id']),_0x1dc06a=_0x4bb511!==''&&!_0x45c1d8&&_0x568ed5[_0x58e820(0x2c0)];return _0x4058c4[_0x58e820(0x29b)](_0x58e820(0x28c),{'className':_0x63f929[_0x58e820(0x1d2)](_0x58e820(0x129),_0x63f929[_0x58e820(0x29d)]),'children':[_0x4058c4[_0x58e820(0x287)]('a',{'className':_0x58e820(0x18a),'role':_0x58e820(0x29e),'onClick':_0x280b06,'children':_0x4058c4[_0x58e820(0x287)](_0x345355,{'className':_0x58e820(0x255)})}),_0x4058c4[_0x58e820(0x287)]('div',{'className':'univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','children':_0x1dc06a&&_0x4058c4[_0x58e820(0x287)](_0x63f929[_0x58e820(0x2b8)],{'variant':_0x58e820(0x147),'onClick':_0x1a175a,'children':_0x57b2fc['t'](_0x58e820(0x33c))})})]});}var _0xcc0723=Object['getOwnPropertyDescriptor'],_0x2c0eab=(_0x159bfa,_0x419fe7,_0x23faf2,_0x6e5e08)=>{const _0x526f48=_0x426336;for(var _0x5d3939=_0x6e5e08>0x1?void 0x0:_0x6e5e08?_0xcc0723(_0x419fe7,_0x23faf2):_0x419fe7,_0x407a18=_0x159bfa[_0x526f48(0x156)]-0x1,_0x1cc75f;_0x407a18>=0x0;_0x407a18--)(_0x1cc75f=_0x159bfa[_0x407a18])&&(_0x5d3939=_0x1cc75f(_0x5d3939)||_0x5d3939);return _0x5d3939;},_0x558c2a=(_0x1d0961,_0x5b47bb)=>(_0x1e4c03,_0x12dd07)=>_0x5b47bb(_0x1e4c03,_0x12dd07,_0x1d0961);let _0x15a5b8=class extends _0x453f4e[_0x426336(0x274)]{constructor(_0x34e9b3,_0x3dc822,_0x2f7cf8,_0x2d45fd,_0x5e1cd7,_0x17e819){const _0x3434fc=_0x426336;super(),this[_0x3434fc(0x134)]=_0x34e9b3,this[_0x3434fc(0x18c)]=_0x3dc822,this[_0x3434fc(0x1e8)]=_0x2f7cf8,this[_0x3434fc(0x1df)]=_0x2d45fd,this[_0x3434fc(0x1e6)]=_0x5e1cd7,this[_0x3434fc(0x2f5)]=_0x17e819,this[_0x3434fc(0x335)]();}['_init'](){const _0x4a17c6=_0x426336;this['disposeWithMe'](this[_0x4a17c6(0x1e6)][_0x4a17c6(0x144)]['subscribe'](_0x563129=>{const _0x54c2cb=_0x4a17c6;_0x563129&&this[_0x54c2cb(0x1e6)][_0x54c2cb(0x2b0)](_0x563129);})),this[_0x4a17c6(0x2c9)](this[_0x4a17c6(0x134)][_0x4a17c6(0x2b3)]['subscribe'](_0x2e733f=>{const _0x13c763=_0x4a17c6,_0x1d150d=this[_0x13c763(0x1e6)][_0x13c763(0x20d)];_0x1d150d&&(_0x2e733f['subType']===_0x949573[_0x13c763(0x268)]&&_0x2e733f[_0x13c763(0x2ea)]===!0x0&&this['_permissionService'][_0x13c763(0x322)](new _0x4f5e86[(_0x13c763(0x23a))](_0x1d150d)['id'],!0x1),_0x2e733f['subType']===_0x949573['RenameSheet']&&_0x2e733f[_0x13c763(0x2ea)]===!0x0&&this[_0x13c763(0x134)]['updatePermissionPoint'](new _0x4f5e86[(_0x13c763(0x16f))](_0x1d150d)['id'],!0x1),_0x2e733f[_0x13c763(0x321)]===_0x949573[_0x13c763(0x158)]&&_0x2e733f[_0x13c763(0x2ea)]===!0x0&&this[_0x13c763(0x134)][_0x13c763(0x322)](new _0x4f5e86['WorkbookMoveSheetPermission'](_0x1d150d)['id'],!0x1),_0x2e733f[_0x13c763(0x321)]===_0x949573[_0x13c763(0x30b)]&&_0x2e733f[_0x13c763(0x2ea)]===!0x0&&this[_0x13c763(0x134)][_0x13c763(0x322)](new _0x4f5e86['WorkbookHideSheetPermission'](_0x1d150d)['id'],!0x1),_0x2e733f['subType']===_0x949573[_0x13c763(0x346)]&&_0x2e733f[_0x13c763(0x2ea)]===!0x0&&this['_permissionService'][_0x13c763(0x322)](new _0x4f5e86['WorkbookEditablePermission'](_0x1d150d)['id'],!0x1),_0x2e733f[_0x13c763(0x321)]===_0x949573[_0x13c763(0x119)]&&_0x2e733f[_0x13c763(0x2ea)]===!0x0&&this[_0x13c763(0x134)][_0x13c763(0x322)](new _0x4f5e86[(_0x13c763(0x23a))](_0x1d150d)['id'],!0x1));})),this['disposeWithMe'](this[_0x4a17c6(0x18c)][_0x4a17c6(0x17b)](_0x222485[_0x4a17c6(0x20a)][_0x4a17c6(0x28d)],()=>_0x222485['connectInjector'](_0x5c33a1,this[_0x4a17c6(0x2f5)])));let _0x5134b4;this[_0x4a17c6(0x2c9)](this[_0x4a17c6(0x1e6)]['loadingState$'][_0x4a17c6(0x218)](_0x43c937=>{const _0x93eff6=_0x4a17c6;_0x5134b4==null||_0x5134b4[_0x93eff6(0x2ec)](),_0x43c937===_0x19995e['Loading']&&(this[_0x93eff6(0x1e6)][_0x93eff6(0x254)](),_0x5134b4=this[_0x93eff6(0x1e8)]['show']({'type':_0x63f929[_0x93eff6(0x1aa)][_0x93eff6(0x125)],'content':this[_0x93eff6(0x1df)]['t'](_0x93eff6(0x124))})),_0x43c937===_0x19995e[_0x93eff6(0x1b2)]&&this[_0x93eff6(0x1e6)]['hideMask']();}));}};_0x15a5b8=_0x2c0eab([_0x558c2a(0x0,_0x453f4e[_0x426336(0x1cf)]),_0x558c2a(0x1,_0x222485['IUIPartsService']),_0x558c2a(0x2,_0x222485['IMessageService']),_0x558c2a(0x3,_0x453f4e[_0x426336(0x151)](_0x453f4e[_0x426336(0x1f4)])),_0x558c2a(0x4,_0x453f4e['Inject'](_0x22872a[_0x426336(0x266)])),_0x558c2a(0x5,_0x453f4e[_0x426336(0x151)](_0x453f4e['Injector']))],_0x15a5b8);var _0x427580=Object['getOwnPropertyDescriptor'],_0x593574=(_0x133cd2,_0x46c0c5,_0x4b759a,_0x94363d)=>{const _0x4f813a=_0x426336;for(var _0x445d6e=_0x94363d>0x1?void 0x0:_0x94363d?_0x427580(_0x46c0c5,_0x4b759a):_0x46c0c5,_0x186708=_0x133cd2[_0x4f813a(0x156)]-0x1,_0x417cc1;_0x186708>=0x0;_0x186708--)(_0x417cc1=_0x133cd2[_0x186708])&&(_0x445d6e=_0x417cc1(_0x445d6e)||_0x445d6e);return _0x445d6e;},_0x2c6a9a=(_0x30610f,_0x4b4b5a)=>(_0x1cea2c,_0x1c5109)=>_0x4b4b5a(_0x1cea2c,_0x1c5109,_0x30610f);let _0x302cda=class extends _0x453f4e[_0x426336(0x274)]{constructor(_0x21428a,_0x333b8c,_0x1f86df){const _0x5ae254=_0x426336;super(),_0x3e8d0c(this,_0x5ae254(0x237),new Map()),_0x3e8d0c(this,_0x5ae254(0x173),new _0x511bc8[(_0x5ae254(0x2b4))]({'ranges':new Map(),'active':null})),_0x3e8d0c(this,_0x5ae254(0x337),this[_0x5ae254(0x173)][_0x5ae254(0x17a)]()),(this[_0x5ae254(0x1e6)]=_0x21428a,this[_0x5ae254(0x19f)]=_0x333b8c,this[_0x5ae254(0x13b)]=_0x1f86df,this[_0x5ae254(0x335)]());}[_0x426336(0x335)](){const _0x109270=_0x426336;this['_diffRangesMap']=new Map(),this['disposeWithMe'](this['_historyManagerService'][_0x109270(0x17d)][_0x109270(0x218)](_0x3d8b07=>{const _0x5115d5=_0x109270;_0x3d8b07&&!this[_0x5115d5(0x237)]['has'](_0x3d8b07)&&this['_diffRangesMap'][_0x5115d5(0xff)](_0x3d8b07,new Map());})),this['disposeWithMe'](this[_0x109270(0x1e6)][_0x109270(0x144)]['subscribe'](async _0x5195f1=>{const _0x4252bf=_0x109270;var _0x5b0fa0;_0x5195f1&&(await this[_0x4252bf(0x307)](_0x5195f1),this['_currentVersionDiff$'][_0x4252bf(0x1b7)](((_0x5b0fa0=this[_0x4252bf(0x237)][_0x4252bf(0x1ba)](this[_0x4252bf(0x1e6)]['unitId']))==null?void 0x0:_0x5b0fa0[_0x4252bf(0x1ba)](_0x5195f1))||{'ranges':new Map(),'active':null}));}));}async[_0x426336(0x307)](_0x1a8cbc){const _0x58dc85=_0x426336;var _0x37631f,_0x1a5da4;const _0x4e3450=this[_0x58dc85(0x1e6)][_0x58dc85(0x328)](_0x1a8cbc),_0x275989=this[_0x58dc85(0x1e6)][_0x58dc85(0x20d)];if(!_0x4e3450||!_0x275989)return;const _0x22e9fe=this[_0x58dc85(0x237)][_0x58dc85(0x1ba)](_0x275989);if(_0x22e9fe||this[_0x58dc85(0x237)][_0x58dc85(0xff)](_0x275989,new Map()),(_0x37631f=this[_0x58dc85(0x237)][_0x58dc85(0x1ba)](_0x275989))!=null&&_0x37631f['has'](_0x4e3450['id']))return;const {startRev:_0x6ede5,endRev:_0x4c0a6a}=_0x4e3450;if(_0x6ede5===0x1){_0x22e9fe[_0x58dc85(0xff)](_0x4e3450['id'],{'ranges':new Map(),'active':null});return;}const _0x2927e9=_0x6ede5-0x1,_0x2b7f00=_0x4c0a6a,_0x50e87b=await this[_0x58dc85(0x13b)]['fetchMissingChangesets']({},{'unitID':_0x275989,'from':_0x2927e9,'to':_0x2b7f00,'type':_0x30dc77[_0x58dc85(0x152)]});if(((_0x1a5da4=_0x50e87b[_0x58dc85(0x2b6)])==null?void 0x0:_0x1a5da4['code'])===_0x425752['OK']){const _0x53e74d=_0x50e87b[_0x58dc85(0x271)]['map'](_0xb976ae=>((_0xb976ae['mutations']===null||_0xb976ae['mutations']===void 0x0)&&(_0xb976ae[_0x58dc85(0x252)]=[]),_0x2f81c0[_0x58dc85(0x1dd)](_0xb976ae)))[_0x58dc85(0x1c2)](_0x65064a=>_0x65064a[_0x58dc85(0x252)]['map'](_0x1deb0f=>({..._0x1deb0f,'params':{..._0x1deb0f[_0x58dc85(0x2e3)],'memberId':_0x65064a['userID']}})))[_0x58dc85(0x347)](),_0x525256=await this[_0x58dc85(0x1b4)](_0x53e74d),_0x473b31=this[_0x58dc85(0x138)](_0x53e74d),_0x2d9a3f=this[_0x58dc85(0x2cd)](_0x525256);_0x22e9fe[_0x58dc85(0xff)](_0x4e3450['id'],{'ranges':_0x2d9a3f,'active':_0x473b31});}}async[_0x426336(0x1b4)](_0x5beb18){const _0x2ae518=_0x426336;let _0x1fa38f=[];for(let _0x12beab=0x0;_0x12beab<_0x5beb18[_0x2ae518(0x156)];_0x12beab++){const _0x412812=_0x5beb18[_0x12beab];if(_0x1fa38f[_0x2ae518(0x223)](_0x412812),_0x12beab!==_0x5beb18[_0x2ae518(0x156)]-0x1){const _0x24bd45=_0x5beb18[_0x12beab+0x1],_0x204d16=this[_0x2ae518(0x19f)]['transformMutations'](_0x1fa38f,[_0x24bd45]);_0x2f81c0[_0x2ae518(0x171)](_0x204d16)?_0x1fa38f=_0x204d16['m1Prime']:_0x1fa38f=[];}_0x12beab%0xa===0x0&&_0x12beab>0x0&&await this[_0x2ae518(0x28b)]();}return _0x1fa38f;}[_0x426336(0x28b)](){return new Promise(_0x5d39f3=>{const _0x2904cb=_0x45b1;typeof requestIdleCallback==_0x2904cb(0x248)?requestIdleCallback(()=>_0x5d39f3(),{'timeout':0x64}):setTimeout(_0x5d39f3,0x0);});}[_0x426336(0x138)](_0x55ce42){const _0x406531=_0x426336;let _0x513e4b=[];return _0x55ce42[_0x406531(0x263)](_0x4ad34e=>{const _0x42fe38=_0x406531;if(_0x4ad34e['id']===_0x4f5e86[_0x42fe38(0x150)]['id']){const _0x17f440=_0x4ad34e['params'];_0x513e4b[_0x42fe38(0x223)](_0x17f440[_0x42fe38(0x1ad)]['id']);}else{if(_0x4ad34e['id']===_0x4f5e86['RemoveSheetMutation']['id']){const _0x5ac725=_0x4ad34e[_0x42fe38(0x2e3)];_0x513e4b['length']>0x0&&(_0x513e4b=_0x513e4b['filter'](_0x4f28c7=>_0x4f28c7!==_0x5ac725['subUnitId']));}else{if(_0x4ad34e['id']===_0x4f5e86[_0x42fe38(0x330)]['id']){const _0x47ea9a=_0x4ad34e['params'];_0x47ea9a['hidden']?_0x513e4b=_0x513e4b['filter'](_0x181988=>_0x181988!==_0x47ea9a[_0x42fe38(0x278)]):_0x513e4b['push'](_0x47ea9a[_0x42fe38(0x278)]);}else{const _0x35b968=_0x4ad34e[_0x42fe38(0x2e3)];_0x35b968[_0x42fe38(0x278)]&&_0x513e4b[_0x42fe38(0x223)](_0x35b968['subUnitId']);}}}}),_0x513e4b['length']>0x0?_0x513e4b[_0x513e4b[_0x406531(0x156)]-0x1]:null;}[_0x426336(0x2cd)](_0x226e9d){const _0x55cb6a=_0x426336,_0x226fc4=new Map();return _0x226e9d['forEach'](_0x4ef531=>{const _0x3fbfed=_0x45b1;var _0x210b72,_0x56ff49;const _0x1f1573=(_0x210b72=_0x4ef531[_0x3fbfed(0x2e3)])==null?void 0x0:_0x210b72[_0x3fbfed(0x2fa)];if(_0x1f1573){_0x226fc4[_0x3fbfed(0x314)](_0x1f1573)||_0x226fc4[_0x3fbfed(0xff)](_0x1f1573,[]);const _0x4c6d71=this[_0x3fbfed(0x273)](_0x4ef531);(_0x56ff49=_0x226fc4[_0x3fbfed(0x1ba)](_0x1f1573))==null||_0x56ff49['push'](..._0x4c6d71);}}),_0x226fc4[_0x55cb6a(0x263)]((_0x545e17,_0x5768ca)=>{const _0x444733=_0x55cb6a;_0x226fc4[_0x444733(0xff)](_0x5768ca,this[_0x444733(0x1fd)](_0x545e17));}),_0x226fc4;}['_getRangesByMutation'](_0x3d5fbc){const _0x496bf3=_0x426336;switch(_0x3d5fbc['id']){case _0x4f5e86[_0x496bf3(0x312)]['id']:{const _0x393b08=_0x3d5fbc[_0x496bf3(0x2e3)];return _0x393b08[_0x496bf3(0x33b)][_0x496bf3(0x1c2)](_0x4e43dc=>_0x4e43dc[_0x496bf3(0x209)][_0x496bf3(0x1c2)](_0x3d87cc=>({'range':_0x3d87cc,'unitId':_0x393b08[_0x496bf3(0x20d)],'subUnitId':_0x393b08[_0x496bf3(0x278)]})))[_0x496bf3(0x347)]();}case _0x4f5e86[_0x496bf3(0x240)]['id']:{const _0x271e2d=_0x3d5fbc[_0x496bf3(0x2e3)];return _0x271e2d[_0x496bf3(0x209)][_0x496bf3(0x1c2)](_0x12fa38=>({'range':_0x12fa38,'unitId':_0x271e2d[_0x496bf3(0x20d)],'subUnitId':_0x271e2d[_0x496bf3(0x278)]}));}case _0x4f5e86['InsertRowMutation']['id']:{const _0x1b37b1=_0x3d5fbc['params'];return[{'range':_0x1b37b1[_0x496bf3(0x227)],'unitId':_0x1b37b1[_0x496bf3(0x20d)],'subUnitId':_0x1b37b1['subUnitId']}];}case _0x4f5e86[_0x496bf3(0x28e)]['id']:{const _0x4ff06a=_0x3d5fbc['params'];return[{'range':_0x4ff06a[_0x496bf3(0x227)],'unitId':_0x4ff06a['unitId'],'subUnitId':_0x4ff06a[_0x496bf3(0x278)]}];}case _0x4f5e86['MoveRangeMutation']['id']:{const _0x16a37b=_0x3d5fbc[_0x496bf3(0x2e3)],{from:_0x448b88,to:_0x1bf379,unitId:_0xa15bac}=_0x16a37b;return[{'range':_0x5f399d(_0x448b88[_0x496bf3(0x2ea)]),'unitId':_0xa15bac,'subUnitId':_0x448b88[_0x496bf3(0x278)]},{'range':_0x5f399d(_0x1bf379['value']),'unitId':_0xa15bac,'subUnitId':_0x1bf379[_0x496bf3(0x278)]}];}case _0x4f5e86[_0x496bf3(0x10f)]['id']:{const _0x20ef77=_0x3d5fbc[_0x496bf3(0x2e3)],{unitId:_0x2c3f4b,subUnitId:_0x5dc9da,sourceRange:_0x29c05e,targetRange:_0x1e80f0}=_0x20ef77,_0x3b90dd=_0x29c05e[_0x496bf3(0x18d)]-_0x29c05e['startRow']+0x1;return[{'range':_0x1e80f0['startRow']<=_0x29c05e[_0x496bf3(0x262)]?_0x1e80f0:{..._0x1e80f0,'startRow':_0x1e80f0[_0x496bf3(0x262)]-_0x3b90dd,'endRow':_0x1e80f0[_0x496bf3(0x18d)]-_0x3b90dd},'unitId':_0x2c3f4b,'subUnitId':_0x5dc9da}];}case _0x4f5e86[_0x496bf3(0x2ce)]['id']:{const _0x2ab460=_0x3d5fbc[_0x496bf3(0x2e3)],{unitId:_0x25639f,subUnitId:_0x3918d5,sourceRange:_0x46670e,targetRange:_0x5cb553}=_0x2ab460,_0x125ce9=_0x46670e['endColumn']-_0x46670e['startColumn']+0x1;return[{'range':_0x5cb553['startColumn']<=_0x46670e['startColumn']?_0x5cb553:{..._0x5cb553,'startColumn':_0x5cb553['startColumn']-_0x125ce9,'endColumn':_0x5cb553[_0x496bf3(0x10a)]-_0x125ce9},'unitId':_0x25639f,'subUnitId':_0x3918d5}];}case _0x4f5e86[_0x496bf3(0x219)]['id']:{const _0x1094a0=_0x3d5fbc['params'],{values:_0x3c18c9,unitId:_0x13b23e,subUnitId:_0x14db32}=_0x1094a0;return Object['values'](_0x3c18c9)[_0x496bf3(0x1c2)](_0x183111=>_0x183111[_0x496bf3(0x209)]['map'](_0xff5208=>({'range':_0xff5208,'unitId':_0x13b23e,'subUnitId':_0x14db32})))[_0x496bf3(0x347)]();}case _0x4f5e86[_0x496bf3(0x1c0)]['id']:{const _0x48edde=_0x3d5fbc[_0x496bf3(0x2e3)],{ranges:_0x22319f,unitId:_0x370c59,subUnitId:_0x18a34d}=_0x48edde;return _0x22319f[_0x496bf3(0x1c2)](_0x1b1d66=>({'range':_0x1b1d66,'unitId':_0x370c59,'subUnitId':_0x18a34d}));}case _0x4f5e86[_0x496bf3(0x1b6)]['id']:{const _0x4a6458=_0x3d5fbc['params'],{unitId:_0x3c095d,subUnitId:_0x306d64,range:_0x4600f9}=_0x4a6458;return[{'range':_0x4600f9,'unitId':_0x3c095d,'subUnitId':_0x306d64}];}case _0x4f5e86[_0x496bf3(0x225)]['id']:{const _0x5a54ee=_0x3d5fbc[_0x496bf3(0x2e3)];return _0x5a54ee['rule'][_0x496bf3(0x209)][_0x496bf3(0x1c2)](_0x250ce6=>({'range':_0x250ce6,'unitId':_0x5a54ee['unitId'],'subUnitId':_0x5a54ee[_0x496bf3(0x278)]}));}case _0x4f5e86[_0x496bf3(0x26e)]['id']:{const _0x8bd008=_0x3d5fbc[_0x496bf3(0x2e3)];return _0x8bd008[_0x496bf3(0x1e0)]?_0x250138(_0x8bd008[_0x496bf3(0x1e0)])[_0x496bf3(0x1c2)](_0x23bbda=>({'range':_0x23bbda,'unitId':_0x8bd008[_0x496bf3(0x20d)],'subUnitId':_0x8bd008[_0x496bf3(0x278)]})):[];}case _0x18856f[_0x496bf3(0x2a0)]['id']:{const _0x219a4a=_0x3d5fbc[_0x496bf3(0x2e3)];return[{'range':_0x219a4a[_0x496bf3(0x227)],'unitId':_0x219a4a['unitId'],'subUnitId':_0x219a4a['subUnitId']}];}case _0x3a60c2['AddDataValidationMutation']['id']:{const _0x56b1cc=_0x3d5fbc['params'];return(Array[_0x496bf3(0x11a)](_0x56b1cc[_0x496bf3(0x109)])?_0x56b1cc[_0x496bf3(0x109)]:[_0x56b1cc[_0x496bf3(0x109)]])[_0x496bf3(0x1c2)](_0x8a615b=>_0x8a615b[_0x496bf3(0x209)][_0x496bf3(0x1c2)](_0x394d2d=>({'range':_0x394d2d,'unitId':_0x56b1cc[_0x496bf3(0x20d)],'subUnitId':_0x56b1cc[_0x496bf3(0x278)]})))[_0x496bf3(0x347)]();}case _0x244972[_0x496bf3(0x1fe)]['id']:{const _0x573a2e=_0x3d5fbc[_0x496bf3(0x2e3)];return _0x573a2e['rule'][_0x496bf3(0x209)][_0x496bf3(0x1c2)](_0x4e78fc=>({'range':_0x4e78fc,'unitId':_0x573a2e['unitId'],'subUnitId':_0x573a2e['subUnitId']}));}default:return[];}}[_0x426336(0x1fd)](_0x404ede){const _0x329d7f=_0x426336;if(_0x404ede[_0x329d7f(0x156)]<=0x1)return _0x404ede;const _0x552573=new Map();return _0x404ede[_0x329d7f(0x263)](_0xd91724=>{const _0x55d8c6=_0x329d7f;var _0x2331b5;const {unitId:_0x177f6f,subUnitId:_0x5a4fa2}=_0xd91724,_0x1d8db2=_0x177f6f+'-'+_0x5a4fa2;_0x552573['has'](_0x1d8db2)?(_0x2331b5=_0x552573[_0x55d8c6(0x1ba)](_0x1d8db2))==null||_0x2331b5[_0x55d8c6(0x223)](_0xd91724):_0x552573[_0x55d8c6(0xff)](_0x1d8db2,[_0xd91724]);}),Array[_0x329d7f(0x185)](_0x552573[_0x329d7f(0x1b1)]())['map'](_0x37fb01=>new _0x4f5e86['RangeMergeUtil']()[_0x329d7f(0x25b)](..._0x37fb01[_0x329d7f(0x1c2)](_0x10d064=>_0x10d064[_0x329d7f(0x227)]))[_0x329d7f(0x284)]()[_0x329d7f(0x1c2)](_0x4a00e8=>({'range':_0x4a00e8,'unitId':_0x37fb01[0x0][_0x329d7f(0x20d)],'subUnitId':_0x37fb01[0x0][_0x329d7f(0x278)]})))[_0x329d7f(0x347)]();}};_0x302cda=_0x593574([_0x2c6a9a(0x0,_0x453f4e[_0x426336(0x151)](_0x22872a[_0x426336(0x266)])),_0x2c6a9a(0x1,_0x2f81c0['ITransformService']),_0x2c6a9a(0x2,_0x2f81c0[_0x426336(0x2cc)])],_0x302cda);function _0x5f399d(_0x591524){const _0x2152dd=_0x426336;return new _0x453f4e[(_0x2152dd(0x204))](_0x591524)[_0x2152dd(0x1a4)]();}function _0x250138(_0x4e11e3){const _0x483d32=_0x426336,_0x1b3383=new _0x453f4e[(_0x483d32(0x204))](_0x4e11e3),_0x414925=new _0x453f4e[(_0x483d32(0x204))]();return _0x1b3383['forValue']((_0x54abd5,_0x5625dc)=>{const _0xa0889=_0x483d32;_0x414925[_0xa0889(0x25d)](_0x54abd5,_0x5625dc,0x1);}),_0x4f5e86[_0x483d32(0x238)](_0x414925);}var _0x17eb48=Object['getOwnPropertyDescriptor'],_0x1ebe2e=(_0x123535,_0x2ca856,_0x57d720,_0x1e56f2)=>{const _0x399ce2=_0x426336;for(var _0x14ed59=_0x1e56f2>0x1?void 0x0:_0x1e56f2?_0x17eb48(_0x2ca856,_0x57d720):_0x2ca856,_0x2af156=_0x123535[_0x399ce2(0x156)]-0x1,_0x24f8cf;_0x2af156>=0x0;_0x2af156--)(_0x24f8cf=_0x123535[_0x2af156])&&(_0x14ed59=_0x24f8cf(_0x14ed59)||_0x14ed59);return _0x14ed59;},_0x5c8d05=(_0x56b4a8,_0xe24add)=>(_0x2e6e67,_0x127408)=>_0xe24add(_0x2e6e67,_0x127408,_0x56b4a8);let _0x18a3b0=class extends _0x453f4e[_0x426336(0x274)]{constructor(_0x58d3c1,_0x58e0d6,_0x1f79fc,_0x2c118f,_0x491ac5,_0x154b2a,_0x3c578a){const _0x1c0ed7=_0x426336;super(),_0x3e8d0c(this,_0x1c0ed7(0x146),new Set()),_0x3e8d0c(this,_0x1c0ed7(0x17f),null),(this[_0x1c0ed7(0x1f1)]=_0x58d3c1,this['_historyManagerService']=_0x58e0d6,this[_0x1c0ed7(0x256)]=_0x1f79fc,this['_univerInstanceService']=_0x2c118f,this['_renderManagerService']=_0x491ac5,this[_0x1c0ed7(0x22b)]=_0x154b2a,this[_0x1c0ed7(0x265)]=_0x3c578a,this[_0x1c0ed7(0x335)]());}['_init'](){const _0xed08a9=_0x426336;this[_0xed08a9(0x28f)](),this[_0xed08a9(0x141)]();}[_0x426336(0x28f)](){const _0x7f38be=_0x426336;this[_0x7f38be(0x2c9)](_0x511bc8[_0x7f38be(0x2bf)]([this[_0x7f38be(0x1e6)][_0x7f38be(0xfd)],this[_0x7f38be(0x22b)]['currentSkeleton$']])['pipe'](_0x511bc8[_0x7f38be(0x1ca)](([_0x53ecaa,_0x1cd660])=>{const _0x4ccdd9=_0x7f38be;if(_0x53ecaa===_0x19995e[_0x4ccdd9(0x1b2)]&&_0x1cd660){const _0x2e8bc5=_0x1cd660[_0x4ccdd9(0x27b)];return this[_0x4ccdd9(0x256)][_0x4ccdd9(0x337)]['pipe'](_0x511bc8['map'](_0x8e5857=>{const _0x3949bd=_0x4ccdd9,_0x1fba69=new Map();return _0x8e5857[_0x3949bd(0x209)][_0x3949bd(0x263)]((_0x177156,_0x84d087)=>{const _0x1e77c1=_0x3949bd,_0x5bd0fd=_0x177156['filter'](_0x7a16ac=>_0x7a16ac[_0x1e77c1(0x278)]===_0x2e8bc5);_0x1fba69[_0x1e77c1(0xff)](_0x84d087,_0x5bd0fd);}),{'skeleton':_0x1cd660,'diffs':_0x1fba69};}));}return _0x511bc8['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x20e5d6,diffs:_0x3d58df})=>{const _0xb64f51=_0x7f38be;this[_0xb64f51(0x12e)](),_0x20e5d6&&this['_updateDiffMarks'](_0x20e5d6,_0x3d58df);})),this[_0x7f38be(0x2c9)](this['_sheetSkeletonManagerService'][_0x7f38be(0x2f3)][_0x7f38be(0x218)](_0x5c3fef=>{const _0x15b263=_0x7f38be;if(_0x5c3fef==null)return;const {skeleton:_0x24f78a}=_0x5c3fef,{scene:_0x2226a3}=this[_0x15b263(0x1f1)];_0x2226a3['onPointerMove$'][_0x15b263(0x282)](_0x453f4e[_0x15b263(0x22a)](_0xde73e9=>{const _0x4fd2fc=_0x15b263;var _0x1881ec,_0x2f6eb8;const {offsetX:_0x3338e4,offsetY:_0x3bd797}=_0xde73e9,{x:_0x15ea25,y:_0x2960fb}=_0x2226a3['getRelativeToViewportCoord'](_0x20176a[_0x4fd2fc(0x14c)][_0x4fd2fc(0x320)]([_0x3338e4,_0x3bd797])),{scaleX:_0xa00329,scaleY:_0x1b73f3}=_0x2226a3[_0x4fd2fc(0x26a)](),_0x4919e7=_0x2226a3['getViewport'](_0x20176a[_0x4fd2fc(0x166)][_0x4fd2fc(0x221)]),_0x337a99=_0x2226a3['getVpScrollXYInfoByPosToVp'](_0x20176a[_0x4fd2fc(0x14c)][_0x4fd2fc(0x320)]([_0x15ea25,_0x2960fb]),_0x4919e7),_0x4eb699=_0x24f78a[_0x4fd2fc(0x233)](_0x3338e4,_0x3bd797,_0xa00329,_0x1b73f3,_0x337a99);((_0x1881ec=this[_0x4fd2fc(0x17f)])==null?void 0x0:_0x1881ec[_0x4fd2fc(0x140)])===_0x4eb699[_0x4fd2fc(0x140)]&&((_0x2f6eb8=this[_0x4fd2fc(0x17f)])==null?void 0x0:_0x2f6eb8[_0x4fd2fc(0x2f0)])===_0x4eb699[_0x4fd2fc(0x2f0)]||this[_0x4fd2fc(0x146)][_0x4fd2fc(0x263)](_0x7cd979=>{const _0x3fa89c=_0x4fd2fc;_0x7cd979[_0x3fa89c(0x1c9)](_0x4eb699);});},0x64));}));}['_initActiveSwitch'](){const _0x1b969b=_0x426336;this[_0x1b969b(0x2c9)](this['_historyManagerService'][_0x1b969b(0xfd)][_0x1b969b(0x218)](_0x5dd2f4=>{const _0x8a47ed=_0x1b969b,_0x1f5bfb=new _0x453f4e[(_0x8a47ed(0x283))]();return _0x5dd2f4===_0x19995e[_0x8a47ed(0x1b2)]&&(_0x1f5bfb['dispose'](),_0x1f5bfb['add'](this[_0x8a47ed(0x256)][_0x8a47ed(0x337)]['subscribe'](_0x5522b5=>{const _0x48e9d8=_0x8a47ed;_0x5522b5[_0x48e9d8(0x29c)]&&this[_0x48e9d8(0x265)][_0x48e9d8(0x2f4)](_0x4f5e86[_0x48e9d8(0x10d)]['id'],{'unitId':this[_0x48e9d8(0x1f1)][_0x48e9d8(0x20d)],'subUnitId':_0x5522b5[_0x48e9d8(0x29c)]});}))),()=>_0x1f5bfb['dispose']();}));}[_0x426336(0x1d3)](_0x3bb542,_0x3fb201){const _0x3715cf=_0x426336;var _0x1159e8;const _0x571984=(_0x1159e8=this[_0x3715cf(0x22b)]['getCurrent']())==null?void 0x0:_0x1159e8[_0x3715cf(0x23c)];if(!_0x571984)return;this['_diffs']['forEach'](_0xd6ccc=>{const _0x89f106=_0x3715cf;_0xd6ccc[_0x89f106(0x2ac)]();});const {scene:_0x3997ff}=this['_context'],_0xac7f3d=Array[_0x3715cf(0x185)](_0x3fb201[_0x3715cf(0x306)]())[_0x3715cf(0x1c2)](_0x563c27=>_0x3fb201['get'](_0x563c27)[_0x3715cf(0x1c2)](_0x5b897a=>{const _0x63f099=_0x3715cf;var _0x3068dc;const {range:_0x41957b,subUnitId:_0x11babb,unitId:_0x3f0c8b}=_0x5b897a,{startColumn:_0x1b97ec,startRow:_0x56e881,endColumn:_0x8068ba,endRow:_0x49aee0}=_0x41957b,_0x16893a=_0x11d4cb[_0x63f099(0x2a9)](_0x56e881,_0x1b97ec,_0x3997ff,_0x571984),_0x3b1148=_0x11d4cb[_0x63f099(0x2a9)](_0x49aee0,_0x8068ba,_0x3997ff,_0x571984),{columnHeaderHeightAndMarginTop:_0x1bd690}=_0x571984,{startX:_0x14a702,startY:_0x35f9b8}=_0x16893a,{endX:_0x3592d5,endY:_0x5653f0}=_0x3b1148,_0xf789be=_0x3592d5-_0x14a702,_0x4d75b9=_0x5653f0-_0x35f9b8,_0x296351={'labelPosition':_0x35f9b8-_0x1bd690>=0x14?_0x63f099(0x2d7):_0x63f099(0x30a),'sheetID':_0x11babb,'range':_0x41957b,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x63f099(0x1c8),'name':((_0x3068dc=this[_0x63f099(0x1e6)]['getMember'](_0x563c27))==null?void 0x0:_0x3068dc[_0x63f099(0x117)])||'','selection':_0x3f0c8b+'-'+_0x11babb+'-'+_0x41957b[_0x63f099(0x15e)]+'-'+_0x41957b[_0x63f099(0x262)]+'-'+_0x41957b[_0x63f099(0x10a)]+'-'+_0x41957b[_0x63f099(0x18d)],'left':_0x14a702,'top':_0x35f9b8,'width':_0xf789be,'height':_0x4d75b9,'evented':!0x1,'zIndex':0x1};return new _0x974a8c[(_0x63f099(0x170))]('',_0x296351);}))[_0x3715cf(0x347)]();_0x3997ff[_0x3715cf(0x26f)](_0xac7f3d,0x1),this[_0x3715cf(0x146)]=new Set(_0xac7f3d);}[_0x426336(0x12e)](){const _0x56f1f8=_0x426336;var _0x558f48;(_0x558f48=this[_0x56f1f8(0x146)])==null||_0x558f48[_0x56f1f8(0x263)](_0x3aeed0=>_0x3aeed0['dispose']());}['_getSheetObject'](){const _0x175b9b=_0x426336;return _0x11d4cb[_0x175b9b(0x34a)](this[_0x175b9b(0x2c3)],this['_renderManagerService']);}};_0x18a3b0=_0x1ebe2e([_0x5c8d05(0x1,_0x453f4e['Inject'](_0x22872a[_0x426336(0x266)])),_0x5c8d05(0x2,_0x453f4e[_0x426336(0x151)](_0x302cda)),_0x5c8d05(0x3,_0x453f4e[_0x426336(0x1d5)]),_0x5c8d05(0x4,_0x20176a['IRenderManagerService']),_0x5c8d05(0x5,_0x453f4e[_0x426336(0x151)](_0x11d4cb['SheetSkeletonManagerService'])),_0x5c8d05(0x6,_0x453f4e[_0x426336(0x210)])],_0x18a3b0);function _0x1dc83c(){const _0x1da078=_0x426336,_0x302151=_0x222485['useDependency'](_0x22872a[_0x1da078(0x266)]),_0x38c70b=_0x222485[_0x1da078(0x145)](_0x302151[_0x1da078(0x18f)]),[_0x1072f6,_0x32817c]=_0x520025['useState'](!0x1),_0x16a9e1=_0x407b4d(_0x38c70b);return _0x38c70b?_0x4058c4[_0x1da078(0x287)]('div',{'className':_0x1da078(0x308),'children':_0x4058c4['jsxs']('div',{'className':_0x1da078(0x2d8),'children':[_0x16a9e1['map']((_0x29fd55,_0x278f24)=>_0x4058c4[_0x1da078(0x29b)](_0x520025['Fragment'],{'children':[_0x4058c4[_0x1da078(0x287)](_0x584d7c,{'date':_0x29fd55[_0x1da078(0x247)]}),_0x29fd55['versions'][_0x1da078(0x1c2)]((_0x44add5,_0x5b2456)=>_0x4058c4[_0x1da078(0x287)](_0x150b87,{'index':[_0x278f24,_0x5b2456],'item':_0x44add5},_0x278f24+'-'+_0x5b2456))]},_0x29fd55[_0x1da078(0x247)])),_0x1072f6&&_0x4058c4['jsx'](_0x598e16,{})]})}):_0x4058c4[_0x1da078(0x287)](_0x38d51c,{});}function _0x598e16(){const _0x16055a=_0x426336;return _0x4058c4['jsx']('div',{'className':_0x16055a(0x13d),'children':_0x4058c4['jsx'](_0x1e7e5f,{'className':_0x16055a(0x350)})});}function _0x38d51c(){const _0x5a4e59=_0x426336;return _0x4058c4[_0x5a4e59(0x287)](_0x5a4e59(0x28c),{'className':_0x5a4e59(0x26b),'children':_0x4058c4['jsx'](_0x5a4e59(0x16c),{'className':_0x5a4e59(0x241),'children':_0x4058c4['jsx'](_0x1e7e5f,{'className':_0x5a4e59(0x220)})})});}function _0x584d7c(_0x22b4f8){const _0x34f4bc=_0x426336,_0xb4bc8=_0x222485[_0x34f4bc(0x139)](_0x453f4e['LocaleService']),{date:_0x2afd98}=_0x22b4f8;return _0x4058c4[_0x34f4bc(0x287)]('div',{'className':_0x34f4bc(0x172),'children':_0x28c3bd(_0x2afd98,_0xb4bc8[_0x34f4bc(0x169)]())});}function _0x150b87(_0x2eabcb){const _0x56cf98=_0x426336,{item:_0x38300f,index:_0x4d0713}=_0x2eabcb,{time:_0x172c08,user:_0x50e3a2}=_0x38300f,[_0x43ef44,_0x4b3d31]=_0x4d0713,_0x47620f=_0x222485['useDependency'](_0x22872a[_0x56cf98(0x266)]),_0x75374b=_0x222485[_0x56cf98(0x145)](_0x47620f[_0x56cf98(0x144)],'',!0x0)===_0x38300f['id'],_0x2c6c1e=_0x43ef44===0x0&&_0x4b3d31===0x0,_0x4e5923=!_0x2c6c1e&&_0x47620f['canRevert'],_0x362356=_0x222485[_0x56cf98(0x139)](_0x453f4e[_0x56cf98(0x1f4)]),_0x26ba51=_0x362356['getCurrentLocale'](),_0x4bcd00=_0x3beab7(_0x172c08,_0x26ba51),_0x2de91d=_0x362356['t'](_0x56cf98(0x316)),_0xc2d0db=_0x520025[_0x56cf98(0x293)](_0x1f4490=>{const _0xe4229f=_0x56cf98;_0x47620f[_0xe4229f(0x296)]!==_0x19995e['Loading']&&(_0x47620f['currentVersion']=_0x1f4490);},[_0x47620f]),_0x26260b=_0x520025['useCallback'](_0x374b15=>{const _0x191c99=_0x56cf98;_0x47620f[_0x191c99(0x106)](_0x374b15);},[_0x47620f]);return _0x4058c4[_0x56cf98(0x29b)](_0x56cf98(0x28c),{'className':_0x63f929['clsx'](_0x56cf98(0x333),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x75374b}),'onClick':()=>_0xc2d0db(_0x38300f['id']),'children':[_0x4058c4[_0x56cf98(0x29b)](_0x56cf98(0x28c),{'className':_0x56cf98(0x16d),'children':[_0x4058c4['jsxs'](_0x56cf98(0x28c),{'className':_0x56cf98(0x216),'children':[_0x4058c4['jsx'](_0x56cf98(0x16c),{'children':_0x4bcd00['time']}),_0x2c6c1e&&_0x4058c4[_0x56cf98(0x287)](_0x56cf98(0x16c),{'className':_0x56cf98(0x345),'children':_0x2de91d})]}),_0x4058c4[_0x56cf98(0x287)](_0x56cf98(0x28c),{'children':_0x4e5923&&_0x4058c4[_0x56cf98(0x287)](_0x63f929['Tooltip'],{'title':_0x362356['t'](_0x56cf98(0x1ef)),'children':_0x4058c4[_0x56cf98(0x287)](_0x56cf98(0x28c),{'onClick':_0x4bd92d=>{_0x4bd92d['stopPropagation'](),_0x26260b(_0x38300f['id']);},'className':_0x56cf98(0x2f8),'children':_0x4058c4[_0x56cf98(0x287)](_0x57da55,{})})})})]}),_0x4058c4[_0x56cf98(0x287)](_0x56cf98(0x28c),{'className':_0x56cf98(0x2ed),'children':_0x5ef092(_0x38300f,_0x362356)})]});}var _0x39b965=Object[_0x426336(0x2d1)],_0x3b558c=(_0x288272,_0x593e99,_0xf4faed,_0x3351d0)=>{for(var _0xbc786f=_0x3351d0>0x1?void 0x0:_0x3351d0?_0x39b965(_0x593e99,_0xf4faed):_0x593e99,_0x4cc466=_0x288272['length']-0x1,_0x1d4093;_0x4cc466>=0x0;_0x4cc466--)(_0x1d4093=_0x288272[_0x4cc466])&&(_0xbc786f=_0x1d4093(_0xbc786f)||_0xbc786f);return _0xbc786f;},_0x492e6a=(_0x560185,_0x4fd88c)=>(_0x1d6a50,_0x8058fc)=>_0x4fd88c(_0x1d6a50,_0x8058fc,_0x560185);const _0x32e8c4=_0x426336(0x120);let _0x571ada=class extends _0x453f4e[_0x426336(0x274)]{constructor(_0x1cda24,_0x33e534,_0x242890,_0x261ff5,_0x174dd0){const _0x24ffd1=_0x426336;super(),_0x3e8d0c(this,_0x24ffd1(0x15d),null),(this[_0x24ffd1(0x168)]=_0x1cda24,this[_0x24ffd1(0x2db)]=_0x33e534,this[_0x24ffd1(0x1df)]=_0x242890,this['_historyManagerService']=_0x261ff5,this['_configService']=_0x174dd0,this[_0x24ffd1(0x335)]());}[_0x426336(0x335)](){const _0x5a85d8=_0x426336;this[_0x5a85d8(0x224)](),this[_0x5a85d8(0xf7)]();}[_0x426336(0xf7)](){const _0x1be4bb=_0x426336;var _0x27a0d4;if(this[_0x1be4bb(0x15d)])return;const _0x1c1632=((_0x27a0d4=this[_0x1be4bb(0x288)][_0x1be4bb(0x2e6)](_0x1572c4))==null?void 0x0:_0x27a0d4['historyPanelComponentKey'])||_0x32e8c4,_0x3bfa38={'header':{'title':this[_0x1be4bb(0x1df)]['t']('editHistory.panel.title')},'children':{'label':_0x1c1632},'onClose':()=>{const _0x3e010a=_0x1be4bb;this[_0x3e010a(0x15d)]=null,this[_0x3e010a(0x1e6)][_0x3e010a(0x1ea)]=_0xe51592[_0x3e010a(0x199)];}};this[_0x1be4bb(0x15d)]=this[_0x1be4bb(0x168)][_0x1be4bb(0x331)]({..._0x3bfa38});}[_0x426336(0x224)](){const _0x29b888=_0x426336;this['disposeWithMe'](this[_0x29b888(0x2db)][_0x29b888(0x21f)](_0x32e8c4,_0x1dc83c)),this[_0x29b888(0x2c9)](this['_sidebarService'][_0x29b888(0x2d4)][_0x29b888(0x344)](_0x511bc8['debounceTime'](0x64))['subscribe'](_0x1c89d7=>{const _0x3611eb=_0x29b888,{target:_0x228aaa}=_0x1c89d7||{};if(_0x228aaa){const {scrollTop:_0x470b34,scrollHeight:_0x7be66d,clientHeight:_0x2833b1}=_0x228aaa;_0x470b34+_0x2833b1>=_0x7be66d-0x5&&this[_0x3611eb(0x1e6)]['loadMoreVersions']();}}));}};_0x571ada=_0x3b558c([_0x492e6a(0x0,_0x222485[_0x426336(0x2af)]),_0x492e6a(0x1,_0x453f4e[_0x426336(0x151)](_0x222485[_0x426336(0x21d)])),_0x492e6a(0x2,_0x453f4e['Inject'](_0x453f4e[_0x426336(0x1f4)])),_0x492e6a(0x3,_0x453f4e[_0x426336(0x151)](_0x22872a[_0x426336(0x266)])),_0x492e6a(0x4,_0x453f4e[_0x426336(0x24a)])],_0x571ada);class _0x91ca36 extends _0x453f4e[_0x426336(0x274)]{constructor(){const _0x3e7e2b=_0x426336;super(),_0x3e8d0c(this,_0x3e7e2b(0x1d0),new _0x511bc8[(_0x3e7e2b(0x107))]());}[_0x426336(0x331)](){const _0x174598=_0x426336;return _0x453f4e[_0x174598(0x244)](()=>{});}[_0x426336(0x336)](){}[_0x426336(0x2e0)](_0x1aa58d){}[_0x426336(0x243)](){const _0x4f8268=_0x426336;return this[_0x4f8268(0x1d0)][_0x4f8268(0x17a)]();}}var _0x47bf41=Object['defineProperty'],_0x23f9d5=Object[_0x426336(0x2d1)],_0x380a66=(_0x3eddb7,_0x10de50,_0x234951)=>_0x10de50 in _0x3eddb7?_0x47bf41(_0x3eddb7,_0x10de50,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x234951}):_0x3eddb7[_0x10de50]=_0x234951,_0x41b0f9=(_0x4b34c1,_0x44d0ff,_0x573960,_0x22e6fe)=>{const _0x185a9f=_0x426336;for(var _0xd1079=_0x22e6fe>0x1?void 0x0:_0x22e6fe?_0x23f9d5(_0x44d0ff,_0x573960):_0x44d0ff,_0xfe636d=_0x4b34c1[_0x185a9f(0x156)]-0x1,_0xb79751;_0xfe636d>=0x0;_0xfe636d--)(_0xb79751=_0x4b34c1[_0xfe636d])&&(_0xd1079=_0xb79751(_0xd1079)||_0xd1079);return _0xd1079;},_0x336e87=(_0x2127fb,_0x998867)=>(_0xb48afc,_0x287344)=>_0x998867(_0xb48afc,_0x287344,_0x2127fb),_0x1067bc=(_0x148137,_0x5d4269,_0x2ff1a5)=>_0x380a66(_0x148137,_0x5d4269+'',_0x2ff1a5);const _0x32ceb8=_0x426336(0x281);_0x22872a[_0x426336(0x1a3)]=class extends _0x453f4e[_0x426336(0x34c)]{constructor(_0xcfff5b=_0x2b868b,_0x513452,_0x5f399f,_0x104349){const _0x4a3adc=_0x426336;super(),this[_0x4a3adc(0x342)]=_0xcfff5b,this[_0x4a3adc(0x2f5)]=_0x513452,this[_0x4a3adc(0x326)]=_0x5f399f,this[_0x4a3adc(0x288)]=_0x104349;const {..._0x9d9827}=_0x453f4e[_0x4a3adc(0x284)]({},_0x2b868b,this[_0x4a3adc(0x342)]);this[_0x4a3adc(0x288)]['setConfig'](_0x1572c4,_0x9d9827);}['onStarting'](){const _0x520e30=_0x426336;[[_0x22872a['HistoryManagerService']],[_0x15a5b8],[_0x302cda],[_0x28365d],[_0x571ada],[_0x48988f],[_0x2f81c0['ISnapshotServerService'],{'useClass':_0x317887[_0x520e30(0x1ec)]}],[_0x222485[_0x520e30(0x1e4)],{'useClass':_0x91ca36}],[_0x3b78c9[_0x520e30(0x175)],{'useClass':_0x317887[_0x520e30(0x2d3)]}]]['forEach'](_0x45ca20=>this[_0x520e30(0x2f5)][_0x520e30(0x25b)](_0x45ca20)),this[_0x520e30(0x2f5)][_0x520e30(0x1ba)](_0x15a5b8);}[_0x426336(0x11b)](){const _0x26995e=_0x426336;[[_0x18a3b0]][_0x26995e(0x263)](_0x397259=>{const _0x48485d=_0x26995e;this[_0x48485d(0x2c9)](this['_renderManagerService'][_0x48485d(0x1e2)](_0x453f4e[_0x48485d(0x1af)][_0x48485d(0x152)],_0x397259));}),this[_0x26995e(0x2f5)][_0x26995e(0x1ba)](_0x48988f),this['_injector'][_0x26995e(0x1ba)](_0x571ada);}[_0x426336(0x123)](){const _0x557e66=_0x426336;this[_0x557e66(0x2f5)][_0x557e66(0x1ba)](_0x302cda);}},_0x1067bc(_0x22872a['UniverEditHistoryViewerPlugin'],_0x426336(0x2be),_0x32ceb8),_0x22872a[_0x426336(0x1a3)]=_0x41b0f9([_0x453f4e[_0x426336(0x1e5)](_0x11d4cb[_0x426336(0x160)],_0x210f5e[_0x426336(0x193)]),_0x336e87(0x1,_0x453f4e[_0x426336(0x151)](_0x453f4e[_0x426336(0x298)])),_0x336e87(0x2,_0x20176a['IRenderManagerService']),_0x336e87(0x3,_0x453f4e[_0x426336(0x24a)])],_0x22872a[_0x426336(0x1a3)]),_0x22872a[_0x426336(0x23b)]=_0xe51592,_0x22872a[_0x426336(0x2da)]=_0x4c7c94,Object[_0x426336(0x114)](_0x22872a,Symbol[_0x426336(0x182)],{'value':_0x426336(0x1db)});}));function _0x45b1(_0x7439bb,_0x390238){_0x7439bb=_0x7439bb-0xf5;const _0x4c0bfd=_0x4c0b();let _0x45b1b0=_0x4c0bfd[_0x7439bb];return _0x45b1b0;}function _0x4c0b(){const _0x2f7333=['findAllRectangle','Duplicate','WorkbookEditablePermission','HistoryModeStatus','skeleton','10mEUalp','ViewFilter','loadSheet','AddWorksheetMergeMutation','univer-text-gray-500','RenameSheet','getDialogs$','toDisposable','REDEMPTION_USER_NOT_ELIGIBLE','DeleteWorksheet','dateString','function','object','IConfigService','ICellEditorManagerService','Sort','SelectProtectedCells','ENTITLE_INVALID_COUPON_CODE','LocaleType','UNDEFINED','center','mutations','origin','showMask','univer-text-2xl\x20dark:!univer-text-white','_versionDiffService','mask','PivotTable','triggerLoadVersions','none','add','http://www.w3.org/2000/svg','setValue','syncExecuteCommand','YUUMI_NO_CUBOID_FOR_QUESTION','editHistory.panel.revertConfirm','COMPRESS_MUTATION_APPLY','startRow','forEach','concat','_commandService','HistoryManagerService','ENSURE_SNAPSHOT_EXECUTION','Edit','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getAncestorScale','univer-flex\x20univer-items-center\x20univer-justify-center','className','3370626LOAGPj','SetRangeValuesMutation','addObjects','_setVersions','changesets','275916fVQExD','_getRangesByMutation','Disposable','block','ENTITLE_REPORT_LIMIT_EXCEED','rxjs','subUnitId','userId','RestoreIcon','sheetId','YUUMI_AI_RUN_FAILED','substring','fetchThroughInterceptors','children','loadHistoryCreatorList','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','subscribeEvent','DisposableCollection','merge','1000','ViewHistory','jsx','_configService','_hasMore','YUUMI_UNABLE_LOAD_URL','_yieldToMain','div','HEADER','InsertColMutation','_initRender','_createUnit','SNAPSHOT_HAS_BEEN_REMOVED','RecoverHistory','useCallback','getInterceptPoints','string','loadingState','getUnitOnRev','Injector','loadInitialVersions','ENTITLE_USE_COUPON_NOT_1ST_TRADE','jsxs','active','borderBottomClassName','button','editHistory.action.revertSheetSuffix','SetSheetsFilterRangeMutation','justifyContent','editHistory.action.revertSheetPrefix','MOBILE_HAS_BEEN_BOUND','code','getCurrentVersion','padStart','action','status$','getCoordByCell','_loadParams','setCF','makeDirty','find','restore-icon','ISidebarService','triggerLoadSheet','_initMaskContainer','_currentVersion$','permissionPointUpdate$','BehaviorSubject','348134uzSugn','error','ZH_CN','Button','@univerjs-pro/collaboration','fetchCreatorList','REDEMPTION_CODE_HAS_BEEN_CREATED','loading','then','pluginName','combineLatest','canRevert','CreatePermissionObject','EditExtraObject','_univerInstanceService','INVITE_CODE_REQUIRED','current','@univerjs/data-validation','YUUMI_URL_COL_OUT_OF_RANGE','focusUnit','disposeWithMe','1em','evenodd','ISnapshotServerService','_extractRanges','MoveColsMutation','100%','2089595TgmRxm','getOwnPropertyDescriptor','use','CollaborationImageIoService','scrollEvent$','@univerjs/network','UniverProCollaborationClient','top','univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','backgroundColor','HistoryOrigin','_componentManager','_cellEditorManagerService','editHistory.action.','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','UniverIcon','closeAll','ERROR_AGAIN','Filter','params','endRev','commands','getConfig','LoadingMultiIcon','UniverSheets','TOO_MANY_REQUESTS','value','editHistory.action.etc','dispose','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','getHours','loadMoreVersions','row','defIds','rgba(225,\x20225,\x20225,\x200.5)','currentSkeleton$','executeCommand','_injector','Unspecified','assign','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','_getAPIPrefix','memberId','HideWorksheet','useRef','color','entries','@univerjs/sheets','UNIVER_PROJECT','position','loaded','SetCellValue','exports','_versions$','keys','ensureVersion','univer-overflow-hidden','0\x200\x2016\x2017','bottom','HideSheet','_httpService','History','idSuffix','setDV','ALREADY_EXISTS','getMember','AddRangeProtectionMutation','UNRECOGNIZED','has','_sheetPermissionInitController','editHistory.panel.currentVersion','lastLabel','creators','RwHgtClWdt','_createMask','UniverDataValidation','@univerjs/sheets-ui','DeleteSheet','anonymous','displayName','FromArray','subType','updatePermissionPoint','NOT_FOUND','UniverProCollaborationClientUi','getMinutes','_renderManagerService','React','getVersion','toString','_compressMutationService','currentVersion','RenameWorksheet','CONNECTOR_DATA_TOO_LARGE','INVALID_ARGUMENT','recoverTime','SetWorksheetHideMutation','open','forwardRef','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','_historyContainerId','_init','close','currentVersionDiff$','YUUMI_RATE_OVER_LIMIT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_REJECT','rules','editHistory.header.revert','style','_status$','show','absolute','SetColumnStyle','_config','YUUMI_SUBSCRIPTION_NOT_FOUND','pipe','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','Comment','flat','historyListServerUrl','date','getSheetObject','_revertRevision$','Plugin','interceptor','CURRENT_STATUS_CANNOT_OPERATE','transformSnapshotToWorkbookData','univer-animate-spin','@univerjs-pro/collaboration-client','INVALID_INVITE_CODE','_openPanel','177878GEJKyA','RemoveSheetMutation','all','LICENSE_DISTRO_REJECTED','editHistory.panel.confirm','loadingState$','45EjqJkU','set','xlink:href','editSheet','APPLY_REVISION_CONFILICT','APPLY_DUPLICATED','INVITE_CODE_HAS_BEEN_UES','SetRowStyle','triggerRevert','Subject','REDEMPTION_CODE_FULLY_REDEEMED','rule','endColumn','ENTITLE_DUP_SUBSCRIPTION','_maskContainer','SetWorksheetActiveOperation','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','MoveRowsMutation','#0B9EFB','editHistory.panel.unknownUser','querySelector','IMessageService','defineProperty','createElement','back-icon','name','white','FloatImg','isArray','onRendered','APPLY_NON_SEQUENTIAL_REVISION','blocks','Error','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','history-panel','UniverDesign','HTTPService','onSteady','editHistory.info.loading','Info','CreateSheet','MOBILE_VERIFY_CODE_MISMATCH','width','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','defs','includes','edit-history-viewer.config','UniverProSheetsChart','_removeDiffMarks','UpdateDataValidationMutation','entered','ENTITLE_NEED_BILLING_ADDRESS','editHistory.panel.cancel','replace','_permissionService','EMAIL_VERIFY_CODE_MISMATCH','LICENSE_MAX_UNITS_EXCEEDED','SetCellStyle','_getActiveSubUnitId','useDependency','blockMeta','_snapshotServerService','179949paxNii','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','display','removeSheet','column','_initActiveSwitch','ENTITLE_CHAT_LIMIT_EXCEED','deleteProtection','currentVersion$','useObservable','_diffs','primary','INTERNAL_ERROR','View','fill','RevertRevisionMutation','Vector2','ManageCollaborator','restore-icon_clip0_1247_2','user','InsertSheetMutation','Inject','UNIVER_SHEET','USER_IS_ANONYMOUS','DeleteRow','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','length','SheetPermissionInitController','MoveSheet','@univerjs/design','addProtection','UNIVER_DOC','REDEMPTION_INVALID_CODE','_sidebarDisposable','startColumn','ViemRwHgtClWdt','UniverSheetsUIPlugin','EditWorksheetCell','0\x200\x2016\x2016','11606535TewuJT','svg','_maskElement','SHEET_VIEWPORT_KEY','init','_sidebarService','getCurrentLocale','PY_RUNTIME_SCRIPT_ERROR','Today','span','univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','REDEMPTION_CODE_NOT_STARTED','WorkbookRenameSheetPermission','SheetCollabCursorShape','isTransformMutationsSuccess','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','_currentVersionDiff$','revertSheet','IImageIoService','rev','zIndex','attrs','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','asObservable','registerComponent','@univerjs/ui','unitId$','AddDataValidationMutation','_lastPointer','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverSheetsFilter','toStringTag','UniverNetwork','PAYMENT_CHANNEL_NOT_SUPPORT','from','loading-multi-icon','_setFetching','PERMISSION_DENIED','height','univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','url(#$1','_uiPartsService','endRow','SetFrozenMutation','versions$','UNAUTHENTICATED','_confirmService','Copy','UniverNetworkPlugin','EMAIL_HAS_BEEN_BOUND','_creators$','getDeserializedSheetBlock','COMPLETION_FINISHED','clipPath','Exited','editHistory.panel.revertConfirmText','BackIcon','_unitId$','Character','LOGIN_FAILED','_transformService','currentColor','VIRTUAL_VERSION_NOW','Loading','UniverEditHistoryViewerPlugin','getDataRange','LOGIN_TOKEN_PROCESSING_FAILED','CreateWorksheet','DATA_SOURCE_TOO_LARGE','Delete','UniverDrawing','MessageType','startRevision','filter','sheet','fetching$','UniverInstanceType','APPLY_PERMISSION_DENIED','values','Loaded','now','_transformMutationByOrder','REDEMPTION_CODE_INACTIVE','ReorderRangeMutation','next','@univerjs/core','body','get','SNAPSHOT_INVALID_SNAPSHOT','getElementById','176TOWwqe','hasCommand','react/jsx-runtime','RemoveNumfmtMutation','time','map','LICENSE_IMPORT_SIZE_EXCEEDED','Print','IConfirmService','_updateVersions','AddSheetSparklineMutation','rgba(58,\x2096,\x20247,\x200.20)','onMouseMove','switchMap','_members','exited','ENTITLE_COUPON_USED_UP','InsertHyperlink','IPermissionService','_dialogOptions$','YUUMI_ALL_TABLES_IS_INVALID','clsx','_updateDiffMarks','@univerjs/sheets-filter','IUniverInstanceService','revertRevision$','tag','UNIVER_UNKNOWN','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','MoveWorksheet','Module','_lastLabel','parseProtocolChangeset','history-mask','_localeService','cellValue','User','registerRenderModule','_loadingState$','IDialogService','DependentOn','_historyManagerService','userIds','_messageService','creators$','status','split','SnapshotServerOverHTTPService','UniverProSheetsSparkline','path','editHistory.panel.revertDesc','insertChart','_context','state$','workbook','LocaleService','append','/creators','some','_fetching$','users','_historyFetchService','@univerjs/drawing','createUnit','_combineRanges','SetConditionalRuleMutation','_workbookDataCache','InsertRow','ENTITLE_CAN_NOT_BUY_LOWER_OTP','insertSheet','LICENSE_EXPORT_SIZE_EXCEEDED','ObjectMatrix','DeleteRangeProtectionMutation','CopySheet','clear','editHistory.panel.currentUser','ranges','BuiltInUIPart','Export','YUUMI_CONNECTOR_URL_NOT_FOUND','unitId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs-pro/sheets-sparkline','ICommandService','reduce','random','colorChannel1','.univer-app-container-content','flex','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ENTITLE_COUPON_EXPIRED','subscribe','SetNumfmtMutation','CreateUnitMutation','UniverSheetsConditionalFormatting','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ComponentManager','getVersions','register','univer-m-auto\x20univer-animate-spin','VIEW_MAIN','SelectUnProtectedCells','push','_initPanel','SetRangeProtectionMutation','/list?','range','USER_NOT_FOUND',':\x20(','debounce','_sheetSkeletonManagerService','SetWorksheetStyle','Entered','fetching','USER_NOT_INVITED_CODE','UniverProCollaboration','addSparkline','toISOString','getCellPositionByOffset','_canRevert','CompressMutationService','getSeconds','_diffRangesMap'];_0x4c0b=function(){return _0x2f7333;};return _0x4c0b();}
18
18
 
19
19
  // @univerjs-pro/edit-history-loader/index
20
- function _0x340d(){const _0x54da9b=['_initContainer','onSteady','@univerjs/core','UniverSheetsFilterUi','UniverSheetsFilterUIPlugin','unsubscribe','UniverDrawingUi','history-icon','_config','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','height','23642973dUPmEr','@univerjs/sheets-formula','width','@univerjs/ui','unMountHistoryContent','133XAdQWu','toString','_sidebarService','from','getConfig','WorkbookEditablePermission','clipPath','@univerjs/sheets-ui','CollaborationController','_menuManagerService','invoke','1311674GUdRkw','getCurrentRangeDisable$','UniverSheetsFormula','react','editHistory.panel.listFetchError','UniverSheetsNumfmtPlugin','_themeService','string','mergeMenu','useRef','uComp','UniverSheetsConditionalFormatting','UniverSheetsHyperLinkPlugin','__getInjector','IPermissionService','getAllPlugins','trim','SYNCED','getSheetCommandTarget','reload','asObservable','xlink:href','_collaborationController','@univerjs/sheets-hyper-link','UniverProSheetsSparkline','UniverNetwork','UNIVER_HISTORY_CONTAINER_ID','getSubunitRuleList','UniverDrawing','@univerjs/design','ILocalCacheService','UniverSheetSparklinePlugin','_localCacheService','OPERATION','none','tag','UniverDocsUi','@univerjs/sheets-drawing-ui','getOwnPropertyDescriptor','symbol','UniverSheetsConditionalFormattingUIPlugin','_commandService','UniverSheetsDataValidationPlugin','session','UniverDesign','UniverSheetsDataValidationUi','registerCommand','UniverSheetsPlugin','1em','@univerjs-pro/sheets-sparkline','UniverCollaborationPlugin','RevertRevisionMutation','_dialogService','workerURL','rxjs','merge','@univerjs/network','setConfig','http://www.w3.org/2000/svg','includes','CommandType','UniverUIPlugin','fill','position','@univerjs/engine-render','@univerjs-pro/license','register','UniverProSheetsChart','ICommandService','getUnit','RangeProtectionRuleModel','forEach','history-icon_clip0_907_281','params','darkMode$','univerContainerId','getCurrentLocale','univer.operation.toggle-edit-history','IMessageService','UniverSheetsDataValidationUIPlugin','registerPlugin','edit-history-loader.config','event$','UniverDocs','historyListServerUrl','ThemeService','React','OTHERS','mask','getSheetId','_historyUniver$','UniverProCollaboration','currentColor','attrs','Error','UniverLicensePlugin','onStarting','IAuthzIoService','executeCommand','_pluginMap','ISidebarService','@univerjs/sheets-filter-ui','UniverDrawingPlugin','exhaustSavingTask','8918466VNhQIj','IUniverInstanceService','HistoryManagerService','DisposableCollection','univer-history-container','WorksheetEditPermission','UniverDrawingUIPlugin','UniverEngineFormula','UniverSheetsHyperLinkUIPlugin','has','_localeService','historyUniver','absolute','UniverRenderEnginePlugin','@univerjs/sheets-data-validation-ui','getElementById','577248pICAIz','_permissionService','UniverSheetsDrawingPlugin','IDialogService','getMenuHiddenObservable','_checkCanRevert','_selectionProtectionRuleModel','_initListener','flat','display','IConfigService','CollaborationEvent','createElement','@univerjs/sheets-conditional-formatting-ui','@univerjs/rpc','Plugin','WorkbookRecoverHistoryPermission','url(#$1','UniverSheetsHyperLinkUi','history-container','url(#history-icon_clip0_907_281)','_configService','_initUniver','length','some','UniverSheetsDrawingUIPlugin','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','UniverRpc','@univerjs/sheets','HistoryModeStatus','UniverSheetsPivotTablePlugin','@univerjs/drawing','UniverEngineRender','_disposableCollection','UniverProSheetsSparklineUi','RangeProtectionPermissionEditPoint','current','UniverSheetsHyperLink','321VlKQvH','map','add','1888876KpvIpC','LocaleService','revertRevision$','_messageService','UNIVER_CONTAINER_ID_KEY','forwardRef','UniverSheetsFormulaPlugin','getLocales','defineProperty','UniverSheetsDrawingUi','Inject','status$','toDisposable','@univerjs-pro/collaboration','UniverCore','MessageType','triggerLoadVersions','svg','_revertErrorTimer','@univerjs/sheets-hyper-link-ui','editHistory.panel.revertFailed','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','dataset','UniverDataValidationPlugin','_historyManagerService','use','_injector','permissionId','BUTTON','_init','ComponentManager','disposeWithMe','@univerjs/sheets-filter','univer-container','idSuffix','AuthzIoHttpService','@univerjs/drawing-ui','displayName','location','historyPanelComponentKey','UniverSheetsConditionalFormattingPlugin','HistoryLoaderService','children','UNIVER_UNKNOWN','UniverSheetsFilter','UniverSheetsUIPlugin','subscribe','getCollabEntity','UniverProSheetsPivot','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','@univerjs/sheets-data-validation','PLUGIN_CONFIG_KEY_MAIN_THREAD','RxDisposable','random','@univerjs-pro/sheets-sparkline-ui','mountHistoryContent','pluginName','block','@univerjs/sheets-numfmt','top','style','show','UniverSheetsDrawing','path','value','@univerjs-pro/sheets-pivot','editHistory.panel.reverting','_componentManager','UniverProCollaborationClient','setTheme','CollaborationStatus','Loading','UniverDataValidation','UniverInstanceType','HistoryIcon','UniverSheetsFilterPlugin','getSheets','100%','0\x200\x2016\x2016','Entered','setDarkMode','next','UniverNetworkPlugin','substring','BehaviorSubject','replace','state$','_univerInstanceService','univer.operation.exit-edit-history','@univerjs/sheets-drawing','data','get','MenuItemType','combineLatest','appendChild','UniverProLicense','UniverEditHistoryLoaderPlugin','every','toStringTag','WorkbookViewHistoryPermission','M0\x200H16V16H0z','UNIVER_CONTAINER_ID','clear','@univerjs-pro/sheets-chart-ui','closeAll','entries','historyUniver$','UniverSheetsNumfmt','@univerjs/engine-formula','setLocale','assign','defs','@univerjs/sheets-formula-ui','UniverDocsUIPlugin','./worker.js','6142740yFNruy','\x20has\x20been\x20registered.','12172DhXiZg','dispose','UniverSheetsChartPlugin','left','@univerjs/docs-ui'];_0x340d=function(){return _0x54da9b;};return _0x340d();}function _0x33b7(_0x1666fe,_0x486545){_0x1666fe=_0x1666fe-0xbb;const _0x340d30=_0x340d();let _0x33b774=_0x340d30[_0x1666fe];return _0x33b774;}(function(_0x20c2d4,_0x2a31cc){const _0x300e1b=_0x33b7,_0x27573e=_0x20c2d4();while(!![]){try{const _0x178703=-parseInt(_0x300e1b(0x1dd))/0x1+parseInt(_0x300e1b(0x148))/0x2+parseInt(_0x300e1b(0x145))/0x3*(-parseInt(_0x300e1b(0x1bd))/0x4)+parseInt(_0x300e1b(0x1bb))/0x5+parseInt(_0x300e1b(0x10f))/0x6+-parseInt(_0x300e1b(0x1d2))/0x7*(-parseInt(_0x300e1b(0x11f))/0x8)+-parseInt(_0x300e1b(0x1cd))/0x9;if(_0x178703===_0x2a31cc)break;else _0x27573e['push'](_0x27573e['shift']());}catch(_0x3f77ef){_0x27573e['push'](_0x27573e['shift']());}}}(_0x340d,0xbb089),function(_0x56d954,_0x13daa8){const _0x39c4c0=_0x33b7;typeof exports=='object'&&typeof module<'u'?_0x13daa8(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define(['exports',_0x39c4c0(0x1c4),_0x39c4c0(0x155),'@univerjs-pro/collaboration-client',_0x39c4c0(0xc4),_0x39c4c0(0x1e0),_0x39c4c0(0x1d0),_0x39c4c0(0xdd),_0x39c4c0(0x13b),'@univerjs-pro/edit-history-viewer',_0x39c4c0(0xe8),'@univerjs-pro/sheets-chart',_0x39c4c0(0x1af),_0x39c4c0(0x189),_0x39c4c0(0xd8),_0x39c4c0(0x17e),'@univerjs/data-validation','@univerjs/docs',_0x39c4c0(0x1c1),_0x39c4c0(0x13e),_0x39c4c0(0x16c),_0x39c4c0(0x1b4),_0x39c4c0(0xe7),_0x39c4c0(0xdf),_0x39c4c0(0x12d),'@univerjs/sheets-conditional-formatting',_0x39c4c0(0x12c),_0x39c4c0(0x17a),_0x39c4c0(0x11d),_0x39c4c0(0x1a1),_0x39c4c0(0xcc),_0x39c4c0(0x168),_0x39c4c0(0x10c),_0x39c4c0(0x1ce),_0x39c4c0(0x1b8),_0x39c4c0(0xbe),_0x39c4c0(0x15b),_0x39c4c0(0x182),_0x39c4c0(0x1d9)],_0x13daa8):(_0x56d954=typeof globalThis<'u'?globalThis:_0x56d954||self,_0x13daa8(_0x56d954['UniverProEditHistoryLoader']={},_0x56d954[_0x39c4c0(0x156)],_0x56d954[_0x39c4c0(0x102)],_0x56d954[_0x39c4c0(0x18c)],_0x56d954[_0x39c4c0(0xd3)],_0x56d954[_0x39c4c0(0xfd)],_0x56d954['UniverUi'],_0x56d954[_0x39c4c0(0xdd)],_0x56d954['UniverSheets'],_0x56d954['UniverProEditHistoryViewer'],_0x56d954[_0x39c4c0(0x1a7)],_0x56d954[_0x39c4c0(0xea)],_0x56d954['UniverProSheetsChartUi'],_0x56d954[_0x39c4c0(0x178)],_0x56d954[_0x39c4c0(0xbf)],_0x56d954[_0x39c4c0(0x141)],_0x56d954[_0x39c4c0(0x190)],_0x56d954[_0x39c4c0(0xfa)],_0x56d954[_0x39c4c0(0xcb)],_0x56d954[_0x39c4c0(0xc3)],_0x56d954[_0x39c4c0(0x1c8)],_0x56d954[_0x39c4c0(0x116)],_0x56d954[_0x39c4c0(0x13f)],_0x56d954[_0x39c4c0(0xc0)],_0x56d954[_0x39c4c0(0x13a)],_0x56d954[_0x39c4c0(0x1e8)],_0x56d954['UniverSheetsConditionalFormattingUi'],_0x56d954['UniverSheetsDataValidation'],_0x56d954[_0x39c4c0(0xd4)],_0x56d954[_0x39c4c0(0x186)],_0x56d954[_0x39c4c0(0x151)],_0x56d954[_0x39c4c0(0x174)],_0x56d954[_0x39c4c0(0x1c5)],_0x56d954[_0x39c4c0(0x1df)],_0x56d954['UniverSheetsFormulaUi'],_0x56d954[_0x39c4c0(0x144)],_0x56d954[_0x39c4c0(0x131)],_0x56d954[_0x39c4c0(0x1b3)],_0x56d954['UniverSheetsUi']));}(this,function(_0x3a7c48,_0x3aabc0,_0x2d6ff5,_0x55f275,_0x447971,_0x10dc54,_0x59b040,_0x167b24,_0x2535ea,_0x52ae89,_0x1ff399,_0x50a49b,_0x103270,_0x48032e,_0x214738,_0x1cceb8,_0x21dd88,_0x4032be,_0x43d140,_0x29277e,_0xb2ead9,_0x22b39b,_0x24634b,_0x1047f0,_0xb50feb,_0x33bc03,_0x480321,_0x3928a7,_0x25d380,_0x36f098,_0x35d2a6,_0x585fe5,_0x2e16ed,_0x112dcd,_0x33ebc7,_0x39cd71,_0x1a6325,_0x3c5653,_0x44d228){'use strict';const _0x5145a8=_0x33b7;var _0x581f44=Object[_0x5145a8(0x150)],_0x198ef8=(_0x591449,_0x1a60eb,_0x225462)=>_0x1a60eb in _0x591449?_0x581f44(_0x591449,_0x1a60eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x225462}):_0x591449[_0x1a60eb]=_0x225462,_0x51bb24=(_0x43742d,_0x43707d,_0x4973f7)=>_0x198ef8(_0x43742d,typeof _0x43707d!=_0x5145a8(0xce)?_0x43707d+'':_0x43707d,_0x4973f7),_0x3090b7;const _0x274fd6=_0x5145a8(0xf8),_0xd63eb8={};function _0x28fff1({ref:_0x5b3d82,..._0x481f9b}){const _0xdc6ffc=_0x5145a8,{icon:_0x233d1f,id:_0x4e4c13,className:_0x1a02ea,extend:_0x2e1f87,..._0x2b42ce}=_0x481f9b,_0x14f242=('univerjs-icon\x20univerjs-icon-'+_0x4e4c13+'\x20'+(_0x1a02ea||''))[_0xdc6ffc(0x1ed)](),_0x4dc3b0=_0x10dc54[_0xdc6ffc(0x1e6)]('_'+_0x4ca5cc());return _0x4bcb7b(_0x233d1f,''+_0x4e4c13,{'defIds':_0x233d1f['defIds'],'idSuffix':_0x4dc3b0[_0xdc6ffc(0x143)]},{'ref':_0x5b3d82,'className':_0x14f242,..._0x2b42ce},_0x2e1f87);}function _0x4bcb7b(_0x43a112,_0x210a9b,_0x5cee97,_0x3d2584,_0x239d88){const _0x2347c2=_0x5145a8;return _0x10dc54[_0x2347c2(0x12b)](_0x43a112['tag'],{'key':_0x210a9b,..._0x4b986c(_0x43a112,_0x5cee97,_0x239d88),..._0x3d2584},(_0x12c6db(_0x43a112,_0x5cee97)[_0x2347c2(0x172)]||[])[_0x2347c2(0x146)]((_0x2f0fed,_0x5bf3e8)=>_0x4bcb7b(_0x2f0fed,_0x210a9b+'-'+_0x43a112[_0x2347c2(0xca)]+'-'+_0x5bf3e8,_0x5cee97,void 0x0,_0x239d88)));}function _0x4b986c(_0x2d15d7,_0x138afa,_0x2a9684){const _0xa1b3c7=_0x5145a8,_0x220d92={..._0x2d15d7[_0xa1b3c7(0x104)]};_0x2a9684!=null&&_0x2a9684['colorChannel1']&&_0x220d92[_0xa1b3c7(0xe5)]==='colorChannel1'&&(_0x220d92[_0xa1b3c7(0xe5)]=_0x2a9684['colorChannel1']),_0x2d15d7[_0xa1b3c7(0xca)]===_0xa1b3c7(0xff)&&_0x220d92['id']&&(_0x220d92['id']=_0x220d92['id']+_0x138afa[_0xa1b3c7(0x16a)]),Object['entries'](_0x220d92)[_0xa1b3c7(0xee)](([_0x41c5d7,_0x2fd05f])=>{const _0x709148=_0xa1b3c7;_0x41c5d7===_0x709148(0xff)&&typeof _0x2fd05f==_0x709148(0x1e4)&&(_0x220d92[_0x41c5d7]=_0x2fd05f[_0x709148(0x19d)](/url\(#(.*)\)/,_0x709148(0x130)+_0x138afa[_0x709148(0x16a)]+')'));});const {defIds:_0x1eac68}=_0x138afa;return!_0x1eac68||_0x1eac68['length']===0x0||(_0x2d15d7[_0xa1b3c7(0xca)]===_0xa1b3c7(0x161)&&_0x220d92[_0xa1b3c7(0xbc)]&&(_0x220d92[_0xa1b3c7(0xbc)]=_0x220d92[_0xa1b3c7(0xbc)]+_0x138afa[_0xa1b3c7(0x16a)]),Object[_0xa1b3c7(0x1b1)](_0x220d92)['forEach'](([_0x14aae0,_0x450e8a])=>{const _0x2ce78a=_0xa1b3c7;typeof _0x450e8a==_0x2ce78a(0x1e4)&&(_0x220d92[_0x14aae0]=_0x450e8a[_0x2ce78a(0x19d)](/url\(#(.*)\)/,_0x2ce78a(0x130)+_0x138afa['idSuffix']+')'));})),_0x220d92;}function _0x12c6db(_0x46fa6b,_0x268320){const _0x24fdc5=_0x5145a8;var _0x53ba9a;const {defIds:_0x1e3529}=_0x268320;return!_0x1e3529||_0x1e3529[_0x24fdc5(0x136)]===0x0?_0x46fa6b:_0x46fa6b[_0x24fdc5(0xca)]===_0x24fdc5(0x1b7)&&((_0x53ba9a=_0x46fa6b['children'])!=null&&_0x53ba9a['length'])?{..._0x46fa6b,'children':_0x46fa6b['children']['map'](_0x158293=>typeof _0x158293['attrs']['id']==_0x24fdc5(0x1e4)&&_0x1e3529&&_0x1e3529[_0x24fdc5(0xe2)](_0x158293[_0x24fdc5(0x104)]['id'])?{..._0x158293,'attrs':{..._0x158293[_0x24fdc5(0x104)],'id':_0x158293['attrs']['id']+_0x268320[_0x24fdc5(0x16a)]}}:_0x158293)}:_0x46fa6b;}function _0x4ca5cc(){const _0x429bb3=_0x5145a8;return Math[_0x429bb3(0x17d)]()[_0x429bb3(0x1d3)](0x24)[_0x429bb3(0x19b)](0x2,0x8);}_0x28fff1[_0x5145a8(0x16d)]='UniverIcon';const _0x507e75={'tag':_0x5145a8(0x159),'attrs':{'xmlns':_0x5145a8(0xe1),'fill':_0x5145a8(0xc9),'viewBox':_0x5145a8(0x196),'width':_0x5145a8(0xd7),'height':_0x5145a8(0xd7)},'children':[{'tag':'g','attrs':{'fill':_0x5145a8(0x103),'clipPath':_0x5145a8(0x133)},'children':[{'tag':'path','attrs':{'d':_0x5145a8(0x179)}},{'tag':_0x5145a8(0x187),'attrs':{'d':_0x5145a8(0x139)}}]},{'tag':_0x5145a8(0x1b7),'attrs':{},'children':[{'tag':_0x5145a8(0x1d8),'attrs':{'id':_0x5145a8(0xef)},'children':[{'tag':_0x5145a8(0x187),'attrs':{'fill':'white','d':_0x5145a8(0x1ac)}}]}]}],'defIds':[_0x5145a8(0xef)]},_0xbe31e=_0x10dc54[_0x5145a8(0x14d)](function(_0x187a1,_0x218cde){const _0x331747=_0x5145a8;return _0x10dc54[_0x331747(0x12b)](_0x28fff1,Object[_0x331747(0x1b6)]({},_0x187a1,{'id':_0x331747(0x1c9),'ref':_0x218cde,'icon':_0x507e75}));});_0xbe31e[_0x5145a8(0x16d)]=_0x5145a8(0x192);var _0x304253=Object['getOwnPropertyDescriptor'],_0xd0dbfd=(_0x5e973a,_0x2511c4,_0x12e77e,_0x2c28a2)=>{for(var _0x27697e=_0x2c28a2>0x1?void 0x0:_0x2c28a2?_0x304253(_0x2511c4,_0x12e77e):_0x2511c4,_0x207532=_0x5e973a['length']-0x1,_0x510580;_0x207532>=0x0;_0x207532--)(_0x510580=_0x5e973a[_0x207532])&&(_0x27697e=_0x510580(_0x27697e)||_0x27697e);return _0x27697e;},_0x56462c=(_0x3939f1,_0x109bab)=>(_0x3e2772,_0x320e21)=>_0x109bab(_0x3e2772,_0x320e21,_0x3939f1);const _0x1cc561=_0x5145a8(0x169),_0x18a3f4=_0x5145a8(0x1ad),_0x3a2982=_0x5145a8(0x113);_0x3a7c48['HistoryLoaderService']=class extends _0x3aabc0['Disposable']{constructor(_0x3db7bc,_0x8d322b,_0x31f281,_0x27b838,_0x4019d5,_0x5f1e53,_0x37cc6c,_0xf5e13f,_0x20e508,_0x3b9010){const _0x1eca37=_0x5145a8;super(),_0x51bb24(this,_0x1eca37(0x101),new _0x167b24[(_0x1eca37(0x19c))](null)),_0x51bb24(this,_0x1eca37(0x1b2),this[_0x1eca37(0x101)][_0x1eca37(0xbb)]()),_0x51bb24(this,_0x1eca37(0x140),new _0x3aabc0[(_0x1eca37(0x112))]()),_0x51bb24(this,_0x1eca37(0x10a),new Map()),(this[_0x1eca37(0x119)]=_0x3db7bc,this['_univerInstanceService']=_0x8d322b,this['_configService']=_0x31f281,this[_0x1eca37(0xd0)]=_0x27b838,this[_0x1eca37(0x14b)]=_0x4019d5,this['_permissionService']=_0x5f1e53,this['_selectionProtectionRuleModel']=_0x37cc6c,this['_dialogService']=_0xf5e13f,this[_0x1eca37(0x1d4)]=_0x20e508,this[_0x1eca37(0x1e3)]=_0x3b9010,this[_0x1eca37(0x165)]());}get[_0x5145a8(0x11a)](){const _0x4a4a95=_0x5145a8;return this[_0x4a4a95(0x101)]['value'];}['_init'](){const _0x4f6f05=_0x5145a8;this[_0x4f6f05(0x1c2)](),this['_initPlugins']();}['_initContainer'](){const _0x37c167=_0x5145a8;var _0x4667f5;const _0x504cca=(_0x4667f5=this['_configService'][_0x37c167(0x1d6)](_0x18a3f4))!=null?_0x4667f5:_0x1cc561,_0x5c5a06=document[_0x37c167(0x11e)](_0x504cca);if(!_0x5c5a06)return;const _0x4b73a6=document[_0x37c167(0x12b)]('div');_0x4b73a6['id']=_0x3a2982,_0x4b73a6[_0x37c167(0x15e)][_0x37c167(0x1e7)]=_0x37c167(0x132),_0x4b73a6[_0x37c167(0x184)][_0x37c167(0xe6)]=_0x37c167(0x11b),_0x4b73a6[_0x37c167(0x184)][_0x37c167(0x183)]='0',_0x4b73a6['style'][_0x37c167(0x1c0)]='0',_0x4b73a6[_0x37c167(0x184)][_0x37c167(0x1cf)]=_0x37c167(0x195),_0x4b73a6[_0x37c167(0x184)][_0x37c167(0x1cc)]='100%',_0x4b73a6['style']['zIndex']='1000',_0x4b73a6[_0x37c167(0x184)][_0x37c167(0x128)]='none',_0x5c5a06[_0x37c167(0x1a6)](_0x4b73a6);}['_initPlugins'](){const _0x29c2b9=_0x5145a8;var _0x1843cb,_0x471d48,_0x78d569,_0xe83c38;[[_0x24634b[_0x29c2b9(0x11c)]],[_0x59b040[_0x29c2b9(0xe4)],{'container':_0x3a2982,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x59b040[_0x29c2b9(0x122)],null]]}],[_0x1047f0[_0x29c2b9(0x19a)]],[_0x29277e[_0x29c2b9(0x10d)],{'override':[[_0x29277e['IImageIoService'],null]]}],[_0x4032be['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x43d140[_0x29c2b9(0x1b9)]],[_0x3c5653[_0x29c2b9(0x1e2)]],[_0x2535ea[_0x29c2b9(0xd6)],{'notExecuteFormula':!0x0}],[_0x44d228[_0x29c2b9(0x175)]],[_0x112dcd[_0x29c2b9(0x14e)]],[_0x33ebc7['UniverSheetsFormulaUIPlugin']],[_0x2d6ff5[_0x29c2b9(0xd9)]],[_0x585fe5[_0x29c2b9(0x193)]],[_0x2e16ed[_0x29c2b9(0x1c6)]],[_0x33bc03[_0x29c2b9(0x170)]],[_0x480321[_0x29c2b9(0xcf)]],[_0x39cd71[_0x29c2b9(0x1e9)]],[_0x1a6325[_0x29c2b9(0x117)]],[_0x21dd88[_0x29c2b9(0x15f)]],[_0x3928a7[_0x29c2b9(0xd1)]],[_0x25d380[_0x29c2b9(0xf6)]],[_0x22b39b['UniverFormulaEnginePlugin'],{'notExecuteFormula':!0x0}],[_0xb50feb['UniverRPCMainThreadPlugin'],{'workerURL':(_0x471d48=(_0x1843cb=this[_0x29c2b9(0x134)]['getConfig'](_0xb50feb[_0x29c2b9(0x17b)]))==null?void 0x0:_0x1843cb[_0x29c2b9(0xdc)])!=null?_0x471d48:_0x29c2b9(0x1ba)}],[_0xb2ead9[_0x29c2b9(0x115)]],[_0x36f098[_0x29c2b9(0x121)]],[_0x35d2a6[_0x29c2b9(0x138)]],[_0x214738[_0x29c2b9(0xc6)]],[_0x1cceb8['UniverSheetSparklineUIPlugin']],[_0x50a49b[_0x29c2b9(0x1bf)]],[_0x103270['UniverSheetsChartUIPlugin']],[_0x48032e[_0x29c2b9(0x13d)],{'notExecuteFormula':!0x0}],[_0x52ae89['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x78d569=this['_configService'][_0x29c2b9(0x1d6)](_0x274fd6))==null?void 0x0:_0x78d569[_0x29c2b9(0xfb)],'historyPanelComponentKey':(_0xe83c38=this[_0x29c2b9(0x134)][_0x29c2b9(0x1d6)](_0x274fd6))==null?void 0x0:_0xe83c38[_0x29c2b9(0x16f)]}]]['forEach'](([_0x562fe8,_0x1c8d55])=>this[_0x29c2b9(0xf7)](_0x562fe8,_0x1c8d55));}[_0x5145a8(0x1be)](){const _0x49f269=_0x5145a8;super['dispose'](),this[_0x49f269(0x1d1)](),this['_pluginMap'][_0x49f269(0x1ae)]();}[_0x5145a8(0xf7)](_0x27a415,_0x3db6be,_0x5af4ee){const _0x40743c=_0x5145a8;if(this[_0x40743c(0x10a)][_0x40743c(0x118)](_0x27a415[_0x40743c(0x180)])&&!_0x5af4ee)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x27a415[_0x40743c(0x180)]+_0x40743c(0x1bc));this[_0x40743c(0x10a)]['set'](_0x27a415['pluginName'],[_0x27a415,_0x3db6be]);}[_0x5145a8(0x1ec)](){const _0x1c9f05=_0x5145a8;return Array[_0x1c9f05(0x1d5)](this[_0x1c9f05(0x10a)]['values']());}['mountHistoryContent'](_0x348e34){const _0x40dd24=_0x5145a8,_0x3c5fdb=document['getElementById'](_0x3a2982);_0x3c5fdb&&(_0x3c5fdb['style']['display']=_0x40dd24(0x181),this[_0x40dd24(0x135)](_0x348e34,_0x3a2982));}[_0x5145a8(0x1d1)](){const _0x59e260=_0x5145a8;var _0x20cc60;this[_0x59e260(0x140)][_0x59e260(0x1be)](),(_0x20cc60=this[_0x59e260(0x11a)])==null||_0x20cc60[_0x59e260(0x1be)](),this[_0x59e260(0x101)][_0x59e260(0x199)](null);const _0x2d4941=document[_0x59e260(0x11e)](_0x3a2982);_0x2d4941&&(_0x2d4941['style'][_0x59e260(0x128)]=_0x59e260(0xc9));}['_initUniver'](_0x158480,_0x4b394c){const _0x4b9f76=_0x5145a8;if(this[_0x4b9f76(0x11a)])return;const _0x5e5462=new _0x3aabc0['Univer']({'locales':{[this[_0x4b9f76(0x119)][_0x4b9f76(0xf3)]()]:this['_localeService'][_0x4b9f76(0x14f)]()},'override':[[_0x3aabc0[_0x4b9f76(0x108)],{'useClass':_0x55f275[_0x4b9f76(0x16b)]}]]}),_0x30c1a4=_0x5e5462[_0x4b9f76(0x1ea)]();this[_0x4b9f76(0x167)](this[_0x4b9f76(0x1e3)][_0x4b9f76(0xf1)][_0x4b9f76(0x176)](_0x1ad1e6=>{const _0x5c8564=_0x4b9f76;_0x30c1a4[_0x5c8564(0x1a3)](_0x3aabc0[_0x5c8564(0xfc)])[_0x5c8564(0x198)](_0x1ad1e6);})),this[_0x4b9f76(0x167)](this['_themeService']['currentTheme$']['subscribe'](_0x4f8a6c=>{const _0x23657=_0x4b9f76;_0x30c1a4[_0x23657(0x1a3)](_0x3aabc0[_0x23657(0xfc)])[_0x23657(0x18d)](_0x4f8a6c);})),_0x30c1a4[_0x4b9f76(0x1a3)](_0x3aabc0[_0x4b9f76(0x149)])[_0x4b9f76(0x1b5)](this[_0x4b9f76(0x119)][_0x4b9f76(0xf3)]()),_0x30c1a4['get'](_0x3aabc0[_0x4b9f76(0x129)])[_0x4b9f76(0xe0)](_0x55f275[_0x4b9f76(0x1cb)],this[_0x4b9f76(0x134)][_0x4b9f76(0x1d6)](_0x55f275[_0x4b9f76(0x1cb)]));const _0x27bb04=this[_0x4b9f76(0x134)][_0x4b9f76(0x1d6)](_0x1ff399['LS_CONFIG_KEY']);_0x27bb04&&_0x5e5462[_0x4b9f76(0xf7)](_0x1ff399[_0x4b9f76(0x106)],{'license':_0x27bb04['ls']}),this[_0x4b9f76(0x10a)]['forEach'](([_0x56110a,_0x1ff0f0])=>{_0x5e5462['registerPlugin'](_0x56110a,_0x1ff0f0);}),_0x30c1a4[_0x4b9f76(0x1dc)](_0x33b260=>{const _0xf570ea=_0x4b9f76;this[_0xf570ea(0x126)](_0x33b260,_0x158480);}),this[_0x4b9f76(0x101)][_0x4b9f76(0x199)](_0x5e5462);const _0x1aba5a=_0x30c1a4['get'](_0x52ae89[_0x4b9f76(0x111)]),_0xaf8869=this['_checkCanRevert'](_0x158480);_0x1aba5a[_0x4b9f76(0x158)](_0x158480,_0x4b394c,_0xaf8869);}[_0x5145a8(0x126)](_0x5d4f42,_0x20a4a0){const _0x22acd6=_0x5145a8,_0x51e54b=_0x5d4f42['get'](_0x52ae89['HistoryManagerService']);this[_0x22acd6(0x140)][_0x22acd6(0x147)](_0x51e54b[_0x22acd6(0x153)][_0x22acd6(0x176)](_0x40420b=>{const _0x4cf391=_0x22acd6;switch(_0x40420b){case _0x52ae89[_0x4cf391(0x13c)][_0x4cf391(0x197)]:this[_0x4cf391(0xdb)][_0x4cf391(0x1b0)](),this['_sidebarService']['close']();break;case _0x52ae89[_0x4cf391(0x13c)]['Exited']:this[_0x4cf391(0xd0)][_0x4cf391(0x109)](_0x21ecd2['id']),this['unMountHistoryContent']();break;case _0x52ae89['HistoryModeStatus'][_0x4cf391(0x105)]:this['unMountHistoryContent'](),this['_messageService']['show']({'content':this[_0x4cf391(0x119)]['t'](_0x4cf391(0x1e1)),'type':_0x447971[_0x4cf391(0x157)]['Error'],'duration':0xbb8});break;}})),this['_disposableCollection']['add'](_0x51e54b[_0x22acd6(0x14a)][_0x22acd6(0x176)](async _0xdf088a=>{const _0xfc0af0=_0x22acd6;_0xdf088a&&this['_commandService']['executeCommand'](_0x2d6ff5[_0xfc0af0(0xda)]['id'],{'unitId':_0x20a4a0,'revision':_0xdf088a});}));}[_0x5145a8(0x124)](_0x1a6c53){const _0x594310=_0x5145a8,_0x485358=this[_0x594310(0x19f)][_0x594310(0xec)](_0x1a6c53)[_0x594310(0x194)]()['map'](_0x5964fc=>_0x5964fc[_0x594310(0x100)]()),_0x546c7b=new _0x2535ea[(_0x594310(0x1d7))](_0x1a6c53)['id'],_0x5a8486=_0x485358[_0x594310(0x146)](_0xbc0e0b=>new _0x2535ea[(_0x594310(0x114))](_0x1a6c53,_0xbc0e0b)['id']),_0x4a3271=_0x485358[_0x594310(0x146)](_0x3c7a36=>this[_0x594310(0x125)][_0x594310(0xc2)](_0x1a6c53,_0x3c7a36)[_0x594310(0x146)](_0x5095a4=>new _0x2535ea[(_0x594310(0x142))](_0x1a6c53,_0x3c7a36,_0x5095a4[_0x594310(0x163)])['id']))[_0x594310(0x127)](),_0x46de4b=new _0x2535ea[(_0x594310(0x12f))](_0x1a6c53)['id'];return this[_0x594310(0x120)]['composePermission']([_0x546c7b,..._0x5a8486,..._0x4a3271,_0x46de4b])[_0x594310(0x1a9)](_0x265944=>!!_0x265944[_0x594310(0x188)]);}},_0x3a7c48[_0x5145a8(0x171)]=_0xd0dbfd([_0x56462c(0x0,_0x3aabc0[_0x5145a8(0x152)](_0x3aabc0[_0x5145a8(0x149)])),_0x56462c(0x1,_0x3aabc0['IUniverInstanceService']),_0x56462c(0x2,_0x3aabc0[_0x5145a8(0x129)]),_0x56462c(0x3,_0x3aabc0['ICommandService']),_0x56462c(0x4,_0x59b040[_0x5145a8(0xf5)]),_0x56462c(0x5,_0x3aabc0[_0x5145a8(0x1eb)]),_0x56462c(0x6,_0x3aabc0['Inject'](_0x2535ea[_0x5145a8(0xed)])),_0x56462c(0x7,_0x3aabc0['Inject'](_0x59b040[_0x5145a8(0x122)])),_0x56462c(0x8,_0x3aabc0['Inject'](_0x59b040[_0x5145a8(0x10b)])),_0x56462c(0x9,_0x3aabc0[_0x5145a8(0x152)](_0x3aabc0[_0x5145a8(0xfc)]))],_0x3a7c48[_0x5145a8(0x171)]);const _0x1a4348={'id':_0x5145a8(0xf4),'type':_0x3aabc0['CommandType'][_0x5145a8(0xc8)],'handler':_0x4df32b=>{const _0x10de55=_0x5145a8,_0x4ce05f=_0x4df32b[_0x10de55(0x1a3)](_0x3a7c48[_0x10de55(0x171)]),_0x312baf=_0x4df32b['get'](_0x3aabc0[_0x10de55(0x110)]),{unitId:_0x1d5240}=_0x2535ea[_0x10de55(0x1ef)](_0x312baf)||{};return _0x1d5240?(_0x4ce05f[_0x10de55(0x17f)](_0x1d5240),!0x0):!0x1;}},_0x21ecd2={'id':_0x5145a8(0x1a0),'type':_0x3aabc0[_0x5145a8(0xe3)][_0x5145a8(0xc8)],'handler':()=>!0x0};function _0x183e5c(_0x3bda32){const _0x26b2a=_0x5145a8;return{'id':_0x1a4348['id'],'type':_0x59b040[_0x26b2a(0x1a4)][_0x26b2a(0x164)],'icon':'HistoryIcon','tooltip':'editHistory.panel.title','hidden$':_0x59b040[_0x26b2a(0x123)](_0x3bda32,_0x3aabc0['UniverInstanceType']['UNIVER_SHEET']),'disabled$':_0x44d228[_0x26b2a(0x1de)](_0x3bda32,{'workbookTypes':[_0x2535ea[_0x26b2a(0x1d7)],_0x2535ea[_0x26b2a(0x1ab)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x443e29={[_0x59b040['RibbonStartGroup'][_0x5145a8(0xfe)]]:{[_0x1a4348['id']]:{'order':0.2,'menuItemFactory':_0x183e5c}}};var _0x44db6f=Object[_0x5145a8(0xcd)],_0x181ef3=(_0xe3e211,_0x1c794f,_0x3d7dca,_0x42f5c4)=>{for(var _0x37f58f=_0x42f5c4>0x1?void 0x0:_0x42f5c4?_0x44db6f(_0x1c794f,_0x3d7dca):_0x1c794f,_0x4cf71e=_0xe3e211['length']-0x1,_0x31cd0f;_0x4cf71e>=0x0;_0x4cf71e--)(_0x31cd0f=_0xe3e211[_0x4cf71e])&&(_0x37f58f=_0x31cd0f(_0x37f58f)||_0x37f58f);return _0x37f58f;},_0x23e967=(_0x3bca65,_0x5313e5)=>(_0x408196,_0x19fbfa)=>_0x5313e5(_0x408196,_0x19fbfa,_0x3bca65);let _0x56cb59=class extends _0x3aabc0[_0x5145a8(0x17c)]{constructor(_0x1d5784,_0x344379,_0x2a0c9c,_0x2e8db3,_0x25a46e,_0x39a178,_0x4d9cac,_0x4e3dcf){const _0x492c29=_0x5145a8;super(),_0x51bb24(this,_0x492c29(0x15a),null),(this[_0x492c29(0xd0)]=_0x1d5784,this['_menuManagerService']=_0x344379,this['_componentManager']=_0x2a0c9c,this[_0x492c29(0x160)]=_0x2e8db3,this[_0x492c29(0x119)]=_0x25a46e,this['_messageService']=_0x39a178,this[_0x492c29(0xbd)]=_0x4d9cac,this[_0x492c29(0xc7)]=_0x4e3dcf,this[_0x492c29(0x165)]());}[_0x5145a8(0x165)](){const _0xaa201=_0x5145a8;[_0x1a4348,_0x21ecd2][_0xaa201(0xee)](_0x2d50e7=>this[_0xaa201(0x167)](_0x3aabc0[_0xaa201(0x154)](this[_0xaa201(0xd0)][_0xaa201(0xd5)](_0x2d50e7)))),this[_0xaa201(0x167)](this[_0xaa201(0x18b)][_0xaa201(0xe9)]('HistoryIcon',_0xbe31e)),this[_0xaa201(0x1db)][_0xaa201(0x1e5)](_0x443e29),this[_0xaa201(0x167)](this[_0xaa201(0xd0)]['onCommandExecuted'](_0x197394=>{const _0x107176=_0xaa201;if(_0x197394['id']===_0x2d6ff5[_0x107176(0xda)]['id']){this['_messageService'][_0x107176(0x185)]({'content':this[_0x107176(0x119)]['t'](_0x107176(0x18a)),'type':_0x447971[_0x107176(0x157)][_0x107176(0x18f)],'duration':0x1388});const {unitId:_0x1d90a9}=_0x197394[_0x107176(0xf0)],_0xc5466e=this['_collaborationController'][_0x107176(0x177)](_0x1d90a9),_0x20b69d=_0x167b24[_0x107176(0x1a5)]([_0xc5466e[_0x107176(0xd2)][_0x107176(0xf9)],_0xc5466e[_0x107176(0x19e)]])[_0x107176(0x176)](async([_0x42c69e,_0x56b2d5])=>{const _0x586136=_0x107176;var _0x29b6f4;_0x42c69e['eventID']===_0x2d6ff5[_0x586136(0x12a)]['CHANGESET_ACK']&&(_0x56b2d5==null?void 0x0:_0x56b2d5['status'])===_0x55f275[_0x586136(0x18e)][_0x586136(0x1ee)]&&_0x42c69e[_0x586136(0x1a2)]['mutations'][_0x586136(0x137)](_0x57f7f5=>_0x57f7f5['id']===_0x2d6ff5[_0x586136(0xda)]['id'])&&(this[_0x586136(0x160)]['unMountHistoryContent'](),_0x20b69d['unsubscribe'](),this[_0x586136(0x15a)]&&clearTimeout(this[_0x586136(0x15a)]),await((_0x29b6f4=this[_0x586136(0xc7)])==null?void 0x0:_0x29b6f4[_0x586136(0x10e)]()),setTimeout(()=>window[_0x586136(0x16e)][_0x586136(0x1f0)]()));});this[_0x107176(0x15a)]=setTimeout(()=>{const _0x1ee2ce=_0x107176;_0x20b69d[_0x1ee2ce(0x1c7)](),this[_0x1ee2ce(0x14b)][_0x1ee2ce(0x185)]({'content':this[_0x1ee2ce(0x119)]['t'](_0x1ee2ce(0x15c)),'type':_0x447971[_0x1ee2ce(0x157)][_0x1ee2ce(0x105)],'duration':0xbb8});},0x1388);}}));}};_0x56cb59=_0x181ef3([_0x23e967(0x0,_0x3aabc0[_0x5145a8(0xeb)]),_0x23e967(0x1,_0x59b040['IMenuManagerService']),_0x23e967(0x2,_0x3aabc0[_0x5145a8(0x152)](_0x59b040[_0x5145a8(0x166)])),_0x23e967(0x3,_0x3aabc0[_0x5145a8(0x152)](_0x3a7c48[_0x5145a8(0x171)])),_0x23e967(0x4,_0x3aabc0[_0x5145a8(0x152)](_0x3aabc0[_0x5145a8(0x149)])),_0x23e967(0x5,_0x59b040[_0x5145a8(0xf5)]),_0x23e967(0x6,_0x3aabc0['Inject'](_0x55f275[_0x5145a8(0x1da)])),_0x23e967(0x7,_0x55f275[_0x5145a8(0xc5)])],_0x56cb59);var _0x12ca84=Object[_0x5145a8(0xcd)],_0x31a80b=(_0x28a2fd,_0x39aa7f,_0x8b2068,_0x535d42)=>{const _0xa3b972=_0x5145a8;for(var _0x53d95c=_0x535d42>0x1?void 0x0:_0x535d42?_0x12ca84(_0x39aa7f,_0x8b2068):_0x39aa7f,_0x106df8=_0x28a2fd[_0xa3b972(0x136)]-0x1,_0x333090;_0x106df8>=0x0;_0x106df8--)(_0x333090=_0x28a2fd[_0x106df8])&&(_0x53d95c=_0x333090(_0x53d95c)||_0x53d95c);return _0x53d95c;},_0x595001=(_0x1f6561,_0x396602)=>(_0x89ad5d,_0x3ebd51)=>_0x396602(_0x89ad5d,_0x3ebd51,_0x1f6561);const _0x461895=_0x5145a8(0x15d);_0x3a7c48[_0x5145a8(0x1a8)]=(_0x3090b7=class extends _0x3aabc0[_0x5145a8(0x12e)]{constructor(_0x56c854=_0xd63eb8,_0x3b0737,_0x3f731c){const _0x11c2e5=_0x5145a8;super(),this[_0x11c2e5(0x1ca)]=_0x56c854,this[_0x11c2e5(0x162)]=_0x3b0737,this[_0x11c2e5(0x134)]=_0x3f731c;const {menu:_0x4e27d2,..._0x580ae7}=_0x3aabc0[_0x11c2e5(0xde)]({},_0xd63eb8,this[_0x11c2e5(0x1ca)]);_0x4e27d2&&this[_0x11c2e5(0x134)][_0x11c2e5(0xe0)]('menu',_0x4e27d2,{'merge':!0x0}),this[_0x11c2e5(0x134)][_0x11c2e5(0xe0)](_0x274fd6,_0x580ae7),this[_0x11c2e5(0x1ca)][_0x11c2e5(0xf2)]&&this[_0x11c2e5(0x134)]['setConfig'](_0x18a3f4,this[_0x11c2e5(0x1ca)][_0x11c2e5(0xf2)]);}[_0x5145a8(0x107)](){const _0x40577d=_0x5145a8;[[_0x3a7c48[_0x40577d(0x171)]],[_0x56cb59]][_0x40577d(0xee)](_0x5bcb6b=>this['_injector'][_0x40577d(0x147)](_0x5bcb6b));}[_0x5145a8(0x1c3)](){const _0x54bdab=_0x5145a8;this[_0x54bdab(0x162)][_0x54bdab(0x1a3)](_0x56cb59);}},_0x51bb24(_0x3090b7,'type',_0x3aabc0[_0x5145a8(0x191)][_0x5145a8(0x173)]),_0x51bb24(_0x3090b7,_0x5145a8(0x180),_0x461895),_0x3090b7),_0x3a7c48['UniverEditHistoryLoaderPlugin']=_0x31a80b([_0x595001(0x1,_0x3aabc0[_0x5145a8(0x152)](_0x3aabc0['Injector'])),_0x595001(0x2,_0x3aabc0[_0x5145a8(0x129)])],_0x3a7c48['UniverEditHistoryLoaderPlugin']),_0x3a7c48[_0x5145a8(0x14c)]=_0x18a3f4,_0x3a7c48[_0x5145a8(0xc1)]=_0x3a2982,Object[_0x5145a8(0x150)](_0x3a7c48,Symbol[_0x5145a8(0x1aa)],{'value':'Module'});}));
20
+ function _0x5a26(){const _0xd0c8fd=['_permissionService','ComponentManager','@univerjs/sheets-data-validation-ui','invoke','editHistory.panel.reverting','IAuthzIoService','has','symbol','@univerjs/sheets-formula','UniverSheetsDataValidationPlugin','@univerjs/sheets','reload','rxjs','disposeWithMe','_messageService','UniverIcon','_commandService','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','IDialogService','executeCommand','historyPanelComponentKey','0\x200\x2016\x2016','length','UniverSheetsDrawingUi','dataset','WorksheetEditPermission','Disposable','Module','appendChild','UniverProSheetsSparkline','historyUniver$','BehaviorSubject','_disposableCollection','currentColor','@univerjs/sheets-hyper-link-ui','@univerjs-pro/edit-history-viewer','UniverSheetsPivotTablePlugin','workerURL','13021479hZZLxH','UniverProEditHistoryViewer','getSubunitRuleList','UniverFormulaEnginePlugin','HistoryLoaderService','UniverDocsPlugin','UniverDrawing','string','clear','@univerjs/engine-render','defIds','unMountHistoryContent','add','230EBfPHV','UNIVER_CONTAINER_ID_KEY','height','combineLatest','zIndex','_initContainer','WorkbookEditablePermission','pluginName','asObservable','UniverSheetSparklinePlugin','trim','univerjs-icon\x20univerjs-icon-','_historyUniver$','path','_initListener','UNIVER_CONTAINER_ID','IImageIoService','state$','UniverEditHistoryLoaderPlugin','mountHistoryContent','@univerjs/docs-ui','absolute','RangeProtectionPermissionEditPoint','editHistory.panel.revertFailed','UniverSheetsConditionalFormattingPlugin','@univerjs/sheets-drawing-ui','toStringTag','useRef','_collaborationController','onCommandExecuted','onSteady','@univerjs/sheets-drawing','getOwnPropertyDescriptor','displayName','UniverSheetSparklineUIPlugin','colorChannel1','UniverEngineRender','@univerjs/data-validation','substring','defineProperty','entries','_revertErrorTimer','100%','getSheetId','@univerjs/rpc','url(#history-icon_clip0_907_281)','historyUniver','BUTTON','@univerjs-pro/sheets-chart-ui','closeAll','_initUniver','UNIVER_SHEET','xlink:href','clipPath','RibbonStartGroup','UniverSheetsDataValidationUIPlugin','__getInjector','show','every','@univerjs/sheets-data-validation','WorkbookViewHistoryPermission','UniverDrawingPlugin','@univerjs-pro/sheets-sparkline','onStarting','_localCacheService','set','Loading','UniverSheetsNumfmtPlugin','ICommandService','UniverSheetsFormulaUIPlugin','1723420VFtdSL','block','function','UniverDocsUi','url(#$1','register','getCurrentLocale','UniverProSheetsChart','@univerjs/network','assign','React','@univerjs/sheets-numfmt','UniverProSheetsPivot','IMenuManagerService','IUniverInstanceService','UniverDesign','685157corQLX','UniverSheetsConditionalFormattingUi','1000','CommandType','Univer','getConfig','composePermission','UniverSheetsFilterUIPlugin','forEach','UniverProSheetsChartUi','defs','uComp','UniverInstanceType','_checkCanRevert','position','UniverRenderEnginePlugin','includes','10927212tSxMWd','setConfig','univerContainerId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','OTHERS','35BzGTVB','UniverSheetsUi','registerCommand','getAllPlugins','AuthzIoHttpService','IConfigService','HistoryModeStatus','WorkbookRecoverHistoryPermission','./worker.js','none','UniverSheetsConditionalFormatting','UniverNetworkPlugin','_menuManagerService','univer-history-container','@univerjs/sheets-conditional-formatting-ui','historyListServerUrl','idSuffix','UniverProEditHistoryLoader','@univerjs/engine-formula','UniverCore','UniverSheetsConditionalFormattingUIPlugin','MenuItemType','_configService','_localeService','RangeProtectionRuleModel','65DuQEEk','_historyManagerService','HistoryIcon','params','@univerjs/docs','editHistory.panel.listFetchError','@univerjs-pro/collaboration','UniverLicensePlugin','random','values','@univerjs/sheets-hyper-link','_componentManager','mutations','subscribe','UniverCollaborationPlugin','UniverSheetsChartUIPlugin','UniverRPCMainThreadPlugin','1162950Srjswa','tag','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','style','UniverSheetsFilter','OPERATION','Entered','IMessageService','1em','top','UniverProCollaboration','merge','UniverDataValidation','DisposableCollection','map','UniverSheetsHyperLink','UniverSheetsFilterUi','UniverSheetsDataValidationUi','UniverSheetsFilterPlugin','toString','event$','getSheetCommandTarget','darkMode$','setTheme','LocaleService','\x20has\x20been\x20registered.','@univerjs/sheets-filter-ui','UniverSheetsDrawingPlugin','_selectionProtectionRuleModel','HistoryManagerService','_injector','UniverSheetsFormula','119DJuvun','_pluginMap','512111YxWgfb','_config','getElementById','status$','UniverDrawingUi','@univerjs-pro/collaboration-client','UNIVER_HISTORY_CONTAINER_ID','UniverSheetsFormulaUi','ThemeService','setDarkMode','Plugin','PLUGIN_CONFIG_KEY_MAIN_THREAD','UniverNetwork','UniverSheetsDrawingUIPlugin','left','menu','get','@univerjs/sheets-conditional-formatting','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','white','history-icon_clip0_907_281','width','ISidebarService','forwardRef','MessageType','div','mergeMenu','UniverProSheetsSparklineUi','dispose','edit-history-loader.config','exhaustSavingTask','attrs','registerPlugin','editHistory.panel.title','RevertRevisionMutation','Injector','display','M0\x200H16V16H0z','currentTheme$','type','@univerjs-pro/sheets-pivot','_init','getCollabEntity','value','@univerjs-pro/sheets-chart','data','mask','UniverUIPlugin','react','[HistoryLoaderService]:\x20Plugin\x20','UniverSheetsDataValidation','_initPlugins','Inject','UniverEditHistoryViewerPlugin','UniverDocs','@univerjs/ui','2IkgBeb','UniverProCollaborationClient','CollaborationEvent','6vBiMLv','Error','revertRevision$','eventID','flat','_sidebarService','@univerjs/drawing','_dialogService','_univerInstanceService','fill','IPermissionService','465656bzsIQl','getMenuHiddenObservable','@univerjs/core','ILocalCacheService','children','@univerjs/design','@univerjs/sheets-filter','UniverSheetsChartPlugin','UniverEngineFormula','@univerjs/sheets-ui','@univerjs-pro/sheets-sparkline-ui','replace'];_0x5a26=function(){return _0xd0c8fd;};return _0x5a26();}function _0x56b2(_0x39ad6e,_0x4b9e20){_0x39ad6e=_0x39ad6e-0xbf;const _0x5a26a9=_0x5a26();let _0x56b25c=_0x5a26a9[_0x39ad6e];return _0x56b25c;}(function(_0x37e642,_0x3592ff){const _0x3417ad=_0x56b2,_0x109e19=_0x37e642();while(!![]){try{const _0x597973=parseInt(_0x3417ad(0x15b))/0x1*(-parseInt(_0x3417ad(0x193))/0x2)+parseInt(_0x3417ad(0x196))/0x3*(-parseInt(_0x3417ad(0xe9))/0x4)+-parseInt(_0x3417ad(0x10f))/0x5*(parseInt(_0x3417ad(0x139))/0x6)+-parseInt(_0x3417ad(0x159))/0x7*(parseInt(_0x3417ad(0x1a1))/0x8)+-parseInt(_0x3417ad(0x1d3))/0x9+-parseInt(_0x3417ad(0x1e0))/0xa*(-parseInt(_0x3417ad(0xf9))/0xb)+parseInt(_0x3417ad(0x10a))/0xc*(parseInt(_0x3417ad(0x128))/0xd);if(_0x597973===_0x3592ff)break;else _0x109e19['push'](_0x109e19['shift']());}catch(_0x30110c){_0x109e19['push'](_0x109e19['shift']());}}}(_0x5a26,0xc7de4),function(_0x2a9830,_0x1ed1ac){const _0x171973=_0x56b2;typeof exports=='object'&&typeof module<'u'?_0x1ed1ac(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-chart'),require('@univerjs-pro/sheets-chart-ui'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x171973(0xeb)&&define['amd']?define(['exports',_0x171973(0x1a3),_0x171973(0x12e),_0x171973(0x160),_0x171973(0x1a6),_0x171973(0x18b),_0x171973(0x192),_0x171973(0x1b9),_0x171973(0x1b7),_0x171973(0x1d0),'@univerjs-pro/license',_0x171973(0x187),_0x171973(0xd3),_0x171973(0x183),_0x171973(0xe1),_0x171973(0x1ab),_0x171973(0xc8),_0x171973(0x12c),_0x171973(0x1f4),_0x171973(0x19c),'@univerjs/drawing-ui',_0x171973(0x121),_0x171973(0x1dc),_0x171973(0xf1),_0x171973(0xcf),_0x171973(0x16c),_0x171973(0x11d),_0x171973(0xde),_0x171973(0x1af),_0x171973(0xc2),_0x171973(0x1f9),_0x171973(0x1a7),_0x171973(0x153),_0x171973(0x1b5),'@univerjs/sheets-formula-ui',_0x171973(0x132),_0x171973(0x1cf),_0x171973(0xf4),_0x171973(0x1aa)],_0x1ed1ac):(_0x2a9830=typeof globalThis<'u'?globalThis:_0x2a9830||self,_0x1ed1ac(_0x2a9830[_0x171973(0x120)]={},_0x2a9830[_0x171973(0x122)],_0x2a9830[_0x171973(0x143)],_0x2a9830[_0x171973(0x194)],_0x2a9830[_0x171973(0xf8)],_0x2a9830[_0x171973(0xf3)],_0x2a9830['UniverUi'],_0x2a9830[_0x171973(0x1b9)],_0x2a9830['UniverSheets'],_0x2a9830[_0x171973(0x1d4)],_0x2a9830['UniverProLicense'],_0x2a9830[_0x171973(0xf0)],_0x2a9830[_0x171973(0x102)],_0x2a9830[_0x171973(0xf5)],_0x2a9830[_0x171973(0x1ca)],_0x2a9830[_0x171973(0x176)],_0x2a9830[_0x171973(0x145)],_0x2a9830[_0x171973(0x191)],_0x2a9830[_0x171973(0xec)],_0x2a9830[_0x171973(0x1d9)],_0x2a9830[_0x171973(0x15f)],_0x2a9830[_0x171973(0x1a9)],_0x2a9830[_0x171973(0xc7)],_0x2a9830[_0x171973(0x167)],_0x2a9830['UniverRpc'],_0x2a9830[_0x171973(0x119)],_0x2a9830[_0x171973(0xfa)],_0x2a9830[_0x171973(0x18d)],_0x2a9830[_0x171973(0x14a)],_0x2a9830['UniverSheetsDrawing'],_0x2a9830[_0x171973(0x1c4)],_0x2a9830[_0x171973(0x13d)],_0x2a9830[_0x171973(0x149)],_0x2a9830[_0x171973(0x158)],_0x2a9830[_0x171973(0x162)],_0x2a9830[_0x171973(0x148)],_0x2a9830['UniverSheetsHyperLinkUi'],_0x2a9830['UniverSheetsNumfmt'],_0x2a9830[_0x171973(0x110)]));}(this,function(_0x1d88cc,_0xe91783,_0x170010,_0x781836,_0x2a0ae6,_0xfa2eb,_0x437d7d,_0x1ec36b,_0x3b54ec,_0x28706d,_0x3e94cd,_0x4985b7,_0x21871f,_0x55a733,_0xa53bd0,_0x543c79,_0xdee9be,_0x2dabbc,_0x4e265a,_0x3e0b0c,_0x40149c,_0x1df04b,_0x216dc4,_0x10705d,_0x324161,_0x2c6358,_0xb7a904,_0x1453f0,_0x20b536,_0x9ea0df,_0x60ec94,_0x4e2652,_0x18dde2,_0x5deaab,_0x4cdfe4,_0x58090c,_0x338ab1,_0x45c8cb,_0x4f6fc8){'use strict';const _0x1b417a=_0x56b2;var _0x5b7670=Object[_0x1b417a(0xca)],_0x4959df=(_0x519ebd,_0xda33d0,_0x259e4d)=>_0xda33d0 in _0x519ebd?_0x5b7670(_0x519ebd,_0xda33d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x259e4d}):_0x519ebd[_0xda33d0]=_0x259e4d,_0x313398=(_0x2b2917,_0x59e70e,_0x486ca5)=>_0x4959df(_0x2b2917,typeof _0x59e70e!=_0x1b417a(0x1b4)?_0x59e70e+'':_0x59e70e,_0x486ca5),_0x500a22;const _0x26a2bd=_0x1b417a(0x178),_0x1c886f={};function _0x363a95({ref:_0x1ef9d1,..._0x1b23ae}){const _0x32509d=_0x1b417a,{icon:_0xc73e35,id:_0xf2bec0,className:_0x3714a7,extend:_0x14e8d0,..._0x1045e5}=_0x1b23ae,_0x48be25=(_0x32509d(0x1eb)+_0xf2bec0+'\x20'+(_0x3714a7||''))[_0x32509d(0x1ea)](),_0x22e2cf=_0xfa2eb[_0x32509d(0x1fb)]('_'+_0x44ffdc());return _0x452894(_0xc73e35,''+_0xf2bec0,{'defIds':_0xc73e35[_0x32509d(0x1dd)],'idSuffix':_0x22e2cf['current']},{'ref':_0x1ef9d1,'className':_0x48be25,..._0x1045e5},_0x14e8d0);}function _0x452894(_0x2ae85c,_0x378d7e,_0x31346f,_0x1cc0cd,_0x1b7aea){const _0x1ec97c=_0x1b417a;return _0xfa2eb['createElement'](_0x2ae85c[_0x1ec97c(0x13a)],{'key':_0x378d7e,..._0x41b31a(_0x2ae85c,_0x31346f,_0x1b7aea),..._0x1cc0cd},(_0x2bfc8f(_0x2ae85c,_0x31346f)[_0x1ec97c(0x1a5)]||[])['map']((_0x388dcc,_0x3797ba)=>_0x452894(_0x388dcc,_0x378d7e+'-'+_0x2ae85c[_0x1ec97c(0x13a)]+'-'+_0x3797ba,_0x31346f,void 0x0,_0x1b7aea)));}function _0x41b31a(_0x697482,_0x2be62b,_0x2b2e31){const _0x303529=_0x1b417a,_0x53058b={..._0x697482[_0x303529(0x17a)]};_0x2b2e31!=null&&_0x2b2e31['colorChannel1']&&_0x53058b[_0x303529(0x19f)]===_0x303529(0xc6)&&(_0x53058b[_0x303529(0x19f)]=_0x2b2e31[_0x303529(0xc6)]),_0x697482[_0x303529(0x13a)]===_0x303529(0x189)&&_0x53058b['id']&&(_0x53058b['id']=_0x53058b['id']+_0x2be62b[_0x303529(0x11f)]),Object[_0x303529(0xcb)](_0x53058b)[_0x303529(0x101)](([_0x54824b,_0x1844d6])=>{const _0x478221=_0x303529;_0x54824b===_0x478221(0x189)&&typeof _0x1844d6==_0x478221(0x1da)&&(_0x53058b[_0x54824b]=_0x1844d6['replace'](/url\(#(.*)\)/,_0x478221(0xed)+_0x2be62b[_0x478221(0x11f)]+')'));});const {defIds:_0x3d09e2}=_0x2be62b;return!_0x3d09e2||_0x3d09e2[_0x303529(0x1c3)]===0x0||(_0x697482[_0x303529(0x13a)]==='use'&&_0x53058b[_0x303529(0xd7)]&&(_0x53058b[_0x303529(0xd7)]=_0x53058b['xlink:href']+_0x2be62b[_0x303529(0x11f)]),Object['entries'](_0x53058b)[_0x303529(0x101)](([_0x1ba894,_0x4235b3])=>{const _0xa633c6=_0x303529;typeof _0x4235b3==_0xa633c6(0x1da)&&(_0x53058b[_0x1ba894]=_0x4235b3[_0xa633c6(0x1ac)](/url\(#(.*)\)/,_0xa633c6(0xed)+_0x2be62b['idSuffix']+')'));})),_0x53058b;}function _0x2bfc8f(_0x34752f,_0x183e10){const _0x183617=_0x1b417a;var _0x50be38;const {defIds:_0x716316}=_0x183e10;return!_0x716316||_0x716316[_0x183617(0x1c3)]===0x0?_0x34752f:_0x34752f[_0x183617(0x13a)]===_0x183617(0x103)&&((_0x50be38=_0x34752f[_0x183617(0x1a5)])!=null&&_0x50be38['length'])?{..._0x34752f,'children':_0x34752f[_0x183617(0x1a5)][_0x183617(0x147)](_0x3c2c01=>typeof _0x3c2c01[_0x183617(0x17a)]['id']=='string'&&_0x716316&&_0x716316[_0x183617(0x109)](_0x3c2c01['attrs']['id'])?{..._0x3c2c01,'attrs':{..._0x3c2c01[_0x183617(0x17a)],'id':_0x3c2c01[_0x183617(0x17a)]['id']+_0x183e10[_0x183617(0x11f)]}}:_0x3c2c01)}:_0x34752f;}function _0x44ffdc(){const _0x1d96aa=_0x1b417a;return Math[_0x1d96aa(0x130)]()[_0x1d96aa(0x14c)](0x24)[_0x1d96aa(0xc9)](0x2,0x8);}_0x363a95['displayName']=_0x1b417a(0x1bc);const _0x16e3f9={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x1b417a(0x1c2),'width':_0x1b417a(0x141),'height':_0x1b417a(0x141)},'children':[{'tag':'g','attrs':{'fill':_0x1b417a(0x1ce),'clipPath':_0x1b417a(0xd0)},'children':[{'tag':'path','attrs':{'d':_0x1b417a(0x13b)}},{'tag':_0x1b417a(0x1ed),'attrs':{'d':_0x1b417a(0x16d)}}]},{'tag':_0x1b417a(0x103),'attrs':{},'children':[{'tag':_0x1b417a(0xd8),'attrs':{'id':_0x1b417a(0x16f)},'children':[{'tag':_0x1b417a(0x1ed),'attrs':{'fill':_0x1b417a(0x16e),'d':_0x1b417a(0x180)}}]}]}],'defIds':[_0x1b417a(0x16f)]},_0x2cc0ed=_0xfa2eb[_0x1b417a(0x172)](function(_0x308e94,_0x13c58d){const _0x64bbc=_0x1b417a;return _0xfa2eb['createElement'](_0x363a95,Object[_0x64bbc(0xf2)]({},_0x308e94,{'id':'history-icon','ref':_0x13c58d,'icon':_0x16e3f9}));});_0x2cc0ed[_0x1b417a(0xc4)]=_0x1b417a(0x12a);var _0xe2e6f9=Object['getOwnPropertyDescriptor'],_0x173b83=(_0x5e3e9d,_0x14194c,_0x5ba1c7,_0x4b52ec)=>{const _0x186e08=_0x1b417a;for(var _0x458d39=_0x4b52ec>0x1?void 0x0:_0x4b52ec?_0xe2e6f9(_0x14194c,_0x5ba1c7):_0x14194c,_0x54c064=_0x5e3e9d[_0x186e08(0x1c3)]-0x1,_0x27d225;_0x54c064>=0x0;_0x54c064--)(_0x27d225=_0x5e3e9d[_0x54c064])&&(_0x458d39=_0x27d225(_0x458d39)||_0x458d39);return _0x458d39;},_0x45202e=(_0x96bd2,_0xae6737)=>(_0xd30e74,_0x56e407)=>_0xae6737(_0xd30e74,_0x56e407,_0x96bd2);const _0x32f8b7='univer-container',_0x4337dd=_0x1b417a(0x1ef),_0x5282bf=_0x1b417a(0x11c);_0x1d88cc[_0x1b417a(0x1d7)]=class extends _0xe91783[_0x1b417a(0x1c7)]{constructor(_0x5b9583,_0x40d725,_0x3f8090,_0x267912,_0x5728a5,_0x243140,_0x12d5f1,_0xe7d2fa,_0x45aebf,_0x2aea54){const _0x35221d=_0x1b417a;super(),_0x313398(this,_0x35221d(0x1ec),new _0x1ec36b[(_0x35221d(0x1cc))](null)),_0x313398(this,_0x35221d(0x1cb),this['_historyUniver$'][_0x35221d(0x1e8)]()),_0x313398(this,_0x35221d(0x1cd),new _0xe91783[(_0x35221d(0x146))]()),_0x313398(this,_0x35221d(0x15a),new Map()),(this['_localeService']=_0x5b9583,this[_0x35221d(0x19e)]=_0x40d725,this[_0x35221d(0x125)]=_0x3f8090,this[_0x35221d(0x1bd)]=_0x267912,this[_0x35221d(0x1bb)]=_0x5728a5,this[_0x35221d(0x1ad)]=_0x243140,this[_0x35221d(0x155)]=_0x12d5f1,this[_0x35221d(0x19d)]=_0xe7d2fa,this[_0x35221d(0x19b)]=_0x45aebf,this['_themeService']=_0x2aea54,this['_init']());}get[_0x1b417a(0xd1)](){const _0x55555b=_0x1b417a;return this['_historyUniver$'][_0x55555b(0x186)];}[_0x1b417a(0x184)](){const _0x3d163d=_0x1b417a;this[_0x3d163d(0x1e5)](),this['_initPlugins']();}[_0x1b417a(0x1e5)](){const _0x134d50=_0x1b417a;var _0x2c81f;const _0x10303b=(_0x2c81f=this['_configService'][_0x134d50(0xfe)](_0x4337dd))!=null?_0x2c81f:_0x32f8b7,_0x46c314=document['getElementById'](_0x10303b);if(!_0x46c314)return;const _0x336a62=document['createElement'](_0x134d50(0x174));_0x336a62['id']=_0x5282bf,_0x336a62[_0x134d50(0x1c5)][_0x134d50(0x104)]='history-container',_0x336a62[_0x134d50(0x13c)][_0x134d50(0x107)]=_0x134d50(0x1f5),_0x336a62['style'][_0x134d50(0x142)]='0',_0x336a62[_0x134d50(0x13c)][_0x134d50(0x169)]='0',_0x336a62[_0x134d50(0x13c)][_0x134d50(0x170)]=_0x134d50(0xcd),_0x336a62[_0x134d50(0x13c)][_0x134d50(0x1e2)]='100%',_0x336a62[_0x134d50(0x13c)][_0x134d50(0x1e4)]=_0x134d50(0xfb),_0x336a62[_0x134d50(0x13c)][_0x134d50(0x17f)]='none',_0x46c314[_0x134d50(0x1c9)](_0x336a62);}[_0x1b417a(0x18e)](){const _0xd48598=_0x1b417a;var _0xa958b2,_0x3b18cb,_0xb73c86,_0x3fb0ca;[[_0x216dc4[_0xd48598(0x108)]],[_0x437d7d[_0xd48598(0x18a)],{'container':_0x5282bf,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x437d7d['IDialogService'],null]]}],[_0x10705d[_0xd48598(0x11a)]],[_0x3e0b0c[_0xd48598(0xe0)],{'override':[[_0x3e0b0c[_0xd48598(0x1f0)],null]]}],[_0x2dabbc[_0xd48598(0x1d8)],{'hasScroll':!0x1}],[_0x4e265a['UniverDocsUIPlugin']],[_0x45c8cb[_0xd48598(0xe6)]],[_0x3b54ec['UniverSheetsPlugin'],{'notExecuteFormula':!0x0}],[_0x4f6fc8['UniverSheetsUIPlugin']],[_0x5deaab['UniverSheetsFormulaPlugin']],[_0x4cdfe4[_0xd48598(0xe8)]],[_0x170010[_0xd48598(0x136)]],[_0x4e2652[_0xd48598(0x14b)]],[_0x18dde2[_0xd48598(0x100)]],[_0x2c6358[_0xd48598(0x1f8)]],[_0xb7a904[_0xd48598(0x123)]],[_0x58090c['UniverSheetsHyperLinkPlugin']],[_0x338ab1['UniverSheetsHyperLinkUIPlugin']],[_0xdee9be['UniverDataValidationPlugin']],[_0x1453f0[_0xd48598(0x1b6)]],[_0x20b536[_0xd48598(0xda)]],[_0x1df04b[_0xd48598(0x1d6)],{'notExecuteFormula':!0x0}],[_0x324161[_0xd48598(0x138)],{'workerURL':(_0x3b18cb=(_0xa958b2=this[_0xd48598(0x125)][_0xd48598(0xfe)](_0x324161[_0xd48598(0x166)]))==null?void 0x0:_0xa958b2[_0xd48598(0x1d2)])!=null?_0x3b18cb:_0xd48598(0x117)}],[_0x40149c['UniverDrawingUIPlugin']],[_0x9ea0df[_0xd48598(0x154)]],[_0x60ec94[_0xd48598(0x168)]],[_0xa53bd0[_0xd48598(0x1e9)]],[_0x543c79[_0xd48598(0xc5)]],[_0x4985b7[_0xd48598(0x1a8)]],[_0x21871f[_0xd48598(0x137)]],[_0x55a733[_0xd48598(0x1d1)],{'notExecuteFormula':!0x0}],[_0x28706d[_0xd48598(0x190)],{'historyListServerUrl':(_0xb73c86=this[_0xd48598(0x125)][_0xd48598(0xfe)](_0x26a2bd))==null?void 0x0:_0xb73c86[_0xd48598(0x11e)],'historyPanelComponentKey':(_0x3fb0ca=this[_0xd48598(0x125)][_0xd48598(0xfe)](_0x26a2bd))==null?void 0x0:_0x3fb0ca[_0xd48598(0x1c1)]}]][_0xd48598(0x101)](([_0x4dc1e9,_0x451e17])=>this[_0xd48598(0x17b)](_0x4dc1e9,_0x451e17));}['dispose'](){const _0x1e3ac4=_0x1b417a;super[_0x1e3ac4(0x177)](),this[_0x1e3ac4(0x1de)](),this[_0x1e3ac4(0x15a)][_0x1e3ac4(0x1db)]();}['registerPlugin'](_0x1b8965,_0x58993f,_0x91340d){const _0x32e606=_0x1b417a;if(this[_0x32e606(0x15a)][_0x32e606(0x1b3)](_0x1b8965[_0x32e606(0x1e7)])&&!_0x91340d)throw new Error(_0x32e606(0x18c)+_0x1b8965[_0x32e606(0x1e7)]+_0x32e606(0x152));this[_0x32e606(0x15a)][_0x32e606(0xe4)](_0x1b8965[_0x32e606(0x1e7)],[_0x1b8965,_0x58993f]);}[_0x1b417a(0x112)](){const _0x191fda=_0x1b417a;return Array['from'](this[_0x191fda(0x15a)][_0x191fda(0x131)]());}[_0x1b417a(0x1f3)](_0x2cd518){const _0x5adf4c=_0x1b417a,_0x53b95a=document[_0x5adf4c(0x15d)](_0x5282bf);_0x53b95a&&(_0x53b95a['style'][_0x5adf4c(0x17f)]=_0x5adf4c(0xea),this[_0x5adf4c(0xd5)](_0x2cd518,_0x5282bf));}['unMountHistoryContent'](){const _0x2a1131=_0x1b417a;var _0x1cbb79;this[_0x2a1131(0x1cd)]['dispose'](),(_0x1cbb79=this[_0x2a1131(0xd1)])==null||_0x1cbb79[_0x2a1131(0x177)](),this[_0x2a1131(0x1ec)]['next'](null);const _0x579eeb=document['getElementById'](_0x5282bf);_0x579eeb&&(_0x579eeb[_0x2a1131(0x13c)][_0x2a1131(0x17f)]=_0x2a1131(0x118));}[_0x1b417a(0xd5)](_0x54ccb2,_0xb23bef){const _0x3c451c=_0x1b417a;if(this[_0x3c451c(0xd1)])return;const _0x5210c9=new _0xe91783[(_0x3c451c(0xfd))]({'locales':{[this[_0x3c451c(0x126)][_0x3c451c(0xef)]()]:this[_0x3c451c(0x126)]['getLocales']()},'override':[[_0xe91783[_0x3c451c(0x1b2)],{'useClass':_0x781836[_0x3c451c(0x113)]}]]}),_0x3a888a=_0x5210c9[_0x3c451c(0xdb)]();this[_0x3c451c(0x1ba)](this['_themeService'][_0x3c451c(0x14f)][_0x3c451c(0x135)](_0x151bbe=>{const _0x2ab26e=_0x3c451c;_0x3a888a[_0x2ab26e(0x16b)](_0xe91783[_0x2ab26e(0x163)])[_0x2ab26e(0x164)](_0x151bbe);})),this[_0x3c451c(0x1ba)](this['_themeService'][_0x3c451c(0x181)][_0x3c451c(0x135)](_0x4a2098=>{const _0x5d6ae5=_0x3c451c;_0x3a888a[_0x5d6ae5(0x16b)](_0xe91783['ThemeService'])[_0x5d6ae5(0x150)](_0x4a2098);})),_0x3a888a[_0x3c451c(0x16b)](_0xe91783[_0x3c451c(0x151)])['setLocale'](this[_0x3c451c(0x126)]['getCurrentLocale']()),_0x3a888a[_0x3c451c(0x16b)](_0xe91783['IConfigService'])[_0x3c451c(0x10b)](_0x781836[_0x3c451c(0x10d)],this[_0x3c451c(0x125)][_0x3c451c(0xfe)](_0x781836['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x2115bc=this[_0x3c451c(0x125)][_0x3c451c(0xfe)](_0x3e94cd['LS_CONFIG_KEY']);_0x2115bc&&_0x5210c9[_0x3c451c(0x17b)](_0x3e94cd[_0x3c451c(0x12f)],{'license':_0x2115bc['ls']}),this[_0x3c451c(0x15a)]['forEach'](([_0x77e629,_0xf4be70])=>{const _0x2da04a=_0x3c451c;_0x5210c9[_0x2da04a(0x17b)](_0x77e629,_0xf4be70);}),_0x3a888a[_0x3c451c(0x1b0)](_0x2a7af3=>{const _0x660ef0=_0x3c451c;this[_0x660ef0(0x1ee)](_0x2a7af3,_0x54ccb2);}),this['_historyUniver$']['next'](_0x5210c9);const _0x191b34=_0x3a888a[_0x3c451c(0x16b)](_0x28706d['HistoryManagerService']),_0x30c324=this[_0x3c451c(0x106)](_0x54ccb2);_0x191b34['triggerLoadVersions'](_0x54ccb2,_0xb23bef,_0x30c324);}[_0x1b417a(0x1ee)](_0x176cf6,_0x66d49d){const _0x3d4f8e=_0x1b417a,_0x59c97a=_0x176cf6[_0x3d4f8e(0x16b)](_0x28706d[_0x3d4f8e(0x156)]);this[_0x3d4f8e(0x1cd)]['add'](_0x59c97a[_0x3d4f8e(0x15e)]['subscribe'](_0x2ee54f=>{const _0x170838=_0x3d4f8e;switch(_0x2ee54f){case _0x28706d['HistoryModeStatus'][_0x170838(0x13f)]:this[_0x170838(0x19d)][_0x170838(0xd4)](),this[_0x170838(0x19b)]['close']();break;case _0x28706d['HistoryModeStatus']['Exited']:this[_0x170838(0x1bd)][_0x170838(0x1c0)](_0x23e424['id']),this[_0x170838(0x1de)]();break;case _0x28706d[_0x170838(0x115)][_0x170838(0x197)]:this['unMountHistoryContent'](),this[_0x170838(0x1bb)][_0x170838(0xdc)]({'content':this['_localeService']['t'](_0x170838(0x12d)),'type':_0x2a0ae6['MessageType'][_0x170838(0x197)],'duration':0xbb8});break;}})),this[_0x3d4f8e(0x1cd)][_0x3d4f8e(0x1df)](_0x59c97a[_0x3d4f8e(0x198)]['subscribe'](async _0x14cd55=>{const _0x1b2a5b=_0x3d4f8e;_0x14cd55&&this[_0x1b2a5b(0x1bd)][_0x1b2a5b(0x1c0)](_0x170010[_0x1b2a5b(0x17d)]['id'],{'unitId':_0x66d49d,'revision':_0x14cd55});}));}[_0x1b417a(0x106)](_0xe09e6b){const _0x3fd071=_0x1b417a,_0xb7e0a7=this[_0x3fd071(0x19e)]['getUnit'](_0xe09e6b)['getSheets']()[_0x3fd071(0x147)](_0x20cac7=>_0x20cac7[_0x3fd071(0xce)]()),_0x99a4cb=new _0x3b54ec['WorkbookEditablePermission'](_0xe09e6b)['id'],_0x1195e7=_0xb7e0a7[_0x3fd071(0x147)](_0x17717c=>new _0x3b54ec[(_0x3fd071(0x1c6))](_0xe09e6b,_0x17717c)['id']),_0x563823=_0xb7e0a7[_0x3fd071(0x147)](_0x37d265=>this[_0x3fd071(0x155)][_0x3fd071(0x1d5)](_0xe09e6b,_0x37d265)[_0x3fd071(0x147)](_0x5ccd14=>new _0x3b54ec[(_0x3fd071(0x1f6))](_0xe09e6b,_0x37d265,_0x5ccd14['permissionId'])['id']))[_0x3fd071(0x19a)](),_0xf27b56=new _0x3b54ec[(_0x3fd071(0x116))](_0xe09e6b)['id'];return this[_0x3fd071(0x1ad)][_0x3fd071(0xff)]([_0x99a4cb,..._0x1195e7,..._0x563823,_0xf27b56])[_0x3fd071(0xdd)](_0x579d37=>!!_0x579d37['value']);}},_0x1d88cc[_0x1b417a(0x1d7)]=_0x173b83([_0x45202e(0x0,_0xe91783[_0x1b417a(0x18f)](_0xe91783[_0x1b417a(0x151)])),_0x45202e(0x1,_0xe91783[_0x1b417a(0xf7)]),_0x45202e(0x2,_0xe91783[_0x1b417a(0x114)]),_0x45202e(0x3,_0xe91783[_0x1b417a(0xe7)]),_0x45202e(0x4,_0x437d7d[_0x1b417a(0x140)]),_0x45202e(0x5,_0xe91783[_0x1b417a(0x1a0)]),_0x45202e(0x6,_0xe91783['Inject'](_0x3b54ec[_0x1b417a(0x127)])),_0x45202e(0x7,_0xe91783[_0x1b417a(0x18f)](_0x437d7d[_0x1b417a(0x1bf)])),_0x45202e(0x8,_0xe91783[_0x1b417a(0x18f)](_0x437d7d[_0x1b417a(0x171)])),_0x45202e(0x9,_0xe91783[_0x1b417a(0x18f)](_0xe91783[_0x1b417a(0x163)]))],_0x1d88cc[_0x1b417a(0x1d7)]);const _0x3500ff={'id':'univer.operation.toggle-edit-history','type':_0xe91783[_0x1b417a(0xfc)][_0x1b417a(0x13e)],'handler':_0x31fe74=>{const _0x3f9607=_0x1b417a,_0x45bde0=_0x31fe74[_0x3f9607(0x16b)](_0x1d88cc['HistoryLoaderService']),_0x60e8b0=_0x31fe74[_0x3f9607(0x16b)](_0xe91783[_0x3f9607(0xf7)]),{unitId:_0x2ead5e}=_0x3b54ec[_0x3f9607(0x14e)](_0x60e8b0)||{};return _0x2ead5e?(_0x45bde0[_0x3f9607(0x1f3)](_0x2ead5e),!0x0):!0x1;}},_0x23e424={'id':'univer.operation.exit-edit-history','type':_0xe91783[_0x1b417a(0xfc)][_0x1b417a(0x13e)],'handler':()=>!0x0};function _0x9c354d(_0x5196bd){const _0x380f72=_0x1b417a;return{'id':_0x3500ff['id'],'type':_0x437d7d[_0x380f72(0x124)][_0x380f72(0xd2)],'icon':_0x380f72(0x12a),'tooltip':_0x380f72(0x17c),'hidden$':_0x437d7d[_0x380f72(0x1a2)](_0x5196bd,_0xe91783[_0x380f72(0x105)][_0x380f72(0xd6)]),'disabled$':_0x4f6fc8['getCurrentRangeDisable$'](_0x5196bd,{'workbookTypes':[_0x3b54ec[_0x380f72(0x1e6)],_0x3b54ec[_0x380f72(0xdf)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x4e6ec4={[_0x437d7d[_0x1b417a(0xd9)][_0x1b417a(0x10e)]]:{[_0x3500ff['id']]:{'order':0.2,'menuItemFactory':_0x9c354d}}};var _0x288978=Object['getOwnPropertyDescriptor'],_0x2b3f21=(_0x4de6a0,_0x4d434a,_0x287963,_0xd39e0d)=>{const _0x4d6360=_0x1b417a;for(var _0x5dc782=_0xd39e0d>0x1?void 0x0:_0xd39e0d?_0x288978(_0x4d434a,_0x287963):_0x4d434a,_0x5a9871=_0x4de6a0[_0x4d6360(0x1c3)]-0x1,_0x8a511a;_0x5a9871>=0x0;_0x5a9871--)(_0x8a511a=_0x4de6a0[_0x5a9871])&&(_0x5dc782=_0x8a511a(_0x5dc782)||_0x5dc782);return _0x5dc782;},_0x30d9d7=(_0x33a567,_0xb4e778)=>(_0x419bfa,_0x5abb48)=>_0xb4e778(_0x419bfa,_0x5abb48,_0x33a567);let _0x53b9ba=class extends _0xe91783['RxDisposable']{constructor(_0x29b637,_0x40e744,_0x55f8bc,_0x5d7f2f,_0x32a2ed,_0x4209f2,_0x943a36,_0x3f9f87){const _0x5f002f=_0x1b417a;super(),_0x313398(this,_0x5f002f(0xcc),null),(this[_0x5f002f(0x1bd)]=_0x29b637,this[_0x5f002f(0x11b)]=_0x40e744,this[_0x5f002f(0x133)]=_0x55f8bc,this[_0x5f002f(0x129)]=_0x5d7f2f,this[_0x5f002f(0x126)]=_0x32a2ed,this[_0x5f002f(0x1bb)]=_0x4209f2,this['_collaborationController']=_0x943a36,this[_0x5f002f(0xe3)]=_0x3f9f87,this[_0x5f002f(0x184)]());}[_0x1b417a(0x184)](){const _0x11b04e=_0x1b417a;[_0x3500ff,_0x23e424][_0x11b04e(0x101)](_0x574f22=>this[_0x11b04e(0x1ba)](_0xe91783['toDisposable'](this[_0x11b04e(0x1bd)][_0x11b04e(0x111)](_0x574f22)))),this[_0x11b04e(0x1ba)](this[_0x11b04e(0x133)][_0x11b04e(0xee)]('HistoryIcon',_0x2cc0ed)),this[_0x11b04e(0x11b)][_0x11b04e(0x175)](_0x4e6ec4),this[_0x11b04e(0x1ba)](this[_0x11b04e(0x1bd)][_0x11b04e(0xc0)](_0x160fc0=>{const _0x2d5af5=_0x11b04e;if(_0x160fc0['id']===_0x170010[_0x2d5af5(0x17d)]['id']){this['_messageService']['show']({'content':this['_localeService']['t'](_0x2d5af5(0x1b1)),'type':_0x2a0ae6[_0x2d5af5(0x173)][_0x2d5af5(0xe5)],'duration':0x1388});const {unitId:_0xc0ab76}=_0x160fc0[_0x2d5af5(0x12b)],_0x428de5=this[_0x2d5af5(0xbf)][_0x2d5af5(0x185)](_0xc0ab76),_0xaead3=_0x1ec36b[_0x2d5af5(0x1e3)]([_0x428de5['session'][_0x2d5af5(0x14d)],_0x428de5[_0x2d5af5(0x1f1)]])[_0x2d5af5(0x135)](async([_0x3e6531,_0x5fa9ac])=>{const _0x583425=_0x2d5af5;var _0x5b9b66;_0x3e6531[_0x583425(0x199)]===_0x170010[_0x583425(0x195)]['CHANGESET_ACK']&&(_0x5fa9ac==null?void 0x0:_0x5fa9ac['status'])===_0x781836['CollaborationStatus']['SYNCED']&&_0x3e6531[_0x583425(0x188)][_0x583425(0x134)]['some'](_0x28ddf6=>_0x28ddf6['id']===_0x170010['RevertRevisionMutation']['id'])&&(this[_0x583425(0x129)][_0x583425(0x1de)](),_0xaead3['unsubscribe'](),this[_0x583425(0xcc)]&&clearTimeout(this[_0x583425(0xcc)]),await((_0x5b9b66=this[_0x583425(0xe3)])==null?void 0x0:_0x5b9b66[_0x583425(0x179)]()),setTimeout(()=>window['location'][_0x583425(0x1b8)]()));});this['_revertErrorTimer']=setTimeout(()=>{const _0x3ea04f=_0x2d5af5;_0xaead3['unsubscribe'](),this['_messageService'][_0x3ea04f(0xdc)]({'content':this[_0x3ea04f(0x126)]['t'](_0x3ea04f(0x1f7)),'type':_0x2a0ae6[_0x3ea04f(0x173)]['Error'],'duration':0xbb8});},0x1388);}}));}};_0x53b9ba=_0x2b3f21([_0x30d9d7(0x0,_0xe91783[_0x1b417a(0xe7)]),_0x30d9d7(0x1,_0x437d7d[_0x1b417a(0xf6)]),_0x30d9d7(0x2,_0xe91783['Inject'](_0x437d7d[_0x1b417a(0x1ae)])),_0x30d9d7(0x3,_0xe91783[_0x1b417a(0x18f)](_0x1d88cc[_0x1b417a(0x1d7)])),_0x30d9d7(0x4,_0xe91783[_0x1b417a(0x18f)](_0xe91783[_0x1b417a(0x151)])),_0x30d9d7(0x5,_0x437d7d[_0x1b417a(0x140)]),_0x30d9d7(0x6,_0xe91783[_0x1b417a(0x18f)](_0x781836['CollaborationController'])),_0x30d9d7(0x7,_0x781836[_0x1b417a(0x1a4)])],_0x53b9ba);var _0x5867cb=Object[_0x1b417a(0xc3)],_0x2dd0cc=(_0x3ea3c9,_0x2816f0,_0x5c4b50,_0x57510c)=>{const _0x2c3634=_0x1b417a;for(var _0x4bf20d=_0x57510c>0x1?void 0x0:_0x57510c?_0x5867cb(_0x2816f0,_0x5c4b50):_0x2816f0,_0x4bfcdc=_0x3ea3c9[_0x2c3634(0x1c3)]-0x1,_0x1c8413;_0x4bfcdc>=0x0;_0x4bfcdc--)(_0x1c8413=_0x3ea3c9[_0x4bfcdc])&&(_0x4bf20d=_0x1c8413(_0x4bf20d)||_0x4bf20d);return _0x4bf20d;},_0xb6997f=(_0x2c99a3,_0x3c0b34)=>(_0xd87ff5,_0x2c9a45)=>_0x3c0b34(_0xd87ff5,_0x2c9a45,_0x2c99a3);const _0x4d375f=_0x1b417a(0x1be);_0x1d88cc[_0x1b417a(0x1f2)]=(_0x500a22=class extends _0xe91783[_0x1b417a(0x165)]{constructor(_0x24a690=_0x1c886f,_0x540fc8,_0x499ca2){const _0x3736e8=_0x1b417a;super(),this[_0x3736e8(0x15c)]=_0x24a690,this[_0x3736e8(0x157)]=_0x540fc8,this[_0x3736e8(0x125)]=_0x499ca2;const {menu:_0x33d64c,..._0x57d83b}=_0xe91783[_0x3736e8(0x144)]({},_0x1c886f,this[_0x3736e8(0x15c)]);_0x33d64c&&this[_0x3736e8(0x125)][_0x3736e8(0x10b)](_0x3736e8(0x16a),_0x33d64c,{'merge':!0x0}),this['_configService']['setConfig'](_0x26a2bd,_0x57d83b),this[_0x3736e8(0x15c)][_0x3736e8(0x10c)]&&this['_configService'][_0x3736e8(0x10b)](_0x4337dd,this[_0x3736e8(0x15c)][_0x3736e8(0x10c)]);}[_0x1b417a(0xe2)](){const _0x80767c=_0x1b417a;[[_0x1d88cc[_0x80767c(0x1d7)]],[_0x53b9ba]][_0x80767c(0x101)](_0x12d93c=>this['_injector']['add'](_0x12d93c));}[_0x1b417a(0xc1)](){const _0x2b728c=_0x1b417a;this[_0x2b728c(0x157)]['get'](_0x53b9ba);}},_0x313398(_0x500a22,_0x1b417a(0x182),_0xe91783[_0x1b417a(0x105)]['UNIVER_UNKNOWN']),_0x313398(_0x500a22,_0x1b417a(0x1e7),_0x4d375f),_0x500a22),_0x1d88cc[_0x1b417a(0x1f2)]=_0x2dd0cc([_0xb6997f(0x1,_0xe91783['Inject'](_0xe91783[_0x1b417a(0x17e)])),_0xb6997f(0x2,_0xe91783[_0x1b417a(0x114)])],_0x1d88cc[_0x1b417a(0x1f2)]),_0x1d88cc[_0x1b417a(0x1e1)]=_0x4337dd,_0x1d88cc[_0x1b417a(0x161)]=_0x5282bf,Object[_0x1b417a(0xca)](_0x1d88cc,Symbol[_0x1b417a(0x1fa)],{'value':_0x1b417a(0x1c8)});}));
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"})}));