@univerjs/preset-sheets-collaboration 0.12.0 → 0.12.1

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 _0x239d(_0x2c18d6,_0x4cab3e){var _0x14f833=_0x14f8();return _0x239d=function(_0x239d66,_0x4c5e26){_0x239d66=_0x239d66-0x159;var _0x21772e=_0x14f833[_0x239d66];return _0x21772e;},_0x239d(_0x2c18d6,_0x4cab3e);}(function(_0x3696ee,_0x195c99){var _0x32e9a8=_0x239d,_0x33a899=_0x3696ee();while(!![]){try{var _0x32501a=parseInt(_0x32e9a8(0x48e))/0x1+parseInt(_0x32e9a8(0x272))/0x2+-parseInt(_0x32e9a8(0x3ae))/0x3*(-parseInt(_0x32e9a8(0x42a))/0x4)+-parseInt(_0x32e9a8(0x273))/0x5*(-parseInt(_0x32e9a8(0x1de))/0x6)+-parseInt(_0x32e9a8(0x398))/0x7*(parseInt(_0x32e9a8(0x21c))/0x8)+parseInt(_0x32e9a8(0x1e1))/0x9+-parseInt(_0x32e9a8(0x1d8))/0xa*(parseInt(_0x32e9a8(0x4e4))/0xb);if(_0x32501a===_0x195c99)break;else _0x33a899['push'](_0x33a899['shift']());}catch(_0x21fc34){_0x33a899['push'](_0x33a899['shift']());}}}(_0x14f8,0x6701e),function(_0x285ae7,_0x235c51){var _0x58015b=_0x239d;typeof exports==_0x58015b(0x4a0)&&typeof module<'u'?_0x235c51(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==_0x58015b(0x38c)&&define[_0x58015b(0x2d7)]?define(['exports','@univerjs-pro/collaboration',_0x58015b(0x219),'@univerjs/docs','@univerjs/sheets',_0x58015b(0x19e),_0x58015b(0x342),_0x58015b(0x4be),_0x58015b(0x1a3),_0x58015b(0x3a4),_0x58015b(0x33f)],_0x235c51):(_0x285ae7=typeof globalThis<'u'?globalThis:_0x285ae7||self,_0x235c51(_0x285ae7[_0x58015b(0x34b)]={},_0x285ae7[_0x58015b(0x323)],_0x285ae7[_0x58015b(0x4ae)],_0x285ae7[_0x58015b(0x1ae)],_0x285ae7[_0x58015b(0x15b)],_0x285ae7[_0x58015b(0x19e)],_0x285ae7['UniverTelemetry'],_0x285ae7[_0x58015b(0x19e)][_0x58015b(0x2cc)],_0x285ae7[_0x58015b(0x27a)],_0x285ae7[_0x58015b(0x4b6)],_0x285ae7[_0x58015b(0x181)]));}(this,function(_0x5ac5d4,_0x254674,_0x17feb2,_0x65b9e,_0xf0578e,_0xd6d137,_0x2c2438,_0x17b903,_0x5d9456,_0x513afe,_0x53486c){'use strict';var _0xe600ea=_0x239d;var _0x2b1fcc=Object['defineProperty'],_0x3fa6cf=(_0x1581fc,_0x4ce858,_0x1d177b)=>_0x4ce858 in _0x1581fc?_0x2b1fcc(_0x1581fc,_0x4ce858,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d177b}):_0x1581fc[_0x4ce858]=_0x1d177b,_0x358222=(_0x39656f,_0x5dc19d,_0xcd48af)=>_0x3fa6cf(_0x39656f,typeof _0x5dc19d!='symbol'?_0x5dc19d+'':_0x5dc19d,_0xcd48af);const _0x499d3c=_0xe600ea(0x29b),_0x78b8d2=_0xe600ea(0x255),_0x7074fe='ws://127.0.0.1:8000/universer-api/comb/connect',_0x467298=_0xe600ea(0x25c),_0x6e4708=_0xe600ea(0x338),_0x2ffda5='HEARTBEAT_TIMEOUT',_0x273ad5=_0xe600ea(0x39c),_0x3b999d='LOCAL_CACHE_INTERVAL',_0x3abca4='/universer-api/comb',_0xd24973='/universer-api/oidc/authpage',_0x212dcf=_0xe600ea(0x1a5),_0x3427a4='/universer-api/uniscript';var _0x1a6891=(_0x23ace6=>(_0x23ace6[_0x23ace6['UNDEFINED']=0x0]=_0xe600ea(0x277),_0x23ace6[_0x23ace6['OK']=0x1]='OK',_0x23ace6[_0x23ace6[_0xe600ea(0x2a8)]=0x2]=_0xe600ea(0x2a8),_0x23ace6[_0x23ace6[_0xe600ea(0x31c)]=0x3]=_0xe600ea(0x31c),_0x23ace6[_0x23ace6[_0xe600ea(0x307)]=0x4]=_0xe600ea(0x307),_0x23ace6[_0x23ace6['UNAUTHENTICATED']=0x5]=_0xe600ea(0x3b8),_0x23ace6[_0x23ace6[_0xe600ea(0x1e5)]=0x6]='ALREADY_EXISTS',_0x23ace6[_0x23ace6[_0xe600ea(0x2b0)]=0x7]=_0xe600ea(0x2b0),_0x23ace6[_0x23ace6['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x23ace6[_0x23ace6['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x23ace6[_0x23ace6[_0xe600ea(0x4d6)]=0xa]=_0xe600ea(0x4d6),_0x23ace6[_0x23ace6[_0xe600ea(0x320)]=0xb]=_0xe600ea(0x320),_0x23ace6[_0x23ace6[_0xe600ea(0x3f9)]=0xc]=_0xe600ea(0x3f9),_0x23ace6[_0x23ace6['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x23ace6[_0x23ace6[_0xe600ea(0x3e9)]=0xe]=_0xe600ea(0x3e9),_0x23ace6[_0x23ace6[_0xe600ea(0x251)]=0xf]=_0xe600ea(0x251),_0x23ace6[_0x23ace6['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0xe600ea(0x2fe),_0x23ace6[_0x23ace6[_0xe600ea(0x3c2)]=0x64]=_0xe600ea(0x3c2),_0x23ace6[_0x23ace6['ERROR_AGAIN']=0x65]=_0xe600ea(0x3b3),_0x23ace6[_0x23ace6[_0xe600ea(0x46a)]=0xc9]='USER_NOT_FOUND',_0x23ace6[_0x23ace6[_0xe600ea(0x2df)]=0xca]=_0xe600ea(0x2df),_0x23ace6[_0x23ace6['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xe600ea(0x172),_0x23ace6[_0x23ace6[_0xe600ea(0x319)]=0x1771]=_0xe600ea(0x319),_0x23ace6[_0x23ace6[_0xe600ea(0x2b5)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x23ace6[_0x23ace6[_0xe600ea(0x3d3)]=0x1773]=_0xe600ea(0x3d3),_0x23ace6[_0x23ace6[_0xe600ea(0x1cc)]=0x1b59]=_0xe600ea(0x1cc),_0x23ace6[_0x23ace6[_0xe600ea(0x2f7)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x23ace6[_0x23ace6[_0xe600ea(0x20f)]=0x1b5b]=_0xe600ea(0x20f),_0x23ace6[_0x23ace6[_0xe600ea(0x3de)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x23ace6[_0x23ace6[_0xe600ea(0x1f7)]=0x1b5d]='APPLY_DUPLICATED',_0x23ace6[_0x23ace6['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x23ace6[_0x23ace6[_0xe600ea(0x37e)]=0x2329]=_0xe600ea(0x37e),_0x23ace6[_0x23ace6[_0xe600ea(0x1bc)]=0x232a]=_0xe600ea(0x1bc),_0x23ace6[_0x23ace6[_0xe600ea(0x2d6)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x23ace6[_0x23ace6[_0xe600ea(0x1d2)]=0x232c]=_0xe600ea(0x1d2),_0x23ace6[_0x23ace6[_0xe600ea(0x425)]=0x232d]=_0xe600ea(0x425),_0x23ace6[_0x23ace6[_0xe600ea(0x162)]=0x2711]=_0xe600ea(0x162),_0x23ace6[_0x23ace6[_0xe600ea(0x40e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x23ace6[_0x23ace6[_0xe600ea(0x414)]=0x2713]=_0xe600ea(0x414),_0x23ace6[_0x23ace6['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x23ace6[_0x23ace6[_0xe600ea(0x2f8)]=0x271a]=_0xe600ea(0x2f8),_0x23ace6[_0x23ace6[_0xe600ea(0x416)]=0x271b]=_0xe600ea(0x416),_0x23ace6[_0x23ace6[_0xe600ea(0x39b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x23ace6[_0x23ace6[_0xe600ea(0x3f5)]=0x271d]=_0xe600ea(0x3f5),_0x23ace6[_0x23ace6['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xe600ea(0x390),_0x23ace6[_0x23ace6[_0xe600ea(0x405)]=0x271f]=_0xe600ea(0x405),_0x23ace6[_0x23ace6[_0xe600ea(0x17a)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x23ace6[_0x23ace6['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x23ace6[_0x23ace6[_0xe600ea(0x197)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x23ace6[_0x23ace6['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x23ace6[_0x23ace6[_0xe600ea(0x35a)]=0x2ee3]=_0xe600ea(0x35a),_0x23ace6[_0x23ace6['USER_NOT_INVITED_CODE']=0x2ee4]=_0xe600ea(0x3c6),_0x23ace6[_0x23ace6[_0xe600ea(0x366)]=0x2ee5]=_0xe600ea(0x366),_0x23ace6[_0x23ace6[_0xe600ea(0x194)]=0x32c9]=_0xe600ea(0x194),_0x23ace6[_0x23ace6[_0xe600ea(0x36a)]=0x32ca]=_0xe600ea(0x36a),_0x23ace6[_0x23ace6['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x23ace6[_0x23ace6[_0xe600ea(0x1fc)]=0x36b1]=_0xe600ea(0x1fc),_0x23ace6[_0x23ace6[_0xe600ea(0x4c5)]=0x36b2]=_0xe600ea(0x4c5),_0x23ace6[_0x23ace6['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0xe600ea(0x447),_0x23ace6[_0x23ace6[_0xe600ea(0x19d)]=0x36b4]=_0xe600ea(0x19d),_0x23ace6[_0x23ace6[_0xe600ea(0x2da)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x23ace6[_0x23ace6[_0xe600ea(0x209)]=0x3716]=_0xe600ea(0x209),_0x23ace6[_0x23ace6['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x23ace6[_0x23ace6[_0xe600ea(0x353)]=0x37dd]=_0xe600ea(0x353),_0x23ace6[_0x23ace6[_0xe600ea(0x21a)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x23ace6[_0x23ace6['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0xe600ea(0x3f8),_0x23ace6[_0x23ace6[_0xe600ea(0x45f)]=0x3a9b]=_0xe600ea(0x45f),_0x23ace6[_0x23ace6[_0xe600ea(0x451)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x23ace6[_0x23ace6[_0xe600ea(0x21e)]=0x3a9d]=_0xe600ea(0x21e),_0x23ace6[_0x23ace6[_0xe600ea(0x3c0)]=0x3a9e]=_0xe600ea(0x3c0),_0x23ace6[_0x23ace6[_0xe600ea(0x4b3)]=0x3a9f]=_0xe600ea(0x4b3),_0x23ace6[_0x23ace6[_0xe600ea(0x1c9)]=0x3e81]=_0xe600ea(0x1c9),_0x23ace6[_0x23ace6[_0xe600ea(0x1ea)]=-0x1]=_0xe600ea(0x1ea),_0x23ace6))(_0x1a6891||{}),_0x45ea9e=(_0x38499b=>(_0x38499b[_0x38499b[_0xe600ea(0x315)]=0x0]=_0xe600ea(0x315),_0x38499b[_0x38499b[_0xe600ea(0x380)]=0x1]='UNIVER_DOC',_0x38499b[_0x38499b[_0xe600ea(0x291)]=0x2]=_0xe600ea(0x291),_0x38499b[_0x38499b[_0xe600ea(0x246)]=0x3]='UNIVER_SLIDE',_0x38499b[_0x38499b[_0xe600ea(0x21d)]=0x4]=_0xe600ea(0x21d),_0x38499b[_0x38499b[_0xe600ea(0x1ea)]=-0x1]=_0xe600ea(0x1ea),_0x38499b))(_0x45ea9e||{}),_0x46224e=(_0x339776=>(_0x339776[_0x339776[_0xe600ea(0x2a6)]=0x0]=_0xe600ea(0x2a6),_0x339776[_0x339776['HELLO']=0x1]=_0xe600ea(0x20d),_0x339776[_0x339776['JOIN']=0x2]=_0xe600ea(0x2e7),_0x339776[_0x339776[_0xe600ea(0x16f)]=0x3]='LEAVE',_0x339776[_0x339776[_0xe600ea(0x275)]=0x4]=_0xe600ea(0x275),_0x339776[_0x339776[_0xe600ea(0x461)]=0x5]='HEARTBEAT',_0x339776[_0x339776['RECV']=0x6]=_0xe600ea(0x2e1),_0x339776[_0x339776[_0xe600ea(0x1ea)]=-0x1]=_0xe600ea(0x1ea),_0x339776))(_0x46224e||{}),_0x594c4b=(_0x473f74=>(_0x473f74[_0x473f74[_0xe600ea(0x169)]=0x0]=_0xe600ea(0x169),_0x473f74[_0x473f74['OK']=0x1]='OK',_0x473f74[_0x473f74[_0xe600ea(0x269)]=0x2]='FAIL',_0x473f74[_0x473f74[_0xe600ea(0x23f)]=0x3e9]=_0xe600ea(0x23f),_0x473f74[_0x473f74[_0xe600ea(0x279)]=0x3ea]=_0xe600ea(0x279),_0x473f74[_0x473f74['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x473f74[_0x473f74[_0xe600ea(0x4d7)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x473f74[_0x473f74[_0xe600ea(0x1ea)]=-0x1]=_0xe600ea(0x1ea),_0x473f74))(_0x594c4b||{}),_0x592339=(_0x17bea7=>(_0x17bea7[_0x17bea7['Undefined']=0x0]=_0xe600ea(0x229),_0x17bea7[_0x17bea7['HttpImport']=0x1]='HttpImport',_0x17bea7[_0x17bea7[_0xe600ea(0x493)]=0x2]=_0xe600ea(0x493),_0x17bea7[_0x17bea7['UnitEmbedded']=0x3]='UnitEmbedded',_0x17bea7[_0x17bea7[_0xe600ea(0x2f1)]=0x4]=_0xe600ea(0x2f1),_0x17bea7[_0x17bea7[_0xe600ea(0x372)]=0x5]=_0xe600ea(0x372),_0x17bea7[_0x17bea7[_0xe600ea(0x394)]=0x6]=_0xe600ea(0x394),_0x17bea7[_0x17bea7['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x17bea7))(_0x592339||{});const _0x8c6e8f='collaboration_new_changeset';function _0x5372be(_0x42c7f9){var _0x328a07=_0xe600ea;return JSON[_0x328a07(0x4ea)](_0x42c7f9)[_0x328a07(0x4ac)];}var _0x5852a5=(_0x2a9b15=>(_0x2a9b15[_0xe600ea(0x43c)]=_0xe600ea(0x43c),_0x2a9b15[_0xe600ea(0x31c)]=_0xe600ea(0x31c),_0x2a9b15[_0xe600ea(0x373)]=_0xe600ea(0x373),_0x2a9b15[_0xe600ea(0x231)]=_0xe600ea(0x231),_0x2a9b15['JOIN_ROOM_FAILED']=_0xe600ea(0x2c0),_0x2a9b15[_0xe600ea(0x2aa)]=_0xe600ea(0x2aa),_0x2a9b15[_0xe600ea(0x42b)]=_0xe600ea(0x42b),_0x2a9b15[_0xe600ea(0x296)]='SUBMIT_CHANGESET_TIMEOUT',_0x2a9b15))(_0x5852a5||{});class _0x2ee36c{constructor(){var _0x148308=_0xe600ea;_0x358222(this,_0x148308(0x281),new _0xd6d137[(_0x148308(0x247))]()),_0x358222(this,_0x148308(0x37f),this[_0x148308(0x281)][_0x148308(0x310)]());}[_0xe600ea(0x33d)](_0x5f0da7){var _0x2d0082=_0xe600ea;this[_0x2d0082(0x281)][_0x2d0082(0x413)](_0x5f0da7);}}class _0x16bd41{constructor(){var _0x25f0df=_0xe600ea;_0x358222(this,_0x25f0df(0x189),new _0xd6d137['Subject']()),_0x358222(this,'commentUpdate$',this[_0x25f0df(0x189)][_0x25f0df(0x310)]());}['onCommentUpdate'](_0x272c02){var _0x480ea1=_0xe600ea;this[_0x480ea1(0x189)][_0x480ea1(0x413)](_0x272c02);}}var _0x2a68e7=Object[_0xe600ea(0x305)],_0x545d9d=(_0x4d30ea,_0x32b195,_0x37a7ea,_0x3597ca)=>{var _0x481695=_0xe600ea;for(var _0xd9b2e=_0x3597ca>0x1?void 0x0:_0x3597ca?_0x2a68e7(_0x32b195,_0x37a7ea):_0x32b195,_0x51e477=_0x4d30ea[_0x481695(0x4ac)]-0x1,_0x24ea2f;_0x51e477>=0x0;_0x51e477--)(_0x24ea2f=_0x4d30ea[_0x51e477])&&(_0xd9b2e=_0x24ea2f(_0xd9b2e)||_0xd9b2e);return _0xd9b2e;},_0xf9353e=(_0x484d7f,_0xe89d2f)=>(_0x31c733,_0x2e64e8)=>_0xe89d2f(_0x31c733,_0x2e64e8,_0x484d7f);_0x5ac5d4[_0xe600ea(0x325)]=class extends _0x17feb2[_0xe600ea(0x388)]{constructor(_0xc2d929,_0x493ad0){var _0x42833f=_0xe600ea;super(),_0x358222(this,_0x42833f(0x304),new Map()),_0x358222(this,'_roomCreated$',new _0xd6d137[(_0x42833f(0x247))]()),(this[_0x42833f(0x1c4)]=_0xc2d929,this[_0x42833f(0x4c2)]=_0x493ad0,this['disposeWithMe'](_0xd6d137[_0x42833f(0x4bb)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x17feb2[_0x42833f(0x1dc)][_0x42833f(0x291)])['pipe'](_0x17b903[_0x42833f(0x4ab)](_0x580c28=>_0x580c28[_0x42833f(0x23e)]())),this['_univerInstanceService'][_0x42833f(0x47a)](_0x17feb2[_0x42833f(0x1dc)][_0x42833f(0x380)])[_0x42833f(0x28b)](_0x17b903[_0x42833f(0x4ab)](_0x57d7b6=>_0x57d7b6[_0x42833f(0x23e)]())),this[_0x42833f(0x1c4)]['getTypeOfUnitDisposed$'](_0x17feb2['UniverInstanceType'][_0x42833f(0x246)])[_0x42833f(0x28b)](_0x17b903[_0x42833f(0x4ab)](_0x123fe4=>_0x123fe4[_0x42833f(0x23e)]())))[_0x42833f(0x1c0)](_0x3fd159=>this[_0x42833f(0x183)](_0x3fd159))));}[_0xe600ea(0x244)](_0xe742f9){var _0x114b25=_0xe600ea;return this[_0x114b25(0x304)][_0x114b25(0x371)](_0xe742f9)?_0xd6d137['of'](this[_0x114b25(0x304)][_0x114b25(0x299)](_0xe742f9)):this[_0x114b25(0x28f)][_0x114b25(0x28b)](_0x17b903[_0x114b25(0x4ab)](_0x598693=>{var _0x34d8aa=_0x114b25;if(_0x598693===_0xe742f9)return this[_0x34d8aa(0x304)][_0x34d8aa(0x299)](_0x598693);}));}['setCurrentUser'](_0x3fe80f){var _0x305f49=_0xe600ea;this[_0x305f49(0x4c2)]['setCurrentUser'](_0x3fe80f);}[_0xe600ea(0x37d)](){var _0x314eff=_0xe600ea;return this[_0x314eff(0x4c2)][_0x314eff(0x37d)]();}['updateMember'](_0x2ddca6,_0x149da0){var _0x2d3bab=_0xe600ea;let _0x33f15c=this[_0x2d3bab(0x304)][_0x2d3bab(0x299)](_0x2ddca6);_0x33f15c||(_0x33f15c=new _0x30ad20(),this[_0x2d3bab(0x304)][_0x2d3bab(0x1f9)](_0x2ddca6,_0x33f15c),this[_0x2d3bab(0x28f)][_0x2d3bab(0x413)](_0x2ddca6)),_0x33f15c[_0x2d3bab(0x27e)](_0x149da0);}['removeMember'](_0x308b31,_0x1e9c7d){var _0x161991=_0xe600ea;const _0x1354d1=this['_roomMembers'][_0x161991(0x299)](_0x308b31);_0x1354d1&&_0x1354d1['removeMember'](_0x1e9c7d);}[_0xe600ea(0x316)](_0x122dcd){var _0x5c4a10=_0xe600ea;return this[_0x5c4a10(0x304)][_0x5c4a10(0x299)](_0x122dcd);}[_0xe600ea(0x329)](_0x52370b,_0x3842a9){var _0x39e771=_0xe600ea;const _0x242a3c=this[_0x39e771(0x304)]['get'](_0x52370b);if(_0x242a3c)return _0x242a3c[_0x39e771(0x329)](_0x3842a9);}[_0xe600ea(0x183)](_0x25e40e){var _0x456642=_0xe600ea;const _0x577ec5=this[_0x456642(0x304)][_0x456642(0x299)](_0x25e40e);_0x577ec5&&(_0x577ec5[_0x456642(0x4bd)](),this['_roomMembers'][_0x456642(0x322)](_0x25e40e));}[_0xe600ea(0x4bd)](){var _0x5d381b=_0xe600ea;this[_0x5d381b(0x304)][_0x5d381b(0x3b2)](_0x9d08f2=>_0x9d08f2['dispose']()),this[_0x5d381b(0x304)]['clear'](),this['_roomCreated$'][_0x5d381b(0x308)]();}},_0x5ac5d4[_0xe600ea(0x325)]=_0x545d9d([_0xf9353e(0x0,_0x17feb2[_0xe600ea(0x213)]),_0xf9353e(0x1,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x276)]))],_0x5ac5d4[_0xe600ea(0x325)]);class _0x30ad20 extends _0x17feb2[_0xe600ea(0x388)]{constructor(){var _0x222c87=_0xe600ea;super(...arguments),_0x358222(this,_0x222c87(0x192),new Map()),_0x358222(this,_0x222c87(0x3ed),new _0xd6d137['BehaviorSubject'](this['_members'])),_0x358222(this,'members$',this[_0x222c87(0x3ed)]['asObservable']());}['dispose'](){var _0x4edeab=_0xe600ea;this['_members'][_0x4edeab(0x1d6)]();}[_0xe600ea(0x27e)](_0x1764f9){var _0x3c7ee4=_0xe600ea;this['_members'][_0x3c7ee4(0x1f9)](_0x1764f9[_0x3c7ee4(0x178)],_0x1764f9),this[_0x3c7ee4(0x1cd)]();}['removeMember'](_0x130019){var _0x5e8d72=_0xe600ea;this[_0x5e8d72(0x192)][_0x5e8d72(0x322)](_0x130019);}['getMember'](_0x452dfb){var _0x4c8b1e=_0xe600ea;return this[_0x4c8b1e(0x192)]['get'](_0x452dfb);}['getAllMembers'](){var _0x4e74a4=_0xe600ea;return Array[_0x4e74a4(0x15c)](this[_0x4e74a4(0x192)][_0x4e74a4(0x496)]());}['_emitMembers'](){var _0x14ceb1=_0xe600ea;this[_0x14ceb1(0x3ed)]['next'](this['_members']);}}var _0x4947a7=Object[_0xe600ea(0x305)],_0x3d3f1f=(_0x58858c,_0x5f5239,_0x36a3b8,_0x5547a4)=>{var _0x5bbeff=_0xe600ea;for(var _0x17b32a=_0x5547a4>0x1?void 0x0:_0x5547a4?_0x4947a7(_0x5f5239,_0x36a3b8):_0x5f5239,_0x15f548=_0x58858c[_0x5bbeff(0x4ac)]-0x1,_0x2d222b;_0x15f548>=0x0;_0x15f548--)(_0x2d222b=_0x58858c[_0x15f548])&&(_0x17b32a=_0x2d222b(_0x17b32a)||_0x17b32a);return _0x17b32a;},_0x54cf88=(_0x250930,_0x297f1e)=>(_0x10dcd8,_0x5f1299)=>_0x297f1e(_0x10dcd8,_0x5f1299,_0x250930),_0x57cde5=(_0x17f571=>(_0x17f571[_0x17f571[_0xe600ea(0x1da)]=0x0]='IDLE',_0x17f571[_0x17f571['JOINING']=0x1]=_0xe600ea(0x399),_0x17f571[_0x17f571['OFFLINE']=0x2]=_0xe600ea(0x2ee),_0x17f571[_0x17f571[_0xe600ea(0x337)]=0x3]=_0xe600ea(0x337),_0x17f571))(_0x57cde5||{});const _0x9dadb8={[_0x594c4b[_0xe600ea(0x269)]]:_0xe600ea(0x2ab),[_0x594c4b[_0xe600ea(0x23f)]]:'session.room-full',[_0x594c4b[_0xe600ea(0x279)]]:_0xe600ea(0x31d),[_0x594c4b[_0xe600ea(0x1dd)]]:_0xe600ea(0x341),[_0x594c4b[_0xe600ea(0x4d7)]]:_0xe600ea(0x18d)};_0x5ac5d4[_0xe600ea(0x38a)]=class extends _0x17feb2[_0xe600ea(0x286)]{constructor(_0x36eb19,_0x366777,_0x56b1bd,_0x309060,_0x1f206a,_0x57b72c,_0xef3761,_0x2ccb80){var _0x4135d9=_0xe600ea;super(),_0x358222(this,_0x4135d9(0x476),new _0xd6d137[(_0x4135d9(0x1f8))](0x0)),_0x358222(this,_0x4135d9(0x4a1),this['_sessionStatus$'][_0x4135d9(0x310)]()),_0x358222(this,_0x4135d9(0x281),new _0xd6d137[(_0x4135d9(0x247))]()),_0x358222(this,_0x4135d9(0x37f),this[_0x4135d9(0x281)][_0x4135d9(0x310)]()),_0x358222(this,_0x4135d9(0x4c0)),_0x358222(this,_0x4135d9(0x345)),_0x358222(this,_0x4135d9(0x24c)),_0x358222(this,_0x4135d9(0x1e0),!0x1),_0x358222(this,_0x4135d9(0x1bd),null),(this[_0x4135d9(0x1d1)]=_0x36eb19,this[_0x4135d9(0x42f)]=_0x56b1bd,this['_configService']=_0x309060,this['_memberService']=_0x1f206a,this['_commentService']=_0x57b72c,this[_0x4135d9(0x4ed)]=_0xef3761,this[_0x4135d9(0x395)]=_0x2ccb80,this['_shouldReportTelemetry']=!!this[_0x4135d9(0x395)],_0x366777['pipe'](_0xd6d137[_0x4135d9(0x369)](this[_0x4135d9(0x160)]))[_0x4135d9(0x1c0)](_0x26ec6d=>{var _0x1c951a=_0x4135d9,_0x2f6e66;typeof _0x26ec6d>'u'||(this['_socket']=_0x26ec6d,_0x26ec6d?(this[_0x1c951a(0x404)](_0x26ec6d),this[_0x1c951a(0x345)]=_0x26ec6d[_0x1c951a(0x2e6)][_0x1c951a(0x1c0)](_0x2e5d3c=>{var _0xb16870=_0x1c951a;_0x2e5d3c['routeKey']===this['_unitID']&&this[_0xb16870(0x2c9)](_0x2e5d3c);})):(this[_0x1c951a(0x17f)](),this['_sessionStatus$'][_0x1c951a(0x413)](0x2),(_0x2f6e66=this[_0x1c951a(0x345)])==null||_0x2f6e66['unsubscribe'](),this[_0x1c951a(0x345)]=null));}));}get['sessionStatus'](){var _0x26fbc2=_0xe600ea;return this[_0x26fbc2(0x476)]['getValue']();}[_0xe600ea(0x3f7)](){var _0x5ac167=_0xe600ea,_0x29917f,_0x4d7228;return(_0x4d7228=(_0x29917f=this['_socket'])==null?void 0x0:_0x29917f[_0x5ac167(0x178)])!=null?_0x4d7228:null;}[_0xe600ea(0x4bd)](){var _0x9205e3=_0xe600ea;super[_0x9205e3(0x4bd)](),this[_0x9205e3(0x160)]['next'](),this['dispose$'][_0x9205e3(0x308)]();}[_0xe600ea(0x46b)](){var _0xcfc4c2=_0xe600ea,_0x271e38,_0x552827;this['_throwTelemetryCollaborationNewChangeset'](),(_0x271e38=this['_socket'])==null||_0x271e38[_0xcfc4c2(0x3d2)]({'cmd':_0x46224e['LEAVE'],'data':{'roomID':this[_0xcfc4c2(0x1d1)]}}),(_0x552827=this['_socket'])==null||_0x552827[_0xcfc4c2(0x46b)](),this[_0xcfc4c2(0x281)][_0xcfc4c2(0x308)](),this['_sessionStatus$'][_0xcfc4c2(0x308)](),this[_0xcfc4c2(0x4bd)]();}[_0xe600ea(0x2c9)](_0x321160){var _0x3b6ee8=_0xe600ea;_0x321160[_0x3b6ee8(0x15d)]===_0x46224e[_0x3b6ee8(0x2e7)]?this[_0x3b6ee8(0x36d)](_0x321160):_0x321160[_0x3b6ee8(0x15d)]===_0x46224e[_0x3b6ee8(0x2e1)]&&this[_0x3b6ee8(0x362)](_0x321160);}[_0xe600ea(0x404)](_0x392b0a){var _0x58d7b3=_0xe600ea;this[_0x58d7b3(0x476)]['next'](0x1),_0x392b0a[_0x58d7b3(0x3d2)]({'cmd':_0x46224e['JOIN'],'routeKey':this[_0x58d7b3(0x1d1)],'routeType':'','data':{'rooms':[{'roomID':this[_0x58d7b3(0x1d1)]}]}});}[_0xe600ea(0x36d)](_0x8aed6c){var _0x223983=_0xe600ea,_0x4877de;if(_0x8aed6c[_0x223983(0x4a9)]in _0x9dadb8){this[_0x223983(0x4ed)][_0x223983(0x33d)]({'id':_0x5852a5[_0x223983(0x2c0)],'data':_0x9dadb8[_0x8aed6c['code']]}),this[_0x223983(0x476)][_0x223983(0x413)](0x2);return;}this['_sessionStatus$'][_0x223983(0x413)](0x3);const _0x326440=(_0x4877de=_0x8aed6c[_0x223983(0x2f6)][_0x223983(0x287)][this[_0x223983(0x1d1)]])==null?void 0x0:_0x4877de[_0x223983(0x1fa)];_0x326440&&_0x326440['forEach'](_0x8277=>this[_0x223983(0x283)][_0x223983(0x27e)](this['_unitID'],_0x8277));}['_onRecvEvent'](_0x37800c){var _0x5f0df3=_0xe600ea;try{const _0x21b6f8=_0x37800c[_0x5f0df3(0x2f6)];switch(_0x21b6f8['eventID']){case _0x254674['CollaborationEvent']['USERS_ENTER']:this['_onUserJoin'](_0x21b6f8),this[_0x5f0df3(0x281)][_0x5f0df3(0x413)](_0x21b6f8);break;case _0x254674[_0x5f0df3(0x411)][_0x5f0df3(0x4da)]:this[_0x5f0df3(0x326)](_0x21b6f8),this['_event$'][_0x5f0df3(0x413)](_0x21b6f8);break;case _0x254674['CollaborationEvent'][_0x5f0df3(0x4de)]:case _0x254674[_0x5f0df3(0x411)]['CHANGESET_SHOULD_RETRY']:this[_0x5f0df3(0x28d)](),this[_0x5f0df3(0x16a)](),this[_0x5f0df3(0x281)]['next'](_0x21b6f8);break;case _0x254674[_0x5f0df3(0x411)][_0x5f0df3(0x2b6)]:this[_0x5f0df3(0x42f)][_0x5f0df3(0x343)](_0x5f0df3(0x3d9)+JSON['stringify'](_0x21b6f8)),this[_0x5f0df3(0x281)][_0x5f0df3(0x413)](_0x21b6f8);break;case _0x254674[_0x5f0df3(0x411)][_0x5f0df3(0x36c)]:this['_commentService']['onCommentUpdate'](_0x21b6f8[_0x5f0df3(0x2f6)]),this[_0x5f0df3(0x281)]['next'](_0x21b6f8);break;default:this[_0x5f0df3(0x281)]['next'](_0x21b6f8);}}catch(_0xe364fe){this[_0x5f0df3(0x42f)]['error'](_0xe364fe,_0x37800c);}}[_0xe600ea(0x1bb)](_0xdd4b8d){var _0x2dbbaf=_0xe600ea;this[_0x2dbbaf(0x283)][_0x2dbbaf(0x27e)](this[_0x2dbbaf(0x1d1)],_0xdd4b8d['data']);}[_0xe600ea(0x326)](_0x7312bc){var _0x384e0b=_0xe600ea;this['_memberService'][_0x384e0b(0x29f)](this[_0x384e0b(0x1d1)],_0x7312bc['data'][_0x384e0b(0x178)]);}async['send'](_0x40c86f,_0x4559c9){var _0x4a7ca3=_0xe600ea;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x4a7ca3(0x2a0));try{_0x40c86f[_0x4a7ca3(0x4d0)]===_0x254674['CollaborationEvent'][_0x4a7ca3(0x3ef)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x4a7ca3(0x385)](_0x40c86f)),this[_0x4a7ca3(0x4c0)][_0x4a7ca3(0x3d2)]({'cmd':_0x46224e[_0x4a7ca3(0x275)],'routeKey':_0x4559c9,'routeType':'','data':_0x40c86f});}catch(_0x16d2b2){this[_0x4a7ca3(0x42f)][_0x4a7ca3(0x343)](_0x16d2b2);}}[_0xe600ea(0x49c)](){var _0x175821=_0xe600ea,_0x25fac0;this[_0x175821(0x24c)]=setTimeout(()=>{var _0x1c6494=_0x175821;this[_0x1c6494(0x24c)]=null,this['_collaborationUIEventService']['emitEvent']({'id':_0x5852a5[_0x1c6494(0x296)]});},(_0x25fac0=this[_0x175821(0x164)][_0x175821(0x1aa)](_0x2ffda5))!=null?_0x25fac0:0x4e20);}[_0xe600ea(0x16a)](){var _0x13feb9=_0xe600ea;this[_0x13feb9(0x24c)]&&(clearTimeout(this[_0x13feb9(0x24c)]),this['_collaborationTimeoutTimer']=null);}[_0xe600ea(0x385)](_0x59639d){var _0x1d27ed=_0xe600ea;if(!this[_0x1d27ed(0x1e0)])return;const {data:_0x3d5158}=_0x59639d,{unitID:_0x14ae68,changeset:_0x55ba13}=_0x3d5158,{mutations:_0x123414,type:_0x38de46}=_0x55ba13;this[_0x1d27ed(0x1bd)]={'unitId':_0x14ae68,'type':_0x38de46,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x5372be(_0x123414)};}[_0xe600ea(0x28d)](){var _0x37862c=_0xe600ea;if(this[_0x37862c(0x1e0)]){if(!this['_telemetryInfo']){this[_0x37862c(0x42f)]['error'](_0x37862c(0x3d0),_0x37862c(0x29a));return;}this['_telemetryInfo'][_0x37862c(0x3c3)]=performance[_0x37862c(0x478)](),this[_0x37862c(0x1bd)][_0x37862c(0x28e)]=this['_telemetryInfo'][_0x37862c(0x3c3)]-this[_0x37862c(0x1bd)][_0x37862c(0x15e)],this['_telemetryService'][_0x37862c(0x403)](_0x8c6e8f,this[_0x37862c(0x1bd)]),this[_0x37862c(0x1bd)]=null;}}[_0xe600ea(0x17f)](){var _0x1296e7=_0xe600ea;this[_0x1296e7(0x1bd)]=null;}},_0x5ac5d4[_0xe600ea(0x38a)]=_0x3d3f1f([_0x54cf88(0x2,_0x17feb2[_0xe600ea(0x2b8)]),_0x54cf88(0x3,_0x17feb2[_0xe600ea(0x1be)]),_0x54cf88(0x4,_0x17feb2[_0xe600ea(0x1c2)](_0x5ac5d4[_0xe600ea(0x325)])),_0x54cf88(0x5,_0x17feb2[_0xe600ea(0x1c2)](_0x16bd41)),_0x54cf88(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x2ee36c)),_0x54cf88(0x7,_0x17feb2[_0xe600ea(0x3ee)](_0x2c2438['ITelemetryService']))],_0x5ac5d4['CollaborationSession']);const _0x2d8396=_0x17feb2['createIdentifier'](_0xe600ea(0x2ec));function _0x22e215(_0x29c2b7){var _0x2b7d38=_0xe600ea;return _0x2b7d38(0x384)+_0x29c2b7;}var _0x435bad=Object['getOwnPropertyDescriptor'],_0x48980b=(_0x5c8f7c,_0x389100,_0xbde4be,_0x4d8041)=>{var _0x33fe15=_0xe600ea;for(var _0x54357d=_0x4d8041>0x1?void 0x0:_0x4d8041?_0x435bad(_0x389100,_0xbde4be):_0x389100,_0x480502=_0x5c8f7c[_0x33fe15(0x4ac)]-0x1,_0x162a3f;_0x480502>=0x0;_0x480502--)(_0x162a3f=_0x5c8f7c[_0x480502])&&(_0x54357d=_0x162a3f(_0x54357d)||_0x54357d);return _0x54357d;},_0x1b59dd=(_0x11a40b,_0xcf1657)=>(_0x3bd771,_0x125d05)=>_0xcf1657(_0x3bd771,_0x125d05,_0x11a40b);function _0x3b5906(_0x42deea){var _0x1662d8=_0xe600ea;const {unitID:_0x4664e8,mutations:_0x1dae85}=_0x42deea;return{'unitId':_0x4664e8,'subUnitId':_0x1dae85[_0x1662d8(0x4ac)]>0x0?_0x1dae85[0x0]['params'][_0x1662d8(0x41e)]:null};}_0x5ac5d4[_0xe600ea(0x26e)]=class{constructor(_0x11d8d0,_0x295e23,_0x1c1b6a){var _0x5b2cc0=_0xe600ea;this[_0x5b2cc0(0x4bf)]=_0x11d8d0,this[_0x5b2cc0(0x3db)]=_0x295e23,this[_0x5b2cc0(0x264)]=_0x1c1b6a;}[_0xe600ea(0x2e5)](_0x3bef3d){var _0x2e2840=_0xe600ea,_0x528c72,_0x21fa76,_0x570167,_0x50d27a;const _0x1f8674=this[_0x2e2840(0x4bf)][_0x2e2840(0x299)](_0xf0578e['SheetsSelectionsService']),{unitId:_0x6896c0,subUnitId:_0x490594}=_0x3b5906(_0x3bef3d),_0x71184b=_0x1f8674==null?void 0x0:_0x1f8674[_0x2e2840(0x1db)](_0x6896c0)[_0x2e2840(0x436)](),_0x25c7f5=(_0x21fa76=(_0x528c72=this['_instanceService']['getUnit'](_0x6896c0))==null?void 0x0:_0x528c72['getActiveSheet']())==null?void 0x0:_0x21fa76[_0x2e2840(0x185)]();if(_0x71184b[_0x2e2840(0x4ac)]===0x0||!_0x6896c0||!_0x490594)return;const _0x563980=[{'id':_0xf0578e[_0x2e2840(0x1b0)]['id'],'params':{'unitId':_0x6896c0,'subUnitId':_0x25c7f5,'selections':_0x17feb2[_0x2e2840(0x4a8)][_0x2e2840(0x182)](_0x71184b)}}],_0x4544ad=this[_0x2e2840(0x3db)][_0x2e2840(0x453)](_0x3bef3d,_0x563980);if(!_0x254674[_0x2e2840(0x230)](_0x4544ad))throw _0x4544ad[_0x2e2840(0x343)];const _0x2eb870=(_0x50d27a=(_0x570167=_0x4544ad[_0x2e2840(0x41a)][0x0])==null?void 0x0:_0x570167[_0x2e2840(0x33b)])==null?void 0x0:_0x50d27a['selections'];if(Array[_0x2e2840(0x4a6)](_0x2eb870)&&_0x2eb870['length']){if(_0x2eb870['length']===_0x563980[0x0]['params']['selections'][_0x2e2840(0x4ac)]&&_0x2eb870[_0x2e2840(0x1b8)]((_0xe8047,_0x4f5bf1)=>_0x17feb2['Rectangle'][_0x2e2840(0x2ca)](_0xe8047[_0x2e2840(0x233)],_0x563980[0x0][_0x2e2840(0x33b)][_0x2e2840(0x48f)][_0x4f5bf1]['range'])))return;this[_0x2e2840(0x4bf)][_0x2e2840(0x299)](_0x17feb2['ICommandService'])[_0x2e2840(0x241)](_0xf0578e[_0x2e2840(0x1b0)]['id'],{'unitId':_0x6896c0,'subUnitId':_0x25c7f5,'selections':_0x2eb870});}}},_0x5ac5d4['SheetTransformSelectionsService']=_0x48980b([_0x1b59dd(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2['Injector'])),_0x1b59dd(0x1,_0x254674[_0xe600ea(0x1a1)]),_0x1b59dd(0x2,_0x17feb2[_0xe600ea(0x213)])],_0x5ac5d4[_0xe600ea(0x26e)]);const _0xba00e=_0x17feb2[_0xe600ea(0x3e6)]('univer-pro.collaboration-client.single-active-unit-service');var _0x1eb2dd=(_0x4c1334=>(_0x4c1334[_0x4c1334[_0xe600ea(0x29e)]=0x0]=_0xe600ea(0x29e),_0x4c1334[_0x4c1334[_0xe600ea(0x3fa)]=0x1]=_0xe600ea(0x3fa),_0x4c1334))(_0x1eb2dd||{});const _0x566bcc='collaboration-client.config',_0x55e88d={},_0x1d889d=new Set([_0xf0578e[_0xe600ea(0x179)]['id']]);function _0x5b796f(_0x34c9bc,_0x3d640c,_0x3ea4dc,_0xd35f6,_0x1d2404){var _0x2cce3a=_0xe600ea,_0x1a9f89,_0x253b45,_0x298c29,_0xf7c978;const _0x1dd487=[];for(const _0x3db562 of _0x34c9bc)if(_0x1d889d['has'](_0x3db562['id'])){if(_0x1dd487[_0x2cce3a(0x4ac)]>0x0)break;_0x1dd487[_0x2cce3a(0x2c3)](_0x3db562);break;}else _0x1dd487['push'](_0x3db562);const _0x44fc3b=(_0x253b45=(_0x1a9f89=_0x1d2404[_0x2cce3a(0x37d)]())==null?void 0x0:_0x1a9f89[_0x2cce3a(0x180)])!=null?_0x253b45:_0x2cce3a(0x37a),_0xa66521=(_0xf7c978=(_0x298c29=_0x1d2404['getCurrentUser']())==null?void 0x0:_0x298c29[_0x2cce3a(0x178)])!=null?_0xf7c978:_0x2cce3a(0x37a);return{'changeset':{'unitID':_0x3d640c,'type':_0x254674[_0x2cce3a(0x2f5)](_0x3ea4dc[_0x2cce3a(0x1ba)](_0x3d640c)),'baseRev':_0xd35f6[_0x2cce3a(0x17b)](_0x3d640c),'revision':0x0,'userID':_0x44fc3b,'memberID':_0xa66521,'mutations':_0x1dd487},'pendingMutations':_0x34c9bc[_0x2cce3a(0x4d8)](_0x1dd487['length'])};}function _0x38ff64(_0x2cceda,_0x50046f,_0x1bdb81,_0x53444c,_0x5a7de9){var _0x2567e6=_0xe600ea,_0x59480e,_0x2c9a35,_0x36ed10,_0x6eb5af;const _0x3462a7=[_0x2cceda[_0x2567e6(0x2ef)]((_0x3e9acb,_0x2853b3)=>{var _0x3d9fe7=_0x2567e6,_0x270ab6;const {id:_0x101cc6}=_0x3e9acb,{id:_0x394fa7,type:_0x2f2ed2}=_0x2853b3,_0x1611df=(_0x270ab6=_0x3e9acb[_0x3d9fe7(0x33b)])!=null?_0x270ab6:{'actions':null},_0x379ca4=_0x2853b3[_0x3d9fe7(0x33b)];if(_0x101cc6&&_0x101cc6!==_0x394fa7)throw new Error(_0x3d9fe7(0x2f2)+_0x101cc6+_0x3d9fe7(0x22c)+_0x394fa7+'.');return{..._0x3e9acb,'id':_0x394fa7,'type':_0x2f2ed2,'params':{'unitId':_0x379ca4['unitId'],'textRanges':_0x379ca4['textRanges'],'actions':_0x17feb2[_0x3d9fe7(0x424)][_0x3d9fe7(0x3bc)](_0x1611df['actions'],_0x379ca4[_0x3d9fe7(0x2b1)])}};},{})],_0x1319d8=(_0x2c9a35=(_0x59480e=_0x5a7de9['getCurrentUser']())==null?void 0x0:_0x59480e[_0x2567e6(0x180)])!=null?_0x2c9a35:_0x2567e6(0x37a),_0x86a4ec=(_0x6eb5af=(_0x36ed10=_0x5a7de9['getCurrentUser']())==null?void 0x0:_0x36ed10[_0x2567e6(0x178)])!=null?_0x6eb5af:_0x2567e6(0x37a);return{'changeset':{'unitID':_0x50046f,'type':_0x254674[_0x2567e6(0x2f5)](_0x1bdb81[_0x2567e6(0x1ba)](_0x50046f)),'baseRev':_0x53444c[_0x2567e6(0x17b)](_0x50046f),'revision':0x0,'userID':_0x1319d8,'memberID':_0x86a4ec,'mutations':_0x3462a7},'pendingMutations':[]};}function _0x17920d(_0xe5a420,_0x538676){var _0x2ab7b8=_0xe600ea;const _0x11babe=new _0xd6d137[(_0x2ab7b8(0x4eb))](0x1);return setTimeout(()=>_0x11babe['next'](_0x538676),_0xe5a420),_0x11babe[_0x2ab7b8(0x310)]()['pipe'](_0xd6d137[_0x2ab7b8(0x481)](0x1));}var _0x3d30f1=Object[_0xe600ea(0x305)],_0x13e4f5=(_0x4c8e99,_0x6b6d91,_0x3abc0a,_0x4abd4f)=>{var _0x581af2=_0xe600ea;for(var _0x4611b1=_0x4abd4f>0x1?void 0x0:_0x4abd4f?_0x3d30f1(_0x6b6d91,_0x3abc0a):_0x6b6d91,_0x44efe4=_0x4c8e99[_0x581af2(0x4ac)]-0x1,_0x5a3eb4;_0x44efe4>=0x0;_0x44efe4--)(_0x5a3eb4=_0x4c8e99[_0x44efe4])&&(_0x4611b1=_0x5a3eb4(_0x4611b1)||_0x4611b1);return _0x4611b1;},_0x17005c=(_0x2c2403,_0x4ac630)=>(_0x4bd237,_0x45e9a8)=>_0x4ac630(_0x4bd237,_0x45e9a8,_0x2c2403),_0x93c01f=(_0x3caa85=>(_0x3caa85['NOT_COLLAB']='not_collab',_0x3caa85[_0xe600ea(0x16c)]=_0xe600ea(0x4ca),_0x3caa85[_0xe600ea(0x3e3)]=_0xe600ea(0x3e2),_0x3caa85[_0xe600ea(0x2d8)]=_0xe600ea(0x3aa),_0x3caa85[_0xe600ea(0x270)]=_0xe600ea(0x35d),_0x3caa85['FETCH_MISS']=_0xe600ea(0x18e),_0x3caa85[_0xe600ea(0x373)]='conflict',_0x3caa85['OFFLINE']=_0xe600ea(0x1f5),_0x3caa85))(_0x93c01f||{});const _0x3291d1=0xea60;class _0x3024e3{constructor(_0x483f39,_0x31eaa1,_0xe287ae,_0x10a8f2,_0x42b5db,_0xa1196,_0x5cc79d,_0x57d8b6,_0x188fb5){var _0x18952c=_0xe600ea;_0x358222(this,'_awaitingChangeset',null),_0x358222(this,'_pendingMutations',[]),(this['unitID']=_0x483f39,this[_0x18952c(0x285)]=_0x31eaa1,this[_0x18952c(0x3a7)]=_0x42b5db,this['_commandService']=_0xa1196,this['_undoRedoService']=_0x5cc79d,this[_0x18952c(0x1a2)]=_0x57d8b6,this[_0x18952c(0x2a1)]=_0x188fb5,this['_awaitingChangeset']=_0xe287ae,this['_pendingMutations']=_0x10a8f2);}[_0xe600ea(0x1bf)](_0x1e8ee3){var _0x1e4ea9=_0xe600ea;const _0x3d8143=this['_revisionService'][_0x1e4ea9(0x17b)](this[_0x1e4ea9(0x224)]);return _0x1e8ee3[_0x1e4ea9(0x347)]>_0x3d8143+0x1?(this['_handler']['onMissingChangesets']({'from':_0x3d8143,'to':_0x1e8ee3[_0x1e4ea9(0x347)]-0x1}),!0x0):!0x1;}[_0xe600ea(0x3f0)](_0x17ea55){var _0x1b7d67=_0xe600ea;this[_0x1b7d67(0x193)][_0x1b7d67(0x1f2)](this['unitID'],_0x17ea55);}[_0xe600ea(0x3c1)](_0x1fe884){var _0x1f5fc0=_0xe600ea,_0x50a26f,_0xd3ae53;(_0xd3ae53=(_0x50a26f=this[_0x1f5fc0(0x3a7)])['onTransformSelections'])==null||_0xd3ae53[_0x1f5fc0(0x24d)](_0x50a26f,_0x1fe884);}[_0xe600ea(0x16b)](_0x37bccd){var _0x129b3f=_0xe600ea,_0x4df6f5,_0x53e9a5;return(_0x53e9a5=(_0x4df6f5=this['_handler'])[_0x129b3f(0x39a)])==null?void 0x0:_0x53e9a5['call'](_0x4df6f5,_0x37bccd);}[_0xe600ea(0x39e)](_0x33e4f5){var _0x3ad9b7=_0xe600ea,_0x168b9a,_0x33513b;return(_0x33513b=(_0x168b9a=this['_handler'])[_0x3ad9b7(0x2f9)])==null?void 0x0:_0x33513b[_0x3ad9b7(0x24d)](_0x168b9a,_0x33e4f5);}[_0xe600ea(0x36b)](_0x2598d4){var _0x241dd8=_0xe600ea,_0x4de082,_0x2c33d2,_0x5ed551;return(_0x5ed551=(_0x2c33d2=(_0x4de082=this[_0x241dd8(0x3a7)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2c33d2[_0x241dd8(0x24d)](_0x4de082,_0x2598d4))!=null?_0x5ed551:_0x2598d4;}[_0xe600ea(0x381)](_0x4a6760){var _0xba7659=_0xe600ea,_0x55674d,_0x80aa15,_0x4c33af;return(_0x4c33af=(_0x80aa15=(_0x55674d=this[_0xba7659(0x3a7)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x80aa15[_0xba7659(0x24d)](_0x55674d,_0x4a6760))!=null?_0x4c33af:_0x4a6760;}[_0xe600ea(0x3a8)](_0x4dd18b){var _0x28f969=_0xe600ea,_0x1bedbc,_0x5dc244;if(this[_0x28f969(0x285)]===_0x45ea9e['UNIVER_DOC']){const {unitID:_0x15729c,mutations:_0x59b294,memberID:_0x17a86f}=_0x4dd18b,_0x23dde5=_0x59b294[_0x28f969(0x4ac)]>0x0?_0x59b294[0x0][_0x28f969(0x33b)][_0x28f969(0x486)]:[];Array[_0x28f969(0x4a6)](_0x23dde5)&&_0x23dde5['length']>0x0&&((_0x5dc244=(_0x1bedbc=this[_0x28f969(0x3a7)])[_0x28f969(0x216)])==null||_0x5dc244[_0x28f969(0x24d)](_0x1bedbc,{'unitID':_0x15729c,'memberID':_0x17a86f,'textRanges':_0x23dde5}));}}['_updateLocalCache'](){var _0x10700f=_0xe600ea,_0x31c97b;(_0x31c97b=this[_0x10700f(0x2a1)])==null||_0x31c97b['updateOfflineData'](this['unitID'],this[_0x10700f(0x285)],this[_0x10700f(0x382)],this[_0x10700f(0x19b)]);}[_0xe600ea(0x352)](){var _0x1d6ab8=_0xe600ea;return this[_0x1d6ab8(0x1a2)][_0x1d6ab8(0x17b)](this[_0x1d6ab8(0x224)]);}[_0xe600ea(0x1e7)](){var _0x402927=_0xe600ea;this[_0x402927(0x1a2)][_0x402927(0x3df)](this[_0x402927(0x224)]);}[_0xe600ea(0x3cc)](_0x5a098c){var _0x4fcb8b=_0xe600ea,_0x3129b3;let _0x58dc26=this[_0x4fcb8b(0x36b)](_0x5a098c);_0x58dc26=this[_0x4fcb8b(0x381)](_0x58dc26);const _0x2b695c=_0x17feb2[_0x4fcb8b(0x498)](_0x58dc26['mutations'],this[_0x4fcb8b(0x37c)],{'fromCollab':!0x0});if(!_0x2b695c[_0x4fcb8b(0x446)])throw _0x2b695c['error']instanceof Error?_0x2b695c[_0x4fcb8b(0x343)]:new Error((_0x3129b3=_0x2b695c[_0x4fcb8b(0x343)])!=null?_0x3129b3:_0x4fcb8b(0x24b));this[_0x4fcb8b(0x16b)](_0x58dc26),this[_0x4fcb8b(0x39e)](_0x58dc26),this[_0x4fcb8b(0x3f0)](_0x5a098c),this[_0x4fcb8b(0x3c1)](_0x58dc26),this[_0x4fcb8b(0x3a8)](_0x58dc26),this['_incrementRevisionNumber']();}}_0x5ac5d4[_0xe600ea(0x250)]=class extends _0x3024e3{constructor(_0x2cf75c,_0x46698e,_0xbf97d9,_0x1c8e0d,_0x3586e2,_0x29ae16,_0x3d20c0,_0x2290f5,_0x5563a7,_0x1d59db){var _0x154238=_0xe600ea;super(_0x2cf75c,_0x46698e,null,[],_0xbf97d9,_0x3d20c0,_0x29ae16,_0x1c8e0d,_0x1d59db),_0x358222(this,_0x154238(0x4b1),_0x154238(0x4ca)),(this[_0x154238(0x4bf)]=_0x3586e2,this[_0x154238(0x42f)]=_0x2290f5,this['_transformService']=_0x5563a7,this[_0x154238(0x226)]=_0x1d59db);}['appendMutation'](_0x58564c){var _0x566be0=_0xe600ea;const _0x5f0fc7=this[_0x566be0(0x4bf)][_0x566be0(0x340)](_0x5ac5d4[_0x566be0(0x47f)],this['unitID'],this[_0x566be0(0x285)],[_0x58564c],this[_0x566be0(0x3a7)]);return _0x5f0fc7[_0x566be0(0x26c)](),_0x5f0fc7[_0x566be0(0x3b5)](),_0x5f0fc7;}[_0xe600ea(0x489)](_0x4db91b){var _0x38e6c7=_0xe600ea;if(this[_0x38e6c7(0x1bf)](_0x4db91b))return this[_0x38e6c7(0x4bf)][_0x38e6c7(0x340)](_0x5ac5d4['FetchingMissState'],this[_0x38e6c7(0x224)],this[_0x38e6c7(0x285)],null,[],null,[_0x4db91b],this['_handler']);try{const _0x13d9b0=this[_0x38e6c7(0x3db)][_0x38e6c7(0x453)](_0x4db91b,[_0x254674[_0x38e6c7(0x408)]]);if(_0x254674[_0x38e6c7(0x230)](_0x13d9b0)){const {c1Prime:_0x1ceadb}=_0x13d9b0;return this[_0x38e6c7(0x3cc)](_0x1ceadb),this;}throw _0x13d9b0[_0x38e6c7(0x343)];}catch(_0x452d39){return this[_0x38e6c7(0x42f)][_0x38e6c7(0x343)](_0x452d39),this['_onConflict'](!0x1);}}[_0xe600ea(0x265)](_0x53bc5f){var _0x57e746=_0xe600ea;return this[_0x57e746(0x4bf)][_0x57e746(0x340)](_0x5ac5d4[_0x57e746(0x228)],this[_0x57e746(0x224)],this['type'],null,[],this[_0x57e746(0x3a7)],_0x53bc5f);}[_0xe600ea(0x1b3)](){var _0x55c188=_0xe600ea;throw new Error(_0x55c188(0x4d2));}[_0xe600ea(0x368)](){var _0x84e372=_0xe600ea;throw new Error(_0x84e372(0x375));}[_0xe600ea(0x4d3)](){return this;}[_0xe600ea(0x349)](){var _0x994987=_0xe600ea;return this['_injector'][_0x994987(0x340)](_0x5ac5d4[_0x994987(0x1e3)],this[_0x994987(0x224)],this[_0x994987(0x285)],null,[],this['_handler']);}[_0xe600ea(0x3dc)](){return this;}[_0xe600ea(0x2b9)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe600ea(0x2dc)](){var _0x113e1b=_0xe600ea;const _0xb5a783=this['_revisionService'][_0x113e1b(0x17b)](this[_0x113e1b(0x224)]);return this['_handler'][_0x113e1b(0x202)]({'from':_0xb5a783,'to':0x0}),this[_0x113e1b(0x4bf)][_0x113e1b(0x340)](_0x5ac5d4['FetchingMissState'],this['unitID'],this[_0x113e1b(0x285)],null,[],null,[],this[_0x113e1b(0x3a7)]);}},_0x5ac5d4[_0xe600ea(0x250)]=_0x13e4f5([_0x17005c(0x3,_0x17feb2['Inject'](_0x254674[_0xe600ea(0x468)])),_0x17005c(0x4,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x17005c(0x5,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0x6,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0x7,_0x17feb2['ILogService']),_0x17005c(0x8,_0x254674[_0xe600ea(0x1a1)]),_0x17005c(0x9,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4['SyncedState']),_0x5ac5d4['PendingState']=class extends _0x3024e3{constructor(_0x1fd3bb,_0x54e7d9,_0x5312d6,_0x5dbdeb,_0x365b52,_0x547f67,_0x47ebe0,_0x295864,_0x401391,_0x12aede,_0x46ce0b,_0x581d9b,_0x20e18f,_0x27652a){var _0x1a5f5b=_0xe600ea;super(_0x1fd3bb,_0x54e7d9,null,_0x5312d6,_0x5dbdeb,_0x401391,_0x20e18f,_0x547f67,_0x27652a),_0x358222(this,'status',_0x1a5f5b(0x3e2)),_0x358222(this,_0x1a5f5b(0x2c7),null),_0x358222(this,_0x1a5f5b(0x2b2),null),(this[_0x1a5f5b(0x4bf)]=_0x365b52,this[_0x1a5f5b(0x283)]=_0x47ebe0,this[_0x1a5f5b(0x42f)]=_0x295864,this[_0x1a5f5b(0x164)]=_0x12aede,this[_0x1a5f5b(0x3db)]=_0x46ce0b,this['_univerInstanceService']=_0x581d9b);}['appendMutation'](_0x1230e4){var _0x13f702=_0xe600ea;return this['_pendingMutations'][_0x13f702(0x2c3)](_0x1230e4),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x553ca1){var _0x3e8a9e=_0xe600ea;if(this[_0x3e8a9e(0x1bf)](_0x553ca1))return this[_0x3e8a9e(0x46d)](),this['_injector'][_0x3e8a9e(0x340)](_0x5ac5d4[_0x3e8a9e(0x41f)],this['unitID'],this[_0x3e8a9e(0x285)],null,this[_0x3e8a9e(0x19b)],null,[_0x553ca1],this['_handler']);try{const _0x2502db=this[_0x3e8a9e(0x3db)][_0x3e8a9e(0x453)](_0x553ca1,this[_0x3e8a9e(0x19b)]);if(_0x254674[_0x3e8a9e(0x230)](_0x2502db)){const {c1Prime:_0x343f23,m2Prime:_0xd9d03}=_0x2502db;this[_0x3e8a9e(0x3cc)](_0x343f23);const _0x5e3626=this['_injector'][_0x3e8a9e(0x340)](_0x5ac5d4[_0x3e8a9e(0x47f)],this[_0x3e8a9e(0x224)],this[_0x3e8a9e(0x285)],_0xd9d03,this[_0x3e8a9e(0x3a7)]);this[_0x3e8a9e(0x46d)]();const _0xce68bd=new Date()['getTime'](),_0x5c5990=this[_0x3e8a9e(0x2c7)]?Math[_0x3e8a9e(0x236)](this['_scheduleCompleteTimestamp']-_0xce68bd,0x0):this[_0x3e8a9e(0x208)]();return _0x5e3626['_schedule'](_0x5c5990),_0x5e3626;}throw _0x2502db['error'];}catch(_0x330f4f){return this[_0x3e8a9e(0x42f)]['error'](_0x330f4f),this['_onConflict'](!0x1);}}[_0xe600ea(0x1b3)](){var _0x4df779=_0xe600ea;throw new Error(_0x4df779(0x38e));}['onRemoteRej'](){var _0x20a471=_0xe600ea;throw new Error(_0x20a471(0x42c));}[_0xe600ea(0x4d3)](){return this;}[_0xe600ea(0x349)](){var _0xe31d1c=_0xe600ea;return this[_0xe31d1c(0x46d)](),this[_0xe31d1c(0x4bf)][_0xe31d1c(0x340)](_0x5ac5d4['OfflineState'],this['unitID'],this['type'],null,this[_0xe31d1c(0x19b)],this['_handler']);}[_0xe600ea(0x3dc)](){return this;}[_0xe600ea(0x26c)](_0x5a1cea){var _0x194076=_0xe600ea;const _0x350780=_0x5a1cea!=null?_0x5a1cea:this[_0x194076(0x208)]();this[_0x194076(0x2c7)]=new Date()['getTime']()+_0x350780,this[_0x194076(0x2b2)]=setTimeout(()=>{var _0x101716=_0x194076;this[_0x101716(0x46d)]();let _0x23a40b=null;switch(this['type']){case _0x45ea9e[_0x101716(0x291)]:{_0x23a40b=_0x5b796f(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x101716(0x1a2)],this[_0x101716(0x283)]);break;}case _0x45ea9e[_0x101716(0x380)]:{this[_0x101716(0x19b)][_0x101716(0x1b8)](_0x20dd69=>_0x20dd69['id']===_0x65b9e[_0x101716(0x1fb)]['id'])?_0x23a40b=_0x38ff64(this['_pendingMutations'],this['unitID'],this[_0x101716(0x1c4)],this['_revisionService'],this['_memberService']):_0x23a40b=_0x5b796f(this[_0x101716(0x19b)],this[_0x101716(0x224)],this[_0x101716(0x1c4)],this['_revisionService'],this[_0x101716(0x283)]);break;}default:throw new Error(_0x101716(0x45e)+this[_0x101716(0x285)]+'\x20in\x20_schedule.');}const {changeset:_0xe125d1,pendingMutations:_0x311ee9}=_0x23a40b;this[_0x101716(0x3a7)][_0x101716(0x3ff)](_0xe125d1);const _0x54b16d=_0x311ee9['length']?this[_0x101716(0x4bf)][_0x101716(0x340)](_0x5ac5d4[_0x101716(0x460)],this[_0x101716(0x224)],this[_0x101716(0x285)],_0xe125d1,_0x311ee9,this[_0x101716(0x3a7)],void 0x0):this[_0x101716(0x4bf)][_0x101716(0x340)](_0x5ac5d4[_0x101716(0x28a)],this['unitID'],this['type'],_0xe125d1,this[_0x101716(0x3a7)]);_0x54b16d[_0x101716(0x3b5)](),this[_0x101716(0x3a7)][_0x101716(0x23b)](this,_0x54b16d);},_0x350780);}[_0xe600ea(0x208)](){var _0x44df37=_0xe600ea,_0x52dc2c;const _0x8a7c83=this[_0x44df37(0x164)][_0x44df37(0x1aa)](_0x566bcc);return(_0x52dc2c=_0x8a7c83==null?void 0x0:_0x8a7c83[_0x44df37(0x2ea)])!=null?_0x52dc2c:0x7d0;}[_0xe600ea(0x2b9)](){var _0x3d63b8=_0xe600ea;throw new Error(_0x3d63b8(0x402));}['_clearScheduledTask'](){var _0x3e64de=_0xe600ea;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3e64de(0x2b2)]=null);}['_onConflict'](_0x4c6ce9){var _0xc96162=_0xe600ea;return this[_0xc96162(0x46d)](),this['_injector'][_0xc96162(0x340)](_0x5ac5d4['ConflictState'],this['unitID'],this['type'],null,this[_0xc96162(0x19b)],this[_0xc96162(0x3a7)],_0x4c6ce9);}},_0x5ac5d4['PendingState']=_0x13e4f5([_0x17005c(0x4,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x17005c(0x5,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x17005c(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x5ac5d4[_0xe600ea(0x325)])),_0x17005c(0x7,_0x17feb2[_0xe600ea(0x2b8)]),_0x17005c(0x8,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0x9,_0x17feb2[_0xe600ea(0x1be)]),_0x17005c(0xa,_0x254674['ITransformService']),_0x17005c(0xb,_0x17feb2[_0xe600ea(0x213)]),_0x17005c(0xc,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0xd,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x47f)]),_0x5ac5d4['AwaitingState']=class extends _0x3024e3{constructor(_0x137bdf,_0x164278,_0x1ffa75,_0x34cb8a,_0x569c02,_0x411bea,_0x3cace3,_0x37bbf1,_0x3d5c23,_0x27e953,_0x2899a0){var _0x7162b6=_0xe600ea;super(_0x137bdf,_0x164278,_0x1ffa75,[],_0x34cb8a,_0x3cace3,_0x27e953,_0x411bea,_0x2899a0),_0x358222(this,'status','awaiting'),_0x358222(this,_0x7162b6(0x17e),0x0),_0x358222(this,_0x7162b6(0x331)),_0x358222(this,_0x7162b6(0x2fd)),(this[_0x7162b6(0x4bf)]=_0x569c02,this['_logService']=_0x37bbf1,this[_0x7162b6(0x3db)]=_0x3d5c23);}[_0xe600ea(0x35c)](_0x463f42){var _0x182376=_0xe600ea;this['_clearScheduledTask']();const _0x183498=this[_0x182376(0x4bf)]['createInstance'](_0x5ac5d4[_0x182376(0x460)],this[_0x182376(0x224)],this[_0x182376(0x285)],this['_awaitingChangeset'],[_0x463f42],this['_handler'],this[_0x182376(0x331)]);return _0x183498['_updateLocalCache'](),_0x183498;}['onRemoteChangeset'](_0x29dc57){var _0x5899ed=_0xe600ea;if(this[_0x5899ed(0x1bf)](_0x29dc57))return this['_clearScheduledTask'](),this[_0x5899ed(0x4bf)][_0x5899ed(0x340)](_0x5ac5d4[_0x5899ed(0x41f)],this['unitID'],this[_0x5899ed(0x285)],this['_awaitingChangeset'],[],null,[_0x29dc57],this[_0x5899ed(0x3a7)]);try{const _0x17140a=this['_transformService'][_0x5899ed(0x1ac)]([_0x29dc57],[this['_awaitingChangeset']],!0x1);if(_0x254674[_0x5899ed(0x34f)](_0x17140a)){const {c1Prime:_0x21f22b,c2Prime:_0x5a7be0}=_0x17140a;this['_executeRemoteChangeset'](_0x21f22b[0x0]),_0x5a7be0[0x0]['baseRev']=this[_0x5899ed(0x352)](),this['_clearScheduledTask']();const _0x24eeaa=this[_0x5899ed(0x4bf)][_0x5899ed(0x340)](_0x5ac5d4['AwaitingState'],this[_0x5899ed(0x224)],this[_0x5899ed(0x285)],_0x5a7be0[0x0],this[_0x5899ed(0x3a7)]);return _0x24eeaa[_0x5899ed(0x3b5)](),_0x24eeaa;}return this[_0x5899ed(0x265)](!0x1);}catch(_0x2a92ad){return this[_0x5899ed(0x42f)]['error'](_0x2a92ad),this[_0x5899ed(0x265)](!0x1);}}['onRemoteAck'](_0x2afec4){var _0x462f53=_0xe600ea;this[_0x462f53(0x46d)]();const _0x5867cb=this[_0x462f53(0x1a2)][_0x462f53(0x17b)](this[_0x462f53(0x224)]);if(_0x2afec4[_0x462f53(0x347)]<_0x5867cb-0x1)return this;if(this['_checkMissing'](_0x2afec4))return this[_0x462f53(0x4bf)][_0x462f53(0x340)](_0x5ac5d4[_0x462f53(0x41f)],this['unitID'],this[_0x462f53(0x285)],null,[],this[_0x462f53(0x382)],[],this[_0x462f53(0x3a7)]);this[_0x462f53(0x1e7)]();const _0x46a589=this[_0x462f53(0x4bf)][_0x462f53(0x340)](_0x5ac5d4[_0x462f53(0x250)],this[_0x462f53(0x224)],this[_0x462f53(0x285)],this[_0x462f53(0x3a7)]);return _0x46a589['_updateLocalCache'](),_0x46a589;}[_0xe600ea(0x368)](_0x5dc7c1){var _0x35f82b=_0xe600ea;return this[_0x35f82b(0x265)](!!(_0x5dc7c1!=null&&_0x5dc7c1['isPermissionRej']));}[_0xe600ea(0x4d3)](_0x4fc356){var _0x23529=_0xe600ea;return this[_0x23529(0x17e)]>_0x3291d1?this[_0x23529(0x349)]():(this[_0x23529(0x331)]=_0x17920d(this[_0x23529(0x17e)],{'timeout':this[_0x23529(0x17e)],'reqId':_0x4fc356['reqId']}),this[_0x23529(0x2fd)]=this[_0x23529(0x331)][_0x23529(0x1c0)](({reqId:_0x1e42af,timeout:_0x3a0b2b})=>{var _0x13be7e=_0x23529;this[_0x13be7e(0x431)](_0x1e42af,_0x3a0b2b);}),this);}['toggleOffline'](){var _0x461f13=_0xe600ea;return this[_0x461f13(0x46d)](),this[_0x461f13(0x4bf)][_0x461f13(0x340)](_0x5ac5d4[_0x461f13(0x1e3)],this[_0x461f13(0x224)],this[_0x461f13(0x285)],this[_0x461f13(0x382)],[],this[_0x461f13(0x3a7)]);}['toggleOnline'](){return this;}[_0xe600ea(0x2b9)](){var _0x231263=_0xe600ea;this[_0x231263(0x3a7)][_0x231263(0x3ff)](this[_0x231263(0x382)]);}[_0xe600ea(0x265)](_0x3ccd22){var _0x424c7c=_0xe600ea;return this[_0x424c7c(0x46d)](),this[_0x424c7c(0x4bf)][_0x424c7c(0x340)](_0x5ac5d4['ConflictState'],this[_0x424c7c(0x224)],this['type'],this[_0x424c7c(0x382)],[],this[_0x424c7c(0x3a7)],_0x3ccd22);}[_0xe600ea(0x431)](_0xe9bbed,_0x3cc155){var _0xcd31d=_0xe600ea,_0x5639a2;_0xe9bbed===((_0x5639a2=this[_0xcd31d(0x382)])==null?void 0x0:_0x5639a2['reqId'])&&(this['resend'](),this[_0xcd31d(0x17e)]=_0x3cc155===0x0?0x3e8:_0x3cc155*0x2);}[_0xe600ea(0x46d)](){var _0x4471d8=_0xe600ea,_0x1d434d;(_0x1d434d=this['_sender'])==null||_0x1d434d[_0x4471d8(0x358)](),this[_0x4471d8(0x17e)]=0x0;}},_0x5ac5d4['AwaitingState']=_0x13e4f5([_0x17005c(0x4,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x17005c(0x5,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x17005c(0x6,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0x7,_0x17feb2[_0xe600ea(0x2b8)]),_0x17005c(0x8,_0x254674[_0xe600ea(0x1a1)]),_0x17005c(0x9,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0xa,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x28a)]),_0x5ac5d4['AwaitingWithPendingState']=class extends _0x3024e3{constructor(_0x2ed2d8,_0x59f34c,_0x529b8f,_0x4b11bb,_0x1953cc,_0x381b7b,_0xe7ff3f,_0x41240f,_0x15b986,_0x54c79b,_0x1626d7,_0x38bc0b,_0x59f36b){var _0x1255d7=_0xe600ea;super(_0x2ed2d8,_0x59f34c,_0x529b8f,_0x4b11bb,_0x1953cc,_0x15b986,_0x38bc0b,_0x41240f,_0x59f36b),_0x358222(this,_0x1255d7(0x4b1),_0x1255d7(0x35d)),_0x358222(this,_0x1255d7(0x17e),0x0),_0x358222(this,_0x1255d7(0x331)),_0x358222(this,'_sender'),(this[_0x1255d7(0x4bf)]=_0xe7ff3f,this[_0x1255d7(0x42f)]=_0x54c79b,this[_0x1255d7(0x3db)]=_0x1626d7,this['localCacheService']=_0x59f36b,_0x381b7b&&(this[_0x1255d7(0x331)]=_0x381b7b,this['_sender']=this[_0x1255d7(0x331)][_0x1255d7(0x1c0)](({reqId:_0x23a510,timeout:_0x650a40})=>{this['_resendWithTimeout'](_0x23a510,_0x650a40);})));}[_0xe600ea(0x35c)](_0x306b45){var _0x1c5181=_0xe600ea;return this[_0x1c5181(0x19b)][_0x1c5181(0x2c3)](_0x306b45),this;}[_0xe600ea(0x489)](_0x57fa6a){var _0x35a8d1=_0xe600ea;if(this[_0x35a8d1(0x1bf)](_0x57fa6a))return this[_0x35a8d1(0x46d)](),this[_0x35a8d1(0x4bf)]['createInstance'](_0x5ac5d4[_0x35a8d1(0x41f)],this['unitID'],this[_0x35a8d1(0x285)],this[_0x35a8d1(0x382)],this[_0x35a8d1(0x19b)],null,[_0x57fa6a],this[_0x35a8d1(0x3a7)]);try{const _0x57cfc5=this[_0x35a8d1(0x3db)][_0x35a8d1(0x1ac)]([_0x57fa6a],[this[_0x35a8d1(0x382)]],!0x1);if(_0x254674[_0x35a8d1(0x34f)](_0x57cfc5)){const {c1Prime:_0x389c47,c2Prime:_0x332830}=_0x57cfc5,_0x6dd93f=this['_transformService'][_0x35a8d1(0x453)](_0x389c47[0x0],this[_0x35a8d1(0x19b)]);if(_0x254674[_0x35a8d1(0x230)](_0x6dd93f)){const {c1Prime:_0x1e3b73,m2Prime:_0x21e37a}=_0x6dd93f;return this[_0x35a8d1(0x3cc)](_0x1e3b73),_0x332830[0x0]['baseRev']=this[_0x35a8d1(0x352)](),this[_0x35a8d1(0x46d)](),this[_0x35a8d1(0x4bf)][_0x35a8d1(0x340)](_0x5ac5d4[_0x35a8d1(0x460)],this[_0x35a8d1(0x224)],this[_0x35a8d1(0x285)],_0x332830[0x0],_0x21e37a,this[_0x35a8d1(0x3a7)],void 0x0);}throw _0x6dd93f[_0x35a8d1(0x343)];}throw _0x57cfc5[_0x35a8d1(0x343)];}catch(_0x29f5a5){return this[_0x35a8d1(0x42f)][_0x35a8d1(0x343)](_0x29f5a5),this[_0x35a8d1(0x265)](!0x1);}}['onRemoteAck'](_0x14bec0){var _0xe8d59e=_0xe600ea;if(this[_0xe8d59e(0x46d)](),this['_checkMissing'](_0x14bec0))return this[_0xe8d59e(0x4bf)][_0xe8d59e(0x340)](_0x5ac5d4['FetchingMissState'],this[_0xe8d59e(0x224)],this['type'],null,this[_0xe8d59e(0x19b)],this[_0xe8d59e(0x382)],[],this[_0xe8d59e(0x3a7)]);this['_incrementRevisionNumber']();const _0x4e2e4b=this['_injector'][_0xe8d59e(0x340)](_0x5ac5d4['PendingState'],this['unitID'],this[_0xe8d59e(0x285)],this[_0xe8d59e(0x19b)],this['_handler']);return _0x4e2e4b[_0xe8d59e(0x26c)](),_0x4e2e4b[_0xe8d59e(0x3b5)](),_0x4e2e4b;}[_0xe600ea(0x368)](_0x185e82){var _0x1fd345=_0xe600ea;return this[_0x1fd345(0x265)](!!(_0x185e82!=null&&_0x185e82['isPermissionRej']));}['onRemoteRetry'](_0x1ea738){var _0x66e14e=_0xe600ea;return this[_0x66e14e(0x17e)]>_0x3291d1?this[_0x66e14e(0x349)]():(this[_0x66e14e(0x331)]=_0x17920d(this['_resendTimeout'],{'timeout':this[_0x66e14e(0x17e)],'reqId':_0x1ea738['reqId']}),this[_0x66e14e(0x2fd)]=this[_0x66e14e(0x331)][_0x66e14e(0x1c0)](({reqId:_0x2f9d6f,timeout:_0x1d228a})=>{var _0x583255=_0x66e14e;this[_0x583255(0x431)](_0x2f9d6f,_0x1d228a);}),this);}[_0xe600ea(0x349)](){var _0x2b4a7f=_0xe600ea;return this['_clearScheduledTask'](),this[_0x2b4a7f(0x4bf)]['createInstance'](_0x5ac5d4[_0x2b4a7f(0x1e3)],this[_0x2b4a7f(0x224)],this['type'],this[_0x2b4a7f(0x382)],this[_0x2b4a7f(0x19b)],this[_0x2b4a7f(0x3a7)]);}[_0xe600ea(0x3dc)](){return this;}[_0xe600ea(0x2b9)](){var _0x5e45b3=_0xe600ea;this[_0x5e45b3(0x3a7)][_0x5e45b3(0x3ff)](this[_0x5e45b3(0x382)]);}[_0xe600ea(0x265)](_0x433004){var _0x5c9fe1=_0xe600ea;return this[_0x5c9fe1(0x46d)](),this[_0x5c9fe1(0x4bf)][_0x5c9fe1(0x340)](_0x5ac5d4[_0x5c9fe1(0x228)],this['unitID'],this[_0x5c9fe1(0x285)],null,this[_0x5c9fe1(0x19b)],this['_handler'],_0x433004);}['_resendWithTimeout'](_0x48e0a0,_0x56d358){var _0x3eb070=_0xe600ea,_0x15c5ba;_0x48e0a0===((_0x15c5ba=this[_0x3eb070(0x382)])==null?void 0x0:_0x15c5ba[_0x3eb070(0x242)])&&(this[_0x3eb070(0x2b9)](),this['_resendTimeout']=_0x56d358===0x0?0x3e8:_0x56d358*0x2);}[_0xe600ea(0x46d)](){var _0x1614a3=_0xe600ea,_0x2bfdc9;(_0x2bfdc9=this[_0x1614a3(0x2fd)])==null||_0x2bfdc9[_0x1614a3(0x358)](),this[_0x1614a3(0x17e)]=0x0;}},_0x5ac5d4['AwaitingWithPendingState']=_0x13e4f5([_0x17005c(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x17005c(0x7,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x17005c(0x8,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0x9,_0x17feb2['ILogService']),_0x17005c(0xa,_0x254674[_0xe600ea(0x1a1)]),_0x17005c(0xb,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0xc,_0x17feb2['Optional'](_0x2d8396))],_0x5ac5d4['AwaitingWithPendingState']),_0x5ac5d4['ConflictState']=class extends _0x3024e3{constructor(_0x1a3559,_0x16d9eb,_0x47649a,_0x1606ad,_0x2d2630,_0x549358=!0x1,_0x5afe28,_0x302f96,_0x5571d6,_0x383234,_0x4add60,_0x290acd,_0x5bfd29){var _0x19eb26=_0xe600ea;super(_0x1a3559,_0x16d9eb,_0x47649a,_0x1606ad,_0x2d2630,_0x302f96,_0x5571d6,_0x383234,_0x5bfd29),_0x358222(this,_0x19eb26(0x4b1),_0x19eb26(0x422)),(this['_isPermissionRej']=_0x549358,this['_permissionService']=_0x5afe28,this['_localeService']=_0x4add60,this[_0x19eb26(0x4ed)]=_0x290acd,this[_0x19eb26(0x226)]=_0x5bfd29,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x19eb26(0x252)]());}['appendMutation'](){return this;}[_0xe600ea(0x489)](){return this;}['onRemoteAck'](){return this;}[_0xe600ea(0x368)](){return this;}[_0xe600ea(0x4d3)](){return this;}['toggleOffline'](){return this;}[_0xe600ea(0x3dc)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe600ea(0x470)](){var _0x4f68be=_0xe600ea,_0x35daae;(_0x35daae=this['_localCacheService'])==null||_0x35daae[_0x4f68be(0x1a9)](this[_0x4f68be(0x224)],this['type'],null,[]);}[_0xe600ea(0x1ec)](){var _0x4c0d52=_0xe600ea;this[_0x4c0d52(0x292)]?this[_0x4c0d52(0x4ed)][_0x4c0d52(0x33d)]({'id':_0x5852a5[_0x4c0d52(0x31c)]}):this[_0x4c0d52(0x4ed)][_0x4c0d52(0x33d)]({'id':_0x5852a5[_0x4c0d52(0x373)]});}[_0xe600ea(0x252)](){var _0x9e263a=_0xe600ea;this[_0x9e263a(0x43a)]['updatePermissionPoint'](new _0xf0578e['WorkbookEditablePermission'](this[_0x9e263a(0x224)])['id'],!0x1);}},_0x5ac5d4['ConflictState']=_0x13e4f5([_0x17005c(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1ab)])),_0x17005c(0x7,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0x8,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0x9,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x17005c(0xa,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x27d)])),_0x17005c(0xb,_0x17feb2[_0xe600ea(0x1c2)](_0x2ee36c)),_0x17005c(0xc,_0x17feb2['Optional'](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x228)]),_0x5ac5d4[_0xe600ea(0x1e3)]=class extends _0x3024e3{constructor(_0x474ec0,_0x241caf,_0x3aee97,_0x1c8441,_0x5e7069,_0xad0783,_0x119aa4,_0x127872,_0x535f8c,_0x511804){var _0x354a56=_0xe600ea;super(_0x474ec0,_0x241caf,_0x3aee97,_0x1c8441,_0x5e7069,_0x127872,_0x535f8c,_0x119aa4,_0x511804),_0x358222(this,_0x354a56(0x4b1),_0x354a56(0x1f5)),this['_injector']=_0xad0783;}[_0xe600ea(0x35c)](_0x403893){var _0x2d2d3c=_0xe600ea;return this[_0x2d2d3c(0x19b)][_0x2d2d3c(0x2c3)](_0x403893),this[_0x2d2d3c(0x3b5)](),this;}[_0xe600ea(0x489)](_0x40b7f4){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0xe600ea(0x1b3)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x112dfc=_0xe600ea;throw new Error(_0x112dfc(0x435));}[_0xe600ea(0x4d3)](){return this;}[_0xe600ea(0x349)](){return this;}['toggleOnline'](){var _0x5eeb06=_0xe600ea;const {_injector:_0x539802,_pendingMutations:_0x1abeb9,_awaitingChangeset:_0x12273f,unitID:_0x5ea53b,_handler:_0x6b0c94,type:_0x442efa}=this,_0x10309a=_0x2eb482(_0x539802,_0x5ea53b,_0x442efa,_0x12273f,_0x1abeb9,_0x6b0c94);return _0x10309a instanceof _0x5ac5d4['PendingState']?_0x10309a['_schedule']():(_0x10309a instanceof _0x5ac5d4[_0x5eeb06(0x460)]||_0x10309a instanceof _0x5ac5d4[_0x5eeb06(0x28a)])&&_0x10309a[_0x5eeb06(0x2b9)](),_0x10309a;}[_0xe600ea(0x2b9)](){var _0x5df6de=_0xe600ea;throw new Error(_0x5df6de(0x24e));}},_0x5ac5d4[_0xe600ea(0x1e3)]=_0x13e4f5([_0x17005c(0x5,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2['Injector'])),_0x17005c(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x17005c(0x7,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0x8,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0x9,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4['OfflineState']),_0x5ac5d4[_0xe600ea(0x41f)]=class extends _0x3024e3{constructor(_0x31daf0,_0x1ff77c,_0x42ff6e,_0x5bea66,_0x241105,_0x3bbe65,_0x599b09,_0xf5bb64,_0x4030ed,_0x3ca1e3,_0x4059ca,_0x2c8897,_0x51ce35,_0x20e665){var _0x5a0c63=_0xe600ea;super(_0x31daf0,_0x1ff77c,_0x42ff6e,_0x5bea66,_0x599b09,_0x4059ca,_0x2c8897,_0x4030ed,_0x20e665),_0x358222(this,_0x5a0c63(0x4b1),_0x5a0c63(0x18e)),(this[_0x5a0c63(0x3ad)]=_0x241105,this[_0x5a0c63(0x3a3)]=_0x3bbe65,this[_0x5a0c63(0x4bf)]=_0xf5bb64,this[_0x5a0c63(0x42f)]=_0x3ca1e3,this[_0x5a0c63(0x3db)]=_0x51ce35,this[_0x5a0c63(0x226)]=_0x20e665);}['onMissedChangesetFetched'](_0x5ad829){var _0x5be2fa=_0xe600ea;try{const _0x11c091=[..._0x5ad829,...this['_queuedRemoteChangesets']],_0x283d24=[this[_0x5be2fa(0x382)]||this[_0x5be2fa(0x3ad)]][_0x5be2fa(0x4a4)](_0x5dcb01=>!!_0x5dcb01);let _0x1c0db7,_0x5c5482;if(_0x283d24[_0x5be2fa(0x4ac)]){const _0x4c26ea=this[_0x5be2fa(0x3db)]['transformChangesets'](_0x11c091,_0x283d24,!0x1);if(!_0x254674['isTransformChangesetsSuccess'](_0x4c26ea))throw _0x4c26ea[_0x5be2fa(0x343)];_0x1c0db7=_0x4c26ea['c1Prime'],_0x5c5482=_0x4c26ea[_0x5be2fa(0x4d9)];}else _0x1c0db7=_0x11c091,_0x5c5482=[];let _0x16b807=this[_0x5be2fa(0x19b)];_0x1c0db7[_0x5be2fa(0x3b2)](_0x440783=>{var _0x3e97c9=_0x5be2fa;let _0x3bc07c;if(_0x16b807[_0x3e97c9(0x4ac)]){const _0x13ef38=this[_0x3e97c9(0x3db)][_0x3e97c9(0x453)](_0x440783,_0x16b807);if(!_0x254674['isTransformMutationsWithChangesetSuccess'](_0x13ef38))throw _0x13ef38[_0x3e97c9(0x343)];_0x3bc07c=_0x13ef38[_0x3e97c9(0x41b)],_0x16b807=_0x13ef38[_0x3e97c9(0x41a)];}else _0x3bc07c=_0x440783;this['_executeRemoteChangeset'](_0x3bc07c);}),this[_0x5be2fa(0x3ad)]&&this[_0x5be2fa(0x1e7)](),this['_awaitingChangeset']&&_0x5c5482[_0x5be2fa(0x4ac)]&&(_0x5c5482[0x0][_0x5be2fa(0x4a7)]=this[_0x5be2fa(0x352)]());let _0x1c4c3f;if(this[_0x5be2fa(0x382)]&&_0x16b807[_0x5be2fa(0x4ac)]!==0x0)_0x1c4c3f=this[_0x5be2fa(0x4bf)][_0x5be2fa(0x340)](_0x5ac5d4[_0x5be2fa(0x460)],this['unitID'],this['type'],_0x5c5482[0x0],_0x16b807,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x16b807['length']===0x0)_0x5c5482[0x0][_0x5be2fa(0x4a7)]=this[_0x5be2fa(0x352)](),_0x1c4c3f=this['_injector'][_0x5be2fa(0x340)](_0x5ac5d4[_0x5be2fa(0x28a)],this['unitID'],this[_0x5be2fa(0x285)],_0x5c5482[0x0],this['_handler']);else{if(_0x16b807['length']!==0x0){const _0x3a296c=this[_0x5be2fa(0x4bf)][_0x5be2fa(0x340)](_0x5ac5d4[_0x5be2fa(0x47f)],this['unitID'],this[_0x5be2fa(0x285)],_0x16b807,this[_0x5be2fa(0x3a7)]);_0x3a296c[_0x5be2fa(0x26c)](),_0x1c4c3f=_0x3a296c;}else _0x1c4c3f=this[_0x5be2fa(0x4bf)][_0x5be2fa(0x340)](_0x5ac5d4[_0x5be2fa(0x250)],this[_0x5be2fa(0x224)],this[_0x5be2fa(0x285)],this[_0x5be2fa(0x3a7)]);}}return _0x1c4c3f[_0x5be2fa(0x3b5)](),_0x1c4c3f;}catch(_0x46c699){return this[_0x5be2fa(0x42f)][_0x5be2fa(0x343)](_0x5be2fa(0x32e),_0x5be2fa(0x21b),_0x46c699),this[_0x5be2fa(0x4bf)][_0x5be2fa(0x340)](_0x5ac5d4[_0x5be2fa(0x228)],this[_0x5be2fa(0x224)],this[_0x5be2fa(0x285)],this[_0x5be2fa(0x382)],this['_pendingMutations'],this[_0x5be2fa(0x3a7)],!0x1);}}[_0xe600ea(0x2b9)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x3b88f4){var _0x2b8e64=_0xe600ea;return this['_pendingMutations'][_0x2b8e64(0x2c3)](_0x3b88f4),this;}[_0xe600ea(0x489)](_0x3e6286){var _0x58016c=_0xe600ea;return this[_0x58016c(0x3a3)][_0x58016c(0x2c3)](_0x3e6286),this;}[_0xe600ea(0x1b3)](_0x5e3415){var _0x56ef5e=_0xe600ea;if(this[_0x56ef5e(0x382)])return this[_0x56ef5e(0x3ad)]=this[_0x56ef5e(0x382)],this[_0x56ef5e(0x382)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0xe600ea(0x368)](_0x3f6d61){var _0x382c52=_0xe600ea;return this['_onConflict'](!!(_0x3f6d61!=null&&_0x3f6d61[_0x382c52(0x1a0)]));}[_0xe600ea(0x4d3)](){return this;}[_0xe600ea(0x349)](){var _0x28454e=_0xe600ea;return this[_0x28454e(0x4bf)][_0x28454e(0x340)](_0x5ac5d4[_0x28454e(0x1e3)],this[_0x28454e(0x224)],this[_0x28454e(0x285)],this[_0x28454e(0x382)],this[_0x28454e(0x19b)],this[_0x28454e(0x3a7)]);}[_0xe600ea(0x3dc)](){return this;}[_0xe600ea(0x265)](_0x2bfff4){var _0x4ce752=_0xe600ea;return this['_injector'][_0x4ce752(0x340)](_0x5ac5d4[_0x4ce752(0x228)],this[_0x4ce752(0x224)],this['type'],this[_0x4ce752(0x382)],this[_0x4ce752(0x19b)],this[_0x4ce752(0x3a7)],_0x2bfff4);}},_0x5ac5d4['FetchingMissState']=_0x13e4f5([_0x17005c(0x7,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x17005c(0x8,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x17005c(0x9,_0x17feb2[_0xe600ea(0x2b8)]),_0x17005c(0xa,_0x17feb2[_0xe600ea(0x1ee)]),_0x17005c(0xb,_0x17feb2[_0xe600ea(0x26f)]),_0x17005c(0xc,_0x254674[_0xe600ea(0x1a1)]),_0x17005c(0xd,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x41f)]);function _0x2eb482(_0x244a7c,_0x3087c2,_0xa35de5,_0x4b6ccb,_0x16a123,_0x2cea34){var _0x217535=_0xe600ea;return _0x4b6ccb&&_0x16a123[_0x217535(0x4ac)]?_0x244a7c['createInstance'](_0x5ac5d4[_0x217535(0x460)],_0x3087c2,_0xa35de5,_0x4b6ccb,_0x16a123,_0x2cea34,void 0x0):_0x4b6ccb?_0x244a7c['createInstance'](_0x5ac5d4[_0x217535(0x28a)],_0x3087c2,_0xa35de5,_0x4b6ccb,_0x2cea34):_0x16a123[_0x217535(0x4ac)]?_0x244a7c[_0x217535(0x340)](_0x5ac5d4[_0x217535(0x47f)],_0x3087c2,_0xa35de5,_0x16a123,_0x2cea34):_0x244a7c[_0x217535(0x340)](_0x5ac5d4['SyncedState'],_0x3087c2,_0xa35de5,_0x2cea34);}var _0x4814c0=Object[_0xe600ea(0x305)],_0x188857=(_0x1c6fd9,_0x2b7ea2,_0x5c35c6,_0x4e5011)=>{var _0x291db3=_0xe600ea;for(var _0x41f719=_0x4e5011>0x1?void 0x0:_0x4e5011?_0x4814c0(_0x2b7ea2,_0x5c35c6):_0x2b7ea2,_0x5bb6aa=_0x1c6fd9[_0x291db3(0x4ac)]-0x1,_0x50960e;_0x5bb6aa>=0x0;_0x5bb6aa--)(_0x50960e=_0x1c6fd9[_0x5bb6aa])&&(_0x41f719=_0x50960e(_0x41f719)||_0x41f719);return _0x41f719;},_0x1cc481=(_0x22c1f1,_0x25abee)=>(_0x510e1b,_0x26f0cb)=>_0x25abee(_0x510e1b,_0x26f0cb,_0x22c1f1);_0x5ac5d4['CollaborationEntity']=class extends _0x17feb2[_0xe600ea(0x286)]{constructor(_0x5406e7,_0x4044b0,_0x5383da,_0x28fde9,_0x1e865e,_0x29deda,_0x15e92e,_0x3863ab,_0x547b86,_0x3a8735,_0x308698,_0x29c8d7,_0x1d62e4,_0x1be100){var _0x35e8e3=_0xe600ea;super(),_0x358222(this,_0x35e8e3(0x271),new _0xd6d137['BehaviorSubject'](null)),_0x358222(this,_0x35e8e3(0x2ac),this[_0x35e8e3(0x271)]['asObservable']()),_0x358222(this,_0x35e8e3(0x475)),_0x358222(this,_0x35e8e3(0x32d),!0x1),_0x358222(this,_0x35e8e3(0x24f),''),_0x358222(this,'_changesetReqId',0x0),_0x358222(this,_0x35e8e3(0x3cb),this[_0x35e8e3(0x2ac)][_0x35e8e3(0x28b)](_0xd6d137[_0x35e8e3(0x4ab)](_0x4e3a35=>_0x4e3a35?_0x4e3a35[_0x35e8e3(0x4b1)]:_0x93c01f[_0x35e8e3(0x2ee)]),_0xd6d137[_0x35e8e3(0x18b)](0x1))),_0x358222(this,_0x35e8e3(0x450),!0x1),_0x358222(this,_0x35e8e3(0x177),[]),(this[_0x35e8e3(0x224)]=_0x5406e7,this['session']=_0x4044b0,this[_0x35e8e3(0x2d1)]=_0x5383da,this['_injector']=_0x28fde9,this['_compressMutationService']=_0x1e865e,this[_0x35e8e3(0x1c6)]=_0x29deda,this[_0x35e8e3(0x1a2)]=_0x15e92e,this['_eventService']=_0x3863ab,this['_univerInstanceService']=_0x547b86,this[_0x35e8e3(0x42f)]=_0x3a8735,this[_0x35e8e3(0x37c)]=_0x308698,this[_0x35e8e3(0x43a)]=_0x29c8d7,this[_0x35e8e3(0x3eb)]=_0x1d62e4,this['_localCacheService']=_0x1be100);}get[_0xe600ea(0x19a)](){var _0x4cd0e4=_0xe600ea;return this[_0x4cd0e4(0x475)];}async[_0xe600ea(0x2ff)](){var _0x4c424a=_0xe600ea;if(this[_0x4c424a(0x19a)])throw new Error(_0x4c424a(0x3ba));await this[_0x4c424a(0x344)]();}[_0xe600ea(0x18a)](){var _0x4d1942=_0xe600ea;return this[_0x4d1942(0x32d)]=!0x0,_0x17feb2['toDisposable'](()=>{var _0x36f814=_0x4d1942;this['_collaborationPaused']=!0x1,this[_0x36f814(0x3b7)]();});}[_0xe600ea(0x1d7)](_0x1e8aef){var _0x2f23f3=_0xe600ea;this[_0x2f23f3(0x1cf)](_0x1e8aef);}['_updateState'](_0x3854fc){this['_state']=_0x3854fc,this['_state$']['next'](_0x3854fc);}async['_init'](){var _0x4aafba=_0xe600ea,_0x4845de;this['_updateState'](await this[_0x4aafba(0x391)]()),this[_0x4aafba(0x3eb)]&&((_0x4845de=this['_singleActiveUnitService'])==null||_0x4845de[_0x4aafba(0x25d)](this[_0x4aafba(0x224)]),this['disposeWithMe'](this[_0x4aafba(0x3eb)][_0x4aafba(0x346)](this['unitID'])[_0x4aafba(0x1c0)](_0x47fd0e=>{var _0x235721=_0x4aafba;this[_0x235721(0x42f)]['debug']('[CollaborationEntity]',_0x235721(0x364),_0x47fd0e),_0x47fd0e===_0x1eb2dd[_0x235721(0x3fa)]?(this['_eventService'][_0x235721(0x33d)]({'id':_0x5852a5[_0x235721(0x43c)]}),this[_0x235721(0x43a)][_0x235721(0x474)](new _0xf0578e[(_0x235721(0x3a5))](this[_0x235721(0x224)])['id'],!0x1),this['_permissionService'][_0x235721(0x2c5)](!0x1)):(this[_0x235721(0x43a)][_0x235721(0x474)](new _0xf0578e[(_0x235721(0x3a5))](this[_0x235721(0x224)])['id'],!0x0),this[_0x235721(0x43a)]['setShowComponents'](!0x0));})));let _0x46fe72=!0x1;return this['disposeWithMe'](this[_0x4aafba(0x1d5)][_0x4aafba(0x4a1)][_0x4aafba(0x1c0)](_0x10b69e=>{var _0x5f5c47=_0x4aafba;_0x10b69e===_0x57cde5[_0x5f5c47(0x337)]?this[_0x5f5c47(0x441)](_0x46fe72):_0x10b69e===_0x57cde5[_0x5f5c47(0x2ee)]&&(_0x46fe72=!0x0,this[_0x5f5c47(0x256)]());})),this[_0x4aafba(0x49e)](this[_0x4aafba(0x1d5)][_0x4aafba(0x37f)]['subscribe'](_0x6c5e5b=>{var _0x449a47=_0x4aafba;try{switch(_0x6c5e5b[_0x449a47(0x4d0)]){case _0x254674[_0x449a47(0x411)][_0x449a47(0x4f0)]:{this['_onRemoteChangeset'](_0x254674[_0x449a47(0x4e7)](_0x6c5e5b[_0x449a47(0x2f6)]));break;}case _0x254674[_0x449a47(0x411)]['CHANGESET_ACK']:{this[_0x449a47(0x263)](_0x6c5e5b[_0x449a47(0x2f6)]);break;}case _0x254674['CollaborationEvent'][_0x449a47(0x16d)]:{this[_0x449a47(0x267)]();break;}case _0x254674[_0x449a47(0x411)][_0x449a47(0x3cd)]:{this[_0x449a47(0x328)](_0x6c5e5b[_0x449a47(0x2f6)]);break;}case _0x254674['CollaborationEvent'][_0x449a47(0x2ad)]:{this[_0x449a47(0x22d)](_0x6c5e5b[_0x449a47(0x2f6)]['changesets'][_0x449a47(0x4ab)](_0x1d6d4c=>_0x254674[_0x449a47(0x4e7)](_0x1d6d4c)));break;}case _0x254674[_0x449a47(0x411)][_0x449a47(0x196)]:{this[_0x449a47(0x267)]({'isPermissionRej':!0x0});break;}case _0x254674[_0x449a47(0x411)]['UNISCRIPT_RUN']:break;}}catch(_0x1a7b9c){throw console['error'](_0x449a47(0x49a),_0x1a7b9c),_0x1a7b9c;}})),this[_0x4aafba(0x475)];}[_0xe600ea(0x400)](){var _0x219cd9=_0xe600ea;this[_0x219cd9(0x450)]=!0x1;}[_0xe600ea(0x2b3)](){var _0xc23916=_0xe600ea;if(this[_0xc23916(0x450)])throw new Error(_0xc23916(0x217));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x290b9e){var _0x98d184=_0xe600ea;this[_0x98d184(0x2b3)](),this[_0x98d184(0x3bd)](this[_0x98d184(0x475)][_0x98d184(0x35c)](_0x290b9e)),this[_0x98d184(0x400)]();}['_onRemoteChangeset'](_0x2c2c99){var _0x4405b5=_0xe600ea;if(!(_0x2c2c99[_0x4405b5(0x347)]<=this['_revisionService'][_0x4405b5(0x17b)](this['unitID']))){if(this['_collaborationPaused']){this[_0x4405b5(0x177)][_0x4405b5(0x2c3)](_0x2c2c99);return;}this[_0x4405b5(0x2d0)](_0x2c2c99);}}[_0xe600ea(0x3b7)](){var _0x3b5633=_0xe600ea;this[_0x3b5633(0x177)][_0x3b5633(0x3b2)](_0x344dd2=>this[_0x3b5633(0x2d0)](_0x344dd2)),this[_0x3b5633(0x177)]=[];}[_0xe600ea(0x2d0)](_0x2cd578){var _0x4b91cf=_0xe600ea;const _0x243f5b=this[_0x4b91cf(0x1c8)][_0x4b91cf(0x3a1)][_0x4b91cf(0x212)](this[_0x4b91cf(0x1c8)][_0x4b91cf(0x3a1)][_0x4b91cf(0x293)]()[_0x4b91cf(0x348)])(_0x2cd578[_0x4b91cf(0x1e6)],null)||_0x2cd578[_0x4b91cf(0x1e6)],_0x2a286f={..._0x2cd578,'mutations':_0x243f5b};this[_0x4b91cf(0x2b3)](),this[_0x4b91cf(0x3bd)](this[_0x4b91cf(0x475)]['onRemoteChangeset'](_0x2a286f)),this['_unlockTransition']();}[_0xe600ea(0x263)](_0x1fceb4){var _0x18f4a2=_0xe600ea;this[_0x18f4a2(0x2b3)](),this[_0x18f4a2(0x3bd)](this['_state'][_0x18f4a2(0x1b3)](_0x1fceb4)),this[_0x18f4a2(0x400)]();}[_0xe600ea(0x267)](_0x108dca){var _0x55b76c=_0xe600ea;this['_lockTransition'](),this[_0x55b76c(0x3bd)](this[_0x55b76c(0x475)][_0x55b76c(0x368)](_0x108dca)),this[_0x55b76c(0x400)]();}[_0xe600ea(0x328)](_0x496712){var _0x32a77b=_0xe600ea;this['_lockTransition'](),this[_0x32a77b(0x3bd)](this[_0x32a77b(0x475)][_0x32a77b(0x4d3)](_0x496712)),this['_unlockTransition']();}[_0xe600ea(0x22d)](_0x4027f5){var _0xb3dae0=_0xe600ea;if(!(this[_0xb3dae0(0x475)]instanceof _0x5ac5d4[_0xb3dae0(0x41f)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3b9cdb=_0x4027f5[_0xb3dae0(0x4ab)](_0x5d31a5=>{var _0x38118d=_0xb3dae0;const _0x43fdde=this[_0x38118d(0x1c8)][_0x38118d(0x3a1)]['fetchThroughInterceptors'](this[_0x38118d(0x1c8)]['interceptor'][_0x38118d(0x293)]()[_0x38118d(0x348)])(_0x5d31a5[_0x38118d(0x1e6)],null)||_0x5d31a5['mutations'];return{..._0x5d31a5,'mutations':_0x43fdde};});this[_0xb3dae0(0x2b3)](),this[_0xb3dae0(0x3bd)](this[_0xb3dae0(0x475)][_0xb3dae0(0x1d4)](_0x3b9cdb)),this['_unlockTransition']();}[_0xe600ea(0x256)](){var _0xc67d77=_0xe600ea;this['_lockTransition'](),this[_0xc67d77(0x3bd)](this[_0xc67d77(0x475)][_0xc67d77(0x349)]()),this[_0xc67d77(0x400)]();}[_0xe600ea(0x441)](_0x5427b3=!0x1){var _0x318000=_0xe600ea;this[_0x318000(0x2b3)](),this[_0x318000(0x3bd)](this[_0x318000(0x475)][_0x318000(0x3dc)]()),this[_0x318000(0x400)]();const _0x2416b4=this[_0x318000(0x475)];_0x5427b3&&_0x2416b4 instanceof _0x5ac5d4[_0x318000(0x250)]&&(this['_lockTransition'](),this[_0x318000(0x3bd)](_0x2416b4[_0x318000(0x2dc)]()),this['_unlockTransition']());}async[_0xe600ea(0x391)](){return new Promise(_0x1ae9f0=>{var _0x5d356c=_0x239d;this[_0x5d356c(0x1d5)][_0x5d356c(0x4a1)]['pipe'](_0xd6d137[_0x5d356c(0x481)](0x1))['subscribe'](async _0x56a37c=>{var _0x132800=_0x5d356c;_0x1ae9f0(await this[_0x132800(0x2ce)](_0x56a37c===_0x57cde5['ONLINE']));});});}[_0xe600ea(0x3ce)](){var _0x215dbd=_0xe600ea;const _0x143c64=this[_0x215dbd(0x224)];return{'onStateChange':(_0x2cab55,_0x208011)=>{var _0x1550e9=_0x215dbd;if(_0x2cab55!==this[_0x1550e9(0x475)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2cab55['status']+_0x1550e9(0x218)+_0x208011[_0x1550e9(0x4b1)]+'\x0aCurrent:\x20'+this['_state'][_0x1550e9(0x4b1)]);this[_0x1550e9(0x3bd)](_0x208011);},'onSendChangeset':_0x34d713=>{var _0x3e9dad=_0x215dbd;_0x34d713[_0x3e9dad(0x412)]||(_0x34d713[_0x3e9dad(0x412)]=this[_0x3e9dad(0x24f)],_0x34d713[_0x3e9dad(0x242)]=++this[_0x3e9dad(0x4c4)]);const _0x3d55e7={'eventID':_0x254674[_0x3e9dad(0x411)][_0x3e9dad(0x3ef)],'data':{'unitID':_0x34d713[_0x3e9dad(0x224)],'unitType':this[_0x3e9dad(0x2d1)],'changeset':_0x34d713,'memberID':this['session'][_0x3e9dad(0x3f7)]()}};this[_0x3e9dad(0x1d5)][_0x3e9dad(0x3d2)](_0x3d55e7,this[_0x3e9dad(0x224)]);},'onMissingChangesets':({from:_0x5e660f,to:_0x57c5f4})=>{var _0x2c4b91=_0x215dbd;this[_0x2c4b91(0x42f)]['debug']('[CollaborationEntity]',_0x2c4b91(0x220)+_0x5e660f+_0x2c4b91(0x298)+_0x57c5f4);const _0x1acda5={'eventID':_0x254674['CollaborationEvent'][_0x2c4b91(0x1c1)],'data':{'unitID':_0x143c64,'unitType':this[_0x2c4b91(0x2d1)],'from':_0x5e660f,'to':_0x57c5f4}};this[_0x2c4b91(0x1d5)]['send'](_0x1acda5,this['unitID']);}};}async[_0xe600ea(0x2ce)](_0x2fe271){var _0x2a709b=_0xe600ea,_0x2ea15f,_0x109f90,_0x543e7f;const _0x42dab5=await((_0x2ea15f=this[_0x2a709b(0x2a1)])==null?void 0x0:_0x2ea15f[_0x2a709b(0x266)](this[_0x2a709b(0x224)])),_0x7e7519=(_0x109f90=_0x42dab5==null?void 0x0:_0x42dab5[_0x2a709b(0x1e6)])!=null?_0x109f90:[],_0x5e6941=(_0x543e7f=_0x42dab5==null?void 0x0:_0x42dab5[_0x2a709b(0x1e8)])!=null?_0x543e7f:null,_0x44a429=!!(_0x5e6941!=null&&_0x5e6941['sid'])&&!!(_0x5e6941!=null&&_0x5e6941[_0x2a709b(0x242)]);this[_0x2a709b(0x24f)]=_0x44a429?_0x5e6941[_0x2a709b(0x412)]:_0x254674['uuidv4'](),this[_0x2a709b(0x4c4)]=_0x44a429?_0x5e6941[_0x2a709b(0x242)]:0x0;const _0x25566b=this[_0x2a709b(0x224)];try{this['_replayCachedMutations'](_0x5e6941,_0x7e7519);}catch(_0x5881f7){this['_logService'][_0x2a709b(0x343)](_0x5881f7);}const _0xd00e63=this[_0x2a709b(0x3ce)]();if(_0x2fe271){const _0x3b623d=_0x2eb482(this['_injector'],_0x25566b,this[_0x2a709b(0x2d1)],_0x5e6941,_0x7e7519,_0xd00e63);return _0x3b623d instanceof _0x5ac5d4['PendingState']?_0x3b623d[_0x2a709b(0x26c)]():(_0x3b623d instanceof _0x5ac5d4[_0x2a709b(0x460)]||_0x3b623d instanceof _0x5ac5d4[_0x2a709b(0x28a)])&&_0x3b623d[_0x2a709b(0x2b9)](),_0x3b623d;}return this[_0x2a709b(0x4bf)]['createInstance'](_0x5ac5d4[_0x2a709b(0x1e3)],_0x25566b,this[_0x2a709b(0x2d1)],_0x5e6941,_0x7e7519,_0xd00e63);}[_0xe600ea(0x1cb)](_0x39ae1c,_0xf946fe){var _0x8eb408=_0xe600ea,_0x4273f9,_0x551e3f;const _0x56656d=this[_0x8eb408(0x1c8)][_0x8eb408(0x3a1)][_0x8eb408(0x212)](this['_compressMutationService']['interceptor'][_0x8eb408(0x293)]()[_0x8eb408(0x348)]);(_0x4273f9=_0x56656d((_0x39ae1c==null?void 0x0:_0x39ae1c[_0x8eb408(0x1e6)])||[],null))==null||_0x4273f9[_0x8eb408(0x3b2)](_0x2499ad=>this[_0x8eb408(0x37c)][_0x8eb408(0x241)](_0x2499ad['id'],_0x2499ad[_0x8eb408(0x33b)])),(_0x551e3f=_0x56656d(_0xf946fe||[],null))==null||_0x551e3f[_0x8eb408(0x3b2)](_0x13c91b=>this[_0x8eb408(0x37c)][_0x8eb408(0x241)](_0x13c91b['id'],_0x13c91b['params']));}},_0x5ac5d4['CollaborationEntity']=_0x188857([_0x1cc481(0x3,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2['Injector'])),_0x1cc481(0x4,_0x17feb2[_0xe600ea(0x1c2)](_0x254674['CompressMutationService'])),_0x1cc481(0x5,_0x17feb2['Inject'](_0x17feb2[_0xe600ea(0x27d)])),_0x1cc481(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x254674['RevisionService'])),_0x1cc481(0x7,_0x17feb2[_0xe600ea(0x1c2)](_0x2ee36c)),_0x1cc481(0x8,_0x17feb2[_0xe600ea(0x213)]),_0x1cc481(0x9,_0x17feb2[_0xe600ea(0x2b8)]),_0x1cc481(0xa,_0x17feb2[_0xe600ea(0x1ee)]),_0x1cc481(0xb,_0x17feb2[_0xe600ea(0x1ab)]),_0x1cc481(0xc,_0x17feb2[_0xe600ea(0x3ee)](_0xba00e)),_0x1cc481(0xd,_0x17feb2['Optional'](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x1f0)]),_0x5ac5d4['DocCollaborationEntity']=class extends _0x5ac5d4[_0xe600ea(0x1f0)]{constructor(_0x77b523,_0x39978e,_0x521c23,_0x504e23,_0x5a6ed1,_0xd20c61,_0xdc18bc,_0x3762d3,_0x4b1437,_0x120723,_0xaf35df,_0x2e60c8,_0x167089,_0x5b1502){var _0x492e00=_0xe600ea;super(_0x77b523,_0x521c23,_0x39978e,_0x504e23,_0x5a6ed1,_0xd20c61,_0xdc18bc,_0x3762d3,_0x4b1437,_0x120723,_0xaf35df,_0x2e60c8,_0x167089,_0x5b1502),_0x358222(this,'_handlerCallback',null),(this[_0x492e00(0x224)]=_0x77b523,this[_0x492e00(0x285)]=_0x39978e);}['addHandlerCallback'](_0x1ae47d){var _0x54f23b=_0xe600ea;this[_0x54f23b(0x4af)]=_0x1ae47d;}[_0xe600ea(0x4bd)](){var _0x5ea251=_0xe600ea;this[_0x5ea251(0x4af)]=null,super['dispose']();}['_createHandler'](){var _0x37ebc3=_0xe600ea;const _0x645687=super[_0x37ebc3(0x3ce)]();return _0x645687[_0x37ebc3(0x39a)]=_0x13c405=>{var _0x565c20=_0x37ebc3,_0x3d5b1d,_0x4e1a58;return(_0x4e1a58=(_0x3d5b1d=this[_0x565c20(0x4af)])==null?void 0x0:_0x3d5b1d[_0x565c20(0x39a)])==null?void 0x0:_0x4e1a58['call'](_0x3d5b1d,_0x13c405);},_0x645687[_0x37ebc3(0x2f9)]=_0x135f30=>{var _0x117219=_0x37ebc3,_0x4ea4d3,_0x3d4c4b;return(_0x3d4c4b=(_0x4ea4d3=this['_handlerCallback'])==null?void 0x0:_0x4ea4d3[_0x117219(0x2f9)])==null?void 0x0:_0x3d4c4b['call'](_0x4ea4d3,_0x135f30);},_0x645687[_0x37ebc3(0x1df)]=_0x36be79=>{var _0x4e418d=_0x37ebc3,_0x180916,_0x279c93;return(_0x279c93=(_0x180916=this['_handlerCallback'])==null?void 0x0:_0x180916[_0x4e418d(0x1df)])==null?void 0x0:_0x279c93[_0x4e418d(0x24d)](_0x180916,_0x36be79);},_0x645687[_0x37ebc3(0x216)]=_0x5bd380=>{var _0x27d908=_0x37ebc3,_0x45073a,_0x179b1c;return(_0x179b1c=(_0x45073a=this[_0x27d908(0x4af)])==null?void 0x0:_0x45073a[_0x27d908(0x216)])==null?void 0x0:_0x179b1c['call'](_0x45073a,_0x5bd380);},_0x645687[_0x37ebc3(0x440)]=_0x3f1cfb=>{var _0x3b1386=_0x37ebc3,_0x99f20d,_0xef4afa,_0x4f8880;if(!((_0x99f20d=this['_handlerCallback'])!=null&&_0x99f20d[_0x3b1386(0x440)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x4f8880=(_0xef4afa=this[_0x3b1386(0x4af)])==null?void 0x0:_0xef4afa[_0x3b1386(0x440)])==null?void 0x0:_0x4f8880[_0x3b1386(0x24d)](_0xef4afa,_0x3f1cfb);},_0x645687['onTransformRemoteChangesetByStateCache']=_0x52b5e4=>{var _0x3200f0=_0x37ebc3,_0x53df3e,_0x7098c2,_0x297afa;if(!((_0x53df3e=this['_handlerCallback'])!=null&&_0x53df3e[_0x3200f0(0x4cd)]))throw new Error(_0x3200f0(0x48b));return(_0x297afa=(_0x7098c2=this[_0x3200f0(0x4af)])==null?void 0x0:_0x7098c2[_0x3200f0(0x4cd)])==null?void 0x0:_0x297afa['call'](_0x7098c2,_0x52b5e4);},_0x645687;}async[_0xe600ea(0x344)](){var _0x233039=_0xe600ea;const _0x5bca68=await super['_init']();return this[_0x233039(0x49e)](this[_0x233039(0x37c)][_0x233039(0x30d)]((_0x409d7a,_0x5a244e)=>{var _0x496122=_0x233039;if(_0x409d7a['type']!==_0x17feb2[_0x496122(0x1b2)][_0x496122(0x3bf)]||_0x5a244e!=null&&_0x5a244e[_0x496122(0x483)]||_0x5a244e!=null&&_0x5a244e[_0x496122(0x25e)]||_0x409d7a['id']===_0x65b9e[_0x496122(0x1fb)]['id'])return;const _0x595243=_0x409d7a[_0x496122(0x33b)];if((_0x595243==null?void 0x0:_0x595243['unitId'])!==this[_0x496122(0x224)])return;const _0x524282=_0x409d7a,_0x2c5e4e=this[_0x496122(0x1c8)][_0x496122(0x3a1)]['fetchThroughInterceptors'](this[_0x496122(0x1c8)][_0x496122(0x3a1)][_0x496122(0x293)]()[_0x496122(0x4ce)])([_0x524282],this[_0x496122(0x1c4)])||[_0x524282];this[_0x496122(0x1cf)](_0x2c5e4e[0x0]);})),_0x5bca68;}},_0x5ac5d4[_0xe600ea(0x31e)]=_0x188857([_0x1cc481(0x3,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x1cc481(0x4,_0x17feb2['Inject'](_0x254674[_0xe600ea(0x4e6)])),_0x1cc481(0x5,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x27d)])),_0x1cc481(0x6,_0x17feb2[_0xe600ea(0x1c2)](_0x254674[_0xe600ea(0x468)])),_0x1cc481(0x7,_0x17feb2[_0xe600ea(0x1c2)](_0x2ee36c)),_0x1cc481(0x8,_0x17feb2[_0xe600ea(0x213)]),_0x1cc481(0x9,_0x17feb2['ILogService']),_0x1cc481(0xa,_0x17feb2[_0xe600ea(0x1ee)]),_0x1cc481(0xb,_0x17feb2[_0xe600ea(0x1ab)]),_0x1cc481(0xc,_0x17feb2[_0xe600ea(0x3ee)](_0xba00e)),_0x1cc481(0xd,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x31e)]),_0x5ac5d4[_0xe600ea(0x4d4)]=class extends _0x5ac5d4[_0xe600ea(0x1f0)]{constructor(_0x25ffd3,_0x5bef0a,_0x5e7868,_0x49d29d,_0x52daa2,_0xf09f19,_0x29ea6d,_0x39267b,_0x16daa5,_0x31c7a1,_0x156ea4,_0x2c8bc4,_0x503990,_0x4ed2a9,_0x47a5f6){var _0x5bde9e=_0xe600ea;super(_0x25ffd3,_0x5e7868,_0x5bef0a,_0x49d29d,_0x52daa2,_0xf09f19,_0x29ea6d,_0x16daa5,_0x31c7a1,_0x156ea4,_0x2c8bc4,_0x503990,_0x4ed2a9,_0x47a5f6),this[_0x5bde9e(0x224)]=_0x25ffd3,this[_0x5bde9e(0x285)]=_0x5bef0a,this[_0x5bde9e(0x23c)]=_0x39267b;}[_0xe600ea(0x3ce)](){var _0x35da21=_0xe600ea;const _0x453560=super[_0x35da21(0x3ce)]();return _0x453560[_0x35da21(0x1df)]=_0x852dfd=>this['_sheetTransformSelectionsService']['transformSelections'](_0x852dfd),_0x453560;}async[_0xe600ea(0x344)](){var _0x462ec9=_0xe600ea;const _0x2adb2e=await super[_0x462ec9(0x344)]();return this[_0x462ec9(0x49e)](this[_0x462ec9(0x37c)][_0x462ec9(0x30d)]((_0x26b2a2,_0x211b29)=>{var _0x5b7032=_0x462ec9;if(_0x26b2a2[_0x5b7032(0x285)]!==_0x17feb2[_0x5b7032(0x1b2)][_0x5b7032(0x3bf)]||_0x211b29!=null&&_0x211b29[_0x5b7032(0x483)]||_0x211b29!=null&&_0x211b29[_0x5b7032(0x25e)])return;const _0x47aca5=_0x26b2a2[_0x5b7032(0x33b)];if((_0x47aca5==null?void 0x0:_0x47aca5[_0x5b7032(0x2e2)])!==this['unitID'])return;const _0x567769=_0x26b2a2,_0x37c511=this['_compressMutationService'][_0x5b7032(0x3a1)]['fetchThroughInterceptors'](this[_0x5b7032(0x1c8)][_0x5b7032(0x3a1)][_0x5b7032(0x293)]()['COMPRESS_MUTATION_SEND'])([_0x567769],this[_0x5b7032(0x1c4)])||[_0x567769];this[_0x5b7032(0x1cf)](_0x37c511[0x0]);})),_0x2adb2e;}},_0x5ac5d4[_0xe600ea(0x4d4)]=_0x188857([_0x1cc481(0x3,_0x17feb2['Inject'](_0x17feb2[_0xe600ea(0x1b6)])),_0x1cc481(0x4,_0x17feb2['Inject'](_0x254674[_0xe600ea(0x4e6)])),_0x1cc481(0x5,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x27d)])),_0x1cc481(0x6,_0x17feb2['Inject'](_0x254674[_0xe600ea(0x468)])),_0x1cc481(0x7,_0x17feb2[_0xe600ea(0x1c2)](_0x5ac5d4['SheetTransformSelectionsService'])),_0x1cc481(0x8,_0x17feb2['Inject'](_0x2ee36c)),_0x1cc481(0x9,_0x17feb2[_0xe600ea(0x213)]),_0x1cc481(0xa,_0x17feb2[_0xe600ea(0x2b8)]),_0x1cc481(0xb,_0x17feb2[_0xe600ea(0x1ee)]),_0x1cc481(0xc,_0x17feb2[_0xe600ea(0x1ab)]),_0x1cc481(0xd,_0x17feb2['Optional'](_0xba00e)),_0x1cc481(0xe,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x4d4)]);const _0x5304a7=_0x17feb2[_0xe600ea(0x3e6)](_0xe600ea(0x1ca));function _0x594894(_0x3173dd){var _0x12b936=_0xe600ea,_0x2c7c88,_0x182c27,_0xc78efa,_0x475029,_0x1e0892;const _0x45d16b=_0x3173dd['data'],_0x165a40=JSON[_0x12b936(0x19f)](_0x45d16b);switch(_0x165a40[_0x12b936(0x15d)]){case _0x46224e['HEARTBEAT']:case _0x46224e[_0x12b936(0x20d)]:{const _0xa22236=_0x165a40['infoRsp'];return{..._0x165a40,'data':_0xa22236,'cmd':_0x165a40['cmd']};}case _0x46224e[_0x12b936(0x2e7)]:{const _0x1f3ff2=_0x165a40[_0x12b936(0x3d6)];return{..._0x165a40,'data':_0x1f3ff2,'cmd':_0x165a40[_0x12b936(0x15d)]};}case _0x46224e[_0x12b936(0x2e1)]:{const _0x28ac9c=_0x165a40[_0x12b936(0x38f)];switch(_0x28ac9c[_0x12b936(0x4d0)]){case _0x254674[_0x12b936(0x411)][_0x12b936(0x196)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':(_0x2c7c88=_0x28ac9c['permissionRejEvent'])==null?void 0x0:_0x2c7c88['cs']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x4de)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':(_0x182c27=_0x28ac9c[_0x12b936(0x4e3)])==null?void 0x0:_0x182c27['cs']},'cmd':_0x165a40['cmd']};case _0x254674['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x165a40,'data':{..._0x28ac9c,'data':(_0xc78efa=_0x28ac9c['newCsEvent'])==null?void 0x0:_0xc78efa['cs']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674['CollaborationEvent'][_0x12b936(0x16d)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':(_0x475029=_0x28ac9c[_0x12b936(0x437)])==null?void 0x0:_0x475029['cs']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x3cd)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':(_0x1e0892=_0x28ac9c[_0x12b936(0x44e)])==null?void 0x0:_0x1e0892['cs']},'cmd':_0x165a40['cmd']};case _0x254674['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c[_0x12b936(0x167)]},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674['CollaborationEvent'][_0x12b936(0x3e4)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c[_0x12b936(0x3d5)]},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674['CollaborationEvent'][_0x12b936(0x4da)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c[_0x12b936(0x4e9)]},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x26b)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c['liveShareNewHost']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x200)]:case _0x254674[_0x12b936(0x411)][_0x12b936(0x278)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c[_0x12b936(0x260)]},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x47c)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c['liveShareNewHost']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x2b6)]:return{..._0x165a40,'data':_0x28ac9c,'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)][_0x12b936(0x36c)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c['commentUpdateEvent']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)]['UPDATE_PERMISSION_OBJ']:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c[_0x12b936(0x43d)]},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674['CollaborationEvent'][_0x12b936(0x4cb)]:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c['shouldCloseConn']},'cmd':_0x165a40[_0x12b936(0x15d)]};case _0x254674[_0x12b936(0x411)]['UNISCRIPT_RUN']:return{..._0x165a40,'data':{..._0x28ac9c,'data':_0x28ac9c[_0x12b936(0x46c)]},'cmd':_0x165a40[_0x12b936(0x15d)]};default:return _0x165a40;}}default:return _0x165a40;}}function _0x2ea570(_0x2a70f6){var _0xf7403c=_0xe600ea;switch(_0x2a70f6[_0xf7403c(0x15d)]){case _0x46224e[_0xf7403c(0x461)]:case _0x46224e[_0xf7403c(0x20d)]:return JSON['stringify']({'cmd':_0x2a70f6['cmd'],'routeKey':_0x2a70f6[_0xf7403c(0x215)]});case _0x46224e[_0xf7403c(0x275)]:{let _0x3a0c21;switch(_0x2a70f6[_0xf7403c(0x2f6)][_0xf7403c(0x4d0)]){case _0x254674[_0xf7403c(0x411)][_0xf7403c(0x4db)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)][_0xf7403c(0x4db)],'updateCursorEvent':_0x2a70f6['data']['data']};break;}case _0x254674['CollaborationEvent']['USERS_LEAVE']:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)][_0xf7403c(0x4da)],'leaveEvent':_0x2a70f6[_0xf7403c(0x2f6)][_0xf7403c(0x2f6)]};break;}case _0x254674[_0xf7403c(0x411)][_0xf7403c(0x3e4)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)][_0xf7403c(0x3e4)],'joinEvent':_0x2a70f6['data'][_0xf7403c(0x2f6)]};break;}case _0x254674[_0xf7403c(0x411)][_0xf7403c(0x26b)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2a70f6[_0xf7403c(0x2f6)][_0xf7403c(0x2f6)]};break;}case _0x254674['CollaborationEvent'][_0xf7403c(0x278)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)][_0xf7403c(0x278)],'liveShareOperation':_0x2a70f6[_0xf7403c(0x2f6)]['data']};break;}case _0x254674['CollaborationEvent'][_0xf7403c(0x47c)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2a70f6[_0xf7403c(0x2f6)]['data']};break;}case _0x254674[_0xf7403c(0x411)][_0xf7403c(0x44a)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x2a70f6['data'][_0xf7403c(0x2f6)]};break;}case _0x254674[_0xf7403c(0x411)][_0xf7403c(0x200)]:{_0x3a0c21={'eventID':_0x254674[_0xf7403c(0x411)][_0xf7403c(0x200)]};break;}default:_0x3a0c21={'eventID':_0x2a70f6['data']['eventID']};}return JSON[_0xf7403c(0x4ea)]({'cmd':_0x2a70f6['cmd'],'routeKey':_0x2a70f6[_0xf7403c(0x215)],'collaMsg':_0x3a0c21});}case _0x46224e[_0xf7403c(0x2e7)]:return JSON[_0xf7403c(0x4ea)]({'cmd':_0x2a70f6[_0xf7403c(0x15d)],'routeKey':_0x2a70f6['routeKey'],'joinReq':_0x2a70f6[_0xf7403c(0x2f6)]});case _0x46224e[_0xf7403c(0x16f)]:return JSON[_0xf7403c(0x4ea)]({'cmd':_0x2a70f6[_0xf7403c(0x15d)],'routeKey':_0x2a70f6[_0xf7403c(0x215)],'leaveReq':_0x2a70f6[_0xf7403c(0x2f6)]});default:throw new Error(_0xf7403c(0x3fc));}}var _0x35601c=Object[_0xe600ea(0x305)],_0x503144=(_0x383516,_0x161f20,_0x142469,_0x35a4a8)=>{var _0x16537c=_0xe600ea;for(var _0x3d45e0=_0x35a4a8>0x1?void 0x0:_0x35a4a8?_0x35601c(_0x161f20,_0x142469):_0x161f20,_0x5b4ca3=_0x383516[_0x16537c(0x4ac)]-0x1,_0x5d016f;_0x5b4ca3>=0x0;_0x5b4ca3--)(_0x5d016f=_0x383516[_0x5b4ca3])&&(_0x3d45e0=_0x5d016f(_0x3d45e0)||_0x3d45e0);return _0x3d45e0;},_0x3e19dc=(_0x46089b,_0x590fdf)=>(_0x1c6893,_0x3e1da7)=>_0x590fdf(_0x1c6893,_0x3e1da7,_0x46089b);const _0x15e7ae=_0x17feb2[_0xe600ea(0x3e6)](_0xe600ea(0x393));function _0x456103(_0x1def10,_0xd782ea,_0x1bb61b){var _0x16ed02=_0xe600ea;return _0x1def10+'/'+_0xd782ea+_0x16ed02(0x4e5)+_0x1bb61b+_0x16ed02(0x27c);}_0x5ac5d4['CollaborationSocketService']=class extends _0x17feb2[_0xe600ea(0x388)]{constructor(_0x27f86d,_0x1de1d3,_0xc51791,_0x293aeb,_0x8db0c1){var _0x21cc40=_0xe600ea;super(),this[_0x21cc40(0x4bf)]=_0x27f86d,this[_0x21cc40(0x26d)]=_0x1de1d3,this[_0x21cc40(0x164)]=_0xc51791,this['_logService']=_0x293aeb,this[_0x21cc40(0x159)]=_0x8db0c1;}[_0xe600ea(0x39f)](_0x56e480){var _0x550bd3=_0xe600ea;const _0x114ecc=this[_0x550bd3(0x4bf)][_0x550bd3(0x299)](_0x5d9456[_0x550bd3(0x40c)]);if(!_0x114ecc)throw new Error(_0x550bd3(0x459));const _0x2f4605=_0x114ecc[_0x550bd3(0x33a)](_0x56e480);if(!_0x2f4605)throw new Error(_0x550bd3(0x301));const _0xc9a786=new _0x17feb2[(_0x550bd3(0x232))](),_0x4f9786=new _0xd6d137[(_0x550bd3(0x247))]();_0xc9a786['add'](_0x2f4605[_0x550bd3(0x1f4)][_0x550bd3(0x1c0)](_0x113692=>_0x4f9786['next'](_0x113692))),_0xc9a786[_0x550bd3(0x31f)](_0x17feb2[_0x550bd3(0x1d3)](()=>_0x4f9786[_0x550bd3(0x308)]()));const _0x12ea45=new _0xd6d137['Subject']();_0xc9a786[_0x550bd3(0x31f)](_0x2f4605[_0x550bd3(0x249)][_0x550bd3(0x1c0)](_0x51b0e0=>_0x12ea45['next'](_0x51b0e0))),_0xc9a786[_0x550bd3(0x31f)](_0x17feb2[_0x550bd3(0x1d3)](()=>_0x12ea45[_0x550bd3(0x308)]()));const _0x17cda4=new _0xd6d137[(_0x550bd3(0x247))]();_0xc9a786[_0x550bd3(0x31f)](_0x2f4605['message$'][_0x550bd3(0x1c0)](_0x1867b8=>{var _0x54999c=_0x550bd3;const _0x35e330=_0x594894(_0x1867b8);_0x17cda4[_0x54999c(0x413)](_0x35e330);})),_0xc9a786[_0x550bd3(0x31f)](_0x17feb2[_0x550bd3(0x1d3)](()=>_0x17cda4[_0x550bd3(0x308)]()));let _0x3631da;const _0x34e0fe=()=>{var _0x3772b1=_0x550bd3;_0x12ea45[_0x3772b1(0x413)](new Event(_0x3772b1(0x34c))),_0x4f9786[_0x3772b1(0x413)](new Event(_0x3772b1(0x34c))),_0x3631da[_0x3772b1(0x46b)]();};return _0x3631da={'memberID':'','close$':_0x4f9786[_0x550bd3(0x310)](),'error$':_0x12ea45[_0x550bd3(0x310)](),'open$':_0x2f4605[_0x550bd3(0x3c9)],'message$':_0x17cda4[_0x550bd3(0x310)](),'send':_0x5b22d6=>{var _0x9f386d=_0x550bd3;if(_0x5b22d6[_0x9f386d(0x15d)]===_0x46224e[_0x9f386d(0x275)]){if(_0x5b22d6['data'][_0x9f386d(0x4d0)]===_0x254674[_0x9f386d(0x411)][_0x9f386d(0x3ef)]){this[_0x9f386d(0x20c)](_0x3631da,_0x5b22d6[_0x9f386d(0x2f6)])[_0x9f386d(0x23d)](_0x5f2179=>{var _0x403753=_0x9f386d;this[_0x403753(0x42f)][_0x403753(0x343)](_0x5f2179),_0x34e0fe();});return;}if(_0x5b22d6[_0x9f386d(0x2f6)][_0x9f386d(0x4d0)]===_0x254674[_0x9f386d(0x411)][_0x9f386d(0x1c1)]){const _0x524449=_0x5b22d6[_0x9f386d(0x2f6)];this[_0x9f386d(0x2a2)](_0x524449)[_0x9f386d(0x4cc)](_0x51a353=>{var _0x195b0c=_0x9f386d;_0x17cda4[_0x195b0c(0x413)]({'cmd':_0x46224e[_0x195b0c(0x2e1)],'code':_0x594c4b['OK'],'routeKey':_0x524449[_0x195b0c(0x2f6)][_0x195b0c(0x224)],'routeType':'','data':{'eventID':_0x254674[_0x195b0c(0x411)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x51a353}}});})[_0x9f386d(0x23d)](_0x1d396e=>{var _0x50b860=_0x9f386d;this['_logService'][_0x50b860(0x343)](_0x1d396e),_0x34e0fe();});return;}}_0x2f4605[_0x9f386d(0x3d2)](_0x2ea570(_0x5b22d6));},'close':()=>{var _0x7902ab=_0x550bd3;_0x2f4605[_0x7902ab(0x46b)](),_0xc9a786['dispose']();}},_0x3631da;}async[_0xe600ea(0x20c)](_0x558e97,_0x48e411){var _0x349a9b=_0xe600ea,_0x42a6f1;const {unitType:_0x4ad3b8,unitID:_0x225773,changeset:_0x450907}=_0x48e411[_0x349a9b(0x2f6)],_0x271753={'unitID':_0x225773,'memberID':_0x558e97[_0x349a9b(0x178)],'type':_0x4ad3b8,'changeset':_0x254674[_0x349a9b(0x211)](_0x450907)},_0x19569d=this[_0x349a9b(0x164)]['getConfig'](_0x566bcc),_0x41195e=_0x456103((_0x42a6f1=_0x19569d==null?void 0x0:_0x19569d['collabSubmitChangesetUrl'])!=null?_0x42a6f1:_0x3abca4,_0x4ad3b8,_0x225773);try{await this['_httpService'][_0x349a9b(0x465)](_0x41195e,{'body':_0x271753});}catch(_0x17cb9b){throw this['_logService']['error']('[CollaborationSession]','submit\x20changeset\x20error!'),_0x17cb9b;}}async[_0xe600ea(0x2a2)](_0x216e42){var _0x13f169=_0xe600ea;const {unitID:_0x3fed2b,from:_0xdf2ac,to:_0xd40ced,unitType:_0xa8d3b5}=_0x216e42['data'];return(await this[_0x13f169(0x159)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3fed2b,'type':_0xa8d3b5,'from':_0xdf2ac,'to':_0xd40ced}))[_0x13f169(0x33e)][_0x13f169(0x4ab)](_0x29fd91=>((_0x29fd91[_0x13f169(0x1e6)]===null||_0x29fd91['mutations']===void 0x0)&&(_0x29fd91[_0x13f169(0x1e6)]=[]),_0x29fd91));}},_0x5ac5d4[_0xe600ea(0x4a2)]=_0x503144([_0x3e19dc(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x3e19dc(0x1,_0x17feb2['Inject'](_0x5d9456['HTTPService'])),_0x3e19dc(0x2,_0x17feb2[_0xe600ea(0x1be)]),_0x3e19dc(0x3,_0x17feb2[_0xe600ea(0x2b8)]),_0x3e19dc(0x4,_0x254674['ISnapshotServerService'])],_0x5ac5d4[_0xe600ea(0x4a2)]);var _0x2552fb=Object[_0xe600ea(0x305)],_0x295d70=(_0x6a3213,_0x1dddd1,_0x555852,_0x1444c9)=>{var _0x53d568=_0xe600ea;for(var _0x16570d=_0x1444c9>0x1?void 0x0:_0x1444c9?_0x2552fb(_0x1dddd1,_0x555852):_0x1dddd1,_0x3d7a4f=_0x6a3213[_0x53d568(0x4ac)]-0x1,_0x47fb43;_0x3d7a4f>=0x0;_0x3d7a4f--)(_0x47fb43=_0x6a3213[_0x3d7a4f])&&(_0x16570d=_0x47fb43(_0x16570d)||_0x16570d);return _0x16570d;},_0x1638fd=(_0x3c9d42,_0x4f1a82)=>(_0x2dd492,_0x4bb2d6)=>_0x4f1a82(_0x2dd492,_0x4bb2d6,_0x3c9d42);_0x5ac5d4[_0xe600ea(0x439)]=class extends _0x17feb2['Disposable']{constructor(_0x5893d9,_0x11bbb7,_0x28664c,_0x2935a1,_0x95cc75,_0x325d55){var _0xc576ec=_0xe600ea;super(),_0x358222(this,_0xc576ec(0x494),new _0xd6d137[(_0xc576ec(0x1f8))](void 0x0)),_0x358222(this,_0xc576ec(0x2d3),this[_0xc576ec(0x494)][_0xc576ec(0x310)]()),_0x358222(this,_0xc576ec(0x27f),null),_0x358222(this,_0xc576ec(0x455),new Map()),_0x358222(this,_0xc576ec(0x389),new _0xd6d137[(_0xc576ec(0x1f8))](_0x57cde5[_0xc576ec(0x1da)])),_0x358222(this,_0xc576ec(0x3cb),this[_0xc576ec(0x389)][_0xc576ec(0x310)]()),_0x358222(this,_0xc576ec(0x26a),!0x1),_0x358222(this,_0xc576ec(0x3af)),_0x358222(this,_0xc576ec(0x3d8),0x0),_0x358222(this,_0xc576ec(0x2dd)),_0x358222(this,_0xc576ec(0x48a)),(this['_injector']=_0x5893d9,this[_0xc576ec(0x42f)]=_0x11bbb7,this[_0xc576ec(0x164)]=_0x28664c,this['_socketService']=_0x2935a1,this[_0xc576ec(0x4ed)]=_0x95cc75,this[_0xc576ec(0x3fe)]=_0x325d55,this[_0xc576ec(0x356)]());}get[_0xe600ea(0x4c0)](){var _0x4ba409=_0xe600ea;return this[_0x4ba409(0x494)]['getValue']();}[_0xe600ea(0x356)](){var _0x35f3dd=_0xe600ea;this[_0x35f3dd(0x3fe)]&&this['disposeWithMe'](this[_0x35f3dd(0x3fe)][_0x35f3dd(0x1f1)]['subscribe'](_0x15a8f4=>{var _0x169ebe=_0x35f3dd;_0x15a8f4&&!this[_0x169ebe(0x4c0)]&&this[_0x169ebe(0x2db)](),_0x15a8f4||this[_0x169ebe(0x35b)]();}));}['dispose'](){var _0x5f2ba6=_0xe600ea;super[_0x5f2ba6(0x4bd)](),this[_0x5f2ba6(0x1ce)](),this[_0x5f2ba6(0x330)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x5f2ba6(0x3b2)](_0x1f8311=>_0x1f8311[_0x5f2ba6(0x4bd)]()),this[_0x5f2ba6(0x455)]['clear'](),this['_status$']['complete']();}async[_0xe600ea(0x1b7)](_0x4c87c0){var _0x4330ea=_0xe600ea;if(this['_sessions'][_0x4330ea(0x371)](_0x4c87c0))return this[_0x4330ea(0x455)][_0x4330ea(0x299)](_0x4c87c0);this['_tryEnsureSocket']();const _0x31fa43=this[_0x4330ea(0x4bf)][_0x4330ea(0x340)](_0x5ac5d4[_0x4330ea(0x38a)],_0x4c87c0,this['_socket$']['asObservable']());return this[_0x4330ea(0x455)]['set'](_0x4c87c0,_0x31fa43),_0x31fa43;}[_0xe600ea(0x1e4)](_0x1a90d9){var _0x2ef29b=_0xe600ea,_0x4fdfed;const _0x569a6e=this[_0x2ef29b(0x455)][_0x2ef29b(0x299)](_0x1a90d9);_0x569a6e&&(this[_0x2ef29b(0x455)][_0x2ef29b(0x322)](_0x1a90d9),_0x569a6e[_0x2ef29b(0x46b)]()),this['_sessions'][_0x2ef29b(0x2b4)]||(_0x4fdfed=this[_0x2ef29b(0x4c0)])==null||_0x4fdfed[_0x2ef29b(0x46b)]();}[_0xe600ea(0x2db)](){var _0x114097=_0xe600ea;this[_0x114097(0x3d8)]=0x0,this[_0x114097(0x1ce)](),this['_tryReconnect']();}[_0xe600ea(0x1ce)](){var _0x3ee8a6=_0xe600ea;this[_0x3ee8a6(0x3af)]!=null&&(clearTimeout(this[_0x3ee8a6(0x3af)]),this[_0x3ee8a6(0x3af)]=null);}async['_createSocket'](){var _0x3ccef5=_0xe600ea,_0x6c073;const _0x310cf2=this[_0x3ccef5(0x164)][_0x3ccef5(0x1aa)](_0x566bcc),_0x13c824=(_0x6c073=_0x310cf2==null?void 0x0:_0x310cf2['collabWebSocketUrl'])!=null?_0x6c073:_0x7074fe,_0x393480=await this[_0x3ccef5(0x29d)]['createSocket'](_0x13c824);return this[_0x3ccef5(0x27f)]=_0x393480,_0x393480;}async[_0xe600ea(0x3ec)](){var _0x1f0855=_0xe600ea,_0x296d32,_0x91a1e9;try{const _0x4f7ca8=(_0x91a1e9=(_0x296d32=this['_socket'])!=null?_0x296d32:this[_0x1f0855(0x27f)])!=null?_0x91a1e9:await this[_0x1f0855(0x258)]();if(_0x4f7ca8){const _0x7cb840=_0x4f7ca8[_0x1f0855(0x3d2)];_0x4f7ca8[_0x1f0855(0x3d2)]=_0x2319c6=>(this['_rescheduleHeartbeat'](),_0x7cb840[_0x1f0855(0x4b0)](_0x4f7ca8,[_0x2319c6])),_0x4f7ca8[_0x1f0855(0x2e6)]['subscribe'](_0xc8bdbf=>this['_onMessage'](_0x4f7ca8,_0xc8bdbf)),_0x4f7ca8[_0x1f0855(0x249)][_0x1f0855(0x28b)](_0x17b903[_0x1f0855(0x481)](0x1))[_0x1f0855(0x1c0)](_0x411554=>this['_logService']['error'](_0x1f0855(0x488),_0x411554)),_0x4f7ca8[_0x1f0855(0x3c9)][_0x1f0855(0x28b)](_0x17b903[_0x1f0855(0x481)](0x1))[_0x1f0855(0x1c0)](()=>{var _0x348a8d=_0x1f0855;this[_0x348a8d(0x4c3)](_0x4f7ca8);}),_0x4f7ca8[_0x1f0855(0x1f4)]['pipe'](_0x17b903[_0x1f0855(0x481)](0x1))[_0x1f0855(0x1c0)](_0xc09940=>{var _0x2cec22=_0x1f0855;this[_0x2cec22(0x42f)]['debug'](_0x2cec22(0x302),_0x2cec22(0x42e),_0xc09940),this['_onConnectionFailed']();});}}catch(_0x13e9cc){this[_0x1f0855(0x42f)]['error'](_0x13e9cc),this['_onConnectionFailed']();}}[_0xe600ea(0x4c3)](_0x2271e7){var _0x59efb5=_0xe600ea;this[_0x59efb5(0x42f)][_0x59efb5(0x3a2)](_0x59efb5(0x302),'socket\x20open.'),_0x2271e7[_0x59efb5(0x3d2)]({'cmd':_0x46224e['HELLO']}),this['_rescheduleHeartbeat']();}[_0xe600ea(0x35b)](){var _0x23d01f=_0xe600ea;this[_0x23d01f(0x26a)]=!0x1,this[_0x23d01f(0x27f)]=null,this['_status$']['next'](_0x57cde5[_0x23d01f(0x2ee)]),this['_socket$'][_0x23d01f(0x413)](null),this[_0x23d01f(0x330)](),this[_0x23d01f(0x409)]();}['_onConnectionFailed'](){var _0x1230a2=_0xe600ea,_0x4aeffc;this['_onOffline'](),this['_retryCount']<((_0x4aeffc=this[_0x1230a2(0x164)]['getConfig'](_0x273ad5))!=null?_0x4aeffc:0x3)?(this[_0x1230a2(0x4ed)][_0x1230a2(0x33d)]({'id':_0x5852a5[_0x1230a2(0x2aa)]}),this[_0x1230a2(0x2a9)]()):this[_0x1230a2(0x4ed)][_0x1230a2(0x33d)]({'id':_0x5852a5[_0x1230a2(0x42b)]});}[_0xe600ea(0x2a9)](){var _0x27fe49=_0xe600ea,_0x2e8003;const _0x46dbde=this[_0x27fe49(0x3d8)],_0x125b34=this['_configService'][_0x27fe49(0x1aa)](_0x566bcc),_0x28e139=_0x46dbde===0x0?0x0:((_0x2e8003=_0x125b34==null?void 0x0:_0x125b34[_0x27fe49(0x43b)])!=null?_0x2e8003:0x4e20)*0x2**_0x46dbde;this[_0x27fe49(0x3af)]=setTimeout(()=>{var _0x5239b4=_0x27fe49;clearTimeout(this[_0x5239b4(0x3af)]),this['_retryConnectingTimer']=null,this[_0x5239b4(0x3ec)]();},_0x28e139),this['_retryCount']+=0x1;}[_0xe600ea(0x203)](_0x4007b8,_0x5b9b88){var _0x2d694a=_0xe600ea;const {cmd:_0x1ac9ef}=_0x5b9b88;_0x1ac9ef===_0x46224e[_0x2d694a(0x20d)]&&!this[_0x2d694a(0x26a)]&&(_0x4007b8['memberID']=_0x5b9b88[_0x2d694a(0x2f6)]['memberID'],this[_0x2d694a(0x494)]['next'](_0x4007b8),this['_status$'][_0x2d694a(0x413)](_0x57cde5[_0x2d694a(0x337)]),this[_0x2d694a(0x26a)]=!0x0,this[_0x2d694a(0x27f)]=null),_0x1ac9ef===_0x46224e[_0x2d694a(0x461)]&&this[_0x2d694a(0x330)](),this[_0x2d694a(0x443)]();}[_0xe600ea(0x443)](){var _0x2169fd=_0xe600ea,_0x3eaaf3;this['_clearHeartbeatTimer'](),this[_0x2169fd(0x2dd)]=setTimeout(()=>this[_0x2169fd(0x370)](),(_0x3eaaf3=this['_configService']['getConfig'](_0x6e4708))!=null?_0x3eaaf3:0x7530);}['_sendHeartbeat'](){var _0x37eeaf=_0xe600ea;this[_0x37eeaf(0x4c0)]['send']({'cmd':_0x46224e[_0x37eeaf(0x461)]}),this[_0x37eeaf(0x17c)]();}[_0xe600ea(0x17c)](){var _0x36a475=_0xe600ea,_0x16dac0;this[_0x36a475(0x48a)]=setTimeout(()=>this[_0x36a475(0x40d)](),(_0x16dac0=this[_0x36a475(0x164)][_0x36a475(0x1aa)](_0x2ffda5))!=null?_0x16dac0:0x4e20);}['_clearHeartbeatTimer'](){var _0x5d6ade=_0xe600ea;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x5d6ade(0x2dd)]=null);}[_0xe600ea(0x330)](){var _0x488a56=_0xe600ea;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x488a56(0x48a)]),this[_0x488a56(0x48a)]=null);}},_0x5ac5d4['CollaborationSessionService']=_0x295d70([_0x1638fd(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x1638fd(0x1,_0x17feb2[_0xe600ea(0x2b8)]),_0x1638fd(0x2,_0x17feb2[_0xe600ea(0x1be)]),_0x1638fd(0x3,_0x15e7ae),_0x1638fd(0x4,_0x17feb2['Inject'](_0x2ee36c)),_0x1638fd(0x5,_0x17feb2['Optional'](_0x5304a7))],_0x5ac5d4[_0xe600ea(0x439)]);var _0x2d13a6=Object[_0xe600ea(0x305)],_0x3c2685=(_0x4cf911,_0x55b0e9,_0xacf69f,_0x29a4c9)=>{var _0x1f1307=_0xe600ea;for(var _0x32ae2c=_0x29a4c9>0x1?void 0x0:_0x29a4c9?_0x2d13a6(_0x55b0e9,_0xacf69f):_0x55b0e9,_0x5bc06f=_0x4cf911[_0x1f1307(0x4ac)]-0x1,_0x2b8ec3;_0x5bc06f>=0x0;_0x5bc06f--)(_0x2b8ec3=_0x4cf911[_0x5bc06f])&&(_0x32ae2c=_0x2b8ec3(_0x32ae2c)||_0x32ae2c);return _0x32ae2c;},_0x34419c=(_0x65d1b7,_0x1dc667)=>(_0x2f9377,_0x4ffd45)=>_0x1dc667(_0x2f9377,_0x4ffd45,_0x65d1b7);_0x5ac5d4[_0xe600ea(0x3be)]=class extends _0x17feb2[_0xe600ea(0x286)]{constructor(_0xa3b6c9,_0x5d2a32,_0x3748ce,_0x10c3fa){var _0x25514b=_0xe600ea,_0xb4b294;super(),_0x358222(this,'_entities',new Map()),_0x358222(this,'_entityInit$',new _0xd6d137['Subject']()),_0x358222(this,_0x25514b(0x173),this[_0x25514b(0x27b)]['asObservable']()),(this[_0x25514b(0x4bf)]=_0xa3b6c9,this[_0x25514b(0x28c)]=_0x5d2a32,this[_0x25514b(0x164)]=_0x3748ce,this[_0x25514b(0x1c4)]=_0x10c3fa,((_0xb4b294=this[_0x25514b(0x164)]['getConfig'](_0x566bcc))==null?void 0x0:_0xb4b294[_0x25514b(0x31a)])!==!0x1&&this[_0x25514b(0x344)]());}['dispose'](){var _0x56643c=_0xe600ea;super['dispose'](),this[_0x56643c(0x4b8)][_0x56643c(0x3b2)](_0x447c3f=>_0x447c3f[_0x56643c(0x4bd)]()),this[_0x56643c(0x4b8)][_0x56643c(0x1d6)]();}['getCollabEntity'](_0x5d0467){var _0x1bd098=_0xe600ea,_0x44ebd3;return(_0x44ebd3=this[_0x1bd098(0x4b8)]['get'](_0x5d0467))!=null?_0x44ebd3:null;}[_0xe600ea(0x3ca)](_0x474ba9){var _0x5995d7=_0xe600ea;const _0x25c104=this[_0x5995d7(0x4aa)](_0x474ba9);return _0x25c104?_0xd6d137['of'](_0x25c104):this['_entityInit$'][_0x5995d7(0x28b)](_0x17b903['filter'](_0x3a15ca=>_0x3a15ca[_0x5995d7(0x224)]===_0x474ba9));}['readyForCollab'](_0x56a04b){var _0x4c07ff=_0xe600ea;return _0xd6d137[_0x4c07ff(0x257)](this[_0x4c07ff(0x3ca)](_0x56a04b)[_0x4c07ff(0x28b)](_0x17b903[_0x4c07ff(0x4ab)](()=>{})));}[_0xe600ea(0x344)](){var _0x3fc6dc=_0xe600ea;this['_univerInstanceService'][_0x3fc6dc(0x295)](_0x17feb2[_0x3fc6dc(0x1dc)][_0x3fc6dc(0x291)])[_0x3fc6dc(0x28b)](_0xd6d137[_0x3fc6dc(0x369)](this[_0x3fc6dc(0x160)]),_0x17b903[_0x3fc6dc(0x452)](0x10))[_0x3fc6dc(0x1c0)](async _0x392e56=>{var _0x33c003=_0x3fc6dc;const _0x2ac819=_0x392e56[_0x33c003(0x23e)](),_0x9f3067=await this[_0x33c003(0x2de)](_0x2ac819,_0x45ea9e['UNIVER_SHEET']);this[_0x33c003(0x4b8)][_0x33c003(0x1f9)](_0x2ac819,_0x9f3067);}),this[_0x3fc6dc(0x1c4)][_0x3fc6dc(0x295)](_0x17feb2[_0x3fc6dc(0x1dc)][_0x3fc6dc(0x380)])['pipe'](_0xd6d137[_0x3fc6dc(0x369)](this[_0x3fc6dc(0x160)]),_0x17b903[_0x3fc6dc(0x452)](0x10))[_0x3fc6dc(0x28b)](_0x17b903[_0x3fc6dc(0x4a4)](_0x29d4ec=>!_0x29d4ec[_0x3fc6dc(0x23e)]()[_0x3fc6dc(0x4c8)]('__')))[_0x3fc6dc(0x1c0)](async _0x48a833=>{var _0x2a8449=_0x3fc6dc;const _0x4ed3ac=_0x48a833[_0x2a8449(0x23e)](),_0x341609=await this[_0x2a8449(0x2de)](_0x4ed3ac,_0x45ea9e[_0x2a8449(0x380)]);this[_0x2a8449(0x4b8)][_0x2a8449(0x1f9)](_0x4ed3ac,_0x341609);}),_0xd6d137[_0x3fc6dc(0x4bb)](this[_0x3fc6dc(0x1c4)][_0x3fc6dc(0x47a)](_0x17feb2[_0x3fc6dc(0x1dc)]['UNIVER_SHEET']),this[_0x3fc6dc(0x1c4)][_0x3fc6dc(0x47a)](_0x17feb2[_0x3fc6dc(0x1dc)][_0x3fc6dc(0x380)]))[_0x3fc6dc(0x28b)](_0xd6d137[_0x3fc6dc(0x369)](this[_0x3fc6dc(0x160)]))[_0x3fc6dc(0x1c0)](_0x462a4d=>{var _0xe26a8f=_0x3fc6dc;const _0x5167fb=_0x462a4d[_0xe26a8f(0x23e)](),_0x3c4b1f=this[_0xe26a8f(0x4b8)][_0xe26a8f(0x299)](_0x5167fb);_0x3c4b1f&&(_0x3c4b1f[_0xe26a8f(0x4bd)](),this[_0xe26a8f(0x4b8)][_0xe26a8f(0x322)](_0x5167fb));});}async[_0xe600ea(0x2de)](_0x4c7ed9,_0x11ce2b){var _0x5e49e0=_0xe600ea;const _0x37c5c9=await this[_0x5e49e0(0x28c)][_0x5e49e0(0x1b7)](_0x4c7ed9),_0x12af18=this['_injector'][_0x5e49e0(0x340)](this['_getCtorByUniverType'](_0x11ce2b),_0x4c7ed9,_0x11ce2b,_0x37c5c9);return await _0x12af18['init'](),this[_0x5e49e0(0x27b)][_0x5e49e0(0x413)](_0x12af18),_0x12af18;}[_0xe600ea(0x491)](_0x5b3dee){var _0x113467=_0xe600ea;switch(_0x5b3dee){case _0x45ea9e[_0x113467(0x380)]:return _0x5ac5d4[_0x113467(0x31e)];case _0x45ea9e[_0x113467(0x291)]:return _0x5ac5d4[_0x113467(0x4d4)];default:throw new Error(_0x113467(0x44c)+_0x5b3dee);}}},_0x5ac5d4[_0xe600ea(0x3be)]=_0x3c2685([_0x34419c(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1b6)])),_0x34419c(0x1,_0x17feb2[_0xe600ea(0x1c2)](_0x5ac5d4['CollaborationSessionService'])),_0x34419c(0x2,_0x17feb2[_0xe600ea(0x1be)]),_0x34419c(0x3,_0x17feb2['IUniverInstanceService'])],_0x5ac5d4['CollaborationController']);var _0xeb3603=Object[_0xe600ea(0x305)],_0x11c7de=(_0xe72c1d,_0x33511d,_0x48bb33,_0x432aa4)=>{var _0x29b956=_0xe600ea;for(var _0x337e95=_0x432aa4>0x1?void 0x0:_0x432aa4?_0xeb3603(_0x33511d,_0x48bb33):_0x33511d,_0x397bd4=_0xe72c1d[_0x29b956(0x4ac)]-0x1,_0x12d493;_0x397bd4>=0x0;_0x397bd4--)(_0x12d493=_0xe72c1d[_0x397bd4])&&(_0x337e95=_0x12d493(_0x337e95)||_0x337e95);return _0x337e95;},_0x13608f=(_0xc2806e,_0x1ea5ff)=>(_0x36a78b,_0x549ec1)=>_0x1ea5ff(_0x36a78b,_0x549ec1,_0xc2806e);const _0x242f72=_0xe600ea(0x2f3),_0x3410f2=_0xe600ea(0x2d2);let _0x3876c7=class extends _0x17feb2['Disposable']{constructor(_0x2d8ffe,_0x377787){var _0x43ea88=_0xe600ea;super(),this['_univerInstanceService']=_0x2d8ffe,this['_configService']=_0x377787,this[_0x43ea88(0x344)]();}[_0xe600ea(0x344)](){var _0x35a8a6=_0xe600ea;this['disposeWithMe'](this[_0x35a8a6(0x1c4)][_0x35a8a6(0x171)][_0x35a8a6(0x1c0)](()=>{var _0x3781d7=_0x35a8a6,_0x711307;const _0x510cfe=this[_0x3781d7(0x1c4)][_0x3781d7(0x377)]();let _0x17de46=(_0x711307=this[_0x3781d7(0x164)][_0x3781d7(0x1aa)](_0x242f72))!=null?_0x711307:_0x3410f2;_0x510cfe instanceof _0x17feb2['Workbook']&&(_0x17de46=_0x510cfe['name']),document[_0x3781d7(0x166)]=_0x17de46;}));}};_0x3876c7=_0x11c7de([_0x13608f(0x0,_0x17feb2[_0xe600ea(0x213)]),_0x13608f(0x1,_0x17feb2[_0xe600ea(0x1be)])],_0x3876c7);var _0x431f93=Object['getOwnPropertyDescriptor'],_0x4db745=(_0x220ce5,_0x4bb311,_0x8573dc,_0x19070b)=>{var _0x5ea4f0=_0xe600ea;for(var _0x55c3c3=_0x19070b>0x1?void 0x0:_0x19070b?_0x431f93(_0x4bb311,_0x8573dc):_0x4bb311,_0x442fa4=_0x220ce5[_0x5ea4f0(0x4ac)]-0x1,_0x4f92b9;_0x442fa4>=0x0;_0x442fa4--)(_0x4f92b9=_0x220ce5[_0x442fa4])&&(_0x55c3c3=_0x4f92b9(_0x55c3c3)||_0x55c3c3);return _0x55c3c3;},_0x32a65c=(_0x3b7bbf,_0x600ba9)=>(_0x3e7d53,_0x1da32c)=>_0x600ba9(_0x3e7d53,_0x1da32c,_0x3b7bbf);let _0x1d325e=class{constructor(_0xbc7dd3,_0x3373fc,_0x336b7e){var _0x46bb01=_0xe600ea;this[_0x46bb01(0x164)]=_0xbc7dd3,this[_0x46bb01(0x26d)]=_0x3373fc,this[_0x46bb01(0x47d)]=_0x336b7e,this['init']();}[_0xe600ea(0x2ff)](){var _0x1ba28f=_0xe600ea;this['_httpService'][_0x1ba28f(0x410)]({'priority':0x1,'interceptor':(_0x23e865,_0x522bd1)=>_0x522bd1(_0x23e865)[_0x1ba28f(0x28b)](_0xd6d137[_0x1ba28f(0x3e5)](async _0x5d947a=>{var _0x459d1c=_0x1ba28f;const _0x3e8301=_0x5d947a;if(_0x3e8301[_0x459d1c(0x4b1)]===0x191){if(typeof window>'u')throw new Error(_0x459d1c(0x45b));if(window[_0x459d1c(0x2c1)](this[_0x459d1c(0x47d)]['t'](_0x459d1c(0x30e)))){const _0x4a1c9a=window[_0x459d1c(0x2eb)](window[_0x459d1c(0x1c5)]['href']);window[_0x459d1c(0x1c5)][_0x459d1c(0x168)]=this['_getLoginPath']()+_0x459d1c(0x36f)+_0x4a1c9a;}}return _0x3e8301;}))});}['_getLoginPath'](){var _0x1d32a6=_0xe600ea,_0x116a0f;const _0xa6b70d=this['_configService'][_0x1d32a6(0x1aa)](_0x566bcc);return(_0x116a0f=_0xa6b70d==null?void 0x0:_0xa6b70d['loginUrlKey'])!=null?_0x116a0f:_0xd24973;}};_0x1d325e=_0x4db745([_0x32a65c(0x0,_0x17feb2[_0xe600ea(0x1be)]),_0x32a65c(0x1,_0x17feb2[_0xe600ea(0x1c2)](_0x5d9456[_0xe600ea(0x2a3)])),_0x32a65c(0x2,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x27d)]))],_0x1d325e);var _0x59fb01=Object[_0xe600ea(0x305)],_0x1b7bb7=(_0x355b56,_0x257a83,_0x2cbbf5,_0x1d9b3c)=>{var _0x319ccb=_0xe600ea;for(var _0x50020c=_0x1d9b3c>0x1?void 0x0:_0x1d9b3c?_0x59fb01(_0x257a83,_0x2cbbf5):_0x257a83,_0x35f4a6=_0x355b56[_0x319ccb(0x4ac)]-0x1,_0x59114e;_0x35f4a6>=0x0;_0x35f4a6--)(_0x59114e=_0x355b56[_0x35f4a6])&&(_0x50020c=_0x59114e(_0x50020c)||_0x50020c);return _0x50020c;},_0x22f5ff=(_0x4bd044,_0x44be8a)=>(_0x563c9e,_0x11d680)=>_0x44be8a(_0x563c9e,_0x11d680,_0x4bd044);const _0x555a38=_0xe600ea(0x1c3);_0x5ac5d4[_0xe600ea(0x198)]=class extends _0x17feb2['Disposable']{constructor(_0x11e6f7,_0x125f44){var _0x9524d3=_0xe600ea;super(),this['_HTTPService']=_0x11e6f7,this[_0x9524d3(0x164)]=_0x125f44,this[_0x9524d3(0x165)]();}[_0xe600ea(0x165)](){var _0x1982bc=_0xe600ea;const _0xbbc2db=this;this['disposeWithMe'](this[_0x1982bc(0x187)][_0x1982bc(0x410)]({'priority':0x3e7,'interceptor':_0x5d9456['MergeInterceptorFactory']({'isMatch'(_0x48229e){var _0x2f7f72=_0x1982bc,_0x41c92e;if(_0x48229e[_0x2f7f72(0x43f)]===_0x2f7f72(0x188)&&((_0x41c92e=_0x48229e[_0x2f7f72(0x397)])!=null&&_0x41c92e[_0x2f7f72(0x201)])){const {objectID:_0x2ecc50,objectType:_0x33413f}=_0x48229e[_0x2f7f72(0x397)]['body']||{};if(!_0x2ecc50||_0x33413f===void 0x0)return!0x1;const _0x1707d9=_0xbbc2db['_getAPIPrefixPath']()+'/'+_0x33413f+'/object/'+_0x2ecc50+_0x2f7f72(0x45d);if(_0x48229e[_0x2f7f72(0x245)]===_0x1707d9)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x506c48){var _0x1aaeff=_0x1982bc,_0x2ccd33;return(_0x2ccd33=_0x506c48['requestParams'])==null?void 0x0:_0x2ccd33[_0x1aaeff(0x201)];},'mergeParamsToRequest'(_0x15c364,_0x15de52){var _0x561313=_0x1982bc;const _0x28b679=_0xbbc2db['_getAPIPrefixPath']()+_0x561313(0x434),_0x54c6f8=_0x15c364[_0x561313(0x2ef)]((_0x5cf3fa,_0x273912)=>{var _0x4cf16b=_0x561313;const {unitID:_0x4308af,objectID:_0x38246c,objectType:_0x4f57ad,actions:_0x3587ea}=_0x273912;return _0x5cf3fa[_0x4308af]||(_0x5cf3fa[_0x4308af]={}),_0x5cf3fa[_0x4308af][_0x38246c]||(_0x5cf3fa[_0x4308af][_0x38246c]={'objectID':_0x38246c,'objectType':_0x4f57ad,'actions':[]}),_0x5cf3fa[_0x4308af][_0x38246c][_0x4cf16b(0x2b1)][_0x4cf16b(0x2c3)](..._0x3587ea),_0x5cf3fa;},{}),_0x21d08c=[];for(const _0x17d503 in _0x54c6f8)for(const _0x57b9a8 in _0x54c6f8[_0x17d503]){const {actions:_0x140dfe,objectType:_0x1ae28b}=_0x54c6f8[_0x17d503][_0x57b9a8],_0x107f7b=[...new Set(_0x140dfe)];_0x21d08c[_0x561313(0x2c3)]({'unitID':_0x17d503,'objectID':_0x57b9a8,'objectType':_0x1ae28b,'actions':_0x107f7b});}return new _0x5d9456['HTTPRequest'](_0x561313(0x188),_0x28b679,{'headers':_0x15de52[_0x561313(0x1d0)],'withCredentials':_0x15de52[_0x561313(0x33c)],'responseType':_0x15de52['responseType'],'body':{'requests':_0x21d08c}});}},{'distributeResult'(_0x3fae8b,_0x44a73c){const {objectActions:_0x31f076}=_0x3fae8b;return _0x44a73c['map'](_0x921cc5=>{var _0x318788=_0x239d;const {unitID:_0x494f48,objectID:_0x573133,actions:_0x1e5635}=_0x921cc5,_0x27de6d=_0x31f076['find'](_0x42f73a=>_0x42f73a[_0x318788(0x224)]===_0x494f48&&_0x42f73a[_0x318788(0x191)]===_0x573133),_0x42db69=_0x1e5635[_0x318788(0x4ab)](_0x50761e=>_0x27de6d==null?void 0x0:_0x27de6d[_0x318788(0x2b1)][_0x318788(0x3d4)](_0x56e23e=>_0x56e23e['action']===_0x50761e))[_0x318788(0x4a4)](_0x4b1a0d=>!!_0x4b1a0d);return{'config':_0x921cc5,'result':{'actions':_0x42db69,'error':_0x3fae8b['error']}};});}})}));}[_0xe600ea(0x3cf)](){var _0x5e8a9d=_0xe600ea,_0x31d887;const _0x39b650=this[_0x5e8a9d(0x164)][_0x5e8a9d(0x1aa)](_0x566bcc);return(_0x31d887=_0x39b650==null?void 0x0:_0x39b650[_0x5e8a9d(0x321)])!=null?_0x31d887:_0x555a38;}async[_0xe600ea(0x163)](_0x3320e7){var _0x4d0c3e=_0xe600ea;const _0x298359=this['_getAPIPrefixPath']()+'/'+_0x3320e7[_0x4d0c3e(0x44f)]+_0x4d0c3e(0x195);return(await this[_0x4d0c3e(0x187)][_0x4d0c3e(0x465)](_0x298359,{'body':_0x3320e7}))[_0x4d0c3e(0x201)][_0x4d0c3e(0x191)]||'';}async[_0xe600ea(0x175)](_0x2a7fd1){var _0x34400f=_0xe600ea;const _0x4089fb=this[_0x34400f(0x3cf)]()+'/-/object/list';return(await this['_HTTPService'][_0x34400f(0x465)](_0x4089fb,{'body':_0x2a7fd1}))[_0x34400f(0x201)]['objects'];}async['update'](_0x5bd9b5){var _0x5979e3=_0xe600ea,_0x2d4f84,_0x1784da;const _0x1ab095=this[_0x5979e3(0x3cf)]()+'/'+_0x5bd9b5[_0x5979e3(0x44f)]+_0x5979e3(0x354)+_0x5bd9b5[_0x5979e3(0x191)],_0x181213=await this[_0x5979e3(0x187)][_0x5979e3(0x3b6)](_0x1ab095,{'body':_0x5bd9b5});if(((_0x1784da=(_0x2d4f84=_0x181213==null?void 0x0:_0x181213['body'])==null?void 0x0:_0x2d4f84[_0x5979e3(0x343)])==null?void 0x0:_0x1784da[_0x5979e3(0x4a9)])!==0x1)throw new Error(_0x5979e3(0x4e1));}async[_0xe600ea(0x2a5)](_0x3c30ac){var _0x3c01af=_0xe600ea;const _0x598f8e=this['_getAPIPrefixPath']()+'/'+_0x3c30ac[_0x3c01af(0x44f)]+_0x3c01af(0x354)+_0x3c30ac['objectID']+'/allowed';return(await this[_0x3c01af(0x187)][_0x3c01af(0x465)](_0x598f8e,{'body':_0x3c30ac}))['body'][_0x3c01af(0x2b1)];}async['batchAllowed'](_0x476a8d){var _0x361350=_0xe600ea;const _0x1f8818=this[_0x361350(0x3cf)]()+_0x361350(0x434);return(await this[_0x361350(0x187)][_0x361350(0x465)](_0x1f8818,{'body':{'requests':_0x476a8d}}))['body'][_0x361350(0x30c)];}async['listRoles'](_0x4abb06){var _0x553867=_0xe600ea;const _0x3e5c88=this['_getAPIPrefixPath']()+'/'+_0x4abb06[_0x553867(0x44f)]+_0x553867(0x222),_0x238694=await this[_0x553867(0x187)][_0x553867(0x465)](_0x3e5c88,{'body':_0x4abb06});return{'roles':_0x238694[_0x553867(0x201)][_0x553867(0x21f)],'actions':_0x238694[_0x553867(0x201)][_0x553867(0x2b1)]};}async['deleteCollaborator'](_0x30d30c){var _0x16a48a=_0xe600ea;const _0xd1182e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x16a48a(0x187)]['delete'](_0xd1182e,{'params':{'collaboratorID':_0x30d30c[_0x16a48a(0x42d)],'objectID':_0x30d30c[_0x16a48a(0x191)],'unitID':_0x30d30c[_0x16a48a(0x224)]}});}async[_0xe600ea(0x4dd)](_0x1d2546){var _0x151de8=_0xe600ea;const _0x211b34=this[_0x151de8(0x3cf)]()+_0x151de8(0x479);await this[_0x151de8(0x187)][_0x151de8(0x204)](_0x211b34,{'body':_0x1d2546});}async[_0xe600ea(0x359)](_0x27af28){var _0x28ab80=_0xe600ea;const _0x5adacf=this[_0x28ab80(0x3cf)]()+_0x28ab80(0x479);await this[_0x28ab80(0x187)][_0x28ab80(0x465)](_0x5adacf,{'body':_0x27af28});}async[_0xe600ea(0x1b4)](_0x519421){var _0x56efb3=_0xe600ea;const _0x37670a=this[_0x56efb3(0x3cf)]()+_0x56efb3(0x479);return(await this['_HTTPService']['get'](_0x37670a,{'params':{'objectID':_0x519421[_0x56efb3(0x191)],'unitID':_0x519421['unitID']}}))[_0x56efb3(0x201)][_0x56efb3(0x484)];}async[_0xe600ea(0x2e0)](_0x3892f7){var _0x1a0038=_0xe600ea;const _0x374e50=this[_0x1a0038(0x3cf)]()+_0x1a0038(0x479);await this[_0x1a0038(0x187)][_0x1a0038(0x3b6)](_0x374e50,{'body':_0x3892f7});}},_0x5ac5d4['AuthzIoHttpService']=_0x1b7bb7([_0x22f5ff(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x5d9456[_0xe600ea(0x2a3)])),_0x22f5ff(0x1,_0x17feb2['Inject'](_0x17feb2[_0xe600ea(0x1be)]))],_0x5ac5d4[_0xe600ea(0x198)]);var _0x22d0d9=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x379320(_0x14a905){var _0x5a76e5=_0xe600ea;return _0x14a905&&_0x14a905['__esModule']&&Object[_0x5a76e5(0x2e9)][_0x5a76e5(0x259)][_0x5a76e5(0x24d)](_0x14a905,_0x5a76e5(0x361))?_0x14a905[_0x5a76e5(0x361)]:_0x14a905;}var _0x386aa5={'exports':{}};function _0x16f940(_0x435d5d){var _0x38f0cd=_0xe600ea;throw new Error(_0x38f0cd(0x454)+_0x435d5d+_0x38f0cd(0x427));}var _0x1352d6={'exports':{}},_0x13b9a7=_0x1352d6[_0xe600ea(0x1af)],_0xfe240a;function _0xa7bb9e(){var _0x567cab=_0xe600ea;return _0xfe240a||(_0xfe240a=0x1,function(_0x5d3170,_0x21c903){(function(_0x53cddd,_0x28227e){var _0x50631f=_0x239d;_0x5d3170[_0x50631f(0x1af)]=_0x28227e();}(_0x13b9a7,function(){var _0x453af9=_0x453af9||function(_0x532cad,_0x2176ca){var _0x21f410=_0x239d,_0x20fbf7;if(typeof window<'u'&&window[_0x21f410(0x243)]&&(_0x20fbf7=window[_0x21f410(0x243)]),typeof self<'u'&&self['crypto']&&(_0x20fbf7=self[_0x21f410(0x243)]),typeof globalThis<'u'&&globalThis[_0x21f410(0x243)]&&(_0x20fbf7=globalThis[_0x21f410(0x243)]),!_0x20fbf7&&typeof window<'u'&&window['msCrypto']&&(_0x20fbf7=window[_0x21f410(0x3f1)]),!_0x20fbf7&&typeof _0x22d0d9<'u'&&_0x22d0d9[_0x21f410(0x243)]&&(_0x20fbf7=_0x22d0d9[_0x21f410(0x243)]),!_0x20fbf7&&typeof _0x16f940=='function')try{_0x20fbf7=require('crypto');}catch{}var _0x445972=function(){var _0x1e1ebd=_0x21f410;if(_0x20fbf7){if(typeof _0x20fbf7[_0x1e1ebd(0x432)]==_0x1e1ebd(0x38c))try{return _0x20fbf7[_0x1e1ebd(0x432)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x20fbf7[_0x1e1ebd(0x40f)]==_0x1e1ebd(0x38c))try{return _0x20fbf7['randomBytes'](0x4)[_0x1e1ebd(0x22f)]();}catch{}}throw new Error(_0x1e1ebd(0x31b));},_0x2d105f=Object['create']||(function(){function _0x220dde(){}return function(_0x34906a){var _0x4bf49a=_0x239d,_0x2c441b;return _0x220dde[_0x4bf49a(0x2e9)]=_0x34906a,_0x2c441b=new _0x220dde(),_0x220dde[_0x4bf49a(0x2e9)]=null,_0x2c441b;};}()),_0x471479={},_0x262d44=_0x471479[_0x21f410(0x300)]={},_0x2a1c23=_0x262d44['Base']=(function(){return{'extend':function(_0x11584a){var _0x57e9c5=_0x239d,_0x44481e=_0x2d105f(this);return _0x11584a&&_0x44481e[_0x57e9c5(0x462)](_0x11584a),(!_0x44481e['hasOwnProperty'](_0x57e9c5(0x2ff))||this['init']===_0x44481e[_0x57e9c5(0x2ff)])&&(_0x44481e['init']=function(){var _0x5825dd=_0x57e9c5;_0x44481e[_0x5825dd(0x415)]['init']['apply'](this,arguments);}),_0x44481e[_0x57e9c5(0x2ff)]['prototype']=_0x44481e,_0x44481e[_0x57e9c5(0x415)]=this,_0x44481e;},'create':function(){var _0xbabf24=_0x239d,_0x3714db=this[_0xbabf24(0x334)]();return _0x3714db['init'][_0xbabf24(0x4b0)](_0x3714db,arguments),_0x3714db;},'init':function(){},'mixIn':function(_0x24d94f){var _0x1f5ab0=_0x239d;for(var _0xd2513b in _0x24d94f)_0x24d94f['hasOwnProperty'](_0xd2513b)&&(this[_0xd2513b]=_0x24d94f[_0xd2513b]);_0x24d94f[_0x1f5ab0(0x259)]('toString')&&(this[_0x1f5ab0(0x4c6)]=_0x24d94f['toString']);},'clone':function(){var _0x4ca3ee=_0x239d;return this[_0x4ca3ee(0x2ff)]['prototype'][_0x4ca3ee(0x334)](this);}};}()),_0x4b8810=_0x262d44[_0x21f410(0x36e)]=_0x2a1c23['extend']({'init':function(_0x1fc3b8,_0x457975){var _0x40a079=_0x21f410;_0x1fc3b8=this['words']=_0x1fc3b8||[],_0x457975!=_0x2176ca?this['sigBytes']=_0x457975:this[_0x40a079(0x378)]=_0x1fc3b8[_0x40a079(0x4ac)]*0x4;},'toString':function(_0x301737){var _0x49ff47=_0x21f410;return(_0x301737||_0x492f99)[_0x49ff47(0x4ea)](this);},'concat':function(_0x28ffbe){var _0x6498e6=_0x21f410,_0x3eaac2=this[_0x6498e6(0x1f6)],_0x33e2fa=_0x28ffbe[_0x6498e6(0x1f6)],_0x3a311d=this[_0x6498e6(0x378)],_0x2a8f32=_0x28ffbe[_0x6498e6(0x378)];if(this['clamp'](),_0x3a311d%0x4)for(var _0xfcef47=0x0;_0xfcef47<_0x2a8f32;_0xfcef47++){var _0x491381=_0x33e2fa[_0xfcef47>>>0x2]>>>0x18-_0xfcef47%0x4*0x8&0xff;_0x3eaac2[_0x3a311d+_0xfcef47>>>0x2]|=_0x491381<<0x18-(_0x3a311d+_0xfcef47)%0x4*0x8;}else{for(var _0x52f4ce=0x0;_0x52f4ce<_0x2a8f32;_0x52f4ce+=0x4)_0x3eaac2[_0x3a311d+_0x52f4ce>>>0x2]=_0x33e2fa[_0x52f4ce>>>0x2];}return this[_0x6498e6(0x378)]+=_0x2a8f32,this;},'clamp':function(){var _0x21d453=_0x21f410,_0x43653f=this[_0x21d453(0x1f6)],_0x3ffba1=this['sigBytes'];_0x43653f[_0x3ffba1>>>0x2]&=0xffffffff<<0x20-_0x3ffba1%0x4*0x8,_0x43653f[_0x21d453(0x4ac)]=_0x532cad['ceil'](_0x3ffba1/0x4);},'clone':function(){var _0xd2b12d=_0x21f410,_0x1ad51c=_0x2a1c23[_0xd2b12d(0x35e)]['call'](this);return _0x1ad51c['words']=this['words'][_0xd2b12d(0x4d8)](0x0),_0x1ad51c;},'random':function(_0x280d81){var _0x8ad3fd=_0x21f410;for(var _0x5dd60e=[],_0x175d0a=0x0;_0x175d0a<_0x280d81;_0x175d0a+=0x4)_0x5dd60e[_0x8ad3fd(0x2c3)](_0x445972());return new _0x4b8810[(_0x8ad3fd(0x2ff))](_0x5dd60e,_0x280d81);}}),_0x5dae95=_0x471479['enc']={},_0x492f99=_0x5dae95[_0x21f410(0x2d5)]={'stringify':function(_0x5ccd70){var _0xf86f4c=_0x21f410;for(var _0x5cd17d=_0x5ccd70[_0xf86f4c(0x1f6)],_0x324fb3=_0x5ccd70[_0xf86f4c(0x378)],_0x273cc1=[],_0x33a87a=0x0;_0x33a87a<_0x324fb3;_0x33a87a++){var _0x3b8ab0=_0x5cd17d[_0x33a87a>>>0x2]>>>0x18-_0x33a87a%0x4*0x8&0xff;_0x273cc1['push']((_0x3b8ab0>>>0x4)['toString'](0x10)),_0x273cc1[_0xf86f4c(0x2c3)]((_0x3b8ab0&0xf)[_0xf86f4c(0x4c6)](0x10));}return _0x273cc1[_0xf86f4c(0x48d)]('');},'parse':function(_0x1bfa4d){var _0x1d3983=_0x21f410;for(var _0x4a8848=_0x1bfa4d['length'],_0x5525bf=[],_0x20ab50=0x0;_0x20ab50<_0x4a8848;_0x20ab50+=0x2)_0x5525bf[_0x20ab50>>>0x3]|=parseInt(_0x1bfa4d['substr'](_0x20ab50,0x2),0x10)<<0x18-_0x20ab50%0x8*0x4;return new _0x4b8810[(_0x1d3983(0x2ff))](_0x5525bf,_0x4a8848/0x2);}},_0x218f7b=_0x5dae95[_0x21f410(0x2be)]={'stringify':function(_0x56571e){var _0x21d0fc=_0x21f410;for(var _0x42eb39=_0x56571e[_0x21d0fc(0x1f6)],_0x16426b=_0x56571e[_0x21d0fc(0x378)],_0x361188=[],_0x377971=0x0;_0x377971<_0x16426b;_0x377971++){var _0x2559d3=_0x42eb39[_0x377971>>>0x2]>>>0x18-_0x377971%0x4*0x8&0xff;_0x361188[_0x21d0fc(0x2c3)](String['fromCharCode'](_0x2559d3));}return _0x361188[_0x21d0fc(0x48d)]('');},'parse':function(_0x1643c5){var _0x306136=_0x21f410;for(var _0x276ff7=_0x1643c5[_0x306136(0x4ac)],_0x7d5b0=[],_0x4085f6=0x0;_0x4085f6<_0x276ff7;_0x4085f6++)_0x7d5b0[_0x4085f6>>>0x2]|=(_0x1643c5['charCodeAt'](_0x4085f6)&0xff)<<0x18-_0x4085f6%0x4*0x8;return new _0x4b8810['init'](_0x7d5b0,_0x276ff7);}},_0x43f875=_0x5dae95['Utf8']={'stringify':function(_0x9018b4){var _0x67a697=_0x21f410;try{return decodeURIComponent(escape(_0x218f7b[_0x67a697(0x4ea)](_0x9018b4)));}catch{throw new Error(_0x67a697(0x22a));}},'parse':function(_0x99ee9c){var _0x14f0d3=_0x21f410;return _0x218f7b[_0x14f0d3(0x19f)](unescape(encodeURIComponent(_0x99ee9c)));}},_0x657383=_0x262d44[_0x21f410(0x3e8)]=_0x2a1c23[_0x21f410(0x334)]({'reset':function(){var _0x3df15c=_0x21f410;this['_data']=new _0x4b8810[(_0x3df15c(0x2ff))](),this[_0x3df15c(0x4e8)]=0x0;},'_append':function(_0x451aa3){var _0x305b72=_0x21f410;typeof _0x451aa3=='string'&&(_0x451aa3=_0x43f875[_0x305b72(0x19f)](_0x451aa3)),this[_0x305b72(0x448)][_0x305b72(0x3ac)](_0x451aa3),this['_nDataBytes']+=_0x451aa3[_0x305b72(0x378)];},'_process':function(_0x1c0199){var _0x3b9cda=_0x21f410,_0x3325e0,_0x2de13b=this[_0x3b9cda(0x448)],_0x445e8e=_0x2de13b['words'],_0xd1476a=_0x2de13b[_0x3b9cda(0x378)],_0x2b019e=this[_0x3b9cda(0x4cf)],_0x52aa42=_0x2b019e*0x4,_0x4f5875=_0xd1476a/_0x52aa42;_0x1c0199?_0x4f5875=_0x532cad[_0x3b9cda(0x2bd)](_0x4f5875):_0x4f5875=_0x532cad[_0x3b9cda(0x236)]((_0x4f5875|0x0)-this[_0x3b9cda(0x45c)],0x0);var _0x44e7dc=_0x4f5875*_0x2b019e,_0xf2d9=_0x532cad[_0x3b9cda(0x392)](_0x44e7dc*0x4,_0xd1476a);if(_0x44e7dc){for(var _0x38a7b0=0x0;_0x38a7b0<_0x44e7dc;_0x38a7b0+=_0x2b019e)this[_0x3b9cda(0x34e)](_0x445e8e,_0x38a7b0);_0x3325e0=_0x445e8e[_0x3b9cda(0x2ae)](0x0,_0x44e7dc),_0x2de13b[_0x3b9cda(0x378)]-=_0xf2d9;}return new _0x4b8810[(_0x3b9cda(0x2ff))](_0x3325e0,_0xf2d9);},'clone':function(){var _0xd26aa4=_0x21f410,_0x49ed03=_0x2a1c23[_0xd26aa4(0x35e)]['call'](this);return _0x49ed03[_0xd26aa4(0x448)]=this['_data']['clone'](),_0x49ed03;},'_minBufferSize':0x0});_0x262d44[_0x21f410(0x3c8)]=_0x657383[_0x21f410(0x334)]({'cfg':_0x2a1c23[_0x21f410(0x334)](),'init':function(_0x5e1868){var _0x43394a=_0x21f410;this[_0x43394a(0x426)]=this[_0x43394a(0x426)][_0x43394a(0x334)](_0x5e1868),this[_0x43394a(0x2c4)]();},'reset':function(){var _0x11e90a=_0x21f410;_0x657383[_0x11e90a(0x2c4)][_0x11e90a(0x24d)](this),this[_0x11e90a(0x464)]();},'update':function(_0x592e5b){var _0x1532cb=_0x21f410;return this[_0x1532cb(0x2c8)](_0x592e5b),this['_process'](),this;},'finalize':function(_0x5633f3){var _0x413a2c=_0x21f410;_0x5633f3&&this[_0x413a2c(0x2c8)](_0x5633f3);var _0x3fa56b=this[_0x413a2c(0x49b)]();return _0x3fa56b;},'blockSize':0x10,'_createHelper':function(_0x3e008b){return function(_0x54f5d5,_0x57ebc0){var _0x2e9d59=_0x239d;return new _0x3e008b[(_0x2e9d59(0x2ff))](_0x57ebc0)['finalize'](_0x54f5d5);};},'_createHmacHelper':function(_0x1a71fc){return function(_0x241095,_0x2aa656){var _0xa259ac=_0x239d;return new _0x150a36['HMAC']['init'](_0x1a71fc,_0x2aa656)[_0xa259ac(0x199)](_0x241095);};}});var _0x150a36=_0x471479[_0x21f410(0x30a)]={};return _0x471479;}(Math);return _0x453af9;}));}(_0x1352d6)),_0x1352d6[_0x567cab(0x1af)];}var _0x4f9783={'exports':{}},_0x26fb7d=_0x4f9783[_0xe600ea(0x1af)],_0x5a8f7c;function _0x107eef(){var _0x55a79e=_0xe600ea;return _0x5a8f7c||(_0x5a8f7c=0x1,function(_0x1619fc,_0x1dfb93){(function(_0x308895,_0x5478f5){var _0x2a070d=_0x239d;_0x1619fc[_0x2a070d(0x1af)]=_0x5478f5(_0xa7bb9e());}(_0x26fb7d,function(_0x4933df){var _0x3f0469=_0x239d;return(function(){var _0x4e31f3=_0x239d,_0x6e0357=_0x4933df,_0x57a326=_0x6e0357[_0x4e31f3(0x300)],_0x55394c=_0x57a326['WordArray'],_0x8cfd5b=_0x6e0357[_0x4e31f3(0x280)];_0x8cfd5b['Base64']={'stringify':function(_0x2e3691){var _0x4d3346=_0x4e31f3,_0x25d1e5=_0x2e3691[_0x4d3346(0x1f6)],_0x1a9c6a=_0x2e3691[_0x4d3346(0x378)],_0x54c68d=this[_0x4d3346(0x463)];_0x2e3691['clamp']();for(var _0x9f4b5c=[],_0x51af0=0x0;_0x51af0<_0x1a9c6a;_0x51af0+=0x3)for(var _0x57cf18=_0x25d1e5[_0x51af0>>>0x2]>>>0x18-_0x51af0%0x4*0x8&0xff,_0x5b97db=_0x25d1e5[_0x51af0+0x1>>>0x2]>>>0x18-(_0x51af0+0x1)%0x4*0x8&0xff,_0x182f2a=_0x25d1e5[_0x51af0+0x2>>>0x2]>>>0x18-(_0x51af0+0x2)%0x4*0x8&0xff,_0x597c71=_0x57cf18<<0x10|_0x5b97db<<0x8|_0x182f2a,_0x20a5c7=0x0;_0x20a5c7<0x4&&_0x51af0+_0x20a5c7*0.75<_0x1a9c6a;_0x20a5c7++)_0x9f4b5c[_0x4d3346(0x2c3)](_0x54c68d[_0x4d3346(0x23a)](_0x597c71>>>0x6*(0x3-_0x20a5c7)&0x3f));var _0x3821a3=_0x54c68d[_0x4d3346(0x23a)](0x40);if(_0x3821a3){for(;_0x9f4b5c[_0x4d3346(0x4ac)]%0x4;)_0x9f4b5c[_0x4d3346(0x2c3)](_0x3821a3);}return _0x9f4b5c[_0x4d3346(0x48d)]('');},'parse':function(_0x378da0){var _0x21971e=_0x4e31f3,_0x296524=_0x378da0[_0x21971e(0x4ac)],_0x309f4b=this[_0x21971e(0x463)],_0x18529d=this[_0x21971e(0x2a4)];if(!_0x18529d){_0x18529d=this['_reverseMap']=[];for(var _0x5b1bb4=0x0;_0x5b1bb4<_0x309f4b['length'];_0x5b1bb4++)_0x18529d[_0x309f4b[_0x21971e(0x4ba)](_0x5b1bb4)]=_0x5b1bb4;}var _0x15eec2=_0x309f4b[_0x21971e(0x23a)](0x40);if(_0x15eec2){var _0x3de99c=_0x378da0['indexOf'](_0x15eec2);_0x3de99c!==-0x1&&(_0x296524=_0x3de99c);}return _0x270d86(_0x378da0,_0x296524,_0x18529d);},'_map':_0x4e31f3(0x438)};function _0x270d86(_0x360f91,_0x86aebf,_0x40a2bd){var _0x2411a6=_0x4e31f3;for(var _0xf5f897=[],_0x3637b4=0x0,_0x498409=0x0;_0x498409<_0x86aebf;_0x498409++)if(_0x498409%0x4){var _0x4dfe30=_0x40a2bd[_0x360f91[_0x2411a6(0x4ba)](_0x498409-0x1)]<<_0x498409%0x4*0x2,_0x19dddf=_0x40a2bd[_0x360f91[_0x2411a6(0x4ba)](_0x498409)]>>>0x6-_0x498409%0x4*0x2,_0x27f63b=_0x4dfe30|_0x19dddf;_0xf5f897[_0x3637b4>>>0x2]|=_0x27f63b<<0x18-_0x3637b4%0x4*0x8,_0x3637b4++;}return _0x55394c[_0x2411a6(0x163)](_0xf5f897,_0x3637b4);}}()),_0x4933df[_0x3f0469(0x280)][_0x3f0469(0x472)];}));}(_0x4f9783)),_0x4f9783[_0x55a79e(0x1af)];}var _0x1ce12d={'exports':{}},_0x2dfac8=_0x1ce12d[_0xe600ea(0x1af)],_0xeb1e65;function _0x3efef3(){var _0x12d55c=_0xe600ea;return _0xeb1e65||(_0xeb1e65=0x1,function(_0x2912b4,_0x3a722b){(function(_0x41165d,_0x986e30){var _0x2035d6=_0x239d;_0x2912b4[_0x2035d6(0x1af)]=_0x986e30(_0xa7bb9e());}(_0x2dfac8,function(_0x538b5b){var _0x464b1f=_0x239d;return function(_0x3e142c){var _0xc62cc2=_0x239d,_0x13ae84=_0x538b5b,_0x4a8e85=_0x13ae84[_0xc62cc2(0x300)],_0x250ee6=_0x4a8e85[_0xc62cc2(0x36e)],_0x340ebd=_0x4a8e85[_0xc62cc2(0x3c8)],_0x553bac=_0x13ae84[_0xc62cc2(0x30a)],_0x3412a7=[];(function(){var _0x4c9225=_0xc62cc2;for(var _0x37fa0d=0x0;_0x37fa0d<0x40;_0x37fa0d++)_0x3412a7[_0x37fa0d]=_0x3e142c[_0x4c9225(0x419)](_0x3e142c[_0x4c9225(0x254)](_0x37fa0d+0x1))*0x100000000|0x0;}());var _0x22fd7a=_0x553bac[_0xc62cc2(0x30b)]=_0x340ebd[_0xc62cc2(0x334)]({'_doReset':function(){var _0x5b0875=_0xc62cc2;this[_0x5b0875(0x268)]=new _0x250ee6[(_0x5b0875(0x2ff))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xf03728,_0x36928f){var _0x3eee25=_0xc62cc2;for(var _0x42997d=0x0;_0x42997d<0x10;_0x42997d++){var _0x3b30e2=_0x36928f+_0x42997d,_0x499445=_0xf03728[_0x3b30e2];_0xf03728[_0x3b30e2]=(_0x499445<<0x8|_0x499445>>>0x18)&0xff00ff|(_0x499445<<0x18|_0x499445>>>0x8)&0xff00ff00;}var _0x132072=this[_0x3eee25(0x268)][_0x3eee25(0x1f6)],_0x13628e=_0xf03728[_0x36928f+0x0],_0x44b85a=_0xf03728[_0x36928f+0x1],_0x47d0ab=_0xf03728[_0x36928f+0x2],_0x1dd689=_0xf03728[_0x36928f+0x3],_0xd90884=_0xf03728[_0x36928f+0x4],_0x4ccfc9=_0xf03728[_0x36928f+0x5],_0x3bc0b4=_0xf03728[_0x36928f+0x6],_0x4e30cb=_0xf03728[_0x36928f+0x7],_0x5b4bf5=_0xf03728[_0x36928f+0x8],_0x3d2e5d=_0xf03728[_0x36928f+0x9],_0x4559cf=_0xf03728[_0x36928f+0xa],_0x4f083e=_0xf03728[_0x36928f+0xb],_0x492b49=_0xf03728[_0x36928f+0xc],_0x3040a7=_0xf03728[_0x36928f+0xd],_0x438f68=_0xf03728[_0x36928f+0xe],_0x546ef1=_0xf03728[_0x36928f+0xf],_0x5777c4=_0x132072[0x0],_0x20a5a0=_0x132072[0x1],_0x59de27=_0x132072[0x2],_0x1e3db2=_0x132072[0x3];_0x5777c4=_0x442882(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x13628e,0x7,_0x3412a7[0x0]),_0x1e3db2=_0x442882(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x44b85a,0xc,_0x3412a7[0x1]),_0x59de27=_0x442882(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x47d0ab,0x11,_0x3412a7[0x2]),_0x20a5a0=_0x442882(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x1dd689,0x16,_0x3412a7[0x3]),_0x5777c4=_0x442882(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0xd90884,0x7,_0x3412a7[0x4]),_0x1e3db2=_0x442882(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x4ccfc9,0xc,_0x3412a7[0x5]),_0x59de27=_0x442882(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x3bc0b4,0x11,_0x3412a7[0x6]),_0x20a5a0=_0x442882(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x4e30cb,0x16,_0x3412a7[0x7]),_0x5777c4=_0x442882(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x5b4bf5,0x7,_0x3412a7[0x8]),_0x1e3db2=_0x442882(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x3d2e5d,0xc,_0x3412a7[0x9]),_0x59de27=_0x442882(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x4559cf,0x11,_0x3412a7[0xa]),_0x20a5a0=_0x442882(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x4f083e,0x16,_0x3412a7[0xb]),_0x5777c4=_0x442882(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x492b49,0x7,_0x3412a7[0xc]),_0x1e3db2=_0x442882(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x3040a7,0xc,_0x3412a7[0xd]),_0x59de27=_0x442882(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x438f68,0x11,_0x3412a7[0xe]),_0x20a5a0=_0x442882(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x546ef1,0x16,_0x3412a7[0xf]),_0x5777c4=_0x2cd2b6(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x44b85a,0x5,_0x3412a7[0x10]),_0x1e3db2=_0x2cd2b6(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x3bc0b4,0x9,_0x3412a7[0x11]),_0x59de27=_0x2cd2b6(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x4f083e,0xe,_0x3412a7[0x12]),_0x20a5a0=_0x2cd2b6(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x13628e,0x14,_0x3412a7[0x13]),_0x5777c4=_0x2cd2b6(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x4ccfc9,0x5,_0x3412a7[0x14]),_0x1e3db2=_0x2cd2b6(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x4559cf,0x9,_0x3412a7[0x15]),_0x59de27=_0x2cd2b6(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x546ef1,0xe,_0x3412a7[0x16]),_0x20a5a0=_0x2cd2b6(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0xd90884,0x14,_0x3412a7[0x17]),_0x5777c4=_0x2cd2b6(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x3d2e5d,0x5,_0x3412a7[0x18]),_0x1e3db2=_0x2cd2b6(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x438f68,0x9,_0x3412a7[0x19]),_0x59de27=_0x2cd2b6(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x1dd689,0xe,_0x3412a7[0x1a]),_0x20a5a0=_0x2cd2b6(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x5b4bf5,0x14,_0x3412a7[0x1b]),_0x5777c4=_0x2cd2b6(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x3040a7,0x5,_0x3412a7[0x1c]),_0x1e3db2=_0x2cd2b6(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x47d0ab,0x9,_0x3412a7[0x1d]),_0x59de27=_0x2cd2b6(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x4e30cb,0xe,_0x3412a7[0x1e]),_0x20a5a0=_0x2cd2b6(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x492b49,0x14,_0x3412a7[0x1f]),_0x5777c4=_0x2f6449(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x4ccfc9,0x4,_0x3412a7[0x20]),_0x1e3db2=_0x2f6449(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x5b4bf5,0xb,_0x3412a7[0x21]),_0x59de27=_0x2f6449(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x4f083e,0x10,_0x3412a7[0x22]),_0x20a5a0=_0x2f6449(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x438f68,0x17,_0x3412a7[0x23]),_0x5777c4=_0x2f6449(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x44b85a,0x4,_0x3412a7[0x24]),_0x1e3db2=_0x2f6449(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0xd90884,0xb,_0x3412a7[0x25]),_0x59de27=_0x2f6449(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x4e30cb,0x10,_0x3412a7[0x26]),_0x20a5a0=_0x2f6449(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x4559cf,0x17,_0x3412a7[0x27]),_0x5777c4=_0x2f6449(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x3040a7,0x4,_0x3412a7[0x28]),_0x1e3db2=_0x2f6449(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x13628e,0xb,_0x3412a7[0x29]),_0x59de27=_0x2f6449(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x1dd689,0x10,_0x3412a7[0x2a]),_0x20a5a0=_0x2f6449(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x3bc0b4,0x17,_0x3412a7[0x2b]),_0x5777c4=_0x2f6449(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x3d2e5d,0x4,_0x3412a7[0x2c]),_0x1e3db2=_0x2f6449(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x492b49,0xb,_0x3412a7[0x2d]),_0x59de27=_0x2f6449(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x546ef1,0x10,_0x3412a7[0x2e]),_0x20a5a0=_0x2f6449(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x47d0ab,0x17,_0x3412a7[0x2f]),_0x5777c4=_0x15289e(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x13628e,0x6,_0x3412a7[0x30]),_0x1e3db2=_0x15289e(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x4e30cb,0xa,_0x3412a7[0x31]),_0x59de27=_0x15289e(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x438f68,0xf,_0x3412a7[0x32]),_0x20a5a0=_0x15289e(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x4ccfc9,0x15,_0x3412a7[0x33]),_0x5777c4=_0x15289e(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x492b49,0x6,_0x3412a7[0x34]),_0x1e3db2=_0x15289e(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x1dd689,0xa,_0x3412a7[0x35]),_0x59de27=_0x15289e(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x4559cf,0xf,_0x3412a7[0x36]),_0x20a5a0=_0x15289e(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x44b85a,0x15,_0x3412a7[0x37]),_0x5777c4=_0x15289e(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0x5b4bf5,0x6,_0x3412a7[0x38]),_0x1e3db2=_0x15289e(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x546ef1,0xa,_0x3412a7[0x39]),_0x59de27=_0x15289e(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x3bc0b4,0xf,_0x3412a7[0x3a]),_0x20a5a0=_0x15289e(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x3040a7,0x15,_0x3412a7[0x3b]),_0x5777c4=_0x15289e(_0x5777c4,_0x20a5a0,_0x59de27,_0x1e3db2,_0xd90884,0x6,_0x3412a7[0x3c]),_0x1e3db2=_0x15289e(_0x1e3db2,_0x5777c4,_0x20a5a0,_0x59de27,_0x4f083e,0xa,_0x3412a7[0x3d]),_0x59de27=_0x15289e(_0x59de27,_0x1e3db2,_0x5777c4,_0x20a5a0,_0x47d0ab,0xf,_0x3412a7[0x3e]),_0x20a5a0=_0x15289e(_0x20a5a0,_0x59de27,_0x1e3db2,_0x5777c4,_0x3d2e5d,0x15,_0x3412a7[0x3f]),_0x132072[0x0]=_0x132072[0x0]+_0x5777c4|0x0,_0x132072[0x1]=_0x132072[0x1]+_0x20a5a0|0x0,_0x132072[0x2]=_0x132072[0x2]+_0x59de27|0x0,_0x132072[0x3]=_0x132072[0x3]+_0x1e3db2|0x0;},'_doFinalize':function(){var _0x36beeb=_0xc62cc2,_0x30c8ae=this[_0x36beeb(0x448)],_0x277323=_0x30c8ae[_0x36beeb(0x1f6)],_0x7ca2b0=this[_0x36beeb(0x4e8)]*0x8,_0x2f8ed5=_0x30c8ae[_0x36beeb(0x378)]*0x8;_0x277323[_0x2f8ed5>>>0x5]|=0x80<<0x18-_0x2f8ed5%0x20;var _0x1c7385=_0x3e142c[_0x36beeb(0x363)](_0x7ca2b0/0x100000000),_0x24a344=_0x7ca2b0;_0x277323[(_0x2f8ed5+0x40>>>0x9<<0x4)+0xf]=(_0x1c7385<<0x8|_0x1c7385>>>0x18)&0xff00ff|(_0x1c7385<<0x18|_0x1c7385>>>0x8)&0xff00ff00,_0x277323[(_0x2f8ed5+0x40>>>0x9<<0x4)+0xe]=(_0x24a344<<0x8|_0x24a344>>>0x18)&0xff00ff|(_0x24a344<<0x18|_0x24a344>>>0x8)&0xff00ff00,_0x30c8ae[_0x36beeb(0x378)]=(_0x277323[_0x36beeb(0x4ac)]+0x1)*0x4,this[_0x36beeb(0x312)]();for(var _0x1df049=this[_0x36beeb(0x268)],_0x10d300=_0x1df049[_0x36beeb(0x1f6)],_0x4d88be=0x0;_0x4d88be<0x4;_0x4d88be++){var _0x141f80=_0x10d300[_0x4d88be];_0x10d300[_0x4d88be]=(_0x141f80<<0x8|_0x141f80>>>0x18)&0xff00ff|(_0x141f80<<0x18|_0x141f80>>>0x8)&0xff00ff00;}return _0x1df049;},'clone':function(){var _0x117920=_0xc62cc2,_0x678421=_0x340ebd[_0x117920(0x35e)][_0x117920(0x24d)](this);return _0x678421[_0x117920(0x268)]=this[_0x117920(0x268)][_0x117920(0x35e)](),_0x678421;}});function _0x442882(_0x3ec4d6,_0x2f2d6f,_0x2634be,_0x3ea090,_0x104ebc,_0x389bdb,_0x498cc6){var _0x12a9a5=_0x3ec4d6+(_0x2f2d6f&_0x2634be|~_0x2f2d6f&_0x3ea090)+_0x104ebc+_0x498cc6;return(_0x12a9a5<<_0x389bdb|_0x12a9a5>>>0x20-_0x389bdb)+_0x2f2d6f;}function _0x2cd2b6(_0x5a0f50,_0x5d1561,_0x411749,_0x43e0a1,_0x49050a,_0x2cc7a3,_0x2c9c1b){var _0x197485=_0x5a0f50+(_0x5d1561&_0x43e0a1|_0x411749&~_0x43e0a1)+_0x49050a+_0x2c9c1b;return(_0x197485<<_0x2cc7a3|_0x197485>>>0x20-_0x2cc7a3)+_0x5d1561;}function _0x2f6449(_0x4bcab0,_0x43fa0c,_0x18dd6a,_0xb754b7,_0x329ea3,_0x5aa57f,_0x17213f){var _0x55c09c=_0x4bcab0+(_0x43fa0c^_0x18dd6a^_0xb754b7)+_0x329ea3+_0x17213f;return(_0x55c09c<<_0x5aa57f|_0x55c09c>>>0x20-_0x5aa57f)+_0x43fa0c;}function _0x15289e(_0x4ddbbd,_0x1a1e05,_0x5a8d78,_0x343d0f,_0x4826ae,_0xf47cc2,_0xcd60ad){var _0x218ffe=_0x4ddbbd+(_0x5a8d78^(_0x1a1e05|~_0x343d0f))+_0x4826ae+_0xcd60ad;return(_0x218ffe<<_0xf47cc2|_0x218ffe>>>0x20-_0xf47cc2)+_0x1a1e05;}_0x13ae84[_0xc62cc2(0x30b)]=_0x340ebd[_0xc62cc2(0x339)](_0x22fd7a),_0x13ae84[_0xc62cc2(0x227)]=_0x340ebd[_0xc62cc2(0x253)](_0x22fd7a);}(Math),_0x538b5b[_0x464b1f(0x30b)];}));}(_0x1ce12d)),_0x1ce12d[_0x12d55c(0x1af)];}var _0x45737a={'exports':{}},_0x4ee37b={'exports':{}},_0x78bb38=_0x4ee37b['exports'],_0x1f1829;function _0x3b0db6(){var _0x112f54=_0xe600ea;return _0x1f1829||(_0x1f1829=0x1,function(_0x5e9dfc,_0x123f86){(function(_0x3985aa,_0x4dfe38){var _0xff2ee5=_0x239d;_0x5e9dfc[_0xff2ee5(0x1af)]=_0x4dfe38(_0xa7bb9e());}(_0x78bb38,function(_0x2a0cf8){var _0x2f8066=_0x239d;return(function(){var _0x508b06=_0x239d,_0x3cf202=_0x2a0cf8,_0x508f10=_0x3cf202['lib'],_0x37f0a3=_0x508f10[_0x508b06(0x36e)],_0x3ccbff=_0x508f10[_0x508b06(0x3c8)],_0x42e134=_0x3cf202[_0x508b06(0x30a)],_0x5c6287=[],_0x4e0bf0=_0x42e134[_0x508b06(0x2c6)]=_0x3ccbff[_0x508b06(0x334)]({'_doReset':function(){var _0x36b1aa=_0x508b06;this['_hash']=new _0x37f0a3[(_0x36b1aa(0x2ff))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x226f1f,_0x3babab){var _0x22d943=_0x508b06;for(var _0xd9936=this[_0x22d943(0x268)][_0x22d943(0x1f6)],_0x17df57=_0xd9936[0x0],_0x27bb6c=_0xd9936[0x1],_0x2aae9d=_0xd9936[0x2],_0x22a89b=_0xd9936[0x3],_0x186a87=_0xd9936[0x4],_0x5087ae=0x0;_0x5087ae<0x50;_0x5087ae++){if(_0x5087ae<0x10)_0x5c6287[_0x5087ae]=_0x226f1f[_0x3babab+_0x5087ae]|0x0;else{var _0x15fe11=_0x5c6287[_0x5087ae-0x3]^_0x5c6287[_0x5087ae-0x8]^_0x5c6287[_0x5087ae-0xe]^_0x5c6287[_0x5087ae-0x10];_0x5c6287[_0x5087ae]=_0x15fe11<<0x1|_0x15fe11>>>0x1f;}var _0x386b54=(_0x17df57<<0x5|_0x17df57>>>0x1b)+_0x186a87+_0x5c6287[_0x5087ae];_0x5087ae<0x14?_0x386b54+=(_0x27bb6c&_0x2aae9d|~_0x27bb6c&_0x22a89b)+0x5a827999:_0x5087ae<0x28?_0x386b54+=(_0x27bb6c^_0x2aae9d^_0x22a89b)+0x6ed9eba1:_0x5087ae<0x3c?_0x386b54+=(_0x27bb6c&_0x2aae9d|_0x27bb6c&_0x22a89b|_0x2aae9d&_0x22a89b)-0x70e44324:_0x386b54+=(_0x27bb6c^_0x2aae9d^_0x22a89b)-0x359d3e2a,_0x186a87=_0x22a89b,_0x22a89b=_0x2aae9d,_0x2aae9d=_0x27bb6c<<0x1e|_0x27bb6c>>>0x2,_0x27bb6c=_0x17df57,_0x17df57=_0x386b54;}_0xd9936[0x0]=_0xd9936[0x0]+_0x17df57|0x0,_0xd9936[0x1]=_0xd9936[0x1]+_0x27bb6c|0x0,_0xd9936[0x2]=_0xd9936[0x2]+_0x2aae9d|0x0,_0xd9936[0x3]=_0xd9936[0x3]+_0x22a89b|0x0,_0xd9936[0x4]=_0xd9936[0x4]+_0x186a87|0x0;},'_doFinalize':function(){var _0x1bd07f=_0x508b06,_0x377d01=this[_0x1bd07f(0x448)],_0x55132c=_0x377d01[_0x1bd07f(0x1f6)],_0x2f7987=this[_0x1bd07f(0x4e8)]*0x8,_0xc94829=_0x377d01[_0x1bd07f(0x378)]*0x8;return _0x55132c[_0xc94829>>>0x5]|=0x80<<0x18-_0xc94829%0x20,_0x55132c[(_0xc94829+0x40>>>0x9<<0x4)+0xe]=Math[_0x1bd07f(0x363)](_0x2f7987/0x100000000),_0x55132c[(_0xc94829+0x40>>>0x9<<0x4)+0xf]=_0x2f7987,_0x377d01['sigBytes']=_0x55132c[_0x1bd07f(0x4ac)]*0x4,this[_0x1bd07f(0x312)](),this['_hash'];},'clone':function(){var _0x1ecf16=_0x508b06,_0x45ddf5=_0x3ccbff[_0x1ecf16(0x35e)][_0x1ecf16(0x24d)](this);return _0x45ddf5[_0x1ecf16(0x268)]=this[_0x1ecf16(0x268)][_0x1ecf16(0x35e)](),_0x45ddf5;}});_0x3cf202[_0x508b06(0x2c6)]=_0x3ccbff['_createHelper'](_0x4e0bf0),_0x3cf202['HmacSHA1']=_0x3ccbff['_createHmacHelper'](_0x4e0bf0);}()),_0x2a0cf8[_0x2f8066(0x2c6)];}));}(_0x4ee37b)),_0x4ee37b[_0x112f54(0x1af)];}var _0x1753cf={'exports':{}},_0x4b18e8=_0x1753cf['exports'],_0x274200;function _0x5212b0(){var _0x18141a=_0xe600ea;return _0x274200||(_0x274200=0x1,function(_0x20de6b,_0x3f0193){(function(_0x700ef2,_0x11742e){var _0x115086=_0x239d;_0x20de6b[_0x115086(0x1af)]=_0x11742e(_0xa7bb9e());}(_0x4b18e8,function(_0x1216cb){(function(){var _0x2e0a16=_0x239d,_0x28ba62=_0x1216cb,_0x5f4c12=_0x28ba62['lib'],_0x4fa62f=_0x5f4c12[_0x2e0a16(0x332)],_0xe5ea4=_0x28ba62[_0x2e0a16(0x280)],_0x28ebcf=_0xe5ea4[_0x2e0a16(0x43e)],_0x5844eb=_0x28ba62['algo'];_0x5844eb[_0x2e0a16(0x22b)]=_0x4fa62f[_0x2e0a16(0x334)]({'init':function(_0x506364,_0xe1e1cf){var _0x55d5af=_0x2e0a16;_0x506364=this[_0x55d5af(0x3f3)]=new _0x506364[(_0x55d5af(0x2ff))](),typeof _0xe1e1cf==_0x55d5af(0x1ed)&&(_0xe1e1cf=_0x28ebcf['parse'](_0xe1e1cf));var _0x3228a2=_0x506364[_0x55d5af(0x4cf)],_0x25f520=_0x3228a2*0x4;_0xe1e1cf['sigBytes']>_0x25f520&&(_0xe1e1cf=_0x506364[_0x55d5af(0x199)](_0xe1e1cf)),_0xe1e1cf[_0x55d5af(0x35f)]();for(var _0x37e72c=this[_0x55d5af(0x161)]=_0xe1e1cf[_0x55d5af(0x35e)](),_0x3b9490=this[_0x55d5af(0x423)]=_0xe1e1cf[_0x55d5af(0x35e)](),_0x3bd74f=_0x37e72c[_0x55d5af(0x1f6)],_0x3ce211=_0x3b9490[_0x55d5af(0x1f6)],_0x230c66=0x0;_0x230c66<_0x3228a2;_0x230c66++)_0x3bd74f[_0x230c66]^=0x5c5c5c5c,_0x3ce211[_0x230c66]^=0x36363636;_0x37e72c[_0x55d5af(0x378)]=_0x3b9490[_0x55d5af(0x378)]=_0x25f520,this[_0x55d5af(0x2c4)]();},'reset':function(){var _0x2b3247=_0x2e0a16,_0x243a55=this[_0x2b3247(0x3f3)];_0x243a55[_0x2b3247(0x2c4)](),_0x243a55['update'](this[_0x2b3247(0x423)]);},'update':function(_0x450ed4){var _0x5e6711=_0x2e0a16;return this[_0x5e6711(0x3f3)][_0x5e6711(0x1a7)](_0x450ed4),this;},'finalize':function(_0x34aded){var _0x2cbdef=_0x2e0a16,_0x5872f5=this['_hasher'],_0x27af88=_0x5872f5[_0x2cbdef(0x199)](_0x34aded);_0x5872f5[_0x2cbdef(0x2c4)]();var _0x439dbc=_0x5872f5[_0x2cbdef(0x199)](this[_0x2cbdef(0x161)][_0x2cbdef(0x35e)]()['concat'](_0x27af88));return _0x439dbc;}});}());}));}(_0x1753cf)),_0x1753cf[_0x18141a(0x1af)];}var _0x22e9a6=_0x45737a['exports'],_0x365c9c;function _0x4eb118(){var _0x2b6789=_0xe600ea;return _0x365c9c||(_0x365c9c=0x1,function(_0x1a7cdf,_0x335971){(function(_0x42126c,_0x58596d,_0x39b4ba){var _0x5eaaa1=_0x239d;_0x1a7cdf[_0x5eaaa1(0x1af)]=_0x58596d(_0xa7bb9e(),_0x3b0db6(),_0x5212b0());}(_0x22e9a6,function(_0x5a4602){return(function(){var _0x19547e=_0x239d,_0x175067=_0x5a4602,_0x5f0852=_0x175067[_0x19547e(0x300)],_0x36f947=_0x5f0852[_0x19547e(0x332)],_0x1a7299=_0x5f0852[_0x19547e(0x36e)],_0x4f17e9=_0x175067[_0x19547e(0x30a)],_0x43e54f=_0x4f17e9['MD5'],_0x2feb4d=_0x4f17e9[_0x19547e(0x46e)]=_0x36f947[_0x19547e(0x334)]({'cfg':_0x36f947[_0x19547e(0x334)]({'keySize':0x80/0x20,'hasher':_0x43e54f,'iterations':0x1}),'init':function(_0x41ae74){var _0x2209e8=_0x19547e;this[_0x2209e8(0x426)]=this[_0x2209e8(0x426)][_0x2209e8(0x334)](_0x41ae74);},'compute':function(_0x59c782,_0xf85cd6){var _0x115303=_0x19547e;for(var _0x9494c,_0x232090=this[_0x115303(0x426)],_0xf8e0c5=_0x232090[_0x115303(0x480)]['create'](),_0x1dbbfe=_0x1a7299[_0x115303(0x163)](),_0x159880=_0x1dbbfe[_0x115303(0x1f6)],_0x297907=_0x232090[_0x115303(0x4b9)],_0x5c8c86=_0x232090[_0x115303(0x41d)];_0x159880[_0x115303(0x4ac)]<_0x297907;){_0x9494c&&_0xf8e0c5[_0x115303(0x1a7)](_0x9494c),_0x9494c=_0xf8e0c5['update'](_0x59c782)[_0x115303(0x199)](_0xf85cd6),_0xf8e0c5[_0x115303(0x2c4)]();for(var _0x1a0a2e=0x1;_0x1a0a2e<_0x5c8c86;_0x1a0a2e++)_0x9494c=_0xf8e0c5[_0x115303(0x199)](_0x9494c),_0xf8e0c5[_0x115303(0x2c4)]();_0x1dbbfe[_0x115303(0x3ac)](_0x9494c);}return _0x1dbbfe[_0x115303(0x378)]=_0x297907*0x4,_0x1dbbfe;}});_0x175067[_0x19547e(0x46e)]=function(_0xbbe2ee,_0x34fe2b,_0x42fe17){var _0xc5752b=_0x19547e;return _0x2feb4d[_0xc5752b(0x163)](_0x42fe17)[_0xc5752b(0x4c7)](_0xbbe2ee,_0x34fe2b);};}()),_0x5a4602['EvpKDF'];}));}(_0x45737a)),_0x45737a[_0x2b6789(0x1af)];}var _0x389c54={'exports':{}},_0x598a25=_0x389c54[_0xe600ea(0x1af)],_0x51ab75;function _0x708350(){return _0x51ab75||(_0x51ab75=0x1,function(_0x55533a,_0x439f3f){(function(_0x3728f3,_0x2b2c56,_0xc5d645){var _0xf8680f=_0x239d;_0x55533a[_0xf8680f(0x1af)]=_0x2b2c56(_0xa7bb9e(),_0x4eb118());}(_0x598a25,function(_0x46fc5d){var _0x284ae8=_0x239d;_0x46fc5d[_0x284ae8(0x300)][_0x284ae8(0x4ef)]||function(_0x3e0658){var _0x3fef00=_0x284ae8,_0x46cb8a=_0x46fc5d,_0x54a48f=_0x46cb8a['lib'],_0x3b35b1=_0x54a48f[_0x3fef00(0x332)],_0x1d1083=_0x54a48f[_0x3fef00(0x36e)],_0x2911cc=_0x54a48f[_0x3fef00(0x3e8)],_0x40a310=_0x46cb8a[_0x3fef00(0x280)];_0x40a310['Utf8'];var _0x270242=_0x40a310['Base64'],_0x2530eb=_0x46cb8a['algo'],_0x957979=_0x2530eb[_0x3fef00(0x46e)],_0x45190d=_0x54a48f[_0x3fef00(0x4ef)]=_0x2911cc['extend']({'cfg':_0x3b35b1[_0x3fef00(0x334)](),'createEncryptor':function(_0x526881,_0x96e458){var _0x247d36=_0x3fef00;return this[_0x247d36(0x163)](this['_ENC_XFORM_MODE'],_0x526881,_0x96e458);},'createDecryptor':function(_0x19d9df,_0x4df0b0){var _0x110be5=_0x3fef00;return this['create'](this[_0x110be5(0x492)],_0x19d9df,_0x4df0b0);},'init':function(_0x3c43a6,_0x967a02,_0x30bc31){var _0x535f1e=_0x3fef00;this[_0x535f1e(0x426)]=this[_0x535f1e(0x426)]['extend'](_0x30bc31),this[_0x535f1e(0x2a7)]=_0x3c43a6,this[_0x535f1e(0x313)]=_0x967a02,this[_0x535f1e(0x2c4)]();},'reset':function(){var _0x258642=_0x3fef00;_0x2911cc[_0x258642(0x2c4)][_0x258642(0x24d)](this),this[_0x258642(0x464)]();},'process':function(_0x117b8d){var _0x57449e=_0x3fef00;return this['_append'](_0x117b8d),this[_0x57449e(0x312)]();},'finalize':function(_0x3b675a){var _0x179343=_0x3fef00;_0x3b675a&&this[_0x179343(0x2c8)](_0x3b675a);var _0x2bc114=this['_doFinalize']();return _0x2bc114;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2200ff(_0x43b48c){var _0x4ddf8d=_0x239d;return typeof _0x43b48c==_0x4ddf8d(0x1ed)?_0x25882d:_0x3870dc;}return function(_0x3e7e2b){return{'encrypt':function(_0x372bc6,_0x217df0,_0x493c9){return _0x2200ff(_0x217df0)['encrypt'](_0x3e7e2b,_0x372bc6,_0x217df0,_0x493c9);},'decrypt':function(_0x4dcf9d,_0x317947,_0x3d0adb){return _0x2200ff(_0x317947)['decrypt'](_0x3e7e2b,_0x4dcf9d,_0x317947,_0x3d0adb);}};};}())});_0x54a48f[_0x3fef00(0x4f1)]=_0x45190d[_0x3fef00(0x334)]({'_doFinalize':function(){var _0x46d3dc=_0x3fef00,_0xb77510=this[_0x46d3dc(0x312)](!0x0);return _0xb77510;},'blockSize':0x1});var _0x49edbf=_0x46cb8a[_0x3fef00(0x20e)]={},_0x27d98d=_0x54a48f[_0x3fef00(0x4c9)]=_0x3b35b1[_0x3fef00(0x334)]({'createEncryptor':function(_0x52b3d0,_0x5076e7){var _0x3798a1=_0x3fef00;return this['Encryptor'][_0x3798a1(0x163)](_0x52b3d0,_0x5076e7);},'createDecryptor':function(_0x45cbe3,_0x385085){var _0x2733a4=_0x3fef00;return this[_0x2733a4(0x4ec)]['create'](_0x45cbe3,_0x385085);},'init':function(_0x46e3a6,_0x368b42){var _0x224e03=_0x3fef00;this[_0x224e03(0x4a3)]=_0x46e3a6,this[_0x224e03(0x24a)]=_0x368b42;}}),_0x381356=_0x49edbf[_0x3fef00(0x1a4)]=(function(){var _0x2f428a=_0x3fef00,_0x1d46f4=_0x27d98d[_0x2f428a(0x334)]();_0x1d46f4[_0x2f428a(0x2cf)]=_0x1d46f4[_0x2f428a(0x334)]({'processBlock':function(_0x2c80b6,_0x52770b){var _0x3a83fe=_0x2f428a,_0x5bf2a8=this[_0x3a83fe(0x4a3)],_0x111898=_0x5bf2a8[_0x3a83fe(0x4cf)];_0xa4adcd[_0x3a83fe(0x24d)](this,_0x2c80b6,_0x52770b,_0x111898),_0x5bf2a8[_0x3a83fe(0x4df)](_0x2c80b6,_0x52770b),this['_prevBlock']=_0x2c80b6[_0x3a83fe(0x4d8)](_0x52770b,_0x52770b+_0x111898);}}),_0x1d46f4[_0x2f428a(0x4ec)]=_0x1d46f4[_0x2f428a(0x334)]({'processBlock':function(_0x243673,_0x569820){var _0x4f4505=_0x2f428a,_0x3c9613=this[_0x4f4505(0x4a3)],_0x1ed749=_0x3c9613[_0x4f4505(0x4cf)],_0x25857a=_0x243673[_0x4f4505(0x4d8)](_0x569820,_0x569820+_0x1ed749);_0x3c9613[_0x4f4505(0x207)](_0x243673,_0x569820),_0xa4adcd[_0x4f4505(0x24d)](this,_0x243673,_0x569820,_0x1ed749),this[_0x4f4505(0x1ad)]=_0x25857a;}});function _0xa4adcd(_0x1556b4,_0x478857,_0x28ba21){var _0x52d121=_0x2f428a,_0x2b75dd,_0x50ebab=this['_iv'];_0x50ebab?(_0x2b75dd=_0x50ebab,this[_0x52d121(0x24a)]=_0x3e0658):_0x2b75dd=this[_0x52d121(0x1ad)];for(var _0x11cca2=0x0;_0x11cca2<_0x28ba21;_0x11cca2++)_0x1556b4[_0x478857+_0x11cca2]^=_0x2b75dd[_0x11cca2];}return _0x1d46f4;}()),_0x2b4ae9=_0x46cb8a[_0x3fef00(0x1fd)]={},_0x228ffe=_0x2b4ae9['Pkcs7']={'pad':function(_0x5dc684,_0x226572){var _0xb462b9=_0x3fef00;for(var _0x1726c9=_0x226572*0x4,_0xe6bb1=_0x1726c9-_0x5dc684[_0xb462b9(0x378)]%_0x1726c9,_0x18e4ee=_0xe6bb1<<0x18|_0xe6bb1<<0x10|_0xe6bb1<<0x8|_0xe6bb1,_0x534404=[],_0x29406d=0x0;_0x29406d<_0xe6bb1;_0x29406d+=0x4)_0x534404[_0xb462b9(0x2c3)](_0x18e4ee);var _0xbf285=_0x1d1083[_0xb462b9(0x163)](_0x534404,_0xe6bb1);_0x5dc684[_0xb462b9(0x3ac)](_0xbf285);},'unpad':function(_0x4b606b){var _0xf6c799=_0x3fef00,_0x59fe06=_0x4b606b[_0xf6c799(0x1f6)][_0x4b606b[_0xf6c799(0x378)]-0x1>>>0x2]&0xff;_0x4b606b[_0xf6c799(0x378)]-=_0x59fe06;}};_0x54a48f['BlockCipher']=_0x45190d['extend']({'cfg':_0x45190d[_0x3fef00(0x426)][_0x3fef00(0x334)]({'mode':_0x381356,'padding':_0x228ffe}),'reset':function(){var _0x46229b=_0x3fef00,_0x90b0f5;_0x45190d[_0x46229b(0x2c4)][_0x46229b(0x24d)](this);var _0x463aa7=this[_0x46229b(0x426)],_0x330918=_0x463aa7['iv'],_0x420cca=_0x463aa7[_0x46229b(0x20e)];this[_0x46229b(0x2a7)]==this[_0x46229b(0x240)]?_0x90b0f5=_0x420cca['createEncryptor']:(_0x90b0f5=_0x420cca[_0x46229b(0x314)],this['_minBufferSize']=0x1),this[_0x46229b(0x186)]&&this[_0x46229b(0x186)][_0x46229b(0x407)]==_0x90b0f5?this['_mode']['init'](this,_0x330918&&_0x330918[_0x46229b(0x1f6)]):(this[_0x46229b(0x186)]=_0x90b0f5[_0x46229b(0x24d)](_0x420cca,this,_0x330918&&_0x330918[_0x46229b(0x1f6)]),this[_0x46229b(0x186)]['__creator']=_0x90b0f5);},'_doProcessBlock':function(_0x310cd3,_0x2c95ac){var _0x3c7d27=_0x3fef00;this[_0x3c7d27(0x186)][_0x3c7d27(0x2ba)](_0x310cd3,_0x2c95ac);},'_doFinalize':function(){var _0x55198c=_0x3fef00,_0x52f2dc,_0x2a6652=this[_0x55198c(0x426)][_0x55198c(0x2f0)];return this[_0x55198c(0x2a7)]==this[_0x55198c(0x240)]?(_0x2a6652['pad'](this[_0x55198c(0x448)],this[_0x55198c(0x4cf)]),_0x52f2dc=this[_0x55198c(0x312)](!0x0)):(_0x52f2dc=this[_0x55198c(0x312)](!0x0),_0x2a6652[_0x55198c(0x3e7)](_0x52f2dc)),_0x52f2dc;},'blockSize':0x80/0x20});var _0x2d474c=_0x54a48f[_0x3fef00(0x449)]=_0x3b35b1[_0x3fef00(0x334)]({'init':function(_0x54dee7){var _0x18ccde=_0x3fef00;this[_0x18ccde(0x462)](_0x54dee7);},'toString':function(_0x4a0cf3){var _0x41a59d=_0x3fef00;return(_0x4a0cf3||this[_0x41a59d(0x25b)])[_0x41a59d(0x4ea)](this);}}),_0xe59c6a=_0x46cb8a[_0x3fef00(0x2bf)]={},_0x3c95ae=_0xe59c6a['OpenSSL']={'stringify':function(_0x442f09){var _0x4b1377=_0x3fef00,_0x436b3f,_0x2915ab=_0x442f09[_0x4b1377(0x2fa)],_0x14cd2d=_0x442f09['salt'];return _0x14cd2d?_0x436b3f=_0x1d1083[_0x4b1377(0x163)]([0x53616c74,0x65645f5f])[_0x4b1377(0x3ac)](_0x14cd2d)[_0x4b1377(0x3ac)](_0x2915ab):_0x436b3f=_0x2915ab,_0x436b3f[_0x4b1377(0x4c6)](_0x270242);},'parse':function(_0x52df76){var _0x219a47=_0x3fef00,_0x18de89,_0x562f22=_0x270242[_0x219a47(0x19f)](_0x52df76),_0x54f029=_0x562f22[_0x219a47(0x1f6)];return _0x54f029[0x0]==0x53616c74&&_0x54f029[0x1]==0x65645f5f&&(_0x18de89=_0x1d1083[_0x219a47(0x163)](_0x54f029[_0x219a47(0x4d8)](0x2,0x4)),_0x54f029[_0x219a47(0x2ae)](0x0,0x4),_0x562f22[_0x219a47(0x378)]-=0x10),_0x2d474c[_0x219a47(0x163)]({'ciphertext':_0x562f22,'salt':_0x18de89});}},_0x3870dc=_0x54a48f[_0x3fef00(0x29c)]=_0x3b35b1['extend']({'cfg':_0x3b35b1['extend']({'format':_0x3c95ae}),'encrypt':function(_0x5d521d,_0x2a428c,_0x2c4a58,_0x3c3a41){var _0x4e19a1=_0x3fef00;_0x3c3a41=this[_0x4e19a1(0x426)][_0x4e19a1(0x334)](_0x3c3a41);var _0x2edf23=_0x5d521d[_0x4e19a1(0x3b0)](_0x2c4a58,_0x3c3a41),_0x24c399=_0x2edf23[_0x4e19a1(0x199)](_0x2a428c),_0x32cf58=_0x2edf23['cfg'];return _0x2d474c['create']({'ciphertext':_0x24c399,'key':_0x2c4a58,'iv':_0x32cf58['iv'],'algorithm':_0x5d521d,'mode':_0x32cf58[_0x4e19a1(0x20e)],'padding':_0x32cf58[_0x4e19a1(0x2f0)],'blockSize':_0x5d521d[_0x4e19a1(0x4cf)],'formatter':_0x3c3a41[_0x4e19a1(0x2bf)]});},'decrypt':function(_0x54d169,_0x42948b,_0x55e066,_0x101293){var _0x2ce99e=_0x3fef00;_0x101293=this[_0x2ce99e(0x426)]['extend'](_0x101293),_0x42948b=this[_0x2ce99e(0x2e3)](_0x42948b,_0x101293[_0x2ce99e(0x2bf)]);var _0x9116ec=_0x54d169[_0x2ce99e(0x314)](_0x55e066,_0x101293)[_0x2ce99e(0x199)](_0x42948b['ciphertext']);return _0x9116ec;},'_parse':function(_0x52e0ea,_0x92cd80){var _0x3c262e=_0x3fef00;return typeof _0x52e0ea=='string'?_0x92cd80[_0x3c262e(0x19f)](_0x52e0ea,this):_0x52e0ea;}}),_0x5b8d97=_0x46cb8a[_0x3fef00(0x190)]={},_0x3037cb=_0x5b8d97[_0x3fef00(0x248)]={'execute':function(_0x1354ba,_0x401756,_0x8fba86,_0x84fecc,_0x14cde0){var _0xee4579=_0x3fef00;if(_0x84fecc||(_0x84fecc=_0x1d1083[_0xee4579(0x1e2)](0x40/0x8)),_0x14cde0)var _0x259c70=_0x957979['create']({'keySize':_0x401756+_0x8fba86,'hasher':_0x14cde0})[_0xee4579(0x4c7)](_0x1354ba,_0x84fecc);else var _0x259c70=_0x957979['create']({'keySize':_0x401756+_0x8fba86})[_0xee4579(0x4c7)](_0x1354ba,_0x84fecc);var _0xfa72e0=_0x1d1083[_0xee4579(0x163)](_0x259c70[_0xee4579(0x1f6)]['slice'](_0x401756),_0x8fba86*0x4);return _0x259c70[_0xee4579(0x378)]=_0x401756*0x4,_0x2d474c[_0xee4579(0x163)]({'key':_0x259c70,'iv':_0xfa72e0,'salt':_0x84fecc});}},_0x25882d=_0x54a48f[_0x3fef00(0x386)]=_0x3870dc[_0x3fef00(0x334)]({'cfg':_0x3870dc[_0x3fef00(0x426)][_0x3fef00(0x334)]({'kdf':_0x3037cb}),'encrypt':function(_0x59e3f4,_0x2ea3c7,_0x6d2af,_0x943eb6){var _0x4cb065=_0x3fef00;_0x943eb6=this[_0x4cb065(0x426)]['extend'](_0x943eb6);var _0x3d6eb4=_0x943eb6[_0x4cb065(0x190)][_0x4cb065(0x235)](_0x6d2af,_0x59e3f4['keySize'],_0x59e3f4[_0x4cb065(0x365)],_0x943eb6[_0x4cb065(0x466)],_0x943eb6['hasher']);_0x943eb6['iv']=_0x3d6eb4['iv'];var _0x4a3058=_0x3870dc[_0x4cb065(0x379)][_0x4cb065(0x24d)](this,_0x59e3f4,_0x2ea3c7,_0x3d6eb4[_0x4cb065(0x32f)],_0x943eb6);return _0x4a3058[_0x4cb065(0x462)](_0x3d6eb4),_0x4a3058;},'decrypt':function(_0x404de8,_0x3f17b0,_0x1ad7a0,_0x509bd0){var _0x302b00=_0x3fef00;_0x509bd0=this[_0x302b00(0x426)][_0x302b00(0x334)](_0x509bd0),_0x3f17b0=this['_parse'](_0x3f17b0,_0x509bd0[_0x302b00(0x2bf)]);var _0x3c985b=_0x509bd0['kdf'][_0x302b00(0x235)](_0x1ad7a0,_0x404de8[_0x302b00(0x4b9)],_0x404de8[_0x302b00(0x365)],_0x3f17b0[_0x302b00(0x466)],_0x509bd0[_0x302b00(0x480)]);_0x509bd0['iv']=_0x3c985b['iv'];var _0x31c34a=_0x3870dc[_0x302b00(0x4ad)]['call'](this,_0x404de8,_0x3f17b0,_0x3c985b[_0x302b00(0x32f)],_0x509bd0);return _0x31c34a;}});}();}));}(_0x389c54)),_0x389c54['exports'];}var _0x4c79ef=_0x386aa5['exports'],_0x58039c;function _0xb8b27c(){return _0x58039c||(_0x58039c=0x1,function(_0x544a94,_0x2d2b27){(function(_0x3ff505,_0x5bc666,_0x347da9){var _0x3d74b2=_0x239d;_0x544a94[_0x3d74b2(0x1af)]=_0x5bc666(_0xa7bb9e(),_0x107eef(),_0x3efef3(),_0x4eb118(),_0x708350());}(_0x4c79ef,function(_0x577a40){var _0x1bb3c8=_0x239d;return(function(){var _0x825afd=_0x239d,_0x1b4c29=_0x577a40,_0x376539=_0x1b4c29[_0x825afd(0x300)],_0x2391e5=_0x376539[_0x825afd(0x4b5)],_0x1cca01=_0x1b4c29[_0x825afd(0x30a)],_0x9d25bc=[],_0x4468f3=[],_0x9967a8=[],_0x512876=[],_0x51e19e=[],_0x32e13b=[],_0x2b2ab9=[],_0x5c3c46=[],_0x2bbaa6=[],_0x427156=[];(function(){for(var _0x20b3e2=[],_0x43c753=0x0;_0x43c753<0x100;_0x43c753++)_0x43c753<0x80?_0x20b3e2[_0x43c753]=_0x43c753<<0x1:_0x20b3e2[_0x43c753]=_0x43c753<<0x1^0x11b;for(var _0x234cbc=0x0,_0x45d83c=0x0,_0x43c753=0x0;_0x43c753<0x100;_0x43c753++){var _0x471640=_0x45d83c^_0x45d83c<<0x1^_0x45d83c<<0x2^_0x45d83c<<0x3^_0x45d83c<<0x4;_0x471640=_0x471640>>>0x8^_0x471640&0xff^0x63,_0x9d25bc[_0x234cbc]=_0x471640,_0x4468f3[_0x471640]=_0x234cbc;var _0x2a6dfc=_0x20b3e2[_0x234cbc],_0xce5acd=_0x20b3e2[_0x2a6dfc],_0x2f010a=_0x20b3e2[_0xce5acd],_0x11bc70=_0x20b3e2[_0x471640]*0x101^_0x471640*0x1010100;_0x9967a8[_0x234cbc]=_0x11bc70<<0x18|_0x11bc70>>>0x8,_0x512876[_0x234cbc]=_0x11bc70<<0x10|_0x11bc70>>>0x10,_0x51e19e[_0x234cbc]=_0x11bc70<<0x8|_0x11bc70>>>0x18,_0x32e13b[_0x234cbc]=_0x11bc70;var _0x11bc70=_0x2f010a*0x1010101^_0xce5acd*0x10001^_0x2a6dfc*0x101^_0x234cbc*0x1010100;_0x2b2ab9[_0x471640]=_0x11bc70<<0x18|_0x11bc70>>>0x8,_0x5c3c46[_0x471640]=_0x11bc70<<0x10|_0x11bc70>>>0x10,_0x2bbaa6[_0x471640]=_0x11bc70<<0x8|_0x11bc70>>>0x18,_0x427156[_0x471640]=_0x11bc70,_0x234cbc?(_0x234cbc=_0x2a6dfc^_0x20b3e2[_0x20b3e2[_0x20b3e2[_0x2f010a^_0x2a6dfc]]],_0x45d83c^=_0x20b3e2[_0x20b3e2[_0x45d83c]]):_0x234cbc=_0x45d83c=0x1;}}());var _0x72a8ae=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xec5893=_0x1cca01[_0x825afd(0x477)]=_0x2391e5[_0x825afd(0x334)]({'_doReset':function(){var _0x49477c=_0x825afd,_0x2104ae;if(!(this[_0x49477c(0x2d9)]&&this[_0x49477c(0x290)]===this['_key'])){for(var _0x4414f6=this['_keyPriorReset']=this['_key'],_0x192948=_0x4414f6[_0x49477c(0x1f6)],_0x504e2f=_0x4414f6[_0x49477c(0x378)]/0x4,_0x2dbf61=this[_0x49477c(0x2d9)]=_0x504e2f+0x6,_0x3d0865=(_0x2dbf61+0x1)*0x4,_0x49fece=this[_0x49477c(0x16e)]=[],_0x58924e=0x0;_0x58924e<_0x3d0865;_0x58924e++)_0x58924e<_0x504e2f?_0x49fece[_0x58924e]=_0x192948[_0x58924e]:(_0x2104ae=_0x49fece[_0x58924e-0x1],_0x58924e%_0x504e2f?_0x504e2f>0x6&&_0x58924e%_0x504e2f==0x4&&(_0x2104ae=_0x9d25bc[_0x2104ae>>>0x18]<<0x18|_0x9d25bc[_0x2104ae>>>0x10&0xff]<<0x10|_0x9d25bc[_0x2104ae>>>0x8&0xff]<<0x8|_0x9d25bc[_0x2104ae&0xff]):(_0x2104ae=_0x2104ae<<0x8|_0x2104ae>>>0x18,_0x2104ae=_0x9d25bc[_0x2104ae>>>0x18]<<0x18|_0x9d25bc[_0x2104ae>>>0x10&0xff]<<0x10|_0x9d25bc[_0x2104ae>>>0x8&0xff]<<0x8|_0x9d25bc[_0x2104ae&0xff],_0x2104ae^=_0x72a8ae[_0x58924e/_0x504e2f|0x0]<<0x18),_0x49fece[_0x58924e]=_0x49fece[_0x58924e-_0x504e2f]^_0x2104ae);for(var _0x33799a=this['_invKeySchedule']=[],_0x378ba5=0x0;_0x378ba5<_0x3d0865;_0x378ba5++){var _0x58924e=_0x3d0865-_0x378ba5;if(_0x378ba5%0x4)var _0x2104ae=_0x49fece[_0x58924e];else var _0x2104ae=_0x49fece[_0x58924e-0x4];_0x378ba5<0x4||_0x58924e<=0x4?_0x33799a[_0x378ba5]=_0x2104ae:_0x33799a[_0x378ba5]=_0x2b2ab9[_0x9d25bc[_0x2104ae>>>0x18]]^_0x5c3c46[_0x9d25bc[_0x2104ae>>>0x10&0xff]]^_0x2bbaa6[_0x9d25bc[_0x2104ae>>>0x8&0xff]]^_0x427156[_0x9d25bc[_0x2104ae&0xff]];}}},'encryptBlock':function(_0x85705d,_0x2ef97c){var _0x150f88=_0x825afd;this[_0x150f88(0x2fb)](_0x85705d,_0x2ef97c,this[_0x150f88(0x16e)],_0x9967a8,_0x512876,_0x51e19e,_0x32e13b,_0x9d25bc);},'decryptBlock':function(_0x11f177,_0x1e6c8f){var _0x4acd34=_0x825afd,_0x13dc10=_0x11f177[_0x1e6c8f+0x1];_0x11f177[_0x1e6c8f+0x1]=_0x11f177[_0x1e6c8f+0x3],_0x11f177[_0x1e6c8f+0x3]=_0x13dc10,this['_doCryptBlock'](_0x11f177,_0x1e6c8f,this[_0x4acd34(0x214)],_0x2b2ab9,_0x5c3c46,_0x2bbaa6,_0x427156,_0x4468f3);var _0x13dc10=_0x11f177[_0x1e6c8f+0x1];_0x11f177[_0x1e6c8f+0x1]=_0x11f177[_0x1e6c8f+0x3],_0x11f177[_0x1e6c8f+0x3]=_0x13dc10;},'_doCryptBlock':function(_0x34472a,_0x14569a,_0x3f01b3,_0x433b76,_0x2d2f24,_0x2df96c,_0x4d9e60,_0x953a72){var _0x3a4cae=_0x825afd;for(var _0x39dc0c=this[_0x3a4cae(0x2d9)],_0x5924f7=_0x34472a[_0x14569a]^_0x3f01b3[0x0],_0x1129e0=_0x34472a[_0x14569a+0x1]^_0x3f01b3[0x1],_0x2c418b=_0x34472a[_0x14569a+0x2]^_0x3f01b3[0x2],_0x4448f3=_0x34472a[_0x14569a+0x3]^_0x3f01b3[0x3],_0x36b1dd=0x4,_0x38aefa=0x1;_0x38aefa<_0x39dc0c;_0x38aefa++){var _0x536ee9=_0x433b76[_0x5924f7>>>0x18]^_0x2d2f24[_0x1129e0>>>0x10&0xff]^_0x2df96c[_0x2c418b>>>0x8&0xff]^_0x4d9e60[_0x4448f3&0xff]^_0x3f01b3[_0x36b1dd++],_0x37c53e=_0x433b76[_0x1129e0>>>0x18]^_0x2d2f24[_0x2c418b>>>0x10&0xff]^_0x2df96c[_0x4448f3>>>0x8&0xff]^_0x4d9e60[_0x5924f7&0xff]^_0x3f01b3[_0x36b1dd++],_0x7002b6=_0x433b76[_0x2c418b>>>0x18]^_0x2d2f24[_0x4448f3>>>0x10&0xff]^_0x2df96c[_0x5924f7>>>0x8&0xff]^_0x4d9e60[_0x1129e0&0xff]^_0x3f01b3[_0x36b1dd++],_0x1ca72b=_0x433b76[_0x4448f3>>>0x18]^_0x2d2f24[_0x5924f7>>>0x10&0xff]^_0x2df96c[_0x1129e0>>>0x8&0xff]^_0x4d9e60[_0x2c418b&0xff]^_0x3f01b3[_0x36b1dd++];_0x5924f7=_0x536ee9,_0x1129e0=_0x37c53e,_0x2c418b=_0x7002b6,_0x4448f3=_0x1ca72b;}var _0x536ee9=(_0x953a72[_0x5924f7>>>0x18]<<0x18|_0x953a72[_0x1129e0>>>0x10&0xff]<<0x10|_0x953a72[_0x2c418b>>>0x8&0xff]<<0x8|_0x953a72[_0x4448f3&0xff])^_0x3f01b3[_0x36b1dd++],_0x37c53e=(_0x953a72[_0x1129e0>>>0x18]<<0x18|_0x953a72[_0x2c418b>>>0x10&0xff]<<0x10|_0x953a72[_0x4448f3>>>0x8&0xff]<<0x8|_0x953a72[_0x5924f7&0xff])^_0x3f01b3[_0x36b1dd++],_0x7002b6=(_0x953a72[_0x2c418b>>>0x18]<<0x18|_0x953a72[_0x4448f3>>>0x10&0xff]<<0x10|_0x953a72[_0x5924f7>>>0x8&0xff]<<0x8|_0x953a72[_0x1129e0&0xff])^_0x3f01b3[_0x36b1dd++],_0x1ca72b=(_0x953a72[_0x4448f3>>>0x18]<<0x18|_0x953a72[_0x5924f7>>>0x10&0xff]<<0x10|_0x953a72[_0x1129e0>>>0x8&0xff]<<0x8|_0x953a72[_0x2c418b&0xff])^_0x3f01b3[_0x36b1dd++];_0x34472a[_0x14569a]=_0x536ee9,_0x34472a[_0x14569a+0x1]=_0x37c53e,_0x34472a[_0x14569a+0x2]=_0x7002b6,_0x34472a[_0x14569a+0x3]=_0x1ca72b;},'keySize':0x100/0x20});_0x1b4c29[_0x825afd(0x477)]=_0x2391e5[_0x825afd(0x339)](_0xec5893);}()),_0x577a40[_0x1bb3c8(0x477)];}));}(_0x386aa5)),_0x386aa5['exports'];}var _0x533406=_0xb8b27c();const _0x41a5e1=_0x379320(_0x533406);var _0x274332=_0x107eef();const _0x322413=_0x379320(_0x274332);var _0x330ad3={'exports':{}},_0x512bcd=_0x330ad3[_0xe600ea(0x1af)],_0x391392;function _0x4bbb33(){var _0x40790d=_0xe600ea;return _0x391392||(_0x391392=0x1,function(_0x33316d,_0x13f81d){(function(_0x5aaafb,_0x106922){var _0x3c3436=_0x239d;_0x33316d[_0x3c3436(0x1af)]=_0x106922(_0xa7bb9e());}(_0x512bcd,function(_0x319a98){var _0x6c6299=_0x239d;return _0x319a98[_0x6c6299(0x280)][_0x6c6299(0x43e)];}));}(_0x330ad3)),_0x330ad3[_0x40790d(0x1af)];}var _0x2e5137=_0x4bbb33();const _0x217195=_0x379320(_0x2e5137);var _0x4951a1={'exports':{}},_0xd632a6=_0x4951a1[_0xe600ea(0x1af)],_0x38cee9;function _0x4d0303(){var _0x460ec2=_0xe600ea;return _0x38cee9||(_0x38cee9=0x1,function(_0x1f706d,_0x38c98a){(function(_0x198c50,_0x203a0b){var _0x99673e=_0x239d;_0x1f706d[_0x99673e(0x1af)]=_0x203a0b(_0xa7bb9e());}(_0xd632a6,function(_0x2828ce){var _0x3f2f4a=_0x239d;return(function(){var _0x6ad9bb=_0x239d;if(typeof ArrayBuffer==_0x6ad9bb(0x38c)){var _0x494266=_0x2828ce,_0x29ca2f=_0x494266[_0x6ad9bb(0x300)],_0x59c0e0=_0x29ca2f[_0x6ad9bb(0x36e)],_0x2d4966=_0x59c0e0['init'],_0x2ee653=_0x59c0e0[_0x6ad9bb(0x2ff)]=function(_0x9174f9){var _0x3b56d2=_0x6ad9bb;if(_0x9174f9 instanceof ArrayBuffer&&(_0x9174f9=new Uint8Array(_0x9174f9)),(_0x9174f9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x9174f9 instanceof Uint8ClampedArray||_0x9174f9 instanceof Int16Array||_0x9174f9 instanceof Uint16Array||_0x9174f9 instanceof Int32Array||_0x9174f9 instanceof Uint32Array||_0x9174f9 instanceof Float32Array||_0x9174f9 instanceof Float64Array)&&(_0x9174f9=new Uint8Array(_0x9174f9[_0x3b56d2(0x25f)],_0x9174f9[_0x3b56d2(0x1e9)],_0x9174f9[_0x3b56d2(0x1fe)])),_0x9174f9 instanceof Uint8Array){for(var _0x4eff2b=_0x9174f9['byteLength'],_0x1ae02b=[],_0x57bc9f=0x0;_0x57bc9f<_0x4eff2b;_0x57bc9f++)_0x1ae02b[_0x57bc9f>>>0x2]|=_0x9174f9[_0x57bc9f]<<0x18-_0x57bc9f%0x4*0x8;_0x2d4966['call'](this,_0x1ae02b,_0x4eff2b);}else _0x2d4966[_0x3b56d2(0x4b0)](this,arguments);};_0x2ee653[_0x6ad9bb(0x2e9)]=_0x59c0e0;}}()),_0x2828ce[_0x3f2f4a(0x300)][_0x3f2f4a(0x36e)];}));}(_0x4951a1)),_0x4951a1[_0x460ec2(0x1af)];}var _0x3a43f5=_0x4d0303();const _0x40634d=_0x379320(_0x3a43f5);var _0x291ded={'exports':{}},_0x4c803f=_0x291ded['exports'],_0x522de1;function _0x2f9e37(){return _0x522de1||(_0x522de1=0x1,function(_0x514920,_0x47c7f1){(function(_0x5a2327,_0x50908f,_0x2c0e56){var _0x20d2db=_0x239d;_0x514920[_0x20d2db(0x1af)]=_0x50908f(_0xa7bb9e(),_0x708350());}(_0x4c803f,function(_0xd2efe4){var _0x38bd46=_0x239d;return _0xd2efe4[_0x38bd46(0x1fd)][_0x38bd46(0x3b4)]={'pad':function(){},'unpad':function(){}},_0xd2efe4[_0x38bd46(0x1fd)][_0x38bd46(0x3b4)];}));}(_0x291ded)),_0x291ded['exports'];}var _0x2cea47=_0x2f9e37();const _0x1a8d55=_0x379320(_0x2cea47);function _0x24ec76(_0x1e5e2e,_0x2172f6){var _0x30b233=_0xe600ea;const _0x28e7f8=_0x2172f6-_0x1e5e2e[_0x30b233(0x4ac)]%_0x2172f6,_0x293fa6=String['fromCharCode'](_0x28e7f8)[_0x30b233(0x3f6)](_0x28e7f8);return _0x1e5e2e+_0x293fa6;}function _0x5189a1(_0x3b1035,_0x45da8c){var _0xd5c116=_0xe600ea;const _0x3793dc=_0x40634d[_0xd5c116(0x1e2)](0x10),_0x3ad99a=_0x24ec76(_0x3b1035,0x10),_0x35e196=_0x41a5e1['encrypt'](_0x217195[_0xd5c116(0x19f)](_0x3ad99a),_0x322413['parse'](_0x45da8c),{'iv':_0x3793dc,'padding':_0x1a8d55});return _0x3793dc[_0xd5c116(0x3ac)](_0x35e196[_0xd5c116(0x2fa)])[_0xd5c116(0x4c6)](_0x322413);}function _0x3862df(){var _0x5c091b=_0xe600ea;const _0x299306=_0x53486c[_0x5c091b(0x3dd)]()['__Key__'];if(_0x299306){const _0x428ffd={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x5c091b(0x3ab)]};return _0x5189a1(JSON[_0x5c091b(0x4ea)](_0x428ffd),_0x299306);}}var _0x4fed5a=Object[_0xe600ea(0x305)],_0x571a57=(_0x3e9ae9,_0xb8669a,_0x20fb72,_0x1fef7a)=>{var _0x520108=_0xe600ea;for(var _0x21e024=_0x1fef7a>0x1?void 0x0:_0x1fef7a?_0x4fed5a(_0xb8669a,_0x20fb72):_0xb8669a,_0x381462=_0x3e9ae9[_0x520108(0x4ac)]-0x1,_0xb0cc04;_0x381462>=0x0;_0x381462--)(_0xb0cc04=_0x3e9ae9[_0x381462])&&(_0x21e024=_0xb0cc04(_0x21e024)||_0x21e024);return _0x21e024;},_0x489433=(_0x371ea9,_0x5f4323)=>(_0x42a208,_0x2b934a)=>_0x5f4323(_0x42a208,_0x2b934a,_0x371ea9);let _0x3c0d90=class{constructor(_0xcabeae){var _0x4d8b52=_0xe600ea;this['_httpService']=_0xcabeae,this[_0x4d8b52(0x1b5)]();}[_0xe600ea(0x1b5)](){var _0x42a6d2=_0xe600ea;this[_0x42a6d2(0x26d)][_0x42a6d2(0x410)]({'interceptor':(_0x16bf41,_0x7582aa)=>{var _0x198932=_0x42a6d2;const _0x4cc00d=_0x16bf41[_0x198932(0x1d0)],_0x371683=_0x3862df();return _0x371683&&_0x4cc00d[_0x198932(0x1f9)](_0x198932(0x282),_0x371683),_0x7582aa(_0x16bf41);}});}};_0x3c0d90=_0x571a57([_0x489433(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x5d9456[_0xe600ea(0x2a3)]))],_0x3c0d90);var _0xcf3503=Object['getOwnPropertyDescriptor'],_0x3c908e=(_0xa010a2,_0x59ca40,_0xcb89fc,_0xd8d058)=>{var _0x2cefc7=_0xe600ea;for(var _0x37e164=_0xd8d058>0x1?void 0x0:_0xd8d058?_0xcf3503(_0x59ca40,_0xcb89fc):_0x59ca40,_0x32a9b8=_0xa010a2[_0x2cefc7(0x4ac)]-0x1,_0x48d53d;_0x32a9b8>=0x0;_0x32a9b8--)(_0x48d53d=_0xa010a2[_0x32a9b8])&&(_0x37e164=_0x48d53d(_0x37e164)||_0x37e164);return _0x37e164;},_0xd64254=(_0x35f9a8,_0x5d8736)=>(_0x8d0352,_0x32eff9)=>_0x5d8736(_0x8d0352,_0x32eff9,_0x35f9a8);_0x5ac5d4['DataLoaderService']=class extends _0x17feb2[_0xe600ea(0x286)]{constructor(_0x2ad047,_0x500cb1,_0x1a7301){var _0x259dbc=_0xe600ea;super(),_0x358222(this,'_unitInfo$',new _0xd6d137[(_0x259dbc(0x1f8))](null)),_0x358222(this,'unitInfo$',this[_0x259dbc(0x15f)][_0x259dbc(0x310)]()),(this[_0x259dbc(0x42f)]=_0x2ad047,this[_0x259dbc(0x20a)]=_0x500cb1,this[_0x259dbc(0x2a1)]=_0x1a7301);}async[_0xe600ea(0x3b1)](_0x483f54,_0x4de5f1,_0x4c9a27){var _0x492d13=_0xe600ea;this[_0x492d13(0x15f)]['next']({'unitId':_0x483f54,'type':_0x4de5f1});let _0x58f76a=null;switch(_0x4de5f1){case _0x45ea9e['UNIVER_SHEET']:{_0x58f76a=await this['_snapshotService']['loadSheet'](_0x483f54,_0x4c9a27);break;}case _0x45ea9e[_0x492d13(0x380)]:{_0x58f76a=await this[_0x492d13(0x20a)]['loadDoc'](_0x483f54,_0x4c9a27);break;}default:{this[_0x492d13(0x42f)][_0x492d13(0x343)]('[DataLoaderService]',_0x492d13(0x210));break;}}return _0x58f76a;}async[_0xe600ea(0x20b)](_0x30e079,_0x282796,_0x5799a7){var _0x165408=_0xe600ea,_0xd3b333;this[_0x165408(0x15f)][_0x165408(0x413)]({'unitId':_0x30e079,'type':_0x282796,'subUnitId':_0x5799a7});let _0x3a5087=0x0;const _0x1970ce=await((_0xd3b333=this[_0x165408(0x2a1)])==null?void 0x0:_0xd3b333[_0x165408(0x266)](_0x30e079));return _0x1970ce&&(_0x1970ce['awaitingChangeset']||_0x1970ce['mutations'][_0x165408(0x4ac)]!==0x0)&&(_0x3a5087=_0x1970ce[_0x165408(0x4b4)]),_0x3a5087===0x0&&this[_0x165408(0x42f)]['debug'](_0x165408(0x335),_0x165408(0x4e2)),this[_0x165408(0x3b1)](_0x30e079,_0x282796,_0x3a5087);}},_0x5ac5d4[_0xe600ea(0x3f4)]=_0x3c908e([_0xd64254(0x0,_0x17feb2[_0xe600ea(0x2b8)]),_0xd64254(0x1,_0x17feb2[_0xe600ea(0x1c2)](_0x254674['SnapshotService'])),_0xd64254(0x2,_0x17feb2[_0xe600ea(0x3ee)](_0x2d8396))],_0x5ac5d4[_0xe600ea(0x3f4)]);var _0x167dcc=Object[_0xe600ea(0x305)],_0x5b4a48=(_0x163d97,_0x272721,_0x16d423,_0x4a7569)=>{for(var _0x1dde60=_0x4a7569>0x1?void 0x0:_0x4a7569?_0x167dcc(_0x272721,_0x16d423):_0x272721,_0x5501f4=_0x163d97['length']-0x1,_0x29e6fa;_0x5501f4>=0x0;_0x5501f4--)(_0x29e6fa=_0x163d97[_0x5501f4])&&(_0x1dde60=_0x29e6fa(_0x1dde60)||_0x1dde60);return _0x1dde60;},_0xaf9b24=(_0x4e1089,_0x183aff)=>(_0x2eff35,_0x4bc707)=>_0x183aff(_0x2eff35,_0x4bc707,_0x4e1089);const _0x15b835=[_0xe600ea(0x2af),_0xe600ea(0x442),_0xe600ea(0x284),_0xe600ea(0x309),_0xe600ea(0x49f)],_0x176568=0x5*0x400*0x400,_0x14a302='/universer-api/stream/file/upload',_0x4add0b=_0xe600ea(0x3da);_0x5ac5d4[_0xe600ea(0x420)]=class{constructor(_0xf0df6a,_0x58401d,_0x1e55ca){var _0x2dabd3=_0xe600ea;_0x358222(this,_0x2dabd3(0x4c1),0x0),_0x358222(this,'_change$',new _0xd6d137[(_0x2dabd3(0x247))]()),_0x358222(this,_0x2dabd3(0x297),this[_0x2dabd3(0x497)]),_0x358222(this,'_imageSourceCache',new Map()),(this['_httpService']=_0xf0df6a,this[_0x2dabd3(0x164)]=_0x58401d,this[_0x2dabd3(0x1c4)]=_0x1e55ca);}['setWaitCount'](_0x125258){var _0x4af8fa=_0xe600ea;this[_0x4af8fa(0x4c1)]=_0x125258,this[_0x4af8fa(0x497)]['next'](_0x125258);}[_0xe600ea(0x383)](_0xf36e95,_0x47374e){var _0xe95235=_0xe600ea;if(_0x47374e===_0x513afe[_0xe95235(0x223)][_0xe95235(0x4b2)]){const _0x221ffa=new Image();return _0x221ffa[_0xe95235(0x44b)]=_0xf36e95,_0x221ffa;}return this[_0xe95235(0x25a)]['get'](_0xf36e95);}[_0xe600ea(0x1d9)](_0x2892ba,_0x4bbf6a,_0x4102ee){var _0x1e053d=_0xe600ea;_0x4bbf6a===_0x513afe[_0x1e053d(0x223)][_0x1e053d(0x4b2)]||_0x4102ee==null||this[_0x1e053d(0x25a)][_0x1e053d(0x1f9)](_0x2892ba,_0x4102ee);}async[_0xe600ea(0x46f)](_0xbadf2e){var _0x43ca75=_0xe600ea;try{const _0x505667=this[_0x43ca75(0x49d)](this[_0x43ca75(0x47e)](),''+_0xbadf2e),_0x4744de=(await this[_0x43ca75(0x26d)][_0x43ca75(0x299)](_0x505667))[_0x43ca75(0x201)];if(_0x4744de['error']&&_0x4744de[_0x43ca75(0x343)][_0x43ca75(0x4a9)]===_0x1a6891['OK']){const _0x2bb8b9=new URL(_0x4744de['url'],this[_0x43ca75(0x1eb)]())['toString']();return Promise['resolve'](_0x2bb8b9);}return Promise['reject'](_0x4744de['error']);}catch(_0x566627){return Promise['reject'](_0x566627);}}async[_0xe600ea(0x433)](_0xb5d289){var _0xe2d452=_0xe600ea;let _0x37d383='';if(!_0x15b835[_0xe2d452(0x350)](_0xb5d289[_0xe2d452(0x285)]))return this['_decreaseWaiting'](),Promise[_0xe2d452(0x15a)](new Error(_0x513afe['ImageUploadStatusType'][_0xe2d452(0x3d7)]));if(_0xb5d289[_0xe2d452(0x2b4)]>_0x176568)return this[_0xe2d452(0x18c)](),Promise[_0xe2d452(0x15a)](new Error(_0x513afe[_0xe2d452(0x499)][_0xe2d452(0x1ff)]));try{const _0x1029a0=new FormData();_0x1029a0[_0xe2d452(0x1b9)](_0xe2d452(0x317),_0xb5d289);const _0x3c83db=this[_0xe2d452(0x1c4)]['getFocusedUnit'](),_0x592323=_0x3c83db==null?void 0x0:_0x3c83db[_0xe2d452(0x23e)]();if(!_0x592323)throw new Error(_0xe2d452(0x469));const _0xd6153a=this[_0xe2d452(0x3c7)]()+'?size='+_0xb5d289[_0xe2d452(0x2b4)][_0xe2d452(0x4c6)]()+'&source='+_0x592339[_0xe2d452(0x40a)]+_0xe2d452(0x457)+encodeURIComponent(_0x592323),_0x4b9511={'body':_0x1029a0},_0x2c5347=(await this[_0xe2d452(0x26d)][_0xe2d452(0x465)](_0xd6153a,_0x4b9511))[_0xe2d452(0x201)];if(typeof _0x2c5347['FileId']!=_0xe2d452(0x1ed))return this[_0xe2d452(0x18c)](),Promise['reject'](new Error(_0x513afe[_0xe2d452(0x499)][_0xe2d452(0x274)]));_0x37d383=_0x2c5347[_0xe2d452(0x3c4)];}catch{return this[_0xe2d452(0x18c)](),Promise[_0xe2d452(0x15a)](new Error(_0x513afe[_0xe2d452(0x499)][_0xe2d452(0x274)]));}return new Promise((_0x18221b,_0x55feb3)=>{var _0x2a7e2b=_0xe2d452;const _0x1b7ea9=new FileReader();_0x1b7ea9[_0x2a7e2b(0x2f4)](_0xb5d289),_0x1b7ea9[_0x2a7e2b(0x4b7)]=_0x5a4573=>{var _0xede8a8=_0x2a7e2b,_0x2e7837;const _0x4a8d7f=(_0x2e7837=_0x5a4573[_0xede8a8(0x3a9)])==null?void 0x0:_0x2e7837[_0xede8a8(0x446)];if(_0x4a8d7f==null){this[_0xede8a8(0x18c)](),_0x55feb3(new Error(_0x513afe[_0xede8a8(0x499)][_0xede8a8(0x274)]));return;}const _0x341fa0=_0x17feb2[_0xede8a8(0x445)](0x6);_0x18221b({'imageId':_0x341fa0,'imageSourceType':_0x513afe[_0xede8a8(0x223)][_0xede8a8(0x471)],'source':_0x37d383,'base64Cache':_0x4a8d7f,'status':_0x513afe['ImageUploadStatusType']['SUCCUSS']}),this[_0xede8a8(0x18c)]();};});}['_getUploadFileURL'](){var _0x4570ea=_0xe600ea,_0x479b14;const _0x23d1c9=this[_0x4570ea(0x164)][_0x4570ea(0x1aa)](_0x566bcc);return(_0x479b14=_0x23d1c9==null?void 0x0:_0x23d1c9[_0x4570ea(0x205)])!=null?_0x479b14:_0x14a302;}[_0xe600ea(0x47e)](){var _0x5c168f=_0xe600ea,_0x14db4a;const _0x15ae88=this['_configService']['getConfig'](_0x566bcc);return(_0x14db4a=_0x15ae88==null?void 0x0:_0x15ae88[_0x5c168f(0x418)])!=null?_0x14db4a:_0x4add0b;}['_getDownloadEndpointURL'](){var _0x314cc2=_0xe600ea,_0xa67f91;const _0x31bac9=this[_0x314cc2(0x164)][_0x314cc2(0x1aa)](_0x566bcc);return(_0xa67f91=_0x31bac9==null?void 0x0:_0x31bac9[_0x314cc2(0x357)])!=null?_0xa67f91:location['origin'];}[_0xe600ea(0x49d)](_0x284087,_0x3c0aa7){var _0x3830bc=_0xe600ea;return _0x284087[_0x3830bc(0x1b1)](_0x3830bc(0x327),_0x3c0aa7);}[_0xe600ea(0x18c)](){var _0x50f5f9=_0xe600ea;this[_0x50f5f9(0x4c1)]-=0x1,this[_0x50f5f9(0x497)][_0x50f5f9(0x413)](this[_0x50f5f9(0x4c1)]);}},_0x5ac5d4['CollaborationImageIoService']=_0x5b4a48([_0xaf9b24(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x5d9456[_0xe600ea(0x2a3)])),_0xaf9b24(0x1,_0x17feb2['IConfigService']),_0xaf9b24(0x2,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2['IUniverInstanceService']))],_0x5ac5d4[_0xe600ea(0x420)]);var _0x2918da=Object[_0xe600ea(0x305)],_0x5c73e1=(_0x162871,_0x30ff95,_0x4f73dd,_0x4ac4de)=>{var _0x1065d2=_0xe600ea;for(var _0x5a3cc1=_0x4ac4de>0x1?void 0x0:_0x4ac4de?_0x2918da(_0x30ff95,_0x4f73dd):_0x30ff95,_0x3916ac=_0x162871[_0x1065d2(0x4ac)]-0x1,_0x416e20;_0x3916ac>=0x0;_0x3916ac--)(_0x416e20=_0x162871[_0x3916ac])&&(_0x5a3cc1=_0x416e20(_0x5a3cc1)||_0x5a3cc1);return _0x5a3cc1;},_0x5422ff=(_0x3d8a33,_0x543fc6)=>(_0x497cfe,_0x497f66)=>_0x543fc6(_0x497cfe,_0x497f66,_0x3d8a33);const _0x3740a0='/universer-api/authz';_0x5ac5d4[_0xe600ea(0x318)]=class{constructor(_0x520aa1,_0xba7d75){var _0xf6f407=_0xe600ea;this[_0xf6f407(0x164)]=_0x520aa1,this['_HTTPService']=_0xba7d75;}[_0xe600ea(0x3cf)](){var _0x56db30;const _0x14f814=this['_configService']['getConfig'](_0x566bcc);return(_0x56db30=_0x14f814==null?void 0x0:_0x14f814['authzUrl'])!=null?_0x56db30:_0x3740a0;}async[_0xe600ea(0x175)](_0x18a76b){var _0x2345d4=_0xe600ea;const _0xa31c48=this[_0x2345d4(0x3cf)]()+_0x2345d4(0x479);return{'list':[{'title':_0x2345d4(0x1a6),'mentions':(await this[_0x2345d4(0x187)]['get'](_0xa31c48,{'params':{'objectID':_0x18a76b[_0x2345d4(0x2e2)],'unitID':_0x18a76b['unitId']}}))[_0x2345d4(0x201)][_0x2345d4(0x484)][_0x2345d4(0x4ab)](_0x43a0f1=>({'objectId':_0x43a0f1['id'],'name':_0x43a0f1[_0x2345d4(0x495)][_0x2345d4(0x234)],'metadata':{'icon':_0x43a0f1['subject']['avatar']},'label':_0x43a0f1['subject'][_0x2345d4(0x234)],'objectType':_0x17feb2[_0x2345d4(0x45a)]['PERSON']})),'metadata':{},'type':_0x17feb2[_0x2345d4(0x45a)]['PERSON']}]};}},_0x5ac5d4['MentionIoHttpService']=_0x5c73e1([_0x5422ff(0x0,_0x17feb2[_0xe600ea(0x1c2)](_0x17feb2[_0xe600ea(0x1be)])),_0x5422ff(0x1,_0x17feb2[_0xe600ea(0x1c2)](_0x5d9456[_0xe600ea(0x2a3)]))],_0x5ac5d4[_0xe600ea(0x318)]);var _0x544b0a=Object[_0xe600ea(0x305)],_0x8ca295=(_0x1732fd,_0x39e581,_0x5520ec,_0x44a8c7)=>{var _0x38db14=_0xe600ea;for(var _0x40484d=_0x44a8c7>0x1?void 0x0:_0x44a8c7?_0x544b0a(_0x39e581,_0x5520ec):_0x39e581,_0x211cec=_0x1732fd[_0x38db14(0x4ac)]-0x1,_0x4eb201;_0x211cec>=0x0;_0x211cec--)(_0x4eb201=_0x1732fd[_0x211cec])&&(_0x40484d=_0x4eb201(_0x40484d)||_0x40484d);return _0x40484d;},_0x346ef6=(_0x35c3b1,_0x29f617)=>(_0x655a04,_0x5854b4)=>_0x29f617(_0x655a04,_0x5854b4,_0x35c3b1);let _0x58edb8=class extends _0x17feb2[_0xe600ea(0x286)]{constructor(_0x2a2450,_0x168bda,_0x47fce4,_0x53772,_0x3d00d1){var _0x17547d=_0xe600ea;super(),this['_injector']=_0x2a2450,this[_0x17547d(0x1c4)]=_0x168bda,this['_permissionService']=_0x47fce4,this[_0x17547d(0x487)]=_0x53772,this[_0x17547d(0x4ed)]=_0x3d00d1,this[_0x17547d(0x490)](),this[_0x17547d(0x32b)]();}[_0xe600ea(0x32b)](){var _0x576a42=_0xe600ea;const _0x62a14c=async _0x59c099=>{var _0x592261=_0x239d;(await this[_0x592261(0x487)][_0x592261(0x1b7)](_0x59c099))[_0x592261(0x37f)][_0x592261(0x28b)](_0x17b903['filter'](_0x3f9051=>_0x3f9051[_0x592261(0x4d0)]===_0x254674['CollaborationEvent'][_0x592261(0x4cb)]),_0x17b903[_0x592261(0x369)](this['dispose$']))[_0x592261(0x1c0)](_0xeb1f11=>{var _0x3de7c0=_0x592261;const _0x3674f7=_0xeb1f11,{reason:_0x495f88}=_0x3674f7[_0x3de7c0(0x2f6)];this['_collaborationUIEventService']['emitEvent']({'id':_0x5852a5['CLOSE_ROOM'],'data':_0x495f88}),this[_0x3de7c0(0x43a)][_0x3de7c0(0x474)](new _0xf0578e['WorkbookEditablePermission'](_0x59c099)['id'],!0x1),this[_0x3de7c0(0x487)][_0x3de7c0(0x1e4)](_0x59c099);});};_0xd6d137[_0x576a42(0x4bb)](this['_univerInstanceService'][_0x576a42(0x295)](_0x17feb2[_0x576a42(0x1dc)][_0x576a42(0x291)]),this[_0x576a42(0x1c4)][_0x576a42(0x295)](_0x17feb2[_0x576a42(0x1dc)][_0x576a42(0x380)]))[_0x576a42(0x28b)](_0x17b903[_0x576a42(0x4ab)](_0x456fb9=>_0x456fb9[_0x576a42(0x23e)]()),_0x17b903['filter'](_0x221d37=>!_0x17feb2[_0x576a42(0x3d1)](_0x221d37)),_0x17b903[_0x576a42(0x369)](this[_0x576a42(0x160)]))[_0x576a42(0x1c0)](_0x425ba7=>{_0x62a14c(_0x425ba7);});}[_0xe600ea(0x490)](){var _0xb34aae=_0xe600ea;const _0x802f42=async _0x57405b=>{var _0x40b27a=_0x239d;const _0x5dd069=await this['_collaborationSessionService']['requireSession'](_0x57405b),_0x273be6=this['_injector'][_0x40b27a(0x299)](_0xf0578e[_0x40b27a(0x3fd)]);_0x5dd069['event$'][_0x40b27a(0x28b)](_0x17b903[_0x40b27a(0x4a4)](_0x2d1093=>_0x2d1093['eventID']===_0x254674[_0x40b27a(0x411)][_0x40b27a(0x1ef)]),_0x17b903['takeUntil'](this[_0x40b27a(0x160)]))[_0x40b27a(0x1c0)](_0x160cfc=>{var _0x7598ea=_0x40b27a;const _0x1deab6=_0x160cfc,{objectId:_0x135217}=_0x1deab6[_0x7598ea(0x2f6)];_0x135217===_0x57405b?_0x273be6[_0x7598ea(0x4d5)](_0x57405b):_0x273be6[_0x7598ea(0x3a6)](_0x57405b,_0x135217);});};_0xd6d137[_0xb34aae(0x4bb)](this['_univerInstanceService'][_0xb34aae(0x295)](_0x17feb2['UniverInstanceType'][_0xb34aae(0x291)]))[_0xb34aae(0x28b)](_0x17b903[_0xb34aae(0x4ab)](_0x559ca8=>_0x559ca8['getUnitId']()),_0x17b903[_0xb34aae(0x4a4)](_0x41118a=>!_0x17feb2['isInternalEditorID'](_0x41118a)),_0x17b903['takeUntil'](this[_0xb34aae(0x160)]))[_0xb34aae(0x1c0)](_0x7fd00a=>{_0x802f42(_0x7fd00a);});}};_0x58edb8=_0x8ca295([_0x346ef6(0x0,_0x17feb2['Inject'](_0x17feb2['Injector'])),_0x346ef6(0x1,_0x17feb2[_0xe600ea(0x213)]),_0x346ef6(0x2,_0x17feb2['IPermissionService']),_0x346ef6(0x3,_0x17feb2[_0xe600ea(0x1c2)](_0x5ac5d4[_0xe600ea(0x439)])),_0x346ef6(0x4,_0x17feb2[_0xe600ea(0x1c2)](_0x2ee36c))],_0x58edb8);var _0x4060fe=Object[_0xe600ea(0x305)],_0x237b92=(_0x103093,_0xe77a04,_0x149e21,_0x5a91d8)=>{for(var _0x1780b0=_0x5a91d8>0x1?void 0x0:_0x5a91d8?_0x4060fe(_0xe77a04,_0x149e21):_0xe77a04,_0x10778f=_0x103093['length']-0x1,_0x1f9e70;_0x10778f>=0x0;_0x10778f--)(_0x1f9e70=_0x103093[_0x10778f])&&(_0x1780b0=_0x1f9e70(_0x1780b0)||_0x1780b0);return _0x1780b0;},_0x4cf7fc=(_0x477a27,_0xa3ec58)=>(_0x23077b,_0x18433e)=>_0xa3ec58(_0x23077b,_0x18433e,_0x477a27);_0x5ac5d4[_0xe600ea(0x2bb)]=class{constructor(_0x3f9237,_0x5aa433){var _0x18a2f2=_0xe600ea;this[_0x18a2f2(0x164)]=_0x3f9237,this['_httpService']=_0x5aa433;}async[_0xe600ea(0x1a8)](_0x5a668e,_0x457f67){var _0x3a8b01=_0xe600ea,_0x4e1785;const {unitID:_0x464764,type:_0x43739f,revision:_0x177bd2=0x0}=_0x457f67,_0x1c267f=this[_0x3a8b01(0x38b)]()+'/'+_0x43739f+_0x3a8b01(0x4e5)+_0x464764+_0x3a8b01(0x482)+_0x177bd2,_0x42b81b=(await this[_0x3a8b01(0x26d)][_0x3a8b01(0x299)](_0x1c267f))[_0x3a8b01(0x201)],_0x198593=(_0x4e1785=_0x42b81b['snapshot'])==null?void 0x0:_0x4e1785[_0x3a8b01(0x4e0)];if(_0x198593){const _0x4e4f14=_0x198593==null?void 0x0:_0x198593['originalMeta'],_0x26cac3=_0x254674['textEncoder'][_0x3a8b01(0x32c)](_0x254674[_0x3a8b01(0x48c)](_0x4e4f14));_0x198593[_0x3a8b01(0x288)]=_0x26cac3,Object[_0x3a8b01(0x374)](_0x198593[_0x3a8b01(0x333)])[_0x3a8b01(0x3b2)](([,_0x4d6bb2])=>{var _0x3b61c9=_0x3a8b01;const _0x425c34=_0x4d6bb2['originalMeta'],_0x4103a0=_0x254674[_0x3b61c9(0x2cd)][_0x3b61c9(0x32c)](_0x254674['b64DecodeUnicode'](_0x425c34));_0x4d6bb2['originalMeta']=_0x4103a0;});}return _0x42b81b;}async[_0xe600ea(0x1c7)](_0x37bbe0,_0x192657){var _0xdaa26b=_0xe600ea;const {unitID:_0x155fc5,type:_0x358b77,blockID:_0x4fcc06}=_0x192657,_0x3af81b=this[_0xdaa26b(0x262)]()+'/'+_0x358b77+'/unit/'+_0x155fc5+_0xdaa26b(0x2e4)+_0x4fcc06;return(await this[_0xdaa26b(0x26d)][_0xdaa26b(0x299)](_0x3af81b))['body'];}async['getDeserializedSheetBlock'](_0x1afd13,_0x338090){var _0xdc8203=_0xe600ea;const {unitID:_0x20468a,type:_0x2f5f02,blockID:_0x482635}=_0x338090,_0x345315=this['_getAPIPrefix']()+_0xdc8203(0x2e4)+_0x2f5f02+_0xdc8203(0x4e5)+_0x20468a+'/block/'+_0x482635;return(await this[_0xdc8203(0x26d)][_0xdc8203(0x299)](_0x345315))[_0xdc8203(0x201)];}async['fetchMissingChangesets'](_0x2b5fa9,_0x2a7eec){var _0x20bda3=_0xe600ea;const {unitID:_0x51169d,type:_0x469c2f,from:_0x469cfb,to:_0x49b9db}=_0x2a7eec,_0x2040bf=this[_0x20bda3(0x262)]()+'/'+_0x469c2f+'/unit/'+_0x51169d+_0x20bda3(0x428)+_0x469cfb+_0x20bda3(0x17d)+_0x49b9db;return(await this[_0x20bda3(0x26d)][_0x20bda3(0x299)](_0x2040bf))['body'];}['getSnapshotAPIPath'](){var _0x1dae3d=_0xe600ea,_0x342ab2;return(_0x342ab2=this[_0x1dae3d(0x164)][_0x1dae3d(0x1aa)](_0x78b8d2))!=null?_0x342ab2:this['_getAPIPrefix']();}[_0xe600ea(0x262)](){var _0x240254=_0xe600ea,_0x41bcd2;const _0x553f05=this[_0x240254(0x164)][_0x240254(0x1aa)](_0x566bcc);return(_0x41bcd2=_0x553f05==null?void 0x0:_0x553f05[_0x240254(0x3e0)])!=null?_0x41bcd2:_0x499d3c;}async[_0xe600ea(0x367)](_0x37c2d7,_0x510235){var _0x45c73f=_0xe600ea;const _0x2f6d87=_0x45c73f(0x261)+_0x510235[_0x45c73f(0x285)]+'/unit/'+_0x510235[_0x45c73f(0x224)]+_0x45c73f(0x467);return(await this[_0x45c73f(0x26d)]['get'](_0x2f6d87,{'params':{'resourceId':JSON['stringify'](_0x510235[_0x45c73f(0x3c5)])}}))[_0x45c73f(0x201)];}[_0xe600ea(0x3e1)](){var _0x2f37b5=_0xe600ea;throw new Error(_0x2f37b5(0x311));}[_0xe600ea(0x2d4)](){var _0x9d61be=_0xe600ea;throw new Error(_0x9d61be(0x311));}[_0xe600ea(0x3fb)](){var _0x1e70d8=_0xe600ea;throw new Error(_0x1e70d8(0x311));}['saveChangeset'](){var _0x1731fc=_0xe600ea;throw new Error(_0x1731fc(0x311));}[_0xe600ea(0x387)](){var _0x42c957=_0xe600ea;throw new Error(_0x42c957(0x311));}[_0xe600ea(0x47b)](){var _0x130641=_0xe600ea;throw new Error(_0x130641(0x311));}},_0x5ac5d4['SnapshotServerOverHTTPService']=_0x237b92([_0x4cf7fc(0x0,_0x17feb2[_0xe600ea(0x1be)]),_0x4cf7fc(0x1,_0x17feb2['Inject'](_0x5d9456[_0xe600ea(0x2a3)]))],_0x5ac5d4[_0xe600ea(0x2bb)]);var _0x5c40ee=Object[_0xe600ea(0x305)],_0x4fb627=(_0x5c6f95,_0x4b9b2b,_0x252c90,_0x3f55ba)=>{var _0x50bfd5=_0xe600ea;for(var _0x343e17=_0x3f55ba>0x1?void 0x0:_0x3f55ba?_0x5c40ee(_0x4b9b2b,_0x252c90):_0x4b9b2b,_0x3c1865=_0x5c6f95[_0x50bfd5(0x4ac)]-0x1,_0x5c9ad0;_0x3c1865>=0x0;_0x3c1865--)(_0x5c9ad0=_0x5c6f95[_0x3c1865])&&(_0x343e17=_0x5c9ad0(_0x343e17)||_0x343e17);return _0x343e17;},_0x10f827=(_0x2693be,_0x34bae7)=>(_0x168786,_0x110b2a)=>_0x34bae7(_0x168786,_0x110b2a,_0x2693be);_0x5ac5d4[_0xe600ea(0x2c2)]=class extends _0x17feb2[_0xe600ea(0x44d)]{constructor(_0x13a39d,_0x4dcc57,_0x4a478a,_0x4b61e9,_0x108207){var _0x29670f=_0xe600ea;super(_0x13a39d,_0x4dcc57,_0x4a478a),this[_0x29670f(0x3db)]=_0x4b61e9,this[_0x29670f(0x42f)]=_0x108207;}[_0xe600ea(0x1f2)](_0x934d5a,_0x164b3e){var _0x83d540=_0xe600ea;const _0x2ddc19=this['_getUndoStack'](_0x934d5a);if(_0x2ddc19)try{const _0x5cba46=this[_0x83d540(0x351)](_0x2ddc19,_0x164b3e);this[_0x83d540(0x225)](_0x934d5a,_0x5cba46);}catch(_0x17526d){this['_logService'][_0x83d540(0x343)](_0x83d540(0x2e8),_0x17526d),this[_0x83d540(0x3ea)](_0x934d5a);}const _0x4445f6=this['_getRedoStack'](_0x934d5a);if(_0x4445f6)try{const _0x34336e=this['_transformStack'](_0x4445f6,_0x164b3e);this[_0x83d540(0x289)](_0x934d5a,_0x34336e);}catch(_0xf8377b){this[_0x83d540(0x42f)][_0x83d540(0x343)](_0xf8377b),this[_0x83d540(0x176)](_0x934d5a);}}['_clearUndo'](_0xd9e6bc){var _0x5d0711=_0xe600ea;const _0x30d997=this[_0x5d0711(0x421)](_0xd9e6bc);_0x30d997&&(_0x30d997[_0x5d0711(0x4ac)]=0x0,this[_0x5d0711(0x4a5)]());}[_0xe600ea(0x176)](_0x1df360){var _0x58bae9=_0xe600ea;const _0x338b82=this[_0x58bae9(0x485)](_0x1df360);_0x338b82&&(_0x338b82['length']=0x0,this[_0x58bae9(0x4a5)]());}['_substituteUndoStack'](_0x321da8,_0x3584c9){var _0x38c237=_0xe600ea;this[_0x38c237(0x2ed)][_0x38c237(0x1f9)](_0x321da8,_0x3584c9),this[_0x38c237(0x4a5)]();}['_substituteRedoStack'](_0x23e751,_0x2e4a5a){var _0x1f9673=_0xe600ea;this[_0x1f9673(0x303)][_0x1f9673(0x1f9)](_0x23e751,_0x2e4a5a),this['_updateStatus']();}['_transformStack'](_0x42e95b,_0x2f2b3d){var _0x5d3cdc=_0xe600ea;const _0x485a0e=[];let _0x9a2704=_0x2f2b3d,_0x299122=_0x2f2b3d;for(let _0x3dabb8=_0x42e95b[_0x5d3cdc(0x4ac)]-0x1;_0x3dabb8>=0x0;_0x3dabb8--){const {unitID:_0x537c9f,undoMutations:_0x443fc5,redoMutations:_0x564a88}=_0x42e95b[_0x3dabb8],_0x8620a7=this[_0x5d3cdc(0x3db)][_0x5d3cdc(0x453)](_0x9a2704,_0x443fc5),_0x527721=this[_0x5d3cdc(0x3db)][_0x5d3cdc(0x453)](_0x299122,_0x564a88);if(_0x254674[_0x5d3cdc(0x184)](_0x8620a7)||_0x254674[_0x5d3cdc(0x184)](_0x527721)){this[_0x5d3cdc(0x42f)][_0x5d3cdc(0x343)]('[CollaborationUndoRedoService]',_0x5d3cdc(0x238),_0x8620a7,_0x527721);break;}_0x9a2704=_0x8620a7[_0x5d3cdc(0x41b)],_0x299122=_0x527721[_0x5d3cdc(0x41b)],_0x485a0e[_0x5d3cdc(0x2c3)]({'unitID':_0x537c9f,'undoMutations':_0x8620a7[_0x5d3cdc(0x41a)],'redoMutations':_0x527721[_0x5d3cdc(0x41a)]});}return _0x485a0e['reverse']();}},_0x5ac5d4[_0xe600ea(0x2c2)]=_0x4fb627([_0x10f827(0x0,_0x17feb2[_0xe600ea(0x213)]),_0x10f827(0x1,_0x17feb2[_0xe600ea(0x1ee)]),_0x10f827(0x2,_0x17feb2[_0xe600ea(0x444)]),_0x10f827(0x3,_0x254674['ITransformService']),_0x10f827(0x4,_0x17feb2[_0xe600ea(0x2b8)])],_0x5ac5d4[_0xe600ea(0x2c2)]);var _0x151313=Object[_0xe600ea(0x430)],_0x44587b=Object[_0xe600ea(0x305)],_0x49df1b=(_0x348388,_0x39f0dd,_0x506a49)=>_0x39f0dd in _0x348388?_0x151313(_0x348388,_0x39f0dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x506a49}):_0x348388[_0x39f0dd]=_0x506a49,_0x198e1a=(_0x2052b8,_0x1e3dd3,_0x28b519,_0x6785ec)=>{var _0x48f890=_0xe600ea;for(var _0x41dc3d=_0x6785ec>0x1?void 0x0:_0x6785ec?_0x44587b(_0x1e3dd3,_0x28b519):_0x1e3dd3,_0x383fad=_0x2052b8[_0x48f890(0x4ac)]-0x1,_0x5bf17d;_0x383fad>=0x0;_0x383fad--)(_0x5bf17d=_0x2052b8[_0x383fad])&&(_0x41dc3d=_0x5bf17d(_0x41dc3d)||_0x41dc3d);return _0x41dc3d;},_0x1994f8=(_0x5cb6b0,_0x3b3523)=>(_0x53c28e,_0x140877)=>_0x3b3523(_0x53c28e,_0x140877,_0x5cb6b0),_0x3109a9=(_0x273041,_0x967a0b,_0x4400f8)=>_0x49df1b(_0x273041,_0x967a0b+'',_0x4400f8);const _0x26d855=_0xe600ea(0x170);_0x5ac5d4[_0xe600ea(0x38d)]=class extends _0x17feb2[_0xe600ea(0x3bb)]{constructor(_0x302ea7,_0x2926ab,_0x4d9f85,_0x590c3c){var _0x32e9d0=_0xe600ea;super(),_0x358222(this,_0x32e9d0(0x294)),(this['_logService']=_0x2926ab,this[_0x32e9d0(0x4bf)]=_0x4d9f85,this['_configService']=_0x590c3c);const {..._0x44d179}=_0x17feb2[_0x32e9d0(0x4bb)]({},_0x55e88d,_0x302ea7);if(!_0x44d179[_0x32e9d0(0x1f3)])throw new Error(_0x32e9d0(0x4dc));this[_0x32e9d0(0x294)]=_0x44d179,this[_0x32e9d0(0x164)][_0x32e9d0(0x41c)](_0x566bcc,_0x44d179);}[_0xe600ea(0x355)](){var _0x51e931=_0xe600ea;this[_0x51e931(0x206)](),this[_0x51e931(0x401)]();}[_0xe600ea(0x206)](){var _0x70dd27=_0xe600ea,_0x3ac018,_0x4b053a;this[_0x70dd27(0x4bf)]['has'](_0x17feb2[_0x70dd27(0x26f)])&&this[_0x70dd27(0x42f)][_0x70dd27(0x343)](_0x70dd27(0x4d1),_0x70dd27(0x324));const _0x1ff83c=_0x17feb2['mergeOverrideWithDependencies']([[_0x17feb2[_0x70dd27(0x26f)],{'useClass':_0x5ac5d4['CollaborativeUndoRedoService']}],[_0x5ac5d4[_0x70dd27(0x439)]],[_0x5ac5d4[_0x70dd27(0x325)]],[_0x5ac5d4[_0x70dd27(0x26e)]],[_0x1d325e],[_0x3c0d90],[_0x16bd41],[_0x58edb8],[_0x2ee36c],[_0x5ac5d4[_0x70dd27(0x3f4)]],[_0x15e7ae,{'useClass':this['_config'][_0x70dd27(0x1f3)]}],[_0x254674[_0x70dd27(0x19c)],{'useClass':_0x5ac5d4[_0x70dd27(0x2bb)]}],[_0x17feb2[_0x70dd27(0x417)],{'useClass':_0x5ac5d4[_0x70dd27(0x198)]}],[_0x513afe['IImageIoService'],{'useClass':_0x5ac5d4[_0x70dd27(0x420)]}],[_0x17feb2[_0x70dd27(0x39d)],{'useClass':_0x5ac5d4[_0x70dd27(0x318)]}],[_0x5ac5d4['CollaborationController']],[_0x3876c7]],(_0x3ac018=this[_0x70dd27(0x294)])==null?void 0x0:_0x3ac018['override']);if(!((_0x4b053a=this[_0x70dd27(0x294)])!=null&&_0x4b053a['enableSingleActiveInstanceLock'])){const _0x14a2ee=_0x1ff83c[_0x70dd27(0x2bc)](([_0x276aaf])=>_0x276aaf===_0xba00e);_0x14a2ee!==-0x1&&_0x1ff83c[_0x70dd27(0x2ae)](_0x14a2ee,0x1);}_0x17feb2['registerDependencies'](this['_injector'],_0x1ff83c);}[_0xe600ea(0x401)](){var _0x4796b4=_0xe600ea,_0x4d2e45,_0x29b2c1,_0xabf643;this['_injector'][_0x4796b4(0x299)](_0x5d9456[_0x4796b4(0x2a3)])[_0x4796b4(0x410)]({'priority':0x14,'interceptor':_0x5d9456[_0x4796b4(0x221)]({'maxParallel':0x6})}),(_0x4d2e45=this[_0x4796b4(0x294)])!=null&&_0x4d2e45['enableOfflineEditing']||(_0x29b2c1=this[_0x4796b4(0x4bf)][_0x4796b4(0x299)](_0x2d8396,_0x17feb2['Quantity'][_0x4796b4(0x4ee)]))==null||_0x29b2c1[_0x4796b4(0x458)](),(_0xabf643=this[_0x4796b4(0x294)])!=null&&_0xabf643[_0x4796b4(0x2b7)]&&_0x17feb2[_0x4796b4(0x40b)](this[_0x4796b4(0x4bf)],[[_0x1d325e]]),_0x17feb2['touchDependencies'](this[_0x4796b4(0x4bf)],[[_0x3c0d90],[_0x5ac5d4[_0x4796b4(0x3be)]],[_0x58edb8]]);}},_0x3109a9(_0x5ac5d4[_0xe600ea(0x38d)],_0xe600ea(0x37b),_0x26d855),_0x5ac5d4[_0xe600ea(0x38d)]=_0x198e1a([_0x17feb2[_0xe600ea(0x2fc)](_0x254674[_0xe600ea(0x3f2)],_0x5d9456[_0xe600ea(0x3b9)]),_0x1994f8(0x1,_0x17feb2[_0xe600ea(0x2b8)]),_0x1994f8(0x2,_0x17feb2['Inject'](_0x17feb2['Injector'])),_0x1994f8(0x3,_0x17feb2[_0xe600ea(0x1be)])],_0x5ac5d4[_0xe600ea(0x38d)]),_0x5ac5d4[_0xe600ea(0x22e)]=_0x566bcc,_0x5ac5d4[_0xe600ea(0x4bc)]=_0x93c01f,_0x5ac5d4['CollaborationUIEventId']=_0x5852a5,_0x5ac5d4['CollaborationUIEventService']=_0x2ee36c,_0x5ac5d4[_0xe600ea(0x2cb)]=_0x16bd41,_0x5ac5d4[_0xe600ea(0x360)]=_0x7074fe,_0x5ac5d4[_0xe600ea(0x306)]=_0x3427a4,_0x5ac5d4[_0xe600ea(0x30f)]=_0x467298,_0x5ac5d4[_0xe600ea(0x376)]=_0x6e4708,_0x5ac5d4[_0xe600ea(0x473)]=_0x2ffda5,_0x5ac5d4[_0xe600ea(0x336)]=_0x15e7ae,_0x5ac5d4[_0xe600ea(0x174)]=_0x2d8396,_0x5ac5d4['INetworkConditionService']=_0x5304a7,_0x5ac5d4[_0xe600ea(0x3a0)]=_0xba00e,_0x5ac5d4[_0xe600ea(0x429)]=0x3e8,_0x5ac5d4[_0xe600ea(0x32a)]=_0x3b999d,_0x5ac5d4[_0xe600ea(0x396)]=_0x212dcf,_0x5ac5d4[_0xe600ea(0x406)]=_0x273ad5,_0x5ac5d4[_0xe600ea(0x237)]=_0x57cde5,_0x5ac5d4[_0xe600ea(0x34a)]=_0x1eb2dd,_0x5ac5d4[_0xe600ea(0x34d)]=_0x594894,_0x5ac5d4['getLocalCacheKey']=_0x22e215,_0x5ac5d4[_0xe600ea(0x456)]=_0x2ea570,Object['defineProperty'](_0x5ac5d4,Symbol[_0xe600ea(0x18f)],{'value':_0xe600ea(0x239)});}));function _0x14f8(){var _0xc2685b=['transformMutationsWithChangeset','Could\x20not\x20dynamically\x20require\x20\x22','_sessions','serializeCombRequest','&assign=','disableLocalCache','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','MentionType','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_minBufferSize','/allowed','[PendingState]:\x20unhandled\x20univer\x20type:\x20','REDEMPTION_CODE_FULLY_REDEEMED','AwaitingWithPendingState','HEARTBEAT','mixIn','_map','_doReset','post','salt','/resources','RevisionService','unitId\x20is\x20not\x20found','USER_NOT_FOUND','close','uniscriptRunEvent','_clearScheduledTask','EvpKDF','getImage','_clearLocalCache','UUID','Base64','HEARTBEAT_TIMEOUT_KEY','updatePermissionPoint','_state','_sessionStatus$','AES','now','/collaborator','getTypeOfUnitDisposed$','getLatestCsReqIdBySid','LIVESHARE_TERMINATE','localeService','_getSignURL','PendingState','hasher','take','/rev/','fromCollab','collaborators','_getRedoStack','textRanges','_collaborationSessionService','[CollaborationSessionService]:\x20socket\x20error','onRemoteChangeset','_timeoutTimer','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','b64DecodeUnicode','join','303571DCsGGJ','selections','_initUnitPermissionChange','_getCtorByUniverType','_DEC_XFORM_MODE','HttpExport','_socket$','subject','values','_change$','sequenceExecute','ImageUploadStatusType','Error\x20on\x20receiving\x20event','_doFinalize','_scheduleCollaborationTimeoutTimer','_replaceFileID','disposeWithMe','image/bmp','object','sessionStatus$','CollaborationSocketService','_cipher','filter','_updateStatus','isArray','baseRev','Tools','code','getCollabEntity','map','length','decrypt','UniverCore','_handlerCallback','apply','status','BASE64','REDEMPTION_CODE_HAS_BEEN_CREATED','rev','BlockCipher','UniverDrawing','onload','_entities','keySize','charCodeAt','merge','CollaborationStatus','dispose','rxjs/operators','_injector','_socket','_waitCount','_userManagerService','_onConnectionOpen','_changesetReqId','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','toString','compute','startsWith','BlockCipherMode','synced','SHOULD_CLOSE_CONN','then','onTransformRemoteChangesetByStateCache','COMPRESS_MUTATION_SEND','blockSize','eventID','[UniverCollaborationClientPlugin]','[SyncedState]:\x20received\x20acknowledgement.','onRemoteRetry','SheetCollaborationEntity','initWorkbookPermissionChange','LOGIN_FAILED','GLOBAL_ROOMS_CNT_EXCEEDS','slice','c2Prime','USERS_LEAVE','UPDATE_CURSOR','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','updateCollaborator','CHANGESET_ACK','encryptBlock','workbook','Failed\x20to\x20update\x20permission\x20point','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','csAckEvent','11QZJLXX','/unit/','CompressMutationService','parseProtocolChangeset','_nDataBytes','leaveEvent','stringify','ReplaySubject','Decryptor','_collaborationUIEventService','OPTIONAL','Cipher','NEW_CHANGESETS','StreamCipher','_snapshotServerService','reject','UniverSheets','from','cmd','startTime','_unitInfo$','dispose$','_oKey','YUUMI_UNABLE_LOAD_URL','create','_configService','_initMergeInterceptor','title','updateCursorEvent','href','UNKNOWN_CODE','_clearCollaborationTimeoutTimer','_transformIMECache','SYNCED','CHANGESET_REJ','_keySchedule','LEAVE','UNIVER_COLLABORATION_CLIENT_PLUGIN','focused$','CHANGESET_REVISION_CONFILICT','entityInit$','ILocalCacheService','list','_clearRedo','_remoteChangesetQueue','memberID','InsertSheetMutation','YUUMI_CONNECTOR_URL_NOT_FOUND','getCurrentRevOfUnit','_waitForHeartbeatResponse','&to=','_resendTimeout','_throwTelemetryCollaborationNewChangeset','userID','UniverProLicense','deepClone','_removeRoom','isTransformMutationsWithChangesetFailure','getSheetId','_mode','_HTTPService','POST','_commentUpdate$','pauseCollaboration','shareReplay','_decreaseWaiting','session.room-cnt-exceeds','fetch_missing','toStringTag','kdf','objectID','_members','_undoRedoService','WECHAT_HAS_BEEN_BOUND','/object','PERMISSION_REJ','INVITE_CODE_HAS_BEEN_UES','AuthzIoHttpService','finalize','state','_pendingMutations','ISnapshotServerService','PAYMENT_CHANNEL_NOT_SUPPORT','rxjs','parse','isPermissionRej','ITransformService','_revisionService','@univerjs/network','CBC','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','People','update','getUnitOnRev','updateOfflineData','getConfig','IPermissionService','transformChangesets','_prevBlock','UniverDocs','exports','SetSelectionsOperation','replace','CommandType','onRemoteAck','listCollaborators','_initRequestHeader','Injector','requireSession','every','append','getUnitType','_onUserJoin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_telemetryInfo','IConfigService','_checkMissing','subscribe','FETCH_MISSING','Inject','/universer-api/authz','_univerInstanceService','location','_localeService','getSheetBlock','_compressMutationService','DATA_SOURCE_TOO_LARGE','univer-pro.collaboration-client.network-condition.service','_replayCachedMutations','APPLY_REJECT','_emitMembers','_clearRetryConnectingTimer','_onLocalMutation','headers','_unitID','LICENSE_EXPORT_SIZE_EXCEEDED','toDisposable','onMissedChangesetFetched','session','clear','onLocalMutation','10520090MfZHQi','addImageSourceCache','IDLE','getWorkbookSelections','UniverInstanceType','JOIN_ROOM_PERMISSION_DENIED','30KzLgoC','onTransformSelections','_shouldReportTelemetry','2429784emzOmG','random','OfflineState','closeSession','ALREADY_EXISTS','mutations','_incrementRevisionNumber','awaitingChangeset','byteOffset','UNRECOGNIZED','_getDownloadEndpointURL','_showConflictNotification','string','ICommandService','UPDATE_PERMISSION_OBJ','CollaborationEntity','online$','transformUndoRedo','socketService','close$','offline','words','APPLY_DUPLICATED','BehaviorSubject','set','members','RichTextEditingMutation','ENTITLE_CAN_NOT_BUY_LOWER_OTP','pad','byteLength','ERROR_EXCEED_SIZE','LIVESHARE_FETCH_OPERATIONS','body','onMissingChangesets','_onMessage','patch','uploadFileServerUrl','_registerDependencies','decryptBlock','_getSendChangesetTimeout','ENTITLE_REPORT_LIMIT_EXCEED','_snapshotService','loadUnit','_submitChangeset','HELLO','mode','APPLY_REVISION_CONFILICT','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','parseChangesetToProtocol','fetchThroughInterceptors','IUniverInstanceService','_invKeySchedule','routeKey','onSyncEditingCollabCursor','[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.','\x0aAfter:\x20','@univerjs/core','REDEMPTION_INVALID_CODE','failed\x20to\x20apply\x20missed\x20changesets!','43968MNWDMV','UNIVER_PROJECT','REDEMPTION_USER_NOT_ELIGIBLE','roles','fetching\x20missing\x20changesets\x20from\x20','ThresholdInterceptorFactory','/role','ImageSourceType','unitID','_substituteUndoStack','localCacheService','HmacMD5','ConflictState','Undefined','Malformed\x20UTF-8\x20data','HMAC','\x20-\x20','_onFetchMissResult','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','readInt32LE','isTransformMutationsWithChangesetSuccess','CLOSE_ROOM','DisposableCollection','range','name','execute','max','SessionStatus','transformStack\x20failed!','Module','charAt','onStateChange','_sheetTransformSelectionsService','catch','getUnitId','JOIN_ROOM_FULL','_ENC_XFORM_MODE','executeCommand','reqId','crypto','waitForRoom$','url','UNIVER_SLIDE','Subject','OpenSSL','error$','_iv','[CollaborationState]:\x20apply\x20error!','_collaborationTimeoutTimer','call','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_changesetSessionId','SyncedState','AUTHORIZE_CODE_ILLEGAL','_disableEditing','_createHmacHelper','sin','SNAPSHOT_URL_KEY','_toggleOffline','firstValueFrom','_createSocket','hasOwnProperty','_imageSourceCache','formatter','/universer-api/user/session-ticket','editingUnit','onlyLocal','buffer','liveShareOperation','/universer-api/snapshot/','_getAPIPrefix','_onRemoteACK','_instanceService','_onConflict','loadOfflineData','_onRemoteRejected','_hash','FAIL','_socketReady','LIVESHARE_NEW_HOST','_schedule','_httpService','SheetTransformSelectionsService','IUndoRedoService','AWAITING_WITH_PENDING','_state$','1305420AhyXAS','498115TTHPgj','ERROR_IMAGE','INGEST','UserManagerService','UNDEFINED','LIVESHARE_OPERATION','JOIN_ROOM_NOT_EXISTS','UniverNetwork','_entityInit$','/new_changes','LocaleService','updateMember','_candidateSocket','enc','_event$','x-univer-host','_memberService','image/jpg','type','RxDisposable','roomInfos','originalMeta','_substituteRedoStack','AwaitingState','pipe','_collabSessionService','_stopTelemetryCollaborationNewChangeset','duration','_roomCreated$','_keyPriorReset','UNIVER_SHEET','_isPermissionRej','getInterceptPoints','_config','getTypeOfUnitAdded$','SUBMIT_CHANGESET_TIMEOUT','change$','\x20to\x20','get','telemetry\x20info\x20is\x20not\x20initialized','/universer-api/snapshot','SerializableCipher','_socketService','NO_OTHER_CLIENTS_EDITING','removeMember','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_localCacheService','_fetchMissChangesets','HTTPService','_reverseMap','allowed','UNKNOWN_CMD','_xformMode','INTERNAL_ERROR','_tryReconnect','SOCKET_FAILED_RETRY','session.join-failed','state$','PSEUDO_FETCH_MISSING_RESULT','splice','image/png','INVALID_ARGUMENT','actions','_sendingTimer','_lockTransition','size','SNAPSHOT_HAS_BEEN_REMOVED','MSG_FOR_ERROR','enableAuthServer','ILogService','resend','processBlock','SnapshotServerOverHTTPService','findIndex','ceil','Latin1','format','JOIN_ROOM_FAILED','confirm','CollaborativeUndoRedoService','push','reset','setShowComponents','SHA1','_scheduleCompleteTimestamp','_append','_onCombEvent','equals','CommentService','operators','textEncoder','_createInitialStateImpl','Encryptor','_applyRemoteChangeset','_type','Univer','socket$','updateSnapshot','Hex','LICENSE_IMPORT_SIZE_EXCEEDED','amd','AWAITING','_nRounds','ENTITLE_CHAT_LIMIT_EXCEED','reconnect','fetchMiss','_sendHeartbeatTimer','_startCollaboration','USER_IS_ANONYMOUS','putCollaborators','RECV','unitId','_parse','/block/','transformSelections','message$','JOIN','[CollaborationUndoRedoService]','prototype','sendChangesetTimeout','encodeURIComponent','collaboration-client.local-cache-service','_undoStacks','OFFLINE','reduce','padding','UnitSnapshot','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','DEFAULT_FILE_NAME','readAsDataURL','mapDocumentTypeToUniverType','data','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_NO_CUBOID_FOR_QUESTION','onTransformState','ciphertext','_doCryptBlock','DependentOn','_sender','LOGIN_TOKEN_PROCESSING_FAILED','init','lib','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[CollaborationSessionService]','_redoStacks','_roomMembers','getOwnPropertyDescriptor','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','NOT_FOUND','complete','image/gif','algo','MD5','objectActions','onCommandExecuted','auth.needGotoLoginAlert','DEFAULT_WS_SESSION_TICKET_URL','asObservable','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_process','_key','createDecryptor','UNIVER_UNKNOWN','getRoom','file','MentionIoHttpService','SNAPSHOT_INVALID_SNAPSHOT','enableCollaboration','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','PERMISSION_DENIED','session.room-not-exists','DocCollaborationEntity','add','MOBILE_VERIFY_CODE_MISMATCH','authzUrl','delete','UniverProCollaboration','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','MemberService','_onUserLeave','{fileID}','_onRemoteRetry','getMember','LOCAL_CACHE_INTERVAL_KEY','_initCloseConn','encode','_collaborationPaused','[FetchMissState]','key','_clearTimeoutTimer','_resendTimer','Base','sheets','extend','[DataLoaderService]','ICollaborationSocketService','ONLINE','HEARTBEAT_INTERVAL','_createHelper','createSocket','params','withCredentials','emitEvent','changesets','@univerjs-pro/license','createInstance','session.room-permission-denied','@univerjs/telemetry','error','_init','_socketMessageSubscription','getUnitStatus$','revision','COMPRESS_MUTATION_APPLY','toggleOffline','UnitStatus','UniverProCollaborationClient','connection\x20error','deserializeToCombResponse','_doProcessBlock','isTransformChangesetsSuccess','includes','_transformStack','_getCurrentRevision','ENTITLE_NEED_BILLING_ADDRESS','/object/','onStarting','_listenToNetworkCondition','downloadEndpointUrl','unsubscribe','createCollaborator','INVITE_CODE_REQUIRED','_onOffline','appendMutation','awaiting_with_pending','clone','clamp','DEFAULT_COLLAB_WEB_SOCKET_URL','default','_onRecvEvent','floor','editing\x20status\x20changed\x20to','ivSize','INVITE_CODE_ALREADY_BOUND','getResourcesRequest','onRemoteRej','takeUntil','MOBILE_HAS_BEEN_BOUND','_transformRemoteChangesetByIMECache','COMMENT_UPDATE','_onJoinRoomEvent','WordArray','?url=','_sendHeartbeat','has','UserProfileImg','CONFLICT','entries','[SyncedState]:\x20received\x20rejection.','HEARTBEAT_INTERVAL_KEY','getFocusedUnit','sigBytes','encrypt','unknown','pluginName','_commandService','getCurrentUser','LICENSE_MAX_UNITS_EXCEEDED','event$','UNIVER_DOC','_transformRemoteChangesetByStateCache','_awaitingChangeset','getImageSourceCache','unit-cache-','_startTelemetryCollaborationNewChangeset','PasswordBasedCipher','copyFileMeta','Disposable','_status$','CollaborationSession','getSnapshotAPIPath','function','UniverCollaborationClientPlugin','[PendingState]:\x20received\x20acknowledgement.','collaMsg','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_createInitialState','min','univer-pro.collaboration-client-socket-service','ClipsheetFragments','_telemetryService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','requestParams','525oSagWK','JOINING','onTransformIME','YUUMI_TABLE_NOT_FOUND_IN_UNIT','RETRY_CONNECTING_MAX_COUNT','IMentionIOService','_transformStateCache','_doCreateSocket','ISingleActiveUnitService','interceptor','debug','_queuedRemoteChangesets','@univerjs/drawing','WorkbookEditablePermission','refreshPermission','_handler','_syncEditingCollabCursor','target','awaiting','hostname','concat','_acknowledgedAwaitingChangeset','33kgwDpU','_retryConnectingTimer','createEncryptor','loadUnitOfRevision','forEach','ERROR_AGAIN','NoPadding','_updateLocalCache','put','_exhaustRemoteChangesetQueue','UNAUTHENTICATED','UniverNetworkPlugin','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','Plugin','compose','_updateState','CollaborationController','MUTATION','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_transformSelections','CURRENT_STATUS_CANNOT_OPERATE','stopTime','FileId','resourceIDs','USER_NOT_INVITED_CODE','_getUploadFileURL','Hasher','open$','getCollabEntity$','status$','_executeRemoteChangeset','CHANGESET_SHOULD_RETRY','_createHandler','_getAPIPrefixPath','[CollaborationSession]','isInternalEditorID','send','ENSURE_SNAPSHOT_EXECUTION','find','joinEvent','joinRsp','ERROR_IMAGE_TYPE','_retryCount','save\x20fail\x20reason\x20is\x20','/universer-api/file/{fileID}/sign-url','_transformService','toggleOnline','getGlobalObject','APPLY_PERMISSION_DENIED','incrementRevOfUnit','snapshotServerUrl','saveSnapshot','pending','PENDING','USERS_ENTER','concatMap','createIdentifier','unpad','BufferedBlockAlgorithm','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_clearUndo','_singleActiveUnitService','_tryEnsureSocket','_members$','Optional','SUBMIT_CHANGESET','_transformUndoredo','msCrypto','UniverCollaborationPlugin','_hasher','DataLoaderService','YUUMI_ALL_TABLES_IS_INVALID','repeat','getMemberID','REDEMPTION_CODE_INACTIVE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','OTHER_CLIENTS_EDITING','saveSheetBlock','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','SheetPermissionInitController','_networkConditionService','onSendChangeset','_unlockTransition','_initDependencies','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','capture','_joinRoom','YUUMI_AI_RUN_FAILED','RETRY_CONNECTING_MAX_COUNT_KEY','__creator','EmptyMutationInfo','_clearHeartbeatTimer','UnitEmbedded','touchDependencies','ISocketService','_onConnectionFailed','YUUMI_URL_COL_OUT_OF_RANGE','randomBytes','registerHTTPInterceptor','CollaborationEvent','sid','next','YUUMI_RATE_OVER_LIMIT','$super','YUUMI_ASYNCIO_CANCELLED','IAuthzIoService','signUrlServerUrl','abs','m2Prime','c1Prime','setConfig','iterations','subUnitId','FetchingMissState','CollaborationImageIoService','_getUndoStack','conflict','_iKey','JSONX','LICENSE_DISTRO_REJECTED','cfg','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','/fetchmissing?from=','LOCAL_CACHE_INTERVAL','58820BqcDfR','SOCKET_FAILED','[PendingState]:\x20received\x20rejection.','collaboratorID','socket\x20close','_logService','defineProperty','_resendWithTimeout','getRandomValues','saveImage','/-/object/-/batch_allowed','[OfflineState]:\x20received\x20rejection.','getCurrentSelections','csRejEvent','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','CollaborationSessionService','_permissionService','retryConnectingInterval','OTHER_CLIENT_EDITING','updatePermissionObjEvent','Utf8','method','onTransformRemoteChangesetByIMECache','_toggleOnline','image/jpeg','_rescheduleHeartbeat','IContextService','generateRandomId','result','ENTITLE_DUP_SUBSCRIPTION','_data','CipherParams','LIVESHARE_REQUEST_HOST','src','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','LocalUndoRedoService','csShouldRetryEvent','objectType','_transitionLocked','REDEMPTION_CODE_NOT_STARTED','delay'];_0x14f8=function(){return _0xc2685b;};return _0x14f8();}
2
+ function _0x1ac4(_0x5e6077,_0x189ef8){var _0x7d271f=_0x7d27();return _0x1ac4=function(_0x1ac4e4,_0x4d3c65){_0x1ac4e4=_0x1ac4e4-0x70;var _0x14be6c=_0x7d271f[_0x1ac4e4];return _0x14be6c;},_0x1ac4(_0x5e6077,_0x189ef8);}(function(_0x26f66b,_0x4f590b){var _0x45d7f6=_0x1ac4,_0x559093=_0x26f66b();while(!![]){try{var _0x412d58=-parseInt(_0x45d7f6(0x114))/0x1*(-parseInt(_0x45d7f6(0x8c))/0x2)+-parseInt(_0x45d7f6(0x22c))/0x3+parseInt(_0x45d7f6(0xa0))/0x4*(parseInt(_0x45d7f6(0x38a))/0x5)+-parseInt(_0x45d7f6(0x185))/0x6+parseInt(_0x45d7f6(0x343))/0x7+-parseInt(_0x45d7f6(0x26a))/0x8+-parseInt(_0x45d7f6(0x93))/0x9;if(_0x412d58===_0x4f590b)break;else _0x559093['push'](_0x559093['shift']());}catch(_0x1c662b){_0x559093['push'](_0x559093['shift']());}}}(_0x7d27,0x97635),function(_0x389121,_0x413d57){var _0x569b5f=_0x1ac4;typeof exports==_0x569b5f(0xf1)&&typeof module<'u'?_0x413d57(exports,require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs/telemetry'),require('rxjs/operators'),require('@univerjs/network'),require('@univerjs/drawing'),require('@univerjs-pro/license')):typeof define==_0x569b5f(0x96)&&define[_0x569b5f(0x2ae)]?define([_0x569b5f(0x17e),_0x569b5f(0x14a),_0x569b5f(0x129),_0x569b5f(0x20d),_0x569b5f(0x30c),_0x569b5f(0x2ba),_0x569b5f(0x3c4),_0x569b5f(0x366),'@univerjs/network',_0x569b5f(0x2eb),'@univerjs-pro/license'],_0x413d57):(_0x389121=typeof globalThis<'u'?globalThis:_0x389121||self,_0x413d57(_0x389121[_0x569b5f(0xfa)]={},_0x389121[_0x569b5f(0x86)],_0x389121[_0x569b5f(0x1ea)],_0x389121[_0x569b5f(0x14f)],_0x389121[_0x569b5f(0x1a6)],_0x389121[_0x569b5f(0x2ba)],_0x389121[_0x569b5f(0x247)],_0x389121[_0x569b5f(0x2ba)][_0x569b5f(0x383)],_0x389121['UniverNetwork'],_0x389121[_0x569b5f(0x3ef)],_0x389121[_0x569b5f(0x31f)]));}(this,function(_0x35847c,_0x32c4ad,_0x765608,_0x5068b0,_0x8c00ce,_0x2f43df,_0x62fd52,_0x3039f7,_0x102f6e,_0x18920f,_0x49e56d){'use strict';var _0x1b6ca5=_0x1ac4;var _0x1d6416=Object[_0x1b6ca5(0x335)],_0xa70983=(_0x2a55aa,_0x1de003,_0x282534)=>_0x1de003 in _0x2a55aa?_0x1d6416(_0x2a55aa,_0x1de003,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x282534}):_0x2a55aa[_0x1de003]=_0x282534,_0x1bac5f=(_0x4f3124,_0x3d08fd,_0x56a9c5)=>_0xa70983(_0x4f3124,typeof _0x3d08fd!=_0x1b6ca5(0x381)?_0x3d08fd+'':_0x3d08fd,_0x56a9c5);const _0xdbb69b=_0x1b6ca5(0x29a),_0x1ade4e=_0x1b6ca5(0x167),_0x58068b='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3729d7=_0x1b6ca5(0x2c5),_0x391bfd=_0x1b6ca5(0xa4),_0x40d4d2=_0x1b6ca5(0x141),_0x4e97c3=_0x1b6ca5(0x1a5),_0x560f63=_0x1b6ca5(0x1b5),_0x42d637='/universer-api/comb',_0x53153f='/universer-api/oidc/authpage',_0x26812e=_0x1b6ca5(0x171),_0x1c6e64=_0x1b6ca5(0x1d7);var _0x3f5711=(_0x269c75=>(_0x269c75[_0x269c75[_0x1b6ca5(0x359)]=0x0]=_0x1b6ca5(0x359),_0x269c75[_0x269c75['OK']=0x1]='OK',_0x269c75[_0x269c75[_0x1b6ca5(0x2c3)]=0x2]=_0x1b6ca5(0x2c3),_0x269c75[_0x269c75[_0x1b6ca5(0x2d4)]=0x3]=_0x1b6ca5(0x2d4),_0x269c75[_0x269c75[_0x1b6ca5(0x3a3)]=0x4]=_0x1b6ca5(0x3a3),_0x269c75[_0x269c75['UNAUTHENTICATED']=0x5]=_0x1b6ca5(0x384),_0x269c75[_0x269c75['ALREADY_EXISTS']=0x6]=_0x1b6ca5(0xed),_0x269c75[_0x269c75[_0x1b6ca5(0x1ce)]=0x7]=_0x1b6ca5(0x1ce),_0x269c75[_0x269c75[_0x1b6ca5(0x15a)]=0x8]=_0x1b6ca5(0x15a),_0x269c75[_0x269c75[_0x1b6ca5(0x395)]=0x9]=_0x1b6ca5(0x395),_0x269c75[_0x269c75[_0x1b6ca5(0x113)]=0xa]='LOGIN_FAILED',_0x269c75[_0x269c75['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x269c75[_0x269c75['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1b6ca5(0x345),_0x269c75[_0x269c75[_0x1b6ca5(0x1dc)]=0xd]=_0x1b6ca5(0x1dc),_0x269c75[_0x269c75[_0x1b6ca5(0x3a6)]=0xe]=_0x1b6ca5(0x3a6),_0x269c75[_0x269c75[_0x1b6ca5(0x314)]=0xf]=_0x1b6ca5(0x314),_0x269c75[_0x269c75[_0x1b6ca5(0x1b2)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x269c75[_0x269c75[_0x1b6ca5(0xf5)]=0x64]=_0x1b6ca5(0xf5),_0x269c75[_0x269c75[_0x1b6ca5(0x36e)]=0x65]=_0x1b6ca5(0x36e),_0x269c75[_0x269c75[_0x1b6ca5(0x3f5)]=0xc9]=_0x1b6ca5(0x3f5),_0x269c75[_0x269c75[_0x1b6ca5(0x3e8)]=0xca]=_0x1b6ca5(0x3e8),_0x269c75[_0x269c75[_0x1b6ca5(0x29e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x269c75[_0x269c75[_0x1b6ca5(0x189)]=0x1771]=_0x1b6ca5(0x189),_0x269c75[_0x269c75[_0x1b6ca5(0x12e)]=0x1772]=_0x1b6ca5(0x12e),_0x269c75[_0x269c75[_0x1b6ca5(0x80)]=0x1773]=_0x1b6ca5(0x80),_0x269c75[_0x269c75[_0x1b6ca5(0x11b)]=0x1b59]=_0x1b6ca5(0x11b),_0x269c75[_0x269c75[_0x1b6ca5(0x316)]=0x1b5a]=_0x1b6ca5(0x316),_0x269c75[_0x269c75['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1b6ca5(0x30b),_0x269c75[_0x269c75[_0x1b6ca5(0x3b8)]=0x1b5c]=_0x1b6ca5(0x3b8),_0x269c75[_0x269c75[_0x1b6ca5(0x3fe)]=0x1b5d]=_0x1b6ca5(0x3fe),_0x269c75[_0x269c75[_0x1b6ca5(0xad)]=0x1f41]=_0x1b6ca5(0xad),_0x269c75[_0x269c75[_0x1b6ca5(0x7a)]=0x2329]=_0x1b6ca5(0x7a),_0x269c75[_0x269c75['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1b6ca5(0x100),_0x269c75[_0x269c75['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1b6ca5(0xdf),_0x269c75[_0x269c75[_0x1b6ca5(0x245)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x269c75[_0x269c75[_0x1b6ca5(0x15f)]=0x232d]=_0x1b6ca5(0x15f),_0x269c75[_0x269c75[_0x1b6ca5(0x3ad)]=0x2711]=_0x1b6ca5(0x3ad),_0x269c75[_0x269c75['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x269c75[_0x269c75[_0x1b6ca5(0x341)]=0x2713]=_0x1b6ca5(0x341),_0x269c75[_0x269c75['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x269c75[_0x269c75[_0x1b6ca5(0x1bb)]=0x271a]=_0x1b6ca5(0x1bb),_0x269c75[_0x269c75[_0x1b6ca5(0x2b7)]=0x271b]=_0x1b6ca5(0x2b7),_0x269c75[_0x269c75[_0x1b6ca5(0x369)]=0x271c]=_0x1b6ca5(0x369),_0x269c75[_0x269c75[_0x1b6ca5(0x1a9)]=0x271d]=_0x1b6ca5(0x1a9),_0x269c75[_0x269c75[_0x1b6ca5(0x235)]=0x271e]=_0x1b6ca5(0x235),_0x269c75[_0x269c75['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x269c75[_0x269c75[_0x1b6ca5(0x25a)]=0x2720]=_0x1b6ca5(0x25a),_0x269c75[_0x269c75['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x269c75[_0x269c75[_0x1b6ca5(0xae)]=0x2ee1]=_0x1b6ca5(0xae),_0x269c75[_0x269c75[_0x1b6ca5(0x273)]=0x2ee2]=_0x1b6ca5(0x273),_0x269c75[_0x269c75['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1b6ca5(0x3e0),_0x269c75[_0x269c75['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1b6ca5(0x16c),_0x269c75[_0x269c75[_0x1b6ca5(0x310)]=0x2ee5]=_0x1b6ca5(0x310),_0x269c75[_0x269c75[_0x1b6ca5(0x400)]=0x32c9]=_0x1b6ca5(0x400),_0x269c75[_0x269c75[_0x1b6ca5(0x286)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x269c75[_0x269c75['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x269c75[_0x269c75[_0x1b6ca5(0x25f)]=0x36b1]=_0x1b6ca5(0x25f),_0x269c75[_0x269c75[_0x1b6ca5(0xac)]=0x36b2]=_0x1b6ca5(0xac),_0x269c75[_0x269c75['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1b6ca5(0x10f),_0x269c75[_0x269c75[_0x1b6ca5(0x363)]=0x36b4]=_0x1b6ca5(0x363),_0x269c75[_0x269c75['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1b6ca5(0x35e),_0x269c75[_0x269c75['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x269c75[_0x269c75[_0x1b6ca5(0x137)]=0x3717]=_0x1b6ca5(0x137),_0x269c75[_0x269c75['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1b6ca5(0x1e1),_0x269c75[_0x269c75[_0x1b6ca5(0x340)]=0x3a99]=_0x1b6ca5(0x340),_0x269c75[_0x269c75[_0x1b6ca5(0x337)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x269c75[_0x269c75[_0x1b6ca5(0xd7)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x269c75[_0x269c75[_0x1b6ca5(0x269)]=0x3a9c]=_0x1b6ca5(0x269),_0x269c75[_0x269c75[_0x1b6ca5(0x27c)]=0x3a9d]=_0x1b6ca5(0x27c),_0x269c75[_0x269c75['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1b6ca5(0x101),_0x269c75[_0x269c75['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x269c75[_0x269c75[_0x1b6ca5(0x83)]=0x3e81]=_0x1b6ca5(0x83),_0x269c75[_0x269c75['UNRECOGNIZED']=-0x1]=_0x1b6ca5(0x28b),_0x269c75))(_0x3f5711||{}),_0x56d87c=(_0x216d24=>(_0x216d24[_0x216d24[_0x1b6ca5(0x2c0)]=0x0]='UNIVER_UNKNOWN',_0x216d24[_0x216d24[_0x1b6ca5(0x31a)]=0x1]=_0x1b6ca5(0x31a),_0x216d24[_0x216d24[_0x1b6ca5(0x398)]=0x2]='UNIVER_SHEET',_0x216d24[_0x216d24[_0x1b6ca5(0x1ca)]=0x3]=_0x1b6ca5(0x1ca),_0x216d24[_0x216d24[_0x1b6ca5(0x19d)]=0x4]=_0x1b6ca5(0x19d),_0x216d24[_0x216d24[_0x1b6ca5(0x28b)]=-0x1]=_0x1b6ca5(0x28b),_0x216d24))(_0x56d87c||{}),_0x1c4fc5=(_0x450779=>(_0x450779[_0x450779[_0x1b6ca5(0x1a0)]=0x0]=_0x1b6ca5(0x1a0),_0x450779[_0x450779[_0x1b6ca5(0x3a2)]=0x1]='HELLO',_0x450779[_0x450779[_0x1b6ca5(0x3b9)]=0x2]='JOIN',_0x450779[_0x450779[_0x1b6ca5(0x3c0)]=0x3]=_0x1b6ca5(0x3c0),_0x450779[_0x450779['INGEST']=0x4]=_0x1b6ca5(0x139),_0x450779[_0x450779[_0x1b6ca5(0x75)]=0x5]='HEARTBEAT',_0x450779[_0x450779[_0x1b6ca5(0x344)]=0x6]='RECV',_0x450779[_0x450779['UNRECOGNIZED']=-0x1]=_0x1b6ca5(0x28b),_0x450779))(_0x1c4fc5||{}),_0x5b7a0f=(_0x3559b4=>(_0x3559b4[_0x3559b4[_0x1b6ca5(0x3d8)]=0x0]=_0x1b6ca5(0x3d8),_0x3559b4[_0x3559b4['OK']=0x1]='OK',_0x3559b4[_0x3559b4['FAIL']=0x2]=_0x1b6ca5(0x33b),_0x3559b4[_0x3559b4[_0x1b6ca5(0x33a)]=0x3e9]=_0x1b6ca5(0x33a),_0x3559b4[_0x3559b4[_0x1b6ca5(0x2a1)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x3559b4[_0x3559b4[_0x1b6ca5(0xa7)]=0x3eb]=_0x1b6ca5(0xa7),_0x3559b4[_0x3559b4[_0x1b6ca5(0x2ab)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3559b4[_0x3559b4[_0x1b6ca5(0x28b)]=-0x1]=_0x1b6ca5(0x28b),_0x3559b4))(_0x5b7a0f||{}),_0x54ca25=(_0x137b64=>(_0x137b64[_0x137b64['Undefined']=0x0]=_0x1b6ca5(0xbc),_0x137b64[_0x137b64[_0x1b6ca5(0x313)]=0x1]=_0x1b6ca5(0x313),_0x137b64[_0x137b64[_0x1b6ca5(0x35c)]=0x2]=_0x1b6ca5(0x35c),_0x137b64[_0x137b64['UnitEmbedded']=0x3]=_0x1b6ca5(0x2bc),_0x137b64[_0x137b64['UnitSnapshot']=0x4]=_0x1b6ca5(0x70),_0x137b64[_0x137b64['UserProfileImg']=0x5]=_0x1b6ca5(0x35d),_0x137b64[_0x137b64[_0x1b6ca5(0x84)]=0x6]=_0x1b6ca5(0x84),_0x137b64[_0x137b64['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x137b64))(_0x54ca25||{});const _0x573e20=_0x1b6ca5(0x3e3);function _0x2ac52a(_0x2fd536){var _0x2574b9=_0x1b6ca5;return JSON[_0x2574b9(0x144)](_0x2fd536)[_0x2574b9(0x39e)];}var _0x4d6e97=(_0x129c16=>(_0x129c16[_0x1b6ca5(0x23e)]=_0x1b6ca5(0x23e),_0x129c16['PERMISSION_DENIED']='PERMISSION_DENIED',_0x129c16['CONFLICT']=_0x1b6ca5(0x3f0),_0x129c16['CLOSE_ROOM']=_0x1b6ca5(0x162),_0x129c16[_0x1b6ca5(0x3e9)]=_0x1b6ca5(0x3e9),_0x129c16['SOCKET_FAILED_RETRY']=_0x1b6ca5(0xe6),_0x129c16[_0x1b6ca5(0x15b)]=_0x1b6ca5(0x15b),_0x129c16['SUBMIT_CHANGESET_TIMEOUT']=_0x1b6ca5(0x3f3),_0x129c16))(_0x4d6e97||{});class _0x4474bb{constructor(){var _0x104c38=_0x1b6ca5;_0x1bac5f(this,'_event$',new _0x2f43df[(_0x104c38(0x216))]()),_0x1bac5f(this,_0x104c38(0x34d),this[_0x104c38(0x135)]['asObservable']());}[_0x1b6ca5(0x106)](_0x392f57){var _0x7f43f7=_0x1b6ca5;this[_0x7f43f7(0x135)][_0x7f43f7(0x1a2)](_0x392f57);}}class _0x1442e0{constructor(){var _0x23b5ac=_0x1b6ca5;_0x1bac5f(this,_0x23b5ac(0x36c),new _0x2f43df[(_0x23b5ac(0x216))]()),_0x1bac5f(this,_0x23b5ac(0x184),this['_commentUpdate$'][_0x23b5ac(0x99)]());}[_0x1b6ca5(0x2a8)](_0x90a7de){var _0x311202=_0x1b6ca5;this[_0x311202(0x36c)][_0x311202(0x1a2)](_0x90a7de);}}var _0x3caca0=Object[_0x1b6ca5(0x1d2)],_0x1f17fb=(_0x1366dd,_0xf3e806,_0x593f3d,_0x36c1f9)=>{var _0x23ee20=_0x1b6ca5;for(var _0xe4fa1f=_0x36c1f9>0x1?void 0x0:_0x36c1f9?_0x3caca0(_0xf3e806,_0x593f3d):_0xf3e806,_0x4fc7e5=_0x1366dd[_0x23ee20(0x39e)]-0x1,_0x3bcaf3;_0x4fc7e5>=0x0;_0x4fc7e5--)(_0x3bcaf3=_0x1366dd[_0x4fc7e5])&&(_0xe4fa1f=_0x3bcaf3(_0xe4fa1f)||_0xe4fa1f);return _0xe4fa1f;},_0x271523=(_0x15463c,_0x3890fe)=>(_0x1a1711,_0x5a7a84)=>_0x3890fe(_0x1a1711,_0x5a7a84,_0x15463c);_0x35847c[_0x1b6ca5(0x328)]=class extends _0x765608[_0x1b6ca5(0x2bf)]{constructor(_0x2f132f,_0x11bb56){var _0x3c2c5a=_0x1b6ca5;super(),_0x1bac5f(this,_0x3c2c5a(0xdd),new Map()),_0x1bac5f(this,_0x3c2c5a(0x3b1),new _0x2f43df[(_0x3c2c5a(0x216))]()),(this[_0x3c2c5a(0xe7)]=_0x2f132f,this[_0x3c2c5a(0x125)]=_0x11bb56,this['disposeWithMe'](_0x2f43df[_0x3c2c5a(0x308)](this[_0x3c2c5a(0xe7)][_0x3c2c5a(0x24b)](_0x765608['UniverInstanceType'][_0x3c2c5a(0x398)])['pipe'](_0x3039f7[_0x3c2c5a(0x10d)](_0x1d274f=>_0x1d274f['getUnitId']())),this[_0x3c2c5a(0xe7)][_0x3c2c5a(0x24b)](_0x765608['UniverInstanceType'][_0x3c2c5a(0x31a)])[_0x3c2c5a(0x39a)](_0x3039f7['map'](_0x30727f=>_0x30727f[_0x3c2c5a(0xdc)]())),this[_0x3c2c5a(0xe7)][_0x3c2c5a(0x24b)](_0x765608[_0x3c2c5a(0x173)]['UNIVER_SLIDE'])[_0x3c2c5a(0x39a)](_0x3039f7['map'](_0x5d60d3=>_0x5d60d3[_0x3c2c5a(0xdc)]())))[_0x3c2c5a(0xf0)](_0xd6d394=>this[_0x3c2c5a(0x13b)](_0xd6d394))));}[_0x1b6ca5(0x284)](_0x403afd){var _0x45c509=_0x1b6ca5;return this[_0x45c509(0xdd)][_0x45c509(0x1df)](_0x403afd)?_0x2f43df['of'](this['_roomMembers'][_0x45c509(0x2b3)](_0x403afd)):this[_0x45c509(0x3b1)][_0x45c509(0x39a)](_0x3039f7[_0x45c509(0x10d)](_0x3fc894=>{var _0x25b96f=_0x45c509;if(_0x3fc894===_0x403afd)return this['_roomMembers'][_0x25b96f(0x2b3)](_0x3fc894);}));}[_0x1b6ca5(0x165)](_0x3d9ae9){var _0x2050b5=_0x1b6ca5;this[_0x2050b5(0x125)]['setCurrentUser'](_0x3d9ae9);}[_0x1b6ca5(0x2cf)](){var _0x3d6f63=_0x1b6ca5;return this[_0x3d6f63(0x125)]['getCurrentUser']();}['updateMember'](_0x9c2399,_0x4c714b){var _0x9d87d3=_0x1b6ca5;let _0x1e49f3=this[_0x9d87d3(0xdd)]['get'](_0x9c2399);_0x1e49f3||(_0x1e49f3=new _0x5c3047(),this[_0x9d87d3(0xdd)][_0x9d87d3(0x26d)](_0x9c2399,_0x1e49f3),this[_0x9d87d3(0x3b1)][_0x9d87d3(0x1a2)](_0x9c2399)),_0x1e49f3[_0x9d87d3(0x327)](_0x4c714b);}[_0x1b6ca5(0x24a)](_0x3a2fb7,_0x3954a5){var _0x52530e=_0x1b6ca5;const _0x1e8b05=this['_roomMembers'][_0x52530e(0x2b3)](_0x3a2fb7);_0x1e8b05&&_0x1e8b05[_0x52530e(0x24a)](_0x3954a5);}['getRoom'](_0x4b836e){var _0x2f01c8=_0x1b6ca5;return this['_roomMembers'][_0x2f01c8(0x2b3)](_0x4b836e);}['getMember'](_0x392c06,_0x418903){var _0x5a725d=_0x1b6ca5;const _0x1989c9=this[_0x5a725d(0xdd)]['get'](_0x392c06);if(_0x1989c9)return _0x1989c9['getMember'](_0x418903);}[_0x1b6ca5(0x13b)](_0x1f6581){var _0x5c1d08=_0x1b6ca5;const _0x2b6474=this['_roomMembers'][_0x5c1d08(0x2b3)](_0x1f6581);_0x2b6474&&(_0x2b6474[_0x5c1d08(0xb1)](),this[_0x5c1d08(0xdd)][_0x5c1d08(0x3d7)](_0x1f6581));}[_0x1b6ca5(0xb1)](){var _0x1efdb8=_0x1b6ca5;this['_roomMembers'][_0x1efdb8(0x1d1)](_0x568753=>_0x568753[_0x1efdb8(0xb1)]()),this['_roomMembers'][_0x1efdb8(0x1c1)](),this['_roomCreated$'][_0x1efdb8(0x149)]();}},_0x35847c[_0x1b6ca5(0x328)]=_0x1f17fb([_0x271523(0x0,_0x765608[_0x1b6ca5(0x175)]),_0x271523(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x25d)]))],_0x35847c[_0x1b6ca5(0x328)]);class _0x5c3047 extends _0x765608[_0x1b6ca5(0x2bf)]{constructor(){var _0x448fab=_0x1b6ca5;super(...arguments),_0x1bac5f(this,'_members',new Map()),_0x1bac5f(this,_0x448fab(0x17f),new _0x2f43df[(_0x448fab(0x20b))](this[_0x448fab(0x133)])),_0x1bac5f(this,'members$',this[_0x448fab(0x17f)]['asObservable']());}[_0x1b6ca5(0xb1)](){var _0x3ff02a=_0x1b6ca5;this[_0x3ff02a(0x133)][_0x3ff02a(0x1c1)]();}[_0x1b6ca5(0x327)](_0x38a2eb){var _0x3c21e3=_0x1b6ca5;this['_members'][_0x3c21e3(0x26d)](_0x38a2eb[_0x3c21e3(0x296)],_0x38a2eb),this[_0x3c21e3(0x9d)]();}[_0x1b6ca5(0x24a)](_0x261ee7){var _0x36dbb0=_0x1b6ca5;this[_0x36dbb0(0x133)][_0x36dbb0(0x3d7)](_0x261ee7);}['getMember'](_0xb473a2){var _0x319be8=_0x1b6ca5;return this['_members'][_0x319be8(0x2b3)](_0xb473a2);}[_0x1b6ca5(0x3b6)](){var _0x2116cb=_0x1b6ca5;return Array[_0x2116cb(0x126)](this['_members']['values']());}[_0x1b6ca5(0x9d)](){var _0x59df47=_0x1b6ca5;this[_0x59df47(0x17f)][_0x59df47(0x1a2)](this[_0x59df47(0x133)]);}}var _0xccef21=Object['getOwnPropertyDescriptor'],_0x5016dd=(_0x260db0,_0x18dcfa,_0xb5ea1d,_0x5d1b46)=>{var _0x4b53a6=_0x1b6ca5;for(var _0x1d6669=_0x5d1b46>0x1?void 0x0:_0x5d1b46?_0xccef21(_0x18dcfa,_0xb5ea1d):_0x18dcfa,_0x8d379b=_0x260db0[_0x4b53a6(0x39e)]-0x1,_0x19a712;_0x8d379b>=0x0;_0x8d379b--)(_0x19a712=_0x260db0[_0x8d379b])&&(_0x1d6669=_0x19a712(_0x1d6669)||_0x1d6669);return _0x1d6669;},_0x2d031c=(_0xe1aaa5,_0x4ddd9c)=>(_0x48fe0a,_0x56e28b)=>_0x4ddd9c(_0x48fe0a,_0x56e28b,_0xe1aaa5),_0x34dd1c=(_0x37787b=>(_0x37787b[_0x37787b['IDLE']=0x0]=_0x1b6ca5(0x2f0),_0x37787b[_0x37787b[_0x1b6ca5(0x187)]=0x1]='JOINING',_0x37787b[_0x37787b[_0x1b6ca5(0x1c5)]=0x2]=_0x1b6ca5(0x1c5),_0x37787b[_0x37787b[_0x1b6ca5(0x22e)]=0x3]='ONLINE',_0x37787b))(_0x34dd1c||{});const _0x2c4026={[_0x5b7a0f[_0x1b6ca5(0x33b)]]:_0x1b6ca5(0x1e4),[_0x5b7a0f[_0x1b6ca5(0x33a)]]:_0x1b6ca5(0x74),[_0x5b7a0f['JOIN_ROOM_NOT_EXISTS']]:_0x1b6ca5(0x9e),[_0x5b7a0f['JOIN_ROOM_PERMISSION_DENIED']]:_0x1b6ca5(0x18b),[_0x5b7a0f[_0x1b6ca5(0x2ab)]]:_0x1b6ca5(0x262)};_0x35847c[_0x1b6ca5(0x325)]=class extends _0x765608[_0x1b6ca5(0x3ac)]{constructor(_0x37dd5c,_0x3e6747,_0x5ce467,_0x4399cc,_0x2c44d1,_0x56c456,_0x128bfb,_0x100dda){var _0x4c00d0=_0x1b6ca5;super(),_0x1bac5f(this,_0x4c00d0(0x3bb),new _0x2f43df['BehaviorSubject'](0x0)),_0x1bac5f(this,'sessionStatus$',this['_sessionStatus$'][_0x4c00d0(0x99)]()),_0x1bac5f(this,_0x4c00d0(0x135),new _0x2f43df[(_0x4c00d0(0x216))]()),_0x1bac5f(this,'event$',this['_event$'][_0x4c00d0(0x99)]()),_0x1bac5f(this,_0x4c00d0(0x2f2)),_0x1bac5f(this,_0x4c00d0(0x3db)),_0x1bac5f(this,_0x4c00d0(0x109)),_0x1bac5f(this,_0x4c00d0(0x30e),!0x1),_0x1bac5f(this,_0x4c00d0(0x1be),null),(this[_0x4c00d0(0x150)]=_0x37dd5c,this[_0x4c00d0(0x9f)]=_0x5ce467,this['_configService']=_0x4399cc,this[_0x4c00d0(0x2fa)]=_0x2c44d1,this['_commentService']=_0x56c456,this[_0x4c00d0(0x322)]=_0x128bfb,this[_0x4c00d0(0x275)]=_0x100dda,this['_shouldReportTelemetry']=!!this[_0x4c00d0(0x275)],_0x3e6747[_0x4c00d0(0x39a)](_0x2f43df[_0x4c00d0(0x18c)](this[_0x4c00d0(0x283)]))[_0x4c00d0(0xf0)](_0x4a82c2=>{var _0x427567=_0x4c00d0,_0x409900;typeof _0x4a82c2>'u'||(this[_0x427567(0x2f2)]=_0x4a82c2,_0x4a82c2?(this[_0x427567(0x1c0)](_0x4a82c2),this[_0x427567(0x3db)]=_0x4a82c2[_0x427567(0x32e)][_0x427567(0xf0)](_0x5d7afe=>{var _0xf3d661=_0x427567;_0x5d7afe[_0xf3d661(0x2a5)]===this[_0xf3d661(0x150)]&&this[_0xf3d661(0x193)](_0x5d7afe);})):(this[_0x427567(0xcc)](),this[_0x427567(0x3bb)]['next'](0x2),(_0x409900=this['_socketMessageSubscription'])==null||_0x409900[_0x427567(0x7c)](),this[_0x427567(0x3db)]=null));}));}get[_0x1b6ca5(0x28f)](){var _0x4b6a0b=_0x1b6ca5;return this[_0x4b6a0b(0x3bb)][_0x4b6a0b(0x3bc)]();}[_0x1b6ca5(0x14c)](){var _0xf47180=_0x1b6ca5,_0x45680a,_0x9d1e37;return(_0x9d1e37=(_0x45680a=this[_0xf47180(0x2f2)])==null?void 0x0:_0x45680a[_0xf47180(0x296)])!=null?_0x9d1e37:null;}[_0x1b6ca5(0xb1)](){var _0x4cdf44=_0x1b6ca5;super[_0x4cdf44(0xb1)](),this[_0x4cdf44(0x283)][_0x4cdf44(0x1a2)](),this['dispose$']['complete']();}[_0x1b6ca5(0x11c)](){var _0x3cfb8b=_0x1b6ca5,_0x390b75,_0x3a9ff1;this[_0x3cfb8b(0xcc)](),(_0x390b75=this[_0x3cfb8b(0x2f2)])==null||_0x390b75['send']({'cmd':_0x1c4fc5[_0x3cfb8b(0x3c0)],'data':{'roomID':this['_unitID']}}),(_0x3a9ff1=this[_0x3cfb8b(0x2f2)])==null||_0x3a9ff1[_0x3cfb8b(0x11c)](),this[_0x3cfb8b(0x135)][_0x3cfb8b(0x149)](),this[_0x3cfb8b(0x3bb)][_0x3cfb8b(0x149)](),this[_0x3cfb8b(0xb1)]();}[_0x1b6ca5(0x193)](_0x2928f7){var _0x139bc9=_0x1b6ca5;_0x2928f7[_0x139bc9(0x3b4)]===_0x1c4fc5[_0x139bc9(0x3b9)]?this['_onJoinRoomEvent'](_0x2928f7):_0x2928f7[_0x139bc9(0x3b4)]===_0x1c4fc5[_0x139bc9(0x344)]&&this[_0x139bc9(0x34f)](_0x2928f7);}['_joinRoom'](_0x4a11c5){var _0x1b7811=_0x1b6ca5;this['_sessionStatus$'][_0x1b7811(0x1a2)](0x1),_0x4a11c5[_0x1b7811(0x8a)]({'cmd':_0x1c4fc5['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1b7811(0x150)]}]}});}[_0x1b6ca5(0x38b)](_0x44592a){var _0x557333=_0x1b6ca5,_0x3ad3d3;if(_0x44592a['code']in _0x2c4026){this['_collaborationUIEventService'][_0x557333(0x106)]({'id':_0x4d6e97['JOIN_ROOM_FAILED'],'data':_0x2c4026[_0x44592a[_0x557333(0x3e6)]]}),this['_sessionStatus$'][_0x557333(0x1a2)](0x2);return;}this[_0x557333(0x3bb)]['next'](0x3);const _0x494791=(_0x3ad3d3=_0x44592a['data']['roomInfos'][this['_unitID']])==null?void 0x0:_0x3ad3d3[_0x557333(0xfb)];_0x494791&&_0x494791[_0x557333(0x1d1)](_0x5d0a1b=>this[_0x557333(0x2fa)]['updateMember'](this['_unitID'],_0x5d0a1b));}[_0x1b6ca5(0x34f)](_0x1c7eaf){var _0x44405d=_0x1b6ca5;try{const _0x1b1fa0=_0x1c7eaf['data'];switch(_0x1b1fa0[_0x44405d(0x239)]){case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x2de)]:this[_0x44405d(0xb7)](_0x1b1fa0),this['_event$'][_0x44405d(0x1a2)](_0x1b1fa0);break;case _0x32c4ad['CollaborationEvent'][_0x44405d(0x259)]:this['_onUserLeave'](_0x1b1fa0),this[_0x44405d(0x135)][_0x44405d(0x1a2)](_0x1b1fa0);break;case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x20f)]:case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x29c)]:this[_0x44405d(0x15e)](),this[_0x44405d(0xb6)](),this[_0x44405d(0x135)][_0x44405d(0x1a2)](_0x1b1fa0);break;case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x13e)]:this[_0x44405d(0x9f)][_0x44405d(0x35f)](_0x44405d(0x1bd)+JSON['stringify'](_0x1b1fa0)),this[_0x44405d(0x135)]['next'](_0x1b1fa0);break;case _0x32c4ad[_0x44405d(0x28d)][_0x44405d(0x27d)]:this[_0x44405d(0x3a0)][_0x44405d(0x2a8)](_0x1b1fa0[_0x44405d(0x3c7)]),this[_0x44405d(0x135)][_0x44405d(0x1a2)](_0x1b1fa0);break;default:this[_0x44405d(0x135)][_0x44405d(0x1a2)](_0x1b1fa0);}}catch(_0x52a5a5){this[_0x44405d(0x9f)][_0x44405d(0x35f)](_0x52a5a5,_0x1c7eaf);}}[_0x1b6ca5(0xb7)](_0x2e96c9){var _0x4baf50=_0x1b6ca5;this[_0x4baf50(0x2fa)][_0x4baf50(0x327)](this[_0x4baf50(0x150)],_0x2e96c9[_0x4baf50(0x3c7)]);}[_0x1b6ca5(0x39b)](_0x4f12a4){var _0x4522e0=_0x1b6ca5;this[_0x4522e0(0x2fa)]['removeMember'](this[_0x4522e0(0x150)],_0x4f12a4[_0x4522e0(0x3c7)]['memberID']);}async[_0x1b6ca5(0x8a)](_0x340704,_0x3ec901){var _0x3e097b=_0x1b6ca5;if(this['sessionStatus']!==0x3||!this[_0x3e097b(0x2f2)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x340704[_0x3e097b(0x239)]===_0x32c4ad['CollaborationEvent'][_0x3e097b(0x209)]&&(this[_0x3e097b(0x28a)](),this[_0x3e097b(0x91)](_0x340704)),this[_0x3e097b(0x2f2)][_0x3e097b(0x8a)]({'cmd':_0x1c4fc5['INGEST'],'routeKey':_0x3ec901,'routeType':'','data':_0x340704});}catch(_0x2efb30){this[_0x3e097b(0x9f)]['error'](_0x2efb30);}}[_0x1b6ca5(0x28a)](){var _0x3eadd7=_0x1b6ca5,_0x47fa78;this[_0x3eadd7(0x109)]=setTimeout(()=>{var _0x2c1a14=_0x3eadd7;this[_0x2c1a14(0x109)]=null,this[_0x2c1a14(0x322)][_0x2c1a14(0x106)]({'id':_0x4d6e97[_0x2c1a14(0x3f3)]});},(_0x47fa78=this[_0x3eadd7(0xd8)][_0x3eadd7(0x1ef)](_0x40d4d2))!=null?_0x47fa78:0x4e20);}[_0x1b6ca5(0xb6)](){var _0x2f6b69=_0x1b6ca5;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2f6b69(0x109)]),this[_0x2f6b69(0x109)]=null);}[_0x1b6ca5(0x91)](_0x59f7b6){var _0x22a08e=_0x1b6ca5;if(!this[_0x22a08e(0x30e)])return;const {data:_0x4be0f3}=_0x59f7b6,{unitID:_0x4d1e70,changeset:_0x3954e6}=_0x4be0f3,{mutations:_0x1d3290,type:_0x51faac}=_0x3954e6;this['_telemetryInfo']={'unitId':_0x4d1e70,'type':_0x51faac,'startTime':performance[_0x22a08e(0x3cb)](),'stopTime':0x0,'duration':0x0,'size':_0x2ac52a(_0x1d3290)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5477bb=_0x1b6ca5;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x5477bb(0x9f)][_0x5477bb(0x35f)](_0x5477bb(0x9c),_0x5477bb(0x203));return;}this['_telemetryInfo']['stopTime']=performance['now'](),this[_0x5477bb(0x1be)][_0x5477bb(0x3a1)]=this[_0x5477bb(0x1be)][_0x5477bb(0x238)]-this[_0x5477bb(0x1be)][_0x5477bb(0x2c1)],this[_0x5477bb(0x275)][_0x5477bb(0x10a)](_0x573e20,this[_0x5477bb(0x1be)]),this[_0x5477bb(0x1be)]=null;}}[_0x1b6ca5(0xcc)](){var _0x4265d9=_0x1b6ca5;this[_0x4265d9(0x1be)]=null;}},_0x35847c[_0x1b6ca5(0x325)]=_0x5016dd([_0x2d031c(0x2,_0x765608[_0x1b6ca5(0x3f9)]),_0x2d031c(0x3,_0x765608[_0x1b6ca5(0x1af)]),_0x2d031c(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x35847c[_0x1b6ca5(0x328)])),_0x2d031c(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x1442e0)),_0x2d031c(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x2d031c(0x7,_0x765608[_0x1b6ca5(0x136)](_0x62fd52['ITelemetryService']))],_0x35847c[_0x1b6ca5(0x325)]);const _0x9f10c=_0x765608[_0x1b6ca5(0x24d)]('collaboration-client.local-cache-service');function _0x3698d0(_0xaf5c5f){var _0xbed287=_0x1b6ca5;return _0xbed287(0x94)+_0xaf5c5f;}var _0x379318=Object['getOwnPropertyDescriptor'],_0xc9be1e=(_0x31fa86,_0x2e4878,_0x3eebcd,_0x485e07)=>{var _0x1d0443=_0x1b6ca5;for(var _0x5bb91b=_0x485e07>0x1?void 0x0:_0x485e07?_0x379318(_0x2e4878,_0x3eebcd):_0x2e4878,_0x159db9=_0x31fa86[_0x1d0443(0x39e)]-0x1,_0x5571a2;_0x159db9>=0x0;_0x159db9--)(_0x5571a2=_0x31fa86[_0x159db9])&&(_0x5bb91b=_0x5571a2(_0x5bb91b)||_0x5bb91b);return _0x5bb91b;},_0x4112cd=(_0x47821a,_0x13ece0)=>(_0xc52432,_0xf7ac92)=>_0x13ece0(_0xc52432,_0xf7ac92,_0x47821a);function _0x2e0552(_0x4efb55){var _0x4e2efa=_0x1b6ca5;const {unitID:_0x26ac08,mutations:_0x2f7737}=_0x4efb55;return{'unitId':_0x26ac08,'subUnitId':_0x2f7737[_0x4e2efa(0x39e)]>0x0?_0x2f7737[0x0]['params'][_0x4e2efa(0xe0)]:null};}_0x35847c[_0x1b6ca5(0x30f)]=class{constructor(_0x282262,_0x2f3887,_0x2b3158){var _0x13ef35=_0x1b6ca5;this[_0x13ef35(0x172)]=_0x282262,this[_0x13ef35(0x226)]=_0x2f3887,this[_0x13ef35(0x72)]=_0x2b3158;}[_0x1b6ca5(0x110)](_0x5f5ef4){var _0x31aa29=_0x1b6ca5,_0x497dbd,_0x2b92e2,_0x5d73a5,_0x278193;const _0x14f6be=this[_0x31aa29(0x172)][_0x31aa29(0x2b3)](_0x8c00ce[_0x31aa29(0xf9)]),{unitId:_0x1ce842,subUnitId:_0x512142}=_0x2e0552(_0x5f5ef4),_0x128808=_0x14f6be==null?void 0x0:_0x14f6be[_0x31aa29(0x2ec)](_0x1ce842)[_0x31aa29(0x2df)](),_0x283dbf=(_0x2b92e2=(_0x497dbd=this[_0x31aa29(0x72)][_0x31aa29(0x123)](_0x1ce842))==null?void 0x0:_0x497dbd[_0x31aa29(0x33e)]())==null?void 0x0:_0x2b92e2[_0x31aa29(0x378)]();if(_0x128808[_0x31aa29(0x39e)]===0x0||!_0x1ce842||!_0x512142)return;const _0x502c93=[{'id':_0x8c00ce[_0x31aa29(0xa9)]['id'],'params':{'unitId':_0x1ce842,'subUnitId':_0x283dbf,'selections':_0x765608[_0x31aa29(0x2a4)][_0x31aa29(0x180)](_0x128808)}}],_0x21c202=this['_transformService'][_0x31aa29(0x291)](_0x5f5ef4,_0x502c93);if(!_0x32c4ad[_0x31aa29(0x256)](_0x21c202))throw _0x21c202[_0x31aa29(0x35f)];const _0x3abb43=(_0x278193=(_0x5d73a5=_0x21c202[_0x31aa29(0x1b7)][0x0])==null?void 0x0:_0x5d73a5[_0x31aa29(0x1e7)])==null?void 0x0:_0x278193[_0x31aa29(0x3f7)];if(Array[_0x31aa29(0x14e)](_0x3abb43)&&_0x3abb43[_0x31aa29(0x39e)]){if(_0x3abb43[_0x31aa29(0x39e)]===_0x502c93[0x0][_0x31aa29(0x1e7)]['selections']['length']&&_0x3abb43[_0x31aa29(0x188)]((_0x410aa7,_0x2a8904)=>_0x765608['Rectangle'][_0x31aa29(0x326)](_0x410aa7[_0x31aa29(0x21f)],_0x502c93[0x0][_0x31aa29(0x1e7)][_0x31aa29(0x3f7)][_0x2a8904][_0x31aa29(0x21f)])))return;this[_0x31aa29(0x172)]['get'](_0x765608[_0x31aa29(0x386)])[_0x31aa29(0x351)](_0x8c00ce['SetSelectionsOperation']['id'],{'unitId':_0x1ce842,'subUnitId':_0x283dbf,'selections':_0x3abb43});}}},_0x35847c['SheetTransformSelectionsService']=_0xc9be1e([_0x4112cd(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x4112cd(0x1,_0x32c4ad[_0x1b6ca5(0x152)]),_0x4112cd(0x2,_0x765608['IUniverInstanceService'])],_0x35847c[_0x1b6ca5(0x30f)]);const _0x2aceed=_0x765608[_0x1b6ca5(0x24d)]('univer-pro.collaboration-client.single-active-unit-service');var _0x1601ee=(_0x4ad8e5=>(_0x4ad8e5[_0x4ad8e5[_0x1b6ca5(0x174)]=0x0]=_0x1b6ca5(0x174),_0x4ad8e5[_0x4ad8e5[_0x1b6ca5(0x36f)]=0x1]='OTHER_CLIENTS_EDITING',_0x4ad8e5))(_0x1601ee||{});const _0x32b669='collaboration-client.config',_0x5a1779={},_0x26a872=new Set([_0x8c00ce['InsertSheetMutation']['id']]);function _0x46ce9b(_0x1f44b5,_0x295b12,_0x9697b8,_0x39ddf3,_0x14f05d){var _0x4858c8=_0x1b6ca5,_0x568e2c,_0x1b3890,_0x476902,_0x519b97;const _0x1e9a9f=[];for(const _0x331861 of _0x1f44b5)if(_0x26a872[_0x4858c8(0x1df)](_0x331861['id'])){if(_0x1e9a9f['length']>0x0)break;_0x1e9a9f[_0x4858c8(0x13f)](_0x331861);break;}else _0x1e9a9f[_0x4858c8(0x13f)](_0x331861);const _0x2f0a4b=(_0x1b3890=(_0x568e2c=_0x14f05d[_0x4858c8(0x2cf)]())==null?void 0x0:_0x568e2c[_0x4858c8(0x37b)])!=null?_0x1b3890:_0x4858c8(0x3e1),_0x57c4ab=(_0x519b97=(_0x476902=_0x14f05d[_0x4858c8(0x2cf)]())==null?void 0x0:_0x476902[_0x4858c8(0x296)])!=null?_0x519b97:_0x4858c8(0x3e1);return{'changeset':{'unitID':_0x295b12,'type':_0x32c4ad[_0x4858c8(0x321)](_0x9697b8[_0x4858c8(0x3de)](_0x295b12)),'baseRev':_0x39ddf3[_0x4858c8(0x390)](_0x295b12),'revision':0x0,'userID':_0x2f0a4b,'memberID':_0x57c4ab,'mutations':_0x1e9a9f},'pendingMutations':_0x1f44b5[_0x4858c8(0x1a1)](_0x1e9a9f['length'])};}function _0x7d0fa8(_0x10ef1b,_0x382e8e,_0x51bac4,_0x2b54fb,_0x3600ba){var _0x6b0771=_0x1b6ca5,_0x253065,_0x176d1e,_0x5d356f,_0x292da0;const _0x203069=[_0x10ef1b[_0x6b0771(0x37a)]((_0x213686,_0xd5ad0f)=>{var _0x268e47=_0x6b0771,_0x2c3155;const {id:_0xa570cc}=_0x213686,{id:_0x512518,type:_0xdfeeb9}=_0xd5ad0f,_0x41780b=(_0x2c3155=_0x213686['params'])!=null?_0x2c3155:{'actions':null},_0x1eaf28=_0xd5ad0f['params'];if(_0xa570cc&&_0xa570cc!==_0x512518)throw new Error(_0x268e47(0x31b)+_0xa570cc+_0x268e47(0x3d1)+_0x512518+'.');return{..._0x213686,'id':_0x512518,'type':_0xdfeeb9,'params':{'unitId':_0x1eaf28[_0x268e47(0x272)],'textRanges':_0x1eaf28[_0x268e47(0x2ff)],'actions':_0x765608[_0x268e47(0xef)][_0x268e47(0x3b5)](_0x41780b[_0x268e47(0x303)],_0x1eaf28[_0x268e47(0x303)])}};},{})],_0x2f9455=(_0x176d1e=(_0x253065=_0x3600ba[_0x6b0771(0x2cf)]())==null?void 0x0:_0x253065['userID'])!=null?_0x176d1e:_0x6b0771(0x3e1),_0x164538=(_0x292da0=(_0x5d356f=_0x3600ba[_0x6b0771(0x2cf)]())==null?void 0x0:_0x5d356f[_0x6b0771(0x296)])!=null?_0x292da0:_0x6b0771(0x3e1);return{'changeset':{'unitID':_0x382e8e,'type':_0x32c4ad['mapDocumentTypeToUniverType'](_0x51bac4[_0x6b0771(0x3de)](_0x382e8e)),'baseRev':_0x2b54fb[_0x6b0771(0x390)](_0x382e8e),'revision':0x0,'userID':_0x2f9455,'memberID':_0x164538,'mutations':_0x203069},'pendingMutations':[]};}function _0x54537f(_0x20f87b,_0x33ba37){var _0x3d5009=_0x1b6ca5;const _0x273629=new _0x2f43df[(_0x3d5009(0x2a9))](0x1);return setTimeout(()=>_0x273629[_0x3d5009(0x1a2)](_0x33ba37),_0x20f87b),_0x273629['asObservable']()['pipe'](_0x2f43df[_0x3d5009(0x274)](0x1));}var _0x368a2d=Object['getOwnPropertyDescriptor'],_0x33358a=(_0xe527d8,_0x357e91,_0x5a3212,_0x456491)=>{var _0x1497ae=_0x1b6ca5;for(var _0x4de3cd=_0x456491>0x1?void 0x0:_0x456491?_0x368a2d(_0x357e91,_0x5a3212):_0x357e91,_0x58c006=_0xe527d8[_0x1497ae(0x39e)]-0x1,_0x5c6c41;_0x58c006>=0x0;_0x58c006--)(_0x5c6c41=_0xe527d8[_0x58c006])&&(_0x4de3cd=_0x5c6c41(_0x4de3cd)||_0x4de3cd);return _0x4de3cd;},_0x3bc723=(_0x4ccb49,_0x58bb2c)=>(_0x37cbf6,_0x5296ee)=>_0x58bb2c(_0x37cbf6,_0x5296ee,_0x4ccb49),_0x528d90=(_0x3b5061=>(_0x3b5061[_0x1b6ca5(0x3e2)]=_0x1b6ca5(0x2da),_0x3b5061['SYNCED']='synced',_0x3b5061['PENDING']=_0x1b6ca5(0x357),_0x3b5061[_0x1b6ca5(0xf8)]=_0x1b6ca5(0x320),_0x3b5061[_0x1b6ca5(0x15c)]=_0x1b6ca5(0x2fb),_0x3b5061[_0x1b6ca5(0x89)]=_0x1b6ca5(0x3c6),_0x3b5061[_0x1b6ca5(0x3f0)]=_0x1b6ca5(0x391),_0x3b5061['OFFLINE']='offline',_0x3b5061))(_0x528d90||{});const _0x5b1990=0xea60;class _0x40eaa2{constructor(_0x21c055,_0x25b4fe,_0x369dd8,_0x1c04de,_0x454edf,_0x408eae,_0x464283,_0x1f9a84,_0x3c4be5){var _0x3cc049=_0x1b6ca5;_0x1bac5f(this,_0x3cc049(0x2bb),null),_0x1bac5f(this,_0x3cc049(0x3a9),[]),(this[_0x3cc049(0xfe)]=_0x21c055,this[_0x3cc049(0xbb)]=_0x25b4fe,this[_0x3cc049(0x2f9)]=_0x454edf,this[_0x3cc049(0xa1)]=_0x408eae,this[_0x3cc049(0x2f6)]=_0x464283,this['_revisionService']=_0x1f9a84,this[_0x3cc049(0x294)]=_0x3c4be5,this[_0x3cc049(0x2bb)]=_0x369dd8,this[_0x3cc049(0x3a9)]=_0x1c04de);}[_0x1b6ca5(0x37d)](_0x18b3ab){var _0x59f697=_0x1b6ca5;const _0x5e5aee=this[_0x59f697(0x2d0)]['getCurrentRevOfUnit'](this['unitID']);return _0x18b3ab[_0x59f697(0x2e6)]>_0x5e5aee+0x1?(this['_handler'][_0x59f697(0x21b)]({'from':_0x5e5aee,'to':_0x18b3ab[_0x59f697(0x2e6)]-0x1}),!0x0):!0x1;}[_0x1b6ca5(0x387)](_0x4e511c){var _0x5b111f=_0x1b6ca5;this[_0x5b111f(0x2f6)]['transformUndoRedo'](this['unitID'],_0x4e511c);}[_0x1b6ca5(0x2f4)](_0x1cb0b8){var _0x377c73=_0x1b6ca5,_0x3d068c,_0x4aa74d;(_0x4aa74d=(_0x3d068c=this[_0x377c73(0x2f9)])['onTransformSelections'])==null||_0x4aa74d[_0x377c73(0x118)](_0x3d068c,_0x1cb0b8);}[_0x1b6ca5(0x246)](_0x62d615){var _0x13f809=_0x1b6ca5,_0x4c644a,_0x400bd3;return(_0x400bd3=(_0x4c644a=this[_0x13f809(0x2f9)])[_0x13f809(0x242)])==null?void 0x0:_0x400bd3[_0x13f809(0x118)](_0x4c644a,_0x62d615);}[_0x1b6ca5(0x32f)](_0x22fd4b){var _0x58a2f5=_0x1b6ca5,_0x2dbe09,_0x3a8733;return(_0x3a8733=(_0x2dbe09=this['_handler'])[_0x58a2f5(0x3f1)])==null?void 0x0:_0x3a8733['call'](_0x2dbe09,_0x22fd4b);}[_0x1b6ca5(0x151)](_0x39130f){var _0x9a1396=_0x1b6ca5,_0x4e9f0c,_0x563da7,_0x4b5f3b;return(_0x4b5f3b=(_0x563da7=(_0x4e9f0c=this[_0x9a1396(0x2f9)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x563da7['call'](_0x4e9f0c,_0x39130f))!=null?_0x4b5f3b:_0x39130f;}[_0x1b6ca5(0x1d9)](_0x380b06){var _0x2d73a2=_0x1b6ca5,_0x354e07,_0x269748,_0x4e9ec0;return(_0x4e9ec0=(_0x269748=(_0x354e07=this[_0x2d73a2(0x2f9)])[_0x2d73a2(0x364)])==null?void 0x0:_0x269748[_0x2d73a2(0x118)](_0x354e07,_0x380b06))!=null?_0x4e9ec0:_0x380b06;}[_0x1b6ca5(0x1b6)](_0x3a92f0){var _0x16ffe4=_0x1b6ca5,_0x3308f6,_0x2806a6;if(this[_0x16ffe4(0xbb)]===_0x56d87c[_0x16ffe4(0x31a)]){const {unitID:_0x1310b1,mutations:_0x43ae82,memberID:_0x305fa3}=_0x3a92f0,_0x17be50=_0x43ae82[_0x16ffe4(0x39e)]>0x0?_0x43ae82[0x0][_0x16ffe4(0x1e7)][_0x16ffe4(0x2ff)]:[];Array[_0x16ffe4(0x14e)](_0x17be50)&&_0x17be50[_0x16ffe4(0x39e)]>0x0&&((_0x2806a6=(_0x3308f6=this[_0x16ffe4(0x2f9)])[_0x16ffe4(0x34e)])==null||_0x2806a6[_0x16ffe4(0x118)](_0x3308f6,{'unitID':_0x1310b1,'memberID':_0x305fa3,'textRanges':_0x17be50}));}}['_updateLocalCache'](){var _0x501bd5=_0x1b6ca5,_0x17831c;(_0x17831c=this['_localCacheService'])==null||_0x17831c['updateOfflineData'](this[_0x501bd5(0xfe)],this[_0x501bd5(0xbb)],this['_awaitingChangeset'],this[_0x501bd5(0x3a9)]);}[_0x1b6ca5(0x1e5)](){var _0x5083f9=_0x1b6ca5;return this['_revisionService'][_0x5083f9(0x390)](this[_0x5083f9(0xfe)]);}[_0x1b6ca5(0x32d)](){var _0x1145b9=_0x1b6ca5;this[_0x1145b9(0x2d0)][_0x1145b9(0x169)](this[_0x1145b9(0xfe)]);}[_0x1b6ca5(0x177)](_0x3c8d2e){var _0x3de5b8=_0x1b6ca5,_0x7d6542;let _0x306442=this['_transformRemoteChangesetByIMECache'](_0x3c8d2e);_0x306442=this[_0x3de5b8(0x1d9)](_0x306442);const _0x457562=_0x765608[_0x3de5b8(0x8b)](_0x306442[_0x3de5b8(0x233)],this['_commandService'],{'fromCollab':!0x0});if(!_0x457562[_0x3de5b8(0x27b)])throw _0x457562[_0x3de5b8(0x35f)]instanceof Error?_0x457562['error']:new Error((_0x7d6542=_0x457562[_0x3de5b8(0x35f)])!=null?_0x7d6542:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x306442),this[_0x3de5b8(0x32f)](_0x306442),this[_0x3de5b8(0x387)](_0x3c8d2e),this[_0x3de5b8(0x2f4)](_0x306442),this[_0x3de5b8(0x1b6)](_0x306442),this[_0x3de5b8(0x32d)]();}}_0x35847c[_0x1b6ca5(0x1fd)]=class extends _0x40eaa2{constructor(_0x180e35,_0x4d93e5,_0x30d852,_0x110cdd,_0x94cd90,_0x3b507f,_0x2b5472,_0x3df488,_0x4d8ef8,_0x4eed4f){var _0x365ff0=_0x1b6ca5;super(_0x180e35,_0x4d93e5,null,[],_0x30d852,_0x2b5472,_0x3b507f,_0x110cdd,_0x4eed4f),_0x1bac5f(this,_0x365ff0(0x2cd),_0x365ff0(0x215)),(this[_0x365ff0(0x172)]=_0x94cd90,this['_logService']=_0x3df488,this[_0x365ff0(0x226)]=_0x4d8ef8,this[_0x365ff0(0x389)]=_0x4eed4f);}[_0x1b6ca5(0x377)](_0x2499f5){var _0x17c034=_0x1b6ca5;const _0x3d5528=this[_0x17c034(0x172)]['createInstance'](_0x35847c[_0x17c034(0xc7)],this['unitID'],this[_0x17c034(0xbb)],[_0x2499f5],this[_0x17c034(0x2f9)]);return _0x3d5528[_0x17c034(0x3ff)](),_0x3d5528['_updateLocalCache'](),_0x3d5528;}['onRemoteChangeset'](_0x1cfee6){var _0x3e80bd=_0x1b6ca5;if(this[_0x3e80bd(0x37d)](_0x1cfee6))return this[_0x3e80bd(0x172)]['createInstance'](_0x35847c['FetchingMissState'],this[_0x3e80bd(0xfe)],this['type'],null,[],null,[_0x1cfee6],this[_0x3e80bd(0x2f9)]);try{const _0x4fb5df=this[_0x3e80bd(0x226)][_0x3e80bd(0x291)](_0x1cfee6,[_0x32c4ad[_0x3e80bd(0xb2)]]);if(_0x32c4ad[_0x3e80bd(0x256)](_0x4fb5df)){const {c1Prime:_0x3b9ad6}=_0x4fb5df;return this[_0x3e80bd(0x177)](_0x3b9ad6),this;}throw _0x4fb5df[_0x3e80bd(0x35f)];}catch(_0x40cb8e){return this[_0x3e80bd(0x9f)][_0x3e80bd(0x35f)](_0x40cb8e),this[_0x3e80bd(0x2e8)](!0x1);}}[_0x1b6ca5(0x2e8)](_0x40828c){var _0x5dd37d=_0x1b6ca5;return this[_0x5dd37d(0x172)][_0x5dd37d(0xc8)](_0x35847c['ConflictState'],this[_0x5dd37d(0xfe)],this[_0x5dd37d(0xbb)],null,[],this[_0x5dd37d(0x2f9)],_0x40828c);}['onRemoteAck'](){var _0x3f6176=_0x1b6ca5;throw new Error(_0x3f6176(0xc9));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1b6ca5(0x265)](){var _0x12c466=_0x1b6ca5;return this[_0x12c466(0x172)][_0x12c466(0xc8)](_0x35847c[_0x12c466(0x183)],this[_0x12c466(0xfe)],this['type'],null,[],this[_0x12c466(0x2f9)]);}[_0x1b6ca5(0x3fd)](){return this;}[_0x1b6ca5(0x2d2)](){var _0x309645=_0x1b6ca5;throw new Error(_0x309645(0x370));}[_0x1b6ca5(0x319)](){var _0x50ed63=_0x1b6ca5;const _0x5edc58=this['_revisionService'][_0x50ed63(0x390)](this[_0x50ed63(0xfe)]);return this['_handler'][_0x50ed63(0x21b)]({'from':_0x5edc58,'to':0x0}),this[_0x50ed63(0x172)]['createInstance'](_0x35847c['FetchingMissState'],this[_0x50ed63(0xfe)],this['type'],null,[],null,[],this['_handler']);}},_0x35847c[_0x1b6ca5(0x1fd)]=_0x33358a([_0x3bc723(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['RevisionService'])),_0x3bc723(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x5,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0x6,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0x7,_0x765608['ILogService']),_0x3bc723(0x8,_0x32c4ad[_0x1b6ca5(0x152)]),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c[_0x1b6ca5(0x1fd)]),_0x35847c[_0x1b6ca5(0xc7)]=class extends _0x40eaa2{constructor(_0x14bba1,_0xd10fc7,_0x25974f,_0x3372da,_0x377f44,_0x3ef2df,_0x1d3f48,_0xec0653,_0xa401ff,_0x42e5ea,_0x296eaa,_0x82c32f,_0x5ba803,_0x1dff4b){var _0x1a02fd=_0x1b6ca5;super(_0x14bba1,_0xd10fc7,null,_0x25974f,_0x3372da,_0xa401ff,_0x5ba803,_0x3ef2df,_0x1dff4b),_0x1bac5f(this,'status',_0x1a02fd(0x357)),_0x1bac5f(this,_0x1a02fd(0x3c5),null),_0x1bac5f(this,_0x1a02fd(0x1f9),null),(this[_0x1a02fd(0x172)]=_0x377f44,this['_memberService']=_0x1d3f48,this[_0x1a02fd(0x9f)]=_0xec0653,this[_0x1a02fd(0xd8)]=_0x42e5ea,this['_transformService']=_0x296eaa,this[_0x1a02fd(0xe7)]=_0x82c32f);}['appendMutation'](_0x1440a0){var _0x365839=_0x1b6ca5;return this[_0x365839(0x3a9)][_0x365839(0x13f)](_0x1440a0),this[_0x365839(0x220)](),this;}[_0x1b6ca5(0x12f)](_0x4d7355){var _0x36c2b9=_0x1b6ca5;if(this['_checkMissing'](_0x4d7355))return this[_0x36c2b9(0x31d)](),this['_injector'][_0x36c2b9(0xc8)](_0x35847c[_0x36c2b9(0x25e)],this['unitID'],this['type'],null,this[_0x36c2b9(0x3a9)],null,[_0x4d7355],this[_0x36c2b9(0x2f9)]);try{const _0x48f566=this[_0x36c2b9(0x226)][_0x36c2b9(0x291)](_0x4d7355,this['_pendingMutations']);if(_0x32c4ad[_0x36c2b9(0x256)](_0x48f566)){const {c1Prime:_0x3a3b54,m2Prime:_0x112a6a}=_0x48f566;this['_executeRemoteChangeset'](_0x3a3b54);const _0x976f82=this['_injector']['createInstance'](_0x35847c[_0x36c2b9(0xc7)],this[_0x36c2b9(0xfe)],this['type'],_0x112a6a,this['_handler']);this[_0x36c2b9(0x31d)]();const _0x1df099=new Date()[_0x36c2b9(0x3ed)](),_0x1d6b6d=this[_0x36c2b9(0x3c5)]?Math[_0x36c2b9(0x298)](this[_0x36c2b9(0x3c5)]-_0x1df099,0x0):this[_0x36c2b9(0x16f)]();return _0x976f82['_schedule'](_0x1d6b6d),_0x976f82;}throw _0x48f566['error'];}catch(_0x5675cc){return this['_logService'][_0x36c2b9(0x35f)](_0x5675cc),this[_0x36c2b9(0x2e8)](!0x1);}}[_0x1b6ca5(0x206)](){var _0x9de6c0=_0x1b6ca5;throw new Error(_0x9de6c0(0x3e4));}[_0x1b6ca5(0xde)](){var _0x1b752a=_0x1b6ca5;throw new Error(_0x1b752a(0xc1));}[_0x1b6ca5(0x264)](){return this;}['toggleOffline'](){var _0x55692e=_0x1b6ca5;return this[_0x55692e(0x31d)](),this[_0x55692e(0x172)]['createInstance'](_0x35847c[_0x55692e(0x183)],this[_0x55692e(0xfe)],this['type'],null,this[_0x55692e(0x3a9)],this[_0x55692e(0x2f9)]);}['toggleOnline'](){return this;}[_0x1b6ca5(0x3ff)](_0x772d43){var _0x3453fd=_0x1b6ca5;const _0xe5169b=_0x772d43!=null?_0x772d43:this[_0x3453fd(0x16f)]();this[_0x3453fd(0x3c5)]=new Date()[_0x3453fd(0x3ed)]()+_0xe5169b,this[_0x3453fd(0x1f9)]=setTimeout(()=>{var _0x34e11a=_0x3453fd;this[_0x34e11a(0x31d)]();let _0x5533bd=null;switch(this['type']){case _0x56d87c[_0x34e11a(0x398)]:{_0x5533bd=_0x46ce9b(this['_pendingMutations'],this[_0x34e11a(0xfe)],this[_0x34e11a(0xe7)],this[_0x34e11a(0x2d0)],this[_0x34e11a(0x2fa)]);break;}case _0x56d87c[_0x34e11a(0x31a)]:{this['_pendingMutations'][_0x34e11a(0x188)](_0x22d356=>_0x22d356['id']===_0x5068b0[_0x34e11a(0x21d)]['id'])?_0x5533bd=_0x7d0fa8(this['_pendingMutations'],this[_0x34e11a(0xfe)],this[_0x34e11a(0xe7)],this[_0x34e11a(0x2d0)],this[_0x34e11a(0x2fa)]):_0x5533bd=_0x46ce9b(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x34e11a(0x2d0)],this[_0x34e11a(0x2fa)]);break;}default:throw new Error(_0x34e11a(0x1b1)+this[_0x34e11a(0xbb)]+_0x34e11a(0x1dd));}const {changeset:_0x17f6b2,pendingMutations:_0x5a3e1f}=_0x5533bd;this[_0x34e11a(0x2f9)][_0x34e11a(0x3fc)](_0x17f6b2);const _0xc78e9e=_0x5a3e1f[_0x34e11a(0x39e)]?this[_0x34e11a(0x172)][_0x34e11a(0xc8)](_0x35847c[_0x34e11a(0x2e9)],this['unitID'],this[_0x34e11a(0xbb)],_0x17f6b2,_0x5a3e1f,this[_0x34e11a(0x2f9)],void 0x0):this['_injector']['createInstance'](_0x35847c[_0x34e11a(0xd4)],this[_0x34e11a(0xfe)],this[_0x34e11a(0xbb)],_0x17f6b2,this[_0x34e11a(0x2f9)]);_0xc78e9e[_0x34e11a(0x220)](),this['_handler'][_0x34e11a(0x3ec)](this,_0xc78e9e);},_0xe5169b);}['_getSendChangesetTimeout'](){var _0x419ce6=_0x1b6ca5,_0x4fea2d;const _0x289182=this[_0x419ce6(0xd8)][_0x419ce6(0x1ef)](_0x32b669);return(_0x4fea2d=_0x289182==null?void 0x0:_0x289182[_0x419ce6(0x347)])!=null?_0x4fea2d:0x7d0;}[_0x1b6ca5(0x2d2)](){var _0x43a8c6=_0x1b6ca5;throw new Error(_0x43a8c6(0x111));}[_0x1b6ca5(0x31d)](){var _0x9a5ad2=_0x1b6ca5;this['_sendingTimer']!=null&&(clearTimeout(this[_0x9a5ad2(0x1f9)]),this[_0x9a5ad2(0x1f9)]=null);}['_onConflict'](_0x52dcb6){var _0x69eda0=_0x1b6ca5;return this[_0x69eda0(0x31d)](),this[_0x69eda0(0x172)][_0x69eda0(0xc8)](_0x35847c[_0x69eda0(0x3a8)],this['unitID'],this[_0x69eda0(0xbb)],null,this['_pendingMutations'],this['_handler'],_0x52dcb6);}},_0x35847c[_0x1b6ca5(0xc7)]=_0x33358a([_0x3bc723(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['RevisionService'])),_0x3bc723(0x6,_0x765608['Inject'](_0x35847c['MemberService'])),_0x3bc723(0x7,_0x765608[_0x1b6ca5(0x3f9)]),_0x3bc723(0x8,_0x765608['ICommandService']),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x1af)]),_0x3bc723(0xa,_0x32c4ad[_0x1b6ca5(0x152)]),_0x3bc723(0xb,_0x765608[_0x1b6ca5(0x175)]),_0x3bc723(0xc,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0xd,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c['PendingState']),_0x35847c[_0x1b6ca5(0xd4)]=class extends _0x40eaa2{constructor(_0x56f10a,_0x310305,_0xb532ba,_0x81252c,_0x4d8df0,_0x1a9090,_0x43fa52,_0x5c18a9,_0x11b0c5,_0x28a5b4,_0x534f21){var _0x19a0ce=_0x1b6ca5;super(_0x56f10a,_0x310305,_0xb532ba,[],_0x81252c,_0x43fa52,_0x28a5b4,_0x1a9090,_0x534f21),_0x1bac5f(this,_0x19a0ce(0x2cd),_0x19a0ce(0x320)),_0x1bac5f(this,_0x19a0ce(0x201),0x0),_0x1bac5f(this,_0x19a0ce(0xca)),_0x1bac5f(this,_0x19a0ce(0x3fb)),(this['_injector']=_0x4d8df0,this[_0x19a0ce(0x9f)]=_0x5c18a9,this[_0x19a0ce(0x226)]=_0x11b0c5);}[_0x1b6ca5(0x377)](_0x2f6b5b){var _0x577211=_0x1b6ca5;this['_clearScheduledTask']();const _0x393d4f=this[_0x577211(0x172)][_0x577211(0xc8)](_0x35847c[_0x577211(0x2e9)],this[_0x577211(0xfe)],this['type'],this['_awaitingChangeset'],[_0x2f6b5b],this['_handler'],this[_0x577211(0xca)]);return _0x393d4f[_0x577211(0x220)](),_0x393d4f;}[_0x1b6ca5(0x12f)](_0x5d6042){var _0x4e367d=_0x1b6ca5;if(this[_0x4e367d(0x37d)](_0x5d6042))return this[_0x4e367d(0x31d)](),this[_0x4e367d(0x172)][_0x4e367d(0xc8)](_0x35847c[_0x4e367d(0x25e)],this[_0x4e367d(0xfe)],this[_0x4e367d(0xbb)],this[_0x4e367d(0x2bb)],[],null,[_0x5d6042],this[_0x4e367d(0x2f9)]);try{const _0x560ccb=this[_0x4e367d(0x226)][_0x4e367d(0x2c6)]([_0x5d6042],[this[_0x4e367d(0x2bb)]],!0x1);if(_0x32c4ad[_0x4e367d(0xcd)](_0x560ccb)){const {c1Prime:_0x2fbd4f,c2Prime:_0x1d3524}=_0x560ccb;this[_0x4e367d(0x177)](_0x2fbd4f[0x0]),_0x1d3524[0x0][_0x4e367d(0x292)]=this[_0x4e367d(0x1e5)](),this[_0x4e367d(0x31d)]();const _0x5dcf79=this[_0x4e367d(0x172)][_0x4e367d(0xc8)](_0x35847c[_0x4e367d(0xd4)],this['unitID'],this['type'],_0x1d3524[0x0],this[_0x4e367d(0x2f9)]);return _0x5dcf79[_0x4e367d(0x220)](),_0x5dcf79;}return this['_onConflict'](!0x1);}catch(_0x457977){return this[_0x4e367d(0x9f)]['error'](_0x457977),this[_0x4e367d(0x2e8)](!0x1);}}[_0x1b6ca5(0x206)](_0x5065e6){var _0x10bcce=_0x1b6ca5;this[_0x10bcce(0x31d)]();const _0x3bb061=this[_0x10bcce(0x2d0)][_0x10bcce(0x390)](this['unitID']);if(_0x5065e6[_0x10bcce(0x2e6)]<_0x3bb061-0x1)return this;if(this[_0x10bcce(0x37d)](_0x5065e6))return this[_0x10bcce(0x172)]['createInstance'](_0x35847c[_0x10bcce(0x25e)],this[_0x10bcce(0xfe)],this[_0x10bcce(0xbb)],null,[],this[_0x10bcce(0x2bb)],[],this['_handler']);this[_0x10bcce(0x32d)]();const _0x52e9cb=this['_injector']['createInstance'](_0x35847c[_0x10bcce(0x1fd)],this['unitID'],this['type'],this[_0x10bcce(0x2f9)]);return _0x52e9cb[_0x10bcce(0x220)](),_0x52e9cb;}['onRemoteRej'](_0x1d1a4){var _0x5e7f99=_0x1b6ca5;return this['_onConflict'](!!(_0x1d1a4!=null&&_0x1d1a4[_0x5e7f99(0xb3)]));}['onRemoteRetry'](_0x4bdb50){var _0x1939a1=_0x1b6ca5;return this[_0x1939a1(0x201)]>_0x5b1990?this[_0x1939a1(0x265)]():(this[_0x1939a1(0xca)]=_0x54537f(this[_0x1939a1(0x201)],{'timeout':this[_0x1939a1(0x201)],'reqId':_0x4bdb50[_0x1939a1(0x393)]}),this[_0x1939a1(0x3fb)]=this[_0x1939a1(0xca)][_0x1939a1(0xf0)](({reqId:_0x2c5aba,timeout:_0x177765})=>{var _0xe40e03=_0x1939a1;this[_0xe40e03(0x37c)](_0x2c5aba,_0x177765);}),this);}['toggleOffline'](){var _0x387dc3=_0x1b6ca5;return this[_0x387dc3(0x31d)](),this['_injector']['createInstance'](_0x35847c[_0x387dc3(0x183)],this['unitID'],this[_0x387dc3(0xbb)],this[_0x387dc3(0x2bb)],[],this[_0x387dc3(0x2f9)]);}[_0x1b6ca5(0x3fd)](){return this;}['resend'](){var _0xad04e5=_0x1b6ca5;this[_0xad04e5(0x2f9)][_0xad04e5(0x3fc)](this[_0xad04e5(0x2bb)]);}[_0x1b6ca5(0x2e8)](_0x4c3d08){var _0x56d912=_0x1b6ca5;return this[_0x56d912(0x31d)](),this['_injector']['createInstance'](_0x35847c[_0x56d912(0x3a8)],this['unitID'],this[_0x56d912(0xbb)],this['_awaitingChangeset'],[],this['_handler'],_0x4c3d08);}[_0x1b6ca5(0x37c)](_0x2c1468,_0x42aee2){var _0xa3b44d=_0x1b6ca5,_0x24d5cf;_0x2c1468===((_0x24d5cf=this[_0xa3b44d(0x2bb)])==null?void 0x0:_0x24d5cf[_0xa3b44d(0x393)])&&(this[_0xa3b44d(0x2d2)](),this[_0xa3b44d(0x201)]=_0x42aee2===0x0?0x3e8:_0x42aee2*0x2);}[_0x1b6ca5(0x31d)](){var _0x454e76=_0x1b6ca5,_0x2c27ff;(_0x2c27ff=this[_0x454e76(0x3fb)])==null||_0x2c27ff['unsubscribe'](),this[_0x454e76(0x201)]=0x0;}},_0x35847c[_0x1b6ca5(0xd4)]=_0x33358a([_0x3bc723(0x4,_0x765608['Inject'](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0x6,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0x7,_0x765608[_0x1b6ca5(0x3f9)]),_0x3bc723(0x8,_0x32c4ad[_0x1b6ca5(0x152)]),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0xa,_0x765608['Optional'](_0x9f10c))],_0x35847c['AwaitingState']),_0x35847c[_0x1b6ca5(0x2e9)]=class extends _0x40eaa2{constructor(_0x24c18b,_0x2febb9,_0x4f868a,_0x272aaa,_0x23156c,_0x5abdef,_0x3d0069,_0x3138f6,_0x2b8c4d,_0x4159a9,_0x591d9f,_0x3221a8,_0x4a39c9){var _0x4cb4d5=_0x1b6ca5;super(_0x24c18b,_0x2febb9,_0x4f868a,_0x272aaa,_0x23156c,_0x2b8c4d,_0x3221a8,_0x3138f6,_0x4a39c9),_0x1bac5f(this,_0x4cb4d5(0x2cd),_0x4cb4d5(0x2fb)),_0x1bac5f(this,_0x4cb4d5(0x201),0x0),_0x1bac5f(this,_0x4cb4d5(0xca)),_0x1bac5f(this,'_sender'),(this['_injector']=_0x3d0069,this[_0x4cb4d5(0x9f)]=_0x4159a9,this[_0x4cb4d5(0x226)]=_0x591d9f,this[_0x4cb4d5(0x389)]=_0x4a39c9,_0x5abdef&&(this[_0x4cb4d5(0xca)]=_0x5abdef,this['_sender']=this[_0x4cb4d5(0xca)][_0x4cb4d5(0xf0)](({reqId:_0x3583db,timeout:_0x3b2514})=>{this['_resendWithTimeout'](_0x3583db,_0x3b2514);})));}['appendMutation'](_0x5bd059){var _0x294b1f=_0x1b6ca5;return this[_0x294b1f(0x3a9)][_0x294b1f(0x13f)](_0x5bd059),this;}[_0x1b6ca5(0x12f)](_0x5810b7){var _0x46c072=_0x1b6ca5;if(this['_checkMissing'](_0x5810b7))return this[_0x46c072(0x31d)](),this[_0x46c072(0x172)]['createInstance'](_0x35847c[_0x46c072(0x25e)],this[_0x46c072(0xfe)],this['type'],this[_0x46c072(0x2bb)],this[_0x46c072(0x3a9)],null,[_0x5810b7],this[_0x46c072(0x2f9)]);try{const _0x255b0c=this['_transformService']['transformChangesets']([_0x5810b7],[this['_awaitingChangeset']],!0x1);if(_0x32c4ad[_0x46c072(0xcd)](_0x255b0c)){const {c1Prime:_0x2e32a7,c2Prime:_0x2b0c68}=_0x255b0c,_0x519da5=this[_0x46c072(0x226)][_0x46c072(0x291)](_0x2e32a7[0x0],this[_0x46c072(0x3a9)]);if(_0x32c4ad[_0x46c072(0x256)](_0x519da5)){const {c1Prime:_0x3661a5,m2Prime:_0x409890}=_0x519da5;return this[_0x46c072(0x177)](_0x3661a5),_0x2b0c68[0x0][_0x46c072(0x292)]=this[_0x46c072(0x1e5)](),this[_0x46c072(0x31d)](),this['_injector'][_0x46c072(0xc8)](_0x35847c[_0x46c072(0x2e9)],this[_0x46c072(0xfe)],this[_0x46c072(0xbb)],_0x2b0c68[0x0],_0x409890,this['_handler'],void 0x0);}throw _0x519da5['error'];}throw _0x255b0c[_0x46c072(0x35f)];}catch(_0x3cc83c){return this[_0x46c072(0x9f)][_0x46c072(0x35f)](_0x3cc83c),this[_0x46c072(0x2e8)](!0x1);}}[_0x1b6ca5(0x206)](_0x3264a8){var _0x386560=_0x1b6ca5;if(this[_0x386560(0x31d)](),this[_0x386560(0x37d)](_0x3264a8))return this[_0x386560(0x172)][_0x386560(0xc8)](_0x35847c[_0x386560(0x25e)],this['unitID'],this[_0x386560(0xbb)],null,this['_pendingMutations'],this[_0x386560(0x2bb)],[],this[_0x386560(0x2f9)]);this[_0x386560(0x32d)]();const _0x152bb1=this[_0x386560(0x172)]['createInstance'](_0x35847c[_0x386560(0xc7)],this[_0x386560(0xfe)],this[_0x386560(0xbb)],this[_0x386560(0x3a9)],this[_0x386560(0x2f9)]);return _0x152bb1['_schedule'](),_0x152bb1[_0x386560(0x220)](),_0x152bb1;}[_0x1b6ca5(0xde)](_0xbb46b6){var _0x10f7cd=_0x1b6ca5;return this[_0x10f7cd(0x2e8)](!!(_0xbb46b6!=null&&_0xbb46b6[_0x10f7cd(0xb3)]));}[_0x1b6ca5(0x264)](_0x2ce39f){var _0x474ba3=_0x1b6ca5;return this['_resendTimeout']>_0x5b1990?this[_0x474ba3(0x265)]():(this[_0x474ba3(0xca)]=_0x54537f(this[_0x474ba3(0x201)],{'timeout':this['_resendTimeout'],'reqId':_0x2ce39f[_0x474ba3(0x393)]}),this['_sender']=this[_0x474ba3(0xca)]['subscribe'](({reqId:_0x3d1c7e,timeout:_0x3f4f01})=>{this['_resendWithTimeout'](_0x3d1c7e,_0x3f4f01);}),this);}[_0x1b6ca5(0x265)](){var _0x35cad4=_0x1b6ca5;return this[_0x35cad4(0x31d)](),this[_0x35cad4(0x172)][_0x35cad4(0xc8)](_0x35847c['OfflineState'],this['unitID'],this[_0x35cad4(0xbb)],this[_0x35cad4(0x2bb)],this[_0x35cad4(0x3a9)],this[_0x35cad4(0x2f9)]);}[_0x1b6ca5(0x3fd)](){return this;}[_0x1b6ca5(0x2d2)](){var _0x114a40=_0x1b6ca5;this[_0x114a40(0x2f9)][_0x114a40(0x3fc)](this[_0x114a40(0x2bb)]);}['_onConflict'](_0x1c7492){var _0x37469f=_0x1b6ca5;return this[_0x37469f(0x31d)](),this['_injector'][_0x37469f(0xc8)](_0x35847c[_0x37469f(0x3a8)],this[_0x37469f(0xfe)],this[_0x37469f(0xbb)],null,this[_0x37469f(0x3a9)],this[_0x37469f(0x2f9)],_0x1c7492);}[_0x1b6ca5(0x37c)](_0x9112c1,_0x418378){var _0x38eb11=_0x1b6ca5,_0x4b721b;_0x9112c1===((_0x4b721b=this[_0x38eb11(0x2bb)])==null?void 0x0:_0x4b721b['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x418378===0x0?0x3e8:_0x418378*0x2);}['_clearScheduledTask'](){var _0x527105=_0x1b6ca5,_0x4d0d03;(_0x4d0d03=this[_0x527105(0x3fb)])==null||_0x4d0d03[_0x527105(0x7c)](),this['_resendTimeout']=0x0;}},_0x35847c[_0x1b6ca5(0x2e9)]=_0x33358a([_0x3bc723(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x7,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0x8,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x3f9)]),_0x3bc723(0xa,_0x32c4ad['ITransformService']),_0x3bc723(0xb,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0xc,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c[_0x1b6ca5(0x2e9)]),_0x35847c[_0x1b6ca5(0x3a8)]=class extends _0x40eaa2{constructor(_0x1d8dad,_0x29f7c5,_0x249b12,_0x192318,_0x2622a1,_0xc4579a=!0x1,_0xbd92c8,_0x1df1fd,_0x5e3e8a,_0x49a8ad,_0x30516f,_0x16604e,_0x3abd8d){var _0x380cf8=_0x1b6ca5;super(_0x1d8dad,_0x29f7c5,_0x249b12,_0x192318,_0x2622a1,_0x1df1fd,_0x5e3e8a,_0x49a8ad,_0x3abd8d),_0x1bac5f(this,_0x380cf8(0x2cd),_0x380cf8(0x391)),(this[_0x380cf8(0x281)]=_0xc4579a,this['_permissionService']=_0xbd92c8,this[_0x380cf8(0x237)]=_0x30516f,this['_collaborationUIEventService']=_0x16604e,this[_0x380cf8(0x389)]=_0x3abd8d,this['_showConflictNotification'](),this[_0x380cf8(0x1a4)](),this[_0x380cf8(0x1e6)]());}[_0x1b6ca5(0x377)](){return this;}[_0x1b6ca5(0x12f)](){return this;}[_0x1b6ca5(0x206)](){return this;}[_0x1b6ca5(0xde)](){return this;}['onRemoteRetry'](){return this;}[_0x1b6ca5(0x265)](){return this;}['toggleOnline'](){return this;}[_0x1b6ca5(0x2d2)](){var _0x3c73f8=_0x1b6ca5;throw new Error(_0x3c73f8(0x289));}['_clearLocalCache'](){var _0x59f082=_0x1b6ca5,_0x2d0393;(_0x2d0393=this['_localCacheService'])==null||_0x2d0393[_0x59f082(0x19a)](this[_0x59f082(0xfe)],this['type'],null,[]);}[_0x1b6ca5(0x18f)](){var _0x5d801c=_0x1b6ca5;this['_isPermissionRej']?this[_0x5d801c(0x322)][_0x5d801c(0x106)]({'id':_0x4d6e97['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x5d801c(0x106)]({'id':_0x4d6e97[_0x5d801c(0x3f0)]});}['_disableEditing'](){var _0x16a4b5=_0x1b6ca5;this[_0x16a4b5(0x1d5)]['updatePermissionPoint'](new _0x8c00ce[(_0x16a4b5(0x228))](this[_0x16a4b5(0xfe)])['id'],!0x1);}},_0x35847c[_0x1b6ca5(0x3a8)]=_0x33358a([_0x3bc723(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x112)])),_0x3bc723(0x7,_0x765608['ICommandService']),_0x3bc723(0x8,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0xa,_0x765608['Inject'](_0x765608['LocaleService'])),_0x3bc723(0xb,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x3bc723(0xc,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c['ConflictState']),_0x35847c[_0x1b6ca5(0x183)]=class extends _0x40eaa2{constructor(_0x47ba49,_0x32754b,_0x4afa8a,_0x112b57,_0x4a2793,_0x2ef681,_0x34b771,_0x163622,_0x2ee5e8,_0x4cb79f){var _0x5056eb=_0x1b6ca5;super(_0x47ba49,_0x32754b,_0x4afa8a,_0x112b57,_0x4a2793,_0x163622,_0x2ee5e8,_0x34b771,_0x4cb79f),_0x1bac5f(this,'status','offline'),this[_0x5056eb(0x172)]=_0x2ef681;}[_0x1b6ca5(0x377)](_0x169441){var _0x3a0ce9=_0x1b6ca5;return this[_0x3a0ce9(0x3a9)]['push'](_0x169441),this['_updateLocalCache'](),this;}[_0x1b6ca5(0x12f)](_0x3c8c64){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1b6ca5(0x206)](){var _0x4b11b8=_0x1b6ca5;throw new Error(_0x4b11b8(0x2af));}[_0x1b6ca5(0xde)](){var _0x5947fc=_0x1b6ca5;throw new Error(_0x5947fc(0x2a3));}[_0x1b6ca5(0x264)](){return this;}[_0x1b6ca5(0x265)](){return this;}[_0x1b6ca5(0x3fd)](){var _0xbdea32=_0x1b6ca5;const {_injector:_0x10191e,_pendingMutations:_0x334b91,_awaitingChangeset:_0x3c608c,unitID:_0x4ab40a,_handler:_0x3fc1a3,type:_0x5ec5c8}=this,_0x285db8=_0x437143(_0x10191e,_0x4ab40a,_0x5ec5c8,_0x3c608c,_0x334b91,_0x3fc1a3);return _0x285db8 instanceof _0x35847c[_0xbdea32(0xc7)]?_0x285db8['_schedule']():(_0x285db8 instanceof _0x35847c[_0xbdea32(0x2e9)]||_0x285db8 instanceof _0x35847c['AwaitingState'])&&_0x285db8[_0xbdea32(0x2d2)](),_0x285db8;}['resend'](){var _0x306c24=_0x1b6ca5;throw new Error(_0x306c24(0x241));}},_0x35847c['OfflineState']=_0x33358a([_0x3bc723(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x765608['Injector'])),_0x3bc723(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0x7,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0x8,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0x9,_0x765608['Optional'](_0x9f10c))],_0x35847c[_0x1b6ca5(0x183)]),_0x35847c[_0x1b6ca5(0x25e)]=class extends _0x40eaa2{constructor(_0x51424f,_0xaf1a9d,_0x5f32c2,_0x555528,_0x37e4db,_0x3a0a2f,_0xe92a44,_0x12163e,_0x3b15d6,_0x4bee77,_0x3b5a4d,_0xddb263,_0x1c431a,_0x449f28){var _0x54aab6=_0x1b6ca5;super(_0x51424f,_0xaf1a9d,_0x5f32c2,_0x555528,_0xe92a44,_0x3b5a4d,_0xddb263,_0x3b15d6,_0x449f28),_0x1bac5f(this,'status',_0x54aab6(0x3c6)),(this[_0x54aab6(0x396)]=_0x37e4db,this[_0x54aab6(0x385)]=_0x3a0a2f,this['_injector']=_0x12163e,this[_0x54aab6(0x9f)]=_0x4bee77,this[_0x54aab6(0x226)]=_0x1c431a,this[_0x54aab6(0x389)]=_0x449f28);}[_0x1b6ca5(0x288)](_0x2ee86c){var _0x3e85fe=_0x1b6ca5;try{const _0x4f2db4=[..._0x2ee86c,...this[_0x3e85fe(0x385)]],_0x1ba750=[this['_awaitingChangeset']||this[_0x3e85fe(0x396)]]['filter'](_0xca613f=>!!_0xca613f);let _0x27adf2,_0x5f5092;if(_0x1ba750[_0x3e85fe(0x39e)]){const _0xdd61ce=this[_0x3e85fe(0x226)][_0x3e85fe(0x2c6)](_0x4f2db4,_0x1ba750,!0x1);if(!_0x32c4ad[_0x3e85fe(0xcd)](_0xdd61ce))throw _0xdd61ce[_0x3e85fe(0x35f)];_0x27adf2=_0xdd61ce[_0x3e85fe(0x147)],_0x5f5092=_0xdd61ce[_0x3e85fe(0x374)];}else _0x27adf2=_0x4f2db4,_0x5f5092=[];let _0x129e22=this['_pendingMutations'];_0x27adf2[_0x3e85fe(0x1d1)](_0x42ab9b=>{var _0x3a5a11=_0x3e85fe;let _0x340454;if(_0x129e22[_0x3a5a11(0x39e)]){const _0x3d5316=this['_transformService'][_0x3a5a11(0x291)](_0x42ab9b,_0x129e22);if(!_0x32c4ad[_0x3a5a11(0x256)](_0x3d5316))throw _0x3d5316['error'];_0x340454=_0x3d5316['c1Prime'],_0x129e22=_0x3d5316[_0x3a5a11(0x1b7)];}else _0x340454=_0x42ab9b;this[_0x3a5a11(0x177)](_0x340454);}),this[_0x3e85fe(0x396)]&&this['_incrementRevisionNumber'](),this[_0x3e85fe(0x2bb)]&&_0x5f5092[_0x3e85fe(0x39e)]&&(_0x5f5092[0x0][_0x3e85fe(0x292)]=this[_0x3e85fe(0x1e5)]());let _0x2b0abe;if(this[_0x3e85fe(0x2bb)]&&_0x129e22[_0x3e85fe(0x39e)]!==0x0)_0x2b0abe=this[_0x3e85fe(0x172)][_0x3e85fe(0xc8)](_0x35847c[_0x3e85fe(0x2e9)],this[_0x3e85fe(0xfe)],this['type'],_0x5f5092[0x0],_0x129e22,this[_0x3e85fe(0x2f9)],void 0x0);else{if(this[_0x3e85fe(0x2bb)]&&_0x129e22['length']===0x0)_0x5f5092[0x0][_0x3e85fe(0x292)]=this[_0x3e85fe(0x1e5)](),_0x2b0abe=this[_0x3e85fe(0x172)][_0x3e85fe(0xc8)](_0x35847c[_0x3e85fe(0xd4)],this[_0x3e85fe(0xfe)],this[_0x3e85fe(0xbb)],_0x5f5092[0x0],this[_0x3e85fe(0x2f9)]);else{if(_0x129e22[_0x3e85fe(0x39e)]!==0x0){const _0x2050d2=this[_0x3e85fe(0x172)]['createInstance'](_0x35847c[_0x3e85fe(0xc7)],this[_0x3e85fe(0xfe)],this[_0x3e85fe(0xbb)],_0x129e22,this[_0x3e85fe(0x2f9)]);_0x2050d2['_schedule'](),_0x2b0abe=_0x2050d2;}else _0x2b0abe=this['_injector']['createInstance'](_0x35847c[_0x3e85fe(0x1fd)],this['unitID'],this[_0x3e85fe(0xbb)],this[_0x3e85fe(0x2f9)]);}}return _0x2b0abe['_updateLocalCache'](),_0x2b0abe;}catch(_0x2649d4){return this[_0x3e85fe(0x9f)]['error'](_0x3e85fe(0x18d),_0x3e85fe(0x8f),_0x2649d4),this[_0x3e85fe(0x172)][_0x3e85fe(0xc8)](_0x35847c[_0x3e85fe(0x3a8)],this[_0x3e85fe(0xfe)],this[_0x3e85fe(0xbb)],this[_0x3e85fe(0x2bb)],this['_pendingMutations'],this['_handler'],!0x1);}}[_0x1b6ca5(0x2d2)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1b6ca5(0x377)](_0x31dbb8){var _0x190bde=_0x1b6ca5;return this['_pendingMutations'][_0x190bde(0x13f)](_0x31dbb8),this;}[_0x1b6ca5(0x12f)](_0xc62fc5){return this['_queuedRemoteChangesets']['push'](_0xc62fc5),this;}[_0x1b6ca5(0x206)](_0x5bc260){var _0x44663a=_0x1b6ca5;if(this['_awaitingChangeset'])return this[_0x44663a(0x396)]=this[_0x44663a(0x2bb)],this[_0x44663a(0x2bb)]=null,this;throw new Error(_0x44663a(0x2bd));}[_0x1b6ca5(0xde)](_0x3a8a7c){var _0x4b42b3=_0x1b6ca5;return this['_onConflict'](!!(_0x3a8a7c!=null&&_0x3a8a7c[_0x4b42b3(0xb3)]));}[_0x1b6ca5(0x264)](){return this;}['toggleOffline'](){var _0x585431=_0x1b6ca5;return this['_injector'][_0x585431(0xc8)](_0x35847c[_0x585431(0x183)],this[_0x585431(0xfe)],this[_0x585431(0xbb)],this[_0x585431(0x2bb)],this[_0x585431(0x3a9)],this[_0x585431(0x2f9)]);}[_0x1b6ca5(0x3fd)](){return this;}[_0x1b6ca5(0x2e8)](_0x42cc1e){var _0x4440b1=_0x1b6ca5;return this['_injector']['createInstance'](_0x35847c[_0x4440b1(0x3a8)],this[_0x4440b1(0xfe)],this[_0x4440b1(0xbb)],this['_awaitingChangeset'],this[_0x4440b1(0x3a9)],this[_0x4440b1(0x2f9)],_0x42cc1e);}},_0x35847c[_0x1b6ca5(0x25e)]=_0x33358a([_0x3bc723(0x7,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x3bc723(0x8,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x3bc723(0x9,_0x765608[_0x1b6ca5(0x3f9)]),_0x3bc723(0xa,_0x765608[_0x1b6ca5(0x386)]),_0x3bc723(0xb,_0x765608[_0x1b6ca5(0x77)]),_0x3bc723(0xc,_0x32c4ad[_0x1b6ca5(0x152)]),_0x3bc723(0xd,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c['FetchingMissState']);function _0x437143(_0x1ab710,_0x25409f,_0x30dc9e,_0x4eb6d5,_0x5a3b04,_0x4d7f3c){var _0x2c849c=_0x1b6ca5;return _0x4eb6d5&&_0x5a3b04[_0x2c849c(0x39e)]?_0x1ab710[_0x2c849c(0xc8)](_0x35847c[_0x2c849c(0x2e9)],_0x25409f,_0x30dc9e,_0x4eb6d5,_0x5a3b04,_0x4d7f3c,void 0x0):_0x4eb6d5?_0x1ab710[_0x2c849c(0xc8)](_0x35847c[_0x2c849c(0xd4)],_0x25409f,_0x30dc9e,_0x4eb6d5,_0x4d7f3c):_0x5a3b04['length']?_0x1ab710[_0x2c849c(0xc8)](_0x35847c[_0x2c849c(0xc7)],_0x25409f,_0x30dc9e,_0x5a3b04,_0x4d7f3c):_0x1ab710[_0x2c849c(0xc8)](_0x35847c[_0x2c849c(0x1fd)],_0x25409f,_0x30dc9e,_0x4d7f3c);}var _0x330911=Object[_0x1b6ca5(0x1d2)],_0x31d509=(_0x3394c3,_0x243f6d,_0x472381,_0x1d2670)=>{var _0x2a7761=_0x1b6ca5;for(var _0x27bf9b=_0x1d2670>0x1?void 0x0:_0x1d2670?_0x330911(_0x243f6d,_0x472381):_0x243f6d,_0x381393=_0x3394c3[_0x2a7761(0x39e)]-0x1,_0x53bb43;_0x381393>=0x0;_0x381393--)(_0x53bb43=_0x3394c3[_0x381393])&&(_0x27bf9b=_0x53bb43(_0x27bf9b)||_0x27bf9b);return _0x27bf9b;},_0x1d2720=(_0x1eebaf,_0x47d5ad)=>(_0x3b5907,_0x18a11f)=>_0x47d5ad(_0x3b5907,_0x18a11f,_0x1eebaf);_0x35847c['CollaborationEntity']=class extends _0x765608[_0x1b6ca5(0x3ac)]{constructor(_0x555c8b,_0x3f4fe4,_0xc8e6dd,_0xf4148c,_0x255ede,_0x287b34,_0x2e3a27,_0x51fc2c,_0x379d8a,_0x575380,_0x138293,_0x29533f,_0x5a04ae,_0x366d3d){var _0x14b0c6=_0x1b6ca5;super(),_0x1bac5f(this,_0x14b0c6(0x311),new _0x2f43df['BehaviorSubject'](null)),_0x1bac5f(this,_0x14b0c6(0x248),this[_0x14b0c6(0x311)]['asObservable']()),_0x1bac5f(this,_0x14b0c6(0x2ef)),_0x1bac5f(this,'_collaborationPaused',!0x1),_0x1bac5f(this,_0x14b0c6(0x3d4),''),_0x1bac5f(this,_0x14b0c6(0x1c8),0x0),_0x1bac5f(this,_0x14b0c6(0x33c),this[_0x14b0c6(0x248)]['pipe'](_0x2f43df[_0x14b0c6(0x10d)](_0x57295d=>_0x57295d?_0x57295d['status']:_0x528d90[_0x14b0c6(0x1c5)]),_0x2f43df[_0x14b0c6(0x202)](0x1))),_0x1bac5f(this,'_transitionLocked',!0x1),_0x1bac5f(this,_0x14b0c6(0xc5),[]),(this['unitID']=_0x555c8b,this[_0x14b0c6(0xa6)]=_0x3f4fe4,this['_type']=_0xc8e6dd,this[_0x14b0c6(0x172)]=_0xf4148c,this[_0x14b0c6(0xbf)]=_0x255ede,this[_0x14b0c6(0x237)]=_0x287b34,this[_0x14b0c6(0x2d0)]=_0x2e3a27,this[_0x14b0c6(0x212)]=_0x51fc2c,this[_0x14b0c6(0xe7)]=_0x379d8a,this[_0x14b0c6(0x9f)]=_0x575380,this['_commandService']=_0x138293,this[_0x14b0c6(0x1d5)]=_0x29533f,this[_0x14b0c6(0x79)]=_0x5a04ae,this[_0x14b0c6(0x294)]=_0x366d3d);}get[_0x1b6ca5(0x219)](){return this['_state'];}async[_0x1b6ca5(0x82)](){var _0x239814=_0x1b6ca5;if(this['state'])throw new Error(_0x239814(0x32b));await this[_0x239814(0xfc)]();}[_0x1b6ca5(0x301)](){var _0x3ffa95=_0x1b6ca5;return this[_0x3ffa95(0x31c)]=!0x0,_0x765608[_0x3ffa95(0x182)](()=>{var _0x568137=_0x3ffa95;this[_0x568137(0x31c)]=!0x1,this[_0x568137(0x17c)]();});}[_0x1b6ca5(0x2b8)](_0x471c07){this['_onLocalMutation'](_0x471c07);}[_0x1b6ca5(0xb5)](_0x392c30){var _0x146850=_0x1b6ca5;this[_0x146850(0x2ef)]=_0x392c30,this[_0x146850(0x311)][_0x146850(0x1a2)](_0x392c30);}async[_0x1b6ca5(0xfc)](){var _0x721cce=_0x1b6ca5,_0x31080c;this['_updateState'](await this['_createInitialState']()),this[_0x721cce(0x79)]&&((_0x31080c=this[_0x721cce(0x79)])==null||_0x31080c['editingUnit'](this[_0x721cce(0xfe)]),this[_0x721cce(0x115)](this[_0x721cce(0x79)][_0x721cce(0x379)](this[_0x721cce(0xfe)])[_0x721cce(0xf0)](_0x3c07c1=>{var _0x1d7890=_0x721cce;this[_0x1d7890(0x9f)][_0x1d7890(0x368)](_0x1d7890(0xa8),'editing\x20status\x20changed\x20to',_0x3c07c1),_0x3c07c1===_0x1601ee['OTHER_CLIENTS_EDITING']?(this[_0x1d7890(0x212)][_0x1d7890(0x106)]({'id':_0x4d6e97[_0x1d7890(0x23e)]}),this[_0x1d7890(0x1d5)][_0x1d7890(0x26e)](new _0x8c00ce['WorkbookEditablePermission'](this[_0x1d7890(0xfe)])['id'],!0x1),this[_0x1d7890(0x1d5)][_0x1d7890(0x104)](!0x1)):(this[_0x1d7890(0x1d5)][_0x1d7890(0x26e)](new _0x8c00ce[(_0x1d7890(0x228))](this[_0x1d7890(0xfe)])['id'],!0x0),this[_0x1d7890(0x1d5)]['setShowComponents'](!0x0));})));let _0x28a670=!0x1;return this[_0x721cce(0x115)](this[_0x721cce(0xa6)]['sessionStatus$'][_0x721cce(0xf0)](_0x35ecbb=>{var _0x238df9=_0x721cce;_0x35ecbb===_0x34dd1c[_0x238df9(0x22e)]?this[_0x238df9(0x3c9)](_0x28a670):_0x35ecbb===_0x34dd1c[_0x238df9(0x1c5)]&&(_0x28a670=!0x0,this['_toggleOffline']());})),this[_0x721cce(0x115)](this[_0x721cce(0xa6)][_0x721cce(0x34d)][_0x721cce(0xf0)](_0x227e8c=>{var _0x4381b6=_0x721cce;try{switch(_0x227e8c[_0x4381b6(0x239)]){case _0x32c4ad[_0x4381b6(0x28d)][_0x4381b6(0x1f6)]:{this[_0x4381b6(0x1f4)](_0x32c4ad[_0x4381b6(0x232)](_0x227e8c[_0x4381b6(0x3c7)]));break;}case _0x32c4ad[_0x4381b6(0x28d)][_0x4381b6(0x20f)]:{this[_0x4381b6(0x36d)](_0x227e8c[_0x4381b6(0x3c7)]);break;}case _0x32c4ad['CollaborationEvent'][_0x4381b6(0xbe)]:{this['_onRemoteRejected']();break;}case _0x32c4ad[_0x4381b6(0x28d)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x227e8c['data']);break;}case _0x32c4ad['CollaborationEvent'][_0x4381b6(0x2dc)]:{this[_0x4381b6(0x349)](_0x227e8c['data'][_0x4381b6(0x3bf)]['map'](_0x369aab=>_0x32c4ad[_0x4381b6(0x232)](_0x369aab)));break;}case _0x32c4ad[_0x4381b6(0x28d)][_0x4381b6(0x3dc)]:{this[_0x4381b6(0x134)]({'isPermissionRej':!0x0});break;}case _0x32c4ad[_0x4381b6(0x28d)][_0x4381b6(0x34c)]:break;}}catch(_0x94a9c0){throw console[_0x4381b6(0x35f)](_0x4381b6(0x350),_0x94a9c0),_0x94a9c0;}})),this[_0x721cce(0x2ef)];}[_0x1b6ca5(0x324)](){this['_transitionLocked']=!0x1;}[_0x1b6ca5(0x254)](){var _0x3f6d18=_0x1b6ca5;if(this[_0x3f6d18(0x300)])throw new Error(_0x3f6d18(0x16a));this[_0x3f6d18(0x300)]=!0x0;}[_0x1b6ca5(0x145)](_0x459893){var _0x2c1831=_0x1b6ca5;this[_0x2c1831(0x254)](),this[_0x2c1831(0xb5)](this[_0x2c1831(0x2ef)][_0x2c1831(0x377)](_0x459893)),this[_0x2c1831(0x324)]();}[_0x1b6ca5(0x1f4)](_0x3f709b){var _0x51fdbb=_0x1b6ca5;if(!(_0x3f709b[_0x51fdbb(0x2e6)]<=this[_0x51fdbb(0x2d0)][_0x51fdbb(0x390)](this['unitID']))){if(this[_0x51fdbb(0x31c)]){this[_0x51fdbb(0xc5)]['push'](_0x3f709b);return;}this[_0x51fdbb(0xf2)](_0x3f709b);}}['_exhaustRemoteChangesetQueue'](){var _0x12f8c9=_0x1b6ca5;this[_0x12f8c9(0xc5)]['forEach'](_0xc1220d=>this['_applyRemoteChangeset'](_0xc1220d)),this[_0x12f8c9(0xc5)]=[];}[_0x1b6ca5(0xf2)](_0x5aac36){var _0x38f743=_0x1b6ca5;const _0x1d8c0f=this[_0x38f743(0xbf)][_0x38f743(0x305)]['fetchThroughInterceptors'](this[_0x38f743(0xbf)][_0x38f743(0x305)][_0x38f743(0x32a)]()[_0x38f743(0x2fc)])(_0x5aac36[_0x38f743(0x233)],null)||_0x5aac36[_0x38f743(0x233)],_0x2ba98e={..._0x5aac36,'mutations':_0x1d8c0f};this[_0x38f743(0x254)](),this['_updateState'](this['_state'][_0x38f743(0x12f)](_0x2ba98e)),this['_unlockTransition']();}[_0x1b6ca5(0x36d)](_0xe81c65){var _0x392912=_0x1b6ca5;this[_0x392912(0x254)](),this[_0x392912(0xb5)](this['_state'][_0x392912(0x206)](_0xe81c65)),this['_unlockTransition']();}[_0x1b6ca5(0x134)](_0x3fba0e){var _0x1dbf47=_0x1b6ca5;this[_0x1dbf47(0x254)](),this[_0x1dbf47(0xb5)](this['_state'][_0x1dbf47(0xde)](_0x3fba0e)),this[_0x1dbf47(0x324)]();}['_onRemoteRetry'](_0x3de13e){var _0x3e1b19=_0x1b6ca5;this[_0x3e1b19(0x254)](),this['_updateState'](this['_state'][_0x3e1b19(0x264)](_0x3de13e)),this['_unlockTransition']();}[_0x1b6ca5(0x349)](_0x2ee3c5){var _0x11f6a1=_0x1b6ca5;if(!(this['_state']instanceof _0x35847c[_0x11f6a1(0x25e)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x5bd7b8=_0x2ee3c5[_0x11f6a1(0x10d)](_0x39d9b3=>{var _0x4f1621=_0x11f6a1;const _0x26bfb9=this[_0x4f1621(0xbf)][_0x4f1621(0x305)][_0x4f1621(0x7d)](this[_0x4f1621(0xbf)]['interceptor'][_0x4f1621(0x32a)]()[_0x4f1621(0x2fc)])(_0x39d9b3['mutations'],null)||_0x39d9b3['mutations'];return{..._0x39d9b3,'mutations':_0x26bfb9};});this[_0x11f6a1(0x254)](),this[_0x11f6a1(0xb5)](this[_0x11f6a1(0x2ef)][_0x11f6a1(0x288)](_0x5bd7b8)),this[_0x11f6a1(0x324)]();}[_0x1b6ca5(0x1f2)](){var _0x1daf10=_0x1b6ca5;this[_0x1daf10(0x254)](),this[_0x1daf10(0xb5)](this['_state'][_0x1daf10(0x265)]()),this['_unlockTransition']();}['_toggleOnline'](_0x5880a1=!0x1){var _0x51d4a2=_0x1b6ca5;this['_lockTransition'](),this[_0x51d4a2(0xb5)](this[_0x51d4a2(0x2ef)]['toggleOnline']()),this[_0x51d4a2(0x324)]();const _0x2d043f=this['_state'];_0x5880a1&&_0x2d043f instanceof _0x35847c['SyncedState']&&(this['_lockTransition'](),this[_0x51d4a2(0xb5)](_0x2d043f[_0x51d4a2(0x319)]()),this[_0x51d4a2(0x324)]());}async[_0x1b6ca5(0x3d2)](){return new Promise(_0x4d4a90=>{var _0x55fc02=_0x1ac4;this[_0x55fc02(0xa6)][_0x55fc02(0x132)]['pipe'](_0x2f43df[_0x55fc02(0x274)](0x1))['subscribe'](async _0x2f2595=>{var _0x4d8c69=_0x55fc02;_0x4d4a90(await this['_createInitialStateImpl'](_0x2f2595===_0x34dd1c[_0x4d8c69(0x22e)]));});});}[_0x1b6ca5(0x14b)](){var _0x534184=_0x1b6ca5;const _0xa51c62=this[_0x534184(0xfe)];return{'onStateChange':(_0xfa7124,_0x205d7c)=>{var _0xa666ae=_0x534184;if(_0xfa7124!==this[_0xa666ae(0x2ef)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xfa7124['status']+_0xa666ae(0x38d)+_0x205d7c['status']+_0xa666ae(0x252)+this[_0xa666ae(0x2ef)][_0xa666ae(0x2cd)]);this[_0xa666ae(0xb5)](_0x205d7c);},'onSendChangeset':_0x33d200=>{var _0x965746=_0x534184;_0x33d200['sid']||(_0x33d200[_0x965746(0x7e)]=this[_0x965746(0x3d4)],_0x33d200['reqId']=++this[_0x965746(0x1c8)]);const _0x452806={'eventID':_0x32c4ad['CollaborationEvent'][_0x965746(0x209)],'data':{'unitID':_0x33d200[_0x965746(0xfe)],'unitType':this[_0x965746(0x307)],'changeset':_0x33d200,'memberID':this['session'][_0x965746(0x14c)]()}};this[_0x965746(0xa6)][_0x965746(0x8a)](_0x452806,this[_0x965746(0xfe)]);},'onMissingChangesets':({from:_0x470924,to:_0x2dfd36})=>{var _0x4f2bbb=_0x534184;this['_logService'][_0x4f2bbb(0x368)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x470924+_0x4f2bbb(0x1a3)+_0x2dfd36);const _0x56ac73={'eventID':_0x32c4ad['CollaborationEvent'][_0x4f2bbb(0x181)],'data':{'unitID':_0xa51c62,'unitType':this['_type'],'from':_0x470924,'to':_0x2dfd36}};this['session'][_0x4f2bbb(0x8a)](_0x56ac73,this[_0x4f2bbb(0xfe)]);}};}async[_0x1b6ca5(0x309)](_0x59fc2d){var _0x4029c2=_0x1b6ca5,_0x2e3a5e,_0x314394,_0x46fd82;const _0x489b45=await((_0x2e3a5e=this['_localCacheService'])==null?void 0x0:_0x2e3a5e[_0x4029c2(0x1eb)](this['unitID'])),_0x558e39=(_0x314394=_0x489b45==null?void 0x0:_0x489b45[_0x4029c2(0x233)])!=null?_0x314394:[],_0x2cdf2b=(_0x46fd82=_0x489b45==null?void 0x0:_0x489b45[_0x4029c2(0x1fc)])!=null?_0x46fd82:null,_0x2062b1=!!(_0x2cdf2b!=null&&_0x2cdf2b[_0x4029c2(0x7e)])&&!!(_0x2cdf2b!=null&&_0x2cdf2b['reqId']);this[_0x4029c2(0x3d4)]=_0x2062b1?_0x2cdf2b[_0x4029c2(0x7e)]:_0x32c4ad[_0x4029c2(0x3f4)](),this['_changesetReqId']=_0x2062b1?_0x2cdf2b['reqId']:0x0;const _0x451b75=this['unitID'];try{this['_replayCachedMutations'](_0x2cdf2b,_0x558e39);}catch(_0x28ec10){this[_0x4029c2(0x9f)][_0x4029c2(0x35f)](_0x28ec10);}const _0x49184f=this['_createHandler']();if(_0x59fc2d){const _0x16caa9=_0x437143(this['_injector'],_0x451b75,this['_type'],_0x2cdf2b,_0x558e39,_0x49184f);return _0x16caa9 instanceof _0x35847c[_0x4029c2(0xc7)]?_0x16caa9[_0x4029c2(0x3ff)]():(_0x16caa9 instanceof _0x35847c[_0x4029c2(0x2e9)]||_0x16caa9 instanceof _0x35847c[_0x4029c2(0xd4)])&&_0x16caa9[_0x4029c2(0x2d2)](),_0x16caa9;}return this[_0x4029c2(0x172)][_0x4029c2(0xc8)](_0x35847c[_0x4029c2(0x183)],_0x451b75,this[_0x4029c2(0x307)],_0x2cdf2b,_0x558e39,_0x49184f);}['_replayCachedMutations'](_0x896812,_0xad9c02){var _0x215368=_0x1b6ca5,_0x286a0b,_0x34fe07;const _0x48d458=this[_0x215368(0xbf)][_0x215368(0x305)][_0x215368(0x7d)](this[_0x215368(0xbf)][_0x215368(0x305)][_0x215368(0x32a)]()['COMPRESS_MUTATION_APPLY']);(_0x286a0b=_0x48d458((_0x896812==null?void 0x0:_0x896812['mutations'])||[],null))==null||_0x286a0b[_0x215368(0x1d1)](_0x567c6e=>this[_0x215368(0xa1)][_0x215368(0x351)](_0x567c6e['id'],_0x567c6e[_0x215368(0x1e7)])),(_0x34fe07=_0x48d458(_0xad9c02||[],null))==null||_0x34fe07[_0x215368(0x1d1)](_0x555fe7=>this['_commandService']['executeCommand'](_0x555fe7['id'],_0x555fe7[_0x215368(0x1e7)]));}},_0x35847c[_0x1b6ca5(0xec)]=_0x31d509([_0x1d2720(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x1d2720(0x4,_0x765608['Inject'](_0x32c4ad['CompressMutationService'])),_0x1d2720(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x160)])),_0x1d2720(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad[_0x1b6ca5(0x399)])),_0x1d2720(0x7,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x1d2720(0x8,_0x765608[_0x1b6ca5(0x175)]),_0x1d2720(0x9,_0x765608['ILogService']),_0x1d2720(0xa,_0x765608[_0x1b6ca5(0x386)]),_0x1d2720(0xb,_0x765608['IPermissionService']),_0x1d2720(0xc,_0x765608['Optional'](_0x2aceed)),_0x1d2720(0xd,_0x765608['Optional'](_0x9f10c))],_0x35847c['CollaborationEntity']),_0x35847c[_0x1b6ca5(0xe3)]=class extends _0x35847c[_0x1b6ca5(0xec)]{constructor(_0x40b0b9,_0x4190a7,_0x2bbbf9,_0x26173e,_0x39973b,_0x1ffe78,_0x3b1591,_0x381c30,_0x4c7d21,_0x1a56a5,_0x5d2b82,_0xa00952,_0xbe3761,_0x578539){var _0x249113=_0x1b6ca5;super(_0x40b0b9,_0x2bbbf9,_0x4190a7,_0x26173e,_0x39973b,_0x1ffe78,_0x3b1591,_0x381c30,_0x4c7d21,_0x1a56a5,_0x5d2b82,_0xa00952,_0xbe3761,_0x578539),_0x1bac5f(this,'_handlerCallback',null),(this[_0x249113(0xfe)]=_0x40b0b9,this[_0x249113(0xbb)]=_0x4190a7);}[_0x1b6ca5(0x17d)](_0x6428e){var _0x3e1fe6=_0x1b6ca5;this[_0x3e1fe6(0x12a)]=_0x6428e;}[_0x1b6ca5(0xb1)](){var _0x331b8e=_0x1b6ca5;this[_0x331b8e(0x12a)]=null,super['dispose']();}[_0x1b6ca5(0x14b)](){var _0x104772=_0x1b6ca5;const _0x174bab=super[_0x104772(0x14b)]();return _0x174bab[_0x104772(0x242)]=_0x3e2941=>{var _0xcc84a3=_0x104772,_0x184552,_0x5ce44a;return(_0x5ce44a=(_0x184552=this[_0xcc84a3(0x12a)])==null?void 0x0:_0x184552['onTransformIME'])==null?void 0x0:_0x5ce44a['call'](_0x184552,_0x3e2941);},_0x174bab[_0x104772(0x3f1)]=_0x231338=>{var _0x4171b5=_0x104772,_0x2c50a2,_0x287bac;return(_0x287bac=(_0x2c50a2=this[_0x4171b5(0x12a)])==null?void 0x0:_0x2c50a2['onTransformState'])==null?void 0x0:_0x287bac[_0x4171b5(0x118)](_0x2c50a2,_0x231338);},_0x174bab['onTransformSelections']=_0x21f3fd=>{var _0x4f9f21=_0x104772,_0x33f5b1,_0x49212e;return(_0x49212e=(_0x33f5b1=this[_0x4f9f21(0x12a)])==null?void 0x0:_0x33f5b1[_0x4f9f21(0x392)])==null?void 0x0:_0x49212e[_0x4f9f21(0x118)](_0x33f5b1,_0x21f3fd);},_0x174bab[_0x104772(0x34e)]=_0x12abd8=>{var _0x339659=_0x104772,_0x2536ea,_0x5e1231;return(_0x5e1231=(_0x2536ea=this['_handlerCallback'])==null?void 0x0:_0x2536ea[_0x339659(0x34e)])==null?void 0x0:_0x5e1231[_0x339659(0x118)](_0x2536ea,_0x12abd8);},_0x174bab['onTransformRemoteChangesetByIMECache']=_0x523ec1=>{var _0x1dbb25=_0x104772,_0x389cb7,_0x3f4b77,_0x43a29f;if(!((_0x389cb7=this[_0x1dbb25(0x12a)])!=null&&_0x389cb7['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x43a29f=(_0x3f4b77=this['_handlerCallback'])==null?void 0x0:_0x3f4b77[_0x1dbb25(0x271)])==null?void 0x0:_0x43a29f[_0x1dbb25(0x118)](_0x3f4b77,_0x523ec1);},_0x174bab[_0x104772(0x364)]=_0xa12bae=>{var _0x4c153b=_0x104772,_0x44025c,_0x3aad7f,_0x1c8ace;if(!((_0x44025c=this[_0x4c153b(0x12a)])!=null&&_0x44025c['onTransformRemoteChangesetByStateCache']))throw new Error(_0x4c153b(0x1e0));return(_0x1c8ace=(_0x3aad7f=this['_handlerCallback'])==null?void 0x0:_0x3aad7f[_0x4c153b(0x364)])==null?void 0x0:_0x1c8ace['call'](_0x3aad7f,_0xa12bae);},_0x174bab;}async[_0x1b6ca5(0xfc)](){var _0xf4854c=_0x1b6ca5;const _0x5df0b5=await super[_0xf4854c(0xfc)]();return this['disposeWithMe'](this[_0xf4854c(0xa1)][_0xf4854c(0x35b)]((_0x41f488,_0x43599c)=>{var _0x2f3a3f=_0xf4854c;if(_0x41f488[_0x2f3a3f(0xbb)]!==_0x765608[_0x2f3a3f(0x23b)][_0x2f3a3f(0x3cf)]||_0x43599c!=null&&_0x43599c[_0x2f3a3f(0x24e)]||_0x43599c!=null&&_0x43599c['onlyLocal']||_0x41f488['id']===_0x5068b0[_0x2f3a3f(0x21d)]['id'])return;const _0x5d09d0=_0x41f488[_0x2f3a3f(0x1e7)];if((_0x5d09d0==null?void 0x0:_0x5d09d0[_0x2f3a3f(0x272)])!==this[_0x2f3a3f(0xfe)])return;const _0x2ddb36=_0x41f488,_0x53d359=this[_0x2f3a3f(0xbf)][_0x2f3a3f(0x305)][_0x2f3a3f(0x7d)](this[_0x2f3a3f(0xbf)][_0x2f3a3f(0x305)]['getInterceptPoints']()[_0x2f3a3f(0x279)])([_0x2ddb36],this[_0x2f3a3f(0xe7)])||[_0x2ddb36];this[_0x2f3a3f(0x145)](_0x53d359[0x0]);})),_0x5df0b5;}},_0x35847c[_0x1b6ca5(0xe3)]=_0x31d509([_0x1d2720(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x1d2720(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['CompressMutationService'])),_0x1d2720(0x5,_0x765608[_0x1b6ca5(0xe8)](_0x765608['LocaleService'])),_0x1d2720(0x6,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['RevisionService'])),_0x1d2720(0x7,_0x765608['Inject'](_0x4474bb)),_0x1d2720(0x8,_0x765608[_0x1b6ca5(0x175)]),_0x1d2720(0x9,_0x765608[_0x1b6ca5(0x3f9)]),_0x1d2720(0xa,_0x765608['ICommandService']),_0x1d2720(0xb,_0x765608[_0x1b6ca5(0x112)]),_0x1d2720(0xc,_0x765608[_0x1b6ca5(0x136)](_0x2aceed)),_0x1d2720(0xd,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c[_0x1b6ca5(0xe3)]),_0x35847c[_0x1b6ca5(0x13d)]=class extends _0x35847c[_0x1b6ca5(0xec)]{constructor(_0x3ba9c0,_0x2bafc5,_0x183486,_0x5b4b27,_0x31b901,_0x475a76,_0x5eca30,_0x12c7bf,_0x5f382d,_0x239d53,_0x58d95c,_0x917e59,_0x4db488,_0x37d1ac,_0x26f836){var _0xb80298=_0x1b6ca5;super(_0x3ba9c0,_0x183486,_0x2bafc5,_0x5b4b27,_0x31b901,_0x475a76,_0x5eca30,_0x5f382d,_0x239d53,_0x58d95c,_0x917e59,_0x4db488,_0x37d1ac,_0x26f836),this[_0xb80298(0xfe)]=_0x3ba9c0,this['type']=_0x2bafc5,this[_0xb80298(0x76)]=_0x12c7bf;}[_0x1b6ca5(0x14b)](){var _0x48b1fe=_0x1b6ca5;const _0x436825=super['_createHandler']();return _0x436825[_0x48b1fe(0x392)]=_0x5a7061=>this[_0x48b1fe(0x76)][_0x48b1fe(0x110)](_0x5a7061),_0x436825;}async[_0x1b6ca5(0xfc)](){var _0x276230=_0x1b6ca5;const _0x47cc0e=await super[_0x276230(0xfc)]();return this[_0x276230(0x115)](this[_0x276230(0xa1)]['onCommandExecuted']((_0x502656,_0x5170f0)=>{var _0x4c685a=_0x276230;if(_0x502656['type']!==_0x765608[_0x4c685a(0x23b)][_0x4c685a(0x3cf)]||_0x5170f0!=null&&_0x5170f0[_0x4c685a(0x24e)]||_0x5170f0!=null&&_0x5170f0[_0x4c685a(0x154)])return;const _0x4c240d=_0x502656[_0x4c685a(0x1e7)];if((_0x4c240d==null?void 0x0:_0x4c240d[_0x4c685a(0x272)])!==this[_0x4c685a(0xfe)])return;const _0x56ce8b=_0x502656,_0x47bb03=this[_0x4c685a(0xbf)][_0x4c685a(0x305)][_0x4c685a(0x7d)](this[_0x4c685a(0xbf)][_0x4c685a(0x305)][_0x4c685a(0x32a)]()[_0x4c685a(0x279)])([_0x56ce8b],this[_0x4c685a(0xe7)])||[_0x56ce8b];this[_0x4c685a(0x145)](_0x47bb03[0x0]);})),_0x47cc0e;}},_0x35847c[_0x1b6ca5(0x13d)]=_0x31d509([_0x1d2720(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x1d2720(0x4,_0x765608['Inject'](_0x32c4ad['CompressMutationService'])),_0x1d2720(0x5,_0x765608['Inject'](_0x765608['LocaleService'])),_0x1d2720(0x6,_0x765608['Inject'](_0x32c4ad[_0x1b6ca5(0x399)])),_0x1d2720(0x7,_0x765608[_0x1b6ca5(0xe8)](_0x35847c[_0x1b6ca5(0x30f)])),_0x1d2720(0x8,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x1d2720(0x9,_0x765608[_0x1b6ca5(0x175)]),_0x1d2720(0xa,_0x765608[_0x1b6ca5(0x3f9)]),_0x1d2720(0xb,_0x765608[_0x1b6ca5(0x386)]),_0x1d2720(0xc,_0x765608['IPermissionService']),_0x1d2720(0xd,_0x765608[_0x1b6ca5(0x136)](_0x2aceed)),_0x1d2720(0xe,_0x765608['Optional'](_0x9f10c))],_0x35847c['SheetCollaborationEntity']);const _0x13a6a4=_0x765608[_0x1b6ca5(0x24d)](_0x1b6ca5(0x2ed));function _0x4123d4(_0x48012f){var _0x38feca=_0x1b6ca5,_0x6129b3,_0x1f191b,_0x3d5cac,_0x9a50ad,_0x2bcea9;const _0x53bf72=_0x48012f[_0x38feca(0x3c7)],_0x508aa3=JSON['parse'](_0x53bf72);switch(_0x508aa3[_0x38feca(0x3b4)]){case _0x1c4fc5[_0x38feca(0x75)]:case _0x1c4fc5['HELLO']:{const _0xe3b874=_0x508aa3[_0x38feca(0x163)];return{..._0x508aa3,'data':_0xe3b874,'cmd':_0x508aa3[_0x38feca(0x3b4)]};}case _0x1c4fc5[_0x38feca(0x3b9)]:{const _0x4d68c9=_0x508aa3[_0x38feca(0x39c)];return{..._0x508aa3,'data':_0x4d68c9,'cmd':_0x508aa3['cmd']};}case _0x1c4fc5[_0x38feca(0x344)]:{const _0x53e840=_0x508aa3[_0x38feca(0x2b4)];switch(_0x53e840[_0x38feca(0x239)]){case _0x32c4ad['CollaborationEvent'][_0x38feca(0x3dc)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x6129b3=_0x53e840['permissionRejEvent'])==null?void 0x0:_0x6129b3['cs']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x20f)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x1f191b=_0x53e840[_0x38feca(0x1b0)])==null?void 0x0:_0x1f191b['cs']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x1f6)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x3d5cac=_0x53e840['newCsEvent'])==null?void 0x0:_0x3d5cac['cs']},'cmd':_0x508aa3['cmd']};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0xbe)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x9a50ad=_0x53e840['csRejEvent'])==null?void 0x0:_0x9a50ad['cs']},'cmd':_0x508aa3['cmd']};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x29c)]:return{..._0x508aa3,'data':{..._0x53e840,'data':(_0x2bcea9=_0x53e840[_0x38feca(0x1ff)])==null?void 0x0:_0x2bcea9['cs']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x117)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840['updateCursorEvent']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x2de)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x3be)]},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x259)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x121)]},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x2dd)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840['liveShareNewHost']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x1f1)]:case _0x32c4ad[_0x38feca(0x28d)]['LIVESHARE_OPERATION']:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x3a5)]},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x3a4)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840['liveShareNewHost']},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x13e)]:return{..._0x508aa3,'data':_0x53e840,'cmd':_0x508aa3['cmd']};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x27d)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x1fe)]},'cmd':_0x508aa3[_0x38feca(0x3b4)]};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x29b)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840['updatePermissionObjEvent']},'cmd':_0x508aa3['cmd']};case _0x32c4ad['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0xc4)]},'cmd':_0x508aa3['cmd']};case _0x32c4ad[_0x38feca(0x28d)][_0x38feca(0x34c)]:return{..._0x508aa3,'data':{..._0x53e840,'data':_0x53e840[_0x38feca(0x20e)]},'cmd':_0x508aa3['cmd']};default:return _0x508aa3;}}default:return _0x508aa3;}}function _0x4ffe11(_0xad4130){var _0x577fff=_0x1b6ca5;switch(_0xad4130[_0x577fff(0x3b4)]){case _0x1c4fc5[_0x577fff(0x75)]:case _0x1c4fc5[_0x577fff(0x3a2)]:return JSON[_0x577fff(0x144)]({'cmd':_0xad4130[_0x577fff(0x3b4)],'routeKey':_0xad4130[_0x577fff(0x2a5)]});case _0x1c4fc5[_0x577fff(0x139)]:{let _0x567422;switch(_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x239)]){case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x117)]:{_0x567422={'eventID':_0x32c4ad['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x259)]:{_0x567422={'eventID':_0x32c4ad['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0xad4130['data'][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x2de)]:{_0x567422={'eventID':_0x32c4ad['CollaborationEvent'][_0x577fff(0x2de)],'joinEvent':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x2dd)]:{_0x567422={'eventID':_0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x2dd)],'liveShareNewHost':_0xad4130['data'][_0x577fff(0x3c7)]};break;}case _0x32c4ad['CollaborationEvent']['LIVESHARE_OPERATION']:{_0x567422={'eventID':_0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x2e3)],'liveShareOperation':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad['CollaborationEvent'][_0x577fff(0x3a4)]:{_0x567422={'eventID':_0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x3a4)],'liveShareTerminate':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)][_0x577fff(0x231)]:{_0x567422={'eventID':_0x32c4ad[_0x577fff(0x28d)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x3c7)]};break;}case _0x32c4ad[_0x577fff(0x28d)]['LIVESHARE_FETCH_OPERATIONS']:{_0x567422={'eventID':_0x32c4ad['CollaborationEvent'][_0x577fff(0x1f1)]};break;}default:_0x567422={'eventID':_0xad4130[_0x577fff(0x3c7)][_0x577fff(0x239)]};}return JSON['stringify']({'cmd':_0xad4130[_0x577fff(0x3b4)],'routeKey':_0xad4130[_0x577fff(0x2a5)],'collaMsg':_0x567422});}case _0x1c4fc5[_0x577fff(0x3b9)]:return JSON[_0x577fff(0x144)]({'cmd':_0xad4130[_0x577fff(0x3b4)],'routeKey':_0xad4130[_0x577fff(0x2a5)],'joinReq':_0xad4130['data']});case _0x1c4fc5[_0x577fff(0x3c0)]:return JSON[_0x577fff(0x144)]({'cmd':_0xad4130[_0x577fff(0x3b4)],'routeKey':_0xad4130[_0x577fff(0x2a5)],'leaveReq':_0xad4130[_0x577fff(0x3c7)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x5b253f=Object[_0x1b6ca5(0x1d2)],_0x1604be=(_0x19090c,_0x3f97e1,_0x340eac,_0x29faf5)=>{var _0x5bfbac=_0x1b6ca5;for(var _0x359cae=_0x29faf5>0x1?void 0x0:_0x29faf5?_0x5b253f(_0x3f97e1,_0x340eac):_0x3f97e1,_0x3a214c=_0x19090c[_0x5bfbac(0x39e)]-0x1,_0x2c8aaf;_0x3a214c>=0x0;_0x3a214c--)(_0x2c8aaf=_0x19090c[_0x3a214c])&&(_0x359cae=_0x2c8aaf(_0x359cae)||_0x359cae);return _0x359cae;},_0x561054=(_0x25d12a,_0x318f62)=>(_0x741662,_0x2dab93)=>_0x318f62(_0x741662,_0x2dab93,_0x25d12a);const _0x1d154d=_0x765608[_0x1b6ca5(0x24d)](_0x1b6ca5(0xa5));function _0x507d64(_0xbe7a19,_0x1e6ffd,_0x4ac5de){var _0x36be09=_0x1b6ca5;return _0xbe7a19+'/'+_0x1e6ffd+_0x36be09(0x1ba)+_0x4ac5de+_0x36be09(0x2b2);}_0x35847c[_0x1b6ca5(0x1f0)]=class extends _0x765608['Disposable']{constructor(_0x5cc9fd,_0x4d8abd,_0x240b13,_0x4e95ac,_0x8345c7){var _0x3e3b29=_0x1b6ca5;super(),this['_injector']=_0x5cc9fd,this[_0x3e3b29(0x2be)]=_0x4d8abd,this[_0x3e3b29(0xd8)]=_0x240b13,this[_0x3e3b29(0x9f)]=_0x4e95ac,this[_0x3e3b29(0x295)]=_0x8345c7;}[_0x1b6ca5(0x290)](_0x59d67b){var _0x270ab6=_0x1b6ca5;const _0xa27733=this[_0x270ab6(0x172)][_0x270ab6(0x2b3)](_0x102f6e['ISocketService']);if(!_0xa27733)throw new Error(_0x270ab6(0x302));const _0x49bd14=_0xa27733[_0x270ab6(0x16e)](_0x59d67b);if(!_0x49bd14)throw new Error(_0x270ab6(0x361));const _0x1bdffb=new _0x765608['DisposableCollection'](),_0x47793e=new _0x2f43df['Subject']();_0x1bdffb[_0x270ab6(0x1db)](_0x49bd14['close$'][_0x270ab6(0xf0)](_0x3ff19b=>_0x47793e[_0x270ab6(0x1a2)](_0x3ff19b))),_0x1bdffb['add'](_0x765608['toDisposable'](()=>_0x47793e[_0x270ab6(0x149)]()));const _0x58bca0=new _0x2f43df['Subject']();_0x1bdffb[_0x270ab6(0x1db)](_0x49bd14[_0x270ab6(0x19e)][_0x270ab6(0xf0)](_0x2832d0=>_0x58bca0[_0x270ab6(0x1a2)](_0x2832d0))),_0x1bdffb[_0x270ab6(0x1db)](_0x765608[_0x270ab6(0x182)](()=>_0x58bca0[_0x270ab6(0x149)]()));const _0x307255=new _0x2f43df[(_0x270ab6(0x216))]();_0x1bdffb['add'](_0x49bd14[_0x270ab6(0x32e)][_0x270ab6(0xf0)](_0x46167a=>{var _0x50eb4d=_0x270ab6;const _0x3e611c=_0x4123d4(_0x46167a);_0x307255[_0x50eb4d(0x1a2)](_0x3e611c);})),_0x1bdffb['add'](_0x765608[_0x270ab6(0x182)](()=>_0x307255['complete']()));let _0xc83642;const _0x5698cb=()=>{var _0xbb1936=_0x270ab6;_0x58bca0[_0xbb1936(0x1a2)](new Event(_0xbb1936(0x119))),_0x47793e[_0xbb1936(0x1a2)](new Event(_0xbb1936(0x119))),_0xc83642[_0xbb1936(0x11c)]();};return _0xc83642={'memberID':'','close$':_0x47793e[_0x270ab6(0x99)](),'error$':_0x58bca0['asObservable'](),'open$':_0x49bd14[_0x270ab6(0x3b2)],'message$':_0x307255[_0x270ab6(0x99)](),'send':_0x50a20e=>{var _0x331b3d=_0x270ab6;if(_0x50a20e['cmd']===_0x1c4fc5[_0x331b3d(0x139)]){if(_0x50a20e[_0x331b3d(0x3c7)][_0x331b3d(0x239)]===_0x32c4ad['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x331b3d(0x1b4)](_0xc83642,_0x50a20e[_0x331b3d(0x3c7)])[_0x331b3d(0xd5)](_0x49df64=>{var _0x5d44de=_0x331b3d;this[_0x5d44de(0x9f)][_0x5d44de(0x35f)](_0x49df64),_0x5698cb();});return;}if(_0x50a20e[_0x331b3d(0x3c7)][_0x331b3d(0x239)]===_0x32c4ad[_0x331b3d(0x28d)]['FETCH_MISSING']){const _0x2d884c=_0x50a20e[_0x331b3d(0x3c7)];this[_0x331b3d(0x200)](_0x2d884c)[_0x331b3d(0x1b9)](_0x325c35=>{var _0x27a861=_0x331b3d;_0x307255[_0x27a861(0x1a2)]({'cmd':_0x1c4fc5[_0x27a861(0x344)],'code':_0x5b7a0f['OK'],'routeKey':_0x2d884c[_0x27a861(0x3c7)][_0x27a861(0xfe)],'routeType':'','data':{'eventID':_0x32c4ad[_0x27a861(0x28d)][_0x27a861(0x2dc)],'data':{'changesets':_0x325c35}}});})[_0x331b3d(0xd5)](_0x1f5f52=>{var _0x30d1ef=_0x331b3d;this[_0x30d1ef(0x9f)][_0x30d1ef(0x35f)](_0x1f5f52),_0x5698cb();});return;}}_0x49bd14[_0x331b3d(0x8a)](_0x4ffe11(_0x50a20e));},'close':()=>{var _0x133f51=_0x270ab6;_0x49bd14['close'](),_0x1bdffb[_0x133f51(0xb1)]();}},_0xc83642;}async['_submitChangeset'](_0x13006d,_0x46bdb7){var _0x188e54=_0x1b6ca5,_0x2afcb6;const {unitType:_0xe33f06,unitID:_0x5e89b6,changeset:_0x3a0fb8}=_0x46bdb7[_0x188e54(0x3c7)],_0x52c00c={'unitID':_0x5e89b6,'memberID':_0x13006d['memberID'],'type':_0xe33f06,'changeset':_0x32c4ad[_0x188e54(0xd1)](_0x3a0fb8)},_0x4fd81d=this[_0x188e54(0xd8)][_0x188e54(0x1ef)](_0x32b669),_0x525834=_0x507d64((_0x2afcb6=_0x4fd81d==null?void 0x0:_0x4fd81d['collabSubmitChangesetUrl'])!=null?_0x2afcb6:_0x42d637,_0xe33f06,_0x5e89b6);try{await this['_httpService'][_0x188e54(0x268)](_0x525834,{'body':_0x52c00c});}catch(_0x1afc84){throw this[_0x188e54(0x9f)][_0x188e54(0x35f)](_0x188e54(0x9c),_0x188e54(0xe5)),_0x1afc84;}}async[_0x1b6ca5(0x200)](_0x19a052){var _0x1953eb=_0x1b6ca5;const {unitID:_0x3e5c3e,from:_0x522a25,to:_0x49a8a3,unitType:_0x521f71}=_0x19a052[_0x1953eb(0x3c7)];return(await this[_0x1953eb(0x295)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3e5c3e,'type':_0x521f71,'from':_0x522a25,'to':_0x49a8a3}))[_0x1953eb(0x3bf)][_0x1953eb(0x10d)](_0x598cd2=>((_0x598cd2[_0x1953eb(0x233)]===null||_0x598cd2[_0x1953eb(0x233)]===void 0x0)&&(_0x598cd2[_0x1953eb(0x233)]=[]),_0x598cd2));}},_0x35847c[_0x1b6ca5(0x1f0)]=_0x1604be([_0x561054(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x561054(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)])),_0x561054(0x2,_0x765608[_0x1b6ca5(0x1af)]),_0x561054(0x3,_0x765608[_0x1b6ca5(0x3f9)]),_0x561054(0x4,_0x32c4ad[_0x1b6ca5(0x2a7)])],_0x35847c[_0x1b6ca5(0x1f0)]);var _0x24c8da=Object[_0x1b6ca5(0x1d2)],_0x4a223d=(_0x468bb4,_0x11f368,_0x9ec4cc,_0x4a79db)=>{for(var _0x55cc77=_0x4a79db>0x1?void 0x0:_0x4a79db?_0x24c8da(_0x11f368,_0x9ec4cc):_0x11f368,_0x4daeb1=_0x468bb4['length']-0x1,_0x33c3e3;_0x4daeb1>=0x0;_0x4daeb1--)(_0x33c3e3=_0x468bb4[_0x4daeb1])&&(_0x55cc77=_0x33c3e3(_0x55cc77)||_0x55cc77);return _0x55cc77;},_0x43a4bd=(_0x1956f8,_0x4db2dc)=>(_0x2dac5f,_0x2c973f)=>_0x4db2dc(_0x2dac5f,_0x2c973f,_0x1956f8);_0x35847c[_0x1b6ca5(0x97)]=class extends _0x765608['Disposable']{constructor(_0x31e57e,_0x48966a,_0x47ca7d,_0x30ae89,_0x5d7823,_0x46586b){var _0x1f5a82=_0x1b6ca5;super(),_0x1bac5f(this,_0x1f5a82(0xf7),new _0x2f43df[(_0x1f5a82(0x20b))](void 0x0)),_0x1bac5f(this,'socket$',this['_socket$'][_0x1f5a82(0x99)]()),_0x1bac5f(this,'_candidateSocket',null),_0x1bac5f(this,_0x1f5a82(0xcf),new Map()),_0x1bac5f(this,_0x1f5a82(0xaa),new _0x2f43df[(_0x1f5a82(0x20b))](_0x34dd1c[_0x1f5a82(0x2f0)])),_0x1bac5f(this,'status$',this[_0x1f5a82(0xaa)][_0x1f5a82(0x99)]()),_0x1bac5f(this,_0x1f5a82(0x267),!0x1),_0x1bac5f(this,_0x1f5a82(0x23d)),_0x1bac5f(this,_0x1f5a82(0x3c2),0x0),_0x1bac5f(this,_0x1f5a82(0x128)),_0x1bac5f(this,_0x1f5a82(0x23c)),(this['_injector']=_0x31e57e,this[_0x1f5a82(0x9f)]=_0x48966a,this[_0x1f5a82(0xd8)]=_0x47ca7d,this[_0x1f5a82(0x34b)]=_0x30ae89,this['_collaborationUIEventService']=_0x5d7823,this[_0x1f5a82(0x3bd)]=_0x46586b,this['_listenToNetworkCondition']());}get[_0x1b6ca5(0x2f2)](){return this['_socket$']['getValue']();}[_0x1b6ca5(0x224)](){var _0x475b7e=_0x1b6ca5;this[_0x475b7e(0x3bd)]&&this['disposeWithMe'](this[_0x475b7e(0x3bd)]['online$'][_0x475b7e(0xf0)](_0x2cc87d=>{var _0x151c86=_0x475b7e;_0x2cc87d&&!this['_socket']&&this['reconnect'](),_0x2cc87d||this[_0x151c86(0x1cd)]();}));}[_0x1b6ca5(0xb1)](){var _0x161814=_0x1b6ca5;super[_0x161814(0xb1)](),this[_0x161814(0x11f)](),this['_clearTimeoutTimer'](),this[_0x161814(0x2e4)](),this[_0x161814(0xcf)]['forEach'](_0x5af8a8=>_0x5af8a8['dispose']()),this[_0x161814(0xcf)]['clear'](),this['_status$'][_0x161814(0x149)]();}async[_0x1b6ca5(0x22d)](_0x4b9ddc){var _0x42b9e1=_0x1b6ca5;if(this[_0x42b9e1(0xcf)][_0x42b9e1(0x1df)](_0x4b9ddc))return this[_0x42b9e1(0xcf)][_0x42b9e1(0x2b3)](_0x4b9ddc);this[_0x42b9e1(0xd9)]();const _0x50f8fd=this[_0x42b9e1(0x172)][_0x42b9e1(0xc8)](_0x35847c[_0x42b9e1(0x325)],_0x4b9ddc,this['_socket$']['asObservable']());return this[_0x42b9e1(0xcf)][_0x42b9e1(0x26d)](_0x4b9ddc,_0x50f8fd),_0x50f8fd;}['closeSession'](_0x9bbac7){var _0x110b47=_0x1b6ca5,_0x228650;const _0x30b830=this['_sessions'][_0x110b47(0x2b3)](_0x9bbac7);_0x30b830&&(this['_sessions']['delete'](_0x9bbac7),_0x30b830['close']()),this['_sessions'][_0x110b47(0x336)]||(_0x228650=this[_0x110b47(0x2f2)])==null||_0x228650['close']();}[_0x1b6ca5(0x2c7)](){var _0x23e8f4=_0x1b6ca5;this[_0x23e8f4(0x3c2)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x23e8f4(0x244)]();}[_0x1b6ca5(0x11f)](){var _0x58e60b=_0x1b6ca5;this[_0x58e60b(0x23d)]!=null&&(clearTimeout(this[_0x58e60b(0x23d)]),this[_0x58e60b(0x23d)]=null);}async['_createSocket'](){var _0x10ea3f=_0x1b6ca5,_0x421344;const _0x384171=this[_0x10ea3f(0xd8)][_0x10ea3f(0x1ef)](_0x32b669),_0x11f772=(_0x421344=_0x384171==null?void 0x0:_0x384171['collabWebSocketUrl'])!=null?_0x421344:_0x58068b,_0x7f20ae=await this[_0x10ea3f(0x34b)][_0x10ea3f(0x16e)](_0x11f772);return this[_0x10ea3f(0x3da)]=_0x7f20ae,_0x7f20ae;}async[_0x1b6ca5(0xd9)](){var _0x589ade=_0x1b6ca5,_0x13d3a5,_0x305c0e;try{const _0x7c9cf2=(_0x305c0e=(_0x13d3a5=this[_0x589ade(0x2f2)])!=null?_0x13d3a5:this[_0x589ade(0x3da)])!=null?_0x305c0e:await this[_0x589ade(0xb0)]();if(_0x7c9cf2){const _0x2e3602=_0x7c9cf2['send'];_0x7c9cf2[_0x589ade(0x8a)]=_0x1d8cab=>(this['_rescheduleHeartbeat'](),_0x2e3602[_0x589ade(0x1fa)](_0x7c9cf2,[_0x1d8cab])),_0x7c9cf2[_0x589ade(0x32e)]['subscribe'](_0x4158b1=>this[_0x589ade(0x19f)](_0x7c9cf2,_0x4158b1)),_0x7c9cf2['error$'][_0x589ade(0x39a)](_0x3039f7[_0x589ade(0x274)](0x1))[_0x589ade(0xf0)](_0x58efb9=>this[_0x589ade(0x9f)]['error'](_0x589ade(0x1f8),_0x58efb9)),_0x7c9cf2[_0x589ade(0x3b2)][_0x589ade(0x39a)](_0x3039f7[_0x589ade(0x274)](0x1))[_0x589ade(0xf0)](()=>{this['_onConnectionOpen'](_0x7c9cf2);}),_0x7c9cf2[_0x589ade(0x3c8)][_0x589ade(0x39a)](_0x3039f7['take'](0x1))[_0x589ade(0xf0)](_0x398df8=>{var _0x569be2=_0x589ade;this[_0x569be2(0x9f)][_0x569be2(0x368)](_0x569be2(0x29d),_0x569be2(0x221),_0x398df8),this[_0x569be2(0x3dd)]();});}}catch(_0x3426a0){this[_0x589ade(0x9f)][_0x589ade(0x35f)](_0x3426a0),this[_0x589ade(0x3dd)]();}}[_0x1b6ca5(0x191)](_0x38e1c0){var _0x24a0bf=_0x1b6ca5;this[_0x24a0bf(0x9f)][_0x24a0bf(0x368)]('[CollaborationSessionService]','socket\x20open.'),_0x38e1c0[_0x24a0bf(0x8a)]({'cmd':_0x1c4fc5['HELLO']}),this[_0x24a0bf(0x122)]();}[_0x1b6ca5(0x1cd)](){var _0x426079=_0x1b6ca5;this[_0x426079(0x267)]=!0x1,this[_0x426079(0x3da)]=null,this[_0x426079(0xaa)]['next'](_0x34dd1c[_0x426079(0x1c5)]),this[_0x426079(0xf7)]['next'](null),this[_0x426079(0x299)](),this[_0x426079(0x2e4)]();}[_0x1b6ca5(0x3dd)](){var _0x49ba43=_0x1b6ca5,_0x12243d;this[_0x49ba43(0x1cd)](),this[_0x49ba43(0x3c2)]<((_0x12243d=this[_0x49ba43(0xd8)]['getConfig'](_0x4e97c3))!=null?_0x12243d:0x3)?(this[_0x49ba43(0x322)][_0x49ba43(0x106)]({'id':_0x4d6e97[_0x49ba43(0xe6)]}),this[_0x49ba43(0x244)]()):this[_0x49ba43(0x322)][_0x49ba43(0x106)]({'id':_0x4d6e97[_0x49ba43(0x15b)]});}[_0x1b6ca5(0x244)](){var _0x339459=_0x1b6ca5,_0x46e28b;const _0x197059=this[_0x339459(0x3c2)],_0x3e93bb=this[_0x339459(0xd8)][_0x339459(0x1ef)](_0x32b669),_0x3edb0f=_0x197059===0x0?0x0:((_0x46e28b=_0x3e93bb==null?void 0x0:_0x3e93bb[_0x339459(0x2e2)])!=null?_0x46e28b:0x4e20)*0x2**_0x197059;this[_0x339459(0x23d)]=setTimeout(()=>{var _0x4d4670=_0x339459;clearTimeout(this[_0x4d4670(0x23d)]),this[_0x4d4670(0x23d)]=null,this[_0x4d4670(0xd9)]();},_0x3edb0f),this[_0x339459(0x3c2)]+=0x1;}['_onMessage'](_0x5a36e3,_0x418eaf){var _0x5e9883=_0x1b6ca5;const {cmd:_0x172cef}=_0x418eaf;_0x172cef===_0x1c4fc5[_0x5e9883(0x3a2)]&&!this[_0x5e9883(0x267)]&&(_0x5a36e3[_0x5e9883(0x296)]=_0x418eaf[_0x5e9883(0x3c7)]['memberID'],this[_0x5e9883(0xf7)]['next'](_0x5a36e3),this[_0x5e9883(0xaa)][_0x5e9883(0x1a2)](_0x34dd1c[_0x5e9883(0x22e)]),this[_0x5e9883(0x267)]=!0x0,this[_0x5e9883(0x3da)]=null),_0x172cef===_0x1c4fc5['HEARTBEAT']&&this[_0x5e9883(0x299)](),this[_0x5e9883(0x122)]();}[_0x1b6ca5(0x122)](){var _0x59ebeb=_0x1b6ca5,_0x24861b;this[_0x59ebeb(0x2e4)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x59ebeb(0x380)](),(_0x24861b=this[_0x59ebeb(0xd8)][_0x59ebeb(0x1ef)](_0x391bfd))!=null?_0x24861b:0x7530);}[_0x1b6ca5(0x380)](){var _0x51c889=_0x1b6ca5;this['_socket'][_0x51c889(0x8a)]({'cmd':_0x1c4fc5[_0x51c889(0x75)]}),this[_0x51c889(0x168)]();}[_0x1b6ca5(0x168)](){var _0x5a272e=_0x1b6ca5,_0x12ca4a;this[_0x5a272e(0x23c)]=setTimeout(()=>this[_0x5a272e(0x3dd)](),(_0x12ca4a=this[_0x5a272e(0xd8)][_0x5a272e(0x1ef)](_0x40d4d2))!=null?_0x12ca4a:0x4e20);}[_0x1b6ca5(0x2e4)](){var _0x4f4afc=_0x1b6ca5;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4f4afc(0x128)]),this['_sendHeartbeatTimer']=null);}[_0x1b6ca5(0x299)](){var _0x3457bb=_0x1b6ca5;this[_0x3457bb(0x23c)]!=null&&(clearTimeout(this[_0x3457bb(0x23c)]),this[_0x3457bb(0x23c)]=null);}},_0x35847c[_0x1b6ca5(0x97)]=_0x4a223d([_0x43a4bd(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x43a4bd(0x1,_0x765608[_0x1b6ca5(0x3f9)]),_0x43a4bd(0x2,_0x765608['IConfigService']),_0x43a4bd(0x3,_0x1d154d),_0x43a4bd(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb)),_0x43a4bd(0x5,_0x765608[_0x1b6ca5(0x136)](_0x13a6a4))],_0x35847c[_0x1b6ca5(0x97)]);var _0x40ba83=Object[_0x1b6ca5(0x1d2)],_0x12d755=(_0x34aa96,_0x118873,_0x3881d0,_0x71991e)=>{var _0x478994=_0x1b6ca5;for(var _0x36e56d=_0x71991e>0x1?void 0x0:_0x71991e?_0x40ba83(_0x118873,_0x3881d0):_0x118873,_0x435cf=_0x34aa96[_0x478994(0x39e)]-0x1,_0x1ce789;_0x435cf>=0x0;_0x435cf--)(_0x1ce789=_0x34aa96[_0x435cf])&&(_0x36e56d=_0x1ce789(_0x36e56d)||_0x36e56d);return _0x36e56d;},_0x1af6ec=(_0x3fb2bf,_0x40fc17)=>(_0x493d04,_0x3dc909)=>_0x40fc17(_0x493d04,_0x3dc909,_0x3fb2bf);_0x35847c[_0x1b6ca5(0x236)]=class extends _0x765608['RxDisposable']{constructor(_0xd8453e,_0x40c8fe,_0x32f2f9,_0x3ad32a){var _0x44dec5=_0x1b6ca5,_0x264a0d;super(),_0x1bac5f(this,_0x44dec5(0x2f7),new Map()),_0x1bac5f(this,_0x44dec5(0x3cc),new _0x2f43df[(_0x44dec5(0x216))]()),_0x1bac5f(this,_0x44dec5(0x276),this['_entityInit$']['asObservable']()),(this[_0x44dec5(0x172)]=_0xd8453e,this['_collabSessionService']=_0x40c8fe,this[_0x44dec5(0xd8)]=_0x32f2f9,this[_0x44dec5(0xe7)]=_0x3ad32a,((_0x264a0d=this['_configService'][_0x44dec5(0x1ef)](_0x32b669))==null?void 0x0:_0x264a0d[_0x44dec5(0x205)])!==!0x1&&this[_0x44dec5(0xfc)]());}[_0x1b6ca5(0xb1)](){var _0x34443d=_0x1b6ca5;super[_0x34443d(0xb1)](),this[_0x34443d(0x2f7)][_0x34443d(0x1d1)](_0x573eda=>_0x573eda[_0x34443d(0xb1)]()),this['_entities'][_0x34443d(0x1c1)]();}[_0x1b6ca5(0x7f)](_0x31c60a){var _0x7fdbaf=_0x1b6ca5,_0x1c765e;return(_0x1c765e=this['_entities'][_0x7fdbaf(0x2b3)](_0x31c60a))!=null?_0x1c765e:null;}['getCollabEntity$'](_0x3c6224){var _0x2a34b4=_0x1b6ca5;const _0x4dab4d=this['getCollabEntity'](_0x3c6224);return _0x4dab4d?_0x2f43df['of'](_0x4dab4d):this['_entityInit$'][_0x2a34b4(0x39a)](_0x3039f7[_0x2a34b4(0x153)](_0x23655b=>_0x23655b['unitID']===_0x3c6224));}[_0x1b6ca5(0x342)](_0x3048d1){var _0x26b129=_0x1b6ca5;return _0x2f43df[_0x26b129(0x3d3)](this['getCollabEntity$'](_0x3048d1)[_0x26b129(0x39a)](_0x3039f7['map'](()=>{})));}[_0x1b6ca5(0xfc)](){var _0x4d0898=_0x1b6ca5;this[_0x4d0898(0xe7)]['getTypeOfUnitAdded$'](_0x765608['UniverInstanceType'][_0x4d0898(0x398)])[_0x4d0898(0x39a)](_0x2f43df[_0x4d0898(0x18c)](this[_0x4d0898(0x283)]),_0x3039f7['delay'](0x10))[_0x4d0898(0xf0)](async _0x4bf0fe=>{var _0x298115=_0x4d0898;const _0x4a527d=_0x4bf0fe['getUnitId'](),_0x1f505c=await this[_0x298115(0x85)](_0x4a527d,_0x56d87c[_0x298115(0x398)]);this[_0x298115(0x2f7)][_0x298115(0x26d)](_0x4a527d,_0x1f505c);}),this[_0x4d0898(0xe7)][_0x4d0898(0x2ac)](_0x765608[_0x4d0898(0x173)][_0x4d0898(0x31a)])[_0x4d0898(0x39a)](_0x2f43df['takeUntil'](this[_0x4d0898(0x283)]),_0x3039f7[_0x4d0898(0x213)](0x10))['pipe'](_0x3039f7['filter'](_0x304fdf=>!_0x304fdf['getUnitId']()[_0x4d0898(0x157)]('__')))[_0x4d0898(0xf0)](async _0x183e02=>{var _0x1eca04=_0x4d0898;const _0x53abf3=_0x183e02[_0x1eca04(0xdc)](),_0x68655c=await this[_0x1eca04(0x85)](_0x53abf3,_0x56d87c[_0x1eca04(0x31a)]);this[_0x1eca04(0x2f7)]['set'](_0x53abf3,_0x68655c);}),_0x2f43df[_0x4d0898(0x308)](this[_0x4d0898(0xe7)][_0x4d0898(0x24b)](_0x765608[_0x4d0898(0x173)][_0x4d0898(0x398)]),this[_0x4d0898(0xe7)]['getTypeOfUnitDisposed$'](_0x765608['UniverInstanceType'][_0x4d0898(0x31a)]))[_0x4d0898(0x39a)](_0x2f43df['takeUntil'](this[_0x4d0898(0x283)]))[_0x4d0898(0xf0)](_0x4ddf3b=>{var _0x173861=_0x4d0898;const _0x2b6389=_0x4ddf3b[_0x173861(0xdc)](),_0x4b697c=this[_0x173861(0x2f7)][_0x173861(0x2b3)](_0x2b6389);_0x4b697c&&(_0x4b697c[_0x173861(0xb1)](),this[_0x173861(0x2f7)][_0x173861(0x3d7)](_0x2b6389));});}async[_0x1b6ca5(0x85)](_0x2e0b99,_0x1ab46f){var _0x3288f2=_0x1b6ca5;const _0x4422f5=await this['_collabSessionService']['requireSession'](_0x2e0b99),_0xa4b368=this[_0x3288f2(0x172)][_0x3288f2(0xc8)](this['_getCtorByUniverType'](_0x1ab46f),_0x2e0b99,_0x1ab46f,_0x4422f5);return await _0xa4b368[_0x3288f2(0x82)](),this[_0x3288f2(0x3cc)]['next'](_0xa4b368),_0xa4b368;}[_0x1b6ca5(0x1c7)](_0x5c2cd2){var _0x485ea7=_0x1b6ca5;switch(_0x5c2cd2){case _0x56d87c[_0x485ea7(0x31a)]:return _0x35847c[_0x485ea7(0xe3)];case _0x56d87c[_0x485ea7(0x398)]:return _0x35847c[_0x485ea7(0x13d)];default:throw new Error(_0x485ea7(0x1aa)+_0x5c2cd2);}}},_0x35847c[_0x1b6ca5(0x236)]=_0x12d755([_0x1af6ec(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x1af6ec(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x35847c['CollaborationSessionService'])),_0x1af6ec(0x2,_0x765608[_0x1b6ca5(0x1af)]),_0x1af6ec(0x3,_0x765608['IUniverInstanceService'])],_0x35847c[_0x1b6ca5(0x236)]);var _0xa42d89=Object[_0x1b6ca5(0x1d2)],_0x32874a=(_0x13df33,_0x2f2f2b,_0x379d40,_0x5652de)=>{var _0x4d7c0b=_0x1b6ca5;for(var _0x215022=_0x5652de>0x1?void 0x0:_0x5652de?_0xa42d89(_0x2f2f2b,_0x379d40):_0x2f2f2b,_0x41b7c0=_0x13df33[_0x4d7c0b(0x39e)]-0x1,_0x10c738;_0x41b7c0>=0x0;_0x41b7c0--)(_0x10c738=_0x13df33[_0x41b7c0])&&(_0x215022=_0x10c738(_0x215022)||_0x215022);return _0x215022;},_0xf5c9bc=(_0x294035,_0x46093f)=>(_0x1335ff,_0x1e03da)=>_0x46093f(_0x1335ff,_0x1e03da,_0x294035);const _0x13ebfd=_0x1b6ca5(0x108),_0x579600=_0x1b6ca5(0x2d3);let _0x287d89=class extends _0x765608[_0x1b6ca5(0x2bf)]{constructor(_0x4ed9d0,_0x409771){var _0x3e254e=_0x1b6ca5;super(),this[_0x3e254e(0xe7)]=_0x4ed9d0,this['_configService']=_0x409771,this[_0x3e254e(0xfc)]();}[_0x1b6ca5(0xfc)](){var _0x32d0ac=_0x1b6ca5;this[_0x32d0ac(0x115)](this[_0x32d0ac(0xe7)][_0x32d0ac(0x130)][_0x32d0ac(0xf0)](()=>{var _0x271656=_0x32d0ac,_0x12b4ea;const _0x38ffb8=this[_0x271656(0xe7)][_0x271656(0x353)]();let _0x4bc804=(_0x12b4ea=this['_configService'][_0x271656(0x1ef)](_0x13ebfd))!=null?_0x12b4ea:_0x579600;_0x38ffb8 instanceof _0x765608[_0x271656(0x243)]&&(_0x4bc804=_0x38ffb8[_0x271656(0x317)]),document[_0x271656(0x195)]=_0x4bc804;}));}};_0x287d89=_0x32874a([_0xf5c9bc(0x0,_0x765608[_0x1b6ca5(0x175)]),_0xf5c9bc(0x1,_0x765608['IConfigService'])],_0x287d89);var _0x5d4f54=Object[_0x1b6ca5(0x1d2)],_0x5cb059=(_0x3b044b,_0x1adf47,_0x13c800,_0x20a25f)=>{var _0x55d98e=_0x1b6ca5;for(var _0x484f19=_0x20a25f>0x1?void 0x0:_0x20a25f?_0x5d4f54(_0x1adf47,_0x13c800):_0x1adf47,_0x1681e7=_0x3b044b[_0x55d98e(0x39e)]-0x1,_0x1ccafb;_0x1681e7>=0x0;_0x1681e7--)(_0x1ccafb=_0x3b044b[_0x1681e7])&&(_0x484f19=_0x1ccafb(_0x484f19)||_0x484f19);return _0x484f19;},_0x5da9a5=(_0x2e6b23,_0x1234e4)=>(_0x436293,_0x11a889)=>_0x1234e4(_0x436293,_0x11a889,_0x2e6b23);let _0x3e75fa=class{constructor(_0x69c0e6,_0x46071b,_0x5dc19e){var _0x557c50=_0x1b6ca5;this[_0x557c50(0xd8)]=_0x69c0e6,this[_0x557c50(0x2be)]=_0x46071b,this[_0x557c50(0x31e)]=_0x5dc19e,this[_0x557c50(0x82)]();}['init'](){var _0x3b255a=_0x1b6ca5;this[_0x3b255a(0x2be)][_0x3b255a(0xce)]({'priority':0x1,'interceptor':(_0x3ea02b,_0x3e25cb)=>_0x3e25cb(_0x3ea02b)[_0x3b255a(0x39a)](_0x2f43df['concatMap'](async _0x24e5dd=>{var _0x177263=_0x3b255a;const _0x4b0eea=_0x24e5dd;if(_0x4b0eea[_0x177263(0x2cd)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x177263(0x362)](this[_0x177263(0x31e)]['t']('auth.needGotoLoginAlert'))){const _0x19ae5f=window['encodeURIComponent'](window[_0x177263(0x250)]['href']);window[_0x177263(0x250)]['href']=this['_getLoginPath']()+_0x177263(0x2b1)+_0x19ae5f;}}return _0x4b0eea;}))});}[_0x1b6ca5(0x18e)](){var _0xa9964c=_0x1b6ca5,_0x4e2886;const _0x50138b=this[_0xa9964c(0xd8)][_0xa9964c(0x1ef)](_0x32b669);return(_0x4e2886=_0x50138b==null?void 0x0:_0x50138b[_0xa9964c(0x3b7)])!=null?_0x4e2886:_0x53153f;}};_0x3e75fa=_0x5cb059([_0x5da9a5(0x0,_0x765608['IConfigService']),_0x5da9a5(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)])),_0x5da9a5(0x2,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x160)]))],_0x3e75fa);var _0xa5cf99=Object[_0x1b6ca5(0x1d2)],_0x56aabf=(_0x2e6db1,_0xe3822a,_0x3c11be,_0x518987)=>{var _0x221167=_0x1b6ca5;for(var _0x13bdb0=_0x518987>0x1?void 0x0:_0x518987?_0xa5cf99(_0xe3822a,_0x3c11be):_0xe3822a,_0x21959d=_0x2e6db1[_0x221167(0x39e)]-0x1,_0x198278;_0x21959d>=0x0;_0x21959d--)(_0x198278=_0x2e6db1[_0x21959d])&&(_0x13bdb0=_0x198278(_0x13bdb0)||_0x13bdb0);return _0x13bdb0;},_0x2b8a78=(_0x402c34,_0x5b89b5)=>(_0x3c00da,_0x79b7f5)=>_0x5b89b5(_0x3c00da,_0x79b7f5,_0x402c34);const _0x55d47a='/universer-api/authz';_0x35847c[_0x1b6ca5(0x3af)]=class extends _0x765608[_0x1b6ca5(0x2bf)]{constructor(_0x187ce9,_0xe9e57a){var _0x41c366=_0x1b6ca5;super(),this[_0x41c366(0x24c)]=_0x187ce9,this[_0x41c366(0xd8)]=_0xe9e57a,this[_0x41c366(0xc0)]();}[_0x1b6ca5(0xc0)](){var _0xcfdf12=_0x1b6ca5;const _0x5c3f2f=this;this['disposeWithMe'](this[_0xcfdf12(0x24c)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x102f6e[_0xcfdf12(0x17a)]({'isMatch'(_0x24758e){var _0x3b063d=_0xcfdf12,_0x3993a8;if(_0x24758e['method']==='POST'&&((_0x3993a8=_0x24758e[_0x3b063d(0x29f)])!=null&&_0x3993a8[_0x3b063d(0x35a)])){const {objectID:_0x5c33ed,objectType:_0x3e57b2}=_0x24758e[_0x3b063d(0x29f)][_0x3b063d(0x35a)]||{};if(!_0x5c33ed||_0x3e57b2===void 0x0)return!0x1;const _0x362596=_0x5c3f2f[_0x3b063d(0x127)]()+'/'+_0x3e57b2+'/object/'+_0x5c33ed+_0x3b063d(0x2cb);if(_0x24758e[_0x3b063d(0x367)]===_0x362596)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3803c7){var _0x43a381=_0xcfdf12,_0x470935;return(_0x470935=_0x3803c7[_0x43a381(0x29f)])==null?void 0x0:_0x470935[_0x43a381(0x35a)];},'mergeParamsToRequest'(_0x1c0f1c,_0xcc09e5){var _0x1da559=_0xcfdf12;const _0x44f183=_0x5c3f2f[_0x1da559(0x127)]()+_0x1da559(0xdb),_0x4f9025=_0x1c0f1c[_0x1da559(0x37a)]((_0x2f98ff,_0x1438b2)=>{var _0x46bf38=_0x1da559;const {unitID:_0x11b06e,objectID:_0xfb8c0,objectType:_0x1770d5,actions:_0x2b661a}=_0x1438b2;return _0x2f98ff[_0x11b06e]||(_0x2f98ff[_0x11b06e]={}),_0x2f98ff[_0x11b06e][_0xfb8c0]||(_0x2f98ff[_0x11b06e][_0xfb8c0]={'objectID':_0xfb8c0,'objectType':_0x1770d5,'actions':[]}),_0x2f98ff[_0x11b06e][_0xfb8c0][_0x46bf38(0x303)][_0x46bf38(0x13f)](..._0x2b661a),_0x2f98ff;},{}),_0x409f6f=[];for(const _0x42a1a7 in _0x4f9025)for(const _0x6216be in _0x4f9025[_0x42a1a7]){const {actions:_0x17d067,objectType:_0x202e3f}=_0x4f9025[_0x42a1a7][_0x6216be],_0x9cf5a0=[...new Set(_0x17d067)];_0x409f6f['push']({'unitID':_0x42a1a7,'objectID':_0x6216be,'objectType':_0x202e3f,'actions':_0x9cf5a0});}return new _0x102f6e[(_0x1da559(0x21e))](_0x1da559(0x2f1),_0x44f183,{'headers':_0xcc09e5[_0x1da559(0x3e5)],'withCredentials':_0xcc09e5[_0x1da559(0x11e)],'responseType':_0xcc09e5[_0x1da559(0xe2)],'body':{'requests':_0x409f6f}});}},{'distributeResult'(_0x235603,_0x239b6c){var _0x3f39bb=_0xcfdf12;const {objectActions:_0x4f6311}=_0x235603;return _0x239b6c[_0x3f39bb(0x10d)](_0x4c07f2=>{var _0xea76fc=_0x3f39bb;const {unitID:_0x55caf3,objectID:_0xabf8a0,actions:_0x2e74e6}=_0x4c07f2,_0x13d3ee=_0x4f6311[_0xea76fc(0x23a)](_0x5b7264=>_0x5b7264['unitID']===_0x55caf3&&_0x5b7264[_0xea76fc(0x20a)]===_0xabf8a0),_0x252141=_0x2e74e6[_0xea76fc(0x10d)](_0xbc2730=>_0x13d3ee==null?void 0x0:_0x13d3ee[_0xea76fc(0x303)]['find'](_0x1b67d4=>_0x1b67d4[_0xea76fc(0x161)]===_0xbc2730))[_0xea76fc(0x153)](_0x200fd6=>!!_0x200fd6);return{'config':_0x4c07f2,'result':{'actions':_0x252141,'error':_0x235603[_0xea76fc(0x35f)]}};});}})}));}[_0x1b6ca5(0x127)](){var _0x5a524b=_0x1b6ca5,_0x6048d7;const _0xb2a267=this[_0x5a524b(0xd8)]['getConfig'](_0x32b669);return(_0x6048d7=_0xb2a267==null?void 0x0:_0xb2a267[_0x5a524b(0x270)])!=null?_0x6048d7:_0x55d47a;}async[_0x1b6ca5(0x355)](_0x4ed59f){var _0x5a4840=_0x1b6ca5;const _0x42119a=this['_getAPIPrefixPath']()+'/'+_0x4ed59f[_0x5a4840(0x124)]+_0x5a4840(0x334);return(await this[_0x5a4840(0x24c)][_0x5a4840(0x268)](_0x42119a,{'body':_0x4ed59f}))[_0x5a4840(0x35a)][_0x5a4840(0x20a)]||'';}async['list'](_0x1d0045){var _0x123e0f=_0x1b6ca5;const _0x13d8d9=this[_0x123e0f(0x127)]()+_0x123e0f(0xb8);return(await this[_0x123e0f(0x24c)][_0x123e0f(0x268)](_0x13d8d9,{'body':_0x1d0045}))['body']['objects'];}async[_0x1b6ca5(0x2d1)](_0x266cfd){var _0x42dd80=_0x1b6ca5,_0x2ff44e,_0x4d78d0;const _0xdf4e58=this[_0x42dd80(0x127)]()+'/'+_0x266cfd[_0x42dd80(0x124)]+'/object/'+_0x266cfd[_0x42dd80(0x20a)],_0x406640=await this[_0x42dd80(0x24c)][_0x42dd80(0x280)](_0xdf4e58,{'body':_0x266cfd});if(((_0x4d78d0=(_0x2ff44e=_0x406640==null?void 0x0:_0x406640[_0x42dd80(0x35a)])==null?void 0x0:_0x2ff44e[_0x42dd80(0x35f)])==null?void 0x0:_0x4d78d0[_0x42dd80(0x3e6)])!==0x1)throw new Error(_0x42dd80(0x81));}async[_0x1b6ca5(0x1cc)](_0x59661e){var _0x12a988=_0x1b6ca5;const _0x330222=this[_0x12a988(0x127)]()+'/'+_0x59661e[_0x12a988(0x124)]+_0x12a988(0x3c1)+_0x59661e[_0x12a988(0x20a)]+_0x12a988(0x2cb);return(await this['_HTTPService'][_0x12a988(0x268)](_0x330222,{'body':_0x59661e}))['body'][_0x12a988(0x303)];}async[_0x1b6ca5(0x103)](_0x45b89c){var _0x5a74c1=_0x1b6ca5;const _0x193f21=this[_0x5a74c1(0x127)]()+'/-/object/-/batch_allowed';return(await this[_0x5a74c1(0x24c)][_0x5a74c1(0x268)](_0x193f21,{'body':{'requests':_0x45b89c}}))[_0x5a74c1(0x35a)][_0x5a74c1(0x2c4)];}async[_0x1b6ca5(0x2a0)](_0x35f1f9){var _0x5a795e=_0x1b6ca5;const _0x3c19e4=this[_0x5a795e(0x127)]()+'/'+_0x35f1f9[_0x5a795e(0x124)]+'/role',_0x5ca487=await this[_0x5a795e(0x24c)][_0x5a795e(0x268)](_0x3c19e4,{'body':_0x35f1f9});return{'roles':_0x5ca487[_0x5a795e(0x35a)][_0x5a795e(0x28c)],'actions':_0x5ca487[_0x5a795e(0x35a)][_0x5a795e(0x303)]};}async[_0x1b6ca5(0x230)](_0x1c80c2){var _0x37f0da=_0x1b6ca5;const _0xbbf12f=this[_0x37f0da(0x127)]()+_0x37f0da(0x21c);await this[_0x37f0da(0x24c)][_0x37f0da(0x3d7)](_0xbbf12f,{'params':{'collaboratorID':_0x1c80c2['collaboratorID'],'objectID':_0x1c80c2['objectID'],'unitID':_0x1c80c2[_0x37f0da(0xfe)]}});}async[_0x1b6ca5(0x214)](_0x43326e){var _0x32975a=_0x1b6ca5;const _0x16a172=this['_getAPIPrefixPath']()+_0x32975a(0x21c);await this[_0x32975a(0x24c)][_0x32975a(0x33f)](_0x16a172,{'body':_0x43326e});}async[_0x1b6ca5(0x2ea)](_0x2cd7a3){var _0x4ce9a0=_0x1b6ca5;const _0x4924c3=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x4ce9a0(0x24c)][_0x4ce9a0(0x268)](_0x4924c3,{'body':_0x2cd7a3});}async[_0x1b6ca5(0x13c)](_0x5a025c){var _0x2ce93b=_0x1b6ca5;const _0x4e670c=this[_0x2ce93b(0x127)]()+_0x2ce93b(0x21c);return(await this[_0x2ce93b(0x24c)][_0x2ce93b(0x2b3)](_0x4e670c,{'params':{'objectID':_0x5a025c[_0x2ce93b(0x20a)],'unitID':_0x5a025c[_0x2ce93b(0xfe)]}}))[_0x2ce93b(0x35a)][_0x2ce93b(0x3aa)];}async[_0x1b6ca5(0x16d)](_0x491446){var _0x2ffaf5=_0x1b6ca5;const _0x2b103d=this[_0x2ffaf5(0x127)]()+_0x2ffaf5(0x21c);await this[_0x2ffaf5(0x24c)][_0x2ffaf5(0x280)](_0x2b103d,{'body':_0x491446});}},_0x35847c['AuthzIoHttpService']=_0x56aabf([_0x2b8a78(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e['HTTPService'])),_0x2b8a78(0x1,_0x765608['Inject'](_0x765608[_0x1b6ca5(0x1af)]))],_0x35847c[_0x1b6ca5(0x3af)]);var _0x374344=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x208e50(_0x293532){var _0xa7aa80=_0x1b6ca5;return _0x293532&&_0x293532[_0xa7aa80(0x194)]&&Object[_0xa7aa80(0x3d9)][_0xa7aa80(0x2f8)]['call'](_0x293532,'default')?_0x293532[_0xa7aa80(0x92)]:_0x293532;}var _0x29c350={'exports':{}};function _0x22fc74(_0x39b647){var _0x3a6c89=_0x1b6ca5;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x39b647+_0x3a6c89(0x1de));}var _0x519e66={'exports':{}},_0x3b6d3c=_0x519e66[_0x1b6ca5(0x17e)],_0x177da6;function _0x20f9b7(){var _0x848d17=_0x1b6ca5;return _0x177da6||(_0x177da6=0x1,function(_0xc8b7c5,_0xa50ac8){(function(_0x1cc6a0,_0x45d55c){_0xc8b7c5['exports']=_0x45d55c();}(_0x3b6d3c,function(){var _0x1ee095=_0x1ee095||function(_0x149267,_0x49547a){var _0x37b7cf=_0x1ac4,_0x1d1a71;if(typeof window<'u'&&window[_0x37b7cf(0x2ee)]&&(_0x1d1a71=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x1d1a71=self['crypto']),typeof globalThis<'u'&&globalThis[_0x37b7cf(0x2ee)]&&(_0x1d1a71=globalThis['crypto']),!_0x1d1a71&&typeof window<'u'&&window[_0x37b7cf(0x3d0)]&&(_0x1d1a71=window[_0x37b7cf(0x3d0)]),!_0x1d1a71&&typeof _0x374344<'u'&&_0x374344['crypto']&&(_0x1d1a71=_0x374344[_0x37b7cf(0x2ee)]),!_0x1d1a71&&typeof _0x22fc74==_0x37b7cf(0x96))try{_0x1d1a71=require('crypto');}catch{}var _0x18312c=function(){var _0x5aab21=_0x37b7cf;if(_0x1d1a71){if(typeof _0x1d1a71['getRandomValues']=='function')try{return _0x1d1a71['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1d1a71[_0x5aab21(0x10e)]==_0x5aab21(0x96))try{return _0x1d1a71[_0x5aab21(0x10e)](0x4)[_0x5aab21(0x1e8)]();}catch{}}throw new Error(_0x5aab21(0x2c9));},_0x334c80=Object[_0x37b7cf(0x355)]||(function(){function _0x1920e6(){}return function(_0x1a956a){var _0x24f9e6=_0x1ac4,_0xe2a9af;return _0x1920e6[_0x24f9e6(0x3d9)]=_0x1a956a,_0xe2a9af=new _0x1920e6(),_0x1920e6['prototype']=null,_0xe2a9af;};}()),_0x31a05e={},_0x43e313=_0x31a05e['lib']={},_0x263089=_0x43e313['Base']=(function(){return{'extend':function(_0x52c96a){var _0x2b0f2c=_0x1ac4,_0xc5dc20=_0x334c80(this);return _0x52c96a&&_0xc5dc20[_0x2b0f2c(0x323)](_0x52c96a),(!_0xc5dc20[_0x2b0f2c(0x2f8)]('init')||this['init']===_0xc5dc20[_0x2b0f2c(0x82)])&&(_0xc5dc20[_0x2b0f2c(0x82)]=function(){var _0x37db03=_0x2b0f2c;_0xc5dc20[_0x37db03(0x282)][_0x37db03(0x82)][_0x37db03(0x1fa)](this,arguments);}),_0xc5dc20[_0x2b0f2c(0x82)][_0x2b0f2c(0x3d9)]=_0xc5dc20,_0xc5dc20[_0x2b0f2c(0x282)]=this,_0xc5dc20;},'create':function(){var _0x24629d=_0x1ac4,_0x29b86c=this[_0x24629d(0x22f)]();return _0x29b86c['init'][_0x24629d(0x1fa)](_0x29b86c,arguments),_0x29b86c;},'init':function(){},'mixIn':function(_0x7c4f87){var _0xc6c6e=_0x1ac4;for(var _0x4fde40 in _0x7c4f87)_0x7c4f87[_0xc6c6e(0x2f8)](_0x4fde40)&&(this[_0x4fde40]=_0x7c4f87[_0x4fde40]);_0x7c4f87[_0xc6c6e(0x2f8)](_0xc6c6e(0x1ac))&&(this[_0xc6c6e(0x1ac)]=_0x7c4f87[_0xc6c6e(0x1ac)]);},'clone':function(){var _0x56b7d5=_0x1ac4;return this[_0x56b7d5(0x82)][_0x56b7d5(0x3d9)][_0x56b7d5(0x22f)](this);}};}()),_0x322751=_0x43e313[_0x37b7cf(0x26f)]=_0x263089['extend']({'init':function(_0x9af985,_0x3d05b4){var _0x3668bb=_0x37b7cf;_0x9af985=this[_0x3668bb(0x2f5)]=_0x9af985||[],_0x3d05b4!=_0x49547a?this[_0x3668bb(0x3b3)]=_0x3d05b4:this[_0x3668bb(0x3b3)]=_0x9af985[_0x3668bb(0x39e)]*0x4;},'toString':function(_0x4b51ef){var _0x303520=_0x37b7cf;return(_0x4b51ef||_0x2519a3)[_0x303520(0x144)](this);},'concat':function(_0x3ddf92){var _0x2efe17=_0x37b7cf,_0xed9339=this[_0x2efe17(0x2f5)],_0xef7a69=_0x3ddf92[_0x2efe17(0x2f5)],_0x4341be=this['sigBytes'],_0x167b76=_0x3ddf92[_0x2efe17(0x3b3)];if(this[_0x2efe17(0x90)](),_0x4341be%0x4)for(var _0x293265=0x0;_0x293265<_0x167b76;_0x293265++){var _0xba0fe7=_0xef7a69[_0x293265>>>0x2]>>>0x18-_0x293265%0x4*0x8&0xff;_0xed9339[_0x4341be+_0x293265>>>0x2]|=_0xba0fe7<<0x18-(_0x4341be+_0x293265)%0x4*0x8;}else{for(var _0x1f0261=0x0;_0x1f0261<_0x167b76;_0x1f0261+=0x4)_0xed9339[_0x4341be+_0x1f0261>>>0x2]=_0xef7a69[_0x1f0261>>>0x2];}return this[_0x2efe17(0x3b3)]+=_0x167b76,this;},'clamp':function(){var _0x2c6683=_0x37b7cf,_0x2b3d1e=this[_0x2c6683(0x2f5)],_0x34f667=this[_0x2c6683(0x3b3)];_0x2b3d1e[_0x34f667>>>0x2]&=0xffffffff<<0x20-_0x34f667%0x4*0x8,_0x2b3d1e[_0x2c6683(0x39e)]=_0x149267[_0x2c6683(0x278)](_0x34f667/0x4);},'clone':function(){var _0x116ddf=_0x37b7cf,_0xb5b4f9=_0x263089['clone']['call'](this);return _0xb5b4f9[_0x116ddf(0x2f5)]=this[_0x116ddf(0x2f5)][_0x116ddf(0x1a1)](0x0),_0xb5b4f9;},'random':function(_0x2151d9){var _0x46bbcc=_0x37b7cf;for(var _0x2b5f81=[],_0xa660e0=0x0;_0xa660e0<_0x2151d9;_0xa660e0+=0x4)_0x2b5f81['push'](_0x18312c());return new _0x322751[(_0x46bbcc(0x82))](_0x2b5f81,_0x2151d9);}}),_0xc30929=_0x31a05e[_0x37b7cf(0x37f)]={},_0x2519a3=_0xc30929[_0x37b7cf(0x352)]={'stringify':function(_0x148653){var _0x2d5670=_0x37b7cf;for(var _0xd46f32=_0x148653['words'],_0x3e1240=_0x148653[_0x2d5670(0x3b3)],_0x457c38=[],_0x10cc3d=0x0;_0x10cc3d<_0x3e1240;_0x10cc3d++){var _0x2ac818=_0xd46f32[_0x10cc3d>>>0x2]>>>0x18-_0x10cc3d%0x4*0x8&0xff;_0x457c38[_0x2d5670(0x13f)]((_0x2ac818>>>0x4)[_0x2d5670(0x1ac)](0x10)),_0x457c38[_0x2d5670(0x13f)]((_0x2ac818&0xf)[_0x2d5670(0x1ac)](0x10));}return _0x457c38[_0x2d5670(0x234)]('');},'parse':function(_0xd39a67){var _0x3b1b65=_0x37b7cf;for(var _0xe90a3=_0xd39a67[_0x3b1b65(0x39e)],_0x1d64eb=[],_0x158688=0x0;_0x158688<_0xe90a3;_0x158688+=0x2)_0x1d64eb[_0x158688>>>0x3]|=parseInt(_0xd39a67[_0x3b1b65(0x25c)](_0x158688,0x2),0x10)<<0x18-_0x158688%0x8*0x4;return new _0x322751['init'](_0x1d64eb,_0xe90a3/0x2);}},_0x8016fc=_0xc30929[_0x37b7cf(0x17b)]={'stringify':function(_0x434e7f){var _0xd00837=_0x37b7cf;for(var _0x53acb6=_0x434e7f[_0xd00837(0x2f5)],_0x48f3a9=_0x434e7f[_0xd00837(0x3b3)],_0x3e1c69=[],_0x405c21=0x0;_0x405c21<_0x48f3a9;_0x405c21++){var _0x2675b7=_0x53acb6[_0x405c21>>>0x2]>>>0x18-_0x405c21%0x4*0x8&0xff;_0x3e1c69['push'](String[_0xd00837(0x1ee)](_0x2675b7));}return _0x3e1c69[_0xd00837(0x234)]('');},'parse':function(_0x35d142){var _0x13c51f=_0x37b7cf;for(var _0x2c6e47=_0x35d142[_0x13c51f(0x39e)],_0x8b1b93=[],_0x3c6439=0x0;_0x3c6439<_0x2c6e47;_0x3c6439++)_0x8b1b93[_0x3c6439>>>0x2]|=(_0x35d142[_0x13c51f(0x158)](_0x3c6439)&0xff)<<0x18-_0x3c6439%0x4*0x8;return new _0x322751[(_0x13c51f(0x82))](_0x8b1b93,_0x2c6e47);}},_0x1b1bf4=_0xc30929[_0x37b7cf(0x3ba)]={'stringify':function(_0x2f8f05){var _0x450121=_0x37b7cf;try{return decodeURIComponent(escape(_0x8016fc['stringify'](_0x2f8f05)));}catch{throw new Error(_0x450121(0x10b));}},'parse':function(_0x4ced57){var _0x15fdac=_0x37b7cf;return _0x8016fc[_0x15fdac(0x9b)](unescape(encodeURIComponent(_0x4ced57)));}},_0x5e900b=_0x43e313['BufferedBlockAlgorithm']=_0x263089[_0x37b7cf(0x22f)]({'reset':function(){var _0x3c4bbc=_0x37b7cf;this[_0x3c4bbc(0x71)]=new _0x322751[(_0x3c4bbc(0x82))](),this['_nDataBytes']=0x0;},'_append':function(_0x3f18cf){var _0x4c078b=_0x37b7cf;typeof _0x3f18cf==_0x4c078b(0x2d5)&&(_0x3f18cf=_0x1b1bf4[_0x4c078b(0x9b)](_0x3f18cf)),this[_0x4c078b(0x71)][_0x4c078b(0x260)](_0x3f18cf),this['_nDataBytes']+=_0x3f18cf[_0x4c078b(0x3b3)];},'_process':function(_0x27e019){var _0x41ca17=_0x37b7cf,_0x1a5f31,_0x3336e2=this[_0x41ca17(0x71)],_0x36c4a2=_0x3336e2['words'],_0x3c4f72=_0x3336e2['sigBytes'],_0x4c5aad=this[_0x41ca17(0x3df)],_0x27e6dd=_0x4c5aad*0x4,_0x298e26=_0x3c4f72/_0x27e6dd;_0x27e019?_0x298e26=_0x149267[_0x41ca17(0x278)](_0x298e26):_0x298e26=_0x149267[_0x41ca17(0x298)]((_0x298e26|0x0)-this[_0x41ca17(0x140)],0x0);var _0x560ca1=_0x298e26*_0x4c5aad,_0x218a64=_0x149267[_0x41ca17(0x1bf)](_0x560ca1*0x4,_0x3c4f72);if(_0x560ca1){for(var _0x4addd4=0x0;_0x4addd4<_0x560ca1;_0x4addd4+=_0x4c5aad)this[_0x41ca17(0x1bc)](_0x36c4a2,_0x4addd4);_0x1a5f31=_0x36c4a2[_0x41ca17(0x3c3)](0x0,_0x560ca1),_0x3336e2[_0x41ca17(0x3b3)]-=_0x218a64;}return new _0x322751[(_0x41ca17(0x82))](_0x1a5f31,_0x218a64);},'clone':function(){var _0x152f8f=_0x37b7cf,_0x5f3d12=_0x263089[_0x152f8f(0x170)][_0x152f8f(0x118)](this);return _0x5f3d12['_data']=this[_0x152f8f(0x71)][_0x152f8f(0x170)](),_0x5f3d12;},'_minBufferSize':0x0});_0x43e313['Hasher']=_0x5e900b[_0x37b7cf(0x22f)]({'cfg':_0x263089['extend'](),'init':function(_0x54bafc){var _0x4a6131=_0x37b7cf;this[_0x4a6131(0x198)]=this[_0x4a6131(0x198)][_0x4a6131(0x22f)](_0x54bafc),this[_0x4a6131(0x3a7)]();},'reset':function(){var _0x29dce4=_0x37b7cf;_0x5e900b['reset'][_0x29dce4(0x118)](this),this['_doReset']();},'update':function(_0x58105c){var _0x13a294=_0x37b7cf;return this[_0x13a294(0x30d)](_0x58105c),this[_0x13a294(0x1e3)](),this;},'finalize':function(_0x1374da){var _0xa1f22c=_0x37b7cf;_0x1374da&&this[_0xa1f22c(0x30d)](_0x1374da);var _0xedb162=this[_0xa1f22c(0x365)]();return _0xedb162;},'blockSize':0x10,'_createHelper':function(_0x3ec77e){return function(_0x5f122f,_0x4f17e5){var _0xf33597=_0x1ac4;return new _0x3ec77e[(_0xf33597(0x82))](_0x4f17e5)[_0xf33597(0x332)](_0x5f122f);};},'_createHmacHelper':function(_0x3fcf01){return function(_0x1df49d,_0x357035){var _0x5b88e6=_0x1ac4;return new _0x3bfa0d[(_0x5b88e6(0x1ad))][(_0x5b88e6(0x82))](_0x3fcf01,_0x357035)[_0x5b88e6(0x332)](_0x1df49d);};}});var _0x3bfa0d=_0x31a05e[_0x37b7cf(0x227)]={};return _0x31a05e;}(Math);return _0x1ee095;}));}(_0x519e66)),_0x519e66[_0x848d17(0x17e)];}var _0x57ebd2={'exports':{}},_0x202844=_0x57ebd2[_0x1b6ca5(0x17e)],_0x38a7c0;function _0x29f71f(){var _0x194cb0=_0x1b6ca5;return _0x38a7c0||(_0x38a7c0=0x1,function(_0x6b2ede,_0x6c0404){(function(_0x4f60b0,_0xf44977){var _0x2f1546=_0x1ac4;_0x6b2ede[_0x2f1546(0x17e)]=_0xf44977(_0x20f9b7());}(_0x202844,function(_0x14e3b4){var _0x3f7888=_0x1ac4;return(function(){var _0x39fd09=_0x1ac4,_0x56fa94=_0x14e3b4,_0x2427eb=_0x56fa94[_0x39fd09(0x223)],_0x51a32d=_0x2427eb[_0x39fd09(0x26f)],_0x5b5eab=_0x56fa94['enc'];_0x5b5eab[_0x39fd09(0x39f)]={'stringify':function(_0x18b972){var _0x41eaae=_0x39fd09,_0x5a0de4=_0x18b972[_0x41eaae(0x2f5)],_0x13bf89=_0x18b972[_0x41eaae(0x3b3)],_0x585843=this['_map'];_0x18b972[_0x41eaae(0x90)]();for(var _0x2b1c02=[],_0x46796c=0x0;_0x46796c<_0x13bf89;_0x46796c+=0x3)for(var _0x493447=_0x5a0de4[_0x46796c>>>0x2]>>>0x18-_0x46796c%0x4*0x8&0xff,_0x55d2b0=_0x5a0de4[_0x46796c+0x1>>>0x2]>>>0x18-(_0x46796c+0x1)%0x4*0x8&0xff,_0x336115=_0x5a0de4[_0x46796c+0x2>>>0x2]>>>0x18-(_0x46796c+0x2)%0x4*0x8&0xff,_0x3f866d=_0x493447<<0x10|_0x55d2b0<<0x8|_0x336115,_0x5a49c5=0x0;_0x5a49c5<0x4&&_0x46796c+_0x5a49c5*0.75<_0x13bf89;_0x5a49c5++)_0x2b1c02[_0x41eaae(0x13f)](_0x585843['charAt'](_0x3f866d>>>0x6*(0x3-_0x5a49c5)&0x3f));var _0x3f6e4f=_0x585843[_0x41eaae(0xa2)](0x40);if(_0x3f6e4f){for(;_0x2b1c02['length']%0x4;)_0x2b1c02[_0x41eaae(0x13f)](_0x3f6e4f);}return _0x2b1c02[_0x41eaae(0x234)]('');},'parse':function(_0x3b4609){var _0x25f1f1=_0x39fd09,_0x36fa7c=_0x3b4609[_0x25f1f1(0x39e)],_0x18821e=this[_0x25f1f1(0xf6)],_0x35ddf4=this[_0x25f1f1(0x373)];if(!_0x35ddf4){_0x35ddf4=this[_0x25f1f1(0x373)]=[];for(var _0x1e7b34=0x0;_0x1e7b34<_0x18821e[_0x25f1f1(0x39e)];_0x1e7b34++)_0x35ddf4[_0x18821e['charCodeAt'](_0x1e7b34)]=_0x1e7b34;}var _0xcd55ac=_0x18821e['charAt'](0x40);if(_0xcd55ac){var _0x572880=_0x3b4609[_0x25f1f1(0x159)](_0xcd55ac);_0x572880!==-0x1&&(_0x36fa7c=_0x572880);}return _0x449e46(_0x3b4609,_0x36fa7c,_0x35ddf4);},'_map':_0x39fd09(0x2c8)};function _0x449e46(_0x4b11ab,_0x28af44,_0x183a36){var _0x101997=_0x39fd09;for(var _0x7a0398=[],_0x224f82=0x0,_0x52bbe8=0x0;_0x52bbe8<_0x28af44;_0x52bbe8++)if(_0x52bbe8%0x4){var _0x30e854=_0x183a36[_0x4b11ab[_0x101997(0x158)](_0x52bbe8-0x1)]<<_0x52bbe8%0x4*0x2,_0x5d3c9e=_0x183a36[_0x4b11ab[_0x101997(0x158)](_0x52bbe8)]>>>0x6-_0x52bbe8%0x4*0x2,_0x516822=_0x30e854|_0x5d3c9e;_0x7a0398[_0x224f82>>>0x2]|=_0x516822<<0x18-_0x224f82%0x4*0x8,_0x224f82++;}return _0x51a32d[_0x101997(0x355)](_0x7a0398,_0x224f82);}}()),_0x14e3b4[_0x3f7888(0x37f)][_0x3f7888(0x39f)];}));}(_0x57ebd2)),_0x57ebd2[_0x194cb0(0x17e)];}var _0x6feedb={'exports':{}},_0x555e4a=_0x6feedb[_0x1b6ca5(0x17e)],_0x428652;function _0x1855fc(){return _0x428652||(_0x428652=0x1,function(_0x2c6752,_0x5e90ca){(function(_0x4354ff,_0x468949){_0x2c6752['exports']=_0x468949(_0x20f9b7());}(_0x555e4a,function(_0x243d6c){var _0x396996=_0x1ac4;return function(_0x1896e6){var _0x1d177b=_0x1ac4,_0x3fba26=_0x243d6c,_0x309a85=_0x3fba26['lib'],_0x486890=_0x309a85['WordArray'],_0x566acb=_0x309a85['Hasher'],_0x1cc4a8=_0x3fba26[_0x1d177b(0x227)],_0x488ebd=[];(function(){var _0x5f1256=_0x1d177b;for(var _0x1b6c63=0x0;_0x1b6c63<0x40;_0x1b6c63++)_0x488ebd[_0x1b6c63]=_0x1896e6[_0x5f1256(0x22b)](_0x1896e6['sin'](_0x1b6c63+0x1))*0x100000000|0x0;}());var _0x199344=_0x1cc4a8[_0x1d177b(0x229)]=_0x566acb['extend']({'_doReset':function(){var _0x1853b4=_0x1d177b;this['_hash']=new _0x486890[(_0x1853b4(0x82))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xae0014,_0x43580f){var _0x3d9852=_0x1d177b;for(var _0x3c6eef=0x0;_0x3c6eef<0x10;_0x3c6eef++){var _0x1cfa2c=_0x43580f+_0x3c6eef,_0x2fc301=_0xae0014[_0x1cfa2c];_0xae0014[_0x1cfa2c]=(_0x2fc301<<0x8|_0x2fc301>>>0x18)&0xff00ff|(_0x2fc301<<0x18|_0x2fc301>>>0x8)&0xff00ff00;}var _0x4d7ab6=this[_0x3d9852(0x25b)][_0x3d9852(0x2f5)],_0x442c2a=_0xae0014[_0x43580f+0x0],_0x33c7c4=_0xae0014[_0x43580f+0x1],_0x367f30=_0xae0014[_0x43580f+0x2],_0x3d4de9=_0xae0014[_0x43580f+0x3],_0x37d637=_0xae0014[_0x43580f+0x4],_0x3e32f0=_0xae0014[_0x43580f+0x5],_0xc28a15=_0xae0014[_0x43580f+0x6],_0x13dc13=_0xae0014[_0x43580f+0x7],_0x9066c1=_0xae0014[_0x43580f+0x8],_0x100d43=_0xae0014[_0x43580f+0x9],_0x2573f9=_0xae0014[_0x43580f+0xa],_0x4154ca=_0xae0014[_0x43580f+0xb],_0x13d617=_0xae0014[_0x43580f+0xc],_0x3bc198=_0xae0014[_0x43580f+0xd],_0x5969fa=_0xae0014[_0x43580f+0xe],_0x5608e5=_0xae0014[_0x43580f+0xf],_0x13e5a9=_0x4d7ab6[0x0],_0x362122=_0x4d7ab6[0x1],_0x31ce02=_0x4d7ab6[0x2],_0x4c4ed3=_0x4d7ab6[0x3];_0x13e5a9=_0x13e765(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x442c2a,0x7,_0x488ebd[0x0]),_0x4c4ed3=_0x13e765(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x33c7c4,0xc,_0x488ebd[0x1]),_0x31ce02=_0x13e765(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x367f30,0x11,_0x488ebd[0x2]),_0x362122=_0x13e765(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x3d4de9,0x16,_0x488ebd[0x3]),_0x13e5a9=_0x13e765(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x37d637,0x7,_0x488ebd[0x4]),_0x4c4ed3=_0x13e765(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x3e32f0,0xc,_0x488ebd[0x5]),_0x31ce02=_0x13e765(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0xc28a15,0x11,_0x488ebd[0x6]),_0x362122=_0x13e765(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x13dc13,0x16,_0x488ebd[0x7]),_0x13e5a9=_0x13e765(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x9066c1,0x7,_0x488ebd[0x8]),_0x4c4ed3=_0x13e765(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x100d43,0xc,_0x488ebd[0x9]),_0x31ce02=_0x13e765(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x2573f9,0x11,_0x488ebd[0xa]),_0x362122=_0x13e765(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x4154ca,0x16,_0x488ebd[0xb]),_0x13e5a9=_0x13e765(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x13d617,0x7,_0x488ebd[0xc]),_0x4c4ed3=_0x13e765(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x3bc198,0xc,_0x488ebd[0xd]),_0x31ce02=_0x13e765(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x5969fa,0x11,_0x488ebd[0xe]),_0x362122=_0x13e765(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x5608e5,0x16,_0x488ebd[0xf]),_0x13e5a9=_0x35555b(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x33c7c4,0x5,_0x488ebd[0x10]),_0x4c4ed3=_0x35555b(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0xc28a15,0x9,_0x488ebd[0x11]),_0x31ce02=_0x35555b(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x4154ca,0xe,_0x488ebd[0x12]),_0x362122=_0x35555b(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x442c2a,0x14,_0x488ebd[0x13]),_0x13e5a9=_0x35555b(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x3e32f0,0x5,_0x488ebd[0x14]),_0x4c4ed3=_0x35555b(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x2573f9,0x9,_0x488ebd[0x15]),_0x31ce02=_0x35555b(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x5608e5,0xe,_0x488ebd[0x16]),_0x362122=_0x35555b(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x37d637,0x14,_0x488ebd[0x17]),_0x13e5a9=_0x35555b(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x100d43,0x5,_0x488ebd[0x18]),_0x4c4ed3=_0x35555b(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x5969fa,0x9,_0x488ebd[0x19]),_0x31ce02=_0x35555b(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x3d4de9,0xe,_0x488ebd[0x1a]),_0x362122=_0x35555b(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x9066c1,0x14,_0x488ebd[0x1b]),_0x13e5a9=_0x35555b(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x3bc198,0x5,_0x488ebd[0x1c]),_0x4c4ed3=_0x35555b(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x367f30,0x9,_0x488ebd[0x1d]),_0x31ce02=_0x35555b(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x13dc13,0xe,_0x488ebd[0x1e]),_0x362122=_0x35555b(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x13d617,0x14,_0x488ebd[0x1f]),_0x13e5a9=_0x24d373(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x3e32f0,0x4,_0x488ebd[0x20]),_0x4c4ed3=_0x24d373(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x9066c1,0xb,_0x488ebd[0x21]),_0x31ce02=_0x24d373(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x4154ca,0x10,_0x488ebd[0x22]),_0x362122=_0x24d373(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x5969fa,0x17,_0x488ebd[0x23]),_0x13e5a9=_0x24d373(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x33c7c4,0x4,_0x488ebd[0x24]),_0x4c4ed3=_0x24d373(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x37d637,0xb,_0x488ebd[0x25]),_0x31ce02=_0x24d373(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x13dc13,0x10,_0x488ebd[0x26]),_0x362122=_0x24d373(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x2573f9,0x17,_0x488ebd[0x27]),_0x13e5a9=_0x24d373(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x3bc198,0x4,_0x488ebd[0x28]),_0x4c4ed3=_0x24d373(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x442c2a,0xb,_0x488ebd[0x29]),_0x31ce02=_0x24d373(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x3d4de9,0x10,_0x488ebd[0x2a]),_0x362122=_0x24d373(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0xc28a15,0x17,_0x488ebd[0x2b]),_0x13e5a9=_0x24d373(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x100d43,0x4,_0x488ebd[0x2c]),_0x4c4ed3=_0x24d373(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x13d617,0xb,_0x488ebd[0x2d]),_0x31ce02=_0x24d373(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x5608e5,0x10,_0x488ebd[0x2e]),_0x362122=_0x24d373(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x367f30,0x17,_0x488ebd[0x2f]),_0x13e5a9=_0x4b0116(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x442c2a,0x6,_0x488ebd[0x30]),_0x4c4ed3=_0x4b0116(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x13dc13,0xa,_0x488ebd[0x31]),_0x31ce02=_0x4b0116(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x5969fa,0xf,_0x488ebd[0x32]),_0x362122=_0x4b0116(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x3e32f0,0x15,_0x488ebd[0x33]),_0x13e5a9=_0x4b0116(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x13d617,0x6,_0x488ebd[0x34]),_0x4c4ed3=_0x4b0116(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x3d4de9,0xa,_0x488ebd[0x35]),_0x31ce02=_0x4b0116(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x2573f9,0xf,_0x488ebd[0x36]),_0x362122=_0x4b0116(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x33c7c4,0x15,_0x488ebd[0x37]),_0x13e5a9=_0x4b0116(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x9066c1,0x6,_0x488ebd[0x38]),_0x4c4ed3=_0x4b0116(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x5608e5,0xa,_0x488ebd[0x39]),_0x31ce02=_0x4b0116(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0xc28a15,0xf,_0x488ebd[0x3a]),_0x362122=_0x4b0116(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x3bc198,0x15,_0x488ebd[0x3b]),_0x13e5a9=_0x4b0116(_0x13e5a9,_0x362122,_0x31ce02,_0x4c4ed3,_0x37d637,0x6,_0x488ebd[0x3c]),_0x4c4ed3=_0x4b0116(_0x4c4ed3,_0x13e5a9,_0x362122,_0x31ce02,_0x4154ca,0xa,_0x488ebd[0x3d]),_0x31ce02=_0x4b0116(_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x362122,_0x367f30,0xf,_0x488ebd[0x3e]),_0x362122=_0x4b0116(_0x362122,_0x31ce02,_0x4c4ed3,_0x13e5a9,_0x100d43,0x15,_0x488ebd[0x3f]),_0x4d7ab6[0x0]=_0x4d7ab6[0x0]+_0x13e5a9|0x0,_0x4d7ab6[0x1]=_0x4d7ab6[0x1]+_0x362122|0x0,_0x4d7ab6[0x2]=_0x4d7ab6[0x2]+_0x31ce02|0x0,_0x4d7ab6[0x3]=_0x4d7ab6[0x3]+_0x4c4ed3|0x0;},'_doFinalize':function(){var _0x1bcfb2=_0x1d177b,_0xfccba9=this[_0x1bcfb2(0x71)],_0x4dad1e=_0xfccba9[_0x1bcfb2(0x2f5)],_0xf6742b=this['_nDataBytes']*0x8,_0x4e2d35=_0xfccba9['sigBytes']*0x8;_0x4dad1e[_0x4e2d35>>>0x5]|=0x80<<0x18-_0x4e2d35%0x20;var _0xb2516a=_0x1896e6[_0x1bcfb2(0x331)](_0xf6742b/0x100000000),_0x15c096=_0xf6742b;_0x4dad1e[(_0x4e2d35+0x40>>>0x9<<0x4)+0xf]=(_0xb2516a<<0x8|_0xb2516a>>>0x18)&0xff00ff|(_0xb2516a<<0x18|_0xb2516a>>>0x8)&0xff00ff00,_0x4dad1e[(_0x4e2d35+0x40>>>0x9<<0x4)+0xe]=(_0x15c096<<0x8|_0x15c096>>>0x18)&0xff00ff|(_0x15c096<<0x18|_0x15c096>>>0x8)&0xff00ff00,_0xfccba9[_0x1bcfb2(0x3b3)]=(_0x4dad1e[_0x1bcfb2(0x39e)]+0x1)*0x4,this['_process']();for(var _0x141c2c=this['_hash'],_0x19ea97=_0x141c2c[_0x1bcfb2(0x2f5)],_0x21a16d=0x0;_0x21a16d<0x4;_0x21a16d++){var _0x3e0fd9=_0x19ea97[_0x21a16d];_0x19ea97[_0x21a16d]=(_0x3e0fd9<<0x8|_0x3e0fd9>>>0x18)&0xff00ff|(_0x3e0fd9<<0x18|_0x3e0fd9>>>0x8)&0xff00ff00;}return _0x141c2c;},'clone':function(){var _0x8715cd=_0x1d177b,_0x595a4d=_0x566acb[_0x8715cd(0x170)][_0x8715cd(0x118)](this);return _0x595a4d[_0x8715cd(0x25b)]=this[_0x8715cd(0x25b)][_0x8715cd(0x170)](),_0x595a4d;}});function _0x13e765(_0x235359,_0x1a6850,_0x5b7b8f,_0x581baf,_0x15b280,_0x30e556,_0x4529b5){var _0x2e808f=_0x235359+(_0x1a6850&_0x5b7b8f|~_0x1a6850&_0x581baf)+_0x15b280+_0x4529b5;return(_0x2e808f<<_0x30e556|_0x2e808f>>>0x20-_0x30e556)+_0x1a6850;}function _0x35555b(_0x283b64,_0x35b3f7,_0xa83b1b,_0x462fdc,_0x3ca91e,_0x1b54cf,_0x152158){var _0x35b2ae=_0x283b64+(_0x35b3f7&_0x462fdc|_0xa83b1b&~_0x462fdc)+_0x3ca91e+_0x152158;return(_0x35b2ae<<_0x1b54cf|_0x35b2ae>>>0x20-_0x1b54cf)+_0x35b3f7;}function _0x24d373(_0x1a3673,_0x395f19,_0x1a3a21,_0x51e46c,_0x431d27,_0x22c852,_0xb7cdce){var _0x53b54f=_0x1a3673+(_0x395f19^_0x1a3a21^_0x51e46c)+_0x431d27+_0xb7cdce;return(_0x53b54f<<_0x22c852|_0x53b54f>>>0x20-_0x22c852)+_0x395f19;}function _0x4b0116(_0x4d60e9,_0x2eb897,_0x1f19c6,_0x5f2d49,_0x47d1f5,_0x46a10e,_0x9d77ac){var _0x5541a9=_0x4d60e9+(_0x1f19c6^(_0x2eb897|~_0x5f2d49))+_0x47d1f5+_0x9d77ac;return(_0x5541a9<<_0x46a10e|_0x5541a9>>>0x20-_0x46a10e)+_0x2eb897;}_0x3fba26[_0x1d177b(0x229)]=_0x566acb[_0x1d177b(0x1d0)](_0x199344),_0x3fba26[_0x1d177b(0x11d)]=_0x566acb['_createHmacHelper'](_0x199344);}(Math),_0x243d6c[_0x396996(0x229)];}));}(_0x6feedb)),_0x6feedb['exports'];}var _0x587674={'exports':{}},_0x4b5134={'exports':{}},_0x292db4=_0x4b5134[_0x1b6ca5(0x17e)],_0x427168;function _0x4757c3(){return _0x427168||(_0x427168=0x1,function(_0x585b2f,_0xb5eb80){(function(_0x56383f,_0x3f9321){var _0x484034=_0x1ac4;_0x585b2f[_0x484034(0x17e)]=_0x3f9321(_0x20f9b7());}(_0x292db4,function(_0x13f1fe){var _0x5aa036=_0x1ac4;return(function(){var _0x1911ba=_0x1ac4,_0x15960b=_0x13f1fe,_0x297e8a=_0x15960b[_0x1911ba(0x223)],_0x1f88f3=_0x297e8a[_0x1911ba(0x26f)],_0x18ecf7=_0x297e8a[_0x1911ba(0x38e)],_0x1cf578=_0x15960b[_0x1911ba(0x227)],_0x59d2fa=[],_0x10cc7c=_0x1cf578[_0x1911ba(0xf3)]=_0x18ecf7[_0x1911ba(0x22f)]({'_doReset':function(){this['_hash']=new _0x1f88f3['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x527302,_0x265a18){var _0x569af7=_0x1911ba;for(var _0x11522b=this['_hash'][_0x569af7(0x2f5)],_0x1d1c2e=_0x11522b[0x0],_0x569c25=_0x11522b[0x1],_0x996d00=_0x11522b[0x2],_0xd93a10=_0x11522b[0x3],_0x40226d=_0x11522b[0x4],_0xe05578=0x0;_0xe05578<0x50;_0xe05578++){if(_0xe05578<0x10)_0x59d2fa[_0xe05578]=_0x527302[_0x265a18+_0xe05578]|0x0;else{var _0x5b7e91=_0x59d2fa[_0xe05578-0x3]^_0x59d2fa[_0xe05578-0x8]^_0x59d2fa[_0xe05578-0xe]^_0x59d2fa[_0xe05578-0x10];_0x59d2fa[_0xe05578]=_0x5b7e91<<0x1|_0x5b7e91>>>0x1f;}var _0x367da3=(_0x1d1c2e<<0x5|_0x1d1c2e>>>0x1b)+_0x40226d+_0x59d2fa[_0xe05578];_0xe05578<0x14?_0x367da3+=(_0x569c25&_0x996d00|~_0x569c25&_0xd93a10)+0x5a827999:_0xe05578<0x28?_0x367da3+=(_0x569c25^_0x996d00^_0xd93a10)+0x6ed9eba1:_0xe05578<0x3c?_0x367da3+=(_0x569c25&_0x996d00|_0x569c25&_0xd93a10|_0x996d00&_0xd93a10)-0x70e44324:_0x367da3+=(_0x569c25^_0x996d00^_0xd93a10)-0x359d3e2a,_0x40226d=_0xd93a10,_0xd93a10=_0x996d00,_0x996d00=_0x569c25<<0x1e|_0x569c25>>>0x2,_0x569c25=_0x1d1c2e,_0x1d1c2e=_0x367da3;}_0x11522b[0x0]=_0x11522b[0x0]+_0x1d1c2e|0x0,_0x11522b[0x1]=_0x11522b[0x1]+_0x569c25|0x0,_0x11522b[0x2]=_0x11522b[0x2]+_0x996d00|0x0,_0x11522b[0x3]=_0x11522b[0x3]+_0xd93a10|0x0,_0x11522b[0x4]=_0x11522b[0x4]+_0x40226d|0x0;},'_doFinalize':function(){var _0x257788=_0x1911ba,_0x841fd8=this[_0x257788(0x71)],_0x50897a=_0x841fd8[_0x257788(0x2f5)],_0x21d928=this[_0x257788(0x371)]*0x8,_0x49022d=_0x841fd8[_0x257788(0x3b3)]*0x8;return _0x50897a[_0x49022d>>>0x5]|=0x80<<0x18-_0x49022d%0x20,_0x50897a[(_0x49022d+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x21d928/0x100000000),_0x50897a[(_0x49022d+0x40>>>0x9<<0x4)+0xf]=_0x21d928,_0x841fd8[_0x257788(0x3b3)]=_0x50897a['length']*0x4,this[_0x257788(0x1e3)](),this['_hash'];},'clone':function(){var _0x19ce45=_0x1911ba,_0x5c45f2=_0x18ecf7[_0x19ce45(0x170)][_0x19ce45(0x118)](this);return _0x5c45f2[_0x19ce45(0x25b)]=this[_0x19ce45(0x25b)][_0x19ce45(0x170)](),_0x5c45f2;}});_0x15960b[_0x1911ba(0xf3)]=_0x18ecf7['_createHelper'](_0x10cc7c),_0x15960b['HmacSHA1']=_0x18ecf7['_createHmacHelper'](_0x10cc7c);}()),_0x13f1fe[_0x5aa036(0xf3)];}));}(_0x4b5134)),_0x4b5134['exports'];}var _0x4f758c={'exports':{}},_0x4b4d55=_0x4f758c[_0x1b6ca5(0x17e)],_0x375340;function _0x16cd90(){var _0x3e9c51=_0x1b6ca5;return _0x375340||(_0x375340=0x1,function(_0x2f8568,_0x534af4){(function(_0x1e6e00,_0x37aec5){_0x2f8568['exports']=_0x37aec5(_0x20f9b7());}(_0x4b4d55,function(_0x2f91b6){(function(){var _0x245521=_0x1ac4,_0x32f636=_0x2f91b6,_0xad51ba=_0x32f636['lib'],_0x61f061=_0xad51ba[_0x245521(0x38c)],_0x118568=_0x32f636[_0x245521(0x37f)],_0x25786f=_0x118568[_0x245521(0x3ba)],_0x4dbc65=_0x32f636[_0x245521(0x227)];_0x4dbc65[_0x245521(0x1ad)]=_0x61f061[_0x245521(0x22f)]({'init':function(_0x43ec99,_0xbd176d){var _0x3bb778=_0x245521;_0x43ec99=this[_0x3bb778(0x3ea)]=new _0x43ec99[(_0x3bb778(0x82))](),typeof _0xbd176d=='string'&&(_0xbd176d=_0x25786f[_0x3bb778(0x9b)](_0xbd176d));var _0x2a37f5=_0x43ec99[_0x3bb778(0x3df)],_0x44d586=_0x2a37f5*0x4;_0xbd176d[_0x3bb778(0x3b3)]>_0x44d586&&(_0xbd176d=_0x43ec99[_0x3bb778(0x332)](_0xbd176d)),_0xbd176d[_0x3bb778(0x90)]();for(var _0x3c24eb=this[_0x3bb778(0x2b9)]=_0xbd176d[_0x3bb778(0x170)](),_0x280b37=this['_iKey']=_0xbd176d[_0x3bb778(0x170)](),_0x469980=_0x3c24eb['words'],_0x5e2031=_0x280b37['words'],_0x41e3c7=0x0;_0x41e3c7<_0x2a37f5;_0x41e3c7++)_0x469980[_0x41e3c7]^=0x5c5c5c5c,_0x5e2031[_0x41e3c7]^=0x36363636;_0x3c24eb[_0x3bb778(0x3b3)]=_0x280b37[_0x3bb778(0x3b3)]=_0x44d586,this['reset']();},'reset':function(){var _0x396ef6=_0x245521,_0x172779=this[_0x396ef6(0x3ea)];_0x172779[_0x396ef6(0x3a7)](),_0x172779['update'](this[_0x396ef6(0x2b6)]);},'update':function(_0x26589c){return this['_hasher']['update'](_0x26589c),this;},'finalize':function(_0x57c0e3){var _0x5d32cb=_0x245521,_0x2b72b3=this[_0x5d32cb(0x3ea)],_0x41ac52=_0x2b72b3[_0x5d32cb(0x332)](_0x57c0e3);_0x2b72b3[_0x5d32cb(0x3a7)]();var _0x584cdd=_0x2b72b3[_0x5d32cb(0x332)](this[_0x5d32cb(0x2b9)][_0x5d32cb(0x170)]()[_0x5d32cb(0x260)](_0x41ac52));return _0x584cdd;}});}());}));}(_0x4f758c)),_0x4f758c[_0x3e9c51(0x17e)];}var _0x3e513=_0x587674[_0x1b6ca5(0x17e)],_0x48d27d;function _0x2cd659(){var _0x4d17c0=_0x1b6ca5;return _0x48d27d||(_0x48d27d=0x1,function(_0x1eef6b,_0x1587ab){(function(_0x47f4fe,_0x51e1fc,_0x307738){var _0x20d891=_0x1ac4;_0x1eef6b[_0x20d891(0x17e)]=_0x51e1fc(_0x20f9b7(),_0x4757c3(),_0x16cd90());}(_0x3e513,function(_0x3ff45f){var _0x2e9eb2=_0x1ac4;return(function(){var _0x4131cb=_0x1ac4,_0x3e4d91=_0x3ff45f,_0x41ebf9=_0x3e4d91['lib'],_0x58327e=_0x41ebf9[_0x4131cb(0x38c)],_0x3c1e85=_0x41ebf9['WordArray'],_0x143826=_0x3e4d91[_0x4131cb(0x227)],_0x2305bb=_0x143826[_0x4131cb(0x229)],_0x251aca=_0x143826[_0x4131cb(0x297)]=_0x58327e[_0x4131cb(0x22f)]({'cfg':_0x58327e[_0x4131cb(0x22f)]({'keySize':0x80/0x20,'hasher':_0x2305bb,'iterations':0x1}),'init':function(_0x1590f0){var _0x291250=_0x4131cb;this[_0x291250(0x198)]=this[_0x291250(0x198)]['extend'](_0x1590f0);},'compute':function(_0xbd8421,_0x5e25e9){var _0x5ad7d0=_0x4131cb;for(var _0x54fb3e,_0x919675=this[_0x5ad7d0(0x198)],_0x54a88e=_0x919675[_0x5ad7d0(0x21a)][_0x5ad7d0(0x355)](),_0xf5babe=_0x3c1e85[_0x5ad7d0(0x355)](),_0x22e199=_0xf5babe[_0x5ad7d0(0x2f5)],_0x28abeb=_0x919675['keySize'],_0x2f8d5f=_0x919675[_0x5ad7d0(0x95)];_0x22e199[_0x5ad7d0(0x39e)]<_0x28abeb;){_0x54fb3e&&_0x54a88e[_0x5ad7d0(0x2d1)](_0x54fb3e),_0x54fb3e=_0x54a88e[_0x5ad7d0(0x2d1)](_0xbd8421)[_0x5ad7d0(0x332)](_0x5e25e9),_0x54a88e[_0x5ad7d0(0x3a7)]();for(var _0x15f2d0=0x1;_0x15f2d0<_0x2f8d5f;_0x15f2d0++)_0x54fb3e=_0x54a88e[_0x5ad7d0(0x332)](_0x54fb3e),_0x54a88e['reset']();_0xf5babe['concat'](_0x54fb3e);}return _0xf5babe['sigBytes']=_0x28abeb*0x4,_0xf5babe;}});_0x3e4d91[_0x4131cb(0x297)]=function(_0x367bdd,_0x2a2496,_0x364936){var _0x34b9e5=_0x4131cb;return _0x251aca[_0x34b9e5(0x355)](_0x364936)[_0x34b9e5(0xe9)](_0x367bdd,_0x2a2496);};}()),_0x3ff45f[_0x2e9eb2(0x297)];}));}(_0x587674)),_0x587674[_0x4d17c0(0x17e)];}var _0x480dae={'exports':{}},_0x425fd5=_0x480dae[_0x1b6ca5(0x17e)],_0x31c122;function _0x708e85(){return _0x31c122||(_0x31c122=0x1,function(_0x5a22f7,_0x5ab3b9){(function(_0x461c81,_0x333249,_0x628d1b){var _0x33c20f=_0x1ac4;_0x5a22f7[_0x33c20f(0x17e)]=_0x333249(_0x20f9b7(),_0x2cd659());}(_0x425fd5,function(_0x27e7f9){var _0x369d28=_0x1ac4;_0x27e7f9[_0x369d28(0x223)][_0x369d28(0x23f)]||function(_0x4fb8f1){var _0x5f50f5=_0x369d28,_0x1280d9=_0x27e7f9,_0x53dc95=_0x1280d9[_0x5f50f5(0x223)],_0x46f2d0=_0x53dc95[_0x5f50f5(0x38c)],_0x108923=_0x53dc95[_0x5f50f5(0x26f)],_0x1ecd44=_0x53dc95[_0x5f50f5(0x1f7)],_0x507915=_0x1280d9[_0x5f50f5(0x37f)];_0x507915[_0x5f50f5(0x3ba)];var _0x41dd80=_0x507915[_0x5f50f5(0x39f)],_0x244648=_0x1280d9[_0x5f50f5(0x227)],_0x1ff8e2=_0x244648[_0x5f50f5(0x297)],_0x2b1b10=_0x53dc95[_0x5f50f5(0x23f)]=_0x1ecd44[_0x5f50f5(0x22f)]({'cfg':_0x46f2d0[_0x5f50f5(0x22f)](),'createEncryptor':function(_0x320422,_0x14a06e){var _0x233b9f=_0x5f50f5;return this[_0x233b9f(0x355)](this[_0x233b9f(0x2b5)],_0x320422,_0x14a06e);},'createDecryptor':function(_0x10a59a,_0x192614){return this['create'](this['_DEC_XFORM_MODE'],_0x10a59a,_0x192614);},'init':function(_0x154342,_0x29010c,_0x276303){var _0x2c35cd=_0x5f50f5;this[_0x2c35cd(0x198)]=this['cfg']['extend'](_0x276303),this[_0x2c35cd(0x354)]=_0x154342,this['_key']=_0x29010c,this[_0x2c35cd(0x3a7)]();},'reset':function(){var _0x36dcb1=_0x5f50f5;_0x1ecd44[_0x36dcb1(0x3a7)][_0x36dcb1(0x118)](this),this['_doReset']();},'process':function(_0x4f3ac3){var _0x683a8e=_0x5f50f5;return this[_0x683a8e(0x30d)](_0x4f3ac3),this[_0x683a8e(0x1e3)]();},'finalize':function(_0x5c1a18){var _0x3c16ad=_0x5f50f5;_0x5c1a18&&this['_append'](_0x5c1a18);var _0xe5b9bc=this[_0x3c16ad(0x365)]();return _0xe5b9bc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x441fd5(_0x2cfac7){var _0x1cc54d=_0x1ac4;return typeof _0x2cfac7==_0x1cc54d(0x2d5)?_0x548669:_0x255342;}return function(_0x457bb3){return{'encrypt':function(_0xc4a2a2,_0x48ed11,_0x3d1c62){var _0x3d1f45=_0x1ac4;return _0x441fd5(_0x48ed11)[_0x3d1f45(0x1c9)](_0x457bb3,_0xc4a2a2,_0x48ed11,_0x3d1c62);},'decrypt':function(_0x429997,_0x1599d0,_0x1d2498){var _0x2d136a=_0x1ac4;return _0x441fd5(_0x1599d0)[_0x2d136a(0x318)](_0x457bb3,_0x429997,_0x1599d0,_0x1d2498);}};};}())});_0x53dc95['StreamCipher']=_0x2b1b10['extend']({'_doFinalize':function(){var _0x486774=_0x5f50f5,_0xe16582=this[_0x486774(0x1e3)](!0x0);return _0xe16582;},'blockSize':0x1});var _0x298ed9=_0x1280d9['mode']={},_0x57c1c2=_0x53dc95['BlockCipherMode']=_0x46f2d0[_0x5f50f5(0x22f)]({'createEncryptor':function(_0x315101,_0x523057){var _0x2b3e15=_0x5f50f5;return this[_0x2b3e15(0xb9)]['create'](_0x315101,_0x523057);},'createDecryptor':function(_0x4ad826,_0x5b7a5b){var _0x9c53b9=_0x5f50f5;return this[_0x9c53b9(0xf4)][_0x9c53b9(0x355)](_0x4ad826,_0x5b7a5b);},'init':function(_0x551387,_0xd770ee){var _0x540279=_0x5f50f5;this[_0x540279(0xbd)]=_0x551387,this[_0x540279(0x261)]=_0xd770ee;}}),_0x5e2118=_0x298ed9[_0x5f50f5(0xff)]=(function(){var _0x56c4f7=_0x5f50f5,_0x7307c=_0x57c1c2[_0x56c4f7(0x22f)]();_0x7307c[_0x56c4f7(0xb9)]=_0x7307c['extend']({'processBlock':function(_0x2cfe25,_0x2f4839){var _0x5adcef=_0x56c4f7,_0x491b41=this[_0x5adcef(0xbd)],_0x40f3ea=_0x491b41[_0x5adcef(0x3df)];_0x4103bb[_0x5adcef(0x118)](this,_0x2cfe25,_0x2f4839,_0x40f3ea),_0x491b41['encryptBlock'](_0x2cfe25,_0x2f4839),this[_0x5adcef(0x3ee)]=_0x2cfe25['slice'](_0x2f4839,_0x2f4839+_0x40f3ea);}}),_0x7307c[_0x56c4f7(0xf4)]=_0x7307c['extend']({'processBlock':function(_0x2d76d3,_0x7a3949){var _0x192322=_0x56c4f7,_0x1f6aaf=this[_0x192322(0xbd)],_0x88f3d1=_0x1f6aaf[_0x192322(0x3df)],_0xb1ead3=_0x2d76d3[_0x192322(0x1a1)](_0x7a3949,_0x7a3949+_0x88f3d1);_0x1f6aaf[_0x192322(0x190)](_0x2d76d3,_0x7a3949),_0x4103bb[_0x192322(0x118)](this,_0x2d76d3,_0x7a3949,_0x88f3d1),this['_prevBlock']=_0xb1ead3;}});function _0x4103bb(_0x140683,_0x2963c3,_0x562860){var _0x5dc2ff=_0x56c4f7,_0x4a42d9,_0x58502e=this[_0x5dc2ff(0x261)];_0x58502e?(_0x4a42d9=_0x58502e,this['_iv']=_0x4fb8f1):_0x4a42d9=this[_0x5dc2ff(0x3ee)];for(var _0x2689cf=0x0;_0x2689cf<_0x562860;_0x2689cf++)_0x140683[_0x2963c3+_0x2689cf]^=_0x4a42d9[_0x2689cf];}return _0x7307c;}()),_0x54abf5=_0x1280d9[_0x5f50f5(0x3b0)]={},_0x312756=_0x54abf5[_0x5f50f5(0x3f6)]={'pad':function(_0x1c464c,_0x1184d6){var _0x3158cd=_0x5f50f5;for(var _0x248127=_0x1184d6*0x4,_0x25fac9=_0x248127-_0x1c464c[_0x3158cd(0x3b3)]%_0x248127,_0x39def4=_0x25fac9<<0x18|_0x25fac9<<0x10|_0x25fac9<<0x8|_0x25fac9,_0x4350c8=[],_0x66f87=0x0;_0x66f87<_0x25fac9;_0x66f87+=0x4)_0x4350c8[_0x3158cd(0x13f)](_0x39def4);var _0x5557f7=_0x108923[_0x3158cd(0x355)](_0x4350c8,_0x25fac9);_0x1c464c[_0x3158cd(0x260)](_0x5557f7);},'unpad':function(_0x5a868c){var _0x108dc8=_0x5f50f5,_0x1c0c18=_0x5a868c[_0x108dc8(0x2f5)][_0x5a868c['sigBytes']-0x1>>>0x2]&0xff;_0x5a868c[_0x108dc8(0x3b3)]-=_0x1c0c18;}};_0x53dc95[_0x5f50f5(0x263)]=_0x2b1b10['extend']({'cfg':_0x2b1b10[_0x5f50f5(0x198)][_0x5f50f5(0x22f)]({'mode':_0x5e2118,'padding':_0x312756}),'reset':function(){var _0x122732=_0x5f50f5,_0x550a89;_0x2b1b10[_0x122732(0x3a7)][_0x122732(0x118)](this);var _0x1a999c=this[_0x122732(0x198)],_0x1c5feb=_0x1a999c['iv'],_0x50be92=_0x1a999c[_0x122732(0x12b)];this[_0x122732(0x354)]==this[_0x122732(0x2b5)]?_0x550a89=_0x50be92[_0x122732(0x38f)]:(_0x550a89=_0x50be92['createDecryptor'],this[_0x122732(0x140)]=0x1),this[_0x122732(0x1d3)]&&this[_0x122732(0x1d3)][_0x122732(0xfd)]==_0x550a89?this[_0x122732(0x1d3)]['init'](this,_0x1c5feb&&_0x1c5feb['words']):(this[_0x122732(0x1d3)]=_0x550a89['call'](_0x50be92,this,_0x1c5feb&&_0x1c5feb[_0x122732(0x2f5)]),this['_mode'][_0x122732(0xfd)]=_0x550a89);},'_doProcessBlock':function(_0xa7a07a,_0x3b1f54){var _0x116360=_0x5f50f5;this[_0x116360(0x1d3)][_0x116360(0xb4)](_0xa7a07a,_0x3b1f54);},'_doFinalize':function(){var _0xbd3c65=_0x5f50f5,_0x623bc9,_0x4df787=this[_0xbd3c65(0x198)][_0xbd3c65(0x293)];return this[_0xbd3c65(0x354)]==this[_0xbd3c65(0x2b5)]?(_0x4df787[_0xbd3c65(0x3b0)](this['_data'],this['blockSize']),_0x623bc9=this[_0xbd3c65(0x1e3)](!0x0)):(_0x623bc9=this[_0xbd3c65(0x1e3)](!0x0),_0x4df787[_0xbd3c65(0x217)](_0x623bc9)),_0x623bc9;},'blockSize':0x80/0x20});var _0x4d6417=_0x53dc95['CipherParams']=_0x46f2d0[_0x5f50f5(0x22f)]({'init':function(_0x11b708){var _0x3f6f39=_0x5f50f5;this[_0x3f6f39(0x323)](_0x11b708);},'toString':function(_0x35825b){var _0x2ca3e5=_0x5f50f5;return(_0x35825b||this[_0x2ca3e5(0x3ae)])['stringify'](this);}}),_0x4f7e10=_0x1280d9['format']={},_0x2fda93=_0x4f7e10['OpenSSL']={'stringify':function(_0x4a34d4){var _0x2da540=_0x5f50f5,_0x5cb5fc,_0x14c3c6=_0x4a34d4[_0x2da540(0x1cf)],_0x459c67=_0x4a34d4[_0x2da540(0x155)];return _0x459c67?_0x5cb5fc=_0x108923[_0x2da540(0x355)]([0x53616c74,0x65645f5f])[_0x2da540(0x260)](_0x459c67)[_0x2da540(0x260)](_0x14c3c6):_0x5cb5fc=_0x14c3c6,_0x5cb5fc[_0x2da540(0x1ac)](_0x41dd80);},'parse':function(_0x2d1be5){var _0x2d3e8a=_0x5f50f5,_0x46872a,_0x3b95d5=_0x41dd80[_0x2d3e8a(0x9b)](_0x2d1be5),_0x2a2dee=_0x3b95d5['words'];return _0x2a2dee[0x0]==0x53616c74&&_0x2a2dee[0x1]==0x65645f5f&&(_0x46872a=_0x108923[_0x2d3e8a(0x355)](_0x2a2dee['slice'](0x2,0x4)),_0x2a2dee[_0x2d3e8a(0x3c3)](0x0,0x4),_0x3b95d5['sigBytes']-=0x10),_0x4d6417[_0x2d3e8a(0x355)]({'ciphertext':_0x3b95d5,'salt':_0x46872a});}},_0x255342=_0x53dc95['SerializableCipher']=_0x46f2d0[_0x5f50f5(0x22f)]({'cfg':_0x46f2d0[_0x5f50f5(0x22f)]({'format':_0x2fda93}),'encrypt':function(_0x49641d,_0x52ecc3,_0xd4b995,_0x3935a0){var _0x4c27c4=_0x5f50f5;_0x3935a0=this[_0x4c27c4(0x198)][_0x4c27c4(0x22f)](_0x3935a0);var _0x1b5734=_0x49641d[_0x4c27c4(0x38f)](_0xd4b995,_0x3935a0),_0x596d1f=_0x1b5734[_0x4c27c4(0x332)](_0x52ecc3),_0x41af4b=_0x1b5734[_0x4c27c4(0x198)];return _0x4d6417[_0x4c27c4(0x355)]({'ciphertext':_0x596d1f,'key':_0xd4b995,'iv':_0x41af4b['iv'],'algorithm':_0x49641d,'mode':_0x41af4b[_0x4c27c4(0x12b)],'padding':_0x41af4b[_0x4c27c4(0x293)],'blockSize':_0x49641d[_0x4c27c4(0x3df)],'formatter':_0x3935a0['format']});},'decrypt':function(_0x28d458,_0x2732ea,_0x37cae5,_0x367f75){var _0x446fa3=_0x5f50f5;_0x367f75=this[_0x446fa3(0x198)][_0x446fa3(0x22f)](_0x367f75),_0x2732ea=this[_0x446fa3(0x164)](_0x2732ea,_0x367f75[_0x446fa3(0x9a)]);var _0x145605=_0x28d458[_0x446fa3(0x143)](_0x37cae5,_0x367f75)[_0x446fa3(0x332)](_0x2732ea[_0x446fa3(0x1cf)]);return _0x145605;},'_parse':function(_0x111446,_0x598f89){var _0x43595a=_0x5f50f5;return typeof _0x111446==_0x43595a(0x2d5)?_0x598f89[_0x43595a(0x9b)](_0x111446,this):_0x111446;}}),_0xddbd46=_0x1280d9[_0x5f50f5(0xda)]={},_0x132631=_0xddbd46['OpenSSL']={'execute':function(_0x550526,_0x20717a,_0x26ee0a,_0x4c9197,_0x3903d4){var _0xb1c53=_0x5f50f5;if(_0x4c9197||(_0x4c9197=_0x108923[_0xb1c53(0x131)](0x40/0x8)),_0x3903d4)var _0x19c536=_0x1ff8e2[_0xb1c53(0x355)]({'keySize':_0x20717a+_0x26ee0a,'hasher':_0x3903d4})[_0xb1c53(0xe9)](_0x550526,_0x4c9197);else var _0x19c536=_0x1ff8e2[_0xb1c53(0x355)]({'keySize':_0x20717a+_0x26ee0a})[_0xb1c53(0xe9)](_0x550526,_0x4c9197);var _0x572605=_0x108923[_0xb1c53(0x355)](_0x19c536[_0xb1c53(0x2f5)]['slice'](_0x20717a),_0x26ee0a*0x4);return _0x19c536[_0xb1c53(0x3b3)]=_0x20717a*0x4,_0x4d6417[_0xb1c53(0x355)]({'key':_0x19c536,'iv':_0x572605,'salt':_0x4c9197});}},_0x548669=_0x53dc95['PasswordBasedCipher']=_0x255342[_0x5f50f5(0x22f)]({'cfg':_0x255342[_0x5f50f5(0x198)][_0x5f50f5(0x22f)]({'kdf':_0x132631}),'encrypt':function(_0x154ad9,_0x2a55e5,_0x2e3887,_0x2f847f){var _0x40cc38=_0x5f50f5;_0x2f847f=this[_0x40cc38(0x198)][_0x40cc38(0x22f)](_0x2f847f);var _0xcda618=_0x2f847f[_0x40cc38(0xda)][_0x40cc38(0x277)](_0x2e3887,_0x154ad9['keySize'],_0x154ad9[_0x40cc38(0x210)],_0x2f847f['salt'],_0x2f847f[_0x40cc38(0x21a)]);_0x2f847f['iv']=_0xcda618['iv'];var _0x5f05f4=_0x255342[_0x40cc38(0x1c9)][_0x40cc38(0x118)](this,_0x154ad9,_0x2a55e5,_0xcda618['key'],_0x2f847f);return _0x5f05f4[_0x40cc38(0x323)](_0xcda618),_0x5f05f4;},'decrypt':function(_0x283b7e,_0x500a96,_0x59389f,_0x4ec0ca){var _0x562e12=_0x5f50f5;_0x4ec0ca=this[_0x562e12(0x198)][_0x562e12(0x22f)](_0x4ec0ca),_0x500a96=this['_parse'](_0x500a96,_0x4ec0ca[_0x562e12(0x9a)]);var _0x592a35=_0x4ec0ca[_0x562e12(0xda)]['execute'](_0x59389f,_0x283b7e[_0x562e12(0x3eb)],_0x283b7e[_0x562e12(0x210)],_0x500a96[_0x562e12(0x155)],_0x4ec0ca[_0x562e12(0x21a)]);_0x4ec0ca['iv']=_0x592a35['iv'];var _0x46cc4e=_0x255342[_0x562e12(0x318)]['call'](this,_0x283b7e,_0x500a96,_0x592a35[_0x562e12(0x22a)],_0x4ec0ca);return _0x46cc4e;}});}();}));}(_0x480dae)),_0x480dae['exports'];}var _0x9d82ef=_0x29c350[_0x1b6ca5(0x17e)],_0x15b0eb;function _0x28fe95(){var _0x330be1=_0x1b6ca5;return _0x15b0eb||(_0x15b0eb=0x1,function(_0x289c1f,_0xfda357){(function(_0x30bd78,_0x86cde6,_0xbd81fe){_0x289c1f['exports']=_0x86cde6(_0x20f9b7(),_0x29f71f(),_0x1855fc(),_0x2cd659(),_0x708e85());}(_0x9d82ef,function(_0x186d54){var _0x2f54da=_0x1ac4;return(function(){var _0x52df1d=_0x1ac4,_0x5e2700=_0x186d54,_0x513c00=_0x5e2700['lib'],_0x5abdf8=_0x513c00[_0x52df1d(0x263)],_0xb9d5e4=_0x5e2700['algo'],_0x1f54cf=[],_0xca9d31=[],_0x46ea10=[],_0x1093be=[],_0x2b2cd7=[],_0x1c93a8=[],_0x4a9479=[],_0x2d1ac1=[],_0x971b97=[],_0x589020=[];(function(){for(var _0x341ecb=[],_0x1a0915=0x0;_0x1a0915<0x100;_0x1a0915++)_0x1a0915<0x80?_0x341ecb[_0x1a0915]=_0x1a0915<<0x1:_0x341ecb[_0x1a0915]=_0x1a0915<<0x1^0x11b;for(var _0x46a31f=0x0,_0xfc8ee3=0x0,_0x1a0915=0x0;_0x1a0915<0x100;_0x1a0915++){var _0x4cc6af=_0xfc8ee3^_0xfc8ee3<<0x1^_0xfc8ee3<<0x2^_0xfc8ee3<<0x3^_0xfc8ee3<<0x4;_0x4cc6af=_0x4cc6af>>>0x8^_0x4cc6af&0xff^0x63,_0x1f54cf[_0x46a31f]=_0x4cc6af,_0xca9d31[_0x4cc6af]=_0x46a31f;var _0x435274=_0x341ecb[_0x46a31f],_0x5111d3=_0x341ecb[_0x435274],_0x3e109b=_0x341ecb[_0x5111d3],_0x2ca87f=_0x341ecb[_0x4cc6af]*0x101^_0x4cc6af*0x1010100;_0x46ea10[_0x46a31f]=_0x2ca87f<<0x18|_0x2ca87f>>>0x8,_0x1093be[_0x46a31f]=_0x2ca87f<<0x10|_0x2ca87f>>>0x10,_0x2b2cd7[_0x46a31f]=_0x2ca87f<<0x8|_0x2ca87f>>>0x18,_0x1c93a8[_0x46a31f]=_0x2ca87f;var _0x2ca87f=_0x3e109b*0x1010101^_0x5111d3*0x10001^_0x435274*0x101^_0x46a31f*0x1010100;_0x4a9479[_0x4cc6af]=_0x2ca87f<<0x18|_0x2ca87f>>>0x8,_0x2d1ac1[_0x4cc6af]=_0x2ca87f<<0x10|_0x2ca87f>>>0x10,_0x971b97[_0x4cc6af]=_0x2ca87f<<0x8|_0x2ca87f>>>0x18,_0x589020[_0x4cc6af]=_0x2ca87f,_0x46a31f?(_0x46a31f=_0x435274^_0x341ecb[_0x341ecb[_0x341ecb[_0x3e109b^_0x435274]]],_0xfc8ee3^=_0x341ecb[_0x341ecb[_0xfc8ee3]]):_0x46a31f=_0xfc8ee3=0x1;}}());var _0x29ed40=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x42b0e3=_0xb9d5e4[_0x52df1d(0x26c)]=_0x5abdf8['extend']({'_doReset':function(){var _0x58b5b9=_0x52df1d,_0xece958;if(!(this[_0x58b5b9(0x287)]&&this['_keyPriorReset']===this[_0x58b5b9(0x375)])){for(var _0x14c6e3=this[_0x58b5b9(0x1c4)]=this[_0x58b5b9(0x375)],_0x315638=_0x14c6e3['words'],_0x5cc88d=_0x14c6e3[_0x58b5b9(0x3b3)]/0x4,_0x2c2445=this[_0x58b5b9(0x287)]=_0x5cc88d+0x6,_0x4efb85=(_0x2c2445+0x1)*0x4,_0x2836c0=this[_0x58b5b9(0xeb)]=[],_0x4ebcb8=0x0;_0x4ebcb8<_0x4efb85;_0x4ebcb8++)_0x4ebcb8<_0x5cc88d?_0x2836c0[_0x4ebcb8]=_0x315638[_0x4ebcb8]:(_0xece958=_0x2836c0[_0x4ebcb8-0x1],_0x4ebcb8%_0x5cc88d?_0x5cc88d>0x6&&_0x4ebcb8%_0x5cc88d==0x4&&(_0xece958=_0x1f54cf[_0xece958>>>0x18]<<0x18|_0x1f54cf[_0xece958>>>0x10&0xff]<<0x10|_0x1f54cf[_0xece958>>>0x8&0xff]<<0x8|_0x1f54cf[_0xece958&0xff]):(_0xece958=_0xece958<<0x8|_0xece958>>>0x18,_0xece958=_0x1f54cf[_0xece958>>>0x18]<<0x18|_0x1f54cf[_0xece958>>>0x10&0xff]<<0x10|_0x1f54cf[_0xece958>>>0x8&0xff]<<0x8|_0x1f54cf[_0xece958&0xff],_0xece958^=_0x29ed40[_0x4ebcb8/_0x5cc88d|0x0]<<0x18),_0x2836c0[_0x4ebcb8]=_0x2836c0[_0x4ebcb8-_0x5cc88d]^_0xece958);for(var _0x452eaa=this[_0x58b5b9(0x338)]=[],_0x3ef0b3=0x0;_0x3ef0b3<_0x4efb85;_0x3ef0b3++){var _0x4ebcb8=_0x4efb85-_0x3ef0b3;if(_0x3ef0b3%0x4)var _0xece958=_0x2836c0[_0x4ebcb8];else var _0xece958=_0x2836c0[_0x4ebcb8-0x4];_0x3ef0b3<0x4||_0x4ebcb8<=0x4?_0x452eaa[_0x3ef0b3]=_0xece958:_0x452eaa[_0x3ef0b3]=_0x4a9479[_0x1f54cf[_0xece958>>>0x18]]^_0x2d1ac1[_0x1f54cf[_0xece958>>>0x10&0xff]]^_0x971b97[_0x1f54cf[_0xece958>>>0x8&0xff]]^_0x589020[_0x1f54cf[_0xece958&0xff]];}}},'encryptBlock':function(_0x40314b,_0x222e8a){var _0x283743=_0x52df1d;this[_0x283743(0x3ab)](_0x40314b,_0x222e8a,this[_0x283743(0xeb)],_0x46ea10,_0x1093be,_0x2b2cd7,_0x1c93a8,_0x1f54cf);},'decryptBlock':function(_0x49d432,_0x41a09d){var _0x59d376=_0x52df1d,_0x4a00d6=_0x49d432[_0x41a09d+0x1];_0x49d432[_0x41a09d+0x1]=_0x49d432[_0x41a09d+0x3],_0x49d432[_0x41a09d+0x3]=_0x4a00d6,this[_0x59d376(0x3ab)](_0x49d432,_0x41a09d,this[_0x59d376(0x338)],_0x4a9479,_0x2d1ac1,_0x971b97,_0x589020,_0xca9d31);var _0x4a00d6=_0x49d432[_0x41a09d+0x1];_0x49d432[_0x41a09d+0x1]=_0x49d432[_0x41a09d+0x3],_0x49d432[_0x41a09d+0x3]=_0x4a00d6;},'_doCryptBlock':function(_0x18aaab,_0x184f18,_0x138799,_0x5e539a,_0x54421a,_0xfb9cab,_0xb9a134,_0x59416b){for(var _0x1d5a8b=this['_nRounds'],_0x133ca4=_0x18aaab[_0x184f18]^_0x138799[0x0],_0x303d69=_0x18aaab[_0x184f18+0x1]^_0x138799[0x1],_0x1f0612=_0x18aaab[_0x184f18+0x2]^_0x138799[0x2],_0x3bf19c=_0x18aaab[_0x184f18+0x3]^_0x138799[0x3],_0xdafb95=0x4,_0x176ff6=0x1;_0x176ff6<_0x1d5a8b;_0x176ff6++){var _0x7a1ec=_0x5e539a[_0x133ca4>>>0x18]^_0x54421a[_0x303d69>>>0x10&0xff]^_0xfb9cab[_0x1f0612>>>0x8&0xff]^_0xb9a134[_0x3bf19c&0xff]^_0x138799[_0xdafb95++],_0x2fc504=_0x5e539a[_0x303d69>>>0x18]^_0x54421a[_0x1f0612>>>0x10&0xff]^_0xfb9cab[_0x3bf19c>>>0x8&0xff]^_0xb9a134[_0x133ca4&0xff]^_0x138799[_0xdafb95++],_0x1c68d4=_0x5e539a[_0x1f0612>>>0x18]^_0x54421a[_0x3bf19c>>>0x10&0xff]^_0xfb9cab[_0x133ca4>>>0x8&0xff]^_0xb9a134[_0x303d69&0xff]^_0x138799[_0xdafb95++],_0x3c9695=_0x5e539a[_0x3bf19c>>>0x18]^_0x54421a[_0x133ca4>>>0x10&0xff]^_0xfb9cab[_0x303d69>>>0x8&0xff]^_0xb9a134[_0x1f0612&0xff]^_0x138799[_0xdafb95++];_0x133ca4=_0x7a1ec,_0x303d69=_0x2fc504,_0x1f0612=_0x1c68d4,_0x3bf19c=_0x3c9695;}var _0x7a1ec=(_0x59416b[_0x133ca4>>>0x18]<<0x18|_0x59416b[_0x303d69>>>0x10&0xff]<<0x10|_0x59416b[_0x1f0612>>>0x8&0xff]<<0x8|_0x59416b[_0x3bf19c&0xff])^_0x138799[_0xdafb95++],_0x2fc504=(_0x59416b[_0x303d69>>>0x18]<<0x18|_0x59416b[_0x1f0612>>>0x10&0xff]<<0x10|_0x59416b[_0x3bf19c>>>0x8&0xff]<<0x8|_0x59416b[_0x133ca4&0xff])^_0x138799[_0xdafb95++],_0x1c68d4=(_0x59416b[_0x1f0612>>>0x18]<<0x18|_0x59416b[_0x3bf19c>>>0x10&0xff]<<0x10|_0x59416b[_0x133ca4>>>0x8&0xff]<<0x8|_0x59416b[_0x303d69&0xff])^_0x138799[_0xdafb95++],_0x3c9695=(_0x59416b[_0x3bf19c>>>0x18]<<0x18|_0x59416b[_0x133ca4>>>0x10&0xff]<<0x10|_0x59416b[_0x303d69>>>0x8&0xff]<<0x8|_0x59416b[_0x1f0612&0xff])^_0x138799[_0xdafb95++];_0x18aaab[_0x184f18]=_0x7a1ec,_0x18aaab[_0x184f18+0x1]=_0x2fc504,_0x18aaab[_0x184f18+0x2]=_0x1c68d4,_0x18aaab[_0x184f18+0x3]=_0x3c9695;},'keySize':0x100/0x20});_0x5e2700['AES']=_0x5abdf8[_0x52df1d(0x1d0)](_0x42b0e3);}()),_0x186d54[_0x2f54da(0x26c)];}));}(_0x29c350)),_0x29c350[_0x330be1(0x17e)];}var _0xec352b=_0x28fe95();const _0x28c803=_0x208e50(_0xec352b);var _0x409a2d=_0x29f71f();const _0x3c4f46=_0x208e50(_0x409a2d);var _0x360a32={'exports':{}},_0x302b39=_0x360a32['exports'],_0x1f0721;function _0x40543a(){return _0x1f0721||(_0x1f0721=0x1,function(_0x105823,_0x368fd6){(function(_0x3c72f9,_0xef3294){_0x105823['exports']=_0xef3294(_0x20f9b7());}(_0x302b39,function(_0x1184bb){var _0x362b7e=_0x1ac4;return _0x1184bb[_0x362b7e(0x37f)][_0x362b7e(0x3ba)];}));}(_0x360a32)),_0x360a32['exports'];}var _0x5c10f4=_0x40543a();const _0x4f7af9=_0x208e50(_0x5c10f4);var _0x367a6e={'exports':{}},_0x4f4381=_0x367a6e[_0x1b6ca5(0x17e)],_0x3b754e;function _0x4553eb(){var _0x5498f5=_0x1b6ca5;return _0x3b754e||(_0x3b754e=0x1,function(_0x204d00,_0x3ce0c4){(function(_0xbdf04,_0x2f3e79){var _0x3dfd97=_0x1ac4;_0x204d00[_0x3dfd97(0x17e)]=_0x2f3e79(_0x20f9b7());}(_0x4f4381,function(_0x13f470){var _0x400b11=_0x1ac4;return(function(){var _0x2043a6=_0x1ac4;if(typeof ArrayBuffer=='function'){var _0xbcc975=_0x13f470,_0x5b232e=_0xbcc975[_0x2043a6(0x223)],_0x5d1d44=_0x5b232e['WordArray'],_0x17ce60=_0x5d1d44[_0x2043a6(0x82)],_0xce80cd=_0x5d1d44[_0x2043a6(0x82)]=function(_0x3e4a95){var _0x10cae2=_0x2043a6;if(_0x3e4a95 instanceof ArrayBuffer&&(_0x3e4a95=new Uint8Array(_0x3e4a95)),(_0x3e4a95 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3e4a95 instanceof Uint8ClampedArray||_0x3e4a95 instanceof Int16Array||_0x3e4a95 instanceof Uint16Array||_0x3e4a95 instanceof Int32Array||_0x3e4a95 instanceof Uint32Array||_0x3e4a95 instanceof Float32Array||_0x3e4a95 instanceof Float64Array)&&(_0x3e4a95=new Uint8Array(_0x3e4a95['buffer'],_0x3e4a95['byteOffset'],_0x3e4a95['byteLength'])),_0x3e4a95 instanceof Uint8Array){for(var _0x387c66=_0x3e4a95[_0x10cae2(0x176)],_0x4b0fdc=[],_0x611170=0x0;_0x611170<_0x387c66;_0x611170++)_0x4b0fdc[_0x611170>>>0x2]|=_0x3e4a95[_0x611170]<<0x18-_0x611170%0x4*0x8;_0x17ce60[_0x10cae2(0x118)](this,_0x4b0fdc,_0x387c66);}else _0x17ce60['apply'](this,arguments);};_0xce80cd['prototype']=_0x5d1d44;}}()),_0x13f470['lib'][_0x400b11(0x26f)];}));}(_0x367a6e)),_0x367a6e[_0x5498f5(0x17e)];}var _0xefc745=_0x4553eb();const _0x25d0dc=_0x208e50(_0xefc745);var _0x2f177a={'exports':{}},_0x5da06e=_0x2f177a[_0x1b6ca5(0x17e)],_0x56ec82;function _0x1193aa(){var _0x212a08=_0x1b6ca5;return _0x56ec82||(_0x56ec82=0x1,function(_0x32e5fc,_0x463159){(function(_0x13f2de,_0x22a2da,_0x3a0837){var _0xccf61c=_0x1ac4;_0x32e5fc[_0xccf61c(0x17e)]=_0x22a2da(_0x20f9b7(),_0x708e85());}(_0x5da06e,function(_0x4a0232){var _0x523757=_0x1ac4;return _0x4a0232[_0x523757(0x3b0)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4a0232[_0x523757(0x3b0)][_0x523757(0x376)];}));}(_0x2f177a)),_0x2f177a[_0x212a08(0x17e)];}var _0x45953a=_0x1193aa();const _0x1fb257=_0x208e50(_0x45953a);function _0x54669e(_0x502c0d,_0xaa6a3){var _0x24451c=_0x1b6ca5;const _0x72fc1=_0xaa6a3-_0x502c0d['length']%_0xaa6a3,_0x5c9a25=String[_0x24451c(0x1ee)](_0x72fc1)[_0x24451c(0x3f2)](_0x72fc1);return _0x502c0d+_0x5c9a25;}function _0x583eed(_0x102cc1,_0xc3283c){var _0x198c76=_0x1b6ca5;const _0x395a9e=_0x25d0dc['random'](0x10),_0x78002a=_0x54669e(_0x102cc1,0x10),_0x2008bd=_0x28c803[_0x198c76(0x1c9)](_0x4f7af9['parse'](_0x78002a),_0x3c4f46[_0x198c76(0x9b)](_0xc3283c),{'iv':_0x395a9e,'padding':_0x1fb257});return _0x395a9e['concat'](_0x2008bd[_0x198c76(0x1cf)])[_0x198c76(0x1ac)](_0x3c4f46);}function _0x4b2d4f(){var _0x319eb2=_0x1b6ca5;const _0xdb98c2=_0x49e56d[_0x319eb2(0x1d8)]()['__Key__'];if(_0xdb98c2){const _0x539a45={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x319eb2(0x2e7)]};return _0x583eed(JSON[_0x319eb2(0x144)](_0x539a45),_0xdb98c2);}}var _0x1ce3ae=Object[_0x1b6ca5(0x1d2)],_0x21b435=(_0x26d3d6,_0x1c397e,_0x44130b,_0x215d0d)=>{var _0x10577f=_0x1b6ca5;for(var _0xad69a8=_0x215d0d>0x1?void 0x0:_0x215d0d?_0x1ce3ae(_0x1c397e,_0x44130b):_0x1c397e,_0x2da08b=_0x26d3d6[_0x10577f(0x39e)]-0x1,_0x17d596;_0x2da08b>=0x0;_0x2da08b--)(_0x17d596=_0x26d3d6[_0x2da08b])&&(_0xad69a8=_0x17d596(_0xad69a8)||_0xad69a8);return _0xad69a8;},_0x4047a5=(_0x31552f,_0x57e63e)=>(_0x1e02a5,_0x49e06a)=>_0x57e63e(_0x1e02a5,_0x49e06a,_0x31552f);let _0x13c997=class{constructor(_0x3a03ae){var _0x133e71=_0x1b6ca5;this[_0x133e71(0x2be)]=_0x3a03ae,this[_0x133e71(0x192)]();}[_0x1b6ca5(0x192)](){var _0x57ca10=_0x1b6ca5;this[_0x57ca10(0x2be)][_0x57ca10(0xce)]({'interceptor':(_0xd66e38,_0x307405)=>{var _0x29bc05=_0x57ca10;const _0x1cdcd7=_0xd66e38['headers'],_0x335ed9=_0x4b2d4f();return _0x335ed9&&_0x1cdcd7[_0x29bc05(0x26d)](_0x29bc05(0x2aa),_0x335ed9),_0x307405(_0xd66e38);}});}};_0x13c997=_0x21b435([_0x4047a5(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)]))],_0x13c997);var _0x23de5f=Object[_0x1b6ca5(0x1d2)],_0x5ea687=(_0xb1b20,_0x3379cd,_0x92b3f8,_0x207780)=>{var _0x39c8c7=_0x1b6ca5;for(var _0x839237=_0x207780>0x1?void 0x0:_0x207780?_0x23de5f(_0x3379cd,_0x92b3f8):_0x3379cd,_0x47bd4b=_0xb1b20[_0x39c8c7(0x39e)]-0x1,_0x36649f;_0x47bd4b>=0x0;_0x47bd4b--)(_0x36649f=_0xb1b20[_0x47bd4b])&&(_0x839237=_0x36649f(_0x839237)||_0x839237);return _0x839237;},_0x1cda8f=(_0x1502de,_0x1c54ab)=>(_0x4bd051,_0x13665d)=>_0x1c54ab(_0x4bd051,_0x13665d,_0x1502de);_0x35847c[_0x1b6ca5(0x3d5)]=class extends _0x765608[_0x1b6ca5(0x3ac)]{constructor(_0x15c453,_0x31877c,_0x19c6e3){var _0x4bfb78=_0x1b6ca5;super(),_0x1bac5f(this,'_unitInfo$',new _0x2f43df['BehaviorSubject'](null)),_0x1bac5f(this,_0x4bfb78(0x2cc),this[_0x4bfb78(0x14d)][_0x4bfb78(0x99)]()),(this[_0x4bfb78(0x9f)]=_0x15c453,this[_0x4bfb78(0x358)]=_0x31877c,this[_0x4bfb78(0x294)]=_0x19c6e3);}async[_0x1b6ca5(0x197)](_0x5d6886,_0x2839e2,_0x480d8e){var _0x577fdd=_0x1b6ca5;this[_0x577fdd(0x14d)][_0x577fdd(0x1a2)]({'unitId':_0x5d6886,'type':_0x2839e2});let _0x195f72=null;switch(_0x2839e2){case _0x56d87c[_0x577fdd(0x398)]:{_0x195f72=await this[_0x577fdd(0x358)][_0x577fdd(0x1a8)](_0x5d6886,_0x480d8e);break;}case _0x56d87c[_0x577fdd(0x31a)]:{_0x195f72=await this[_0x577fdd(0x358)]['loadDoc'](_0x5d6886,_0x480d8e);break;}default:{this[_0x577fdd(0x9f)][_0x577fdd(0x35f)](_0x577fdd(0x388),_0x577fdd(0x285));break;}}return _0x195f72;}async[_0x1b6ca5(0x11a)](_0x51bb1f,_0x3588fe,_0x2d52c0){var _0x3c5bf9=_0x1b6ca5,_0xdc9abc;this[_0x3c5bf9(0x14d)][_0x3c5bf9(0x1a2)]({'unitId':_0x51bb1f,'type':_0x3588fe,'subUnitId':_0x2d52c0});let _0x57717a=0x0;const _0x203801=await((_0xdc9abc=this[_0x3c5bf9(0x294)])==null?void 0x0:_0xdc9abc[_0x3c5bf9(0x1eb)](_0x51bb1f));return _0x203801&&(_0x203801[_0x3c5bf9(0x1fc)]||_0x203801['mutations'][_0x3c5bf9(0x39e)]!==0x0)&&(_0x57717a=_0x203801['rev']),_0x57717a===0x0&&this[_0x3c5bf9(0x9f)]['debug'](_0x3c5bf9(0x388),_0x3c5bf9(0x249)),this[_0x3c5bf9(0x197)](_0x51bb1f,_0x3588fe,_0x57717a);}},_0x35847c[_0x1b6ca5(0x3d5)]=_0x5ea687([_0x1cda8f(0x0,_0x765608[_0x1b6ca5(0x3f9)]),_0x1cda8f(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x32c4ad['SnapshotService'])),_0x1cda8f(0x2,_0x765608[_0x1b6ca5(0x136)](_0x9f10c))],_0x35847c[_0x1b6ca5(0x3d5)]);var _0x3e400b=Object[_0x1b6ca5(0x1d2)],_0x113cff=(_0x468aac,_0x5408de,_0x5492df,_0x311bc2)=>{var _0x194052=_0x1b6ca5;for(var _0x528681=_0x311bc2>0x1?void 0x0:_0x311bc2?_0x3e400b(_0x5408de,_0x5492df):_0x5408de,_0x68fe20=_0x468aac[_0x194052(0x39e)]-0x1,_0x4e9d8d;_0x68fe20>=0x0;_0x68fe20--)(_0x4e9d8d=_0x468aac[_0x68fe20])&&(_0x528681=_0x4e9d8d(_0x528681)||_0x528681);return _0x528681;},_0x13254b=(_0x53821b,_0x46ecdb)=>(_0x20c8c9,_0x31afb2)=>_0x46ecdb(_0x20c8c9,_0x31afb2,_0x53821b);const _0x41d53c=[_0x1b6ca5(0x1b8),_0x1b6ca5(0x98),_0x1b6ca5(0x116),_0x1b6ca5(0x1c3),_0x1b6ca5(0x1ec)],_0x2dfb72=0x5*0x400*0x400,_0x175b10=_0x1b6ca5(0x240),_0x284c40=_0x1b6ca5(0x1c6);_0x35847c[_0x1b6ca5(0x120)]=class{constructor(_0x2b084f,_0x1aec52,_0x508041){var _0x5afec9=_0x1b6ca5;_0x1bac5f(this,_0x5afec9(0x27f),0x0),_0x1bac5f(this,'_change$',new _0x2f43df[(_0x5afec9(0x216))]()),_0x1bac5f(this,'change$',this[_0x5afec9(0x3ca)]),_0x1bac5f(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x2b084f,this[_0x5afec9(0xd8)]=_0x1aec52,this[_0x5afec9(0xe7)]=_0x508041);}[_0x1b6ca5(0x382)](_0x4f5c05){var _0x180f1f=_0x1b6ca5;this['_waitCount']=_0x4f5c05,this[_0x180f1f(0x3ca)][_0x180f1f(0x1a2)](_0x4f5c05);}[_0x1b6ca5(0x102)](_0x415884,_0x1b1dbb){var _0x3bfb26=_0x1b6ca5;if(_0x1b1dbb===_0x18920f[_0x3bfb26(0x3f8)][_0x3bfb26(0x2d6)]){const _0x1a7278=new Image();return _0x1a7278[_0x3bfb26(0x166)]=_0x415884,_0x1a7278;}return this[_0x3bfb26(0x12d)][_0x3bfb26(0x2b3)](_0x415884);}[_0x1b6ca5(0x1a7)](_0x14d117,_0x59614f,_0x4bcd83){var _0x5b30b1=_0x1b6ca5;_0x59614f===_0x18920f[_0x5b30b1(0x3f8)][_0x5b30b1(0x2d6)]||_0x4bcd83==null||this[_0x5b30b1(0x12d)]['set'](_0x14d117,_0x4bcd83);}async[_0x1b6ca5(0x394)](_0xf48373){var _0x259a66=_0x1b6ca5;try{const _0x3e6b50=this[_0x259a66(0x255)](this[_0x259a66(0x1cb)](),''+_0xf48373),_0x277386=(await this[_0x259a66(0x2be)][_0x259a66(0x2b3)](_0x3e6b50))[_0x259a66(0x35a)];if(_0x277386[_0x259a66(0x35f)]&&_0x277386[_0x259a66(0x35f)]['code']===_0x3f5711['OK']){const _0x50fd9c=new URL(_0x277386[_0x259a66(0x367)],this['_getDownloadEndpointURL']())[_0x259a66(0x1ac)]();return Promise['resolve'](_0x50fd9c);}return Promise[_0x259a66(0x1c2)](_0x277386[_0x259a66(0x35f)]);}catch(_0x5544ce){return Promise[_0x259a66(0x1c2)](_0x5544ce);}}async[_0x1b6ca5(0x208)](_0x437ba4){var _0x429dc1=_0x1b6ca5;let _0x4b3202='';if(!_0x41d53c[_0x429dc1(0xea)](_0x437ba4[_0x429dc1(0xbb)]))return this[_0x429dc1(0x196)](),Promise[_0x429dc1(0x1c2)](new Error(_0x18920f[_0x429dc1(0xa3)]['ERROR_IMAGE_TYPE']));if(_0x437ba4[_0x429dc1(0x336)]>_0x2dfb72)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x18920f['ImageUploadStatusType'][_0x429dc1(0x3e7)]));try{const _0x10f50e=new FormData();_0x10f50e[_0x429dc1(0x28e)](_0x429dc1(0xaf),_0x437ba4);const _0x2819ef=this[_0x429dc1(0xe7)][_0x429dc1(0x353)](),_0x5173ae=_0x2819ef==null?void 0x0:_0x2819ef['getUnitId']();if(!_0x5173ae)throw new Error(_0x429dc1(0x2f3));const _0x53e00e=this[_0x429dc1(0x12c)]()+_0x429dc1(0xd6)+_0x437ba4[_0x429dc1(0x336)][_0x429dc1(0x1ac)]()+'&source='+_0x54ca25[_0x429dc1(0x2bc)]+'&assign='+encodeURIComponent(_0x5173ae),_0x441141={'body':_0x10f50e},_0x29f48a=(await this[_0x429dc1(0x2be)][_0x429dc1(0x268)](_0x53e00e,_0x441141))[_0x429dc1(0x35a)];if(typeof _0x29f48a['FileId']!=_0x429dc1(0x2d5))return this[_0x429dc1(0x196)](),Promise['reject'](new Error(_0x18920f[_0x429dc1(0xa3)][_0x429dc1(0x397)]));_0x4b3202=_0x29f48a['FileId'];}catch{return this[_0x429dc1(0x196)](),Promise[_0x429dc1(0x1c2)](new Error(_0x18920f['ImageUploadStatusType'][_0x429dc1(0x397)]));}return new Promise((_0x5bbdf2,_0x2360ae)=>{var _0x22f904=_0x429dc1;const _0x19fc88=new FileReader();_0x19fc88[_0x22f904(0x315)](_0x437ba4),_0x19fc88['onload']=_0x1a43fa=>{var _0x78d1eb=_0x22f904,_0xf71c18;const _0x1f6071=(_0xf71c18=_0x1a43fa[_0x78d1eb(0x19b)])==null?void 0x0:_0xf71c18[_0x78d1eb(0x27b)];if(_0x1f6071==null){this[_0x78d1eb(0x196)](),_0x2360ae(new Error(_0x18920f[_0x78d1eb(0xa3)][_0x78d1eb(0x397)]));return;}const _0x1a1695=_0x765608[_0x78d1eb(0x199)](0x6);_0x5bbdf2({'imageId':_0x1a1695,'imageSourceType':_0x18920f[_0x78d1eb(0x3f8)]['UUID'],'source':_0x4b3202,'base64Cache':_0x1f6071,'status':_0x18920f[_0x78d1eb(0xa3)][_0x78d1eb(0xd0)]}),this['_decreaseWaiting']();};});}[_0x1b6ca5(0x12c)](){var _0x48919=_0x1b6ca5,_0x50a23d;const _0x5f0e5e=this[_0x48919(0xd8)][_0x48919(0x1ef)](_0x32b669);return(_0x50a23d=_0x5f0e5e==null?void 0x0:_0x5f0e5e[_0x48919(0x258)])!=null?_0x50a23d:_0x175b10;}['_getSignURL'](){var _0x3657ea=_0x1b6ca5,_0x50e8db;const _0x5e5f69=this[_0x3657ea(0xd8)][_0x3657ea(0x1ef)](_0x32b669);return(_0x50e8db=_0x5e5f69==null?void 0x0:_0x5e5f69[_0x3657ea(0x2b0)])!=null?_0x50e8db:_0x284c40;}['_getDownloadEndpointURL'](){var _0x56720f=_0x1b6ca5,_0x18c89b;const _0x445853=this[_0x56720f(0xd8)][_0x56720f(0x1ef)](_0x32b669);return(_0x18c89b=_0x445853==null?void 0x0:_0x445853[_0x56720f(0x10c)])!=null?_0x18c89b:location[_0x56720f(0x73)];}[_0x1b6ca5(0x255)](_0x1ff8f8,_0x36097b){var _0x41cc74=_0x1b6ca5;return _0x1ff8f8[_0x41cc74(0x87)]('{fileID}',_0x36097b);}['_decreaseWaiting'](){var _0x16e499=_0x1b6ca5;this[_0x16e499(0x27f)]-=0x1,this[_0x16e499(0x3ca)][_0x16e499(0x1a2)](this['_waitCount']);}},_0x35847c[_0x1b6ca5(0x120)]=_0x113cff([_0x13254b(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)])),_0x13254b(0x1,_0x765608[_0x1b6ca5(0x1af)]),_0x13254b(0x2,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x175)]))],_0x35847c[_0x1b6ca5(0x120)]);var _0x437acd=Object[_0x1b6ca5(0x1d2)],_0x58bffb=(_0x26e18e,_0x62e56e,_0x4bad39,_0x3fb214)=>{var _0x4b80bc=_0x1b6ca5;for(var _0x30f55d=_0x3fb214>0x1?void 0x0:_0x3fb214?_0x437acd(_0x62e56e,_0x4bad39):_0x62e56e,_0x3ac4b4=_0x26e18e[_0x4b80bc(0x39e)]-0x1,_0x47e8e5;_0x3ac4b4>=0x0;_0x3ac4b4--)(_0x47e8e5=_0x26e18e[_0x3ac4b4])&&(_0x30f55d=_0x47e8e5(_0x30f55d)||_0x30f55d);return _0x30f55d;},_0x142bd6=(_0x485510,_0x46b89e)=>(_0x434ad5,_0x549b02)=>_0x46b89e(_0x434ad5,_0x549b02,_0x485510);const _0x2bc6b6=_0x1b6ca5(0x36a);_0x35847c[_0x1b6ca5(0x33d)]=class{constructor(_0x580e3f,_0x1d0d31){var _0x429fdd=_0x1b6ca5;this[_0x429fdd(0xd8)]=_0x580e3f,this['_HTTPService']=_0x1d0d31;}[_0x1b6ca5(0x127)](){var _0x1bdd87=_0x1b6ca5,_0x5948a3;const _0x88b02b=this[_0x1bdd87(0xd8)]['getConfig'](_0x32b669);return(_0x5948a3=_0x88b02b==null?void 0x0:_0x88b02b[_0x1bdd87(0x270)])!=null?_0x5948a3:_0x2bc6b6;}async[_0x1b6ca5(0x7b)](_0x33e90e){var _0x53d2cf=_0x1b6ca5;const _0x391f59=this[_0x53d2cf(0x127)]()+_0x53d2cf(0x21c);return{'list':[{'title':_0x53d2cf(0x27a),'mentions':(await this[_0x53d2cf(0x24c)][_0x53d2cf(0x2b3)](_0x391f59,{'params':{'objectID':_0x33e90e['unitId'],'unitID':_0x33e90e[_0x53d2cf(0x272)]}}))['body'][_0x53d2cf(0x3aa)][_0x53d2cf(0x10d)](_0x3baef0=>({'objectId':_0x3baef0['id'],'name':_0x3baef0[_0x53d2cf(0x13a)]['name'],'metadata':{'icon':_0x3baef0[_0x53d2cf(0x13a)][_0x53d2cf(0x266)]},'label':_0x3baef0['subject']['name'],'objectType':_0x765608[_0x53d2cf(0x2a6)]['PERSON']})),'metadata':{},'type':_0x765608[_0x53d2cf(0x2a6)][_0x53d2cf(0x1da)]}]};}},_0x35847c[_0x1b6ca5(0x33d)]=_0x58bffb([_0x142bd6(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608['IConfigService'])),_0x142bd6(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)]))],_0x35847c[_0x1b6ca5(0x33d)]);var _0x2f80d1=Object[_0x1b6ca5(0x1d2)],_0x3bf16f=(_0x5b054a,_0x25e29a,_0x235977,_0x62116b)=>{for(var _0x8a20a1=_0x62116b>0x1?void 0x0:_0x62116b?_0x2f80d1(_0x25e29a,_0x235977):_0x25e29a,_0x3e02e4=_0x5b054a['length']-0x1,_0x7ed4a6;_0x3e02e4>=0x0;_0x3e02e4--)(_0x7ed4a6=_0x5b054a[_0x3e02e4])&&(_0x8a20a1=_0x7ed4a6(_0x8a20a1)||_0x8a20a1);return _0x8a20a1;},_0x5c4af6=(_0x5800f6,_0x540c03)=>(_0x541b86,_0x324c78)=>_0x540c03(_0x541b86,_0x324c78,_0x5800f6);let _0x14028a=class extends _0x765608[_0x1b6ca5(0x3ac)]{constructor(_0x38f8ec,_0x390246,_0x364b48,_0x3ff551,_0xc8b4ae){var _0x26e4e9=_0x1b6ca5;super(),this[_0x26e4e9(0x172)]=_0x38f8ec,this[_0x26e4e9(0xe7)]=_0x390246,this[_0x26e4e9(0x1d5)]=_0x364b48,this[_0x26e4e9(0xba)]=_0x3ff551,this[_0x26e4e9(0x322)]=_0xc8b4ae,this[_0x26e4e9(0xe1)](),this['_initCloseConn']();}[_0x1b6ca5(0x20c)](){var _0x28457d=_0x1b6ca5;const _0x1bbc0b=async _0xd661b9=>{var _0x539cdb=_0x1ac4;(await this[_0x539cdb(0xba)]['requireSession'](_0xd661b9))[_0x539cdb(0x34d)][_0x539cdb(0x39a)](_0x3039f7[_0x539cdb(0x153)](_0x4e8d09=>_0x4e8d09['eventID']===_0x32c4ad[_0x539cdb(0x28d)][_0x539cdb(0x356)]),_0x3039f7[_0x539cdb(0x18c)](this['dispose$']))[_0x539cdb(0xf0)](_0x38b2ec=>{var _0x5553f4=_0x539cdb;const _0x201101=_0x38b2ec,{reason:_0xb96908}=_0x201101['data'];this['_collaborationUIEventService'][_0x5553f4(0x106)]({'id':_0x4d6e97[_0x5553f4(0x162)],'data':_0xb96908}),this[_0x5553f4(0x1d5)]['updatePermissionPoint'](new _0x8c00ce[(_0x5553f4(0x228))](_0xd661b9)['id'],!0x1),this[_0x5553f4(0xba)][_0x5553f4(0x253)](_0xd661b9);});};_0x2f43df['merge'](this[_0x28457d(0xe7)]['getTypeOfUnitAdded$'](_0x765608[_0x28457d(0x173)][_0x28457d(0x398)]),this[_0x28457d(0xe7)][_0x28457d(0x2ac)](_0x765608[_0x28457d(0x173)][_0x28457d(0x31a)]))[_0x28457d(0x39a)](_0x3039f7[_0x28457d(0x10d)](_0xce3d15=>_0xce3d15[_0x28457d(0xdc)]()),_0x3039f7[_0x28457d(0x153)](_0x48a7f6=>!_0x765608[_0x28457d(0x1b3)](_0x48a7f6)),_0x3039f7[_0x28457d(0x18c)](this[_0x28457d(0x283)]))[_0x28457d(0xf0)](_0x10b2fd=>{_0x1bbc0b(_0x10b2fd);});}['_initUnitPermissionChange'](){var _0x3a727=_0x1b6ca5;const _0xc5d7d=async _0xa9ffd3=>{var _0x17ba62=_0x1ac4;const _0x71e4f9=await this[_0x17ba62(0xba)]['requireSession'](_0xa9ffd3),_0x351531=this['_injector'][_0x17ba62(0x2b3)](_0x8c00ce[_0x17ba62(0x1ed)]);_0x71e4f9[_0x17ba62(0x34d)][_0x17ba62(0x39a)](_0x3039f7[_0x17ba62(0x153)](_0x20d4ef=>_0x20d4ef[_0x17ba62(0x239)]===_0x32c4ad[_0x17ba62(0x28d)][_0x17ba62(0x29b)]),_0x3039f7[_0x17ba62(0x18c)](this[_0x17ba62(0x283)]))['subscribe'](_0x14d6c0=>{var _0xcbdc3=_0x17ba62;const _0x2c3a97=_0x14d6c0,{objectId:_0x2af3ee}=_0x2c3a97['data'];_0x2af3ee===_0xa9ffd3?_0x351531[_0xcbdc3(0x1d4)](_0xa9ffd3):_0x351531[_0xcbdc3(0x8e)](_0xa9ffd3,_0x2af3ee);});};_0x2f43df[_0x3a727(0x308)](this[_0x3a727(0xe7)][_0x3a727(0x2ac)](_0x765608['UniverInstanceType'][_0x3a727(0x398)]))[_0x3a727(0x39a)](_0x3039f7[_0x3a727(0x10d)](_0x413a8c=>_0x413a8c[_0x3a727(0xdc)]()),_0x3039f7['filter'](_0x28d47c=>!_0x765608[_0x3a727(0x1b3)](_0x28d47c)),_0x3039f7['takeUntil'](this[_0x3a727(0x283)]))['subscribe'](_0x530fa0=>{_0xc5d7d(_0x530fa0);});}};_0x14028a=_0x3bf16f([_0x5c4af6(0x0,_0x765608[_0x1b6ca5(0xe8)](_0x765608[_0x1b6ca5(0x329)])),_0x5c4af6(0x1,_0x765608[_0x1b6ca5(0x175)]),_0x5c4af6(0x2,_0x765608[_0x1b6ca5(0x112)]),_0x5c4af6(0x3,_0x765608[_0x1b6ca5(0xe8)](_0x35847c[_0x1b6ca5(0x97)])),_0x5c4af6(0x4,_0x765608[_0x1b6ca5(0xe8)](_0x4474bb))],_0x14028a);var _0x3fa282=Object[_0x1b6ca5(0x1d2)],_0x36f40a=(_0xa9ebfb,_0x43e7b7,_0x29adbe,_0x331702)=>{for(var _0x2b241a=_0x331702>0x1?void 0x0:_0x331702?_0x3fa282(_0x43e7b7,_0x29adbe):_0x43e7b7,_0x158b6a=_0xa9ebfb['length']-0x1,_0x2cf2d5;_0x158b6a>=0x0;_0x158b6a--)(_0x2cf2d5=_0xa9ebfb[_0x158b6a])&&(_0x2b241a=_0x2cf2d5(_0x2b241a)||_0x2b241a);return _0x2b241a;},_0x454e73=(_0x3b794d,_0x493687)=>(_0x38e77f,_0x5db998)=>_0x493687(_0x38e77f,_0x5db998,_0x3b794d);_0x35847c[_0x1b6ca5(0x312)]=class{constructor(_0xe6d162,_0x4191ad){var _0x1948fd=_0x1b6ca5;this[_0x1948fd(0xd8)]=_0xe6d162,this[_0x1948fd(0x2be)]=_0x4191ad;}async[_0x1b6ca5(0xc3)](_0x18af4a,_0x88f56d){var _0x4ba068=_0x1b6ca5,_0x218a51;const {unitID:_0x88c2b7,type:_0x44a26a,revision:_0x2de613=0x0}=_0x88f56d,_0x5e2258=this[_0x4ba068(0xe4)]()+'/'+_0x44a26a+'/unit/'+_0x88c2b7+_0x4ba068(0x2e1)+_0x2de613,_0x273e9e=(await this['_httpService']['get'](_0x5e2258))[_0x4ba068(0x35a)],_0x4666eb=(_0x218a51=_0x273e9e['snapshot'])==null?void 0x0:_0x218a51['workbook'];if(_0x4666eb){const _0x1d606c=_0x4666eb==null?void 0x0:_0x4666eb[_0x4ba068(0x178)],_0xbbf8d4=_0x32c4ad[_0x4ba068(0x26b)][_0x4ba068(0x27e)](_0x32c4ad[_0x4ba068(0x186)](_0x1d606c));_0x4666eb[_0x4ba068(0x178)]=_0xbbf8d4,Object[_0x4ba068(0x2fe)](_0x4666eb[_0x4ba068(0x3d6)])['forEach'](([,_0x13345a])=>{var _0x2ec3ab=_0x4ba068;const _0x1a62e1=_0x13345a[_0x2ec3ab(0x178)],_0x578709=_0x32c4ad[_0x2ec3ab(0x26b)][_0x2ec3ab(0x27e)](_0x32c4ad['b64DecodeUnicode'](_0x1a62e1));_0x13345a[_0x2ec3ab(0x178)]=_0x578709;});}return _0x273e9e;}async[_0x1b6ca5(0x156)](_0x130b53,_0x55f038){var _0x1d8cf3=_0x1b6ca5;const {unitID:_0x5ebe6e,type:_0x421623,blockID:_0xcafb57}=_0x55f038,_0x587d85=this[_0x1d8cf3(0x19c)]()+'/'+_0x421623+_0x1d8cf3(0x1ba)+_0x5ebe6e+_0x1d8cf3(0xcb)+_0xcafb57;return(await this[_0x1d8cf3(0x2be)][_0x1d8cf3(0x2b3)](_0x587d85))['body'];}async['getDeserializedSheetBlock'](_0x3dc2b5,_0x299fcb){var _0x23c20e=_0x1b6ca5;const {unitID:_0x1b9b32,type:_0x46a7f5,blockID:_0x681f65}=_0x299fcb,_0x309181=this[_0x23c20e(0x19c)]()+_0x23c20e(0xcb)+_0x46a7f5+_0x23c20e(0x1ba)+_0x1b9b32+_0x23c20e(0xcb)+_0x681f65;return(await this[_0x23c20e(0x2be)][_0x23c20e(0x2b3)](_0x309181))[_0x23c20e(0x35a)];}async[_0x1b6ca5(0x78)](_0x2540aa,_0x4e1f6d){var _0x5f552a=_0x1b6ca5;const {unitID:_0x340a86,type:_0x387530,from:_0x334658,to:_0x2095b4}=_0x4e1f6d,_0x217aa7=this[_0x5f552a(0x19c)]()+'/'+_0x387530+'/unit/'+_0x340a86+_0x5f552a(0x15d)+_0x334658+_0x5f552a(0x142)+_0x2095b4;return(await this[_0x5f552a(0x2be)]['get'](_0x217aa7))[_0x5f552a(0x35a)];}['getSnapshotAPIPath'](){var _0x4a4312=_0x1b6ca5,_0x10256e;return(_0x10256e=this[_0x4a4312(0xd8)][_0x4a4312(0x1ef)](_0x1ade4e))!=null?_0x10256e:this[_0x4a4312(0x19c)]();}[_0x1b6ca5(0x19c)](){var _0x840563=_0x1b6ca5,_0x1f2883;const _0x5b7c53=this[_0x840563(0xd8)][_0x840563(0x1ef)](_0x32b669);return(_0x1f2883=_0x5b7c53==null?void 0x0:_0x5b7c53[_0x840563(0x3cd)])!=null?_0x1f2883:_0xdbb69b;}async[_0x1b6ca5(0x148)](_0x431e54,_0x546814){var _0x30f4d1=_0x1b6ca5;const _0x10542='/universer-api/snapshot/'+_0x546814['type']+'/unit/'+_0x546814[_0x30f4d1(0xfe)]+_0x30f4d1(0x105);return(await this[_0x30f4d1(0x2be)][_0x30f4d1(0x2b3)](_0x10542,{'params':{'resourceId':JSON[_0x30f4d1(0x144)](_0x546814['resourceIDs'])}}))['body'];}[_0x1b6ca5(0x204)](){var _0x24caf4=_0x1b6ca5;throw new Error(_0x24caf4(0x2fd));}[_0x1b6ca5(0x37e)](){var _0x1fa276=_0x1b6ca5;throw new Error(_0x1fa276(0x2fd));}[_0x1b6ca5(0x3ce)](){var _0x319ee1=_0x1b6ca5;throw new Error(_0x319ee1(0x2fd));}[_0x1b6ca5(0x16b)](){var _0x38d088=_0x1b6ca5;throw new Error(_0x38d088(0x2fd));}[_0x1b6ca5(0x3fa)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1b6ca5(0x225)](){var _0xab738b=_0x1b6ca5;throw new Error(_0xab738b(0x2fd));}},_0x35847c['SnapshotServerOverHTTPService']=_0x36f40a([_0x454e73(0x0,_0x765608[_0x1b6ca5(0x1af)]),_0x454e73(0x1,_0x765608[_0x1b6ca5(0xe8)](_0x102f6e[_0x1b6ca5(0x330)]))],_0x35847c[_0x1b6ca5(0x312)]);var _0x5112f2=Object[_0x1b6ca5(0x1d2)],_0x3b3ed6=(_0x438cda,_0x11a598,_0xb27b46,_0x257957)=>{var _0x269fd1=_0x1b6ca5;for(var _0x32f18c=_0x257957>0x1?void 0x0:_0x257957?_0x5112f2(_0x11a598,_0xb27b46):_0x11a598,_0x5ccf51=_0x438cda[_0x269fd1(0x39e)]-0x1,_0x7cc7ea;_0x5ccf51>=0x0;_0x5ccf51--)(_0x7cc7ea=_0x438cda[_0x5ccf51])&&(_0x32f18c=_0x7cc7ea(_0x32f18c)||_0x32f18c);return _0x32f18c;},_0x119d17=(_0x11d796,_0x475fc4)=>(_0x3855ba,_0x4b6498)=>_0x475fc4(_0x3855ba,_0x4b6498,_0x11d796);_0x35847c['CollaborativeUndoRedoService']=class extends _0x765608[_0x1b6ca5(0x1fb)]{constructor(_0x2c3b08,_0x2f2f60,_0x1ee41f,_0x5e5bdb,_0x42cf4d){var _0xfbe868=_0x1b6ca5;super(_0x2c3b08,_0x2f2f60,_0x1ee41f),this[_0xfbe868(0x226)]=_0x5e5bdb,this['_logService']=_0x42cf4d;}['transformUndoRedo'](_0x4b8ada,_0x91c42a){var _0x514fec=_0x1b6ca5;const _0x3a5b01=this[_0x514fec(0x2d9)](_0x4b8ada);if(_0x3a5b01)try{const _0x2acd78=this[_0x514fec(0x24f)](_0x3a5b01,_0x91c42a);this[_0x514fec(0x146)](_0x4b8ada,_0x2acd78);}catch(_0x1338a4){this[_0x514fec(0x9f)][_0x514fec(0x35f)](_0x514fec(0x1f5),_0x1338a4),this['_clearUndo'](_0x4b8ada);}const _0x5b435b=this['_getRedoStack'](_0x4b8ada);if(_0x5b435b)try{const _0x4cb6d1=this[_0x514fec(0x24f)](_0x5b435b,_0x91c42a);this['_substituteRedoStack'](_0x4b8ada,_0x4cb6d1);}catch(_0x11e19c){this[_0x514fec(0x9f)][_0x514fec(0x35f)](_0x11e19c),this[_0x514fec(0x2ca)](_0x4b8ada);}}[_0x1b6ca5(0x30a)](_0x462d20){var _0x319114=_0x1b6ca5;const _0xcc7cfb=this[_0x319114(0x2d9)](_0x462d20);_0xcc7cfb&&(_0xcc7cfb[_0x319114(0x39e)]=0x0,this[_0x319114(0x39d)]());}[_0x1b6ca5(0x2ca)](_0x426728){var _0x5edbf4=_0x1b6ca5;const _0x2e74ed=this['_getRedoStack'](_0x426728);_0x2e74ed&&(_0x2e74ed[_0x5edbf4(0x39e)]=0x0,this['_updateStatus']());}[_0x1b6ca5(0x146)](_0x56fa23,_0x292386){var _0x5a9c18=_0x1b6ca5;this['_undoStacks'][_0x5a9c18(0x26d)](_0x56fa23,_0x292386),this[_0x5a9c18(0x39d)]();}[_0x1b6ca5(0x32c)](_0x1f220a,_0x37bb70){this['_redoStacks']['set'](_0x1f220a,_0x37bb70),this['_updateStatus']();}[_0x1b6ca5(0x24f)](_0x1a5278,_0x17b1cc){var _0x36f1d2=_0x1b6ca5;const _0x131d4c=[];let _0x21e770=_0x17b1cc,_0x4a1adf=_0x17b1cc;for(let _0x392f2b=_0x1a5278['length']-0x1;_0x392f2b>=0x0;_0x392f2b--){const {unitID:_0x56209d,undoMutations:_0x11cc40,redoMutations:_0x6c16e1}=_0x1a5278[_0x392f2b],_0x4b198d=this['_transformService']['transformMutationsWithChangeset'](_0x21e770,_0x11cc40),_0x59c4ec=this[_0x36f1d2(0x226)][_0x36f1d2(0x291)](_0x4a1adf,_0x6c16e1);if(_0x32c4ad['isTransformMutationsWithChangesetFailure'](_0x4b198d)||_0x32c4ad[_0x36f1d2(0x2d7)](_0x59c4ec)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x36f1d2(0x8d),_0x4b198d,_0x59c4ec);break;}_0x21e770=_0x4b198d[_0x36f1d2(0x147)],_0x4a1adf=_0x59c4ec[_0x36f1d2(0x147)],_0x131d4c[_0x36f1d2(0x13f)]({'unitID':_0x56209d,'undoMutations':_0x4b198d[_0x36f1d2(0x1b7)],'redoMutations':_0x59c4ec['m2Prime']});}return _0x131d4c[_0x36f1d2(0x1f3)]();}},_0x35847c['CollaborativeUndoRedoService']=_0x3b3ed6([_0x119d17(0x0,_0x765608[_0x1b6ca5(0x175)]),_0x119d17(0x1,_0x765608[_0x1b6ca5(0x386)]),_0x119d17(0x2,_0x765608[_0x1b6ca5(0x2e5)]),_0x119d17(0x3,_0x32c4ad[_0x1b6ca5(0x152)]),_0x119d17(0x4,_0x765608[_0x1b6ca5(0x3f9)])],_0x35847c[_0x1b6ca5(0xd3)]);var _0x9ac0e8=Object[_0x1b6ca5(0x335)],_0x448025=Object[_0x1b6ca5(0x1d2)],_0x3f9f36=(_0xd78a8c,_0x5ee595,_0xd0c970)=>_0x5ee595 in _0xd78a8c?_0x9ac0e8(_0xd78a8c,_0x5ee595,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd0c970}):_0xd78a8c[_0x5ee595]=_0xd0c970,_0x5ae503=(_0x2e9c97,_0x5d8d6a,_0xe525ab,_0x37344d)=>{var _0x38dd56=_0x1b6ca5;for(var _0x35fc6b=_0x37344d>0x1?void 0x0:_0x37344d?_0x448025(_0x5d8d6a,_0xe525ab):_0x5d8d6a,_0x4e40e4=_0x2e9c97[_0x38dd56(0x39e)]-0x1,_0x44df6f;_0x4e40e4>=0x0;_0x4e40e4--)(_0x44df6f=_0x2e9c97[_0x4e40e4])&&(_0x35fc6b=_0x44df6f(_0x35fc6b)||_0x35fc6b);return _0x35fc6b;},_0x2bd820=(_0x58fb1e,_0x301b80)=>(_0x2d2a54,_0x1b2b1a)=>_0x301b80(_0x2d2a54,_0x1b2b1a,_0x58fb1e),_0x1ea5ab=(_0x2936b9,_0x55bd64,_0x1098ae)=>_0x3f9f36(_0x2936b9,_0x55bd64+'',_0x1098ae);const _0x5690bc=_0x1b6ca5(0x138);_0x35847c[_0x1b6ca5(0x372)]=class extends _0x765608[_0x1b6ca5(0x2a2)]{constructor(_0x2f0802,_0xf795e9,_0xc72818,_0x285f0c){var _0x10436c=_0x1b6ca5;super(),_0x1bac5f(this,_0x10436c(0x1ab)),(this['_logService']=_0xf795e9,this[_0x10436c(0x172)]=_0xc72818,this[_0x10436c(0xd8)]=_0x285f0c);const {..._0x555383}=_0x765608[_0x10436c(0x308)]({},_0x5a1779,_0x2f0802);if(!_0x555383[_0x10436c(0x1d6)])throw new Error(_0x10436c(0x339));this[_0x10436c(0x1ab)]=_0x555383,this[_0x10436c(0xd8)]['setConfig'](_0x32b669,_0x555383);}['onStarting'](){var _0x55f19e=_0x1b6ca5;this[_0x55f19e(0xc2)](),this['_initDependencies']();}['_registerDependencies'](){var _0x1f150d=_0x1b6ca5,_0x223675,_0x4e2d23;this[_0x1f150d(0x172)]['has'](_0x765608['IUndoRedoService'])&&this[_0x1f150d(0x9f)]['error'](_0x1f150d(0x36b),_0x1f150d(0x218));const _0x1a4a8f=_0x765608[_0x1f150d(0xab)]([[_0x765608[_0x1f150d(0x77)],{'useClass':_0x35847c[_0x1f150d(0xd3)]}],[_0x35847c[_0x1f150d(0x97)]],[_0x35847c['MemberService']],[_0x35847c['SheetTransformSelectionsService']],[_0x3e75fa],[_0x13c997],[_0x1442e0],[_0x14028a],[_0x4474bb],[_0x35847c[_0x1f150d(0x3d5)]],[_0x1d154d,{'useClass':this[_0x1f150d(0x1ab)][_0x1f150d(0x1d6)]}],[_0x32c4ad[_0x1f150d(0x2a7)],{'useClass':_0x35847c[_0x1f150d(0x312)]}],[_0x765608[_0x1f150d(0x2d8)],{'useClass':_0x35847c['AuthzIoHttpService']}],[_0x18920f[_0x1f150d(0xee)],{'useClass':_0x35847c[_0x1f150d(0x120)]}],[_0x765608['IMentionIOService'],{'useClass':_0x35847c[_0x1f150d(0x33d)]}],[_0x35847c[_0x1f150d(0x236)]],[_0x287d89]],(_0x223675=this[_0x1f150d(0x1ab)])==null?void 0x0:_0x223675[_0x1f150d(0x1e2)]);if(!((_0x4e2d23=this['_config'])!=null&&_0x4e2d23[_0x1f150d(0x360)])){const _0x41a703=_0x1a4a8f[_0x1f150d(0x18a)](([_0x703f3b])=>_0x703f3b===_0x2aceed);_0x41a703!==-0x1&&_0x1a4a8f[_0x1f150d(0x3c3)](_0x41a703,0x1);}_0x765608['registerDependencies'](this['_injector'],_0x1a4a8f);}[_0x1b6ca5(0x2ad)](){var _0x42a1fb=_0x1b6ca5,_0x4b7972,_0x5a09b1,_0x56fd0f;this[_0x42a1fb(0x172)]['get'](_0x102f6e['HTTPService'])[_0x42a1fb(0xce)]({'priority':0x14,'interceptor':_0x102f6e[_0x42a1fb(0x2db)]({'maxParallel':0x6})}),(_0x4b7972=this[_0x42a1fb(0x1ab)])!=null&&_0x4b7972[_0x42a1fb(0x2c2)]||(_0x5a09b1=this[_0x42a1fb(0x172)][_0x42a1fb(0x2b3)](_0x9f10c,_0x765608[_0x42a1fb(0x251)]['OPTIONAL']))==null||_0x5a09b1[_0x42a1fb(0x34a)](),(_0x56fd0f=this['_config'])!=null&&_0x56fd0f[_0x42a1fb(0x333)]&&_0x765608[_0x42a1fb(0x348)](this[_0x42a1fb(0x172)],[[_0x3e75fa]]),_0x765608[_0x42a1fb(0x348)](this['_injector'],[[_0x13c997],[_0x35847c[_0x42a1fb(0x236)]],[_0x14028a]]);}},_0x1ea5ab(_0x35847c[_0x1b6ca5(0x372)],'pluginName',_0x5690bc),_0x35847c[_0x1b6ca5(0x372)]=_0x5ae503([_0x765608['DependentOn'](_0x32c4ad[_0x1b6ca5(0x1e9)],_0x102f6e['UniverNetworkPlugin']),_0x2bd820(0x1,_0x765608[_0x1b6ca5(0x3f9)]),_0x2bd820(0x2,_0x765608['Inject'](_0x765608[_0x1b6ca5(0x329)])),_0x2bd820(0x3,_0x765608[_0x1b6ca5(0x1af)])],_0x35847c[_0x1b6ca5(0x372)]),_0x35847c[_0x1b6ca5(0x2ce)]=_0x32b669,_0x35847c[_0x1b6ca5(0x107)]=_0x528d90,_0x35847c[_0x1b6ca5(0xd2)]=_0x4d6e97,_0x35847c['CollaborationUIEventService']=_0x4474bb,_0x35847c['CommentService']=_0x1442e0,_0x35847c[_0x1b6ca5(0x222)]=_0x58068b,_0x35847c[_0x1b6ca5(0x207)]=_0x1c6e64,_0x35847c['DEFAULT_WS_SESSION_TICKET_URL']=_0x3729d7,_0x35847c[_0x1b6ca5(0x257)]=_0x391bfd,_0x35847c['HEARTBEAT_TIMEOUT_KEY']=_0x40d4d2,_0x35847c['ICollaborationSocketService']=_0x1d154d,_0x35847c[_0x1b6ca5(0xc6)]=_0x9f10c,_0x35847c['INetworkConditionService']=_0x13a6a4,_0x35847c['ISingleActiveUnitService']=_0x2aceed,_0x35847c[_0x1b6ca5(0x1b5)]=0x3e8,_0x35847c[_0x1b6ca5(0x306)]=_0x560f63,_0x35847c[_0x1b6ca5(0x1ae)]=_0x26812e,_0x35847c['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x4e97c3,_0x35847c[_0x1b6ca5(0x304)]=_0x34dd1c,_0x35847c['UnitStatus']=_0x1601ee,_0x35847c[_0x1b6ca5(0x2e0)]=_0x4123d4,_0x35847c[_0x1b6ca5(0x88)]=_0x3698d0,_0x35847c[_0x1b6ca5(0x211)]=_0x4ffe11,Object[_0x1b6ca5(0x335)](_0x35847c,Symbol[_0x1b6ca5(0x346)],{'value':_0x1b6ca5(0x179)});}));function _0x7d27(){var _0xd48df3=['not_collab','ThresholdInterceptorFactory','PSEUDO_FETCH_MISSING_RESULT','LIVESHARE_NEW_HOST','USERS_ENTER','getCurrentSelections','deserializeToCombResponse','/rev/','retryConnectingInterval','LIVESHARE_OPERATION','_clearHeartbeatTimer','IContextService','revision','hostname','_onConflict','AwaitingWithPendingState','createCollaborator','@univerjs/drawing','getWorkbookSelections','univer-pro.collaboration-client.network-condition.service','crypto','_state','IDLE','POST','_socket','unitId\x20is\x20not\x20found','_transformSelections','words','_undoRedoService','_entities','hasOwnProperty','_handler','_memberService','awaiting_with_pending','COMPRESS_MUTATION_APPLY','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','entries','textRanges','_transitionLocked','pauseCollaboration','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','actions','SessionStatus','interceptor','LOCAL_CACHE_INTERVAL_KEY','_type','merge','_createInitialStateImpl','_clearUndo','APPLY_REVISION_CONFILICT','@univerjs/sheets','_append','_shouldReportTelemetry','SheetTransformSelectionsService','INVITE_CODE_ALREADY_BOUND','_state$','SnapshotServerOverHTTPService','HttpImport','AUTHORIZE_CODE_ILLEGAL','readAsDataURL','APPLY_NON_SEQUENTIAL_REVISION','name','decrypt','fetchMiss','UNIVER_DOC','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_collaborationPaused','_clearScheduledTask','localeService','UniverProLicense','awaiting','mapDocumentTypeToUniverType','_collaborationUIEventService','mixIn','_unlockTransition','CollaborationSession','equals','updateMember','MemberService','Injector','getInterceptPoints','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_substituteRedoStack','_incrementRevisionNumber','message$','_transformStateCache','HTTPService','floor','finalize','enableAuthServer','/object','defineProperty','size','REDEMPTION_CODE_INACTIVE','_invKeySchedule','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','JOIN_ROOM_FULL','FAIL','status$','MentionIoHttpService','getActiveSheet','patch','REDEMPTION_INVALID_CODE','YUUMI_RATE_OVER_LIMIT','readyForCollab','2414986dycLwH','RECV','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','toStringTag','sendChangesetTimeout','touchDependencies','_onFetchMissResult','disableLocalCache','_socketService','UNISCRIPT_RUN','event$','onSyncEditingCollabCursor','_onRecvEvent','Error\x20on\x20receiving\x20event','executeCommand','Hex','getFocusedUnit','_xformMode','create','SHOULD_CLOSE_CONN','pending','_snapshotService','UNDEFINED','body','onCommandExecuted','HttpExport','UserProfileImg','ENTITLE_CHAT_LIMIT_EXCEED','error','enableSingleActiveInstanceLock','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','confirm','PAYMENT_CHANNEL_NOT_SUPPORT','onTransformRemoteChangesetByStateCache','_doFinalize','rxjs/operators','url','debug','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/universer-api/authz','[UniverCollaborationClientPlugin]','_commentUpdate$','_onRemoteACK','ERROR_AGAIN','OTHER_CLIENTS_EDITING','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_nDataBytes','UniverCollaborationClientPlugin','_reverseMap','c2Prime','_key','NoPadding','appendMutation','getSheetId','getUnitStatus$','reduce','userID','_resendWithTimeout','_checkMissing','updateSnapshot','enc','_sendHeartbeat','symbol','setWaitCount','operators','UNAUTHENTICATED','_queuedRemoteChangesets','ICommandService','_transformUndoredo','[DataLoaderService]','localCacheService','697185XyqpfL','_onJoinRoomEvent','Base','\x0aAfter:\x20','Hasher','createEncryptor','getCurrentRevOfUnit','conflict','onTransformSelections','reqId','getImage','COMPLETION_FINISHED','_acknowledgedAwaitingChangeset','ERROR_IMAGE','UNIVER_SHEET','RevisionService','pipe','_onUserLeave','joinRsp','_updateStatus','length','Base64','_commentService','duration','HELLO','NOT_FOUND','LIVESHARE_TERMINATE','liveShareOperation','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','reset','ConflictState','_pendingMutations','collaborators','_doCryptBlock','RxDisposable','YUUMI_UNABLE_LOAD_URL','formatter','AuthzIoHttpService','pad','_roomCreated$','open$','sigBytes','cmd','compose','getAllMembers','loginUrlKey','APPLY_PERMISSION_DENIED','JOIN','Utf8','_sessionStatus$','getValue','_networkConditionService','joinEvent','changesets','LEAVE','/object/','_retryCount','splice','@univerjs/telemetry','_scheduleCompleteTimestamp','fetch_missing','data','close$','_toggleOnline','_change$','now','_entityInit$','snapshotServerUrl','saveSheetBlock','MUTATION','msCrypto','\x20-\x20','_createInitialState','firstValueFrom','_changesetSessionId','DataLoaderService','sheets','delete','UNKNOWN_CODE','prototype','_candidateSocket','_socketMessageSubscription','PERMISSION_REJ','_onConnectionFailed','getUnitType','blockSize','INVITE_CODE_REQUIRED','unknown','NOT_COLLAB','collaboration_new_changeset','[PendingState]:\x20received\x20acknowledgement.','headers','code','ERROR_EXCEED_SIZE','USER_IS_ANONYMOUS','JOIN_ROOM_FAILED','_hasher','keySize','onStateChange','getTime','_prevBlock','UniverDrawing','CONFLICT','onTransformState','repeat','SUBMIT_CHANGESET_TIMEOUT','uuidv4','USER_NOT_FOUND','Pkcs7','selections','ImageSourceType','ILogService','copyFileMeta','_sender','onSendChangeset','toggleOnline','APPLY_DUPLICATED','_schedule','WECHAT_HAS_BEEN_BOUND','UnitSnapshot','_data','_instanceService','origin','session.room-full','HEARTBEAT','_sheetTransformSelectionsService','IUndoRedoService','fetchMissingChangesets','_singleActiveUnitService','LICENSE_MAX_UNITS_EXCEEDED','list','unsubscribe','fetchThroughInterceptors','sid','getCollabEntity','ENSURE_SNAPSHOT_EXECUTION','Failed\x20to\x20update\x20permission\x20point','init','DATA_SOURCE_TOO_LARGE','ClipsheetFragments','_startCollaboration','UniverProCollaboration','replace','getLocalCacheKey','FETCH_MISS','send','sequenceExecute','2395602OFYPvN','transformStack\x20failed!','refreshPermission','failed\x20to\x20apply\x20missed\x20changesets!','clamp','_startTelemetryCollaborationNewChangeset','default','1309923XZHpwd','unit-cache-','iterations','function','CollaborationSessionService','image/jpeg','asObservable','format','parse','[CollaborationSession]','_emitMembers','session.room-not-exists','_logService','20TPKqsb','_commandService','charAt','ImageUploadStatusType','HEARTBEAT_INTERVAL','univer-pro.collaboration-client-socket-service','session','JOIN_ROOM_PERMISSION_DENIED','[CollaborationEntity]','SetSelectionsOperation','_status$','mergeOverrideWithDependencies','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','CONNECTOR_DATA_TOO_LARGE','INVITE_CODE_HAS_BEEN_UES','file','_createSocket','dispose','EmptyMutationInfo','isPermissionRej','processBlock','_updateState','_clearCollaborationTimeoutTimer','_onUserJoin','/-/object/list','Encryptor','_collaborationSessionService','type','Undefined','_cipher','CHANGESET_REJ','_compressMutationService','_initMergeInterceptor','[PendingState]:\x20received\x20rejection.','_registerDependencies','getUnitOnRev','shouldCloseConn','_remoteChangesetQueue','ILocalCacheService','PendingState','createInstance','[SyncedState]:\x20received\x20acknowledgement.','_resendTimer','/block/','_throwTelemetryCollaborationNewChangeset','isTransformChangesetsSuccess','registerHTTPInterceptor','_sessions','SUCCUSS','parseChangesetToProtocol','CollaborationUIEventId','CollaborativeUndoRedoService','AwaitingState','catch','?size=','REDEMPTION_CODE_FULLY_REDEEMED','_configService','_tryEnsureSocket','kdf','/-/object/-/batch_allowed','getUnitId','_roomMembers','onRemoteRej','LICENSE_IMPORT_SIZE_EXCEEDED','subUnitId','_initUnitPermissionChange','responseType','DocCollaborationEntity','getSnapshotAPIPath','submit\x20changeset\x20error!','SOCKET_FAILED_RETRY','_univerInstanceService','Inject','compute','includes','_keySchedule','CollaborationEntity','ALREADY_EXISTS','IImageIoService','JSONX','subscribe','object','_applyRemoteChangeset','SHA1','Decryptor','CURRENT_STATUS_CANNOT_OPERATE','_map','_socket$','AWAITING','SheetsSelectionsService','UniverProCollaborationClient','members','_init','__creator','unitID','CBC','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getImageSourceCache','batchAllowed','setShowComponents','/resources','emitEvent','CollaborationStatus','DEFAULT_FILE_NAME','_collaborationTimeoutTimer','capture','Malformed\x20UTF-8\x20data','downloadEndpointUrl','map','randomBytes','ENTITLE_DUP_SUBSCRIPTION','transformSelections','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','IPermissionService','LOGIN_FAILED','1LUIHzD','disposeWithMe','image/jpg','UPDATE_CURSOR','call','connection\x20error','loadUnit','APPLY_REJECT','close','HmacMD5','withCredentials','_clearRetryConnectingTimer','CollaborationImageIoService','leaveEvent','_rescheduleHeartbeat','getUnit','objectType','_userManagerService','from','_getAPIPrefixPath','_sendHeartbeatTimer','@univerjs/core','_handlerCallback','mode','_getUploadFileURL','_imageSourceCache','SNAPSHOT_HAS_BEEN_REMOVED','onRemoteChangeset','focused$','random','sessionStatus$','_members','_onRemoteRejected','_event$','Optional','ENTITLE_INSUFFICIENT_QUOTA','UNIVER_COLLABORATION_CLIENT_PLUGIN','INGEST','subject','_removeRoom','listCollaborators','SheetCollaborationEntity','MSG_FOR_ERROR','push','_minBufferSize','HEARTBEAT_TIMEOUT','&to=','createDecryptor','stringify','_onLocalMutation','_substituteUndoStack','c1Prime','getResourcesRequest','complete','@univerjs-pro/collaboration','_createHandler','getMemberID','_unitInfo$','isArray','UniverDocs','_unitID','_transformRemoteChangesetByIMECache','ITransformService','filter','onlyLocal','salt','getSheetBlock','startsWith','charCodeAt','indexOf','TOO_MANY_REQUESTS','SOCKET_FAILED','AWAITING_WITH_PENDING','/fetchmissing?from=','_stopTelemetryCollaborationNewChangeset','LICENSE_DISTRO_REJECTED','LocaleService','action','CLOSE_ROOM','infoRsp','_parse','setCurrentUser','src','SNAPSHOT_URL_KEY','_waitForHeartbeatResponse','incrementRevOfUnit','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','saveChangeset','USER_NOT_INVITED_CODE','putCollaborators','createSocket','_getSendChangesetTimeout','clone','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_injector','UniverInstanceType','NO_OTHER_CLIENTS_EDITING','IUniverInstanceService','byteLength','_executeRemoteChangeset','originalMeta','Module','MergeInterceptorFactory','Latin1','_exhaustRemoteChangesetQueue','addHandlerCallback','exports','_members$','deepClone','FETCH_MISSING','toDisposable','OfflineState','commentUpdate$','581046jkIOtJ','b64DecodeUnicode','JOINING','every','SNAPSHOT_INVALID_SNAPSHOT','findIndex','session.room-permission-denied','takeUntil','[FetchMissState]','_getLoginPath','_showConflictNotification','decryptBlock','_onConnectionOpen','_initRequestHeader','_onCombEvent','__esModule','title','_decreaseWaiting','loadUnitOfRevision','cfg','generateRandomId','updateOfflineData','target','_getAPIPrefix','UNIVER_PROJECT','error$','_onMessage','UNKNOWN_CMD','slice','next','\x20to\x20','_clearLocalCache','RETRY_CONNECTING_MAX_COUNT','UniverSheets','addImageSourceCache','loadSheet','YUUMI_ALL_TABLES_IS_INVALID','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_config','toString','HMAC','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IConfigService','csAckEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','LOGIN_TOKEN_PROCESSING_FAILED','isInternalEditorID','_submitChangeset','LOCAL_CACHE_INTERVAL','_syncEditingCollabCursor','m2Prime','image/png','then','/unit/','YUUMI_NO_CUBOID_FOR_QUESTION','_doProcessBlock','save\x20fail\x20reason\x20is\x20','_telemetryInfo','min','_joinRoom','clear','reject','image/gif','_keyPriorReset','OFFLINE','/universer-api/file/{fileID}/sign-url','_getCtorByUniverType','_changesetReqId','encrypt','UNIVER_SLIDE','_getSignURL','allowed','_onOffline','INVALID_ARGUMENT','ciphertext','_createHelper','forEach','getOwnPropertyDescriptor','_mode','initWorkbookPermissionChange','_permissionService','socketService','/universer-api/uniscript','getGlobalObject','_transformRemoteChangesetByStateCache','PERSON','add','EMAIL_VERIFY_CODE_MISMATCH','\x20in\x20_schedule.','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','has','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','ENTITLE_NEED_BILLING_ADDRESS','override','_process','session.join-failed','_getCurrentRevision','_disableEditing','params','readInt32LE','UniverCollaborationPlugin','UniverCore','loadOfflineData','image/bmp','SheetPermissionInitController','fromCharCode','getConfig','CollaborationSocketService','LIVESHARE_FETCH_OPERATIONS','_toggleOffline','reverse','_onRemoteChangeset','[CollaborationUndoRedoService]','NEW_CHANGESETS','BufferedBlockAlgorithm','[CollaborationSessionService]:\x20socket\x20error','_sendingTimer','apply','LocalUndoRedoService','awaitingChangeset','SyncedState','commentUpdateEvent','csShouldRetryEvent','_fetchMissChangesets','_resendTimeout','shareReplay','telemetry\x20info\x20is\x20not\x20initialized','saveSnapshot','enableCollaboration','onRemoteAck','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','saveImage','SUBMIT_CHANGESET','objectID','BehaviorSubject','_initCloseConn','@univerjs/docs','uniscriptRunEvent','CHANGESET_ACK','ivSize','serializeCombRequest','_eventService','delay','updateCollaborator','synced','Subject','unpad','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','state','hasher','onMissingChangesets','/collaborator','RichTextEditingMutation','HTTPRequest','range','_updateLocalCache','socket\x20close','DEFAULT_COLLAB_WEB_SOCKET_URL','lib','_listenToNetworkCondition','getLatestCsReqIdBySid','_transformService','algo','WorkbookEditablePermission','MD5','key','abs','3014484TeqyQY','requireSession','ONLINE','extend','deleteCollaborator','LIVESHARE_REQUEST_HOST','parseProtocolChangeset','mutations','join','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CollaborationController','_localeService','stopTime','eventID','find','CommandType','_timeoutTimer','_retryConnectingTimer','OTHER_CLIENT_EDITING','Cipher','/universer-api/stream/file/upload','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onTransformIME','Workbook','_tryReconnect','LICENSE_EXPORT_SIZE_EXCEEDED','_transformIMECache','UniverTelemetry','state$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','removeMember','getTypeOfUnitDisposed$','_HTTPService','createIdentifier','fromCollab','_transformStack','location','Quantity','\x0aCurrent:\x20','closeSession','_lockTransition','_replaceFileID','isTransformMutationsWithChangesetSuccess','HEARTBEAT_INTERVAL_KEY','uploadFileServerUrl','USERS_LEAVE','YUUMI_CONNECTOR_URL_NOT_FOUND','_hash','substr','UserManagerService','FetchingMissState','ENTITLE_CAN_NOT_BUY_LOWER_OTP','concat','_iv','session.room-cnt-exceeds','BlockCipher','onRemoteRetry','toggleOffline','avatar','_socketReady','post','REDEMPTION_CODE_NOT_STARTED','2981464mAfEyP','textEncoder','AES','set','updatePermissionPoint','WordArray','authzUrl','onTransformRemoteChangesetByIMECache','unitId','INVALID_INVITE_CODE','take','_telemetryService','entityInit$','execute','ceil','COMPRESS_MUTATION_SEND','People','result','REDEMPTION_USER_NOT_ELIGIBLE','COMMENT_UPDATE','encode','_waitCount','put','_isPermissionRej','$super','dispose$','waitForRoom$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','MOBILE_HAS_BEEN_BOUND','_nRounds','onMissedChangesetFetched','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleCollaborationTimeoutTimer','UNRECOGNIZED','roles','CollaborationEvent','append','sessionStatus','_doCreateSocket','transformMutationsWithChangeset','baseRev','padding','_localCacheService','_snapshotServerService','memberID','EvpKDF','max','_clearTimeoutTimer','/universer-api/snapshot','UPDATE_PERMISSION_OBJ','CHANGESET_SHOULD_RETRY','[CollaborationSessionService]','CHANGESET_REVISION_CONFILICT','requestParams','listRoles','JOIN_ROOM_NOT_EXISTS','Plugin','[OfflineState]:\x20received\x20rejection.','Tools','routeKey','MentionType','ISnapshotServerService','onCommentUpdate','ReplaySubject','x-univer-host','GLOBAL_ROOMS_CNT_EXCEEDS','getTypeOfUnitAdded$','_initDependencies','amd','[OfflineState]:\x20received\x20acknowledgement.','signUrlServerUrl','?url=','/new_changes','get','collaMsg','_ENC_XFORM_MODE','_iKey','YUUMI_ASYNCIO_CANCELLED','onLocalMutation','_oKey','rxjs','_awaitingChangeset','UnitEmbedded','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_httpService','Disposable','UNIVER_UNKNOWN','startTime','enableOfflineEditing','INTERNAL_ERROR','objectActions','/universer-api/user/session-ticket','transformChangesets','reconnect','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_clearRedo','/allowed','unitInfo$','status','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getCurrentUser','_revisionService','update','resend','Univer','PERMISSION_DENIED','string','BASE64','isTransformMutationsWithChangesetFailure','IAuthzIoService','_getUndoStack'];_0x7d27=function(){return _0xd48df3;};return _0x7d27();}
3
3
 
4
4
  // @univerjs-pro/collaboration-client/facade
5
- function _0x5688(){const _0x52f5c1=['loadServerUnitOfRevision','SnapshotService','getOwnPropertyDescriptor','values','1935321SDkVEQ','getCollaborationStatus','FCollaboration','status','7326huoFuv','NOT_COLLAB','UniverProCollaborationClientFacade','MemberService','createInstance','24797HadgjX','1992mEFNTT','length','subscribeCollaborators','loadServerUnit','1229430QbnXLA','Inject','rxjs','getCollabEntity','894ShNGIf','80CHCWbk','4usiJYa','@univerjs/core/facade','getUniverSheet','_snapshotService','_univerInstanceService','FUniver','getUnitId','32885JFyyds','_handler','DataLoaderService','Module','subscribe','loadSheetAsync','@univerjs/core','loadActiveSheetAsync','pipe','CollaborationController','getCollaboration','1897599zvCwTG','@univerjs-pro/collaboration','extend','FEnum','loadActiveSheet','416017cndzQr','from','waitForRoom$','get','amd','UniverCore','CollaborationStatus','_injector','toStringTag','loadUnit','IUniverInstanceService','readyForCollab','loadSheet','object','Injector','state'];_0x5688=function(){return _0x52f5c1;};return _0x5688();}function _0x390e(_0x588e41,_0x2e34ec){const _0x568855=_0x5688();return _0x390e=function(_0x390ec4,_0x59c30b){_0x390ec4=_0x390ec4-0x19e;let _0x433fb6=_0x568855[_0x390ec4];return _0x433fb6;},_0x390e(_0x588e41,_0x2e34ec);}(function(_0x2dab35,_0x5140aa){const _0x16c93d=_0x390e,_0x2bc6d5=_0x2dab35();while(!![]){try{const _0x3ef0c1=parseInt(_0x16c93d(0x19f))/0x1+parseInt(_0x16c93d(0x1a4))/0x2+-parseInt(_0x16c93d(0x1d5))/0x3*(-parseInt(_0x16c93d(0x1aa))/0x4)+-parseInt(_0x16c93d(0x1b1))/0x5*(-parseInt(_0x16c93d(0x1a8))/0x6)+parseInt(_0x16c93d(0x1c1))/0x7+parseInt(_0x16c93d(0x1a0))/0x8*(-parseInt(_0x16c93d(0x1d9))/0x9)+parseInt(_0x16c93d(0x1a9))/0xa*(-parseInt(_0x16c93d(0x1bc))/0xb);if(_0x3ef0c1===_0x5140aa)break;else _0x2bc6d5['push'](_0x2bc6d5['shift']());}catch(_0x59cbfa){_0x2bc6d5['push'](_0x2bc6d5['shift']());}}}(_0x5688,0xb4f91),function(_0x4dc250,_0x2f2b2c){const _0x476cdc=_0x390e;typeof exports==_0x476cdc(0x1ce)&&typeof module<'u'?_0x2f2b2c(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define=='function'&&define[_0x476cdc(0x1c5)]?define(['exports','@univerjs-pro/collaboration-client',_0x476cdc(0x1ab),_0x476cdc(0x1bd),_0x476cdc(0x1b7),_0x476cdc(0x1a6)],_0x2f2b2c):(_0x4dc250=typeof globalThis<'u'?globalThis:_0x4dc250||self,_0x2f2b2c(_0x4dc250[_0x476cdc(0x1db)]={},_0x4dc250['UniverProCollaborationClient'],_0x4dc250['UniverCoreFacade'],_0x4dc250['UniverProCollaboration'],_0x4dc250[_0x476cdc(0x1c6)],_0x4dc250['rxjs']));}(this,function(_0x32153c,_0x4d07d9,_0x3db8a6,_0x20975c,_0x482714,_0x31e17){'use strict';const _0x1945d1=_0x390e;class _0xb6a509 extends _0x3db8a6['FEnum']{get[_0x1945d1(0x1c7)](){const _0x2b309f=_0x1945d1;return _0x4d07d9[_0x2b309f(0x1c7)];}}_0x3db8a6[_0x1945d1(0x1bf)][_0x1945d1(0x1be)](_0xb6a509);var _0x2c9fdf=Object[_0x1945d1(0x1d3)],_0x4eceaa=(_0x11743d,_0x3176a1,_0x4b3321,_0x347b8f)=>{const _0x41e092=_0x1945d1;for(var _0x2a77d1=_0x347b8f>0x1?void 0x0:_0x347b8f?_0x2c9fdf(_0x3176a1,_0x4b3321):_0x3176a1,_0x5a4af0=_0x11743d[_0x41e092(0x1a1)]-0x1,_0x5d4753;_0x5a4af0>=0x0;_0x5a4af0--)(_0x5d4753=_0x11743d[_0x5a4af0])&&(_0x2a77d1=_0x5d4753(_0x2a77d1)||_0x2a77d1);return _0x2a77d1;},_0x1f6a53=(_0x5962ed,_0x5c2193)=>(_0xcca587,_0x4a937d)=>_0x5c2193(_0xcca587,_0x4a937d,_0x5962ed);_0x32153c['FCollaboration']=class extends _0x3db8a6['FBase']{constructor(_0x2cec20,_0x2ebe0a,_0x312b41,_0x4febb0,_0x8d78c2){const _0x3fbf8e=_0x1945d1;super(),this[_0x3fbf8e(0x1b2)]=_0x2cec20,this[_0x3fbf8e(0x1c8)]=_0x2ebe0a,this[_0x3fbf8e(0x1ae)]=_0x312b41,this['_snapshotService']=_0x4febb0,this['_collaborationController']=_0x8d78c2;}async[_0x1945d1(0x1c0)](){return this['loadActiveSheetAsync']();}async[_0x1945d1(0x1b8)](){throw new Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async['loadSheet'](_0x1e2d77){const _0x38292c=_0x1945d1;return this[_0x38292c(0x1b6)](_0x1e2d77);}async[_0x1945d1(0x1b6)](_0x433587,_0x50ee62){const _0x2e6ad4=_0x1945d1;return await this[_0x2e6ad4(0x1ad)][_0x2e6ad4(0x1cd)](_0x433587,0x0,_0x50ee62)?(await this['_collaborationController'][_0x2e6ad4(0x1cc)](_0x433587),this[_0x2e6ad4(0x1b2)]['getUniverSheet'](_0x433587)):null;}[_0x1945d1(0x1a2)](_0x1e94d6,_0x364960){const _0x3a04eb=_0x1945d1,_0x338769=this[_0x3a04eb(0x1c8)][_0x3a04eb(0x1c4)](_0x4d07d9[_0x3a04eb(0x1dc)])[_0x3a04eb(0x1c3)](_0x1e94d6)[_0x3a04eb(0x1b9)](_0x31e17['switchMap'](_0x5d6b85=>_0x5d6b85['members$']))[_0x3a04eb(0x1b5)](_0x8bc9ec=>_0x364960(Array[_0x3a04eb(0x1c2)](_0x8bc9ec[_0x3a04eb(0x1d4)]())));return _0x482714['toDisposable'](_0x338769);}[_0x1945d1(0x1d6)](){const _0x3b9c71=_0x1945d1,_0x6a7bee=this[_0x3b9c71(0x1ae)]['getFocusedUnit']();if(!_0x6a7bee)return _0x4d07d9[_0x3b9c71(0x1c7)][_0x3b9c71(0x1da)];const _0x5c69a6=this['_collaborationController'][_0x3b9c71(0x1a7)](_0x6a7bee[_0x3b9c71(0x1b0)]());return _0x5c69a6?_0x5c69a6[_0x3b9c71(0x1d0)][_0x3b9c71(0x1d8)]:_0x4d07d9[_0x3b9c71(0x1c7)]['NOT_COLLAB'];}},_0x32153c[_0x1945d1(0x1d7)]=_0x4eceaa([_0x1f6a53(0x1,_0x482714[_0x1945d1(0x1a5)](_0x482714[_0x1945d1(0x1cf)])),_0x1f6a53(0x2,_0x482714[_0x1945d1(0x1cb)]),_0x1f6a53(0x3,_0x482714[_0x1945d1(0x1a5)](_0x20975c[_0x1945d1(0x1d2)])),_0x1f6a53(0x4,_0x482714[_0x1945d1(0x1a5)](_0x4d07d9[_0x1945d1(0x1ba)]))],_0x32153c[_0x1945d1(0x1d7)]);class _0x213aec extends _0x3db8a6[_0x1945d1(0x1af)]{[_0x1945d1(0x1bb)](){const _0x277673=_0x1945d1;return this[_0x277673(0x1c8)][_0x277673(0x19e)](_0x32153c[_0x277673(0x1d7)],{'getUniverSheet':_0x362980=>this[_0x277673(0x1ac)](_0x362980)});}[_0x1945d1(0x1a3)](_0xbb73fb,_0x10b5cc,_0x199764){const _0x1e9f03=_0x1945d1;return this[_0x1e9f03(0x1c8)]['get'](_0x4d07d9[_0x1e9f03(0x1b3)])[_0x1e9f03(0x1ca)](_0xbb73fb,_0x10b5cc,_0x199764);}[_0x1945d1(0x1d1)](_0x42fbbc,_0x282be4,_0x48bca2){const _0x4de30a=_0x1945d1;return this['_injector'][_0x4de30a(0x1c4)](_0x4d07d9['DataLoaderService'])['loadUnitOfRevision'](_0x42fbbc,_0x282be4,_0x48bca2);}}_0x3db8a6['FUniver'][_0x1945d1(0x1be)](_0x213aec),Object['defineProperty'](_0x32153c,Symbol[_0x1945d1(0x1c9)],{'value':_0x1945d1(0x1b4)});}));
5
+ function _0xcf94(_0x35f672,_0x2a9725){const _0xe6d781=_0xe6d7();return _0xcf94=function(_0xcf943,_0x6da399){_0xcf943=_0xcf943-0x1a6;let _0x59303c=_0xe6d781[_0xcf943];return _0x59303c;},_0xcf94(_0x35f672,_0x2a9725);}(function(_0x26e7d1,_0x2c5d0e){const _0x124fbc=_0xcf94,_0x5b330e=_0x26e7d1();while(!![]){try{const _0x3bbf48=parseInt(_0x124fbc(0x1c7))/0x1+-parseInt(_0x124fbc(0x1e7))/0x2*(-parseInt(_0x124fbc(0x1d9))/0x3)+parseInt(_0x124fbc(0x1ab))/0x4+parseInt(_0x124fbc(0x1d5))/0x5*(parseInt(_0x124fbc(0x1e4))/0x6)+parseInt(_0x124fbc(0x1ca))/0x7+-parseInt(_0x124fbc(0x1a7))/0x8*(-parseInt(_0x124fbc(0x1be))/0x9)+-parseInt(_0x124fbc(0x1b2))/0xa;if(_0x3bbf48===_0x2c5d0e)break;else _0x5b330e['push'](_0x5b330e['shift']());}catch(_0x24b128){_0x5b330e['push'](_0x5b330e['shift']());}}}(_0xe6d7,0xcb5d1),function(_0x51653f,_0x1c2760){const _0x427cfa=_0xcf94;typeof exports==_0x427cfa(0x1c2)&&typeof module<'u'?_0x1c2760(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs-pro/collaboration'),require('@univerjs/core'),require('rxjs')):typeof define==_0x427cfa(0x1b8)&&define['amd']?define([_0x427cfa(0x1c9),_0x427cfa(0x1bc),_0x427cfa(0x1b9),'@univerjs-pro/collaboration',_0x427cfa(0x1d2),_0x427cfa(0x1c0)],_0x1c2760):(_0x51653f=typeof globalThis<'u'?globalThis:_0x51653f||self,_0x1c2760(_0x51653f[_0x427cfa(0x1b1)]={},_0x51653f[_0x427cfa(0x1af)],_0x51653f[_0x427cfa(0x1c8)],_0x51653f[_0x427cfa(0x1cd)],_0x51653f['UniverCore'],_0x51653f['rxjs']));}(this,function(_0xec28d,_0x1bde76,_0xa4a1d7,_0x468100,_0x57f053,_0x4022ea){'use strict';const _0x229c94=_0xcf94;class _0x411c21 extends _0xa4a1d7[_0x229c94(0x1ce)]{get['CollaborationStatus'](){return _0x1bde76['CollaborationStatus'];}}_0xa4a1d7[_0x229c94(0x1ce)][_0x229c94(0x1d6)](_0x411c21);var _0x216c51=Object[_0x229c94(0x1aa)],_0x31b8ab=(_0x457774,_0x5a0797,_0x2f463a,_0x51f1f0)=>{const _0x4e1471=_0x229c94;for(var _0x5d9086=_0x51f1f0>0x1?void 0x0:_0x51f1f0?_0x216c51(_0x5a0797,_0x2f463a):_0x5a0797,_0x2e933a=_0x457774[_0x4e1471(0x1c4)]-0x1,_0x29d88c;_0x2e933a>=0x0;_0x2e933a--)(_0x29d88c=_0x457774[_0x2e933a])&&(_0x5d9086=_0x29d88c(_0x5d9086)||_0x5d9086);return _0x5d9086;},_0x570e92=(_0x5eeb16,_0x5721c5)=>(_0x174e32,_0x2d9764)=>_0x5721c5(_0x174e32,_0x2d9764,_0x5eeb16);_0xec28d[_0x229c94(0x1d7)]=class extends _0xa4a1d7[_0x229c94(0x1c3)]{constructor(_0x450902,_0xf76435,_0x48a5dd,_0x2d05a7,_0x1d225c){const _0x401c45=_0x229c94;super(),this[_0x401c45(0x1e2)]=_0x450902,this['_injector']=_0xf76435,this['_univerInstanceService']=_0x48a5dd,this[_0x401c45(0x1e5)]=_0x2d05a7,this[_0x401c45(0x1da)]=_0x1d225c;}async[_0x229c94(0x1d3)](){const _0x25baa1=_0x229c94;return this[_0x25baa1(0x1cc)]();}async[_0x229c94(0x1cc)](){const _0x473f89=_0x229c94;throw new Error(_0x473f89(0x1d0));}async[_0x229c94(0x1b5)](_0x17d1ad){const _0x3d843e=_0x229c94;return this[_0x3d843e(0x1b3)](_0x17d1ad);}async['loadSheetAsync'](_0x26556a,_0xd808f){const _0x2dea81=_0x229c94;return await this[_0x2dea81(0x1e5)][_0x2dea81(0x1b5)](_0x26556a,0x0,_0xd808f)?(await this['_collaborationController']['readyForCollab'](_0x26556a),this['_handler'][_0x2dea81(0x1c6)](_0x26556a)):null;}[_0x229c94(0x1b6)](_0x5c47dc,_0x1df1f6){const _0x4cc89e=_0x229c94,_0x150533=this['_injector']['get'](_0x1bde76[_0x4cc89e(0x1a8)])['waitForRoom$'](_0x5c47dc)[_0x4cc89e(0x1a9)](_0x4022ea[_0x4cc89e(0x1ba)](_0x31520f=>_0x31520f[_0x4cc89e(0x1e6)]))[_0x4cc89e(0x1cb)](_0x20983a=>_0x1df1f6(Array[_0x4cc89e(0x1ad)](_0x20983a['values']())));return _0x57f053[_0x4cc89e(0x1cf)](_0x150533);}['getCollaborationStatus'](){const _0x3b1710=_0x229c94,_0x5ddfc2=this[_0x3b1710(0x1dc)][_0x3b1710(0x1db)]();if(!_0x5ddfc2)return _0x1bde76[_0x3b1710(0x1b7)][_0x3b1710(0x1df)];const _0x4a4b2a=this[_0x3b1710(0x1da)][_0x3b1710(0x1a6)](_0x5ddfc2[_0x3b1710(0x1ac)]());return _0x4a4b2a?_0x4a4b2a[_0x3b1710(0x1d8)][_0x3b1710(0x1e0)]:_0x1bde76['CollaborationStatus'][_0x3b1710(0x1df)];}},_0xec28d[_0x229c94(0x1d7)]=_0x31b8ab([_0x570e92(0x1,_0x57f053[_0x229c94(0x1b0)](_0x57f053[_0x229c94(0x1d1)])),_0x570e92(0x2,_0x57f053[_0x229c94(0x1e1)]),_0x570e92(0x3,_0x57f053['Inject'](_0x468100['SnapshotService'])),_0x570e92(0x4,_0x57f053[_0x229c94(0x1b0)](_0x1bde76[_0x229c94(0x1b4)]))],_0xec28d['FCollaboration']);class _0x336663 extends _0xa4a1d7[_0x229c94(0x1c5)]{[_0x229c94(0x1de)](){const _0x12ed7e=_0x229c94;return this[_0x12ed7e(0x1c1)][_0x12ed7e(0x1dd)](_0xec28d[_0x12ed7e(0x1d7)],{'getUniverSheet':_0x5c33da=>this[_0x12ed7e(0x1c6)](_0x5c33da)});}[_0x229c94(0x1bd)](_0x753082,_0x56121c,_0x24b299){const _0x2e31fb=_0x229c94;return this[_0x2e31fb(0x1c1)][_0x2e31fb(0x1bf)](_0x1bde76[_0x2e31fb(0x1e3)])['loadUnit'](_0x753082,_0x56121c,_0x24b299);}[_0x229c94(0x1bb)](_0x20bc96,_0x47ebbb,_0x236d91){const _0x1d0aa3=_0x229c94;return this[_0x1d0aa3(0x1c1)][_0x1d0aa3(0x1bf)](_0x1bde76['DataLoaderService'])[_0x1d0aa3(0x1d4)](_0x20bc96,_0x47ebbb,_0x236d91);}}_0xa4a1d7[_0x229c94(0x1c5)][_0x229c94(0x1d6)](_0x336663),Object[_0x229c94(0x1ae)](_0xec28d,Symbol['toStringTag'],{'value':'Module'});}));function _0xe6d7(){const _0x102098=['pipe','getOwnPropertyDescriptor','3852996yJTCqT','getUnitId','from','defineProperty','UniverProCollaborationClient','Inject','UniverProCollaborationClientFacade','49191000zHzpMQ','loadSheetAsync','CollaborationController','loadSheet','subscribeCollaborators','CollaborationStatus','function','@univerjs/core/facade','switchMap','loadServerUnitOfRevision','@univerjs-pro/collaboration-client','loadServerUnit','18QfzlsA','get','rxjs','_injector','object','FBase','length','FUniver','getUniverSheet','766333gtvuFG','UniverCoreFacade','exports','6086542mKpovb','subscribe','loadActiveSheetAsync','UniverProCollaboration','FEnum','toDisposable','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','Injector','@univerjs/core','loadActiveSheet','loadUnitOfRevision','138070cfPDMA','extend','FCollaboration','state','4403859scXjvK','_collaborationController','getFocusedUnit','_univerInstanceService','createInstance','getCollaboration','NOT_COLLAB','status','IUniverInstanceService','_handler','DataLoaderService','330WniDhm','_snapshotService','members$','2pLSskr','getCollabEntity','665064Ihahyn','MemberService'];_0xe6d7=function(){return _0x102098;};return _0xe6d7();}
6
6
 
7
7
  // @univerjs-pro/collaboration-client-ui/index
8
- function _0x1f64(){const _0x493072=['UniverCollaborationClientPlugin','UniverSheets','_localCacheService','@univerjs-pro/collaboration-client','row','ENTITLE_DUP_SUBSCRIPTION','UnitStatus','getCollabEntity$','_sheetSkeletonManagerService','runRefRangeMutations','exhaustSavingTask','REDEMPTION_CODE_FULLY_REDEEMED','M0\x200H16V16H0z','limitInfo','_assignedColors','subUnitId','REDEMPTION_CODE_HAS_BEEN_CREATED','some','yellow.400','SHEET_VIEWPORT_KEY','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_initEvent','handleInsertRangeMoveDown','_initCommandInterceptor','getStateCache','USER_NOT_FOUND','clearInterval','width','sessionStatus$','getformulaLimitStatusUrl','useCallback','triggerDblclick','getValue','LICENSE_DISTRO_REJECTED','APPLY_DUPLICATED','translate(.97)','SetSelectionsOperation','ThemeService','PERMISSION_DENIED','getDocRanges','collabStatus.syncing','_toggleOnline','getVpScrollXYInfoByPosToVp','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_initStatusComponent','Unknown\x20user','_setupBeforeClosingHandler','ILocalStorageService','round','throttleTime','SetFormulaCalculationStartMutation','RxDisposable','SUBMIT_CHANGESET_TIMEOUT','debounce','params','displayName','registerComponent','APPLY_REJECT','http://www.w3.org/2000/svg','bottom','@univerjs/docs-ui','history','_docSyncEditingCollabCursorService','m2Prime','source','_applyCommand','DocSelectionManagerService','getCoordByCell','YUUMI_CONNECTOR_URL_NOT_FOUND','formula.calculation.waiting','_getSaveTimeout','column','_removeCollabCursors','handleDeleteRangeMoveUp','_startCalculationLimit','registerDependencies','_saveCache','type','range','_getSessionTicket','_getMergeRange','RevisionService','off-line-icon_clip0_910_343','RECT','_backgroundColor','memberID','_selfUnitIDs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','@univerjs/engine-render','mask','Warning','distinctUntilChanged','APPLY_PERMISSION_DENIED','amd','_checkCalculationAvailable','DATA_SOURCE_TOO_LARGE','size','_notificationService','div','selections','LICENSE_MAX_UNITS_EXCEEDED','_updateURLWithCurrentState','updateOfflineData','_color','unitId','getTypeOfUnitDisposed$','OTHER_CLIENTS_EDITING','name','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hide','_unitOnClients','createSocket','_entities','transformSelections','_initResize','_startDocCollabCursor','getUnitId','top','MoveRangeCommandId','createIdentifier','saveTaskMap','xlink:href','arc','_univerInstanceService','createInstance','ILogService','find','RichTextEditingMutation','transformRemoteChangeset','doc.mutation.rich-text-editing','_colorIndex','LocaleService','@univerjs-pro/collaboration','UniverDesign','dispose','getUndoRedoMutationParamsCache','_entityInit$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','useDependency','getOwnPropertyDescriptor','getCurrentUnitForType','stageInfo','...','handleIRemoveCol','_injector','COMPLETION_FINISHED','_docSkeleton','BehaviorSubject','LICENSE_IMPORT_SIZE_EXCEEDED','contains','getItem','_checkAndWaitForCalculationPermission','values','_releaseCalculationLimit','fromEvent','_initEntityListener','cursorInfo$','getUnit','startColumn','undoState','addObject','_localStorageService','disposeWithMe','/universer-api/license/formula/limit/done','@univerjs/network','attrs','measureText','_localeService','HTTPService','_getFormulaLimitStatus','m1Prime','clearTimeout','_dataLoaderService','RemoteUniscriptService','debounceTime','selection','map','UniverIcon','Tools','collab-text-anchor-','activeSheet$','event$','asObservable','_collaborationUIEventService','_name','Rectangle','result','_docClipboardService','code','_drawAnchor','_colorAssignService','6259176yNHEeA','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_collabSessionService','UniverEngineFormula','moveTo','exports','428246DJAveY','mergeOverrideWithDependencies','makeDirty','MOBILE_HAS_BEEN_BOUND','currentSkeleton$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','isFormulaId','DisposableCollection','registerBeforeClose','setInterval','_handleHover','DeleteRangeMoveUpCommandId','INVALID_ARGUMENT','registerRenderModule','INTERNAL_ERROR','_context','_commandService','skeleton','setParam','REDEMPTION_CODE_NOT_STARTED','IUniverInstanceService','add','_registerDependencies','transformIMECache','onRendered','SessionStatus','ENSURE_SNAPSHOT_EXECUTION','DEFAULT_WS_SESSION_TICKET_URL','BrowserCollaborationSocketService','collab-text-range-','stringify','addObjects','@univerjs/ui','on-line-icon_clip0_910_349','SetTextSelectionsOperation','_cursors','startsWith','isTransformMutationFailure','_updateSubUnitFromURLParams','transform','collabStatus.synced','drawWith','delete','_onCursorUpdate','_setupSubUnitSync','requireSession','onStarting','touchDependencies','ITransformService','fillStyle','EffectRefRangId','getRangePointData','DOC_RANGE_TYPE','deserializeRangeWithSheet','length','MUTATION','from','invokeId','fromEventSubject','toDisposable','getRenderById','_updateCollabCursors','WECHAT_HAS_BEEN_BOUND','CHANGESET_REVISION_CONFILICT','push','addHandlerCallback','ranges','@univerjs/sheets-ui','_ensureSubject','_render','Success','_transformService','black','getFocusedUnit','Vector2','text','subunit','LOCAL_CACHE_INTERVAL','loadOfflineData','assignAColorForMemberID','_beforeCloseService','switchMap','REDEMPTION_USER_NOT_ELIGIBLE','UniverRpc','NOT_COLLAB','transformByState','_docTransformIMECacheService','IDocClipboardService','RemoveColCommandId','init','CollaborationStatus','has','LICENSE_EXPORT_SIZE_EXCEEDED','operators','IBeforeCloseService','clipPath','TEXT_RANGE_LAYER_INDEX','_refRangeService','_clearPolling','UNAUTHENTICATED','pipe','getParam','TEXT','current','currentTheme$','_docTransformStateCacheService','CONNECTOR_DATA_TOO_LARGE','DataLoaderService','search','actions','107140aaWGLK','CollaborationController','endRow','_scheduleSaving','isActive','NO_OTHER_CLIENTS_EDITING','SNAPSHOT_INVALID_SNAPSHOT','_handleLeaveEvent','functionsExecutedState','UniverDocsUi','SheetSkeletonManagerService','onPointerEnter$','SheetsSelectionsService','PY_RUNTIME_SCRIPT_ERROR','substring','white','ENTITLE_NEED_BILLING_ADDRESS','colorChannel1','split','isEditing','NodePositionConvertToRectRange','with','_initDependencies','fillText','children','transformMutation','unload','MessageType','APPLY_REVISION_CONFILICT','IMessageService','YUUMI_ASYNCIO_CANCELLED','handleInsertCol','_messageService','uni.network.url-service','tag','collabStatus.conflict','Error','collaboration-client.offline-data-not-saved','START_CALCULATION','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','mutations','deepClone','DesktopCollaborationStatusDisplayController','_handleHeartbeatEvent','UNRECOGNIZED','roomMembers','body','Injector','getCellMatrix','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','FETCH_MISS','_themeService','loadUnit','_getSheetObject','getUnhiddenWorksheets','enableLocalCache','url(#$1','_onCursorDelete','sheetID','_setFormulaLimitStatus','toRgbString','/run/','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_drawRectRange','origin','rxjs/operators','_transformUndoRedoStack','ILocalCacheService','subscribeEvent','40oHnBWE','_cursorShapes','restore','forEach','send','IConfigService','MemberService','_startSheetCollabCursor','unsubscribe','1em','_handleJoinEvent','getActiveSheet','Plugin','_onRefRangeChange','_hovered','AUTHORIZE_CODE_ILLEGAL','CollaborationEvent','OnLineIcon','/universer-api/license/formula/limit/start','_transformHistoryAndStateStack','_roomMembers$','rxjs','lineTo','replaceDocRanges','purple.300','?taskId=','path','urlChange$','DocStateChangeManagerService','Failed','/universer-api/license/formula/limit/status','_showGuardMessage','RegularPolygon','RefRangeService','REDEMPTION_INVALID_CODE','USERS_LEAVE','getUnitStatus$','_anchorDot','on-line-icon','CURRENT_STATUS_CANNOT_OPERATE','SetFormulaCalculationNotificationMutation','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getActiveRange','_status$','SYNCED','endColumn','permission.title','CLOSE_ROOM','MOBILE_VERIFY_CODE_MISMATCH','cursorInfo','_clearOtherTimers','_configService','_refreshCollabCursors','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','VIEW_MAIN','entries','_taskIds','forwardRef','OTHER_CLIENT_EDITING','unitID','fillRule','runId','CollaborationUIEventId','_eventUnsubscribe','runOnServer','780806PUXYwK','_saveTaskMap','_createSocketURL','@univerjs/docs','_toggleOffline','OffLineIcon','eventID','handleInsertRangeMoveRight','getCellPositionByOffset','_online','_imageIoService','0\x200\x2016\x2016','getCurrentSelections','React','_syncEditingCollabCursorService','complete','currentColor','isTransformMutationsWithChangesetSuccess','all','_httpService','ISocketService','defineProperty','SNAPSHOT_HAS_BEEN_REMOVED','_maxFormulaLimit','shareReplay','Subject','collab-rect-range-','APPLY_NON_SEQUENTIAL_REVISION','ONLINE','getSheetObject','_docSkeletonManagerService','generateRandomId','executeCommand','_renderManagerService','handleIRemoveRow','IImageIoService','@univerjs/engine-formula','setAlpha','application/json','@univerjs/sheets','setItem','debug','onPointerLeave$','entityInit$','rgba(255,\x20255,\x20255,\x200.01)','function','isArray','LOGIN_TOKEN_PROCESSING_FAILED','getSheetBySheetId','_docStateChangeManagerService','UniverDocs','location','INVITE_CODE_ALREADY_BOUND','takeUntil','_getAnchorBounding','pluginName','set','WebSocketService','defs','flatMap','onCommandExecuted','replaceState','toString','_handleEvent','max','_cursor','OFFLINE','DocCollaborationEntity','useRef','@univerjs/core','unshift','get','LOGIN_FAILED','imageSourceType','stage','_heartbeatTimer','getOffsetConfig','_instanceService','_hover','getAncestorScale','reconnect','YUUMI_NO_CUBOID_FOR_QUESTION','FromArray','includes','_cursorInfo$','UniverCollaborationClientUIPlugin','session.collaboration-timeout','syncEditingCollabCursor','getSkeleton','UNDEFINED','_currentUsage','roomMembers$','INVALID_INVITE_CODE','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','combineLatest','_urlService','PENDING','UNIVER_SHEET','SUCCESS','UPDATE_CURSOR','string','ENTITLE_REPORT_LIMIT_EXCEED','trim','_session','ENTITLE_INSUFFICIENT_QUOTA','univer-flex\x20univer-items-center','_collabCursorController','EMAIL_HAS_BEEN_BOUND','dirtyRanges','AWAITING_WITH_PENDING','_uiPartsService','save','JOIN_ROOM_FAILED','CollaborationSessionService','UniverNetwork','CollaborationSocketService','INotificationService','DeleteRangeMoveLeftCommandId','_hasFormulaInDirtyRanges','getColor','getConfig','onLocalMutation','handleMoveRange','now','Inject','getTypeOfUnitAdded$','_hideTimer','collabStatus.notCollab','YUUMI_ALL_TABLES_IS_INVALID','IUIPartsService','collaboration-client-ui.config','UniverProCollaboration','serializeRangeWithSheet','addEventListener','ACTIVE_UNIT_EVENT_CHANNEL','collaboration.closeRoom','getCollabCursors$','wsSessionTicketUrl','FormulaExecuteStageType','NOT_FOUND','height','url(#off-line-icon_clip0_910_343)','replace','_initStatusListener','_getScale','YUUMI_URL_COL_OUT_OF_RANGE','isFormulaString','[CollaborationDataLoaderController]','_labelPosition','_lastPointer','getUniverSheetInstance','RemoveRowCommandId','8VVOwQD','USER_IS_ANONYMOUS','onMouseMove','formula.calculation.started','beginPath','_updateLocalCursor','Shape','_pollingInterval','TRANSFORM_CHANGE_OBSERVABLE_TYPE','setShapeProps','evenodd','INVITE_CODE_REQUIRED','Disposable','idSuffix','_id','_collabCursorState$','registerRefRange','next','textRanges','subscribe','shift','_initCommandExecutedListener','YUUMI_RATE_OVER_LIMIT','ColorKit','@univerjs/design','_removeClearOtherTimer','UniverEngineRender','getRelativeToViewportCoord','_unitStatus','SetWorksheetActivateCommand','href','UNIVER_DOC','0\x200\x2017\x2016','transformStateCache','COLORS','SOCKET_FAILED_RETRY','REDEMPTION_CODE_INACTIVE','_send','_revisionService','post','78216MryKZc','svg','UniverSheetsUi','getLocalCacheKey','saveOfflineData','_registerRenderDependencies','341019kbpGNC','_collaborationController','CanceledError','unit','collabCursorState$','formula.calculation.unable','YUUMI_UNABLE_LOAD_URL','none','INVITE_CODE_HAS_BEEN_UES','UniverProCollaborationClient','closePath','_transformPreviousActiveRange','setStateCache','_anchor','Workbook','color','_init','_range','getMember','WebBrowserSingleActiveUnitService','collaboration.single-unit.warning','UniverInstanceType','dispose$','error','IRenderManagerService','UniverProCollaborationClientUi','_drawTextRange','#FFF','blue.400','_cachedData','_textBubble','YUUMI_AI_RUN_FAILED','_scheduleHeartbeat','ERROR_AGAIN','PAYMENT_CHANNEL_NOT_SUPPORT','then','findNodePositionByCharIndex','filter','setActiveRange','show','_logService','HEADER_MENU','686060VpgdlZ','data','ALREADY_EXISTS','_lastResponseTimestamp','_scheduleClearOtherTimer','collab-client.tooltip.reconnect','useObservable','parseInt','handleDeleteRangeMoveLeft','CollaborationDataLoaderController','InsertRangeMoveRightCommandId','_disabled','Rect','ICommandService','createElement','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','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CONFLICT','_scene','resize','setTimeout','whenReady','UniverDrawing','searchParams','getSheetId','getMergeData','getMemberID','fill','Loading','Module','redoState','getColorFromTheme','startRow','_config','SOCKET_FAILED','sheetId','removeParam','jsx','@univerjs/rpc','NodePositionConvertToCursor','_shapes','toStringTag','_docTransformSelectionsService'];_0x1f64=function(){return _0x493072;};return _0x1f64();}function _0x1014(_0x5e86da,_0x1de17e){const _0x1f64ae=_0x1f64();return _0x1014=function(_0x1014a1,_0x2c5142){_0x1014a1=_0x1014a1-0xfc;let _0x5c4540=_0x1f64ae[_0x1014a1];return _0x5c4540;},_0x1014(_0x5e86da,_0x1de17e);}(function(_0x3e1441,_0x18b45c){const _0x364213=_0x1014,_0xa58066=_0x3e1441();while(!![]){try{const _0x7a96=-parseInt(_0x364213(0x318))/0x1+-parseInt(_0x364213(0x39f))/0x2+-parseInt(_0x364213(0x190))/0x3+parseInt(_0x364213(0x1ba))/0x4+-parseInt(_0x364213(0x35d))/0x5*(parseInt(_0x364213(0x18a))/0x6)+-parseInt(_0x364213(0x2aa))/0x7*(-parseInt(_0x364213(0x162))/0x8)+parseInt(_0x364213(0x2a4))/0x9;if(_0x7a96===_0x18b45c)break;else _0xa58066['push'](_0xa58066['shift']());}catch(_0x33b3d8){_0xa58066['push'](_0xa58066['shift']());}}}(_0x1f64,0x33ead),function(_0x1668e1,_0x3eb164){const _0x4123fc=_0x1014;typeof exports=='object'&&typeof module<'u'?_0x3eb164(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==_0x4123fc(0x3cc)&&define[_0x4123fc(0x242)]?define([_0x4123fc(0x2a9),'react/jsx-runtime',_0x4123fc(0x1e8),_0x4123fc(0x10f),_0x4123fc(0x2ca),'rxjs',_0x4123fc(0x17a),'react',_0x4123fc(0x1e0),_0x4123fc(0x3c6),_0x4123fc(0x23d),_0x4123fc(0x289),_0x4123fc(0x221),'@univerjs/drawing',_0x4123fc(0x269),_0x4123fc(0x3a2),_0x4123fc(0x3c3),_0x4123fc(0x359),_0x4123fc(0x2ed)],_0x3eb164):(_0x1668e1=typeof globalThis<'u'?globalThis:_0x1668e1||self,_0x3eb164(_0x1668e1[_0x4123fc(0x1a9)]={},_0x1668e1[_0x4123fc(0x3ac)],_0x1668e1[_0x4123fc(0x199)],_0x1668e1['UniverCore'],_0x1668e1['UniverUi'],_0x1668e1[_0x4123fc(0x372)],_0x1668e1[_0x4123fc(0x26a)],_0x1668e1[_0x4123fc(0x3ac)],_0x1668e1[_0x4123fc(0x2fd)],_0x1668e1[_0x4123fc(0x1e6)],_0x1668e1[_0x4123fc(0x17c)],_0x1668e1[_0x4123fc(0x13c)],_0x1668e1[_0x4123fc(0x321)],_0x1668e1[_0x4123fc(0x1d0)],_0x1668e1[_0x4123fc(0x14d)],_0x1668e1[_0x4123fc(0xfc)],_0x1668e1[_0x4123fc(0x2a7)],_0x1668e1[_0x4123fc(0x372)][_0x4123fc(0x307)],_0x1668e1[_0x4123fc(0x18c)]));}(this,function(_0x1ef13c,_0x21d04b,_0x562098,_0x3238b4,_0x5e73b5,_0x1c6f00,_0x13fbb7,_0x11583d,_0x1899fd,_0x3ed8fc,_0xcb617a,_0x4c4936,_0x2260ff,_0x496e7a,_0x57c8d5,_0xf153d4,_0x2de62,_0x3663d5,_0x9833be){'use strict';const _0x1b3145=_0x1014;var _0x1e9977=Object[_0x1b3145(0x3b4)],_0x250e48=(_0x2921b3,_0x7152b4,_0xd70de5)=>_0x7152b4 in _0x2921b3?_0x1e9977(_0x2921b3,_0x7152b4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd70de5}):_0x2921b3[_0x7152b4]=_0xd70de5,_0xc84b25=(_0xaae3c7,_0x4a217d,_0x12d5d4)=>_0x250e48(_0xaae3c7,typeof _0x4a217d!='symbol'?_0x4a217d+'':_0x4a217d,_0x12d5d4);function _0x48cc70({ref:_0x147c95,..._0x4704ee}){const _0x102b7b=_0x1b3145,{icon:_0x223422,id:_0x2f5aba,className:_0x28fa47,extend:_0x31b74e,..._0x548c81}=_0x4704ee,_0x486e0a=('univerjs-icon\x20univerjs-icon-'+_0x2f5aba+'\x20'+(_0x28fa47||''))[_0x102b7b(0x130)](),_0x20938a=_0x11583d[_0x102b7b(0x10e)]('_'+_0x5158c0());return _0x3aeb79(_0x223422,''+_0x2f5aba,{'defIds':_0x223422['defIds'],'idSuffix':_0x20938a[_0x102b7b(0x311)]},{'ref':_0x147c95,'className':_0x486e0a,..._0x548c81},_0x31b74e);}function _0x3aeb79(_0x1f384f,_0x22d6c5,_0x43c1a6,_0x51f00f,_0x2e8a6d){const _0x3055bd=_0x1b3145;return _0x11583d[_0x3055bd(0x1c8)](_0x1f384f[_0x3055bd(0x33a)],{'key':_0x22d6c5,..._0x4dc3d1(_0x1f384f,_0x43c1a6,_0x2e8a6d),..._0x51f00f},(_0x2d6c15(_0x1f384f,_0x43c1a6)[_0x3055bd(0x330)]||[])[_0x3055bd(0x295)]((_0x5bcad5,_0x45abff)=>_0x3aeb79(_0x5bcad5,_0x22d6c5+'-'+_0x1f384f[_0x3055bd(0x33a)]+'-'+_0x45abff,_0x43c1a6,void 0x0,_0x2e8a6d)));}function _0x4dc3d1(_0x636217,_0xbfac0e,_0x3fe9b4){const _0x3cb8fe=_0x1b3145,_0x4d5a13={..._0x636217['attrs']};_0x3fe9b4!=null&&_0x3fe9b4[_0x3cb8fe(0x329)]&&_0x4d5a13[_0x3cb8fe(0x1d5)]===_0x3cb8fe(0x329)&&(_0x4d5a13['fill']=_0x3fe9b4[_0x3cb8fe(0x329)]),_0x636217[_0x3cb8fe(0x33a)]===_0x3cb8fe(0x23e)&&_0x4d5a13['id']&&(_0x4d5a13['id']=_0x4d5a13['id']+_0xbfac0e[_0x3cb8fe(0x16f)]),Object[_0x3cb8fe(0x395)](_0x4d5a13)[_0x3cb8fe(0x360)](([_0x189536,_0x1a6c4c])=>{const _0x32882c=_0x3cb8fe;_0x189536===_0x32882c(0x23e)&&typeof _0x1a6c4c=='string'&&(_0x4d5a13[_0x189536]=_0x1a6c4c[_0x32882c(0x158)](/url\(#(.*)\)/,_0x32882c(0x350)+_0xbfac0e['idSuffix']+')'));});const {defIds:_0x21d080}=_0xbfac0e;return!_0x21d080||_0x21d080[_0x3cb8fe(0x2e0)]===0x0||(_0x636217[_0x3cb8fe(0x33a)]==='use'&&_0x4d5a13['xlink:href']&&(_0x4d5a13['xlink:href']=_0x4d5a13[_0x3cb8fe(0x25e)]+_0xbfac0e[_0x3cb8fe(0x16f)]),Object['entries'](_0x4d5a13)[_0x3cb8fe(0x360)](([_0x619101,_0x148788])=>{const _0x50df2b=_0x3cb8fe;typeof _0x148788=='string'&&(_0x4d5a13[_0x619101]=_0x148788[_0x50df2b(0x158)](/url\(#(.*)\)/,_0x50df2b(0x350)+_0xbfac0e[_0x50df2b(0x16f)]+')'));})),_0x4d5a13;}function _0x2d6c15(_0x2e262e,_0x1c167c){const _0x5227b3=_0x1b3145;var _0x1a142c;const {defIds:_0x2b38bf}=_0x1c167c;return!_0x2b38bf||_0x2b38bf[_0x5227b3(0x2e0)]===0x0?_0x2e262e:_0x2e262e[_0x5227b3(0x33a)]===_0x5227b3(0x104)&&((_0x1a142c=_0x2e262e['children'])!=null&&_0x1a142c[_0x5227b3(0x2e0)])?{..._0x2e262e,'children':_0x2e262e[_0x5227b3(0x330)][_0x5227b3(0x295)](_0x47bf38=>typeof _0x47bf38[_0x5227b3(0x28a)]['id']==_0x5227b3(0x12e)&&_0x2b38bf&&_0x2b38bf[_0x5227b3(0x11d)](_0x47bf38[_0x5227b3(0x28a)]['id'])?{..._0x47bf38,'attrs':{..._0x47bf38[_0x5227b3(0x28a)],'id':_0x47bf38[_0x5227b3(0x28a)]['id']+_0x1c167c[_0x5227b3(0x16f)]}}:_0x47bf38)}:_0x2e262e;}function _0x5158c0(){const _0x1578c0=_0x1b3145;return Math['random']()[_0x1578c0(0x108)](0x24)[_0x1578c0(0x326)](0x2,0x8);}_0x48cc70['displayName']=_0x1b3145(0x296);const _0x54ec01={'tag':_0x1b3145(0x18b),'attrs':{'xmlns':_0x1b3145(0x21f),'fill':_0x1b3145(0x197),'viewBox':_0x1b3145(0x3aa),'width':_0x1b3145(0x366),'height':_0x1b3145(0x366)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b3145(0x157)},'children':[{'tag':_0x1b3145(0x377),'attrs':{'stroke':_0x1b3145(0x3af),'d':_0x1b3145(0x1c9),'strokeLinecap':_0x1b3145(0x215),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1b3145(0x104),'attrs':{},'children':[{'tag':_0x1b3145(0x309),'attrs':{'id':_0x1b3145(0x237)},'children':[{'tag':_0x1b3145(0x377),'attrs':{'fill':_0x1b3145(0x327),'d':_0x1b3145(0x1f1)}}]}]}],'defIds':[_0x1b3145(0x237)]},_0x3a7545=_0x11583d[_0x1b3145(0x397)](function(_0x26aef5,_0x945850){const _0x38def5=_0x1b3145;return _0x11583d[_0x38def5(0x1c8)](_0x48cc70,Object['assign']({},_0x26aef5,{'id':'off-line-icon','ref':_0x945850,'icon':_0x54ec01}));});_0x3a7545[_0x1b3145(0x21c)]=_0x1b3145(0x3a4);const _0x26cc52={'tag':_0x1b3145(0x18b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1b3145(0x197),'viewBox':_0x1b3145(0x182),'width':_0x1b3145(0x366),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x1b3145(0x377),'attrs':{'stroke':_0x1b3145(0x3af),'d':_0x1b3145(0x127),'strokeLinecap':_0x1b3145(0x215),'strokeLinejoin':_0x1b3145(0x215),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1b3145(0x2cb)},'children':[{'tag':_0x1b3145(0x377),'attrs':{'fill':_0x1b3145(0x327),'d':_0x1b3145(0x1f1),'transform':_0x1b3145(0x208)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x10cb35=_0x11583d['forwardRef'](function(_0x11d55f,_0x517099){const _0x4ac1a4=_0x1b3145;return _0x11583d[_0x4ac1a4(0x1c8)](_0x48cc70,Object['assign']({},_0x11d55f,{'id':_0x4ac1a4(0x383),'ref':_0x517099,'icon':_0x26cc52}));});_0x10cb35[_0x1b3145(0x21c)]=_0x1b3145(0x36e);function _0x43d122(_0x394b0d){const _0x1ac51d=_0x1b3145;switch(_0x394b0d){case _0x562098[_0x1ac51d(0x304)][_0x1ac51d(0x10c)]:return'collabStatus.offline';case _0x562098[_0x1ac51d(0x304)][_0x1ac51d(0x1cb)]:return _0x1ac51d(0x33b);case _0x562098[_0x1ac51d(0x304)][_0x1ac51d(0x34a)]:return'collabStatus.fetchMiss';case _0x562098[_0x1ac51d(0x304)]['NOT_COLLAB']:return _0x1ac51d(0x149);case _0x562098[_0x1ac51d(0x304)]['AWAITING']:case _0x562098[_0x1ac51d(0x304)][_0x1ac51d(0x137)]:return _0x1ac51d(0x20d);case _0x562098[_0x1ac51d(0x304)][_0x1ac51d(0x38a)]:case _0x562098[_0x1ac51d(0x304)][_0x1ac51d(0x12a)]:return _0x1ac51d(0x2d2);}}function _0x14a610(_0xcfd344){const _0x4b7020=_0x1b3145,{status$:_0x14590d}=_0xcfd344,_0x32a7db=_0x5e73b5[_0x4b7020(0x1c0)](_0x14590d,_0x562098['CollaborationStatus'][_0x4b7020(0x2fe)]),_0x399693=_0x5e73b5[_0x4b7020(0x26f)](_0x3238b4['LocaleService']),_0x59e310=_0x5e73b5['useDependency'](_0x562098[_0x4b7020(0x13b)]),_0x31a4cf=_0x32a7db!==_0x562098[_0x4b7020(0x304)][_0x4b7020(0x10c)],_0x2631c8=_0x399693['t'](_0x43d122(_0x32a7db)),_0x2e0099=_0x31a4cf?_0x21d04b['jsx'](_0x10cb35,{}):_0x21d04b[_0x4b7020(0x1df)](_0x3a7545,{}),_0x4c52c4=_0x11583d[_0x4b7020(0x203)](()=>{const _0x134ca4=_0x4b7020;_0x31a4cf||_0x59e310[_0x134ca4(0x11a)]();},[_0x31a4cf,_0x59e310]);function _0x474511(){const _0x5cac43=_0x4b7020;return _0x21d04b['jsxs'](_0x5cac43(0x247),{'className':_0x5cac43(0x133),'onClick':_0x4c52c4,'children':[_0x21d04b['jsx']('div',{'className':_0x13fbb7['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x31a4cf,'univer-text-red-500':!_0x31a4cf}),'children':_0x2e0099}),_0x21d04b['jsx']('div',{'className':_0x5cac43(0x26e),'children':_0x2631c8})]});}return _0x31a4cf?_0x474511():_0x21d04b[_0x4b7020(0x1df)](_0x13fbb7['Tooltip'],{'title':_0x399693['t'](_0x4b7020(0x1bf)),'children':_0x474511()});}var _0x5c9a5c=Object[_0x1b3145(0x270)],_0x348425=(_0x527717,_0x3a5deb,_0x5403b8,_0x175f72)=>{const _0x1b004b=_0x1b3145;for(var _0x27fc5a=_0x175f72>0x1?void 0x0:_0x175f72?_0x5c9a5c(_0x3a5deb,_0x5403b8):_0x3a5deb,_0x4ed146=_0x527717[_0x1b004b(0x2e0)]-0x1,_0x42b954;_0x4ed146>=0x0;_0x4ed146--)(_0x42b954=_0x527717[_0x4ed146])&&(_0x27fc5a=_0x42b954(_0x27fc5a)||_0x27fc5a);return _0x27fc5a;},_0x5dcbe1=(_0x225106,_0xc3880b)=>(_0xf496d,_0x72c97a)=>_0xc3880b(_0xf496d,_0x72c97a,_0x225106);_0x1ef13c[_0x1b3145(0x342)]=class extends _0x3238b4[_0x1b3145(0x16e)]{constructor(_0x5f0644,_0x4a2840,_0x1ab461,_0x3c6a9c){const _0x486497=_0x1b3145;super(),_0xc84b25(this,_0x486497(0x389),new _0x1c6f00[(_0x486497(0x278))](_0x562098[_0x486497(0x304)][_0x486497(0x2fe)])),(this[_0x486497(0x260)]=_0x5f0644,this['_injector']=_0x4a2840,this[_0x486497(0x191)]=_0x1ab461,this[_0x486497(0x138)]=_0x3c6a9c,this[_0x486497(0x211)](),this[_0x486497(0x159)]());}[_0x1b3145(0x159)](){const _0x5139f8=_0x1b3145;this[_0x5139f8(0x287)](this[_0x5139f8(0x260)]['focused$']['pipe'](_0x1c6f00['switchMap'](()=>{const _0x51d326=_0x5139f8,_0x3925a1=this['_univerInstanceService']['getFocusedUnit']();return _0x3925a1?this[_0x51d326(0x191)][_0x51d326(0x1ec)](_0x3925a1[_0x51d326(0x259)]()):_0x1c6f00['of'](null);}),_0x1c6f00['switchMap'](_0x212745=>_0x212745?_0x212745['status$']:_0x1c6f00['of'](_0x562098[_0x5139f8(0x304)][_0x5139f8(0x2fe)])))[_0x5139f8(0x175)](_0x1260b5=>{const _0x4cbbaf=_0x5139f8;this[_0x4cbbaf(0x389)][_0x4cbbaf(0x173)](_0x1260b5);}));}[_0x1b3145(0x211)](){const _0xc620e8=_0x1b3145;this[_0xc620e8(0x287)](this[_0xc620e8(0x138)][_0xc620e8(0x21d)](_0x5e73b5['BuiltInUIPart'][_0xc620e8(0x1b9)],()=>_0x5e73b5['connectInjector'](_0x9c42e6({'status$':this[_0xc620e8(0x389)][_0xc620e8(0x29b)]()}),this[_0xc620e8(0x275)])));}},_0x1ef13c[_0x1b3145(0x342)]=_0x348425([_0x5dcbe1(0x0,_0x3238b4[_0x1b3145(0x2be)]),_0x5dcbe1(0x1,_0x3238b4['Inject'](_0x3238b4[_0x1b3145(0x347)])),_0x5dcbe1(0x2,_0x3238b4['Inject'](_0x562098[_0x1b3145(0x319)])),_0x5dcbe1(0x3,_0x5e73b5[_0x1b3145(0x14b)])],_0x1ef13c[_0x1b3145(0x342)]);function _0x9c42e6(_0x59f913){const {status$:_0x28f9ce}=_0x59f913;return function(){const _0xff313f=_0x1014;return _0x21d04b[_0xff313f(0x1df)](_0x14a610,{'status$':_0x28f9ce});};}const _0x559004=_0x3238b4[_0x1b3145(0x25c)](_0x1b3145(0x339));var _0x104741=Object[_0x1b3145(0x270)],_0x590d04=(_0x375ccc,_0x4f8f37,_0x5582b6,_0x37fbf7)=>{const _0x2addf2=_0x1b3145;for(var _0x4597a7=_0x37fbf7>0x1?void 0x0:_0x37fbf7?_0x104741(_0x4f8f37,_0x5582b6):_0x4f8f37,_0x2180c8=_0x375ccc[_0x2addf2(0x2e0)]-0x1,_0xf1d9;_0x2180c8>=0x0;_0x2180c8--)(_0xf1d9=_0x375ccc[_0x2180c8])&&(_0x4597a7=_0xf1d9(_0x4597a7)||_0x4597a7);return _0x4597a7;},_0x533b83=(_0xa0b750,_0xe2879)=>(_0x568437,_0x368d57)=>_0xe2879(_0x568437,_0x368d57,_0xa0b750);_0x1ef13c['CollaborationDataLoaderController']=class extends _0x3238b4[_0x1b3145(0x218)]{constructor(_0x25074d,_0xa18fb,_0xdea156,_0x107bef,_0x5e8b20){const _0x18c7b5=_0x1b3145;super(),this[_0x18c7b5(0x129)]=_0x25074d,this[_0x18c7b5(0x1b8)]=_0xa18fb,this['_commandService']=_0xdea156,this['_dataLoaderService']=_0x107bef,_0x5e8b20?_0x5e8b20==null||_0x5e8b20[_0x18c7b5(0x1cf)]()[_0x18c7b5(0x1b3)](()=>this[_0x18c7b5(0x1a0)]()):(this[_0x18c7b5(0x1b8)][_0x18c7b5(0x3c8)](_0x18c7b5(0x15d),_0x18c7b5(0x1f9)),this['_init']());}async['_init'](){const _0x36adeb=_0x1b3145,_0x3a3c1c=this['_urlService']['getParam'](_0x36adeb(0x193)),_0xb89ecd=this['_urlService'][_0x36adeb(0x30f)](_0x36adeb(0x232)),_0x10b870=this['_urlService']['getParam'](_0x36adeb(0x2f6));if(!_0x3a3c1c||!_0xb89ecd){this[_0x36adeb(0x1b8)][_0x36adeb(0x3c8)](_0x36adeb(0x15d),_0x36adeb(0x23c));return;}const _0x19cb23=await this[_0x36adeb(0x291)][_0x36adeb(0x34c)](_0x3a3c1c,Number(_0xb89ecd),_0x10b870);_0x19cb23&&_0x19cb23 instanceof _0x3238b4[_0x36adeb(0x19e)]&&this[_0x36adeb(0x2d6)](_0x19cb23);}async[_0x1b3145(0x2d6)](_0x22bf2b){const _0x256e15=_0x1b3145;await this[_0x256e15(0x2d0)](_0x22bf2b),_0x22bf2b[_0x256e15(0x299)]['pipe'](_0x1c6f00['takeUntil'](this[_0x256e15(0x1a6)]))[_0x256e15(0x175)](_0x33947e=>{_0x33947e&&this['_updateURLWithCurrentState'](_0x33947e);}),this['_urlService'][_0x256e15(0x378)][_0x256e15(0x30e)](_0x1c6f00[_0x256e15(0xff)](this[_0x256e15(0x1a6)]))[_0x256e15(0x175)](()=>this[_0x256e15(0x2d0)](_0x22bf2b));}[_0x1b3145(0x24a)](_0x4ec6f2,_0x372f29=!0x1){const _0x810f1=_0x1b3145,_0x2700df=this[_0x810f1(0x129)][_0x810f1(0x30f)](_0x810f1(0x2f6));_0x4ec6f2[_0x810f1(0x1d2)]()!==_0x2700df&&this[_0x810f1(0x129)][_0x810f1(0x2bc)]('subunit',_0x4ec6f2[_0x810f1(0x1d2)](),_0x372f29);}async[_0x1b3145(0x2d0)](_0x21ebb6){const _0x1873d3=_0x1b3145;var _0x505e43;const _0x16dc8f=this[_0x1873d3(0x129)]['getParam'](_0x1873d3(0x2f6));if(!_0x16dc8f||!_0x21ebb6[_0x1873d3(0x3cf)](_0x16dc8f)){const _0x23968d=_0x21ebb6[_0x1873d3(0x34e)]()[0x0],_0x3e6bad=_0x21ebb6[_0x1873d3(0x3cf)](_0x23968d);if(!_0x3e6bad)return;this[_0x1873d3(0x24a)](_0x3e6bad,!0x0),await this[_0x1873d3(0x2ba)][_0x1873d3(0x3bf)](_0x3ed8fc[_0x1873d3(0x17f)]['id'],{'unitId':_0x21ebb6[_0x1873d3(0x259)](),'subUnitId':_0x23968d});return;}((_0x505e43=_0x21ebb6[_0x1873d3(0x368)]())==null?void 0x0:_0x505e43[_0x1873d3(0x1d2)]())!==_0x16dc8f&&await this['_commandService']['executeCommand'](_0x3ed8fc[_0x1873d3(0x17f)]['id'],{'unitId':_0x21ebb6[_0x1873d3(0x259)](),'subUnitId':_0x16dc8f});}},_0x1ef13c[_0x1b3145(0x1c3)]=_0x590d04([_0x533b83(0x0,_0x559004),_0x533b83(0x1,_0x3238b4[_0x1b3145(0x262)]),_0x533b83(0x2,_0x3238b4[_0x1b3145(0x1c7)]),_0x533b83(0x3,_0x3238b4['Inject'](_0x562098[_0x1b3145(0x315)])),_0x533b83(0x4,_0x3238b4['Optional'](_0x1899fd['IRemoteInstanceService']))],_0x1ef13c[_0x1b3145(0x1c3)]);var _0x22aa43=Object[_0x1b3145(0x270)],_0x1655cd=(_0x5e7107,_0x47bbda,_0x9b5511,_0x3e5ee7)=>{const _0x4395c7=_0x1b3145;for(var _0x2d2b7e=_0x3e5ee7>0x1?void 0x0:_0x3e5ee7?_0x22aa43(_0x47bbda,_0x9b5511):_0x47bbda,_0x47b01e=_0x5e7107[_0x4395c7(0x2e0)]-0x1,_0x1b603b;_0x47b01e>=0x0;_0x47b01e--)(_0x1b603b=_0x5e7107[_0x47b01e])&&(_0x2d2b7e=_0x1b603b(_0x2d2b7e)||_0x2d2b7e);return _0x2d2b7e;},_0x3f26b5=(_0x2976f6,_0x31555f)=>(_0x430c45,_0x5ac539)=>_0x31555f(_0x430c45,_0x5ac539,_0x2976f6);let _0x386d5a=class extends _0x3238b4[_0x1b3145(0x218)]{constructor(_0x40274d,_0x5f0b60){const _0x5dd841=_0x1b3145;super(),this[_0x5dd841(0x2a0)]=_0x40274d,this[_0x5dd841(0x3a9)]=_0x5f0b60,this[_0x5dd841(0x1a0)]();}[_0x1b3145(0x1a0)](){const _0x2c4c1e=_0x1b3145,_0x3c0358=this;this[_0x2c4c1e(0x287)](this[_0x2c4c1e(0x2a0)]['addClipboardHook']({'onBeforePasteImage':async _0x1d0e8d=>{const _0x1c1918=_0x2c4c1e,_0x174d27=await _0x3c0358[_0x1c1918(0x3a9)]['saveImage'](_0x1d0e8d);return _0x174d27?{'source':_0x174d27[_0x1c1918(0x225)],'imageSourceType':_0x174d27[_0x1c1918(0x113)]}:null;}}));}};_0x386d5a=_0x1655cd([_0x3f26b5(0x0,_0x2260ff[_0x1b3145(0x301)]),_0x3f26b5(0x1,_0x496e7a[_0x1b3145(0x3c2)])],_0x386d5a);const _0x21771f=[_0x1b3145(0x375),'jiqing.500','green.600','red.300',_0x1b3145(0x1ac),_0x1b3145(0x1f7)];class _0x29a11f extends _0x3238b4[_0x1b3145(0x16e)]{constructor(){const _0x201560=_0x1b3145;super(...arguments),_0xc84b25(this,_0x201560(0x1f3),new Map()),_0xc84b25(this,'_colorIndex',0x0);}[_0x1b3145(0x2f9)](_0x35147e){const _0x5705fa=_0x1b3145;if(this[_0x5705fa(0x1f3)]['has'](_0x35147e))return this[_0x5705fa(0x1f3)]['get'](_0x35147e);const _0x392980=_0x21771f[this['_colorIndex']];return this[_0x5705fa(0x267)]=(this['_colorIndex']+0x1)%_0x21771f[_0x5705fa(0x2e0)],this[_0x5705fa(0x1f3)][_0x5705fa(0x102)](_0x35147e,_0x392980),_0x392980;}}function _0x4663a4(_0x18b659){const _0x2d74f4=_0x1b3145;let _0x59f1f5='';for(const _0x48ca12 of _0x18b659){const {startOffset:_0x27cd1f,endOffset:_0x4156ec,isActive:_0xca8fb,rangeType:_0x488ff2,segmentId:_0x333c87,segmentPage:_0x52a5dd}=_0x48ca12;_0x59f1f5[_0x2d74f4(0x2e0)]&&(_0x59f1f5+=','),_0x59f1f5+=_0x27cd1f+':'+_0x4156ec+':'+(_0xca8fb?'1':'0')+':'+_0x488ff2+':'+_0x333c87+':'+_0x52a5dd;}return _0x59f1f5;}function _0x161316(_0xb7ab7b){const _0x2c30cd=_0x1b3145,_0xbe0474=_0xb7ab7b['split'](','),_0x13267b=[];for(const _0x5c9f6a of _0xbe0474){const [_0x308930,_0x5c68b2,_0x56de6f,_0x860747,_0x46aabd,_0x3a34fa]=_0x5c9f6a[_0x2c30cd(0x32a)](':');_0x13267b[_0x2c30cd(0x2ea)]({'startOffset':Number(_0x308930),'endOffset':Number(_0x5c68b2),'collapsed':_0x308930===_0x5c68b2,'isActive':_0x56de6f==='1','rangeType':_0x860747===_0x3238b4[_0x2c30cd(0x2de)][_0x2c30cd(0x310)]?_0x3238b4[_0x2c30cd(0x2de)][_0x2c30cd(0x310)]:_0x3238b4[_0x2c30cd(0x2de)][_0x2c30cd(0x238)],'segmentId':typeof _0x46aabd==_0x2c30cd(0x12e)?String(_0x46aabd):'','segmentPage':Number(_0x3a34fa!=null?_0x3a34fa:-0x1)});}return _0x13267b[_0x2c30cd(0x1f6)](_0xee258e=>_0xee258e[_0x2c30cd(0x31c)])||(_0x13267b[0x0][_0x2c30cd(0x31c)]=!0x0),_0x13267b;}class _0x464ecb extends _0x3238b4[_0x1b3145(0x218)]{constructor(){const _0x24df07=_0x1b3145;super(...arguments),_0xc84b25(this,_0x24df07(0x171),new _0x1c6f00[(_0x24df07(0x278))](null)),_0xc84b25(this,_0x24df07(0x194),this[_0x24df07(0x171)]['asObservable']());}[_0x1b3145(0x121)](_0x4747c8){const _0x5746c7=_0x1b3145,{unitID:_0x13568c,memberID:_0x3fc43f,textRanges:_0x70d1b8}=_0x4747c8,_0x1091a0=_0x4663a4(_0x70d1b8);if(_0x1091a0==='')return;const _0x537349={'unitID':_0x13568c,'memberID':_0x3fc43f,'selection':_0x1091a0};this[_0x5746c7(0x171)][_0x5746c7(0x173)](_0x537349);}}var _0x2610c1=Object[_0x1b3145(0x270)],_0x1dddbc=(_0x169acf,_0x1cd17a,_0x429fa3,_0x2436a8)=>{const _0x5dbc24=_0x1b3145;for(var _0x36a5ef=_0x2436a8>0x1?void 0x0:_0x2436a8?_0x2610c1(_0x1cd17a,_0x429fa3):_0x1cd17a,_0x58955f=_0x169acf[_0x5dbc24(0x2e0)]-0x1,_0x220e58;_0x58955f>=0x0;_0x58955f--)(_0x220e58=_0x169acf[_0x58955f])&&(_0x36a5ef=_0x220e58(_0x36a5ef)||_0x36a5ef);return _0x36a5ef;},_0x18e964=(_0x3e5262,_0x5f4309)=>(_0x15166e,_0x68155)=>_0x5f4309(_0x15166e,_0x68155,_0x3e5262);const _0x75096e=0x12c,_0x469a3c=0x64;let _0x5db392=class extends _0x3238b4['RxDisposable']{constructor(_0x665de9,_0xe4c65,_0x4ca1c4,_0x259efa,_0x307a15,_0x4d50f4,_0x3708b0,_0xfb6024,_0xfc9be4){const _0x654365=_0x1b3145;super(),_0xc84b25(this,'_online',!0x1),_0xc84b25(this,'_init',!0x1),_0xc84b25(this,_0x654365(0x11e),new _0x1c6f00[(_0x654365(0x278))](new Map())),_0xc84b25(this,_0x654365(0x281),this['_cursorInfo$'][_0x654365(0x29b)]()),_0xc84b25(this,_0x654365(0x371),new _0x1c6f00[(_0x654365(0x278))]([])),_0xc84b25(this,'roomMembers$',this[_0x654365(0x371)][_0x654365(0x30e)](_0x1c6f00[_0x654365(0x293)](_0x75096e))),_0xc84b25(this,_0x654365(0x167),_0x3238b4['debounce'](_0x11de91=>{const _0x459e11=_0x654365,_0x509fa6={'eventID':_0x57c8d5[_0x459e11(0x36d)][_0x459e11(0x12d)],'data':{'unitID':this[_0x459e11(0x399)],'memberID':this[_0x459e11(0x131)][_0x459e11(0x1d4)](),'selection':_0x4663a4(_0x11de91)}};this[_0x459e11(0x131)][_0x459e11(0x361)](_0x509fa6,this['unitID']);},_0x469a3c)),(this[_0x654365(0x399)]=_0x665de9,this['_session']=_0xe4c65,this['_injector']=_0x4ca1c4,this[_0x654365(0x2a3)]=_0x259efa,this['_memberService']=_0x307a15,this[_0x654365(0x3ad)]=_0x4d50f4,this[_0x654365(0x2f1)]=_0x3708b0,this[_0x654365(0x260)]=_0xfb6024,this[_0x654365(0x2ba)]=_0xfc9be4);}get['cursorInfo'](){const _0x226c9d=_0x1b3145;return this[_0x226c9d(0x11e)][_0x226c9d(0x205)]();}get[_0x1b3145(0x345)](){const _0x5902dd=_0x1b3145;return this['_roomMembers$'][_0x5902dd(0x205)]();}[_0x1b3145(0x26b)](){const _0x4d8900=_0x1b3145;super['dispose'](),this['_cursorInfo$'][_0x4d8900(0x173)](new Map()),this[_0x4d8900(0x11e)][_0x4d8900(0x3ae)](),this[_0x4d8900(0x371)][_0x4d8900(0x173)]([]),this[_0x4d8900(0x371)]['complete']();}[_0x1b3145(0x303)](){const _0x1bcfbb=_0x1b3145;this[_0x1bcfbb(0x1a0)]||(this[_0x1bcfbb(0x1a0)]=!0x0,this[_0x1bcfbb(0x131)][_0x1bcfbb(0x201)][_0x1bcfbb(0x30e)](_0x1c6f00[_0x1bcfbb(0xff)](this['dispose$']))[_0x1bcfbb(0x175)](_0x407fb3=>{const _0x6ac5cc=_0x1bcfbb;_0x407fb3===_0x562098[_0x6ac5cc(0x2c3)][_0x6ac5cc(0x3bb)]?this[_0x6ac5cc(0x20e)]():this['_toggleOffline']();}),this[_0x1bcfbb(0x131)]['event$'][_0x1bcfbb(0x30e)](_0x1c6f00[_0x1bcfbb(0xff)](this['dispose$']))[_0x1bcfbb(0x175)](_0x17ba8f=>{const _0x43c15d=_0x1bcfbb,_0xe0136a=_0x17ba8f[_0x43c15d(0x3a5)];_0xe0136a===_0x57c8d5[_0x43c15d(0x36d)][_0x43c15d(0x12d)]&&this[_0x43c15d(0x2d5)](_0x17ba8f),_0xe0136a===_0x57c8d5['CollaborationEvent'][_0x43c15d(0x380)]&&this[_0x43c15d(0x351)](_0x17ba8f);}),this[_0x1bcfbb(0x287)](this[_0x1bcfbb(0x2ba)][_0x1bcfbb(0x106)](_0x4071e6=>{const _0x54debf=_0x1bcfbb,_0x2fd831=_0x4071e6['params'];_0x2fd831!=null&&this[_0x54debf(0x3a8)]&&_0x4071e6['id']===_0xf153d4[_0x54debf(0x2cc)]['id']&&_0x2fd831[_0x54debf(0x24d)]===this[_0x54debf(0x399)]&&_0x2fd831[_0x54debf(0x32b)]===!0x1&&_0x2fd831['ranges'][_0x54debf(0x2e0)]>0x0&&this[_0x54debf(0x167)](_0x2fd831[_0x54debf(0x2ec)]);})),this['_syncEditingCollabCursorService'][_0x1bcfbb(0x194)]['pipe'](_0x1c6f00[_0x1bcfbb(0xff)](this[_0x1bcfbb(0x1a6)]))[_0x1bcfbb(0x175)](_0x2c727f=>{const _0xc3210a=_0x1bcfbb;if((_0x2c727f==null?void 0x0:_0x2c727f['unitID'])!==this[_0xc3210a(0x399)])return;const _0xaf760a={'eventID':_0x57c8d5[_0xc3210a(0x36d)][_0xc3210a(0x12d)],'data':_0x2c727f};this['_onCursorUpdate'](_0xaf760a);}),this[_0x1bcfbb(0x287)](this[_0x1bcfbb(0x2ba)]['onCommandExecuted'](_0x13bfc6=>{const _0x3bcc44=_0x1bcfbb;if(_0x13bfc6[_0x3bcc44(0x21b)]==null)return;const _0x46e9fd=_0x13bfc6['params'];if(_0x13bfc6['id']!==_0xf153d4[_0x3bcc44(0x264)]['id']||_0x46e9fd['unitId']!==this['unitID'])return;const _0x512464={'id':_0x3bcc44(0x266),'params':_0x46e9fd},_0x521b8d=this[_0x3bcc44(0x38f)];for(const [_0x49f1d8,_0x394c50]of _0x521b8d){const _0x3afb96={'id':_0x3bcc44(0x266),'params':{'unitId':this[_0x3bcc44(0x399)],'actions':null,'textRanges':_0x394c50[_0x3bcc44(0x2ec)]}},_0x1db40a=this['_transformService'][_0x3bcc44(0x331)](_0x512464,_0x3afb96,!0x1);if(_0x57c8d5['isTransformMutationFailure'](_0x1db40a))throw _0x1db40a[_0x3bcc44(0x1a7)];_0x521b8d[_0x3bcc44(0x102)](_0x49f1d8,{..._0x394c50,'ranges':_0x1db40a[_0x3bcc44(0x224)][_0x3bcc44(0x21b)][_0x3bcc44(0x174)]});}queueMicrotask(()=>{const _0x33ff38=_0x3bcc44;this[_0x33ff38(0x11e)]['next'](_0x521b8d);});})));}[_0x1b3145(0x2d5)](_0x45c587){const _0x1ac38c=_0x1b3145;var _0x56a9bc,_0xc1316f;const {memberID:_0x518f3b,selection:_0x1bc230}=_0x45c587[_0x1ac38c(0x1bb)],_0x46a5a8=_0x161316(_0x1bc230),_0x2094d8=(_0xc1316f=(_0x56a9bc=this['_memberService'][_0x1ac38c(0x1a2)](this[_0x1ac38c(0x399)],_0x518f3b))==null?void 0x0:_0x56a9bc[_0x1ac38c(0x250)])!=null?_0xc1316f:_0x1ac38c(0x212),_0x181daf={'color':this[_0x1ac38c(0x2a3)]['assignAColorForMemberID'](_0x518f3b),'name':_0x2094d8,'ranges':_0x46a5a8},_0x3e0846=this[_0x1ac38c(0x38f)];_0x3e0846['set'](_0x518f3b,_0x181daf),this[_0x1ac38c(0x11e)][_0x1ac38c(0x173)](_0x3e0846);}[_0x1b3145(0x351)](_0x229cc1){const _0x25d473=_0x1b3145,{memberID:_0x1a856b}=_0x229cc1[_0x25d473(0x1bb)],_0x38f7b7=this['cursorInfo'];_0x38f7b7[_0x25d473(0x2d4)](_0x1a856b),this[_0x25d473(0x11e)][_0x25d473(0x173)](_0x38f7b7);}[_0x1b3145(0x20e)](){const _0x34259e=_0x1b3145;var _0x55b41e;if(this[_0x34259e(0x3a8)]=!0x0,((_0x55b41e=this[_0x34259e(0x260)][_0x34259e(0x2f3)]())==null?void 0x0:_0x55b41e['getUnitId']())!==this[_0x34259e(0x399)])return;const _0x28656b=this[_0x34259e(0x275)]['get'](_0xf153d4['DocSelectionManagerService'])['getDocRanges']();Array[_0x34259e(0x3cd)](_0x28656b)&&_0x28656b[_0x34259e(0x2e0)]>0x0&&this[_0x34259e(0x167)](_0x28656b);}[_0x1b3145(0x3a3)](){const _0x352047=_0x1b3145;this[_0x352047(0x3a8)]=!0x1;}};_0x5db392=_0x1dddbc([_0x18e964(0x2,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x347)])),_0x18e964(0x3,_0x3238b4[_0x1b3145(0x146)](_0x29a11f)),_0x18e964(0x4,_0x3238b4[_0x1b3145(0x146)](_0x562098[_0x1b3145(0x363)])),_0x18e964(0x5,_0x3238b4['Inject'](_0x464ecb)),_0x18e964(0x6,_0x57c8d5[_0x1b3145(0x2da)]),_0x18e964(0x7,_0x3238b4['IUniverInstanceService']),_0x18e964(0x8,_0x3238b4[_0x1b3145(0x1c7)])],_0x5db392);var _0x5c8842=Object[_0x1b3145(0x270)],_0x45a398=(_0x1056e4,_0x4bd44f,_0x2ce2f2,_0xf1fbff)=>{const _0x537159=_0x1b3145;for(var _0x4da86f=_0xf1fbff>0x1?void 0x0:_0xf1fbff?_0x5c8842(_0x4bd44f,_0x2ce2f2):_0x4bd44f,_0x187980=_0x1056e4[_0x537159(0x2e0)]-0x1,_0x336aa9;_0x187980>=0x0;_0x187980--)(_0x336aa9=_0x1056e4[_0x187980])&&(_0x4da86f=_0x336aa9(_0x4da86f)||_0x4da86f);return _0x4da86f;},_0x52a122=(_0x19f4b0,_0x48ee77)=>(_0x502b33,_0x4e59dd)=>_0x48ee77(_0x502b33,_0x4e59dd,_0x19f4b0);const _0x4cf5ed=0x12c,_0xe76dfd=0x64,_0x4a167e=()=>{let _0x4f0c53=[],_0x6db817=!0x1;return _0x364ed5=>{const _0x5df27b=_0x1014;_0x4f0c53[_0x5df27b(0x2ea)](_0x364ed5),_0x6db817||(_0x6db817=!0x0,setTimeout(()=>{const _0x4c7e9a=_0x5df27b;_0x4f0c53[_0x4c7e9a(0x360)](_0xd32e7a=>_0xd32e7a()),_0x4f0c53=[],_0x6db817=!0x1;}));};};let _0x26790a=class extends _0x3238b4[_0x1b3145(0x218)]{constructor(_0x36e74f,_0x2dd217,_0x2495ef,_0x3903d2,_0x49d05e,_0x3319b2,_0x4957ac,_0x432f2d){const _0x4e0bd9=_0x1b3145;super(),_0xc84b25(this,_0x4e0bd9(0x3a8),!0x1),_0xc84b25(this,_0x4e0bd9(0x1a0),!0x1),_0xc84b25(this,_0x4e0bd9(0x11e),new _0x1c6f00[(_0x4e0bd9(0x278))](new Map())),_0xc84b25(this,_0x4e0bd9(0x281),this[_0x4e0bd9(0x11e)][_0x4e0bd9(0x29b)]()),_0xc84b25(this,_0x4e0bd9(0x371),new _0x1c6f00[(_0x4e0bd9(0x278))]([])),_0xc84b25(this,_0x4e0bd9(0x125),this[_0x4e0bd9(0x371)][_0x4e0bd9(0x30e)](_0x1c6f00[_0x4e0bd9(0x293)](_0x4cf5ed))),_0xc84b25(this,'_updateLocalCursor',_0x3238b4[_0x4e0bd9(0x21a)]((_0xecf055,_0x460bd1)=>{const _0xe1e1fe=_0x4e0bd9,_0x162b58={'eventID':_0x57c8d5[_0xe1e1fe(0x36d)][_0xe1e1fe(0x12d)],'data':{'unitID':this[_0xe1e1fe(0x399)],'memberID':this['_session']['getMemberID'](),'selection':_0x2de62[_0xe1e1fe(0x14e)](_0xecf055,_0x460bd1[_0xe1e1fe(0x233)])}};this[_0xe1e1fe(0x131)][_0xe1e1fe(0x361)](_0x162b58,this[_0xe1e1fe(0x399)]);},_0xe76dfd)),(this[_0x4e0bd9(0x399)]=_0x36e74f,this[_0x4e0bd9(0x131)]=_0x2dd217,this[_0x4e0bd9(0x275)]=_0x2495ef,this[_0x4e0bd9(0x2a3)]=_0x3903d2,this['_memberService']=_0x49d05e,this[_0x4e0bd9(0x260)]=_0x3319b2,this[_0x4e0bd9(0x2ba)]=_0x4957ac,this[_0x4e0bd9(0x30b)]=_0x432f2d);}get[_0x1b3145(0x38f)](){const _0x333a8b=_0x1b3145;return this['_cursorInfo$'][_0x333a8b(0x205)]();}get[_0x1b3145(0x345)](){const _0x1febbc=_0x1b3145;return this[_0x1febbc(0x371)][_0x1febbc(0x205)]();}[_0x1b3145(0x26b)](){const _0x5943cf=_0x1b3145;super[_0x5943cf(0x26b)](),this[_0x5943cf(0x11e)]['next'](new Map()),this[_0x5943cf(0x11e)][_0x5943cf(0x3ae)](),this['_roomMembers$'][_0x5943cf(0x173)]([]),this[_0x5943cf(0x371)][_0x5943cf(0x3ae)]();}[_0x1b3145(0x303)](){const _0x1740ed=_0x1b3145;this[_0x1740ed(0x1a0)]||(this[_0x1740ed(0x1a0)]=!0x0,this[_0x1740ed(0x131)][_0x1740ed(0x201)][_0x1740ed(0x30e)](_0x1c6f00[_0x1740ed(0xff)](this[_0x1740ed(0x1a6)]))[_0x1740ed(0x175)](_0x4254e1=>{const _0x19c8e8=_0x1740ed;_0x4254e1===_0x562098[_0x19c8e8(0x2c3)][_0x19c8e8(0x3bb)]?this[_0x19c8e8(0x20e)]():this[_0x19c8e8(0x3a3)]();}),this[_0x1740ed(0x131)][_0x1740ed(0x29a)][_0x1740ed(0x30e)](_0x1c6f00[_0x1740ed(0xff)](this[_0x1740ed(0x1a6)]))[_0x1740ed(0x175)](_0x5e1835=>{const _0x1464d0=_0x1740ed,_0x1f9ba4=_0x5e1835[_0x1464d0(0x3a5)];_0x1f9ba4===_0x57c8d5['CollaborationEvent'][_0x1464d0(0x12d)]&&this[_0x1464d0(0x2d5)](_0x5e1835),_0x1f9ba4===_0x57c8d5[_0x1464d0(0x36d)]['USERS_LEAVE']&&this[_0x1464d0(0x351)](_0x5e1835);}),this[_0x1740ed(0x36a)](),this[_0x1740ed(0x287)](this['_commandService']['onCommandExecuted'](_0x2c0349=>{const _0x4a470e=_0x1740ed;if(this[_0x4a470e(0x3a8)]&&_0x2c0349['id']===_0x3ed8fc[_0x4a470e(0x209)]['id']&&_0x2c0349[_0x4a470e(0x21b)][_0x4a470e(0x24d)]===this[_0x4a470e(0x399)]){const _0x36874a=_0x2c0349[_0x4a470e(0x21b)];this[_0x4a470e(0x167)](_0x36874a[_0x4a470e(0x1f4)],_0x36874a[_0x4a470e(0x248)][0x0]);}})));}[_0x1b3145(0x2d5)](_0x37cf85){const _0x587f7f=_0x1b3145;var _0x509e9b,_0x5dfdca;const {memberID:_0x5e6704,selection:_0x2a87ed}=_0x37cf85['data'],{sheetName:_0x132fe5,range:_0xa3fc19}=_0x2de62[_0x587f7f(0x2df)](_0x2a87ed),_0x2baf2d={'name':(_0x5dfdca=(_0x509e9b=this['_memberService']['getMember'](this[_0x587f7f(0x399)],_0x5e6704))==null?void 0x0:_0x509e9b[_0x587f7f(0x250)])!=null?_0x5dfdca:_0x587f7f(0x212),'range':this[_0x587f7f(0x235)](_0x132fe5,_0xa3fc19),'sheetID':_0x132fe5,'color':this[_0x587f7f(0x2a3)][_0x587f7f(0x2f9)](_0x5e6704),'selection':_0x2a87ed},_0x342cd6=this[_0x587f7f(0x38f)];_0x342cd6[_0x587f7f(0x102)](_0x5e6704,_0x2baf2d),this[_0x587f7f(0x11e)]['next'](_0x342cd6);}[_0x1b3145(0x351)](_0x93e921){const _0x443de2=_0x1b3145,{memberID:_0x187315}=_0x93e921[_0x443de2(0x1bb)],_0x22ad42=this['cursorInfo'];_0x22ad42[_0x443de2(0x2d4)](_0x187315),this[_0x443de2(0x11e)][_0x443de2(0x173)](_0x22ad42);}[_0x1b3145(0x235)](_0x1c5577,_0x7de27b){const _0x160760=_0x1b3145;var _0x5b46b9,_0x5ad2c9;const _0x25da47=(_0x5ad2c9=(_0x5b46b9=this[_0x160760(0x260)][_0x160760(0x160)](this[_0x160760(0x399)]))==null?void 0x0:_0x5b46b9[_0x160760(0x3cf)](_0x1c5577))==null?void 0x0:_0x5ad2c9[_0x160760(0x1d3)]();return(_0x25da47==null?void 0x0:_0x25da47[_0x160760(0x263)](_0x4c776b=>_0x3238b4[_0x160760(0x29e)][_0x160760(0x27a)](_0x4c776b,_0x7de27b)))||_0x7de27b;}[_0x1b3145(0x36a)](){const _0x12fe8c=_0x1b3145,_0x3bc556=new _0x3238b4[(_0x12fe8c(0x2b1))](),_0x10a8d8=_0x4a167e(),_0x33eb13=()=>{const _0x4d7b70=_0x12fe8c;_0x3bc556['dispose']();const _0x171c88=(_0x515eac,_0x193e63,_0x57ea25,_0x1c5639)=>{const _0xc7c252=_0x1014;let _0x11a297=[];switch(_0x515eac['id']){case _0x3ed8fc[_0xc7c252(0x2dc)][_0xc7c252(0x13f)]:{_0x11a297=_0x3ed8fc[_0xc7c252(0x1c2)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc['EffectRefRangId'][_0xc7c252(0x2b5)]:{_0x11a297=_0x3ed8fc[_0xc7c252(0x22e)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc['EffectRefRangId']['InsertColCommandId']:{_0x11a297=_0x3ed8fc[_0xc7c252(0x337)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc[_0xc7c252(0x2dc)]['InsertRangeMoveDownCommandId']:{_0x11a297=_0x3ed8fc[_0xc7c252(0x1fb)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc[_0xc7c252(0x2dc)][_0xc7c252(0x1c4)]:{_0x11a297=_0x3ed8fc[_0xc7c252(0x3a6)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc[_0xc7c252(0x2dc)]['InsertRowCommandId']:{_0x11a297=_0x3ed8fc['handleInsertRow'](_0x515eac,_0x1c5639);break;}case _0x3ed8fc[_0xc7c252(0x2dc)][_0xc7c252(0x25b)]:{_0x11a297=_0x3ed8fc[_0xc7c252(0x144)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc['EffectRefRangId'][_0xc7c252(0x302)]:{_0x11a297=_0x3ed8fc[_0xc7c252(0x274)](_0x515eac,_0x1c5639);break;}case _0x3ed8fc[_0xc7c252(0x2dc)][_0xc7c252(0x161)]:{_0x11a297=_0x3ed8fc[_0xc7c252(0x3c1)](_0x515eac,_0x1c5639);break;}}const _0x1e8e85=_0x3ed8fc[_0xc7c252(0x1ee)](_0x11a297,_0x1c5639),_0x4a86b8=this['cursorInfo'][_0xc7c252(0x111)](_0x193e63);if(_0x4a86b8&&_0x1e8e85){const _0x5c2fae={..._0x4a86b8,'range':_0x1e8e85};this[_0xc7c252(0x38f)]['set'](_0x193e63,_0x5c2fae),_0x10a8d8(()=>{const _0x357560=_0xc7c252,_0x38a13a=this[_0x357560(0x30b)]['registerRefRange'](_0x1e8e85,_0x58de67=>(_0x38a13a[_0x357560(0x26b)](),_0x171c88(_0x58de67,_0x193e63,_0x57ea25,_0x1e8e85)));_0x3bc556[_0x357560(0x2bf)](_0x38a13a);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4d7b70(0x360)]((_0x5b619b,_0xdae53c)=>{const _0x288a0f=_0x4d7b70,{range:_0x3bee64,sheetID:_0xea4f35}=_0x5b619b,_0x2c5936=this[_0x288a0f(0x30b)][_0x288a0f(0x172)](_0x3bee64,_0x4efb78=>(_0x2c5936[_0x288a0f(0x26b)](),_0x171c88(_0x4efb78,_0xdae53c,_0xea4f35,_0x3bee64)));_0x3bc556['add'](_0x2c5936);});};this[_0x12fe8c(0x287)](_0x3238b4[_0x12fe8c(0x2e5)](this[_0x12fe8c(0x11e)][_0x12fe8c(0x175)](()=>{_0x33eb13();})));}[_0x1b3145(0x20e)](){const _0x15e4c9=_0x1b3145;var _0x3341eb,_0x2ba904;if(this[_0x15e4c9(0x3a8)]=!0x0,((_0x3341eb=this[_0x15e4c9(0x260)]['getFocusedUnit']())==null?void 0x0:_0x3341eb[_0x15e4c9(0x259)]())!==this[_0x15e4c9(0x399)])return;const _0x121978=(_0x2ba904=this[_0x15e4c9(0x275)][_0x15e4c9(0x111)](_0x3ed8fc[_0x15e4c9(0x324)])[_0x15e4c9(0x3ab)]())==null?void 0x0:_0x2ba904[0x0],_0x136562=this[_0x15e4c9(0x260)][_0x15e4c9(0x271)](_0x3238b4['UniverInstanceType'][_0x15e4c9(0x12b)])[_0x15e4c9(0x368)]();_0x121978&&_0x136562&&this[_0x15e4c9(0x167)](_0x136562[_0x15e4c9(0x1d2)](),_0x121978);}[_0x1b3145(0x3a3)](){this['_online']=!0x1;}};_0x26790a=_0x45a398([_0x52a122(0x2,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x347)])),_0x52a122(0x3,_0x3238b4[_0x1b3145(0x146)](_0x29a11f)),_0x52a122(0x4,_0x3238b4[_0x1b3145(0x146)](_0x562098['MemberService'])),_0x52a122(0x5,_0x3238b4[_0x1b3145(0x2be)]),_0x52a122(0x6,_0x3238b4[_0x1b3145(0x1c7)]),_0x52a122(0x7,_0x3238b4[_0x1b3145(0x146)](_0x3ed8fc[_0x1b3145(0x37e)]))],_0x26790a);var _0x24d87d=Object[_0x1b3145(0x270)],_0x1866d4=(_0x1503a3,_0x22356d,_0x510949,_0x13fa2a)=>{const _0x1c4787=_0x1b3145;for(var _0xced473=_0x13fa2a>0x1?void 0x0:_0x13fa2a?_0x24d87d(_0x22356d,_0x510949):_0x22356d,_0x5b664d=_0x1503a3[_0x1c4787(0x2e0)]-0x1,_0x50b455;_0x5b664d>=0x0;_0x5b664d--)(_0x50b455=_0x1503a3[_0x5b664d])&&(_0xced473=_0x50b455(_0xced473)||_0xced473);return _0xced473;},_0x41c665=(_0xaa3e67,_0x862609)=>(_0x5c01eb,_0x2c233d)=>_0x862609(_0x5c01eb,_0x2c233d,_0xaa3e67);let _0xf2e975=class extends _0x3238b4[_0x1b3145(0x218)]{constructor(_0x364d44,_0x398f15,_0xf7f934){const _0x4d2138=_0x1b3145;super(),_0xc84b25(this,_0x4d2138(0x255),new Map()),_0xc84b25(this,_0x4d2138(0x26d),new _0x1c6f00[(_0x4d2138(0x3b8))]()),(this[_0x4d2138(0x260)]=_0x364d44,this['_injector']=_0x398f15,this[_0x4d2138(0x2a6)]=_0xf7f934,this[_0x4d2138(0x1a0)]());}[_0x1b3145(0x26b)](){const _0x5dee7c=_0x1b3145;super[_0x5dee7c(0x26b)](),this[_0x5dee7c(0x26d)]['complete'](),this[_0x5dee7c(0x255)][_0x5dee7c(0x360)](_0x37403e=>_0x37403e[_0x5dee7c(0x26b)]());}[_0x1b3145(0x152)](_0x3c23fc){const _0x355a6b=_0x1b3145;return this['_entities'][_0x355a6b(0x305)](_0x3c23fc)?this[_0x355a6b(0x255)]['get'](_0x3c23fc)[_0x355a6b(0x281)]:this[_0x355a6b(0x26d)]['pipe'](_0x1c6f00[_0x355a6b(0x1b5)](_0x37f30e=>_0x37f30e[_0x355a6b(0x399)]===_0x3c23fc),_0x1c6f00[_0x355a6b(0x2fb)](_0x3c2520=>_0x3c2520[_0x355a6b(0x281)]));}[_0x1b3145(0x1a0)](){const _0x11ccc8=_0x1b3145;this[_0x11ccc8(0x260)][_0x11ccc8(0x147)](_0x3238b4[_0x11ccc8(0x1a5)][_0x11ccc8(0x12b)])[_0x11ccc8(0x30e)](_0x1c6f00[_0x11ccc8(0xff)](this[_0x11ccc8(0x1a6)]))[_0x11ccc8(0x175)](async _0x5d1f99=>{const _0x346c41=_0x11ccc8,_0x12964b=_0x5d1f99[_0x346c41(0x259)](),_0x50df83=await this[_0x346c41(0x364)](_0x12964b);this['_entityInit$'][_0x346c41(0x173)](_0x50df83),this['_entities'][_0x346c41(0x102)](_0x12964b,_0x50df83);}),this[_0x11ccc8(0x260)][_0x11ccc8(0x147)](_0x3238b4['UniverInstanceType'][_0x11ccc8(0x181)])[_0x11ccc8(0x30e)](_0x1c6f00[_0x11ccc8(0xff)](this[_0x11ccc8(0x1a6)]))[_0x11ccc8(0x30e)](_0x1c6f00[_0x11ccc8(0x1b5)](_0x223f2e=>!_0x223f2e[_0x11ccc8(0x259)]()[_0x11ccc8(0x2ce)]('__')))[_0x11ccc8(0x175)](async _0x4d9669=>{const _0x1340bd=_0x11ccc8,_0x57bb00=_0x4d9669[_0x1340bd(0x259)](),_0x12932e=await this[_0x1340bd(0x258)](_0x57bb00);this[_0x1340bd(0x26d)][_0x1340bd(0x173)](_0x12932e),this[_0x1340bd(0x255)][_0x1340bd(0x102)](_0x57bb00,_0x12932e);}),_0x1c6f00['merge'](this[_0x11ccc8(0x260)]['getTypeOfUnitDisposed$'](_0x3238b4[_0x11ccc8(0x1a5)][_0x11ccc8(0x181)]),this['_univerInstanceService'][_0x11ccc8(0x24e)](_0x3238b4[_0x11ccc8(0x1a5)][_0x11ccc8(0x12b)]))['pipe'](_0x1c6f00[_0x11ccc8(0xff)](this[_0x11ccc8(0x1a6)]))[_0x11ccc8(0x175)](_0x528a0d=>{const _0x5eb147=_0x11ccc8,_0x44b6c8=_0x528a0d[_0x5eb147(0x259)](),_0x459ab4=this[_0x5eb147(0x255)][_0x5eb147(0x111)](_0x44b6c8);_0x459ab4&&(_0x459ab4[_0x5eb147(0x26b)](),this['_entities'][_0x5eb147(0x2d4)](_0x44b6c8));});}async[_0x1b3145(0x364)](_0x51c2bd){const _0xd79a4f=_0x1b3145,_0x4c4746=await this[_0xd79a4f(0x2a6)]['requireSession'](_0x51c2bd),_0x4c02ce=this['_injector'][_0xd79a4f(0x261)](_0x26790a,_0x51c2bd,_0x4c4746);return _0x4c02ce[_0xd79a4f(0x303)](),_0x4c02ce;}async[_0x1b3145(0x258)](_0x4fe652){const _0x30c46c=_0x1b3145,_0x12f778=await this[_0x30c46c(0x2a6)][_0x30c46c(0x2d7)](_0x4fe652),_0x34773a=this[_0x30c46c(0x275)]['createInstance'](_0x5db392,_0x4fe652,_0x12f778);return _0x34773a[_0x30c46c(0x303)](),_0x34773a;}};_0xf2e975=_0x1866d4([_0x41c665(0x0,_0x3238b4[_0x1b3145(0x2be)]),_0x41c665(0x1,_0x3238b4['Inject'](_0x3238b4[_0x1b3145(0x347)])),_0x41c665(0x2,_0x3238b4[_0x1b3145(0x146)](_0x562098[_0x1b3145(0x13b)]))],_0xf2e975);const _0x1a445f=0x14,_0x2026f3=0xc8,_0x2d1835=0x4,_0x2847fb=0x5;function _0x2f4e2d(_0x133180,_0x582f50){const _0xf02f57=_0x1b3145;let {radius:_0xb30741,width:_0x2022c7,height:_0x4c6658}=_0x582f50;_0xb30741=_0xb30741!=null?_0xb30741:0x0,_0x2022c7=_0x2022c7!=null?_0x2022c7:0x1e,_0x4c6658=_0x4c6658!=null?_0x4c6658:0x1e;let _0x5a47fe=0x0,_0x177080=0x0,_0x4952e0=0x0;_0x5a47fe=_0x177080=_0x4952e0=Math['min'](_0xb30741,_0x2022c7/0x2,_0x4c6658/0x2),_0x133180[_0xf02f57(0x166)](),_0x133180[_0xf02f57(0x2a8)](_0x5a47fe,0x0),_0x133180[_0xf02f57(0x373)](_0x2022c7-_0x177080,0x0),_0x133180[_0xf02f57(0x25f)](_0x2022c7-_0x177080,_0x177080,_0x177080,Math['PI']*0x3/0x2,0x0,!0x1),_0x133180['lineTo'](_0x2022c7,_0x4c6658-_0x4952e0),_0x133180[_0xf02f57(0x25f)](_0x2022c7-_0x4952e0,_0x4c6658-_0x4952e0,_0x4952e0,0x0,Math['PI']/0x2,!0x1),_0x133180[_0xf02f57(0x373)](0x0,_0x4c6658),_0x133180['lineTo'](0x0,_0x5a47fe),_0x133180['arc'](_0x5a47fe,_0x5a47fe,_0x5a47fe,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x133180[_0xf02f57(0x19a)](),_0x582f50['fill']&&(_0x133180[_0xf02f57(0x139)](),_0x133180['fillStyle']=_0x582f50[_0xf02f57(0x1d5)],_0x582f50[_0xf02f57(0x39a)]===_0xf02f57(0x16c)?_0x133180[_0xf02f57(0x1d5)]('evenodd'):_0x133180[_0xf02f57(0x1d5)](),_0x133180[_0xf02f57(0x35f)]());}class _0x2e4121 extends _0xcb617a[_0x1b3145(0x168)]{constructor(_0x444ebd,_0x4b815b){const _0x3b6004=_0x1b3145;super(_0x444ebd,_0x4b815b),_0xc84b25(this,'color'),_0xc84b25(this,'text'),(this[_0x3b6004(0x19f)]=_0x4b815b==null?void 0x0:_0x4b815b[_0x3b6004(0x19f)],this[_0x3b6004(0x2f5)]=_0x4b815b==null?void 0x0:_0x4b815b['text']);}static[_0x1b3145(0x2d3)](_0x936e93,_0x138ec7){const _0x4455b6=_0x1b3145,{text:_0x29533e,color:_0x4b1166}=_0x138ec7;_0x936e93['save'](),_0x936e93['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1aeafe=_0x936e93['measureText'](_0x29533e)[_0x4455b6(0x200)],_0x3fd77f=Math['min'](_0x1aeafe+0x2*_0x2d1835,_0x2026f3);_0x2f4e2d(_0x936e93,{'height':_0x1a445f,'radius':0x4,'width':_0x3fd77f,'fill':_0x4b1166}),_0x936e93[_0x4455b6(0x2db)]=_0x4455b6(0x1ab);const _0x38eab5=_0x2d1835,_0x4808a3=_0x1a445f-_0x2847fb,_0x338030=_0x2026f3-0x2*_0x2d1835;if(_0x1aeafe>_0x338030){let _0x3e3369='',_0x181a50=0x0;for(const _0x3b1ab9 of _0x29533e){const _0x42f38c=_0x936e93[_0x4455b6(0x28b)](_0x3b1ab9)[_0x4455b6(0x200)];if(_0x181a50+_0x42f38c<=_0x338030-_0x936e93[_0x4455b6(0x28b)]('...')[_0x4455b6(0x200)])_0x3e3369+=_0x3b1ab9,_0x181a50+=_0x42f38c;else{_0x3e3369+=_0x4455b6(0x273);break;}}_0x936e93[_0x4455b6(0x32f)](_0x3e3369,_0x38eab5,_0x4808a3);}else _0x936e93[_0x4455b6(0x32f)](_0x29533e,_0x38eab5,_0x4808a3);_0x936e93[_0x4455b6(0x35f)]();}['_draw'](_0xd3dd0f){const _0x2b69ef=_0x1b3145;_0x2e4121[_0x2b69ef(0x2d3)](_0xd3dd0f,this);}}const _0x48a5c8=_0x1b3145(0x298),_0x297508=_0x1b3145(0x2c7),_0x44f24d=_0x1b3145(0x3b9),_0xf5d4dc=0x6,_0x1dbdd1=1.5,_0x8638c4=0x4,_0x7e2406=1.5,_0x45331c=_0x1b3145(0x3cb);class _0x2bf31f{constructor(_0xbff1d0,_0x5980cb,_0x481f60,_0x1a26f3){const _0x496ea8=_0x1b3145;_0xc84b25(this,_0x496ea8(0x1e2),[]),_0xc84b25(this,_0x496ea8(0x19d),null),_0xc84b25(this,_0x496ea8(0x1ae),null),_0xc84b25(this,_0x496ea8(0x382),null),_0xc84b25(this,_0x496ea8(0x148),null),_0xc84b25(this,_0x496ea8(0x39d),null),(this[_0x496ea8(0x10b)]=_0xbff1d0,this[_0x496ea8(0x1cc)]=_0x5980cb,this[_0x496ea8(0x277)]=_0x481f60,this['_document']=_0x1a26f3,this[_0x496ea8(0x2ef)]());}set[_0x1b3145(0x118)](_0xb89608){const _0x18fba1=_0x1b3145;_0xb89608?(this[_0x18fba1(0x382)]&&this['_anchorDot']['hide'](),this[_0x18fba1(0x1ae)]&&this[_0x18fba1(0x1ae)][_0x18fba1(0x1b7)]()):(this[_0x18fba1(0x382)]&&this['_anchorDot'][_0x18fba1(0x1b7)](),this[_0x18fba1(0x1ae)]&&this[_0x18fba1(0x1ae)][_0x18fba1(0x252)]());}[_0x1b3145(0x26b)](){const _0x41c639=_0x1b3145;for(const _0x22a1e5 of this['_shapes'])_0x22a1e5[_0x41c639(0x26b)]();this[_0x41c639(0x1ae)]&&this['_textBubble'][_0x41c639(0x26b)](),this[_0x41c639(0x382)]&&this[_0x41c639(0x382)][_0x41c639(0x26b)](),this[_0x41c639(0x19d)]&&this[_0x41c639(0x19d)]['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x1b3145(0x2ef)](){const _0x2528d2=_0x1b3145;var _0x2d490b;const {_docSkeleton:_0x45145a,_document:_0xa342ca}=this,{color:_0x439d39,name:_0x2361dc,ranges:_0x848878}=this['_cursor'],_0x450c99=_0xa342ca[_0x2528d2(0x116)](),{docsLeft:_0x5a35f8,docsTop:_0x26d311}=_0x450c99,_0x4e8b6e=new _0x2260ff[(_0x2528d2(0x1e1))](_0x450c99,_0x45145a);for(const {startOffset:_0x343a69,endOffset:_0x2b90a5,rangeType:_0x174425,segmentId:_0x15d486,segmentPage:_0x13614a,collapsed:_0x221382,isActive:_0x289035}of _0x848878){const _0x2c2600=_0x45145a['findNodePositionByCharIndex'](_0x343a69,!0x0,_0x15d486,_0x13614a);let _0x401286=_0x45145a[_0x2528d2(0x1b4)](_0x2b90a5,!0x0,_0x15d486,_0x13614a);if(_0x401286==null&&(_0x401286=_0x45145a[_0x2528d2(0x1b4)](_0x2b90a5-0x1,!0x1,_0x15d486,_0x13614a)),_0x289035){const {contentBoxPointGroup:_0x246a7a}=_0x4e8b6e[_0x2528d2(0x2dd)](_0x401286,_0x401286);if(_0x246a7a[_0x2528d2(0x2e0)]===0x0)continue;this[_0x2528d2(0x2a2)](_0x439d39,_0x246a7a,_0x5a35f8,_0x26d311,_0x2361dc),this['_eventUnsubscribe']=this[_0x2528d2(0x2b4)]();}if(_0x2c2600&&_0x401286){if(_0x174425===_0x3238b4['DOC_RANGE_TYPE']['RECT']){const _0x436ce8=new _0x2260ff[(_0x2528d2(0x32c))](_0x450c99,_0x45145a),{pointGroup:_0x5efc7c}=(_0x2d490b=_0x436ce8[_0x2528d2(0x2dd)](_0x2c2600,_0x401286))!=null?_0x2d490b:{};if(_0x5efc7c==null||_0x5efc7c[_0x2528d2(0x2e0)]===0x0)continue;this['_drawRectRange'](_0x439d39,_0x5efc7c,_0x5a35f8,_0x26d311);}else{if(!_0x221382){const {borderBoxPointGroup:_0x2bfc76}=_0x4e8b6e[_0x2528d2(0x2dd)](_0x2c2600,_0x401286);if(_0x2bfc76[_0x2528d2(0x2e0)]===0x0)continue;this['_drawTextRange'](_0x439d39,_0x2bfc76,_0x5a35f8,_0x26d311);}}}}}['_drawAnchor'](_0x5f21da,_0x2c3000,_0x5a7157,_0x4b8e68,_0x2012c9){const _0xda8c17=_0x1b3145,_0x233702=this[_0xda8c17(0x100)](_0x2c3000),{left:_0x28dbdf,top:_0x43c760,height:_0x21a3ad}=_0x233702,_0x55a4a5=this['_getScale'](),_0x3b4215=_0x7e2406/_0x55a4a5,_0x2acf9=new _0xcb617a[(_0xda8c17(0x1c6))](_0x48a5c8+_0x3238b4[_0xda8c17(0x3be)](_0xf5d4dc),{'left':_0x28dbdf+_0x5a7157-_0x3b4215,'top':_0x43c760+_0x4b8e68,'height':_0x21a3ad,'width':_0x1dbdd1,'fill':_0x5f21da||_0xcb617a[_0xda8c17(0x141)](_0x3238b4['COLORS'][_0xda8c17(0x2f2)],0x0),'strokeWidth':_0x3b4215,'stroke':_0x45331c,'evented':!0x0});this[_0xda8c17(0x19d)]=_0x2acf9,this[_0xda8c17(0x1cc)][_0xda8c17(0x285)](_0x2acf9,_0x2260ff[_0xda8c17(0x30a)]);const _0x2c79bf=new _0xcb617a[(_0xda8c17(0x1c6))](_0x48a5c8+_0x3238b4['generateRandomId'](_0xf5d4dc),{'left':_0x28dbdf+_0x5a7157-_0x3b4215,'top':_0x43c760+_0x4b8e68-_0x8638c4/0x2,'height':_0x8638c4,'width':_0x8638c4,'fill':_0x5f21da||_0xcb617a[_0xda8c17(0x141)](_0x3238b4[_0xda8c17(0x184)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x5f21da||_0xcb617a[_0xda8c17(0x141)](_0x3238b4['COLORS']['black'],0x0),'evented':!0x1});this[_0xda8c17(0x382)]=_0x2c79bf,this['_scene'][_0xda8c17(0x285)](_0x2c79bf,_0x2260ff[_0xda8c17(0x30a)]);const _0x16b04e=new _0x2e4121(_0x48a5c8+_0x3238b4['generateRandomId'](_0xf5d4dc),{'left':_0x28dbdf+_0x5a7157-_0x3b4215,'top':_0x43c760+_0x4b8e68-_0x1a445f,'text':_0x2012c9,'color':_0x5f21da});this[_0xda8c17(0x1ae)]=_0x16b04e,this[_0xda8c17(0x1cc)][_0xda8c17(0x285)](_0x16b04e,_0x2260ff[_0xda8c17(0x30a)]),this['_hover']=!0x1;}['_handleHover'](){const _0x3841f9=_0x1b3145,_0x1941fb=this[_0x3841f9(0x19d)][_0x3841f9(0x323)][_0x3841f9(0x35c)](()=>{const _0x386b23=_0x3841f9;this[_0x386b23(0x118)]=!0x0;}),_0x5cf3e0=this[_0x3841f9(0x19d)][_0x3841f9(0x3c9)][_0x3841f9(0x35c)](()=>{const _0x27ebc7=_0x3841f9;this[_0x27ebc7(0x148)]&&clearTimeout(this[_0x27ebc7(0x148)]),this[_0x27ebc7(0x148)]=setTimeout(()=>{const _0x260cb1=_0x27ebc7;this[_0x260cb1(0x118)]=!0x1;},0x7d0);});return()=>{const _0x1336c2=_0x3841f9;_0x1941fb[_0x1336c2(0x365)](),_0x5cf3e0[_0x1336c2(0x365)]();};}[_0x1b3145(0x1aa)](_0x539354,_0xb7c66a,_0x143766,_0x2d6a8c){const _0x31e3d5=_0x1b3145,_0x3d9a7f=new _0x3238b4[(_0x31e3d5(0x179))](_0x539354)[_0x31e3d5(0x3c4)](0.2)[_0x31e3d5(0x354)](),_0x1271a0=new _0xcb617a[(_0x31e3d5(0x37d))](_0x297508+_0x3238b4[_0x31e3d5(0x3be)](_0xf5d4dc),{'pointsGroup':_0xb7c66a,'fill':_0x3d9a7f||_0xcb617a[_0x31e3d5(0x141)](_0x3238b4[_0x31e3d5(0x184)]['black'],0.2),'left':_0x143766,'top':_0x2d6a8c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x31e3d5(0x1e2)]['push'](_0x1271a0),this[_0x31e3d5(0x1cc)][_0x31e3d5(0x285)](_0x1271a0,_0x2260ff[_0x31e3d5(0x30a)]);}[_0x1b3145(0x357)](_0x4a0252,_0x208836,_0x4f38fb,_0x1fa25c){const _0x4e537e=_0x1b3145,_0x197557=new _0x3238b4[(_0x4e537e(0x179))](_0x4a0252)['setAlpha'](0.2)['toRgbString'](),_0x4c7938=new _0xcb617a['RegularPolygon'](_0x44f24d+_0x3238b4[_0x4e537e(0x3be)](_0xf5d4dc),{'pointsGroup':_0x208836,'fill':_0x197557||_0xcb617a['getColor'](_0x3238b4['COLORS'][_0x4e537e(0x2f2)],0.2),'left':_0x4f38fb,'top':_0x1fa25c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e537e(0x1e2)]['push'](_0x4c7938),this[_0x4e537e(0x1cc)][_0x4e537e(0x285)](_0x4c7938,_0x2260ff[_0x4e537e(0x30a)]);}[_0x1b3145(0x100)](_0x3cd99e){const _0x187998=_0x3cd99e[0x0],_0x521f71=_0x187998[0x0],_0x429280=_0x187998[0x2],{x:_0x32d9e7,y:_0x4bab19}=_0x521f71,{x:_0xdbb270,y:_0x343418}=_0x429280;return{'left':_0x32d9e7,'top':_0x4bab19,'width':_0xdbb270-_0x32d9e7,'height':_0x343418-_0x4bab19};}[_0x1b3145(0x15a)](){const _0x23df7f=_0x1b3145,{scaleX:_0x42a97e,scaleY:_0x55dbf6}=this['_scene'][_0x23df7f(0x119)]();return Math[_0x23df7f(0x10a)](_0x42a97e,_0x55dbf6);}}var _0x44e343=Object[_0x1b3145(0x270)],_0x434c9a=(_0x24d0e0,_0x3e2748,_0x63ded7,_0x1fa55e)=>{const _0x4f397d=_0x1b3145;for(var _0x47dddb=_0x1fa55e>0x1?void 0x0:_0x1fa55e?_0x44e343(_0x3e2748,_0x63ded7):_0x3e2748,_0x3e2eab=_0x24d0e0[_0x4f397d(0x2e0)]-0x1,_0x34a660;_0x3e2eab>=0x0;_0x3e2eab--)(_0x34a660=_0x24d0e0[_0x3e2eab])&&(_0x47dddb=_0x34a660(_0x47dddb)||_0x47dddb);return _0x47dddb;},_0x4c8fa6=(_0x2acd4c,_0x297ce7)=>(_0x577e60,_0x4fdd27)=>_0x297ce7(_0x577e60,_0x4fdd27,_0x2acd4c);let _0x23d495=class extends _0x3238b4[_0x1b3145(0x218)]{constructor(_0x479712,_0x5bd201,_0x44c6ba,_0x1bf41a,_0x86cc0f){const _0xe4e1c9=_0x1b3145;super(),_0xc84b25(this,_0xe4e1c9(0x35e),[]),_0xc84b25(this,_0xe4e1c9(0x2cd),[]),(this[_0xe4e1c9(0x2b9)]=_0x479712,this['_docSkeletonManagerService']=_0x5bd201,this[_0xe4e1c9(0x134)]=_0x44c6ba,this[_0xe4e1c9(0x2ba)]=_0x1bf41a,this[_0xe4e1c9(0x34b)]=_0x86cc0f,this[_0xe4e1c9(0x1a0)]());}[_0x1b3145(0x1a0)](){const _0x34e4e8=_0x1b3145,_0x3e5d57=this[_0x34e4e8(0x2b9)][_0x34e4e8(0x24d)],_0x32d6c7=this[_0x34e4e8(0x3bd)];this[_0x34e4e8(0x287)](_0x1c6f00[_0x34e4e8(0x128)]([this[_0x34e4e8(0x134)][_0x34e4e8(0x152)](_0x3e5d57),this[_0x34e4e8(0x34b)][_0x34e4e8(0x312)]])[_0x34e4e8(0x30e)](_0x3663d5[_0x34e4e8(0x295)](([_0x1e6cf8,_0x44d763])=>({'skeleton':_0x32d6c7[_0x34e4e8(0x122)](),'cursors':[..._0x1e6cf8[_0x34e4e8(0x27d)]()][_0x34e4e8(0x105)](_0x48e8cb=>({..._0x48e8cb,'color':this['_themeService'][_0x34e4e8(0x1d9)](_0x48e8cb[_0x34e4e8(0x19f)])}))})))['subscribe'](_0x5e1250=>{const _0x40a3a1=_0x34e4e8;if(this[_0x40a3a1(0x22d)](),_0x5e1250){const {skeleton:_0x35a55f,cursors:_0x19cd60}=_0x5e1250;this['_updateCollabCursors'](_0x35a55f,_0x19cd60);}})),this[_0x34e4e8(0x257)](),this[_0x34e4e8(0x177)]();}[_0x1b3145(0x2e7)](_0x435a3d,_0x35b95d){const _0x53699b=_0x1b3145,{scene:_0x35efde,mainComponent:_0x247c9d}=this[_0x53699b(0x2b9)],_0x3ce87f=_0x35b95d[_0x53699b(0x295)](_0x2dfb98=>new _0x2bf31f(_0x2dfb98,_0x35efde,_0x435a3d,_0x247c9d));this[_0x53699b(0x35e)]=_0x3ce87f,this['_cursors']=_0x35b95d;}[_0x1b3145(0x392)](){const _0x57fe77=_0x1b3145;this['_removeCollabCursors']();const {scene:_0xaae0b,mainComponent:_0x195699}=this['_context'],_0x5da4cf=this['_docSkeletonManagerService']['getSkeleton'](),_0x4f63ec=this[_0x57fe77(0x2cd)][_0x57fe77(0x295)](_0x324067=>new _0x2bf31f(_0x324067,_0xaae0b,_0x5da4cf,_0x195699));this['_cursorShapes']=_0x4f63ec;}[_0x1b3145(0x22d)](){const _0x2ca437=_0x1b3145;this[_0x2ca437(0x35e)][_0x2ca437(0x360)](_0x22cc6d=>_0x22cc6d['dispose']()),this['_cursorShapes']=[];}[_0x1b3145(0x177)](){const _0x15048d=_0x1b3145,_0x2603cc=[_0x2260ff['SetDocZoomRatioOperation']['id']];this[_0x15048d(0x287)](this[_0x15048d(0x2ba)][_0x15048d(0x106)](_0x2a8bb4=>{const _0x2d18f9=_0x15048d;_0x2603cc['includes'](_0x2a8bb4['id'])&&_0x2a8bb4['params'][_0x2d18f9(0x24d)]===this[_0x2d18f9(0x2b9)]['unitId']&&this[_0x2d18f9(0x392)]();}));}[_0x1b3145(0x257)](){const _0x270bd9=_0x1b3145;this[_0x270bd9(0x287)](_0x3238b4[_0x270bd9(0x2e4)](this[_0x270bd9(0x2b9)]['engine']['onTransformChange$'])[_0x270bd9(0x30e)](_0x3663d5['filter'](_0x42db89=>_0x42db89['type']===_0xcb617a[_0x270bd9(0x16a)][_0x270bd9(0x1cd)]),_0x3663d5[_0x270bd9(0x216)](0x10))[_0x270bd9(0x175)](()=>{const _0x33188e=_0x270bd9;this[_0x33188e(0x392)]();}));}};_0x23d495=_0x434c9a([_0x4c8fa6(0x1,_0x3238b4['Inject'](_0xf153d4['DocSkeletonManagerService'])),_0x4c8fa6(0x2,_0x3238b4[_0x1b3145(0x146)](_0xf2e975)),_0x4c8fa6(0x3,_0x3238b4[_0x1b3145(0x1c7)]),_0x4c8fa6(0x4,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x20a)]))],_0x23d495);const _0x5de5d2=0x1,_0x5093fa=1.5;class _0x47b0f3 extends _0xcb617a[_0x1b3145(0x168)]{constructor(_0x309030,_0x4c0476){const _0x1865e0=_0x1b3145;super(_0x309030,_0x4c0476),_0xc84b25(this,_0x1865e0(0x24c)),_0xc84b25(this,'_hovered',!0x1),_0xc84b25(this,_0x1865e0(0x1a1)),_0xc84b25(this,'_name',''),_0xc84b25(this,'_labelPosition',_0x1865e0(0x25a)),_0xc84b25(this,_0x1865e0(0x239)),(_0x4c0476&&this['setShapeProps'](_0x4c0476),this[_0x1865e0(0x323)][_0x1865e0(0x35c)](()=>this[_0x1865e0(0x16b)]({'hovered':!0x0})),this[_0x1865e0(0x3c9)]['subscribeEvent'](()=>this[_0x1865e0(0x16b)]({'hovered':!0x1})));}[_0x1b3145(0x16b)](_0xfdb415){const _0x5f380a=_0x1b3145;var _0x4fc991,_0x4fce9b,_0x4bde44,_0x40e926,_0x5463d7,_0x51098d;this[_0x5f380a(0x24c)]=(_0x4fc991=_0xfdb415[_0x5f380a(0x19f)])!=null?_0x4fc991:this[_0x5f380a(0x24c)],this[_0x5f380a(0x36b)]=(_0x4fce9b=_0xfdb415['hovered'])!=null?_0x4fce9b:this['_hovered'],this[_0x5f380a(0x1a1)]=(_0x4bde44=_0xfdb415[_0x5f380a(0x233)])!=null?_0x4bde44:this['_range'],this['_name']=(_0x40e926=_0xfdb415[_0x5f380a(0x250)])!=null?_0x40e926:this['_name'],this['_labelPosition']=(_0x5463d7=_0xfdb415['labelPosition'])!=null?_0x5463d7:this['_labelPosition'],this[_0x5f380a(0x239)]=(_0x51098d=_0xfdb415['backgroundColor'])!=null?_0x51098d:this[_0x5f380a(0x239)],this[_0x5f380a(0x2ff)]({'width':_0xfdb415[_0x5f380a(0x200)],'height':_0xfdb415[_0x5f380a(0x156)]});}['onMouseMove'](_0x17bb28){const _0x23f327=_0x1b3145,{row:_0x4b5f21,column:_0x24a9f8}=_0x17bb28;if(_0x4b5f21>=this[_0x23f327(0x1a1)][_0x23f327(0x1da)]&&_0x4b5f21<=this[_0x23f327(0x1a1)][_0x23f327(0x31a)]&&_0x24a9f8>=this[_0x23f327(0x1a1)][_0x23f327(0x283)]&&_0x24a9f8<=this[_0x23f327(0x1a1)]['endColumn']){this[_0x23f327(0x16b)]({'hovered':!0x0});return;}this[_0x23f327(0x16b)]({'hovered':!0x1});}[_0x1b3145(0x204)](_0x206057){return!0x1;}['_draw'](_0x38f319){const _0x5b2c44=_0x1b3145;_0xcb617a[_0x5b2c44(0x1c6)][_0x5b2c44(0x2d3)](_0x38f319,{'width':this[_0x5b2c44(0x200)],'height':this[_0x5b2c44(0x156)],'strokeWidth':_0x5093fa,'stroke':this[_0x5b2c44(0x24c)],'evented':!0x1,'fill':this[_0x5b2c44(0x239)]}),this[_0x5b2c44(0x36b)]&&(_0x38f319['save'](),_0x38f319[_0x5b2c44(0x2d1)](0x1,0x0,0x0,0x1,this[_0x5b2c44(0x200)],this[_0x5b2c44(0x15e)]===_0x5b2c44(0x220)?0x0:-_0x1a445f),_0x2e4121[_0x5b2c44(0x2d3)](_0x38f319,{'text':this[_0x5b2c44(0x29d)],'color':this[_0x5b2c44(0x24c)]}),_0x38f319[_0x5b2c44(0x35f)]());}}var _0x10f293=Object[_0x1b3145(0x270)],_0x389d9e=(_0x2b349b,_0x4682d5,_0x1cd0d1,_0x161ba1)=>{const _0x444220=_0x1b3145;for(var _0x459d8d=_0x161ba1>0x1?void 0x0:_0x161ba1?_0x10f293(_0x4682d5,_0x1cd0d1):_0x4682d5,_0x4d230d=_0x2b349b[_0x444220(0x2e0)]-0x1,_0x17b930;_0x4d230d>=0x0;_0x4d230d--)(_0x17b930=_0x2b349b[_0x4d230d])&&(_0x459d8d=_0x17b930(_0x459d8d)||_0x459d8d);return _0x459d8d;},_0x558fd6=(_0x2446a7,_0x4763db)=>(_0x1aaa3b,_0x4cec5e)=>_0x4763db(_0x1aaa3b,_0x4cec5e,_0x2446a7);const _0x47de2d=0x1389;let _0x55c3b2=class extends _0x3238b4[_0x1b3145(0x218)]{constructor(_0x26661e,_0x5be53c,_0x1483af,_0x290427){const _0x39f4b9=_0x1b3145;super(),_0xc84b25(this,_0x39f4b9(0x2cd),new Set()),_0xc84b25(this,_0x39f4b9(0x15f),null),(this[_0x39f4b9(0x2b9)]=_0x26661e,this[_0x39f4b9(0x1ed)]=_0x5be53c,this[_0x39f4b9(0x134)]=_0x1483af,this[_0x39f4b9(0x34b)]=_0x290427,this[_0x39f4b9(0x1a0)]());}[_0x1b3145(0x1a0)](){const _0x51073b=_0x1b3145;this[_0x51073b(0x1ed)]['currentSkeleton$'][_0x51073b(0x30e)](_0x3663d5['takeUntil'](this[_0x51073b(0x1a6)]),_0x3663d5[_0x51073b(0x2fb)](_0x4114ef=>{const _0x1dd1a3=_0x51073b;if(_0x4114ef){const _0x7d0b01=_0x4114ef[_0x1dd1a3(0x1dd)];return _0x1c6f00[_0x1dd1a3(0x128)](this[_0x1dd1a3(0x134)][_0x1dd1a3(0x152)](this[_0x1dd1a3(0x2b9)][_0x1dd1a3(0x24d)]),this['_themeService'][_0x1dd1a3(0x312)])[_0x1dd1a3(0x30e)](_0x3663d5[_0x1dd1a3(0x295)](([_0x47a7dc,_0x161dfd])=>{const _0xa39f40=_0x1dd1a3,_0x2704c7=new Map();return _0x47a7dc[_0xa39f40(0x360)]((_0x3519af,_0x22d0ac)=>{const _0x293b53=_0xa39f40;if(_0x3519af[_0x293b53(0x352)]===_0x7d0b01){const _0xabbabd={..._0x3519af};_0xabbabd[_0x293b53(0x19f)]=this[_0x293b53(0x34b)]['getColorFromTheme'](_0x3519af[_0x293b53(0x19f)]),_0x2704c7[_0x293b53(0x102)](_0x22d0ac,_0xabbabd);}}),{'skeleton':_0x4114ef,'cursors':_0x2704c7};}));}return _0x1c6f00['of']({'skeleton':null,'cursors':new Map()});}))[_0x51073b(0x175)](({skeleton:_0x29dda2,cursors:_0x25f5b8})=>{const _0x98d47b=_0x51073b;this['_removeCollabCursors'](),_0x29dda2&&this[_0x98d47b(0x2e7)](_0x29dda2,_0x25f5b8);}),this[_0x51073b(0x1ed)][_0x51073b(0x2ae)][_0x51073b(0x175)](_0x296ce5=>{const _0x2d8b76=_0x51073b;if(_0x296ce5==null)return;const {skeleton:_0xba2ef6}=_0x296ce5,{scene:_0x3c6fe3}=this['_context'];_0x3c6fe3['onPointerMove$']['subscribeEvent'](_0x3238b4[_0x2d8b76(0x21a)](_0x1b588f=>{const _0x5c5a7c=_0x2d8b76;var _0x4f5f26,_0x4389f5;const {offsetX:_0x2edbd1,offsetY:_0x256de0}=_0x1b588f,{x:_0xfafb0,y:_0x39486b}=_0x3c6fe3[_0x5c5a7c(0x17d)](_0xcb617a[_0x5c5a7c(0x2f4)][_0x5c5a7c(0x11c)]([_0x2edbd1,_0x256de0])),{scaleX:_0x351c21,scaleY:_0x1e99c8}=_0x3c6fe3['getAncestorScale'](),_0x4f2080=_0x3c6fe3['getViewport'](_0xcb617a[_0x5c5a7c(0x1f8)][_0x5c5a7c(0x394)]),_0x8d31ea=_0x3c6fe3[_0x5c5a7c(0x20f)](_0xcb617a[_0x5c5a7c(0x2f4)]['FromArray']([_0xfafb0,_0x39486b]),_0x4f2080),_0x259c74=_0xba2ef6[_0x5c5a7c(0x3a7)](_0x2edbd1,_0x256de0,_0x351c21,_0x1e99c8,_0x8d31ea);((_0x4f5f26=this['_lastPointer'])==null?void 0x0:_0x4f5f26[_0x5c5a7c(0x22c)])===_0x259c74[_0x5c5a7c(0x22c)]&&((_0x4389f5=this[_0x5c5a7c(0x15f)])==null?void 0x0:_0x4389f5[_0x5c5a7c(0x1e9)])===_0x259c74['row']||this['_cursors'][_0x5c5a7c(0x360)](_0x28a168=>{const _0x3f8311=_0x5c5a7c;_0x28a168[_0x3f8311(0x164)](_0x259c74);});},0x64));});}[_0x1b3145(0x2e7)](_0x5effa9,_0x12e680){const _0x47942a=_0x1b3145;var _0x4408e2;const _0x4f8918=(_0x4408e2=this[_0x47942a(0x1ed)]['getCurrent']())==null?void 0x0:_0x4408e2[_0x47942a(0x2bb)];if(!_0x4f8918)return;const _0xa17d4c=this['_getSheetObject']();if(!_0xa17d4c)return;this['_cursors'][_0x47942a(0x360)](_0x32086f=>{const _0x512888=_0x47942a;_0x32086f[_0x512888(0x2ac)]();});const {scene:_0x37f24b}=_0xa17d4c,_0x13eeb7=_0x341632(Array['from'](_0x12e680[_0x47942a(0x27d)]()))[_0x47942a(0x295)](_0x1078de=>{const _0x178665=_0x47942a,{color:_0x1f17a1,range:_0x507137,name:_0x380b2c,selection:_0x5dce4d,sheetID:_0x35eb88}=_0x1078de,{startColumn:_0x26aa49,startRow:_0x3aaf67,endColumn:_0x34b74b,endRow:_0xd05be3}=_0x507137,_0xe0e05a=_0x9833be[_0x178665(0x228)](_0x3aaf67,_0x26aa49,_0x37f24b,_0x4f8918),_0x2ab73f=_0x9833be[_0x178665(0x228)](_0xd05be3,_0x34b74b,_0x37f24b,_0x4f8918),{columnHeaderHeightAndMarginTop:_0xa7479c}=_0x4f8918,{startX:_0x167f2d,startY:_0x5c7388}=_0xe0e05a,{endX:_0x2b2b3a,endY:_0x569c3b}=_0x2ab73f,_0x2a5790=_0x2b2b3a-_0x167f2d,_0x474f6b=_0x569c3b-_0x5c7388,_0x550717={'labelPosition':_0x5c7388-_0xa7479c>=_0x1a445f?_0x178665(0x25a):_0x178665(0x220),'sheetID':_0x35eb88,'range':_0x507137,'color':_0x1f17a1,'name':_0x380b2c,'selection':_0x5dce4d,'left':_0x167f2d,'top':_0x5c7388,'width':_0x2a5790,'height':_0x474f6b,'evented':!0x1,'zIndex':_0x47de2d};return new _0x47b0f3(_0x380b2c,_0x550717);});_0x37f24b[_0x47942a(0x2c9)](_0x13eeb7,_0x5de5d2),this[_0x47942a(0x2cd)]=new Set(_0x13eeb7);}[_0x1b3145(0x22d)](){const _0x424d2f=_0x1b3145;var _0xbe87dd;(_0xbe87dd=this[_0x424d2f(0x2cd)])==null||_0xbe87dd[_0x424d2f(0x360)](_0x1379a9=>_0x1379a9[_0x424d2f(0x26b)]());}[_0x1b3145(0x34d)](){const _0x5e160b=_0x1b3145;return _0x9833be[_0x5e160b(0x3bc)](this[_0x5e160b(0x2b9)][_0x5e160b(0x193)],this['_context']);}};_0x55c3b2=_0x389d9e([_0x558fd6(0x1,_0x3238b4['Inject'](_0x9833be[_0x1b3145(0x322)])),_0x558fd6(0x2,_0x3238b4['Inject'](_0xf2e975)),_0x558fd6(0x3,_0x3238b4['Inject'](_0x3238b4[_0x1b3145(0x20a)]))],_0x55c3b2);function _0x341632(_0x4238c1){const _0x1413c3=_0x1b3145,_0x41c162=new Map();return _0x4238c1[_0x1413c3(0x360)](_0x2d1b90=>{const _0x2aec0c=_0x1413c3;if(_0x41c162[_0x2aec0c(0x305)](_0x2d1b90['selection'])){const _0x1d4256=_0x41c162[_0x2aec0c(0x111)](_0x2d1b90['selection']);_0x1d4256['name']+=',\x20'+_0x2d1b90[_0x2aec0c(0x250)];}else _0x41c162['set'](_0x2d1b90[_0x2aec0c(0x294)],_0x2d1b90);}),Array[_0x1413c3(0x2e2)](_0x41c162[_0x1413c3(0x27d)]());}var _0x488f18=Object[_0x1b3145(0x270)],_0x134846=(_0x266000,_0x3fa7be,_0x5eee3e,_0x37b7b1)=>{const _0x400cb1=_0x1b3145;for(var _0x2ba2ac=_0x37b7b1>0x1?void 0x0:_0x37b7b1?_0x488f18(_0x3fa7be,_0x5eee3e):_0x3fa7be,_0x549c4d=_0x266000[_0x400cb1(0x2e0)]-0x1,_0x5230cf;_0x549c4d>=0x0;_0x549c4d--)(_0x5230cf=_0x266000[_0x549c4d])&&(_0x2ba2ac=_0x5230cf(_0x2ba2ac)||_0x2ba2ac);return _0x2ba2ac;},_0x13e259=(_0x3f17d6,_0xe026bd)=>(_0x4f8acb,_0x4cd87c)=>_0xe026bd(_0x4f8acb,_0x4cd87c,_0x3f17d6);let _0x435379=class extends _0x3238b4[_0x1b3145(0x16e)]{constructor(_0x4ee78d,_0x5af5ea,_0x51c9fd,_0x5198de,_0x6b645a,_0xaa1af9){const _0x2039ca=_0x1b3145;super(),this[_0x2039ca(0x2fa)]=_0x4ee78d,this[_0x2039ca(0x1e7)]=_0x5af5ea,this[_0x2039ca(0x29c)]=_0x51c9fd,this[_0x2039ca(0x338)]=_0x5198de,this[_0x2039ca(0x246)]=_0x6b645a,this[_0x2039ca(0x28c)]=_0xaa1af9,this[_0x2039ca(0x213)](),this[_0x2039ca(0x1fa)]();}['_setupBeforeClosingHandler'](){const _0x457ca6=_0x1b3145;this[_0x457ca6(0x287)](this[_0x457ca6(0x2fa)][_0x457ca6(0x2b2)](()=>{const _0x31146c=_0x457ca6;if(this[_0x31146c(0x1e7)][_0x31146c(0x25d)][_0x31146c(0x245)])return this['_localeService']['t'](_0x31146c(0x33d));}));}[_0x1b3145(0x1fa)](){const _0x1ef637=_0x1b3145;this['disposeWithMe'](this[_0x1ef637(0x29c)][_0x1ef637(0x29a)]['subscribe'](_0x10ccae=>{const _0x320463=_0x1ef637;_0x10ccae['id']===_0x562098['CollaborationUIEventId'][_0x320463(0x398)]&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7[_0x320463(0x333)][_0x320463(0x23f)],'content':this[_0x320463(0x28c)]['t'](_0x320463(0x1a4))}),_0x10ccae['id']===_0x562098['CollaborationUIEventId'][_0x320463(0x38d)]&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7[_0x320463(0x333)]['Warning'],'content':this[_0x320463(0x28c)]['t'](_0x320463(0x151))}),_0x10ccae['id']===_0x562098[_0x320463(0x39c)][_0x320463(0x20b)]&&this['_notificationService'][_0x320463(0x1b7)]({'title':this[_0x320463(0x28c)]['t'](_0x320463(0x38c)),'content':this[_0x320463(0x28c)]['t']('permission.content'),'type':_0x320463(0x1a7),'duration':0x0}),_0x10ccae['id']===_0x562098[_0x320463(0x39c)]['CONFLICT']&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7['MessageType']['Error'],'content':this[_0x320463(0x28c)]['t'](_0x320463(0x151))+'('+_0x10ccae[_0x320463(0x1bb)]+')'}),_0x10ccae['id']===_0x562098[_0x320463(0x39c)][_0x320463(0x13a)]&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7[_0x320463(0x333)][_0x320463(0x23f)],'content':this[_0x320463(0x28c)]['t'](_0x10ccae[_0x320463(0x1bb)]||'')}),_0x10ccae['id']===_0x562098[_0x320463(0x39c)][_0x320463(0x185)]&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7['MessageType'][_0x320463(0x23f)],'content':this['_localeService']['t']('session.will-retry')}),_0x10ccae['id']===_0x562098[_0x320463(0x39c)][_0x320463(0x1dc)]&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7[_0x320463(0x333)][_0x320463(0x33c)],'content':this['_localeService']['t']('session.connection-failed')}),_0x10ccae['id']===_0x562098[_0x320463(0x39c)][_0x320463(0x219)]&&this[_0x320463(0x338)][_0x320463(0x1b7)]({'type':_0x13fbb7[_0x320463(0x333)]['Error'],'content':this[_0x320463(0x28c)]['t'](_0x320463(0x120))});}));}};_0x435379=_0x134846([_0x13e259(0x0,_0x5e73b5[_0x1b3145(0x308)]),_0x13e259(0x1,_0x562098[_0x1b3145(0x35b)]),_0x13e259(0x2,_0x3238b4[_0x1b3145(0x146)](_0x562098['CollaborationUIEventService'])),_0x13e259(0x3,_0x5e73b5[_0x1b3145(0x335)]),_0x13e259(0x4,_0x5e73b5[_0x1b3145(0x13e)]),_0x13e259(0x5,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x268)]))],_0x435379);const _0x248369=_0x1b3145(0x14c),_0x3865ef={};var _0x24e11c=Object['getOwnPropertyDescriptor'],_0x3f4c88=(_0x226355,_0x2a5c59,_0x3c7573,_0x38deb1)=>{const _0x5766ae=_0x1b3145;for(var _0x1f85a6=_0x38deb1>0x1?void 0x0:_0x38deb1?_0x24e11c(_0x2a5c59,_0x3c7573):_0x2a5c59,_0x37210c=_0x226355[_0x5766ae(0x2e0)]-0x1,_0x52cbb5;_0x37210c>=0x0;_0x37210c--)(_0x52cbb5=_0x226355[_0x37210c])&&(_0x1f85a6=_0x52cbb5(_0x1f85a6)||_0x1f85a6);return _0x1f85a6;},_0x36d6da=(_0x464b87,_0x1f0e08)=>(_0x3d3e72,_0x4203c1)=>_0x1f0e08(_0x3d3e72,_0x4203c1,_0x464b87);let _0x278970=class{constructor(_0x3f8fca,_0x54434a){const _0x172203=_0x1b3145;this['_transformService']=_0x3f8fca,this[_0x172203(0x3c0)]=_0x54434a;}[_0x1b3145(0x2c1)](_0x1b72fe){const _0x561d58=_0x1b3145;this[_0x561d58(0x35a)](_0x1b72fe),this[_0x561d58(0x19b)](_0x1b72fe);}[_0x1b3145(0x265)](_0x527f30){const _0x464775=_0x1b3145,{unitID:_0x4ade39}=_0x527f30,_0x2faaea=this[_0x464775(0x3c0)][_0x464775(0x2e6)](_0x4ade39)[_0x464775(0x32d)](_0x2260ff['DocIMEInputManagerService']),{redoCache:_0x3e2889}=_0x2faaea[_0x464775(0x26c)]();if(_0x3e2889[_0x464775(0x2e0)]===0x0)return _0x527f30;let _0x5d9a49=_0x3238b4[_0x464775(0x297)][_0x464775(0x341)](_0x527f30[_0x464775(0x340)][0x0]);for(let _0x56cf94=0x0;_0x56cf94<_0x3e2889[_0x464775(0x2e0)];_0x56cf94++){const _0x60380c={'id':_0x464775(0x266),'params':{..._0x3e2889[_0x56cf94]}},_0x2e9463=this[_0x464775(0x2f1)]['transformMutation'](_0x5d9a49,_0x60380c,!0x1);if(_0x57c8d5[_0x464775(0x2cf)](_0x2e9463))throw _0x2e9463['error'];_0x5d9a49=_0x2e9463[_0x464775(0x28f)];}return{..._0x3238b4[_0x464775(0x297)][_0x464775(0x341)](_0x527f30),'mutations':[_0x5d9a49]};}[_0x1b3145(0x35a)](_0x48bddc){const _0x2fdf11=_0x1b3145,{unitID:_0x5afae6}=_0x48bddc,_0x6607c3=this[_0x2fdf11(0x3c0)][_0x2fdf11(0x2e6)](_0x5afae6)['with'](_0x2260ff['DocIMEInputManagerService']),{undoCache:_0x2d350d,redoCache:_0x1c6832}=_0x6607c3[_0x2fdf11(0x26c)]();if(_0x2d350d[_0x2fdf11(0x2e0)]===0x0||_0x1c6832['length']===0x0)return;const _0x11989d=[],_0x537b45=[];let _0x27f045=_0x3238b4[_0x2fdf11(0x297)]['deepClone'](_0x48bddc[_0x2fdf11(0x340)][0x0]),_0x4ec67b=_0x3238b4[_0x2fdf11(0x297)][_0x2fdf11(0x341)](_0x48bddc['mutations'][0x0]);for(let _0x4ba1e7=_0x2d350d[_0x2fdf11(0x2e0)]-0x1;_0x4ba1e7>=0x0;_0x4ba1e7--){const _0x557ea8={'id':_0x2fdf11(0x266),'params':{..._0x2d350d[_0x4ba1e7]}},_0x71e2b2={'id':_0x2fdf11(0x266),'params':{..._0x1c6832[_0x4ba1e7]}},_0x44691b=this['_transformService'][_0x2fdf11(0x331)](_0x27f045,_0x557ea8,!0x1),_0x1176a0=this[_0x2fdf11(0x2f1)][_0x2fdf11(0x331)](_0x4ec67b,_0x71e2b2,!0x1);if(_0x57c8d5[_0x2fdf11(0x2cf)](_0x44691b))throw _0x44691b[_0x2fdf11(0x1a7)];if(_0x57c8d5[_0x2fdf11(0x2cf)](_0x1176a0))throw _0x1176a0[_0x2fdf11(0x1a7)];_0x11989d[_0x2fdf11(0x110)](_0x44691b['m2Prime'][_0x2fdf11(0x21b)]),_0x537b45[_0x2fdf11(0x110)](_0x1176a0[_0x2fdf11(0x224)]['params']),_0x27f045=_0x44691b['m1Prime'],_0x4ec67b=_0x1176a0[_0x2fdf11(0x28f)];}_0x6607c3['setUndoRedoMutationParamsCache']({'undoCache':_0x11989d,'redoCache':_0x537b45});}[_0x1b3145(0x19b)](_0x33e743){const _0x5c1247=_0x1b3145,{unitID:_0xe38e6f}=_0x33e743,_0x47936e=this[_0x5c1247(0x3c0)][_0x5c1247(0x2e6)](_0xe38e6f)[_0x5c1247(0x32d)](_0x2260ff['DocIMEInputManagerService']),_0x2d9ac8=_0x47936e[_0x5c1247(0x388)]();if(_0x2d9ac8==null)return;const _0x5c3221=[{'id':_0x5c1247(0x266),'params':{'unitId':_0x33e743[_0x5c1247(0x399)],'actions':null,'textRanges':[_0x2d9ac8]}}],_0x4c923b=this[_0x5c1247(0x2f1)]['transformMutationsWithChangeset'](_0x33e743,_0x5c3221);if(!_0x57c8d5[_0x5c1247(0x3b0)](_0x4c923b))throw _0x4c923b[_0x5c1247(0x1a7)];const _0x824d29=_0x4c923b[_0x5c1247(0x224)][0x0]['params'][_0x5c1247(0x174)];Array[_0x5c1247(0x3cd)](_0x824d29)&&_0x824d29[_0x5c1247(0x2e0)]&&_0x47936e[_0x5c1247(0x1b6)](_0x824d29[0x0]);}};_0x278970=_0x3f4c88([_0x36d6da(0x0,_0x57c8d5['ITransformService']),_0x36d6da(0x1,_0xcb617a['IRenderManagerService'])],_0x278970);var _0x3f04f4=Object[_0x1b3145(0x270)],_0x3318f8=(_0x13b2b9,_0x24bb2d,_0x21dcb3,_0x21dc96)=>{for(var _0x1a0673=_0x21dc96>0x1?void 0x0:_0x21dc96?_0x3f04f4(_0x24bb2d,_0x21dcb3):_0x24bb2d,_0x5e5c3e=_0x13b2b9['length']-0x1,_0x2bfba0;_0x5e5c3e>=0x0;_0x5e5c3e--)(_0x2bfba0=_0x13b2b9[_0x5e5c3e])&&(_0x1a0673=_0x2bfba0(_0x1a0673)||_0x1a0673);return _0x1a0673;},_0x513473=(_0x596d6b,_0x3f1f7f)=>(_0x7b7908,_0x375183)=>_0x3f1f7f(_0x7b7908,_0x375183,_0x596d6b);let _0x382ba6=class{constructor(_0x2628ed,_0x4d8a27,_0x1a019d){const _0x54ccb6=_0x1b3145;this[_0x54ccb6(0x275)]=_0x2628ed,this[_0x54ccb6(0x2f1)]=_0x4d8a27,this[_0x54ccb6(0x3d0)]=_0x1a019d;}[_0x1b3145(0x183)](_0x3d078d){const _0x1058f1=_0x1b3145;this[_0x1058f1(0x370)](_0x3d078d);}[_0x1b3145(0x265)](_0x12364d){const _0x116973=_0x1b3145,{unitID:_0x3ce484}=_0x12364d,{collaboration:_0x53b2ef}=this[_0x116973(0x3d0)][_0x116973(0x1fd)](_0x3ce484);if(_0x53b2ef[_0x116973(0x2e0)]===0x0)return _0x12364d;let _0x104d34=_0x3238b4[_0x116973(0x297)][_0x116973(0x341)](_0x12364d['mutations'][0x0]);for(let _0x340f98=0x0;_0x340f98<_0x53b2ef[_0x116973(0x2e0)];_0x340f98++){const _0x488489={'id':_0x116973(0x266),'params':{'unitId':_0x53b2ef[_0x340f98][_0x116973(0x24d)],..._0x53b2ef[_0x340f98][_0x116973(0x1d8)]}},_0x31a812=this[_0x116973(0x2f1)][_0x116973(0x331)](_0x104d34,_0x488489,!0x1);if(_0x57c8d5[_0x116973(0x2cf)](_0x31a812))throw _0x31a812[_0x116973(0x1a7)];_0x104d34=_0x31a812[_0x116973(0x28f)];}return{..._0x3238b4[_0x116973(0x297)][_0x116973(0x341)](_0x12364d),'mutations':[_0x104d34]};}[_0x1b3145(0x370)](_0x26b9cd){const _0x2cf5f6=_0x1b3145,{unitID:_0x4bbe72}=_0x26b9cd,{history:_0x2cac46,collaboration:_0x1f92cf}=this[_0x2cf5f6(0x3d0)][_0x2cf5f6(0x1fd)](_0x4bbe72);if(_0x2cac46[_0x2cf5f6(0x2e0)]===0x0&&_0x1f92cf[_0x2cf5f6(0x2e0)]===0x0)return;const _0x11124=[],_0x31e6cb=[];let _0x177442=_0x3238b4[_0x2cf5f6(0x297)][_0x2cf5f6(0x341)](_0x26b9cd[_0x2cf5f6(0x340)][0x0]),_0xa89b71=_0x3238b4[_0x2cf5f6(0x297)]['deepClone'](_0x26b9cd[_0x2cf5f6(0x340)][0x0]);for(let _0x56d22b=_0x2cac46[_0x2cf5f6(0x2e0)]-0x1;_0x56d22b>=0x0;_0x56d22b--){const _0x58543f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2cac46[_0x56d22b][_0x2cf5f6(0x24d)],..._0x2cac46[_0x56d22b][_0x2cf5f6(0x284)]}},_0x2f2205={'id':_0x2cf5f6(0x266),'params':{'unitId':_0x2cac46[_0x56d22b][_0x2cf5f6(0x24d)],..._0x2cac46[_0x56d22b][_0x2cf5f6(0x1d8)]}},_0x3c5471=this[_0x2cf5f6(0x2f1)]['transformMutation'](_0x177442,_0x58543f,!0x1),_0x304dd8=this[_0x2cf5f6(0x2f1)]['transformMutation'](_0xa89b71,_0x2f2205,!0x1);if(_0x57c8d5[_0x2cf5f6(0x2cf)](_0x3c5471))throw _0x3c5471[_0x2cf5f6(0x1a7)];if(_0x57c8d5[_0x2cf5f6(0x2cf)](_0x304dd8))throw _0x304dd8[_0x2cf5f6(0x1a7)];_0x11124[_0x2cf5f6(0x110)]({..._0x2cac46[_0x56d22b],'undoState':_0x3c5471[_0x2cf5f6(0x224)][_0x2cf5f6(0x21b)],'redoState':_0x304dd8[_0x2cf5f6(0x224)][_0x2cf5f6(0x21b)]}),_0x177442=_0x3c5471[_0x2cf5f6(0x28f)],_0xa89b71=_0x304dd8[_0x2cf5f6(0x28f)];}_0x177442=_0x3238b4[_0x2cf5f6(0x297)][_0x2cf5f6(0x341)](_0x26b9cd['mutations'][0x0]),_0xa89b71=_0x3238b4[_0x2cf5f6(0x297)][_0x2cf5f6(0x341)](_0x26b9cd['mutations'][0x0]);for(let _0x3fc8d6=_0x1f92cf[_0x2cf5f6(0x2e0)]-0x1;_0x3fc8d6>=0x0;_0x3fc8d6--){const _0xebd09a={'id':_0x2cf5f6(0x266),'params':{'unitId':_0x1f92cf[_0x3fc8d6][_0x2cf5f6(0x24d)],..._0x1f92cf[_0x3fc8d6][_0x2cf5f6(0x284)]}},_0x4ef8f2={'id':_0x2cf5f6(0x266),'params':{'unitId':_0x1f92cf[_0x3fc8d6]['unitId'],..._0x1f92cf[_0x3fc8d6]['redoState']}},_0xbaa0f0=this[_0x2cf5f6(0x2f1)][_0x2cf5f6(0x331)](_0x177442,_0xebd09a,!0x1),_0xd8977f=this['_transformService']['transformMutation'](_0xa89b71,_0x4ef8f2,!0x1);if(_0x57c8d5['isTransformMutationFailure'](_0xbaa0f0))throw _0xbaa0f0[_0x2cf5f6(0x1a7)];if(_0x57c8d5[_0x2cf5f6(0x2cf)](_0xd8977f))throw _0xd8977f[_0x2cf5f6(0x1a7)];_0x31e6cb['unshift']({..._0x1f92cf[_0x3fc8d6],'undoState':_0xbaa0f0['m2Prime'][_0x2cf5f6(0x21b)],'redoState':_0xd8977f[_0x2cf5f6(0x224)][_0x2cf5f6(0x21b)]}),_0x177442=_0xbaa0f0[_0x2cf5f6(0x28f)],_0xa89b71=_0xd8977f[_0x2cf5f6(0x28f)];}this['_docStateChangeManagerService'][_0x2cf5f6(0x19c)](_0x4bbe72,{'history':_0x11124,'collaboration':_0x31e6cb});}};_0x382ba6=_0x3318f8([_0x513473(0x0,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x347)])),_0x513473(0x1,_0x57c8d5[_0x1b3145(0x2da)]),_0x513473(0x2,_0x3238b4['Inject'](_0x2260ff['DocStateChangeManagerService']))],_0x382ba6);var _0x480d8b=Object[_0x1b3145(0x270)],_0x4f8e28=(_0x2d72dc,_0x179cf6,_0x22703a,_0x2d3ba2)=>{const _0x2a1125=_0x1b3145;for(var _0x2b63bb=_0x2d3ba2>0x1?void 0x0:_0x2d3ba2?_0x480d8b(_0x179cf6,_0x22703a):_0x179cf6,_0x37fd9a=_0x2d72dc[_0x2a1125(0x2e0)]-0x1,_0x1175f7;_0x37fd9a>=0x0;_0x37fd9a--)(_0x1175f7=_0x2d72dc[_0x37fd9a])&&(_0x2b63bb=_0x1175f7(_0x2b63bb)||_0x2b63bb);return _0x2b63bb;},_0x5adce0=(_0x13be45,_0x5ed72b)=>(_0x364529,_0x343e19)=>_0x5ed72b(_0x364529,_0x343e19,_0x13be45);let _0x2fdebd=class{constructor(_0x18affe,_0x11166c){const _0x1945ee=_0x1b3145;this[_0x1945ee(0x275)]=_0x18affe,this[_0x1945ee(0x2f1)]=_0x11166c;}[_0x1b3145(0x256)](_0x246f64){const _0x2e5b34=_0x1b3145;var _0x8c7a4d;const _0x305104=this[_0x2e5b34(0x275)]['get'](_0xf153d4[_0x2e5b34(0x227)]),_0x3fae06=(_0x8c7a4d=_0x305104[_0x2e5b34(0x20c)]())!=null?_0x8c7a4d:[];if(_0x3fae06['length']===0x0)return;const _0x15ba29=_0x246f64[_0x2e5b34(0x399)],_0x1aec9b=[{'id':_0x2e5b34(0x266),'params':{'unitId':_0x15ba29,'actions':null,'textRanges':_0x3fae06}}],_0x573329=this[_0x2e5b34(0x2f1)]['transformMutationsWithChangeset'](_0x246f64,_0x1aec9b);if(!_0x57c8d5['isTransformMutationsWithChangesetSuccess'](_0x573329))throw _0x573329[_0x2e5b34(0x1a7)];const _0x5e3031=_0x573329[_0x2e5b34(0x224)][0x0]['params'][_0x2e5b34(0x174)];Array['isArray'](_0x5e3031)&&_0x5e3031[_0x2e5b34(0x2e0)]&&_0x305104[_0x2e5b34(0x374)](_0x5e3031,{'unitId':_0x15ba29,'subUnitId':_0x15ba29},!0x1);}};_0x2fdebd=_0x4f8e28([_0x5adce0(0x0,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x347)])),_0x5adce0(0x1,_0x57c8d5['ITransformService'])],_0x2fdebd);var _0x33428a=Object[_0x1b3145(0x270)],_0xe91464=(_0x2063cb,_0x1c3529,_0x2ed8f3,_0x4cf705)=>{for(var _0x29ca2=_0x4cf705>0x1?void 0x0:_0x4cf705?_0x33428a(_0x1c3529,_0x2ed8f3):_0x1c3529,_0x9b6c9=_0x2063cb['length']-0x1,_0x572221;_0x9b6c9>=0x0;_0x9b6c9--)(_0x572221=_0x2063cb[_0x9b6c9])&&(_0x29ca2=_0x572221(_0x29ca2)||_0x29ca2);return _0x29ca2;},_0x4cae95=(_0x4040c4,_0x4589e5)=>(_0x37d138,_0xd8b655)=>_0x4589e5(_0x37d138,_0xd8b655,_0x4040c4);let _0x284146=class extends _0x3238b4['Disposable']{constructor(_0x83944e,_0x5558f5,_0x4e0ce2,_0x2706ff,_0x356bb4,_0x1323e2,_0x1662ba,_0x3a6169){const _0x4c307b=_0x1b3145;super(),_0xc84b25(this,_0x4c307b(0x389),new _0x1c6f00[(_0x4c307b(0x278))](_0x562098[_0x4c307b(0x304)]['NOT_COLLAB'])),(this[_0x4c307b(0x3d0)]=_0x83944e,this[_0x4c307b(0x191)]=_0x5558f5,this['_docTransformIMECacheService']=_0x4e0ce2,this[_0x4c307b(0x313)]=_0x2706ff,this['_docTransformSelectionsService']=_0x356bb4,this[_0x4c307b(0x223)]=_0x1323e2,this[_0x4c307b(0x338)]=_0x1662ba,this[_0x4c307b(0x28c)]=_0x3a6169,this[_0x4c307b(0x280)]());}[_0x1b3145(0x280)](){const _0xdea40e=_0x1b3145;this[_0xdea40e(0x287)](this[_0xdea40e(0x191)][_0xdea40e(0x3ca)][_0xdea40e(0x175)](_0x57987d=>{const _0x25974b=_0xdea40e,_0x3b77ab=this[_0x25974b(0x3d0)]['docStateChange$'][_0x25974b(0x175)](_0x4cf90e=>{const _0x3e2457=_0x25974b;if(_0x4cf90e==null)return;const {unitId:_0x308842,redoState:_0x5bf3b4,commandId:_0x364571}=_0x4cf90e;if(_0x308842!==_0x57987d[_0x3e2457(0x399)])return;const _0x40e4dc={'id':_0x364571,'type':_0x3238b4['CommandType'][_0x3e2457(0x2e1)],'params':{'unitId':_0x308842,'actions':_0x5bf3b4[_0x3e2457(0x317)],'textRanges':null}};_0x57987d[_0x3e2457(0x143)](_0x40e4dc);});if(_0x57987d['disposeWithMe'](_0x3b77ab),_0x57987d instanceof _0x562098[_0x25974b(0x10d)]){const _0x35acb1={'onTransformIME':_0x46c0f4=>this[_0x25974b(0x300)][_0x25974b(0x2c1)](_0x46c0f4),'onTransformState':_0xdfecf7=>this['_docTransformStateCacheService']['transformStateCache'](_0xdfecf7),'onTransformSelections':_0x53656a=>this[_0x25974b(0x1e4)][_0x25974b(0x256)](_0x53656a),'onSyncEditingCollabCursor':_0x1d7924=>this[_0x25974b(0x223)][_0x25974b(0x121)](_0x1d7924),'onTransformRemoteChangesetByIMECache':_0x2b1219=>this[_0x25974b(0x300)][_0x25974b(0x265)](_0x2b1219),'onTransformRemoteChangesetByStateCache':_0x130b14=>this[_0x25974b(0x313)][_0x25974b(0x265)](_0x130b14)};_0x57987d[_0x25974b(0x2eb)](_0x35acb1);}}));}};_0x284146=_0xe91464([_0x4cae95(0x0,_0x3238b4[_0x1b3145(0x146)](_0x2260ff[_0x1b3145(0x379)])),_0x4cae95(0x1,_0x3238b4[_0x1b3145(0x146)](_0x562098[_0x1b3145(0x319)])),_0x4cae95(0x2,_0x3238b4[_0x1b3145(0x146)](_0x278970)),_0x4cae95(0x3,_0x3238b4['Inject'](_0x382ba6)),_0x4cae95(0x4,_0x3238b4[_0x1b3145(0x146)](_0x2fdebd)),_0x4cae95(0x5,_0x3238b4[_0x1b3145(0x146)](_0x464ecb)),_0x4cae95(0x6,_0x5e73b5[_0x1b3145(0x335)]),_0x4cae95(0x7,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x268)]))],_0x284146);var _0x1903ab=(_0x1a5c67=>(_0x1a5c67[_0x1a5c67[_0x1b3145(0x123)]=0x0]=_0x1b3145(0x123),_0x1a5c67[_0x1a5c67['OK']=0x1]='OK',_0x1a5c67[_0x1a5c67[_0x1b3145(0x2b8)]=0x2]=_0x1b3145(0x2b8),_0x1a5c67[_0x1a5c67['PERMISSION_DENIED']=0x3]=_0x1b3145(0x20b),_0x1a5c67[_0x1a5c67[_0x1b3145(0x155)]=0x4]='NOT_FOUND',_0x1a5c67[_0x1a5c67[_0x1b3145(0x30d)]=0x5]=_0x1b3145(0x30d),_0x1a5c67[_0x1a5c67[_0x1b3145(0x1bc)]=0x6]=_0x1b3145(0x1bc),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2b6)]=0x7]=_0x1b3145(0x2b6),_0x1a5c67[_0x1a5c67['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1a5c67[_0x1a5c67[_0x1b3145(0x276)]=0x9]='COMPLETION_FINISHED',_0x1a5c67[_0x1a5c67['LOGIN_FAILED']=0xa]=_0x1b3145(0x112),_0x1a5c67[_0x1a5c67[_0x1b3145(0x38e)]=0xb]=_0x1b3145(0x38e),_0x1a5c67[_0x1a5c67['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1b3145(0x33f),_0x1a5c67[_0x1a5c67['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1a5c67[_0x1a5c67[_0x1b3145(0x349)]=0xe]=_0x1b3145(0x349),_0x1a5c67[_0x1a5c67[_0x1b3145(0x36c)]=0xf]=_0x1b3145(0x36c),_0x1a5c67[_0x1a5c67[_0x1b3145(0x3ce)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x1a5c67[_0x1a5c67['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1b3145(0x384),_0x1a5c67[_0x1a5c67[_0x1b3145(0x1b1)]=0x65]=_0x1b3145(0x1b1),_0x1a5c67[_0x1a5c67[_0x1b3145(0x1fe)]=0xc9]=_0x1b3145(0x1fe),_0x1a5c67[_0x1a5c67[_0x1b3145(0x163)]=0xca]=_0x1b3145(0x163),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2e9)]=0x1389]=_0x1b3145(0x2e9),_0x1a5c67[_0x1a5c67['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1b3145(0x31e),_0x1a5c67[_0x1a5c67[_0x1b3145(0x3b5)]=0x1772]=_0x1b3145(0x3b5),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2c4)]=0x1773]=_0x1b3145(0x2c4),_0x1a5c67[_0x1a5c67['APPLY_REJECT']=0x1b59]=_0x1b3145(0x21e),_0x1a5c67[_0x1a5c67[_0x1b3145(0x3ba)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1a5c67[_0x1a5c67[_0x1b3145(0x334)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1a5c67[_0x1a5c67[_0x1b3145(0x241)]=0x1b5c]=_0x1b3145(0x241),_0x1a5c67[_0x1a5c67[_0x1b3145(0x207)]=0x1b5d]=_0x1b3145(0x207),_0x1a5c67[_0x1a5c67['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1b3145(0x314),_0x1a5c67[_0x1a5c67[_0x1b3145(0x249)]=0x2329]=_0x1b3145(0x249),_0x1a5c67[_0x1a5c67[_0x1b3145(0x251)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1a5c67[_0x1a5c67[_0x1b3145(0x279)]=0x232b]=_0x1b3145(0x279),_0x1a5c67[_0x1a5c67[_0x1b3145(0x306)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1a5c67[_0x1a5c67[_0x1b3145(0x206)]=0x232d]=_0x1b3145(0x206),_0x1a5c67[_0x1a5c67[_0x1b3145(0x196)]=0x2711]=_0x1b3145(0x196),_0x1a5c67[_0x1a5c67['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1b3145(0x15b),_0x1a5c67[_0x1a5c67[_0x1b3145(0x178)]=0x2713]=_0x1b3145(0x178),_0x1a5c67[_0x1a5c67['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1a5c67[_0x1a5c67['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1b3145(0x11b),_0x1a5c67[_0x1a5c67[_0x1b3145(0x336)]=0x271b]=_0x1b3145(0x336),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2af)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1a5c67[_0x1a5c67['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1b3145(0x14a),_0x1a5c67[_0x1a5c67['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1b3145(0x1ca),_0x1a5c67[_0x1a5c67['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1b3145(0x1af),_0x1a5c67[_0x1a5c67['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1b3145(0x229),_0x1a5c67[_0x1a5c67[_0x1b3145(0x325)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1a5c67[_0x1a5c67[_0x1b3145(0x198)]=0x2ee1]=_0x1b3145(0x198),_0x1a5c67[_0x1a5c67[_0x1b3145(0x126)]=0x2ee2]='INVALID_INVITE_CODE',_0x1a5c67[_0x1a5c67[_0x1b3145(0x16d)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x1a5c67[_0x1a5c67['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1a5c67[_0x1a5c67[_0x1b3145(0xfe)]=0x2ee5]=_0x1b3145(0xfe),_0x1a5c67[_0x1a5c67['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1b3145(0x2e8),_0x1a5c67[_0x1a5c67['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1b3145(0x2ad),_0x1a5c67[_0x1a5c67[_0x1b3145(0x135)]=0x32cb]=_0x1b3145(0x135),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2a5)]=0x36b1]=_0x1b3145(0x2a5),_0x1a5c67[_0x1a5c67['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x1a5c67[_0x1a5c67[_0x1b3145(0x1ea)]=0x36b3]=_0x1b3145(0x1ea),_0x1a5c67[_0x1a5c67[_0x1b3145(0x1b2)]=0x36b4]=_0x1b3145(0x1b2),_0x1a5c67[_0x1a5c67['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x1a5c67[_0x1a5c67[_0x1b3145(0x12f)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x1a5c67[_0x1a5c67[_0x1b3145(0x132)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x1a5c67[_0x1a5c67[_0x1b3145(0x328)]=0x37dd]=_0x1b3145(0x328),_0x1a5c67[_0x1a5c67[_0x1b3145(0x37f)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x1a5c67[_0x1a5c67[_0x1b3145(0x186)]=0x3a9a]=_0x1b3145(0x186),_0x1a5c67[_0x1a5c67['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x1b3145(0x1f0),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2bd)]=0x3a9c]=_0x1b3145(0x2bd),_0x1a5c67[_0x1a5c67[_0x1b3145(0x2fc)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x1a5c67[_0x1a5c67[_0x1b3145(0x387)]=0x3a9e]=_0x1b3145(0x387),_0x1a5c67[_0x1a5c67[_0x1b3145(0x1f5)]=0x3a9f]=_0x1b3145(0x1f5),_0x1a5c67[_0x1a5c67[_0x1b3145(0x244)]=0x3e81]=_0x1b3145(0x244),_0x1a5c67[_0x1a5c67[_0x1b3145(0x344)]=-0x1]=_0x1b3145(0x344),_0x1a5c67))(_0x1903ab||{});function _0x18ad97(_0x253352){const _0x3d6749=_0x1b3145;var _0x424f73,_0x261523;const _0x76e79c=(_0x424f73=_0x253352[_0x3d6749(0x272)])==null?void 0x0:_0x424f73[_0x3d6749(0x114)],_0x108af4=((_0x261523=_0x253352['stageInfo'])==null?void 0x0:_0x261523['totalFormulasToCalculate'])||0x0;return _0x76e79c===_0x2de62[_0x3d6749(0x154)][_0x3d6749(0x33e)]&&_0x108af4>0x0;}function _0x1d5f0b(_0x494255){const _0x4274c9=_0x1b3145;return _0x494255[_0x4274c9(0x320)]===_0x2de62['FormulaExecutedStateType'][_0x4274c9(0x12c)];}var _0x39e397=Object['getOwnPropertyDescriptor'],_0x18a24d=(_0x2a3046,_0x2a2da9,_0x3f3fb5,_0x3d6344)=>{for(var _0x4bd350=_0x3d6344>0x1?void 0x0:_0x3d6344?_0x39e397(_0x2a2da9,_0x3f3fb5):_0x2a2da9,_0x468c04=_0x2a3046['length']-0x1,_0x318076;_0x468c04>=0x0;_0x468c04--)(_0x318076=_0x2a3046[_0x468c04])&&(_0x4bd350=_0x318076(_0x4bd350)||_0x4bd350);return _0x4bd350;},_0x18a83d=(_0x389819,_0x5041cf)=>(_0x1471f2,_0x3ddb9b)=>_0x5041cf(_0x1471f2,_0x3ddb9b,_0x389819);const _0x3aabeb=_0x1b3145(0x37b),_0x17b4ad=_0x1b3145(0x36f),_0x403fa4=_0x1b3145(0x288);let _0x1a1e52=class extends _0x3238b4[_0x1b3145(0x16e)]{constructor(_0xf922d7,_0x204007,_0x5944bc,_0x5b4f0f,_0x5a5486,_0x107406,_0x53805b){const _0xbd0cd5=_0x1b3145;super(),_0xc84b25(this,_0xbd0cd5(0x169),null),_0xc84b25(this,'_maxFormulaLimit',0x0),_0xc84b25(this,'_currentUsage',0x0),_0xc84b25(this,_0xbd0cd5(0x396),[]),_0xc84b25(this,_0xbd0cd5(0x1bd),0x0),(this[_0xbd0cd5(0x338)]=_0xf922d7,this['_commandService']=_0x204007,this['_configService']=_0x5944bc,this[_0xbd0cd5(0x3b2)]=_0x5b4f0f,this['_univerInstanceService']=_0x5a5486,this['_logService']=_0x107406,this[_0xbd0cd5(0x28c)]=_0x53805b,this['_initCommandInterceptor']());}[_0x1b3145(0x1fc)](){const _0x4257ed=_0x1b3145;this[_0x4257ed(0x287)](this['_commandService']['beforeCommandExecuted']((_0x2ebedc,_0x11a516)=>{const _0x2153f9=_0x4257ed;var _0x4d4898;if(_0x2ebedc['id']!==_0x2de62[_0x2153f9(0x217)]['id'])return;const _0xccadb6=_0x2ebedc[_0x2153f9(0x21b)];if(!this['_hasFormulaInDirtyRanges']((_0x4d4898=_0xccadb6[_0x2153f9(0x136)])!=null?_0x4d4898:[]))return;if(!this[_0x2153f9(0x243)]())throw this['_checkAndWaitForCalculationPermission'](_0x2ebedc,_0x11a516),this['_showGuardMessage'](),new _0x3238b4[(_0x2153f9(0x192))]();})),this[_0x4257ed(0x287)](this[_0x4257ed(0x2ba)][_0x4257ed(0x106)]((_0x504dc2,_0x103aba)=>{const _0x1371bf=_0x4257ed;if(_0x504dc2['id']!==_0x2de62[_0x1371bf(0x385)]['id'])return;const _0x3e28b9=_0x504dc2['params'];if(_0x18ad97(_0x3e28b9)){const _0x2aa0c1=_0x3238b4['generateRandomId']();this[_0x1371bf(0x396)][_0x1371bf(0x2ea)](_0x2aa0c1),this[_0x1371bf(0x22f)](_0x2aa0c1);}else{if(_0x1d5f0b(_0x3e28b9)&&this[_0x1371bf(0x396)][_0x1371bf(0x2e0)]>0x0){const _0x4f7fae=this[_0x1371bf(0x396)][_0x1371bf(0x176)]();this[_0x1371bf(0x27e)](_0x4f7fae);}}}));}[_0x1b3145(0x26b)](){const _0x113d0d=_0x1b3145;super[_0x113d0d(0x26b)](),this[_0x113d0d(0x30c)](),this[_0x113d0d(0x396)]=[],this[_0x113d0d(0x124)]=0x0,this[_0x113d0d(0x3b6)]=0x0,this[_0x113d0d(0x1bd)]=0x0;}async[_0x1b3145(0x27c)](_0x9e90b0,_0x39d93e){const _0x498179=_0x1b3145;for(let _0xe42ea=0x0;_0xe42ea<0x1e;_0xe42ea++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x498179(0x226)](_0x9e90b0,_0x39d93e),this[_0x498179(0x338)][_0x498179(0x1b7)]({'content':this[_0x498179(0x28c)]['t'](_0x498179(0x165)),'type':_0x13fbb7[_0x498179(0x333)][_0x498179(0x2f0)]});return;}await new Promise(_0x51bc98=>{const _0x3540a5=_0x498179;this[_0x3540a5(0x169)]=window[_0x3540a5(0x1ce)](_0x51bc98,0x3e8);});}catch(_0x132358){this[_0x498179(0x1b8)][_0x498179(0x1a7)](_0x132358);}this[_0x498179(0x338)][_0x498179(0x1b7)]({'content':this['_localeService']['t'](_0x498179(0x195)),'type':_0x13fbb7[_0x498179(0x333)][_0x498179(0x33c)]});}[_0x1b3145(0x226)](_0x3f1d1f,_0x296805){const _0x31f09e=_0x1b3145;try{this['_commandService']['executeCommand'](_0x3f1d1f['id'],_0x3f1d1f['params'],_0x296805);}catch(_0x7ada96){this[_0x31f09e(0x1b8)]['error'](_0x7ada96);}}['_setFormulaLimitStatus'](_0x2d4137,_0x545f03){const _0x2b8990=_0x1b3145;_0x545f03<this[_0x2b8990(0x1bd)]||(this[_0x2b8990(0x1bd)]=_0x545f03,this[_0x2b8990(0x3b6)]=Number[_0x2b8990(0x1c1)](_0x2d4137['maxFormulaLimit']),this['_currentUsage']=Number[_0x2b8990(0x1c1)](_0x2d4137['currentUsage']));}async[_0x1b3145(0x22f)](_0x4330e5){const _0x301e49=_0x1b3145;var _0x43f4e8,_0x5058e0;const _0x39efc9=Date['now']();try{const _0x421ec3=((_0x43f4e8=this[_0x301e49(0x391)][_0x301e49(0x142)](_0x562098[_0x301e49(0x210)]))==null?void 0x0:_0x43f4e8['startFormulaLimitUrl'])||_0x17b4ad,_0x48ed42=(await this[_0x301e49(0x3b2)]['post'](_0x421ec3,{'body':JSON[_0x301e49(0x2c8)]({'taskId':_0x4330e5})}))[_0x301e49(0x346)];if(((_0x5058e0=_0x48ed42[_0x301e49(0x1a7)])==null?void 0x0:_0x5058e0['code'])!==_0x1903ab['OK'])return;this['_setFormulaLimitStatus'](_0x48ed42[_0x301e49(0x1f2)],_0x39efc9);}catch(_0x50532f){this[_0x301e49(0x1b8)][_0x301e49(0x1a7)](_0x50532f);}}async[_0x1b3145(0x28e)](_0x10dcba){const _0xabf392=_0x1b3145;var _0x40ad89,_0x1fb8ca;const _0x25538b=Date[_0xabf392(0x145)]();try{const _0x1f765b=((_0x40ad89=this[_0xabf392(0x391)][_0xabf392(0x142)](_0x562098[_0xabf392(0x210)]))==null?void 0x0:_0x40ad89[_0xabf392(0x202)])||_0x3aabeb,_0x584a3e=_0x10dcba?_0x1f765b+_0xabf392(0x376)+encodeURIComponent(_0x10dcba):_0x1f765b,_0x410f70=(await this[_0xabf392(0x3b2)][_0xabf392(0x111)](_0x584a3e))[_0xabf392(0x346)];if(((_0x1fb8ca=_0x410f70[_0xabf392(0x1a7)])==null?void 0x0:_0x1fb8ca[_0xabf392(0x2a1)])!==_0x1903ab['OK'])return;this['_setFormulaLimitStatus'](_0x410f70[_0xabf392(0x1f2)],_0x25538b);}catch(_0x1c9f2a){this['_logService'][_0xabf392(0x1a7)](_0x1c9f2a);}}async[_0x1b3145(0x27e)](_0x18a313){const _0x3cb21a=_0x1b3145;var _0x286198,_0x5f2b46;const _0x53a6fc=Date[_0x3cb21a(0x145)]();try{const _0x4901cb=((_0x286198=this[_0x3cb21a(0x391)]['getConfig'](_0x562098[_0x3cb21a(0x210)]))==null?void 0x0:_0x286198['releaseFormulaLimitUrl'])||_0x403fa4,_0x4da715=(await this[_0x3cb21a(0x3b2)][_0x3cb21a(0x189)](_0x4901cb,{'body':JSON['stringify']({'taskId':_0x18a313})}))[_0x3cb21a(0x346)];if(((_0x5f2b46=_0x4da715['error'])==null?void 0x0:_0x5f2b46[_0x3cb21a(0x2a1)])!==_0x1903ab['OK'])return;this[_0x3cb21a(0x353)](_0x4da715[_0x3cb21a(0x1f2)],_0x53a6fc);}catch(_0x20f9ed){this[_0x3cb21a(0x1b8)][_0x3cb21a(0x1a7)](_0x20f9ed);}}[_0x1b3145(0x243)](){const _0x1ea43b=_0x1b3145;return this[_0x1ea43b(0x3b6)]===0x0?!0x0:this[_0x1ea43b(0x3b6)]-this[_0x1ea43b(0x124)]>0x0;}[_0x1b3145(0x30c)](){const _0x5411c6=_0x1b3145;this[_0x5411c6(0x169)]&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}[_0x1b3145(0x37c)](){const _0x2bba93=_0x1b3145;this[_0x2bba93(0x338)][_0x2bba93(0x1b7)]({'content':this[_0x2bba93(0x28c)]['t'](_0x2bba93(0x22a)),'type':_0x13fbb7['MessageType'][_0x2bba93(0x1d6)]});}[_0x1b3145(0x140)](_0x135137){const _0x26930c=_0x1b3145;for(const _0x1f6659 of _0x135137){const {unitId:_0x8fe722,sheetId:_0x5a394e,range:_0x16525d}=_0x1f6659,_0x403494=this[_0x26930c(0x260)][_0x26930c(0x282)](_0x8fe722);if(!_0x403494)continue;const _0x3c0c65=_0x403494[_0x26930c(0x3cf)](_0x5a394e);if(!_0x3c0c65)continue;const _0x80f2d2=_0x3c0c65[_0x26930c(0x348)]();for(let _0x872509=_0x16525d['startRow'];_0x872509<=_0x16525d['endRow'];_0x872509++)for(let _0x38a26a=_0x16525d['startColumn'];_0x38a26a<=_0x16525d[_0x26930c(0x38b)];_0x38a26a++){const _0x524531=_0x80f2d2[_0x26930c(0x205)](_0x872509,_0x38a26a);if(_0x524531&&(_0x3238b4[_0x26930c(0x15c)](_0x524531['f'])||_0x3238b4[_0x26930c(0x2b0)](_0x524531['si'])))return!0x0;}}return!0x1;}};_0x1a1e52=_0x18a24d([_0x18a83d(0x0,_0x3238b4[_0x1b3145(0x146)](_0x5e73b5[_0x1b3145(0x335)])),_0x18a83d(0x1,_0x3238b4[_0x1b3145(0x1c7)]),_0x18a83d(0x2,_0x3238b4[_0x1b3145(0x362)]),_0x18a83d(0x3,_0x3238b4[_0x1b3145(0x146)](_0x4c4936[_0x1b3145(0x28d)])),_0x18a83d(0x4,_0x3238b4['IUniverInstanceService']),_0x18a83d(0x5,_0x3238b4['ILogService']),_0x18a83d(0x6,_0x3238b4['Inject'](_0x3238b4[_0x1b3145(0x268)]))],_0x1a1e52);var _0x581a77=Object['getOwnPropertyDescriptor'],_0x33f298=(_0x2f2622,_0x1a2593,_0x1f3d65,_0xd9ffdf)=>{const _0x1757c5=_0x1b3145;for(var _0x27d53e=_0xd9ffdf>0x1?void 0x0:_0xd9ffdf?_0x581a77(_0x1a2593,_0x1f3d65):_0x1a2593,_0x314721=_0x2f2622[_0x1757c5(0x2e0)]-0x1,_0x1510ad;_0x314721>=0x0;_0x314721--)(_0x1510ad=_0x2f2622[_0x314721])&&(_0x27d53e=_0x1510ad(_0x27d53e)||_0x27d53e);return _0x27d53e;},_0x297495=(_0x5b892f,_0x2de631)=>(_0x484425,_0x1c1644)=>_0x2de631(_0x484425,_0x1c1644,_0x5b892f);let _0x1b4b06=class extends _0x3238b4[_0x1b3145(0x16e)]{constructor(_0x546e2c,_0x54ee77,_0x566266){const _0x5732c6=_0x1b3145;super(),_0xc84b25(this,_0x5732c6(0x1ad),new Map()),_0xc84b25(this,'_saveTaskMap',new Map()),_0xc84b25(this,'_disabled',!0x1),(this[_0x5732c6(0x391)]=_0x546e2c,this['_localStorageService']=_0x54ee77,this[_0x5732c6(0x188)]=_0x566266);}['disableLocalCache'](){const _0x23d9ce=_0x1b3145;this[_0x23d9ce(0x1c5)]=!0x0;}[_0x1b3145(0x34f)](){const _0x41315e=_0x1b3145;this[_0x41315e(0x1c5)]=!0x1;}get['saveTaskMap'](){const _0x4429f1=_0x1b3145;return this[_0x4429f1(0x3a0)];}[_0x1b3145(0x26b)](){const _0x3a3c67=_0x1b3145;this['exhaustSavingTask']()[_0x3a3c67(0x1b3)](()=>super[_0x3a3c67(0x26b)]());}async[_0x1b3145(0x2f8)](_0x108617){const _0x201c34=_0x1b3145;return this['_disabled']?null:this[_0x201c34(0x286)][_0x201c34(0x27b)](_0x562098['getLocalCacheKey'](_0x108617));}async[_0x1b3145(0x18e)](_0xb22610,_0x5b43a2){const _0x35120e=_0x1b3145;return!!this['_localStorageService'][_0x35120e(0x3c7)](_0xb22610,_0x5b43a2);}[_0x1b3145(0x24b)](_0x1e75ea,_0x10e017,_0x591bcc,_0x48de2a){const _0x485154=_0x1b3145,_0x22048c=this[_0x485154(0x188)]['getCurrentRevOfUnit'](_0x1e75ea);this['_cachedData'][_0x485154(0x102)](_0x1e75ea,{'unitID':_0x1e75ea,'type':_0x10e017,'awaitingChangeset':_0x591bcc,'mutations':_0x48de2a,'rev':_0x22048c}),this[_0x485154(0x3a0)][_0x485154(0x305)](_0x1e75ea)||this['_scheduleSaving'](_0x1e75ea);}[_0x1b3145(0x31b)](_0x571fa5){const _0x31e890=_0x1b3145,_0x211277=this[_0x31e890(0x22b)]();_0x211277===0x0?this[_0x31e890(0x231)](_0x571fa5):this['_saveTaskMap'][_0x31e890(0x102)](_0x571fa5,setTimeout(()=>this[_0x31e890(0x231)](_0x571fa5),_0x211277));}['_getSaveTimeout'](){const _0x575cd0=_0x1b3145;var _0x8c9e0c;return(_0x8c9e0c=this[_0x575cd0(0x391)][_0x575cd0(0x142)](_0x562098['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x8c9e0c:_0x562098[_0x575cd0(0x2f7)];}[_0x1b3145(0x231)](_0x3c738d){const _0x339175=_0x1b3145,_0xd49358=this['_saveTaskMap'][_0x339175(0x111)](_0x3c738d);return _0xd49358!==void 0x0&&window['clearTimeout'](_0xd49358),this[_0x339175(0x286)][_0x339175(0x3c7)](_0x562098[_0x339175(0x18d)](_0x3c738d),this[_0x339175(0x1ad)][_0x339175(0x111)](_0x3c738d))['then'](()=>this[_0x339175(0x3a0)]['delete'](_0x3c738d));}async[_0x1b3145(0x1ef)](){const _0x16976c=_0x1b3145,_0x4598ce=[];this[_0x16976c(0x3a0)][_0x16976c(0x360)]((_0x292307,_0x34b86b)=>{const _0x24d027=_0x16976c;window['clearTimeout'](_0x292307),_0x4598ce[_0x24d027(0x2ea)](this[_0x24d027(0x231)](_0x34b86b)[_0x24d027(0x1b3)](()=>{const _0x508e85=_0x24d027;this[_0x508e85(0x3a0)]['delete'](_0x34b86b);}));}),await Promise[_0x16976c(0x3b1)](_0x4598ce);}};_0x1b4b06=_0x33f298([_0x297495(0x0,_0x3238b4[_0x1b3145(0x362)]),_0x297495(0x1,_0x3238b4[_0x1b3145(0x214)]),_0x297495(0x2,_0x3238b4[_0x1b3145(0x146)](_0x57c8d5[_0x1b3145(0x236)]))],_0x1b4b06);class _0x1e6858 extends _0x3238b4[_0x1b3145(0x218)]{constructor(){const _0x20b047=_0x1b3145;super(),_0xc84b25(this,'urlChange$'),this[_0x20b047(0x378)]=_0x1c6f00[_0x20b047(0x27f)](window,'popstate')[_0x20b047(0x30e)](_0x1c6f00[_0x20b047(0xff)](this[_0x20b047(0x1a6)]),_0x1c6f00[_0x20b047(0x3b7)](0x1),_0x1c6f00['mapTo'](void 0x0));}['setParam'](_0x5e4bb4,_0x5aa1d6,_0x4e5fd2=!0x1){const _0x53feac=_0x1b3145,_0x282455=new URL(window[_0x53feac(0xfd)][_0x53feac(0x180)]);_0x282455['searchParams'][_0x53feac(0x102)](_0x5e4bb4,_0x5aa1d6),_0x4e5fd2?window[_0x53feac(0x222)]['replaceState']('','',_0x282455[_0x53feac(0x108)]()):window[_0x53feac(0x222)]['pushState']('','',_0x282455[_0x53feac(0x108)]());}[_0x1b3145(0x1de)](_0x77689c,_0x10ec58=!0x1){const _0x121ecc=_0x1b3145,_0x28a2f8=new URL(window[_0x121ecc(0xfd)]['href']);_0x28a2f8[_0x121ecc(0x1d1)][_0x121ecc(0x2d4)](_0x77689c),_0x10ec58?window[_0x121ecc(0x222)][_0x121ecc(0x107)]('','',_0x28a2f8[_0x121ecc(0x108)]()):window[_0x121ecc(0x222)]['pushState']('','',_0x28a2f8['toString']());}['getParam'](_0xd50206){const _0x286335=_0x1b3145;var _0x1cc51a;return(_0x1cc51a=new URL(window['location']['href'])[_0x286335(0x1d1)][_0x286335(0x111)](_0xd50206))!=null?_0x1cc51a:void 0x0;}}var _0x3b8cc2=Object[_0x1b3145(0x3b4)],_0xd41ee6=Object[_0x1b3145(0x270)],_0x1edded=(_0x21981f,_0xa3a5ed,_0x1d0db9)=>_0xa3a5ed in _0x21981f?_0x3b8cc2(_0x21981f,_0xa3a5ed,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d0db9}):_0x21981f[_0xa3a5ed]=_0x1d0db9,_0x1ecbd0=(_0x56a465,_0x1bdd67,_0x2aa061,_0x3147dd)=>{const _0x1ca309=_0x1b3145;for(var _0x2995f5=_0x3147dd>0x1?void 0x0:_0x3147dd?_0xd41ee6(_0x1bdd67,_0x2aa061):_0x1bdd67,_0x5a4967=_0x56a465[_0x1ca309(0x2e0)]-0x1,_0xe3c6fb;_0x5a4967>=0x0;_0x5a4967--)(_0xe3c6fb=_0x56a465[_0x5a4967])&&(_0x2995f5=_0xe3c6fb(_0x2995f5)||_0x2995f5);return _0x2995f5;},_0x2284a1=(_0x2f5340,_0x42c3a3)=>(_0x29d819,_0x1a620e)=>_0x42c3a3(_0x29d819,_0x1a620e,_0x2f5340),_0x151cf3=(_0x27c697,_0x4edfc2,_0xfd87ce)=>_0x1edded(_0x27c697,_0x4edfc2+'',_0xfd87ce);const _0x280fc7=_0x1b3145(0x393);_0x1ef13c['UniverCollaborationClientUIPlugin']=class extends _0x3238b4[_0x1b3145(0x369)]{constructor(_0x2233c2=_0x3865ef,_0x3c71c0,_0x2fe09b,_0x5d5c57){const _0x15f961=_0x1b3145;super(),this[_0x15f961(0x1db)]=_0x2233c2,this[_0x15f961(0x3c0)]=_0x3c71c0,this['_injector']=_0x2fe09b,this[_0x15f961(0x391)]=_0x5d5c57;const {..._0x465e54}=_0x3238b4['merge']({},_0x3865ef,this[_0x15f961(0x1db)]);this[_0x15f961(0x391)]['setConfig'](_0x248369,_0x465e54);}[_0x1b3145(0x2d8)](){const _0xf01e10=_0x1b3145;this[_0xf01e10(0x2c0)](),this['_initDependencies']();}[_0x1b3145(0x2c2)](){const _0x1a5232=_0x1b3145;this[_0x1a5232(0x18f)]();}['_registerDependencies'](){const _0x2a563e=_0x1b3145;var _0x353a40;const _0x54316d=[[_0x29a11f],[_0x1a1e52],[_0x2fdebd],[_0x278970],[_0x382ba6],[_0x464ecb],[_0x559004,{'useClass':_0x1e6858}],[_0x4c4936[_0x2a563e(0x3b3)],{'useClass':_0x4c4936[_0x2a563e(0x103)]}],[_0x562098[_0x2a563e(0x35b)],{'useClass':_0x1b4b06}],[_0x1ef13c[_0x2a563e(0x342)]],[_0x284146],[_0x435379],[_0xf2e975],[_0x386d5a],[_0x1ef13c['CollaborationDataLoaderController']]];_0x3238b4[_0x2a563e(0x230)](this[_0x2a563e(0x275)],_0x3238b4[_0x2a563e(0x2ab)](_0x54316d,(_0x353a40=this['_config'])==null?void 0x0:_0x353a40['override']));}[_0x1b3145(0x18f)](){const _0x24db07=_0x1b3145;this[_0x24db07(0x287)](this[_0x24db07(0x3c0)][_0x24db07(0x2b7)](_0x3238b4[_0x24db07(0x1a5)][_0x24db07(0x181)],[_0x23d495])),this['disposeWithMe'](this[_0x24db07(0x3c0)][_0x24db07(0x2b7)](_0x3238b4[_0x24db07(0x1a5)][_0x24db07(0x12b)],[_0x55c3b2]));}[_0x1b3145(0x32e)](){const _0x3fe4d5=_0x1b3145;_0x3238b4[_0x3fe4d5(0x2d9)](this[_0x3fe4d5(0x275)],[[_0xf2e975],[_0x1ef13c['DesktopCollaborationStatusDisplayController']],[_0x284146],[_0x435379],[_0x1ef13c['CollaborationDataLoaderController']],[_0x1a1e52]]);}},_0x151cf3(_0x1ef13c[_0x1b3145(0x11f)],_0x1b3145(0x101),_0x280fc7),_0x1ef13c[_0x1b3145(0x11f)]=_0x1ecbd0([_0x3238b4['DependentOn'](_0x562098[_0x1b3145(0x1e5)]),_0x2284a1(0x1,_0xcb617a[_0x1b3145(0x1a8)]),_0x2284a1(0x2,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x347)])),_0x2284a1(0x3,_0x3238b4[_0x1b3145(0x362)])],_0x1ef13c[_0x1b3145(0x11f)]);var _0x2c16ca=Object[_0x1b3145(0x270)],_0x56106d=(_0x509e25,_0xcd1666,_0x3d9684,_0x4b16e5)=>{const _0x5f1862=_0x1b3145;for(var _0x5d5054=_0x4b16e5>0x1?void 0x0:_0x4b16e5?_0x2c16ca(_0xcd1666,_0x3d9684):_0xcd1666,_0x5cc9d2=_0x509e25[_0x5f1862(0x2e0)]-0x1,_0x5be12d;_0x5cc9d2>=0x0;_0x5cc9d2--)(_0x5be12d=_0x509e25[_0x5cc9d2])&&(_0x5d5054=_0x5be12d(_0x5d5054)||_0x5d5054);return _0x5d5054;},_0x5b8b0e=(_0x55f359,_0x397bbb)=>(_0x141893,_0x49dcfe)=>_0x397bbb(_0x141893,_0x49dcfe,_0x55f359);_0x1ef13c[_0x1b3145(0x2c6)]=class extends _0x562098[_0x1b3145(0x13d)]{constructor(_0x569149,_0xa1c660,_0x3e4e24,_0x48ad81,_0x28bd23){super(_0x569149,_0xa1c660,_0x3e4e24,_0x48ad81,_0x28bd23);}async[_0x1b3145(0x254)](_0x28e5fe){const _0xb4f495=_0x1b3145,_0x15fd95=await this[_0xb4f495(0x234)](),_0x3a6505=this[_0xb4f495(0x3a1)](_0x28e5fe,_0x15fd95);return this['_doCreateSocket'](_0x3a6505);}[_0x1b3145(0x3a1)](_0x5c23dc,_0x5daabb){const _0xb2b6e7=_0x1b3145,_0x38acd7=typeof window>'u'?new URL(_0x5c23dc):new URL(_0x5c23dc,window[_0xb2b6e7(0xfd)][_0xb2b6e7(0x358)]);_0x38acd7[_0xb2b6e7(0x1d1)][_0xb2b6e7(0x102)]('sessionTicket',_0x5daabb);const _0x2681fd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xb2b6e7(0xfd)][_0xb2b6e7(0x316)]);return _0x2681fd[_0xb2b6e7(0x111)]('runId')&&_0x38acd7[_0xb2b6e7(0x1d1)][_0xb2b6e7(0x102)](_0xb2b6e7(0x39b),_0x2681fd[_0xb2b6e7(0x111)](_0xb2b6e7(0x39b))),_0x38acd7['toString']();}async[_0x1b3145(0x234)](){const _0x31df9f=_0x1b3145;var _0x1b411a,_0x12e861,_0x2e3503;const _0x127723=this['_configService'][_0x31df9f(0x142)](_0x562098['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x3470f2=(_0x1b411a=_0x127723==null?void 0x0:_0x127723[_0x31df9f(0x153)])!=null?_0x1b411a:_0x562098[_0x31df9f(0x2c5)];return(_0x2e3503=(_0x12e861=(await this[_0x31df9f(0x3b2)][_0x31df9f(0x111)](_0x3470f2,{'headers':{'Content-Type':_0x31df9f(0x3c5)}}))[_0x31df9f(0x346)])==null?void 0x0:_0x12e861['ticket'])!=null?_0x2e3503:'';}},_0x1ef13c[_0x1b3145(0x2c6)]=_0x56106d([_0x5b8b0e(0x0,_0x3238b4[_0x1b3145(0x146)](_0x3238b4[_0x1b3145(0x347)])),_0x5b8b0e(0x1,_0x3238b4[_0x1b3145(0x146)](_0x4c4936[_0x1b3145(0x28d)])),_0x5b8b0e(0x2,_0x3238b4[_0x1b3145(0x362)]),_0x5b8b0e(0x3,_0x3238b4[_0x1b3145(0x262)]),_0x5b8b0e(0x4,_0x57c8d5['ISnapshotServerService'])],_0x1ef13c[_0x1b3145(0x2c6)]);var _0x42baba=Object[_0x1b3145(0x270)],_0x44e14f=(_0x26e5d7,_0x2120cf,_0x500bbd,_0x49e026)=>{const _0x422546=_0x1b3145;for(var _0x27c473=_0x49e026>0x1?void 0x0:_0x49e026?_0x42baba(_0x2120cf,_0x500bbd):_0x2120cf,_0x275964=_0x26e5d7[_0x422546(0x2e0)]-0x1,_0x4b736c;_0x275964>=0x0;_0x275964--)(_0x4b736c=_0x26e5d7[_0x275964])&&(_0x27c473=_0x4b736c(_0x27c473)||_0x27c473);return _0x27c473;},_0x44bf3a=(_0x59dffd,_0x486144)=>(_0x544868,_0x4b079)=>_0x486144(_0x544868,_0x4b079,_0x59dffd);_0x1ef13c[_0x1b3145(0x292)]=class extends _0x3238b4[_0x1b3145(0x16e)]{constructor(_0x53ed36,_0x3ea3a0,_0x17b556){const _0xb55bb4=_0x1b3145;super(),this[_0xb55bb4(0x117)]=_0x53ed36,this[_0xb55bb4(0x3b2)]=_0x3ea3a0,this[_0xb55bb4(0x391)]=_0x17b556;}async[_0x1b3145(0x39e)](_0x21d780,_0x54da53,_0x346f90,..._0x2d6937){const _0x34fe2c=_0x1b3145;var _0x2122b7,_0x43f52a,_0x565283,_0x5618ab;const _0x2912ce=this[_0x34fe2c(0x117)]['getFocusedUnit']();if(!_0x2912ce)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x560f58=((_0x2122b7=this[_0x34fe2c(0x391)][_0x34fe2c(0x142)](_0x562098[_0x34fe2c(0x386)]))!=null?_0x2122b7:_0x562098[_0x34fe2c(0x356)])+'/'+_0x21d780+_0x34fe2c(0x355)+_0x54da53,_0x2e447f=new URL(window['location'][_0x34fe2c(0x180)]),_0x5b75e3={'scriptId':_0x21d780,'runId':(_0x43f52a=_0x2e447f[_0x34fe2c(0x1d1)]['get'](_0x34fe2c(0x39b)))!=null?_0x43f52a:'','function':_0x54da53,'unitId':_0x2912ce[_0x34fe2c(0x259)](),'argsOfFunction':JSON[_0x34fe2c(0x2c8)](_0x2d6937),'invokeId':(_0x565283=_0x346f90[_0x34fe2c(0x2e3)])!=null?_0x565283:'','executionId':(_0x5618ab=_0x346f90['executionId'])!=null?_0x5618ab:''};try{const _0x18905b=await this[_0x34fe2c(0x3b2)][_0x34fe2c(0x189)](_0x560f58,{'body':_0x5b75e3});return _0x18905b[_0x34fe2c(0x346)]['error']&&_0x18905b[_0x34fe2c(0x346)]['error']['code']!==_0x1903ab['OK']?_0x34fe2c(0x37a):_0x18905b[_0x34fe2c(0x346)][_0x34fe2c(0x29f)];}catch{return _0x34fe2c(0x37a);}}},_0x1ef13c['RemoteUniscriptService']=_0x44e14f([_0x44bf3a(0x0,_0x3238b4[_0x1b3145(0x2be)]),_0x44bf3a(0x1,_0x3238b4[_0x1b3145(0x146)](_0x4c4936[_0x1b3145(0x28d)])),_0x44bf3a(0x2,_0x3238b4[_0x1b3145(0x362)])],_0x1ef13c[_0x1b3145(0x292)]);const _0x255c62=0x7530,_0x57cf67=_0x1b3145(0x150);class _0x51e8a8 extends _0x3238b4[_0x1b3145(0x16e)]{constructor(){const _0x30120e=_0x1b3145;super(),_0xc84b25(this,_0x30120e(0x170),_0x3238b4['generateRandomId']()),_0xc84b25(this,_0x30120e(0x23b),new Set()),_0xc84b25(this,'_unitOnClients',new Map()),_0xc84b25(this,'_heartbeatTimer',null),_0xc84b25(this,'_clearOtherTimers',new Map()),_0xc84b25(this,_0x30120e(0x17e),new Map()),this['_init']();}[_0x1b3145(0x26b)](){const _0x379309=_0x1b3145;super['dispose'](),this['_clearOtherTimers'][_0x379309(0x360)]((_0xac4233,_0x3e2d36)=>this[_0x379309(0x17b)](_0x3e2d36)),this['_heartbeatTimer']&&window[_0x379309(0x1ff)](this['_heartbeatTimer']);}[_0x1b3145(0x381)](_0x18d5aa){const _0x11346a=_0x1b3145;return this[_0x11346a(0x2ee)](_0x18d5aa)[_0x11346a(0x30e)](_0x1c6f00[_0x11346a(0x240)]());}['editingUnit'](_0x552cd4){const _0x225e2f=_0x1b3145;this[_0x225e2f(0x23b)][_0x225e2f(0x245)]===0x0&&this[_0x225e2f(0x1b0)](),this[_0x225e2f(0x23b)]['add'](_0x552cd4),this[_0x225e2f(0x187)]({'type':0x0,'memberID':this[_0x225e2f(0x170)],'unitIDs':[_0x552cd4],'isForwarded':!0x1});}['disposeUnit'](_0x4e2ecb){const _0x527a34=_0x1b3145;this[_0x527a34(0x23b)][_0x527a34(0x2d4)](_0x4e2ecb),this[_0x527a34(0x23b)]['size']===0x0&&this[_0x527a34(0x115)]&&window[_0x527a34(0x1ff)](this[_0x527a34(0x115)]);}['_init'](){const _0x4745a6=_0x1b3145;this[_0x4745a6(0x287)](_0x3238b4[_0x4745a6(0x2e5)](_0x1c6f00[_0x4745a6(0x27f)](window,'storage')[_0x4745a6(0x175)](_0x9c910e=>{if(_0x9c910e['key']!==_0x57cf67||!_0x9c910e['newValue'])return;const _0x22b451=JSON['parse'](_0x9c910e['newValue']);this['_handleEvent'](_0x22b451);}))),window[_0x4745a6(0x14f)](_0x4745a6(0x332),()=>this['_send']({'type':0x1,'memberID':this[_0x4745a6(0x170)],'unitIDs':Array[_0x4745a6(0x2e2)](this[_0x4745a6(0x23b)])}));}[_0x1b3145(0x109)](_0x294048){const _0x4fd7c2=_0x1b3145;switch(_0x294048[_0x4fd7c2(0x232)]){case 0x0:this[_0x4fd7c2(0x367)](_0x294048);break;case 0x1:this['_handleLeaveEvent'](_0x294048);break;case 0x2:this[_0x4fd7c2(0x343)](_0x294048);break;}}[_0x1b3145(0x367)](_0x4a9fa2){const _0x385b4f=_0x1b3145,{unitIDs:_0x2fb628,memberID:_0x4a45e9,isForwarded:_0x4643f1}=_0x4a9fa2;_0x2fb628[_0x385b4f(0x360)](_0x46cb53=>{const _0x3a0ff8=_0x385b4f;if(!_0x4643f1&&this['_unitOnClients'][_0x3a0ff8(0x305)](_0x46cb53)&&this[_0x3a0ff8(0x2ee)](_0x46cb53)[_0x3a0ff8(0x173)](_0x562098['UnitStatus'][_0x3a0ff8(0x24f)]),!this[_0x3a0ff8(0x253)]['has'](_0x46cb53)||!this[_0x3a0ff8(0x253)]['get'](_0x46cb53)['has'](_0x4a45e9)){const _0x106b34=this['_unitOnClients'][_0x3a0ff8(0x111)](_0x46cb53)||new Set();_0x106b34[_0x3a0ff8(0x2bf)](_0x4a45e9),this[_0x3a0ff8(0x253)][_0x3a0ff8(0x102)](_0x46cb53,_0x106b34),this[_0x3a0ff8(0x1be)](_0x4a45e9);}}),_0x4643f1||this['_send']({'type':0x0,'memberID':this[_0x385b4f(0x170)],'unitIDs':[...this[_0x385b4f(0x23b)]],'isForwarded':!0x0});}[_0x1b3145(0x1be)](_0x5a72fd){const _0x527f5b=_0x1b3145;this[_0x527f5b(0x17b)](_0x5a72fd);const _0x43f5b2=window['setTimeout'](()=>{const _0x3f052b=_0x527f5b;this[_0x3f052b(0x253)][_0x3f052b(0x360)](_0x22365f=>{const _0x4732a1=_0x3f052b;_0x22365f[_0x4732a1(0x2d4)](_0x5a72fd);});},_0x255c62*0x2);this[_0x527f5b(0x390)]['set'](_0x5a72fd,_0x43f5b2);}[_0x1b3145(0x17b)](_0x5dfae2){const _0x2a68bf=_0x1b3145;if(this['_clearOtherTimers'][_0x2a68bf(0x305)](_0x5dfae2)){const _0x349ef7=this['_clearOtherTimers']['get'](_0x5dfae2);_0x349ef7&&window[_0x2a68bf(0x290)](_0x349ef7),this[_0x2a68bf(0x390)][_0x2a68bf(0x102)](_0x5dfae2,null);}}[_0x1b3145(0x31f)](_0x19449e){const _0xd8f4cc=_0x1b3145,{memberID:_0x127dc4,unitIDs:_0x189a09}=_0x19449e;_0x189a09['forEach'](_0x39e5b2=>{const _0x222c2c=_0x1014;var _0x4e64aa;const _0x9f0f8e=this[_0x222c2c(0x253)]['get'](_0x39e5b2);_0x9f0f8e&&(_0x9f0f8e[_0x222c2c(0x2d4)](_0x127dc4),(_0x4e64aa=this[_0x222c2c(0x2ee)](_0x39e5b2))==null||_0x4e64aa[_0x222c2c(0x173)](_0x9f0f8e[_0x222c2c(0x245)]===0x0?_0x562098[_0x222c2c(0x1eb)][_0x222c2c(0x31d)]:_0x562098[_0x222c2c(0x1eb)][_0x222c2c(0x24f)]));}),this[_0xd8f4cc(0x17b)](_0x127dc4);}[_0x1b3145(0x343)](_0x33a020){const _0xc1bab2=_0x1b3145;this['_scheduleClearOtherTimer'](_0x33a020[_0xc1bab2(0x23a)]);}[_0x1b3145(0x187)](_0x141e6d){const _0x1407e8=_0x1b3145;localStorage[_0x1407e8(0x3c7)](_0x57cf67,JSON[_0x1407e8(0x2c8)](_0x141e6d));}[_0x1b3145(0x1b0)](){const _0x326cd4=_0x1b3145;this['_heartbeatTimer']=window[_0x326cd4(0x2b3)](()=>{const _0xc4b72f=_0x326cd4;this[_0xc4b72f(0x187)]({'type':0x2,'memberID':this['_id']});},_0x255c62);}[_0x1b3145(0x2ee)](_0x3b2497){const _0x2161c0=_0x1b3145;return this['_unitStatus']['has'](_0x3b2497)||this[_0x2161c0(0x17e)][_0x2161c0(0x102)](_0x3b2497,new _0x1c6f00[(_0x2161c0(0x278))](_0x562098[_0x2161c0(0x1eb)][_0x2161c0(0x31d)])),this['_unitStatus']['get'](_0x3b2497);}}_0x1ef13c['IURLService']=_0x559004,_0x1ef13c['SheetCollabCursorShape']=_0x47b0f3,_0x1ef13c[_0x1b3145(0x1a3)]=_0x51e8a8,_0x1ef13c['WebURLService']=_0x1e6858,Object[_0x1b3145(0x3b4)](_0x1ef13c,Symbol[_0x1b3145(0x1e3)],{'value':_0x1b3145(0x1d7)});}));
8
+ function _0x3674(){const _0x278f08=['font','_cachedData','mergeOverrideWithDependencies','range','unitId','_commandService','getConfig','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_setFormulaLimitStatus','_maxFormulaLimit','data','addHandlerCallback','children','YUUMI_URL_COL_OUT_OF_RANGE','black','application/json','SOCKET_FAILED_RETRY','origin','handleDeleteRangeMoveLeft','get','some','Inject','IUIPartsService','combineLatest','INVALID_INVITE_CODE','getCurrentSelections','handleDeleteRangeMoveUp','startRow','ENTITLE_INSUFFICIENT_QUOTA','width','_startSheetCollabCursor','_getMergeRange','_updateCollabCursors','disposeWithMe','getCoordByCell','RegularPolygon','_backgroundColor','_hover','setConfig','_checkAndWaitForCalculationPermission','href','_transformUndoRedoStack','IMessageService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','currentColor','_themeService','_showGuardMessage','assign','TOO_MANY_REQUESTS','urlChange$','getDocRanges','onRendered','_toggleOffline','UniverProCollaborationClient','_currentUsage','status$','FromArray','colorChannel1','/universer-api/license/formula/limit/status','white','reason','_scene','arc','transformIMECache','color','newValue','getSkeleton','roomMembers','rxjs/operators','_handleEvent','getOwnPropertyDescriptor','_checkCalculationAvailable','UniverDesign','HEADER_MENU','limitInfo','Error','ERROR_AGAIN','setParam','next','show','setInterval','Success','undoState','findNodePositionByCharIndex','path','LOCAL_CACHE_INTERVAL','RefRangeService','_dataLoaderService','replace','url(#on-line-icon_clip0_910_349)','85257ScLQcw','socket$','UniverRpc','getUnitId','...','disableLocalCache','disposeUnit','_entityInit$','handleMoveRange','UniverProCollaborationClientUi','_cursorShapes','join','drawWith','UniverEngineFormula','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','saveOfflineData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','isTransformMutationsWithChangesetSuccess','onPointerMove$','_handleHover','LOGIN_TOKEN_PROCESSING_FAILED','delete','UNIVER_DOC','registerRefRange','find','YUUMI_NO_CUBOID_FOR_QUESTION','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getUnit','_notificationService','ILocalCacheService','EMAIL_VERIFY_CODE_MISMATCH','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_heartbeatTimer','mask','pipe','WebBrowserSingleActiveUnitService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onCursorUpdate','APPLY_REVISION_CONFILICT','DocStateChangeManagerService','_taskIds','Optional','subscribeEvent','INVITE_CODE_HAS_BEEN_UES','then','ICommandService','Injector','exhaustSavingTask','_anchor','DocSelectionManagerService','BrowserCollaborationSocketService','unsubscribe','_ensureSubject','toDisposable','_scheduleHeartbeat','_onCursorDelete','save','defs','getViewport','/universer-api/frontend/logs','YUUMI_ALL_TABLES_IS_INVALID','_collabCursorController','executeCommand','isArray','OTHER_CLIENTS_EDITING','CLOSE_ROOM','_initUnhandledRejectionListener','removeParam','M0\x200H16V16H0z','actions','size','SetWorksheetActivateCommand','fromEvent','operators','mapTo','CollaborationEvent','clearTimeout','values','YUUMI_SUBSCRIPTION_NOT_FOUND','[Unhandled\x20Rejection]:\x20','_registerRenderDependencies','843488HkKOmC','LOGIN_FAILED','switchMap','UniverUi','AWAITING','getMemberID','_session','NodePositionConvertToRectRange','toString','ENTITLE_DUP_SUBSCRIPTION','totalFormulasToCalculate','ENTITLE_NEED_BILLING_ADDRESS','_docTransformIMECacheService','replaceDocRanges','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_colorAssignService','dispose$','object','START_CALCULATION','requireSession','onLocalMutation','univer-mr-2\x20univer-flex\x20univer-text-xl','RECT','_docSkeletonManagerService','handleInsertRangeMoveRight','fillRule','onStarting','CollaborationSocketService','getformulaLimitStatusUrl','_pollingInterval','_initEvent','_anchorDot','CollaborationController','measureText','storage','LOCAL_CACHE_INTERVAL_KEY','idSuffix','[LogService\x20Error]:\x20','body','REDEMPTION_CODE_NOT_STARTED','_collabSessionService','LICENSE_MAX_UNITS_EXCEEDED','fillText','jsx','handleIRemoveRow','_instanceService','NodePositionConvertToCursor','lineTo','currentTheme$','TEXT','entityInit$','collabStatus.fetchMiss','isEditing','selection','jiqing.500','on-line-icon','@univerjs/core','IConfigService','_updateSubUnitFromURLParams','_entities','YUUMI_AI_RUN_FAILED','_textBubble','getMember','setShapeProps','takeUntil','_draw','UNDEFINED','filter','FETCH_MISS','random','evenodd','collab-client.tooltip.reconnect','@univerjs-pro/collaboration','top','/universer-api/license/formula/limit/start','length','INVALID_ARGUMENT','subscribe','complete','collaboration-client-ui.config','eventID','_initStatusComponent','collaboration.single-unit.warning','makeDirty','getCurrentRevOfUnit','1em','tag','getColor','_cursorInfo$','isFormulaString','string','assignAColorForMemberID','_getAnchorBounding','YUUMI_UNABLE_LOAD_URL','hovered','debug','DeleteRangeMoveUpCommandId','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getRenderById','getCellPositionByOffset','collabStatus.notCollab','m2Prime','map','endRow','ENTITLE_CHAT_LIMIT_EXCEED','_imageIoService','getTypeOfUnitAdded$','set','includes','ACTIVE_UNIT_EVENT_CHANNEL','Tools','SetDocZoomRatioOperation','throttleTime','react/jsx-runtime','UnitStatus','transformMutation','none','_status$','searchParams','docStateChange$','parseInt','UniverCollaborationClientUIPlugin','_id','params','transformByState','CURRENT_STATUS_CANNOT_OPERATE','JOIN_ROOM_FAILED','code','_saveTaskMap','loadOfflineData','cursorInfo$','forwardRef','59345FmCrYi','DATA_SOURCE_TOO_LARGE','85806XGYiLX','split','_getScale','CollaborationDataLoaderController','setTimeout','_roomMembers$','roomMembers$','_docStateChangeManagerService','_eventUnsubscribe','location','ONLINE','Disposable','@univerjs/design','MOBILE_HAS_BEEN_BOUND','WECHAT_HAS_BEEN_BOUND','displayName','UNIVER_SHEET','unit','getSheetObject','debounce','2734VaCMpi','startsWith','sessionStatus$','endColumn','getItem','yellow.400','_configService','_memberService','NOT_FOUND','IURLService','IRemoteInstanceService','_monkeyPatchLogService','_getFormulaLimitStatus','REDEMPTION_CODE_FULLY_REDEEMED','SNAPSHOT_INVALID_SNAPSHOT','removeEventListener','getCurrent','cursorInfo','getCollabEntity$','transformSelections','@univerjs-pro/collaboration-client','_initCommandExecutedListener','Failed','MOBILE_VERIFY_CODE_MISMATCH','beginPath','triggerDblclick','getActiveSheet','MoveRangeCommandId','@univerjs/engine-formula','add','addEventListener','setStateCache','UniverIcon','LICENSE_DISTRO_REJECTED','green.600','_localeService','getVpScrollXYInfoByPosToVp','Rect','getLocalCacheKey','\x20at\x20','clipPath','YUUMI_RATE_OVER_LIMIT','DocSkeletonManagerService','getSheetId','REDEMPTION_INVALID_CODE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_startDocCollabCursor','MessageType','div','INVITE_CODE_ALREADY_BOUND','_hideTimer','releaseFormulaLimitUrl','_toggleOnline','maxFormulaLimit','with','dispose','_unitOnClients','ITransformService','EMAIL_HAS_BEEN_BOUND','getColorFromTheme','session.will-retry','DocCollaborationEntity','handleInsertRow','memberID','collab-rect-range-','_collaborationController','useObservable','AUTHORIZE_CODE_ILLEGAL','_initStatusListener','handleInsertRangeMoveDown','saveImage','svg','_localStorageService','toRgbString','APPLY_DUPLICATED','USER_NOT_FOUND','RemoveRowCommandId','collabStatus.synced','_cursors','getStateCache','UniverSheets','_getSheetObject','_cursor','UniverProCollaboration','_transformHistoryAndStateStack','RxDisposable','search','getMergeData','BehaviorSubject','IRenderManagerService','Warning','blue.400','_render','formula.calculation.unable','_injector','bind','_clearPolling','exports','permission.title','@univerjs/docs-ui','handleIRemoveCol','deepClone','DesktopCollaborationStatusDisplayController','DEFAULT_WS_SESSION_TICKET_URL','_selfUnitIDs','catch','stringify','replaceState','rgba(255,\x20255,\x20255,\x200.01)','_handleJoinEvent','setAlpha','2211240mawCrz','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','HTTPService','onMouseMove','Shape','UniverEngineRender','off-line-icon','NOT_COLLAB','http://www.w3.org/2000/svg','useDependency','substring','editingUnit','_createSocketURL','ENTITLE_REPORT_LIMIT_EXCEED','0\x200\x2016\x2016','_updateURLWithCurrentState','subUnitId','post','DocIMEInputManagerService','_docClipboardService','clearInterval','SetFormulaCalculationStartMutation','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','setItem','[Window\x20Error]:\x20','bottom','runRefRangeMutations','330ZgUmQj','@univerjs/rpc','_labelPosition','redoState','0\x200\x2017\x2016','YUUMI_CONNECTOR_URL_NOT_FOUND','merge','clsx','saveTaskMap','row','getOffsetConfig','event$','_messageService','_hovered','OffLineIcon','moveTo','history','uni.network.url-service','_sheetSkeletonManagerService','getRangePointData','doc.mutation.rich-text-editing','_collaborationSessionService','registerComponent','_handleHeartbeatEvent','TEXT_RANGE_LAYER_INDEX','UniverDocs','unshift','on-line-icon_clip0_910_349','IUniverInstanceService','[CollaborationDataLoaderController]','22XnfkHs','PAYMENT_CHANNEL_NOT_SUPPORT','transformStateCache','InsertColCommandId','getFocusedUnit','syncEditingCollabCursor','functionsExecutedState','YUUMI_ASYNCIO_CANCELLED','onPointerEnter$','off-line-icon_clip0_910_343','_send','handleInsertCol','filename','_initWindowErrorListener','_refRangeService','debounceTime','skeleton','_syncEditingCollabCursorService','defIds','createSocket','_revisionService','resize','_init','APPLY_PERMISSION_DENIED','_initEntityListener','_releaseCalculationLimit','ranges','round','createElement','rxjs','COLORS','_collabCursorState$','EffectRefRangId','_localCacheService','_collaborationUIEventService','defineProperty','addObjects','LICENSE_IMPORT_SIZE_EXCEEDED','collaboration-client.offline-data-not-saved','PENDING','init','dirtyRanges','createIdentifier','getParam','sessionTicket','PERMISSION_DENIED','_setupSubUnitSync','UniverInstanceType','_initUserListener','runId','textRanges','ColorKit','_colorIndex','_lastResponseTimestamp','_initCommandInterceptor','_uiPartsService','attrs','@univerjs/sheets-ui','ILogService','_color','type','_shapes','contains','USER_IS_ANONYMOUS','getValue','REDEMPTION_USER_NOT_ELIGIBLE','INVITE_CODE_REQUIRED','getCellMatrix','trim','name','80fTBAiV','send','CollaborationUIEventService','_lastPointer','amd','text','OFFLINE','2658hQfSyJ','m1Prime','COMPLETION_FINISHED','Vector2','getAncestorScale','AWAITING_WITH_PENDING','SNAPSHOT_HAS_BEEN_REMOVED','?taskId=','onPointerLeave$','translate(.97)','_assignedColors','addClipboardHook','_initDependencies','_handleLeaveEvent','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_drawTextRange','_disabled','createInstance','5047OKLFHy','_logService','registerDependencies','activeSheet$','shift','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','USER_NOT_INVITED_CODE','Subject','_onRefRangeChange','IDocClipboardService','_uploadLog','_renderManagerService','pushState','RemoteUniscriptService','fillStyle','getSheetBySheetId','ENSURE_SNAPSHOT_EXECUTION','runOnServer','formula.calculation.started','column','InsertRangeMoveRightCommandId','_scheduleClearOtherTimer','_setupBeforeClosingHandler','APPLY_NON_SEQUENTIAL_REVISION','red.300','error','ILocalStorageService','CONNECTOR_DATA_TOO_LARGE','onCommandExecuted','UniverSheetsUi','loadUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','_drawRectRange','DOC_RANGE_TYPE','subunit','@univerjs/drawing','getUniverSheetInstance','ALREADY_EXISTS','url(#$1','RevisionService','INTERNAL_ERROR','has','addObject','collabStatus.conflict','ISnapshotServerService','_beforeCloseService','_memberID','imageSourceType','getCollabCursors$','CollaborationSessionService','React','executionId','reconnect','xlink:href','MemberService','purple.300','useCallback','getRelativeToViewportCoord','UniverDocsUi','_transformPreviousActiveRange','isActive','entries','_online','message','from','stageInfo','_refreshCollabCursors','PY_RUNTIME_SCRIPT_ERROR','INotificationService','327VmfBiz','forEach','_applyCommand','asObservable','/universer-api/license/formula/limit/done','_saveCache','getActiveRange','generateRandomId','_getSessionTicket','_removeCollabCursors','mutations','height','min','_drawAnchor','USERS_LEAVE','hide','CollaborationUIEventId','_univerInstanceService','#FFF','distinctUntilChanged','unitID','now','fill','restore','_urlService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CollaborationStatus','CONFLICT','FormulaExecuteStageType','collabCursorState$','@univerjs/ui','FormulaExecutedStateType','_transformService','collabStatus.offline','REDEMPTION_CODE_INACTIVE','_removeClearOtherTimer','_initResize','_httpService','_startCalculationLimit','currentSkeleton$','transformMutationsWithChangeset','stack','InsertRangeMoveDownCommandId','_clearOtherTimers','SessionStatus','_updateLocalCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','startColumn','transformRemoteChangeset','fromEventSubject','getUnitStatus$','VIEW_MAIN','source','_range','_name','UPDATE_CURSOR','APPLY_REJECT','push','/run/','UniverCollaborationClientPlugin','_getSaveTimeout','_docTransformStateCacheService','labelPosition','ThemeService','shareReplay','override','_config','Workbook','_doCreateSocket','_docSyncEditingCollabCursorService','_unitStatus','ISocketService','getTypeOfUnitDisposed$','_hasFormulaInDirtyRanges','isTransformMutationFailure','current','univer-flex\x20univer-items-center','_context','unhandledrejection'];_0x3674=function(){return _0x278f08;};return _0x3674();}function _0x3621(_0x3c01a0,_0x5b0b36){const _0x367459=_0x3674();return _0x3621=function(_0x362151,_0x411d0c){_0x362151=_0x362151-0x1ba;let _0x5baea0=_0x367459[_0x362151];return _0x5baea0;},_0x3621(_0x3c01a0,_0x5b0b36);}(function(_0x1fb1e3,_0xe6a074){const _0x158be5=_0x3621,_0x4d19f8=_0x1fb1e3();while(!![]){try{const _0x5f5d74=parseInt(_0x158be5(0x427))/0x1+parseInt(_0x158be5(0x43b))/0x2*(-parseInt(_0x158be5(0x2a7))/0x3)+-parseInt(_0x158be5(0x249))/0x4*(-parseInt(_0x158be5(0x425))/0x5)+-parseInt(_0x158be5(0x250))/0x6*(-parseInt(_0x158be5(0x262))/0x7)+-parseInt(_0x158be5(0x3a1))/0x8+-parseInt(_0x158be5(0x350))/0x9*(-parseInt(_0x158be5(0x1e5))/0xa)+parseInt(_0x158be5(0x203))/0xb*(-parseInt(_0x158be5(0x1c9))/0xc);if(_0x5f5d74===_0xe6a074)break;else _0x4d19f8['push'](_0x4d19f8['shift']());}catch(_0x3feb4c){_0x4d19f8['push'](_0x4d19f8['shift']());}}}(_0x3674,0x511bb),function(_0x4cc780,_0x271d09){const _0xb6337a=_0x3621;typeof exports==_0xb6337a(0x3b2)&&typeof module<'u'?_0x271d09(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0xb6337a(0x24d)]?define([_0xb6337a(0x1bb),_0xb6337a(0x412),_0xb6337a(0x44f),_0xb6337a(0x3d9),_0xb6337a(0x2c5),_0xb6337a(0x220),_0xb6337a(0x433),'react',_0xb6337a(0x1e6),'@univerjs/sheets','@univerjs/engine-render','@univerjs/network',_0xb6337a(0x1bd),_0xb6337a(0x285),_0xb6337a(0x3e9),'@univerjs/docs',_0xb6337a(0x457),_0xb6337a(0x33a),_0xb6337a(0x23c)],_0x271d09):(_0x4cc780=typeof globalThis<'u'?globalThis:_0x4cc780||self,_0x271d09(_0x4cc780[_0xb6337a(0x359)]={},_0x4cc780[_0xb6337a(0x294)],_0x4cc780[_0xb6337a(0x32b)],_0x4cc780['UniverCore'],_0x4cc780[_0xb6337a(0x3a4)],_0x4cc780[_0xb6337a(0x220)],_0x4cc780[_0xb6337a(0x33e)],_0x4cc780[_0xb6337a(0x294)],_0x4cc780[_0xb6337a(0x352)],_0x4cc780[_0xb6337a(0x48b)],_0x4cc780[_0xb6337a(0x1cf)],_0x4cc780['UniverNetwork'],_0x4cc780[_0xb6337a(0x29c)],_0x4cc780['UniverDrawing'],_0x4cc780[_0xb6337a(0x48e)],_0x4cc780[_0xb6337a(0x1fe)],_0x4cc780[_0xb6337a(0x35d)],_0x4cc780[_0xb6337a(0x220)][_0xb6337a(0x399)],_0x4cc780[_0xb6337a(0x27f)]));}(this,function(_0x8036c6,_0x56c279,_0x19f8d7,_0x3772e7,_0x2e0e04,_0x104804,_0x4d7604,_0x430ffc,_0x2bbe73,_0x235c42,_0x29b571,_0xe6cf6e,_0x7ab617,_0x331913,_0x116492,_0x37acc3,_0x4915ec,_0x568e97,_0x3e18f2){'use strict';const _0x513e05=_0x3621;var _0xcaddf5=Object['defineProperty'],_0x2b860e=(_0x38ba96,_0x1e448d,_0x54a2f2)=>_0x1e448d in _0x38ba96?_0xcaddf5(_0x38ba96,_0x1e448d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54a2f2}):_0x38ba96[_0x1e448d]=_0x54a2f2,_0xfd5d9c=(_0xead01,_0x494ee9,_0x51d4aa)=>_0x2b860e(_0xead01,typeof _0x494ee9!='symbol'?_0x494ee9+'':_0x494ee9,_0x51d4aa);function _0x1e85c1({ref:_0xe86f5c,..._0x281e53}){const _0x2fbb59=_0x3621,{icon:_0x256f37,id:_0x139a09,className:_0x16071c,extend:_0x16e8a6,..._0x1742b8}=_0x281e53,_0x2efc03=('univerjs-icon\x20univerjs-icon-'+_0x139a09+'\x20'+(_0x16071c||''))[_0x2fbb59(0x247)](),_0xe32f61=_0x430ffc['useRef']('_'+_0x2fc302());return _0x35ac53(_0x256f37,''+_0x139a09,{'defIds':_0x256f37[_0x2fbb59(0x215)],'idSuffix':_0xe32f61[_0x2fbb59(0x2f2)]},{'ref':_0xe86f5c,'className':_0x2efc03,..._0x1742b8},_0x16e8a6);}function _0x35ac53(_0x5055ed,_0x20066b,_0x533f6d,_0x475994,_0x33ea58){const _0x13f0e2=_0x3621;return _0x430ffc[_0x13f0e2(0x21f)](_0x5055ed[_0x13f0e2(0x3f7)],{'key':_0x20066b,..._0x23eaeb(_0x5055ed,_0x533f6d,_0x33ea58),..._0x475994},(_0x2f85fd(_0x5055ed,_0x533f6d)[_0x13f0e2(0x302)]||[])[_0x13f0e2(0x407)]((_0x4475cf,_0x3eb428)=>_0x35ac53(_0x4475cf,_0x20066b+'-'+_0x5055ed[_0x13f0e2(0x3f7)]+'-'+_0x3eb428,_0x533f6d,void 0x0,_0x33ea58)));}function _0x23eaeb(_0x66bab,_0x5b02ec,_0x205b0f){const _0x5dbea4=_0x3621,_0xfc991a={..._0x66bab['attrs']};_0x205b0f!=null&&_0x205b0f['colorChannel1']&&_0xfc991a['fill']===_0x5dbea4(0x32f)&&(_0xfc991a[_0x5dbea4(0x2bd)]=_0x205b0f[_0x5dbea4(0x32f)]),_0x66bab[_0x5dbea4(0x3f7)]===_0x5dbea4(0x371)&&_0xfc991a['id']&&(_0xfc991a['id']=_0xfc991a['id']+_0x5b02ec[_0x5dbea4(0x3c5)]),Object[_0x5dbea4(0x29f)](_0xfc991a)[_0x5dbea4(0x2a8)](([_0xc860a7,_0x4e8672])=>{const _0x5a3e33=_0x5dbea4;_0xc860a7===_0x5a3e33(0x371)&&typeof _0x4e8672=='string'&&(_0xfc991a[_0xc860a7]=_0x4e8672[_0x5a3e33(0x34e)](/url\(#(.*)\)/,'url(#$1'+_0x5b02ec[_0x5a3e33(0x3c5)]+')'));});const {defIds:_0x3f4f08}=_0x5b02ec;return!_0x3f4f08||_0x3f4f08[_0x5dbea4(0x3ec)]===0x0||(_0x66bab[_0x5dbea4(0x3f7)]==='use'&&_0xfc991a[_0x5dbea4(0x297)]&&(_0xfc991a[_0x5dbea4(0x297)]=_0xfc991a['xlink:href']+_0x5b02ec[_0x5dbea4(0x3c5)]),Object[_0x5dbea4(0x29f)](_0xfc991a)[_0x5dbea4(0x2a8)](([_0x55b305,_0x4782d0])=>{const _0x3c18f6=_0x5dbea4;typeof _0x4782d0=='string'&&(_0xfc991a[_0x55b305]=_0x4782d0[_0x3c18f6(0x34e)](/url\(#(.*)\)/,_0x3c18f6(0x288)+_0x5b02ec[_0x3c18f6(0x3c5)]+')'));})),_0xfc991a;}function _0x2f85fd(_0x43d4f1,_0x33da0b){const _0x220a96=_0x3621;var _0x40f495;const {defIds:_0x1fd22d}=_0x33da0b;return!_0x1fd22d||_0x1fd22d[_0x220a96(0x3ec)]===0x0?_0x43d4f1:_0x43d4f1[_0x220a96(0x3f7)]==='defs'&&((_0x40f495=_0x43d4f1['children'])!=null&&_0x40f495[_0x220a96(0x3ec)])?{..._0x43d4f1,'children':_0x43d4f1[_0x220a96(0x302)]['map'](_0x569cdf=>typeof _0x569cdf[_0x220a96(0x23b)]['id']==_0x220a96(0x3fb)&&_0x1fd22d&&_0x1fd22d[_0x220a96(0x40d)](_0x569cdf[_0x220a96(0x23b)]['id'])?{..._0x569cdf,'attrs':{..._0x569cdf['attrs'],'id':_0x569cdf[_0x220a96(0x23b)]['id']+_0x33da0b[_0x220a96(0x3c5)]}}:_0x569cdf)}:_0x43d4f1;}function _0x2fc302(){const _0x563a4c=_0x3621;return Math[_0x563a4c(0x3e6)]()['toString'](0x24)[_0x563a4c(0x1d4)](0x2,0x8);}_0x1e85c1['displayName']=_0x513e05(0x45b);const _0x4503bd={'tag':_0x513e05(0x482),'attrs':{'xmlns':_0x513e05(0x1d2),'fill':_0x513e05(0x415),'viewBox':_0x513e05(0x1d8),'width':_0x513e05(0x3f6),'height':_0x513e05(0x3f6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x513e05(0x35e),'strokeLinecap':_0x513e05(0x21e),'strokeLinejoin':_0x513e05(0x21e),'strokeWidth':1.2}}]},{'tag':_0x513e05(0x389),'attrs':{},'children':[{'tag':_0x513e05(0x463),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x513e05(0x34a),'attrs':{'fill':'white','d':_0x513e05(0x394)}}]}]}],'defIds':[_0x513e05(0x20c)]},_0x2f76b9=_0x430ffc[_0x513e05(0x424)](function(_0x523f19,_0x3c0fb9){const _0x17a5ab=_0x513e05;return _0x430ffc[_0x17a5ab(0x21f)](_0x1e85c1,Object[_0x17a5ab(0x325)]({},_0x523f19,{'id':_0x17a5ab(0x1d0),'ref':_0x3c0fb9,'icon':_0x4503bd}));});_0x2f76b9[_0x513e05(0x436)]=_0x513e05(0x1f3);const _0x1ede86={'tag':_0x513e05(0x482),'attrs':{'xmlns':_0x513e05(0x1d2),'fill':_0x513e05(0x415),'viewBox':_0x513e05(0x1e9),'width':_0x513e05(0x3f6),'height':_0x513e05(0x3f6)},'children':[{'tag':'g','attrs':{'clipPath':_0x513e05(0x34f)},'children':[{'tag':_0x513e05(0x34a),'attrs':{'stroke':_0x513e05(0x322),'d':_0x513e05(0x36f),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x513e05(0x200)},'children':[{'tag':_0x513e05(0x34a),'attrs':{'fill':_0x513e05(0x331),'d':_0x513e05(0x394),'transform':_0x513e05(0x259)}}]}]}],'defIds':[_0x513e05(0x200)]},_0x2b2972=_0x430ffc['forwardRef'](function(_0x2524a6,_0x3da9ee){const _0x3eb8fa=_0x513e05;return _0x430ffc[_0x3eb8fa(0x21f)](_0x1e85c1,Object[_0x3eb8fa(0x325)]({},_0x2524a6,{'id':_0x3eb8fa(0x3d8),'ref':_0x3da9ee,'icon':_0x1ede86}));});_0x2b2972[_0x513e05(0x436)]='OnLineIcon';function _0x187e4c(_0x5dc5c1){const _0x225b5e=_0x513e05;switch(_0x5dc5c1){case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x24f)]:return _0x225b5e(0x2c8);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x2c2)]:return _0x225b5e(0x28d);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x3e5)]:return _0x225b5e(0x3d4);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x1d1)]:return _0x225b5e(0x405);case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x3a5)]:case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x255)]:return'collabStatus.syncing';case _0x19f8d7[_0x225b5e(0x2c1)]['SYNCED']:case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x22a)]:return _0x225b5e(0x488);}}function _0x4e96ee(_0x4f1c5d){const _0x5c3840=_0x513e05,{status$:_0x4a8481}=_0x4f1c5d,_0x15936e=_0x2e0e04[_0x5c3840(0x47d)](_0x4a8481,_0x19f8d7[_0x5c3840(0x2c1)][_0x5c3840(0x1d1)]),_0x55af6a=_0x2e0e04[_0x5c3840(0x1d3)](_0x3772e7['LocaleService']),_0x41fd37=_0x2e0e04[_0x5c3840(0x1d3)](_0x19f8d7[_0x5c3840(0x293)]),_0x29a1e9=_0x15936e!==_0x19f8d7[_0x5c3840(0x2c1)][_0x5c3840(0x24f)],_0x384cc3=_0x55af6a['t'](_0x187e4c(_0x15936e)),_0x27a613=_0x29a1e9?_0x56c279[_0x5c3840(0x3cc)](_0x2b2972,{}):_0x56c279[_0x5c3840(0x3cc)](_0x2f76b9,{}),_0x41a943=_0x430ffc[_0x5c3840(0x29a)](()=>{const _0x18473c=_0x5c3840;_0x29a1e9||_0x41fd37[_0x18473c(0x296)]();},[_0x29a1e9,_0x41fd37]);function _0x1a1f00(){const _0x5bcaca=_0x5c3840;return _0x56c279['jsxs'](_0x5bcaca(0x46b),{'className':_0x5bcaca(0x2f3),'onClick':_0x41a943,'children':[_0x56c279[_0x5bcaca(0x3cc)](_0x5bcaca(0x46b),{'className':_0x4d7604[_0x5bcaca(0x1ec)](_0x5bcaca(0x3b6),{'univer-text-green-500':_0x29a1e9,'univer-text-red-500':!_0x29a1e9}),'children':_0x27a613}),_0x56c279[_0x5bcaca(0x3cc)]('div',{'className':_0x5bcaca(0x321),'children':_0x384cc3})]});}return _0x29a1e9?_0x1a1f00():_0x56c279[_0x5c3840(0x3cc)](_0x4d7604['Tooltip'],{'title':_0x55af6a['t'](_0x5c3840(0x3e8)),'children':_0x1a1f00()});}var _0x2094ef=Object['getOwnPropertyDescriptor'],_0x494b85=(_0x11ee00,_0x1401f2,_0x30c2b7,_0x1e5084)=>{const _0x2cb164=_0x513e05;for(var _0x2b82b1=_0x1e5084>0x1?void 0x0:_0x1e5084?_0x2094ef(_0x1401f2,_0x30c2b7):_0x1401f2,_0xa65337=_0x11ee00[_0x2cb164(0x3ec)]-0x1,_0x1bc7d6;_0xa65337>=0x0;_0xa65337--)(_0x1bc7d6=_0x11ee00[_0xa65337])&&(_0x2b82b1=_0x1bc7d6(_0x2b82b1)||_0x2b82b1);return _0x2b82b1;},_0x464ce5=(_0x81033f,_0x3b4167)=>(_0x2cdab2,_0x5420f9)=>_0x3b4167(_0x2cdab2,_0x5420f9,_0x81033f);_0x8036c6[_0x513e05(0x1c0)]=class extends _0x3772e7['Disposable']{constructor(_0x5765b9,_0x136f0e,_0x4068c3,_0x2d2709){const _0x2e8c02=_0x513e05;super(),_0xfd5d9c(this,_0x2e8c02(0x416),new _0x104804['BehaviorSubject'](_0x19f8d7[_0x2e8c02(0x2c1)][_0x2e8c02(0x1d1)])),(this['_univerInstanceService']=_0x5765b9,this[_0x2e8c02(0x499)]=_0x136f0e,this[_0x2e8c02(0x47c)]=_0x4068c3,this[_0x2e8c02(0x23a)]=_0x2d2709,this[_0x2e8c02(0x3f2)](),this[_0x2e8c02(0x47f)]());}[_0x513e05(0x47f)](){const _0x57bd4a=_0x513e05;this[_0x57bd4a(0x317)](this['_univerInstanceService']['focused$'][_0x57bd4a(0x372)](_0x104804[_0x57bd4a(0x3a3)](()=>{const _0x43c545=_0x57bd4a,_0x1e30fb=this[_0x43c545(0x2b8)][_0x43c545(0x207)]();return _0x1e30fb?this[_0x43c545(0x47c)][_0x43c545(0x44d)](_0x1e30fb[_0x43c545(0x353)]()):_0x104804['of'](null);}),_0x104804[_0x57bd4a(0x3a3)](_0x488c93=>_0x488c93?_0x488c93[_0x57bd4a(0x32d)]:_0x104804['of'](_0x19f8d7[_0x57bd4a(0x2c1)][_0x57bd4a(0x1d1)])))[_0x57bd4a(0x3ee)](_0xc16a43=>{const _0x2aa95d=_0x57bd4a;this[_0x2aa95d(0x416)][_0x2aa95d(0x344)](_0xc16a43);}));}['_initStatusComponent'](){const _0x2dea3f=_0x513e05;this[_0x2dea3f(0x317)](this[_0x2dea3f(0x23a)][_0x2dea3f(0x1fb)](_0x2e0e04['BuiltInUIPart'][_0x2dea3f(0x33f)],()=>_0x2e0e04['connectInjector'](_0x2382d0({'status$':this[_0x2dea3f(0x416)]['asObservable']()}),this[_0x2dea3f(0x499)])));}},_0x8036c6[_0x513e05(0x1c0)]=_0x494b85([_0x464ce5(0x0,_0x3772e7[_0x513e05(0x201)]),_0x464ce5(0x1,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x464ce5(0x2,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x3c1)])),_0x464ce5(0x3,_0x2e0e04[_0x513e05(0x30c)])],_0x8036c6[_0x513e05(0x1c0)]);function _0x2382d0(_0x49756a){const {status$:_0x1230c2}=_0x49756a;return function(){const _0x49d3da=_0x3621;return _0x56c279[_0x49d3da(0x3cc)](_0x4e96ee,{'status$':_0x1230c2});};}const _0x2a7c11=_0x3772e7[_0x513e05(0x22d)](_0x513e05(0x1f6));var _0x2a8c15=Object[_0x513e05(0x33c)],_0x9e51a9=(_0x2045be,_0x3e035d,_0x272527,_0x3fd9c9)=>{const _0x277f32=_0x513e05;for(var _0x3f362a=_0x3fd9c9>0x1?void 0x0:_0x3fd9c9?_0x2a8c15(_0x3e035d,_0x272527):_0x3e035d,_0x92d593=_0x2045be[_0x277f32(0x3ec)]-0x1,_0x5a68b8;_0x92d593>=0x0;_0x92d593--)(_0x5a68b8=_0x2045be[_0x92d593])&&(_0x3f362a=_0x5a68b8(_0x3f362a)||_0x3f362a);return _0x3f362a;},_0x2978ea=(_0x304539,_0x59b503)=>(_0xe8af11,_0x253600)=>_0x59b503(_0xe8af11,_0x253600,_0x304539);_0x8036c6[_0x513e05(0x42a)]=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x45778c,_0x358d6d,_0x28b3d0,_0x51c18a,_0x8138e4){const _0x353388=_0x513e05;super(),this['_urlService']=_0x45778c,this[_0x353388(0x263)]=_0x358d6d,this[_0x353388(0x2fb)]=_0x28b3d0,this[_0x353388(0x34d)]=_0x51c18a,_0x8138e4?_0x8138e4==null||_0x8138e4['whenReady']()[_0x353388(0x37c)](()=>this[_0x353388(0x219)]()):(this[_0x353388(0x263)][_0x353388(0x400)](_0x353388(0x202),_0x353388(0x2d5)),this[_0x353388(0x219)]());}async[_0x513e05(0x219)](){const _0x56de9f=_0x513e05,_0x56a7f3=this[_0x56de9f(0x2bf)][_0x56de9f(0x22e)](_0x56de9f(0x438)),_0x473946=this[_0x56de9f(0x2bf)]['getParam'](_0x56de9f(0x23f)),_0x142dd3=this[_0x56de9f(0x2bf)][_0x56de9f(0x22e)](_0x56de9f(0x284));if(!_0x56a7f3||!_0x473946){this[_0x56de9f(0x263)][_0x56de9f(0x400)]('[CollaborationDataLoaderController]',_0x56de9f(0x2c0));return;}const _0x58b0bb=await this['_dataLoaderService'][_0x56de9f(0x280)](_0x56a7f3,Number(_0x473946),_0x142dd3);_0x58b0bb&&_0x58b0bb instanceof _0x3772e7[_0x56de9f(0x2ea)]&&this[_0x56de9f(0x231)](_0x58b0bb);}async[_0x513e05(0x231)](_0x3b3f13){const _0x2fbf3f=_0x513e05;await this[_0x2fbf3f(0x3db)](_0x3b3f13),_0x3b3f13[_0x2fbf3f(0x265)][_0x2fbf3f(0x372)](_0x104804[_0x2fbf3f(0x3e1)](this[_0x2fbf3f(0x3b1)]))[_0x2fbf3f(0x3ee)](_0x2e0f83=>{_0x2e0f83&&this['_updateURLWithCurrentState'](_0x2e0f83);}),this['_urlService'][_0x2fbf3f(0x327)][_0x2fbf3f(0x372)](_0x104804['takeUntil'](this[_0x2fbf3f(0x3b1)]))['subscribe'](()=>this[_0x2fbf3f(0x3db)](_0x3b3f13));}[_0x513e05(0x1d9)](_0x4e4eb9,_0x54e928=!0x1){const _0xda4e3d=_0x513e05,_0x14d73f=this[_0xda4e3d(0x2bf)][_0xda4e3d(0x22e)]('subunit');_0x4e4eb9[_0xda4e3d(0x466)]()!==_0x14d73f&&this[_0xda4e3d(0x2bf)][_0xda4e3d(0x343)]('subunit',_0x4e4eb9[_0xda4e3d(0x466)](),_0x54e928);}async['_updateSubUnitFromURLParams'](_0x570c4a){const _0x4d9a08=_0x513e05;var _0x28ed0a;const _0x21a133=this[_0x4d9a08(0x2bf)]['getParam'](_0x4d9a08(0x284));if(!_0x21a133||!_0x570c4a['getSheetBySheetId'](_0x21a133)){const _0x1d16e4=_0x570c4a['getUnhiddenWorksheets']()[0x0],_0x1dfc4f=_0x570c4a[_0x4d9a08(0x271)](_0x1d16e4);if(!_0x1dfc4f)return;this[_0x4d9a08(0x1d9)](_0x1dfc4f,!0x0),await this[_0x4d9a08(0x2fb)]['executeCommand'](_0x235c42['SetWorksheetActivateCommand']['id'],{'unitId':_0x570c4a[_0x4d9a08(0x353)](),'subUnitId':_0x1d16e4});return;}((_0x28ed0a=_0x570c4a[_0x4d9a08(0x455)]())==null?void 0x0:_0x28ed0a['getSheetId']())!==_0x21a133&&await this[_0x4d9a08(0x2fb)][_0x4d9a08(0x38e)](_0x235c42[_0x4d9a08(0x397)]['id'],{'unitId':_0x570c4a[_0x4d9a08(0x353)](),'subUnitId':_0x21a133});}},_0x8036c6['CollaborationDataLoaderController']=_0x9e51a9([_0x2978ea(0x0,_0x2a7c11),_0x2978ea(0x1,_0x3772e7[_0x513e05(0x23d)]),_0x2978ea(0x2,_0x3772e7[_0x513e05(0x37d)]),_0x2978ea(0x3,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7['DataLoaderService'])),_0x2978ea(0x4,_0x3772e7[_0x513e05(0x379)](_0x2bbe73[_0x513e05(0x445)]))],_0x8036c6['CollaborationDataLoaderController']);var _0x2f3241=Object[_0x513e05(0x33c)],_0x1690a9=(_0x4c479b,_0x153315,_0x3c453b,_0x4e500c)=>{for(var _0x1728f0=_0x4e500c>0x1?void 0x0:_0x4e500c?_0x2f3241(_0x153315,_0x3c453b):_0x153315,_0x3b98d0=_0x4c479b['length']-0x1,_0x15b740;_0x3b98d0>=0x0;_0x3b98d0--)(_0x15b740=_0x4c479b[_0x3b98d0])&&(_0x1728f0=_0x15b740(_0x1728f0)||_0x1728f0);return _0x1728f0;},_0x57947e=(_0x58e2f7,_0x3254f1)=>(_0x33a8b3,_0x1ca669)=>_0x3254f1(_0x33a8b3,_0x1ca669,_0x58e2f7);let _0x459a5d=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x501863,_0x142944){const _0x5d6d2a=_0x513e05;super(),this[_0x5d6d2a(0x1dd)]=_0x501863,this['_imageIoService']=_0x142944,this[_0x5d6d2a(0x219)]();}[_0x513e05(0x219)](){const _0x4f9da4=_0x513e05,_0x21901b=this;this[_0x4f9da4(0x317)](this[_0x4f9da4(0x1dd)][_0x4f9da4(0x25b)]({'onBeforePasteImage':async _0x3d26f6=>{const _0x47e041=_0x4f9da4,_0x794551=await _0x21901b[_0x47e041(0x40a)][_0x47e041(0x481)](_0x3d26f6);return _0x794551?{'source':_0x794551[_0x47e041(0x2db)],'imageSourceType':_0x794551[_0x47e041(0x291)]}:null;}}));}};_0x459a5d=_0x1690a9([_0x57947e(0x0,_0x7ab617[_0x513e05(0x26b)]),_0x57947e(0x1,_0x331913['IImageIoService'])],_0x459a5d);const _0x717805=[_0x513e05(0x299),_0x513e05(0x3d7),_0x513e05(0x45d),_0x513e05(0x27a),_0x513e05(0x496),_0x513e05(0x440)];class _0x2e3fbf extends _0x3772e7[_0x513e05(0x432)]{constructor(){const _0x34af51=_0x513e05;super(...arguments),_0xfd5d9c(this,_0x34af51(0x25a),new Map()),_0xfd5d9c(this,_0x34af51(0x237),0x0);}[_0x513e05(0x3fc)](_0x558af0){const _0x53e338=_0x513e05;if(this['_assignedColors'][_0x53e338(0x28b)](_0x558af0))return this['_assignedColors'][_0x53e338(0x309)](_0x558af0);const _0x3f5ea3=_0x717805[this[_0x53e338(0x237)]];return this[_0x53e338(0x237)]=(this[_0x53e338(0x237)]+0x1)%_0x717805[_0x53e338(0x3ec)],this['_assignedColors'][_0x53e338(0x40c)](_0x558af0,_0x3f5ea3),_0x3f5ea3;}}function _0x55ad25(_0x45ad1b){const _0x368891=_0x513e05;let _0x530a91='';for(const _0x1bcca1 of _0x45ad1b){const {startOffset:_0x520e82,endOffset:_0x3d2898,isActive:_0x57fa3b,rangeType:_0x8004e2,segmentId:_0x86d390,segmentPage:_0x323c2e}=_0x1bcca1;_0x530a91[_0x368891(0x3ec)]&&(_0x530a91+=','),_0x530a91+=_0x520e82+':'+_0x3d2898+':'+(_0x57fa3b?'1':'0')+':'+_0x8004e2+':'+_0x86d390+':'+_0x323c2e;}return _0x530a91;}function _0x4a02b9(_0x26dc9f){const _0x1e9471=_0x513e05,_0x27b7d0=_0x26dc9f[_0x1e9471(0x428)](','),_0x16df61=[];for(const _0x5c22ce of _0x27b7d0){const [_0x183f5f,_0x5f38e9,_0x4460a8,_0x978111,_0x575734,_0x255cfa]=_0x5c22ce[_0x1e9471(0x428)](':');_0x16df61[_0x1e9471(0x2e0)]({'startOffset':Number(_0x183f5f),'endOffset':Number(_0x5f38e9),'collapsed':_0x183f5f===_0x5f38e9,'isActive':_0x4460a8==='1','rangeType':_0x978111===_0x3772e7[_0x1e9471(0x283)][_0x1e9471(0x3d2)]?_0x3772e7[_0x1e9471(0x283)][_0x1e9471(0x3d2)]:_0x3772e7[_0x1e9471(0x283)]['RECT'],'segmentId':typeof _0x575734==_0x1e9471(0x3fb)?String(_0x575734):'','segmentPage':Number(_0x255cfa!=null?_0x255cfa:-0x1)});}return _0x16df61[_0x1e9471(0x30a)](_0x80c020=>_0x80c020[_0x1e9471(0x29e)])||(_0x16df61[0x0][_0x1e9471(0x29e)]=!0x0),_0x16df61;}class _0x39a103 extends _0x3772e7['RxDisposable']{constructor(){const _0x2be7c4=_0x513e05;super(...arguments),_0xfd5d9c(this,_0x2be7c4(0x222),new _0x104804['BehaviorSubject'](null)),_0xfd5d9c(this,_0x2be7c4(0x2c4),this['_collabCursorState$'][_0x2be7c4(0x2aa)]());}[_0x513e05(0x208)](_0x4a4aaf){const _0x3da5f1=_0x513e05,{unitID:_0x18a123,memberID:_0x31e19c,textRanges:_0x293cd9}=_0x4a4aaf,_0x17e69f=_0x55ad25(_0x293cd9);if(_0x17e69f==='')return;const _0x2b989b={'unitID':_0x18a123,'memberID':_0x31e19c,'selection':_0x17e69f};this[_0x3da5f1(0x222)][_0x3da5f1(0x344)](_0x2b989b);}}var _0x4df8b5=Object[_0x513e05(0x33c)],_0x3dc6b8=(_0x5180b3,_0x5368ea,_0x18eec2,_0x455016)=>{const _0x5f1d0a=_0x513e05;for(var _0x3b4fd6=_0x455016>0x1?void 0x0:_0x455016?_0x4df8b5(_0x5368ea,_0x18eec2):_0x5368ea,_0xef037e=_0x5180b3[_0x5f1d0a(0x3ec)]-0x1,_0x4f7316;_0xef037e>=0x0;_0xef037e--)(_0x4f7316=_0x5180b3[_0xef037e])&&(_0x3b4fd6=_0x4f7316(_0x3b4fd6)||_0x3b4fd6);return _0x3b4fd6;},_0x25e0f9=(_0x4b0ad0,_0x1ed3be)=>(_0x28f8be,_0x4e576c)=>_0x1ed3be(_0x28f8be,_0x4e576c,_0x4b0ad0);const _0x4cbf16=0x12c,_0x146e9e=0x64;let _0x49a88b=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x3430c6,_0x256f97,_0x26ea97,_0x33180d,_0x41d3d8,_0x5717fd,_0x159b8e,_0x28ddb8,_0x508f0b){const _0x377d97=_0x513e05;super(),_0xfd5d9c(this,_0x377d97(0x2a0),!0x1),_0xfd5d9c(this,_0x377d97(0x219),!0x1),_0xfd5d9c(this,_0x377d97(0x3f9),new _0x104804[(_0x377d97(0x493))](new Map())),_0xfd5d9c(this,_0x377d97(0x423),this['_cursorInfo$']['asObservable']()),_0xfd5d9c(this,_0x377d97(0x42c),new _0x104804[(_0x377d97(0x493))]([])),_0xfd5d9c(this,_0x377d97(0x42d),this[_0x377d97(0x42c)]['pipe'](_0x104804[_0x377d97(0x212)](_0x4cbf16))),_0xfd5d9c(this,'_updateLocalCursor',_0x3772e7[_0x377d97(0x43a)](_0x4c6972=>{const _0x4544ba=_0x377d97,_0x2c8cdc={'eventID':_0x116492['CollaborationEvent'][_0x4544ba(0x2de)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x4544ba(0x3a6)](),'selection':_0x55ad25(_0x4c6972)}};this[_0x4544ba(0x3a7)][_0x4544ba(0x24a)](_0x2c8cdc,this[_0x4544ba(0x2bb)]);},_0x146e9e)),(this[_0x377d97(0x2bb)]=_0x3430c6,this[_0x377d97(0x3a7)]=_0x256f97,this[_0x377d97(0x499)]=_0x26ea97,this[_0x377d97(0x3b0)]=_0x33180d,this[_0x377d97(0x442)]=_0x41d3d8,this['_syncEditingCollabCursorService']=_0x5717fd,this[_0x377d97(0x2c7)]=_0x159b8e,this['_univerInstanceService']=_0x28ddb8,this['_commandService']=_0x508f0b);}get[_0x513e05(0x44c)](){const _0x69693f=_0x513e05;return this[_0x69693f(0x3f9)][_0x69693f(0x243)]();}get[_0x513e05(0x339)](){const _0x23b53a=_0x513e05;return this[_0x23b53a(0x42c)][_0x23b53a(0x243)]();}[_0x513e05(0x472)](){const _0x2bdc7a=_0x513e05;super[_0x2bdc7a(0x472)](),this[_0x2bdc7a(0x3f9)][_0x2bdc7a(0x344)](new Map()),this[_0x2bdc7a(0x3f9)][_0x2bdc7a(0x3ef)](),this[_0x2bdc7a(0x42c)][_0x2bdc7a(0x344)]([]),this[_0x2bdc7a(0x42c)]['complete']();}[_0x513e05(0x22b)](){const _0x15c93a=_0x513e05;this[_0x15c93a(0x219)]||(this[_0x15c93a(0x219)]=!0x0,this['_session'][_0x15c93a(0x43d)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))['subscribe'](_0x5b960c=>{const _0x503b7a=_0x15c93a;_0x5b960c===_0x19f8d7[_0x503b7a(0x2d3)]['ONLINE']?this[_0x503b7a(0x46f)]():this[_0x503b7a(0x32a)]();}),this[_0x15c93a(0x3a7)][_0x15c93a(0x1f0)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))['subscribe'](_0x8727a8=>{const _0x39eb0b=_0x15c93a,_0x40f268=_0x8727a8['eventID'];_0x40f268===_0x116492[_0x39eb0b(0x39b)][_0x39eb0b(0x2de)]&&this[_0x39eb0b(0x375)](_0x8727a8),_0x40f268===_0x116492['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x8727a8);}),this[_0x15c93a(0x317)](this[_0x15c93a(0x2fb)][_0x15c93a(0x27e)](_0x172e26=>{const _0x26cff4=_0x15c93a,_0x1fc34b=_0x172e26[_0x26cff4(0x41c)];_0x1fc34b!=null&&this[_0x26cff4(0x2a0)]&&_0x172e26['id']===_0x37acc3['SetTextSelectionsOperation']['id']&&_0x1fc34b['unitId']===this[_0x26cff4(0x2bb)]&&_0x1fc34b[_0x26cff4(0x3d5)]===!0x1&&_0x1fc34b[_0x26cff4(0x21d)][_0x26cff4(0x3ec)]>0x0&&this[_0x26cff4(0x2d4)](_0x1fc34b[_0x26cff4(0x21d)]);})),this[_0x15c93a(0x214)][_0x15c93a(0x2c4)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))[_0x15c93a(0x3ee)](_0x46c392=>{const _0x5584bd=_0x15c93a;if((_0x46c392==null?void 0x0:_0x46c392['unitID'])!==this[_0x5584bd(0x2bb)])return;const _0x2b5804={'eventID':_0x116492['CollaborationEvent'][_0x5584bd(0x2de)],'data':_0x46c392};this['_onCursorUpdate'](_0x2b5804);}),this[_0x15c93a(0x317)](this[_0x15c93a(0x2fb)][_0x15c93a(0x27e)](_0x265464=>{const _0x51df1a=_0x15c93a;if(_0x265464[_0x51df1a(0x41c)]==null)return;const _0x255346=_0x265464['params'];if(_0x265464['id']!==_0x37acc3['RichTextEditingMutation']['id']||_0x255346[_0x51df1a(0x2fa)]!==this['unitID'])return;const _0x52259b={'id':_0x51df1a(0x1f9),'params':_0x255346},_0x41ecf7=this[_0x51df1a(0x44c)];for(const [_0xa2d9f3,_0x38027f]of _0x41ecf7){const _0xb7d971={'id':_0x51df1a(0x1f9),'params':{'unitId':this[_0x51df1a(0x2bb)],'actions':null,'textRanges':_0x38027f[_0x51df1a(0x21d)]}},_0x379baa=this['_transformService'][_0x51df1a(0x414)](_0x52259b,_0xb7d971,!0x1);if(_0x116492['isTransformMutationFailure'](_0x379baa))throw _0x379baa[_0x51df1a(0x27b)];_0x41ecf7[_0x51df1a(0x40c)](_0xa2d9f3,{..._0x38027f,'ranges':_0x379baa[_0x51df1a(0x406)][_0x51df1a(0x41c)]['textRanges']});}queueMicrotask(()=>{const _0x16d919=_0x51df1a;this[_0x16d919(0x3f9)][_0x16d919(0x344)](_0x41ecf7);});})));}['_onCursorUpdate'](_0x3a88ac){const _0x27dd0b=_0x513e05;var _0x2b3dd5,_0x5063c4;const {memberID:_0x1d8101,selection:_0x17ce50}=_0x3a88ac['data'],_0x1c794c=_0x4a02b9(_0x17ce50),_0x90ab4a=(_0x5063c4=(_0x2b3dd5=this[_0x27dd0b(0x442)][_0x27dd0b(0x3df)](this[_0x27dd0b(0x2bb)],_0x1d8101))==null?void 0x0:_0x2b3dd5[_0x27dd0b(0x248)])!=null?_0x5063c4:'Unknown\x20user',_0x149026={'color':this[_0x27dd0b(0x3b0)][_0x27dd0b(0x3fc)](_0x1d8101),'name':_0x90ab4a,'ranges':_0x1c794c},_0x43f4ef=this['cursorInfo'];_0x43f4ef['set'](_0x1d8101,_0x149026),this[_0x27dd0b(0x3f9)][_0x27dd0b(0x344)](_0x43f4ef);}[_0x513e05(0x387)](_0x160718){const _0x310baf=_0x513e05,{memberID:_0x51e41d}=_0x160718['data'],_0x4c2462=this[_0x310baf(0x44c)];_0x4c2462['delete'](_0x51e41d),this[_0x310baf(0x3f9)]['next'](_0x4c2462);}['_toggleOnline'](){const _0x10249c=_0x513e05;var _0x162f73;if(this[_0x10249c(0x2a0)]=!0x0,((_0x162f73=this[_0x10249c(0x2b8)][_0x10249c(0x207)]())==null?void 0x0:_0x162f73[_0x10249c(0x353)]())!==this[_0x10249c(0x2bb)])return;const _0xc3f4fc=this[_0x10249c(0x499)][_0x10249c(0x309)](_0x37acc3[_0x10249c(0x381)])[_0x10249c(0x328)]();Array[_0x10249c(0x38f)](_0xc3f4fc)&&_0xc3f4fc[_0x10249c(0x3ec)]>0x0&&this[_0x10249c(0x2d4)](_0xc3f4fc);}[_0x513e05(0x32a)](){const _0x2b10c1=_0x513e05;this[_0x2b10c1(0x2a0)]=!0x1;}};_0x49a88b=_0x3dc6b8([_0x25e0f9(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0x25e0f9(0x3,_0x3772e7[_0x513e05(0x30b)](_0x2e3fbf)),_0x25e0f9(0x4,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x298)])),_0x25e0f9(0x5,_0x3772e7['Inject'](_0x39a103)),_0x25e0f9(0x6,_0x116492[_0x513e05(0x474)]),_0x25e0f9(0x7,_0x3772e7[_0x513e05(0x201)]),_0x25e0f9(0x8,_0x3772e7[_0x513e05(0x37d)])],_0x49a88b);var _0x64f36b=Object['getOwnPropertyDescriptor'],_0x3a993e=(_0x151cea,_0x4b0a69,_0x4afa2a,_0x5a8be6)=>{const _0x5c4733=_0x513e05;for(var _0x4473e3=_0x5a8be6>0x1?void 0x0:_0x5a8be6?_0x64f36b(_0x4b0a69,_0x4afa2a):_0x4b0a69,_0x1391fc=_0x151cea[_0x5c4733(0x3ec)]-0x1,_0xc360d0;_0x1391fc>=0x0;_0x1391fc--)(_0xc360d0=_0x151cea[_0x1391fc])&&(_0x4473e3=_0xc360d0(_0x4473e3)||_0x4473e3);return _0x4473e3;},_0x62df0b=(_0x186208,_0x55bff6)=>(_0x41bb77,_0x5719d3)=>_0x55bff6(_0x41bb77,_0x5719d3,_0x186208);const _0xc589c4=0x12c,_0x3203fd=0x64,_0x12dbb7=()=>{let _0xe1419=[],_0x409f1f=!0x1;return _0x2736a1=>{_0xe1419['push'](_0x2736a1),_0x409f1f||(_0x409f1f=!0x0,setTimeout(()=>{_0xe1419['forEach'](_0x2819ef=>_0x2819ef()),_0xe1419=[],_0x409f1f=!0x1;}));};};let _0x42473b=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x16f045,_0x3c650b,_0x4d534c,_0x303e87,_0x522873,_0x387eb3,_0x17bdec,_0x4420db){const _0x541eee=_0x513e05;super(),_0xfd5d9c(this,_0x541eee(0x2a0),!0x1),_0xfd5d9c(this,_0x541eee(0x219),!0x1),_0xfd5d9c(this,_0x541eee(0x3f9),new _0x104804['BehaviorSubject'](new Map())),_0xfd5d9c(this,_0x541eee(0x423),this[_0x541eee(0x3f9)][_0x541eee(0x2aa)]()),_0xfd5d9c(this,_0x541eee(0x42c),new _0x104804[(_0x541eee(0x493))]([])),_0xfd5d9c(this,'roomMembers$',this[_0x541eee(0x42c)][_0x541eee(0x372)](_0x104804[_0x541eee(0x212)](_0xc589c4))),_0xfd5d9c(this,_0x541eee(0x2d4),_0x3772e7['debounce']((_0x1fdf56,_0x557a50)=>{const _0x125735=_0x541eee,_0x3e1cb5={'eventID':_0x116492[_0x125735(0x39b)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x125735(0x2bb)],'memberID':this[_0x125735(0x3a7)][_0x125735(0x3a6)](),'selection':_0x4915ec['serializeRangeWithSheet'](_0x1fdf56,_0x557a50['range'])}};this[_0x125735(0x3a7)][_0x125735(0x24a)](_0x3e1cb5,this[_0x125735(0x2bb)]);},_0x3203fd)),(this[_0x541eee(0x2bb)]=_0x16f045,this['_session']=_0x3c650b,this[_0x541eee(0x499)]=_0x4d534c,this[_0x541eee(0x3b0)]=_0x303e87,this['_memberService']=_0x522873,this[_0x541eee(0x2b8)]=_0x387eb3,this[_0x541eee(0x2fb)]=_0x17bdec,this[_0x541eee(0x211)]=_0x4420db);}get[_0x513e05(0x44c)](){return this['_cursorInfo$']['getValue']();}get[_0x513e05(0x339)](){const _0x182f6e=_0x513e05;return this[_0x182f6e(0x42c)][_0x182f6e(0x243)]();}[_0x513e05(0x472)](){const _0x49c1d1=_0x513e05;super[_0x49c1d1(0x472)](),this[_0x49c1d1(0x3f9)][_0x49c1d1(0x344)](new Map()),this[_0x49c1d1(0x3f9)][_0x49c1d1(0x3ef)](),this[_0x49c1d1(0x42c)][_0x49c1d1(0x344)]([]),this[_0x49c1d1(0x42c)][_0x49c1d1(0x3ef)]();}[_0x513e05(0x22b)](){const _0x5b4bd7=_0x513e05;this['_init']||(this[_0x5b4bd7(0x219)]=!0x0,this[_0x5b4bd7(0x3a7)]['sessionStatus$'][_0x5b4bd7(0x372)](_0x104804[_0x5b4bd7(0x3e1)](this[_0x5b4bd7(0x3b1)]))[_0x5b4bd7(0x3ee)](_0x1a2d05=>{const _0xa3aadc=_0x5b4bd7;_0x1a2d05===_0x19f8d7[_0xa3aadc(0x2d3)][_0xa3aadc(0x431)]?this['_toggleOnline']():this[_0xa3aadc(0x32a)]();}),this['_session'][_0x5b4bd7(0x1f0)]['pipe'](_0x104804[_0x5b4bd7(0x3e1)](this[_0x5b4bd7(0x3b1)]))['subscribe'](_0x5bf2fd=>{const _0x11ff6f=_0x5b4bd7,_0x29d45a=_0x5bf2fd[_0x11ff6f(0x3f1)];_0x29d45a===_0x116492[_0x11ff6f(0x39b)][_0x11ff6f(0x2de)]&&this[_0x11ff6f(0x375)](_0x5bf2fd),_0x29d45a===_0x116492[_0x11ff6f(0x39b)][_0x11ff6f(0x2b5)]&&this[_0x11ff6f(0x387)](_0x5bf2fd);}),this[_0x5b4bd7(0x26a)](),this['disposeWithMe'](this[_0x5b4bd7(0x2fb)][_0x5b4bd7(0x27e)](_0x4821d9=>{const _0x3dee1c=_0x5b4bd7;if(this[_0x3dee1c(0x2a0)]&&_0x4821d9['id']===_0x235c42['SetSelectionsOperation']['id']&&_0x4821d9[_0x3dee1c(0x41c)][_0x3dee1c(0x2fa)]===this[_0x3dee1c(0x2bb)]){const _0x1eb5c5=_0x4821d9[_0x3dee1c(0x41c)];this[_0x3dee1c(0x2d4)](_0x1eb5c5[_0x3dee1c(0x1da)],_0x1eb5c5['selections'][0x0]);}})));}[_0x513e05(0x375)](_0x25b34f){const _0x549ff1=_0x513e05;var _0x50bdfc,_0x25a8b3;const {memberID:_0x406214,selection:_0x326768}=_0x25b34f[_0x549ff1(0x300)],{sheetName:_0x5af176,range:_0x4c2bf9}=_0x4915ec['deserializeRangeWithSheet'](_0x326768),_0x1ca767={'name':(_0x25a8b3=(_0x50bdfc=this[_0x549ff1(0x442)][_0x549ff1(0x3df)](this['unitID'],_0x406214))==null?void 0x0:_0x50bdfc[_0x549ff1(0x248)])!=null?_0x25a8b3:'Unknown\x20user','range':this['_getMergeRange'](_0x5af176,_0x4c2bf9),'sheetID':_0x5af176,'color':this[_0x549ff1(0x3b0)]['assignAColorForMemberID'](_0x406214),'selection':_0x326768},_0x39f0a1=this['cursorInfo'];_0x39f0a1[_0x549ff1(0x40c)](_0x406214,_0x1ca767),this[_0x549ff1(0x3f9)][_0x549ff1(0x344)](_0x39f0a1);}[_0x513e05(0x387)](_0x464662){const _0x3b06cf=_0x513e05,{memberID:_0x525daf}=_0x464662[_0x3b06cf(0x300)],_0x60830e=this[_0x3b06cf(0x44c)];_0x60830e[_0x3b06cf(0x365)](_0x525daf),this[_0x3b06cf(0x3f9)][_0x3b06cf(0x344)](_0x60830e);}[_0x513e05(0x315)](_0x4fc43c,_0x2b01bd){const _0x53c8cf=_0x513e05;var _0x10f591,_0x4bb857;const _0x2a493d=(_0x4bb857=(_0x10f591=this[_0x53c8cf(0x2b8)][_0x53c8cf(0x286)](this[_0x53c8cf(0x2bb)]))==null?void 0x0:_0x10f591[_0x53c8cf(0x271)](_0x4fc43c))==null?void 0x0:_0x4bb857[_0x53c8cf(0x492)]();return(_0x2a493d==null?void 0x0:_0x2a493d[_0x53c8cf(0x368)](_0x516345=>_0x3772e7['Rectangle'][_0x53c8cf(0x241)](_0x516345,_0x2b01bd)))||_0x2b01bd;}[_0x513e05(0x26a)](){const _0x43f4c4=_0x513e05,_0x5be895=new _0x3772e7['DisposableCollection'](),_0x4aa4fb=_0x12dbb7(),_0xb69b68=()=>{const _0x5debf2=_0x3621;_0x5be895[_0x5debf2(0x472)]();const _0x13cd8b=(_0x49a93e,_0x436872,_0x52febc,_0x481ef8)=>{const _0x30043a=_0x5debf2;let _0x1a8ab7=[];switch(_0x49a93e['id']){case _0x235c42[_0x30043a(0x223)]['DeleteRangeMoveLeftCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x308)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x401)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x310)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x206)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x20e)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x2d1)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x480)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x276)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x3b9)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)]['InsertRowCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x479)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x456)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x358)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)]['RemoveColCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x1be)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x487)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x3cd)](_0x49a93e,_0x481ef8);break;}}const _0x16173e=_0x235c42[_0x30043a(0x1e4)](_0x1a8ab7,_0x481ef8),_0x4b6746=this[_0x30043a(0x44c)][_0x30043a(0x309)](_0x436872);if(_0x4b6746&&_0x16173e){const _0x30cbda={..._0x4b6746,'range':_0x16173e};this[_0x30043a(0x44c)][_0x30043a(0x40c)](_0x436872,_0x30cbda),_0x4aa4fb(()=>{const _0x5cd1ff=_0x30043a,_0x1e0e9a=this['_refRangeService'][_0x5cd1ff(0x367)](_0x16173e,_0x4dbc29=>(_0x1e0e9a[_0x5cd1ff(0x472)](),_0x13cd8b(_0x4dbc29,_0x436872,_0x52febc,_0x16173e)));_0x5be895['add'](_0x1e0e9a);});}return{'redos':[],'undos':[]};};this[_0x5debf2(0x44c)][_0x5debf2(0x2a8)]((_0x2d8721,_0x472e7a)=>{const _0x5a349d=_0x5debf2,{range:_0x3092e1,sheetID:_0x19b8f8}=_0x2d8721,_0x25d00f=this[_0x5a349d(0x211)][_0x5a349d(0x367)](_0x3092e1,_0x19ce1f=>(_0x25d00f[_0x5a349d(0x472)](),_0x13cd8b(_0x19ce1f,_0x472e7a,_0x19b8f8,_0x3092e1)));_0x5be895['add'](_0x25d00f);});};this[_0x43f4c4(0x317)](_0x3772e7[_0x43f4c4(0x385)](this[_0x43f4c4(0x3f9)][_0x43f4c4(0x3ee)](()=>{_0xb69b68();})));}[_0x513e05(0x46f)](){const _0xbdf5be=_0x513e05;var _0x58cdc3,_0x3deae2;if(this['_online']=!0x0,((_0x58cdc3=this[_0xbdf5be(0x2b8)][_0xbdf5be(0x207)]())==null?void 0x0:_0x58cdc3['getUnitId']())!==this[_0xbdf5be(0x2bb)])return;const _0x52e50f=(_0x3deae2=this['_injector'][_0xbdf5be(0x309)](_0x235c42['SheetsSelectionsService'])[_0xbdf5be(0x30f)]())==null?void 0x0:_0x3deae2[0x0],_0x476167=this['_univerInstanceService']['getCurrentUnitForType'](_0x3772e7['UniverInstanceType'][_0xbdf5be(0x437)])[_0xbdf5be(0x455)]();_0x52e50f&&_0x476167&&this[_0xbdf5be(0x2d4)](_0x476167[_0xbdf5be(0x466)](),_0x52e50f);}[_0x513e05(0x32a)](){const _0x467a81=_0x513e05;this[_0x467a81(0x2a0)]=!0x1;}};_0x42473b=_0x3a993e([_0x62df0b(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x62df0b(0x3,_0x3772e7[_0x513e05(0x30b)](_0x2e3fbf)),_0x62df0b(0x4,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x298)])),_0x62df0b(0x5,_0x3772e7['IUniverInstanceService']),_0x62df0b(0x6,_0x3772e7[_0x513e05(0x37d)]),_0x62df0b(0x7,_0x3772e7[_0x513e05(0x30b)](_0x235c42[_0x513e05(0x34c)]))],_0x42473b);var _0x5dc3a1=Object[_0x513e05(0x33c)],_0x1ed3bf=(_0x2b2032,_0x4f2dbe,_0x25b904,_0xa3937e)=>{const _0x5d5bb5=_0x513e05;for(var _0x1e7001=_0xa3937e>0x1?void 0x0:_0xa3937e?_0x5dc3a1(_0x4f2dbe,_0x25b904):_0x4f2dbe,_0x23c4c7=_0x2b2032[_0x5d5bb5(0x3ec)]-0x1,_0x1b4516;_0x23c4c7>=0x0;_0x23c4c7--)(_0x1b4516=_0x2b2032[_0x23c4c7])&&(_0x1e7001=_0x1b4516(_0x1e7001)||_0x1e7001);return _0x1e7001;},_0x3b0807=(_0x5e6722,_0x2cf0e1)=>(_0xec3dd3,_0x17f663)=>_0x2cf0e1(_0xec3dd3,_0x17f663,_0x5e6722);let _0x2234d1=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x21b776,_0x1440f5,_0x40fa11){const _0x173aed=_0x513e05;super(),_0xfd5d9c(this,'_entities',new Map()),_0xfd5d9c(this,_0x173aed(0x357),new _0x104804[(_0x173aed(0x269))]()),(this[_0x173aed(0x2b8)]=_0x21b776,this[_0x173aed(0x499)]=_0x1440f5,this[_0x173aed(0x3c9)]=_0x40fa11,this[_0x173aed(0x219)]());}[_0x513e05(0x472)](){const _0x2d623f=_0x513e05;super[_0x2d623f(0x472)](),this['_entityInit$'][_0x2d623f(0x3ef)](),this[_0x2d623f(0x3dc)]['forEach'](_0x330c0a=>_0x330c0a[_0x2d623f(0x472)]());}[_0x513e05(0x292)](_0x3bbd6c){const _0x55379c=_0x513e05;return this['_entities']['has'](_0x3bbd6c)?this[_0x55379c(0x3dc)]['get'](_0x3bbd6c)[_0x55379c(0x423)]:this[_0x55379c(0x357)]['pipe'](_0x104804[_0x55379c(0x3e4)](_0x2aae8a=>_0x2aae8a['unitID']===_0x3bbd6c),_0x104804[_0x55379c(0x3a3)](_0x5864c8=>_0x5864c8[_0x55379c(0x423)]));}[_0x513e05(0x219)](){const _0x20879d=_0x513e05;this[_0x20879d(0x2b8)][_0x20879d(0x40b)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x437)])[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this[_0x20879d(0x3b1)]))['subscribe'](async _0x579fce=>{const _0x5a0ff1=_0x20879d,_0x1cd7d5=_0x579fce['getUnitId'](),_0x77853b=await this[_0x5a0ff1(0x314)](_0x1cd7d5);this[_0x5a0ff1(0x357)][_0x5a0ff1(0x344)](_0x77853b),this[_0x5a0ff1(0x3dc)][_0x5a0ff1(0x40c)](_0x1cd7d5,_0x77853b);}),this[_0x20879d(0x2b8)][_0x20879d(0x40b)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x366)])[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this['dispose$']))[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e4)](_0xfe335f=>!_0xfe335f[_0x20879d(0x353)]()[_0x20879d(0x43c)]('__')))['subscribe'](async _0xf36c05=>{const _0x1311ef=_0x20879d,_0x106d92=_0xf36c05[_0x1311ef(0x353)](),_0x280553=await this['_startDocCollabCursor'](_0x106d92);this[_0x1311ef(0x357)][_0x1311ef(0x344)](_0x280553),this[_0x1311ef(0x3dc)][_0x1311ef(0x40c)](_0x106d92,_0x280553);}),_0x104804[_0x20879d(0x1eb)](this[_0x20879d(0x2b8)][_0x20879d(0x2ef)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x366)]),this[_0x20879d(0x2b8)][_0x20879d(0x2ef)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x437)]))[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this[_0x20879d(0x3b1)]))[_0x20879d(0x3ee)](_0x19fe44=>{const _0x2c7ccc=_0x20879d,_0x3607a3=_0x19fe44[_0x2c7ccc(0x353)](),_0x1df31b=this[_0x2c7ccc(0x3dc)][_0x2c7ccc(0x309)](_0x3607a3);_0x1df31b&&(_0x1df31b[_0x2c7ccc(0x472)](),this[_0x2c7ccc(0x3dc)][_0x2c7ccc(0x365)](_0x3607a3));});}async[_0x513e05(0x314)](_0x563269){const _0x4a0783=_0x513e05,_0x112671=await this[_0x4a0783(0x3c9)][_0x4a0783(0x3b4)](_0x563269),_0x2f7275=this['_injector'][_0x4a0783(0x261)](_0x42473b,_0x563269,_0x112671);return _0x2f7275[_0x4a0783(0x22b)](),_0x2f7275;}async[_0x513e05(0x469)](_0x214d8c){const _0x4b747f=_0x513e05,_0x2023ed=await this[_0x4b747f(0x3c9)][_0x4b747f(0x3b4)](_0x214d8c),_0x3c416e=this['_injector'][_0x4b747f(0x261)](_0x49a88b,_0x214d8c,_0x2023ed);return _0x3c416e[_0x4b747f(0x22b)](),_0x3c416e;}};_0x2234d1=_0x1ed3bf([_0x3b0807(0x0,_0x3772e7[_0x513e05(0x201)]),_0x3b0807(0x1,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x3b0807(0x2,_0x3772e7['Inject'](_0x19f8d7['CollaborationSessionService']))],_0x2234d1);const _0x2d8fb8=0x14,_0x4ee5d3=0xc8,_0x1a82ee=0x4,_0x55e3cb=0x5;function _0x2b814f(_0x17c2de,_0x4e4f02){const _0x314e70=_0x513e05;let {radius:_0x5077e8,width:_0x49b425,height:_0x284619}=_0x4e4f02;_0x5077e8=_0x5077e8!=null?_0x5077e8:0x0,_0x49b425=_0x49b425!=null?_0x49b425:0x1e,_0x284619=_0x284619!=null?_0x284619:0x1e;let _0x4e62ac=0x0,_0x34772a=0x0,_0x5a1273=0x0;_0x4e62ac=_0x34772a=_0x5a1273=Math['min'](_0x5077e8,_0x49b425/0x2,_0x284619/0x2),_0x17c2de[_0x314e70(0x453)](),_0x17c2de[_0x314e70(0x1f4)](_0x4e62ac,0x0),_0x17c2de[_0x314e70(0x3d0)](_0x49b425-_0x34772a,0x0),_0x17c2de[_0x314e70(0x334)](_0x49b425-_0x34772a,_0x34772a,_0x34772a,Math['PI']*0x3/0x2,0x0,!0x1),_0x17c2de[_0x314e70(0x3d0)](_0x49b425,_0x284619-_0x5a1273),_0x17c2de['arc'](_0x49b425-_0x5a1273,_0x284619-_0x5a1273,_0x5a1273,0x0,Math['PI']/0x2,!0x1),_0x17c2de[_0x314e70(0x3d0)](0x0,_0x284619),_0x17c2de[_0x314e70(0x3d0)](0x0,_0x4e62ac),_0x17c2de[_0x314e70(0x334)](_0x4e62ac,_0x4e62ac,_0x4e62ac,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x17c2de['closePath'](),_0x4e4f02['fill']&&(_0x17c2de['save'](),_0x17c2de[_0x314e70(0x270)]=_0x4e4f02['fill'],_0x4e4f02[_0x314e70(0x3ba)]===_0x314e70(0x3e7)?_0x17c2de[_0x314e70(0x2bd)](_0x314e70(0x3e7)):_0x17c2de[_0x314e70(0x2bd)](),_0x17c2de[_0x314e70(0x2be)]());}class _0x1ebdbd extends _0x29b571[_0x513e05(0x1ce)]{constructor(_0x3ec316,_0x1f8f72){const _0x2a7592=_0x513e05;super(_0x3ec316,_0x1f8f72),_0xfd5d9c(this,'color'),_0xfd5d9c(this,_0x2a7592(0x24e)),(this['color']=_0x1f8f72==null?void 0x0:_0x1f8f72[_0x2a7592(0x336)],this[_0x2a7592(0x24e)]=_0x1f8f72==null?void 0x0:_0x1f8f72[_0x2a7592(0x24e)]);}static['drawWith'](_0x533679,_0x37c57e){const _0xabdeb1=_0x513e05,{text:_0x43fe14,color:_0x1b6bfa}=_0x37c57e;_0x533679[_0xabdeb1(0x388)](),_0x533679[_0xabdeb1(0x2f6)]=_0xabdeb1(0x360);const _0x57c439=_0x533679[_0xabdeb1(0x3c2)](_0x43fe14)[_0xabdeb1(0x313)],_0xb76790=Math[_0xabdeb1(0x2b3)](_0x57c439+0x2*_0x1a82ee,_0x4ee5d3);_0x2b814f(_0x533679,{'height':_0x2d8fb8,'radius':0x4,'width':_0xb76790,'fill':_0x1b6bfa}),_0x533679[_0xabdeb1(0x270)]=_0xabdeb1(0x2b9);const _0x14e1c6=_0x1a82ee,_0x23fc03=_0x2d8fb8-_0x55e3cb,_0x5ee7e5=_0x4ee5d3-0x2*_0x1a82ee;if(_0x57c439>_0x5ee7e5){let _0x3ad4ba='',_0x3f4796=0x0;for(const _0x7d3095 of _0x43fe14){const _0x5c8ab3=_0x533679[_0xabdeb1(0x3c2)](_0x7d3095)[_0xabdeb1(0x313)];if(_0x3f4796+_0x5c8ab3<=_0x5ee7e5-_0x533679[_0xabdeb1(0x3c2)](_0xabdeb1(0x354))['width'])_0x3ad4ba+=_0x7d3095,_0x3f4796+=_0x5c8ab3;else{_0x3ad4ba+=_0xabdeb1(0x354);break;}}_0x533679[_0xabdeb1(0x3cb)](_0x3ad4ba,_0x14e1c6,_0x23fc03);}else _0x533679['fillText'](_0x43fe14,_0x14e1c6,_0x23fc03);_0x533679[_0xabdeb1(0x2be)]();}[_0x513e05(0x3e2)](_0x375269){const _0xe7766d=_0x513e05;_0x1ebdbd[_0xe7766d(0x35c)](_0x375269,this);}}const _0x32883b='collab-text-anchor-',_0x51bf40='collab-text-range-',_0x474afd=_0x513e05(0x47b),_0x404681=0x6,_0x40e8c1=1.5,_0x136e3c=0x4,_0x104b0d=1.5,_0x551ba4=_0x513e05(0x1c6);class _0xe6a382{constructor(_0x3a76f4,_0x5bf1e5,_0x497eeb,_0x213938){const _0x2a0e42=_0x513e05;_0xfd5d9c(this,_0x2a0e42(0x240),[]),_0xfd5d9c(this,_0x2a0e42(0x380),null),_0xfd5d9c(this,_0x2a0e42(0x3de),null),_0xfd5d9c(this,_0x2a0e42(0x3c0),null),_0xfd5d9c(this,_0x2a0e42(0x46d),null),_0xfd5d9c(this,_0x2a0e42(0x42f),null),(this['_cursor']=_0x3a76f4,this[_0x2a0e42(0x333)]=_0x5bf1e5,this['_docSkeleton']=_0x497eeb,this['_document']=_0x213938,this[_0x2a0e42(0x497)]());}set[_0x513e05(0x31b)](_0x15b9f8){const _0x89e8f8=_0x513e05;_0x15b9f8?(this[_0x89e8f8(0x3c0)]&&this['_anchorDot'][_0x89e8f8(0x2b6)](),this[_0x89e8f8(0x3de)]&&this['_textBubble'][_0x89e8f8(0x345)]()):(this[_0x89e8f8(0x3c0)]&&this['_anchorDot']['show'](),this[_0x89e8f8(0x3de)]&&this['_textBubble'][_0x89e8f8(0x2b6)]());}[_0x513e05(0x472)](){const _0x29d28b=_0x513e05;for(const _0x3892a0 of this[_0x29d28b(0x240)])_0x3892a0[_0x29d28b(0x472)]();this['_textBubble']&&this[_0x29d28b(0x3de)][_0x29d28b(0x472)](),this[_0x29d28b(0x3c0)]&&this[_0x29d28b(0x3c0)][_0x29d28b(0x472)](),this[_0x29d28b(0x380)]&&this[_0x29d28b(0x380)][_0x29d28b(0x472)](),this[_0x29d28b(0x42f)]&&this[_0x29d28b(0x42f)]();}[_0x513e05(0x497)](){const _0x535f32=_0x513e05;var _0x1d5092;const {_docSkeleton:_0x326ec8,_document:_0x8a97c4}=this,{color:_0x130bb5,name:_0x4d1d4c,ranges:_0x2e8889}=this[_0x535f32(0x48d)],_0xe52f85=_0x8a97c4[_0x535f32(0x1ef)](),{docsLeft:_0x154a33,docsTop:_0x1d8d7c}=_0xe52f85,_0x2b713a=new _0x7ab617[(_0x535f32(0x3cf))](_0xe52f85,_0x326ec8);for(const {startOffset:_0x890178,endOffset:_0xd331bc,rangeType:_0x529d8b,segmentId:_0x4098f3,segmentPage:_0x54f6cb,collapsed:_0x383d2d,isActive:_0x13c2ee}of _0x2e8889){const _0x4b3b4e=_0x326ec8['findNodePositionByCharIndex'](_0x890178,!0x0,_0x4098f3,_0x54f6cb);let _0x3deb1b=_0x326ec8['findNodePositionByCharIndex'](_0xd331bc,!0x0,_0x4098f3,_0x54f6cb);if(_0x3deb1b==null&&(_0x3deb1b=_0x326ec8[_0x535f32(0x349)](_0xd331bc-0x1,!0x1,_0x4098f3,_0x54f6cb)),_0x13c2ee){const {contentBoxPointGroup:_0x2defa4}=_0x2b713a[_0x535f32(0x1f8)](_0x3deb1b,_0x3deb1b);if(_0x2defa4[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x2b4)](_0x130bb5,_0x2defa4,_0x154a33,_0x1d8d7c,_0x4d1d4c),this['_eventUnsubscribe']=this[_0x535f32(0x363)]();}if(_0x4b3b4e&&_0x3deb1b){if(_0x529d8b===_0x3772e7['DOC_RANGE_TYPE'][_0x535f32(0x3b7)]){const _0x182a96=new _0x7ab617[(_0x535f32(0x3a8))](_0xe52f85,_0x326ec8),{pointGroup:_0xb0f904}=(_0x1d5092=_0x182a96[_0x535f32(0x1f8)](_0x4b3b4e,_0x3deb1b))!=null?_0x1d5092:{};if(_0xb0f904==null||_0xb0f904[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x282)](_0x130bb5,_0xb0f904,_0x154a33,_0x1d8d7c);}else{if(!_0x383d2d){const {borderBoxPointGroup:_0x2d1d71}=_0x2b713a[_0x535f32(0x1f8)](_0x4b3b4e,_0x3deb1b);if(_0x2d1d71[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x25f)](_0x130bb5,_0x2d1d71,_0x154a33,_0x1d8d7c);}}}}}[_0x513e05(0x2b4)](_0x48fb6d,_0x37181b,_0x135a11,_0x40c1a8,_0x458422){const _0x34bbe5=_0x513e05,_0x43fa79=this['_getAnchorBounding'](_0x37181b),{left:_0x2301c3,top:_0x3ce6bf,height:_0x833ae6}=_0x43fa79,_0x52170d=this[_0x34bbe5(0x429)](),_0x3c6373=_0x104b0d/_0x52170d,_0x28b6bf=new _0x29b571[(_0x34bbe5(0x460))](_0x32883b+_0x3772e7['generateRandomId'](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8,'height':_0x833ae6,'width':_0x40e8c1,'fill':_0x48fb6d||_0x29b571['getColor'](_0x3772e7['COLORS'][_0x34bbe5(0x304)],0x0),'strokeWidth':_0x3c6373,'stroke':_0x551ba4,'evented':!0x0});this[_0x34bbe5(0x380)]=_0x28b6bf,this['_scene'][_0x34bbe5(0x28c)](_0x28b6bf,_0x7ab617['TEXT_RANGE_LAYER_INDEX']);const _0x5e001c=new _0x29b571[(_0x34bbe5(0x460))](_0x32883b+_0x3772e7[_0x34bbe5(0x2ae)](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8-_0x136e3c/0x2,'height':_0x136e3c,'width':_0x136e3c,'fill':_0x48fb6d||_0x29b571[_0x34bbe5(0x3f8)](_0x3772e7['COLORS'][_0x34bbe5(0x304)],0x0),'strokeWidth':0x0,'stroke':_0x48fb6d||_0x29b571[_0x34bbe5(0x3f8)](_0x3772e7[_0x34bbe5(0x221)][_0x34bbe5(0x304)],0x0),'evented':!0x1});this[_0x34bbe5(0x3c0)]=_0x5e001c,this[_0x34bbe5(0x333)][_0x34bbe5(0x28c)](_0x5e001c,_0x7ab617[_0x34bbe5(0x1fd)]);const _0x312b09=new _0x1ebdbd(_0x32883b+_0x3772e7['generateRandomId'](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8-_0x2d8fb8,'text':_0x458422,'color':_0x48fb6d});this['_textBubble']=_0x312b09,this['_scene']['addObject'](_0x312b09,_0x7ab617[_0x34bbe5(0x1fd)]),this['_hover']=!0x1;}['_handleHover'](){const _0x358d32=_0x513e05,_0x2b8d64=this[_0x358d32(0x380)][_0x358d32(0x20b)]['subscribeEvent'](()=>{const _0x2a5a81=_0x358d32;this[_0x2a5a81(0x31b)]=!0x0;}),_0x2a9906=this['_anchor'][_0x358d32(0x258)]['subscribeEvent'](()=>{const _0x2ee4d3=_0x358d32;this[_0x2ee4d3(0x46d)]&&clearTimeout(this[_0x2ee4d3(0x46d)]),this[_0x2ee4d3(0x46d)]=setTimeout(()=>{const _0x7e5813=_0x2ee4d3;this[_0x7e5813(0x31b)]=!0x1;},0x7d0);});return()=>{const _0x4111f6=_0x358d32;_0x2b8d64[_0x4111f6(0x383)](),_0x2a9906[_0x4111f6(0x383)]();};}[_0x513e05(0x25f)](_0x2aed28,_0x5f472e,_0x1e0e42,_0x2fbba8){const _0x508fb2=_0x513e05,_0x11c010=new _0x3772e7['ColorKit'](_0x2aed28)[_0x508fb2(0x1c8)](0.2)[_0x508fb2(0x484)](),_0x552c01=new _0x29b571[(_0x508fb2(0x319))](_0x51bf40+_0x3772e7['generateRandomId'](_0x404681),{'pointsGroup':_0x5f472e,'fill':_0x11c010||_0x29b571[_0x508fb2(0x3f8)](_0x3772e7[_0x508fb2(0x221)][_0x508fb2(0x304)],0.2),'left':_0x1e0e42,'top':_0x2fbba8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x508fb2(0x240)][_0x508fb2(0x2e0)](_0x552c01),this['_scene'][_0x508fb2(0x28c)](_0x552c01,_0x7ab617[_0x508fb2(0x1fd)]);}[_0x513e05(0x282)](_0x11f0bf,_0x2e5dc,_0x45b373,_0x5e4286){const _0x35729f=_0x513e05,_0x328aad=new _0x3772e7[(_0x35729f(0x236))](_0x11f0bf)['setAlpha'](0.2)[_0x35729f(0x484)](),_0x4e30cd=new _0x29b571[(_0x35729f(0x319))](_0x474afd+_0x3772e7[_0x35729f(0x2ae)](_0x404681),{'pointsGroup':_0x2e5dc,'fill':_0x328aad||_0x29b571[_0x35729f(0x3f8)](_0x3772e7['COLORS'][_0x35729f(0x304)],0.2),'left':_0x45b373,'top':_0x5e4286,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x35729f(0x240)]['push'](_0x4e30cd),this[_0x35729f(0x333)]['addObject'](_0x4e30cd,_0x7ab617['TEXT_RANGE_LAYER_INDEX']);}[_0x513e05(0x3fd)](_0x11e699){const _0x4e39fd=_0x11e699[0x0],_0x47c9db=_0x4e39fd[0x0],_0x14f768=_0x4e39fd[0x2],{x:_0x6fcd1e,y:_0x49469c}=_0x47c9db,{x:_0x106562,y:_0x3eb4b9}=_0x14f768;return{'left':_0x6fcd1e,'top':_0x49469c,'width':_0x106562-_0x6fcd1e,'height':_0x3eb4b9-_0x49469c};}['_getScale'](){const _0x283284=_0x513e05,{scaleX:_0x23a028,scaleY:_0x12e7eb}=this[_0x283284(0x333)][_0x283284(0x254)]();return Math['max'](_0x23a028,_0x12e7eb);}}var _0x318d1d=Object[_0x513e05(0x33c)],_0xfd50fd=(_0x12307b,_0x528f88,_0x5419b1,_0x4c881d)=>{const _0x50b167=_0x513e05;for(var _0x25484c=_0x4c881d>0x1?void 0x0:_0x4c881d?_0x318d1d(_0x528f88,_0x5419b1):_0x528f88,_0xdace3a=_0x12307b[_0x50b167(0x3ec)]-0x1,_0x5a3420;_0xdace3a>=0x0;_0xdace3a--)(_0x5a3420=_0x12307b[_0xdace3a])&&(_0x25484c=_0x5a3420(_0x25484c)||_0x25484c);return _0x25484c;},_0x1f5c41=(_0x384e79,_0x53c53d)=>(_0x4b594d,_0x14560f)=>_0x53c53d(_0x4b594d,_0x14560f,_0x384e79);let _0x4d05f1=class extends _0x3772e7['RxDisposable']{constructor(_0x2cafae,_0x90c3f6,_0x2fc4f,_0x280736,_0x315fca){const _0x29490f=_0x513e05;super(),_0xfd5d9c(this,_0x29490f(0x35a),[]),_0xfd5d9c(this,'_cursors',[]),(this['_context']=_0x2cafae,this[_0x29490f(0x3b8)]=_0x90c3f6,this[_0x29490f(0x38d)]=_0x2fc4f,this[_0x29490f(0x2fb)]=_0x280736,this[_0x29490f(0x323)]=_0x315fca,this[_0x29490f(0x219)]());}[_0x513e05(0x219)](){const _0x5f0dfe=_0x513e05,_0x588e68=this[_0x5f0dfe(0x2f4)][_0x5f0dfe(0x2fa)],_0x3557d2=this[_0x5f0dfe(0x3b8)];this[_0x5f0dfe(0x317)](_0x104804[_0x5f0dfe(0x30d)]([this[_0x5f0dfe(0x38d)]['getCollabCursors$'](_0x588e68),this[_0x5f0dfe(0x323)][_0x5f0dfe(0x3d1)]])[_0x5f0dfe(0x372)](_0x568e97[_0x5f0dfe(0x407)](([_0x1d325d,_0x1dbed5])=>({'skeleton':_0x3557d2['getSkeleton'](),'cursors':[..._0x1d325d[_0x5f0dfe(0x39d)]()]['flatMap'](_0x4fa6f2=>({..._0x4fa6f2,'color':this[_0x5f0dfe(0x323)][_0x5f0dfe(0x476)](_0x4fa6f2[_0x5f0dfe(0x336)])}))})))[_0x5f0dfe(0x3ee)](_0x3478b0=>{const _0x1e9d27=_0x5f0dfe;if(this[_0x1e9d27(0x2b0)](),_0x3478b0){const {skeleton:_0x155408,cursors:_0xee3ba7}=_0x3478b0;this[_0x1e9d27(0x316)](_0x155408,_0xee3ba7);}})),this[_0x5f0dfe(0x2cb)](),this[_0x5f0dfe(0x450)]();}[_0x513e05(0x316)](_0x420556,_0x14f122){const _0x4604c1=_0x513e05,{scene:_0x4a218c,mainComponent:_0x2ccdda}=this['_context'],_0x263af1=_0x14f122['map'](_0x3fb87c=>new _0xe6a382(_0x3fb87c,_0x4a218c,_0x420556,_0x2ccdda));this[_0x4604c1(0x35a)]=_0x263af1,this['_cursors']=_0x14f122;}[_0x513e05(0x2a4)](){const _0x5437c4=_0x513e05;this[_0x5437c4(0x2b0)]();const {scene:_0x1d80f5,mainComponent:_0x456d22}=this[_0x5437c4(0x2f4)],_0x57d739=this[_0x5437c4(0x3b8)][_0x5437c4(0x338)](),_0x10689d=this[_0x5437c4(0x489)][_0x5437c4(0x407)](_0x249b8a=>new _0xe6a382(_0x249b8a,_0x1d80f5,_0x57d739,_0x456d22));this[_0x5437c4(0x35a)]=_0x10689d;}['_removeCollabCursors'](){const _0x13d2d5=_0x513e05;this[_0x13d2d5(0x35a)][_0x13d2d5(0x2a8)](_0x150b4e=>_0x150b4e[_0x13d2d5(0x472)]()),this[_0x13d2d5(0x35a)]=[];}['_initCommandExecutedListener'](){const _0x320ca5=_0x513e05,_0x449bbe=[_0x7ab617[_0x320ca5(0x410)]['id']];this[_0x320ca5(0x317)](this['_commandService']['onCommandExecuted'](_0xf36dd0=>{const _0xa27884=_0x320ca5;_0x449bbe[_0xa27884(0x40d)](_0xf36dd0['id'])&&_0xf36dd0[_0xa27884(0x41c)]['unitId']===this['_context'][_0xa27884(0x2fa)]&&this[_0xa27884(0x2a4)]();}));}['_initResize'](){const _0x55ac46=_0x513e05;this[_0x55ac46(0x317)](_0x3772e7[_0x55ac46(0x2d8)](this[_0x55ac46(0x2f4)]['engine']['onTransformChange$'])[_0x55ac46(0x372)](_0x568e97[_0x55ac46(0x3e4)](_0x12e2d8=>_0x12e2d8[_0x55ac46(0x23f)]===_0x29b571['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x55ac46(0x218)]),_0x568e97[_0x55ac46(0x411)](0x10))['subscribe'](()=>{const _0x1e96d7=_0x55ac46;this[_0x1e96d7(0x2a4)]();}));}};_0x4d05f1=_0xfd50fd([_0x1f5c41(0x1,_0x3772e7['Inject'](_0x37acc3[_0x513e05(0x465)])),_0x1f5c41(0x2,_0x3772e7['Inject'](_0x2234d1)),_0x1f5c41(0x3,_0x3772e7['ICommandService']),_0x1f5c41(0x4,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x2e6)]))],_0x4d05f1);const _0x8ae3bd=0x1,_0x519199=1.5;class _0xc79a86 extends _0x29b571[_0x513e05(0x1ce)]{constructor(_0x39987c,_0xda71b0){const _0x43e7ef=_0x513e05;super(_0x39987c,_0xda71b0),_0xfd5d9c(this,'_color'),_0xfd5d9c(this,_0x43e7ef(0x1f2),!0x1),_0xfd5d9c(this,'_range'),_0xfd5d9c(this,'_name',''),_0xfd5d9c(this,'_labelPosition','top'),_0xfd5d9c(this,_0x43e7ef(0x31a)),(_0xda71b0&&this[_0x43e7ef(0x3e0)](_0xda71b0),this[_0x43e7ef(0x20b)][_0x43e7ef(0x37a)](()=>this[_0x43e7ef(0x3e0)]({'hovered':!0x0})),this['onPointerLeave$'][_0x43e7ef(0x37a)](()=>this[_0x43e7ef(0x3e0)]({'hovered':!0x1})));}['setShapeProps'](_0x3e8aaf){const _0x5d3463=_0x513e05;var _0x5b3bac,_0x426284,_0x4227f7,_0x29dc60,_0x33f5d8,_0x32e118;this[_0x5d3463(0x23e)]=(_0x5b3bac=_0x3e8aaf[_0x5d3463(0x336)])!=null?_0x5b3bac:this[_0x5d3463(0x23e)],this[_0x5d3463(0x1f2)]=(_0x426284=_0x3e8aaf[_0x5d3463(0x3ff)])!=null?_0x426284:this['_hovered'],this['_range']=(_0x4227f7=_0x3e8aaf[_0x5d3463(0x2f9)])!=null?_0x4227f7:this[_0x5d3463(0x2dc)],this[_0x5d3463(0x2dd)]=(_0x29dc60=_0x3e8aaf[_0x5d3463(0x248)])!=null?_0x29dc60:this['_name'],this[_0x5d3463(0x1e7)]=(_0x33f5d8=_0x3e8aaf[_0x5d3463(0x2e5)])!=null?_0x33f5d8:this[_0x5d3463(0x1e7)],this[_0x5d3463(0x31a)]=(_0x32e118=_0x3e8aaf['backgroundColor'])!=null?_0x32e118:this[_0x5d3463(0x31a)],this[_0x5d3463(0x41d)]({'width':_0x3e8aaf[_0x5d3463(0x313)],'height':_0x3e8aaf[_0x5d3463(0x2b2)]});}[_0x513e05(0x1cd)](_0x17432b){const _0xfd46d5=_0x513e05,{row:_0x2e1e51,column:_0x5b0463}=_0x17432b;if(_0x2e1e51>=this[_0xfd46d5(0x2dc)][_0xfd46d5(0x311)]&&_0x2e1e51<=this['_range'][_0xfd46d5(0x408)]&&_0x5b0463>=this[_0xfd46d5(0x2dc)][_0xfd46d5(0x2d6)]&&_0x5b0463<=this[_0xfd46d5(0x2dc)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0xfd46d5(0x3e0)]({'hovered':!0x1});}[_0x513e05(0x454)](_0x2057c2){return!0x1;}[_0x513e05(0x3e2)](_0x2213d7){const _0x1c80a3=_0x513e05;_0x29b571[_0x1c80a3(0x460)][_0x1c80a3(0x35c)](_0x2213d7,{'width':this['width'],'height':this[_0x1c80a3(0x2b2)],'strokeWidth':_0x519199,'stroke':this[_0x1c80a3(0x23e)],'evented':!0x1,'fill':this[_0x1c80a3(0x31a)]}),this[_0x1c80a3(0x1f2)]&&(_0x2213d7[_0x1c80a3(0x388)](),_0x2213d7['transform'](0x1,0x0,0x0,0x1,this[_0x1c80a3(0x313)],this[_0x1c80a3(0x1e7)]===_0x1c80a3(0x1e3)?0x0:-_0x2d8fb8),_0x1ebdbd['drawWith'](_0x2213d7,{'text':this[_0x1c80a3(0x2dd)],'color':this[_0x1c80a3(0x23e)]}),_0x2213d7['restore']());}}var _0x2e98ed=Object[_0x513e05(0x33c)],_0x21ad4b=(_0x40f8b9,_0x48fd6a,_0x51b62c,_0x108bef)=>{const _0x549863=_0x513e05;for(var _0x186b3f=_0x108bef>0x1?void 0x0:_0x108bef?_0x2e98ed(_0x48fd6a,_0x51b62c):_0x48fd6a,_0x51732f=_0x40f8b9[_0x549863(0x3ec)]-0x1,_0x5e49e9;_0x51732f>=0x0;_0x51732f--)(_0x5e49e9=_0x40f8b9[_0x51732f])&&(_0x186b3f=_0x5e49e9(_0x186b3f)||_0x186b3f);return _0x186b3f;},_0x22e80f=(_0x53ab7b,_0x146e27)=>(_0x2c5c27,_0x1cfac3)=>_0x146e27(_0x2c5c27,_0x1cfac3,_0x53ab7b);const _0x354c78=0x1389;let _0x4fc936=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x31ee8c,_0x491daf,_0x70d571,_0x951809){const _0x7740ba=_0x513e05;super(),_0xfd5d9c(this,'_cursors',new Set()),_0xfd5d9c(this,_0x7740ba(0x24c),null),(this['_context']=_0x31ee8c,this[_0x7740ba(0x1f7)]=_0x491daf,this[_0x7740ba(0x38d)]=_0x70d571,this[_0x7740ba(0x323)]=_0x951809,this['_init']());}['_init'](){const _0x2c4811=_0x513e05;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x2c4811(0x372)](_0x568e97[_0x2c4811(0x3e1)](this[_0x2c4811(0x3b1)]),_0x568e97[_0x2c4811(0x3a3)](_0x5e7407=>{const _0x32580a=_0x2c4811;if(_0x5e7407){const _0x1c7166=_0x5e7407['sheetId'];return _0x104804[_0x32580a(0x30d)](this['_collabCursorController'][_0x32580a(0x292)](this[_0x32580a(0x2f4)][_0x32580a(0x2fa)]),this[_0x32580a(0x323)][_0x32580a(0x3d1)])['pipe'](_0x568e97[_0x32580a(0x407)](([_0x3fe3d7,_0x452339])=>{const _0x1b0b2f=_0x32580a,_0x5736f9=new Map();return _0x3fe3d7[_0x1b0b2f(0x2a8)]((_0x834c28,_0x3f43c2)=>{const _0x19f1fd=_0x1b0b2f;if(_0x834c28['sheetID']===_0x1c7166){const _0x3670ef={..._0x834c28};_0x3670ef['color']=this['_themeService']['getColorFromTheme'](_0x834c28[_0x19f1fd(0x336)]),_0x5736f9[_0x19f1fd(0x40c)](_0x3f43c2,_0x3670ef);}}),{'skeleton':_0x5e7407,'cursors':_0x5736f9};}));}return _0x104804['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x42bafc,cursors:_0x2a61ea})=>{const _0x43ed3d=_0x2c4811;this[_0x43ed3d(0x2b0)](),_0x42bafc&&this['_updateCollabCursors'](_0x42bafc,_0x2a61ea);}),this[_0x2c4811(0x1f7)][_0x2c4811(0x2ce)]['subscribe'](_0x2a8593=>{const _0x72553=_0x2c4811;if(_0x2a8593==null)return;const {skeleton:_0x35862e}=_0x2a8593,{scene:_0x2a6da1}=this['_context'];_0x2a6da1[_0x72553(0x362)][_0x72553(0x37a)](_0x3772e7[_0x72553(0x43a)](_0x20a506=>{const _0x1e5ff0=_0x72553;var _0x3dcbed,_0x3fa7d6;const {offsetX:_0x3a905c,offsetY:_0x4c480e}=_0x20a506,{x:_0x4cd532,y:_0x355cce}=_0x2a6da1[_0x1e5ff0(0x29b)](_0x29b571['Vector2'][_0x1e5ff0(0x32e)]([_0x3a905c,_0x4c480e])),{scaleX:_0x56d765,scaleY:_0x4bd465}=_0x2a6da1[_0x1e5ff0(0x254)](),_0x2bf5a9=_0x2a6da1[_0x1e5ff0(0x38a)](_0x29b571['SHEET_VIEWPORT_KEY'][_0x1e5ff0(0x2da)]),_0x50b788=_0x2a6da1[_0x1e5ff0(0x45f)](_0x29b571[_0x1e5ff0(0x253)][_0x1e5ff0(0x32e)]([_0x4cd532,_0x355cce]),_0x2bf5a9),_0x576aec=_0x35862e[_0x1e5ff0(0x404)](_0x3a905c,_0x4c480e,_0x56d765,_0x4bd465,_0x50b788);((_0x3dcbed=this[_0x1e5ff0(0x24c)])==null?void 0x0:_0x3dcbed['column'])===_0x576aec[_0x1e5ff0(0x275)]&&((_0x3fa7d6=this['_lastPointer'])==null?void 0x0:_0x3fa7d6['row'])===_0x576aec[_0x1e5ff0(0x1ee)]||this['_cursors'][_0x1e5ff0(0x2a8)](_0x103ccc=>{const _0xc34117=_0x1e5ff0;_0x103ccc[_0xc34117(0x1cd)](_0x576aec);});},0x64));});}['_updateCollabCursors'](_0x14c980,_0x15af29){const _0x204fa0=_0x513e05;var _0x4cbc01;const _0x684e3d=(_0x4cbc01=this[_0x204fa0(0x1f7)][_0x204fa0(0x44b)]())==null?void 0x0:_0x4cbc01[_0x204fa0(0x213)];if(!_0x684e3d)return;const _0x32757e=this[_0x204fa0(0x48c)]();if(!_0x32757e)return;this['_cursors'][_0x204fa0(0x2a8)](_0x22ca18=>{const _0x12d855=_0x204fa0;_0x22ca18[_0x12d855(0x3f4)]();});const {scene:_0x1d5bef}=_0x32757e,_0x3914ae=_0x56585e(Array[_0x204fa0(0x2a2)](_0x15af29['values']()))[_0x204fa0(0x407)](_0x2e68fa=>{const _0xe94795=_0x204fa0,{color:_0x37f57f,range:_0x25981e,name:_0x5bc598,selection:_0x40b755,sheetID:_0x12e2bf}=_0x2e68fa,{startColumn:_0x28a945,startRow:_0x2e7bfb,endColumn:_0x348f2a,endRow:_0x39fe65}=_0x25981e,_0x52c7f2=_0x3e18f2['getCoordByCell'](_0x2e7bfb,_0x28a945,_0x1d5bef,_0x684e3d),_0x72acba=_0x3e18f2[_0xe94795(0x318)](_0x39fe65,_0x348f2a,_0x1d5bef,_0x684e3d),{columnHeaderHeightAndMarginTop:_0x116240}=_0x684e3d,{startX:_0x3df4c0,startY:_0x45d3f2}=_0x52c7f2,{endX:_0x453f04,endY:_0x4cb7b6}=_0x72acba,_0x299809=_0x453f04-_0x3df4c0,_0x5a7d82=_0x4cb7b6-_0x45d3f2,_0x1577f4={'labelPosition':_0x45d3f2-_0x116240>=_0x2d8fb8?_0xe94795(0x3ea):_0xe94795(0x1e3),'sheetID':_0x12e2bf,'range':_0x25981e,'color':_0x37f57f,'name':_0x5bc598,'selection':_0x40b755,'left':_0x3df4c0,'top':_0x45d3f2,'width':_0x299809,'height':_0x5a7d82,'evented':!0x1,'zIndex':_0x354c78};return new _0xc79a86(_0x5bc598,_0x1577f4);});_0x1d5bef[_0x204fa0(0x227)](_0x3914ae,_0x8ae3bd),this[_0x204fa0(0x489)]=new Set(_0x3914ae);}[_0x513e05(0x2b0)](){const _0x1f1caf=_0x513e05;var _0x211c5a;(_0x211c5a=this[_0x1f1caf(0x489)])==null||_0x211c5a[_0x1f1caf(0x2a8)](_0x436720=>_0x436720[_0x1f1caf(0x472)]());}['_getSheetObject'](){const _0x43c1e3=_0x513e05;return _0x3e18f2[_0x43c1e3(0x439)](this[_0x43c1e3(0x2f4)][_0x43c1e3(0x438)],this['_context']);}};_0x4fc936=_0x21ad4b([_0x22e80f(0x1,_0x3772e7[_0x513e05(0x30b)](_0x3e18f2['SheetSkeletonManagerService'])),_0x22e80f(0x2,_0x3772e7[_0x513e05(0x30b)](_0x2234d1)),_0x22e80f(0x3,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x2e6)]))],_0x4fc936);function _0x56585e(_0x5de952){const _0x144b04=_0x513e05,_0x1de40c=new Map();return _0x5de952[_0x144b04(0x2a8)](_0x27ee28=>{const _0x197385=_0x144b04;if(_0x1de40c[_0x197385(0x28b)](_0x27ee28['selection'])){const _0x136060=_0x1de40c[_0x197385(0x309)](_0x27ee28[_0x197385(0x3d6)]);_0x136060[_0x197385(0x248)]+=',\x20'+_0x27ee28[_0x197385(0x248)];}else _0x1de40c[_0x197385(0x40c)](_0x27ee28[_0x197385(0x3d6)],_0x27ee28);}),Array[_0x144b04(0x2a2)](_0x1de40c[_0x144b04(0x39d)]());}var _0x1fc807=Object[_0x513e05(0x33c)],_0xeecbf1=(_0x78943f,_0x39e1df,_0x2bff15,_0x5ea7a7)=>{for(var _0x19dec1=_0x5ea7a7>0x1?void 0x0:_0x5ea7a7?_0x1fc807(_0x39e1df,_0x2bff15):_0x39e1df,_0x1667c4=_0x78943f['length']-0x1,_0x347ad5;_0x1667c4>=0x0;_0x1667c4--)(_0x347ad5=_0x78943f[_0x1667c4])&&(_0x19dec1=_0x347ad5(_0x19dec1)||_0x19dec1);return _0x19dec1;},_0x15f4ee=(_0x2e8f24,_0x5a61c4)=>(_0x11235b,_0x2ffb4e)=>_0x5a61c4(_0x11235b,_0x2ffb4e,_0x2e8f24);let _0x23daa2=class extends _0x3772e7['Disposable']{constructor(_0x1190a0,_0x37c60b,_0x39e3e9,_0x137925,_0x36bd2a,_0x25930d){const _0x2c0081=_0x513e05;super(),this[_0x2c0081(0x28f)]=_0x1190a0,this[_0x2c0081(0x224)]=_0x37c60b,this[_0x2c0081(0x225)]=_0x39e3e9,this[_0x2c0081(0x1f1)]=_0x137925,this[_0x2c0081(0x36c)]=_0x36bd2a,this[_0x2c0081(0x45e)]=_0x25930d,this[_0x2c0081(0x278)](),this[_0x2c0081(0x3bf)]();}[_0x513e05(0x278)](){const _0x5bcbd4=_0x513e05;this[_0x5bcbd4(0x317)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x18bb8a=_0x5bcbd4;if(this[_0x18bb8a(0x224)]['saveTaskMap'][_0x18bb8a(0x396)])return this[_0x18bb8a(0x45e)]['t'](_0x18bb8a(0x229));}));}[_0x513e05(0x3bf)](){const _0x3907d8=_0x513e05;this[_0x3907d8(0x317)](this['_collaborationUIEventService'][_0x3907d8(0x1f0)]['subscribe'](_0x293ccd=>{const _0xc22a3c=_0x3907d8;_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604['MessageType'][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t'](_0xc22a3c(0x3f3))}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId'][_0xc22a3c(0x391)]&&this[_0xc22a3c(0x1f1)][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t']('collaboration.closeRoom')}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x230)]&&this[_0xc22a3c(0x36c)]['show']({'title':this[_0xc22a3c(0x45e)]['t'](_0xc22a3c(0x1bc)),'content':this[_0xc22a3c(0x45e)]['t']('permission.content'),'type':_0xc22a3c(0x27b),'duration':0x0}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x2c2)]&&this['_messageService']['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('collaboration.closeRoom')+'('+_0x293ccd['data']+')'}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x41f)]&&this['_messageService'][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t'](_0x293ccd[_0xc22a3c(0x300)]||'')}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId'][_0xc22a3c(0x306)]&&this[_0xc22a3c(0x1f1)][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this['_localeService']['t'](_0xc22a3c(0x477))}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('session.connection-failed')}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('session.collaboration-timeout')});}));}};_0x23daa2=_0xeecbf1([_0x15f4ee(0x0,_0x2e0e04['IBeforeCloseService']),_0x15f4ee(0x1,_0x19f8d7[_0x513e05(0x36d)]),_0x15f4ee(0x2,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x24b)])),_0x15f4ee(0x3,_0x2e0e04[_0x513e05(0x320)]),_0x15f4ee(0x4,_0x2e0e04[_0x513e05(0x2a6)]),_0x15f4ee(0x5,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x23daa2);var _0x41ee97=Object[_0x513e05(0x33c)],_0x42024e=(_0x37b62e,_0x488ab9,_0x3d8854,_0x496979)=>{const _0xfedb5c=_0x513e05;for(var _0x57ecf4=_0x496979>0x1?void 0x0:_0x496979?_0x41ee97(_0x488ab9,_0x3d8854):_0x488ab9,_0x33b252=_0x37b62e[_0xfedb5c(0x3ec)]-0x1,_0x2bec64;_0x33b252>=0x0;_0x33b252--)(_0x2bec64=_0x37b62e[_0x33b252])&&(_0x57ecf4=_0x2bec64(_0x57ecf4)||_0x57ecf4);return _0x57ecf4;},_0x207359=(_0x30a909,_0x9a48d7)=>(_0x5772db,_0x512a77)=>_0x9a48d7(_0x5772db,_0x512a77,_0x30a909);let _0x19eb72=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x52e992,_0x1e788b,_0x360329,_0x22d765){const _0x14494c=_0x513e05;super(),_0xfd5d9c(this,'_memberID'),(this[_0x14494c(0x499)]=_0x52e992,this[_0x14494c(0x2cc)]=_0x1e788b,this['_logService']=_0x360329,this[_0x14494c(0x1fa)]=_0x22d765,this[_0x14494c(0x219)]());}[_0x513e05(0x219)](){const _0x368c0c=_0x513e05;this[_0x368c0c(0x210)](),this[_0x368c0c(0x392)](),this[_0x368c0c(0x446)](),this[_0x368c0c(0x233)]();}[_0x513e05(0x233)](){const _0x15130c=_0x513e05;this[_0x15130c(0x317)](this[_0x15130c(0x1fa)][_0x15130c(0x351)][_0x15130c(0x3ee)](_0x3fbdc5=>{const _0x33def3=_0x15130c;this['_memberID']=_0x3fbdc5==null?void 0x0:_0x3fbdc5[_0x33def3(0x47a)];}));}['_initWindowErrorListener'](){const _0x569f9c=_0x513e05,_0x308455=_0x38e438=>{const _0x4ac515=_0x3621;var _0x2a5251;this[_0x4ac515(0x26c)]('error',_0x4ac515(0x1e2)+_0x38e438[_0x4ac515(0x2a1)]+_0x4ac515(0x462)+_0x38e438[_0x4ac515(0x20f)]+':'+_0x38e438['lineno']+':'+_0x38e438['colno']+'\x0a'+(((_0x2a5251=_0x38e438['error'])==null?void 0x0:_0x2a5251[_0x4ac515(0x2d0)])||''));};window[_0x569f9c(0x459)](_0x569f9c(0x27b),_0x308455),this[_0x569f9c(0x317)](()=>{const _0x37a7cf=_0x569f9c;window[_0x37a7cf(0x44a)](_0x37a7cf(0x27b),_0x308455);});}[_0x513e05(0x392)](){const _0xf9499f=_0x513e05,_0x46caec=_0x43aeca=>{const _0x511d62=_0x3621;this[_0x511d62(0x26c)]('error',_0x511d62(0x39f)+_0x43aeca[_0x511d62(0x332)]);};window[_0xf9499f(0x459)](_0xf9499f(0x2f5),_0x46caec),this[_0xf9499f(0x317)](()=>{const _0x23fefe=_0xf9499f;window[_0x23fefe(0x44a)](_0x23fefe(0x2f5),_0x46caec);});}[_0x513e05(0x446)](){const _0x2da058=_0x513e05,_0x20f4c5=this['_logService'][_0x2da058(0x27b)][_0x2da058(0x49a)](this['_logService']);this['_logService'][_0x2da058(0x27b)]=(..._0x224570)=>{const _0x46e62e=_0x2da058,_0x18ba83=_0x224570[_0x46e62e(0x407)](_0x23b76f=>_0x23b76f instanceof Error?_0x23b76f[_0x46e62e(0x2a1)]+'\x0a'+_0x23b76f[_0x46e62e(0x2d0)]:String(_0x23b76f))[_0x46e62e(0x35b)]('\x20');this[_0x46e62e(0x26c)](_0x46e62e(0x27b),_0x46e62e(0x3c6)+_0x18ba83),_0x20f4c5(..._0x224570);},this[_0x2da058(0x317)](()=>{const _0x44f090=_0x2da058;this[_0x44f090(0x263)][_0x44f090(0x27b)]=_0x20f4c5;});}['_uploadLog'](_0x573d74,_0x290014){const _0x3b448b=_0x513e05;try{const _0x50c658={'userId':this[_0x3b448b(0x290)],'logLabel':_0x573d74,'content':_0x290014};this['_httpService'][_0x3b448b(0x1db)](_0x3b448b(0x38b),{'body':_0x50c658})[_0x3b448b(0x1c3)](()=>{});}catch{}}};_0x19eb72=_0x42024e([_0x207359(0x0,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0x207359(0x1,_0x3772e7[_0x513e05(0x30b)](_0xe6cf6e[_0x513e05(0x1cc)])),_0x207359(0x2,_0x3772e7[_0x513e05(0x23d)]),_0x207359(0x3,_0x3772e7['Inject'](_0x19f8d7[_0x513e05(0x293)]))],_0x19eb72);const _0x2157a3=_0x513e05(0x3f0),_0x52c7c0={};var _0xf0dfb2=Object[_0x513e05(0x33c)],_0x33eddd=(_0x104115,_0xa508f9,_0x184bcd,_0x4cff1f)=>{const _0x4c6897=_0x513e05;for(var _0x10a093=_0x4cff1f>0x1?void 0x0:_0x4cff1f?_0xf0dfb2(_0xa508f9,_0x184bcd):_0xa508f9,_0x429611=_0x104115[_0x4c6897(0x3ec)]-0x1,_0x1fd8c9;_0x429611>=0x0;_0x429611--)(_0x1fd8c9=_0x104115[_0x429611])&&(_0x10a093=_0x1fd8c9(_0x10a093)||_0x10a093);return _0x10a093;},_0x23af59=(_0x2b0a14,_0x5f58e7)=>(_0x3a15df,_0x9d97cb)=>_0x5f58e7(_0x3a15df,_0x9d97cb,_0x2b0a14);let _0x32f42e=class{constructor(_0x2c17ab,_0x1d2a8d){const _0x1cc9a0=_0x513e05;this[_0x1cc9a0(0x2c7)]=_0x2c17ab,this['_renderManagerService']=_0x1d2a8d;}['transformIMECache'](_0xa4c095){const _0x4b1a16=_0x513e05;this[_0x4b1a16(0x31f)](_0xa4c095),this['_transformPreviousActiveRange'](_0xa4c095);}['transformRemoteChangeset'](_0x26bec9){const _0x42db4c=_0x513e05,{unitID:_0x4841e5}=_0x26bec9,_0x53b5d7=this[_0x42db4c(0x26d)][_0x42db4c(0x403)](_0x4841e5)[_0x42db4c(0x471)](_0x7ab617[_0x42db4c(0x1dc)]),{redoCache:_0x5ef349}=_0x53b5d7['getUndoRedoMutationParamsCache']();if(_0x5ef349[_0x42db4c(0x3ec)]===0x0)return _0x26bec9;let _0x38f1e1=_0x3772e7[_0x42db4c(0x40f)]['deepClone'](_0x26bec9[_0x42db4c(0x2b1)][0x0]);for(let _0x10804b=0x0;_0x10804b<_0x5ef349[_0x42db4c(0x3ec)];_0x10804b++){const _0x46d4d7={'id':'doc.mutation.rich-text-editing','params':{..._0x5ef349[_0x10804b]}},_0x1b86e5=this['_transformService'][_0x42db4c(0x414)](_0x38f1e1,_0x46d4d7,!0x1);if(_0x116492['isTransformMutationFailure'](_0x1b86e5))throw _0x1b86e5[_0x42db4c(0x27b)];_0x38f1e1=_0x1b86e5['m1Prime'];}return{..._0x3772e7[_0x42db4c(0x40f)][_0x42db4c(0x1bf)](_0x26bec9),'mutations':[_0x38f1e1]};}[_0x513e05(0x31f)](_0x4f76c0){const _0x133ee8=_0x513e05,{unitID:_0x3f5376}=_0x4f76c0,_0x51eff9=this[_0x133ee8(0x26d)]['getRenderById'](_0x3f5376)[_0x133ee8(0x471)](_0x7ab617['DocIMEInputManagerService']),{undoCache:_0x5ee065,redoCache:_0x50a9f5}=_0x51eff9['getUndoRedoMutationParamsCache']();if(_0x5ee065[_0x133ee8(0x3ec)]===0x0||_0x50a9f5[_0x133ee8(0x3ec)]===0x0)return;const _0x3560ce=[],_0x12c045=[];let _0x3cd3f8=_0x3772e7['Tools']['deepClone'](_0x4f76c0[_0x133ee8(0x2b1)][0x0]),_0x390471=_0x3772e7[_0x133ee8(0x40f)]['deepClone'](_0x4f76c0[_0x133ee8(0x2b1)][0x0]);for(let _0x216eb0=_0x5ee065[_0x133ee8(0x3ec)]-0x1;_0x216eb0>=0x0;_0x216eb0--){const _0x439b74={'id':'doc.mutation.rich-text-editing','params':{..._0x5ee065[_0x216eb0]}},_0x5df481={'id':_0x133ee8(0x1f9),'params':{..._0x50a9f5[_0x216eb0]}},_0x31e8bc=this[_0x133ee8(0x2c7)][_0x133ee8(0x414)](_0x3cd3f8,_0x439b74,!0x1),_0x36a01a=this[_0x133ee8(0x2c7)][_0x133ee8(0x414)](_0x390471,_0x5df481,!0x1);if(_0x116492['isTransformMutationFailure'](_0x31e8bc))throw _0x31e8bc[_0x133ee8(0x27b)];if(_0x116492[_0x133ee8(0x2f1)](_0x36a01a))throw _0x36a01a['error'];_0x3560ce[_0x133ee8(0x1ff)](_0x31e8bc[_0x133ee8(0x406)]['params']),_0x12c045['unshift'](_0x36a01a['m2Prime'][_0x133ee8(0x41c)]),_0x3cd3f8=_0x31e8bc[_0x133ee8(0x251)],_0x390471=_0x36a01a['m1Prime'];}_0x51eff9['setUndoRedoMutationParamsCache']({'undoCache':_0x3560ce,'redoCache':_0x12c045});}[_0x513e05(0x29d)](_0x2242fa){const _0x4d53ef=_0x513e05,{unitID:_0x248847}=_0x2242fa,_0x1f6ee3=this[_0x4d53ef(0x26d)][_0x4d53ef(0x403)](_0x248847)['with'](_0x7ab617[_0x4d53ef(0x1dc)]),_0x2a55de=_0x1f6ee3[_0x4d53ef(0x2ad)]();if(_0x2a55de==null)return;const _0x2adf75=[{'id':_0x4d53ef(0x1f9),'params':{'unitId':_0x2242fa[_0x4d53ef(0x2bb)],'actions':null,'textRanges':[_0x2a55de]}}],_0x209e7c=this['_transformService'][_0x4d53ef(0x2cf)](_0x2242fa,_0x2adf75);if(!_0x116492[_0x4d53ef(0x361)](_0x209e7c))throw _0x209e7c[_0x4d53ef(0x27b)];const _0xdb0ee9=_0x209e7c[_0x4d53ef(0x406)][0x0][_0x4d53ef(0x41c)]['textRanges'];Array[_0x4d53ef(0x38f)](_0xdb0ee9)&&_0xdb0ee9[_0x4d53ef(0x3ec)]&&_0x1f6ee3['setActiveRange'](_0xdb0ee9[0x0]);}};_0x32f42e=_0x33eddd([_0x23af59(0x0,_0x116492[_0x513e05(0x474)]),_0x23af59(0x1,_0x29b571[_0x513e05(0x494)])],_0x32f42e);var _0x3b59f6=Object[_0x513e05(0x33c)],_0x12dab7=(_0x313a01,_0x5ef9c0,_0x3c7bb4,_0x5bf269)=>{const _0x108720=_0x513e05;for(var _0x3fdc0c=_0x5bf269>0x1?void 0x0:_0x5bf269?_0x3b59f6(_0x5ef9c0,_0x3c7bb4):_0x5ef9c0,_0x1d6429=_0x313a01[_0x108720(0x3ec)]-0x1,_0x469c82;_0x1d6429>=0x0;_0x1d6429--)(_0x469c82=_0x313a01[_0x1d6429])&&(_0x3fdc0c=_0x469c82(_0x3fdc0c)||_0x3fdc0c);return _0x3fdc0c;},_0xd8c785=(_0x45d74c,_0x1207dd)=>(_0x59535c,_0x517d09)=>_0x1207dd(_0x59535c,_0x517d09,_0x45d74c);let _0x52ca15=class{constructor(_0x4e4225,_0x44835c,_0xf60d91){const _0x1c0d15=_0x513e05;this['_injector']=_0x4e4225,this[_0x1c0d15(0x2c7)]=_0x44835c,this[_0x1c0d15(0x42e)]=_0xf60d91;}[_0x513e05(0x205)](_0x26596f){const _0x4dd691=_0x513e05;this[_0x4dd691(0x48f)](_0x26596f);}[_0x513e05(0x2d7)](_0x2ef70a){const _0x3cd1ca=_0x513e05,{unitID:_0x2f9de0}=_0x2ef70a,{collaboration:_0x2162fb}=this[_0x3cd1ca(0x42e)][_0x3cd1ca(0x48a)](_0x2f9de0);if(_0x2162fb[_0x3cd1ca(0x3ec)]===0x0)return _0x2ef70a;let _0x48d3a5=_0x3772e7[_0x3cd1ca(0x40f)][_0x3cd1ca(0x1bf)](_0x2ef70a[_0x3cd1ca(0x2b1)][0x0]);for(let _0x508086=0x0;_0x508086<_0x2162fb[_0x3cd1ca(0x3ec)];_0x508086++){const _0x4b8f86={'id':_0x3cd1ca(0x1f9),'params':{'unitId':_0x2162fb[_0x508086][_0x3cd1ca(0x2fa)],..._0x2162fb[_0x508086][_0x3cd1ca(0x1e8)]}},_0x474ded=this[_0x3cd1ca(0x2c7)]['transformMutation'](_0x48d3a5,_0x4b8f86,!0x1);if(_0x116492['isTransformMutationFailure'](_0x474ded))throw _0x474ded[_0x3cd1ca(0x27b)];_0x48d3a5=_0x474ded[_0x3cd1ca(0x251)];}return{..._0x3772e7[_0x3cd1ca(0x40f)][_0x3cd1ca(0x1bf)](_0x2ef70a),'mutations':[_0x48d3a5]};}[_0x513e05(0x48f)](_0x328bae){const _0x1bd963=_0x513e05,{unitID:_0x160443}=_0x328bae,{history:_0x5732ea,collaboration:_0x2f6339}=this[_0x1bd963(0x42e)][_0x1bd963(0x48a)](_0x160443);if(_0x5732ea[_0x1bd963(0x3ec)]===0x0&&_0x2f6339[_0x1bd963(0x3ec)]===0x0)return;const _0xbb91a7=[],_0x5f37f0=[];let _0x239a6c=_0x3772e7[_0x1bd963(0x40f)]['deepClone'](_0x328bae['mutations'][0x0]),_0x4937ff=_0x3772e7[_0x1bd963(0x40f)][_0x1bd963(0x1bf)](_0x328bae[_0x1bd963(0x2b1)][0x0]);for(let _0x5a5c57=_0x5732ea['length']-0x1;_0x5a5c57>=0x0;_0x5a5c57--){const _0x248973={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x5732ea[_0x5a5c57][_0x1bd963(0x2fa)],..._0x5732ea[_0x5a5c57][_0x1bd963(0x348)]}},_0x2705ae={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x5732ea[_0x5a5c57][_0x1bd963(0x2fa)],..._0x5732ea[_0x5a5c57][_0x1bd963(0x1e8)]}},_0x1b6650=this['_transformService']['transformMutation'](_0x239a6c,_0x248973,!0x1),_0x2cf554=this[_0x1bd963(0x2c7)]['transformMutation'](_0x4937ff,_0x2705ae,!0x1);if(_0x116492[_0x1bd963(0x2f1)](_0x1b6650))throw _0x1b6650[_0x1bd963(0x27b)];if(_0x116492[_0x1bd963(0x2f1)](_0x2cf554))throw _0x2cf554[_0x1bd963(0x27b)];_0xbb91a7['unshift']({..._0x5732ea[_0x5a5c57],'undoState':_0x1b6650[_0x1bd963(0x406)][_0x1bd963(0x41c)],'redoState':_0x2cf554[_0x1bd963(0x406)][_0x1bd963(0x41c)]}),_0x239a6c=_0x1b6650[_0x1bd963(0x251)],_0x4937ff=_0x2cf554[_0x1bd963(0x251)];}_0x239a6c=_0x3772e7[_0x1bd963(0x40f)][_0x1bd963(0x1bf)](_0x328bae['mutations'][0x0]),_0x4937ff=_0x3772e7['Tools'][_0x1bd963(0x1bf)](_0x328bae[_0x1bd963(0x2b1)][0x0]);for(let _0x30bc1a=_0x2f6339[_0x1bd963(0x3ec)]-0x1;_0x30bc1a>=0x0;_0x30bc1a--){const _0x5f292e={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x2f6339[_0x30bc1a][_0x1bd963(0x2fa)],..._0x2f6339[_0x30bc1a]['undoState']}},_0x4c1e8f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f6339[_0x30bc1a]['unitId'],..._0x2f6339[_0x30bc1a][_0x1bd963(0x1e8)]}},_0x45beb4=this[_0x1bd963(0x2c7)][_0x1bd963(0x414)](_0x239a6c,_0x5f292e,!0x1),_0x141402=this[_0x1bd963(0x2c7)][_0x1bd963(0x414)](_0x4937ff,_0x4c1e8f,!0x1);if(_0x116492[_0x1bd963(0x2f1)](_0x45beb4))throw _0x45beb4['error'];if(_0x116492[_0x1bd963(0x2f1)](_0x141402))throw _0x141402['error'];_0x5f37f0['unshift']({..._0x2f6339[_0x30bc1a],'undoState':_0x45beb4['m2Prime']['params'],'redoState':_0x141402[_0x1bd963(0x406)]['params']}),_0x239a6c=_0x45beb4[_0x1bd963(0x251)],_0x4937ff=_0x141402[_0x1bd963(0x251)];}this[_0x1bd963(0x42e)][_0x1bd963(0x45a)](_0x160443,{'history':_0xbb91a7,'collaboration':_0x5f37f0});}};_0x52ca15=_0x12dab7([_0xd8c785(0x0,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0xd8c785(0x1,_0x116492[_0x513e05(0x474)]),_0xd8c785(0x2,_0x3772e7['Inject'](_0x7ab617[_0x513e05(0x377)]))],_0x52ca15);var _0x1d2f37=Object[_0x513e05(0x33c)],_0x41b06b=(_0x3b3d9c,_0x59b8ec,_0xc8973b,_0x13f08e)=>{for(var _0x41f22f=_0x13f08e>0x1?void 0x0:_0x13f08e?_0x1d2f37(_0x59b8ec,_0xc8973b):_0x59b8ec,_0x4d993d=_0x3b3d9c['length']-0x1,_0x4cda86;_0x4d993d>=0x0;_0x4d993d--)(_0x4cda86=_0x3b3d9c[_0x4d993d])&&(_0x41f22f=_0x4cda86(_0x41f22f)||_0x41f22f);return _0x41f22f;},_0x91bd8d=(_0x55f2d8,_0x33b374)=>(_0x31a658,_0x155689)=>_0x33b374(_0x31a658,_0x155689,_0x55f2d8);let _0x348751=class{constructor(_0xb5396,_0x209445){const _0x2313e1=_0x513e05;this[_0x2313e1(0x499)]=_0xb5396,this[_0x2313e1(0x2c7)]=_0x209445;}['transformSelections'](_0x4afaeb){const _0x19872f=_0x513e05;var _0x18b48a;const _0x441051=this[_0x19872f(0x499)]['get'](_0x37acc3[_0x19872f(0x381)]),_0x50b347=(_0x18b48a=_0x441051['getDocRanges']())!=null?_0x18b48a:[];if(_0x50b347['length']===0x0)return;const _0xb419a7=_0x4afaeb[_0x19872f(0x2bb)],_0x2b80c6=[{'id':_0x19872f(0x1f9),'params':{'unitId':_0xb419a7,'actions':null,'textRanges':_0x50b347}}],_0x4f6127=this['_transformService'][_0x19872f(0x2cf)](_0x4afaeb,_0x2b80c6);if(!_0x116492['isTransformMutationsWithChangesetSuccess'](_0x4f6127))throw _0x4f6127[_0x19872f(0x27b)];const _0x1f1e71=_0x4f6127['m2Prime'][0x0][_0x19872f(0x41c)][_0x19872f(0x235)];Array[_0x19872f(0x38f)](_0x1f1e71)&&_0x1f1e71[_0x19872f(0x3ec)]&&_0x441051[_0x19872f(0x3ae)](_0x1f1e71,{'unitId':_0xb419a7,'subUnitId':_0xb419a7},!0x1);}};_0x348751=_0x41b06b([_0x91bd8d(0x0,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x91bd8d(0x1,_0x116492[_0x513e05(0x474)])],_0x348751);var _0x2cf5f3=Object[_0x513e05(0x33c)],_0x202b36=(_0x1b8a13,_0xc88c3f,_0x423485,_0xd4323d)=>{const _0x57551d=_0x513e05;for(var _0x5b47a8=_0xd4323d>0x1?void 0x0:_0xd4323d?_0x2cf5f3(_0xc88c3f,_0x423485):_0xc88c3f,_0x33157a=_0x1b8a13[_0x57551d(0x3ec)]-0x1,_0x4cc91f;_0x33157a>=0x0;_0x33157a--)(_0x4cc91f=_0x1b8a13[_0x33157a])&&(_0x5b47a8=_0x4cc91f(_0x5b47a8)||_0x5b47a8);return _0x5b47a8;},_0x2d0061=(_0x19bf0a,_0x457f1a)=>(_0x5a6727,_0xf2e10c)=>_0x457f1a(_0x5a6727,_0xf2e10c,_0x19bf0a);let _0x27ca3d=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x56d518,_0x1260d4,_0x2513a6,_0x37e09c,_0x46ef61,_0x1e1f54,_0x43dc7d,_0x5465fa){const _0x498ab7=_0x513e05;super(),_0xfd5d9c(this,'_status$',new _0x104804[(_0x498ab7(0x493))](_0x19f8d7[_0x498ab7(0x2c1)][_0x498ab7(0x1d1)])),(this['_docStateChangeManagerService']=_0x56d518,this[_0x498ab7(0x47c)]=_0x1260d4,this[_0x498ab7(0x3ad)]=_0x2513a6,this['_docTransformStateCacheService']=_0x37e09c,this['_docTransformSelectionsService']=_0x46ef61,this[_0x498ab7(0x2ec)]=_0x1e1f54,this[_0x498ab7(0x1f1)]=_0x43dc7d,this[_0x498ab7(0x45e)]=_0x5465fa,this[_0x498ab7(0x21b)]());}['_initEntityListener'](){const _0x4826c1=_0x513e05;this[_0x4826c1(0x317)](this[_0x4826c1(0x47c)][_0x4826c1(0x3d3)][_0x4826c1(0x3ee)](_0x2f5c1e=>{const _0xf64037=_0x4826c1,_0xccc75c=this['_docStateChangeManagerService'][_0xf64037(0x418)]['subscribe'](_0x3de056=>{const _0x12c4d0=_0xf64037;if(_0x3de056==null)return;const {unitId:_0x3463e8,redoState:_0x4539ba,commandId:_0x115a23}=_0x3de056;if(_0x3463e8!==_0x2f5c1e[_0x12c4d0(0x2bb)])return;const _0xf74158={'id':_0x115a23,'type':_0x3772e7['CommandType']['MUTATION'],'params':{'unitId':_0x3463e8,'actions':_0x4539ba[_0x12c4d0(0x395)],'textRanges':null}};_0x2f5c1e[_0x12c4d0(0x3b5)](_0xf74158);});if(_0x2f5c1e[_0xf64037(0x317)](_0xccc75c),_0x2f5c1e instanceof _0x19f8d7[_0xf64037(0x478)]){const _0x3ac909={'onTransformIME':_0x1285f6=>this[_0xf64037(0x3ad)][_0xf64037(0x335)](_0x1285f6),'onTransformState':_0x1832bb=>this[_0xf64037(0x2e4)][_0xf64037(0x205)](_0x1832bb),'onTransformSelections':_0x564257=>this['_docTransformSelectionsService'][_0xf64037(0x44e)](_0x564257),'onSyncEditingCollabCursor':_0x15f7cc=>this[_0xf64037(0x2ec)]['syncEditingCollabCursor'](_0x15f7cc),'onTransformRemoteChangesetByIMECache':_0x1ec292=>this[_0xf64037(0x3ad)]['transformRemoteChangeset'](_0x1ec292),'onTransformRemoteChangesetByStateCache':_0x4d16df=>this[_0xf64037(0x2e4)][_0xf64037(0x2d7)](_0x4d16df)};_0x2f5c1e[_0xf64037(0x301)](_0x3ac909);}}));}};_0x27ca3d=_0x202b36([_0x2d0061(0x0,_0x3772e7[_0x513e05(0x30b)](_0x7ab617[_0x513e05(0x377)])),_0x2d0061(0x1,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x3c1)])),_0x2d0061(0x2,_0x3772e7[_0x513e05(0x30b)](_0x32f42e)),_0x2d0061(0x3,_0x3772e7['Inject'](_0x52ca15)),_0x2d0061(0x4,_0x3772e7[_0x513e05(0x30b)](_0x348751)),_0x2d0061(0x5,_0x3772e7['Inject'](_0x39a103)),_0x2d0061(0x6,_0x2e0e04[_0x513e05(0x320)]),_0x2d0061(0x7,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x27ca3d);var _0x47161c=(_0x3f19da=>(_0x3f19da[_0x3f19da[_0x513e05(0x3e3)]=0x0]=_0x513e05(0x3e3),_0x3f19da[_0x3f19da['OK']=0x1]='OK',_0x3f19da[_0x3f19da['INTERNAL_ERROR']=0x2]=_0x513e05(0x28a),_0x3f19da[_0x3f19da[_0x513e05(0x230)]=0x3]='PERMISSION_DENIED',_0x3f19da[_0x3f19da[_0x513e05(0x443)]=0x4]=_0x513e05(0x443),_0x3f19da[_0x3f19da['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3f19da[_0x3f19da[_0x513e05(0x287)]=0x6]=_0x513e05(0x287),_0x3f19da[_0x3f19da[_0x513e05(0x3ed)]=0x7]='INVALID_ARGUMENT',_0x3f19da[_0x3f19da[_0x513e05(0x326)]=0x8]=_0x513e05(0x326),_0x3f19da[_0x3f19da['COMPLETION_FINISHED']=0x9]=_0x513e05(0x252),_0x3f19da[_0x3f19da[_0x513e05(0x3a2)]=0xa]=_0x513e05(0x3a2),_0x3f19da[_0x3f19da['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x513e05(0x452),_0x3f19da[_0x3f19da[_0x513e05(0x374)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3f19da[_0x3f19da[_0x513e05(0x36e)]=0xd]=_0x513e05(0x36e),_0x3f19da[_0x3f19da[_0x513e05(0x267)]=0xe]=_0x513e05(0x267),_0x3f19da[_0x3f19da[_0x513e05(0x47e)]=0xf]=_0x513e05(0x47e),_0x3f19da[_0x3f19da[_0x513e05(0x364)]=0x10]=_0x513e05(0x364),_0x3f19da[_0x3f19da[_0x513e05(0x41e)]=0x64]=_0x513e05(0x41e),_0x3f19da[_0x3f19da[_0x513e05(0x342)]=0x65]=_0x513e05(0x342),_0x3f19da[_0x3f19da[_0x513e05(0x486)]=0xc9]=_0x513e05(0x486),_0x3f19da[_0x3f19da[_0x513e05(0x242)]=0xca]=_0x513e05(0x242),_0x3f19da[_0x3f19da['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3f19da[_0x3f19da['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x513e05(0x449),_0x3f19da[_0x3f19da[_0x513e05(0x256)]=0x1772]=_0x513e05(0x256),_0x3f19da[_0x3f19da[_0x513e05(0x272)]=0x1773]=_0x513e05(0x272),_0x3f19da[_0x3f19da[_0x513e05(0x2df)]=0x1b59]=_0x513e05(0x2df),_0x3f19da[_0x3f19da[_0x513e05(0x279)]=0x1b5a]=_0x513e05(0x279),_0x3f19da[_0x3f19da[_0x513e05(0x376)]=0x1b5b]=_0x513e05(0x376),_0x3f19da[_0x3f19da[_0x513e05(0x21a)]=0x1b5c]=_0x513e05(0x21a),_0x3f19da[_0x3f19da[_0x513e05(0x485)]=0x1b5d]=_0x513e05(0x485),_0x3f19da[_0x3f19da[_0x513e05(0x27d)]=0x1f41]=_0x513e05(0x27d),_0x3f19da[_0x3f19da[_0x513e05(0x3ca)]=0x2329]=_0x513e05(0x3ca),_0x3f19da[_0x3f19da[_0x513e05(0x1ca)]=0x232a]=_0x513e05(0x1ca),_0x3f19da[_0x3f19da[_0x513e05(0x228)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3f19da[_0x3f19da['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3f19da[_0x3f19da['LICENSE_DISTRO_REJECTED']=0x232d]=_0x513e05(0x45c),_0x3f19da[_0x3f19da[_0x513e05(0x3fe)]=0x2711]=_0x513e05(0x3fe),_0x3f19da[_0x3f19da['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x513e05(0x303),_0x3f19da[_0x3f19da[_0x513e05(0x464)]=0x2713]=_0x513e05(0x464),_0x3f19da[_0x3f19da['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x513e05(0x39e),_0x3f19da[_0x3f19da[_0x513e05(0x369)]=0x271a]=_0x513e05(0x369),_0x3f19da[_0x3f19da['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x513e05(0x20a),_0x3f19da[_0x3f19da[_0x513e05(0x1cb)]=0x271c]=_0x513e05(0x1cb),_0x3f19da[_0x3f19da['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x513e05(0x38c),_0x3f19da[_0x3f19da[_0x513e05(0x1e0)]=0x271e]=_0x513e05(0x1e0),_0x3f19da[_0x3f19da['YUUMI_AI_RUN_FAILED']=0x271f]=_0x513e05(0x3dd),_0x3f19da[_0x3f19da['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x513e05(0x1ea),_0x3f19da[_0x3f19da[_0x513e05(0x2a5)]=0x2af9]=_0x513e05(0x2a5),_0x3f19da[_0x3f19da[_0x513e05(0x37b)]=0x2ee1]=_0x513e05(0x37b),_0x3f19da[_0x3f19da[_0x513e05(0x30e)]=0x2ee2]=_0x513e05(0x30e),_0x3f19da[_0x3f19da[_0x513e05(0x245)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3f19da[_0x3f19da[_0x513e05(0x268)]=0x2ee4]=_0x513e05(0x268),_0x3f19da[_0x3f19da[_0x513e05(0x46c)]=0x2ee5]=_0x513e05(0x46c),_0x3f19da[_0x3f19da['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x513e05(0x435),_0x3f19da[_0x3f19da[_0x513e05(0x434)]=0x32ca]=_0x513e05(0x434),_0x3f19da[_0x3f19da['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x513e05(0x475),_0x3f19da[_0x3f19da[_0x513e05(0x25e)]=0x36b1]=_0x513e05(0x25e),_0x3f19da[_0x3f19da[_0x513e05(0x402)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x3f19da[_0x3f19da[_0x513e05(0x3aa)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x3f19da[_0x3f19da[_0x513e05(0x204)]=0x36b4]=_0x513e05(0x204),_0x3f19da[_0x3f19da[_0x513e05(0x409)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x3f19da[_0x3f19da[_0x513e05(0x1d7)]=0x3716]=_0x513e05(0x1d7),_0x3f19da[_0x3f19da['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x513e05(0x312),_0x3f19da[_0x3f19da[_0x513e05(0x3ac)]=0x37dd]=_0x513e05(0x3ac),_0x3f19da[_0x3f19da[_0x513e05(0x467)]=0x3a99]=_0x513e05(0x467),_0x3f19da[_0x3f19da['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x513e05(0x2c9),_0x3f19da[_0x3f19da[_0x513e05(0x448)]=0x3a9b]=_0x513e05(0x448),_0x3f19da[_0x3f19da[_0x513e05(0x3c8)]=0x3a9c]=_0x513e05(0x3c8),_0x3f19da[_0x3f19da[_0x513e05(0x244)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x3f19da[_0x3f19da['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x513e05(0x36a),_0x3f19da[_0x3f19da[_0x513e05(0x281)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x3f19da[_0x3f19da['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x513e05(0x426),_0x3f19da[_0x3f19da['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3f19da))(_0x47161c||{});function _0x45cbe8(_0x4dd6a2){const _0x1b7136=_0x513e05;var _0x163ca1,_0x5b2343;const _0xecfb2=(_0x163ca1=_0x4dd6a2[_0x1b7136(0x2a3)])==null?void 0x0:_0x163ca1['stage'],_0xbf135=((_0x5b2343=_0x4dd6a2['stageInfo'])==null?void 0x0:_0x5b2343[_0x1b7136(0x3ab)])||0x0;return _0xecfb2===_0x4915ec[_0x1b7136(0x2c3)][_0x1b7136(0x3b3)]&&_0xbf135>0x0;}function _0x3ae9d2(_0x1f87ea){const _0x424112=_0x513e05;return _0x1f87ea[_0x424112(0x209)]===_0x4915ec[_0x424112(0x2c6)]['SUCCESS'];}var _0x5c1bed=Object[_0x513e05(0x33c)],_0x547cfe=(_0x25d0f8,_0x1fc232,_0x105f9c,_0x113e59)=>{const _0x279a20=_0x513e05;for(var _0x469526=_0x113e59>0x1?void 0x0:_0x113e59?_0x5c1bed(_0x1fc232,_0x105f9c):_0x1fc232,_0x3ce19c=_0x25d0f8[_0x279a20(0x3ec)]-0x1,_0x1305f5;_0x3ce19c>=0x0;_0x3ce19c--)(_0x1305f5=_0x25d0f8[_0x3ce19c])&&(_0x469526=_0x1305f5(_0x469526)||_0x469526);return _0x469526;},_0x165919=(_0x3c3500,_0x228ee5)=>(_0x167188,_0x53390b)=>_0x228ee5(_0x167188,_0x53390b,_0x3c3500);const _0x43e127=_0x513e05(0x330),_0x72413=_0x513e05(0x3eb),_0x322cce=_0x513e05(0x2ab);let _0x498739=class extends _0x3772e7['Disposable']{constructor(_0x41929e,_0x1a0177,_0x25f9b0,_0x4299e4,_0x545d01,_0x2c9f30,_0xd8d871){const _0x5b4f69=_0x513e05;super(),_0xfd5d9c(this,_0x5b4f69(0x3be),null),_0xfd5d9c(this,'_maxFormulaLimit',0x0),_0xfd5d9c(this,_0x5b4f69(0x32c),0x0),_0xfd5d9c(this,_0x5b4f69(0x378),[]),_0xfd5d9c(this,'_lastResponseTimestamp',0x0),(this[_0x5b4f69(0x1f1)]=_0x41929e,this[_0x5b4f69(0x2fb)]=_0x1a0177,this[_0x5b4f69(0x441)]=_0x25f9b0,this[_0x5b4f69(0x2cc)]=_0x4299e4,this[_0x5b4f69(0x2b8)]=_0x545d01,this[_0x5b4f69(0x263)]=_0x2c9f30,this['_localeService']=_0xd8d871,this['_initCommandInterceptor']());}[_0x513e05(0x239)](){const _0x47a081=_0x513e05;this[_0x47a081(0x317)](this[_0x47a081(0x2fb)]['beforeCommandExecuted']((_0x3476bf,_0x46eb5c)=>{const _0x2aeaed=_0x47a081;var _0x31c888;if(_0x3476bf['id']!==_0x4915ec[_0x2aeaed(0x1df)]['id'])return;const _0x5c124b=_0x3476bf[_0x2aeaed(0x41c)];if(!this[_0x2aeaed(0x2f0)]((_0x31c888=_0x5c124b[_0x2aeaed(0x22c)])!=null?_0x31c888:[]))return;if(!this[_0x2aeaed(0x33d)]())throw this[_0x2aeaed(0x31d)](_0x3476bf,_0x46eb5c),this[_0x2aeaed(0x324)](),new _0x3772e7['CanceledError']();})),this[_0x47a081(0x317)](this['_commandService'][_0x47a081(0x27e)]((_0x2c2389,_0x472874)=>{const _0x120dad=_0x47a081;if(_0x2c2389['id']!==_0x4915ec['SetFormulaCalculationNotificationMutation']['id'])return;const _0x211926=_0x2c2389[_0x120dad(0x41c)];if(_0x45cbe8(_0x211926)){const _0xbc2639=_0x3772e7[_0x120dad(0x2ae)]();this[_0x120dad(0x378)]['push'](_0xbc2639),this[_0x120dad(0x2cd)](_0xbc2639);}else{if(_0x3ae9d2(_0x211926)&&this[_0x120dad(0x378)][_0x120dad(0x3ec)]>0x0){const _0x22daf7=this[_0x120dad(0x378)][_0x120dad(0x266)]();this[_0x120dad(0x21c)](_0x22daf7);}}}));}[_0x513e05(0x472)](){const _0x3492cf=_0x513e05;super[_0x3492cf(0x472)](),this[_0x3492cf(0x1ba)](),this[_0x3492cf(0x378)]=[],this[_0x3492cf(0x32c)]=0x0,this[_0x3492cf(0x2ff)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x513e05(0x31d)](_0x14d11b,_0x20494f){const _0x242538=_0x513e05;for(let _0x5b7684=0x0;_0x5b7684<0x1e;_0x5b7684++)try{if(await this[_0x242538(0x447)](),this['_checkCalculationAvailable']()){this[_0x242538(0x2a9)](_0x14d11b,_0x20494f),this[_0x242538(0x1f1)]['show']({'content':this[_0x242538(0x45e)]['t'](_0x242538(0x274)),'type':_0x4d7604[_0x242538(0x46a)][_0x242538(0x347)]});return;}await new Promise(_0x4a7905=>{const _0x59b818=_0x242538;this['_pollingInterval']=window[_0x59b818(0x42b)](_0x4a7905,0x3e8);});}catch(_0x3274ab){this['_logService']['error'](_0x3274ab);}this['_messageService'][_0x242538(0x345)]({'content':this[_0x242538(0x45e)]['t'](_0x242538(0x498)),'type':_0x4d7604[_0x242538(0x46a)][_0x242538(0x341)]});}[_0x513e05(0x2a9)](_0x39cbd5,_0x3bc3fe){const _0x23d2fa=_0x513e05;try{this[_0x23d2fa(0x2fb)][_0x23d2fa(0x38e)](_0x39cbd5['id'],_0x39cbd5[_0x23d2fa(0x41c)],_0x3bc3fe);}catch(_0x58561b){this['_logService'][_0x23d2fa(0x27b)](_0x58561b);}}[_0x513e05(0x2fe)](_0xbef603,_0x54a53a){const _0x32339b=_0x513e05;_0x54a53a<this[_0x32339b(0x238)]||(this[_0x32339b(0x238)]=_0x54a53a,this['_maxFormulaLimit']=Number[_0x32339b(0x419)](_0xbef603[_0x32339b(0x470)]),this['_currentUsage']=Number[_0x32339b(0x419)](_0xbef603['currentUsage']));}async[_0x513e05(0x2cd)](_0x388b54){const _0x2e6739=_0x513e05;var _0x4a16df,_0x4cf367;const _0x41f397=Date[_0x2e6739(0x2bc)]();try{const _0x577b36=((_0x4a16df=this[_0x2e6739(0x441)][_0x2e6739(0x2fc)](_0x19f8d7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4a16df['startFormulaLimitUrl'])||_0x72413,_0x16aabf=(await this['_httpService'][_0x2e6739(0x1db)](_0x577b36,{'body':JSON[_0x2e6739(0x1c4)]({'taskId':_0x388b54})}))['body'];if(((_0x4cf367=_0x16aabf[_0x2e6739(0x27b)])==null?void 0x0:_0x4cf367[_0x2e6739(0x420)])!==_0x47161c['OK'])return;this['_setFormulaLimitStatus'](_0x16aabf[_0x2e6739(0x340)],_0x41f397);}catch(_0x1a15a7){this[_0x2e6739(0x263)][_0x2e6739(0x27b)](_0x1a15a7);}}async['_getFormulaLimitStatus'](_0x560cab){const _0x3710f6=_0x513e05;var _0x4ace94,_0x4dda40;const _0x34cc12=Date['now']();try{const _0x5adcaa=((_0x4ace94=this[_0x3710f6(0x441)][_0x3710f6(0x2fc)](_0x19f8d7[_0x3710f6(0x2fd)]))==null?void 0x0:_0x4ace94[_0x3710f6(0x3bd)])||_0x43e127,_0x594435=_0x560cab?_0x5adcaa+_0x3710f6(0x257)+encodeURIComponent(_0x560cab):_0x5adcaa,_0x5b4f21=(await this['_httpService'][_0x3710f6(0x309)](_0x594435))[_0x3710f6(0x3c7)];if(((_0x4dda40=_0x5b4f21['error'])==null?void 0x0:_0x4dda40[_0x3710f6(0x420)])!==_0x47161c['OK'])return;this[_0x3710f6(0x2fe)](_0x5b4f21[_0x3710f6(0x340)],_0x34cc12);}catch(_0x14b066){this[_0x3710f6(0x263)][_0x3710f6(0x27b)](_0x14b066);}}async[_0x513e05(0x21c)](_0x12ab92){const _0xd9d9e2=_0x513e05;var _0x1c8da2,_0x1835ba;const _0x4fc9ea=Date[_0xd9d9e2(0x2bc)]();try{const _0x45dcef=((_0x1c8da2=this[_0xd9d9e2(0x441)][_0xd9d9e2(0x2fc)](_0x19f8d7[_0xd9d9e2(0x2fd)]))==null?void 0x0:_0x1c8da2[_0xd9d9e2(0x46e)])||_0x322cce,_0x4a0829=(await this[_0xd9d9e2(0x2cc)][_0xd9d9e2(0x1db)](_0x45dcef,{'body':JSON['stringify']({'taskId':_0x12ab92})}))[_0xd9d9e2(0x3c7)];if(((_0x1835ba=_0x4a0829[_0xd9d9e2(0x27b)])==null?void 0x0:_0x1835ba[_0xd9d9e2(0x420)])!==_0x47161c['OK'])return;this['_setFormulaLimitStatus'](_0x4a0829['limitInfo'],_0x4fc9ea);}catch(_0x2ad3cd){this['_logService'][_0xd9d9e2(0x27b)](_0x2ad3cd);}}[_0x513e05(0x33d)](){const _0x5c6ba6=_0x513e05;return this[_0x5c6ba6(0x2ff)]===0x0?!0x0:this[_0x5c6ba6(0x2ff)]-this[_0x5c6ba6(0x32c)]>0x0;}[_0x513e05(0x1ba)](){const _0x42430b=_0x513e05;this['_pollingInterval']&&(clearTimeout(this[_0x42430b(0x3be)]),this[_0x42430b(0x3be)]=null);}['_showGuardMessage'](){const _0xa0a995=_0x513e05;this[_0xa0a995(0x1f1)][_0xa0a995(0x345)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x4d7604[_0xa0a995(0x46a)]['Loading']});}['_hasFormulaInDirtyRanges'](_0x1e434a){const _0x393c8a=_0x513e05;for(const _0x2b40e of _0x1e434a){const {unitId:_0x562feb,sheetId:_0x5cf05e,range:_0x4d8e53}=_0x2b40e,_0x2432b9=this[_0x393c8a(0x2b8)][_0x393c8a(0x36b)](_0x562feb);if(!_0x2432b9)continue;const _0x155dc7=_0x2432b9[_0x393c8a(0x271)](_0x5cf05e);if(!_0x155dc7)continue;const _0xd6d498=_0x155dc7[_0x393c8a(0x246)]();for(let _0x59bf94=_0x4d8e53['startRow'];_0x59bf94<=_0x4d8e53['endRow'];_0x59bf94++)for(let _0x5cb158=_0x4d8e53[_0x393c8a(0x2d6)];_0x5cb158<=_0x4d8e53[_0x393c8a(0x43e)];_0x5cb158++){const _0x59f917=_0xd6d498[_0x393c8a(0x243)](_0x59bf94,_0x5cb158);if(_0x59f917&&(_0x3772e7[_0x393c8a(0x3fa)](_0x59f917['f'])||_0x3772e7['isFormulaId'](_0x59f917['si'])))return!0x0;}}return!0x1;}};_0x498739=_0x547cfe([_0x165919(0x0,_0x3772e7[_0x513e05(0x30b)](_0x2e0e04[_0x513e05(0x320)])),_0x165919(0x1,_0x3772e7[_0x513e05(0x37d)]),_0x165919(0x2,_0x3772e7[_0x513e05(0x3da)]),_0x165919(0x3,_0x3772e7['Inject'](_0xe6cf6e[_0x513e05(0x1cc)])),_0x165919(0x4,_0x3772e7['IUniverInstanceService']),_0x165919(0x5,_0x3772e7['ILogService']),_0x165919(0x6,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x498739);var _0x50d826=Object[_0x513e05(0x33c)],_0x2462a1=(_0x5928ae,_0x398a58,_0x49e847,_0xe2e77d)=>{const _0x4ee6cb=_0x513e05;for(var _0x3cdabd=_0xe2e77d>0x1?void 0x0:_0xe2e77d?_0x50d826(_0x398a58,_0x49e847):_0x398a58,_0x1b42da=_0x5928ae[_0x4ee6cb(0x3ec)]-0x1,_0x220dcb;_0x1b42da>=0x0;_0x1b42da--)(_0x220dcb=_0x5928ae[_0x1b42da])&&(_0x3cdabd=_0x220dcb(_0x3cdabd)||_0x3cdabd);return _0x3cdabd;},_0x214577=(_0x5bd627,_0x6fe9fb)=>(_0x6b2b71,_0xc6b0c8)=>_0x6fe9fb(_0x6b2b71,_0xc6b0c8,_0x5bd627);let _0x1853ac=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x5b1534,_0xb9c86f,_0xd68d99){const _0x2f04eb=_0x513e05;super(),_0xfd5d9c(this,_0x2f04eb(0x2f7),new Map()),_0xfd5d9c(this,_0x2f04eb(0x421),new Map()),_0xfd5d9c(this,_0x2f04eb(0x260),!0x1),(this[_0x2f04eb(0x441)]=_0x5b1534,this['_localStorageService']=_0xb9c86f,this[_0x2f04eb(0x217)]=_0xd68d99);}[_0x513e05(0x355)](){const _0x4365b3=_0x513e05;this[_0x4365b3(0x260)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x513e05(0x1ed)](){return this['_saveTaskMap'];}[_0x513e05(0x472)](){const _0x1b136f=_0x513e05;this[_0x1b136f(0x37f)]()[_0x1b136f(0x37c)](()=>super[_0x1b136f(0x472)]());}async[_0x513e05(0x422)](_0x28ab1d){const _0x260bcc=_0x513e05;return this[_0x260bcc(0x260)]?null:this['_localStorageService'][_0x260bcc(0x43f)](_0x19f8d7[_0x260bcc(0x461)](_0x28ab1d));}async[_0x513e05(0x35f)](_0x54726e,_0x27f00e){const _0x57bfb0=_0x513e05;return!!this['_localStorageService'][_0x57bfb0(0x1e1)](_0x54726e,_0x27f00e);}['updateOfflineData'](_0x5e0a96,_0x280cf8,_0x14aa0d,_0x3ccdc0){const _0x2b3729=_0x513e05,_0x268851=this[_0x2b3729(0x217)][_0x2b3729(0x3f5)](_0x5e0a96);this[_0x2b3729(0x2f7)][_0x2b3729(0x40c)](_0x5e0a96,{'unitID':_0x5e0a96,'type':_0x280cf8,'awaitingChangeset':_0x14aa0d,'mutations':_0x3ccdc0,'rev':_0x268851}),this['_saveTaskMap'][_0x2b3729(0x28b)](_0x5e0a96)||this['_scheduleSaving'](_0x5e0a96);}['_scheduleSaving'](_0x1f684d){const _0x769e8e=_0x513e05,_0x568b29=this[_0x769e8e(0x2e3)]();_0x568b29===0x0?this[_0x769e8e(0x2ac)](_0x1f684d):this['_saveTaskMap'][_0x769e8e(0x40c)](_0x1f684d,setTimeout(()=>this[_0x769e8e(0x2ac)](_0x1f684d),_0x568b29));}['_getSaveTimeout'](){const _0x3cfb83=_0x513e05;var _0x2731e7;return(_0x2731e7=this[_0x3cfb83(0x441)][_0x3cfb83(0x2fc)](_0x19f8d7[_0x3cfb83(0x3c4)]))!=null?_0x2731e7:_0x19f8d7[_0x3cfb83(0x34b)];}['_saveCache'](_0x589a51){const _0x4ee6e5=_0x513e05,_0x592cfd=this['_saveTaskMap'][_0x4ee6e5(0x309)](_0x589a51);return _0x592cfd!==void 0x0&&window[_0x4ee6e5(0x39c)](_0x592cfd),this[_0x4ee6e5(0x483)][_0x4ee6e5(0x1e1)](_0x19f8d7[_0x4ee6e5(0x461)](_0x589a51),this['_cachedData']['get'](_0x589a51))[_0x4ee6e5(0x37c)](()=>this[_0x4ee6e5(0x421)][_0x4ee6e5(0x365)](_0x589a51));}async[_0x513e05(0x37f)](){const _0x25ad9d=_0x513e05,_0x500a99=[];this[_0x25ad9d(0x421)][_0x25ad9d(0x2a8)]((_0x3373fa,_0x2aa396)=>{const _0x379e2c=_0x25ad9d;window[_0x379e2c(0x39c)](_0x3373fa),_0x500a99[_0x379e2c(0x2e0)](this['_saveCache'](_0x2aa396)['then'](()=>{const _0x2b41bb=_0x379e2c;this[_0x2b41bb(0x421)][_0x2b41bb(0x365)](_0x2aa396);}));}),await Promise['all'](_0x500a99);}};_0x1853ac=_0x2462a1([_0x214577(0x0,_0x3772e7['IConfigService']),_0x214577(0x1,_0x3772e7[_0x513e05(0x27c)]),_0x214577(0x2,_0x3772e7[_0x513e05(0x30b)](_0x116492[_0x513e05(0x289)]))],_0x1853ac);class _0x39c7f7 extends _0x3772e7[_0x513e05(0x490)]{constructor(){const _0x42e1c2=_0x513e05;super(),_0xfd5d9c(this,_0x42e1c2(0x327)),this[_0x42e1c2(0x327)]=_0x104804[_0x42e1c2(0x398)](window,'popstate')[_0x42e1c2(0x372)](_0x104804[_0x42e1c2(0x3e1)](this['dispose$']),_0x104804[_0x42e1c2(0x2e7)](0x1),_0x104804[_0x42e1c2(0x39a)](void 0x0));}['setParam'](_0x3d90f5,_0x8e5b9c,_0x1e749f=!0x1){const _0x599318=_0x513e05,_0x22ba32=new URL(window[_0x599318(0x430)][_0x599318(0x31e)]);_0x22ba32['searchParams'][_0x599318(0x40c)](_0x3d90f5,_0x8e5b9c),_0x1e749f?window[_0x599318(0x1f5)][_0x599318(0x1c5)]('','',_0x22ba32['toString']()):window[_0x599318(0x1f5)][_0x599318(0x26e)]('','',_0x22ba32[_0x599318(0x3a9)]());}[_0x513e05(0x393)](_0x1e215c,_0x5db700=!0x1){const _0x234511=_0x513e05,_0x2c9352=new URL(window[_0x234511(0x430)][_0x234511(0x31e)]);_0x2c9352[_0x234511(0x417)]['delete'](_0x1e215c),_0x5db700?window['history'][_0x234511(0x1c5)]('','',_0x2c9352[_0x234511(0x3a9)]()):window['history']['pushState']('','',_0x2c9352[_0x234511(0x3a9)]());}[_0x513e05(0x22e)](_0x2ac35e){const _0x41dbc2=_0x513e05;var _0x1ed3a9;return(_0x1ed3a9=new URL(window[_0x41dbc2(0x430)][_0x41dbc2(0x31e)])[_0x41dbc2(0x417)][_0x41dbc2(0x309)](_0x2ac35e))!=null?_0x1ed3a9:void 0x0;}}var _0x3feea5=Object[_0x513e05(0x226)],_0x42c8e1=Object['getOwnPropertyDescriptor'],_0x419814=(_0x53bed1,_0x215e79,_0x4784e7)=>_0x215e79 in _0x53bed1?_0x3feea5(_0x53bed1,_0x215e79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4784e7}):_0x53bed1[_0x215e79]=_0x4784e7,_0x318a22=(_0x2df643,_0x42ed79,_0x298add,_0x4ae870)=>{for(var _0x4680f4=_0x4ae870>0x1?void 0x0:_0x4ae870?_0x42c8e1(_0x42ed79,_0x298add):_0x42ed79,_0x11faad=_0x2df643['length']-0x1,_0x26fa0c;_0x11faad>=0x0;_0x11faad--)(_0x26fa0c=_0x2df643[_0x11faad])&&(_0x4680f4=_0x26fa0c(_0x4680f4)||_0x4680f4);return _0x4680f4;},_0x2e8ae0=(_0x32648f,_0x692bf3)=>(_0x12696c,_0x14e15d)=>_0x692bf3(_0x12696c,_0x14e15d,_0x32648f),_0x4a9300=(_0xcf762c,_0x6670a,_0x4c0e84)=>_0x419814(_0xcf762c,_0x6670a+'',_0x4c0e84);const _0x5049ca=_0x513e05(0x468);_0x8036c6[_0x513e05(0x41a)]=class extends _0x3772e7['Plugin']{constructor(_0xea60b1=_0x52c7c0,_0x14917b,_0x3ba0a4,_0x277063){const _0x3833dd=_0x513e05;super(),this[_0x3833dd(0x2e9)]=_0xea60b1,this[_0x3833dd(0x26d)]=_0x14917b,this[_0x3833dd(0x499)]=_0x3ba0a4,this['_configService']=_0x277063;const {..._0x39ffe6}=_0x3772e7['merge']({},_0x52c7c0,this[_0x3833dd(0x2e9)]);this['_configService'][_0x3833dd(0x31c)](_0x2157a3,_0x39ffe6);}[_0x513e05(0x3bb)](){const _0x5b60c4=_0x513e05;this['_registerDependencies'](),this[_0x5b60c4(0x25c)]();}[_0x513e05(0x329)](){const _0x56381b=_0x513e05;this[_0x56381b(0x3a0)]();}['_registerDependencies'](){const _0x33e5f8=_0x513e05;var _0x1fca3d;const _0x1a3e83=[[_0x2e3fbf],[_0x498739],[_0x348751],[_0x32f42e],[_0x52ca15],[_0x39a103],[_0x2a7c11,{'useClass':_0x39c7f7}],[_0xe6cf6e[_0x33e5f8(0x2ee)],{'useClass':_0xe6cf6e['WebSocketService']}],[_0x19f8d7[_0x33e5f8(0x36d)],{'useClass':_0x1853ac}],[_0x8036c6[_0x33e5f8(0x1c0)]],[_0x27ca3d],[_0x23daa2],[_0x2234d1],[_0x459a5d],[_0x8036c6[_0x33e5f8(0x42a)]]];this[_0x33e5f8(0x2e9)]['enableFrontendLog']&&_0x1a3e83[_0x33e5f8(0x2e0)]([_0x19eb72]),_0x3772e7[_0x33e5f8(0x264)](this[_0x33e5f8(0x499)],_0x3772e7[_0x33e5f8(0x2f8)](_0x1a3e83,(_0x1fca3d=this[_0x33e5f8(0x2e9)])==null?void 0x0:_0x1fca3d[_0x33e5f8(0x2e8)]));}['_registerRenderDependencies'](){const _0x186f81=_0x513e05;this[_0x186f81(0x317)](this[_0x186f81(0x26d)]['registerRenderModule'](_0x3772e7[_0x186f81(0x232)][_0x186f81(0x366)],[_0x4d05f1])),this['disposeWithMe'](this[_0x186f81(0x26d)]['registerRenderModule'](_0x3772e7[_0x186f81(0x232)][_0x186f81(0x437)],[_0x4fc936]));}[_0x513e05(0x25c)](){const _0x308ee0=_0x513e05;_0x3772e7['touchDependencies'](this[_0x308ee0(0x499)],[[_0x2234d1],[_0x8036c6['DesktopCollaborationStatusDisplayController']],[_0x27ca3d],[_0x23daa2],[_0x8036c6['CollaborationDataLoaderController']],[_0x498739]]),this[_0x308ee0(0x2e9)]['enableFrontendLog']&&_0x3772e7['touchDependencies'](this[_0x308ee0(0x499)],[[_0x19eb72]]);}},_0x4a9300(_0x8036c6[_0x513e05(0x41a)],'pluginName',_0x5049ca),_0x8036c6[_0x513e05(0x41a)]=_0x318a22([_0x3772e7['DependentOn'](_0x19f8d7[_0x513e05(0x2e2)]),_0x2e8ae0(0x1,_0x29b571[_0x513e05(0x494)]),_0x2e8ae0(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x2e8ae0(0x3,_0x3772e7['IConfigService'])],_0x8036c6['UniverCollaborationClientUIPlugin']);var _0x130241=Object[_0x513e05(0x33c)],_0x5ddeed=(_0x7f3be1,_0xc6d3b8,_0x210dc6,_0x426342)=>{const _0x479ab0=_0x513e05;for(var _0x27ec7a=_0x426342>0x1?void 0x0:_0x426342?_0x130241(_0xc6d3b8,_0x210dc6):_0xc6d3b8,_0x49361d=_0x7f3be1[_0x479ab0(0x3ec)]-0x1,_0x436ad6;_0x49361d>=0x0;_0x49361d--)(_0x436ad6=_0x7f3be1[_0x49361d])&&(_0x27ec7a=_0x436ad6(_0x27ec7a)||_0x27ec7a);return _0x27ec7a;},_0x52934b=(_0x37fde8,_0x4f3f35)=>(_0x5610a0,_0x25f3e5)=>_0x4f3f35(_0x5610a0,_0x25f3e5,_0x37fde8);_0x8036c6[_0x513e05(0x382)]=class extends _0x19f8d7[_0x513e05(0x3bc)]{constructor(_0x26b322,_0x2a8a05,_0x1f6b1d,_0x39ccff,_0x3bb78d){super(_0x26b322,_0x2a8a05,_0x1f6b1d,_0x39ccff,_0x3bb78d);}async[_0x513e05(0x216)](_0x377044){const _0xf0b049=_0x513e05,_0x474a08=await this[_0xf0b049(0x2af)](),_0x58620d=this[_0xf0b049(0x1d6)](_0x377044,_0x474a08);return this[_0xf0b049(0x2eb)](_0x58620d);}[_0x513e05(0x1d6)](_0x188fea,_0x24333c){const _0x5ef18e=_0x513e05,_0x31db8f=typeof window>'u'?new URL(_0x188fea):new URL(_0x188fea,window[_0x5ef18e(0x430)][_0x5ef18e(0x307)]);_0x31db8f[_0x5ef18e(0x417)]['set'](_0x5ef18e(0x22f),_0x24333c);const _0x463c79=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5ef18e(0x430)][_0x5ef18e(0x491)]);return _0x463c79[_0x5ef18e(0x309)](_0x5ef18e(0x234))&&_0x31db8f['searchParams'][_0x5ef18e(0x40c)](_0x5ef18e(0x234),_0x463c79[_0x5ef18e(0x309)](_0x5ef18e(0x234))),_0x31db8f['toString']();}async['_getSessionTicket'](){const _0xdbfdd4=_0x513e05;var _0x5c3d12,_0x195efd,_0x2f08ea;const _0x267b48=this[_0xdbfdd4(0x441)][_0xdbfdd4(0x2fc)](_0x19f8d7[_0xdbfdd4(0x2fd)]),_0xba795e=(_0x5c3d12=_0x267b48==null?void 0x0:_0x267b48['wsSessionTicketUrl'])!=null?_0x5c3d12:_0x19f8d7[_0xdbfdd4(0x1c1)];return(_0x2f08ea=(_0x195efd=(await this[_0xdbfdd4(0x2cc)][_0xdbfdd4(0x309)](_0xba795e,{'headers':{'Content-Type':_0xdbfdd4(0x305)}}))[_0xdbfdd4(0x3c7)])==null?void 0x0:_0x195efd['ticket'])!=null?_0x2f08ea:'';}},_0x8036c6[_0x513e05(0x382)]=_0x5ddeed([_0x52934b(0x0,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x52934b(0x1,_0x3772e7[_0x513e05(0x30b)](_0xe6cf6e[_0x513e05(0x1cc)])),_0x52934b(0x2,_0x3772e7[_0x513e05(0x3da)]),_0x52934b(0x3,_0x3772e7['ILogService']),_0x52934b(0x4,_0x116492[_0x513e05(0x28e)])],_0x8036c6['BrowserCollaborationSocketService']);var _0x16cc04=Object[_0x513e05(0x33c)],_0x5770e8=(_0x5b28da,_0x1a2eeb,_0x294702,_0x323b4)=>{const _0x4d729a=_0x513e05;for(var _0x11b788=_0x323b4>0x1?void 0x0:_0x323b4?_0x16cc04(_0x1a2eeb,_0x294702):_0x1a2eeb,_0x587833=_0x5b28da[_0x4d729a(0x3ec)]-0x1,_0x34d95f;_0x587833>=0x0;_0x587833--)(_0x34d95f=_0x5b28da[_0x587833])&&(_0x11b788=_0x34d95f(_0x11b788)||_0x11b788);return _0x11b788;},_0x2702fb=(_0x3b4ad0,_0x1d0631)=>(_0x512a8a,_0x4dd87b)=>_0x1d0631(_0x512a8a,_0x4dd87b,_0x3b4ad0);_0x8036c6[_0x513e05(0x26f)]=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x319ba3,_0x27a756,_0x5a8711){const _0x2e6f5e=_0x513e05;super(),this['_instanceService']=_0x319ba3,this[_0x2e6f5e(0x2cc)]=_0x27a756,this[_0x2e6f5e(0x441)]=_0x5a8711;}async[_0x513e05(0x273)](_0x5d4a42,_0x3e3564,_0x3eaa30,..._0x13b607){const _0x380063=_0x513e05;var _0x639b66,_0x2bc033,_0x5b7b0f,_0x163c7e;const _0x5d0977=this[_0x380063(0x3ce)][_0x380063(0x207)]();if(!_0x5d0977)throw new Error(_0x380063(0x3af));const _0x24cde3=((_0x639b66=this[_0x380063(0x441)][_0x380063(0x2fc)](_0x19f8d7['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x639b66:_0x19f8d7['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5d4a42+_0x380063(0x2e1)+_0x3e3564,_0x386439=new URL(window[_0x380063(0x430)][_0x380063(0x31e)]),_0x1b8740={'scriptId':_0x5d4a42,'runId':(_0x2bc033=_0x386439[_0x380063(0x417)][_0x380063(0x309)]('runId'))!=null?_0x2bc033:'','function':_0x3e3564,'unitId':_0x5d0977[_0x380063(0x353)](),'argsOfFunction':JSON['stringify'](_0x13b607),'invokeId':(_0x5b7b0f=_0x3eaa30['invokeId'])!=null?_0x5b7b0f:'','executionId':(_0x163c7e=_0x3eaa30[_0x380063(0x295)])!=null?_0x163c7e:''};try{const _0x3bdf2c=await this[_0x380063(0x2cc)][_0x380063(0x1db)](_0x24cde3,{'body':_0x1b8740});return _0x3bdf2c[_0x380063(0x3c7)][_0x380063(0x27b)]&&_0x3bdf2c[_0x380063(0x3c7)][_0x380063(0x27b)][_0x380063(0x420)]!==_0x47161c['OK']?_0x380063(0x451):_0x3bdf2c[_0x380063(0x3c7)]['result'];}catch{return _0x380063(0x451);}}},_0x8036c6[_0x513e05(0x26f)]=_0x5770e8([_0x2702fb(0x0,_0x3772e7[_0x513e05(0x201)]),_0x2702fb(0x1,_0x3772e7['Inject'](_0xe6cf6e['HTTPService'])),_0x2702fb(0x2,_0x3772e7[_0x513e05(0x3da)])],_0x8036c6['RemoteUniscriptService']);const _0x99680c=0x7530,_0x4094b6=_0x513e05(0x40e);class _0x26e4a4 extends _0x3772e7['Disposable']{constructor(){const _0x2cf71c=_0x513e05;super(),_0xfd5d9c(this,_0x2cf71c(0x41b),_0x3772e7[_0x2cf71c(0x2ae)]()),_0xfd5d9c(this,_0x2cf71c(0x1c2),new Set()),_0xfd5d9c(this,_0x2cf71c(0x473),new Map()),_0xfd5d9c(this,_0x2cf71c(0x370),null),_0xfd5d9c(this,_0x2cf71c(0x2d2),new Map()),_0xfd5d9c(this,'_unitStatus',new Map()),this[_0x2cf71c(0x219)]();}[_0x513e05(0x472)](){const _0xb8b5b8=_0x513e05;super[_0xb8b5b8(0x472)](),this[_0xb8b5b8(0x2d2)][_0xb8b5b8(0x2a8)]((_0x2520a1,_0x281725)=>this[_0xb8b5b8(0x2ca)](_0x281725)),this[_0xb8b5b8(0x370)]&&window[_0xb8b5b8(0x1de)](this[_0xb8b5b8(0x370)]);}[_0x513e05(0x2d9)](_0x1f0cf5){const _0x11d0ee=_0x513e05;return this[_0x11d0ee(0x384)](_0x1f0cf5)[_0x11d0ee(0x372)](_0x104804[_0x11d0ee(0x2ba)]());}[_0x513e05(0x1d5)](_0xec2d5b){const _0x566c9d=_0x513e05;this[_0x566c9d(0x1c2)][_0x566c9d(0x396)]===0x0&&this[_0x566c9d(0x386)](),this[_0x566c9d(0x1c2)]['add'](_0xec2d5b),this[_0x566c9d(0x20d)]({'type':0x0,'memberID':this[_0x566c9d(0x41b)],'unitIDs':[_0xec2d5b],'isForwarded':!0x1});}[_0x513e05(0x356)](_0x5cc433){const _0x55e28f=_0x513e05;this[_0x55e28f(0x1c2)]['delete'](_0x5cc433),this[_0x55e28f(0x1c2)][_0x55e28f(0x396)]===0x0&&this[_0x55e28f(0x370)]&&window[_0x55e28f(0x1de)](this[_0x55e28f(0x370)]);}[_0x513e05(0x219)](){const _0x4efc29=_0x513e05;this[_0x4efc29(0x317)](_0x3772e7[_0x4efc29(0x385)](_0x104804['fromEvent'](window,_0x4efc29(0x3c3))[_0x4efc29(0x3ee)](_0x3a2d13=>{const _0x2e523e=_0x4efc29;if(_0x3a2d13['key']!==_0x4094b6||!_0x3a2d13[_0x2e523e(0x337)])return;const _0x435281=JSON['parse'](_0x3a2d13[_0x2e523e(0x337)]);this[_0x2e523e(0x33b)](_0x435281);}))),window[_0x4efc29(0x459)]('unload',()=>this[_0x4efc29(0x20d)]({'type':0x1,'memberID':this[_0x4efc29(0x41b)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x513e05(0x33b)](_0x1cd135){const _0x20546f=_0x513e05;switch(_0x1cd135[_0x20546f(0x23f)]){case 0x0:this[_0x20546f(0x1c7)](_0x1cd135);break;case 0x1:this[_0x20546f(0x25d)](_0x1cd135);break;case 0x2:this[_0x20546f(0x1fc)](_0x1cd135);break;}}[_0x513e05(0x1c7)](_0x3cf225){const _0x2b3634=_0x513e05,{unitIDs:_0x32bd66,memberID:_0x203e23,isForwarded:_0x718ab5}=_0x3cf225;_0x32bd66[_0x2b3634(0x2a8)](_0x446f8f=>{const _0x3461c4=_0x2b3634;if(!_0x718ab5&&this[_0x3461c4(0x473)][_0x3461c4(0x28b)](_0x446f8f)&&this[_0x3461c4(0x384)](_0x446f8f)[_0x3461c4(0x344)](_0x19f8d7[_0x3461c4(0x413)][_0x3461c4(0x390)]),!this[_0x3461c4(0x473)][_0x3461c4(0x28b)](_0x446f8f)||!this[_0x3461c4(0x473)][_0x3461c4(0x309)](_0x446f8f)['has'](_0x203e23)){const _0x279ce4=this[_0x3461c4(0x473)][_0x3461c4(0x309)](_0x446f8f)||new Set();_0x279ce4[_0x3461c4(0x458)](_0x203e23),this[_0x3461c4(0x473)][_0x3461c4(0x40c)](_0x446f8f,_0x279ce4),this['_scheduleClearOtherTimer'](_0x203e23);}}),_0x718ab5||this[_0x2b3634(0x20d)]({'type':0x0,'memberID':this[_0x2b3634(0x41b)],'unitIDs':[...this[_0x2b3634(0x1c2)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5dc944){const _0x1c434e=_0x513e05;this[_0x1c434e(0x2ca)](_0x5dc944);const _0x329296=window[_0x1c434e(0x42b)](()=>{const _0x28addd=_0x1c434e;this[_0x28addd(0x473)][_0x28addd(0x2a8)](_0x8265d8=>{const _0x4b0fe2=_0x28addd;_0x8265d8[_0x4b0fe2(0x365)](_0x5dc944);});},_0x99680c*0x2);this[_0x1c434e(0x2d2)][_0x1c434e(0x40c)](_0x5dc944,_0x329296);}[_0x513e05(0x2ca)](_0x251043){const _0x195167=_0x513e05;if(this['_clearOtherTimers']['has'](_0x251043)){const _0x3e80cd=this['_clearOtherTimers'][_0x195167(0x309)](_0x251043);_0x3e80cd&&window[_0x195167(0x39c)](_0x3e80cd),this[_0x195167(0x2d2)]['set'](_0x251043,null);}}['_handleLeaveEvent'](_0x4effdb){const _0x24d44a=_0x513e05,{memberID:_0x5aed11,unitIDs:_0xdcfc70}=_0x4effdb;_0xdcfc70['forEach'](_0xf77538=>{const _0x4edbaa=_0x3621;var _0x2554f2;const _0x2a5cb0=this[_0x4edbaa(0x473)]['get'](_0xf77538);_0x2a5cb0&&(_0x2a5cb0[_0x4edbaa(0x365)](_0x5aed11),(_0x2554f2=this[_0x4edbaa(0x384)](_0xf77538))==null||_0x2554f2[_0x4edbaa(0x344)](_0x2a5cb0[_0x4edbaa(0x396)]===0x0?_0x19f8d7[_0x4edbaa(0x413)]['NO_OTHER_CLIENTS_EDITING']:_0x19f8d7[_0x4edbaa(0x413)][_0x4edbaa(0x390)]));}),this[_0x24d44a(0x2ca)](_0x5aed11);}[_0x513e05(0x1fc)](_0x404f4a){const _0x264838=_0x513e05;this[_0x264838(0x277)](_0x404f4a[_0x264838(0x47a)]);}[_0x513e05(0x20d)](_0x4f5d01){const _0x280fc9=_0x513e05;localStorage[_0x280fc9(0x1e1)](_0x4094b6,JSON['stringify'](_0x4f5d01));}['_scheduleHeartbeat'](){const _0x40e502=_0x513e05;this[_0x40e502(0x370)]=window[_0x40e502(0x346)](()=>{const _0x5c6f70=_0x40e502;this[_0x5c6f70(0x20d)]({'type':0x2,'memberID':this[_0x5c6f70(0x41b)]});},_0x99680c);}[_0x513e05(0x384)](_0x46b507){const _0x2fe2ca=_0x513e05;return this[_0x2fe2ca(0x2ed)][_0x2fe2ca(0x28b)](_0x46b507)||this[_0x2fe2ca(0x2ed)]['set'](_0x46b507,new _0x104804[(_0x2fe2ca(0x493))](_0x19f8d7[_0x2fe2ca(0x413)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x46b507);}}_0x8036c6[_0x513e05(0x444)]=_0x2a7c11,_0x8036c6['SheetCollabCursorShape']=_0xc79a86,_0x8036c6[_0x513e05(0x373)]=_0x26e4a4,_0x8036c6['WebURLService']=_0x39c7f7,Object[_0x513e05(0x226)](_0x8036c6,Symbol['toStringTag'],{'value':'Module'});}));
9
9
 
10
10
  // @univerjs-pro/collaboration-client-ui/facade
11
- function _0x4a09(_0x1d8276,_0x1bfc1d){var _0x564538=_0x5645();return _0x4a09=function(_0x4a0975,_0x38e498){_0x4a0975=_0x4a0975-0x164;var _0x46bf1c=_0x564538[_0x4a0975];return _0x46bf1c;},_0x4a09(_0x1d8276,_0x1bfc1d);}(function(_0xeddbda,_0x57b19c){var _0x5e1ba9=_0x4a09,_0x2886c0=_0xeddbda();while(!![]){try{var _0x54006e=parseInt(_0x5e1ba9(0x177))/0x1*(-parseInt(_0x5e1ba9(0x16d))/0x2)+parseInt(_0x5e1ba9(0x176))/0x3+-parseInt(_0x5e1ba9(0x164))/0x4*(parseInt(_0x5e1ba9(0x16b))/0x5)+parseInt(_0x5e1ba9(0x175))/0x6*(parseInt(_0x5e1ba9(0x16c))/0x7)+parseInt(_0x5e1ba9(0x179))/0x8+parseInt(_0x5e1ba9(0x16f))/0x9*(parseInt(_0x5e1ba9(0x169))/0xa)+-parseInt(_0x5e1ba9(0x168))/0xb*(parseInt(_0x5e1ba9(0x170))/0xc);if(_0x54006e===_0x57b19c)break;else _0x2886c0['push'](_0x2886c0['shift']());}catch(_0x7c9ad7){_0x2886c0['push'](_0x2886c0['shift']());}}}(_0x5645,0x30b01),function(_0xdf2e54,_0x172975){var _0x542476=_0x4a09;typeof exports==_0x542476(0x171)&&typeof module<'u'?_0x172975(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define==_0x542476(0x167)&&define['amd']?define([_0x542476(0x166),'@univerjs/core/facade'],_0x172975):(_0xdf2e54=typeof globalThis<'u'?globalThis:_0xdf2e54||self,_0x172975(_0xdf2e54[_0x542476(0x165)],_0xdf2e54[_0x542476(0x174)]));}(this,function(_0x5427e8,_0x374a8f){'use strict';var _0x4c17c=_0x4a09;class _0x27c688 extends _0x374a8f[_0x4c17c(0x16a)]{[_0x4c17c(0x172)](_0x511c5e,_0x68db21,..._0x565997){var _0x915b33=_0x4c17c;return this[_0x915b33(0x16e)]['get'](_0x5427e8[_0x915b33(0x173)])[_0x915b33(0x172)](_0x511c5e,_0x68db21,{},..._0x565997);}}_0x374a8f['FUniver'][_0x4c17c(0x178)](_0x27c688);}));function _0x5645(){var _0x5d45ac=['FUniver','40VPpYmz','91hyqRIb','2grJgnM','_injector','36PgXUIU','12FcmgMF','object','runOnServer','RemoteUniscriptService','UniverCoreFacade','21138gBkRwg','946152laqEMP','397825fInBJF','extend','2673088IINXDr','24688SuVayO','UniverProCollaborationClientUi','@univerjs-pro/collaboration-client-ui','function','4300659ryiftN','855690nTysuB'];_0x5645=function(){return _0x5d45ac;};return _0x5645();}
11
+ function _0x512e(_0x14489a,_0x43ac7c){var _0x14431f=_0x1443();return _0x512e=function(_0x512e10,_0x4e6363){_0x512e10=_0x512e10-0x116;var _0x37a383=_0x14431f[_0x512e10];return _0x37a383;},_0x512e(_0x14489a,_0x43ac7c);}(function(_0x392d42,_0x5e5076){var _0x1bd7ee=_0x512e,_0xa8f59d=_0x392d42();while(!![]){try{var _0x3c4fc3=-parseInt(_0x1bd7ee(0x128))/0x1*(-parseInt(_0x1bd7ee(0x121))/0x2)+parseInt(_0x1bd7ee(0x125))/0x3+parseInt(_0x1bd7ee(0x11e))/0x4*(parseInt(_0x1bd7ee(0x126))/0x5)+-parseInt(_0x1bd7ee(0x120))/0x6*(-parseInt(_0x1bd7ee(0x11b))/0x7)+parseInt(_0x1bd7ee(0x116))/0x8*(parseInt(_0x1bd7ee(0x11f))/0x9)+-parseInt(_0x1bd7ee(0x124))/0xa+-parseInt(_0x1bd7ee(0x11d))/0xb;if(_0x3c4fc3===_0x5e5076)break;else _0xa8f59d['push'](_0xa8f59d['shift']());}catch(_0x1f8d5f){_0xa8f59d['push'](_0xa8f59d['shift']());}}}(_0x1443,0x2d7c5),function(_0x31b25a,_0x201f1d){var _0x3dd62b=_0x512e;typeof exports=='object'&&typeof module<'u'?_0x201f1d(require('@univerjs-pro/collaboration-client-ui'),require('@univerjs/core/facade')):typeof define=='function'&&define[_0x3dd62b(0x129)]?define([_0x3dd62b(0x127),_0x3dd62b(0x123)],_0x201f1d):(_0x31b25a=typeof globalThis<'u'?globalThis:_0x31b25a||self,_0x201f1d(_0x31b25a[_0x3dd62b(0x11c)],_0x31b25a['UniverCoreFacade']));}(this,function(_0x37f358,_0x295e8d){'use strict';var _0x2c271d=_0x512e;class _0x5ec3a3 extends _0x295e8d[_0x2c271d(0x118)]{[_0x2c271d(0x117)](_0x34f4c2,_0x5862f1,..._0x446977){var _0x5913a5=_0x2c271d;return this['_injector'][_0x5913a5(0x122)](_0x37f358[_0x5913a5(0x119)])['runOnServer'](_0x34f4c2,_0x5862f1,{},..._0x446977);}}_0x295e8d['FUniver'][_0x2c271d(0x11a)](_0x5ec3a3);}));function _0x1443(){var _0x189621=['UniverProCollaborationClientUi','7443612zyNNwy','48584OsPowg','4383DNyBFI','6XlAsNS','45788Tnjgkk','get','@univerjs/core/facade','766630rzYEfU','309519KGglhh','15TZfWgH','@univerjs-pro/collaboration-client-ui','4bRUvcv','amd','5552mtKqsP','runOnServer','FUniver','RemoteUniscriptService','extend','2593493TAacQb'];_0x1443=function(){return _0x189621;};return _0x1443();}
12
12
 
13
13
  // @univerjs-pro/thread-comment-datasource/index
14
- (function(_0x36a560,_0x1448b8){const _0x3f406e=_0x2a56,_0x43d4c2=_0x36a560();while(!![]){try{const _0x3c0763=-parseInt(_0x3f406e(0x1ab))/0x1+parseInt(_0x3f406e(0x1a2))/0x2*(-parseInt(_0x3f406e(0x17e))/0x3)+-parseInt(_0x3f406e(0x1c8))/0x4*(parseInt(_0x3f406e(0x189))/0x5)+parseInt(_0x3f406e(0x1aa))/0x6*(-parseInt(_0x3f406e(0x1de))/0x7)+-parseInt(_0x3f406e(0x1c7))/0x8*(-parseInt(_0x3f406e(0x1cd))/0x9)+parseInt(_0x3f406e(0x188))/0xa+parseInt(_0x3f406e(0x182))/0xb*(parseInt(_0x3f406e(0x1e7))/0xc);if(_0x3c0763===_0x1448b8)break;else _0x43d4c2['push'](_0x43d4c2['shift']());}catch(_0xf6a4e8){_0x43d4c2['push'](_0x43d4c2['shift']());}}}(_0x3f33,0xa1205),function(_0x2304d8,_0x234b4c){const _0x21e0e5=_0x2a56;typeof exports==_0x21e0e5(0x187)&&typeof module<'u'?_0x234b4c(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['amd']?define([_0x21e0e5(0x1bc),_0x21e0e5(0x190),_0x21e0e5(0x1f2),_0x21e0e5(0x19d),_0x21e0e5(0x1eb),_0x21e0e5(0x1c3),_0x21e0e5(0x1ba),_0x21e0e5(0x201)],_0x234b4c):(_0x2304d8=typeof globalThis<'u'?globalThis:_0x2304d8||self,_0x234b4c(_0x2304d8['UniverProThreadCommentDatasource']={},_0x2304d8['UniverProCollaborationClient'],_0x2304d8[_0x21e0e5(0x1d4)],_0x2304d8[_0x21e0e5(0x1db)],_0x2304d8[_0x21e0e5(0x1b9)],_0x2304d8[_0x21e0e5(0x1bb)],_0x2304d8['rxjs'],_0x2304d8[_0x21e0e5(0x1a4)]));}(this,function(_0x535030,_0x504b97,_0x51a395,_0x20d5f0,_0x4da799,_0x4f9e71,_0x4cfb65,_0x20277a){'use strict';const _0x14ef60=_0x2a56;const _0x3e569=_0x14ef60(0x1a9);var _0x56e0b5=(_0x4134ca=>(_0x4134ca[_0x4134ca[_0x14ef60(0x19f)]=0x0]='OpenOrReOpen',_0x4134ca[_0x4134ca[_0x14ef60(0x1c1)]=0x1]=_0x14ef60(0x1c1),_0x4134ca[_0x4134ca[_0x14ef60(0x186)]=-0x1]=_0x14ef60(0x186),_0x4134ca))(_0x56e0b5||{}),_0x4ceb98=(_0x5c9de0=>(_0x5c9de0[_0x5c9de0[_0x14ef60(0x1a0)]=0x0]=_0x14ef60(0x1a0),_0x5c9de0[_0x5c9de0[_0x14ef60(0x1ad)]=0x1]=_0x14ef60(0x1ad),_0x5c9de0[_0x5c9de0[_0x14ef60(0x19c)]=0x2]=_0x14ef60(0x19c),_0x5c9de0[_0x5c9de0['Edit']=0x3]=_0x14ef60(0x1bf),_0x5c9de0[_0x5c9de0[_0x14ef60(0x1d3)]=0x4]=_0x14ef60(0x1d3),_0x5c9de0[_0x5c9de0[_0x14ef60(0x18c)]=0x5]=_0x14ef60(0x18c),_0x5c9de0[_0x5c9de0[_0x14ef60(0x186)]=-0x1]=_0x14ef60(0x186),_0x5c9de0))(_0x4ceb98||{});const _0x3be4ab=_0x59d21e=>_0x20d5f0[_0x14ef60(0x1f3)](new Date(+_0x59d21e))[_0x14ef60(0x199)]('YYYY/MM/DD\x20HH:mm'),_0x261b7d=async(_0x61ba65,_0x24ed99)=>{const _0x41c7bd=_0x14ef60,_0x23a40d=_0x61ba65[_0x41c7bd(0x1e6)](_0x20d5f0[_0x41c7bd(0x1b2)]),_0x3c3ef9=_0x61ba65['get'](_0x20277a[_0x41c7bd(0x1fb)]);_0x24ed99[_0x41c7bd(0x1ff)](_0x906125=>{const _0x428a7f=_0x41c7bd;_0x23a40d[_0x428a7f(0x19b)](_0x906125)&&_0x24ed99[_0x428a7f(0x1fc)](_0x906125);}),_0x24ed99[_0x41c7bd(0x183)]&&(await _0x3c3ef9[_0x41c7bd(0x1e6)](_0x41c7bd(0x1e8),{'params':{'userIDs':[..._0x24ed99]}}))[_0x41c7bd(0x1b7)][_0x41c7bd(0x1f4)][_0x41c7bd(0x1ff)](_0x900540=>{const _0x525866=_0x41c7bd;_0x900540&&_0x23a40d[_0x525866(0x1dc)](_0x900540);});};var _0xdb31d2=Object[_0x14ef60(0x1ea)],_0x5c6129=(_0x1fd339,_0x5039c0,_0x32ff59,_0x51153e)=>{const _0x3377f5=_0x14ef60;for(var _0x4ce63e=_0x51153e>0x1?void 0x0:_0x51153e?_0xdb31d2(_0x5039c0,_0x32ff59):_0x5039c0,_0x8628b4=_0x1fd339[_0x3377f5(0x1cb)]-0x1,_0x30be70;_0x8628b4>=0x0;_0x8628b4--)(_0x30be70=_0x1fd339[_0x8628b4])&&(_0x4ce63e=_0x30be70(_0x4ce63e)||_0x4ce63e);return _0x4ce63e;},_0xf68539=(_0x4719b8,_0x3570c6)=>(_0x27b974,_0x41b0f9)=>_0x3570c6(_0x27b974,_0x41b0f9,_0x4719b8);let _0x45c70f=class extends _0x20d5f0[_0x14ef60(0x1f0)]{constructor(_0x37f313,_0xd75420,_0x5ad218,_0x253f6c){const _0x575b2c=_0x14ef60;super(),this[_0x575b2c(0x1ee)]=_0x37f313,this[_0x575b2c(0x1be)]=_0xd75420,this[_0x575b2c(0x18a)]=_0x5ad218,this[_0x575b2c(0x1d9)]=_0x253f6c,this[_0x575b2c(0x1f9)](),this[_0x575b2c(0x1da)]();}[_0x14ef60(0x1da)](){const _0x112538=_0x14ef60;this[_0x112538(0x1c5)](this[_0x112538(0x1be)][_0x112538(0x1df)]['pipe'](_0x4cfb65[_0x112538(0x1d7)](0x10))['subscribe'](_0x353421=>{const _0x2f24a8=_0x112538,_0x4e92a7=new Set();_0x353421[_0x2f24a8(0x1ff)](_0x436c6e=>{const _0x34b3f6=_0x2f24a8;switch(_0x436c6e[_0x34b3f6(0x1dd)]){case'add':{const _0x18b007=_0x436c6e['payload']['personId'];_0x4e92a7[_0x34b3f6(0x1d2)](_0x18b007);break;}}}),_0x261b7d(this[_0x2f24a8(0x1d9)],_0x4e92a7);}));}['_init'](){const _0x25daed=_0x14ef60;this['disposeWithMe'](this['_commentService'][_0x25daed(0x1df)][_0x25daed(0x184)](async _0x16102b=>{const _0x22d827=_0x25daed;var _0x4574f2,_0x340084,_0x32951e,_0x3a5dd5;const _0x52ef4f=(_0x4574f2=this[_0x22d827(0x1be)][_0x22d827(0x1cf)](_0x16102b[_0x22d827(0x181)])['find'](_0x1938a2=>_0x1938a2[_0x22d827(0x1ef)]===_0x16102b[_0x22d827(0x1ef)]))==null?void 0x0:_0x4574f2['root'];if(!_0x52ef4f)return;const {unitId:_0x397485,subUnitId:_0x3b2163}=_0x52ef4f;switch(_0x16102b['user']&&this[_0x22d827(0x18a)][_0x22d827(0x1dc)](_0x16102b['user']),_0x16102b[_0x22d827(0x1dd)]){case _0x4ceb98[_0x22d827(0x1ad)]:break;case _0x4ceb98[_0x22d827(0x19c)]:{this['_threadCommentModel'][_0x22d827(0x1ae)](_0x397485,_0x3b2163,{'unitId':_0x397485,'subUnitId':_0x3b2163,'ref':'','id':_0x16102b['replyId'],'dT':_0x3be4ab(+_0x16102b['createTimestamp']),'threadId':_0x16102b[_0x22d827(0x1ef)],'personId':(_0x32951e=(_0x340084=_0x16102b['user'])==null?void 0x0:_0x340084[_0x22d827(0x1e4)])!=null?_0x32951e:_0x16102b[_0x22d827(0x1e5)],'text':JSON[_0x22d827(0x1d0)](_0x16102b['content']),'parentId':_0x52ef4f['id']});break;}case _0x4ceb98[_0x22d827(0x1d3)]:{const _0x2a1318=this[_0x22d827(0x1be)][_0x22d827(0x17c)](_0x397485,_0x3b2163,_0x16102b[_0x22d827(0x1c2)]);_0x2a1318&&_0x2a1318[_0x22d827(0x1e9)]&&this[_0x22d827(0x1be)][_0x22d827(0x1a7)](_0x397485,_0x3b2163,_0x16102b[_0x22d827(0x1c2)]);break;}case _0x4ceb98['Edit']:{this[_0x22d827(0x1be)]['updateComment'](_0x397485,_0x3b2163,{'commentId':_0x16102b[_0x22d827(0x1c2)],'text':JSON[_0x22d827(0x1d0)](_0x16102b['content'])});break;}case _0x4ceb98[_0x22d827(0x18c)]:{const _0x81a0b3=(_0x3a5dd5=this[_0x22d827(0x1be)][_0x22d827(0x1cf)](_0x16102b[_0x22d827(0x181)])['find'](_0x3f9f17=>_0x3f9f17['threadId']===_0x16102b[_0x22d827(0x1ef)]))==null?void 0x0:_0x3a5dd5[_0x22d827(0x1d5)];_0x81a0b3&&this[_0x22d827(0x1be)]['resolveComment'](_0x397485,_0x3b2163,_0x81a0b3['id'],_0x16102b[_0x22d827(0x19a)]===_0x56e0b5[_0x22d827(0x1c1)]);break;}}}));}};_0x45c70f=_0x5c6129([_0xf68539(0x0,_0x20d5f0[_0x14ef60(0x185)](_0x504b97[_0x14ef60(0x1b3)])),_0xf68539(0x1,_0x20d5f0[_0x14ef60(0x185)](_0x4f9e71['ThreadCommentModel'])),_0xf68539(0x2,_0x20d5f0[_0x14ef60(0x185)](_0x20d5f0[_0x14ef60(0x1b2)])),_0xf68539(0x3,_0x20d5f0[_0x14ef60(0x185)](_0x20d5f0[_0x14ef60(0x1b1)]))],_0x45c70f);const _0xb8d4e6=_0x14ef60(0x1e1),_0xd9a410={};var _0x1fa2c5=Object['getOwnPropertyDescriptor'],_0x57837b=(_0x3e3de0,_0x4acd88,_0x26c302,_0x49ade4)=>{for(var _0x1afa03=_0x49ade4>0x1?void 0x0:_0x49ade4?_0x1fa2c5(_0x4acd88,_0x26c302):_0x4acd88,_0x1e9ce7=_0x3e3de0['length']-0x1,_0x116748;_0x1e9ce7>=0x0;_0x1e9ce7--)(_0x116748=_0x3e3de0[_0x1e9ce7])&&(_0x1afa03=_0x116748(_0x1afa03)||_0x1afa03);return _0x1afa03;},_0xdf1a53=(_0x4f6751,_0x333761)=>(_0x40d651,_0x49ab7c)=>_0x333761(_0x40d651,_0x49ab7c,_0x4f6751);function _0x4210ec(_0x398b33,_0x53635f){const _0x24b6ab=_0x14ef60,_0x598325=_0x398b33[_0x24b6ab(0x1d6)][0x0];return{..._0x53635f,'id':_0x598325[_0x24b6ab(0x1c2)],'resolved':_0x398b33[_0x24b6ab(0x19a)]===0x1,'dT':_0x3be4ab(_0x598325[_0x24b6ab(0x19e)]),'personId':_0x598325[_0x24b6ab(0x1e5)],'threadId':_0x598325[_0x24b6ab(0x1ef)]};}function _0x20e294(_0x493e61,_0x8f3454,_0x4f2644){const _0x42f3db=_0x14ef60;var _0xa17888,_0x29f452;if(((_0x29f452=(_0xa17888=_0x493e61==null?void 0x0:_0x493e61[_0x42f3db(0x1d6)])==null?void 0x0:_0xa17888[_0x42f3db(0x1cb)])!=null?_0x29f452:0x0)>0x0){const _0xc9bf8f=(_0x3207e0,_0x3ec936)=>({'id':_0x3207e0[_0x42f3db(0x1c2)],'threadId':_0x3207e0[_0x42f3db(0x1ef)],'dT':_0x3be4ab(_0x3207e0[_0x42f3db(0x19e)]),'personId':_0x3207e0[_0x42f3db(0x1e5)],'resolved':_0x493e61[_0x42f3db(0x19a)]===_0x56e0b5[_0x42f3db(0x1c1)],'unitId':_0x8f3454,'subUnitId':_0x4f2644,'text':JSON[_0x42f3db(0x1d0)](_0x3207e0['content']),'parentId':_0x3ec936}),_0x45ceb1=_0xc9bf8f(_0x493e61[_0x42f3db(0x1d6)][0x0]);return{..._0x45ceb1,'children':_0x493e61[_0x42f3db(0x1d6)]['slice'](0x1)['map'](_0x809842=>_0xc9bf8f(_0x809842,_0x45ceb1['id']))};}return null;}let _0x1c2270=class{constructor(_0x192204,_0x17a22d,_0x1bf634){const _0x40e04e=_0x14ef60;this['_httpService']=_0x192204,this['_userService']=_0x17a22d,this[_0x40e04e(0x200)]=_0x1bf634;}async['addComment'](_0x5ec81c){const _0x3d6334=_0x14ef60;var _0xebeacb,_0x150096;const {parentId:_0x24d073,unitId:_0x4cd849,text:_0x4be7c3,threadId:_0x17c73f}=_0x5ec81c,_0x52a81f=(_0x150096=(_0xebeacb=_0x4be7c3['customRanges'])==null?void 0x0:_0xebeacb[_0x3d6334(0x1d8)](_0x2a0c5e=>_0x2a0c5e[_0x3d6334(0x180)]===_0x20d5f0['CustomRangeType'][_0x3d6334(0x1c9)])[_0x3d6334(0x1a3)](_0x4729c9=>_0x4729c9['rangeId']))!=null?_0x150096:[],_0x58276d=JSON[_0x3d6334(0x202)](_0x4be7c3),_0xdef7e0=(await this[_0x3d6334(0x200)]['requireSession'](_0x4cd849))[_0x3d6334(0x1e2)]();if(_0x24d073){const _0x291bb7={'memberId':_0xdef7e0,'unitId':_0x4cd849,'content':_0x58276d,'mention':_0x52a81f,'threadId':_0x17c73f},_0x17967c=(await this[_0x3d6334(0x18f)][_0x3d6334(0x1bd)](_0x3d6334(0x1cc)+_0x4cd849+_0x3d6334(0x191),{'body':_0x291bb7}))[_0x3d6334(0x1b7)]['reply'];return{..._0x5ec81c,'id':_0x17967c['replyId'],'dT':_0x20d5f0['dayjs'](+_0x17967c['createTimestamp'])[_0x3d6334(0x199)](_0x3d6334(0x1b5)),'personId':_0x17967c[_0x3d6334(0x1e5)]};}else{const _0x1afb4b={'memberId':_0xdef7e0,'unitId':_0x4cd849,'content':_0x58276d,'mention':_0x52a81f},_0x22aeb7=await this['_httpService'][_0x3d6334(0x1bd)](_0x3d6334(0x1cc)+_0x4cd849+_0x3d6334(0x1fe),{'body':_0x1afb4b});return _0x4210ec(_0x22aeb7[_0x3d6334(0x1b7)][_0x3d6334(0x1b8)],_0x5ec81c);}}async[_0x14ef60(0x1ac)](_0xac5a65){const _0x12fd20=_0x14ef60;var _0x99d20c,_0x963293;const {text:_0xb718dd,unitId:_0x2008d6}=_0xac5a65,_0x193854=(_0x963293=(_0x99d20c=_0xb718dd['customRanges'])==null?void 0x0:_0x99d20c[_0x12fd20(0x1d8)](_0x12bbae=>_0x12bbae['rangeType']===_0x20d5f0[_0x12fd20(0x193)][_0x12fd20(0x1c9)])[_0x12fd20(0x1a3)](_0x5227e8=>_0x5227e8[_0x12fd20(0x17d)]))!=null?_0x963293:[],_0x226b12=JSON['stringify'](_0xb718dd),_0x1b0ef5=_0xac5a65[_0x12fd20(0x1ef)],_0x4ca824=_0xac5a65['id'],_0x3d9eb3={'memberId':(await this[_0x12fd20(0x200)][_0x12fd20(0x1ca)](_0x2008d6))[_0x12fd20(0x1e2)](),'unitId':_0x2008d6,'threadId':_0x1b0ef5,'mention':_0x193854,'content':_0x226b12,'replyId':_0x4ca824},_0x4c7957=await this[_0x12fd20(0x18f)][_0x12fd20(0x1bd)](_0x12fd20(0x1cc)+_0x2008d6+'/edit',{'body':_0x3d9eb3});return!_0x4c7957[_0x12fd20(0x1b7)][_0x12fd20(0x1ec)]||_0x4c7957[_0x12fd20(0x1b7)][_0x12fd20(0x1ec)]['code']===0x1;}async[_0x14ef60(0x1a8)](_0x1ca494){const _0x146be8=_0x14ef60,{unitId:_0x2b046e}=_0x1ca494,_0x479e8d=_0x1ca494[_0x146be8(0x1ef)],_0xd9d473={'memberId':this['_userService'][_0x146be8(0x195)]()[_0x146be8(0x1e4)],'unitId':_0x2b046e,'threadId':_0x479e8d,'solved':_0x1ca494[_0x146be8(0x1a5)]?_0x56e0b5['Solved']:_0x56e0b5[_0x146be8(0x19f)]},_0x550662=await this[_0x146be8(0x18f)][_0x146be8(0x1bd)](_0x146be8(0x1cc)+_0x2b046e+_0x146be8(0x1af),{'body':_0xd9d473});return!_0x550662[_0x146be8(0x1b7)][_0x146be8(0x1ec)]||_0x550662[_0x146be8(0x1b7)]['error'][_0x146be8(0x1b6)]===0x1;}async[_0x14ef60(0x1a7)](_0xcfd029,_0x1c9d32,_0x65c5c0,_0x3ef9ed){const _0x3899af=_0x14ef60,_0xb7e7c1={'memberId':(await this[_0x3899af(0x200)][_0x3899af(0x1ca)](_0xcfd029))[_0x3899af(0x1e2)](),'threadId':_0x65c5c0,'replyId':_0x3ef9ed,'unitId':_0xcfd029},_0x2228dc=await this[_0x3899af(0x18f)][_0x3899af(0x1bd)](_0x3899af(0x1cc)+_0xcfd029+_0x3899af(0x18b),{'body':_0xb7e7c1});return!_0x2228dc['body']['error']||_0x2228dc['body'][_0x3899af(0x1ec)][_0x3899af(0x1b6)]===0x1;}async[_0x14ef60(0x197)](_0x44713f,_0x589de8,_0x5c32e3){const _0x3a92c0=_0x14ef60,_0x9fb50={'unitId':_0x44713f,'threadId':_0x5c32e3},_0x46b595=await this[_0x3a92c0(0x18f)][_0x3a92c0(0x1bd)](_0x3a92c0(0x1cc)+_0x44713f+_0x3a92c0(0x1c0),{'body':_0x9fb50}),_0x5e10a9=_0x5c32e3[_0x3a92c0(0x1a3)](_0x596548=>_0x20e294(_0x46b595[_0x3a92c0(0x1b7)]['comments'][_0x596548],_0x44713f,_0x589de8))[_0x3a92c0(0x1d8)](Boolean);return Object[_0x3a92c0(0x192)](_0x46b595['body'][_0x3a92c0(0x1f4)])[_0x3a92c0(0x1ff)](_0x284fee=>{const _0x1cda60=_0x3a92c0;this[_0x1cda60(0x18a)][_0x1cda60(0x1dc)](_0x284fee);}),_0x5e10a9;}[_0x14ef60(0x1b0)](_0x58caa0){const _0xe572da=_0x14ef60;return{'id':_0x58caa0['id'],'threadId':_0x58caa0[_0xe572da(0x1ef)],'ref':_0x58caa0[_0xe572da(0x1f1)]};}};_0x1c2270=_0x57837b([_0xdf1a53(0x0,_0x20d5f0['Inject'](_0x20277a[_0x14ef60(0x1fb)])),_0xdf1a53(0x1,_0x20d5f0[_0x14ef60(0x185)](_0x20d5f0[_0x14ef60(0x1b2)])),_0xdf1a53(0x2,_0x20d5f0[_0x14ef60(0x185)](_0x504b97['CollaborationSessionService']))],_0x1c2270);var _0x37b86e=Object[_0x14ef60(0x1ea)],_0x2607f7=(_0x3d7bd0,_0x4d1fde,_0x1fb7a4,_0x5cc5e2)=>{const _0x2d5dea=_0x14ef60;for(var _0x44059d=_0x5cc5e2>0x1?void 0x0:_0x5cc5e2?_0x37b86e(_0x4d1fde,_0x1fb7a4):_0x4d1fde,_0x11d0e8=_0x3d7bd0[_0x2d5dea(0x1cb)]-0x1,_0x476ccd;_0x11d0e8>=0x0;_0x11d0e8--)(_0x476ccd=_0x3d7bd0[_0x11d0e8])&&(_0x44059d=_0x476ccd(_0x44059d)||_0x44059d);return _0x44059d;},_0x2b9720=(_0x424f39,_0x5cedb9)=>(_0x198c30,_0x17fc00)=>_0x5cedb9(_0x198c30,_0x17fc00,_0x424f39);let _0x3f708a=class extends _0x20d5f0[_0x14ef60(0x1f0)]{constructor(_0x343b7b,_0x2e581d){const _0x3894fd=_0x14ef60;super(),this[_0x3894fd(0x1f8)]=_0x343b7b,this[_0x3894fd(0x1e0)]=_0x2e581d,this[_0x3894fd(0x1c6)]();}['_initDataSource'](){const _0x161ddb=_0x14ef60;this['_threadCommentDataSourceService']['dataSource']=this['_threadCommentDataSource'],this[_0x161ddb(0x1f8)][_0x161ddb(0x1a1)]=!0x1;}};_0x3f708a=_0x2607f7([_0x2b9720(0x0,_0x4f9e71['IThreadCommentDataSourceService']),_0x2b9720(0x1,_0x20d5f0[_0x14ef60(0x185)](_0x1c2270))],_0x3f708a);var _0x1e0353=Object[_0x14ef60(0x194)],_0x1bdad6=Object['getOwnPropertyDescriptor'],_0x38c663=(_0x382086,_0x92551d,_0x2776fe)=>_0x92551d in _0x382086?_0x1e0353(_0x382086,_0x92551d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2776fe}):_0x382086[_0x92551d]=_0x2776fe,_0x123923=(_0x4fd3d5,_0x2d3419,_0x1b9ac2,_0x52565f)=>{const _0x4b2c95=_0x14ef60;for(var _0x1d9973=_0x52565f>0x1?void 0x0:_0x52565f?_0x1bdad6(_0x2d3419,_0x1b9ac2):_0x2d3419,_0x2fe876=_0x4fd3d5[_0x4b2c95(0x1cb)]-0x1,_0x3fe16e;_0x2fe876>=0x0;_0x2fe876--)(_0x3fe16e=_0x4fd3d5[_0x2fe876])&&(_0x1d9973=_0x3fe16e(_0x1d9973)||_0x1d9973);return _0x1d9973;},_0x32ff6e=(_0x452a8b,_0x778e76)=>(_0x20e0aa,_0x5a638a)=>_0x778e76(_0x20e0aa,_0x5a638a,_0x452a8b),_0x35e4b7=(_0x205621,_0x49ee7b,_0x97dac5)=>_0x38c663(_0x205621,typeof _0x49ee7b!=_0x14ef60(0x1c4)?_0x49ee7b+'':_0x49ee7b,_0x97dac5);_0x535030[_0x14ef60(0x1d1)]=class extends _0x20d5f0[_0x14ef60(0x1f5)]{constructor(_0x3cfbfc=_0xd9a410,_0x1f125a,_0x12feac){const _0x1ac444=_0x14ef60;super(),this[_0x1ac444(0x1f6)]=_0x3cfbfc,this[_0x1ac444(0x1d9)]=_0x1f125a,this[_0x1ac444(0x18d)]=_0x12feac;const {..._0x2ae3ed}=_0x20d5f0[_0x1ac444(0x1fd)]({},_0xd9a410,this['_config']);this[_0x1ac444(0x18d)][_0x1ac444(0x1e3)](_0xb8d4e6,_0x2ae3ed);}[_0x14ef60(0x1f7)](){const _0x57ea92=_0x14ef60;[[_0x1c2270],[_0x3f708a],[_0x45c70f]][_0x57ea92(0x1ff)](_0x4219cf=>{const _0x4f756b=_0x57ea92;this[_0x4f756b(0x1d9)][_0x4f756b(0x1d2)](_0x4219cf);});}[_0x14ef60(0x18e)](){const _0x205d8b=_0x14ef60;this[_0x205d8b(0x1d9)][_0x205d8b(0x1e6)](_0x3f708a),this[_0x205d8b(0x1d9)][_0x205d8b(0x1e6)](_0x45c70f);}},_0x35e4b7(_0x535030['UniverThreadCommentDataSourcePlugin'],_0x14ef60(0x1fa),_0x3e569),_0x35e4b7(_0x535030[_0x14ef60(0x1d1)],_0x14ef60(0x1dd),_0x20d5f0[_0x14ef60(0x17f)][_0x14ef60(0x198)]),_0x535030['UniverThreadCommentDataSourcePlugin']=_0x123923([_0x20d5f0['DependentOn'](_0x4da799[_0x14ef60(0x1ed)],_0x504b97[_0x14ef60(0x1ce)],_0x51a395[_0x14ef60(0x1a6)]),_0x32ff6e(0x1,_0x20d5f0[_0x14ef60(0x185)](_0x20d5f0[_0x14ef60(0x1b1)])),_0x32ff6e(0x2,_0x20d5f0[_0x14ef60(0x1b4)])],_0x535030[_0x14ef60(0x1d1)]),Object[_0x14ef60(0x194)](_0x535030,Symbol[_0x14ef60(0x196)],{'value':'Module'});}));function _0x2a56(_0x3d97ff,_0x101063){const _0x3f33df=_0x3f33();return _0x2a56=function(_0x2a5600,_0x212b50){_0x2a5600=_0x2a5600-0x17c;let _0x1edeb0=_0x3f33df[_0x2a5600];return _0x1edeb0;},_0x2a56(_0x3d97ff,_0x101063);}function _0x3f33(){const _0x392c89=['/add','forEach','_sessionService','@univerjs/network','stringify','getComment','rangeId','2459433gpupJK','UniverInstanceType','rangeType','unitId','11BoFAcc','size','subscribe','Inject','UNRECOGNIZED','object','4524270aoXvpF','241550dxmafn','_userService','/delete','Solve','_configService','onReady','_httpService','@univerjs-pro/collaboration-client','/reply','values','CustomRangeType','defineProperty','getCurrentUser','toStringTag','listComments','UNIVER_UNKNOWN','format','solved','getUser','Reply','@univerjs/core','createTimestamp','OpenOrReOpen','Unknown','syncUpdateMutationToColla','2HoERio','map','UniverNetwork','resolved','UniverLicensePlugin','deleteComment','resolveComment','UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN','529422tqVsAm','802238uQbZEX','updateComment','Add','addComment','/solved','saveCommentToSnapshot','Injector','UserManagerService','CommentService','IConfigService','YYYY/MM/DD\x20HH:mm','code','body','comment','UniverThreadCommentUi','rxjs','UniverThreadComment','exports','post','_threadCommentModel','Edit','/list','Solved','replyId','@univerjs/thread-comment','symbol','disposeWithMe','_initDataSource','9272504PMaINo','28VBXvEb','COMMENT','requireSession','length','/universer-api/comment/unit/','9FEGuPY','UniverCollaborationClientPlugin','getUnit','parse','UniverThreadCommentDataSourcePlugin','add','Delete','UniverProLicense','root','replies','bufferTime','filter','_injector','_initUserSync','UniverCore','addUser','type','77zfuByI','commentUpdate$','_threadCommentDataSource','thread-comment-data-source.config','getMemberID','setConfig','userID','userId','get','23751708dhRdsE','/universer-api/user/list','parentId','getOwnPropertyDescriptor','@univerjs/thread-comment-ui','error','UniverThreadCommentUIPlugin','_commentService','threadId','Disposable','ref','@univerjs-pro/license','dayjs','users','Plugin','_config','onStarting','_threadCommentDataSourceService','_init','pluginName','HTTPService','delete','merge'];_0x3f33=function(){return _0x392c89;};return _0x3f33();}
14
+ function _0x43b6(){const _0xef9192=['solved','COMMENT','users','resolved','length','replyId','UniverLicensePlugin','Add','exports','root','userId','post','Plugin','format','stringify','/edit','parse','replies','updateComment','_userService','getUnit','UniverProCollaborationClient','UniverThreadComment','filter','1141bviBpN','getOwnPropertyDescriptor','saveCommentToSnapshot','user','disposeWithMe','/solved','rangeId','getMemberID','resolveComment','10zfECVt','payload','Injector','Unknown','@univerjs/thread-comment-ui','values','ThreadCommentModel','Delete','map','4883112UJMIkP','userID','onStarting','bufferTime','thread-comment-data-source.config','409904fnSnzq','ref','Inject','UniverThreadCommentUi','1420359XwfLXu','UniverThreadCommentUIPlugin','UNIVER_UNKNOWN','UniverInstanceType','/add','DependentOn','10579BjONCy','YYYY/MM/DD\x20HH:mm','rangeType','add','_configService','rxjs','slice','_commentService','@univerjs/core','UniverProLicense','CollaborationSessionService','UNRECOGNIZED','unitId','1449789WDzaiH','Solved','dayjs','comments','forEach','_threadCommentDataSource','merge','Edit','HTTPService','code','amd','CustomRangeType','type','object','subscribe','_injector','UniverCollaborationClientPlugin','Solve','CommentService','body','UniverNetwork','@univerjs-pro/license','Reply','@univerjs/network','addUser','@univerjs/thread-comment','UniverCore','deleteComment','_sessionService','dataSource','get','symbol','toStringTag','Disposable','_init','onReady','_threadCommentModel','addComment','getCurrentUser','_threadCommentDataSourceService','OpenOrReOpen','getUser','threadId','_initUserSync','30tkyFrd','UniverThreadCommentDataSourcePlugin','error','requireSession','_config','createTimestamp','defineProperty','36192erMutX','/delete','comment','/universer-api/user/list','_httpService','_initDataSource','6570117GCYWST','function','86hjDQyc','content','/universer-api/comment/unit/','UserManagerService','Module'];_0x43b6=function(){return _0xef9192;};return _0x43b6();}function _0x2263(_0x26951e,_0x51504c){const _0x43b6ef=_0x43b6();return _0x2263=function(_0x226364,_0x39c559){_0x226364=_0x226364-0x1a3;let _0x4e8dc4=_0x43b6ef[_0x226364];return _0x4e8dc4;},_0x2263(_0x26951e,_0x51504c);}(function(_0xd14ae0,_0xf243e5){const _0x20ddf4=_0x2263,_0x5068ca=_0xd14ae0();while(!![]){try{const _0x3ed83e=parseInt(_0x20ddf4(0x1c1))/0x1*(parseInt(_0x20ddf4(0x209))/0x2)+-parseInt(_0x20ddf4(0x1bb))/0x3+-parseInt(_0x20ddf4(0x1b7))/0x4*(parseInt(_0x20ddf4(0x1a9))/0x5)+-parseInt(_0x20ddf4(0x201))/0x6*(parseInt(_0x20ddf4(0x226))/0x7)+parseInt(_0x20ddf4(0x1b2))/0x8+parseInt(_0x20ddf4(0x207))/0x9+parseInt(_0x20ddf4(0x1fa))/0xa*(parseInt(_0x20ddf4(0x1ce))/0xb);if(_0x3ed83e===_0xf243e5)break;else _0x5068ca['push'](_0x5068ca['shift']());}catch(_0x191611){_0x5068ca['push'](_0x5068ca['shift']());}}}(_0x43b6,0x812b3),function(_0x5860bf,_0x298227){const _0xa7eb1e=_0x2263;typeof exports==_0xa7eb1e(0x1db)&&typeof module<'u'?_0x298227(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/thread-comment-ui'),require('@univerjs/thread-comment'),require('rxjs'),require('@univerjs/network')):typeof define==_0xa7eb1e(0x208)&&define[_0xa7eb1e(0x1d8)]?define([_0xa7eb1e(0x216),'@univerjs-pro/collaboration-client',_0xa7eb1e(0x1e3),_0xa7eb1e(0x1c9),_0xa7eb1e(0x1ad),_0xa7eb1e(0x1e7),_0xa7eb1e(0x1c6),_0xa7eb1e(0x1e5)],_0x298227):(_0x5860bf=typeof globalThis<'u'?globalThis:_0x5860bf||self,_0x298227(_0x5860bf['UniverProThreadCommentDatasource']={},_0x5860bf[_0xa7eb1e(0x223)],_0x5860bf[_0xa7eb1e(0x1ca)],_0x5860bf[_0xa7eb1e(0x1e8)],_0x5860bf[_0xa7eb1e(0x1ba)],_0x5860bf[_0xa7eb1e(0x224)],_0x5860bf[_0xa7eb1e(0x1c6)],_0x5860bf[_0xa7eb1e(0x1e2)]));}(this,function(_0x1364c8,_0x39b02d,_0x2c286d,_0x4fe2f8,_0x4dd2a8,_0x335fb0,_0x29d836,_0x2d13c2){'use strict';const _0x621c8a=_0x2263;const _0x4696c5='UNIVER_THREAD_COMMENT_DATA_SOURCE_PLUGIN';var _0x589ea0=(_0xdf4b59=>(_0xdf4b59[_0xdf4b59[_0x621c8a(0x1f6)]=0x0]='OpenOrReOpen',_0xdf4b59[_0xdf4b59[_0x621c8a(0x1cf)]=0x1]=_0x621c8a(0x1cf),_0xdf4b59[_0xdf4b59['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xdf4b59))(_0x589ea0||{}),_0x18e293=(_0xbd6438=>(_0xbd6438[_0xbd6438['Unknown']=0x0]=_0x621c8a(0x1ac),_0xbd6438[_0xbd6438['Add']=0x1]=_0x621c8a(0x215),_0xbd6438[_0xbd6438[_0x621c8a(0x1e4)]=0x2]=_0x621c8a(0x1e4),_0xbd6438[_0xbd6438[_0x621c8a(0x1d5)]=0x3]=_0x621c8a(0x1d5),_0xbd6438[_0xbd6438[_0x621c8a(0x1b0)]=0x4]=_0x621c8a(0x1b0),_0xbd6438[_0xbd6438[_0x621c8a(0x1df)]=0x5]=_0x621c8a(0x1df),_0xbd6438[_0xbd6438['UNRECOGNIZED']=-0x1]=_0x621c8a(0x1cc),_0xbd6438))(_0x18e293||{});const _0x34ad45=_0x5444c3=>_0x4fe2f8[_0x621c8a(0x1d0)](new Date(+_0x5444c3))[_0x621c8a(0x21b)](_0x621c8a(0x1c2)),_0x32d783=async(_0x352d11,_0x3cffdd)=>{const _0x4697b0=_0x621c8a,_0x2bd54d=_0x352d11[_0x4697b0(0x1ec)](_0x4fe2f8[_0x4697b0(0x20c)]),_0x543cd3=_0x352d11[_0x4697b0(0x1ec)](_0x2d13c2[_0x4697b0(0x1d6)]);_0x3cffdd[_0x4697b0(0x1d2)](_0x5f21bd=>{const _0x2e3569=_0x4697b0;_0x2bd54d[_0x2e3569(0x1f7)](_0x5f21bd)&&_0x3cffdd['delete'](_0x5f21bd);}),_0x3cffdd['size']&&(await _0x543cd3[_0x4697b0(0x1ec)](_0x4697b0(0x204),{'params':{'userIDs':[..._0x3cffdd]}}))[_0x4697b0(0x1e1)][_0x4697b0(0x210)]['forEach'](_0x40778b=>{const _0x581ad5=_0x4697b0;_0x40778b&&_0x2bd54d[_0x581ad5(0x1e6)](_0x40778b);});};var _0x48a680=Object[_0x621c8a(0x227)],_0x2b4e8f=(_0x1e14bd,_0x410822,_0x1a27e2,_0x195c04)=>{const _0x29c8cb=_0x621c8a;for(var _0x3b7566=_0x195c04>0x1?void 0x0:_0x195c04?_0x48a680(_0x410822,_0x1a27e2):_0x410822,_0x5eb332=_0x1e14bd[_0x29c8cb(0x212)]-0x1,_0x8d7e0f;_0x5eb332>=0x0;_0x5eb332--)(_0x8d7e0f=_0x1e14bd[_0x5eb332])&&(_0x3b7566=_0x8d7e0f(_0x3b7566)||_0x3b7566);return _0x3b7566;},_0x579027=(_0x46c716,_0x483230)=>(_0x590855,_0x533cfa)=>_0x483230(_0x590855,_0x533cfa,_0x46c716);let _0x479b42=class extends _0x4fe2f8[_0x621c8a(0x1ef)]{constructor(_0x5a0169,_0x245875,_0x241c80,_0x562fa5){const _0x46e933=_0x621c8a;super(),this[_0x46e933(0x1c8)]=_0x5a0169,this[_0x46e933(0x1f2)]=_0x245875,this[_0x46e933(0x221)]=_0x241c80,this['_injector']=_0x562fa5,this[_0x46e933(0x1f0)](),this['_initUserSync']();}[_0x621c8a(0x1f9)](){const _0x10aa3b=_0x621c8a;this['disposeWithMe'](this[_0x10aa3b(0x1f2)]['commentUpdate$']['pipe'](_0x29d836[_0x10aa3b(0x1b5)](0x10))[_0x10aa3b(0x1dc)](_0x82182a=>{const _0x8f9877=_0x10aa3b,_0x2ae634=new Set();_0x82182a[_0x8f9877(0x1d2)](_0x293d12=>{const _0x2d7df9=_0x8f9877;switch(_0x293d12[_0x2d7df9(0x1da)]){case'add':{const _0x2775eb=_0x293d12[_0x2d7df9(0x1aa)]['personId'];_0x2ae634[_0x2d7df9(0x1c4)](_0x2775eb);break;}}}),_0x32d783(this['_injector'],_0x2ae634);}));}[_0x621c8a(0x1f0)](){const _0x3fbc45=_0x621c8a;this[_0x3fbc45(0x1a4)](this[_0x3fbc45(0x1c8)]['commentUpdate$'][_0x3fbc45(0x1dc)](async _0x48d7a8=>{const _0x5311f1=_0x3fbc45;var _0xcf88c0,_0x5c0372,_0xae7ec2,_0x11c52a;const _0x555409=(_0xcf88c0=this['_threadCommentModel'][_0x5311f1(0x222)](_0x48d7a8[_0x5311f1(0x1cd)])['find'](_0x1ae19b=>_0x1ae19b[_0x5311f1(0x1f8)]===_0x48d7a8[_0x5311f1(0x1f8)]))==null?void 0x0:_0xcf88c0[_0x5311f1(0x217)];if(!_0x555409)return;const {unitId:_0x2d61a9,subUnitId:_0x70e6f6}=_0x555409;switch(_0x48d7a8[_0x5311f1(0x1a3)]&&this[_0x5311f1(0x221)]['addUser'](_0x48d7a8[_0x5311f1(0x1a3)]),_0x48d7a8[_0x5311f1(0x1da)]){case _0x18e293[_0x5311f1(0x215)]:break;case _0x18e293['Reply']:{this['_threadCommentModel'][_0x5311f1(0x1f3)](_0x2d61a9,_0x70e6f6,{'unitId':_0x2d61a9,'subUnitId':_0x70e6f6,'ref':'','id':_0x48d7a8['replyId'],'dT':_0x34ad45(+_0x48d7a8[_0x5311f1(0x1ff)]),'threadId':_0x48d7a8[_0x5311f1(0x1f8)],'personId':(_0xae7ec2=(_0x5c0372=_0x48d7a8[_0x5311f1(0x1a3)])==null?void 0x0:_0x5c0372[_0x5311f1(0x1b3)])!=null?_0xae7ec2:_0x48d7a8[_0x5311f1(0x218)],'text':JSON[_0x5311f1(0x21e)](_0x48d7a8[_0x5311f1(0x20a)]),'parentId':_0x555409['id']});break;}case _0x18e293[_0x5311f1(0x1b0)]:{const _0x392d86=this[_0x5311f1(0x1f2)]['getComment'](_0x2d61a9,_0x70e6f6,_0x48d7a8[_0x5311f1(0x213)]);_0x392d86&&_0x392d86['parentId']&&this['_threadCommentModel'][_0x5311f1(0x1e9)](_0x2d61a9,_0x70e6f6,_0x48d7a8[_0x5311f1(0x213)]);break;}case _0x18e293[_0x5311f1(0x1d5)]:{this[_0x5311f1(0x1f2)][_0x5311f1(0x220)](_0x2d61a9,_0x70e6f6,{'commentId':_0x48d7a8['replyId'],'text':JSON['parse'](_0x48d7a8['content'])});break;}case _0x18e293[_0x5311f1(0x1df)]:{const _0x277692=(_0x11c52a=this['_threadCommentModel'][_0x5311f1(0x222)](_0x48d7a8[_0x5311f1(0x1cd)])['find'](_0x8967a7=>_0x8967a7[_0x5311f1(0x1f8)]===_0x48d7a8[_0x5311f1(0x1f8)]))==null?void 0x0:_0x11c52a[_0x5311f1(0x217)];_0x277692&&this['_threadCommentModel']['resolveComment'](_0x2d61a9,_0x70e6f6,_0x277692['id'],_0x48d7a8[_0x5311f1(0x20e)]===_0x589ea0[_0x5311f1(0x1cf)]);break;}}}));}};_0x479b42=_0x2b4e8f([_0x579027(0x0,_0x4fe2f8[_0x621c8a(0x1b9)](_0x39b02d[_0x621c8a(0x1e0)])),_0x579027(0x1,_0x4fe2f8[_0x621c8a(0x1b9)](_0x335fb0[_0x621c8a(0x1af)])),_0x579027(0x2,_0x4fe2f8[_0x621c8a(0x1b9)](_0x4fe2f8[_0x621c8a(0x20c)])),_0x579027(0x3,_0x4fe2f8[_0x621c8a(0x1b9)](_0x4fe2f8[_0x621c8a(0x1ab)]))],_0x479b42);const _0x492efb=_0x621c8a(0x1b6),_0x27617e={};var _0x290262=Object[_0x621c8a(0x227)],_0xe659bf=(_0x3000e6,_0x57c87c,_0x25aaef,_0x25c6a1)=>{const _0x58c15f=_0x621c8a;for(var _0x370b6e=_0x25c6a1>0x1?void 0x0:_0x25c6a1?_0x290262(_0x57c87c,_0x25aaef):_0x57c87c,_0xa18c26=_0x3000e6[_0x58c15f(0x212)]-0x1,_0x399e0b;_0xa18c26>=0x0;_0xa18c26--)(_0x399e0b=_0x3000e6[_0xa18c26])&&(_0x370b6e=_0x399e0b(_0x370b6e)||_0x370b6e);return _0x370b6e;},_0x3f08a2=(_0x556b74,_0x1c4725)=>(_0x2869fe,_0x252775)=>_0x1c4725(_0x2869fe,_0x252775,_0x556b74);function _0x13c38e(_0x5031a2,_0x170e2f){const _0x59d96f=_0x621c8a,_0xea9d2e=_0x5031a2[_0x59d96f(0x21f)][0x0];return{..._0x170e2f,'id':_0xea9d2e[_0x59d96f(0x213)],'resolved':_0x5031a2[_0x59d96f(0x20e)]===0x1,'dT':_0x34ad45(_0xea9d2e['createTimestamp']),'personId':_0xea9d2e[_0x59d96f(0x218)],'threadId':_0xea9d2e[_0x59d96f(0x1f8)]};}function _0x286105(_0x51c281,_0x40367e,_0x386aa4){const _0x4244bf=_0x621c8a;var _0x389807,_0x41fe8c;if(((_0x41fe8c=(_0x389807=_0x51c281==null?void 0x0:_0x51c281[_0x4244bf(0x21f)])==null?void 0x0:_0x389807[_0x4244bf(0x212)])!=null?_0x41fe8c:0x0)>0x0){const _0x11783f=(_0x5d8e4b,_0x1bb702)=>({'id':_0x5d8e4b[_0x4244bf(0x213)],'threadId':_0x5d8e4b[_0x4244bf(0x1f8)],'dT':_0x34ad45(_0x5d8e4b[_0x4244bf(0x1ff)]),'personId':_0x5d8e4b['userId'],'resolved':_0x51c281[_0x4244bf(0x20e)]===_0x589ea0[_0x4244bf(0x1cf)],'unitId':_0x40367e,'subUnitId':_0x386aa4,'text':JSON['parse'](_0x5d8e4b['content']),'parentId':_0x1bb702}),_0x7ceb7e=_0x11783f(_0x51c281[_0x4244bf(0x21f)][0x0]);return{..._0x7ceb7e,'children':_0x51c281[_0x4244bf(0x21f)][_0x4244bf(0x1c7)](0x1)[_0x4244bf(0x1b1)](_0x32c0cf=>_0x11783f(_0x32c0cf,_0x7ceb7e['id']))};}return null;}let _0x14208e=class{constructor(_0x3797a7,_0x2498f7,_0x367310){const _0x1abdfb=_0x621c8a;this[_0x1abdfb(0x205)]=_0x3797a7,this[_0x1abdfb(0x221)]=_0x2498f7,this[_0x1abdfb(0x1ea)]=_0x367310;}async[_0x621c8a(0x1f3)](_0x216feb){const _0x1aabdd=_0x621c8a;var _0x112b29,_0x2d497b;const {parentId:_0x57904f,unitId:_0x2b53c9,text:_0x4a91ef,threadId:_0x24a3ab}=_0x216feb,_0x227674=(_0x2d497b=(_0x112b29=_0x4a91ef['customRanges'])==null?void 0x0:_0x112b29[_0x1aabdd(0x225)](_0x52d885=>_0x52d885[_0x1aabdd(0x1c3)]===_0x4fe2f8[_0x1aabdd(0x1d9)][_0x1aabdd(0x20f)])['map'](_0x370e17=>_0x370e17[_0x1aabdd(0x1a6)]))!=null?_0x2d497b:[],_0x15bc49=JSON[_0x1aabdd(0x21c)](_0x4a91ef),_0x4bcd87=(await this[_0x1aabdd(0x1ea)][_0x1aabdd(0x1fd)](_0x2b53c9))[_0x1aabdd(0x1a7)]();if(_0x57904f){const _0x4a02bb={'memberId':_0x4bcd87,'unitId':_0x2b53c9,'content':_0x15bc49,'mention':_0x227674,'threadId':_0x24a3ab},_0x2da8d9=(await this[_0x1aabdd(0x205)][_0x1aabdd(0x219)](_0x1aabdd(0x20b)+_0x2b53c9+'/reply',{'body':_0x4a02bb}))[_0x1aabdd(0x1e1)]['reply'];return{..._0x216feb,'id':_0x2da8d9[_0x1aabdd(0x213)],'dT':_0x4fe2f8['dayjs'](+_0x2da8d9[_0x1aabdd(0x1ff)])['format'](_0x1aabdd(0x1c2)),'personId':_0x2da8d9[_0x1aabdd(0x218)]};}else{const _0x2cc378={'memberId':_0x4bcd87,'unitId':_0x2b53c9,'content':_0x15bc49,'mention':_0x227674},_0x5da2f2=await this[_0x1aabdd(0x205)][_0x1aabdd(0x219)](_0x1aabdd(0x20b)+_0x2b53c9+_0x1aabdd(0x1bf),{'body':_0x2cc378});return _0x13c38e(_0x5da2f2[_0x1aabdd(0x1e1)][_0x1aabdd(0x203)],_0x216feb);}}async[_0x621c8a(0x220)](_0xc994e9){const _0x491d2e=_0x621c8a;var _0xb15531,_0x36ac69;const {text:_0x418561,unitId:_0x26af0d}=_0xc994e9,_0x11a4b1=(_0x36ac69=(_0xb15531=_0x418561['customRanges'])==null?void 0x0:_0xb15531['filter'](_0x52e0cc=>_0x52e0cc[_0x491d2e(0x1c3)]===_0x4fe2f8[_0x491d2e(0x1d9)][_0x491d2e(0x20f)])[_0x491d2e(0x1b1)](_0x1940cc=>_0x1940cc['rangeId']))!=null?_0x36ac69:[],_0xfd37db=JSON[_0x491d2e(0x21c)](_0x418561),_0x4cc4bf=_0xc994e9[_0x491d2e(0x1f8)],_0x5f0442=_0xc994e9['id'],_0x5e5958={'memberId':(await this[_0x491d2e(0x1ea)][_0x491d2e(0x1fd)](_0x26af0d))[_0x491d2e(0x1a7)](),'unitId':_0x26af0d,'threadId':_0x4cc4bf,'mention':_0x11a4b1,'content':_0xfd37db,'replyId':_0x5f0442},_0x5058ed=await this['_httpService'][_0x491d2e(0x219)](_0x491d2e(0x20b)+_0x26af0d+_0x491d2e(0x21d),{'body':_0x5e5958});return!_0x5058ed[_0x491d2e(0x1e1)][_0x491d2e(0x1fc)]||_0x5058ed[_0x491d2e(0x1e1)][_0x491d2e(0x1fc)][_0x491d2e(0x1d7)]===0x1;}async[_0x621c8a(0x1a8)](_0x521bd1){const _0x29cd5d=_0x621c8a,{unitId:_0x35773f}=_0x521bd1,_0x531f53=_0x521bd1[_0x29cd5d(0x1f8)],_0x44a999={'memberId':this[_0x29cd5d(0x221)][_0x29cd5d(0x1f4)]()['userID'],'unitId':_0x35773f,'threadId':_0x531f53,'solved':_0x521bd1[_0x29cd5d(0x211)]?_0x589ea0[_0x29cd5d(0x1cf)]:_0x589ea0[_0x29cd5d(0x1f6)]},_0x2048bb=await this[_0x29cd5d(0x205)][_0x29cd5d(0x219)](_0x29cd5d(0x20b)+_0x35773f+_0x29cd5d(0x1a5),{'body':_0x44a999});return!_0x2048bb[_0x29cd5d(0x1e1)][_0x29cd5d(0x1fc)]||_0x2048bb['body'][_0x29cd5d(0x1fc)]['code']===0x1;}async[_0x621c8a(0x1e9)](_0x581cb1,_0x2c0d3d,_0x2ee973,_0x3a5334){const _0x43b918=_0x621c8a,_0x1ef600={'memberId':(await this[_0x43b918(0x1ea)][_0x43b918(0x1fd)](_0x581cb1))[_0x43b918(0x1a7)](),'threadId':_0x2ee973,'replyId':_0x3a5334,'unitId':_0x581cb1},_0x323014=await this[_0x43b918(0x205)][_0x43b918(0x219)](_0x43b918(0x20b)+_0x581cb1+_0x43b918(0x202),{'body':_0x1ef600});return!_0x323014[_0x43b918(0x1e1)]['error']||_0x323014[_0x43b918(0x1e1)][_0x43b918(0x1fc)][_0x43b918(0x1d7)]===0x1;}async['listComments'](_0x23d2ac,_0x568b3d,_0x63bf56){const _0x40bc64=_0x621c8a,_0xe15183={'unitId':_0x23d2ac,'threadId':_0x63bf56},_0x35e970=await this[_0x40bc64(0x205)][_0x40bc64(0x219)]('/universer-api/comment/unit/'+_0x23d2ac+'/list',{'body':_0xe15183}),_0x1b4263=_0x63bf56[_0x40bc64(0x1b1)](_0x50611d=>_0x286105(_0x35e970['body'][_0x40bc64(0x1d1)][_0x50611d],_0x23d2ac,_0x568b3d))[_0x40bc64(0x225)](Boolean);return Object[_0x40bc64(0x1ae)](_0x35e970[_0x40bc64(0x1e1)][_0x40bc64(0x210)])[_0x40bc64(0x1d2)](_0x36411f=>{const _0x33947d=_0x40bc64;this['_userService'][_0x33947d(0x1e6)](_0x36411f);}),_0x1b4263;}[_0x621c8a(0x228)](_0x2826a4){const _0x1ffd4e=_0x621c8a;return{'id':_0x2826a4['id'],'threadId':_0x2826a4['threadId'],'ref':_0x2826a4[_0x1ffd4e(0x1b8)]};}};_0x14208e=_0xe659bf([_0x3f08a2(0x0,_0x4fe2f8[_0x621c8a(0x1b9)](_0x2d13c2[_0x621c8a(0x1d6)])),_0x3f08a2(0x1,_0x4fe2f8[_0x621c8a(0x1b9)](_0x4fe2f8[_0x621c8a(0x20c)])),_0x3f08a2(0x2,_0x4fe2f8[_0x621c8a(0x1b9)](_0x39b02d[_0x621c8a(0x1cb)]))],_0x14208e);var _0x49bc21=Object[_0x621c8a(0x227)],_0x5b47dc=(_0x4db194,_0x57ca5c,_0x457608,_0x3a60b6)=>{const _0x5e58a4=_0x621c8a;for(var _0x1b0cae=_0x3a60b6>0x1?void 0x0:_0x3a60b6?_0x49bc21(_0x57ca5c,_0x457608):_0x57ca5c,_0x3807bc=_0x4db194[_0x5e58a4(0x212)]-0x1,_0x524fe6;_0x3807bc>=0x0;_0x3807bc--)(_0x524fe6=_0x4db194[_0x3807bc])&&(_0x1b0cae=_0x524fe6(_0x1b0cae)||_0x1b0cae);return _0x1b0cae;},_0x2e4e1a=(_0x56aefc,_0x411035)=>(_0x5564c1,_0x130719)=>_0x411035(_0x5564c1,_0x130719,_0x56aefc);let _0x4bf261=class extends _0x4fe2f8[_0x621c8a(0x1ef)]{constructor(_0x2fe674,_0x54cd8f){const _0x1c9525=_0x621c8a;super(),this[_0x1c9525(0x1f5)]=_0x2fe674,this[_0x1c9525(0x1d3)]=_0x54cd8f,this[_0x1c9525(0x206)]();}['_initDataSource'](){const _0x2dbd77=_0x621c8a;this['_threadCommentDataSourceService'][_0x2dbd77(0x1eb)]=this[_0x2dbd77(0x1d3)],this[_0x2dbd77(0x1f5)]['syncUpdateMutationToColla']=!0x1;}};_0x4bf261=_0x5b47dc([_0x2e4e1a(0x0,_0x335fb0['IThreadCommentDataSourceService']),_0x2e4e1a(0x1,_0x4fe2f8[_0x621c8a(0x1b9)](_0x14208e))],_0x4bf261);var _0x24e48e=Object[_0x621c8a(0x200)],_0x2b6ea3=Object[_0x621c8a(0x227)],_0x5a4e09=(_0x1b89e4,_0x601104,_0x5921c3)=>_0x601104 in _0x1b89e4?_0x24e48e(_0x1b89e4,_0x601104,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5921c3}):_0x1b89e4[_0x601104]=_0x5921c3,_0x4b39da=(_0x5d4a9f,_0x1ba3b8,_0x1708e3,_0x1df463)=>{const _0x562803=_0x621c8a;for(var _0x38b97e=_0x1df463>0x1?void 0x0:_0x1df463?_0x2b6ea3(_0x1ba3b8,_0x1708e3):_0x1ba3b8,_0x339de0=_0x5d4a9f[_0x562803(0x212)]-0x1,_0x3f85fa;_0x339de0>=0x0;_0x339de0--)(_0x3f85fa=_0x5d4a9f[_0x339de0])&&(_0x38b97e=_0x3f85fa(_0x38b97e)||_0x38b97e);return _0x38b97e;},_0x1706f7=(_0x5bc052,_0x395508)=>(_0x3dbfdd,_0x162e21)=>_0x395508(_0x3dbfdd,_0x162e21,_0x5bc052),_0x16bba0=(_0x11750b,_0x240602,_0x3997ea)=>_0x5a4e09(_0x11750b,typeof _0x240602!=_0x621c8a(0x1ed)?_0x240602+'':_0x240602,_0x3997ea);_0x1364c8['UniverThreadCommentDataSourcePlugin']=class extends _0x4fe2f8[_0x621c8a(0x21a)]{constructor(_0x3f27be=_0x27617e,_0x209b5b,_0x2b3de3){const _0x5d3465=_0x621c8a;super(),this[_0x5d3465(0x1fe)]=_0x3f27be,this['_injector']=_0x209b5b,this[_0x5d3465(0x1c5)]=_0x2b3de3;const {..._0x5e42ec}=_0x4fe2f8[_0x5d3465(0x1d4)]({},_0x27617e,this['_config']);this[_0x5d3465(0x1c5)]['setConfig'](_0x492efb,_0x5e42ec);}[_0x621c8a(0x1b4)](){[[_0x14208e],[_0x4bf261],[_0x479b42]]['forEach'](_0x4623e4=>{const _0x234546=_0x2263;this[_0x234546(0x1dd)][_0x234546(0x1c4)](_0x4623e4);});}[_0x621c8a(0x1f1)](){const _0x20d6b9=_0x621c8a;this[_0x20d6b9(0x1dd)][_0x20d6b9(0x1ec)](_0x4bf261),this[_0x20d6b9(0x1dd)][_0x20d6b9(0x1ec)](_0x479b42);}},_0x16bba0(_0x1364c8[_0x621c8a(0x1fb)],'pluginName',_0x4696c5),_0x16bba0(_0x1364c8[_0x621c8a(0x1fb)],_0x621c8a(0x1da),_0x4fe2f8[_0x621c8a(0x1be)][_0x621c8a(0x1bd)]),_0x1364c8[_0x621c8a(0x1fb)]=_0x4b39da([_0x4fe2f8[_0x621c8a(0x1c0)](_0x4dd2a8[_0x621c8a(0x1bc)],_0x39b02d[_0x621c8a(0x1de)],_0x2c286d[_0x621c8a(0x214)]),_0x1706f7(0x1,_0x4fe2f8['Inject'](_0x4fe2f8[_0x621c8a(0x1ab)])),_0x1706f7(0x2,_0x4fe2f8['IConfigService'])],_0x1364c8[_0x621c8a(0x1fb)]),Object[_0x621c8a(0x200)](_0x1364c8,Symbol[_0x621c8a(0x1ee)],{'value':_0x621c8a(0x20d)});}));
15
15
 
16
16
  // @univerjs-pro/edit-history-viewer/index
17
- function _0x5278(_0x416c31,_0x436ba0){const _0x59a325=_0x59a3();return _0x5278=function(_0x52788e,_0x30898d){_0x52788e=_0x52788e-0x171;let _0x94d7e9=_0x59a325[_0x52788e];return _0x94d7e9;},_0x5278(_0x416c31,_0x436ba0);}(function(_0x4c14c1,_0x2fa579){const _0x45ae8c=_0x5278,_0x31bb1c=_0x4c14c1();while(!![]){try{const _0x2dc72f=parseInt(_0x45ae8c(0x239))/0x1*(parseInt(_0x45ae8c(0x396))/0x2)+parseInt(_0x45ae8c(0x36a))/0x3*(-parseInt(_0x45ae8c(0x368))/0x4)+parseInt(_0x45ae8c(0x2ba))/0x5*(parseInt(_0x45ae8c(0x1d5))/0x6)+-parseInt(_0x45ae8c(0x355))/0x7*(-parseInt(_0x45ae8c(0x315))/0x8)+-parseInt(_0x45ae8c(0x19b))/0x9+-parseInt(_0x45ae8c(0x347))/0xa*(-parseInt(_0x45ae8c(0x28f))/0xb)+-parseInt(_0x45ae8c(0x1ea))/0xc;if(_0x2dc72f===_0x2fa579)break;else _0x31bb1c['push'](_0x31bb1c['shift']());}catch(_0x3cd5ab){_0x31bb1c['push'](_0x31bb1c['shift']());}}}(_0x59a3,0x5ee87),function(_0x4cf540,_0x2beed0){const _0x48eeee=_0x5278;typeof exports==_0x48eeee(0x206)&&typeof module<'u'?_0x2beed0(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x48eeee(0x26d)&&define[_0x48eeee(0x33a)]?define([_0x48eeee(0x3ae),_0x48eeee(0x188),_0x48eeee(0x2a0),_0x48eeee(0x390),_0x48eeee(0x23a),'@univerjs/engine-render',_0x48eeee(0x29b),_0x48eeee(0x1d1),_0x48eeee(0x2dd),_0x48eeee(0x27e),_0x48eeee(0x18a),'rxjs','@univerjs-pro/sheets-sparkline',_0x48eeee(0x1dd),_0x48eeee(0x349),_0x48eeee(0x287),_0x48eeee(0x209),_0x48eeee(0x214),_0x48eeee(0x184)],_0x2beed0):(_0x4cf540=typeof globalThis<'u'?globalThis:_0x4cf540||self,_0x2beed0(_0x4cf540['UniverProEditHistoryViewer']={},_0x4cf540['UniverProCollaboration'],_0x4cf540[_0x48eeee(0x1a8)],_0x4cf540['UniverCore'],_0x4cf540[_0x48eeee(0x21b)],_0x4cf540[_0x48eeee(0x2a1)],_0x4cf540['UniverNetwork'],_0x4cf540[_0x48eeee(0x1a4)],_0x4cf540['UniverUi'],_0x4cf540[_0x48eeee(0x268)],_0x4cf540[_0x48eeee(0x1d2)],_0x4cf540[_0x48eeee(0x23d)],_0x4cf540[_0x48eeee(0x30e)],_0x4cf540[_0x48eeee(0x2e0)],_0x4cf540['UniverSheetsConditionalFormatting'],_0x4cf540['UniverSheetsFilter'],_0x4cf540['React'],_0x4cf540[_0x48eeee(0x330)],_0x4cf540[_0x48eeee(0x1ad)]));}(this,function(_0x35604f,_0x27dc7c,_0x50ff9d,_0x37bc8e,_0x4710f1,_0x30b220,_0x1fb47b,_0x3272da,_0x52e672,_0x427142,_0x5636be,_0x564f4,_0x313aba,_0x28a287,_0x837431,_0x2f4848,_0x14d5ca,_0x57e528,_0x475d42){'use strict';const _0x49ed4b=_0x5278;var _0x11beab=Object[_0x49ed4b(0x1b3)],_0x797c61=(_0x1fc778,_0x24a115,_0x117c5e)=>_0x24a115 in _0x1fc778?_0x11beab(_0x1fc778,_0x24a115,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x117c5e}):_0x1fc778[_0x24a115]=_0x117c5e,_0x386937=(_0x35b10c,_0x48d789,_0x54e55e)=>_0x797c61(_0x35b10c,typeof _0x48d789!=_0x49ed4b(0x28c)?_0x48d789+'':_0x48d789,_0x54e55e);const _0x1a7f92=_0x49ed4b(0x2d0),_0x1cbf71={};var _0x457b70=Object[_0x49ed4b(0x1b4)],_0x3e63d7=(_0x530bc7,_0x53c2f6,_0x1bd02f,_0x132247)=>{for(var _0x5b2208=_0x132247>0x1?void 0x0:_0x132247?_0x457b70(_0x53c2f6,_0x1bd02f):_0x53c2f6,_0xfd5393=_0x530bc7['length']-0x1,_0x32c413;_0xfd5393>=0x0;_0xfd5393--)(_0x32c413=_0x530bc7[_0xfd5393])&&(_0x5b2208=_0x32c413(_0x5b2208)||_0x5b2208);return _0x5b2208;},_0x3df46b=(_0x406ecf,_0x4595cd)=>(_0x2092f7,_0x29ae63)=>_0x4595cd(_0x2092f7,_0x29ae63,_0x406ecf);let _0x1bbd79=class extends _0x37bc8e['Disposable']{constructor(_0x1a897c){const _0x5c9509=_0x49ed4b;super(),this[_0x5c9509(0x22d)]=_0x1a897c,this[_0x5c9509(0x244)]();}['_init'](){const _0x23e87e=_0x49ed4b;this[_0x23e87e(0x337)](this[_0x23e87e(0x22d)][_0x23e87e(0x1de)]['subscribe'](_0x7bbc82=>{const _0x31ea1d=_0x23e87e;_0x7bbc82!=null&&_0x7bbc82[_0x31ea1d(0x1ac)]&&this[_0x31ea1d(0x22d)][_0x31ea1d(0x281)]({'show':!0x1});}));}};_0x1bbd79=_0x3e63d7([_0x3df46b(0x0,_0x3272da[_0x49ed4b(0x245)])],_0x1bbd79);var _0x494040=(_0x85bdab=>(_0x85bdab[_0x85bdab[_0x49ed4b(0x33d)]=0x0]=_0x49ed4b(0x33d),_0x85bdab[_0x85bdab['OK']=0x1]='OK',_0x85bdab[_0x85bdab[_0x49ed4b(0x253)]=0x2]=_0x49ed4b(0x253),_0x85bdab[_0x85bdab['PERMISSION_DENIED']=0x3]=_0x49ed4b(0x225),_0x85bdab[_0x85bdab[_0x49ed4b(0x221)]=0x4]=_0x49ed4b(0x221),_0x85bdab[_0x85bdab['UNAUTHENTICATED']=0x5]=_0x49ed4b(0x30a),_0x85bdab[_0x85bdab[_0x49ed4b(0x383)]=0x6]=_0x49ed4b(0x383),_0x85bdab[_0x85bdab[_0x49ed4b(0x36f)]=0x7]=_0x49ed4b(0x36f),_0x85bdab[_0x85bdab[_0x49ed4b(0x265)]=0x8]=_0x49ed4b(0x265),_0x85bdab[_0x85bdab[_0x49ed4b(0x2a9)]=0x9]=_0x49ed4b(0x2a9),_0x85bdab[_0x85bdab['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x85bdab[_0x85bdab[_0x49ed4b(0x313)]=0xb]=_0x49ed4b(0x313),_0x85bdab[_0x85bdab['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x49ed4b(0x303),_0x85bdab[_0x85bdab[_0x49ed4b(0x1a6)]=0xd]=_0x49ed4b(0x1a6),_0x85bdab[_0x85bdab['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x49ed4b(0x38c),_0x85bdab[_0x85bdab[_0x49ed4b(0x176)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x85bdab[_0x85bdab[_0x49ed4b(0x28b)]=0x10]=_0x49ed4b(0x28b),_0x85bdab[_0x85bdab[_0x49ed4b(0x29d)]=0x64]=_0x49ed4b(0x29d),_0x85bdab[_0x85bdab[_0x49ed4b(0x2c8)]=0x65]='ERROR_AGAIN',_0x85bdab[_0x85bdab['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x85bdab[_0x85bdab[_0x49ed4b(0x302)]=0xca]=_0x49ed4b(0x302),_0x85bdab[_0x85bdab[_0x49ed4b(0x323)]=0x1389]=_0x49ed4b(0x323),_0x85bdab[_0x85bdab[_0x49ed4b(0x1f1)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x85bdab[_0x85bdab[_0x49ed4b(0x295)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x85bdab[_0x85bdab[_0x49ed4b(0x296)]=0x1773]=_0x49ed4b(0x296),_0x85bdab[_0x85bdab[_0x49ed4b(0x21e)]=0x1b59]=_0x49ed4b(0x21e),_0x85bdab[_0x85bdab['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x49ed4b(0x269),_0x85bdab[_0x85bdab[_0x49ed4b(0x293)]=0x1b5b]=_0x49ed4b(0x293),_0x85bdab[_0x85bdab[_0x49ed4b(0x2a8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x85bdab[_0x85bdab['APPLY_DUPLICATED']=0x1b5d]=_0x49ed4b(0x2aa),_0x85bdab[_0x85bdab[_0x49ed4b(0x3af)]=0x1f41]=_0x49ed4b(0x3af),_0x85bdab[_0x85bdab['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x85bdab[_0x85bdab[_0x49ed4b(0x2cf)]=0x232a]=_0x49ed4b(0x2cf),_0x85bdab[_0x85bdab[_0x49ed4b(0x392)]=0x232b]=_0x49ed4b(0x392),_0x85bdab[_0x85bdab[_0x49ed4b(0x19d)]=0x232c]=_0x49ed4b(0x19d),_0x85bdab[_0x85bdab[_0x49ed4b(0x29f)]=0x232d]=_0x49ed4b(0x29f),_0x85bdab[_0x85bdab[_0x49ed4b(0x179)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x85bdab[_0x85bdab[_0x49ed4b(0x339)]=0x2712]=_0x49ed4b(0x339),_0x85bdab[_0x85bdab['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x49ed4b(0x2e4),_0x85bdab[_0x85bdab[_0x49ed4b(0x20d)]=0x2714]=_0x49ed4b(0x20d),_0x85bdab[_0x85bdab[_0x49ed4b(0x218)]=0x271a]=_0x49ed4b(0x218),_0x85bdab[_0x85bdab['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x49ed4b(0x17f),_0x85bdab[_0x85bdab[_0x49ed4b(0x376)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x85bdab[_0x85bdab[_0x49ed4b(0x233)]=0x271d]=_0x49ed4b(0x233),_0x85bdab[_0x85bdab[_0x49ed4b(0x38a)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x85bdab[_0x85bdab['YUUMI_AI_RUN_FAILED']=0x271f]=_0x49ed4b(0x39f),_0x85bdab[_0x85bdab[_0x49ed4b(0x31b)]=0x2720]=_0x49ed4b(0x31b),_0x85bdab[_0x85bdab[_0x49ed4b(0x259)]=0x2af9]=_0x49ed4b(0x259),_0x85bdab[_0x85bdab[_0x49ed4b(0x373)]=0x2ee1]=_0x49ed4b(0x373),_0x85bdab[_0x85bdab[_0x49ed4b(0x226)]=0x2ee2]=_0x49ed4b(0x226),_0x85bdab[_0x85bdab[_0x49ed4b(0x31a)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x85bdab[_0x85bdab[_0x49ed4b(0x249)]=0x2ee4]=_0x49ed4b(0x249),_0x85bdab[_0x85bdab[_0x49ed4b(0x1eb)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x85bdab[_0x85bdab['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x49ed4b(0x336),_0x85bdab[_0x85bdab['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x49ed4b(0x38e),_0x85bdab[_0x85bdab[_0x49ed4b(0x2fe)]=0x32cb]=_0x49ed4b(0x2fe),_0x85bdab[_0x85bdab['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x49ed4b(0x381),_0x85bdab[_0x85bdab[_0x49ed4b(0x27d)]=0x36b2]=_0x49ed4b(0x27d),_0x85bdab[_0x85bdab[_0x49ed4b(0x26b)]=0x36b3]=_0x49ed4b(0x26b),_0x85bdab[_0x85bdab[_0x49ed4b(0x2dc)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x85bdab[_0x85bdab['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x49ed4b(0x26c),_0x85bdab[_0x85bdab[_0x49ed4b(0x3a5)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x85bdab[_0x85bdab['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x49ed4b(0x27a),_0x85bdab[_0x85bdab[_0x49ed4b(0x318)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x85bdab[_0x85bdab[_0x49ed4b(0x2f9)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x85bdab[_0x85bdab['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x49ed4b(0x200),_0x85bdab[_0x85bdab[_0x49ed4b(0x37e)]=0x3a9b]=_0x49ed4b(0x37e),_0x85bdab[_0x85bdab[_0x49ed4b(0x21f)]=0x3a9c]=_0x49ed4b(0x21f),_0x85bdab[_0x85bdab['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x49ed4b(0x1c9),_0x85bdab[_0x85bdab['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x49ed4b(0x230),_0x85bdab[_0x85bdab['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x85bdab[_0x85bdab[_0x49ed4b(0x2d9)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x85bdab[_0x85bdab[_0x49ed4b(0x22c)]=-0x1]=_0x49ed4b(0x22c),_0x85bdab))(_0x494040||{}),_0x16fabb=(_0x16eff1=>(_0x16eff1[_0x16eff1[_0x49ed4b(0x30b)]=0x0]='UNIVER_UNKNOWN',_0x16eff1[_0x16eff1[_0x49ed4b(0x34e)]=0x1]=_0x49ed4b(0x34e),_0x16eff1[_0x16eff1[_0x49ed4b(0x212)]=0x2]=_0x49ed4b(0x212),_0x16eff1[_0x16eff1['UNIVER_SLIDE']=0x3]=_0x49ed4b(0x35c),_0x16eff1[_0x16eff1['UNIVER_PROJECT']=0x4]=_0x49ed4b(0x2ce),_0x16eff1[_0x16eff1[_0x49ed4b(0x22c)]=-0x1]=_0x49ed4b(0x22c),_0x16eff1))(_0x16fabb||{}),_0x2de1e8=(_0x1c011d=>(_0x1c011d[_0x1c011d[_0x49ed4b(0x2ab)]=0x0]=_0x49ed4b(0x2ab),_0x1c011d[_0x1c011d['Edit']=0x1]=_0x49ed4b(0x1b5),_0x1c011d[_0x1c011d[_0x49ed4b(0x18e)]=0x2]=_0x49ed4b(0x18e),_0x1c011d[_0x1c011d[_0x49ed4b(0x1fd)]=0x3]=_0x49ed4b(0x1fd),_0x1c011d[_0x1c011d['Duplicate']=0x4]='Duplicate',_0x1c011d[_0x1c011d[_0x49ed4b(0x20b)]=0x5]=_0x49ed4b(0x20b),_0x1c011d[_0x1c011d['Copy']=0x6]=_0x49ed4b(0x2bc),_0x1c011d[_0x1c011d[_0x49ed4b(0x37d)]=0x7]=_0x49ed4b(0x37d),_0x1c011d[_0x1c011d['Export']=0x8]=_0x49ed4b(0x2b1),_0x1c011d[_0x1c011d[_0x49ed4b(0x311)]=0x9]='MoveWorksheet',_0x1c011d[_0x1c011d['DeleteWorksheet']=0xa]=_0x49ed4b(0x195),_0x1c011d[_0x1c011d[_0x49ed4b(0x358)]=0xb]=_0x49ed4b(0x358),_0x1c011d[_0x1c011d[_0x49ed4b(0x2f8)]=0xc]=_0x49ed4b(0x2f8),_0x1c011d[_0x1c011d['CreateWorksheet']=0xd]=_0x49ed4b(0x1ae),_0x1c011d[_0x1c011d[_0x49ed4b(0x173)]=0xe]='SetWorksheetStyle',_0x1c011d[_0x1c011d[_0x49ed4b(0x1f5)]=0xf]='EditWorksheetCell',_0x1c011d[_0x1c011d[_0x49ed4b(0x1e9)]=0x10]='InsertHyperlink',_0x1c011d[_0x1c011d['Sort']=0x11]='Sort',_0x1c011d[_0x1c011d[_0x49ed4b(0x367)]=0x12]=_0x49ed4b(0x367),_0x1c011d[_0x1c011d[_0x49ed4b(0x1da)]=0x13]=_0x49ed4b(0x1da),_0x1c011d[_0x1c011d[_0x49ed4b(0x174)]=0x14]=_0x49ed4b(0x174),_0x1c011d[_0x1c011d[_0x49ed4b(0x332)]=0x15]=_0x49ed4b(0x332),_0x1c011d[_0x1c011d[_0x49ed4b(0x248)]=0x16]='RwHgtClWdt',_0x1c011d[_0x1c011d[_0x49ed4b(0x1c3)]=0x17]='ViemRwHgtClWdt',_0x1c011d[_0x1c011d[_0x49ed4b(0x319)]=0x18]=_0x49ed4b(0x319),_0x1c011d[_0x1c011d[_0x49ed4b(0x192)]=0x19]=_0x49ed4b(0x192),_0x1c011d[_0x1c011d['DeleteSheet']=0x1a]=_0x49ed4b(0x297),_0x1c011d[_0x1c011d[_0x49ed4b(0x1f2)]=0x1b]=_0x49ed4b(0x1f2),_0x1c011d[_0x1c011d['CopySheet']=0x1c]=_0x49ed4b(0x289),_0x1c011d[_0x1c011d[_0x49ed4b(0x215)]=0x1d]=_0x49ed4b(0x215),_0x1c011d[_0x1c011d[_0x49ed4b(0x185)]=0x1e]=_0x49ed4b(0x185),_0x1c011d[_0x1c011d['SelectProtectedCells']=0x1f]='SelectProtectedCells',_0x1c011d[_0x1c011d[_0x49ed4b(0x37f)]=0x20]=_0x49ed4b(0x37f),_0x1c011d[_0x1c011d[_0x49ed4b(0x2d6)]=0x21]=_0x49ed4b(0x2d6),_0x1c011d[_0x1c011d[_0x49ed4b(0x308)]=0x22]=_0x49ed4b(0x308),_0x1c011d[_0x1c011d[_0x49ed4b(0x1b7)]=0x23]=_0x49ed4b(0x1b7),_0x1c011d[_0x1c011d[_0x49ed4b(0x24b)]=0x24]=_0x49ed4b(0x24b),_0x1c011d[_0x1c011d['InsertRow']=0x25]='InsertRow',_0x1c011d[_0x1c011d[_0x49ed4b(0x335)]=0x26]=_0x49ed4b(0x335),_0x1c011d[_0x1c011d[_0x49ed4b(0x229)]=0x27]=_0x49ed4b(0x229),_0x1c011d[_0x1c011d[_0x49ed4b(0x31f)]=0x28]=_0x49ed4b(0x31f),_0x1c011d[_0x1c011d[_0x49ed4b(0x254)]=0x29]=_0x49ed4b(0x254),_0x1c011d[_0x1c011d['Delete']=0x2a]=_0x49ed4b(0x279),_0x1c011d[_0x1c011d[_0x49ed4b(0x208)]=0x2b]='RecoverHistory',_0x1c011d[_0x1c011d['ViewHistory']=0x2c]=_0x49ed4b(0x1b0),_0x1c011d[_0x1c011d[_0x49ed4b(0x391)]=0x2d]=_0x49ed4b(0x391),_0x1c011d[_0x1c011d[_0x49ed4b(0x22c)]=-0x1]=_0x49ed4b(0x22c),_0x1c011d))(_0x2de1e8||{});function _0x4e5b10(_0x36dfb3){const _0x456993=_0x49ed4b;return!!(_0x36dfb3&&_0x36dfb3['code']&&_0x36dfb3[_0x456993(0x301)]!==_0x494040['OK']&&_0x36dfb3[_0x456993(0x301)]!=='OK');}const _0x1d5840=(_0x17d2f2,_0x33b1ae)=>{const _0x34b987=_0x49ed4b;if(!_0x17d2f2)return{'date':'','time':''};const _0x5e48a2=new Date(_0x17d2f2),_0x6dbbc9=_0x5e48a2[_0x34b987(0x26f)]()['split']('T')[0x0];switch(_0x33b1ae){case _0x37bc8e[_0x34b987(0x24e)][_0x34b987(0x232)]:return{'date':_0x16b3ea(_0x6dbbc9,_0x33b1ae),'time':_0x5e48a2[_0x34b987(0x1ff)]()+':'+String(_0x5e48a2[_0x34b987(0x345)]())[_0x34b987(0x1f9)](0x2,'0')};default:return{'date':_0x16b3ea(_0x6dbbc9,_0x33b1ae),'time':_0x5e48a2[_0x34b987(0x1ff)]()+':'+_0x5e48a2[_0x34b987(0x345)]()};}},_0x2f1f25=(_0x45d970,_0x4964d4)=>{const _0x19438b=_0x49ed4b,_0x2b5bb8=_0x45d970[_0x19438b(0x1c2)]||_0x4964d4['t'](_0x19438b(0x1c0));if(_0x45d970[_0x19438b(0x2b6)][_0x19438b(0x207)](_0x1ca6f5=>_0x1ca6f5===_0x27dc7c[_0x19438b(0x1df)]['id'])&&_0x45d970[_0x19438b(0x320)]){const _0x23b300=_0x1d5840(_0x45d970[_0x19438b(0x320)],_0x4964d4['getCurrentLocale']()),_0x274a0d=_0x23b300[_0x19438b(0x37b)]+'\x20'+_0x23b300[_0x19438b(0x263)];return _0x2b5bb8+'\x20'+_0x4964d4['t'](_0x19438b(0x181))+'\x20'+_0x274a0d+'\x20'+_0x4964d4['t'](_0x19438b(0x191));}const _0x5dbeff=_0x831e3c(_0x45d970),_0x2f6962=_0x5dbeff[_0x19438b(0x378)]===0x1?_0x4964d4['t'](_0x5dbeff[0x0]):''+_0x4964d4['t'](_0x5dbeff[0x0])+_0x4964d4['t'](_0x19438b(0x34f));return _0x2b5bb8+'\x20'+_0x2f6962;};function _0x831e3c(_0x51fd03){const _0x40e473=_0x49ed4b;if(_0x51fd03[_0x40e473(0x2b6)]['length']===0x0)return[''];const _0x193483=_0x40e473(0x18d),_0xd0d97b=_0x193483+'editSheet',_0x35c569=[{'id':_0x27dc7c[_0x40e473(0x1c7)]['id'],'action':_0x193483+'createSheet'},{'id':_0x27dc7c[_0x40e473(0x1df)]['id'],'action':_0x193483+_0x40e473(0x294)},{'id':_0x5636be['InsertSheetMutation']['id'],'action':_0x193483+'insertSheet'},{'id':_0x5636be[_0x40e473(0x2bf)]['id'],'action':_0x193483+_0x40e473(0x24f)},{'id':_0x5636be[_0x40e473(0x21d)]['id'],'action':_0x193483+_0x40e473(0x2c7)},{'id':_0x2f4848['SetSheetsFilterRangeMutation']['id'],'action':_0x193483+_0x40e473(0x1d7)},{'id':_0x28a287[_0x40e473(0x171)]['id'],'action':_0x193483+'setDV'},{'id':_0x28a287[_0x40e473(0x1d8)]['id'],'action':_0x193483+'setDV'},{'id':_0x837431[_0x40e473(0x264)]['id'],'action':_0x193483+_0x40e473(0x2ae)},{'id':_0x837431[_0x40e473(0x220)]['id'],'action':_0x193483+_0x40e473(0x2ae)},{'id':_0x5636be[_0x40e473(0x23e)]['id'],'action':_0x193483+_0x40e473(0x2c4)},{'id':_0x5636be[_0x40e473(0x35f)]['id'],'action':_0x193483+_0x40e473(0x2c4)},{'id':_0x313aba['AddSheetSparklineMutation']['id'],'action':_0x193483+_0x40e473(0x27c)},{'id':_0x5636be[_0x40e473(0x1f4)]['id'],'action':_0x193483+'deleteProtection'},{'id':_0x5636be[_0x40e473(0x2c0)]['id'],'action':_0x193483+_0x40e473(0x2d3)}][_0x40e473(0x33b)](_0x591018=>_0x51fd03[_0x40e473(0x2b6)]['includes'](_0x591018['id']));return _0x35c569!=null&&_0x35c569[_0x40e473(0x378)]?_0x35c569[_0x40e473(0x363)](_0x7c5911=>_0x7c5911['action']):[_0xd0d97b];}function _0x16b3ea(_0x29bfb9,_0xbd2365){const _0x302435=_0x49ed4b,[_0x524f15,_0x486ef6,_0x2ec35a]=new Date()[_0x302435(0x26f)]()['split']('T')[0x0][_0x302435(0x255)]('-'),[_0x273a7b,_0x46f042,_0x2ac926]=_0x29bfb9['split']('-'),_0x478b45=_0x524f15===_0x273a7b&&_0x486ef6===_0x46f042&&_0x2ec35a===_0x2ac926;let _0x2f9b12='',_0x11a3b3='',_0x450f6a='';switch(_0xbd2365){case _0x37bc8e[_0x302435(0x24e)][_0x302435(0x232)]:return _0x478b45?'今天':(_0x2f9b12=_0x524f15===_0x273a7b?'':_0x273a7b+'年',_0x11a3b3=_0x46f042+'月',_0x450f6a=_0x2ac926+'日',''+_0x2f9b12+_0x11a3b3+_0x450f6a);default:return _0x478b45?'Today':(_0x2f9b12=_0x524f15===_0x273a7b?'':_0x273a7b+'-',_0x11a3b3=_0x46f042+'-',_0x450f6a=''+_0x2ac926,''+_0x2f9b12+_0x11a3b3+_0x450f6a);}}function _0xcf43ff(_0x4b5346){const _0x2f8cbe=_0x49ed4b;return _0x4b5346?_0x4b5346[_0x2f8cbe(0x1ba)]((_0x1f1d48,_0x2d3beb)=>{const _0x331d40=_0x2f8cbe,_0x5bc3e6=new Date(_0x2d3beb['time'])[_0x331d40(0x26f)]()[_0x331d40(0x255)]('T')[0x0];return _0x1f1d48[_0x331d40(0x378)]>0x0&&_0x1f1d48[_0x1f1d48[_0x331d40(0x378)]-0x1][_0x331d40(0x317)]===_0x5bc3e6?_0x1f1d48[_0x1f1d48['length']-0x1][_0x331d40(0x2bb)][_0x331d40(0x21c)](_0x2d3beb):_0x1f1d48[_0x331d40(0x21c)]({'dateString':_0x5bc3e6,'versions':[_0x2d3beb]}),_0x1f1d48;},[]):[];}var _0x2c1ae5=Object[_0x49ed4b(0x1b4)],_0x2f6430=(_0x29689c,_0x2e8ac6,_0x3aa88b,_0x42b858)=>{const _0x420f81=_0x49ed4b;for(var _0x3ac9fc=_0x42b858>0x1?void 0x0:_0x42b858?_0x2c1ae5(_0x2e8ac6,_0x3aa88b):_0x2e8ac6,_0x4ba1a0=_0x29689c[_0x420f81(0x378)]-0x1,_0x2b944a;_0x4ba1a0>=0x0;_0x4ba1a0--)(_0x2b944a=_0x29689c[_0x4ba1a0])&&(_0x3ac9fc=_0x2b944a(_0x3ac9fc)||_0x3ac9fc);return _0x3ac9fc;},_0xca1deb=(_0xf882ca,_0x2c8b7c)=>(_0x5d93ee,_0x4eb451)=>_0x2c8b7c(_0x5d93ee,_0x4eb451,_0xf882ca);const _0x4e456f=_0x49ed4b(0x224);let _0xdac991=class extends _0x37bc8e[_0x49ed4b(0x283)]{constructor(_0x51d49b,_0x49beb7,_0x424214,_0xc5b1a6,_0x3f79e6,_0x469a42,_0x11d11d){const _0x3a3fce=_0x49ed4b;super(),_0x386937(this,'_workbookDataCache',new Map()),(this[_0x3a3fce(0x312)]=_0x51d49b,this[_0x3a3fce(0x237)]=_0x49beb7,this[_0x3a3fce(0x398)]=_0x424214,this[_0x3a3fce(0x1a2)]=_0xc5b1a6,this[_0x3a3fce(0x222)]=_0x3f79e6,this['_compressMutationService']=_0x469a42,this[_0x3a3fce(0x37c)]=_0x11d11d);}[_0x49ed4b(0x1be)](){const _0x1516b8=_0x49ed4b;this[_0x1516b8(0x205)]['clear'](),super['dispose']();}async[_0x49ed4b(0x33f)](_0x2861a7,_0x1ef815){const _0xa25c85=_0x49ed4b,_0x326943=this[_0xa25c85(0x39b)]()+'/'+_0x2861a7+_0xa25c85(0x22f)+(_0x1ef815?_0xa25c85(0x38b)+_0x1ef815:'');try{const _0x4023b0=(await this[_0xa25c85(0x222)][_0xa25c85(0x36b)](_0x326943))[_0xa25c85(0x26e)];if(_0x4023b0&&_0x4023b0[_0xa25c85(0x299)]&&_0x4023b0['error'][_0xa25c85(0x301)]===_0x494040['OK']){const {hasMore:_0x221ba0,lastLabel:_0x24b127}=_0x4023b0,_0x57a406=_0x281368(_0x4023b0),_0x493794=_0x4023b0[_0xa25c85(0x2bd)][_0xa25c85(0x1d4)];return{'hasMore':_0x221ba0,'lastLabel':_0x24b127,'versions':_0x57a406,'members':_0x493794};}}catch(_0x1162dd){console[_0xa25c85(0x299)](_0x1162dd);}return null;}[_0x49ed4b(0x39b)](){const _0x308061=_0x49ed4b;var _0x25bf26;const _0x383c93=this[_0x308061(0x1a2)][_0x308061(0x39d)](_0x1a7f92);return(_0x25bf26=_0x383c93==null?void 0x0:_0x383c93[_0x308061(0x1b9)])!=null?_0x25bf26:_0x4e456f;}async[_0x49ed4b(0x20e)](_0x990075,_0x4875a0,_0xa6a533){const _0x14b2eb=_0x49ed4b;var _0x6cd2aa,_0x4875ab;_0xa6a533===void 0x0&&(_0xa6a533={}),this[_0x14b2eb(0x205)][_0x14b2eb(0x334)](_0x990075)||this[_0x14b2eb(0x205)][_0x14b2eb(0x1d9)](_0x990075,new Map());const {snapshot:_0x547006,changesets:_0x1636c1,error:_0xd531cc}=await this[_0x14b2eb(0x312)][_0x14b2eb(0x1fb)](_0xa6a533,{'unitID':_0x990075,'type':_0x16fabb[_0x14b2eb(0x212)],'revision':_0x4875a0});if(_0x4e5b10(_0xd531cc)||!_0x547006||!_0x547006['workbook'])throw new Error(_0x14b2eb(0x272));const _0x5ac29c=(_0x6cd2aa=_0x1636c1==null?void 0x0:_0x1636c1[_0x14b2eb(0x378)])!=null?_0x6cd2aa:0x0;if(_0x4875a0!==0x0&&_0x547006[_0x14b2eb(0x252)]+_0x5ac29c!==_0x4875a0)throw new Error(_0x14b2eb(0x2de));const {workbook:_0x55965a}=_0x547006,_0x37a03f=_0x55965a[_0x14b2eb(0x1ce)]?Object['entries'](_0x55965a[_0x14b2eb(0x1ce)])[_0x14b2eb(0x363)](([_0x2138fc,_0x27a7c0])=>{const _0xc26178=_0x14b2eb;var _0x4aa76e,_0x5a32a3;return(_0x5a32a3=(_0x4aa76e=_0x27a7c0[_0xc26178(0x1db)])==null?void 0x0:_0x4aa76e[_0xc26178(0x363)](_0x51a208=>_0x51a208))!=null?_0x5a32a3:[];})[_0x14b2eb(0x2f5)]():[],_0x2789f9=(await Promise['all'](_0x37a03f['map'](_0x2f5bb3=>this['_snapshotServerService'][_0x14b2eb(0x1e2)](_0xa6a533,{'unitID':_0x990075,'type':_0x16fabb[_0x14b2eb(0x212)],'blockID':_0x2f5bb3})[_0x14b2eb(0x316)](_0x40ee89=>_0x40ee89[_0x14b2eb(0x18c)]))))['filter'](_0x87fb18=>!!_0x87fb18),_0x34e436=_0x27dc7c[_0x14b2eb(0x19a)](_0x547006,_0x2789f9,_0xa6a533);return(_0x4875ab=this[_0x14b2eb(0x205)][_0x14b2eb(0x36b)](_0x990075))==null||_0x4875ab['set'](_0x4875a0,{'workbook':_0x34e436}),new Promise(_0x3dd216=>{const _0x321f03=_0x14b2eb,_0x43ee91=this[_0x321f03(0x237)]['getCurrentUnitForType'](_0x37bc8e[_0x321f03(0x2d8)][_0x321f03(0x212)]);_0x43ee91?(this['_univerInstanceService'][_0x321f03(0x382)](_0x43ee91[_0x321f03(0x2ed)]()),setTimeout(()=>{const _0x2b4560=_0x321f03;this[_0x2b4560(0x342)](_0x34e436,_0x1636c1),this[_0x2b4560(0x37c)][_0x2b4560(0x340)](),_0x3dd216(!0x0);},0x0)):(this[_0x321f03(0x342)](_0x34e436,_0x1636c1),_0x3dd216(!0x0));});}[_0x49ed4b(0x342)](_0x4bd066,_0x137838){const _0x236505=_0x49ed4b,_0x2dd4aa=this[_0x236505(0x237)]['createUnit'](_0x37bc8e[_0x236505(0x2d8)][_0x236505(0x212)],_0x4bd066);this['_univerInstanceService']['focusUnit'](_0x2dd4aa[_0x236505(0x2ed)]());const _0x38b6fd=this[_0x236505(0x1a0)][_0x236505(0x177)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x236505(0x177)][_0x236505(0x1b1)]()[_0x236505(0x1cf)]);return _0x137838==null||_0x137838[_0x236505(0x353)](_0x854d6a=>{const _0x33f480=_0x236505,_0x4e1a36=_0x854d6a[_0x33f480(0x17e)]['map'](_0x42225e=>({'id':_0x42225e['id'],'params':JSON[_0x33f480(0x329)](_0x42225e[_0x33f480(0x277)])}));({..._0x854d6a,'mutations':_0x38b6fd(_0x4e1a36,null)||_0x4e1a36}[_0x33f480(0x17e)][_0x33f480(0x353)](_0x432e75=>{const _0x4f25ab=_0x33f480;this[_0x4f25ab(0x398)][_0x4f25ab(0x1bc)](_0x432e75['id'])&&this[_0x4f25ab(0x398)][_0x4f25ab(0x2ee)](_0x432e75['id'],_0x432e75['params']);}));}),_0x2dd4aa;}};_0xdac991=_0x2f6430([_0xca1deb(0x0,_0x27dc7c['ISnapshotServerService']),_0xca1deb(0x1,_0x37bc8e[_0x49ed4b(0x288)]),_0xca1deb(0x2,_0x37bc8e[_0x49ed4b(0x29a)]),_0xca1deb(0x3,_0x37bc8e[_0x49ed4b(0x37a)]),_0xca1deb(0x4,_0x37bc8e[_0x49ed4b(0x324)](_0x1fb47b[_0x49ed4b(0x2d7)])),_0xca1deb(0x5,_0x37bc8e[_0x49ed4b(0x324)](_0x27dc7c['CompressMutationService'])),_0xca1deb(0x6,_0x37bc8e[_0x49ed4b(0x324)](_0x5636be[_0x49ed4b(0x322)]))],_0xdac991);function _0x281368(_0x59de2f){const _0x572c1b=_0x49ed4b;var _0x48a1f3,_0x1fa24a;const _0x2e7de6=[],{entities:_0x1a3bea,historyIds:_0x41dce2}=_0x59de2f,{datas:_0x543168,users:_0x148961}=_0x1a3bea;for(const _0x11655b of _0x41dce2)if(_0x543168[_0x11655b]){const _0x1bdcdc=!!((_0x48a1f3=_0x148961[_0x543168[_0x11655b]['userId']])!=null&&_0x48a1f3[_0x572c1b(0x183)]);_0x2e7de6[_0x572c1b(0x21c)]({'unitId':_0x543168[_0x11655b][_0x572c1b(0x1af)],'user':_0x1bdcdc?'':((_0x1fa24a=_0x148961==null?void 0x0:_0x148961[_0x543168[_0x11655b][_0x572c1b(0x19e)]])==null?void 0x0:_0x1fa24a[_0x572c1b(0x3a8)])||'','isAnonymous':_0x1bdcdc,'id':_0x11655b,'time':_0x543168[_0x11655b][_0x572c1b(0x286)]?Number(_0x543168[_0x11655b]['createTime']):void 0x0,'commands':_0x543168[_0x11655b]['command'],'startRev':Number(_0x543168[_0x11655b]['startRevision']),'endRev':Number(_0x543168[_0x11655b]['endRevision']),'recoverTime':_0x543168[_0x11655b][_0x572c1b(0x320)]?Number(_0x543168[_0x11655b][_0x572c1b(0x320)]):void 0x0});}return _0x2e7de6;}var _0x4d6a0a=Object['getOwnPropertyDescriptor'],_0x3109a5=(_0xa5deb3,_0x3e6676,_0x3f816f,_0x420acb)=>{for(var _0x65fa2c=_0x420acb>0x1?void 0x0:_0x420acb?_0x4d6a0a(_0x3e6676,_0x3f816f):_0x3e6676,_0x12b9cb=_0xa5deb3['length']-0x1,_0x3d91fb;_0x12b9cb>=0x0;_0x12b9cb--)(_0x3d91fb=_0xa5deb3[_0x12b9cb])&&(_0x65fa2c=_0x3d91fb(_0x65fa2c)||_0x65fa2c);return _0x65fa2c;},_0x34ed6a=(_0x434c73,_0x3e21c3)=>(_0x39f5eb,_0x5b90a0)=>_0x3e21c3(_0x39f5eb,_0x5b90a0,_0x434c73),_0x25cc45=(_0x3c46ef=>(_0x3c46ef[_0x49ed4b(0x197)]=_0x49ed4b(0x250),_0x3c46ef[_0x49ed4b(0x30c)]='exited',_0x3c46ef['Error']=_0x49ed4b(0x299),_0x3c46ef))(_0x25cc45||{}),_0x4536c2=(_0xbb442b=>(_0xbb442b['Init']=_0x49ed4b(0x31c),_0xbb442b[_0x49ed4b(0x227)]=_0x49ed4b(0x2a5),_0xbb442b[_0x49ed4b(0x201)]=_0x49ed4b(0x256),_0xbb442b))(_0x4536c2||{});const _0xdae7a6=_0x49ed4b(0x374);_0x35604f[_0x49ed4b(0x359)]=class extends _0x37bc8e['Disposable']{constructor(_0x290bcd,_0x1628b8,_0x3adb2c,_0xe8973e){const _0x4373b0=_0x49ed4b;super(),_0x386937(this,'_versions$',new _0x564f4[(_0x4373b0(0x298))]([])),_0x386937(this,_0x4373b0(0x193),this[_0x4373b0(0x394)][_0x4373b0(0x34c)]()),_0x386937(this,_0x4373b0(0x175),new _0x564f4[(_0x4373b0(0x298))]('')),_0x386937(this,_0x4373b0(0x1b2),this[_0x4373b0(0x175)]['asObservable']()),_0x386937(this,'_status$',new _0x564f4[(_0x4373b0(0x298))](_0x4373b0(0x250))),_0x386937(this,_0x4373b0(0x25e),this['_status$'][_0x4373b0(0x34c)]()),_0x386937(this,_0x4373b0(0x1dc),new _0x564f4[(_0x4373b0(0x298))](0x0)),_0x386937(this,'revertRevision$',this[_0x4373b0(0x1dc)][_0x4373b0(0x34c)]()),_0x386937(this,_0x4373b0(0x278),new _0x564f4['BehaviorSubject']('')),_0x386937(this,_0x4373b0(0x1c8),this['_unitId$'][_0x4373b0(0x34c)]()),_0x386937(this,'_fetching',!0x1),_0x386937(this,_0x4373b0(0x25b),new _0x564f4[(_0x4373b0(0x298))](_0x4373b0(0x31c))),_0x386937(this,_0x4373b0(0x2f4),this['_loadingState$'][_0x4373b0(0x34c)]()),_0x386937(this,_0x4373b0(0x1cb),null),_0x386937(this,_0x4373b0(0x285),!0x0),_0x386937(this,_0x4373b0(0x338),new Map()),_0x386937(this,'_historyContainerId'),_0x386937(this,_0x4373b0(0x25d)),_0x386937(this,_0x4373b0(0x32d)),_0x386937(this,_0x4373b0(0x399),!0x1),(this[_0x4373b0(0x20c)]=_0x290bcd,this[_0x4373b0(0x327)]=_0x1628b8,this[_0x4373b0(0x1b8)]=_0x3adb2c,this['_historyFetchService']=_0xe8973e);}async['triggerLoadVersions'](_0x3892f5,_0x39fcd3,_0x217348){const _0x4fecf3=_0x49ed4b;this[_0x4fecf3(0x306)]=_0x39fcd3,this['_canRevert']=_0x217348,this['_unitId$'][_0x4fecf3(0x2b5)](_0x3892f5),this[_0x4fecf3(0x1d6)]=!0x0;const _0x3feab2=await this[_0x4fecf3(0x346)][_0x4fecf3(0x33f)](_0x3892f5);if(this[_0x4fecf3(0x1d6)]=!0x1,_0x3feab2){const {versions:_0x1a1d13,lastLabel:_0x175d55,hasMore:_0x1602f8,members:_0x4b8e6a}=_0x3feab2;_0x1a1d13['length']===0x0&&_0x1a1d13['push']({'unitId':_0x3892f5,'id':_0xdae7a6,'startRev':0x1,'endRev':0x0,'time':Date[_0x4fecf3(0x2ec)](),'user':this['_localeService']['t'](_0x4fecf3(0x1e6)),'commands':[],'isAnonymous':!0x1}),this[_0x4fecf3(0x3a2)](_0x1a1d13,_0x1602f8,_0x175d55,_0x4b8e6a),this[_0x4fecf3(0x175)][_0x4fecf3(0x2b5)](_0x1a1d13[0x0]['id']);}else this['_status$'][_0x4fecf3(0x2b5)](_0x4fecf3(0x299));}async[_0x49ed4b(0x314)](){const _0x51136b=_0x49ed4b;if(!this['_lastLabel']||!this[_0x51136b(0x285)]||this[_0x51136b(0x1d6)])return!0x1;this['_fetching']=!0x0;const _0x1f2407=await this['_historyFetchService'][_0x51136b(0x33f)](this['unitId'],this[_0x51136b(0x1cb)]);if(this[_0x51136b(0x1d6)]=!0x1,_0x1f2407){const {versions:_0x30e1cb,lastLabel:_0x34fba7,hasMore:_0x43493f,members:_0x553abd}=_0x1f2407;this[_0x51136b(0x3a2)](_0x30e1cb,_0x43493f,_0x34fba7,_0x553abd);}else this[_0x51136b(0x20c)][_0x51136b(0x1ac)]({'content':this[_0x51136b(0x1b8)]['t'](_0x51136b(0x172)),'type':_0x427142[_0x51136b(0x3a4)][_0x51136b(0x186)],'duration':0xbb8});return!0x0;}async[_0x49ed4b(0x369)](_0x3fd222){const _0x14f37f=_0x49ed4b;var _0xd22107;const _0x4645e4=(_0xd22107=this['_versions$']['value'])==null?void 0x0:_0xd22107[_0x14f37f(0x3a7)](_0x3db2bc=>_0x3db2bc['id']===_0x3fd222),{endRev:_0x22d029}=_0x4645e4||{};_0x22d029||_0x22d029===0x0?(this['_loadingState$'][_0x14f37f(0x2b5)]('loading'),await this['_historyFetchService'][_0x14f37f(0x20e)](this['unitId'],_0x22d029),this['_loadingState$'][_0x14f37f(0x2b5)]('loaded')):this[_0x14f37f(0x2f0)][_0x14f37f(0x2b5)](_0x14f37f(0x299));}async[_0x49ed4b(0x17a)](_0x59c42d){const _0x2cd04b=_0x49ed4b,_0x4c9e55=_0x59c42d?this[_0x2cd04b(0x199)](_0x59c42d):this[_0x2cd04b(0x34a)]();if(!_0x4c9e55)return;const _0x124f80=_0x4c9e55[_0x2cd04b(0x2a6)],_0x438c17=_0x1d5840(_0x4c9e55['time'],this[_0x2cd04b(0x1b8)][_0x2cd04b(0x2b3)]());await this[_0x2cd04b(0x327)]['confirm']({'id':_0x2cd04b(0x194),'title':{'title':this['_localeService']['t']('editHistory.panel.revertConfirm')},'children':{'title':this[_0x2cd04b(0x1b8)]['t'](_0x2cd04b(0x386))+_0x2cd04b(0x3a3)+_0x438c17[_0x2cd04b(0x37b)]+'\x20'+_0x438c17['time']+')'},'cancelText':this[_0x2cd04b(0x1b8)]['t'](_0x2cd04b(0x241)),'confirmText':this[_0x2cd04b(0x1b8)]['t'](_0x2cd04b(0x266))})&&this[_0x2cd04b(0x1dc)][_0x2cd04b(0x2b5)](_0x124f80);}[_0x49ed4b(0x3a2)](_0xb44208,_0x29e5a5,_0x7a6c81,_0x34bbfc){const _0x31c74d=_0x49ed4b;this[_0x31c74d(0x394)]['next'](this[_0x31c74d(0x394)]['value']['concat'](_0xb44208)),this['_hasMore']=_0x29e5a5,this[_0x31c74d(0x1cb)]=_0x7a6c81,_0x34bbfc&&Object[_0x31c74d(0x2df)](_0x34bbfc)[_0x31c74d(0x353)](_0x31cbd3=>this[_0x31c74d(0x338)][_0x31c74d(0x1d9)](_0x31cbd3,_0x34bbfc[_0x31cbd3]));}[_0x49ed4b(0x34a)](){return this['getVersion'](this['_currentVersion$']['value']);}[_0x49ed4b(0x199)](_0x2f0b0d){const _0x4f88e9=_0x49ed4b;var _0x3e2b75;return(_0x3e2b75=this['_versions$']['value'])==null?void 0x0:_0x3e2b75[_0x4f88e9(0x3a7)](_0x1c368c=>_0x1c368c['id']===_0x2f0b0d);}['getMember'](_0x106c02){const _0x5bb381=_0x49ed4b;return this[_0x5bb381(0x338)][_0x5bb381(0x36b)](_0x106c02);}[_0x49ed4b(0x236)](){const _0x59aff6=_0x49ed4b;this[_0x59aff6(0x32d)]=document[_0x59aff6(0x36c)](_0x59aff6(0x22b)),this['_maskElement'][_0x59aff6(0x343)]=_0x59aff6(0x32b),this[_0x59aff6(0x32d)][_0x59aff6(0x228)][_0x59aff6(0x1d3)]='absolute',this[_0x59aff6(0x32d)][_0x59aff6(0x228)][_0x59aff6(0x246)]='0',this[_0x59aff6(0x32d)][_0x59aff6(0x228)]['left']='0',this[_0x59aff6(0x32d)]['style'][_0x59aff6(0x189)]='100%',this['_maskElement'][_0x59aff6(0x228)][_0x59aff6(0x2c2)]='100%',this[_0x59aff6(0x32d)][_0x59aff6(0x228)]['backgroundColor']=_0x59aff6(0x290),this[_0x59aff6(0x32d)]['style'][_0x59aff6(0x2e9)]=_0x59aff6(0x1cd),this[_0x59aff6(0x32d)][_0x59aff6(0x228)][_0x59aff6(0x370)]=_0x59aff6(0x1c4),this[_0x59aff6(0x32d)][_0x59aff6(0x228)]['justifyContent']='center',this[_0x59aff6(0x32d)]['style']['zIndex']='1000',this['_maskElement'][_0x59aff6(0x228)][_0x59aff6(0x370)]='none',this[_0x59aff6(0x25d)][_0x59aff6(0x304)](this[_0x59aff6(0x32d)]);}[_0x49ed4b(0x23b)](){const _0x1f61b3=_0x49ed4b;var _0xb2f4e1;const _0x36c79a=(_0xb2f4e1=document['getElementById'](this['_historyContainerId']))==null?void 0x0:_0xb2f4e1['querySelector'](_0x1f61b3(0x1f0));_0x36c79a&&(this[_0x1f61b3(0x25d)]=_0x36c79a,this['_createMask']());}[_0x49ed4b(0x28e)](){const _0x3bcd79=_0x49ed4b;this['_maskContainer']||this[_0x3bcd79(0x23b)](),this[_0x3bcd79(0x32d)]&&(this[_0x3bcd79(0x32d)][_0x3bcd79(0x228)][_0x3bcd79(0x370)]='flex');}[_0x49ed4b(0x331)](){const _0x2d8f96=_0x49ed4b;this[_0x2d8f96(0x32d)]&&(this[_0x2d8f96(0x32d)][_0x2d8f96(0x228)][_0x2d8f96(0x370)]=_0x2d8f96(0x217));}set[_0x49ed4b(0x231)](_0x4aa627){const _0x4d0fb9=_0x49ed4b;this[_0x4d0fb9(0x2f0)][_0x4d0fb9(0x2b5)](_0x4aa627);}set[_0x49ed4b(0x2a3)](_0x37dfc7){const _0x24b3fe=_0x49ed4b;_0x37dfc7!==this[_0x24b3fe(0x175)]['value']&&this[_0x24b3fe(0x175)]['next'](_0x37dfc7);}get[_0x49ed4b(0x2a3)](){return this['_currentVersion$']['value'];}set[_0x49ed4b(0x1af)](_0x4a8b33){const _0x52db0c=_0x49ed4b;this[_0x52db0c(0x278)]['next'](_0x4a8b33);}get[_0x49ed4b(0x1af)](){const _0x4aec7c=_0x49ed4b;return this[_0x4aec7c(0x278)][_0x4aec7c(0x352)];}get[_0x49ed4b(0x2f2)](){return this['_canRevert'];}get[_0x49ed4b(0x371)](){const _0x3c0ea8=_0x49ed4b;return this['_loadingState$'][_0x3c0ea8(0x352)];}},_0x35604f[_0x49ed4b(0x359)]=_0x3109a5([_0x34ed6a(0x0,_0x52e672[_0x49ed4b(0x38d)]),_0x34ed6a(0x1,_0x52e672['IConfirmService']),_0x34ed6a(0x2,_0x37bc8e['Inject'](_0x37bc8e[_0x49ed4b(0x1e4)])),_0x34ed6a(0x3,_0x37bc8e['Inject'](_0xdac991))],_0x35604f[_0x49ed4b(0x359)]);function _0x4c76cd({ref:_0x2fde72,..._0x679c79}){const _0x1fa14a=_0x49ed4b,{icon:_0x4c170c,id:_0x24a048,className:_0x22fb61,extend:_0x67a471,..._0x225072}=_0x679c79,_0x5c67db=(_0x1fa14a(0x1f7)+_0x24a048+'\x20'+(_0x22fb61||''))[_0x1fa14a(0x211)](),_0x5a10e1=_0x57e528[_0x1fa14a(0x354)]('_'+_0x3d9744());return _0x3366d3(_0x4c170c,''+_0x24a048,{'defIds':_0x4c170c[_0x1fa14a(0x393)],'idSuffix':_0x5a10e1[_0x1fa14a(0x203)]},{'ref':_0x2fde72,'className':_0x5c67db,..._0x225072},_0x67a471);}function _0x3366d3(_0x5e43c5,_0x54d195,_0xe941fa,_0x46e3f6,_0x4765a5){const _0x534ab8=_0x49ed4b;return _0x57e528[_0x534ab8(0x36c)](_0x5e43c5['tag'],{'key':_0x54d195,..._0x2f2a1a(_0x5e43c5,_0xe941fa,_0x4765a5),..._0x46e3f6},(_0x53386f(_0x5e43c5,_0xe941fa)['children']||[])[_0x534ab8(0x363)]((_0x3bb6b8,_0x1dd0ef)=>_0x3366d3(_0x3bb6b8,_0x54d195+'-'+_0x5e43c5[_0x534ab8(0x2fd)]+'-'+_0x1dd0ef,_0xe941fa,void 0x0,_0x4765a5)));}function _0x2f2a1a(_0x31c6bb,_0x449e11,_0x1a14a1){const _0x58c339=_0x49ed4b,_0xed957b={..._0x31c6bb[_0x58c339(0x3ac)]};_0x1a14a1!=null&&_0x1a14a1[_0x58c339(0x35e)]&&_0xed957b[_0x58c339(0x25a)]===_0x58c339(0x35e)&&(_0xed957b[_0x58c339(0x25a)]=_0x1a14a1['colorChannel1']),_0x31c6bb[_0x58c339(0x2fd)]===_0x58c339(0x3a0)&&_0xed957b['id']&&(_0xed957b['id']=_0xed957b['id']+_0x449e11[_0x58c339(0x326)]),Object[_0x58c339(0x34b)](_0xed957b)[_0x58c339(0x353)](([_0xf22052,_0x1b2ba7])=>{const _0x29a52c=_0x58c339;_0xf22052===_0x29a52c(0x3a0)&&typeof _0x1b2ba7==_0x29a52c(0x284)&&(_0xed957b[_0xf22052]=_0x1b2ba7[_0x29a52c(0x325)](/url\(#(.*)\)/,'url(#$1'+_0x449e11[_0x29a52c(0x326)]+')'));});const {defIds:_0x36fcaa}=_0x449e11;return!_0x36fcaa||_0x36fcaa[_0x58c339(0x378)]===0x0||(_0x31c6bb['tag']===_0x58c339(0x3a1)&&_0xed957b[_0x58c339(0x178)]&&(_0xed957b[_0x58c339(0x178)]=_0xed957b[_0x58c339(0x178)]+_0x449e11[_0x58c339(0x326)]),Object['entries'](_0xed957b)[_0x58c339(0x353)](([_0x25c0eb,_0x1c859b])=>{const _0x5f9d2c=_0x58c339;typeof _0x1c859b==_0x5f9d2c(0x284)&&(_0xed957b[_0x25c0eb]=_0x1c859b[_0x5f9d2c(0x325)](/url\(#(.*)\)/,_0x5f9d2c(0x1e8)+_0x449e11[_0x5f9d2c(0x326)]+')'));})),_0xed957b;}function _0x53386f(_0x409b7d,_0x11d58e){const _0x3b293b=_0x49ed4b;var _0x40a79f;const {defIds:_0x28c4b4}=_0x11d58e;return!_0x28c4b4||_0x28c4b4['length']===0x0?_0x409b7d:_0x409b7d[_0x3b293b(0x2fd)]===_0x3b293b(0x18b)&&((_0x40a79f=_0x409b7d[_0x3b293b(0x204)])!=null&&_0x40a79f['length'])?{..._0x409b7d,'children':_0x409b7d[_0x3b293b(0x204)][_0x3b293b(0x363)](_0x43c57d=>typeof _0x43c57d[_0x3b293b(0x3ac)]['id']==_0x3b293b(0x284)&&_0x28c4b4&&_0x28c4b4['includes'](_0x43c57d['attrs']['id'])?{..._0x43c57d,'attrs':{..._0x43c57d[_0x3b293b(0x3ac)],'id':_0x43c57d[_0x3b293b(0x3ac)]['id']+_0x11d58e['idSuffix']}}:_0x43c57d)}:_0x409b7d;}function _0x3d9744(){const _0x32b74f=_0x49ed4b;return Math[_0x32b74f(0x223)]()[_0x32b74f(0x29c)](0x24)[_0x32b74f(0x17d)](0x2,0x8);}_0x4c76cd[_0x49ed4b(0x2c3)]=_0x49ed4b(0x21a);const _0x579479={'tag':_0x49ed4b(0x3a6),'attrs':{'xmlns':_0x49ed4b(0x291),'fill':_0x49ed4b(0x217),'viewBox':_0x49ed4b(0x1a1),'width':_0x49ed4b(0x1f8),'height':'1em'},'children':[{'tag':_0x49ed4b(0x182),'attrs':{'fill':'currentColor','d':_0x49ed4b(0x2cb)}}]},_0x5dd39a=_0x57e528['forwardRef'](function(_0x1947b7,_0x22fbad){const _0x44d643=_0x49ed4b;return _0x57e528['createElement'](_0x4c76cd,Object[_0x44d643(0x34d)]({},_0x1947b7,{'id':_0x44d643(0x300),'ref':_0x22fbad,'icon':_0x579479}));});_0x5dd39a['displayName']=_0x49ed4b(0x341);const _0x28f9ea={'tag':_0x49ed4b(0x3a6),'attrs':{'xmlns':_0x49ed4b(0x291),'fill':_0x49ed4b(0x217),'viewBox':_0x49ed4b(0x1c6),'width':_0x49ed4b(0x1f8),'height':_0x49ed4b(0x1f8)},'children':[{'tag':'g','attrs':{'fill':'currentColor','clipPath':'url(#restore-icon_clip0_1247_2)'},'children':[{'tag':_0x49ed4b(0x182),'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':_0x49ed4b(0x182),'attrs':{'d':_0x49ed4b(0x1bf),'fillRule':_0x49ed4b(0x28a),'clipRule':'evenodd'}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x49ed4b(0x24d),'attrs':{'id':_0x49ed4b(0x275)},'children':[{'tag':_0x49ed4b(0x3aa),'attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x49ed4b(0x1cd),'rx':0x4}}]}]}],'defIds':[_0x49ed4b(0x275)]},_0x2d8557=_0x57e528[_0x49ed4b(0x273)](function(_0x254ddb,_0x181c3b){const _0xcffa75=_0x49ed4b;return _0x57e528[_0xcffa75(0x36c)](_0x4c76cd,Object[_0xcffa75(0x34d)]({},_0x254ddb,{'id':_0xcffa75(0x1ca),'ref':_0x181c3b,'icon':_0x28f9ea}));});_0x2d8557[_0x49ed4b(0x2c3)]=_0x49ed4b(0x375);const _0x2d771f={'tag':_0x49ed4b(0x3a6),'attrs':{'xmlns':_0x49ed4b(0x291),'fill':_0x49ed4b(0x217),'viewBox':_0x49ed4b(0x1a1),'width':_0x49ed4b(0x1f8),'height':'1em'},'children':[{'tag':_0x49ed4b(0x182),'attrs':{'fill':'#0B9EFB','d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x49ed4b(0x28a),'clipRule':_0x49ed4b(0x28a)}},{'tag':_0x49ed4b(0x182),'attrs':{'fill':_0x49ed4b(0x38f),'d':'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','fillRule':'evenodd','clipRule':_0x49ed4b(0x28a)}}]},_0x76b676=_0x57e528[_0x49ed4b(0x273)](function(_0x4b7cc1,_0x110244){const _0x4624e1=_0x49ed4b;return _0x57e528[_0x4624e1(0x36c)](_0x4c76cd,Object['assign']({},_0x4b7cc1,{'id':_0x4624e1(0x251),'ref':_0x110244,'icon':_0x2d771f}));});_0x76b676[_0x49ed4b(0x2c3)]=_0x49ed4b(0x385);function _0x385747(){const _0x1d98b1=_0x49ed4b;var _0x360973;const _0x128119=_0x52e672['useDependency'](_0x35604f[_0x1d98b1(0x359)]),_0x50c43e=_0x52e672[_0x1d98b1(0x190)](_0x37bc8e['LocaleService']),_0x2b5af3=_0x57e528[_0x1d98b1(0x1ed)](()=>{const _0x378f6e=_0x1d98b1;_0x128119[_0x378f6e(0x231)]=_0x25cc45[_0x378f6e(0x30c)];},[_0x128119]),_0x20668b=_0x57e528['useCallback'](()=>{const _0x1bb432=_0x1d98b1;_0x128119[_0x1bb432(0x17a)]();},[_0x128119]),_0x497cba=_0x52e672[_0x1d98b1(0x210)](_0x128119['currentVersion$']),_0x590492=_0x52e672[_0x1d98b1(0x210)](_0x128119['versions$']),_0x2bce91=_0x497cba===((_0x360973=_0x590492==null?void 0x0:_0x590492[0x0])==null?void 0x0:_0x360973['id']),_0x4c7ca6=_0x497cba!==''&&!_0x2bce91&&_0x128119[_0x1d98b1(0x2f2)];return _0x14d5ca['jsxs'](_0x1d98b1(0x22b),{'className':_0x427142[_0x1d98b1(0x2d4)]('univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center',_0x427142['borderBottomClassName']),'children':[_0x14d5ca['jsx']('a',{'className':'univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','role':_0x1d98b1(0x219),'onClick':_0x2b5af3,'children':_0x14d5ca[_0x1d98b1(0x2af)](_0x5dd39a,{'className':_0x1d98b1(0x1c5)})}),_0x14d5ca['jsx'](_0x1d98b1(0x22b),{'className':_0x1d98b1(0x213),'children':_0x4c7ca6&&_0x14d5ca['jsx'](_0x427142[_0x1d98b1(0x2d5)],{'variant':'primary','onClick':_0x20668b,'children':_0x50c43e['t']('editHistory.header.revert')})})]});}var _0x5e5cdf=Object[_0x49ed4b(0x1b4)],_0x12c6f9=(_0xa4d0a2,_0x5e31b5,_0x1c8a83,_0x1321ec)=>{const _0x1579b9=_0x49ed4b;for(var _0x4b4a0a=_0x1321ec>0x1?void 0x0:_0x1321ec?_0x5e5cdf(_0x5e31b5,_0x1c8a83):_0x5e31b5,_0x374dff=_0xa4d0a2[_0x1579b9(0x378)]-0x1,_0x295d41;_0x374dff>=0x0;_0x374dff--)(_0x295d41=_0xa4d0a2[_0x374dff])&&(_0x4b4a0a=_0x295d41(_0x4b4a0a)||_0x4b4a0a);return _0x4b4a0a;},_0x1d0e97=(_0x4a31ad,_0x80c3fb)=>(_0x1c2dd7,_0x2c10fb)=>_0x80c3fb(_0x1c2dd7,_0x2c10fb,_0x4a31ad);let _0x194052=class extends _0x37bc8e[_0x49ed4b(0x283)]{constructor(_0x42ed21,_0x45d18c,_0x37c6d8,_0xfce6b4,_0x50e8a7,_0x50f194){const _0x3e497e=_0x49ed4b;super(),this[_0x3e497e(0x305)]=_0x42ed21,this['_uiPartsService']=_0x45d18c,this['_messageService']=_0x37c6d8,this[_0x3e497e(0x1b8)]=_0xfce6b4,this[_0x3e497e(0x2e1)]=_0x50e8a7,this['_injector']=_0x50f194,this[_0x3e497e(0x244)]();}[_0x49ed4b(0x244)](){const _0xff260=_0x49ed4b;this[_0xff260(0x337)](this[_0xff260(0x2e1)]['currentVersion$'][_0xff260(0x196)](_0x2b648a=>{const _0x236e8e=_0xff260;_0x2b648a&&this[_0x236e8e(0x2e1)][_0x236e8e(0x369)](_0x2b648a);})),this[_0xff260(0x337)](this[_0xff260(0x305)][_0xff260(0x1a5)][_0xff260(0x196)](_0x2a475a=>{const _0xf3b349=_0xff260,_0x2feade=this[_0xf3b349(0x2e1)][_0xf3b349(0x1af)];_0x2feade&&(_0x2a475a[_0xf3b349(0x1e0)]===_0x2de1e8[_0xf3b349(0x1b5)]&&_0x2a475a[_0xf3b349(0x352)]===!0x0&&this[_0xf3b349(0x305)][_0xf3b349(0x24c)](new _0x5636be[(_0xf3b349(0x360))](_0x2feade)['id'],!0x1),_0x2a475a[_0xf3b349(0x1e0)]===_0x2de1e8[_0xf3b349(0x215)]&&_0x2a475a[_0xf3b349(0x352)]===!0x0&&this[_0xf3b349(0x305)][_0xf3b349(0x24c)](new _0x5636be[(_0xf3b349(0x30d))](_0x2feade)['id'],!0x1),_0x2a475a[_0xf3b349(0x1e0)]===_0x2de1e8[_0xf3b349(0x192)]&&_0x2a475a[_0xf3b349(0x352)]===!0x0&&this[_0xf3b349(0x305)][_0xf3b349(0x24c)](new _0x5636be[(_0xf3b349(0x2e7))](_0x2feade)['id'],!0x1),_0x2a475a['subType']===_0x2de1e8[_0xf3b349(0x1f2)]&&_0x2a475a['value']===!0x0&&this[_0xf3b349(0x305)][_0xf3b349(0x24c)](new _0x5636be[(_0xf3b349(0x2fc))](_0x2feade)['id'],!0x1),_0x2a475a[_0xf3b349(0x1e0)]===_0x2de1e8[_0xf3b349(0x20b)]&&_0x2a475a[_0xf3b349(0x352)]===!0x0&&this[_0xf3b349(0x305)][_0xf3b349(0x24c)](new _0x5636be[(_0xf3b349(0x360))](_0x2feade)['id'],!0x1),_0x2a475a['subType']===_0x2de1e8['FloatImg']&&_0x2a475a[_0xf3b349(0x352)]===!0x0&&this['_permissionService']['updatePermissionPoint'](new _0x5636be['WorkbookEditablePermission'](_0x2feade)['id'],!0x1));})),this[_0xff260(0x337)](this[_0xff260(0x372)]['registerComponent'](_0x52e672['BuiltInUIPart'][_0xff260(0x2fa)],()=>_0x52e672[_0xff260(0x2cd)](_0x385747,this['_injector']))),this['disposeWithMe'](this[_0xff260(0x2e1)][_0xff260(0x2f4)][_0xff260(0x196)](_0x1595e9=>{const _0x2d1efe=_0xff260;_0x1595e9===_0x4536c2['Loading']&&(this[_0x2d1efe(0x2e1)][_0x2d1efe(0x28e)](),this[_0x2d1efe(0x20c)]['show']({'type':_0x427142[_0x2d1efe(0x3a4)][_0x2d1efe(0x257)],'content':this[_0x2d1efe(0x1b8)]['t'](_0x2d1efe(0x365))})),_0x1595e9===_0x4536c2[_0x2d1efe(0x201)]&&this[_0x2d1efe(0x2e1)]['hideMask']();}));}};_0x194052=_0x12c6f9([_0x1d0e97(0x0,_0x37bc8e[_0x49ed4b(0x1ab)]),_0x1d0e97(0x1,_0x52e672['IUIPartsService']),_0x1d0e97(0x2,_0x52e672[_0x49ed4b(0x38d)]),_0x1d0e97(0x3,_0x37bc8e[_0x49ed4b(0x324)](_0x37bc8e[_0x49ed4b(0x1e4)])),_0x1d0e97(0x4,_0x37bc8e['Inject'](_0x35604f[_0x49ed4b(0x359)])),_0x1d0e97(0x5,_0x37bc8e[_0x49ed4b(0x324)](_0x37bc8e[_0x49ed4b(0x2c5)]))],_0x194052);var _0x521085=Object['getOwnPropertyDescriptor'],_0x57df6a=(_0x4bd4b4,_0x2883b5,_0x103b1f,_0x1bb416)=>{for(var _0x264037=_0x1bb416>0x1?void 0x0:_0x1bb416?_0x521085(_0x2883b5,_0x103b1f):_0x2883b5,_0x36784c=_0x4bd4b4['length']-0x1,_0x46c79a;_0x36784c>=0x0;_0x36784c--)(_0x46c79a=_0x4bd4b4[_0x36784c])&&(_0x264037=_0x46c79a(_0x264037)||_0x264037);return _0x264037;},_0x234ddb=(_0x28dffa,_0x2e8b0e)=>(_0x510208,_0x35e839)=>_0x2e8b0e(_0x510208,_0x35e839,_0x28dffa);let _0x281785=class extends _0x37bc8e[_0x49ed4b(0x283)]{constructor(_0x147e19,_0x4ced12,_0x494efb){const _0x5b83b5=_0x49ed4b;super(),_0x386937(this,_0x5b83b5(0x23f),new Map()),_0x386937(this,_0x5b83b5(0x3a9),new _0x564f4[(_0x5b83b5(0x298))]({'ranges':new Map(),'active':null})),_0x386937(this,_0x5b83b5(0x351),this[_0x5b83b5(0x3a9)][_0x5b83b5(0x34c)]()),(this[_0x5b83b5(0x2e1)]=_0x147e19,this[_0x5b83b5(0x36e)]=_0x4ced12,this['_snapshotServerService']=_0x494efb,this[_0x5b83b5(0x244)]());}['_init'](){const _0x39c85f=_0x49ed4b;this[_0x39c85f(0x23f)]=new Map(),this[_0x39c85f(0x337)](this['_historyManagerService'][_0x39c85f(0x1c8)]['subscribe'](_0x40cf03=>{const _0x5daff4=_0x39c85f;_0x40cf03&&!this[_0x5daff4(0x23f)]['has'](_0x40cf03)&&this['_diffRangesMap'][_0x5daff4(0x1d9)](_0x40cf03,new Map());})),this[_0x39c85f(0x337)](this[_0x39c85f(0x2e1)][_0x39c85f(0x1b2)][_0x39c85f(0x196)](async _0x3aa54c=>{const _0x27f405=_0x39c85f;var _0x399398;_0x3aa54c&&(await this[_0x27f405(0x310)](_0x3aa54c),this[_0x27f405(0x3a9)]['next'](((_0x399398=this[_0x27f405(0x23f)][_0x27f405(0x36b)](this[_0x27f405(0x2e1)][_0x27f405(0x1af)]))==null?void 0x0:_0x399398[_0x27f405(0x36b)](_0x3aa54c))||{'ranges':new Map(),'active':null}));}));}async[_0x49ed4b(0x310)](_0x4f9b81){const _0x1762dc=_0x49ed4b;var _0x1c8bcc,_0x52d927;const _0x3d3d2e=this[_0x1762dc(0x2e1)][_0x1762dc(0x199)](_0x4f9b81),_0x7e4070=this[_0x1762dc(0x2e1)][_0x1762dc(0x1af)];if(!_0x3d3d2e||!_0x7e4070)return;const _0x49e2ab=this['_diffRangesMap'][_0x1762dc(0x36b)](_0x7e4070);if(_0x49e2ab||this['_diffRangesMap'][_0x1762dc(0x1d9)](_0x7e4070,new Map()),(_0x1c8bcc=this['_diffRangesMap']['get'](_0x7e4070))!=null&&_0x1c8bcc[_0x1762dc(0x334)](_0x3d3d2e['id']))return;const {startRev:_0x54efa1,endRev:_0x224369}=_0x3d3d2e;if(_0x54efa1===0x1){_0x49e2ab[_0x1762dc(0x1d9)](_0x3d3d2e['id'],{'ranges':new Map(),'active':null});return;}const _0x165029=_0x54efa1-0x1,_0x33499c=_0x224369,_0x118394=await this[_0x1762dc(0x312)][_0x1762dc(0x2ef)]({},{'unitID':_0x7e4070,'from':_0x165029,'to':_0x33499c,'type':_0x16fabb['UNIVER_SHEET']});if(((_0x52d927=_0x118394[_0x1762dc(0x299)])==null?void 0x0:_0x52d927[_0x1762dc(0x301)])===_0x494040['OK']){const _0xad198d=_0x118394[_0x1762dc(0x1fc)]['map'](_0x505f49=>((_0x505f49[_0x1762dc(0x17e)]===null||_0x505f49[_0x1762dc(0x17e)]===void 0x0)&&(_0x505f49[_0x1762dc(0x17e)]=[]),_0x27dc7c[_0x1762dc(0x1fe)](_0x505f49)))[_0x1762dc(0x363)](_0x378bb7=>_0x378bb7[_0x1762dc(0x17e)]['map'](_0x141348=>({..._0x141348,'params':{..._0x141348[_0x1762dc(0x30f)],'memberId':_0x378bb7['userID']}})))[_0x1762dc(0x2f5)](),_0x27c9c2=this[_0x1762dc(0x242)](_0xad198d),_0x5887cd=this[_0x1762dc(0x22a)](_0xad198d),_0x70f12f=this[_0x1762dc(0x1f3)](_0x27c9c2);_0x49e2ab[_0x1762dc(0x1d9)](_0x3d3d2e['id'],{'ranges':_0x70f12f,'active':_0x5887cd});}}[_0x49ed4b(0x242)](_0x1792ca){const _0x10d5fe=_0x49ed4b;let _0x3547d3=[];for(let _0x4436c4=0x0;_0x4436c4<_0x1792ca[_0x10d5fe(0x378)];_0x4436c4++){const _0x52d04d=_0x1792ca[_0x4436c4];if(_0x3547d3[_0x10d5fe(0x21c)](_0x52d04d),_0x4436c4!==_0x1792ca[_0x10d5fe(0x378)]-0x1){const _0x728668=_0x1792ca[_0x4436c4+0x1],_0x369af9=this['_transformService'][_0x10d5fe(0x1bd)](_0x3547d3,[_0x728668]);_0x27dc7c['isTransformMutationsSuccess'](_0x369af9)?_0x3547d3=_0x369af9[_0x10d5fe(0x309)]:_0x3547d3=[];}}return _0x3547d3;}[_0x49ed4b(0x22a)](_0x158fbe){const _0x267ef3=_0x49ed4b;let _0x448976=[];return _0x158fbe['forEach'](_0x2ec368=>{const _0x4637ee=_0x5278;if(_0x2ec368['id']===_0x5636be[_0x4637ee(0x1fa)]['id']){const _0x3eccbb=_0x2ec368['params'];_0x448976[_0x4637ee(0x21c)](_0x3eccbb[_0x4637ee(0x39e)]['id']);}else{if(_0x2ec368['id']===_0x5636be[_0x4637ee(0x2bf)]['id']){const _0xadb0f2=_0x2ec368[_0x4637ee(0x30f)];_0x448976['length']>0x0&&(_0x448976=_0x448976[_0x4637ee(0x33b)](_0x599fcc=>_0x599fcc!==_0xadb0f2[_0x4637ee(0x25f)]));}else{if(_0x2ec368['id']===_0x5636be[_0x4637ee(0x2d2)]['id']){const _0xd4c34b=_0x2ec368[_0x4637ee(0x30f)];_0xd4c34b[_0x4637ee(0x1c1)]?_0x448976=_0x448976[_0x4637ee(0x33b)](_0x2a5286=>_0x2a5286!==_0xd4c34b[_0x4637ee(0x25f)]):_0x448976[_0x4637ee(0x21c)](_0xd4c34b[_0x4637ee(0x25f)]);}else{const _0x3c55fb=_0x2ec368[_0x4637ee(0x30f)];_0x3c55fb[_0x4637ee(0x25f)]&&_0x448976[_0x4637ee(0x21c)](_0x3c55fb[_0x4637ee(0x25f)]);}}}}),_0x448976[_0x267ef3(0x378)]>0x0?_0x448976[_0x448976[_0x267ef3(0x378)]-0x1]:null;}[_0x49ed4b(0x1f3)](_0x1b9b37){const _0x4579a7=_0x49ed4b,_0x52a288=new Map();return _0x1b9b37[_0x4579a7(0x353)](_0x2e81a8=>{const _0x422897=_0x4579a7;var _0x339ef6,_0x2baab2;const _0x4b91f4=(_0x339ef6=_0x2e81a8[_0x422897(0x30f)])==null?void 0x0:_0x339ef6[_0x422897(0x377)];if(_0x4b91f4){_0x52a288[_0x422897(0x334)](_0x4b91f4)||_0x52a288[_0x422897(0x1d9)](_0x4b91f4,[]);const _0x5ad0ca=this[_0x422897(0x270)](_0x2e81a8);(_0x2baab2=_0x52a288[_0x422897(0x36b)](_0x4b91f4))==null||_0x2baab2[_0x422897(0x21c)](..._0x5ad0ca);}}),_0x52a288[_0x4579a7(0x353)]((_0x2327c5,_0x420bf9)=>{const _0x469d8c=_0x4579a7;_0x52a288['set'](_0x420bf9,this[_0x469d8c(0x384)](_0x2327c5));}),_0x52a288;}[_0x49ed4b(0x270)](_0x50fa3c){const _0x931577=_0x49ed4b;switch(_0x50fa3c['id']){case _0x5636be[_0x931577(0x35f)]['id']:{const _0x1fbe48=_0x50fa3c['params'];return _0x1fbe48[_0x931577(0x20f)][_0x931577(0x363)](_0x3e1f90=>_0x3e1f90[_0x931577(0x3ad)]['map'](_0x4f6aeb=>({'range':_0x4f6aeb,'unitId':_0x1fbe48[_0x931577(0x1af)],'subUnitId':_0x1fbe48['subUnitId']})))['flat']();}case _0x5636be[_0x931577(0x39a)]['id']:{const _0x13060c=_0x50fa3c[_0x931577(0x30f)];return _0x13060c[_0x931577(0x3ad)]['map'](_0x59de9f=>({'range':_0x59de9f,'unitId':_0x13060c[_0x931577(0x1af)],'subUnitId':_0x13060c[_0x931577(0x25f)]}));}case _0x5636be[_0x931577(0x1a9)]['id']:{const _0x30f1bf=_0x50fa3c[_0x931577(0x30f)];return[{'range':_0x30f1bf[_0x931577(0x17c)],'unitId':_0x30f1bf[_0x931577(0x1af)],'subUnitId':_0x30f1bf['subUnitId']}];}case _0x5636be[_0x931577(0x2d1)]['id']:{const _0x296a34=_0x50fa3c[_0x931577(0x30f)];return[{'range':_0x296a34[_0x931577(0x17c)],'unitId':_0x296a34[_0x931577(0x1af)],'subUnitId':_0x296a34[_0x931577(0x25f)]}];}case _0x5636be[_0x931577(0x1e1)]['id']:{const _0x45ba72=_0x50fa3c[_0x931577(0x30f)],{from:_0x515b0d,to:_0x25f879,unitId:_0x19f58f}=_0x45ba72;return[{'range':_0x19a92c(_0x515b0d['value']),'unitId':_0x19f58f,'subUnitId':_0x515b0d['subUnitId']},{'range':_0x19a92c(_0x25f879[_0x931577(0x352)]),'unitId':_0x19f58f,'subUnitId':_0x25f879['subUnitId']}];}case _0x5636be[_0x931577(0x29e)]['id']:{const _0x5b520c=_0x50fa3c[_0x931577(0x30f)],{unitId:_0x487ebd,subUnitId:_0x495ec6,sourceRange:_0x3aabb3,targetRange:_0x4aaaaa}=_0x5b520c,_0x18f6a4=_0x3aabb3[_0x931577(0x2da)]-_0x3aabb3[_0x931577(0x361)]+0x1;return[{'range':_0x4aaaaa[_0x931577(0x361)]<=_0x3aabb3[_0x931577(0x361)]?_0x4aaaaa:{..._0x4aaaaa,'startRow':_0x4aaaaa[_0x931577(0x361)]-_0x18f6a4,'endRow':_0x4aaaaa[_0x931577(0x2da)]-_0x18f6a4},'unitId':_0x487ebd,'subUnitId':_0x495ec6}];}case _0x5636be[_0x931577(0x2eb)]['id']:{const _0x4a39c9=_0x50fa3c['params'],{unitId:_0x358511,subUnitId:_0x8cc3d2,sourceRange:_0x1a407a,targetRange:_0xe90932}=_0x4a39c9,_0x2c70fe=_0x1a407a[_0x931577(0x32a)]-_0x1a407a[_0x931577(0x26a)]+0x1;return[{'range':_0xe90932['startColumn']<=_0x1a407a['startColumn']?_0xe90932:{..._0xe90932,'startColumn':_0xe90932[_0x931577(0x26a)]-_0x2c70fe,'endColumn':_0xe90932[_0x931577(0x32a)]-_0x2c70fe},'unitId':_0x358511,'subUnitId':_0x8cc3d2}];}case _0x5636be[_0x931577(0x321)]['id']:{const _0x5d2cb4=_0x50fa3c[_0x931577(0x30f)],{values:_0x4084b4,unitId:_0x34341b,subUnitId:_0x3466c1}=_0x5d2cb4;return Object[_0x931577(0x32f)](_0x4084b4)[_0x931577(0x363)](_0x2828b9=>_0x2828b9[_0x931577(0x3ad)][_0x931577(0x363)](_0x487fe4=>({'range':_0x487fe4,'unitId':_0x34341b,'subUnitId':_0x3466c1})))[_0x931577(0x2f5)]();}case _0x5636be[_0x931577(0x2b4)]['id']:{const _0x487248=_0x50fa3c['params'],{ranges:_0x5780ab,unitId:_0xbf11a0,subUnitId:_0x15faf4}=_0x487248;return _0x5780ab['map'](_0x3ea287=>({'range':_0x3ea287,'unitId':_0xbf11a0,'subUnitId':_0x15faf4}));}case _0x5636be[_0x931577(0x357)]['id']:{const _0x4e0fb2=_0x50fa3c[_0x931577(0x30f)],{unitId:_0x54c695,subUnitId:_0x406268,range:_0x3eee11}=_0x4e0fb2;return[{'range':_0x3eee11,'unitId':_0x54c695,'subUnitId':_0x406268}];}case _0x5636be['SetRangeProtectionMutation']['id']:{const _0x20a465=_0x50fa3c[_0x931577(0x30f)];return _0x20a465['rule'][_0x931577(0x3ad)][_0x931577(0x363)](_0x1e44c2=>({'range':_0x1e44c2,'unitId':_0x20a465[_0x931577(0x1af)],'subUnitId':_0x20a465[_0x931577(0x25f)]}));}case _0x5636be[_0x931577(0x1e7)]['id']:{const _0x3be9de=_0x50fa3c[_0x931577(0x30f)];return _0x3be9de[_0x931577(0x2db)]?_0x4d692a(_0x3be9de[_0x931577(0x2db)])[_0x931577(0x363)](_0x5d454a=>({'range':_0x5d454a,'unitId':_0x3be9de[_0x931577(0x1af)],'subUnitId':_0x3be9de['subUnitId']})):[];}case _0x2f4848[_0x931577(0x2ad)]['id']:{const _0x3740a0=_0x50fa3c['params'];return[{'range':_0x3740a0['range'],'unitId':_0x3740a0[_0x931577(0x1af)],'subUnitId':_0x3740a0[_0x931577(0x25f)]}];}case _0x28a287[_0x931577(0x171)]['id']:{const _0x33d1e7=_0x50fa3c[_0x931577(0x30f)];return(Array['isArray'](_0x33d1e7[_0x931577(0x271)])?_0x33d1e7[_0x931577(0x271)]:[_0x33d1e7['rule']])[_0x931577(0x363)](_0x25bbda=>_0x25bbda[_0x931577(0x3ad)]['map'](_0x14092d=>({'range':_0x14092d,'unitId':_0x33d1e7[_0x931577(0x1af)],'subUnitId':_0x33d1e7[_0x931577(0x25f)]})))[_0x931577(0x2f5)]();}case _0x837431['SetConditionalRuleMutation']['id']:{const _0x42e005=_0x50fa3c['params'];return _0x42e005[_0x931577(0x271)][_0x931577(0x3ad)][_0x931577(0x363)](_0x10c57f=>({'range':_0x10c57f,'unitId':_0x42e005['unitId'],'subUnitId':_0x42e005[_0x931577(0x25f)]}));}default:return[];}}[_0x49ed4b(0x384)](_0x1d1f9e){const _0x538151=_0x49ed4b;if(_0x1d1f9e['length']<=0x1)return _0x1d1f9e;const _0x383b63=new Map();return _0x1d1f9e[_0x538151(0x353)](_0x2fa9a2=>{const _0x19c340=_0x538151;var _0x4501f5;const {unitId:_0x4aafd1,subUnitId:_0x4953bf}=_0x2fa9a2,_0x4a12be=_0x4aafd1+'-'+_0x4953bf;_0x383b63['has'](_0x4a12be)?(_0x4501f5=_0x383b63[_0x19c340(0x36b)](_0x4a12be))==null||_0x4501f5[_0x19c340(0x21c)](_0x2fa9a2):_0x383b63['set'](_0x4a12be,[_0x2fa9a2]);}),Array[_0x538151(0x1bb)](_0x383b63[_0x538151(0x32f)]())[_0x538151(0x363)](_0x293c95=>new _0x5636be[(_0x538151(0x33e))]()[_0x538151(0x2a4)](..._0x293c95[_0x538151(0x363)](_0x1af127=>_0x1af127[_0x538151(0x17c)]))['merge']()[_0x538151(0x363)](_0x43da68=>({'range':_0x43da68,'unitId':_0x293c95[0x0]['unitId'],'subUnitId':_0x293c95[0x0][_0x538151(0x25f)]})))[_0x538151(0x2f5)]();}};_0x281785=_0x57df6a([_0x234ddb(0x0,_0x37bc8e[_0x49ed4b(0x324)](_0x35604f[_0x49ed4b(0x359)])),_0x234ddb(0x1,_0x27dc7c[_0x49ed4b(0x25c)]),_0x234ddb(0x2,_0x27dc7c['ISnapshotServerService'])],_0x281785);function _0x19a92c(_0xa03cb6){const _0x5bfa4f=_0x49ed4b;return new _0x37bc8e[(_0x5bfa4f(0x1f6))](_0xa03cb6)[_0x5bfa4f(0x262)]();}function _0x4d692a(_0x36cf60){const _0x23a9b9=_0x49ed4b,_0x55f7ab=new _0x37bc8e['ObjectMatrix'](_0x36cf60),_0x570804=new _0x37bc8e[(_0x23a9b9(0x1f6))]();return _0x55f7ab[_0x23a9b9(0x380)]((_0x32cee8,_0xdff4ca)=>{const _0x55e1a6=_0x23a9b9;_0x570804[_0x55e1a6(0x2a2)](_0x32cee8,_0xdff4ca,0x1);}),_0x5636be[_0x23a9b9(0x2b9)](_0x570804);}var _0x485a87=Object[_0x49ed4b(0x1b4)],_0x2e6f64=(_0x10e34b,_0x4de241,_0x63940c,_0x43a5f8)=>{const _0x5af90a=_0x49ed4b;for(var _0x5b0f76=_0x43a5f8>0x1?void 0x0:_0x43a5f8?_0x485a87(_0x4de241,_0x63940c):_0x4de241,_0x153ba9=_0x10e34b[_0x5af90a(0x378)]-0x1,_0x2e33a6;_0x153ba9>=0x0;_0x153ba9--)(_0x2e33a6=_0x10e34b[_0x153ba9])&&(_0x5b0f76=_0x2e33a6(_0x5b0f76)||_0x5b0f76);return _0x5b0f76;},_0x9460df=(_0x12b21d,_0x5a25de)=>(_0x5c5abc,_0x2c5975)=>_0x5a25de(_0x5c5abc,_0x2c5975,_0x12b21d);let _0x5e40c7=class extends _0x37bc8e[_0x49ed4b(0x283)]{constructor(_0x1db260,_0x5e6477,_0x27b803,_0x42bd5c,_0x24e71f,_0xd75877,_0x39fae7){const _0x23de7e=_0x49ed4b;super(),_0x386937(this,_0x23de7e(0x2ff),new Set()),_0x386937(this,'_lastPointer',null),(this['_context']=_0x1db260,this['_historyManagerService']=_0x5e6477,this[_0x23de7e(0x19f)]=_0x27b803,this[_0x23de7e(0x237)]=_0x42bd5c,this[_0x23de7e(0x187)]=_0x24e71f,this[_0x23de7e(0x18f)]=_0xd75877,this[_0x23de7e(0x398)]=_0x39fae7,this[_0x23de7e(0x244)]());}[_0x49ed4b(0x244)](){const _0xe6face=_0x49ed4b;this[_0xe6face(0x2f3)](),this['_initActiveSwitch']();}[_0x49ed4b(0x2f3)](){const _0x577608=_0x49ed4b;this[_0x577608(0x337)](_0x564f4[_0x577608(0x267)]([this['_historyManagerService'][_0x577608(0x2f4)],this[_0x577608(0x18f)][_0x577608(0x243)]])[_0x577608(0x2b8)](_0x564f4[_0x577608(0x364)](([_0x1142e9,_0x522fd0])=>{const _0x5368ec=_0x577608;if(_0x1142e9===_0x4536c2[_0x5368ec(0x201)]&&_0x522fd0){const _0x8dae15=_0x522fd0[_0x5368ec(0x2e2)];return this[_0x5368ec(0x19f)][_0x5368ec(0x351)][_0x5368ec(0x2b8)](_0x564f4[_0x5368ec(0x363)](_0x22706c=>{const _0x15c057=_0x5368ec,_0xa91022=new Map();return _0x22706c[_0x15c057(0x3ad)]['forEach']((_0x8ff0ba,_0x4bf87d)=>{const _0x509c80=_0x15c057,_0x5deb69=_0x8ff0ba[_0x509c80(0x33b)](_0x335949=>_0x335949[_0x509c80(0x25f)]===_0x8dae15);_0xa91022['set'](_0x4bf87d,_0x5deb69);}),{'skeleton':_0x522fd0,'diffs':_0xa91022};}));}return _0x564f4['of']({'skeleton':null,'diffs':new Map()});}))['subscribe'](({skeleton:_0x531f27,diffs:_0x1b45c9})=>{const _0x1d7c8b=_0x577608;this[_0x1d7c8b(0x333)](),_0x531f27&&this[_0x1d7c8b(0x2b7)](_0x531f27,_0x1b45c9);})),this['disposeWithMe'](this[_0x577608(0x18f)][_0x577608(0x243)][_0x577608(0x196)](_0x58645e=>{const _0x11df59=_0x577608;if(_0x58645e==null)return;const {skeleton:_0x1372ee}=_0x58645e,{scene:_0x208fb4}=this['_context'];_0x208fb4[_0x11df59(0x2cc)]['subscribeEvent'](_0x37bc8e[_0x11df59(0x348)](_0x4af4cb=>{const _0x13abbb=_0x11df59;var _0x16255f,_0x368bb6;const {offsetX:_0x27c211,offsetY:_0x34cb54}=_0x4af4cb,{x:_0xc8333a,y:_0x1c165b}=_0x208fb4['getRelativeToViewportCoord'](_0x30b220[_0x13abbb(0x22e)][_0x13abbb(0x2c9)]([_0x27c211,_0x34cb54])),{scaleX:_0x5b1144,scaleY:_0x2c6067}=_0x208fb4[_0x13abbb(0x356)](),_0x25f08d=_0x208fb4[_0x13abbb(0x307)](_0x30b220[_0x13abbb(0x35d)][_0x13abbb(0x28d)]),_0x35740d=_0x208fb4['getVpScrollXYInfoByPosToVp'](_0x30b220['Vector2'][_0x13abbb(0x2c9)]([_0xc8333a,_0x1c165b]),_0x25f08d),_0x3d0463=_0x1372ee[_0x13abbb(0x2e8)](_0x27c211,_0x34cb54,_0x5b1144,_0x2c6067,_0x35740d);((_0x16255f=this[_0x13abbb(0x33c)])==null?void 0x0:_0x16255f[_0x13abbb(0x2f7)])===_0x3d0463[_0x13abbb(0x2f7)]&&((_0x368bb6=this['_lastPointer'])==null?void 0x0:_0x368bb6[_0x13abbb(0x1e5)])===_0x3d0463['row']||this['_diffs'][_0x13abbb(0x353)](_0x3ebbe5=>{const _0x11623f=_0x13abbb;_0x3ebbe5[_0x11623f(0x20a)](_0x3d0463);});},0x64));}));}[_0x49ed4b(0x2ac)](){const _0x5261b3=_0x49ed4b;this[_0x5261b3(0x337)](this[_0x5261b3(0x2e1)][_0x5261b3(0x2f4)]['subscribe'](_0x25b66d=>{const _0x1ab662=_0x5261b3,_0x3c7781=new _0x37bc8e['DisposableCollection']();return _0x25b66d===_0x4536c2[_0x1ab662(0x201)]&&(_0x3c7781[_0x1ab662(0x1be)](),_0x3c7781['add'](this[_0x1ab662(0x19f)][_0x1ab662(0x351)]['subscribe'](_0x1259e8=>{const _0x4df6f0=_0x1ab662;_0x1259e8[_0x4df6f0(0x1e3)]&&this[_0x4df6f0(0x398)]['executeCommand'](_0x5636be[_0x4df6f0(0x397)]['id'],{'unitId':this[_0x4df6f0(0x274)]['unitId'],'subUnitId':_0x1259e8[_0x4df6f0(0x1e3)]});}))),()=>_0x3c7781[_0x1ab662(0x1be)]();}));}[_0x49ed4b(0x2b7)](_0x501370,_0x585a18){const _0x4dc302=_0x49ed4b;var _0x25bac3;const _0x4312d2=(_0x25bac3=this[_0x4dc302(0x18f)]['getCurrent']())==null?void 0x0:_0x25bac3[_0x4dc302(0x31d)];if(!_0x4312d2)return;this[_0x4dc302(0x2ff)][_0x4dc302(0x353)](_0x1829e7=>{const _0x47fb04=_0x4dc302;_0x1829e7[_0x47fb04(0x2e6)]();});const {scene:_0x4fdb71}=this[_0x4dc302(0x274)],_0x3325d1=Array['from'](_0x585a18[_0x4dc302(0x2df)]())[_0x4dc302(0x363)](_0x4a8c6e=>_0x585a18[_0x4dc302(0x36b)](_0x4a8c6e)[_0x4dc302(0x363)](_0x3b41db=>{const _0x1d5945=_0x4dc302;var _0xfd4600;const {range:_0x1e8d2f,subUnitId:_0x236e5a,unitId:_0x29c45a}=_0x3b41db,{startColumn:_0x4272ee,startRow:_0x344538,endColumn:_0x188cac,endRow:_0x2402dc}=_0x1e8d2f,_0x3c4edd=_0x3272da['getCoordByCell'](_0x344538,_0x4272ee,_0x4fdb71,_0x4312d2),_0x33023f=_0x3272da[_0x1d5945(0x202)](_0x2402dc,_0x188cac,_0x4fdb71,_0x4312d2),{columnHeaderHeightAndMarginTop:_0x442e5a}=_0x4312d2,{startX:_0x270705,startY:_0x58e720}=_0x3c4edd,{endX:_0x26cbaa,endY:_0x56b045}=_0x33023f,_0x317665=_0x26cbaa-_0x270705,_0x2a516a=_0x56b045-_0x58e720,_0x193d32={'labelPosition':_0x58e720-_0x442e5a>=0x14?'top':_0x1d5945(0x2ea),'sheetID':_0x236e5a,'range':_0x1e8d2f,'color':'rgba(58,\x2096,\x20247,\x200.20)','fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x1d5945(0x389),'name':((_0xfd4600=this[_0x1d5945(0x2e1)]['getMember'](_0x4a8c6e))==null?void 0x0:_0xfd4600['name'])||'','selection':_0x29c45a+'-'+_0x236e5a+'-'+_0x1e8d2f[_0x1d5945(0x26a)]+'-'+_0x1e8d2f[_0x1d5945(0x361)]+'-'+_0x1e8d2f['endColumn']+'-'+_0x1e8d2f[_0x1d5945(0x2da)],'left':_0x270705,'top':_0x58e720,'width':_0x317665,'height':_0x2a516a,'evented':!0x1,'zIndex':0x1};return new _0x475d42[(_0x1d5945(0x328))]('',_0x193d32);}))[_0x4dc302(0x2f5)]();_0x4fdb71[_0x4dc302(0x282)](_0x3325d1,0x1),this[_0x4dc302(0x2ff)]=new Set(_0x3325d1);}[_0x49ed4b(0x333)](){const _0x123d1e=_0x49ed4b;var _0x14ccbd;(_0x14ccbd=this[_0x123d1e(0x2ff)])==null||_0x14ccbd[_0x123d1e(0x353)](_0x28aa86=>_0x28aa86[_0x123d1e(0x1be)]());}[_0x49ed4b(0x234)](){const _0x22b7b1=_0x49ed4b;return _0x3272da[_0x22b7b1(0x2b0)](this[_0x22b7b1(0x237)],this[_0x22b7b1(0x187)]);}};_0x5e40c7=_0x2e6f64([_0x9460df(0x1,_0x37bc8e['Inject'](_0x35604f[_0x49ed4b(0x359)])),_0x9460df(0x2,_0x37bc8e[_0x49ed4b(0x324)](_0x281785)),_0x9460df(0x3,_0x37bc8e[_0x49ed4b(0x288)]),_0x9460df(0x4,_0x30b220[_0x49ed4b(0x19c)]),_0x9460df(0x5,_0x37bc8e['Inject'](_0x3272da[_0x49ed4b(0x258)])),_0x9460df(0x6,_0x37bc8e['ICommandService'])],_0x5e40c7);function _0xe98917(){const _0x3e276a=_0x49ed4b,_0x51238b=_0x52e672[_0x3e276a(0x190)](_0x35604f[_0x3e276a(0x359)]),_0x42664f=_0x52e672['useObservable'](_0x51238b['versions$']),[_0xc2b774,_0x2b8868]=_0x57e528[_0x3e276a(0x24a)](!0x1),_0x72f745=_0xcf43ff(_0x42664f);return _0x42664f?_0x14d5ca[_0x3e276a(0x2af)](_0x3e276a(0x22b),{'className':'univer-overflow-hidden','children':_0x14d5ca[_0x3e276a(0x292)](_0x3e276a(0x22b),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x72f745[_0x3e276a(0x363)]((_0x52d23c,_0x42b760)=>_0x14d5ca[_0x3e276a(0x292)](_0x57e528[_0x3e276a(0x276)],{'children':[_0x14d5ca[_0x3e276a(0x2af)](_0x309000,{'date':_0x52d23c['dateString']}),_0x52d23c[_0x3e276a(0x2bb)][_0x3e276a(0x363)]((_0xca0f9e,_0x4b4b7d)=>_0x14d5ca[_0x3e276a(0x2af)](_0x46ebfb,{'index':[_0x42b760,_0x4b4b7d],'item':_0xca0f9e},_0x42b760+'-'+_0x4b4b7d))]},_0x52d23c[_0x3e276a(0x317)])),_0xc2b774&&_0x14d5ca[_0x3e276a(0x2af)](_0x55eee4,{})]})}):_0x14d5ca['jsx'](_0x3187af,{});}function _0x55eee4(){const _0x3e5086=_0x49ed4b;return _0x14d5ca[_0x3e5086(0x2af)](_0x3e5086(0x22b),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','children':_0x14d5ca[_0x3e5086(0x2af)](_0x76b676,{'className':'univer-animate-spin'})});}function _0x3187af(){const _0x429c6d=_0x49ed4b;return _0x14d5ca[_0x429c6d(0x2af)](_0x429c6d(0x22b),{'className':_0x429c6d(0x23c),'children':_0x14d5ca[_0x429c6d(0x2af)](_0x429c6d(0x2e3),{'className':_0x429c6d(0x180),'children':_0x14d5ca['jsx'](_0x76b676,{'className':_0x429c6d(0x261)})})});}function _0x309000(_0x123fef){const _0x3eb341=_0x49ed4b,_0x13927d=_0x52e672[_0x3eb341(0x190)](_0x37bc8e[_0x3eb341(0x1e4)]),{date:_0x1df1b0}=_0x123fef;return _0x14d5ca['jsx'](_0x3eb341(0x22b),{'className':_0x3eb341(0x362),'children':_0x16b3ea(_0x1df1b0,_0x13927d[_0x3eb341(0x2b3)]())});}function _0x46ebfb(_0x1dfff3){const _0x48fda4=_0x49ed4b,{item:_0x318843,index:_0x2e9e1f}=_0x1dfff3,{time:_0x1d36e8,user:_0x1a50c2}=_0x318843,[_0x27ba6b,_0x3cfc17]=_0x2e9e1f,_0x1d99e6=_0x52e672[_0x48fda4(0x190)](_0x35604f[_0x48fda4(0x359)]),_0xa350ba=_0x52e672[_0x48fda4(0x210)](_0x1d99e6[_0x48fda4(0x1b2)],'',!0x0)===_0x318843['id'],_0x1e8b12=_0x27ba6b===0x0&&_0x3cfc17===0x0,_0x46a474=!_0x1e8b12&&_0x1d99e6[_0x48fda4(0x2f2)],_0x44b87f=_0x52e672[_0x48fda4(0x190)](_0x37bc8e[_0x48fda4(0x1e4)]),_0x37f607=_0x44b87f[_0x48fda4(0x2b3)](),_0x7d5f2a=_0x1d5840(_0x1d36e8,_0x37f607),_0x473ff7=_0x44b87f['t'](_0x48fda4(0x2ca)),_0x39bd03=_0x57e528[_0x48fda4(0x1ed)](_0x5cc2ef=>{const _0x16500e=_0x48fda4;_0x1d99e6[_0x16500e(0x371)]!==_0x4536c2[_0x16500e(0x227)]&&(_0x1d99e6[_0x16500e(0x2a3)]=_0x5cc2ef);},[_0x1d99e6]),_0x3b9498=_0x57e528[_0x48fda4(0x1ed)](_0xa2cc0c=>{_0x1d99e6['triggerRevert'](_0xa2cc0c);},[_0x1d99e6]);return _0x14d5ca['jsxs'](_0x48fda4(0x22b),{'className':_0x427142['clsx'](_0x48fda4(0x35b),{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0xa350ba}),'onClick':()=>_0x39bd03(_0x318843['id']),'children':[_0x14d5ca['jsxs'](_0x48fda4(0x22b),{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x14d5ca[_0x48fda4(0x292)](_0x48fda4(0x22b),{'className':_0x48fda4(0x198),'children':[_0x14d5ca[_0x48fda4(0x2af)](_0x48fda4(0x2e3),{'children':_0x7d5f2a[_0x48fda4(0x263)]}),_0x1e8b12&&_0x14d5ca[_0x48fda4(0x2af)](_0x48fda4(0x2e3),{'className':_0x48fda4(0x35a),'children':_0x473ff7})]}),_0x14d5ca[_0x48fda4(0x2af)](_0x48fda4(0x22b),{'children':_0x46a474&&_0x14d5ca[_0x48fda4(0x2af)](_0x427142[_0x48fda4(0x2f1)],{'title':_0x44b87f['t'](_0x48fda4(0x32c)),'children':_0x14d5ca[_0x48fda4(0x2af)](_0x48fda4(0x22b),{'onClick':_0x98d8db=>{const _0x294d62=_0x48fda4;_0x98d8db[_0x294d62(0x366)](),_0x3b9498(_0x318843['id']);},'className':_0x48fda4(0x2b2),'children':_0x14d5ca[_0x48fda4(0x2af)](_0x2d8557,{})})})})]}),_0x14d5ca[_0x48fda4(0x2af)](_0x48fda4(0x22b),{'className':_0x48fda4(0x388),'children':_0x2f1f25(_0x318843,_0x44b87f)})]});}var _0x854712=Object['getOwnPropertyDescriptor'],_0x433699=(_0x473393,_0x15d662,_0x4de8aa,_0x3a10fa)=>{const _0x11af63=_0x49ed4b;for(var _0x4c2a6b=_0x3a10fa>0x1?void 0x0:_0x3a10fa?_0x854712(_0x15d662,_0x4de8aa):_0x15d662,_0x157fd9=_0x473393[_0x11af63(0x378)]-0x1,_0x5c6a2a;_0x157fd9>=0x0;_0x157fd9--)(_0x5c6a2a=_0x473393[_0x157fd9])&&(_0x4c2a6b=_0x5c6a2a(_0x4c2a6b)||_0x4c2a6b);return _0x4c2a6b;},_0xe2ce4=(_0xa5d2f1,_0x194cfa)=>(_0x4a3e51,_0x3c74ea)=>_0x194cfa(_0x4a3e51,_0x3c74ea,_0xa5d2f1);const _0xa6f9fb=_0x49ed4b(0x2a7);let _0x2fcae4=class extends _0x37bc8e[_0x49ed4b(0x283)]{constructor(_0x23e2be,_0x20d0e8,_0x283b75,_0x23ffd0){const _0x1893ac=_0x49ed4b;super(),_0x386937(this,_0x1893ac(0x2e5),null),(this['_sidebarService']=_0x23e2be,this[_0x1893ac(0x395)]=_0x20d0e8,this['_localeService']=_0x283b75,this['_historyManagerService']=_0x23ffd0,this[_0x1893ac(0x244)]());}[_0x49ed4b(0x244)](){const _0x320346=_0x49ed4b;this[_0x320346(0x2be)](),this['_openPanel']();}[_0x49ed4b(0x2fb)](){const _0x1eea62=_0x49ed4b;if(this[_0x1eea62(0x2e5)])return;const _0x208b3={'header':{'title':this[_0x1eea62(0x1b8)]['t'](_0x1eea62(0x1ee))},'children':{'label':_0xa6f9fb},'onClose':()=>{const _0x496e4e=_0x1eea62;this[_0x496e4e(0x2e5)]=null,this[_0x496e4e(0x2e1)][_0x496e4e(0x231)]=_0x25cc45[_0x496e4e(0x30c)];}};this[_0x1eea62(0x2e5)]=this[_0x1eea62(0x1ec)][_0x1eea62(0x17b)]({..._0x208b3});}[_0x49ed4b(0x2be)](){const _0x990fd9=_0x49ed4b;this[_0x990fd9(0x337)](this[_0x990fd9(0x395)][_0x990fd9(0x247)](_0xa6f9fb,_0xe98917)),this['disposeWithMe'](this[_0x990fd9(0x1ec)][_0x990fd9(0x27f)][_0x990fd9(0x2b8)](_0x564f4[_0x990fd9(0x32e)](0x64))[_0x990fd9(0x196)](_0x1e35d1=>{const _0xd3f7cd=_0x990fd9,{target:_0x4168fd}=_0x1e35d1||{};if(_0x4168fd){const {scrollTop:_0x16be7f,scrollHeight:_0x50f9d2,clientHeight:_0x296673}=_0x4168fd;_0x16be7f+_0x296673>=_0x50f9d2-0x5&&this[_0xd3f7cd(0x2e1)]['loadMoreVersions']();}}));}};_0x2fcae4=_0x433699([_0xe2ce4(0x0,_0x52e672[_0x49ed4b(0x1b6)]),_0xe2ce4(0x1,_0x37bc8e[_0x49ed4b(0x324)](_0x52e672[_0x49ed4b(0x387)])),_0xe2ce4(0x2,_0x37bc8e[_0x49ed4b(0x324)](_0x37bc8e[_0x49ed4b(0x1e4)])),_0xe2ce4(0x3,_0x37bc8e[_0x49ed4b(0x324)](_0x35604f['HistoryManagerService']))],_0x2fcae4);class _0x1547ab extends _0x37bc8e[_0x49ed4b(0x283)]{constructor(){const _0x3c05be=_0x49ed4b;super(),_0x386937(this,_0x3c05be(0x379),new _0x564f4['Subject']());}[_0x49ed4b(0x17b)](){return _0x37bc8e['toDisposable'](()=>{});}[_0x49ed4b(0x1aa)](){}[_0x49ed4b(0x344)](_0x51a56d){}['getDialogs$'](){const _0x5de724=_0x49ed4b;return this[_0x5de724(0x379)]['asObservable']();}}var _0x1353d4=Object['defineProperty'],_0x5e50d1=Object[_0x49ed4b(0x1b4)],_0x36b607=(_0x4d29a9,_0x50410a,_0x406477)=>_0x50410a in _0x4d29a9?_0x1353d4(_0x4d29a9,_0x50410a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x406477}):_0x4d29a9[_0x50410a]=_0x406477,_0x481e02=(_0x1e60da,_0xf27e9c,_0x448aec,_0x4c8cb1)=>{for(var _0x37e9fc=_0x4c8cb1>0x1?void 0x0:_0x4c8cb1?_0x5e50d1(_0xf27e9c,_0x448aec):_0xf27e9c,_0x700513=_0x1e60da['length']-0x1,_0x580117;_0x700513>=0x0;_0x700513--)(_0x580117=_0x1e60da[_0x700513])&&(_0x37e9fc=_0x580117(_0x37e9fc)||_0x37e9fc);return _0x37e9fc;},_0x59d527=(_0x3e0294,_0x9fdd3c)=>(_0x550684,_0x30c3cb)=>_0x9fdd3c(_0x550684,_0x30c3cb,_0x3e0294),_0x2b0ace=(_0x570807,_0x5a620a,_0x124ca0)=>_0x36b607(_0x570807,_0x5a620a+'',_0x124ca0);const _0x127062=_0x49ed4b(0x31e);_0x35604f['UniverEditHistoryViewerPlugin']=class extends _0x37bc8e[_0x49ed4b(0x1ef)]{constructor(_0x25af56=_0x1cbf71,_0x547d4f,_0xb863bb,_0x2ebc53){const _0x10ea89=_0x49ed4b;super(),this[_0x10ea89(0x238)]=_0x25af56,this[_0x10ea89(0x1a3)]=_0x547d4f,this[_0x10ea89(0x187)]=_0xb863bb,this[_0x10ea89(0x1a2)]=_0x2ebc53;const {..._0x40edc7}=_0x37bc8e['merge']({},_0x1cbf71,this[_0x10ea89(0x238)]);this[_0x10ea89(0x1a2)][_0x10ea89(0x27b)](_0x1a7f92,_0x40edc7);}['onStarting'](){const _0x3c393e=_0x49ed4b;[[_0x35604f[_0x3c393e(0x359)]],[_0x194052],[_0x281785],[_0xdac991],[_0x2fcae4],[_0x1bbd79],[_0x27dc7c['ISnapshotServerService'],{'useClass':_0x50ff9d[_0x3c393e(0x350)]}],[_0x52e672[_0x3c393e(0x3ab)],{'useClass':_0x1547ab}],[_0x4710f1[_0x3c393e(0x36d)],{'useClass':_0x50ff9d[_0x3c393e(0x1a7)]}]][_0x3c393e(0x353)](_0x2b5846=>this[_0x3c393e(0x1a3)][_0x3c393e(0x2a4)](_0x2b5846)),this[_0x3c393e(0x1a3)][_0x3c393e(0x36b)](_0x194052);}[_0x49ed4b(0x2f6)](){const _0x2c7fee=_0x49ed4b;[[_0x5e40c7]][_0x2c7fee(0x353)](_0x504754=>{const _0x5b991c=_0x2c7fee;this[_0x5b991c(0x337)](this['_renderManagerService'][_0x5b991c(0x280)](_0x37bc8e[_0x5b991c(0x2d8)][_0x5b991c(0x212)],_0x504754));}),this[_0x2c7fee(0x1a3)][_0x2c7fee(0x36b)](_0x1bbd79),this['_injector'][_0x2c7fee(0x36b)](_0x2fcae4);}[_0x49ed4b(0x235)](){const _0x3d2ce6=_0x49ed4b;this[_0x3d2ce6(0x1a3)]['get'](_0x281785);}},_0x2b0ace(_0x35604f['UniverEditHistoryViewerPlugin'],_0x49ed4b(0x1d0),_0x127062),_0x35604f[_0x49ed4b(0x2c1)]=_0x481e02([_0x37bc8e[_0x49ed4b(0x1cc)](_0x3272da[_0x49ed4b(0x216)],_0x1fb47b[_0x49ed4b(0x240)]),_0x59d527(0x1,_0x37bc8e['Inject'](_0x37bc8e[_0x49ed4b(0x2c5)])),_0x59d527(0x2,_0x30b220[_0x49ed4b(0x19c)]),_0x59d527(0x3,_0x37bc8e[_0x49ed4b(0x37a)])],_0x35604f[_0x49ed4b(0x2c1)]),_0x35604f[_0x49ed4b(0x2c6)]=_0x25cc45,Object[_0x49ed4b(0x1b3)](_0x35604f,Symbol[_0x49ed4b(0x39c)],{'value':_0x49ed4b(0x260)});}));function _0x59a3(){const _0x4b7e0e=['LocaleType','removeSheet','entered','loading-multi-icon','rev','INTERNAL_ERROR','EditExtraObject','split','loaded','Info','SheetSkeletonManagerService','PY_RUNTIME_SCRIPT_ERROR','fill','_loadingState$','ITransformService','_maskContainer','status$','subUnitId','Module','univer-m-auto\x20univer-animate-spin','getDataRange','time','SetConditionalRuleMutation','TOO_MANY_REQUESTS','editHistory.panel.confirm','combineLatest','UniverDesign','APPLY_NON_SEQUENTIAL_REVISION','startColumn','ENTITLE_DUP_SUBSCRIPTION','ENTITLE_CHAT_LIMIT_EXCEED','function','body','toISOString','_getRangesByMutation','rule','[HistoryFetchService]:\x20request\x20snapshot\x20error!','forwardRef','_context','restore-icon_clip0_1247_2','Fragment','data','_unitId$','Delete','ENTITLE_INSUFFICIENT_QUOTA','setConfig','addSparkline','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','@univerjs/design','scrollEvent$','registerRenderModule','setState','addObjects','Disposable','string','_hasMore','createTime','@univerjs/sheets-filter','IUniverInstanceService','CopySheet','evenodd','LOGIN_TOKEN_PROCESSING_FAILED','symbol','VIEW_MAIN','showMask','22HdeyMP','rgba(225,\x20225,\x20225,\x200.5)','http://www.w3.org/2000/svg','jsxs','APPLY_REVISION_CONFILICT','revertSheet','SNAPSHOT_HAS_BEEN_REMOVED','ENSURE_SNAPSHOT_EXECUTION','DeleteSheet','BehaviorSubject','error','ICommandService','@univerjs/network','toString','CURRENT_STATUS_CANNOT_OPERATE','MoveRowsMutation','LICENSE_DISTRO_REJECTED','@univerjs-pro/collaboration-client','UniverEngineRender','setValue','currentVersion','add','loading','endRev','history-panel','APPLY_PERMISSION_DENIED','COMPLETION_FINISHED','APPLY_DUPLICATED','View','_initActiveSwitch','SetSheetsFilterRangeMutation','setCF','jsx','getSheetObject','Export','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','getCurrentLocale','RemoveNumfmtMutation','next','commands','_updateDiffMarks','pipe','findAllRectangle','382795HpZLwc','versions','Copy','entities','_initPanel','RemoveSheetMutation','DeleteWorksheetProtectionMutation','UniverEditHistoryViewerPlugin','height','displayName','addProtection','Injector','HistoryModeStatus','setFrozen','ERROR_AGAIN','FromArray','editHistory.panel.currentVersion','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','onPointerMove$','connectInjector','UNIVER_PROJECT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','edit-history-viewer.config','InsertColMutation','SetWorksheetHideMutation','deleteProtection','clsx','Button','SetCellStyle','HTTPService','UniverInstanceType','DATA_SOURCE_TOO_LARGE','endRow','cellValue','PAYMENT_CHANNEL_NOT_SUPPORT','@univerjs/ui','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','keys','UniverDataValidation','_historyManagerService','sheetId','span','YUUMI_RATE_OVER_LIMIT','_sidebarDisposable','makeDirty','WorkbookMoveSheetPermission','getCellPositionByOffset','color','bottom','MoveColsMutation','now','getUnitId','syncExecuteCommand','fetchMissingChangesets','_status$','Tooltip','canRevert','_initRender','loadingState$','flat','onRendered','column','RenameWorksheet','REDEMPTION_INVALID_CODE','HEADER','_openPanel','WorkbookHideSheetPermission','tag','EMAIL_HAS_BEEN_BOUND','_diffs','back-icon','code','USER_IS_ANONYMOUS','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','append','_permissionService','_historyContainerId','getViewport','SetCellValue','m1Prime','UNAUTHENTICATED','UNIVER_UNKNOWN','Exited','WorkbookRenameSheetPermission','UniverProSheetsSparkline','params','ensureVersion','MoveWorksheet','_snapshotServerService','MOBILE_VERIFY_CODE_MISMATCH','loadMoreVersions','711800sqRSXa','then','dateString','ENTITLE_NEED_BILLING_ADDRESS','ViewFilter','INVITE_CODE_REQUIRED','YUUMI_CONNECTOR_URL_NOT_FOUND','init','skeleton','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','DeleteColumn','recoverTime','SetNumfmtMutation','SheetPermissionInitController','CHANGESET_REVISION_CONFILICT','Inject','replace','idSuffix','_confirmService','SheetCollabCursorShape','parse','endColumn','history-mask','editHistory.panel.revertDesc','_maskElement','debounceTime','values','React','hideMask','History','_removeDiffMarks','has','InsertColumn','WECHAT_HAS_BEEN_BOUND','disposeWithMe','_members','YUUMI_URL_COL_OUT_OF_RANGE','amd','filter','_lastPointer','UNDEFINED','RangeMergeUtil','getVersions','refreshRangeProtectPermission','BackIcon','_createUnit','className','closeAll','getMinutes','_historyFetchService','708570dgtLEf','debounce','@univerjs/sheets-conditional-formatting','getCurrentVersion','entries','asObservable','assign','UNIVER_DOC','editHistory.action.etc','SnapshotServerOverHTTPService','currentVersionDiff$','value','forEach','useRef','49wOMBgk','getAncestorScale','ReorderRangeMutation','HideWorksheet','HistoryManagerService','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','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_SLIDE','SHEET_VIEWPORT_KEY','colorChannel1','AddRangeProtectionMutation','WorkbookEditablePermission','startRow','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','map','switchMap','editHistory.info.loading','stopPropagation','Filter','4oBILuG','triggerLoadSheet','967953bsafOZ','get','createElement','IImageIoService','_transformService','INVALID_ARGUMENT','display','loadingState','_uiPartsService','INVITE_CODE_HAS_BEEN_UES','VIRTUAL_VERSION_NOW','RestoreIcon','YUUMI_TABLE_NOT_FOUND_IN_UNIT','memberId','length','_dialogOptions$','IConfigService','date','_sheetPermissionInitController','Share','REDEMPTION_CODE_FULLY_REDEEMED','SelectUnProtectedCells','forValue','ENTITLE_CAN_NOT_BUY_LOWER_OTP','disposeUnit','ALREADY_EXISTS','_combineRanges','LoadingMultiIcon','editHistory.panel.revertConfirmText','ComponentManager','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','rgba(58,\x2096,\x20247,\x200.20)','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','&lastLabel=','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','IMessageService','MOBILE_HAS_BEEN_BOUND','#0B9EFB','@univerjs/core','CreatePermissionObject','LICENSE_IMPORT_SIZE_EXCEEDED','defIds','_versions$','_componentManager','84450esftCB','SetWorksheetActiveOperation','_commandService','_canRevert','AddWorksheetMergeMutation','_getAPIPrefix','toStringTag','getConfig','sheet','YUUMI_AI_RUN_FAILED','mask','use','_updateVersions',':\x20(','MessageType','ENTITLE_REPORT_LIMIT_EXCEED','svg','find','name','_currentVersionDiff$','rect','IDialogService','attrs','ranges','exports','CONNECTOR_DATA_TOO_LARGE','AddDataValidationMutation','editHistory.panel.listFetchError','SetWorksheetStyle','FloatImg','_currentVersion$','AUTHORIZE_CODE_ILLEGAL','interceptor','xlink:href','YUUMI_UNABLE_LOAD_URL','triggerRevert','open','range','substring','mutations','YUUMI_ASYNCIO_CANCELLED','univer-text-gray-500','editHistory.action.revertSheetPrefix','path','anonymous','@univerjs-pro/collaboration-client-ui','CreateSheet','Error','_renderManagerService','@univerjs-pro/collaboration','width','@univerjs/sheets','defs','block','editHistory.action.','ManageCollaborator','_sheetSkeletonManagerService','useDependency','editHistory.action.revertSheetSuffix','MoveSheet','versions$','confirm-revert-revision','DeleteWorksheet','subscribe','Entered','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getVersion','transformSnapshotToWorkbookData','3229839TzcqME','IRenderManagerService','LICENSE_EXPORT_SIZE_EXCEEDED','userId','_versionDiffService','_compressMutationService','0\x200\x2016\x2016','_configService','_injector','UniverSheetsUi','permissionPointUpdate$','EMAIL_VERIFY_CODE_MISMATCH','CollaborationImageIoService','UniverProCollaborationClient','InsertRowMutation','close','IPermissionService','show','UniverProCollaborationClientUi','CreateWorksheet','unitId','ViewHistory','getInterceptPoints','currentVersion$','defineProperty','getOwnPropertyDescriptor','Edit','ISidebarService','SetRowStyle','_localeService','historyListServerUrl','reduce','from','hasCommand','transformMutations','dispose','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','editHistory.panel.unknownUser','hidden','user','ViemRwHgtClWdt','flex','univer-text-2xl\x20dark:!univer-text-white','0\x200\x2016\x2017','CreateUnitMutation','unitId$','REDEMPTION_USER_NOT_ELIGIBLE','restore-icon','_lastLabel','DependentOn','white','blockMeta','COMPRESS_MUTATION_APPLY','pluginName','@univerjs/sheets-ui','UniverSheets','position','users','54tMeruV','_fetching','setFilter','UpdateDataValidationMutation','set','PivotTable','blocks','_revertRevision$','@univerjs/data-validation','state$','RevertRevisionMutation','subType','MoveRangeMutation','getDeserializedSheetBlock','active','LocaleService','row','editHistory.panel.currentUser','SetRangeValuesMutation','url(#$1','InsertHyperlink','5613060nZSfOO','INVITE_CODE_ALREADY_BOUND','_sidebarService','useCallback','editHistory.panel.title','Plugin','.univer-app-container-content','SNAPSHOT_INVALID_SNAPSHOT','HideSheet','_extractRanges','DeleteRangeProtectionMutation','EditWorksheetCell','ObjectMatrix','univerjs-icon\x20univerjs-icon-','1em','padStart','InsertSheetMutation','getUnitOnRev','changesets','Print','parseProtocolChangeset','getHours','REDEMPTION_CODE_INACTIVE','Loaded','getCoordByCell','current','children','_workbookDataCache','object','some','RecoverHistory','react/jsx-runtime','onMouseMove','Comment','_messageService','YUUMI_SUBSCRIPTION_NOT_FOUND','loadSheet','rules','useObservable','trim','UNIVER_SHEET','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','react','RenameSheet','UniverSheetsUIPlugin','none','YUUMI_NO_CUBOID_FOR_QUESTION','button','UniverIcon','UniverDrawing','push','SetFrozenMutation','APPLY_REJECT','REDEMPTION_CODE_NOT_STARTED','AddConditionalRuleMutation','NOT_FOUND','_httpService','random','/universer-api/history','PERMISSION_DENIED','INVALID_INVITE_CODE','Loading','style','DeleteRow','_getActiveSubUnitId','div','UNRECOGNIZED','_cellEditorManagerService','Vector2','/list?length=20','REDEMPTION_USER_REDEEM_TIMES_EXCEED','status','ZH_CN','YUUMI_ALL_TABLES_IS_INVALID','_getSheetObject','onSteady','_createMask','_univerInstanceService','_config','2LDTQjd','@univerjs/drawing','_initMaskContainer','univer-flex\x20univer-items-center\x20univer-justify-center','rxjs','AddWorksheetProtectionMutation','_diffRangesMap','UniverNetworkPlugin','editHistory.panel.cancel','_transformMutationByOrder','currentSkeleton$','_init','ICellEditorManagerService','top','register','RwHgtClWdt','USER_NOT_INVITED_CODE','useState','SetColumnStyle','updatePermissionPoint','clipPath'];_0x59a3=function(){return _0x4b7e0e;};return _0x59a3();}
17
+ function _0x331c(_0x19c97b,_0xd58f68){const _0x5804ed=_0x5804();return _0x331c=function(_0x331c03,_0x2112f9){_0x331c03=_0x331c03-0xce;let _0x374134=_0x5804ed[_0x331c03];return _0x374134;},_0x331c(_0x19c97b,_0xd58f68);}(function(_0x364814,_0x19d4fd){const _0x235259=_0x331c,_0x24edd1=_0x364814();while(!![]){try{const _0x3d5c8c=-parseInt(_0x235259(0x224))/0x1+-parseInt(_0x235259(0x263))/0x2*(parseInt(_0x235259(0xe4))/0x3)+-parseInt(_0x235259(0x103))/0x4+-parseInt(_0x235259(0x214))/0x5*(parseInt(_0x235259(0x20f))/0x6)+parseInt(_0x235259(0x11f))/0x7*(parseInt(_0x235259(0x1c1))/0x8)+parseInt(_0x235259(0x165))/0x9+parseInt(_0x235259(0x216))/0xa;if(_0x3d5c8c===_0x19d4fd)break;else _0x24edd1['push'](_0x24edd1['shift']());}catch(_0x7b13c5){_0x24edd1['push'](_0x24edd1['shift']());}}}(_0x5804,0x2dcc2),function(_0x182770,_0x3d5348){const _0x2bd23a=_0x331c;typeof exports=='object'&&typeof module<'u'?_0x3d5348(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('@univerjs/design'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs/data-validation'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-filter'),require('react/jsx-runtime'),require('react'),require('@univerjs-pro/collaboration-client-ui')):typeof define==_0x2bd23a(0x25a)&&define[_0x2bd23a(0xd2)]?define([_0x2bd23a(0x275),_0x2bd23a(0x151),_0x2bd23a(0x226),_0x2bd23a(0x2bb),_0x2bd23a(0x2ef),_0x2bd23a(0x117),'@univerjs/network','@univerjs/sheets-ui',_0x2bd23a(0x2e4),_0x2bd23a(0x1a1),_0x2bd23a(0x22a),'rxjs',_0x2bd23a(0x262),'@univerjs/data-validation',_0x2bd23a(0x284),_0x2bd23a(0x125),_0x2bd23a(0x153),'react',_0x2bd23a(0x2d2)],_0x3d5348):(_0x182770=typeof globalThis<'u'?globalThis:_0x182770||self,_0x3d5348(_0x182770[_0x2bd23a(0x202)]={},_0x182770[_0x2bd23a(0x2cc)],_0x182770['UniverProCollaborationClient'],_0x182770[_0x2bd23a(0x2ea)],_0x182770[_0x2bd23a(0x1d7)],_0x182770[_0x2bd23a(0x1e7)],_0x182770[_0x2bd23a(0x175)],_0x182770[_0x2bd23a(0x2d9)],_0x182770[_0x2bd23a(0x28a)],_0x182770['UniverDesign'],_0x182770[_0x2bd23a(0x210)],_0x182770[_0x2bd23a(0x115)],_0x182770[_0x2bd23a(0x16a)],_0x182770[_0x2bd23a(0x2fc)],_0x182770[_0x2bd23a(0x1b1)],_0x182770[_0x2bd23a(0x242)],_0x182770['React'],_0x182770['React'],_0x182770[_0x2bd23a(0x186)]));}(this,function(_0x2afb7b,_0x4658e3,_0x4342ff,_0x287239,_0x21904a,_0x185f7f,_0x2b0737,_0xf33c3,_0x1f9fca,_0x407bc3,_0x56ed82,_0x493d52,_0xd45be1,_0x346063,_0xed2ba5,_0x2fa927,_0x5118a6,_0x5cef4f,_0x50e0f0){'use strict';const _0x149b74=_0x331c;var _0x232177=Object[_0x149b74(0x2ad)],_0xc63a65=(_0x16a13a,_0x4955a0,_0x3d1b23)=>_0x4955a0 in _0x16a13a?_0x232177(_0x16a13a,_0x4955a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d1b23}):_0x16a13a[_0x4955a0]=_0x3d1b23,_0x217380=(_0x51c253,_0x1ba736,_0x28b556)=>_0xc63a65(_0x51c253,typeof _0x1ba736!=_0x149b74(0x1be)?_0x1ba736+'':_0x1ba736,_0x28b556);const _0x18ecfb='edit-history-viewer.config',_0x3b2a13={};var _0x46fd51=Object[_0x149b74(0x1c2)],_0xc566bb=(_0x47fde1,_0x1b388d,_0xad9083,_0x4c679a)=>{const _0x42866c=_0x149b74;for(var _0x42168b=_0x4c679a>0x1?void 0x0:_0x4c679a?_0x46fd51(_0x1b388d,_0xad9083):_0x1b388d,_0xae6423=_0x47fde1[_0x42866c(0x121)]-0x1,_0x272283;_0xae6423>=0x0;_0xae6423--)(_0x272283=_0x47fde1[_0xae6423])&&(_0x42168b=_0x272283(_0x42168b)||_0x42168b);return _0x42168b;},_0x85169e=(_0x2ed628,_0x1457cc)=>(_0x138b21,_0x504369)=>_0x1457cc(_0x138b21,_0x504369,_0x2ed628);let _0x6a9a62=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x1dc291){super(),this['_cellEditorManagerService']=_0x1dc291,this['_init']();}[_0x149b74(0x1b4)](){const _0xb3c63b=_0x149b74;this[_0xb3c63b(0x17c)](this['_cellEditorManagerService'][_0xb3c63b(0xd0)][_0xb3c63b(0x2a3)](_0x37790a=>{const _0x3c2ebc=_0xb3c63b;_0x37790a!=null&&_0x37790a[_0x3c2ebc(0x252)]&&this['_cellEditorManagerService'][_0x3c2ebc(0x14b)]({'show':!0x1});}));}};_0x6a9a62=_0xc566bb([_0x85169e(0x0,_0xf33c3[_0x149b74(0x14a)])],_0x6a9a62);var _0x403561=(_0xf698f8=>(_0xf698f8[_0xf698f8[_0x149b74(0x29b)]=0x0]='UNDEFINED',_0xf698f8[_0xf698f8['OK']=0x1]='OK',_0xf698f8[_0xf698f8[_0x149b74(0x278)]=0x2]='INTERNAL_ERROR',_0xf698f8[_0xf698f8['PERMISSION_DENIED']=0x3]=_0x149b74(0x251),_0xf698f8[_0xf698f8[_0x149b74(0x1fc)]=0x4]=_0x149b74(0x1fc),_0xf698f8[_0xf698f8['UNAUTHENTICATED']=0x5]=_0x149b74(0x194),_0xf698f8[_0xf698f8[_0x149b74(0x29e)]=0x6]=_0x149b74(0x29e),_0xf698f8[_0xf698f8['INVALID_ARGUMENT']=0x7]=_0x149b74(0x1e4),_0xf698f8[_0xf698f8[_0x149b74(0x152)]=0x8]=_0x149b74(0x152),_0xf698f8[_0xf698f8['COMPLETION_FINISHED']=0x9]=_0x149b74(0x24b),_0xf698f8[_0xf698f8[_0x149b74(0x12a)]=0xa]=_0x149b74(0x12a),_0xf698f8[_0xf698f8['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x149b74(0x273),_0xf698f8[_0xf698f8['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x149b74(0x24c),_0xf698f8[_0xf698f8[_0x149b74(0x280)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xf698f8[_0xf698f8[_0x149b74(0x2d6)]=0xe]=_0x149b74(0x2d6),_0xf698f8[_0xf698f8[_0x149b74(0x1b6)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0xf698f8[_0xf698f8['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x149b74(0x1f6),_0xf698f8[_0xf698f8[_0x149b74(0x2c5)]=0x64]=_0x149b74(0x2c5),_0xf698f8[_0xf698f8[_0x149b74(0x178)]=0x65]=_0x149b74(0x178),_0xf698f8[_0xf698f8[_0x149b74(0xfb)]=0xc9]=_0x149b74(0xfb),_0xf698f8[_0xf698f8[_0x149b74(0x21a)]=0xca]=_0x149b74(0x21a),_0xf698f8[_0xf698f8[_0x149b74(0x1a3)]=0x1389]=_0x149b74(0x1a3),_0xf698f8[_0xf698f8[_0x149b74(0xe3)]=0x1771]=_0x149b74(0xe3),_0xf698f8[_0xf698f8[_0x149b74(0x2c2)]=0x1772]=_0x149b74(0x2c2),_0xf698f8[_0xf698f8[_0x149b74(0x28c)]=0x1773]=_0x149b74(0x28c),_0xf698f8[_0xf698f8['APPLY_REJECT']=0x1b59]=_0x149b74(0x254),_0xf698f8[_0xf698f8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xf698f8[_0xf698f8[_0x149b74(0x169)]=0x1b5b]=_0x149b74(0x169),_0xf698f8[_0xf698f8['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0xf698f8[_0xf698f8[_0x149b74(0x173)]=0x1b5d]=_0x149b74(0x173),_0xf698f8[_0xf698f8[_0x149b74(0xee)]=0x1f41]=_0x149b74(0xee),_0xf698f8[_0xf698f8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x149b74(0x1f2),_0xf698f8[_0xf698f8[_0x149b74(0x25e)]=0x232a]=_0x149b74(0x25e),_0xf698f8[_0xf698f8['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xf698f8[_0xf698f8[_0x149b74(0x1c0)]=0x232c]=_0x149b74(0x1c0),_0xf698f8[_0xf698f8[_0x149b74(0x196)]=0x232d]=_0x149b74(0x196),_0xf698f8[_0xf698f8['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xf698f8[_0xf698f8[_0x149b74(0x144)]=0x2712]=_0x149b74(0x144),_0xf698f8[_0xf698f8['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xf698f8[_0xf698f8['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x149b74(0x250),_0xf698f8[_0xf698f8['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x149b74(0x15a),_0xf698f8[_0xf698f8[_0x149b74(0x2f0)]=0x271b]=_0x149b74(0x2f0),_0xf698f8[_0xf698f8[_0x149b74(0x2d7)]=0x271c]=_0x149b74(0x2d7),_0xf698f8[_0xf698f8[_0x149b74(0x24d)]=0x271d]=_0x149b74(0x24d),_0xf698f8[_0xf698f8[_0x149b74(0x290)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0xf698f8[_0xf698f8['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0xf698f8[_0xf698f8['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x149b74(0x221),_0xf698f8[_0xf698f8[_0x149b74(0x1d2)]=0x2af9]=_0x149b74(0x1d2),_0xf698f8[_0xf698f8[_0x149b74(0x28b)]=0x2ee1]=_0x149b74(0x28b),_0xf698f8[_0xf698f8[_0x149b74(0xe6)]=0x2ee2]=_0x149b74(0xe6),_0xf698f8[_0xf698f8['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0xf698f8[_0xf698f8['USER_NOT_INVITED_CODE']=0x2ee4]=_0x149b74(0x2ed),_0xf698f8[_0xf698f8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x149b74(0xf6),_0xf698f8[_0xf698f8[_0x149b74(0x11e)]=0x32c9]=_0x149b74(0x11e),_0xf698f8[_0xf698f8[_0x149b74(0x23a)]=0x32ca]=_0x149b74(0x23a),_0xf698f8[_0xf698f8['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x149b74(0x113),_0xf698f8[_0xf698f8[_0x149b74(0x220)]=0x36b1]=_0x149b74(0x220),_0xf698f8[_0xf698f8[_0x149b74(0x174)]=0x36b2]=_0x149b74(0x174),_0xf698f8[_0xf698f8['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0xf698f8[_0xf698f8['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x149b74(0x114),_0xf698f8[_0xf698f8[_0x149b74(0x1aa)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xf698f8[_0xf698f8[_0x149b74(0x213)]=0x3716]=_0x149b74(0x213),_0xf698f8[_0xf698f8[_0x149b74(0x245)]=0x3717]=_0x149b74(0x245),_0xf698f8[_0xf698f8[_0x149b74(0x2be)]=0x37dd]=_0x149b74(0x2be),_0xf698f8[_0xf698f8[_0x149b74(0x26e)]=0x3a99]='REDEMPTION_INVALID_CODE',_0xf698f8[_0xf698f8[_0x149b74(0x16e)]=0x3a9a]=_0x149b74(0x16e),_0xf698f8[_0xf698f8[_0x149b74(0x225)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0xf698f8[_0xf698f8[_0x149b74(0x18c)]=0x3a9c]=_0x149b74(0x18c),_0xf698f8[_0xf698f8[_0x149b74(0x2d5)]=0x3a9d]=_0x149b74(0x2d5),_0xf698f8[_0xf698f8[_0x149b74(0x255)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0xf698f8[_0xf698f8[_0x149b74(0xf7)]=0x3a9f]=_0x149b74(0xf7),_0xf698f8[_0xf698f8[_0x149b74(0x1a8)]=0x3e81]=_0x149b74(0x1a8),_0xf698f8[_0xf698f8[_0x149b74(0x104)]=-0x1]=_0x149b74(0x104),_0xf698f8))(_0x403561||{}),_0x24bec5=(_0x42e60e=>(_0x42e60e[_0x42e60e['UNIVER_UNKNOWN']=0x0]=_0x149b74(0x21b),_0x42e60e[_0x42e60e[_0x149b74(0xf3)]=0x1]=_0x149b74(0xf3),_0x42e60e[_0x42e60e[_0x149b74(0xd7)]=0x2]=_0x149b74(0xd7),_0x42e60e[_0x42e60e[_0x149b74(0x2cb)]=0x3]=_0x149b74(0x2cb),_0x42e60e[_0x42e60e[_0x149b74(0x1f8)]=0x4]=_0x149b74(0x1f8),_0x42e60e[_0x42e60e[_0x149b74(0x104)]=-0x1]=_0x149b74(0x104),_0x42e60e))(_0x24bec5||{}),_0x540ea8=(_0x41df71=>(_0x41df71[_0x41df71[_0x149b74(0x155)]=0x0]=_0x149b74(0x155),_0x41df71[_0x41df71[_0x149b74(0x2d0)]=0x1]=_0x149b74(0x2d0),_0x41df71[_0x41df71[_0x149b74(0xdb)]=0x2]=_0x149b74(0xdb),_0x41df71[_0x41df71[_0x149b74(0xf2)]=0x3]=_0x149b74(0xf2),_0x41df71[_0x41df71[_0x149b74(0x13f)]=0x4]=_0x149b74(0x13f),_0x41df71[_0x41df71[_0x149b74(0x17f)]=0x5]=_0x149b74(0x17f),_0x41df71[_0x41df71['Copy']=0x6]='Copy',_0x41df71[_0x41df71[_0x149b74(0x105)]=0x7]=_0x149b74(0x105),_0x41df71[_0x41df71['Export']=0x8]=_0x149b74(0x100),_0x41df71[_0x41df71[_0x149b74(0x26f)]=0x9]=_0x149b74(0x26f),_0x41df71[_0x41df71[_0x149b74(0x223)]=0xa]=_0x149b74(0x223),_0x41df71[_0x41df71[_0x149b74(0x1bd)]=0xb]=_0x149b74(0x1bd),_0x41df71[_0x41df71[_0x149b74(0x281)]=0xc]=_0x149b74(0x281),_0x41df71[_0x41df71['CreateWorksheet']=0xd]='CreateWorksheet',_0x41df71[_0x41df71[_0x149b74(0x1ef)]=0xe]='SetWorksheetStyle',_0x41df71[_0x41df71[_0x149b74(0x16d)]=0xf]=_0x149b74(0x16d),_0x41df71[_0x41df71[_0x149b74(0x135)]=0x10]=_0x149b74(0x135),_0x41df71[_0x41df71[_0x149b74(0x207)]=0x11]=_0x149b74(0x207),_0x41df71[_0x41df71['Filter']=0x12]=_0x149b74(0x231),_0x41df71[_0x41df71[_0x149b74(0xfd)]=0x13]='PivotTable',_0x41df71[_0x41df71[_0x149b74(0x154)]=0x14]=_0x149b74(0x154),_0x41df71[_0x41df71['History']=0x15]='History',_0x41df71[_0x41df71[_0x149b74(0x24e)]=0x16]=_0x149b74(0x24e),_0x41df71[_0x41df71['ViemRwHgtClWdt']=0x17]=_0x149b74(0x1a7),_0x41df71[_0x41df71[_0x149b74(0x1c9)]=0x18]='ViewFilter',_0x41df71[_0x41df71[_0x149b74(0x1bf)]=0x19]=_0x149b74(0x1bf),_0x41df71[_0x41df71[_0x149b74(0x24a)]=0x1a]='DeleteSheet',_0x41df71[_0x41df71[_0x149b74(0x1fa)]=0x1b]='HideSheet',_0x41df71[_0x41df71[_0x149b74(0x247)]=0x1c]=_0x149b74(0x247),_0x41df71[_0x41df71[_0x149b74(0xef)]=0x1d]=_0x149b74(0xef),_0x41df71[_0x41df71[_0x149b74(0x1fd)]=0x1e]=_0x149b74(0x1fd),_0x41df71[_0x41df71[_0x149b74(0x163)]=0x1f]='SelectProtectedCells',_0x41df71[_0x41df71[_0x149b74(0x219)]=0x20]=_0x149b74(0x219),_0x41df71[_0x41df71[_0x149b74(0x1f0)]=0x21]=_0x149b74(0x1f0),_0x41df71[_0x41df71['SetCellValue']=0x22]=_0x149b74(0x2ec),_0x41df71[_0x41df71[_0x149b74(0x1ba)]=0x23]=_0x149b74(0x1ba),_0x41df71[_0x41df71[_0x149b74(0x16c)]=0x24]=_0x149b74(0x16c),_0x41df71[_0x41df71[_0x149b74(0x2cf)]=0x25]=_0x149b74(0x2cf),_0x41df71[_0x41df71[_0x149b74(0x170)]=0x26]=_0x149b74(0x170),_0x41df71[_0x41df71[_0x149b74(0xda)]=0x27]=_0x149b74(0xda),_0x41df71[_0x41df71[_0x149b74(0x218)]=0x28]='DeleteColumn',_0x41df71[_0x41df71[_0x149b74(0x268)]=0x29]=_0x149b74(0x268),_0x41df71[_0x41df71[_0x149b74(0x235)]=0x2a]=_0x149b74(0x235),_0x41df71[_0x41df71[_0x149b74(0xe0)]=0x2b]='RecoverHistory',_0x41df71[_0x41df71[_0x149b74(0x18e)]=0x2c]='ViewHistory',_0x41df71[_0x41df71[_0x149b74(0x21e)]=0x2d]='CreatePermissionObject',_0x41df71[_0x41df71[_0x149b74(0x104)]=-0x1]='UNRECOGNIZED',_0x41df71))(_0x540ea8||{});function _0x431555(_0x33a37b){const _0x3193e4=_0x149b74;return!!(_0x33a37b&&_0x33a37b[_0x3193e4(0x159)]&&_0x33a37b[_0x3193e4(0x159)]!==_0x403561['OK']&&_0x33a37b[_0x3193e4(0x159)]!=='OK');}const _0x610a11=(_0x4da82e,_0x293773)=>{const _0x5d7401=_0x149b74;if(!_0x4da82e)return{'date':'','time':''};const _0x312248=new Date(_0x4da82e),_0x49e112=_0x312248[_0x5d7401(0xd1)]()[_0x5d7401(0x222)]('T')[0x0];switch(_0x293773){case _0x287239[_0x5d7401(0x289)]['ZH_CN']:return{'date':_0x1d8852(_0x49e112,_0x293773),'time':_0x312248[_0x5d7401(0x2e1)]()+':'+String(_0x312248[_0x5d7401(0x1bb)]())[_0x5d7401(0x1b7)](0x2,'0')};default:return{'date':_0x1d8852(_0x49e112,_0x293773),'time':_0x312248[_0x5d7401(0x2e1)]()+':'+_0x312248['getMinutes']()};}},_0x5ef180=(_0x21b2e4,_0x52332f)=>{const _0x162cbb=_0x149b74,_0x38a197=_0x21b2e4[_0x162cbb(0x244)]||_0x52332f['t']('editHistory.panel.unknownUser');if(_0x21b2e4[_0x162cbb(0xe9)][_0x162cbb(0x299)](_0x1f1a60=>_0x1f1a60===_0x4658e3['RevertRevisionMutation']['id'])&&_0x21b2e4['recoverTime']){const _0x4cffd8=_0x610a11(_0x21b2e4[_0x162cbb(0x129)],_0x52332f['getCurrentLocale']()),_0x4df076=_0x4cffd8['date']+'\x20'+_0x4cffd8['time'];return _0x38a197+'\x20'+_0x52332f['t'](_0x162cbb(0x2ac))+'\x20'+_0x4df076+'\x20'+_0x52332f['t']('editHistory.action.revertSheetSuffix');}const _0x32045d=_0x181fc4(_0x21b2e4),_0x453b8d=_0x32045d[_0x162cbb(0x121)]===0x1?_0x52332f['t'](_0x32045d[0x0]):''+_0x52332f['t'](_0x32045d[0x0])+_0x52332f['t'](_0x162cbb(0x2c6));return _0x38a197+'\x20'+_0x453b8d;};function _0x181fc4(_0x29e726){const _0x36020e=_0x149b74;if(_0x29e726[_0x36020e(0xe9)][_0x36020e(0x121)]===0x0)return[''];const _0x259f66=_0x36020e(0x106),_0x550393=_0x259f66+_0x36020e(0x2a4),_0x258c25=[{'id':_0x4658e3[_0x36020e(0x1cb)]['id'],'action':_0x259f66+_0x36020e(0x1eb)},{'id':_0x4658e3['RevertRevisionMutation']['id'],'action':_0x259f66+_0x36020e(0x1df)},{'id':_0x56ed82[_0x36020e(0x164)]['id'],'action':_0x259f66+_0x36020e(0x177)},{'id':_0x56ed82['RemoveSheetMutation']['id'],'action':_0x259f66+_0x36020e(0xe5)},{'id':_0x56ed82[_0x36020e(0x1d1)]['id'],'action':_0x259f66+_0x36020e(0x172)},{'id':_0x2fa927[_0x36020e(0x133)]['id'],'action':_0x259f66+_0x36020e(0x2bf)},{'id':_0x346063['AddDataValidationMutation']['id'],'action':_0x259f66+_0x36020e(0x21d)},{'id':_0x346063[_0x36020e(0xe7)]['id'],'action':_0x259f66+_0x36020e(0x21d)},{'id':_0xed2ba5['SetConditionalRuleMutation']['id'],'action':_0x259f66+_0x36020e(0x27b)},{'id':_0xed2ba5[_0x36020e(0x25d)]['id'],'action':_0x259f66+_0x36020e(0x27b)},{'id':_0x56ed82[_0x36020e(0x1e2)]['id'],'action':_0x259f66+_0x36020e(0x139)},{'id':_0x56ed82[_0x36020e(0xce)]['id'],'action':_0x259f66+_0x36020e(0x139)},{'id':_0xd45be1['AddSheetSparklineMutation']['id'],'action':_0x259f66+'addSparkline'},{'id':_0x56ed82[_0x36020e(0x2a5)]['id'],'action':_0x259f66+'deleteProtection'},{'id':_0x56ed82['DeleteWorksheetProtectionMutation']['id'],'action':_0x259f66+'deleteProtection'}]['filter'](_0x139738=>_0x29e726['commands'][_0x36020e(0x16f)](_0x139738['id']));return _0x258c25!=null&&_0x258c25[_0x36020e(0x121)]?_0x258c25[_0x36020e(0x158)](_0xc00194=>_0xc00194[_0x36020e(0xd9)]):[_0x550393];}function _0x1d8852(_0x3b0762,_0x455ce9){const _0x2b4d80=_0x149b74,[_0x3ae277,_0x30a3d2,_0x5133e5]=new Date()[_0x2b4d80(0xd1)]()['split']('T')[0x0][_0x2b4d80(0x222)]('-'),[_0x5e109d,_0x5ba5ae,_0x50172a]=_0x3b0762[_0x2b4d80(0x222)]('-'),_0x3d7fbd=_0x3ae277===_0x5e109d&&_0x30a3d2===_0x5ba5ae&&_0x5133e5===_0x50172a;let _0x280cee='',_0x323d10='',_0x20708b='';switch(_0x455ce9){case _0x287239['LocaleType']['ZH_CN']:return _0x3d7fbd?'今天':(_0x280cee=_0x3ae277===_0x5e109d?'':_0x5e109d+'年',_0x323d10=_0x5ba5ae+'月',_0x20708b=_0x50172a+'日',''+_0x280cee+_0x323d10+_0x20708b);default:return _0x3d7fbd?_0x2b4d80(0xf5):(_0x280cee=_0x3ae277===_0x5e109d?'':_0x5e109d+'-',_0x323d10=_0x5ba5ae+'-',_0x20708b=''+_0x50172a,''+_0x280cee+_0x323d10+_0x20708b);}}function _0x4f3174(_0x41d1f8){const _0xe758c2=_0x149b74;return _0x41d1f8?_0x41d1f8[_0xe758c2(0x102)]((_0x2d4012,_0x4e9fda)=>{const _0x35fb15=_0xe758c2,_0x51d61a=new Date(_0x4e9fda[_0x35fb15(0x233)])[_0x35fb15(0xd1)]()[_0x35fb15(0x222)]('T')[0x0];return _0x2d4012[_0x35fb15(0x121)]>0x0&&_0x2d4012[_0x2d4012['length']-0x1][_0x35fb15(0x264)]===_0x51d61a?_0x2d4012[_0x2d4012[_0x35fb15(0x121)]-0x1][_0x35fb15(0x2d1)]['push'](_0x4e9fda):_0x2d4012['push']({'dateString':_0x51d61a,'versions':[_0x4e9fda]}),_0x2d4012;},[]):[];}var _0x39f7db=Object[_0x149b74(0x1c2)],_0xd4604=(_0x4ac4af,_0x3143ca,_0x253d2d,_0x238812)=>{const _0x38b35a=_0x149b74;for(var _0xb34ba5=_0x238812>0x1?void 0x0:_0x238812?_0x39f7db(_0x3143ca,_0x253d2d):_0x3143ca,_0x463ab9=_0x4ac4af[_0x38b35a(0x121)]-0x1,_0x5bad6d;_0x463ab9>=0x0;_0x463ab9--)(_0x5bad6d=_0x4ac4af[_0x463ab9])&&(_0xb34ba5=_0x5bad6d(_0xb34ba5)||_0xb34ba5);return _0xb34ba5;},_0x3875ed=(_0x4f7755,_0x41a48f)=>(_0x1d1a65,_0x36bc06)=>_0x41a48f(_0x1d1a65,_0x36bc06,_0x4f7755);const _0x9548dd=_0x149b74(0xed);let _0x35ad97=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x14c36d,_0x40e565,_0x58fffe,_0x1178c5,_0x7112d,_0x2b882d,_0x59fae4){const _0x2fc1ee=_0x149b74;super(),_0x217380(this,_0x2fc1ee(0x2ba),new Map()),(this[_0x2fc1ee(0x1af)]=_0x14c36d,this[_0x2fc1ee(0x17a)]=_0x40e565,this[_0x2fc1ee(0x2e6)]=_0x58fffe,this[_0x2fc1ee(0x13b)]=_0x1178c5,this[_0x2fc1ee(0x17b)]=_0x7112d,this[_0x2fc1ee(0x23d)]=_0x2b882d,this[_0x2fc1ee(0xdf)]=_0x59fae4);}[_0x149b74(0x2e9)](){const _0x23edb8=_0x149b74;this['_workbookDataCache'][_0x23edb8(0x15f)](),super[_0x23edb8(0x2e9)]();}async[_0x149b74(0x10a)](_0x29cead,_0x6dbf3d){const _0x24a3f0=_0x149b74,_0x117299=this[_0x24a3f0(0x137)]()+'/'+_0x29cead+'/list?length=20'+(_0x6dbf3d?'&lastLabel='+_0x6dbf3d:'');try{const _0x1aeeaf=(await this[_0x24a3f0(0x17b)][_0x24a3f0(0x266)](_0x117299))[_0x24a3f0(0x2ae)];if(_0x1aeeaf&&_0x1aeeaf[_0x24a3f0(0x157)]&&_0x1aeeaf[_0x24a3f0(0x157)][_0x24a3f0(0x159)]===_0x403561['OK']){const {hasMore:_0x4cab07,lastLabel:_0x567fe5}=_0x1aeeaf,_0x769f99=_0x5cfdcd(_0x1aeeaf),_0x29abd9=_0x1aeeaf['entities'][_0x24a3f0(0x27a)];return{'hasMore':_0x4cab07,'lastLabel':_0x567fe5,'versions':_0x769f99,'members':_0x29abd9};}}catch(_0x15dd51){console[_0x24a3f0(0x157)](_0x15dd51);}return null;}['_getAPIPrefix'](){const _0x3e1d7e=_0x149b74;var _0x4be5bc;const _0x42ebe7=this['_configService'][_0x3e1d7e(0x12f)](_0x18ecfb);return(_0x4be5bc=_0x42ebe7==null?void 0x0:_0x42ebe7[_0x3e1d7e(0x1d9)])!=null?_0x4be5bc:_0x9548dd;}async[_0x149b74(0x243)](_0x17256b,_0x9cd122,_0x3cd3fb){const _0x547d45=_0x149b74;var _0x35948d,_0x382cea;_0x3cd3fb===void 0x0&&(_0x3cd3fb={}),this['_workbookDataCache'][_0x547d45(0xec)](_0x17256b)||this[_0x547d45(0x2ba)][_0x547d45(0x2c3)](_0x17256b,new Map());const {snapshot:_0x2b9071,changesets:_0x4f4a07,error:_0x52eae6}=await this['_snapshotServerService'][_0x547d45(0xd4)](_0x3cd3fb,{'unitID':_0x17256b,'type':_0x24bec5[_0x547d45(0xd7)],'revision':_0x9cd122});if(_0x431555(_0x52eae6)||!_0x2b9071||!_0x2b9071['workbook'])throw new Error(_0x547d45(0x2fb));const _0x488c1f=(_0x35948d=_0x4f4a07==null?void 0x0:_0x4f4a07['length'])!=null?_0x35948d:0x0;if(_0x9cd122!==0x0&&_0x2b9071[_0x547d45(0x29a)]+_0x488c1f!==_0x9cd122)throw new Error(_0x547d45(0x2dc));const {workbook:_0x8bfed2}=_0x2b9071,_0x1c99c4=_0x8bfed2[_0x547d45(0x182)]?Object['entries'](_0x8bfed2[_0x547d45(0x182)])[_0x547d45(0x158)](([_0x27e2d8,_0xbbd627])=>{const _0x133612=_0x547d45;var _0x3700d8,_0x52ce97;return(_0x52ce97=(_0x3700d8=_0xbbd627['blocks'])==null?void 0x0:_0x3700d8[_0x133612(0x158)](_0x19fb8c=>_0x19fb8c))!=null?_0x52ce97:[];})['flat']():[],_0x28fe79=(await Promise[_0x547d45(0x13a)](_0x1c99c4[_0x547d45(0x158)](_0x25985e=>this[_0x547d45(0x1af)]['getDeserializedSheetBlock'](_0x3cd3fb,{'unitID':_0x17256b,'type':_0x24bec5[_0x547d45(0xd7)],'blockID':_0x25985e})[_0x547d45(0x19c)](_0x4f68e9=>_0x4f68e9[_0x547d45(0x2e8)]))))[_0x547d45(0x11b)](_0x20702f=>!!_0x20702f),_0x4090dd=_0x4658e3['transformSnapshotToWorkbookData'](_0x2b9071,_0x28fe79,_0x3cd3fb);return(_0x382cea=this[_0x547d45(0x2ba)][_0x547d45(0x266)](_0x17256b))==null||_0x382cea['set'](_0x9cd122,{'workbook':_0x4090dd}),new Promise(_0x367adb=>{const _0x1ff012=_0x547d45,_0x489746=this[_0x1ff012(0x17a)][_0x1ff012(0x28d)](_0x287239[_0x1ff012(0x1e6)][_0x1ff012(0xd7)]);_0x489746?(this['_univerInstanceService'][_0x1ff012(0x2b3)](_0x489746[_0x1ff012(0xd3)]()),setTimeout(()=>{const _0x2dfcd2=_0x1ff012;this[_0x2dfcd2(0x2b1)](_0x4090dd,_0x4f4a07),this['_sheetPermissionInitController'][_0x2dfcd2(0x23c)](),_0x367adb(!0x0);},0x0)):(this[_0x1ff012(0x2b1)](_0x4090dd,_0x4f4a07),_0x367adb(!0x0));});}[_0x149b74(0x2b1)](_0x54ad93,_0x34759d){const _0x4bf4e8=_0x149b74,_0x3b0e9d=this[_0x4bf4e8(0x17a)][_0x4bf4e8(0x272)](_0x287239[_0x4bf4e8(0x1e6)][_0x4bf4e8(0xd7)],_0x54ad93);this[_0x4bf4e8(0x17a)][_0x4bf4e8(0x189)](_0x3b0e9d[_0x4bf4e8(0xd3)]());const _0x5eff6b=this[_0x4bf4e8(0x23d)][_0x4bf4e8(0xf4)][_0x4bf4e8(0x22d)](this[_0x4bf4e8(0x23d)]['interceptor'][_0x4bf4e8(0x230)]()[_0x4bf4e8(0x1c4)]);return _0x34759d==null||_0x34759d['forEach'](_0x4a8b67=>{const _0x2f866a=_0x4bf4e8,_0x6001cc=_0x4a8b67[_0x2f866a(0x1d3)][_0x2f866a(0x158)](_0x5a3f33=>({'id':_0x5a3f33['id'],'params':JSON[_0x2f866a(0x18b)](_0x5a3f33[_0x2f866a(0x145)])}));({..._0x4a8b67,'mutations':_0x5eff6b(_0x6001cc,null)||_0x6001cc}[_0x2f866a(0x1d3)][_0x2f866a(0x295)](_0x1113e5=>{const _0x5001ea=_0x2f866a;this[_0x5001ea(0x2e6)]['hasCommand'](_0x1113e5['id'])&&this['_commandService'][_0x5001ea(0x167)](_0x1113e5['id'],_0x1113e5[_0x5001ea(0x1a6)]);}));}),_0x3b0e9d;}};_0x35ad97=_0xd4604([_0x3875ed(0x0,_0x4658e3[_0x149b74(0x2f3)]),_0x3875ed(0x1,_0x287239[_0x149b74(0x1b3)]),_0x3875ed(0x2,_0x287239[_0x149b74(0x180)]),_0x3875ed(0x3,_0x287239[_0x149b74(0xeb)]),_0x3875ed(0x4,_0x287239['Inject'](_0x2b0737['HTTPService'])),_0x3875ed(0x5,_0x287239[_0x149b74(0x14e)](_0x4658e3['CompressMutationService'])),_0x3875ed(0x6,_0x287239[_0x149b74(0x14e)](_0x56ed82[_0x149b74(0x2f9)]))],_0x35ad97);function _0x5cfdcd(_0x34f571){const _0x179797=_0x149b74;var _0x56dce5,_0x491619;const _0x12f5a0=[],{entities:_0x20ecc3,historyIds:_0x831992}=_0x34f571,{datas:_0x59703c,users:_0x3cb48c}=_0x20ecc3;for(const _0x147036 of _0x831992)if(_0x59703c[_0x147036]){const _0x36d3ae=!!((_0x56dce5=_0x3cb48c[_0x59703c[_0x147036][_0x179797(0x127)]])!=null&&_0x56dce5[_0x179797(0x2b0)]);_0x12f5a0[_0x179797(0x27c)]({'unitId':_0x59703c[_0x147036]['unitId'],'user':_0x36d3ae?'':((_0x491619=_0x3cb48c==null?void 0x0:_0x3cb48c[_0x59703c[_0x147036][_0x179797(0x127)]])==null?void 0x0:_0x491619['name'])||'','isAnonymous':_0x36d3ae,'id':_0x147036,'time':_0x59703c[_0x147036][_0x179797(0x188)]?Number(_0x59703c[_0x147036][_0x179797(0x188)]):void 0x0,'commands':_0x59703c[_0x147036][_0x179797(0x119)],'startRev':Number(_0x59703c[_0x147036]['startRevision']),'endRev':Number(_0x59703c[_0x147036]['endRevision']),'recoverTime':_0x59703c[_0x147036][_0x179797(0x129)]?Number(_0x59703c[_0x147036][_0x179797(0x129)]):void 0x0});}return _0x12f5a0;}var _0x1e2244=Object[_0x149b74(0x1c2)],_0x5ded08=(_0x2dda40,_0x39f5a2,_0x45f050,_0x517792)=>{for(var _0x2412d0=_0x517792>0x1?void 0x0:_0x517792?_0x1e2244(_0x39f5a2,_0x45f050):_0x39f5a2,_0xe9dbc6=_0x2dda40['length']-0x1,_0x2bf7eb;_0xe9dbc6>=0x0;_0xe9dbc6--)(_0x2bf7eb=_0x2dda40[_0xe9dbc6])&&(_0x2412d0=_0x2bf7eb(_0x2412d0)||_0x2412d0);return _0x2412d0;},_0x2e2817=(_0x305443,_0x392a49)=>(_0x5c6d47,_0x307694)=>_0x392a49(_0x5c6d47,_0x307694,_0x305443),_0x2c8ae7=(_0x589317=>(_0x589317['Entered']=_0x149b74(0x246),_0x589317[_0x149b74(0x1a4)]='exited',_0x589317[_0x149b74(0x13c)]=_0x149b74(0x157),_0x589317))(_0x2c8ae7||{}),_0x411a36=(_0x56cbd0=>(_0x56cbd0[_0x149b74(0x291)]='init',_0x56cbd0[_0x149b74(0x181)]='loading',_0x56cbd0[_0x149b74(0x258)]=_0x149b74(0x283),_0x56cbd0))(_0x411a36||{});const _0x3b9a55=_0x149b74(0x10e);_0x2afb7b['HistoryManagerService']=class extends _0x287239['Disposable']{constructor(_0x5ee1d2,_0x4eebbc,_0x233039,_0x13567b){const _0x33d658=_0x149b74;super(),_0x217380(this,_0x33d658(0x2f7),new _0x493d52[(_0x33d658(0x288))]([])),_0x217380(this,_0x33d658(0x156),this[_0x33d658(0x2f7)]['asObservable']()),_0x217380(this,_0x33d658(0x14d),new _0x493d52['BehaviorSubject']('')),_0x217380(this,_0x33d658(0x2fe),this['_currentVersion$'][_0x33d658(0x1ac)]()),_0x217380(this,_0x33d658(0x2fd),new _0x493d52[(_0x33d658(0x288))](_0x33d658(0x246))),_0x217380(this,_0x33d658(0x206),this['_status$'][_0x33d658(0x1ac)]()),_0x217380(this,_0x33d658(0x1f5),new _0x493d52[(_0x33d658(0x288))](0x0)),_0x217380(this,_0x33d658(0x2f6),this[_0x33d658(0x1f5)]['asObservable']()),_0x217380(this,_0x33d658(0x1ca),new _0x493d52[(_0x33d658(0x288))]('')),_0x217380(this,_0x33d658(0x12d),this[_0x33d658(0x1ca)][_0x33d658(0x1ac)]()),_0x217380(this,'_fetching',!0x1),_0x217380(this,_0x33d658(0x217),new _0x493d52[(_0x33d658(0x288))](_0x33d658(0x2f5))),_0x217380(this,'loadingState$',this['_loadingState$'][_0x33d658(0x1ac)]()),_0x217380(this,'_lastLabel',null),_0x217380(this,_0x33d658(0x2f4),!0x0),_0x217380(this,_0x33d658(0x200),new Map()),_0x217380(this,'_historyContainerId'),_0x217380(this,_0x33d658(0x229)),_0x217380(this,'_maskElement'),_0x217380(this,'_canRevert',!0x1),(this[_0x33d658(0x1f3)]=_0x5ee1d2,this[_0x33d658(0x2c8)]=_0x4eebbc,this[_0x33d658(0x23b)]=_0x233039,this[_0x33d658(0x2a1)]=_0x13567b);}async[_0x149b74(0x171)](_0x4a3598,_0xba8a72,_0x2448c4){const _0x55596d=_0x149b74;this['_historyContainerId']=_0xba8a72,this[_0x55596d(0x162)]=_0x2448c4,this[_0x55596d(0x1ca)][_0x55596d(0x19d)](_0x4a3598),this[_0x55596d(0x20a)]=!0x0;const _0x25e39d=await this['_historyFetchService']['getVersions'](_0x4a3598);if(this[_0x55596d(0x20a)]=!0x1,_0x25e39d){const {versions:_0x41f4cd,lastLabel:_0x355c31,hasMore:_0x386be4,members:_0xf17fde}=_0x25e39d;_0x41f4cd[_0x55596d(0x121)]===0x0&&_0x41f4cd[_0x55596d(0x27c)]({'unitId':_0x4a3598,'id':_0x3b9a55,'startRev':0x1,'endRev':0x0,'time':Date[_0x55596d(0x28e)](),'user':this['_localeService']['t'](_0x55596d(0x1bc)),'commands':[],'isAnonymous':!0x1}),this[_0x55596d(0x123)](_0x41f4cd,_0x386be4,_0x355c31,_0xf17fde),this['_currentVersion$'][_0x55596d(0x19d)](_0x41f4cd[0x0]['id']);}else this[_0x55596d(0x2fd)]['next'](_0x55596d(0x157));}async['loadMoreVersions'](){const _0x517f69=_0x149b74;if(!this[_0x517f69(0x1d5)]||!this[_0x517f69(0x2f4)]||this[_0x517f69(0x20a)])return!0x1;this[_0x517f69(0x20a)]=!0x0;const _0x53f8ca=await this['_historyFetchService'][_0x517f69(0x10a)](this[_0x517f69(0x1c6)],this[_0x517f69(0x1d5)]);if(this[_0x517f69(0x20a)]=!0x1,_0x53f8ca){const {versions:_0x4ef6e2,lastLabel:_0x108814,hasMore:_0x4a1028,members:_0x41c147}=_0x53f8ca;this[_0x517f69(0x123)](_0x4ef6e2,_0x4a1028,_0x108814,_0x41c147);}else this[_0x517f69(0x1f3)][_0x517f69(0x252)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x407bc3[_0x517f69(0x241)][_0x517f69(0x13c)],'duration':0xbb8});return!0x0;}async[_0x149b74(0x249)](_0x1301e1){const _0x3b0f78=_0x149b74;var _0x9cbb8c;const _0x209eaa=(_0x9cbb8c=this['_versions$'][_0x3b0f78(0x2e2)])==null?void 0x0:_0x9cbb8c[_0x3b0f78(0x24f)](_0x46ca23=>_0x46ca23['id']===_0x1301e1),{endRev:_0x3db3af}=_0x209eaa||{};_0x3db3af||_0x3db3af===0x0?(this['_loadingState$']['next'](_0x3b0f78(0x22c)),await this[_0x3b0f78(0x2a1)][_0x3b0f78(0x243)](this[_0x3b0f78(0x1c6)],_0x3db3af),this[_0x3b0f78(0x217)][_0x3b0f78(0x19d)](_0x3b0f78(0x283))):this['_status$'][_0x3b0f78(0x19d)]('error');}async[_0x149b74(0x271)](_0x180f27){const _0x71604b=_0x149b74,_0x3265d5=_0x180f27?this['getVersion'](_0x180f27):this[_0x71604b(0x205)]();if(!_0x3265d5)return;const _0x47e1e2=_0x3265d5[_0x71604b(0x1e8)],_0xdefb8e=_0x610a11(_0x3265d5[_0x71604b(0x233)],this[_0x71604b(0x23b)]['getCurrentLocale']());await this['_confirmService'][_0x71604b(0xe2)]({'id':_0x71604b(0x2a7),'title':{'title':this[_0x71604b(0x23b)]['t'](_0x71604b(0x130))},'children':{'title':this[_0x71604b(0x23b)]['t']('editHistory.panel.revertConfirmText')+_0x71604b(0x187)+_0xdefb8e[_0x71604b(0x1de)]+'\x20'+_0xdefb8e[_0x71604b(0x233)]+')'},'cancelText':this['_localeService']['t'](_0x71604b(0xea)),'confirmText':this['_localeService']['t']('editHistory.panel.confirm')})&&this[_0x71604b(0x1f5)][_0x71604b(0x19d)](_0x47e1e2);}[_0x149b74(0x123)](_0x52b0e5,_0x3c6daf,_0x178182,_0x44b247){const _0x47e789=_0x149b74;this['_versions$'][_0x47e789(0x19d)](this[_0x47e789(0x2f7)][_0x47e789(0x2e2)]['concat'](_0x52b0e5)),this[_0x47e789(0x2f4)]=_0x3c6daf,this[_0x47e789(0x1d5)]=_0x178182,_0x44b247&&Object['keys'](_0x44b247)[_0x47e789(0x295)](_0x3d0446=>this[_0x47e789(0x200)][_0x47e789(0x2c3)](_0x3d0446,_0x44b247[_0x3d0446]));}['getCurrentVersion'](){const _0x437c42=_0x149b74;return this[_0x437c42(0x29f)](this['_currentVersion$'][_0x437c42(0x2e2)]);}['getVersion'](_0x36baab){const _0x29c16d=_0x149b74;var _0x2bb1a1;return(_0x2bb1a1=this[_0x29c16d(0x2f7)][_0x29c16d(0x2e2)])==null?void 0x0:_0x2bb1a1[_0x29c16d(0x24f)](_0x241e64=>_0x241e64['id']===_0x36baab);}[_0x149b74(0x282)](_0x3adbdf){const _0x538b8a=_0x149b74;return this[_0x538b8a(0x200)][_0x538b8a(0x266)](_0x3adbdf);}[_0x149b74(0x2a9)](){const _0x4f7b0f=_0x149b74;this['_maskElement']=document[_0x4f7b0f(0x2e0)](_0x4f7b0f(0x2a6)),this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0xfc)]=_0x4f7b0f(0x27f),this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0x20b)][_0x4f7b0f(0x1e9)]='absolute',this[_0x4f7b0f(0x2b5)]['style']['top']='0',this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0x20b)][_0x4f7b0f(0x14f)]='0',this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0x20b)][_0x4f7b0f(0x19f)]='100%',this['_maskElement'][_0x4f7b0f(0x20b)][_0x4f7b0f(0x297)]=_0x4f7b0f(0x143),this[_0x4f7b0f(0x2b5)]['style'][_0x4f7b0f(0x1d0)]=_0x4f7b0f(0x2c9),this['_maskElement']['style'][_0x4f7b0f(0xcf)]=_0x4f7b0f(0x1ad),this[_0x4f7b0f(0x2b5)][_0x4f7b0f(0x20b)]['display']=_0x4f7b0f(0x1e3),this['_maskElement']['style']['justifyContent']=_0x4f7b0f(0x22f),this[_0x4f7b0f(0x2b5)]['style'][_0x4f7b0f(0x1dc)]=_0x4f7b0f(0x1ea),this['_maskElement'][_0x4f7b0f(0x20b)][_0x4f7b0f(0x23f)]=_0x4f7b0f(0x142),this[_0x4f7b0f(0x229)][_0x4f7b0f(0x2f8)](this[_0x4f7b0f(0x2b5)]);}[_0x149b74(0x2a0)](){const _0x405d81=_0x149b74;var _0x3fcd2e;const _0x2c41a3=(_0x3fcd2e=document['getElementById'](this['_historyContainerId']))==null?void 0x0:_0x3fcd2e[_0x405d81(0x25f)](_0x405d81(0x132));_0x2c41a3&&(this[_0x405d81(0x229)]=_0x2c41a3,this[_0x405d81(0x2a9)]());}[_0x149b74(0xdd)](){const _0xb1aaa1=_0x149b74;this[_0xb1aaa1(0x229)]||this[_0xb1aaa1(0x2a0)](),this['_maskElement']&&(this['_maskElement'][_0xb1aaa1(0x20b)][_0xb1aaa1(0x23f)]=_0xb1aaa1(0x1e3));}[_0x149b74(0x259)](){const _0xac0f6=_0x149b74;this['_maskElement']&&(this['_maskElement'][_0xac0f6(0x20b)][_0xac0f6(0x23f)]=_0xac0f6(0x142));}set[_0x149b74(0x120)](_0x31815f){const _0x2fb7f9=_0x149b74;this[_0x2fb7f9(0x2fd)][_0x2fb7f9(0x19d)](_0x31815f);}set['currentVersion'](_0xc682e){const _0x208795=_0x149b74;_0xc682e!==this[_0x208795(0x14d)][_0x208795(0x2e2)]&&this[_0x208795(0x14d)]['next'](_0xc682e);}get['currentVersion'](){const _0x308e50=_0x149b74;return this[_0x308e50(0x14d)][_0x308e50(0x2e2)];}set[_0x149b74(0x1c6)](_0x4d8506){const _0x554c0a=_0x149b74;this['_unitId$'][_0x554c0a(0x19d)](_0x4d8506);}get['unitId'](){const _0xdbce64=_0x149b74;return this[_0xdbce64(0x1ca)][_0xdbce64(0x2e2)];}get[_0x149b74(0x2ee)](){return this['_canRevert'];}get[_0x149b74(0x190)](){const _0x2a98cd=_0x149b74;return this[_0x2a98cd(0x217)][_0x2a98cd(0x2e2)];}},_0x2afb7b[_0x149b74(0x15b)]=_0x5ded08([_0x2e2817(0x0,_0x1f9fca['IMessageService']),_0x2e2817(0x1,_0x1f9fca['IConfirmService']),_0x2e2817(0x2,_0x287239[_0x149b74(0x14e)](_0x287239[_0x149b74(0x298)])),_0x2e2817(0x3,_0x287239['Inject'](_0x35ad97))],_0x2afb7b[_0x149b74(0x15b)]);function _0x178652({ref:_0x252a64,..._0x4e240f}){const _0x104251=_0x149b74,{icon:_0xd9dbd7,id:_0x9cbac4,className:_0x3b01d6,extend:_0x1b8856,..._0x2060a4}=_0x4e240f,_0x1ddb59=('univerjs-icon\x20univerjs-icon-'+_0x9cbac4+'\x20'+(_0x3b01d6||''))['trim'](),_0xa7b887=_0x5cef4f[_0x104251(0xd6)]('_'+_0x3491f8());return _0x465402(_0xd9dbd7,''+_0x9cbac4,{'defIds':_0xd9dbd7[_0x104251(0x1a5)],'idSuffix':_0xa7b887[_0x104251(0xf9)]},{'ref':_0x252a64,'className':_0x1ddb59,..._0x2060a4},_0x1b8856);}function _0x465402(_0x13ec16,_0xc2669d,_0x524d5f,_0x5a7de8,_0x103ab6){const _0x15fe11=_0x149b74;return _0x5cef4f[_0x15fe11(0x2e0)](_0x13ec16['tag'],{'key':_0xc2669d,..._0x372083(_0x13ec16,_0x524d5f,_0x103ab6),..._0x5a7de8},(_0x2fa0a1(_0x13ec16,_0x524d5f)[_0x15fe11(0x2bc)]||[])['map']((_0x4fd65d,_0x42fa95)=>_0x465402(_0x4fd65d,_0xc2669d+'-'+_0x13ec16['tag']+'-'+_0x42fa95,_0x524d5f,void 0x0,_0x103ab6)));}function _0x372083(_0x536176,_0x495634,_0x176998){const _0x5beb07=_0x149b74,_0xfd4dde={..._0x536176[_0x5beb07(0x21f)]};_0x176998!=null&&_0x176998[_0x5beb07(0x2c0)]&&_0xfd4dde[_0x5beb07(0x227)]===_0x5beb07(0x2c0)&&(_0xfd4dde[_0x5beb07(0x227)]=_0x176998[_0x5beb07(0x2c0)]),_0x536176['tag']==='mask'&&_0xfd4dde['id']&&(_0xfd4dde['id']=_0xfd4dde['id']+_0x495634[_0x5beb07(0x10f)]),Object[_0x5beb07(0x2da)](_0xfd4dde)[_0x5beb07(0x295)](([_0x2798ab,_0x4198d7])=>{const _0x26bc39=_0x5beb07;_0x2798ab===_0x26bc39(0x2c4)&&typeof _0x4198d7=='string'&&(_0xfd4dde[_0x2798ab]=_0x4198d7['replace'](/url\(#(.*)\)/,_0x26bc39(0x176)+_0x495634[_0x26bc39(0x10f)]+')'));});const {defIds:_0x393d91}=_0x495634;return!_0x393d91||_0x393d91[_0x5beb07(0x121)]===0x0||(_0x536176[_0x5beb07(0x1b2)]==='use'&&_0xfd4dde[_0x5beb07(0x26d)]&&(_0xfd4dde['xlink:href']=_0xfd4dde[_0x5beb07(0x26d)]+_0x495634[_0x5beb07(0x10f)]),Object[_0x5beb07(0x2da)](_0xfd4dde)[_0x5beb07(0x295)](([_0xa4a1f7,_0x4d9268])=>{const _0x5ecc9e=_0x5beb07;typeof _0x4d9268==_0x5ecc9e(0x197)&&(_0xfd4dde[_0xa4a1f7]=_0x4d9268[_0x5ecc9e(0x20e)](/url\(#(.*)\)/,_0x5ecc9e(0x176)+_0x495634['idSuffix']+')'));})),_0xfd4dde;}function _0x2fa0a1(_0xf0c402,_0x272ca2){const _0x386154=_0x149b74;var _0x47798b;const {defIds:_0x45e17a}=_0x272ca2;return!_0x45e17a||_0x45e17a[_0x386154(0x121)]===0x0?_0xf0c402:_0xf0c402[_0x386154(0x1b2)]==='defs'&&((_0x47798b=_0xf0c402[_0x386154(0x2bc)])!=null&&_0x47798b[_0x386154(0x121)])?{..._0xf0c402,'children':_0xf0c402[_0x386154(0x2bc)][_0x386154(0x158)](_0x25e767=>typeof _0x25e767[_0x386154(0x21f)]['id']==_0x386154(0x197)&&_0x45e17a&&_0x45e17a[_0x386154(0x16f)](_0x25e767[_0x386154(0x21f)]['id'])?{..._0x25e767,'attrs':{..._0x25e767['attrs'],'id':_0x25e767[_0x386154(0x21f)]['id']+_0x272ca2['idSuffix']}}:_0x25e767)}:_0xf0c402;}function _0x3491f8(){const _0x295d43=_0x149b74;return Math[_0x295d43(0x168)]()[_0x295d43(0x21c)](0x24)['substring'](0x2,0x8);}_0x178652['displayName']='UniverIcon';const _0x449c94={'tag':_0x149b74(0x179),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x149b74(0x1a0),'width':_0x149b74(0x2db),'height':_0x149b74(0x2db)},'children':[{'tag':_0x149b74(0x166),'attrs':{'fill':_0x149b74(0x1b0),'d':_0x149b74(0x28f)}}]},_0x56b031=_0x5cef4f[_0x149b74(0x101)](function(_0x5f5b5e,_0x1fb8d0){const _0x69a6b7=_0x149b74;return _0x5cef4f[_0x69a6b7(0x2e0)](_0x178652,Object[_0x69a6b7(0x199)]({},_0x5f5b5e,{'id':_0x69a6b7(0xf0),'ref':_0x1fb8d0,'icon':_0x449c94}));});_0x56b031['displayName']=_0x149b74(0x12c);const _0x4dbe8f={'tag':_0x149b74(0x179),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x149b74(0x142),'viewBox':_0x149b74(0x10b),'width':'1em','height':_0x149b74(0x2db)},'children':[{'tag':'g','attrs':{'fill':_0x149b74(0x1b0),'clipPath':_0x149b74(0x2ab)},'children':[{'tag':_0x149b74(0x166),'attrs':{'d':_0x149b74(0x1fb)}},{'tag':_0x149b74(0x166),'attrs':{'d':_0x149b74(0x195),'fillRule':'evenodd','clipRule':_0x149b74(0x126)}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x149b74(0x2af)},'children':[{'tag':'rect','attrs':{'width':0x10,'height':0x10,'y':0.05,'fill':_0x149b74(0x1ad),'rx':0x4}}]}]}],'defIds':[_0x149b74(0x2af)]},_0x3664fd=_0x5cef4f['forwardRef'](function(_0x47eee0,_0x20212e){const _0x4772a0=_0x149b74;return _0x5cef4f[_0x4772a0(0x2e0)](_0x178652,Object[_0x4772a0(0x199)]({},_0x47eee0,{'id':_0x4772a0(0xf8),'ref':_0x20212e,'icon':_0x4dbe8f}));});_0x3664fd[_0x149b74(0x26c)]=_0x149b74(0x19a);const _0x212f44={'tag':_0x149b74(0x179),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x149b74(0x142),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x149b74(0x2db)},'children':[{'tag':_0x149b74(0x166),'attrs':{'fill':'#0B9EFB','d':_0x149b74(0x201),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x149b74(0x166),'attrs':{'fill':_0x149b74(0x25c),'d':_0x149b74(0x228),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x2ae722=_0x5cef4f[_0x149b74(0x101)](function(_0x3e7222,_0x5c3104){const _0x5c4df1=_0x149b74;return _0x5cef4f[_0x5c4df1(0x2e0)](_0x178652,Object['assign']({},_0x3e7222,{'id':_0x5c4df1(0x276),'ref':_0x5c3104,'icon':_0x212f44}));});_0x2ae722[_0x149b74(0x26c)]=_0x149b74(0x138);function _0x171a95(){const _0x116286=_0x149b74;var _0x48d3ad;const _0x13994c=_0x1f9fca[_0x116286(0x1a9)](_0x2afb7b[_0x116286(0x15b)]),_0x42023b=_0x1f9fca[_0x116286(0x1a9)](_0x287239[_0x116286(0x298)]),_0x16477f=_0x5cef4f[_0x116286(0xfa)](()=>{const _0x386079=_0x116286;_0x13994c[_0x386079(0x120)]=_0x2c8ae7[_0x386079(0x1a4)];},[_0x13994c]),_0x2806af=_0x5cef4f[_0x116286(0xfa)](()=>{const _0x18c9b8=_0x116286;_0x13994c[_0x18c9b8(0x271)]();},[_0x13994c]),_0x1220ae=_0x1f9fca[_0x116286(0x240)](_0x13994c[_0x116286(0x2fe)]),_0x5663dc=_0x1f9fca[_0x116286(0x240)](_0x13994c[_0x116286(0x156)]),_0x43651a=_0x1220ae===((_0x48d3ad=_0x5663dc==null?void 0x0:_0x5663dc[0x0])==null?void 0x0:_0x48d3ad['id']),_0x24fa81=_0x1220ae!==''&&!_0x43651a&&_0x13994c[_0x116286(0x2ee)];return _0x5118a6[_0x116286(0x1b8)](_0x116286(0x2a6),{'className':_0x407bc3['clsx'](_0x116286(0x15d),_0x407bc3['borderBottomClassName']),'children':[_0x5118a6[_0x116286(0xff)]('a',{'className':'univer-ml-2.5\x20univer-flex\x20univer-size-8\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded','role':'button','onClick':_0x16477f,'children':_0x5118a6[_0x116286(0xff)](_0x56b031,{'className':'univer-text-2xl\x20dark:!univer-text-white'})}),_0x5118a6['jsx'](_0x116286(0x2a6),{'className':_0x116286(0x183),'children':_0x24fa81&&_0x5118a6[_0x116286(0xff)](_0x407bc3[_0x116286(0x150)],{'variant':_0x116286(0x17e),'onClick':_0x2806af,'children':_0x42023b['t'](_0x116286(0x265))})})]});}var _0x2f02a=Object[_0x149b74(0x1c2)],_0x552d18=(_0x37c69,_0x566ae2,_0x3eb121,_0x5d80ac)=>{const _0x410280=_0x149b74;for(var _0x51868d=_0x5d80ac>0x1?void 0x0:_0x5d80ac?_0x2f02a(_0x566ae2,_0x3eb121):_0x566ae2,_0x596b67=_0x37c69[_0x410280(0x121)]-0x1,_0x241f87;_0x596b67>=0x0;_0x596b67--)(_0x241f87=_0x37c69[_0x596b67])&&(_0x51868d=_0x241f87(_0x51868d)||_0x51868d);return _0x51868d;},_0x1d5562=(_0x584f34,_0x1f9483)=>(_0x51a670,_0x4f79e2)=>_0x1f9483(_0x51a670,_0x4f79e2,_0x584f34);let _0x592ff1=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x2cc209,_0x348365,_0x1411a2,_0x452d92,_0x56519a,_0x54765f){const _0x599ae0=_0x149b74;super(),this['_permissionService']=_0x2cc209,this['_uiPartsService']=_0x348365,this[_0x599ae0(0x1f3)]=_0x1411a2,this[_0x599ae0(0x23b)]=_0x452d92,this[_0x599ae0(0x1b9)]=_0x56519a,this[_0x599ae0(0x1ff)]=_0x54765f,this[_0x599ae0(0x1b4)]();}[_0x149b74(0x1b4)](){const _0x10843c=_0x149b74;this[_0x10843c(0x17c)](this[_0x10843c(0x1b9)][_0x10843c(0x2fe)][_0x10843c(0x2a3)](_0x44aca1=>{const _0x38a63d=_0x10843c;_0x44aca1&&this[_0x38a63d(0x1b9)][_0x38a63d(0x249)](_0x44aca1);})),this[_0x10843c(0x17c)](this[_0x10843c(0x2e7)][_0x10843c(0x236)][_0x10843c(0x2a3)](_0x119223=>{const _0x8af106=_0x10843c,_0x260cd9=this[_0x8af106(0x1b9)][_0x8af106(0x1c6)];_0x260cd9&&(_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0x2d0)]&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82['WorkbookEditablePermission'](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0xef)]&&_0x119223['value']===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82[(_0x8af106(0x2aa))](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0x1bf)]&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82[(_0x8af106(0x146))](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0x1fa)]&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82[(_0x8af106(0x1da))](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8['Comment']&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82['WorkbookEditablePermission'](_0x260cd9)['id'],!0x1),_0x119223[_0x8af106(0x285)]===_0x540ea8[_0x8af106(0x154)]&&_0x119223[_0x8af106(0x2e2)]===!0x0&&this[_0x8af106(0x2e7)][_0x8af106(0x136)](new _0x56ed82[(_0x8af106(0x1ce))](_0x260cd9)['id'],!0x1));})),this['disposeWithMe'](this[_0x10843c(0x239)]['registerComponent'](_0x1f9fca[_0x10843c(0x10d)][_0x10843c(0x1f1)],()=>_0x1f9fca[_0x10843c(0x2c1)](_0x171a95,this['_injector']))),this[_0x10843c(0x17c)](this[_0x10843c(0x1b9)][_0x10843c(0x15c)][_0x10843c(0x2a3)](_0x191446=>{const _0x27af6c=_0x10843c;_0x191446===_0x411a36[_0x27af6c(0x181)]&&(this['_historyManagerService'][_0x27af6c(0xdd)](),this[_0x27af6c(0x1f3)][_0x27af6c(0x252)]({'type':_0x407bc3[_0x27af6c(0x241)]['Info'],'content':this[_0x27af6c(0x23b)]['t'](_0x27af6c(0xfe))})),_0x191446===_0x411a36[_0x27af6c(0x258)]&&this[_0x27af6c(0x1b9)][_0x27af6c(0x259)]();}));}};_0x592ff1=_0x552d18([_0x1d5562(0x0,_0x287239[_0x149b74(0x19e)]),_0x1d5562(0x1,_0x1f9fca[_0x149b74(0x140)]),_0x1d5562(0x2,_0x1f9fca['IMessageService']),_0x1d5562(0x3,_0x287239[_0x149b74(0x14e)](_0x287239[_0x149b74(0x298)])),_0x1d5562(0x4,_0x287239[_0x149b74(0x14e)](_0x2afb7b[_0x149b74(0x15b)])),_0x1d5562(0x5,_0x287239['Inject'](_0x287239['Injector']))],_0x592ff1);var _0x1c7eb4=Object[_0x149b74(0x1c2)],_0x2630ce=(_0x52d753,_0xcbc072,_0x286ef3,_0x39624b)=>{for(var _0x2f2cb0=_0x39624b>0x1?void 0x0:_0x39624b?_0x1c7eb4(_0xcbc072,_0x286ef3):_0xcbc072,_0x150083=_0x52d753['length']-0x1,_0x32c85c;_0x150083>=0x0;_0x150083--)(_0x32c85c=_0x52d753[_0x150083])&&(_0x2f2cb0=_0x32c85c(_0x2f2cb0)||_0x2f2cb0);return _0x2f2cb0;},_0x5daccd=(_0x3b4199,_0x39131b)=>(_0x17772e,_0x30c39b)=>_0x39131b(_0x17772e,_0x30c39b,_0x3b4199);let _0x19337e=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0xd18b43,_0x5b0af8,_0x37605e){const _0x4e8b10=_0x149b74;super(),_0x217380(this,_0x4e8b10(0x12e),new Map()),_0x217380(this,_0x4e8b10(0x19b),new _0x493d52[(_0x4e8b10(0x288))]({'ranges':new Map(),'active':null})),_0x217380(this,_0x4e8b10(0x2b7),this['_currentVersionDiff$'][_0x4e8b10(0x1ac)]()),(this['_historyManagerService']=_0xd18b43,this[_0x4e8b10(0x15e)]=_0x5b0af8,this[_0x4e8b10(0x1af)]=_0x37605e,this['_init']());}[_0x149b74(0x1b4)](){const _0x42f3af=_0x149b74;this[_0x42f3af(0x12e)]=new Map(),this[_0x42f3af(0x17c)](this[_0x42f3af(0x1b9)][_0x42f3af(0x12d)][_0x42f3af(0x2a3)](_0xe66688=>{const _0x5d3396=_0x42f3af;_0xe66688&&!this[_0x5d3396(0x12e)][_0x5d3396(0xec)](_0xe66688)&&this[_0x5d3396(0x12e)][_0x5d3396(0x2c3)](_0xe66688,new Map());})),this[_0x42f3af(0x17c)](this[_0x42f3af(0x1b9)]['currentVersion$'][_0x42f3af(0x2a3)](async _0x43e07b=>{const _0x37b705=_0x42f3af;var _0x43a24e;_0x43e07b&&(await this[_0x37b705(0x13d)](_0x43e07b),this[_0x37b705(0x19b)][_0x37b705(0x19d)](((_0x43a24e=this['_diffRangesMap'][_0x37b705(0x266)](this[_0x37b705(0x1b9)][_0x37b705(0x1c6)]))==null?void 0x0:_0x43a24e[_0x37b705(0x266)](_0x43e07b))||{'ranges':new Map(),'active':null}));}));}async[_0x149b74(0x13d)](_0xa5d010){const _0x192002=_0x149b74;var _0x1d12c0,_0xd6a31;const _0x3c0234=this[_0x192002(0x1b9)][_0x192002(0x29f)](_0xa5d010),_0x18e34a=this['_historyManagerService'][_0x192002(0x1c6)];if(!_0x3c0234||!_0x18e34a)return;const _0x31679b=this[_0x192002(0x12e)]['get'](_0x18e34a);if(_0x31679b||this[_0x192002(0x12e)]['set'](_0x18e34a,new Map()),(_0x1d12c0=this[_0x192002(0x12e)][_0x192002(0x266)](_0x18e34a))!=null&&_0x1d12c0[_0x192002(0xec)](_0x3c0234['id']))return;const {startRev:_0x52d24a,endRev:_0x141941}=_0x3c0234;if(_0x52d24a===0x1){_0x31679b[_0x192002(0x2c3)](_0x3c0234['id'],{'ranges':new Map(),'active':null});return;}const _0x39b612=_0x52d24a-0x1,_0xeaa53d=_0x141941,_0x20d004=await this[_0x192002(0x1af)][_0x192002(0x1d6)]({},{'unitID':_0x18e34a,'from':_0x39b612,'to':_0xeaa53d,'type':_0x24bec5['UNIVER_SHEET']});if(((_0xd6a31=_0x20d004[_0x192002(0x157)])==null?void 0x0:_0xd6a31[_0x192002(0x159)])===_0x403561['OK']){const _0x46363e=_0x20d004[_0x192002(0x10c)]['map'](_0x5e9050=>((_0x5e9050[_0x192002(0x1d3)]===null||_0x5e9050['mutations']===void 0x0)&&(_0x5e9050[_0x192002(0x1d3)]=[]),_0x4658e3['parseProtocolChangeset'](_0x5e9050)))[_0x192002(0x158)](_0x4780eb=>_0x4780eb['mutations'][_0x192002(0x158)](_0x4fec98=>({..._0x4fec98,'params':{..._0x4fec98[_0x192002(0x1a6)],'memberId':_0x4780eb[_0x192002(0x109)]}})))['flat'](),_0x4bf038=this[_0x192002(0x134)](_0x46363e),_0x55aeb=this['_getActiveSubUnitId'](_0x46363e),_0x2cec59=this[_0x192002(0x191)](_0x4bf038);_0x31679b['set'](_0x3c0234['id'],{'ranges':_0x2cec59,'active':_0x55aeb});}}[_0x149b74(0x134)](_0x3e92f5){const _0xe706be=_0x149b74;let _0x38a4ef=[];for(let _0x435b2e=0x0;_0x435b2e<_0x3e92f5[_0xe706be(0x121)];_0x435b2e++){const _0x3c09ae=_0x3e92f5[_0x435b2e];if(_0x38a4ef[_0xe706be(0x27c)](_0x3c09ae),_0x435b2e!==_0x3e92f5['length']-0x1){const _0x48d38b=_0x3e92f5[_0x435b2e+0x1],_0x4a6aef=this[_0xe706be(0x15e)][_0xe706be(0x2e5)](_0x38a4ef,[_0x48d38b]);_0x4658e3[_0xe706be(0x292)](_0x4a6aef)?_0x38a4ef=_0x4a6aef[_0xe706be(0xe1)]:_0x38a4ef=[];}}return _0x38a4ef;}[_0x149b74(0x1ec)](_0x12423a){const _0x52d5d0=_0x149b74;let _0x95596c=[];return _0x12423a[_0x52d5d0(0x295)](_0x2a6f94=>{const _0x5d654e=_0x52d5d0;if(_0x2a6f94['id']===_0x56ed82[_0x5d654e(0x164)]['id']){const _0x4b67a3=_0x2a6f94[_0x5d654e(0x1a6)];_0x95596c[_0x5d654e(0x27c)](_0x4b67a3[_0x5d654e(0x11d)]['id']);}else{if(_0x2a6f94['id']===_0x56ed82[_0x5d654e(0x161)]['id']){const _0x1ee9ad=_0x2a6f94[_0x5d654e(0x1a6)];_0x95596c[_0x5d654e(0x121)]>0x0&&(_0x95596c=_0x95596c[_0x5d654e(0x11b)](_0x143e6c=>_0x143e6c!==_0x1ee9ad[_0x5d654e(0x1f4)]));}else{if(_0x2a6f94['id']===_0x56ed82[_0x5d654e(0x1cc)]['id']){const _0x10c879=_0x2a6f94['params'];_0x10c879[_0x5d654e(0x1e1)]?_0x95596c=_0x95596c[_0x5d654e(0x11b)](_0x184b04=>_0x184b04!==_0x10c879[_0x5d654e(0x1f4)]):_0x95596c[_0x5d654e(0x27c)](_0x10c879[_0x5d654e(0x1f4)]);}else{const _0x418792=_0x2a6f94['params'];_0x418792[_0x5d654e(0x1f4)]&&_0x95596c[_0x5d654e(0x27c)](_0x418792['subUnitId']);}}}}),_0x95596c[_0x52d5d0(0x121)]>0x0?_0x95596c[_0x95596c[_0x52d5d0(0x121)]-0x1]:null;}['_extractRanges'](_0x2b910e){const _0x1a1304=_0x149b74,_0x24a6bb=new Map();return _0x2b910e[_0x1a1304(0x295)](_0x3700ce=>{const _0x3be39b=_0x1a1304;var _0x225881,_0x8e1ecd;const _0x232cda=(_0x225881=_0x3700ce[_0x3be39b(0x1a6)])==null?void 0x0:_0x225881[_0x3be39b(0x1cd)];if(_0x232cda){_0x24a6bb[_0x3be39b(0xec)](_0x232cda)||_0x24a6bb[_0x3be39b(0x2c3)](_0x232cda,[]);const _0x3b6def=this[_0x3be39b(0x2d8)](_0x3700ce);(_0x8e1ecd=_0x24a6bb[_0x3be39b(0x266)](_0x232cda))==null||_0x8e1ecd['push'](..._0x3b6def);}}),_0x24a6bb[_0x1a1304(0x295)]((_0x8e24cf,_0x2426b6)=>{const _0x482da7=_0x1a1304;_0x24a6bb[_0x482da7(0x2c3)](_0x2426b6,this[_0x482da7(0x277)](_0x8e24cf));}),_0x24a6bb;}['_getRangesByMutation'](_0x3173cb){const _0x3faf66=_0x149b74;switch(_0x3173cb['id']){case _0x56ed82['AddRangeProtectionMutation']['id']:{const _0x4828e3=_0x3173cb['params'];return _0x4828e3[_0x3faf66(0x185)][_0x3faf66(0x158)](_0x232726=>_0x232726[_0x3faf66(0x1ee)][_0x3faf66(0x158)](_0x203c44=>({'range':_0x203c44,'unitId':_0x4828e3[_0x3faf66(0x1c6)],'subUnitId':_0x4828e3[_0x3faf66(0x1f4)]})))[_0x3faf66(0x1c7)]();}case _0x56ed82['AddWorksheetMergeMutation']['id']:{const _0x15c4a7=_0x3173cb[_0x3faf66(0x1a6)];return _0x15c4a7[_0x3faf66(0x1ee)][_0x3faf66(0x158)](_0xb8efe8=>({'range':_0xb8efe8,'unitId':_0x15c4a7['unitId'],'subUnitId':_0x15c4a7['subUnitId']}));}case _0x56ed82[_0x3faf66(0x2ca)]['id']:{const _0x2f7588=_0x3173cb[_0x3faf66(0x1a6)];return[{'range':_0x2f7588['range'],'unitId':_0x2f7588['unitId'],'subUnitId':_0x2f7588[_0x3faf66(0x1f4)]}];}case _0x56ed82[_0x3faf66(0x1fe)]['id']:{const _0x527b71=_0x3173cb['params'];return[{'range':_0x527b71[_0x3faf66(0x203)],'unitId':_0x527b71[_0x3faf66(0x1c6)],'subUnitId':_0x527b71[_0x3faf66(0x1f4)]}];}case _0x56ed82[_0x3faf66(0x237)]['id']:{const _0x16460d=_0x3173cb[_0x3faf66(0x1a6)],{from:_0x36fb6d,to:_0x118f33,unitId:_0x1e46ef}=_0x16460d;return[{'range':_0x2e9865(_0x36fb6d['value']),'unitId':_0x1e46ef,'subUnitId':_0x36fb6d[_0x3faf66(0x1f4)]},{'range':_0x2e9865(_0x118f33[_0x3faf66(0x2e2)]),'unitId':_0x1e46ef,'subUnitId':_0x118f33[_0x3faf66(0x1f4)]}];}case _0x56ed82[_0x3faf66(0x107)]['id']:{const _0x466c7=_0x3173cb[_0x3faf66(0x1a6)],{unitId:_0xef488a,subUnitId:_0x2ba6a5,sourceRange:_0x1cfc0b,targetRange:_0x4a030d}=_0x466c7,_0x28f2f9=_0x1cfc0b[_0x3faf66(0x1e0)]-_0x1cfc0b[_0x3faf66(0x2dd)]+0x1;return[{'range':_0x4a030d[_0x3faf66(0x2dd)]<=_0x1cfc0b['startRow']?_0x4a030d:{..._0x4a030d,'startRow':_0x4a030d['startRow']-_0x28f2f9,'endRow':_0x4a030d[_0x3faf66(0x1e0)]-_0x28f2f9},'unitId':_0xef488a,'subUnitId':_0x2ba6a5}];}case _0x56ed82['MoveColsMutation']['id']:{const _0x15f73d=_0x3173cb[_0x3faf66(0x1a6)],{unitId:_0x1266d2,subUnitId:_0xb5ef5f,sourceRange:_0x27f7a4,targetRange:_0x1ccbff}=_0x15f73d,_0x15a531=_0x27f7a4[_0x3faf66(0xde)]-_0x27f7a4['startColumn']+0x1;return[{'range':_0x1ccbff['startColumn']<=_0x27f7a4[_0x3faf66(0x257)]?_0x1ccbff:{..._0x1ccbff,'startColumn':_0x1ccbff['startColumn']-_0x15a531,'endColumn':_0x1ccbff[_0x3faf66(0xde)]-_0x15a531},'unitId':_0x1266d2,'subUnitId':_0xb5ef5f}];}case _0x56ed82['SetNumfmtMutation']['id']:{const _0x5529aa=_0x3173cb[_0x3faf66(0x1a6)],{values:_0x8199c8,unitId:_0x225ea8,subUnitId:_0x48b4f8}=_0x5529aa;return Object[_0x3faf66(0x1ed)](_0x8199c8)[_0x3faf66(0x158)](_0xa2f5c2=>_0xa2f5c2['ranges'][_0x3faf66(0x158)](_0x3c59f1=>({'range':_0x3c59f1,'unitId':_0x225ea8,'subUnitId':_0x48b4f8})))[_0x3faf66(0x1c7)]();}case _0x56ed82['RemoveNumfmtMutation']['id']:{const _0x515e44=_0x3173cb[_0x3faf66(0x1a6)],{ranges:_0xb7d931,unitId:_0x1bdce5,subUnitId:_0x4239c4}=_0x515e44;return _0xb7d931['map'](_0x4096ac=>({'range':_0x4096ac,'unitId':_0x1bdce5,'subUnitId':_0x4239c4}));}case _0x56ed82[_0x3faf66(0x209)]['id']:{const _0x591c67=_0x3173cb[_0x3faf66(0x1a6)],{unitId:_0x34ce39,subUnitId:_0x1eb589,range:_0x94e03f}=_0x591c67;return[{'range':_0x94e03f,'unitId':_0x34ce39,'subUnitId':_0x1eb589}];}case _0x56ed82[_0x3faf66(0x2d4)]['id']:{const _0x4d99c6=_0x3173cb['params'];return _0x4d99c6['rule'][_0x3faf66(0x1ee)]['map'](_0x39f073=>({'range':_0x39f073,'unitId':_0x4d99c6[_0x3faf66(0x1c6)],'subUnitId':_0x4d99c6[_0x3faf66(0x1f4)]}));}case _0x56ed82[_0x3faf66(0x287)]['id']:{const _0x57c98f=_0x3173cb[_0x3faf66(0x1a6)];return _0x57c98f[_0x3faf66(0x149)]?_0x303cfa(_0x57c98f[_0x3faf66(0x149)])[_0x3faf66(0x158)](_0x33c0d7=>({'range':_0x33c0d7,'unitId':_0x57c98f[_0x3faf66(0x1c6)],'subUnitId':_0x57c98f['subUnitId']})):[];}case _0x2fa927[_0x3faf66(0x133)]['id']:{const _0x2a7742=_0x3173cb[_0x3faf66(0x1a6)];return[{'range':_0x2a7742[_0x3faf66(0x203)],'unitId':_0x2a7742['unitId'],'subUnitId':_0x2a7742[_0x3faf66(0x1f4)]}];}case _0x346063[_0x3faf66(0x111)]['id']:{const _0x248c29=_0x3173cb[_0x3faf66(0x1a6)];return(Array['isArray'](_0x248c29['rule'])?_0x248c29[_0x3faf66(0x2f2)]:[_0x248c29[_0x3faf66(0x2f2)]])['map'](_0xd8fe31=>_0xd8fe31[_0x3faf66(0x1ee)]['map'](_0x3f7668=>({'range':_0x3f7668,'unitId':_0x248c29[_0x3faf66(0x1c6)],'subUnitId':_0x248c29[_0x3faf66(0x1f4)]})))['flat']();}case _0xed2ba5['SetConditionalRuleMutation']['id']:{const _0x290a07=_0x3173cb[_0x3faf66(0x1a6)];return _0x290a07[_0x3faf66(0x2f2)][_0x3faf66(0x1ee)][_0x3faf66(0x158)](_0x58db18=>({'range':_0x58db18,'unitId':_0x290a07[_0x3faf66(0x1c6)],'subUnitId':_0x290a07[_0x3faf66(0x1f4)]}));}default:return[];}}[_0x149b74(0x277)](_0x300b55){const _0x1acdd6=_0x149b74;if(_0x300b55[_0x1acdd6(0x121)]<=0x1)return _0x300b55;const _0x435dd8=new Map();return _0x300b55[_0x1acdd6(0x295)](_0x38fb80=>{const _0x22f795=_0x1acdd6;var _0x473bfb;const {unitId:_0x234684,subUnitId:_0x37b79f}=_0x38fb80,_0x4a8100=_0x234684+'-'+_0x37b79f;_0x435dd8['has'](_0x4a8100)?(_0x473bfb=_0x435dd8[_0x22f795(0x266)](_0x4a8100))==null||_0x473bfb[_0x22f795(0x27c)](_0x38fb80):_0x435dd8[_0x22f795(0x2c3)](_0x4a8100,[_0x38fb80]);}),Array[_0x1acdd6(0x193)](_0x435dd8[_0x1acdd6(0x1ed)]())['map'](_0x1e8a53=>new _0x56ed82[(_0x1acdd6(0x14c))]()[_0x1acdd6(0x208)](..._0x1e8a53[_0x1acdd6(0x158)](_0x1cf363=>_0x1cf363['range']))[_0x1acdd6(0x18a)]()[_0x1acdd6(0x158)](_0x4712ce=>({'range':_0x4712ce,'unitId':_0x1e8a53[0x0]['unitId'],'subUnitId':_0x1e8a53[0x0][_0x1acdd6(0x1f4)]})))[_0x1acdd6(0x1c7)]();}};_0x19337e=_0x2630ce([_0x5daccd(0x0,_0x287239['Inject'](_0x2afb7b['HistoryManagerService'])),_0x5daccd(0x1,_0x4658e3[_0x149b74(0x1c8)]),_0x5daccd(0x2,_0x4658e3['ISnapshotServerService'])],_0x19337e);function _0x2e9865(_0x329d33){const _0x8448a3=_0x149b74;return new _0x287239[(_0x8448a3(0x26a))](_0x329d33)[_0x8448a3(0x1b5)]();}function _0x303cfa(_0xa30e34){const _0x349c74=_0x149b74,_0x8e257f=new _0x287239[(_0x349c74(0x26a))](_0xa30e34),_0x484777=new _0x287239['ObjectMatrix']();return _0x8e257f[_0x349c74(0x116)]((_0x355732,_0x4d0efd)=>{const _0x3c8e98=_0x349c74;_0x484777[_0x3c8e98(0x1d8)](_0x355732,_0x4d0efd,0x1);}),_0x56ed82[_0x349c74(0x11c)](_0x484777);}var _0x5790ee=Object['getOwnPropertyDescriptor'],_0x28c6e5=(_0x15e023,_0x6ab3e0,_0x220549,_0x554ed7)=>{const _0xda859a=_0x149b74;for(var _0x12c3cf=_0x554ed7>0x1?void 0x0:_0x554ed7?_0x5790ee(_0x6ab3e0,_0x220549):_0x6ab3e0,_0x42701b=_0x15e023[_0xda859a(0x121)]-0x1,_0x23a23a;_0x42701b>=0x0;_0x42701b--)(_0x23a23a=_0x15e023[_0x42701b])&&(_0x12c3cf=_0x23a23a(_0x12c3cf)||_0x12c3cf);return _0x12c3cf;},_0x16d3b6=(_0x3ba353,_0x11779f)=>(_0x19a1cc,_0x47d26c)=>_0x11779f(_0x19a1cc,_0x47d26c,_0x3ba353);let _0x31d0e5=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x68d5e3,_0x556984,_0x4e2bae,_0x4b5d5d,_0x5e0719,_0xeed00f,_0x5be944){const _0x21b6dd=_0x149b74;super(),_0x217380(this,_0x21b6dd(0x279),new Set()),_0x217380(this,_0x21b6dd(0x267),null),(this[_0x21b6dd(0x148)]=_0x68d5e3,this[_0x21b6dd(0x1b9)]=_0x556984,this['_versionDiffService']=_0x4e2bae,this[_0x21b6dd(0x17a)]=_0x4b5d5d,this[_0x21b6dd(0x253)]=_0x5e0719,this[_0x21b6dd(0x1cf)]=_0xeed00f,this[_0x21b6dd(0x2e6)]=_0x5be944,this[_0x21b6dd(0x1b4)]());}[_0x149b74(0x1b4)](){const _0x40b014=_0x149b74;this[_0x40b014(0x124)](),this['_initActiveSwitch']();}[_0x149b74(0x124)](){const _0x40aa70=_0x149b74;this[_0x40aa70(0x17c)](_0x493d52[_0x40aa70(0xe8)]([this[_0x40aa70(0x1b9)][_0x40aa70(0x15c)],this['_sheetSkeletonManagerService']['currentSkeleton$']])[_0x40aa70(0x12b)](_0x493d52[_0x40aa70(0x198)](([_0x35c1f8,_0x300cb6])=>{const _0x1618f0=_0x40aa70;if(_0x35c1f8===_0x411a36[_0x1618f0(0x258)]&&_0x300cb6){const _0x524668=_0x300cb6['sheetId'];return this[_0x1618f0(0x232)][_0x1618f0(0x2b7)][_0x1618f0(0x12b)](_0x493d52['map'](_0x2283b3=>{const _0x450c2f=_0x1618f0,_0x3a57f9=new Map();return _0x2283b3[_0x450c2f(0x1ee)][_0x450c2f(0x295)]((_0x35fe21,_0x3aa038)=>{const _0x1581c9=_0x450c2f,_0x4286df=_0x35fe21['filter'](_0x315f90=>_0x315f90[_0x1581c9(0x1f4)]===_0x524668);_0x3a57f9[_0x1581c9(0x2c3)](_0x3aa038,_0x4286df);}),{'skeleton':_0x300cb6,'diffs':_0x3a57f9};}));}return _0x493d52['of']({'skeleton':null,'diffs':new Map()});}))[_0x40aa70(0x2a3)](({skeleton:_0x306aa6,diffs:_0x1e5fdb})=>{const _0x3c6989=_0x40aa70;this['_removeDiffMarks'](),_0x306aa6&&this[_0x3c6989(0x18d)](_0x306aa6,_0x1e5fdb);})),this[_0x40aa70(0x17c)](this[_0x40aa70(0x1cf)][_0x40aa70(0x2a8)][_0x40aa70(0x2a3)](_0x1b724b=>{const _0xf75352=_0x40aa70;if(_0x1b724b==null)return;const {skeleton:_0xe7505b}=_0x1b724b,{scene:_0x489006}=this[_0xf75352(0x148)];_0x489006[_0xf75352(0x293)][_0xf75352(0x1dd)](_0x287239[_0xf75352(0x270)](_0x4dcd3e=>{const _0x2e8a73=_0xf75352;var _0x4c2876,_0x12f7ac;const {offsetX:_0x169fba,offsetY:_0x2e682f}=_0x4dcd3e,{x:_0x2178fd,y:_0x501726}=_0x489006['getRelativeToViewportCoord'](_0x185f7f[_0x2e8a73(0x16b)][_0x2e8a73(0x22b)]([_0x169fba,_0x2e682f])),{scaleX:_0xa865b5,scaleY:_0xf57099}=_0x489006[_0x2e8a73(0x29d)](),_0x40e9ad=_0x489006[_0x2e8a73(0xf1)](_0x185f7f[_0x2e8a73(0x1ae)]['VIEW_MAIN']),_0xc71fa4=_0x489006[_0x2e8a73(0x27e)](_0x185f7f[_0x2e8a73(0x16b)]['FromArray']([_0x2178fd,_0x501726]),_0x40e9ad),_0xc67b34=_0xe7505b['getCellPositionByOffset'](_0x169fba,_0x2e682f,_0xa865b5,_0xf57099,_0xc71fa4);((_0x4c2876=this['_lastPointer'])==null?void 0x0:_0x4c2876['column'])===_0xc67b34[_0x2e8a73(0x286)]&&((_0x12f7ac=this['_lastPointer'])==null?void 0x0:_0x12f7ac[_0x2e8a73(0x112)])===_0xc67b34[_0x2e8a73(0x112)]||this['_diffs'][_0x2e8a73(0x295)](_0xced18=>{const _0x203230=_0x2e8a73;_0xced18[_0x203230(0x128)](_0xc67b34);});},0x64));}));}[_0x149b74(0x26b)](){const _0x2d3524=_0x149b74;this[_0x2d3524(0x17c)](this[_0x2d3524(0x1b9)][_0x2d3524(0x15c)][_0x2d3524(0x2a3)](_0x39858e=>{const _0x3fe529=_0x2d3524,_0x3eb960=new _0x287239[(_0x3fe529(0x2a2))]();return _0x39858e===_0x411a36[_0x3fe529(0x258)]&&(_0x3eb960[_0x3fe529(0x2e9)](),_0x3eb960[_0x3fe529(0x208)](this[_0x3fe529(0x232)]['currentVersionDiff$'][_0x3fe529(0x2a3)](_0x13a266=>{const _0x30cc95=_0x3fe529;_0x13a266['active']&&this[_0x30cc95(0x2e6)]['executeCommand'](_0x56ed82[_0x30cc95(0x2b6)]['id'],{'unitId':this[_0x30cc95(0x148)][_0x30cc95(0x1c6)],'subUnitId':_0x13a266[_0x30cc95(0x1c3)]});}))),()=>_0x3eb960[_0x3fe529(0x2e9)]();}));}[_0x149b74(0x18d)](_0x15436d,_0x1fb236){const _0x5e4031=_0x149b74;var _0x2cf611;const _0x100615=(_0x2cf611=this[_0x5e4031(0x1cf)]['getCurrent']())==null?void 0x0:_0x2cf611[_0x5e4031(0x2de)];if(!_0x100615)return;this['_diffs'][_0x5e4031(0x295)](_0x2db421=>{_0x2db421['makeDirty']();});const {scene:_0x37a4e7}=this[_0x5e4031(0x148)],_0x509f95=Array[_0x5e4031(0x193)](_0x1fb236[_0x5e4031(0x18f)]())[_0x5e4031(0x158)](_0x17e340=>_0x1fb236['get'](_0x17e340)['map'](_0x253e14=>{const _0x1c9a45=_0x5e4031;var _0x395133;const {range:_0x5c7e16,subUnitId:_0x249c92,unitId:_0x437cf4}=_0x253e14,{startColumn:_0x42944c,startRow:_0x44cec9,endColumn:_0x26704a,endRow:_0x49a17e}=_0x5c7e16,_0x33a2ed=_0xf33c3[_0x1c9a45(0x2f1)](_0x44cec9,_0x42944c,_0x37a4e7,_0x100615),_0xe280e5=_0xf33c3[_0x1c9a45(0x2f1)](_0x49a17e,_0x26704a,_0x37a4e7,_0x100615),{columnHeaderHeightAndMarginTop:_0x4f1a3b}=_0x100615,{startX:_0x442682,startY:_0x1f3eb0}=_0x33a2ed,{endX:_0x5df8ab,endY:_0x2a4c7c}=_0xe280e5,_0x4019a8=_0x5df8ab-_0x442682,_0x1e8262=_0x2a4c7c-_0x1f3eb0,_0x29ca35={'labelPosition':_0x1f3eb0-_0x4f1a3b>=0x14?'top':_0x1c9a45(0xdc),'sheetID':_0x249c92,'range':_0x5c7e16,'color':_0x1c9a45(0x2b4),'fillAfterStrokeEnabled':!0x0,'backgroundColor':_0x1c9a45(0x2b4),'name':((_0x395133=this['_historyManagerService'][_0x1c9a45(0x282)](_0x17e340))==null?void 0x0:_0x395133['name'])||'','selection':_0x437cf4+'-'+_0x249c92+'-'+_0x5c7e16[_0x1c9a45(0x257)]+'-'+_0x5c7e16['startRow']+'-'+_0x5c7e16[_0x1c9a45(0xde)]+'-'+_0x5c7e16[_0x1c9a45(0x1e0)],'left':_0x442682,'top':_0x1f3eb0,'width':_0x4019a8,'height':_0x1e8262,'evented':!0x1,'zIndex':0x1};return new _0x50e0f0['SheetCollabCursorShape']('',_0x29ca35);}))[_0x5e4031(0x1c7)]();_0x37a4e7['addObjects'](_0x509f95,0x1),this[_0x5e4031(0x279)]=new Set(_0x509f95);}[_0x149b74(0x238)](){const _0x2dd9c7=_0x149b74;var _0x1ce5b0;(_0x1ce5b0=this[_0x2dd9c7(0x279)])==null||_0x1ce5b0[_0x2dd9c7(0x295)](_0x3a053f=>_0x3a053f[_0x2dd9c7(0x2e9)]());}[_0x149b74(0x118)](){const _0x522aa1=_0x149b74;return _0xf33c3['getSheetObject'](this[_0x522aa1(0x17a)],this['_renderManagerService']);}};_0x31d0e5=_0x28c6e5([_0x16d3b6(0x1,_0x287239[_0x149b74(0x14e)](_0x2afb7b[_0x149b74(0x15b)])),_0x16d3b6(0x2,_0x287239[_0x149b74(0x14e)](_0x19337e)),_0x16d3b6(0x3,_0x287239[_0x149b74(0x1b3)]),_0x16d3b6(0x4,_0x185f7f[_0x149b74(0x256)]),_0x16d3b6(0x5,_0x287239['Inject'](_0xf33c3[_0x149b74(0x110)])),_0x16d3b6(0x6,_0x287239[_0x149b74(0x180)])],_0x31d0e5);function _0x21c1c8(){const _0x3780de=_0x149b74,_0x1bbb77=_0x1f9fca[_0x3780de(0x1a9)](_0x2afb7b[_0x3780de(0x15b)]),_0xaf6f7=_0x1f9fca['useObservable'](_0x1bbb77[_0x3780de(0x156)]),[_0x5a4802,_0x37e881]=_0x5cef4f['useState'](!0x1),_0x204a1a=_0x4f3174(_0xaf6f7);return _0xaf6f7?_0x5118a6[_0x3780de(0xff)](_0x3780de(0x2a6),{'className':_0x3780de(0x296),'children':_0x5118a6[_0x3780de(0x1b8)](_0x3780de(0x2a6),{'className':'univer-h-full\x20univer-space-y-2\x20univer-overflow-auto\x20univer-pb-4','children':[_0x204a1a[_0x3780de(0x158)]((_0x5af571,_0x57b1e3)=>_0x5118a6[_0x3780de(0x1b8)](_0x5cef4f[_0x3780de(0x2b8)],{'children':[_0x5118a6['jsx'](_0x1d7efe,{'date':_0x5af571[_0x3780de(0x264)]}),_0x5af571[_0x3780de(0x2d1)][_0x3780de(0x158)]((_0x4d5f8a,_0x310bfa)=>_0x5118a6[_0x3780de(0xff)](_0x522a74,{'index':[_0x57b1e3,_0x310bfa],'item':_0x4d5f8a},_0x57b1e3+'-'+_0x310bfa))]},_0x5af571[_0x3780de(0x264)])),_0x5a4802&&_0x5118a6['jsx'](_0x25fa5d,{})]})}):_0x5118a6['jsx'](_0x46b8e6,{});}function _0x25fa5d(){const _0x2b2a0b=_0x149b74;return _0x5118a6['jsx'](_0x2b2a0b(0x2a6),{'className':_0x2b2a0b(0x11a),'children':_0x5118a6[_0x2b2a0b(0xff)](_0x2ae722,{'className':_0x2b2a0b(0x234)})});}function _0x46b8e6(){const _0x3c82ad=_0x149b74;return _0x5118a6[_0x3c82ad(0xff)]('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-center','children':_0x5118a6['jsx'](_0x3c82ad(0x20c),{'className':_0x3c82ad(0x2b9),'children':_0x5118a6[_0x3c82ad(0xff)](_0x2ae722,{'className':'univer-m-auto\x20univer-animate-spin'})})});}function _0x1d7efe(_0xf80d4c){const _0x255f6e=_0x149b74,_0x75567a=_0x1f9fca['useDependency'](_0x287239['LocaleService']),{date:_0x33393e}=_0xf80d4c;return _0x5118a6[_0x255f6e(0xff)](_0x255f6e(0x2a6),{'className':_0x255f6e(0x1f7),'children':_0x1d8852(_0x33393e,_0x75567a[_0x255f6e(0x2c7)]())});}function _0x522a74(_0x5f0452){const _0x40ab56=_0x149b74,{item:_0x2db31c,index:_0x40424f}=_0x5f0452,{time:_0x2a4459,user:_0x5a1c58}=_0x2db31c,[_0x1eef2d,_0x121525]=_0x40424f,_0x50bf5c=_0x1f9fca[_0x40ab56(0x1a9)](_0x2afb7b[_0x40ab56(0x15b)]),_0x2f880e=_0x1f9fca[_0x40ab56(0x240)](_0x50bf5c[_0x40ab56(0x2fe)],'',!0x0)===_0x2db31c['id'],_0x50f42e=_0x1eef2d===0x0&&_0x121525===0x0,_0x125787=!_0x50f42e&&_0x50bf5c['canRevert'],_0x3a8031=_0x1f9fca['useDependency'](_0x287239[_0x40ab56(0x298)]),_0x53444c=_0x3a8031[_0x40ab56(0x2c7)](),_0x1e6c1f=_0x610a11(_0x2a4459,_0x53444c),_0x3ec57e=_0x3a8031['t']('editHistory.panel.currentVersion'),_0xd5fc85=_0x5cef4f['useCallback'](_0x2f6496=>{const _0x2ad625=_0x40ab56;_0x50bf5c[_0x2ad625(0x190)]!==_0x411a36[_0x2ad625(0x181)]&&(_0x50bf5c[_0x2ad625(0x2ce)]=_0x2f6496);},[_0x50bf5c]),_0x4a05b2=_0x5cef4f['useCallback'](_0x2ab42b=>{const _0x43edef=_0x40ab56;_0x50bf5c[_0x43edef(0x271)](_0x2ab42b);},[_0x50bf5c]);return _0x5118a6[_0x40ab56(0x1b8)](_0x40ab56(0x2a6),{'className':_0x407bc3[_0x40ab56(0x17d)]('univer-h-15\x20univer-flex\x20univer-cursor-pointer\x20univer-flex-col\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-px-4\x20univer-py-1.5\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-gray-50\x20dark:!univer-bg-gray-900':_0x2f880e}),'onClick':()=>_0xd5fc85(_0x2db31c['id']),'children':[_0x5118a6[_0x40ab56(0x1b8)]('div',{'className':'univer-flex\x20univer-h-6\x20univer-w-full\x20univer-justify-between','children':[_0x5118a6[_0x40ab56(0x1b8)](_0x40ab56(0x2a6),{'className':_0x40ab56(0x147),'children':[_0x5118a6[_0x40ab56(0xff)](_0x40ab56(0x20c),{'children':_0x1e6c1f[_0x40ab56(0x233)]}),_0x50f42e&&_0x5118a6['jsx']('span',{'className':_0x40ab56(0x108),'children':_0x3ec57e})]}),_0x5118a6[_0x40ab56(0xff)]('div',{'children':_0x125787&&_0x5118a6[_0x40ab56(0xff)](_0x407bc3[_0x40ab56(0x2bd)],{'title':_0x3a8031['t'](_0x40ab56(0x2b2)),'children':_0x5118a6[_0x40ab56(0xff)](_0x40ab56(0x2a6),{'onClick':_0x40539c=>{_0x40539c['stopPropagation'](),_0x4a05b2(_0x2db31c['id']);},'className':_0x40ab56(0x294),'children':_0x5118a6['jsx'](_0x3664fd,{})})})})]}),_0x5118a6['jsx'](_0x40ab56(0x2a6),{'className':_0x40ab56(0x1f9),'children':_0x5ef180(_0x2db31c,_0x3a8031)})]});}var _0xfac406=Object[_0x149b74(0x1c2)],_0x5c1e75=(_0x4c05bb,_0x51b2e2,_0x325a11,_0x4d7624)=>{const _0x1b20b3=_0x149b74;for(var _0x3be1cf=_0x4d7624>0x1?void 0x0:_0x4d7624?_0xfac406(_0x51b2e2,_0x325a11):_0x51b2e2,_0x10add7=_0x4c05bb[_0x1b20b3(0x121)]-0x1,_0xeebf75;_0x10add7>=0x0;_0x10add7--)(_0xeebf75=_0x4c05bb[_0x10add7])&&(_0x3be1cf=_0xeebf75(_0x3be1cf)||_0x3be1cf);return _0x3be1cf;},_0x23d421=(_0x57705b,_0x4da916)=>(_0x4b0680,_0x4ef1f0)=>_0x4da916(_0x4b0680,_0x4ef1f0,_0x57705b);const _0x260210=_0x149b74(0x2fa);let _0x50b0d8=class extends _0x287239[_0x149b74(0x23e)]{constructor(_0x597b4a,_0x4ab10e,_0x4c1f87,_0x3a5cd3){const _0x5a93e9=_0x149b74;super(),_0x217380(this,_0x5a93e9(0x2df),null),(this[_0x5a93e9(0x274)]=_0x597b4a,this[_0x5a93e9(0x13e)]=_0x4ab10e,this[_0x5a93e9(0x23b)]=_0x4c1f87,this[_0x5a93e9(0x1b9)]=_0x3a5cd3,this[_0x5a93e9(0x1b4)]());}['_init'](){const _0x29dc0a=_0x149b74;this[_0x29dc0a(0x192)](),this[_0x29dc0a(0x20d)]();}[_0x149b74(0x20d)](){const _0x520556=_0x149b74;if(this[_0x520556(0x2df)])return;const _0x542948={'header':{'title':this['_localeService']['t'](_0x520556(0x184))},'children':{'label':_0x260210},'onClose':()=>{const _0x47908b=_0x520556;this[_0x47908b(0x2df)]=null,this[_0x47908b(0x1b9)][_0x47908b(0x120)]=_0x2c8ae7[_0x47908b(0x1a4)];}};this[_0x520556(0x2df)]=this[_0x520556(0x274)][_0x520556(0x1ab)]({..._0x542948});}[_0x149b74(0x192)](){const _0x1cc4e9=_0x149b74;this[_0x1cc4e9(0x17c)](this[_0x1cc4e9(0x13e)][_0x1cc4e9(0x2cd)](_0x260210,_0x21c1c8)),this['disposeWithMe'](this[_0x1cc4e9(0x274)][_0x1cc4e9(0x1db)][_0x1cc4e9(0x12b)](_0x493d52[_0x1cc4e9(0x25b)](0x64))[_0x1cc4e9(0x2a3)](_0xb5f1c1=>{const _0x52ed6c=_0x1cc4e9,{target:_0x374496}=_0xb5f1c1||{};if(_0x374496){const {scrollTop:_0x503f6a,scrollHeight:_0x3d6004,clientHeight:_0x1747de}=_0x374496;_0x503f6a+_0x1747de>=_0x3d6004-0x5&&this[_0x52ed6c(0x1b9)]['loadMoreVersions']();}}));}};_0x50b0d8=_0x5c1e75([_0x23d421(0x0,_0x1f9fca[_0x149b74(0x2eb)]),_0x23d421(0x1,_0x287239[_0x149b74(0x14e)](_0x1f9fca['ComponentManager'])),_0x23d421(0x2,_0x287239[_0x149b74(0x14e)](_0x287239[_0x149b74(0x298)])),_0x23d421(0x3,_0x287239[_0x149b74(0x14e)](_0x2afb7b[_0x149b74(0x15b)]))],_0x50b0d8);class _0x2d670a extends _0x287239[_0x149b74(0x23e)]{constructor(){const _0x271d27=_0x149b74;super(),_0x217380(this,_0x271d27(0x269),new _0x493d52[(_0x271d27(0x248))]());}[_0x149b74(0x1ab)](){const _0x4bcc8e=_0x149b74;return _0x287239[_0x4bcc8e(0xd5)](()=>{});}[_0x149b74(0x131)](){}[_0x149b74(0x2e3)](_0x3831a4){}[_0x149b74(0x1e5)](){const _0x4d42fb=_0x149b74;return this[_0x4d42fb(0x269)]['asObservable']();}}var _0x1be837=Object['defineProperty'],_0x213d28=Object[_0x149b74(0x1c2)],_0x19865e=(_0x252db6,_0x3acddb,_0x2a80ec)=>_0x3acddb in _0x252db6?_0x1be837(_0x252db6,_0x3acddb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a80ec}):_0x252db6[_0x3acddb]=_0x2a80ec,_0x22174d=(_0x167eda,_0x5cf881,_0x12ca7b,_0x5d155c)=>{for(var _0x596767=_0x5d155c>0x1?void 0x0:_0x5d155c?_0x213d28(_0x5cf881,_0x12ca7b):_0x5cf881,_0x15ae29=_0x167eda['length']-0x1,_0x14fed1;_0x15ae29>=0x0;_0x15ae29--)(_0x14fed1=_0x167eda[_0x15ae29])&&(_0x596767=_0x14fed1(_0x596767)||_0x596767);return _0x596767;},_0x246dbd=(_0x201656,_0x516fe3)=>(_0x3f1c9b,_0x1e65d0)=>_0x516fe3(_0x3f1c9b,_0x1e65d0,_0x201656),_0x86a201=(_0x4b8818,_0x57ea0a,_0x52999b)=>_0x19865e(_0x4b8818,_0x57ea0a+'',_0x52999b);const _0x5af79d=_0x149b74(0x212);_0x2afb7b[_0x149b74(0x122)]=class extends _0x287239['Plugin']{constructor(_0x39581f=_0x3b2a13,_0x25105b,_0x125c69,_0x491a7d){const _0xe33899=_0x149b74;super(),this[_0xe33899(0x261)]=_0x39581f,this[_0xe33899(0x1ff)]=_0x25105b,this[_0xe33899(0x253)]=_0x125c69,this[_0xe33899(0x13b)]=_0x491a7d;const {..._0x20f712}=_0x287239[_0xe33899(0x18a)]({},_0x3b2a13,this[_0xe33899(0x261)]);this['_configService'][_0xe33899(0x204)](_0x18ecfb,_0x20f712);}['onStarting'](){const _0x49a127=_0x149b74;[[_0x2afb7b[_0x49a127(0x15b)]],[_0x592ff1],[_0x19337e],[_0x35ad97],[_0x50b0d8],[_0x6a9a62],[_0x4658e3[_0x49a127(0x2f3)],{'useClass':_0x4342ff[_0x49a127(0x1c5)]}],[_0x1f9fca[_0x49a127(0x160)],{'useClass':_0x2d670a}],[_0x21904a[_0x49a127(0x141)],{'useClass':_0x4342ff[_0x49a127(0x211)]}]][_0x49a127(0x295)](_0xf2ad44=>this[_0x49a127(0x1ff)][_0x49a127(0x208)](_0xf2ad44)),this[_0x49a127(0x1ff)][_0x49a127(0x266)](_0x592ff1);}[_0x149b74(0x1a2)](){const _0x425391=_0x149b74;[[_0x31d0e5]][_0x425391(0x295)](_0x15ebf4=>{const _0x2f66fe=_0x425391;this[_0x2f66fe(0x17c)](this[_0x2f66fe(0x253)][_0x2f66fe(0x260)](_0x287239[_0x2f66fe(0x1e6)][_0x2f66fe(0xd7)],_0x15ebf4));}),this[_0x425391(0x1ff)][_0x425391(0x266)](_0x6a9a62),this[_0x425391(0x1ff)][_0x425391(0x266)](_0x50b0d8);}[_0x149b74(0xd8)](){const _0x775f97=_0x149b74;this[_0x775f97(0x1ff)][_0x775f97(0x266)](_0x19337e);}},_0x86a201(_0x2afb7b['UniverEditHistoryViewerPlugin'],_0x149b74(0x27d),_0x5af79d),_0x2afb7b[_0x149b74(0x122)]=_0x22174d([_0x287239[_0x149b74(0x215)](_0xf33c3[_0x149b74(0x29c)],_0x2b0737[_0x149b74(0x22e)]),_0x246dbd(0x1,_0x287239['Inject'](_0x287239[_0x149b74(0x2d3)])),_0x246dbd(0x2,_0x185f7f['IRenderManagerService']),_0x246dbd(0x3,_0x287239[_0x149b74(0xeb)])],_0x2afb7b[_0x149b74(0x122)]),_0x2afb7b['HistoryModeStatus']=_0x2c8ae7,Object['defineProperty'](_0x2afb7b,Symbol['toStringTag'],{'value':_0x149b74(0x1d4)});}));function _0x5804(){const _0x5dea01=['next','IPermissionService','width','0\x200\x2016\x2016','@univerjs/design','onRendered','CHANGESET_REVISION_CONFILICT','Exited','defIds','params','ViemRwHgtClWdt','DATA_SOURCE_TOO_LARGE','useDependency','ENTITLE_CHAT_LIMIT_EXCEED','open','asObservable','white','SHEET_VIEWPORT_KEY','_snapshotServerService','currentColor','UniverSheetsConditionalFormatting','tag','IUniverInstanceService','_init','getDataRange','AUTHORIZE_CODE_ILLEGAL','padStart','jsxs','_historyManagerService','SetRowStyle','getMinutes','editHistory.panel.currentUser','HideWorksheet','symbol','MoveSheet','LICENSE_EXPORT_SIZE_EXCEEDED','1386376Fynmal','getOwnPropertyDescriptor','active','COMPRESS_MUTATION_APPLY','SnapshotServerOverHTTPService','unitId','flat','ITransformService','ViewFilter','_unitId$','CreateUnitMutation','SetWorksheetHideMutation','memberId','WorkbookEditablePermission','_sheetSkeletonManagerService','backgroundColor','SetFrozenMutation','PY_RUNTIME_SCRIPT_ERROR','mutations','Module','_lastLabel','fetchMissingChangesets','UniverDrawing','setValue','historyListServerUrl','WorkbookHideSheetPermission','scrollEvent$','zIndex','subscribeEvent','date','revertSheet','endRow','hidden','AddWorksheetProtectionMutation','flex','INVALID_ARGUMENT','getDialogs$','UniverInstanceType','UniverEngineRender','endRev','position','1000','createSheet','_getActiveSubUnitId','values','ranges','SetWorksheetStyle','SetCellStyle','HEADER','LICENSE_MAX_UNITS_EXCEEDED','_messageService','subUnitId','_revertRevision$','LOGIN_TOKEN_PROCESSING_FAILED','univer-flex\x20univer-items-center\x20univer-gap-2.5\x20univer-py-1.5\x20univer-text-sm\x20univer-font-medium','UNIVER_PROJECT','univer-text-sm\x20univer-leading-5\x20univer-text-gray-500\x20dark:!univer-text-gray-300','HideSheet','M7.41252\x2010.6196C7.64683\x2010.3852\x207.64683\x2010.0053\x207.41252\x209.77103L6.77012\x209.12863H9.67836C9.89927\x209.12863\x2010.0784\x209.30772\x2010.0784\x209.52863V11.1953C10.0784\x2011.5267\x2010.347\x2011.7953\x2010.6784\x2011.7953C11.0097\x2011.7953\x2011.2784\x2011.5267\x2011.2784\x2011.1953V9.52863C11.2784\x208.64497\x2010.562\x207.92863\x209.67836\x207.92863H6.77012L7.41252\x207.28623C7.64683\x207.05191\x207.64683\x206.67201\x207.41252\x206.4377C7.1782\x206.20338\x206.79831\x206.20338\x206.56399\x206.4377L4.89732\x208.10437C4.66301\x208.33868\x204.66301\x208.71858\x204.89732\x208.95289L6.56399\x2010.6196C6.79831\x2010.8539\x207.1782\x2010.8539\x207.41252\x2010.6196Z','NOT_FOUND','CreateSheet','InsertColMutation','_injector','_members','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','UniverProEditHistoryViewer','range','setConfig','getCurrentVersion','status$','Sort','add','ReorderRangeMutation','_fetching','style','span','_openPanel','replace','16914ZGsBUU','UniverSheets','CollaborationImageIoService','UNIVER_EDIT_HISTORY_VIEWER_PLUGIN','ENTITLE_REPORT_LIMIT_EXCEED','395XRrbXU','DependentOn','5348720TfEtrH','_loadingState$','DeleteColumn','SelectUnProtectedCells','USER_IS_ANONYMOUS','UNIVER_UNKNOWN','toString','setDV','CreatePermissionObject','attrs','ENTITLE_CAN_NOT_BUY_LOWER_OTP','YUUMI_CONNECTOR_URL_NOT_FOUND','split','DeleteWorksheet','284225VzJIdP','REDEMPTION_CODE_FULLY_REDEEMED','@univerjs-pro/collaboration-client','fill','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','_maskContainer','@univerjs/sheets','FromArray','loading','fetchThroughInterceptors','UniverNetworkPlugin','center','getInterceptPoints','Filter','_versionDiffService','time','univer-animate-spin','Delete','permissionPointUpdate$','MoveRangeMutation','_removeDiffMarks','_uiPartsService','MOBILE_HAS_BEEN_BOUND','_localeService','refreshRangeProtectPermission','_compressMutationService','Disposable','display','useObservable','MessageType','UniverSheetsFilter','loadSheet','user','ENTITLE_INSUFFICIENT_QUOTA','entered','CopySheet','Subject','triggerLoadSheet','DeleteSheet','COMPLETION_FINISHED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_ALL_TABLES_IS_INVALID','RwHgtClWdt','find','YUUMI_SUBSCRIPTION_NOT_FOUND','PERMISSION_DENIED','show','_renderManagerService','APPLY_REJECT','REDEMPTION_USER_REDEEM_TIMES_EXCEED','IRenderManagerService','startColumn','Loaded','hideMask','function','debounceTime','#0B9EFB','AddConditionalRuleMutation','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','querySelector','registerRenderModule','_config','@univerjs-pro/sheets-sparkline','30mWZkoF','dateString','editHistory.header.revert','get','_lastPointer','EditExtraObject','_dialogOptions$','ObjectMatrix','_initActiveSwitch','displayName','xlink:href','REDEMPTION_INVALID_CODE','MoveWorksheet','debounce','triggerRevert','createUnit','MOBILE_VERIFY_CODE_MISMATCH','_sidebarService','exports','loading-multi-icon','_combineRanges','INTERNAL_ERROR','_diffs','users','setCF','push','pluginName','getVpScrollXYInfoByPosToVp','history-mask','EMAIL_VERIFY_CODE_MISMATCH','RenameWorksheet','getMember','loaded','@univerjs/sheets-conditional-formatting','subType','column','SetRangeValuesMutation','BehaviorSubject','LocaleType','UniverUi','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','getCurrentUnitForType','now','M6.42416\x204.42417C6.65847\x204.18985\x206.65847\x203.80995\x206.42416\x203.57564C6.18984\x203.34132\x205.80994\x203.34132\x205.57563\x203.57564L1.57564\x207.57564C1.34132\x207.80995\x201.34132\x208.18985\x201.57564\x208.42417L5.57563\x2012.4242C5.80994\x2012.6585\x206.18984\x2012.6585\x206.42416\x2012.4242C6.65847\x2012.1899\x206.65847\x2011.81\x206.42416\x2011.5756L3.44843\x208.5999H14C14.3314\x208.5999\x2014.6\x208.33127\x2014.6\x207.9999C14.6\x207.66853\x2014.3314\x207.3999\x2014\x207.3999H3.44843L6.42416\x204.42417Z','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Init','isTransformMutationsSuccess','onPointerMove$','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-text-gray-400\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','forEach','univer-overflow-hidden','height','LocaleService','some','rev','UNDEFINED','UniverSheetsUIPlugin','getAncestorScale','ALREADY_EXISTS','getVersion','_initMaskContainer','_historyFetchService','DisposableCollection','subscribe','editSheet','DeleteRangeProtectionMutation','div','confirm-revert-revision','currentSkeleton$','_createMask','WorkbookRenameSheetPermission','url(#restore-icon_clip0_1247_2)','editHistory.action.revertSheetPrefix','defineProperty','body','restore-icon_clip0_1247_2','anonymous','_createUnit','editHistory.panel.revertDesc','disposeUnit','rgba(58,\x2096,\x20247,\x200.20)','_maskElement','SetWorksheetActiveOperation','currentVersionDiff$','Fragment','univer-text-gray-500','_workbookDataCache','@univerjs/core','children','Tooltip','ENTITLE_NEED_BILLING_ADDRESS','setFilter','colorChannel1','connectInjector','SNAPSHOT_HAS_BEEN_REMOVED','set','mask','CURRENT_STATUS_CANNOT_OPERATE','editHistory.action.etc','getCurrentLocale','_confirmService','rgba(225,\x20225,\x20225,\x200.5)','InsertRowMutation','UNIVER_SLIDE','UniverProCollaboration','register','currentVersion','InsertRow','Edit','versions','@univerjs-pro/collaboration-client-ui','Injector','SetRangeProtectionMutation','REDEMPTION_USER_NOT_ELIGIBLE','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_getRangesByMutation','UniverSheetsUi','entries','1em','[HistoryFetchService]:\x20wrong\x20rev\x20from\x20the\x20server!','startRow','skeleton','_sidebarDisposable','createElement','getHours','value','closeAll','@univerjs/ui','transformMutations','_commandService','_permissionService','block','dispose','UniverCore','ISidebarService','SetCellValue','USER_NOT_INVITED_CODE','canRevert','@univerjs/drawing','YUUMI_ASYNCIO_CANCELLED','getCoordByCell','rule','ISnapshotServerService','_hasMore','init','revertRevision$','_versions$','append','SheetPermissionInitController','history-panel','[HistoryFetchService]:\x20request\x20snapshot\x20error!','UniverDataValidation','_status$','currentVersion$','AddRangeProtectionMutation','color','state$','toISOString','amd','getUnitId','getUnitOnRev','toDisposable','useRef','UNIVER_SHEET','onSteady','action','DeleteRow','ManageCollaborator','bottom','showMask','endColumn','_sheetPermissionInitController','RecoverHistory','m1Prime','confirm','SNAPSHOT_INVALID_SNAPSHOT','51537UbLKIu','removeSheet','INVALID_INVITE_CODE','UpdateDataValidationMutation','combineLatest','commands','editHistory.panel.cancel','IConfigService','has','/universer-api/history','CONNECTOR_DATA_TOO_LARGE','RenameSheet','back-icon','getViewport','Print','UNIVER_DOC','interceptor','Today','INVITE_CODE_ALREADY_BOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','restore-icon','current','useCallback','USER_NOT_FOUND','className','PivotTable','editHistory.info.loading','jsx','Export','forwardRef','reduce','196472IebiKi','UNRECOGNIZED','Share','editHistory.action.','MoveRowsMutation','univer-ml-2\x20univer-flex\x20univer-h-5\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border\x20univer-border-primary-600\x20univer-bg-primary-50\x20univer-px-1.5\x20univer-text-xs\x20univer-text-primary-600','userID','getVersions','0\x200\x2016\x2017','changesets','BuiltInUIPart','VIRTUAL_VERSION_NOW','idSuffix','SheetSkeletonManagerService','AddDataValidationMutation','row','EMAIL_HAS_BEEN_BOUND','PAYMENT_CHANNEL_NOT_SUPPORT','rxjs','forValue','@univerjs/engine-render','_getSheetObject','command','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-items-center\x20univer-justify-center','filter','findAllRectangle','sheet','WECHAT_HAS_BEEN_BOUND','7ngAvrW','status','length','UniverEditHistoryViewerPlugin','_updateVersions','_initRender','@univerjs/sheets-filter','evenodd','userId','onMouseMove','recoverTime','LOGIN_FAILED','pipe','BackIcon','unitId$','_diffRangesMap','getConfig','editHistory.panel.revertConfirm','close','.univer-app-container-content','SetSheetsFilterRangeMutation','_transformMutationByOrder','InsertHyperlink','updatePermissionPoint','_getAPIPrefix','LoadingMultiIcon','addProtection','all','_configService','Error','ensureVersion','_componentManager','Duplicate','IUIPartsService','IImageIoService','none','100%','YUUMI_URL_COL_OUT_OF_RANGE','data','WorkbookMoveSheetPermission','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_context','cellValue','ICellEditorManagerService','setState','RangeMergeUtil','_currentVersion$','Inject','left','Button','@univerjs-pro/collaboration','TOO_MANY_REQUESTS','react/jsx-runtime','FloatImg','View','versions$','error','map','code','YUUMI_NO_CUBOID_FOR_QUESTION','HistoryManagerService','loadingState$','univer-flex\x20univer-h-12\x20univer-cursor-default\x20univer-items-center','_transformService','clear','IDialogService','RemoveSheetMutation','_canRevert','SelectProtectedCells','InsertSheetMutation','2638314hOrDoY','path','syncExecuteCommand','random','APPLY_REVISION_CONFILICT','UniverProSheetsSparkline','Vector2','SetColumnStyle','EditWorksheetCell','REDEMPTION_CODE_INACTIVE','includes','InsertColumn','triggerLoadVersions','setFrozen','APPLY_DUPLICATED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UniverNetwork','url(#$1','insertSheet','ERROR_AGAIN','svg','_univerInstanceService','_httpService','disposeWithMe','clsx','primary','Comment','ICommandService','Loading','blockMeta','univer-flex\x20univer-flex-1\x20univer-items-center\x20univer-justify-center','editHistory.panel.title','rules','UniverProCollaborationClientUi',':\x20(','createTime','focusUnit','merge','parse','REDEMPTION_CODE_NOT_STARTED','_updateDiffMarks','ViewHistory','keys','loadingState','_extractRanges','_initPanel','from','UNAUTHENTICATED','M2.06678\x203.37926C2.0668\x201.94333\x203.23085\x200.779297\x204.66678\x200.779297H9.44256C10.1796\x200.779297\x2010.8821\x201.09213\x2011.3751\x201.63999L13.2659\x203.74079C13.6955\x204.21822\x2013.9333\x204.83779\x2013.9333\x205.4801V12.7126C13.9333\x2014.1486\x2012.7692\x2015.3126\x2011.3333\x2015.3126H4.66665C3.2307\x2015.3126\x202.06663\x2014.1486\x202.06665\x2012.7126L2.06678\x203.37926ZM4.66678\x201.9793C3.89359\x201.9793\x203.26679\x202.60609\x203.26678\x203.37928L3.26665\x2012.7126C3.26664\x2013.4858\x203.89344\x2014.1126\x204.66665\x2014.1126H11.3333C12.1065\x2014.1126\x2012.7333\x2013.4858\x2012.7333\x2012.7126V5.4801C12.7333\x205.44882\x2012.7322\x205.41764\x2012.7302\x205.3866H10.7985C9.91488\x205.3866\x209.19853\x204.67026\x209.19853\x203.78661V1.9793H4.66678ZM10.4832\x202.44275L12.0526\x204.1866H10.7985C10.5776\x204.1866\x2010.3985\x204.00752\x2010.3985\x203.78661V2.35649C10.4279\x202.38389\x2010.4561\x202.41266\x2010.4832\x202.44275Z','LICENSE_DISTRO_REJECTED','string','switchMap','assign','RestoreIcon','_currentVersionDiff$','then'];_0x5804=function(){return _0x5dea01;};return _0x5804();}
18
18
 
19
19
  // @univerjs-pro/edit-history-loader/index
20
- function _0x5b41(_0x55741a,_0x59e420){const _0x144edb=_0x144e();return _0x5b41=function(_0x5b41a6,_0x17c2f3){_0x5b41a6=_0x5b41a6-0xcd;let _0x41e98c=_0x144edb[_0x5b41a6];return _0x41e98c;},_0x5b41(_0x55741a,_0x59e420);}(function(_0x2476c3,_0x332aef){const _0x1d7f82=_0x5b41,_0x2b0475=_0x2476c3();while(!![]){try{const _0x2ab592=-parseInt(_0x1d7f82(0x1a8))/0x1*(parseInt(_0x1d7f82(0x110))/0x2)+-parseInt(_0x1d7f82(0x184))/0x3*(parseInt(_0x1d7f82(0x1aa))/0x4)+parseInt(_0x1d7f82(0x1b3))/0x5+parseInt(_0x1d7f82(0x1a2))/0x6+parseInt(_0x1d7f82(0x12f))/0x7+parseInt(_0x1d7f82(0x107))/0x8*(parseInt(_0x1d7f82(0x1cd))/0x9)+-parseInt(_0x1d7f82(0x169))/0xa;if(_0x2ab592===_0x332aef)break;else _0x2b0475['push'](_0x2b0475['shift']());}catch(_0x3f4f0b){_0x2b0475['push'](_0x2b0475['shift']());}}}(_0x144e,0x3494b),function(_0x3246d0,_0x3d2506){const _0x344da5=_0x5b41;typeof exports==_0x344da5(0xe1)&&typeof module<'u'?_0x3d2506(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x344da5(0x117)&&define[_0x344da5(0x10a)]?define([_0x344da5(0x1b5),_0x344da5(0x105),_0x344da5(0x123),_0x344da5(0x15a),'@univerjs/design',_0x344da5(0x16e),'@univerjs/ui','rxjs',_0x344da5(0x1db),_0x344da5(0xd5),_0x344da5(0xee),'@univerjs-pro/sheets-pivot',_0x344da5(0x178),_0x344da5(0x143),'@univerjs/data-validation',_0x344da5(0xdc),_0x344da5(0x1c6),_0x344da5(0xf3),'@univerjs/drawing-ui',_0x344da5(0xe0),_0x344da5(0x13f),'@univerjs/network',_0x344da5(0x1d9),_0x344da5(0xf8),_0x344da5(0x13d),'@univerjs/sheets-data-validation',_0x344da5(0xd9),_0x344da5(0x1b7),_0x344da5(0x17a),_0x344da5(0x101),_0x344da5(0x1d8),_0x344da5(0xe4),_0x344da5(0x1a7),_0x344da5(0x160),_0x344da5(0xd8),'@univerjs/sheets-numfmt',_0x344da5(0x11f)],_0x3d2506):(_0x3246d0=typeof globalThis<'u'?globalThis:_0x3246d0||self,_0x3d2506(_0x3246d0[_0x344da5(0x148)]={},_0x3246d0[_0x344da5(0x1ca)],_0x3246d0[_0x344da5(0x1d5)],_0x3246d0[_0x344da5(0xdd)],_0x3246d0['UniverDesign'],_0x3246d0[_0x344da5(0xcf)],_0x3246d0[_0x344da5(0x19c)],_0x3246d0[_0x344da5(0x1d2)],_0x3246d0['UniverSheets'],_0x3246d0[_0x344da5(0x18e)],_0x3246d0[_0x344da5(0x1ba)],_0x3246d0['UniverProSheetsPivot'],_0x3246d0[_0x344da5(0x19e)],_0x3246d0[_0x344da5(0x1b1)],_0x3246d0[_0x344da5(0x12e)],_0x3246d0['UniverDocs'],_0x3246d0['UniverDocsUi'],_0x3246d0['UniverDrawing'],_0x3246d0[_0x344da5(0xf7)],_0x3246d0['UniverEngineFormula'],_0x3246d0[_0x344da5(0x114)],_0x3246d0[_0x344da5(0x179)],_0x3246d0['UniverRpc'],_0x3246d0[_0x344da5(0x146)],_0x3246d0[_0x344da5(0x18b)],_0x3246d0[_0x344da5(0x19d)],_0x3246d0[_0x344da5(0x127)],_0x3246d0[_0x344da5(0x176)],_0x3246d0[_0x344da5(0x147)],_0x3246d0[_0x344da5(0x1a1)],_0x3246d0[_0x344da5(0x10d)],_0x3246d0['UniverSheetsFormula'],_0x3246d0[_0x344da5(0x151)],_0x3246d0['UniverSheetsHyperLink'],_0x3246d0[_0x344da5(0x145)],_0x3246d0[_0x344da5(0x157)],_0x3246d0[_0x344da5(0x1c9)]));}(this,function(_0x29c157,_0x3907b3,_0x1142e1,_0x40f86f,_0x14aad7,_0x445ed1,_0x3ead9c,_0x2a2369,_0x306496,_0x2882e2,_0xf6503a,_0x341ccb,_0xd5a475,_0x5219ed,_0x455d48,_0x1d788d,_0x447a2a,_0x160d16,_0xf8a0a7,_0x5b0153,_0x3024fd,_0x1fcf0d,_0x38464c,_0x2eade1,_0x264719,_0x549760,_0x34f40f,_0x29fc8a,_0x5aa928,_0x5f407b,_0x2f678b,_0x4b9e3c,_0x372c32,_0x178586,_0x473043,_0x5cb988,_0x2b67e4){'use strict';const _0x18d0c6=_0x5b41;var _0x4f0a74=Object[_0x18d0c6(0xde)],_0x470ab0=(_0x348458,_0x5328ca,_0x1dea17)=>_0x5328ca in _0x348458?_0x4f0a74(_0x348458,_0x5328ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dea17}):_0x348458[_0x5328ca]=_0x1dea17,_0x357fbe=(_0x334ef0,_0x2f5063,_0x28483e)=>_0x470ab0(_0x334ef0,typeof _0x2f5063!='symbol'?_0x2f5063+'':_0x2f5063,_0x28483e),_0xbb05a6;const _0x55503d=_0x18d0c6(0x1c7),_0xb7f83b={};function _0x2f90b2({ref:_0x215667,..._0x2d9d4b}){const _0x22f78b=_0x18d0c6,{icon:_0x13dc4a,id:_0x29995a,className:_0x1c148d,extend:_0x5f20cd,..._0x417a20}=_0x2d9d4b,_0x27df20=(_0x22f78b(0xec)+_0x29995a+'\x20'+(_0x1c148d||''))[_0x22f78b(0x150)](),_0x5e4134=_0x445ed1[_0x22f78b(0x1d6)]('_'+_0x31121c());return _0x7bcb67(_0x13dc4a,''+_0x29995a,{'defIds':_0x13dc4a['defIds'],'idSuffix':_0x5e4134[_0x22f78b(0x1bb)]},{'ref':_0x215667,'className':_0x27df20,..._0x417a20},_0x5f20cd);}function _0x7bcb67(_0x53abaf,_0x2f925e,_0x272a16,_0x551f8d,_0x15fe03){const _0x55f566=_0x18d0c6;return _0x445ed1[_0x55f566(0x106)](_0x53abaf['tag'],{'key':_0x2f925e,..._0x4596c9(_0x53abaf,_0x272a16,_0x15fe03),..._0x551f8d},(_0x39ea67(_0x53abaf,_0x272a16)[_0x55f566(0x18f)]||[])[_0x55f566(0xdb)]((_0x4c95cf,_0x71ef41)=>_0x7bcb67(_0x4c95cf,_0x2f925e+'-'+_0x53abaf[_0x55f566(0x144)]+'-'+_0x71ef41,_0x272a16,void 0x0,_0x15fe03)));}function _0x4596c9(_0x295cef,_0x10264e,_0x1837c0){const _0x32215f=_0x18d0c6,_0xb7c4a3={..._0x295cef[_0x32215f(0x100)]};_0x1837c0!=null&&_0x1837c0[_0x32215f(0x15d)]&&_0xb7c4a3[_0x32215f(0x1d1)]==='colorChannel1'&&(_0xb7c4a3['fill']=_0x1837c0[_0x32215f(0x15d)]),_0x295cef[_0x32215f(0x144)]===_0x32215f(0x14c)&&_0xb7c4a3['id']&&(_0xb7c4a3['id']=_0xb7c4a3['id']+_0x10264e[_0x32215f(0x1c0)]),Object['entries'](_0xb7c4a3)[_0x32215f(0xe3)](([_0x2d9290,_0xab1190])=>{const _0x46618e=_0x32215f;_0x2d9290===_0x46618e(0x14c)&&typeof _0xab1190==_0x46618e(0x129)&&(_0xb7c4a3[_0x2d9290]=_0xab1190[_0x46618e(0xeb)](/url\(#(.*)\)/,_0x46618e(0x199)+_0x10264e[_0x46618e(0x1c0)]+')'));});const {defIds:_0x43a7c3}=_0x10264e;return!_0x43a7c3||_0x43a7c3[_0x32215f(0x115)]===0x0||(_0x295cef[_0x32215f(0x144)]==='use'&&_0xb7c4a3[_0x32215f(0x126)]&&(_0xb7c4a3[_0x32215f(0x126)]=_0xb7c4a3[_0x32215f(0x126)]+_0x10264e[_0x32215f(0x1c0)]),Object['entries'](_0xb7c4a3)[_0x32215f(0xe3)](([_0x29dbd3,_0x3906b9])=>{const _0xba28c1=_0x32215f;typeof _0x3906b9==_0xba28c1(0x129)&&(_0xb7c4a3[_0x29dbd3]=_0x3906b9[_0xba28c1(0xeb)](/url\(#(.*)\)/,_0xba28c1(0x199)+_0x10264e[_0xba28c1(0x1c0)]+')'));})),_0xb7c4a3;}function _0x39ea67(_0x3a7a5f,_0x228bb6){const _0x627e90=_0x18d0c6;var _0x5f1c2d;const {defIds:_0x3842d3}=_0x228bb6;return!_0x3842d3||_0x3842d3[_0x627e90(0x115)]===0x0?_0x3a7a5f:_0x3a7a5f[_0x627e90(0x144)]===_0x627e90(0x185)&&((_0x5f1c2d=_0x3a7a5f[_0x627e90(0x18f)])!=null&&_0x5f1c2d['length'])?{..._0x3a7a5f,'children':_0x3a7a5f[_0x627e90(0x18f)]['map'](_0x51ff1d=>typeof _0x51ff1d[_0x627e90(0x100)]['id']=='string'&&_0x3842d3&&_0x3842d3['includes'](_0x51ff1d[_0x627e90(0x100)]['id'])?{..._0x51ff1d,'attrs':{..._0x51ff1d[_0x627e90(0x100)],'id':_0x51ff1d[_0x627e90(0x100)]['id']+_0x228bb6[_0x627e90(0x1c0)]}}:_0x51ff1d)}:_0x3a7a5f;}function _0x31121c(){const _0x599b0b=_0x18d0c6;return Math[_0x599b0b(0x1a5)]()[_0x599b0b(0xfe)](0x24)[_0x599b0b(0x195)](0x2,0x8);}_0x2f90b2[_0x18d0c6(0xfb)]=_0x18d0c6(0x10e);const _0x2bd3b6={'tag':_0x18d0c6(0x172),'attrs':{'xmlns':_0x18d0c6(0xef),'fill':_0x18d0c6(0x181),'viewBox':_0x18d0c6(0x18d),'width':_0x18d0c6(0x102),'height':_0x18d0c6(0x102)},'children':[{'tag':'g','attrs':{'fill':_0x18d0c6(0x13b),'clipPath':'url(#history-icon_clip0_907_281)'},'children':[{'tag':_0x18d0c6(0x17f),'attrs':{'d':_0x18d0c6(0x15b)}},{'tag':'path','attrs':{'d':_0x18d0c6(0x14e)}}]},{'tag':_0x18d0c6(0x185),'attrs':{},'children':[{'tag':_0x18d0c6(0x168),'attrs':{'id':_0x18d0c6(0xd0)},'children':[{'tag':_0x18d0c6(0x17f),'attrs':{'fill':_0x18d0c6(0x153),'d':_0x18d0c6(0x194)}}]}]}],'defIds':[_0x18d0c6(0xd0)]},_0x16d2e7=_0x445ed1[_0x18d0c6(0x182)](function(_0x50220e,_0x337862){const _0x5a7f7f=_0x18d0c6;return _0x445ed1[_0x5a7f7f(0x106)](_0x2f90b2,Object[_0x5a7f7f(0x196)]({},_0x50220e,{'id':_0x5a7f7f(0x1c3),'ref':_0x337862,'icon':_0x2bd3b6}));});_0x16d2e7[_0x18d0c6(0xfb)]='HistoryIcon';var _0x4d93d2=Object[_0x18d0c6(0x18c)],_0x17c5fe=(_0x388748,_0x448847,_0x5dd4b1,_0x38c86e)=>{const _0x17d84e=_0x18d0c6;for(var _0x291142=_0x38c86e>0x1?void 0x0:_0x38c86e?_0x4d93d2(_0x448847,_0x5dd4b1):_0x448847,_0x1d479e=_0x388748[_0x17d84e(0x115)]-0x1,_0x460251;_0x1d479e>=0x0;_0x1d479e--)(_0x460251=_0x388748[_0x1d479e])&&(_0x291142=_0x460251(_0x291142)||_0x291142);return _0x291142;},_0x2a8870=(_0x54d506,_0x434b9a)=>(_0x316c47,_0x1ae588)=>_0x434b9a(_0x316c47,_0x1ae588,_0x54d506);const _0x19a2a5=_0x18d0c6(0x1e2),_0x39af59=_0x18d0c6(0x103),_0x12d8bd='univer-history-container';_0x29c157['HistoryLoaderService']=class extends _0x3907b3[_0x18d0c6(0xfa)]{constructor(_0xba9bef,_0x476a4d,_0x3a666d,_0xef47a1,_0x6f3cd9,_0xa5ee47,_0x539d9c,_0xa3f39,_0x4ffe80,_0x56e8d9){const _0x521726=_0x18d0c6;super(),_0x357fbe(this,_0x521726(0x139),new _0x2a2369[(_0x521726(0xf2))](null)),_0x357fbe(this,_0x521726(0x1cc),this[_0x521726(0x139)]['asObservable']()),_0x357fbe(this,_0x521726(0x1cb),new _0x3907b3[(_0x521726(0x177))]()),_0x357fbe(this,_0x521726(0x16f),new Map()),(this[_0x521726(0x1ac)]=_0xba9bef,this[_0x521726(0x159)]=_0x476a4d,this['_configService']=_0x3a666d,this[_0x521726(0xcd)]=_0xef47a1,this[_0x521726(0x1b2)]=_0x6f3cd9,this[_0x521726(0x187)]=_0xa5ee47,this['_selectionProtectionRuleModel']=_0x539d9c,this[_0x521726(0x121)]=_0xa3f39,this[_0x521726(0x1e0)]=_0x4ffe80,this['_themeService']=_0x56e8d9,this[_0x521726(0x122)]());}get[_0x18d0c6(0x189)](){const _0x559d97=_0x18d0c6;return this[_0x559d97(0x139)][_0x559d97(0x19a)];}[_0x18d0c6(0x122)](){const _0x20e33e=_0x18d0c6;this[_0x20e33e(0x162)](),this['_initPlugins']();}[_0x18d0c6(0x162)](){const _0x2b3056=_0x18d0c6;var _0x303618;const _0x4250eb=(_0x303618=this[_0x2b3056(0x149)]['getConfig'](_0x39af59))!=null?_0x303618:_0x19a2a5,_0x1f407a=document[_0x2b3056(0x11c)](_0x4250eb);if(!_0x1f407a)return;const _0x1734b6=document[_0x2b3056(0x106)](_0x2b3056(0x17e));_0x1734b6['id']=_0x12d8bd,_0x1734b6['dataset'][_0x2b3056(0x1a4)]='history-container',_0x1734b6[_0x2b3056(0x1e3)][_0x2b3056(0x137)]='absolute',_0x1734b6['style'][_0x2b3056(0x133)]='0',_0x1734b6[_0x2b3056(0x1e3)]['left']='0',_0x1734b6['style'][_0x2b3056(0x111)]=_0x2b3056(0x104),_0x1734b6[_0x2b3056(0x1e3)]['height']='100%',_0x1734b6[_0x2b3056(0x1e3)]['zIndex']=_0x2b3056(0x14b),_0x1734b6[_0x2b3056(0x1e3)][_0x2b3056(0x138)]=_0x2b3056(0x181),_0x1f407a[_0x2b3056(0x1d7)](_0x1734b6);}[_0x18d0c6(0xd6)](){const _0x38420e=_0x18d0c6;var _0x1fab66;[[_0x3024fd['UniverRenderEnginePlugin']],[_0x3ead9c['UniverUIPlugin'],{'container':_0x12d8bd,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x3ead9c[_0x38420e(0x17d)],null]]}],[_0x1fcf0d['UniverNetworkPlugin']],[_0x160d16[_0x38420e(0xe5)],{'override':[[_0x160d16['IImageIoService'],null]]}],[_0x1d788d['UniverDocsPlugin'],{'hasScroll':!0x1}],[_0x447a2a[_0x38420e(0x1b0)]],[_0x5cb988['UniverSheetsNumfmtPlugin']],[_0x306496[_0x38420e(0x154)],{'notExecuteFormula':!0x0}],[_0x2b67e4[_0x38420e(0xe6)]],[_0x4b9e3c[_0x38420e(0xe2)]],[_0x372c32[_0x38420e(0x108)]],[_0x1142e1[_0x38420e(0xd4)]],[_0x5f407b[_0x38420e(0x1a0)]],[_0x2f678b[_0x38420e(0x1be)]],[_0x2eade1[_0x38420e(0x1bc)]],[_0x264719[_0x38420e(0x188)]],[_0x178586[_0x38420e(0x183)]],[_0x473043[_0x38420e(0x118)]],[_0x455d48[_0x38420e(0x1ad)]],[_0x549760['UniverSheetsDataValidationPlugin']],[_0x34f40f['UniverSheetsDataValidationUIPlugin']],[_0x5b0153[_0x38420e(0x16d)],{'notExecuteFormula':!0x0}],[_0x38464c[_0x38420e(0x1af)],{'workerURL':_0x38420e(0x120)}],[_0xf8a0a7[_0x38420e(0x158)]],[_0x29fc8a[_0x38420e(0x155)]],[_0x5aa928[_0x38420e(0xf4)]],[_0xd5a475[_0x38420e(0x17b)]],[_0x5219ed[_0x38420e(0x164)]],[_0x341ccb[_0x38420e(0xe9)],{'notExecuteFormula':!0x0}],[_0x2882e2['UniverEditHistoryViewerPlugin'],{'historyListServerUrl':(_0x1fab66=this['_configService'][_0x38420e(0x1df)](_0x55503d))==null?void 0x0:_0x1fab66['historyListServerUrl']}]][_0x38420e(0xe3)](([_0xea9266,_0x52e411])=>this[_0x38420e(0x163)](_0xea9266,_0x52e411));}[_0x18d0c6(0x10f)](){const _0x49b175=_0x18d0c6;super[_0x49b175(0x10f)](),this[_0x49b175(0x1b9)](),this[_0x49b175(0x16f)][_0x49b175(0xdf)]();}['registerPlugin'](_0x77cb0a,_0x459611,_0x4d6bc7){const _0x2eeb0e=_0x18d0c6;if(this[_0x2eeb0e(0x16f)][_0x2eeb0e(0xda)](_0x77cb0a[_0x2eeb0e(0xe8)])&&!_0x4d6bc7)throw new Error('[HistoryLoaderService]:\x20Plugin\x20'+_0x77cb0a[_0x2eeb0e(0xe8)]+_0x2eeb0e(0x173));this['_pluginMap'][_0x2eeb0e(0x1dc)](_0x77cb0a[_0x2eeb0e(0xe8)],[_0x77cb0a,_0x459611]);}[_0x18d0c6(0x161)](){const _0x321e4b=_0x18d0c6;return Array[_0x321e4b(0x1e5)](this[_0x321e4b(0x16f)][_0x321e4b(0x109)]());}[_0x18d0c6(0x12d)](_0x27085b){const _0x1818e3=_0x18d0c6,_0x2bee6d=document[_0x1818e3(0x11c)](_0x12d8bd);_0x2bee6d&&(_0x2bee6d[_0x1818e3(0x1e3)][_0x1818e3(0x138)]=_0x1818e3(0xf0),this[_0x1818e3(0x1da)](_0x27085b,_0x12d8bd));}['unMountHistoryContent'](){const _0x1f8435=_0x18d0c6;var _0x183cee;this[_0x1f8435(0x1cb)]['dispose'](),(_0x183cee=this[_0x1f8435(0x189)])==null||_0x183cee[_0x1f8435(0x10f)](),this['_historyUniver$'][_0x1f8435(0x14d)](null);const _0x2cd515=document[_0x1f8435(0x11c)](_0x12d8bd);_0x2cd515&&(_0x2cd515['style'][_0x1f8435(0x138)]='none');}[_0x18d0c6(0x1da)](_0x323758,_0x27c251){const _0x24fed4=_0x18d0c6;if(this[_0x24fed4(0x189)])return;const _0x2db40b=new _0x3907b3[(_0x24fed4(0x19f))]({'locales':{[this['_localeService'][_0x24fed4(0x18a)]()]:this[_0x24fed4(0x1ac)][_0x24fed4(0x113)]()},'override':[[_0x3907b3['IAuthzIoService'],{'useClass':_0x40f86f[_0x24fed4(0x13e)]}]]}),_0x1a3053=_0x2db40b['__getInjector']();this[_0x24fed4(0x1b6)](this[_0x24fed4(0x1d0)][_0x24fed4(0x156)][_0x24fed4(0x140)](_0x4e7acc=>{const _0x10c298=_0x24fed4;_0x1a3053['get'](_0x3907b3[_0x10c298(0x1c5)])['setDarkMode'](_0x4e7acc);})),this[_0x24fed4(0x1b6)](this['_themeService']['currentTheme$'][_0x24fed4(0x140)](_0x2e382b=>{const _0x2f1ff6=_0x24fed4;_0x1a3053[_0x2f1ff6(0x1bd)](_0x3907b3[_0x2f1ff6(0x1c5)])['setTheme'](_0x2e382b);})),_0x1a3053[_0x24fed4(0x1bd)](_0x3907b3[_0x24fed4(0x11a)])['setLocale'](this[_0x24fed4(0x1ac)][_0x24fed4(0x18a)]()),_0x1a3053[_0x24fed4(0x1bd)](_0x3907b3['IConfigService'])[_0x24fed4(0x1de)](_0x40f86f[_0x24fed4(0xf1)],this['_configService'][_0x24fed4(0x1df)](_0x40f86f['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']));const _0x319208=this[_0x24fed4(0x149)]['getConfig'](_0xf6503a['LS_CONFIG_KEY']);_0x319208&&_0x2db40b[_0x24fed4(0x163)](_0xf6503a[_0x24fed4(0x128)],{'license':_0x319208['ls']}),this[_0x24fed4(0x16f)][_0x24fed4(0xe3)](([_0x325a94,_0x26a726])=>{_0x2db40b['registerPlugin'](_0x325a94,_0x26a726);}),_0x1a3053['invoke'](_0x2fc9e3=>{const _0x19cd94=_0x24fed4;this[_0x19cd94(0x16b)](_0x2fc9e3,_0x323758);}),this[_0x24fed4(0x139)][_0x24fed4(0x14d)](_0x2db40b);const _0x496350=_0x1a3053['get'](_0x2882e2[_0x24fed4(0xce)]),_0x19a858=this[_0x24fed4(0x1cf)](_0x323758);_0x496350[_0x24fed4(0xd2)](_0x323758,_0x27c251,_0x19a858);}[_0x18d0c6(0x16b)](_0x53233e,_0x49eec9){const _0x1542e6=_0x18d0c6,_0xbf6282=_0x53233e[_0x1542e6(0x1bd)](_0x2882e2['HistoryManagerService']);this[_0x1542e6(0x1cb)][_0x1542e6(0x16c)](_0xbf6282[_0x1542e6(0x11b)][_0x1542e6(0x140)](_0x214c8f=>{const _0x324b91=_0x1542e6;switch(_0x214c8f){case _0x2882e2[_0x324b91(0x175)]['Entered']:this[_0x324b91(0x121)][_0x324b91(0x174)](),this[_0x324b91(0x1e0)][_0x324b91(0x1e1)]();break;case _0x2882e2[_0x324b91(0x175)]['Exited']:this[_0x324b91(0x1b9)]();break;case _0x2882e2[_0x324b91(0x175)]['Error']:this[_0x324b91(0x1b9)](),this['_messageService'][_0x324b91(0xfc)]({'content':this['_localeService']['t']('editHistory.panel.listFetchError'),'type':_0x14aad7[_0x324b91(0x193)][_0x324b91(0x197)],'duration':0xbb8});break;}})),this[_0x1542e6(0x1cb)][_0x1542e6(0x16c)](_0xbf6282[_0x1542e6(0x1c2)]['subscribe'](async _0x465411=>{const _0xf3061b=_0x1542e6;_0x465411&&this['_commandService'][_0xf3061b(0x190)](_0x1142e1['RevertRevisionMutation']['id'],{'unitId':_0x49eec9,'revision':_0x465411});}));}[_0x18d0c6(0x1cf)](_0x311a53){const _0x5cc5ac=_0x18d0c6,_0x138b47=this[_0x5cc5ac(0x159)]['getUnit'](_0x311a53)[_0x5cc5ac(0x11e)]()[_0x5cc5ac(0xdb)](_0x3e7283=>_0x3e7283['getSheetId']()),_0x451591=new _0x306496[(_0x5cc5ac(0x134))](_0x311a53)['id'],_0x125aac=_0x138b47[_0x5cc5ac(0xdb)](_0x414d92=>new _0x306496[(_0x5cc5ac(0x192))](_0x311a53,_0x414d92)['id']),_0x34f519=_0x138b47[_0x5cc5ac(0xdb)](_0x5d68af=>this[_0x5cc5ac(0x119)][_0x5cc5ac(0x19b)](_0x311a53,_0x5d68af)[_0x5cc5ac(0xdb)](_0x45d37b=>new _0x306496[(_0x5cc5ac(0x180))](_0x311a53,_0x5d68af,_0x45d37b[_0x5cc5ac(0x1b4)])['id']))[_0x5cc5ac(0x1c1)](),_0x377a4e=new _0x306496[(_0x5cc5ac(0x152))](_0x311a53)['id'];return this[_0x5cc5ac(0x187)][_0x5cc5ac(0x131)]([_0x451591,..._0x125aac,..._0x34f519,_0x377a4e])['every'](_0x241ab5=>!!_0x241ab5[_0x5cc5ac(0x19a)]);}},_0x29c157[_0x18d0c6(0x165)]=_0x17c5fe([_0x2a8870(0x0,_0x3907b3[_0x18d0c6(0xf9)](_0x3907b3[_0x18d0c6(0x11a)])),_0x2a8870(0x1,_0x3907b3['IUniverInstanceService']),_0x2a8870(0x2,_0x3907b3[_0x18d0c6(0xd7)]),_0x2a8870(0x3,_0x3907b3[_0x18d0c6(0x116)]),_0x2a8870(0x4,_0x3ead9c['IMessageService']),_0x2a8870(0x5,_0x3907b3[_0x18d0c6(0x13a)]),_0x2a8870(0x6,_0x3907b3['Inject'](_0x306496[_0x18d0c6(0x14f)])),_0x2a8870(0x7,_0x3907b3['Inject'](_0x3ead9c[_0x18d0c6(0x17d)])),_0x2a8870(0x8,_0x3907b3[_0x18d0c6(0xf9)](_0x3ead9c[_0x18d0c6(0x15e)])),_0x2a8870(0x9,_0x3907b3[_0x18d0c6(0xf9)](_0x3907b3[_0x18d0c6(0x1c5)]))],_0x29c157['HistoryLoaderService']);const _0x3c728a={'id':'univer.operation.toggle-edit-history','type':_0x3907b3[_0x18d0c6(0x1e4)]['OPERATION'],'handler':_0x382b5b=>{const _0x4f36ac=_0x18d0c6,_0x430a88=_0x382b5b[_0x4f36ac(0x1bd)](_0x29c157[_0x4f36ac(0x165)]),_0xfa2bc=_0x382b5b[_0x4f36ac(0x1bd)](_0x3907b3[_0x4f36ac(0x167)]),{unitId:_0x444b99}=_0x306496['getSheetCommandTarget'](_0xfa2bc)||{};return _0x444b99?(_0x430a88[_0x4f36ac(0x12d)](_0x444b99),!0x0):!0x1;}};function _0x38e9eb(_0x3f9226){const _0x480a90=_0x18d0c6;return{'id':_0x3c728a['id'],'type':_0x3ead9c['MenuItemType']['BUTTON'],'icon':_0x480a90(0xf5),'tooltip':'editHistory.panel.title','hidden$':_0x3ead9c['getMenuHiddenObservable'](_0x3f9226,_0x3907b3[_0x480a90(0x1ce)][_0x480a90(0x124)]),'disabled$':_0x2b67e4[_0x480a90(0xd1)](_0x3f9226,{'workbookTypes':[_0x306496[_0x480a90(0x134)],_0x306496[_0x480a90(0x142)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x38c3bf={[_0x3ead9c['RibbonStartGroup']['OTHERS']]:{[_0x3c728a['id']]:{'order':0.2,'menuItemFactory':_0x38e9eb}}};var _0x158b69=Object['getOwnPropertyDescriptor'],_0x1dcc32=(_0x3d2abf,_0x4f9320,_0x54284f,_0x4bfc3d)=>{const _0x139126=_0x18d0c6;for(var _0x5a0ffc=_0x4bfc3d>0x1?void 0x0:_0x4bfc3d?_0x158b69(_0x4f9320,_0x54284f):_0x4f9320,_0x1794b7=_0x3d2abf[_0x139126(0x115)]-0x1,_0x224e43;_0x1794b7>=0x0;_0x1794b7--)(_0x224e43=_0x3d2abf[_0x1794b7])&&(_0x5a0ffc=_0x224e43(_0x5a0ffc)||_0x5a0ffc);return _0x5a0ffc;},_0x33e934=(_0x4d8911,_0x4ba03e)=>(_0x54c9b6,_0xbab572)=>_0x4ba03e(_0x54c9b6,_0xbab572,_0x4d8911);let _0x92704d=class extends _0x3907b3['RxDisposable']{constructor(_0x55c20b,_0x5379b4,_0x156856,_0xea83e7,_0x114ce9,_0x41acb1,_0x1ad782,_0x37c43f){const _0x1f5105=_0x18d0c6;super(),_0x357fbe(this,_0x1f5105(0x1a3),null),(this[_0x1f5105(0xcd)]=_0x55c20b,this[_0x1f5105(0x15f)]=_0x5379b4,this[_0x1f5105(0xfd)]=_0x156856,this['_historyManagerService']=_0xea83e7,this[_0x1f5105(0x1ac)]=_0x114ce9,this[_0x1f5105(0x1b2)]=_0x41acb1,this['_collaborationController']=_0x1ad782,this['_localCacheService']=_0x37c43f,this[_0x1f5105(0x122)]());}[_0x18d0c6(0x122)](){const _0xc956bd=_0x18d0c6;[_0x3c728a]['forEach'](_0x5b15b1=>this['disposeWithMe'](_0x3907b3['toDisposable'](this['_commandService'][_0xc956bd(0x1c4)](_0x5b15b1)))),this[_0xc956bd(0x1b6)](this[_0xc956bd(0xfd)][_0xc956bd(0x17c)](_0xc956bd(0xf5),_0x16d2e7)),this[_0xc956bd(0x15f)]['mergeMenu'](_0x38c3bf),this[_0xc956bd(0x1b6)](this['_commandService'][_0xc956bd(0xed)](_0x4cb369=>{const _0xa45dbc=_0xc956bd;if(_0x4cb369['id']===_0x1142e1[_0xa45dbc(0x130)]['id']){this[_0xa45dbc(0x1b2)][_0xa45dbc(0xfc)]({'content':this['_localeService']['t']('editHistory.panel.reverting'),'type':_0x14aad7['MessageType']['Loading'],'duration':0x1388});const {unitId:_0x168fc2}=_0x4cb369[_0xa45dbc(0x198)],_0x543293=this['_collaborationController'][_0xa45dbc(0x1ab)](_0x168fc2),_0x40e621=_0x2a2369[_0xa45dbc(0x10b)]([_0x543293[_0xa45dbc(0x12c)][_0xa45dbc(0x1b8)],_0x543293[_0xa45dbc(0xe7)]])[_0xa45dbc(0x140)](async([_0x3ddc18,_0x48ae9c])=>{const _0x3b1ab3=_0xa45dbc;var _0x1ae09f;_0x3ddc18[_0x3b1ab3(0x1a9)]===_0x1142e1[_0x3b1ab3(0x12a)][_0x3b1ab3(0x186)]&&(_0x48ae9c==null?void 0x0:_0x48ae9c[_0x3b1ab3(0x132)])===_0x40f86f[_0x3b1ab3(0x1c8)][_0x3b1ab3(0x141)]&&_0x3ddc18[_0x3b1ab3(0x16a)]['mutations'][_0x3b1ab3(0x15c)](_0x355890=>_0x355890['id']===_0x1142e1[_0x3b1ab3(0x130)]['id'])&&(this['_historyManagerService'][_0x3b1ab3(0x1b9)](),_0x40e621[_0x3b1ab3(0x170)](),this['_revertErrorTimer']&&clearTimeout(this[_0x3b1ab3(0x1a3)]),await((_0x1ae09f=this[_0x3b1ab3(0x112)])==null?void 0x0:_0x1ae09f[_0x3b1ab3(0x171)]()),setTimeout(()=>window[_0x3b1ab3(0x125)][_0x3b1ab3(0x1d3)]()));});this[_0xa45dbc(0x1a3)]=setTimeout(()=>{const _0x5171f9=_0xa45dbc;_0x40e621[_0x5171f9(0x170)](),this['_messageService'][_0x5171f9(0xfc)]({'content':this[_0x5171f9(0x1ac)]['t'](_0x5171f9(0x1bf)),'type':_0x14aad7[_0x5171f9(0x193)][_0x5171f9(0x197)],'duration':0xbb8});},0x1388);}}));}};_0x92704d=_0x1dcc32([_0x33e934(0x0,_0x3907b3[_0x18d0c6(0x116)]),_0x33e934(0x1,_0x3ead9c[_0x18d0c6(0x1dd)]),_0x33e934(0x2,_0x3907b3[_0x18d0c6(0xf9)](_0x3ead9c[_0x18d0c6(0x1d4)])),_0x33e934(0x3,_0x3907b3[_0x18d0c6(0xf9)](_0x29c157['HistoryLoaderService'])),_0x33e934(0x4,_0x3907b3[_0x18d0c6(0xf9)](_0x3907b3[_0x18d0c6(0x11a)])),_0x33e934(0x5,_0x3ead9c[_0x18d0c6(0x14a)]),_0x33e934(0x6,_0x3907b3[_0x18d0c6(0xf9)](_0x40f86f['CollaborationController'])),_0x33e934(0x7,_0x40f86f['ILocalCacheService'])],_0x92704d);var _0x105bd3=Object['getOwnPropertyDescriptor'],_0x3e0930=(_0x5e4172,_0x461ed4,_0x30dadf,_0x426695)=>{const _0xb08fda=_0x18d0c6;for(var _0x44a316=_0x426695>0x1?void 0x0:_0x426695?_0x105bd3(_0x461ed4,_0x30dadf):_0x461ed4,_0x76025c=_0x5e4172[_0xb08fda(0x115)]-0x1,_0x4fe65d;_0x76025c>=0x0;_0x76025c--)(_0x4fe65d=_0x5e4172[_0x76025c])&&(_0x44a316=_0x4fe65d(_0x44a316)||_0x44a316);return _0x44a316;},_0x10ee4a=(_0x37bd7c,_0x24a462)=>(_0x1631b0,_0x34dbc1)=>_0x24a462(_0x1631b0,_0x34dbc1,_0x37bd7c);const _0x3ec119=_0x18d0c6(0x12b);_0x29c157[_0x18d0c6(0xff)]=(_0xbb05a6=class extends _0x3907b3[_0x18d0c6(0x11d)]{constructor(_0x5d29ca=_0xb7f83b,_0x29d214,_0xefda01){const _0xacbd38=_0x18d0c6;super(),this[_0xacbd38(0xea)]=_0x5d29ca,this['_injector']=_0x29d214,this[_0xacbd38(0x149)]=_0xefda01;const {menu:_0x3fed80,..._0x364f23}=_0x3907b3[_0xacbd38(0x1a6)]({},_0xb7f83b,this[_0xacbd38(0xea)]);_0x3fed80&&this[_0xacbd38(0x149)][_0xacbd38(0x1de)]('menu',_0x3fed80,{'merge':!0x0}),this[_0xacbd38(0x149)]['setConfig'](_0x55503d,_0x364f23),this[_0xacbd38(0xea)][_0xacbd38(0xf6)]&&this[_0xacbd38(0x149)][_0xacbd38(0x1de)](_0x39af59,this['_config'][_0xacbd38(0xf6)]);}[_0x18d0c6(0x166)](){const _0x520ab9=_0x18d0c6;[[_0x29c157['HistoryLoaderService']],[_0x92704d]]['forEach'](_0x28d7ab=>this[_0x520ab9(0xd3)][_0x520ab9(0x16c)](_0x28d7ab));}['onSteady'](){const _0x19ee21=_0x18d0c6;this[_0x19ee21(0xd3)][_0x19ee21(0x1bd)](_0x92704d);}},_0x357fbe(_0xbb05a6,_0x18d0c6(0x1ae),_0x3907b3['UniverInstanceType']['UNIVER_UNKNOWN']),_0x357fbe(_0xbb05a6,'pluginName',_0x3ec119),_0xbb05a6),_0x29c157[_0x18d0c6(0xff)]=_0x3e0930([_0x10ee4a(0x1,_0x3907b3[_0x18d0c6(0xf9)](_0x3907b3[_0x18d0c6(0x10c)])),_0x10ee4a(0x2,_0x3907b3[_0x18d0c6(0xd7)])],_0x29c157[_0x18d0c6(0xff)]),_0x29c157[_0x18d0c6(0x191)]=_0x39af59,_0x29c157[_0x18d0c6(0x135)]=_0x12d8bd,Object[_0x18d0c6(0xde)](_0x29c157,Symbol[_0x18d0c6(0x13c)],{'value':_0x18d0c6(0x136)});}));function _0x144e(){const _0x5dfff8=['Module','position','display','_historyUniver$','IPermissionService','currentColor','toStringTag','@univerjs/sheets-conditional-formatting-ui','AuthzIoHttpService','@univerjs/engine-render','subscribe','SYNCED','WorkbookViewHistoryPermission','@univerjs-pro/sheets-sparkline-ui','tag','UniverSheetsHyperLinkUi','UniverSheetsConditionalFormatting','UniverSheetsDrawingUi','UniverProEditHistoryLoader','_configService','IMessageService','1000','mask','next','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','RangeProtectionRuleModel','trim','UniverSheetsFormulaUi','WorkbookRecoverHistoryPermission','white','UniverSheetsPlugin','UniverSheetsDrawingPlugin','darkMode$','UniverSheetsNumfmt','UniverDrawingUIPlugin','_univerInstanceService','@univerjs-pro/collaboration-client','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','some','colorChannel1','ISidebarService','_menuManagerService','@univerjs/sheets-hyper-link','getAllPlugins','_initContainer','registerPlugin','UniverSheetSparklineUIPlugin','HistoryLoaderService','onStarting','IUniverInstanceService','clipPath','3903510jXzGhR','data','_initListener','add','UniverFormulaEnginePlugin','react','_pluginMap','unsubscribe','exhaustSavingTask','svg','\x20has\x20been\x20registered.','closeAll','HistoryModeStatus','UniverSheetsDrawing','DisposableCollection','@univerjs-pro/sheets-sparkline','UniverNetwork','@univerjs/sheets-drawing-ui','UniverSheetSparklinePlugin','register','IDialogService','div','path','RangeProtectionPermissionEditPoint','none','forwardRef','UniverSheetsHyperLinkPlugin','27bykKbP','defs','CHANGESET_ACK','_permissionService','UniverSheetsConditionalFormattingUIPlugin','historyUniver','getCurrentLocale','UniverSheetsConditionalFormattingUi','getOwnPropertyDescriptor','0\x200\x2016\x2016','UniverProEditHistoryViewer','children','executeCommand','UNIVER_CONTAINER_ID_KEY','WorksheetEditPermission','MessageType','M0\x200H16V16H0z','substring','assign','Error','params','url(#$1','value','getSubunitRuleList','UniverUi','UniverSheetsDataValidation','UniverProSheetsSparkline','Univer','UniverSheetsFilterPlugin','UniverSheetsFilter','2407302aYkkQG','_revertErrorTimer','uComp','random','merge','@univerjs/sheets-formula-ui','590MjZMKA','eventID','104312HjyhXo','getCollabEntity','_localeService','UniverDataValidationPlugin','type','UniverRPCMainThreadPlugin','UniverDocsUIPlugin','UniverProSheetsSparklineUi','_messageService','1516410zvkCdz','permissionId','exports','disposeWithMe','@univerjs/sheets-drawing','event$','unMountHistoryContent','UniverProLicense','current','UniverSheetsConditionalFormattingPlugin','get','UniverSheetsFilterUIPlugin','editHistory.panel.revertFailed','idSuffix','flat','revertRevision$','history-icon','registerCommand','ThemeService','@univerjs/docs-ui','edit-history-loader.config','CollaborationStatus','UniverSheetsUi','UniverCore','_disposableCollection','historyUniver$','99maMTah','UniverInstanceType','_checkCanRevert','_themeService','fill','rxjs','reload','ComponentManager','UniverProCollaboration','useRef','appendChild','@univerjs/sheets-filter-ui','@univerjs/rpc','_initUniver','@univerjs/sheets','set','IMenuManagerService','setConfig','getConfig','_sidebarService','close','univer-container','style','CommandType','from','_commandService','HistoryManagerService','React','history-icon_clip0_907_281','getCurrentRangeDisable$','triggerLoadVersions','_injector','UniverCollaborationPlugin','@univerjs-pro/edit-history-viewer','_initPlugins','IConfigService','@univerjs/sheets-hyper-link-ui','@univerjs/sheets-data-validation-ui','has','map','@univerjs/docs','UniverProCollaborationClient','defineProperty','clear','@univerjs/engine-formula','object','UniverSheetsFormulaPlugin','forEach','@univerjs/sheets-formula','UniverDrawingPlugin','UniverSheetsUIPlugin','state$','pluginName','UniverSheetsPivotTablePlugin','_config','replace','univerjs-icon\x20univerjs-icon-','onCommandExecuted','@univerjs-pro/license','http://www.w3.org/2000/svg','block','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','BehaviorSubject','@univerjs/drawing','UniverSheetsDrawingUIPlugin','HistoryIcon','univerContainerId','UniverDrawingUi','@univerjs/sheets-conditional-formatting','Inject','Disposable','displayName','show','_componentManager','toString','UniverEditHistoryLoaderPlugin','attrs','@univerjs/sheets-filter','1em','UNIVER_CONTAINER_ID','100%','@univerjs/core','createElement','123056ArDfAR','UniverSheetsFormulaUIPlugin','values','amd','combineLatest','Injector','UniverSheetsFilterUi','UniverIcon','dispose','650eizKrJ','width','_localCacheService','getLocales','UniverEngineRender','length','ICommandService','function','UniverSheetsHyperLinkUIPlugin','_selectionProtectionRuleModel','LocaleService','status$','getElementById','Plugin','getSheets','@univerjs/sheets-ui','./worker.js','_dialogService','_init','@univerjs-pro/collaboration','UNIVER_SHEET','location','xlink:href','UniverSheetsDataValidationUi','UniverLicensePlugin','string','CollaborationEvent','UNIVER_EDIT_HISTORY_LOADER_PLUGIN','session','mountHistoryContent','UniverDataValidation','1109311GKReEu','RevertRevisionMutation','composePermission','status','top','WorkbookEditablePermission','UNIVER_HISTORY_CONTAINER_ID'];_0x144e=function(){return _0x5dfff8;};return _0x144e();}
20
+ function _0x5d09(_0x126c2e,_0x319167){const _0x1e157e=_0x1e15();return _0x5d09=function(_0x5d09a1,_0x5c396c){_0x5d09a1=_0x5d09a1-0x1ae;let _0x2b793f=_0x1e157e[_0x5d09a1];return _0x2b793f;},_0x5d09(_0x126c2e,_0x319167);}function _0x1e15(){const _0x149c9b=['9eaADZp','UniverCollaborationPlugin','ThemeService','style','disposeWithMe','@univerjs/design','HistoryManagerService','IDialogService','@univerjs/engine-formula','exports','amd','current','data','setLocale','white','UniverSheetsHyperLinkPlugin','some','createElement','getSubunitRuleList','UniverSheetsFilter','IImageIoService','React','unsubscribe','SYNCED','CollaborationEvent','1256408Xrahyi','state$','\x20has\x20been\x20registered.','0\x200\x2016\x2016','svg','UniverSheetsPlugin','@univerjs-pro/edit-history-viewer','UniverRenderEnginePlugin','@univerjs/sheets-hyper-link-ui','@univerjs/drawing-ui','next','asObservable','type','UniverDataValidationPlugin','UniverInstanceType','UniverSheetsFilterUIPlugin','executeCommand','status','xlink:href','UniverDocsUIPlugin','darkMode$','random','url(#history-icon_clip0_907_281)','Loading','UNIVER_CONTAINER_ID','@univerjs-pro/sheets-pivot','getCollabEntity','flat','@univerjs/sheets-drawing','@univerjs/sheets-numfmt','block','invoke','_pluginMap','Injector','UniverLicensePlugin','UniverSheetsUIPlugin','position','_messageService','UniverSheetsFormula','close','UniverProSheetsSparklineUi','CollaborationController','UniverDrawingUIPlugin','_univerInstanceService','UniverSheetsUi','UniverCore','UniverSheetsConditionalFormattingUi','MessageType','displayName','setTheme','object','M4.45388\x204.14989H3.52896C4.61144\x202.8939\x206.21319\x202.0999\x207.9999\x202.0999C11.2584\x202.0999\x2013.8999\x204.74142\x2013.8999\x207.9999C13.8999\x2011.2584\x2011.2584\x2013.8999\x207.9999\x2013.8999C4.74142\x2013.8999\x202.0999\x2011.2584\x202.0999\x207.9999C2.0999\x207.66853\x201.83127\x207.3999\x201.4999\x207.3999C1.16853\x207.3999\x200.899902\x207.66853\x200.899902\x207.9999C0.899902\x2011.9211\x204.07868\x2015.0999\x207.9999\x2015.0999C11.9211\x2015.0999\x2015.0999\x2011.9211\x2015.0999\x207.9999C15.0999\x204.07868\x2011.9211\x200.899902\x207.9999\x200.899902C5.88709\x200.899902\x203.9903\x201.82298\x202.69023\x203.28636V2.38625C2.69023\x202.05488\x202.42161\x201.78625\x202.09023\x201.78625C1.75886\x201.78625\x201.49023\x202.05488\x201.49023\x202.38625V4.74989C1.49023\x205.08126\x201.75886\x205.34989\x202.09023\x205.34989H4.45388C4.78525\x205.34989\x205.05388\x205.08126\x205.05388\x204.74989C5.05388\x204.41851\x204.78525\x204.14989\x204.45388\x204.14989Z','div','UniverSheetsFormulaUIPlugin','Module','1039740zJIJbK','mountHistoryContent','show','editHistory.panel.revertFailed','1228494GiZHtz','mutations','none','_menuManagerService','./worker.js','RibbonStartGroup','historyUniver$','[HistoryLoaderService]:\x20Plugin\x20','UniverDrawingPlugin','onStarting','onSteady','IMessageService','@univerjs/core','fill','univer-container','set','uComp','getConfig','getMenuHiddenObservable','_collaborationController','colorChannel1','UniverSheetsDataValidation','_commandService','@univerjs/engine-render','toString','unMountHistoryContent','Plugin','UniverDrawingUi','@univerjs/sheets-formula-ui','2467487TSVwIT','UniverDrawing','has','UniverSheetsHyperLink','get','Error','defIds','children','merge','UniverProSheetsPivot','getLocales','@univerjs-pro/sheets-sparkline','display','width','@univerjs-pro/collaboration','location','register','OPERATION','idSuffix','function','Disposable','symbol','getSheetId','@univerjs-pro/collaboration-client','CommandType','_disposableCollection','IUniverInstanceService','UniverSheetsNumfmtPlugin','toStringTag','WorkbookEditablePermission','getOwnPropertyDescriptor','history-icon_clip0_907_281','menu','_configService','WorkbookRecoverHistoryPermission','appendChild','triggerLoadVersions','UniverSheetsDrawing','@univerjs/sheets-conditional-formatting-ui','UniverEngineFormula','subscribe','attrs','UniverSheetsConditionalFormattingPlugin','defs','_componentManager','HistoryLoaderService','composePermission','UniverSheetsDrawingUIPlugin','left','UniverSheetsHyperLinkUIPlugin','editHistory.panel.reverting','_localeService','getElementById','UniverProCollaborationClient','session','forwardRef','univerjs-icon\x20univerjs-icon-','IConfigService','pluginName','100%','_initPlugins','editHistory.panel.listFetchError','UniverSheetsNumfmt','WorkbookViewHistoryPermission','getCurrentLocale','_localCacheService','_themeService','UniverSheetsFormulaPlugin','absolute','@univerjs/sheets-drawing-ui','_init','RevertRevisionMutation','UniverSheetsFormulaUi','706295oPAngR','UniverSheetsFilterUi','40571kQFmvv','@univerjs/drawing','ComponentManager','@univerjs/sheets-filter-ui','edit-history-loader.config','@univerjs/sheets-filter','UniverFormulaEnginePlugin','getSheetCommandTarget','UniverDesign','Inject','UniverSheetsDrawingUi','height','2dxudJC','OTHERS','replace','_initListener','UniverUi','UniverIcon','toDisposable','entries','_initUniver','map','historyUniver','defineProperty','@univerjs/sheets-ui','M0\x200H16V16H0z','registerPlugin','UniverSheetsDataValidationPlugin','ICommandService','string','UniverSheetsConditionalFormatting','dispose','UniverSheetsFilterPlugin','_initContainer','BehaviorSubject','UniverEditHistoryLoaderPlugin','IAuthzIoService','@univerjs/sheets-hyper-link','HistoryIcon','@univerjs/rpc','value','UniverEditHistoryViewerPlugin','useRef','setDarkMode','UniverNetworkPlugin','UNIVER_HISTORY_CONTAINER_ID','currentTheme$','forEach','WorksheetEditPermission','CHANGESET_ACK','clipPath','mask','1em','UniverProEditHistoryLoader','add','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','4840toIMBM','from','univerContainerId','_revertErrorTimer','DisposableCollection','substring','UniverDocsUi','getUnit','RxDisposable','top','M8.28291\x205.16293C8.28295\x204.83156\x208.01435\x204.5629\x207.68298\x204.56287C7.35161\x204.56283\x207.08295\x204.83143\x207.08291\x205.1628L7.08252\x208.63494C7.0825\x208.79881\x207.1495\x208.95555\x207.26796\x209.06877L9.70073\x2011.3939C9.94029\x2011.6228\x2010.3201\x2011.6142\x2010.549\x2011.3747C10.778\x2011.1351\x2010.7694\x2010.7553\x2010.5298\x2010.5263L8.28255\x208.37852L8.28291\x205.16293Z','@univerjs/docs','currentColor','ILocalCacheService','LS_CONFIG_KEY','3rviyUk','LocaleService','url(#$1','setConfig','_config','path','http://www.w3.org/2000/svg','revertRevision$','trim','_historyUniver$','UNIVER_CONTAINER_ID_KEY','UniverSheetsPivotTablePlugin','IMenuManagerService','tag','includes','rxjs','7acmGuN','length','closeAll','HistoryModeStatus','values','univer.operation.toggle-edit-history','_permissionService','UniverDocs','history-container','reload','history-icon','@univerjs-pro/sheets-sparkline-ui','UniverProCollaboration','10nlVwsc','UniverDocsPlugin','CollaborationStatus','UniverEngineRender','zIndex','registerCommand','_injector','every','RangeProtectionPermissionEditPoint','Univer','use','@univerjs/sheets','mergeMenu','editHistory.panel.title','getCurrentRangeDisable$'];_0x1e15=function(){return _0x149c9b;};return _0x1e15();}(function(_0x59e52e,_0x27af56){const _0x4d256f=_0x5d09,_0x5734f8=_0x59e52e();while(!![]){try{const _0x12c320=parseInt(_0x4d256f(0x1e7))/0x1*(parseInt(_0x4d256f(0x1f3))/0x2)+parseInt(_0x4d256f(0x22e))/0x3*(-parseInt(_0x4d256f(0x21f))/0x4)+parseInt(_0x4d256f(0x1e5))/0x5+-parseInt(_0x4d256f(0x2ae))/0x6*(parseInt(_0x4d256f(0x23e))/0x7)+parseInt(_0x4d256f(0x273))/0x8*(-parseInt(_0x4d256f(0x25a))/0x9)+parseInt(_0x4d256f(0x24b))/0xa*(parseInt(_0x4d256f(0x2cb))/0xb)+parseInt(_0x4d256f(0x2aa))/0xc;if(_0x12c320===_0x27af56)break;else _0x5734f8['push'](_0x5734f8['shift']());}catch(_0x3a2212){_0x5734f8['push'](_0x5734f8['shift']());}}}(_0x1e15,0x1faf6),function(_0x511ea6,_0x9f46bd){const _0x3efaab=_0x5d09;typeof exports==_0x3efaab(0x2a5)&&typeof module<'u'?_0x9f46bd(exports,require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs/design'),require('react'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/sheets'),require('@univerjs-pro/edit-history-viewer'),require('@univerjs-pro/license'),require('@univerjs-pro/sheets-pivot'),require('@univerjs-pro/sheets-sparkline'),require('@univerjs-pro/sheets-sparkline-ui'),require('@univerjs/data-validation'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs/drawing-ui'),require('@univerjs/engine-formula'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/rpc'),require('@univerjs/sheets-conditional-formatting'),require('@univerjs/sheets-conditional-formatting-ui'),require('@univerjs/sheets-data-validation'),require('@univerjs/sheets-data-validation-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-filter'),require('@univerjs/sheets-filter-ui'),require('@univerjs/sheets-formula'),require('@univerjs/sheets-formula-ui'),require('@univerjs/sheets-hyper-link'),require('@univerjs/sheets-hyper-link-ui'),require('@univerjs/sheets-numfmt'),require('@univerjs/sheets-ui')):typeof define==_0x3efaab(0x1af)&&define[_0x3efaab(0x264)]?define([_0x3efaab(0x263),_0x3efaab(0x2ba),_0x3efaab(0x2d9),_0x3efaab(0x1b3),_0x3efaab(0x25f),'react','@univerjs/ui',_0x3efaab(0x23d),_0x3efaab(0x256),_0x3efaab(0x279),'@univerjs-pro/license',_0x3efaab(0x28c),_0x3efaab(0x2d6),_0x3efaab(0x249),'@univerjs/data-validation',_0x3efaab(0x22a),'@univerjs/docs-ui',_0x3efaab(0x1e8),_0x3efaab(0x27c),_0x3efaab(0x262),_0x3efaab(0x2c5),'@univerjs/network',_0x3efaab(0x20e),'@univerjs/sheets-conditional-formatting',_0x3efaab(0x1c2),'@univerjs/sheets-data-validation','@univerjs/sheets-data-validation-ui',_0x3efaab(0x28f),_0x3efaab(0x1e1),_0x3efaab(0x1ec),_0x3efaab(0x1ea),'@univerjs/sheets-formula',_0x3efaab(0x2ca),_0x3efaab(0x20c),_0x3efaab(0x27b),_0x3efaab(0x290),_0x3efaab(0x1ff)],_0x9f46bd):(_0x511ea6=typeof globalThis<'u'?globalThis:_0x511ea6||self,_0x9f46bd(_0x511ea6[_0x3efaab(0x21c)]={},_0x511ea6[_0x3efaab(0x2a0)],_0x511ea6[_0x3efaab(0x24a)],_0x511ea6[_0x3efaab(0x1d1)],_0x511ea6[_0x3efaab(0x1ef)],_0x511ea6[_0x3efaab(0x26f)],_0x511ea6[_0x3efaab(0x1f7)],_0x511ea6['rxjs'],_0x511ea6['UniverSheets'],_0x511ea6['UniverProEditHistoryViewer'],_0x511ea6['UniverProLicense'],_0x511ea6[_0x3efaab(0x2d4)],_0x511ea6['UniverProSheetsSparkline'],_0x511ea6[_0x3efaab(0x29b)],_0x511ea6['UniverDataValidation'],_0x511ea6[_0x3efaab(0x245)],_0x511ea6[_0x3efaab(0x225)],_0x511ea6[_0x3efaab(0x2cc)],_0x511ea6[_0x3efaab(0x2c9)],_0x511ea6[_0x3efaab(0x1c3)],_0x511ea6[_0x3efaab(0x24e)],_0x511ea6['UniverNetwork'],_0x511ea6['UniverRpc'],_0x511ea6[_0x3efaab(0x205)],_0x511ea6[_0x3efaab(0x2a1)],_0x511ea6[_0x3efaab(0x2c3)],_0x511ea6['UniverSheetsDataValidationUi'],_0x511ea6[_0x3efaab(0x1c1)],_0x511ea6[_0x3efaab(0x1f1)],_0x511ea6[_0x3efaab(0x26d)],_0x511ea6[_0x3efaab(0x1e6)],_0x511ea6[_0x3efaab(0x299)],_0x511ea6[_0x3efaab(0x1e4)],_0x511ea6[_0x3efaab(0x2ce)],_0x511ea6['UniverSheetsHyperLinkUi'],_0x511ea6[_0x3efaab(0x1da)],_0x511ea6[_0x3efaab(0x29f)]));}(this,function(_0x1c80c5,_0x509b43,_0x4226fd,_0x22be86,_0x280f43,_0x47ee0c,_0x3c337d,_0x54ddc1,_0x52cf1c,_0x97794b,_0xeb80a2,_0x3aa51b,_0x487a66,_0x35611a,_0xffa3b1,_0x21eb7e,_0x5c856b,_0x27084d,_0x17bbdd,_0x3f6fcd,_0x515d2f,_0xc4dd8c,_0xab74af,_0x41ceb3,_0x286167,_0x59c342,_0x2a14a2,_0x9e2429,_0x4c4886,_0x5c9dfe,_0x12ef78,_0x51b25f,_0x11112c,_0x96c448,_0x4ba3d9,_0x1cce12,_0x11ca31){'use strict';const _0x57404d=_0x5d09;var _0x1e1a87=Object['defineProperty'],_0x1f46ce=(_0x5c7285,_0x40f954,_0x4a3a18)=>_0x40f954 in _0x5c7285?_0x1e1a87(_0x5c7285,_0x40f954,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a3a18}):_0x5c7285[_0x40f954]=_0x4a3a18,_0x43ffb4=(_0x3eaabd,_0x532051,_0x15c912)=>_0x1f46ce(_0x3eaabd,typeof _0x532051!=_0x57404d(0x1b1)?_0x532051+'':_0x532051,_0x15c912),_0x106a9e;const _0x3f5597=_0x57404d(0x1eb),_0x5b164a={};function _0x28ebb9({ref:_0x56e33e,..._0x3a056a}){const _0x585180=_0x57404d,{icon:_0x5604a0,id:_0x226eb6,className:_0x4a40c2,extend:_0x19ba63,..._0x488eb7}=_0x3a056a,_0x5666f2=(_0x585180(0x1d4)+_0x226eb6+'\x20'+(_0x4a40c2||''))[_0x585180(0x236)](),_0x23acc6=_0x47ee0c[_0x585180(0x211)]('_'+_0x3fdef1());return _0x7c3654(_0x5604a0,''+_0x226eb6,{'defIds':_0x5604a0[_0x585180(0x2d1)],'idSuffix':_0x23acc6[_0x585180(0x265)]},{'ref':_0x56e33e,'className':_0x5666f2,..._0x488eb7},_0x19ba63);}function _0x7c3654(_0x1f3082,_0x171307,_0x15fca6,_0x333c15,_0x3363fb){const _0x1f7321=_0x57404d;return _0x47ee0c[_0x1f7321(0x26b)](_0x1f3082[_0x1f7321(0x23b)],{'key':_0x171307,..._0x8cd27e(_0x1f3082,_0x15fca6,_0x3363fb),..._0x333c15},(_0x589232(_0x1f3082,_0x15fca6)[_0x1f7321(0x2d2)]||[])[_0x1f7321(0x1fc)]((_0x3311b9,_0x2c45bf)=>_0x7c3654(_0x3311b9,_0x171307+'-'+_0x1f3082[_0x1f7321(0x23b)]+'-'+_0x2c45bf,_0x15fca6,void 0x0,_0x3363fb)));}function _0x8cd27e(_0x2bd847,_0x1863bd,_0x4f07d3){const _0x152139=_0x57404d,_0x1053ff={..._0x2bd847[_0x152139(0x1c5)]};_0x4f07d3!=null&&_0x4f07d3[_0x152139(0x2c2)]&&_0x1053ff[_0x152139(0x2bb)]===_0x152139(0x2c2)&&(_0x1053ff[_0x152139(0x2bb)]=_0x4f07d3[_0x152139(0x2c2)]),_0x2bd847[_0x152139(0x23b)]===_0x152139(0x21a)&&_0x1053ff['id']&&(_0x1053ff['id']=_0x1053ff['id']+_0x1863bd[_0x152139(0x1ae)]),Object[_0x152139(0x1fa)](_0x1053ff)[_0x152139(0x216)](([_0x2f0c58,_0x2892dd])=>{const _0xf9befa=_0x152139;_0x2f0c58===_0xf9befa(0x21a)&&typeof _0x2892dd==_0xf9befa(0x204)&&(_0x1053ff[_0x2f0c58]=_0x2892dd[_0xf9befa(0x1f5)](/url\(#(.*)\)/,_0xf9befa(0x230)+_0x1863bd[_0xf9befa(0x1ae)]+')'));});const {defIds:_0x2404fc}=_0x1863bd;return!_0x2404fc||_0x2404fc[_0x152139(0x23f)]===0x0||(_0x2bd847[_0x152139(0x23b)]===_0x152139(0x255)&&_0x1053ff[_0x152139(0x285)]&&(_0x1053ff[_0x152139(0x285)]=_0x1053ff[_0x152139(0x285)]+_0x1863bd[_0x152139(0x1ae)]),Object[_0x152139(0x1fa)](_0x1053ff)[_0x152139(0x216)](([_0x67729a,_0x544ef4])=>{const _0x4418e6=_0x152139;typeof _0x544ef4==_0x4418e6(0x204)&&(_0x1053ff[_0x67729a]=_0x544ef4[_0x4418e6(0x1f5)](/url\(#(.*)\)/,_0x4418e6(0x230)+_0x1863bd['idSuffix']+')'));})),_0x1053ff;}function _0x589232(_0x266667,_0x38c1bd){const _0x2fe312=_0x57404d;var _0x33c27d;const {defIds:_0x279c60}=_0x38c1bd;return!_0x279c60||_0x279c60['length']===0x0?_0x266667:_0x266667['tag']===_0x2fe312(0x1c7)&&((_0x33c27d=_0x266667[_0x2fe312(0x2d2)])!=null&&_0x33c27d['length'])?{..._0x266667,'children':_0x266667[_0x2fe312(0x2d2)][_0x2fe312(0x1fc)](_0x9a9c4d=>typeof _0x9a9c4d[_0x2fe312(0x1c5)]['id']==_0x2fe312(0x204)&&_0x279c60&&_0x279c60[_0x2fe312(0x23c)](_0x9a9c4d[_0x2fe312(0x1c5)]['id'])?{..._0x9a9c4d,'attrs':{..._0x9a9c4d['attrs'],'id':_0x9a9c4d[_0x2fe312(0x1c5)]['id']+_0x38c1bd[_0x2fe312(0x1ae)]}}:_0x9a9c4d)}:_0x266667;}function _0x3fdef1(){const _0x503895=_0x57404d;return Math[_0x503895(0x288)]()[_0x503895(0x2c6)](0x24)[_0x503895(0x224)](0x2,0x8);}_0x28ebb9[_0x57404d(0x2a3)]=_0x57404d(0x1f8);const _0x2368fa={'tag':_0x57404d(0x277),'attrs':{'xmlns':_0x57404d(0x234),'fill':'none','viewBox':_0x57404d(0x276),'width':_0x57404d(0x21b),'height':'1em'},'children':[{'tag':'g','attrs':{'fill':_0x57404d(0x22b),'clipPath':_0x57404d(0x289)},'children':[{'tag':_0x57404d(0x233),'attrs':{'d':_0x57404d(0x2a6)}},{'tag':'path','attrs':{'d':_0x57404d(0x229)}}]},{'tag':_0x57404d(0x1c7),'attrs':{},'children':[{'tag':_0x57404d(0x219),'attrs':{'id':_0x57404d(0x1bb)},'children':[{'tag':_0x57404d(0x233),'attrs':{'fill':_0x57404d(0x268),'d':_0x57404d(0x200)}}]}]}],'defIds':[_0x57404d(0x1bb)]},_0x312a28=_0x47ee0c[_0x57404d(0x1d3)](function(_0x3340f2,_0x545888){const _0x4d3b05=_0x57404d;return _0x47ee0c[_0x4d3b05(0x26b)](_0x28ebb9,Object['assign']({},_0x3340f2,{'id':_0x4d3b05(0x248),'ref':_0x545888,'icon':_0x2368fa}));});_0x312a28[_0x57404d(0x2a3)]='HistoryIcon';var _0x58ff51=Object[_0x57404d(0x1ba)],_0x508173=(_0x539963,_0x4d8474,_0x5d48fa,_0x2b923d)=>{for(var _0x40b870=_0x2b923d>0x1?void 0x0:_0x2b923d?_0x58ff51(_0x4d8474,_0x5d48fa):_0x4d8474,_0x14c4c2=_0x539963['length']-0x1,_0x2c5f86;_0x14c4c2>=0x0;_0x14c4c2--)(_0x2c5f86=_0x539963[_0x14c4c2])&&(_0x40b870=_0x2c5f86(_0x40b870)||_0x40b870);return _0x40b870;},_0x1d850e=(_0x20de03,_0x2e2bae)=>(_0x3c87c6,_0x5c58ff)=>_0x2e2bae(_0x3c87c6,_0x5c58ff,_0x20de03);const _0x695235=_0x57404d(0x2bc),_0x5379c1=_0x57404d(0x28b),_0x5b6f6a='univer-history-container';_0x1c80c5[_0x57404d(0x1c9)]=class extends _0x509b43[_0x57404d(0x1b0)]{constructor(_0x3095a6,_0x275799,_0xe39372,_0x3ad8da,_0x59356f,_0x23ef06,_0x351a90,_0xe28ee8,_0x4d9cec,_0x54b13d){const _0x42d385=_0x57404d;super(),_0x43ffb4(this,_0x42d385(0x237),new _0x54ddc1[(_0x42d385(0x209))](null)),_0x43ffb4(this,_0x42d385(0x2b4),this[_0x42d385(0x237)][_0x42d385(0x27e)]()),_0x43ffb4(this,_0x42d385(0x1b5),new _0x509b43[(_0x42d385(0x223))]()),_0x43ffb4(this,_0x42d385(0x293),new Map()),(this[_0x42d385(0x1cf)]=_0x3095a6,this[_0x42d385(0x29e)]=_0x275799,this[_0x42d385(0x1bd)]=_0xe39372,this[_0x42d385(0x2c4)]=_0x3ad8da,this[_0x42d385(0x298)]=_0x59356f,this[_0x42d385(0x244)]=_0x23ef06,this['_selectionProtectionRuleModel']=_0x351a90,this['_dialogService']=_0xe28ee8,this['_sidebarService']=_0x4d9cec,this['_themeService']=_0x54b13d,this['_init']());}get['historyUniver'](){const _0x3f6ed9=_0x57404d;return this[_0x3f6ed9(0x237)][_0x3f6ed9(0x20f)];}['_init'](){const _0x4aef23=_0x57404d;this[_0x4aef23(0x208)](),this[_0x4aef23(0x1d8)]();}[_0x57404d(0x208)](){const _0x390435=_0x57404d;var _0x3da32b;const _0x3656b4=(_0x3da32b=this[_0x390435(0x1bd)][_0x390435(0x2bf)](_0x5379c1))!=null?_0x3da32b:_0x695235,_0x20ea90=document[_0x390435(0x1d0)](_0x3656b4);if(!_0x20ea90)return;const _0x1329a6=document['createElement'](_0x390435(0x2a7));_0x1329a6['id']=_0x5b6f6a,_0x1329a6['dataset'][_0x390435(0x2be)]=_0x390435(0x246),_0x1329a6[_0x390435(0x25d)][_0x390435(0x297)]=_0x390435(0x1e0),_0x1329a6['style'][_0x390435(0x228)]='0',_0x1329a6[_0x390435(0x25d)][_0x390435(0x1cc)]='0',_0x1329a6['style'][_0x390435(0x2d8)]='100%',_0x1329a6['style'][_0x390435(0x1f2)]=_0x390435(0x1d7),_0x1329a6[_0x390435(0x25d)][_0x390435(0x24f)]='1000',_0x1329a6['style']['display']=_0x390435(0x2b0),_0x20ea90[_0x390435(0x1bf)](_0x1329a6);}[_0x57404d(0x1d8)](){const _0x3d7bed=_0x57404d;var _0x5d41b7;[[_0x515d2f[_0x3d7bed(0x27a)]],[_0x3c337d['UniverUIPlugin'],{'container':_0x5b6f6a,'header':!0x0,'toolbar':!0x1,'footer':!0x0,'contextMenu':!0x1,'override':[[_0x3c337d['IDialogService'],null]]}],[_0xc4dd8c[_0x3d7bed(0x213)]],[_0x27084d[_0x3d7bed(0x2b6)],{'override':[[_0x27084d[_0x3d7bed(0x26e)],null]]}],[_0x21eb7e[_0x3d7bed(0x24c)],{'hasScroll':!0x1}],[_0x5c856b[_0x3d7bed(0x286)]],[_0x1cce12[_0x3d7bed(0x1b7)]],[_0x52cf1c[_0x3d7bed(0x278)],{'notExecuteFormula':!0x0}],[_0x11ca31[_0x3d7bed(0x296)]],[_0x51b25f[_0x3d7bed(0x1df)]],[_0x11112c[_0x3d7bed(0x2a8)]],[_0x4226fd[_0x3d7bed(0x25b)]],[_0x5c9dfe[_0x3d7bed(0x207)]],[_0x12ef78[_0x3d7bed(0x282)]],[_0x41ceb3[_0x3d7bed(0x1c6)]],[_0x286167['UniverSheetsConditionalFormattingUIPlugin']],[_0x96c448[_0x3d7bed(0x269)]],[_0x4ba3d9[_0x3d7bed(0x1cd)]],[_0xffa3b1[_0x3d7bed(0x280)]],[_0x59c342[_0x3d7bed(0x202)]],[_0x2a14a2['UniverSheetsDataValidationUIPlugin']],[_0x3f6fcd[_0x3d7bed(0x1ed)],{'notExecuteFormula':!0x0}],[_0xab74af['UniverRPCMainThreadPlugin'],{'workerURL':_0x3d7bed(0x2b2)}],[_0x17bbdd[_0x3d7bed(0x29d)]],[_0x9e2429['UniverSheetsDrawingPlugin']],[_0x4c4886[_0x3d7bed(0x1cb)]],[_0x487a66['UniverSheetSparklinePlugin']],[_0x35611a['UniverSheetSparklineUIPlugin']],[_0x3aa51b[_0x3d7bed(0x239)],{'notExecuteFormula':!0x0}],[_0x97794b[_0x3d7bed(0x210)],{'historyListServerUrl':(_0x5d41b7=this[_0x3d7bed(0x1bd)][_0x3d7bed(0x2bf)](_0x3f5597))==null?void 0x0:_0x5d41b7['historyListServerUrl']}]][_0x3d7bed(0x216)](([_0x5c1601,_0x3aa082])=>this[_0x3d7bed(0x201)](_0x5c1601,_0x3aa082));}['dispose'](){const _0x24d7fc=_0x57404d;super['dispose'](),this[_0x24d7fc(0x2c7)](),this[_0x24d7fc(0x293)]['clear']();}[_0x57404d(0x201)](_0x18e6a0,_0x5e8573,_0x418478){const _0x56f83e=_0x57404d;if(this['_pluginMap'][_0x56f83e(0x2cd)](_0x18e6a0[_0x56f83e(0x1d6)])&&!_0x418478)throw new Error(_0x56f83e(0x2b5)+_0x18e6a0['pluginName']+_0x56f83e(0x275));this['_pluginMap'][_0x56f83e(0x2bd)](_0x18e6a0[_0x56f83e(0x1d6)],[_0x18e6a0,_0x5e8573]);}['getAllPlugins'](){const _0x48b7a3=_0x57404d;return Array[_0x48b7a3(0x220)](this[_0x48b7a3(0x293)][_0x48b7a3(0x242)]());}['mountHistoryContent'](_0x28e260){const _0x2ff102=_0x57404d,_0x2c088c=document['getElementById'](_0x5b6f6a);_0x2c088c&&(_0x2c088c[_0x2ff102(0x25d)][_0x2ff102(0x2d7)]=_0x2ff102(0x291),this[_0x2ff102(0x1fb)](_0x28e260,_0x5b6f6a));}[_0x57404d(0x2c7)](){const _0xddea52=_0x57404d;var _0x245de7;this['_disposableCollection'][_0xddea52(0x206)](),(_0x245de7=this[_0xddea52(0x1fd)])==null||_0x245de7[_0xddea52(0x206)](),this['_historyUniver$']['next'](null);const _0x432444=document[_0xddea52(0x1d0)](_0x5b6f6a);_0x432444&&(_0x432444[_0xddea52(0x25d)][_0xddea52(0x2d7)]=_0xddea52(0x2b0));}[_0x57404d(0x1fb)](_0x2c0852,_0x169116){const _0x3296c4=_0x57404d;if(this[_0x3296c4(0x1fd)])return;const _0x9fa915=new _0x509b43[(_0x3296c4(0x254))]({'locales':{[this[_0x3296c4(0x1cf)][_0x3296c4(0x1dc)]()]:this[_0x3296c4(0x1cf)][_0x3296c4(0x2d5)]()},'override':[[_0x509b43[_0x3296c4(0x20b)],{'useClass':_0x22be86['AuthzIoHttpService']}]]}),_0x24e454=_0x9fa915['__getInjector']();this[_0x3296c4(0x25e)](this[_0x3296c4(0x1de)][_0x3296c4(0x287)][_0x3296c4(0x1c4)](_0x4349d1=>{const _0x59b6e6=_0x3296c4;_0x24e454[_0x59b6e6(0x2cf)](_0x509b43[_0x59b6e6(0x25c)])[_0x59b6e6(0x212)](_0x4349d1);})),this[_0x3296c4(0x25e)](this[_0x3296c4(0x1de)][_0x3296c4(0x215)][_0x3296c4(0x1c4)](_0x2b8fb6=>{const _0x5f01f9=_0x3296c4;_0x24e454[_0x5f01f9(0x2cf)](_0x509b43[_0x5f01f9(0x25c)])[_0x5f01f9(0x2a4)](_0x2b8fb6);})),_0x24e454['get'](_0x509b43[_0x3296c4(0x22f)])[_0x3296c4(0x267)](this['_localeService'][_0x3296c4(0x1dc)]()),_0x24e454['get'](_0x509b43[_0x3296c4(0x1d5)])['setConfig'](_0x22be86[_0x3296c4(0x21e)],this[_0x3296c4(0x1bd)]['getConfig'](_0x22be86[_0x3296c4(0x21e)]));const _0xa92901=this[_0x3296c4(0x1bd)][_0x3296c4(0x2bf)](_0xeb80a2[_0x3296c4(0x22d)]);_0xa92901&&_0x9fa915['registerPlugin'](_0xeb80a2[_0x3296c4(0x295)],{'license':_0xa92901['ls']}),this[_0x3296c4(0x293)][_0x3296c4(0x216)](([_0x5cea65,_0x32d9a8])=>{const _0x52d199=_0x3296c4;_0x9fa915[_0x52d199(0x201)](_0x5cea65,_0x32d9a8);}),_0x24e454[_0x3296c4(0x292)](_0x46a5d8=>{const _0xc267dd=_0x3296c4;this[_0xc267dd(0x1f6)](_0x46a5d8,_0x2c0852);}),this[_0x3296c4(0x237)][_0x3296c4(0x27d)](_0x9fa915);const _0x5c9ae2=_0x24e454[_0x3296c4(0x2cf)](_0x97794b[_0x3296c4(0x260)]),_0xe070b1=this['_checkCanRevert'](_0x2c0852);_0x5c9ae2[_0x3296c4(0x1c0)](_0x2c0852,_0x169116,_0xe070b1);}[_0x57404d(0x1f6)](_0x25996a,_0xb1950b){const _0x417c83=_0x57404d,_0x15d724=_0x25996a[_0x417c83(0x2cf)](_0x97794b['HistoryManagerService']);this[_0x417c83(0x1b5)][_0x417c83(0x21d)](_0x15d724['status$'][_0x417c83(0x1c4)](_0x58a881=>{const _0x170757=_0x417c83;switch(_0x58a881){case _0x97794b['HistoryModeStatus']['Entered']:this['_dialogService'][_0x170757(0x240)](),this['_sidebarService'][_0x170757(0x29a)]();break;case _0x97794b['HistoryModeStatus']['Exited']:this['unMountHistoryContent']();break;case _0x97794b[_0x170757(0x241)][_0x170757(0x2d0)]:this['unMountHistoryContent'](),this[_0x170757(0x298)]['show']({'content':this[_0x170757(0x1cf)]['t'](_0x170757(0x1d9)),'type':_0x280f43['MessageType'][_0x170757(0x2d0)],'duration':0xbb8});break;}})),this[_0x417c83(0x1b5)][_0x417c83(0x21d)](_0x15d724[_0x417c83(0x235)][_0x417c83(0x1c4)](async _0x453377=>{const _0x28c201=_0x417c83;_0x453377&&this[_0x28c201(0x2c4)][_0x28c201(0x283)](_0x4226fd[_0x28c201(0x1e3)]['id'],{'unitId':_0xb1950b,'revision':_0x453377});}));}['_checkCanRevert'](_0x4a3b14){const _0x5f52bb=_0x57404d,_0x30c061=this['_univerInstanceService'][_0x5f52bb(0x226)](_0x4a3b14)['getSheets']()[_0x5f52bb(0x1fc)](_0x5c5934=>_0x5c5934[_0x5f52bb(0x1b2)]()),_0x5af28f=new _0x52cf1c[(_0x5f52bb(0x1b9))](_0x4a3b14)['id'],_0x27537e=_0x30c061[_0x5f52bb(0x1fc)](_0x49db2e=>new _0x52cf1c[(_0x5f52bb(0x217))](_0x4a3b14,_0x49db2e)['id']),_0x4035f1=_0x30c061['map'](_0x14f457=>this['_selectionProtectionRuleModel'][_0x5f52bb(0x26c)](_0x4a3b14,_0x14f457)[_0x5f52bb(0x1fc)](_0x23f5be=>new _0x52cf1c[(_0x5f52bb(0x253))](_0x4a3b14,_0x14f457,_0x23f5be['permissionId'])['id']))[_0x5f52bb(0x28e)](),_0xa223a2=new _0x52cf1c[(_0x5f52bb(0x1be))](_0x4a3b14)['id'];return this[_0x5f52bb(0x244)][_0x5f52bb(0x1ca)]([_0x5af28f,..._0x27537e,..._0x4035f1,_0xa223a2])[_0x5f52bb(0x252)](_0x36d25f=>!!_0x36d25f[_0x5f52bb(0x20f)]);}},_0x1c80c5[_0x57404d(0x1c9)]=_0x508173([_0x1d850e(0x0,_0x509b43['Inject'](_0x509b43[_0x57404d(0x22f)])),_0x1d850e(0x1,_0x509b43[_0x57404d(0x1b6)]),_0x1d850e(0x2,_0x509b43[_0x57404d(0x1d5)]),_0x1d850e(0x3,_0x509b43['ICommandService']),_0x1d850e(0x4,_0x3c337d[_0x57404d(0x2b9)]),_0x1d850e(0x5,_0x509b43['IPermissionService']),_0x1d850e(0x6,_0x509b43[_0x57404d(0x1f0)](_0x52cf1c['RangeProtectionRuleModel'])),_0x1d850e(0x7,_0x509b43[_0x57404d(0x1f0)](_0x3c337d[_0x57404d(0x261)])),_0x1d850e(0x8,_0x509b43['Inject'](_0x3c337d['ISidebarService'])),_0x1d850e(0x9,_0x509b43[_0x57404d(0x1f0)](_0x509b43['ThemeService']))],_0x1c80c5[_0x57404d(0x1c9)]);const _0x351072={'id':_0x57404d(0x243),'type':_0x509b43[_0x57404d(0x1b4)][_0x57404d(0x2dc)],'handler':_0x3144f1=>{const _0x5beff5=_0x57404d,_0x1c8131=_0x3144f1[_0x5beff5(0x2cf)](_0x1c80c5[_0x5beff5(0x1c9)]),_0xb49434=_0x3144f1[_0x5beff5(0x2cf)](_0x509b43[_0x5beff5(0x1b6)]),{unitId:_0x59791a}=_0x52cf1c[_0x5beff5(0x1ee)](_0xb49434)||{};return _0x59791a?(_0x1c8131[_0x5beff5(0x2ab)](_0x59791a),!0x0):!0x1;}};function _0xa2536a(_0x46e5f8){const _0xbd33ed=_0x57404d;return{'id':_0x351072['id'],'type':_0x3c337d['MenuItemType']['BUTTON'],'icon':_0xbd33ed(0x20d),'tooltip':_0xbd33ed(0x258),'hidden$':_0x3c337d[_0xbd33ed(0x2c0)](_0x46e5f8,_0x509b43[_0xbd33ed(0x281)]['UNIVER_SHEET']),'disabled$':_0x11ca31[_0xbd33ed(0x259)](_0x46e5f8,{'workbookTypes':[_0x52cf1c[_0xbd33ed(0x1b9)],_0x52cf1c[_0xbd33ed(0x1db)]],'worksheetTypes':[],'rangeTypes':[]})};}const _0x3762bf={[_0x3c337d[_0x57404d(0x2b3)][_0x57404d(0x1f4)]]:{[_0x351072['id']]:{'order':0.2,'menuItemFactory':_0xa2536a}}};var _0x4270b5=Object[_0x57404d(0x1ba)],_0x43819f=(_0x111c01,_0x5bf792,_0xd40118,_0x29b918)=>{const _0x11dbe2=_0x57404d;for(var _0x22ce03=_0x29b918>0x1?void 0x0:_0x29b918?_0x4270b5(_0x5bf792,_0xd40118):_0x5bf792,_0x517ad5=_0x111c01[_0x11dbe2(0x23f)]-0x1,_0x942110;_0x517ad5>=0x0;_0x517ad5--)(_0x942110=_0x111c01[_0x517ad5])&&(_0x22ce03=_0x942110(_0x22ce03)||_0x22ce03);return _0x22ce03;},_0x19d9d9=(_0x4fb17c,_0x373d60)=>(_0x4385b0,_0x1c21b7)=>_0x373d60(_0x4385b0,_0x1c21b7,_0x4fb17c);let _0x1dd558=class extends _0x509b43[_0x57404d(0x227)]{constructor(_0x6d2d4d,_0x44b534,_0x15b2bb,_0x25e033,_0x3ef29d,_0x48e1ed,_0x4b531a,_0x117346){const _0x47de46=_0x57404d;super(),_0x43ffb4(this,_0x47de46(0x222),null),(this['_commandService']=_0x6d2d4d,this['_menuManagerService']=_0x44b534,this[_0x47de46(0x1c8)]=_0x15b2bb,this['_historyManagerService']=_0x25e033,this[_0x47de46(0x1cf)]=_0x3ef29d,this['_messageService']=_0x48e1ed,this['_collaborationController']=_0x4b531a,this['_localCacheService']=_0x117346,this[_0x47de46(0x1e2)]());}[_0x57404d(0x1e2)](){const _0x5d3571=_0x57404d;[_0x351072][_0x5d3571(0x216)](_0x4792e2=>this['disposeWithMe'](_0x509b43[_0x5d3571(0x1f9)](this[_0x5d3571(0x2c4)][_0x5d3571(0x250)](_0x4792e2)))),this[_0x5d3571(0x25e)](this[_0x5d3571(0x1c8)][_0x5d3571(0x2db)](_0x5d3571(0x20d),_0x312a28)),this[_0x5d3571(0x2b1)][_0x5d3571(0x257)](_0x3762bf),this[_0x5d3571(0x25e)](this[_0x5d3571(0x2c4)]['onCommandExecuted'](_0x59cb6e=>{const _0x2ce00a=_0x5d3571;if(_0x59cb6e['id']===_0x4226fd[_0x2ce00a(0x1e3)]['id']){this[_0x2ce00a(0x298)]['show']({'content':this[_0x2ce00a(0x1cf)]['t'](_0x2ce00a(0x1ce)),'type':_0x280f43[_0x2ce00a(0x2a2)][_0x2ce00a(0x28a)],'duration':0x1388});const {unitId:_0x2af4fa}=_0x59cb6e['params'],_0x5f418b=this[_0x2ce00a(0x2c1)][_0x2ce00a(0x28d)](_0x2af4fa),_0x2f2331=_0x54ddc1['combineLatest']([_0x5f418b[_0x2ce00a(0x1d2)]['event$'],_0x5f418b[_0x2ce00a(0x274)]])[_0x2ce00a(0x1c4)](async([_0x469357,_0x8a5c4e])=>{const _0x17a06a=_0x2ce00a;var _0x5abac5;_0x469357['eventID']===_0x4226fd[_0x17a06a(0x272)][_0x17a06a(0x218)]&&(_0x8a5c4e==null?void 0x0:_0x8a5c4e[_0x17a06a(0x284)])===_0x22be86[_0x17a06a(0x24d)][_0x17a06a(0x271)]&&_0x469357[_0x17a06a(0x266)][_0x17a06a(0x2af)][_0x17a06a(0x26a)](_0x3e85de=>_0x3e85de['id']===_0x4226fd[_0x17a06a(0x1e3)]['id'])&&(this['_historyManagerService'][_0x17a06a(0x2c7)](),_0x2f2331[_0x17a06a(0x270)](),this[_0x17a06a(0x222)]&&clearTimeout(this[_0x17a06a(0x222)]),await((_0x5abac5=this[_0x17a06a(0x1dd)])==null?void 0x0:_0x5abac5['exhaustSavingTask']()),setTimeout(()=>window[_0x17a06a(0x2da)][_0x17a06a(0x247)]()));});this[_0x2ce00a(0x222)]=setTimeout(()=>{const _0x560ada=_0x2ce00a;_0x2f2331['unsubscribe'](),this[_0x560ada(0x298)][_0x560ada(0x2ac)]({'content':this[_0x560ada(0x1cf)]['t'](_0x560ada(0x2ad)),'type':_0x280f43[_0x560ada(0x2a2)][_0x560ada(0x2d0)],'duration':0xbb8});},0x1388);}}));}};_0x1dd558=_0x43819f([_0x19d9d9(0x0,_0x509b43[_0x57404d(0x203)]),_0x19d9d9(0x1,_0x3c337d[_0x57404d(0x23a)]),_0x19d9d9(0x2,_0x509b43[_0x57404d(0x1f0)](_0x3c337d[_0x57404d(0x1e9)])),_0x19d9d9(0x3,_0x509b43[_0x57404d(0x1f0)](_0x1c80c5[_0x57404d(0x1c9)])),_0x19d9d9(0x4,_0x509b43['Inject'](_0x509b43[_0x57404d(0x22f)])),_0x19d9d9(0x5,_0x3c337d['IMessageService']),_0x19d9d9(0x6,_0x509b43[_0x57404d(0x1f0)](_0x22be86[_0x57404d(0x29c)])),_0x19d9d9(0x7,_0x22be86[_0x57404d(0x22c)])],_0x1dd558);var _0x117ac7=Object[_0x57404d(0x1ba)],_0x1ca722=(_0x5543ab,_0x3d9684,_0x11da98,_0x47a5c0)=>{const _0x2c3d61=_0x57404d;for(var _0x1d3c94=_0x47a5c0>0x1?void 0x0:_0x47a5c0?_0x117ac7(_0x3d9684,_0x11da98):_0x3d9684,_0x41d0b8=_0x5543ab[_0x2c3d61(0x23f)]-0x1,_0x3a33a5;_0x41d0b8>=0x0;_0x41d0b8--)(_0x3a33a5=_0x5543ab[_0x41d0b8])&&(_0x1d3c94=_0x3a33a5(_0x1d3c94)||_0x1d3c94);return _0x1d3c94;},_0x2b0b0a=(_0x168794,_0x55af36)=>(_0x287212,_0x9ebac6)=>_0x55af36(_0x287212,_0x9ebac6,_0x168794);const _0xfb12f6='UNIVER_EDIT_HISTORY_LOADER_PLUGIN';_0x1c80c5[_0x57404d(0x20a)]=(_0x106a9e=class extends _0x509b43[_0x57404d(0x2c8)]{constructor(_0x283252=_0x5b164a,_0x2cb4d4,_0x676c60){const _0x425974=_0x57404d;super(),this[_0x425974(0x232)]=_0x283252,this['_injector']=_0x2cb4d4,this[_0x425974(0x1bd)]=_0x676c60;const {menu:_0x103ecc,..._0x53d173}=_0x509b43[_0x425974(0x2d3)]({},_0x5b164a,this['_config']);_0x103ecc&&this[_0x425974(0x1bd)][_0x425974(0x231)](_0x425974(0x1bc),_0x103ecc,{'merge':!0x0}),this[_0x425974(0x1bd)]['setConfig'](_0x3f5597,_0x53d173),this['_config'][_0x425974(0x221)]&&this[_0x425974(0x1bd)][_0x425974(0x231)](_0x5379c1,this[_0x425974(0x232)]['univerContainerId']);}[_0x57404d(0x2b7)](){const _0x54bc77=_0x57404d;[[_0x1c80c5[_0x54bc77(0x1c9)]],[_0x1dd558]][_0x54bc77(0x216)](_0x2e1ddc=>this['_injector'][_0x54bc77(0x21d)](_0x2e1ddc));}[_0x57404d(0x2b8)](){const _0x99f562=_0x57404d;this[_0x99f562(0x251)][_0x99f562(0x2cf)](_0x1dd558);}},_0x43ffb4(_0x106a9e,_0x57404d(0x27f),_0x509b43[_0x57404d(0x281)]['UNIVER_UNKNOWN']),_0x43ffb4(_0x106a9e,_0x57404d(0x1d6),_0xfb12f6),_0x106a9e),_0x1c80c5[_0x57404d(0x20a)]=_0x1ca722([_0x2b0b0a(0x1,_0x509b43[_0x57404d(0x1f0)](_0x509b43[_0x57404d(0x294)])),_0x2b0b0a(0x2,_0x509b43[_0x57404d(0x1d5)])],_0x1c80c5['UniverEditHistoryLoaderPlugin']),_0x1c80c5[_0x57404d(0x238)]=_0x5379c1,_0x1c80c5[_0x57404d(0x214)]=_0x5b6f6a,Object[_0x57404d(0x1fe)](_0x1c80c5,Symbol[_0x57404d(0x1b8)],{'value':_0x57404d(0x2a9)});}));
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"})}));