@univerjs-pro/collaboration-client 0.10.14 → 0.11.0-nightly.202511151013
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -0
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -0
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -0
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/facade/f-collaboration.d.ts +29 -1
- package/lib/types/facade/f-enum.d.ts +17 -0
- package/lib/types/facade/index.d.ts +1 -0
- package/lib/types/locale/ja-JP.d.ts +3 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -0
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
- package/lib/types/controllers/collaboration/utils/empty.d.ts +0 -2
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x3ccb73=_0x89c5;(function(_0x79d500,_0x24dba9){var _0x380f5f=_0x89c5,_0x3b8308=_0x79d500();while(!![]){try{var _0x2594b8=-parseInt(_0x380f5f(0x21a))/0x1*(-parseInt(_0x380f5f(0x157))/0x2)+-parseInt(_0x380f5f(0x2a3))/0x3*(-parseInt(_0x380f5f(0x244))/0x4)+-parseInt(_0x380f5f(0xf0))/0x5*(parseInt(_0x380f5f(0x2db))/0x6)+parseInt(_0x380f5f(0xfd))/0x7+parseInt(_0x380f5f(0x38b))/0x8+parseInt(_0x380f5f(0x32b))/0x9+parseInt(_0x380f5f(0x383))/0xa*(-parseInt(_0x380f5f(0x32e))/0xb);if(_0x2594b8===_0x24dba9)break;else _0x3b8308['push'](_0x3b8308['shift']());}catch(_0x35bb1f){_0x3b8308['push'](_0x3b8308['shift']());}}}(_0x4140,0x2cf71));var bi=Object[_0x3ccb73(0x2c5)],Di=(_0x5bda9c,_0x492e4d,_0x51fcbc)=>_0x492e4d in _0x5bda9c?bi(_0x5bda9c,_0x492e4d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51fcbc}):_0x5bda9c[_0x492e4d]=_0x51fcbc,D=(_0x109ccd,_0x31672a,_0x5c5d23)=>Di(_0x109ccd,typeof _0x31672a!=_0x3ccb73(0x3ce)?_0x31672a+'':_0x31672a,_0x5c5d23);import{CollaborationEvent as _0x4fac32,ITransformService as _0xaf9f7d,isTransformMutationsWithChangesetSuccess as _0x553805,mapDocumentTypeToUniverType as _0x15d6be,RevisionService as _0x44c571,isTransformChangesetsSuccess as _0x2075a0,CompressMutationService as _0x9c7f90,parseProtocolChangeset as _0x5924a6,uuidv4 as _0xc2f0f9,ISnapshotServerService as _0xa43d5e,parseChangesetToProtocol as _0x35779e,SnapshotService as _0x45fd65,textEncoder as _0x3b1bcb,b64DecodeUnicode as _0x445631,isTransformMutationsWithChangesetFailure as _0xb2ec7a,UniverCollaborationPlugin as _0x287264}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x390299,Inject as _0x3c04a9,UserManagerService as _0x2b7ea9,Disposable as _0x2999de,UniverInstanceType as _0x54cb7d,ILogService as _0x15a52e,IConfigService as _0x50087d,Optional as _0x5a83a3,RxDisposable as _0x4ca438,createIdentifier as _0x5e4720,Injector as _0x41d5ef,Tools as _0x5edefa,Rectangle as _0x599f21,ICommandService as _0xe27c5b,JSONX as _0x319817,CommandType as _0x4ccfdb,IUndoRedoService as _0x5bf88b,IPermissionService as _0x531531,LocaleService as _0x28fba6,sequenceExecute as _0x2f6653,toDisposable as _0x537e51,DisposableCollection as _0x39217e,Workbook as _0x38e02d,generateRandomId as _0x8e6d43,MentionType as _0x2c7728,isInternalEditorID as _0x393377,LocalUndoRedoService as _0x4e70db,IContextService as _0x2f31a1,DependentOn as _0x785ed4,Plugin as _0x450424,merge as _0x5825a0,mergeOverrideWithDependencies as _0x2f010a,IAuthzIoService as _0xc29eb3,IMentionIOService as _0x57da59,registerDependencies as _0x414d1c,Quantity as _0x1f0ff1,touchDependencies as _0x480502}from'@univerjs/core';import{RichTextEditingMutation as _0x388cc4}from'@univerjs/docs';import{SheetsSelectionsService as _0x3a21dd,SetSelectionsOperation as _0x2d302f,InsertSheetMutation as _0x1e42fe,EmptyMutation as _0x53d9ee,WorkbookEditablePermission as _0x19430c,SheetPermissionInitController as _0x36a019}from'@univerjs/sheets';import{Subject as _0x4a9404,merge as _0x4ce4e8,of as _0x5882b2,BehaviorSubject as _0x1b31fe,takeUntil as _0x20fcb4,ReplaySubject as _0x245252,take as _0x1a3819,map as _0x1aa2c8,shareReplay as _0x572416,firstValueFrom as _0x5dd40f,concatMap as _0x4abcab}from'rxjs';import{ITelemetryService as _0x4e4cb6}from'@univerjs/telemetry';import{map as _0x3f883a,take as _0xcb62af,filter as _0x46652a,delay as _0xa9c626,takeUntil as _0x189f2f}from'rxjs/operators';import{HTTPService as _0x28ea36,ISocketService as _0x5e5d45,MergeInterceptorFactory as _0x164213,HTTPRequest as _0x3e97ff,UniverNetworkPlugin as _0x29ab21,ThresholdInterceptorFactory as _0x21b0e4}from'@univerjs/network';import{ImageSourceType as _0x36d48e,ImageUploadStatusType as _0x272c8a,IImageIoService as _0x17fb08}from'@univerjs/drawing';import{getGlobalObject as _0x12b439}from'@univerjs-pro/license';const fs=_0x3ccb73(0x248),vs=_0x3ccb73(0x1a3),ps=0x7d0,Es=_0x3ccb73(0xfb),gr='/universer-api/user/session-ticket',ms=_0x3ccb73(0x143),Is=0x7530,di=_0x3ccb73(0x218),fi=0x4e20,Ss=0x4e20,gs=_0x3ccb73(0xcf),Ts=0x3,Tr=_0x3ccb73(0x35c),Or=0x3e8,Os=_0x3ccb73(0x186),Rs=_0x3ccb73(0x268),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Cr=_0x3ccb73(0x2de);var vi=(_0xde9c9=>(_0xde9c9[_0xde9c9[_0x3ccb73(0x23b)]=0x0]=_0x3ccb73(0x23b),_0xde9c9[_0xde9c9['OK']=0x1]='OK',_0xde9c9[_0xde9c9[_0x3ccb73(0xfa)]=0x2]=_0x3ccb73(0xfa),_0xde9c9[_0xde9c9[_0x3ccb73(0x2b5)]=0x3]=_0x3ccb73(0x2b5),_0xde9c9[_0xde9c9[_0x3ccb73(0x39d)]=0x4]=_0x3ccb73(0x39d),_0xde9c9[_0xde9c9['UNAUTHENTICATED']=0x5]=_0x3ccb73(0x234),_0xde9c9[_0xde9c9['ALREADY_EXISTS']=0x6]=_0x3ccb73(0x2ea),_0xde9c9[_0xde9c9[_0x3ccb73(0x394)]=0x7]=_0x3ccb73(0x394),_0xde9c9[_0xde9c9[_0x3ccb73(0x280)]=0x8]=_0x3ccb73(0x280),_0xde9c9[_0xde9c9[_0x3ccb73(0x11f)]=0x9]=_0x3ccb73(0x11f),_0xde9c9[_0xde9c9[_0x3ccb73(0x31d)]=0xa]=_0x3ccb73(0x31d),_0xde9c9[_0xde9c9[_0x3ccb73(0x382)]=0xb]=_0x3ccb73(0x382),_0xde9c9[_0xde9c9[_0x3ccb73(0x1e1)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xde9c9[_0xde9c9[_0x3ccb73(0x2b3)]=0xd]=_0x3ccb73(0x2b3),_0xde9c9[_0xde9c9[_0x3ccb73(0x345)]=0xe]=_0x3ccb73(0x345),_0xde9c9[_0xde9c9[_0x3ccb73(0x3c2)]=0xf]=_0x3ccb73(0x3c2),_0xde9c9[_0xde9c9['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x3ccb73(0x135),_0xde9c9[_0xde9c9[_0x3ccb73(0x3b5)]=0x64]=_0x3ccb73(0x3b5),_0xde9c9[_0xde9c9[_0x3ccb73(0x1b6)]=0x65]='ERROR_AGAIN',_0xde9c9[_0xde9c9[_0x3ccb73(0xd4)]=0xc9]=_0x3ccb73(0xd4),_0xde9c9[_0xde9c9[_0x3ccb73(0x12b)]=0xca]='USER_IS_ANONYMOUS',_0xde9c9[_0xde9c9[_0x3ccb73(0x28c)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xde9c9[_0xde9c9[_0x3ccb73(0x371)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xde9c9[_0xde9c9[_0x3ccb73(0x342)]=0x1772]=_0x3ccb73(0x342),_0xde9c9[_0xde9c9[_0x3ccb73(0x255)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xde9c9[_0xde9c9[_0x3ccb73(0x16d)]=0x1b59]=_0x3ccb73(0x16d),_0xde9c9[_0xde9c9[_0x3ccb73(0x2dc)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xde9c9[_0xde9c9[_0x3ccb73(0x25e)]=0x1b5b]=_0x3ccb73(0x25e),_0xde9c9[_0xde9c9['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0xde9c9[_0xde9c9[_0x3ccb73(0x145)]=0x1b5d]=_0x3ccb73(0x145),_0xde9c9[_0xde9c9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3ccb73(0x1ad),_0xde9c9[_0xde9c9[_0x3ccb73(0x326)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xde9c9[_0xde9c9[_0x3ccb73(0x229)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xde9c9[_0xde9c9[_0x3ccb73(0x23c)]=0x232b]=_0x3ccb73(0x23c),_0xde9c9[_0xde9c9[_0x3ccb73(0x173)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xde9c9[_0xde9c9[_0x3ccb73(0x121)]=0x232d]=_0x3ccb73(0x121),_0xde9c9[_0xde9c9['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xde9c9[_0xde9c9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3ccb73(0xee),_0xde9c9[_0xde9c9[_0x3ccb73(0x397)]=0x2713]=_0x3ccb73(0x397),_0xde9c9[_0xde9c9['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xde9c9[_0xde9c9[_0x3ccb73(0x2d4)]=0x271a]=_0x3ccb73(0x2d4),_0xde9c9[_0xde9c9[_0x3ccb73(0x31e)]=0x271b]=_0x3ccb73(0x31e),_0xde9c9[_0xde9c9[_0x3ccb73(0x3a2)]=0x271c]=_0x3ccb73(0x3a2),_0xde9c9[_0xde9c9[_0x3ccb73(0x3b6)]=0x271d]=_0x3ccb73(0x3b6),_0xde9c9[_0xde9c9[_0x3ccb73(0x127)]=0x271e]=_0x3ccb73(0x127),_0xde9c9[_0xde9c9[_0x3ccb73(0x33f)]=0x271f]=_0x3ccb73(0x33f),_0xde9c9[_0xde9c9['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3ccb73(0x277),_0xde9c9[_0xde9c9[_0x3ccb73(0x2c4)]=0x2af9]=_0x3ccb73(0x2c4),_0xde9c9[_0xde9c9['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3ccb73(0x101),_0xde9c9[_0xde9c9['INVALID_INVITE_CODE']=0x2ee2]=_0x3ccb73(0x3b0),_0xde9c9[_0xde9c9[_0x3ccb73(0x1e5)]=0x2ee3]=_0x3ccb73(0x1e5),_0xde9c9[_0xde9c9[_0x3ccb73(0x37a)]=0x2ee4]='USER_NOT_INVITED_CODE',_0xde9c9[_0xde9c9[_0x3ccb73(0x273)]=0x2ee5]=_0x3ccb73(0x273),_0xde9c9[_0xde9c9[_0x3ccb73(0x152)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xde9c9[_0xde9c9[_0x3ccb73(0x1ee)]=0x32ca]=_0x3ccb73(0x1ee),_0xde9c9[_0xde9c9[_0x3ccb73(0x1b7)]=0x32cb]=_0x3ccb73(0x1b7),_0xde9c9[_0xde9c9[_0x3ccb73(0x1d3)]=0x36b1]=_0x3ccb73(0x1d3),_0xde9c9[_0xde9c9['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x3ccb73(0x2b6),_0xde9c9[_0xde9c9[_0x3ccb73(0x3ca)]=0x36b3]=_0x3ccb73(0x3ca),_0xde9c9[_0xde9c9[_0x3ccb73(0x392)]=0x36b4]=_0x3ccb73(0x392),_0xde9c9[_0xde9c9[_0x3ccb73(0x3cb)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xde9c9[_0xde9c9['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x3ccb73(0x1c8),_0xde9c9[_0xde9c9[_0x3ccb73(0x12a)]=0x37dd]=_0x3ccb73(0x12a),_0xde9c9[_0xde9c9[_0x3ccb73(0x109)]=0x3a99]=_0x3ccb73(0x109),_0xde9c9[_0xde9c9[_0x3ccb73(0x2f2)]=0x3a9a]=_0x3ccb73(0x2f2),_0xde9c9[_0xde9c9[_0x3ccb73(0x311)]=0x3a9b]=_0x3ccb73(0x311),_0xde9c9[_0xde9c9[_0x3ccb73(0x153)]=0x3a9c]=_0x3ccb73(0x153),_0xde9c9[_0xde9c9[_0x3ccb73(0x290)]=0x3a9d]=_0x3ccb73(0x290),_0xde9c9[_0xde9c9['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x3ccb73(0xd2),_0xde9c9[_0xde9c9['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x3ccb73(0x21f),_0xde9c9[_0xde9c9[_0x3ccb73(0x27c)]=-0x1]='UNRECOGNIZED',_0xde9c9))(vi||{}),Q=(_0x232af0=>(_0x232af0[_0x232af0[_0x3ccb73(0x312)]=0x0]='UNIVER_UNKNOWN',_0x232af0[_0x232af0[_0x3ccb73(0x21e)]=0x1]='UNIVER_DOC',_0x232af0[_0x232af0[_0x3ccb73(0x240)]=0x2]='UNIVER_SHEET',_0x232af0[_0x232af0[_0x3ccb73(0x254)]=0x3]='UNIVER_SLIDE',_0x232af0[_0x232af0[_0x3ccb73(0x3a0)]=0x4]=_0x3ccb73(0x3a0),_0x232af0[_0x232af0[_0x3ccb73(0x27c)]=-0x1]=_0x3ccb73(0x27c),_0x232af0))(Q||{}),F=(_0x3b3c43=>(_0x3b3c43[_0x3b3c43['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x3b3c43[_0x3b3c43[_0x3ccb73(0x3ae)]=0x1]='HELLO',_0x3b3c43[_0x3b3c43[_0x3ccb73(0x163)]=0x2]=_0x3ccb73(0x163),_0x3b3c43[_0x3b3c43[_0x3ccb73(0x164)]=0x3]=_0x3ccb73(0x164),_0x3b3c43[_0x3b3c43[_0x3ccb73(0x38e)]=0x4]=_0x3ccb73(0x38e),_0x3b3c43[_0x3b3c43['HEARTBEAT']=0x5]=_0x3ccb73(0x385),_0x3b3c43[_0x3b3c43[_0x3ccb73(0x26f)]=0x6]='RECV',_0x3b3c43[_0x3b3c43[_0x3ccb73(0x27c)]=-0x1]='UNRECOGNIZED',_0x3b3c43))(F||{}),pe=(_0x529eb8=>(_0x529eb8[_0x529eb8[_0x3ccb73(0x115)]=0x0]=_0x3ccb73(0x115),_0x529eb8[_0x529eb8['OK']=0x1]='OK',_0x529eb8[_0x529eb8[_0x3ccb73(0x1ce)]=0x2]=_0x3ccb73(0x1ce),_0x529eb8[_0x529eb8[_0x3ccb73(0x2fa)]=0x3e9]=_0x3ccb73(0x2fa),_0x529eb8[_0x529eb8[_0x3ccb73(0x289)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x529eb8[_0x529eb8[_0x3ccb73(0x24c)]=0x3eb]=_0x3ccb73(0x24c),_0x529eb8[_0x529eb8[_0x3ccb73(0x1f3)]=0x3ec]=_0x3ccb73(0x1f3),_0x529eb8[_0x529eb8[_0x3ccb73(0x27c)]=-0x1]=_0x3ccb73(0x27c),_0x529eb8))(pe||{}),pi=(_0x29bc81=>(_0x29bc81[_0x29bc81['Undefined']=0x0]=_0x3ccb73(0x271),_0x29bc81[_0x29bc81['HttpImport']=0x1]='HttpImport',_0x29bc81[_0x29bc81[_0x3ccb73(0x19b)]=0x2]='HttpExport',_0x29bc81[_0x29bc81[_0x3ccb73(0x190)]=0x3]='UnitEmbedded',_0x29bc81[_0x29bc81[_0x3ccb73(0x367)]=0x4]=_0x3ccb73(0x367),_0x29bc81[_0x29bc81[_0x3ccb73(0x2bc)]=0x5]=_0x3ccb73(0x2bc),_0x29bc81[_0x29bc81[_0x3ccb73(0x13e)]=0x6]=_0x3ccb73(0x13e),_0x29bc81[_0x29bc81[_0x3ccb73(0x27c)]=-0x1]=_0x3ccb73(0x27c),_0x29bc81))(pi||{});const Cs='collaboration_new_changeset';function Ns(_0x3e187e){var _0x54be71=_0x3ccb73;return JSON[_0x54be71(0xf9)](_0x3e187e)[_0x54be71(0xec)];}var re=(_0x5da8c0=>(_0x5da8c0['OTHER_CLIENT_EDITING']=_0x3ccb73(0x310),_0x5da8c0[_0x3ccb73(0x2b5)]=_0x3ccb73(0x2b5),_0x5da8c0[_0x3ccb73(0x325)]=_0x3ccb73(0x325),_0x5da8c0[_0x3ccb73(0x14c)]=_0x3ccb73(0x14c),_0x5da8c0[_0x3ccb73(0x150)]='JOIN_ROOM_FAILED',_0x5da8c0['SOCKET_FAILED_RETRY']=_0x3ccb73(0xce),_0x5da8c0[_0x3ccb73(0x217)]=_0x3ccb73(0x217),_0x5da8c0[_0x3ccb73(0x266)]=_0x3ccb73(0x266),_0x5da8c0))(re||{});class ve{constructor(){var _0xb3b1a5=_0x3ccb73;D(this,_0xb3b1a5(0x304),new _0x4a9404()),D(this,'event$',this[_0xb3b1a5(0x304)][_0xb3b1a5(0x3b3)]());}['emitEvent'](_0x31ef2b){var _0x1de4a8=_0x3ccb73;this[_0x1de4a8(0x304)][_0x1de4a8(0x182)](_0x31ef2b);}}class Ei{constructor(){var _0x53f9ce=_0x3ccb73;D(this,_0x53f9ce(0x3c4),new _0x4a9404()),D(this,_0x53f9ce(0x3a8),this[_0x53f9ce(0x3c4)][_0x53f9ce(0x3b3)]());}['onCommentUpdate'](_0x4d7ff4){var _0x298040=_0x3ccb73;this[_0x298040(0x3c4)][_0x298040(0x182)](_0x4d7ff4);}}var bs=Object[_0x3ccb73(0x29f)],Ds=(_0x37a462,_0x4f9799,_0x4f09fd,_0x248fe8)=>{var _0x219494=_0x3ccb73;for(var _0x23c4a6=_0x248fe8>0x1?void 0x0:_0x248fe8?bs(_0x4f9799,_0x4f09fd):_0x4f9799,_0x2b79f3=_0x37a462[_0x219494(0xec)]-0x1,_0x4f3017;_0x2b79f3>=0x0;_0x2b79f3--)(_0x4f3017=_0x37a462[_0x2b79f3])&&(_0x23c4a6=_0x4f3017(_0x23c4a6)||_0x23c4a6);return _0x23c4a6;},Ft=(_0x22fbd9,_0x2e3ac1)=>(_0x367cf7,_0x4f0efc)=>_0x2e3ac1(_0x367cf7,_0x4f0efc,_0x22fbd9);let Pe=class extends _0x2999de{constructor(_0x2054a5,_0x5e047c){var _0x458538=_0x3ccb73;super(),D(this,'_roomMembers',new Map()),D(this,_0x458538(0x10b),new _0x4a9404()),(this[_0x458538(0x137)]=_0x2054a5,this[_0x458538(0x141)]=_0x5e047c,this['disposeWithMe'](_0x4ce4e8(this[_0x458538(0x137)]['getTypeOfUnitDisposed$'](_0x54cb7d['UNIVER_SHEET'])[_0x458538(0x369)](_0x3f883a(_0x4342e0=>_0x4342e0['getUnitId']())),this[_0x458538(0x137)][_0x458538(0x132)](_0x54cb7d['UNIVER_DOC'])[_0x458538(0x369)](_0x3f883a(_0x1e9eb1=>_0x1e9eb1[_0x458538(0x11e)]())),this[_0x458538(0x137)]['getTypeOfUnitDisposed$'](_0x54cb7d[_0x458538(0x254)])[_0x458538(0x369)](_0x3f883a(_0x393d98=>_0x393d98[_0x458538(0x11e)]())))['subscribe'](_0x2bc3f2=>this[_0x458538(0xf7)](_0x2bc3f2))));}[_0x3ccb73(0x2d0)](_0xb8fc05){var _0x593f47=_0x3ccb73;return this[_0x593f47(0x119)]['has'](_0xb8fc05)?_0x5882b2(this[_0x593f47(0x119)][_0x593f47(0x1ff)](_0xb8fc05)):this[_0x593f47(0x10b)][_0x593f47(0x369)](_0x3f883a(_0x59152b=>{var _0x38ea23=_0x593f47;if(_0x59152b===_0xb8fc05)return this[_0x38ea23(0x119)]['get'](_0x59152b);}));}[_0x3ccb73(0x3c7)](_0x5a94cd){var _0x3423d7=_0x3ccb73;this['_userManagerService'][_0x3423d7(0x3c7)](_0x5a94cd);}[_0x3ccb73(0x365)](){var _0x54b332=_0x3ccb73;return this[_0x54b332(0x141)]['getCurrentUser']();}['updateMember'](_0x7311f,_0x3dca95){var _0x3910f1=_0x3ccb73;let _0x47bb47=this[_0x3910f1(0x119)][_0x3910f1(0x1ff)](_0x7311f);_0x47bb47||(_0x47bb47=new ys(),this['_roomMembers'][_0x3910f1(0x144)](_0x7311f,_0x47bb47),this[_0x3910f1(0x10b)][_0x3910f1(0x182)](_0x7311f)),_0x47bb47[_0x3910f1(0x2f8)](_0x3dca95);}[_0x3ccb73(0x1c6)](_0x3d0f57,_0x2c4adf){var _0x153720=_0x3ccb73;const _0x5c528e=this['_roomMembers'][_0x153720(0x1ff)](_0x3d0f57);_0x5c528e&&_0x5c528e[_0x153720(0x1c6)](_0x2c4adf);}[_0x3ccb73(0x18c)](_0x5830af){return this['_roomMembers']['get'](_0x5830af);}['getMember'](_0x4f440c,_0x467da4){var _0x566fbd=_0x3ccb73;const _0x57e32f=this['_roomMembers']['get'](_0x4f440c);if(_0x57e32f)return _0x57e32f[_0x566fbd(0x30a)](_0x467da4);}['_removeRoom'](_0x39330c){var _0x579f8a=_0x3ccb73;const _0x5d2878=this[_0x579f8a(0x119)][_0x579f8a(0x1ff)](_0x39330c);_0x5d2878&&(_0x5d2878[_0x579f8a(0x155)](),this['_roomMembers'][_0x579f8a(0x1d9)](_0x39330c));}[_0x3ccb73(0x155)](){var _0x5861f8=_0x3ccb73;this[_0x5861f8(0x119)][_0x5861f8(0x2d3)](_0xf5729e=>_0xf5729e[_0x5861f8(0x155)]()),this['_roomMembers'][_0x5861f8(0x111)](),this[_0x5861f8(0x10b)][_0x5861f8(0xd9)]();}};Pe=Ds([Ft(0x0,_0x390299),Ft(0x1,_0x3c04a9(_0x2b7ea9))],Pe);class ys extends _0x2999de{constructor(){var _0x59e051=_0x3ccb73;super(...arguments),D(this,'_members',new Map()),D(this,'_members$',new _0x1b31fe(this[_0x59e051(0x1b5)])),D(this,_0x59e051(0x27f),this[_0x59e051(0x2fc)]['asObservable']());}[_0x3ccb73(0x155)](){var _0x5de436=_0x3ccb73;this['_members'][_0x5de436(0x111)]();}[_0x3ccb73(0x2f8)](_0x1ab8a4){var _0x59ff80=_0x3ccb73;this['_members'][_0x59ff80(0x144)](_0x1ab8a4[_0x59ff80(0x1df)],_0x1ab8a4),this['_emitMembers']();}[_0x3ccb73(0x1c6)](_0xc86a6e){var _0x271777=_0x3ccb73;this[_0x271777(0x1b5)][_0x271777(0x1d9)](_0xc86a6e);}[_0x3ccb73(0x30a)](_0x1a28d7){var _0x2f20c1=_0x3ccb73;return this[_0x2f20c1(0x1b5)]['get'](_0x1a28d7);}['getAllMembers'](){var _0x4b70dd=_0x3ccb73;return Array['from'](this[_0x4b70dd(0x1b5)][_0x4b70dd(0x181)]());}['_emitMembers'](){var _0x264988=_0x3ccb73;this[_0x264988(0x2fc)]['next'](this[_0x264988(0x1b5)]);}}var Us=Object[_0x3ccb73(0x29f)],As=(_0x1aa799,_0x5bdbf3,_0x1d5860,_0x55cb8c)=>{var _0x413fc1=_0x3ccb73;for(var _0x6ffe48=_0x55cb8c>0x1?void 0x0:_0x55cb8c?Us(_0x5bdbf3,_0x1d5860):_0x5bdbf3,_0x519c52=_0x1aa799[_0x413fc1(0xec)]-0x1,_0x15836a;_0x519c52>=0x0;_0x519c52--)(_0x15836a=_0x1aa799[_0x519c52])&&(_0x6ffe48=_0x15836a(_0x6ffe48)||_0x6ffe48);return _0x6ffe48;},Oe=(_0x4fbebb,_0x5e3dba)=>(_0x5a3e0d,_0x267501)=>_0x5e3dba(_0x5a3e0d,_0x267501,_0x4fbebb),me=(_0x496a59=>(_0x496a59[_0x496a59[_0x3ccb73(0x19f)]=0x0]='IDLE',_0x496a59[_0x496a59['JOINING']=0x1]='JOINING',_0x496a59[_0x496a59[_0x3ccb73(0x321)]=0x2]=_0x3ccb73(0x321),_0x496a59[_0x496a59[_0x3ccb73(0x337)]=0x3]=_0x3ccb73(0x337),_0x496a59))(me||{});const Vt={[pe[_0x3ccb73(0x1ce)]]:'session.join-failed',[pe[_0x3ccb73(0x2fa)]]:_0x3ccb73(0x34f),[pe[_0x3ccb73(0x289)]]:'session.room-not-exists',[pe[_0x3ccb73(0x24c)]]:_0x3ccb73(0x158),[pe[_0x3ccb73(0x1f3)]]:_0x3ccb73(0x357)};let mt=class extends _0x4ca438{constructor(_0x334df0,_0x225fbb,_0x41e34c,_0x6862f2,_0x235be7,_0x2ed711,_0x324f1d,_0x32f0ce){var _0x16d20d=_0x3ccb73;super(),D(this,_0x16d20d(0x2ce),new _0x1b31fe(0x0)),D(this,_0x16d20d(0x136),this[_0x16d20d(0x2ce)][_0x16d20d(0x3b3)]()),D(this,_0x16d20d(0x304),new _0x4a9404()),D(this,'event$',this[_0x16d20d(0x304)][_0x16d20d(0x3b3)]()),D(this,'_socket'),D(this,_0x16d20d(0x36e)),D(this,_0x16d20d(0x177)),D(this,_0x16d20d(0x355),!0x1),D(this,_0x16d20d(0x187),null),(this[_0x16d20d(0x198)]=_0x334df0,this[_0x16d20d(0x142)]=_0x41e34c,this[_0x16d20d(0x1cb)]=_0x6862f2,this[_0x16d20d(0x1b9)]=_0x235be7,this['_commentService']=_0x2ed711,this[_0x16d20d(0x31c)]=_0x324f1d,this['_telemetryService']=_0x32f0ce,this[_0x16d20d(0x355)]=!!this[_0x16d20d(0xd8)],_0x225fbb[_0x16d20d(0x369)](_0x20fcb4(this[_0x16d20d(0x33e)]))[_0x16d20d(0x17d)](_0x219469=>{var _0x12449a=_0x16d20d,_0x105749;typeof _0x219469>'u'||(this['_socket']=_0x219469,_0x219469?(this[_0x12449a(0x204)](_0x219469),this['_socketMessageSubscription']=_0x219469['message$'][_0x12449a(0x17d)](_0x495c0d=>{var _0x19746a=_0x12449a;_0x495c0d[_0x19746a(0x2f4)]===this[_0x19746a(0x198)]&&this[_0x19746a(0x25a)](_0x495c0d);})):(this[_0x12449a(0x38c)](),this[_0x12449a(0x2ce)][_0x12449a(0x182)](0x2),(_0x105749=this[_0x12449a(0x36e)])==null||_0x105749['unsubscribe'](),this[_0x12449a(0x36e)]=null));}));}get['sessionStatus'](){var _0x1b590c=_0x3ccb73;return this[_0x1b590c(0x2ce)]['getValue']();}[_0x3ccb73(0x230)](){var _0x34d429=_0x3ccb73,_0x10d4e9,_0x1aed04;return(_0x1aed04=(_0x10d4e9=this[_0x34d429(0x194)])==null?void 0x0:_0x10d4e9[_0x34d429(0x1df)])!=null?_0x1aed04:null;}[_0x3ccb73(0x155)](){var _0x1ca3dc=_0x3ccb73;super[_0x1ca3dc(0x155)](),this['dispose$'][_0x1ca3dc(0x182)](),this[_0x1ca3dc(0x33e)][_0x1ca3dc(0xd9)]();}[_0x3ccb73(0x31b)](){var _0x43c934=_0x3ccb73,_0x14a6d5,_0x3d6962;this[_0x43c934(0x38c)](),(_0x14a6d5=this[_0x43c934(0x194)])==null||_0x14a6d5[_0x43c934(0x178)]({'cmd':F[_0x43c934(0x164)],'data':{'roomID':this[_0x43c934(0x198)]}}),(_0x3d6962=this[_0x43c934(0x194)])==null||_0x3d6962[_0x43c934(0x31b)](),this[_0x43c934(0x304)][_0x43c934(0xd9)](),this[_0x43c934(0x2ce)]['complete'](),this[_0x43c934(0x155)]();}['_onCombEvent'](_0x14a761){var _0x18eb04=_0x3ccb73;_0x14a761[_0x18eb04(0x154)]===F[_0x18eb04(0x163)]?this[_0x18eb04(0x287)](_0x14a761):_0x14a761[_0x18eb04(0x154)]===F[_0x18eb04(0x26f)]&&this[_0x18eb04(0x15d)](_0x14a761);}[_0x3ccb73(0x204)](_0x32757b){var _0x580766=_0x3ccb73;this[_0x580766(0x2ce)]['next'](0x1),_0x32757b[_0x580766(0x178)]({'cmd':F[_0x580766(0x163)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x580766(0x198)]}]}});}[_0x3ccb73(0x287)](_0x4470e4){var _0x3d11d8=_0x3ccb73,_0xab18be;if(_0x4470e4['code']in Vt){this[_0x3d11d8(0x31c)][_0x3d11d8(0x2af)]({'id':re[_0x3d11d8(0x150)],'data':Vt[_0x4470e4['code']]}),this['_sessionStatus$'][_0x3d11d8(0x182)](0x2);return;}this[_0x3d11d8(0x2ce)][_0x3d11d8(0x182)](0x3);const _0x5a099c=(_0xab18be=_0x4470e4[_0x3d11d8(0x213)][_0x3d11d8(0x2a2)][this[_0x3d11d8(0x198)]])==null?void 0x0:_0xab18be[_0x3d11d8(0x259)];_0x5a099c&&_0x5a099c[_0x3d11d8(0x2d3)](_0x185794=>this[_0x3d11d8(0x1b9)][_0x3d11d8(0x2f8)](this['_unitID'],_0x185794));}[_0x3ccb73(0x15d)](_0x1313e3){var _0xd00fa5=_0x3ccb73;try{const _0x3d4683=_0x1313e3[_0xd00fa5(0x213)];switch(_0x3d4683[_0xd00fa5(0x3a5)]){case _0x4fac32['USERS_ENTER']:this[_0xd00fa5(0x24f)](_0x3d4683),this['_event$'][_0xd00fa5(0x182)](_0x3d4683);break;case _0x4fac32[_0xd00fa5(0x2e1)]:this[_0xd00fa5(0x34e)](_0x3d4683),this[_0xd00fa5(0x304)][_0xd00fa5(0x182)](_0x3d4683);break;case _0x4fac32['CHANGESET_ACK']:case _0x4fac32[_0xd00fa5(0x3b9)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0xd00fa5(0x33b)](),this[_0xd00fa5(0x304)][_0xd00fa5(0x182)](_0x3d4683);break;case _0x4fac32[_0xd00fa5(0x2b9)]:this[_0xd00fa5(0x142)][_0xd00fa5(0x36b)](_0xd00fa5(0x1b4)+JSON[_0xd00fa5(0xf9)](_0x3d4683)),this[_0xd00fa5(0x304)][_0xd00fa5(0x182)](_0x3d4683);break;case _0x4fac32[_0xd00fa5(0x2cc)]:this[_0xd00fa5(0x1d1)]['onCommentUpdate'](_0x3d4683[_0xd00fa5(0x213)]),this['_event$'][_0xd00fa5(0x182)](_0x3d4683);break;default:this['_event$'][_0xd00fa5(0x182)](_0x3d4683);}}catch(_0xbec3ce){this['_logService'][_0xd00fa5(0x36b)](_0xbec3ce,_0x1313e3);}}[_0x3ccb73(0x24f)](_0xa615d6){var _0x9144af=_0x3ccb73;this[_0x9144af(0x1b9)]['updateMember'](this[_0x9144af(0x198)],_0xa615d6[_0x9144af(0x213)]);}[_0x3ccb73(0x34e)](_0x1203b2){var _0x272fe0=_0x3ccb73;this[_0x272fe0(0x1b9)][_0x272fe0(0x1c6)](this[_0x272fe0(0x198)],_0x1203b2[_0x272fe0(0x213)][_0x272fe0(0x1df)]);}async[_0x3ccb73(0x178)](_0x424be6,_0x4acfdd){var _0xb96a8=_0x3ccb73;if(this[_0xb96a8(0x170)]!==0x3||!this[_0xb96a8(0x194)])throw new Error(_0xb96a8(0x16c));try{_0x424be6[_0xb96a8(0x3a5)]===_0x4fac32[_0xb96a8(0x2f1)]&&(this[_0xb96a8(0x3aa)](),this[_0xb96a8(0x2d2)](_0x424be6)),this[_0xb96a8(0x194)][_0xb96a8(0x178)]({'cmd':F[_0xb96a8(0x38e)],'routeKey':_0x4acfdd,'routeType':'','data':_0x424be6});}catch(_0x16d3d2){this['_logService'][_0xb96a8(0x36b)](_0x16d3d2);}}[_0x3ccb73(0x3aa)](){var _0x2afedc=_0x3ccb73,_0x37b661;this[_0x2afedc(0x177)]=setTimeout(()=>{var _0x51e15b=_0x2afedc;this['_collaborationTimeoutTimer']=null,this[_0x51e15b(0x31c)][_0x51e15b(0x2af)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x37b661=this[_0x2afedc(0x1cb)][_0x2afedc(0x2c7)](di))!=null?_0x37b661:fi);}[_0x3ccb73(0x33b)](){var _0xe44300=_0x3ccb73;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0xe44300(0x177)]),this[_0xe44300(0x177)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x30aebb){var _0x100132=_0x3ccb73;if(!this[_0x100132(0x355)])return;const {data:_0x42ad06}=_0x30aebb,{unitID:_0x10a488,changeset:_0x45c4ca}=_0x42ad06,{mutations:_0x1569fe,type:_0x4a4103}=_0x45c4ca;this[_0x100132(0x187)]={'unitId':_0x10a488,'type':_0x4a4103,'startTime':performance[_0x100132(0x1f1)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x1569fe)};}[_0x3ccb73(0x370)](){var _0x41c8e6=_0x3ccb73;if(this['_shouldReportTelemetry']){if(!this[_0x41c8e6(0x187)]){this[_0x41c8e6(0x142)][_0x41c8e6(0x36b)](_0x41c8e6(0x193),_0x41c8e6(0x2ca));return;}this[_0x41c8e6(0x187)][_0x41c8e6(0x1d2)]=performance[_0x41c8e6(0x1f1)](),this['_telemetryInfo'][_0x41c8e6(0x1d5)]=this[_0x41c8e6(0x187)][_0x41c8e6(0x1d2)]-this['_telemetryInfo'][_0x41c8e6(0x2cf)],this['_telemetryService'][_0x41c8e6(0x23e)](Cs,this[_0x41c8e6(0x187)]),this[_0x41c8e6(0x187)]=null;}}[_0x3ccb73(0x38c)](){var _0x31b523=_0x3ccb73;this[_0x31b523(0x187)]=null;}};mt=As([Oe(0x2,_0x15a52e),Oe(0x3,_0x50087d),Oe(0x4,_0x3c04a9(Pe)),Oe(0x5,_0x3c04a9(Ei)),Oe(0x6,_0x3c04a9(ve)),Oe(0x7,_0x5a83a3(_0x4e4cb6))],mt);const J=_0x5e4720(_0x3ccb73(0x12f));function Nr(_0x5e8790){return'unit-cache-'+_0x5e8790;}var Ps=Object[_0x3ccb73(0x29f)],ws=(_0x190f30,_0x34ca47,_0x4966d3,_0x3e8371)=>{var _0xb1cf81=_0x3ccb73;for(var _0xbd9b4=_0x3e8371>0x1?void 0x0:_0x3e8371?Ps(_0x34ca47,_0x4966d3):_0x34ca47,_0x2c04f9=_0x190f30[_0xb1cf81(0xec)]-0x1,_0x4f1c70;_0x2c04f9>=0x0;_0x2c04f9--)(_0x4f1c70=_0x190f30[_0x2c04f9])&&(_0xbd9b4=_0x4f1c70(_0xbd9b4)||_0xbd9b4);return _0xbd9b4;},ut=(_0x43b3a4,_0x38b246)=>(_0x59f95b,_0x30e399)=>_0x38b246(_0x59f95b,_0x30e399,_0x43b3a4);function Ms(_0x474657){var _0x22e60d=_0x3ccb73;const {unitID:_0x4f39cb,mutations:_0x4752ea}=_0x474657;return{'unitId':_0x4f39cb,'subUnitId':_0x4752ea['length']>0x0?_0x4752ea[0x0][_0x22e60d(0x318)][_0x22e60d(0x324)]:null};}let it=class{constructor(_0x384ce8,_0x319bd8,_0x3302a3){var _0x4518e1=_0x3ccb73;this['_injector']=_0x384ce8,this[_0x4518e1(0x2a1)]=_0x319bd8,this['_instanceService']=_0x3302a3;}[_0x3ccb73(0x297)](_0x387038){var _0x1402b1=_0x3ccb73,_0x372d8a,_0x5d9060,_0x5571f1,_0x3185c2;const _0xa5fc53=this['_injector']['get'](_0x3a21dd),{unitId:_0x1a00b0,subUnitId:_0x3e93d1}=Ms(_0x387038),_0xda8efb=_0xa5fc53==null?void 0x0:_0xa5fc53[_0x1402b1(0x2ae)](_0x1a00b0)['getCurrentSelections'](),_0x63c94f=(_0x5d9060=(_0x372d8a=this[_0x1402b1(0xf8)][_0x1402b1(0x16a)](_0x1a00b0))==null?void 0x0:_0x372d8a[_0x1402b1(0x331)]())==null?void 0x0:_0x5d9060['getSheetId']();if(_0xda8efb[_0x1402b1(0xec)]===0x0||!_0x1a00b0||!_0x3e93d1)return;const _0x564314=[{'id':_0x2d302f['id'],'params':{'unitId':_0x1a00b0,'subUnitId':_0x63c94f,'selections':_0x5edefa[_0x1402b1(0x1cc)](_0xda8efb)}}],_0xbccb61=this[_0x1402b1(0x2a1)][_0x1402b1(0x335)](_0x387038,_0x564314);if(!_0x553805(_0xbccb61))throw _0xbccb61[_0x1402b1(0x36b)];const _0x1ee103=(_0x3185c2=(_0x5571f1=_0xbccb61[_0x1402b1(0x2ef)][0x0])==null?void 0x0:_0x5571f1['params'])==null?void 0x0:_0x3185c2[_0x1402b1(0x386)];if(Array['isArray'](_0x1ee103)&&_0x1ee103['length']){if(_0x1ee103[_0x1402b1(0xec)]===_0x564314[0x0][_0x1402b1(0x318)][_0x1402b1(0x386)][_0x1402b1(0xec)]&&_0x1ee103[_0x1402b1(0x366)]((_0xbcab4c,_0x3afdfa)=>_0x599f21[_0x1402b1(0x34a)](_0xbcab4c['range'],_0x564314[0x0][_0x1402b1(0x318)][_0x1402b1(0x386)][_0x3afdfa][_0x1402b1(0x1af)])))return;this[_0x1402b1(0x20d)][_0x1402b1(0x1ff)](_0xe27c5b)[_0x1402b1(0x2a8)](_0x2d302f['id'],{'unitId':_0x1a00b0,'subUnitId':_0x63c94f,'selections':_0x1ee103});}}};it=ws([ut(0x0,_0x3c04a9(_0x41d5ef)),ut(0x1,_0xaf9f7d),ut(0x2,_0x390299)],it);const _t=_0x5e4720(_0x3ccb73(0x1b1));var mi=(_0x5646db=>(_0x5646db[_0x5646db[_0x3ccb73(0x256)]=0x0]=_0x3ccb73(0x256),_0x5646db[_0x5646db[_0x3ccb73(0x209)]=0x1]=_0x3ccb73(0x209),_0x5646db))(mi||{});const K=_0x3ccb73(0x1a5),Ls={},xs=new Set([_0x1e42fe['id']]);function Gt(_0x5b3a0b,_0x2e6ace,_0x2f7a9,_0x38b556,_0x3c72d7){var _0x68e294=_0x3ccb73,_0x24a077,_0x44aaba,_0x4f62c6,_0x124fb6;const _0x424b46=[];for(const _0x55bdf6 of _0x5b3a0b)if(xs[_0x68e294(0x1d7)](_0x55bdf6['id'])){if(_0x424b46['length']>0x0)break;_0x424b46[_0x68e294(0x37e)](_0x55bdf6);break;}else _0x424b46[_0x68e294(0x37e)](_0x55bdf6);const _0x2941a3=(_0x44aaba=(_0x24a077=_0x3c72d7[_0x68e294(0x365)]())==null?void 0x0:_0x24a077[_0x68e294(0x179)])!=null?_0x44aaba:_0x68e294(0x1c4),_0x47ed61=(_0x124fb6=(_0x4f62c6=_0x3c72d7[_0x68e294(0x365)]())==null?void 0x0:_0x4f62c6[_0x68e294(0x1df)])!=null?_0x124fb6:_0x68e294(0x1c4);return{'changeset':{'unitID':_0x2e6ace,'type':_0x15d6be(_0x2f7a9['getUnitType'](_0x2e6ace)),'baseRev':_0x38b556['getCurrentRevOfUnit'](_0x2e6ace),'revision':0x0,'userID':_0x2941a3,'memberID':_0x47ed61,'mutations':_0x424b46},'pendingMutations':_0x5b3a0b[_0x68e294(0x399)](_0x424b46[_0x68e294(0xec)])};}function ks(_0x302ade,_0x1f64d1,_0x747cf6,_0x4b89cd,_0x572103){var _0x25bb41=_0x3ccb73,_0x20674f,_0x3076fd,_0x3e60af,_0x47a18f;const _0x4b81f9=[_0x302ade[_0x25bb41(0x3a7)]((_0x11fe2f,_0x21b0b2)=>{var _0x2febc0=_0x25bb41,_0x188563;const {id:_0x35571f}=_0x11fe2f,{id:_0x2d2709,type:_0x13b294}=_0x21b0b2,_0x3c6f66=(_0x188563=_0x11fe2f[_0x2febc0(0x318)])!=null?_0x188563:{'actions':null},_0x568711=_0x21b0b2[_0x2febc0(0x318)];if(_0x35571f&&_0x35571f!==_0x2d2709)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x35571f+'\x20-\x20'+_0x2d2709+'.');return{..._0x11fe2f,'id':_0x2d2709,'type':_0x13b294,'params':{'unitId':_0x568711[_0x2febc0(0x171)],'textRanges':_0x568711['textRanges'],'actions':_0x319817[_0x2febc0(0x126)](_0x3c6f66[_0x2febc0(0x184)],_0x568711['actions'])}};},{})],_0x593076=(_0x3076fd=(_0x20674f=_0x572103[_0x25bb41(0x365)]())==null?void 0x0:_0x20674f[_0x25bb41(0x179)])!=null?_0x3076fd:_0x25bb41(0x1c4),_0x3b652d=(_0x47a18f=(_0x3e60af=_0x572103[_0x25bb41(0x365)]())==null?void 0x0:_0x3e60af[_0x25bb41(0x1df)])!=null?_0x47a18f:_0x25bb41(0x1c4);return{'changeset':{'unitID':_0x1f64d1,'type':_0x15d6be(_0x747cf6[_0x25bb41(0xf5)](_0x1f64d1)),'baseRev':_0x4b89cd[_0x25bb41(0x2a7)](_0x1f64d1),'revision':0x0,'userID':_0x593076,'memberID':_0x3b652d,'mutations':_0x4b81f9},'pendingMutations':[]};}function Ii(_0x4fea93,_0x555557){var _0x2ac826=_0x3ccb73;const _0x20c924=new _0x245252(0x1);return setTimeout(()=>_0x20c924['next'](_0x555557),_0x4fea93),_0x20c924['asObservable']()[_0x2ac826(0x369)](_0x1a3819(0x1));}const $s={'id':_0x53d9ee['id'],'type':_0x4ccfdb[_0x3ccb73(0x180)],'params':{}};var Hs=Object[_0x3ccb73(0x29f)],Se=(_0x1f5fbd,_0x18d317,_0x2e7bc0,_0x536fe7)=>{var _0x509b4e=_0x3ccb73;for(var _0x777b58=_0x536fe7>0x1?void 0x0:_0x536fe7?Hs(_0x18d317,_0x2e7bc0):_0x18d317,_0x41a489=_0x1f5fbd[_0x509b4e(0xec)]-0x1,_0x524783;_0x41a489>=0x0;_0x41a489--)(_0x524783=_0x1f5fbd[_0x41a489])&&(_0x777b58=_0x524783(_0x777b58)||_0x777b58);return _0x777b58;},w=(_0x2844b8,_0x510c15)=>(_0x1f0a4e,_0x482c1b)=>_0x510c15(_0x1f0a4e,_0x482c1b,_0x2844b8),Si=(_0x147e1b=>(_0x147e1b[_0x3ccb73(0x33d)]=_0x3ccb73(0x162),_0x147e1b[_0x3ccb73(0xdd)]=_0x3ccb73(0x393),_0x147e1b['PENDING']='pending',_0x147e1b[_0x3ccb73(0x350)]=_0x3ccb73(0x245),_0x147e1b[_0x3ccb73(0x1e2)]=_0x3ccb73(0x377),_0x147e1b[_0x3ccb73(0xe3)]='fetch_missing',_0x147e1b[_0x3ccb73(0x325)]=_0x3ccb73(0xfe),_0x147e1b['OFFLINE']=_0x3ccb73(0x100),_0x147e1b))(Si||{});const gi=0xea60;class ge{constructor(_0x201805,_0x31a8b3,_0x1d1c76,_0x599094,_0xbdfc33,_0x3a29b4,_0x1e0d90,_0x647d3e,_0x32a527){var _0x14e794=_0x3ccb73;D(this,'_awaitingChangeset',null),D(this,_0x14e794(0xd1),[]),(this['unitID']=_0x201805,this['type']=_0x31a8b3,this['_handler']=_0xbdfc33,this['_commandService']=_0x3a29b4,this[_0x14e794(0x20b)]=_0x1e0d90,this[_0x14e794(0x201)]=_0x647d3e,this[_0x14e794(0x308)]=_0x32a527,this[_0x14e794(0x300)]=_0x1d1c76,this[_0x14e794(0xd1)]=_0x599094);}[_0x3ccb73(0x12e)](_0xb51001){var _0x106344=_0x3ccb73;const _0x2df1f7=this[_0x106344(0x201)][_0x106344(0x2a7)](this[_0x106344(0x14e)]);return _0xb51001['revision']>_0x2df1f7+0x1?(this['_handler'][_0x106344(0x25c)]({'from':_0x2df1f7,'to':_0xb51001['revision']-0x1}),!0x0):!0x1;}[_0x3ccb73(0x120)](_0x17f75a){var _0x41be3d=_0x3ccb73;this[_0x41be3d(0x20b)][_0x41be3d(0x34b)](this['unitID'],_0x17f75a);}['_transformSelections'](_0x5712e1){var _0x26529d=_0x3ccb73,_0x5834a6,_0x43a4c5;(_0x43a4c5=(_0x5834a6=this[_0x26529d(0x368)])[_0x26529d(0x36a)])==null||_0x43a4c5['call'](_0x5834a6,_0x5712e1);}[_0x3ccb73(0x20a)](_0x4a795f){var _0x59bcbc=_0x3ccb73,_0x4684b1,_0x2a8eed;return(_0x2a8eed=(_0x4684b1=this['_handler'])[_0x59bcbc(0xe8)])==null?void 0x0:_0x2a8eed[_0x59bcbc(0x183)](_0x4684b1,_0x4a795f);}['_transformStateCache'](_0x123e7a){var _0x5c0cd6=_0x3ccb73,_0x102023,_0x4e5c4e;return(_0x4e5c4e=(_0x102023=this[_0x5c0cd6(0x368)])[_0x5c0cd6(0x24b)])==null?void 0x0:_0x4e5c4e[_0x5c0cd6(0x183)](_0x102023,_0x123e7a);}[_0x3ccb73(0x1d8)](_0x531d02){var _0x10bf33=_0x3ccb73,_0x114235,_0x40ca38,_0x1d3ef6;return(_0x1d3ef6=(_0x40ca38=(_0x114235=this[_0x10bf33(0x368)])[_0x10bf33(0x2b2)])==null?void 0x0:_0x40ca38[_0x10bf33(0x183)](_0x114235,_0x531d02))!=null?_0x1d3ef6:_0x531d02;}[_0x3ccb73(0xe5)](_0x424f10){var _0x292410=_0x3ccb73,_0x8a75c6,_0x2a3b1c,_0x5e1151;return(_0x5e1151=(_0x2a3b1c=(_0x8a75c6=this[_0x292410(0x368)])[_0x292410(0x33c)])==null?void 0x0:_0x2a3b1c[_0x292410(0x183)](_0x8a75c6,_0x424f10))!=null?_0x5e1151:_0x424f10;}[_0x3ccb73(0x264)](_0x464252){var _0x805564=_0x3ccb73,_0x3ecc14,_0x3ac321;if(this[_0x805564(0x252)]===Q['UNIVER_DOC']){const {unitID:_0x4916eb,mutations:_0x3fbb90,memberID:_0x46877f}=_0x464252,_0x5610d8=_0x3fbb90[_0x805564(0xec)]>0x0?_0x3fbb90[0x0][_0x805564(0x318)]['textRanges']:[];Array[_0x805564(0x32c)](_0x5610d8)&&_0x5610d8[_0x805564(0xec)]>0x0&&((_0x3ac321=(_0x3ecc14=this[_0x805564(0x368)])[_0x805564(0x1ea)])==null||_0x3ac321[_0x805564(0x183)](_0x3ecc14,{'unitID':_0x4916eb,'memberID':_0x46877f,'textRanges':_0x5610d8}));}}[_0x3ccb73(0x15f)](){var _0x2fdb23=_0x3ccb73,_0x91cbbc;(_0x91cbbc=this[_0x2fdb23(0x308)])==null||_0x91cbbc['updateOfflineData'](this[_0x2fdb23(0x14e)],this[_0x2fdb23(0x252)],this['_awaitingChangeset'],this[_0x2fdb23(0xd1)]);}['_getCurrentRevision'](){var _0x5e76c0=_0x3ccb73;return this[_0x5e76c0(0x201)]['getCurrentRevOfUnit'](this[_0x5e76c0(0x14e)]);}[_0x3ccb73(0x346)](){var _0x458019=_0x3ccb73;this[_0x458019(0x201)][_0x458019(0x241)](this[_0x458019(0x14e)]);}['_executeRemoteChangeset'](_0x364a60){var _0x53b0e8=_0x3ccb73,_0x16f703;let _0x41dc69=this['_transformRemoteChangesetByIMECache'](_0x364a60);_0x41dc69=this[_0x53b0e8(0xe5)](_0x41dc69);const _0x156c8c=_0x2f6653(_0x41dc69[_0x53b0e8(0x2f5)],this[_0x53b0e8(0x261)],{'fromCollab':!0x0});if(!_0x156c8c[_0x53b0e8(0x2c0)])throw _0x156c8c[_0x53b0e8(0x36b)]instanceof Error?_0x156c8c['error']:new Error((_0x16f703=_0x156c8c[_0x53b0e8(0x36b)])!=null?_0x16f703:_0x53b0e8(0x2f9));this[_0x53b0e8(0x20a)](_0x41dc69),this[_0x53b0e8(0x332)](_0x41dc69),this[_0x53b0e8(0x120)](_0x364a60),this['_transformSelections'](_0x41dc69),this['_syncEditingCollabCursor'](_0x41dc69),this['_incrementRevisionNumber']();}}let be=class extends ge{constructor(_0x749dbc,_0x1fb4e9,_0x310e79,_0x5cfae1,_0x5e8fe7,_0x213509,_0x3aaeff,_0x34760b,_0x8184f3,_0x52e775){var _0x26e033=_0x3ccb73;super(_0x749dbc,_0x1fb4e9,null,[],_0x310e79,_0x3aaeff,_0x213509,_0x5cfae1,_0x52e775),D(this,_0x26e033(0x323),'synced'),(this['_injector']=_0x5e8fe7,this['_logService']=_0x34760b,this[_0x26e033(0x2a1)]=_0x8184f3,this[_0x26e033(0x341)]=_0x52e775);}['appendMutation'](_0x811ee8){var _0x5cecbb=_0x3ccb73;const _0x30a366=this['_injector'][_0x5cecbb(0x1d6)](ae,this['unitID'],this[_0x5cecbb(0x252)],[_0x811ee8],this[_0x5cecbb(0x368)]);return _0x30a366[_0x5cecbb(0x1c5)](),_0x30a366['_updateLocalCache'](),_0x30a366;}[_0x3ccb73(0x351)](_0x3a7941){var _0xbe2c86=_0x3ccb73;if(this['_checkMissing'](_0x3a7941))return this[_0xbe2c86(0x20d)]['createInstance'](ee,this['unitID'],this[_0xbe2c86(0x252)],null,[],null,[_0x3a7941],this[_0xbe2c86(0x368)]);try{const _0x40802f=this['_transformService']['transformMutationsWithChangeset'](_0x3a7941,[$s]);if(_0x553805(_0x40802f)){const {c1Prime:_0x1259c4}=_0x40802f;return this[_0xbe2c86(0x2e2)](_0x1259c4),this;}throw _0x40802f['error'];}catch(_0x2474c7){return this[_0xbe2c86(0x142)][_0xbe2c86(0x36b)](_0x2474c7),this['_onConflict'](!0x1);}}[_0x3ccb73(0x2c9)](_0x4e1344){var _0x2086f3=_0x3ccb73;return this['_injector'][_0x2086f3(0x1d6)](ue,this[_0x2086f3(0x14e)],this[_0x2086f3(0x252)],null,[],this['_handler'],_0x4e1344);}[_0x3ccb73(0x2ab)](){var _0x4c6cee=_0x3ccb73;throw new Error(_0x4c6cee(0x14f));}['onRemoteRej'](){var _0x448fd5=_0x3ccb73;throw new Error(_0x448fd5(0x373));}[_0x3ccb73(0x316)](){return this;}['toggleOffline'](){var _0x1b3818=_0x3ccb73;return this[_0x1b3818(0x20d)]['createInstance'](de,this[_0x1b3818(0x14e)],this[_0x1b3818(0x252)],null,[],this[_0x1b3818(0x368)]);}['toggleOnline'](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x4f5756=_0x3ccb73;const _0x5aabe7=this[_0x4f5756(0x201)][_0x4f5756(0x2a7)](this[_0x4f5756(0x14e)]);return this[_0x4f5756(0x368)]['onMissingChangesets']({'from':_0x5aabe7,'to':0x0}),this[_0x4f5756(0x20d)][_0x4f5756(0x1d6)](ee,this[_0x4f5756(0x14e)],this['type'],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x3c04a9(_0x44c571)),w(0x4,_0x3c04a9(_0x41d5ef)),w(0x5,_0x5bf88b),w(0x6,_0xe27c5b),w(0x7,_0x15a52e),w(0x8,_0xaf9f7d),w(0x9,_0x5a83a3(J))],be);let ae=class extends ge{constructor(_0x5c771e,_0x4c73e0,_0x2f3ac8,_0x26725a,_0x2eea89,_0x28b921,_0x10ccab,_0x503d11,_0x91f9c4,_0x2b4ac1,_0x32df44,_0x11a952,_0x2eae6f,_0x41f139){var _0x3d2be6=_0x3ccb73;super(_0x5c771e,_0x4c73e0,null,_0x2f3ac8,_0x26725a,_0x91f9c4,_0x2eae6f,_0x28b921,_0x41f139),D(this,_0x3d2be6(0x323),_0x3d2be6(0x265)),D(this,'_scheduleCompleteTimestamp',null),D(this,'_sendingTimer',null),(this['_injector']=_0x2eea89,this[_0x3d2be6(0x1b9)]=_0x10ccab,this['_logService']=_0x503d11,this[_0x3d2be6(0x1cb)]=_0x2b4ac1,this[_0x3d2be6(0x2a1)]=_0x32df44,this[_0x3d2be6(0x137)]=_0x11a952);}[_0x3ccb73(0x1f7)](_0x1e4e04){var _0xeb4c48=_0x3ccb73;return this[_0xeb4c48(0xd1)][_0xeb4c48(0x37e)](_0x1e4e04),this[_0xeb4c48(0x15f)](),this;}[_0x3ccb73(0x351)](_0xce633c){var _0x4cd3fd=_0x3ccb73;if(this[_0x4cd3fd(0x12e)](_0xce633c))return this[_0x4cd3fd(0x274)](),this[_0x4cd3fd(0x20d)][_0x4cd3fd(0x1d6)](ee,this['unitID'],this[_0x4cd3fd(0x252)],null,this['_pendingMutations'],null,[_0xce633c],this['_handler']);try{const _0x2e8885=this[_0x4cd3fd(0x2a1)]['transformMutationsWithChangeset'](_0xce633c,this['_pendingMutations']);if(_0x553805(_0x2e8885)){const {c1Prime:_0x33974f,m2Prime:_0x504bdc}=_0x2e8885;this['_executeRemoteChangeset'](_0x33974f);const _0x407a7e=this[_0x4cd3fd(0x20d)][_0x4cd3fd(0x1d6)](ae,this[_0x4cd3fd(0x14e)],this['type'],_0x504bdc,this['_handler']);this[_0x4cd3fd(0x274)]();const _0x4b9ea7=new Date()[_0x4cd3fd(0x3b8)](),_0x29f243=this[_0x4cd3fd(0x327)]?Math[_0x4cd3fd(0x2b1)](this[_0x4cd3fd(0x327)]-_0x4b9ea7,0x0):this['_getSendChangesetTimeout']();return _0x407a7e[_0x4cd3fd(0x1c5)](_0x29f243),_0x407a7e;}throw _0x2e8885[_0x4cd3fd(0x36b)];}catch(_0x4758fb){return this['_logService']['error'](_0x4758fb),this['_onConflict'](!0x1);}}[_0x3ccb73(0x2ab)](){var _0x241112=_0x3ccb73;throw new Error(_0x241112(0x330));}[_0x3ccb73(0x2c1)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x3ccb73(0x247)](){var _0x1d8127=_0x3ccb73;return this[_0x1d8127(0x274)](),this[_0x1d8127(0x20d)]['createInstance'](de,this[_0x1d8127(0x14e)],this[_0x1d8127(0x252)],null,this[_0x1d8127(0xd1)],this[_0x1d8127(0x368)]);}['toggleOnline'](){return this;}['_schedule'](_0x4f37d1){var _0x2dd595=_0x3ccb73;const _0x33f09c=_0x4f37d1!=null?_0x4f37d1:this['_getSendChangesetTimeout']();this[_0x2dd595(0x327)]=new Date()[_0x2dd595(0x3b8)]()+_0x33f09c,this[_0x2dd595(0x3ac)]=setTimeout(()=>{var _0x3c2272=_0x2dd595;this[_0x3c2272(0x274)]();let _0x3dd681=null;switch(this[_0x3c2272(0x252)]){case Q[_0x3c2272(0x240)]:{_0x3dd681=Gt(this[_0x3c2272(0xd1)],this[_0x3c2272(0x14e)],this[_0x3c2272(0x137)],this[_0x3c2272(0x201)],this[_0x3c2272(0x1b9)]);break;}case Q[_0x3c2272(0x21e)]:{this[_0x3c2272(0xd1)][_0x3c2272(0x366)](_0x36b1df=>_0x36b1df['id']===_0x388cc4['id'])?_0x3dd681=ks(this[_0x3c2272(0xd1)],this['unitID'],this[_0x3c2272(0x137)],this[_0x3c2272(0x201)],this['_memberService']):_0x3dd681=Gt(this['_pendingMutations'],this[_0x3c2272(0x14e)],this[_0x3c2272(0x137)],this[_0x3c2272(0x201)],this[_0x3c2272(0x1b9)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x3c2272(0x252)]+_0x3c2272(0x2a4));}const {changeset:_0x2611fe,pendingMutations:_0x578918}=_0x3dd681;this[_0x3c2272(0x368)][_0x3c2272(0xfc)](_0x2611fe);const _0x245f18=_0x578918['length']?this[_0x3c2272(0x20d)][_0x3c2272(0x1d6)](oe,this['unitID'],this[_0x3c2272(0x252)],_0x2611fe,_0x578918,this[_0x3c2272(0x368)],void 0x0):this['_injector'][_0x3c2272(0x1d6)](le,this['unitID'],this[_0x3c2272(0x252)],_0x2611fe,this[_0x3c2272(0x368)]);_0x245f18[_0x3c2272(0x15f)](),this[_0x3c2272(0x368)][_0x3c2272(0x149)](this,_0x245f18);},_0x33f09c);}[_0x3ccb73(0x10d)](){var _0x4dd6aa=_0x3ccb73,_0x4850b9;const _0x22db20=this[_0x4dd6aa(0x1cb)][_0x4dd6aa(0x2c7)](K);return(_0x4850b9=_0x22db20==null?void 0x0:_0x22db20[_0x4dd6aa(0x188)])!=null?_0x4850b9:ps;}[_0x3ccb73(0x1e3)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3ccb73(0x274)](){var _0x53f517=_0x3ccb73;this[_0x53f517(0x3ac)]!=null&&(clearTimeout(this[_0x53f517(0x3ac)]),this['_sendingTimer']=null);}['_onConflict'](_0x4410e7){var _0x2d1713=_0x3ccb73;return this[_0x2d1713(0x274)](),this[_0x2d1713(0x20d)]['createInstance'](ue,this[_0x2d1713(0x14e)],this['type'],null,this[_0x2d1713(0xd1)],this[_0x2d1713(0x368)],_0x4410e7);}};ae=Se([w(0x4,_0x3c04a9(_0x41d5ef)),w(0x5,_0x3c04a9(_0x44c571)),w(0x6,_0x3c04a9(Pe)),w(0x7,_0x15a52e),w(0x8,_0xe27c5b),w(0x9,_0x50087d),w(0xa,_0xaf9f7d),w(0xb,_0x390299),w(0xc,_0x5bf88b),w(0xd,_0x5a83a3(J))],ae);let le=class extends ge{constructor(_0x4fcfc5,_0x1e774e,_0x1e4f08,_0x1a7c40,_0x13555e,_0x284f70,_0x2f2f9a,_0x1dbda7,_0x2820ca,_0x38c62d,_0x13d199){var _0xead6bf=_0x3ccb73;super(_0x4fcfc5,_0x1e774e,_0x1e4f08,[],_0x1a7c40,_0x2f2f9a,_0x38c62d,_0x284f70,_0x13d199),D(this,_0xead6bf(0x323),_0xead6bf(0x245)),D(this,'_resendTimeout',0x0),D(this,_0xead6bf(0x1d4)),D(this,_0xead6bf(0x11c)),(this[_0xead6bf(0x20d)]=_0x13555e,this['_logService']=_0x1dbda7,this[_0xead6bf(0x2a1)]=_0x2820ca);}[_0x3ccb73(0x1f7)](_0x2c0294){var _0x5b872d=_0x3ccb73;this[_0x5b872d(0x274)]();const _0x38c75f=this[_0x5b872d(0x20d)][_0x5b872d(0x1d6)](oe,this[_0x5b872d(0x14e)],this[_0x5b872d(0x252)],this[_0x5b872d(0x300)],[_0x2c0294],this[_0x5b872d(0x368)],this[_0x5b872d(0x1d4)]);return _0x38c75f[_0x5b872d(0x15f)](),_0x38c75f;}[_0x3ccb73(0x351)](_0x78518d){var _0x18aff2=_0x3ccb73;if(this['_checkMissing'](_0x78518d))return this[_0x18aff2(0x274)](),this[_0x18aff2(0x20d)]['createInstance'](ee,this[_0x18aff2(0x14e)],this['type'],this[_0x18aff2(0x300)],[],null,[_0x78518d],this[_0x18aff2(0x368)]);try{const _0xbd856c=this[_0x18aff2(0x2a1)]['transformChangesets']([_0x78518d],[this[_0x18aff2(0x300)]],!0x1);if(_0x2075a0(_0xbd856c)){const {c1Prime:_0x40e147,c2Prime:_0x27427d}=_0xbd856c;this['_executeRemoteChangeset'](_0x40e147[0x0]),_0x27427d[0x0][_0x18aff2(0x2d6)]=this[_0x18aff2(0x195)](),this[_0x18aff2(0x274)]();const _0x2d0c00=this[_0x18aff2(0x20d)][_0x18aff2(0x1d6)](le,this[_0x18aff2(0x14e)],this[_0x18aff2(0x252)],_0x27427d[0x0],this[_0x18aff2(0x368)]);return _0x2d0c00['_updateLocalCache'](),_0x2d0c00;}return this[_0x18aff2(0x2c9)](!0x1);}catch(_0xfbc56f){return this['_logService'][_0x18aff2(0x36b)](_0xfbc56f),this[_0x18aff2(0x2c9)](!0x1);}}[_0x3ccb73(0x2ab)](_0x48c271){var _0x2ae315=_0x3ccb73;this[_0x2ae315(0x274)]();const _0x45ddee=this[_0x2ae315(0x201)][_0x2ae315(0x2a7)](this['unitID']);if(_0x48c271[_0x2ae315(0x26e)]<_0x45ddee-0x1)return this;if(this[_0x2ae315(0x12e)](_0x48c271))return this[_0x2ae315(0x20d)][_0x2ae315(0x1d6)](ee,this[_0x2ae315(0x14e)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x2ae315(0x368)]);this[_0x2ae315(0x346)]();const _0x1debfb=this[_0x2ae315(0x20d)][_0x2ae315(0x1d6)](be,this[_0x2ae315(0x14e)],this['type'],this[_0x2ae315(0x368)]);return _0x1debfb['_updateLocalCache'](),_0x1debfb;}[_0x3ccb73(0x2c1)](_0x548157){var _0xd961e7=_0x3ccb73;return this[_0xd961e7(0x2c9)](!!(_0x548157!=null&&_0x548157[_0xd961e7(0x139)]));}[_0x3ccb73(0x316)](_0x46911c){var _0x1ea4b6=_0x3ccb73;return this['_resendTimeout']>gi?this[_0x1ea4b6(0x247)]():(this[_0x1ea4b6(0x1d4)]=Ii(this[_0x1ea4b6(0x116)],{'timeout':this[_0x1ea4b6(0x116)],'reqId':_0x46911c['reqId']}),this['_sender']=this[_0x1ea4b6(0x1d4)][_0x1ea4b6(0x17d)](({reqId:_0x30c498,timeout:_0x25423c})=>{var _0x184210=_0x1ea4b6;this[_0x184210(0x333)](_0x30c498,_0x25423c);}),this);}[_0x3ccb73(0x247)](){var _0x4c281a=_0x3ccb73;return this['_clearScheduledTask'](),this[_0x4c281a(0x20d)][_0x4c281a(0x1d6)](de,this[_0x4c281a(0x14e)],this['type'],this['_awaitingChangeset'],[],this[_0x4c281a(0x368)]);}[_0x3ccb73(0x3bb)](){return this;}[_0x3ccb73(0x1e3)](){var _0x5d02fe=_0x3ccb73;this[_0x5d02fe(0x368)]['onSendChangeset'](this[_0x5d02fe(0x300)]);}[_0x3ccb73(0x2c9)](_0x57900a){var _0x40753f=_0x3ccb73;return this[_0x40753f(0x274)](),this['_injector'][_0x40753f(0x1d6)](ue,this['unitID'],this[_0x40753f(0x252)],this[_0x40753f(0x300)],[],this[_0x40753f(0x368)],_0x57900a);}['_resendWithTimeout'](_0x58c201,_0x3b15d1){var _0x214183=_0x3ccb73,_0xbeb751;_0x58c201===((_0xbeb751=this[_0x214183(0x300)])==null?void 0x0:_0xbeb751[_0x214183(0x138)])&&(this[_0x214183(0x1e3)](),this[_0x214183(0x116)]=_0x3b15d1===0x0?0x3e8:_0x3b15d1*0x2);}['_clearScheduledTask'](){var _0x494562=_0x3ccb73,_0x2599ae;(_0x2599ae=this['_sender'])==null||_0x2599ae[_0x494562(0x38d)](),this[_0x494562(0x116)]=0x0;}};le=Se([w(0x4,_0x3c04a9(_0x41d5ef)),w(0x5,_0x3c04a9(_0x44c571)),w(0x6,_0xe27c5b),w(0x7,_0x15a52e),w(0x8,_0xaf9f7d),w(0x9,_0x5bf88b),w(0xa,_0x5a83a3(J))],le);let oe=class extends ge{constructor(_0xe4de24,_0x53f838,_0x2f0b34,_0x2ac59f,_0x36e8c0,_0x25d262,_0x511a33,_0x34dca1,_0xba2162,_0x4cf03b,_0x144eeb,_0x5aec3a,_0x5b5782){var _0x28bb6d=_0x3ccb73;super(_0xe4de24,_0x53f838,_0x2f0b34,_0x2ac59f,_0x36e8c0,_0xba2162,_0x5aec3a,_0x34dca1,_0x5b5782),D(this,_0x28bb6d(0x323),_0x28bb6d(0x377)),D(this,_0x28bb6d(0x116),0x0),D(this,_0x28bb6d(0x1d4)),D(this,'_sender'),(this[_0x28bb6d(0x20d)]=_0x511a33,this[_0x28bb6d(0x142)]=_0x4cf03b,this[_0x28bb6d(0x2a1)]=_0x144eeb,this[_0x28bb6d(0x341)]=_0x5b5782,_0x25d262&&(this[_0x28bb6d(0x1d4)]=_0x25d262,this[_0x28bb6d(0x11c)]=this[_0x28bb6d(0x1d4)]['subscribe'](({reqId:_0x1c62ac,timeout:_0x223f53})=>{var _0x3735e4=_0x28bb6d;this[_0x3735e4(0x333)](_0x1c62ac,_0x223f53);})));}['appendMutation'](_0x1bae67){var _0x14655b=_0x3ccb73;return this[_0x14655b(0xd1)]['push'](_0x1bae67),this;}[_0x3ccb73(0x351)](_0x5c8014){var _0x330156=_0x3ccb73;if(this[_0x330156(0x12e)](_0x5c8014))return this[_0x330156(0x274)](),this['_injector']['createInstance'](ee,this[_0x330156(0x14e)],this[_0x330156(0x252)],this[_0x330156(0x300)],this['_pendingMutations'],null,[_0x5c8014],this[_0x330156(0x368)]);try{const _0x259e4c=this[_0x330156(0x2a1)]['transformChangesets']([_0x5c8014],[this[_0x330156(0x300)]],!0x1);if(_0x2075a0(_0x259e4c)){const {c1Prime:_0x3969cb,c2Prime:_0xbd8a0c}=_0x259e4c,_0xf367d=this[_0x330156(0x2a1)][_0x330156(0x335)](_0x3969cb[0x0],this[_0x330156(0xd1)]);if(_0x553805(_0xf367d)){const {c1Prime:_0x1569d3,m2Prime:_0xdb18c}=_0xf367d;return this[_0x330156(0x2e2)](_0x1569d3),_0xbd8a0c[0x0][_0x330156(0x2d6)]=this[_0x330156(0x195)](),this[_0x330156(0x274)](),this[_0x330156(0x20d)][_0x330156(0x1d6)](oe,this['unitID'],this[_0x330156(0x252)],_0xbd8a0c[0x0],_0xdb18c,this[_0x330156(0x368)],void 0x0);}throw _0xf367d['error'];}throw _0x259e4c[_0x330156(0x36b)];}catch(_0x2aaa0b){return this[_0x330156(0x142)]['error'](_0x2aaa0b),this[_0x330156(0x2c9)](!0x1);}}[_0x3ccb73(0x2ab)](_0x1765a7){var _0x5313cf=_0x3ccb73;if(this[_0x5313cf(0x274)](),this[_0x5313cf(0x12e)](_0x1765a7))return this['_injector'][_0x5313cf(0x1d6)](ee,this[_0x5313cf(0x14e)],this[_0x5313cf(0x252)],null,this[_0x5313cf(0xd1)],this[_0x5313cf(0x300)],[],this[_0x5313cf(0x368)]);this[_0x5313cf(0x346)]();const _0x5cdd03=this[_0x5313cf(0x20d)][_0x5313cf(0x1d6)](ae,this[_0x5313cf(0x14e)],this[_0x5313cf(0x252)],this[_0x5313cf(0xd1)],this[_0x5313cf(0x368)]);return _0x5cdd03[_0x5313cf(0x1c5)](),_0x5cdd03[_0x5313cf(0x15f)](),_0x5cdd03;}[_0x3ccb73(0x2c1)](_0x3fa5d3){var _0x2185e5=_0x3ccb73;return this[_0x2185e5(0x2c9)](!!(_0x3fa5d3!=null&&_0x3fa5d3[_0x2185e5(0x139)]));}['onRemoteRetry'](_0x3572fa){var _0x4dedff=_0x3ccb73;return this[_0x4dedff(0x116)]>gi?this[_0x4dedff(0x247)]():(this['_resendTimer']=Ii(this[_0x4dedff(0x116)],{'timeout':this[_0x4dedff(0x116)],'reqId':_0x3572fa['reqId']}),this[_0x4dedff(0x11c)]=this['_resendTimer'][_0x4dedff(0x17d)](({reqId:_0x42965,timeout:_0x236d2c})=>{var _0xe521c5=_0x4dedff;this[_0xe521c5(0x333)](_0x42965,_0x236d2c);}),this);}[_0x3ccb73(0x247)](){var _0x1da1e6=_0x3ccb73;return this[_0x1da1e6(0x274)](),this[_0x1da1e6(0x20d)][_0x1da1e6(0x1d6)](de,this['unitID'],this[_0x1da1e6(0x252)],this[_0x1da1e6(0x300)],this[_0x1da1e6(0xd1)],this[_0x1da1e6(0x368)]);}[_0x3ccb73(0x3bb)](){return this;}[_0x3ccb73(0x1e3)](){var _0x3b38d1=_0x3ccb73;this[_0x3b38d1(0x368)][_0x3b38d1(0xfc)](this[_0x3b38d1(0x300)]);}[_0x3ccb73(0x2c9)](_0x66e7e3){var _0x243e24=_0x3ccb73;return this[_0x243e24(0x274)](),this['_injector']['createInstance'](ue,this[_0x243e24(0x14e)],this['type'],null,this[_0x243e24(0xd1)],this[_0x243e24(0x368)],_0x66e7e3);}[_0x3ccb73(0x333)](_0x512388,_0x413dbe){var _0x567aa1=_0x3ccb73,_0x40d77d;_0x512388===((_0x40d77d=this['_awaitingChangeset'])==null?void 0x0:_0x40d77d[_0x567aa1(0x138)])&&(this[_0x567aa1(0x1e3)](),this[_0x567aa1(0x116)]=_0x413dbe===0x0?0x3e8:_0x413dbe*0x2);}[_0x3ccb73(0x274)](){var _0x463136=_0x3ccb73,_0x59d37b;(_0x59d37b=this[_0x463136(0x11c)])==null||_0x59d37b[_0x463136(0x38d)](),this[_0x463136(0x116)]=0x0;}};oe=Se([w(0x6,_0x3c04a9(_0x41d5ef)),w(0x7,_0x3c04a9(_0x44c571)),w(0x8,_0xe27c5b),w(0x9,_0x15a52e),w(0xa,_0xaf9f7d),w(0xb,_0x5bf88b),w(0xc,_0x5a83a3(J))],oe);let ue=class extends ge{constructor(_0x2ed949,_0x166fc6,_0x3bb79d,_0x1ebe60,_0x3bc481,_0x5c2e30=!0x1,_0x10b491,_0x5566e8,_0x2b1026,_0x18aaa3,_0x127f40,_0x5ac801,_0x331ba2){var _0x201b65=_0x3ccb73;super(_0x2ed949,_0x166fc6,_0x3bb79d,_0x1ebe60,_0x3bc481,_0x5566e8,_0x2b1026,_0x18aaa3,_0x331ba2),D(this,_0x201b65(0x323),_0x201b65(0xfe)),(this['_isPermissionRej']=_0x5c2e30,this[_0x201b65(0x1fa)]=_0x10b491,this[_0x201b65(0x224)]=_0x127f40,this[_0x201b65(0x31c)]=_0x5ac801,this['localCacheService']=_0x331ba2,this[_0x201b65(0x1de)](),this['_clearLocalCache'](),this[_0x201b65(0x343)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x3ccb73(0x247)](){return this;}[_0x3ccb73(0x3bb)](){return this;}['resend'](){var _0x1ef9f0=_0x3ccb73;throw new Error(_0x1ef9f0(0x30f));}[_0x3ccb73(0x14d)](){var _0x49a8d2=_0x3ccb73,_0x491d3e;(_0x491d3e=this[_0x49a8d2(0x308)])==null||_0x491d3e[_0x49a8d2(0x30b)](this[_0x49a8d2(0x14e)],this[_0x49a8d2(0x252)],null,[]);}[_0x3ccb73(0x1de)](){var _0x2f60f2=_0x3ccb73;this[_0x2f60f2(0x19e)]?this[_0x2f60f2(0x31c)][_0x2f60f2(0x2af)]({'id':re['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x2f60f2(0x2af)]({'id':re[_0x2f60f2(0x325)]});}[_0x3ccb73(0x343)](){var _0x4819ed=_0x3ccb73;this[_0x4819ed(0x1fa)][_0x4819ed(0x228)](new _0x19430c(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0x3c04a9(_0x531531)),w(0x7,_0xe27c5b),w(0x8,_0x5bf88b),w(0x9,_0x3c04a9(_0x44c571)),w(0xa,_0x3c04a9(_0x28fba6)),w(0xb,_0x3c04a9(ve)),w(0xc,_0x5a83a3(J))],ue);let de=class extends ge{constructor(_0x3a57f1,_0xc8c251,_0x252cf1,_0x1615ca,_0x204308,_0x80f18c,_0x4a690e,_0x56e53b,_0x4e6c94,_0x490afb){var _0x600eaa=_0x3ccb73;super(_0x3a57f1,_0xc8c251,_0x252cf1,_0x1615ca,_0x204308,_0x56e53b,_0x4e6c94,_0x4a690e,_0x490afb),D(this,'status',_0x600eaa(0x100)),this[_0x600eaa(0x20d)]=_0x80f18c;}[_0x3ccb73(0x1f7)](_0x51ec21){var _0x2234c7=_0x3ccb73;return this[_0x2234c7(0xd1)][_0x2234c7(0x37e)](_0x51ec21),this[_0x2234c7(0x15f)](),this;}[_0x3ccb73(0x351)](_0x4bab20){var _0x234583=_0x3ccb73;throw new Error(_0x234583(0x24e));}[_0x3ccb73(0x2ab)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x3ccb73(0x2c1)](){var _0x519316=_0x3ccb73;throw new Error(_0x519316(0x17e));}['onRemoteRetry'](){return this;}[_0x3ccb73(0x247)](){return this;}[_0x3ccb73(0x3bb)](){var _0x32864a=_0x3ccb73;const {_injector:_0x2d1935,_pendingMutations:_0x4c82e7,_awaitingChangeset:_0x28514b,unitID:_0x39ded3,_handler:_0x19ae64,type:_0x2923d1}=this,_0x118e8e=Ti(_0x2d1935,_0x39ded3,_0x2923d1,_0x28514b,_0x4c82e7,_0x19ae64);return _0x118e8e instanceof ae?_0x118e8e[_0x32864a(0x1c5)]():(_0x118e8e instanceof oe||_0x118e8e instanceof le)&&_0x118e8e['resend'](),_0x118e8e;}[_0x3ccb73(0x1e3)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x3c04a9(_0x41d5ef)),w(0x6,_0x3c04a9(_0x44c571)),w(0x7,_0xe27c5b),w(0x8,_0x5bf88b),w(0x9,_0x5a83a3(J))],de);let ee=class extends ge{constructor(_0x11576c,_0x41cbe5,_0x4070e8,_0x1f00a3,_0x456539,_0x5e261d,_0x371fa4,_0x33fc87,_0x4d6d1c,_0x35b5a8,_0x254d5b,_0x408fcb,_0x2bac62,_0x4514be){var _0x45a290=_0x3ccb73;super(_0x11576c,_0x41cbe5,_0x4070e8,_0x1f00a3,_0x371fa4,_0x254d5b,_0x408fcb,_0x4d6d1c,_0x4514be),D(this,_0x45a290(0x323),'fetch_missing'),(this[_0x45a290(0xdc)]=_0x456539,this[_0x45a290(0x28a)]=_0x5e261d,this['_injector']=_0x33fc87,this[_0x45a290(0x142)]=_0x35b5a8,this[_0x45a290(0x2a1)]=_0x2bac62,this[_0x45a290(0x341)]=_0x4514be);}[_0x3ccb73(0x260)](_0x4d8dde){var _0x3f6893=_0x3ccb73;try{const _0x599fc1=[..._0x4d8dde,...this[_0x3f6893(0x28a)]],_0x501529=[this[_0x3f6893(0x300)]||this[_0x3f6893(0xdc)]][_0x3f6893(0x159)](_0x2e4a6e=>!!_0x2e4a6e);let _0x148bb6,_0x58c4fd;if(_0x501529[_0x3f6893(0xec)]){const _0x58d184=this['_transformService']['transformChangesets'](_0x599fc1,_0x501529,!0x1);if(!_0x2075a0(_0x58d184))throw _0x58d184[_0x3f6893(0x36b)];_0x148bb6=_0x58d184[_0x3f6893(0x221)],_0x58c4fd=_0x58d184[_0x3f6893(0x232)];}else _0x148bb6=_0x599fc1,_0x58c4fd=[];let _0x35b38d=this['_pendingMutations'];_0x148bb6[_0x3f6893(0x2d3)](_0x298b55=>{var _0x161502=_0x3f6893;let _0x1d8804;if(_0x35b38d[_0x161502(0xec)]){const _0x345aba=this['_transformService']['transformMutationsWithChangeset'](_0x298b55,_0x35b38d);if(!_0x553805(_0x345aba))throw _0x345aba['error'];_0x1d8804=_0x345aba[_0x161502(0x221)],_0x35b38d=_0x345aba[_0x161502(0x2ef)];}else _0x1d8804=_0x298b55;this[_0x161502(0x2e2)](_0x1d8804);}),this[_0x3f6893(0xdc)]&&this[_0x3f6893(0x346)](),this[_0x3f6893(0x300)]&&_0x58c4fd[_0x3f6893(0xec)]&&(_0x58c4fd[0x0][_0x3f6893(0x2d6)]=this['_getCurrentRevision']());let _0x45da83;if(this[_0x3f6893(0x300)]&&_0x35b38d[_0x3f6893(0xec)]!==0x0)_0x45da83=this[_0x3f6893(0x20d)][_0x3f6893(0x1d6)](oe,this[_0x3f6893(0x14e)],this[_0x3f6893(0x252)],_0x58c4fd[0x0],_0x35b38d,this['_handler'],void 0x0);else{if(this[_0x3f6893(0x300)]&&_0x35b38d[_0x3f6893(0xec)]===0x0)_0x58c4fd[0x0][_0x3f6893(0x2d6)]=this[_0x3f6893(0x195)](),_0x45da83=this[_0x3f6893(0x20d)][_0x3f6893(0x1d6)](le,this[_0x3f6893(0x14e)],this[_0x3f6893(0x252)],_0x58c4fd[0x0],this[_0x3f6893(0x368)]);else{if(_0x35b38d[_0x3f6893(0xec)]!==0x0){const _0x5343e2=this[_0x3f6893(0x20d)][_0x3f6893(0x1d6)](ae,this['unitID'],this['type'],_0x35b38d,this['_handler']);_0x5343e2[_0x3f6893(0x1c5)](),_0x45da83=_0x5343e2;}else _0x45da83=this[_0x3f6893(0x20d)][_0x3f6893(0x1d6)](be,this[_0x3f6893(0x14e)],this[_0x3f6893(0x252)],this[_0x3f6893(0x368)]);}}return _0x45da83['_updateLocalCache'](),_0x45da83;}catch(_0x45848e){return this[_0x3f6893(0x142)][_0x3f6893(0x36b)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x45848e),this['_injector'][_0x3f6893(0x1d6)](ue,this[_0x3f6893(0x14e)],this[_0x3f6893(0x252)],this['_awaitingChangeset'],this[_0x3f6893(0xd1)],this[_0x3f6893(0x368)],!0x1);}}[_0x3ccb73(0x1e3)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3ccb73(0x1f7)](_0x3f7e39){var _0xd4c5f5=_0x3ccb73;return this[_0xd4c5f5(0xd1)][_0xd4c5f5(0x37e)](_0x3f7e39),this;}[_0x3ccb73(0x351)](_0x368ff4){var _0x4b8a21=_0x3ccb73;return this[_0x4b8a21(0x28a)]['push'](_0x368ff4),this;}[_0x3ccb73(0x2ab)](_0x4d1fa5){var _0x295b4c=_0x3ccb73;if(this['_awaitingChangeset'])return this[_0x295b4c(0xdc)]=this[_0x295b4c(0x300)],this[_0x295b4c(0x300)]=null,this;throw new Error(_0x295b4c(0x362));}[_0x3ccb73(0x2c1)](_0x52442b){var _0x394855=_0x3ccb73;return this['_onConflict'](!!(_0x52442b!=null&&_0x52442b[_0x394855(0x139)]));}[_0x3ccb73(0x316)](){return this;}[_0x3ccb73(0x247)](){var _0x38f86b=_0x3ccb73;return this[_0x38f86b(0x20d)][_0x38f86b(0x1d6)](de,this[_0x38f86b(0x14e)],this['type'],this[_0x38f86b(0x300)],this[_0x38f86b(0xd1)],this[_0x38f86b(0x368)]);}['toggleOnline'](){return this;}[_0x3ccb73(0x2c9)](_0x109cb5){var _0x326493=_0x3ccb73;return this['_injector'][_0x326493(0x1d6)](ue,this['unitID'],this[_0x326493(0x252)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x326493(0x368)],_0x109cb5);}};ee=Se([w(0x7,_0x3c04a9(_0x41d5ef)),w(0x8,_0x3c04a9(_0x44c571)),w(0x9,_0x15a52e),w(0xa,_0xe27c5b),w(0xb,_0x5bf88b),w(0xc,_0xaf9f7d),w(0xd,_0x5a83a3(J))],ee);function Ti(_0x3a84ab,_0xfc62e6,_0xc2ac03,_0x491933,_0x45b7e1,_0x135d29){var _0x546c4d=_0x3ccb73;return _0x491933&&_0x45b7e1['length']?_0x3a84ab[_0x546c4d(0x1d6)](oe,_0xfc62e6,_0xc2ac03,_0x491933,_0x45b7e1,_0x135d29,void 0x0):_0x491933?_0x3a84ab[_0x546c4d(0x1d6)](le,_0xfc62e6,_0xc2ac03,_0x491933,_0x135d29):_0x45b7e1[_0x546c4d(0xec)]?_0x3a84ab['createInstance'](ae,_0xfc62e6,_0xc2ac03,_0x45b7e1,_0x135d29):_0x3a84ab[_0x546c4d(0x1d6)](be,_0xfc62e6,_0xc2ac03,_0x135d29);}var Bs=Object['getOwnPropertyDescriptor'],Pt=(_0x27591d,_0x348ac9,_0x50f828,_0x5ad892)=>{var _0x547637=_0x3ccb73;for(var _0x40f995=_0x5ad892>0x1?void 0x0:_0x5ad892?Bs(_0x348ac9,_0x50f828):_0x348ac9,_0x5eb67c=_0x27591d[_0x547637(0xec)]-0x1,_0x35251c;_0x5eb67c>=0x0;_0x5eb67c--)(_0x35251c=_0x27591d[_0x5eb67c])&&(_0x40f995=_0x35251c(_0x40f995)||_0x40f995);return _0x40f995;},$=(_0x4c3d3a,_0x294c94)=>(_0xb15b24,_0x250fea)=>_0x294c94(_0xb15b24,_0x250fea,_0x4c3d3a);let st=class extends _0x4ca438{constructor(_0x35ec71,_0x231ab2,_0x35f9ef,_0x485290,_0x53b4f0,_0x39bef4,_0x17ae0c,_0x291c6d,_0x1d3270,_0x525d5a,_0x34f681,_0x34f83e,_0x38427e,_0x4cb210){var _0x13e62f=_0x3ccb73;super(),D(this,_0x13e62f(0x29b),new _0x1b31fe(null)),D(this,_0x13e62f(0x169),this[_0x13e62f(0x29b)][_0x13e62f(0x3b3)]()),D(this,_0x13e62f(0x2e4)),D(this,'_collaborationPaused',!0x1),D(this,_0x13e62f(0x35e),''),D(this,'_changesetReqId',0x0),D(this,'status$',this[_0x13e62f(0x169)][_0x13e62f(0x369)](_0x1aa2c8(_0x484183=>_0x484183?_0x484183[_0x13e62f(0x323)]:Si[_0x13e62f(0x321)]),_0x572416(0x1))),D(this,_0x13e62f(0x25b),!0x1),D(this,_0x13e62f(0x2a6),[]),(this[_0x13e62f(0x14e)]=_0x35ec71,this['session']=_0x231ab2,this[_0x13e62f(0x16f)]=_0x35f9ef,this[_0x13e62f(0x20d)]=_0x485290,this['_compressMutationService']=_0x53b4f0,this[_0x13e62f(0x224)]=_0x39bef4,this[_0x13e62f(0x201)]=_0x17ae0c,this[_0x13e62f(0x21d)]=_0x291c6d,this[_0x13e62f(0x137)]=_0x1d3270,this[_0x13e62f(0x142)]=_0x525d5a,this['_commandService']=_0x34f681,this[_0x13e62f(0x1fa)]=_0x34f83e,this['_singleActiveUnitService']=_0x38427e,this[_0x13e62f(0x308)]=_0x4cb210);}get[_0x3ccb73(0x20c)](){var _0x4ed1f3=_0x3ccb73;return this[_0x4ed1f3(0x2e4)];}async[_0x3ccb73(0x3a6)](){var _0x52c4c9=_0x3ccb73;if(this[_0x52c4c9(0x20c)])throw new Error(_0x52c4c9(0x28e));await this[_0x52c4c9(0x124)]();}[_0x3ccb73(0x13f)](){var _0x22995d=_0x3ccb73;return this[_0x22995d(0x269)]=!0x0,_0x537e51(()=>{var _0x12f3f5=_0x22995d;this[_0x12f3f5(0x269)]=!0x1,this[_0x12f3f5(0x281)]();});}[_0x3ccb73(0x2ad)](_0x381043){var _0x167841=_0x3ccb73;this[_0x167841(0x319)](_0x381043);}[_0x3ccb73(0x353)](_0x582fe9){var _0x4aabd4=_0x3ccb73;this['_state']=_0x582fe9,this[_0x4aabd4(0x29b)][_0x4aabd4(0x182)](_0x582fe9);}async['_init'](){var _0x4c50b9=_0x3ccb73,_0x390f60;this[_0x4c50b9(0x353)](await this[_0x4c50b9(0x1c7)]()),this[_0x4c50b9(0x1a1)]&&((_0x390f60=this[_0x4c50b9(0x1a1)])==null||_0x390f60[_0x4c50b9(0x263)](this['unitID']),this[_0x4c50b9(0x38f)](this[_0x4c50b9(0x1a1)][_0x4c50b9(0x20e)](this[_0x4c50b9(0x14e)])[_0x4c50b9(0x17d)](_0x5b9f01=>{var _0x4e3cf5=_0x4c50b9;this[_0x4e3cf5(0x142)]['debug'](_0x4e3cf5(0x1e4),'editing\x20status\x20changed\x20to',_0x5b9f01),_0x5b9f01===mi[_0x4e3cf5(0x209)]?(this[_0x4e3cf5(0x21d)][_0x4e3cf5(0x2af)]({'id':re[_0x4e3cf5(0x310)]}),this[_0x4e3cf5(0x1fa)][_0x4e3cf5(0x228)](new _0x19430c(this[_0x4e3cf5(0x14e)])['id'],!0x1),this[_0x4e3cf5(0x1fa)][_0x4e3cf5(0xe7)](!0x1)):(this[_0x4e3cf5(0x1fa)][_0x4e3cf5(0x228)](new _0x19430c(this[_0x4e3cf5(0x14e)])['id'],!0x0),this[_0x4e3cf5(0x1fa)][_0x4e3cf5(0xe7)](!0x0));})));let _0x4639eb=!0x1;return this[_0x4c50b9(0x38f)](this[_0x4c50b9(0x340)][_0x4c50b9(0x136)]['subscribe'](_0x57f551=>{var _0x52d715=_0x4c50b9;_0x57f551===me[_0x52d715(0x337)]?this['_toggleOnline'](_0x4639eb):_0x57f551===me['OFFLINE']&&(_0x4639eb=!0x0,this[_0x52d715(0x3ab)]());})),this[_0x4c50b9(0x38f)](this[_0x4c50b9(0x340)]['event$'][_0x4c50b9(0x17d)](_0x441661=>{var _0x4b7c37=_0x4c50b9;try{switch(_0x441661[_0x4b7c37(0x3a5)]){case _0x4fac32[_0x4b7c37(0x2b8)]:{this['_onRemoteChangeset'](_0x5924a6(_0x441661['data']));break;}case _0x4fac32[_0x4b7c37(0x387)]:{this[_0x4b7c37(0x3c6)](_0x441661['data']);break;}case _0x4fac32[_0x4b7c37(0x11d)]:{this[_0x4b7c37(0x1f2)]();break;}case _0x4fac32[_0x4b7c37(0x3b9)]:{this[_0x4b7c37(0x2c8)](_0x441661[_0x4b7c37(0x213)]);break;}case _0x4fac32[_0x4b7c37(0x133)]:{this[_0x4b7c37(0x294)](_0x441661[_0x4b7c37(0x213)]['changesets'][_0x4b7c37(0x1bf)](_0x5427e5=>_0x5924a6(_0x5427e5)));break;}case _0x4fac32['PERMISSION_REJ']:{this[_0x4b7c37(0x1f2)]({'isPermissionRej':!0x0});break;}case _0x4fac32['UNISCRIPT_RUN']:break;}}catch(_0xf59689){throw console[_0x4b7c37(0x36b)]('Error\x20on\x20receiving\x20event',_0xf59689),_0xf59689;}})),this['_state'];}[_0x3ccb73(0x21c)](){var _0x1d54ff=_0x3ccb73;this[_0x1d54ff(0x25b)]=!0x1;}['_lockTransition'](){var _0x2c50de=_0x3ccb73;if(this[_0x2c50de(0x25b)])throw new Error(_0x2c50de(0x262));this[_0x2c50de(0x25b)]=!0x0;}[_0x3ccb73(0x319)](_0x557f8a){var _0x22c85d=_0x3ccb73;this['_lockTransition'](),this['_updateState'](this[_0x22c85d(0x2e4)][_0x22c85d(0x1f7)](_0x557f8a)),this[_0x22c85d(0x21c)]();}['_onRemoteChangeset'](_0xa18b57){var _0x4af924=_0x3ccb73;if(!(_0xa18b57[_0x4af924(0x26e)]<=this[_0x4af924(0x201)][_0x4af924(0x2a7)](this['unitID']))){if(this[_0x4af924(0x269)]){this[_0x4af924(0x2a6)][_0x4af924(0x37e)](_0xa18b57);return;}this[_0x4af924(0x1ec)](_0xa18b57);}}['_exhaustRemoteChangesetQueue'](){var _0x15d296=_0x3ccb73;this[_0x15d296(0x2a6)]['forEach'](_0x2f8daa=>this['_applyRemoteChangeset'](_0x2f8daa)),this['_remoteChangesetQueue']=[];}[_0x3ccb73(0x1ec)](_0x532ef7){var _0x4cd8a9=_0x3ccb73;const _0x42ea7f=this[_0x4cd8a9(0x225)][_0x4cd8a9(0x334)][_0x4cd8a9(0x2dd)](this[_0x4cd8a9(0x225)][_0x4cd8a9(0x334)][_0x4cd8a9(0x102)]()['COMPRESS_MUTATION_APPLY'])(_0x532ef7['mutations'],null)||_0x532ef7[_0x4cd8a9(0x2f5)],_0x1c5d20={..._0x532ef7,'mutations':_0x42ea7f};this[_0x4cd8a9(0x378)](),this[_0x4cd8a9(0x353)](this[_0x4cd8a9(0x2e4)][_0x4cd8a9(0x351)](_0x1c5d20)),this['_unlockTransition']();}[_0x3ccb73(0x3c6)](_0x367de5){var _0x4942d7=_0x3ccb73;this[_0x4942d7(0x378)](),this[_0x4942d7(0x353)](this['_state']['onRemoteAck'](_0x367de5)),this[_0x4942d7(0x21c)]();}[_0x3ccb73(0x1f2)](_0x14dd87){var _0x484d64=_0x3ccb73;this[_0x484d64(0x378)](),this['_updateState'](this['_state'][_0x484d64(0x2c1)](_0x14dd87)),this[_0x484d64(0x21c)]();}[_0x3ccb73(0x2c8)](_0x1e9d3e){var _0x2728fe=_0x3ccb73;this[_0x2728fe(0x378)](),this[_0x2728fe(0x353)](this['_state']['onRemoteRetry'](_0x1e9d3e)),this['_unlockTransition']();}[_0x3ccb73(0x294)](_0x110c01){var _0x1d0efa=_0x3ccb73;if(!(this[_0x1d0efa(0x2e4)]instanceof ee))throw new TypeError(_0x1d0efa(0x20f));const _0x3bdb9a=_0x110c01[_0x1d0efa(0x1bf)](_0x30ed64=>{var _0x3d39ba=_0x1d0efa;const _0x2d5259=this[_0x3d39ba(0x225)][_0x3d39ba(0x334)]['fetchThroughInterceptors'](this[_0x3d39ba(0x225)]['interceptor'][_0x3d39ba(0x102)]()[_0x3d39ba(0x2bf)])(_0x30ed64[_0x3d39ba(0x2f5)],null)||_0x30ed64['mutations'];return{..._0x30ed64,'mutations':_0x2d5259};});this['_lockTransition'](),this[_0x1d0efa(0x353)](this[_0x1d0efa(0x2e4)][_0x1d0efa(0x260)](_0x3bdb9a)),this['_unlockTransition']();}[_0x3ccb73(0x3ab)](){var _0x491679=_0x3ccb73;this[_0x491679(0x378)](),this[_0x491679(0x353)](this[_0x491679(0x2e4)][_0x491679(0x247)]()),this[_0x491679(0x21c)]();}[_0x3ccb73(0x2da)](_0x42e5da=!0x1){var _0x47c280=_0x3ccb73;this['_lockTransition'](),this[_0x47c280(0x353)](this[_0x47c280(0x2e4)][_0x47c280(0x3bb)]()),this[_0x47c280(0x21c)]();const _0x2714fc=this[_0x47c280(0x2e4)];_0x42e5da&&_0x2714fc instanceof be&&(this[_0x47c280(0x378)](),this[_0x47c280(0x353)](_0x2714fc['fetchMiss']()),this['_unlockTransition']());}async[_0x3ccb73(0x1c7)](){return new Promise(_0x38dff4=>{var _0x2f5468=_0x89c5;this[_0x2f5468(0x340)][_0x2f5468(0x136)][_0x2f5468(0x369)](_0x1a3819(0x1))[_0x2f5468(0x17d)](async _0x5b42c9=>{var _0x4185f4=_0x2f5468;_0x38dff4(await this[_0x4185f4(0x223)](_0x5b42c9===me[_0x4185f4(0x337)]));});});}[_0x3ccb73(0x3b2)](){var _0x1e9d5f=_0x3ccb73;const _0x4555d9=this[_0x1e9d5f(0x14e)];return{'onStateChange':(_0x525731,_0x377013)=>{var _0x535c13=_0x1e9d5f;if(_0x525731!==this[_0x535c13(0x2e4)])throw new Error(_0x535c13(0xd6)+_0x525731[_0x535c13(0x323)]+'\x0aAfter:\x20'+_0x377013[_0x535c13(0x323)]+'\x0aCurrent:\x20'+this[_0x535c13(0x2e4)]['status']);this[_0x535c13(0x353)](_0x377013);},'onSendChangeset':_0x2d4574=>{var _0x35061=_0x1e9d5f;_0x2d4574[_0x35061(0x2fe)]||(_0x2d4574[_0x35061(0x2fe)]=this[_0x35061(0x35e)],_0x2d4574['reqId']=++this[_0x35061(0x103)]);const _0x1cf588={'eventID':_0x4fac32['SUBMIT_CHANGESET'],'data':{'unitID':_0x2d4574[_0x35061(0x14e)],'unitType':this[_0x35061(0x16f)],'changeset':_0x2d4574,'memberID':this['session'][_0x35061(0x230)]()}};this[_0x35061(0x340)][_0x35061(0x178)](_0x1cf588,this['unitID']);},'onMissingChangesets':({from:_0x49631a,to:_0x54ae78})=>{var _0x380e63=_0x1e9d5f;this[_0x380e63(0x142)][_0x380e63(0x3b1)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x49631a+_0x380e63(0x1a2)+_0x54ae78);const _0x10e7ff={'eventID':_0x4fac32['FETCH_MISSING'],'data':{'unitID':_0x4555d9,'unitType':this[_0x380e63(0x16f)],'from':_0x49631a,'to':_0x54ae78}};this['session'][_0x380e63(0x178)](_0x10e7ff,this['unitID']);}};}async[_0x3ccb73(0x223)](_0x2bce87){var _0x35adaa=_0x3ccb73,_0x5bbc93,_0x3ebabc,_0x45454f;const _0x49ca64=await((_0x5bbc93=this[_0x35adaa(0x308)])==null?void 0x0:_0x5bbc93[_0x35adaa(0x1bb)](this[_0x35adaa(0x14e)])),_0x2bcbcf=(_0x3ebabc=_0x49ca64==null?void 0x0:_0x49ca64['mutations'])!=null?_0x3ebabc:[],_0x43a114=(_0x45454f=_0x49ca64==null?void 0x0:_0x49ca64[_0x35adaa(0x295)])!=null?_0x45454f:null,_0x6046d=!!(_0x43a114!=null&&_0x43a114['sid'])&&!!(_0x43a114!=null&&_0x43a114['reqId']);this[_0x35adaa(0x35e)]=_0x6046d?_0x43a114['sid']:_0xc2f0f9(),this[_0x35adaa(0x103)]=_0x6046d?_0x43a114[_0x35adaa(0x138)]:0x0;const _0x44027a=this[_0x35adaa(0x14e)];try{this['_replayCachedMutations'](_0x43a114,_0x2bcbcf);}catch(_0x1222b9){this[_0x35adaa(0x142)][_0x35adaa(0x36b)](_0x1222b9);}const _0x4a940e=this[_0x35adaa(0x3b2)]();if(_0x2bce87){const _0x47b9cd=Ti(this[_0x35adaa(0x20d)],_0x44027a,this[_0x35adaa(0x16f)],_0x43a114,_0x2bcbcf,_0x4a940e);return _0x47b9cd instanceof ae?_0x47b9cd[_0x35adaa(0x1c5)]():(_0x47b9cd instanceof oe||_0x47b9cd instanceof le)&&_0x47b9cd['resend'](),_0x47b9cd;}return this[_0x35adaa(0x20d)][_0x35adaa(0x1d6)](de,_0x44027a,this['_type'],_0x43a114,_0x2bcbcf,_0x4a940e);}[_0x3ccb73(0x24a)](_0x21a628,_0x3bbac4){var _0x20fa9d=_0x3ccb73,_0x215d66,_0x44cf2f;const _0x1652e8=this['_compressMutationService'][_0x20fa9d(0x334)][_0x20fa9d(0x2dd)](this[_0x20fa9d(0x225)][_0x20fa9d(0x334)][_0x20fa9d(0x102)]()[_0x20fa9d(0x2bf)]);(_0x215d66=_0x1652e8((_0x21a628==null?void 0x0:_0x21a628[_0x20fa9d(0x2f5)])||[],null))==null||_0x215d66['forEach'](_0x4364a4=>this[_0x20fa9d(0x261)][_0x20fa9d(0x2a8)](_0x4364a4['id'],_0x4364a4[_0x20fa9d(0x318)])),(_0x44cf2f=_0x1652e8(_0x3bbac4||[],null))==null||_0x44cf2f[_0x20fa9d(0x2d3)](_0x292418=>this[_0x20fa9d(0x261)][_0x20fa9d(0x2a8)](_0x292418['id'],_0x292418['params']));}};st=Pt([$(0x3,_0x3c04a9(_0x41d5ef)),$(0x4,_0x3c04a9(_0x9c7f90)),$(0x5,_0x3c04a9(_0x28fba6)),$(0x6,_0x3c04a9(_0x44c571)),$(0x7,_0x3c04a9(ve)),$(0x8,_0x390299),$(0x9,_0x15a52e),$(0xa,_0xe27c5b),$(0xb,_0x531531),$(0xc,_0x5a83a3(_t)),$(0xd,_0x5a83a3(J))],st);let It=class extends st{constructor(_0xe7975d,_0x5bb425,_0x280309,_0x3092b0,_0x3f10ce,_0x4ddd7f,_0x23cb56,_0x1e2ef4,_0x55dc12,_0x5264ee,_0xf2e998,_0x2b3d56,_0x4ef136,_0x1ac49e){var _0x5a505b=_0x3ccb73;super(_0xe7975d,_0x280309,_0x5bb425,_0x3092b0,_0x3f10ce,_0x4ddd7f,_0x23cb56,_0x1e2ef4,_0x55dc12,_0x5264ee,_0xf2e998,_0x2b3d56,_0x4ef136,_0x1ac49e),D(this,_0x5a505b(0x361),null),(this['unitID']=_0xe7975d,this[_0x5a505b(0x252)]=_0x5bb425);}['addHandlerCallback'](_0x1acec2){var _0x45c82a=_0x3ccb73;this[_0x45c82a(0x361)]=_0x1acec2;}['dispose'](){var _0x51dfc4=_0x3ccb73;this[_0x51dfc4(0x361)]=null,super['dispose']();}[_0x3ccb73(0x3b2)](){var _0x566b70=_0x3ccb73;const _0x35fafc=super['_createHandler']();return _0x35fafc[_0x566b70(0xe8)]=_0x2c671a=>{var _0xf59874=_0x566b70,_0x34f6cd,_0x5494ef;return(_0x5494ef=(_0x34f6cd=this[_0xf59874(0x361)])==null?void 0x0:_0x34f6cd[_0xf59874(0xe8)])==null?void 0x0:_0x5494ef[_0xf59874(0x183)](_0x34f6cd,_0x2c671a);},_0x35fafc[_0x566b70(0x24b)]=_0x3c777f=>{var _0x2d12cc=_0x566b70,_0x89e050,_0x518f9b;return(_0x518f9b=(_0x89e050=this[_0x2d12cc(0x361)])==null?void 0x0:_0x89e050['onTransformState'])==null?void 0x0:_0x518f9b[_0x2d12cc(0x183)](_0x89e050,_0x3c777f);},_0x35fafc[_0x566b70(0x36a)]=_0x7ebcd7=>{var _0x210096=_0x566b70,_0xcd723b,_0xbbb957;return(_0xbbb957=(_0xcd723b=this[_0x210096(0x361)])==null?void 0x0:_0xcd723b[_0x210096(0x36a)])==null?void 0x0:_0xbbb957[_0x210096(0x183)](_0xcd723b,_0x7ebcd7);},_0x35fafc[_0x566b70(0x1ea)]=_0x4481ab=>{var _0x5cfa6f=_0x566b70,_0x29c197,_0x2d7742;return(_0x2d7742=(_0x29c197=this[_0x5cfa6f(0x361)])==null?void 0x0:_0x29c197['onSyncEditingCollabCursor'])==null?void 0x0:_0x2d7742[_0x5cfa6f(0x183)](_0x29c197,_0x4481ab);},_0x35fafc['onTransformRemoteChangesetByIMECache']=_0x572d74=>{var _0x4b620c=_0x566b70,_0x3aa041,_0x42608e,_0x575275;if(!((_0x3aa041=this[_0x4b620c(0x361)])!=null&&_0x3aa041[_0x4b620c(0x2b2)]))throw new Error(_0x4b620c(0x207));return(_0x575275=(_0x42608e=this[_0x4b620c(0x361)])==null?void 0x0:_0x42608e[_0x4b620c(0x2b2)])==null?void 0x0:_0x575275['call'](_0x42608e,_0x572d74);},_0x35fafc['onTransformRemoteChangesetByStateCache']=_0x335fd5=>{var _0x110a03=_0x566b70,_0x2cb939,_0x425086,_0x4b344a;if(!((_0x2cb939=this[_0x110a03(0x361)])!=null&&_0x2cb939[_0x110a03(0x33c)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x4b344a=(_0x425086=this['_handlerCallback'])==null?void 0x0:_0x425086[_0x110a03(0x33c)])==null?void 0x0:_0x4b344a[_0x110a03(0x183)](_0x425086,_0x335fd5);},_0x35fafc;}async[_0x3ccb73(0x124)](){var _0x278574=_0x3ccb73;const _0x4545f8=await super[_0x278574(0x124)]();return this[_0x278574(0x38f)](this[_0x278574(0x261)][_0x278574(0x1db)]((_0x5aa73a,_0x519461)=>{var _0x2c5b79=_0x278574;if(_0x5aa73a['type']!==_0x4ccfdb[_0x2c5b79(0x180)]||_0x519461!=null&&_0x519461[_0x2c5b79(0x125)]||_0x519461!=null&&_0x519461[_0x2c5b79(0x35f)]||_0x5aa73a['id']===_0x388cc4['id'])return;const _0x486907=_0x5aa73a[_0x2c5b79(0x318)];if((_0x486907==null?void 0x0:_0x486907[_0x2c5b79(0x171)])!==this['unitID'])return;const _0x5e9167=_0x5aa73a,_0x4a7f94=this[_0x2c5b79(0x225)][_0x2c5b79(0x334)][_0x2c5b79(0x2dd)](this['_compressMutationService'][_0x2c5b79(0x334)][_0x2c5b79(0x102)]()['COMPRESS_MUTATION_SEND'])([_0x5e9167],this[_0x2c5b79(0x137)])||[_0x5e9167];this['_onLocalMutation'](_0x4a7f94[0x0]);})),_0x4545f8;}};It=Pt([$(0x3,_0x3c04a9(_0x41d5ef)),$(0x4,_0x3c04a9(_0x9c7f90)),$(0x5,_0x3c04a9(_0x28fba6)),$(0x6,_0x3c04a9(_0x44c571)),$(0x7,_0x3c04a9(ve)),$(0x8,_0x390299),$(0x9,_0x15a52e),$(0xa,_0xe27c5b),$(0xb,_0x531531),$(0xc,_0x5a83a3(_t)),$(0xd,_0x5a83a3(J))],It);let St=class extends st{constructor(_0x57b616,_0x1ce95b,_0x4ad6a2,_0x1711bf,_0x536b42,_0x5a9d0d,_0x3571ea,_0x498a3a,_0x2bb6fb,_0x243f34,_0x18147c,_0x43a657,_0x3b812d,_0x4d1707,_0x35397a){var _0x214b14=_0x3ccb73;super(_0x57b616,_0x4ad6a2,_0x1ce95b,_0x1711bf,_0x536b42,_0x5a9d0d,_0x3571ea,_0x2bb6fb,_0x243f34,_0x18147c,_0x43a657,_0x3b812d,_0x4d1707,_0x35397a),this['unitID']=_0x57b616,this[_0x214b14(0x252)]=_0x1ce95b,this['_sheetTransformSelectionsService']=_0x498a3a;}[_0x3ccb73(0x3b2)](){var _0x32c1d5=_0x3ccb73;const _0x4d3b9a=super[_0x32c1d5(0x3b2)]();return _0x4d3b9a[_0x32c1d5(0x36a)]=_0x3bc850=>this[_0x32c1d5(0x339)][_0x32c1d5(0x297)](_0x3bc850),_0x4d3b9a;}async[_0x3ccb73(0x124)](){var _0x3a9dbe=_0x3ccb73;const _0x5b1233=await super[_0x3a9dbe(0x124)]();return this[_0x3a9dbe(0x38f)](this['_commandService'][_0x3a9dbe(0x1db)]((_0x2a63f1,_0x228e00)=>{var _0x1da926=_0x3a9dbe;if(_0x2a63f1[_0x1da926(0x252)]!==_0x4ccfdb[_0x1da926(0x180)]||_0x228e00!=null&&_0x228e00[_0x1da926(0x125)]||_0x228e00!=null&&_0x228e00[_0x1da926(0x35f)])return;const _0xcd0d13=_0x2a63f1[_0x1da926(0x318)];if((_0xcd0d13==null?void 0x0:_0xcd0d13['unitId'])!==this[_0x1da926(0x14e)])return;const _0x500642=_0x2a63f1,_0x15a2d1=this[_0x1da926(0x225)][_0x1da926(0x334)][_0x1da926(0x2dd)](this[_0x1da926(0x225)]['interceptor']['getInterceptPoints']()[_0x1da926(0x25f)])([_0x500642],this[_0x1da926(0x137)])||[_0x500642];this[_0x1da926(0x319)](_0x15a2d1[0x0]);})),_0x5b1233;}};St=Pt([$(0x3,_0x3c04a9(_0x41d5ef)),$(0x4,_0x3c04a9(_0x9c7f90)),$(0x5,_0x3c04a9(_0x28fba6)),$(0x6,_0x3c04a9(_0x44c571)),$(0x7,_0x3c04a9(it)),$(0x8,_0x3c04a9(ve)),$(0x9,_0x390299),$(0xa,_0x15a52e),$(0xb,_0xe27c5b),$(0xc,_0x531531),$(0xd,_0x5a83a3(_t)),$(0xe,_0x5a83a3(J))],St);const js=_0x5e4720('univer-pro.collaboration-client.network-condition.service');function Fs(_0x1e3728){var _0x92e5d2=_0x3ccb73,_0xe145ca,_0x3900ba,_0x3f8c07,_0xf02132,_0x17fac6;const _0xb94a47=_0x1e3728[_0x92e5d2(0x213)],_0x4ba129=JSON[_0x92e5d2(0x189)](_0xb94a47);switch(_0x4ba129['cmd']){case F[_0x92e5d2(0x385)]:case F['HELLO']:{const _0x25ab99=_0x4ba129[_0x92e5d2(0x19a)];return{..._0x4ba129,'data':_0x25ab99,'cmd':_0x4ba129[_0x92e5d2(0x154)]};}case F[_0x92e5d2(0x163)]:{const _0x492257=_0x4ba129[_0x92e5d2(0x2e9)];return{..._0x4ba129,'data':_0x492257,'cmd':_0x4ba129['cmd']};}case F[_0x92e5d2(0x26f)]:{const _0x1b6702=_0x4ba129[_0x92e5d2(0xe4)];switch(_0x1b6702[_0x92e5d2(0x3a5)]){case _0x4fac32['PERMISSION_REJ']:return{..._0x4ba129,'data':{..._0x1b6702,'data':(_0xe145ca=_0x1b6702[_0x92e5d2(0x236)])==null?void 0x0:_0xe145ca['cs']},'cmd':_0x4ba129[_0x92e5d2(0x154)]};case _0x4fac32[_0x92e5d2(0x387)]:return{..._0x4ba129,'data':{..._0x1b6702,'data':(_0x3900ba=_0x1b6702[_0x92e5d2(0x1ba)])==null?void 0x0:_0x3900ba['cs']},'cmd':_0x4ba129[_0x92e5d2(0x154)]};case _0x4fac32[_0x92e5d2(0x2b8)]:return{..._0x4ba129,'data':{..._0x1b6702,'data':(_0x3f8c07=_0x1b6702[_0x92e5d2(0x3ba)])==null?void 0x0:_0x3f8c07['cs']},'cmd':_0x4ba129[_0x92e5d2(0x154)]};case _0x4fac32[_0x92e5d2(0x11d)]:return{..._0x4ba129,'data':{..._0x1b6702,'data':(_0xf02132=_0x1b6702['csRejEvent'])==null?void 0x0:_0xf02132['cs']},'cmd':_0x4ba129[_0x92e5d2(0x154)]};case _0x4fac32['CHANGESET_SHOULD_RETRY']:return{..._0x4ba129,'data':{..._0x1b6702,'data':(_0x17fac6=_0x1b6702[_0x92e5d2(0x28d)])==null?void 0x0:_0x17fac6['cs']},'cmd':_0x4ba129['cmd']};case _0x4fac32[_0x92e5d2(0x1a7)]:return{..._0x4ba129,'data':{..._0x1b6702,'data':_0x1b6702['updateCursorEvent']},'cmd':_0x4ba129[_0x92e5d2(0x154)]};case _0x4fac32[_0x92e5d2(0x272)]:return{..._0x4ba129,'data':{..._0x1b6702,'data':_0x1b6702[_0x92e5d2(0x227)]},'cmd':_0x4ba129[_0x92e5d2(0x154)]};case _0x4fac32[_0x92e5d2(0x2e1)]:return{..._0x4ba129,'data':{..._0x1b6702,'data':_0x1b6702[_0x92e5d2(0x2df)]},'cmd':_0x4ba129['cmd']};case _0x4fac32['LIVESHARE_NEW_HOST']:return{..._0x4ba129,'data':{..._0x1b6702,'data':_0x1b6702['liveShareNewHost']},'cmd':_0x4ba129[_0x92e5d2(0x154)]};case _0x4fac32[_0x92e5d2(0x212)]:case _0x4fac32[_0x92e5d2(0x191)]:return{..._0x4ba129,'data':{..._0x1b6702,'data':_0x1b6702[_0x92e5d2(0x22b)]},'cmd':_0x4ba129[_0x92e5d2(0x154)]};case _0x4fac32[_0x92e5d2(0x24d)]:return{..._0x4ba129,'data':{..._0x1b6702,'data':_0x1b6702['liveShareNewHost']},'cmd':_0x4ba129[_0x92e5d2(0x154)]};case _0x4fac32[_0x92e5d2(0x2b9)]:return{..._0x4ba129,'data':_0x1b6702,'cmd':_0x4ba129[_0x92e5d2(0x154)]};case _0x4fac32[_0x92e5d2(0x2cc)]:return{..._0x4ba129,'data':{..._0x1b6702,'data':_0x1b6702['commentUpdateEvent']},'cmd':_0x4ba129[_0x92e5d2(0x154)]};case _0x4fac32[_0x92e5d2(0x22a)]:return{..._0x4ba129,'data':{..._0x1b6702,'data':_0x1b6702['updatePermissionObjEvent']},'cmd':_0x4ba129[_0x92e5d2(0x154)]};case _0x4fac32[_0x92e5d2(0x3af)]:return{..._0x4ba129,'data':{..._0x1b6702,'data':_0x1b6702['shouldCloseConn']},'cmd':_0x4ba129[_0x92e5d2(0x154)]};case _0x4fac32['UNISCRIPT_RUN']:return{..._0x4ba129,'data':{..._0x1b6702,'data':_0x1b6702[_0x92e5d2(0xca)]},'cmd':_0x4ba129[_0x92e5d2(0x154)]};default:return _0x4ba129;}}default:return _0x4ba129;}}function Vs(_0x192086){var _0x2e8240=_0x3ccb73;switch(_0x192086[_0x2e8240(0x154)]){case F[_0x2e8240(0x385)]:case F[_0x2e8240(0x3ae)]:return JSON[_0x2e8240(0xf9)]({'cmd':_0x192086[_0x2e8240(0x154)],'routeKey':_0x192086[_0x2e8240(0x2f4)]});case F['INGEST']:{let _0x36ed22;switch(_0x192086[_0x2e8240(0x213)][_0x2e8240(0x3a5)]){case _0x4fac32[_0x2e8240(0x1a7)]:{_0x36ed22={'eventID':_0x4fac32[_0x2e8240(0x1a7)],'updateCursorEvent':_0x192086[_0x2e8240(0x213)]['data']};break;}case _0x4fac32['USERS_LEAVE']:{_0x36ed22={'eventID':_0x4fac32[_0x2e8240(0x2e1)],'leaveEvent':_0x192086[_0x2e8240(0x213)][_0x2e8240(0x213)]};break;}case _0x4fac32['USERS_ENTER']:{_0x36ed22={'eventID':_0x4fac32[_0x2e8240(0x272)],'joinEvent':_0x192086[_0x2e8240(0x213)][_0x2e8240(0x213)]};break;}case _0x4fac32['LIVESHARE_NEW_HOST']:{_0x36ed22={'eventID':_0x4fac32[_0x2e8240(0x17a)],'liveShareNewHost':_0x192086[_0x2e8240(0x213)]['data']};break;}case _0x4fac32[_0x2e8240(0x191)]:{_0x36ed22={'eventID':_0x4fac32[_0x2e8240(0x191)],'liveShareOperation':_0x192086[_0x2e8240(0x213)]['data']};break;}case _0x4fac32[_0x2e8240(0x24d)]:{_0x36ed22={'eventID':_0x4fac32[_0x2e8240(0x24d)],'liveShareTerminate':_0x192086['data'][_0x2e8240(0x213)]};break;}case _0x4fac32[_0x2e8240(0x398)]:{_0x36ed22={'eventID':_0x4fac32[_0x2e8240(0x398)],'liveShareRequestHost':_0x192086[_0x2e8240(0x213)][_0x2e8240(0x213)]};break;}case _0x4fac32[_0x2e8240(0x212)]:{_0x36ed22={'eventID':_0x4fac32[_0x2e8240(0x212)]};break;}default:_0x36ed22={'eventID':_0x192086[_0x2e8240(0x213)]['eventID']};}return JSON['stringify']({'cmd':_0x192086['cmd'],'routeKey':_0x192086[_0x2e8240(0x2f4)],'collaMsg':_0x36ed22});}case F[_0x2e8240(0x163)]:return JSON[_0x2e8240(0xf9)]({'cmd':_0x192086[_0x2e8240(0x154)],'routeKey':_0x192086[_0x2e8240(0x2f4)],'joinReq':_0x192086[_0x2e8240(0x213)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0x192086[_0x2e8240(0x154)],'routeKey':_0x192086[_0x2e8240(0x2f4)],'leaveReq':_0x192086[_0x2e8240(0x213)]});default:throw new Error(_0x2e8240(0x2b0));}}var Gs=Object[_0x3ccb73(0x29f)],Ws=(_0x4e6d65,_0x2899e8,_0x1700c7,_0x583456)=>{for(var _0x598f53=_0x583456>0x1?void 0x0:_0x583456?Gs(_0x2899e8,_0x1700c7):_0x2899e8,_0x1afe6f=_0x4e6d65['length']-0x1,_0x1e4d1b;_0x1afe6f>=0x0;_0x1afe6f--)(_0x1e4d1b=_0x4e6d65[_0x1afe6f])&&(_0x598f53=_0x1e4d1b(_0x598f53)||_0x598f53);return _0x598f53;},ye=(_0x57fd3b,_0x56cf12)=>(_0x571d19,_0x4283af)=>_0x56cf12(_0x571d19,_0x4283af,_0x57fd3b);const Oi=_0x5e4720('univer-pro.collaboration-client-socket-service');function Ys(_0x2eaa19,_0x2b1f53,_0x2f3409){var _0x4e85a4=_0x3ccb73;return _0x2eaa19+'/'+_0x2b1f53+_0x4e85a4(0xde)+_0x2f3409+'/new_changes';}let Wt=class extends _0x2999de{constructor(_0x16a043,_0x45068a,_0x1f9079,_0x2a03e1,_0x5c6056){var _0x46d02b=_0x3ccb73;super(),this[_0x46d02b(0x20d)]=_0x16a043,this[_0x46d02b(0x203)]=_0x45068a,this['_configService']=_0x1f9079,this[_0x46d02b(0x142)]=_0x2a03e1,this[_0x46d02b(0x302)]=_0x5c6056;}[_0x3ccb73(0x1c3)](_0xf453b8){var _0x2eb49a=_0x3ccb73;const _0x54436d=this['_injector'][_0x2eb49a(0x1ff)](_0x5e5d45);if(!_0x54436d)throw new Error(_0x2eb49a(0x107));const _0x18365b=_0x54436d['createSocket'](_0xf453b8);if(!_0x18365b)throw new Error(_0x2eb49a(0x110));const _0x4069f5=new _0x39217e(),_0x2ab6d4=new _0x4a9404();_0x4069f5[_0x2eb49a(0x3be)](_0x18365b['close$'][_0x2eb49a(0x17d)](_0x3cc8df=>_0x2ab6d4[_0x2eb49a(0x182)](_0x3cc8df))),_0x4069f5[_0x2eb49a(0x3be)](_0x537e51(()=>_0x2ab6d4['complete']()));const _0x46ad23=new _0x4a9404();_0x4069f5['add'](_0x18365b['error$'][_0x2eb49a(0x17d)](_0x519716=>_0x46ad23[_0x2eb49a(0x182)](_0x519716))),_0x4069f5[_0x2eb49a(0x3be)](_0x537e51(()=>_0x46ad23[_0x2eb49a(0xd9)]()));const _0x52645f=new _0x4a9404();_0x4069f5[_0x2eb49a(0x3be)](_0x18365b[_0x2eb49a(0x278)]['subscribe'](_0x590945=>{const _0x4e073e=Fs(_0x590945);_0x52645f['next'](_0x4e073e);})),_0x4069f5[_0x2eb49a(0x3be)](_0x537e51(()=>_0x52645f['complete']()));let _0x276dbb;const _0x33f8b8=()=>{var _0x573cb1=_0x2eb49a;_0x46ad23[_0x573cb1(0x182)](new Event(_0x573cb1(0x235))),_0x2ab6d4['next'](new Event(_0x573cb1(0x235))),_0x276dbb[_0x573cb1(0x31b)]();};return _0x276dbb={'memberID':'','close$':_0x2ab6d4[_0x2eb49a(0x3b3)](),'error$':_0x46ad23[_0x2eb49a(0x3b3)](),'open$':_0x18365b[_0x2eb49a(0x2e8)],'message$':_0x52645f[_0x2eb49a(0x3b3)](),'send':_0x47da36=>{var _0x10ea49=_0x2eb49a;if(_0x47da36[_0x10ea49(0x154)]===F[_0x10ea49(0x38e)]){if(_0x47da36['data'][_0x10ea49(0x3a5)]===_0x4fac32[_0x10ea49(0x2f1)]){this[_0x10ea49(0x37f)](_0x276dbb,_0x47da36[_0x10ea49(0x213)])['catch'](_0x15ddef=>{var _0x569f84=_0x10ea49;this[_0x569f84(0x142)][_0x569f84(0x36b)](_0x15ddef),_0x33f8b8();});return;}if(_0x47da36[_0x10ea49(0x213)]['eventID']===_0x4fac32['FETCH_MISSING']){const _0x5e2eab=_0x47da36[_0x10ea49(0x213)];this['_fetchMissChangesets'](_0x5e2eab)['then'](_0x3e4307=>{var _0x4ac84e=_0x10ea49;_0x52645f[_0x4ac84e(0x182)]({'cmd':F['RECV'],'code':pe['OK'],'routeKey':_0x5e2eab['data'][_0x4ac84e(0x14e)],'routeType':'','data':{'eventID':_0x4fac32[_0x4ac84e(0x133)],'data':{'changesets':_0x3e4307}}});})['catch'](_0x22bba3=>{var _0x1855d2=_0x10ea49;this[_0x1855d2(0x142)][_0x1855d2(0x36b)](_0x22bba3),_0x33f8b8();});return;}}_0x18365b[_0x10ea49(0x178)](Vs(_0x47da36));},'close':()=>{var _0x2ecb2f=_0x2eb49a;_0x18365b[_0x2ecb2f(0x31b)](),_0x4069f5[_0x2ecb2f(0x155)]();}},_0x276dbb;}async[_0x3ccb73(0x37f)](_0xf4b947,_0x34e57d){var _0x2146ac=_0x3ccb73,_0x45d4f1;const {unitType:_0x3c0883,unitID:_0x4d7ccd,changeset:_0x1c117a}=_0x34e57d[_0x2146ac(0x213)],_0x1e0907={'unitID':_0x4d7ccd,'memberID':_0xf4b947[_0x2146ac(0x1df)],'type':_0x3c0883,'changeset':_0x35779e(_0x1c117a)},_0x89ae72=this[_0x2146ac(0x1cb)][_0x2146ac(0x2c7)](K),_0x56c852=Ys((_0x45d4f1=_0x89ae72==null?void 0x0:_0x89ae72[_0x2146ac(0x1a4)])!=null?_0x45d4f1:Os,_0x3c0883,_0x4d7ccd);try{await this['_httpService'][_0x2146ac(0x18d)](_0x56c852,{'body':_0x1e0907});}catch(_0x4dcce0){throw this[_0x2146ac(0x142)][_0x2146ac(0x36b)](_0x2146ac(0x193),_0x2146ac(0x276)),_0x4dcce0;}}async[_0x3ccb73(0xe2)](_0x308232){var _0x3feb96=_0x3ccb73;const {unitID:_0x259670,from:_0xe4d3dc,to:_0x555586,unitType:_0x2aa67a}=_0x308232[_0x3feb96(0x213)];return(await this[_0x3feb96(0x302)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x259670,'type':_0x2aa67a,'from':_0xe4d3dc,'to':_0x555586}))[_0x3feb96(0x237)]['map'](_0x37dcb0=>((_0x37dcb0[_0x3feb96(0x2f5)]===null||_0x37dcb0[_0x3feb96(0x2f5)]===void 0x0)&&(_0x37dcb0[_0x3feb96(0x2f5)]=[]),_0x37dcb0));}};Wt=Ws([ye(0x0,_0x3c04a9(_0x41d5ef)),ye(0x1,_0x3c04a9(_0x28ea36)),ye(0x2,_0x50087d),ye(0x3,_0x15a52e),ye(0x4,_0xa43d5e)],Wt);var Ks=Object[_0x3ccb73(0x29f)],qs=(_0x245a45,_0x58311,_0x1f8876,_0x225415)=>{var _0x132d2a=_0x3ccb73;for(var _0xbd1542=_0x225415>0x1?void 0x0:_0x225415?Ks(_0x58311,_0x1f8876):_0x58311,_0x415cfc=_0x245a45[_0x132d2a(0xec)]-0x1,_0x184b57;_0x415cfc>=0x0;_0x415cfc--)(_0x184b57=_0x245a45[_0x415cfc])&&(_0xbd1542=_0x184b57(_0xbd1542)||_0xbd1542);return _0xbd1542;},Re=(_0x18db7f,_0x4dbf31)=>(_0x108a7f,_0x3d75f7)=>_0x4dbf31(_0x108a7f,_0x3d75f7,_0x18db7f);function _0x4140(){var _0x1d326f=['putCollaborators','COMPRESS_MUTATION_APPLY','result','onRemoteRej','getSheetBlock','apply','PY_RUNTIME_SCRIPT_ERROR','defineProperty','iterations','getConfig','_onRemoteRetry','_onConflict','telemetry\x20info\x20is\x20not\x20initialized','objectType','COMMENT_UPDATE','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_sessionStatus$','startTime','waitForRoom$','_oKey','_startTelemetryCollaborationNewChangeset','forEach','YUUMI_NO_CUBOID_FOR_QUESTION','readAsDataURL','baseRev','confirm','list','focused$','_toggleOnline','11598TZHfdK','APPLY_NON_SEQUENTIAL_REVISION','fetchThroughInterceptors','/universer-api/uniscript','leaveEvent','_waitForHeartbeatResponse','USERS_LEAVE','_executeRemoteChangeset','_onOffline','_state','startsWith','onStarting','location','open$','joinRsp','ALREADY_EXISTS','saveImage','image/jpeg','__Key__','status$','m2Prime','HmacMD5','SUBMIT_CHANGESET','REDEMPTION_CODE_INACTIVE','_prevBlock','routeKey','mutations','kdf','createCollaborator','updateMember','[CollaborationState]:\x20apply\x20error!','JOIN_ROOM_FULL','_createSocket','_members$','StreamCipher','sid','updateSnapshot','_awaitingChangeset','uploadFileServerUrl','_snapshotServerService','_socketReady','_event$','_clearRetryConnectingTimer','action','_ENC_XFORM_MODE','_localCacheService','_nRounds','getMember','updateOfflineData','_tryEnsureSocket','pluginName','file','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','OTHER_CLIENT_EDITING','REDEMPTION_CODE_FULLY_REDEEMED','UNIVER_UNKNOWN','_getRedoStack','_sessions','_change$','onRemoteRetry','[CollaborationSessionService]','params','_onLocalMutation','__creator','close','_collaborationUIEventService','LOGIN_FAILED','YUUMI_ASYNCIO_CANCELLED','socket\x20open.','Latin1','OFFLINE','title','status','subUnitId','CONFLICT','LICENSE_MAX_UNITS_EXCEEDED','_scheduleCompleteTimestamp','ERROR_EXCEED_SIZE','msCrypto','_getSignURL','3163068vhpeHH','isArray','_iv','55gkPAbv','_DEC_XFORM_MODE','[PendingState]:\x20received\x20acknowledgement.','getActiveSheet','_transformStateCache','_resendWithTimeout','interceptor','transformMutationsWithChangeset','socket\x20close','ONLINE','Pkcs7','_sheetTransformSelectionsService','resourceIDs','_clearCollaborationTimeoutTimer','onTransformRemoteChangesetByStateCache','NOT_COLLAB','dispose$','YUUMI_AI_RUN_FAILED','session','localCacheService','SNAPSHOT_HAS_BEEN_REMOVED','_disableEditing','_socketService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_incrementRevisionNumber','/resources','_process','url','equals','transformUndoRedo','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','createDecryptor','_onUserLeave','session.room-full','AWAITING','onRemoteChangeset','/block/','_updateState','_config','_shouldReportTelemetry','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','session.room-cnt-exceeds','getCollabEntity','objectActions','_clearUndo','getValue','LOCAL_CACHE_INTERVAL','_hasher','_changesetSessionId','onlyLocal','[DataLoaderService]','_handlerCallback','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','/allowed','_map','getCurrentUser','every','UnitSnapshot','_handler','pipe','onTransformSelections','error','Failed\x20to\x20update\x20permission\x20point','_networkConditionService','_socketMessageSubscription','_reverseMap','_stopTelemetryCollaborationNewChangeset','SNAPSHOT_INVALID_SNAPSHOT','addImageSourceCache','[SyncedState]:\x20received\x20rejection.','createEncryptor','EvpKDF','avatar','awaiting_with_pending','_lockTransition','Base','USER_NOT_INVITED_CODE','_timeoutTimer','NoPadding','_retryCount','push','_submitChangeset','entityInit$','_collabSessionService','MOBILE_VERIFY_CODE_MISMATCH','2008970FayFOE','_unitInfo$','HEARTBEAT','selections','CHANGESET_ACK','/rev/','reject','extend','863264uzpWsm','_throwTelemetryCollaborationNewChangeset','unsubscribe','INGEST','disposeWithMe','withCredentials','signUrlServerUrl','PAYMENT_CHANNEL_NOT_SUPPORT','synced','INVALID_ARGUMENT','/-/object/-/batch_allowed','_redoStacks','YUUMI_RATE_OVER_LIMIT','LIVESHARE_REQUEST_HOST','slice','blockSize','disableLocalCache','resolve','NOT_FOUND','sin','_iKey','UNIVER_PROJECT','put','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_doCryptBlock','_retryConnectingTimer','eventID','init','reduce','commentUpdate$','name','_scheduleCollaborationTimeoutTimer','_toggleOffline','_sendingTimer','[UniverCollaborationClientPlugin]','HELLO','SHOULD_CLOSE_CONN','INVALID_INVITE_CODE','debug','_createHandler','asObservable','findIndex','CURRENT_STATUS_CANNOT_OPERATE','YUUMI_ALL_TABLES_IS_INVALID','People','getTime','CHANGESET_SHOULD_RETRY','newCsEvent','toggleOnline','_getUndoStack','_xformMode','add','_parse','_sendHeartbeatTimer','_candidateSocket','AUTHORIZE_CODE_ILLEGAL','getCollabEntity$','_commentUpdate$','_transformStack','_onRemoteACK','setCurrentUser','patch','buffer','ENTITLE_DUP_SUBSCRIPTION','ENTITLE_CHAT_LIMIT_EXCEED','_doFinalize','loadSheet','symbol','_HTTPService','mixIn','uniscriptRunEvent','UNIVER_COLLABORATION_CLIENT_PLUGIN','WordArray','default','SOCKET_FAILED_RETRY','RETRY_CONNECTING_MAX_COUNT','initWorkbookPermissionChange','_pendingMutations','REDEMPTION_USER_REDEEM_TIMES_EXCEED','repeat','USER_NOT_FOUND','_hash','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','loadUnitOfRevision','_telemetryService','complete','Decryptor','_getLoginPath','_acknowledgedAwaitingChangeset','SYNCED','/unit/','reset','reverse','DEFAULT_FILE_NAME','_fetchMissChangesets','FETCH_MISS','collaMsg','_transformRemoteChangesetByStateCache','getTypeOfUnitAdded$','setShowComponents','onTransformIME','_socket$','/universer-api/stream/file/upload','collabWebSocketUrl','length','ERROR_IMAGE','YUUMI_URL_COL_OUT_OF_RANGE','_append','195IcXhDi','snapshot','encrypt','roles','concat','getUnitType','/object/','_removeRoom','_instanceService','stringify','INTERNAL_ERROR','ws://127.0.0.1:8000/universer-api/comb/connect','onSendChangeset','2022356pFHRfm','conflict','cfg','offline','INVITE_CODE_HAS_BEEN_UES','getInterceptPoints','_changesetReqId','getLatestCsReqIdBySid','BlockCipher','_updateStatus','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','/collaborator','REDEMPTION_INVALID_CODE','_createHelper','_roomCreated$','Utf8','_getSendChangesetTimeout','_decreaseWaiting','_initUnitPermissionChange','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','clear','getSnapshotAPIPath','Hex','_snapshotService','UNKNOWN_CODE','_resendTimeout','_waitCount','_rescheduleHeartbeat','_roomMembers','_imageSourceCache','_clearTimeoutTimer','_sender','CHANGESET_REJ','getUnitId','COMPLETION_FINISHED','_transformUndoredo','LICENSE_DISTRO_REJECTED','_getUploadFileURL','fetchMissingChangesets','_init','fromCollab','compose','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Could\x20not\x20dynamically\x20require\x20\x22','_onConnectionFailed','ENTITLE_NEED_BILLING_ADDRESS','USER_IS_ANONYMOUS','refreshPermission','formatter','_checkMissing','collaboration-client.local-cache-service','/fetchmissing?from=','hasOwnProperty','getTypeOfUnitDisposed$','PSEUDO_FETCH_MISSING_RESULT','&to=','LOGIN_TOKEN_PROCESSING_FAILED','sessionStatus$','_univerInstanceService','reqId','isPermissionRej','loadDoc','collaboratorID','requireSession','setConfig','ClipsheetFragments','pauseCollaboration','_getCtorByUniverType','_userManagerService','_logService','HEARTBEAT_INTERVAL','set','APPLY_DUPLICATED','localeService','MD5','_clearRedo','onStateChange','finalize','socket$','CLOSE_ROOM','_clearLocalCache','unitID','[SyncedState]:\x20received\x20acknowledgement.','JOIN_ROOM_FAILED','words','WECHAT_HAS_BEEN_BOUND','REDEMPTION_CODE_NOT_STARTED','cmd','dispose','objectID','8fjrEjM','session.room-permission-denied','filter','/universer-api/authz','charCodeAt','_initMergeInterceptor','_onRecvEvent','_doReset','_updateLocalCache','charAt','string','not_collab','JOIN','LEAVE','objects','_registerDependencies','downloadEndpointUrl','?url=','state$','getUnit','readyForCollab','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','APPLY_REJECT','_mode','_type','sessionStatus','unitId','min','LICENSE_EXPORT_SIZE_EXCEEDED','keySize','_key','ivSize','_collaborationTimeoutTimer','send','userID','LIVESHARE_NEW_HOST','/universer-api/snapshot/','pad','subscribe','[OfflineState]:\x20received\x20rejection.','encryptBlock','MUTATION','values','next','call','actions','_onConnectionOpen','/universer-api/comb','_telemetryInfo','sendChangesetTimeout','parse','indexOf','_getAPIPrefixPath','getRoom','post','OPTIONAL','salt','UnitEmbedded','LIVESHARE_OPERATION','Encryptor','[CollaborationSession]','_socket','_getCurrentRevision','_initRequestHeader','collaborators','_unitID','/role','infoRsp','HttpExport','compute','_collaborationSessionService','_isPermissionRej','IDLE','_initDependencies','_singleActiveUnitService','\x20to\x20','SNAPSHOT_URL_KEY','collabSubmitChangesetUrl','collaboration-client.config','CipherParams','UPDATE_CURSOR','listCollaborators','hasher','subject','/object','mode','CONNECTOR_DATA_TOO_LARGE','POST','range','_replaceFileID','univer-pro.collaboration-client.single-active-unit-service','originalMeta','includes','save\x20fail\x20reason\x20is\x20','_members','ERROR_AGAIN','EMAIL_HAS_BEEN_BOUND','abs','_memberService','csAckEvent','loadOfflineData','replace','/-/object/list','toString','map','loadUnit','close$','_minBufferSize','_doCreateSocket','unknown','_schedule','removeMember','_createInitialState','ENTITLE_REPORT_LIMIT_EXCEED','Hasher','lib','_configService','deepClone','HMAC','FAIL','AES','body','_commentService','stopTime','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_resendTimer','duration','createInstance','has','_transformRemoteChangesetByIMECache','delete','Base64','onCommandExecuted','Malformed\x20UTF-8\x20data','_cipher','_showConflictNotification','memberID','transformStack\x20failed!','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','AWAITING_WITH_PENDING','resend','[CollaborationEntity]','INVITE_CODE_REQUIRED','ciphertext','_status$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','origin','onSyncEditingCollabCursor','format','_applyRemoteChangeset','_nDataBytes','MOBILE_HAS_BEEN_BOUND','PERSON','algo','now','_onRemoteRejected','GLOBAL_ROOMS_CNT_EXCEEDS','{fileID}','_initCloseConn','_substituteUndoStack','appendMutation','join','crypto','_permissionService','registerHTTPInterceptor','retryConnectingInterval','exports','_keySchedule','get','_data','_revisionService','padding','_httpService','_joinRoom','function','create','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','[CollaborationSessionService]:\x20socket\x20error','OTHER_CLIENTS_EDITING','_transformIMECache','_undoRedoService','state','_injector','getUnitStatus$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','authzUrl','BufferedBlockAlgorithm','LIVESHARE_FETCH_OPERATIONS','data','key','FileId','hostname','SOCKET_FAILED','HEARTBEAT_TIMEOUT','random','48479wCwyOv','_getAPIPrefix','_unlockTransition','_eventService','UNIVER_DOC','REDEMPTION_CODE_HAS_BEEN_CREATED','_listenToNetworkCondition','c1Prime','getFocusedUnit','_createInitialStateImpl','_localeService','_compressMutationService','clamp','joinEvent','updatePermissionPoint','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UPDATE_PERMISSION_OBJ','liveShareOperation','method','_invKeySchedule','image/bmp','_entities','getMemberID','unpad','c2Prime','sigBytes','UNAUTHENTICATED','connection\x20error','permissionRejEvent','changesets','event$','decrypt','clone','UNDEFINED','LICENSE_IMPORT_SIZE_EXCEEDED','encode','capture','Cipher','UNIVER_SHEET','incrementRevOfUnit','PasswordBasedCipher','getRandomValues','1287460yjgQoa','awaiting','image/gif','toggleOffline','/universer-api/snapshot','enc','_replayCachedMutations','onTransformState','JOIN_ROOM_PERMISSION_DENIED','LIVESHARE_TERMINATE','[OfflineState]:\x20received\x20changeset.','_onUserJoin','_undoStacks','href','type','headers','UNIVER_SLIDE','ENSURE_SNAPSHOT_EXECUTION','NO_OTHER_CLIENTS_EDITING','batchAllowed','getUnitOnRev','members','_onCombEvent','_transitionLocked','onMissingChangesets','fromCharCode','APPLY_REVISION_CONFILICT','COMPRESS_MUTATION_SEND','onMissedChangesetFetched','_commandService','[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.','editingUnit','_syncEditingCollabCursor','pending','SUBMIT_CHANGESET_TIMEOUT','unitInfo$','/universer-api/oidc/authpage','_collaborationPaused','[CollaborationUndoRedoService]','CBC','createSocket','ceil','revision','RECV','_getDownloadEndpointURL','Undefined','USERS_ENTER','INVITE_CODE_ALREADY_BOUND','_clearScheduledTask','_clearHeartbeatTimer','submit\x20changeset\x20error!','YUUMI_CONNECTOR_URL_NOT_FOUND','message$','socketService','splice','_onMessage','UNRECOGNIZED','floor','saveChangeset','members$','TOO_MANY_REQUESTS','_exhaustRemoteChangesetQueue','__esModule','size','BASE64','_sendHeartbeat','onload','_onJoinRoomEvent','requestParams','JOIN_ROOM_NOT_EXISTS','_queuedRemoteChangesets','processBlock','CHANGESET_REVISION_CONFILICT','csShouldRetryEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','update','REDEMPTION_USER_NOT_ELIGIBLE','error$','execute','allowed','_onFetchMissResult','awaitingChangeset','_substituteRedoStack','transformSelections','encodeURIComponent','prototype','$super','_state$','SHA1','&source=','enableCollaboration','getOwnPropertyDescriptor','reconnect','_transformService','roomInfos','3fQaUDQ','\x20in\x20_schedule.','_keyPriorReset','_remoteChangesetQueue','getCurrentRevOfUnit','executeCommand','_doProcessBlock','_startCollaboration','onRemoteAck','_tryReconnect','onLocalMutation','getWorkbookSelections','emitEvent','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','max','onTransformRemoteChangesetByIMECache','EMAIL_VERIFY_CODE_MISMATCH','_entityInit$','PERMISSION_DENIED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','online$','NEW_CHANGESETS','MSG_FOR_ERROR','byteLength','randomBytes','UserProfileImg','getImageSourceCache'];_0x4140=function(){return _0x1d326f;};return _0x4140();}let we=class extends _0x2999de{constructor(_0x407967,_0x1be748,_0x1235cf,_0xae9a01,_0x25bf88,_0xd18621){var _0x334b30=_0x3ccb73;super(),D(this,_0x334b30(0xe9),new _0x1b31fe(void 0x0)),D(this,_0x334b30(0x14b),this[_0x334b30(0xe9)][_0x334b30(0x3b3)]()),D(this,'_candidateSocket',null),D(this,_0x334b30(0x314),new Map()),D(this,_0x334b30(0x1e7),new _0x1b31fe(me['IDLE'])),D(this,_0x334b30(0x2ee),this[_0x334b30(0x1e7)][_0x334b30(0x3b3)]()),D(this,_0x334b30(0x303),!0x1),D(this,_0x334b30(0x3a4)),D(this,_0x334b30(0x37d),0x0),D(this,_0x334b30(0x3c0)),D(this,_0x334b30(0x37b)),(this['_injector']=_0x407967,this['_logService']=_0x1be748,this[_0x334b30(0x1cb)]=_0x1235cf,this['_socketService']=_0xae9a01,this[_0x334b30(0x31c)]=_0x25bf88,this[_0x334b30(0x36d)]=_0xd18621,this[_0x334b30(0x220)]());}get[_0x3ccb73(0x194)](){var _0x2dd739=_0x3ccb73;return this[_0x2dd739(0xe9)][_0x2dd739(0x35b)]();}[_0x3ccb73(0x220)](){var _0x18ef25=_0x3ccb73;this[_0x18ef25(0x36d)]&&this[_0x18ef25(0x38f)](this[_0x18ef25(0x36d)][_0x18ef25(0x2b7)][_0x18ef25(0x17d)](_0x1e3883=>{var _0x4923e0=_0x18ef25;_0x1e3883&&!this[_0x4923e0(0x194)]&&this['reconnect'](),_0x1e3883||this[_0x4923e0(0x2e3)]();}));}[_0x3ccb73(0x155)](){var _0x3ad862=_0x3ccb73;super['dispose'](),this[_0x3ad862(0x305)](),this[_0x3ad862(0x11b)](),this[_0x3ad862(0x275)](),this[_0x3ad862(0x314)][_0x3ad862(0x2d3)](_0x5b9c58=>_0x5b9c58[_0x3ad862(0x155)]()),this['_sessions'][_0x3ad862(0x111)](),this[_0x3ad862(0x1e7)][_0x3ad862(0xd9)]();}async[_0x3ccb73(0x13c)](_0x609d40){var _0x3867c7=_0x3ccb73;if(this['_sessions'][_0x3867c7(0x1d7)](_0x609d40))return this[_0x3867c7(0x314)]['get'](_0x609d40);this['_tryEnsureSocket']();const _0x3807a0=this[_0x3867c7(0x20d)][_0x3867c7(0x1d6)](mt,_0x609d40,this['_socket$'][_0x3867c7(0x3b3)]());return this[_0x3867c7(0x314)]['set'](_0x609d40,_0x3807a0),_0x3807a0;}['closeSession'](_0x1124a2){var _0x10e7eb=_0x3ccb73,_0x393dbc;const _0x1d3881=this['_sessions']['get'](_0x1124a2);_0x1d3881&&(this['_sessions'][_0x10e7eb(0x1d9)](_0x1124a2),_0x1d3881['close']()),this['_sessions'][_0x10e7eb(0x283)]||(_0x393dbc=this[_0x10e7eb(0x194)])==null||_0x393dbc[_0x10e7eb(0x31b)]();}[_0x3ccb73(0x2a0)](){var _0x19bfe5=_0x3ccb73;this[_0x19bfe5(0x37d)]=0x0,this[_0x19bfe5(0x305)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x4478bd=_0x3ccb73;this[_0x4478bd(0x3a4)]!=null&&(clearTimeout(this[_0x4478bd(0x3a4)]),this[_0x4478bd(0x3a4)]=null);}async[_0x3ccb73(0x2fb)](){var _0x478064=_0x3ccb73,_0x53d7cc;const _0x20eaf0=this[_0x478064(0x1cb)][_0x478064(0x2c7)](K),_0x1aaf9f=(_0x53d7cc=_0x20eaf0==null?void 0x0:_0x20eaf0[_0x478064(0xeb)])!=null?_0x53d7cc:Es,_0x3ebeb2=await this[_0x478064(0x344)][_0x478064(0x26c)](_0x1aaf9f);return this[_0x478064(0x3c1)]=_0x3ebeb2,_0x3ebeb2;}async[_0x3ccb73(0x30c)](){var _0x4fe5ee=_0x3ccb73,_0x374510,_0x5f2be3;try{const _0x3172ae=(_0x5f2be3=(_0x374510=this['_socket'])!=null?_0x374510:this[_0x4fe5ee(0x3c1)])!=null?_0x5f2be3:await this['_createSocket']();if(_0x3172ae){const _0x2a2957=_0x3172ae[_0x4fe5ee(0x178)];_0x3172ae[_0x4fe5ee(0x178)]=_0xbadd69=>(this[_0x4fe5ee(0x118)](),_0x2a2957['apply'](_0x3172ae,[_0xbadd69])),_0x3172ae[_0x4fe5ee(0x278)]['subscribe'](_0x251c8d=>this[_0x4fe5ee(0x27b)](_0x3172ae,_0x251c8d)),_0x3172ae[_0x4fe5ee(0x291)][_0x4fe5ee(0x369)](_0xcb62af(0x1))[_0x4fe5ee(0x17d)](_0x1aba51=>this[_0x4fe5ee(0x142)][_0x4fe5ee(0x36b)](_0x4fe5ee(0x208),_0x1aba51)),_0x3172ae['open$'][_0x4fe5ee(0x369)](_0xcb62af(0x1))['subscribe'](()=>{var _0x2756b4=_0x4fe5ee;this[_0x2756b4(0x185)](_0x3172ae);}),_0x3172ae[_0x4fe5ee(0x1c1)][_0x4fe5ee(0x369)](_0xcb62af(0x1))[_0x4fe5ee(0x17d)](_0x23d0c9=>{var _0x1050b9=_0x4fe5ee;this[_0x1050b9(0x142)][_0x1050b9(0x3b1)](_0x1050b9(0x317),_0x1050b9(0x336),_0x23d0c9),this[_0x1050b9(0x129)]();});}}catch(_0x59b8ef){this[_0x4fe5ee(0x142)]['error'](_0x59b8ef),this['_onConnectionFailed']();}}[_0x3ccb73(0x185)](_0x148df3){var _0x45e369=_0x3ccb73;this[_0x45e369(0x142)][_0x45e369(0x3b1)]('[CollaborationSessionService]',_0x45e369(0x31f)),_0x148df3[_0x45e369(0x178)]({'cmd':F['HELLO']}),this[_0x45e369(0x118)]();}[_0x3ccb73(0x2e3)](){var _0x336508=_0x3ccb73;this[_0x336508(0x303)]=!0x1,this[_0x336508(0x3c1)]=null,this[_0x336508(0x1e7)][_0x336508(0x182)](me[_0x336508(0x321)]),this['_socket$'][_0x336508(0x182)](null),this[_0x336508(0x11b)](),this['_clearHeartbeatTimer']();}[_0x3ccb73(0x129)](){var _0x8fc74a=_0x3ccb73,_0x27035c;this[_0x8fc74a(0x2e3)](),this[_0x8fc74a(0x37d)]<((_0x27035c=this['_configService'][_0x8fc74a(0x2c7)](gs))!=null?_0x27035c:Ts)?(this['_collaborationUIEventService'][_0x8fc74a(0x2af)]({'id':re['SOCKET_FAILED_RETRY']}),this[_0x8fc74a(0x2ac)]()):this[_0x8fc74a(0x31c)][_0x8fc74a(0x2af)]({'id':re[_0x8fc74a(0x217)]});}['_tryReconnect'](){var _0x29b03b=_0x3ccb73,_0x4afdf0;const _0x26c642=this[_0x29b03b(0x37d)],_0x54dfaa=this[_0x29b03b(0x1cb)][_0x29b03b(0x2c7)](K),_0x118e13=_0x26c642===0x0?0x0:((_0x4afdf0=_0x54dfaa==null?void 0x0:_0x54dfaa[_0x29b03b(0x1fc)])!=null?_0x4afdf0:Ss)*0x2**_0x26c642;this[_0x29b03b(0x3a4)]=setTimeout(()=>{var _0x37f09c=_0x29b03b;clearTimeout(this[_0x37f09c(0x3a4)]),this[_0x37f09c(0x3a4)]=null,this['_tryEnsureSocket']();},_0x118e13),this[_0x29b03b(0x37d)]+=0x1;}[_0x3ccb73(0x27b)](_0x46456d,_0x1c74b4){var _0x4ffff9=_0x3ccb73;const {cmd:_0x212da7}=_0x1c74b4;_0x212da7===F[_0x4ffff9(0x3ae)]&&!this['_socketReady']&&(_0x46456d[_0x4ffff9(0x1df)]=_0x1c74b4[_0x4ffff9(0x213)]['memberID'],this[_0x4ffff9(0xe9)][_0x4ffff9(0x182)](_0x46456d),this['_status$'][_0x4ffff9(0x182)](me[_0x4ffff9(0x337)]),this[_0x4ffff9(0x303)]=!0x0,this[_0x4ffff9(0x3c1)]=null),_0x212da7===F[_0x4ffff9(0x385)]&&this[_0x4ffff9(0x11b)](),this[_0x4ffff9(0x118)]();}['_rescheduleHeartbeat'](){var _0x52b517=_0x3ccb73,_0x27b4a9;this[_0x52b517(0x275)](),this[_0x52b517(0x3c0)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x27b4a9=this['_configService']['getConfig'](ms))!=null?_0x27b4a9:Is);}[_0x3ccb73(0x285)](){var _0x3bd2fa=_0x3ccb73;this[_0x3bd2fa(0x194)][_0x3bd2fa(0x178)]({'cmd':F[_0x3bd2fa(0x385)]}),this[_0x3bd2fa(0x2e0)]();}[_0x3ccb73(0x2e0)](){var _0x19b36c=_0x3ccb73,_0x34d976;this[_0x19b36c(0x37b)]=setTimeout(()=>this[_0x19b36c(0x129)](),(_0x34d976=this[_0x19b36c(0x1cb)][_0x19b36c(0x2c7)](di))!=null?_0x34d976:fi);}['_clearHeartbeatTimer'](){var _0x47b869=_0x3ccb73;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x47b869(0x3c0)]=null);}[_0x3ccb73(0x11b)](){var _0x13e450=_0x3ccb73;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x13e450(0x37b)]=null);}};we=qs([Re(0x0,_0x3c04a9(_0x41d5ef)),Re(0x1,_0x15a52e),Re(0x2,_0x50087d),Re(0x3,Oi),Re(0x4,_0x3c04a9(ve)),Re(0x5,_0x5a83a3(js))],we);var zs=Object[_0x3ccb73(0x29f)],Js=(_0x3f1682,_0x2fe9d6,_0x51ff07,_0x114219)=>{for(var _0x1d8843=_0x114219>0x1?void 0x0:_0x114219?zs(_0x2fe9d6,_0x51ff07):_0x2fe9d6,_0x3793c1=_0x3f1682['length']-0x1,_0x2845ef;_0x3793c1>=0x0;_0x3793c1--)(_0x2845ef=_0x3f1682[_0x3793c1])&&(_0x1d8843=_0x2845ef(_0x1d8843)||_0x1d8843);return _0x1d8843;},Be=(_0x215965,_0x358d52)=>(_0x14af91,_0x5d895e)=>_0x358d52(_0x14af91,_0x5d895e,_0x215965);let nt=class extends _0x4ca438{constructor(_0x50803f,_0x15d1ad,_0x5576f5,_0x27db34){var _0x22270d=_0x3ccb73,_0x4caa85;super(),D(this,_0x22270d(0x22f),new Map()),D(this,_0x22270d(0x2b4),new _0x4a9404()),D(this,_0x22270d(0x380),this['_entityInit$'][_0x22270d(0x3b3)]()),(this[_0x22270d(0x20d)]=_0x50803f,this[_0x22270d(0x381)]=_0x15d1ad,this[_0x22270d(0x1cb)]=_0x5576f5,this[_0x22270d(0x137)]=_0x27db34,((_0x4caa85=this[_0x22270d(0x1cb)][_0x22270d(0x2c7)](K))==null?void 0x0:_0x4caa85[_0x22270d(0x29e)])!==!0x1&&this[_0x22270d(0x124)]());}[_0x3ccb73(0x155)](){var _0x40889b=_0x3ccb73;super[_0x40889b(0x155)](),this[_0x40889b(0x22f)]['forEach'](_0x58b0c2=>_0x58b0c2[_0x40889b(0x155)]()),this[_0x40889b(0x22f)][_0x40889b(0x111)]();}[_0x3ccb73(0x358)](_0x89b8c4){var _0x3d8f07=_0x3ccb73,_0x56bf5e;return(_0x56bf5e=this[_0x3d8f07(0x22f)][_0x3d8f07(0x1ff)](_0x89b8c4))!=null?_0x56bf5e:null;}[_0x3ccb73(0x3c3)](_0x332ffa){var _0x1c8f93=_0x3ccb73;const _0x3bc1c7=this['getCollabEntity'](_0x332ffa);return _0x3bc1c7?_0x5882b2(_0x3bc1c7):this[_0x1c8f93(0x2b4)][_0x1c8f93(0x369)](_0x46652a(_0x2ffa09=>_0x2ffa09[_0x1c8f93(0x14e)]===_0x332ffa));}[_0x3ccb73(0x16b)](_0x1aaae1){var _0x936ddc=_0x3ccb73;return _0x5dd40f(this[_0x936ddc(0x3c3)](_0x1aaae1)[_0x936ddc(0x369)](_0x3f883a(()=>{})));}[_0x3ccb73(0x124)](){var _0x102c21=_0x3ccb73;this[_0x102c21(0x137)][_0x102c21(0xe6)](_0x54cb7d[_0x102c21(0x240)])[_0x102c21(0x369)](_0x20fcb4(this[_0x102c21(0x33e)]),_0xa9c626(0x10))[_0x102c21(0x17d)](async _0x2a79aa=>{var _0x28ef01=_0x102c21;const _0x1b65ac=_0x2a79aa[_0x28ef01(0x11e)](),_0x2b86c6=await this['_startCollaboration'](_0x1b65ac,Q['UNIVER_SHEET']);this[_0x28ef01(0x22f)][_0x28ef01(0x144)](_0x1b65ac,_0x2b86c6);}),this[_0x102c21(0x137)][_0x102c21(0xe6)](_0x54cb7d[_0x102c21(0x21e)])[_0x102c21(0x369)](_0x20fcb4(this[_0x102c21(0x33e)]),_0xa9c626(0x10))[_0x102c21(0x369)](_0x46652a(_0xe210ed=>!_0xe210ed[_0x102c21(0x11e)]()[_0x102c21(0x2e5)]('__')))[_0x102c21(0x17d)](async _0x13a055=>{var _0x2e729c=_0x102c21;const _0x4951ed=_0x13a055['getUnitId'](),_0x3834ca=await this['_startCollaboration'](_0x4951ed,Q[_0x2e729c(0x21e)]);this[_0x2e729c(0x22f)]['set'](_0x4951ed,_0x3834ca);}),_0x4ce4e8(this[_0x102c21(0x137)]['getTypeOfUnitDisposed$'](_0x54cb7d[_0x102c21(0x240)]),this[_0x102c21(0x137)][_0x102c21(0x132)](_0x54cb7d['UNIVER_DOC']))['pipe'](_0x20fcb4(this[_0x102c21(0x33e)]))[_0x102c21(0x17d)](_0x2d548c=>{var _0x288ac4=_0x102c21;const _0x5b2086=_0x2d548c[_0x288ac4(0x11e)](),_0x26f205=this['_entities'][_0x288ac4(0x1ff)](_0x5b2086);_0x26f205&&(_0x26f205[_0x288ac4(0x155)](),this[_0x288ac4(0x22f)][_0x288ac4(0x1d9)](_0x5b2086));});}async[_0x3ccb73(0x2aa)](_0x2c9b68,_0x592b04){var _0x3a2679=_0x3ccb73;const _0x569007=await this[_0x3a2679(0x381)][_0x3a2679(0x13c)](_0x2c9b68),_0x374a77=this[_0x3a2679(0x20d)][_0x3a2679(0x1d6)](this[_0x3a2679(0x140)](_0x592b04),_0x2c9b68,_0x592b04,_0x569007);return await _0x374a77[_0x3a2679(0x3a6)](),this[_0x3a2679(0x2b4)][_0x3a2679(0x182)](_0x374a77),_0x374a77;}[_0x3ccb73(0x140)](_0x199db2){var _0x1e4cf4=_0x3ccb73;switch(_0x199db2){case Q[_0x1e4cf4(0x21e)]:return It;case Q[_0x1e4cf4(0x240)]:return St;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x199db2);}}};nt=Js([Be(0x0,_0x3c04a9(_0x41d5ef)),Be(0x1,_0x3c04a9(we)),Be(0x2,_0x50087d),Be(0x3,_0x390299)],nt);var Xs=Object[_0x3ccb73(0x29f)],Zs=(_0x356ded,_0xe649c2,_0xb7d0c9,_0x2f601f)=>{var _0x3d5768=_0x3ccb73;for(var _0x4c2694=_0x2f601f>0x1?void 0x0:_0x2f601f?Xs(_0xe649c2,_0xb7d0c9):_0xe649c2,_0x31f721=_0x356ded[_0x3d5768(0xec)]-0x1,_0xf58362;_0x31f721>=0x0;_0x31f721--)(_0xf58362=_0x356ded[_0x31f721])&&(_0x4c2694=_0xf58362(_0x4c2694)||_0x4c2694);return _0x4c2694;},Yt=(_0x23ace5,_0x5d6f10)=>(_0x1564a8,_0x5d2cb8)=>_0x5d6f10(_0x1564a8,_0x5d2cb8,_0x23ace5);const Qs=_0x3ccb73(0xe1),en='Univer';let gt=class extends _0x2999de{constructor(_0x4648ed,_0x5759c7){var _0x28ee95=_0x3ccb73;super(),this[_0x28ee95(0x137)]=_0x4648ed,this[_0x28ee95(0x1cb)]=_0x5759c7,this[_0x28ee95(0x124)]();}[_0x3ccb73(0x124)](){var _0xdee69d=_0x3ccb73;this[_0xdee69d(0x38f)](this[_0xdee69d(0x137)][_0xdee69d(0x2d9)][_0xdee69d(0x17d)](()=>{var _0x263c5e=_0xdee69d,_0x7409cb;const _0x4c88b9=this[_0x263c5e(0x137)]['getFocusedUnit']();let _0x4c4767=(_0x7409cb=this[_0x263c5e(0x1cb)][_0x263c5e(0x2c7)](Qs))!=null?_0x7409cb:en;_0x4c88b9 instanceof _0x38e02d&&(_0x4c4767=_0x4c88b9['name']),document[_0x263c5e(0x322)]=_0x4c4767;}));}};gt=Zs([Yt(0x0,_0x390299),Yt(0x1,_0x50087d)],gt);var tn=Object[_0x3ccb73(0x29f)],sn=(_0x5c3a17,_0x3142e6,_0x172e98,_0x3ee9b5)=>{for(var _0x21df62=_0x3ee9b5>0x1?void 0x0:_0x3ee9b5?tn(_0x3142e6,_0x172e98):_0x3142e6,_0x118647=_0x5c3a17['length']-0x1,_0x52b747;_0x118647>=0x0;_0x118647--)(_0x52b747=_0x5c3a17[_0x118647])&&(_0x21df62=_0x52b747(_0x21df62)||_0x21df62);return _0x21df62;},dt=(_0x577847,_0x2bb11e)=>(_0x5d52bb,_0x5e304e)=>_0x2bb11e(_0x5d52bb,_0x5e304e,_0x577847);let rt=class{constructor(_0x5308f1,_0x45fb46,_0x1f8acb){var _0x2ccb51=_0x3ccb73;this[_0x2ccb51(0x1cb)]=_0x5308f1,this['_httpService']=_0x45fb46,this[_0x2ccb51(0x146)]=_0x1f8acb,this[_0x2ccb51(0x3a6)]();}['init'](){var _0x1c1895=_0x3ccb73;this[_0x1c1895(0x203)][_0x1c1895(0x1fb)]({'priority':0x1,'interceptor':(_0x14ee79,_0x542977)=>_0x542977(_0x14ee79)[_0x1c1895(0x369)](_0x4abcab(async _0x136522=>{var _0x2de6e1=_0x1c1895;const _0x3a62c8=_0x136522;if(_0x3a62c8[_0x2de6e1(0x323)]===0x191){if(typeof window>'u')throw new Error(_0x2de6e1(0x356));if(window[_0x2de6e1(0x2d7)](this[_0x2de6e1(0x146)]['t']('auth.needGotoLoginAlert'))){const _0x1e708a=window[_0x2de6e1(0x298)](window[_0x2de6e1(0x2e7)][_0x2de6e1(0x251)]);window[_0x2de6e1(0x2e7)][_0x2de6e1(0x251)]=this['_getLoginPath']()+_0x2de6e1(0x168)+_0x1e708a;}}return _0x3a62c8;}))});}[_0x3ccb73(0xdb)](){var _0x3098a=_0x3ccb73,_0x4b83fd;const _0xfe6bd8=this[_0x3098a(0x1cb)]['getConfig'](K);return(_0x4b83fd=_0xfe6bd8==null?void 0x0:_0xfe6bd8['loginUrlKey'])!=null?_0x4b83fd:Rs;}};rt=sn([dt(0x0,_0x50087d),dt(0x1,_0x3c04a9(_0x28ea36)),dt(0x2,_0x3c04a9(_0x28fba6))],rt);var nn=Object[_0x3ccb73(0x29f)],rn=(_0x2ceeae,_0x54f76a,_0x16f3f2,_0x13423b)=>{var _0x4144a9=_0x3ccb73;for(var _0x8fe4ef=_0x13423b>0x1?void 0x0:_0x13423b?nn(_0x54f76a,_0x16f3f2):_0x54f76a,_0x3cf7ad=_0x2ceeae[_0x4144a9(0xec)]-0x1,_0x2c2199;_0x3cf7ad>=0x0;_0x3cf7ad--)(_0x2c2199=_0x2ceeae[_0x3cf7ad])&&(_0x8fe4ef=_0x2c2199(_0x8fe4ef)||_0x8fe4ef);return _0x8fe4ef;},Kt=(_0x12e96c,_0x2d8cb0)=>(_0x3beb81,_0x584ee7)=>_0x2d8cb0(_0x3beb81,_0x584ee7,_0x12e96c);const an=_0x3ccb73(0x15a);let Tt=class extends _0x2999de{constructor(_0x436103,_0x3261f8){var _0xaf6386=_0x3ccb73;super(),this[_0xaf6386(0xc8)]=_0x436103,this[_0xaf6386(0x1cb)]=_0x3261f8,this['_initMergeInterceptor']();}[_0x3ccb73(0x15c)](){var _0x198fae=_0x3ccb73;const _0xe95fb7=this;this[_0x198fae(0x38f)](this[_0x198fae(0xc8)][_0x198fae(0x1fb)]({'priority':0x3e7,'interceptor':_0x164213({'isMatch'(_0xb689e6){var _0x1662e0=_0x198fae,_0x9db433;if(_0xb689e6[_0x1662e0(0x22c)]===_0x1662e0(0x1ae)&&((_0x9db433=_0xb689e6[_0x1662e0(0x288)])!=null&&_0x9db433[_0x1662e0(0x1d0)])){const {objectID:_0x1ba236,objectType:_0x121b77}=_0xb689e6[_0x1662e0(0x288)][_0x1662e0(0x1d0)]||{};if(!_0x1ba236||_0x121b77===void 0x0)return!0x1;const _0x2670d0=_0xe95fb7[_0x1662e0(0x18b)]()+'/'+_0x121b77+_0x1662e0(0xf6)+_0x1ba236+'/allowed';if(_0xb689e6[_0x1662e0(0x349)]===_0x2670d0)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4ddffc){var _0x44f526=_0x198fae,_0x3a80d3;return(_0x3a80d3=_0x4ddffc[_0x44f526(0x288)])==null?void 0x0:_0x3a80d3[_0x44f526(0x1d0)];},'mergeParamsToRequest'(_0x495971,_0x17a69c){var _0xa7f270=_0x198fae;const _0x106e7c=_0xe95fb7[_0xa7f270(0x18b)]()+_0xa7f270(0x395),_0x1f53e5=_0x495971[_0xa7f270(0x3a7)]((_0x21ee9e,_0x35bd2f)=>{var _0xe3ce54=_0xa7f270;const {unitID:_0x1be9f2,objectID:_0x32afb7,objectType:_0x38f5ee,actions:_0x328c1d}=_0x35bd2f;return _0x21ee9e[_0x1be9f2]||(_0x21ee9e[_0x1be9f2]={}),_0x21ee9e[_0x1be9f2][_0x32afb7]||(_0x21ee9e[_0x1be9f2][_0x32afb7]={'objectID':_0x32afb7,'objectType':_0x38f5ee,'actions':[]}),_0x21ee9e[_0x1be9f2][_0x32afb7][_0xe3ce54(0x184)][_0xe3ce54(0x37e)](..._0x328c1d),_0x21ee9e;},{}),_0x1ab95d=[];for(const _0x584a96 in _0x1f53e5)for(const _0x2bb0f3 in _0x1f53e5[_0x584a96]){const {actions:_0x467a43,objectType:_0x1cacbd}=_0x1f53e5[_0x584a96][_0x2bb0f3],_0x92a8ab=[...new Set(_0x467a43)];_0x1ab95d[_0xa7f270(0x37e)]({'unitID':_0x584a96,'objectID':_0x2bb0f3,'objectType':_0x1cacbd,'actions':_0x92a8ab});}return new _0x3e97ff(_0xa7f270(0x1ae),_0x106e7c,{'headers':_0x17a69c[_0xa7f270(0x253)],'withCredentials':_0x17a69c[_0xa7f270(0x390)],'responseType':_0x17a69c['responseType'],'body':{'requests':_0x1ab95d}});}},{'distributeResult'(_0x2ec067,_0x366c3d){var _0x41a0a6=_0x198fae;const {objectActions:_0x34483d}=_0x2ec067;return _0x366c3d[_0x41a0a6(0x1bf)](_0x39c7c4=>{var _0xc70ece=_0x41a0a6;const {unitID:_0x2d2ed9,objectID:_0x2ac698,actions:_0x5b79d4}=_0x39c7c4,_0xe1afdf=_0x34483d['find'](_0x42f337=>_0x42f337[_0xc70ece(0x14e)]===_0x2d2ed9&&_0x42f337[_0xc70ece(0x156)]===_0x2ac698),_0x5aad47=_0x5b79d4[_0xc70ece(0x1bf)](_0x4fb964=>_0xe1afdf==null?void 0x0:_0xe1afdf[_0xc70ece(0x184)]['find'](_0x4ab7a9=>_0x4ab7a9[_0xc70ece(0x306)]===_0x4fb964))[_0xc70ece(0x159)](_0x35fbb4=>!!_0x35fbb4);return{'config':_0x39c7c4,'result':{'actions':_0x5aad47,'error':_0x2ec067[_0xc70ece(0x36b)]}};});}})}));}[_0x3ccb73(0x18b)](){var _0x23020a=_0x3ccb73,_0x2538cc;const _0x5ad6fd=this[_0x23020a(0x1cb)][_0x23020a(0x2c7)](K);return(_0x2538cc=_0x5ad6fd==null?void 0x0:_0x5ad6fd[_0x23020a(0x210)])!=null?_0x2538cc:an;}async['create'](_0x49f4d4){var _0x3cd016=_0x3ccb73;const _0x5067b0=this[_0x3cd016(0x18b)]()+'/'+_0x49f4d4[_0x3cd016(0x2cb)]+_0x3cd016(0x1ab);return(await this[_0x3cd016(0xc8)][_0x3cd016(0x18d)](_0x5067b0,{'body':_0x49f4d4}))['body']['objectID']||'';}async[_0x3ccb73(0x2d8)](_0xf262b8){var _0x44accc=_0x3ccb73;const _0x52a394=this[_0x44accc(0x18b)]()+_0x44accc(0x1bd);return(await this[_0x44accc(0xc8)][_0x44accc(0x18d)](_0x52a394,{'body':_0xf262b8}))['body'][_0x44accc(0x165)];}async[_0x3ccb73(0x28f)](_0x290b3d){var _0x97ad88=_0x3ccb73,_0xe8bce6,_0x3f2128;const _0x32dd45=this['_getAPIPrefixPath']()+'/'+_0x290b3d['objectType']+_0x97ad88(0xf6)+_0x290b3d[_0x97ad88(0x156)],_0x460cc9=await this[_0x97ad88(0xc8)][_0x97ad88(0x3a1)](_0x32dd45,{'body':_0x290b3d});if(((_0x3f2128=(_0xe8bce6=_0x460cc9==null?void 0x0:_0x460cc9['body'])==null?void 0x0:_0xe8bce6[_0x97ad88(0x36b)])==null?void 0x0:_0x3f2128['code'])!==0x1)throw new Error(_0x97ad88(0x36c));}async[_0x3ccb73(0x293)](_0x24f3ef){var _0x3de613=_0x3ccb73;const _0x500a35=this[_0x3de613(0x18b)]()+'/'+_0x24f3ef['objectType']+'/object/'+_0x24f3ef[_0x3de613(0x156)]+_0x3de613(0x363);return(await this[_0x3de613(0xc8)]['post'](_0x500a35,{'body':_0x24f3ef}))[_0x3de613(0x1d0)][_0x3de613(0x184)];}async[_0x3ccb73(0x257)](_0x59f64c){var _0x8ea84=_0x3ccb73;const _0x251d8c=this[_0x8ea84(0x18b)]()+_0x8ea84(0x395);return(await this[_0x8ea84(0xc8)][_0x8ea84(0x18d)](_0x251d8c,{'body':{'requests':_0x59f64c}}))[_0x8ea84(0x1d0)][_0x8ea84(0x359)];}async['listRoles'](_0x2fdef2){var _0x16bc38=_0x3ccb73;const _0x46d76b=this[_0x16bc38(0x18b)]()+'/'+_0x2fdef2[_0x16bc38(0x2cb)]+_0x16bc38(0x199),_0x135810=await this[_0x16bc38(0xc8)][_0x16bc38(0x18d)](_0x46d76b,{'body':_0x2fdef2});return{'roles':_0x135810[_0x16bc38(0x1d0)][_0x16bc38(0xf3)],'actions':_0x135810[_0x16bc38(0x1d0)][_0x16bc38(0x184)]};}async['deleteCollaborator'](_0x49526e){var _0x5aa4a5=_0x3ccb73;const _0x26579d=this[_0x5aa4a5(0x18b)]()+'/collaborator';await this[_0x5aa4a5(0xc8)]['delete'](_0x26579d,{'params':{'collaboratorID':_0x49526e[_0x5aa4a5(0x13b)],'objectID':_0x49526e['objectID'],'unitID':_0x49526e[_0x5aa4a5(0x14e)]}});}async['updateCollaborator'](_0x316cb3){var _0x516f2b=_0x3ccb73;const _0x58ca3c=this[_0x516f2b(0x18b)]()+'/collaborator';await this['_HTTPService'][_0x516f2b(0x3c8)](_0x58ca3c,{'body':_0x316cb3});}async[_0x3ccb73(0x2f7)](_0x2f3d8a){var _0x386703=_0x3ccb73;const _0x3413b0=this[_0x386703(0x18b)]()+'/collaborator';await this[_0x386703(0xc8)][_0x386703(0x18d)](_0x3413b0,{'body':_0x2f3d8a});}async[_0x3ccb73(0x1a8)](_0x4449ef){var _0x942179=_0x3ccb73;const _0x5a21b1=this[_0x942179(0x18b)]()+_0x942179(0x108);return(await this['_HTTPService'][_0x942179(0x1ff)](_0x5a21b1,{'params':{'objectID':_0x4449ef[_0x942179(0x156)],'unitID':_0x4449ef[_0x942179(0x14e)]}}))['body'][_0x942179(0x197)];}async[_0x3ccb73(0x2be)](_0x48d16f){var _0x2bab09=_0x3ccb73;const _0x4c8674=this[_0x2bab09(0x18b)]()+_0x2bab09(0x108);await this[_0x2bab09(0xc8)][_0x2bab09(0x3a1)](_0x4c8674,{'body':_0x48d16f});}};Tt=rn([Kt(0x0,_0x3c04a9(_0x28ea36)),Kt(0x1,_0x3c04a9(_0x50087d))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x471fa0){var _0x1cd2d7=_0x3ccb73;return _0x471fa0&&_0x471fa0[_0x1cd2d7(0x282)]&&Object[_0x1cd2d7(0x299)][_0x1cd2d7(0x131)]['call'](_0x471fa0,_0x1cd2d7(0xcd))?_0x471fa0[_0x1cd2d7(0xcd)]:_0x471fa0;}var Ve={'exports':{}};function on(_0x5365c2){var _0x3c61cf=_0x3ccb73;throw new Error(_0x3c61cf(0x128)+_0x5365c2+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},cn=Ge[_0x3ccb73(0x1fd)],qt;function ie(){var _0x8bdbd=_0x3ccb73;return qt||(qt=0x1,function(_0x3d5d27,_0x3b2930){(function(_0x5a41d9,_0x10179e){_0x3d5d27['exports']=_0x10179e();}(cn,function(){var _0x13e411=_0x13e411||function(_0x447753,_0x50b7b2){var _0x516eee=_0x89c5,_0x4d3eda;if(typeof window<'u'&&window['crypto']&&(_0x4d3eda=window[_0x516eee(0x1f9)]),typeof self<'u'&&self[_0x516eee(0x1f9)]&&(_0x4d3eda=self[_0x516eee(0x1f9)]),typeof globalThis<'u'&&globalThis[_0x516eee(0x1f9)]&&(_0x4d3eda=globalThis[_0x516eee(0x1f9)]),!_0x4d3eda&&typeof window<'u'&&window[_0x516eee(0x329)]&&(_0x4d3eda=window[_0x516eee(0x329)]),!_0x4d3eda&&typeof ft<'u'&&ft['crypto']&&(_0x4d3eda=ft[_0x516eee(0x1f9)]),!_0x4d3eda&&typeof on=='function')try{_0x4d3eda=require('crypto');}catch{}var _0x323c22=function(){var _0xe99dfe=_0x516eee;if(_0x4d3eda){if(typeof _0x4d3eda[_0xe99dfe(0x243)]==_0xe99dfe(0x205))try{return _0x4d3eda[_0xe99dfe(0x243)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4d3eda[_0xe99dfe(0x2bb)]==_0xe99dfe(0x205))try{return _0x4d3eda['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x44444d=Object[_0x516eee(0x206)]||(function(){function _0x404b1e(){}return function(_0x262f82){var _0x2706a8=_0x89c5,_0x1f02a9;return _0x404b1e['prototype']=_0x262f82,_0x1f02a9=new _0x404b1e(),_0x404b1e[_0x2706a8(0x299)]=null,_0x1f02a9;};}()),_0x32faf5={},_0x54fdd6=_0x32faf5['lib']={},_0x1b97f5=_0x54fdd6[_0x516eee(0x379)]=(function(){return{'extend':function(_0x3bb92d){var _0x2369bf=_0x89c5,_0x4e6e91=_0x44444d(this);return _0x3bb92d&&_0x4e6e91[_0x2369bf(0xc9)](_0x3bb92d),(!_0x4e6e91['hasOwnProperty'](_0x2369bf(0x3a6))||this[_0x2369bf(0x3a6)]===_0x4e6e91['init'])&&(_0x4e6e91[_0x2369bf(0x3a6)]=function(){var _0x3bda6c=_0x2369bf;_0x4e6e91[_0x3bda6c(0x29a)][_0x3bda6c(0x3a6)][_0x3bda6c(0x2c3)](this,arguments);}),_0x4e6e91[_0x2369bf(0x3a6)]['prototype']=_0x4e6e91,_0x4e6e91[_0x2369bf(0x29a)]=this,_0x4e6e91;},'create':function(){var _0x458603=_0x89c5,_0xb5d44d=this[_0x458603(0x38a)]();return _0xb5d44d['init'][_0x458603(0x2c3)](_0xb5d44d,arguments),_0xb5d44d;},'init':function(){},'mixIn':function(_0x231e75){var _0x503f88=_0x89c5;for(var _0x285a60 in _0x231e75)_0x231e75[_0x503f88(0x131)](_0x285a60)&&(this[_0x285a60]=_0x231e75[_0x285a60]);_0x231e75[_0x503f88(0x131)](_0x503f88(0x1be))&&(this['toString']=_0x231e75['toString']);},'clone':function(){var _0x23dd1a=_0x89c5;return this['init'][_0x23dd1a(0x299)][_0x23dd1a(0x38a)](this);}};}()),_0x209ffc=_0x54fdd6[_0x516eee(0xcc)]=_0x1b97f5[_0x516eee(0x38a)]({'init':function(_0x2b3386,_0x4a65bb){var _0x5aee88=_0x516eee;_0x2b3386=this[_0x5aee88(0x151)]=_0x2b3386||[],_0x4a65bb!=_0x50b7b2?this[_0x5aee88(0x233)]=_0x4a65bb:this[_0x5aee88(0x233)]=_0x2b3386[_0x5aee88(0xec)]*0x4;},'toString':function(_0x5dc2e3){var _0x54a8b9=_0x516eee;return(_0x5dc2e3||_0x4a994f)[_0x54a8b9(0xf9)](this);},'concat':function(_0x23d601){var _0xeaa03e=_0x516eee,_0x3e010d=this[_0xeaa03e(0x151)],_0x2760e1=_0x23d601[_0xeaa03e(0x151)],_0x47a423=this['sigBytes'],_0x5e5fb9=_0x23d601[_0xeaa03e(0x233)];if(this['clamp'](),_0x47a423%0x4)for(var _0xaeda06=0x0;_0xaeda06<_0x5e5fb9;_0xaeda06++){var _0x2862fa=_0x2760e1[_0xaeda06>>>0x2]>>>0x18-_0xaeda06%0x4*0x8&0xff;_0x3e010d[_0x47a423+_0xaeda06>>>0x2]|=_0x2862fa<<0x18-(_0x47a423+_0xaeda06)%0x4*0x8;}else{for(var _0x51091e=0x0;_0x51091e<_0x5e5fb9;_0x51091e+=0x4)_0x3e010d[_0x47a423+_0x51091e>>>0x2]=_0x2760e1[_0x51091e>>>0x2];}return this['sigBytes']+=_0x5e5fb9,this;},'clamp':function(){var _0x490e3c=_0x516eee,_0x562e69=this[_0x490e3c(0x151)],_0x23d281=this[_0x490e3c(0x233)];_0x562e69[_0x23d281>>>0x2]&=0xffffffff<<0x20-_0x23d281%0x4*0x8,_0x562e69[_0x490e3c(0xec)]=_0x447753[_0x490e3c(0x26d)](_0x23d281/0x4);},'clone':function(){var _0x2e7629=_0x516eee,_0x491c1c=_0x1b97f5['clone'][_0x2e7629(0x183)](this);return _0x491c1c['words']=this[_0x2e7629(0x151)]['slice'](0x0),_0x491c1c;},'random':function(_0x2fa3f4){var _0x5755d9=_0x516eee;for(var _0xe86679=[],_0x4bf660=0x0;_0x4bf660<_0x2fa3f4;_0x4bf660+=0x4)_0xe86679['push'](_0x323c22());return new _0x209ffc[(_0x5755d9(0x3a6))](_0xe86679,_0x2fa3f4);}}),_0x8c028=_0x32faf5[_0x516eee(0x249)]={},_0x4a994f=_0x8c028[_0x516eee(0x113)]={'stringify':function(_0x41aa2d){var _0x4bc5e0=_0x516eee;for(var _0x4e5fb1=_0x41aa2d[_0x4bc5e0(0x151)],_0x2265cb=_0x41aa2d[_0x4bc5e0(0x233)],_0x505a93=[],_0x4c7214=0x0;_0x4c7214<_0x2265cb;_0x4c7214++){var _0x244c29=_0x4e5fb1[_0x4c7214>>>0x2]>>>0x18-_0x4c7214%0x4*0x8&0xff;_0x505a93[_0x4bc5e0(0x37e)]((_0x244c29>>>0x4)[_0x4bc5e0(0x1be)](0x10)),_0x505a93[_0x4bc5e0(0x37e)]((_0x244c29&0xf)[_0x4bc5e0(0x1be)](0x10));}return _0x505a93[_0x4bc5e0(0x1f8)]('');},'parse':function(_0x13f23a){var _0x59bed9=_0x516eee;for(var _0x39a585=_0x13f23a[_0x59bed9(0xec)],_0x2891f3=[],_0x52f9db=0x0;_0x52f9db<_0x39a585;_0x52f9db+=0x2)_0x2891f3[_0x52f9db>>>0x3]|=parseInt(_0x13f23a['substr'](_0x52f9db,0x2),0x10)<<0x18-_0x52f9db%0x8*0x4;return new _0x209ffc[(_0x59bed9(0x3a6))](_0x2891f3,_0x39a585/0x2);}},_0x4c49e3=_0x8c028[_0x516eee(0x320)]={'stringify':function(_0x7508a5){var _0x9719a=_0x516eee;for(var _0x1b1272=_0x7508a5[_0x9719a(0x151)],_0x4b6c6f=_0x7508a5[_0x9719a(0x233)],_0x4d2506=[],_0x288853=0x0;_0x288853<_0x4b6c6f;_0x288853++){var _0x49ba96=_0x1b1272[_0x288853>>>0x2]>>>0x18-_0x288853%0x4*0x8&0xff;_0x4d2506[_0x9719a(0x37e)](String['fromCharCode'](_0x49ba96));}return _0x4d2506['join']('');},'parse':function(_0x4826d2){var _0x4d0a60=_0x516eee;for(var _0x374f91=_0x4826d2[_0x4d0a60(0xec)],_0x21f0ea=[],_0x5ca4b3=0x0;_0x5ca4b3<_0x374f91;_0x5ca4b3++)_0x21f0ea[_0x5ca4b3>>>0x2]|=(_0x4826d2[_0x4d0a60(0x15b)](_0x5ca4b3)&0xff)<<0x18-_0x5ca4b3%0x4*0x8;return new _0x209ffc[(_0x4d0a60(0x3a6))](_0x21f0ea,_0x374f91);}},_0x549413=_0x8c028[_0x516eee(0x10c)]={'stringify':function(_0x4822c9){var _0x4e7101=_0x516eee;try{return decodeURIComponent(escape(_0x4c49e3[_0x4e7101(0xf9)](_0x4822c9)));}catch{throw new Error(_0x4e7101(0x1dc));}},'parse':function(_0x3f3b49){return _0x4c49e3['parse'](unescape(encodeURIComponent(_0x3f3b49)));}},_0x162e73=_0x54fdd6[_0x516eee(0x211)]=_0x1b97f5[_0x516eee(0x38a)]({'reset':function(){var _0x1a4728=_0x516eee;this[_0x1a4728(0x200)]=new _0x209ffc[(_0x1a4728(0x3a6))](),this['_nDataBytes']=0x0;},'_append':function(_0xca4dd6){var _0x1992b3=_0x516eee;typeof _0xca4dd6==_0x1992b3(0x161)&&(_0xca4dd6=_0x549413[_0x1992b3(0x189)](_0xca4dd6)),this['_data']['concat'](_0xca4dd6),this[_0x1992b3(0x1ed)]+=_0xca4dd6[_0x1992b3(0x233)];},'_process':function(_0x96f1c9){var _0x3d5a9f=_0x516eee,_0x1b18da,_0x219d0d=this['_data'],_0x2803e7=_0x219d0d['words'],_0x539457=_0x219d0d['sigBytes'],_0x1a91ca=this[_0x3d5a9f(0x39a)],_0x275d3b=_0x1a91ca*0x4,_0x1df312=_0x539457/_0x275d3b;_0x96f1c9?_0x1df312=_0x447753['ceil'](_0x1df312):_0x1df312=_0x447753[_0x3d5a9f(0x2b1)]((_0x1df312|0x0)-this[_0x3d5a9f(0x1c2)],0x0);var _0x35c3de=_0x1df312*_0x1a91ca,_0x493e4a=_0x447753[_0x3d5a9f(0x172)](_0x35c3de*0x4,_0x539457);if(_0x35c3de){for(var _0x20e9c2=0x0;_0x20e9c2<_0x35c3de;_0x20e9c2+=_0x1a91ca)this[_0x3d5a9f(0x2a9)](_0x2803e7,_0x20e9c2);_0x1b18da=_0x2803e7[_0x3d5a9f(0x27a)](0x0,_0x35c3de),_0x219d0d[_0x3d5a9f(0x233)]-=_0x493e4a;}return new _0x209ffc[(_0x3d5a9f(0x3a6))](_0x1b18da,_0x493e4a);},'clone':function(){var _0x5ae3f9=_0x516eee,_0x3de518=_0x1b97f5['clone'][_0x5ae3f9(0x183)](this);return _0x3de518[_0x5ae3f9(0x200)]=this[_0x5ae3f9(0x200)][_0x5ae3f9(0x23a)](),_0x3de518;},'_minBufferSize':0x0});_0x54fdd6[_0x516eee(0x1c9)]=_0x162e73['extend']({'cfg':_0x1b97f5[_0x516eee(0x38a)](),'init':function(_0x572b93){var _0x3af78d=_0x516eee;this[_0x3af78d(0xff)]=this[_0x3af78d(0xff)][_0x3af78d(0x38a)](_0x572b93),this[_0x3af78d(0xdf)]();},'reset':function(){var _0x41f2cd=_0x516eee;_0x162e73[_0x41f2cd(0xdf)]['call'](this),this[_0x41f2cd(0x15e)]();},'update':function(_0x49bfb9){var _0x1e5cdb=_0x516eee;return this[_0x1e5cdb(0xef)](_0x49bfb9),this[_0x1e5cdb(0x348)](),this;},'finalize':function(_0x229a29){var _0x4e6a27=_0x516eee;_0x229a29&&this['_append'](_0x229a29);var _0x37c42e=this[_0x4e6a27(0x3cc)]();return _0x37c42e;},'blockSize':0x10,'_createHelper':function(_0x534d9b){return function(_0x27df96,_0x5c96a7){var _0x46fd82=_0x89c5;return new _0x534d9b['init'](_0x5c96a7)[_0x46fd82(0x14a)](_0x27df96);};},'_createHmacHelper':function(_0x16baef){return function(_0x1614c3,_0x5add27){var _0xf7e891=_0x89c5;return new _0xc5cd7['HMAC'][(_0xf7e891(0x3a6))](_0x16baef,_0x5add27)['finalize'](_0x1614c3);};}});var _0xc5cd7=_0x32faf5[_0x516eee(0x1f0)]={};return _0x32faf5;}(Math);return _0x13e411;}));}(Ge)),Ge[_0x8bdbd(0x1fd)];}var We={'exports':{}},_n=We[_0x3ccb73(0x1fd)],zt;function Ri(){var _0x4cb05e=_0x3ccb73;return zt||(zt=0x1,function(_0x4b62ad,_0x4d62f5){(function(_0x18ac58,_0x277ff8){var _0x4bb450=_0x89c5;_0x4b62ad[_0x4bb450(0x1fd)]=_0x277ff8(ie());}(_n,function(_0xe63296){var _0x3e8bd6=_0x89c5;return(function(){var _0x5e7b30=_0x89c5,_0x5a62b0=_0xe63296,_0x22c778=_0x5a62b0['lib'],_0x5bfa17=_0x22c778[_0x5e7b30(0xcc)],_0x4eed67=_0x5a62b0[_0x5e7b30(0x249)];_0x4eed67[_0x5e7b30(0x1da)]={'stringify':function(_0x27141c){var _0x539204=_0x5e7b30,_0x5eec4d=_0x27141c[_0x539204(0x151)],_0x2454e4=_0x27141c[_0x539204(0x233)],_0x282d52=this[_0x539204(0x364)];_0x27141c[_0x539204(0x226)]();for(var _0x2a75f0=[],_0x3c06e7=0x0;_0x3c06e7<_0x2454e4;_0x3c06e7+=0x3)for(var _0x56bd62=_0x5eec4d[_0x3c06e7>>>0x2]>>>0x18-_0x3c06e7%0x4*0x8&0xff,_0x498e5e=_0x5eec4d[_0x3c06e7+0x1>>>0x2]>>>0x18-(_0x3c06e7+0x1)%0x4*0x8&0xff,_0x1777b7=_0x5eec4d[_0x3c06e7+0x2>>>0x2]>>>0x18-(_0x3c06e7+0x2)%0x4*0x8&0xff,_0x410b49=_0x56bd62<<0x10|_0x498e5e<<0x8|_0x1777b7,_0x40f517=0x0;_0x40f517<0x4&&_0x3c06e7+_0x40f517*0.75<_0x2454e4;_0x40f517++)_0x2a75f0[_0x539204(0x37e)](_0x282d52[_0x539204(0x160)](_0x410b49>>>0x6*(0x3-_0x40f517)&0x3f));var _0x191fd3=_0x282d52[_0x539204(0x160)](0x40);if(_0x191fd3){for(;_0x2a75f0[_0x539204(0xec)]%0x4;)_0x2a75f0['push'](_0x191fd3);}return _0x2a75f0[_0x539204(0x1f8)]('');},'parse':function(_0x4b5ded){var _0x119a63=_0x5e7b30,_0x4bd906=_0x4b5ded['length'],_0x2d8cf4=this['_map'],_0x4bee07=this[_0x119a63(0x36f)];if(!_0x4bee07){_0x4bee07=this[_0x119a63(0x36f)]=[];for(var _0x2f249e=0x0;_0x2f249e<_0x2d8cf4[_0x119a63(0xec)];_0x2f249e++)_0x4bee07[_0x2d8cf4['charCodeAt'](_0x2f249e)]=_0x2f249e;}var _0x1689dd=_0x2d8cf4[_0x119a63(0x160)](0x40);if(_0x1689dd){var _0x2b6d16=_0x4b5ded[_0x119a63(0x18a)](_0x1689dd);_0x2b6d16!==-0x1&&(_0x4bd906=_0x2b6d16);}return _0x3f83b4(_0x4b5ded,_0x4bd906,_0x4bee07);},'_map':_0x5e7b30(0x2cd)};function _0x3f83b4(_0x1ff43d,_0x37eced,_0x4f37b8){var _0x2a0e22=_0x5e7b30;for(var _0x398baf=[],_0x5092b1=0x0,_0x33a63b=0x0;_0x33a63b<_0x37eced;_0x33a63b++)if(_0x33a63b%0x4){var _0x2761ef=_0x4f37b8[_0x1ff43d[_0x2a0e22(0x15b)](_0x33a63b-0x1)]<<_0x33a63b%0x4*0x2,_0x461685=_0x4f37b8[_0x1ff43d[_0x2a0e22(0x15b)](_0x33a63b)]>>>0x6-_0x33a63b%0x4*0x2,_0x267450=_0x2761ef|_0x461685;_0x398baf[_0x5092b1>>>0x2]|=_0x267450<<0x18-_0x5092b1%0x4*0x8,_0x5092b1++;}return _0x5bfa17['create'](_0x398baf,_0x5092b1);}}()),_0xe63296[_0x3e8bd6(0x249)][_0x3e8bd6(0x1da)];}));}(We)),We[_0x4cb05e(0x1fd)];}var Ye={'exports':{}},hn=Ye[_0x3ccb73(0x1fd)],Jt;function ln(){var _0x324c9a=_0x3ccb73;return Jt||(Jt=0x1,function(_0x6fe4b5,_0x5bc880){(function(_0x645726,_0x17c7c1){var _0x15a0e1=_0x89c5;_0x6fe4b5[_0x15a0e1(0x1fd)]=_0x17c7c1(ie());}(hn,function(_0x5b985b){return function(_0x32dc05){var _0x4da2ba=_0x89c5,_0x1eb2d8=_0x5b985b,_0x52f580=_0x1eb2d8[_0x4da2ba(0x1ca)],_0x255d48=_0x52f580['WordArray'],_0xa9b011=_0x52f580[_0x4da2ba(0x1c9)],_0x5e5c24=_0x1eb2d8[_0x4da2ba(0x1f0)],_0x45eed3=[];(function(){var _0x104ba7=_0x4da2ba;for(var _0xbab27a=0x0;_0xbab27a<0x40;_0xbab27a++)_0x45eed3[_0xbab27a]=_0x32dc05[_0x104ba7(0x1b8)](_0x32dc05[_0x104ba7(0x39e)](_0xbab27a+0x1))*0x100000000|0x0;}());var _0x564c25=_0x5e5c24[_0x4da2ba(0x147)]=_0xa9b011['extend']({'_doReset':function(){var _0x5efd50=_0x4da2ba;this[_0x5efd50(0xd5)]=new _0x255d48[(_0x5efd50(0x3a6))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x7c77db,_0x429b92){var _0xb508b9=_0x4da2ba;for(var _0xa1e76f=0x0;_0xa1e76f<0x10;_0xa1e76f++){var _0x42f87c=_0x429b92+_0xa1e76f,_0x2a3b63=_0x7c77db[_0x42f87c];_0x7c77db[_0x42f87c]=(_0x2a3b63<<0x8|_0x2a3b63>>>0x18)&0xff00ff|(_0x2a3b63<<0x18|_0x2a3b63>>>0x8)&0xff00ff00;}var _0x3bb8bc=this['_hash'][_0xb508b9(0x151)],_0x245044=_0x7c77db[_0x429b92+0x0],_0x496b9c=_0x7c77db[_0x429b92+0x1],_0x2d4c91=_0x7c77db[_0x429b92+0x2],_0x5d0745=_0x7c77db[_0x429b92+0x3],_0x24b7f0=_0x7c77db[_0x429b92+0x4],_0x28ced7=_0x7c77db[_0x429b92+0x5],_0x3e49af=_0x7c77db[_0x429b92+0x6],_0xbb37c=_0x7c77db[_0x429b92+0x7],_0x197f5b=_0x7c77db[_0x429b92+0x8],_0x5b48e2=_0x7c77db[_0x429b92+0x9],_0xef4e1a=_0x7c77db[_0x429b92+0xa],_0x2d2063=_0x7c77db[_0x429b92+0xb],_0x38a69e=_0x7c77db[_0x429b92+0xc],_0x407d5c=_0x7c77db[_0x429b92+0xd],_0x488075=_0x7c77db[_0x429b92+0xe],_0x4ff933=_0x7c77db[_0x429b92+0xf],_0x45e7c0=_0x3bb8bc[0x0],_0x1e2a79=_0x3bb8bc[0x1],_0x551fe0=_0x3bb8bc[0x2],_0x1390b1=_0x3bb8bc[0x3];_0x45e7c0=_0x184499(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x245044,0x7,_0x45eed3[0x0]),_0x1390b1=_0x184499(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x496b9c,0xc,_0x45eed3[0x1]),_0x551fe0=_0x184499(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0x2d4c91,0x11,_0x45eed3[0x2]),_0x1e2a79=_0x184499(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x5d0745,0x16,_0x45eed3[0x3]),_0x45e7c0=_0x184499(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x24b7f0,0x7,_0x45eed3[0x4]),_0x1390b1=_0x184499(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x28ced7,0xc,_0x45eed3[0x5]),_0x551fe0=_0x184499(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0x3e49af,0x11,_0x45eed3[0x6]),_0x1e2a79=_0x184499(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0xbb37c,0x16,_0x45eed3[0x7]),_0x45e7c0=_0x184499(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x197f5b,0x7,_0x45eed3[0x8]),_0x1390b1=_0x184499(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x5b48e2,0xc,_0x45eed3[0x9]),_0x551fe0=_0x184499(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0xef4e1a,0x11,_0x45eed3[0xa]),_0x1e2a79=_0x184499(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x2d2063,0x16,_0x45eed3[0xb]),_0x45e7c0=_0x184499(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x38a69e,0x7,_0x45eed3[0xc]),_0x1390b1=_0x184499(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x407d5c,0xc,_0x45eed3[0xd]),_0x551fe0=_0x184499(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0x488075,0x11,_0x45eed3[0xe]),_0x1e2a79=_0x184499(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x4ff933,0x16,_0x45eed3[0xf]),_0x45e7c0=_0x182668(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x496b9c,0x5,_0x45eed3[0x10]),_0x1390b1=_0x182668(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x3e49af,0x9,_0x45eed3[0x11]),_0x551fe0=_0x182668(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0x2d2063,0xe,_0x45eed3[0x12]),_0x1e2a79=_0x182668(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x245044,0x14,_0x45eed3[0x13]),_0x45e7c0=_0x182668(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x28ced7,0x5,_0x45eed3[0x14]),_0x1390b1=_0x182668(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0xef4e1a,0x9,_0x45eed3[0x15]),_0x551fe0=_0x182668(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0x4ff933,0xe,_0x45eed3[0x16]),_0x1e2a79=_0x182668(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x24b7f0,0x14,_0x45eed3[0x17]),_0x45e7c0=_0x182668(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x5b48e2,0x5,_0x45eed3[0x18]),_0x1390b1=_0x182668(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x488075,0x9,_0x45eed3[0x19]),_0x551fe0=_0x182668(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0x5d0745,0xe,_0x45eed3[0x1a]),_0x1e2a79=_0x182668(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x197f5b,0x14,_0x45eed3[0x1b]),_0x45e7c0=_0x182668(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x407d5c,0x5,_0x45eed3[0x1c]),_0x1390b1=_0x182668(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x2d4c91,0x9,_0x45eed3[0x1d]),_0x551fe0=_0x182668(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0xbb37c,0xe,_0x45eed3[0x1e]),_0x1e2a79=_0x182668(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x38a69e,0x14,_0x45eed3[0x1f]),_0x45e7c0=_0x5c17fd(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x28ced7,0x4,_0x45eed3[0x20]),_0x1390b1=_0x5c17fd(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x197f5b,0xb,_0x45eed3[0x21]),_0x551fe0=_0x5c17fd(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0x2d2063,0x10,_0x45eed3[0x22]),_0x1e2a79=_0x5c17fd(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x488075,0x17,_0x45eed3[0x23]),_0x45e7c0=_0x5c17fd(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x496b9c,0x4,_0x45eed3[0x24]),_0x1390b1=_0x5c17fd(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x24b7f0,0xb,_0x45eed3[0x25]),_0x551fe0=_0x5c17fd(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0xbb37c,0x10,_0x45eed3[0x26]),_0x1e2a79=_0x5c17fd(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0xef4e1a,0x17,_0x45eed3[0x27]),_0x45e7c0=_0x5c17fd(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x407d5c,0x4,_0x45eed3[0x28]),_0x1390b1=_0x5c17fd(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x245044,0xb,_0x45eed3[0x29]),_0x551fe0=_0x5c17fd(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0x5d0745,0x10,_0x45eed3[0x2a]),_0x1e2a79=_0x5c17fd(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x3e49af,0x17,_0x45eed3[0x2b]),_0x45e7c0=_0x5c17fd(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x5b48e2,0x4,_0x45eed3[0x2c]),_0x1390b1=_0x5c17fd(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x38a69e,0xb,_0x45eed3[0x2d]),_0x551fe0=_0x5c17fd(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0x4ff933,0x10,_0x45eed3[0x2e]),_0x1e2a79=_0x5c17fd(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x2d4c91,0x17,_0x45eed3[0x2f]),_0x45e7c0=_0x3015ac(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x245044,0x6,_0x45eed3[0x30]),_0x1390b1=_0x3015ac(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0xbb37c,0xa,_0x45eed3[0x31]),_0x551fe0=_0x3015ac(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0x488075,0xf,_0x45eed3[0x32]),_0x1e2a79=_0x3015ac(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x28ced7,0x15,_0x45eed3[0x33]),_0x45e7c0=_0x3015ac(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x38a69e,0x6,_0x45eed3[0x34]),_0x1390b1=_0x3015ac(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x5d0745,0xa,_0x45eed3[0x35]),_0x551fe0=_0x3015ac(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0xef4e1a,0xf,_0x45eed3[0x36]),_0x1e2a79=_0x3015ac(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x496b9c,0x15,_0x45eed3[0x37]),_0x45e7c0=_0x3015ac(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x197f5b,0x6,_0x45eed3[0x38]),_0x1390b1=_0x3015ac(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x4ff933,0xa,_0x45eed3[0x39]),_0x551fe0=_0x3015ac(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0x3e49af,0xf,_0x45eed3[0x3a]),_0x1e2a79=_0x3015ac(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x407d5c,0x15,_0x45eed3[0x3b]),_0x45e7c0=_0x3015ac(_0x45e7c0,_0x1e2a79,_0x551fe0,_0x1390b1,_0x24b7f0,0x6,_0x45eed3[0x3c]),_0x1390b1=_0x3015ac(_0x1390b1,_0x45e7c0,_0x1e2a79,_0x551fe0,_0x2d2063,0xa,_0x45eed3[0x3d]),_0x551fe0=_0x3015ac(_0x551fe0,_0x1390b1,_0x45e7c0,_0x1e2a79,_0x2d4c91,0xf,_0x45eed3[0x3e]),_0x1e2a79=_0x3015ac(_0x1e2a79,_0x551fe0,_0x1390b1,_0x45e7c0,_0x5b48e2,0x15,_0x45eed3[0x3f]),_0x3bb8bc[0x0]=_0x3bb8bc[0x0]+_0x45e7c0|0x0,_0x3bb8bc[0x1]=_0x3bb8bc[0x1]+_0x1e2a79|0x0,_0x3bb8bc[0x2]=_0x3bb8bc[0x2]+_0x551fe0|0x0,_0x3bb8bc[0x3]=_0x3bb8bc[0x3]+_0x1390b1|0x0;},'_doFinalize':function(){var _0xbe429f=_0x4da2ba,_0x3ccd4c=this['_data'],_0x5636d0=_0x3ccd4c['words'],_0x41a45f=this[_0xbe429f(0x1ed)]*0x8,_0x2c9d4f=_0x3ccd4c['sigBytes']*0x8;_0x5636d0[_0x2c9d4f>>>0x5]|=0x80<<0x18-_0x2c9d4f%0x20;var _0x2f3629=_0x32dc05[_0xbe429f(0x27d)](_0x41a45f/0x100000000),_0x2c2e50=_0x41a45f;_0x5636d0[(_0x2c9d4f+0x40>>>0x9<<0x4)+0xf]=(_0x2f3629<<0x8|_0x2f3629>>>0x18)&0xff00ff|(_0x2f3629<<0x18|_0x2f3629>>>0x8)&0xff00ff00,_0x5636d0[(_0x2c9d4f+0x40>>>0x9<<0x4)+0xe]=(_0x2c2e50<<0x8|_0x2c2e50>>>0x18)&0xff00ff|(_0x2c2e50<<0x18|_0x2c2e50>>>0x8)&0xff00ff00,_0x3ccd4c['sigBytes']=(_0x5636d0[_0xbe429f(0xec)]+0x1)*0x4,this[_0xbe429f(0x348)]();for(var _0x280c07=this[_0xbe429f(0xd5)],_0x9b1fb1=_0x280c07['words'],_0x3bf4ab=0x0;_0x3bf4ab<0x4;_0x3bf4ab++){var _0xb97cc8=_0x9b1fb1[_0x3bf4ab];_0x9b1fb1[_0x3bf4ab]=(_0xb97cc8<<0x8|_0xb97cc8>>>0x18)&0xff00ff|(_0xb97cc8<<0x18|_0xb97cc8>>>0x8)&0xff00ff00;}return _0x280c07;},'clone':function(){var _0x59e2e5=_0x4da2ba,_0x5c86f0=_0xa9b011[_0x59e2e5(0x23a)][_0x59e2e5(0x183)](this);return _0x5c86f0['_hash']=this[_0x59e2e5(0xd5)][_0x59e2e5(0x23a)](),_0x5c86f0;}});function _0x184499(_0xc5e1da,_0x38d911,_0x562f80,_0x180fef,_0x309536,_0x519aba,_0x57c866){var _0x454b5a=_0xc5e1da+(_0x38d911&_0x562f80|~_0x38d911&_0x180fef)+_0x309536+_0x57c866;return(_0x454b5a<<_0x519aba|_0x454b5a>>>0x20-_0x519aba)+_0x38d911;}function _0x182668(_0x590572,_0x710a5d,_0x155d28,_0x9a34da,_0xd4f63b,_0x7efdf7,_0x3cf6c3){var _0xd3fb9d=_0x590572+(_0x710a5d&_0x9a34da|_0x155d28&~_0x9a34da)+_0xd4f63b+_0x3cf6c3;return(_0xd3fb9d<<_0x7efdf7|_0xd3fb9d>>>0x20-_0x7efdf7)+_0x710a5d;}function _0x5c17fd(_0x5591c1,_0x2ebc48,_0x255b51,_0x1c3043,_0xf6707b,_0x104347,_0x1c6b52){var _0xf2d43c=_0x5591c1+(_0x2ebc48^_0x255b51^_0x1c3043)+_0xf6707b+_0x1c6b52;return(_0xf2d43c<<_0x104347|_0xf2d43c>>>0x20-_0x104347)+_0x2ebc48;}function _0x3015ac(_0x2af38c,_0x4a22be,_0x36c2cc,_0xc7b4f1,_0x5261d4,_0x1990ae,_0xc80525){var _0x52bbc0=_0x2af38c+(_0x36c2cc^(_0x4a22be|~_0xc7b4f1))+_0x5261d4+_0xc80525;return(_0x52bbc0<<_0x1990ae|_0x52bbc0>>>0x20-_0x1990ae)+_0x4a22be;}_0x1eb2d8[_0x4da2ba(0x147)]=_0xa9b011[_0x4da2ba(0x10a)](_0x564c25),_0x1eb2d8[_0x4da2ba(0x2f0)]=_0xa9b011['_createHmacHelper'](_0x564c25);}(Math),_0x5b985b['MD5'];}));}(Ye)),Ye[_0x324c9a(0x1fd)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x3ccb73(0x1fd)],Xt;function dn(){var _0x5c7c88=_0x3ccb73;return Xt||(Xt=0x1,function(_0x2a6c91,_0x2a36c0){(function(_0x33ac07,_0x3a9930){_0x2a6c91['exports']=_0x3a9930(ie());}(un,function(_0x5d65af){var _0x1480bf=_0x89c5;return(function(){var _0x9b77f=_0x89c5,_0x4cd30f=_0x5d65af,_0x2b7805=_0x4cd30f[_0x9b77f(0x1ca)],_0x66d04c=_0x2b7805[_0x9b77f(0xcc)],_0x1baede=_0x2b7805[_0x9b77f(0x1c9)],_0x3371e0=_0x4cd30f[_0x9b77f(0x1f0)],_0x44ed4d=[],_0x58d9cc=_0x3371e0['SHA1']=_0x1baede[_0x9b77f(0x38a)]({'_doReset':function(){var _0x1e5dbe=_0x9b77f;this[_0x1e5dbe(0xd5)]=new _0x66d04c['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x21f3bf,_0x7b5201){var _0x12ee30=_0x9b77f;for(var _0x5d674b=this[_0x12ee30(0xd5)][_0x12ee30(0x151)],_0x4d051c=_0x5d674b[0x0],_0x1e82a0=_0x5d674b[0x1],_0x19ca81=_0x5d674b[0x2],_0xf60639=_0x5d674b[0x3],_0x3a175a=_0x5d674b[0x4],_0x404e54=0x0;_0x404e54<0x50;_0x404e54++){if(_0x404e54<0x10)_0x44ed4d[_0x404e54]=_0x21f3bf[_0x7b5201+_0x404e54]|0x0;else{var _0x46d15b=_0x44ed4d[_0x404e54-0x3]^_0x44ed4d[_0x404e54-0x8]^_0x44ed4d[_0x404e54-0xe]^_0x44ed4d[_0x404e54-0x10];_0x44ed4d[_0x404e54]=_0x46d15b<<0x1|_0x46d15b>>>0x1f;}var _0x491739=(_0x4d051c<<0x5|_0x4d051c>>>0x1b)+_0x3a175a+_0x44ed4d[_0x404e54];_0x404e54<0x14?_0x491739+=(_0x1e82a0&_0x19ca81|~_0x1e82a0&_0xf60639)+0x5a827999:_0x404e54<0x28?_0x491739+=(_0x1e82a0^_0x19ca81^_0xf60639)+0x6ed9eba1:_0x404e54<0x3c?_0x491739+=(_0x1e82a0&_0x19ca81|_0x1e82a0&_0xf60639|_0x19ca81&_0xf60639)-0x70e44324:_0x491739+=(_0x1e82a0^_0x19ca81^_0xf60639)-0x359d3e2a,_0x3a175a=_0xf60639,_0xf60639=_0x19ca81,_0x19ca81=_0x1e82a0<<0x1e|_0x1e82a0>>>0x2,_0x1e82a0=_0x4d051c,_0x4d051c=_0x491739;}_0x5d674b[0x0]=_0x5d674b[0x0]+_0x4d051c|0x0,_0x5d674b[0x1]=_0x5d674b[0x1]+_0x1e82a0|0x0,_0x5d674b[0x2]=_0x5d674b[0x2]+_0x19ca81|0x0,_0x5d674b[0x3]=_0x5d674b[0x3]+_0xf60639|0x0,_0x5d674b[0x4]=_0x5d674b[0x4]+_0x3a175a|0x0;},'_doFinalize':function(){var _0xd7999c=_0x9b77f,_0x2f9336=this[_0xd7999c(0x200)],_0x4c3d21=_0x2f9336[_0xd7999c(0x151)],_0x82e604=this[_0xd7999c(0x1ed)]*0x8,_0x45b3b2=_0x2f9336[_0xd7999c(0x233)]*0x8;return _0x4c3d21[_0x45b3b2>>>0x5]|=0x80<<0x18-_0x45b3b2%0x20,_0x4c3d21[(_0x45b3b2+0x40>>>0x9<<0x4)+0xe]=Math[_0xd7999c(0x27d)](_0x82e604/0x100000000),_0x4c3d21[(_0x45b3b2+0x40>>>0x9<<0x4)+0xf]=_0x82e604,_0x2f9336['sigBytes']=_0x4c3d21[_0xd7999c(0xec)]*0x4,this[_0xd7999c(0x348)](),this[_0xd7999c(0xd5)];},'clone':function(){var _0x3d1a43=_0x9b77f,_0x555071=_0x1baede[_0x3d1a43(0x23a)][_0x3d1a43(0x183)](this);return _0x555071[_0x3d1a43(0xd5)]=this[_0x3d1a43(0xd5)]['clone'](),_0x555071;}});_0x4cd30f['SHA1']=_0x1baede[_0x9b77f(0x10a)](_0x58d9cc),_0x4cd30f['HmacSHA1']=_0x1baede['_createHmacHelper'](_0x58d9cc);}()),_0x5d65af[_0x1480bf(0x29c)];}));}(qe)),qe[_0x5c7c88(0x1fd)];}var ze={'exports':{}},fn=ze[_0x3ccb73(0x1fd)],Zt;function vn(){var _0x37228b=_0x3ccb73;return Zt||(Zt=0x1,function(_0x54fe37,_0x1e3708){(function(_0x29c802,_0x3362e0){var _0x54cbdf=_0x89c5;_0x54fe37[_0x54cbdf(0x1fd)]=_0x3362e0(ie());}(fn,function(_0x38b844){(function(){var _0x1ac2c9=_0x89c5,_0x537c18=_0x38b844,_0x10a351=_0x537c18[_0x1ac2c9(0x1ca)],_0x4c5180=_0x10a351[_0x1ac2c9(0x379)],_0x664a5e=_0x537c18[_0x1ac2c9(0x249)],_0x4c2ae1=_0x664a5e[_0x1ac2c9(0x10c)],_0x3631dc=_0x537c18['algo'];_0x3631dc[_0x1ac2c9(0x1cd)]=_0x4c5180[_0x1ac2c9(0x38a)]({'init':function(_0x361616,_0x51a25c){var _0x158d31=_0x1ac2c9;_0x361616=this[_0x158d31(0x35d)]=new _0x361616['init'](),typeof _0x51a25c==_0x158d31(0x161)&&(_0x51a25c=_0x4c2ae1[_0x158d31(0x189)](_0x51a25c));var _0x3e0dce=_0x361616[_0x158d31(0x39a)],_0x1644f6=_0x3e0dce*0x4;_0x51a25c['sigBytes']>_0x1644f6&&(_0x51a25c=_0x361616['finalize'](_0x51a25c)),_0x51a25c['clamp']();for(var _0x54411d=this['_oKey']=_0x51a25c[_0x158d31(0x23a)](),_0x2402f5=this[_0x158d31(0x39f)]=_0x51a25c[_0x158d31(0x23a)](),_0x393ffc=_0x54411d[_0x158d31(0x151)],_0x5c27ae=_0x2402f5['words'],_0xd4d956=0x0;_0xd4d956<_0x3e0dce;_0xd4d956++)_0x393ffc[_0xd4d956]^=0x5c5c5c5c,_0x5c27ae[_0xd4d956]^=0x36363636;_0x54411d['sigBytes']=_0x2402f5[_0x158d31(0x233)]=_0x1644f6,this[_0x158d31(0xdf)]();},'reset':function(){var _0x1318ad=_0x1ac2c9,_0x53c317=this['_hasher'];_0x53c317['reset'](),_0x53c317['update'](this[_0x1318ad(0x39f)]);},'update':function(_0x1e0ae4){var _0xcf2f5f=_0x1ac2c9;return this[_0xcf2f5f(0x35d)]['update'](_0x1e0ae4),this;},'finalize':function(_0x5397b8){var _0x32c5d1=_0x1ac2c9,_0x4d399f=this[_0x32c5d1(0x35d)],_0x3a4c87=_0x4d399f['finalize'](_0x5397b8);_0x4d399f[_0x32c5d1(0xdf)]();var _0x4828d6=_0x4d399f[_0x32c5d1(0x14a)](this[_0x32c5d1(0x2d1)][_0x32c5d1(0x23a)]()[_0x32c5d1(0xf4)](_0x3a4c87));return _0x4828d6;}});}());}));}(ze)),ze[_0x37228b(0x1fd)];}var pn=Ke[_0x3ccb73(0x1fd)],Qt;function Ci(){var _0x235bfd=_0x3ccb73;return Qt||(Qt=0x1,function(_0xfbe876,_0x170dfd){(function(_0x54ec9b,_0x51ba89,_0x7334c4){_0xfbe876['exports']=_0x51ba89(ie(),dn(),vn());}(pn,function(_0x3a5405){return(function(){var _0x566834=_0x89c5,_0x5aebae=_0x3a5405,_0x3891f8=_0x5aebae[_0x566834(0x1ca)],_0x517e55=_0x3891f8[_0x566834(0x379)],_0x5c9cf2=_0x3891f8[_0x566834(0xcc)],_0x53d340=_0x5aebae['algo'],_0xf74986=_0x53d340[_0x566834(0x147)],_0x3c15f6=_0x53d340[_0x566834(0x375)]=_0x517e55[_0x566834(0x38a)]({'cfg':_0x517e55['extend']({'keySize':0x80/0x20,'hasher':_0xf74986,'iterations':0x1}),'init':function(_0x40a4c2){var _0x22a2ed=_0x566834;this[_0x22a2ed(0xff)]=this[_0x22a2ed(0xff)][_0x22a2ed(0x38a)](_0x40a4c2);},'compute':function(_0x34b52e,_0x463d0a){var _0x16d111=_0x566834;for(var _0x146434,_0x31843f=this[_0x16d111(0xff)],_0x29c193=_0x31843f[_0x16d111(0x1a9)][_0x16d111(0x206)](),_0x4ed3db=_0x5c9cf2[_0x16d111(0x206)](),_0x5157fe=_0x4ed3db['words'],_0x4a2f01=_0x31843f[_0x16d111(0x174)],_0x21ac09=_0x31843f[_0x16d111(0x2c6)];_0x5157fe[_0x16d111(0xec)]<_0x4a2f01;){_0x146434&&_0x29c193[_0x16d111(0x28f)](_0x146434),_0x146434=_0x29c193['update'](_0x34b52e)[_0x16d111(0x14a)](_0x463d0a),_0x29c193[_0x16d111(0xdf)]();for(var _0x586f42=0x1;_0x586f42<_0x21ac09;_0x586f42++)_0x146434=_0x29c193[_0x16d111(0x14a)](_0x146434),_0x29c193[_0x16d111(0xdf)]();_0x4ed3db['concat'](_0x146434);}return _0x4ed3db['sigBytes']=_0x4a2f01*0x4,_0x4ed3db;}});_0x5aebae[_0x566834(0x375)]=function(_0x392c53,_0x329f12,_0x5ca300){var _0x51996d=_0x566834;return _0x3c15f6[_0x51996d(0x206)](_0x5ca300)[_0x51996d(0x19c)](_0x392c53,_0x329f12);};}()),_0x3a5405['EvpKDF'];}));}(Ke)),Ke[_0x235bfd(0x1fd)];}var Je={'exports':{}},En=Je[_0x3ccb73(0x1fd)],ei;function Ni(){return ei||(ei=0x1,function(_0x56deaa,_0x2a6f16){(function(_0x20de59,_0x17199e,_0x2056a3){_0x56deaa['exports']=_0x17199e(ie(),Ci());}(En,function(_0x417e42){var _0x4751d5=_0x89c5;_0x417e42['lib'][_0x4751d5(0x23f)]||function(_0x62f768){var _0x2ec5db=_0x4751d5,_0x27d038=_0x417e42,_0x14ea11=_0x27d038['lib'],_0x1039be=_0x14ea11[_0x2ec5db(0x379)],_0x522ced=_0x14ea11[_0x2ec5db(0xcc)],_0x488767=_0x14ea11['BufferedBlockAlgorithm'],_0x2d4c26=_0x27d038[_0x2ec5db(0x249)];_0x2d4c26[_0x2ec5db(0x10c)];var _0x220f2a=_0x2d4c26[_0x2ec5db(0x1da)],_0x5d6655=_0x27d038[_0x2ec5db(0x1f0)],_0x59f53f=_0x5d6655[_0x2ec5db(0x375)],_0x407497=_0x14ea11['Cipher']=_0x488767['extend']({'cfg':_0x1039be['extend'](),'createEncryptor':function(_0x1b4fd0,_0x116e94){var _0x229320=_0x2ec5db;return this[_0x229320(0x206)](this[_0x229320(0x307)],_0x1b4fd0,_0x116e94);},'createDecryptor':function(_0x5c74d0,_0x2716f5){var _0x5478bb=_0x2ec5db;return this[_0x5478bb(0x206)](this[_0x5478bb(0x32f)],_0x5c74d0,_0x2716f5);},'init':function(_0x41582c,_0x5f83c4,_0x5a4edd){var _0x203705=_0x2ec5db;this[_0x203705(0xff)]=this[_0x203705(0xff)][_0x203705(0x38a)](_0x5a4edd),this[_0x203705(0x3bd)]=_0x41582c,this[_0x203705(0x175)]=_0x5f83c4,this[_0x203705(0xdf)]();},'reset':function(){var _0x313fa6=_0x2ec5db;_0x488767[_0x313fa6(0xdf)][_0x313fa6(0x183)](this),this[_0x313fa6(0x15e)]();},'process':function(_0x390b81){var _0x3be698=_0x2ec5db;return this['_append'](_0x390b81),this[_0x3be698(0x348)]();},'finalize':function(_0x5b5759){var _0x4e5ad9=_0x2ec5db;_0x5b5759&&this[_0x4e5ad9(0xef)](_0x5b5759);var _0xa291d8=this[_0x4e5ad9(0x3cc)]();return _0xa291d8;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x135701(_0x11bc43){return typeof _0x11bc43=='string'?_0x31cab3:_0x1b967f;}return function(_0x26949a){return{'encrypt':function(_0x1c06e9,_0x5cd19c,_0x38c551){var _0x5c26a7=_0x89c5;return _0x135701(_0x5cd19c)[_0x5c26a7(0xf2)](_0x26949a,_0x1c06e9,_0x5cd19c,_0x38c551);},'decrypt':function(_0x47cc07,_0x119b3f,_0x3f4836){var _0x273ee6=_0x89c5;return _0x135701(_0x119b3f)[_0x273ee6(0x239)](_0x26949a,_0x47cc07,_0x119b3f,_0x3f4836);}};};}())});_0x14ea11[_0x2ec5db(0x2fd)]=_0x407497[_0x2ec5db(0x38a)]({'_doFinalize':function(){var _0xe9c84e=_0x2ec5db,_0xcc88f9=this[_0xe9c84e(0x348)](!0x0);return _0xcc88f9;},'blockSize':0x1});var _0x5e5bbb=_0x27d038[_0x2ec5db(0x1ac)]={},_0x2f47ce=_0x14ea11['BlockCipherMode']=_0x1039be[_0x2ec5db(0x38a)]({'createEncryptor':function(_0x53c249,_0x5c2805){var _0x45ced5=_0x2ec5db;return this[_0x45ced5(0x192)]['create'](_0x53c249,_0x5c2805);},'createDecryptor':function(_0xb710e5,_0x41558f){var _0x378b3b=_0x2ec5db;return this[_0x378b3b(0xda)][_0x378b3b(0x206)](_0xb710e5,_0x41558f);},'init':function(_0x26e8b6,_0x413960){var _0x1b87f2=_0x2ec5db;this[_0x1b87f2(0x1dd)]=_0x26e8b6,this[_0x1b87f2(0x32d)]=_0x413960;}}),_0x2300b7=_0x5e5bbb[_0x2ec5db(0x26b)]=(function(){var _0x5360ef=_0x2ec5db,_0x292b4b=_0x2f47ce[_0x5360ef(0x38a)]();_0x292b4b[_0x5360ef(0x192)]=_0x292b4b[_0x5360ef(0x38a)]({'processBlock':function(_0x3af3b8,_0x1a978e){var _0x223108=_0x5360ef,_0x5e4954=this[_0x223108(0x1dd)],_0x174e6a=_0x5e4954[_0x223108(0x39a)];_0x5d9527['call'](this,_0x3af3b8,_0x1a978e,_0x174e6a),_0x5e4954[_0x223108(0x17f)](_0x3af3b8,_0x1a978e),this[_0x223108(0x2f3)]=_0x3af3b8['slice'](_0x1a978e,_0x1a978e+_0x174e6a);}}),_0x292b4b[_0x5360ef(0xda)]=_0x292b4b[_0x5360ef(0x38a)]({'processBlock':function(_0x340746,_0x25f896){var _0x5e1fe5=_0x5360ef,_0x124eaa=this['_cipher'],_0x35380a=_0x124eaa[_0x5e1fe5(0x39a)],_0x4c0409=_0x340746['slice'](_0x25f896,_0x25f896+_0x35380a);_0x124eaa['decryptBlock'](_0x340746,_0x25f896),_0x5d9527['call'](this,_0x340746,_0x25f896,_0x35380a),this[_0x5e1fe5(0x2f3)]=_0x4c0409;}});function _0x5d9527(_0x330ed3,_0x1fac3b,_0x47a405){var _0x2080f2=_0x5360ef,_0x68aa61,_0x4aa4aa=this[_0x2080f2(0x32d)];_0x4aa4aa?(_0x68aa61=_0x4aa4aa,this[_0x2080f2(0x32d)]=_0x62f768):_0x68aa61=this[_0x2080f2(0x2f3)];for(var _0x153d1f=0x0;_0x153d1f<_0x47a405;_0x153d1f++)_0x330ed3[_0x1fac3b+_0x153d1f]^=_0x68aa61[_0x153d1f];}return _0x292b4b;}()),_0x40468b=_0x27d038[_0x2ec5db(0x17c)]={},_0x426f24=_0x40468b[_0x2ec5db(0x338)]={'pad':function(_0x280cc8,_0x4975e5){var _0x5d562d=_0x2ec5db;for(var _0x19e2bd=_0x4975e5*0x4,_0x10aa39=_0x19e2bd-_0x280cc8[_0x5d562d(0x233)]%_0x19e2bd,_0x1208a7=_0x10aa39<<0x18|_0x10aa39<<0x10|_0x10aa39<<0x8|_0x10aa39,_0x4a2a18=[],_0x3155b6=0x0;_0x3155b6<_0x10aa39;_0x3155b6+=0x4)_0x4a2a18[_0x5d562d(0x37e)](_0x1208a7);var _0x172160=_0x522ced[_0x5d562d(0x206)](_0x4a2a18,_0x10aa39);_0x280cc8[_0x5d562d(0xf4)](_0x172160);},'unpad':function(_0x4e0d93){var _0x40c875=_0x2ec5db,_0x24e5a0=_0x4e0d93['words'][_0x4e0d93[_0x40c875(0x233)]-0x1>>>0x2]&0xff;_0x4e0d93[_0x40c875(0x233)]-=_0x24e5a0;}};_0x14ea11[_0x2ec5db(0x105)]=_0x407497[_0x2ec5db(0x38a)]({'cfg':_0x407497['cfg'][_0x2ec5db(0x38a)]({'mode':_0x2300b7,'padding':_0x426f24}),'reset':function(){var _0x5dfe1c=_0x2ec5db,_0x5c247d;_0x407497['reset']['call'](this);var _0x70ccf4=this[_0x5dfe1c(0xff)],_0x27b80b=_0x70ccf4['iv'],_0x1739b6=_0x70ccf4['mode'];this[_0x5dfe1c(0x3bd)]==this['_ENC_XFORM_MODE']?_0x5c247d=_0x1739b6[_0x5dfe1c(0x374)]:(_0x5c247d=_0x1739b6[_0x5dfe1c(0x34d)],this[_0x5dfe1c(0x1c2)]=0x1),this[_0x5dfe1c(0x16e)]&&this[_0x5dfe1c(0x16e)][_0x5dfe1c(0x31a)]==_0x5c247d?this[_0x5dfe1c(0x16e)][_0x5dfe1c(0x3a6)](this,_0x27b80b&&_0x27b80b[_0x5dfe1c(0x151)]):(this[_0x5dfe1c(0x16e)]=_0x5c247d[_0x5dfe1c(0x183)](_0x1739b6,this,_0x27b80b&&_0x27b80b['words']),this['_mode'][_0x5dfe1c(0x31a)]=_0x5c247d);},'_doProcessBlock':function(_0x4fbd87,_0xfe2cb5){var _0x42d9a0=_0x2ec5db;this[_0x42d9a0(0x16e)][_0x42d9a0(0x28b)](_0x4fbd87,_0xfe2cb5);},'_doFinalize':function(){var _0x1ccddb=_0x2ec5db,_0x2ba267,_0x1600c7=this[_0x1ccddb(0xff)]['padding'];return this[_0x1ccddb(0x3bd)]==this[_0x1ccddb(0x307)]?(_0x1600c7[_0x1ccddb(0x17c)](this[_0x1ccddb(0x200)],this['blockSize']),_0x2ba267=this[_0x1ccddb(0x348)](!0x0)):(_0x2ba267=this[_0x1ccddb(0x348)](!0x0),_0x1600c7[_0x1ccddb(0x231)](_0x2ba267)),_0x2ba267;},'blockSize':0x80/0x20});var _0x6b538b=_0x14ea11[_0x2ec5db(0x1a6)]=_0x1039be[_0x2ec5db(0x38a)]({'init':function(_0x2c0a5b){var _0x14e4b2=_0x2ec5db;this[_0x14e4b2(0xc9)](_0x2c0a5b);},'toString':function(_0x540209){var _0x41cbcb=_0x2ec5db;return(_0x540209||this[_0x41cbcb(0x12d)])[_0x41cbcb(0xf9)](this);}}),_0x5545f5=_0x27d038[_0x2ec5db(0x1eb)]={},_0x26f1bc=_0x5545f5['OpenSSL']={'stringify':function(_0x1477bc){var _0x438c4b=_0x2ec5db,_0x3a1706,_0x246eb9=_0x1477bc['ciphertext'],_0x1c2693=_0x1477bc[_0x438c4b(0x18f)];return _0x1c2693?_0x3a1706=_0x522ced[_0x438c4b(0x206)]([0x53616c74,0x65645f5f])[_0x438c4b(0xf4)](_0x1c2693)[_0x438c4b(0xf4)](_0x246eb9):_0x3a1706=_0x246eb9,_0x3a1706[_0x438c4b(0x1be)](_0x220f2a);},'parse':function(_0x15933f){var _0x15178b=_0x2ec5db,_0xd198ea,_0x4feedf=_0x220f2a[_0x15178b(0x189)](_0x15933f),_0x257fbf=_0x4feedf[_0x15178b(0x151)];return _0x257fbf[0x0]==0x53616c74&&_0x257fbf[0x1]==0x65645f5f&&(_0xd198ea=_0x522ced['create'](_0x257fbf[_0x15178b(0x399)](0x2,0x4)),_0x257fbf[_0x15178b(0x27a)](0x0,0x4),_0x4feedf[_0x15178b(0x233)]-=0x10),_0x6b538b[_0x15178b(0x206)]({'ciphertext':_0x4feedf,'salt':_0xd198ea});}},_0x1b967f=_0x14ea11['SerializableCipher']=_0x1039be[_0x2ec5db(0x38a)]({'cfg':_0x1039be[_0x2ec5db(0x38a)]({'format':_0x26f1bc}),'encrypt':function(_0x49b807,_0x302eef,_0x5ea07d,_0x46f9ba){var _0x3a4f4b=_0x2ec5db;_0x46f9ba=this['cfg'][_0x3a4f4b(0x38a)](_0x46f9ba);var _0x4c7c92=_0x49b807['createEncryptor'](_0x5ea07d,_0x46f9ba),_0x4a81ed=_0x4c7c92[_0x3a4f4b(0x14a)](_0x302eef),_0x130066=_0x4c7c92[_0x3a4f4b(0xff)];return _0x6b538b['create']({'ciphertext':_0x4a81ed,'key':_0x5ea07d,'iv':_0x130066['iv'],'algorithm':_0x49b807,'mode':_0x130066[_0x3a4f4b(0x1ac)],'padding':_0x130066[_0x3a4f4b(0x202)],'blockSize':_0x49b807[_0x3a4f4b(0x39a)],'formatter':_0x46f9ba[_0x3a4f4b(0x1eb)]});},'decrypt':function(_0x13271a,_0x37e73e,_0xd9d052,_0x3662e3){var _0x2065c4=_0x2ec5db;_0x3662e3=this['cfg'][_0x2065c4(0x38a)](_0x3662e3),_0x37e73e=this[_0x2065c4(0x3bf)](_0x37e73e,_0x3662e3[_0x2065c4(0x1eb)]);var _0x326e3e=_0x13271a[_0x2065c4(0x34d)](_0xd9d052,_0x3662e3)[_0x2065c4(0x14a)](_0x37e73e[_0x2065c4(0x1e6)]);return _0x326e3e;},'_parse':function(_0x523c47,_0x25484e){var _0x370ee0=_0x2ec5db;return typeof _0x523c47==_0x370ee0(0x161)?_0x25484e['parse'](_0x523c47,this):_0x523c47;}}),_0x4f87e9=_0x27d038[_0x2ec5db(0x2f6)]={},_0x1b9788=_0x4f87e9['OpenSSL']={'execute':function(_0x4b332a,_0x109db1,_0x92061c,_0x26c7c7,_0x4438b2){var _0x540c17=_0x2ec5db;if(_0x26c7c7||(_0x26c7c7=_0x522ced[_0x540c17(0x219)](0x40/0x8)),_0x4438b2)var _0x4bb71b=_0x59f53f[_0x540c17(0x206)]({'keySize':_0x109db1+_0x92061c,'hasher':_0x4438b2})[_0x540c17(0x19c)](_0x4b332a,_0x26c7c7);else var _0x4bb71b=_0x59f53f[_0x540c17(0x206)]({'keySize':_0x109db1+_0x92061c})[_0x540c17(0x19c)](_0x4b332a,_0x26c7c7);var _0x4acf66=_0x522ced[_0x540c17(0x206)](_0x4bb71b['words'][_0x540c17(0x399)](_0x109db1),_0x92061c*0x4);return _0x4bb71b[_0x540c17(0x233)]=_0x109db1*0x4,_0x6b538b[_0x540c17(0x206)]({'key':_0x4bb71b,'iv':_0x4acf66,'salt':_0x26c7c7});}},_0x31cab3=_0x14ea11[_0x2ec5db(0x242)]=_0x1b967f[_0x2ec5db(0x38a)]({'cfg':_0x1b967f[_0x2ec5db(0xff)]['extend']({'kdf':_0x1b9788}),'encrypt':function(_0x37b38c,_0x4e75c4,_0x567b44,_0x189ff5){var _0x5557eb=_0x2ec5db;_0x189ff5=this[_0x5557eb(0xff)]['extend'](_0x189ff5);var _0xc7acc3=_0x189ff5[_0x5557eb(0x2f6)][_0x5557eb(0x292)](_0x567b44,_0x37b38c[_0x5557eb(0x174)],_0x37b38c[_0x5557eb(0x176)],_0x189ff5[_0x5557eb(0x18f)],_0x189ff5[_0x5557eb(0x1a9)]);_0x189ff5['iv']=_0xc7acc3['iv'];var _0x34c5f8=_0x1b967f[_0x5557eb(0xf2)]['call'](this,_0x37b38c,_0x4e75c4,_0xc7acc3[_0x5557eb(0x214)],_0x189ff5);return _0x34c5f8['mixIn'](_0xc7acc3),_0x34c5f8;},'decrypt':function(_0x5f2cd6,_0xf1bc5,_0x9c96b3,_0x2213e9){var _0xf65fc5=_0x2ec5db;_0x2213e9=this[_0xf65fc5(0xff)]['extend'](_0x2213e9),_0xf1bc5=this['_parse'](_0xf1bc5,_0x2213e9['format']);var _0x392c00=_0x2213e9['kdf'][_0xf65fc5(0x292)](_0x9c96b3,_0x5f2cd6[_0xf65fc5(0x174)],_0x5f2cd6[_0xf65fc5(0x176)],_0xf1bc5[_0xf65fc5(0x18f)],_0x2213e9[_0xf65fc5(0x1a9)]);_0x2213e9['iv']=_0x392c00['iv'];var _0x317f0c=_0x1b967f[_0xf65fc5(0x239)][_0xf65fc5(0x183)](this,_0x5f2cd6,_0xf1bc5,_0x392c00[_0xf65fc5(0x214)],_0x2213e9);return _0x317f0c;}});}();}));}(Je)),Je['exports'];}var mn=Ve[_0x3ccb73(0x1fd)],ti;function In(){var _0x48c19e=_0x3ccb73;return ti||(ti=0x1,function(_0x3b77e5,_0xb83f21){(function(_0x2794ce,_0x10dde7,_0x536344){var _0xa4d69e=_0x89c5;_0x3b77e5[_0xa4d69e(0x1fd)]=_0x10dde7(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x42c7d5){var _0x298935=_0x89c5;return(function(){var _0x28a41f=_0x89c5,_0x178208=_0x42c7d5,_0x20eed1=_0x178208['lib'],_0x130a0e=_0x20eed1[_0x28a41f(0x105)],_0x3c1089=_0x178208[_0x28a41f(0x1f0)],_0x466edc=[],_0x516f80=[],_0x33b812=[],_0x42b1db=[],_0x53b0d5=[],_0x31fd74=[],_0x322b18=[],_0x4dd8da=[],_0x1a2133=[],_0x476c0f=[];(function(){for(var _0xe63ea8=[],_0x517992=0x0;_0x517992<0x100;_0x517992++)_0x517992<0x80?_0xe63ea8[_0x517992]=_0x517992<<0x1:_0xe63ea8[_0x517992]=_0x517992<<0x1^0x11b;for(var _0x57f4e8=0x0,_0x5b0f84=0x0,_0x517992=0x0;_0x517992<0x100;_0x517992++){var _0x295afc=_0x5b0f84^_0x5b0f84<<0x1^_0x5b0f84<<0x2^_0x5b0f84<<0x3^_0x5b0f84<<0x4;_0x295afc=_0x295afc>>>0x8^_0x295afc&0xff^0x63,_0x466edc[_0x57f4e8]=_0x295afc,_0x516f80[_0x295afc]=_0x57f4e8;var _0x1674be=_0xe63ea8[_0x57f4e8],_0x5bc808=_0xe63ea8[_0x1674be],_0x2f151a=_0xe63ea8[_0x5bc808],_0x38e357=_0xe63ea8[_0x295afc]*0x101^_0x295afc*0x1010100;_0x33b812[_0x57f4e8]=_0x38e357<<0x18|_0x38e357>>>0x8,_0x42b1db[_0x57f4e8]=_0x38e357<<0x10|_0x38e357>>>0x10,_0x53b0d5[_0x57f4e8]=_0x38e357<<0x8|_0x38e357>>>0x18,_0x31fd74[_0x57f4e8]=_0x38e357;var _0x38e357=_0x2f151a*0x1010101^_0x5bc808*0x10001^_0x1674be*0x101^_0x57f4e8*0x1010100;_0x322b18[_0x295afc]=_0x38e357<<0x18|_0x38e357>>>0x8,_0x4dd8da[_0x295afc]=_0x38e357<<0x10|_0x38e357>>>0x10,_0x1a2133[_0x295afc]=_0x38e357<<0x8|_0x38e357>>>0x18,_0x476c0f[_0x295afc]=_0x38e357,_0x57f4e8?(_0x57f4e8=_0x1674be^_0xe63ea8[_0xe63ea8[_0xe63ea8[_0x2f151a^_0x1674be]]],_0x5b0f84^=_0xe63ea8[_0xe63ea8[_0x5b0f84]]):_0x57f4e8=_0x5b0f84=0x1;}}());var _0x5cd23b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2c7c06=_0x3c1089[_0x28a41f(0x1cf)]=_0x130a0e[_0x28a41f(0x38a)]({'_doReset':function(){var _0x2bd65e=_0x28a41f,_0x228026;if(!(this[_0x2bd65e(0x309)]&&this[_0x2bd65e(0x2a5)]===this[_0x2bd65e(0x175)])){for(var _0x205052=this['_keyPriorReset']=this[_0x2bd65e(0x175)],_0x951e6a=_0x205052[_0x2bd65e(0x151)],_0x3d9e77=_0x205052[_0x2bd65e(0x233)]/0x4,_0x4316ba=this[_0x2bd65e(0x309)]=_0x3d9e77+0x6,_0x556d84=(_0x4316ba+0x1)*0x4,_0x44308d=this[_0x2bd65e(0x1fe)]=[],_0x5766ba=0x0;_0x5766ba<_0x556d84;_0x5766ba++)_0x5766ba<_0x3d9e77?_0x44308d[_0x5766ba]=_0x951e6a[_0x5766ba]:(_0x228026=_0x44308d[_0x5766ba-0x1],_0x5766ba%_0x3d9e77?_0x3d9e77>0x6&&_0x5766ba%_0x3d9e77==0x4&&(_0x228026=_0x466edc[_0x228026>>>0x18]<<0x18|_0x466edc[_0x228026>>>0x10&0xff]<<0x10|_0x466edc[_0x228026>>>0x8&0xff]<<0x8|_0x466edc[_0x228026&0xff]):(_0x228026=_0x228026<<0x8|_0x228026>>>0x18,_0x228026=_0x466edc[_0x228026>>>0x18]<<0x18|_0x466edc[_0x228026>>>0x10&0xff]<<0x10|_0x466edc[_0x228026>>>0x8&0xff]<<0x8|_0x466edc[_0x228026&0xff],_0x228026^=_0x5cd23b[_0x5766ba/_0x3d9e77|0x0]<<0x18),_0x44308d[_0x5766ba]=_0x44308d[_0x5766ba-_0x3d9e77]^_0x228026);for(var _0xfd6a5d=this[_0x2bd65e(0x22d)]=[],_0x215a12=0x0;_0x215a12<_0x556d84;_0x215a12++){var _0x5766ba=_0x556d84-_0x215a12;if(_0x215a12%0x4)var _0x228026=_0x44308d[_0x5766ba];else var _0x228026=_0x44308d[_0x5766ba-0x4];_0x215a12<0x4||_0x5766ba<=0x4?_0xfd6a5d[_0x215a12]=_0x228026:_0xfd6a5d[_0x215a12]=_0x322b18[_0x466edc[_0x228026>>>0x18]]^_0x4dd8da[_0x466edc[_0x228026>>>0x10&0xff]]^_0x1a2133[_0x466edc[_0x228026>>>0x8&0xff]]^_0x476c0f[_0x466edc[_0x228026&0xff]];}}},'encryptBlock':function(_0x23fccb,_0x1e2c5c){var _0x3a4da5=_0x28a41f;this[_0x3a4da5(0x3a3)](_0x23fccb,_0x1e2c5c,this[_0x3a4da5(0x1fe)],_0x33b812,_0x42b1db,_0x53b0d5,_0x31fd74,_0x466edc);},'decryptBlock':function(_0x573c44,_0x62d842){var _0x2a7011=_0x28a41f,_0x2c0097=_0x573c44[_0x62d842+0x1];_0x573c44[_0x62d842+0x1]=_0x573c44[_0x62d842+0x3],_0x573c44[_0x62d842+0x3]=_0x2c0097,this['_doCryptBlock'](_0x573c44,_0x62d842,this[_0x2a7011(0x22d)],_0x322b18,_0x4dd8da,_0x1a2133,_0x476c0f,_0x516f80);var _0x2c0097=_0x573c44[_0x62d842+0x1];_0x573c44[_0x62d842+0x1]=_0x573c44[_0x62d842+0x3],_0x573c44[_0x62d842+0x3]=_0x2c0097;},'_doCryptBlock':function(_0x481cda,_0x468919,_0x57af35,_0x430518,_0x205533,_0xe9dc5a,_0x452dae,_0x23614e){var _0x3b4165=_0x28a41f;for(var _0x5c3df8=this[_0x3b4165(0x309)],_0x4fc8f5=_0x481cda[_0x468919]^_0x57af35[0x0],_0x25bbd8=_0x481cda[_0x468919+0x1]^_0x57af35[0x1],_0x1eb5b7=_0x481cda[_0x468919+0x2]^_0x57af35[0x2],_0x33ed70=_0x481cda[_0x468919+0x3]^_0x57af35[0x3],_0x20f4bf=0x4,_0x23d4db=0x1;_0x23d4db<_0x5c3df8;_0x23d4db++){var _0x16903c=_0x430518[_0x4fc8f5>>>0x18]^_0x205533[_0x25bbd8>>>0x10&0xff]^_0xe9dc5a[_0x1eb5b7>>>0x8&0xff]^_0x452dae[_0x33ed70&0xff]^_0x57af35[_0x20f4bf++],_0x328e8d=_0x430518[_0x25bbd8>>>0x18]^_0x205533[_0x1eb5b7>>>0x10&0xff]^_0xe9dc5a[_0x33ed70>>>0x8&0xff]^_0x452dae[_0x4fc8f5&0xff]^_0x57af35[_0x20f4bf++],_0x4ca01f=_0x430518[_0x1eb5b7>>>0x18]^_0x205533[_0x33ed70>>>0x10&0xff]^_0xe9dc5a[_0x4fc8f5>>>0x8&0xff]^_0x452dae[_0x25bbd8&0xff]^_0x57af35[_0x20f4bf++],_0x14dce3=_0x430518[_0x33ed70>>>0x18]^_0x205533[_0x4fc8f5>>>0x10&0xff]^_0xe9dc5a[_0x25bbd8>>>0x8&0xff]^_0x452dae[_0x1eb5b7&0xff]^_0x57af35[_0x20f4bf++];_0x4fc8f5=_0x16903c,_0x25bbd8=_0x328e8d,_0x1eb5b7=_0x4ca01f,_0x33ed70=_0x14dce3;}var _0x16903c=(_0x23614e[_0x4fc8f5>>>0x18]<<0x18|_0x23614e[_0x25bbd8>>>0x10&0xff]<<0x10|_0x23614e[_0x1eb5b7>>>0x8&0xff]<<0x8|_0x23614e[_0x33ed70&0xff])^_0x57af35[_0x20f4bf++],_0x328e8d=(_0x23614e[_0x25bbd8>>>0x18]<<0x18|_0x23614e[_0x1eb5b7>>>0x10&0xff]<<0x10|_0x23614e[_0x33ed70>>>0x8&0xff]<<0x8|_0x23614e[_0x4fc8f5&0xff])^_0x57af35[_0x20f4bf++],_0x4ca01f=(_0x23614e[_0x1eb5b7>>>0x18]<<0x18|_0x23614e[_0x33ed70>>>0x10&0xff]<<0x10|_0x23614e[_0x4fc8f5>>>0x8&0xff]<<0x8|_0x23614e[_0x25bbd8&0xff])^_0x57af35[_0x20f4bf++],_0x14dce3=(_0x23614e[_0x33ed70>>>0x18]<<0x18|_0x23614e[_0x4fc8f5>>>0x10&0xff]<<0x10|_0x23614e[_0x25bbd8>>>0x8&0xff]<<0x8|_0x23614e[_0x1eb5b7&0xff])^_0x57af35[_0x20f4bf++];_0x481cda[_0x468919]=_0x16903c,_0x481cda[_0x468919+0x1]=_0x328e8d,_0x481cda[_0x468919+0x2]=_0x4ca01f,_0x481cda[_0x468919+0x3]=_0x14dce3;},'keySize':0x100/0x20});_0x178208[_0x28a41f(0x1cf)]=_0x130a0e[_0x28a41f(0x10a)](_0x2c7c06);}()),_0x42c7d5[_0x298935(0x1cf)];}));}(Ve)),Ve[_0x48c19e(0x1fd)];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},On=Xe[_0x3ccb73(0x1fd)],si;function Rn(){var _0x3c4986=_0x3ccb73;return si||(si=0x1,function(_0x56a3ee,_0x51d510){(function(_0x31daea,_0x2e40bb){var _0x33d714=_0x89c5;_0x56a3ee[_0x33d714(0x1fd)]=_0x2e40bb(ie());}(On,function(_0x3aa80a){var _0x5e7198=_0x89c5;return _0x3aa80a['enc'][_0x5e7198(0x10c)];}));}(Xe)),Xe[_0x3c4986(0x1fd)];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze[_0x3ccb73(0x1fd)],ni;function Dn(){var _0x4cd546=_0x3ccb73;return ni||(ni=0x1,function(_0x9405cd,_0x3224ed){(function(_0x26b508,_0x95bd1f){var _0xea0f86=_0x89c5;_0x9405cd[_0xea0f86(0x1fd)]=_0x95bd1f(ie());}(bn,function(_0x3c6942){var _0x255808=_0x89c5;return(function(){var _0x438f01=_0x89c5;if(typeof ArrayBuffer==_0x438f01(0x205)){var _0x16e3a0=_0x3c6942,_0x1bf8fe=_0x16e3a0['lib'],_0x14eee7=_0x1bf8fe['WordArray'],_0x5d59f7=_0x14eee7[_0x438f01(0x3a6)],_0x14a84d=_0x14eee7['init']=function(_0xd817f0){var _0x159c13=_0x438f01;if(_0xd817f0 instanceof ArrayBuffer&&(_0xd817f0=new Uint8Array(_0xd817f0)),(_0xd817f0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xd817f0 instanceof Uint8ClampedArray||_0xd817f0 instanceof Int16Array||_0xd817f0 instanceof Uint16Array||_0xd817f0 instanceof Int32Array||_0xd817f0 instanceof Uint32Array||_0xd817f0 instanceof Float32Array||_0xd817f0 instanceof Float64Array)&&(_0xd817f0=new Uint8Array(_0xd817f0[_0x159c13(0x3c9)],_0xd817f0['byteOffset'],_0xd817f0[_0x159c13(0x2ba)])),_0xd817f0 instanceof Uint8Array){for(var _0x3f28d6=_0xd817f0[_0x159c13(0x2ba)],_0x10c7ca=[],_0x331357=0x0;_0x331357<_0x3f28d6;_0x331357++)_0x10c7ca[_0x331357>>>0x2]|=_0xd817f0[_0x331357]<<0x18-_0x331357%0x4*0x8;_0x5d59f7[_0x159c13(0x183)](this,_0x10c7ca,_0x3f28d6);}else _0x5d59f7[_0x159c13(0x2c3)](this,arguments);};_0x14a84d['prototype']=_0x14eee7;}}()),_0x3c6942[_0x255808(0x1ca)][_0x255808(0xcc)];}));}(Ze)),Ze[_0x4cd546(0x1fd)];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe['exports'],ri;function Pn(){var _0x1d16fd=_0x3ccb73;return ri||(ri=0x1,function(_0x555153,_0x541994){(function(_0x18478c,_0xe1e90a,_0x553ead){var _0x2afed6=_0x89c5;_0x555153[_0x2afed6(0x1fd)]=_0xe1e90a(ie(),Ni());}(An,function(_0x2a4eb0){var _0x8c1768=_0x89c5;return _0x2a4eb0[_0x8c1768(0x17c)][_0x8c1768(0x37c)]={'pad':function(){},'unpad':function(){}},_0x2a4eb0[_0x8c1768(0x17c)][_0x8c1768(0x37c)];}));}(Qe)),Qe[_0x1d16fd(0x1fd)];}var wn=Pn();const Mn=$e(wn);function Ln(_0x262d4c,_0x528371){var _0x2f0d30=_0x3ccb73;const _0x479ef2=_0x528371-_0x262d4c[_0x2f0d30(0xec)]%_0x528371,_0x4286aa=String[_0x2f0d30(0x25d)](_0x479ef2)[_0x2f0d30(0xd3)](_0x479ef2);return _0x262d4c+_0x4286aa;}function xn(_0x2ce172,_0x347726){var _0x1292c0=_0x3ccb73;const _0x1d0d1c=Un[_0x1292c0(0x219)](0x10),_0x509265=Ln(_0x2ce172,0x10),_0xec1b6c=gn['encrypt'](Nn[_0x1292c0(0x189)](_0x509265),ii[_0x1292c0(0x189)](_0x347726),{'iv':_0x1d0d1c,'padding':Mn});return _0x1d0d1c[_0x1292c0(0xf4)](_0xec1b6c[_0x1292c0(0x1e6)])[_0x1292c0(0x1be)](ii);}function kn(){var _0x134d65=_0x3ccb73;const _0xb6dd56=_0x12b439()[_0x134d65(0x2ed)];if(_0xb6dd56){const _0x5eafb0={'time':Math[_0x134d65(0x27d)](Date[_0x134d65(0x1f1)]()/0x3e8),'domain':location[_0x134d65(0x216)]};return xn(JSON['stringify'](_0x5eafb0),_0xb6dd56);}}var $n=Object[_0x3ccb73(0x29f)],Hn=(_0x1caa2a,_0x1c2d5e,_0x3ceafc,_0x3c0f19)=>{var _0x4e3ea5=_0x3ccb73;for(var _0x1accbd=_0x3c0f19>0x1?void 0x0:_0x3c0f19?$n(_0x1c2d5e,_0x3ceafc):_0x1c2d5e,_0x3a7b9d=_0x1caa2a[_0x4e3ea5(0xec)]-0x1,_0xc41c5f;_0x3a7b9d>=0x0;_0x3a7b9d--)(_0xc41c5f=_0x1caa2a[_0x3a7b9d])&&(_0x1accbd=_0xc41c5f(_0x1accbd)||_0x1accbd);return _0x1accbd;},Bn=(_0x5e5428,_0x3accb9)=>(_0xe60abc,_0x18080b)=>_0x3accb9(_0xe60abc,_0x18080b,_0x5e5428);let at=class{constructor(_0x4d1424){var _0x1a5e92=_0x3ccb73;this[_0x1a5e92(0x203)]=_0x4d1424,this[_0x1a5e92(0x196)]();}[_0x3ccb73(0x196)](){var _0x1f4d14=_0x3ccb73;this[_0x1f4d14(0x203)]['registerHTTPInterceptor']({'interceptor':(_0x51c3fe,_0x747e8e)=>{const _0x23f756=_0x51c3fe['headers'],_0x55239a=kn();return _0x55239a&&_0x23f756['set']('x-univer-host',_0x55239a),_0x747e8e(_0x51c3fe);}});}};at=Hn([Bn(0x0,_0x3c04a9(_0x28ea36))],at);var jn=Object[_0x3ccb73(0x29f)],Fn=(_0x1721be,_0x297029,_0x12fc49,_0x55f563)=>{var _0x5a386e=_0x3ccb73;for(var _0x5f5969=_0x55f563>0x1?void 0x0:_0x55f563?jn(_0x297029,_0x12fc49):_0x297029,_0x41bb01=_0x1721be[_0x5a386e(0xec)]-0x1,_0x25a9c8;_0x41bb01>=0x0;_0x41bb01--)(_0x25a9c8=_0x1721be[_0x41bb01])&&(_0x5f5969=_0x25a9c8(_0x5f5969)||_0x5f5969);return _0x5f5969;},vt=(_0x503e5a,_0x5ed5f1)=>(_0x513f86,_0x4d9e90)=>_0x5ed5f1(_0x513f86,_0x4d9e90,_0x503e5a);let Ot=class extends _0x4ca438{constructor(_0x189c5e,_0x35bda4,_0x1ae648){var _0x57bb37=_0x3ccb73;super(),D(this,'_unitInfo$',new _0x1b31fe(null)),D(this,_0x57bb37(0x267),this[_0x57bb37(0x384)]['asObservable']()),(this[_0x57bb37(0x142)]=_0x189c5e,this[_0x57bb37(0x114)]=_0x35bda4,this[_0x57bb37(0x308)]=_0x1ae648);}async[_0x3ccb73(0xd7)](_0x55be6d,_0x1768a7,_0x3fec9c){var _0x57b30e=_0x3ccb73;this['_unitInfo$'][_0x57b30e(0x182)]({'unitId':_0x55be6d,'type':_0x1768a7});let _0x24519e=null;switch(_0x1768a7){case Q[_0x57b30e(0x240)]:{_0x24519e=await this['_snapshotService'][_0x57b30e(0x3cd)](_0x55be6d,_0x3fec9c);break;}case Q['UNIVER_DOC']:{_0x24519e=await this['_snapshotService'][_0x57b30e(0x13a)](_0x55be6d,_0x3fec9c);break;}default:{this[_0x57b30e(0x142)][_0x57b30e(0x36b)]('[DataLoaderService]','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x24519e;}async[_0x3ccb73(0x1c0)](_0x5ce8e9,_0x5d91f9,_0x4c2486){var _0x12338a=_0x3ccb73,_0x417a6a;this['_unitInfo$'][_0x12338a(0x182)]({'unitId':_0x5ce8e9,'type':_0x5d91f9,'subUnitId':_0x4c2486});let _0x2eb8d0=0x0;const _0x43af7f=await((_0x417a6a=this['_localCacheService'])==null?void 0x0:_0x417a6a[_0x12338a(0x1bb)](_0x5ce8e9));return _0x43af7f&&(_0x43af7f[_0x12338a(0x295)]||_0x43af7f[_0x12338a(0x2f5)]['length']!==0x0)&&(_0x2eb8d0=_0x43af7f['rev']),_0x2eb8d0===0x0&&this[_0x12338a(0x142)]['debug'](_0x12338a(0x360),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x5ce8e9,_0x5d91f9,_0x2eb8d0);}};Ot=Fn([vt(0x0,_0x15a52e),vt(0x1,_0x3c04a9(_0x45fd65)),vt(0x2,_0x5a83a3(J))],Ot);var Vn=Object[_0x3ccb73(0x29f)],Gn=(_0x5e3051,_0x4cd35b,_0x19e818,_0x3fe0ad)=>{var _0x252142=_0x3ccb73;for(var _0x441e92=_0x3fe0ad>0x1?void 0x0:_0x3fe0ad?Vn(_0x4cd35b,_0x19e818):_0x4cd35b,_0x10090a=_0x5e3051[_0x252142(0xec)]-0x1,_0x2e52bc;_0x10090a>=0x0;_0x10090a--)(_0x2e52bc=_0x5e3051[_0x10090a])&&(_0x441e92=_0x2e52bc(_0x441e92)||_0x441e92);return _0x441e92;},pt=(_0xa12ec2,_0x161362)=>(_0x217848,_0x3449a4)=>_0x161362(_0x217848,_0x3449a4,_0xa12ec2);const Wn=['image/png',_0x3ccb73(0x2ec),'image/jpg',_0x3ccb73(0x246),_0x3ccb73(0x22e)],Yn=0x5*0x400*0x400,Kn=_0x3ccb73(0xea),qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x4c257f,_0x592f3e,_0x179017){var _0x2a054d=_0x3ccb73;D(this,_0x2a054d(0x117),0x0),D(this,_0x2a054d(0x315),new _0x4a9404()),D(this,'change$',this[_0x2a054d(0x315)]),D(this,_0x2a054d(0x11a),new Map()),(this['_httpService']=_0x4c257f,this[_0x2a054d(0x1cb)]=_0x592f3e,this[_0x2a054d(0x137)]=_0x179017);}['setWaitCount'](_0x50dbad){var _0x2820b9=_0x3ccb73;this[_0x2820b9(0x117)]=_0x50dbad,this[_0x2820b9(0x315)][_0x2820b9(0x182)](_0x50dbad);}[_0x3ccb73(0x2bd)](_0x262bdb,_0xe1eb62){var _0x348048=_0x3ccb73;if(_0xe1eb62===_0x36d48e[_0x348048(0x284)]){const _0x1885d6=new Image();return _0x1885d6['src']=_0x262bdb,_0x1885d6;}return this[_0x348048(0x11a)][_0x348048(0x1ff)](_0x262bdb);}[_0x3ccb73(0x372)](_0x4785c7,_0x8a64a0,_0x3c249e){var _0xf4f201=_0x3ccb73;_0x8a64a0===_0x36d48e[_0xf4f201(0x284)]||_0x3c249e==null||this[_0xf4f201(0x11a)]['set'](_0x4785c7,_0x3c249e);}async['getImage'](_0x1f126c){var _0x4f996e=_0x3ccb73;try{const _0x116d28=this[_0x4f996e(0x1b0)](this[_0x4f996e(0x32a)](),''+_0x1f126c),_0x1ea1f2=(await this[_0x4f996e(0x203)][_0x4f996e(0x1ff)](_0x116d28))['body'];if(_0x1ea1f2[_0x4f996e(0x36b)]&&_0x1ea1f2['error']['code']===vi['OK']){const _0x1f8199=new URL(_0x1ea1f2[_0x4f996e(0x349)],this[_0x4f996e(0x270)]())[_0x4f996e(0x1be)]();return Promise[_0x4f996e(0x39c)](_0x1f8199);}return Promise[_0x4f996e(0x389)](_0x1ea1f2['error']);}catch(_0x229061){return Promise[_0x4f996e(0x389)](_0x229061);}}async[_0x3ccb73(0x2eb)](_0x3e58ad){var _0x114c3a=_0x3ccb73;let _0x1f61ac='';if(!Wn[_0x114c3a(0x1b3)](_0x3e58ad[_0x114c3a(0x252)]))return this[_0x114c3a(0x10e)](),Promise['reject'](new Error(_0x272c8a['ERROR_IMAGE_TYPE']));if(_0x3e58ad['size']>Yn)return this['_decreaseWaiting'](),Promise[_0x114c3a(0x389)](new Error(_0x272c8a[_0x114c3a(0x328)]));try{const _0xdfcc14=new FormData();_0xdfcc14['append'](_0x114c3a(0x30e),_0x3e58ad);const _0x5203aa=this['_univerInstanceService'][_0x114c3a(0x222)](),_0x2ef5ba=_0x5203aa==null?void 0x0:_0x5203aa[_0x114c3a(0x11e)]();if(!_0x2ef5ba)throw new Error('unitId\x20is\x20not\x20found');const _0x3ca1f8=this[_0x114c3a(0x122)]()+'?size='+_0x3e58ad[_0x114c3a(0x283)]['toString']()+_0x114c3a(0x29d)+pi[_0x114c3a(0x190)]+'&assign='+encodeURIComponent(_0x2ef5ba),_0x2dba9a={'body':_0xdfcc14},_0x5c4459=(await this['_httpService'][_0x114c3a(0x18d)](_0x3ca1f8,_0x2dba9a))[_0x114c3a(0x1d0)];if(typeof _0x5c4459['FileId']!='string')return this['_decreaseWaiting'](),Promise[_0x114c3a(0x389)](new Error(_0x272c8a['ERROR_IMAGE']));_0x1f61ac=_0x5c4459[_0x114c3a(0x215)];}catch{return this[_0x114c3a(0x10e)](),Promise['reject'](new Error(_0x272c8a[_0x114c3a(0xed)]));}return new Promise((_0x108246,_0x2fd897)=>{var _0x500b0f=_0x114c3a;const _0x28a2ef=new FileReader();_0x28a2ef[_0x500b0f(0x2d5)](_0x3e58ad),_0x28a2ef[_0x500b0f(0x286)]=_0x225717=>{var _0x311635=_0x500b0f,_0x45e806;const _0x42e15a=(_0x45e806=_0x225717['target'])==null?void 0x0:_0x45e806[_0x311635(0x2c0)];if(_0x42e15a==null){this[_0x311635(0x10e)](),_0x2fd897(new Error(_0x272c8a['ERROR_IMAGE']));return;}const _0xe7db00=_0x8e6d43(0x6);_0x108246({'imageId':_0xe7db00,'imageSourceType':_0x36d48e['UUID'],'source':_0x1f61ac,'base64Cache':_0x42e15a,'status':_0x272c8a['SUCCUSS']}),this[_0x311635(0x10e)]();};});}['_getUploadFileURL'](){var _0x5aba96=_0x3ccb73,_0x19e4db;const _0x168143=this[_0x5aba96(0x1cb)][_0x5aba96(0x2c7)](K);return(_0x19e4db=_0x168143==null?void 0x0:_0x168143[_0x5aba96(0x301)])!=null?_0x19e4db:Kn;}[_0x3ccb73(0x32a)](){var _0x408f92=_0x3ccb73,_0x1c143f;const _0x348f53=this[_0x408f92(0x1cb)][_0x408f92(0x2c7)](K);return(_0x1c143f=_0x348f53==null?void 0x0:_0x348f53[_0x408f92(0x391)])!=null?_0x1c143f:qn;}['_getDownloadEndpointURL'](){var _0xb6466b=_0x3ccb73,_0x2213dd;const _0x344215=this[_0xb6466b(0x1cb)][_0xb6466b(0x2c7)](K);return(_0x2213dd=_0x344215==null?void 0x0:_0x344215[_0xb6466b(0x167)])!=null?_0x2213dd:location[_0xb6466b(0x1e9)];}[_0x3ccb73(0x1b0)](_0x530abe,_0x445ba4){var _0x30ef2c=_0x3ccb73;return _0x530abe[_0x30ef2c(0x1bc)](_0x30ef2c(0x1f4),_0x445ba4);}[_0x3ccb73(0x10e)](){var _0x4fe862=_0x3ccb73;this[_0x4fe862(0x117)]-=0x1,this[_0x4fe862(0x315)]['next'](this[_0x4fe862(0x117)]);}};Rt=Gn([pt(0x0,_0x3c04a9(_0x28ea36)),pt(0x1,_0x50087d),pt(0x2,_0x3c04a9(_0x390299))],Rt);var zn=Object[_0x3ccb73(0x29f)],Jn=(_0x261dff,_0x364d2b,_0x3d96ff,_0x15b06c)=>{var _0x29b3e7=_0x3ccb73;for(var _0x5022d1=_0x15b06c>0x1?void 0x0:_0x15b06c?zn(_0x364d2b,_0x3d96ff):_0x364d2b,_0x1710d7=_0x261dff[_0x29b3e7(0xec)]-0x1,_0x10583f;_0x1710d7>=0x0;_0x1710d7--)(_0x10583f=_0x261dff[_0x1710d7])&&(_0x5022d1=_0x10583f(_0x5022d1)||_0x5022d1);return _0x5022d1;},ai=(_0x3d7932,_0x533e7e)=>(_0x5ecac8,_0x4391a6)=>_0x533e7e(_0x5ecac8,_0x4391a6,_0x3d7932);const Xn=_0x3ccb73(0x15a);let Ct=class{constructor(_0x5a9b4f,_0x19aee4){var _0x14094c=_0x3ccb73;this['_configService']=_0x5a9b4f,this[_0x14094c(0xc8)]=_0x19aee4;}[_0x3ccb73(0x18b)](){var _0x30385b=_0x3ccb73,_0x245df4;const _0x2768e2=this['_configService'][_0x30385b(0x2c7)](K);return(_0x245df4=_0x2768e2==null?void 0x0:_0x2768e2['authzUrl'])!=null?_0x245df4:Xn;}async[_0x3ccb73(0x2d8)](_0x307ee1){var _0x47c0f2=_0x3ccb73;const _0x470183=this[_0x47c0f2(0x18b)]()+_0x47c0f2(0x108);return{'list':[{'title':_0x47c0f2(0x3b7),'mentions':(await this['_HTTPService'][_0x47c0f2(0x1ff)](_0x470183,{'params':{'objectID':_0x307ee1[_0x47c0f2(0x171)],'unitID':_0x307ee1['unitId']}}))[_0x47c0f2(0x1d0)]['collaborators'][_0x47c0f2(0x1bf)](_0x44ecfd=>({'objectId':_0x44ecfd['id'],'name':_0x44ecfd['subject'][_0x47c0f2(0x3a9)],'metadata':{'icon':_0x44ecfd[_0x47c0f2(0x1aa)][_0x47c0f2(0x376)]},'label':_0x44ecfd[_0x47c0f2(0x1aa)][_0x47c0f2(0x3a9)],'objectType':_0x2c7728[_0x47c0f2(0x1ef)]})),'metadata':{},'type':_0x2c7728[_0x47c0f2(0x1ef)]}]};}};Ct=Jn([ai(0x0,_0x3c04a9(_0x50087d)),ai(0x1,_0x3c04a9(_0x28ea36))],Ct);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x2ccfa0,_0x2e3515,_0x2bb558,_0x55f0c5)=>{var _0x179fd7=_0x3ccb73;for(var _0x5ededa=_0x55f0c5>0x1?void 0x0:_0x55f0c5?Zn(_0x2e3515,_0x2bb558):_0x2e3515,_0x57d0e1=_0x2ccfa0[_0x179fd7(0xec)]-0x1,_0x959408;_0x57d0e1>=0x0;_0x57d0e1--)(_0x959408=_0x2ccfa0[_0x57d0e1])&&(_0x5ededa=_0x959408(_0x5ededa)||_0x5ededa);return _0x5ededa;},Ue=(_0x3bafc4,_0x568122)=>(_0x2f2edd,_0x101ec3)=>_0x568122(_0x2f2edd,_0x101ec3,_0x3bafc4);let ot=class extends _0x4ca438{constructor(_0x4b2dbb,_0x518f3e,_0x899551,_0x30f585,_0x5e4783){var _0x57fa82=_0x3ccb73;super(),this[_0x57fa82(0x20d)]=_0x4b2dbb,this['_univerInstanceService']=_0x518f3e,this[_0x57fa82(0x1fa)]=_0x899551,this[_0x57fa82(0x19d)]=_0x30f585,this[_0x57fa82(0x31c)]=_0x5e4783,this['_initUnitPermissionChange'](),this[_0x57fa82(0x1f5)]();}[_0x3ccb73(0x1f5)](){var _0x1158a2=_0x3ccb73;const _0x549952=async _0x4b6439=>{var _0x20bd86=_0x89c5;(await this[_0x20bd86(0x19d)][_0x20bd86(0x13c)](_0x4b6439))[_0x20bd86(0x238)][_0x20bd86(0x369)](_0x46652a(_0x344b31=>_0x344b31[_0x20bd86(0x3a5)]===_0x4fac32[_0x20bd86(0x3af)]),_0x189f2f(this['dispose$']))[_0x20bd86(0x17d)](_0x2913e5=>{var _0x4dfcf3=_0x20bd86;const _0x12856c=_0x2913e5,{reason:_0x4bb2c8}=_0x12856c[_0x4dfcf3(0x213)];this[_0x4dfcf3(0x31c)][_0x4dfcf3(0x2af)]({'id':re['CLOSE_ROOM'],'data':_0x4bb2c8}),this['_permissionService'][_0x4dfcf3(0x228)](new _0x19430c(_0x4b6439)['id'],!0x1),this[_0x4dfcf3(0x19d)]['closeSession'](_0x4b6439);});};_0x4ce4e8(this[_0x1158a2(0x137)][_0x1158a2(0xe6)](_0x54cb7d['UNIVER_SHEET']),this[_0x1158a2(0x137)][_0x1158a2(0xe6)](_0x54cb7d[_0x1158a2(0x21e)]))[_0x1158a2(0x369)](_0x3f883a(_0x2ddae0=>_0x2ddae0[_0x1158a2(0x11e)]()),_0x46652a(_0x3b9dcf=>!_0x393377(_0x3b9dcf)),_0x189f2f(this[_0x1158a2(0x33e)]))[_0x1158a2(0x17d)](_0x54ef25=>{_0x549952(_0x54ef25);});}[_0x3ccb73(0x10f)](){var _0x28c59f=_0x3ccb73;const _0x136c0b=async _0x532c97=>{var _0x131c7a=_0x89c5;const _0x421560=await this[_0x131c7a(0x19d)][_0x131c7a(0x13c)](_0x532c97),_0x280159=this[_0x131c7a(0x20d)][_0x131c7a(0x1ff)](_0x36a019);_0x421560[_0x131c7a(0x238)]['pipe'](_0x46652a(_0x1f6792=>_0x1f6792['eventID']===_0x4fac32[_0x131c7a(0x22a)]),_0x189f2f(this[_0x131c7a(0x33e)]))[_0x131c7a(0x17d)](_0x2c9d29=>{var _0x667552=_0x131c7a;const _0x3f924f=_0x2c9d29,{objectId:_0xefa81d}=_0x3f924f[_0x667552(0x213)];_0xefa81d===_0x532c97?_0x280159[_0x667552(0xd0)](_0x532c97):_0x280159[_0x667552(0x12c)](_0x532c97,_0xefa81d);});};_0x4ce4e8(this['_univerInstanceService'][_0x28c59f(0xe6)](_0x54cb7d[_0x28c59f(0x240)]))['pipe'](_0x3f883a(_0x1c1f82=>_0x1c1f82['getUnitId']()),_0x46652a(_0x34d04f=>!_0x393377(_0x34d04f)),_0x189f2f(this[_0x28c59f(0x33e)]))['subscribe'](_0xab0718=>{_0x136c0b(_0xab0718);});}};ot=Qn([Ue(0x0,_0x3c04a9(_0x41d5ef)),Ue(0x1,_0x390299),Ue(0x2,_0x531531),Ue(0x3,_0x3c04a9(we)),Ue(0x4,_0x3c04a9(ve))],ot);var er=Object[_0x3ccb73(0x29f)],tr=(_0x557d8f,_0x540112,_0x5b1d50,_0x20b0bb)=>{var _0x30104d=_0x3ccb73;for(var _0x3e607e=_0x20b0bb>0x1?void 0x0:_0x20b0bb?er(_0x540112,_0x5b1d50):_0x540112,_0x5014fa=_0x557d8f[_0x30104d(0xec)]-0x1,_0x2b5b2e;_0x5014fa>=0x0;_0x5014fa--)(_0x2b5b2e=_0x557d8f[_0x5014fa])&&(_0x3e607e=_0x2b5b2e(_0x3e607e)||_0x3e607e);return _0x3e607e;},oi=(_0x4c6b38,_0x3bae4d)=>(_0x5e9a33,_0x3d2db5)=>_0x3bae4d(_0x5e9a33,_0x3d2db5,_0x4c6b38);let Nt=class{constructor(_0x2e13a2,_0x137c2){var _0x437539=_0x3ccb73;this['_configService']=_0x2e13a2,this[_0x437539(0x203)]=_0x137c2;}async[_0x3ccb73(0x258)](_0x1d400d,_0x445c1d){var _0x47200e=_0x3ccb73,_0x868bb4;const {unitID:_0x556f91,type:_0x47ed46,revision:_0x3e7958=0x0}=_0x445c1d,_0xb2bac3=this[_0x47200e(0x112)]()+'/'+_0x47ed46+_0x47200e(0xde)+_0x556f91+_0x47200e(0x388)+_0x3e7958,_0x4510f9=(await this[_0x47200e(0x203)][_0x47200e(0x1ff)](_0xb2bac3))[_0x47200e(0x1d0)],_0x165a9a=(_0x868bb4=_0x4510f9[_0x47200e(0xf1)])==null?void 0x0:_0x868bb4['workbook'];if(_0x165a9a){const _0x486249=_0x165a9a==null?void 0x0:_0x165a9a[_0x47200e(0x1b2)],_0x3a31ca=_0x3b1bcb[_0x47200e(0x23d)](_0x445631(_0x486249));_0x165a9a[_0x47200e(0x1b2)]=_0x3a31ca,Object['entries'](_0x165a9a['sheets'])[_0x47200e(0x2d3)](([,_0x331575])=>{var _0x2915c1=_0x47200e;const _0x4694dc=_0x331575['originalMeta'],_0x230ab0=_0x3b1bcb[_0x2915c1(0x23d)](_0x445631(_0x4694dc));_0x331575[_0x2915c1(0x1b2)]=_0x230ab0;});}return _0x4510f9;}async[_0x3ccb73(0x2c2)](_0x561d1f,_0x2399d3){var _0x5712a9=_0x3ccb73;const {unitID:_0x3322be,type:_0x2b3d63,blockID:_0x14d679}=_0x2399d3,_0x50dd02=this[_0x5712a9(0x21b)]()+'/'+_0x2b3d63+'/unit/'+_0x3322be+_0x5712a9(0x352)+_0x14d679;return(await this[_0x5712a9(0x203)]['get'](_0x50dd02))['body'];}async['getDeserializedSheetBlock'](_0x432b6e,_0x10eadd){var _0x4a46dc=_0x3ccb73;const {unitID:_0x53a58d,type:_0x2308e9,blockID:_0x2f2a38}=_0x10eadd,_0x12ee4a=this[_0x4a46dc(0x21b)]()+_0x4a46dc(0x352)+_0x2308e9+_0x4a46dc(0xde)+_0x53a58d+_0x4a46dc(0x352)+_0x2f2a38;return(await this[_0x4a46dc(0x203)][_0x4a46dc(0x1ff)](_0x12ee4a))[_0x4a46dc(0x1d0)];}async[_0x3ccb73(0x123)](_0x344330,_0x34b7dd){var _0xb25a5d=_0x3ccb73;const {unitID:_0x4c7713,type:_0x54763b,from:_0x171d5e,to:_0xeab72f}=_0x34b7dd,_0xa722a4=this[_0xb25a5d(0x21b)]()+'/'+_0x54763b+'/unit/'+_0x4c7713+_0xb25a5d(0x130)+_0x171d5e+_0xb25a5d(0x134)+_0xeab72f;return(await this[_0xb25a5d(0x203)][_0xb25a5d(0x1ff)](_0xa722a4))[_0xb25a5d(0x1d0)];}[_0x3ccb73(0x112)](){var _0x6871fb=_0x3ccb73,_0xce9f36;return(_0xce9f36=this[_0x6871fb(0x1cb)][_0x6871fb(0x2c7)](vs))!=null?_0xce9f36:this[_0x6871fb(0x21b)]();}[_0x3ccb73(0x21b)](){var _0x4b9834=_0x3ccb73,_0x476059;const _0x5564fc=this[_0x4b9834(0x1cb)]['getConfig'](K);return(_0x476059=_0x5564fc==null?void 0x0:_0x5564fc['snapshotServerUrl'])!=null?_0x476059:fs;}async['getResourcesRequest'](_0x3036b8,_0x188cb6){var _0x31f0f7=_0x3ccb73;const _0x4c8a44=_0x31f0f7(0x17b)+_0x188cb6['type']+'/unit/'+_0x188cb6[_0x31f0f7(0x14e)]+_0x31f0f7(0x347);return(await this[_0x31f0f7(0x203)]['get'](_0x4c8a44,{'params':{'resourceId':JSON['stringify'](_0x188cb6[_0x31f0f7(0x33a)])}}))[_0x31f0f7(0x1d0)];}['saveSnapshot'](){var _0x524094=_0x3ccb73;throw new Error(_0x524094(0x1e8));}[_0x3ccb73(0x2ff)](){var _0x44a544=_0x3ccb73;throw new Error(_0x44a544(0x1e8));}['saveSheetBlock'](){var _0x292647=_0x3ccb73;throw new Error(_0x292647(0x1e8));}[_0x3ccb73(0x27e)](){var _0x4b5bbc=_0x3ccb73;throw new Error(_0x4b5bbc(0x1e8));}['copyFileMeta'](){var _0x930aa=_0x3ccb73;throw new Error(_0x930aa(0x1e8));}[_0x3ccb73(0x104)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=tr([oi(0x0,_0x50087d),oi(0x1,_0x3c04a9(_0x28ea36))],Nt);var ir=Object[_0x3ccb73(0x29f)],sr=(_0x2f92d7,_0x581697,_0x104531,_0x5bfe25)=>{var _0x54888f=_0x3ccb73;for(var _0x4ab86e=_0x5bfe25>0x1?void 0x0:_0x5bfe25?ir(_0x581697,_0x104531):_0x581697,_0x12cf59=_0x2f92d7[_0x54888f(0xec)]-0x1,_0x16a073;_0x12cf59>=0x0;_0x12cf59--)(_0x16a073=_0x2f92d7[_0x12cf59])&&(_0x4ab86e=_0x16a073(_0x4ab86e)||_0x4ab86e);return _0x4ab86e;},Ae=(_0x920460,_0x2ba75d)=>(_0x11467b,_0x10d01a)=>_0x2ba75d(_0x11467b,_0x10d01a,_0x920460);let bt=class extends _0x4e70db{constructor(_0xd4d658,_0x52e882,_0x4fbb45,_0x290ad0,_0x346185){var _0x27ec51=_0x3ccb73;super(_0xd4d658,_0x52e882,_0x4fbb45),this[_0x27ec51(0x2a1)]=_0x290ad0,this['_logService']=_0x346185;}[_0x3ccb73(0x34b)](_0x6aa87a,_0x440425){var _0x548378=_0x3ccb73;const _0x536045=this[_0x548378(0x3bc)](_0x6aa87a);if(_0x536045)try{const _0x398aaa=this[_0x548378(0x3c5)](_0x536045,_0x440425);this[_0x548378(0x1f6)](_0x6aa87a,_0x398aaa);}catch(_0xd17a34){this[_0x548378(0x142)][_0x548378(0x36b)](_0x548378(0x26a),_0xd17a34),this[_0x548378(0x35a)](_0x6aa87a);}const _0x1a9dc1=this[_0x548378(0x313)](_0x6aa87a);if(_0x1a9dc1)try{const _0x53e56a=this[_0x548378(0x3c5)](_0x1a9dc1,_0x440425);this[_0x548378(0x296)](_0x6aa87a,_0x53e56a);}catch(_0x565e6c){this[_0x548378(0x142)][_0x548378(0x36b)](_0x565e6c),this[_0x548378(0x148)](_0x6aa87a);}}[_0x3ccb73(0x35a)](_0x347996){var _0x125c77=_0x3ccb73;const _0xada466=this[_0x125c77(0x3bc)](_0x347996);_0xada466&&(_0xada466[_0x125c77(0xec)]=0x0,this[_0x125c77(0x106)]());}[_0x3ccb73(0x148)](_0x21ea33){var _0x5bfee3=_0x3ccb73;const _0x5e2cb4=this[_0x5bfee3(0x313)](_0x21ea33);_0x5e2cb4&&(_0x5e2cb4[_0x5bfee3(0xec)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x2fc207,_0x428d2e){var _0x16112d=_0x3ccb73;this[_0x16112d(0x250)][_0x16112d(0x144)](_0x2fc207,_0x428d2e),this[_0x16112d(0x106)]();}[_0x3ccb73(0x296)](_0x56457e,_0x4b4519){var _0x5a41d0=_0x3ccb73;this[_0x5a41d0(0x396)][_0x5a41d0(0x144)](_0x56457e,_0x4b4519),this[_0x5a41d0(0x106)]();}['_transformStack'](_0x121570,_0x244c77){var _0x2135a3=_0x3ccb73;const _0x38fc3f=[];let _0x185a48=_0x244c77,_0x271805=_0x244c77;for(let _0x2f238a=_0x121570[_0x2135a3(0xec)]-0x1;_0x2f238a>=0x0;_0x2f238a--){const {unitID:_0x283c65,undoMutations:_0x42f7d3,redoMutations:_0x3a18ab}=_0x121570[_0x2f238a],_0x57dcf3=this[_0x2135a3(0x2a1)][_0x2135a3(0x335)](_0x185a48,_0x42f7d3),_0x313f89=this[_0x2135a3(0x2a1)][_0x2135a3(0x335)](_0x271805,_0x3a18ab);if(_0xb2ec7a(_0x57dcf3)||_0xb2ec7a(_0x313f89)){this[_0x2135a3(0x142)][_0x2135a3(0x36b)]('[CollaborationUndoRedoService]',_0x2135a3(0x1e0),_0x57dcf3,_0x313f89);break;}_0x185a48=_0x57dcf3[_0x2135a3(0x221)],_0x271805=_0x313f89[_0x2135a3(0x221)],_0x38fc3f['push']({'unitID':_0x283c65,'undoMutations':_0x57dcf3[_0x2135a3(0x2ef)],'redoMutations':_0x313f89[_0x2135a3(0x2ef)]});}return _0x38fc3f[_0x2135a3(0xe0)]();}};bt=sr([Ae(0x0,_0x390299),Ae(0x1,_0xe27c5b),Ae(0x2,_0x2f31a1),Ae(0x3,_0xaf9f7d),Ae(0x4,_0x15a52e)],bt);function _0x89c5(_0x4659ab,_0x1748a4){var _0x4140a2=_0x4140();return _0x89c5=function(_0x89c5e5,_0x3016ac){_0x89c5e5=_0x89c5e5-0xc8;var _0x5ddda5=_0x4140a2[_0x89c5e5];return _0x5ddda5;},_0x89c5(_0x4659ab,_0x1748a4);}var nr=Object[_0x3ccb73(0x2c5)],rr=Object['getOwnPropertyDescriptor'],ar=(_0x873a62,_0x101727,_0x583539)=>_0x101727 in _0x873a62?nr(_0x873a62,_0x101727,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x583539}):_0x873a62[_0x101727]=_0x583539,or=(_0x3b21ed,_0x1891ac,_0x17e79d,_0x5865ab)=>{var _0xa8c463=_0x3ccb73;for(var _0x5c9f91=_0x5865ab>0x1?void 0x0:_0x5865ab?rr(_0x1891ac,_0x17e79d):_0x1891ac,_0x16e5ff=_0x3b21ed[_0xa8c463(0xec)]-0x1,_0x55b147;_0x16e5ff>=0x0;_0x16e5ff--)(_0x55b147=_0x3b21ed[_0x16e5ff])&&(_0x5c9f91=_0x55b147(_0x5c9f91)||_0x5c9f91);return _0x5c9f91;},Et=(_0x358f24,_0x11d266)=>(_0xe853ee,_0x4b5ae3)=>_0x11d266(_0xe853ee,_0x4b5ae3,_0x358f24),cr=(_0x47decd,_0xd7f84d,_0x1548fd)=>ar(_0x47decd,_0xd7f84d+'',_0x1548fd);const _r=_0x3ccb73(0xcb);let Dt=class extends _0x450424{constructor(_0x386945,_0x508c4c,_0x3ca719,_0x5290a9){var _0x463a04=_0x3ccb73;super(),D(this,_0x463a04(0x354)),(this[_0x463a04(0x142)]=_0x508c4c,this[_0x463a04(0x20d)]=_0x3ca719,this[_0x463a04(0x1cb)]=_0x5290a9);const {..._0x39eeee}=_0x5825a0({},Ls,_0x386945);if(!_0x39eeee[_0x463a04(0x279)])throw new Error(_0x463a04(0x34c));this[_0x463a04(0x354)]=_0x39eeee,this[_0x463a04(0x1cb)][_0x463a04(0x13d)](K,_0x39eeee);}[_0x3ccb73(0x2e6)](){var _0x4431c1=_0x3ccb73;this[_0x4431c1(0x166)](),this[_0x4431c1(0x1a0)]();}['_registerDependencies'](){var _0xe7e65d=_0x3ccb73,_0x398ace,_0x4297da;this[_0xe7e65d(0x20d)]['has'](_0x5bf88b)&&this['_logService'][_0xe7e65d(0x36b)](_0xe7e65d(0x3ad),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x360c85=_0x2f010a([[_0x5bf88b,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0xe7e65d(0x354)][_0xe7e65d(0x279)]}],[_0xa43d5e,{'useClass':Nt}],[_0xc29eb3,{'useClass':Tt}],[_0x17fb08,{'useClass':Rt}],[_0x57da59,{'useClass':Ct}],[nt],[gt]],(_0x398ace=this[_0xe7e65d(0x354)])==null?void 0x0:_0x398ace['override']);if(!((_0x4297da=this[_0xe7e65d(0x354)])!=null&&_0x4297da['enableSingleActiveInstanceLock'])){const _0x4855a6=_0x360c85[_0xe7e65d(0x3b4)](([_0x6d0196])=>_0x6d0196===_t);_0x4855a6!==-0x1&&_0x360c85[_0xe7e65d(0x27a)](_0x4855a6,0x1);}_0x414d1c(this[_0xe7e65d(0x20d)],_0x360c85);}[_0x3ccb73(0x1a0)](){var _0x3212f9=_0x3ccb73,_0x46c36a,_0x1b974c,_0x596980;this[_0x3212f9(0x20d)][_0x3212f9(0x1ff)](_0x28ea36)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x21b0e4({'maxParallel':0x6})}),(_0x46c36a=this[_0x3212f9(0x354)])!=null&&_0x46c36a['enableOfflineEditing']||(_0x1b974c=this[_0x3212f9(0x20d)][_0x3212f9(0x1ff)](J,_0x1f0ff1[_0x3212f9(0x18e)]))==null||_0x1b974c[_0x3212f9(0x39b)](),(_0x596980=this[_0x3212f9(0x354)])!=null&&_0x596980['enableAuthServer']&&_0x480502(this[_0x3212f9(0x20d)],[[rt]]),_0x480502(this[_0x3212f9(0x20d)],[[at],[nt],[ot]]);}};cr(Dt,_0x3ccb73(0x30d),_r),Dt=or([_0x785ed4(_0x287264,_0x29ab21),Et(0x1,_0x15a52e),Et(0x2,_0x3c04a9(_0x41d5ef)),Et(0x3,_0x50087d)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Wt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Nr as getLocalCacheKey,Vs as serializeCombRequest};
|
|
1
|
+
var _0x11fce5=_0x26d2;(function(_0x5a17a7,_0x4d8322){var _0x41227f=_0x26d2,_0x43a347=_0x5a17a7();while(!![]){try{var _0x14d98d=parseInt(_0x41227f(0x17d))/0x1+-parseInt(_0x41227f(0x3cf))/0x2+-parseInt(_0x41227f(0x2fb))/0x3*(-parseInt(_0x41227f(0x362))/0x4)+parseInt(_0x41227f(0x1df))/0x5*(parseInt(_0x41227f(0x237))/0x6)+-parseInt(_0x41227f(0x301))/0x7+-parseInt(_0x41227f(0x2d9))/0x8*(parseInt(_0x41227f(0x110))/0x9)+parseInt(_0x41227f(0x320))/0xa;if(_0x14d98d===_0x4d8322)break;else _0x43a347['push'](_0x43a347['shift']());}catch(_0x400c8a){_0x43a347['push'](_0x43a347['shift']());}}}(_0x4970,0x557a5));var bi=Object[_0x11fce5(0x337)],Di=(_0x4e8989,_0x4c5815,_0x38a940)=>_0x4c5815 in _0x4e8989?bi(_0x4e8989,_0x4c5815,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38a940}):_0x4e8989[_0x4c5815]=_0x38a940,D=(_0x5d04ee,_0x591174,_0x442fb0)=>Di(_0x5d04ee,typeof _0x591174!=_0x11fce5(0x3d2)?_0x591174+'':_0x591174,_0x442fb0);import{CollaborationEvent as _0x34af1a,ITransformService as _0x3cb156,isTransformMutationsWithChangesetSuccess as _0x25b4ba,mapDocumentTypeToUniverType as _0x1f81f7,RevisionService as _0x29042f,isTransformChangesetsSuccess as _0x10c704,EmptyMutationInfo as _0x2ee529,CompressMutationService as _0x149eda,parseProtocolChangeset as _0x54c39c,uuidv4 as _0x3eff4d,ISnapshotServerService as _0x596050,parseChangesetToProtocol as _0x104dd3,SnapshotService as _0x4d1a6d,textEncoder as _0x507c6b,b64DecodeUnicode as _0x5804fd,isTransformMutationsWithChangesetFailure as _0x186bcf,UniverCollaborationPlugin as _0x10c7c8}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x12d3b5,Inject as _0x2d55c5,UserManagerService as _0x43ff43,Disposable as _0x75f90f,UniverInstanceType as _0x529613,ILogService as _0x1df9aa,IConfigService as _0x4762e8,Optional as _0xe7a6e7,RxDisposable as _0x3f27f5,createIdentifier as _0x40b8d5,Injector as _0x2fa53b,Tools as _0x39e2a3,Rectangle as _0x7fa524,ICommandService as _0x3a47f5,JSONX as _0x1444c0,IUndoRedoService as _0x33866c,IPermissionService as _0x50b040,LocaleService as _0x246818,sequenceExecute as _0xf67648,toDisposable as _0x91ec0a,CommandType as _0x24c6a0,DisposableCollection as _0x53d4ad,Workbook as _0x39a33e,generateRandomId as _0x4cb107,MentionType as _0x59c210,isInternalEditorID as _0xfd5181,LocalUndoRedoService as _0x129fa2,IContextService as _0x1d39e0,DependentOn as _0x1bc563,Plugin as _0x17b8e2,merge as _0x1dd14a,mergeOverrideWithDependencies as _0x48e071,IAuthzIoService as _0x257af0,IMentionIOService as _0x108e7e,registerDependencies as _0x341bdf,Quantity as _0x56c9f4,touchDependencies as _0x1d83e0}from'@univerjs/core';import{RichTextEditingMutation as _0x312109}from'@univerjs/docs';import{SheetsSelectionsService as _0xf81ac,SetSelectionsOperation as _0x42d879,InsertSheetMutation as _0x32893e,WorkbookEditablePermission as _0x380b83,SheetPermissionInitController as _0x27c6e3}from'@univerjs/sheets';import{Subject as _0x47b396,merge as _0x3697f0,of as _0x55f4fc,BehaviorSubject as _0x5908b4,takeUntil as _0x541d53,ReplaySubject as _0x37b769,take as _0x57d335,map as _0x311905,shareReplay as _0x2ac085,firstValueFrom as _0x4b16f8,concatMap as _0x30be5a}from'rxjs';import{ITelemetryService as _0x3fe893}from'@univerjs/telemetry';import{map as _0x4b0737,take as _0x4ea921,filter as _0x295c81,delay as _0xd9e091,takeUntil as _0xa1274c}from'rxjs/operators';import{HTTPService as _0x4f418b,ISocketService as _0x1664d7,MergeInterceptorFactory as _0x528e9f,HTTPRequest as _0x2eadc7,UniverNetworkPlugin as _0x276b69,ThresholdInterceptorFactory as _0x8d0ab3}from'@univerjs/network';import{ImageSourceType as _0x4c3a25,ImageUploadStatusType as _0x12817a,IImageIoService as _0x5c9491}from'@univerjs/drawing';import{getGlobalObject as _0x2b8b0b}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs='SNAPSHOT_URL_KEY',ps=0x7d0,Es=_0x11fce5(0x2e9),Sr=_0x11fce5(0x1e2),ms=_0x11fce5(0x3e6),Is=0x7530,di=_0x11fce5(0x2b5),fi=0x4e20,Ss=0x4e20,gs=_0x11fce5(0xfa),Ts=0x3,gr=_0x11fce5(0x1f4),Tr=0x3e8,Os='/universer-api/comb',Rs=_0x11fce5(0x1ed),Or=_0x11fce5(0x3d6),Rr=_0x11fce5(0x3c7);var vi=(_0x44fdf9=>(_0x44fdf9[_0x44fdf9['UNDEFINED']=0x0]=_0x11fce5(0x16b),_0x44fdf9[_0x44fdf9['OK']=0x1]='OK',_0x44fdf9[_0x44fdf9[_0x11fce5(0x2d4)]=0x2]=_0x11fce5(0x2d4),_0x44fdf9[_0x44fdf9['PERMISSION_DENIED']=0x3]=_0x11fce5(0x21d),_0x44fdf9[_0x44fdf9['NOT_FOUND']=0x4]=_0x11fce5(0xf2),_0x44fdf9[_0x44fdf9[_0x11fce5(0x3ef)]=0x5]='UNAUTHENTICATED',_0x44fdf9[_0x44fdf9['ALREADY_EXISTS']=0x6]=_0x11fce5(0x245),_0x44fdf9[_0x44fdf9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x44fdf9[_0x44fdf9[_0x11fce5(0x3da)]=0x8]='TOO_MANY_REQUESTS',_0x44fdf9[_0x44fdf9['COMPLETION_FINISHED']=0x9]=_0x11fce5(0x303),_0x44fdf9[_0x44fdf9[_0x11fce5(0x257)]=0xa]='LOGIN_FAILED',_0x44fdf9[_0x44fdf9[_0x11fce5(0x16a)]=0xb]=_0x11fce5(0x16a),_0x44fdf9[_0x44fdf9[_0x11fce5(0x273)]=0xc]=_0x11fce5(0x273),_0x44fdf9[_0x44fdf9[_0x11fce5(0x3e4)]=0xd]=_0x11fce5(0x3e4),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2f8)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x44fdf9[_0x44fdf9[_0x11fce5(0x399)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x44fdf9[_0x44fdf9[_0x11fce5(0x2dd)]=0x10]=_0x11fce5(0x2dd),_0x44fdf9[_0x44fdf9['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x11fce5(0x25e),_0x44fdf9[_0x44fdf9['ERROR_AGAIN']=0x65]=_0x11fce5(0x322),_0x44fdf9[_0x44fdf9[_0x11fce5(0x197)]=0xc9]=_0x11fce5(0x197),_0x44fdf9[_0x44fdf9['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x44fdf9[_0x44fdf9[_0x11fce5(0x131)]=0x1389]=_0x11fce5(0x131),_0x44fdf9[_0x44fdf9[_0x11fce5(0x323)]=0x1771]=_0x11fce5(0x323),_0x44fdf9[_0x44fdf9[_0x11fce5(0x265)]=0x1772]=_0x11fce5(0x265),_0x44fdf9[_0x44fdf9[_0x11fce5(0x36e)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x44fdf9[_0x44fdf9[_0x11fce5(0x28b)]=0x1b59]=_0x11fce5(0x28b),_0x44fdf9[_0x44fdf9[_0x11fce5(0x3dd)]=0x1b5a]=_0x11fce5(0x3dd),_0x44fdf9[_0x44fdf9['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x44fdf9[_0x44fdf9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x11fce5(0x163),_0x44fdf9[_0x44fdf9[_0x11fce5(0x1e3)]=0x1b5d]=_0x11fce5(0x1e3),_0x44fdf9[_0x44fdf9[_0x11fce5(0x3cd)]=0x1f41]=_0x11fce5(0x3cd),_0x44fdf9[_0x44fdf9[_0x11fce5(0x286)]=0x2329]=_0x11fce5(0x286),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2f5)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x44fdf9[_0x44fdf9[_0x11fce5(0x376)]=0x232b]=_0x11fce5(0x376),_0x44fdf9[_0x44fdf9[_0x11fce5(0x1a5)]=0x232c]=_0x11fce5(0x1a5),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2b2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x44fdf9[_0x44fdf9[_0x11fce5(0x12f)]=0x2711]=_0x11fce5(0x12f),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2c2)]=0x2712]=_0x11fce5(0x2c2),_0x44fdf9[_0x44fdf9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x11fce5(0x3dc),_0x44fdf9[_0x44fdf9[_0x11fce5(0x27a)]=0x2714]=_0x11fce5(0x27a),_0x44fdf9[_0x44fdf9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x44fdf9[_0x44fdf9[_0x11fce5(0x168)]=0x271b]=_0x11fce5(0x168),_0x44fdf9[_0x44fdf9[_0x11fce5(0x281)]=0x271c]=_0x11fce5(0x281),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2b3)]=0x271d]=_0x11fce5(0x2b3),_0x44fdf9[_0x44fdf9[_0x11fce5(0x39c)]=0x271e]=_0x11fce5(0x39c),_0x44fdf9[_0x44fdf9[_0x11fce5(0x22d)]=0x271f]=_0x11fce5(0x22d),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2cd)]=0x2720]=_0x11fce5(0x2cd),_0x44fdf9[_0x44fdf9[_0x11fce5(0x1e6)]=0x2af9]=_0x11fce5(0x1e6),_0x44fdf9[_0x44fdf9['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x11fce5(0x151),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2b9)]=0x2ee2]=_0x11fce5(0x2b9),_0x44fdf9[_0x44fdf9['INVITE_CODE_REQUIRED']=0x2ee3]=_0x11fce5(0x123),_0x44fdf9[_0x44fdf9[_0x11fce5(0x371)]=0x2ee4]=_0x11fce5(0x371),_0x44fdf9[_0x44fdf9[_0x11fce5(0x208)]=0x2ee5]=_0x11fce5(0x208),_0x44fdf9[_0x44fdf9['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x44fdf9[_0x44fdf9[_0x11fce5(0x2bc)]=0x32ca]=_0x11fce5(0x2bc),_0x44fdf9[_0x44fdf9['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x11fce5(0x2a6),_0x44fdf9[_0x44fdf9['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x11fce5(0x3c6),_0x44fdf9[_0x44fdf9[_0x11fce5(0x374)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x44fdf9[_0x44fdf9[_0x11fce5(0x238)]=0x36b3]=_0x11fce5(0x238),_0x44fdf9[_0x44fdf9[_0x11fce5(0x1ca)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x44fdf9[_0x44fdf9[_0x11fce5(0x160)]=0x3715]=_0x11fce5(0x160),_0x44fdf9[_0x44fdf9['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x11fce5(0x3ab),_0x44fdf9[_0x44fdf9[_0x11fce5(0x108)]=0x3717]=_0x11fce5(0x108),_0x44fdf9[_0x44fdf9[_0x11fce5(0x1ef)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x44fdf9[_0x44fdf9[_0x11fce5(0x18c)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x44fdf9[_0x44fdf9[_0x11fce5(0x112)]=0x3a9a]=_0x11fce5(0x112),_0x44fdf9[_0x44fdf9[_0x11fce5(0x153)]=0x3a9b]=_0x11fce5(0x153),_0x44fdf9[_0x44fdf9[_0x11fce5(0x38d)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x44fdf9[_0x44fdf9['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x11fce5(0x2c0),_0x44fdf9[_0x44fdf9[_0x11fce5(0x1b7)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x44fdf9[_0x44fdf9['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x11fce5(0x1f7),_0x44fdf9[_0x44fdf9['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x11fce5(0x3df),_0x44fdf9[_0x44fdf9[_0x11fce5(0x31e)]=-0x1]='UNRECOGNIZED',_0x44fdf9))(vi||{}),Q=(_0x5b68e3=>(_0x5b68e3[_0x5b68e3[_0x11fce5(0x285)]=0x0]='UNIVER_UNKNOWN',_0x5b68e3[_0x5b68e3[_0x11fce5(0x346)]=0x1]='UNIVER_DOC',_0x5b68e3[_0x5b68e3['UNIVER_SHEET']=0x2]=_0x11fce5(0x190),_0x5b68e3[_0x5b68e3['UNIVER_SLIDE']=0x3]=_0x11fce5(0x39b),_0x5b68e3[_0x5b68e3['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x5b68e3[_0x5b68e3[_0x11fce5(0x31e)]=-0x1]='UNRECOGNIZED',_0x5b68e3))(Q||{}),j=(_0x27ae3b=>(_0x27ae3b[_0x27ae3b[_0x11fce5(0x19f)]=0x0]='UNKNOWN_CMD',_0x27ae3b[_0x27ae3b['HELLO']=0x1]=_0x11fce5(0x1bb),_0x27ae3b[_0x27ae3b[_0x11fce5(0xf3)]=0x2]=_0x11fce5(0xf3),_0x27ae3b[_0x27ae3b[_0x11fce5(0x147)]=0x3]=_0x11fce5(0x147),_0x27ae3b[_0x27ae3b[_0x11fce5(0x15e)]=0x4]='INGEST',_0x27ae3b[_0x27ae3b['HEARTBEAT']=0x5]=_0x11fce5(0x271),_0x27ae3b[_0x27ae3b['RECV']=0x6]=_0x11fce5(0x29f),_0x27ae3b[_0x27ae3b[_0x11fce5(0x31e)]=-0x1]=_0x11fce5(0x31e),_0x27ae3b))(j||{}),pe=(_0x1f8a3b=>(_0x1f8a3b[_0x1f8a3b[_0x11fce5(0x1d6)]=0x0]='UNKNOWN_CODE',_0x1f8a3b[_0x1f8a3b['OK']=0x1]='OK',_0x1f8a3b[_0x1f8a3b['FAIL']=0x2]='FAIL',_0x1f8a3b[_0x1f8a3b['JOIN_ROOM_FULL']=0x3e9]=_0x11fce5(0x26a),_0x1f8a3b[_0x1f8a3b[_0x11fce5(0x209)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x1f8a3b[_0x1f8a3b[_0x11fce5(0x180)]=0x3eb]=_0x11fce5(0x180),_0x1f8a3b[_0x1f8a3b[_0x11fce5(0x2ae)]=0x3ec]=_0x11fce5(0x2ae),_0x1f8a3b[_0x1f8a3b['UNRECOGNIZED']=-0x1]=_0x11fce5(0x31e),_0x1f8a3b))(pe||{}),pi=(_0x347af0=>(_0x347af0[_0x347af0['Undefined']=0x0]=_0x11fce5(0x248),_0x347af0[_0x347af0['HttpImport']=0x1]=_0x11fce5(0x1d7),_0x347af0[_0x347af0['HttpExport']=0x2]=_0x11fce5(0x215),_0x347af0[_0x347af0[_0x11fce5(0xf0)]=0x3]='UnitEmbedded',_0x347af0[_0x347af0['UnitSnapshot']=0x4]=_0x11fce5(0x119),_0x347af0[_0x347af0[_0x11fce5(0x392)]=0x5]=_0x11fce5(0x392),_0x347af0[_0x347af0[_0x11fce5(0x357)]=0x6]=_0x11fce5(0x357),_0x347af0[_0x347af0[_0x11fce5(0x31e)]=-0x1]=_0x11fce5(0x31e),_0x347af0))(pi||{});const Cs=_0x11fce5(0x37e);function Ns(_0x41c233){var _0x575c49=_0x11fce5;return JSON[_0x575c49(0x3be)](_0x41c233)[_0x575c49(0x115)];}var re=(_0x534974=>(_0x534974['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x534974[_0x11fce5(0x21d)]=_0x11fce5(0x21d),_0x534974['CONFLICT']='CONFLICT',_0x534974[_0x11fce5(0x130)]=_0x11fce5(0x130),_0x534974[_0x11fce5(0x16d)]=_0x11fce5(0x16d),_0x534974['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x534974['SOCKET_FAILED']=_0x11fce5(0x269),_0x534974[_0x11fce5(0x364)]=_0x11fce5(0x364),_0x534974))(re||{});class ve{constructor(){var _0xbfeee8=_0x11fce5;D(this,_0xbfeee8(0x2f9),new _0x47b396()),D(this,_0xbfeee8(0x25f),this[_0xbfeee8(0x2f9)]['asObservable']());}[_0x11fce5(0x351)](_0x3a9b0f){var _0x38f60e=_0x11fce5;this['_event$'][_0x38f60e(0x16e)](_0x3a9b0f);}}class Ei{constructor(){var _0x1bef6d=_0x11fce5;D(this,'_commentUpdate$',new _0x47b396()),D(this,'commentUpdate$',this[_0x1bef6d(0x2b8)][_0x1bef6d(0x3c5)]());}['onCommentUpdate'](_0x201293){var _0x501246=_0x11fce5;this[_0x501246(0x2b8)]['next'](_0x201293);}}var bs=Object[_0x11fce5(0x381)],Ds=(_0x25c40b,_0x2e7ee1,_0x455658,_0x4cf008)=>{var _0x1a0aac=_0x11fce5;for(var _0x2fec31=_0x4cf008>0x1?void 0x0:_0x4cf008?bs(_0x2e7ee1,_0x455658):_0x2e7ee1,_0x23e4bc=_0x25c40b[_0x1a0aac(0x115)]-0x1,_0x4573a4;_0x23e4bc>=0x0;_0x23e4bc--)(_0x4573a4=_0x25c40b[_0x23e4bc])&&(_0x2fec31=_0x4573a4(_0x2fec31)||_0x2fec31);return _0x2fec31;},Ft=(_0x478372,_0x15723a)=>(_0x4269a4,_0x2f238f)=>_0x15723a(_0x4269a4,_0x2f238f,_0x478372);let Pe=class extends _0x75f90f{constructor(_0x2cc6b8,_0x22ff07){var _0x4a4610=_0x11fce5;super(),D(this,'_roomMembers',new Map()),D(this,_0x4a4610(0x2fe),new _0x47b396()),(this[_0x4a4610(0x2c5)]=_0x2cc6b8,this[_0x4a4610(0x2ab)]=_0x22ff07,this[_0x4a4610(0x3b2)](_0x3697f0(this[_0x4a4610(0x2c5)][_0x4a4610(0x35e)](_0x529613[_0x4a4610(0x190)])[_0x4a4610(0x377)](_0x4b0737(_0x427c40=>_0x427c40['getUnitId']())),this[_0x4a4610(0x2c5)]['getTypeOfUnitDisposed$'](_0x529613[_0x4a4610(0x346)])['pipe'](_0x4b0737(_0x46db90=>_0x46db90[_0x4a4610(0x378)]())),this[_0x4a4610(0x2c5)][_0x4a4610(0x35e)](_0x529613['UNIVER_SLIDE'])[_0x4a4610(0x377)](_0x4b0737(_0x31e990=>_0x31e990['getUnitId']())))[_0x4a4610(0x1c6)](_0xc7bfdf=>this[_0x4a4610(0x27f)](_0xc7bfdf))));}[_0x11fce5(0x3aa)](_0x882be){var _0x31aa86=_0x11fce5;return this[_0x31aa86(0x175)][_0x31aa86(0x33c)](_0x882be)?_0x55f4fc(this[_0x31aa86(0x175)][_0x31aa86(0x277)](_0x882be)):this[_0x31aa86(0x2fe)]['pipe'](_0x4b0737(_0xf3e845=>{var _0x30e3b5=_0x31aa86;if(_0xf3e845===_0x882be)return this[_0x30e3b5(0x175)][_0x30e3b5(0x277)](_0xf3e845);}));}[_0x11fce5(0x2ce)](_0x470c8f){var _0x234796=_0x11fce5;this[_0x234796(0x2ab)][_0x234796(0x2ce)](_0x470c8f);}[_0x11fce5(0x2fa)](){var _0x40d8d2=_0x11fce5;return this[_0x40d8d2(0x2ab)][_0x40d8d2(0x2fa)]();}[_0x11fce5(0x120)](_0x4768d5,_0x510dda){var _0x4f0165=_0x11fce5;let _0x44ba19=this[_0x4f0165(0x175)][_0x4f0165(0x277)](_0x4768d5);_0x44ba19||(_0x44ba19=new ys(),this['_roomMembers'][_0x4f0165(0x231)](_0x4768d5,_0x44ba19),this[_0x4f0165(0x2fe)][_0x4f0165(0x16e)](_0x4768d5)),_0x44ba19[_0x4f0165(0x120)](_0x510dda);}[_0x11fce5(0x1d9)](_0x3dee5c,_0x1a38a2){var _0x59f001=_0x11fce5;const _0x527a94=this[_0x59f001(0x175)][_0x59f001(0x277)](_0x3dee5c);_0x527a94&&_0x527a94['removeMember'](_0x1a38a2);}['getRoom'](_0x5045d2){var _0x2b1218=_0x11fce5;return this[_0x2b1218(0x175)][_0x2b1218(0x277)](_0x5045d2);}['getMember'](_0x46abc3,_0x306d3a){var _0x51e8cb=_0x11fce5;const _0x22f568=this[_0x51e8cb(0x175)][_0x51e8cb(0x277)](_0x46abc3);if(_0x22f568)return _0x22f568[_0x51e8cb(0x3ce)](_0x306d3a);}[_0x11fce5(0x27f)](_0x26d747){var _0xf7f0d9=_0x11fce5;const _0xe7688a=this[_0xf7f0d9(0x175)]['get'](_0x26d747);_0xe7688a&&(_0xe7688a[_0xf7f0d9(0x3e7)](),this[_0xf7f0d9(0x175)][_0xf7f0d9(0x29a)](_0x26d747));}[_0x11fce5(0x3e7)](){var _0x3d6b8a=_0x11fce5;this[_0x3d6b8a(0x175)][_0x3d6b8a(0x390)](_0xc7f4b7=>_0xc7f4b7[_0x3d6b8a(0x3e7)]()),this['_roomMembers'][_0x3d6b8a(0x3bd)](),this[_0x3d6b8a(0x2fe)][_0x3d6b8a(0x213)]();}};Pe=Ds([Ft(0x0,_0x12d3b5),Ft(0x1,_0x2d55c5(_0x43ff43))],Pe);class ys extends _0x75f90f{constructor(){var _0x4552a9=_0x11fce5;super(...arguments),D(this,_0x4552a9(0x37d),new Map()),D(this,_0x4552a9(0x1d5),new _0x5908b4(this[_0x4552a9(0x37d)])),D(this,_0x4552a9(0x2ea),this['_members$'][_0x4552a9(0x3c5)]());}['dispose'](){var _0x22aef6=_0x11fce5;this['_members'][_0x22aef6(0x3bd)]();}[_0x11fce5(0x120)](_0x4b374f){var _0x7852eb=_0x11fce5;this[_0x7852eb(0x37d)][_0x7852eb(0x231)](_0x4b374f[_0x7852eb(0x2ff)],_0x4b374f),this[_0x7852eb(0x18d)]();}[_0x11fce5(0x1d9)](_0x2a8f29){this['_members']['delete'](_0x2a8f29);}[_0x11fce5(0x3ce)](_0x4fb7fa){var _0xe82f3a=_0x11fce5;return this['_members'][_0xe82f3a(0x277)](_0x4fb7fa);}['getAllMembers'](){var _0x2506a5=_0x11fce5;return Array[_0x2506a5(0x15a)](this[_0x2506a5(0x37d)]['values']());}[_0x11fce5(0x18d)](){var _0x37a54c=_0x11fce5;this[_0x37a54c(0x1d5)][_0x37a54c(0x16e)](this[_0x37a54c(0x37d)]);}}var Us=Object[_0x11fce5(0x381)],As=(_0x5f17a6,_0xd86981,_0x1a3d38,_0x15b33a)=>{var _0x1b9bfd=_0x11fce5;for(var _0x123b5f=_0x15b33a>0x1?void 0x0:_0x15b33a?Us(_0xd86981,_0x1a3d38):_0xd86981,_0x8abfb3=_0x5f17a6[_0x1b9bfd(0x115)]-0x1,_0x1913a0;_0x8abfb3>=0x0;_0x8abfb3--)(_0x1913a0=_0x5f17a6[_0x8abfb3])&&(_0x123b5f=_0x1913a0(_0x123b5f)||_0x123b5f);return _0x123b5f;},Oe=(_0x4ff5a8,_0x22a690)=>(_0x3eb5ec,_0x52d4f3)=>_0x22a690(_0x3eb5ec,_0x52d4f3,_0x4ff5a8),me=(_0xcac2fc=>(_0xcac2fc[_0xcac2fc[_0x11fce5(0x124)]=0x0]=_0x11fce5(0x124),_0xcac2fc[_0xcac2fc['JOINING']=0x1]=_0x11fce5(0x210),_0xcac2fc[_0xcac2fc['OFFLINE']=0x2]=_0x11fce5(0x353),_0xcac2fc[_0xcac2fc[_0x11fce5(0x173)]=0x3]=_0x11fce5(0x173),_0xcac2fc))(me||{});const jt={[pe[_0x11fce5(0x270)]]:_0x11fce5(0x38c),[pe[_0x11fce5(0x26a)]]:_0x11fce5(0x359),[pe[_0x11fce5(0x209)]]:'session.room-not-exists',[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x11fce5(0x201),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x11fce5(0x3e3)};let mt=class extends _0x3f27f5{constructor(_0x4d6343,_0x563b0b,_0x17072c,_0x107421,_0x4ecb8d,_0x4c17a8,_0x212daa,_0x24df6c){var _0x4d4f80=_0x11fce5;super(),D(this,'_sessionStatus$',new _0x5908b4(0x0)),D(this,_0x4d4f80(0x262),this[_0x4d4f80(0x2c7)][_0x4d4f80(0x3c5)]()),D(this,_0x4d4f80(0x2f9),new _0x47b396()),D(this,'event$',this[_0x4d4f80(0x2f9)][_0x4d4f80(0x3c5)]()),D(this,_0x4d4f80(0x31a)),D(this,_0x4d4f80(0x33b)),D(this,_0x4d4f80(0x11c)),D(this,_0x4d4f80(0x26c),!0x1),D(this,_0x4d4f80(0x3ea),null),(this[_0x4d4f80(0x283)]=_0x4d6343,this['_logService']=_0x17072c,this[_0x4d4f80(0x182)]=_0x107421,this[_0x4d4f80(0x12e)]=_0x4ecb8d,this[_0x4d4f80(0x217)]=_0x4c17a8,this[_0x4d4f80(0x318)]=_0x212daa,this[_0x4d4f80(0x1fb)]=_0x24df6c,this[_0x4d4f80(0x26c)]=!!this[_0x4d4f80(0x1fb)],_0x563b0b[_0x4d4f80(0x377)](_0x541d53(this[_0x4d4f80(0x106)]))[_0x4d4f80(0x1c6)](_0x535813=>{var _0x4e8288=_0x4d4f80,_0x207de7;typeof _0x535813>'u'||(this[_0x4e8288(0x31a)]=_0x535813,_0x535813?(this[_0x4e8288(0x2a2)](_0x535813),this[_0x4e8288(0x33b)]=_0x535813[_0x4e8288(0x354)][_0x4e8288(0x1c6)](_0x346111=>{var _0x417159=_0x4e8288;_0x346111[_0x417159(0x363)]===this[_0x417159(0x283)]&&this['_onCombEvent'](_0x346111);})):(this[_0x4e8288(0x28e)](),this[_0x4e8288(0x2c7)]['next'](0x2),(_0x207de7=this[_0x4e8288(0x33b)])==null||_0x207de7[_0x4e8288(0x388)](),this[_0x4e8288(0x33b)]=null));}));}get[_0x11fce5(0x382)](){var _0x1b0051=_0x11fce5;return this[_0x1b0051(0x2c7)][_0x1b0051(0x293)]();}[_0x11fce5(0x3ff)](){var _0x320165=_0x11fce5,_0x15e8f4,_0x496c11;return(_0x496c11=(_0x15e8f4=this['_socket'])==null?void 0x0:_0x15e8f4[_0x320165(0x2ff)])!=null?_0x496c11:null;}[_0x11fce5(0x3e7)](){var _0x396e21=_0x11fce5;super[_0x396e21(0x3e7)](),this[_0x396e21(0x106)]['next'](),this['dispose$']['complete']();}['close'](){var _0x5d62fd=_0x11fce5,_0x21c3e3,_0x210e17;this[_0x5d62fd(0x28e)](),(_0x21c3e3=this['_socket'])==null||_0x21c3e3[_0x5d62fd(0x338)]({'cmd':j[_0x5d62fd(0x147)],'data':{'roomID':this[_0x5d62fd(0x283)]}}),(_0x210e17=this[_0x5d62fd(0x31a)])==null||_0x210e17['close'](),this[_0x5d62fd(0x2f9)]['complete'](),this['_sessionStatus$'][_0x5d62fd(0x213)](),this[_0x5d62fd(0x3e7)]();}[_0x11fce5(0x192)](_0x87a47){var _0x3029d8=_0x11fce5;_0x87a47[_0x3029d8(0x2c6)]===j[_0x3029d8(0xf3)]?this[_0x3029d8(0x2b0)](_0x87a47):_0x87a47[_0x3029d8(0x2c6)]===j[_0x3029d8(0x29f)]&&this['_onRecvEvent'](_0x87a47);}['_joinRoom'](_0x16a427){var _0x398afd=_0x11fce5;this[_0x398afd(0x2c7)][_0x398afd(0x16e)](0x1),_0x16a427[_0x398afd(0x338)]({'cmd':j[_0x398afd(0xf3)],'routeKey':this[_0x398afd(0x283)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x11fce5(0x2b0)](_0x294416){var _0x4de816=_0x11fce5,_0x53ba9d;if(_0x294416['code']in jt){this['_collaborationUIEventService']['emitEvent']({'id':re[_0x4de816(0x16d)],'data':jt[_0x294416[_0x4de816(0x2a8)]]}),this['_sessionStatus$'][_0x4de816(0x16e)](0x2);return;}this['_sessionStatus$'][_0x4de816(0x16e)](0x3);const _0x231b08=(_0x53ba9d=_0x294416[_0x4de816(0x292)][_0x4de816(0x148)][this['_unitID']])==null?void 0x0:_0x53ba9d[_0x4de816(0xef)];_0x231b08&&_0x231b08[_0x4de816(0x390)](_0x2d3c31=>this[_0x4de816(0x12e)][_0x4de816(0x120)](this[_0x4de816(0x283)],_0x2d3c31));}[_0x11fce5(0x2d5)](_0x3693c2){var _0x1426e5=_0x11fce5;try{const _0x8bba51=_0x3693c2[_0x1426e5(0x292)];switch(_0x8bba51[_0x1426e5(0x3cb)]){case _0x34af1a[_0x1426e5(0x391)]:this['_onUserJoin'](_0x8bba51),this['_event$'][_0x1426e5(0x16e)](_0x8bba51);break;case _0x34af1a['USERS_LEAVE']:this[_0x1426e5(0x276)](_0x8bba51),this[_0x1426e5(0x2f9)][_0x1426e5(0x16e)](_0x8bba51);break;case _0x34af1a['CHANGESET_ACK']:case _0x34af1a['CHANGESET_SHOULD_RETRY']:this[_0x1426e5(0x296)](),this[_0x1426e5(0x118)](),this[_0x1426e5(0x2f9)][_0x1426e5(0x16e)](_0x8bba51);break;case _0x34af1a[_0x1426e5(0x2b6)]:this[_0x1426e5(0x313)][_0x1426e5(0x177)](_0x1426e5(0x31c)+JSON[_0x1426e5(0x3be)](_0x8bba51)),this[_0x1426e5(0x2f9)][_0x1426e5(0x16e)](_0x8bba51);break;case _0x34af1a[_0x1426e5(0xf8)]:this[_0x1426e5(0x217)][_0x1426e5(0x2e1)](_0x8bba51[_0x1426e5(0x292)]),this[_0x1426e5(0x2f9)][_0x1426e5(0x16e)](_0x8bba51);break;default:this[_0x1426e5(0x2f9)][_0x1426e5(0x16e)](_0x8bba51);}}catch(_0x52533e){this['_logService'][_0x1426e5(0x177)](_0x52533e,_0x3693c2);}}[_0x11fce5(0x1da)](_0x549854){var _0x41126a=_0x11fce5;this[_0x41126a(0x12e)][_0x41126a(0x120)](this[_0x41126a(0x283)],_0x549854[_0x41126a(0x292)]);}[_0x11fce5(0x276)](_0x38a462){var _0x3548e0=_0x11fce5;this['_memberService'][_0x3548e0(0x1d9)](this[_0x3548e0(0x283)],_0x38a462['data'][_0x3548e0(0x2ff)]);}async[_0x11fce5(0x338)](_0x2f2323,_0x1f1ef2){var _0x26a173=_0x11fce5;if(this[_0x26a173(0x382)]!==0x3||!this[_0x26a173(0x31a)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2f2323[_0x26a173(0x3cb)]===_0x34af1a[_0x26a173(0x1d1)]&&(this[_0x26a173(0x104)](),this['_startTelemetryCollaborationNewChangeset'](_0x2f2323)),this[_0x26a173(0x31a)][_0x26a173(0x338)]({'cmd':j[_0x26a173(0x15e)],'routeKey':_0x1f1ef2,'routeType':'','data':_0x2f2323});}catch(_0x4a08eb){this['_logService']['error'](_0x4a08eb);}}[_0x11fce5(0x104)](){var _0x32b916=_0x11fce5,_0x10904d;this[_0x32b916(0x11c)]=setTimeout(()=>{var _0x177958=_0x32b916;this['_collaborationTimeoutTimer']=null,this[_0x177958(0x318)][_0x177958(0x351)]({'id':re[_0x177958(0x364)]});},(_0x10904d=this[_0x32b916(0x182)]['getConfig'](di))!=null?_0x10904d:fi);}[_0x11fce5(0x118)](){var _0x3b1479=_0x11fce5;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x3b1479(0x11c)]),this[_0x3b1479(0x11c)]=null);}[_0x11fce5(0x2f3)](_0x4bc744){var _0xd0c8c0=_0x11fce5;if(!this[_0xd0c8c0(0x26c)])return;const {data:_0x426e71}=_0x4bc744,{unitID:_0x14dff0,changeset:_0xc7c827}=_0x426e71,{mutations:_0x20e4db,type:_0x45f8b0}=_0xc7c827;this['_telemetryInfo']={'unitId':_0x14dff0,'type':_0x45f8b0,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x20e4db)};}[_0x11fce5(0x296)](){var _0x570f78=_0x11fce5;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x570f78(0x313)][_0x570f78(0x177)](_0x570f78(0x39f),_0x570f78(0x26e));return;}this[_0x570f78(0x3ea)][_0x570f78(0x373)]=performance[_0x570f78(0x219)](),this[_0x570f78(0x3ea)][_0x570f78(0x214)]=this['_telemetryInfo'][_0x570f78(0x373)]-this[_0x570f78(0x3ea)][_0x570f78(0x3b4)],this[_0x570f78(0x1fb)][_0x570f78(0x375)](Cs,this[_0x570f78(0x3ea)]),this['_telemetryInfo']=null;}}[_0x11fce5(0x28e)](){var _0x552929=_0x11fce5;this[_0x552929(0x3ea)]=null;}};mt=As([Oe(0x2,_0x1df9aa),Oe(0x3,_0x4762e8),Oe(0x4,_0x2d55c5(Pe)),Oe(0x5,_0x2d55c5(Ei)),Oe(0x6,_0x2d55c5(ve)),Oe(0x7,_0xe7a6e7(_0x3fe893))],mt);const J=_0x40b8d5('collaboration-client.local-cache-service');function Cr(_0x1ad067){return'unit-cache-'+_0x1ad067;}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0x5e2842,_0x56e7c6,_0x33f652,_0x353b4c)=>{var _0x52302e=_0x11fce5;for(var _0x513796=_0x353b4c>0x1?void 0x0:_0x353b4c?Ps(_0x56e7c6,_0x33f652):_0x56e7c6,_0x456f80=_0x5e2842[_0x52302e(0x115)]-0x1,_0xb4012b;_0x456f80>=0x0;_0x456f80--)(_0xb4012b=_0x5e2842[_0x456f80])&&(_0x513796=_0xb4012b(_0x513796)||_0x513796);return _0x513796;},ut=(_0xdf9c89,_0x54a25c)=>(_0x1a72ce,_0x52aa43)=>_0x54a25c(_0x1a72ce,_0x52aa43,_0xdf9c89);function Ms(_0x24aa27){var _0x54745d=_0x11fce5;const {unitID:_0xc430fd,mutations:_0x303b9b}=_0x24aa27;return{'unitId':_0xc430fd,'subUnitId':_0x303b9b[_0x54745d(0x115)]>0x0?_0x303b9b[0x0][_0x54745d(0x200)][_0x54745d(0x16c)]:null};}let it=class{constructor(_0x3ca90b,_0x121ee7,_0x524324){var _0x2f140a=_0x11fce5;this['_injector']=_0x3ca90b,this[_0x2f140a(0x305)]=_0x121ee7,this[_0x2f140a(0x12d)]=_0x524324;}['transformSelections'](_0x155117){var _0x449f51=_0x11fce5,_0x158530,_0xac176a,_0x56c825,_0x4afd9d;const _0x321c7a=this[_0x449f51(0x2b4)][_0x449f51(0x277)](_0xf81ac),{unitId:_0x5bd60b,subUnitId:_0x5b1973}=Ms(_0x155117),_0xe2f851=_0x321c7a==null?void 0x0:_0x321c7a['getWorkbookSelections'](_0x5bd60b)[_0x449f51(0x109)](),_0xbfbf84=(_0xac176a=(_0x158530=this[_0x449f51(0x12d)][_0x449f51(0x1ea)](_0x5bd60b))==null?void 0x0:_0x158530[_0x449f51(0x3c2)]())==null?void 0x0:_0xac176a[_0x449f51(0x2b7)]();if(_0xe2f851[_0x449f51(0x115)]===0x0||!_0x5bd60b||!_0x5b1973)return;const _0x4c75f3=[{'id':_0x42d879['id'],'params':{'unitId':_0x5bd60b,'subUnitId':_0xbfbf84,'selections':_0x39e2a3[_0x449f51(0x30c)](_0xe2f851)}}],_0x41de76=this[_0x449f51(0x305)]['transformMutationsWithChangeset'](_0x155117,_0x4c75f3);if(!_0x25b4ba(_0x41de76))throw _0x41de76[_0x449f51(0x177)];const _0xe142da=(_0x4afd9d=(_0x56c825=_0x41de76[_0x449f51(0x3ed)][0x0])==null?void 0x0:_0x56c825[_0x449f51(0x200)])==null?void 0x0:_0x4afd9d[_0x449f51(0x279)];if(Array['isArray'](_0xe142da)&&_0xe142da[_0x449f51(0x115)]){if(_0xe142da[_0x449f51(0x115)]===_0x4c75f3[0x0][_0x449f51(0x200)][_0x449f51(0x279)][_0x449f51(0x115)]&&_0xe142da['every']((_0x37c26c,_0x3eedbc)=>_0x7fa524[_0x449f51(0x29c)](_0x37c26c['range'],_0x4c75f3[0x0]['params'][_0x449f51(0x279)][_0x3eedbc][_0x449f51(0x288)])))return;this['_injector'][_0x449f51(0x277)](_0x3a47f5)[_0x449f51(0x336)](_0x42d879['id'],{'unitId':_0x5bd60b,'subUnitId':_0xbfbf84,'selections':_0xe142da});}}};it=ws([ut(0x0,_0x2d55c5(_0x2fa53b)),ut(0x1,_0x3cb156),ut(0x2,_0x12d3b5)],it);const _t=_0x40b8d5(_0x11fce5(0x3a2));var mi=(_0xdb9394=>(_0xdb9394[_0xdb9394[_0x11fce5(0x2ed)]=0x0]=_0x11fce5(0x2ed),_0xdb9394[_0xdb9394[_0x11fce5(0x126)]=0x1]=_0x11fce5(0x126),_0xdb9394))(mi||{});const K=_0x11fce5(0x1f0),Ls={},xs=new Set([_0x32893e['id']]);function Vt(_0x39c5bd,_0x545790,_0x52934f,_0xc176e,_0x4a4287){var _0x22a818=_0x11fce5,_0x21a39c,_0x38c372,_0x32ec79,_0x46ea6c;const _0x3ffd2c=[];for(const _0x110b97 of _0x39c5bd)if(xs['has'](_0x110b97['id'])){if(_0x3ffd2c[_0x22a818(0x115)]>0x0)break;_0x3ffd2c['push'](_0x110b97);break;}else _0x3ffd2c[_0x22a818(0x145)](_0x110b97);const _0x575324=(_0x38c372=(_0x21a39c=_0x4a4287['getCurrentUser']())==null?void 0x0:_0x21a39c[_0x22a818(0x142)])!=null?_0x38c372:_0x22a818(0x334),_0x1b3f85=(_0x46ea6c=(_0x32ec79=_0x4a4287[_0x22a818(0x2fa)]())==null?void 0x0:_0x32ec79[_0x22a818(0x2ff)])!=null?_0x46ea6c:_0x22a818(0x334);return{'changeset':{'unitID':_0x545790,'type':_0x1f81f7(_0x52934f['getUnitType'](_0x545790)),'baseRev':_0xc176e[_0x22a818(0x33e)](_0x545790),'revision':0x0,'userID':_0x575324,'memberID':_0x1b3f85,'mutations':_0x3ffd2c},'pendingMutations':_0x39c5bd[_0x22a818(0x2ee)](_0x3ffd2c[_0x22a818(0x115)])};}function ks(_0x568dff,_0x6d5417,_0x1d4f80,_0x1b67f7,_0x31bcd1){var _0x1c0843=_0x11fce5,_0x3e0871,_0x445fba,_0x13e5eb,_0x19996a;const _0x289790=[_0x568dff[_0x1c0843(0x275)]((_0x34ad4d,_0xd2703b)=>{var _0xa84c0f=_0x1c0843,_0x450c1a;const {id:_0x170cc7}=_0x34ad4d,{id:_0x209e25,type:_0x452b5a}=_0xd2703b,_0x30bdbd=(_0x450c1a=_0x34ad4d[_0xa84c0f(0x200)])!=null?_0x450c1a:{'actions':null},_0x198f76=_0xd2703b[_0xa84c0f(0x200)];if(_0x170cc7&&_0x170cc7!==_0x209e25)throw new Error(_0xa84c0f(0x329)+_0x170cc7+_0xa84c0f(0x3f1)+_0x209e25+'.');return{..._0x34ad4d,'id':_0x209e25,'type':_0x452b5a,'params':{'unitId':_0x198f76[_0xa84c0f(0x38f)],'textRanges':_0x198f76['textRanges'],'actions':_0x1444c0[_0xa84c0f(0x206)](_0x30bdbd[_0xa84c0f(0x3c4)],_0x198f76[_0xa84c0f(0x3c4)])}};},{})],_0x58030c=(_0x445fba=(_0x3e0871=_0x31bcd1[_0x1c0843(0x2fa)]())==null?void 0x0:_0x3e0871[_0x1c0843(0x142)])!=null?_0x445fba:_0x1c0843(0x334),_0x3526fa=(_0x19996a=(_0x13e5eb=_0x31bcd1['getCurrentUser']())==null?void 0x0:_0x13e5eb['memberID'])!=null?_0x19996a:_0x1c0843(0x334);return{'changeset':{'unitID':_0x6d5417,'type':_0x1f81f7(_0x1d4f80['getUnitType'](_0x6d5417)),'baseRev':_0x1b67f7['getCurrentRevOfUnit'](_0x6d5417),'revision':0x0,'userID':_0x58030c,'memberID':_0x3526fa,'mutations':_0x289790},'pendingMutations':[]};}function Ii(_0xbaf797,_0x3388a7){var _0x19a8ca=_0x11fce5;const _0x3ac955=new _0x37b769(0x1);return setTimeout(()=>_0x3ac955[_0x19a8ca(0x16e)](_0x3388a7),_0xbaf797),_0x3ac955[_0x19a8ca(0x3c5)]()[_0x19a8ca(0x377)](_0x57d335(0x1));}var $s=Object[_0x11fce5(0x381)],Se=(_0x2e8e43,_0x3b433e,_0x202e72,_0x1461ed)=>{for(var _0x2ae649=_0x1461ed>0x1?void 0x0:_0x1461ed?$s(_0x3b433e,_0x202e72):_0x3b433e,_0x2c3f2e=_0x2e8e43['length']-0x1,_0x497492;_0x2c3f2e>=0x0;_0x2c3f2e--)(_0x497492=_0x2e8e43[_0x2c3f2e])&&(_0x2ae649=_0x497492(_0x2ae649)||_0x2ae649);return _0x2ae649;},w=(_0x2e6cd5,_0x354610)=>(_0x105a71,_0x5f0706)=>_0x354610(_0x105a71,_0x5f0706,_0x2e6cd5),Si=(_0x17582c=>(_0x17582c[_0x11fce5(0x230)]='not_collab',_0x17582c[_0x11fce5(0xec)]=_0x11fce5(0x207),_0x17582c[_0x11fce5(0x358)]='pending',_0x17582c[_0x11fce5(0x2a0)]=_0x11fce5(0x187),_0x17582c[_0x11fce5(0x400)]=_0x11fce5(0x1bc),_0x17582c['FETCH_MISS']='fetch_missing',_0x17582c[_0x11fce5(0x183)]=_0x11fce5(0x116),_0x17582c[_0x11fce5(0x353)]=_0x11fce5(0x121),_0x17582c))(Si||{});const gi=0xea60;class ge{constructor(_0x5b32fe,_0x28d26a,_0x5ec08c,_0x13b5ce,_0x110c66,_0x32fa88,_0x338b5d,_0x354f3b,_0x3ce4df){var _0x2122a6=_0x11fce5;D(this,_0x2122a6(0x1af),null),D(this,'_pendingMutations',[]),(this[_0x2122a6(0x308)]=_0x5b32fe,this[_0x2122a6(0x2bf)]=_0x28d26a,this[_0x2122a6(0x21b)]=_0x110c66,this[_0x2122a6(0x35c)]=_0x32fa88,this[_0x2122a6(0x10c)]=_0x338b5d,this[_0x2122a6(0x3db)]=_0x354f3b,this['_localCacheService']=_0x3ce4df,this[_0x2122a6(0x1af)]=_0x5ec08c,this[_0x2122a6(0x2a9)]=_0x13b5ce);}[_0x11fce5(0x3d7)](_0x5309bd){var _0x2b26f4=_0x11fce5;const _0x429668=this[_0x2b26f4(0x3db)][_0x2b26f4(0x33e)](this[_0x2b26f4(0x308)]);return _0x5309bd['revision']>_0x429668+0x1?(this[_0x2b26f4(0x21b)]['onMissingChangesets']({'from':_0x429668,'to':_0x5309bd[_0x2b26f4(0x1f8)]-0x1}),!0x0):!0x1;}[_0x11fce5(0x150)](_0x37d1e0){var _0x278181=_0x11fce5;this['_undoRedoService'][_0x278181(0x396)](this[_0x278181(0x308)],_0x37d1e0);}[_0x11fce5(0x17b)](_0x232493){var _0x54ad18=_0x11fce5,_0x576aff,_0x132e8c;(_0x132e8c=(_0x576aff=this[_0x54ad18(0x21b)])['onTransformSelections'])==null||_0x132e8c['call'](_0x576aff,_0x232493);}[_0x11fce5(0x1cd)](_0x5cf8c1){var _0x56bf54=_0x11fce5,_0x5a2758,_0x17e43c;return(_0x17e43c=(_0x5a2758=this['_handler'])['onTransformIME'])==null?void 0x0:_0x17e43c[_0x56bf54(0x23e)](_0x5a2758,_0x5cf8c1);}[_0x11fce5(0x2e6)](_0xa50c93){var _0x32982b=_0x11fce5,_0x3e48d2,_0x5c0d79;return(_0x5c0d79=(_0x3e48d2=this[_0x32982b(0x21b)])[_0x32982b(0xeb)])==null?void 0x0:_0x5c0d79['call'](_0x3e48d2,_0xa50c93);}[_0x11fce5(0x289)](_0x623028){var _0x407970=_0x11fce5,_0x2de43a,_0x54440a,_0xe917ca;return(_0xe917ca=(_0x54440a=(_0x2de43a=this[_0x407970(0x21b)])[_0x407970(0x2d7)])==null?void 0x0:_0x54440a[_0x407970(0x23e)](_0x2de43a,_0x623028))!=null?_0xe917ca:_0x623028;}[_0x11fce5(0x267)](_0x195bc5){var _0xd2c474=_0x11fce5,_0x27385a,_0x1f9f8e,_0x3f9515;return(_0x3f9515=(_0x1f9f8e=(_0x27385a=this[_0xd2c474(0x21b)])[_0xd2c474(0x222)])==null?void 0x0:_0x1f9f8e['call'](_0x27385a,_0x195bc5))!=null?_0x3f9515:_0x195bc5;}['_syncEditingCollabCursor'](_0x46d9b3){var _0xdba3a3=_0x11fce5,_0x30b248,_0x1d7cef;if(this[_0xdba3a3(0x2bf)]===Q['UNIVER_DOC']){const {unitID:_0x478826,mutations:_0x544623,memberID:_0x19c940}=_0x46d9b3,_0x3ce8b9=_0x544623['length']>0x0?_0x544623[0x0]['params']['textRanges']:[];Array[_0xdba3a3(0x264)](_0x3ce8b9)&&_0x3ce8b9[_0xdba3a3(0x115)]>0x0&&((_0x1d7cef=(_0x30b248=this[_0xdba3a3(0x21b)])[_0xdba3a3(0x103)])==null||_0x1d7cef[_0xdba3a3(0x23e)](_0x30b248,{'unitID':_0x478826,'memberID':_0x19c940,'textRanges':_0x3ce8b9}));}}[_0x11fce5(0x129)](){var _0x264327=_0x11fce5,_0x3f2ed7;(_0x3f2ed7=this[_0x264327(0x32e)])==null||_0x3f2ed7['updateOfflineData'](this[_0x264327(0x308)],this[_0x264327(0x2bf)],this['_awaitingChangeset'],this[_0x264327(0x2a9)]);}[_0x11fce5(0x356)](){var _0x352fa9=_0x11fce5;return this['_revisionService'][_0x352fa9(0x33e)](this[_0x352fa9(0x308)]);}[_0x11fce5(0x24f)](){var _0x2a9d44=_0x11fce5;this[_0x2a9d44(0x3db)]['incrementRevOfUnit'](this['unitID']);}[_0x11fce5(0x352)](_0x5a78bc){var _0x2230a8=_0x11fce5,_0x27825e;let _0x566198=this[_0x2230a8(0x289)](_0x5a78bc);_0x566198=this[_0x2230a8(0x267)](_0x566198);const _0x6e7c75=_0xf67648(_0x566198[_0x2230a8(0x34b)],this['_commandService'],{'fromCollab':!0x0});if(!_0x6e7c75[_0x2230a8(0x155)])throw _0x6e7c75[_0x2230a8(0x177)]instanceof Error?_0x6e7c75[_0x2230a8(0x177)]:new Error((_0x27825e=_0x6e7c75[_0x2230a8(0x177)])!=null?_0x27825e:'[CollaborationState]:\x20apply\x20error!');this[_0x2230a8(0x1cd)](_0x566198),this['_transformStateCache'](_0x566198),this[_0x2230a8(0x150)](_0x5a78bc),this[_0x2230a8(0x17b)](_0x566198),this[_0x2230a8(0x1fd)](_0x566198),this['_incrementRevisionNumber']();}}let be=class extends ge{constructor(_0x3b267a,_0x507285,_0x3d9a8c,_0x55696a,_0x3be85d,_0x561a1c,_0x4dd25a,_0x48bf6f,_0x2f7b59,_0x2c96b1){var _0x5d2b85=_0x11fce5;super(_0x3b267a,_0x507285,null,[],_0x3d9a8c,_0x4dd25a,_0x561a1c,_0x55696a,_0x2c96b1),D(this,'status',_0x5d2b85(0x207)),(this[_0x5d2b85(0x2b4)]=_0x3be85d,this[_0x5d2b85(0x313)]=_0x48bf6f,this['_transformService']=_0x2f7b59,this[_0x5d2b85(0x31b)]=_0x2c96b1);}[_0x11fce5(0x105)](_0x5e790d){var _0x48d221=_0x11fce5;const _0x3ee309=this[_0x48d221(0x2b4)]['createInstance'](ae,this[_0x48d221(0x308)],this[_0x48d221(0x2bf)],[_0x5e790d],this[_0x48d221(0x21b)]);return _0x3ee309[_0x48d221(0x216)](),_0x3ee309[_0x48d221(0x129)](),_0x3ee309;}[_0x11fce5(0x2e0)](_0x2d19c3){var _0x281e98=_0x11fce5;if(this[_0x281e98(0x3d7)](_0x2d19c3))return this[_0x281e98(0x2b4)]['createInstance'](ee,this[_0x281e98(0x308)],this[_0x281e98(0x2bf)],null,[],null,[_0x2d19c3],this[_0x281e98(0x21b)]);try{const _0x582157=this[_0x281e98(0x305)][_0x281e98(0x113)](_0x2d19c3,[_0x2ee529]);if(_0x25b4ba(_0x582157)){const {c1Prime:_0x4cfc95}=_0x582157;return this[_0x281e98(0x352)](_0x4cfc95),this;}throw _0x582157[_0x281e98(0x177)];}catch(_0x965cec){return this[_0x281e98(0x313)][_0x281e98(0x177)](_0x965cec),this[_0x281e98(0x139)](!0x1);}}['_onConflict'](_0x3c5fa1){var _0x515bc9=_0x11fce5;return this[_0x515bc9(0x2b4)][_0x515bc9(0x3a6)](ue,this[_0x515bc9(0x308)],this[_0x515bc9(0x2bf)],null,[],this[_0x515bc9(0x21b)],_0x3c5fa1);}[_0x11fce5(0x2b1)](){var _0x349c4f=_0x11fce5;throw new Error(_0x349c4f(0x152));}[_0x11fce5(0x3ec)](){var _0x5bb217=_0x11fce5;throw new Error(_0x5bb217(0x135));}[_0x11fce5(0x3e2)](){return this;}['toggleOffline'](){var _0x5dfe52=_0x11fce5;return this[_0x5dfe52(0x2b4)]['createInstance'](de,this[_0x5dfe52(0x308)],this[_0x5dfe52(0x2bf)],null,[],this[_0x5dfe52(0x21b)]);}[_0x11fce5(0x254)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x556abe=_0x11fce5;const _0x598456=this['_revisionService'][_0x556abe(0x33e)](this[_0x556abe(0x308)]);return this[_0x556abe(0x21b)][_0x556abe(0x335)]({'from':_0x598456,'to':0x0}),this[_0x556abe(0x2b4)][_0x556abe(0x3a6)](ee,this['unitID'],this['type'],null,[],null,[],this[_0x556abe(0x21b)]);}};be=Se([w(0x3,_0x2d55c5(_0x29042f)),w(0x4,_0x2d55c5(_0x2fa53b)),w(0x5,_0x33866c),w(0x6,_0x3a47f5),w(0x7,_0x1df9aa),w(0x8,_0x3cb156),w(0x9,_0xe7a6e7(J))],be);let ae=class extends ge{constructor(_0x2aba76,_0x106a03,_0x59406a,_0x43c877,_0x4c0923,_0x121f4b,_0x41cae0,_0x4f7f95,_0x55ca92,_0x417e63,_0x219198,_0x468132,_0x101739,_0x44446f){var _0x1a95ef=_0x11fce5;super(_0x2aba76,_0x106a03,null,_0x59406a,_0x43c877,_0x55ca92,_0x101739,_0x121f4b,_0x44446f),D(this,_0x1a95ef(0x18e),_0x1a95ef(0x35a)),D(this,'_scheduleCompleteTimestamp',null),D(this,'_sendingTimer',null),(this[_0x1a95ef(0x2b4)]=_0x4c0923,this[_0x1a95ef(0x12e)]=_0x41cae0,this[_0x1a95ef(0x313)]=_0x4f7f95,this[_0x1a95ef(0x182)]=_0x417e63,this[_0x1a95ef(0x305)]=_0x219198,this[_0x1a95ef(0x2c5)]=_0x468132);}[_0x11fce5(0x105)](_0x29a752){var _0x2a883d=_0x11fce5;return this[_0x2a883d(0x2a9)][_0x2a883d(0x145)](_0x29a752),this[_0x2a883d(0x129)](),this;}[_0x11fce5(0x2e0)](_0x45f128){var _0x3a3846=_0x11fce5;if(this['_checkMissing'](_0x45f128))return this[_0x3a3846(0x1de)](),this[_0x3a3846(0x2b4)][_0x3a3846(0x3a6)](ee,this[_0x3a3846(0x308)],this[_0x3a3846(0x2bf)],null,this[_0x3a3846(0x2a9)],null,[_0x45f128],this[_0x3a3846(0x21b)]);try{const _0x5206b0=this[_0x3a3846(0x305)][_0x3a3846(0x113)](_0x45f128,this['_pendingMutations']);if(_0x25b4ba(_0x5206b0)){const {c1Prime:_0x310eb0,m2Prime:_0x3eea0e}=_0x5206b0;this['_executeRemoteChangeset'](_0x310eb0);const _0x1c1dd7=this[_0x3a3846(0x2b4)][_0x3a3846(0x3a6)](ae,this[_0x3a3846(0x308)],this[_0x3a3846(0x2bf)],_0x3eea0e,this[_0x3a3846(0x21b)]);this[_0x3a3846(0x1de)]();const _0x4ced4a=new Date()[_0x3a3846(0x30f)](),_0x5e8aef=this['_scheduleCompleteTimestamp']?Math[_0x3a3846(0x302)](this[_0x3a3846(0x2f2)]-_0x4ced4a,0x0):this[_0x3a3846(0x3cc)]();return _0x1c1dd7[_0x3a3846(0x216)](_0x5e8aef),_0x1c1dd7;}throw _0x5206b0[_0x3a3846(0x177)];}catch(_0x19d871){return this['_logService'][_0x3a3846(0x177)](_0x19d871),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x5c8450=_0x11fce5;throw new Error(_0x5c8450(0x1c9));}[_0x11fce5(0x3ec)](){var _0x1d4974=_0x11fce5;throw new Error(_0x1d4974(0x2a1));}[_0x11fce5(0x3e2)](){return this;}[_0x11fce5(0x2ac)](){var _0xb0d405=_0x11fce5;return this[_0xb0d405(0x1de)](),this[_0xb0d405(0x2b4)][_0xb0d405(0x3a6)](de,this[_0xb0d405(0x308)],this[_0xb0d405(0x2bf)],null,this['_pendingMutations'],this[_0xb0d405(0x21b)]);}['toggleOnline'](){return this;}[_0x11fce5(0x216)](_0x3d46d2){var _0x47ec8a=_0x11fce5;const _0x3ca5a6=_0x3d46d2!=null?_0x3d46d2:this[_0x47ec8a(0x3cc)]();this[_0x47ec8a(0x2f2)]=new Date()[_0x47ec8a(0x30f)]()+_0x3ca5a6,this[_0x47ec8a(0x25c)]=setTimeout(()=>{var _0x5774b7=_0x47ec8a;this[_0x5774b7(0x1de)]();let _0x51dd5c=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x51dd5c=Vt(this['_pendingMutations'],this[_0x5774b7(0x308)],this[_0x5774b7(0x2c5)],this['_revisionService'],this[_0x5774b7(0x12e)]);break;}case Q[_0x5774b7(0x346)]:{this['_pendingMutations']['every'](_0x181319=>_0x181319['id']===_0x312109['id'])?_0x51dd5c=ks(this[_0x5774b7(0x2a9)],this[_0x5774b7(0x308)],this[_0x5774b7(0x2c5)],this[_0x5774b7(0x3db)],this['_memberService']):_0x51dd5c=Vt(this['_pendingMutations'],this[_0x5774b7(0x308)],this[_0x5774b7(0x2c5)],this['_revisionService'],this[_0x5774b7(0x12e)]);break;}default:throw new Error(_0x5774b7(0x25d)+this[_0x5774b7(0x2bf)]+_0x5774b7(0x23c));}const {changeset:_0x359692,pendingMutations:_0x7d1681}=_0x51dd5c;this['_handler'][_0x5774b7(0x17e)](_0x359692);const _0x5825ff=_0x7d1681[_0x5774b7(0x115)]?this[_0x5774b7(0x2b4)][_0x5774b7(0x3a6)](oe,this[_0x5774b7(0x308)],this[_0x5774b7(0x2bf)],_0x359692,_0x7d1681,this[_0x5774b7(0x21b)],void 0x0):this[_0x5774b7(0x2b4)][_0x5774b7(0x3a6)](le,this[_0x5774b7(0x308)],this[_0x5774b7(0x2bf)],_0x359692,this['_handler']);_0x5825ff[_0x5774b7(0x129)](),this[_0x5774b7(0x21b)]['onStateChange'](this,_0x5825ff);},_0x3ca5a6);}[_0x11fce5(0x3cc)](){var _0x2a8c02=_0x11fce5,_0x1324f4;const _0x39ff14=this[_0x2a8c02(0x182)][_0x2a8c02(0x33a)](K);return(_0x1324f4=_0x39ff14==null?void 0x0:_0x39ff14['sendChangesetTimeout'])!=null?_0x1324f4:ps;}[_0x11fce5(0x36b)](){var _0x33f6fa=_0x11fce5;throw new Error(_0x33f6fa(0x34f));}[_0x11fce5(0x1de)](){var _0x5bdcbd=_0x11fce5;this[_0x5bdcbd(0x25c)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x5bdcbd(0x25c)]=null);}[_0x11fce5(0x139)](_0x25951f){var _0x4b51fc=_0x11fce5;return this[_0x4b51fc(0x1de)](),this[_0x4b51fc(0x2b4)]['createInstance'](ue,this[_0x4b51fc(0x308)],this['type'],null,this['_pendingMutations'],this[_0x4b51fc(0x21b)],_0x25951f);}};ae=Se([w(0x4,_0x2d55c5(_0x2fa53b)),w(0x5,_0x2d55c5(_0x29042f)),w(0x6,_0x2d55c5(Pe)),w(0x7,_0x1df9aa),w(0x8,_0x3a47f5),w(0x9,_0x4762e8),w(0xa,_0x3cb156),w(0xb,_0x12d3b5),w(0xc,_0x33866c),w(0xd,_0xe7a6e7(J))],ae);let le=class extends ge{constructor(_0x40a4ae,_0x26a44b,_0x476a70,_0x4c7ac9,_0x2b2696,_0x5d7c1d,_0x57e4fc,_0x131f06,_0x204ad2,_0x41a710,_0x2099ae){var _0x39b267=_0x11fce5;super(_0x40a4ae,_0x26a44b,_0x476a70,[],_0x4c7ac9,_0x57e4fc,_0x41a710,_0x5d7c1d,_0x2099ae),D(this,_0x39b267(0x18e),'awaiting'),D(this,_0x39b267(0x332),0x0),D(this,_0x39b267(0x166)),D(this,_0x39b267(0x138)),(this[_0x39b267(0x2b4)]=_0x2b2696,this['_logService']=_0x131f06,this['_transformService']=_0x204ad2);}[_0x11fce5(0x105)](_0x150d04){var _0x2d9237=_0x11fce5;this[_0x2d9237(0x1de)]();const _0x47e487=this['_injector'][_0x2d9237(0x3a6)](oe,this['unitID'],this[_0x2d9237(0x2bf)],this['_awaitingChangeset'],[_0x150d04],this[_0x2d9237(0x21b)],this['_resendTimer']);return _0x47e487[_0x2d9237(0x129)](),_0x47e487;}[_0x11fce5(0x2e0)](_0x1e4ce2){var _0x3619e2=_0x11fce5;if(this[_0x3619e2(0x3d7)](_0x1e4ce2))return this[_0x3619e2(0x1de)](),this['_injector'][_0x3619e2(0x3a6)](ee,this[_0x3619e2(0x308)],this['type'],this['_awaitingChangeset'],[],null,[_0x1e4ce2],this[_0x3619e2(0x21b)]);try{const _0x48ee01=this[_0x3619e2(0x305)][_0x3619e2(0x3fd)]([_0x1e4ce2],[this['_awaitingChangeset']],!0x1);if(_0x10c704(_0x48ee01)){const {c1Prime:_0x345cbb,c2Prime:_0x83db86}=_0x48ee01;this['_executeRemoteChangeset'](_0x345cbb[0x0]),_0x83db86[0x0][_0x3619e2(0x321)]=this['_getCurrentRevision'](),this[_0x3619e2(0x1de)]();const _0x3d9b48=this[_0x3619e2(0x2b4)][_0x3619e2(0x3a6)](le,this['unitID'],this[_0x3619e2(0x2bf)],_0x83db86[0x0],this[_0x3619e2(0x21b)]);return _0x3d9b48['_updateLocalCache'](),_0x3d9b48;}return this[_0x3619e2(0x139)](!0x1);}catch(_0x51948f){return this[_0x3619e2(0x313)]['error'](_0x51948f),this[_0x3619e2(0x139)](!0x1);}}['onRemoteAck'](_0x388b3a){var _0x5acfa8=_0x11fce5;this[_0x5acfa8(0x1de)]();const _0xf25de2=this[_0x5acfa8(0x3db)][_0x5acfa8(0x33e)](this[_0x5acfa8(0x308)]);if(_0x388b3a[_0x5acfa8(0x1f8)]<_0xf25de2-0x1)return this;if(this['_checkMissing'](_0x388b3a))return this['_injector'][_0x5acfa8(0x3a6)](ee,this[_0x5acfa8(0x308)],this[_0x5acfa8(0x2bf)],null,[],this[_0x5acfa8(0x1af)],[],this[_0x5acfa8(0x21b)]);this['_incrementRevisionNumber']();const _0xb5630b=this[_0x5acfa8(0x2b4)][_0x5acfa8(0x3a6)](be,this[_0x5acfa8(0x308)],this[_0x5acfa8(0x2bf)],this[_0x5acfa8(0x21b)]);return _0xb5630b[_0x5acfa8(0x129)](),_0xb5630b;}[_0x11fce5(0x3ec)](_0x13e073){var _0x31bb12=_0x11fce5;return this[_0x31bb12(0x139)](!!(_0x13e073!=null&&_0x13e073[_0x31bb12(0x140)]));}[_0x11fce5(0x3e2)](_0x109401){var _0x413aac=_0x11fce5;return this[_0x413aac(0x332)]>gi?this[_0x413aac(0x2ac)]():(this[_0x413aac(0x166)]=Ii(this[_0x413aac(0x332)],{'timeout':this[_0x413aac(0x332)],'reqId':_0x109401[_0x413aac(0x14f)]}),this['_sender']=this[_0x413aac(0x166)][_0x413aac(0x1c6)](({reqId:_0x33ec21,timeout:_0x2eaa08})=>{var _0x4b7ab7=_0x413aac;this[_0x4b7ab7(0x19d)](_0x33ec21,_0x2eaa08);}),this);}[_0x11fce5(0x2ac)](){var _0x3d23bf=_0x11fce5;return this[_0x3d23bf(0x1de)](),this[_0x3d23bf(0x2b4)]['createInstance'](de,this[_0x3d23bf(0x308)],this['type'],this[_0x3d23bf(0x1af)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x11fce5(0x36b)](){var _0x1a266a=_0x11fce5;this['_handler'][_0x1a266a(0x17e)](this[_0x1a266a(0x1af)]);}['_onConflict'](_0x11e97f){var _0x29f434=_0x11fce5;return this[_0x29f434(0x1de)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0x29f434(0x2bf)],this[_0x29f434(0x1af)],[],this[_0x29f434(0x21b)],_0x11e97f);}[_0x11fce5(0x19d)](_0x3f8a11,_0x31ba19){var _0x6c013=_0x11fce5,_0x44a0df;_0x3f8a11===((_0x44a0df=this[_0x6c013(0x1af)])==null?void 0x0:_0x44a0df['reqId'])&&(this[_0x6c013(0x36b)](),this['_resendTimeout']=_0x31ba19===0x0?0x3e8:_0x31ba19*0x2);}[_0x11fce5(0x1de)](){var _0x10d9bd=_0x11fce5,_0x498bb8;(_0x498bb8=this['_sender'])==null||_0x498bb8[_0x10d9bd(0x388)](),this[_0x10d9bd(0x332)]=0x0;}};le=Se([w(0x4,_0x2d55c5(_0x2fa53b)),w(0x5,_0x2d55c5(_0x29042f)),w(0x6,_0x3a47f5),w(0x7,_0x1df9aa),w(0x8,_0x3cb156),w(0x9,_0x33866c),w(0xa,_0xe7a6e7(J))],le);let oe=class extends ge{constructor(_0x47f8ac,_0x5c471c,_0x334993,_0x5c769b,_0x4b4657,_0x36dbd5,_0x5d5999,_0x1f44ea,_0x5a8ed2,_0x1be3ce,_0x2f1956,_0x325eff,_0x393002){var _0x579264=_0x11fce5;super(_0x47f8ac,_0x5c471c,_0x334993,_0x5c769b,_0x4b4657,_0x5a8ed2,_0x325eff,_0x1f44ea,_0x393002),D(this,_0x579264(0x18e),_0x579264(0x1bc)),D(this,'_resendTimeout',0x0),D(this,_0x579264(0x166)),D(this,_0x579264(0x138)),(this[_0x579264(0x2b4)]=_0x5d5999,this[_0x579264(0x313)]=_0x1be3ce,this['_transformService']=_0x2f1956,this[_0x579264(0x31b)]=_0x393002,_0x36dbd5&&(this[_0x579264(0x166)]=_0x36dbd5,this[_0x579264(0x138)]=this[_0x579264(0x166)][_0x579264(0x1c6)](({reqId:_0x50cb5f,timeout:_0x325fa1})=>{this['_resendWithTimeout'](_0x50cb5f,_0x325fa1);})));}[_0x11fce5(0x105)](_0x164269){var _0x915750=_0x11fce5;return this[_0x915750(0x2a9)]['push'](_0x164269),this;}[_0x11fce5(0x2e0)](_0x283163){var _0x16960c=_0x11fce5;if(this[_0x16960c(0x3d7)](_0x283163))return this[_0x16960c(0x1de)](),this[_0x16960c(0x2b4)][_0x16960c(0x3a6)](ee,this[_0x16960c(0x308)],this[_0x16960c(0x2bf)],this['_awaitingChangeset'],this[_0x16960c(0x2a9)],null,[_0x283163],this[_0x16960c(0x21b)]);try{const _0x50f2ef=this[_0x16960c(0x305)][_0x16960c(0x3fd)]([_0x283163],[this[_0x16960c(0x1af)]],!0x1);if(_0x10c704(_0x50f2ef)){const {c1Prime:_0x3d755e,c2Prime:_0x244577}=_0x50f2ef,_0x128452=this[_0x16960c(0x305)][_0x16960c(0x113)](_0x3d755e[0x0],this[_0x16960c(0x2a9)]);if(_0x25b4ba(_0x128452)){const {c1Prime:_0x5cae0c,m2Prime:_0x471e10}=_0x128452;return this[_0x16960c(0x352)](_0x5cae0c),_0x244577[0x0][_0x16960c(0x321)]=this[_0x16960c(0x356)](),this[_0x16960c(0x1de)](),this[_0x16960c(0x2b4)]['createInstance'](oe,this[_0x16960c(0x308)],this['type'],_0x244577[0x0],_0x471e10,this['_handler'],void 0x0);}throw _0x128452[_0x16960c(0x177)];}throw _0x50f2ef['error'];}catch(_0xa661d3){return this[_0x16960c(0x313)][_0x16960c(0x177)](_0xa661d3),this[_0x16960c(0x139)](!0x1);}}[_0x11fce5(0x2b1)](_0x42d6c7){var _0x3fcf82=_0x11fce5;if(this[_0x3fcf82(0x1de)](),this['_checkMissing'](_0x42d6c7))return this[_0x3fcf82(0x2b4)][_0x3fcf82(0x3a6)](ee,this[_0x3fcf82(0x308)],this['type'],null,this['_pendingMutations'],this[_0x3fcf82(0x1af)],[],this[_0x3fcf82(0x21b)]);this[_0x3fcf82(0x24f)]();const _0x16baaa=this['_injector'][_0x3fcf82(0x3a6)](ae,this[_0x3fcf82(0x308)],this['type'],this[_0x3fcf82(0x2a9)],this['_handler']);return _0x16baaa[_0x3fcf82(0x216)](),_0x16baaa[_0x3fcf82(0x129)](),_0x16baaa;}[_0x11fce5(0x3ec)](_0x5acc3a){var _0x567879=_0x11fce5;return this[_0x567879(0x139)](!!(_0x5acc3a!=null&&_0x5acc3a['isPermissionRej']));}[_0x11fce5(0x3e2)](_0x44a29c){var _0x4f2a84=_0x11fce5;return this['_resendTimeout']>gi?this[_0x4f2a84(0x2ac)]():(this[_0x4f2a84(0x166)]=Ii(this['_resendTimeout'],{'timeout':this[_0x4f2a84(0x332)],'reqId':_0x44a29c['reqId']}),this[_0x4f2a84(0x138)]=this[_0x4f2a84(0x166)][_0x4f2a84(0x1c6)](({reqId:_0x2439c8,timeout:_0x1b5b5e})=>{var _0xb4d2c3=_0x4f2a84;this[_0xb4d2c3(0x19d)](_0x2439c8,_0x1b5b5e);}),this);}[_0x11fce5(0x2ac)](){var _0x523ff4=_0x11fce5;return this['_clearScheduledTask'](),this['_injector'][_0x523ff4(0x3a6)](de,this['unitID'],this[_0x523ff4(0x2bf)],this[_0x523ff4(0x1af)],this[_0x523ff4(0x2a9)],this[_0x523ff4(0x21b)]);}[_0x11fce5(0x254)](){return this;}[_0x11fce5(0x36b)](){var _0x10a535=_0x11fce5;this[_0x10a535(0x21b)][_0x10a535(0x17e)](this[_0x10a535(0x1af)]);}[_0x11fce5(0x139)](_0x505da9){var _0x3837ce=_0x11fce5;return this['_clearScheduledTask'](),this[_0x3837ce(0x2b4)][_0x3837ce(0x3a6)](ue,this[_0x3837ce(0x308)],this[_0x3837ce(0x2bf)],null,this['_pendingMutations'],this['_handler'],_0x505da9);}['_resendWithTimeout'](_0x52a8b9,_0xa7695){var _0x44916b=_0x11fce5,_0x238348;_0x52a8b9===((_0x238348=this[_0x44916b(0x1af)])==null?void 0x0:_0x238348['reqId'])&&(this[_0x44916b(0x36b)](),this[_0x44916b(0x332)]=_0xa7695===0x0?0x3e8:_0xa7695*0x2);}[_0x11fce5(0x1de)](){var _0x333056=_0x11fce5,_0x213399;(_0x213399=this[_0x333056(0x138)])==null||_0x213399[_0x333056(0x388)](),this[_0x333056(0x332)]=0x0;}};oe=Se([w(0x6,_0x2d55c5(_0x2fa53b)),w(0x7,_0x2d55c5(_0x29042f)),w(0x8,_0x3a47f5),w(0x9,_0x1df9aa),w(0xa,_0x3cb156),w(0xb,_0x33866c),w(0xc,_0xe7a6e7(J))],oe);let ue=class extends ge{constructor(_0x1c62a3,_0x9b2633,_0x1bef42,_0x221b84,_0xfaa5fd,_0x376155=!0x1,_0xbbc649,_0x5ae313,_0x4c1612,_0x5af955,_0x157f19,_0x20eb30,_0x2868b6){var _0x59ee65=_0x11fce5;super(_0x1c62a3,_0x9b2633,_0x1bef42,_0x221b84,_0xfaa5fd,_0x5ae313,_0x4c1612,_0x5af955,_0x2868b6),D(this,_0x59ee65(0x18e),_0x59ee65(0x116)),(this[_0x59ee65(0x1fc)]=_0x376155,this['_permissionService']=_0xbbc649,this[_0x59ee65(0x195)]=_0x157f19,this[_0x59ee65(0x318)]=_0x20eb30,this[_0x59ee65(0x31b)]=_0x2868b6,this[_0x59ee65(0x22a)](),this[_0x59ee65(0x3f0)](),this[_0x59ee65(0x3e8)]());}[_0x11fce5(0x105)](){return this;}[_0x11fce5(0x2e0)](){return this;}[_0x11fce5(0x2b1)](){return this;}[_0x11fce5(0x3ec)](){return this;}[_0x11fce5(0x3e2)](){return this;}['toggleOffline'](){return this;}[_0x11fce5(0x254)](){return this;}[_0x11fce5(0x36b)](){var _0x49b61b=_0x11fce5;throw new Error(_0x49b61b(0x1ee));}[_0x11fce5(0x3f0)](){var _0x152107=_0x11fce5,_0x4060cf;(_0x4060cf=this[_0x152107(0x32e)])==null||_0x4060cf['updateOfflineData'](this['unitID'],this[_0x152107(0x2bf)],null,[]);}[_0x11fce5(0x22a)](){var _0x463a2d=_0x11fce5;this[_0x463a2d(0x1fc)]?this[_0x463a2d(0x318)][_0x463a2d(0x351)]({'id':re['PERMISSION_DENIED']}):this[_0x463a2d(0x318)]['emitEvent']({'id':re[_0x463a2d(0x183)]});}[_0x11fce5(0x3e8)](){var _0x37808d=_0x11fce5;this['_permissionService']['updatePermissionPoint'](new _0x380b83(this[_0x37808d(0x308)])['id'],!0x1);}};ue=Se([w(0x6,_0x2d55c5(_0x50b040)),w(0x7,_0x3a47f5),w(0x8,_0x33866c),w(0x9,_0x2d55c5(_0x29042f)),w(0xa,_0x2d55c5(_0x246818)),w(0xb,_0x2d55c5(ve)),w(0xc,_0xe7a6e7(J))],ue);let de=class extends ge{constructor(_0xa9e8b0,_0x3d0621,_0x970649,_0x1115ae,_0x1b2d0e,_0xade3d5,_0xe85f49,_0x3c8a5c,_0x25f2c3,_0x40dc4b){var _0x456e45=_0x11fce5;super(_0xa9e8b0,_0x3d0621,_0x970649,_0x1115ae,_0x1b2d0e,_0x3c8a5c,_0x25f2c3,_0xe85f49,_0x40dc4b),D(this,_0x456e45(0x18e),_0x456e45(0x121)),this[_0x456e45(0x2b4)]=_0xade3d5;}['appendMutation'](_0x1a8cc0){var _0x1d4a92=_0x11fce5;return this['_pendingMutations'][_0x1d4a92(0x145)](_0x1a8cc0),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2e464d){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x11fce5(0x2b1)](){var _0x53b2bb=_0x11fce5;throw new Error(_0x53b2bb(0x361));}[_0x11fce5(0x3ec)](){var _0x558b05=_0x11fce5;throw new Error(_0x558b05(0x310));}[_0x11fce5(0x3e2)](){return this;}[_0x11fce5(0x2ac)](){return this;}[_0x11fce5(0x254)](){var _0x38c238=_0x11fce5;const {_injector:_0x21cc35,_pendingMutations:_0x5219a0,_awaitingChangeset:_0x2b1568,unitID:_0x1e4c61,_handler:_0x56cc91,type:_0x3cc403}=this,_0x3022c2=Ti(_0x21cc35,_0x1e4c61,_0x3cc403,_0x2b1568,_0x5219a0,_0x56cc91);return _0x3022c2 instanceof ae?_0x3022c2['_schedule']():(_0x3022c2 instanceof oe||_0x3022c2 instanceof le)&&_0x3022c2[_0x38c238(0x36b)](),_0x3022c2;}[_0x11fce5(0x36b)](){var _0x57d035=_0x11fce5;throw new Error(_0x57d035(0x3a9));}};de=Se([w(0x5,_0x2d55c5(_0x2fa53b)),w(0x6,_0x2d55c5(_0x29042f)),w(0x7,_0x3a47f5),w(0x8,_0x33866c),w(0x9,_0xe7a6e7(J))],de);let ee=class extends ge{constructor(_0x4c9afb,_0x57b4a7,_0x1c854e,_0x21dff3,_0xed3a77,_0x587d81,_0x4c41c5,_0x1263ea,_0x213c25,_0x5ed86f,_0x338418,_0x1095e6,_0x559909,_0x34c8fd){var _0x272d89=_0x11fce5;super(_0x4c9afb,_0x57b4a7,_0x1c854e,_0x21dff3,_0x4c41c5,_0x338418,_0x1095e6,_0x213c25,_0x34c8fd),D(this,_0x272d89(0x18e),_0x272d89(0xfe)),(this[_0x272d89(0x3b5)]=_0xed3a77,this[_0x272d89(0x2f4)]=_0x587d81,this['_injector']=_0x1263ea,this['_logService']=_0x5ed86f,this['_transformService']=_0x559909,this[_0x272d89(0x31b)]=_0x34c8fd);}[_0x11fce5(0x3a1)](_0x4cb09f){var _0xab68e1=_0x11fce5;try{const _0x549637=[..._0x4cb09f,...this[_0xab68e1(0x2f4)]],_0x538cff=[this[_0xab68e1(0x1af)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x2b4b99=>!!_0x2b4b99);let _0x287211,_0x5c957f;if(_0x538cff['length']){const _0x3ade5a=this[_0xab68e1(0x305)][_0xab68e1(0x3fd)](_0x549637,_0x538cff,!0x1);if(!_0x10c704(_0x3ade5a))throw _0x3ade5a[_0xab68e1(0x177)];_0x287211=_0x3ade5a[_0xab68e1(0x3fe)],_0x5c957f=_0x3ade5a['c2Prime'];}else _0x287211=_0x549637,_0x5c957f=[];let _0x2d2aee=this[_0xab68e1(0x2a9)];_0x287211[_0xab68e1(0x390)](_0x28cbfd=>{var _0x289ceb=_0xab68e1;let _0x12d897;if(_0x2d2aee[_0x289ceb(0x115)]){const _0x46d458=this[_0x289ceb(0x305)][_0x289ceb(0x113)](_0x28cbfd,_0x2d2aee);if(!_0x25b4ba(_0x46d458))throw _0x46d458[_0x289ceb(0x177)];_0x12d897=_0x46d458[_0x289ceb(0x3fe)],_0x2d2aee=_0x46d458[_0x289ceb(0x3ed)];}else _0x12d897=_0x28cbfd;this[_0x289ceb(0x352)](_0x12d897);}),this['_acknowledgedAwaitingChangeset']&&this[_0xab68e1(0x24f)](),this[_0xab68e1(0x1af)]&&_0x5c957f[_0xab68e1(0x115)]&&(_0x5c957f[0x0]['baseRev']=this['_getCurrentRevision']());let _0x4471c1;if(this[_0xab68e1(0x1af)]&&_0x2d2aee['length']!==0x0)_0x4471c1=this['_injector'][_0xab68e1(0x3a6)](oe,this[_0xab68e1(0x308)],this[_0xab68e1(0x2bf)],_0x5c957f[0x0],_0x2d2aee,this[_0xab68e1(0x21b)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2d2aee['length']===0x0)_0x5c957f[0x0][_0xab68e1(0x321)]=this[_0xab68e1(0x356)](),_0x4471c1=this[_0xab68e1(0x2b4)][_0xab68e1(0x3a6)](le,this[_0xab68e1(0x308)],this['type'],_0x5c957f[0x0],this[_0xab68e1(0x21b)]);else{if(_0x2d2aee['length']!==0x0){const _0x483100=this[_0xab68e1(0x2b4)][_0xab68e1(0x3a6)](ae,this['unitID'],this[_0xab68e1(0x2bf)],_0x2d2aee,this[_0xab68e1(0x21b)]);_0x483100[_0xab68e1(0x216)](),_0x4471c1=_0x483100;}else _0x4471c1=this['_injector'][_0xab68e1(0x3a6)](be,this[_0xab68e1(0x308)],this['type'],this[_0xab68e1(0x21b)]);}}return _0x4471c1['_updateLocalCache'](),_0x4471c1;}catch(_0x1ad680){return this[_0xab68e1(0x313)][_0xab68e1(0x177)]('[FetchMissState]',_0xab68e1(0x18b),_0x1ad680),this['_injector']['createInstance'](ue,this['unitID'],this[_0xab68e1(0x2bf)],this[_0xab68e1(0x1af)],this[_0xab68e1(0x2a9)],this['_handler'],!0x1);}}[_0x11fce5(0x36b)](){var _0x4865fa=_0x11fce5;throw new Error(_0x4865fa(0x11b));}[_0x11fce5(0x105)](_0x2f0ff2){var _0x35d31a=_0x11fce5;return this['_pendingMutations'][_0x35d31a(0x145)](_0x2f0ff2),this;}[_0x11fce5(0x2e0)](_0x472639){var _0x4f1fd0=_0x11fce5;return this['_queuedRemoteChangesets'][_0x4f1fd0(0x145)](_0x472639),this;}['onRemoteAck'](_0x298522){var _0x6110a=_0x11fce5;if(this[_0x6110a(0x1af)])return this[_0x6110a(0x3b5)]=this[_0x6110a(0x1af)],this[_0x6110a(0x1af)]=null,this;throw new Error(_0x6110a(0x350));}[_0x11fce5(0x3ec)](_0x45c6fb){return this['_onConflict'](!!(_0x45c6fb!=null&&_0x45c6fb['isPermissionRej']));}[_0x11fce5(0x3e2)](){return this;}[_0x11fce5(0x2ac)](){var _0xafb888=_0x11fce5;return this[_0xafb888(0x2b4)][_0xafb888(0x3a6)](de,this['unitID'],this['type'],this[_0xafb888(0x1af)],this[_0xafb888(0x2a9)],this['_handler']);}['toggleOnline'](){return this;}['_onConflict'](_0x19b43d){var _0xce140e=_0x11fce5;return this['_injector'][_0xce140e(0x3a6)](ue,this[_0xce140e(0x308)],this[_0xce140e(0x2bf)],this['_awaitingChangeset'],this[_0xce140e(0x2a9)],this['_handler'],_0x19b43d);}};ee=Se([w(0x7,_0x2d55c5(_0x2fa53b)),w(0x8,_0x2d55c5(_0x29042f)),w(0x9,_0x1df9aa),w(0xa,_0x3a47f5),w(0xb,_0x33866c),w(0xc,_0x3cb156),w(0xd,_0xe7a6e7(J))],ee);function Ti(_0x1ec2da,_0x502bf6,_0xe860a3,_0x3aee86,_0x22ae94,_0x311e17){var _0x4c8045=_0x11fce5;return _0x3aee86&&_0x22ae94[_0x4c8045(0x115)]?_0x1ec2da[_0x4c8045(0x3a6)](oe,_0x502bf6,_0xe860a3,_0x3aee86,_0x22ae94,_0x311e17,void 0x0):_0x3aee86?_0x1ec2da[_0x4c8045(0x3a6)](le,_0x502bf6,_0xe860a3,_0x3aee86,_0x311e17):_0x22ae94[_0x4c8045(0x115)]?_0x1ec2da['createInstance'](ae,_0x502bf6,_0xe860a3,_0x22ae94,_0x311e17):_0x1ec2da[_0x4c8045(0x3a6)](be,_0x502bf6,_0xe860a3,_0x311e17);}var Hs=Object[_0x11fce5(0x381)],At=(_0x1c1ec2,_0x47c879,_0x4aad28,_0x2de6ec)=>{for(var _0x1db4ed=_0x2de6ec>0x1?void 0x0:_0x2de6ec?Hs(_0x47c879,_0x4aad28):_0x47c879,_0x166f5c=_0x1c1ec2['length']-0x1,_0x2822ed;_0x166f5c>=0x0;_0x166f5c--)(_0x2822ed=_0x1c1ec2[_0x166f5c])&&(_0x1db4ed=_0x2822ed(_0x1db4ed)||_0x1db4ed);return _0x1db4ed;},$=(_0x3b66f0,_0x42288a)=>(_0x4bf56f,_0x65fd1d)=>_0x42288a(_0x4bf56f,_0x65fd1d,_0x3b66f0);let st=class extends _0x3f27f5{constructor(_0x2269d2,_0x3a7307,_0x5403fc,_0x3a7b93,_0x399ba2,_0x1401f6,_0x580dab,_0x1b5030,_0x1d995a,_0x7bd211,_0x346bf9,_0x55aac5,_0x500869,_0x2dacf6){var _0x4e65e7=_0x11fce5;super(),D(this,'_state$',new _0x5908b4(null)),D(this,_0x4e65e7(0x179),this[_0x4e65e7(0x2ec)]['asObservable']()),D(this,_0x4e65e7(0x3e1)),D(this,_0x4e65e7(0x162),!0x1),D(this,_0x4e65e7(0x1f5),''),D(this,_0x4e65e7(0x2e5),0x0),D(this,_0x4e65e7(0x1ff),this[_0x4e65e7(0x179)]['pipe'](_0x311905(_0x4d3328=>_0x4d3328?_0x4d3328['status']:Si[_0x4e65e7(0x353)]),_0x2ac085(0x1))),D(this,_0x4e65e7(0x2c1),!0x1),D(this,_0x4e65e7(0x37b),[]),(this[_0x4e65e7(0x308)]=_0x2269d2,this['session']=_0x3a7307,this[_0x4e65e7(0x2df)]=_0x5403fc,this[_0x4e65e7(0x2b4)]=_0x3a7b93,this[_0x4e65e7(0x2fc)]=_0x399ba2,this[_0x4e65e7(0x195)]=_0x1401f6,this[_0x4e65e7(0x3db)]=_0x580dab,this[_0x4e65e7(0x266)]=_0x1b5030,this['_univerInstanceService']=_0x1d995a,this[_0x4e65e7(0x313)]=_0x7bd211,this[_0x4e65e7(0x35c)]=_0x346bf9,this[_0x4e65e7(0x1f6)]=_0x55aac5,this[_0x4e65e7(0x290)]=_0x500869,this[_0x4e65e7(0x32e)]=_0x2dacf6);}get[_0x11fce5(0x13e)](){var _0x283e07=_0x11fce5;return this[_0x283e07(0x3e1)];}async['init'](){var _0x42b51e=_0x11fce5;if(this[_0x42b51e(0x13e)])throw new Error(_0x42b51e(0x170));await this[_0x42b51e(0x15f)]();}['pauseCollaboration'](){var _0x30656e=_0x11fce5;return this[_0x30656e(0x162)]=!0x0,_0x91ec0a(()=>{var _0x1e466c=_0x30656e;this[_0x1e466c(0x162)]=!0x1,this[_0x1e466c(0x2c4)]();});}[_0x11fce5(0x226)](_0x2643bd){var _0x15f544=_0x11fce5;this[_0x15f544(0x1c5)](_0x2643bd);}[_0x11fce5(0x2db)](_0xbb36e0){var _0x41609c=_0x11fce5;this[_0x41609c(0x3e1)]=_0xbb36e0,this[_0x41609c(0x2ec)][_0x41609c(0x16e)](_0xbb36e0);}async['_init'](){var _0x2ceae2=_0x11fce5,_0x1de8a7;this[_0x2ceae2(0x2db)](await this[_0x2ceae2(0x10f)]()),this[_0x2ceae2(0x290)]&&((_0x1de8a7=this[_0x2ceae2(0x290)])==null||_0x1de8a7['editingUnit'](this[_0x2ceae2(0x308)]),this[_0x2ceae2(0x3b2)](this['_singleActiveUnitService'][_0x2ceae2(0x2cb)](this['unitID'])[_0x2ceae2(0x1c6)](_0x50f642=>{var _0x273648=_0x2ceae2;this[_0x273648(0x313)][_0x273648(0x11a)](_0x273648(0x349),_0x273648(0x1cf),_0x50f642),_0x50f642===mi[_0x273648(0x126)]?(this[_0x273648(0x266)][_0x273648(0x351)]({'id':re[_0x273648(0x300)]}),this[_0x273648(0x1f6)][_0x273648(0x1a7)](new _0x380b83(this['unitID'])['id'],!0x1),this['_permissionService'][_0x273648(0x312)](!0x1)):(this[_0x273648(0x1f6)][_0x273648(0x1a7)](new _0x380b83(this[_0x273648(0x308)])['id'],!0x0),this[_0x273648(0x1f6)][_0x273648(0x312)](!0x0));})));let _0x22f3ef=!0x1;return this['disposeWithMe'](this[_0x2ceae2(0x372)]['sessionStatus$'][_0x2ceae2(0x1c6)](_0x3c3a27=>{var _0x434b94=_0x2ceae2;_0x3c3a27===me['ONLINE']?this[_0x434b94(0x221)](_0x22f3ef):_0x3c3a27===me[_0x434b94(0x353)]&&(_0x22f3ef=!0x0,this['_toggleOffline']());})),this[_0x2ceae2(0x3b2)](this['session']['event$']['subscribe'](_0x1ad54f=>{var _0x337de7=_0x2ceae2;try{switch(_0x1ad54f[_0x337de7(0x3cb)]){case _0x34af1a[_0x337de7(0x298)]:{this['_onRemoteChangeset'](_0x54c39c(_0x1ad54f[_0x337de7(0x292)]));break;}case _0x34af1a[_0x337de7(0x370)]:{this[_0x337de7(0x18f)](_0x1ad54f[_0x337de7(0x292)]);break;}case _0x34af1a[_0x337de7(0x20f)]:{this[_0x337de7(0x1ac)]();break;}case _0x34af1a[_0x337de7(0x27e)]:{this[_0x337de7(0x1e9)](_0x1ad54f[_0x337de7(0x292)]);break;}case _0x34af1a[_0x337de7(0x306)]:{this[_0x337de7(0x3b1)](_0x1ad54f[_0x337de7(0x292)][_0x337de7(0x29b)][_0x337de7(0x393)](_0x275cff=>_0x54c39c(_0x275cff)));break;}case _0x34af1a[_0x337de7(0x13b)]:{this[_0x337de7(0x1ac)]({'isPermissionRej':!0x0});break;}case _0x34af1a['UNISCRIPT_RUN']:break;}}catch(_0x4473dd){throw console['error'](_0x337de7(0x3fa),_0x4473dd),_0x4473dd;}})),this[_0x2ceae2(0x3e1)];}[_0x11fce5(0x342)](){var _0x23e105=_0x11fce5;this[_0x23e105(0x2c1)]=!0x1;}[_0x11fce5(0x20c)](){var _0x19d11f=_0x11fce5;if(this[_0x19d11f(0x2c1)])throw new Error(_0x19d11f(0x1db));this[_0x19d11f(0x2c1)]=!0x0;}[_0x11fce5(0x1c5)](_0x4e2638){var _0x341b78=_0x11fce5;this[_0x341b78(0x20c)](),this[_0x341b78(0x2db)](this[_0x341b78(0x3e1)][_0x341b78(0x105)](_0x4e2638)),this['_unlockTransition']();}[_0x11fce5(0x22b)](_0x5adaad){var _0x29da80=_0x11fce5;if(!(_0x5adaad[_0x29da80(0x1f8)]<=this[_0x29da80(0x3db)][_0x29da80(0x33e)](this['unitID']))){if(this[_0x29da80(0x162)]){this[_0x29da80(0x37b)][_0x29da80(0x145)](_0x5adaad);return;}this[_0x29da80(0x34c)](_0x5adaad);}}[_0x11fce5(0x2c4)](){var _0x207780=_0x11fce5;this['_remoteChangesetQueue']['forEach'](_0xbb4b5d=>this['_applyRemoteChangeset'](_0xbb4b5d)),this[_0x207780(0x37b)]=[];}[_0x11fce5(0x34c)](_0x80ac0f){var _0xb63662=_0x11fce5;const _0x2267ab=this['_compressMutationService']['interceptor'][_0xb63662(0x11d)](this[_0xb63662(0x2fc)][_0xb63662(0x24b)][_0xb63662(0x125)]()['COMPRESS_MUTATION_APPLY'])(_0x80ac0f[_0xb63662(0x34b)],null)||_0x80ac0f[_0xb63662(0x34b)],_0x4165c0={..._0x80ac0f,'mutations':_0x2267ab};this[_0xb63662(0x20c)](),this[_0xb63662(0x2db)](this['_state'][_0xb63662(0x2e0)](_0x4165c0)),this[_0xb63662(0x342)]();}[_0x11fce5(0x18f)](_0x16145f){var _0x11f056=_0x11fce5;this[_0x11f056(0x20c)](),this[_0x11f056(0x2db)](this[_0x11f056(0x3e1)]['onRemoteAck'](_0x16145f)),this[_0x11f056(0x342)]();}['_onRemoteRejected'](_0x33331d){var _0x1772f0=_0x11fce5;this[_0x1772f0(0x20c)](),this['_updateState'](this['_state'][_0x1772f0(0x3ec)](_0x33331d)),this[_0x1772f0(0x342)]();}[_0x11fce5(0x1e9)](_0x452cc2){var _0x53226b=_0x11fce5;this['_lockTransition'](),this['_updateState'](this[_0x53226b(0x3e1)][_0x53226b(0x3e2)](_0x452cc2)),this['_unlockTransition']();}[_0x11fce5(0x3b1)](_0x2e9afe){var _0x2ac5ae=_0x11fce5;if(!(this[_0x2ac5ae(0x3e1)]instanceof ee))throw new TypeError(_0x2ac5ae(0x1b8));const _0x49b1de=_0x2e9afe['map'](_0x28d114=>{var _0x3292d8=_0x2ac5ae;const _0x400459=this[_0x3292d8(0x2fc)][_0x3292d8(0x24b)][_0x3292d8(0x11d)](this['_compressMutationService'][_0x3292d8(0x24b)][_0x3292d8(0x125)]()[_0x3292d8(0x12b)])(_0x28d114[_0x3292d8(0x34b)],null)||_0x28d114[_0x3292d8(0x34b)];return{..._0x28d114,'mutations':_0x400459};});this[_0x2ac5ae(0x20c)](),this['_updateState'](this[_0x2ac5ae(0x3e1)]['onMissedChangesetFetched'](_0x49b1de)),this[_0x2ac5ae(0x342)]();}[_0x11fce5(0x23d)](){var _0x230831=_0x11fce5;this[_0x230831(0x20c)](),this['_updateState'](this[_0x230831(0x3e1)][_0x230831(0x2ac)]()),this[_0x230831(0x342)]();}[_0x11fce5(0x221)](_0xaf7539=!0x1){var _0xd30a77=_0x11fce5;this[_0xd30a77(0x20c)](),this[_0xd30a77(0x2db)](this[_0xd30a77(0x3e1)][_0xd30a77(0x254)]()),this['_unlockTransition']();const _0x295ecb=this[_0xd30a77(0x3e1)];_0xaf7539&&_0x295ecb instanceof be&&(this[_0xd30a77(0x20c)](),this[_0xd30a77(0x2db)](_0x295ecb['fetchMiss']()),this['_unlockTransition']());}async[_0x11fce5(0x10f)](){return new Promise(_0x420811=>{var _0x4338c8=_0x26d2;this[_0x4338c8(0x372)][_0x4338c8(0x262)][_0x4338c8(0x377)](_0x57d335(0x1))[_0x4338c8(0x1c6)](async _0x136df4=>{var _0x5ce113=_0x4338c8;_0x420811(await this[_0x5ce113(0x1e5)](_0x136df4===me[_0x5ce113(0x173)]));});});}[_0x11fce5(0x1a1)](){var _0x46a60d=_0x11fce5;const _0x301657=this[_0x46a60d(0x308)];return{'onStateChange':(_0x31a73e,_0x4f1f44)=>{var _0x4df0d4=_0x46a60d;if(_0x31a73e!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x31a73e[_0x4df0d4(0x18e)]+_0x4df0d4(0x367)+_0x4f1f44['status']+_0x4df0d4(0x2bd)+this[_0x4df0d4(0x3e1)][_0x4df0d4(0x18e)]);this[_0x4df0d4(0x2db)](_0x4f1f44);},'onSendChangeset':_0xa69df0=>{var _0x553046=_0x46a60d;_0xa69df0['sid']||(_0xa69df0['sid']=this[_0x553046(0x1f5)],_0xa69df0[_0x553046(0x14f)]=++this[_0x553046(0x2e5)]);const _0x4dd425={'eventID':_0x34af1a[_0x553046(0x1d1)],'data':{'unitID':_0xa69df0[_0x553046(0x308)],'unitType':this[_0x553046(0x2df)],'changeset':_0xa69df0,'memberID':this['session'][_0x553046(0x3ff)]()}};this[_0x553046(0x372)][_0x553046(0x338)](_0x4dd425,this[_0x553046(0x308)]);},'onMissingChangesets':({from:_0x47e8a2,to:_0x31bb55})=>{var _0x5b2db1=_0x46a60d;this[_0x5b2db1(0x313)][_0x5b2db1(0x11a)]('[CollaborationEntity]',_0x5b2db1(0x37c)+_0x47e8a2+_0x5b2db1(0x117)+_0x31bb55);const _0x5073cb={'eventID':_0x34af1a[_0x5b2db1(0x1dc)],'data':{'unitID':_0x301657,'unitType':this[_0x5b2db1(0x2df)],'from':_0x47e8a2,'to':_0x31bb55}};this[_0x5b2db1(0x372)][_0x5b2db1(0x338)](_0x5073cb,this[_0x5b2db1(0x308)]);}};}async[_0x11fce5(0x1e5)](_0x9b3dc7){var _0x9c7250=_0x11fce5,_0x3df549,_0x4d2e31,_0x581583;const _0x5bc620=await((_0x3df549=this[_0x9c7250(0x32e)])==null?void 0x0:_0x3df549[_0x9c7250(0x2e2)](this[_0x9c7250(0x308)])),_0x23e00c=(_0x4d2e31=_0x5bc620==null?void 0x0:_0x5bc620['mutations'])!=null?_0x4d2e31:[],_0x23f0db=(_0x581583=_0x5bc620==null?void 0x0:_0x5bc620[_0x9c7250(0x2cc)])!=null?_0x581583:null,_0x1328b8=!!(_0x23f0db!=null&&_0x23f0db[_0x9c7250(0x35d)])&&!!(_0x23f0db!=null&&_0x23f0db['reqId']);this['_changesetSessionId']=_0x1328b8?_0x23f0db[_0x9c7250(0x35d)]:_0x3eff4d(),this[_0x9c7250(0x2e5)]=_0x1328b8?_0x23f0db[_0x9c7250(0x14f)]:0x0;const _0x42e41c=this[_0x9c7250(0x308)];try{this[_0x9c7250(0x244)](_0x23f0db,_0x23e00c);}catch(_0x431afa){this[_0x9c7250(0x313)][_0x9c7250(0x177)](_0x431afa);}const _0x7b7e38=this[_0x9c7250(0x1a1)]();if(_0x9b3dc7){const _0x2f9a1d=Ti(this['_injector'],_0x42e41c,this[_0x9c7250(0x2df)],_0x23f0db,_0x23e00c,_0x7b7e38);return _0x2f9a1d instanceof ae?_0x2f9a1d[_0x9c7250(0x216)]():(_0x2f9a1d instanceof oe||_0x2f9a1d instanceof le)&&_0x2f9a1d['resend'](),_0x2f9a1d;}return this[_0x9c7250(0x2b4)]['createInstance'](de,_0x42e41c,this[_0x9c7250(0x2df)],_0x23f0db,_0x23e00c,_0x7b7e38);}['_replayCachedMutations'](_0x5c043c,_0x2fd2b2){var _0xb161ec=_0x11fce5,_0x171835,_0x17745c;const _0x490d31=this[_0xb161ec(0x2fc)][_0xb161ec(0x24b)]['fetchThroughInterceptors'](this[_0xb161ec(0x2fc)]['interceptor']['getInterceptPoints']()[_0xb161ec(0x12b)]);(_0x171835=_0x490d31((_0x5c043c==null?void 0x0:_0x5c043c[_0xb161ec(0x34b)])||[],null))==null||_0x171835[_0xb161ec(0x390)](_0x2de736=>this[_0xb161ec(0x35c)][_0xb161ec(0x336)](_0x2de736['id'],_0x2de736['params'])),(_0x17745c=_0x490d31(_0x2fd2b2||[],null))==null||_0x17745c[_0xb161ec(0x390)](_0x5102d1=>this[_0xb161ec(0x35c)][_0xb161ec(0x336)](_0x5102d1['id'],_0x5102d1[_0xb161ec(0x200)]));}};st=At([$(0x3,_0x2d55c5(_0x2fa53b)),$(0x4,_0x2d55c5(_0x149eda)),$(0x5,_0x2d55c5(_0x246818)),$(0x6,_0x2d55c5(_0x29042f)),$(0x7,_0x2d55c5(ve)),$(0x8,_0x12d3b5),$(0x9,_0x1df9aa),$(0xa,_0x3a47f5),$(0xb,_0x50b040),$(0xc,_0xe7a6e7(_t)),$(0xd,_0xe7a6e7(J))],st);let It=class extends st{constructor(_0x496c7f,_0xbb4f4e,_0x4fbbd9,_0xbf0191,_0xbe5af7,_0xb443e0,_0x22875d,_0x291fae,_0x324f5b,_0x56b993,_0x1227c7,_0x704139,_0x37a342,_0x4676ca){var _0x151182=_0x11fce5;super(_0x496c7f,_0x4fbbd9,_0xbb4f4e,_0xbf0191,_0xbe5af7,_0xb443e0,_0x22875d,_0x291fae,_0x324f5b,_0x56b993,_0x1227c7,_0x704139,_0x37a342,_0x4676ca),D(this,'_handlerCallback',null),(this[_0x151182(0x308)]=_0x496c7f,this[_0x151182(0x2bf)]=_0xbb4f4e);}[_0x11fce5(0x14d)](_0x33ff18){this['_handlerCallback']=_0x33ff18;}[_0x11fce5(0x3e7)](){var _0x4d5967=_0x11fce5;this[_0x4d5967(0x319)]=null,super[_0x4d5967(0x3e7)]();}[_0x11fce5(0x1a1)](){var _0xebfcc=_0x11fce5;const _0x3f5048=super['_createHandler']();return _0x3f5048[_0xebfcc(0x259)]=_0x59027a=>{var _0x50062d=_0xebfcc,_0x51c5fe,_0x433e9a;return(_0x433e9a=(_0x51c5fe=this['_handlerCallback'])==null?void 0x0:_0x51c5fe[_0x50062d(0x259)])==null?void 0x0:_0x433e9a['call'](_0x51c5fe,_0x59027a);},_0x3f5048[_0xebfcc(0xeb)]=_0x2d1744=>{var _0x6964d2=_0xebfcc,_0x1b845b,_0x36d044;return(_0x36d044=(_0x1b845b=this[_0x6964d2(0x319)])==null?void 0x0:_0x1b845b['onTransformState'])==null?void 0x0:_0x36d044[_0x6964d2(0x23e)](_0x1b845b,_0x2d1744);},_0x3f5048[_0xebfcc(0x26b)]=_0x112790=>{var _0x4490d6=_0xebfcc,_0x47ea66,_0x1dceb8;return(_0x1dceb8=(_0x47ea66=this[_0x4490d6(0x319)])==null?void 0x0:_0x47ea66['onTransformSelections'])==null?void 0x0:_0x1dceb8[_0x4490d6(0x23e)](_0x47ea66,_0x112790);},_0x3f5048[_0xebfcc(0x103)]=_0x5b8b21=>{var _0x28da29=_0xebfcc,_0x5d3c9a,_0x1136ae;return(_0x1136ae=(_0x5d3c9a=this[_0x28da29(0x319)])==null?void 0x0:_0x5d3c9a['onSyncEditingCollabCursor'])==null?void 0x0:_0x1136ae[_0x28da29(0x23e)](_0x5d3c9a,_0x5b8b21);},_0x3f5048[_0xebfcc(0x2d7)]=_0x4b29d2=>{var _0x487db4=_0xebfcc,_0x17b112,_0x49ca02,_0x2f1298;if(!((_0x17b112=this[_0x487db4(0x319)])!=null&&_0x17b112[_0x487db4(0x2d7)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2f1298=(_0x49ca02=this[_0x487db4(0x319)])==null?void 0x0:_0x49ca02['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2f1298[_0x487db4(0x23e)](_0x49ca02,_0x4b29d2);},_0x3f5048['onTransformRemoteChangesetByStateCache']=_0x33e1a8=>{var _0xfc6542=_0xebfcc,_0x4e8a27,_0x9cfd7f,_0x408867;if(!((_0x4e8a27=this['_handlerCallback'])!=null&&_0x4e8a27[_0xfc6542(0x222)]))throw new Error(_0xfc6542(0x100));return(_0x408867=(_0x9cfd7f=this[_0xfc6542(0x319)])==null?void 0x0:_0x9cfd7f[_0xfc6542(0x222)])==null?void 0x0:_0x408867[_0xfc6542(0x23e)](_0x9cfd7f,_0x33e1a8);},_0x3f5048;}async[_0x11fce5(0x15f)](){var _0xef3957=_0x11fce5;const _0x1396f0=await super[_0xef3957(0x15f)]();return this['disposeWithMe'](this['_commandService'][_0xef3957(0x2ca)]((_0x56356d,_0x3986ff)=>{var _0x28e8b2=_0xef3957;if(_0x56356d[_0x28e8b2(0x2bf)]!==_0x24c6a0[_0x28e8b2(0x3f4)]||_0x3986ff!=null&&_0x3986ff[_0x28e8b2(0x174)]||_0x3986ff!=null&&_0x3986ff[_0x28e8b2(0x246)]||_0x56356d['id']===_0x312109['id'])return;const _0x38e7c4=_0x56356d[_0x28e8b2(0x200)];if((_0x38e7c4==null?void 0x0:_0x38e7c4['unitId'])!==this['unitID'])return;const _0x41666b=_0x56356d,_0x4348a4=this['_compressMutationService'][_0x28e8b2(0x24b)][_0x28e8b2(0x11d)](this[_0x28e8b2(0x2fc)][_0x28e8b2(0x24b)]['getInterceptPoints']()[_0x28e8b2(0x33d)])([_0x41666b],this[_0x28e8b2(0x2c5)])||[_0x41666b];this[_0x28e8b2(0x1c5)](_0x4348a4[0x0]);})),_0x1396f0;}};It=At([$(0x3,_0x2d55c5(_0x2fa53b)),$(0x4,_0x2d55c5(_0x149eda)),$(0x5,_0x2d55c5(_0x246818)),$(0x6,_0x2d55c5(_0x29042f)),$(0x7,_0x2d55c5(ve)),$(0x8,_0x12d3b5),$(0x9,_0x1df9aa),$(0xa,_0x3a47f5),$(0xb,_0x50b040),$(0xc,_0xe7a6e7(_t)),$(0xd,_0xe7a6e7(J))],It);let St=class extends st{constructor(_0x141f34,_0x9a78dd,_0x2e6efb,_0x2a5bd5,_0x3645e8,_0x2bec4e,_0x2f4b62,_0x2cd602,_0x14ca3d,_0x3f661d,_0x462945,_0xef1237,_0x118919,_0x349e09,_0x273cf2){var _0x35223a=_0x11fce5;super(_0x141f34,_0x2e6efb,_0x9a78dd,_0x2a5bd5,_0x3645e8,_0x2bec4e,_0x2f4b62,_0x14ca3d,_0x3f661d,_0x462945,_0xef1237,_0x118919,_0x349e09,_0x273cf2),this['unitID']=_0x141f34,this[_0x35223a(0x2bf)]=_0x9a78dd,this[_0x35223a(0x331)]=_0x2cd602;}[_0x11fce5(0x1a1)](){var _0x3e60bb=_0x11fce5;const _0x39d0cf=super[_0x3e60bb(0x1a1)]();return _0x39d0cf[_0x3e60bb(0x26b)]=_0x5e2797=>this[_0x3e60bb(0x331)][_0x3e60bb(0x30a)](_0x5e2797),_0x39d0cf;}async['_init'](){var _0x10ce25=_0x11fce5;const _0x333e9d=await super[_0x10ce25(0x15f)]();return this[_0x10ce25(0x3b2)](this[_0x10ce25(0x35c)][_0x10ce25(0x2ca)]((_0x3e9de3,_0x3ed718)=>{var _0x317a90=_0x10ce25;if(_0x3e9de3['type']!==_0x24c6a0[_0x317a90(0x3f4)]||_0x3ed718!=null&&_0x3ed718[_0x317a90(0x174)]||_0x3ed718!=null&&_0x3ed718[_0x317a90(0x246)])return;const _0x58a875=_0x3e9de3[_0x317a90(0x200)];if((_0x58a875==null?void 0x0:_0x58a875[_0x317a90(0x38f)])!==this[_0x317a90(0x308)])return;const _0x432a22=_0x3e9de3,_0x501953=this['_compressMutationService'][_0x317a90(0x24b)]['fetchThroughInterceptors'](this[_0x317a90(0x2fc)][_0x317a90(0x24b)][_0x317a90(0x125)]()[_0x317a90(0x33d)])([_0x432a22],this[_0x317a90(0x2c5)])||[_0x432a22];this['_onLocalMutation'](_0x501953[0x0]);})),_0x333e9d;}};St=At([$(0x3,_0x2d55c5(_0x2fa53b)),$(0x4,_0x2d55c5(_0x149eda)),$(0x5,_0x2d55c5(_0x246818)),$(0x6,_0x2d55c5(_0x29042f)),$(0x7,_0x2d55c5(it)),$(0x8,_0x2d55c5(ve)),$(0x9,_0x12d3b5),$(0xa,_0x1df9aa),$(0xb,_0x3a47f5),$(0xc,_0x50b040),$(0xd,_0xe7a6e7(_t)),$(0xe,_0xe7a6e7(J))],St);const Bs=_0x40b8d5('univer-pro.collaboration-client.network-condition.service');function Fs(_0x40aea2){var _0x5d1a8d=_0x11fce5,_0x21526f,_0x2a18c0,_0x7a0898,_0x31fc6d,_0x2a237d;const _0x47b39e=_0x40aea2[_0x5d1a8d(0x292)],_0xbe3999=JSON['parse'](_0x47b39e);switch(_0xbe3999['cmd']){case j[_0x5d1a8d(0x271)]:case j['HELLO']:{const _0x4a0330=_0xbe3999[_0x5d1a8d(0x251)];return{..._0xbe3999,'data':_0x4a0330,'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};}case j['JOIN']:{const _0x4d6e18=_0xbe3999['joinRsp'];return{..._0xbe3999,'data':_0x4d6e18,'cmd':_0xbe3999['cmd']};}case j[_0x5d1a8d(0x29f)]:{const _0x5355d4=_0xbe3999[_0x5d1a8d(0x23b)];switch(_0x5355d4[_0x5d1a8d(0x3cb)]){case _0x34af1a[_0x5d1a8d(0x13b)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':(_0x21526f=_0x5355d4[_0x5d1a8d(0x1b4)])==null?void 0x0:_0x21526f['cs']},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a['CHANGESET_ACK']:return{..._0xbe3999,'data':{..._0x5355d4,'data':(_0x2a18c0=_0x5355d4[_0x5d1a8d(0x3c1)])==null?void 0x0:_0x2a18c0['cs']},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a['NEW_CHANGESETS']:return{..._0xbe3999,'data':{..._0x5355d4,'data':(_0x7a0898=_0x5355d4[_0x5d1a8d(0x3fb)])==null?void 0x0:_0x7a0898['cs']},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x20f)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':(_0x31fc6d=_0x5355d4[_0x5d1a8d(0x1e7)])==null?void 0x0:_0x31fc6d['cs']},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x27e)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':(_0x2a237d=_0x5355d4[_0x5d1a8d(0x325)])==null?void 0x0:_0x2a237d['cs']},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x3a8)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x26f)]},'cmd':_0xbe3999['cmd']};case _0x34af1a['USERS_ENTER']:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x27c)]},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a['USERS_LEAVE']:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x328)]},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x14b)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x2f7)]},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x1a2)]:case _0x34af1a[_0x5d1a8d(0x1b9)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x39d)]},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x241)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x2f7)]},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a['MSG_FOR_ERROR']:return{..._0xbe3999,'data':_0x5355d4,'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0xf8)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4['commentUpdateEvent']},'cmd':_0xbe3999['cmd']};case _0x34af1a[_0x5d1a8d(0x184)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x1e8)]},'cmd':_0xbe3999['cmd']};case _0x34af1a[_0x5d1a8d(0x2be)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x22f)]},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x202)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x20a)]},'cmd':_0xbe3999['cmd']};default:return _0xbe3999;}}default:return _0xbe3999;}}function js(_0x384ed6){var _0x2908ea=_0x11fce5;switch(_0x384ed6[_0x2908ea(0x2c6)]){case j[_0x2908ea(0x271)]:case j[_0x2908ea(0x1bb)]:return JSON[_0x2908ea(0x3be)]({'cmd':_0x384ed6[_0x2908ea(0x2c6)],'routeKey':_0x384ed6[_0x2908ea(0x363)]});case j[_0x2908ea(0x15e)]:{let _0x52ddae;switch(_0x384ed6[_0x2908ea(0x292)]['eventID']){case _0x34af1a['UPDATE_CURSOR']:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x3a8)],'updateCursorEvent':_0x384ed6[_0x2908ea(0x292)][_0x2908ea(0x292)]};break;}case _0x34af1a[_0x2908ea(0x24c)]:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x24c)],'leaveEvent':_0x384ed6[_0x2908ea(0x292)][_0x2908ea(0x292)]};break;}case _0x34af1a['USERS_ENTER']:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x391)],'joinEvent':_0x384ed6[_0x2908ea(0x292)][_0x2908ea(0x292)]};break;}case _0x34af1a['LIVESHARE_NEW_HOST']:{_0x52ddae={'eventID':_0x34af1a['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x384ed6[_0x2908ea(0x292)]['data']};break;}case _0x34af1a['LIVESHARE_OPERATION']:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x1b9)],'liveShareOperation':_0x384ed6[_0x2908ea(0x292)][_0x2908ea(0x292)]};break;}case _0x34af1a[_0x2908ea(0x241)]:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x241)],'liveShareTerminate':_0x384ed6[_0x2908ea(0x292)]['data']};break;}case _0x34af1a[_0x2908ea(0x196)]:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x196)],'liveShareRequestHost':_0x384ed6[_0x2908ea(0x292)]['data']};break;}case _0x34af1a['LIVESHARE_FETCH_OPERATIONS']:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x1a2)]};break;}default:_0x52ddae={'eventID':_0x384ed6['data'][_0x2908ea(0x3cb)]};}return JSON[_0x2908ea(0x3be)]({'cmd':_0x384ed6[_0x2908ea(0x2c6)],'routeKey':_0x384ed6[_0x2908ea(0x363)],'collaMsg':_0x52ddae});}case j[_0x2908ea(0xf3)]:return JSON[_0x2908ea(0x3be)]({'cmd':_0x384ed6[_0x2908ea(0x2c6)],'routeKey':_0x384ed6[_0x2908ea(0x363)],'joinReq':_0x384ed6['data']});case j[_0x2908ea(0x147)]:return JSON[_0x2908ea(0x3be)]({'cmd':_0x384ed6[_0x2908ea(0x2c6)],'routeKey':_0x384ed6['routeKey'],'leaveReq':_0x384ed6[_0x2908ea(0x292)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Vs=Object[_0x11fce5(0x381)],Gs=(_0x241e90,_0x3ae795,_0x50154a,_0x2f3f47)=>{for(var _0x5210a0=_0x2f3f47>0x1?void 0x0:_0x2f3f47?Vs(_0x3ae795,_0x50154a):_0x3ae795,_0x1ed665=_0x241e90['length']-0x1,_0x3ac393;_0x1ed665>=0x0;_0x1ed665--)(_0x3ac393=_0x241e90[_0x1ed665])&&(_0x5210a0=_0x3ac393(_0x5210a0)||_0x5210a0);return _0x5210a0;},ye=(_0x492c08,_0x5e7d53)=>(_0x342648,_0x5376e5)=>_0x5e7d53(_0x342648,_0x5376e5,_0x492c08);const Oi=_0x40b8d5(_0x11fce5(0x344));function Ws(_0x25239c,_0x53c792,_0x3e08dc){var _0x1dec6e=_0x11fce5;return _0x25239c+'/'+_0x53c792+_0x1dec6e(0x3a4)+_0x3e08dc+_0x1dec6e(0x3c3);}function _0x4970(){var _0x1a8a81=['PENDING','session.room-full','pending','reset','_commandService','sid','getTypeOfUnitDisposed$','charCodeAt','_nRounds','[OfflineState]:\x20received\x20acknowledgement.','4shssKZ','routeKey','SUBMIT_CHANGESET_TIMEOUT','createSocket','enableCollaboration','\x0aAfter:\x20','requireSession','_getAPIPrefix','hasher','resend','uploadFileServerUrl','_reverseMap','ENSURE_SNAPSHOT_EXECUTION','_timeoutTimer','CHANGESET_ACK','USER_NOT_INVITED_CODE','session','stopTime','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','capture','LICENSE_IMPORT_SIZE_EXCEEDED','pipe','getUnitId','objects','blockSize','_remoteChangesetQueue','fetching\x20missing\x20changesets\x20from\x20','_members','collaboration_new_changeset','clone','auth.needGotoLoginAlert','getOwnPropertyDescriptor','sessionStatus','enableSingleActiveInstanceLock','SHA1','join','_updateStatus','saveImage','unsubscribe','_submitChangeset','getSnapshotAPIPath','FileId','session.join-failed','REDEMPTION_CODE_NOT_STARTED','crypto','unitId','forEach','USERS_ENTER','UserProfileImg','map','retryConnectingInterval','_retryCount','transformUndoRedo','_createHelper','deleteCollaborator','AUTHORIZE_CODE_ILLEGAL','_startCollaboration','UNIVER_SLIDE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','liveShareOperation','key','[CollaborationSession]','_clearRetryConnectingTimer','onMissedChangesetFetched','univer-pro.collaboration-client.single-active-unit-service','finalize','/unit/','_doCryptBlock','createInstance','downloadEndpointUrl','UPDATE_CURSOR','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','waitForRoom$','ENTITLE_REPORT_LIMIT_EXCEED','_decreaseWaiting','putCollaborators','saveSnapshot','extend','random','_onFetchMissResult','disposeWithMe','_sendHeartbeat','startTime','_acknowledgedAwaitingChangeset','abs','close$','origin','__Key__','_replaceFileID','apply','patch','clear','stringify','_initRequestHeader','entries','csAckEvent','getActiveSheet','/new_changes','actions','asObservable','ENTITLE_CAN_NOT_BUY_LOWER_OTP','/universer-api/uniscript','BlockCipher','setConfig','&assign=','eventID','_getSendChangesetTimeout','CONNECTOR_DATA_TOO_LARGE','getMember','1331670JkncNg','includes','_imageSourceCache','symbol','Univer','clamp','[CollaborationSessionService]:\x20socket\x20error','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_checkMissing','iterations','create','TOO_MANY_REQUESTS','_revisionService','YUUMI_RATE_OVER_LIMIT','APPLY_NON_SEQUENTIAL_REVISION','Decryptor','DATA_SOURCE_TOO_LARGE','saveChangeset','_state','onRemoteRetry','session.room-cnt-exceeds','EMAIL_VERIFY_CODE_MISMATCH','_clearTimeoutTimer','HEARTBEAT_INTERVAL','dispose','_disableEditing','_collaborationSessionService','_telemetryInfo','EvpKDF','onRemoteRej','m2Prime','_tryReconnect','UNAUTHENTICATED','_clearLocalCache','\x20-\x20','Malformed\x20UTF-8\x20data','x-univer-host','MUTATION','subject','transformStack\x20failed!','action','SUCCUSS','CBC','Error\x20on\x20receiving\x20event','newCsEvent','[DataLoaderService]','transformChangesets','c1Prime','getMemberID','AWAITING_WITH_PENDING','/-/object/-/batch_allowed','_getDownloadEndpointURL','msCrypto','_onConnectionOpen','onTransformState','SYNCED','onStarting','_append','members','UnitEmbedded','Pkcs7','NOT_FOUND','JOIN','_getAPIPrefixPath','file','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_change$','COMMENT_UPDATE','loadDoc','RETRY_CONNECTING_MAX_COUNT','SOCKET_FAILED_RETRY','concat','CipherParams','fetch_missing','signUrlServerUrl','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_sessions','_collabSessionService','onSyncEditingCollabCursor','_scheduleCollaborationTimeoutTimer','appendMutation','dispose$','_hash','ENTITLE_INSUFFICIENT_QUOTA','getCurrentSelections','size','_socket$','_undoRedoService','reverse','open$','_createInitialState','137277tFlmZP','OPTIONAL','REDEMPTION_CODE_INACTIVE','transformMutationsWithChangeset','formatter','length','conflict','\x20to\x20','_clearCollaborationTimeoutTimer','UnitSnapshot','debug','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_collaborationTimeoutTimer','fetchThroughInterceptors','socket\x20open.','Cipher','updateMember','offline','_rescheduleHeartbeat','INVITE_CODE_REQUIRED','IDLE','getInterceptPoints','OTHER_CLIENTS_EDITING','/fetchmissing?from=','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_updateLocalCache','getImageSourceCache','COMPRESS_MUTATION_APPLY','decrypt','_instanceService','_memberService','YUUMI_UNABLE_LOAD_URL','CLOSE_ROOM','CHANGESET_REVISION_CONFILICT','_httpService','/object/','_mode','[SyncedState]:\x20received\x20rejection.','_transformStack','withCredentials','_sender','_onConflict','put','PERMISSION_REJ','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','cfg','state','avatar','isPermissionRej','_initUnitPermissionChange','userID','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','encryptBlock','push','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','LEAVE','roomInfos','_socketService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','LIVESHARE_NEW_HOST','getTypeOfUnitAdded$','addHandlerCallback','getResourcesRequest','reqId','_transformUndoredo','INVITE_CODE_HAS_BEEN_UES','[SyncedState]:\x20received\x20acknowledgement.','REDEMPTION_CODE_FULLY_REDEEMED','startsWith','result','__creator','Base64','repeat','src','from','findIndex','_onConnectionFailed','hasOwnProperty','INGEST','_init','ENTITLE_CHAT_LIMIT_EXCEED','_hasher','_collaborationPaused','APPLY_PERMISSION_DENIED','UUID','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_resendTimer','post','YUUMI_ASYNCIO_CANCELLED','append','MOBILE_VERIFY_CODE_MISMATCH','UNDEFINED','subUnitId','JOIN_ROOM_FAILED','next','salt','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_createSocket','$super','ONLINE','fromCollab','_roomMembers','_nDataBytes','error','Base','state$','enc','_transformSelections','connection\x20error','22668bhbGRK','onSendChangeset','_waitForHeartbeatResponse','JOIN_ROOM_PERMISSION_DENIED','_iKey','_configService','CONFLICT','UPDATE_PERMISSION_OBJ','update','AES','awaiting','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_networkConditionService','getUnitOnRev','failed\x20to\x20apply\x20missed\x20changesets!','REDEMPTION_INVALID_CODE','_emitMembers','status','_onRemoteACK','UNIVER_SHEET','init','_onCombEvent','_entityInit$','PasswordBasedCipher','_localeService','LIVESHARE_REQUEST_HOST','USER_NOT_FOUND','reconnect','encode','originalMeta','Could\x20not\x20dynamically\x20require\x20\x22','url','_resendWithTimeout','_retryConnectingTimer','UNKNOWN_CMD','toString','_createHandler','LIVESHARE_FETCH_OPERATIONS','loadUnitOfRevision','Latin1','LICENSE_EXPORT_SIZE_EXCEEDED','_entities','updatePermissionPoint','ciphertext','reject','requestParams','Utf8','_onRemoteRejected','substr','hostname','_awaitingChangeset','createEncryptor','registerHTTPInterceptor','_oKey','floor','permissionRejEvent','ERROR_IMAGE','catch','REDEMPTION_USER_REDEEM_TIMES_EXCEED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','LIVESHARE_OPERATION','prototype','HELLO','awaiting_with_pending','_xformMode','responseType','setWaitCount','name','_initMergeInterceptor','getFocusedUnit','Hasher','default','_onLocalMutation','subscribe','BlockCipherMode','_initDependencies','[PendingState]:\x20received\x20acknowledgement.','PAYMENT_CHANNEL_NOT_SUPPORT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_candidateSocket','_transformIMECache','unitInfo$','editing\x20status\x20changed\x20to','updateCollaborator','SUBMIT_CHANGESET','BufferedBlockAlgorithm','createCollaborator','kdf','_members$','UNKNOWN_CODE','HttpImport','algo','removeMember','_onUserJoin','[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.','FETCH_MISSING','{fileID}','_clearScheduledTask','75AbSqYN','mixIn','ERROR_IMAGE_TYPE','/universer-api/user/session-ticket','APPLY_DUPLICATED','/rev/','_createInitialStateImpl','PY_RUNTIME_SCRIPT_ERROR','csRejEvent','updatePermissionObjEvent','_onRemoteRetry','getUnit','function','enableAuthServer','/universer-api/oidc/authpage','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','ENTITLE_NEED_BILLING_ADDRESS','collaboration-client.config','[CollaborationSessionService]','addImageSourceCache','_createHmacHelper','LOCAL_CACHE_INTERVAL','_changesetSessionId','_permissionService','REDEMPTION_CODE_HAS_BEEN_CREATED','revision','collabSubmitChangesetUrl','words','_telemetryService','_isPermissionRej','_syncEditingCollabCursor','snapshotServerUrl','status$','params','session.room-permission-denied','UNISCRIPT_RUN','_waitCount','_invKeySchedule','_ENC_XFORM_MODE','compose','synced','INVITE_CODE_ALREADY_BOUND','JOIN_ROOM_NOT_EXISTS','uniscriptRunEvent','_registerDependencies','_lockTransition','sin','BASE64','CHANGESET_REJ','JOINING','objectID','updateSnapshot','complete','duration','HttpExport','_schedule','_commentService','closeSession','now','_snapshotServerService','_handler','[CollaborationUndoRedoService]','PERMISSION_DENIED','sigBytes','pluginName','HmacSHA1','_toggleOnline','onTransformRemoteChangesetByStateCache','_socketReady','_status$','collaboratorID','onLocalMutation','_getUploadFileURL','min','_keySchedule','_showConflictNotification','_onRemoteChangeset','image/jpeg','YUUMI_AI_RUN_FAILED','readInt32LE','shouldCloseConn','NOT_COLLAB','set','change$','/object','roles','mode','compute','58434CxUPHz','ENTITLE_DUP_SUBSCRIPTION','location','getCollabEntity','collaMsg','\x20in\x20_schedule.','_toggleOffline','call','PERSON','&to=','LIVESHARE_TERMINATE','MD5','_clearUndo','_replayCachedMutations','ALREADY_EXISTS','onlyLocal','_unitInfo$','Undefined','fromCharCode','collabWebSocketUrl','interceptor','USERS_LEAVE','_key','getDeserializedSheetBlock','_incrementRevisionNumber','listRoles','infoRsp','_minBufferSize','listCollaborators','toggleOnline','lib','_parse','LOGIN_FAILED','replace','onTransformIME','?url=','HmacMD5','_sendingTimer','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CURRENT_STATUS_CANNOT_OPERATE','event$','getSheetBlock','padding','sessionStatus$','_substituteUndoStack','isArray','SNAPSHOT_HAS_BEEN_REMOVED','_eventService','_transformRemoteChangesetByStateCache','_getUndoStack','SOCKET_FAILED','JOIN_ROOM_FULL','onTransformSelections','_shouldReportTelemetry','_iv','telemetry\x20info\x20is\x20not\x20initialized','updateCursorEvent','FAIL','HEARTBEAT','refreshPermission','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','authzUrl','reduce','_onUserLeave','get','href','selections','YUUMI_SUBSCRIPTION_NOT_FOUND','_sendHeartbeatTimer','joinEvent','_getLoginPath','CHANGESET_SHOULD_RETRY','_removeRoom','People','YUUMI_TABLE_NOT_FOUND_IN_UNIT','processBlock','_unitID','collaborators','UNIVER_UNKNOWN','LICENSE_MAX_UNITS_EXCEEDED','_onOffline','range','_transformRemoteChangesetByIMECache','enableOfflineEditing','APPLY_REJECT','_map','saveSheetBlock','_throwTelemetryCollaborationNewChangeset','NoPadding','_singleActiveUnitService','_process','data','getValue','_config','_clearRedo','_stopTelemetryCollaborationNewChangeset','close','NEW_CHANGESETS','_initCloseConn','delete','changesets','equals','_doFinalize','sheets','RECV','AWAITING','[PendingState]:\x20received\x20rejection.','_joinRoom','/allowed','_data','_cipher','EMAIL_HAS_BEEN_BOUND','_redoStacks','code','_pendingMutations','localeService','_userManagerService','toggleOffline','parse','GLOBAL_ROOMS_CNT_EXCEEDS','exports','_onJoinRoomEvent','onRemoteAck','LICENSE_DISTRO_REJECTED','YUUMI_ALL_TABLES_IS_INVALID','_injector','HEARTBEAT_TIMEOUT','MSG_FOR_ERROR','getSheetId','_commentUpdate$','INVALID_INVITE_CODE','_getSignURL','execute','MOBILE_HAS_BEEN_BOUND','\x0aCurrent:\x20','SHOULD_CLOSE_CONN','type','REDEMPTION_USER_NOT_ELIGIBLE','_transitionLocked','YUUMI_URL_COL_OUT_OF_RANGE','rev','_exhaustRemoteChangesetQueue','_univerInstanceService','cmd','_sessionStatus$','StreamCipher','socket\x20close','onCommandExecuted','getUnitStatus$','awaitingChangeset','YUUMI_CONNECTOR_URL_NOT_FOUND','setCurrentUser','loginUrlKey','_substituteRedoStack','/universer-api/authz','_getRedoStack','format','INTERNAL_ERROR','_onRecvEvent','_tryEnsureSocket','onTransformRemoteChangesetByIMECache','resourceIDs','216AdPAMm','_onMessage','_updateState','Hex','LOGIN_TOKEN_PROCESSING_FAILED','?size=','_type','onRemoteChangeset','onCommentUpdate','loadOfflineData','createDecryptor','byteOffset','_changesetReqId','_transformStateCache','copyFileMeta','WordArray','ws://127.0.0.1:8000/universer-api/comb/connect','members$','override','_state$','NO_OTHER_CLIENTS_EDITING','slice','/universer-api/snapshot/','_clearHeartbeatTimer','body','_scheduleCompleteTimestamp','_startTelemetryCollaborationNewChangeset','_queuedRemoteChangesets','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_fetchMissChangesets','liveShareNewHost','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_event$','getCurrentUser','484188pjCbZi','_compressMutationService','online$','_roomCreated$','memberID','OTHER_CLIENT_EDITING','893767snUAdD','max','COMPLETION_FINISHED','image/jpg','_transformService','PSEUDO_FETCH_MISSING_RESULT','string','unitID','headers','transformSelections','_listenToNetworkCondition','deepClone','splice','_doReset','getTime','[OfflineState]:\x20received\x20rejection.','add','setShowComponents','_logService','image/gif','buffer','_getCtorByUniverType','/collaborator','_collaborationUIEventService','_handlerCallback','_socket','localCacheService','save\x20fail\x20reason\x20is\x20','encrypt','UNRECOGNIZED','_doCreateSocket','12253150RTTBlf','baseRev','ERROR_AGAIN','SNAPSHOT_INVALID_SNAPSHOT','pad','csShouldRetryEvent','keySize','error$','leaveEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','initWorkbookPermissionChange','randomBytes','_snapshotService','/role','_localCacheService','_prevBlock','getCollabEntity$','_sheetTransformSelectionsService','_resendTimeout','Encryptor','unknown','onMissingChangesets','executeCommand','defineProperty','send','fetchMissingChangesets','getConfig','_socketMessageSubscription','has','COMPRESS_MUTATION_SEND','getCurrentRevOfUnit','getLatestCsReqIdBySid','image/png','charAt','_unlockTransition','objectType','univer-pro.collaboration-client-socket-service','byteLength','UNIVER_DOC','batchAllowed','getRandomValues','[CollaborationEntity]','UNIVER_COLLABORATION_CLIENT_PLUGIN','mutations','_applyRemoteChangeset','_HTTPService','[UniverCollaborationClientPlugin]','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','emitEvent','_executeRemoteChangeset','OFFLINE','message$','decryptBlock','_getCurrentRevision','ClipsheetFragments'];_0x4970=function(){return _0x1a8a81;};return _0x4970();}let Gt=class extends _0x75f90f{constructor(_0x14da43,_0x47ba2c,_0x3d21da,_0x2a5a59,_0x252bd2){var _0x2db494=_0x11fce5;super(),this[_0x2db494(0x2b4)]=_0x14da43,this[_0x2db494(0x132)]=_0x47ba2c,this['_configService']=_0x3d21da,this[_0x2db494(0x313)]=_0x2a5a59,this['_snapshotServerService']=_0x252bd2;}[_0x11fce5(0x31f)](_0x11c85a){var _0x4455e1=_0x11fce5;const _0x267536=this[_0x4455e1(0x2b4)][_0x4455e1(0x277)](_0x1664d7);if(!_0x267536)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0xe80f9d=_0x267536['createSocket'](_0x11c85a);if(!_0xe80f9d)throw new Error(_0x4455e1(0x188));const _0x4ac1fa=new _0x53d4ad(),_0x5d9566=new _0x47b396();_0x4ac1fa[_0x4455e1(0x311)](_0xe80f9d[_0x4455e1(0x3b7)][_0x4455e1(0x1c6)](_0x431f75=>_0x5d9566[_0x4455e1(0x16e)](_0x431f75))),_0x4ac1fa[_0x4455e1(0x311)](_0x91ec0a(()=>_0x5d9566['complete']()));const _0x4d9918=new _0x47b396();_0x4ac1fa[_0x4455e1(0x311)](_0xe80f9d[_0x4455e1(0x327)][_0x4455e1(0x1c6)](_0x5625d6=>_0x4d9918[_0x4455e1(0x16e)](_0x5625d6))),_0x4ac1fa[_0x4455e1(0x311)](_0x91ec0a(()=>_0x4d9918[_0x4455e1(0x213)]()));const _0x52a54c=new _0x47b396();_0x4ac1fa[_0x4455e1(0x311)](_0xe80f9d[_0x4455e1(0x354)][_0x4455e1(0x1c6)](_0x36b92b=>{const _0x4fa27b=Fs(_0x36b92b);_0x52a54c['next'](_0x4fa27b);})),_0x4ac1fa[_0x4455e1(0x311)](_0x91ec0a(()=>_0x52a54c[_0x4455e1(0x213)]()));let _0x484eb5;const _0x32c873=()=>{var _0x3f19a8=_0x4455e1;_0x4d9918['next'](new Event(_0x3f19a8(0x17c))),_0x5d9566[_0x3f19a8(0x16e)](new Event(_0x3f19a8(0x17c))),_0x484eb5[_0x3f19a8(0x297)]();};return _0x484eb5={'memberID':'','close$':_0x5d9566[_0x4455e1(0x3c5)](),'error$':_0x4d9918[_0x4455e1(0x3c5)](),'open$':_0xe80f9d['open$'],'message$':_0x52a54c['asObservable'](),'send':_0x49d271=>{var _0x5dc7a2=_0x4455e1;if(_0x49d271[_0x5dc7a2(0x2c6)]===j['INGEST']){if(_0x49d271['data'][_0x5dc7a2(0x3cb)]===_0x34af1a[_0x5dc7a2(0x1d1)]){this[_0x5dc7a2(0x389)](_0x484eb5,_0x49d271[_0x5dc7a2(0x292)])['catch'](_0x256c13=>{var _0x35a9e5=_0x5dc7a2;this[_0x35a9e5(0x313)][_0x35a9e5(0x177)](_0x256c13),_0x32c873();});return;}if(_0x49d271[_0x5dc7a2(0x292)][_0x5dc7a2(0x3cb)]===_0x34af1a[_0x5dc7a2(0x1dc)]){const _0x156c8d=_0x49d271[_0x5dc7a2(0x292)];this['_fetchMissChangesets'](_0x156c8d)['then'](_0x357ab2=>{var _0x4f75f0=_0x5dc7a2;_0x52a54c['next']({'cmd':j[_0x4f75f0(0x29f)],'code':pe['OK'],'routeKey':_0x156c8d[_0x4f75f0(0x292)]['unitID'],'routeType':'','data':{'eventID':_0x34af1a[_0x4f75f0(0x306)],'data':{'changesets':_0x357ab2}}});})[_0x5dc7a2(0x1b6)](_0x2c0553=>{var _0x97a0ff=_0x5dc7a2;this[_0x97a0ff(0x313)][_0x97a0ff(0x177)](_0x2c0553),_0x32c873();});return;}}_0xe80f9d[_0x5dc7a2(0x338)](js(_0x49d271));},'close':()=>{var _0x4ba214=_0x4455e1;_0xe80f9d[_0x4ba214(0x297)](),_0x4ac1fa['dispose']();}},_0x484eb5;}async['_submitChangeset'](_0x4e8a69,_0x310524){var _0x25fc18=_0x11fce5,_0x45385c;const {unitType:_0x1373f8,unitID:_0x13e819,changeset:_0x583e2a}=_0x310524['data'],_0x45e454={'unitID':_0x13e819,'memberID':_0x4e8a69[_0x25fc18(0x2ff)],'type':_0x1373f8,'changeset':_0x104dd3(_0x583e2a)},_0x59e433=this[_0x25fc18(0x182)][_0x25fc18(0x33a)](K),_0x2940f1=Ws((_0x45385c=_0x59e433==null?void 0x0:_0x59e433[_0x25fc18(0x1f9)])!=null?_0x45385c:Os,_0x1373f8,_0x13e819);try{await this[_0x25fc18(0x132)][_0x25fc18(0x167)](_0x2940f1,{'body':_0x45e454});}catch(_0x156526){throw this[_0x25fc18(0x313)][_0x25fc18(0x177)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x156526;}}async[_0x11fce5(0x2f6)](_0x15ef7b){var _0x4d7d6b=_0x11fce5;const {unitID:_0x567585,from:_0x31c8b2,to:_0x3c9c57,unitType:_0x427bae}=_0x15ef7b[_0x4d7d6b(0x292)];return(await this[_0x4d7d6b(0x21a)][_0x4d7d6b(0x339)]({'metadata':void 0x0},{'unitID':_0x567585,'type':_0x427bae,'from':_0x31c8b2,'to':_0x3c9c57}))[_0x4d7d6b(0x29b)][_0x4d7d6b(0x393)](_0x292b3e=>((_0x292b3e['mutations']===null||_0x292b3e[_0x4d7d6b(0x34b)]===void 0x0)&&(_0x292b3e[_0x4d7d6b(0x34b)]=[]),_0x292b3e));}};Gt=Gs([ye(0x0,_0x2d55c5(_0x2fa53b)),ye(0x1,_0x2d55c5(_0x4f418b)),ye(0x2,_0x4762e8),ye(0x3,_0x1df9aa),ye(0x4,_0x596050)],Gt);var Ys=Object[_0x11fce5(0x381)],Ks=(_0x331827,_0x1fa35d,_0x482d4c,_0x1ba1d7)=>{for(var _0x3a5d9e=_0x1ba1d7>0x1?void 0x0:_0x1ba1d7?Ys(_0x1fa35d,_0x482d4c):_0x1fa35d,_0x2182ac=_0x331827['length']-0x1,_0x46f43c;_0x2182ac>=0x0;_0x2182ac--)(_0x46f43c=_0x331827[_0x2182ac])&&(_0x3a5d9e=_0x46f43c(_0x3a5d9e)||_0x3a5d9e);return _0x3a5d9e;},Re=(_0x9b173a,_0x2818fc)=>(_0x342382,_0x434123)=>_0x2818fc(_0x342382,_0x434123,_0x9b173a);let we=class extends _0x75f90f{constructor(_0x303f15,_0x32068d,_0x3f49c7,_0x18b2e3,_0x465f31,_0x175b89){var _0x221c08=_0x11fce5;super(),D(this,_0x221c08(0x10b),new _0x5908b4(void 0x0)),D(this,'socket$',this[_0x221c08(0x10b)]['asObservable']()),D(this,_0x221c08(0x1cc),null),D(this,'_sessions',new Map()),D(this,_0x221c08(0x224),new _0x5908b4(me[_0x221c08(0x124)])),D(this,_0x221c08(0x1ff),this[_0x221c08(0x224)][_0x221c08(0x3c5)]()),D(this,_0x221c08(0x223),!0x1),D(this,'_retryConnectingTimer'),D(this,'_retryCount',0x0),D(this,_0x221c08(0x27b)),D(this,_0x221c08(0x36f)),(this['_injector']=_0x303f15,this[_0x221c08(0x313)]=_0x32068d,this[_0x221c08(0x182)]=_0x3f49c7,this[_0x221c08(0x149)]=_0x18b2e3,this[_0x221c08(0x318)]=_0x465f31,this[_0x221c08(0x189)]=_0x175b89,this[_0x221c08(0x30b)]());}get[_0x11fce5(0x31a)](){var _0x259750=_0x11fce5;return this[_0x259750(0x10b)][_0x259750(0x293)]();}[_0x11fce5(0x30b)](){var _0x1eb8b1=_0x11fce5;this[_0x1eb8b1(0x189)]&&this[_0x1eb8b1(0x3b2)](this[_0x1eb8b1(0x189)][_0x1eb8b1(0x2fd)][_0x1eb8b1(0x1c6)](_0x4d9027=>{var _0x361710=_0x1eb8b1;_0x4d9027&&!this[_0x361710(0x31a)]&&this[_0x361710(0x198)](),_0x4d9027||this[_0x361710(0x287)]();}));}['dispose'](){var _0x18faf8=_0x11fce5;super['dispose'](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x18faf8(0x101)]['forEach'](_0x390811=>_0x390811[_0x18faf8(0x3e7)]()),this[_0x18faf8(0x101)][_0x18faf8(0x3bd)](),this['_status$'][_0x18faf8(0x213)]();}async['requireSession'](_0x5a71cf){var _0x669f17=_0x11fce5;if(this[_0x669f17(0x101)][_0x669f17(0x33c)](_0x5a71cf))return this[_0x669f17(0x101)][_0x669f17(0x277)](_0x5a71cf);this[_0x669f17(0x2d6)]();const _0x2cf047=this[_0x669f17(0x2b4)][_0x669f17(0x3a6)](mt,_0x5a71cf,this[_0x669f17(0x10b)][_0x669f17(0x3c5)]());return this[_0x669f17(0x101)]['set'](_0x5a71cf,_0x2cf047),_0x2cf047;}[_0x11fce5(0x218)](_0x45d13b){var _0x1931ae=_0x11fce5,_0xfe3839;const _0x202883=this[_0x1931ae(0x101)][_0x1931ae(0x277)](_0x45d13b);_0x202883&&(this['_sessions'][_0x1931ae(0x29a)](_0x45d13b),_0x202883[_0x1931ae(0x297)]()),this[_0x1931ae(0x101)][_0x1931ae(0x10a)]||(_0xfe3839=this[_0x1931ae(0x31a)])==null||_0xfe3839[_0x1931ae(0x297)]();}['reconnect'](){var _0x1731a7=_0x11fce5;this['_retryCount']=0x0,this[_0x1731a7(0x3a0)](),this[_0x1731a7(0x3ee)]();}[_0x11fce5(0x3a0)](){var _0x35fc8c=_0x11fce5;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x35fc8c(0x19e)]),this[_0x35fc8c(0x19e)]=null);}async['_createSocket'](){var _0x218e8e=_0x11fce5,_0x573866;const _0x588a44=this[_0x218e8e(0x182)][_0x218e8e(0x33a)](K),_0x594e0b=(_0x573866=_0x588a44==null?void 0x0:_0x588a44[_0x218e8e(0x24a)])!=null?_0x573866:Es,_0x2c2afb=await this[_0x218e8e(0x149)][_0x218e8e(0x365)](_0x594e0b);return this['_candidateSocket']=_0x2c2afb,_0x2c2afb;}async[_0x11fce5(0x2d6)](){var _0x4981e8=_0x11fce5,_0x522b55,_0x4bfa35;try{const _0x281e23=(_0x4bfa35=(_0x522b55=this[_0x4981e8(0x31a)])!=null?_0x522b55:this['_candidateSocket'])!=null?_0x4bfa35:await this[_0x4981e8(0x171)]();if(_0x281e23){const _0x5725e4=_0x281e23[_0x4981e8(0x338)];_0x281e23[_0x4981e8(0x338)]=_0x338d11=>(this[_0x4981e8(0x122)](),_0x5725e4[_0x4981e8(0x3bb)](_0x281e23,[_0x338d11])),_0x281e23['message$'][_0x4981e8(0x1c6)](_0x43f76e=>this['_onMessage'](_0x281e23,_0x43f76e)),_0x281e23[_0x4981e8(0x327)][_0x4981e8(0x377)](_0x4ea921(0x1))[_0x4981e8(0x1c6)](_0x2b8712=>this['_logService'][_0x4981e8(0x177)](_0x4981e8(0x3d5),_0x2b8712)),_0x281e23[_0x4981e8(0x10e)]['pipe'](_0x4ea921(0x1))[_0x4981e8(0x1c6)](()=>{var _0x4e50cf=_0x4981e8;this[_0x4e50cf(0xea)](_0x281e23);}),_0x281e23[_0x4981e8(0x3b7)]['pipe'](_0x4ea921(0x1))[_0x4981e8(0x1c6)](_0x42812c=>{var _0x33fa75=_0x4981e8;this['_logService'][_0x33fa75(0x11a)](_0x33fa75(0x1f1),_0x33fa75(0x2c9),_0x42812c),this[_0x33fa75(0x15c)]();});}}catch(_0x1cdcac){this[_0x4981e8(0x313)][_0x4981e8(0x177)](_0x1cdcac),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x516643){var _0xa2a96e=_0x11fce5;this[_0xa2a96e(0x313)][_0xa2a96e(0x11a)](_0xa2a96e(0x1f1),_0xa2a96e(0x11e)),_0x516643[_0xa2a96e(0x338)]({'cmd':j['HELLO']}),this['_rescheduleHeartbeat']();}[_0x11fce5(0x287)](){var _0x34cdd9=_0x11fce5;this[_0x34cdd9(0x223)]=!0x1,this[_0x34cdd9(0x1cc)]=null,this['_status$']['next'](me[_0x34cdd9(0x353)]),this['_socket$'][_0x34cdd9(0x16e)](null),this[_0x34cdd9(0x3e5)](),this[_0x34cdd9(0x2f0)]();}[_0x11fce5(0x15c)](){var _0x5c9169=_0x11fce5,_0x57964e;this[_0x5c9169(0x287)](),this[_0x5c9169(0x395)]<((_0x57964e=this[_0x5c9169(0x182)][_0x5c9169(0x33a)](gs))!=null?_0x57964e:Ts)?(this[_0x5c9169(0x318)][_0x5c9169(0x351)]({'id':re[_0x5c9169(0xfb)]}),this[_0x5c9169(0x3ee)]()):this[_0x5c9169(0x318)][_0x5c9169(0x351)]({'id':re['SOCKET_FAILED']});}[_0x11fce5(0x3ee)](){var _0x3e2e26=_0x11fce5,_0x243f6e;const _0x302011=this[_0x3e2e26(0x395)],_0x3c401e=this[_0x3e2e26(0x182)][_0x3e2e26(0x33a)](K),_0x2475a2=_0x302011===0x0?0x0:((_0x243f6e=_0x3c401e==null?void 0x0:_0x3c401e[_0x3e2e26(0x394)])!=null?_0x243f6e:Ss)*0x2**_0x302011;this['_retryConnectingTimer']=setTimeout(()=>{var _0x160c21=_0x3e2e26;clearTimeout(this[_0x160c21(0x19e)]),this[_0x160c21(0x19e)]=null,this['_tryEnsureSocket']();},_0x2475a2),this[_0x3e2e26(0x395)]+=0x1;}[_0x11fce5(0x2da)](_0x316898,_0x2224bc){var _0x30afe5=_0x11fce5;const {cmd:_0x2ebf6e}=_0x2224bc;_0x2ebf6e===j[_0x30afe5(0x1bb)]&&!this['_socketReady']&&(_0x316898[_0x30afe5(0x2ff)]=_0x2224bc[_0x30afe5(0x292)][_0x30afe5(0x2ff)],this['_socket$'][_0x30afe5(0x16e)](_0x316898),this['_status$']['next'](me[_0x30afe5(0x173)]),this[_0x30afe5(0x223)]=!0x0,this[_0x30afe5(0x1cc)]=null),_0x2ebf6e===j[_0x30afe5(0x271)]&&this[_0x30afe5(0x3e5)](),this['_rescheduleHeartbeat']();}[_0x11fce5(0x122)](){var _0x22f05e=_0x11fce5,_0x2487c0;this[_0x22f05e(0x2f0)](),this[_0x22f05e(0x27b)]=setTimeout(()=>this[_0x22f05e(0x3b3)](),(_0x2487c0=this[_0x22f05e(0x182)][_0x22f05e(0x33a)](ms))!=null?_0x2487c0:Is);}['_sendHeartbeat'](){var _0x6124ed=_0x11fce5;this['_socket'][_0x6124ed(0x338)]({'cmd':j[_0x6124ed(0x271)]}),this[_0x6124ed(0x17f)]();}['_waitForHeartbeatResponse'](){var _0x15ddc5=_0x11fce5,_0x5c117b;this['_timeoutTimer']=setTimeout(()=>this[_0x15ddc5(0x15c)](),(_0x5c117b=this[_0x15ddc5(0x182)][_0x15ddc5(0x33a)](di))!=null?_0x5c117b:fi);}['_clearHeartbeatTimer'](){var _0xcf3476=_0x11fce5;this[_0xcf3476(0x27b)]!=null&&(clearTimeout(this[_0xcf3476(0x27b)]),this['_sendHeartbeatTimer']=null);}[_0x11fce5(0x3e5)](){var _0xa89eb8=_0x11fce5;this[_0xa89eb8(0x36f)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xa89eb8(0x36f)]=null);}};we=Ks([Re(0x0,_0x2d55c5(_0x2fa53b)),Re(0x1,_0x1df9aa),Re(0x2,_0x4762e8),Re(0x3,Oi),Re(0x4,_0x2d55c5(ve)),Re(0x5,_0xe7a6e7(Bs))],we);var qs=Object[_0x11fce5(0x381)],zs=(_0x437d39,_0x4059ab,_0x4c0caf,_0x1b499f)=>{var _0x4e6d2c=_0x11fce5;for(var _0x42cf91=_0x1b499f>0x1?void 0x0:_0x1b499f?qs(_0x4059ab,_0x4c0caf):_0x4059ab,_0x2e4725=_0x437d39[_0x4e6d2c(0x115)]-0x1,_0x536910;_0x2e4725>=0x0;_0x2e4725--)(_0x536910=_0x437d39[_0x2e4725])&&(_0x42cf91=_0x536910(_0x42cf91)||_0x42cf91);return _0x42cf91;},Be=(_0x3cdafc,_0x4428fd)=>(_0x2b4d49,_0x4d7c2c)=>_0x4428fd(_0x2b4d49,_0x4d7c2c,_0x3cdafc);let nt=class extends _0x3f27f5{constructor(_0x50e6f1,_0x174ada,_0x282fb8,_0x354e98){var _0x2ed6ba=_0x11fce5,_0xf60225;super(),D(this,'_entities',new Map()),D(this,'_entityInit$',new _0x47b396()),D(this,'entityInit$',this[_0x2ed6ba(0x193)][_0x2ed6ba(0x3c5)]()),(this[_0x2ed6ba(0x2b4)]=_0x50e6f1,this[_0x2ed6ba(0x102)]=_0x174ada,this[_0x2ed6ba(0x182)]=_0x282fb8,this[_0x2ed6ba(0x2c5)]=_0x354e98,((_0xf60225=this[_0x2ed6ba(0x182)][_0x2ed6ba(0x33a)](K))==null?void 0x0:_0xf60225[_0x2ed6ba(0x366)])!==!0x1&&this[_0x2ed6ba(0x15f)]());}['dispose'](){var _0x28c7a4=_0x11fce5;super[_0x28c7a4(0x3e7)](),this['_entities']['forEach'](_0x295e93=>_0x295e93[_0x28c7a4(0x3e7)]()),this['_entities']['clear']();}['getCollabEntity'](_0x33aeda){var _0x1aece9=_0x11fce5,_0x889983;return(_0x889983=this['_entities'][_0x1aece9(0x277)](_0x33aeda))!=null?_0x889983:null;}[_0x11fce5(0x330)](_0x1ef081){var _0x212f3b=_0x11fce5;const _0x36ef8e=this[_0x212f3b(0x23a)](_0x1ef081);return _0x36ef8e?_0x55f4fc(_0x36ef8e):this[_0x212f3b(0x193)]['pipe'](_0x295c81(_0x45ae8a=>_0x45ae8a[_0x212f3b(0x308)]===_0x1ef081));}['readyForCollab'](_0x405b59){var _0x2e79e9=_0x11fce5;return _0x4b16f8(this[_0x2e79e9(0x330)](_0x405b59)[_0x2e79e9(0x377)](_0x4b0737(()=>{})));}[_0x11fce5(0x15f)](){var _0x2d6932=_0x11fce5;this[_0x2d6932(0x2c5)][_0x2d6932(0x14c)](_0x529613[_0x2d6932(0x190)])[_0x2d6932(0x377)](_0x541d53(this[_0x2d6932(0x106)]),_0xd9e091(0x10))[_0x2d6932(0x1c6)](async _0x56497f=>{var _0x583101=_0x2d6932;const _0x41fe9d=_0x56497f[_0x583101(0x378)](),_0x1683cb=await this['_startCollaboration'](_0x41fe9d,Q['UNIVER_SHEET']);this[_0x583101(0x1a6)]['set'](_0x41fe9d,_0x1683cb);}),this[_0x2d6932(0x2c5)][_0x2d6932(0x14c)](_0x529613[_0x2d6932(0x346)])['pipe'](_0x541d53(this[_0x2d6932(0x106)]),_0xd9e091(0x10))['pipe'](_0x295c81(_0x353c11=>!_0x353c11[_0x2d6932(0x378)]()[_0x2d6932(0x154)]('__')))[_0x2d6932(0x1c6)](async _0x34752d=>{var _0x24bf6c=_0x2d6932;const _0x3d961c=_0x34752d[_0x24bf6c(0x378)](),_0x19abc5=await this[_0x24bf6c(0x39a)](_0x3d961c,Q[_0x24bf6c(0x346)]);this['_entities'][_0x24bf6c(0x231)](_0x3d961c,_0x19abc5);}),_0x3697f0(this['_univerInstanceService'][_0x2d6932(0x35e)](_0x529613[_0x2d6932(0x190)]),this[_0x2d6932(0x2c5)][_0x2d6932(0x35e)](_0x529613['UNIVER_DOC']))['pipe'](_0x541d53(this[_0x2d6932(0x106)]))[_0x2d6932(0x1c6)](_0x12491b=>{var _0x1c8407=_0x2d6932;const _0x2bc8c1=_0x12491b[_0x1c8407(0x378)](),_0x5cbc1b=this[_0x1c8407(0x1a6)][_0x1c8407(0x277)](_0x2bc8c1);_0x5cbc1b&&(_0x5cbc1b['dispose'](),this['_entities'][_0x1c8407(0x29a)](_0x2bc8c1));});}async[_0x11fce5(0x39a)](_0x6235e2,_0x8396d){var _0x18ba50=_0x11fce5;const _0x9d56af=await this[_0x18ba50(0x102)][_0x18ba50(0x368)](_0x6235e2),_0x4cb26c=this[_0x18ba50(0x2b4)][_0x18ba50(0x3a6)](this['_getCtorByUniverType'](_0x8396d),_0x6235e2,_0x8396d,_0x9d56af);return await _0x4cb26c[_0x18ba50(0x191)](),this['_entityInit$'][_0x18ba50(0x16e)](_0x4cb26c),_0x4cb26c;}[_0x11fce5(0x316)](_0x3e3884){var _0x2f538e=_0x11fce5;switch(_0x3e3884){case Q[_0x2f538e(0x346)]:return It;case Q[_0x2f538e(0x190)]:return St;default:throw new Error(_0x2f538e(0x146)+_0x3e3884);}}};nt=zs([Be(0x0,_0x2d55c5(_0x2fa53b)),Be(0x1,_0x2d55c5(we)),Be(0x2,_0x4762e8),Be(0x3,_0x12d3b5)],nt);var Js=Object['getOwnPropertyDescriptor'],Xs=(_0x48b8f4,_0x53097f,_0x261ee5,_0x1e1e23)=>{var _0x128bba=_0x11fce5;for(var _0x536abd=_0x1e1e23>0x1?void 0x0:_0x1e1e23?Js(_0x53097f,_0x261ee5):_0x53097f,_0x233d32=_0x48b8f4[_0x128bba(0x115)]-0x1,_0x5d8874;_0x233d32>=0x0;_0x233d32--)(_0x5d8874=_0x48b8f4[_0x233d32])&&(_0x536abd=_0x5d8874(_0x536abd)||_0x536abd);return _0x536abd;},Wt=(_0x52ba0c,_0x227063)=>(_0x51f83d,_0x2c64ff)=>_0x227063(_0x51f83d,_0x2c64ff,_0x52ba0c);const Zs='DEFAULT_FILE_NAME',Qs=_0x11fce5(0x3d3);let gt=class extends _0x75f90f{constructor(_0x4c46f0,_0xdc755f){var _0x67a271=_0x11fce5;super(),this[_0x67a271(0x2c5)]=_0x4c46f0,this['_configService']=_0xdc755f,this[_0x67a271(0x15f)]();}[_0x11fce5(0x15f)](){var _0x1d4c51=_0x11fce5;this[_0x1d4c51(0x3b2)](this[_0x1d4c51(0x2c5)]['focused$'][_0x1d4c51(0x1c6)](()=>{var _0x8ae7df=_0x1d4c51,_0x236926;const _0xe1c7aa=this['_univerInstanceService'][_0x8ae7df(0x1c2)]();let _0x43d7a0=(_0x236926=this[_0x8ae7df(0x182)][_0x8ae7df(0x33a)](Zs))!=null?_0x236926:Qs;_0xe1c7aa instanceof _0x39a33e&&(_0x43d7a0=_0xe1c7aa[_0x8ae7df(0x1c0)]),document['title']=_0x43d7a0;}));}};gt=Xs([Wt(0x0,_0x12d3b5),Wt(0x1,_0x4762e8)],gt);var en=Object[_0x11fce5(0x381)],tn=(_0x42ee13,_0x7501e8,_0xda6a6d,_0x3a10cf)=>{var _0x43c6f8=_0x11fce5;for(var _0x236642=_0x3a10cf>0x1?void 0x0:_0x3a10cf?en(_0x7501e8,_0xda6a6d):_0x7501e8,_0xa745d3=_0x42ee13[_0x43c6f8(0x115)]-0x1,_0x3c4ef7;_0xa745d3>=0x0;_0xa745d3--)(_0x3c4ef7=_0x42ee13[_0xa745d3])&&(_0x236642=_0x3c4ef7(_0x236642)||_0x236642);return _0x236642;},dt=(_0x3546df,_0x5b25e8)=>(_0xfa60fa,_0x4b4303)=>_0x5b25e8(_0xfa60fa,_0x4b4303,_0x3546df);let rt=class{constructor(_0x4b7504,_0xc34058,_0x2c79bb){var _0x83f70a=_0x11fce5;this['_configService']=_0x4b7504,this['_httpService']=_0xc34058,this[_0x83f70a(0x2aa)]=_0x2c79bb,this[_0x83f70a(0x191)]();}[_0x11fce5(0x191)](){var _0x185e13=_0x11fce5;this[_0x185e13(0x132)][_0x185e13(0x1b1)]({'priority':0x1,'interceptor':(_0x29c1af,_0x4daf46)=>_0x4daf46(_0x29c1af)[_0x185e13(0x377)](_0x30be5a(async _0x49ed4b=>{var _0xee4e93=_0x185e13;const _0x3cc24d=_0x49ed4b;if(_0x3cc24d['status']===0x191){if(typeof window>'u')throw new Error(_0xee4e93(0x14a));if(window['confirm'](this['localeService']['t'](_0xee4e93(0x380)))){const _0x9c30b1=window['encodeURIComponent'](window[_0xee4e93(0x239)][_0xee4e93(0x278)]);window[_0xee4e93(0x239)][_0xee4e93(0x278)]=this[_0xee4e93(0x27d)]()+_0xee4e93(0x25a)+_0x9c30b1;}}return _0x3cc24d;}))});}[_0x11fce5(0x27d)](){var _0x5da38a=_0x11fce5,_0x440778;const _0x51cd02=this[_0x5da38a(0x182)][_0x5da38a(0x33a)](K);return(_0x440778=_0x51cd02==null?void 0x0:_0x51cd02[_0x5da38a(0x2cf)])!=null?_0x440778:Rs;}};rt=tn([dt(0x0,_0x4762e8),dt(0x1,_0x2d55c5(_0x4f418b)),dt(0x2,_0x2d55c5(_0x246818))],rt);var sn=Object[_0x11fce5(0x381)],nn=(_0xfd5b30,_0x511b2c,_0x32fa93,_0x39d3a8)=>{var _0xe89c13=_0x11fce5;for(var _0x4afd57=_0x39d3a8>0x1?void 0x0:_0x39d3a8?sn(_0x511b2c,_0x32fa93):_0x511b2c,_0x2bd5a6=_0xfd5b30[_0xe89c13(0x115)]-0x1,_0x1d7561;_0x2bd5a6>=0x0;_0x2bd5a6--)(_0x1d7561=_0xfd5b30[_0x2bd5a6])&&(_0x4afd57=_0x1d7561(_0x4afd57)||_0x4afd57);return _0x4afd57;},Yt=(_0x284b9b,_0x9ecbee)=>(_0x356885,_0x3c1c96)=>_0x9ecbee(_0x356885,_0x3c1c96,_0x284b9b);const rn=_0x11fce5(0x2d1);let Tt=class extends _0x75f90f{constructor(_0x549dc4,_0x6db50f){var _0x1762ce=_0x11fce5;super(),this['_HTTPService']=_0x549dc4,this[_0x1762ce(0x182)]=_0x6db50f,this[_0x1762ce(0x1c1)]();}[_0x11fce5(0x1c1)](){var _0xec8dd1=_0x11fce5;const _0x187ff6=this;this[_0xec8dd1(0x3b2)](this[_0xec8dd1(0x34d)][_0xec8dd1(0x1b1)]({'priority':0x3e7,'interceptor':_0x528e9f({'isMatch'(_0x8ffe00){var _0x16c69f=_0xec8dd1,_0x23adb6;if(_0x8ffe00['method']==='POST'&&((_0x23adb6=_0x8ffe00[_0x16c69f(0x1aa)])!=null&&_0x23adb6['body'])){const {objectID:_0xd3044c,objectType:_0x2a2890}=_0x8ffe00[_0x16c69f(0x1aa)][_0x16c69f(0x2f1)]||{};if(!_0xd3044c||_0x2a2890===void 0x0)return!0x1;const _0x5a4ea3=_0x187ff6['_getAPIPrefixPath']()+'/'+_0x2a2890+_0x16c69f(0x133)+_0xd3044c+'/allowed';if(_0x8ffe00['url']===_0x5a4ea3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xfce09b){var _0x5205e8=_0xec8dd1,_0x474cdb;return(_0x474cdb=_0xfce09b['requestParams'])==null?void 0x0:_0x474cdb[_0x5205e8(0x2f1)];},'mergeParamsToRequest'(_0x300706,_0x47f445){var _0x85739=_0xec8dd1;const _0x3ad839=_0x187ff6['_getAPIPrefixPath']()+_0x85739(0xe7),_0x1225f2=_0x300706['reduce']((_0x36e3c3,_0x32873a)=>{var _0x41fe30=_0x85739;const {unitID:_0x59e025,objectID:_0x275ac8,objectType:_0x27d19d,actions:_0x28b70c}=_0x32873a;return _0x36e3c3[_0x59e025]||(_0x36e3c3[_0x59e025]={}),_0x36e3c3[_0x59e025][_0x275ac8]||(_0x36e3c3[_0x59e025][_0x275ac8]={'objectID':_0x275ac8,'objectType':_0x27d19d,'actions':[]}),_0x36e3c3[_0x59e025][_0x275ac8]['actions'][_0x41fe30(0x145)](..._0x28b70c),_0x36e3c3;},{}),_0x1d1db8=[];for(const _0x5cb11a in _0x1225f2)for(const _0x5d65ef in _0x1225f2[_0x5cb11a]){const {actions:_0x4a8637,objectType:_0x468cef}=_0x1225f2[_0x5cb11a][_0x5d65ef],_0xb62e8e=[...new Set(_0x4a8637)];_0x1d1db8['push']({'unitID':_0x5cb11a,'objectID':_0x5d65ef,'objectType':_0x468cef,'actions':_0xb62e8e});}return new _0x2eadc7('POST',_0x3ad839,{'headers':_0x47f445[_0x85739(0x309)],'withCredentials':_0x47f445[_0x85739(0x137)],'responseType':_0x47f445[_0x85739(0x1be)],'body':{'requests':_0x1d1db8}});}},{'distributeResult'(_0x560161,_0x5e67fa){var _0x419e73=_0xec8dd1;const {objectActions:_0x571821}=_0x560161;return _0x5e67fa[_0x419e73(0x393)](_0x1b15b4=>{var _0x21a91d=_0x419e73;const {unitID:_0x210fc7,objectID:_0x54a8de,actions:_0xc2c388}=_0x1b15b4,_0x11ba8=_0x571821['find'](_0x1d7012=>_0x1d7012[_0x21a91d(0x308)]===_0x210fc7&&_0x1d7012[_0x21a91d(0x211)]===_0x54a8de),_0x2dcf97=_0xc2c388[_0x21a91d(0x393)](_0x16cfb2=>_0x11ba8==null?void 0x0:_0x11ba8['actions']['find'](_0x37c181=>_0x37c181[_0x21a91d(0x3f7)]===_0x16cfb2))['filter'](_0x3b3201=>!!_0x3b3201);return{'config':_0x1b15b4,'result':{'actions':_0x2dcf97,'error':_0x560161[_0x21a91d(0x177)]}};});}})}));}[_0x11fce5(0xf4)](){var _0x441b17=_0x11fce5,_0x356606;const _0x3aa3f3=this['_configService'][_0x441b17(0x33a)](K);return(_0x356606=_0x3aa3f3==null?void 0x0:_0x3aa3f3[_0x441b17(0x274)])!=null?_0x356606:rn;}async[_0x11fce5(0x3d9)](_0x34c93f){var _0x308509=_0x11fce5;const _0x1e7e9a=this['_getAPIPrefixPath']()+'/'+_0x34c93f[_0x308509(0x343)]+_0x308509(0x233);return(await this[_0x308509(0x34d)][_0x308509(0x167)](_0x1e7e9a,{'body':_0x34c93f}))[_0x308509(0x2f1)]['objectID']||'';}async['list'](_0x3d1221){var _0x2a268a=_0x11fce5;const _0x7d9d0=this[_0x2a268a(0xf4)]()+'/-/object/list';return(await this[_0x2a268a(0x34d)]['post'](_0x7d9d0,{'body':_0x3d1221}))[_0x2a268a(0x2f1)][_0x2a268a(0x379)];}async['update'](_0x25f7c9){var _0x125ddb=_0x11fce5,_0x298eac,_0x56fedc;const _0x1af015=this[_0x125ddb(0xf4)]()+'/'+_0x25f7c9[_0x125ddb(0x343)]+'/object/'+_0x25f7c9['objectID'],_0xb86edb=await this['_HTTPService']['put'](_0x1af015,{'body':_0x25f7c9});if(((_0x56fedc=(_0x298eac=_0xb86edb==null?void 0x0:_0xb86edb['body'])==null?void 0x0:_0x298eac[_0x125ddb(0x177)])==null?void 0x0:_0x56fedc[_0x125ddb(0x2a8)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x492f0f){var _0x34b736=_0x11fce5;const _0x503088=this[_0x34b736(0xf4)]()+'/'+_0x492f0f[_0x34b736(0x343)]+_0x34b736(0x133)+_0x492f0f[_0x34b736(0x211)]+_0x34b736(0x2a3);return(await this[_0x34b736(0x34d)][_0x34b736(0x167)](_0x503088,{'body':_0x492f0f}))[_0x34b736(0x2f1)][_0x34b736(0x3c4)];}async[_0x11fce5(0x347)](_0x315393){var _0x13561b=_0x11fce5;const _0x56d158=this['_getAPIPrefixPath']()+_0x13561b(0xe7);return(await this[_0x13561b(0x34d)][_0x13561b(0x167)](_0x56d158,{'body':{'requests':_0x315393}}))['body']['objectActions'];}async[_0x11fce5(0x250)](_0xe772a2){var _0x222d86=_0x11fce5;const _0x5303bf=this[_0x222d86(0xf4)]()+'/'+_0xe772a2[_0x222d86(0x343)]+_0x222d86(0x32d),_0xb6359f=await this[_0x222d86(0x34d)]['post'](_0x5303bf,{'body':_0xe772a2});return{'roles':_0xb6359f[_0x222d86(0x2f1)][_0x222d86(0x234)],'actions':_0xb6359f['body'][_0x222d86(0x3c4)]};}async[_0x11fce5(0x398)](_0x3eabf0){var _0x2a6766=_0x11fce5;const _0x4b57d2=this[_0x2a6766(0xf4)]()+_0x2a6766(0x317);await this['_HTTPService'][_0x2a6766(0x29a)](_0x4b57d2,{'params':{'collaboratorID':_0x3eabf0[_0x2a6766(0x225)],'objectID':_0x3eabf0[_0x2a6766(0x211)],'unitID':_0x3eabf0[_0x2a6766(0x308)]}});}async[_0x11fce5(0x1d0)](_0x203b97){var _0x18cde4=_0x11fce5;const _0x5e002a=this['_getAPIPrefixPath']()+_0x18cde4(0x317);await this[_0x18cde4(0x34d)][_0x18cde4(0x3bc)](_0x5e002a,{'body':_0x203b97});}async[_0x11fce5(0x1d3)](_0x4f0c95){var _0x547d00=_0x11fce5;const _0x555751=this['_getAPIPrefixPath']()+_0x547d00(0x317);await this['_HTTPService'][_0x547d00(0x167)](_0x555751,{'body':_0x4f0c95});}async[_0x11fce5(0x253)](_0x2026b3){var _0x1ef070=_0x11fce5;const _0x1a7c1f=this[_0x1ef070(0xf4)]()+_0x1ef070(0x317);return(await this['_HTTPService'][_0x1ef070(0x277)](_0x1a7c1f,{'params':{'objectID':_0x2026b3['objectID'],'unitID':_0x2026b3['unitID']}}))[_0x1ef070(0x2f1)][_0x1ef070(0x284)];}async[_0x11fce5(0x3ad)](_0x30ce9f){var _0x3f9ca6=_0x11fce5;const _0x495cda=this[_0x3f9ca6(0xf4)]()+_0x3f9ca6(0x317);await this['_HTTPService'][_0x3f9ca6(0x13a)](_0x495cda,{'body':_0x30ce9f});}};Tt=nn([Yt(0x0,_0x2d55c5(_0x4f418b)),Yt(0x1,_0x2d55c5(_0x4762e8))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2d24ae){var _0x577b01=_0x11fce5;return _0x2d24ae&&_0x2d24ae['__esModule']&&Object['prototype'][_0x577b01(0x15d)]['call'](_0x2d24ae,_0x577b01(0x1c4))?_0x2d24ae[_0x577b01(0x1c4)]:_0x2d24ae;}var Ve={'exports':{}};function an(_0x578cb6){var _0x6222c=_0x11fce5;throw new Error(_0x6222c(0x19b)+_0x578cb6+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},on=Ge[_0x11fce5(0x2af)],Kt;function ie(){return Kt||(Kt=0x1,function(_0x116f18,_0x445660){(function(_0x38719f,_0x2dda9f){var _0x273339=_0x26d2;_0x116f18[_0x273339(0x2af)]=_0x2dda9f();}(on,function(){var _0x4ad917=_0x4ad917||function(_0x15797f,_0x5d032a){var _0x3df5e9=_0x26d2,_0x1eccc3;if(typeof window<'u'&&window[_0x3df5e9(0x38e)]&&(_0x1eccc3=window[_0x3df5e9(0x38e)]),typeof self<'u'&&self[_0x3df5e9(0x38e)]&&(_0x1eccc3=self[_0x3df5e9(0x38e)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1eccc3=globalThis['crypto']),!_0x1eccc3&&typeof window<'u'&&window[_0x3df5e9(0xe9)]&&(_0x1eccc3=window[_0x3df5e9(0xe9)]),!_0x1eccc3&&typeof ft<'u'&&ft[_0x3df5e9(0x38e)]&&(_0x1eccc3=ft[_0x3df5e9(0x38e)]),!_0x1eccc3&&typeof an==_0x3df5e9(0x1eb))try{_0x1eccc3=require('crypto');}catch{}var _0xb0dde4=function(){var _0x3f9e4f=_0x3df5e9;if(_0x1eccc3){if(typeof _0x1eccc3[_0x3f9e4f(0x348)]==_0x3f9e4f(0x1eb))try{return _0x1eccc3[_0x3f9e4f(0x348)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1eccc3[_0x3f9e4f(0x32b)]==_0x3f9e4f(0x1eb))try{return _0x1eccc3[_0x3f9e4f(0x32b)](0x4)[_0x3f9e4f(0x22e)]();}catch{}}throw new Error(_0x3f9e4f(0x13c));},_0x9db1c4=Object['create']||(function(){function _0x2b4f03(){}return function(_0xf9030b){var _0x3ff7cb=_0x26d2,_0x1dc2da;return _0x2b4f03[_0x3ff7cb(0x1ba)]=_0xf9030b,_0x1dc2da=new _0x2b4f03(),_0x2b4f03[_0x3ff7cb(0x1ba)]=null,_0x1dc2da;};}()),_0x4004f6={},_0x29bf08=_0x4004f6[_0x3df5e9(0x255)]={},_0x3e1cf5=_0x29bf08[_0x3df5e9(0x178)]=(function(){return{'extend':function(_0x4c357e){var _0x38630f=_0x26d2,_0x2a1713=_0x9db1c4(this);return _0x4c357e&&_0x2a1713[_0x38630f(0x1e0)](_0x4c357e),(!_0x2a1713['hasOwnProperty']('init')||this[_0x38630f(0x191)]===_0x2a1713[_0x38630f(0x191)])&&(_0x2a1713[_0x38630f(0x191)]=function(){var _0x41c8c8=_0x38630f;_0x2a1713[_0x41c8c8(0x172)][_0x41c8c8(0x191)][_0x41c8c8(0x3bb)](this,arguments);}),_0x2a1713['init'][_0x38630f(0x1ba)]=_0x2a1713,_0x2a1713['$super']=this,_0x2a1713;},'create':function(){var _0x3cb0d4=_0x26d2,_0xa59bcb=this[_0x3cb0d4(0x3af)]();return _0xa59bcb[_0x3cb0d4(0x191)]['apply'](_0xa59bcb,arguments),_0xa59bcb;},'init':function(){},'mixIn':function(_0x47a815){var _0x1bf478=_0x26d2;for(var _0x40da07 in _0x47a815)_0x47a815[_0x1bf478(0x15d)](_0x40da07)&&(this[_0x40da07]=_0x47a815[_0x40da07]);_0x47a815[_0x1bf478(0x15d)]('toString')&&(this[_0x1bf478(0x1a0)]=_0x47a815[_0x1bf478(0x1a0)]);},'clone':function(){var _0x171afa=_0x26d2;return this[_0x171afa(0x191)][_0x171afa(0x1ba)][_0x171afa(0x3af)](this);}};}()),_0x198a1e=_0x29bf08[_0x3df5e9(0x2e8)]=_0x3e1cf5[_0x3df5e9(0x3af)]({'init':function(_0x7a12a4,_0x1a28ac){var _0x49e3d7=_0x3df5e9;_0x7a12a4=this[_0x49e3d7(0x1fa)]=_0x7a12a4||[],_0x1a28ac!=_0x5d032a?this[_0x49e3d7(0x21e)]=_0x1a28ac:this[_0x49e3d7(0x21e)]=_0x7a12a4['length']*0x4;},'toString':function(_0x55fc48){return(_0x55fc48||_0xbb8f84)['stringify'](this);},'concat':function(_0x4b51da){var _0x4b1fe3=_0x3df5e9,_0x30937f=this[_0x4b1fe3(0x1fa)],_0x1ee379=_0x4b51da[_0x4b1fe3(0x1fa)],_0x59a222=this[_0x4b1fe3(0x21e)],_0x894f73=_0x4b51da[_0x4b1fe3(0x21e)];if(this[_0x4b1fe3(0x3d4)](),_0x59a222%0x4)for(var _0x4bcb20=0x0;_0x4bcb20<_0x894f73;_0x4bcb20++){var _0x11ae26=_0x1ee379[_0x4bcb20>>>0x2]>>>0x18-_0x4bcb20%0x4*0x8&0xff;_0x30937f[_0x59a222+_0x4bcb20>>>0x2]|=_0x11ae26<<0x18-(_0x59a222+_0x4bcb20)%0x4*0x8;}else{for(var _0x29cd2e=0x0;_0x29cd2e<_0x894f73;_0x29cd2e+=0x4)_0x30937f[_0x59a222+_0x29cd2e>>>0x2]=_0x1ee379[_0x29cd2e>>>0x2];}return this[_0x4b1fe3(0x21e)]+=_0x894f73,this;},'clamp':function(){var _0x146072=_0x3df5e9,_0x2f4c83=this['words'],_0x35254a=this[_0x146072(0x21e)];_0x2f4c83[_0x35254a>>>0x2]&=0xffffffff<<0x20-_0x35254a%0x4*0x8,_0x2f4c83[_0x146072(0x115)]=_0x15797f['ceil'](_0x35254a/0x4);},'clone':function(){var _0x224815=_0x3df5e9,_0x43e16d=_0x3e1cf5[_0x224815(0x37f)][_0x224815(0x23e)](this);return _0x43e16d[_0x224815(0x1fa)]=this[_0x224815(0x1fa)][_0x224815(0x2ee)](0x0),_0x43e16d;},'random':function(_0x35fdf2){var _0x3ec0d0=_0x3df5e9;for(var _0x25ae30=[],_0x58023f=0x0;_0x58023f<_0x35fdf2;_0x58023f+=0x4)_0x25ae30[_0x3ec0d0(0x145)](_0xb0dde4());return new _0x198a1e[(_0x3ec0d0(0x191))](_0x25ae30,_0x35fdf2);}}),_0x406440=_0x4004f6[_0x3df5e9(0x17a)]={},_0xbb8f84=_0x406440[_0x3df5e9(0x2dc)]={'stringify':function(_0x2b0306){var _0x44ac7f=_0x3df5e9;for(var _0xf7fa2e=_0x2b0306[_0x44ac7f(0x1fa)],_0x1c6fe6=_0x2b0306[_0x44ac7f(0x21e)],_0xcbe0f3=[],_0x192206=0x0;_0x192206<_0x1c6fe6;_0x192206++){var _0x22887f=_0xf7fa2e[_0x192206>>>0x2]>>>0x18-_0x192206%0x4*0x8&0xff;_0xcbe0f3[_0x44ac7f(0x145)]((_0x22887f>>>0x4)['toString'](0x10)),_0xcbe0f3[_0x44ac7f(0x145)]((_0x22887f&0xf)[_0x44ac7f(0x1a0)](0x10));}return _0xcbe0f3['join']('');},'parse':function(_0x321f3e){var _0x181113=_0x3df5e9;for(var _0x542122=_0x321f3e['length'],_0x20698f=[],_0xd5c67b=0x0;_0xd5c67b<_0x542122;_0xd5c67b+=0x2)_0x20698f[_0xd5c67b>>>0x3]|=parseInt(_0x321f3e[_0x181113(0x1ad)](_0xd5c67b,0x2),0x10)<<0x18-_0xd5c67b%0x8*0x4;return new _0x198a1e[(_0x181113(0x191))](_0x20698f,_0x542122/0x2);}},_0x117b0b=_0x406440[_0x3df5e9(0x1a4)]={'stringify':function(_0x77f28b){var _0x4d8d7b=_0x3df5e9;for(var _0x25a71b=_0x77f28b[_0x4d8d7b(0x1fa)],_0x32d29c=_0x77f28b[_0x4d8d7b(0x21e)],_0x3e0699=[],_0x3732a9=0x0;_0x3732a9<_0x32d29c;_0x3732a9++){var _0x4bd845=_0x25a71b[_0x3732a9>>>0x2]>>>0x18-_0x3732a9%0x4*0x8&0xff;_0x3e0699[_0x4d8d7b(0x145)](String[_0x4d8d7b(0x249)](_0x4bd845));}return _0x3e0699[_0x4d8d7b(0x385)]('');},'parse':function(_0x1b690f){var _0x5a8096=_0x3df5e9;for(var _0x1a266f=_0x1b690f[_0x5a8096(0x115)],_0x545da1=[],_0x3d5daf=0x0;_0x3d5daf<_0x1a266f;_0x3d5daf++)_0x545da1[_0x3d5daf>>>0x2]|=(_0x1b690f['charCodeAt'](_0x3d5daf)&0xff)<<0x18-_0x3d5daf%0x4*0x8;return new _0x198a1e['init'](_0x545da1,_0x1a266f);}},_0xf7cc46=_0x406440['Utf8']={'stringify':function(_0x1f44dc){var _0x52673a=_0x3df5e9;try{return decodeURIComponent(escape(_0x117b0b[_0x52673a(0x3be)](_0x1f44dc)));}catch{throw new Error(_0x52673a(0x3f2));}},'parse':function(_0x5ebac4){return _0x117b0b['parse'](unescape(encodeURIComponent(_0x5ebac4)));}},_0x2b9cd4=_0x29bf08['BufferedBlockAlgorithm']=_0x3e1cf5[_0x3df5e9(0x3af)]({'reset':function(){this['_data']=new _0x198a1e['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x2057cf){var _0x4db34e=_0x3df5e9;typeof _0x2057cf==_0x4db34e(0x307)&&(_0x2057cf=_0xf7cc46[_0x4db34e(0x2ad)](_0x2057cf)),this['_data'][_0x4db34e(0xfc)](_0x2057cf),this[_0x4db34e(0x176)]+=_0x2057cf[_0x4db34e(0x21e)];},'_process':function(_0x340d2b){var _0xc24506=_0x3df5e9,_0x34e021,_0x1fce84=this[_0xc24506(0x2a4)],_0x1c1c84=_0x1fce84['words'],_0xdbd004=_0x1fce84[_0xc24506(0x21e)],_0x4aa4f7=this['blockSize'],_0x31f726=_0x4aa4f7*0x4,_0x5d434a=_0xdbd004/_0x31f726;_0x340d2b?_0x5d434a=_0x15797f['ceil'](_0x5d434a):_0x5d434a=_0x15797f[_0xc24506(0x302)]((_0x5d434a|0x0)-this['_minBufferSize'],0x0);var _0x385844=_0x5d434a*_0x4aa4f7,_0x21745a=_0x15797f[_0xc24506(0x228)](_0x385844*0x4,_0xdbd004);if(_0x385844){for(var _0x507cfa=0x0;_0x507cfa<_0x385844;_0x507cfa+=_0x4aa4f7)this['_doProcessBlock'](_0x1c1c84,_0x507cfa);_0x34e021=_0x1c1c84['splice'](0x0,_0x385844),_0x1fce84[_0xc24506(0x21e)]-=_0x21745a;}return new _0x198a1e['init'](_0x34e021,_0x21745a);},'clone':function(){var _0x28126d=_0x3df5e9,_0x4ec0f5=_0x3e1cf5['clone'][_0x28126d(0x23e)](this);return _0x4ec0f5[_0x28126d(0x2a4)]=this[_0x28126d(0x2a4)]['clone'](),_0x4ec0f5;},'_minBufferSize':0x0});_0x29bf08[_0x3df5e9(0x1c3)]=_0x2b9cd4[_0x3df5e9(0x3af)]({'cfg':_0x3e1cf5[_0x3df5e9(0x3af)](),'init':function(_0x1dd932){var _0x1010e6=_0x3df5e9;this[_0x1010e6(0x13d)]=this[_0x1010e6(0x13d)]['extend'](_0x1dd932),this[_0x1010e6(0x35b)]();},'reset':function(){var _0x1a4ef2=_0x3df5e9;_0x2b9cd4['reset']['call'](this),this[_0x1a4ef2(0x30e)]();},'update':function(_0x1bb26a){var _0x4d1e9e=_0x3df5e9;return this['_append'](_0x1bb26a),this[_0x4d1e9e(0x291)](),this;},'finalize':function(_0x26a9c2){var _0x378b98=_0x3df5e9;_0x26a9c2&&this[_0x378b98(0xee)](_0x26a9c2);var _0x18d362=this[_0x378b98(0x29d)]();return _0x18d362;},'blockSize':0x10,'_createHelper':function(_0x20e59b){return function(_0x3567c4,_0x48c98a){var _0x10c09c=_0x26d2;return new _0x20e59b[(_0x10c09c(0x191))](_0x48c98a)['finalize'](_0x3567c4);};},'_createHmacHelper':function(_0x5ed962){return function(_0x50c5ba,_0x26f384){var _0x1ed708=_0x26d2;return new _0x162a85['HMAC'][(_0x1ed708(0x191))](_0x5ed962,_0x26f384)['finalize'](_0x50c5ba);};}});var _0x162a85=_0x4004f6[_0x3df5e9(0x1d8)]={};return _0x4004f6;}(Math);return _0x4ad917;}));}(Ge)),Ge['exports'];}var We={'exports':{}},cn=We[_0x11fce5(0x2af)],qt;function Ri(){var _0x365fd1=_0x11fce5;return qt||(qt=0x1,function(_0x37e1a5,_0x4d875e){(function(_0x2121f0,_0x86df0e){_0x37e1a5['exports']=_0x86df0e(ie());}(cn,function(_0x770b9f){var _0x480faa=_0x26d2;return(function(){var _0x1d124c=_0x26d2,_0x5e40cd=_0x770b9f,_0x65640e=_0x5e40cd['lib'],_0x412ed4=_0x65640e[_0x1d124c(0x2e8)],_0x1ca9e3=_0x5e40cd[_0x1d124c(0x17a)];_0x1ca9e3[_0x1d124c(0x157)]={'stringify':function(_0x286748){var _0x2d5dd6=_0x1d124c,_0x349e7a=_0x286748[_0x2d5dd6(0x1fa)],_0x2cd58b=_0x286748[_0x2d5dd6(0x21e)],_0xe012b8=this[_0x2d5dd6(0x28c)];_0x286748[_0x2d5dd6(0x3d4)]();for(var _0x5a9d03=[],_0x1fb7d9=0x0;_0x1fb7d9<_0x2cd58b;_0x1fb7d9+=0x3)for(var _0x59e438=_0x349e7a[_0x1fb7d9>>>0x2]>>>0x18-_0x1fb7d9%0x4*0x8&0xff,_0x4cd7c2=_0x349e7a[_0x1fb7d9+0x1>>>0x2]>>>0x18-(_0x1fb7d9+0x1)%0x4*0x8&0xff,_0x481e65=_0x349e7a[_0x1fb7d9+0x2>>>0x2]>>>0x18-(_0x1fb7d9+0x2)%0x4*0x8&0xff,_0x2fce20=_0x59e438<<0x10|_0x4cd7c2<<0x8|_0x481e65,_0x20a49c=0x0;_0x20a49c<0x4&&_0x1fb7d9+_0x20a49c*0.75<_0x2cd58b;_0x20a49c++)_0x5a9d03[_0x2d5dd6(0x145)](_0xe012b8[_0x2d5dd6(0x341)](_0x2fce20>>>0x6*(0x3-_0x20a49c)&0x3f));var _0x15bf2a=_0xe012b8[_0x2d5dd6(0x341)](0x40);if(_0x15bf2a){for(;_0x5a9d03[_0x2d5dd6(0x115)]%0x4;)_0x5a9d03[_0x2d5dd6(0x145)](_0x15bf2a);}return _0x5a9d03['join']('');},'parse':function(_0x2f1a5c){var _0x526b48=_0x1d124c,_0x1c0a3a=_0x2f1a5c[_0x526b48(0x115)],_0x3b8c12=this[_0x526b48(0x28c)],_0x324b89=this[_0x526b48(0x36d)];if(!_0x324b89){_0x324b89=this[_0x526b48(0x36d)]=[];for(var _0x70502d=0x0;_0x70502d<_0x3b8c12[_0x526b48(0x115)];_0x70502d++)_0x324b89[_0x3b8c12['charCodeAt'](_0x70502d)]=_0x70502d;}var _0x1559b9=_0x3b8c12[_0x526b48(0x341)](0x40);if(_0x1559b9){var _0x1553ae=_0x2f1a5c['indexOf'](_0x1559b9);_0x1553ae!==-0x1&&(_0x1c0a3a=_0x1553ae);}return _0x2b95e7(_0x2f1a5c,_0x1c0a3a,_0x324b89);},'_map':_0x1d124c(0xf6)};function _0x2b95e7(_0x1f1898,_0x5ec20a,_0x12c520){var _0x3e6bdc=_0x1d124c;for(var _0x38febe=[],_0x2f0e99=0x0,_0x4b4380=0x0;_0x4b4380<_0x5ec20a;_0x4b4380++)if(_0x4b4380%0x4){var _0x4ecd8e=_0x12c520[_0x1f1898[_0x3e6bdc(0x35f)](_0x4b4380-0x1)]<<_0x4b4380%0x4*0x2,_0x1639ce=_0x12c520[_0x1f1898[_0x3e6bdc(0x35f)](_0x4b4380)]>>>0x6-_0x4b4380%0x4*0x2,_0x10cdc7=_0x4ecd8e|_0x1639ce;_0x38febe[_0x2f0e99>>>0x2]|=_0x10cdc7<<0x18-_0x2f0e99%0x4*0x8,_0x2f0e99++;}return _0x412ed4[_0x3e6bdc(0x3d9)](_0x38febe,_0x2f0e99);}}()),_0x770b9f[_0x480faa(0x17a)][_0x480faa(0x157)];}));}(We)),We[_0x365fd1(0x2af)];}var Ye={'exports':{}},_n=Ye[_0x11fce5(0x2af)],zt;function hn(){var _0x4c2b6c=_0x11fce5;return zt||(zt=0x1,function(_0x1d7319,_0x45bc89){(function(_0x51f9bf,_0x623119){var _0xb8a363=_0x26d2;_0x1d7319[_0xb8a363(0x2af)]=_0x623119(ie());}(_n,function(_0x164969){var _0x375d73=_0x26d2;return function(_0x25b8ac){var _0x43ae5c=_0x26d2,_0x2b99d8=_0x164969,_0x18f47c=_0x2b99d8[_0x43ae5c(0x255)],_0x1b5cd5=_0x18f47c[_0x43ae5c(0x2e8)],_0x4d1a82=_0x18f47c['Hasher'],_0x15b9ae=_0x2b99d8[_0x43ae5c(0x1d8)],_0x58ab25=[];(function(){var _0x55dd3c=_0x43ae5c;for(var _0x1a10db=0x0;_0x1a10db<0x40;_0x1a10db++)_0x58ab25[_0x1a10db]=_0x25b8ac[_0x55dd3c(0x3b6)](_0x25b8ac[_0x55dd3c(0x20d)](_0x1a10db+0x1))*0x100000000|0x0;}());var _0x263cce=_0x15b9ae['MD5']=_0x4d1a82[_0x43ae5c(0x3af)]({'_doReset':function(){var _0x5a216f=_0x43ae5c;this[_0x5a216f(0x107)]=new _0x1b5cd5[(_0x5a216f(0x191))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2755ef,_0x320047){var _0x2ffab2=_0x43ae5c;for(var _0x5593af=0x0;_0x5593af<0x10;_0x5593af++){var _0x24c864=_0x320047+_0x5593af,_0x1e378e=_0x2755ef[_0x24c864];_0x2755ef[_0x24c864]=(_0x1e378e<<0x8|_0x1e378e>>>0x18)&0xff00ff|(_0x1e378e<<0x18|_0x1e378e>>>0x8)&0xff00ff00;}var _0x9605c4=this[_0x2ffab2(0x107)]['words'],_0x585728=_0x2755ef[_0x320047+0x0],_0x4fc668=_0x2755ef[_0x320047+0x1],_0x9ca765=_0x2755ef[_0x320047+0x2],_0x39bed8=_0x2755ef[_0x320047+0x3],_0x48299d=_0x2755ef[_0x320047+0x4],_0x1b1d0f=_0x2755ef[_0x320047+0x5],_0x90b722=_0x2755ef[_0x320047+0x6],_0x6a7fcc=_0x2755ef[_0x320047+0x7],_0x183641=_0x2755ef[_0x320047+0x8],_0x334920=_0x2755ef[_0x320047+0x9],_0x23080b=_0x2755ef[_0x320047+0xa],_0x393c1e=_0x2755ef[_0x320047+0xb],_0x11ec11=_0x2755ef[_0x320047+0xc],_0x36aed7=_0x2755ef[_0x320047+0xd],_0x288d83=_0x2755ef[_0x320047+0xe],_0x5170b5=_0x2755ef[_0x320047+0xf],_0x591ec0=_0x9605c4[0x0],_0x5ddf06=_0x9605c4[0x1],_0xf625b5=_0x9605c4[0x2],_0x3a3e3a=_0x9605c4[0x3];_0x591ec0=_0x23dbdf(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x585728,0x7,_0x58ab25[0x0]),_0x3a3e3a=_0x23dbdf(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x4fc668,0xc,_0x58ab25[0x1]),_0xf625b5=_0x23dbdf(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x9ca765,0x11,_0x58ab25[0x2]),_0x5ddf06=_0x23dbdf(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x39bed8,0x16,_0x58ab25[0x3]),_0x591ec0=_0x23dbdf(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x48299d,0x7,_0x58ab25[0x4]),_0x3a3e3a=_0x23dbdf(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x1b1d0f,0xc,_0x58ab25[0x5]),_0xf625b5=_0x23dbdf(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x90b722,0x11,_0x58ab25[0x6]),_0x5ddf06=_0x23dbdf(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x6a7fcc,0x16,_0x58ab25[0x7]),_0x591ec0=_0x23dbdf(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x183641,0x7,_0x58ab25[0x8]),_0x3a3e3a=_0x23dbdf(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x334920,0xc,_0x58ab25[0x9]),_0xf625b5=_0x23dbdf(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x23080b,0x11,_0x58ab25[0xa]),_0x5ddf06=_0x23dbdf(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x393c1e,0x16,_0x58ab25[0xb]),_0x591ec0=_0x23dbdf(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x11ec11,0x7,_0x58ab25[0xc]),_0x3a3e3a=_0x23dbdf(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x36aed7,0xc,_0x58ab25[0xd]),_0xf625b5=_0x23dbdf(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x288d83,0x11,_0x58ab25[0xe]),_0x5ddf06=_0x23dbdf(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5170b5,0x16,_0x58ab25[0xf]),_0x591ec0=_0x11b644(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x4fc668,0x5,_0x58ab25[0x10]),_0x3a3e3a=_0x11b644(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x90b722,0x9,_0x58ab25[0x11]),_0xf625b5=_0x11b644(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x393c1e,0xe,_0x58ab25[0x12]),_0x5ddf06=_0x11b644(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x585728,0x14,_0x58ab25[0x13]),_0x591ec0=_0x11b644(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x1b1d0f,0x5,_0x58ab25[0x14]),_0x3a3e3a=_0x11b644(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x23080b,0x9,_0x58ab25[0x15]),_0xf625b5=_0x11b644(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x5170b5,0xe,_0x58ab25[0x16]),_0x5ddf06=_0x11b644(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x48299d,0x14,_0x58ab25[0x17]),_0x591ec0=_0x11b644(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x334920,0x5,_0x58ab25[0x18]),_0x3a3e3a=_0x11b644(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x288d83,0x9,_0x58ab25[0x19]),_0xf625b5=_0x11b644(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x39bed8,0xe,_0x58ab25[0x1a]),_0x5ddf06=_0x11b644(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x183641,0x14,_0x58ab25[0x1b]),_0x591ec0=_0x11b644(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x36aed7,0x5,_0x58ab25[0x1c]),_0x3a3e3a=_0x11b644(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x9ca765,0x9,_0x58ab25[0x1d]),_0xf625b5=_0x11b644(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x6a7fcc,0xe,_0x58ab25[0x1e]),_0x5ddf06=_0x11b644(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x11ec11,0x14,_0x58ab25[0x1f]),_0x591ec0=_0x63b1c2(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x1b1d0f,0x4,_0x58ab25[0x20]),_0x3a3e3a=_0x63b1c2(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x183641,0xb,_0x58ab25[0x21]),_0xf625b5=_0x63b1c2(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x393c1e,0x10,_0x58ab25[0x22]),_0x5ddf06=_0x63b1c2(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x288d83,0x17,_0x58ab25[0x23]),_0x591ec0=_0x63b1c2(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x4fc668,0x4,_0x58ab25[0x24]),_0x3a3e3a=_0x63b1c2(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x48299d,0xb,_0x58ab25[0x25]),_0xf625b5=_0x63b1c2(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x6a7fcc,0x10,_0x58ab25[0x26]),_0x5ddf06=_0x63b1c2(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x23080b,0x17,_0x58ab25[0x27]),_0x591ec0=_0x63b1c2(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x36aed7,0x4,_0x58ab25[0x28]),_0x3a3e3a=_0x63b1c2(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x585728,0xb,_0x58ab25[0x29]),_0xf625b5=_0x63b1c2(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x39bed8,0x10,_0x58ab25[0x2a]),_0x5ddf06=_0x63b1c2(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x90b722,0x17,_0x58ab25[0x2b]),_0x591ec0=_0x63b1c2(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x334920,0x4,_0x58ab25[0x2c]),_0x3a3e3a=_0x63b1c2(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x11ec11,0xb,_0x58ab25[0x2d]),_0xf625b5=_0x63b1c2(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x5170b5,0x10,_0x58ab25[0x2e]),_0x5ddf06=_0x63b1c2(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x9ca765,0x17,_0x58ab25[0x2f]),_0x591ec0=_0x1a3523(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x585728,0x6,_0x58ab25[0x30]),_0x3a3e3a=_0x1a3523(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x6a7fcc,0xa,_0x58ab25[0x31]),_0xf625b5=_0x1a3523(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x288d83,0xf,_0x58ab25[0x32]),_0x5ddf06=_0x1a3523(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x1b1d0f,0x15,_0x58ab25[0x33]),_0x591ec0=_0x1a3523(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x11ec11,0x6,_0x58ab25[0x34]),_0x3a3e3a=_0x1a3523(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x39bed8,0xa,_0x58ab25[0x35]),_0xf625b5=_0x1a3523(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x23080b,0xf,_0x58ab25[0x36]),_0x5ddf06=_0x1a3523(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x4fc668,0x15,_0x58ab25[0x37]),_0x591ec0=_0x1a3523(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x183641,0x6,_0x58ab25[0x38]),_0x3a3e3a=_0x1a3523(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x5170b5,0xa,_0x58ab25[0x39]),_0xf625b5=_0x1a3523(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x90b722,0xf,_0x58ab25[0x3a]),_0x5ddf06=_0x1a3523(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x36aed7,0x15,_0x58ab25[0x3b]),_0x591ec0=_0x1a3523(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x48299d,0x6,_0x58ab25[0x3c]),_0x3a3e3a=_0x1a3523(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x393c1e,0xa,_0x58ab25[0x3d]),_0xf625b5=_0x1a3523(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x9ca765,0xf,_0x58ab25[0x3e]),_0x5ddf06=_0x1a3523(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x334920,0x15,_0x58ab25[0x3f]),_0x9605c4[0x0]=_0x9605c4[0x0]+_0x591ec0|0x0,_0x9605c4[0x1]=_0x9605c4[0x1]+_0x5ddf06|0x0,_0x9605c4[0x2]=_0x9605c4[0x2]+_0xf625b5|0x0,_0x9605c4[0x3]=_0x9605c4[0x3]+_0x3a3e3a|0x0;},'_doFinalize':function(){var _0x4015ca=_0x43ae5c,_0x5e01c7=this[_0x4015ca(0x2a4)],_0x485a95=_0x5e01c7[_0x4015ca(0x1fa)],_0x27955c=this[_0x4015ca(0x176)]*0x8,_0x139d4c=_0x5e01c7['sigBytes']*0x8;_0x485a95[_0x139d4c>>>0x5]|=0x80<<0x18-_0x139d4c%0x20;var _0x4781ab=_0x25b8ac[_0x4015ca(0x1b3)](_0x27955c/0x100000000),_0x163809=_0x27955c;_0x485a95[(_0x139d4c+0x40>>>0x9<<0x4)+0xf]=(_0x4781ab<<0x8|_0x4781ab>>>0x18)&0xff00ff|(_0x4781ab<<0x18|_0x4781ab>>>0x8)&0xff00ff00,_0x485a95[(_0x139d4c+0x40>>>0x9<<0x4)+0xe]=(_0x163809<<0x8|_0x163809>>>0x18)&0xff00ff|(_0x163809<<0x18|_0x163809>>>0x8)&0xff00ff00,_0x5e01c7[_0x4015ca(0x21e)]=(_0x485a95[_0x4015ca(0x115)]+0x1)*0x4,this[_0x4015ca(0x291)]();for(var _0x1c3d9e=this[_0x4015ca(0x107)],_0x1c0478=_0x1c3d9e[_0x4015ca(0x1fa)],_0x268b76=0x0;_0x268b76<0x4;_0x268b76++){var _0x34a9a4=_0x1c0478[_0x268b76];_0x1c0478[_0x268b76]=(_0x34a9a4<<0x8|_0x34a9a4>>>0x18)&0xff00ff|(_0x34a9a4<<0x18|_0x34a9a4>>>0x8)&0xff00ff00;}return _0x1c3d9e;},'clone':function(){var _0x175e0f=_0x43ae5c,_0x5c86c1=_0x4d1a82[_0x175e0f(0x37f)]['call'](this);return _0x5c86c1[_0x175e0f(0x107)]=this[_0x175e0f(0x107)][_0x175e0f(0x37f)](),_0x5c86c1;}});function _0x23dbdf(_0x292062,_0x3a54a0,_0x3eae5f,_0x1a0d10,_0x10259e,_0x585cbe,_0x50eb8c){var _0x2d8afa=_0x292062+(_0x3a54a0&_0x3eae5f|~_0x3a54a0&_0x1a0d10)+_0x10259e+_0x50eb8c;return(_0x2d8afa<<_0x585cbe|_0x2d8afa>>>0x20-_0x585cbe)+_0x3a54a0;}function _0x11b644(_0x5a265b,_0x42a4f2,_0x49c184,_0x5e6e4a,_0x512ad2,_0x10e983,_0x3bb653){var _0x4a55ed=_0x5a265b+(_0x42a4f2&_0x5e6e4a|_0x49c184&~_0x5e6e4a)+_0x512ad2+_0x3bb653;return(_0x4a55ed<<_0x10e983|_0x4a55ed>>>0x20-_0x10e983)+_0x42a4f2;}function _0x63b1c2(_0xce9e31,_0x26bef9,_0x186176,_0x4f5f3d,_0x8166ac,_0x17c2fb,_0x26cdf0){var _0x162908=_0xce9e31+(_0x26bef9^_0x186176^_0x4f5f3d)+_0x8166ac+_0x26cdf0;return(_0x162908<<_0x17c2fb|_0x162908>>>0x20-_0x17c2fb)+_0x26bef9;}function _0x1a3523(_0x43e17f,_0x582fa3,_0x14417d,_0x51cc26,_0x5f4f7c,_0x4aa3e0,_0x1a7955){var _0x48f797=_0x43e17f+(_0x14417d^(_0x582fa3|~_0x51cc26))+_0x5f4f7c+_0x1a7955;return(_0x48f797<<_0x4aa3e0|_0x48f797>>>0x20-_0x4aa3e0)+_0x582fa3;}_0x2b99d8[_0x43ae5c(0x242)]=_0x4d1a82[_0x43ae5c(0x397)](_0x263cce),_0x2b99d8[_0x43ae5c(0x25b)]=_0x4d1a82[_0x43ae5c(0x1f3)](_0x263cce);}(Math),_0x164969[_0x375d73(0x242)];}));}(Ye)),Ye[_0x4c2b6c(0x2af)];}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x11fce5(0x2af)],Jt;function un(){var _0x41ddb3=_0x11fce5;return Jt||(Jt=0x1,function(_0x2161cc,_0x3977ad){(function(_0x5c1bbe,_0x1d5491){_0x2161cc['exports']=_0x1d5491(ie());}(ln,function(_0x501948){var _0x44131f=_0x26d2;return(function(){var _0x286cd7=_0x26d2,_0x13d91a=_0x501948,_0x471b4f=_0x13d91a[_0x286cd7(0x255)],_0x58f4b=_0x471b4f['WordArray'],_0x13d3b2=_0x471b4f['Hasher'],_0x374d14=_0x13d91a['algo'],_0x137ef8=[],_0x143857=_0x374d14[_0x286cd7(0x384)]=_0x13d3b2[_0x286cd7(0x3af)]({'_doReset':function(){var _0x1a9bcd=_0x286cd7;this[_0x1a9bcd(0x107)]=new _0x58f4b[(_0x1a9bcd(0x191))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2a205d,_0x5658a9){var _0x585bc9=_0x286cd7;for(var _0x2ea252=this['_hash'][_0x585bc9(0x1fa)],_0x2eae20=_0x2ea252[0x0],_0x29a0e2=_0x2ea252[0x1],_0x1a70c3=_0x2ea252[0x2],_0xcc2c5d=_0x2ea252[0x3],_0x4e1ef3=_0x2ea252[0x4],_0x391fa0=0x0;_0x391fa0<0x50;_0x391fa0++){if(_0x391fa0<0x10)_0x137ef8[_0x391fa0]=_0x2a205d[_0x5658a9+_0x391fa0]|0x0;else{var _0x47ae0a=_0x137ef8[_0x391fa0-0x3]^_0x137ef8[_0x391fa0-0x8]^_0x137ef8[_0x391fa0-0xe]^_0x137ef8[_0x391fa0-0x10];_0x137ef8[_0x391fa0]=_0x47ae0a<<0x1|_0x47ae0a>>>0x1f;}var _0x3273e8=(_0x2eae20<<0x5|_0x2eae20>>>0x1b)+_0x4e1ef3+_0x137ef8[_0x391fa0];_0x391fa0<0x14?_0x3273e8+=(_0x29a0e2&_0x1a70c3|~_0x29a0e2&_0xcc2c5d)+0x5a827999:_0x391fa0<0x28?_0x3273e8+=(_0x29a0e2^_0x1a70c3^_0xcc2c5d)+0x6ed9eba1:_0x391fa0<0x3c?_0x3273e8+=(_0x29a0e2&_0x1a70c3|_0x29a0e2&_0xcc2c5d|_0x1a70c3&_0xcc2c5d)-0x70e44324:_0x3273e8+=(_0x29a0e2^_0x1a70c3^_0xcc2c5d)-0x359d3e2a,_0x4e1ef3=_0xcc2c5d,_0xcc2c5d=_0x1a70c3,_0x1a70c3=_0x29a0e2<<0x1e|_0x29a0e2>>>0x2,_0x29a0e2=_0x2eae20,_0x2eae20=_0x3273e8;}_0x2ea252[0x0]=_0x2ea252[0x0]+_0x2eae20|0x0,_0x2ea252[0x1]=_0x2ea252[0x1]+_0x29a0e2|0x0,_0x2ea252[0x2]=_0x2ea252[0x2]+_0x1a70c3|0x0,_0x2ea252[0x3]=_0x2ea252[0x3]+_0xcc2c5d|0x0,_0x2ea252[0x4]=_0x2ea252[0x4]+_0x4e1ef3|0x0;},'_doFinalize':function(){var _0x41b061=_0x286cd7,_0x1a6b82=this['_data'],_0x5ce411=_0x1a6b82[_0x41b061(0x1fa)],_0x1bf0f5=this[_0x41b061(0x176)]*0x8,_0x10004d=_0x1a6b82['sigBytes']*0x8;return _0x5ce411[_0x10004d>>>0x5]|=0x80<<0x18-_0x10004d%0x20,_0x5ce411[(_0x10004d+0x40>>>0x9<<0x4)+0xe]=Math[_0x41b061(0x1b3)](_0x1bf0f5/0x100000000),_0x5ce411[(_0x10004d+0x40>>>0x9<<0x4)+0xf]=_0x1bf0f5,_0x1a6b82[_0x41b061(0x21e)]=_0x5ce411[_0x41b061(0x115)]*0x4,this['_process'](),this[_0x41b061(0x107)];},'clone':function(){var _0x37caa3=_0x286cd7,_0x4250ea=_0x13d3b2[_0x37caa3(0x37f)][_0x37caa3(0x23e)](this);return _0x4250ea['_hash']=this['_hash']['clone'](),_0x4250ea;}});_0x13d91a[_0x286cd7(0x384)]=_0x13d3b2[_0x286cd7(0x397)](_0x143857),_0x13d91a[_0x286cd7(0x220)]=_0x13d3b2[_0x286cd7(0x1f3)](_0x143857);}()),_0x501948[_0x44131f(0x384)];}));}(qe)),qe[_0x41ddb3(0x2af)];}var ze={'exports':{}},dn=ze[_0x11fce5(0x2af)],Xt;function fn(){var _0x4cf657=_0x11fce5;return Xt||(Xt=0x1,function(_0x286002,_0x3b908d){(function(_0x5cebdf,_0x1cc712){var _0x1ec3f8=_0x26d2;_0x286002[_0x1ec3f8(0x2af)]=_0x1cc712(ie());}(dn,function(_0x47d56b){(function(){var _0x541989=_0x26d2,_0x52719e=_0x47d56b,_0x175dfc=_0x52719e[_0x541989(0x255)],_0x134652=_0x175dfc[_0x541989(0x178)],_0x19d1ce=_0x52719e['enc'],_0x4f041f=_0x19d1ce[_0x541989(0x1ab)],_0x1a4186=_0x52719e[_0x541989(0x1d8)];_0x1a4186['HMAC']=_0x134652['extend']({'init':function(_0x34e3d9,_0x171eaf){var _0x269af1=_0x541989;_0x34e3d9=this['_hasher']=new _0x34e3d9[(_0x269af1(0x191))](),typeof _0x171eaf==_0x269af1(0x307)&&(_0x171eaf=_0x4f041f['parse'](_0x171eaf));var _0x54f3e2=_0x34e3d9['blockSize'],_0xe1a32d=_0x54f3e2*0x4;_0x171eaf[_0x269af1(0x21e)]>_0xe1a32d&&(_0x171eaf=_0x34e3d9[_0x269af1(0x3a3)](_0x171eaf)),_0x171eaf[_0x269af1(0x3d4)]();for(var _0x3d5222=this[_0x269af1(0x1b2)]=_0x171eaf[_0x269af1(0x37f)](),_0x3c3195=this[_0x269af1(0x181)]=_0x171eaf[_0x269af1(0x37f)](),_0x34d346=_0x3d5222[_0x269af1(0x1fa)],_0x2bba21=_0x3c3195[_0x269af1(0x1fa)],_0x5153a4=0x0;_0x5153a4<_0x54f3e2;_0x5153a4++)_0x34d346[_0x5153a4]^=0x5c5c5c5c,_0x2bba21[_0x5153a4]^=0x36363636;_0x3d5222['sigBytes']=_0x3c3195[_0x269af1(0x21e)]=_0xe1a32d,this[_0x269af1(0x35b)]();},'reset':function(){var _0x6827e4=_0x541989,_0x2d828b=this[_0x6827e4(0x161)];_0x2d828b[_0x6827e4(0x35b)](),_0x2d828b[_0x6827e4(0x185)](this[_0x6827e4(0x181)]);},'update':function(_0x4f6fc2){return this['_hasher']['update'](_0x4f6fc2),this;},'finalize':function(_0x55c45f){var _0x4a032b=_0x541989,_0x269109=this['_hasher'],_0x42f99e=_0x269109[_0x4a032b(0x3a3)](_0x55c45f);_0x269109[_0x4a032b(0x35b)]();var _0xc47134=_0x269109[_0x4a032b(0x3a3)](this[_0x4a032b(0x1b2)][_0x4a032b(0x37f)]()[_0x4a032b(0xfc)](_0x42f99e));return _0xc47134;}});}());}));}(ze)),ze[_0x4cf657(0x2af)];}var vn=Ke['exports'],Zt;function Ci(){var _0x327d6b=_0x11fce5;return Zt||(Zt=0x1,function(_0x33e100,_0x58ec92){(function(_0x41fb6a,_0x403425,_0x31b018){var _0x2e97b8=_0x26d2;_0x33e100[_0x2e97b8(0x2af)]=_0x403425(ie(),un(),fn());}(vn,function(_0x58da19){var _0x2b9cf3=_0x26d2;return(function(){var _0x51665f=_0x26d2,_0x219989=_0x58da19,_0x383367=_0x219989['lib'],_0x559ad2=_0x383367[_0x51665f(0x178)],_0x3e431b=_0x383367[_0x51665f(0x2e8)],_0xe41d93=_0x219989[_0x51665f(0x1d8)],_0x53a3c9=_0xe41d93[_0x51665f(0x242)],_0x2fd379=_0xe41d93[_0x51665f(0x3eb)]=_0x559ad2[_0x51665f(0x3af)]({'cfg':_0x559ad2[_0x51665f(0x3af)]({'keySize':0x80/0x20,'hasher':_0x53a3c9,'iterations':0x1}),'init':function(_0x4811b0){var _0x1c9799=_0x51665f;this[_0x1c9799(0x13d)]=this[_0x1c9799(0x13d)]['extend'](_0x4811b0);},'compute':function(_0x21cd38,_0x3f5b69){var _0x37dad1=_0x51665f;for(var _0x37bd36,_0x17778a=this['cfg'],_0x21f33a=_0x17778a[_0x37dad1(0x36a)][_0x37dad1(0x3d9)](),_0x175aee=_0x3e431b[_0x37dad1(0x3d9)](),_0x505bc0=_0x175aee['words'],_0x56f888=_0x17778a[_0x37dad1(0x326)],_0x1ea41a=_0x17778a[_0x37dad1(0x3d8)];_0x505bc0['length']<_0x56f888;){_0x37bd36&&_0x21f33a[_0x37dad1(0x185)](_0x37bd36),_0x37bd36=_0x21f33a[_0x37dad1(0x185)](_0x21cd38)[_0x37dad1(0x3a3)](_0x3f5b69),_0x21f33a['reset']();for(var _0x4383ee=0x1;_0x4383ee<_0x1ea41a;_0x4383ee++)_0x37bd36=_0x21f33a[_0x37dad1(0x3a3)](_0x37bd36),_0x21f33a['reset']();_0x175aee[_0x37dad1(0xfc)](_0x37bd36);}return _0x175aee[_0x37dad1(0x21e)]=_0x56f888*0x4,_0x175aee;}});_0x219989['EvpKDF']=function(_0x284773,_0x20e1e5,_0x9ceb66){var _0x1c3eee=_0x51665f;return _0x2fd379[_0x1c3eee(0x3d9)](_0x9ceb66)[_0x1c3eee(0x236)](_0x284773,_0x20e1e5);};}()),_0x58da19[_0x2b9cf3(0x3eb)];}));}(Ke)),Ke[_0x327d6b(0x2af)];}var Je={'exports':{}},pn=Je['exports'],Qt;function Ni(){var _0x1c07e8=_0x11fce5;return Qt||(Qt=0x1,function(_0x47a8c6,_0x44a27b){(function(_0x3d6bcb,_0x31682c,_0x430ac6){var _0x5cf9fe=_0x26d2;_0x47a8c6[_0x5cf9fe(0x2af)]=_0x31682c(ie(),Ci());}(pn,function(_0x1e59d3){var _0x5db291=_0x26d2;_0x1e59d3[_0x5db291(0x255)][_0x5db291(0x11f)]||function(_0x1a656b){var _0x4628be=_0x5db291,_0x2d8214=_0x1e59d3,_0x4f90c8=_0x2d8214[_0x4628be(0x255)],_0x310cf6=_0x4f90c8[_0x4628be(0x178)],_0xc114f=_0x4f90c8[_0x4628be(0x2e8)],_0x219cd0=_0x4f90c8[_0x4628be(0x1d2)],_0x55e899=_0x2d8214[_0x4628be(0x17a)];_0x55e899[_0x4628be(0x1ab)];var _0x56e62d=_0x55e899['Base64'],_0x2151e9=_0x2d8214[_0x4628be(0x1d8)],_0x22ecb7=_0x2151e9[_0x4628be(0x3eb)],_0x321bf1=_0x4f90c8[_0x4628be(0x11f)]=_0x219cd0[_0x4628be(0x3af)]({'cfg':_0x310cf6[_0x4628be(0x3af)](),'createEncryptor':function(_0x437b0c,_0x48c2a6){var _0x3cd215=_0x4628be;return this[_0x3cd215(0x3d9)](this[_0x3cd215(0x205)],_0x437b0c,_0x48c2a6);},'createDecryptor':function(_0x2629bd,_0x931d91){var _0x2d1b07=_0x4628be;return this[_0x2d1b07(0x3d9)](this['_DEC_XFORM_MODE'],_0x2629bd,_0x931d91);},'init':function(_0x48c40f,_0x14dd2c,_0x5b42ae){var _0x39dc87=_0x4628be;this[_0x39dc87(0x13d)]=this[_0x39dc87(0x13d)]['extend'](_0x5b42ae),this[_0x39dc87(0x1bd)]=_0x48c40f,this[_0x39dc87(0x24d)]=_0x14dd2c,this['reset']();},'reset':function(){var _0x18ee86=_0x4628be;_0x219cd0['reset'][_0x18ee86(0x23e)](this),this[_0x18ee86(0x30e)]();},'process':function(_0x9da74){var _0x23d7d8=_0x4628be;return this['_append'](_0x9da74),this[_0x23d7d8(0x291)]();},'finalize':function(_0x488f8e){var _0xe7c535=_0x4628be;_0x488f8e&&this[_0xe7c535(0xee)](_0x488f8e);var _0x3137a7=this[_0xe7c535(0x29d)]();return _0x3137a7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1d743a(_0xdf81b3){var _0x22b203=_0x26d2;return typeof _0xdf81b3==_0x22b203(0x307)?_0x3345fb:_0x4379ac;}return function(_0x1a5e8c){return{'encrypt':function(_0x3c60d3,_0x2a3510,_0x3a7ca6){var _0x5c083f=_0x26d2;return _0x1d743a(_0x2a3510)[_0x5c083f(0x31d)](_0x1a5e8c,_0x3c60d3,_0x2a3510,_0x3a7ca6);},'decrypt':function(_0x43202e,_0x232333,_0x468dd3){return _0x1d743a(_0x232333)['decrypt'](_0x1a5e8c,_0x43202e,_0x232333,_0x468dd3);}};};}())});_0x4f90c8[_0x4628be(0x2c8)]=_0x321bf1[_0x4628be(0x3af)]({'_doFinalize':function(){var _0x4a1f88=this['_process'](!0x0);return _0x4a1f88;},'blockSize':0x1});var _0x9140ae=_0x2d8214[_0x4628be(0x235)]={},_0x5ccc30=_0x4f90c8[_0x4628be(0x1c7)]=_0x310cf6['extend']({'createEncryptor':function(_0x43d88c,_0x156046){var _0x4410cc=_0x4628be;return this['Encryptor'][_0x4410cc(0x3d9)](_0x43d88c,_0x156046);},'createDecryptor':function(_0x5e5596,_0x58bf6d){var _0x5b20fa=_0x4628be;return this[_0x5b20fa(0x3de)][_0x5b20fa(0x3d9)](_0x5e5596,_0x58bf6d);},'init':function(_0x19d086,_0x242085){var _0x34a378=_0x4628be;this[_0x34a378(0x2a5)]=_0x19d086,this['_iv']=_0x242085;}}),_0x38fe26=_0x9140ae[_0x4628be(0x3f9)]=(function(){var _0xf8565f=_0x4628be,_0x492a1b=_0x5ccc30[_0xf8565f(0x3af)]();_0x492a1b[_0xf8565f(0x333)]=_0x492a1b[_0xf8565f(0x3af)]({'processBlock':function(_0x8ef05a,_0x30f380){var _0x61da94=_0xf8565f,_0xcfbd24=this['_cipher'],_0x3e6568=_0xcfbd24[_0x61da94(0x37a)];_0x33dfd6[_0x61da94(0x23e)](this,_0x8ef05a,_0x30f380,_0x3e6568),_0xcfbd24[_0x61da94(0x144)](_0x8ef05a,_0x30f380),this[_0x61da94(0x32f)]=_0x8ef05a[_0x61da94(0x2ee)](_0x30f380,_0x30f380+_0x3e6568);}}),_0x492a1b[_0xf8565f(0x3de)]=_0x492a1b['extend']({'processBlock':function(_0x3284b0,_0x2a79bb){var _0x9058b0=_0xf8565f,_0x375a9e=this[_0x9058b0(0x2a5)],_0x39bdf9=_0x375a9e[_0x9058b0(0x37a)],_0x282b2e=_0x3284b0['slice'](_0x2a79bb,_0x2a79bb+_0x39bdf9);_0x375a9e[_0x9058b0(0x355)](_0x3284b0,_0x2a79bb),_0x33dfd6[_0x9058b0(0x23e)](this,_0x3284b0,_0x2a79bb,_0x39bdf9),this['_prevBlock']=_0x282b2e;}});function _0x33dfd6(_0x10bc6a,_0x268ae7,_0x48de24){var _0x4cc468=_0xf8565f,_0x59cefa,_0x141128=this[_0x4cc468(0x26d)];_0x141128?(_0x59cefa=_0x141128,this[_0x4cc468(0x26d)]=_0x1a656b):_0x59cefa=this[_0x4cc468(0x32f)];for(var _0x315d24=0x0;_0x315d24<_0x48de24;_0x315d24++)_0x10bc6a[_0x268ae7+_0x315d24]^=_0x59cefa[_0x315d24];}return _0x492a1b;}()),_0x361ac9=_0x2d8214[_0x4628be(0x324)]={},_0x3a6c7f=_0x361ac9[_0x4628be(0xf1)]={'pad':function(_0x1ed5bc,_0x20c76c){var _0x319304=_0x4628be;for(var _0x27cf2e=_0x20c76c*0x4,_0x581d0c=_0x27cf2e-_0x1ed5bc[_0x319304(0x21e)]%_0x27cf2e,_0x35e2c3=_0x581d0c<<0x18|_0x581d0c<<0x10|_0x581d0c<<0x8|_0x581d0c,_0x1e120c=[],_0x565ae8=0x0;_0x565ae8<_0x581d0c;_0x565ae8+=0x4)_0x1e120c[_0x319304(0x145)](_0x35e2c3);var _0x19c6f2=_0xc114f['create'](_0x1e120c,_0x581d0c);_0x1ed5bc[_0x319304(0xfc)](_0x19c6f2);},'unpad':function(_0x4e5c29){var _0x1d9210=_0x4628be,_0x4bdd23=_0x4e5c29['words'][_0x4e5c29[_0x1d9210(0x21e)]-0x1>>>0x2]&0xff;_0x4e5c29[_0x1d9210(0x21e)]-=_0x4bdd23;}};_0x4f90c8['BlockCipher']=_0x321bf1[_0x4628be(0x3af)]({'cfg':_0x321bf1[_0x4628be(0x13d)][_0x4628be(0x3af)]({'mode':_0x38fe26,'padding':_0x3a6c7f}),'reset':function(){var _0x1d2f0d=_0x4628be,_0x5bcbee;_0x321bf1[_0x1d2f0d(0x35b)][_0x1d2f0d(0x23e)](this);var _0x49db65=this[_0x1d2f0d(0x13d)],_0x206806=_0x49db65['iv'],_0x8ba444=_0x49db65[_0x1d2f0d(0x235)];this[_0x1d2f0d(0x1bd)]==this[_0x1d2f0d(0x205)]?_0x5bcbee=_0x8ba444[_0x1d2f0d(0x1b0)]:(_0x5bcbee=_0x8ba444[_0x1d2f0d(0x2e3)],this[_0x1d2f0d(0x252)]=0x1),this[_0x1d2f0d(0x134)]&&this['_mode'][_0x1d2f0d(0x156)]==_0x5bcbee?this['_mode'][_0x1d2f0d(0x191)](this,_0x206806&&_0x206806[_0x1d2f0d(0x1fa)]):(this[_0x1d2f0d(0x134)]=_0x5bcbee[_0x1d2f0d(0x23e)](_0x8ba444,this,_0x206806&&_0x206806[_0x1d2f0d(0x1fa)]),this[_0x1d2f0d(0x134)]['__creator']=_0x5bcbee);},'_doProcessBlock':function(_0x1f4677,_0x36bb32){var _0x519610=_0x4628be;this[_0x519610(0x134)][_0x519610(0x282)](_0x1f4677,_0x36bb32);},'_doFinalize':function(){var _0x5e9bf4=_0x4628be,_0x25afd2,_0x47e249=this['cfg']['padding'];return this[_0x5e9bf4(0x1bd)]==this['_ENC_XFORM_MODE']?(_0x47e249[_0x5e9bf4(0x324)](this[_0x5e9bf4(0x2a4)],this[_0x5e9bf4(0x37a)]),_0x25afd2=this['_process'](!0x0)):(_0x25afd2=this[_0x5e9bf4(0x291)](!0x0),_0x47e249['unpad'](_0x25afd2)),_0x25afd2;},'blockSize':0x80/0x20});var _0x590feb=_0x4f90c8[_0x4628be(0xfd)]=_0x310cf6[_0x4628be(0x3af)]({'init':function(_0x523972){var _0x5360c9=_0x4628be;this[_0x5360c9(0x1e0)](_0x523972);},'toString':function(_0x3b0ade){var _0x25254c=_0x4628be;return(_0x3b0ade||this[_0x25254c(0x114)])[_0x25254c(0x3be)](this);}}),_0x3994aa=_0x2d8214[_0x4628be(0x2d3)]={},_0x1e571e=_0x3994aa['OpenSSL']={'stringify':function(_0x47723b){var _0x5054bc=_0x4628be,_0x1fa991,_0x31255f=_0x47723b[_0x5054bc(0x1a8)],_0x5c2301=_0x47723b[_0x5054bc(0x16f)];return _0x5c2301?_0x1fa991=_0xc114f['create']([0x53616c74,0x65645f5f])[_0x5054bc(0xfc)](_0x5c2301)[_0x5054bc(0xfc)](_0x31255f):_0x1fa991=_0x31255f,_0x1fa991[_0x5054bc(0x1a0)](_0x56e62d);},'parse':function(_0x1d23c8){var _0x2b1fa2=_0x4628be,_0x28c585,_0x32d714=_0x56e62d[_0x2b1fa2(0x2ad)](_0x1d23c8),_0x307f84=_0x32d714[_0x2b1fa2(0x1fa)];return _0x307f84[0x0]==0x53616c74&&_0x307f84[0x1]==0x65645f5f&&(_0x28c585=_0xc114f['create'](_0x307f84[_0x2b1fa2(0x2ee)](0x2,0x4)),_0x307f84[_0x2b1fa2(0x30d)](0x0,0x4),_0x32d714[_0x2b1fa2(0x21e)]-=0x10),_0x590feb[_0x2b1fa2(0x3d9)]({'ciphertext':_0x32d714,'salt':_0x28c585});}},_0x4379ac=_0x4f90c8['SerializableCipher']=_0x310cf6[_0x4628be(0x3af)]({'cfg':_0x310cf6[_0x4628be(0x3af)]({'format':_0x1e571e}),'encrypt':function(_0x476a1d,_0x27ef25,_0x5bb857,_0x572e08){var _0x10ab50=_0x4628be;_0x572e08=this['cfg']['extend'](_0x572e08);var _0x3c11a7=_0x476a1d[_0x10ab50(0x1b0)](_0x5bb857,_0x572e08),_0x1c96aa=_0x3c11a7[_0x10ab50(0x3a3)](_0x27ef25),_0x310048=_0x3c11a7['cfg'];return _0x590feb['create']({'ciphertext':_0x1c96aa,'key':_0x5bb857,'iv':_0x310048['iv'],'algorithm':_0x476a1d,'mode':_0x310048[_0x10ab50(0x235)],'padding':_0x310048[_0x10ab50(0x261)],'blockSize':_0x476a1d[_0x10ab50(0x37a)],'formatter':_0x572e08[_0x10ab50(0x2d3)]});},'decrypt':function(_0x25a23a,_0x1f163f,_0x497814,_0x656c8d){var _0x132bb8=_0x4628be;_0x656c8d=this[_0x132bb8(0x13d)][_0x132bb8(0x3af)](_0x656c8d),_0x1f163f=this[_0x132bb8(0x256)](_0x1f163f,_0x656c8d[_0x132bb8(0x2d3)]);var _0x26d30e=_0x25a23a[_0x132bb8(0x2e3)](_0x497814,_0x656c8d)[_0x132bb8(0x3a3)](_0x1f163f['ciphertext']);return _0x26d30e;},'_parse':function(_0x2a67c8,_0x1dcbf3){var _0x4f039d=_0x4628be;return typeof _0x2a67c8==_0x4f039d(0x307)?_0x1dcbf3[_0x4f039d(0x2ad)](_0x2a67c8,this):_0x2a67c8;}}),_0x66f80=_0x2d8214[_0x4628be(0x1d4)]={},_0x39fe8d=_0x66f80['OpenSSL']={'execute':function(_0x13069a,_0x4f0578,_0x5d1ac4,_0xcdc392,_0x1d59cd){var _0x29a9e4=_0x4628be;if(_0xcdc392||(_0xcdc392=_0xc114f[_0x29a9e4(0x3b0)](0x40/0x8)),_0x1d59cd)var _0x5dc793=_0x22ecb7['create']({'keySize':_0x4f0578+_0x5d1ac4,'hasher':_0x1d59cd})[_0x29a9e4(0x236)](_0x13069a,_0xcdc392);else var _0x5dc793=_0x22ecb7[_0x29a9e4(0x3d9)]({'keySize':_0x4f0578+_0x5d1ac4})[_0x29a9e4(0x236)](_0x13069a,_0xcdc392);var _0x400084=_0xc114f['create'](_0x5dc793['words'][_0x29a9e4(0x2ee)](_0x4f0578),_0x5d1ac4*0x4);return _0x5dc793['sigBytes']=_0x4f0578*0x4,_0x590feb['create']({'key':_0x5dc793,'iv':_0x400084,'salt':_0xcdc392});}},_0x3345fb=_0x4f90c8[_0x4628be(0x194)]=_0x4379ac['extend']({'cfg':_0x4379ac[_0x4628be(0x13d)][_0x4628be(0x3af)]({'kdf':_0x39fe8d}),'encrypt':function(_0x9950c9,_0x21619b,_0x515cd5,_0x2dc1c5){var _0x319338=_0x4628be;_0x2dc1c5=this[_0x319338(0x13d)][_0x319338(0x3af)](_0x2dc1c5);var _0x4262a9=_0x2dc1c5[_0x319338(0x1d4)]['execute'](_0x515cd5,_0x9950c9['keySize'],_0x9950c9['ivSize'],_0x2dc1c5[_0x319338(0x16f)],_0x2dc1c5['hasher']);_0x2dc1c5['iv']=_0x4262a9['iv'];var _0x2dd2ef=_0x4379ac[_0x319338(0x31d)]['call'](this,_0x9950c9,_0x21619b,_0x4262a9[_0x319338(0x39e)],_0x2dc1c5);return _0x2dd2ef[_0x319338(0x1e0)](_0x4262a9),_0x2dd2ef;},'decrypt':function(_0x585bb4,_0x56dd32,_0x171589,_0x33e9c9){var _0x441298=_0x4628be;_0x33e9c9=this['cfg'][_0x441298(0x3af)](_0x33e9c9),_0x56dd32=this[_0x441298(0x256)](_0x56dd32,_0x33e9c9['format']);var _0x585158=_0x33e9c9[_0x441298(0x1d4)][_0x441298(0x2bb)](_0x171589,_0x585bb4[_0x441298(0x326)],_0x585bb4['ivSize'],_0x56dd32['salt'],_0x33e9c9[_0x441298(0x36a)]);_0x33e9c9['iv']=_0x585158['iv'];var _0x55cd44=_0x4379ac[_0x441298(0x12c)]['call'](this,_0x585bb4,_0x56dd32,_0x585158[_0x441298(0x39e)],_0x33e9c9);return _0x55cd44;}});}();}));}(Je)),Je[_0x1c07e8(0x2af)];}var En=Ve[_0x11fce5(0x2af)],ei;function mn(){var _0x2fd36d=_0x11fce5;return ei||(ei=0x1,function(_0x390cce,_0xe7cc8e){(function(_0x5c0de1,_0x43a8d6,_0xae4bdd){var _0x206c49=_0x26d2;_0x390cce[_0x206c49(0x2af)]=_0x43a8d6(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x3383a0){var _0x1e30eb=_0x26d2;return(function(){var _0x9d7e3d=_0x26d2,_0x5afbf3=_0x3383a0,_0x300825=_0x5afbf3[_0x9d7e3d(0x255)],_0x301af1=_0x300825[_0x9d7e3d(0x3c8)],_0x23c521=_0x5afbf3[_0x9d7e3d(0x1d8)],_0x5a9d02=[],_0x386705=[],_0x12f501=[],_0x4fb4fd=[],_0x130006=[],_0x4eada4=[],_0x38c3c8=[],_0x445e09=[],_0x279232=[],_0x2f2e28=[];(function(){for(var _0x4413fa=[],_0x4a9e80=0x0;_0x4a9e80<0x100;_0x4a9e80++)_0x4a9e80<0x80?_0x4413fa[_0x4a9e80]=_0x4a9e80<<0x1:_0x4413fa[_0x4a9e80]=_0x4a9e80<<0x1^0x11b;for(var _0xbd2bbd=0x0,_0x530b5a=0x0,_0x4a9e80=0x0;_0x4a9e80<0x100;_0x4a9e80++){var _0xa81140=_0x530b5a^_0x530b5a<<0x1^_0x530b5a<<0x2^_0x530b5a<<0x3^_0x530b5a<<0x4;_0xa81140=_0xa81140>>>0x8^_0xa81140&0xff^0x63,_0x5a9d02[_0xbd2bbd]=_0xa81140,_0x386705[_0xa81140]=_0xbd2bbd;var _0x3085cf=_0x4413fa[_0xbd2bbd],_0x48ff41=_0x4413fa[_0x3085cf],_0x1ee00d=_0x4413fa[_0x48ff41],_0x3b4fb0=_0x4413fa[_0xa81140]*0x101^_0xa81140*0x1010100;_0x12f501[_0xbd2bbd]=_0x3b4fb0<<0x18|_0x3b4fb0>>>0x8,_0x4fb4fd[_0xbd2bbd]=_0x3b4fb0<<0x10|_0x3b4fb0>>>0x10,_0x130006[_0xbd2bbd]=_0x3b4fb0<<0x8|_0x3b4fb0>>>0x18,_0x4eada4[_0xbd2bbd]=_0x3b4fb0;var _0x3b4fb0=_0x1ee00d*0x1010101^_0x48ff41*0x10001^_0x3085cf*0x101^_0xbd2bbd*0x1010100;_0x38c3c8[_0xa81140]=_0x3b4fb0<<0x18|_0x3b4fb0>>>0x8,_0x445e09[_0xa81140]=_0x3b4fb0<<0x10|_0x3b4fb0>>>0x10,_0x279232[_0xa81140]=_0x3b4fb0<<0x8|_0x3b4fb0>>>0x18,_0x2f2e28[_0xa81140]=_0x3b4fb0,_0xbd2bbd?(_0xbd2bbd=_0x3085cf^_0x4413fa[_0x4413fa[_0x4413fa[_0x1ee00d^_0x3085cf]]],_0x530b5a^=_0x4413fa[_0x4413fa[_0x530b5a]]):_0xbd2bbd=_0x530b5a=0x1;}}());var _0xbe515d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x11864c=_0x23c521[_0x9d7e3d(0x186)]=_0x301af1['extend']({'_doReset':function(){var _0x2527e1=_0x9d7e3d,_0x36ea51;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x2527e1(0x24d)])){for(var _0x2c43e8=this['_keyPriorReset']=this[_0x2527e1(0x24d)],_0x32d08c=_0x2c43e8[_0x2527e1(0x1fa)],_0x5c5452=_0x2c43e8['sigBytes']/0x4,_0x49f930=this[_0x2527e1(0x360)]=_0x5c5452+0x6,_0x5d6728=(_0x49f930+0x1)*0x4,_0x144e96=this['_keySchedule']=[],_0xa08d79=0x0;_0xa08d79<_0x5d6728;_0xa08d79++)_0xa08d79<_0x5c5452?_0x144e96[_0xa08d79]=_0x32d08c[_0xa08d79]:(_0x36ea51=_0x144e96[_0xa08d79-0x1],_0xa08d79%_0x5c5452?_0x5c5452>0x6&&_0xa08d79%_0x5c5452==0x4&&(_0x36ea51=_0x5a9d02[_0x36ea51>>>0x18]<<0x18|_0x5a9d02[_0x36ea51>>>0x10&0xff]<<0x10|_0x5a9d02[_0x36ea51>>>0x8&0xff]<<0x8|_0x5a9d02[_0x36ea51&0xff]):(_0x36ea51=_0x36ea51<<0x8|_0x36ea51>>>0x18,_0x36ea51=_0x5a9d02[_0x36ea51>>>0x18]<<0x18|_0x5a9d02[_0x36ea51>>>0x10&0xff]<<0x10|_0x5a9d02[_0x36ea51>>>0x8&0xff]<<0x8|_0x5a9d02[_0x36ea51&0xff],_0x36ea51^=_0xbe515d[_0xa08d79/_0x5c5452|0x0]<<0x18),_0x144e96[_0xa08d79]=_0x144e96[_0xa08d79-_0x5c5452]^_0x36ea51);for(var _0x52b7b2=this[_0x2527e1(0x204)]=[],_0x200b2c=0x0;_0x200b2c<_0x5d6728;_0x200b2c++){var _0xa08d79=_0x5d6728-_0x200b2c;if(_0x200b2c%0x4)var _0x36ea51=_0x144e96[_0xa08d79];else var _0x36ea51=_0x144e96[_0xa08d79-0x4];_0x200b2c<0x4||_0xa08d79<=0x4?_0x52b7b2[_0x200b2c]=_0x36ea51:_0x52b7b2[_0x200b2c]=_0x38c3c8[_0x5a9d02[_0x36ea51>>>0x18]]^_0x445e09[_0x5a9d02[_0x36ea51>>>0x10&0xff]]^_0x279232[_0x5a9d02[_0x36ea51>>>0x8&0xff]]^_0x2f2e28[_0x5a9d02[_0x36ea51&0xff]];}}},'encryptBlock':function(_0x2f99fc,_0x1059c5){var _0x25f2e0=_0x9d7e3d;this[_0x25f2e0(0x3a5)](_0x2f99fc,_0x1059c5,this[_0x25f2e0(0x229)],_0x12f501,_0x4fb4fd,_0x130006,_0x4eada4,_0x5a9d02);},'decryptBlock':function(_0x4eb3c7,_0x549a40){var _0x31bf0d=_0x9d7e3d,_0x2aa959=_0x4eb3c7[_0x549a40+0x1];_0x4eb3c7[_0x549a40+0x1]=_0x4eb3c7[_0x549a40+0x3],_0x4eb3c7[_0x549a40+0x3]=_0x2aa959,this[_0x31bf0d(0x3a5)](_0x4eb3c7,_0x549a40,this['_invKeySchedule'],_0x38c3c8,_0x445e09,_0x279232,_0x2f2e28,_0x386705);var _0x2aa959=_0x4eb3c7[_0x549a40+0x1];_0x4eb3c7[_0x549a40+0x1]=_0x4eb3c7[_0x549a40+0x3],_0x4eb3c7[_0x549a40+0x3]=_0x2aa959;},'_doCryptBlock':function(_0x2f539e,_0x171af6,_0x238220,_0x2dfa5d,_0x39480c,_0x60041f,_0x324276,_0x433350){var _0x31a738=_0x9d7e3d;for(var _0x22e382=this[_0x31a738(0x360)],_0x122129=_0x2f539e[_0x171af6]^_0x238220[0x0],_0x1d14ef=_0x2f539e[_0x171af6+0x1]^_0x238220[0x1],_0xb8ff5d=_0x2f539e[_0x171af6+0x2]^_0x238220[0x2],_0x1b4f64=_0x2f539e[_0x171af6+0x3]^_0x238220[0x3],_0x2c2e2f=0x4,_0x40b78c=0x1;_0x40b78c<_0x22e382;_0x40b78c++){var _0x935170=_0x2dfa5d[_0x122129>>>0x18]^_0x39480c[_0x1d14ef>>>0x10&0xff]^_0x60041f[_0xb8ff5d>>>0x8&0xff]^_0x324276[_0x1b4f64&0xff]^_0x238220[_0x2c2e2f++],_0x324f63=_0x2dfa5d[_0x1d14ef>>>0x18]^_0x39480c[_0xb8ff5d>>>0x10&0xff]^_0x60041f[_0x1b4f64>>>0x8&0xff]^_0x324276[_0x122129&0xff]^_0x238220[_0x2c2e2f++],_0x24cbac=_0x2dfa5d[_0xb8ff5d>>>0x18]^_0x39480c[_0x1b4f64>>>0x10&0xff]^_0x60041f[_0x122129>>>0x8&0xff]^_0x324276[_0x1d14ef&0xff]^_0x238220[_0x2c2e2f++],_0x50989d=_0x2dfa5d[_0x1b4f64>>>0x18]^_0x39480c[_0x122129>>>0x10&0xff]^_0x60041f[_0x1d14ef>>>0x8&0xff]^_0x324276[_0xb8ff5d&0xff]^_0x238220[_0x2c2e2f++];_0x122129=_0x935170,_0x1d14ef=_0x324f63,_0xb8ff5d=_0x24cbac,_0x1b4f64=_0x50989d;}var _0x935170=(_0x433350[_0x122129>>>0x18]<<0x18|_0x433350[_0x1d14ef>>>0x10&0xff]<<0x10|_0x433350[_0xb8ff5d>>>0x8&0xff]<<0x8|_0x433350[_0x1b4f64&0xff])^_0x238220[_0x2c2e2f++],_0x324f63=(_0x433350[_0x1d14ef>>>0x18]<<0x18|_0x433350[_0xb8ff5d>>>0x10&0xff]<<0x10|_0x433350[_0x1b4f64>>>0x8&0xff]<<0x8|_0x433350[_0x122129&0xff])^_0x238220[_0x2c2e2f++],_0x24cbac=(_0x433350[_0xb8ff5d>>>0x18]<<0x18|_0x433350[_0x1b4f64>>>0x10&0xff]<<0x10|_0x433350[_0x122129>>>0x8&0xff]<<0x8|_0x433350[_0x1d14ef&0xff])^_0x238220[_0x2c2e2f++],_0x50989d=(_0x433350[_0x1b4f64>>>0x18]<<0x18|_0x433350[_0x122129>>>0x10&0xff]<<0x10|_0x433350[_0x1d14ef>>>0x8&0xff]<<0x8|_0x433350[_0xb8ff5d&0xff])^_0x238220[_0x2c2e2f++];_0x2f539e[_0x171af6]=_0x935170,_0x2f539e[_0x171af6+0x1]=_0x324f63,_0x2f539e[_0x171af6+0x2]=_0x24cbac,_0x2f539e[_0x171af6+0x3]=_0x50989d;},'keySize':0x100/0x20});_0x5afbf3['AES']=_0x301af1[_0x9d7e3d(0x397)](_0x11864c);}()),_0x3383a0[_0x1e30eb(0x186)];}));}(Ve)),Ve[_0x2fd36d(0x2af)];}var In=mn();const Sn=$e(In);var gn=Ri();const ti=$e(gn);var Xe={'exports':{}},Tn=Xe[_0x11fce5(0x2af)],ii;function On(){var _0x11170c=_0x11fce5;return ii||(ii=0x1,function(_0x5a53d0,_0x28c394){(function(_0x42d312,_0x12b04b){var _0x28880f=_0x26d2;_0x5a53d0[_0x28880f(0x2af)]=_0x12b04b(ie());}(Tn,function(_0x3200eb){var _0x403103=_0x26d2;return _0x3200eb[_0x403103(0x17a)][_0x403103(0x1ab)];}));}(Xe)),Xe[_0x11170c(0x2af)];}var Rn=On();const Cn=$e(Rn);var Ze={'exports':{}},Nn=Ze[_0x11fce5(0x2af)],si;function bn(){var _0x2273b1=_0x11fce5;return si||(si=0x1,function(_0x20f057,_0x339600){(function(_0x275b7e,_0xedae7b){var _0x34d33f=_0x26d2;_0x20f057[_0x34d33f(0x2af)]=_0xedae7b(ie());}(Nn,function(_0xb15a90){var _0x161eea=_0x26d2;return(function(){var _0x17ebd0=_0x26d2;if(typeof ArrayBuffer==_0x17ebd0(0x1eb)){var _0x5e1d35=_0xb15a90,_0x29dcfa=_0x5e1d35[_0x17ebd0(0x255)],_0x3cc391=_0x29dcfa[_0x17ebd0(0x2e8)],_0x4722d0=_0x3cc391[_0x17ebd0(0x191)],_0x567230=_0x3cc391[_0x17ebd0(0x191)]=function(_0x10cece){var _0x1d5da6=_0x17ebd0;if(_0x10cece instanceof ArrayBuffer&&(_0x10cece=new Uint8Array(_0x10cece)),(_0x10cece instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x10cece instanceof Uint8ClampedArray||_0x10cece instanceof Int16Array||_0x10cece instanceof Uint16Array||_0x10cece instanceof Int32Array||_0x10cece instanceof Uint32Array||_0x10cece instanceof Float32Array||_0x10cece instanceof Float64Array)&&(_0x10cece=new Uint8Array(_0x10cece[_0x1d5da6(0x315)],_0x10cece[_0x1d5da6(0x2e4)],_0x10cece[_0x1d5da6(0x345)])),_0x10cece instanceof Uint8Array){for(var _0x5ce0b3=_0x10cece[_0x1d5da6(0x345)],_0x42466a=[],_0x55d1b0=0x0;_0x55d1b0<_0x5ce0b3;_0x55d1b0++)_0x42466a[_0x55d1b0>>>0x2]|=_0x10cece[_0x55d1b0]<<0x18-_0x55d1b0%0x4*0x8;_0x4722d0[_0x1d5da6(0x23e)](this,_0x42466a,_0x5ce0b3);}else _0x4722d0[_0x1d5da6(0x3bb)](this,arguments);};_0x567230['prototype']=_0x3cc391;}}()),_0xb15a90[_0x161eea(0x255)]['WordArray'];}));}(Ze)),Ze[_0x2273b1(0x2af)];}var Dn=bn();const yn=$e(Dn);var Qe={'exports':{}},Un=Qe[_0x11fce5(0x2af)],ni;function An(){var _0x86bce9=_0x11fce5;return ni||(ni=0x1,function(_0x29b4b4,_0x10e7aa){(function(_0x4c909e,_0x591596,_0x4dc675){var _0x57b6f7=_0x26d2;_0x29b4b4[_0x57b6f7(0x2af)]=_0x591596(ie(),Ni());}(Un,function(_0x53eb8c){var _0x2db862=_0x26d2;return _0x53eb8c['pad'][_0x2db862(0x28f)]={'pad':function(){},'unpad':function(){}},_0x53eb8c[_0x2db862(0x324)][_0x2db862(0x28f)];}));}(Qe)),Qe[_0x86bce9(0x2af)];}var Pn=An();function _0x26d2(_0x23d723,_0x1062a5){var _0x4970da=_0x4970();return _0x26d2=function(_0x26d278,_0x2cdc93){_0x26d278=_0x26d278-0xe7;var _0x30e111=_0x4970da[_0x26d278];return _0x30e111;},_0x26d2(_0x23d723,_0x1062a5);}const wn=$e(Pn);function Mn(_0xc712cb,_0x234148){var _0x371e33=_0x11fce5;const _0x103ca5=_0x234148-_0xc712cb[_0x371e33(0x115)]%_0x234148,_0x39f352=String[_0x371e33(0x249)](_0x103ca5)[_0x371e33(0x158)](_0x103ca5);return _0xc712cb+_0x39f352;}function Ln(_0x3d426e,_0x4bd697){var _0x59c75b=_0x11fce5;const _0x37867b=yn[_0x59c75b(0x3b0)](0x10),_0x5022cb=Mn(_0x3d426e,0x10),_0x37c92b=Sn['encrypt'](Cn[_0x59c75b(0x2ad)](_0x5022cb),ti['parse'](_0x4bd697),{'iv':_0x37867b,'padding':wn});return _0x37867b['concat'](_0x37c92b['ciphertext'])[_0x59c75b(0x1a0)](ti);}function xn(){var _0x3e05f3=_0x11fce5;const _0x42ba52=_0x2b8b0b()[_0x3e05f3(0x3b9)];if(_0x42ba52){const _0x3f0569={'time':Math[_0x3e05f3(0x1b3)](Date['now']()/0x3e8),'domain':location[_0x3e05f3(0x1ae)]};return Ln(JSON[_0x3e05f3(0x3be)](_0x3f0569),_0x42ba52);}}var kn=Object[_0x11fce5(0x381)],$n=(_0x32947b,_0x3a6769,_0x14dba4,_0x5a6b94)=>{var _0x412b34=_0x11fce5;for(var _0x564e8d=_0x5a6b94>0x1?void 0x0:_0x5a6b94?kn(_0x3a6769,_0x14dba4):_0x3a6769,_0x49c4a3=_0x32947b[_0x412b34(0x115)]-0x1,_0x334821;_0x49c4a3>=0x0;_0x49c4a3--)(_0x334821=_0x32947b[_0x49c4a3])&&(_0x564e8d=_0x334821(_0x564e8d)||_0x564e8d);return _0x564e8d;},Hn=(_0x122fd4,_0x4cc26a)=>(_0x1e0541,_0x4aab06)=>_0x4cc26a(_0x1e0541,_0x4aab06,_0x122fd4);let at=class{constructor(_0xcaf2e4){var _0x1f366b=_0x11fce5;this['_httpService']=_0xcaf2e4,this[_0x1f366b(0x3bf)]();}[_0x11fce5(0x3bf)](){var _0x375be0=_0x11fce5;this[_0x375be0(0x132)][_0x375be0(0x1b1)]({'interceptor':(_0x329ce3,_0x148afe)=>{var _0x4d1fba=_0x375be0;const _0x2c544b=_0x329ce3['headers'],_0x508254=xn();return _0x508254&&_0x2c544b[_0x4d1fba(0x231)](_0x4d1fba(0x3f3),_0x508254),_0x148afe(_0x329ce3);}});}};at=$n([Hn(0x0,_0x2d55c5(_0x4f418b))],at);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x23ac01,_0x5c8d2c,_0x3867cc,_0x346761)=>{for(var _0x502144=_0x346761>0x1?void 0x0:_0x346761?Bn(_0x5c8d2c,_0x3867cc):_0x5c8d2c,_0x56a0a5=_0x23ac01['length']-0x1,_0x5bdd1;_0x56a0a5>=0x0;_0x56a0a5--)(_0x5bdd1=_0x23ac01[_0x56a0a5])&&(_0x502144=_0x5bdd1(_0x502144)||_0x502144);return _0x502144;},vt=(_0x477c05,_0x46b2cd)=>(_0xcbc1dd,_0x3960ad)=>_0x46b2cd(_0xcbc1dd,_0x3960ad,_0x477c05);let Ot=class extends _0x3f27f5{constructor(_0x1cbe18,_0x3a16f4,_0x5a1d4f){var _0x336c7b=_0x11fce5;super(),D(this,_0x336c7b(0x247),new _0x5908b4(null)),D(this,_0x336c7b(0x1ce),this[_0x336c7b(0x247)][_0x336c7b(0x3c5)]()),(this[_0x336c7b(0x313)]=_0x1cbe18,this['_snapshotService']=_0x3a16f4,this[_0x336c7b(0x32e)]=_0x5a1d4f);}async[_0x11fce5(0x1a3)](_0x19204c,_0x268c6b,_0x8120b7){var _0x4b0886=_0x11fce5;this['_unitInfo$'][_0x4b0886(0x16e)]({'unitId':_0x19204c,'type':_0x268c6b});let _0x1988eb=null;switch(_0x268c6b){case Q[_0x4b0886(0x190)]:{_0x1988eb=await this['_snapshotService']['loadSheet'](_0x19204c,_0x8120b7);break;}case Q[_0x4b0886(0x346)]:{_0x1988eb=await this[_0x4b0886(0x32c)][_0x4b0886(0xf9)](_0x19204c,_0x8120b7);break;}default:{this[_0x4b0886(0x313)][_0x4b0886(0x177)](_0x4b0886(0x3fc),_0x4b0886(0x143));break;}}return _0x1988eb;}async['loadUnit'](_0x54e19b,_0x4d51d6,_0x33762e){var _0x4fc54b=_0x11fce5,_0x329be7;this[_0x4fc54b(0x247)][_0x4fc54b(0x16e)]({'unitId':_0x54e19b,'type':_0x4d51d6,'subUnitId':_0x33762e});let _0x12c2eb=0x0;const _0x84b7e8=await((_0x329be7=this[_0x4fc54b(0x32e)])==null?void 0x0:_0x329be7[_0x4fc54b(0x2e2)](_0x54e19b));return _0x84b7e8&&(_0x84b7e8[_0x4fc54b(0x2cc)]||_0x84b7e8[_0x4fc54b(0x34b)][_0x4fc54b(0x115)]!==0x0)&&(_0x12c2eb=_0x84b7e8[_0x4fc54b(0x2c3)]),_0x12c2eb===0x0&&this[_0x4fc54b(0x313)][_0x4fc54b(0x11a)](_0x4fc54b(0x3fc),_0x4fc54b(0x1cb)),this['loadUnitOfRevision'](_0x54e19b,_0x4d51d6,_0x12c2eb);}};Ot=Fn([vt(0x0,_0x1df9aa),vt(0x1,_0x2d55c5(_0x4d1a6d)),vt(0x2,_0xe7a6e7(J))],Ot);var jn=Object[_0x11fce5(0x381)],Vn=(_0xe64770,_0xd7ee0c,_0x17f302,_0x130fe8)=>{var _0x59493e=_0x11fce5;for(var _0x117ca5=_0x130fe8>0x1?void 0x0:_0x130fe8?jn(_0xd7ee0c,_0x17f302):_0xd7ee0c,_0x4323d9=_0xe64770[_0x59493e(0x115)]-0x1,_0x45914b;_0x4323d9>=0x0;_0x4323d9--)(_0x45914b=_0xe64770[_0x4323d9])&&(_0x117ca5=_0x45914b(_0x117ca5)||_0x117ca5);return _0x117ca5;},pt=(_0x18eb93,_0x43b72a)=>(_0x59edd0,_0x2a53f7)=>_0x43b72a(_0x59edd0,_0x2a53f7,_0x18eb93);const Gn=[_0x11fce5(0x340),_0x11fce5(0x22c),_0x11fce5(0x304),_0x11fce5(0x314),'image/bmp'],Wn=0x5*0x400*0x400,Yn='/universer-api/stream/file/upload',Kn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x37a332,_0x537263,_0x2bae58){var _0x400c15=_0x11fce5;D(this,_0x400c15(0x203),0x0),D(this,_0x400c15(0xf7),new _0x47b396()),D(this,_0x400c15(0x232),this['_change$']),D(this,'_imageSourceCache',new Map()),(this[_0x400c15(0x132)]=_0x37a332,this['_configService']=_0x537263,this['_univerInstanceService']=_0x2bae58);}[_0x11fce5(0x1bf)](_0x2bbada){var _0x8c04de=_0x11fce5;this['_waitCount']=_0x2bbada,this[_0x8c04de(0xf7)]['next'](_0x2bbada);}[_0x11fce5(0x12a)](_0x44474f,_0x4ce3b1){var _0x46cf01=_0x11fce5;if(_0x4ce3b1===_0x4c3a25[_0x46cf01(0x20e)]){const _0x4e8310=new Image();return _0x4e8310[_0x46cf01(0x159)]=_0x44474f,_0x4e8310;}return this[_0x46cf01(0x3d1)][_0x46cf01(0x277)](_0x44474f);}[_0x11fce5(0x1f2)](_0x37becf,_0x4ffad1,_0x1b1383){var _0x3157e1=_0x11fce5;_0x4ffad1===_0x4c3a25['BASE64']||_0x1b1383==null||this[_0x3157e1(0x3d1)][_0x3157e1(0x231)](_0x37becf,_0x1b1383);}async['getImage'](_0x4ca7f6){var _0x1da08d=_0x11fce5;try{const _0x405e93=this[_0x1da08d(0x3ba)](this['_getSignURL'](),''+_0x4ca7f6),_0x4fb82e=(await this[_0x1da08d(0x132)][_0x1da08d(0x277)](_0x405e93))['body'];if(_0x4fb82e[_0x1da08d(0x177)]&&_0x4fb82e[_0x1da08d(0x177)][_0x1da08d(0x2a8)]===vi['OK']){const _0x46cb93=new URL(_0x4fb82e[_0x1da08d(0x19c)],this[_0x1da08d(0xe8)]())[_0x1da08d(0x1a0)]();return Promise['resolve'](_0x46cb93);}return Promise['reject'](_0x4fb82e['error']);}catch(_0x5deadf){return Promise[_0x1da08d(0x1a9)](_0x5deadf);}}async[_0x11fce5(0x387)](_0x1b0b88){var _0x909441=_0x11fce5;let _0x4bd240='';if(!Gn[_0x909441(0x3d0)](_0x1b0b88[_0x909441(0x2bf)]))return this[_0x909441(0x3ac)](),Promise['reject'](new Error(_0x12817a[_0x909441(0x1e1)]));if(_0x1b0b88[_0x909441(0x10a)]>Wn)return this['_decreaseWaiting'](),Promise[_0x909441(0x1a9)](new Error(_0x12817a['ERROR_EXCEED_SIZE']));try{const _0x5a36db=new FormData();_0x5a36db[_0x909441(0x169)](_0x909441(0xf5),_0x1b0b88);const _0x196b13=this[_0x909441(0x2c5)][_0x909441(0x1c2)](),_0x48b8e1=_0x196b13==null?void 0x0:_0x196b13['getUnitId']();if(!_0x48b8e1)throw new Error('unitId\x20is\x20not\x20found');const _0x5e2727=this[_0x909441(0x227)]()+_0x909441(0x2de)+_0x1b0b88[_0x909441(0x10a)][_0x909441(0x1a0)]()+'&source='+pi[_0x909441(0xf0)]+_0x909441(0x3ca)+encodeURIComponent(_0x48b8e1),_0x133307={'body':_0x5a36db},_0x571962=(await this[_0x909441(0x132)][_0x909441(0x167)](_0x5e2727,_0x133307))['body'];if(typeof _0x571962[_0x909441(0x38b)]!='string')return this['_decreaseWaiting'](),Promise[_0x909441(0x1a9)](new Error(_0x12817a[_0x909441(0x1b5)]));_0x4bd240=_0x571962[_0x909441(0x38b)];}catch{return this['_decreaseWaiting'](),Promise[_0x909441(0x1a9)](new Error(_0x12817a['ERROR_IMAGE']));}return new Promise((_0x10afb2,_0x1a6039)=>{const _0x5214a2=new FileReader();_0x5214a2['readAsDataURL'](_0x1b0b88),_0x5214a2['onload']=_0x19ef0d=>{var _0x1e8143=_0x26d2,_0x3de242;const _0x4dd592=(_0x3de242=_0x19ef0d['target'])==null?void 0x0:_0x3de242[_0x1e8143(0x155)];if(_0x4dd592==null){this[_0x1e8143(0x3ac)](),_0x1a6039(new Error(_0x12817a[_0x1e8143(0x1b5)]));return;}const _0x175a77=_0x4cb107(0x6);_0x10afb2({'imageId':_0x175a77,'imageSourceType':_0x4c3a25[_0x1e8143(0x164)],'source':_0x4bd240,'base64Cache':_0x4dd592,'status':_0x12817a[_0x1e8143(0x3f8)]}),this[_0x1e8143(0x3ac)]();};});}['_getUploadFileURL'](){var _0x14e245=_0x11fce5,_0x2a576c;const _0x4ce2fe=this[_0x14e245(0x182)]['getConfig'](K);return(_0x2a576c=_0x4ce2fe==null?void 0x0:_0x4ce2fe[_0x14e245(0x36c)])!=null?_0x2a576c:Yn;}[_0x11fce5(0x2ba)](){var _0x20e815=_0x11fce5,_0x2813a1;const _0x1d13c3=this[_0x20e815(0x182)][_0x20e815(0x33a)](K);return(_0x2813a1=_0x1d13c3==null?void 0x0:_0x1d13c3[_0x20e815(0xff)])!=null?_0x2813a1:Kn;}['_getDownloadEndpointURL'](){var _0x3b75e0=_0x11fce5,_0x112642;const _0x1bd5d7=this[_0x3b75e0(0x182)]['getConfig'](K);return(_0x112642=_0x1bd5d7==null?void 0x0:_0x1bd5d7[_0x3b75e0(0x3a7)])!=null?_0x112642:location[_0x3b75e0(0x3b8)];}['_replaceFileID'](_0x53d482,_0x457a62){var _0x11aa8d=_0x11fce5;return _0x53d482[_0x11aa8d(0x258)](_0x11aa8d(0x1dd),_0x457a62);}[_0x11fce5(0x3ac)](){var _0x24d150=_0x11fce5;this[_0x24d150(0x203)]-=0x1,this['_change$'][_0x24d150(0x16e)](this[_0x24d150(0x203)]);}};Rt=Vn([pt(0x0,_0x2d55c5(_0x4f418b)),pt(0x1,_0x4762e8),pt(0x2,_0x2d55c5(_0x12d3b5))],Rt);var qn=Object['getOwnPropertyDescriptor'],zn=(_0x38570d,_0x3f2ff8,_0x1ed99e,_0x5b1d74)=>{var _0x4bcf36=_0x11fce5;for(var _0x4768a2=_0x5b1d74>0x1?void 0x0:_0x5b1d74?qn(_0x3f2ff8,_0x1ed99e):_0x3f2ff8,_0x233bb1=_0x38570d[_0x4bcf36(0x115)]-0x1,_0x52578b;_0x233bb1>=0x0;_0x233bb1--)(_0x52578b=_0x38570d[_0x233bb1])&&(_0x4768a2=_0x52578b(_0x4768a2)||_0x4768a2);return _0x4768a2;},ri=(_0x2d78f4,_0x47f596)=>(_0x4756bc,_0x1f1c71)=>_0x47f596(_0x4756bc,_0x1f1c71,_0x2d78f4);const Jn=_0x11fce5(0x2d1);let Ct=class{constructor(_0x539031,_0xd5aee2){var _0x2ab61e=_0x11fce5;this[_0x2ab61e(0x182)]=_0x539031,this[_0x2ab61e(0x34d)]=_0xd5aee2;}['_getAPIPrefixPath'](){var _0x11282e=_0x11fce5,_0x2ac6b6;const _0x3b4567=this['_configService'][_0x11282e(0x33a)](K);return(_0x2ac6b6=_0x3b4567==null?void 0x0:_0x3b4567['authzUrl'])!=null?_0x2ac6b6:Jn;}async['list'](_0x8a9ab2){var _0xda1c8b=_0x11fce5;const _0x3ffbc0=this[_0xda1c8b(0xf4)]()+'/collaborator';return{'list':[{'title':_0xda1c8b(0x280),'mentions':(await this['_HTTPService'][_0xda1c8b(0x277)](_0x3ffbc0,{'params':{'objectID':_0x8a9ab2[_0xda1c8b(0x38f)],'unitID':_0x8a9ab2[_0xda1c8b(0x38f)]}}))['body']['collaborators']['map'](_0x4bf62a=>({'objectId':_0x4bf62a['id'],'name':_0x4bf62a[_0xda1c8b(0x3f5)][_0xda1c8b(0x1c0)],'metadata':{'icon':_0x4bf62a[_0xda1c8b(0x3f5)][_0xda1c8b(0x13f)]},'label':_0x4bf62a[_0xda1c8b(0x3f5)]['name'],'objectType':_0x59c210[_0xda1c8b(0x23f)]})),'metadata':{},'type':_0x59c210[_0xda1c8b(0x23f)]}]};}};Ct=zn([ri(0x0,_0x2d55c5(_0x4762e8)),ri(0x1,_0x2d55c5(_0x4f418b))],Ct);var Xn=Object[_0x11fce5(0x381)],Zn=(_0x201edc,_0x432475,_0xabd6fa,_0x28b738)=>{var _0x30d17f=_0x11fce5;for(var _0x18f299=_0x28b738>0x1?void 0x0:_0x28b738?Xn(_0x432475,_0xabd6fa):_0x432475,_0x38a092=_0x201edc[_0x30d17f(0x115)]-0x1,_0x211cbf;_0x38a092>=0x0;_0x38a092--)(_0x211cbf=_0x201edc[_0x38a092])&&(_0x18f299=_0x211cbf(_0x18f299)||_0x18f299);return _0x18f299;},Ue=(_0x5340cf,_0x509cbc)=>(_0x2998a1,_0x5db855)=>_0x509cbc(_0x2998a1,_0x5db855,_0x5340cf);let ot=class extends _0x3f27f5{constructor(_0x58e859,_0x5110bf,_0x246a34,_0x27efd8,_0x28e93d){var _0x153e31=_0x11fce5;super(),this[_0x153e31(0x2b4)]=_0x58e859,this[_0x153e31(0x2c5)]=_0x5110bf,this[_0x153e31(0x1f6)]=_0x246a34,this['_collaborationSessionService']=_0x27efd8,this[_0x153e31(0x318)]=_0x28e93d,this[_0x153e31(0x141)](),this['_initCloseConn']();}[_0x11fce5(0x299)](){var _0x43b789=_0x11fce5;const _0x41f9f1=async _0x222363=>{var _0x151d31=_0x26d2;(await this[_0x151d31(0x3e9)]['requireSession'](_0x222363))[_0x151d31(0x25f)]['pipe'](_0x295c81(_0x4a97b3=>_0x4a97b3[_0x151d31(0x3cb)]===_0x34af1a[_0x151d31(0x2be)]),_0xa1274c(this[_0x151d31(0x106)]))['subscribe'](_0x4d6908=>{var _0x4e9fd4=_0x151d31;const _0x268b7b=_0x4d6908,{reason:_0x36ef58}=_0x268b7b[_0x4e9fd4(0x292)];this['_collaborationUIEventService'][_0x4e9fd4(0x351)]({'id':re[_0x4e9fd4(0x130)],'data':_0x36ef58}),this[_0x4e9fd4(0x1f6)][_0x4e9fd4(0x1a7)](new _0x380b83(_0x222363)['id'],!0x1),this[_0x4e9fd4(0x3e9)][_0x4e9fd4(0x218)](_0x222363);});};_0x3697f0(this[_0x43b789(0x2c5)]['getTypeOfUnitAdded$'](_0x529613[_0x43b789(0x190)]),this[_0x43b789(0x2c5)][_0x43b789(0x14c)](_0x529613[_0x43b789(0x346)]))[_0x43b789(0x377)](_0x4b0737(_0x1014b6=>_0x1014b6[_0x43b789(0x378)]()),_0x295c81(_0x53ac20=>!_0xfd5181(_0x53ac20)),_0xa1274c(this[_0x43b789(0x106)]))[_0x43b789(0x1c6)](_0x209e07=>{_0x41f9f1(_0x209e07);});}[_0x11fce5(0x141)](){var _0x45cd4d=_0x11fce5;const _0x49b6ac=async _0x5c8da4=>{var _0x47a160=_0x26d2;const _0x55ac92=await this[_0x47a160(0x3e9)][_0x47a160(0x368)](_0x5c8da4),_0x445b68=this[_0x47a160(0x2b4)][_0x47a160(0x277)](_0x27c6e3);_0x55ac92['event$'][_0x47a160(0x377)](_0x295c81(_0xdab0c3=>_0xdab0c3[_0x47a160(0x3cb)]===_0x34af1a['UPDATE_PERMISSION_OBJ']),_0xa1274c(this[_0x47a160(0x106)]))[_0x47a160(0x1c6)](_0x267297=>{var _0x10be6a=_0x47a160;const _0x1b177e=_0x267297,{objectId:_0x16dbfa}=_0x1b177e[_0x10be6a(0x292)];_0x16dbfa===_0x5c8da4?_0x445b68[_0x10be6a(0x32a)](_0x5c8da4):_0x445b68[_0x10be6a(0x272)](_0x5c8da4,_0x16dbfa);});};_0x3697f0(this[_0x45cd4d(0x2c5)][_0x45cd4d(0x14c)](_0x529613[_0x45cd4d(0x190)]))['pipe'](_0x4b0737(_0x17c024=>_0x17c024[_0x45cd4d(0x378)]()),_0x295c81(_0x8866e3=>!_0xfd5181(_0x8866e3)),_0xa1274c(this['dispose$']))[_0x45cd4d(0x1c6)](_0x5a5920=>{_0x49b6ac(_0x5a5920);});}};ot=Zn([Ue(0x0,_0x2d55c5(_0x2fa53b)),Ue(0x1,_0x12d3b5),Ue(0x2,_0x50b040),Ue(0x3,_0x2d55c5(we)),Ue(0x4,_0x2d55c5(ve))],ot);var Qn=Object['getOwnPropertyDescriptor'],er=(_0x4979c7,_0x273e06,_0x19d43a,_0x479d09)=>{var _0x3cfe0c=_0x11fce5;for(var _0x39693c=_0x479d09>0x1?void 0x0:_0x479d09?Qn(_0x273e06,_0x19d43a):_0x273e06,_0x4e267d=_0x4979c7[_0x3cfe0c(0x115)]-0x1,_0x44505d;_0x4e267d>=0x0;_0x4e267d--)(_0x44505d=_0x4979c7[_0x4e267d])&&(_0x39693c=_0x44505d(_0x39693c)||_0x39693c);return _0x39693c;},ai=(_0x16a7e4,_0x3d8fd7)=>(_0x1213f1,_0x3fee9d)=>_0x3d8fd7(_0x1213f1,_0x3fee9d,_0x16a7e4);let Nt=class{constructor(_0x56183f,_0x389675){var _0x5b6ea2=_0x11fce5;this[_0x5b6ea2(0x182)]=_0x56183f,this[_0x5b6ea2(0x132)]=_0x389675;}async[_0x11fce5(0x18a)](_0x57df31,_0x2f6c12){var _0x58ffb0=_0x11fce5,_0x4aa6b0;const {unitID:_0x5741a7,type:_0x41d805,revision:_0x301063=0x0}=_0x2f6c12,_0x1e206a=this[_0x58ffb0(0x38a)]()+'/'+_0x41d805+_0x58ffb0(0x3a4)+_0x5741a7+_0x58ffb0(0x1e4)+_0x301063,_0x35803b=(await this[_0x58ffb0(0x132)]['get'](_0x1e206a))['body'],_0x13093f=(_0x4aa6b0=_0x35803b['snapshot'])==null?void 0x0:_0x4aa6b0['workbook'];if(_0x13093f){const _0x46b73c=_0x13093f==null?void 0x0:_0x13093f[_0x58ffb0(0x19a)],_0x262ef7=_0x507c6b[_0x58ffb0(0x199)](_0x5804fd(_0x46b73c));_0x13093f[_0x58ffb0(0x19a)]=_0x262ef7,Object[_0x58ffb0(0x3c0)](_0x13093f[_0x58ffb0(0x29e)])[_0x58ffb0(0x390)](([,_0x457335])=>{var _0x31a4b4=_0x58ffb0;const _0x2f52a2=_0x457335[_0x31a4b4(0x19a)],_0x2a42cb=_0x507c6b[_0x31a4b4(0x199)](_0x5804fd(_0x2f52a2));_0x457335[_0x31a4b4(0x19a)]=_0x2a42cb;});}return _0x35803b;}async[_0x11fce5(0x260)](_0x1c6f5b,_0x33a545){var _0x18b2e6=_0x11fce5;const {unitID:_0x82cca2,type:_0x3551bb,blockID:_0x4e2517}=_0x33a545,_0x31aa44=this[_0x18b2e6(0x369)]()+'/'+_0x3551bb+'/unit/'+_0x82cca2+'/block/'+_0x4e2517;return(await this['_httpService'][_0x18b2e6(0x277)](_0x31aa44))['body'];}async[_0x11fce5(0x24e)](_0xabe235,_0x5ca321){var _0x3da1da=_0x11fce5;const {unitID:_0x4495b0,type:_0x17437c,blockID:_0x44e7a8}=_0x5ca321,_0x1919c6=this[_0x3da1da(0x369)]()+'/block/'+_0x17437c+'/unit/'+_0x4495b0+'/block/'+_0x44e7a8;return(await this[_0x3da1da(0x132)][_0x3da1da(0x277)](_0x1919c6))[_0x3da1da(0x2f1)];}async[_0x11fce5(0x339)](_0x16ac5f,_0x51dfa5){var _0x4ed4bb=_0x11fce5;const {unitID:_0x34458b,type:_0xc7156e,from:_0x2588ee,to:_0x3ae62c}=_0x51dfa5,_0x5ef8d0=this['_getAPIPrefix']()+'/'+_0xc7156e+_0x4ed4bb(0x3a4)+_0x34458b+_0x4ed4bb(0x127)+_0x2588ee+_0x4ed4bb(0x240)+_0x3ae62c;return(await this['_httpService']['get'](_0x5ef8d0))[_0x4ed4bb(0x2f1)];}['getSnapshotAPIPath'](){var _0x76f65=_0x11fce5,_0x340a40;return(_0x340a40=this[_0x76f65(0x182)][_0x76f65(0x33a)](vs))!=null?_0x340a40:this[_0x76f65(0x369)]();}[_0x11fce5(0x369)](){var _0x3c584c=_0x11fce5,_0x277501;const _0x2c6855=this['_configService'][_0x3c584c(0x33a)](K);return(_0x277501=_0x2c6855==null?void 0x0:_0x2c6855[_0x3c584c(0x1fe)])!=null?_0x277501:fs;}async[_0x11fce5(0x14e)](_0x242c16,_0x32d6fa){var _0x27a497=_0x11fce5;const _0x2e62e7=_0x27a497(0x2ef)+_0x32d6fa[_0x27a497(0x2bf)]+_0x27a497(0x3a4)+_0x32d6fa[_0x27a497(0x308)]+'/resources';return(await this[_0x27a497(0x132)][_0x27a497(0x277)](_0x2e62e7,{'params':{'resourceId':JSON[_0x27a497(0x3be)](_0x32d6fa[_0x27a497(0x2d8)])}}))[_0x27a497(0x2f1)];}[_0x11fce5(0x3ae)](){var _0x587fb1=_0x11fce5;throw new Error(_0x587fb1(0x128));}[_0x11fce5(0x212)](){var _0x597966=_0x11fce5;throw new Error(_0x597966(0x128));}[_0x11fce5(0x28d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x11fce5(0x3e0)](){var _0x3ed25c=_0x11fce5;throw new Error(_0x3ed25c(0x128));}[_0x11fce5(0x2e7)](){var _0x3046f8=_0x11fce5;throw new Error(_0x3046f8(0x128));}[_0x11fce5(0x33f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=er([ai(0x0,_0x4762e8),ai(0x1,_0x2d55c5(_0x4f418b))],Nt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x40393e,_0xcb1331,_0x240d9d,_0x49871b)=>{var _0x529df5=_0x11fce5;for(var _0x214097=_0x49871b>0x1?void 0x0:_0x49871b?tr(_0xcb1331,_0x240d9d):_0xcb1331,_0x17ae8c=_0x40393e[_0x529df5(0x115)]-0x1,_0x463677;_0x17ae8c>=0x0;_0x17ae8c--)(_0x463677=_0x40393e[_0x17ae8c])&&(_0x214097=_0x463677(_0x214097)||_0x214097);return _0x214097;},Ae=(_0x307ccf,_0x2c2d89)=>(_0x188a93,_0x14eb95)=>_0x2c2d89(_0x188a93,_0x14eb95,_0x307ccf);let bt=class extends _0x129fa2{constructor(_0x2c440c,_0x270fed,_0xc72fe3,_0xde2366,_0x529932){var _0x1e5649=_0x11fce5;super(_0x2c440c,_0x270fed,_0xc72fe3),this[_0x1e5649(0x305)]=_0xde2366,this['_logService']=_0x529932;}['transformUndoRedo'](_0x4f886f,_0xdefe37){var _0x5888a7=_0x11fce5;const _0x39f428=this[_0x5888a7(0x268)](_0x4f886f);if(_0x39f428)try{const _0xb095d9=this[_0x5888a7(0x136)](_0x39f428,_0xdefe37);this[_0x5888a7(0x263)](_0x4f886f,_0xb095d9);}catch(_0x5640cc){this[_0x5888a7(0x313)][_0x5888a7(0x177)](_0x5888a7(0x21c),_0x5640cc),this[_0x5888a7(0x243)](_0x4f886f);}const _0x2c47a2=this['_getRedoStack'](_0x4f886f);if(_0x2c47a2)try{const _0x373908=this[_0x5888a7(0x136)](_0x2c47a2,_0xdefe37);this[_0x5888a7(0x2d0)](_0x4f886f,_0x373908);}catch(_0x2fbdb2){this[_0x5888a7(0x313)]['error'](_0x2fbdb2),this[_0x5888a7(0x295)](_0x4f886f);}}['_clearUndo'](_0x2a9c92){var _0x9a2da2=_0x11fce5;const _0x418ae3=this['_getUndoStack'](_0x2a9c92);_0x418ae3&&(_0x418ae3['length']=0x0,this[_0x9a2da2(0x386)]());}[_0x11fce5(0x295)](_0x438122){var _0x45c419=_0x11fce5;const _0x40c1ee=this[_0x45c419(0x2d2)](_0x438122);_0x40c1ee&&(_0x40c1ee['length']=0x0,this[_0x45c419(0x386)]());}[_0x11fce5(0x263)](_0x199684,_0x13aaab){var _0x418cfb=_0x11fce5;this['_undoStacks']['set'](_0x199684,_0x13aaab),this[_0x418cfb(0x386)]();}[_0x11fce5(0x2d0)](_0x527165,_0x5f1a16){var _0x330a5a=_0x11fce5;this[_0x330a5a(0x2a7)][_0x330a5a(0x231)](_0x527165,_0x5f1a16),this[_0x330a5a(0x386)]();}[_0x11fce5(0x136)](_0x7fffee,_0x2a6a22){var _0x148627=_0x11fce5;const _0x173d4d=[];let _0x138d89=_0x2a6a22,_0x5df6cb=_0x2a6a22;for(let _0x3217c3=_0x7fffee[_0x148627(0x115)]-0x1;_0x3217c3>=0x0;_0x3217c3--){const {unitID:_0x34c956,undoMutations:_0x55e94d,redoMutations:_0x1c5da9}=_0x7fffee[_0x3217c3],_0x4b7ea5=this[_0x148627(0x305)][_0x148627(0x113)](_0x138d89,_0x55e94d),_0x3761e2=this[_0x148627(0x305)][_0x148627(0x113)](_0x5df6cb,_0x1c5da9);if(_0x186bcf(_0x4b7ea5)||_0x186bcf(_0x3761e2)){this['_logService'][_0x148627(0x177)](_0x148627(0x21c),_0x148627(0x3f6),_0x4b7ea5,_0x3761e2);break;}_0x138d89=_0x4b7ea5[_0x148627(0x3fe)],_0x5df6cb=_0x3761e2[_0x148627(0x3fe)],_0x173d4d[_0x148627(0x145)]({'unitID':_0x34c956,'undoMutations':_0x4b7ea5[_0x148627(0x3ed)],'redoMutations':_0x3761e2['m2Prime']});}return _0x173d4d[_0x148627(0x10d)]();}};bt=ir([Ae(0x0,_0x12d3b5),Ae(0x1,_0x3a47f5),Ae(0x2,_0x1d39e0),Ae(0x3,_0x3cb156),Ae(0x4,_0x1df9aa)],bt);var sr=Object[_0x11fce5(0x337)],nr=Object[_0x11fce5(0x381)],rr=(_0x4e977e,_0xcd4cc6,_0x1eb42c)=>_0xcd4cc6 in _0x4e977e?sr(_0x4e977e,_0xcd4cc6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1eb42c}):_0x4e977e[_0xcd4cc6]=_0x1eb42c,ar=(_0x383f4a,_0x4cbb27,_0x51567f,_0x3443ed)=>{var _0x2fe0e1=_0x11fce5;for(var _0x32d1ff=_0x3443ed>0x1?void 0x0:_0x3443ed?nr(_0x4cbb27,_0x51567f):_0x4cbb27,_0x1aa42b=_0x383f4a[_0x2fe0e1(0x115)]-0x1,_0x4b88fe;_0x1aa42b>=0x0;_0x1aa42b--)(_0x4b88fe=_0x383f4a[_0x1aa42b])&&(_0x32d1ff=_0x4b88fe(_0x32d1ff)||_0x32d1ff);return _0x32d1ff;},Et=(_0x92325b,_0x2cacb0)=>(_0x38fa5e,_0x3f1e61)=>_0x2cacb0(_0x38fa5e,_0x3f1e61,_0x92325b),or=(_0x2dc1cb,_0x41a218,_0x409301)=>rr(_0x2dc1cb,_0x41a218+'',_0x409301);const cr=_0x11fce5(0x34a);let Dt=class extends _0x17b8e2{constructor(_0x5b362e,_0x369272,_0x316a57,_0x2c2264){var _0x2bc4d2=_0x11fce5;super(),D(this,_0x2bc4d2(0x294)),(this['_logService']=_0x369272,this[_0x2bc4d2(0x2b4)]=_0x316a57,this[_0x2bc4d2(0x182)]=_0x2c2264);const {..._0x5c7d75}=_0x1dd14a({},Ls,_0x5b362e);if(!_0x5c7d75['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2bc4d2(0x294)]=_0x5c7d75,this['_configService'][_0x2bc4d2(0x3c9)](K,_0x5c7d75);}[_0x11fce5(0xed)](){var _0x475b79=_0x11fce5;this['_registerDependencies'](),this[_0x475b79(0x1c8)]();}[_0x11fce5(0x20b)](){var _0x1e352a=_0x11fce5,_0x457046,_0x4bed40;this[_0x1e352a(0x2b4)][_0x1e352a(0x33c)](_0x33866c)&&this['_logService'][_0x1e352a(0x177)](_0x1e352a(0x34e),_0x1e352a(0x165));const _0x1b0b41=_0x48e071([[_0x33866c,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x1e352a(0x294)]['socketService']}],[_0x596050,{'useClass':Nt}],[_0x257af0,{'useClass':Tt}],[_0x5c9491,{'useClass':Rt}],[_0x108e7e,{'useClass':Ct}],[nt],[gt]],(_0x457046=this[_0x1e352a(0x294)])==null?void 0x0:_0x457046[_0x1e352a(0x2eb)]);if(!((_0x4bed40=this[_0x1e352a(0x294)])!=null&&_0x4bed40[_0x1e352a(0x383)])){const _0x5ec21f=_0x1b0b41[_0x1e352a(0x15b)](([_0x1e2702])=>_0x1e2702===_t);_0x5ec21f!==-0x1&&_0x1b0b41[_0x1e352a(0x30d)](_0x5ec21f,0x1);}_0x341bdf(this[_0x1e352a(0x2b4)],_0x1b0b41);}[_0x11fce5(0x1c8)](){var _0x16b9e0=_0x11fce5,_0x193b11,_0x147325,_0x4fd7d1;this[_0x16b9e0(0x2b4)]['get'](_0x4f418b)[_0x16b9e0(0x1b1)]({'priority':0x14,'interceptor':_0x8d0ab3({'maxParallel':0x6})}),(_0x193b11=this[_0x16b9e0(0x294)])!=null&&_0x193b11[_0x16b9e0(0x28a)]||(_0x147325=this[_0x16b9e0(0x2b4)][_0x16b9e0(0x277)](J,_0x56c9f4[_0x16b9e0(0x111)]))==null||_0x147325['disableLocalCache'](),(_0x4fd7d1=this[_0x16b9e0(0x294)])!=null&&_0x4fd7d1[_0x16b9e0(0x1ec)]&&_0x1d83e0(this[_0x16b9e0(0x2b4)],[[rt]]),_0x1d83e0(this['_injector'],[[at],[nt],[ot]]);}};or(Dt,_0x11fce5(0x21f),cr),Dt=ar([_0x1bc563(_0x10c7c8,_0x276b69),Et(0x1,_0x1df9aa),Et(0x2,_0x2d55c5(_0x2fa53b)),Et(0x3,_0x4762e8)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};
|