@univerjs-pro/collaboration-client 0.6.0-nightly.202501261605 → 0.6.0-nightly.202501271606

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/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x4fc2a2=_0xb1fa;(function(_0x370a67,_0x321373){var _0x13931b=_0xb1fa,_0x445558=_0x370a67();while(!![]){try{var _0x1e2a77=-parseInt(_0x13931b(0x183))/0x1+-parseInt(_0x13931b(0x149))/0x2+-parseInt(_0x13931b(0x2b1))/0x3+parseInt(_0x13931b(0x131))/0x4*(-parseInt(_0x13931b(0x117))/0x5)+parseInt(_0x13931b(0x154))/0x6+-parseInt(_0x13931b(0x1fd))/0x7+parseInt(_0x13931b(0x2ee))/0x8*(parseInt(_0x13931b(0xe2))/0x9);if(_0x1e2a77===_0x321373)break;else _0x445558['push'](_0x445558['shift']());}catch(_0x77d2b7){_0x445558['push'](_0x445558['shift']());}}}(_0x148e,0xb0737));var Li=Object[_0x4fc2a2(0x241)],Mi=(_0x989ef5,_0x330c40,_0x39bebc)=>_0x330c40 in _0x989ef5?Li(_0x989ef5,_0x330c40,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39bebc}):_0x989ef5[_0x330c40]=_0x39bebc,N=(_0x2a0033,_0x26c32d,_0x5c511b)=>Mi(_0x2a0033,typeof _0x26c32d!='symbol'?_0x26c32d+'':_0x26c32d,_0x5c511b);import{createIdentifier as _0x466ca9,Inject as _0x4a88e2,Injector as _0x530b2b,Disposable as _0x43d0b2,DisposableCollection as _0x52be42,toDisposable as _0x2c90fe,IConfigService as _0x1a3e87,ILogService as _0x45f59a,UserManagerService as _0x3073d3,UniverInstanceType as _0x3ff6d6,IUniverInstanceService as _0x52579b,LocaleService as _0x5f27d9,Optional as _0x43164b,RxDisposable as _0x1ad933,Tools as _0x8666ff,Rectangle as _0xed4626,ICommandService as _0x19223c,JSONX as _0x31d6ff,CommandType as _0x72f852,IPermissionService as _0x24a5f0,IUndoRedoService as _0x25ef46,sequenceExecute as _0xb0c954,Workbook as _0x293cf2,MentionType as _0x431b1c,IAuthzIoService as _0x55d860,isInternalEditorID as _0x4879e1,LocalUndoRedoService as _0x5b84e5,IContextService as _0xe62c9a,DependentOn as _0x118412,Plugin as _0x754f5e,merge as _0x4f3ddd,mergeOverrideWithDependencies as _0x125b17,IMentionIOService as _0x2a3edf,registerDependencies as _0x477141,Quantity as _0x4ca7d9,touchDependencies as _0xc42b6}from'@univerjs/core';import{Subject as _0x1bf457,merge as _0x2f8b75,of as _0x376e44,BehaviorSubject as _0x5b8830,takeUntil as _0x97cbe4,ReplaySubject as _0x39f31b,take as _0x4b94a0,map as _0xa0c1ee,shareReplay as _0x51de0b,firstValueFrom as _0x200fca,concatMap as _0x4d22b9}from'rxjs';import{map as _0x2bad04,take as _0x15cdc2,filter as _0x81f2e9,delay as _0x3b094d,takeUntil as _0x197e6e}from'rxjs/operators';import{HTTPService as _0x1b7bd1,ISocketService as _0x540735,MergeInterceptorFactory as _0x20a156,HTTPRequest as _0xdebfae,UniverNetworkPlugin as _0x270de7,ThresholdInterceptorFactory as _0x3b7535}from'@univerjs/network';import{CollaborationEvent as _0x5ddb43,parseChangesetToProtocol as _0x4b08f2,ISnapshotServerService as _0x1ababc,isTransformMutationsWithChangesetSuccess as _0x360e65,ITransformService as _0x1e3cf5,mapDocumentTypeToUniverType as _0x2a0fd9,RevisionService as _0x492867,isTransformChangesetsSuccess as _0x47e207,CompressMutationService as _0x3b538f,parseProtocolChangeset as _0x46052d,SnapshotService as _0x10e994,textEncoder as _0x5c1bfe,b64DecodeUnicode as _0x45b3db,isTransformMutationsWithChangesetFailure as _0x34c6d1,UniverCollaborationPlugin as _0x5828db}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x39fb93}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x384e74}from'@univerjs/docs';import{SheetsSelectionsService as _0x5296f5,SetSelectionsOperation as _0x3d3822,InsertSheetMutation as _0xaaa043,EmptyMutation as _0x3a38be,WorkbookEditablePermission as _0x5c7090,SheetPermissionInitController as _0x30be84,UniverSheetsPlugin as _0x5d60a7}from'@univerjs/sheets';import{ImageSourceType as _0x3cdb22,ImageUploadStatusType as _0x3117d6,IImageIoService as _0x24a98a}from'@univerjs/drawing';import{getGlobalObject as _0x3ab2e0}from'@univerjs-pro/license';const En=_0x4fc2a2(0x9f),In='/universer-api/snapshot',Tn=_0x4fc2a2(0x150),eo=_0x4fc2a2(0x34b),Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn=_0x4fc2a2(0x100),On='/universer-api/user/session-ticket',yn=_0x4fc2a2(0x2b0),Nn=0x7530,Si=_0x4fc2a2(0x2c1),Ei=0x4e20,Dn=0x4e20,Pn=_0x4fc2a2(0x157),wn=0x3,to=_0x4fc2a2(0x2e9),io=0x3e8,Un=_0x4fc2a2(0x2d7),An='/universer-api/comb',xn='LOGIN_URL_KEY',Ln=_0x4fc2a2(0x363),no=_0x4fc2a2(0xc3),ro=_0x4fc2a2(0x34a);var Ii=(_0x20a2ab=>(_0x20a2ab[_0x20a2ab[_0x4fc2a2(0xce)]=0x0]=_0x4fc2a2(0xce),_0x20a2ab[_0x20a2ab['OK']=0x1]='OK',_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x25e)]=0x2]=_0x4fc2a2(0x25e),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x2bd)]=0x3]=_0x4fc2a2(0x2bd),_0x20a2ab[_0x20a2ab['NOT_FOUND']=0x4]=_0x4fc2a2(0x1b0),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x2ba)]=0x5]='UNAUTHENTICATED',_0x20a2ab[_0x20a2ab[_0x4fc2a2(0xb9)]=0x6]='ALREADY_EXISTS',_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x20d)]=0x7]=_0x4fc2a2(0x20d),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x354)]=0x8]=_0x4fc2a2(0x354),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0xe0)]=0x9]=_0x4fc2a2(0xe0),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0xfe)]=0x1389]=_0x4fc2a2(0xfe),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x215)]=0x1771]=_0x4fc2a2(0x215),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0xa4)]=0x1772]=_0x4fc2a2(0xa4),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x274)]=0x1773]=_0x4fc2a2(0x274),_0x20a2ab[_0x20a2ab['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x20a2ab[_0x20a2ab[_0x4fc2a2(0xe4)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x20a2ab[_0x20a2ab[_0x4fc2a2(0xb8)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x1ec)]=0x1b5c]=_0x4fc2a2(0x1ec),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0xf9)]=0x1b5d]=_0x4fc2a2(0xf9),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0xc8)]=0x1f41]=_0x4fc2a2(0xc8),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0xdd)]=0x2329]=_0x4fc2a2(0xdd),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x209)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x20a2ab[_0x20a2ab['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x256)]=0x232c]=_0x4fc2a2(0x256),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x2a7)]=0x232d]=_0x4fc2a2(0x2a7),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x2eb)]=0x2711]=_0x4fc2a2(0x2eb),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x17e)]=0x2712]=_0x4fc2a2(0x17e),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x2c9)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x23c)]=0x2714]=_0x4fc2a2(0x23c),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x366)]=0x2af9]=_0x4fc2a2(0x366),_0x20a2ab[_0x20a2ab[_0x4fc2a2(0x23e)]=-0x1]=_0x4fc2a2(0x23e),_0x20a2ab))(Ii||{}),Q=(_0x4a688c=>(_0x4a688c[_0x4a688c[_0x4fc2a2(0x84)]=0x0]=_0x4fc2a2(0x84),_0x4a688c[_0x4a688c[_0x4fc2a2(0x1c5)]=0x1]=_0x4fc2a2(0x1c5),_0x4a688c[_0x4a688c['UNIVER_SHEET']=0x2]=_0x4fc2a2(0x83),_0x4a688c[_0x4a688c['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4a688c[_0x4a688c[_0x4fc2a2(0x12b)]=0x4]=_0x4fc2a2(0x12b),_0x4a688c[_0x4a688c['UNRECOGNIZED']=-0x1]=_0x4fc2a2(0x23e),_0x4a688c))(Q||{}),F=(_0x4fac58=>(_0x4fac58[_0x4fac58[_0x4fc2a2(0x25c)]=0x0]=_0x4fc2a2(0x25c),_0x4fac58[_0x4fac58[_0x4fc2a2(0x169)]=0x1]='HELLO',_0x4fac58[_0x4fac58['JOIN']=0x2]=_0x4fc2a2(0x2a2),_0x4fac58[_0x4fac58[_0x4fc2a2(0x1ee)]=0x3]='LEAVE',_0x4fac58[_0x4fac58[_0x4fc2a2(0x278)]=0x4]=_0x4fc2a2(0x278),_0x4fac58[_0x4fac58['HEARTBEAT']=0x5]='HEARTBEAT',_0x4fac58[_0x4fac58[_0x4fc2a2(0xfc)]=0x6]=_0x4fc2a2(0xfc),_0x4fac58[_0x4fac58[_0x4fc2a2(0x23e)]=-0x1]=_0x4fc2a2(0x23e),_0x4fac58))(F||{}),Ee=(_0xdd4c72=>(_0xdd4c72[_0xdd4c72['UNKNOWN_CODE']=0x0]=_0x4fc2a2(0x123),_0xdd4c72[_0xdd4c72['OK']=0x1]='OK',_0xdd4c72[_0xdd4c72[_0x4fc2a2(0xa2)]=0x2]=_0x4fc2a2(0xa2),_0xdd4c72[_0xdd4c72[_0x4fc2a2(0x2fa)]=0x3e9]='JOIN_ROOM_FULL',_0xdd4c72[_0xdd4c72[_0x4fc2a2(0x2fe)]=0x3ea]=_0x4fc2a2(0x2fe),_0xdd4c72[_0xdd4c72[_0x4fc2a2(0x266)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0xdd4c72[_0xdd4c72[_0x4fc2a2(0x317)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0xdd4c72[_0xdd4c72[_0x4fc2a2(0x23e)]=-0x1]='UNRECOGNIZED',_0xdd4c72))(Ee||{}),Ti=(_0x5ec9e7=>(_0x5ec9e7[_0x5ec9e7[_0x4fc2a2(0x20f)]=0x0]=_0x4fc2a2(0x20f),_0x5ec9e7[_0x5ec9e7[_0x4fc2a2(0x22c)]=0x1]=_0x4fc2a2(0x22c),_0x5ec9e7[_0x5ec9e7[_0x4fc2a2(0x302)]=0x2]=_0x4fc2a2(0x302),_0x5ec9e7[_0x5ec9e7[_0x4fc2a2(0xc7)]=0x3]=_0x4fc2a2(0xc7),_0x5ec9e7[_0x5ec9e7[_0x4fc2a2(0xad)]=0x4]=_0x4fc2a2(0xad),_0x5ec9e7[_0x5ec9e7['UNRECOGNIZED']=-0x1]=_0x4fc2a2(0x23e),_0x5ec9e7))(Ti||{});const q=_0x4fc2a2(0x227),Wt={};var se=(_0x460dd0=>(_0x460dd0['OTHER_CLIENT_EDITING']=_0x4fc2a2(0xd6),_0x460dd0[_0x4fc2a2(0x2bd)]='PERMISSION_DENIED',_0x460dd0[_0x4fc2a2(0x23b)]=_0x4fc2a2(0x23b),_0x460dd0[_0x4fc2a2(0xbd)]=_0x4fc2a2(0xbd),_0x460dd0[_0x4fc2a2(0x281)]=_0x4fc2a2(0x281),_0x460dd0[_0x4fc2a2(0x24d)]='SOCKET_FAILED_RETRY',_0x460dd0[_0x4fc2a2(0x2ac)]=_0x4fc2a2(0x2ac),_0x460dd0[_0x4fc2a2(0x2e0)]=_0x4fc2a2(0x2e0),_0x460dd0))(se||{});class pe{constructor(){var _0x133be2=_0x4fc2a2;N(this,_0x133be2(0x15d),new _0x1bf457()),N(this,'event$',this[_0x133be2(0x15d)][_0x133be2(0x258)]());}[_0x4fc2a2(0x98)](_0x6116b){var _0x4fbec4=_0x4fc2a2;this[_0x4fbec4(0x15d)][_0x4fbec4(0x347)](_0x6116b);}}const Mn=_0x466ca9(_0x4fc2a2(0x122));function $n(_0x4e042c){var _0x49dc1e=_0x4fc2a2,_0x4dce39,_0x3c06f8,_0xacb966,_0x1a0afa,_0x3d894f;const _0x549163=_0x4e042c['data'],_0x11e75e=JSON['parse'](_0x549163);switch(_0x11e75e[_0x49dc1e(0x1cc)]){case F['HEARTBEAT']:case F[_0x49dc1e(0x169)]:{const _0x2342f7=_0x11e75e[_0x49dc1e(0x120)];return{..._0x11e75e,'data':_0x2342f7,'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};}case F[_0x49dc1e(0x2a2)]:{const _0x4283e9=_0x11e75e[_0x49dc1e(0x341)];return{..._0x11e75e,'data':_0x4283e9,'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};}case F[_0x49dc1e(0xfc)]:{const _0x36c680=_0x11e75e['collaMsg'];switch(_0x36c680['eventID']){case _0x5ddb43[_0x49dc1e(0x297)]:return{..._0x11e75e,'data':{..._0x36c680,'data':(_0x4dce39=_0x36c680[_0x49dc1e(0xe1)])==null?void 0x0:_0x4dce39['cs']},'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};case _0x5ddb43[_0x49dc1e(0xbb)]:return{..._0x11e75e,'data':{..._0x36c680,'data':(_0x3c06f8=_0x36c680['csAckEvent'])==null?void 0x0:_0x3c06f8['cs']},'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};case _0x5ddb43[_0x49dc1e(0x15b)]:return{..._0x11e75e,'data':{..._0x36c680,'data':(_0xacb966=_0x36c680[_0x49dc1e(0x199)])==null?void 0x0:_0xacb966['cs']},'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};case _0x5ddb43[_0x49dc1e(0x15c)]:return{..._0x11e75e,'data':{..._0x36c680,'data':(_0x1a0afa=_0x36c680[_0x49dc1e(0xef)])==null?void 0x0:_0x1a0afa['cs']},'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};case _0x5ddb43['CHANGESET_SHOULD_RETRY']:return{..._0x11e75e,'data':{..._0x36c680,'data':(_0x3d894f=_0x36c680[_0x49dc1e(0x34e)])==null?void 0x0:_0x3d894f['cs']},'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};case _0x5ddb43[_0x49dc1e(0x2fc)]:return{..._0x11e75e,'data':{..._0x36c680,'data':_0x36c680[_0x49dc1e(0x294)]},'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};case _0x5ddb43[_0x49dc1e(0x325)]:return{..._0x11e75e,'data':{..._0x36c680,'data':_0x36c680[_0x49dc1e(0x20b)]},'cmd':_0x11e75e['cmd']};case _0x5ddb43[_0x49dc1e(0xdc)]:return{..._0x11e75e,'data':{..._0x36c680,'data':_0x36c680[_0x49dc1e(0x148)]},'cmd':_0x11e75e['cmd']};case _0x5ddb43[_0x49dc1e(0x362)]:return{..._0x11e75e,'data':{..._0x36c680,'data':_0x36c680[_0x49dc1e(0x16d)]},'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};case _0x5ddb43[_0x49dc1e(0x298)]:case _0x5ddb43[_0x49dc1e(0x31f)]:return{..._0x11e75e,'data':{..._0x36c680,'data':_0x36c680[_0x49dc1e(0x1ff)]},'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};case _0x5ddb43[_0x49dc1e(0x315)]:return{..._0x11e75e,'data':{..._0x36c680,'data':_0x36c680[_0x49dc1e(0x16d)]},'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};case _0x5ddb43[_0x49dc1e(0x212)]:return{..._0x11e75e,'data':_0x36c680,'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};case _0x5ddb43[_0x49dc1e(0x218)]:return{..._0x11e75e,'data':{..._0x36c680,'data':_0x36c680[_0x49dc1e(0x211)]},'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};case _0x5ddb43[_0x49dc1e(0x1cb)]:return{..._0x11e75e,'data':{..._0x36c680,'data':_0x36c680[_0x49dc1e(0xd2)]},'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};case _0x5ddb43['SHOULD_CLOSE_CONN']:return{..._0x11e75e,'data':{..._0x36c680,'data':_0x36c680[_0x49dc1e(0x203)]},'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};case _0x5ddb43[_0x49dc1e(0x1ce)]:return{..._0x11e75e,'data':{..._0x36c680,'data':_0x36c680['uniscriptRunEvent']},'cmd':_0x11e75e[_0x49dc1e(0x1cc)]};default:return _0x11e75e;}}default:return _0x11e75e;}}function Hn(_0x4297eb){var _0x4a8f5b=_0x4fc2a2;switch(_0x4297eb[_0x4a8f5b(0x1cc)]){case F[_0x4a8f5b(0x12f)]:case F[_0x4a8f5b(0x169)]:return JSON[_0x4a8f5b(0x141)]({'cmd':_0x4297eb[_0x4a8f5b(0x1cc)],'routeKey':_0x4297eb[_0x4a8f5b(0x13d)]});case F[_0x4a8f5b(0x278)]:{let _0x24ced7;switch(_0x4297eb[_0x4a8f5b(0x14c)][_0x4a8f5b(0x1be)]){case _0x5ddb43[_0x4a8f5b(0x2fc)]:{_0x24ced7={'eventID':_0x5ddb43[_0x4a8f5b(0x2fc)],'updateCursorEvent':_0x4297eb[_0x4a8f5b(0x14c)][_0x4a8f5b(0x14c)]};break;}case _0x5ddb43['USERS_LEAVE']:{_0x24ced7={'eventID':_0x5ddb43['USERS_LEAVE'],'leaveEvent':_0x4297eb[_0x4a8f5b(0x14c)][_0x4a8f5b(0x14c)]};break;}case _0x5ddb43[_0x4a8f5b(0x325)]:{_0x24ced7={'eventID':_0x5ddb43[_0x4a8f5b(0x325)],'joinEvent':_0x4297eb[_0x4a8f5b(0x14c)]['data']};break;}case _0x5ddb43['LIVESHARE_NEW_HOST']:{_0x24ced7={'eventID':_0x5ddb43[_0x4a8f5b(0x362)],'liveShareNewHost':_0x4297eb['data']['data']};break;}case _0x5ddb43[_0x4a8f5b(0x31f)]:{_0x24ced7={'eventID':_0x5ddb43[_0x4a8f5b(0x31f)],'liveShareOperation':_0x4297eb[_0x4a8f5b(0x14c)]['data']};break;}case _0x5ddb43['LIVESHARE_TERMINATE']:{_0x24ced7={'eventID':_0x5ddb43[_0x4a8f5b(0x315)],'liveShareTerminate':_0x4297eb[_0x4a8f5b(0x14c)][_0x4a8f5b(0x14c)]};break;}case _0x5ddb43[_0x4a8f5b(0x124)]:{_0x24ced7={'eventID':_0x5ddb43[_0x4a8f5b(0x124)],'liveShareRequestHost':_0x4297eb[_0x4a8f5b(0x14c)][_0x4a8f5b(0x14c)]};break;}case _0x5ddb43[_0x4a8f5b(0x298)]:{_0x24ced7={'eventID':_0x5ddb43[_0x4a8f5b(0x298)]};break;}default:_0x24ced7={'eventID':_0x4297eb[_0x4a8f5b(0x14c)][_0x4a8f5b(0x1be)]};}return JSON[_0x4a8f5b(0x141)]({'cmd':_0x4297eb[_0x4a8f5b(0x1cc)],'routeKey':_0x4297eb[_0x4a8f5b(0x13d)],'collaMsg':_0x24ced7});}case F[_0x4a8f5b(0x2a2)]:return JSON[_0x4a8f5b(0x141)]({'cmd':_0x4297eb['cmd'],'routeKey':_0x4297eb['routeKey'],'joinReq':_0x4297eb[_0x4a8f5b(0x14c)]});case F[_0x4a8f5b(0x1ee)]:return JSON[_0x4a8f5b(0x141)]({'cmd':_0x4297eb[_0x4a8f5b(0x1cc)],'routeKey':_0x4297eb['routeKey'],'leaveReq':_0x4297eb['data']});default:throw new Error(_0x4a8f5b(0x338));}}var kn=Object[_0x4fc2a2(0x241)],jn=Object[_0x4fc2a2(0x2cf)],Bn=(_0x40e895,_0x2e4b0f,_0x304911,_0x43b4a8)=>{var _0x2f8df4=_0x4fc2a2;for(var _0x3db778=_0x43b4a8>0x1?void 0x0:_0x43b4a8?jn(_0x2e4b0f,_0x304911):_0x2e4b0f,_0x367999=_0x40e895[_0x2f8df4(0x1ad)]-0x1,_0x226eb0;_0x367999>=0x0;_0x367999--)(_0x226eb0=_0x40e895[_0x367999])&&(_0x3db778=(_0x43b4a8?_0x226eb0(_0x2e4b0f,_0x304911,_0x3db778):_0x226eb0(_0x3db778))||_0x3db778);return _0x43b4a8&&_0x3db778&&kn(_0x2e4b0f,_0x304911,_0x3db778),_0x3db778;},Ue=(_0x46c987,_0x44f240)=>(_0x780100,_0x573fe0)=>_0x44f240(_0x780100,_0x573fe0,_0x46c987);const Ci=_0x466ca9(_0x4fc2a2(0x9c));function Fn(_0x4e77d5,_0x4334ce,_0x3176c6){var _0x50ee9f=_0x4fc2a2;return _0x4e77d5+'/'+_0x4334ce+_0x50ee9f(0x27e)+_0x3176c6+_0x50ee9f(0x271);}let Et=class extends _0x43d0b2{constructor(_0x495c65,_0xdf60cf,_0x173c52,_0x2e820d,_0x54db31){var _0x21078a=_0x4fc2a2;super(),this[_0x21078a(0x26b)]=_0x495c65,this[_0x21078a(0x318)]=_0xdf60cf,this[_0x21078a(0xde)]=_0x173c52,this[_0x21078a(0x2b2)]=_0x2e820d,this[_0x21078a(0x171)]=_0x54db31;}['createSocket'](_0x255204){var _0x2f681d=_0x4fc2a2;const _0x38417a=this[_0x2f681d(0x26b)][_0x2f681d(0x333)](_0x540735);if(!_0x38417a)throw new Error(_0x2f681d(0x1ac));const _0x257e99=_0x38417a[_0x2f681d(0x272)](_0x255204);if(!_0x257e99)throw new Error(_0x2f681d(0x1aa));const _0x5e60ac=new _0x52be42(),_0x5c2736=new _0x1bf457();_0x5e60ac[_0x2f681d(0x289)](_0x257e99[_0x2f681d(0x116)][_0x2f681d(0x20c)](_0x5d37d7=>_0x5c2736[_0x2f681d(0x347)](_0x5d37d7))),_0x5e60ac[_0x2f681d(0x289)](_0x2c90fe(()=>_0x5c2736['complete']()));const _0x2db2a7=new _0x1bf457();_0x5e60ac[_0x2f681d(0x289)](_0x257e99[_0x2f681d(0x1d4)]['subscribe'](_0x525628=>_0x2db2a7[_0x2f681d(0x347)](_0x525628))),_0x5e60ac[_0x2f681d(0x289)](_0x2c90fe(()=>_0x2db2a7[_0x2f681d(0x139)]()));const _0x207040=new _0x1bf457();_0x5e60ac[_0x2f681d(0x289)](_0x257e99['message$'][_0x2f681d(0x20c)](_0x36aa00=>{var _0x4ab844=_0x2f681d;const _0x540b96=$n(_0x36aa00);_0x207040[_0x4ab844(0x347)](_0x540b96);})),_0x5e60ac[_0x2f681d(0x289)](_0x2c90fe(()=>_0x207040[_0x2f681d(0x139)]()));let _0x4c0064;const _0x254ad7=()=>{var _0x110499=_0x2f681d;_0x2db2a7[_0x110499(0x347)](new Event(_0x110499(0x30d))),_0x5c2736[_0x110499(0x347)](new CloseEvent(_0x110499(0x30d))),_0x4c0064[_0x110499(0x25b)]();};return _0x4c0064={'memberID':'','close$':_0x5c2736[_0x2f681d(0x258)](),'error$':_0x2db2a7[_0x2f681d(0x258)](),'open$':_0x257e99[_0x2f681d(0x28d)],'message$':_0x207040[_0x2f681d(0x258)](),'send':_0x3aed7e=>{var _0x1706c2=_0x2f681d;if(_0x3aed7e[_0x1706c2(0x1cc)]===F[_0x1706c2(0x278)]){if(_0x3aed7e[_0x1706c2(0x14c)][_0x1706c2(0x1be)]===_0x5ddb43[_0x1706c2(0x222)]){this['_submitChangeset'](_0x4c0064,_0x3aed7e[_0x1706c2(0x14c)])[_0x1706c2(0x2e5)](_0x12215b=>{var _0x4118cb=_0x1706c2;this[_0x4118cb(0x2b2)][_0x4118cb(0x2a8)](_0x12215b),_0x254ad7();});return;}if(_0x3aed7e[_0x1706c2(0x14c)][_0x1706c2(0x1be)]===_0x5ddb43[_0x1706c2(0x2d3)]){const _0x30c7cb=_0x3aed7e[_0x1706c2(0x14c)];this[_0x1706c2(0x2f8)](_0x30c7cb)[_0x1706c2(0x119)](_0x5968ca=>{var _0x21fe0c=_0x1706c2;_0x207040[_0x21fe0c(0x347)]({'cmd':F[_0x21fe0c(0xfc)],'code':Ee['OK'],'routeKey':_0x30c7cb[_0x21fe0c(0x14c)][_0x21fe0c(0xb2)],'routeType':'','data':{'eventID':_0x5ddb43[_0x21fe0c(0x296)],'data':{'changesets':_0x5968ca}}});})[_0x1706c2(0x2e5)](_0x18803f=>{var _0x4a9d1a=_0x1706c2;this[_0x4a9d1a(0x2b2)][_0x4a9d1a(0x2a8)](_0x18803f),_0x254ad7();});return;}}_0x257e99['send'](Hn(_0x3aed7e));},'close':()=>{var _0x5c050b=_0x2f681d;_0x257e99[_0x5c050b(0x25b)](),_0x5e60ac['dispose']();}},_0x4c0064;}async[_0x4fc2a2(0x2ae)](_0x4d867c,_0xc8cc48){var _0x1e8360=_0x4fc2a2,_0x51ea0d,_0x39fe5f;const {unitType:_0x43ee97,unitID:_0x6e400d,changeset:_0x1429e9}=_0xc8cc48[_0x1e8360(0x14c)],_0x3231b5={'unitID':_0x6e400d,'memberID':_0x4d867c[_0x1e8360(0x2aa)],'type':_0x43ee97,'changeset':_0x4b08f2(_0x1429e9)},_0x106a66=this[_0x1e8360(0xde)][_0x1e8360(0xe5)](Un),_0x209c0f=this[_0x1e8360(0xde)]['getConfig'](q),_0x485ec3=Fn((_0x39fe5f=(_0x51ea0d=_0x209c0f==null?void 0x0:_0x209c0f[_0x1e8360(0x290)])!=null?_0x51ea0d:_0x106a66)!=null?_0x39fe5f:An,_0x43ee97,_0x6e400d);try{await this['_http'][_0x1e8360(0xa1)](_0x485ec3,{'body':_0x3231b5});}catch(_0x39a7b9){throw this[_0x1e8360(0x2b2)][_0x1e8360(0x2a8)](_0x1e8360(0x153),_0x1e8360(0x2dd)),_0x39a7b9;}}async[_0x4fc2a2(0x2f8)](_0x352dd0){var _0x504d5a=_0x4fc2a2;const {unitID:_0x3268c7,from:_0x1d22d1,to:_0x44f15e,unitType:_0x4d20a5}=_0x352dd0[_0x504d5a(0x14c)];return(await this[_0x504d5a(0x171)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3268c7,'type':_0x4d20a5,'from':_0x1d22d1,'to':_0x44f15e}))[_0x504d5a(0x30b)];}};function _0x148e(){var _0xef60df=['pad','crypto','UPDATE_PERMISSION_OBJ','cmd','_socket','UNISCRIPT_RUN','map','resourceIDs','every','randomUUID','HmacSHA1','error$','_socketReady','_clearHeartbeatTimer','UNIVER_COLLABORATION_CLIENT_PLUGIN','updateOfflineData','executeCommand','mixIn','parse','_exhaustRemoteChangesetQueue','_getAPIPrefix','key','enableSingleActiveInstanceLock','_commentUpdate$','_substituteRedoStack','clamp','_transformService','_parse','_telemetryInfo','_oKey','getCurrentSelections','_registerDependencies','requestParams','exports','?url=','APPLY_PERMISSION_DENIED','_candidateSocket','LEAVE','createCollaborator','/resources','stopTime','_sendHeartbeat','_initCloseConn','onRemoteChangeset','loadSheet','_awaitingChangeset','People','_cipher','IDLE','_executeRemoteChangeset','concat','NoPadding','9121007xiQqZg','deepClone','liveShareOperation','conflict','state$','readyForCollab','shouldCloseConn','_socket$','onRemoteRej','_permissionService','Could\x20not\x20dynamically\x20require\x20\x22','reconnect','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','string','joinEvent','subscribe','INVALID_ARGUMENT','ERROR_EXCEED_SIZE','Undefined','updateCollaborator','commentUpdateEvent','MSG_FOR_ERROR','_snapshotService','_getUndoStack','SNAPSHOT_INVALID_SNAPSHOT','kdf','_doFinalize','COMMENT_UPDATE','copyFileMeta','_undoRedoService','getTypeOfUnitDisposed$','onTransformSelections','transformUndoRedo','[SyncedState]:\x20received\x20rejection.','_rescheduleHeartbeat','decrypt','file','SUBMIT_CHANGESET','bind','reject','saveImage','onRemoteRetry','collaboration-client.config','uploadFileServerUrl','_localeService','CipherParams','_collaborationSessionService','HttpImport','_clearCollaborationTimeoutTimer','format','onTransformRemoteChangesetByIMECache','isPermissionRej','SYNCED','_getSessionTicket','subject','commentUpdate$','_sheetTransformSelectionsService','editingUnit','_handler','call','_initRequestHeader','COMPRESS_MUTATION_APPLY','CONFLICT','YUUMI_SUBSCRIPTION_NOT_FOUND','unit-cache-','UNRECOGNIZED','application/json','random','defineProperty','size','members$','find','transformChangesets','onMissedChangesetFetched','_transformStateCache','getCurrentRevOfUnit','_createInitialState','unitId','_prevBlock','onCommentUpdate','SOCKET_FAILED_RETRY','formatter','_roomCreated$','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','socket\x20close','image/jpeg','_createInitialStateImpl','_onConnectionOpen','update','LICENSE_EXPORT_SIZE_EXCEEDED','keySize','asObservable','reqId','abs','close','UNKNOWN_CMD','sid','INTERNAL_ERROR','reset','_sessionStatus$','resend','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','collaboratorID','finalize','_onRecvEvent','JOIN_ROOM_PERMISSION_DENIED','_sender','PasswordBasedCipher','floor','compose','_injector','updateMember','requireSession','AES','hasOwnProperty','state','/new_changes','createSocket','hostname','ENSURE_SNAPSHOT_EXECUTION','execute','loginUrlKey','getMember','INGEST','apply','_getCurrentRevision','splice','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_singleActiveUnitService','/unit/','BlockCipherMode','forEach','JOIN_ROOM_FAILED','encryptBlock','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','ciphertext','editing\x20status\x20changed\x20to','setCurrentUser','action','_initMergeInterceptor','add','getUnit','_createHandler','getRandomValues','open$','baseRev','_process','collabSubmitChangesetUrl','rev','delete','retryConnectingInterval','updateCursorEvent','toggleOffline','PSEUDO_FETCH_MISSING_RESULT','PERMISSION_REJ','LIVESHARE_FETCH_OPERATIONS','startTime','onMissingChangesets','/-/object/-/batch_allowed','getSheetBlock','algo','_config','unknown','slice','generateRandomId','JOIN','_xformMode','appendMutation','_mode','runId','LICENSE_DISTRO_REJECTED','error','revision','memberID','_univerInstanceService','SOCKET_FAILED','_changesetReqId','_submitChangeset','_reverseMap','HEARTBEAT_INTERVAL','562563rErdjA','_logService','toString','offline','_roomMembers','fetching\x20missing\x20changesets\x20from\x20','_syncEditingCollabCursor','getTypeOfUnitAdded$','_collaborationPaused','UNAUTHENTICATED','getSnapshotAPIPath','max','PERMISSION_DENIED','_onUserJoin','_queuedRemoteChangesets','_loadSheet','HEARTBEAT_TIMEOUT','getCollabEntity$','setWaitCount','[CollaborationSessionService]:\x20socket\x20error','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_startCollaboration','_getSignURL','wsSessionTicketUrl','YUUMI_RATE_OVER_LIMIT','PENDING','min','subUnitId','HMAC','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getOwnPropertyDescriptor','byteLength','objects','compute','FETCH_MISSING','_pendingMutations','_append','_acknowledgedAwaitingChangeset','COLLAB_SUBMIT_CHANGESET_URL','override','_waitCount','EvpKDF','_collaborationUIEventService','_collabSessionService','submit\x20changeset\x20error!','extend','_state$','SUBMIT_CHANGESET_TIMEOUT','telemetry\x20info\x20is\x20not\x20initialized','_httpService','Hex','Error\x20on\x20receiving\x20event','catch','StreamCipher','_members','disposeWithMe','LOCAL_CACHE_INTERVAL','CHANGESET_SHOULD_RETRY','YUUMI_UNABLE_LOAD_URL','_retryCount','_timeoutTimer','8NXYGBf','status$','_tryEnsureSocket','url','awaitingChangeset','/role','unpad','_onRemoteRejected','getTime','_iv','_fetchMissChangesets','_resendTimeout','JOIN_ROOM_FULL','roles','UPDATE_CURSOR','BASE64','JOIN_ROOM_NOT_EXISTS','removeMember','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','list','HttpExport','/collaborator','padding','target','src','onStarting','blockSize','deleteCollaborator','selections','changesets','localCacheService','connection\x20error','/rev/','_members$','loadOfflineData','_undoStacks','transformSelections','[PendingState]:\x20unhandled\x20univer\x20type:\x20','awaiting','LIVESHARE_TERMINATE','sessionStatus','GLOBAL_ROOMS_CNT_EXCEEDS','_http','status','_incrementRevisionNumber','includes','[OfflineState]:\x20received\x20changeset.','encrypt','listRoles','LIVESHARE_OPERATION','ticket','_instanceService','unitInfo$','collaboration_new_changeset','_showConflictNotification','USERS_ENTER','Utf8','_onRemoteChangeset','Encryptor','result','_onRemoteACK','getUnitId','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','pipe','_getLoginPath','/allowed','body','indexOf','_getSendChangesetTimeout','get','_type','unsubscribe','downloadEndpointUrl','pluginName','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_doReset','awaiting_with_pending','online$','_initDependencies','authzUrl','_authzIoService','onTransformIME','saveChangeset','joinRsp','MUTATION','updatePermissionPoint','SHA1','reduce','function','next','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_eventService','/universer-api/uniscript','SEND_CHANGESET_TIMEOUT','_transitionLocked','has','csShouldRetryEvent','_sendingTimer','event$','/universer-api/stream/file/upload','SUCCUSS','_data','TOO_MANY_REQUESTS','userID','unitId\x20is\x20not\x20found','getUnitType','objectID','m2Prime','_lockTransition','_onUserLeave','responseType','_hash','getImage','/object/','readInt32LE','members','LIVESHARE_NEW_HOST','/universer-api/oidc/authpage','_schedule','_createHelper','PY_RUNTIME_SCRIPT_ERROR','href','initWorkbookPermissionChange','debug','_onJoinRoomEvent','transformMutationsWithChangeset','equals','name','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','avatar','_DEC_XFORM_MODE','onSyncEditingCollabCursor','send','image/png','headers','withCredentials','_resendTimer','_clearUndo','ERROR_IMAGE','duration','_keyPriorReset','_updateStatus','collaborators','UNIVER_SHEET','UNIVER_UNKNOWN','univer-pro.collaboration-client.single-active-unit-service','getCurrentUser','createInstance','batchAllowed','AWAITING_WITH_PENDING','clear','x-univer-host','socketService','default','AUTHZ_URL_KEY','/universer-api/file/{fileID}/sign-url','session','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','code','enableOfflineEditing','dispose$','getInterceptPoints','saveSheetBlock','onCommandExecuted','emitEvent','_transformStack','[SyncedState]:\x20received\x20acknowledgement.','saveSnapshot','univer-pro.collaboration-client-socket-service','_throwTelemetryCollaborationNewChangeset','HmacMD5','SNAPSHOT_SERVER_URL_KEY','Hasher','post','FAIL','snapshot','SNAPSHOT_HAS_BEEN_REMOVED','_init','[PendingState]:\x20received\x20rejection.','c1Prime','&to=','_nRounds','refreshPermission','_localCacheService','isArray','UnitSnapshot','Cipher','_replayCachedMutations','_decreaseWaiting','onTransformRemoteChangesetByStateCache','unitID','[FetchMissState]','_iKey','socket$','fetchMissingChangesets','encode','APPLY_REVISION_CONFILICT','ALREADY_EXISTS','getCollabEntity','CHANGESET_ACK','_hasher','CLOSE_ROOM','_waitForHeartbeatResponse','sigBytes','words','pauseCollaboration','origin','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Base','lib','?size=','UnitEmbedded','CONNECTOR_DATA_TOO_LARGE','objectType','onload','_handlerCallback','_status$','onTransformState','UNDEFINED','_invKeySchedule','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','fetchThroughInterceptors','updatePermissionObjEvent','_stopTelemetryCollaborationNewChangeset','_redoStacks','_commandService','OTHER_CLIENT_EDITING','localeService','append','originalMeta','_updateState','_socketService','USERS_LEAVE','LICENSE_MAX_UNITS_EXCEEDED','_configService','ceil','COMPLETION_FINISHED','permissionRejEvent','40379589lsjIso','create','APPLY_NON_SEQUENTIAL_REVISION','getConfig','_tryReconnect','_applyRemoteChangeset','transformStack\x20failed!','_isPermissionRej','[CollaborationSessionService]','loadDoc','image/jpg','OPTIONAL','[CollaborationState]:\x20apply\x20error!','csRejEvent','_memberService','_createSocketURL','$super','hasher','substr','_shouldReportTelemetry','location','\x0aCurrent:\x20','init','APPLY_DUPLICATED','_getCtorByUniverType','_onConflict','RECV','session.join-failed','CHANGESET_REVISION_CONFILICT','_getUploadFileURL','ws://127.0.0.1:8000/universer-api/comb/connect','_clearTimeoutTimer','_collaborationTimeoutTimer','fromCollab','_createSocket','now','_telemetryService','WordArray','NO_OTHER_CLIENTS_EDITING','onlyLocal','_onLocalMutation','getResourcesRequest','mode','clone','_updateLocalCache','fetchMiss','[CollaborationEntity]','[PendingState]:\x20received\x20acknowledgement.','_entityInit$','_checkMissing','socket\x20open.','_imageSourceCache','close$','405zUcnwv','interceptor','then','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','PERSON','type','getLatestCsReqIdBySid','workbook','createDecryptor','infoRsp','getValue','univer-pro.collaboration-client.network-condition.service','UNKNOWN_CODE','LIVESHARE_REQUEST_HOST','Pkcs7','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','set','_ENC_XFORM_MODE','values','_emitMembers','UNIVER_PROJECT','search','addImageSourceCache','prototype','HEARTBEAT','_doCryptBlock','68120rKcUKt','Decryptor','_disableEditing','_compressMutationService','_onMessage','replace','_state','_startTelemetryCollaborationNewChangeset','complete','OFFLINE','fromCharCode','failed\x20to\x20apply\x20missed\x20changesets!','routeKey','objectActions','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_revisionService','stringify','OpenSSL','_getAPIPrefixPath','_map','_substituteUndoStack','_listenToNetworkCondition','dispose','leaveEvent','1400274mdVgkb','_transformUndoredo','_toggleOffline','data','_transformRemoteChangesetByStateCache','ERROR_IMAGE_TYPE','_sendHeartbeatTimer','SNAPSHOT_URL_KEY','cfg','_getRedoStack','[CollaborationSession]','2433948yBIVQi','SerializableCipher','params','RETRY_CONNECTING_MAX_COUNT','searchParams','_createHmacHelper','_onOffline','NEW_CHANGESETS','CHANGESET_REJ','_event$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','toggleOnline','__Key__','not_collab','_scheduleCompleteTimestamp','charCodeAt','allowed','_joinRoom','createEncryptor','repeat','actions','HELLO','onRemoteAck','onStateChange','_transformRemoteChangesetByIMECache','liveShareNewHost','Base64','_initUnitPermissionChange','JOINING','_snapshotServerService','POST','__creator','getUnitOnRev','entries','COMPRESS_MUTATION_SEND','getAllMembers','setConfig','MD5','roomInfos','_onConnectionFailed','msCrypto','_sessions','YUUMI_URL_COL_OUT_OF_RANGE','_key','image/bmp','collabWebSocketUrl','_unitInfo$','599447dwzPaD','readAsDataURL','_onCombEvent','_clearScheduledTask','ONLINE','_HTTPService','setShowComponents','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','push','_transformSelections','_minBufferSize','mutations','Malformed\x20UTF-8\x20data','[DataLoaderService]','[CollaborationUndoRedoService]','decryptBlock','range','_getDownloadEndpointURL','OTHER_CLIENTS_EDITING','_unitID','_entities','closeSession','newCsEvent','_networkConditionService','\x20-\x20','sessionStatus$','{fileID}','_clearLocalCache','registerHTTPInterceptor','onLocalMutation','__esModule','onSendChangeset','fetch_missing','FileId','session.room-permission-denied','getWorkbookSelections','_onRemoteRetry','getFocusedUnit','CBC','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_commentService','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','length','BlockCipher','_change$','NOT_FOUND','join','waitForRoom$','_unlockTransition','_resendWithTimeout','_remoteChangesetQueue','_replaceFileID','Univer','put','reverse','[OfflineState]:\x20received\x20acknowledgement.','_retryConnectingTimer','textRanges','charAt','eventID','/block/','enc','_changesetSessionId','_userManagerService','message$','\x20in\x20_schedule.','UNIVER_DOC','getMemberID','_socketMessageSubscription','BufferedBlockAlgorithm'];_0x148e=function(){return _0xef60df;};return _0x148e();}Et=Bn([Ue(0x0,_0x4a88e2(_0x530b2b)),Ue(0x1,_0x4a88e2(_0x1b7bd1)),Ue(0x2,_0x1a3e87),Ue(0x3,_0x45f59a),Ue(0x4,_0x1ababc)],Et);const Vn=_0x4fc2a2(0x323);function Gn(_0x30f146){var _0x3af4a1=_0x4fc2a2;return JSON[_0x3af4a1(0x141)](_0x30f146)['length'];}class Ri{constructor(){var _0x14a00e=_0x4fc2a2;N(this,_0x14a00e(0x1e0),new _0x1bf457()),N(this,_0x14a00e(0x234),this[_0x14a00e(0x1e0)][_0x14a00e(0x258)]());}[_0x4fc2a2(0x24c)](_0x1ea5fd){var _0x3f9cf5=_0x4fc2a2;this[_0x3f9cf5(0x1e0)][_0x3f9cf5(0x347)](_0x1ea5fd);}}var Wn=Object[_0x4fc2a2(0x241)],Kn=Object[_0x4fc2a2(0x2cf)],Yn=(_0x5f4c4b,_0x4870e8,_0x1abedc,_0x5f03bc)=>{var _0x136b18=_0x4fc2a2;for(var _0x50b5d2=_0x5f03bc>0x1?void 0x0:_0x5f03bc?Kn(_0x4870e8,_0x1abedc):_0x4870e8,_0x23b034=_0x5f4c4b[_0x136b18(0x1ad)]-0x1,_0x1506aa;_0x23b034>=0x0;_0x23b034--)(_0x1506aa=_0x5f4c4b[_0x23b034])&&(_0x50b5d2=(_0x5f03bc?_0x1506aa(_0x4870e8,_0x1abedc,_0x50b5d2):_0x1506aa(_0x50b5d2))||_0x50b5d2);return _0x5f03bc&&_0x50b5d2&&Wn(_0x4870e8,_0x1abedc,_0x50b5d2),_0x50b5d2;},Kt=(_0x1e6418,_0x3d30fc)=>(_0x4afca8,_0x5f57fb)=>_0x3d30fc(_0x4afca8,_0x5f57fb,_0x1e6418);let xe=class extends _0x43d0b2{constructor(_0x10698d,_0x317348){var _0x5e3be2=_0x4fc2a2;super(),N(this,_0x5e3be2(0x2b5),new Map()),N(this,'_roomCreated$',new _0x1bf457()),(this[_0x5e3be2(0x2ab)]=_0x10698d,this[_0x5e3be2(0x1c2)]=_0x317348,this[_0x5e3be2(0x2e8)](_0x2f8b75(this['_univerInstanceService'][_0x5e3be2(0x21b)](_0x3ff6d6[_0x5e3be2(0x83)])[_0x5e3be2(0x32d)](_0x2bad04(_0x29e893=>_0x29e893['getUnitId']())),this['_univerInstanceService'][_0x5e3be2(0x21b)](_0x3ff6d6['UNIVER_DOC'])[_0x5e3be2(0x32d)](_0x2bad04(_0x3a77d4=>_0x3a77d4[_0x5e3be2(0x32b)]())),this['_univerInstanceService'][_0x5e3be2(0x21b)](_0x3ff6d6['UNIVER_SLIDE'])[_0x5e3be2(0x32d)](_0x2bad04(_0x404ebb=>_0x404ebb[_0x5e3be2(0x32b)]())))[_0x5e3be2(0x20c)](_0x1e875d=>this['_removeRoom'](_0x1e875d))));}[_0x4fc2a2(0x1b2)](_0x3fb415){var _0xd1e6ed=_0x4fc2a2;return this['_roomMembers'][_0xd1e6ed(0x34d)](_0x3fb415)?_0x376e44(this[_0xd1e6ed(0x2b5)][_0xd1e6ed(0x333)](_0x3fb415)):this[_0xd1e6ed(0x24f)][_0xd1e6ed(0x32d)](_0x2bad04(_0x84948d=>{var _0x1713f4=_0xd1e6ed;if(_0x84948d===_0x3fb415)return this[_0x1713f4(0x2b5)][_0x1713f4(0x333)](_0x84948d);}));}[_0x4fc2a2(0x286)](_0x48a3aa){var _0x35ea80=_0x4fc2a2;this[_0x35ea80(0x1c2)][_0x35ea80(0x286)](_0x48a3aa);}[_0x4fc2a2(0x86)](){var _0x46942d=_0x4fc2a2;return this[_0x46942d(0x1c2)][_0x46942d(0x86)]();}['updateMember'](_0x4a7564,_0x3cec4e){var _0x3956ef=_0x4fc2a2;let _0x11ade5=this[_0x3956ef(0x2b5)][_0x3956ef(0x333)](_0x4a7564);_0x11ade5||(_0x11ade5=new qn(),this['_roomMembers'][_0x3956ef(0x127)](_0x4a7564,_0x11ade5),this[_0x3956ef(0x24f)]['next'](_0x4a7564)),_0x11ade5[_0x3956ef(0x26c)](_0x3cec4e);}[_0x4fc2a2(0x2ff)](_0x35dd08,_0x137a5c){var _0x37e37f=_0x4fc2a2;const _0x272d66=this['_roomMembers']['get'](_0x35dd08);_0x272d66&&_0x272d66[_0x37e37f(0x2ff)](_0x137a5c);}['getRoom'](_0x1960fa){var _0x94dce3=_0x4fc2a2;return this[_0x94dce3(0x2b5)][_0x94dce3(0x333)](_0x1960fa);}['getMember'](_0x109363,_0x4e0e59){var _0x50a368=_0x4fc2a2;const _0x3af0d7=this[_0x50a368(0x2b5)][_0x50a368(0x333)](_0x109363);if(_0x3af0d7)return _0x3af0d7[_0x50a368(0x277)](_0x4e0e59);}['_removeRoom'](_0x4a7d78){var _0x45912d=_0x4fc2a2;const _0x20a16e=this[_0x45912d(0x2b5)][_0x45912d(0x333)](_0x4a7d78);_0x20a16e&&(_0x20a16e[_0x45912d(0x147)](),this['_roomMembers'][_0x45912d(0x292)](_0x4a7d78));}[_0x4fc2a2(0x147)](){var _0x2f8f62=_0x4fc2a2;this[_0x2f8f62(0x2b5)][_0x2f8f62(0x280)](_0x68c372=>_0x68c372['dispose']()),this['_roomMembers'][_0x2f8f62(0x8a)](),this[_0x2f8f62(0x24f)][_0x2f8f62(0x139)]();}};xe=Yn([Kt(0x0,_0x52579b),Kt(0x1,_0x4a88e2(_0x3073d3))],xe);class qn extends _0x43d0b2{constructor(){var _0x5e1e74=_0x4fc2a2;super(...arguments),N(this,_0x5e1e74(0x2e7),new Map()),N(this,_0x5e1e74(0x30f),new _0x5b8830(this[_0x5e1e74(0x2e7)])),N(this,_0x5e1e74(0x243),this[_0x5e1e74(0x30f)][_0x5e1e74(0x258)]());}[_0x4fc2a2(0x147)](){var _0x32c440=_0x4fc2a2;this[_0x32c440(0x2e7)][_0x32c440(0x8a)]();}[_0x4fc2a2(0x26c)](_0x30b6a2){var _0x1acd86=_0x4fc2a2;this[_0x1acd86(0x2e7)][_0x1acd86(0x127)](_0x30b6a2[_0x1acd86(0x2aa)],_0x30b6a2),this[_0x1acd86(0x12a)]();}[_0x4fc2a2(0x2ff)](_0x516f8c){var _0x456653=_0x4fc2a2;this[_0x456653(0x2e7)][_0x456653(0x292)](_0x516f8c);}[_0x4fc2a2(0x277)](_0x1b9650){var _0x186cad=_0x4fc2a2;return this['_members'][_0x186cad(0x333)](_0x1b9650);}[_0x4fc2a2(0x177)](){var _0x4a7614=_0x4fc2a2;return Array['from'](this[_0x4a7614(0x2e7)][_0x4a7614(0x129)]());}[_0x4fc2a2(0x12a)](){var _0x276bc6=_0x4fc2a2;this['_members$'][_0x276bc6(0x347)](this[_0x276bc6(0x2e7)]);}}var zn=Object[_0x4fc2a2(0x241)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x20393e,_0x2f405f,_0x37c804,_0x1cf23e)=>{var _0x3c92a4=_0x4fc2a2;for(var _0x2076da=_0x1cf23e>0x1?void 0x0:_0x1cf23e?Jn(_0x2f405f,_0x37c804):_0x2f405f,_0x32c012=_0x20393e[_0x3c92a4(0x1ad)]-0x1,_0x547a87;_0x32c012>=0x0;_0x32c012--)(_0x547a87=_0x20393e[_0x32c012])&&(_0x2076da=(_0x1cf23e?_0x547a87(_0x2f405f,_0x37c804,_0x2076da):_0x547a87(_0x2076da))||_0x2076da);return _0x1cf23e&&_0x2076da&&zn(_0x2f405f,_0x37c804,_0x2076da),_0x2076da;},me=(_0x208e75,_0x5b5fb7)=>(_0x216ff5,_0x460c0f)=>_0x5b5fb7(_0x216ff5,_0x460c0f,_0x208e75),Te=(_0x4c80e7=>(_0x4c80e7[_0x4c80e7[_0x4fc2a2(0x1f9)]=0x0]=_0x4fc2a2(0x1f9),_0x4c80e7[_0x4c80e7[_0x4fc2a2(0x170)]=0x1]=_0x4fc2a2(0x170),_0x4c80e7[_0x4c80e7[_0x4fc2a2(0x13a)]=0x2]=_0x4fc2a2(0x13a),_0x4c80e7[_0x4c80e7[_0x4fc2a2(0x187)]=0x3]=_0x4fc2a2(0x187),_0x4c80e7))(Te||{});const Yt={[Ee[_0x4fc2a2(0xa2)]]:_0x4fc2a2(0xfd),[Ee['JOIN_ROOM_FULL']]:'session.room-full',[Ee[_0x4fc2a2(0x2fe)]]:'session.room-not-exists',[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x4fc2a2(0x1a5),[Ee[_0x4fc2a2(0x317)]]:'session.room-cnt-exceeds'};let It=class extends _0x1ad933{constructor(_0x38f017,_0x23140,_0x219a67,_0x1e7276,_0x2276ef,_0x1055a0,_0x5b36d2,_0x35387b,_0x2e739d){var _0x7b3de0=_0x4fc2a2;super(),N(this,_0x7b3de0(0x260),new _0x5b8830(0x0)),N(this,'sessionStatus$',this[_0x7b3de0(0x260)][_0x7b3de0(0x258)]()),N(this,_0x7b3de0(0x15d),new _0x1bf457()),N(this,_0x7b3de0(0x350),this[_0x7b3de0(0x15d)][_0x7b3de0(0x258)]()),N(this,_0x7b3de0(0x1cd)),N(this,_0x7b3de0(0x1c7)),N(this,_0x7b3de0(0x102)),N(this,_0x7b3de0(0xf5),!0x1),N(this,_0x7b3de0(0x1e5),null),(this[_0x7b3de0(0x196)]=_0x38f017,this[_0x7b3de0(0x2b2)]=_0x219a67,this[_0x7b3de0(0xde)]=_0x1e7276,this['_localeService']=_0x2276ef,this[_0x7b3de0(0xf0)]=_0x1055a0,this[_0x7b3de0(0x1ab)]=_0x5b36d2,this[_0x7b3de0(0x2db)]=_0x35387b,this['_telemetryService']=_0x2e739d,this['_shouldReportTelemetry']=!!this[_0x7b3de0(0x106)],_0x23140[_0x7b3de0(0x32d)](_0x97cbe4(this[_0x7b3de0(0x94)]))[_0x7b3de0(0x20c)](_0x4c76ce=>{var _0xcfe7f0=_0x7b3de0,_0x5d76a7;typeof _0x4c76ce>'u'||(this[_0xcfe7f0(0x1cd)]=_0x4c76ce,_0x4c76ce?(this[_0xcfe7f0(0x165)](_0x4c76ce),this[_0xcfe7f0(0x1c7)]=_0x4c76ce[_0xcfe7f0(0x1c3)][_0xcfe7f0(0x20c)](_0x5c03d0=>{var _0x295202=_0xcfe7f0;_0x5c03d0[_0x295202(0x13d)]===this[_0x295202(0x196)]&&this[_0x295202(0x185)](_0x5c03d0);})):(this[_0xcfe7f0(0x9d)](),this[_0xcfe7f0(0x260)][_0xcfe7f0(0x347)](0x2),(_0x5d76a7=this['_socketMessageSubscription'])==null||_0x5d76a7['unsubscribe'](),this[_0xcfe7f0(0x1c7)]=null));}));}get[_0x4fc2a2(0x316)](){var _0x3d1431=_0x4fc2a2;return this['_sessionStatus$'][_0x3d1431(0x121)]();}[_0x4fc2a2(0x1c6)](){var _0x414c0d=_0x4fc2a2,_0x4501fa,_0x5be4e9;return(_0x5be4e9=(_0x4501fa=this[_0x414c0d(0x1cd)])==null?void 0x0:_0x4501fa[_0x414c0d(0x2aa)])!=null?_0x5be4e9:null;}['dispose'](){var _0x13f8ed=_0x4fc2a2;super[_0x13f8ed(0x147)](),this['dispose$'][_0x13f8ed(0x347)](),this[_0x13f8ed(0x94)][_0x13f8ed(0x139)]();}['close'](){var _0x1372f4=_0x4fc2a2,_0x4ef274,_0xa4f93c;this[_0x1372f4(0x9d)](),(_0x4ef274=this[_0x1372f4(0x1cd)])==null||_0x4ef274[_0x1372f4(0x78)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x1372f4(0x196)]}}),(_0xa4f93c=this[_0x1372f4(0x1cd)])==null||_0xa4f93c['close'](),this[_0x1372f4(0x15d)]['complete'](),this[_0x1372f4(0x260)][_0x1372f4(0x139)](),this[_0x1372f4(0x147)]();}[_0x4fc2a2(0x185)](_0xaf4f23){var _0x2a1720=_0x4fc2a2;_0xaf4f23['cmd']===F['JOIN']?this['_onJoinRoomEvent'](_0xaf4f23):_0xaf4f23[_0x2a1720(0x1cc)]===F[_0x2a1720(0xfc)]&&this[_0x2a1720(0x265)](_0xaf4f23);}[_0x4fc2a2(0x165)](_0x361881){var _0x34cf71=_0x4fc2a2;this[_0x34cf71(0x260)][_0x34cf71(0x347)](0x1),_0x361881['send']({'cmd':F[_0x34cf71(0x2a2)],'routeKey':this[_0x34cf71(0x196)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4fc2a2(0x6f)](_0x5bcc4f){var _0x1dbd3e=_0x4fc2a2,_0x440597;if(_0x5bcc4f[_0x1dbd3e(0x92)]in Yt){this['_collaborationUIEventService']['emitEvent']({'id':se[_0x1dbd3e(0x281)],'data':Yt[_0x5bcc4f[_0x1dbd3e(0x92)]]}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$'][_0x1dbd3e(0x347)](0x3);const _0x30b971=(_0x440597=_0x5bcc4f[_0x1dbd3e(0x14c)][_0x1dbd3e(0x17a)][this['_unitID']])==null?void 0x0:_0x440597[_0x1dbd3e(0x361)];_0x30b971&&_0x30b971[_0x1dbd3e(0x280)](_0x5f2c8d=>this[_0x1dbd3e(0xf0)][_0x1dbd3e(0x26c)](this['_unitID'],_0x5f2c8d));}[_0x4fc2a2(0x265)](_0x564084){var _0x3cac73=_0x4fc2a2;try{const _0x435930=_0x564084['data'];switch(_0x435930['eventID']){case _0x5ddb43[_0x3cac73(0x325)]:this[_0x3cac73(0x2be)](_0x435930),this[_0x3cac73(0x15d)][_0x3cac73(0x347)](_0x435930);break;case _0x5ddb43['USERS_LEAVE']:this[_0x3cac73(0x35b)](_0x435930),this[_0x3cac73(0x15d)][_0x3cac73(0x347)](_0x435930);break;case _0x5ddb43[_0x3cac73(0xbb)]:case _0x5ddb43[_0x3cac73(0x2ea)]:this[_0x3cac73(0xd3)](),this[_0x3cac73(0x22d)](),this[_0x3cac73(0x15d)][_0x3cac73(0x347)](_0x435930);break;case _0x5ddb43[_0x3cac73(0x212)]:this['_logService'][_0x3cac73(0x2a8)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x435930)),this[_0x3cac73(0x15d)][_0x3cac73(0x347)](_0x435930);break;case _0x5ddb43['COMMENT_UPDATE']:this[_0x3cac73(0x1ab)]['onCommentUpdate'](_0x435930['data']),this[_0x3cac73(0x15d)]['next'](_0x435930);break;default:this['_event$'][_0x3cac73(0x347)](_0x435930);}}catch(_0x53ab99){this[_0x3cac73(0x2b2)][_0x3cac73(0x2a8)](_0x53ab99,_0x564084);}}[_0x4fc2a2(0x2be)](_0x21f5f3){var _0x16bb73=_0x4fc2a2;this['_memberService'][_0x16bb73(0x26c)](this['_unitID'],_0x21f5f3[_0x16bb73(0x14c)]);}['_onUserLeave'](_0x2da600){var _0x36093f=_0x4fc2a2;this['_memberService']['removeMember'](this['_unitID'],_0x2da600['data'][_0x36093f(0x2aa)]);}async[_0x4fc2a2(0x78)](_0x235cb6,_0x4f2ebe){var _0x475074=_0x4fc2a2;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x235cb6[_0x475074(0x1be)]===_0x5ddb43[_0x475074(0x222)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x235cb6)),this[_0x475074(0x1cd)][_0x475074(0x78)]({'cmd':F[_0x475074(0x278)],'routeKey':_0x4f2ebe,'routeType':'','data':_0x235cb6});}catch(_0x3858ee){this[_0x475074(0x2b2)]['error'](_0x3858ee);}}['_scheduleCollaborationTimeoutTimer'](){var _0x50ffd6=_0x4fc2a2,_0x9a24fa;this[_0x50ffd6(0x102)]=setTimeout(()=>{var _0x7f5aea=_0x50ffd6;this['_collaborationTimeoutTimer']=null,this[_0x7f5aea(0x2db)]['emitEvent']({'id':se[_0x7f5aea(0x2e0)]});},(_0x9a24fa=this[_0x50ffd6(0xde)][_0x50ffd6(0xe5)](Si))!=null?_0x9a24fa:Ei);}[_0x4fc2a2(0x22d)](){var _0x33b86c=_0x4fc2a2;this[_0x33b86c(0x102)]&&(clearTimeout(this[_0x33b86c(0x102)]),this[_0x33b86c(0x102)]=null);}[_0x4fc2a2(0x138)](_0x2ad16b){var _0x20cc64=_0x4fc2a2;if(!this['_shouldReportTelemetry'])return;const {data:_0x1f65dc}=_0x2ad16b,{unitID:_0x4ea9be,changeset:_0x5356ac}=_0x1f65dc,{mutations:_0x3d243c,type:_0x50ea28}=_0x5356ac;this[_0x20cc64(0x1e5)]={'unitId':_0x4ea9be,'type':_0x50ea28,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x3d243c)};}[_0x4fc2a2(0xd3)](){var _0x150af0=_0x4fc2a2;if(this[_0x150af0(0xf5)]){if(!this[_0x150af0(0x1e5)]){this[_0x150af0(0x2b2)][_0x150af0(0x2a8)](_0x150af0(0x153),_0x150af0(0x2e1));return;}this[_0x150af0(0x1e5)][_0x150af0(0x1f1)]=performance[_0x150af0(0x105)](),this[_0x150af0(0x1e5)][_0x150af0(0x7f)]=this['_telemetryInfo'][_0x150af0(0x1f1)]-this[_0x150af0(0x1e5)][_0x150af0(0x299)],this[_0x150af0(0x106)]['capture'](Vn,this[_0x150af0(0x1e5)]),this[_0x150af0(0x1e5)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x2a6f08=_0x4fc2a2;this[_0x2a6f08(0x1e5)]=null;}};It=Xn([me(0x2,_0x45f59a),me(0x3,_0x1a3e87),me(0x4,_0x4a88e2(_0x5f27d9)),me(0x5,_0x4a88e2(xe)),me(0x6,_0x4a88e2(Ri)),me(0x7,_0x4a88e2(pe)),me(0x8,_0x43164b(_0x39fb93))],It);var Zn=Object[_0x4fc2a2(0x241)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x3f3ed8,_0xfb103d,_0xce7892,_0x41b49d)=>{var _0x445d74=_0x4fc2a2;for(var _0x4f304c=_0x41b49d>0x1?void 0x0:_0x41b49d?Qn(_0xfb103d,_0xce7892):_0xfb103d,_0x3b6713=_0x3f3ed8[_0x445d74(0x1ad)]-0x1,_0x523490;_0x3b6713>=0x0;_0x3b6713--)(_0x523490=_0x3f3ed8[_0x3b6713])&&(_0x4f304c=(_0x41b49d?_0x523490(_0xfb103d,_0xce7892,_0x4f304c):_0x523490(_0x4f304c))||_0x4f304c);return _0x41b49d&&_0x4f304c&&Zn(_0xfb103d,_0xce7892,_0x4f304c),_0x4f304c;},ge=(_0x39fca9,_0x53cefd)=>(_0x5b3c85,_0x5a15d2)=>_0x53cefd(_0x5b3c85,_0x5a15d2,_0x39fca9);let Le=class extends _0x43d0b2{constructor(_0x1dd23c,_0x3e711e,_0x43e40a,_0x356010,_0x415440,_0x5b6ac6,_0x2e827a){var _0x3e272c=_0x4fc2a2;super(),N(this,_0x3e272c(0x204),new _0x5b8830(void 0x0)),N(this,_0x3e272c(0xb5),this[_0x3e272c(0x204)]['asObservable']()),N(this,_0x3e272c(0x1ed),null),N(this,_0x3e272c(0x17d),new Map()),N(this,_0x3e272c(0xcc),new _0x5b8830(Te[_0x3e272c(0x1f9)])),N(this,_0x3e272c(0x2ef),this[_0x3e272c(0xcc)]['asObservable']()),N(this,_0x3e272c(0x1d5),!0x1),N(this,_0x3e272c(0x1bb)),N(this,_0x3e272c(0x2ec),0x0),N(this,_0x3e272c(0x14f)),N(this,_0x3e272c(0x2ed)),(this[_0x3e272c(0x26b)]=_0x1dd23c,this[_0x3e272c(0x2b2)]=_0x3e711e,this['_configService']=_0x43e40a,this['_socketService']=_0x356010,this['_httpService']=_0x415440,this[_0x3e272c(0x2db)]=_0x5b6ac6,this[_0x3e272c(0x19a)]=_0x2e827a,this[_0x3e272c(0x146)]());}get['_socket'](){return this['_socket$']['getValue']();}[_0x4fc2a2(0x146)](){var _0x47709d=_0x4fc2a2;this[_0x47709d(0x19a)]&&this[_0x47709d(0x2e8)](this[_0x47709d(0x19a)][_0x47709d(0x33b)]['subscribe'](_0x2845f3=>{var _0x2a5825=_0x47709d;_0x2845f3&&!this[_0x2a5825(0x1cd)]&&this[_0x2a5825(0x208)](),_0x2845f3||this[_0x2a5825(0x15a)]();}));}[_0x4fc2a2(0x147)](){var _0x2fc5ec=_0x4fc2a2;super[_0x2fc5ec(0x147)](),this[_0x2fc5ec(0x17d)][_0x2fc5ec(0x280)](_0x249077=>_0x249077[_0x2fc5ec(0x147)]()),this[_0x2fc5ec(0x17d)][_0x2fc5ec(0x8a)](),this[_0x2fc5ec(0xcc)][_0x2fc5ec(0x139)]();}async[_0x4fc2a2(0x26d)](_0xe9b4b4){var _0x5a0b4f=_0x4fc2a2;if(this[_0x5a0b4f(0x17d)][_0x5a0b4f(0x34d)](_0xe9b4b4))return this[_0x5a0b4f(0x17d)][_0x5a0b4f(0x333)](_0xe9b4b4);this[_0x5a0b4f(0x2f0)]();const _0x213bbf=this[_0x5a0b4f(0x26b)][_0x5a0b4f(0x87)](It,_0xe9b4b4,this[_0x5a0b4f(0x204)]['asObservable']());return this[_0x5a0b4f(0x17d)][_0x5a0b4f(0x127)](_0xe9b4b4,_0x213bbf),_0x213bbf;}['closeSession'](_0x34efe2){var _0x3b851a=_0x4fc2a2,_0xb8655e;const _0x96a529=this['_sessions'][_0x3b851a(0x333)](_0x34efe2);_0x96a529&&(this[_0x3b851a(0x17d)][_0x3b851a(0x292)](_0x34efe2),_0x96a529['close']()),this['_sessions'][_0x3b851a(0x242)]||(_0xb8655e=this[_0x3b851a(0x1cd)])==null||_0xb8655e[_0x3b851a(0x25b)]();}[_0x4fc2a2(0x208)](){var _0x432ea1=_0x4fc2a2;this[_0x432ea1(0x2ec)]=0x0,this[_0x432ea1(0x1bb)]!=null&&(clearTimeout(this[_0x432ea1(0x1bb)]),this[_0x432ea1(0x1bb)]=null),this[_0x432ea1(0xe6)]();}async[_0x4fc2a2(0x232)](){var _0x23149f=_0x4fc2a2,_0xa91352,_0x189569,_0x51ddba;const _0x37a66=this[_0x23149f(0xde)][_0x23149f(0xe5)](q),_0x35b4d4=(_0xa91352=_0x37a66==null?void 0x0:_0x37a66[_0x23149f(0x2c8)])!=null?_0xa91352:On;return(_0x51ddba=(_0x189569=(await this[_0x23149f(0x2e2)][_0x23149f(0x333)](_0x35b4d4,{'headers':{'Content-Type':_0x23149f(0x23f)}}))['body'])==null?void 0x0:_0x189569[_0x23149f(0x320)])!=null?_0x51ddba:'';}[_0x4fc2a2(0xf1)](_0x175419){var _0xeec229=_0x4fc2a2,_0x10cdd3,_0x5112a1;const _0x1bf93b=this[_0xeec229(0xde)][_0xeec229(0xe5)](Rn),_0x2d80ac=this[_0xeec229(0xde)][_0xeec229(0xe5)](q),_0x450764=(_0x5112a1=(_0x10cdd3=_0x2d80ac==null?void 0x0:_0x2d80ac[_0xeec229(0x181)])!=null?_0x10cdd3:_0x1bf93b)!=null?_0x5112a1:bn,_0x26d4ee=typeof window>'u'?new URL(_0x450764):new URL(_0x450764,window[_0xeec229(0xf6)][_0xeec229(0xc2)]);_0x26d4ee[_0xeec229(0x158)][_0xeec229(0x127)]('sessionTicket',_0x175419);const _0x45e07b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xeec229(0xf6)][_0xeec229(0x12c)]);return _0x45e07b[_0xeec229(0x333)](_0xeec229(0x2a6))&&_0x26d4ee[_0xeec229(0x158)][_0xeec229(0x127)](_0xeec229(0x2a6),_0x45e07b[_0xeec229(0x333)](_0xeec229(0x2a6))),_0x26d4ee[_0xeec229(0x2b3)]();}async['_createSocket'](){var _0x328d02=_0x4fc2a2;const _0x5e290c=await this[_0x328d02(0x232)](),_0x3cac02=this['_createSocketURL'](_0x5e290c),_0x3cedd7=this[_0x328d02(0xdb)][_0x328d02(0x272)](_0x3cac02);return this[_0x328d02(0x1ed)]=_0x3cedd7,_0x3cedd7;}async['_tryEnsureSocket'](){var _0x48c1dc=_0x4fc2a2,_0x3c11b6,_0x16f1e9;try{const _0x192dc6=(_0x16f1e9=(_0x3c11b6=this[_0x48c1dc(0x1cd)])!=null?_0x3c11b6:this['_candidateSocket'])!=null?_0x16f1e9:await this[_0x48c1dc(0x104)]();if(_0x192dc6){const _0x1292b5=_0x192dc6[_0x48c1dc(0x78)];_0x192dc6[_0x48c1dc(0x78)]=_0x6e1617=>(this[_0x48c1dc(0x21f)](),_0x1292b5[_0x48c1dc(0x279)](_0x192dc6,[_0x6e1617])),_0x192dc6[_0x48c1dc(0x1c3)][_0x48c1dc(0x20c)](_0x4e0024=>this[_0x48c1dc(0x135)](_0x192dc6,_0x4e0024)),_0x192dc6['error$'][_0x48c1dc(0x32d)](_0x15cdc2(0x1))[_0x48c1dc(0x20c)](_0x2fc286=>this[_0x48c1dc(0x2b2)][_0x48c1dc(0x2a8)](_0x48c1dc(0x2c4),_0x2fc286)),_0x192dc6[_0x48c1dc(0x28d)][_0x48c1dc(0x32d)](_0x15cdc2(0x1))['subscribe'](()=>{var _0x51b357=_0x48c1dc;this[_0x51b357(0x254)](_0x192dc6);}),_0x192dc6[_0x48c1dc(0x116)]['pipe'](_0x15cdc2(0x1))[_0x48c1dc(0x20c)](_0x36e4ac=>{var _0x2fb2c9=_0x48c1dc;this[_0x2fb2c9(0x2b2)]['debug'](_0x2fb2c9(0xea),_0x2fb2c9(0x251),_0x36e4ac),this[_0x2fb2c9(0x17b)]();});}}catch(_0x176d60){this[_0x48c1dc(0x2b2)]['error'](_0x176d60),this[_0x48c1dc(0x17b)]();}}[_0x4fc2a2(0x254)](_0x45f68b){var _0x3ea2f8=_0x4fc2a2;this[_0x3ea2f8(0x2b2)][_0x3ea2f8(0x6e)](_0x3ea2f8(0xea),_0x3ea2f8(0x114)),_0x45f68b[_0x3ea2f8(0x78)]({'cmd':F['HELLO']}),this[_0x3ea2f8(0x21f)]();}[_0x4fc2a2(0x15a)](){var _0x344402=_0x4fc2a2;this[_0x344402(0x1d5)]=!0x1,this[_0x344402(0x1ed)]=null,this[_0x344402(0xcc)]['next'](Te[_0x344402(0x13a)]),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x4fc2a2(0x17b)](){var _0x6e03e7=_0x4fc2a2,_0x1d3b2b;this[_0x6e03e7(0x15a)](),this[_0x6e03e7(0x2ec)]<((_0x1d3b2b=this['_configService'][_0x6e03e7(0xe5)](Pn))!=null?_0x1d3b2b:wn)?(this[_0x6e03e7(0x2db)][_0x6e03e7(0x98)]({'id':se[_0x6e03e7(0x24d)]}),this[_0x6e03e7(0xe6)]()):this[_0x6e03e7(0x2db)][_0x6e03e7(0x98)]({'id':se[_0x6e03e7(0x2ac)]});}[_0x4fc2a2(0xe6)](){var _0x267a08=_0x4fc2a2,_0x344d1c;const _0x456434=this[_0x267a08(0x2ec)],_0x52bd34=this[_0x267a08(0xde)][_0x267a08(0xe5)](q),_0xfee4da=_0x456434===0x0?0x0:((_0x344d1c=_0x52bd34==null?void 0x0:_0x52bd34[_0x267a08(0x293)])!=null?_0x344d1c:Dn)*0x2**_0x456434;this[_0x267a08(0x1bb)]=setTimeout(()=>{var _0x3a3ede=_0x267a08;clearTimeout(this[_0x3a3ede(0x1bb)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0xfee4da),this[_0x267a08(0x2ec)]+=0x1;}[_0x4fc2a2(0x135)](_0x5877f1,_0xab4dd7){var _0x8da1b5=_0x4fc2a2;const {cmd:_0x4d5a85}=_0xab4dd7;_0x4d5a85===F['HELLO']&&!this[_0x8da1b5(0x1d5)]&&(_0x5877f1[_0x8da1b5(0x2aa)]=_0xab4dd7[_0x8da1b5(0x14c)][_0x8da1b5(0x2aa)],this['_socket$'][_0x8da1b5(0x347)](_0x5877f1),this[_0x8da1b5(0xcc)][_0x8da1b5(0x347)](Te[_0x8da1b5(0x187)]),this[_0x8da1b5(0x1d5)]=!0x0,this['_candidateSocket']=null),_0x4d5a85===F[_0x8da1b5(0x12f)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x4fc2a2(0x21f)](){var _0x505942=_0x4fc2a2,_0x1df29f;this[_0x505942(0x1d6)](),this[_0x505942(0x14f)]=setTimeout(()=>this[_0x505942(0x1f2)](),(_0x1df29f=this[_0x505942(0xde)][_0x505942(0xe5)](yn))!=null?_0x1df29f:Nn);}['_sendHeartbeat'](){var _0x21d181=_0x4fc2a2;this[_0x21d181(0x1cd)][_0x21d181(0x78)]({'cmd':F[_0x21d181(0x12f)]}),this[_0x21d181(0xbe)]();}[_0x4fc2a2(0xbe)](){var _0x20e6bd=_0x4fc2a2,_0x308ff0;this[_0x20e6bd(0x2ed)]=setTimeout(()=>this[_0x20e6bd(0x17b)](),(_0x308ff0=this[_0x20e6bd(0xde)][_0x20e6bd(0xe5)](Si))!=null?_0x308ff0:Ei);}['_clearHeartbeatTimer'](){var _0xe5c89d=_0x4fc2a2;this[_0xe5c89d(0x14f)]!=null&&(clearTimeout(this[_0xe5c89d(0x14f)]),this[_0xe5c89d(0x14f)]=null);}[_0x4fc2a2(0x101)](){var _0x3020d8=_0x4fc2a2;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x3020d8(0x2ed)]),this[_0x3020d8(0x2ed)]=null);}};Le=er([ge(0x0,_0x4a88e2(_0x530b2b)),ge(0x1,_0x45f59a),ge(0x2,_0x1a3e87),ge(0x3,Ci),ge(0x4,_0x4a88e2(_0x1b7bd1)),ge(0x5,_0x4a88e2(pe)),ge(0x6,_0x43164b(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x4fc2a2(0x2b3)](0x10)[_0x4fc2a2(0x2a0)](0x1));function tr(_0x30bfef,_0x2fad97=0x0){return(V[_0x30bfef[_0x2fad97+0x0]]+V[_0x30bfef[_0x2fad97+0x1]]+V[_0x30bfef[_0x2fad97+0x2]]+V[_0x30bfef[_0x2fad97+0x3]]+'-'+V[_0x30bfef[_0x2fad97+0x4]]+V[_0x30bfef[_0x2fad97+0x5]]+'-'+V[_0x30bfef[_0x2fad97+0x6]]+V[_0x30bfef[_0x2fad97+0x7]]+'-'+V[_0x30bfef[_0x2fad97+0x8]]+V[_0x30bfef[_0x2fad97+0x9]]+'-'+V[_0x30bfef[_0x2fad97+0xa]]+V[_0x30bfef[_0x2fad97+0xb]]+V[_0x30bfef[_0x2fad97+0xc]]+V[_0x30bfef[_0x2fad97+0xd]]+V[_0x30bfef[_0x2fad97+0xe]]+V[_0x30bfef[_0x2fad97+0xf]])['toLowerCase']();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x583209=_0x4fc2a2;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x583209(0x73));ut=crypto[_0x583209(0x28c)][_0x583209(0x223)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x4fc2a2(0x223)](crypto),qt={'randomUUID':rr};function sr(_0x10fe17,_0x172cb0,_0x52782b){var _0x15a91b=_0x4fc2a2,_0x4f61b4,_0x5c0a53,_0x5dddc6;if(qt[_0x15a91b(0x1d2)]&&!_0x10fe17)return qt['randomUUID']();_0x10fe17=_0x10fe17||{};const _0x5d8e19=(_0x5dddc6=(_0x5c0a53=_0x10fe17[_0x15a91b(0x240)])!=null?_0x5c0a53:(_0x4f61b4=_0x10fe17['rng'])==null?void 0x0:_0x4f61b4['call'](_0x10fe17))!=null?_0x5dddc6:nr();if(_0x5d8e19['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x5d8e19[0x6]=_0x5d8e19[0x6]&0xf|0x40,_0x5d8e19[0x8]=_0x5d8e19[0x8]&0x3f|0x80,tr(_0x5d8e19);}const J=_0x466ca9('collaboration-client.local-cache-service');function so(_0x1f4c63){var _0x560f77=_0x4fc2a2;return _0x560f77(0x23d)+_0x1f4c63;}var or=Object['defineProperty'],ar=Object[_0x4fc2a2(0x2cf)],cr=(_0x2106c1,_0x38f062,_0x495444,_0xb5f70f)=>{for(var _0x2bdf05=_0xb5f70f>0x1?void 0x0:_0xb5f70f?ar(_0x38f062,_0x495444):_0x38f062,_0x10179c=_0x2106c1['length']-0x1,_0x415da0;_0x10179c>=0x0;_0x10179c--)(_0x415da0=_0x2106c1[_0x10179c])&&(_0x2bdf05=(_0xb5f70f?_0x415da0(_0x38f062,_0x495444,_0x2bdf05):_0x415da0(_0x2bdf05))||_0x2bdf05);return _0xb5f70f&&_0x2bdf05&&or(_0x38f062,_0x495444,_0x2bdf05),_0x2bdf05;},dt=(_0xba7f24,_0x240699)=>(_0x270fed,_0x1da4ff)=>_0x240699(_0x270fed,_0x1da4ff,_0xba7f24);function hr(_0x1332b2){var _0x100047=_0x4fc2a2;const {unitID:_0x55a011,mutations:_0x5df8fd}=_0x1332b2;return{'unitId':_0x55a011,'subUnitId':_0x5df8fd[0x0][_0x100047(0x156)][_0x100047(0x2cc)]};}let it=class{constructor(_0x3addb6,_0x4d0552,_0x2eb48f){var _0xdbbfb4=_0x4fc2a2;this[_0xdbbfb4(0x26b)]=_0x3addb6,this[_0xdbbfb4(0x1e3)]=_0x4d0552,this[_0xdbbfb4(0x321)]=_0x2eb48f;}[_0x4fc2a2(0x312)](_0x2daa40){var _0x207a20=_0x4fc2a2,_0x177c0,_0x28acb2,_0x306568,_0x38185d;const _0x12629c=this[_0x207a20(0x26b)][_0x207a20(0x333)](_0x5296f5),{unitId:_0x1195a8,subUnitId:_0x314c15}=hr(_0x2daa40),_0x1725b2=_0x12629c==null?void 0x0:_0x12629c[_0x207a20(0x1a6)](_0x1195a8)[_0x207a20(0x1e7)](),_0x144384=(_0x28acb2=(_0x177c0=this[_0x207a20(0x321)][_0x207a20(0x28a)](_0x1195a8))==null?void 0x0:_0x177c0['getActiveSheet']())==null?void 0x0:_0x28acb2['getSheetId']();if(_0x1725b2[_0x207a20(0x1ad)]===0x0||!_0x1195a8||!_0x314c15)return;const _0x55d050=[{'id':_0x3d3822['id'],'params':{'unitId':_0x1195a8,'subUnitId':_0x144384,'selections':_0x8666ff[_0x207a20(0x1fe)](_0x1725b2)}}],_0x5d1271=this[_0x207a20(0x1e3)]['transformMutationsWithChangeset'](_0x2daa40,_0x55d050);if(!_0x360e65(_0x5d1271))throw _0x5d1271[_0x207a20(0x2a8)];const _0x1f0f2b=(_0x38185d=(_0x306568=_0x5d1271[_0x207a20(0x359)][0x0])==null?void 0x0:_0x306568[_0x207a20(0x156)])==null?void 0x0:_0x38185d['selections'];if(Array[_0x207a20(0xac)](_0x1f0f2b)&&_0x1f0f2b[_0x207a20(0x1ad)]){if(_0x1f0f2b[_0x207a20(0x1ad)]===_0x55d050[0x0][_0x207a20(0x156)][_0x207a20(0x30a)]['length']&&_0x1f0f2b['every']((_0x62a96e,_0x49d807)=>_0xed4626[_0x207a20(0x71)](_0x62a96e[_0x207a20(0x193)],_0x55d050[0x0][_0x207a20(0x156)][_0x207a20(0x30a)][_0x49d807]['range'])))return;this[_0x207a20(0x26b)][_0x207a20(0x333)](_0x19223c)[_0x207a20(0x1d9)](_0x3d3822['id'],{'unitId':_0x1195a8,'subUnitId':_0x144384,'selections':_0x1f0f2b});}}};it=cr([dt(0x0,_0x4a88e2(_0x530b2b)),dt(0x1,_0x1e3cf5),dt(0x2,_0x52579b)],it);const ht=_0x466ca9(_0x4fc2a2(0x85));var bi=(_0x30b18e=>(_0x30b18e[_0x30b18e[_0x4fc2a2(0x108)]=0x0]=_0x4fc2a2(0x108),_0x30b18e[_0x30b18e[_0x4fc2a2(0x195)]=0x1]='OTHER_CLIENTS_EDITING',_0x30b18e))(bi||{});const _r=new Set([_0xaaa043['id']]);function zt(_0x5e41b5,_0x438286,_0x34ad29,_0x3f539f,_0x551737){var _0x533052=_0x4fc2a2,_0x1961aa,_0x1db288,_0x48f1f8,_0x41c2ca;const _0x412afb=[];for(const _0xa35901 of _0x5e41b5)if(_r['has'](_0xa35901['id'])){if(_0x412afb['length']>0x0)break;_0x412afb[_0x533052(0x18b)](_0xa35901);break;}else _0x412afb['push'](_0xa35901);const _0x32f0b2=(_0x1db288=(_0x1961aa=_0x551737[_0x533052(0x86)]())==null?void 0x0:_0x1961aa[_0x533052(0x355)])!=null?_0x1db288:_0x533052(0x29f),_0x4e82a1=(_0x41c2ca=(_0x48f1f8=_0x551737['getCurrentUser']())==null?void 0x0:_0x48f1f8[_0x533052(0x2aa)])!=null?_0x41c2ca:_0x533052(0x29f);return{'changeset':{'unitID':_0x438286,'type':_0x2a0fd9(_0x34ad29[_0x533052(0x357)](_0x438286)),'baseRev':_0x3f539f[_0x533052(0x248)](_0x438286),'revision':0x0,'userID':_0x32f0b2,'memberID':_0x4e82a1,'mutations':_0x412afb},'pendingMutations':_0x5e41b5['slice'](_0x412afb['length'])};}function lr(_0x506209,_0x233ba5,_0x101313,_0x24e5aa,_0x221beb){var _0x3cce83=_0x4fc2a2,_0x334691,_0x19853c,_0x1eb1c8,_0x46d5c5;const _0x574f84=[_0x506209[_0x3cce83(0x345)]((_0x2df79f,_0x25651c)=>{var _0x5c302a=_0x3cce83,_0x44d60d;const {id:_0x5f51b6}=_0x2df79f,{id:_0x5ae611,type:_0x1391ba}=_0x25651c,_0x2bf754=(_0x44d60d=_0x2df79f[_0x5c302a(0x156)])!=null?_0x44d60d:{'actions':null},_0x293210=_0x25651c[_0x5c302a(0x156)];if(_0x5f51b6&&_0x5f51b6!==_0x5ae611)throw new Error(_0x5c302a(0x2c5)+_0x5f51b6+_0x5c302a(0x19b)+_0x5ae611+'.');return{..._0x2df79f,'id':_0x5ae611,'type':_0x1391ba,'params':{'unitId':_0x293210[_0x5c302a(0x24a)],'textRanges':_0x293210[_0x5c302a(0x1bc)],'actions':_0x31d6ff[_0x5c302a(0x26a)](_0x2bf754['actions'],_0x293210[_0x5c302a(0x168)])}};},{})],_0x32e10c=(_0x19853c=(_0x334691=_0x221beb[_0x3cce83(0x86)]())==null?void 0x0:_0x334691[_0x3cce83(0x355)])!=null?_0x19853c:'unknown',_0x1e984f=(_0x46d5c5=(_0x1eb1c8=_0x221beb[_0x3cce83(0x86)]())==null?void 0x0:_0x1eb1c8[_0x3cce83(0x2aa)])!=null?_0x46d5c5:_0x3cce83(0x29f);return{'changeset':{'unitID':_0x233ba5,'type':_0x2a0fd9(_0x101313[_0x3cce83(0x357)](_0x233ba5)),'baseRev':_0x24e5aa['getCurrentRevOfUnit'](_0x233ba5),'revision':0x0,'userID':_0x32e10c,'memberID':_0x1e984f,'mutations':_0x574f84},'pendingMutations':[]};}function Oi(_0x16a030,_0x97a12a){var _0x61438=_0x4fc2a2;const _0x2777ba=new _0x39f31b(0x1);return setTimeout(()=>_0x2777ba[_0x61438(0x347)](_0x97a12a),_0x16a030),_0x2777ba[_0x61438(0x258)]()['pipe'](_0x4b94a0(0x1));}const ur={'id':_0x3a38be['id'],'type':_0x72f852['MUTATION'],'params':{}};var dr=Object[_0x4fc2a2(0x241)],fr=Object[_0x4fc2a2(0x2cf)],Re=(_0x58f7e7,_0x2f0262,_0x529ef4,_0x3e37ff)=>{var _0x468456=_0x4fc2a2;for(var _0x4c6ba6=_0x3e37ff>0x1?void 0x0:_0x3e37ff?fr(_0x2f0262,_0x529ef4):_0x2f0262,_0x326738=_0x58f7e7[_0x468456(0x1ad)]-0x1,_0x24560a;_0x326738>=0x0;_0x326738--)(_0x24560a=_0x58f7e7[_0x326738])&&(_0x4c6ba6=(_0x3e37ff?_0x24560a(_0x2f0262,_0x529ef4,_0x4c6ba6):_0x24560a(_0x4c6ba6))||_0x4c6ba6);return _0x3e37ff&&_0x4c6ba6&&dr(_0x2f0262,_0x529ef4,_0x4c6ba6),_0x4c6ba6;},A=(_0x456ffe,_0x1af08e)=>(_0x100062,_0x4efaf0)=>_0x1af08e(_0x100062,_0x4efaf0,_0x456ffe),yi=(_0x18111b=>(_0x18111b['NOT_COLLAB']=_0x4fc2a2(0x161),_0x18111b[_0x4fc2a2(0x231)]='synced',_0x18111b[_0x4fc2a2(0x2ca)]='pending',_0x18111b['AWAITING']='awaiting',_0x18111b[_0x4fc2a2(0x89)]=_0x4fc2a2(0x33a),_0x18111b['FETCH_MISS']=_0x4fc2a2(0x1a3),_0x18111b['CONFLICT']=_0x4fc2a2(0x200),_0x18111b['OFFLINE']=_0x4fc2a2(0x2b4),_0x18111b))(yi||{});const Ni=0xea60;class be{constructor(_0x4abe06,_0x279cfb,_0x3a96dc,_0x15d90e,_0x5acd85,_0x2e15fc,_0x55d88e,_0x37698a,_0x53f089){var _0x34003a=_0x4fc2a2;N(this,_0x34003a(0x1f6),null),N(this,_0x34003a(0x2d4),[]),(this[_0x34003a(0xb2)]=_0x4abe06,this[_0x34003a(0x11c)]=_0x279cfb,this[_0x34003a(0x237)]=_0x5acd85,this[_0x34003a(0xd5)]=_0x2e15fc,this[_0x34003a(0x21a)]=_0x55d88e,this[_0x34003a(0x140)]=_0x37698a,this[_0x34003a(0xab)]=_0x53f089,this[_0x34003a(0x1f6)]=_0x3a96dc,this[_0x34003a(0x2d4)]=_0x15d90e);}[_0x4fc2a2(0x113)](_0x1b07bf){var _0x1cb11e=_0x4fc2a2;const _0x17bb27=this[_0x1cb11e(0x140)][_0x1cb11e(0x248)](this[_0x1cb11e(0xb2)]);return _0x1b07bf['revision']>_0x17bb27+0x1?(this[_0x1cb11e(0x237)]['onMissingChangesets']({'from':_0x17bb27,'to':_0x1b07bf['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5e70a7){var _0x53e0b3=_0x4fc2a2;this[_0x53e0b3(0x21a)][_0x53e0b3(0x21d)](this['unitID'],_0x5e70a7);}[_0x4fc2a2(0x18c)](_0x450d3e){var _0x5e716a=_0x4fc2a2,_0x541609,_0x30d2d5;(_0x30d2d5=(_0x541609=this[_0x5e716a(0x237)])[_0x5e716a(0x21c)])==null||_0x30d2d5[_0x5e716a(0x238)](_0x541609,_0x450d3e);}['_transformIMECache'](_0x145f17){var _0x140750=_0x4fc2a2,_0x4271a6,_0x44e4ad;return(_0x44e4ad=(_0x4271a6=this[_0x140750(0x237)])[_0x140750(0x33f)])==null?void 0x0:_0x44e4ad[_0x140750(0x238)](_0x4271a6,_0x145f17);}[_0x4fc2a2(0x247)](_0x5b9431){var _0x30f274=_0x4fc2a2,_0x322bef,_0x24861a;return(_0x24861a=(_0x322bef=this[_0x30f274(0x237)])[_0x30f274(0xcd)])==null?void 0x0:_0x24861a[_0x30f274(0x238)](_0x322bef,_0x5b9431);}[_0x4fc2a2(0x16c)](_0x4d9d9e){var _0x33b803=_0x4fc2a2,_0x52c4aa,_0x50b700,_0x3e9424;return(_0x3e9424=(_0x50b700=(_0x52c4aa=this[_0x33b803(0x237)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x50b700[_0x33b803(0x238)](_0x52c4aa,_0x4d9d9e))!=null?_0x3e9424:_0x4d9d9e;}[_0x4fc2a2(0x14d)](_0x38acac){var _0xb81435=_0x4fc2a2,_0x19d8b8,_0xe3c92f,_0x556a69;return(_0x556a69=(_0xe3c92f=(_0x19d8b8=this[_0xb81435(0x237)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xe3c92f[_0xb81435(0x238)](_0x19d8b8,_0x38acac))!=null?_0x556a69:_0x38acac;}[_0x4fc2a2(0x2b7)](_0x336f5a){var _0x554e45=_0x4fc2a2,_0x5067c9,_0x2e0a1f;if(this['type']===Q['UNIVER_DOC']){const {unitID:_0x3c2d73,mutations:_0x1d85cd,memberID:_0x585db3}=_0x336f5a,_0x4dde17=_0x1d85cd[0x0][_0x554e45(0x156)]['textRanges'];Array['isArray'](_0x4dde17)&&_0x4dde17[_0x554e45(0x1ad)]>0x0&&((_0x2e0a1f=(_0x5067c9=this['_handler'])[_0x554e45(0x77)])==null||_0x2e0a1f[_0x554e45(0x238)](_0x5067c9,{'unitID':_0x3c2d73,'memberID':_0x585db3,'textRanges':_0x4dde17}));}}[_0x4fc2a2(0x10e)](){var _0x3c0e40=_0x4fc2a2,_0x5d4721;(_0x5d4721=this['_localCacheService'])==null||_0x5d4721['updateOfflineData'](this['unitID'],this[_0x3c0e40(0x11c)],this[_0x3c0e40(0x1f6)],this[_0x3c0e40(0x2d4)]);}[_0x4fc2a2(0x27a)](){var _0x1f34b8=_0x4fc2a2;return this[_0x1f34b8(0x140)]['getCurrentRevOfUnit'](this['unitID']);}[_0x4fc2a2(0x31a)](){var _0x3cb7d7=_0x4fc2a2;this[_0x3cb7d7(0x140)]['incrementRevOfUnit'](this[_0x3cb7d7(0xb2)]);}[_0x4fc2a2(0x1fa)](_0x510be7){var _0x37a84b=_0x4fc2a2,_0x2f228a;let _0x2af4a9=this[_0x37a84b(0x16c)](_0x510be7);_0x2af4a9=this[_0x37a84b(0x14d)](_0x2af4a9);const _0x4c6256=_0xb0c954(_0x2af4a9[_0x37a84b(0x18e)],this[_0x37a84b(0xd5)],{'fromCollab':!0x0});if(!_0x4c6256[_0x37a84b(0x329)])throw _0x4c6256[_0x37a84b(0x2a8)]instanceof Error?_0x4c6256['error']:new Error((_0x2f228a=_0x4c6256[_0x37a84b(0x2a8)])!=null?_0x2f228a:_0x37a84b(0xee));this['_transformIMECache'](_0x2af4a9),this[_0x37a84b(0x247)](_0x2af4a9),this[_0x37a84b(0x14a)](_0x510be7),this[_0x37a84b(0x18c)](_0x2af4a9),this[_0x37a84b(0x2b7)](_0x2af4a9),this[_0x37a84b(0x31a)]();}}let De=class extends be{constructor(_0x144e56,_0x412615,_0x5eab6b,_0x299906,_0x4aa912,_0x431ec5,_0x23ef4e,_0x40f3da,_0x3e29c5,_0x586462){var _0x46dba4=_0x4fc2a2;super(_0x144e56,_0x412615,null,[],_0x5eab6b,_0x23ef4e,_0x431ec5,_0x299906,_0x586462),N(this,'status','synced'),(this[_0x46dba4(0x26b)]=_0x4aa912,this[_0x46dba4(0x2b2)]=_0x40f3da,this[_0x46dba4(0x1e3)]=_0x3e29c5,this['localCacheService']=_0x586462);}['appendMutation'](_0x4e9826){var _0x341993=_0x4fc2a2;const _0x18cb00=this['_injector'][_0x341993(0x87)](oe,this['unitID'],this[_0x341993(0x11c)],[_0x4e9826],this['_handler']);return _0x18cb00['_schedule'](),_0x18cb00['_updateLocalCache'](),_0x18cb00;}[_0x4fc2a2(0x1f4)](_0x4f1e25){var _0x9988=_0x4fc2a2;if(this[_0x9988(0x113)](_0x4f1e25))return this[_0x9988(0x26b)][_0x9988(0x87)](te,this[_0x9988(0xb2)],this[_0x9988(0x11c)],null,[],null,[_0x4f1e25],this[_0x9988(0x237)]);try{const _0x14a6bc=this[_0x9988(0x1e3)][_0x9988(0x70)](_0x4f1e25,[ur]);if(_0x360e65(_0x14a6bc)){const {c1Prime:_0x3a2a59}=_0x14a6bc;return this[_0x9988(0x1fa)](_0x3a2a59),this;}throw _0x14a6bc['error'];}catch(_0x387530){return this[_0x9988(0x2b2)][_0x9988(0x2a8)](_0x387530),this['_onConflict'](!0x1);}}[_0x4fc2a2(0xfb)](_0x2d5471){var _0x35ad41=_0x4fc2a2;return this['_injector'][_0x35ad41(0x87)](de,this[_0x35ad41(0xb2)],this['type'],null,[],this[_0x35ad41(0x237)],_0x2d5471);}[_0x4fc2a2(0x16a)](){var _0x334ed4=_0x4fc2a2;throw new Error(_0x334ed4(0x9a));}[_0x4fc2a2(0x205)](){var _0x2f02af=_0x4fc2a2;throw new Error(_0x2f02af(0x21e));}['onRemoteRetry'](){return this;}[_0x4fc2a2(0x295)](){var _0x378522=_0x4fc2a2;return this[_0x378522(0x26b)][_0x378522(0x87)](fe,this['unitID'],this['type'],null,[],this[_0x378522(0x237)]);}['toggleOnline'](){return this;}[_0x4fc2a2(0x261)](){var _0xe1072=_0x4fc2a2;throw new Error(_0xe1072(0x91));}[_0x4fc2a2(0x10f)](){var _0x302a36=_0x4fc2a2;const _0x46336c=this[_0x302a36(0x140)]['getCurrentRevOfUnit'](this[_0x302a36(0xb2)]);return this[_0x302a36(0x237)][_0x302a36(0x29a)]({'from':_0x46336c,'to':0x0}),this[_0x302a36(0x26b)][_0x302a36(0x87)](te,this[_0x302a36(0xb2)],this[_0x302a36(0x11c)],null,[],null,[],this[_0x302a36(0x237)]);}};De=Re([A(0x3,_0x4a88e2(_0x492867)),A(0x4,_0x4a88e2(_0x530b2b)),A(0x5,_0x25ef46),A(0x6,_0x19223c),A(0x7,_0x45f59a),A(0x8,_0x1e3cf5),A(0x9,_0x43164b(J))],De);let oe=class extends be{constructor(_0x145311,_0x267197,_0x3985be,_0x29e57f,_0xa63c80,_0x14fff6,_0x20c52b,_0x3e0be7,_0x1ea7e0,_0x7b56f5,_0x599d5c,_0x287fa8,_0x51e51a,_0x31624d){var _0x284cf0=_0x4fc2a2;super(_0x145311,_0x267197,null,_0x3985be,_0x29e57f,_0x1ea7e0,_0x51e51a,_0x14fff6,_0x31624d),N(this,_0x284cf0(0x319),'pending'),N(this,_0x284cf0(0x162),null),N(this,_0x284cf0(0x34f),null),(this[_0x284cf0(0x26b)]=_0xa63c80,this[_0x284cf0(0xf0)]=_0x20c52b,this[_0x284cf0(0x2b2)]=_0x3e0be7,this[_0x284cf0(0xde)]=_0x7b56f5,this[_0x284cf0(0x1e3)]=_0x599d5c,this[_0x284cf0(0x2ab)]=_0x287fa8);}[_0x4fc2a2(0x2a4)](_0x400494){var _0x4e188a=_0x4fc2a2;return this[_0x4e188a(0x2d4)][_0x4e188a(0x18b)](_0x400494),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x313187){var _0x5d696b=_0x4fc2a2;if(this[_0x5d696b(0x113)](_0x313187))return this[_0x5d696b(0x186)](),this['_injector'][_0x5d696b(0x87)](te,this[_0x5d696b(0xb2)],this[_0x5d696b(0x11c)],null,this[_0x5d696b(0x2d4)],null,[_0x313187],this[_0x5d696b(0x237)]);try{const _0x52d408=this[_0x5d696b(0x1e3)][_0x5d696b(0x70)](_0x313187,this[_0x5d696b(0x2d4)]);if(_0x360e65(_0x52d408)){const {c1Prime:_0x211835,m2Prime:_0x103970}=_0x52d408;this[_0x5d696b(0x1fa)](_0x211835);const _0x475d65=this['_injector']['createInstance'](oe,this[_0x5d696b(0xb2)],this['type'],_0x103970,this[_0x5d696b(0x237)]);this['_clearScheduledTask']();const _0x26aa51=new Date()['getTime'](),_0x4e6cda=this[_0x5d696b(0x162)]?Math[_0x5d696b(0x2bc)](this[_0x5d696b(0x162)]-_0x26aa51,0x0):this['_getSendChangesetTimeout']();return _0x475d65[_0x5d696b(0x364)](_0x4e6cda),_0x475d65;}throw _0x52d408[_0x5d696b(0x2a8)];}catch(_0x4117d2){return this['_logService'][_0x5d696b(0x2a8)](_0x4117d2),this[_0x5d696b(0xfb)](!0x1);}}[_0x4fc2a2(0x16a)](){var _0x5df036=_0x4fc2a2;throw new Error(_0x5df036(0x111));}['onRemoteRej'](){var _0x429948=_0x4fc2a2;throw new Error(_0x429948(0xa6));}[_0x4fc2a2(0x226)](){return this;}[_0x4fc2a2(0x295)](){var _0x17d95d=_0x4fc2a2;return this[_0x17d95d(0x186)](),this[_0x17d95d(0x26b)]['createInstance'](fe,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x17d95d(0x237)]);}[_0x4fc2a2(0x15f)](){return this;}[_0x4fc2a2(0x364)](_0x5ae88a){var _0x423faa=_0x4fc2a2;const _0x400962=_0x5ae88a!=null?_0x5ae88a:this[_0x423faa(0x332)]();this[_0x423faa(0x162)]=new Date()[_0x423faa(0x2f6)]()+_0x400962,this[_0x423faa(0x34f)]=setTimeout(()=>{var _0x25f3a1=_0x423faa;this[_0x25f3a1(0x186)]();let _0xd9d013=null;switch(this['type']){case Q[_0x25f3a1(0x83)]:{_0xd9d013=zt(this['_pendingMutations'],this[_0x25f3a1(0xb2)],this[_0x25f3a1(0x2ab)],this['_revisionService'],this[_0x25f3a1(0xf0)]);break;}case Q[_0x25f3a1(0x1c5)]:{this[_0x25f3a1(0x2d4)][_0x25f3a1(0x1d1)](_0x37da7d=>_0x37da7d['id']===_0x384e74['id'])?_0xd9d013=lr(this[_0x25f3a1(0x2d4)],this[_0x25f3a1(0xb2)],this[_0x25f3a1(0x2ab)],this[_0x25f3a1(0x140)],this[_0x25f3a1(0xf0)]):_0xd9d013=zt(this[_0x25f3a1(0x2d4)],this[_0x25f3a1(0xb2)],this['_univerInstanceService'],this['_revisionService'],this[_0x25f3a1(0xf0)]);break;}default:throw new Error(_0x25f3a1(0x313)+this[_0x25f3a1(0x11c)]+_0x25f3a1(0x1c4));}const {changeset:_0x52c042,pendingMutations:_0x2b798a}=_0xd9d013;this[_0x25f3a1(0x237)]['onSendChangeset'](_0x52c042);const _0x5f51e8=_0x2b798a['length']?this[_0x25f3a1(0x26b)][_0x25f3a1(0x87)](ae,this[_0x25f3a1(0xb2)],this[_0x25f3a1(0x11c)],_0x52c042,_0x2b798a,this[_0x25f3a1(0x237)],void 0x0):this['_injector']['createInstance'](ue,this[_0x25f3a1(0xb2)],this[_0x25f3a1(0x11c)],_0x52c042,this[_0x25f3a1(0x237)]);_0x5f51e8[_0x25f3a1(0x10e)](),this['_handler'][_0x25f3a1(0x16b)](this,_0x5f51e8);},_0x400962);}[_0x4fc2a2(0x332)](){var _0x5e3060=_0x4fc2a2,_0x3b7e88;const _0x481685=this[_0x5e3060(0xde)][_0x5e3060(0xe5)](q);return(_0x3b7e88=_0x481685==null?void 0x0:_0x481685['sendChangesetTimeout'])!=null?_0x3b7e88:Cn;}[_0x4fc2a2(0x261)](){var _0x5c9ba2=_0x4fc2a2;throw new Error(_0x5c9ba2(0x32c));}[_0x4fc2a2(0x186)](){var _0x5a1920=_0x4fc2a2;this[_0x5a1920(0x34f)]!=null&&(clearTimeout(this[_0x5a1920(0x34f)]),this[_0x5a1920(0x34f)]=null);}[_0x4fc2a2(0xfb)](_0x5509d4){var _0x311189=_0x4fc2a2;return this[_0x311189(0x186)](),this[_0x311189(0x26b)][_0x311189(0x87)](de,this[_0x311189(0xb2)],this[_0x311189(0x11c)],null,this['_pendingMutations'],this[_0x311189(0x237)],_0x5509d4);}};oe=Re([A(0x4,_0x4a88e2(_0x530b2b)),A(0x5,_0x4a88e2(_0x492867)),A(0x6,_0x4a88e2(xe)),A(0x7,_0x45f59a),A(0x8,_0x19223c),A(0x9,_0x1a3e87),A(0xa,_0x1e3cf5),A(0xb,_0x52579b),A(0xc,_0x25ef46),A(0xd,_0x43164b(J))],oe);let ue=class extends be{constructor(_0x7c8231,_0x2085a9,_0x43b424,_0x5a5f5f,_0x3e41c2,_0x29a8f5,_0x526146,_0xe1c52a,_0x37040e,_0x252791,_0x234a68){var _0x2d9283=_0x4fc2a2;super(_0x7c8231,_0x2085a9,_0x43b424,[],_0x5a5f5f,_0x526146,_0x252791,_0x29a8f5,_0x234a68),N(this,_0x2d9283(0x319),_0x2d9283(0x314)),N(this,_0x2d9283(0x2f9),0x0),N(this,'_resendTimer'),N(this,_0x2d9283(0x267)),(this['_injector']=_0x3e41c2,this[_0x2d9283(0x2b2)]=_0xe1c52a,this['_transformService']=_0x37040e);}[_0x4fc2a2(0x2a4)](_0x3f3106){var _0x37f26e=_0x4fc2a2;this[_0x37f26e(0x186)]();const _0x10315f=this['_injector']['createInstance'](ae,this[_0x37f26e(0xb2)],this[_0x37f26e(0x11c)],this['_awaitingChangeset'],[_0x3f3106],this['_handler'],this[_0x37f26e(0x7c)]);return _0x10315f['_updateLocalCache'](),_0x10315f;}[_0x4fc2a2(0x1f4)](_0x3d48b6){var _0x2ba040=_0x4fc2a2;if(this[_0x2ba040(0x113)](_0x3d48b6))return this[_0x2ba040(0x186)](),this['_injector'][_0x2ba040(0x87)](te,this[_0x2ba040(0xb2)],this['type'],this[_0x2ba040(0x1f6)],[],null,[_0x3d48b6],this['_handler']);try{const _0x30d789=this[_0x2ba040(0x1e3)][_0x2ba040(0x245)]([_0x3d48b6],[this[_0x2ba040(0x1f6)]],!0x1);if(_0x47e207(_0x30d789)){const {c1Prime:_0x5d3cdb,c2Prime:_0x5602b9}=_0x30d789;this[_0x2ba040(0x1fa)](_0x5d3cdb[0x0]),_0x5602b9[0x0][_0x2ba040(0x28e)]=this[_0x2ba040(0x27a)](),this['_clearScheduledTask']();const _0x5eeefd=this[_0x2ba040(0x26b)][_0x2ba040(0x87)](ue,this['unitID'],this[_0x2ba040(0x11c)],_0x5602b9[0x0],this[_0x2ba040(0x237)]);return _0x5eeefd[_0x2ba040(0x10e)](),_0x5eeefd;}return this[_0x2ba040(0xfb)](!0x1);}catch(_0x26f176){return this['_logService'][_0x2ba040(0x2a8)](_0x26f176),this[_0x2ba040(0xfb)](!0x1);}}['onRemoteAck'](_0x1b4b04){var _0x2af628=_0x4fc2a2;this['_clearScheduledTask']();const _0x3c4485=this[_0x2af628(0x140)][_0x2af628(0x248)](this[_0x2af628(0xb2)]);if(_0x1b4b04['revision']<_0x3c4485-0x1)return this;if(this[_0x2af628(0x113)](_0x1b4b04))return this[_0x2af628(0x26b)]['createInstance'](te,this[_0x2af628(0xb2)],this[_0x2af628(0x11c)],null,[],this[_0x2af628(0x1f6)],[],this[_0x2af628(0x237)]);this[_0x2af628(0x31a)]();const _0x780451=this[_0x2af628(0x26b)][_0x2af628(0x87)](De,this[_0x2af628(0xb2)],this[_0x2af628(0x11c)],this['_handler']);return _0x780451[_0x2af628(0x10e)](),_0x780451;}[_0x4fc2a2(0x205)](_0x37f376){return this['_onConflict'](!!(_0x37f376!=null&&_0x37f376['isPermissionRej']));}['onRemoteRetry'](_0x557220){var _0x36ab21=_0x4fc2a2;return this[_0x36ab21(0x2f9)]>Ni?this[_0x36ab21(0x295)]():(this[_0x36ab21(0x7c)]=Oi(this[_0x36ab21(0x2f9)],{'timeout':this['_resendTimeout'],'reqId':_0x557220[_0x36ab21(0x259)]}),this[_0x36ab21(0x267)]=this['_resendTimer'][_0x36ab21(0x20c)](({reqId:_0x3866a5,timeout:_0x2a4a4f})=>{var _0x14757e=_0x36ab21;this[_0x14757e(0x1b4)](_0x3866a5,_0x2a4a4f);}),this);}[_0x4fc2a2(0x295)](){var _0x4a3806=_0x4fc2a2;return this[_0x4a3806(0x186)](),this['_injector']['createInstance'](fe,this[_0x4a3806(0xb2)],this[_0x4a3806(0x11c)],this[_0x4a3806(0x1f6)],[],this[_0x4a3806(0x237)]);}[_0x4fc2a2(0x15f)](){return this;}[_0x4fc2a2(0x261)](){var _0x2b0899=_0x4fc2a2;this[_0x2b0899(0x237)][_0x2b0899(0x1a2)](this[_0x2b0899(0x1f6)]);}[_0x4fc2a2(0xfb)](_0x50d7b0){var _0x252f82=_0x4fc2a2;return this['_clearScheduledTask'](),this['_injector'][_0x252f82(0x87)](de,this[_0x252f82(0xb2)],this['type'],this['_awaitingChangeset'],[],this[_0x252f82(0x237)],_0x50d7b0);}[_0x4fc2a2(0x1b4)](_0x5d86f8,_0x59be83){var _0x7043dd=_0x4fc2a2,_0xd9a6c4;_0x5d86f8===((_0xd9a6c4=this[_0x7043dd(0x1f6)])==null?void 0x0:_0xd9a6c4['reqId'])&&(this[_0x7043dd(0x261)](),this['_resendTimeout']=_0x59be83===0x0?0x3e8:_0x59be83*0x2);}[_0x4fc2a2(0x186)](){var _0x5a2a38=_0x4fc2a2,_0x5c0973;(_0x5c0973=this[_0x5a2a38(0x267)])==null||_0x5c0973[_0x5a2a38(0x335)](),this[_0x5a2a38(0x2f9)]=0x0;}};ue=Re([A(0x4,_0x4a88e2(_0x530b2b)),A(0x5,_0x4a88e2(_0x492867)),A(0x6,_0x19223c),A(0x7,_0x45f59a),A(0x8,_0x1e3cf5),A(0x9,_0x25ef46),A(0xa,_0x43164b(J))],ue);let ae=class extends be{constructor(_0x171ebb,_0x13c54c,_0x147a3f,_0x2758e6,_0x41e280,_0x54ea8e,_0x40cfe5,_0x8fcd2e,_0x25d4c8,_0x197a80,_0x29bce6,_0x30fb58,_0x59646a){var _0x43aee1=_0x4fc2a2;super(_0x171ebb,_0x13c54c,_0x147a3f,_0x2758e6,_0x41e280,_0x25d4c8,_0x30fb58,_0x8fcd2e,_0x59646a),N(this,_0x43aee1(0x319),_0x43aee1(0x33a)),N(this,'_resendTimeout',0x0),N(this,_0x43aee1(0x7c)),N(this,_0x43aee1(0x267)),(this[_0x43aee1(0x26b)]=_0x40cfe5,this[_0x43aee1(0x2b2)]=_0x197a80,this['_transformService']=_0x29bce6,this[_0x43aee1(0x30c)]=_0x59646a,_0x54ea8e&&(this['_resendTimer']=_0x54ea8e,this['_sender']=this[_0x43aee1(0x7c)][_0x43aee1(0x20c)](({reqId:_0x53b93a,timeout:_0x12987f})=>{var _0x3665a5=_0x43aee1;this[_0x3665a5(0x1b4)](_0x53b93a,_0x12987f);})));}['appendMutation'](_0x1f4e3a){var _0x308748=_0x4fc2a2;return this[_0x308748(0x2d4)]['push'](_0x1f4e3a),this;}[_0x4fc2a2(0x1f4)](_0x7b418d){var _0x516084=_0x4fc2a2;if(this[_0x516084(0x113)](_0x7b418d))return this[_0x516084(0x186)](),this['_injector']['createInstance'](te,this[_0x516084(0xb2)],this['type'],this['_awaitingChangeset'],this[_0x516084(0x2d4)],null,[_0x7b418d],this['_handler']);try{const _0x294810=this['_transformService']['transformChangesets']([_0x7b418d],[this[_0x516084(0x1f6)]],!0x1);if(_0x47e207(_0x294810)){const {c1Prime:_0x3e32cb,c2Prime:_0x554f4a}=_0x294810,_0x54e274=this[_0x516084(0x1e3)]['transformMutationsWithChangeset'](_0x3e32cb[0x0],this[_0x516084(0x2d4)]);if(_0x360e65(_0x54e274)){const {c1Prime:_0x439c00,m2Prime:_0x68f51e}=_0x54e274;return this[_0x516084(0x1fa)](_0x439c00),_0x554f4a[0x0][_0x516084(0x28e)]=this[_0x516084(0x27a)](),this['_clearScheduledTask'](),this[_0x516084(0x26b)]['createInstance'](ae,this['unitID'],this['type'],_0x554f4a[0x0],_0x68f51e,this[_0x516084(0x237)],void 0x0);}throw _0x54e274[_0x516084(0x2a8)];}throw _0x294810['error'];}catch(_0x31c81e){return this['_logService'][_0x516084(0x2a8)](_0x31c81e),this[_0x516084(0xfb)](!0x1);}}['onRemoteAck'](_0x3b08fb){var _0x21dc8f=_0x4fc2a2;if(this[_0x21dc8f(0x186)](),this[_0x21dc8f(0x113)](_0x3b08fb))return this[_0x21dc8f(0x26b)]['createInstance'](te,this[_0x21dc8f(0xb2)],this[_0x21dc8f(0x11c)],null,this[_0x21dc8f(0x2d4)],this[_0x21dc8f(0x1f6)],[],this[_0x21dc8f(0x237)]);this[_0x21dc8f(0x31a)]();const _0x42dd89=this['_injector']['createInstance'](oe,this[_0x21dc8f(0xb2)],this[_0x21dc8f(0x11c)],this[_0x21dc8f(0x2d4)],this[_0x21dc8f(0x237)]);return _0x42dd89[_0x21dc8f(0x364)](),_0x42dd89['_updateLocalCache'](),_0x42dd89;}['onRemoteRej'](_0x599405){var _0x2ced9f=_0x4fc2a2;return this[_0x2ced9f(0xfb)](!!(_0x599405!=null&&_0x599405[_0x2ced9f(0x230)]));}[_0x4fc2a2(0x226)](_0x13907b){var _0x5dc3c4=_0x4fc2a2;return this[_0x5dc3c4(0x2f9)]>Ni?this[_0x5dc3c4(0x295)]():(this['_resendTimer']=Oi(this[_0x5dc3c4(0x2f9)],{'timeout':this[_0x5dc3c4(0x2f9)],'reqId':_0x13907b[_0x5dc3c4(0x259)]}),this[_0x5dc3c4(0x267)]=this['_resendTimer'][_0x5dc3c4(0x20c)](({reqId:_0xc19440,timeout:_0x35e453})=>{var _0x26cab0=_0x5dc3c4;this[_0x26cab0(0x1b4)](_0xc19440,_0x35e453);}),this);}[_0x4fc2a2(0x295)](){var _0xd316a3=_0x4fc2a2;return this['_clearScheduledTask'](),this[_0xd316a3(0x26b)][_0xd316a3(0x87)](fe,this[_0xd316a3(0xb2)],this[_0xd316a3(0x11c)],this[_0xd316a3(0x1f6)],this['_pendingMutations'],this[_0xd316a3(0x237)]);}[_0x4fc2a2(0x15f)](){return this;}[_0x4fc2a2(0x261)](){var _0x159cee=_0x4fc2a2;this[_0x159cee(0x237)][_0x159cee(0x1a2)](this[_0x159cee(0x1f6)]);}['_onConflict'](_0x487fd7){var _0x22cbd5=_0x4fc2a2;return this['_clearScheduledTask'](),this[_0x22cbd5(0x26b)][_0x22cbd5(0x87)](de,this[_0x22cbd5(0xb2)],this[_0x22cbd5(0x11c)],null,this[_0x22cbd5(0x2d4)],this[_0x22cbd5(0x237)],_0x487fd7);}[_0x4fc2a2(0x1b4)](_0x4c61d2,_0x1b7868){var _0x138126=_0x4fc2a2,_0x337b06;_0x4c61d2===((_0x337b06=this[_0x138126(0x1f6)])==null?void 0x0:_0x337b06[_0x138126(0x259)])&&(this['resend'](),this[_0x138126(0x2f9)]=_0x1b7868===0x0?0x3e8:_0x1b7868*0x2);}[_0x4fc2a2(0x186)](){var _0x44654c=_0x4fc2a2,_0x3b9f20;(_0x3b9f20=this['_sender'])==null||_0x3b9f20['unsubscribe'](),this[_0x44654c(0x2f9)]=0x0;}};ae=Re([A(0x6,_0x4a88e2(_0x530b2b)),A(0x7,_0x4a88e2(_0x492867)),A(0x8,_0x19223c),A(0x9,_0x45f59a),A(0xa,_0x1e3cf5),A(0xb,_0x25ef46),A(0xc,_0x43164b(J))],ae);let de=class extends be{constructor(_0x40680f,_0x3e9203,_0x112057,_0x86aa27,_0x5f7ca6,_0x13651b=!0x1,_0x5b089e,_0x5f480a,_0x43d713,_0x3c5980,_0x3f8da3,_0x2dc233,_0x74c82){var _0x4bc75b=_0x4fc2a2;super(_0x40680f,_0x3e9203,_0x112057,_0x86aa27,_0x5f7ca6,_0x5f480a,_0x43d713,_0x3c5980,_0x74c82),N(this,_0x4bc75b(0x319),_0x4bc75b(0x200)),(this[_0x4bc75b(0xe9)]=_0x13651b,this[_0x4bc75b(0x206)]=_0x5b089e,this[_0x4bc75b(0x229)]=_0x3f8da3,this['_collaborationUIEventService']=_0x2dc233,this[_0x4bc75b(0x30c)]=_0x74c82,this[_0x4bc75b(0x324)](),this[_0x4bc75b(0x19e)](),this[_0x4bc75b(0x133)]());}[_0x4fc2a2(0x2a4)](){return this;}[_0x4fc2a2(0x1f4)](){return this;}[_0x4fc2a2(0x16a)](){return this;}[_0x4fc2a2(0x205)](){return this;}[_0x4fc2a2(0x226)](){return this;}[_0x4fc2a2(0x295)](){return this;}[_0x4fc2a2(0x15f)](){return this;}[_0x4fc2a2(0x261)](){var _0x4cbc9f=_0x4fc2a2;throw new Error(_0x4cbc9f(0x126));}[_0x4fc2a2(0x19e)](){var _0x566c54=_0x4fc2a2,_0x3eecbb;(_0x3eecbb=this[_0x566c54(0xab)])==null||_0x3eecbb[_0x566c54(0x1d8)](this['unitID'],this['type'],null,[]);}[_0x4fc2a2(0x324)](){var _0x2b5215=_0x4fc2a2;this[_0x2b5215(0xe9)]?this[_0x2b5215(0x2db)][_0x2b5215(0x98)]({'id':se[_0x2b5215(0x2bd)]}):this['_collaborationUIEventService']['emitEvent']({'id':se[_0x2b5215(0x23b)]});}[_0x4fc2a2(0x133)](){var _0x33df8c=_0x4fc2a2;this[_0x33df8c(0x206)][_0x33df8c(0x343)](new _0x5c7090(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x4a88e2(_0x24a5f0)),A(0x7,_0x19223c),A(0x8,_0x25ef46),A(0x9,_0x4a88e2(_0x492867)),A(0xa,_0x4a88e2(_0x5f27d9)),A(0xb,_0x4a88e2(pe)),A(0xc,_0x43164b(J))],de);let fe=class extends be{constructor(_0x50a94f,_0x4c50cd,_0x274a8f,_0x3ee8ce,_0xdd2f92,_0x1609b5,_0x2a17a3,_0xe8f3f7,_0xff60d1,_0x3345de){var _0x4a6c30=_0x4fc2a2;super(_0x50a94f,_0x4c50cd,_0x274a8f,_0x3ee8ce,_0xdd2f92,_0xe8f3f7,_0xff60d1,_0x2a17a3,_0x3345de),N(this,_0x4a6c30(0x319),'offline'),this['_injector']=_0x1609b5;}['appendMutation'](_0x1ae44a){var _0xddffb3=_0x4fc2a2;return this['_pendingMutations'][_0xddffb3(0x18b)](_0x1ae44a),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x32d64f){var _0x5e9c93=_0x4fc2a2;throw new Error(_0x5e9c93(0x31c));}[_0x4fc2a2(0x16a)](){var _0x4c262e=_0x4fc2a2;throw new Error(_0x4c262e(0x1ba));}[_0x4fc2a2(0x205)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x4fc2a2(0x226)](){return this;}[_0x4fc2a2(0x295)](){return this;}[_0x4fc2a2(0x15f)](){var _0x400126=_0x4fc2a2;const {_injector:_0x25a724,_pendingMutations:_0x5e5627,_awaitingChangeset:_0x4afd42,unitID:_0x434d01,_handler:_0x1c0fcb,type:_0x3bb229}=this,_0x544bdb=Di(_0x25a724,_0x434d01,_0x3bb229,_0x4afd42,_0x5e5627,_0x1c0fcb);return _0x544bdb instanceof oe?_0x544bdb[_0x400126(0x364)]():(_0x544bdb instanceof ae||_0x544bdb instanceof ue)&&_0x544bdb['resend'](),_0x544bdb;}['resend'](){var _0x1656ed=_0x4fc2a2;throw new Error(_0x1656ed(0x250));}};fe=Re([A(0x5,_0x4a88e2(_0x530b2b)),A(0x6,_0x4a88e2(_0x492867)),A(0x7,_0x19223c),A(0x8,_0x25ef46),A(0x9,_0x43164b(J))],fe);let te=class extends be{constructor(_0x2347de,_0x4b22ce,_0x22791b,_0x3938d6,_0x5c55e2,_0x56c296,_0x16b66f,_0x552f72,_0x2431ca,_0x197403,_0x49e2b4,_0x5e40c9,_0x230974,_0x5e9114){var _0x5d05f0=_0x4fc2a2;super(_0x2347de,_0x4b22ce,_0x22791b,_0x3938d6,_0x16b66f,_0x49e2b4,_0x5e40c9,_0x2431ca,_0x5e9114),N(this,_0x5d05f0(0x319),_0x5d05f0(0x1a3)),(this[_0x5d05f0(0x2d6)]=_0x5c55e2,this['_queuedRemoteChangesets']=_0x56c296,this[_0x5d05f0(0x26b)]=_0x552f72,this[_0x5d05f0(0x2b2)]=_0x197403,this[_0x5d05f0(0x1e3)]=_0x230974,this[_0x5d05f0(0x30c)]=_0x5e9114);}['onMissedChangesetFetched'](_0x3a8f78){var _0x5a4f34=_0x4fc2a2;try{const _0x4fa022=[..._0x3a8f78,...this[_0x5a4f34(0x2bf)]],_0x143dd8=[this['_awaitingChangeset']||this[_0x5a4f34(0x2d6)]]['filter'](_0x5ab9a5=>!!_0x5ab9a5);let _0x256171,_0x272331;if(_0x143dd8['length']){const _0x40ea65=this[_0x5a4f34(0x1e3)][_0x5a4f34(0x245)](_0x4fa022,_0x143dd8,!0x1);if(!_0x47e207(_0x40ea65))throw _0x40ea65[_0x5a4f34(0x2a8)];_0x256171=_0x40ea65[_0x5a4f34(0xa7)],_0x272331=_0x40ea65['c2Prime'];}else _0x256171=_0x4fa022,_0x272331=[];let _0x383c21=this['_pendingMutations'];_0x256171[_0x5a4f34(0x280)](_0x28128b=>{var _0x235200=_0x5a4f34;let _0xc92aa8;if(_0x383c21[_0x235200(0x1ad)]){const _0x5b179b=this[_0x235200(0x1e3)][_0x235200(0x70)](_0x28128b,_0x383c21);if(!_0x360e65(_0x5b179b))throw _0x5b179b[_0x235200(0x2a8)];_0xc92aa8=_0x5b179b[_0x235200(0xa7)],_0x383c21=_0x5b179b['m2Prime'];}else _0xc92aa8=_0x28128b;this[_0x235200(0x1fa)](_0xc92aa8);}),this[_0x5a4f34(0x2d6)]&&this[_0x5a4f34(0x31a)](),this[_0x5a4f34(0x1f6)]&&_0x272331['length']&&(_0x272331[0x0][_0x5a4f34(0x28e)]=this[_0x5a4f34(0x27a)]());let _0x1a1842;if(this['_awaitingChangeset']&&_0x383c21['length']!==0x0)_0x1a1842=this[_0x5a4f34(0x26b)][_0x5a4f34(0x87)](ae,this[_0x5a4f34(0xb2)],this[_0x5a4f34(0x11c)],_0x272331[0x0],_0x383c21,this['_handler'],void 0x0);else{if(this['_awaitingChangeset']&&_0x383c21['length']===0x0)_0x272331[0x0][_0x5a4f34(0x28e)]=this[_0x5a4f34(0x27a)](),_0x1a1842=this[_0x5a4f34(0x26b)][_0x5a4f34(0x87)](ue,this['unitID'],this['type'],_0x272331[0x0],this[_0x5a4f34(0x237)]);else{if(_0x383c21[_0x5a4f34(0x1ad)]!==0x0){const _0x4a5e93=this[_0x5a4f34(0x26b)][_0x5a4f34(0x87)](oe,this[_0x5a4f34(0xb2)],this[_0x5a4f34(0x11c)],_0x383c21,this[_0x5a4f34(0x237)]);_0x4a5e93['_schedule'](),_0x1a1842=_0x4a5e93;}else _0x1a1842=this[_0x5a4f34(0x26b)][_0x5a4f34(0x87)](De,this['unitID'],this[_0x5a4f34(0x11c)],this[_0x5a4f34(0x237)]);}}return _0x1a1842[_0x5a4f34(0x10e)](),_0x1a1842;}catch(_0x5b2df1){return this['_logService'][_0x5a4f34(0x2a8)](_0x5a4f34(0xb3),_0x5a4f34(0x13c),_0x5b2df1),this[_0x5a4f34(0x26b)][_0x5a4f34(0x87)](de,this['unitID'],this[_0x5a4f34(0x11c)],this[_0x5a4f34(0x1f6)],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){var _0x5eee09=_0x4fc2a2;throw new Error(_0x5eee09(0x2ce));}[_0x4fc2a2(0x2a4)](_0x84eaa6){var _0x21fbda=_0x4fc2a2;return this[_0x21fbda(0x2d4)][_0x21fbda(0x18b)](_0x84eaa6),this;}[_0x4fc2a2(0x1f4)](_0x229059){var _0x25d2ab=_0x4fc2a2;return this[_0x25d2ab(0x2bf)]['push'](_0x229059),this;}[_0x4fc2a2(0x16a)](_0x1921f8){var _0x3e59a8=_0x4fc2a2;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x3e59a8(0x1f6)],this[_0x3e59a8(0x1f6)]=null,this;throw new Error(_0x3e59a8(0x13f));}['onRemoteRej'](_0x77d7b7){var _0x36192c=_0x4fc2a2;return this['_onConflict'](!!(_0x77d7b7!=null&&_0x77d7b7[_0x36192c(0x230)]));}[_0x4fc2a2(0x226)](){return this;}[_0x4fc2a2(0x295)](){var _0x10e786=_0x4fc2a2;return this[_0x10e786(0x26b)][_0x10e786(0x87)](fe,this['unitID'],this[_0x10e786(0x11c)],this['_awaitingChangeset'],this[_0x10e786(0x2d4)],this['_handler']);}[_0x4fc2a2(0x15f)](){return this;}[_0x4fc2a2(0xfb)](_0x29e68f){var _0xa35e86=_0x4fc2a2;return this[_0xa35e86(0x26b)][_0xa35e86(0x87)](de,this['unitID'],this[_0xa35e86(0x11c)],this[_0xa35e86(0x1f6)],this[_0xa35e86(0x2d4)],this[_0xa35e86(0x237)],_0x29e68f);}};te=Re([A(0x7,_0x4a88e2(_0x530b2b)),A(0x8,_0x4a88e2(_0x492867)),A(0x9,_0x45f59a),A(0xa,_0x19223c),A(0xb,_0x25ef46),A(0xc,_0x1e3cf5),A(0xd,_0x43164b(J))],te);function Di(_0x45b45b,_0x286cc7,_0xad0d5a,_0x3724e3,_0x3c449e,_0x2c115f){var _0x572a8f=_0x4fc2a2;return _0x3724e3&&_0x3c449e[_0x572a8f(0x1ad)]?_0x45b45b[_0x572a8f(0x87)](ae,_0x286cc7,_0xad0d5a,_0x3724e3,_0x3c449e,_0x2c115f,void 0x0):_0x3724e3?_0x45b45b[_0x572a8f(0x87)](ue,_0x286cc7,_0xad0d5a,_0x3724e3,_0x2c115f):_0x3c449e[_0x572a8f(0x1ad)]?_0x45b45b[_0x572a8f(0x87)](oe,_0x286cc7,_0xad0d5a,_0x3c449e,_0x2c115f):_0x45b45b[_0x572a8f(0x87)](De,_0x286cc7,_0xad0d5a,_0x2c115f);}var vr=Object[_0x4fc2a2(0x241)],pr=Object['getOwnPropertyDescriptor'],Lt=(_0xd91dfb,_0x4419fb,_0x3bc081,_0x3ba6e6)=>{for(var _0x5cdbbf=_0x3ba6e6>0x1?void 0x0:_0x3ba6e6?pr(_0x4419fb,_0x3bc081):_0x4419fb,_0x30fc2a=_0xd91dfb['length']-0x1,_0x16eff;_0x30fc2a>=0x0;_0x30fc2a--)(_0x16eff=_0xd91dfb[_0x30fc2a])&&(_0x5cdbbf=(_0x3ba6e6?_0x16eff(_0x4419fb,_0x3bc081,_0x5cdbbf):_0x16eff(_0x5cdbbf))||_0x5cdbbf);return _0x3ba6e6&&_0x5cdbbf&&vr(_0x4419fb,_0x3bc081,_0x5cdbbf),_0x5cdbbf;},k=(_0x220292,_0x3143f0)=>(_0x3ccd55,_0x4aea9b)=>_0x3143f0(_0x3ccd55,_0x4aea9b,_0x220292);let nt=class extends _0x1ad933{constructor(_0x335ba8,_0x315e1a,_0x113596,_0x12eb2c,_0x5bf44d,_0x3e4937,_0x30d03a,_0x1fbbe7,_0x77c2a,_0x1e8c62,_0x2c3035,_0x320506,_0x53d025){var _0xd57f3b=_0x4fc2a2;super(),N(this,_0xd57f3b(0x2df),new _0x5b8830(null)),N(this,_0xd57f3b(0x201),this[_0xd57f3b(0x2df)][_0xd57f3b(0x258)]()),N(this,_0xd57f3b(0x137)),N(this,'_collaborationPaused',!0x1),N(this,_0xd57f3b(0x1c1),''),N(this,_0xd57f3b(0x2ad),0x0),N(this,_0xd57f3b(0x2ef),this[_0xd57f3b(0x201)][_0xd57f3b(0x32d)](_0xa0c1ee(_0x3fecb2=>_0x3fecb2?_0x3fecb2[_0xd57f3b(0x319)]:yi[_0xd57f3b(0x13a)]),_0x51de0b(0x1))),N(this,_0xd57f3b(0x34c),!0x1),N(this,'_remoteChangesetQueue',[]),(this['unitID']=_0x335ba8,this[_0xd57f3b(0x90)]=_0x315e1a,this[_0xd57f3b(0x334)]=_0x113596,this[_0xd57f3b(0x26b)]=_0x12eb2c,this[_0xd57f3b(0x134)]=_0x5bf44d,this[_0xd57f3b(0x229)]=_0x3e4937,this['_revisionService']=_0x30d03a,this[_0xd57f3b(0x349)]=_0x1fbbe7,this[_0xd57f3b(0x2b2)]=_0x77c2a,this['_commandService']=_0x1e8c62,this[_0xd57f3b(0x206)]=_0x2c3035,this[_0xd57f3b(0x27d)]=_0x320506,this[_0xd57f3b(0xab)]=_0x53d025);}get['state'](){return this['_state'];}async['init'](){var _0x19c432=_0x4fc2a2;if(this[_0x19c432(0x270)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x19c432(0xa5)]();}[_0x4fc2a2(0xc1)](){var _0x1e1782=_0x4fc2a2;return this[_0x1e1782(0x2b9)]=!0x0,_0x2c90fe(()=>{var _0x262631=_0x1e1782;this[_0x262631(0x2b9)]=!0x1,this[_0x262631(0x1dc)]();});}[_0x4fc2a2(0x1a0)](_0x2cfe2e){this['_onLocalMutation'](_0x2cfe2e);}[_0x4fc2a2(0xda)](_0x493f15){var _0x56588f=_0x4fc2a2;this[_0x56588f(0x137)]=_0x493f15,this[_0x56588f(0x2df)][_0x56588f(0x347)](_0x493f15);}async[_0x4fc2a2(0xa5)](){var _0x1cc497=_0x4fc2a2,_0x43c9fc;this['_updateState'](await this[_0x1cc497(0x249)]()),this[_0x1cc497(0x27d)]&&((_0x43c9fc=this[_0x1cc497(0x27d)])==null||_0x43c9fc[_0x1cc497(0x236)](this[_0x1cc497(0xb2)]),this[_0x1cc497(0x2e8)](this[_0x1cc497(0x27d)]['getUnitStatus$'](this[_0x1cc497(0xb2)])[_0x1cc497(0x20c)](_0x2966da=>{var _0x1743c3=_0x1cc497;this['_logService'][_0x1743c3(0x6e)](_0x1743c3(0x110),_0x1743c3(0x285),_0x2966da),_0x2966da===bi[_0x1743c3(0x195)]?(this[_0x1743c3(0x349)]['emitEvent']({'id':se[_0x1743c3(0xd6)]}),this[_0x1743c3(0x206)]['updatePermissionPoint'](new _0x5c7090(this[_0x1743c3(0xb2)])['id'],!0x1),this['_permissionService'][_0x1743c3(0x189)](!0x1)):(this[_0x1743c3(0x206)]['updatePermissionPoint'](new _0x5c7090(this[_0x1743c3(0xb2)])['id'],!0x0),this[_0x1743c3(0x206)][_0x1743c3(0x189)](!0x0));})));let _0x14357b=!0x1;return this['disposeWithMe'](this[_0x1cc497(0x90)][_0x1cc497(0x19c)][_0x1cc497(0x20c)](_0x3d0766=>{var _0x2227b0=_0x1cc497;_0x3d0766===Te[_0x2227b0(0x187)]?this['_toggleOnline'](_0x14357b):_0x3d0766===Te[_0x2227b0(0x13a)]&&(_0x14357b=!0x0,this[_0x2227b0(0x14b)]());})),this['disposeWithMe'](this['session'][_0x1cc497(0x350)]['subscribe'](_0x30386b=>{var _0x47561b=_0x1cc497;try{switch(_0x30386b['eventID']){case _0x5ddb43[_0x47561b(0x15b)]:{this[_0x47561b(0x327)](_0x46052d(_0x30386b[_0x47561b(0x14c)]));break;}case _0x5ddb43[_0x47561b(0xbb)]:{this[_0x47561b(0x32a)](_0x30386b[_0x47561b(0x14c)]);break;}case _0x5ddb43[_0x47561b(0x15c)]:{this[_0x47561b(0x2f5)]();break;}case _0x5ddb43[_0x47561b(0x2ea)]:{this[_0x47561b(0x1a7)](_0x30386b[_0x47561b(0x14c)]);break;}case _0x5ddb43[_0x47561b(0x296)]:{this['_onFetchMissResult'](_0x30386b[_0x47561b(0x14c)][_0x47561b(0x30b)][_0x47561b(0x1cf)](_0x5b6fea=>_0x46052d(_0x5b6fea)));break;}case _0x5ddb43[_0x47561b(0x297)]:{this[_0x47561b(0x2f5)]({'isPermissionRej':!0x0});break;}case _0x5ddb43[_0x47561b(0x1ce)]:break;}}catch(_0x44cea9){throw console[_0x47561b(0x2a8)](_0x47561b(0x2e4),_0x44cea9),_0x44cea9;}})),this['_state'];}['_unlockTransition'](){var _0x366b29=_0x4fc2a2;this[_0x366b29(0x34c)]=!0x1;}[_0x4fc2a2(0x35a)](){var _0x2a2b78=_0x4fc2a2;if(this[_0x2a2b78(0x34c)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x4fc2a2(0x10a)](_0x5585a3){var _0x59f4ed=_0x4fc2a2;this[_0x59f4ed(0x35a)](),this[_0x59f4ed(0xda)](this[_0x59f4ed(0x137)]['appendMutation'](_0x5585a3)),this['_unlockTransition']();}[_0x4fc2a2(0x327)](_0x486768){var _0x599024=_0x4fc2a2;if(!(_0x486768[_0x599024(0x2a9)]<=this[_0x599024(0x140)]['getCurrentRevOfUnit'](this[_0x599024(0xb2)]))){if(this[_0x599024(0x2b9)]){this[_0x599024(0x1b5)][_0x599024(0x18b)](_0x486768);return;}this['_applyRemoteChangeset'](_0x486768);}}[_0x4fc2a2(0x1dc)](){var _0x50f80f=_0x4fc2a2;this[_0x50f80f(0x1b5)][_0x50f80f(0x280)](_0x3b8f6a=>this[_0x50f80f(0xe7)](_0x3b8f6a)),this[_0x50f80f(0x1b5)]=[];}[_0x4fc2a2(0xe7)](_0x1fb1c4){var _0x2b1f35=_0x4fc2a2;const _0x1d7aa2=this[_0x2b1f35(0x134)]['interceptor'][_0x2b1f35(0xd1)](this[_0x2b1f35(0x134)][_0x2b1f35(0x118)][_0x2b1f35(0x95)]()[_0x2b1f35(0x23a)])(_0x1fb1c4[_0x2b1f35(0x18e)],null)||_0x1fb1c4[_0x2b1f35(0x18e)],_0x50d882={..._0x1fb1c4,'mutations':_0x1d7aa2};this[_0x2b1f35(0x35a)](),this[_0x2b1f35(0xda)](this['_state'][_0x2b1f35(0x1f4)](_0x50d882)),this[_0x2b1f35(0x1b3)]();}[_0x4fc2a2(0x32a)](_0x101dad){var _0x3caad3=_0x4fc2a2;this['_lockTransition'](),this[_0x3caad3(0xda)](this['_state'][_0x3caad3(0x16a)](_0x101dad)),this[_0x3caad3(0x1b3)]();}[_0x4fc2a2(0x2f5)](_0x56e2b1){var _0x4f351f=_0x4fc2a2;this[_0x4f351f(0x35a)](),this[_0x4f351f(0xda)](this[_0x4f351f(0x137)][_0x4f351f(0x205)](_0x56e2b1)),this[_0x4f351f(0x1b3)]();}[_0x4fc2a2(0x1a7)](_0x494d21){var _0x3f07f0=_0x4fc2a2;this[_0x3f07f0(0x35a)](),this['_updateState'](this[_0x3f07f0(0x137)][_0x3f07f0(0x226)](_0x494d21)),this[_0x3f07f0(0x1b3)]();}['_onFetchMissResult'](_0x2b963e){var _0x96b330=_0x4fc2a2;if(!(this[_0x96b330(0x137)]instanceof te))throw new TypeError(_0x96b330(0x283));const _0x270b70=_0x2b963e[_0x96b330(0x1cf)](_0x58ab2e=>{var _0x2d9745=_0x96b330;const _0x20ee1c=this[_0x2d9745(0x134)][_0x2d9745(0x118)][_0x2d9745(0xd1)](this[_0x2d9745(0x134)][_0x2d9745(0x118)][_0x2d9745(0x95)]()[_0x2d9745(0x23a)])(_0x58ab2e[_0x2d9745(0x18e)],null)||_0x58ab2e[_0x2d9745(0x18e)];return{..._0x58ab2e,'mutations':_0x20ee1c};});this['_lockTransition'](),this['_updateState'](this[_0x96b330(0x137)][_0x96b330(0x246)](_0x270b70)),this['_unlockTransition']();}[_0x4fc2a2(0x14b)](){var _0x588451=_0x4fc2a2;this[_0x588451(0x35a)](),this[_0x588451(0xda)](this[_0x588451(0x137)][_0x588451(0x295)]()),this['_unlockTransition']();}['_toggleOnline'](_0x906d0f=!0x1){var _0x12cc14=_0x4fc2a2;this[_0x12cc14(0x35a)](),this['_updateState'](this[_0x12cc14(0x137)][_0x12cc14(0x15f)]()),this['_unlockTransition']();const _0x5a7878=this[_0x12cc14(0x137)];_0x906d0f&&_0x5a7878 instanceof De&&(this[_0x12cc14(0x35a)](),this[_0x12cc14(0xda)](_0x5a7878[_0x12cc14(0x10f)]()),this[_0x12cc14(0x1b3)]());}async['_createInitialState'](){return new Promise(_0x1d00e9=>{var _0x226ccc=_0xb1fa;this['session'][_0x226ccc(0x19c)][_0x226ccc(0x32d)](_0x4b94a0(0x1))[_0x226ccc(0x20c)](async _0x271c06=>{var _0x28aaae=_0x226ccc;_0x1d00e9(await this['_createInitialStateImpl'](_0x271c06===Te[_0x28aaae(0x187)]));});});}[_0x4fc2a2(0x28b)](){var _0x4709e8=_0x4fc2a2;const _0x3e29d0=this[_0x4709e8(0xb2)];return{'onStateChange':(_0x29efb3,_0x4b8eed)=>{var _0x2efd05=_0x4709e8;if(_0x29efb3!==this[_0x2efd05(0x137)])throw new Error(_0x2efd05(0x11a)+_0x29efb3[_0x2efd05(0x319)]+'\x0aAfter:\x20'+_0x4b8eed[_0x2efd05(0x319)]+_0x2efd05(0xf7)+this[_0x2efd05(0x137)][_0x2efd05(0x319)]);this[_0x2efd05(0xda)](_0x4b8eed);},'onSendChangeset':_0x1d4fdf=>{var _0x56fb02=_0x4709e8;_0x1d4fdf[_0x56fb02(0x25d)]||(_0x1d4fdf[_0x56fb02(0x25d)]=this[_0x56fb02(0x1c1)],_0x1d4fdf[_0x56fb02(0x259)]=++this['_changesetReqId']);const _0x1ba72a={'eventID':_0x5ddb43['SUBMIT_CHANGESET'],'data':{'unitID':_0x1d4fdf[_0x56fb02(0xb2)],'unitType':this[_0x56fb02(0x334)],'changeset':_0x1d4fdf,'memberID':this[_0x56fb02(0x90)][_0x56fb02(0x1c6)]()}};this[_0x56fb02(0x90)][_0x56fb02(0x78)](_0x1ba72a,this[_0x56fb02(0xb2)]);},'onMissingChangesets':({from:_0xb0f310,to:_0x6d366c})=>{var _0x225efb=_0x4709e8;this['_logService'][_0x225efb(0x6e)](_0x225efb(0x110),_0x225efb(0x2b6)+_0xb0f310+'\x20to\x20'+_0x6d366c);const _0x51b6cc={'eventID':_0x5ddb43['FETCH_MISSING'],'data':{'unitID':_0x3e29d0,'unitType':this[_0x225efb(0x334)],'from':_0xb0f310,'to':_0x6d366c}};this[_0x225efb(0x90)]['send'](_0x51b6cc,this[_0x225efb(0xb2)]);}};}async[_0x4fc2a2(0x253)](_0x18c218){var _0x5750a4=_0x4fc2a2,_0x4ce69a,_0x14485,_0x290e51;const _0x110716=await((_0x4ce69a=this[_0x5750a4(0xab)])==null?void 0x0:_0x4ce69a[_0x5750a4(0x310)](this[_0x5750a4(0xb2)])),_0x56845e=(_0x14485=_0x110716==null?void 0x0:_0x110716[_0x5750a4(0x18e)])!=null?_0x14485:[],_0x2105c5=(_0x290e51=_0x110716==null?void 0x0:_0x110716[_0x5750a4(0x2f2)])!=null?_0x290e51:null,_0x2cb1d1=!!(_0x2105c5!=null&&_0x2105c5['sid'])&&!!(_0x2105c5!=null&&_0x2105c5[_0x5750a4(0x259)]);this[_0x5750a4(0x1c1)]=_0x2cb1d1?_0x2105c5[_0x5750a4(0x25d)]:sr(),this[_0x5750a4(0x2ad)]=_0x2cb1d1?_0x2105c5['reqId']:0x0;const _0x2c43fd=this[_0x5750a4(0xb2)];try{this[_0x5750a4(0xaf)](_0x2105c5,_0x56845e);}catch(_0x21a4b2){this[_0x5750a4(0x2b2)][_0x5750a4(0x2a8)](_0x21a4b2);}const _0x1039b0=this[_0x5750a4(0x28b)]();if(_0x18c218){const _0xd4cbf8=Di(this[_0x5750a4(0x26b)],_0x2c43fd,this[_0x5750a4(0x334)],_0x2105c5,_0x56845e,_0x1039b0);return _0xd4cbf8 instanceof oe?_0xd4cbf8[_0x5750a4(0x364)]():(_0xd4cbf8 instanceof ae||_0xd4cbf8 instanceof ue)&&_0xd4cbf8['resend'](),_0xd4cbf8;}return this['_injector']['createInstance'](fe,_0x2c43fd,this[_0x5750a4(0x334)],_0x2105c5,_0x56845e,_0x1039b0);}[_0x4fc2a2(0xaf)](_0x4ec528,_0x59dfe2){var _0x45ec4f=_0x4fc2a2,_0x2fed82,_0x433dec;const _0x5e9010=this['_compressMutationService'][_0x45ec4f(0x118)][_0x45ec4f(0xd1)](this[_0x45ec4f(0x134)][_0x45ec4f(0x118)][_0x45ec4f(0x95)]()[_0x45ec4f(0x23a)]);(_0x2fed82=_0x5e9010((_0x4ec528==null?void 0x0:_0x4ec528[_0x45ec4f(0x18e)])||[],null))==null||_0x2fed82['forEach'](_0x15943a=>this[_0x45ec4f(0xd5)][_0x45ec4f(0x1d9)](_0x15943a['id'],_0x15943a[_0x45ec4f(0x156)])),(_0x433dec=_0x5e9010(_0x59dfe2||[],null))==null||_0x433dec['forEach'](_0x4174d3=>this['_commandService'][_0x45ec4f(0x1d9)](_0x4174d3['id'],_0x4174d3[_0x45ec4f(0x156)]));}};nt=Lt([k(0x3,_0x4a88e2(_0x530b2b)),k(0x4,_0x4a88e2(_0x3b538f)),k(0x5,_0x4a88e2(_0x5f27d9)),k(0x6,_0x4a88e2(_0x492867)),k(0x7,_0x4a88e2(pe)),k(0x8,_0x45f59a),k(0x9,_0x19223c),k(0xa,_0x24a5f0),k(0xb,_0x43164b(ht)),k(0xc,_0x43164b(J))],nt);let Tt=class extends nt{constructor(_0x49c5bc,_0x38f17a,_0x131c24,_0xf606f8,_0x305c99,_0x1a950f,_0x3a3ca1,_0x7f432e,_0x5d364f,_0x151aa2,_0x542c96,_0x28d698,_0x15068c){var _0x3329c6=_0x4fc2a2;super(_0x49c5bc,_0x131c24,_0x38f17a,_0xf606f8,_0x305c99,_0x1a950f,_0x3a3ca1,_0x7f432e,_0x5d364f,_0x151aa2,_0x542c96,_0x28d698,_0x15068c),N(this,'_handlerCallback',null),(this['unitID']=_0x49c5bc,this[_0x3329c6(0x11c)]=_0x38f17a);}['addHandlerCallback'](_0x4a015d){this['_handlerCallback']=_0x4a015d;}[_0x4fc2a2(0x147)](){var _0x195333=_0x4fc2a2;this[_0x195333(0xcb)]=null,super[_0x195333(0x147)]();}[_0x4fc2a2(0x28b)](){var _0x2edd96=_0x4fc2a2;const _0xb28ce9=super[_0x2edd96(0x28b)]();return _0xb28ce9['onTransformIME']=_0x58a515=>{var _0x3a41c5=_0x2edd96,_0x899d29,_0x44a683;return(_0x44a683=(_0x899d29=this[_0x3a41c5(0xcb)])==null?void 0x0:_0x899d29[_0x3a41c5(0x33f)])==null?void 0x0:_0x44a683['call'](_0x899d29,_0x58a515);},_0xb28ce9['onTransformState']=_0x1aa19c=>{var _0x114932=_0x2edd96,_0x3f11a8,_0xde85b4;return(_0xde85b4=(_0x3f11a8=this[_0x114932(0xcb)])==null?void 0x0:_0x3f11a8[_0x114932(0xcd)])==null?void 0x0:_0xde85b4[_0x114932(0x238)](_0x3f11a8,_0x1aa19c);},_0xb28ce9[_0x2edd96(0x21c)]=_0x82d1a5=>{var _0x422f57=_0x2edd96,_0x1f87bc,_0x31ab11;return(_0x31ab11=(_0x1f87bc=this['_handlerCallback'])==null?void 0x0:_0x1f87bc[_0x422f57(0x21c)])==null?void 0x0:_0x31ab11[_0x422f57(0x238)](_0x1f87bc,_0x82d1a5);},_0xb28ce9['onSyncEditingCollabCursor']=_0x3f944b=>{var _0x499818=_0x2edd96,_0xbe9c90,_0x1ea909;return(_0x1ea909=(_0xbe9c90=this['_handlerCallback'])==null?void 0x0:_0xbe9c90[_0x499818(0x77)])==null?void 0x0:_0x1ea909[_0x499818(0x238)](_0xbe9c90,_0x3f944b);},_0xb28ce9[_0x2edd96(0x22f)]=_0x49c80d=>{var _0x435279=_0x2edd96,_0x514b82,_0x3b8329,_0x309895;if(!((_0x514b82=this[_0x435279(0xcb)])!=null&&_0x514b82[_0x435279(0x22f)]))throw new Error(_0x435279(0x18a));return(_0x309895=(_0x3b8329=this['_handlerCallback'])==null?void 0x0:_0x3b8329[_0x435279(0x22f)])==null?void 0x0:_0x309895['call'](_0x3b8329,_0x49c80d);},_0xb28ce9[_0x2edd96(0xb1)]=_0x1f0556=>{var _0x2b4d8=_0x2edd96,_0x5c7aa4,_0x493ad9,_0x13cd5;if(!((_0x5c7aa4=this[_0x2b4d8(0xcb)])!=null&&_0x5c7aa4[_0x2b4d8(0xb1)]))throw new Error(_0x2b4d8(0x74));return(_0x13cd5=(_0x493ad9=this[_0x2b4d8(0xcb)])==null?void 0x0:_0x493ad9[_0x2b4d8(0xb1)])==null?void 0x0:_0x13cd5['call'](_0x493ad9,_0x1f0556);},_0xb28ce9;}async[_0x4fc2a2(0xa5)](){var _0x295217=_0x4fc2a2;const _0x1d8d19=await super[_0x295217(0xa5)]();return this[_0x295217(0x2e8)](this[_0x295217(0xd5)]['onCommandExecuted']((_0x45d4b2,_0x319612)=>{var _0x13eaaa=_0x295217;if(_0x45d4b2['type']!==_0x72f852[_0x13eaaa(0x342)]||_0x319612!=null&&_0x319612[_0x13eaaa(0x103)]||_0x319612!=null&&_0x319612['onlyLocal']||_0x45d4b2['id']===_0x384e74['id'])return;const _0x10c2a9=_0x45d4b2[_0x13eaaa(0x156)];if((_0x10c2a9==null?void 0x0:_0x10c2a9[_0x13eaaa(0x24a)])!==this['unitID'])return;const _0x4044e9=_0x45d4b2,_0x29f8bb=this[_0x13eaaa(0x134)][_0x13eaaa(0x118)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x13eaaa(0x118)][_0x13eaaa(0x95)]()['COMPRESS_MUTATION_SEND'])([_0x4044e9],null)||[_0x4044e9];this[_0x13eaaa(0x10a)](_0x29f8bb[0x0]);})),_0x1d8d19;}};Tt=Lt([k(0x3,_0x4a88e2(_0x530b2b)),k(0x4,_0x4a88e2(_0x3b538f)),k(0x5,_0x4a88e2(_0x5f27d9)),k(0x6,_0x4a88e2(_0x492867)),k(0x7,_0x4a88e2(pe)),k(0x8,_0x45f59a),k(0x9,_0x19223c),k(0xa,_0x24a5f0),k(0xb,_0x43164b(ht)),k(0xc,_0x43164b(J))],Tt);let Ct=class extends nt{constructor(_0x19be85,_0x2ea2af,_0x2247f5,_0x50e33f,_0x2f797c,_0x3f9717,_0x1e9c20,_0x5913f2,_0x1c44d0,_0x3b561d,_0x4dcbb0,_0x2a5ac0,_0x30e261,_0x26a854){var _0x2db23f=_0x4fc2a2;super(_0x19be85,_0x2247f5,_0x2ea2af,_0x50e33f,_0x2f797c,_0x3f9717,_0x1e9c20,_0x1c44d0,_0x3b561d,_0x4dcbb0,_0x2a5ac0,_0x30e261,_0x26a854),this['unitID']=_0x19be85,this[_0x2db23f(0x11c)]=_0x2ea2af,this[_0x2db23f(0x235)]=_0x5913f2;}[_0x4fc2a2(0x28b)](){var _0x224853=_0x4fc2a2;const _0x33246d=super[_0x224853(0x28b)]();return _0x33246d['onTransformSelections']=_0x296bd3=>this['_sheetTransformSelectionsService']['transformSelections'](_0x296bd3),_0x33246d;}async[_0x4fc2a2(0xa5)](){var _0xd13658=_0x4fc2a2;const _0x4f2f82=await super[_0xd13658(0xa5)]();return this[_0xd13658(0x2e8)](this[_0xd13658(0xd5)][_0xd13658(0x97)]((_0x520f12,_0x329719)=>{var _0x5f1aac=_0xd13658;if(_0x520f12[_0x5f1aac(0x11c)]!==_0x72f852['MUTATION']||_0x329719!=null&&_0x329719['fromCollab']||_0x329719!=null&&_0x329719[_0x5f1aac(0x109)])return;const _0x49ce62=_0x520f12[_0x5f1aac(0x156)];if((_0x49ce62==null?void 0x0:_0x49ce62[_0x5f1aac(0x24a)])!==this[_0x5f1aac(0xb2)])return;const _0x2aec13=_0x520f12,_0x4ad73e=this[_0x5f1aac(0x134)][_0x5f1aac(0x118)][_0x5f1aac(0xd1)](this['_compressMutationService'][_0x5f1aac(0x118)][_0x5f1aac(0x95)]()[_0x5f1aac(0x176)])([_0x2aec13],null)||[_0x2aec13];this[_0x5f1aac(0x10a)](_0x4ad73e[0x0]);})),_0x4f2f82;}};Ct=Lt([k(0x3,_0x4a88e2(_0x530b2b)),k(0x4,_0x4a88e2(_0x3b538f)),k(0x5,_0x4a88e2(_0x5f27d9)),k(0x6,_0x4a88e2(_0x492867)),k(0x7,_0x4a88e2(it)),k(0x8,_0x4a88e2(pe)),k(0x9,_0x45f59a),k(0xa,_0x19223c),k(0xb,_0x24a5f0),k(0xc,_0x43164b(ht)),k(0xd,_0x43164b(J))],Ct);var mr=Object[_0x4fc2a2(0x241)],gr=Object[_0x4fc2a2(0x2cf)],Sr=(_0x38700b,_0x1901c7,_0x4b0ed5,_0x4793b6)=>{var _0x3ca5a1=_0x4fc2a2;for(var _0x182216=_0x4793b6>0x1?void 0x0:_0x4793b6?gr(_0x1901c7,_0x4b0ed5):_0x1901c7,_0x9f1780=_0x38700b[_0x3ca5a1(0x1ad)]-0x1,_0x25cba7;_0x9f1780>=0x0;_0x9f1780--)(_0x25cba7=_0x38700b[_0x9f1780])&&(_0x182216=(_0x4793b6?_0x25cba7(_0x1901c7,_0x4b0ed5,_0x182216):_0x25cba7(_0x182216))||_0x182216);return _0x4793b6&&_0x182216&&mr(_0x1901c7,_0x4b0ed5,_0x182216),_0x182216;},ft=(_0x423e57,_0x308cdf)=>(_0x532186,_0x28173c)=>_0x308cdf(_0x532186,_0x28173c,_0x423e57);let rt=class extends _0x1ad933{constructor(_0x4f8d31,_0x2e3d7b,_0x2575f3){var _0x37b529=_0x4fc2a2;super(),N(this,_0x37b529(0x197),new Map()),N(this,_0x37b529(0x112),new _0x1bf457()),N(this,'entityInit$',this[_0x37b529(0x112)][_0x37b529(0x258)]()),(this[_0x37b529(0x26b)]=_0x4f8d31,this[_0x37b529(0x2dc)]=_0x2e3d7b,this['_univerInstanceService']=_0x2575f3,this['_init']());}[_0x4fc2a2(0x147)](){var _0x4c7c4c=_0x4fc2a2;super[_0x4c7c4c(0x147)](),this[_0x4c7c4c(0x197)]['forEach'](_0x2332e3=>_0x2332e3[_0x4c7c4c(0x147)]()),this['_entities']['clear']();}[_0x4fc2a2(0xba)](_0x3d43d1){var _0x1a327b=_0x4fc2a2,_0x57787f;return(_0x57787f=this['_entities'][_0x1a327b(0x333)](_0x3d43d1))!=null?_0x57787f:null;}[_0x4fc2a2(0x2c2)](_0x40ea12){var _0x267277=_0x4fc2a2;const _0x2b998d=this[_0x267277(0xba)](_0x40ea12);return _0x2b998d?_0x376e44(_0x2b998d):this[_0x267277(0x112)]['pipe'](_0x81f2e9(_0x551b07=>_0x551b07['unitID']===_0x40ea12));}[_0x4fc2a2(0x202)](_0xb834fb){var _0x3bf21c=_0x4fc2a2;return _0x200fca(this[_0x3bf21c(0x2c2)](_0xb834fb)['pipe'](_0x2bad04(()=>{})));}[_0x4fc2a2(0xa5)](){var _0x28b3de=_0x4fc2a2;this['_univerInstanceService'][_0x28b3de(0x2b8)](_0x3ff6d6['UNIVER_SHEET'])[_0x28b3de(0x32d)](_0x97cbe4(this['dispose$']),_0x3b094d(0x10))['subscribe'](async _0x2aa7cf=>{var _0x1095e3=_0x28b3de;const _0x440348=_0x2aa7cf[_0x1095e3(0x32b)](),_0x11d31d=await this[_0x1095e3(0x2c6)](_0x440348,Q[_0x1095e3(0x83)]);this[_0x1095e3(0x197)][_0x1095e3(0x127)](_0x440348,_0x11d31d);}),this['_univerInstanceService'][_0x28b3de(0x2b8)](_0x3ff6d6['UNIVER_DOC'])[_0x28b3de(0x32d)](_0x97cbe4(this[_0x28b3de(0x94)]),_0x3b094d(0x10))[_0x28b3de(0x32d)](_0x81f2e9(_0x19769d=>!_0x19769d['getUnitId']()['startsWith']('__')))[_0x28b3de(0x20c)](async _0x56ee34=>{var _0x2e0f13=_0x28b3de;const _0x2f9b48=_0x56ee34[_0x2e0f13(0x32b)](),_0x19e00a=await this['_startCollaboration'](_0x2f9b48,Q[_0x2e0f13(0x1c5)]);this[_0x2e0f13(0x197)][_0x2e0f13(0x127)](_0x2f9b48,_0x19e00a);}),_0x2f8b75(this[_0x28b3de(0x2ab)]['getTypeOfUnitDisposed$'](_0x3ff6d6[_0x28b3de(0x83)]),this[_0x28b3de(0x2ab)][_0x28b3de(0x21b)](_0x3ff6d6['UNIVER_DOC']))[_0x28b3de(0x32d)](_0x97cbe4(this['dispose$']))[_0x28b3de(0x20c)](_0x5b4f1b=>{var _0x3e61c5=_0x28b3de;const _0x2409c2=_0x5b4f1b['getUnitId'](),_0xeb11e4=this[_0x3e61c5(0x197)][_0x3e61c5(0x333)](_0x2409c2);_0xeb11e4&&(_0xeb11e4[_0x3e61c5(0x147)](),this[_0x3e61c5(0x197)][_0x3e61c5(0x292)](_0x2409c2));});}async[_0x4fc2a2(0x2c6)](_0x1db9b3,_0x561b75){var _0x237e2d=_0x4fc2a2;const _0xa6d5e4=await this[_0x237e2d(0x2dc)]['requireSession'](_0x1db9b3),_0x5a00a0=this[_0x237e2d(0x26b)][_0x237e2d(0x87)](this[_0x237e2d(0xfa)](_0x561b75),_0x1db9b3,_0x561b75,_0xa6d5e4);return await _0x5a00a0[_0x237e2d(0xf8)](),this[_0x237e2d(0x112)][_0x237e2d(0x347)](_0x5a00a0),_0x5a00a0;}['_getCtorByUniverType'](_0x552da5){var _0x1aa67f=_0x4fc2a2;switch(_0x552da5){case Q['UNIVER_DOC']:return Tt;case Q[_0x1aa67f(0x83)]:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x552da5);}}};rt=Sr([ft(0x0,_0x4a88e2(_0x530b2b)),ft(0x1,_0x4a88e2(Le)),ft(0x2,_0x52579b)],rt);var Er=Object[_0x4fc2a2(0x241)],Ir=Object[_0x4fc2a2(0x2cf)],Tr=(_0x335642,_0x5e905b,_0x5182c6,_0x371bff)=>{for(var _0x43f7fc=_0x371bff>0x1?void 0x0:_0x371bff?Ir(_0x5e905b,_0x5182c6):_0x5e905b,_0x11d891=_0x335642['length']-0x1,_0x3e2c9f;_0x11d891>=0x0;_0x11d891--)(_0x3e2c9f=_0x335642[_0x11d891])&&(_0x43f7fc=(_0x371bff?_0x3e2c9f(_0x5e905b,_0x5182c6,_0x43f7fc):_0x3e2c9f(_0x43f7fc))||_0x43f7fc);return _0x371bff&&_0x43f7fc&&Er(_0x5e905b,_0x5182c6,_0x43f7fc),_0x43f7fc;},Jt=(_0x240597,_0x1e4f1c)=>(_0x38e44c,_0x5460ea)=>_0x1e4f1c(_0x38e44c,_0x5460ea,_0x240597);const Cr='DEFAULT_FILE_NAME',Rr=_0x4fc2a2(0x1b7);let Rt=class extends _0x43d0b2{constructor(_0x2f69ff,_0x43272c){super(),this['_univerInstanceService']=_0x2f69ff,this['_configService']=_0x43272c,this['_init']();}[_0x4fc2a2(0xa5)](){var _0x52eea3=_0x4fc2a2;this[_0x52eea3(0x2e8)](this[_0x52eea3(0x2ab)]['focused$'][_0x52eea3(0x20c)](()=>{var _0x50a9c2=_0x52eea3,_0x2b94c4;const _0x5ee842=this[_0x50a9c2(0x2ab)][_0x50a9c2(0x1a8)]();let _0x32a417=(_0x2b94c4=this[_0x50a9c2(0xde)][_0x50a9c2(0xe5)](Cr))!=null?_0x2b94c4:Rr;_0x5ee842 instanceof _0x293cf2&&(_0x32a417=_0x5ee842[_0x50a9c2(0x72)]),document['title']=_0x32a417;}));}};Rt=Tr([Jt(0x0,_0x52579b),Jt(0x1,_0x1a3e87)],Rt);var br=Object[_0x4fc2a2(0x241)],Or=Object[_0x4fc2a2(0x2cf)],yr=(_0x54c572,_0x19ae05,_0xa35450,_0x566eae)=>{var _0x2e97eb=_0x4fc2a2;for(var _0x14766b=_0x566eae>0x1?void 0x0:_0x566eae?Or(_0x19ae05,_0xa35450):_0x19ae05,_0x2259cb=_0x54c572[_0x2e97eb(0x1ad)]-0x1,_0xacf753;_0x2259cb>=0x0;_0x2259cb--)(_0xacf753=_0x54c572[_0x2259cb])&&(_0x14766b=(_0x566eae?_0xacf753(_0x19ae05,_0xa35450,_0x14766b):_0xacf753(_0x14766b))||_0x14766b);return _0x566eae&&_0x14766b&&br(_0x19ae05,_0xa35450,_0x14766b),_0x14766b;},vt=(_0x513d1a,_0x35f067)=>(_0x52f568,_0xd02429)=>_0x35f067(_0x52f568,_0xd02429,_0x513d1a);let st=class{constructor(_0x40b5d1,_0x447e97,_0x516172){var _0x5618b0=_0x4fc2a2;this[_0x5618b0(0xde)]=_0x40b5d1,this[_0x5618b0(0x2e2)]=_0x447e97,this[_0x5618b0(0xd7)]=_0x516172,this[_0x5618b0(0xf8)]();}[_0x4fc2a2(0xf8)](){var _0x3b8b79=_0x4fc2a2;this[_0x3b8b79(0x2e2)][_0x3b8b79(0x19f)]({'priority':0x1,'interceptor':(_0x805fa5,_0x2ba76a)=>_0x2ba76a(_0x805fa5)[_0x3b8b79(0x32d)](_0x4d22b9(async _0xbf84d0=>{var _0x247ca7=_0x3b8b79;const _0x51f617=_0xbf84d0;if(_0x51f617[_0x247ca7(0x319)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x247ca7(0xd7)]['t']('auth.needGotoLoginAlert'))){const _0x18f334=window['encodeURIComponent'](window[_0x247ca7(0xf6)][_0x247ca7(0x367)]);window['location'][_0x247ca7(0x367)]=this[_0x247ca7(0x32e)]()+_0x247ca7(0x1eb)+_0x18f334;}}return _0x51f617;}))});}[_0x4fc2a2(0x32e)](){var _0x520b35=_0x4fc2a2,_0xb4a72d,_0x26bd15;const _0x95b629=this[_0x520b35(0xde)][_0x520b35(0xe5)](xn),_0x17ccbd=this[_0x520b35(0xde)][_0x520b35(0xe5)](q);return(_0x26bd15=(_0xb4a72d=_0x17ccbd==null?void 0x0:_0x17ccbd[_0x520b35(0x276)])!=null?_0xb4a72d:_0x95b629)!=null?_0x26bd15:Ln;}};st=yr([vt(0x0,_0x1a3e87),vt(0x1,_0x4a88e2(_0x1b7bd1)),vt(0x2,_0x4a88e2(_0x5f27d9))],st);var Nr=Object[_0x4fc2a2(0x241)],Dr=Object[_0x4fc2a2(0x2cf)],Pr=(_0x1e16f5,_0x3ded28,_0x5de7e7,_0x55552e)=>{for(var _0x3d4032=_0x55552e>0x1?void 0x0:_0x55552e?Dr(_0x3ded28,_0x5de7e7):_0x3ded28,_0x2e824d=_0x1e16f5['length']-0x1,_0x46746b;_0x2e824d>=0x0;_0x2e824d--)(_0x46746b=_0x1e16f5[_0x2e824d])&&(_0x3d4032=(_0x55552e?_0x46746b(_0x3ded28,_0x5de7e7,_0x3d4032):_0x46746b(_0x3d4032))||_0x3d4032);return _0x55552e&&_0x3d4032&&Nr(_0x3ded28,_0x5de7e7,_0x3d4032),_0x3d4032;},Xt=(_0x5dee94,_0x3c97b1)=>(_0x2aec6a,_0x8ebcdc)=>_0x3c97b1(_0x2aec6a,_0x8ebcdc,_0x5dee94);const Pi=_0x4fc2a2(0x8e),wr='/universer-api/authz';let bt=class extends _0x43d0b2{constructor(_0x574b1b,_0x1df2cc){var _0x4d246f=_0x4fc2a2;super(),this[_0x4d246f(0x188)]=_0x574b1b,this[_0x4d246f(0xde)]=_0x1df2cc,this[_0x4d246f(0x288)]();}[_0x4fc2a2(0x288)](){var _0x4ddafd=_0x4fc2a2;const _0x1c1dcc=this;this[_0x4ddafd(0x2e8)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x20a156({'isMatch'(_0xfbc51){var _0x2dc0d4=_0x4ddafd,_0x5f31d0;if(_0xfbc51['method']===_0x2dc0d4(0x172)&&((_0x5f31d0=_0xfbc51[_0x2dc0d4(0x1e9)])!=null&&_0x5f31d0[_0x2dc0d4(0x330)])){const {objectID:_0x194e14,objectType:_0x565e12}=_0xfbc51[_0x2dc0d4(0x1e9)][_0x2dc0d4(0x330)]||{};if(!_0x194e14||_0x565e12===void 0x0)return!0x1;const _0x166c08=_0x1c1dcc[_0x2dc0d4(0x143)]()+'/'+_0x565e12+_0x2dc0d4(0x35f)+_0x194e14+_0x2dc0d4(0x32f);if(_0xfbc51[_0x2dc0d4(0x2f1)]===_0x166c08)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3e6dff){var _0x255623=_0x4ddafd,_0x34b975;return(_0x34b975=_0x3e6dff['requestParams'])==null?void 0x0:_0x34b975[_0x255623(0x330)];},'mergeParamsToRequest'(_0x206d56,_0x1aecd4){var _0xbfd6ab=_0x4ddafd;const _0x37a5d9=_0x1c1dcc[_0xbfd6ab(0x143)]()+'/-/object/-/batch_allowed',_0x31c711=_0x206d56[_0xbfd6ab(0x345)]((_0x4bf3d0,_0xcbb215)=>{var _0x237f5b=_0xbfd6ab;const {unitID:_0x1ce820,objectID:_0x515a4d,objectType:_0x57ceb1,actions:_0x5db133}=_0xcbb215;return _0x4bf3d0[_0x1ce820]||(_0x4bf3d0[_0x1ce820]={}),_0x4bf3d0[_0x1ce820][_0x515a4d]||(_0x4bf3d0[_0x1ce820][_0x515a4d]={'objectID':_0x515a4d,'objectType':_0x57ceb1,'actions':[]}),_0x4bf3d0[_0x1ce820][_0x515a4d]['actions'][_0x237f5b(0x18b)](..._0x5db133),_0x4bf3d0;},{}),_0x25ce3d=[];for(const _0x56829a in _0x31c711)for(const _0x1ff053 in _0x31c711[_0x56829a]){const {actions:_0x56a688,objectType:_0xfa07ef}=_0x31c711[_0x56829a][_0x1ff053],_0x96ba0d=[...new Set(_0x56a688)];_0x25ce3d[_0xbfd6ab(0x18b)]({'unitID':_0x56829a,'objectID':_0x1ff053,'objectType':_0xfa07ef,'actions':_0x96ba0d});}return new _0xdebfae(_0xbfd6ab(0x172),_0x37a5d9,{'headers':_0x1aecd4[_0xbfd6ab(0x7a)],'withCredentials':_0x1aecd4[_0xbfd6ab(0x7b)],'responseType':_0x1aecd4[_0xbfd6ab(0x35c)],'body':{'requests':_0x25ce3d}});}},{'distributeResult'(_0x516729,_0x23117f){var _0x327e32=_0x4ddafd;const {objectActions:_0xc59dff}=_0x516729;return _0x23117f[_0x327e32(0x1cf)](_0x4be7ec=>{var _0x2fb602=_0x327e32;const {unitID:_0xc5ae20,objectID:_0xfe53fb,actions:_0x3f9c8c}=_0x4be7ec,_0x4fe543=_0xc59dff[_0x2fb602(0x244)](_0x40ba1b=>_0x40ba1b['unitID']===_0xc5ae20&&_0x40ba1b[_0x2fb602(0x358)]===_0xfe53fb),_0x18602f=_0x3f9c8c['map'](_0x26aea2=>_0x4fe543==null?void 0x0:_0x4fe543[_0x2fb602(0x168)][_0x2fb602(0x244)](_0xb7030a=>_0xb7030a[_0x2fb602(0x287)]===_0x26aea2))['filter'](_0xef42ea=>!!_0xef42ea);return{'config':_0x4be7ec,'result':{'actions':_0x18602f,'error':_0x516729['error']}};});}})}));}[_0x4fc2a2(0x143)](){var _0xf53b88=_0x4fc2a2,_0x1bb5d7,_0x4fa441;const _0x5a1556=this[_0xf53b88(0xde)][_0xf53b88(0xe5)](Pi),_0x558b08=this[_0xf53b88(0xde)]['getConfig'](q);return(_0x4fa441=(_0x1bb5d7=_0x558b08==null?void 0x0:_0x558b08[_0xf53b88(0x33d)])!=null?_0x1bb5d7:_0x5a1556)!=null?_0x4fa441:wr;}async[_0x4fc2a2(0xe3)](_0x52787c){var _0x208537=_0x4fc2a2;const _0x425f8c=this[_0x208537(0x143)]()+'/'+_0x52787c[_0x208537(0xc9)]+'/object';return(await this[_0x208537(0x188)]['post'](_0x425f8c,{'body':_0x52787c}))[_0x208537(0x330)][_0x208537(0x358)]||'';}async['list'](_0xb84cfc){var _0x337fc9=_0x4fc2a2;const _0x8a028e=this[_0x337fc9(0x143)]()+'/-/object/list';return(await this[_0x337fc9(0x188)]['post'](_0x8a028e,{'body':_0xb84cfc}))[_0x337fc9(0x330)][_0x337fc9(0x2d1)];}async[_0x4fc2a2(0x255)](_0x132472){var _0x3758b2=_0x4fc2a2;const _0x5d6d90=this[_0x3758b2(0x143)]()+'/'+_0x132472[_0x3758b2(0xc9)]+_0x3758b2(0x35f)+_0x132472[_0x3758b2(0x358)];await this['_HTTPService'][_0x3758b2(0x1b8)](_0x5d6d90,{'body':_0x132472});}async[_0x4fc2a2(0x164)](_0x81a608){var _0x1eb122=_0x4fc2a2;const _0x449101=this[_0x1eb122(0x143)]()+'/'+_0x81a608['objectType']+'/object/'+_0x81a608[_0x1eb122(0x358)]+'/allowed';return(await this[_0x1eb122(0x188)]['post'](_0x449101,{'body':_0x81a608}))[_0x1eb122(0x330)][_0x1eb122(0x168)];}async[_0x4fc2a2(0x88)](_0x5eed46){var _0x55c4a0=_0x4fc2a2;const _0x5aeb41=this[_0x55c4a0(0x143)]()+_0x55c4a0(0x29b);return(await this[_0x55c4a0(0x188)][_0x55c4a0(0xa1)](_0x5aeb41,{'body':{'requests':_0x5eed46}}))[_0x55c4a0(0x330)][_0x55c4a0(0x13e)];}async[_0x4fc2a2(0x31e)](_0x3ce205){var _0x2d1f54=_0x4fc2a2;const _0x266c7f=this['_getAPIPrefixPath']()+'/'+_0x3ce205['objectType']+_0x2d1f54(0x2f3),_0x31a468=await this[_0x2d1f54(0x188)]['post'](_0x266c7f,{'body':_0x3ce205});return{'roles':_0x31a468['body'][_0x2d1f54(0x2fb)],'actions':_0x31a468[_0x2d1f54(0x330)][_0x2d1f54(0x168)]};}async[_0x4fc2a2(0x309)](_0x5dbf7c){var _0x4a4616=_0x4fc2a2;const _0x3b63ad=this['_getAPIPrefixPath']()+_0x4a4616(0x303);await this[_0x4a4616(0x188)]['delete'](_0x3b63ad,{'params':{'collaboratorID':_0x5dbf7c[_0x4a4616(0x263)],'objectID':_0x5dbf7c['objectID'],'unitID':_0x5dbf7c['unitID']}});}async[_0x4fc2a2(0x210)](_0x518bb0){var _0x5956ab=_0x4fc2a2;const _0x3b8d16=this[_0x5956ab(0x143)]()+_0x5956ab(0x303);await this['_HTTPService']['patch'](_0x3b8d16,{'body':_0x518bb0});}async[_0x4fc2a2(0x1ef)](_0x329ce3){var _0x492f11=_0x4fc2a2;const _0x4d1474=this[_0x492f11(0x143)]()+_0x492f11(0x303);await this[_0x492f11(0x188)][_0x492f11(0xa1)](_0x4d1474,{'body':_0x329ce3});}async['listCollaborators'](_0x2fb406){var _0x5f4051=_0x4fc2a2;const _0x7c0821=this[_0x5f4051(0x143)]()+_0x5f4051(0x303);return(await this['_HTTPService'][_0x5f4051(0x333)](_0x7c0821,{'params':{'objectID':_0x2fb406['objectID'],'unitID':_0x2fb406[_0x5f4051(0xb2)]}}))[_0x5f4051(0x330)][_0x5f4051(0x82)];}async['putCollaborators'](_0x2501ad){var _0x43c733=_0x4fc2a2;const _0x902e78=this[_0x43c733(0x143)]()+_0x43c733(0x303);await this[_0x43c733(0x188)][_0x43c733(0x1b8)](_0x902e78,{'body':_0x2501ad});}};bt=Pr([Xt(0x0,_0x4a88e2(_0x1b7bd1)),Xt(0x1,_0x4a88e2(_0x1a3e87))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x4d20e8){var _0x5ec6c3=_0x4fc2a2;return _0x4d20e8&&_0x4d20e8[_0x5ec6c3(0x1a1)]&&Object['prototype']['hasOwnProperty']['call'](_0x4d20e8,_0x5ec6c3(0x8d))?_0x4d20e8['default']:_0x4d20e8;}var Ve={'exports':{}};function Ur(_0x5a2c0a){var _0x48dee9=_0x4fc2a2;throw new Error(_0x48dee9(0x207)+_0x5a2c0a+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge[_0x4fc2a2(0x1ea)],Zt;function ne(){var _0x3b50d9=_0x4fc2a2;return Zt||(Zt=0x1,function(_0x579223,_0x5b9958){(function(_0x467e1c,_0x51a4c6){_0x579223['exports']=_0x51a4c6();}(Ar,function(){var _0x4477c5=_0x4477c5||function(_0x5208bd,_0x324e25){var _0x2fa4a4=_0xb1fa,_0x4632c3;if(typeof window<'u'&&window[_0x2fa4a4(0x1ca)]&&(_0x4632c3=window[_0x2fa4a4(0x1ca)]),typeof self<'u'&&self[_0x2fa4a4(0x1ca)]&&(_0x4632c3=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x4632c3=globalThis[_0x2fa4a4(0x1ca)]),!_0x4632c3&&typeof window<'u'&&window['msCrypto']&&(_0x4632c3=window[_0x2fa4a4(0x17c)]),!_0x4632c3&&typeof pt<'u'&&pt['crypto']&&(_0x4632c3=pt[_0x2fa4a4(0x1ca)]),!_0x4632c3&&typeof Ur==_0x2fa4a4(0x346))try{_0x4632c3=require(_0x2fa4a4(0x1ca));}catch{}var _0x18ae50=function(){var _0x4f3c4d=_0x2fa4a4;if(_0x4632c3){if(typeof _0x4632c3[_0x4f3c4d(0x28c)]==_0x4f3c4d(0x346))try{return _0x4632c3[_0x4f3c4d(0x28c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4632c3['randomBytes']==_0x4f3c4d(0x346))try{return _0x4632c3['randomBytes'](0x4)[_0x4f3c4d(0x360)]();}catch{}}throw new Error(_0x4f3c4d(0x15e));},_0x17fe44=Object['create']||(function(){function _0x5c71e7(){}return function(_0x382fe7){var _0x2fefc3=_0xb1fa,_0x30692e;return _0x5c71e7['prototype']=_0x382fe7,_0x30692e=new _0x5c71e7(),_0x5c71e7[_0x2fefc3(0x12e)]=null,_0x30692e;};}()),_0x140872={},_0x124ee9=_0x140872[_0x2fa4a4(0xc5)]={},_0x53e6e4=_0x124ee9[_0x2fa4a4(0xc4)]=(function(){return{'extend':function(_0x3f9c85){var _0x213eab=_0xb1fa,_0x53cccc=_0x17fe44(this);return _0x3f9c85&&_0x53cccc[_0x213eab(0x1da)](_0x3f9c85),(!_0x53cccc[_0x213eab(0x26f)](_0x213eab(0xf8))||this[_0x213eab(0xf8)]===_0x53cccc[_0x213eab(0xf8)])&&(_0x53cccc[_0x213eab(0xf8)]=function(){var _0x562ad2=_0x213eab;_0x53cccc[_0x562ad2(0xf2)][_0x562ad2(0xf8)]['apply'](this,arguments);}),_0x53cccc[_0x213eab(0xf8)][_0x213eab(0x12e)]=_0x53cccc,_0x53cccc[_0x213eab(0xf2)]=this,_0x53cccc;},'create':function(){var _0x3ddb83=_0xb1fa,_0x1ad34b=this['extend']();return _0x1ad34b[_0x3ddb83(0xf8)][_0x3ddb83(0x279)](_0x1ad34b,arguments),_0x1ad34b;},'init':function(){},'mixIn':function(_0x3c8ded){var _0x4b343c=_0xb1fa;for(var _0x81b7b0 in _0x3c8ded)_0x3c8ded[_0x4b343c(0x26f)](_0x81b7b0)&&(this[_0x81b7b0]=_0x3c8ded[_0x81b7b0]);_0x3c8ded[_0x4b343c(0x26f)](_0x4b343c(0x2b3))&&(this[_0x4b343c(0x2b3)]=_0x3c8ded[_0x4b343c(0x2b3)]);},'clone':function(){var _0x43e785=_0xb1fa;return this[_0x43e785(0xf8)][_0x43e785(0x12e)][_0x43e785(0x2de)](this);}};}()),_0x3159c9=_0x124ee9[_0x2fa4a4(0x107)]=_0x53e6e4[_0x2fa4a4(0x2de)]({'init':function(_0x509753,_0xbea3ea){var _0x3777f4=_0x2fa4a4;_0x509753=this[_0x3777f4(0xc0)]=_0x509753||[],_0xbea3ea!=_0x324e25?this[_0x3777f4(0xbf)]=_0xbea3ea:this['sigBytes']=_0x509753[_0x3777f4(0x1ad)]*0x4;},'toString':function(_0x3c1909){var _0x4abaa8=_0x2fa4a4;return(_0x3c1909||_0x1c96cf)[_0x4abaa8(0x141)](this);},'concat':function(_0x1fdaeb){var _0x4e7429=_0x2fa4a4,_0x3a974e=this[_0x4e7429(0xc0)],_0x4c3a99=_0x1fdaeb[_0x4e7429(0xc0)],_0x11e254=this[_0x4e7429(0xbf)],_0x316d4c=_0x1fdaeb[_0x4e7429(0xbf)];if(this[_0x4e7429(0x1e2)](),_0x11e254%0x4)for(var _0x30a571=0x0;_0x30a571<_0x316d4c;_0x30a571++){var _0x305ef5=_0x4c3a99[_0x30a571>>>0x2]>>>0x18-_0x30a571%0x4*0x8&0xff;_0x3a974e[_0x11e254+_0x30a571>>>0x2]|=_0x305ef5<<0x18-(_0x11e254+_0x30a571)%0x4*0x8;}else{for(var _0x27ae50=0x0;_0x27ae50<_0x316d4c;_0x27ae50+=0x4)_0x3a974e[_0x11e254+_0x27ae50>>>0x2]=_0x4c3a99[_0x27ae50>>>0x2];}return this[_0x4e7429(0xbf)]+=_0x316d4c,this;},'clamp':function(){var _0x354a9e=_0x2fa4a4,_0x3bebb0=this[_0x354a9e(0xc0)],_0x838c64=this[_0x354a9e(0xbf)];_0x3bebb0[_0x838c64>>>0x2]&=0xffffffff<<0x20-_0x838c64%0x4*0x8,_0x3bebb0[_0x354a9e(0x1ad)]=_0x5208bd[_0x354a9e(0xdf)](_0x838c64/0x4);},'clone':function(){var _0x132f71=_0x2fa4a4,_0x1a3005=_0x53e6e4[_0x132f71(0x10d)][_0x132f71(0x238)](this);return _0x1a3005['words']=this[_0x132f71(0xc0)][_0x132f71(0x2a0)](0x0),_0x1a3005;},'random':function(_0x134c67){var _0x2f6f16=_0x2fa4a4;for(var _0x63e8a4=[],_0x42ef33=0x0;_0x42ef33<_0x134c67;_0x42ef33+=0x4)_0x63e8a4[_0x2f6f16(0x18b)](_0x18ae50());return new _0x3159c9[(_0x2f6f16(0xf8))](_0x63e8a4,_0x134c67);}}),_0x28ff0c=_0x140872['enc']={},_0x1c96cf=_0x28ff0c[_0x2fa4a4(0x2e3)]={'stringify':function(_0x5711df){var _0x575dba=_0x2fa4a4;for(var _0xe641ab=_0x5711df[_0x575dba(0xc0)],_0x5e8dcc=_0x5711df[_0x575dba(0xbf)],_0x13d1d9=[],_0x2a4ea4=0x0;_0x2a4ea4<_0x5e8dcc;_0x2a4ea4++){var _0x599bf4=_0xe641ab[_0x2a4ea4>>>0x2]>>>0x18-_0x2a4ea4%0x4*0x8&0xff;_0x13d1d9[_0x575dba(0x18b)]((_0x599bf4>>>0x4)[_0x575dba(0x2b3)](0x10)),_0x13d1d9['push']((_0x599bf4&0xf)[_0x575dba(0x2b3)](0x10));}return _0x13d1d9[_0x575dba(0x1b1)]('');},'parse':function(_0xcb868c){var _0x508b01=_0x2fa4a4;for(var _0x28102c=_0xcb868c[_0x508b01(0x1ad)],_0x50580e=[],_0xf7a44a=0x0;_0xf7a44a<_0x28102c;_0xf7a44a+=0x2)_0x50580e[_0xf7a44a>>>0x3]|=parseInt(_0xcb868c[_0x508b01(0xf4)](_0xf7a44a,0x2),0x10)<<0x18-_0xf7a44a%0x8*0x4;return new _0x3159c9['init'](_0x50580e,_0x28102c/0x2);}},_0x490669=_0x28ff0c['Latin1']={'stringify':function(_0x29ce48){var _0x23d775=_0x2fa4a4;for(var _0x30245f=_0x29ce48[_0x23d775(0xc0)],_0x5b590b=_0x29ce48['sigBytes'],_0x5cf7b2=[],_0x10cca2=0x0;_0x10cca2<_0x5b590b;_0x10cca2++){var _0x9071b4=_0x30245f[_0x10cca2>>>0x2]>>>0x18-_0x10cca2%0x4*0x8&0xff;_0x5cf7b2[_0x23d775(0x18b)](String[_0x23d775(0x13b)](_0x9071b4));}return _0x5cf7b2['join']('');},'parse':function(_0x443c85){var _0x49391f=_0x2fa4a4;for(var _0x36b89b=_0x443c85[_0x49391f(0x1ad)],_0x3316b5=[],_0x4b223a=0x0;_0x4b223a<_0x36b89b;_0x4b223a++)_0x3316b5[_0x4b223a>>>0x2]|=(_0x443c85[_0x49391f(0x163)](_0x4b223a)&0xff)<<0x18-_0x4b223a%0x4*0x8;return new _0x3159c9['init'](_0x3316b5,_0x36b89b);}},_0x193cf8=_0x28ff0c['Utf8']={'stringify':function(_0x4b3700){var _0x2ace89=_0x2fa4a4;try{return decodeURIComponent(escape(_0x490669['stringify'](_0x4b3700)));}catch{throw new Error(_0x2ace89(0x18f));}},'parse':function(_0x410904){return _0x490669['parse'](unescape(encodeURIComponent(_0x410904)));}},_0x29f611=_0x124ee9[_0x2fa4a4(0x1c8)]=_0x53e6e4[_0x2fa4a4(0x2de)]({'reset':function(){var _0x35076f=_0x2fa4a4;this['_data']=new _0x3159c9[(_0x35076f(0xf8))](),this['_nDataBytes']=0x0;},'_append':function(_0x49f760){var _0x5f18bb=_0x2fa4a4;typeof _0x49f760=='string'&&(_0x49f760=_0x193cf8[_0x5f18bb(0x1db)](_0x49f760)),this['_data'][_0x5f18bb(0x1fb)](_0x49f760),this['_nDataBytes']+=_0x49f760[_0x5f18bb(0xbf)];},'_process':function(_0x21a35a){var _0x546d88=_0x2fa4a4,_0xf5027b,_0x33ffff=this[_0x546d88(0x353)],_0x4c082b=_0x33ffff[_0x546d88(0xc0)],_0x355fe4=_0x33ffff[_0x546d88(0xbf)],_0x18c944=this['blockSize'],_0x4b1ee6=_0x18c944*0x4,_0x3e5d68=_0x355fe4/_0x4b1ee6;_0x21a35a?_0x3e5d68=_0x5208bd[_0x546d88(0xdf)](_0x3e5d68):_0x3e5d68=_0x5208bd[_0x546d88(0x2bc)]((_0x3e5d68|0x0)-this[_0x546d88(0x18d)],0x0);var _0x5a0752=_0x3e5d68*_0x18c944,_0x4f95f6=_0x5208bd[_0x546d88(0x2cb)](_0x5a0752*0x4,_0x355fe4);if(_0x5a0752){for(var _0xfea65=0x0;_0xfea65<_0x5a0752;_0xfea65+=_0x18c944)this['_doProcessBlock'](_0x4c082b,_0xfea65);_0xf5027b=_0x4c082b[_0x546d88(0x27b)](0x0,_0x5a0752),_0x33ffff[_0x546d88(0xbf)]-=_0x4f95f6;}return new _0x3159c9[(_0x546d88(0xf8))](_0xf5027b,_0x4f95f6);},'clone':function(){var _0x399610=_0x2fa4a4,_0x21bd9c=_0x53e6e4[_0x399610(0x10d)][_0x399610(0x238)](this);return _0x21bd9c[_0x399610(0x353)]=this[_0x399610(0x353)]['clone'](),_0x21bd9c;},'_minBufferSize':0x0});_0x124ee9[_0x2fa4a4(0xa0)]=_0x29f611[_0x2fa4a4(0x2de)]({'cfg':_0x53e6e4[_0x2fa4a4(0x2de)](),'init':function(_0x416a43){var _0x4a80f1=_0x2fa4a4;this['cfg']=this['cfg'][_0x4a80f1(0x2de)](_0x416a43),this[_0x4a80f1(0x25f)]();},'reset':function(){var _0xed9806=_0x2fa4a4;_0x29f611[_0xed9806(0x25f)][_0xed9806(0x238)](this),this[_0xed9806(0x339)]();},'update':function(_0x1ef8aa){var _0x47bb24=_0x2fa4a4;return this[_0x47bb24(0x2d5)](_0x1ef8aa),this[_0x47bb24(0x28f)](),this;},'finalize':function(_0x352ca5){var _0xe24a70=_0x2fa4a4;_0x352ca5&&this[_0xe24a70(0x2d5)](_0x352ca5);var _0x5f542b=this[_0xe24a70(0x217)]();return _0x5f542b;},'blockSize':0x10,'_createHelper':function(_0x4d9c13){return function(_0x46fa74,_0x5746d2){var _0x518906=_0xb1fa;return new _0x4d9c13[(_0x518906(0xf8))](_0x5746d2)[_0x518906(0x264)](_0x46fa74);};},'_createHmacHelper':function(_0x5b2650){return function(_0x31142a,_0x4110e6){var _0x34c1e3=_0xb1fa;return new _0x5b3f85[(_0x34c1e3(0x2cd))]['init'](_0x5b2650,_0x4110e6)[_0x34c1e3(0x264)](_0x31142a);};}});var _0x5b3f85=_0x140872[_0x2fa4a4(0x29d)]={};return _0x140872;}(Math);return _0x4477c5;}));}(Ge)),Ge[_0x3b50d9(0x1ea)];}var We={'exports':{}},xr=We[_0x4fc2a2(0x1ea)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x51a346,_0x518d25){(function(_0x262590,_0xb418b5){var _0x523123=_0xb1fa;_0x51a346[_0x523123(0x1ea)]=_0xb418b5(ne());}(xr,function(_0x50ed87){var _0x376f0f=_0xb1fa;return(function(){var _0x25c8e0=_0xb1fa,_0x420c20=_0x50ed87,_0x4511d9=_0x420c20[_0x25c8e0(0xc5)],_0x3e95fd=_0x4511d9[_0x25c8e0(0x107)],_0x5ad080=_0x420c20[_0x25c8e0(0x1c0)];_0x5ad080[_0x25c8e0(0x16e)]={'stringify':function(_0x1d7b87){var _0x279bbe=_0x25c8e0,_0x551e7e=_0x1d7b87[_0x279bbe(0xc0)],_0x44889f=_0x1d7b87[_0x279bbe(0xbf)],_0x4d3252=this[_0x279bbe(0x144)];_0x1d7b87[_0x279bbe(0x1e2)]();for(var _0x231d49=[],_0x22f20d=0x0;_0x22f20d<_0x44889f;_0x22f20d+=0x3)for(var _0x80cce6=_0x551e7e[_0x22f20d>>>0x2]>>>0x18-_0x22f20d%0x4*0x8&0xff,_0x504802=_0x551e7e[_0x22f20d+0x1>>>0x2]>>>0x18-(_0x22f20d+0x1)%0x4*0x8&0xff,_0x303db9=_0x551e7e[_0x22f20d+0x2>>>0x2]>>>0x18-(_0x22f20d+0x2)%0x4*0x8&0xff,_0x3281e3=_0x80cce6<<0x10|_0x504802<<0x8|_0x303db9,_0xc82730=0x0;_0xc82730<0x4&&_0x22f20d+_0xc82730*0.75<_0x44889f;_0xc82730++)_0x231d49[_0x279bbe(0x18b)](_0x4d3252[_0x279bbe(0x1bd)](_0x3281e3>>>0x6*(0x3-_0xc82730)&0x3f));var _0x459cc8=_0x4d3252[_0x279bbe(0x1bd)](0x40);if(_0x459cc8){for(;_0x231d49[_0x279bbe(0x1ad)]%0x4;)_0x231d49[_0x279bbe(0x18b)](_0x459cc8);}return _0x231d49[_0x279bbe(0x1b1)]('');},'parse':function(_0x4d64e6){var _0x5cb714=_0x25c8e0,_0x43f7c4=_0x4d64e6[_0x5cb714(0x1ad)],_0x5622ab=this[_0x5cb714(0x144)],_0x263d51=this[_0x5cb714(0x2af)];if(!_0x263d51){_0x263d51=this['_reverseMap']=[];for(var _0x4e2020=0x0;_0x4e2020<_0x5622ab[_0x5cb714(0x1ad)];_0x4e2020++)_0x263d51[_0x5622ab[_0x5cb714(0x163)](_0x4e2020)]=_0x4e2020;}var _0x48efac=_0x5622ab[_0x5cb714(0x1bd)](0x40);if(_0x48efac){var _0x261778=_0x4d64e6[_0x5cb714(0x331)](_0x48efac);_0x261778!==-0x1&&(_0x43f7c4=_0x261778);}return _0x4e5351(_0x4d64e6,_0x43f7c4,_0x263d51);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x4e5351(_0x293f5f,_0x1b621b,_0x3c8814){var _0x5ce333=_0x25c8e0;for(var _0x786b75=[],_0x539e52=0x0,_0x45aa58=0x0;_0x45aa58<_0x1b621b;_0x45aa58++)if(_0x45aa58%0x4){var _0x35a24d=_0x3c8814[_0x293f5f[_0x5ce333(0x163)](_0x45aa58-0x1)]<<_0x45aa58%0x4*0x2,_0x5c652c=_0x3c8814[_0x293f5f[_0x5ce333(0x163)](_0x45aa58)]>>>0x6-_0x45aa58%0x4*0x2,_0xab5ec8=_0x35a24d|_0x5c652c;_0x786b75[_0x539e52>>>0x2]|=_0xab5ec8<<0x18-_0x539e52%0x4*0x8,_0x539e52++;}return _0x3e95fd[_0x5ce333(0xe3)](_0x786b75,_0x539e52);}}()),_0x50ed87[_0x376f0f(0x1c0)][_0x376f0f(0x16e)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke[_0x4fc2a2(0x1ea)],ei;function Mr(){return ei||(ei=0x1,function(_0x213063,_0x1d589e){(function(_0x415072,_0x183e12){_0x213063['exports']=_0x183e12(ne());}(Lr,function(_0x834b9c){var _0x52a2c0=_0xb1fa;return function(_0x444c20){var _0x3d0775=_0xb1fa,_0x3e86c7=_0x834b9c,_0x531d5c=_0x3e86c7[_0x3d0775(0xc5)],_0x2388a8=_0x531d5c[_0x3d0775(0x107)],_0x2ea0cc=_0x531d5c[_0x3d0775(0xa0)],_0x2ea7f1=_0x3e86c7['algo'],_0x770662=[];(function(){var _0x4cce5b=_0x3d0775;for(var _0x29b893=0x0;_0x29b893<0x40;_0x29b893++)_0x770662[_0x29b893]=_0x444c20[_0x4cce5b(0x25a)](_0x444c20['sin'](_0x29b893+0x1))*0x100000000|0x0;}());var _0x5c3286=_0x2ea7f1['MD5']=_0x2ea0cc[_0x3d0775(0x2de)]({'_doReset':function(){var _0x56fa09=_0x3d0775;this[_0x56fa09(0x35d)]=new _0x2388a8[(_0x56fa09(0xf8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xbf1a53,_0x3fbd81){var _0x162899=_0x3d0775;for(var _0x59162a=0x0;_0x59162a<0x10;_0x59162a++){var _0x1bae22=_0x3fbd81+_0x59162a,_0x17fe8c=_0xbf1a53[_0x1bae22];_0xbf1a53[_0x1bae22]=(_0x17fe8c<<0x8|_0x17fe8c>>>0x18)&0xff00ff|(_0x17fe8c<<0x18|_0x17fe8c>>>0x8)&0xff00ff00;}var _0x590a0f=this[_0x162899(0x35d)][_0x162899(0xc0)],_0x2ffb25=_0xbf1a53[_0x3fbd81+0x0],_0x3517b1=_0xbf1a53[_0x3fbd81+0x1],_0x122aaa=_0xbf1a53[_0x3fbd81+0x2],_0x32f717=_0xbf1a53[_0x3fbd81+0x3],_0x45bb58=_0xbf1a53[_0x3fbd81+0x4],_0x282385=_0xbf1a53[_0x3fbd81+0x5],_0x4abdec=_0xbf1a53[_0x3fbd81+0x6],_0x49a5ed=_0xbf1a53[_0x3fbd81+0x7],_0x53e837=_0xbf1a53[_0x3fbd81+0x8],_0x30cc27=_0xbf1a53[_0x3fbd81+0x9],_0x4862a3=_0xbf1a53[_0x3fbd81+0xa],_0x3747fa=_0xbf1a53[_0x3fbd81+0xb],_0x4449a7=_0xbf1a53[_0x3fbd81+0xc],_0x116881=_0xbf1a53[_0x3fbd81+0xd],_0x5d7139=_0xbf1a53[_0x3fbd81+0xe],_0x254732=_0xbf1a53[_0x3fbd81+0xf],_0x4e0543=_0x590a0f[0x0],_0x5c5224=_0x590a0f[0x1],_0x366e3b=_0x590a0f[0x2],_0x149431=_0x590a0f[0x3];_0x4e0543=_0x2896ec(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x2ffb25,0x7,_0x770662[0x0]),_0x149431=_0x2896ec(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x3517b1,0xc,_0x770662[0x1]),_0x366e3b=_0x2896ec(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x122aaa,0x11,_0x770662[0x2]),_0x5c5224=_0x2896ec(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x32f717,0x16,_0x770662[0x3]),_0x4e0543=_0x2896ec(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x45bb58,0x7,_0x770662[0x4]),_0x149431=_0x2896ec(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x282385,0xc,_0x770662[0x5]),_0x366e3b=_0x2896ec(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x4abdec,0x11,_0x770662[0x6]),_0x5c5224=_0x2896ec(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x49a5ed,0x16,_0x770662[0x7]),_0x4e0543=_0x2896ec(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x53e837,0x7,_0x770662[0x8]),_0x149431=_0x2896ec(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x30cc27,0xc,_0x770662[0x9]),_0x366e3b=_0x2896ec(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x4862a3,0x11,_0x770662[0xa]),_0x5c5224=_0x2896ec(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x3747fa,0x16,_0x770662[0xb]),_0x4e0543=_0x2896ec(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x4449a7,0x7,_0x770662[0xc]),_0x149431=_0x2896ec(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x116881,0xc,_0x770662[0xd]),_0x366e3b=_0x2896ec(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x5d7139,0x11,_0x770662[0xe]),_0x5c5224=_0x2896ec(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x254732,0x16,_0x770662[0xf]),_0x4e0543=_0x46eee8(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x3517b1,0x5,_0x770662[0x10]),_0x149431=_0x46eee8(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x4abdec,0x9,_0x770662[0x11]),_0x366e3b=_0x46eee8(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x3747fa,0xe,_0x770662[0x12]),_0x5c5224=_0x46eee8(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x2ffb25,0x14,_0x770662[0x13]),_0x4e0543=_0x46eee8(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x282385,0x5,_0x770662[0x14]),_0x149431=_0x46eee8(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x4862a3,0x9,_0x770662[0x15]),_0x366e3b=_0x46eee8(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x254732,0xe,_0x770662[0x16]),_0x5c5224=_0x46eee8(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x45bb58,0x14,_0x770662[0x17]),_0x4e0543=_0x46eee8(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x30cc27,0x5,_0x770662[0x18]),_0x149431=_0x46eee8(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x5d7139,0x9,_0x770662[0x19]),_0x366e3b=_0x46eee8(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x32f717,0xe,_0x770662[0x1a]),_0x5c5224=_0x46eee8(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x53e837,0x14,_0x770662[0x1b]),_0x4e0543=_0x46eee8(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x116881,0x5,_0x770662[0x1c]),_0x149431=_0x46eee8(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x122aaa,0x9,_0x770662[0x1d]),_0x366e3b=_0x46eee8(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x49a5ed,0xe,_0x770662[0x1e]),_0x5c5224=_0x46eee8(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x4449a7,0x14,_0x770662[0x1f]),_0x4e0543=_0x3dcf38(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x282385,0x4,_0x770662[0x20]),_0x149431=_0x3dcf38(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x53e837,0xb,_0x770662[0x21]),_0x366e3b=_0x3dcf38(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x3747fa,0x10,_0x770662[0x22]),_0x5c5224=_0x3dcf38(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x5d7139,0x17,_0x770662[0x23]),_0x4e0543=_0x3dcf38(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x3517b1,0x4,_0x770662[0x24]),_0x149431=_0x3dcf38(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x45bb58,0xb,_0x770662[0x25]),_0x366e3b=_0x3dcf38(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x49a5ed,0x10,_0x770662[0x26]),_0x5c5224=_0x3dcf38(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x4862a3,0x17,_0x770662[0x27]),_0x4e0543=_0x3dcf38(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x116881,0x4,_0x770662[0x28]),_0x149431=_0x3dcf38(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x2ffb25,0xb,_0x770662[0x29]),_0x366e3b=_0x3dcf38(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x32f717,0x10,_0x770662[0x2a]),_0x5c5224=_0x3dcf38(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x4abdec,0x17,_0x770662[0x2b]),_0x4e0543=_0x3dcf38(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x30cc27,0x4,_0x770662[0x2c]),_0x149431=_0x3dcf38(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x4449a7,0xb,_0x770662[0x2d]),_0x366e3b=_0x3dcf38(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x254732,0x10,_0x770662[0x2e]),_0x5c5224=_0x3dcf38(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x122aaa,0x17,_0x770662[0x2f]),_0x4e0543=_0x3148cf(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x2ffb25,0x6,_0x770662[0x30]),_0x149431=_0x3148cf(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x49a5ed,0xa,_0x770662[0x31]),_0x366e3b=_0x3148cf(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x5d7139,0xf,_0x770662[0x32]),_0x5c5224=_0x3148cf(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x282385,0x15,_0x770662[0x33]),_0x4e0543=_0x3148cf(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x4449a7,0x6,_0x770662[0x34]),_0x149431=_0x3148cf(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x32f717,0xa,_0x770662[0x35]),_0x366e3b=_0x3148cf(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x4862a3,0xf,_0x770662[0x36]),_0x5c5224=_0x3148cf(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x3517b1,0x15,_0x770662[0x37]),_0x4e0543=_0x3148cf(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x53e837,0x6,_0x770662[0x38]),_0x149431=_0x3148cf(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x254732,0xa,_0x770662[0x39]),_0x366e3b=_0x3148cf(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x4abdec,0xf,_0x770662[0x3a]),_0x5c5224=_0x3148cf(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x116881,0x15,_0x770662[0x3b]),_0x4e0543=_0x3148cf(_0x4e0543,_0x5c5224,_0x366e3b,_0x149431,_0x45bb58,0x6,_0x770662[0x3c]),_0x149431=_0x3148cf(_0x149431,_0x4e0543,_0x5c5224,_0x366e3b,_0x3747fa,0xa,_0x770662[0x3d]),_0x366e3b=_0x3148cf(_0x366e3b,_0x149431,_0x4e0543,_0x5c5224,_0x122aaa,0xf,_0x770662[0x3e]),_0x5c5224=_0x3148cf(_0x5c5224,_0x366e3b,_0x149431,_0x4e0543,_0x30cc27,0x15,_0x770662[0x3f]),_0x590a0f[0x0]=_0x590a0f[0x0]+_0x4e0543|0x0,_0x590a0f[0x1]=_0x590a0f[0x1]+_0x5c5224|0x0,_0x590a0f[0x2]=_0x590a0f[0x2]+_0x366e3b|0x0,_0x590a0f[0x3]=_0x590a0f[0x3]+_0x149431|0x0;},'_doFinalize':function(){var _0x5f497c=_0x3d0775,_0x171ef5=this['_data'],_0x16b52e=_0x171ef5[_0x5f497c(0xc0)],_0x511491=this['_nDataBytes']*0x8,_0x18b8f4=_0x171ef5['sigBytes']*0x8;_0x16b52e[_0x18b8f4>>>0x5]|=0x80<<0x18-_0x18b8f4%0x20;var _0x2ee1bc=_0x444c20[_0x5f497c(0x269)](_0x511491/0x100000000),_0x4ecd70=_0x511491;_0x16b52e[(_0x18b8f4+0x40>>>0x9<<0x4)+0xf]=(_0x2ee1bc<<0x8|_0x2ee1bc>>>0x18)&0xff00ff|(_0x2ee1bc<<0x18|_0x2ee1bc>>>0x8)&0xff00ff00,_0x16b52e[(_0x18b8f4+0x40>>>0x9<<0x4)+0xe]=(_0x4ecd70<<0x8|_0x4ecd70>>>0x18)&0xff00ff|(_0x4ecd70<<0x18|_0x4ecd70>>>0x8)&0xff00ff00,_0x171ef5[_0x5f497c(0xbf)]=(_0x16b52e['length']+0x1)*0x4,this[_0x5f497c(0x28f)]();for(var _0x434a9b=this[_0x5f497c(0x35d)],_0x3fbae4=_0x434a9b['words'],_0x285bf9=0x0;_0x285bf9<0x4;_0x285bf9++){var _0x16021c=_0x3fbae4[_0x285bf9];_0x3fbae4[_0x285bf9]=(_0x16021c<<0x8|_0x16021c>>>0x18)&0xff00ff|(_0x16021c<<0x18|_0x16021c>>>0x8)&0xff00ff00;}return _0x434a9b;},'clone':function(){var _0x1306e2=_0x3d0775,_0xd9278e=_0x2ea0cc[_0x1306e2(0x10d)][_0x1306e2(0x238)](this);return _0xd9278e[_0x1306e2(0x35d)]=this[_0x1306e2(0x35d)][_0x1306e2(0x10d)](),_0xd9278e;}});function _0x2896ec(_0xb6580c,_0x588b9b,_0x4f0927,_0xe31279,_0x4e9694,_0xff1a8b,_0x45d848){var _0x5a6dd4=_0xb6580c+(_0x588b9b&_0x4f0927|~_0x588b9b&_0xe31279)+_0x4e9694+_0x45d848;return(_0x5a6dd4<<_0xff1a8b|_0x5a6dd4>>>0x20-_0xff1a8b)+_0x588b9b;}function _0x46eee8(_0x48e283,_0x431977,_0x1f24f4,_0x38fb04,_0x245095,_0x141bbd,_0x1928eb){var _0x5bdb78=_0x48e283+(_0x431977&_0x38fb04|_0x1f24f4&~_0x38fb04)+_0x245095+_0x1928eb;return(_0x5bdb78<<_0x141bbd|_0x5bdb78>>>0x20-_0x141bbd)+_0x431977;}function _0x3dcf38(_0x58562f,_0x12ec2c,_0x2d4406,_0x540c3f,_0x15425c,_0x670fc2,_0x3cdbe5){var _0x3dc41d=_0x58562f+(_0x12ec2c^_0x2d4406^_0x540c3f)+_0x15425c+_0x3cdbe5;return(_0x3dc41d<<_0x670fc2|_0x3dc41d>>>0x20-_0x670fc2)+_0x12ec2c;}function _0x3148cf(_0x23e9b3,_0x5afe06,_0x3fe640,_0x54769e,_0x516b62,_0xa74ce3,_0x329a69){var _0x3e0a59=_0x23e9b3+(_0x3fe640^(_0x5afe06|~_0x54769e))+_0x516b62+_0x329a69;return(_0x3e0a59<<_0xa74ce3|_0x3e0a59>>>0x20-_0xa74ce3)+_0x5afe06;}_0x3e86c7[_0x3d0775(0x179)]=_0x2ea0cc[_0x3d0775(0x365)](_0x5c3286),_0x3e86c7[_0x3d0775(0x9e)]=_0x2ea0cc['_createHmacHelper'](_0x5c3286);}(Math),_0x834b9c[_0x52a2c0(0x179)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x4fc2a2(0x1ea)],ti;function Hr(){var _0x1329f3=_0x4fc2a2;return ti||(ti=0x1,function(_0x2742c7,_0x41e30a){(function(_0x4c4274,_0x4f1649){_0x2742c7['exports']=_0x4f1649(ne());}($r,function(_0x2c82ec){return(function(){var _0x162f8b=_0xb1fa,_0x177e55=_0x2c82ec,_0x32a859=_0x177e55[_0x162f8b(0xc5)],_0x19337a=_0x32a859[_0x162f8b(0x107)],_0x36197b=_0x32a859[_0x162f8b(0xa0)],_0x140a69=_0x177e55[_0x162f8b(0x29d)],_0x41dae1=[],_0x961668=_0x140a69[_0x162f8b(0x344)]=_0x36197b['extend']({'_doReset':function(){var _0x2dce88=_0x162f8b;this[_0x2dce88(0x35d)]=new _0x19337a[(_0x2dce88(0xf8))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4708bf,_0x3d8948){var _0x235188=_0x162f8b;for(var _0x436c3a=this[_0x235188(0x35d)]['words'],_0x54b96a=_0x436c3a[0x0],_0x46e8ac=_0x436c3a[0x1],_0x255789=_0x436c3a[0x2],_0xf524ff=_0x436c3a[0x3],_0x2ffdee=_0x436c3a[0x4],_0x1f73e7=0x0;_0x1f73e7<0x50;_0x1f73e7++){if(_0x1f73e7<0x10)_0x41dae1[_0x1f73e7]=_0x4708bf[_0x3d8948+_0x1f73e7]|0x0;else{var _0x5e52c0=_0x41dae1[_0x1f73e7-0x3]^_0x41dae1[_0x1f73e7-0x8]^_0x41dae1[_0x1f73e7-0xe]^_0x41dae1[_0x1f73e7-0x10];_0x41dae1[_0x1f73e7]=_0x5e52c0<<0x1|_0x5e52c0>>>0x1f;}var _0x4a5181=(_0x54b96a<<0x5|_0x54b96a>>>0x1b)+_0x2ffdee+_0x41dae1[_0x1f73e7];_0x1f73e7<0x14?_0x4a5181+=(_0x46e8ac&_0x255789|~_0x46e8ac&_0xf524ff)+0x5a827999:_0x1f73e7<0x28?_0x4a5181+=(_0x46e8ac^_0x255789^_0xf524ff)+0x6ed9eba1:_0x1f73e7<0x3c?_0x4a5181+=(_0x46e8ac&_0x255789|_0x46e8ac&_0xf524ff|_0x255789&_0xf524ff)-0x70e44324:_0x4a5181+=(_0x46e8ac^_0x255789^_0xf524ff)-0x359d3e2a,_0x2ffdee=_0xf524ff,_0xf524ff=_0x255789,_0x255789=_0x46e8ac<<0x1e|_0x46e8ac>>>0x2,_0x46e8ac=_0x54b96a,_0x54b96a=_0x4a5181;}_0x436c3a[0x0]=_0x436c3a[0x0]+_0x54b96a|0x0,_0x436c3a[0x1]=_0x436c3a[0x1]+_0x46e8ac|0x0,_0x436c3a[0x2]=_0x436c3a[0x2]+_0x255789|0x0,_0x436c3a[0x3]=_0x436c3a[0x3]+_0xf524ff|0x0,_0x436c3a[0x4]=_0x436c3a[0x4]+_0x2ffdee|0x0;},'_doFinalize':function(){var _0x1fae4d=_0x162f8b,_0x4b45bc=this['_data'],_0x20fb19=_0x4b45bc[_0x1fae4d(0xc0)],_0x41dec5=this['_nDataBytes']*0x8,_0x4e4bba=_0x4b45bc[_0x1fae4d(0xbf)]*0x8;return _0x20fb19[_0x4e4bba>>>0x5]|=0x80<<0x18-_0x4e4bba%0x20,_0x20fb19[(_0x4e4bba+0x40>>>0x9<<0x4)+0xe]=Math[_0x1fae4d(0x269)](_0x41dec5/0x100000000),_0x20fb19[(_0x4e4bba+0x40>>>0x9<<0x4)+0xf]=_0x41dec5,_0x4b45bc[_0x1fae4d(0xbf)]=_0x20fb19[_0x1fae4d(0x1ad)]*0x4,this[_0x1fae4d(0x28f)](),this['_hash'];},'clone':function(){var _0x42a259=_0x162f8b,_0x3940f4=_0x36197b[_0x42a259(0x10d)]['call'](this);return _0x3940f4['_hash']=this[_0x42a259(0x35d)][_0x42a259(0x10d)](),_0x3940f4;}});_0x177e55[_0x162f8b(0x344)]=_0x36197b['_createHelper'](_0x961668),_0x177e55[_0x162f8b(0x1d3)]=_0x36197b[_0x162f8b(0x159)](_0x961668);}()),_0x2c82ec['SHA1'];}));}(qe)),qe[_0x1329f3(0x1ea)];}var ze={'exports':{}},kr=ze[_0x4fc2a2(0x1ea)],ii;function jr(){var _0x1ec67e=_0x4fc2a2;return ii||(ii=0x1,function(_0x47b0b7,_0x2fe06f){(function(_0x16b7a9,_0x5a2bb6){var _0x15efd8=_0xb1fa;_0x47b0b7[_0x15efd8(0x1ea)]=_0x5a2bb6(ne());}(kr,function(_0x4abd56){(function(){var _0xf4c5f2=_0xb1fa,_0x1eea22=_0x4abd56,_0x3c98b5=_0x1eea22[_0xf4c5f2(0xc5)],_0x346df8=_0x3c98b5['Base'],_0x2c8d32=_0x1eea22[_0xf4c5f2(0x1c0)],_0x343f9d=_0x2c8d32['Utf8'],_0x348e45=_0x1eea22['algo'];_0x348e45[_0xf4c5f2(0x2cd)]=_0x346df8[_0xf4c5f2(0x2de)]({'init':function(_0x4738fb,_0x2821bb){var _0x5913f1=_0xf4c5f2;_0x4738fb=this[_0x5913f1(0xbc)]=new _0x4738fb[(_0x5913f1(0xf8))](),typeof _0x2821bb=='string'&&(_0x2821bb=_0x343f9d['parse'](_0x2821bb));var _0xddf998=_0x4738fb[_0x5913f1(0x308)],_0x22a2c0=_0xddf998*0x4;_0x2821bb[_0x5913f1(0xbf)]>_0x22a2c0&&(_0x2821bb=_0x4738fb[_0x5913f1(0x264)](_0x2821bb)),_0x2821bb[_0x5913f1(0x1e2)]();for(var _0x562527=this[_0x5913f1(0x1e6)]=_0x2821bb[_0x5913f1(0x10d)](),_0x430b78=this['_iKey']=_0x2821bb['clone'](),_0x21a6df=_0x562527[_0x5913f1(0xc0)],_0x45c08a=_0x430b78[_0x5913f1(0xc0)],_0x170aa0=0x0;_0x170aa0<_0xddf998;_0x170aa0++)_0x21a6df[_0x170aa0]^=0x5c5c5c5c,_0x45c08a[_0x170aa0]^=0x36363636;_0x562527[_0x5913f1(0xbf)]=_0x430b78['sigBytes']=_0x22a2c0,this[_0x5913f1(0x25f)]();},'reset':function(){var _0x201939=_0xf4c5f2,_0x10d442=this[_0x201939(0xbc)];_0x10d442[_0x201939(0x25f)](),_0x10d442['update'](this[_0x201939(0xb4)]);},'update':function(_0x52ab37){var _0x99cb3a=_0xf4c5f2;return this[_0x99cb3a(0xbc)]['update'](_0x52ab37),this;},'finalize':function(_0xc68f49){var _0x230c31=_0xf4c5f2,_0x3fb681=this[_0x230c31(0xbc)],_0x58df73=_0x3fb681[_0x230c31(0x264)](_0xc68f49);_0x3fb681[_0x230c31(0x25f)]();var _0x271fc7=_0x3fb681[_0x230c31(0x264)](this['_oKey'][_0x230c31(0x10d)]()[_0x230c31(0x1fb)](_0x58df73));return _0x271fc7;}});}());}));}(ze)),ze[_0x1ec67e(0x1ea)];}var Br=Ye['exports'],ni;function Ui(){var _0x18eaf4=_0x4fc2a2;return ni||(ni=0x1,function(_0x4656c0,_0x313c70){(function(_0x2616f9,_0x422bf4,_0x55b222){var _0x152afe=_0xb1fa;_0x4656c0[_0x152afe(0x1ea)]=_0x422bf4(ne(),Hr(),jr());}(Br,function(_0x5d6fb8){var _0x530f3d=_0xb1fa;return(function(){var _0x325bde=_0xb1fa,_0x10c9d3=_0x5d6fb8,_0x42bb4d=_0x10c9d3[_0x325bde(0xc5)],_0x9c85b1=_0x42bb4d['Base'],_0x26dcdc=_0x42bb4d[_0x325bde(0x107)],_0x18a1d4=_0x10c9d3[_0x325bde(0x29d)],_0x35b669=_0x18a1d4[_0x325bde(0x179)],_0x332905=_0x18a1d4[_0x325bde(0x2da)]=_0x9c85b1[_0x325bde(0x2de)]({'cfg':_0x9c85b1[_0x325bde(0x2de)]({'keySize':0x80/0x20,'hasher':_0x35b669,'iterations':0x1}),'init':function(_0x22c15a){var _0x30d148=_0x325bde;this[_0x30d148(0x151)]=this[_0x30d148(0x151)][_0x30d148(0x2de)](_0x22c15a);},'compute':function(_0x5880f9,_0x4b816e){var _0x455839=_0x325bde;for(var _0x56543f,_0x8257f9=this[_0x455839(0x151)],_0x193c79=_0x8257f9[_0x455839(0xf3)][_0x455839(0xe3)](),_0x17b23f=_0x26dcdc['create'](),_0xdc105d=_0x17b23f[_0x455839(0xc0)],_0x743d3b=_0x8257f9['keySize'],_0x21a800=_0x8257f9['iterations'];_0xdc105d[_0x455839(0x1ad)]<_0x743d3b;){_0x56543f&&_0x193c79[_0x455839(0x255)](_0x56543f),_0x56543f=_0x193c79[_0x455839(0x255)](_0x5880f9)['finalize'](_0x4b816e),_0x193c79[_0x455839(0x25f)]();for(var _0x8fe858=0x1;_0x8fe858<_0x21a800;_0x8fe858++)_0x56543f=_0x193c79[_0x455839(0x264)](_0x56543f),_0x193c79['reset']();_0x17b23f['concat'](_0x56543f);}return _0x17b23f[_0x455839(0xbf)]=_0x743d3b*0x4,_0x17b23f;}});_0x10c9d3['EvpKDF']=function(_0x106962,_0xf80e9b,_0x19ebd3){return _0x332905['create'](_0x19ebd3)['compute'](_0x106962,_0xf80e9b);};}()),_0x5d6fb8[_0x530f3d(0x2da)];}));}(Ye)),Ye[_0x18eaf4(0x1ea)];}var Je={'exports':{}},Fr=Je[_0x4fc2a2(0x1ea)],ri;function Ai(){var _0x5683df=_0x4fc2a2;return ri||(ri=0x1,function(_0x243ec8,_0x10e1f8){(function(_0x23158f,_0x35977c,_0x52ed33){_0x243ec8['exports']=_0x35977c(ne(),Ui());}(Fr,function(_0x2f1ea4){var _0x4ec1a6=_0xb1fa;_0x2f1ea4[_0x4ec1a6(0xc5)][_0x4ec1a6(0xae)]||function(_0x55553d){var _0x2ca8f0=_0x4ec1a6,_0x569eb8=_0x2f1ea4,_0x25f67d=_0x569eb8[_0x2ca8f0(0xc5)],_0x4396ab=_0x25f67d['Base'],_0x24c415=_0x25f67d[_0x2ca8f0(0x107)],_0x3b334f=_0x25f67d[_0x2ca8f0(0x1c8)],_0x4be0e1=_0x569eb8[_0x2ca8f0(0x1c0)];_0x4be0e1[_0x2ca8f0(0x326)];var _0x37aef1=_0x4be0e1[_0x2ca8f0(0x16e)],_0x1ad7c4=_0x569eb8['algo'],_0x19b5f2=_0x1ad7c4['EvpKDF'],_0x114560=_0x25f67d[_0x2ca8f0(0xae)]=_0x3b334f[_0x2ca8f0(0x2de)]({'cfg':_0x4396ab[_0x2ca8f0(0x2de)](),'createEncryptor':function(_0x31c77c,_0x44e094){var _0x4786ce=_0x2ca8f0;return this[_0x4786ce(0xe3)](this['_ENC_XFORM_MODE'],_0x31c77c,_0x44e094);},'createDecryptor':function(_0x313de6,_0x177c63){var _0x594d88=_0x2ca8f0;return this['create'](this[_0x594d88(0x76)],_0x313de6,_0x177c63);},'init':function(_0x5f10dd,_0x5b0297,_0x4cc6a7){var _0x2f8ece=_0x2ca8f0;this[_0x2f8ece(0x151)]=this[_0x2f8ece(0x151)][_0x2f8ece(0x2de)](_0x4cc6a7),this['_xformMode']=_0x5f10dd,this[_0x2f8ece(0x17f)]=_0x5b0297,this[_0x2f8ece(0x25f)]();},'reset':function(){var _0x2c368c=_0x2ca8f0;_0x3b334f[_0x2c368c(0x25f)][_0x2c368c(0x238)](this),this[_0x2c368c(0x339)]();},'process':function(_0x4f0711){return this['_append'](_0x4f0711),this['_process']();},'finalize':function(_0x4f22e9){var _0x15dc9c=_0x2ca8f0;_0x4f22e9&&this[_0x15dc9c(0x2d5)](_0x4f22e9);var _0x278e97=this[_0x15dc9c(0x217)]();return _0x278e97;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x451349(_0x4adc90){var _0x2214f=_0xb1fa;return typeof _0x4adc90==_0x2214f(0x20a)?_0x411f1f:_0x4cc655;}return function(_0x18fbdb){return{'encrypt':function(_0x185ddf,_0x5c4605,_0x54f16e){return _0x451349(_0x5c4605)['encrypt'](_0x18fbdb,_0x185ddf,_0x5c4605,_0x54f16e);},'decrypt':function(_0xdd1308,_0x5c0b34,_0x5169b2){var _0xab8fcd=_0xb1fa;return _0x451349(_0x5c0b34)[_0xab8fcd(0x220)](_0x18fbdb,_0xdd1308,_0x5c0b34,_0x5169b2);}};};}())});_0x25f67d[_0x2ca8f0(0x2e6)]=_0x114560[_0x2ca8f0(0x2de)]({'_doFinalize':function(){var _0x19766e=_0x2ca8f0,_0x5281e5=this[_0x19766e(0x28f)](!0x0);return _0x5281e5;},'blockSize':0x1});var _0xc42e3d=_0x569eb8[_0x2ca8f0(0x10c)]={},_0x10ffc1=_0x25f67d[_0x2ca8f0(0x27f)]=_0x4396ab[_0x2ca8f0(0x2de)]({'createEncryptor':function(_0x148f49,_0x16a6a9){var _0x158c86=_0x2ca8f0;return this[_0x158c86(0x328)]['create'](_0x148f49,_0x16a6a9);},'createDecryptor':function(_0x173a93,_0x191801){var _0x5007ed=_0x2ca8f0;return this['Decryptor'][_0x5007ed(0xe3)](_0x173a93,_0x191801);},'init':function(_0x135931,_0x3091d9){var _0x4b5304=_0x2ca8f0;this[_0x4b5304(0x1f8)]=_0x135931,this[_0x4b5304(0x2f7)]=_0x3091d9;}}),_0x3e0028=_0xc42e3d[_0x2ca8f0(0x1a9)]=(function(){var _0x566b02=_0x2ca8f0,_0x452d39=_0x10ffc1[_0x566b02(0x2de)]();_0x452d39[_0x566b02(0x328)]=_0x452d39['extend']({'processBlock':function(_0x3a6910,_0x4fc110){var _0x4cf401=_0x566b02,_0x23657a=this[_0x4cf401(0x1f8)],_0x5434f2=_0x23657a[_0x4cf401(0x308)];_0x1f7e1c[_0x4cf401(0x238)](this,_0x3a6910,_0x4fc110,_0x5434f2),_0x23657a[_0x4cf401(0x282)](_0x3a6910,_0x4fc110),this['_prevBlock']=_0x3a6910[_0x4cf401(0x2a0)](_0x4fc110,_0x4fc110+_0x5434f2);}}),_0x452d39[_0x566b02(0x132)]=_0x452d39[_0x566b02(0x2de)]({'processBlock':function(_0x4238ff,_0x44cf64){var _0x16c688=_0x566b02,_0x2a9177=this[_0x16c688(0x1f8)],_0x5720a8=_0x2a9177[_0x16c688(0x308)],_0x4d06f5=_0x4238ff['slice'](_0x44cf64,_0x44cf64+_0x5720a8);_0x2a9177[_0x16c688(0x192)](_0x4238ff,_0x44cf64),_0x1f7e1c[_0x16c688(0x238)](this,_0x4238ff,_0x44cf64,_0x5720a8),this['_prevBlock']=_0x4d06f5;}});function _0x1f7e1c(_0x22e0a8,_0xecd034,_0x52437c){var _0x132320=_0x566b02,_0x1d5250,_0x41602a=this[_0x132320(0x2f7)];_0x41602a?(_0x1d5250=_0x41602a,this[_0x132320(0x2f7)]=_0x55553d):_0x1d5250=this[_0x132320(0x24b)];for(var _0x1bf493=0x0;_0x1bf493<_0x52437c;_0x1bf493++)_0x22e0a8[_0xecd034+_0x1bf493]^=_0x1d5250[_0x1bf493];}return _0x452d39;}()),_0x58f321=_0x569eb8[_0x2ca8f0(0x1c9)]={},_0x42d79a=_0x58f321[_0x2ca8f0(0x125)]={'pad':function(_0x23a540,_0x2c43be){var _0x40a6ba=_0x2ca8f0;for(var _0x3609f4=_0x2c43be*0x4,_0x1c1d8f=_0x3609f4-_0x23a540[_0x40a6ba(0xbf)]%_0x3609f4,_0x56e3f9=_0x1c1d8f<<0x18|_0x1c1d8f<<0x10|_0x1c1d8f<<0x8|_0x1c1d8f,_0x2dd128=[],_0x16eee6=0x0;_0x16eee6<_0x1c1d8f;_0x16eee6+=0x4)_0x2dd128[_0x40a6ba(0x18b)](_0x56e3f9);var _0x1fc929=_0x24c415[_0x40a6ba(0xe3)](_0x2dd128,_0x1c1d8f);_0x23a540['concat'](_0x1fc929);},'unpad':function(_0x5750a1){var _0x4993a0=_0x2ca8f0,_0x29bd66=_0x5750a1[_0x4993a0(0xc0)][_0x5750a1['sigBytes']-0x1>>>0x2]&0xff;_0x5750a1[_0x4993a0(0xbf)]-=_0x29bd66;}};_0x25f67d['BlockCipher']=_0x114560[_0x2ca8f0(0x2de)]({'cfg':_0x114560['cfg']['extend']({'mode':_0x3e0028,'padding':_0x42d79a}),'reset':function(){var _0x25b71c=_0x2ca8f0,_0x3ddd05;_0x114560[_0x25b71c(0x25f)][_0x25b71c(0x238)](this);var _0x5571fb=this[_0x25b71c(0x151)],_0x11fdda=_0x5571fb['iv'],_0x3ce17e=_0x5571fb[_0x25b71c(0x10c)];this[_0x25b71c(0x2a3)]==this[_0x25b71c(0x128)]?_0x3ddd05=_0x3ce17e[_0x25b71c(0x166)]:(_0x3ddd05=_0x3ce17e[_0x25b71c(0x11f)],this['_minBufferSize']=0x1),this[_0x25b71c(0x2a5)]&&this[_0x25b71c(0x2a5)][_0x25b71c(0x173)]==_0x3ddd05?this[_0x25b71c(0x2a5)][_0x25b71c(0xf8)](this,_0x11fdda&&_0x11fdda[_0x25b71c(0xc0)]):(this['_mode']=_0x3ddd05[_0x25b71c(0x238)](_0x3ce17e,this,_0x11fdda&&_0x11fdda[_0x25b71c(0xc0)]),this['_mode'][_0x25b71c(0x173)]=_0x3ddd05);},'_doProcessBlock':function(_0x3f1075,_0x47dcc4){var _0x2f14d2=_0x2ca8f0;this[_0x2f14d2(0x2a5)]['processBlock'](_0x3f1075,_0x47dcc4);},'_doFinalize':function(){var _0x173503=_0x2ca8f0,_0x1ec2b8,_0x576932=this[_0x173503(0x151)][_0x173503(0x304)];return this[_0x173503(0x2a3)]==this['_ENC_XFORM_MODE']?(_0x576932[_0x173503(0x1c9)](this[_0x173503(0x353)],this['blockSize']),_0x1ec2b8=this[_0x173503(0x28f)](!0x0)):(_0x1ec2b8=this['_process'](!0x0),_0x576932[_0x173503(0x2f4)](_0x1ec2b8)),_0x1ec2b8;},'blockSize':0x80/0x20});var _0x22dced=_0x25f67d[_0x2ca8f0(0x22a)]=_0x4396ab['extend']({'init':function(_0x4949b6){var _0x2a7e06=_0x2ca8f0;this[_0x2a7e06(0x1da)](_0x4949b6);},'toString':function(_0xc0f574){var _0x75f83e=_0x2ca8f0;return(_0xc0f574||this[_0x75f83e(0x24e)])[_0x75f83e(0x141)](this);}}),_0x519d72=_0x569eb8[_0x2ca8f0(0x22e)]={},_0x4bbd11=_0x519d72['OpenSSL']={'stringify':function(_0x2cf235){var _0x1eec9a=_0x2ca8f0,_0x29a40c,_0x38c6b2=_0x2cf235[_0x1eec9a(0x284)],_0x473ecd=_0x2cf235['salt'];return _0x473ecd?_0x29a40c=_0x24c415[_0x1eec9a(0xe3)]([0x53616c74,0x65645f5f])[_0x1eec9a(0x1fb)](_0x473ecd)[_0x1eec9a(0x1fb)](_0x38c6b2):_0x29a40c=_0x38c6b2,_0x29a40c['toString'](_0x37aef1);},'parse':function(_0x3d1bcb){var _0x4e4b03=_0x2ca8f0,_0x5d3c7d,_0x3232c0=_0x37aef1[_0x4e4b03(0x1db)](_0x3d1bcb),_0x3e21f3=_0x3232c0[_0x4e4b03(0xc0)];return _0x3e21f3[0x0]==0x53616c74&&_0x3e21f3[0x1]==0x65645f5f&&(_0x5d3c7d=_0x24c415[_0x4e4b03(0xe3)](_0x3e21f3[_0x4e4b03(0x2a0)](0x2,0x4)),_0x3e21f3[_0x4e4b03(0x27b)](0x0,0x4),_0x3232c0[_0x4e4b03(0xbf)]-=0x10),_0x22dced[_0x4e4b03(0xe3)]({'ciphertext':_0x3232c0,'salt':_0x5d3c7d});}},_0x4cc655=_0x25f67d[_0x2ca8f0(0x155)]=_0x4396ab[_0x2ca8f0(0x2de)]({'cfg':_0x4396ab[_0x2ca8f0(0x2de)]({'format':_0x4bbd11}),'encrypt':function(_0x4b786d,_0x399def,_0x31564e,_0x50b508){var _0x4da8e8=_0x2ca8f0;_0x50b508=this['cfg'][_0x4da8e8(0x2de)](_0x50b508);var _0x328d58=_0x4b786d[_0x4da8e8(0x166)](_0x31564e,_0x50b508),_0x36521e=_0x328d58[_0x4da8e8(0x264)](_0x399def),_0x52f5ec=_0x328d58[_0x4da8e8(0x151)];return _0x22dced[_0x4da8e8(0xe3)]({'ciphertext':_0x36521e,'key':_0x31564e,'iv':_0x52f5ec['iv'],'algorithm':_0x4b786d,'mode':_0x52f5ec[_0x4da8e8(0x10c)],'padding':_0x52f5ec['padding'],'blockSize':_0x4b786d[_0x4da8e8(0x308)],'formatter':_0x50b508[_0x4da8e8(0x22e)]});},'decrypt':function(_0x4eeedf,_0x1284f8,_0x3c0a0c,_0x2b2a84){var _0x1a8929=_0x2ca8f0;_0x2b2a84=this[_0x1a8929(0x151)][_0x1a8929(0x2de)](_0x2b2a84),_0x1284f8=this[_0x1a8929(0x1e4)](_0x1284f8,_0x2b2a84['format']);var _0x292127=_0x4eeedf['createDecryptor'](_0x3c0a0c,_0x2b2a84)[_0x1a8929(0x264)](_0x1284f8['ciphertext']);return _0x292127;},'_parse':function(_0x2150d3,_0x36ebab){var _0x456c77=_0x2ca8f0;return typeof _0x2150d3==_0x456c77(0x20a)?_0x36ebab['parse'](_0x2150d3,this):_0x2150d3;}}),_0x160db1=_0x569eb8[_0x2ca8f0(0x216)]={},_0x3216c2=_0x160db1[_0x2ca8f0(0x142)]={'execute':function(_0x4f1947,_0x198815,_0x507e3f,_0xb647a5,_0x54b774){var _0x3af5c3=_0x2ca8f0;if(_0xb647a5||(_0xb647a5=_0x24c415['random'](0x40/0x8)),_0x54b774)var _0x2a1e6d=_0x19b5f2[_0x3af5c3(0xe3)]({'keySize':_0x198815+_0x507e3f,'hasher':_0x54b774})[_0x3af5c3(0x2d2)](_0x4f1947,_0xb647a5);else var _0x2a1e6d=_0x19b5f2[_0x3af5c3(0xe3)]({'keySize':_0x198815+_0x507e3f})[_0x3af5c3(0x2d2)](_0x4f1947,_0xb647a5);var _0x160f00=_0x24c415[_0x3af5c3(0xe3)](_0x2a1e6d[_0x3af5c3(0xc0)][_0x3af5c3(0x2a0)](_0x198815),_0x507e3f*0x4);return _0x2a1e6d[_0x3af5c3(0xbf)]=_0x198815*0x4,_0x22dced[_0x3af5c3(0xe3)]({'key':_0x2a1e6d,'iv':_0x160f00,'salt':_0xb647a5});}},_0x411f1f=_0x25f67d[_0x2ca8f0(0x268)]=_0x4cc655['extend']({'cfg':_0x4cc655[_0x2ca8f0(0x151)][_0x2ca8f0(0x2de)]({'kdf':_0x3216c2}),'encrypt':function(_0x56ded8,_0x20376c,_0x3cac7e,_0x285874){var _0x1017b6=_0x2ca8f0;_0x285874=this['cfg'][_0x1017b6(0x2de)](_0x285874);var _0x4f1172=_0x285874[_0x1017b6(0x216)][_0x1017b6(0x275)](_0x3cac7e,_0x56ded8[_0x1017b6(0x257)],_0x56ded8['ivSize'],_0x285874['salt'],_0x285874[_0x1017b6(0xf3)]);_0x285874['iv']=_0x4f1172['iv'];var _0x5190c0=_0x4cc655['encrypt'][_0x1017b6(0x238)](this,_0x56ded8,_0x20376c,_0x4f1172[_0x1017b6(0x1de)],_0x285874);return _0x5190c0[_0x1017b6(0x1da)](_0x4f1172),_0x5190c0;},'decrypt':function(_0x5e0473,_0x2be9c0,_0x2598dc,_0x6fa5ba){var _0x55d27d=_0x2ca8f0;_0x6fa5ba=this[_0x55d27d(0x151)]['extend'](_0x6fa5ba),_0x2be9c0=this['_parse'](_0x2be9c0,_0x6fa5ba[_0x55d27d(0x22e)]);var _0x3ddc76=_0x6fa5ba[_0x55d27d(0x216)][_0x55d27d(0x275)](_0x2598dc,_0x5e0473[_0x55d27d(0x257)],_0x5e0473['ivSize'],_0x2be9c0['salt'],_0x6fa5ba[_0x55d27d(0xf3)]);_0x6fa5ba['iv']=_0x3ddc76['iv'];var _0x1e4da3=_0x4cc655['decrypt']['call'](this,_0x5e0473,_0x2be9c0,_0x3ddc76[_0x55d27d(0x1de)],_0x6fa5ba);return _0x1e4da3;}});}();}));}(Je)),Je[_0x5683df(0x1ea)];}var Vr=Ve[_0x4fc2a2(0x1ea)],si;function Gr(){return si||(si=0x1,function(_0x353807,_0x27a14a){(function(_0xca0d6c,_0x578f6f,_0x193e50){var _0x2c91bf=_0xb1fa;_0x353807[_0x2c91bf(0x1ea)]=_0x578f6f(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x1edbf8){var _0x4894f8=_0xb1fa;return(function(){var _0x4c64d7=_0xb1fa,_0x373e52=_0x1edbf8,_0x3707de=_0x373e52['lib'],_0x39421c=_0x3707de[_0x4c64d7(0x1ae)],_0xaa5ffc=_0x373e52[_0x4c64d7(0x29d)],_0x305253=[],_0x7d0c7a=[],_0x5270ff=[],_0x161a33=[],_0x4723ff=[],_0xf42697=[],_0x3892ef=[],_0x5186ee=[],_0x3c9b51=[],_0x4cb0dd=[];(function(){for(var _0x5850d3=[],_0x35a313=0x0;_0x35a313<0x100;_0x35a313++)_0x35a313<0x80?_0x5850d3[_0x35a313]=_0x35a313<<0x1:_0x5850d3[_0x35a313]=_0x35a313<<0x1^0x11b;for(var _0xf8a2b3=0x0,_0xee26b0=0x0,_0x35a313=0x0;_0x35a313<0x100;_0x35a313++){var _0x47f87e=_0xee26b0^_0xee26b0<<0x1^_0xee26b0<<0x2^_0xee26b0<<0x3^_0xee26b0<<0x4;_0x47f87e=_0x47f87e>>>0x8^_0x47f87e&0xff^0x63,_0x305253[_0xf8a2b3]=_0x47f87e,_0x7d0c7a[_0x47f87e]=_0xf8a2b3;var _0x2524ad=_0x5850d3[_0xf8a2b3],_0xeda8b5=_0x5850d3[_0x2524ad],_0xdb4459=_0x5850d3[_0xeda8b5],_0x1c736b=_0x5850d3[_0x47f87e]*0x101^_0x47f87e*0x1010100;_0x5270ff[_0xf8a2b3]=_0x1c736b<<0x18|_0x1c736b>>>0x8,_0x161a33[_0xf8a2b3]=_0x1c736b<<0x10|_0x1c736b>>>0x10,_0x4723ff[_0xf8a2b3]=_0x1c736b<<0x8|_0x1c736b>>>0x18,_0xf42697[_0xf8a2b3]=_0x1c736b;var _0x1c736b=_0xdb4459*0x1010101^_0xeda8b5*0x10001^_0x2524ad*0x101^_0xf8a2b3*0x1010100;_0x3892ef[_0x47f87e]=_0x1c736b<<0x18|_0x1c736b>>>0x8,_0x5186ee[_0x47f87e]=_0x1c736b<<0x10|_0x1c736b>>>0x10,_0x3c9b51[_0x47f87e]=_0x1c736b<<0x8|_0x1c736b>>>0x18,_0x4cb0dd[_0x47f87e]=_0x1c736b,_0xf8a2b3?(_0xf8a2b3=_0x2524ad^_0x5850d3[_0x5850d3[_0x5850d3[_0xdb4459^_0x2524ad]]],_0xee26b0^=_0x5850d3[_0x5850d3[_0xee26b0]]):_0xf8a2b3=_0xee26b0=0x1;}}());var _0x1afd96=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x56b287=_0xaa5ffc[_0x4c64d7(0x26e)]=_0x39421c[_0x4c64d7(0x2de)]({'_doReset':function(){var _0x1d0c88=_0x4c64d7,_0x14abc3;if(!(this[_0x1d0c88(0xa9)]&&this[_0x1d0c88(0x80)]===this[_0x1d0c88(0x17f)])){for(var _0x4358bf=this[_0x1d0c88(0x80)]=this[_0x1d0c88(0x17f)],_0x2c785a=_0x4358bf['words'],_0xcd6fec=_0x4358bf[_0x1d0c88(0xbf)]/0x4,_0x1eb564=this[_0x1d0c88(0xa9)]=_0xcd6fec+0x6,_0x3c3026=(_0x1eb564+0x1)*0x4,_0x311651=this['_keySchedule']=[],_0x2d0b2e=0x0;_0x2d0b2e<_0x3c3026;_0x2d0b2e++)_0x2d0b2e<_0xcd6fec?_0x311651[_0x2d0b2e]=_0x2c785a[_0x2d0b2e]:(_0x14abc3=_0x311651[_0x2d0b2e-0x1],_0x2d0b2e%_0xcd6fec?_0xcd6fec>0x6&&_0x2d0b2e%_0xcd6fec==0x4&&(_0x14abc3=_0x305253[_0x14abc3>>>0x18]<<0x18|_0x305253[_0x14abc3>>>0x10&0xff]<<0x10|_0x305253[_0x14abc3>>>0x8&0xff]<<0x8|_0x305253[_0x14abc3&0xff]):(_0x14abc3=_0x14abc3<<0x8|_0x14abc3>>>0x18,_0x14abc3=_0x305253[_0x14abc3>>>0x18]<<0x18|_0x305253[_0x14abc3>>>0x10&0xff]<<0x10|_0x305253[_0x14abc3>>>0x8&0xff]<<0x8|_0x305253[_0x14abc3&0xff],_0x14abc3^=_0x1afd96[_0x2d0b2e/_0xcd6fec|0x0]<<0x18),_0x311651[_0x2d0b2e]=_0x311651[_0x2d0b2e-_0xcd6fec]^_0x14abc3);for(var _0x46fd2b=this[_0x1d0c88(0xcf)]=[],_0x4ba4d3=0x0;_0x4ba4d3<_0x3c3026;_0x4ba4d3++){var _0x2d0b2e=_0x3c3026-_0x4ba4d3;if(_0x4ba4d3%0x4)var _0x14abc3=_0x311651[_0x2d0b2e];else var _0x14abc3=_0x311651[_0x2d0b2e-0x4];_0x4ba4d3<0x4||_0x2d0b2e<=0x4?_0x46fd2b[_0x4ba4d3]=_0x14abc3:_0x46fd2b[_0x4ba4d3]=_0x3892ef[_0x305253[_0x14abc3>>>0x18]]^_0x5186ee[_0x305253[_0x14abc3>>>0x10&0xff]]^_0x3c9b51[_0x305253[_0x14abc3>>>0x8&0xff]]^_0x4cb0dd[_0x305253[_0x14abc3&0xff]];}}},'encryptBlock':function(_0x2c364f,_0xb0a56d){var _0x44f4f6=_0x4c64d7;this[_0x44f4f6(0x130)](_0x2c364f,_0xb0a56d,this['_keySchedule'],_0x5270ff,_0x161a33,_0x4723ff,_0xf42697,_0x305253);},'decryptBlock':function(_0x445971,_0x525262){var _0x286eff=_0x4c64d7,_0x36f895=_0x445971[_0x525262+0x1];_0x445971[_0x525262+0x1]=_0x445971[_0x525262+0x3],_0x445971[_0x525262+0x3]=_0x36f895,this[_0x286eff(0x130)](_0x445971,_0x525262,this[_0x286eff(0xcf)],_0x3892ef,_0x5186ee,_0x3c9b51,_0x4cb0dd,_0x7d0c7a);var _0x36f895=_0x445971[_0x525262+0x1];_0x445971[_0x525262+0x1]=_0x445971[_0x525262+0x3],_0x445971[_0x525262+0x3]=_0x36f895;},'_doCryptBlock':function(_0x51d1f8,_0x348185,_0x3e5f54,_0x1fce51,_0x5eb95e,_0x25cd9a,_0xbb5c74,_0x48fc2f){var _0x1a1f4=_0x4c64d7;for(var _0x44fece=this[_0x1a1f4(0xa9)],_0x4861de=_0x51d1f8[_0x348185]^_0x3e5f54[0x0],_0x5aee00=_0x51d1f8[_0x348185+0x1]^_0x3e5f54[0x1],_0x1fb7c2=_0x51d1f8[_0x348185+0x2]^_0x3e5f54[0x2],_0x15053e=_0x51d1f8[_0x348185+0x3]^_0x3e5f54[0x3],_0x5b2778=0x4,_0x4f96ad=0x1;_0x4f96ad<_0x44fece;_0x4f96ad++){var _0x5282ad=_0x1fce51[_0x4861de>>>0x18]^_0x5eb95e[_0x5aee00>>>0x10&0xff]^_0x25cd9a[_0x1fb7c2>>>0x8&0xff]^_0xbb5c74[_0x15053e&0xff]^_0x3e5f54[_0x5b2778++],_0x376cf8=_0x1fce51[_0x5aee00>>>0x18]^_0x5eb95e[_0x1fb7c2>>>0x10&0xff]^_0x25cd9a[_0x15053e>>>0x8&0xff]^_0xbb5c74[_0x4861de&0xff]^_0x3e5f54[_0x5b2778++],_0x1215fd=_0x1fce51[_0x1fb7c2>>>0x18]^_0x5eb95e[_0x15053e>>>0x10&0xff]^_0x25cd9a[_0x4861de>>>0x8&0xff]^_0xbb5c74[_0x5aee00&0xff]^_0x3e5f54[_0x5b2778++],_0x59880c=_0x1fce51[_0x15053e>>>0x18]^_0x5eb95e[_0x4861de>>>0x10&0xff]^_0x25cd9a[_0x5aee00>>>0x8&0xff]^_0xbb5c74[_0x1fb7c2&0xff]^_0x3e5f54[_0x5b2778++];_0x4861de=_0x5282ad,_0x5aee00=_0x376cf8,_0x1fb7c2=_0x1215fd,_0x15053e=_0x59880c;}var _0x5282ad=(_0x48fc2f[_0x4861de>>>0x18]<<0x18|_0x48fc2f[_0x5aee00>>>0x10&0xff]<<0x10|_0x48fc2f[_0x1fb7c2>>>0x8&0xff]<<0x8|_0x48fc2f[_0x15053e&0xff])^_0x3e5f54[_0x5b2778++],_0x376cf8=(_0x48fc2f[_0x5aee00>>>0x18]<<0x18|_0x48fc2f[_0x1fb7c2>>>0x10&0xff]<<0x10|_0x48fc2f[_0x15053e>>>0x8&0xff]<<0x8|_0x48fc2f[_0x4861de&0xff])^_0x3e5f54[_0x5b2778++],_0x1215fd=(_0x48fc2f[_0x1fb7c2>>>0x18]<<0x18|_0x48fc2f[_0x15053e>>>0x10&0xff]<<0x10|_0x48fc2f[_0x4861de>>>0x8&0xff]<<0x8|_0x48fc2f[_0x5aee00&0xff])^_0x3e5f54[_0x5b2778++],_0x59880c=(_0x48fc2f[_0x15053e>>>0x18]<<0x18|_0x48fc2f[_0x4861de>>>0x10&0xff]<<0x10|_0x48fc2f[_0x5aee00>>>0x8&0xff]<<0x8|_0x48fc2f[_0x1fb7c2&0xff])^_0x3e5f54[_0x5b2778++];_0x51d1f8[_0x348185]=_0x5282ad,_0x51d1f8[_0x348185+0x1]=_0x376cf8,_0x51d1f8[_0x348185+0x2]=_0x1215fd,_0x51d1f8[_0x348185+0x3]=_0x59880c;},'keySize':0x100/0x20});_0x373e52['AES']=_0x39421c['_createHelper'](_0x56b287);}()),_0x1edbf8[_0x4894f8(0x26e)];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x4fc2a2(0x1ea)],ai;function zr(){var _0x162795=_0x4fc2a2;return ai||(ai=0x1,function(_0x2f172b,_0x17ae90){(function(_0x4fbc33,_0x403465){var _0x244951=_0xb1fa;_0x2f172b[_0x244951(0x1ea)]=_0x403465(ne());}(qr,function(_0x150d53){var _0xdd1a33=_0xb1fa;return _0x150d53[_0xdd1a33(0x1c0)][_0xdd1a33(0x326)];}));}(Xe)),Xe[_0x162795(0x1ea)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x4fc2a2(0x1ea)],ci;function Qr(){return ci||(ci=0x1,function(_0x4fc931,_0xc7b12d){(function(_0xb10a87,_0x4fbdd4){var _0x569249=_0xb1fa;_0x4fc931[_0x569249(0x1ea)]=_0x4fbdd4(ne());}(Zr,function(_0x54581e){var _0x3c4f65=_0xb1fa;return(function(){var _0x1adea0=_0xb1fa;if(typeof ArrayBuffer==_0x1adea0(0x346)){var _0x196ecc=_0x54581e,_0x145d56=_0x196ecc[_0x1adea0(0xc5)],_0x149b61=_0x145d56[_0x1adea0(0x107)],_0x578b77=_0x149b61[_0x1adea0(0xf8)],_0x3e5cce=_0x149b61['init']=function(_0x33d317){var _0x319ce4=_0x1adea0;if(_0x33d317 instanceof ArrayBuffer&&(_0x33d317=new Uint8Array(_0x33d317)),(_0x33d317 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x33d317 instanceof Uint8ClampedArray||_0x33d317 instanceof Int16Array||_0x33d317 instanceof Uint16Array||_0x33d317 instanceof Int32Array||_0x33d317 instanceof Uint32Array||_0x33d317 instanceof Float32Array||_0x33d317 instanceof Float64Array)&&(_0x33d317=new Uint8Array(_0x33d317['buffer'],_0x33d317['byteOffset'],_0x33d317[_0x319ce4(0x2d0)])),_0x33d317 instanceof Uint8Array){for(var _0x4a4f0f=_0x33d317[_0x319ce4(0x2d0)],_0x4bcdb2=[],_0x103737=0x0;_0x103737<_0x4a4f0f;_0x103737++)_0x4bcdb2[_0x103737>>>0x2]|=_0x33d317[_0x103737]<<0x18-_0x103737%0x4*0x8;_0x578b77[_0x319ce4(0x238)](this,_0x4bcdb2,_0x4a4f0f);}else _0x578b77[_0x319ce4(0x279)](this,arguments);};_0x3e5cce[_0x1adea0(0x12e)]=_0x149b61;}}()),_0x54581e[_0x3c4f65(0xc5)][_0x3c4f65(0x107)];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x4fc2a2(0x1ea)],hi;function ns(){var _0x35ec8a=_0x4fc2a2;return hi||(hi=0x1,function(_0x402b46,_0xf8e5e7){(function(_0x285d64,_0x51e4fd,_0x2939bc){var _0x362fcb=_0xb1fa;_0x402b46[_0x362fcb(0x1ea)]=_0x51e4fd(ne(),Ai());}(is,function(_0x222145){var _0x52404a=_0xb1fa;return _0x222145['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x222145[_0x52404a(0x1c9)][_0x52404a(0x1fc)];}));}(Qe)),Qe[_0x35ec8a(0x1ea)];}var rs=ns();const ss=ke(rs);function os(_0x15cf88,_0x2671ab){var _0x12e644=_0x4fc2a2;const _0x36391f=_0x2671ab-_0x15cf88[_0x12e644(0x1ad)]%_0x2671ab,_0x4da83d=String[_0x12e644(0x13b)](_0x36391f)[_0x12e644(0x167)](_0x36391f);return _0x15cf88+_0x4da83d;}function as(_0x19e6c4,_0x2a2879){var _0x4a0f03=_0x4fc2a2;const _0x219bf6=ts['random'](0x10),_0x31f10b=os(_0x19e6c4,0x10),_0x44afc3=Kr[_0x4a0f03(0x31d)](Xr['parse'](_0x31f10b),oi[_0x4a0f03(0x1db)](_0x2a2879),{'iv':_0x219bf6,'padding':ss});return _0x219bf6[_0x4a0f03(0x1fb)](_0x44afc3[_0x4a0f03(0x284)])[_0x4a0f03(0x2b3)](oi);}function cs(){var _0x3b6051=_0x4fc2a2;const _0x5a16e=_0x3ab2e0()[_0x3b6051(0x160)];if(_0x5a16e){const _0x5f5d64={'time':Math[_0x3b6051(0x269)](Date[_0x3b6051(0x105)]()/0x3e8),'domain':location[_0x3b6051(0x273)]};return as(JSON[_0x3b6051(0x141)](_0x5f5d64),_0x5a16e);}}var hs=Object[_0x4fc2a2(0x241)],_s=Object['getOwnPropertyDescriptor'],ls=(_0x219900,_0x3e816c,_0x310acb,_0x21c6b7)=>{var _0x1e024a=_0x4fc2a2;for(var _0xa85e28=_0x21c6b7>0x1?void 0x0:_0x21c6b7?_s(_0x3e816c,_0x310acb):_0x3e816c,_0x57d6e0=_0x219900[_0x1e024a(0x1ad)]-0x1,_0x5403c7;_0x57d6e0>=0x0;_0x57d6e0--)(_0x5403c7=_0x219900[_0x57d6e0])&&(_0xa85e28=(_0x21c6b7?_0x5403c7(_0x3e816c,_0x310acb,_0xa85e28):_0x5403c7(_0xa85e28))||_0xa85e28);return _0x21c6b7&&_0xa85e28&&hs(_0x3e816c,_0x310acb,_0xa85e28),_0xa85e28;},us=(_0x2ba85a,_0x422541)=>(_0x15437a,_0x4580e2)=>_0x422541(_0x15437a,_0x4580e2,_0x2ba85a);let ot=class{constructor(_0x43ab58){var _0x431b4c=_0x4fc2a2;this[_0x431b4c(0x2e2)]=_0x43ab58,this['_initRequestHeader']();}[_0x4fc2a2(0x239)](){var _0x25b242=_0x4fc2a2;this[_0x25b242(0x2e2)][_0x25b242(0x19f)]({'interceptor':(_0x439df3,_0x3c9a96)=>{var _0x38de11=_0x25b242;const _0x53667d=_0x439df3[_0x38de11(0x7a)],_0x583c95=cs();return _0x583c95&&_0x53667d[_0x38de11(0x127)](_0x38de11(0x8b),_0x583c95),_0x3c9a96(_0x439df3);}});}};ot=ls([us(0x0,_0x4a88e2(_0x1b7bd1))],ot);var ds=Object['defineProperty'],fs=Object['getOwnPropertyDescriptor'],vs=(_0x5a6f87,_0x471862,_0x48ed88,_0x5385f8)=>{var _0x1e4652=_0x4fc2a2;for(var _0x3ccefa=_0x5385f8>0x1?void 0x0:_0x5385f8?fs(_0x471862,_0x48ed88):_0x471862,_0x4147d5=_0x5a6f87[_0x1e4652(0x1ad)]-0x1,_0x38e7eb;_0x4147d5>=0x0;_0x4147d5--)(_0x38e7eb=_0x5a6f87[_0x4147d5])&&(_0x3ccefa=(_0x5385f8?_0x38e7eb(_0x471862,_0x48ed88,_0x3ccefa):_0x38e7eb(_0x3ccefa))||_0x3ccefa);return _0x5385f8&&_0x3ccefa&&ds(_0x471862,_0x48ed88,_0x3ccefa),_0x3ccefa;},mt=(_0x24aa18,_0x2fe750)=>(_0x56048d,_0x353a43)=>_0x2fe750(_0x56048d,_0x353a43,_0x24aa18);let Ot=class extends _0x1ad933{constructor(_0x32c91a,_0x3218d5,_0xeac74f){var _0xd47ddd=_0x4fc2a2;super(),N(this,_0xd47ddd(0x182),new _0x5b8830(null)),N(this,_0xd47ddd(0x322),this[_0xd47ddd(0x182)]['asObservable']()),(this[_0xd47ddd(0x2b2)]=_0x32c91a,this[_0xd47ddd(0x213)]=_0x3218d5,this['_localCacheService']=_0xeac74f);}async['loadUnit'](_0x408f01,_0x1a0779,_0x4dc033){var _0x4d70bb=_0x4fc2a2;this[_0x4d70bb(0x182)]['next']({'unitId':_0x408f01,'type':_0x1a0779,'subUnitId':_0x4dc033});let _0x59a91d=null;switch(_0x1a0779){case Q[_0x4d70bb(0x83)]:{_0x59a91d=await this['_loadSheet'](_0x408f01);break;}case Q[_0x4d70bb(0x1c5)]:{_0x59a91d=await this['_loadDoc'](_0x408f01);break;}default:{this[_0x4d70bb(0x2b2)][_0x4d70bb(0x2a8)](_0x4d70bb(0x190),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x59a91d;}async[_0x4fc2a2(0x2c0)](_0xf38dbc){var _0x2a3142=_0x4fc2a2,_0x52a65b;let _0x46fe90=0x0;const _0x242699=await((_0x52a65b=this[_0x2a3142(0xab)])==null?void 0x0:_0x52a65b[_0x2a3142(0x310)](_0xf38dbc));return _0x242699&&(_0x242699['awaitingChangeset']||_0x242699[_0x2a3142(0x18e)][_0x2a3142(0x1ad)]!==0x0)&&(_0x46fe90=_0x242699['rev']),_0x46fe90===0x0&&this[_0x2a3142(0x2b2)][_0x2a3142(0x6e)](_0x2a3142(0x190),_0x2a3142(0x300)),this['_snapshotService'][_0x2a3142(0x1f5)](_0xf38dbc,_0x46fe90);}async['_loadDoc'](_0x3f58df){var _0x5dfb19=_0x4fc2a2,_0x468fec;let _0x30969a=0x0;const _0x740660=await((_0x468fec=this[_0x5dfb19(0xab)])==null?void 0x0:_0x468fec[_0x5dfb19(0x310)](_0x3f58df));return _0x740660&&(_0x740660[_0x5dfb19(0x2f2)]||_0x740660[_0x5dfb19(0x18e)][_0x5dfb19(0x1ad)]!==0x0)&&(_0x30969a=_0x740660[_0x5dfb19(0x291)]),_0x30969a===0x0&&this[_0x5dfb19(0x2b2)][_0x5dfb19(0x6e)](_0x5dfb19(0x190),_0x5dfb19(0x300)),this['_snapshotService'][_0x5dfb19(0xeb)](_0x3f58df,_0x30969a);}};Ot=vs([mt(0x0,_0x45f59a),mt(0x1,_0x4a88e2(_0x10e994)),mt(0x2,_0x43164b(J))],Ot);var ps=Object['defineProperty'],ms=Object['getOwnPropertyDescriptor'],gs=(_0x135591,_0x3064ca,_0x2bc72e,_0x20c550)=>{for(var _0x345730=_0x20c550>0x1?void 0x0:_0x20c550?ms(_0x3064ca,_0x2bc72e):_0x3064ca,_0x322c50=_0x135591['length']-0x1,_0x10bd86;_0x322c50>=0x0;_0x322c50--)(_0x10bd86=_0x135591[_0x322c50])&&(_0x345730=(_0x20c550?_0x10bd86(_0x3064ca,_0x2bc72e,_0x345730):_0x10bd86(_0x345730))||_0x345730);return _0x20c550&&_0x345730&&ps(_0x3064ca,_0x2bc72e,_0x345730),_0x345730;},gt=(_0x11ccab,_0x3ab22e)=>(_0x284991,_0x3b7a43)=>_0x3ab22e(_0x284991,_0x3b7a43,_0x11ccab);const Ss=[_0x4fc2a2(0x79),_0x4fc2a2(0x252),_0x4fc2a2(0xec),'image/gif',_0x4fc2a2(0x180)],Es=0x5*0x400*0x400,Is=_0x4fc2a2(0x348),Ts=_0x4fc2a2(0x351),Cs=_0x4fc2a2(0x27c),Rs=_0x4fc2a2(0x8f);let yt=class{constructor(_0x149157,_0x5c8fcb,_0xbd8273){var _0x4ab976=_0x4fc2a2;N(this,_0x4ab976(0x2d9),0x0),N(this,_0x4ab976(0x1af),new _0x1bf457()),N(this,'change$',this[_0x4ab976(0x1af)]),N(this,_0x4ab976(0x115),new Map()),(this[_0x4ab976(0x2e2)]=_0x149157,this['_configService']=_0x5c8fcb,this[_0x4ab976(0x2ab)]=_0xbd8273);}[_0x4fc2a2(0x2c3)](_0x289d8e){var _0x5dffbe=_0x4fc2a2;this[_0x5dffbe(0x2d9)]=_0x289d8e,this[_0x5dffbe(0x1af)][_0x5dffbe(0x347)](_0x289d8e);}['getImageSourceCache'](_0x2e9bbf,_0x44f718){var _0x8927aa=_0x4fc2a2;if(_0x44f718===_0x3cdb22[_0x8927aa(0x2fd)]){const _0x36c0f0=new Image();return _0x36c0f0[_0x8927aa(0x306)]=_0x2e9bbf,_0x36c0f0;}return this[_0x8927aa(0x115)]['get'](_0x2e9bbf);}[_0x4fc2a2(0x12d)](_0x554605,_0x195326,_0x1c518e){var _0x4d87a7=_0x4fc2a2;_0x195326===_0x3cdb22[_0x4d87a7(0x2fd)]||_0x1c518e==null||this[_0x4d87a7(0x115)][_0x4d87a7(0x127)](_0x554605,_0x1c518e);}async[_0x4fc2a2(0x35e)](_0x424314){var _0x4c9294=_0x4fc2a2;try{const _0x16165d=this[_0x4c9294(0x1b6)](this['_getSignURL'](),''+_0x424314),_0xc05da5=(await this[_0x4c9294(0x2e2)][_0x4c9294(0x333)](_0x16165d))[_0x4c9294(0x330)];if(_0xc05da5['error']&&_0xc05da5[_0x4c9294(0x2a8)][_0x4c9294(0x92)]===Ii['OK']){const _0x3d5107=new URL(_0xc05da5['url'],this[_0x4c9294(0x194)]())['toString']();return Promise['resolve'](_0x3d5107);}return Promise['reject'](_0xc05da5[_0x4c9294(0x2a8)]);}catch(_0x3185f1){return Promise[_0x4c9294(0x224)](_0x3185f1);}}async[_0x4fc2a2(0x225)](_0x39729d){var _0x1e8cd4=_0x4fc2a2;let _0x31df2b='';if(!Ss[_0x1e8cd4(0x31b)](_0x39729d[_0x1e8cd4(0x11c)]))return this[_0x1e8cd4(0xb0)](),Promise[_0x1e8cd4(0x224)](new Error(_0x3117d6[_0x1e8cd4(0x14e)]));if(_0x39729d['size']>Es)return this[_0x1e8cd4(0xb0)](),Promise[_0x1e8cd4(0x224)](new Error(_0x3117d6[_0x1e8cd4(0x20e)]));try{const _0xa520d9=new FormData();_0xa520d9[_0x1e8cd4(0xd8)](_0x1e8cd4(0x221),_0x39729d);const _0x150c64=this[_0x1e8cd4(0x2ab)]['getFocusedUnit'](),_0x1c47a2=_0x150c64==null?void 0x0:_0x150c64[_0x1e8cd4(0x32b)]();if(!_0x1c47a2)throw new Error(_0x1e8cd4(0x356));const _0x1a47f2=this[_0x1e8cd4(0xff)]()+_0x1e8cd4(0xc6)+_0x39729d[_0x1e8cd4(0x242)][_0x1e8cd4(0x2b3)]()+'&source='+Ti[_0x1e8cd4(0xc7)]+'&assign='+encodeURIComponent(_0x1c47a2),_0x324836=await(await fetch(_0x1a47f2,{'method':_0x1e8cd4(0x172),'body':_0xa520d9}))['json']();if(typeof _0x324836[_0x1e8cd4(0x1a4)]!=_0x1e8cd4(0x20a))return this[_0x1e8cd4(0xb0)](),Promise[_0x1e8cd4(0x224)](new Error(_0x3117d6[_0x1e8cd4(0x7e)]));_0x31df2b=_0x324836[_0x1e8cd4(0x1a4)];}catch{return this[_0x1e8cd4(0xb0)](),Promise[_0x1e8cd4(0x224)](new Error(_0x3117d6[_0x1e8cd4(0x7e)]));}return new Promise((_0x471b90,_0x1f0d57)=>{var _0x31bab5=_0x1e8cd4;const _0x4f8c57=new FileReader();_0x4f8c57[_0x31bab5(0x184)](_0x39729d),_0x4f8c57[_0x31bab5(0xca)]=_0x20286e=>{var _0x29f28c=_0x31bab5,_0x345471;const _0xe50c8d=(_0x345471=_0x20286e[_0x29f28c(0x305)])==null?void 0x0:_0x345471['result'];if(_0xe50c8d==null){this[_0x29f28c(0xb0)](),_0x1f0d57(new Error(_0x3117d6['ERROR_IMAGE']));return;}const _0x23a282=_0x8666ff[_0x29f28c(0x2a1)](0x6);_0x471b90({'imageId':_0x23a282,'imageSourceType':_0x3cdb22['UUID'],'source':_0x31df2b,'base64Cache':_0xe50c8d,'status':_0x3117d6[_0x29f28c(0x352)]}),this[_0x29f28c(0xb0)]();};});}[_0x4fc2a2(0xff)](){var _0x37b004=_0x4fc2a2,_0x5d8e07,_0x3e8415;const _0x257ce9=this['_configService']['getConfig'](Is),_0x4d36d4=this[_0x37b004(0xde)][_0x37b004(0xe5)](q);return(_0x3e8415=(_0x5d8e07=_0x4d36d4==null?void 0x0:_0x4d36d4[_0x37b004(0x228)])!=null?_0x5d8e07:_0x257ce9)!=null?_0x3e8415:Ts;}[_0x4fc2a2(0x2c7)](){var _0x196d7d=_0x4fc2a2,_0x12e0ca,_0x500e8a;const _0x320f6c=this[_0x196d7d(0xde)]['getConfig'](Cs),_0x1d154b=this['_configService'][_0x196d7d(0xe5)](q);return(_0x500e8a=(_0x12e0ca=_0x1d154b==null?void 0x0:_0x1d154b['signUrlServerUrl'])!=null?_0x12e0ca:_0x320f6c)!=null?_0x500e8a:Rs;}['_getDownloadEndpointURL'](){var _0x1a7823=_0x4fc2a2,_0x3cded8;const _0xb89e52=this[_0x1a7823(0xde)][_0x1a7823(0xe5)](q);return(_0x3cded8=_0xb89e52==null?void 0x0:_0xb89e52[_0x1a7823(0x336)])!=null?_0x3cded8:location['origin'];}[_0x4fc2a2(0x1b6)](_0x1558e9,_0x58647c){var _0x39addc=_0x4fc2a2;return _0x1558e9[_0x39addc(0x136)](_0x39addc(0x19d),_0x58647c);}[_0x4fc2a2(0xb0)](){var _0x5e3cc8=_0x4fc2a2;this['_waitCount']-=0x1,this[_0x5e3cc8(0x1af)]['next'](this[_0x5e3cc8(0x2d9)]);}};yt=gs([gt(0x0,_0x4a88e2(_0x1b7bd1)),gt(0x1,_0x1a3e87),gt(0x2,_0x4a88e2(_0x52579b))],yt);var bs=Object[_0x4fc2a2(0x241)],Os=Object['getOwnPropertyDescriptor'],ys=(_0x761eea,_0x486569,_0x3cda92,_0x3a8225)=>{var _0x67add0=_0x4fc2a2;for(var _0x17f0b2=_0x3a8225>0x1?void 0x0:_0x3a8225?Os(_0x486569,_0x3cda92):_0x486569,_0x581387=_0x761eea[_0x67add0(0x1ad)]-0x1,_0xcb9489;_0x581387>=0x0;_0x581387--)(_0xcb9489=_0x761eea[_0x581387])&&(_0x17f0b2=(_0x3a8225?_0xcb9489(_0x486569,_0x3cda92,_0x17f0b2):_0xcb9489(_0x17f0b2))||_0x17f0b2);return _0x3a8225&&_0x17f0b2&&bs(_0x486569,_0x3cda92,_0x17f0b2),_0x17f0b2;},_i=(_0xcd9229,_0x3f9849)=>(_0x512cfa,_0x2ef08d)=>_0x3f9849(_0x512cfa,_0x2ef08d,_0xcd9229);const Ns='/universer-api/authz';let Nt=class{constructor(_0x549868,_0x25ef29){var _0x42cb04=_0x4fc2a2;this[_0x42cb04(0xde)]=_0x549868,this[_0x42cb04(0x188)]=_0x25ef29;}[_0x4fc2a2(0x143)](){var _0xa60f3a=_0x4fc2a2,_0x40396b,_0x15d48c;const _0xd9b969=this[_0xa60f3a(0xde)][_0xa60f3a(0xe5)](Pi),_0x2c9c47=this[_0xa60f3a(0xde)][_0xa60f3a(0xe5)](q);return(_0x15d48c=(_0x40396b=_0x2c9c47==null?void 0x0:_0x2c9c47[_0xa60f3a(0x33d)])!=null?_0x40396b:_0xd9b969)!=null?_0x15d48c:Ns;}async[_0x4fc2a2(0x301)](_0xe5851b){var _0x28758d=_0x4fc2a2;const _0x21f7c7=this[_0x28758d(0x143)]()+_0x28758d(0x303);return{'list':[{'title':_0x28758d(0x1f7),'mentions':(await this[_0x28758d(0x188)]['get'](_0x21f7c7,{'params':{'objectID':_0xe5851b[_0x28758d(0x24a)],'unitID':_0xe5851b[_0x28758d(0x24a)]}}))[_0x28758d(0x330)][_0x28758d(0x82)][_0x28758d(0x1cf)](_0x4f8f46=>({'objectId':_0x4f8f46['id'],'name':_0x4f8f46[_0x28758d(0x233)][_0x28758d(0x72)],'metadata':{'icon':_0x4f8f46['subject'][_0x28758d(0x75)]},'label':_0x4f8f46[_0x28758d(0x233)][_0x28758d(0x72)],'objectType':_0x431b1c[_0x28758d(0x11b)]})),'metadata':{},'type':_0x431b1c[_0x28758d(0x11b)]}]};}};Nt=ys([_i(0x0,_0x4a88e2(_0x1a3e87)),_i(0x1,_0x4a88e2(_0x1b7bd1))],Nt);var Ds=Object[_0x4fc2a2(0x241)],Ps=Object[_0x4fc2a2(0x2cf)],ws=(_0x12baf1,_0x3c6f1c,_0x555dd9,_0x4bf70f)=>{for(var _0x27f5ae=_0x4bf70f>0x1?void 0x0:_0x4bf70f?Ps(_0x3c6f1c,_0x555dd9):_0x3c6f1c,_0x23e2fe=_0x12baf1['length']-0x1,_0x4d7204;_0x23e2fe>=0x0;_0x23e2fe--)(_0x4d7204=_0x12baf1[_0x23e2fe])&&(_0x27f5ae=(_0x4bf70f?_0x4d7204(_0x3c6f1c,_0x555dd9,_0x27f5ae):_0x4d7204(_0x27f5ae))||_0x27f5ae);return _0x4bf70f&&_0x27f5ae&&Ds(_0x3c6f1c,_0x555dd9,_0x27f5ae),_0x27f5ae;},Se=(_0xfc35af,_0x4450c6)=>(_0x22d260,_0xb955a3)=>_0x4450c6(_0x22d260,_0xb955a3,_0xfc35af);let at=class extends _0x1ad933{constructor(_0x2b0b3f,_0x1cb0bb,_0x281773,_0x1b8450,_0x179ab3,_0x2082bf,_0x3e53ed){var _0x1290d8=_0x4fc2a2;super(),this['_injector']=_0x2b0b3f,this[_0x1290d8(0x2ab)]=_0x1cb0bb,this[_0x1290d8(0x206)]=_0x281773,this[_0x1290d8(0x22b)]=_0x1b8450,this[_0x1290d8(0x2db)]=_0x179ab3,this[_0x1290d8(0x33e)]=_0x2082bf,this[_0x1290d8(0x21a)]=_0x3e53ed,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x4fc2a2(0x1f3)](){var _0x14f016=_0x4fc2a2;const _0x4f10e4=async _0x1144d4=>{var _0xb485c0=_0xb1fa;(await this['_collaborationSessionService'][_0xb485c0(0x26d)](_0x1144d4))['event$'][_0xb485c0(0x32d)](_0x81f2e9(_0xabd0b2=>_0xabd0b2[_0xb485c0(0x1be)]===_0x5ddb43['SHOULD_CLOSE_CONN']),_0x197e6e(this[_0xb485c0(0x94)]))[_0xb485c0(0x20c)](_0x1f2e6d=>{var _0x310fab=_0xb485c0;const _0x73a7c9=_0x1f2e6d,{reason:_0x507598}=_0x73a7c9[_0x310fab(0x14c)];this[_0x310fab(0x2db)][_0x310fab(0x98)]({'id':se['CLOSE_ROOM'],'data':_0x507598}),this[_0x310fab(0x206)][_0x310fab(0x343)](new _0x5c7090(_0x1144d4)['id'],!0x1),this[_0x310fab(0x22b)][_0x310fab(0x198)](_0x1144d4);});};_0x2f8b75(this[_0x14f016(0x2ab)][_0x14f016(0x2b8)](_0x3ff6d6[_0x14f016(0x83)]),this[_0x14f016(0x2ab)][_0x14f016(0x2b8)](_0x3ff6d6['UNIVER_DOC']))['pipe'](_0x2bad04(_0x556c9e=>_0x556c9e['getUnitId']()),_0x81f2e9(_0x12a369=>!_0x4879e1(_0x12a369)),_0x197e6e(this[_0x14f016(0x94)]))['subscribe'](_0x4bb1d9=>{_0x4f10e4(_0x4bb1d9);});}[_0x4fc2a2(0x16f)](){var _0x4713fc=_0x4fc2a2;const _0x2c3774=async _0x82a7cf=>{var _0x246320=_0xb1fa;const _0x329381=await this[_0x246320(0x22b)][_0x246320(0x26d)](_0x82a7cf),_0x1a24f7=this[_0x246320(0x26b)][_0x246320(0x333)](_0x30be84);_0x329381[_0x246320(0x350)][_0x246320(0x32d)](_0x81f2e9(_0x1af984=>_0x1af984[_0x246320(0x1be)]===_0x5ddb43[_0x246320(0x1cb)]),_0x197e6e(this[_0x246320(0x94)]))[_0x246320(0x20c)](_0x538921=>{var _0x14e672=_0x246320;const _0x2b6815=_0x538921,{objectId:_0x897d54}=_0x2b6815[_0x14e672(0x14c)];_0x897d54===_0x82a7cf?_0x1a24f7[_0x14e672(0x6d)](_0x82a7cf):_0x1a24f7[_0x14e672(0xaa)](_0x82a7cf,_0x897d54);});};_0x2f8b75(this[_0x4713fc(0x2ab)][_0x4713fc(0x2b8)](_0x3ff6d6[_0x4713fc(0x83)]),this[_0x4713fc(0x2ab)][_0x4713fc(0x2b8)](_0x3ff6d6[_0x4713fc(0x1c5)]))[_0x4713fc(0x32d)](_0x2bad04(_0x3981a0=>_0x3981a0[_0x4713fc(0x32b)]()),_0x81f2e9(_0x55e651=>!_0x4879e1(_0x55e651)),_0x197e6e(this[_0x4713fc(0x94)]))[_0x4713fc(0x20c)](_0x35f22a=>{_0x2c3774(_0x35f22a);});}};at=ws([Se(0x0,_0x4a88e2(_0x530b2b)),Se(0x1,_0x52579b),Se(0x2,_0x24a5f0),Se(0x3,_0x4a88e2(Le)),Se(0x4,_0x4a88e2(pe)),Se(0x5,_0x55d860),Se(0x6,_0x25ef46)],at);var Us=Object['defineProperty'],As=Object[_0x4fc2a2(0x2cf)],xs=(_0xa81e33,_0x25c439,_0x41aeed,_0x28f9ad)=>{var _0x4c121d=_0x4fc2a2;for(var _0x14e38e=_0x28f9ad>0x1?void 0x0:_0x28f9ad?As(_0x25c439,_0x41aeed):_0x25c439,_0xff7dbe=_0xa81e33[_0x4c121d(0x1ad)]-0x1,_0x5bbdc7;_0xff7dbe>=0x0;_0xff7dbe--)(_0x5bbdc7=_0xa81e33[_0xff7dbe])&&(_0x14e38e=(_0x28f9ad?_0x5bbdc7(_0x25c439,_0x41aeed,_0x14e38e):_0x5bbdc7(_0x14e38e))||_0x14e38e);return _0x28f9ad&&_0x14e38e&&Us(_0x25c439,_0x41aeed,_0x14e38e),_0x14e38e;},li=(_0xbe344,_0x571f58)=>(_0x21f774,_0x2a6c30)=>_0x571f58(_0x21f774,_0x2a6c30,_0xbe344);let Dt=class{constructor(_0x81910b,_0x2a236f){var _0x361d26=_0x4fc2a2;this[_0x361d26(0xde)]=_0x81910b,this[_0x361d26(0x2e2)]=_0x2a236f;}async[_0x4fc2a2(0x174)](_0x435ec0,_0x20ce6d){var _0x2df1e2=_0x4fc2a2,_0x17f397;const {unitID:_0x4e0653,type:_0x33d82d,revision:_0x576900=0x0}=_0x20ce6d,_0x5ad6d1=this[_0x2df1e2(0x2bb)]()+'/'+_0x33d82d+_0x2df1e2(0x27e)+_0x4e0653+_0x2df1e2(0x30e)+_0x576900,_0x27d92c=(await this[_0x2df1e2(0x2e2)][_0x2df1e2(0x333)](_0x5ad6d1))[_0x2df1e2(0x330)],_0x2c008a=(_0x17f397=_0x27d92c[_0x2df1e2(0xa3)])==null?void 0x0:_0x17f397[_0x2df1e2(0x11e)];if(_0x2c008a){const _0x5e1c3d=_0x2c008a==null?void 0x0:_0x2c008a[_0x2df1e2(0xd9)],_0x16fd2b=_0x5c1bfe[_0x2df1e2(0xb7)](_0x45b3db(_0x5e1c3d));_0x2c008a[_0x2df1e2(0xd9)]=_0x16fd2b,Object[_0x2df1e2(0x175)](_0x2c008a['sheets'])[_0x2df1e2(0x280)](([,_0x304d38])=>{var _0x95520f=_0x2df1e2;const _0x20d0c1=_0x304d38['originalMeta'],_0x5b3c9d=_0x5c1bfe[_0x95520f(0xb7)](_0x45b3db(_0x20d0c1));_0x304d38[_0x95520f(0xd9)]=_0x5b3c9d;});}return _0x27d92c;}async[_0x4fc2a2(0x29c)](_0x188185,_0x4cddc1){var _0x1a12ac=_0x4fc2a2;const {unitID:_0x4b1037,type:_0x543cf2,blockID:_0x3833f5}=_0x4cddc1,_0x481a47=this[_0x1a12ac(0x1dd)]()+'/'+_0x543cf2+_0x1a12ac(0x27e)+_0x4b1037+_0x1a12ac(0x1bf)+_0x3833f5;return(await this[_0x1a12ac(0x2e2)][_0x1a12ac(0x333)](_0x481a47))['body'];}async['getDeserializedSheetBlock'](_0x590c0a,_0x10eab9){var _0x2dcd81=_0x4fc2a2;const {unitID:_0x2f4551,type:_0x15a58b,blockID:_0x19ba81}=_0x10eab9,_0xc9f0ad=this[_0x2dcd81(0x1dd)]()+_0x2dcd81(0x1bf)+_0x15a58b+_0x2dcd81(0x27e)+_0x2f4551+_0x2dcd81(0x1bf)+_0x19ba81;return(await this[_0x2dcd81(0x2e2)][_0x2dcd81(0x333)](_0xc9f0ad))[_0x2dcd81(0x330)];}async[_0x4fc2a2(0xb6)](_0x430328,_0x4a27dd){var _0x3a9e05=_0x4fc2a2;const {unitID:_0x527912,type:_0x413806,from:_0x2fbccc,to:_0x552e4b}=_0x4a27dd,_0x1014f5=this['_getAPIPrefix']()+'/'+_0x413806+_0x3a9e05(0x27e)+_0x527912+'/fetchmissing?from='+_0x2fbccc+_0x3a9e05(0xa8)+_0x552e4b;return(await this[_0x3a9e05(0x2e2)][_0x3a9e05(0x333)](_0x1014f5))[_0x3a9e05(0x330)];}[_0x4fc2a2(0x2bb)](){var _0x3f6b42=_0x4fc2a2,_0x2573c7;return(_0x2573c7=this[_0x3f6b42(0xde)]['getConfig'](Tn))!=null?_0x2573c7:this[_0x3f6b42(0x1dd)]();}[_0x4fc2a2(0x1dd)](){var _0x5e7037=_0x4fc2a2,_0x421593,_0xeb70b3;const _0x978f8f=this[_0x5e7037(0xde)][_0x5e7037(0xe5)](En),_0x103ed3=this[_0x5e7037(0xde)][_0x5e7037(0xe5)](q);return(_0xeb70b3=(_0x421593=_0x103ed3==null?void 0x0:_0x103ed3['snapshotServerUrl'])!=null?_0x421593:_0x978f8f)!=null?_0xeb70b3:In;}async[_0x4fc2a2(0x10b)](_0x1e619d,_0x466bbe){var _0x54ced7=_0x4fc2a2;const _0xd96b0='/universer-api/snapshot/'+_0x466bbe['type']+_0x54ced7(0x27e)+_0x466bbe['unitID']+_0x54ced7(0x1f0);return(await this[_0x54ced7(0x2e2)]['get'](_0xd96b0,{'params':{'resourceId':JSON[_0x54ced7(0x141)](_0x466bbe[_0x54ced7(0x1d0)])}}))['body'];}[_0x4fc2a2(0x9b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4fc2a2(0x96)](){var _0x39ff34=_0x4fc2a2;throw new Error(_0x39ff34(0xd0));}[_0x4fc2a2(0x340)](){var _0x2ddb19=_0x4fc2a2;throw new Error(_0x2ddb19(0xd0));}[_0x4fc2a2(0x219)](){var _0xa115ba=_0x4fc2a2;throw new Error(_0xa115ba(0xd0));}[_0x4fc2a2(0x11d)](){var _0x16f1f6=_0x4fc2a2;throw new Error(_0x16f1f6(0xd0));}};Dt=xs([li(0x0,_0x1a3e87),li(0x1,_0x4a88e2(_0x1b7bd1))],Dt);var Ls=Object['defineProperty'],Ms=Object[_0x4fc2a2(0x2cf)],$s=(_0x4bfbf1,_0x29b266,_0x103497,_0x543635)=>{var _0x5c592b=_0x4fc2a2;for(var _0x5e986d=_0x543635>0x1?void 0x0:_0x543635?Ms(_0x29b266,_0x103497):_0x29b266,_0x2157df=_0x4bfbf1[_0x5c592b(0x1ad)]-0x1,_0xc500a2;_0x2157df>=0x0;_0x2157df--)(_0xc500a2=_0x4bfbf1[_0x2157df])&&(_0x5e986d=(_0x543635?_0xc500a2(_0x29b266,_0x103497,_0x5e986d):_0xc500a2(_0x5e986d))||_0x5e986d);return _0x543635&&_0x5e986d&&Ls(_0x29b266,_0x103497,_0x5e986d),_0x5e986d;},Ae=(_0x3c2f5d,_0x2db1e)=>(_0x59ddcb,_0x32f156)=>_0x2db1e(_0x59ddcb,_0x32f156,_0x3c2f5d);function _0xb1fa(_0x27b2d3,_0x3b9513){var _0x148e10=_0x148e();return _0xb1fa=function(_0xb1fac3,_0x1207d6){_0xb1fac3=_0xb1fac3-0x6d;var _0x5d6984=_0x148e10[_0xb1fac3];return _0x5d6984;},_0xb1fa(_0x27b2d3,_0x3b9513);}let Pt=class extends _0x5b84e5{constructor(_0x4accea,_0x50c3c8,_0x2c2856,_0x172144,_0x254b7b){var _0x2dc03e=_0x4fc2a2;super(_0x4accea,_0x50c3c8,_0x2c2856),this[_0x2dc03e(0x1e3)]=_0x172144,this[_0x2dc03e(0x2b2)]=_0x254b7b;}['transformUndoRedo'](_0x5432d5,_0x5b8a53){var _0x4177af=_0x4fc2a2;const _0x50af6f=this['_getUndoStack'](_0x5432d5);if(_0x50af6f)try{const _0x309ff6=this[_0x4177af(0x99)](_0x50af6f,_0x5b8a53);this[_0x4177af(0x145)](_0x5432d5,_0x309ff6);}catch(_0x57fdd4){this[_0x4177af(0x2b2)]['error'](_0x4177af(0x191),_0x57fdd4),this[_0x4177af(0x7d)](_0x5432d5);}const _0x30d830=this[_0x4177af(0x152)](_0x5432d5);if(_0x30d830)try{const _0x42f0a6=this['_transformStack'](_0x30d830,_0x5b8a53);this[_0x4177af(0x1e1)](_0x5432d5,_0x42f0a6);}catch(_0x102e29){this['_logService']['error'](_0x102e29),this['_clearRedo'](_0x5432d5);}}[_0x4fc2a2(0x7d)](_0x2068da){var _0x3fc6f3=_0x4fc2a2;const _0x1e7d29=this[_0x3fc6f3(0x214)](_0x2068da);_0x1e7d29&&(_0x1e7d29[_0x3fc6f3(0x1ad)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x4d9bbe){var _0x56c64c=_0x4fc2a2;const _0x300632=this['_getRedoStack'](_0x4d9bbe);_0x300632&&(_0x300632['length']=0x0,this[_0x56c64c(0x81)]());}[_0x4fc2a2(0x145)](_0x555e7b,_0x18e394){var _0x2453dd=_0x4fc2a2;this[_0x2453dd(0x311)][_0x2453dd(0x127)](_0x555e7b,_0x18e394),this[_0x2453dd(0x81)]();}['_substituteRedoStack'](_0x4cf9a,_0x25876c){var _0x3ebea5=_0x4fc2a2;this[_0x3ebea5(0xd4)][_0x3ebea5(0x127)](_0x4cf9a,_0x25876c),this[_0x3ebea5(0x81)]();}[_0x4fc2a2(0x99)](_0x1d0847,_0x545163){var _0x162918=_0x4fc2a2;const _0x404c25=[];let _0x117b9d=_0x545163,_0x568204=_0x545163;for(let _0x139f1e=_0x1d0847[_0x162918(0x1ad)]-0x1;_0x139f1e>=0x0;_0x139f1e--){const {unitID:_0x355489,undoMutations:_0x337b6a,redoMutations:_0x2c78cc}=_0x1d0847[_0x139f1e],_0x566de0=this[_0x162918(0x1e3)][_0x162918(0x70)](_0x117b9d,_0x337b6a),_0x303832=this[_0x162918(0x1e3)][_0x162918(0x70)](_0x568204,_0x2c78cc);if(_0x34c6d1(_0x566de0)||_0x34c6d1(_0x303832)){this[_0x162918(0x2b2)][_0x162918(0x2a8)](_0x162918(0x191),_0x162918(0xe8),_0x566de0,_0x303832);break;}_0x117b9d=_0x566de0[_0x162918(0xa7)],_0x568204=_0x303832[_0x162918(0xa7)],_0x404c25[_0x162918(0x18b)]({'unitID':_0x355489,'undoMutations':_0x566de0[_0x162918(0x359)],'redoMutations':_0x303832['m2Prime']});}return _0x404c25[_0x162918(0x1b9)]();}};Pt=$s([Ae(0x0,_0x52579b),Ae(0x1,_0x19223c),Ae(0x2,_0xe62c9a),Ae(0x3,_0x1e3cf5),Ae(0x4,_0x45f59a)],Pt);var xi=Object['defineProperty'],Hs=Object[_0x4fc2a2(0x2cf)],ks=(_0x4b3f77,_0x3f1fd1,_0x5db441)=>_0x3f1fd1 in _0x4b3f77?xi(_0x4b3f77,_0x3f1fd1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5db441}):_0x4b3f77[_0x3f1fd1]=_0x5db441,js=(_0x2384b2,_0x5963f6,_0x1a47a6,_0x42327d)=>{var _0x321862=_0x4fc2a2;for(var _0x810a93=_0x42327d>0x1?void 0x0:_0x42327d?Hs(_0x5963f6,_0x1a47a6):_0x5963f6,_0x446448=_0x2384b2[_0x321862(0x1ad)]-0x1,_0x8576f1;_0x446448>=0x0;_0x446448--)(_0x8576f1=_0x2384b2[_0x446448])&&(_0x810a93=(_0x42327d?_0x8576f1(_0x5963f6,_0x1a47a6,_0x810a93):_0x8576f1(_0x810a93))||_0x810a93);return _0x42327d&&_0x810a93&&xi(_0x5963f6,_0x1a47a6,_0x810a93),_0x810a93;},St=(_0x3be2d6,_0x114a04)=>(_0x29dae0,_0x38c0fa)=>_0x114a04(_0x29dae0,_0x38c0fa,_0x3be2d6),Bs=(_0x2ee68e,_0x2c0b67,_0x29688d)=>ks(_0x2ee68e,_0x2c0b67+'',_0x29688d);const Fs=_0x4fc2a2(0x1d7);let wt=class extends _0x754f5e{constructor(_0x204efe=Wt,_0x189a5c,_0x224895,_0x17adc4){var _0x306dd4=_0x4fc2a2;super(),this[_0x306dd4(0x29e)]=_0x204efe,this[_0x306dd4(0x2b2)]=_0x189a5c,this[_0x306dd4(0x26b)]=_0x224895,this[_0x306dd4(0xde)]=_0x17adc4;const {..._0x47d2d3}=_0x4f3ddd({},Wt,this[_0x306dd4(0x29e)]);this[_0x306dd4(0xde)][_0x306dd4(0x178)](q,_0x47d2d3);}[_0x4fc2a2(0x307)](){var _0x29f74d=_0x4fc2a2;this[_0x29f74d(0x1e8)](),this['_initDependencies']();}[_0x4fc2a2(0x1e8)](){var _0xd4e22=_0x4fc2a2,_0x2dced4,_0x27f02d,_0x465f87,_0x3ec5ea;this[_0xd4e22(0x26b)][_0xd4e22(0x34d)](_0x25ef46)&&this[_0xd4e22(0x2b2)]['error']('[UniverCollaborationClientPlugin]',_0xd4e22(0x262));const _0x4cf3ad=_0x125b17([[_0x25ef46,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x27f02d=(_0x2dced4=this['_config'])==null?void 0x0:_0x2dced4[_0xd4e22(0x8c)])!=null?_0x27f02d:Et}],[_0x1ababc,{'useClass':Dt}],[_0x55d860,{'useClass':bt}],[_0x24a98a,{'useClass':yt}],[_0x2a3edf,{'useClass':Nt}],[rt],[Rt]],(_0x465f87=this[_0xd4e22(0x29e)])==null?void 0x0:_0x465f87[_0xd4e22(0x2d8)]);if(!((_0x3ec5ea=this[_0xd4e22(0x29e)])!=null&&_0x3ec5ea[_0xd4e22(0x1df)])){const _0x54d5ee=_0x4cf3ad['findIndex'](([_0x5b0992])=>_0x5b0992===ht);_0x54d5ee!==-0x1&&_0x4cf3ad[_0xd4e22(0x27b)](_0x54d5ee,0x1);}_0x477141(this['_injector'],_0x4cf3ad);}[_0x4fc2a2(0x33c)](){var _0xc4f9d7=_0x4fc2a2,_0x2ae80c,_0x3a5a46,_0x23d333;this[_0xc4f9d7(0x26b)][_0xc4f9d7(0x333)](_0x1b7bd1)[_0xc4f9d7(0x19f)]({'priority':0x14,'interceptor':_0x3b7535({'maxParallel':0x6})}),(_0x2ae80c=this[_0xc4f9d7(0x29e)])!=null&&_0x2ae80c[_0xc4f9d7(0x93)]||(_0x3a5a46=this[_0xc4f9d7(0x26b)][_0xc4f9d7(0x333)](J,_0x4ca7d9[_0xc4f9d7(0xed)]))==null||_0x3a5a46['disableLocalCache'](),(_0x23d333=this[_0xc4f9d7(0x29e)])!=null&&_0x23d333['enableAuthServer']&&_0xc42b6(this[_0xc4f9d7(0x26b)],[[st]]),_0xc42b6(this['_injector'],[[ot],[rt],[at]]);}};Bs(wt,_0x4fc2a2(0x337),Fs),wt=js([_0x118412(_0x5828db,_0x5d60a7,_0x270de7),St(0x1,_0x45f59a),St(0x2,_0x4a88e2(_0x530b2b)),St(0x3,_0x1a3e87)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
1
+ var _0x180182=_0x11d4;(function(_0x5edfc0,_0x302eda){var _0x81f043=_0x11d4,_0x2d46ee=_0x5edfc0();while(!![]){try{var _0x2c1ef3=-parseInt(_0x81f043(0x414))/0x1+-parseInt(_0x81f043(0x225))/0x2*(-parseInt(_0x81f043(0x176))/0x3)+parseInt(_0x81f043(0x27e))/0x4*(parseInt(_0x81f043(0x277))/0x5)+-parseInt(_0x81f043(0x359))/0x6+parseInt(_0x81f043(0x3f0))/0x7+-parseInt(_0x81f043(0x350))/0x8*(-parseInt(_0x81f043(0x30d))/0x9)+-parseInt(_0x81f043(0x23f))/0xa;if(_0x2c1ef3===_0x302eda)break;else _0x2d46ee['push'](_0x2d46ee['shift']());}catch(_0x3c75ca){_0x2d46ee['push'](_0x2d46ee['shift']());}}}(_0x2aa8,0x3b8a0));var Li=Object[_0x180182(0x223)],Mi=(_0x23ac8d,_0x97c0c1,_0x30298d)=>_0x97c0c1 in _0x23ac8d?Li(_0x23ac8d,_0x97c0c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30298d}):_0x23ac8d[_0x97c0c1]=_0x30298d,N=(_0x43ffa9,_0x345181,_0x4ff7d7)=>Mi(_0x43ffa9,typeof _0x345181!=_0x180182(0x1e9)?_0x345181+'':_0x345181,_0x4ff7d7);import{createIdentifier as _0x4d71e7,Inject as _0x353e29,Injector as _0x514172,Disposable as _0x5e1af1,DisposableCollection as _0x47be4c,toDisposable as _0x7e22c5,IConfigService as _0x1d880c,ILogService as _0x3e9f29,UserManagerService as _0x78d013,UniverInstanceType as _0xe90df,IUniverInstanceService as _0xbe923a,LocaleService as _0x481fdb,Optional as _0x2d320a,RxDisposable as _0x528acc,Tools as _0x51a629,Rectangle as _0x1e53d9,ICommandService as _0x3cf875,JSONX as _0x343391,CommandType as _0x36c35a,IPermissionService as _0x164670,IUndoRedoService as _0x3d63ec,sequenceExecute as _0x3feb26,Workbook as _0x1c6787,MentionType as _0x155c13,IAuthzIoService as _0x52f070,isInternalEditorID as _0x10dc22,LocalUndoRedoService as _0xfdf7e,IContextService as _0x4abb89,DependentOn as _0x543e61,Plugin as _0x4fb216,merge as _0x27c7c5,mergeOverrideWithDependencies as _0x17f737,IMentionIOService as _0xa76228,registerDependencies as _0x4de961,Quantity as _0x552291,touchDependencies as _0x2bb342}from'@univerjs/core';import{Subject as _0x3be824,merge as _0x557492,of as _0x43a41b,BehaviorSubject as _0x2de85e,takeUntil as _0x44aa56,ReplaySubject as _0x5c1b67,take as _0x4c2e79,map as _0x491c5a,shareReplay as _0xe80991,firstValueFrom as _0x381753,concatMap as _0x23a868}from'rxjs';import{map as _0x582953,take as _0x53102d,filter as _0x403452,delay as _0x303eb3,takeUntil as _0x247c3e}from'rxjs/operators';import{HTTPService as _0x3a1dbb,ISocketService as _0x2ee698,MergeInterceptorFactory as _0x575011,HTTPRequest as _0x3087b5,UniverNetworkPlugin as _0x112596,ThresholdInterceptorFactory as _0x2d58b0}from'@univerjs/network';import{CollaborationEvent as _0x34671a,parseChangesetToProtocol as _0x35fc6a,ISnapshotServerService as _0x3de3ee,isTransformMutationsWithChangesetSuccess as _0x8e3f17,ITransformService as _0x5230f8,mapDocumentTypeToUniverType as _0x14d127,RevisionService as _0x58d326,isTransformChangesetsSuccess as _0x3d9f4b,CompressMutationService as _0x42aba3,parseProtocolChangeset as _0x4b99a9,SnapshotService as _0x1574a3,textEncoder as _0x3f2056,b64DecodeUnicode as _0x3899e9,isTransformMutationsWithChangesetFailure as _0x38dae7,UniverCollaborationPlugin as _0x3b8072}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x52f1fb}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3de722}from'@univerjs/docs';import{SheetsSelectionsService as _0x5321c9,SetSelectionsOperation as _0x2a831a,InsertSheetMutation as _0x1c2e76,EmptyMutation as _0x1b8ca0,WorkbookEditablePermission as _0x1ea93e,SheetPermissionInitController as _0x348be8,UniverSheetsPlugin as _0x1cf559}from'@univerjs/sheets';import{ImageSourceType as _0xa41595,ImageUploadStatusType as _0x3d17a0,IImageIoService as _0x1dd630}from'@univerjs/drawing';import{getGlobalObject as _0x3ae151}from'@univerjs-pro/license';const En=_0x180182(0x271),In=_0x180182(0x382),Tn='SNAPSHOT_URL_KEY',eo=_0x180182(0x328),Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn=_0x180182(0x441),On=_0x180182(0x2a4),yn=_0x180182(0x20e),Nn=0x7530,Si=_0x180182(0x2b9),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0x180182(0x3e0),io=0x3e8,Un=_0x180182(0x2e6),An=_0x180182(0x1bc),xn=_0x180182(0x275),Ln=_0x180182(0x331),no=_0x180182(0x324),ro=_0x180182(0x3ad);var Ii=(_0x8c6a00=>(_0x8c6a00[_0x8c6a00[_0x180182(0x389)]=0x0]=_0x180182(0x389),_0x8c6a00[_0x8c6a00['OK']=0x1]='OK',_0x8c6a00[_0x8c6a00[_0x180182(0x27a)]=0x2]='INTERNAL_ERROR',_0x8c6a00[_0x8c6a00[_0x180182(0x3cf)]=0x3]=_0x180182(0x3cf),_0x8c6a00[_0x8c6a00[_0x180182(0x37d)]=0x4]='NOT_FOUND',_0x8c6a00[_0x8c6a00['UNAUTHENTICATED']=0x5]=_0x180182(0x321),_0x8c6a00[_0x8c6a00[_0x180182(0x412)]=0x6]='ALREADY_EXISTS',_0x8c6a00[_0x8c6a00[_0x180182(0x474)]=0x7]=_0x180182(0x474),_0x8c6a00[_0x8c6a00[_0x180182(0x2bb)]=0x8]=_0x180182(0x2bb),_0x8c6a00[_0x8c6a00[_0x180182(0x3ea)]=0x9]=_0x180182(0x3ea),_0x8c6a00[_0x8c6a00[_0x180182(0x349)]=0x1389]=_0x180182(0x349),_0x8c6a00[_0x8c6a00['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x180182(0x1be),_0x8c6a00[_0x8c6a00[_0x180182(0x209)]=0x1772]=_0x180182(0x209),_0x8c6a00[_0x8c6a00[_0x180182(0x2b6)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x8c6a00[_0x8c6a00[_0x180182(0x471)]=0x1b59]='APPLY_REJECT',_0x8c6a00[_0x8c6a00['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x180182(0x2da),_0x8c6a00[_0x8c6a00[_0x180182(0x44b)]=0x1b5b]=_0x180182(0x44b),_0x8c6a00[_0x8c6a00[_0x180182(0x18c)]=0x1b5c]=_0x180182(0x18c),_0x8c6a00[_0x8c6a00[_0x180182(0x2e0)]=0x1b5d]=_0x180182(0x2e0),_0x8c6a00[_0x8c6a00[_0x180182(0x3c6)]=0x1f41]=_0x180182(0x3c6),_0x8c6a00[_0x8c6a00['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x180182(0x1a3),_0x8c6a00[_0x8c6a00[_0x180182(0x451)]=0x232a]=_0x180182(0x451),_0x8c6a00[_0x8c6a00[_0x180182(0x369)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x8c6a00[_0x8c6a00[_0x180182(0x188)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x8c6a00[_0x8c6a00[_0x180182(0x3fc)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x8c6a00[_0x8c6a00[_0x180182(0x1ca)]=0x2711]=_0x180182(0x1ca),_0x8c6a00[_0x8c6a00[_0x180182(0x1a1)]=0x2712]=_0x180182(0x1a1),_0x8c6a00[_0x8c6a00[_0x180182(0x19c)]=0x2713]=_0x180182(0x19c),_0x8c6a00[_0x8c6a00[_0x180182(0x272)]=0x2714]=_0x180182(0x272),_0x8c6a00[_0x8c6a00[_0x180182(0x469)]=0x2af9]=_0x180182(0x469),_0x8c6a00[_0x8c6a00[_0x180182(0x3a7)]=-0x1]=_0x180182(0x3a7),_0x8c6a00))(Ii||{}),Q=(_0x247606=>(_0x247606[_0x247606['UNIVER_UNKNOWN']=0x0]=_0x180182(0x3f2),_0x247606[_0x247606[_0x180182(0x282)]=0x1]=_0x180182(0x282),_0x247606[_0x247606['UNIVER_SHEET']=0x2]=_0x180182(0x45b),_0x247606[_0x247606[_0x180182(0x38f)]=0x3]=_0x180182(0x38f),_0x247606[_0x247606[_0x180182(0x31b)]=0x4]=_0x180182(0x31b),_0x247606[_0x247606[_0x180182(0x3a7)]=-0x1]=_0x180182(0x3a7),_0x247606))(Q||{}),F=(_0x359796=>(_0x359796[_0x359796[_0x180182(0x3dd)]=0x0]=_0x180182(0x3dd),_0x359796[_0x359796[_0x180182(0x2f8)]=0x1]='HELLO',_0x359796[_0x359796[_0x180182(0x19b)]=0x2]=_0x180182(0x19b),_0x359796[_0x359796['LEAVE']=0x3]=_0x180182(0x438),_0x359796[_0x359796[_0x180182(0x337)]=0x4]=_0x180182(0x337),_0x359796[_0x359796[_0x180182(0x2ef)]=0x5]=_0x180182(0x2ef),_0x359796[_0x359796[_0x180182(0x2a7)]=0x6]='RECV',_0x359796[_0x359796[_0x180182(0x3a7)]=-0x1]=_0x180182(0x3a7),_0x359796))(F||{}),Ee=(_0x27608a=>(_0x27608a[_0x27608a[_0x180182(0x455)]=0x0]='UNKNOWN_CODE',_0x27608a[_0x27608a['OK']=0x1]='OK',_0x27608a[_0x27608a[_0x180182(0x24f)]=0x2]=_0x180182(0x24f),_0x27608a[_0x27608a['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x27608a[_0x27608a[_0x180182(0x1ad)]=0x3ea]=_0x180182(0x1ad),_0x27608a[_0x27608a[_0x180182(0x205)]=0x3eb]=_0x180182(0x205),_0x27608a[_0x27608a['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x180182(0x40d),_0x27608a[_0x27608a[_0x180182(0x3a7)]=-0x1]=_0x180182(0x3a7),_0x27608a))(Ee||{}),Ti=(_0x2ece19=>(_0x2ece19[_0x2ece19['Undefined']=0x0]=_0x180182(0x332),_0x2ece19[_0x2ece19[_0x180182(0x2f0)]=0x1]=_0x180182(0x2f0),_0x2ece19[_0x2ece19[_0x180182(0x3d1)]=0x2]=_0x180182(0x3d1),_0x2ece19[_0x2ece19[_0x180182(0x476)]=0x3]='UnitEmbedded',_0x2ece19[_0x2ece19[_0x180182(0x228)]=0x4]=_0x180182(0x228),_0x2ece19[_0x2ece19[_0x180182(0x3a7)]=-0x1]=_0x180182(0x3a7),_0x2ece19))(Ti||{});const q=_0x180182(0x346),Wt={};var se=(_0x37c002=>(_0x37c002[_0x180182(0x1b6)]=_0x180182(0x1b6),_0x37c002[_0x180182(0x3cf)]=_0x180182(0x3cf),_0x37c002[_0x180182(0x3d5)]=_0x180182(0x3d5),_0x37c002['CLOSE_ROOM']='CLOSE_ROOM',_0x37c002['JOIN_ROOM_FAILED']=_0x180182(0x287),_0x37c002[_0x180182(0x1f7)]=_0x180182(0x1f7),_0x37c002[_0x180182(0x40b)]='SOCKET_FAILED',_0x37c002[_0x180182(0x1d1)]=_0x180182(0x1d1),_0x37c002))(se||{});class pe{constructor(){var _0x165fac=_0x180182;N(this,_0x165fac(0x1b8),new _0x3be824()),N(this,'event$',this['_event$'][_0x165fac(0x473)]());}[_0x180182(0x3f6)](_0x39dc56){var _0x2c95ab=_0x180182;this[_0x2c95ab(0x1b8)]['next'](_0x39dc56);}}const Mn=_0x4d71e7(_0x180182(0x23c));function $n(_0x329f43){var _0x12a890=_0x180182,_0x348366,_0x149a1f,_0x3d5cd8,_0x1b6548,_0x43d1b6;const _0x5920bb=_0x329f43[_0x12a890(0x180)],_0x45f52f=JSON[_0x12a890(0x18d)](_0x5920bb);switch(_0x45f52f[_0x12a890(0x39b)]){case F[_0x12a890(0x2ef)]:case F[_0x12a890(0x2f8)]:{const _0x20ac30=_0x45f52f['infoRsp'];return{..._0x45f52f,'data':_0x20ac30,'cmd':_0x45f52f[_0x12a890(0x39b)]};}case F[_0x12a890(0x19b)]:{const _0x191985=_0x45f52f['joinRsp'];return{..._0x45f52f,'data':_0x191985,'cmd':_0x45f52f[_0x12a890(0x39b)]};}case F[_0x12a890(0x2a7)]:{const _0x4f7d1d=_0x45f52f[_0x12a890(0x2f7)];switch(_0x4f7d1d[_0x12a890(0x41f)]){case _0x34671a[_0x12a890(0x22f)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':(_0x348366=_0x4f7d1d[_0x12a890(0x1bd)])==null?void 0x0:_0x348366['cs']},'cmd':_0x45f52f['cmd']};case _0x34671a[_0x12a890(0x1cc)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':(_0x149a1f=_0x4f7d1d[_0x12a890(0x39c)])==null?void 0x0:_0x149a1f['cs']},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x385)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':(_0x3d5cd8=_0x4f7d1d['newCsEvent'])==null?void 0x0:_0x3d5cd8['cs']},'cmd':_0x45f52f['cmd']};case _0x34671a[_0x12a890(0x2ea)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':(_0x1b6548=_0x4f7d1d['csRejEvent'])==null?void 0x0:_0x1b6548['cs']},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x334)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':(_0x43d1b6=_0x4f7d1d[_0x12a890(0x32c)])==null?void 0x0:_0x43d1b6['cs']},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x22d)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x40a)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x40e)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x45c)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x3ee)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x452)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x38c)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d['liveShareNewHost']},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x1a4)]:case _0x34671a['LIVESHARE_OPERATION']:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d['liveShareOperation']},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a['LIVESHARE_TERMINATE']:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x435)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x194)]:return{..._0x45f52f,'data':_0x4f7d1d,'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x2eb)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d['commentUpdateEvent']},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x356)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x372)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x344)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x424)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a['UNISCRIPT_RUN']:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x1ae)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};default:return _0x45f52f;}}default:return _0x45f52f;}}function Hn(_0x2cb224){var _0x200d98=_0x180182;switch(_0x2cb224[_0x200d98(0x39b)]){case F[_0x200d98(0x2ef)]:case F['HELLO']:return JSON[_0x200d98(0x2fc)]({'cmd':_0x2cb224[_0x200d98(0x39b)],'routeKey':_0x2cb224[_0x200d98(0x19a)]});case F[_0x200d98(0x337)]:{let _0x1a3bdb;switch(_0x2cb224[_0x200d98(0x180)][_0x200d98(0x41f)]){case _0x34671a['UPDATE_CURSOR']:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x22d)],'updateCursorEvent':_0x2cb224[_0x200d98(0x180)][_0x200d98(0x180)]};break;}case _0x34671a['USERS_LEAVE']:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x3ee)],'leaveEvent':_0x2cb224['data']['data']};break;}case _0x34671a[_0x200d98(0x40e)]:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x40e)],'joinEvent':_0x2cb224[_0x200d98(0x180)][_0x200d98(0x180)]};break;}case _0x34671a['LIVESHARE_NEW_HOST']:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x38c)],'liveShareNewHost':_0x2cb224[_0x200d98(0x180)][_0x200d98(0x180)]};break;}case _0x34671a['LIVESHARE_OPERATION']:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x2e3)],'liveShareOperation':_0x2cb224[_0x200d98(0x180)][_0x200d98(0x180)]};break;}case _0x34671a[_0x200d98(0x1ba)]:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x1ba)],'liveShareTerminate':_0x2cb224['data'][_0x200d98(0x180)]};break;}case _0x34671a[_0x200d98(0x362)]:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x362)],'liveShareRequestHost':_0x2cb224[_0x200d98(0x180)][_0x200d98(0x180)]};break;}case _0x34671a[_0x200d98(0x1a4)]:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x1a4)]};break;}default:_0x1a3bdb={'eventID':_0x2cb224['data']['eventID']};}return JSON['stringify']({'cmd':_0x2cb224[_0x200d98(0x39b)],'routeKey':_0x2cb224[_0x200d98(0x19a)],'collaMsg':_0x1a3bdb});}case F['JOIN']:return JSON[_0x200d98(0x2fc)]({'cmd':_0x2cb224['cmd'],'routeKey':_0x2cb224['routeKey'],'joinReq':_0x2cb224['data']});case F['LEAVE']:return JSON[_0x200d98(0x2fc)]({'cmd':_0x2cb224[_0x200d98(0x39b)],'routeKey':_0x2cb224[_0x200d98(0x19a)],'leaveReq':_0x2cb224[_0x200d98(0x180)]});default:throw new Error(_0x200d98(0x2f5));}}var kn=Object['defineProperty'],jn=Object[_0x180182(0x2dc)],Bn=(_0x8afffd,_0x156fb8,_0x1c7773,_0x329aea)=>{var _0x1457dd=_0x180182;for(var _0x533ec2=_0x329aea>0x1?void 0x0:_0x329aea?jn(_0x156fb8,_0x1c7773):_0x156fb8,_0x175119=_0x8afffd[_0x1457dd(0x22e)]-0x1,_0xfb9fec;_0x175119>=0x0;_0x175119--)(_0xfb9fec=_0x8afffd[_0x175119])&&(_0x533ec2=(_0x329aea?_0xfb9fec(_0x156fb8,_0x1c7773,_0x533ec2):_0xfb9fec(_0x533ec2))||_0x533ec2);return _0x329aea&&_0x533ec2&&kn(_0x156fb8,_0x1c7773,_0x533ec2),_0x533ec2;},Ue=(_0x24267a,_0xab8d15)=>(_0x359971,_0x24f6f3)=>_0xab8d15(_0x359971,_0x24f6f3,_0x24267a);const Ci=_0x4d71e7(_0x180182(0x1c8));function Fn(_0x105148,_0x2d2b8e,_0x5df95e){var _0x290c7a=_0x180182;return _0x105148+'/'+_0x2d2b8e+_0x290c7a(0x2fa)+_0x5df95e+_0x290c7a(0x25c);}let Et=class extends _0x5e1af1{constructor(_0x33e16c,_0xf2f990,_0x22dbc0,_0x21e9b5,_0x2f8995){var _0x56db40=_0x180182;super(),this[_0x56db40(0x3ff)]=_0x33e16c,this['_http']=_0xf2f990,this[_0x56db40(0x2c9)]=_0x22dbc0,this['_logService']=_0x21e9b5,this['_snapshotServerService']=_0x2f8995;}[_0x180182(0x3c1)](_0x531113){var _0x426253=_0x180182;const _0x3c3f6c=this['_injector'][_0x426253(0x42e)](_0x2ee698);if(!_0x3c3f6c)throw new Error(_0x426253(0x195));const _0x1efafc=_0x3c3f6c['createSocket'](_0x531113);if(!_0x1efafc)throw new Error(_0x426253(0x378));const _0x4e3499=new _0x47be4c(),_0x37ebca=new _0x3be824();_0x4e3499[_0x426253(0x3a3)](_0x1efafc['close$'][_0x426253(0x24d)](_0x26c22a=>_0x37ebca[_0x426253(0x1c9)](_0x26c22a))),_0x4e3499['add'](_0x7e22c5(()=>_0x37ebca[_0x426253(0x173)]()));const _0x16e270=new _0x3be824();_0x4e3499['add'](_0x1efafc['error$'][_0x426253(0x24d)](_0x372e15=>_0x16e270[_0x426253(0x1c9)](_0x372e15))),_0x4e3499[_0x426253(0x3a3)](_0x7e22c5(()=>_0x16e270['complete']()));const _0x959685=new _0x3be824();_0x4e3499['add'](_0x1efafc['message$'][_0x426253(0x24d)](_0x37d0cf=>{var _0x2bade6=_0x426253;const _0xc18dd0=$n(_0x37d0cf);_0x959685[_0x2bade6(0x1c9)](_0xc18dd0);})),_0x4e3499[_0x426253(0x3a3)](_0x7e22c5(()=>_0x959685[_0x426253(0x173)]()));let _0x30a414;const _0x3d4c73=()=>{var _0x21f10a=_0x426253;_0x16e270[_0x21f10a(0x1c9)](new Event(_0x21f10a(0x1dd))),_0x37ebca[_0x21f10a(0x1c9)](new CloseEvent(_0x21f10a(0x1dd))),_0x30a414[_0x21f10a(0x434)]();};return _0x30a414={'memberID':'','close$':_0x37ebca['asObservable'](),'error$':_0x16e270[_0x426253(0x473)](),'open$':_0x1efafc[_0x426253(0x190)],'message$':_0x959685[_0x426253(0x473)](),'send':_0x43092a=>{var _0x1eb74f=_0x426253;if(_0x43092a[_0x1eb74f(0x39b)]===F[_0x1eb74f(0x337)]){if(_0x43092a[_0x1eb74f(0x180)][_0x1eb74f(0x41f)]===_0x34671a[_0x1eb74f(0x3d0)]){this['_submitChangeset'](_0x30a414,_0x43092a['data'])[_0x1eb74f(0x2cd)](_0x579b11=>{var _0x4af922=_0x1eb74f;this[_0x4af922(0x1a2)][_0x4af922(0x458)](_0x579b11),_0x3d4c73();});return;}if(_0x43092a[_0x1eb74f(0x180)][_0x1eb74f(0x41f)]===_0x34671a[_0x1eb74f(0x38d)]){const _0x122077=_0x43092a[_0x1eb74f(0x180)];this['_fetchMissChangesets'](_0x122077)[_0x1eb74f(0x1f1)](_0x2a7799=>{var _0x396310=_0x1eb74f;_0x959685[_0x396310(0x1c9)]({'cmd':F[_0x396310(0x2a7)],'code':Ee['OK'],'routeKey':_0x122077[_0x396310(0x180)]['unitID'],'routeType':'','data':{'eventID':_0x34671a[_0x396310(0x17d)],'data':{'changesets':_0x2a7799}}});})[_0x1eb74f(0x2cd)](_0x33fdf7=>{var _0x334680=_0x1eb74f;this[_0x334680(0x1a2)][_0x334680(0x458)](_0x33fdf7),_0x3d4c73();});return;}}_0x1efafc[_0x1eb74f(0x35b)](Hn(_0x43092a));},'close':()=>{var _0xd8bd92=_0x426253;_0x1efafc[_0xd8bd92(0x434)](),_0x4e3499[_0xd8bd92(0x397)]();}},_0x30a414;}async[_0x180182(0x396)](_0xbf784f,_0x230074){var _0x41bcae=_0x180182,_0x3390e5,_0x106310;const {unitType:_0x242149,unitID:_0x59cbad,changeset:_0x54dbad}=_0x230074[_0x41bcae(0x180)],_0x316b0a={'unitID':_0x59cbad,'memberID':_0xbf784f['memberID'],'type':_0x242149,'changeset':_0x35fc6a(_0x54dbad)},_0xf6554=this[_0x41bcae(0x2c9)][_0x41bcae(0x3b2)](Un),_0xc346a8=this[_0x41bcae(0x2c9)][_0x41bcae(0x3b2)](q),_0x1bc1d7=Fn((_0x106310=(_0x3390e5=_0xc346a8==null?void 0x0:_0xc346a8[_0x41bcae(0x3df)])!=null?_0x3390e5:_0xf6554)!=null?_0x106310:An,_0x242149,_0x59cbad);try{await this[_0x41bcae(0x21c)][_0x41bcae(0x2ca)](_0x1bc1d7,{'body':_0x316b0a});}catch(_0xa60fc5){throw this['_logService'][_0x41bcae(0x458)](_0x41bcae(0x33d),'submit\x20changeset\x20error!'),_0xa60fc5;}}async[_0x180182(0x1ef)](_0x338483){var _0x283d82=_0x180182;const {unitID:_0x592d1d,from:_0x26bd93,to:_0x1b3541,unitType:_0x1251ff}=_0x338483[_0x283d82(0x180)];return(await this[_0x283d82(0x42a)][_0x283d82(0x360)]({'metadata':void 0x0},{'unitID':_0x592d1d,'type':_0x1251ff,'from':_0x26bd93,'to':_0x1b3541}))[_0x283d82(0x2e5)];}};Et=Bn([Ue(0x0,_0x353e29(_0x514172)),Ue(0x1,_0x353e29(_0x3a1dbb)),Ue(0x2,_0x1d880c),Ue(0x3,_0x3e9f29),Ue(0x4,_0x3de3ee)],Et);const Vn=_0x180182(0x2a1);function Gn(_0x2a7514){var _0x27d9e4=_0x180182;return JSON[_0x27d9e4(0x2fc)](_0x2a7514)[_0x27d9e4(0x22e)];}class Ri{constructor(){var _0x2d0144=_0x180182;N(this,_0x2d0144(0x200),new _0x3be824()),N(this,_0x2d0144(0x1bb),this[_0x2d0144(0x200)][_0x2d0144(0x473)]());}[_0x180182(0x430)](_0x4baa82){var _0x3b106c=_0x180182;this['_commentUpdate$'][_0x3b106c(0x1c9)](_0x4baa82);}}var Wn=Object[_0x180182(0x223)],Kn=Object[_0x180182(0x2dc)],Yn=(_0x518410,_0x1f8357,_0x341aa3,_0x4464ca)=>{var _0x1ae67f=_0x180182;for(var _0x1d5cc2=_0x4464ca>0x1?void 0x0:_0x4464ca?Kn(_0x1f8357,_0x341aa3):_0x1f8357,_0x442489=_0x518410[_0x1ae67f(0x22e)]-0x1,_0x5e85b0;_0x442489>=0x0;_0x442489--)(_0x5e85b0=_0x518410[_0x442489])&&(_0x1d5cc2=(_0x4464ca?_0x5e85b0(_0x1f8357,_0x341aa3,_0x1d5cc2):_0x5e85b0(_0x1d5cc2))||_0x1d5cc2);return _0x4464ca&&_0x1d5cc2&&Wn(_0x1f8357,_0x341aa3,_0x1d5cc2),_0x1d5cc2;},Kt=(_0x161e66,_0x3bd5ac)=>(_0x554a25,_0x3a81fb)=>_0x3bd5ac(_0x554a25,_0x3a81fb,_0x161e66);let xe=class extends _0x5e1af1{constructor(_0x1ce2a7,_0x6577f6){var _0x515322=_0x180182;super(),N(this,_0x515322(0x238),new Map()),N(this,_0x515322(0x38b),new _0x3be824()),(this[_0x515322(0x207)]=_0x1ce2a7,this[_0x515322(0x16e)]=_0x6577f6,this['disposeWithMe'](_0x557492(this[_0x515322(0x207)][_0x515322(0x36b)](_0xe90df[_0x515322(0x45b)])['pipe'](_0x582953(_0x32d916=>_0x32d916[_0x515322(0x20f)]())),this['_univerInstanceService'][_0x515322(0x36b)](_0xe90df[_0x515322(0x282)])['pipe'](_0x582953(_0x452941=>_0x452941[_0x515322(0x20f)]())),this['_univerInstanceService'][_0x515322(0x36b)](_0xe90df['UNIVER_SLIDE'])[_0x515322(0x1df)](_0x582953(_0x4de634=>_0x4de634[_0x515322(0x20f)]())))[_0x515322(0x24d)](_0x42ca24=>this[_0x515322(0x439)](_0x42ca24))));}[_0x180182(0x32b)](_0x2e2790){var _0x2d9ef9=_0x180182;return this[_0x2d9ef9(0x238)][_0x2d9ef9(0x268)](_0x2e2790)?_0x43a41b(this[_0x2d9ef9(0x238)][_0x2d9ef9(0x42e)](_0x2e2790)):this[_0x2d9ef9(0x38b)][_0x2d9ef9(0x1df)](_0x582953(_0xe32008=>{var _0x3ba274=_0x2d9ef9;if(_0xe32008===_0x2e2790)return this[_0x3ba274(0x238)]['get'](_0xe32008);}));}['setCurrentUser'](_0x494c84){this['_userManagerService']['setCurrentUser'](_0x494c84);}[_0x180182(0x3ef)](){var _0x14416e=_0x180182;return this[_0x14416e(0x16e)][_0x14416e(0x3ef)]();}[_0x180182(0x29d)](_0xa2a1d5,_0x3e8f9a){var _0x5a2de9=_0x180182;let _0x583159=this[_0x5a2de9(0x238)][_0x5a2de9(0x42e)](_0xa2a1d5);_0x583159||(_0x583159=new qn(),this[_0x5a2de9(0x238)][_0x5a2de9(0x3e8)](_0xa2a1d5,_0x583159),this['_roomCreated$'][_0x5a2de9(0x1c9)](_0xa2a1d5)),_0x583159[_0x5a2de9(0x29d)](_0x3e8f9a);}[_0x180182(0x25e)](_0x4dfda5,_0x59b119){var _0x2242ee=_0x180182;const _0x4519c7=this[_0x2242ee(0x238)][_0x2242ee(0x42e)](_0x4dfda5);_0x4519c7&&_0x4519c7[_0x2242ee(0x25e)](_0x59b119);}['getRoom'](_0x2e12e7){var _0x365d0f=_0x180182;return this[_0x365d0f(0x238)][_0x365d0f(0x42e)](_0x2e12e7);}[_0x180182(0x425)](_0x3327e2,_0x3b434e){var _0x5522e6=_0x180182;const _0x1c9847=this[_0x5522e6(0x238)][_0x5522e6(0x42e)](_0x3327e2);if(_0x1c9847)return _0x1c9847[_0x5522e6(0x425)](_0x3b434e);}[_0x180182(0x439)](_0x35aea8){var _0x27edaa=_0x180182;const _0xa49ad3=this[_0x27edaa(0x238)]['get'](_0x35aea8);_0xa49ad3&&(_0xa49ad3[_0x27edaa(0x397)](),this[_0x27edaa(0x238)]['delete'](_0x35aea8));}['dispose'](){var _0x2e8251=_0x180182;this[_0x2e8251(0x238)][_0x2e8251(0x46f)](_0x35ea2f=>_0x35ea2f[_0x2e8251(0x397)]()),this['_roomMembers'][_0x2e8251(0x1a7)](),this[_0x2e8251(0x38b)][_0x2e8251(0x173)]();}};xe=Yn([Kt(0x0,_0xbe923a),Kt(0x1,_0x353e29(_0x78d013))],xe);class qn extends _0x5e1af1{constructor(){var _0xddac1c=_0x180182;super(...arguments),N(this,_0xddac1c(0x2d3),new Map()),N(this,_0xddac1c(0x2a2),new _0x2de85e(this[_0xddac1c(0x2d3)])),N(this,_0xddac1c(0x2ad),this['_members$'][_0xddac1c(0x473)]());}['dispose'](){var _0x3d28bc=_0x180182;this['_members'][_0x3d28bc(0x1a7)]();}[_0x180182(0x29d)](_0x59df98){var _0x178cbd=_0x180182;this[_0x178cbd(0x2d3)][_0x178cbd(0x3e8)](_0x59df98[_0x178cbd(0x2a5)],_0x59df98),this[_0x178cbd(0x2f3)]();}['removeMember'](_0x1a4820){var _0x1530b0=_0x180182;this[_0x1530b0(0x2d3)][_0x1530b0(0x1c7)](_0x1a4820);}[_0x180182(0x425)](_0x275639){var _0x54a92d=_0x180182;return this['_members'][_0x54a92d(0x42e)](_0x275639);}['getAllMembers'](){var _0x462f71=_0x180182;return Array['from'](this[_0x462f71(0x2d3)][_0x462f71(0x2db)]());}[_0x180182(0x2f3)](){var _0x4d0ad4=_0x180182;this[_0x4d0ad4(0x2a2)]['next'](this[_0x4d0ad4(0x2d3)]);}}var zn=Object[_0x180182(0x223)],Jn=Object[_0x180182(0x2dc)],Xn=(_0xbb6753,_0x4babea,_0x1041f2,_0x49f3e5)=>{var _0x4ee8e5=_0x180182;for(var _0x4b4bce=_0x49f3e5>0x1?void 0x0:_0x49f3e5?Jn(_0x4babea,_0x1041f2):_0x4babea,_0x4f2aed=_0xbb6753[_0x4ee8e5(0x22e)]-0x1,_0x143d6d;_0x4f2aed>=0x0;_0x4f2aed--)(_0x143d6d=_0xbb6753[_0x4f2aed])&&(_0x4b4bce=(_0x49f3e5?_0x143d6d(_0x4babea,_0x1041f2,_0x4b4bce):_0x143d6d(_0x4b4bce))||_0x4b4bce);return _0x49f3e5&&_0x4b4bce&&zn(_0x4babea,_0x1041f2,_0x4b4bce),_0x4b4bce;},me=(_0x974b44,_0x1c1365)=>(_0x5a6a9f,_0x4cad54)=>_0x1c1365(_0x5a6a9f,_0x4cad54,_0x974b44),Te=(_0x7fed75=>(_0x7fed75[_0x7fed75[_0x180182(0x1ed)]=0x0]=_0x180182(0x1ed),_0x7fed75[_0x7fed75[_0x180182(0x415)]=0x1]='JOINING',_0x7fed75[_0x7fed75[_0x180182(0x358)]=0x2]=_0x180182(0x358),_0x7fed75[_0x7fed75['ONLINE']=0x3]='ONLINE',_0x7fed75))(Te||{});const Yt={[Ee[_0x180182(0x24f)]]:_0x180182(0x241),[Ee[_0x180182(0x2fd)]]:_0x180182(0x2a9),[Ee[_0x180182(0x1ad)]]:_0x180182(0x2ab),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x180182(0x392),[Ee[_0x180182(0x40d)]]:_0x180182(0x3c4)};let It=class extends _0x528acc{constructor(_0x27d657,_0x4498d7,_0x463a88,_0x1bae9a,_0x4f8c8f,_0x5f29c5,_0x1b2413,_0x2cbda8,_0x1e2ba0){var _0x5d170e=_0x180182;super(),N(this,_0x5d170e(0x1fd),new _0x2de85e(0x0)),N(this,_0x5d170e(0x212),this[_0x5d170e(0x1fd)][_0x5d170e(0x473)]()),N(this,_0x5d170e(0x1b8),new _0x3be824()),N(this,'event$',this[_0x5d170e(0x1b8)][_0x5d170e(0x473)]()),N(this,'_socket'),N(this,_0x5d170e(0x2d4)),N(this,_0x5d170e(0x376)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x5d170e(0x17a),null),(this[_0x5d170e(0x28f)]=_0x27d657,this[_0x5d170e(0x1a2)]=_0x463a88,this[_0x5d170e(0x2c9)]=_0x1bae9a,this[_0x5d170e(0x2fb)]=_0x4f8c8f,this[_0x5d170e(0x2c5)]=_0x5f29c5,this[_0x5d170e(0x1fa)]=_0x1b2413,this[_0x5d170e(0x1a5)]=_0x2cbda8,this[_0x5d170e(0x2fe)]=_0x1e2ba0,this[_0x5d170e(0x365)]=!!this[_0x5d170e(0x2fe)],_0x4498d7[_0x5d170e(0x1df)](_0x44aa56(this[_0x5d170e(0x1e2)]))['subscribe'](_0x54b328=>{var _0x759749=_0x5d170e,_0x1fd9f0;typeof _0x54b328>'u'||(this[_0x759749(0x41a)]=_0x54b328,_0x54b328?(this[_0x759749(0x221)](_0x54b328),this[_0x759749(0x2d4)]=_0x54b328[_0x759749(0x289)][_0x759749(0x24d)](_0x3243a7=>{var _0x417f9f=_0x759749;_0x3243a7[_0x417f9f(0x19a)]===this['_unitID']&&this[_0x417f9f(0x270)](_0x3243a7);})):(this[_0x759749(0x421)](),this['_sessionStatus$'][_0x759749(0x1c9)](0x2),(_0x1fd9f0=this[_0x759749(0x2d4)])==null||_0x1fd9f0[_0x759749(0x2c0)](),this[_0x759749(0x2d4)]=null));}));}get[_0x180182(0x39e)](){return this['_sessionStatus$']['getValue']();}[_0x180182(0x1c3)](){var _0x43a64a=_0x180182,_0x25bd0b,_0x1ff346;return(_0x1ff346=(_0x25bd0b=this[_0x43a64a(0x41a)])==null?void 0x0:_0x25bd0b[_0x43a64a(0x2a5)])!=null?_0x1ff346:null;}['dispose'](){var _0x17abc2=_0x180182;super[_0x17abc2(0x397)](),this[_0x17abc2(0x1e2)]['next'](),this[_0x17abc2(0x1e2)][_0x17abc2(0x173)]();}[_0x180182(0x434)](){var _0x42fb60=_0x180182,_0x24f44e,_0xaeba9f;this[_0x42fb60(0x421)](),(_0x24f44e=this['_socket'])==null||_0x24f44e[_0x42fb60(0x35b)]({'cmd':F[_0x42fb60(0x438)],'data':{'roomID':this['_unitID']}}),(_0xaeba9f=this[_0x42fb60(0x41a)])==null||_0xaeba9f[_0x42fb60(0x434)](),this[_0x42fb60(0x1b8)][_0x42fb60(0x173)](),this[_0x42fb60(0x1fd)][_0x42fb60(0x173)](),this[_0x42fb60(0x397)]();}[_0x180182(0x270)](_0x32a081){var _0x557a0e=_0x180182;_0x32a081[_0x557a0e(0x39b)]===F[_0x557a0e(0x19b)]?this[_0x557a0e(0x355)](_0x32a081):_0x32a081[_0x557a0e(0x39b)]===F[_0x557a0e(0x2a7)]&&this[_0x557a0e(0x3aa)](_0x32a081);}[_0x180182(0x221)](_0x1e4a70){var _0x24e1ab=_0x180182;this[_0x24e1ab(0x1fd)]['next'](0x1),_0x1e4a70[_0x24e1ab(0x35b)]({'cmd':F[_0x24e1ab(0x19b)],'routeKey':this[_0x24e1ab(0x28f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x24e1ab(0x28f)]}]}});}[_0x180182(0x355)](_0x181a38){var _0x5e88cf=_0x180182,_0xe45f26;if(_0x181a38[_0x5e88cf(0x44d)]in Yt){this[_0x5e88cf(0x1a5)]['emitEvent']({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x181a38[_0x5e88cf(0x44d)]]}),this[_0x5e88cf(0x1fd)][_0x5e88cf(0x1c9)](0x2);return;}this[_0x5e88cf(0x1fd)][_0x5e88cf(0x1c9)](0x3);const _0x21afff=(_0xe45f26=_0x181a38[_0x5e88cf(0x180)][_0x5e88cf(0x3ca)][this['_unitID']])==null?void 0x0:_0xe45f26[_0x5e88cf(0x1b3)];_0x21afff&&_0x21afff[_0x5e88cf(0x46f)](_0x24edb5=>this[_0x5e88cf(0x2c5)]['updateMember'](this[_0x5e88cf(0x28f)],_0x24edb5));}[_0x180182(0x3aa)](_0x77bf3e){var _0xd4c3c=_0x180182;try{const _0x5958d8=_0x77bf3e[_0xd4c3c(0x180)];switch(_0x5958d8[_0xd4c3c(0x41f)]){case _0x34671a[_0xd4c3c(0x40e)]:this['_onUserJoin'](_0x5958d8),this[_0xd4c3c(0x1b8)]['next'](_0x5958d8);break;case _0x34671a[_0xd4c3c(0x3ee)]:this[_0xd4c3c(0x45f)](_0x5958d8),this['_event$']['next'](_0x5958d8);break;case _0x34671a['CHANGESET_ACK']:case _0x34671a[_0xd4c3c(0x334)]:this[_0xd4c3c(0x193)](),this[_0xd4c3c(0x237)](),this['_event$']['next'](_0x5958d8);break;case _0x34671a[_0xd4c3c(0x194)]:this['_logService'][_0xd4c3c(0x458)](_0xd4c3c(0x34a)+JSON['stringify'](_0x5958d8)),this[_0xd4c3c(0x1b8)][_0xd4c3c(0x1c9)](_0x5958d8);break;case _0x34671a[_0xd4c3c(0x2eb)]:this[_0xd4c3c(0x1fa)][_0xd4c3c(0x430)](_0x5958d8[_0xd4c3c(0x180)]),this[_0xd4c3c(0x1b8)][_0xd4c3c(0x1c9)](_0x5958d8);break;default:this[_0xd4c3c(0x1b8)][_0xd4c3c(0x1c9)](_0x5958d8);}}catch(_0x31a30e){this[_0xd4c3c(0x1a2)]['error'](_0x31a30e,_0x77bf3e);}}['_onUserJoin'](_0x164a52){var _0x5d36fc=_0x180182;this[_0x5d36fc(0x2c5)][_0x5d36fc(0x29d)](this[_0x5d36fc(0x28f)],_0x164a52[_0x5d36fc(0x180)]);}[_0x180182(0x45f)](_0x28a988){var _0x1d9ed8=_0x180182;this[_0x1d9ed8(0x2c5)]['removeMember'](this[_0x1d9ed8(0x28f)],_0x28a988[_0x1d9ed8(0x180)][_0x1d9ed8(0x2a5)]);}async[_0x180182(0x35b)](_0x56017e,_0x23247e){var _0x457b06=_0x180182;if(this[_0x457b06(0x39e)]!==0x3||!this[_0x457b06(0x41a)])throw new Error(_0x457b06(0x335));try{_0x56017e[_0x457b06(0x41f)]===_0x34671a[_0x457b06(0x3d0)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x56017e)),this['_socket']['send']({'cmd':F['INGEST'],'routeKey':_0x23247e,'routeType':'','data':_0x56017e});}catch(_0x498edd){this['_logService'][_0x457b06(0x458)](_0x498edd);}}[_0x180182(0x460)](){var _0x15c311=_0x180182,_0x29d81a;this[_0x15c311(0x376)]=setTimeout(()=>{var _0x5222f4=_0x15c311;this[_0x5222f4(0x376)]=null,this[_0x5222f4(0x1a5)][_0x5222f4(0x3f6)]({'id':se[_0x5222f4(0x1d1)]});},(_0x29d81a=this[_0x15c311(0x2c9)]['getConfig'](Si))!=null?_0x29d81a:Ei);}[_0x180182(0x237)](){var _0x7f2a43=_0x180182;this[_0x7f2a43(0x376)]&&(clearTimeout(this[_0x7f2a43(0x376)]),this[_0x7f2a43(0x376)]=null);}[_0x180182(0x3d9)](_0x27ea95){var _0x3e6d8f=_0x180182;if(!this[_0x3e6d8f(0x365)])return;const {data:_0x2efded}=_0x27ea95,{unitID:_0x4f63c4,changeset:_0x385361}=_0x2efded,{mutations:_0x4131a6,type:_0x4b3837}=_0x385361;this[_0x3e6d8f(0x17a)]={'unitId':_0x4f63c4,'type':_0x4b3837,'startTime':performance[_0x3e6d8f(0x407)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x4131a6)};}[_0x180182(0x193)](){var _0x40a453=_0x180182;if(this['_shouldReportTelemetry']){if(!this[_0x40a453(0x17a)]){this[_0x40a453(0x1a2)][_0x40a453(0x458)](_0x40a453(0x33d),_0x40a453(0x179));return;}this[_0x40a453(0x17a)]['stopTime']=performance[_0x40a453(0x407)](),this['_telemetryInfo']['duration']=this[_0x40a453(0x17a)][_0x40a453(0x3f3)]-this[_0x40a453(0x17a)]['startTime'],this['_telemetryService'][_0x40a453(0x317)](Vn,this[_0x40a453(0x17a)]),this[_0x40a453(0x17a)]=null;}}[_0x180182(0x421)](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x3e9f29),me(0x3,_0x1d880c),me(0x4,_0x353e29(_0x481fdb)),me(0x5,_0x353e29(xe)),me(0x6,_0x353e29(Ri)),me(0x7,_0x353e29(pe)),me(0x8,_0x2d320a(_0x52f1fb))],It);var Zn=Object['defineProperty'],Qn=Object[_0x180182(0x2dc)],er=(_0x10fc60,_0x1809fd,_0x41231a,_0x4deff9)=>{var _0x41eb8f=_0x180182;for(var _0x14eedf=_0x4deff9>0x1?void 0x0:_0x4deff9?Qn(_0x1809fd,_0x41231a):_0x1809fd,_0x5b2fdd=_0x10fc60[_0x41eb8f(0x22e)]-0x1,_0x108218;_0x5b2fdd>=0x0;_0x5b2fdd--)(_0x108218=_0x10fc60[_0x5b2fdd])&&(_0x14eedf=(_0x4deff9?_0x108218(_0x1809fd,_0x41231a,_0x14eedf):_0x108218(_0x14eedf))||_0x14eedf);return _0x4deff9&&_0x14eedf&&Zn(_0x1809fd,_0x41231a,_0x14eedf),_0x14eedf;},ge=(_0x1d20b5,_0x52034b)=>(_0x458078,_0x377c34)=>_0x52034b(_0x458078,_0x377c34,_0x1d20b5);let Le=class extends _0x5e1af1{constructor(_0x5d61d2,_0x59e2e7,_0x49696d,_0xd5d564,_0x149ae5,_0x53feed,_0x1bf17f){var _0x3ad8c7=_0x180182;super(),N(this,_0x3ad8c7(0x2b0),new _0x2de85e(void 0x0)),N(this,'socket$',this[_0x3ad8c7(0x2b0)][_0x3ad8c7(0x473)]()),N(this,'_candidateSocket',null),N(this,_0x3ad8c7(0x450),new Map()),N(this,'_status$',new _0x2de85e(Te[_0x3ad8c7(0x1ed)])),N(this,_0x3ad8c7(0x1fe),this[_0x3ad8c7(0x43e)][_0x3ad8c7(0x473)]()),N(this,_0x3ad8c7(0x338),!0x1),N(this,_0x3ad8c7(0x467)),N(this,'_retryCount',0x0),N(this,_0x3ad8c7(0x3c8)),N(this,_0x3ad8c7(0x44a)),(this[_0x3ad8c7(0x3ff)]=_0x5d61d2,this[_0x3ad8c7(0x1a2)]=_0x59e2e7,this[_0x3ad8c7(0x2c9)]=_0x49696d,this[_0x3ad8c7(0x23e)]=_0xd5d564,this['_httpService']=_0x149ae5,this[_0x3ad8c7(0x1a5)]=_0x53feed,this[_0x3ad8c7(0x23b)]=_0x1bf17f,this[_0x3ad8c7(0x3fe)]());}get[_0x180182(0x41a)](){var _0x2d0bf7=_0x180182;return this['_socket$'][_0x2d0bf7(0x312)]();}['_listenToNetworkCondition'](){var _0x54c78e=_0x180182;this[_0x54c78e(0x23b)]&&this[_0x54c78e(0x437)](this[_0x54c78e(0x23b)][_0x54c78e(0x265)][_0x54c78e(0x24d)](_0xbc88bc=>{var _0x4cc822=_0x54c78e;_0xbc88bc&&!this[_0x4cc822(0x41a)]&&this[_0x4cc822(0x34d)](),_0xbc88bc||this['_onOffline']();}));}[_0x180182(0x397)](){var _0x1dfe45=_0x180182;super[_0x1dfe45(0x397)](),this[_0x1dfe45(0x450)]['forEach'](_0x2c3a77=>_0x2c3a77[_0x1dfe45(0x397)]()),this[_0x1dfe45(0x450)][_0x1dfe45(0x1a7)](),this[_0x1dfe45(0x43e)][_0x1dfe45(0x173)]();}async[_0x180182(0x3f1)](_0x62ca37){var _0x12fc0b=_0x180182;if(this[_0x12fc0b(0x450)][_0x12fc0b(0x268)](_0x62ca37))return this[_0x12fc0b(0x450)]['get'](_0x62ca37);this['_tryEnsureSocket']();const _0x471750=this['_injector'][_0x12fc0b(0x182)](It,_0x62ca37,this['_socket$'][_0x12fc0b(0x473)]());return this[_0x12fc0b(0x450)][_0x12fc0b(0x3e8)](_0x62ca37,_0x471750),_0x471750;}[_0x180182(0x457)](_0x1b2080){var _0x30a4b0=_0x180182,_0x43ecfe;const _0xc4316a=this[_0x30a4b0(0x450)][_0x30a4b0(0x42e)](_0x1b2080);_0xc4316a&&(this[_0x30a4b0(0x450)][_0x30a4b0(0x1c7)](_0x1b2080),_0xc4316a[_0x30a4b0(0x434)]()),this[_0x30a4b0(0x450)]['size']||(_0x43ecfe=this[_0x30a4b0(0x41a)])==null||_0x43ecfe['close']();}['reconnect'](){var _0x11d6f5=_0x180182;this['_retryCount']=0x0,this[_0x11d6f5(0x467)]!=null&&(clearTimeout(this[_0x11d6f5(0x467)]),this[_0x11d6f5(0x467)]=null),this[_0x11d6f5(0x250)]();}async[_0x180182(0x41d)](){var _0x232f75=_0x180182,_0x171adc,_0x353d2a,_0x45bf9c;const _0x74d56a=this['_configService'][_0x232f75(0x3b2)](q),_0x2f4b81=(_0x171adc=_0x74d56a==null?void 0x0:_0x74d56a['wsSessionTicketUrl'])!=null?_0x171adc:On;return(_0x45bf9c=(_0x353d2a=(await this[_0x232f75(0x2a3)]['get'](_0x2f4b81,{'headers':{'Content-Type':_0x232f75(0x37b)}}))[_0x232f75(0x406)])==null?void 0x0:_0x353d2a[_0x232f75(0x256)])!=null?_0x45bf9c:'';}[_0x180182(0x22b)](_0x4d55c2){var _0x2bdeb9=_0x180182,_0x172960,_0xe41f6a;const _0x3a7f5a=this[_0x2bdeb9(0x2c9)]['getConfig'](Rn),_0xf00a42=this[_0x2bdeb9(0x2c9)][_0x2bdeb9(0x3b2)](q),_0x5b934e=(_0xe41f6a=(_0x172960=_0xf00a42==null?void 0x0:_0xf00a42[_0x2bdeb9(0x222)])!=null?_0x172960:_0x3a7f5a)!=null?_0xe41f6a:bn,_0xb8c7eb=typeof window>'u'?new URL(_0x5b934e):new URL(_0x5b934e,window[_0x2bdeb9(0x39d)][_0x2bdeb9(0x34f)]);_0xb8c7eb[_0x2bdeb9(0x33e)][_0x2bdeb9(0x3e8)](_0x2bdeb9(0x16d),_0x4d55c2);const _0x25c3c7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2bdeb9(0x39d)][_0x2bdeb9(0x466)]);return _0x25c3c7[_0x2bdeb9(0x42e)](_0x2bdeb9(0x168))&&_0xb8c7eb['searchParams'][_0x2bdeb9(0x3e8)](_0x2bdeb9(0x168),_0x25c3c7[_0x2bdeb9(0x42e)]('runId')),_0xb8c7eb[_0x2bdeb9(0x191)]();}async[_0x180182(0x36e)](){var _0x101478=_0x180182;const _0x2584c6=await this[_0x101478(0x41d)](),_0x413211=this[_0x101478(0x22b)](_0x2584c6),_0xb0d610=this[_0x101478(0x23e)][_0x101478(0x3c1)](_0x413211);return this[_0x101478(0x2e1)]=_0xb0d610,_0xb0d610;}async[_0x180182(0x1e4)](){var _0x16bc2c=_0x180182,_0x37383c,_0x3b9f63;try{const _0x38b449=(_0x3b9f63=(_0x37383c=this[_0x16bc2c(0x41a)])!=null?_0x37383c:this[_0x16bc2c(0x2e1)])!=null?_0x3b9f63:await this[_0x16bc2c(0x36e)]();if(_0x38b449){const _0x47034f=_0x38b449[_0x16bc2c(0x35b)];_0x38b449['send']=_0x4a03f4=>(this[_0x16bc2c(0x3b9)](),_0x47034f['apply'](_0x38b449,[_0x4a03f4])),_0x38b449[_0x16bc2c(0x289)][_0x16bc2c(0x24d)](_0x535c69=>this['_onMessage'](_0x38b449,_0x535c69)),_0x38b449[_0x16bc2c(0x45d)]['pipe'](_0x53102d(0x1))[_0x16bc2c(0x24d)](_0x264833=>this[_0x16bc2c(0x1a2)]['error'](_0x16bc2c(0x429),_0x264833)),_0x38b449[_0x16bc2c(0x190)][_0x16bc2c(0x1df)](_0x53102d(0x1))[_0x16bc2c(0x24d)](()=>{this['_onConnectionOpen'](_0x38b449);}),_0x38b449[_0x16bc2c(0x366)][_0x16bc2c(0x1df)](_0x53102d(0x1))['subscribe'](_0x29c156=>{var _0xefc329=_0x16bc2c;this[_0xefc329(0x1a2)]['debug'](_0xefc329(0x401),'socket\x20close',_0x29c156),this[_0xefc329(0x1c4)]();});}}catch(_0x317282){this[_0x16bc2c(0x1a2)][_0x16bc2c(0x458)](_0x317282),this[_0x16bc2c(0x1c4)]();}}[_0x180182(0x1b1)](_0x578391){var _0x587903=_0x180182;this[_0x587903(0x1a2)][_0x587903(0x23d)](_0x587903(0x401),_0x587903(0x3db)),_0x578391[_0x587903(0x35b)]({'cmd':F['HELLO']}),this[_0x587903(0x3b9)]();}['_onOffline'](){var _0x5ac879=_0x180182;this[_0x5ac879(0x338)]=!0x1,this[_0x5ac879(0x2e1)]=null,this['_status$'][_0x5ac879(0x1c9)](Te[_0x5ac879(0x358)]),this[_0x5ac879(0x2b0)]['next'](null),this[_0x5ac879(0x285)](),this[_0x5ac879(0x290)]();}['_onConnectionFailed'](){var _0x44f39d=_0x180182,_0x596fe9;this['_onOffline'](),this[_0x44f39d(0x3ed)]<((_0x596fe9=this[_0x44f39d(0x2c9)][_0x44f39d(0x3b2)](Pn))!=null?_0x596fe9:wn)?(this[_0x44f39d(0x1a5)][_0x44f39d(0x3f6)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x44f39d(0x250)]()):this['_collaborationUIEventService'][_0x44f39d(0x3f6)]({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x235ab5=_0x180182,_0x41e90d;const _0x26cbb5=this['_retryCount'],_0x276768=this[_0x235ab5(0x2c9)][_0x235ab5(0x3b2)](q),_0x11e2bd=_0x26cbb5===0x0?0x0:((_0x41e90d=_0x276768==null?void 0x0:_0x276768[_0x235ab5(0x185)])!=null?_0x41e90d:Dn)*0x2**_0x26cbb5;this['_retryConnectingTimer']=setTimeout(()=>{var _0x53dd1a=_0x235ab5;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x53dd1a(0x1e4)]();},_0x11e2bd),this[_0x235ab5(0x3ed)]+=0x1;}[_0x180182(0x1e0)](_0x594bd2,_0x57e675){var _0x237640=_0x180182;const {cmd:_0x3ac07b}=_0x57e675;_0x3ac07b===F[_0x237640(0x2f8)]&&!this[_0x237640(0x338)]&&(_0x594bd2[_0x237640(0x2a5)]=_0x57e675[_0x237640(0x180)][_0x237640(0x2a5)],this[_0x237640(0x2b0)]['next'](_0x594bd2),this[_0x237640(0x43e)][_0x237640(0x1c9)](Te[_0x237640(0x27c)]),this['_socketReady']=!0x0,this[_0x237640(0x2e1)]=null),_0x3ac07b===F[_0x237640(0x2ef)]&&this[_0x237640(0x285)](),this[_0x237640(0x3b9)]();}[_0x180182(0x3b9)](){var _0xe59887=_0x180182,_0x5df195;this[_0xe59887(0x290)](),this[_0xe59887(0x3c8)]=setTimeout(()=>this[_0xe59887(0x2c1)](),(_0x5df195=this[_0xe59887(0x2c9)][_0xe59887(0x3b2)](yn))!=null?_0x5df195:Nn);}[_0x180182(0x2c1)](){var _0x3acd11=_0x180182;this[_0x3acd11(0x41a)][_0x3acd11(0x35b)]({'cmd':F['HEARTBEAT']}),this[_0x3acd11(0x316)]();}[_0x180182(0x316)](){var _0x318342=_0x180182,_0x297629;this[_0x318342(0x44a)]=setTimeout(()=>this[_0x318342(0x1c4)](),(_0x297629=this[_0x318342(0x2c9)][_0x318342(0x3b2)](Si))!=null?_0x297629:Ei);}[_0x180182(0x290)](){var _0x54fda5=_0x180182;this[_0x54fda5(0x3c8)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x54fda5(0x3c8)]=null);}[_0x180182(0x285)](){var _0x4a1333=_0x180182;this[_0x4a1333(0x44a)]!=null&&(clearTimeout(this[_0x4a1333(0x44a)]),this['_timeoutTimer']=null);}};Le=er([ge(0x0,_0x353e29(_0x514172)),ge(0x1,_0x3e9f29),ge(0x2,_0x1d880c),ge(0x3,Ci),ge(0x4,_0x353e29(_0x3a1dbb)),ge(0x5,_0x353e29(pe)),ge(0x6,_0x2d320a(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x180182(0x191)](0x10)['slice'](0x1));function tr(_0x3f543f,_0x2d0a66=0x0){return(V[_0x3f543f[_0x2d0a66+0x0]]+V[_0x3f543f[_0x2d0a66+0x1]]+V[_0x3f543f[_0x2d0a66+0x2]]+V[_0x3f543f[_0x2d0a66+0x3]]+'-'+V[_0x3f543f[_0x2d0a66+0x4]]+V[_0x3f543f[_0x2d0a66+0x5]]+'-'+V[_0x3f543f[_0x2d0a66+0x6]]+V[_0x3f543f[_0x2d0a66+0x7]]+'-'+V[_0x3f543f[_0x2d0a66+0x8]]+V[_0x3f543f[_0x2d0a66+0x9]]+'-'+V[_0x3f543f[_0x2d0a66+0xa]]+V[_0x3f543f[_0x2d0a66+0xb]]+V[_0x3f543f[_0x2d0a66+0xc]]+V[_0x3f543f[_0x2d0a66+0xd]]+V[_0x3f543f[_0x2d0a66+0xe]]+V[_0x3f543f[_0x2d0a66+0xf]])['toLowerCase']();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x3b2456=_0x180182;if(!ut){if(typeof crypto>'u'||!crypto[_0x3b2456(0x2aa)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto['getRandomValues'][_0x3b2456(0x26c)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x180182(0x2b7)]&&crypto[_0x180182(0x2b7)][_0x180182(0x26c)](crypto),qt={'randomUUID':rr};function sr(_0x5d711e,_0x3f4af1,_0x17e9c7){var _0x575141=_0x180182,_0x57a1ec,_0x44d405,_0x5e77b0;if(qt[_0x575141(0x2b7)]&&!_0x5d711e)return qt[_0x575141(0x2b7)]();_0x5d711e=_0x5d711e||{};const _0x1e4761=(_0x5e77b0=(_0x44d405=_0x5d711e[_0x575141(0x333)])!=null?_0x44d405:(_0x57a1ec=_0x5d711e[_0x575141(0x413)])==null?void 0x0:_0x57a1ec[_0x575141(0x3bf)](_0x5d711e))!=null?_0x5e77b0:nr();if(_0x1e4761[_0x575141(0x22e)]<0x10)throw new Error(_0x575141(0x26d));return _0x1e4761[0x6]=_0x1e4761[0x6]&0xf|0x40,_0x1e4761[0x8]=_0x1e4761[0x8]&0x3f|0x80,tr(_0x1e4761);}const J=_0x4d71e7('collaboration-client.local-cache-service');function so(_0x26324a){var _0x3dbca7=_0x180182;return _0x3dbca7(0x38e)+_0x26324a;}var or=Object[_0x180182(0x223)],ar=Object[_0x180182(0x2dc)],cr=(_0x3b2448,_0x108ae6,_0x456c4d,_0x56d69a)=>{var _0x50db93=_0x180182;for(var _0x736dfa=_0x56d69a>0x1?void 0x0:_0x56d69a?ar(_0x108ae6,_0x456c4d):_0x108ae6,_0x2f2894=_0x3b2448[_0x50db93(0x22e)]-0x1,_0x2b4e3d;_0x2f2894>=0x0;_0x2f2894--)(_0x2b4e3d=_0x3b2448[_0x2f2894])&&(_0x736dfa=(_0x56d69a?_0x2b4e3d(_0x108ae6,_0x456c4d,_0x736dfa):_0x2b4e3d(_0x736dfa))||_0x736dfa);return _0x56d69a&&_0x736dfa&&or(_0x108ae6,_0x456c4d,_0x736dfa),_0x736dfa;},dt=(_0x1298e9,_0x25f647)=>(_0xf6ef3c,_0x3d2ce2)=>_0x25f647(_0xf6ef3c,_0x3d2ce2,_0x1298e9);function hr(_0x153643){var _0x5ef026=_0x180182;const {unitID:_0x4996d0,mutations:_0x216066}=_0x153643;return{'unitId':_0x4996d0,'subUnitId':_0x216066[0x0]['params'][_0x5ef026(0x19f)]};}let it=class{constructor(_0x4fa5eb,_0xbcaf0c,_0xe867d0){var _0x4be6ae=_0x180182;this[_0x4be6ae(0x3ff)]=_0x4fa5eb,this[_0x4be6ae(0x322)]=_0xbcaf0c,this[_0x4be6ae(0x235)]=_0xe867d0;}[_0x180182(0x367)](_0x41b5d7){var _0x2b0eef=_0x180182,_0x569281,_0xd0adf5,_0x24c4cf,_0x2db1c6;const _0xe7953d=this['_injector'][_0x2b0eef(0x42e)](_0x5321c9),{unitId:_0x112e46,subUnitId:_0x336384}=hr(_0x41b5d7),_0x97b77b=_0xe7953d==null?void 0x0:_0xe7953d[_0x2b0eef(0x1cb)](_0x112e46)['getCurrentSelections'](),_0x4f7267=(_0xd0adf5=(_0x569281=this[_0x2b0eef(0x235)][_0x2b0eef(0x46a)](_0x112e46))==null?void 0x0:_0x569281['getActiveSheet']())==null?void 0x0:_0xd0adf5[_0x2b0eef(0x1ec)]();if(_0x97b77b[_0x2b0eef(0x22e)]===0x0||!_0x112e46||!_0x336384)return;const _0x52ba12=[{'id':_0x2a831a['id'],'params':{'unitId':_0x112e46,'subUnitId':_0x4f7267,'selections':_0x51a629[_0x2b0eef(0x2d9)](_0x97b77b)}}],_0x215933=this[_0x2b0eef(0x322)][_0x2b0eef(0x2b2)](_0x41b5d7,_0x52ba12);if(!_0x8e3f17(_0x215933))throw _0x215933[_0x2b0eef(0x458)];const _0xd07405=(_0x2db1c6=(_0x24c4cf=_0x215933[_0x2b0eef(0x42f)][0x0])==null?void 0x0:_0x24c4cf['params'])==null?void 0x0:_0x2db1c6['selections'];if(Array[_0x2b0eef(0x35a)](_0xd07405)&&_0xd07405[_0x2b0eef(0x22e)]){if(_0xd07405[_0x2b0eef(0x22e)]===_0x52ba12[0x0][_0x2b0eef(0x2cc)][_0x2b0eef(0x319)][_0x2b0eef(0x22e)]&&_0xd07405[_0x2b0eef(0x297)]((_0x46778e,_0x7279ae)=>_0x1e53d9['equals'](_0x46778e[_0x2b0eef(0x3ac)],_0x52ba12[0x0][_0x2b0eef(0x2cc)][_0x2b0eef(0x319)][_0x7279ae][_0x2b0eef(0x3ac)])))return;this[_0x2b0eef(0x3ff)][_0x2b0eef(0x42e)](_0x3cf875)[_0x2b0eef(0x1ff)](_0x2a831a['id'],{'unitId':_0x112e46,'subUnitId':_0x4f7267,'selections':_0xd07405});}}};it=cr([dt(0x0,_0x353e29(_0x514172)),dt(0x1,_0x5230f8),dt(0x2,_0xbe923a)],it);const ht=_0x4d71e7(_0x180182(0x3dc));var bi=(_0xe5b7ca=>(_0xe5b7ca[_0xe5b7ca[_0x180182(0x2b5)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xe5b7ca[_0xe5b7ca[_0x180182(0x2b3)]=0x1]=_0x180182(0x2b3),_0xe5b7ca))(bi||{});const _r=new Set([_0x1c2e76['id']]);function zt(_0x19ddbd,_0x2a0199,_0xc7a067,_0x2092cc,_0x1e8d1b){var _0x464d35=_0x180182,_0x557a2b,_0x35ee31,_0x19f6fb,_0x5ab238;const _0x4fdb84=[];for(const _0x5da879 of _0x19ddbd)if(_r[_0x464d35(0x268)](_0x5da879['id'])){if(_0x4fdb84[_0x464d35(0x22e)]>0x0)break;_0x4fdb84[_0x464d35(0x247)](_0x5da879);break;}else _0x4fdb84[_0x464d35(0x247)](_0x5da879);const _0x5a6f1d=(_0x35ee31=(_0x557a2b=_0x1e8d1b['getCurrentUser']())==null?void 0x0:_0x557a2b['userID'])!=null?_0x35ee31:_0x464d35(0x31a),_0x495688=(_0x5ab238=(_0x19f6fb=_0x1e8d1b[_0x464d35(0x3ef)]())==null?void 0x0:_0x19f6fb[_0x464d35(0x2a5)])!=null?_0x5ab238:_0x464d35(0x31a);return{'changeset':{'unitID':_0x2a0199,'type':_0x14d127(_0xc7a067[_0x464d35(0x3b1)](_0x2a0199)),'baseRev':_0x2092cc['getCurrentRevOfUnit'](_0x2a0199),'revision':0x0,'userID':_0x5a6f1d,'memberID':_0x495688,'mutations':_0x4fdb84},'pendingMutations':_0x19ddbd[_0x464d35(0x2d8)](_0x4fdb84[_0x464d35(0x22e)])};}function lr(_0x54d74e,_0x375952,_0x40eab0,_0x2e7ee6,_0x2206b6){var _0xafabeb=_0x180182,_0x19a4b6,_0x430102,_0x18e530,_0x18a631;const _0x5e405b=[_0x54d74e[_0xafabeb(0x170)]((_0x33617b,_0x2a28d3)=>{var _0x5450d9=_0xafabeb,_0x55e873;const {id:_0xdc9ac7}=_0x33617b,{id:_0x533dbb,type:_0x4b726b}=_0x2a28d3,_0x39dc27=(_0x55e873=_0x33617b[_0x5450d9(0x2cc)])!=null?_0x55e873:{'actions':null},_0x5b6805=_0x2a28d3[_0x5450d9(0x2cc)];if(_0xdc9ac7&&_0xdc9ac7!==_0x533dbb)throw new Error(_0x5450d9(0x373)+_0xdc9ac7+_0x5450d9(0x462)+_0x533dbb+'.');return{..._0x33617b,'id':_0x533dbb,'type':_0x4b726b,'params':{'unitId':_0x5b6805['unitId'],'textRanges':_0x5b6805['textRanges'],'actions':_0x343391[_0x5450d9(0x21e)](_0x39dc27[_0x5450d9(0x463)],_0x5b6805[_0x5450d9(0x463)])}};},{})],_0x387cf5=(_0x430102=(_0x19a4b6=_0x2206b6[_0xafabeb(0x3ef)]())==null?void 0x0:_0x19a4b6['userID'])!=null?_0x430102:'unknown',_0x42ec94=(_0x18a631=(_0x18e530=_0x2206b6[_0xafabeb(0x3ef)]())==null?void 0x0:_0x18e530['memberID'])!=null?_0x18a631:_0xafabeb(0x31a);return{'changeset':{'unitID':_0x375952,'type':_0x14d127(_0x40eab0['getUnitType'](_0x375952)),'baseRev':_0x2e7ee6[_0xafabeb(0x2df)](_0x375952),'revision':0x0,'userID':_0x387cf5,'memberID':_0x42ec94,'mutations':_0x5e405b},'pendingMutations':[]};}function Oi(_0x56228a,_0x3b24d3){var _0x535700=_0x180182;const _0x20ceaa=new _0x5c1b67(0x1);return setTimeout(()=>_0x20ceaa['next'](_0x3b24d3),_0x56228a),_0x20ceaa[_0x535700(0x473)]()[_0x535700(0x1df)](_0x4c2e79(0x1));}const ur={'id':_0x1b8ca0['id'],'type':_0x36c35a[_0x180182(0x320)],'params':{}};var dr=Object['defineProperty'],fr=Object['getOwnPropertyDescriptor'],Re=(_0x16e536,_0x346b7e,_0x505f58,_0x36be8a)=>{var _0x196b75=_0x180182;for(var _0x4b7b6b=_0x36be8a>0x1?void 0x0:_0x36be8a?fr(_0x346b7e,_0x505f58):_0x346b7e,_0x3290a8=_0x16e536[_0x196b75(0x22e)]-0x1,_0x1918ec;_0x3290a8>=0x0;_0x3290a8--)(_0x1918ec=_0x16e536[_0x3290a8])&&(_0x4b7b6b=(_0x36be8a?_0x1918ec(_0x346b7e,_0x505f58,_0x4b7b6b):_0x1918ec(_0x4b7b6b))||_0x4b7b6b);return _0x36be8a&&_0x4b7b6b&&dr(_0x346b7e,_0x505f58,_0x4b7b6b),_0x4b7b6b;},A=(_0x58ea16,_0x141eec)=>(_0x46afe4,_0xf30353)=>_0x141eec(_0x46afe4,_0xf30353,_0x58ea16),yi=(_0x2f4892=>(_0x2f4892['NOT_COLLAB']=_0x180182(0x42d),_0x2f4892[_0x180182(0x395)]=_0x180182(0x3b8),_0x2f4892['PENDING']=_0x180182(0x46d),_0x2f4892[_0x180182(0x2f4)]=_0x180182(0x1fc),_0x2f4892[_0x180182(0x3a6)]=_0x180182(0x3b7),_0x2f4892[_0x180182(0x224)]=_0x180182(0x204),_0x2f4892[_0x180182(0x3d5)]=_0x180182(0x3fd),_0x2f4892[_0x180182(0x358)]='offline',_0x2f4892))(yi||{});const Ni=0xea60;class be{constructor(_0x52856e,_0xd02698,_0x598d88,_0x368b35,_0x497bdb,_0x5cc290,_0x2a32b7,_0x41c125,_0x2fd96f){var _0x1f2c01=_0x180182;N(this,_0x1f2c01(0x422),null),N(this,_0x1f2c01(0x2ce),[]),(this[_0x1f2c01(0x1ea)]=_0x52856e,this[_0x1f2c01(0x3b0)]=_0xd02698,this[_0x1f2c01(0x178)]=_0x497bdb,this[_0x1f2c01(0x380)]=_0x5cc290,this[_0x1f2c01(0x249)]=_0x2a32b7,this[_0x1f2c01(0x3a5)]=_0x41c125,this['_localCacheService']=_0x2fd96f,this[_0x1f2c01(0x422)]=_0x598d88,this['_pendingMutations']=_0x368b35);}[_0x180182(0x351)](_0x1958dc){var _0x49dcfb=_0x180182;const _0x3fe4f9=this[_0x49dcfb(0x3a5)][_0x49dcfb(0x2df)](this[_0x49dcfb(0x1ea)]);return _0x1958dc[_0x49dcfb(0x453)]>_0x3fe4f9+0x1?(this[_0x49dcfb(0x178)]['onMissingChangesets']({'from':_0x3fe4f9,'to':_0x1958dc['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x484cac){var _0x17f2d2=_0x180182;this[_0x17f2d2(0x249)][_0x17f2d2(0x198)](this['unitID'],_0x484cac);}[_0x180182(0x1d4)](_0x348eb0){var _0x58d0b2=_0x180182,_0x16a945,_0x5953af;(_0x5953af=(_0x16a945=this[_0x58d0b2(0x178)])[_0x58d0b2(0x1f8)])==null||_0x5953af['call'](_0x16a945,_0x348eb0);}[_0x180182(0x17c)](_0x119bce){var _0x293cf7=_0x180182,_0x268f53,_0x27ff0c;return(_0x27ff0c=(_0x268f53=this[_0x293cf7(0x178)])['onTransformIME'])==null?void 0x0:_0x27ff0c['call'](_0x268f53,_0x119bce);}['_transformStateCache'](_0x27fa3f){var _0xd4f81a=_0x180182,_0x4d4832,_0xf5424a;return(_0xf5424a=(_0x4d4832=this[_0xd4f81a(0x178)])[_0xd4f81a(0x39f)])==null?void 0x0:_0xf5424a[_0xd4f81a(0x3bf)](_0x4d4832,_0x27fa3f);}[_0x180182(0x1f4)](_0x5e0257){var _0x2e6b53=_0x180182,_0x473dbe,_0x1c4716,_0x38a741;return(_0x38a741=(_0x1c4716=(_0x473dbe=this[_0x2e6b53(0x178)])[_0x2e6b53(0x199)])==null?void 0x0:_0x1c4716[_0x2e6b53(0x3bf)](_0x473dbe,_0x5e0257))!=null?_0x38a741:_0x5e0257;}[_0x180182(0x30b)](_0x1ddde2){var _0x225ab9=_0x180182,_0x221ac6,_0x828dac,_0x3ee3bc;return(_0x3ee3bc=(_0x828dac=(_0x221ac6=this[_0x225ab9(0x178)])[_0x225ab9(0x27f)])==null?void 0x0:_0x828dac[_0x225ab9(0x3bf)](_0x221ac6,_0x1ddde2))!=null?_0x3ee3bc:_0x1ddde2;}['_syncEditingCollabCursor'](_0x1dfcfd){var _0x5a0b17=_0x180182,_0x289b11,_0x29d67a;if(this[_0x5a0b17(0x3b0)]===Q[_0x5a0b17(0x282)]){const {unitID:_0x189807,mutations:_0x54ce5e,memberID:_0x38b90e}=_0x1dfcfd,_0x46c773=_0x54ce5e[0x0][_0x5a0b17(0x2cc)]['textRanges'];Array[_0x5a0b17(0x35a)](_0x46c773)&&_0x46c773[_0x5a0b17(0x22e)]>0x0&&((_0x29d67a=(_0x289b11=this[_0x5a0b17(0x178)])[_0x5a0b17(0x35d)])==null||_0x29d67a['call'](_0x289b11,{'unitID':_0x189807,'memberID':_0x38b90e,'textRanges':_0x46c773}));}}[_0x180182(0x35e)](){var _0x601362=_0x180182,_0x10dd9d;(_0x10dd9d=this[_0x601362(0x171)])==null||_0x10dd9d[_0x601362(0x1de)](this['unitID'],this[_0x601362(0x3b0)],this['_awaitingChangeset'],this[_0x601362(0x2ce)]);}[_0x180182(0x440)](){var _0x4a4ead=_0x180182;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x4a4ead(0x1ea)]);}[_0x180182(0x403)](){var _0x2ff85c=_0x180182;this[_0x2ff85c(0x3a5)][_0x2ff85c(0x464)](this[_0x2ff85c(0x1ea)]);}[_0x180182(0x2e7)](_0x2483f7){var _0x1e42b9=_0x180182,_0x56d1a9;let _0x57572e=this[_0x1e42b9(0x1f4)](_0x2483f7);_0x57572e=this['_transformRemoteChangesetByStateCache'](_0x57572e);const _0x46e6f3=_0x3feb26(_0x57572e[_0x1e42b9(0x3f8)],this[_0x1e42b9(0x380)],{'fromCollab':!0x0});if(!_0x46e6f3[_0x1e42b9(0x29e)])throw _0x46e6f3['error']instanceof Error?_0x46e6f3['error']:new Error((_0x56d1a9=_0x46e6f3['error'])!=null?_0x56d1a9:_0x1e42b9(0x370));this[_0x1e42b9(0x17c)](_0x57572e),this[_0x1e42b9(0x227)](_0x57572e),this['_transformUndoredo'](_0x2483f7),this['_transformSelections'](_0x57572e),this[_0x1e42b9(0x20b)](_0x57572e),this[_0x1e42b9(0x403)]();}}let De=class extends be{constructor(_0x15011b,_0x47caea,_0x469526,_0x291313,_0x12086e,_0x3fb2a3,_0x4bed50,_0x1c2c81,_0x348345,_0xbd1614){var _0x45aa58=_0x180182;super(_0x15011b,_0x47caea,null,[],_0x469526,_0x4bed50,_0x3fb2a3,_0x291313,_0xbd1614),N(this,'status','synced'),(this[_0x45aa58(0x3ff)]=_0x12086e,this[_0x45aa58(0x1a2)]=_0x1c2c81,this['_transformService']=_0x348345,this[_0x45aa58(0x18e)]=_0xbd1614);}[_0x180182(0x306)](_0x21ce06){var _0x476d57=_0x180182;const _0x557609=this['_injector'][_0x476d57(0x182)](oe,this[_0x476d57(0x1ea)],this[_0x476d57(0x3b0)],[_0x21ce06],this['_handler']);return _0x557609[_0x476d57(0x29a)](),_0x557609[_0x476d57(0x35e)](),_0x557609;}[_0x180182(0x1ce)](_0x18e19e){var _0x4ec6a2=_0x180182;if(this[_0x4ec6a2(0x351)](_0x18e19e))return this[_0x4ec6a2(0x3ff)][_0x4ec6a2(0x182)](te,this['unitID'],this[_0x4ec6a2(0x3b0)],null,[],null,[_0x18e19e],this[_0x4ec6a2(0x178)]);try{const _0x1876b1=this[_0x4ec6a2(0x322)]['transformMutationsWithChangeset'](_0x18e19e,[ur]);if(_0x8e3f17(_0x1876b1)){const {c1Prime:_0x4f0552}=_0x1876b1;return this['_executeRemoteChangeset'](_0x4f0552),this;}throw _0x1876b1[_0x4ec6a2(0x458)];}catch(_0x4cab66){return this[_0x4ec6a2(0x1a2)][_0x4ec6a2(0x458)](_0x4cab66),this[_0x4ec6a2(0x2a8)](!0x1);}}[_0x180182(0x2a8)](_0x5b3e25){var _0x2c58c6=_0x180182;return this[_0x2c58c6(0x3ff)]['createInstance'](de,this['unitID'],this[_0x2c58c6(0x3b0)],null,[],this[_0x2c58c6(0x178)],_0x5b3e25);}[_0x180182(0x456)](){var _0x4d07ab=_0x180182;throw new Error(_0x4d07ab(0x426));}[_0x180182(0x208)](){var _0x10b182=_0x180182;throw new Error(_0x10b182(0x172));}[_0x180182(0x3eb)](){return this;}['toggleOffline'](){var _0x1218a8=_0x180182;return this[_0x1218a8(0x3ff)]['createInstance'](fe,this[_0x1218a8(0x1ea)],this[_0x1218a8(0x3b0)],null,[],this[_0x1218a8(0x178)]);}[_0x180182(0x2bd)](){return this;}[_0x180182(0x2be)](){var _0x1c44ce=_0x180182;throw new Error(_0x1c44ce(0x45a));}[_0x180182(0x192)](){var _0x1c911c=_0x180182;const _0x1649ca=this[_0x1c911c(0x3a5)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x1c911c(0x178)][_0x1c911c(0x2c7)]({'from':_0x1649ca,'to':0x0}),this[_0x1c911c(0x3ff)][_0x1c911c(0x182)](te,this[_0x1c911c(0x1ea)],this[_0x1c911c(0x3b0)],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x353e29(_0x58d326)),A(0x4,_0x353e29(_0x514172)),A(0x5,_0x3d63ec),A(0x6,_0x3cf875),A(0x7,_0x3e9f29),A(0x8,_0x5230f8),A(0x9,_0x2d320a(J))],De);let oe=class extends be{constructor(_0x5e97a4,_0x4edd89,_0x5557c7,_0x12041b,_0x158f96,_0x28d9de,_0x4d5f49,_0x487fbf,_0x275387,_0x1f92a9,_0x2d6a96,_0xc78611,_0x4f2209,_0x5268eb){var _0x551bee=_0x180182;super(_0x5e97a4,_0x4edd89,null,_0x5557c7,_0x12041b,_0x275387,_0x4f2209,_0x28d9de,_0x5268eb),N(this,_0x551bee(0x2f1),'pending'),N(this,_0x551bee(0x19d),null),N(this,_0x551bee(0x40f),null),(this[_0x551bee(0x3ff)]=_0x158f96,this['_memberService']=_0x4d5f49,this['_logService']=_0x487fbf,this[_0x551bee(0x2c9)]=_0x1f92a9,this['_transformService']=_0x2d6a96,this[_0x551bee(0x207)]=_0xc78611);}[_0x180182(0x306)](_0x3f5e60){var _0x3c4b2a=_0x180182;return this[_0x3c4b2a(0x2ce)][_0x3c4b2a(0x247)](_0x3f5e60),this[_0x3c4b2a(0x35e)](),this;}['onRemoteChangeset'](_0xa1314e){var _0x5f0c4c=_0x180182;if(this[_0x5f0c4c(0x351)](_0xa1314e))return this[_0x5f0c4c(0x2bc)](),this[_0x5f0c4c(0x3ff)]['createInstance'](te,this[_0x5f0c4c(0x1ea)],this[_0x5f0c4c(0x3b0)],null,this[_0x5f0c4c(0x2ce)],null,[_0xa1314e],this[_0x5f0c4c(0x178)]);try{const _0x1241ff=this[_0x5f0c4c(0x322)][_0x5f0c4c(0x2b2)](_0xa1314e,this[_0x5f0c4c(0x2ce)]);if(_0x8e3f17(_0x1241ff)){const {c1Prime:_0x489796,m2Prime:_0x4303c0}=_0x1241ff;this[_0x5f0c4c(0x2e7)](_0x489796);const _0x523e05=this[_0x5f0c4c(0x3ff)][_0x5f0c4c(0x182)](oe,this['unitID'],this[_0x5f0c4c(0x3b0)],_0x4303c0,this[_0x5f0c4c(0x178)]);this[_0x5f0c4c(0x2bc)]();const _0x2751b5=new Date()[_0x5f0c4c(0x3ce)](),_0x544af8=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x5f0c4c(0x19d)]-_0x2751b5,0x0):this['_getSendChangesetTimeout']();return _0x523e05['_schedule'](_0x544af8),_0x523e05;}throw _0x1241ff['error'];}catch(_0x5bcf2e){return this[_0x5f0c4c(0x1a2)][_0x5f0c4c(0x458)](_0x5bcf2e),this[_0x5f0c4c(0x2a8)](!0x1);}}[_0x180182(0x456)](){var _0xe9d298=_0x180182;throw new Error(_0xe9d298(0x1f6));}['onRemoteRej'](){var _0x514daa=_0x180182;throw new Error(_0x514daa(0x280));}[_0x180182(0x3eb)](){return this;}[_0x180182(0x45e)](){var _0x3e80a4=_0x180182;return this[_0x3e80a4(0x2bc)](),this[_0x3e80a4(0x3ff)][_0x3e80a4(0x182)](fe,this[_0x3e80a4(0x1ea)],this['type'],null,this[_0x3e80a4(0x2ce)],this[_0x3e80a4(0x178)]);}[_0x180182(0x2bd)](){return this;}[_0x180182(0x29a)](_0x3e9c1c){var _0x479e21=_0x180182;const _0x299814=_0x3e9c1c!=null?_0x3e9c1c:this[_0x479e21(0x22a)]();this[_0x479e21(0x19d)]=new Date()['getTime']()+_0x299814,this[_0x479e21(0x40f)]=setTimeout(()=>{var _0x557f00=_0x479e21;this[_0x557f00(0x2bc)]();let _0x2b3aec=null;switch(this[_0x557f00(0x3b0)]){case Q[_0x557f00(0x45b)]:{_0x2b3aec=zt(this[_0x557f00(0x2ce)],this[_0x557f00(0x1ea)],this['_univerInstanceService'],this[_0x557f00(0x3a5)],this[_0x557f00(0x2c5)]);break;}case Q['UNIVER_DOC']:{this[_0x557f00(0x2ce)][_0x557f00(0x297)](_0x3eb3c1=>_0x3eb3c1['id']===_0x3de722['id'])?_0x2b3aec=lr(this['_pendingMutations'],this[_0x557f00(0x1ea)],this['_univerInstanceService'],this[_0x557f00(0x3a5)],this['_memberService']):_0x2b3aec=zt(this['_pendingMutations'],this['unitID'],this[_0x557f00(0x207)],this[_0x557f00(0x3a5)],this['_memberService']);break;}default:throw new Error(_0x557f00(0x428)+this[_0x557f00(0x3b0)]+_0x557f00(0x1db));}const {changeset:_0x5daf1d,pendingMutations:_0x4abe0d}=_0x2b3aec;this[_0x557f00(0x178)]['onSendChangeset'](_0x5daf1d);const _0x1e6bd7=_0x4abe0d['length']?this[_0x557f00(0x3ff)][_0x557f00(0x182)](ae,this['unitID'],this[_0x557f00(0x3b0)],_0x5daf1d,_0x4abe0d,this[_0x557f00(0x178)],void 0x0):this[_0x557f00(0x3ff)][_0x557f00(0x182)](ue,this[_0x557f00(0x1ea)],this[_0x557f00(0x3b0)],_0x5daf1d,this[_0x557f00(0x178)]);_0x1e6bd7[_0x557f00(0x35e)](),this['_handler']['onStateChange'](this,_0x1e6bd7);},_0x299814);}[_0x180182(0x22a)](){var _0x58d76=_0x180182,_0x3494d0;const _0x93bfc4=this[_0x58d76(0x2c9)][_0x58d76(0x3b2)](q);return(_0x3494d0=_0x93bfc4==null?void 0x0:_0x93bfc4[_0x58d76(0x196)])!=null?_0x3494d0:Cn;}['resend'](){var _0xcaaf67=_0x180182;throw new Error(_0xcaaf67(0x24e));}['_clearScheduledTask'](){var _0x356c62=_0x180182;this[_0x356c62(0x40f)]!=null&&(clearTimeout(this[_0x356c62(0x40f)]),this[_0x356c62(0x40f)]=null);}[_0x180182(0x2a8)](_0x3014ee){var _0x5bc322=_0x180182;return this['_clearScheduledTask'](),this[_0x5bc322(0x3ff)][_0x5bc322(0x182)](de,this[_0x5bc322(0x1ea)],this[_0x5bc322(0x3b0)],null,this['_pendingMutations'],this[_0x5bc322(0x178)],_0x3014ee);}};oe=Re([A(0x4,_0x353e29(_0x514172)),A(0x5,_0x353e29(_0x58d326)),A(0x6,_0x353e29(xe)),A(0x7,_0x3e9f29),A(0x8,_0x3cf875),A(0x9,_0x1d880c),A(0xa,_0x5230f8),A(0xb,_0xbe923a),A(0xc,_0x3d63ec),A(0xd,_0x2d320a(J))],oe);let ue=class extends be{constructor(_0x3ac611,_0x450f2a,_0x1546f2,_0x85afa5,_0x33c320,_0x8df0b1,_0x2376d7,_0x1779da,_0x5cd9a1,_0x350a2a,_0x328a23){var _0x317f22=_0x180182;super(_0x3ac611,_0x450f2a,_0x1546f2,[],_0x85afa5,_0x2376d7,_0x350a2a,_0x8df0b1,_0x328a23),N(this,'status','awaiting'),N(this,_0x317f22(0x307),0x0),N(this,_0x317f22(0x371)),N(this,_0x317f22(0x2cf)),(this['_injector']=_0x33c320,this[_0x317f22(0x1a2)]=_0x1779da,this[_0x317f22(0x322)]=_0x5cd9a1);}['appendMutation'](_0x8799a0){var _0x48d2ec=_0x180182;this['_clearScheduledTask']();const _0x54f84d=this[_0x48d2ec(0x3ff)][_0x48d2ec(0x182)](ae,this[_0x48d2ec(0x1ea)],this[_0x48d2ec(0x3b0)],this[_0x48d2ec(0x422)],[_0x8799a0],this[_0x48d2ec(0x178)],this[_0x48d2ec(0x371)]);return _0x54f84d[_0x48d2ec(0x35e)](),_0x54f84d;}[_0x180182(0x1ce)](_0x36b3b9){var _0x1708dd=_0x180182;if(this[_0x1708dd(0x351)](_0x36b3b9))return this[_0x1708dd(0x2bc)](),this[_0x1708dd(0x3ff)]['createInstance'](te,this[_0x1708dd(0x1ea)],this['type'],this[_0x1708dd(0x422)],[],null,[_0x36b3b9],this[_0x1708dd(0x178)]);try{const _0x485e7a=this[_0x1708dd(0x322)][_0x1708dd(0x19e)]([_0x36b3b9],[this[_0x1708dd(0x422)]],!0x1);if(_0x3d9f4b(_0x485e7a)){const {c1Prime:_0x37f151,c2Prime:_0x443dd1}=_0x485e7a;this[_0x1708dd(0x2e7)](_0x37f151[0x0]),_0x443dd1[0x0]['baseRev']=this[_0x1708dd(0x440)](),this[_0x1708dd(0x2bc)]();const _0x2a29a0=this[_0x1708dd(0x3ff)][_0x1708dd(0x182)](ue,this[_0x1708dd(0x1ea)],this[_0x1708dd(0x3b0)],_0x443dd1[0x0],this[_0x1708dd(0x178)]);return _0x2a29a0[_0x1708dd(0x35e)](),_0x2a29a0;}return this[_0x1708dd(0x2a8)](!0x1);}catch(_0x34f82b){return this[_0x1708dd(0x1a2)][_0x1708dd(0x458)](_0x34f82b),this[_0x1708dd(0x2a8)](!0x1);}}[_0x180182(0x456)](_0x130fcb){var _0x3f8342=_0x180182;this['_clearScheduledTask']();const _0x3765bf=this[_0x3f8342(0x3a5)][_0x3f8342(0x2df)](this[_0x3f8342(0x1ea)]);if(_0x130fcb[_0x3f8342(0x453)]<_0x3765bf-0x1)return this;if(this[_0x3f8342(0x351)](_0x130fcb))return this['_injector'][_0x3f8342(0x182)](te,this[_0x3f8342(0x1ea)],this[_0x3f8342(0x3b0)],null,[],this['_awaitingChangeset'],[],this[_0x3f8342(0x178)]);this[_0x3f8342(0x403)]();const _0x5bef06=this[_0x3f8342(0x3ff)][_0x3f8342(0x182)](De,this[_0x3f8342(0x1ea)],this[_0x3f8342(0x3b0)],this['_handler']);return _0x5bef06[_0x3f8342(0x35e)](),_0x5bef06;}['onRemoteRej'](_0x5c6a0c){var _0x7edf61=_0x180182;return this[_0x7edf61(0x2a8)](!!(_0x5c6a0c!=null&&_0x5c6a0c[_0x7edf61(0x394)]));}[_0x180182(0x3eb)](_0x4a15c6){var _0xfa976=_0x180182;return this[_0xfa976(0x307)]>Ni?this['toggleOffline']():(this[_0xfa976(0x371)]=Oi(this[_0xfa976(0x307)],{'timeout':this[_0xfa976(0x307)],'reqId':_0x4a15c6[_0xfa976(0x24b)]}),this[_0xfa976(0x2cf)]=this['_resendTimer'][_0xfa976(0x24d)](({reqId:_0x3d6021,timeout:_0x4a8791})=>{var _0x5409f5=_0xfa976;this[_0x5409f5(0x32d)](_0x3d6021,_0x4a8791);}),this);}[_0x180182(0x45e)](){var _0x59efb8=_0x180182;return this[_0x59efb8(0x2bc)](),this[_0x59efb8(0x3ff)][_0x59efb8(0x182)](fe,this[_0x59efb8(0x1ea)],this[_0x59efb8(0x3b0)],this[_0x59efb8(0x422)],[],this['_handler']);}[_0x180182(0x2bd)](){return this;}[_0x180182(0x2be)](){var _0x2960d6=_0x180182;this[_0x2960d6(0x178)][_0x2960d6(0x42b)](this[_0x2960d6(0x422)]);}[_0x180182(0x2a8)](_0x47929b){var _0x5f5deb=_0x180182;return this[_0x5f5deb(0x2bc)](),this['_injector']['createInstance'](de,this[_0x5f5deb(0x1ea)],this['type'],this[_0x5f5deb(0x422)],[],this['_handler'],_0x47929b);}[_0x180182(0x32d)](_0x5d0b6a,_0x2e06d2){var _0x52ddf2=_0x180182,_0x12be2a;_0x5d0b6a===((_0x12be2a=this['_awaitingChangeset'])==null?void 0x0:_0x12be2a[_0x52ddf2(0x24b)])&&(this[_0x52ddf2(0x2be)](),this[_0x52ddf2(0x307)]=_0x2e06d2===0x0?0x3e8:_0x2e06d2*0x2);}[_0x180182(0x2bc)](){var _0x5e96cc=_0x180182,_0xee67c7;(_0xee67c7=this[_0x5e96cc(0x2cf)])==null||_0xee67c7[_0x5e96cc(0x2c0)](),this['_resendTimeout']=0x0;}};ue=Re([A(0x4,_0x353e29(_0x514172)),A(0x5,_0x353e29(_0x58d326)),A(0x6,_0x3cf875),A(0x7,_0x3e9f29),A(0x8,_0x5230f8),A(0x9,_0x3d63ec),A(0xa,_0x2d320a(J))],ue);let ae=class extends be{constructor(_0x3329e5,_0x586bd3,_0x354bf6,_0x2151d2,_0x176dde,_0x3c96b0,_0x3aa75b,_0x2ea69d,_0x4d5f3f,_0x5eb968,_0x367a08,_0x186d11,_0x3d213c){var _0x12c565=_0x180182;super(_0x3329e5,_0x586bd3,_0x354bf6,_0x2151d2,_0x176dde,_0x4d5f3f,_0x186d11,_0x2ea69d,_0x3d213c),N(this,'status',_0x12c565(0x3b7)),N(this,_0x12c565(0x307),0x0),N(this,_0x12c565(0x371)),N(this,_0x12c565(0x2cf)),(this['_injector']=_0x3aa75b,this[_0x12c565(0x1a2)]=_0x5eb968,this['_transformService']=_0x367a08,this[_0x12c565(0x18e)]=_0x3d213c,_0x3c96b0&&(this[_0x12c565(0x371)]=_0x3c96b0,this[_0x12c565(0x2cf)]=this[_0x12c565(0x371)][_0x12c565(0x24d)](({reqId:_0x43e667,timeout:_0x5d0a6e})=>{var _0x12654d=_0x12c565;this[_0x12654d(0x32d)](_0x43e667,_0x5d0a6e);})));}[_0x180182(0x306)](_0x364865){var _0x386f66=_0x180182;return this[_0x386f66(0x2ce)][_0x386f66(0x247)](_0x364865),this;}[_0x180182(0x1ce)](_0x160f0a){var _0x320742=_0x180182;if(this[_0x320742(0x351)](_0x160f0a))return this[_0x320742(0x2bc)](),this[_0x320742(0x3ff)]['createInstance'](te,this[_0x320742(0x1ea)],this[_0x320742(0x3b0)],this['_awaitingChangeset'],this[_0x320742(0x2ce)],null,[_0x160f0a],this[_0x320742(0x178)]);try{const _0x44f540=this[_0x320742(0x322)][_0x320742(0x19e)]([_0x160f0a],[this[_0x320742(0x422)]],!0x1);if(_0x3d9f4b(_0x44f540)){const {c1Prime:_0x57d7e2,c2Prime:_0x5939d7}=_0x44f540,_0x433ac1=this[_0x320742(0x322)][_0x320742(0x2b2)](_0x57d7e2[0x0],this[_0x320742(0x2ce)]);if(_0x8e3f17(_0x433ac1)){const {c1Prime:_0x2fda0f,m2Prime:_0x6334e6}=_0x433ac1;return this[_0x320742(0x2e7)](_0x2fda0f),_0x5939d7[0x0][_0x320742(0x281)]=this['_getCurrentRevision'](),this[_0x320742(0x2bc)](),this['_injector'][_0x320742(0x182)](ae,this[_0x320742(0x1ea)],this['type'],_0x5939d7[0x0],_0x6334e6,this[_0x320742(0x178)],void 0x0);}throw _0x433ac1[_0x320742(0x458)];}throw _0x44f540[_0x320742(0x458)];}catch(_0x594d3b){return this[_0x320742(0x1a2)]['error'](_0x594d3b),this[_0x320742(0x2a8)](!0x1);}}[_0x180182(0x456)](_0xac7ae6){var _0x908477=_0x180182;if(this[_0x908477(0x2bc)](),this['_checkMissing'](_0xac7ae6))return this[_0x908477(0x3ff)][_0x908477(0x182)](te,this[_0x908477(0x1ea)],this[_0x908477(0x3b0)],null,this[_0x908477(0x2ce)],this[_0x908477(0x422)],[],this[_0x908477(0x178)]);this[_0x908477(0x403)]();const _0x370351=this[_0x908477(0x3ff)]['createInstance'](oe,this[_0x908477(0x1ea)],this['type'],this[_0x908477(0x2ce)],this[_0x908477(0x178)]);return _0x370351[_0x908477(0x29a)](),_0x370351[_0x908477(0x35e)](),_0x370351;}[_0x180182(0x208)](_0xd3364c){var _0x3cdc9f=_0x180182;return this[_0x3cdc9f(0x2a8)](!!(_0xd3364c!=null&&_0xd3364c[_0x3cdc9f(0x394)]));}['onRemoteRetry'](_0x110404){var _0x12d5be=_0x180182;return this['_resendTimeout']>Ni?this[_0x12d5be(0x45e)]():(this['_resendTimer']=Oi(this[_0x12d5be(0x307)],{'timeout':this[_0x12d5be(0x307)],'reqId':_0x110404[_0x12d5be(0x24b)]}),this['_sender']=this[_0x12d5be(0x371)]['subscribe'](({reqId:_0x22a862,timeout:_0x44bce7})=>{var _0x21a7fb=_0x12d5be;this[_0x21a7fb(0x32d)](_0x22a862,_0x44bce7);}),this);}[_0x180182(0x45e)](){var _0x519e95=_0x180182;return this[_0x519e95(0x2bc)](),this[_0x519e95(0x3ff)][_0x519e95(0x182)](fe,this[_0x519e95(0x1ea)],this[_0x519e95(0x3b0)],this[_0x519e95(0x422)],this[_0x519e95(0x2ce)],this[_0x519e95(0x178)]);}[_0x180182(0x2bd)](){return this;}[_0x180182(0x2be)](){var _0x28744d=_0x180182;this[_0x28744d(0x178)][_0x28744d(0x42b)](this[_0x28744d(0x422)]);}['_onConflict'](_0x186b07){var _0x5006a8=_0x180182;return this[_0x5006a8(0x2bc)](),this[_0x5006a8(0x3ff)]['createInstance'](de,this[_0x5006a8(0x1ea)],this[_0x5006a8(0x3b0)],null,this[_0x5006a8(0x2ce)],this[_0x5006a8(0x178)],_0x186b07);}['_resendWithTimeout'](_0x1e8901,_0x4249d5){var _0x1ee8bc=_0x180182,_0x19b584;_0x1e8901===((_0x19b584=this[_0x1ee8bc(0x422)])==null?void 0x0:_0x19b584[_0x1ee8bc(0x24b)])&&(this[_0x1ee8bc(0x2be)](),this['_resendTimeout']=_0x4249d5===0x0?0x3e8:_0x4249d5*0x2);}[_0x180182(0x2bc)](){var _0x37370f=_0x180182,_0x450cc4;(_0x450cc4=this['_sender'])==null||_0x450cc4[_0x37370f(0x2c0)](),this[_0x37370f(0x307)]=0x0;}};ae=Re([A(0x6,_0x353e29(_0x514172)),A(0x7,_0x353e29(_0x58d326)),A(0x8,_0x3cf875),A(0x9,_0x3e9f29),A(0xa,_0x5230f8),A(0xb,_0x3d63ec),A(0xc,_0x2d320a(J))],ae);let de=class extends be{constructor(_0xfdb18a,_0x151bd7,_0x4bfa3d,_0x454873,_0x302c02,_0x55b0c8=!0x1,_0x35a1c6,_0x246721,_0x53d532,_0x202582,_0x16f14b,_0x102090,_0x3107d8){var _0x268796=_0x180182;super(_0xfdb18a,_0x151bd7,_0x4bfa3d,_0x454873,_0x302c02,_0x246721,_0x53d532,_0x202582,_0x3107d8),N(this,_0x268796(0x2f1),_0x268796(0x3fd)),(this[_0x268796(0x28d)]=_0x55b0c8,this['_permissionService']=_0x35a1c6,this[_0x268796(0x2fb)]=_0x16f14b,this['_collaborationUIEventService']=_0x102090,this[_0x268796(0x18e)]=_0x3107d8,this[_0x268796(0x44e)](),this[_0x268796(0x408)](),this[_0x268796(0x3cc)]());}['appendMutation'](){return this;}[_0x180182(0x1ce)](){return this;}[_0x180182(0x456)](){return this;}[_0x180182(0x208)](){return this;}[_0x180182(0x3eb)](){return this;}[_0x180182(0x45e)](){return this;}[_0x180182(0x2bd)](){return this;}[_0x180182(0x2be)](){var _0x17a775=_0x180182;throw new Error(_0x17a775(0x418));}['_clearLocalCache'](){var _0x230170=_0x180182,_0xe487b4;(_0xe487b4=this[_0x230170(0x171)])==null||_0xe487b4['updateOfflineData'](this[_0x230170(0x1ea)],this[_0x230170(0x3b0)],null,[]);}[_0x180182(0x44e)](){var _0x28da4f=_0x180182;this[_0x28da4f(0x28d)]?this[_0x28da4f(0x1a5)][_0x28da4f(0x3f6)]({'id':se[_0x28da4f(0x3cf)]}):this[_0x28da4f(0x1a5)][_0x28da4f(0x3f6)]({'id':se['CONFLICT']});}[_0x180182(0x3cc)](){var _0x2922fe=_0x180182;this['_permissionService'][_0x2922fe(0x1af)](new _0x1ea93e(this[_0x2922fe(0x1ea)])['id'],!0x1);}};de=Re([A(0x6,_0x353e29(_0x164670)),A(0x7,_0x3cf875),A(0x8,_0x3d63ec),A(0x9,_0x353e29(_0x58d326)),A(0xa,_0x353e29(_0x481fdb)),A(0xb,_0x353e29(pe)),A(0xc,_0x2d320a(J))],de);let fe=class extends be{constructor(_0x2ea345,_0x309412,_0x5c743f,_0xad384b,_0x15142d,_0x3b3018,_0x26377d,_0x85b87a,_0x1fd45b,_0x191471){var _0x22c363=_0x180182;super(_0x2ea345,_0x309412,_0x5c743f,_0xad384b,_0x15142d,_0x85b87a,_0x1fd45b,_0x26377d,_0x191471),N(this,_0x22c363(0x2f1),_0x22c363(0x472)),this[_0x22c363(0x3ff)]=_0x3b3018;}[_0x180182(0x306)](_0x213534){var _0x4cd37f=_0x180182;return this[_0x4cd37f(0x2ce)][_0x4cd37f(0x247)](_0x213534),this[_0x4cd37f(0x35e)](),this;}[_0x180182(0x1ce)](_0x270fb3){var _0x169835=_0x180182;throw new Error(_0x169835(0x300));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x180182(0x208)](){var _0x98f986=_0x180182;throw new Error(_0x98f986(0x377));}[_0x180182(0x3eb)](){return this;}[_0x180182(0x45e)](){return this;}[_0x180182(0x2bd)](){var _0xb80b59=_0x180182;const {_injector:_0x39090a,_pendingMutations:_0x44d795,_awaitingChangeset:_0x48712d,unitID:_0x4250fe,_handler:_0xe59856,type:_0xdb0c7}=this,_0x29b4b8=Di(_0x39090a,_0x4250fe,_0xdb0c7,_0x48712d,_0x44d795,_0xe59856);return _0x29b4b8 instanceof oe?_0x29b4b8['_schedule']():(_0x29b4b8 instanceof ae||_0x29b4b8 instanceof ue)&&_0x29b4b8[_0xb80b59(0x2be)](),_0x29b4b8;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x353e29(_0x514172)),A(0x6,_0x353e29(_0x58d326)),A(0x7,_0x3cf875),A(0x8,_0x3d63ec),A(0x9,_0x2d320a(J))],fe);let te=class extends be{constructor(_0x37984d,_0x4fa6be,_0x3bbc75,_0x1aa060,_0x416027,_0x1841ee,_0x18129c,_0x4402de,_0x16aecd,_0x354292,_0xa721ab,_0x1508e1,_0x39d345,_0x50fa6c){var _0x529525=_0x180182;super(_0x37984d,_0x4fa6be,_0x3bbc75,_0x1aa060,_0x18129c,_0xa721ab,_0x1508e1,_0x16aecd,_0x50fa6c),N(this,'status',_0x529525(0x204)),(this[_0x529525(0x2c6)]=_0x416027,this[_0x529525(0x446)]=_0x1841ee,this[_0x529525(0x3ff)]=_0x4402de,this['_logService']=_0x354292,this[_0x529525(0x322)]=_0x39d345,this[_0x529525(0x18e)]=_0x50fa6c);}['onMissedChangesetFetched'](_0x59b96f){var _0x50ab1b=_0x180182;try{const _0x18fb7f=[..._0x59b96f,...this['_queuedRemoteChangesets']],_0xd46289=[this[_0x50ab1b(0x422)]||this['_acknowledgedAwaitingChangeset']][_0x50ab1b(0x293)](_0x45f463=>!!_0x45f463);let _0x45873c,_0x37bc3d;if(_0xd46289[_0x50ab1b(0x22e)]){const _0x1d9453=this['_transformService'][_0x50ab1b(0x19e)](_0x18fb7f,_0xd46289,!0x1);if(!_0x3d9f4b(_0x1d9453))throw _0x1d9453[_0x50ab1b(0x458)];_0x45873c=_0x1d9453['c1Prime'],_0x37bc3d=_0x1d9453[_0x50ab1b(0x3be)];}else _0x45873c=_0x18fb7f,_0x37bc3d=[];let _0x3b390f=this[_0x50ab1b(0x2ce)];_0x45873c[_0x50ab1b(0x46f)](_0x5d70d0=>{var _0x110292=_0x50ab1b;let _0x4daf11;if(_0x3b390f[_0x110292(0x22e)]){const _0x2081fd=this['_transformService']['transformMutationsWithChangeset'](_0x5d70d0,_0x3b390f);if(!_0x8e3f17(_0x2081fd))throw _0x2081fd[_0x110292(0x458)];_0x4daf11=_0x2081fd[_0x110292(0x44c)],_0x3b390f=_0x2081fd[_0x110292(0x42f)];}else _0x4daf11=_0x5d70d0;this['_executeRemoteChangeset'](_0x4daf11);}),this[_0x50ab1b(0x2c6)]&&this['_incrementRevisionNumber'](),this[_0x50ab1b(0x422)]&&_0x37bc3d[_0x50ab1b(0x22e)]&&(_0x37bc3d[0x0][_0x50ab1b(0x281)]=this[_0x50ab1b(0x440)]());let _0x27660f;if(this[_0x50ab1b(0x422)]&&_0x3b390f['length']!==0x0)_0x27660f=this['_injector'][_0x50ab1b(0x182)](ae,this['unitID'],this['type'],_0x37bc3d[0x0],_0x3b390f,this[_0x50ab1b(0x178)],void 0x0);else{if(this[_0x50ab1b(0x422)]&&_0x3b390f[_0x50ab1b(0x22e)]===0x0)_0x37bc3d[0x0][_0x50ab1b(0x281)]=this[_0x50ab1b(0x440)](),_0x27660f=this[_0x50ab1b(0x3ff)][_0x50ab1b(0x182)](ue,this[_0x50ab1b(0x1ea)],this['type'],_0x37bc3d[0x0],this[_0x50ab1b(0x178)]);else{if(_0x3b390f['length']!==0x0){const _0x32f791=this[_0x50ab1b(0x3ff)][_0x50ab1b(0x182)](oe,this[_0x50ab1b(0x1ea)],this[_0x50ab1b(0x3b0)],_0x3b390f,this[_0x50ab1b(0x178)]);_0x32f791[_0x50ab1b(0x29a)](),_0x27660f=_0x32f791;}else _0x27660f=this[_0x50ab1b(0x3ff)][_0x50ab1b(0x182)](De,this[_0x50ab1b(0x1ea)],this[_0x50ab1b(0x3b0)],this[_0x50ab1b(0x178)]);}}return _0x27660f[_0x50ab1b(0x35e)](),_0x27660f;}catch(_0x5bcfa8){return this['_logService'][_0x50ab1b(0x458)](_0x50ab1b(0x323),_0x50ab1b(0x1d2),_0x5bcfa8),this[_0x50ab1b(0x3ff)]['createInstance'](de,this[_0x50ab1b(0x1ea)],this['type'],this[_0x50ab1b(0x422)],this[_0x50ab1b(0x2ce)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x100d85){var _0x57f92b=_0x180182;return this[_0x57f92b(0x2ce)][_0x57f92b(0x247)](_0x100d85),this;}[_0x180182(0x1ce)](_0xe006ea){var _0x2c7c05=_0x180182;return this[_0x2c7c05(0x446)][_0x2c7c05(0x247)](_0xe006ea),this;}['onRemoteAck'](_0x3eb8ab){var _0x2e101d=_0x180182;if(this[_0x2e101d(0x422)])return this['_acknowledgedAwaitingChangeset']=this[_0x2e101d(0x422)],this[_0x2e101d(0x422)]=null,this;throw new Error(_0x2e101d(0x267));}['onRemoteRej'](_0x4f6e58){var _0x594ffa=_0x180182;return this[_0x594ffa(0x2a8)](!!(_0x4f6e58!=null&&_0x4f6e58[_0x594ffa(0x394)]));}[_0x180182(0x3eb)](){return this;}[_0x180182(0x45e)](){var _0x76aa3b=_0x180182;return this[_0x76aa3b(0x3ff)]['createInstance'](fe,this[_0x76aa3b(0x1ea)],this[_0x76aa3b(0x3b0)],this['_awaitingChangeset'],this[_0x76aa3b(0x2ce)],this[_0x76aa3b(0x178)]);}['toggleOnline'](){return this;}[_0x180182(0x2a8)](_0xeebf5b){var _0x228e1e=_0x180182;return this[_0x228e1e(0x3ff)][_0x228e1e(0x182)](de,this[_0x228e1e(0x1ea)],this[_0x228e1e(0x3b0)],this[_0x228e1e(0x422)],this[_0x228e1e(0x2ce)],this[_0x228e1e(0x178)],_0xeebf5b);}};te=Re([A(0x7,_0x353e29(_0x514172)),A(0x8,_0x353e29(_0x58d326)),A(0x9,_0x3e9f29),A(0xa,_0x3cf875),A(0xb,_0x3d63ec),A(0xc,_0x5230f8),A(0xd,_0x2d320a(J))],te);function Di(_0x42d32f,_0x8416bb,_0x35424a,_0xce300d,_0x2aa5bb,_0x1b8a0c){var _0xed11d8=_0x180182;return _0xce300d&&_0x2aa5bb['length']?_0x42d32f[_0xed11d8(0x182)](ae,_0x8416bb,_0x35424a,_0xce300d,_0x2aa5bb,_0x1b8a0c,void 0x0):_0xce300d?_0x42d32f['createInstance'](ue,_0x8416bb,_0x35424a,_0xce300d,_0x1b8a0c):_0x2aa5bb[_0xed11d8(0x22e)]?_0x42d32f[_0xed11d8(0x182)](oe,_0x8416bb,_0x35424a,_0x2aa5bb,_0x1b8a0c):_0x42d32f[_0xed11d8(0x182)](De,_0x8416bb,_0x35424a,_0x1b8a0c);}var vr=Object['defineProperty'],pr=Object[_0x180182(0x2dc)],Lt=(_0x56a9ad,_0x59058f,_0x21cb17,_0x4a73b9)=>{var _0x207e34=_0x180182;for(var _0x472755=_0x4a73b9>0x1?void 0x0:_0x4a73b9?pr(_0x59058f,_0x21cb17):_0x59058f,_0x48a5b6=_0x56a9ad[_0x207e34(0x22e)]-0x1,_0x56f53d;_0x48a5b6>=0x0;_0x48a5b6--)(_0x56f53d=_0x56a9ad[_0x48a5b6])&&(_0x472755=(_0x4a73b9?_0x56f53d(_0x59058f,_0x21cb17,_0x472755):_0x56f53d(_0x472755))||_0x472755);return _0x4a73b9&&_0x472755&&vr(_0x59058f,_0x21cb17,_0x472755),_0x472755;},k=(_0x280e7d,_0x3240bc)=>(_0x2da2c6,_0x384412)=>_0x3240bc(_0x2da2c6,_0x384412,_0x280e7d);let nt=class extends _0x528acc{constructor(_0x3c253b,_0x3fe3c6,_0x4d0562,_0x2f05cc,_0x400b0d,_0x5cb765,_0x34acf5,_0x599766,_0x1039fb,_0x222b54,_0x6c989,_0x5a32fa,_0x356c41){var _0x3bdf48=_0x180182;super(),N(this,'_state$',new _0x2de85e(null)),N(this,_0x3bdf48(0x2f2),this[_0x3bdf48(0x36c)]['asObservable']()),N(this,'_state'),N(this,_0x3bdf48(0x3e7),!0x1),N(this,'_changesetSessionId',''),N(this,_0x3bdf48(0x3a0),0x0),N(this,_0x3bdf48(0x1fe),this[_0x3bdf48(0x2f2)][_0x3bdf48(0x1df)](_0x491c5a(_0x20fe5a=>_0x20fe5a?_0x20fe5a[_0x3bdf48(0x2f1)]:yi[_0x3bdf48(0x358)]),_0xe80991(0x1))),N(this,_0x3bdf48(0x1d8),!0x1),N(this,_0x3bdf48(0x1a6),[]),(this[_0x3bdf48(0x1ea)]=_0x3c253b,this[_0x3bdf48(0x25f)]=_0x3fe3c6,this['_type']=_0x4d0562,this['_injector']=_0x2f05cc,this[_0x3bdf48(0x257)]=_0x400b0d,this[_0x3bdf48(0x2fb)]=_0x5cb765,this[_0x3bdf48(0x3a5)]=_0x34acf5,this[_0x3bdf48(0x30f)]=_0x599766,this[_0x3bdf48(0x1a2)]=_0x1039fb,this[_0x3bdf48(0x380)]=_0x222b54,this[_0x3bdf48(0x206)]=_0x6c989,this[_0x3bdf48(0x296)]=_0x5a32fa,this['_localCacheService']=_0x356c41);}get[_0x180182(0x40c)](){var _0x295555=_0x180182;return this[_0x295555(0x329)];}async[_0x180182(0x31d)](){var _0x2062ec=_0x180182;if(this[_0x2062ec(0x40c)])throw new Error(_0x2062ec(0x3b3));await this[_0x2062ec(0x2d0)]();}['pauseCollaboration'](){var _0x4f33bd=_0x180182;return this[_0x4f33bd(0x3e7)]=!0x0,_0x7e22c5(()=>{var _0x300bbf=_0x4f33bd;this[_0x300bbf(0x3e7)]=!0x1,this[_0x300bbf(0x1c0)]();});}[_0x180182(0x34b)](_0x51c127){var _0x348ff1=_0x180182;this[_0x348ff1(0x2f9)](_0x51c127);}['_updateState'](_0x55c5c9){var _0x2b0c47=_0x180182;this[_0x2b0c47(0x329)]=_0x55c5c9,this[_0x2b0c47(0x36c)][_0x2b0c47(0x1c9)](_0x55c5c9);}async[_0x180182(0x2d0)](){var _0x387e64=_0x180182,_0x5eae56;this['_updateState'](await this[_0x387e64(0x1ab)]()),this[_0x387e64(0x296)]&&((_0x5eae56=this['_singleActiveUnitService'])==null||_0x5eae56[_0x387e64(0x3ec)](this[_0x387e64(0x1ea)]),this[_0x387e64(0x437)](this[_0x387e64(0x296)][_0x387e64(0x36f)](this[_0x387e64(0x1ea)])[_0x387e64(0x24d)](_0x550cb6=>{var _0x504f01=_0x387e64;this[_0x504f01(0x1a2)][_0x504f01(0x23d)](_0x504f01(0x2a6),_0x504f01(0x1a0),_0x550cb6),_0x550cb6===bi[_0x504f01(0x2b3)]?(this[_0x504f01(0x30f)]['emitEvent']({'id':se[_0x504f01(0x1b6)]}),this[_0x504f01(0x206)][_0x504f01(0x1af)](new _0x1ea93e(this[_0x504f01(0x1ea)])['id'],!0x1),this[_0x504f01(0x206)][_0x504f01(0x34e)](!0x1)):(this[_0x504f01(0x206)][_0x504f01(0x1af)](new _0x1ea93e(this[_0x504f01(0x1ea)])['id'],!0x0),this[_0x504f01(0x206)][_0x504f01(0x34e)](!0x0));})));let _0x2a13e8=!0x1;return this['disposeWithMe'](this[_0x387e64(0x25f)][_0x387e64(0x212)]['subscribe'](_0x3f30f5=>{var _0xc624a=_0x387e64;_0x3f30f5===Te['ONLINE']?this[_0xc624a(0x310)](_0x2a13e8):_0x3f30f5===Te[_0xc624a(0x358)]&&(_0x2a13e8=!0x0,this[_0xc624a(0x361)]());})),this[_0x387e64(0x437)](this[_0x387e64(0x25f)][_0x387e64(0x27b)][_0x387e64(0x24d)](_0x5b7e66=>{var _0x2723fa=_0x387e64;try{switch(_0x5b7e66[_0x2723fa(0x41f)]){case _0x34671a['NEW_CHANGESETS']:{this[_0x2723fa(0x17b)](_0x4b99a9(_0x5b7e66[_0x2723fa(0x180)]));break;}case _0x34671a[_0x2723fa(0x1cc)]:{this['_onRemoteACK'](_0x5b7e66[_0x2723fa(0x180)]);break;}case _0x34671a[_0x2723fa(0x2ea)]:{this[_0x2723fa(0x419)]();break;}case _0x34671a['CHANGESET_SHOULD_RETRY']:{this[_0x2723fa(0x210)](_0x5b7e66[_0x2723fa(0x180)]);break;}case _0x34671a[_0x2723fa(0x17d)]:{this[_0x2723fa(0x37f)](_0x5b7e66[_0x2723fa(0x180)][_0x2723fa(0x2e5)]['map'](_0x5e8089=>_0x4b99a9(_0x5e8089)));break;}case _0x34671a[_0x2723fa(0x22f)]:{this[_0x2723fa(0x419)]({'isPermissionRej':!0x0});break;}case _0x34671a['UNISCRIPT_RUN']:break;}}catch(_0x136bfb){throw console['error'](_0x2723fa(0x20d),_0x136bfb),_0x136bfb;}})),this[_0x387e64(0x329)];}[_0x180182(0x187)](){var _0xfe6f71=_0x180182;this[_0xfe6f71(0x1d8)]=!0x1;}['_lockTransition'](){var _0x33a95e=_0x180182;if(this['_transitionLocked'])throw new Error(_0x33a95e(0x2d6));this[_0x33a95e(0x1d8)]=!0x0;}[_0x180182(0x2f9)](_0x4ae397){var _0x5fe2b4=_0x180182;this[_0x5fe2b4(0x30a)](),this['_updateState'](this[_0x5fe2b4(0x329)][_0x5fe2b4(0x306)](_0x4ae397)),this[_0x5fe2b4(0x187)]();}[_0x180182(0x17b)](_0x53fb47){var _0x56d5ee=_0x180182;if(!(_0x53fb47[_0x56d5ee(0x453)]<=this['_revisionService'][_0x56d5ee(0x2df)](this['unitID']))){if(this[_0x56d5ee(0x3e7)]){this[_0x56d5ee(0x1a6)][_0x56d5ee(0x247)](_0x53fb47);return;}this[_0x56d5ee(0x21d)](_0x53fb47);}}[_0x180182(0x1c0)](){var _0x240b23=_0x180182;this['_remoteChangesetQueue'][_0x240b23(0x46f)](_0x2227e7=>this['_applyRemoteChangeset'](_0x2227e7)),this[_0x240b23(0x1a6)]=[];}[_0x180182(0x21d)](_0x428d75){var _0x2e88ff=_0x180182;const _0x246703=this['_compressMutationService'][_0x2e88ff(0x20a)][_0x2e88ff(0x16f)](this[_0x2e88ff(0x257)]['interceptor'][_0x2e88ff(0x3d2)]()[_0x2e88ff(0x298)])(_0x428d75[_0x2e88ff(0x3f8)],null)||_0x428d75[_0x2e88ff(0x3f8)],_0x477eb1={..._0x428d75,'mutations':_0x246703};this[_0x2e88ff(0x30a)](),this[_0x2e88ff(0x468)](this[_0x2e88ff(0x329)]['onRemoteChangeset'](_0x477eb1)),this[_0x2e88ff(0x187)]();}[_0x180182(0x32e)](_0x379bd5){var _0x4846cf=_0x180182;this['_lockTransition'](),this[_0x4846cf(0x468)](this['_state'][_0x4846cf(0x456)](_0x379bd5)),this[_0x4846cf(0x187)]();}['_onRemoteRejected'](_0x520e86){var _0x3ff2ce=_0x180182;this[_0x3ff2ce(0x30a)](),this[_0x3ff2ce(0x468)](this['_state'][_0x3ff2ce(0x208)](_0x520e86)),this[_0x3ff2ce(0x187)]();}[_0x180182(0x210)](_0x517ee5){var _0x2c6720=_0x180182;this[_0x2c6720(0x30a)](),this[_0x2c6720(0x468)](this[_0x2c6720(0x329)][_0x2c6720(0x3eb)](_0x517ee5)),this[_0x2c6720(0x187)]();}[_0x180182(0x37f)](_0x1031cb){var _0xafffe=_0x180182;if(!(this['_state']instanceof te))throw new TypeError(_0xafffe(0x41e));const _0x3697ed=_0x1031cb['map'](_0x3842d0=>{var _0x1d3eca=_0xafffe;const _0x5134e8=this[_0x1d3eca(0x257)][_0x1d3eca(0x20a)][_0x1d3eca(0x16f)](this['_compressMutationService']['interceptor'][_0x1d3eca(0x3d2)]()['COMPRESS_MUTATION_APPLY'])(_0x3842d0[_0x1d3eca(0x3f8)],null)||_0x3842d0[_0x1d3eca(0x3f8)];return{..._0x3842d0,'mutations':_0x5134e8};});this['_lockTransition'](),this[_0xafffe(0x468)](this[_0xafffe(0x329)][_0xafffe(0x43f)](_0x3697ed)),this[_0xafffe(0x187)]();}[_0x180182(0x361)](){var _0x181354=_0x180182;this['_lockTransition'](),this['_updateState'](this[_0x181354(0x329)][_0x181354(0x45e)]()),this[_0x181354(0x187)]();}[_0x180182(0x310)](_0x1aad6a=!0x1){var _0x33c045=_0x180182;this[_0x33c045(0x30a)](),this[_0x33c045(0x468)](this[_0x33c045(0x329)][_0x33c045(0x2bd)]()),this[_0x33c045(0x187)]();const _0xe40c01=this[_0x33c045(0x329)];_0x1aad6a&&_0xe40c01 instanceof De&&(this[_0x33c045(0x30a)](),this[_0x33c045(0x468)](_0xe40c01['fetchMiss']()),this[_0x33c045(0x187)]());}async[_0x180182(0x1ab)](){return new Promise(_0x2014b2=>{var _0x3fddf5=_0x11d4;this['session'][_0x3fddf5(0x212)]['pipe'](_0x4c2e79(0x1))[_0x3fddf5(0x24d)](async _0x526787=>{var _0x17d783=_0x3fddf5;_0x2014b2(await this['_createInitialStateImpl'](_0x526787===Te[_0x17d783(0x27c)]));});});}[_0x180182(0x1f5)](){var _0x149478=_0x180182;const _0x34c6d9=this[_0x149478(0x1ea)];return{'onStateChange':(_0xb57b34,_0x33912f)=>{var _0x5633a5=_0x149478;if(_0xb57b34!==this[_0x5633a5(0x329)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xb57b34[_0x5633a5(0x2f1)]+'\x0aAfter:\x20'+_0x33912f['status']+'\x0aCurrent:\x20'+this[_0x5633a5(0x329)]['status']);this[_0x5633a5(0x468)](_0x33912f);},'onSendChangeset':_0x5d5ffe=>{var _0x486a57=_0x149478;_0x5d5ffe[_0x486a57(0x21a)]||(_0x5d5ffe['sid']=this['_changesetSessionId'],_0x5d5ffe[_0x486a57(0x24b)]=++this[_0x486a57(0x3a0)]);const _0x47e422={'eventID':_0x34671a[_0x486a57(0x3d0)],'data':{'unitID':_0x5d5ffe['unitID'],'unitType':this['_type'],'changeset':_0x5d5ffe,'memberID':this[_0x486a57(0x25f)]['getMemberID']()}};this[_0x486a57(0x25f)][_0x486a57(0x35b)](_0x47e422,this[_0x486a57(0x1ea)]);},'onMissingChangesets':({from:_0x2f7998,to:_0x351bb8})=>{var _0x5f17be=_0x149478;this['_logService'][_0x5f17be(0x23d)](_0x5f17be(0x2a6),'fetching\x20missing\x20changesets\x20from\x20'+_0x2f7998+_0x5f17be(0x2a0)+_0x351bb8);const _0xd04d62={'eventID':_0x34671a[_0x5f17be(0x38d)],'data':{'unitID':_0x34c6d9,'unitType':this['_type'],'from':_0x2f7998,'to':_0x351bb8}};this[_0x5f17be(0x25f)][_0x5f17be(0x35b)](_0xd04d62,this[_0x5f17be(0x1ea)]);}};}async[_0x180182(0x226)](_0x2c1f14){var _0x2e06b8=_0x180182,_0x1dce03,_0x590c51,_0x42cd9a;const _0x24a881=await((_0x1dce03=this[_0x2e06b8(0x171)])==null?void 0x0:_0x1dce03[_0x2e06b8(0x253)](this[_0x2e06b8(0x1ea)])),_0x1adeed=(_0x590c51=_0x24a881==null?void 0x0:_0x24a881[_0x2e06b8(0x3f8)])!=null?_0x590c51:[],_0x3ea2c2=(_0x42cd9a=_0x24a881==null?void 0x0:_0x24a881['awaitingChangeset'])!=null?_0x42cd9a:null,_0x41f30e=!!(_0x3ea2c2!=null&&_0x3ea2c2['sid'])&&!!(_0x3ea2c2!=null&&_0x3ea2c2[_0x2e06b8(0x24b)]);this[_0x2e06b8(0x251)]=_0x41f30e?_0x3ea2c2[_0x2e06b8(0x21a)]:sr(),this[_0x2e06b8(0x3a0)]=_0x41f30e?_0x3ea2c2[_0x2e06b8(0x24b)]:0x0;const _0x1be98d=this[_0x2e06b8(0x1ea)];try{this[_0x2e06b8(0x2cb)](_0x3ea2c2,_0x1adeed);}catch(_0x4b2b10){this[_0x2e06b8(0x1a2)][_0x2e06b8(0x458)](_0x4b2b10);}const _0x516f3f=this[_0x2e06b8(0x1f5)]();if(_0x2c1f14){const _0x43cb1f=Di(this[_0x2e06b8(0x3ff)],_0x1be98d,this['_type'],_0x3ea2c2,_0x1adeed,_0x516f3f);return _0x43cb1f instanceof oe?_0x43cb1f[_0x2e06b8(0x29a)]():(_0x43cb1f instanceof ae||_0x43cb1f instanceof ue)&&_0x43cb1f[_0x2e06b8(0x2be)](),_0x43cb1f;}return this['_injector'][_0x2e06b8(0x182)](fe,_0x1be98d,this[_0x2e06b8(0x3d3)],_0x3ea2c2,_0x1adeed,_0x516f3f);}[_0x180182(0x2cb)](_0x4a9fa8,_0x228e3d){var _0x4bdbaf=_0x180182,_0x3c8f6f,_0x3a02d9;const _0x58b56c=this['_compressMutationService'][_0x4bdbaf(0x20a)][_0x4bdbaf(0x16f)](this['_compressMutationService'][_0x4bdbaf(0x20a)][_0x4bdbaf(0x3d2)]()[_0x4bdbaf(0x298)]);(_0x3c8f6f=_0x58b56c((_0x4a9fa8==null?void 0x0:_0x4a9fa8[_0x4bdbaf(0x3f8)])||[],null))==null||_0x3c8f6f[_0x4bdbaf(0x46f)](_0x3ecc59=>this[_0x4bdbaf(0x380)][_0x4bdbaf(0x1ff)](_0x3ecc59['id'],_0x3ecc59[_0x4bdbaf(0x2cc)])),(_0x3a02d9=_0x58b56c(_0x228e3d||[],null))==null||_0x3a02d9['forEach'](_0xd18c31=>this[_0x4bdbaf(0x380)][_0x4bdbaf(0x1ff)](_0xd18c31['id'],_0xd18c31['params']));}};nt=Lt([k(0x3,_0x353e29(_0x514172)),k(0x4,_0x353e29(_0x42aba3)),k(0x5,_0x353e29(_0x481fdb)),k(0x6,_0x353e29(_0x58d326)),k(0x7,_0x353e29(pe)),k(0x8,_0x3e9f29),k(0x9,_0x3cf875),k(0xa,_0x164670),k(0xb,_0x2d320a(ht)),k(0xc,_0x2d320a(J))],nt);let Tt=class extends nt{constructor(_0x93a3d1,_0x2bd844,_0x46cbc3,_0x29f200,_0x25dd61,_0x5f0585,_0x72e6e3,_0x189465,_0x396b6b,_0x4b52f4,_0x507cf6,_0x65d3d2,_0xbf7297){var _0x3572f1=_0x180182;super(_0x93a3d1,_0x46cbc3,_0x2bd844,_0x29f200,_0x25dd61,_0x5f0585,_0x72e6e3,_0x189465,_0x396b6b,_0x4b52f4,_0x507cf6,_0x65d3d2,_0xbf7297),N(this,_0x3572f1(0x3bc),null),(this[_0x3572f1(0x1ea)]=_0x93a3d1,this[_0x3572f1(0x3b0)]=_0x2bd844);}[_0x180182(0x444)](_0x50b5ea){var _0x186d01=_0x180182;this[_0x186d01(0x3bc)]=_0x50b5ea;}[_0x180182(0x397)](){var _0x756b77=_0x180182;this['_handlerCallback']=null,super[_0x756b77(0x397)]();}[_0x180182(0x1f5)](){var _0x4e74fe=_0x180182;const _0x3e99c1=super['_createHandler']();return _0x3e99c1[_0x4e74fe(0x470)]=_0x4dc41f=>{var _0x28a2ab=_0x4e74fe,_0x2edee2,_0x2495ac;return(_0x2495ac=(_0x2edee2=this[_0x28a2ab(0x3bc)])==null?void 0x0:_0x2edee2[_0x28a2ab(0x470)])==null?void 0x0:_0x2495ac[_0x28a2ab(0x3bf)](_0x2edee2,_0x4dc41f);},_0x3e99c1[_0x4e74fe(0x39f)]=_0x2caa9a=>{var _0x4e2a44=_0x4e74fe,_0x4cb5f1,_0x3c1711;return(_0x3c1711=(_0x4cb5f1=this[_0x4e2a44(0x3bc)])==null?void 0x0:_0x4cb5f1[_0x4e2a44(0x39f)])==null?void 0x0:_0x3c1711[_0x4e2a44(0x3bf)](_0x4cb5f1,_0x2caa9a);},_0x3e99c1[_0x4e74fe(0x1f8)]=_0x1d44d3=>{var _0x3331e3=_0x4e74fe,_0x5ef07b,_0x1df69a;return(_0x1df69a=(_0x5ef07b=this['_handlerCallback'])==null?void 0x0:_0x5ef07b['onTransformSelections'])==null?void 0x0:_0x1df69a[_0x3331e3(0x3bf)](_0x5ef07b,_0x1d44d3);},_0x3e99c1[_0x4e74fe(0x35d)]=_0x79546c=>{var _0x123c7d=_0x4e74fe,_0x8a828d,_0x4cccd4;return(_0x4cccd4=(_0x8a828d=this[_0x123c7d(0x3bc)])==null?void 0x0:_0x8a828d[_0x123c7d(0x35d)])==null?void 0x0:_0x4cccd4[_0x123c7d(0x3bf)](_0x8a828d,_0x79546c);},_0x3e99c1[_0x4e74fe(0x199)]=_0xb9b6e6=>{var _0x317ad5=_0x4e74fe,_0x338d2f,_0x106b80,_0x39776b;if(!((_0x338d2f=this['_handlerCallback'])!=null&&_0x338d2f[_0x317ad5(0x199)]))throw new Error(_0x317ad5(0x475));return(_0x39776b=(_0x106b80=this[_0x317ad5(0x3bc)])==null?void 0x0:_0x106b80[_0x317ad5(0x199)])==null?void 0x0:_0x39776b[_0x317ad5(0x3bf)](_0x106b80,_0xb9b6e6);},_0x3e99c1[_0x4e74fe(0x27f)]=_0x11dd04=>{var _0x587ee5=_0x4e74fe,_0x2d3f12,_0x439645,_0x38a355;if(!((_0x2d3f12=this[_0x587ee5(0x3bc)])!=null&&_0x2d3f12[_0x587ee5(0x27f)]))throw new Error(_0x587ee5(0x283));return(_0x38a355=(_0x439645=this[_0x587ee5(0x3bc)])==null?void 0x0:_0x439645[_0x587ee5(0x27f)])==null?void 0x0:_0x38a355[_0x587ee5(0x3bf)](_0x439645,_0x11dd04);},_0x3e99c1;}async[_0x180182(0x2d0)](){var _0x14bd3d=_0x180182;const _0x4368c7=await super[_0x14bd3d(0x2d0)]();return this['disposeWithMe'](this['_commandService'][_0x14bd3d(0x16c)]((_0x4c839d,_0x3cbdfa)=>{var _0x199543=_0x14bd3d;if(_0x4c839d[_0x199543(0x3b0)]!==_0x36c35a[_0x199543(0x320)]||_0x3cbdfa!=null&&_0x3cbdfa['fromCollab']||_0x3cbdfa!=null&&_0x3cbdfa[_0x199543(0x233)]||_0x4c839d['id']===_0x3de722['id'])return;const _0x659069=_0x4c839d[_0x199543(0x2cc)];if((_0x659069==null?void 0x0:_0x659069['unitId'])!==this['unitID'])return;const _0x3d6fbd=_0x4c839d,_0x23f0ef=this[_0x199543(0x257)]['interceptor'][_0x199543(0x16f)](this[_0x199543(0x257)]['interceptor'][_0x199543(0x3d2)]()['COMPRESS_MUTATION_SEND'])([_0x3d6fbd],null)||[_0x3d6fbd];this['_onLocalMutation'](_0x23f0ef[0x0]);})),_0x4368c7;}};Tt=Lt([k(0x3,_0x353e29(_0x514172)),k(0x4,_0x353e29(_0x42aba3)),k(0x5,_0x353e29(_0x481fdb)),k(0x6,_0x353e29(_0x58d326)),k(0x7,_0x353e29(pe)),k(0x8,_0x3e9f29),k(0x9,_0x3cf875),k(0xa,_0x164670),k(0xb,_0x2d320a(ht)),k(0xc,_0x2d320a(J))],Tt);let Ct=class extends nt{constructor(_0x10d0da,_0xdc89a6,_0x3af781,_0x10d619,_0x412d92,_0x59fcbb,_0x3424ca,_0x240a85,_0x39bed4,_0xb365ac,_0x429fed,_0x42fbd9,_0x5ceccc,_0x420a3b){var _0x4d3e2f=_0x180182;super(_0x10d0da,_0x3af781,_0xdc89a6,_0x10d619,_0x412d92,_0x59fcbb,_0x3424ca,_0x39bed4,_0xb365ac,_0x429fed,_0x42fbd9,_0x5ceccc,_0x420a3b),this['unitID']=_0x10d0da,this[_0x4d3e2f(0x3b0)]=_0xdc89a6,this[_0x4d3e2f(0x1b9)]=_0x240a85;}[_0x180182(0x1f5)](){var _0x2aafe2=_0x180182;const _0x15af56=super[_0x2aafe2(0x1f5)]();return _0x15af56['onTransformSelections']=_0x2cc745=>this[_0x2aafe2(0x1b9)][_0x2aafe2(0x367)](_0x2cc745),_0x15af56;}async[_0x180182(0x2d0)](){var _0x2c8c4d=_0x180182;const _0x38a3e0=await super[_0x2c8c4d(0x2d0)]();return this['disposeWithMe'](this[_0x2c8c4d(0x380)][_0x2c8c4d(0x16c)]((_0x24ca68,_0x565463)=>{var _0x2020e9=_0x2c8c4d;if(_0x24ca68['type']!==_0x36c35a[_0x2020e9(0x320)]||_0x565463!=null&&_0x565463['fromCollab']||_0x565463!=null&&_0x565463['onlyLocal'])return;const _0x49855c=_0x24ca68['params'];if((_0x49855c==null?void 0x0:_0x49855c[_0x2020e9(0x18a)])!==this[_0x2020e9(0x1ea)])return;const _0xeae339=_0x24ca68,_0x4e3872=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x2020e9(0x20a)][_0x2020e9(0x3d2)]()[_0x2020e9(0x1b5)])([_0xeae339],null)||[_0xeae339];this[_0x2020e9(0x2f9)](_0x4e3872[0x0]);})),_0x38a3e0;}};Ct=Lt([k(0x3,_0x353e29(_0x514172)),k(0x4,_0x353e29(_0x42aba3)),k(0x5,_0x353e29(_0x481fdb)),k(0x6,_0x353e29(_0x58d326)),k(0x7,_0x353e29(it)),k(0x8,_0x353e29(pe)),k(0x9,_0x3e9f29),k(0xa,_0x3cf875),k(0xb,_0x164670),k(0xc,_0x2d320a(ht)),k(0xd,_0x2d320a(J))],Ct);var mr=Object[_0x180182(0x223)],gr=Object[_0x180182(0x2dc)],Sr=(_0x3ebac0,_0x2597c8,_0x149bcc,_0x31e98d)=>{var _0x361a9f=_0x180182;for(var _0x4ed516=_0x31e98d>0x1?void 0x0:_0x31e98d?gr(_0x2597c8,_0x149bcc):_0x2597c8,_0x4af7ce=_0x3ebac0[_0x361a9f(0x22e)]-0x1,_0x51649e;_0x4af7ce>=0x0;_0x4af7ce--)(_0x51649e=_0x3ebac0[_0x4af7ce])&&(_0x4ed516=(_0x31e98d?_0x51649e(_0x2597c8,_0x149bcc,_0x4ed516):_0x51649e(_0x4ed516))||_0x4ed516);return _0x31e98d&&_0x4ed516&&mr(_0x2597c8,_0x149bcc,_0x4ed516),_0x4ed516;},ft=(_0x584ce3,_0x170b54)=>(_0x5252c9,_0x3d2bfe)=>_0x170b54(_0x5252c9,_0x3d2bfe,_0x584ce3);let rt=class extends _0x528acc{constructor(_0xd19cd1,_0x4b151a,_0x553fb3){var _0x5f4424=_0x180182;super(),N(this,'_entities',new Map()),N(this,_0x5f4424(0x3ae),new _0x3be824()),N(this,_0x5f4424(0x1f9),this['_entityInit$'][_0x5f4424(0x473)]()),(this['_injector']=_0xd19cd1,this['_collabSessionService']=_0x4b151a,this[_0x5f4424(0x207)]=_0x553fb3,this[_0x5f4424(0x2d0)]());}[_0x180182(0x397)](){var _0x296a64=_0x180182;super[_0x296a64(0x397)](),this[_0x296a64(0x1f2)][_0x296a64(0x46f)](_0x1fb222=>_0x1fb222['dispose']()),this['_entities']['clear']();}[_0x180182(0x264)](_0x529f43){var _0x102119=_0x180182,_0x2e156d;return(_0x2e156d=this[_0x102119(0x1f2)][_0x102119(0x42e)](_0x529f43))!=null?_0x2e156d:null;}['getCollabEntity$'](_0x38d8c4){var _0x4275d5=_0x180182;const _0x2c4164=this[_0x4275d5(0x264)](_0x38d8c4);return _0x2c4164?_0x43a41b(_0x2c4164):this[_0x4275d5(0x3ae)][_0x4275d5(0x1df)](_0x403452(_0x418644=>_0x418644[_0x4275d5(0x1ea)]===_0x38d8c4));}[_0x180182(0x465)](_0x43a519){var _0x4800ed=_0x180182;return _0x381753(this[_0x4800ed(0x258)](_0x43a519)[_0x4800ed(0x1df)](_0x582953(()=>{})));}['_init'](){var _0x3c845f=_0x180182;this[_0x3c845f(0x207)][_0x3c845f(0x2bf)](_0xe90df[_0x3c845f(0x45b)])[_0x3c845f(0x1df)](_0x44aa56(this['dispose$']),_0x303eb3(0x10))[_0x3c845f(0x24d)](async _0x4a57bd=>{var _0x2c1bea=_0x3c845f;const _0x2d5280=_0x4a57bd[_0x2c1bea(0x20f)](),_0x4ea733=await this['_startCollaboration'](_0x2d5280,Q[_0x2c1bea(0x45b)]);this[_0x2c1bea(0x1f2)]['set'](_0x2d5280,_0x4ea733);}),this[_0x3c845f(0x207)][_0x3c845f(0x2bf)](_0xe90df[_0x3c845f(0x282)])[_0x3c845f(0x1df)](_0x44aa56(this[_0x3c845f(0x1e2)]),_0x303eb3(0x10))[_0x3c845f(0x1df)](_0x403452(_0x5b8afb=>!_0x5b8afb[_0x3c845f(0x20f)]()[_0x3c845f(0x32f)]('__')))['subscribe'](async _0x3abf3e=>{var _0x1b1493=_0x3c845f;const _0x335cd3=_0x3abf3e['getUnitId'](),_0x2fdde5=await this[_0x1b1493(0x169)](_0x335cd3,Q[_0x1b1493(0x282)]);this[_0x1b1493(0x1f2)][_0x1b1493(0x3e8)](_0x335cd3,_0x2fdde5);}),_0x557492(this[_0x3c845f(0x207)][_0x3c845f(0x36b)](_0xe90df['UNIVER_SHEET']),this['_univerInstanceService'][_0x3c845f(0x36b)](_0xe90df[_0x3c845f(0x282)]))[_0x3c845f(0x1df)](_0x44aa56(this[_0x3c845f(0x1e2)]))['subscribe'](_0x3b64ca=>{var _0x2588e5=_0x3c845f;const _0xfc5f55=_0x3b64ca[_0x2588e5(0x20f)](),_0x2d92f5=this['_entities'][_0x2588e5(0x42e)](_0xfc5f55);_0x2d92f5&&(_0x2d92f5[_0x2588e5(0x397)](),this['_entities'][_0x2588e5(0x1c7)](_0xfc5f55));});}async[_0x180182(0x169)](_0x16c52b,_0x2a54f8){var _0x20dc7f=_0x180182;const _0x352750=await this['_collabSessionService'][_0x20dc7f(0x3f1)](_0x16c52b),_0x3bc99a=this[_0x20dc7f(0x3ff)]['createInstance'](this[_0x20dc7f(0x326)](_0x2a54f8),_0x16c52b,_0x2a54f8,_0x352750);return await _0x3bc99a[_0x20dc7f(0x31d)](),this[_0x20dc7f(0x3ae)][_0x20dc7f(0x1c9)](_0x3bc99a),_0x3bc99a;}['_getCtorByUniverType'](_0x49d56b){var _0x137671=_0x180182;switch(_0x49d56b){case Q[_0x137671(0x282)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error(_0x137671(0x231)+_0x49d56b);}}};rt=Sr([ft(0x0,_0x353e29(_0x514172)),ft(0x1,_0x353e29(Le)),ft(0x2,_0xbe923a)],rt);var Er=Object[_0x180182(0x223)],Ir=Object[_0x180182(0x2dc)],Tr=(_0x5c5a01,_0x37c676,_0x141bb8,_0x3f12a5)=>{for(var _0x4beab3=_0x3f12a5>0x1?void 0x0:_0x3f12a5?Ir(_0x37c676,_0x141bb8):_0x37c676,_0x2d4b7e=_0x5c5a01['length']-0x1,_0x2ddd51;_0x2d4b7e>=0x0;_0x2d4b7e--)(_0x2ddd51=_0x5c5a01[_0x2d4b7e])&&(_0x4beab3=(_0x3f12a5?_0x2ddd51(_0x37c676,_0x141bb8,_0x4beab3):_0x2ddd51(_0x4beab3))||_0x4beab3);return _0x3f12a5&&_0x4beab3&&Er(_0x37c676,_0x141bb8,_0x4beab3),_0x4beab3;},Jt=(_0x5341ff,_0x269d1f)=>(_0x414dea,_0x401dbc)=>_0x269d1f(_0x414dea,_0x401dbc,_0x5341ff);const Cr=_0x180182(0x274),Rr=_0x180182(0x391);let Rt=class extends _0x5e1af1{constructor(_0x768b89,_0x3c026f){var _0x52e55f=_0x180182;super(),this[_0x52e55f(0x207)]=_0x768b89,this[_0x52e55f(0x2c9)]=_0x3c026f,this['_init']();}[_0x180182(0x2d0)](){var _0x991d3e=_0x180182;this[_0x991d3e(0x437)](this[_0x991d3e(0x207)][_0x991d3e(0x2dd)][_0x991d3e(0x24d)](()=>{var _0x5e4b26=_0x991d3e,_0x1ac31e;const _0x1f521e=this[_0x5e4b26(0x207)][_0x5e4b26(0x336)]();let _0x5b300a=(_0x1ac31e=this[_0x5e4b26(0x2c9)][_0x5e4b26(0x3b2)](Cr))!=null?_0x1ac31e:Rr;_0x1f521e instanceof _0x1c6787&&(_0x5b300a=_0x1f521e[_0x5e4b26(0x31e)]),document['title']=_0x5b300a;}));}};Rt=Tr([Jt(0x0,_0xbe923a),Jt(0x1,_0x1d880c)],Rt);var br=Object[_0x180182(0x223)],Or=Object[_0x180182(0x2dc)],yr=(_0x59820b,_0x273098,_0xcabd99,_0x2d8e09)=>{var _0x930b9a=_0x180182;for(var _0x3dbf8f=_0x2d8e09>0x1?void 0x0:_0x2d8e09?Or(_0x273098,_0xcabd99):_0x273098,_0x358da9=_0x59820b[_0x930b9a(0x22e)]-0x1,_0x4feb7b;_0x358da9>=0x0;_0x358da9--)(_0x4feb7b=_0x59820b[_0x358da9])&&(_0x3dbf8f=(_0x2d8e09?_0x4feb7b(_0x273098,_0xcabd99,_0x3dbf8f):_0x4feb7b(_0x3dbf8f))||_0x3dbf8f);return _0x2d8e09&&_0x3dbf8f&&br(_0x273098,_0xcabd99,_0x3dbf8f),_0x3dbf8f;},vt=(_0x47c243,_0x2f46c0)=>(_0x4c3f71,_0x150a11)=>_0x2f46c0(_0x4c3f71,_0x150a11,_0x47c243);let st=class{constructor(_0x494210,_0x585d8b,_0x144bff){var _0x14acb2=_0x180182;this[_0x14acb2(0x2c9)]=_0x494210,this[_0x14acb2(0x2a3)]=_0x585d8b,this['localeService']=_0x144bff,this[_0x14acb2(0x31d)]();}['init'](){var _0x2b9610=_0x180182;this['_httpService'][_0x2b9610(0x1a9)]({'priority':0x1,'interceptor':(_0x41200e,_0x3d55da)=>_0x3d55da(_0x41200e)['pipe'](_0x23a868(async _0x1be8c4=>{var _0x28db38=_0x2b9610;const _0x59eb2a=_0x1be8c4;if(_0x59eb2a[_0x28db38(0x2f1)]===0x191){if(typeof window>'u')throw new Error(_0x28db38(0x245));if(window[_0x28db38(0x340)](this['localeService']['t'](_0x28db38(0x375)))){const _0x5ab3db=window[_0x28db38(0x348)](window[_0x28db38(0x39d)][_0x28db38(0x3e1)]);window[_0x28db38(0x39d)][_0x28db38(0x3e1)]=this[_0x28db38(0x299)]()+_0x28db38(0x16b)+_0x5ab3db;}}return _0x59eb2a;}))});}[_0x180182(0x299)](){var _0x270af3=_0x180182,_0x31b396,_0x58f331;const _0x6ebaef=this[_0x270af3(0x2c9)][_0x270af3(0x3b2)](xn),_0x5c7237=this['_configService'][_0x270af3(0x3b2)](q);return(_0x58f331=(_0x31b396=_0x5c7237==null?void 0x0:_0x5c7237[_0x270af3(0x354)])!=null?_0x31b396:_0x6ebaef)!=null?_0x58f331:Ln;}};st=yr([vt(0x0,_0x1d880c),vt(0x1,_0x353e29(_0x3a1dbb)),vt(0x2,_0x353e29(_0x481fdb))],st);var Nr=Object[_0x180182(0x223)],Dr=Object[_0x180182(0x2dc)],Pr=(_0xb3124,_0x58c370,_0xb749ef,_0x26f90b)=>{var _0x5f3515=_0x180182;for(var _0x14f85c=_0x26f90b>0x1?void 0x0:_0x26f90b?Dr(_0x58c370,_0xb749ef):_0x58c370,_0x4c33eb=_0xb3124[_0x5f3515(0x22e)]-0x1,_0x260f01;_0x4c33eb>=0x0;_0x4c33eb--)(_0x260f01=_0xb3124[_0x4c33eb])&&(_0x14f85c=(_0x26f90b?_0x260f01(_0x58c370,_0xb749ef,_0x14f85c):_0x260f01(_0x14f85c))||_0x14f85c);return _0x26f90b&&_0x14f85c&&Nr(_0x58c370,_0xb749ef,_0x14f85c),_0x14f85c;},Xt=(_0x6a01b7,_0x453ee8)=>(_0x1b738e,_0x379806)=>_0x453ee8(_0x1b738e,_0x379806,_0x6a01b7);const Pi=_0x180182(0x43b),wr=_0x180182(0x1d9);let bt=class extends _0x5e1af1{constructor(_0x258242,_0x543b4b){var _0x4b01c1=_0x180182;super(),this['_HTTPService']=_0x258242,this[_0x4b01c1(0x2c9)]=_0x543b4b,this[_0x4b01c1(0x423)]();}[_0x180182(0x423)](){var _0x4f3dd2=_0x180182;const _0x5addec=this;this[_0x4f3dd2(0x437)](this[_0x4f3dd2(0x3bb)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x575011({'isMatch'(_0x283611){var _0x247799=_0x4f3dd2,_0xe77402;if(_0x283611[_0x247799(0x3ba)]===_0x247799(0x26f)&&((_0xe77402=_0x283611['requestParams'])!=null&&_0xe77402[_0x247799(0x406)])){const {objectID:_0x213401,objectType:_0x518fff}=_0x283611[_0x247799(0x420)]['body']||{};if(!_0x213401||_0x518fff===void 0x0)return!0x1;const _0x3b61b2=_0x5addec['_getAPIPrefixPath']()+'/'+_0x518fff+_0x247799(0x1e6)+_0x213401+_0x247799(0x398);if(_0x283611[_0x247799(0x3a8)]===_0x3b61b2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4fbafc){var _0xf515b2=_0x4f3dd2,_0x2d9c2f;return(_0x2d9c2f=_0x4fbafc[_0xf515b2(0x420)])==null?void 0x0:_0x2d9c2f['body'];},'mergeParamsToRequest'(_0x8b1869,_0x32ce20){var _0x31ad16=_0x4f3dd2;const _0x3702d9=_0x5addec[_0x31ad16(0x232)]()+_0x31ad16(0x393),_0x4198b2=_0x8b1869[_0x31ad16(0x170)]((_0x174dd3,_0x3cc777)=>{const {unitID:_0x47a6ba,objectID:_0x115274,objectType:_0x22713c,actions:_0x47be10}=_0x3cc777;return _0x174dd3[_0x47a6ba]||(_0x174dd3[_0x47a6ba]={}),_0x174dd3[_0x47a6ba][_0x115274]||(_0x174dd3[_0x47a6ba][_0x115274]={'objectID':_0x115274,'objectType':_0x22713c,'actions':[]}),_0x174dd3[_0x47a6ba][_0x115274]['actions']['push'](..._0x47be10),_0x174dd3;},{}),_0x1096ca=[];for(const _0x456e96 in _0x4198b2)for(const _0xf9d7fb in _0x4198b2[_0x456e96]){const {actions:_0x3659d6,objectType:_0x40f311}=_0x4198b2[_0x456e96][_0xf9d7fb],_0x2e510d=[...new Set(_0x3659d6)];_0x1096ca['push']({'unitID':_0x456e96,'objectID':_0xf9d7fb,'objectType':_0x40f311,'actions':_0x2e510d});}return new _0x3087b5(_0x31ad16(0x26f),_0x3702d9,{'headers':_0x32ce20[_0x31ad16(0x357)],'withCredentials':_0x32ce20[_0x31ad16(0x37a)],'responseType':_0x32ce20['responseType'],'body':{'requests':_0x1096ca}});}},{'distributeResult'(_0x10ea4b,_0x1304b6){var _0x2c576e=_0x4f3dd2;const {objectActions:_0x4c8ca3}=_0x10ea4b;return _0x1304b6[_0x2c576e(0x318)](_0x5ed929=>{var _0x2b3f45=_0x2c576e;const {unitID:_0x1853f0,objectID:_0x590b33,actions:_0x2cf074}=_0x5ed929,_0x2a5121=_0x4c8ca3[_0x2b3f45(0x22c)](_0x5e0af8=>_0x5e0af8['unitID']===_0x1853f0&&_0x5e0af8[_0x2b3f45(0x33a)]===_0x590b33),_0x4b72b8=_0x2cf074[_0x2b3f45(0x318)](_0x270954=>_0x2a5121==null?void 0x0:_0x2a5121[_0x2b3f45(0x463)][_0x2b3f45(0x22c)](_0x2fc657=>_0x2fc657[_0x2b3f45(0x431)]===_0x270954))['filter'](_0x1db0ac=>!!_0x1db0ac);return{'config':_0x5ed929,'result':{'actions':_0x4b72b8,'error':_0x10ea4b[_0x2b3f45(0x458)]}};});}})}));}[_0x180182(0x232)](){var _0x98e14e=_0x180182,_0x45ff52,_0x27570b;const _0x5e61b2=this[_0x98e14e(0x2c9)][_0x98e14e(0x3b2)](Pi),_0x3e3c85=this[_0x98e14e(0x2c9)][_0x98e14e(0x3b2)](q);return(_0x27570b=(_0x45ff52=_0x3e3c85==null?void 0x0:_0x3e3c85[_0x98e14e(0x383)])!=null?_0x45ff52:_0x5e61b2)!=null?_0x27570b:wr;}async[_0x180182(0x220)](_0x5b3392){var _0x48a60e=_0x180182;const _0x1cabfd=this[_0x48a60e(0x232)]()+'/'+_0x5b3392['objectType']+_0x48a60e(0x46b);return(await this[_0x48a60e(0x3bb)]['post'](_0x1cabfd,{'body':_0x5b3392}))[_0x48a60e(0x406)][_0x48a60e(0x33a)]||'';}async[_0x180182(0x3c3)](_0x55b375){var _0x111647=_0x180182;const _0x2dbe73=this[_0x111647(0x232)]()+'/-/object/list';return(await this[_0x111647(0x3bb)][_0x111647(0x2ca)](_0x2dbe73,{'body':_0x55b375}))[_0x111647(0x406)][_0x111647(0x345)];}async[_0x180182(0x3ab)](_0xa56724){var _0x2c6c0b=_0x180182;const _0x59ebc8=this[_0x2c6c0b(0x232)]()+'/'+_0xa56724[_0x2c6c0b(0x3bd)]+_0x2c6c0b(0x1e6)+_0xa56724['objectID'];await this['_HTTPService'][_0x2c6c0b(0x1e8)](_0x59ebc8,{'body':_0xa56724});}async['allowed'](_0x22f300){var _0x9438c3=_0x180182;const _0xb2147b=this[_0x9438c3(0x232)]()+'/'+_0x22f300[_0x9438c3(0x3bd)]+_0x9438c3(0x1e6)+_0x22f300[_0x9438c3(0x33a)]+_0x9438c3(0x398);return(await this['_HTTPService'][_0x9438c3(0x2ca)](_0xb2147b,{'body':_0x22f300}))[_0x9438c3(0x406)]['actions'];}async[_0x180182(0x302)](_0x2af351){var _0x4cd80b=_0x180182;const _0x28805c=this['_getAPIPrefixPath']()+_0x4cd80b(0x393);return(await this[_0x4cd80b(0x3bb)][_0x4cd80b(0x2ca)](_0x28805c,{'body':{'requests':_0x2af351}}))[_0x4cd80b(0x406)][_0x4cd80b(0x427)];}async[_0x180182(0x273)](_0x101d6e){var _0x58b505=_0x180182;const _0x5751d7=this['_getAPIPrefixPath']()+'/'+_0x101d6e[_0x58b505(0x3bd)]+'/role',_0x525fd8=await this['_HTTPService'][_0x58b505(0x2ca)](_0x5751d7,{'body':_0x101d6e});return{'roles':_0x525fd8['body'][_0x58b505(0x304)],'actions':_0x525fd8[_0x58b505(0x406)]['actions']};}async['deleteCollaborator'](_0x1fa495){var _0xf492dc=_0x180182;const _0xf82188=this[_0xf492dc(0x232)]()+_0xf492dc(0x442);await this[_0xf492dc(0x3bb)]['delete'](_0xf82188,{'params':{'collaboratorID':_0x1fa495[_0xf492dc(0x390)],'objectID':_0x1fa495[_0xf492dc(0x33a)],'unitID':_0x1fa495[_0xf492dc(0x1ea)]}});}async[_0x180182(0x1f0)](_0x2d98e9){var _0xb39e51=_0x180182;const _0x5a66e2=this[_0xb39e51(0x232)]()+_0xb39e51(0x442);await this[_0xb39e51(0x3bb)]['patch'](_0x5a66e2,{'body':_0x2d98e9});}async[_0x180182(0x477)](_0x5a149d){var _0x2a3414=_0x180182;const _0x454b9e=this[_0x2a3414(0x232)]()+_0x2a3414(0x442);await this[_0x2a3414(0x3bb)][_0x2a3414(0x2ca)](_0x454b9e,{'body':_0x5a149d});}async[_0x180182(0x1dc)](_0x19334c){var _0x3cab42=_0x180182;const _0x1d9465=this[_0x3cab42(0x232)]()+'/collaborator';return(await this[_0x3cab42(0x3bb)][_0x3cab42(0x42e)](_0x1d9465,{'params':{'objectID':_0x19334c[_0x3cab42(0x33a)],'unitID':_0x19334c[_0x3cab42(0x1ea)]}}))[_0x3cab42(0x406)][_0x3cab42(0x246)];}async[_0x180182(0x1cf)](_0x837719){var _0x1e436c=_0x180182;const _0x538353=this[_0x1e436c(0x232)]()+_0x1e436c(0x442);await this[_0x1e436c(0x3bb)]['put'](_0x538353,{'body':_0x837719});}};bt=Pr([Xt(0x0,_0x353e29(_0x3a1dbb)),Xt(0x1,_0x353e29(_0x1d880c))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x6f5dc){var _0x1e7da0=_0x180182;return _0x6f5dc&&_0x6f5dc[_0x1e7da0(0x269)]&&Object[_0x1e7da0(0x433)]['hasOwnProperty']['call'](_0x6f5dc,'default')?_0x6f5dc[_0x1e7da0(0x240)]:_0x6f5dc;}function _0x2aa8(){var _0x4fb271=['_imageSourceCache','getValue','decryptBlock','_transformStack','_cipher','_waitForHeartbeatResponse','capture','map','selections','unknown','UNIVER_PROJECT','unitId\x20is\x20not\x20found','init','name','generateRandomId','MUTATION','UNAUTHENTICATED','_transformService','[FetchMissState]','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getUnitOnRev','_getCtorByUniverType','src','SEND_CHANGESET_TIMEOUT','_state','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','waitForRoom$','csShouldRetryEvent','_resendWithTimeout','_onRemoteACK','startsWith','People','/universer-api/oidc/authpage','Undefined','random','CHANGESET_SHOULD_RETRY','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getFocusedUnit','INGEST','_socketReady','_getDownloadEndpointURL','objectID','_xformMode','keySize','[CollaborationSession]','searchParams','indexOf','confirm','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Base','randomBytes','SHOULD_CLOSE_CONN','objects','collaboration-client.config','FileId','encodeURIComponent','CHANGESET_REVISION_CONFILICT','save\x20fail\x20reason\x20is\x20','onLocalMutation','socketService','reconnect','setShowComponents','origin','6896hWeVjv','_checkMissing','crypto','_loadSheet','loginUrlKey','_onJoinRoomEvent','UPDATE_PERMISSION_OBJ','headers','OFFLINE','199776MhLceb','isArray','send','enableAuthServer','onSyncEditingCollabCursor','_updateLocalCache','_snapshotService','fetchMissingChangesets','_toggleOffline','LIVESHARE_REQUEST_HOST','_hasher','_ENC_XFORM_MODE','_shouldReportTelemetry','close$','transformSelections','_loadDoc','LICENSE_IMPORT_SIZE_EXCEEDED','Encryptor','getTypeOfUnitDisposed$','_state$','unitInfo$','_createSocket','getUnitStatus$','[CollaborationState]:\x20apply\x20error!','_resendTimer','updatePermissionObjEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','salt','auth.needGotoLoginAlert','_collaborationTimeoutTimer','[OfflineState]:\x20received\x20rejection.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','buffer','withCredentials','application/json','splice','NOT_FOUND','execute','_onFetchMissResult','_commandService','getImageSourceCache','/universer-api/snapshot','authzUrl','loadUnit','NEW_CHANGESETS','ERROR_EXCEED_SIZE','override','HMAC','UNDEFINED','compute','_roomCreated$','LIVESHARE_NEW_HOST','FETCH_MISSING','unit-cache-','UNIVER_SLIDE','collaboratorID','Univer','session.room-permission-denied','/-/object/-/batch_allowed','isPermissionRej','SYNCED','_submitChangeset','dispose','/allowed','SUCCUSS','blockSize','cmd','csAckEvent','location','sessionStatus','onTransformState','_changesetReqId','[DataLoaderService]','sigBytes','add','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_revisionService','AWAITING_WITH_PENDING','UNRECOGNIZED','url','_unitInfo$','_onRecvEvent','update','range','/universer-api/uniscript','_entityInit$','image/jpg','type','getUnitType','getConfig','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','UNIVER_COLLABORATION_CLIENT_PLUGIN','sheets','concat','awaiting_with_pending','synced','_rescheduleHeartbeat','method','_HTTPService','_handlerCallback','objectType','c2Prime','call','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','createSocket','_createHelper','list','session.room-cnt-exceeds','_redoStacks','CONNECTOR_DATA_TOO_LARGE','_decreaseWaiting','_sendHeartbeatTimer','byteOffset','roomInfos','reset','_disableEditing','NoPadding','getTime','PERMISSION_DENIED','SUBMIT_CHANGESET','HttpExport','getInterceptPoints','_type','format','CONFLICT','_getUploadFileURL','copyFileMeta','_getRedoStack','_startTelemetryCollaborationNewChangeset','avatar','socket\x20open.','univer-pro.collaboration-client.single-active-unit-service','UNKNOWN_CMD','processBlock','collabSubmitChangesetUrl','LOCAL_CACHE_INTERVAL','href','extend','encryptBlock','Hex','resourceIDs','_minBufferSize','_collaborationPaused','set','/universer-api/file/{fileID}/sign-url','COMPLETION_FINISHED','onRemoteRetry','editingUnit','_retryCount','USERS_LEAVE','getCurrentUser','1307355isrbRx','requireSession','UNIVER_UNKNOWN','stopTime','fromCharCode','signUrlServerUrl','emitEvent','_undoStacks','mutations','_clearUndo','loadSheet','Hasher','LICENSE_DISTRO_REJECTED','conflict','_listenToNetworkCondition','_injector','onload','[CollaborationSessionService]','OpenSSL','_incrementRevisionNumber','_collaborationSessionService','apply','body','now','_clearLocalCache','image/jpeg','updateCursorEvent','SOCKET_FAILED','state','GLOBAL_ROOMS_CNT_EXCEEDS','USERS_ENTER','_sendingTimer','hasher','findIndex','ALREADY_EXISTS','rng','304840FaIbhf','JOINING','_updateStatus','_clearRedo','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_onRemoteRejected','_socket','hostname','CLOSE_ROOM','_getSessionTicket','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','eventID','requestParams','_throwTelemetryCollaborationNewChangeset','_awaitingChangeset','_initMergeInterceptor','shouldCloseConn','getMember','[SyncedState]:\x20received\x20acknowledgement.','objectActions','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[CollaborationSessionService]:\x20socket\x20error','_snapshotServerService','onSendChangeset','CBC','not_collab','get','m2Prime','onCommentUpdate','action','BASE64','prototype','close','liveShareNewHost','decrypt','disposeWithMe','LEAVE','_removeRoom','downloadEndpointUrl','AUTHZ_URL_KEY','padding','_doReset','_status$','onMissedChangesetFetched','_getCurrentRevision','ws://127.0.0.1:8000/universer-api/comb/connect','/collaborator','_change$','addHandlerCallback','Cipher','_queuedRemoteChangesets','_getSignURL','min','_waitCount','_timeoutTimer','APPLY_REVISION_CONFILICT','c1Prime','code','_showConflictNotification','__Key__','_sessions','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','leaveEvent','revision','MD5','UNKNOWN_CODE','onRemoteAck','closeSession','error','charCodeAt','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_SHEET','joinEvent','error$','toggleOffline','_onUserLeave','_scheduleCollaborationTimeoutTimer','_append','\x20-\x20','actions','incrementRevOfUnit','readyForCollab','search','_retryConnectingTimer','_updateState','PY_RUNTIME_SCRIPT_ERROR','getUnit','/object','/universer-api/snapshot/','pending','encode','forEach','onTransformIME','APPLY_REJECT','offline','asObservable','INVALID_ARGUMENT','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','UnitEmbedded','createCollaborator','enableSingleActiveInstanceLock','runId','_startCollaboration','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','?url=','onCommandExecuted','sessionTicket','_userManagerService','fetchThroughInterceptors','reduce','_localCacheService','[SyncedState]:\x20received\x20rejection.','complete','snapshot','loadDoc','1155gzZOPv','BlockCipherMode','_handler','telemetry\x20info\x20is\x20not\x20initialized','_telemetryInfo','_onRemoteChangeset','_transformIMECache','PSEUDO_FETCH_MISSING_RESULT','resolve','finalize','data','EXCHANGE_SIGN_URL_SERVER_URL_KEY','createInstance','_replaceFileID','_nRounds','retryConnectingInterval','ceil','_unlockTransition','LICENSE_EXPORT_SIZE_EXCEEDED','x-univer-host','unitId','Utf8','APPLY_PERMISSION_DENIED','parse','localCacheService','size','open$','toString','fetchMiss','_stopTelemetryCollaborationNewChangeset','MSG_FOR_ERROR','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','sendChangesetTimeout','CipherParams','transformUndoRedo','onTransformRemoteChangesetByIMECache','routeKey','JOIN','YUUMI_RATE_OVER_LIMIT','_scheduleCompleteTimestamp','transformChangesets','subUnitId','editing\x20status\x20changed\x20to','YUUMI_URL_COL_OUT_OF_RANGE','_logService','LICENSE_MAX_UNITS_EXCEEDED','LIVESHARE_FETCH_OPERATIONS','_collaborationUIEventService','_remoteChangesetQueue','clear','replace','registerHTTPInterceptor','WordArray','_createInitialState','exports','JOIN_ROOM_NOT_EXISTS','uniscriptRunEvent','updatePermissionPoint','saveImage','_onConnectionOpen','string','members','mixIn','COMPRESS_MUTATION_SEND','OTHER_CLIENT_EDITING','Base64','_event$','_sheetTransformSelectionsService','LIVESHARE_TERMINATE','commentUpdate$','/universer-api/comb','permissionRejEvent','SNAPSHOT_INVALID_SNAPSHOT','append','_exhaustRemoteChangesetQueue','_parse','&source=','getMemberID','_onConnectionFailed','setWaitCount','_hash','delete','univer-pro.collaboration-client-socket-service','next','YUUMI_UNABLE_LOAD_URL','getWorkbookSelections','CHANGESET_ACK','_config','onRemoteChangeset','putCollaborators','hasOwnProperty','SUBMIT_CHANGESET_TIMEOUT','failed\x20to\x20apply\x20missed\x20changesets!','_invKeySchedule','_transformSelections','/block/','OPTIONAL','ERROR_IMAGE_TYPE','_transitionLocked','/universer-api/authz','subject','\x20in\x20_schedule.','listCollaborators','connection\x20error','updateOfflineData','pipe','_onMessage','clamp','dispose$','__creator','_tryEnsureSocket','words','/object/','{fileID}','put','symbol','unitID','includes','getSheetId','IDLE','ciphertext','_fetchMissChangesets','updateCollaborator','then','_entities','createEncryptor','_transformRemoteChangesetByIMECache','_createHandler','[PendingState]:\x20received\x20acknowledgement.','SOCKET_FAILED_RETRY','onTransformSelections','entityInit$','_commentService','ERROR_IMAGE','awaiting','_sessionStatus$','status$','executeCommand','_commentUpdate$','initWorkbookPermissionChange','_doFinalize','json','fetch_missing','JOIN_ROOM_PERMISSION_DENIED','_permissionService','_univerInstanceService','onRemoteRej','SNAPSHOT_HAS_BEEN_REMOVED','interceptor','_syncEditingCollabCursor','originalMeta','Error\x20on\x20receiving\x20event','HEARTBEAT_INTERVAL','getUnitId','_onRemoteRetry','enc','sessionStatus$','_substituteUndoStack','_data','image/gif','&to=','charAt','BufferedBlockAlgorithm','_substituteRedoStack','sid','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_http','_applyRemoteChangeset','compose','kdf','create','_joinRoom','collabWebSocketUrl','defineProperty','FETCH_MISS','802QbYrlM','_createInitialStateImpl','_transformStateCache','UnitSnapshot','snapshotServerUrl','_getSendChangesetTimeout','_createSocketURL','find','UPDATE_CURSOR','length','PERMISSION_REJ','EvpKDF','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getAPIPrefixPath','onlyLocal','awaitingChangeset','_instanceService','_createHmacHelper','_clearCollaborationTimeoutTimer','_roomMembers','_key','AES','_networkConditionService','univer-pro.collaboration-client.network-condition.service','debug','_socketService','4253830mpyVCu','default','session.join-failed','Decryptor','readAsDataURL','saveChangeset','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','collaborators','push','transformStack\x20failed!','_undoRedoService','_initRequestHeader','reqId','PasswordBasedCipher','subscribe','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','FAIL','_tryReconnect','_changesetSessionId','_iv','loadOfflineData','_DEC_XFORM_MODE','lib','ticket','_compressMutationService','getCollabEntity$','algo','_process','formatter','/new_changes','iterations','removeMember','session','_map','pad','SerializableCipher','enableOfflineEditing','getCollabEntity','online$','_doCryptBlock','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','has','__esModule','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','PERSON','bind','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','/fetchmissing?from=','POST','_onCombEvent','SNAPSHOT_SERVER_URL_KEY','YUUMI_SUBSCRIPTION_NOT_FOUND','listRoles','DEFAULT_FILE_NAME','LOGIN_URL_KEY','/rev/','25vZLJrD','_getAPIPrefix','byteLength','INTERNAL_ERROR','event$','ONLINE','getLatestCsReqIdBySid','168884QMUCmy','onTransformRemoteChangesetByStateCache','[PendingState]:\x20received\x20rejection.','baseRev','UNIVER_DOC','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','encrypt','_clearTimeoutTimer','?size=','JOIN_ROOM_FAILED','image/png','message$','readInt32LE','_registerDependencies','floor','_isPermissionRej','clone','_unitID','_clearHeartbeatTimer','msCrypto','getDeserializedSheetBlock','filter','uploadFileServerUrl','_authzIoService','_singleActiveUnitService','every','COMPRESS_MUTATION_APPLY','_getLoginPath','_schedule','getResourcesRequest','_mode','updateMember','result','reject','\x20to\x20','collaboration_new_changeset','_members$','_httpService','/universer-api/user/session-ticket','memberID','[CollaborationEntity]','RECV','_onConflict','session.room-full','getRandomValues','session.room-not-exists','unpad','members$','workbook','disableLocalCache','_socket$','rev','transformMutationsWithChangeset','OTHER_CLIENTS_EDITING','abs','NO_OTHER_CLIENTS_EDITING','ENSURE_SNAPSHOT_EXECUTION','randomUUID','_reverseMap','HEARTBEAT_TIMEOUT','cfg','TOO_MANY_REQUESTS','_clearScheduledTask','toggleOnline','resend','getTypeOfUnitAdded$','unsubscribe','_sendHeartbeat','SHA1','reverse','_prevBlock','_memberService','_acknowledgedAwaitingChangeset','onMissingChangesets','entries','_configService','post','_replayCachedMutations','params','catch','_pendingMutations','_sender','_init','addImageSourceCache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_members','_socketMessageSubscription','getSnapshotAPIPath','[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.','/resources','slice','deepClone','APPLY_NON_SEQUENTIAL_REVISION','values','getOwnPropertyDescriptor','focused$','key','getCurrentRevOfUnit','APPLY_DUPLICATED','_candidateSocket','Malformed\x20UTF-8\x20data','LIVESHARE_OPERATION','join','changesets','COLLAB_SUBMIT_CHANGESET_URL','_executeRemoteChangeset','_keySchedule','refreshPermission','CHANGESET_REJ','COMMENT_UPDATE','_initUnitPermissionChange','function','_oKey','HEARTBEAT','HttpImport','status','state$','_emitMembers','AWAITING','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Pkcs7','collaMsg','HELLO','_onLocalMutation','/unit/','_localeService','stringify','JOIN_ROOM_FULL','_telemetryService','_initDependencies','[OfflineState]:\x20received\x20changeset.','mode','batchAllowed','change$','roles','_keyPriorReset','appendMutation','_resendTimeout','_nDataBytes','BlockCipher','_lockTransition','_transformRemoteChangesetByStateCache','_iKey','4752UHQoSP','_initCloseConn','_eventService','_toggleOnline'];_0x2aa8=function(){return _0x4fb271;};return _0x2aa8();}var Ve={'exports':{}};function Ur(_0x138e31){var _0x5bd389=_0x180182;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x138e31+_0x5bd389(0x3c0));}var Ge={'exports':{}},Ar=Ge[_0x180182(0x1ac)],Zt;function ne(){var _0x8a723c=_0x180182;return Zt||(Zt=0x1,function(_0x35cdce,_0xb3d943){(function(_0x26d079,_0x18ed49){var _0x425c82=_0x11d4;_0x35cdce[_0x425c82(0x1ac)]=_0x18ed49();}(Ar,function(){var _0x4ba23f=_0x4ba23f||function(_0x2567a4,_0x3bf5c9){var _0xccb5c1=_0x11d4,_0x5d382a;if(typeof window<'u'&&window[_0xccb5c1(0x352)]&&(_0x5d382a=window[_0xccb5c1(0x352)]),typeof self<'u'&&self['crypto']&&(_0x5d382a=self[_0xccb5c1(0x352)]),typeof globalThis<'u'&&globalThis[_0xccb5c1(0x352)]&&(_0x5d382a=globalThis[_0xccb5c1(0x352)]),!_0x5d382a&&typeof window<'u'&&window[_0xccb5c1(0x291)]&&(_0x5d382a=window[_0xccb5c1(0x291)]),!_0x5d382a&&typeof pt<'u'&&pt[_0xccb5c1(0x352)]&&(_0x5d382a=pt[_0xccb5c1(0x352)]),!_0x5d382a&&typeof Ur=='function')try{_0x5d382a=require(_0xccb5c1(0x352));}catch{}var _0xe31af5=function(){var _0x1ac77a=_0xccb5c1;if(_0x5d382a){if(typeof _0x5d382a[_0x1ac77a(0x2aa)]=='function')try{return _0x5d382a['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5d382a[_0x1ac77a(0x343)]=='function')try{return _0x5d382a['randomBytes'](0x4)[_0x1ac77a(0x28a)]();}catch{}}throw new Error(_0x1ac77a(0x21b));},_0x35ab9f=Object[_0xccb5c1(0x220)]||(function(){function _0x1eb570(){}return function(_0x33e503){var _0x372794=_0x11d4,_0x9dd85f;return _0x1eb570[_0x372794(0x433)]=_0x33e503,_0x9dd85f=new _0x1eb570(),_0x1eb570[_0x372794(0x433)]=null,_0x9dd85f;};}()),_0x20c672={},_0x2dd585=_0x20c672[_0xccb5c1(0x255)]={},_0x416255=_0x2dd585[_0xccb5c1(0x342)]=(function(){return{'extend':function(_0x1b0af3){var _0x11c4b3=_0x11d4,_0x52c955=_0x35ab9f(this);return _0x1b0af3&&_0x52c955[_0x11c4b3(0x1b4)](_0x1b0af3),(!_0x52c955[_0x11c4b3(0x1d0)](_0x11c4b3(0x31d))||this[_0x11c4b3(0x31d)]===_0x52c955[_0x11c4b3(0x31d)])&&(_0x52c955[_0x11c4b3(0x31d)]=function(){_0x52c955['$super']['init']['apply'](this,arguments);}),_0x52c955[_0x11c4b3(0x31d)][_0x11c4b3(0x433)]=_0x52c955,_0x52c955['$super']=this,_0x52c955;},'create':function(){var _0xc9293e=_0x11d4,_0x1b577c=this['extend']();return _0x1b577c[_0xc9293e(0x31d)][_0xc9293e(0x405)](_0x1b577c,arguments),_0x1b577c;},'init':function(){},'mixIn':function(_0x350c07){var _0x9db6c6=_0x11d4;for(var _0x57da1f in _0x350c07)_0x350c07[_0x9db6c6(0x1d0)](_0x57da1f)&&(this[_0x57da1f]=_0x350c07[_0x57da1f]);_0x350c07[_0x9db6c6(0x1d0)](_0x9db6c6(0x191))&&(this[_0x9db6c6(0x191)]=_0x350c07[_0x9db6c6(0x191)]);},'clone':function(){var _0x544763=_0x11d4;return this[_0x544763(0x31d)][_0x544763(0x433)][_0x544763(0x3e2)](this);}};}()),_0x37bd30=_0x2dd585[_0xccb5c1(0x1aa)]=_0x416255[_0xccb5c1(0x3e2)]({'init':function(_0x43f734,_0x3c529d){var _0x33196d=_0xccb5c1;_0x43f734=this[_0x33196d(0x1e5)]=_0x43f734||[],_0x3c529d!=_0x3bf5c9?this[_0x33196d(0x3a2)]=_0x3c529d:this[_0x33196d(0x3a2)]=_0x43f734[_0x33196d(0x22e)]*0x4;},'toString':function(_0x36791a){var _0x1db053=_0xccb5c1;return(_0x36791a||_0x2ed1da)[_0x1db053(0x2fc)](this);},'concat':function(_0x3c4d11){var _0x416cf7=_0xccb5c1,_0x2e24f6=this['words'],_0x2d0a9b=_0x3c4d11[_0x416cf7(0x1e5)],_0x249a7d=this[_0x416cf7(0x3a2)],_0x24f091=_0x3c4d11['sigBytes'];if(this[_0x416cf7(0x1e1)](),_0x249a7d%0x4)for(var _0x46fb62=0x0;_0x46fb62<_0x24f091;_0x46fb62++){var _0x4b2a7f=_0x2d0a9b[_0x46fb62>>>0x2]>>>0x18-_0x46fb62%0x4*0x8&0xff;_0x2e24f6[_0x249a7d+_0x46fb62>>>0x2]|=_0x4b2a7f<<0x18-(_0x249a7d+_0x46fb62)%0x4*0x8;}else{for(var _0x226b3b=0x0;_0x226b3b<_0x24f091;_0x226b3b+=0x4)_0x2e24f6[_0x249a7d+_0x226b3b>>>0x2]=_0x2d0a9b[_0x226b3b>>>0x2];}return this[_0x416cf7(0x3a2)]+=_0x24f091,this;},'clamp':function(){var _0x3ad685=_0xccb5c1,_0x15da29=this[_0x3ad685(0x1e5)],_0x28e004=this[_0x3ad685(0x3a2)];_0x15da29[_0x28e004>>>0x2]&=0xffffffff<<0x20-_0x28e004%0x4*0x8,_0x15da29['length']=_0x2567a4[_0x3ad685(0x186)](_0x28e004/0x4);},'clone':function(){var _0x5f4d4d=_0xccb5c1,_0x121f29=_0x416255[_0x5f4d4d(0x28e)][_0x5f4d4d(0x3bf)](this);return _0x121f29['words']=this[_0x5f4d4d(0x1e5)][_0x5f4d4d(0x2d8)](0x0),_0x121f29;},'random':function(_0x5de738){var _0x5fbd88=_0xccb5c1;for(var _0x3fc4f1=[],_0x1680b7=0x0;_0x1680b7<_0x5de738;_0x1680b7+=0x4)_0x3fc4f1[_0x5fbd88(0x247)](_0xe31af5());return new _0x37bd30[(_0x5fbd88(0x31d))](_0x3fc4f1,_0x5de738);}}),_0x4528f5=_0x20c672[_0xccb5c1(0x211)]={},_0x2ed1da=_0x4528f5[_0xccb5c1(0x3e4)]={'stringify':function(_0x501a5c){var _0x3c2cf7=_0xccb5c1;for(var _0x3d34e3=_0x501a5c['words'],_0x341637=_0x501a5c[_0x3c2cf7(0x3a2)],_0x3f5848=[],_0x12b061=0x0;_0x12b061<_0x341637;_0x12b061++){var _0x24bf54=_0x3d34e3[_0x12b061>>>0x2]>>>0x18-_0x12b061%0x4*0x8&0xff;_0x3f5848[_0x3c2cf7(0x247)]((_0x24bf54>>>0x4)[_0x3c2cf7(0x191)](0x10)),_0x3f5848[_0x3c2cf7(0x247)]((_0x24bf54&0xf)[_0x3c2cf7(0x191)](0x10));}return _0x3f5848[_0x3c2cf7(0x2e4)]('');},'parse':function(_0x299e63){var _0x1f625b=_0xccb5c1;for(var _0x163045=_0x299e63['length'],_0x4dd180=[],_0x147eb=0x0;_0x147eb<_0x163045;_0x147eb+=0x2)_0x4dd180[_0x147eb>>>0x3]|=parseInt(_0x299e63['substr'](_0x147eb,0x2),0x10)<<0x18-_0x147eb%0x8*0x4;return new _0x37bd30[(_0x1f625b(0x31d))](_0x4dd180,_0x163045/0x2);}},_0x549d42=_0x4528f5['Latin1']={'stringify':function(_0x25dc06){var _0x2f87b0=_0xccb5c1;for(var _0x1219e2=_0x25dc06['words'],_0x93d5b1=_0x25dc06[_0x2f87b0(0x3a2)],_0x2f933f=[],_0x35624d=0x0;_0x35624d<_0x93d5b1;_0x35624d++){var _0x541dc1=_0x1219e2[_0x35624d>>>0x2]>>>0x18-_0x35624d%0x4*0x8&0xff;_0x2f933f['push'](String[_0x2f87b0(0x3f4)](_0x541dc1));}return _0x2f933f[_0x2f87b0(0x2e4)]('');},'parse':function(_0x2b9914){var _0x3489f2=_0xccb5c1;for(var _0x2e0418=_0x2b9914[_0x3489f2(0x22e)],_0x37c0d7=[],_0x5848fd=0x0;_0x5848fd<_0x2e0418;_0x5848fd++)_0x37c0d7[_0x5848fd>>>0x2]|=(_0x2b9914[_0x3489f2(0x459)](_0x5848fd)&0xff)<<0x18-_0x5848fd%0x4*0x8;return new _0x37bd30[(_0x3489f2(0x31d))](_0x37c0d7,_0x2e0418);}},_0x413cdc=_0x4528f5[_0xccb5c1(0x18b)]={'stringify':function(_0x3f7350){var _0x5bba42=_0xccb5c1;try{return decodeURIComponent(escape(_0x549d42[_0x5bba42(0x2fc)](_0x3f7350)));}catch{throw new Error(_0x5bba42(0x2e2));}},'parse':function(_0x47b772){var _0x11abc2=_0xccb5c1;return _0x549d42[_0x11abc2(0x18d)](unescape(encodeURIComponent(_0x47b772)));}},_0x59f18c=_0x2dd585[_0xccb5c1(0x218)]=_0x416255['extend']({'reset':function(){var _0x3e43fe=_0xccb5c1;this['_data']=new _0x37bd30[(_0x3e43fe(0x31d))](),this[_0x3e43fe(0x308)]=0x0;},'_append':function(_0x528c62){var _0x11405c=_0xccb5c1;typeof _0x528c62==_0x11405c(0x1b2)&&(_0x528c62=_0x413cdc[_0x11405c(0x18d)](_0x528c62)),this[_0x11405c(0x214)][_0x11405c(0x3b6)](_0x528c62),this['_nDataBytes']+=_0x528c62[_0x11405c(0x3a2)];},'_process':function(_0x494860){var _0xb20c9a=_0xccb5c1,_0x2e6fdf,_0x3f0d9a=this[_0xb20c9a(0x214)],_0x1cc55c=_0x3f0d9a['words'],_0x2fa8f1=_0x3f0d9a[_0xb20c9a(0x3a2)],_0xe6f6c5=this[_0xb20c9a(0x39a)],_0x3885ab=_0xe6f6c5*0x4,_0x442de5=_0x2fa8f1/_0x3885ab;_0x494860?_0x442de5=_0x2567a4[_0xb20c9a(0x186)](_0x442de5):_0x442de5=_0x2567a4['max']((_0x442de5|0x0)-this[_0xb20c9a(0x3e6)],0x0);var _0xd6d582=_0x442de5*_0xe6f6c5,_0x5b7f91=_0x2567a4[_0xb20c9a(0x448)](_0xd6d582*0x4,_0x2fa8f1);if(_0xd6d582){for(var _0x3215a1=0x0;_0x3215a1<_0xd6d582;_0x3215a1+=_0xe6f6c5)this['_doProcessBlock'](_0x1cc55c,_0x3215a1);_0x2e6fdf=_0x1cc55c['splice'](0x0,_0xd6d582),_0x3f0d9a[_0xb20c9a(0x3a2)]-=_0x5b7f91;}return new _0x37bd30[(_0xb20c9a(0x31d))](_0x2e6fdf,_0x5b7f91);},'clone':function(){var _0x2b08a5=_0xccb5c1,_0x3b4a60=_0x416255[_0x2b08a5(0x28e)][_0x2b08a5(0x3bf)](this);return _0x3b4a60[_0x2b08a5(0x214)]=this[_0x2b08a5(0x214)][_0x2b08a5(0x28e)](),_0x3b4a60;},'_minBufferSize':0x0});_0x2dd585['Hasher']=_0x59f18c[_0xccb5c1(0x3e2)]({'cfg':_0x416255[_0xccb5c1(0x3e2)](),'init':function(_0x59c41a){var _0x12fd8a=_0xccb5c1;this['cfg']=this[_0x12fd8a(0x2ba)][_0x12fd8a(0x3e2)](_0x59c41a),this[_0x12fd8a(0x3cb)]();},'reset':function(){var _0x16e037=_0xccb5c1;_0x59f18c[_0x16e037(0x3cb)]['call'](this),this[_0x16e037(0x43d)]();},'update':function(_0x458933){var _0x3a5b21=_0xccb5c1;return this['_append'](_0x458933),this[_0x3a5b21(0x25a)](),this;},'finalize':function(_0x1371a9){_0x1371a9&&this['_append'](_0x1371a9);var _0x39d20d=this['_doFinalize']();return _0x39d20d;},'blockSize':0x10,'_createHelper':function(_0x29c62b){return function(_0x5806e5,_0x24877a){var _0x5bddae=_0x11d4;return new _0x29c62b['init'](_0x24877a)[_0x5bddae(0x17f)](_0x5806e5);};},'_createHmacHelper':function(_0x4cd800){return function(_0x7f8147,_0x42d174){var _0x15ee27=_0x11d4;return new _0x30a907[(_0x15ee27(0x388))]['init'](_0x4cd800,_0x42d174)[_0x15ee27(0x17f)](_0x7f8147);};}});var _0x30a907=_0x20c672['algo']={};return _0x20c672;}(Math);return _0x4ba23f;}));}(Ge)),Ge[_0x8a723c(0x1ac)];}var We={'exports':{}},xr=We[_0x180182(0x1ac)],Qt;function wi(){var _0xb3138c=_0x180182;return Qt||(Qt=0x1,function(_0x1b3f87,_0x7207fc){(function(_0x40010d,_0x1b60ce){var _0x484699=_0x11d4;_0x1b3f87[_0x484699(0x1ac)]=_0x1b60ce(ne());}(xr,function(_0x34696c){var _0x4f71b2=_0x11d4;return(function(){var _0x1883ea=_0x11d4,_0xc0a26=_0x34696c,_0x17e39e=_0xc0a26['lib'],_0x279081=_0x17e39e[_0x1883ea(0x1aa)],_0x37ef4f=_0xc0a26[_0x1883ea(0x211)];_0x37ef4f[_0x1883ea(0x1b7)]={'stringify':function(_0x22e623){var _0x385e88=_0x1883ea,_0x4e4e1a=_0x22e623[_0x385e88(0x1e5)],_0x3d047b=_0x22e623[_0x385e88(0x3a2)],_0x2ca3e6=this['_map'];_0x22e623[_0x385e88(0x1e1)]();for(var _0x276d99=[],_0x2f13c7=0x0;_0x2f13c7<_0x3d047b;_0x2f13c7+=0x3)for(var _0xaf4aec=_0x4e4e1a[_0x2f13c7>>>0x2]>>>0x18-_0x2f13c7%0x4*0x8&0xff,_0x14a972=_0x4e4e1a[_0x2f13c7+0x1>>>0x2]>>>0x18-(_0x2f13c7+0x1)%0x4*0x8&0xff,_0xf6692a=_0x4e4e1a[_0x2f13c7+0x2>>>0x2]>>>0x18-(_0x2f13c7+0x2)%0x4*0x8&0xff,_0x5ea61e=_0xaf4aec<<0x10|_0x14a972<<0x8|_0xf6692a,_0x5c84d9=0x0;_0x5c84d9<0x4&&_0x2f13c7+_0x5c84d9*0.75<_0x3d047b;_0x5c84d9++)_0x276d99['push'](_0x2ca3e6[_0x385e88(0x217)](_0x5ea61e>>>0x6*(0x3-_0x5c84d9)&0x3f));var _0x46b3ad=_0x2ca3e6['charAt'](0x40);if(_0x46b3ad){for(;_0x276d99[_0x385e88(0x22e)]%0x4;)_0x276d99[_0x385e88(0x247)](_0x46b3ad);}return _0x276d99['join']('');},'parse':function(_0x2d3503){var _0x22871d=_0x1883ea,_0x4416d1=_0x2d3503[_0x22871d(0x22e)],_0x4c736c=this[_0x22871d(0x260)],_0x31ab62=this['_reverseMap'];if(!_0x31ab62){_0x31ab62=this[_0x22871d(0x2b8)]=[];for(var _0xa75969=0x0;_0xa75969<_0x4c736c[_0x22871d(0x22e)];_0xa75969++)_0x31ab62[_0x4c736c[_0x22871d(0x459)](_0xa75969)]=_0xa75969;}var _0x18880d=_0x4c736c[_0x22871d(0x217)](0x40);if(_0x18880d){var _0x440a47=_0x2d3503[_0x22871d(0x33f)](_0x18880d);_0x440a47!==-0x1&&(_0x4416d1=_0x440a47);}return _0x1e54de(_0x2d3503,_0x4416d1,_0x31ab62);},'_map':_0x1883ea(0x26a)};function _0x1e54de(_0x797736,_0x2e2eda,_0x235f4d){for(var _0x18df6=[],_0x307446=0x0,_0x30d1d7=0x0;_0x30d1d7<_0x2e2eda;_0x30d1d7++)if(_0x30d1d7%0x4){var _0x459c71=_0x235f4d[_0x797736['charCodeAt'](_0x30d1d7-0x1)]<<_0x30d1d7%0x4*0x2,_0x4546d1=_0x235f4d[_0x797736['charCodeAt'](_0x30d1d7)]>>>0x6-_0x30d1d7%0x4*0x2,_0x30708d=_0x459c71|_0x4546d1;_0x18df6[_0x307446>>>0x2]|=_0x30708d<<0x18-_0x307446%0x4*0x8,_0x307446++;}return _0x279081['create'](_0x18df6,_0x307446);}}()),_0x34696c[_0x4f71b2(0x211)][_0x4f71b2(0x1b7)];}));}(We)),We[_0xb3138c(0x1ac)];}var Ke={'exports':{}},Lr=Ke[_0x180182(0x1ac)],ei;function Mr(){var _0x4a26d3=_0x180182;return ei||(ei=0x1,function(_0x2d702e,_0x45deb4){(function(_0x37505b,_0x204f8d){var _0x579ca2=_0x11d4;_0x2d702e[_0x579ca2(0x1ac)]=_0x204f8d(ne());}(Lr,function(_0x5e2071){var _0x47eecd=_0x11d4;return function(_0x4b822e){var _0x4c75aa=_0x11d4,_0x204d3e=_0x5e2071,_0x5dfc82=_0x204d3e['lib'],_0x185277=_0x5dfc82['WordArray'],_0x4eabb5=_0x5dfc82[_0x4c75aa(0x3fb)],_0x4a5202=_0x204d3e[_0x4c75aa(0x259)],_0x36fc21=[];(function(){var _0x468d8a=_0x4c75aa;for(var _0x25a8a6=0x0;_0x25a8a6<0x40;_0x25a8a6++)_0x36fc21[_0x25a8a6]=_0x4b822e[_0x468d8a(0x2b4)](_0x4b822e['sin'](_0x25a8a6+0x1))*0x100000000|0x0;}());var _0x58cc50=_0x4a5202[_0x4c75aa(0x454)]=_0x4eabb5[_0x4c75aa(0x3e2)]({'_doReset':function(){var _0x519386=_0x4c75aa;this[_0x519386(0x1c6)]=new _0x185277[(_0x519386(0x31d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x475b43,_0x8102c3){var _0x31934b=_0x4c75aa;for(var _0x4a1e12=0x0;_0x4a1e12<0x10;_0x4a1e12++){var _0x266e59=_0x8102c3+_0x4a1e12,_0x378087=_0x475b43[_0x266e59];_0x475b43[_0x266e59]=(_0x378087<<0x8|_0x378087>>>0x18)&0xff00ff|(_0x378087<<0x18|_0x378087>>>0x8)&0xff00ff00;}var _0x3752bb=this[_0x31934b(0x1c6)]['words'],_0x2ac98c=_0x475b43[_0x8102c3+0x0],_0x4be1cd=_0x475b43[_0x8102c3+0x1],_0x4a9261=_0x475b43[_0x8102c3+0x2],_0x1f227d=_0x475b43[_0x8102c3+0x3],_0xa359b7=_0x475b43[_0x8102c3+0x4],_0x47daf8=_0x475b43[_0x8102c3+0x5],_0x31dc38=_0x475b43[_0x8102c3+0x6],_0x4a44ac=_0x475b43[_0x8102c3+0x7],_0x5e0c2b=_0x475b43[_0x8102c3+0x8],_0x2a5bf7=_0x475b43[_0x8102c3+0x9],_0x406fe5=_0x475b43[_0x8102c3+0xa],_0x42b476=_0x475b43[_0x8102c3+0xb],_0x539e84=_0x475b43[_0x8102c3+0xc],_0x4b73b8=_0x475b43[_0x8102c3+0xd],_0x556640=_0x475b43[_0x8102c3+0xe],_0x25ec11=_0x475b43[_0x8102c3+0xf],_0x2575eb=_0x3752bb[0x0],_0x46884b=_0x3752bb[0x1],_0x18c27d=_0x3752bb[0x2],_0x10ef5d=_0x3752bb[0x3];_0x2575eb=_0x567649(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x2ac98c,0x7,_0x36fc21[0x0]),_0x10ef5d=_0x567649(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x4be1cd,0xc,_0x36fc21[0x1]),_0x18c27d=_0x567649(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x4a9261,0x11,_0x36fc21[0x2]),_0x46884b=_0x567649(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x1f227d,0x16,_0x36fc21[0x3]),_0x2575eb=_0x567649(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0xa359b7,0x7,_0x36fc21[0x4]),_0x10ef5d=_0x567649(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x47daf8,0xc,_0x36fc21[0x5]),_0x18c27d=_0x567649(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x31dc38,0x11,_0x36fc21[0x6]),_0x46884b=_0x567649(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x4a44ac,0x16,_0x36fc21[0x7]),_0x2575eb=_0x567649(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x5e0c2b,0x7,_0x36fc21[0x8]),_0x10ef5d=_0x567649(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x2a5bf7,0xc,_0x36fc21[0x9]),_0x18c27d=_0x567649(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x406fe5,0x11,_0x36fc21[0xa]),_0x46884b=_0x567649(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x42b476,0x16,_0x36fc21[0xb]),_0x2575eb=_0x567649(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x539e84,0x7,_0x36fc21[0xc]),_0x10ef5d=_0x567649(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x4b73b8,0xc,_0x36fc21[0xd]),_0x18c27d=_0x567649(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x556640,0x11,_0x36fc21[0xe]),_0x46884b=_0x567649(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x25ec11,0x16,_0x36fc21[0xf]),_0x2575eb=_0x17677e(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x4be1cd,0x5,_0x36fc21[0x10]),_0x10ef5d=_0x17677e(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x31dc38,0x9,_0x36fc21[0x11]),_0x18c27d=_0x17677e(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x42b476,0xe,_0x36fc21[0x12]),_0x46884b=_0x17677e(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x2ac98c,0x14,_0x36fc21[0x13]),_0x2575eb=_0x17677e(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x47daf8,0x5,_0x36fc21[0x14]),_0x10ef5d=_0x17677e(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x406fe5,0x9,_0x36fc21[0x15]),_0x18c27d=_0x17677e(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x25ec11,0xe,_0x36fc21[0x16]),_0x46884b=_0x17677e(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0xa359b7,0x14,_0x36fc21[0x17]),_0x2575eb=_0x17677e(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x2a5bf7,0x5,_0x36fc21[0x18]),_0x10ef5d=_0x17677e(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x556640,0x9,_0x36fc21[0x19]),_0x18c27d=_0x17677e(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x1f227d,0xe,_0x36fc21[0x1a]),_0x46884b=_0x17677e(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x5e0c2b,0x14,_0x36fc21[0x1b]),_0x2575eb=_0x17677e(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x4b73b8,0x5,_0x36fc21[0x1c]),_0x10ef5d=_0x17677e(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x4a9261,0x9,_0x36fc21[0x1d]),_0x18c27d=_0x17677e(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x4a44ac,0xe,_0x36fc21[0x1e]),_0x46884b=_0x17677e(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x539e84,0x14,_0x36fc21[0x1f]),_0x2575eb=_0xaaa9b7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x47daf8,0x4,_0x36fc21[0x20]),_0x10ef5d=_0xaaa9b7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x5e0c2b,0xb,_0x36fc21[0x21]),_0x18c27d=_0xaaa9b7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x42b476,0x10,_0x36fc21[0x22]),_0x46884b=_0xaaa9b7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x556640,0x17,_0x36fc21[0x23]),_0x2575eb=_0xaaa9b7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x4be1cd,0x4,_0x36fc21[0x24]),_0x10ef5d=_0xaaa9b7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0xa359b7,0xb,_0x36fc21[0x25]),_0x18c27d=_0xaaa9b7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x4a44ac,0x10,_0x36fc21[0x26]),_0x46884b=_0xaaa9b7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x406fe5,0x17,_0x36fc21[0x27]),_0x2575eb=_0xaaa9b7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x4b73b8,0x4,_0x36fc21[0x28]),_0x10ef5d=_0xaaa9b7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x2ac98c,0xb,_0x36fc21[0x29]),_0x18c27d=_0xaaa9b7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x1f227d,0x10,_0x36fc21[0x2a]),_0x46884b=_0xaaa9b7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x31dc38,0x17,_0x36fc21[0x2b]),_0x2575eb=_0xaaa9b7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x2a5bf7,0x4,_0x36fc21[0x2c]),_0x10ef5d=_0xaaa9b7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x539e84,0xb,_0x36fc21[0x2d]),_0x18c27d=_0xaaa9b7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x25ec11,0x10,_0x36fc21[0x2e]),_0x46884b=_0xaaa9b7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x4a9261,0x17,_0x36fc21[0x2f]),_0x2575eb=_0x1dcda7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x2ac98c,0x6,_0x36fc21[0x30]),_0x10ef5d=_0x1dcda7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x4a44ac,0xa,_0x36fc21[0x31]),_0x18c27d=_0x1dcda7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x556640,0xf,_0x36fc21[0x32]),_0x46884b=_0x1dcda7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x47daf8,0x15,_0x36fc21[0x33]),_0x2575eb=_0x1dcda7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x539e84,0x6,_0x36fc21[0x34]),_0x10ef5d=_0x1dcda7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x1f227d,0xa,_0x36fc21[0x35]),_0x18c27d=_0x1dcda7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x406fe5,0xf,_0x36fc21[0x36]),_0x46884b=_0x1dcda7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x4be1cd,0x15,_0x36fc21[0x37]),_0x2575eb=_0x1dcda7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x5e0c2b,0x6,_0x36fc21[0x38]),_0x10ef5d=_0x1dcda7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x25ec11,0xa,_0x36fc21[0x39]),_0x18c27d=_0x1dcda7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x31dc38,0xf,_0x36fc21[0x3a]),_0x46884b=_0x1dcda7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x4b73b8,0x15,_0x36fc21[0x3b]),_0x2575eb=_0x1dcda7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0xa359b7,0x6,_0x36fc21[0x3c]),_0x10ef5d=_0x1dcda7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x42b476,0xa,_0x36fc21[0x3d]),_0x18c27d=_0x1dcda7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x4a9261,0xf,_0x36fc21[0x3e]),_0x46884b=_0x1dcda7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x2a5bf7,0x15,_0x36fc21[0x3f]),_0x3752bb[0x0]=_0x3752bb[0x0]+_0x2575eb|0x0,_0x3752bb[0x1]=_0x3752bb[0x1]+_0x46884b|0x0,_0x3752bb[0x2]=_0x3752bb[0x2]+_0x18c27d|0x0,_0x3752bb[0x3]=_0x3752bb[0x3]+_0x10ef5d|0x0;},'_doFinalize':function(){var _0x5e8087=_0x4c75aa,_0x29937e=this[_0x5e8087(0x214)],_0x55d675=_0x29937e[_0x5e8087(0x1e5)],_0x5cd869=this[_0x5e8087(0x308)]*0x8,_0x18d8ef=_0x29937e[_0x5e8087(0x3a2)]*0x8;_0x55d675[_0x18d8ef>>>0x5]|=0x80<<0x18-_0x18d8ef%0x20;var _0x5b20a5=_0x4b822e[_0x5e8087(0x28c)](_0x5cd869/0x100000000),_0x3609ce=_0x5cd869;_0x55d675[(_0x18d8ef+0x40>>>0x9<<0x4)+0xf]=(_0x5b20a5<<0x8|_0x5b20a5>>>0x18)&0xff00ff|(_0x5b20a5<<0x18|_0x5b20a5>>>0x8)&0xff00ff00,_0x55d675[(_0x18d8ef+0x40>>>0x9<<0x4)+0xe]=(_0x3609ce<<0x8|_0x3609ce>>>0x18)&0xff00ff|(_0x3609ce<<0x18|_0x3609ce>>>0x8)&0xff00ff00,_0x29937e[_0x5e8087(0x3a2)]=(_0x55d675[_0x5e8087(0x22e)]+0x1)*0x4,this[_0x5e8087(0x25a)]();for(var _0x3da5f3=this[_0x5e8087(0x1c6)],_0x31a9de=_0x3da5f3[_0x5e8087(0x1e5)],_0x1bcc8d=0x0;_0x1bcc8d<0x4;_0x1bcc8d++){var _0xb026cb=_0x31a9de[_0x1bcc8d];_0x31a9de[_0x1bcc8d]=(_0xb026cb<<0x8|_0xb026cb>>>0x18)&0xff00ff|(_0xb026cb<<0x18|_0xb026cb>>>0x8)&0xff00ff00;}return _0x3da5f3;},'clone':function(){var _0x3bdc16=_0x4c75aa,_0x4f3645=_0x4eabb5['clone']['call'](this);return _0x4f3645[_0x3bdc16(0x1c6)]=this['_hash']['clone'](),_0x4f3645;}});function _0x567649(_0x1655c9,_0x4fc17c,_0x40d921,_0x15ad75,_0x1b55f0,_0x373fed,_0xe18210){var _0x246f93=_0x1655c9+(_0x4fc17c&_0x40d921|~_0x4fc17c&_0x15ad75)+_0x1b55f0+_0xe18210;return(_0x246f93<<_0x373fed|_0x246f93>>>0x20-_0x373fed)+_0x4fc17c;}function _0x17677e(_0x1a3021,_0x259367,_0x212a59,_0x3ac9b6,_0x46fbd0,_0xd038b4,_0x1c88c9){var _0x16043d=_0x1a3021+(_0x259367&_0x3ac9b6|_0x212a59&~_0x3ac9b6)+_0x46fbd0+_0x1c88c9;return(_0x16043d<<_0xd038b4|_0x16043d>>>0x20-_0xd038b4)+_0x259367;}function _0xaaa9b7(_0x24414c,_0x53630c,_0x51921e,_0x127228,_0x116780,_0x571565,_0x420680){var _0xa1deb=_0x24414c+(_0x53630c^_0x51921e^_0x127228)+_0x116780+_0x420680;return(_0xa1deb<<_0x571565|_0xa1deb>>>0x20-_0x571565)+_0x53630c;}function _0x1dcda7(_0x4a6933,_0x3d0687,_0x1f5e7a,_0x1c581a,_0x3c4757,_0x31f567,_0x1ab796){var _0x27f9aa=_0x4a6933+(_0x1f5e7a^(_0x3d0687|~_0x1c581a))+_0x3c4757+_0x1ab796;return(_0x27f9aa<<_0x31f567|_0x27f9aa>>>0x20-_0x31f567)+_0x3d0687;}_0x204d3e[_0x4c75aa(0x454)]=_0x4eabb5[_0x4c75aa(0x3c2)](_0x58cc50),_0x204d3e['HmacMD5']=_0x4eabb5[_0x4c75aa(0x236)](_0x58cc50);}(Math),_0x5e2071[_0x47eecd(0x454)];}));}(Ke)),Ke[_0x4a26d3(0x1ac)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x180182(0x1ac)],ti;function Hr(){var _0x277892=_0x180182;return ti||(ti=0x1,function(_0x54ed49,_0x2bb315){(function(_0x4d5f57,_0x1d953d){var _0x2f54bc=_0x11d4;_0x54ed49[_0x2f54bc(0x1ac)]=_0x1d953d(ne());}($r,function(_0x454eac){return(function(){var _0x3f6462=_0x11d4,_0x2968c=_0x454eac,_0x427a75=_0x2968c[_0x3f6462(0x255)],_0x41a914=_0x427a75[_0x3f6462(0x1aa)],_0xb1edd8=_0x427a75[_0x3f6462(0x3fb)],_0x289daf=_0x2968c[_0x3f6462(0x259)],_0x5ed9b7=[],_0x20e018=_0x289daf['SHA1']=_0xb1edd8[_0x3f6462(0x3e2)]({'_doReset':function(){var _0x1c2203=_0x3f6462;this[_0x1c2203(0x1c6)]=new _0x41a914['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1e30b4,_0x2768eb){var _0x2c6bee=_0x3f6462;for(var _0x53846f=this[_0x2c6bee(0x1c6)][_0x2c6bee(0x1e5)],_0x58bf75=_0x53846f[0x0],_0xed8942=_0x53846f[0x1],_0x2eb1bf=_0x53846f[0x2],_0xd157f5=_0x53846f[0x3],_0x2dce28=_0x53846f[0x4],_0x5d0566=0x0;_0x5d0566<0x50;_0x5d0566++){if(_0x5d0566<0x10)_0x5ed9b7[_0x5d0566]=_0x1e30b4[_0x2768eb+_0x5d0566]|0x0;else{var _0x1c3094=_0x5ed9b7[_0x5d0566-0x3]^_0x5ed9b7[_0x5d0566-0x8]^_0x5ed9b7[_0x5d0566-0xe]^_0x5ed9b7[_0x5d0566-0x10];_0x5ed9b7[_0x5d0566]=_0x1c3094<<0x1|_0x1c3094>>>0x1f;}var _0x522530=(_0x58bf75<<0x5|_0x58bf75>>>0x1b)+_0x2dce28+_0x5ed9b7[_0x5d0566];_0x5d0566<0x14?_0x522530+=(_0xed8942&_0x2eb1bf|~_0xed8942&_0xd157f5)+0x5a827999:_0x5d0566<0x28?_0x522530+=(_0xed8942^_0x2eb1bf^_0xd157f5)+0x6ed9eba1:_0x5d0566<0x3c?_0x522530+=(_0xed8942&_0x2eb1bf|_0xed8942&_0xd157f5|_0x2eb1bf&_0xd157f5)-0x70e44324:_0x522530+=(_0xed8942^_0x2eb1bf^_0xd157f5)-0x359d3e2a,_0x2dce28=_0xd157f5,_0xd157f5=_0x2eb1bf,_0x2eb1bf=_0xed8942<<0x1e|_0xed8942>>>0x2,_0xed8942=_0x58bf75,_0x58bf75=_0x522530;}_0x53846f[0x0]=_0x53846f[0x0]+_0x58bf75|0x0,_0x53846f[0x1]=_0x53846f[0x1]+_0xed8942|0x0,_0x53846f[0x2]=_0x53846f[0x2]+_0x2eb1bf|0x0,_0x53846f[0x3]=_0x53846f[0x3]+_0xd157f5|0x0,_0x53846f[0x4]=_0x53846f[0x4]+_0x2dce28|0x0;},'_doFinalize':function(){var _0x462326=_0x3f6462,_0x344dfc=this[_0x462326(0x214)],_0x284f90=_0x344dfc['words'],_0x51b91a=this[_0x462326(0x308)]*0x8,_0x4de91c=_0x344dfc[_0x462326(0x3a2)]*0x8;return _0x284f90[_0x4de91c>>>0x5]|=0x80<<0x18-_0x4de91c%0x20,_0x284f90[(_0x4de91c+0x40>>>0x9<<0x4)+0xe]=Math[_0x462326(0x28c)](_0x51b91a/0x100000000),_0x284f90[(_0x4de91c+0x40>>>0x9<<0x4)+0xf]=_0x51b91a,_0x344dfc[_0x462326(0x3a2)]=_0x284f90['length']*0x4,this[_0x462326(0x25a)](),this[_0x462326(0x1c6)];},'clone':function(){var _0x57518b=_0x3f6462,_0x41844e=_0xb1edd8[_0x57518b(0x28e)][_0x57518b(0x3bf)](this);return _0x41844e[_0x57518b(0x1c6)]=this[_0x57518b(0x1c6)][_0x57518b(0x28e)](),_0x41844e;}});_0x2968c[_0x3f6462(0x2c2)]=_0xb1edd8[_0x3f6462(0x3c2)](_0x20e018),_0x2968c['HmacSHA1']=_0xb1edd8['_createHmacHelper'](_0x20e018);}()),_0x454eac['SHA1'];}));}(qe)),qe[_0x277892(0x1ac)];}var ze={'exports':{}},kr=ze[_0x180182(0x1ac)],ii;function jr(){var _0x93b744=_0x180182;return ii||(ii=0x1,function(_0x1d5355,_0x1c8500){(function(_0x42b802,_0x1c93ce){_0x1d5355['exports']=_0x1c93ce(ne());}(kr,function(_0x52439b){(function(){var _0x2ba076=_0x11d4,_0x23175d=_0x52439b,_0xb9f0f9=_0x23175d[_0x2ba076(0x255)],_0x6de330=_0xb9f0f9[_0x2ba076(0x342)],_0x2cdaa5=_0x23175d[_0x2ba076(0x211)],_0x390895=_0x2cdaa5[_0x2ba076(0x18b)],_0x29c9f2=_0x23175d['algo'];_0x29c9f2[_0x2ba076(0x388)]=_0x6de330[_0x2ba076(0x3e2)]({'init':function(_0x4fbcb6,_0x110a46){var _0x30583e=_0x2ba076;_0x4fbcb6=this[_0x30583e(0x363)]=new _0x4fbcb6[(_0x30583e(0x31d))](),typeof _0x110a46==_0x30583e(0x1b2)&&(_0x110a46=_0x390895['parse'](_0x110a46));var _0x5e5e52=_0x4fbcb6[_0x30583e(0x39a)],_0x3fb9c6=_0x5e5e52*0x4;_0x110a46[_0x30583e(0x3a2)]>_0x3fb9c6&&(_0x110a46=_0x4fbcb6[_0x30583e(0x17f)](_0x110a46)),_0x110a46[_0x30583e(0x1e1)]();for(var _0x7d208d=this[_0x30583e(0x2ee)]=_0x110a46[_0x30583e(0x28e)](),_0x2f8388=this[_0x30583e(0x30c)]=_0x110a46[_0x30583e(0x28e)](),_0x527a09=_0x7d208d[_0x30583e(0x1e5)],_0x2d558d=_0x2f8388[_0x30583e(0x1e5)],_0x2227b2=0x0;_0x2227b2<_0x5e5e52;_0x2227b2++)_0x527a09[_0x2227b2]^=0x5c5c5c5c,_0x2d558d[_0x2227b2]^=0x36363636;_0x7d208d[_0x30583e(0x3a2)]=_0x2f8388[_0x30583e(0x3a2)]=_0x3fb9c6,this[_0x30583e(0x3cb)]();},'reset':function(){var _0x3d9820=_0x2ba076,_0x839576=this['_hasher'];_0x839576[_0x3d9820(0x3cb)](),_0x839576[_0x3d9820(0x3ab)](this[_0x3d9820(0x30c)]);},'update':function(_0x3cad4f){var _0x859742=_0x2ba076;return this['_hasher'][_0x859742(0x3ab)](_0x3cad4f),this;},'finalize':function(_0x17a5c6){var _0x239a3c=_0x2ba076,_0x4650b6=this[_0x239a3c(0x363)],_0x397323=_0x4650b6[_0x239a3c(0x17f)](_0x17a5c6);_0x4650b6[_0x239a3c(0x3cb)]();var _0x141a7e=_0x4650b6[_0x239a3c(0x17f)](this[_0x239a3c(0x2ee)][_0x239a3c(0x28e)]()[_0x239a3c(0x3b6)](_0x397323));return _0x141a7e;}});}());}));}(ze)),ze[_0x93b744(0x1ac)];}var Br=Ye[_0x180182(0x1ac)],ni;function Ui(){var _0x401338=_0x180182;return ni||(ni=0x1,function(_0x5be5a4,_0xa0f520){(function(_0x48feca,_0x265f4e,_0x71a921){var _0x2a7213=_0x11d4;_0x5be5a4[_0x2a7213(0x1ac)]=_0x265f4e(ne(),Hr(),jr());}(Br,function(_0x433dce){var _0x5a01f0=_0x11d4;return(function(){var _0x373d61=_0x11d4,_0x45fe63=_0x433dce,_0x498e6b=_0x45fe63[_0x373d61(0x255)],_0x2ddad1=_0x498e6b[_0x373d61(0x342)],_0x2033eb=_0x498e6b['WordArray'],_0x438fdc=_0x45fe63[_0x373d61(0x259)],_0x2a949e=_0x438fdc[_0x373d61(0x454)],_0x28178d=_0x438fdc['EvpKDF']=_0x2ddad1['extend']({'cfg':_0x2ddad1[_0x373d61(0x3e2)]({'keySize':0x80/0x20,'hasher':_0x2a949e,'iterations':0x1}),'init':function(_0x1c9050){var _0x4297ad=_0x373d61;this[_0x4297ad(0x2ba)]=this[_0x4297ad(0x2ba)][_0x4297ad(0x3e2)](_0x1c9050);},'compute':function(_0x482d13,_0x126316){var _0x1e4267=_0x373d61;for(var _0x56687e,_0x18c92c=this[_0x1e4267(0x2ba)],_0x299ed2=_0x18c92c['hasher'][_0x1e4267(0x220)](),_0x1432dc=_0x2033eb[_0x1e4267(0x220)](),_0xdde2ce=_0x1432dc[_0x1e4267(0x1e5)],_0x24b1d0=_0x18c92c[_0x1e4267(0x33c)],_0x19be65=_0x18c92c[_0x1e4267(0x25d)];_0xdde2ce[_0x1e4267(0x22e)]<_0x24b1d0;){_0x56687e&&_0x299ed2['update'](_0x56687e),_0x56687e=_0x299ed2[_0x1e4267(0x3ab)](_0x482d13)[_0x1e4267(0x17f)](_0x126316),_0x299ed2[_0x1e4267(0x3cb)]();for(var _0x126196=0x1;_0x126196<_0x19be65;_0x126196++)_0x56687e=_0x299ed2['finalize'](_0x56687e),_0x299ed2[_0x1e4267(0x3cb)]();_0x1432dc[_0x1e4267(0x3b6)](_0x56687e);}return _0x1432dc[_0x1e4267(0x3a2)]=_0x24b1d0*0x4,_0x1432dc;}});_0x45fe63[_0x373d61(0x230)]=function(_0x5c2d6f,_0x290cd2,_0x44ef5f){var _0x1344ec=_0x373d61;return _0x28178d[_0x1344ec(0x220)](_0x44ef5f)[_0x1344ec(0x38a)](_0x5c2d6f,_0x290cd2);};}()),_0x433dce[_0x5a01f0(0x230)];}));}(Ye)),Ye[_0x401338(0x1ac)];}var Je={'exports':{}},Fr=Je[_0x180182(0x1ac)],ri;function Ai(){var _0x27b0c2=_0x180182;return ri||(ri=0x1,function(_0x52d6fa,_0x3f5ec0){(function(_0x188793,_0x295779,_0x23aceb){_0x52d6fa['exports']=_0x295779(ne(),Ui());}(Fr,function(_0x3b4957){var _0x5dc811=_0x11d4;_0x3b4957['lib'][_0x5dc811(0x445)]||function(_0x49ed93){var _0xe04162=_0x5dc811,_0x1dfa78=_0x3b4957,_0x1bf311=_0x1dfa78[_0xe04162(0x255)],_0x40fc2c=_0x1bf311[_0xe04162(0x342)],_0x3a49a6=_0x1bf311['WordArray'],_0x23931d=_0x1bf311[_0xe04162(0x218)],_0x3d5e5d=_0x1dfa78[_0xe04162(0x211)];_0x3d5e5d[_0xe04162(0x18b)];var _0x16e2a2=_0x3d5e5d[_0xe04162(0x1b7)],_0x438578=_0x1dfa78[_0xe04162(0x259)],_0x40f261=_0x438578[_0xe04162(0x230)],_0x118bf0=_0x1bf311['Cipher']=_0x23931d['extend']({'cfg':_0x40fc2c[_0xe04162(0x3e2)](),'createEncryptor':function(_0x44b763,_0x5a41e2){var _0xde67bc=_0xe04162;return this[_0xde67bc(0x220)](this[_0xde67bc(0x364)],_0x44b763,_0x5a41e2);},'createDecryptor':function(_0x361933,_0x4eab66){var _0x48b023=_0xe04162;return this[_0x48b023(0x220)](this[_0x48b023(0x254)],_0x361933,_0x4eab66);},'init':function(_0x3d4e68,_0x5c4f07,_0x52a02b){var _0x89e99b=_0xe04162;this[_0x89e99b(0x2ba)]=this[_0x89e99b(0x2ba)][_0x89e99b(0x3e2)](_0x52a02b),this[_0x89e99b(0x33b)]=_0x3d4e68,this[_0x89e99b(0x239)]=_0x5c4f07,this[_0x89e99b(0x3cb)]();},'reset':function(){var _0x10eb25=_0xe04162;_0x23931d['reset']['call'](this),this[_0x10eb25(0x43d)]();},'process':function(_0x16f593){var _0x613e02=_0xe04162;return this[_0x613e02(0x461)](_0x16f593),this['_process']();},'finalize':function(_0x22d6d3){var _0xe96711=_0xe04162;_0x22d6d3&&this[_0xe96711(0x461)](_0x22d6d3);var _0x5f3ce4=this[_0xe96711(0x202)]();return _0x5f3ce4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x383bed(_0x3dc7b5){var _0x196048=_0x11d4;return typeof _0x3dc7b5==_0x196048(0x1b2)?_0x378940:_0x2208d9;}return function(_0x1e0d67){return{'encrypt':function(_0xd51a22,_0x389801,_0x4cc017){var _0x57cdb5=_0x11d4;return _0x383bed(_0x389801)[_0x57cdb5(0x284)](_0x1e0d67,_0xd51a22,_0x389801,_0x4cc017);},'decrypt':function(_0xecc02a,_0x12bba3,_0x166ea4){return _0x383bed(_0x12bba3)['decrypt'](_0x1e0d67,_0xecc02a,_0x12bba3,_0x166ea4);}};};}())});_0x1bf311['StreamCipher']=_0x118bf0[_0xe04162(0x3e2)]({'_doFinalize':function(){var _0x6932e7=_0xe04162,_0xe05bf1=this[_0x6932e7(0x25a)](!0x0);return _0xe05bf1;},'blockSize':0x1});var _0x2ff2e3=_0x1dfa78[_0xe04162(0x301)]={},_0x5197f2=_0x1bf311[_0xe04162(0x177)]=_0x40fc2c[_0xe04162(0x3e2)]({'createEncryptor':function(_0x23aee9,_0x2de09f){var _0x3bdffa=_0xe04162;return this[_0x3bdffa(0x36a)][_0x3bdffa(0x220)](_0x23aee9,_0x2de09f);},'createDecryptor':function(_0x4390fb,_0x1afc53){var _0x27db09=_0xe04162;return this[_0x27db09(0x242)][_0x27db09(0x220)](_0x4390fb,_0x1afc53);},'init':function(_0x24a41f,_0x1478fc){var _0x2f4359=_0xe04162;this['_cipher']=_0x24a41f,this[_0x2f4359(0x252)]=_0x1478fc;}}),_0x87adbc=_0x2ff2e3[_0xe04162(0x42c)]=(function(){var _0x180022=_0xe04162,_0x49b641=_0x5197f2[_0x180022(0x3e2)]();_0x49b641[_0x180022(0x36a)]=_0x49b641[_0x180022(0x3e2)]({'processBlock':function(_0x372647,_0x16ff7b){var _0x3d3ae0=_0x180022,_0x12b0b2=this[_0x3d3ae0(0x315)],_0x4fc998=_0x12b0b2['blockSize'];_0x5528db[_0x3d3ae0(0x3bf)](this,_0x372647,_0x16ff7b,_0x4fc998),_0x12b0b2[_0x3d3ae0(0x3e3)](_0x372647,_0x16ff7b),this['_prevBlock']=_0x372647[_0x3d3ae0(0x2d8)](_0x16ff7b,_0x16ff7b+_0x4fc998);}}),_0x49b641[_0x180022(0x242)]=_0x49b641[_0x180022(0x3e2)]({'processBlock':function(_0x502259,_0x13b65b){var _0x391be7=_0x180022,_0xfb7158=this[_0x391be7(0x315)],_0x264e45=_0xfb7158['blockSize'],_0x57d901=_0x502259[_0x391be7(0x2d8)](_0x13b65b,_0x13b65b+_0x264e45);_0xfb7158[_0x391be7(0x313)](_0x502259,_0x13b65b),_0x5528db[_0x391be7(0x3bf)](this,_0x502259,_0x13b65b,_0x264e45),this[_0x391be7(0x2c4)]=_0x57d901;}});function _0x5528db(_0x46db58,_0x219f0d,_0x1fc4fa){var _0x38ffbd=_0x180022,_0x37607d,_0x1f9cb6=this[_0x38ffbd(0x252)];_0x1f9cb6?(_0x37607d=_0x1f9cb6,this[_0x38ffbd(0x252)]=_0x49ed93):_0x37607d=this[_0x38ffbd(0x2c4)];for(var _0x3ca8dc=0x0;_0x3ca8dc<_0x1fc4fa;_0x3ca8dc++)_0x46db58[_0x219f0d+_0x3ca8dc]^=_0x37607d[_0x3ca8dc];}return _0x49b641;}()),_0x4d0d74=_0x1dfa78[_0xe04162(0x261)]={},_0x813189=_0x4d0d74[_0xe04162(0x2f6)]={'pad':function(_0x2f464f,_0x781e1e){var _0x80a72a=_0xe04162;for(var _0x4763b5=_0x781e1e*0x4,_0x2a41d9=_0x4763b5-_0x2f464f['sigBytes']%_0x4763b5,_0x1a3dd4=_0x2a41d9<<0x18|_0x2a41d9<<0x10|_0x2a41d9<<0x8|_0x2a41d9,_0x5d815e=[],_0x2d2438=0x0;_0x2d2438<_0x2a41d9;_0x2d2438+=0x4)_0x5d815e[_0x80a72a(0x247)](_0x1a3dd4);var _0x301747=_0x3a49a6[_0x80a72a(0x220)](_0x5d815e,_0x2a41d9);_0x2f464f[_0x80a72a(0x3b6)](_0x301747);},'unpad':function(_0x5e0aa5){var _0x48bc52=_0xe04162,_0x559d05=_0x5e0aa5[_0x48bc52(0x1e5)][_0x5e0aa5[_0x48bc52(0x3a2)]-0x1>>>0x2]&0xff;_0x5e0aa5['sigBytes']-=_0x559d05;}};_0x1bf311[_0xe04162(0x309)]=_0x118bf0[_0xe04162(0x3e2)]({'cfg':_0x118bf0[_0xe04162(0x2ba)][_0xe04162(0x3e2)]({'mode':_0x87adbc,'padding':_0x813189}),'reset':function(){var _0x43b9fb=_0xe04162,_0x491e4b;_0x118bf0[_0x43b9fb(0x3cb)][_0x43b9fb(0x3bf)](this);var _0x5c4529=this[_0x43b9fb(0x2ba)],_0x518871=_0x5c4529['iv'],_0x527ae8=_0x5c4529['mode'];this[_0x43b9fb(0x33b)]==this['_ENC_XFORM_MODE']?_0x491e4b=_0x527ae8[_0x43b9fb(0x1f3)]:(_0x491e4b=_0x527ae8['createDecryptor'],this[_0x43b9fb(0x3e6)]=0x1),this[_0x43b9fb(0x29c)]&&this[_0x43b9fb(0x29c)][_0x43b9fb(0x1e3)]==_0x491e4b?this[_0x43b9fb(0x29c)][_0x43b9fb(0x31d)](this,_0x518871&&_0x518871[_0x43b9fb(0x1e5)]):(this[_0x43b9fb(0x29c)]=_0x491e4b['call'](_0x527ae8,this,_0x518871&&_0x518871[_0x43b9fb(0x1e5)]),this['_mode']['__creator']=_0x491e4b);},'_doProcessBlock':function(_0x1ef801,_0x1657aa){var _0x242e48=_0xe04162;this[_0x242e48(0x29c)][_0x242e48(0x3de)](_0x1ef801,_0x1657aa);},'_doFinalize':function(){var _0x450a18=_0xe04162,_0x3bc134,_0x30ba8b=this['cfg'][_0x450a18(0x43c)];return this[_0x450a18(0x33b)]==this['_ENC_XFORM_MODE']?(_0x30ba8b[_0x450a18(0x261)](this['_data'],this[_0x450a18(0x39a)]),_0x3bc134=this['_process'](!0x0)):(_0x3bc134=this[_0x450a18(0x25a)](!0x0),_0x30ba8b[_0x450a18(0x2ac)](_0x3bc134)),_0x3bc134;},'blockSize':0x80/0x20});var _0x59ed20=_0x1bf311[_0xe04162(0x197)]=_0x40fc2c[_0xe04162(0x3e2)]({'init':function(_0x545829){this['mixIn'](_0x545829);},'toString':function(_0x4afec8){var _0x48b7cb=_0xe04162;return(_0x4afec8||this[_0x48b7cb(0x25b)])[_0x48b7cb(0x2fc)](this);}}),_0xbdea39=_0x1dfa78[_0xe04162(0x3d4)]={},_0x22b3bc=_0xbdea39[_0xe04162(0x402)]={'stringify':function(_0x1e0410){var _0x2f84f4=_0xe04162,_0x3b337b,_0x520f9f=_0x1e0410[_0x2f84f4(0x1ee)],_0x144775=_0x1e0410[_0x2f84f4(0x374)];return _0x144775?_0x3b337b=_0x3a49a6[_0x2f84f4(0x220)]([0x53616c74,0x65645f5f])[_0x2f84f4(0x3b6)](_0x144775)[_0x2f84f4(0x3b6)](_0x520f9f):_0x3b337b=_0x520f9f,_0x3b337b['toString'](_0x16e2a2);},'parse':function(_0xdf7778){var _0x455c5d=_0xe04162,_0x2db3a1,_0x5282c3=_0x16e2a2[_0x455c5d(0x18d)](_0xdf7778),_0x984e9f=_0x5282c3[_0x455c5d(0x1e5)];return _0x984e9f[0x0]==0x53616c74&&_0x984e9f[0x1]==0x65645f5f&&(_0x2db3a1=_0x3a49a6['create'](_0x984e9f['slice'](0x2,0x4)),_0x984e9f[_0x455c5d(0x37c)](0x0,0x4),_0x5282c3[_0x455c5d(0x3a2)]-=0x10),_0x59ed20[_0x455c5d(0x220)]({'ciphertext':_0x5282c3,'salt':_0x2db3a1});}},_0x2208d9=_0x1bf311[_0xe04162(0x262)]=_0x40fc2c['extend']({'cfg':_0x40fc2c['extend']({'format':_0x22b3bc}),'encrypt':function(_0x100c46,_0x2f7fac,_0x5b6a67,_0x208494){var _0x19977e=_0xe04162;_0x208494=this[_0x19977e(0x2ba)][_0x19977e(0x3e2)](_0x208494);var _0x3a97b5=_0x100c46['createEncryptor'](_0x5b6a67,_0x208494),_0x49b75f=_0x3a97b5[_0x19977e(0x17f)](_0x2f7fac),_0x4b746=_0x3a97b5['cfg'];return _0x59ed20[_0x19977e(0x220)]({'ciphertext':_0x49b75f,'key':_0x5b6a67,'iv':_0x4b746['iv'],'algorithm':_0x100c46,'mode':_0x4b746[_0x19977e(0x301)],'padding':_0x4b746[_0x19977e(0x43c)],'blockSize':_0x100c46[_0x19977e(0x39a)],'formatter':_0x208494[_0x19977e(0x3d4)]});},'decrypt':function(_0x5ea52b,_0x18ca21,_0x24d43a,_0x4beae5){var _0x16663a=_0xe04162;_0x4beae5=this[_0x16663a(0x2ba)][_0x16663a(0x3e2)](_0x4beae5),_0x18ca21=this[_0x16663a(0x1c1)](_0x18ca21,_0x4beae5[_0x16663a(0x3d4)]);var _0x294c74=_0x5ea52b['createDecryptor'](_0x24d43a,_0x4beae5)['finalize'](_0x18ca21['ciphertext']);return _0x294c74;},'_parse':function(_0x503938,_0x3ccdc2){var _0x21b110=_0xe04162;return typeof _0x503938==_0x21b110(0x1b2)?_0x3ccdc2[_0x21b110(0x18d)](_0x503938,this):_0x503938;}}),_0x20515e=_0x1dfa78[_0xe04162(0x21f)]={},_0x35e96e=_0x20515e[_0xe04162(0x402)]={'execute':function(_0xd836e2,_0x28e87c,_0x452dbb,_0x117ec6,_0x3a1be7){var _0xdcd57d=_0xe04162;if(_0x117ec6||(_0x117ec6=_0x3a49a6[_0xdcd57d(0x333)](0x40/0x8)),_0x3a1be7)var _0x511a96=_0x40f261[_0xdcd57d(0x220)]({'keySize':_0x28e87c+_0x452dbb,'hasher':_0x3a1be7})[_0xdcd57d(0x38a)](_0xd836e2,_0x117ec6);else var _0x511a96=_0x40f261[_0xdcd57d(0x220)]({'keySize':_0x28e87c+_0x452dbb})['compute'](_0xd836e2,_0x117ec6);var _0x256c85=_0x3a49a6[_0xdcd57d(0x220)](_0x511a96[_0xdcd57d(0x1e5)][_0xdcd57d(0x2d8)](_0x28e87c),_0x452dbb*0x4);return _0x511a96[_0xdcd57d(0x3a2)]=_0x28e87c*0x4,_0x59ed20[_0xdcd57d(0x220)]({'key':_0x511a96,'iv':_0x256c85,'salt':_0x117ec6});}},_0x378940=_0x1bf311[_0xe04162(0x24c)]=_0x2208d9[_0xe04162(0x3e2)]({'cfg':_0x2208d9[_0xe04162(0x2ba)][_0xe04162(0x3e2)]({'kdf':_0x35e96e}),'encrypt':function(_0x46430e,_0x3b3147,_0x5511ee,_0x1355ab){var _0x27fb14=_0xe04162;_0x1355ab=this['cfg'][_0x27fb14(0x3e2)](_0x1355ab);var _0x343640=_0x1355ab[_0x27fb14(0x21f)][_0x27fb14(0x37e)](_0x5511ee,_0x46430e[_0x27fb14(0x33c)],_0x46430e['ivSize'],_0x1355ab[_0x27fb14(0x374)],_0x1355ab[_0x27fb14(0x410)]);_0x1355ab['iv']=_0x343640['iv'];var _0x2b8151=_0x2208d9[_0x27fb14(0x284)][_0x27fb14(0x3bf)](this,_0x46430e,_0x3b3147,_0x343640[_0x27fb14(0x2de)],_0x1355ab);return _0x2b8151[_0x27fb14(0x1b4)](_0x343640),_0x2b8151;},'decrypt':function(_0x4a1666,_0x49281f,_0x484d9c,_0x5e5863){var _0x4d8aa2=_0xe04162;_0x5e5863=this[_0x4d8aa2(0x2ba)]['extend'](_0x5e5863),_0x49281f=this[_0x4d8aa2(0x1c1)](_0x49281f,_0x5e5863[_0x4d8aa2(0x3d4)]);var _0x38b349=_0x5e5863[_0x4d8aa2(0x21f)][_0x4d8aa2(0x37e)](_0x484d9c,_0x4a1666['keySize'],_0x4a1666['ivSize'],_0x49281f[_0x4d8aa2(0x374)],_0x5e5863['hasher']);_0x5e5863['iv']=_0x38b349['iv'];var _0x2a2896=_0x2208d9[_0x4d8aa2(0x436)][_0x4d8aa2(0x3bf)](this,_0x4a1666,_0x49281f,_0x38b349[_0x4d8aa2(0x2de)],_0x5e5863);return _0x2a2896;}});}();}));}(Je)),Je[_0x27b0c2(0x1ac)];}var Vr=Ve['exports'],si;function Gr(){var _0x2b099c=_0x180182;return si||(si=0x1,function(_0x25b2d5,_0x467b48){(function(_0x1bbcc3,_0x3eeaf7,_0x2d6add){_0x25b2d5['exports']=_0x3eeaf7(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x44e248){var _0x41f28e=_0x11d4;return(function(){var _0x129120=_0x11d4,_0x20b741=_0x44e248,_0x1a797c=_0x20b741['lib'],_0x4c0a04=_0x1a797c[_0x129120(0x309)],_0x12b820=_0x20b741['algo'],_0xa22e97=[],_0x22d392=[],_0x2ae79d=[],_0x354e90=[],_0x29a82d=[],_0x3864bf=[],_0x115bc2=[],_0x4346ed=[],_0x3c3140=[],_0x1c9c7e=[];(function(){for(var _0x3b6989=[],_0x242b66=0x0;_0x242b66<0x100;_0x242b66++)_0x242b66<0x80?_0x3b6989[_0x242b66]=_0x242b66<<0x1:_0x3b6989[_0x242b66]=_0x242b66<<0x1^0x11b;for(var _0x3cc29c=0x0,_0x4f183b=0x0,_0x242b66=0x0;_0x242b66<0x100;_0x242b66++){var _0x5d7035=_0x4f183b^_0x4f183b<<0x1^_0x4f183b<<0x2^_0x4f183b<<0x3^_0x4f183b<<0x4;_0x5d7035=_0x5d7035>>>0x8^_0x5d7035&0xff^0x63,_0xa22e97[_0x3cc29c]=_0x5d7035,_0x22d392[_0x5d7035]=_0x3cc29c;var _0x4c9572=_0x3b6989[_0x3cc29c],_0x2ab694=_0x3b6989[_0x4c9572],_0x529568=_0x3b6989[_0x2ab694],_0x276046=_0x3b6989[_0x5d7035]*0x101^_0x5d7035*0x1010100;_0x2ae79d[_0x3cc29c]=_0x276046<<0x18|_0x276046>>>0x8,_0x354e90[_0x3cc29c]=_0x276046<<0x10|_0x276046>>>0x10,_0x29a82d[_0x3cc29c]=_0x276046<<0x8|_0x276046>>>0x18,_0x3864bf[_0x3cc29c]=_0x276046;var _0x276046=_0x529568*0x1010101^_0x2ab694*0x10001^_0x4c9572*0x101^_0x3cc29c*0x1010100;_0x115bc2[_0x5d7035]=_0x276046<<0x18|_0x276046>>>0x8,_0x4346ed[_0x5d7035]=_0x276046<<0x10|_0x276046>>>0x10,_0x3c3140[_0x5d7035]=_0x276046<<0x8|_0x276046>>>0x18,_0x1c9c7e[_0x5d7035]=_0x276046,_0x3cc29c?(_0x3cc29c=_0x4c9572^_0x3b6989[_0x3b6989[_0x3b6989[_0x529568^_0x4c9572]]],_0x4f183b^=_0x3b6989[_0x3b6989[_0x4f183b]]):_0x3cc29c=_0x4f183b=0x1;}}());var _0x57745d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4fd5be=_0x12b820[_0x129120(0x23a)]=_0x4c0a04['extend']({'_doReset':function(){var _0x466f1a=_0x129120,_0xf3a903;if(!(this[_0x466f1a(0x184)]&&this[_0x466f1a(0x305)]===this['_key'])){for(var _0x141fa6=this[_0x466f1a(0x305)]=this[_0x466f1a(0x239)],_0x2d402a=_0x141fa6[_0x466f1a(0x1e5)],_0x58f958=_0x141fa6[_0x466f1a(0x3a2)]/0x4,_0x327a8f=this[_0x466f1a(0x184)]=_0x58f958+0x6,_0x3629de=(_0x327a8f+0x1)*0x4,_0x28aad2=this[_0x466f1a(0x2e8)]=[],_0x1080d4=0x0;_0x1080d4<_0x3629de;_0x1080d4++)_0x1080d4<_0x58f958?_0x28aad2[_0x1080d4]=_0x2d402a[_0x1080d4]:(_0xf3a903=_0x28aad2[_0x1080d4-0x1],_0x1080d4%_0x58f958?_0x58f958>0x6&&_0x1080d4%_0x58f958==0x4&&(_0xf3a903=_0xa22e97[_0xf3a903>>>0x18]<<0x18|_0xa22e97[_0xf3a903>>>0x10&0xff]<<0x10|_0xa22e97[_0xf3a903>>>0x8&0xff]<<0x8|_0xa22e97[_0xf3a903&0xff]):(_0xf3a903=_0xf3a903<<0x8|_0xf3a903>>>0x18,_0xf3a903=_0xa22e97[_0xf3a903>>>0x18]<<0x18|_0xa22e97[_0xf3a903>>>0x10&0xff]<<0x10|_0xa22e97[_0xf3a903>>>0x8&0xff]<<0x8|_0xa22e97[_0xf3a903&0xff],_0xf3a903^=_0x57745d[_0x1080d4/_0x58f958|0x0]<<0x18),_0x28aad2[_0x1080d4]=_0x28aad2[_0x1080d4-_0x58f958]^_0xf3a903);for(var _0x11ebf9=this[_0x466f1a(0x1d3)]=[],_0x4e885a=0x0;_0x4e885a<_0x3629de;_0x4e885a++){var _0x1080d4=_0x3629de-_0x4e885a;if(_0x4e885a%0x4)var _0xf3a903=_0x28aad2[_0x1080d4];else var _0xf3a903=_0x28aad2[_0x1080d4-0x4];_0x4e885a<0x4||_0x1080d4<=0x4?_0x11ebf9[_0x4e885a]=_0xf3a903:_0x11ebf9[_0x4e885a]=_0x115bc2[_0xa22e97[_0xf3a903>>>0x18]]^_0x4346ed[_0xa22e97[_0xf3a903>>>0x10&0xff]]^_0x3c3140[_0xa22e97[_0xf3a903>>>0x8&0xff]]^_0x1c9c7e[_0xa22e97[_0xf3a903&0xff]];}}},'encryptBlock':function(_0x1de204,_0x2db330){var _0x3a3333=_0x129120;this[_0x3a3333(0x266)](_0x1de204,_0x2db330,this[_0x3a3333(0x2e8)],_0x2ae79d,_0x354e90,_0x29a82d,_0x3864bf,_0xa22e97);},'decryptBlock':function(_0x3e2a29,_0x4a1c1a){var _0x43cb7b=_0x129120,_0x2e378b=_0x3e2a29[_0x4a1c1a+0x1];_0x3e2a29[_0x4a1c1a+0x1]=_0x3e2a29[_0x4a1c1a+0x3],_0x3e2a29[_0x4a1c1a+0x3]=_0x2e378b,this[_0x43cb7b(0x266)](_0x3e2a29,_0x4a1c1a,this[_0x43cb7b(0x1d3)],_0x115bc2,_0x4346ed,_0x3c3140,_0x1c9c7e,_0x22d392);var _0x2e378b=_0x3e2a29[_0x4a1c1a+0x1];_0x3e2a29[_0x4a1c1a+0x1]=_0x3e2a29[_0x4a1c1a+0x3],_0x3e2a29[_0x4a1c1a+0x3]=_0x2e378b;},'_doCryptBlock':function(_0x1b583e,_0x23ee73,_0x19063e,_0x4d2267,_0x4ee3e4,_0x40d6ec,_0x236978,_0x833b35){for(var _0x55b4ad=this['_nRounds'],_0x239a92=_0x1b583e[_0x23ee73]^_0x19063e[0x0],_0x1e9824=_0x1b583e[_0x23ee73+0x1]^_0x19063e[0x1],_0x125d04=_0x1b583e[_0x23ee73+0x2]^_0x19063e[0x2],_0x4cc5d9=_0x1b583e[_0x23ee73+0x3]^_0x19063e[0x3],_0xf65518=0x4,_0x1674b8=0x1;_0x1674b8<_0x55b4ad;_0x1674b8++){var _0x1389d3=_0x4d2267[_0x239a92>>>0x18]^_0x4ee3e4[_0x1e9824>>>0x10&0xff]^_0x40d6ec[_0x125d04>>>0x8&0xff]^_0x236978[_0x4cc5d9&0xff]^_0x19063e[_0xf65518++],_0x28077e=_0x4d2267[_0x1e9824>>>0x18]^_0x4ee3e4[_0x125d04>>>0x10&0xff]^_0x40d6ec[_0x4cc5d9>>>0x8&0xff]^_0x236978[_0x239a92&0xff]^_0x19063e[_0xf65518++],_0x2657bf=_0x4d2267[_0x125d04>>>0x18]^_0x4ee3e4[_0x4cc5d9>>>0x10&0xff]^_0x40d6ec[_0x239a92>>>0x8&0xff]^_0x236978[_0x1e9824&0xff]^_0x19063e[_0xf65518++],_0x4f5bdf=_0x4d2267[_0x4cc5d9>>>0x18]^_0x4ee3e4[_0x239a92>>>0x10&0xff]^_0x40d6ec[_0x1e9824>>>0x8&0xff]^_0x236978[_0x125d04&0xff]^_0x19063e[_0xf65518++];_0x239a92=_0x1389d3,_0x1e9824=_0x28077e,_0x125d04=_0x2657bf,_0x4cc5d9=_0x4f5bdf;}var _0x1389d3=(_0x833b35[_0x239a92>>>0x18]<<0x18|_0x833b35[_0x1e9824>>>0x10&0xff]<<0x10|_0x833b35[_0x125d04>>>0x8&0xff]<<0x8|_0x833b35[_0x4cc5d9&0xff])^_0x19063e[_0xf65518++],_0x28077e=(_0x833b35[_0x1e9824>>>0x18]<<0x18|_0x833b35[_0x125d04>>>0x10&0xff]<<0x10|_0x833b35[_0x4cc5d9>>>0x8&0xff]<<0x8|_0x833b35[_0x239a92&0xff])^_0x19063e[_0xf65518++],_0x2657bf=(_0x833b35[_0x125d04>>>0x18]<<0x18|_0x833b35[_0x4cc5d9>>>0x10&0xff]<<0x10|_0x833b35[_0x239a92>>>0x8&0xff]<<0x8|_0x833b35[_0x1e9824&0xff])^_0x19063e[_0xf65518++],_0x4f5bdf=(_0x833b35[_0x4cc5d9>>>0x18]<<0x18|_0x833b35[_0x239a92>>>0x10&0xff]<<0x10|_0x833b35[_0x1e9824>>>0x8&0xff]<<0x8|_0x833b35[_0x125d04&0xff])^_0x19063e[_0xf65518++];_0x1b583e[_0x23ee73]=_0x1389d3,_0x1b583e[_0x23ee73+0x1]=_0x28077e,_0x1b583e[_0x23ee73+0x2]=_0x2657bf,_0x1b583e[_0x23ee73+0x3]=_0x4f5bdf;},'keySize':0x100/0x20});_0x20b741[_0x129120(0x23a)]=_0x4c0a04[_0x129120(0x3c2)](_0x4fd5be);}()),_0x44e248[_0x41f28e(0x23a)];}));}(Ve)),Ve[_0x2b099c(0x1ac)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x180182(0x1ac)],ai;function zr(){var _0x45932b=_0x180182;return ai||(ai=0x1,function(_0x2550df,_0x56a9cd){(function(_0x5ddb71,_0x2a1844){var _0x1b42f0=_0x11d4;_0x2550df[_0x1b42f0(0x1ac)]=_0x2a1844(ne());}(qr,function(_0x35a78d){var _0x30f2bf=_0x11d4;return _0x35a78d[_0x30f2bf(0x211)]['Utf8'];}));}(Xe)),Xe[_0x45932b(0x1ac)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x180182(0x1ac)],ci;function Qr(){var _0x17a392=_0x180182;return ci||(ci=0x1,function(_0x17c347,_0x3d5f6b){(function(_0x1a9103,_0x5729df){var _0x44296c=_0x11d4;_0x17c347[_0x44296c(0x1ac)]=_0x5729df(ne());}(Zr,function(_0x533117){var _0xd533de=_0x11d4;return(function(){var _0x3a9d61=_0x11d4;if(typeof ArrayBuffer==_0x3a9d61(0x2ed)){var _0x4c989f=_0x533117,_0x3bfa3c=_0x4c989f[_0x3a9d61(0x255)],_0x476c35=_0x3bfa3c[_0x3a9d61(0x1aa)],_0x28d6ea=_0x476c35[_0x3a9d61(0x31d)],_0x3e2024=_0x476c35[_0x3a9d61(0x31d)]=function(_0x5a6006){var _0x339593=_0x3a9d61;if(_0x5a6006 instanceof ArrayBuffer&&(_0x5a6006=new Uint8Array(_0x5a6006)),(_0x5a6006 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5a6006 instanceof Uint8ClampedArray||_0x5a6006 instanceof Int16Array||_0x5a6006 instanceof Uint16Array||_0x5a6006 instanceof Int32Array||_0x5a6006 instanceof Uint32Array||_0x5a6006 instanceof Float32Array||_0x5a6006 instanceof Float64Array)&&(_0x5a6006=new Uint8Array(_0x5a6006[_0x339593(0x379)],_0x5a6006[_0x339593(0x3c9)],_0x5a6006[_0x339593(0x279)])),_0x5a6006 instanceof Uint8Array){for(var _0x33f10a=_0x5a6006[_0x339593(0x279)],_0xc04c3c=[],_0xa48756=0x0;_0xa48756<_0x33f10a;_0xa48756++)_0xc04c3c[_0xa48756>>>0x2]|=_0x5a6006[_0xa48756]<<0x18-_0xa48756%0x4*0x8;_0x28d6ea['call'](this,_0xc04c3c,_0x33f10a);}else _0x28d6ea['apply'](this,arguments);};_0x3e2024[_0x3a9d61(0x433)]=_0x476c35;}}()),_0x533117[_0xd533de(0x255)][_0xd533de(0x1aa)];}));}(Ze)),Ze[_0x17a392(0x1ac)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x180182(0x1ac)],hi;function ns(){return hi||(hi=0x1,function(_0x42a9b3,_0x49f460){(function(_0x3d94c4,_0x27a7d6,_0x26fc0c){_0x42a9b3['exports']=_0x27a7d6(ne(),Ai());}(is,function(_0x4d042e){var _0x5e4c3c=_0x11d4;return _0x4d042e['pad'][_0x5e4c3c(0x3cd)]={'pad':function(){},'unpad':function(){}},_0x4d042e[_0x5e4c3c(0x261)][_0x5e4c3c(0x3cd)];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0x647c65,_0x179997){var _0x513e59=_0x180182;const _0x13ce5d=_0x179997-_0x647c65['length']%_0x179997,_0x4add1b=String[_0x513e59(0x3f4)](_0x13ce5d)['repeat'](_0x13ce5d);return _0x647c65+_0x4add1b;}function as(_0x128889,_0x1d52d6){var _0x90b6bf=_0x180182;const _0x176bae=ts['random'](0x10),_0xed26ed=os(_0x128889,0x10),_0x48b810=Kr[_0x90b6bf(0x284)](Xr[_0x90b6bf(0x18d)](_0xed26ed),oi['parse'](_0x1d52d6),{'iv':_0x176bae,'padding':ss});return _0x176bae['concat'](_0x48b810[_0x90b6bf(0x1ee)])[_0x90b6bf(0x191)](oi);}function cs(){var _0xd00185=_0x180182;const _0x49e49b=_0x3ae151()[_0xd00185(0x44f)];if(_0x49e49b){const _0x5f3225={'time':Math[_0xd00185(0x28c)](Date[_0xd00185(0x407)]()/0x3e8),'domain':location[_0xd00185(0x41b)]};return as(JSON[_0xd00185(0x2fc)](_0x5f3225),_0x49e49b);}}var hs=Object[_0x180182(0x223)],_s=Object[_0x180182(0x2dc)],ls=(_0x4fb2c1,_0x184d6b,_0x5d8720,_0x4a56ed)=>{for(var _0x4ad2c5=_0x4a56ed>0x1?void 0x0:_0x4a56ed?_s(_0x184d6b,_0x5d8720):_0x184d6b,_0x4234da=_0x4fb2c1['length']-0x1,_0x2078b2;_0x4234da>=0x0;_0x4234da--)(_0x2078b2=_0x4fb2c1[_0x4234da])&&(_0x4ad2c5=(_0x4a56ed?_0x2078b2(_0x184d6b,_0x5d8720,_0x4ad2c5):_0x2078b2(_0x4ad2c5))||_0x4ad2c5);return _0x4a56ed&&_0x4ad2c5&&hs(_0x184d6b,_0x5d8720,_0x4ad2c5),_0x4ad2c5;},us=(_0x31640a,_0x3ebfe8)=>(_0x59c927,_0xf96688)=>_0x3ebfe8(_0x59c927,_0xf96688,_0x31640a);let ot=class{constructor(_0x21418c){var _0x5ed010=_0x180182;this[_0x5ed010(0x2a3)]=_0x21418c,this[_0x5ed010(0x24a)]();}['_initRequestHeader'](){var _0xf696fd=_0x180182;this[_0xf696fd(0x2a3)][_0xf696fd(0x1a9)]({'interceptor':(_0x59b1a5,_0x368a01)=>{var _0x3c8ae0=_0xf696fd;const _0x897f15=_0x59b1a5[_0x3c8ae0(0x357)],_0x1431e3=cs();return _0x1431e3&&_0x897f15['set'](_0x3c8ae0(0x189),_0x1431e3),_0x368a01(_0x59b1a5);}});}};ot=ls([us(0x0,_0x353e29(_0x3a1dbb))],ot);var ds=Object['defineProperty'],fs=Object['getOwnPropertyDescriptor'],vs=(_0x441afa,_0xc07556,_0x2199ed,_0x241548)=>{var _0x433d44=_0x180182;for(var _0x58ba8f=_0x241548>0x1?void 0x0:_0x241548?fs(_0xc07556,_0x2199ed):_0xc07556,_0x4661f9=_0x441afa[_0x433d44(0x22e)]-0x1,_0x357546;_0x4661f9>=0x0;_0x4661f9--)(_0x357546=_0x441afa[_0x4661f9])&&(_0x58ba8f=(_0x241548?_0x357546(_0xc07556,_0x2199ed,_0x58ba8f):_0x357546(_0x58ba8f))||_0x58ba8f);return _0x241548&&_0x58ba8f&&ds(_0xc07556,_0x2199ed,_0x58ba8f),_0x58ba8f;},mt=(_0x378b46,_0xff41af)=>(_0x11e32a,_0x18a5a5)=>_0xff41af(_0x11e32a,_0x18a5a5,_0x378b46);let Ot=class extends _0x528acc{constructor(_0x8983c4,_0x476396,_0x449128){var _0x4121e7=_0x180182;super(),N(this,_0x4121e7(0x3a9),new _0x2de85e(null)),N(this,_0x4121e7(0x36d),this[_0x4121e7(0x3a9)][_0x4121e7(0x473)]()),(this[_0x4121e7(0x1a2)]=_0x8983c4,this['_snapshotService']=_0x476396,this[_0x4121e7(0x171)]=_0x449128);}async[_0x180182(0x384)](_0x3c12b3,_0x27e2f5,_0x2ee944){var _0x36d2e3=_0x180182;this[_0x36d2e3(0x3a9)]['next']({'unitId':_0x3c12b3,'type':_0x27e2f5,'subUnitId':_0x2ee944});let _0x154ee4=null;switch(_0x27e2f5){case Q[_0x36d2e3(0x45b)]:{_0x154ee4=await this[_0x36d2e3(0x353)](_0x3c12b3);break;}case Q[_0x36d2e3(0x282)]:{_0x154ee4=await this[_0x36d2e3(0x368)](_0x3c12b3);break;}default:{this['_logService']['error'](_0x36d2e3(0x3a1),_0x36d2e3(0x341));break;}}return _0x154ee4;}async[_0x180182(0x353)](_0x32c3fe){var _0x451945=_0x180182,_0xb330b1;let _0x10dccd=0x0;const _0x267f77=await((_0xb330b1=this['_localCacheService'])==null?void 0x0:_0xb330b1[_0x451945(0x253)](_0x32c3fe));return _0x267f77&&(_0x267f77[_0x451945(0x234)]||_0x267f77[_0x451945(0x3f8)][_0x451945(0x22e)]!==0x0)&&(_0x10dccd=_0x267f77[_0x451945(0x2b1)]),_0x10dccd===0x0&&this[_0x451945(0x1a2)][_0x451945(0x23d)](_0x451945(0x3a1),_0x451945(0x2d2)),this[_0x451945(0x35f)][_0x451945(0x3fa)](_0x32c3fe,_0x10dccd);}async['_loadDoc'](_0x2688fd){var _0x17530a=_0x180182,_0x2f896f;let _0x14b5a8=0x0;const _0xacbd3=await((_0x2f896f=this[_0x17530a(0x171)])==null?void 0x0:_0x2f896f['loadOfflineData'](_0x2688fd));return _0xacbd3&&(_0xacbd3['awaitingChangeset']||_0xacbd3[_0x17530a(0x3f8)][_0x17530a(0x22e)]!==0x0)&&(_0x14b5a8=_0xacbd3[_0x17530a(0x2b1)]),_0x14b5a8===0x0&&this[_0x17530a(0x1a2)][_0x17530a(0x23d)]('[DataLoaderService]',_0x17530a(0x2d2)),this[_0x17530a(0x35f)][_0x17530a(0x175)](_0x2688fd,_0x14b5a8);}};Ot=vs([mt(0x0,_0x3e9f29),mt(0x1,_0x353e29(_0x1574a3)),mt(0x2,_0x2d320a(J))],Ot);var ps=Object[_0x180182(0x223)],ms=Object[_0x180182(0x2dc)],gs=(_0x4e1125,_0x23271f,_0x5ec37f,_0x2971ca)=>{var _0x3a5e48=_0x180182;for(var _0x25950b=_0x2971ca>0x1?void 0x0:_0x2971ca?ms(_0x23271f,_0x5ec37f):_0x23271f,_0x202693=_0x4e1125[_0x3a5e48(0x22e)]-0x1,_0x3a659d;_0x202693>=0x0;_0x202693--)(_0x3a659d=_0x4e1125[_0x202693])&&(_0x25950b=(_0x2971ca?_0x3a659d(_0x23271f,_0x5ec37f,_0x25950b):_0x3a659d(_0x25950b))||_0x25950b);return _0x2971ca&&_0x25950b&&ps(_0x23271f,_0x5ec37f,_0x25950b),_0x25950b;},gt=(_0x5159b2,_0x1f04c9)=>(_0xb34a70,_0x57a284)=>_0x1f04c9(_0xb34a70,_0x57a284,_0x5159b2);const Ss=[_0x180182(0x288),_0x180182(0x409),_0x180182(0x3af),_0x180182(0x215),'image/bmp'],Es=0x5*0x400*0x400,Is=_0x180182(0x16a),Ts='/universer-api/stream/file/upload',Cs=_0x180182(0x181),Rs=_0x180182(0x3e9);let yt=class{constructor(_0x3d9575,_0x82a0dc,_0x5975bd){var _0xe20474=_0x180182;N(this,_0xe20474(0x449),0x0),N(this,_0xe20474(0x443),new _0x3be824()),N(this,_0xe20474(0x303),this['_change$']),N(this,_0xe20474(0x311),new Map()),(this[_0xe20474(0x2a3)]=_0x3d9575,this[_0xe20474(0x2c9)]=_0x82a0dc,this['_univerInstanceService']=_0x5975bd);}[_0x180182(0x1c5)](_0x46cb06){var _0x4eb085=_0x180182;this['_waitCount']=_0x46cb06,this[_0x4eb085(0x443)][_0x4eb085(0x1c9)](_0x46cb06);}[_0x180182(0x381)](_0x11f682,_0x3d944b){var _0x40f449=_0x180182;if(_0x3d944b===_0xa41595[_0x40f449(0x432)]){const _0x36a862=new Image();return _0x36a862[_0x40f449(0x327)]=_0x11f682,_0x36a862;}return this[_0x40f449(0x311)][_0x40f449(0x42e)](_0x11f682);}[_0x180182(0x2d1)](_0x1e39d1,_0x221f53,_0x5142c9){var _0x2434e1=_0x180182;_0x221f53===_0xa41595[_0x2434e1(0x432)]||_0x5142c9==null||this[_0x2434e1(0x311)][_0x2434e1(0x3e8)](_0x1e39d1,_0x5142c9);}async['getImage'](_0x5dffe5){var _0x53737d=_0x180182;try{const _0x38a65f=this[_0x53737d(0x183)](this[_0x53737d(0x447)](),''+_0x5dffe5),_0x84f37c=(await this['_httpService']['get'](_0x38a65f))['body'];if(_0x84f37c[_0x53737d(0x458)]&&_0x84f37c[_0x53737d(0x458)][_0x53737d(0x44d)]===Ii['OK']){const _0x381475=new URL(_0x84f37c[_0x53737d(0x3a8)],this[_0x53737d(0x339)]())[_0x53737d(0x191)]();return Promise[_0x53737d(0x17e)](_0x381475);}return Promise['reject'](_0x84f37c[_0x53737d(0x458)]);}catch(_0x53493b){return Promise['reject'](_0x53493b);}}async[_0x180182(0x1b0)](_0x32bc52){var _0x730a9c=_0x180182;let _0x1b841f='';if(!Ss[_0x730a9c(0x1eb)](_0x32bc52[_0x730a9c(0x3b0)]))return this['_decreaseWaiting'](),Promise[_0x730a9c(0x29f)](new Error(_0x3d17a0[_0x730a9c(0x1d7)]));if(_0x32bc52[_0x730a9c(0x18f)]>Es)return this[_0x730a9c(0x3c7)](),Promise['reject'](new Error(_0x3d17a0[_0x730a9c(0x386)]));try{const _0x385b92=new FormData();_0x385b92[_0x730a9c(0x1bf)]('file',_0x32bc52);const _0x19c321=this['_univerInstanceService'][_0x730a9c(0x336)](),_0x3bf6b5=_0x19c321==null?void 0x0:_0x19c321['getUnitId']();if(!_0x3bf6b5)throw new Error(_0x730a9c(0x31c));const _0x2c0c0d=this[_0x730a9c(0x3d6)]()+_0x730a9c(0x286)+_0x32bc52[_0x730a9c(0x18f)][_0x730a9c(0x191)]()+_0x730a9c(0x1c2)+Ti['UnitEmbedded']+'&assign='+encodeURIComponent(_0x3bf6b5),_0x4cb8ee=await(await fetch(_0x2c0c0d,{'method':_0x730a9c(0x26f),'body':_0x385b92}))[_0x730a9c(0x203)]();if(typeof _0x4cb8ee[_0x730a9c(0x347)]!=_0x730a9c(0x1b2))return this['_decreaseWaiting'](),Promise[_0x730a9c(0x29f)](new Error(_0x3d17a0[_0x730a9c(0x1fb)]));_0x1b841f=_0x4cb8ee[_0x730a9c(0x347)];}catch{return this[_0x730a9c(0x3c7)](),Promise[_0x730a9c(0x29f)](new Error(_0x3d17a0[_0x730a9c(0x1fb)]));}return new Promise((_0x41b0c4,_0xf72bce)=>{var _0x332cfd=_0x730a9c;const _0x116b09=new FileReader();_0x116b09[_0x332cfd(0x243)](_0x32bc52),_0x116b09[_0x332cfd(0x400)]=_0x28ee77=>{var _0x5684f1=_0x332cfd,_0x23c865;const _0x18e88d=(_0x23c865=_0x28ee77['target'])==null?void 0x0:_0x23c865['result'];if(_0x18e88d==null){this['_decreaseWaiting'](),_0xf72bce(new Error(_0x3d17a0['ERROR_IMAGE']));return;}const _0x2baf11=_0x51a629[_0x5684f1(0x31f)](0x6);_0x41b0c4({'imageId':_0x2baf11,'imageSourceType':_0xa41595['UUID'],'source':_0x1b841f,'base64Cache':_0x18e88d,'status':_0x3d17a0[_0x5684f1(0x399)]}),this[_0x5684f1(0x3c7)]();};});}[_0x180182(0x3d6)](){var _0x34187e=_0x180182,_0x5739e3,_0x2f4f8e;const _0xc80cc7=this[_0x34187e(0x2c9)][_0x34187e(0x3b2)](Is),_0x278374=this['_configService'][_0x34187e(0x3b2)](q);return(_0x2f4f8e=(_0x5739e3=_0x278374==null?void 0x0:_0x278374[_0x34187e(0x294)])!=null?_0x5739e3:_0xc80cc7)!=null?_0x2f4f8e:Ts;}[_0x180182(0x447)](){var _0x2e11dc=_0x180182,_0x30755f,_0xbc0c8d;const _0x3b1c65=this[_0x2e11dc(0x2c9)][_0x2e11dc(0x3b2)](Cs),_0xc3213=this[_0x2e11dc(0x2c9)]['getConfig'](q);return(_0xbc0c8d=(_0x30755f=_0xc3213==null?void 0x0:_0xc3213[_0x2e11dc(0x3f5)])!=null?_0x30755f:_0x3b1c65)!=null?_0xbc0c8d:Rs;}[_0x180182(0x339)](){var _0x4d15c4=_0x180182,_0x3f5d22;const _0x353f8c=this['_configService']['getConfig'](q);return(_0x3f5d22=_0x353f8c==null?void 0x0:_0x353f8c[_0x4d15c4(0x43a)])!=null?_0x3f5d22:location[_0x4d15c4(0x34f)];}['_replaceFileID'](_0x7974f6,_0x4ed42c){var _0x434068=_0x180182;return _0x7974f6[_0x434068(0x1a8)](_0x434068(0x1e7),_0x4ed42c);}[_0x180182(0x3c7)](){var _0x3c5d30=_0x180182;this[_0x3c5d30(0x449)]-=0x1,this[_0x3c5d30(0x443)]['next'](this[_0x3c5d30(0x449)]);}};yt=gs([gt(0x0,_0x353e29(_0x3a1dbb)),gt(0x1,_0x1d880c),gt(0x2,_0x353e29(_0xbe923a))],yt);var bs=Object[_0x180182(0x223)],Os=Object[_0x180182(0x2dc)],ys=(_0x4deef1,_0x5408d1,_0x2365cc,_0x241c4c)=>{var _0x21d99a=_0x180182;for(var _0x4eddd9=_0x241c4c>0x1?void 0x0:_0x241c4c?Os(_0x5408d1,_0x2365cc):_0x5408d1,_0x1b70a0=_0x4deef1[_0x21d99a(0x22e)]-0x1,_0x58caa0;_0x1b70a0>=0x0;_0x1b70a0--)(_0x58caa0=_0x4deef1[_0x1b70a0])&&(_0x4eddd9=(_0x241c4c?_0x58caa0(_0x5408d1,_0x2365cc,_0x4eddd9):_0x58caa0(_0x4eddd9))||_0x4eddd9);return _0x241c4c&&_0x4eddd9&&bs(_0x5408d1,_0x2365cc,_0x4eddd9),_0x4eddd9;},_i=(_0x2feb91,_0xaa6629)=>(_0x29afe9,_0x2c7d31)=>_0xaa6629(_0x29afe9,_0x2c7d31,_0x2feb91);function _0x11d4(_0x504601,_0x254a07){var _0x2aa82f=_0x2aa8();return _0x11d4=function(_0x11d460,_0x1f207f){_0x11d460=_0x11d460-0x168;var _0x3ae042=_0x2aa82f[_0x11d460];return _0x3ae042;},_0x11d4(_0x504601,_0x254a07);}const Ns='/universer-api/authz';let Nt=class{constructor(_0x4b8423,_0xea9fb3){var _0x2eb8c7=_0x180182;this[_0x2eb8c7(0x2c9)]=_0x4b8423,this[_0x2eb8c7(0x3bb)]=_0xea9fb3;}[_0x180182(0x232)](){var _0x8ac20f=_0x180182,_0x3607f2,_0x6e5c64;const _0x356fd6=this[_0x8ac20f(0x2c9)][_0x8ac20f(0x3b2)](Pi),_0x4405ab=this['_configService'][_0x8ac20f(0x3b2)](q);return(_0x6e5c64=(_0x3607f2=_0x4405ab==null?void 0x0:_0x4405ab['authzUrl'])!=null?_0x3607f2:_0x356fd6)!=null?_0x6e5c64:Ns;}async[_0x180182(0x3c3)](_0x5886fb){var _0x506c18=_0x180182;const _0xa5018=this[_0x506c18(0x232)]()+_0x506c18(0x442);return{'list':[{'title':_0x506c18(0x330),'mentions':(await this[_0x506c18(0x3bb)][_0x506c18(0x42e)](_0xa5018,{'params':{'objectID':_0x5886fb['unitId'],'unitID':_0x5886fb[_0x506c18(0x18a)]}}))[_0x506c18(0x406)][_0x506c18(0x246)]['map'](_0x5415b4=>({'objectId':_0x5415b4['id'],'name':_0x5415b4[_0x506c18(0x1da)][_0x506c18(0x31e)],'metadata':{'icon':_0x5415b4[_0x506c18(0x1da)][_0x506c18(0x3da)]},'label':_0x5415b4[_0x506c18(0x1da)]['name'],'objectType':_0x155c13[_0x506c18(0x26b)]})),'metadata':{},'type':_0x155c13['PERSON']}]};}};Nt=ys([_i(0x0,_0x353e29(_0x1d880c)),_i(0x1,_0x353e29(_0x3a1dbb))],Nt);var Ds=Object['defineProperty'],Ps=Object[_0x180182(0x2dc)],ws=(_0x539a27,_0x3f5687,_0x4df901,_0x25a1c2)=>{var _0x1a76c1=_0x180182;for(var _0x2bebcc=_0x25a1c2>0x1?void 0x0:_0x25a1c2?Ps(_0x3f5687,_0x4df901):_0x3f5687,_0x4fc8a8=_0x539a27[_0x1a76c1(0x22e)]-0x1,_0x18536e;_0x4fc8a8>=0x0;_0x4fc8a8--)(_0x18536e=_0x539a27[_0x4fc8a8])&&(_0x2bebcc=(_0x25a1c2?_0x18536e(_0x3f5687,_0x4df901,_0x2bebcc):_0x18536e(_0x2bebcc))||_0x2bebcc);return _0x25a1c2&&_0x2bebcc&&Ds(_0x3f5687,_0x4df901,_0x2bebcc),_0x2bebcc;},Se=(_0x1f8327,_0x56f81d)=>(_0xfc79ca,_0x1107d2)=>_0x56f81d(_0xfc79ca,_0x1107d2,_0x1f8327);let at=class extends _0x528acc{constructor(_0x36de8a,_0x598ed6,_0x900256,_0x250c74,_0xbede23,_0x2ba17a,_0x38128a){var _0x2d81ab=_0x180182;super(),this[_0x2d81ab(0x3ff)]=_0x36de8a,this[_0x2d81ab(0x207)]=_0x598ed6,this[_0x2d81ab(0x206)]=_0x900256,this['_collaborationSessionService']=_0x250c74,this[_0x2d81ab(0x1a5)]=_0xbede23,this[_0x2d81ab(0x295)]=_0x2ba17a,this['_undoRedoService']=_0x38128a,this[_0x2d81ab(0x2ec)](),this[_0x2d81ab(0x30e)]();}[_0x180182(0x30e)](){var _0xe5cd70=_0x180182;const _0x2b4b6d=async _0x103467=>{var _0x44c227=_0x11d4;(await this[_0x44c227(0x404)]['requireSession'](_0x103467))['event$'][_0x44c227(0x1df)](_0x403452(_0x209cb6=>_0x209cb6[_0x44c227(0x41f)]===_0x34671a[_0x44c227(0x344)]),_0x247c3e(this[_0x44c227(0x1e2)]))['subscribe'](_0x4dad55=>{var _0x161587=_0x44c227;const _0xd3a45e=_0x4dad55,{reason:_0x390ef5}=_0xd3a45e[_0x161587(0x180)];this[_0x161587(0x1a5)][_0x161587(0x3f6)]({'id':se[_0x161587(0x41c)],'data':_0x390ef5}),this[_0x161587(0x206)][_0x161587(0x1af)](new _0x1ea93e(_0x103467)['id'],!0x1),this[_0x161587(0x404)][_0x161587(0x457)](_0x103467);});};_0x557492(this[_0xe5cd70(0x207)][_0xe5cd70(0x2bf)](_0xe90df[_0xe5cd70(0x45b)]),this['_univerInstanceService'][_0xe5cd70(0x2bf)](_0xe90df[_0xe5cd70(0x282)]))[_0xe5cd70(0x1df)](_0x582953(_0x13efd4=>_0x13efd4['getUnitId']()),_0x403452(_0x11d424=>!_0x10dc22(_0x11d424)),_0x247c3e(this[_0xe5cd70(0x1e2)]))['subscribe'](_0x251198=>{_0x2b4b6d(_0x251198);});}[_0x180182(0x2ec)](){var _0x3fa651=_0x180182;const _0x2178b0=async _0xa17330=>{var _0x4b3488=_0x11d4;const _0x6857c0=await this[_0x4b3488(0x404)][_0x4b3488(0x3f1)](_0xa17330),_0x2836a5=this[_0x4b3488(0x3ff)][_0x4b3488(0x42e)](_0x348be8);_0x6857c0[_0x4b3488(0x27b)][_0x4b3488(0x1df)](_0x403452(_0x21f299=>_0x21f299['eventID']===_0x34671a['UPDATE_PERMISSION_OBJ']),_0x247c3e(this[_0x4b3488(0x1e2)]))['subscribe'](_0x4f8797=>{var _0x1f49a2=_0x4b3488;const _0x31cb13=_0x4f8797,{objectId:_0x4ca551}=_0x31cb13['data'];_0x4ca551===_0xa17330?_0x2836a5[_0x1f49a2(0x201)](_0xa17330):_0x2836a5[_0x1f49a2(0x2e9)](_0xa17330,_0x4ca551);});};_0x557492(this[_0x3fa651(0x207)][_0x3fa651(0x2bf)](_0xe90df['UNIVER_SHEET']),this[_0x3fa651(0x207)][_0x3fa651(0x2bf)](_0xe90df['UNIVER_DOC']))[_0x3fa651(0x1df)](_0x582953(_0x56f013=>_0x56f013[_0x3fa651(0x20f)]()),_0x403452(_0x2525af=>!_0x10dc22(_0x2525af)),_0x247c3e(this[_0x3fa651(0x1e2)]))[_0x3fa651(0x24d)](_0x133c87=>{_0x2178b0(_0x133c87);});}};at=ws([Se(0x0,_0x353e29(_0x514172)),Se(0x1,_0xbe923a),Se(0x2,_0x164670),Se(0x3,_0x353e29(Le)),Se(0x4,_0x353e29(pe)),Se(0x5,_0x52f070),Se(0x6,_0x3d63ec)],at);var Us=Object[_0x180182(0x223)],As=Object['getOwnPropertyDescriptor'],xs=(_0x1228ef,_0x151bd1,_0x2fb1aa,_0x56420d)=>{var _0x539455=_0x180182;for(var _0x37a48a=_0x56420d>0x1?void 0x0:_0x56420d?As(_0x151bd1,_0x2fb1aa):_0x151bd1,_0x278d57=_0x1228ef[_0x539455(0x22e)]-0x1,_0x454328;_0x278d57>=0x0;_0x278d57--)(_0x454328=_0x1228ef[_0x278d57])&&(_0x37a48a=(_0x56420d?_0x454328(_0x151bd1,_0x2fb1aa,_0x37a48a):_0x454328(_0x37a48a))||_0x37a48a);return _0x56420d&&_0x37a48a&&Us(_0x151bd1,_0x2fb1aa,_0x37a48a),_0x37a48a;},li=(_0x30fa14,_0x5ea362)=>(_0x5f1b29,_0x4cde44)=>_0x5ea362(_0x5f1b29,_0x4cde44,_0x30fa14);let Dt=class{constructor(_0x4f3687,_0x2c4a7f){var _0x2431b0=_0x180182;this[_0x2431b0(0x2c9)]=_0x4f3687,this[_0x2431b0(0x2a3)]=_0x2c4a7f;}async[_0x180182(0x325)](_0x3e1c1a,_0x57dbfe){var _0x318fb6=_0x180182,_0x47a74e;const {unitID:_0x4e5b3e,type:_0xd3e6b5,revision:_0x58db66=0x0}=_0x57dbfe,_0x520e85=this[_0x318fb6(0x2d5)]()+'/'+_0xd3e6b5+_0x318fb6(0x2fa)+_0x4e5b3e+_0x318fb6(0x276)+_0x58db66,_0x231f78=(await this['_httpService'][_0x318fb6(0x42e)](_0x520e85))[_0x318fb6(0x406)],_0x5b9634=(_0x47a74e=_0x231f78[_0x318fb6(0x174)])==null?void 0x0:_0x47a74e[_0x318fb6(0x2ae)];if(_0x5b9634){const _0x5d0590=_0x5b9634==null?void 0x0:_0x5b9634['originalMeta'],_0x53ebb2=_0x3f2056['encode'](_0x3899e9(_0x5d0590));_0x5b9634[_0x318fb6(0x20c)]=_0x53ebb2,Object[_0x318fb6(0x2c8)](_0x5b9634[_0x318fb6(0x3b5)])[_0x318fb6(0x46f)](([,_0x43899e])=>{var _0x3e2ff7=_0x318fb6;const _0x1ef09e=_0x43899e[_0x3e2ff7(0x20c)],_0x4eb834=_0x3f2056[_0x3e2ff7(0x46e)](_0x3899e9(_0x1ef09e));_0x43899e[_0x3e2ff7(0x20c)]=_0x4eb834;});}return _0x231f78;}async['getSheetBlock'](_0x3a8e21,_0x341bb3){var _0x4196e1=_0x180182;const {unitID:_0x4e5968,type:_0x300f88,blockID:_0x5d9f08}=_0x341bb3,_0xb23ff7=this['_getAPIPrefix']()+'/'+_0x300f88+_0x4196e1(0x2fa)+_0x4e5968+_0x4196e1(0x1d5)+_0x5d9f08;return(await this[_0x4196e1(0x2a3)][_0x4196e1(0x42e)](_0xb23ff7))[_0x4196e1(0x406)];}async[_0x180182(0x292)](_0x178adc,_0xf5d552){var _0x18fcb5=_0x180182;const {unitID:_0x270aa9,type:_0x4dca2d,blockID:_0x151ed0}=_0xf5d552,_0x4f1b6f=this[_0x18fcb5(0x278)]()+_0x18fcb5(0x1d5)+_0x4dca2d+_0x18fcb5(0x2fa)+_0x270aa9+_0x18fcb5(0x1d5)+_0x151ed0;return(await this[_0x18fcb5(0x2a3)][_0x18fcb5(0x42e)](_0x4f1b6f))[_0x18fcb5(0x406)];}async['fetchMissingChangesets'](_0x54c645,_0x53ea13){var _0x34fc81=_0x180182;const {unitID:_0x1a2a40,type:_0x29621c,from:_0x26230a,to:_0x5a53c9}=_0x53ea13,_0x10f931=this[_0x34fc81(0x278)]()+'/'+_0x29621c+'/unit/'+_0x1a2a40+_0x34fc81(0x26e)+_0x26230a+_0x34fc81(0x216)+_0x5a53c9;return(await this[_0x34fc81(0x2a3)]['get'](_0x10f931))[_0x34fc81(0x406)];}[_0x180182(0x2d5)](){var _0x3c5557=_0x180182,_0x41140a;return(_0x41140a=this[_0x3c5557(0x2c9)]['getConfig'](Tn))!=null?_0x41140a:this[_0x3c5557(0x278)]();}[_0x180182(0x278)](){var _0x552a94=_0x180182,_0x468f82,_0x11ad68;const _0x464623=this['_configService'][_0x552a94(0x3b2)](En),_0xd0cbe7=this[_0x552a94(0x2c9)][_0x552a94(0x3b2)](q);return(_0x11ad68=(_0x468f82=_0xd0cbe7==null?void 0x0:_0xd0cbe7[_0x552a94(0x229)])!=null?_0x468f82:_0x464623)!=null?_0x11ad68:In;}async[_0x180182(0x29b)](_0x22cdb6,_0x4c6147){var _0x4bae49=_0x180182;const _0x5cc4a9=_0x4bae49(0x46c)+_0x4c6147['type']+'/unit/'+_0x4c6147[_0x4bae49(0x1ea)]+_0x4bae49(0x2d7);return(await this['_httpService'][_0x4bae49(0x42e)](_0x5cc4a9,{'params':{'resourceId':JSON[_0x4bae49(0x2fc)](_0x4c6147[_0x4bae49(0x3e5)])}}))['body'];}['saveSnapshot'](){var _0x34ab0e=_0x180182;throw new Error(_0x34ab0e(0x3a4));}['saveSheetBlock'](){var _0x558edb=_0x180182;throw new Error(_0x558edb(0x3a4));}[_0x180182(0x244)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x180182(0x3d7)](){var _0x41f1c9=_0x180182;throw new Error(_0x41f1c9(0x3a4));}[_0x180182(0x27d)](){var _0x355f7c=_0x180182;throw new Error(_0x355f7c(0x3a4));}};Dt=xs([li(0x0,_0x1d880c),li(0x1,_0x353e29(_0x3a1dbb))],Dt);var Ls=Object[_0x180182(0x223)],Ms=Object[_0x180182(0x2dc)],$s=(_0x1c50d7,_0x322adb,_0x153b38,_0x5bd966)=>{for(var _0xcc571e=_0x5bd966>0x1?void 0x0:_0x5bd966?Ms(_0x322adb,_0x153b38):_0x322adb,_0x775680=_0x1c50d7['length']-0x1,_0x3de3cc;_0x775680>=0x0;_0x775680--)(_0x3de3cc=_0x1c50d7[_0x775680])&&(_0xcc571e=(_0x5bd966?_0x3de3cc(_0x322adb,_0x153b38,_0xcc571e):_0x3de3cc(_0xcc571e))||_0xcc571e);return _0x5bd966&&_0xcc571e&&Ls(_0x322adb,_0x153b38,_0xcc571e),_0xcc571e;},Ae=(_0x1cd196,_0x39cb25)=>(_0x488bd1,_0x952f6e)=>_0x39cb25(_0x488bd1,_0x952f6e,_0x1cd196);let Pt=class extends _0xfdf7e{constructor(_0x1c28ac,_0x23d92d,_0x58a715,_0xc89722,_0x2b3ed9){var _0x5795ea=_0x180182;super(_0x1c28ac,_0x23d92d,_0x58a715),this[_0x5795ea(0x322)]=_0xc89722,this['_logService']=_0x2b3ed9;}[_0x180182(0x198)](_0x41ac92,_0x22829d){var _0x29127c=_0x180182;const _0x50f210=this['_getUndoStack'](_0x41ac92);if(_0x50f210)try{const _0x3dd213=this[_0x29127c(0x314)](_0x50f210,_0x22829d);this[_0x29127c(0x213)](_0x41ac92,_0x3dd213);}catch(_0x8d4759){this[_0x29127c(0x1a2)][_0x29127c(0x458)]('[CollaborationUndoRedoService]',_0x8d4759),this[_0x29127c(0x3f9)](_0x41ac92);}const _0x3165f=this[_0x29127c(0x3d8)](_0x41ac92);if(_0x3165f)try{const _0x4b9292=this[_0x29127c(0x314)](_0x3165f,_0x22829d);this[_0x29127c(0x219)](_0x41ac92,_0x4b9292);}catch(_0x13f56e){this[_0x29127c(0x1a2)]['error'](_0x13f56e),this[_0x29127c(0x417)](_0x41ac92);}}[_0x180182(0x3f9)](_0x4f94df){var _0x30e0ee=_0x180182;const _0x2f2d49=this['_getUndoStack'](_0x4f94df);_0x2f2d49&&(_0x2f2d49['length']=0x0,this[_0x30e0ee(0x416)]());}['_clearRedo'](_0x19d100){var _0x448bcd=_0x180182;const _0x581eb4=this[_0x448bcd(0x3d8)](_0x19d100);_0x581eb4&&(_0x581eb4[_0x448bcd(0x22e)]=0x0,this['_updateStatus']());}[_0x180182(0x213)](_0x35abe5,_0x5c6fff){var _0x23db23=_0x180182;this[_0x23db23(0x3f7)]['set'](_0x35abe5,_0x5c6fff),this[_0x23db23(0x416)]();}[_0x180182(0x219)](_0xd7602,_0x23e773){var _0x234e47=_0x180182;this[_0x234e47(0x3c5)]['set'](_0xd7602,_0x23e773),this['_updateStatus']();}['_transformStack'](_0x2138f6,_0x5de1d7){var _0x182495=_0x180182;const _0x53966e=[];let _0x580212=_0x5de1d7,_0x212847=_0x5de1d7;for(let _0x3f6fed=_0x2138f6[_0x182495(0x22e)]-0x1;_0x3f6fed>=0x0;_0x3f6fed--){const {unitID:_0x3bc7c6,undoMutations:_0x5577ae,redoMutations:_0x3021e0}=_0x2138f6[_0x3f6fed],_0x542cd3=this[_0x182495(0x322)][_0x182495(0x2b2)](_0x580212,_0x5577ae),_0x205f86=this[_0x182495(0x322)][_0x182495(0x2b2)](_0x212847,_0x3021e0);if(_0x38dae7(_0x542cd3)||_0x38dae7(_0x205f86)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x182495(0x248),_0x542cd3,_0x205f86);break;}_0x580212=_0x542cd3[_0x182495(0x44c)],_0x212847=_0x205f86['c1Prime'],_0x53966e[_0x182495(0x247)]({'unitID':_0x3bc7c6,'undoMutations':_0x542cd3['m2Prime'],'redoMutations':_0x205f86[_0x182495(0x42f)]});}return _0x53966e[_0x182495(0x2c3)]();}};Pt=$s([Ae(0x0,_0xbe923a),Ae(0x1,_0x3cf875),Ae(0x2,_0x4abb89),Ae(0x3,_0x5230f8),Ae(0x4,_0x3e9f29)],Pt);var xi=Object[_0x180182(0x223)],Hs=Object[_0x180182(0x2dc)],ks=(_0x29c2c1,_0x5a6d5d,_0x932653)=>_0x5a6d5d in _0x29c2c1?xi(_0x29c2c1,_0x5a6d5d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x932653}):_0x29c2c1[_0x5a6d5d]=_0x932653,js=(_0x575152,_0x517282,_0x1bad87,_0x314f0f)=>{var _0x295d78=_0x180182;for(var _0x3dd569=_0x314f0f>0x1?void 0x0:_0x314f0f?Hs(_0x517282,_0x1bad87):_0x517282,_0x229015=_0x575152[_0x295d78(0x22e)]-0x1,_0x318583;_0x229015>=0x0;_0x229015--)(_0x318583=_0x575152[_0x229015])&&(_0x3dd569=(_0x314f0f?_0x318583(_0x517282,_0x1bad87,_0x3dd569):_0x318583(_0x3dd569))||_0x3dd569);return _0x314f0f&&_0x3dd569&&xi(_0x517282,_0x1bad87,_0x3dd569),_0x3dd569;},St=(_0x572cf4,_0x3b81de)=>(_0x5ecf3e,_0x45d3aa)=>_0x3b81de(_0x5ecf3e,_0x45d3aa,_0x572cf4),Bs=(_0x269316,_0x43b06c,_0x2fce4c)=>ks(_0x269316,_0x43b06c+'',_0x2fce4c);const Fs=_0x180182(0x3b4);let wt=class extends _0x4fb216{constructor(_0x32596c=Wt,_0x54aa5a,_0x1a8e50,_0x2fd24b){var _0x3e6bf8=_0x180182;super(),this[_0x3e6bf8(0x1cd)]=_0x32596c,this['_logService']=_0x54aa5a,this[_0x3e6bf8(0x3ff)]=_0x1a8e50,this[_0x3e6bf8(0x2c9)]=_0x2fd24b;const {..._0x32e2f7}=_0x27c7c5({},Wt,this[_0x3e6bf8(0x1cd)]);this['_configService']['setConfig'](q,_0x32e2f7);}['onStarting'](){var _0x1621e5=_0x180182;this['_registerDependencies'](),this[_0x1621e5(0x2ff)]();}[_0x180182(0x28b)](){var _0x45d538=_0x180182,_0x4f720d,_0x23248f,_0x23495e,_0x10d34a;this['_injector'][_0x45d538(0x268)](_0x3d63ec)&&this[_0x45d538(0x1a2)][_0x45d538(0x458)]('[UniverCollaborationClientPlugin]',_0x45d538(0x32a));const _0x456dca=_0x17f737([[_0x3d63ec,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x23248f=(_0x4f720d=this[_0x45d538(0x1cd)])==null?void 0x0:_0x4f720d[_0x45d538(0x34c)])!=null?_0x23248f:Et}],[_0x3de3ee,{'useClass':Dt}],[_0x52f070,{'useClass':bt}],[_0x1dd630,{'useClass':yt}],[_0xa76228,{'useClass':Nt}],[rt],[Rt]],(_0x23495e=this[_0x45d538(0x1cd)])==null?void 0x0:_0x23495e[_0x45d538(0x387)]);if(!((_0x10d34a=this[_0x45d538(0x1cd)])!=null&&_0x10d34a[_0x45d538(0x478)])){const _0x35804c=_0x456dca[_0x45d538(0x411)](([_0x4c7f32])=>_0x4c7f32===ht);_0x35804c!==-0x1&&_0x456dca[_0x45d538(0x37c)](_0x35804c,0x1);}_0x4de961(this[_0x45d538(0x3ff)],_0x456dca);}[_0x180182(0x2ff)](){var _0x2294b4=_0x180182,_0x443e2a,_0x26833d,_0x53b3a3;this[_0x2294b4(0x3ff)][_0x2294b4(0x42e)](_0x3a1dbb)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2d58b0({'maxParallel':0x6})}),(_0x443e2a=this['_config'])!=null&&_0x443e2a[_0x2294b4(0x263)]||(_0x26833d=this[_0x2294b4(0x3ff)]['get'](J,_0x552291[_0x2294b4(0x1d6)]))==null||_0x26833d[_0x2294b4(0x2af)](),(_0x53b3a3=this[_0x2294b4(0x1cd)])!=null&&_0x53b3a3[_0x2294b4(0x35c)]&&_0x2bb342(this[_0x2294b4(0x3ff)],[[st]]),_0x2bb342(this[_0x2294b4(0x3ff)],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x543e61(_0x3b8072,_0x1cf559,_0x112596),St(0x1,_0x3e9f29),St(0x2,_0x353e29(_0x514172)),St(0x3,_0x1d880c)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};