@univerjs-pro/collaboration-client 0.12.1 → 0.12.2-experimental.20251201-5b27b55
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 -1
- 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 -1
- 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 -1
- 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/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 -1
- 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/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x368389=_0x4f24;(function(_0x4ea2ca,_0x5abd03){var _0x47abaf=_0x4f24,_0x203c87=_0x4ea2ca();while(!![]){try{var _0x20a1fd=parseInt(_0x47abaf(0x2e6))/0x1*(parseInt(_0x47abaf(0x381))/0x2)+-parseInt(_0x47abaf(0x21f))/0x3*(-parseInt(_0x47abaf(0x9e))/0x4)+parseInt(_0x47abaf(0x38c))/0x5*(parseInt(_0x47abaf(0x190))/0x6)+parseInt(_0x47abaf(0x10d))/0x7+parseInt(_0x47abaf(0x32b))/0x8+-parseInt(_0x47abaf(0x23d))/0x9+-parseInt(_0x47abaf(0xc7))/0xa*(parseInt(_0x47abaf(0x1a1))/0xb);if(_0x20a1fd===_0x5abd03)break;else _0x203c87['push'](_0x203c87['shift']());}catch(_0x3d716a){_0x203c87['push'](_0x203c87['shift']());}}}(_0x111c,0x1a728));var bi=Object[_0x368389(0x33b)],Di=(_0x12ab9d,_0x270306,_0x3e18df)=>_0x270306 in _0x12ab9d?bi(_0x12ab9d,_0x270306,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e18df}):_0x12ab9d[_0x270306]=_0x3e18df,D=(_0x3acd42,_0x4b8f62,_0x17bb76)=>Di(_0x3acd42,typeof _0x4b8f62!=_0x368389(0x217)?_0x4b8f62+'':_0x4b8f62,_0x17bb76);import{CollaborationEvent as _0x19843e,ITransformService as _0x1a3cad,isTransformMutationsWithChangesetSuccess as _0x3810cf,mapDocumentTypeToUniverType as _0x12e6b9,RevisionService as _0x5d15d6,isTransformChangesetsSuccess as _0x507863,EmptyMutationInfo as _0x3e2d35,CompressMutationService as _0x367c0f,parseProtocolChangeset as _0x352403,uuidv4 as _0x41b51c,ISnapshotServerService as _0x2a795b,parseChangesetToProtocol as _0x739362,SnapshotService as _0x1ade95,textEncoder as _0x24eebc,b64DecodeUnicode as _0x5d1ad2,isTransformMutationsWithChangesetFailure as _0x552004,UniverCollaborationPlugin as _0x68aeb2}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x558d3e,Inject as _0x3ce8f0,UserManagerService as _0x1315c0,Disposable as _0x1b9234,UniverInstanceType as _0x16572b,ILogService as _0x21f6c3,IConfigService as _0x3c30e0,Optional as _0x5c10ac,RxDisposable as _0x4eb61d,createIdentifier as _0xb11ef5,Injector as _0x277f78,Tools as _0x15f9b5,Rectangle as _0x33de4c,ICommandService as _0xcdf754,JSONX as _0x577726,IUndoRedoService as _0x32ded1,IPermissionService as _0x301d19,LocaleService as _0x3ebb61,sequenceExecute as _0x13344a,toDisposable as _0x58dc5a,CommandType as _0x5181b7,DisposableCollection as _0x488b39,Workbook as _0x40ade1,generateRandomId as _0x87143,MentionType as _0x1511b4,isInternalEditorID as _0x42bc4b,LocalUndoRedoService as _0x1d0657,IContextService as _0x5a3e4b,DependentOn as _0x24b67e,Plugin as _0x2f1d50,merge as _0x1a1e7e,mergeOverrideWithDependencies as _0x1cd7a9,IAuthzIoService as _0x5dc2a1,IMentionIOService as _0x5bb5bb,registerDependencies as _0x3d202f,Quantity as _0x167b6f,touchDependencies as _0x4de415}from'@univerjs/core';import{RichTextEditingMutation as _0x62620b}from'@univerjs/docs';import{SheetsSelectionsService as _0x555de9,SetSelectionsOperation as _0x4d8a1e,InsertSheetMutation as _0x20bdb2,WorkbookEditablePermission as _0x25ba97,SheetPermissionInitController as _0x50c58a}from'@univerjs/sheets';import{Subject as _0x7c3fbd,merge as _0x1ca221,of as _0x1da45a,BehaviorSubject as _0x1593ab,takeUntil as _0x204187,ReplaySubject as _0x531cf8,take as _0x4ebc57,map as _0x418f83,shareReplay as _0xc52802,firstValueFrom as _0x449e39,concatMap as _0xc62b48}from'rxjs';import{ITelemetryService as _0x44b81a}from'@univerjs/telemetry';import{map as _0x1b47e7,take as _0x1d30d3,filter as _0x21e8b1,delay as _0x59b9d5,takeUntil as _0x3edeee}from'rxjs/operators';import{HTTPService as _0x5dc9e9,ISocketService as _0x4c7d58,MergeInterceptorFactory as _0x42bfc0,HTTPRequest as _0x29f0e3,UniverNetworkPlugin as _0x1350ad,ThresholdInterceptorFactory as _0x12399c}from'@univerjs/network';import{ImageSourceType as _0x122f39,ImageUploadStatusType as _0x4f409a,IImageIoService as _0xb996fd}from'@univerjs/drawing';import{getGlobalObject as _0x293dc2}from'@univerjs-pro/license';const fs=_0x368389(0x2d9),vs=_0x368389(0x11e),ps=0x7d0,Es=_0x368389(0x297),Sr='/universer-api/user/session-ticket',ms=_0x368389(0x32e),Is=0x7530,di=_0x368389(0x193),fi=0x4e20,Ss=0x4e20,gs='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,gr=_0x368389(0x184),Tr=0x3e8,Os='/universer-api/comb',Rs=_0x368389(0x2dd),Or=_0x368389(0x1e5),Rr='/universer-api/uniscript';var vi=(_0x4ec84e=>(_0x4ec84e[_0x4ec84e[_0x368389(0x363)]=0x0]=_0x368389(0x363),_0x4ec84e[_0x4ec84e['OK']=0x1]='OK',_0x4ec84e[_0x4ec84e[_0x368389(0x333)]=0x2]='INTERNAL_ERROR',_0x4ec84e[_0x4ec84e[_0x368389(0x213)]=0x3]='PERMISSION_DENIED',_0x4ec84e[_0x4ec84e[_0x368389(0x1b2)]=0x4]=_0x368389(0x1b2),_0x4ec84e[_0x4ec84e['UNAUTHENTICATED']=0x5]=_0x368389(0x28b),_0x4ec84e[_0x4ec84e[_0x368389(0x1c4)]=0x6]=_0x368389(0x1c4),_0x4ec84e[_0x4ec84e['INVALID_ARGUMENT']=0x7]=_0x368389(0x1ef),_0x4ec84e[_0x4ec84e['TOO_MANY_REQUESTS']=0x8]=_0x368389(0x330),_0x4ec84e[_0x4ec84e[_0x368389(0x39b)]=0x9]='COMPLETION_FINISHED',_0x4ec84e[_0x4ec84e['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x4ec84e[_0x4ec84e[_0x368389(0x1e3)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4ec84e[_0x4ec84e[_0x368389(0x119)]=0xc]=_0x368389(0x119),_0x4ec84e[_0x4ec84e[_0x368389(0x372)]=0xd]=_0x368389(0x372),_0x4ec84e[_0x4ec84e[_0x368389(0x1a2)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4ec84e[_0x4ec84e[_0x368389(0x391)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x4ec84e[_0x4ec84e[_0x368389(0x1ec)]=0x10]=_0x368389(0x1ec),_0x4ec84e[_0x4ec84e[_0x368389(0x33d)]=0x64]=_0x368389(0x33d),_0x4ec84e[_0x4ec84e[_0x368389(0x2a7)]=0x65]=_0x368389(0x2a7),_0x4ec84e[_0x4ec84e[_0x368389(0x2a9)]=0xc9]=_0x368389(0x2a9),_0x4ec84e[_0x4ec84e[_0x368389(0xff)]=0xca]='USER_IS_ANONYMOUS',_0x4ec84e[_0x4ec84e[_0x368389(0x17b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4ec84e[_0x4ec84e[_0x368389(0x25b)]=0x1771]=_0x368389(0x25b),_0x4ec84e[_0x4ec84e[_0x368389(0x1c0)]=0x1772]=_0x368389(0x1c0),_0x4ec84e[_0x4ec84e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x368389(0x240),_0x4ec84e[_0x4ec84e['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x4ec84e[_0x4ec84e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4ec84e[_0x4ec84e[_0x368389(0x1b6)]=0x1b5b]=_0x368389(0x1b6),_0x4ec84e[_0x4ec84e['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x368389(0xb3),_0x4ec84e[_0x4ec84e['APPLY_DUPLICATED']=0x1b5d]=_0x368389(0x346),_0x4ec84e[_0x4ec84e[_0x368389(0x231)]=0x1f41]=_0x368389(0x231),_0x4ec84e[_0x4ec84e[_0x368389(0x241)]=0x2329]=_0x368389(0x241),_0x4ec84e[_0x4ec84e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x368389(0x111),_0x4ec84e[_0x4ec84e[_0x368389(0x99)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4ec84e[_0x4ec84e[_0x368389(0xfd)]=0x232c]=_0x368389(0xfd),_0x4ec84e[_0x4ec84e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x368389(0x15c),_0x4ec84e[_0x4ec84e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x368389(0x290),_0x4ec84e[_0x4ec84e[_0x368389(0x21b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4ec84e[_0x4ec84e[_0x368389(0x222)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4ec84e[_0x4ec84e[_0x368389(0x206)]=0x2714]=_0x368389(0x206),_0x4ec84e[_0x4ec84e[_0x368389(0x376)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4ec84e[_0x4ec84e[_0x368389(0x34f)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4ec84e[_0x4ec84e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x368389(0x123),_0x4ec84e[_0x4ec84e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x368389(0x2ea),_0x4ec84e[_0x4ec84e[_0x368389(0x1ee)]=0x271e]=_0x368389(0x1ee),_0x4ec84e[_0x4ec84e[_0x368389(0x220)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4ec84e[_0x4ec84e['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x368389(0x36f),_0x4ec84e[_0x4ec84e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x368389(0x253),_0x4ec84e[_0x4ec84e['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x368389(0x25a),_0x4ec84e[_0x4ec84e['INVALID_INVITE_CODE']=0x2ee2]=_0x368389(0x30d),_0x4ec84e[_0x4ec84e['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4ec84e[_0x4ec84e['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x4ec84e[_0x4ec84e['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4ec84e[_0x4ec84e[_0x368389(0x324)]=0x32c9]=_0x368389(0x324),_0x4ec84e[_0x4ec84e[_0x368389(0x1d1)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4ec84e[_0x4ec84e[_0x368389(0x318)]=0x32cb]=_0x368389(0x318),_0x4ec84e[_0x4ec84e[_0x368389(0x2a0)]=0x36b1]=_0x368389(0x2a0),_0x4ec84e[_0x4ec84e['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x368389(0x2b5),_0x4ec84e[_0x4ec84e[_0x368389(0x378)]=0x36b3]=_0x368389(0x378),_0x4ec84e[_0x4ec84e['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x368389(0xce),_0x4ec84e[_0x4ec84e['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x368389(0x97),_0x4ec84e[_0x4ec84e[_0x368389(0x2e2)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x4ec84e[_0x4ec84e[_0x368389(0x1aa)]=0x3717]=_0x368389(0x1aa),_0x4ec84e[_0x4ec84e['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x368389(0x17c),_0x4ec84e[_0x4ec84e[_0x368389(0x17d)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4ec84e[_0x4ec84e[_0x368389(0x165)]=0x3a9a]=_0x368389(0x165),_0x4ec84e[_0x4ec84e[_0x368389(0x331)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4ec84e[_0x4ec84e[_0x368389(0x18a)]=0x3a9c]=_0x368389(0x18a),_0x4ec84e[_0x4ec84e[_0x368389(0x21a)]=0x3a9d]=_0x368389(0x21a),_0x4ec84e[_0x4ec84e[_0x368389(0x2e7)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x4ec84e[_0x4ec84e[_0x368389(0x145)]=0x3a9f]=_0x368389(0x145),_0x4ec84e[_0x4ec84e['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x368389(0xcd),_0x4ec84e[_0x4ec84e['UNRECOGNIZED']=-0x1]=_0x368389(0x365),_0x4ec84e))(vi||{}),Q=(_0x8df6d0=>(_0x8df6d0[_0x8df6d0['UNIVER_UNKNOWN']=0x0]=_0x368389(0x31a),_0x8df6d0[_0x8df6d0[_0x368389(0x36a)]=0x1]=_0x368389(0x36a),_0x8df6d0[_0x8df6d0['UNIVER_SHEET']=0x2]=_0x368389(0x305),_0x8df6d0[_0x8df6d0[_0x368389(0x23e)]=0x3]='UNIVER_SLIDE',_0x8df6d0[_0x8df6d0[_0x368389(0x22a)]=0x4]=_0x368389(0x22a),_0x8df6d0[_0x8df6d0[_0x368389(0x365)]=-0x1]=_0x368389(0x365),_0x8df6d0))(Q||{}),j=(_0x31f4c2=>(_0x31f4c2[_0x31f4c2[_0x368389(0x2b6)]=0x0]=_0x368389(0x2b6),_0x31f4c2[_0x31f4c2[_0x368389(0x1cb)]=0x1]=_0x368389(0x1cb),_0x31f4c2[_0x31f4c2[_0x368389(0x171)]=0x2]=_0x368389(0x171),_0x31f4c2[_0x31f4c2[_0x368389(0x105)]=0x3]=_0x368389(0x105),_0x31f4c2[_0x31f4c2[_0x368389(0x15f)]=0x4]=_0x368389(0x15f),_0x31f4c2[_0x31f4c2[_0x368389(0x2ba)]=0x5]=_0x368389(0x2ba),_0x31f4c2[_0x31f4c2[_0x368389(0x1f8)]=0x6]='RECV',_0x31f4c2[_0x31f4c2[_0x368389(0x365)]=-0x1]=_0x368389(0x365),_0x31f4c2))(j||{}),pe=(_0xbc8553=>(_0xbc8553[_0xbc8553[_0x368389(0x133)]=0x0]='UNKNOWN_CODE',_0xbc8553[_0xbc8553['OK']=0x1]='OK',_0xbc8553[_0xbc8553[_0x368389(0x195)]=0x2]=_0x368389(0x195),_0xbc8553[_0xbc8553[_0x368389(0x1ba)]=0x3e9]=_0x368389(0x1ba),_0xbc8553[_0xbc8553[_0x368389(0xfb)]=0x3ea]=_0x368389(0xfb),_0xbc8553[_0xbc8553[_0x368389(0x22b)]=0x3eb]=_0x368389(0x22b),_0xbc8553[_0xbc8553['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x368389(0x31f),_0xbc8553[_0xbc8553[_0x368389(0x365)]=-0x1]=_0x368389(0x365),_0xbc8553))(pe||{}),pi=(_0x3a2651=>(_0x3a2651[_0x3a2651[_0x368389(0x25c)]=0x0]=_0x368389(0x25c),_0x3a2651[_0x3a2651[_0x368389(0xda)]=0x1]=_0x368389(0xda),_0x3a2651[_0x3a2651[_0x368389(0x112)]=0x2]=_0x368389(0x112),_0x3a2651[_0x3a2651['UnitEmbedded']=0x3]=_0x368389(0x15d),_0x3a2651[_0x3a2651[_0x368389(0x29c)]=0x4]=_0x368389(0x29c),_0x3a2651[_0x3a2651['UserProfileImg']=0x5]=_0x368389(0x272),_0x3a2651[_0x3a2651['ClipsheetFragments']=0x6]=_0x368389(0x202),_0x3a2651[_0x3a2651['UNRECOGNIZED']=-0x1]=_0x368389(0x365),_0x3a2651))(pi||{});const Cs=_0x368389(0x379);function Ns(_0x257256){var _0x2183e7=_0x368389;return JSON[_0x2183e7(0x2bd)](_0x257256)[_0x2183e7(0x3b7)];}var re=(_0x20e787=>(_0x20e787[_0x368389(0x1a0)]='OTHER_CLIENT_EDITING',_0x20e787[_0x368389(0x213)]='PERMISSION_DENIED',_0x20e787[_0x368389(0x2ab)]=_0x368389(0x2ab),_0x20e787[_0x368389(0x225)]=_0x368389(0x225),_0x20e787['JOIN_ROOM_FAILED']=_0x368389(0x149),_0x20e787[_0x368389(0x22e)]=_0x368389(0x22e),_0x20e787[_0x368389(0x23f)]=_0x368389(0x23f),_0x20e787[_0x368389(0x3a8)]=_0x368389(0x3a8),_0x20e787))(re||{});class ve{constructor(){var _0x1fbdc9=_0x368389;D(this,'_event$',new _0x7c3fbd()),D(this,'event$',this['_event$'][_0x1fbdc9(0x166)]());}[_0x368389(0x3b6)](_0x4f8ee7){this['_event$']['next'](_0x4f8ee7);}}class Ei{constructor(){var _0xb7528a=_0x368389;D(this,_0xb7528a(0x243),new _0x7c3fbd()),D(this,_0xb7528a(0x259),this[_0xb7528a(0x243)][_0xb7528a(0x166)]());}[_0x368389(0x1ca)](_0x2ed2b7){var _0x1fcb10=_0x368389;this[_0x1fcb10(0x243)][_0x1fcb10(0x29b)](_0x2ed2b7);}}var bs=Object[_0x368389(0x284)],Ds=(_0x440010,_0xec7958,_0x4b43ed,_0x465c8d)=>{var _0x261de5=_0x368389;for(var _0x510f6e=_0x465c8d>0x1?void 0x0:_0x465c8d?bs(_0xec7958,_0x4b43ed):_0xec7958,_0x4e2bf8=_0x440010[_0x261de5(0x3b7)]-0x1,_0x41e3c3;_0x4e2bf8>=0x0;_0x4e2bf8--)(_0x41e3c3=_0x440010[_0x4e2bf8])&&(_0x510f6e=_0x41e3c3(_0x510f6e)||_0x510f6e);return _0x510f6e;},Ft=(_0x4231c2,_0x3910bc)=>(_0x52899b,_0x5c319a)=>_0x3910bc(_0x52899b,_0x5c319a,_0x4231c2);let Pe=class extends _0x1b9234{constructor(_0x1b60a0,_0x381fa9){var _0x407cd3=_0x368389;super(),D(this,_0x407cd3(0x1a6),new Map()),D(this,_0x407cd3(0x158),new _0x7c3fbd()),(this[_0x407cd3(0x14b)]=_0x1b60a0,this[_0x407cd3(0x2dc)]=_0x381fa9,this['disposeWithMe'](_0x1ca221(this['_univerInstanceService'][_0x407cd3(0xb5)](_0x16572b['UNIVER_SHEET'])['pipe'](_0x1b47e7(_0x3d9078=>_0x3d9078[_0x407cd3(0x22c)]())),this['_univerInstanceService'][_0x407cd3(0xb5)](_0x16572b[_0x407cd3(0x36a)])[_0x407cd3(0x279)](_0x1b47e7(_0x1913cb=>_0x1913cb[_0x407cd3(0x22c)]())),this[_0x407cd3(0x14b)]['getTypeOfUnitDisposed$'](_0x16572b[_0x407cd3(0x23e)])[_0x407cd3(0x279)](_0x1b47e7(_0x1a86e0=>_0x1a86e0[_0x407cd3(0x22c)]())))[_0x407cd3(0x116)](_0xd9499=>this[_0x407cd3(0x2f3)](_0xd9499))));}[_0x368389(0x156)](_0x5de9ad){var _0xe778f4=_0x368389;return this[_0xe778f4(0x1a6)][_0xe778f4(0x274)](_0x5de9ad)?_0x1da45a(this[_0xe778f4(0x1a6)][_0xe778f4(0x187)](_0x5de9ad)):this[_0xe778f4(0x158)]['pipe'](_0x1b47e7(_0x144b36=>{var _0x2e8cf7=_0xe778f4;if(_0x144b36===_0x5de9ad)return this[_0x2e8cf7(0x1a6)][_0x2e8cf7(0x187)](_0x144b36);}));}['setCurrentUser'](_0x44e31a){var _0x39439f=_0x368389;this['_userManagerService'][_0x39439f(0x2da)](_0x44e31a);}[_0x368389(0x230)](){var _0x325b8a=_0x368389;return this[_0x325b8a(0x2dc)][_0x325b8a(0x230)]();}[_0x368389(0x348)](_0xed1ea9,_0x521b8e){var _0x5d5925=_0x368389;let _0x49682a=this[_0x5d5925(0x1a6)][_0x5d5925(0x187)](_0xed1ea9);_0x49682a||(_0x49682a=new ys(),this[_0x5d5925(0x1a6)][_0x5d5925(0x3ac)](_0xed1ea9,_0x49682a),this[_0x5d5925(0x158)][_0x5d5925(0x29b)](_0xed1ea9)),_0x49682a[_0x5d5925(0x348)](_0x521b8e);}[_0x368389(0x3a0)](_0x235ddf,_0x5814d6){var _0x56c6a2=_0x368389;const _0x164197=this[_0x56c6a2(0x1a6)][_0x56c6a2(0x187)](_0x235ddf);_0x164197&&_0x164197[_0x56c6a2(0x3a0)](_0x5814d6);}[_0x368389(0x286)](_0x24d3fa){var _0x35cdbd=_0x368389;return this[_0x35cdbd(0x1a6)][_0x35cdbd(0x187)](_0x24d3fa);}['getMember'](_0x5395bc,_0x2b2cab){var _0xe28708=_0x368389;const _0x4d9349=this['_roomMembers'][_0xe28708(0x187)](_0x5395bc);if(_0x4d9349)return _0x4d9349[_0xe28708(0x16f)](_0x2b2cab);}[_0x368389(0x2f3)](_0x35fca6){var _0x1e0363=_0x368389;const _0x448e7f=this[_0x1e0363(0x1a6)][_0x1e0363(0x187)](_0x35fca6);_0x448e7f&&(_0x448e7f[_0x1e0363(0xc9)](),this[_0x1e0363(0x1a6)][_0x1e0363(0x298)](_0x35fca6));}[_0x368389(0xc9)](){var _0xba3b6a=_0x368389;this[_0xba3b6a(0x1a6)][_0xba3b6a(0x20e)](_0x1a536b=>_0x1a536b[_0xba3b6a(0xc9)]()),this[_0xba3b6a(0x1a6)][_0xba3b6a(0x183)](),this['_roomCreated$'][_0xba3b6a(0x355)]();}};Pe=Ds([Ft(0x0,_0x558d3e),Ft(0x1,_0x3ce8f0(_0x1315c0))],Pe);class ys extends _0x1b9234{constructor(){var _0x21a1b3=_0x368389;super(...arguments),D(this,_0x21a1b3(0x2d6),new Map()),D(this,_0x21a1b3(0xb2),new _0x1593ab(this[_0x21a1b3(0x2d6)])),D(this,'members$',this[_0x21a1b3(0xb2)][_0x21a1b3(0x166)]());}[_0x368389(0xc9)](){var _0x4a533c=_0x368389;this['_members'][_0x4a533c(0x183)]();}['updateMember'](_0xc73e14){var _0x21d34b=_0x368389;this['_members']['set'](_0xc73e14[_0x21d34b(0x2f0)],_0xc73e14),this['_emitMembers']();}[_0x368389(0x3a0)](_0x39df72){var _0x1cf620=_0x368389;this[_0x1cf620(0x2d6)][_0x1cf620(0x298)](_0x39df72);}[_0x368389(0x16f)](_0x1a14a3){var _0x177997=_0x368389;return this[_0x177997(0x2d6)][_0x177997(0x187)](_0x1a14a3);}[_0x368389(0xf9)](){var _0x35c797=_0x368389;return Array[_0x35c797(0x26c)](this[_0x35c797(0x2d6)][_0x35c797(0x38e)]());}['_emitMembers'](){var _0x131fde=_0x368389;this[_0x131fde(0xb2)]['next'](this['_members']);}}var Us=Object[_0x368389(0x284)],As=(_0x64764f,_0x1e433b,_0x773d5b,_0x314f06)=>{var _0x2698a7=_0x368389;for(var _0x8069e3=_0x314f06>0x1?void 0x0:_0x314f06?Us(_0x1e433b,_0x773d5b):_0x1e433b,_0x58b18d=_0x64764f[_0x2698a7(0x3b7)]-0x1,_0x17d31f;_0x58b18d>=0x0;_0x58b18d--)(_0x17d31f=_0x64764f[_0x58b18d])&&(_0x8069e3=_0x17d31f(_0x8069e3)||_0x8069e3);return _0x8069e3;},Oe=(_0xbac8c1,_0x766a14)=>(_0x1bcfef,_0x7ce26c)=>_0x766a14(_0x1bcfef,_0x7ce26c,_0xbac8c1),me=(_0x254823=>(_0x254823[_0x254823[_0x368389(0x2aa)]=0x0]=_0x368389(0x2aa),_0x254823[_0x254823['JOINING']=0x1]=_0x368389(0xb0),_0x254823[_0x254823[_0x368389(0x10a)]=0x2]=_0x368389(0x10a),_0x254823[_0x254823[_0x368389(0x17a)]=0x3]=_0x368389(0x17a),_0x254823))(me||{});const jt={[pe['FAIL']]:_0x368389(0x1b7),[pe[_0x368389(0x1ba)]]:_0x368389(0xf5),[pe[_0x368389(0xfb)]]:_0x368389(0x352),[pe[_0x368389(0x22b)]]:_0x368389(0x292),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x368389(0x35a)};let mt=class extends _0x4eb61d{constructor(_0x57f5cc,_0x570bf2,_0x5eee06,_0x578edc,_0x1d2276,_0x95e21f,_0x19dff8,_0x5094b0){var _0x3b36c7=_0x368389;super(),D(this,_0x3b36c7(0x236),new _0x1593ab(0x0)),D(this,_0x3b36c7(0x350),this[_0x3b36c7(0x236)]['asObservable']()),D(this,'_event$',new _0x7c3fbd()),D(this,'event$',this['_event$'][_0x3b36c7(0x166)]()),D(this,'_socket'),D(this,_0x3b36c7(0x221)),D(this,_0x3b36c7(0xe9)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x3b36c7(0x20b),null),(this[_0x3b36c7(0x1e9)]=_0x57f5cc,this[_0x3b36c7(0x12b)]=_0x5eee06,this[_0x3b36c7(0xb8)]=_0x578edc,this[_0x3b36c7(0x366)]=_0x1d2276,this['_commentService']=_0x95e21f,this[_0x3b36c7(0x367)]=_0x19dff8,this[_0x3b36c7(0x1cd)]=_0x5094b0,this[_0x3b36c7(0x362)]=!!this[_0x3b36c7(0x1cd)],_0x570bf2[_0x3b36c7(0x279)](_0x204187(this['dispose$']))[_0x3b36c7(0x116)](_0x4208b7=>{var _0x20eec7=_0x3b36c7,_0x14e824;typeof _0x4208b7>'u'||(this['_socket']=_0x4208b7,_0x4208b7?(this[_0x20eec7(0x94)](_0x4208b7),this[_0x20eec7(0x221)]=_0x4208b7[_0x20eec7(0x357)]['subscribe'](_0x576665=>{var _0x1f1fd8=_0x20eec7;_0x576665['routeKey']===this[_0x1f1fd8(0x1e9)]&&this[_0x1f1fd8(0x31b)](_0x576665);})):(this[_0x20eec7(0x316)](),this['_sessionStatus$']['next'](0x2),(_0x14e824=this['_socketMessageSubscription'])==null||_0x14e824[_0x20eec7(0x2a2)](),this[_0x20eec7(0x221)]=null));}));}get[_0x368389(0x2de)](){var _0x2858c0=_0x368389;return this[_0x2858c0(0x236)][_0x2858c0(0x275)]();}[_0x368389(0x370)](){var _0x254933=_0x368389,_0x190733,_0x7707f2;return(_0x7707f2=(_0x190733=this[_0x254933(0x31e)])==null?void 0x0:_0x190733[_0x254933(0x2f0)])!=null?_0x7707f2:null;}[_0x368389(0xc9)](){var _0x4a65e8=_0x368389;super['dispose'](),this[_0x4a65e8(0x29d)][_0x4a65e8(0x29b)](),this[_0x4a65e8(0x29d)]['complete']();}['close'](){var _0x4fe96a=_0x368389,_0x234071,_0xa0d953;this[_0x4fe96a(0x316)](),(_0x234071=this[_0x4fe96a(0x31e)])==null||_0x234071[_0x4fe96a(0x1bb)]({'cmd':j[_0x4fe96a(0x105)],'data':{'roomID':this['_unitID']}}),(_0xa0d953=this[_0x4fe96a(0x31e)])==null||_0xa0d953[_0x4fe96a(0x24b)](),this[_0x4fe96a(0x179)][_0x4fe96a(0x355)](),this[_0x4fe96a(0x236)][_0x4fe96a(0x355)](),this[_0x4fe96a(0xc9)]();}[_0x368389(0x31b)](_0x5a8c6e){var _0x1aca0b=_0x368389;_0x5a8c6e[_0x1aca0b(0x14d)]===j[_0x1aca0b(0x171)]?this['_onJoinRoomEvent'](_0x5a8c6e):_0x5a8c6e[_0x1aca0b(0x14d)]===j[_0x1aca0b(0x1f8)]&&this[_0x1aca0b(0x1a9)](_0x5a8c6e);}[_0x368389(0x94)](_0xcd29fe){var _0x52ba44=_0x368389;this[_0x52ba44(0x236)][_0x52ba44(0x29b)](0x1),_0xcd29fe['send']({'cmd':j[_0x52ba44(0x171)],'routeKey':this[_0x52ba44(0x1e9)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x368389(0x1f6)](_0x3e0caf){var _0x3dc9dc=_0x368389,_0x32c6f6;if(_0x3e0caf[_0x3dc9dc(0xa3)]in jt){this[_0x3dc9dc(0x367)][_0x3dc9dc(0x3b6)]({'id':re[_0x3dc9dc(0x149)],'data':jt[_0x3e0caf[_0x3dc9dc(0xa3)]]}),this[_0x3dc9dc(0x236)]['next'](0x2);return;}this[_0x3dc9dc(0x236)]['next'](0x3);const _0x4c1814=(_0x32c6f6=_0x3e0caf[_0x3dc9dc(0x389)][_0x3dc9dc(0x135)][this['_unitID']])==null?void 0x0:_0x32c6f6['members'];_0x4c1814&&_0x4c1814[_0x3dc9dc(0x20e)](_0x1d2544=>this['_memberService'][_0x3dc9dc(0x348)](this[_0x3dc9dc(0x1e9)],_0x1d2544));}['_onRecvEvent'](_0x487635){var _0x1b0285=_0x368389;try{const _0x467987=_0x487635['data'];switch(_0x467987['eventID']){case _0x19843e[_0x1b0285(0x16e)]:this[_0x1b0285(0x304)](_0x467987),this[_0x1b0285(0x179)][_0x1b0285(0x29b)](_0x467987);break;case _0x19843e['USERS_LEAVE']:this[_0x1b0285(0x2ec)](_0x467987),this[_0x1b0285(0x179)][_0x1b0285(0x29b)](_0x467987);break;case _0x19843e[_0x1b0285(0x1fe)]:case _0x19843e[_0x1b0285(0x2bb)]:this[_0x1b0285(0x35b)](),this[_0x1b0285(0x29e)](),this['_event$'][_0x1b0285(0x29b)](_0x467987);break;case _0x19843e[_0x1b0285(0x1b3)]:this[_0x1b0285(0x12b)][_0x1b0285(0x201)](_0x1b0285(0x344)+JSON[_0x1b0285(0x2bd)](_0x467987)),this[_0x1b0285(0x179)][_0x1b0285(0x29b)](_0x467987);break;case _0x19843e[_0x1b0285(0x16a)]:this[_0x1b0285(0x209)]['onCommentUpdate'](_0x467987[_0x1b0285(0x389)]),this['_event$'][_0x1b0285(0x29b)](_0x467987);break;default:this[_0x1b0285(0x179)][_0x1b0285(0x29b)](_0x467987);}}catch(_0xbe71ca){this['_logService'][_0x1b0285(0x201)](_0xbe71ca,_0x487635);}}[_0x368389(0x304)](_0x246550){var _0x4c2d35=_0x368389;this['_memberService']['updateMember'](this[_0x4c2d35(0x1e9)],_0x246550['data']);}[_0x368389(0x2ec)](_0x4bce85){var _0x19e309=_0x368389;this[_0x19e309(0x366)][_0x19e309(0x3a0)](this[_0x19e309(0x1e9)],_0x4bce85['data'][_0x19e309(0x2f0)]);}async[_0x368389(0x1bb)](_0x389b2e,_0x5954e8){var _0x340dc8=_0x368389;if(this[_0x340dc8(0x2de)]!==0x3||!this[_0x340dc8(0x31e)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x389b2e[_0x340dc8(0x159)]===_0x19843e[_0x340dc8(0x1a8)]&&(this[_0x340dc8(0x266)](),this['_startTelemetryCollaborationNewChangeset'](_0x389b2e)),this[_0x340dc8(0x31e)][_0x340dc8(0x1bb)]({'cmd':j['INGEST'],'routeKey':_0x5954e8,'routeType':'','data':_0x389b2e});}catch(_0x1f247c){this['_logService']['error'](_0x1f247c);}}[_0x368389(0x266)](){var _0x26c3d1=_0x368389,_0x489235;this[_0x26c3d1(0xe9)]=setTimeout(()=>{var _0x2b73e0=_0x26c3d1;this['_collaborationTimeoutTimer']=null,this[_0x2b73e0(0x367)][_0x2b73e0(0x3b6)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x489235=this[_0x26c3d1(0xb8)][_0x26c3d1(0x19b)](di))!=null?_0x489235:fi);}['_clearCollaborationTimeoutTimer'](){var _0x72d15e=_0x368389;this[_0x72d15e(0xe9)]&&(clearTimeout(this[_0x72d15e(0xe9)]),this['_collaborationTimeoutTimer']=null);}[_0x368389(0xc6)](_0x3ba888){var _0x4228ca=_0x368389;if(!this['_shouldReportTelemetry'])return;const {data:_0x34c833}=_0x3ba888,{unitID:_0x9a4447,changeset:_0x81bade}=_0x34c833,{mutations:_0x1f75f2,type:_0x71e5e6}=_0x81bade;this[_0x4228ca(0x20b)]={'unitId':_0x9a4447,'type':_0x71e5e6,'startTime':performance[_0x4228ca(0xd6)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x1f75f2)};}[_0x368389(0x35b)](){var _0x2575c0=_0x368389;if(this['_shouldReportTelemetry']){if(!this[_0x2575c0(0x20b)]){this[_0x2575c0(0x12b)]['error']('[CollaborationSession]',_0x2575c0(0x2d3));return;}this[_0x2575c0(0x20b)][_0x2575c0(0xc5)]=performance[_0x2575c0(0xd6)](),this[_0x2575c0(0x20b)][_0x2575c0(0x131)]=this[_0x2575c0(0x20b)][_0x2575c0(0xc5)]-this[_0x2575c0(0x20b)]['startTime'],this['_telemetryService'][_0x2575c0(0xe7)](Cs,this[_0x2575c0(0x20b)]),this[_0x2575c0(0x20b)]=null;}}[_0x368389(0x316)](){var _0x5aef6d=_0x368389;this[_0x5aef6d(0x20b)]=null;}};mt=As([Oe(0x2,_0x21f6c3),Oe(0x3,_0x3c30e0),Oe(0x4,_0x3ce8f0(Pe)),Oe(0x5,_0x3ce8f0(Ei)),Oe(0x6,_0x3ce8f0(ve)),Oe(0x7,_0x5c10ac(_0x44b81a))],mt);const J=_0xb11ef5(_0x368389(0x364));function Cr(_0x24c476){var _0x3e5d11=_0x368389;return _0x3e5d11(0xc2)+_0x24c476;}var Ps=Object[_0x368389(0x284)],ws=(_0x4a5bde,_0x24ba66,_0x2fb71c,_0x33000d)=>{for(var _0x5bfd2f=_0x33000d>0x1?void 0x0:_0x33000d?Ps(_0x24ba66,_0x2fb71c):_0x24ba66,_0x2dbe10=_0x4a5bde['length']-0x1,_0x37470a;_0x2dbe10>=0x0;_0x2dbe10--)(_0x37470a=_0x4a5bde[_0x2dbe10])&&(_0x5bfd2f=_0x37470a(_0x5bfd2f)||_0x5bfd2f);return _0x5bfd2f;},ut=(_0x3d6c22,_0x41d7b0)=>(_0x488a6f,_0x3f125b)=>_0x41d7b0(_0x488a6f,_0x3f125b,_0x3d6c22);function Ms(_0x285e62){var _0x3ead8c=_0x368389;const {unitID:_0x4778e6,mutations:_0x998b0c}=_0x285e62;return{'unitId':_0x4778e6,'subUnitId':_0x998b0c[_0x3ead8c(0x3b7)]>0x0?_0x998b0c[0x0][_0x3ead8c(0x180)]['subUnitId']:null};}let it=class{constructor(_0x58d597,_0x26dbe7,_0x3fbbdf){var _0x5d6197=_0x368389;this[_0x5d6197(0x39e)]=_0x58d597,this[_0x5d6197(0x12c)]=_0x26dbe7,this[_0x5d6197(0x20a)]=_0x3fbbdf;}[_0x368389(0x13b)](_0x3506bb){var _0x2a7812=_0x368389,_0x1c8c3b,_0x8cef81,_0x1819d6,_0x90f45f;const _0x458de9=this[_0x2a7812(0x39e)][_0x2a7812(0x187)](_0x555de9),{unitId:_0x2ddc86,subUnitId:_0x109720}=Ms(_0x3506bb),_0x2a34df=_0x458de9==null?void 0x0:_0x458de9[_0x2a7812(0x19f)](_0x2ddc86)[_0x2a7812(0x109)](),_0x34d9f6=(_0x8cef81=(_0x1c8c3b=this['_instanceService'][_0x2a7812(0x26e)](_0x2ddc86))==null?void 0x0:_0x1c8c3b[_0x2a7812(0x349)]())==null?void 0x0:_0x8cef81[_0x2a7812(0x14e)]();if(_0x2a34df['length']===0x0||!_0x2ddc86||!_0x109720)return;const _0x4ee5cb=[{'id':_0x4d8a1e['id'],'params':{'unitId':_0x2ddc86,'subUnitId':_0x34d9f6,'selections':_0x15f9b5[_0x2a7812(0xf1)](_0x2a34df)}}],_0x3eed5e=this[_0x2a7812(0x12c)][_0x2a7812(0x36e)](_0x3506bb,_0x4ee5cb);if(!_0x3810cf(_0x3eed5e))throw _0x3eed5e[_0x2a7812(0x201)];const _0x4e776c=(_0x90f45f=(_0x1819d6=_0x3eed5e[_0x2a7812(0x155)][0x0])==null?void 0x0:_0x1819d6[_0x2a7812(0x180)])==null?void 0x0:_0x90f45f['selections'];if(Array['isArray'](_0x4e776c)&&_0x4e776c[_0x2a7812(0x3b7)]){if(_0x4e776c['length']===_0x4ee5cb[0x0]['params'][_0x2a7812(0x338)]['length']&&_0x4e776c[_0x2a7812(0x2f6)]((_0x54eb4a,_0x51ae5c)=>_0x33de4c[_0x2a7812(0x1bd)](_0x54eb4a['range'],_0x4ee5cb[0x0][_0x2a7812(0x180)]['selections'][_0x51ae5c]['range'])))return;this['_injector'][_0x2a7812(0x187)](_0xcdf754)[_0x2a7812(0x1d8)](_0x4d8a1e['id'],{'unitId':_0x2ddc86,'subUnitId':_0x34d9f6,'selections':_0x4e776c});}}};it=ws([ut(0x0,_0x3ce8f0(_0x277f78)),ut(0x1,_0x1a3cad),ut(0x2,_0x558d3e)],it);const _t=_0xb11ef5(_0x368389(0x264));var mi=(_0x101f92=>(_0x101f92[_0x101f92[_0x368389(0x2fa)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x101f92[_0x101f92[_0x368389(0x2be)]=0x1]=_0x368389(0x2be),_0x101f92))(mi||{});const K=_0x368389(0xb9),Ls={},xs=new Set([_0x20bdb2['id']]);function Vt(_0x1592f3,_0x7d78a8,_0x5b5210,_0x343664,_0x12bd13){var _0x401818=_0x368389,_0x20eb4f,_0x40a8a0,_0x5dd363,_0x4a7392;const _0x52b76b=[];for(const _0x444cec of _0x1592f3)if(xs[_0x401818(0x274)](_0x444cec['id'])){if(_0x52b76b[_0x401818(0x3b7)]>0x0)break;_0x52b76b[_0x401818(0x291)](_0x444cec);break;}else _0x52b76b[_0x401818(0x291)](_0x444cec);const _0x842fad=(_0x40a8a0=(_0x20eb4f=_0x12bd13[_0x401818(0x230)]())==null?void 0x0:_0x20eb4f['userID'])!=null?_0x40a8a0:_0x401818(0x2f9),_0x41fabc=(_0x4a7392=(_0x5dd363=_0x12bd13[_0x401818(0x230)]())==null?void 0x0:_0x5dd363[_0x401818(0x2f0)])!=null?_0x4a7392:'unknown';return{'changeset':{'unitID':_0x7d78a8,'type':_0x12e6b9(_0x5b5210[_0x401818(0x1b9)](_0x7d78a8)),'baseRev':_0x343664[_0x401818(0x32a)](_0x7d78a8),'revision':0x0,'userID':_0x842fad,'memberID':_0x41fabc,'mutations':_0x52b76b},'pendingMutations':_0x1592f3['slice'](_0x52b76b[_0x401818(0x3b7)])};}function ks(_0x27bb6f,_0x1ad892,_0x2d689c,_0x48f675,_0x35fee3){var _0x310b80=_0x368389,_0x5824b8,_0x311466,_0x5dc37e,_0x19a419;const _0x4cabbd=[_0x27bb6f[_0x310b80(0x194)]((_0x5bb9c3,_0x12a6c7)=>{var _0x2346b8=_0x310b80,_0x4a5298;const {id:_0x5b04a2}=_0x5bb9c3,{id:_0x2a1397,type:_0x3d90b8}=_0x12a6c7,_0x252cb1=(_0x4a5298=_0x5bb9c3[_0x2346b8(0x180)])!=null?_0x4a5298:{'actions':null},_0x74dc37=_0x12a6c7[_0x2346b8(0x180)];if(_0x5b04a2&&_0x5b04a2!==_0x2a1397)throw new Error(_0x2346b8(0x25d)+_0x5b04a2+'\x20-\x20'+_0x2a1397+'.');return{..._0x5bb9c3,'id':_0x2a1397,'type':_0x3d90b8,'params':{'unitId':_0x74dc37[_0x2346b8(0x32d)],'textRanges':_0x74dc37[_0x2346b8(0x29f)],'actions':_0x577726[_0x2346b8(0x3bc)](_0x252cb1[_0x2346b8(0x385)],_0x74dc37[_0x2346b8(0x385)])}};},{})],_0x19c5a7=(_0x311466=(_0x5824b8=_0x35fee3[_0x310b80(0x230)]())==null?void 0x0:_0x5824b8[_0x310b80(0x101)])!=null?_0x311466:_0x310b80(0x2f9),_0x58c182=(_0x19a419=(_0x5dc37e=_0x35fee3[_0x310b80(0x230)]())==null?void 0x0:_0x5dc37e[_0x310b80(0x2f0)])!=null?_0x19a419:_0x310b80(0x2f9);return{'changeset':{'unitID':_0x1ad892,'type':_0x12e6b9(_0x2d689c['getUnitType'](_0x1ad892)),'baseRev':_0x48f675[_0x310b80(0x32a)](_0x1ad892),'revision':0x0,'userID':_0x19c5a7,'memberID':_0x58c182,'mutations':_0x4cabbd},'pendingMutations':[]};}function Ii(_0x4d3010,_0x3395ea){var _0x166e34=_0x368389;const _0x5a7de1=new _0x531cf8(0x1);return setTimeout(()=>_0x5a7de1[_0x166e34(0x29b)](_0x3395ea),_0x4d3010),_0x5a7de1[_0x166e34(0x166)]()[_0x166e34(0x279)](_0x4ebc57(0x1));}var $s=Object[_0x368389(0x284)],Se=(_0x2ad258,_0x275a39,_0x1c202a,_0x4588f9)=>{var _0x39a7f8=_0x368389;for(var _0x372d25=_0x4588f9>0x1?void 0x0:_0x4588f9?$s(_0x275a39,_0x1c202a):_0x275a39,_0x26929b=_0x2ad258[_0x39a7f8(0x3b7)]-0x1,_0x2b306f;_0x26929b>=0x0;_0x26929b--)(_0x2b306f=_0x2ad258[_0x26929b])&&(_0x372d25=_0x2b306f(_0x372d25)||_0x372d25);return _0x372d25;},w=(_0x1afa98,_0x428468)=>(_0x41f542,_0x2daf3a)=>_0x428468(_0x41f542,_0x2daf3a,_0x1afa98),Si=(_0x200653=>(_0x200653['NOT_COLLAB']=_0x368389(0x1bf),_0x200653[_0x368389(0x13f)]=_0x368389(0xdf),_0x200653[_0x368389(0x261)]=_0x368389(0x314),_0x200653[_0x368389(0x341)]=_0x368389(0x13d),_0x200653[_0x368389(0x103)]=_0x368389(0x3ae),_0x200653[_0x368389(0xe3)]=_0x368389(0x1de),_0x200653['CONFLICT']='conflict',_0x200653['OFFLINE']=_0x368389(0x146),_0x200653))(Si||{});const gi=0xea60;class ge{constructor(_0x5102e8,_0x5b838c,_0x13e572,_0x414819,_0x4ec2d1,_0x1e4c8e,_0x19b341,_0x57281b,_0x49221c){var _0x232025=_0x368389;D(this,_0x232025(0x1d4),null),D(this,_0x232025(0x380),[]),(this[_0x232025(0x1b5)]=_0x5102e8,this[_0x232025(0xf0)]=_0x5b838c,this[_0x232025(0x17e)]=_0x4ec2d1,this['_commandService']=_0x1e4c8e,this[_0x232025(0x2eb)]=_0x19b341,this[_0x232025(0x125)]=_0x57281b,this[_0x232025(0x307)]=_0x49221c,this[_0x232025(0x1d4)]=_0x13e572,this[_0x232025(0x380)]=_0x414819);}[_0x368389(0x306)](_0x62b144){var _0x155146=_0x368389;const _0x4dde04=this[_0x155146(0x125)]['getCurrentRevOfUnit'](this['unitID']);return _0x62b144[_0x155146(0x1fb)]>_0x4dde04+0x1?(this[_0x155146(0x17e)][_0x155146(0x1f7)]({'from':_0x4dde04,'to':_0x62b144[_0x155146(0x1fb)]-0x1}),!0x0):!0x1;}[_0x368389(0x11b)](_0x21237c){var _0xeeef4d=_0x368389;this['_undoRedoService'][_0xeeef4d(0x178)](this[_0xeeef4d(0x1b5)],_0x21237c);}[_0x368389(0x268)](_0x5908d2){var _0x1dd988=_0x368389,_0x345b45,_0x463828;(_0x463828=(_0x345b45=this['_handler'])[_0x1dd988(0x319)])==null||_0x463828[_0x1dd988(0xf4)](_0x345b45,_0x5908d2);}[_0x368389(0x263)](_0x3b13b6){var _0x194172=_0x368389,_0x4d313c,_0x3bc47c;return(_0x3bc47c=(_0x4d313c=this['_handler'])[_0x194172(0x265)])==null?void 0x0:_0x3bc47c[_0x194172(0xf4)](_0x4d313c,_0x3b13b6);}[_0x368389(0x122)](_0x39a241){var _0x2caf24=_0x368389,_0x16ba70,_0x53c063;return(_0x53c063=(_0x16ba70=this[_0x2caf24(0x17e)])['onTransformState'])==null?void 0x0:_0x53c063[_0x2caf24(0xf4)](_0x16ba70,_0x39a241);}[_0x368389(0x107)](_0x339ea2){var _0x123b3d=_0x368389,_0x445b2b,_0x4e6786,_0x5aff45;return(_0x5aff45=(_0x4e6786=(_0x445b2b=this[_0x123b3d(0x17e)])[_0x123b3d(0x276)])==null?void 0x0:_0x4e6786[_0x123b3d(0xf4)](_0x445b2b,_0x339ea2))!=null?_0x5aff45:_0x339ea2;}[_0x368389(0x92)](_0xe5dc90){var _0x2f8a02=_0x368389,_0x109638,_0x4a45ea,_0x83afbb;return(_0x83afbb=(_0x4a45ea=(_0x109638=this[_0x2f8a02(0x17e)])[_0x2f8a02(0x192)])==null?void 0x0:_0x4a45ea['call'](_0x109638,_0xe5dc90))!=null?_0x83afbb:_0xe5dc90;}[_0x368389(0xa6)](_0xba9067){var _0x23d1fd=_0x368389,_0x478bad,_0x4a0e61;if(this[_0x23d1fd(0xf0)]===Q[_0x23d1fd(0x36a)]){const {unitID:_0x522dc6,mutations:_0x399beb,memberID:_0xafa0ef}=_0xba9067,_0x2b3701=_0x399beb[_0x23d1fd(0x3b7)]>0x0?_0x399beb[0x0][_0x23d1fd(0x180)][_0x23d1fd(0x29f)]:[];Array[_0x23d1fd(0x281)](_0x2b3701)&&_0x2b3701['length']>0x0&&((_0x4a0e61=(_0x478bad=this[_0x23d1fd(0x17e)])[_0x23d1fd(0xb1)])==null||_0x4a0e61[_0x23d1fd(0xf4)](_0x478bad,{'unitID':_0x522dc6,'memberID':_0xafa0ef,'textRanges':_0x2b3701}));}}[_0x368389(0x361)](){var _0x57b772=_0x368389,_0x3c2e5b;(_0x3c2e5b=this[_0x57b772(0x307)])==null||_0x3c2e5b[_0x57b772(0x9c)](this[_0x57b772(0x1b5)],this[_0x57b772(0xf0)],this[_0x57b772(0x1d4)],this[_0x57b772(0x380)]);}[_0x368389(0x2f5)](){var _0x51e427=_0x368389;return this[_0x51e427(0x125)][_0x51e427(0x32a)](this[_0x51e427(0x1b5)]);}[_0x368389(0x136)](){var _0x1a26e3=_0x368389;this[_0x1a26e3(0x125)]['incrementRevOfUnit'](this[_0x1a26e3(0x1b5)]);}[_0x368389(0x3ba)](_0x5bca21){var _0x2a0181=_0x368389,_0x4c32f1;let _0x46d889=this[_0x2a0181(0x107)](_0x5bca21);_0x46d889=this[_0x2a0181(0x92)](_0x46d889);const _0x11c325=_0x13344a(_0x46d889[_0x2a0181(0x162)],this[_0x2a0181(0x2d5)],{'fromCollab':!0x0});if(!_0x11c325[_0x2a0181(0x3bb)])throw _0x11c325[_0x2a0181(0x201)]instanceof Error?_0x11c325[_0x2a0181(0x201)]:new Error((_0x4c32f1=_0x11c325[_0x2a0181(0x201)])!=null?_0x4c32f1:_0x2a0181(0x207));this[_0x2a0181(0x263)](_0x46d889),this[_0x2a0181(0x122)](_0x46d889),this[_0x2a0181(0x11b)](_0x5bca21),this['_transformSelections'](_0x46d889),this['_syncEditingCollabCursor'](_0x46d889),this[_0x2a0181(0x136)]();}}let be=class extends ge{constructor(_0x28fa7f,_0x581095,_0x58b595,_0xa21c17,_0x144426,_0x514d8a,_0x14fe14,_0x43addb,_0x4a875b,_0x4e4351){var _0x32d2ed=_0x368389;super(_0x28fa7f,_0x581095,null,[],_0x58b595,_0x14fe14,_0x514d8a,_0xa21c17,_0x4e4351),D(this,'status','synced'),(this[_0x32d2ed(0x39e)]=_0x144426,this[_0x32d2ed(0x12b)]=_0x43addb,this[_0x32d2ed(0x12c)]=_0x4a875b,this[_0x32d2ed(0x269)]=_0x4e4351);}[_0x368389(0xbb)](_0x9bbc14){var _0x2011c8=_0x368389;const _0x46689d=this[_0x2011c8(0x39e)][_0x2011c8(0x37c)](ae,this[_0x2011c8(0x1b5)],this['type'],[_0x9bbc14],this[_0x2011c8(0x17e)]);return _0x46689d['_schedule'](),_0x46689d['_updateLocalCache'](),_0x46689d;}[_0x368389(0x2cd)](_0x3a9a94){var _0x55438e=_0x368389;if(this['_checkMissing'](_0x3a9a94))return this[_0x55438e(0x39e)][_0x55438e(0x37c)](ee,this[_0x55438e(0x1b5)],this[_0x55438e(0xf0)],null,[],null,[_0x3a9a94],this[_0x55438e(0x17e)]);try{const _0x2477f6=this[_0x55438e(0x12c)][_0x55438e(0x36e)](_0x3a9a94,[_0x3e2d35]);if(_0x3810cf(_0x2477f6)){const {c1Prime:_0x2feaca}=_0x2477f6;return this[_0x55438e(0x3ba)](_0x2feaca),this;}throw _0x2477f6['error'];}catch(_0x28e105){return this[_0x55438e(0x12b)][_0x55438e(0x201)](_0x28e105),this[_0x55438e(0x1da)](!0x1);}}[_0x368389(0x1da)](_0x405230){var _0x4d7ce7=_0x368389;return this[_0x4d7ce7(0x39e)]['createInstance'](ue,this['unitID'],this[_0x4d7ce7(0xf0)],null,[],this[_0x4d7ce7(0x17e)],_0x405230);}[_0x368389(0x19e)](){var _0x374dcd=_0x368389;throw new Error(_0x374dcd(0x157));}['onRemoteRej'](){var _0x398e8d=_0x368389;throw new Error(_0x398e8d(0x323));}[_0x368389(0x1df)](){return this;}[_0x368389(0x3a9)](){var _0x49abfa=_0x368389;return this[_0x49abfa(0x39e)][_0x49abfa(0x37c)](de,this['unitID'],this[_0x49abfa(0xf0)],null,[],this[_0x49abfa(0x17e)]);}['toggleOnline'](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x368389(0x211)](){var _0x3a5ff4=_0x368389;const _0x2a525d=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x3a5ff4(0x17e)][_0x3a5ff4(0x1f7)]({'from':_0x2a525d,'to':0x0}),this[_0x3a5ff4(0x39e)]['createInstance'](ee,this[_0x3a5ff4(0x1b5)],this[_0x3a5ff4(0xf0)],null,[],null,[],this[_0x3a5ff4(0x17e)]);}};be=Se([w(0x3,_0x3ce8f0(_0x5d15d6)),w(0x4,_0x3ce8f0(_0x277f78)),w(0x5,_0x32ded1),w(0x6,_0xcdf754),w(0x7,_0x21f6c3),w(0x8,_0x1a3cad),w(0x9,_0x5c10ac(J))],be);let ae=class extends ge{constructor(_0x3fbeaf,_0x15f9dc,_0x591edb,_0x4887ee,_0x3715fa,_0x2df3a6,_0x26fde9,_0x850dc3,_0x8b4c1b,_0x42a905,_0x55c04e,_0x50f8a0,_0x472009,_0x26d868){var _0x138aaf=_0x368389;super(_0x3fbeaf,_0x15f9dc,null,_0x591edb,_0x4887ee,_0x8b4c1b,_0x472009,_0x2df3a6,_0x26d868),D(this,_0x138aaf(0x9d),_0x138aaf(0x314)),D(this,'_scheduleCompleteTimestamp',null),D(this,'_sendingTimer',null),(this['_injector']=_0x3715fa,this[_0x138aaf(0x366)]=_0x26fde9,this[_0x138aaf(0x12b)]=_0x850dc3,this[_0x138aaf(0xb8)]=_0x42a905,this[_0x138aaf(0x12c)]=_0x55c04e,this['_univerInstanceService']=_0x50f8a0);}['appendMutation'](_0x23a736){var _0x3287ee=_0x368389;return this[_0x3287ee(0x380)][_0x3287ee(0x291)](_0x23a736),this['_updateLocalCache'](),this;}[_0x368389(0x2cd)](_0x4ec078){var _0x1c87a8=_0x368389;if(this[_0x1c87a8(0x306)](_0x4ec078))return this['_clearScheduledTask'](),this['_injector'][_0x1c87a8(0x37c)](ee,this[_0x1c87a8(0x1b5)],this[_0x1c87a8(0xf0)],null,this['_pendingMutations'],null,[_0x4ec078],this[_0x1c87a8(0x17e)]);try{const _0x199474=this['_transformService'][_0x1c87a8(0x36e)](_0x4ec078,this[_0x1c87a8(0x380)]);if(_0x3810cf(_0x199474)){const {c1Prime:_0x1814db,m2Prime:_0x1894e8}=_0x199474;this[_0x1c87a8(0x3ba)](_0x1814db);const _0x38485b=this[_0x1c87a8(0x39e)][_0x1c87a8(0x37c)](ae,this['unitID'],this[_0x1c87a8(0xf0)],_0x1894e8,this[_0x1c87a8(0x17e)]);this[_0x1c87a8(0x267)]();const _0x27e7dc=new Date()[_0x1c87a8(0x102)](),_0x1748f3=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x1c87a8(0x1f5)]-_0x27e7dc,0x0):this[_0x1c87a8(0x2c4)]();return _0x38485b['_schedule'](_0x1748f3),_0x38485b;}throw _0x199474[_0x1c87a8(0x201)];}catch(_0x4becd0){return this['_logService'][_0x1c87a8(0x201)](_0x4becd0),this['_onConflict'](!0x1);}}[_0x368389(0x19e)](){var _0x4a24fd=_0x368389;throw new Error(_0x4a24fd(0x382));}[_0x368389(0x28a)](){var _0x2c64df=_0x368389;throw new Error(_0x2c64df(0x31d));}[_0x368389(0x1df)](){return this;}[_0x368389(0x3a9)](){var _0x362576=_0x368389;return this['_clearScheduledTask'](),this[_0x362576(0x39e)][_0x362576(0x37c)](de,this[_0x362576(0x1b5)],this[_0x362576(0xf0)],null,this['_pendingMutations'],this[_0x362576(0x17e)]);}[_0x368389(0x329)](){return this;}['_schedule'](_0x1abf52){var _0x47a126=_0x368389;const _0x4d23ad=_0x1abf52!=null?_0x1abf52:this[_0x47a126(0x2c4)]();this[_0x47a126(0x1f5)]=new Date()['getTime']()+_0x4d23ad,this[_0x47a126(0x1ae)]=setTimeout(()=>{var _0x162a1f=_0x47a126;this[_0x162a1f(0x267)]();let _0x1800da=null;switch(this['type']){case Q[_0x162a1f(0x305)]:{_0x1800da=Vt(this[_0x162a1f(0x380)],this[_0x162a1f(0x1b5)],this[_0x162a1f(0x14b)],this['_revisionService'],this['_memberService']);break;}case Q[_0x162a1f(0x36a)]:{this[_0x162a1f(0x380)][_0x162a1f(0x2f6)](_0x283637=>_0x283637['id']===_0x62620b['id'])?_0x1800da=ks(this[_0x162a1f(0x380)],this[_0x162a1f(0x1b5)],this[_0x162a1f(0x14b)],this[_0x162a1f(0x125)],this['_memberService']):_0x1800da=Vt(this[_0x162a1f(0x380)],this[_0x162a1f(0x1b5)],this['_univerInstanceService'],this[_0x162a1f(0x125)],this[_0x162a1f(0x366)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x162a1f(0xf0)]+_0x162a1f(0x354));}const {changeset:_0x568539,pendingMutations:_0x270c0b}=_0x1800da;this[_0x162a1f(0x17e)][_0x162a1f(0x235)](_0x568539);const _0x4cbe35=_0x270c0b['length']?this[_0x162a1f(0x39e)]['createInstance'](oe,this[_0x162a1f(0x1b5)],this['type'],_0x568539,_0x270c0b,this[_0x162a1f(0x17e)],void 0x0):this['_injector'][_0x162a1f(0x37c)](le,this[_0x162a1f(0x1b5)],this['type'],_0x568539,this[_0x162a1f(0x17e)]);_0x4cbe35[_0x162a1f(0x361)](),this[_0x162a1f(0x17e)][_0x162a1f(0x317)](this,_0x4cbe35);},_0x4d23ad);}['_getSendChangesetTimeout'](){var _0x2044c5=_0x368389,_0x50aae0;const _0x15011e=this[_0x2044c5(0xb8)][_0x2044c5(0x19b)](K);return(_0x50aae0=_0x15011e==null?void 0x0:_0x15011e[_0x2044c5(0x288)])!=null?_0x50aae0:ps;}[_0x368389(0x33f)](){var _0x16b254=_0x368389;throw new Error(_0x16b254(0x17f));}[_0x368389(0x267)](){var _0x5ba628=_0x368389;this[_0x5ba628(0x1ae)]!=null&&(clearTimeout(this[_0x5ba628(0x1ae)]),this[_0x5ba628(0x1ae)]=null);}[_0x368389(0x1da)](_0x4be4a8){var _0x528fe4=_0x368389;return this[_0x528fe4(0x267)](),this[_0x528fe4(0x39e)]['createInstance'](ue,this['unitID'],this[_0x528fe4(0xf0)],null,this[_0x528fe4(0x380)],this[_0x528fe4(0x17e)],_0x4be4a8);}};ae=Se([w(0x4,_0x3ce8f0(_0x277f78)),w(0x5,_0x3ce8f0(_0x5d15d6)),w(0x6,_0x3ce8f0(Pe)),w(0x7,_0x21f6c3),w(0x8,_0xcdf754),w(0x9,_0x3c30e0),w(0xa,_0x1a3cad),w(0xb,_0x558d3e),w(0xc,_0x32ded1),w(0xd,_0x5c10ac(J))],ae);let le=class extends ge{constructor(_0x21e6f6,_0x15ddbd,_0x387550,_0x4a826c,_0x1af81c,_0x55b0db,_0x288bf,_0x1f4516,_0x347a55,_0x59312a,_0x379ac2){var _0x1aee10=_0x368389;super(_0x21e6f6,_0x15ddbd,_0x387550,[],_0x4a826c,_0x288bf,_0x59312a,_0x55b0db,_0x379ac2),D(this,'status',_0x1aee10(0x13d)),D(this,'_resendTimeout',0x0),D(this,'_resendTimer'),D(this,_0x1aee10(0x337)),(this[_0x1aee10(0x39e)]=_0x1af81c,this[_0x1aee10(0x12b)]=_0x1f4516,this['_transformService']=_0x347a55);}[_0x368389(0xbb)](_0x921581){var _0x1b726a=_0x368389;this[_0x1b726a(0x267)]();const _0x324188=this[_0x1b726a(0x39e)][_0x1b726a(0x37c)](oe,this[_0x1b726a(0x1b5)],this['type'],this[_0x1b726a(0x1d4)],[_0x921581],this[_0x1b726a(0x17e)],this[_0x1b726a(0x168)]);return _0x324188['_updateLocalCache'](),_0x324188;}[_0x368389(0x2cd)](_0x5219ef){var _0x57d439=_0x368389;if(this[_0x57d439(0x306)](_0x5219ef))return this[_0x57d439(0x267)](),this[_0x57d439(0x39e)][_0x57d439(0x37c)](ee,this[_0x57d439(0x1b5)],this[_0x57d439(0xf0)],this['_awaitingChangeset'],[],null,[_0x5219ef],this[_0x57d439(0x17e)]);try{const _0x3aedc4=this['_transformService'][_0x57d439(0xa1)]([_0x5219ef],[this['_awaitingChangeset']],!0x1);if(_0x507863(_0x3aedc4)){const {c1Prime:_0x596d7c,c2Prime:_0x36daf0}=_0x3aedc4;this[_0x57d439(0x3ba)](_0x596d7c[0x0]),_0x36daf0[0x0][_0x57d439(0x1ed)]=this[_0x57d439(0x2f5)](),this['_clearScheduledTask']();const _0xc930ad=this[_0x57d439(0x39e)][_0x57d439(0x37c)](le,this[_0x57d439(0x1b5)],this[_0x57d439(0xf0)],_0x36daf0[0x0],this[_0x57d439(0x17e)]);return _0xc930ad[_0x57d439(0x361)](),_0xc930ad;}return this[_0x57d439(0x1da)](!0x1);}catch(_0xba0fe2){return this[_0x57d439(0x12b)][_0x57d439(0x201)](_0xba0fe2),this[_0x57d439(0x1da)](!0x1);}}[_0x368389(0x19e)](_0x4fe1fb){var _0x5a94b4=_0x368389;this[_0x5a94b4(0x267)]();const _0xf7c698=this[_0x5a94b4(0x125)][_0x5a94b4(0x32a)](this[_0x5a94b4(0x1b5)]);if(_0x4fe1fb[_0x5a94b4(0x1fb)]<_0xf7c698-0x1)return this;if(this['_checkMissing'](_0x4fe1fb))return this[_0x5a94b4(0x39e)][_0x5a94b4(0x37c)](ee,this['unitID'],this[_0x5a94b4(0xf0)],null,[],this[_0x5a94b4(0x1d4)],[],this[_0x5a94b4(0x17e)]);this[_0x5a94b4(0x136)]();const _0x1f52fd=this[_0x5a94b4(0x39e)]['createInstance'](be,this[_0x5a94b4(0x1b5)],this[_0x5a94b4(0xf0)],this[_0x5a94b4(0x17e)]);return _0x1f52fd['_updateLocalCache'](),_0x1f52fd;}[_0x368389(0x28a)](_0x332556){var _0x3b421c=_0x368389;return this[_0x3b421c(0x1da)](!!(_0x332556!=null&&_0x332556[_0x3b421c(0x255)]));}[_0x368389(0x1df)](_0x4ea8f0){var _0x12a9b3=_0x368389;return this['_resendTimeout']>gi?this[_0x12a9b3(0x3a9)]():(this[_0x12a9b3(0x168)]=Ii(this[_0x12a9b3(0x2db)],{'timeout':this[_0x12a9b3(0x2db)],'reqId':_0x4ea8f0[_0x12a9b3(0xfe)]}),this[_0x12a9b3(0x337)]=this[_0x12a9b3(0x168)]['subscribe'](({reqId:_0x156dc3,timeout:_0x115272})=>{var _0x251f6a=_0x12a9b3;this[_0x251f6a(0x3b4)](_0x156dc3,_0x115272);}),this);}[_0x368389(0x3a9)](){var _0x241bdf=_0x368389;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x241bdf(0x1b5)],this[_0x241bdf(0xf0)],this[_0x241bdf(0x1d4)],[],this[_0x241bdf(0x17e)]);}[_0x368389(0x329)](){return this;}[_0x368389(0x33f)](){var _0x2a8a6f=_0x368389;this['_handler'][_0x2a8a6f(0x235)](this[_0x2a8a6f(0x1d4)]);}[_0x368389(0x1da)](_0x5278ee){var _0x440f8c=_0x368389;return this[_0x440f8c(0x267)](),this[_0x440f8c(0x39e)][_0x440f8c(0x37c)](ue,this[_0x440f8c(0x1b5)],this[_0x440f8c(0xf0)],this[_0x440f8c(0x1d4)],[],this[_0x440f8c(0x17e)],_0x5278ee);}['_resendWithTimeout'](_0xf26146,_0x61b16b){var _0x315946=_0x368389,_0x159f42;_0xf26146===((_0x159f42=this[_0x315946(0x1d4)])==null?void 0x0:_0x159f42[_0x315946(0xfe)])&&(this['resend'](),this['_resendTimeout']=_0x61b16b===0x0?0x3e8:_0x61b16b*0x2);}[_0x368389(0x267)](){var _0x198d78=_0x368389,_0x375d81;(_0x375d81=this[_0x198d78(0x337)])==null||_0x375d81[_0x198d78(0x2a2)](),this[_0x198d78(0x2db)]=0x0;}};le=Se([w(0x4,_0x3ce8f0(_0x277f78)),w(0x5,_0x3ce8f0(_0x5d15d6)),w(0x6,_0xcdf754),w(0x7,_0x21f6c3),w(0x8,_0x1a3cad),w(0x9,_0x32ded1),w(0xa,_0x5c10ac(J))],le);let oe=class extends ge{constructor(_0x210d82,_0x59bf50,_0xf24a23,_0x319899,_0x1224ea,_0xf97991,_0x28d55f,_0x3da2aa,_0x43637a,_0x5c1dda,_0x16dbbb,_0x17dd8d,_0x1130ab){var _0x2fa35d=_0x368389;super(_0x210d82,_0x59bf50,_0xf24a23,_0x319899,_0x1224ea,_0x43637a,_0x17dd8d,_0x3da2aa,_0x1130ab),D(this,_0x2fa35d(0x9d),'awaiting_with_pending'),D(this,_0x2fa35d(0x2db),0x0),D(this,_0x2fa35d(0x168)),D(this,'_sender'),(this[_0x2fa35d(0x39e)]=_0x28d55f,this[_0x2fa35d(0x12b)]=_0x5c1dda,this['_transformService']=_0x16dbbb,this['localCacheService']=_0x1130ab,_0xf97991&&(this[_0x2fa35d(0x168)]=_0xf97991,this[_0x2fa35d(0x337)]=this[_0x2fa35d(0x168)]['subscribe'](({reqId:_0x427dc6,timeout:_0x37cd30})=>{var _0x4838c5=_0x2fa35d;this[_0x4838c5(0x3b4)](_0x427dc6,_0x37cd30);})));}[_0x368389(0xbb)](_0xc7720e){var _0xf23754=_0x368389;return this[_0xf23754(0x380)][_0xf23754(0x291)](_0xc7720e),this;}[_0x368389(0x2cd)](_0x9903c8){var _0x2ded44=_0x368389;if(this['_checkMissing'](_0x9903c8))return this[_0x2ded44(0x267)](),this['_injector'][_0x2ded44(0x37c)](ee,this[_0x2ded44(0x1b5)],this['type'],this[_0x2ded44(0x1d4)],this[_0x2ded44(0x380)],null,[_0x9903c8],this[_0x2ded44(0x17e)]);try{const _0x20e1e7=this[_0x2ded44(0x12c)][_0x2ded44(0xa1)]([_0x9903c8],[this[_0x2ded44(0x1d4)]],!0x1);if(_0x507863(_0x20e1e7)){const {c1Prime:_0x593657,c2Prime:_0x470b1d}=_0x20e1e7,_0x4493bb=this[_0x2ded44(0x12c)]['transformMutationsWithChangeset'](_0x593657[0x0],this['_pendingMutations']);if(_0x3810cf(_0x4493bb)){const {c1Prime:_0x197640,m2Prime:_0x3087e5}=_0x4493bb;return this['_executeRemoteChangeset'](_0x197640),_0x470b1d[0x0][_0x2ded44(0x1ed)]=this[_0x2ded44(0x2f5)](),this['_clearScheduledTask'](),this[_0x2ded44(0x39e)][_0x2ded44(0x37c)](oe,this[_0x2ded44(0x1b5)],this[_0x2ded44(0xf0)],_0x470b1d[0x0],_0x3087e5,this['_handler'],void 0x0);}throw _0x4493bb[_0x2ded44(0x201)];}throw _0x20e1e7['error'];}catch(_0x2fba29){return this[_0x2ded44(0x12b)]['error'](_0x2fba29),this[_0x2ded44(0x1da)](!0x1);}}[_0x368389(0x19e)](_0xf0051f){var _0x449670=_0x368389;if(this['_clearScheduledTask'](),this[_0x449670(0x306)](_0xf0051f))return this[_0x449670(0x39e)][_0x449670(0x37c)](ee,this[_0x449670(0x1b5)],this[_0x449670(0xf0)],null,this[_0x449670(0x380)],this['_awaitingChangeset'],[],this[_0x449670(0x17e)]);this[_0x449670(0x136)]();const _0x352f6e=this[_0x449670(0x39e)]['createInstance'](ae,this['unitID'],this[_0x449670(0xf0)],this[_0x449670(0x380)],this[_0x449670(0x17e)]);return _0x352f6e['_schedule'](),_0x352f6e[_0x449670(0x361)](),_0x352f6e;}['onRemoteRej'](_0x5e468c){var _0x231770=_0x368389;return this[_0x231770(0x1da)](!!(_0x5e468c!=null&&_0x5e468c['isPermissionRej']));}['onRemoteRetry'](_0x238541){var _0x3d4d53=_0x368389;return this[_0x3d4d53(0x2db)]>gi?this[_0x3d4d53(0x3a9)]():(this[_0x3d4d53(0x168)]=Ii(this[_0x3d4d53(0x2db)],{'timeout':this[_0x3d4d53(0x2db)],'reqId':_0x238541['reqId']}),this['_sender']=this[_0x3d4d53(0x168)][_0x3d4d53(0x116)](({reqId:_0x2b7d0c,timeout:_0x5d14bc})=>{this['_resendWithTimeout'](_0x2b7d0c,_0x5d14bc);}),this);}[_0x368389(0x3a9)](){var _0x3f59f6=_0x368389;return this[_0x3f59f6(0x267)](),this[_0x3f59f6(0x39e)][_0x3f59f6(0x37c)](de,this[_0x3f59f6(0x1b5)],this[_0x3f59f6(0xf0)],this[_0x3f59f6(0x1d4)],this[_0x3f59f6(0x380)],this[_0x3f59f6(0x17e)]);}['toggleOnline'](){return this;}[_0x368389(0x33f)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x368389(0x1da)](_0x13c874){var _0x19f34f=_0x368389;return this[_0x19f34f(0x267)](),this['_injector'][_0x19f34f(0x37c)](ue,this[_0x19f34f(0x1b5)],this[_0x19f34f(0xf0)],null,this[_0x19f34f(0x380)],this['_handler'],_0x13c874);}['_resendWithTimeout'](_0x564ab0,_0x95ada1){var _0xa63a90=_0x368389,_0x1f3b8f;_0x564ab0===((_0x1f3b8f=this[_0xa63a90(0x1d4)])==null?void 0x0:_0x1f3b8f['reqId'])&&(this[_0xa63a90(0x33f)](),this['_resendTimeout']=_0x95ada1===0x0?0x3e8:_0x95ada1*0x2);}['_clearScheduledTask'](){var _0x10e81e=_0x368389,_0x83f503;(_0x83f503=this[_0x10e81e(0x337)])==null||_0x83f503[_0x10e81e(0x2a2)](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x3ce8f0(_0x277f78)),w(0x7,_0x3ce8f0(_0x5d15d6)),w(0x8,_0xcdf754),w(0x9,_0x21f6c3),w(0xa,_0x1a3cad),w(0xb,_0x32ded1),w(0xc,_0x5c10ac(J))],oe);let ue=class extends ge{constructor(_0x3533c2,_0x3b3d1f,_0x443579,_0x20f61c,_0x30939c,_0x4e0fad=!0x1,_0x46b409,_0x28bee1,_0x74033e,_0x5a541a,_0x2d3ee4,_0xf3011f,_0x4a25e4){var _0x448775=_0x368389;super(_0x3533c2,_0x3b3d1f,_0x443579,_0x20f61c,_0x30939c,_0x28bee1,_0x74033e,_0x5a541a,_0x4a25e4),D(this,_0x448775(0x9d),_0x448775(0x2d2)),(this['_isPermissionRej']=_0x4e0fad,this[_0x448775(0x3ab)]=_0x46b409,this[_0x448775(0x2ac)]=_0x2d3ee4,this[_0x448775(0x367)]=_0xf3011f,this['localCacheService']=_0x4a25e4,this[_0x448775(0x19d)](),this[_0x448775(0x210)](),this[_0x448775(0x3b1)]());}[_0x368389(0xbb)](){return this;}[_0x368389(0x2cd)](){return this;}[_0x368389(0x19e)](){return this;}['onRemoteRej'](){return this;}[_0x368389(0x1df)](){return this;}[_0x368389(0x3a9)](){return this;}[_0x368389(0x329)](){return this;}[_0x368389(0x33f)](){var _0x5ccd03=_0x368389;throw new Error(_0x5ccd03(0x1e1));}['_clearLocalCache'](){var _0x5b8fd7=_0x368389,_0x2971da;(_0x2971da=this[_0x5b8fd7(0x307)])==null||_0x2971da[_0x5b8fd7(0x9c)](this[_0x5b8fd7(0x1b5)],this[_0x5b8fd7(0xf0)],null,[]);}['_showConflictNotification'](){var _0x5e48e8=_0x368389;this[_0x5e48e8(0xdd)]?this[_0x5e48e8(0x367)][_0x5e48e8(0x3b6)]({'id':re[_0x5e48e8(0x213)]}):this[_0x5e48e8(0x367)][_0x5e48e8(0x3b6)]({'id':re[_0x5e48e8(0x2ab)]});}[_0x368389(0x3b1)](){var _0x1c7819=_0x368389;this[_0x1c7819(0x3ab)][_0x1c7819(0xe0)](new _0x25ba97(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0x3ce8f0(_0x301d19)),w(0x7,_0xcdf754),w(0x8,_0x32ded1),w(0x9,_0x3ce8f0(_0x5d15d6)),w(0xa,_0x3ce8f0(_0x3ebb61)),w(0xb,_0x3ce8f0(ve)),w(0xc,_0x5c10ac(J))],ue);let de=class extends ge{constructor(_0x5a0059,_0x1e0fa6,_0x2a95a4,_0x11a9a0,_0x406728,_0x52c52b,_0x3aeeea,_0x46305e,_0x461f8a,_0x30943a){var _0x8d663d=_0x368389;super(_0x5a0059,_0x1e0fa6,_0x2a95a4,_0x11a9a0,_0x406728,_0x46305e,_0x461f8a,_0x3aeeea,_0x30943a),D(this,'status',_0x8d663d(0x146)),this[_0x8d663d(0x39e)]=_0x52c52b;}[_0x368389(0xbb)](_0x13114e){var _0x1b4420=_0x368389;return this[_0x1b4420(0x380)][_0x1b4420(0x291)](_0x13114e),this[_0x1b4420(0x361)](),this;}[_0x368389(0x2cd)](_0x14612a){var _0x1f641a=_0x368389;throw new Error(_0x1f641a(0x2f8));}[_0x368389(0x19e)](){var _0x50c39d=_0x368389;throw new Error(_0x50c39d(0x273));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x368389(0x3a9)](){return this;}[_0x368389(0x329)](){var _0x716f16=_0x368389;const {_injector:_0x1a3e1a,_pendingMutations:_0x169fa7,_awaitingChangeset:_0x3986cc,unitID:_0x27fa04,_handler:_0x3f8686,type:_0x557234}=this,_0x1d1c4f=Ti(_0x1a3e1a,_0x27fa04,_0x557234,_0x3986cc,_0x169fa7,_0x3f8686);return _0x1d1c4f instanceof ae?_0x1d1c4f[_0x716f16(0x262)]():(_0x1d1c4f instanceof oe||_0x1d1c4f instanceof le)&&_0x1d1c4f['resend'](),_0x1d1c4f;}[_0x368389(0x33f)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x3ce8f0(_0x277f78)),w(0x6,_0x3ce8f0(_0x5d15d6)),w(0x7,_0xcdf754),w(0x8,_0x32ded1),w(0x9,_0x5c10ac(J))],de);let ee=class extends ge{constructor(_0x8697e3,_0x25b708,_0x279025,_0x270219,_0x4d8217,_0x4196f7,_0x520288,_0xfc0833,_0x43774f,_0x5a6df8,_0x399171,_0x175f8a,_0x5a1068,_0x4b3653){var _0x501e72=_0x368389;super(_0x8697e3,_0x25b708,_0x279025,_0x270219,_0x520288,_0x399171,_0x175f8a,_0x43774f,_0x4b3653),D(this,_0x501e72(0x9d),_0x501e72(0x1de)),(this[_0x501e72(0x377)]=_0x4d8217,this['_queuedRemoteChangesets']=_0x4196f7,this[_0x501e72(0x39e)]=_0xfc0833,this['_logService']=_0x5a6df8,this[_0x501e72(0x12c)]=_0x5a1068,this[_0x501e72(0x269)]=_0x4b3653);}[_0x368389(0x121)](_0x4ddd3a){var _0x5581ea=_0x368389;try{const _0x296b8a=[..._0x4ddd3a,...this[_0x5581ea(0x343)]],_0x29e534=[this[_0x5581ea(0x1d4)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x494184=>!!_0x494184);let _0x269274,_0x3ec654;if(_0x29e534[_0x5581ea(0x3b7)]){const _0x127235=this[_0x5581ea(0x12c)][_0x5581ea(0xa1)](_0x296b8a,_0x29e534,!0x1);if(!_0x507863(_0x127235))throw _0x127235[_0x5581ea(0x201)];_0x269274=_0x127235[_0x5581ea(0x25e)],_0x3ec654=_0x127235[_0x5581ea(0xeb)];}else _0x269274=_0x296b8a,_0x3ec654=[];let _0x4ed1b8=this[_0x5581ea(0x380)];_0x269274['forEach'](_0x305983=>{var _0x254e8f=_0x5581ea;let _0x2c1a17;if(_0x4ed1b8[_0x254e8f(0x3b7)]){const _0x1d231a=this[_0x254e8f(0x12c)][_0x254e8f(0x36e)](_0x305983,_0x4ed1b8);if(!_0x3810cf(_0x1d231a))throw _0x1d231a[_0x254e8f(0x201)];_0x2c1a17=_0x1d231a[_0x254e8f(0x25e)],_0x4ed1b8=_0x1d231a[_0x254e8f(0x155)];}else _0x2c1a17=_0x305983;this['_executeRemoteChangeset'](_0x2c1a17);}),this[_0x5581ea(0x377)]&&this['_incrementRevisionNumber'](),this[_0x5581ea(0x1d4)]&&_0x3ec654[_0x5581ea(0x3b7)]&&(_0x3ec654[0x0]['baseRev']=this['_getCurrentRevision']());let _0x388aec;if(this[_0x5581ea(0x1d4)]&&_0x4ed1b8[_0x5581ea(0x3b7)]!==0x0)_0x388aec=this['_injector']['createInstance'](oe,this[_0x5581ea(0x1b5)],this[_0x5581ea(0xf0)],_0x3ec654[0x0],_0x4ed1b8,this['_handler'],void 0x0);else{if(this[_0x5581ea(0x1d4)]&&_0x4ed1b8[_0x5581ea(0x3b7)]===0x0)_0x3ec654[0x0][_0x5581ea(0x1ed)]=this['_getCurrentRevision'](),_0x388aec=this[_0x5581ea(0x39e)][_0x5581ea(0x37c)](le,this[_0x5581ea(0x1b5)],this['type'],_0x3ec654[0x0],this[_0x5581ea(0x17e)]);else{if(_0x4ed1b8[_0x5581ea(0x3b7)]!==0x0){const _0x4ff63f=this[_0x5581ea(0x39e)][_0x5581ea(0x37c)](ae,this[_0x5581ea(0x1b5)],this[_0x5581ea(0xf0)],_0x4ed1b8,this[_0x5581ea(0x17e)]);_0x4ff63f[_0x5581ea(0x262)](),_0x388aec=_0x4ff63f;}else _0x388aec=this[_0x5581ea(0x39e)]['createInstance'](be,this[_0x5581ea(0x1b5)],this[_0x5581ea(0xf0)],this['_handler']);}}return _0x388aec[_0x5581ea(0x361)](),_0x388aec;}catch(_0x2a3998){return this['_logService']['error'](_0x5581ea(0x300),_0x5581ea(0x22d),_0x2a3998),this[_0x5581ea(0x39e)]['createInstance'](ue,this['unitID'],this['type'],this[_0x5581ea(0x1d4)],this[_0x5581ea(0x380)],this[_0x5581ea(0x17e)],!0x1);}}[_0x368389(0x33f)](){var _0xc70b91=_0x368389;throw new Error(_0xc70b91(0x313));}[_0x368389(0xbb)](_0x5e8eb5){var _0x2320ef=_0x368389;return this['_pendingMutations'][_0x2320ef(0x291)](_0x5e8eb5),this;}[_0x368389(0x2cd)](_0x145e38){var _0x3109fe=_0x368389;return this[_0x3109fe(0x343)][_0x3109fe(0x291)](_0x145e38),this;}[_0x368389(0x19e)](_0xa64bfc){var _0x5f4af5=_0x368389;if(this[_0x5f4af5(0x1d4)])return this[_0x5f4af5(0x377)]=this[_0x5f4af5(0x1d4)],this[_0x5f4af5(0x1d4)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x368389(0x28a)](_0x197cf3){var _0x2daada=_0x368389;return this[_0x2daada(0x1da)](!!(_0x197cf3!=null&&_0x197cf3[_0x2daada(0x255)]));}[_0x368389(0x1df)](){return this;}[_0x368389(0x3a9)](){var _0x4ba781=_0x368389;return this['_injector'][_0x4ba781(0x37c)](de,this[_0x4ba781(0x1b5)],this[_0x4ba781(0xf0)],this[_0x4ba781(0x1d4)],this[_0x4ba781(0x380)],this[_0x4ba781(0x17e)]);}[_0x368389(0x329)](){return this;}[_0x368389(0x1da)](_0x530327){var _0x30899f=_0x368389;return this[_0x30899f(0x39e)][_0x30899f(0x37c)](ue,this[_0x30899f(0x1b5)],this[_0x30899f(0xf0)],this[_0x30899f(0x1d4)],this[_0x30899f(0x380)],this[_0x30899f(0x17e)],_0x530327);}};ee=Se([w(0x7,_0x3ce8f0(_0x277f78)),w(0x8,_0x3ce8f0(_0x5d15d6)),w(0x9,_0x21f6c3),w(0xa,_0xcdf754),w(0xb,_0x32ded1),w(0xc,_0x1a3cad),w(0xd,_0x5c10ac(J))],ee);function Ti(_0xf8cc5f,_0x57d935,_0x57d33d,_0x2bca88,_0x5f0ddf,_0x4f25ab){var _0x371932=_0x368389;return _0x2bca88&&_0x5f0ddf['length']?_0xf8cc5f[_0x371932(0x37c)](oe,_0x57d935,_0x57d33d,_0x2bca88,_0x5f0ddf,_0x4f25ab,void 0x0):_0x2bca88?_0xf8cc5f[_0x371932(0x37c)](le,_0x57d935,_0x57d33d,_0x2bca88,_0x4f25ab):_0x5f0ddf[_0x371932(0x3b7)]?_0xf8cc5f[_0x371932(0x37c)](ae,_0x57d935,_0x57d33d,_0x5f0ddf,_0x4f25ab):_0xf8cc5f[_0x371932(0x37c)](be,_0x57d935,_0x57d33d,_0x4f25ab);}var Hs=Object[_0x368389(0x284)],At=(_0x463819,_0x3cf963,_0xbe08a5,_0x1bcaf6)=>{for(var _0x271bde=_0x1bcaf6>0x1?void 0x0:_0x1bcaf6?Hs(_0x3cf963,_0xbe08a5):_0x3cf963,_0x5bb7e4=_0x463819['length']-0x1,_0x50f8c4;_0x5bb7e4>=0x0;_0x5bb7e4--)(_0x50f8c4=_0x463819[_0x5bb7e4])&&(_0x271bde=_0x50f8c4(_0x271bde)||_0x271bde);return _0x271bde;},$=(_0x355195,_0x1955f8)=>(_0x3b89e9,_0x31e5e3)=>_0x1955f8(_0x3b89e9,_0x31e5e3,_0x355195);let st=class extends _0x4eb61d{constructor(_0x2c2b71,_0x5cac6b,_0x4d08f6,_0x188095,_0x368c0d,_0x48a7be,_0x2c459d,_0x1fddde,_0x2229c2,_0x42a676,_0x4822d7,_0x4eec7f,_0x203eb6,_0x886a77){var _0x4bf680=_0x368389;super(),D(this,_0x4bf680(0x204),new _0x1593ab(null)),D(this,_0x4bf680(0x375),this['_state$'][_0x4bf680(0x166)]()),D(this,_0x4bf680(0x395)),D(this,'_collaborationPaused',!0x1),D(this,_0x4bf680(0x1f4),''),D(this,'_changesetReqId',0x0),D(this,_0x4bf680(0x320),this[_0x4bf680(0x375)][_0x4bf680(0x279)](_0x418f83(_0x303794=>_0x303794?_0x303794[_0x4bf680(0x9d)]:Si['OFFLINE']),_0xc52802(0x1))),D(this,_0x4bf680(0x167),!0x1),D(this,_0x4bf680(0xb7),[]),(this[_0x4bf680(0x1b5)]=_0x2c2b71,this['session']=_0x5cac6b,this['_type']=_0x4d08f6,this['_injector']=_0x188095,this[_0x4bf680(0x1b4)]=_0x368c0d,this['_localeService']=_0x48a7be,this[_0x4bf680(0x125)]=_0x2c459d,this[_0x4bf680(0x2c2)]=_0x1fddde,this[_0x4bf680(0x14b)]=_0x2229c2,this[_0x4bf680(0x12b)]=_0x42a676,this[_0x4bf680(0x2d5)]=_0x4822d7,this[_0x4bf680(0x3ab)]=_0x4eec7f,this['_singleActiveUnitService']=_0x203eb6,this['_localCacheService']=_0x886a77);}get[_0x368389(0x2ff)](){var _0x569c76=_0x368389;return this[_0x569c76(0x395)];}async[_0x368389(0x3b3)](){var _0x5d674b=_0x368389;if(this[_0x5d674b(0x2ff)])throw new Error(_0x5d674b(0x34d));await this[_0x5d674b(0x321)]();}[_0x368389(0xbd)](){var _0x5cef8d=_0x368389;return this[_0x5cef8d(0xf3)]=!0x0,_0x58dc5a(()=>{var _0x1a73cb=_0x5cef8d;this[_0x1a73cb(0xf3)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x368389(0x199)](_0x170503){var _0x3ae528=_0x368389;this[_0x3ae528(0x227)](_0x170503);}[_0x368389(0x295)](_0x159928){var _0x326963=_0x368389;this[_0x326963(0x395)]=_0x159928,this[_0x326963(0x204)][_0x326963(0x29b)](_0x159928);}async['_init'](){var _0x14832e=_0x368389,_0x1e5502;this[_0x14832e(0x295)](await this[_0x14832e(0x34b)]()),this[_0x14832e(0x148)]&&((_0x1e5502=this[_0x14832e(0x148)])==null||_0x1e5502[_0x14832e(0x10c)](this[_0x14832e(0x1b5)]),this[_0x14832e(0x2af)](this[_0x14832e(0x148)][_0x14832e(0x340)](this['unitID'])[_0x14832e(0x116)](_0x551ba0=>{var _0x1b3f44=_0x14832e;this[_0x1b3f44(0x12b)]['debug'](_0x1b3f44(0xc4),_0x1b3f44(0x394),_0x551ba0),_0x551ba0===mi[_0x1b3f44(0x2be)]?(this[_0x1b3f44(0x2c2)][_0x1b3f44(0x3b6)]({'id':re[_0x1b3f44(0x1a0)]}),this[_0x1b3f44(0x3ab)]['updatePermissionPoint'](new _0x25ba97(this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x1b3f44(0x3ab)][_0x1b3f44(0xe0)](new _0x25ba97(this['unitID'])['id'],!0x0),this[_0x1b3f44(0x3ab)][_0x1b3f44(0x2e1)](!0x0));})));let _0x5a0279=!0x1;return this['disposeWithMe'](this[_0x14832e(0x114)][_0x14832e(0x350)]['subscribe'](_0x307aa4=>{var _0x3b7969=_0x14832e;_0x307aa4===me[_0x3b7969(0x17a)]?this[_0x3b7969(0x19a)](_0x5a0279):_0x307aa4===me['OFFLINE']&&(_0x5a0279=!0x0,this[_0x3b7969(0x1d6)]());})),this[_0x14832e(0x2af)](this['session'][_0x14832e(0x30e)][_0x14832e(0x116)](_0x59bb84=>{var _0x67beab=_0x14832e;try{switch(_0x59bb84[_0x67beab(0x159)]){case _0x19843e[_0x67beab(0x398)]:{this[_0x67beab(0x2cb)](_0x352403(_0x59bb84['data']));break;}case _0x19843e[_0x67beab(0x1fe)]:{this[_0x67beab(0x312)](_0x59bb84[_0x67beab(0x389)]);break;}case _0x19843e[_0x67beab(0x327)]:{this['_onRemoteRejected']();break;}case _0x19843e[_0x67beab(0x2bb)]:{this[_0x67beab(0x334)](_0x59bb84[_0x67beab(0x389)]);break;}case _0x19843e[_0x67beab(0x205)]:{this[_0x67beab(0x1bc)](_0x59bb84['data']['changesets'][_0x67beab(0x28c)](_0x5d360e=>_0x352403(_0x5d360e)));break;}case _0x19843e[_0x67beab(0x238)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x19843e[_0x67beab(0x214)]:break;}}catch(_0x52928b){throw console[_0x67beab(0x201)](_0x67beab(0x176),_0x52928b),_0x52928b;}})),this['_state'];}[_0x368389(0x90)](){var _0x2a171c=_0x368389;this[_0x2a171c(0x167)]=!0x1;}['_lockTransition'](){var _0x355642=_0x368389;if(this[_0x355642(0x167)])throw new Error(_0x355642(0x196));this['_transitionLocked']=!0x0;}[_0x368389(0x227)](_0x51796b){var _0x24aff6=_0x368389;this[_0x24aff6(0x113)](),this[_0x24aff6(0x295)](this[_0x24aff6(0x395)][_0x24aff6(0xbb)](_0x51796b)),this['_unlockTransition']();}[_0x368389(0x2cb)](_0x419d03){var _0x1d3666=_0x368389;if(!(_0x419d03['revision']<=this[_0x1d3666(0x125)][_0x1d3666(0x32a)](this['unitID']))){if(this[_0x1d3666(0xf3)]){this['_remoteChangesetQueue'][_0x1d3666(0x291)](_0x419d03);return;}this[_0x1d3666(0x1c6)](_0x419d03);}}[_0x368389(0xe2)](){var _0x161671=_0x368389;this[_0x161671(0xb7)][_0x161671(0x20e)](_0x46f247=>this[_0x161671(0x1c6)](_0x46f247)),this[_0x161671(0xb7)]=[];}[_0x368389(0x1c6)](_0x2a6529){var _0x76e5e7=_0x368389;const _0x329b9d=this['_compressMutationService'][_0x76e5e7(0x38b)]['fetchThroughInterceptors'](this[_0x76e5e7(0x1b4)][_0x76e5e7(0x38b)][_0x76e5e7(0x1d0)]()[_0x76e5e7(0x2ca)])(_0x2a6529[_0x76e5e7(0x162)],null)||_0x2a6529[_0x76e5e7(0x162)],_0x24b39b={..._0x2a6529,'mutations':_0x329b9d};this[_0x76e5e7(0x113)](),this[_0x76e5e7(0x295)](this[_0x76e5e7(0x395)][_0x76e5e7(0x2cd)](_0x24b39b)),this[_0x76e5e7(0x90)]();}[_0x368389(0x312)](_0x1b4a13){var _0x227e4c=_0x368389;this[_0x227e4c(0x113)](),this[_0x227e4c(0x295)](this[_0x227e4c(0x395)][_0x227e4c(0x19e)](_0x1b4a13)),this[_0x227e4c(0x90)]();}[_0x368389(0xa5)](_0x59c8bd){var _0x230609=_0x368389;this[_0x230609(0x113)](),this[_0x230609(0x295)](this[_0x230609(0x395)][_0x230609(0x28a)](_0x59c8bd)),this[_0x230609(0x90)]();}[_0x368389(0x334)](_0x1207d2){var _0x4879d3=_0x368389;this[_0x4879d3(0x113)](),this[_0x4879d3(0x295)](this[_0x4879d3(0x395)][_0x4879d3(0x1df)](_0x1207d2)),this[_0x4879d3(0x90)]();}['_onFetchMissResult'](_0x51d518){var _0x150d0b=_0x368389;if(!(this[_0x150d0b(0x395)]instanceof ee))throw new TypeError(_0x150d0b(0x1ad));const _0x590dfe=_0x51d518[_0x150d0b(0x28c)](_0x172853=>{var _0x44bc59=_0x150d0b;const _0x2d310c=this[_0x44bc59(0x1b4)][_0x44bc59(0x38b)][_0x44bc59(0x2bc)](this['_compressMutationService']['interceptor'][_0x44bc59(0x1d0)]()[_0x44bc59(0x2ca)])(_0x172853[_0x44bc59(0x162)],null)||_0x172853[_0x44bc59(0x162)];return{..._0x172853,'mutations':_0x2d310c};});this['_lockTransition'](),this[_0x150d0b(0x295)](this[_0x150d0b(0x395)]['onMissedChangesetFetched'](_0x590dfe)),this[_0x150d0b(0x90)]();}[_0x368389(0x1d6)](){var _0x534d2d=_0x368389;this[_0x534d2d(0x113)](),this['_updateState'](this[_0x534d2d(0x395)][_0x534d2d(0x3a9)]()),this[_0x534d2d(0x90)]();}['_toggleOnline'](_0x458bf8=!0x1){var _0xeb7d57=_0x368389;this['_lockTransition'](),this[_0xeb7d57(0x295)](this['_state'][_0xeb7d57(0x329)]()),this['_unlockTransition']();const _0x554489=this[_0xeb7d57(0x395)];_0x458bf8&&_0x554489 instanceof be&&(this[_0xeb7d57(0x113)](),this[_0xeb7d57(0x295)](_0x554489[_0xeb7d57(0x211)]()),this[_0xeb7d57(0x90)]());}async['_createInitialState'](){return new Promise(_0x2d60ca=>{var _0x12ea41=_0x4f24;this['session'][_0x12ea41(0x350)]['pipe'](_0x4ebc57(0x1))[_0x12ea41(0x116)](async _0x57d889=>{var _0x54d83=_0x12ea41;_0x2d60ca(await this[_0x54d83(0x3a3)](_0x57d889===me[_0x54d83(0x17a)]));});});}['_createHandler'](){const _0x2827ef=this['unitID'];return{'onStateChange':(_0x3c15c9,_0xae0050)=>{var _0x5bcdda=_0x4f24;if(_0x3c15c9!==this[_0x5bcdda(0x395)])throw new Error(_0x5bcdda(0x20c)+_0x3c15c9[_0x5bcdda(0x9d)]+'\x0aAfter:\x20'+_0xae0050[_0x5bcdda(0x9d)]+_0x5bcdda(0x182)+this['_state'][_0x5bcdda(0x9d)]);this[_0x5bcdda(0x295)](_0xae0050);},'onSendChangeset':_0x59bdcc=>{var _0x317eb3=_0x4f24;_0x59bdcc[_0x317eb3(0x2cf)]||(_0x59bdcc['sid']=this[_0x317eb3(0x1f4)],_0x59bdcc[_0x317eb3(0xfe)]=++this[_0x317eb3(0x30a)]);const _0x24d22c={'eventID':_0x19843e[_0x317eb3(0x1a8)],'data':{'unitID':_0x59bdcc[_0x317eb3(0x1b5)],'unitType':this[_0x317eb3(0xa7)],'changeset':_0x59bdcc,'memberID':this[_0x317eb3(0x114)]['getMemberID']()}};this[_0x317eb3(0x114)][_0x317eb3(0x1bb)](_0x24d22c,this['unitID']);},'onMissingChangesets':({from:_0x304bc9,to:_0x3db2cb})=>{var _0x4bb82e=_0x4f24;this[_0x4bb82e(0x12b)][_0x4bb82e(0x2c3)](_0x4bb82e(0xc4),'fetching\x20missing\x20changesets\x20from\x20'+_0x304bc9+_0x4bb82e(0xca)+_0x3db2cb);const _0x2ec242={'eventID':_0x19843e[_0x4bb82e(0x14c)],'data':{'unitID':_0x2827ef,'unitType':this[_0x4bb82e(0xa7)],'from':_0x304bc9,'to':_0x3db2cb}};this[_0x4bb82e(0x114)]['send'](_0x2ec242,this[_0x4bb82e(0x1b5)]);}};}async[_0x368389(0x3a3)](_0x2a28fa){var _0x4e5136=_0x368389,_0x264319,_0x38d357,_0x21ac7f;const _0x5b74bc=await((_0x264319=this[_0x4e5136(0x307)])==null?void 0x0:_0x264319[_0x4e5136(0x1f9)](this[_0x4e5136(0x1b5)])),_0x41209d=(_0x38d357=_0x5b74bc==null?void 0x0:_0x5b74bc['mutations'])!=null?_0x38d357:[],_0x20fa2e=(_0x21ac7f=_0x5b74bc==null?void 0x0:_0x5b74bc['awaitingChangeset'])!=null?_0x21ac7f:null,_0x3eb193=!!(_0x20fa2e!=null&&_0x20fa2e[_0x4e5136(0x2cf)])&&!!(_0x20fa2e!=null&&_0x20fa2e[_0x4e5136(0xfe)]);this['_changesetSessionId']=_0x3eb193?_0x20fa2e['sid']:_0x41b51c(),this[_0x4e5136(0x30a)]=_0x3eb193?_0x20fa2e[_0x4e5136(0xfe)]:0x0;const _0x517576=this[_0x4e5136(0x1b5)];try{this[_0x4e5136(0x1a3)](_0x20fa2e,_0x41209d);}catch(_0x11f96d){this[_0x4e5136(0x12b)][_0x4e5136(0x201)](_0x11f96d);}const _0x6d48e9=this[_0x4e5136(0x1e7)]();if(_0x2a28fa){const _0x59037=Ti(this[_0x4e5136(0x39e)],_0x517576,this[_0x4e5136(0xa7)],_0x20fa2e,_0x41209d,_0x6d48e9);return _0x59037 instanceof ae?_0x59037[_0x4e5136(0x262)]():(_0x59037 instanceof oe||_0x59037 instanceof le)&&_0x59037['resend'](),_0x59037;}return this['_injector'][_0x4e5136(0x37c)](de,_0x517576,this[_0x4e5136(0xa7)],_0x20fa2e,_0x41209d,_0x6d48e9);}[_0x368389(0x1a3)](_0x2a82b4,_0x45c407){var _0x2b8999=_0x368389,_0x4af4a4,_0x3d65db;const _0x2342d7=this[_0x2b8999(0x1b4)][_0x2b8999(0x38b)][_0x2b8999(0x2bc)](this[_0x2b8999(0x1b4)][_0x2b8999(0x38b)][_0x2b8999(0x1d0)]()['COMPRESS_MUTATION_APPLY']);(_0x4af4a4=_0x2342d7((_0x2a82b4==null?void 0x0:_0x2a82b4[_0x2b8999(0x162)])||[],null))==null||_0x4af4a4['forEach'](_0x346eac=>this['_commandService']['executeCommand'](_0x346eac['id'],_0x346eac[_0x2b8999(0x180)])),(_0x3d65db=_0x2342d7(_0x45c407||[],null))==null||_0x3d65db[_0x2b8999(0x20e)](_0x40faf6=>this[_0x2b8999(0x2d5)]['executeCommand'](_0x40faf6['id'],_0x40faf6[_0x2b8999(0x180)]));}};st=At([$(0x3,_0x3ce8f0(_0x277f78)),$(0x4,_0x3ce8f0(_0x367c0f)),$(0x5,_0x3ce8f0(_0x3ebb61)),$(0x6,_0x3ce8f0(_0x5d15d6)),$(0x7,_0x3ce8f0(ve)),$(0x8,_0x558d3e),$(0x9,_0x21f6c3),$(0xa,_0xcdf754),$(0xb,_0x301d19),$(0xc,_0x5c10ac(_t)),$(0xd,_0x5c10ac(J))],st);let It=class extends st{constructor(_0x4fee32,_0x479fa1,_0x1ee2e8,_0x1dd924,_0x5c22c6,_0x1d07e1,_0x446424,_0x2c9046,_0x3e919e,_0x2eb275,_0x4df57c,_0x464497,_0x3ca1c0,_0x45ef1e){var _0x11c9d4=_0x368389;super(_0x4fee32,_0x1ee2e8,_0x479fa1,_0x1dd924,_0x5c22c6,_0x1d07e1,_0x446424,_0x2c9046,_0x3e919e,_0x2eb275,_0x4df57c,_0x464497,_0x3ca1c0,_0x45ef1e),D(this,_0x11c9d4(0x310),null),(this['unitID']=_0x4fee32,this[_0x11c9d4(0xf0)]=_0x479fa1);}[_0x368389(0x2fe)](_0x2ace75){var _0x19a63e=_0x368389;this[_0x19a63e(0x310)]=_0x2ace75;}[_0x368389(0xc9)](){var _0x159d9a=_0x368389;this[_0x159d9a(0x310)]=null,super[_0x159d9a(0xc9)]();}[_0x368389(0x1e7)](){var _0x37f6b3=_0x368389;const _0x2e035e=super[_0x37f6b3(0x1e7)]();return _0x2e035e[_0x37f6b3(0x265)]=_0x13d924=>{var _0x1b02be=_0x37f6b3,_0x57083c,_0x2b55aa;return(_0x2b55aa=(_0x57083c=this[_0x1b02be(0x310)])==null?void 0x0:_0x57083c[_0x1b02be(0x265)])==null?void 0x0:_0x2b55aa['call'](_0x57083c,_0x13d924);},_0x2e035e[_0x37f6b3(0x309)]=_0x382a29=>{var _0x12ae85=_0x37f6b3,_0x1eee9b,_0x32609b;return(_0x32609b=(_0x1eee9b=this['_handlerCallback'])==null?void 0x0:_0x1eee9b['onTransformState'])==null?void 0x0:_0x32609b[_0x12ae85(0xf4)](_0x1eee9b,_0x382a29);},_0x2e035e['onTransformSelections']=_0x4e8a7b=>{var _0x4fdb93=_0x37f6b3,_0x28fbbd,_0x14d69a;return(_0x14d69a=(_0x28fbbd=this[_0x4fdb93(0x310)])==null?void 0x0:_0x28fbbd[_0x4fdb93(0x319)])==null?void 0x0:_0x14d69a[_0x4fdb93(0xf4)](_0x28fbbd,_0x4e8a7b);},_0x2e035e[_0x37f6b3(0xb1)]=_0x176ff9=>{var _0x4123a3=_0x37f6b3,_0x808d7,_0xf30f44;return(_0xf30f44=(_0x808d7=this[_0x4123a3(0x310)])==null?void 0x0:_0x808d7[_0x4123a3(0xb1)])==null?void 0x0:_0xf30f44[_0x4123a3(0xf4)](_0x808d7,_0x176ff9);},_0x2e035e[_0x37f6b3(0x276)]=_0x140070=>{var _0x5ab39a=_0x37f6b3,_0x57c327,_0x404d9d,_0x261090;if(!((_0x57c327=this[_0x5ab39a(0x310)])!=null&&_0x57c327[_0x5ab39a(0x276)]))throw new Error(_0x5ab39a(0x160));return(_0x261090=(_0x404d9d=this[_0x5ab39a(0x310)])==null?void 0x0:_0x404d9d['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x261090['call'](_0x404d9d,_0x140070);},_0x2e035e[_0x37f6b3(0x192)]=_0x5ea95c=>{var _0xac648c=_0x37f6b3,_0x37eba1,_0x31753a,_0x203c00;if(!((_0x37eba1=this['_handlerCallback'])!=null&&_0x37eba1[_0xac648c(0x192)]))throw new Error(_0xac648c(0x170));return(_0x203c00=(_0x31753a=this[_0xac648c(0x310)])==null?void 0x0:_0x31753a[_0xac648c(0x192)])==null?void 0x0:_0x203c00[_0xac648c(0xf4)](_0x31753a,_0x5ea95c);},_0x2e035e;}async[_0x368389(0x321)](){var _0x5d3b6a=_0x368389;const _0x3da388=await super[_0x5d3b6a(0x321)]();return this[_0x5d3b6a(0x2af)](this[_0x5d3b6a(0x2d5)]['onCommandExecuted']((_0xefb3ba,_0x44d966)=>{var _0x41f166=_0x5d3b6a;if(_0xefb3ba[_0x41f166(0xf0)]!==_0x5181b7['MUTATION']||_0x44d966!=null&&_0x44d966[_0x41f166(0x3b8)]||_0x44d966!=null&&_0x44d966[_0x41f166(0x153)]||_0xefb3ba['id']===_0x62620b['id'])return;const _0x2cdd04=_0xefb3ba[_0x41f166(0x180)];if((_0x2cdd04==null?void 0x0:_0x2cdd04[_0x41f166(0x32d)])!==this[_0x41f166(0x1b5)])return;const _0x56cc51=_0xefb3ba,_0x150e20=this[_0x41f166(0x1b4)]['interceptor'][_0x41f166(0x2bc)](this[_0x41f166(0x1b4)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x56cc51],this['_univerInstanceService'])||[_0x56cc51];this[_0x41f166(0x227)](_0x150e20[0x0]);})),_0x3da388;}};It=At([$(0x3,_0x3ce8f0(_0x277f78)),$(0x4,_0x3ce8f0(_0x367c0f)),$(0x5,_0x3ce8f0(_0x3ebb61)),$(0x6,_0x3ce8f0(_0x5d15d6)),$(0x7,_0x3ce8f0(ve)),$(0x8,_0x558d3e),$(0x9,_0x21f6c3),$(0xa,_0xcdf754),$(0xb,_0x301d19),$(0xc,_0x5c10ac(_t)),$(0xd,_0x5c10ac(J))],It);let St=class extends st{constructor(_0xa3041c,_0x71b81a,_0x45c4c2,_0xf888b,_0x520553,_0x3fcc00,_0xf24cf5,_0x224985,_0x5e818a,_0x437ac2,_0x210583,_0x30b477,_0x4c8298,_0x368b77,_0x450688){var _0x545623=_0x368389;super(_0xa3041c,_0x45c4c2,_0x71b81a,_0xf888b,_0x520553,_0x3fcc00,_0xf24cf5,_0x5e818a,_0x437ac2,_0x210583,_0x30b477,_0x4c8298,_0x368b77,_0x450688),this[_0x545623(0x1b5)]=_0xa3041c,this['type']=_0x71b81a,this['_sheetTransformSelectionsService']=_0x224985;}['_createHandler'](){var _0x2b966d=_0x368389;const _0x1ac937=super['_createHandler']();return _0x1ac937[_0x2b966d(0x319)]=_0x22d8f5=>this[_0x2b966d(0x347)][_0x2b966d(0x13b)](_0x22d8f5),_0x1ac937;}async[_0x368389(0x321)](){var _0x8ded9b=_0x368389;const _0x24e674=await super[_0x8ded9b(0x321)]();return this[_0x8ded9b(0x2af)](this[_0x8ded9b(0x2d5)]['onCommandExecuted']((_0x2db7a5,_0x35b630)=>{var _0xd6034=_0x8ded9b;if(_0x2db7a5[_0xd6034(0xf0)]!==_0x5181b7[_0xd6034(0x152)]||_0x35b630!=null&&_0x35b630[_0xd6034(0x3b8)]||_0x35b630!=null&&_0x35b630[_0xd6034(0x153)])return;const _0x33bb3c=_0x2db7a5['params'];if((_0x33bb3c==null?void 0x0:_0x33bb3c['unitId'])!==this[_0xd6034(0x1b5)])return;const _0x481822=_0x2db7a5,_0x25aab9=this[_0xd6034(0x1b4)][_0xd6034(0x38b)][_0xd6034(0x2bc)](this[_0xd6034(0x1b4)][_0xd6034(0x38b)][_0xd6034(0x1d0)]()[_0xd6034(0xa0)])([_0x481822],this[_0xd6034(0x14b)])||[_0x481822];this['_onLocalMutation'](_0x25aab9[0x0]);})),_0x24e674;}};St=At([$(0x3,_0x3ce8f0(_0x277f78)),$(0x4,_0x3ce8f0(_0x367c0f)),$(0x5,_0x3ce8f0(_0x3ebb61)),$(0x6,_0x3ce8f0(_0x5d15d6)),$(0x7,_0x3ce8f0(it)),$(0x8,_0x3ce8f0(ve)),$(0x9,_0x558d3e),$(0xa,_0x21f6c3),$(0xb,_0xcdf754),$(0xc,_0x301d19),$(0xd,_0x5c10ac(_t)),$(0xe,_0x5c10ac(J))],St);const Bs=_0xb11ef5('univer-pro.collaboration-client.network-condition.service');function Fs(_0x951a35){var _0x4e1ed1=_0x368389,_0x1d9690,_0x37ec55,_0x44a344,_0x355e8c,_0x183d96;const _0x192d76=_0x951a35['data'],_0x25e5f3=JSON[_0x4e1ed1(0x154)](_0x192d76);switch(_0x25e5f3['cmd']){case j[_0x4e1ed1(0x2ba)]:case j['HELLO']:{const _0x206c23=_0x25e5f3[_0x4e1ed1(0xbc)];return{..._0x25e5f3,'data':_0x206c23,'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};}case j[_0x4e1ed1(0x171)]:{const _0x37cea2=_0x25e5f3[_0x4e1ed1(0x2b3)];return{..._0x25e5f3,'data':_0x37cea2,'cmd':_0x25e5f3['cmd']};}case j[_0x4e1ed1(0x1f8)]:{const _0x33363b=_0x25e5f3[_0x4e1ed1(0x1e0)];switch(_0x33363b[_0x4e1ed1(0x159)]){case _0x19843e[_0x4e1ed1(0x238)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x1d9690=_0x33363b[_0x4e1ed1(0xb4)])==null?void 0x0:_0x1d9690['cs']},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x1fe)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x37ec55=_0x33363b[_0x4e1ed1(0x24f)])==null?void 0x0:_0x37ec55['cs']},'cmd':_0x25e5f3['cmd']};case _0x19843e[_0x4e1ed1(0x398)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x44a344=_0x33363b[_0x4e1ed1(0x3b9)])==null?void 0x0:_0x44a344['cs']},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x327)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x355e8c=_0x33363b['csRejEvent'])==null?void 0x0:_0x355e8c['cs']},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e['CHANGESET_SHOULD_RETRY']:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x183d96=_0x33363b[_0x4e1ed1(0xcc)])==null?void 0x0:_0x183d96['cs']},'cmd':_0x25e5f3['cmd']};case _0x19843e['UPDATE_CURSOR']:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x115)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x16e)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x218)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x3a7)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x143)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0xd4)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b['liveShareNewHost']},'cmd':_0x25e5f3['cmd']};case _0x19843e[_0x4e1ed1(0x360)]:case _0x19843e[_0x4e1ed1(0x203)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0xea)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e['LIVESHARE_TERMINATE']:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x197)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x1b3)]:return{..._0x25e5f3,'data':_0x33363b,'cmd':_0x25e5f3['cmd']};case _0x19843e[_0x4e1ed1(0x16a)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x2b9)]},'cmd':_0x25e5f3['cmd']};case _0x19843e['UPDATE_PERMISSION_OBJ']:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x2ae)]},'cmd':_0x25e5f3['cmd']};case _0x19843e[_0x4e1ed1(0xfc)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0xcf)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e['UNISCRIPT_RUN']:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x1c1)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};default:return _0x25e5f3;}}default:return _0x25e5f3;}}function js(_0x1d0296){var _0x138833=_0x368389;switch(_0x1d0296[_0x138833(0x14d)]){case j[_0x138833(0x2ba)]:case j[_0x138833(0x1cb)]:return JSON[_0x138833(0x2bd)]({'cmd':_0x1d0296['cmd'],'routeKey':_0x1d0296[_0x138833(0x30c)]});case j[_0x138833(0x15f)]:{let _0x530178;switch(_0x1d0296[_0x138833(0x389)][_0x138833(0x159)]){case _0x19843e[_0x138833(0x15e)]:{_0x530178={'eventID':_0x19843e[_0x138833(0x15e)],'updateCursorEvent':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0x3a7)]:{_0x530178={'eventID':_0x19843e['USERS_LEAVE'],'leaveEvent':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0x16e)]:{_0x530178={'eventID':_0x19843e['USERS_ENTER'],'joinEvent':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0xd4)]:{_0x530178={'eventID':_0x19843e[_0x138833(0xd4)],'liveShareNewHost':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0x203)]:{_0x530178={'eventID':_0x19843e[_0x138833(0x203)],'liveShareOperation':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0x2ef)]:{_0x530178={'eventID':_0x19843e[_0x138833(0x2ef)],'liveShareTerminate':_0x1d0296['data']['data']};break;}case _0x19843e[_0x138833(0xa8)]:{_0x530178={'eventID':_0x19843e['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1d0296['data']['data']};break;}case _0x19843e[_0x138833(0x360)]:{_0x530178={'eventID':_0x19843e['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x530178={'eventID':_0x1d0296[_0x138833(0x389)][_0x138833(0x159)]};}return JSON[_0x138833(0x2bd)]({'cmd':_0x1d0296[_0x138833(0x14d)],'routeKey':_0x1d0296[_0x138833(0x30c)],'collaMsg':_0x530178});}case j[_0x138833(0x171)]:return JSON[_0x138833(0x2bd)]({'cmd':_0x1d0296['cmd'],'routeKey':_0x1d0296[_0x138833(0x30c)],'joinReq':_0x1d0296[_0x138833(0x389)]});case j[_0x138833(0x105)]:return JSON[_0x138833(0x2bd)]({'cmd':_0x1d0296['cmd'],'routeKey':_0x1d0296[_0x138833(0x30c)],'leaveReq':_0x1d0296[_0x138833(0x389)]});default:throw new Error(_0x138833(0x13e));}}var Vs=Object[_0x368389(0x284)],Gs=(_0x3e9db0,_0x11ac43,_0x11943a,_0x5604d3)=>{var _0x36858f=_0x368389;for(var _0xdf5115=_0x5604d3>0x1?void 0x0:_0x5604d3?Vs(_0x11ac43,_0x11943a):_0x11ac43,_0x344d59=_0x3e9db0[_0x36858f(0x3b7)]-0x1,_0x274d47;_0x344d59>=0x0;_0x344d59--)(_0x274d47=_0x3e9db0[_0x344d59])&&(_0xdf5115=_0x274d47(_0xdf5115)||_0xdf5115);return _0xdf5115;},ye=(_0xecec9e,_0x5de04f)=>(_0x4f20cc,_0x1ea51a)=>_0x5de04f(_0x4f20cc,_0x1ea51a,_0xecec9e);const Oi=_0xb11ef5('univer-pro.collaboration-client-socket-service');function Ws(_0x11f377,_0x3cc763,_0x4b2308){var _0x5a1dd5=_0x368389;return _0x11f377+'/'+_0x3cc763+_0x5a1dd5(0x10e)+_0x4b2308+_0x5a1dd5(0x3af);}let Gt=class extends _0x1b9234{constructor(_0x2982e1,_0x56769e,_0x5cfd75,_0x2dcaae,_0x4e220d){var _0x20edb8=_0x368389;super(),this[_0x20edb8(0x39e)]=_0x2982e1,this[_0x20edb8(0x342)]=_0x56769e,this[_0x20edb8(0xb8)]=_0x5cfd75,this[_0x20edb8(0x12b)]=_0x2dcaae,this['_snapshotServerService']=_0x4e220d;}[_0x368389(0xc3)](_0x4266a7){var _0x3284f1=_0x368389;const _0x59f042=this[_0x3284f1(0x39e)]['get'](_0x4c7d58);if(!_0x59f042)throw new Error(_0x3284f1(0x26d));const _0x1ab88e=_0x59f042[_0x3284f1(0xa9)](_0x4266a7);if(!_0x1ab88e)throw new Error(_0x3284f1(0x250));const _0x554ce3=new _0x488b39(),_0x3b1710=new _0x7c3fbd();_0x554ce3['add'](_0x1ab88e[_0x3284f1(0x39f)][_0x3284f1(0x116)](_0x2995e0=>_0x3b1710['next'](_0x2995e0))),_0x554ce3['add'](_0x58dc5a(()=>_0x3b1710[_0x3284f1(0x355)]()));const _0x53ff8b=new _0x7c3fbd();_0x554ce3[_0x3284f1(0x36c)](_0x1ab88e['error$'][_0x3284f1(0x116)](_0x32afb5=>_0x53ff8b[_0x3284f1(0x29b)](_0x32afb5))),_0x554ce3[_0x3284f1(0x36c)](_0x58dc5a(()=>_0x53ff8b[_0x3284f1(0x355)]()));const _0x49e940=new _0x7c3fbd();_0x554ce3[_0x3284f1(0x36c)](_0x1ab88e[_0x3284f1(0x357)][_0x3284f1(0x116)](_0x2386bb=>{const _0x407e8a=Fs(_0x2386bb);_0x49e940['next'](_0x407e8a);})),_0x554ce3[_0x3284f1(0x36c)](_0x58dc5a(()=>_0x49e940[_0x3284f1(0x355)]()));let _0x5ae432;const _0x3c0340=()=>{var _0x58f00f=_0x3284f1;_0x53ff8b[_0x58f00f(0x29b)](new Event(_0x58f00f(0x2fc))),_0x3b1710[_0x58f00f(0x29b)](new Event(_0x58f00f(0x2fc))),_0x5ae432[_0x58f00f(0x24b)]();};return _0x5ae432={'memberID':'','close$':_0x3b1710[_0x3284f1(0x166)](),'error$':_0x53ff8b[_0x3284f1(0x166)](),'open$':_0x1ab88e[_0x3284f1(0xc8)],'message$':_0x49e940[_0x3284f1(0x166)](),'send':_0x408adf=>{var _0x46ebbe=_0x3284f1;if(_0x408adf['cmd']===j[_0x46ebbe(0x15f)]){if(_0x408adf[_0x46ebbe(0x389)]['eventID']===_0x19843e[_0x46ebbe(0x1a8)]){this['_submitChangeset'](_0x5ae432,_0x408adf['data'])[_0x46ebbe(0x126)](_0x1db740=>{var _0x347bd6=_0x46ebbe;this[_0x347bd6(0x12b)]['error'](_0x1db740),_0x3c0340();});return;}if(_0x408adf['data'][_0x46ebbe(0x159)]===_0x19843e[_0x46ebbe(0x14c)]){const _0xf53386=_0x408adf[_0x46ebbe(0x389)];this[_0x46ebbe(0x128)](_0xf53386)[_0x46ebbe(0x117)](_0x528c6a=>{var _0x4a551b=_0x46ebbe;_0x49e940[_0x4a551b(0x29b)]({'cmd':j['RECV'],'code':pe['OK'],'routeKey':_0xf53386[_0x4a551b(0x389)][_0x4a551b(0x1b5)],'routeType':'','data':{'eventID':_0x19843e[_0x4a551b(0x205)],'data':{'changesets':_0x528c6a}}});})[_0x46ebbe(0x126)](_0x2432a=>{this['_logService']['error'](_0x2432a),_0x3c0340();});return;}}_0x1ab88e[_0x46ebbe(0x1bb)](js(_0x408adf));},'close':()=>{var _0x488392=_0x3284f1;_0x1ab88e[_0x488392(0x24b)](),_0x554ce3['dispose']();}},_0x5ae432;}async[_0x368389(0x28f)](_0x3057fa,_0x5b5fb3){var _0x3bb12b=_0x368389,_0x2763a1;const {unitType:_0x1f7f68,unitID:_0x5b8038,changeset:_0x336b63}=_0x5b5fb3['data'],_0x2a41be={'unitID':_0x5b8038,'memberID':_0x3057fa[_0x3bb12b(0x2f0)],'type':_0x1f7f68,'changeset':_0x739362(_0x336b63)},_0x396b2f=this['_configService'][_0x3bb12b(0x19b)](K),_0x5be512=Ws((_0x2763a1=_0x396b2f==null?void 0x0:_0x396b2f[_0x3bb12b(0xf6)])!=null?_0x2763a1:Os,_0x1f7f68,_0x5b8038);try{await this[_0x3bb12b(0x342)]['post'](_0x5be512,{'body':_0x2a41be});}catch(_0x3d3c79){throw this[_0x3bb12b(0x12b)][_0x3bb12b(0x201)](_0x3bb12b(0x24d),_0x3bb12b(0x1af)),_0x3d3c79;}}async[_0x368389(0x128)](_0x2b6856){var _0x48532a=_0x368389;const {unitID:_0x5db0f9,from:_0x491bcb,to:_0x539fd3,unitType:_0xc4bfa3}=_0x2b6856[_0x48532a(0x389)];return(await this['_snapshotServerService'][_0x48532a(0x134)]({'metadata':void 0x0},{'unitID':_0x5db0f9,'type':_0xc4bfa3,'from':_0x491bcb,'to':_0x539fd3}))[_0x48532a(0x390)]['map'](_0x3769a8=>((_0x3769a8['mutations']===null||_0x3769a8['mutations']===void 0x0)&&(_0x3769a8[_0x48532a(0x162)]=[]),_0x3769a8));}};Gt=Gs([ye(0x0,_0x3ce8f0(_0x277f78)),ye(0x1,_0x3ce8f0(_0x5dc9e9)),ye(0x2,_0x3c30e0),ye(0x3,_0x21f6c3),ye(0x4,_0x2a795b)],Gt);var Ys=Object[_0x368389(0x284)],Ks=(_0x3e2d47,_0x502ec3,_0x1727d4,_0x1d8dae)=>{var _0x3940e7=_0x368389;for(var _0x49c189=_0x1d8dae>0x1?void 0x0:_0x1d8dae?Ys(_0x502ec3,_0x1727d4):_0x502ec3,_0x181dc6=_0x3e2d47[_0x3940e7(0x3b7)]-0x1,_0x3e096c;_0x181dc6>=0x0;_0x181dc6--)(_0x3e096c=_0x3e2d47[_0x181dc6])&&(_0x49c189=_0x3e096c(_0x49c189)||_0x49c189);return _0x49c189;},Re=(_0x13d418,_0x4b6cbe)=>(_0x3419d7,_0x1622c6)=>_0x4b6cbe(_0x3419d7,_0x1622c6,_0x13d418);let we=class extends _0x1b9234{constructor(_0x392462,_0xde7bf5,_0x2c82bb,_0x15ad15,_0x4fa3ef,_0xaac480){var _0x523445=_0x368389;super(),D(this,'_socket$',new _0x1593ab(void 0x0)),D(this,_0x523445(0x37a),this['_socket$'][_0x523445(0x166)]()),D(this,'_candidateSocket',null),D(this,_0x523445(0x1b8),new Map()),D(this,_0x523445(0x32c),new _0x1593ab(me[_0x523445(0x2aa)])),D(this,_0x523445(0x320),this['_status$']['asObservable']()),D(this,'_socketReady',!0x1),D(this,_0x523445(0x1be)),D(this,_0x523445(0x26a),0x0),D(this,_0x523445(0x396)),D(this,_0x523445(0x3aa)),(this[_0x523445(0x39e)]=_0x392462,this[_0x523445(0x12b)]=_0xde7bf5,this[_0x523445(0xb8)]=_0x2c82bb,this[_0x523445(0x15b)]=_0x15ad15,this['_collaborationUIEventService']=_0x4fa3ef,this[_0x523445(0x16b)]=_0xaac480,this[_0x523445(0x233)]());}get[_0x368389(0x31e)](){var _0x39da6c=_0x368389;return this[_0x39da6c(0x332)]['getValue']();}[_0x368389(0x233)](){var _0x3aad98=_0x368389;this[_0x3aad98(0x16b)]&&this[_0x3aad98(0x2af)](this[_0x3aad98(0x16b)][_0x3aad98(0x18d)]['subscribe'](_0x553e85=>{var _0x24e9e4=_0x3aad98;_0x553e85&&!this[_0x24e9e4(0x31e)]&&this['reconnect'](),_0x553e85||this[_0x24e9e4(0x2e0)]();}));}[_0x368389(0xc9)](){var _0x47d102=_0x368389;super[_0x47d102(0xc9)](),this['_clearRetryConnectingTimer'](),this[_0x47d102(0x2a6)](),this['_clearHeartbeatTimer'](),this[_0x47d102(0x1b8)][_0x47d102(0x20e)](_0x196a45=>_0x196a45['dispose']()),this[_0x47d102(0x1b8)][_0x47d102(0x183)](),this[_0x47d102(0x32c)][_0x47d102(0x355)]();}async[_0x368389(0x32f)](_0x4e5a65){var _0x4ef512=_0x368389;if(this[_0x4ef512(0x1b8)][_0x4ef512(0x274)](_0x4e5a65))return this[_0x4ef512(0x1b8)]['get'](_0x4e5a65);this[_0x4ef512(0xdc)]();const _0x47ef95=this[_0x4ef512(0x39e)][_0x4ef512(0x37c)](mt,_0x4e5a65,this['_socket$'][_0x4ef512(0x166)]());return this[_0x4ef512(0x1b8)][_0x4ef512(0x3ac)](_0x4e5a65,_0x47ef95),_0x47ef95;}[_0x368389(0x245)](_0x4d5bc6){var _0x7a33fb=_0x368389,_0x1eba8c;const _0x5f2c5b=this[_0x7a33fb(0x1b8)][_0x7a33fb(0x187)](_0x4d5bc6);_0x5f2c5b&&(this[_0x7a33fb(0x1b8)][_0x7a33fb(0x298)](_0x4d5bc6),_0x5f2c5b[_0x7a33fb(0x24b)]()),this[_0x7a33fb(0x1b8)][_0x7a33fb(0x336)]||(_0x1eba8c=this[_0x7a33fb(0x31e)])==null||_0x1eba8c[_0x7a33fb(0x24b)]();}[_0x368389(0x371)](){var _0x407748=_0x368389;this[_0x407748(0x26a)]=0x0,this[_0x407748(0xef)](),this[_0x407748(0x2e5)]();}['_clearRetryConnectingTimer'](){this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x368389(0x3ad)](){var _0xd6989=_0x368389,_0x68ef11;const _0x2e0010=this['_configService'][_0xd6989(0x19b)](K),_0x577b99=(_0x68ef11=_0x2e0010==null?void 0x0:_0x2e0010['collabWebSocketUrl'])!=null?_0x68ef11:Es,_0x472f68=await this[_0xd6989(0x15b)][_0xd6989(0xa9)](_0x577b99);return this[_0xd6989(0x3b2)]=_0x472f68,_0x472f68;}async[_0x368389(0xdc)](){var _0x1cacec=_0x368389,_0x5d9c5d,_0x55ccd3;try{const _0x56268d=(_0x55ccd3=(_0x5d9c5d=this[_0x1cacec(0x31e)])!=null?_0x5d9c5d:this[_0x1cacec(0x3b2)])!=null?_0x55ccd3:await this['_createSocket']();if(_0x56268d){const _0x17ad83=_0x56268d[_0x1cacec(0x1bb)];_0x56268d[_0x1cacec(0x1bb)]=_0x3bd77f=>(this[_0x1cacec(0x2e4)](),_0x17ad83['apply'](_0x56268d,[_0x3bd77f])),_0x56268d[_0x1cacec(0x357)][_0x1cacec(0x116)](_0x413317=>this[_0x1cacec(0x9a)](_0x56268d,_0x413317)),_0x56268d[_0x1cacec(0x33e)][_0x1cacec(0x279)](_0x1d30d3(0x1))[_0x1cacec(0x116)](_0x1cca7b=>this['_logService'][_0x1cacec(0x201)](_0x1cacec(0xe4),_0x1cca7b)),_0x56268d[_0x1cacec(0xc8)]['pipe'](_0x1d30d3(0x1))['subscribe'](()=>{var _0x1b3a0b=_0x1cacec;this[_0x1b3a0b(0x1ff)](_0x56268d);}),_0x56268d['close$'][_0x1cacec(0x279)](_0x1d30d3(0x1))[_0x1cacec(0x116)](_0x1f024a=>{var _0x4d624e=_0x1cacec;this[_0x4d624e(0x12b)][_0x4d624e(0x2c3)]('[CollaborationSessionService]',_0x4d624e(0x147),_0x1f024a),this[_0x4d624e(0x1c8)]();});}}catch(_0x2e0139){this[_0x1cacec(0x12b)][_0x1cacec(0x201)](_0x2e0139),this['_onConnectionFailed']();}}[_0x368389(0x1ff)](_0x5e7454){var _0x1ed62b=_0x368389;this[_0x1ed62b(0x12b)][_0x1ed62b(0x2c3)](_0x1ed62b(0x18e),_0x1ed62b(0xb6)),_0x5e7454['send']({'cmd':j[_0x1ed62b(0x1cb)]}),this[_0x1ed62b(0x2e4)]();}[_0x368389(0x2e0)](){var _0x76246=_0x368389;this[_0x76246(0x299)]=!0x1,this[_0x76246(0x3b2)]=null,this[_0x76246(0x32c)][_0x76246(0x29b)](me[_0x76246(0x10a)]),this[_0x76246(0x332)][_0x76246(0x29b)](null),this[_0x76246(0x2a6)](),this[_0x76246(0x1cf)]();}['_onConnectionFailed'](){var _0x52bd7f=_0x368389,_0x1b6e73;this['_onOffline'](),this[_0x52bd7f(0x26a)]<((_0x1b6e73=this['_configService'][_0x52bd7f(0x19b)](gs))!=null?_0x1b6e73:Ts)?(this[_0x52bd7f(0x367)][_0x52bd7f(0x3b6)]({'id':re[_0x52bd7f(0x22e)]}),this['_tryReconnect']()):this[_0x52bd7f(0x367)][_0x52bd7f(0x3b6)]({'id':re[_0x52bd7f(0x23f)]});}['_tryReconnect'](){var _0x42294b=_0x368389,_0x4fbc40;const _0x1c1534=this[_0x42294b(0x26a)],_0x59d568=this['_configService'][_0x42294b(0x19b)](K),_0x1002f8=_0x1c1534===0x0?0x0:((_0x4fbc40=_0x59d568==null?void 0x0:_0x59d568[_0x42294b(0x254)])!=null?_0x4fbc40:Ss)*0x2**_0x1c1534;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2432bc=_0x42294b;clearTimeout(this['_retryConnectingTimer']),this[_0x2432bc(0x1be)]=null,this[_0x2432bc(0xdc)]();},_0x1002f8),this[_0x42294b(0x26a)]+=0x1;}[_0x368389(0x9a)](_0x5a7d94,_0x490d2d){var _0x1c6646=_0x368389;const {cmd:_0x3f847f}=_0x490d2d;_0x3f847f===j[_0x1c6646(0x1cb)]&&!this[_0x1c6646(0x299)]&&(_0x5a7d94[_0x1c6646(0x2f0)]=_0x490d2d['data']['memberID'],this['_socket$'][_0x1c6646(0x29b)](_0x5a7d94),this[_0x1c6646(0x32c)][_0x1c6646(0x29b)](me[_0x1c6646(0x17a)]),this['_socketReady']=!0x0,this[_0x1c6646(0x3b2)]=null),_0x3f847f===j[_0x1c6646(0x2ba)]&&this[_0x1c6646(0x2a6)](),this[_0x1c6646(0x2e4)]();}[_0x368389(0x2e4)](){var _0x46e694=_0x368389,_0x2854ef;this[_0x46e694(0x1cf)](),this[_0x46e694(0x396)]=setTimeout(()=>this[_0x46e694(0x1ea)](),(_0x2854ef=this[_0x46e694(0xb8)][_0x46e694(0x19b)](ms))!=null?_0x2854ef:Is);}[_0x368389(0x1ea)](){var _0x478bca=_0x368389;this['_socket'][_0x478bca(0x1bb)]({'cmd':j[_0x478bca(0x2ba)]}),this[_0x478bca(0x98)]();}[_0x368389(0x98)](){var _0x5710e4=_0x368389,_0x331018;this[_0x5710e4(0x3aa)]=setTimeout(()=>this[_0x5710e4(0x1c8)](),(_0x331018=this[_0x5710e4(0xb8)][_0x5710e4(0x19b)](di))!=null?_0x331018:fi);}[_0x368389(0x1cf)](){var _0xebd692=_0x368389;this[_0xebd692(0x396)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0xebd692(0x396)]=null);}[_0x368389(0x2a6)](){var _0x950408=_0x368389;this[_0x950408(0x3aa)]!=null&&(clearTimeout(this[_0x950408(0x3aa)]),this[_0x950408(0x3aa)]=null);}};we=Ks([Re(0x0,_0x3ce8f0(_0x277f78)),Re(0x1,_0x21f6c3),Re(0x2,_0x3c30e0),Re(0x3,Oi),Re(0x4,_0x3ce8f0(ve)),Re(0x5,_0x5c10ac(Bs))],we);var qs=Object['getOwnPropertyDescriptor'],zs=(_0x1d9823,_0x22c6e4,_0x599b22,_0x347e33)=>{var _0x3a6e03=_0x368389;for(var _0x39924d=_0x347e33>0x1?void 0x0:_0x347e33?qs(_0x22c6e4,_0x599b22):_0x22c6e4,_0x360afd=_0x1d9823[_0x3a6e03(0x3b7)]-0x1,_0x540ed7;_0x360afd>=0x0;_0x360afd--)(_0x540ed7=_0x1d9823[_0x360afd])&&(_0x39924d=_0x540ed7(_0x39924d)||_0x39924d);return _0x39924d;},Be=(_0x29c207,_0x14457c)=>(_0x57c321,_0x50cb34)=>_0x14457c(_0x57c321,_0x50cb34,_0x29c207);let nt=class extends _0x4eb61d{constructor(_0x54bc02,_0x5d7283,_0x1da033,_0x449554){var _0x5208dd=_0x368389,_0x25d89e;super(),D(this,_0x5208dd(0x1d9),new Map()),D(this,_0x5208dd(0x1eb),new _0x7c3fbd()),D(this,_0x5208dd(0x16d),this['_entityInit$']['asObservable']()),(this[_0x5208dd(0x39e)]=_0x54bc02,this[_0x5208dd(0x399)]=_0x5d7283,this[_0x5208dd(0xb8)]=_0x1da033,this[_0x5208dd(0x14b)]=_0x449554,((_0x25d89e=this[_0x5208dd(0xb8)][_0x5208dd(0x19b)](K))==null?void 0x0:_0x25d89e[_0x5208dd(0x2ed)])!==!0x1&&this[_0x5208dd(0x321)]());}['dispose'](){var _0x30b373=_0x368389;super['dispose'](),this[_0x30b373(0x1d9)][_0x30b373(0x20e)](_0x365ed2=>_0x365ed2[_0x30b373(0xc9)]()),this[_0x30b373(0x1d9)][_0x30b373(0x183)]();}[_0x368389(0x2a1)](_0x184820){var _0x57c59d=_0x368389,_0x196c31;return(_0x196c31=this['_entities'][_0x57c59d(0x187)](_0x184820))!=null?_0x196c31:null;}['getCollabEntity$'](_0xd2a16a){var _0x143a38=_0x368389;const _0x44f4e0=this[_0x143a38(0x2a1)](_0xd2a16a);return _0x44f4e0?_0x1da45a(_0x44f4e0):this[_0x143a38(0x1eb)]['pipe'](_0x21e8b1(_0x21b877=>_0x21b877[_0x143a38(0x1b5)]===_0xd2a16a));}[_0x368389(0x1d2)](_0x5d79be){var _0x6d8e3d=_0x368389;return _0x449e39(this[_0x6d8e3d(0x257)](_0x5d79be)['pipe'](_0x1b47e7(()=>{})));}[_0x368389(0x321)](){var _0x79689=_0x368389;this[_0x79689(0x14b)][_0x79689(0x2ad)](_0x16572b[_0x79689(0x305)])[_0x79689(0x279)](_0x204187(this[_0x79689(0x29d)]),_0x59b9d5(0x10))[_0x79689(0x116)](async _0xc6aa1e=>{var _0x430bd1=_0x79689;const _0x4c7cac=_0xc6aa1e[_0x430bd1(0x22c)](),_0x3b1be0=await this[_0x430bd1(0x1e8)](_0x4c7cac,Q[_0x430bd1(0x305)]);this['_entities'][_0x430bd1(0x3ac)](_0x4c7cac,_0x3b1be0);}),this[_0x79689(0x14b)][_0x79689(0x2ad)](_0x16572b['UNIVER_DOC'])[_0x79689(0x279)](_0x204187(this[_0x79689(0x29d)]),_0x59b9d5(0x10))[_0x79689(0x279)](_0x21e8b1(_0x2a81ab=>!_0x2a81ab[_0x79689(0x22c)]()[_0x79689(0x35d)]('__')))[_0x79689(0x116)](async _0x15bdba=>{var _0x394a81=_0x79689;const _0x355d2b=_0x15bdba['getUnitId'](),_0x5dd93d=await this[_0x394a81(0x1e8)](_0x355d2b,Q[_0x394a81(0x36a)]);this[_0x394a81(0x1d9)][_0x394a81(0x3ac)](_0x355d2b,_0x5dd93d);}),_0x1ca221(this[_0x79689(0x14b)][_0x79689(0xb5)](_0x16572b[_0x79689(0x305)]),this[_0x79689(0x14b)][_0x79689(0xb5)](_0x16572b['UNIVER_DOC']))[_0x79689(0x279)](_0x204187(this['dispose$']))[_0x79689(0x116)](_0x4e7c57=>{var _0x55d805=_0x79689;const _0x562eb6=_0x4e7c57['getUnitId'](),_0x2ac0d5=this[_0x55d805(0x1d9)][_0x55d805(0x187)](_0x562eb6);_0x2ac0d5&&(_0x2ac0d5[_0x55d805(0xc9)](),this[_0x55d805(0x1d9)]['delete'](_0x562eb6));});}async['_startCollaboration'](_0x3dbf3b,_0x28668f){var _0xe74cf3=_0x368389;const _0x3dfbda=await this[_0xe74cf3(0x399)]['requireSession'](_0x3dbf3b),_0x365e97=this[_0xe74cf3(0x39e)][_0xe74cf3(0x37c)](this[_0xe74cf3(0x10f)](_0x28668f),_0x3dbf3b,_0x28668f,_0x3dfbda);return await _0x365e97[_0xe74cf3(0x3b3)](),this['_entityInit$'][_0xe74cf3(0x29b)](_0x365e97),_0x365e97;}[_0x368389(0x10f)](_0x3bba68){var _0xd9e0d3=_0x368389;switch(_0x3bba68){case Q[_0xd9e0d3(0x36a)]:return It;case Q[_0xd9e0d3(0x305)]:return St;default:throw new Error(_0xd9e0d3(0x200)+_0x3bba68);}}};nt=zs([Be(0x0,_0x3ce8f0(_0x277f78)),Be(0x1,_0x3ce8f0(we)),Be(0x2,_0x3c30e0),Be(0x3,_0x558d3e)],nt);var Js=Object[_0x368389(0x284)],Xs=(_0x14a0c2,_0x1d8da2,_0x11a9cf,_0x1353fe)=>{var _0x2d3c4d=_0x368389;for(var _0x3495bd=_0x1353fe>0x1?void 0x0:_0x1353fe?Js(_0x1d8da2,_0x11a9cf):_0x1d8da2,_0x51843b=_0x14a0c2[_0x2d3c4d(0x3b7)]-0x1,_0x21c09c;_0x51843b>=0x0;_0x51843b--)(_0x21c09c=_0x14a0c2[_0x51843b])&&(_0x3495bd=_0x21c09c(_0x3495bd)||_0x3495bd);return _0x3495bd;},Wt=(_0x25399f,_0x53d467)=>(_0x37c4b2,_0x271619)=>_0x53d467(_0x37c4b2,_0x271619,_0x25399f);const Zs=_0x368389(0x2c1),Qs='Univer';let gt=class extends _0x1b9234{constructor(_0x5ad05e,_0x53796d){var _0x273662=_0x368389;super(),this[_0x273662(0x14b)]=_0x5ad05e,this[_0x273662(0xb8)]=_0x53796d,this[_0x273662(0x321)]();}['_init'](){var _0x54c51f=_0x368389;this[_0x54c51f(0x2af)](this['_univerInstanceService'][_0x54c51f(0x20f)][_0x54c51f(0x116)](()=>{var _0x3e92fb=_0x54c51f,_0x3ce1a7;const _0x463333=this[_0x3e92fb(0x14b)][_0x3e92fb(0x37f)]();let _0x3a2228=(_0x3ce1a7=this[_0x3e92fb(0xb8)][_0x3e92fb(0x19b)](Zs))!=null?_0x3ce1a7:Qs;_0x463333 instanceof _0x40ade1&&(_0x3a2228=_0x463333[_0x3e92fb(0xd9)]),document[_0x3e92fb(0x27c)]=_0x3a2228;}));}};gt=Xs([Wt(0x0,_0x558d3e),Wt(0x1,_0x3c30e0)],gt);var en=Object[_0x368389(0x284)],tn=(_0x1b77eb,_0x36a42b,_0x2e841a,_0x39be4d)=>{var _0x2062da=_0x368389;for(var _0x588447=_0x39be4d>0x1?void 0x0:_0x39be4d?en(_0x36a42b,_0x2e841a):_0x36a42b,_0x163495=_0x1b77eb[_0x2062da(0x3b7)]-0x1,_0x56542c;_0x163495>=0x0;_0x163495--)(_0x56542c=_0x1b77eb[_0x163495])&&(_0x588447=_0x56542c(_0x588447)||_0x588447);return _0x588447;},dt=(_0x55846c,_0x73d5d)=>(_0x33d167,_0x285b39)=>_0x73d5d(_0x33d167,_0x285b39,_0x55846c);let rt=class{constructor(_0x51dcf4,_0x9e8ab1,_0x5289b2){var _0x3bb3e8=_0x368389;this['_configService']=_0x51dcf4,this[_0x3bb3e8(0x342)]=_0x9e8ab1,this[_0x3bb3e8(0xd3)]=_0x5289b2,this['init']();}[_0x368389(0x3b3)](){var _0x10b0dd=_0x368389;this[_0x10b0dd(0x342)][_0x10b0dd(0x287)]({'priority':0x1,'interceptor':(_0x54ba21,_0x37e51a)=>_0x37e51a(_0x54ba21)[_0x10b0dd(0x279)](_0xc62b48(async _0x22b4dc=>{var _0x155c84=_0x10b0dd;const _0x1112a2=_0x22b4dc;if(_0x1112a2[_0x155c84(0x9d)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x155c84(0xd3)]['t'](_0x155c84(0x1dc)))){const _0x12b001=window[_0x155c84(0x224)](window['location'][_0x155c84(0x24a)]);window[_0x155c84(0x33a)][_0x155c84(0x24a)]=this[_0x155c84(0x14f)]()+_0x155c84(0x383)+_0x12b001;}}return _0x1112a2;}))});}[_0x368389(0x14f)](){var _0x2c8ebf=_0x368389,_0x4a0ee0;const _0x2e637b=this['_configService']['getConfig'](K);return(_0x4a0ee0=_0x2e637b==null?void 0x0:_0x2e637b[_0x2c8ebf(0x393)])!=null?_0x4a0ee0:Rs;}};rt=tn([dt(0x0,_0x3c30e0),dt(0x1,_0x3ce8f0(_0x5dc9e9)),dt(0x2,_0x3ce8f0(_0x3ebb61))],rt);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x51446d,_0x5b59a0,_0x5531da,_0x4a2bbf)=>{var _0x4a9c49=_0x368389;for(var _0x34e565=_0x4a2bbf>0x1?void 0x0:_0x4a2bbf?sn(_0x5b59a0,_0x5531da):_0x5b59a0,_0xd2f0f=_0x51446d[_0x4a9c49(0x3b7)]-0x1,_0x4d2bfd;_0xd2f0f>=0x0;_0xd2f0f--)(_0x4d2bfd=_0x51446d[_0xd2f0f])&&(_0x34e565=_0x4d2bfd(_0x34e565)||_0x34e565);return _0x34e565;},Yt=(_0x486597,_0x8f44dd)=>(_0x193a25,_0x387bc1)=>_0x8f44dd(_0x193a25,_0x387bc1,_0x486597);const rn=_0x368389(0x142);let Tt=class extends _0x1b9234{constructor(_0x22b2f5,_0x5b8611){var _0x40336d=_0x368389;super(),this[_0x40336d(0x27b)]=_0x22b2f5,this[_0x40336d(0xb8)]=_0x5b8611,this[_0x40336d(0x2c0)]();}[_0x368389(0x2c0)](){var _0x243b53=_0x368389;const _0x7ff0d0=this;this[_0x243b53(0x2af)](this[_0x243b53(0x27b)][_0x243b53(0x287)]({'priority':0x3e7,'interceptor':_0x42bfc0({'isMatch'(_0x49a29d){var _0x18e57a=_0x243b53,_0xacd155;if(_0x49a29d['method']===_0x18e57a(0x198)&&((_0xacd155=_0x49a29d[_0x18e57a(0x2b0)])!=null&&_0xacd155[_0x18e57a(0x369)])){const {objectID:_0x25b13f,objectType:_0x549edc}=_0x49a29d[_0x18e57a(0x2b0)][_0x18e57a(0x369)]||{};if(!_0x25b13f||_0x549edc===void 0x0)return!0x1;const _0x24e579=_0x7ff0d0[_0x18e57a(0x172)]()+'/'+_0x549edc+_0x18e57a(0x3a2)+_0x25b13f+_0x18e57a(0x2d7);if(_0x49a29d[_0x18e57a(0x1c9)]===_0x24e579)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x559fa9){var _0x83472b=_0x243b53,_0x462f55;return(_0x462f55=_0x559fa9[_0x83472b(0x2b0)])==null?void 0x0:_0x462f55[_0x83472b(0x369)];},'mergeParamsToRequest'(_0xa70db4,_0x2cc2c2){var _0x8df8bc=_0x243b53;const _0x2370ba=_0x7ff0d0[_0x8df8bc(0x172)]()+_0x8df8bc(0x234),_0xdd3333=_0xa70db4[_0x8df8bc(0x194)]((_0x3c3ed8,_0x4b6f11)=>{var _0x52213c=_0x8df8bc;const {unitID:_0x11f58a,objectID:_0x90c94f,objectType:_0x594b65,actions:_0x426dcc}=_0x4b6f11;return _0x3c3ed8[_0x11f58a]||(_0x3c3ed8[_0x11f58a]={}),_0x3c3ed8[_0x11f58a][_0x90c94f]||(_0x3c3ed8[_0x11f58a][_0x90c94f]={'objectID':_0x90c94f,'objectType':_0x594b65,'actions':[]}),_0x3c3ed8[_0x11f58a][_0x90c94f][_0x52213c(0x385)]['push'](..._0x426dcc),_0x3c3ed8;},{}),_0x32f1cd=[];for(const _0x53edc6 in _0xdd3333)for(const _0x2bd65f in _0xdd3333[_0x53edc6]){const {actions:_0x428f41,objectType:_0x4975e3}=_0xdd3333[_0x53edc6][_0x2bd65f],_0x1a56cd=[...new Set(_0x428f41)];_0x32f1cd[_0x8df8bc(0x291)]({'unitID':_0x53edc6,'objectID':_0x2bd65f,'objectType':_0x4975e3,'actions':_0x1a56cd});}return new _0x29f0e3(_0x8df8bc(0x198),_0x2370ba,{'headers':_0x2cc2c2[_0x8df8bc(0x177)],'withCredentials':_0x2cc2c2[_0x8df8bc(0x151)],'responseType':_0x2cc2c2[_0x8df8bc(0x14a)],'body':{'requests':_0x32f1cd}});}},{'distributeResult'(_0x4e5a8d,_0x3d84f6){var _0x198855=_0x243b53;const {objectActions:_0x3e12cf}=_0x4e5a8d;return _0x3d84f6[_0x198855(0x28c)](_0x5252da=>{var _0xef5ac1=_0x198855;const {unitID:_0x121a85,objectID:_0x349326,actions:_0xbd3c4f}=_0x5252da,_0x3bda18=_0x3e12cf[_0xef5ac1(0x36d)](_0x244967=>_0x244967[_0xef5ac1(0x1b5)]===_0x121a85&&_0x244967[_0xef5ac1(0x237)]===_0x349326),_0x3921d6=_0xbd3c4f[_0xef5ac1(0x28c)](_0x28a019=>_0x3bda18==null?void 0x0:_0x3bda18[_0xef5ac1(0x385)][_0xef5ac1(0x36d)](_0x40fa4d=>_0x40fa4d[_0xef5ac1(0xf2)]===_0x28a019))[_0xef5ac1(0x39d)](_0x97cc1b=>!!_0x97cc1b);return{'config':_0x5252da,'result':{'actions':_0x3921d6,'error':_0x4e5a8d[_0xef5ac1(0x201)]}};});}})}));}[_0x368389(0x172)](){var _0x3f762e=_0x368389,_0x5c4c6c;const _0x18ea1a=this[_0x3f762e(0xb8)]['getConfig'](K);return(_0x5c4c6c=_0x18ea1a==null?void 0x0:_0x18ea1a['authzUrl'])!=null?_0x5c4c6c:rn;}async[_0x368389(0x25f)](_0x5f4a6d){var _0x3677a5=_0x368389;const _0x3e9010=this[_0x3677a5(0x172)]()+'/'+_0x5f4a6d[_0x3677a5(0x345)]+_0x3677a5(0x2a4);return(await this[_0x3677a5(0x27b)][_0x3677a5(0x13c)](_0x3e9010,{'body':_0x5f4a6d}))[_0x3677a5(0x369)][_0x3677a5(0x237)]||'';}async['list'](_0x170e68){var _0x25f546=_0x368389;const _0x2fb622=this[_0x25f546(0x172)]()+_0x25f546(0x163);return(await this[_0x25f546(0x27b)]['post'](_0x2fb622,{'body':_0x170e68}))[_0x25f546(0x369)][_0x25f546(0x138)];}async[_0x368389(0x188)](_0x2ae1c5){var _0x446635=_0x368389,_0x64d96b,_0x2b58d5;const _0x6fd751=this['_getAPIPrefixPath']()+'/'+_0x2ae1c5[_0x446635(0x345)]+_0x446635(0x3a2)+_0x2ae1c5[_0x446635(0x237)],_0x3d601a=await this[_0x446635(0x27b)]['put'](_0x6fd751,{'body':_0x2ae1c5});if(((_0x2b58d5=(_0x64d96b=_0x3d601a==null?void 0x0:_0x3d601a[_0x446635(0x369)])==null?void 0x0:_0x64d96b[_0x446635(0x201)])==null?void 0x0:_0x2b58d5[_0x446635(0xa3)])!==0x1)throw new Error(_0x446635(0x2c7));}async[_0x368389(0x2df)](_0x3ff865){var _0x3c7878=_0x368389;const _0x5bf288=this['_getAPIPrefixPath']()+'/'+_0x3ff865[_0x3c7878(0x345)]+_0x3c7878(0x3a2)+_0x3ff865['objectID']+'/allowed';return(await this[_0x3c7878(0x27b)][_0x3c7878(0x13c)](_0x5bf288,{'body':_0x3ff865}))['body'][_0x3c7878(0x385)];}async[_0x368389(0x22f)](_0x500388){var _0x5d7ac1=_0x368389;const _0x4e6613=this[_0x5d7ac1(0x172)]()+_0x5d7ac1(0x234);return(await this['_HTTPService']['post'](_0x4e6613,{'body':{'requests':_0x500388}}))[_0x5d7ac1(0x369)][_0x5d7ac1(0x18f)];}async['listRoles'](_0xfa6429){var _0x1e8b8b=_0x368389;const _0x35b30a=this[_0x1e8b8b(0x172)]()+'/'+_0xfa6429['objectType']+_0x1e8b8b(0x2a3),_0x3d3a36=await this[_0x1e8b8b(0x27b)][_0x1e8b8b(0x13c)](_0x35b30a,{'body':_0xfa6429});return{'roles':_0x3d3a36[_0x1e8b8b(0x369)][_0x1e8b8b(0x1c7)],'actions':_0x3d3a36[_0x1e8b8b(0x369)][_0x1e8b8b(0x385)]};}async[_0x368389(0x1fc)](_0x5775a1){var _0x4714d2=_0x368389;const _0x5486be=this[_0x4714d2(0x172)]()+'/collaborator';await this[_0x4714d2(0x27b)][_0x4714d2(0x298)](_0x5486be,{'params':{'collaboratorID':_0x5775a1[_0x4714d2(0xad)],'objectID':_0x5775a1[_0x4714d2(0x237)],'unitID':_0x5775a1[_0x4714d2(0x1b5)]}});}async[_0x368389(0x181)](_0x4a092c){var _0xc7d16b=_0x368389;const _0x1346e1=this[_0xc7d16b(0x172)]()+_0xc7d16b(0x2fd);await this['_HTTPService'][_0xc7d16b(0x2d0)](_0x1346e1,{'body':_0x4a092c});}async[_0x368389(0x191)](_0x114c09){var _0x4f60ac=_0x368389;const _0xceaf46=this[_0x4f60ac(0x172)]()+_0x4f60ac(0x2fd);await this[_0x4f60ac(0x27b)][_0x4f60ac(0x13c)](_0xceaf46,{'body':_0x114c09});}async[_0x368389(0x174)](_0x48bd7a){var _0x18006d=_0x368389;const _0x4f318b=this[_0x18006d(0x172)]()+'/collaborator';return(await this[_0x18006d(0x27b)]['get'](_0x4f318b,{'params':{'objectID':_0x48bd7a[_0x18006d(0x237)],'unitID':_0x48bd7a[_0x18006d(0x1b5)]}}))[_0x18006d(0x369)]['collaborators'];}async['putCollaborators'](_0x6d843){var _0x42014a=_0x368389;const _0x3235fd=this[_0x42014a(0x172)]()+_0x42014a(0x2fd);await this['_HTTPService']['put'](_0x3235fd,{'body':_0x6d843});}};Tt=nn([Yt(0x0,_0x3ce8f0(_0x5dc9e9)),Yt(0x1,_0x3ce8f0(_0x3c30e0))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x5b67c3){var _0xf2454b=_0x368389;return _0x5b67c3&&_0x5b67c3[_0xf2454b(0x1dd)]&&Object[_0xf2454b(0x359)][_0xf2454b(0x91)][_0xf2454b(0xf4)](_0x5b67c3,_0xf2454b(0x127))?_0x5b67c3[_0xf2454b(0x127)]:_0x5b67c3;}var Ve={'exports':{}};function an(_0x10010c){var _0x40d6f6=_0x368389;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x10010c+_0x40d6f6(0x27a));}var Ge={'exports':{}},on=Ge[_0x368389(0x12a)],Kt;function ie(){return Kt||(Kt=0x1,function(_0x378340,_0x5a2cf0){(function(_0x29d1e4,_0x3534eb){_0x378340['exports']=_0x3534eb();}(on,function(){var _0x2b74ae=_0x2b74ae||function(_0x53236a,_0x75b4e4){var _0x5cbce0=_0x4f24,_0x27088c;if(typeof window<'u'&&window[_0x5cbce0(0x108)]&&(_0x27088c=window[_0x5cbce0(0x108)]),typeof self<'u'&&self[_0x5cbce0(0x108)]&&(_0x27088c=self[_0x5cbce0(0x108)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x27088c=globalThis['crypto']),!_0x27088c&&typeof window<'u'&&window['msCrypto']&&(_0x27088c=window[_0x5cbce0(0x30b)]),!_0x27088c&&typeof ft<'u'&&ft['crypto']&&(_0x27088c=ft[_0x5cbce0(0x108)]),!_0x27088c&&typeof an==_0x5cbce0(0x2ee))try{_0x27088c=require('crypto');}catch{}var _0x485b1e=function(){var _0x8d120b=_0x5cbce0;if(_0x27088c){if(typeof _0x27088c[_0x8d120b(0x16c)]=='function')try{return _0x27088c['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x27088c[_0x8d120b(0x9f)]=='function')try{return _0x27088c[_0x8d120b(0x9f)](0x4)[_0x8d120b(0x39a)]();}catch{}}throw new Error(_0x8d120b(0x3a1));},_0x5c5be8=Object['create']||(function(){function _0x50db7b(){}return function(_0x3aa02d){var _0x52ed56=_0x4f24,_0x442e00;return _0x50db7b[_0x52ed56(0x359)]=_0x3aa02d,_0x442e00=new _0x50db7b(),_0x50db7b[_0x52ed56(0x359)]=null,_0x442e00;};}()),_0x20c996={},_0x357a66=_0x20c996[_0x5cbce0(0x38a)]={},_0x22fdb3=_0x357a66[_0x5cbce0(0x110)]=(function(){return{'extend':function(_0x1f7fdc){var _0xacbba8=_0x4f24,_0x5e7ab4=_0x5c5be8(this);return _0x1f7fdc&&_0x5e7ab4[_0xacbba8(0x1f1)](_0x1f7fdc),(!_0x5e7ab4[_0xacbba8(0x91)](_0xacbba8(0x3b3))||this['init']===_0x5e7ab4[_0xacbba8(0x3b3)])&&(_0x5e7ab4['init']=function(){var _0x2bf6a4=_0xacbba8;_0x5e7ab4[_0x2bf6a4(0x37e)][_0x2bf6a4(0x3b3)][_0x2bf6a4(0x278)](this,arguments);}),_0x5e7ab4['init']['prototype']=_0x5e7ab4,_0x5e7ab4[_0xacbba8(0x37e)]=this,_0x5e7ab4;},'create':function(){var _0x3b47f0=_0x4f24,_0x862d1e=this[_0x3b47f0(0x11c)]();return _0x862d1e[_0x3b47f0(0x3b3)][_0x3b47f0(0x278)](_0x862d1e,arguments),_0x862d1e;},'init':function(){},'mixIn':function(_0x354bbc){var _0x4e710b=_0x4f24;for(var _0x7f1460 in _0x354bbc)_0x354bbc[_0x4e710b(0x91)](_0x7f1460)&&(this[_0x7f1460]=_0x354bbc[_0x7f1460]);_0x354bbc[_0x4e710b(0x91)](_0x4e710b(0xd8))&&(this[_0x4e710b(0xd8)]=_0x354bbc[_0x4e710b(0xd8)]);},'clone':function(){var _0x14abf8=_0x4f24;return this[_0x14abf8(0x3b3)][_0x14abf8(0x359)][_0x14abf8(0x11c)](this);}};}()),_0x21c056=_0x357a66[_0x5cbce0(0xed)]=_0x22fdb3[_0x5cbce0(0x11c)]({'init':function(_0x4872ca,_0x3a6826){var _0x30fe04=_0x5cbce0;_0x4872ca=this[_0x30fe04(0x10b)]=_0x4872ca||[],_0x3a6826!=_0x75b4e4?this['sigBytes']=_0x3a6826:this[_0x30fe04(0x27e)]=_0x4872ca[_0x30fe04(0x3b7)]*0x4;},'toString':function(_0x144d75){return(_0x144d75||_0x45d603)['stringify'](this);},'concat':function(_0x34b4bc){var _0x535029=_0x5cbce0,_0x13ed8a=this[_0x535029(0x10b)],_0x3ed605=_0x34b4bc[_0x535029(0x10b)],_0x2f88f7=this[_0x535029(0x27e)],_0x51653c=_0x34b4bc['sigBytes'];if(this[_0x535029(0x208)](),_0x2f88f7%0x4)for(var _0x3227ff=0x0;_0x3227ff<_0x51653c;_0x3227ff++){var _0x1d0654=_0x3ed605[_0x3227ff>>>0x2]>>>0x18-_0x3227ff%0x4*0x8&0xff;_0x13ed8a[_0x2f88f7+_0x3227ff>>>0x2]|=_0x1d0654<<0x18-(_0x2f88f7+_0x3227ff)%0x4*0x8;}else{for(var _0x1b75d3=0x0;_0x1b75d3<_0x51653c;_0x1b75d3+=0x4)_0x13ed8a[_0x2f88f7+_0x1b75d3>>>0x2]=_0x3ed605[_0x1b75d3>>>0x2];}return this[_0x535029(0x27e)]+=_0x51653c,this;},'clamp':function(){var _0x156258=_0x5cbce0,_0x33d7f9=this[_0x156258(0x10b)],_0x4a02eb=this[_0x156258(0x27e)];_0x33d7f9[_0x4a02eb>>>0x2]&=0xffffffff<<0x20-_0x4a02eb%0x4*0x8,_0x33d7f9[_0x156258(0x3b7)]=_0x53236a[_0x156258(0x219)](_0x4a02eb/0x4);},'clone':function(){var _0x5a68ba=_0x5cbce0,_0x112c46=_0x22fdb3[_0x5a68ba(0x311)][_0x5a68ba(0xf4)](this);return _0x112c46[_0x5a68ba(0x10b)]=this['words'][_0x5a68ba(0x2c8)](0x0),_0x112c46;},'random':function(_0x417669){var _0x13ffa0=_0x5cbce0;for(var _0x3dafd0=[],_0x25ef27=0x0;_0x25ef27<_0x417669;_0x25ef27+=0x4)_0x3dafd0[_0x13ffa0(0x291)](_0x485b1e());return new _0x21c056[(_0x13ffa0(0x3b3))](_0x3dafd0,_0x417669);}}),_0x2da139=_0x20c996[_0x5cbce0(0x2cc)]={},_0x45d603=_0x2da139[_0x5cbce0(0x104)]={'stringify':function(_0x33c41e){var _0x2423ca=_0x5cbce0;for(var _0x36debb=_0x33c41e[_0x2423ca(0x10b)],_0x374148=_0x33c41e[_0x2423ca(0x27e)],_0x22eb4e=[],_0x54ae12=0x0;_0x54ae12<_0x374148;_0x54ae12++){var _0x2401ed=_0x36debb[_0x54ae12>>>0x2]>>>0x18-_0x54ae12%0x4*0x8&0xff;_0x22eb4e['push']((_0x2401ed>>>0x4)[_0x2423ca(0xd8)](0x10)),_0x22eb4e[_0x2423ca(0x291)]((_0x2401ed&0xf)[_0x2423ca(0xd8)](0x10));}return _0x22eb4e[_0x2423ca(0x397)]('');},'parse':function(_0x115e42){var _0x3a6a3f=_0x5cbce0;for(var _0x1875fb=_0x115e42[_0x3a6a3f(0x3b7)],_0x1b11fd=[],_0x33a97b=0x0;_0x33a97b<_0x1875fb;_0x33a97b+=0x2)_0x1b11fd[_0x33a97b>>>0x3]|=parseInt(_0x115e42['substr'](_0x33a97b,0x2),0x10)<<0x18-_0x33a97b%0x8*0x4;return new _0x21c056['init'](_0x1b11fd,_0x1875fb/0x2);}},_0x4864b4=_0x2da139[_0x5cbce0(0xe1)]={'stringify':function(_0x1a67a9){var _0x5904a3=_0x5cbce0;for(var _0xd5e28c=_0x1a67a9['words'],_0x5d2292=_0x1a67a9['sigBytes'],_0x58be91=[],_0x5c61a2=0x0;_0x5c61a2<_0x5d2292;_0x5c61a2++){var _0x4f0f84=_0xd5e28c[_0x5c61a2>>>0x2]>>>0x18-_0x5c61a2%0x4*0x8&0xff;_0x58be91[_0x5904a3(0x291)](String['fromCharCode'](_0x4f0f84));}return _0x58be91['join']('');},'parse':function(_0x2ca48c){var _0x4092a6=_0x5cbce0;for(var _0x18c0e8=_0x2ca48c[_0x4092a6(0x3b7)],_0x220523=[],_0xf31410=0x0;_0xf31410<_0x18c0e8;_0xf31410++)_0x220523[_0xf31410>>>0x2]|=(_0x2ca48c[_0x4092a6(0x232)](_0xf31410)&0xff)<<0x18-_0xf31410%0x4*0x8;return new _0x21c056['init'](_0x220523,_0x18c0e8);}},_0x1710ca=_0x2da139[_0x5cbce0(0x392)]={'stringify':function(_0x12f4cf){try{return decodeURIComponent(escape(_0x4864b4['stringify'](_0x12f4cf)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x40a5cd){var _0x90ca22=_0x5cbce0;return _0x4864b4[_0x90ca22(0x154)](unescape(encodeURIComponent(_0x40a5cd)));}},_0x13bc63=_0x357a66['BufferedBlockAlgorithm']=_0x22fdb3[_0x5cbce0(0x11c)]({'reset':function(){var _0x56caf0=_0x5cbce0;this['_data']=new _0x21c056[(_0x56caf0(0x3b3))](),this[_0x56caf0(0x95)]=0x0;},'_append':function(_0x2df525){var _0x25c372=_0x5cbce0;typeof _0x2df525==_0x25c372(0x106)&&(_0x2df525=_0x1710ca[_0x25c372(0x154)](_0x2df525)),this['_data'][_0x25c372(0x185)](_0x2df525),this['_nDataBytes']+=_0x2df525['sigBytes'];},'_process':function(_0x3c3112){var _0x1c1bb9=_0x5cbce0,_0x4e0561,_0x4743e4=this[_0x1c1bb9(0x28d)],_0x1a3fe7=_0x4743e4['words'],_0x34d1a0=_0x4743e4[_0x1c1bb9(0x27e)],_0x19e77d=this[_0x1c1bb9(0x118)],_0x254327=_0x19e77d*0x4,_0x323fe5=_0x34d1a0/_0x254327;_0x3c3112?_0x323fe5=_0x53236a[_0x1c1bb9(0x219)](_0x323fe5):_0x323fe5=_0x53236a[_0x1c1bb9(0x13a)]((_0x323fe5|0x0)-this['_minBufferSize'],0x0);var _0x51ff25=_0x323fe5*_0x19e77d,_0x3d2d8c=_0x53236a[_0x1c1bb9(0x129)](_0x51ff25*0x4,_0x34d1a0);if(_0x51ff25){for(var _0x762d17=0x0;_0x762d17<_0x51ff25;_0x762d17+=_0x19e77d)this['_doProcessBlock'](_0x1a3fe7,_0x762d17);_0x4e0561=_0x1a3fe7[_0x1c1bb9(0x2f4)](0x0,_0x51ff25),_0x4743e4[_0x1c1bb9(0x27e)]-=_0x3d2d8c;}return new _0x21c056[(_0x1c1bb9(0x3b3))](_0x4e0561,_0x3d2d8c);},'clone':function(){var _0xa09c53=_0x5cbce0,_0x103db2=_0x22fdb3['clone'][_0xa09c53(0xf4)](this);return _0x103db2[_0xa09c53(0x28d)]=this[_0xa09c53(0x28d)][_0xa09c53(0x311)](),_0x103db2;},'_minBufferSize':0x0});_0x357a66[_0x5cbce0(0xbf)]=_0x13bc63[_0x5cbce0(0x11c)]({'cfg':_0x22fdb3[_0x5cbce0(0x11c)](),'init':function(_0x45f26a){var _0x5a0a3b=_0x5cbce0;this[_0x5a0a3b(0xa4)]=this[_0x5a0a3b(0xa4)][_0x5a0a3b(0x11c)](_0x45f26a),this['reset']();},'reset':function(){var _0x3dc4bb=_0x5cbce0;_0x13bc63[_0x3dc4bb(0x2c5)][_0x3dc4bb(0xf4)](this),this[_0x3dc4bb(0x339)]();},'update':function(_0x31354c){var _0x1a027b=_0x5cbce0;return this['_append'](_0x31354c),this[_0x1a027b(0x36b)](),this;},'finalize':function(_0x51daf4){var _0x30f0e2=_0x5cbce0;_0x51daf4&&this['_append'](_0x51daf4);var _0x1914e9=this[_0x30f0e2(0x2f7)]();return _0x1914e9;},'blockSize':0x10,'_createHelper':function(_0x51eae7){return function(_0x44d3c8,_0x3e0410){var _0x50139b=_0x4f24;return new _0x51eae7['init'](_0x3e0410)[_0x50139b(0x260)](_0x44d3c8);};},'_createHmacHelper':function(_0x508d56){return function(_0x568062,_0x4a3245){var _0x6cb7b7=_0x4f24;return new _0x2f83a2['HMAC'][(_0x6cb7b7(0x3b3))](_0x508d56,_0x4a3245)[_0x6cb7b7(0x260)](_0x568062);};}});var _0x2f83a2=_0x20c996[_0x5cbce0(0x351)]={};return _0x20c996;}(Math);return _0x2b74ae;}));}(Ge)),Ge['exports'];}var We={'exports':{}},cn=We[_0x368389(0x12a)],qt;function Ri(){return qt||(qt=0x1,function(_0x236ff1,_0x4d5cac){(function(_0x1d6599,_0x35fd63){var _0x5cf296=_0x4f24;_0x236ff1[_0x5cf296(0x12a)]=_0x35fd63(ie());}(cn,function(_0x4252aa){var _0x46eb2e=_0x4f24;return(function(){var _0x147915=_0x4f24,_0x1b87c6=_0x4252aa,_0x38bd7c=_0x1b87c6[_0x147915(0x38a)],_0x9d86be=_0x38bd7c[_0x147915(0xed)],_0x557958=_0x1b87c6[_0x147915(0x2cc)];_0x557958[_0x147915(0x161)]={'stringify':function(_0xbe1ec6){var _0x44421f=_0x147915,_0x92ff24=_0xbe1ec6[_0x44421f(0x10b)],_0x58c24e=_0xbe1ec6[_0x44421f(0x27e)],_0x514f0e=this[_0x44421f(0x244)];_0xbe1ec6[_0x44421f(0x208)]();for(var _0x8017f=[],_0x532180=0x0;_0x532180<_0x58c24e;_0x532180+=0x3)for(var _0x506e72=_0x92ff24[_0x532180>>>0x2]>>>0x18-_0x532180%0x4*0x8&0xff,_0x29dff6=_0x92ff24[_0x532180+0x1>>>0x2]>>>0x18-(_0x532180+0x1)%0x4*0x8&0xff,_0x439db1=_0x92ff24[_0x532180+0x2>>>0x2]>>>0x18-(_0x532180+0x2)%0x4*0x8&0xff,_0xc66e1c=_0x506e72<<0x10|_0x29dff6<<0x8|_0x439db1,_0x3d2a5e=0x0;_0x3d2a5e<0x4&&_0x532180+_0x3d2a5e*0.75<_0x58c24e;_0x3d2a5e++)_0x8017f[_0x44421f(0x291)](_0x514f0e['charAt'](_0xc66e1c>>>0x6*(0x3-_0x3d2a5e)&0x3f));var _0x5416bb=_0x514f0e[_0x44421f(0xd1)](0x40);if(_0x5416bb){for(;_0x8017f[_0x44421f(0x3b7)]%0x4;)_0x8017f['push'](_0x5416bb);}return _0x8017f[_0x44421f(0x397)]('');},'parse':function(_0x7207d4){var _0x4346ae=_0x147915,_0x39df37=_0x7207d4['length'],_0x2724db=this[_0x4346ae(0x244)],_0x25d43b=this[_0x4346ae(0x293)];if(!_0x25d43b){_0x25d43b=this['_reverseMap']=[];for(var _0x2b8c12=0x0;_0x2b8c12<_0x2724db[_0x4346ae(0x3b7)];_0x2b8c12++)_0x25d43b[_0x2724db[_0x4346ae(0x232)](_0x2b8c12)]=_0x2b8c12;}var _0x393604=_0x2724db['charAt'](0x40);if(_0x393604){var _0x30267e=_0x7207d4['indexOf'](_0x393604);_0x30267e!==-0x1&&(_0x39df37=_0x30267e);}return _0x1b2555(_0x7207d4,_0x39df37,_0x25d43b);},'_map':_0x147915(0x186)};function _0x1b2555(_0xa186f3,_0x14bad8,_0x55eb4f){var _0x224ff8=_0x147915;for(var _0x43e50a=[],_0x4d2aa3=0x0,_0x40adad=0x0;_0x40adad<_0x14bad8;_0x40adad++)if(_0x40adad%0x4){var _0x83ec9=_0x55eb4f[_0xa186f3[_0x224ff8(0x232)](_0x40adad-0x1)]<<_0x40adad%0x4*0x2,_0x38c4a8=_0x55eb4f[_0xa186f3[_0x224ff8(0x232)](_0x40adad)]>>>0x6-_0x40adad%0x4*0x2,_0x594d87=_0x83ec9|_0x38c4a8;_0x43e50a[_0x4d2aa3>>>0x2]|=_0x594d87<<0x18-_0x4d2aa3%0x4*0x8,_0x4d2aa3++;}return _0x9d86be[_0x224ff8(0x25f)](_0x43e50a,_0x4d2aa3);}}()),_0x4252aa[_0x46eb2e(0x2cc)][_0x46eb2e(0x161)];}));}(We)),We['exports'];}var Ye={'exports':{}},_n=Ye[_0x368389(0x12a)],zt;function hn(){var _0xddca11=_0x368389;return zt||(zt=0x1,function(_0x1ba40b,_0x2785b7){(function(_0x3f8706,_0x4519e2){var _0x19a5c8=_0x4f24;_0x1ba40b[_0x19a5c8(0x12a)]=_0x4519e2(ie());}(_n,function(_0x49ad3c){var _0x32af37=_0x4f24;return function(_0x4d4bbb){var _0x209c48=_0x4f24,_0x3764ef=_0x49ad3c,_0x4307fb=_0x3764ef[_0x209c48(0x38a)],_0x243356=_0x4307fb[_0x209c48(0xed)],_0x1d33a0=_0x4307fb[_0x209c48(0xbf)],_0xadb36=_0x3764ef[_0x209c48(0x351)],_0x29472c=[];(function(){var _0x2f2820=_0x209c48;for(var _0x1beba6=0x0;_0x1beba6<0x40;_0x1beba6++)_0x29472c[_0x1beba6]=_0x4d4bbb[_0x2f2820(0x2b4)](_0x4d4bbb[_0x2f2820(0x285)](_0x1beba6+0x1))*0x100000000|0x0;}());var _0x4cbc37=_0xadb36['MD5']=_0x1d33a0['extend']({'_doReset':function(){var _0x179d73=_0x209c48;this[_0x179d73(0x356)]=new _0x243356[(_0x179d73(0x3b3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5106d3,_0x3d3e05){var _0x5e296e=_0x209c48;for(var _0x578cd2=0x0;_0x578cd2<0x10;_0x578cd2++){var _0x4bea27=_0x3d3e05+_0x578cd2,_0x48fe5c=_0x5106d3[_0x4bea27];_0x5106d3[_0x4bea27]=(_0x48fe5c<<0x8|_0x48fe5c>>>0x18)&0xff00ff|(_0x48fe5c<<0x18|_0x48fe5c>>>0x8)&0xff00ff00;}var _0x3382c8=this[_0x5e296e(0x356)]['words'],_0xd19611=_0x5106d3[_0x3d3e05+0x0],_0x44a209=_0x5106d3[_0x3d3e05+0x1],_0x1c241b=_0x5106d3[_0x3d3e05+0x2],_0x4173a3=_0x5106d3[_0x3d3e05+0x3],_0x48b26a=_0x5106d3[_0x3d3e05+0x4],_0x15b05f=_0x5106d3[_0x3d3e05+0x5],_0x384e6d=_0x5106d3[_0x3d3e05+0x6],_0x567235=_0x5106d3[_0x3d3e05+0x7],_0x26ae98=_0x5106d3[_0x3d3e05+0x8],_0x117b1d=_0x5106d3[_0x3d3e05+0x9],_0x7db03c=_0x5106d3[_0x3d3e05+0xa],_0x34eaaf=_0x5106d3[_0x3d3e05+0xb],_0x5ccab4=_0x5106d3[_0x3d3e05+0xc],_0x14e358=_0x5106d3[_0x3d3e05+0xd],_0x3e336a=_0x5106d3[_0x3d3e05+0xe],_0x4d06a2=_0x5106d3[_0x3d3e05+0xf],_0x5dd336=_0x3382c8[0x0],_0x59c292=_0x3382c8[0x1],_0x23d60d=_0x3382c8[0x2],_0x4f5def=_0x3382c8[0x3];_0x5dd336=_0x3f4763(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0xd19611,0x7,_0x29472c[0x0]),_0x4f5def=_0x3f4763(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x44a209,0xc,_0x29472c[0x1]),_0x23d60d=_0x3f4763(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x1c241b,0x11,_0x29472c[0x2]),_0x59c292=_0x3f4763(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x4173a3,0x16,_0x29472c[0x3]),_0x5dd336=_0x3f4763(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x48b26a,0x7,_0x29472c[0x4]),_0x4f5def=_0x3f4763(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x15b05f,0xc,_0x29472c[0x5]),_0x23d60d=_0x3f4763(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x384e6d,0x11,_0x29472c[0x6]),_0x59c292=_0x3f4763(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x567235,0x16,_0x29472c[0x7]),_0x5dd336=_0x3f4763(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x26ae98,0x7,_0x29472c[0x8]),_0x4f5def=_0x3f4763(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x117b1d,0xc,_0x29472c[0x9]),_0x23d60d=_0x3f4763(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x7db03c,0x11,_0x29472c[0xa]),_0x59c292=_0x3f4763(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x34eaaf,0x16,_0x29472c[0xb]),_0x5dd336=_0x3f4763(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x5ccab4,0x7,_0x29472c[0xc]),_0x4f5def=_0x3f4763(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x14e358,0xc,_0x29472c[0xd]),_0x23d60d=_0x3f4763(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x3e336a,0x11,_0x29472c[0xe]),_0x59c292=_0x3f4763(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x4d06a2,0x16,_0x29472c[0xf]),_0x5dd336=_0x1fe351(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x44a209,0x5,_0x29472c[0x10]),_0x4f5def=_0x1fe351(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x384e6d,0x9,_0x29472c[0x11]),_0x23d60d=_0x1fe351(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x34eaaf,0xe,_0x29472c[0x12]),_0x59c292=_0x1fe351(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0xd19611,0x14,_0x29472c[0x13]),_0x5dd336=_0x1fe351(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x15b05f,0x5,_0x29472c[0x14]),_0x4f5def=_0x1fe351(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x7db03c,0x9,_0x29472c[0x15]),_0x23d60d=_0x1fe351(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x4d06a2,0xe,_0x29472c[0x16]),_0x59c292=_0x1fe351(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x48b26a,0x14,_0x29472c[0x17]),_0x5dd336=_0x1fe351(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x117b1d,0x5,_0x29472c[0x18]),_0x4f5def=_0x1fe351(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x3e336a,0x9,_0x29472c[0x19]),_0x23d60d=_0x1fe351(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x4173a3,0xe,_0x29472c[0x1a]),_0x59c292=_0x1fe351(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x26ae98,0x14,_0x29472c[0x1b]),_0x5dd336=_0x1fe351(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x14e358,0x5,_0x29472c[0x1c]),_0x4f5def=_0x1fe351(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x1c241b,0x9,_0x29472c[0x1d]),_0x23d60d=_0x1fe351(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x567235,0xe,_0x29472c[0x1e]),_0x59c292=_0x1fe351(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x5ccab4,0x14,_0x29472c[0x1f]),_0x5dd336=_0x5c66a4(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x15b05f,0x4,_0x29472c[0x20]),_0x4f5def=_0x5c66a4(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x26ae98,0xb,_0x29472c[0x21]),_0x23d60d=_0x5c66a4(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x34eaaf,0x10,_0x29472c[0x22]),_0x59c292=_0x5c66a4(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x3e336a,0x17,_0x29472c[0x23]),_0x5dd336=_0x5c66a4(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x44a209,0x4,_0x29472c[0x24]),_0x4f5def=_0x5c66a4(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x48b26a,0xb,_0x29472c[0x25]),_0x23d60d=_0x5c66a4(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x567235,0x10,_0x29472c[0x26]),_0x59c292=_0x5c66a4(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x7db03c,0x17,_0x29472c[0x27]),_0x5dd336=_0x5c66a4(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x14e358,0x4,_0x29472c[0x28]),_0x4f5def=_0x5c66a4(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0xd19611,0xb,_0x29472c[0x29]),_0x23d60d=_0x5c66a4(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x4173a3,0x10,_0x29472c[0x2a]),_0x59c292=_0x5c66a4(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x384e6d,0x17,_0x29472c[0x2b]),_0x5dd336=_0x5c66a4(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x117b1d,0x4,_0x29472c[0x2c]),_0x4f5def=_0x5c66a4(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x5ccab4,0xb,_0x29472c[0x2d]),_0x23d60d=_0x5c66a4(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x4d06a2,0x10,_0x29472c[0x2e]),_0x59c292=_0x5c66a4(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x1c241b,0x17,_0x29472c[0x2f]),_0x5dd336=_0x4da160(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0xd19611,0x6,_0x29472c[0x30]),_0x4f5def=_0x4da160(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x567235,0xa,_0x29472c[0x31]),_0x23d60d=_0x4da160(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x3e336a,0xf,_0x29472c[0x32]),_0x59c292=_0x4da160(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x15b05f,0x15,_0x29472c[0x33]),_0x5dd336=_0x4da160(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x5ccab4,0x6,_0x29472c[0x34]),_0x4f5def=_0x4da160(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x4173a3,0xa,_0x29472c[0x35]),_0x23d60d=_0x4da160(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x7db03c,0xf,_0x29472c[0x36]),_0x59c292=_0x4da160(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x44a209,0x15,_0x29472c[0x37]),_0x5dd336=_0x4da160(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x26ae98,0x6,_0x29472c[0x38]),_0x4f5def=_0x4da160(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x4d06a2,0xa,_0x29472c[0x39]),_0x23d60d=_0x4da160(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x384e6d,0xf,_0x29472c[0x3a]),_0x59c292=_0x4da160(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x14e358,0x15,_0x29472c[0x3b]),_0x5dd336=_0x4da160(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x48b26a,0x6,_0x29472c[0x3c]),_0x4f5def=_0x4da160(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x34eaaf,0xa,_0x29472c[0x3d]),_0x23d60d=_0x4da160(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x1c241b,0xf,_0x29472c[0x3e]),_0x59c292=_0x4da160(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x117b1d,0x15,_0x29472c[0x3f]),_0x3382c8[0x0]=_0x3382c8[0x0]+_0x5dd336|0x0,_0x3382c8[0x1]=_0x3382c8[0x1]+_0x59c292|0x0,_0x3382c8[0x2]=_0x3382c8[0x2]+_0x23d60d|0x0,_0x3382c8[0x3]=_0x3382c8[0x3]+_0x4f5def|0x0;},'_doFinalize':function(){var _0x4c874f=_0x209c48,_0x3e812c=this[_0x4c874f(0x28d)],_0x355a01=_0x3e812c[_0x4c874f(0x10b)],_0xc98ae=this['_nDataBytes']*0x8,_0x42fe1b=_0x3e812c['sigBytes']*0x8;_0x355a01[_0x42fe1b>>>0x5]|=0x80<<0x18-_0x42fe1b%0x20;var _0xdb9d39=_0x4d4bbb[_0x4c874f(0x2e8)](_0xc98ae/0x100000000),_0x520d9c=_0xc98ae;_0x355a01[(_0x42fe1b+0x40>>>0x9<<0x4)+0xf]=(_0xdb9d39<<0x8|_0xdb9d39>>>0x18)&0xff00ff|(_0xdb9d39<<0x18|_0xdb9d39>>>0x8)&0xff00ff00,_0x355a01[(_0x42fe1b+0x40>>>0x9<<0x4)+0xe]=(_0x520d9c<<0x8|_0x520d9c>>>0x18)&0xff00ff|(_0x520d9c<<0x18|_0x520d9c>>>0x8)&0xff00ff00,_0x3e812c[_0x4c874f(0x27e)]=(_0x355a01[_0x4c874f(0x3b7)]+0x1)*0x4,this[_0x4c874f(0x36b)]();for(var _0x2bf352=this[_0x4c874f(0x356)],_0x4e3303=_0x2bf352['words'],_0x4e3292=0x0;_0x4e3292<0x4;_0x4e3292++){var _0x4950e7=_0x4e3303[_0x4e3292];_0x4e3303[_0x4e3292]=(_0x4950e7<<0x8|_0x4950e7>>>0x18)&0xff00ff|(_0x4950e7<<0x18|_0x4950e7>>>0x8)&0xff00ff00;}return _0x2bf352;},'clone':function(){var _0x36cfef=_0x209c48,_0x4e0af0=_0x1d33a0['clone'][_0x36cfef(0xf4)](this);return _0x4e0af0[_0x36cfef(0x356)]=this[_0x36cfef(0x356)][_0x36cfef(0x311)](),_0x4e0af0;}});function _0x3f4763(_0x355647,_0x2c7be0,_0x4b37a1,_0x52415e,_0xea2bcb,_0x5604fa,_0x559eaf){var _0x17ef30=_0x355647+(_0x2c7be0&_0x4b37a1|~_0x2c7be0&_0x52415e)+_0xea2bcb+_0x559eaf;return(_0x17ef30<<_0x5604fa|_0x17ef30>>>0x20-_0x5604fa)+_0x2c7be0;}function _0x1fe351(_0x4d56f2,_0x3962b2,_0x10d037,_0x275c91,_0x1fe892,_0x34e683,_0x4c1016){var _0x315a9e=_0x4d56f2+(_0x3962b2&_0x275c91|_0x10d037&~_0x275c91)+_0x1fe892+_0x4c1016;return(_0x315a9e<<_0x34e683|_0x315a9e>>>0x20-_0x34e683)+_0x3962b2;}function _0x5c66a4(_0x2e14ec,_0x39de39,_0x45f7d1,_0x2b6a30,_0x5cb7d7,_0x80167b,_0x317145){var _0x104de5=_0x2e14ec+(_0x39de39^_0x45f7d1^_0x2b6a30)+_0x5cb7d7+_0x317145;return(_0x104de5<<_0x80167b|_0x104de5>>>0x20-_0x80167b)+_0x39de39;}function _0x4da160(_0x58de13,_0x34f849,_0x5a9fec,_0x367b26,_0x2049b7,_0x27091e,_0x1fe1f8){var _0x4e44c5=_0x58de13+(_0x5a9fec^(_0x34f849|~_0x367b26))+_0x2049b7+_0x1fe1f8;return(_0x4e44c5<<_0x27091e|_0x4e44c5>>>0x20-_0x27091e)+_0x34f849;}_0x3764ef['MD5']=_0x1d33a0[_0x209c48(0xc1)](_0x4cbc37),_0x3764ef[_0x209c48(0xec)]=_0x1d33a0[_0x209c48(0x2b8)](_0x4cbc37);}(Math),_0x49ad3c[_0x32af37(0x2c6)];}));}(Ye)),Ye[_0xddca11(0x12a)];}var Ke={'exports':{}},qe={'exports':{}},ln=qe['exports'],Jt;function un(){var _0x4ed897=_0x368389;return Jt||(Jt=0x1,function(_0x4ed1c3,_0x18722e){(function(_0x5674a8,_0x14ee8d){var _0xda9eb0=_0x4f24;_0x4ed1c3[_0xda9eb0(0x12a)]=_0x14ee8d(ie());}(ln,function(_0x81db28){var _0x181331=_0x4f24;return(function(){var _0x530740=_0x4f24,_0x1154a6=_0x81db28,_0x3229ef=_0x1154a6[_0x530740(0x38a)],_0xfc63d9=_0x3229ef[_0x530740(0xed)],_0x3acb08=_0x3229ef[_0x530740(0xbf)],_0x1876f1=_0x1154a6[_0x530740(0x351)],_0x62895b=[],_0x10b24e=_0x1876f1['SHA1']=_0x3acb08[_0x530740(0x11c)]({'_doReset':function(){var _0x32284b=_0x530740;this[_0x32284b(0x356)]=new _0xfc63d9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3c45c8,_0x267621){var _0x14aaad=_0x530740;for(var _0x27999d=this[_0x14aaad(0x356)][_0x14aaad(0x10b)],_0x5e0fde=_0x27999d[0x0],_0x6285b4=_0x27999d[0x1],_0x1b1b4b=_0x27999d[0x2],_0x5b1a96=_0x27999d[0x3],_0x49cf40=_0x27999d[0x4],_0x43990d=0x0;_0x43990d<0x50;_0x43990d++){if(_0x43990d<0x10)_0x62895b[_0x43990d]=_0x3c45c8[_0x267621+_0x43990d]|0x0;else{var _0x19a580=_0x62895b[_0x43990d-0x3]^_0x62895b[_0x43990d-0x8]^_0x62895b[_0x43990d-0xe]^_0x62895b[_0x43990d-0x10];_0x62895b[_0x43990d]=_0x19a580<<0x1|_0x19a580>>>0x1f;}var _0x524b9d=(_0x5e0fde<<0x5|_0x5e0fde>>>0x1b)+_0x49cf40+_0x62895b[_0x43990d];_0x43990d<0x14?_0x524b9d+=(_0x6285b4&_0x1b1b4b|~_0x6285b4&_0x5b1a96)+0x5a827999:_0x43990d<0x28?_0x524b9d+=(_0x6285b4^_0x1b1b4b^_0x5b1a96)+0x6ed9eba1:_0x43990d<0x3c?_0x524b9d+=(_0x6285b4&_0x1b1b4b|_0x6285b4&_0x5b1a96|_0x1b1b4b&_0x5b1a96)-0x70e44324:_0x524b9d+=(_0x6285b4^_0x1b1b4b^_0x5b1a96)-0x359d3e2a,_0x49cf40=_0x5b1a96,_0x5b1a96=_0x1b1b4b,_0x1b1b4b=_0x6285b4<<0x1e|_0x6285b4>>>0x2,_0x6285b4=_0x5e0fde,_0x5e0fde=_0x524b9d;}_0x27999d[0x0]=_0x27999d[0x0]+_0x5e0fde|0x0,_0x27999d[0x1]=_0x27999d[0x1]+_0x6285b4|0x0,_0x27999d[0x2]=_0x27999d[0x2]+_0x1b1b4b|0x0,_0x27999d[0x3]=_0x27999d[0x3]+_0x5b1a96|0x0,_0x27999d[0x4]=_0x27999d[0x4]+_0x49cf40|0x0;},'_doFinalize':function(){var _0x491ee0=_0x530740,_0x494075=this[_0x491ee0(0x28d)],_0x36634d=_0x494075[_0x491ee0(0x10b)],_0x96e560=this[_0x491ee0(0x95)]*0x8,_0x1e3f5e=_0x494075[_0x491ee0(0x27e)]*0x8;return _0x36634d[_0x1e3f5e>>>0x5]|=0x80<<0x18-_0x1e3f5e%0x20,_0x36634d[(_0x1e3f5e+0x40>>>0x9<<0x4)+0xe]=Math[_0x491ee0(0x2e8)](_0x96e560/0x100000000),_0x36634d[(_0x1e3f5e+0x40>>>0x9<<0x4)+0xf]=_0x96e560,_0x494075[_0x491ee0(0x27e)]=_0x36634d[_0x491ee0(0x3b7)]*0x4,this[_0x491ee0(0x36b)](),this[_0x491ee0(0x356)];},'clone':function(){var _0xc64fc6=_0x530740,_0x1aacf1=_0x3acb08[_0xc64fc6(0x311)][_0xc64fc6(0xf4)](this);return _0x1aacf1[_0xc64fc6(0x356)]=this[_0xc64fc6(0x356)][_0xc64fc6(0x311)](),_0x1aacf1;}});_0x1154a6[_0x530740(0x212)]=_0x3acb08[_0x530740(0xc1)](_0x10b24e),_0x1154a6['HmacSHA1']=_0x3acb08[_0x530740(0x2b8)](_0x10b24e);}()),_0x81db28[_0x181331(0x212)];}));}(qe)),qe[_0x4ed897(0x12a)];}function _0x111c(){var _0x5d1734=['_hash','message$','resourceIDs','prototype','session.room-cnt-exceeds','_stopTelemetryCollaborationNewChangeset','getSheetBlock','startsWith','[CollaborationUndoRedoService]','__creator','LIVESHARE_FETCH_OPERATIONS','_updateLocalCache','_shouldReportTelemetry','UNDEFINED','collaboration-client.local-cache-service','UNRECOGNIZED','_memberService','_collaborationUIEventService','mode','body','UNIVER_DOC','_process','add','find','transformMutationsWithChangeset','YUUMI_CONNECTOR_URL_NOT_FOUND','getMemberID','reconnect','EMAIL_VERIFY_CODE_MISMATCH','loadUnit','HMAC','state$','YUUMI_NO_CUBOID_FOR_QUESTION','_acknowledgedAwaitingChangeset','ENTITLE_DUP_SUBSCRIPTION','collaboration_new_changeset','socket$','__Key__','createInstance','unpad','$super','getFocusedUnit','_pendingMutations','772XlkmlY','[PendingState]:\x20received\x20acknowledgement.','?url=','padding','actions','fromCharCode','StreamCipher','{fileID}','data','lib','interceptor','5JDxYXh','originalMeta','values','createDecryptor','changesets','AUTHORIZE_CODE_ILLEGAL','Utf8','loginUrlKey','editing\x20status\x20changed\x20to','_state','_sendHeartbeatTimer','join','NEW_CHANGESETS','_collabSessionService','readInt32LE','COMPLETION_FINISHED','Pkcs7','filter','_injector','close$','removeMember','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/object/','_createInitialStateImpl','_getUndoStack','image/bmp','/universer-api/file/{fileID}/sign-url','USERS_LEAVE','SUBMIT_CHANGESET_TIMEOUT','toggleOffline','_timeoutTimer','_permissionService','set','_createSocket','awaiting_with_pending','/new_changes','loadDoc','_disableEditing','_candidateSocket','init','_resendWithTimeout','sheets','emitEvent','length','fromCollab','newCsEvent','_executeRemoteChangeset','result','compose','_unlockTransition','hasOwnProperty','_transformRemoteChangesetByStateCache','_hasher','_joinRoom','_nDataBytes','_nRounds','ENTITLE_CHAT_LIMIT_EXCEED','_waitForHeartbeatResponse','LICENSE_IMPORT_SIZE_EXCEEDED','_onMessage','_invKeySchedule','updateOfflineData','status','57036mxvYDP','randomBytes','COMPRESS_MUTATION_SEND','transformChangesets','Decryptor','code','cfg','_onRemoteRejected','_syncEditingCollabCursor','_type','LIVESHARE_REQUEST_HOST','createSocket','origin','uploadFileServerUrl','SerializableCipher','collaboratorID','_updateStatus','_redoStacks','JOINING','onSyncEditingCollabCursor','_members$','APPLY_PERMISSION_DENIED','permissionRejEvent','getTypeOfUnitDisposed$','socket\x20open.','_remoteChangesetQueue','_configService','collaboration-client.config','authzUrl','appendMutation','infoRsp','pauseCollaboration','image/png','Hasher','byteLength','_createHelper','unit-cache-','_doCreateSocket','[CollaborationEntity]','stopTime','_startTelemetryCollaborationNewChangeset','60RXZvGn','open$','dispose','\x20to\x20','CBC','csShouldRetryEvent','DATA_SOURCE_TOO_LARGE','PAYMENT_CHANNEL_NOT_SUPPORT','shouldCloseConn','UNIVER_COLLABORATION_CLIENT_PLUGIN','charAt','salt','localeService','LIVESHARE_NEW_HOST','_imageSourceCache','now','/universer-api/stream/file/upload','toString','name','HttpImport','downloadEndpointUrl','_tryEnsureSocket','_isPermissionRej','reverse','synced','updatePermissionPoint','Latin1','_exhaustRemoteChangesetQueue','FETCH_MISS','[CollaborationSessionService]:\x20socket\x20error','random','OpenSSL','capture','_mode','_collaborationTimeoutTimer','liveShareOperation','c2Prime','HmacMD5','WordArray','BlockCipherMode','_clearRetryConnectingTimer','type','deepClone','action','_collaborationPaused','call','session.room-full','collabSubmitChangesetUrl','refreshPermission','disableLocalCache','getAllMembers','_doCryptBlock','JOIN_ROOM_NOT_EXISTS','SHOULD_CLOSE_CONN','LICENSE_EXPORT_SIZE_EXCEEDED','reqId','USER_IS_ANONYMOUS','_initUnitPermissionChange','userID','getTime','AWAITING_WITH_PENDING','Hex','LEAVE','string','_transformRemoteChangesetByIMECache','crypto','getCurrentSelections','OFFLINE','words','editingUnit','1197924CFeeLQ','/unit/','_getCtorByUniverType','Base','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','HttpExport','_lockTransition','session','updateCursorEvent','subscribe','then','blockSize','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collaborationSessionService','_transformUndoredo','extend','/universer-api/snapshot/','SNAPSHOT_URL_KEY','UUID','initWorkbookPermissionChange','onMissedChangesetFetched','_transformStateCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_decreaseWaiting','_revisionService','catch','default','_fetchMissChangesets','min','exports','_logService','_transformService','_config','_DEC_XFORM_MODE','resolve','BufferedBlockAlgorithm','duration','NoPadding','UNKNOWN_CODE','fetchMissingChangesets','roomInfos','_incrementRevisionNumber','encryptBlock','objects','getDeserializedSheetBlock','max','transformSelections','post','awaiting','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','SYNCED','encrypt','/rev/','/universer-api/authz','leaveEvent','UPDATE_PERMISSION_OBJ','REDEMPTION_CODE_HAS_BEEN_CREATED','offline','socket\x20close','_singleActiveUnitService','JOIN_ROOM_FAILED','responseType','_univerInstanceService','FETCH_MISSING','cmd','getSheetId','_getLoginPath','hostname','withCredentials','MUTATION','onlyLocal','parse','m2Prime','waitForRoom$','[SyncedState]:\x20received\x20acknowledgement.','_roomCreated$','eventID','onload','_socketService','LICENSE_DISTRO_REJECTED','UnitEmbedded','UPDATE_CURSOR','INGEST','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','Base64','mutations','/-/object/list','getResourcesRequest','REDEMPTION_CODE_INACTIVE','asObservable','_transitionLocked','_resendTimer','decrypt','COMMENT_UPDATE','_networkConditionService','getRandomValues','entityInit$','USERS_ENTER','getMember','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','JOIN','_getAPIPrefixPath','reject','listCollaborators','encode','Error\x20on\x20receiving\x20event','headers','transformUndoRedo','_event$','ONLINE','CHANGESET_REVISION_CONFILICT','ENTITLE_NEED_BILLING_ADDRESS','REDEMPTION_INVALID_CODE','_handler','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','params','updateCollaborator','\x0aCurrent:\x20','clear','LOCAL_CACHE_INTERVAL','concat','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','get','update','getImageSourceCache','REDEMPTION_CODE_NOT_STARTED','_replaceFileID','pad','online$','[CollaborationSessionService]','objectActions','185466wYRCDW','createCollaborator','onTransformRemoteChangesetByStateCache','HEARTBEAT_TIMEOUT','reduce','FAIL','[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.','liveShareNewHost','POST','onLocalMutation','_toggleOnline','getConfig','_oKey','_showConflictNotification','onRemoteAck','getWorkbookSelections','OTHER_CLIENT_EDITING','989582XhdrdK','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_replayCachedMutations','rev','override','_roomMembers','iterations','SUBMIT_CHANGESET','_onRecvEvent','ENTITLE_INSUFFICIENT_QUOTA','_keyPriorReset','Cipher','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_sendingTimer','submit\x20changeset\x20error!','collaborators','saveSnapshot','NOT_FOUND','MSG_FOR_ERROR','_compressMutationService','unitID','APPLY_REVISION_CONFILICT','session.join-failed','_sessions','getUnitType','JOIN_ROOM_FULL','send','_onFetchMissResult','equals','_retryConnectingTimer','not_collab','SNAPSHOT_HAS_BEEN_REMOVED','uniscriptRunEvent','readAsDataURL','x-univer-host','ALREADY_EXISTS','getUnitOnRev','_applyRemoteChangeset','roles','_onConnectionFailed','url','onCommentUpdate','HELLO','enableAuthServer','_telemetryService','[UniverCollaborationClientPlugin]','_clearHeartbeatTimer','getInterceptPoints','MOBILE_HAS_BEEN_BOUND','readyForCollab','PERSON','_awaitingChangeset','ciphertext','_toggleOffline','loadUnitOfRevision','executeCommand','_entities','_onConflict','_parse','auth.needGotoLoginAlert','__esModule','fetch_missing','onRemoteRetry','collaMsg','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_snapshotService','MOBILE_VERIFY_CODE_MISMATCH','_initCloseConn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_minBufferSize','_createHandler','_startCollaboration','_unitID','_sendHeartbeat','_entityInit$','LOGIN_TOKEN_PROCESSING_FAILED','baseRev','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVALID_ARGUMENT','src','mixIn','_keySchedule','_prevBlock','_changesetSessionId','_scheduleCompleteTimestamp','_onJoinRoomEvent','onMissingChangesets','RECV','loadOfflineData','PasswordBasedCipher','revision','deleteCollaborator','onStarting','CHANGESET_ACK','_onConnectionOpen','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','error','ClipsheetFragments','LIVESHARE_OPERATION','_state$','PSEUDO_FETCH_MISSING_RESULT','YUUMI_SUBSCRIPTION_NOT_FOUND','[CollaborationState]:\x20apply\x20error!','clamp','_commentService','_instanceService','_telemetryInfo','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_getDownloadEndpointURL','forEach','focused$','_clearLocalCache','fetchMiss','SHA1','PERMISSION_DENIED','UNISCRIPT_RUN','repeat','copyFileMeta','symbol','joinEvent','ceil','REDEMPTION_USER_NOT_ELIGIBLE','YUUMI_URL_COL_OUT_OF_RANGE','BASE64','saveChangeset','?size=','33NjytbV','YUUMI_AI_RUN_FAILED','_socketMessageSubscription','YUUMI_RATE_OVER_LIMIT','transformStack\x20failed!','encodeURIComponent','CLOSE_ROOM','file','_onLocalMutation','signUrlServerUrl','image/jpeg','UNIVER_PROJECT','JOIN_ROOM_PERMISSION_DENIED','getUnitId','failed\x20to\x20apply\x20missed\x20changesets!','SOCKET_FAILED_RETRY','batchAllowed','getCurrentUser','CONNECTOR_DATA_TOO_LARGE','charCodeAt','_listenToNetworkCondition','/-/object/-/batch_allowed','onSendChangeset','_sessionStatus$','objectID','PERMISSION_REJ','BlockCipher','_change$','_getUploadFileURL','subject','674955qzOjbT','UNIVER_SLIDE','SOCKET_FAILED','ENSURE_SNAPSHOT_EXECUTION','LICENSE_MAX_UNITS_EXCEEDED','[DataLoaderService]','_commentUpdate$','_map','closeSession','kdf','updateSnapshot','_clearRedo','compute','href','close','target','[CollaborationSession]','_xformMode','csAckEvent','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','People','_initDependencies','PY_RUNTIME_SCRIPT_ERROR','retryConnectingInterval','isPermissionRej','ERROR_IMAGE_TYPE','getCollabEntity$','buffer','commentUpdate$','INVITE_CODE_HAS_BEEN_UES','SNAPSHOT_INVALID_SNAPSHOT','Undefined','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','c1Prime','create','finalize','PENDING','_schedule','_transformIMECache','univer-pro.collaboration-client.single-active-unit-service','onTransformIME','_scheduleCollaborationTimeoutTimer','_clearScheduledTask','_transformSelections','localCacheService','_retryCount','change$','from','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getUnit','_substituteRedoStack','workbook','image/gif','UserProfileImg','[OfflineState]:\x20received\x20acknowledgement.','has','getValue','onTransformRemoteChangesetByIMECache','enableSingleActiveInstanceLock','apply','pipe','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_HTTPService','title','_clearUndo','sigBytes','_cipher','_ENC_XFORM_MODE','isArray','_initRequestHeader','processBlock','getOwnPropertyDescriptor','sin','getRoom','registerHTTPInterceptor','sendChangesetTimeout','/block/','onRemoteRej','UNAUTHENTICATED','map','_data','EvpKDF','_submitChangeset','YUUMI_UNABLE_LOAD_URL','push','session.room-permission-denied','_reverseMap','snapshot','_updateState','avatar','ws://127.0.0.1:8000/universer-api/comb/connect','delete','_socketReady','enableOfflineEditing','next','UnitSnapshot','dispose$','_clearCollaborationTimeoutTimer','textRanges','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getCollabEntity','unsubscribe','/role','/object','ERROR_IMAGE','_clearTimeoutTimer','ERROR_AGAIN','_iv','USER_NOT_FOUND','IDLE','CONFLICT','_localeService','getTypeOfUnitAdded$','updatePermissionObjEvent','disposeWithMe','requestParams','Encryptor','FileId','joinRsp','abs','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UNKNOWN_CMD','execute','_createHmacHelper','commentUpdateEvent','HEARTBEAT','CHANGESET_SHOULD_RETRY','fetchThroughInterceptors','stringify','OTHER_CLIENTS_EDITING','_iKey','_initMergeInterceptor','DEFAULT_FILE_NAME','_eventService','debug','_getSendChangesetTimeout','reset','MD5','Failed\x20to\x20update\x20permission\x20point','slice','_substituteUndoStack','COMPRESS_MUTATION_APPLY','_onRemoteChangeset','enc','onRemoteChangeset','keySize','sid','patch','loadSheet','conflict','telemetry\x20info\x20is\x20not\x20initialized','&assign=','_commandService','_members','/allowed','_waitCount','/universer-api/snapshot','setCurrentUser','_resendTimeout','_userManagerService','/universer-api/oidc/authpage','sessionStatus','allowed','_onOffline','setShowComponents','ENTITLE_REPORT_LIMIT_EXCEED','getLatestCsReqIdBySid','_rescheduleHeartbeat','_tryReconnect','417qNFALA','REDEMPTION_USER_REDEEM_TIMES_EXCEED','floor','list','YUUMI_ALL_TABLES_IS_INVALID','_undoRedoService','_onUserLeave','enableCollaboration','function','LIVESHARE_TERMINATE','memberID','key','_getAPIPrefix','_removeRoom','splice','_getCurrentRevision','every','_doFinalize','[OfflineState]:\x20received\x20changeset.','unknown','NO_OTHER_CLIENTS_EDITING','_getSignURL','connection\x20error','/collaborator','addHandlerCallback','state','[FetchMissState]','_unitInfo$','hasher','createEncryptor','_onUserJoin','UNIVER_SHEET','_checkMissing','_localCacheService','_key','onTransformState','_changesetReqId','msCrypto','routeKey','INVALID_INVITE_CODE','event$','format','_handlerCallback','clone','_onRemoteACK','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','pending','formatter','_throwTelemetryCollaborationNewChangeset','onStateChange','EMAIL_HAS_BEEN_BOUND','onTransformSelections','UNIVER_UNKNOWN','_onCombEvent','AES','[PendingState]:\x20received\x20rejection.','_socket','GLOBAL_ROOMS_CNT_EXCEEDS','status$','_init','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[SyncedState]:\x20received\x20rejection.','WECHAT_HAS_BEEN_BOUND','unitId\x20is\x20not\x20found','setWaitCount','CHANGESET_REJ','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','toggleOnline','getCurrentRevOfUnit','1625928cgHBws','_status$','unitId','HEARTBEAT_INTERVAL','requireSession','TOO_MANY_REQUESTS','REDEMPTION_CODE_FULLY_REDEEMED','_socket$','INTERNAL_ERROR','_onRemoteRetry','ERROR_EXCEED_SIZE','size','_sender','selections','_doReset','location','defineProperty','_transformStack','CURRENT_STATUS_CANNOT_OPERATE','error$','resend','getUnitStatus$','AWAITING','_httpService','_queuedRemoteChangesets','save\x20fail\x20reason\x20is\x20','objectType','APPLY_DUPLICATED','_sheetTransformSelectionsService','updateMember','getActiveSheet','_append','_createInitialState','_getRedoStack','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_registerDependencies','YUUMI_ASYNCIO_CANCELLED','sessionStatus$','algo','session.room-not-exists','addImageSourceCache','\x20in\x20_schedule.','complete'];_0x111c=function(){return _0x5d1734;};return _0x111c();}var ze={'exports':{}},dn=ze[_0x368389(0x12a)],Xt;function fn(){var _0x1b8fac=_0x368389;return Xt||(Xt=0x1,function(_0x5b7ed9,_0xeeaba3){(function(_0x463346,_0x488f43){var _0x40c036=_0x4f24;_0x5b7ed9[_0x40c036(0x12a)]=_0x488f43(ie());}(dn,function(_0x33b702){(function(){var _0x2b3e63=_0x4f24,_0x57e1ae=_0x33b702,_0x37113a=_0x57e1ae[_0x2b3e63(0x38a)],_0x5ef2e7=_0x37113a[_0x2b3e63(0x110)],_0x291749=_0x57e1ae[_0x2b3e63(0x2cc)],_0x27c6a8=_0x291749[_0x2b3e63(0x392)],_0x476ca3=_0x57e1ae['algo'];_0x476ca3[_0x2b3e63(0x374)]=_0x5ef2e7[_0x2b3e63(0x11c)]({'init':function(_0x1f18cb,_0x5593fa){var _0x328827=_0x2b3e63;_0x1f18cb=this[_0x328827(0x93)]=new _0x1f18cb[(_0x328827(0x3b3))](),typeof _0x5593fa==_0x328827(0x106)&&(_0x5593fa=_0x27c6a8['parse'](_0x5593fa));var _0xc0371b=_0x1f18cb[_0x328827(0x118)],_0x51fc05=_0xc0371b*0x4;_0x5593fa['sigBytes']>_0x51fc05&&(_0x5593fa=_0x1f18cb[_0x328827(0x260)](_0x5593fa)),_0x5593fa[_0x328827(0x208)]();for(var _0x32895a=this['_oKey']=_0x5593fa[_0x328827(0x311)](),_0x41a55f=this[_0x328827(0x2bf)]=_0x5593fa[_0x328827(0x311)](),_0x266178=_0x32895a[_0x328827(0x10b)],_0x1c5d02=_0x41a55f['words'],_0x25db88=0x0;_0x25db88<_0xc0371b;_0x25db88++)_0x266178[_0x25db88]^=0x5c5c5c5c,_0x1c5d02[_0x25db88]^=0x36363636;_0x32895a[_0x328827(0x27e)]=_0x41a55f[_0x328827(0x27e)]=_0x51fc05,this['reset']();},'reset':function(){var _0x3e172f=_0x2b3e63,_0x543aad=this[_0x3e172f(0x93)];_0x543aad[_0x3e172f(0x2c5)](),_0x543aad[_0x3e172f(0x188)](this[_0x3e172f(0x2bf)]);},'update':function(_0x38a055){var _0x126d6d=_0x2b3e63;return this[_0x126d6d(0x93)][_0x126d6d(0x188)](_0x38a055),this;},'finalize':function(_0x2f7555){var _0x2e27fa=_0x2b3e63,_0x27b530=this['_hasher'],_0x50c392=_0x27b530[_0x2e27fa(0x260)](_0x2f7555);_0x27b530['reset']();var _0x44238f=_0x27b530[_0x2e27fa(0x260)](this[_0x2e27fa(0x19c)][_0x2e27fa(0x311)]()[_0x2e27fa(0x185)](_0x50c392));return _0x44238f;}});}());}));}(ze)),ze[_0x1b8fac(0x12a)];}var vn=Ke[_0x368389(0x12a)],Zt;function Ci(){var _0xb8c4fe=_0x368389;return Zt||(Zt=0x1,function(_0x105e60,_0x42e826){(function(_0x2e99b0,_0x2541a8,_0x2a8249){_0x105e60['exports']=_0x2541a8(ie(),un(),fn());}(vn,function(_0x358c5a){var _0x23d81b=_0x4f24;return(function(){var _0x211d7d=_0x4f24,_0x19b5f7=_0x358c5a,_0xfcc7a6=_0x19b5f7[_0x211d7d(0x38a)],_0x1ccc11=_0xfcc7a6['Base'],_0x3ffc2d=_0xfcc7a6[_0x211d7d(0xed)],_0xf5ffc9=_0x19b5f7[_0x211d7d(0x351)],_0xa19251=_0xf5ffc9[_0x211d7d(0x2c6)],_0x47f7cc=_0xf5ffc9[_0x211d7d(0x28e)]=_0x1ccc11[_0x211d7d(0x11c)]({'cfg':_0x1ccc11[_0x211d7d(0x11c)]({'keySize':0x80/0x20,'hasher':_0xa19251,'iterations':0x1}),'init':function(_0x2c94ad){var _0x89d258=_0x211d7d;this[_0x89d258(0xa4)]=this[_0x89d258(0xa4)][_0x89d258(0x11c)](_0x2c94ad);},'compute':function(_0x1ae05c,_0x100ac8){var _0xbe9fc4=_0x211d7d;for(var _0x469d04,_0x277472=this[_0xbe9fc4(0xa4)],_0x4a3594=_0x277472[_0xbe9fc4(0x302)][_0xbe9fc4(0x25f)](),_0x596a96=_0x3ffc2d[_0xbe9fc4(0x25f)](),_0x2a3b94=_0x596a96[_0xbe9fc4(0x10b)],_0x4c1ea1=_0x277472[_0xbe9fc4(0x2ce)],_0x2b4691=_0x277472[_0xbe9fc4(0x1a7)];_0x2a3b94[_0xbe9fc4(0x3b7)]<_0x4c1ea1;){_0x469d04&&_0x4a3594['update'](_0x469d04),_0x469d04=_0x4a3594[_0xbe9fc4(0x188)](_0x1ae05c)['finalize'](_0x100ac8),_0x4a3594[_0xbe9fc4(0x2c5)]();for(var _0xab6376=0x1;_0xab6376<_0x2b4691;_0xab6376++)_0x469d04=_0x4a3594[_0xbe9fc4(0x260)](_0x469d04),_0x4a3594[_0xbe9fc4(0x2c5)]();_0x596a96[_0xbe9fc4(0x185)](_0x469d04);}return _0x596a96[_0xbe9fc4(0x27e)]=_0x4c1ea1*0x4,_0x596a96;}});_0x19b5f7[_0x211d7d(0x28e)]=function(_0x4ec4dc,_0x43f222,_0x4bc469){var _0x415a30=_0x211d7d;return _0x47f7cc['create'](_0x4bc469)[_0x415a30(0x249)](_0x4ec4dc,_0x43f222);};}()),_0x358c5a[_0x23d81b(0x28e)];}));}(Ke)),Ke[_0xb8c4fe(0x12a)];}var Je={'exports':{}},pn=Je[_0x368389(0x12a)],Qt;function Ni(){var _0x58c52e=_0x368389;return Qt||(Qt=0x1,function(_0x396b58,_0x15bba9){(function(_0x549deb,_0x3c90e2,_0x2c8a29){var _0x50bfe7=_0x4f24;_0x396b58[_0x50bfe7(0x12a)]=_0x3c90e2(ie(),Ci());}(pn,function(_0x2ed288){var _0x4bcfde=_0x4f24;_0x2ed288[_0x4bcfde(0x38a)]['Cipher']||function(_0x53faf4){var _0x253331=_0x4bcfde,_0x49cdb3=_0x2ed288,_0x3f9c57=_0x49cdb3[_0x253331(0x38a)],_0x1d0bc3=_0x3f9c57[_0x253331(0x110)],_0x411067=_0x3f9c57[_0x253331(0xed)],_0x3695cb=_0x3f9c57[_0x253331(0x130)],_0x410921=_0x49cdb3['enc'];_0x410921['Utf8'];var _0x1c8068=_0x410921['Base64'],_0x317443=_0x49cdb3['algo'],_0x1db0b6=_0x317443[_0x253331(0x28e)],_0x1a302e=_0x3f9c57[_0x253331(0x1ac)]=_0x3695cb[_0x253331(0x11c)]({'cfg':_0x1d0bc3[_0x253331(0x11c)](),'createEncryptor':function(_0x567af8,_0x24ce84){var _0x518844=_0x253331;return this['create'](this[_0x518844(0x280)],_0x567af8,_0x24ce84);},'createDecryptor':function(_0x514c9b,_0x34090e){var _0x98e44b=_0x253331;return this[_0x98e44b(0x25f)](this[_0x98e44b(0x12e)],_0x514c9b,_0x34090e);},'init':function(_0x110d32,_0x1e87bc,_0x2c7193){var _0xe5f29b=_0x253331;this[_0xe5f29b(0xa4)]=this['cfg'][_0xe5f29b(0x11c)](_0x2c7193),this[_0xe5f29b(0x24e)]=_0x110d32,this[_0xe5f29b(0x308)]=_0x1e87bc,this[_0xe5f29b(0x2c5)]();},'reset':function(){var _0x1e5c94=_0x253331;_0x3695cb['reset'][_0x1e5c94(0xf4)](this),this[_0x1e5c94(0x339)]();},'process':function(_0x34ff36){var _0x1f5a04=_0x253331;return this[_0x1f5a04(0x34a)](_0x34ff36),this[_0x1f5a04(0x36b)]();},'finalize':function(_0x427a3c){var _0x407aa6=_0x253331;_0x427a3c&&this[_0x407aa6(0x34a)](_0x427a3c);var _0x3a79f9=this[_0x407aa6(0x2f7)]();return _0x3a79f9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x6202fa(_0xb1caca){var _0x4502e9=_0x4f24;return typeof _0xb1caca==_0x4502e9(0x106)?_0x1c681d:_0x4885f0;}return function(_0x18957c){return{'encrypt':function(_0x58866e,_0x34317d,_0x47129e){var _0x91e80b=_0x4f24;return _0x6202fa(_0x34317d)[_0x91e80b(0x140)](_0x18957c,_0x58866e,_0x34317d,_0x47129e);},'decrypt':function(_0x49ab14,_0x5ca530,_0x42be97){var _0x1f7be3=_0x4f24;return _0x6202fa(_0x5ca530)[_0x1f7be3(0x169)](_0x18957c,_0x49ab14,_0x5ca530,_0x42be97);}};};}())});_0x3f9c57[_0x253331(0x387)]=_0x1a302e['extend']({'_doFinalize':function(){var _0x47320e=_0x253331,_0x22d922=this[_0x47320e(0x36b)](!0x0);return _0x22d922;},'blockSize':0x1});var _0x74e1f3=_0x49cdb3['mode']={},_0xdbdda4=_0x3f9c57[_0x253331(0xee)]=_0x1d0bc3[_0x253331(0x11c)]({'createEncryptor':function(_0x45e602,_0x480621){var _0x434e2b=_0x253331;return this[_0x434e2b(0x2b1)][_0x434e2b(0x25f)](_0x45e602,_0x480621);},'createDecryptor':function(_0x4b656e,_0x4ef334){var _0x588111=_0x253331;return this['Decryptor'][_0x588111(0x25f)](_0x4b656e,_0x4ef334);},'init':function(_0xbb8006,_0xdb9be2){var _0x205d0c=_0x253331;this[_0x205d0c(0x27f)]=_0xbb8006,this[_0x205d0c(0x2a8)]=_0xdb9be2;}}),_0x126cda=_0x74e1f3[_0x253331(0xcb)]=(function(){var _0x47afa4=_0x253331,_0x3769e0=_0xdbdda4['extend']();_0x3769e0[_0x47afa4(0x2b1)]=_0x3769e0[_0x47afa4(0x11c)]({'processBlock':function(_0x1f6bfc,_0x7a203f){var _0x43482c=_0x47afa4,_0x1c404d=this[_0x43482c(0x27f)],_0x4e75d6=_0x1c404d[_0x43482c(0x118)];_0x410a43[_0x43482c(0xf4)](this,_0x1f6bfc,_0x7a203f,_0x4e75d6),_0x1c404d[_0x43482c(0x137)](_0x1f6bfc,_0x7a203f),this[_0x43482c(0x1f3)]=_0x1f6bfc[_0x43482c(0x2c8)](_0x7a203f,_0x7a203f+_0x4e75d6);}}),_0x3769e0[_0x47afa4(0xa2)]=_0x3769e0[_0x47afa4(0x11c)]({'processBlock':function(_0x4bca6f,_0x3283bb){var _0x55e405=_0x47afa4,_0x3fe90a=this['_cipher'],_0xa9ce8d=_0x3fe90a[_0x55e405(0x118)],_0x3b7d4b=_0x4bca6f[_0x55e405(0x2c8)](_0x3283bb,_0x3283bb+_0xa9ce8d);_0x3fe90a['decryptBlock'](_0x4bca6f,_0x3283bb),_0x410a43[_0x55e405(0xf4)](this,_0x4bca6f,_0x3283bb,_0xa9ce8d),this[_0x55e405(0x1f3)]=_0x3b7d4b;}});function _0x410a43(_0x1b73ac,_0x45756f,_0x516240){var _0x1c52c8=_0x47afa4,_0x23450a,_0x5be5e9=this[_0x1c52c8(0x2a8)];_0x5be5e9?(_0x23450a=_0x5be5e9,this[_0x1c52c8(0x2a8)]=_0x53faf4):_0x23450a=this[_0x1c52c8(0x1f3)];for(var _0x510ef1=0x0;_0x510ef1<_0x516240;_0x510ef1++)_0x1b73ac[_0x45756f+_0x510ef1]^=_0x23450a[_0x510ef1];}return _0x3769e0;}()),_0x24c6da=_0x49cdb3[_0x253331(0x18c)]={},_0x5a4f23=_0x24c6da[_0x253331(0x39c)]={'pad':function(_0x1cc3e7,_0x357e5b){var _0x3343e6=_0x253331;for(var _0x5b76ea=_0x357e5b*0x4,_0x2b4f6a=_0x5b76ea-_0x1cc3e7[_0x3343e6(0x27e)]%_0x5b76ea,_0x55d293=_0x2b4f6a<<0x18|_0x2b4f6a<<0x10|_0x2b4f6a<<0x8|_0x2b4f6a,_0xfe3534=[],_0x309816=0x0;_0x309816<_0x2b4f6a;_0x309816+=0x4)_0xfe3534[_0x3343e6(0x291)](_0x55d293);var _0x5b4406=_0x411067['create'](_0xfe3534,_0x2b4f6a);_0x1cc3e7[_0x3343e6(0x185)](_0x5b4406);},'unpad':function(_0x19293d){var _0x8f51a1=_0x253331,_0x2e8614=_0x19293d[_0x8f51a1(0x10b)][_0x19293d[_0x8f51a1(0x27e)]-0x1>>>0x2]&0xff;_0x19293d['sigBytes']-=_0x2e8614;}};_0x3f9c57[_0x253331(0x239)]=_0x1a302e[_0x253331(0x11c)]({'cfg':_0x1a302e['cfg'][_0x253331(0x11c)]({'mode':_0x126cda,'padding':_0x5a4f23}),'reset':function(){var _0x53341e=_0x253331,_0x11bc70;_0x1a302e[_0x53341e(0x2c5)][_0x53341e(0xf4)](this);var _0x29ffb2=this['cfg'],_0x418dcb=_0x29ffb2['iv'],_0x2ffc86=_0x29ffb2[_0x53341e(0x368)];this[_0x53341e(0x24e)]==this[_0x53341e(0x280)]?_0x11bc70=_0x2ffc86['createEncryptor']:(_0x11bc70=_0x2ffc86[_0x53341e(0x38f)],this[_0x53341e(0x1e6)]=0x1),this['_mode']&&this['_mode']['__creator']==_0x11bc70?this[_0x53341e(0xe8)][_0x53341e(0x3b3)](this,_0x418dcb&&_0x418dcb[_0x53341e(0x10b)]):(this['_mode']=_0x11bc70[_0x53341e(0xf4)](_0x2ffc86,this,_0x418dcb&&_0x418dcb[_0x53341e(0x10b)]),this['_mode'][_0x53341e(0x35f)]=_0x11bc70);},'_doProcessBlock':function(_0x59216a,_0x5c53cb){var _0x31e29c=_0x253331;this[_0x31e29c(0xe8)][_0x31e29c(0x283)](_0x59216a,_0x5c53cb);},'_doFinalize':function(){var _0x300f29=_0x253331,_0x355fac,_0x57def6=this[_0x300f29(0xa4)]['padding'];return this[_0x300f29(0x24e)]==this['_ENC_XFORM_MODE']?(_0x57def6[_0x300f29(0x18c)](this[_0x300f29(0x28d)],this[_0x300f29(0x118)]),_0x355fac=this[_0x300f29(0x36b)](!0x0)):(_0x355fac=this[_0x300f29(0x36b)](!0x0),_0x57def6[_0x300f29(0x37d)](_0x355fac)),_0x355fac;},'blockSize':0x80/0x20});var _0x4f3f2a=_0x3f9c57['CipherParams']=_0x1d0bc3[_0x253331(0x11c)]({'init':function(_0x1b2c3a){var _0x41942f=_0x253331;this[_0x41942f(0x1f1)](_0x1b2c3a);},'toString':function(_0x3a1bf8){var _0x398cfc=_0x253331;return(_0x3a1bf8||this[_0x398cfc(0x315)])[_0x398cfc(0x2bd)](this);}}),_0x1fc5c3=_0x49cdb3[_0x253331(0x30f)]={},_0x3e2c21=_0x1fc5c3[_0x253331(0xe6)]={'stringify':function(_0x325cc1){var _0xd27418=_0x253331,_0x474883,_0x1cd4ec=_0x325cc1[_0xd27418(0x1d5)],_0x3980b2=_0x325cc1[_0xd27418(0xd2)];return _0x3980b2?_0x474883=_0x411067[_0xd27418(0x25f)]([0x53616c74,0x65645f5f])[_0xd27418(0x185)](_0x3980b2)[_0xd27418(0x185)](_0x1cd4ec):_0x474883=_0x1cd4ec,_0x474883['toString'](_0x1c8068);},'parse':function(_0x4bf288){var _0x3a1a91=_0x253331,_0x4feea0,_0x141ace=_0x1c8068[_0x3a1a91(0x154)](_0x4bf288),_0xc78965=_0x141ace['words'];return _0xc78965[0x0]==0x53616c74&&_0xc78965[0x1]==0x65645f5f&&(_0x4feea0=_0x411067[_0x3a1a91(0x25f)](_0xc78965[_0x3a1a91(0x2c8)](0x2,0x4)),_0xc78965[_0x3a1a91(0x2f4)](0x0,0x4),_0x141ace[_0x3a1a91(0x27e)]-=0x10),_0x4f3f2a['create']({'ciphertext':_0x141ace,'salt':_0x4feea0});}},_0x4885f0=_0x3f9c57[_0x253331(0xac)]=_0x1d0bc3['extend']({'cfg':_0x1d0bc3[_0x253331(0x11c)]({'format':_0x3e2c21}),'encrypt':function(_0x229384,_0x57a13e,_0x51e3a1,_0x3a55ea){var _0x4b82b4=_0x253331;_0x3a55ea=this[_0x4b82b4(0xa4)]['extend'](_0x3a55ea);var _0x37f637=_0x229384[_0x4b82b4(0x303)](_0x51e3a1,_0x3a55ea),_0x2e5e44=_0x37f637['finalize'](_0x57a13e),_0x39982f=_0x37f637['cfg'];return _0x4f3f2a[_0x4b82b4(0x25f)]({'ciphertext':_0x2e5e44,'key':_0x51e3a1,'iv':_0x39982f['iv'],'algorithm':_0x229384,'mode':_0x39982f[_0x4b82b4(0x368)],'padding':_0x39982f[_0x4b82b4(0x384)],'blockSize':_0x229384[_0x4b82b4(0x118)],'formatter':_0x3a55ea[_0x4b82b4(0x30f)]});},'decrypt':function(_0x15e2f3,_0x49c233,_0x5b2b09,_0x3c1fa5){var _0x3d14b1=_0x253331;_0x3c1fa5=this['cfg'][_0x3d14b1(0x11c)](_0x3c1fa5),_0x49c233=this[_0x3d14b1(0x1db)](_0x49c233,_0x3c1fa5['format']);var _0x44942d=_0x15e2f3[_0x3d14b1(0x38f)](_0x5b2b09,_0x3c1fa5)[_0x3d14b1(0x260)](_0x49c233['ciphertext']);return _0x44942d;},'_parse':function(_0x46ea0a,_0x2d025b){var _0x1416cb=_0x253331;return typeof _0x46ea0a==_0x1416cb(0x106)?_0x2d025b['parse'](_0x46ea0a,this):_0x46ea0a;}}),_0xa29009=_0x49cdb3[_0x253331(0x246)]={},_0x20d39a=_0xa29009[_0x253331(0xe6)]={'execute':function(_0x72b71d,_0x18c271,_0x5e551c,_0x5e123c,_0x417c94){var _0x2ef7d5=_0x253331;if(_0x5e123c||(_0x5e123c=_0x411067[_0x2ef7d5(0xe5)](0x40/0x8)),_0x417c94)var _0x2c678e=_0x1db0b6[_0x2ef7d5(0x25f)]({'keySize':_0x18c271+_0x5e551c,'hasher':_0x417c94})[_0x2ef7d5(0x249)](_0x72b71d,_0x5e123c);else var _0x2c678e=_0x1db0b6[_0x2ef7d5(0x25f)]({'keySize':_0x18c271+_0x5e551c})['compute'](_0x72b71d,_0x5e123c);var _0x3fa279=_0x411067['create'](_0x2c678e['words'][_0x2ef7d5(0x2c8)](_0x18c271),_0x5e551c*0x4);return _0x2c678e[_0x2ef7d5(0x27e)]=_0x18c271*0x4,_0x4f3f2a[_0x2ef7d5(0x25f)]({'key':_0x2c678e,'iv':_0x3fa279,'salt':_0x5e123c});}},_0x1c681d=_0x3f9c57[_0x253331(0x1fa)]=_0x4885f0['extend']({'cfg':_0x4885f0[_0x253331(0xa4)][_0x253331(0x11c)]({'kdf':_0x20d39a}),'encrypt':function(_0x45dbd1,_0x1b5807,_0x1c5bb8,_0x1f9d9c){var _0x14f028=_0x253331;_0x1f9d9c=this[_0x14f028(0xa4)][_0x14f028(0x11c)](_0x1f9d9c);var _0x32763c=_0x1f9d9c[_0x14f028(0x246)][_0x14f028(0x2b7)](_0x1c5bb8,_0x45dbd1[_0x14f028(0x2ce)],_0x45dbd1['ivSize'],_0x1f9d9c[_0x14f028(0xd2)],_0x1f9d9c['hasher']);_0x1f9d9c['iv']=_0x32763c['iv'];var _0x1df40b=_0x4885f0[_0x14f028(0x140)][_0x14f028(0xf4)](this,_0x45dbd1,_0x1b5807,_0x32763c['key'],_0x1f9d9c);return _0x1df40b[_0x14f028(0x1f1)](_0x32763c),_0x1df40b;},'decrypt':function(_0x421dd2,_0x12b910,_0x10d64b,_0x235e2d){var _0x30321c=_0x253331;_0x235e2d=this[_0x30321c(0xa4)]['extend'](_0x235e2d),_0x12b910=this[_0x30321c(0x1db)](_0x12b910,_0x235e2d[_0x30321c(0x30f)]);var _0x43cd43=_0x235e2d[_0x30321c(0x246)][_0x30321c(0x2b7)](_0x10d64b,_0x421dd2['keySize'],_0x421dd2['ivSize'],_0x12b910[_0x30321c(0xd2)],_0x235e2d[_0x30321c(0x302)]);_0x235e2d['iv']=_0x43cd43['iv'];var _0x4a5699=_0x4885f0[_0x30321c(0x169)]['call'](this,_0x421dd2,_0x12b910,_0x43cd43[_0x30321c(0x2f1)],_0x235e2d);return _0x4a5699;}});}();}));}(Je)),Je[_0x58c52e(0x12a)];}var En=Ve[_0x368389(0x12a)],ei;function mn(){var _0x3b8306=_0x368389;return ei||(ei=0x1,function(_0x490977,_0x4879e4){(function(_0x3afaf5,_0x49ee11,_0x1f1dbb){var _0x393915=_0x4f24;_0x490977[_0x393915(0x12a)]=_0x49ee11(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x105aba){var _0x1ab208=_0x4f24;return(function(){var _0x221178=_0x4f24,_0x2901db=_0x105aba,_0x51e963=_0x2901db[_0x221178(0x38a)],_0x52d161=_0x51e963[_0x221178(0x239)],_0x4fca9a=_0x2901db[_0x221178(0x351)],_0x48eef7=[],_0x74f80e=[],_0xc295d9=[],_0x5708db=[],_0x188777=[],_0x5b47eb=[],_0x1765f6=[],_0x1b7f01=[],_0x4a217a=[],_0x178499=[];(function(){for(var _0xd0d701=[],_0x93e7b2=0x0;_0x93e7b2<0x100;_0x93e7b2++)_0x93e7b2<0x80?_0xd0d701[_0x93e7b2]=_0x93e7b2<<0x1:_0xd0d701[_0x93e7b2]=_0x93e7b2<<0x1^0x11b;for(var _0xd555d1=0x0,_0x30beb7=0x0,_0x93e7b2=0x0;_0x93e7b2<0x100;_0x93e7b2++){var _0x543a54=_0x30beb7^_0x30beb7<<0x1^_0x30beb7<<0x2^_0x30beb7<<0x3^_0x30beb7<<0x4;_0x543a54=_0x543a54>>>0x8^_0x543a54&0xff^0x63,_0x48eef7[_0xd555d1]=_0x543a54,_0x74f80e[_0x543a54]=_0xd555d1;var _0x5d2e59=_0xd0d701[_0xd555d1],_0x4ace80=_0xd0d701[_0x5d2e59],_0x4d6287=_0xd0d701[_0x4ace80],_0x5a221b=_0xd0d701[_0x543a54]*0x101^_0x543a54*0x1010100;_0xc295d9[_0xd555d1]=_0x5a221b<<0x18|_0x5a221b>>>0x8,_0x5708db[_0xd555d1]=_0x5a221b<<0x10|_0x5a221b>>>0x10,_0x188777[_0xd555d1]=_0x5a221b<<0x8|_0x5a221b>>>0x18,_0x5b47eb[_0xd555d1]=_0x5a221b;var _0x5a221b=_0x4d6287*0x1010101^_0x4ace80*0x10001^_0x5d2e59*0x101^_0xd555d1*0x1010100;_0x1765f6[_0x543a54]=_0x5a221b<<0x18|_0x5a221b>>>0x8,_0x1b7f01[_0x543a54]=_0x5a221b<<0x10|_0x5a221b>>>0x10,_0x4a217a[_0x543a54]=_0x5a221b<<0x8|_0x5a221b>>>0x18,_0x178499[_0x543a54]=_0x5a221b,_0xd555d1?(_0xd555d1=_0x5d2e59^_0xd0d701[_0xd0d701[_0xd0d701[_0x4d6287^_0x5d2e59]]],_0x30beb7^=_0xd0d701[_0xd0d701[_0x30beb7]]):_0xd555d1=_0x30beb7=0x1;}}());var _0x1b9461=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x38e2b3=_0x4fca9a['AES']=_0x52d161['extend']({'_doReset':function(){var _0x4ab523=_0x221178,_0x3a6b9e;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x4ab523(0x308)])){for(var _0x3dcaf2=this[_0x4ab523(0x1ab)]=this[_0x4ab523(0x308)],_0x1f98d7=_0x3dcaf2[_0x4ab523(0x10b)],_0x21eb79=_0x3dcaf2[_0x4ab523(0x27e)]/0x4,_0x5d4dc0=this['_nRounds']=_0x21eb79+0x6,_0x3637c4=(_0x5d4dc0+0x1)*0x4,_0x363eb4=this[_0x4ab523(0x1f2)]=[],_0x33fee3=0x0;_0x33fee3<_0x3637c4;_0x33fee3++)_0x33fee3<_0x21eb79?_0x363eb4[_0x33fee3]=_0x1f98d7[_0x33fee3]:(_0x3a6b9e=_0x363eb4[_0x33fee3-0x1],_0x33fee3%_0x21eb79?_0x21eb79>0x6&&_0x33fee3%_0x21eb79==0x4&&(_0x3a6b9e=_0x48eef7[_0x3a6b9e>>>0x18]<<0x18|_0x48eef7[_0x3a6b9e>>>0x10&0xff]<<0x10|_0x48eef7[_0x3a6b9e>>>0x8&0xff]<<0x8|_0x48eef7[_0x3a6b9e&0xff]):(_0x3a6b9e=_0x3a6b9e<<0x8|_0x3a6b9e>>>0x18,_0x3a6b9e=_0x48eef7[_0x3a6b9e>>>0x18]<<0x18|_0x48eef7[_0x3a6b9e>>>0x10&0xff]<<0x10|_0x48eef7[_0x3a6b9e>>>0x8&0xff]<<0x8|_0x48eef7[_0x3a6b9e&0xff],_0x3a6b9e^=_0x1b9461[_0x33fee3/_0x21eb79|0x0]<<0x18),_0x363eb4[_0x33fee3]=_0x363eb4[_0x33fee3-_0x21eb79]^_0x3a6b9e);for(var _0x2da960=this[_0x4ab523(0x9b)]=[],_0x3b9ec2=0x0;_0x3b9ec2<_0x3637c4;_0x3b9ec2++){var _0x33fee3=_0x3637c4-_0x3b9ec2;if(_0x3b9ec2%0x4)var _0x3a6b9e=_0x363eb4[_0x33fee3];else var _0x3a6b9e=_0x363eb4[_0x33fee3-0x4];_0x3b9ec2<0x4||_0x33fee3<=0x4?_0x2da960[_0x3b9ec2]=_0x3a6b9e:_0x2da960[_0x3b9ec2]=_0x1765f6[_0x48eef7[_0x3a6b9e>>>0x18]]^_0x1b7f01[_0x48eef7[_0x3a6b9e>>>0x10&0xff]]^_0x4a217a[_0x48eef7[_0x3a6b9e>>>0x8&0xff]]^_0x178499[_0x48eef7[_0x3a6b9e&0xff]];}}},'encryptBlock':function(_0x4d62ca,_0x56315f){this['_doCryptBlock'](_0x4d62ca,_0x56315f,this['_keySchedule'],_0xc295d9,_0x5708db,_0x188777,_0x5b47eb,_0x48eef7);},'decryptBlock':function(_0x54b395,_0x4ffb3d){var _0x1654bf=_0x221178,_0x50ddb0=_0x54b395[_0x4ffb3d+0x1];_0x54b395[_0x4ffb3d+0x1]=_0x54b395[_0x4ffb3d+0x3],_0x54b395[_0x4ffb3d+0x3]=_0x50ddb0,this[_0x1654bf(0xfa)](_0x54b395,_0x4ffb3d,this['_invKeySchedule'],_0x1765f6,_0x1b7f01,_0x4a217a,_0x178499,_0x74f80e);var _0x50ddb0=_0x54b395[_0x4ffb3d+0x1];_0x54b395[_0x4ffb3d+0x1]=_0x54b395[_0x4ffb3d+0x3],_0x54b395[_0x4ffb3d+0x3]=_0x50ddb0;},'_doCryptBlock':function(_0x23706f,_0x1fb8bb,_0x432987,_0x3d80f2,_0x19f550,_0x5d2663,_0x4ee799,_0x1a7b1d){var _0xec1f4e=_0x221178;for(var _0x2070ec=this[_0xec1f4e(0x96)],_0x1959b0=_0x23706f[_0x1fb8bb]^_0x432987[0x0],_0xb64829=_0x23706f[_0x1fb8bb+0x1]^_0x432987[0x1],_0x5517a7=_0x23706f[_0x1fb8bb+0x2]^_0x432987[0x2],_0x139503=_0x23706f[_0x1fb8bb+0x3]^_0x432987[0x3],_0x40a54c=0x4,_0x3420e2=0x1;_0x3420e2<_0x2070ec;_0x3420e2++){var _0xdb5c5=_0x3d80f2[_0x1959b0>>>0x18]^_0x19f550[_0xb64829>>>0x10&0xff]^_0x5d2663[_0x5517a7>>>0x8&0xff]^_0x4ee799[_0x139503&0xff]^_0x432987[_0x40a54c++],_0x16e0ea=_0x3d80f2[_0xb64829>>>0x18]^_0x19f550[_0x5517a7>>>0x10&0xff]^_0x5d2663[_0x139503>>>0x8&0xff]^_0x4ee799[_0x1959b0&0xff]^_0x432987[_0x40a54c++],_0x31d8a7=_0x3d80f2[_0x5517a7>>>0x18]^_0x19f550[_0x139503>>>0x10&0xff]^_0x5d2663[_0x1959b0>>>0x8&0xff]^_0x4ee799[_0xb64829&0xff]^_0x432987[_0x40a54c++],_0x1041c9=_0x3d80f2[_0x139503>>>0x18]^_0x19f550[_0x1959b0>>>0x10&0xff]^_0x5d2663[_0xb64829>>>0x8&0xff]^_0x4ee799[_0x5517a7&0xff]^_0x432987[_0x40a54c++];_0x1959b0=_0xdb5c5,_0xb64829=_0x16e0ea,_0x5517a7=_0x31d8a7,_0x139503=_0x1041c9;}var _0xdb5c5=(_0x1a7b1d[_0x1959b0>>>0x18]<<0x18|_0x1a7b1d[_0xb64829>>>0x10&0xff]<<0x10|_0x1a7b1d[_0x5517a7>>>0x8&0xff]<<0x8|_0x1a7b1d[_0x139503&0xff])^_0x432987[_0x40a54c++],_0x16e0ea=(_0x1a7b1d[_0xb64829>>>0x18]<<0x18|_0x1a7b1d[_0x5517a7>>>0x10&0xff]<<0x10|_0x1a7b1d[_0x139503>>>0x8&0xff]<<0x8|_0x1a7b1d[_0x1959b0&0xff])^_0x432987[_0x40a54c++],_0x31d8a7=(_0x1a7b1d[_0x5517a7>>>0x18]<<0x18|_0x1a7b1d[_0x139503>>>0x10&0xff]<<0x10|_0x1a7b1d[_0x1959b0>>>0x8&0xff]<<0x8|_0x1a7b1d[_0xb64829&0xff])^_0x432987[_0x40a54c++],_0x1041c9=(_0x1a7b1d[_0x139503>>>0x18]<<0x18|_0x1a7b1d[_0x1959b0>>>0x10&0xff]<<0x10|_0x1a7b1d[_0xb64829>>>0x8&0xff]<<0x8|_0x1a7b1d[_0x5517a7&0xff])^_0x432987[_0x40a54c++];_0x23706f[_0x1fb8bb]=_0xdb5c5,_0x23706f[_0x1fb8bb+0x1]=_0x16e0ea,_0x23706f[_0x1fb8bb+0x2]=_0x31d8a7,_0x23706f[_0x1fb8bb+0x3]=_0x1041c9;},'keySize':0x100/0x20});_0x2901db[_0x221178(0x31c)]=_0x52d161[_0x221178(0xc1)](_0x38e2b3);}()),_0x105aba[_0x1ab208(0x31c)];}));}(Ve)),Ve[_0x3b8306(0x12a)];}var In=mn();const Sn=$e(In);var gn=Ri();const ti=$e(gn);var Xe={'exports':{}},Tn=Xe['exports'],ii;function On(){var _0x38b670=_0x368389;return ii||(ii=0x1,function(_0x3d45cb,_0x536281){(function(_0x4a61da,_0x44b08e){var _0x443481=_0x4f24;_0x3d45cb[_0x443481(0x12a)]=_0x44b08e(ie());}(Tn,function(_0x94aad8){var _0x1bfbfb=_0x4f24;return _0x94aad8[_0x1bfbfb(0x2cc)][_0x1bfbfb(0x392)];}));}(Xe)),Xe[_0x38b670(0x12a)];}var Rn=On();const Cn=$e(Rn);var Ze={'exports':{}},Nn=Ze[_0x368389(0x12a)],si;function bn(){var _0x5e857b=_0x368389;return si||(si=0x1,function(_0x271d80,_0x4755b4){(function(_0x486347,_0x279176){_0x271d80['exports']=_0x279176(ie());}(Nn,function(_0x2dbb81){var _0x1e38c6=_0x4f24;return(function(){var _0x4a5a66=_0x4f24;if(typeof ArrayBuffer==_0x4a5a66(0x2ee)){var _0x3b3956=_0x2dbb81,_0x2b5ebe=_0x3b3956[_0x4a5a66(0x38a)],_0xe81d5b=_0x2b5ebe['WordArray'],_0x58fab3=_0xe81d5b[_0x4a5a66(0x3b3)],_0x4dfdf5=_0xe81d5b[_0x4a5a66(0x3b3)]=function(_0x4c4e3f){var _0x3b06e7=_0x4a5a66;if(_0x4c4e3f instanceof ArrayBuffer&&(_0x4c4e3f=new Uint8Array(_0x4c4e3f)),(_0x4c4e3f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4c4e3f instanceof Uint8ClampedArray||_0x4c4e3f instanceof Int16Array||_0x4c4e3f instanceof Uint16Array||_0x4c4e3f instanceof Int32Array||_0x4c4e3f instanceof Uint32Array||_0x4c4e3f instanceof Float32Array||_0x4c4e3f instanceof Float64Array)&&(_0x4c4e3f=new Uint8Array(_0x4c4e3f[_0x3b06e7(0x258)],_0x4c4e3f['byteOffset'],_0x4c4e3f[_0x3b06e7(0xc0)])),_0x4c4e3f instanceof Uint8Array){for(var _0x88709d=_0x4c4e3f[_0x3b06e7(0xc0)],_0x5bb5dc=[],_0x2616a0=0x0;_0x2616a0<_0x88709d;_0x2616a0++)_0x5bb5dc[_0x2616a0>>>0x2]|=_0x4c4e3f[_0x2616a0]<<0x18-_0x2616a0%0x4*0x8;_0x58fab3[_0x3b06e7(0xf4)](this,_0x5bb5dc,_0x88709d);}else _0x58fab3['apply'](this,arguments);};_0x4dfdf5['prototype']=_0xe81d5b;}}()),_0x2dbb81['lib'][_0x1e38c6(0xed)];}));}(Ze)),Ze[_0x5e857b(0x12a)];}var Dn=bn();const yn=$e(Dn);var Qe={'exports':{}},Un=Qe[_0x368389(0x12a)],ni;function An(){return ni||(ni=0x1,function(_0x50ac8a,_0x65e375){(function(_0x27e3b3,_0x237b84,_0x5302f0){_0x50ac8a['exports']=_0x237b84(ie(),Ni());}(Un,function(_0x4073e8){var _0x2bffce=_0x4f24;return _0x4073e8['pad'][_0x2bffce(0x132)]={'pad':function(){},'unpad':function(){}},_0x4073e8['pad']['NoPadding'];}));}(Qe)),Qe['exports'];}var Pn=An();const wn=$e(Pn);function Mn(_0x3d77f8,_0x1d38c4){var _0x5e93c3=_0x368389;const _0x4cc232=_0x1d38c4-_0x3d77f8['length']%_0x1d38c4,_0x56141e=String[_0x5e93c3(0x386)](_0x4cc232)[_0x5e93c3(0x215)](_0x4cc232);return _0x3d77f8+_0x56141e;}function Ln(_0x2d0a9b,_0x540d61){var _0x252376=_0x368389;const _0x5cbaf9=yn[_0x252376(0xe5)](0x10),_0x25f5fd=Mn(_0x2d0a9b,0x10),_0x3cb5ac=Sn[_0x252376(0x140)](Cn['parse'](_0x25f5fd),ti[_0x252376(0x154)](_0x540d61),{'iv':_0x5cbaf9,'padding':wn});return _0x5cbaf9[_0x252376(0x185)](_0x3cb5ac[_0x252376(0x1d5)])[_0x252376(0xd8)](ti);}function xn(){var _0x3e254b=_0x368389;const _0x41e903=_0x293dc2()[_0x3e254b(0x37b)];if(_0x41e903){const _0x3d0ccb={'time':Math[_0x3e254b(0x2e8)](Date[_0x3e254b(0xd6)]()/0x3e8),'domain':location[_0x3e254b(0x150)]};return Ln(JSON['stringify'](_0x3d0ccb),_0x41e903);}}var kn=Object[_0x368389(0x284)],$n=(_0x15d18e,_0xeeac64,_0x26f003,_0x146b98)=>{var _0x179a53=_0x368389;for(var _0x53931a=_0x146b98>0x1?void 0x0:_0x146b98?kn(_0xeeac64,_0x26f003):_0xeeac64,_0xcf19a3=_0x15d18e[_0x179a53(0x3b7)]-0x1,_0x497a6e;_0xcf19a3>=0x0;_0xcf19a3--)(_0x497a6e=_0x15d18e[_0xcf19a3])&&(_0x53931a=_0x497a6e(_0x53931a)||_0x53931a);return _0x53931a;},Hn=(_0x4e59a9,_0x596b97)=>(_0x1c1d6d,_0xea8eb4)=>_0x596b97(_0x1c1d6d,_0xea8eb4,_0x4e59a9);let at=class{constructor(_0x3312a9){var _0x24a767=_0x368389;this[_0x24a767(0x342)]=_0x3312a9,this['_initRequestHeader']();}[_0x368389(0x282)](){var _0x9515fc=_0x368389;this['_httpService'][_0x9515fc(0x287)]({'interceptor':(_0x3cc914,_0xdd973b)=>{var _0x55ed6d=_0x9515fc;const _0x2fe866=_0x3cc914[_0x55ed6d(0x177)],_0x558425=xn();return _0x558425&&_0x2fe866['set'](_0x55ed6d(0x1c3),_0x558425),_0xdd973b(_0x3cc914);}});}};at=$n([Hn(0x0,_0x3ce8f0(_0x5dc9e9))],at);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x2df506,_0x4b39ce,_0x1e5302,_0x170f0a)=>{for(var _0x6bc80c=_0x170f0a>0x1?void 0x0:_0x170f0a?Bn(_0x4b39ce,_0x1e5302):_0x4b39ce,_0x250fd5=_0x2df506['length']-0x1,_0x34f95e;_0x250fd5>=0x0;_0x250fd5--)(_0x34f95e=_0x2df506[_0x250fd5])&&(_0x6bc80c=_0x34f95e(_0x6bc80c)||_0x6bc80c);return _0x6bc80c;},vt=(_0x11b23a,_0x3e052a)=>(_0x279c20,_0x1b28ce)=>_0x3e052a(_0x279c20,_0x1b28ce,_0x11b23a);let Ot=class extends _0x4eb61d{constructor(_0x376d9e,_0xb3d411,_0x210fd2){var _0x69c082=_0x368389;super(),D(this,_0x69c082(0x301),new _0x1593ab(null)),D(this,'unitInfo$',this[_0x69c082(0x301)]['asObservable']()),(this[_0x69c082(0x12b)]=_0x376d9e,this[_0x69c082(0x1e2)]=_0xb3d411,this[_0x69c082(0x307)]=_0x210fd2);}async[_0x368389(0x1d7)](_0x58ac25,_0xfab7c7,_0x2bc9b8){var _0x2a7a98=_0x368389;this[_0x2a7a98(0x301)][_0x2a7a98(0x29b)]({'unitId':_0x58ac25,'type':_0xfab7c7});let _0x3cc66d=null;switch(_0xfab7c7){case Q[_0x2a7a98(0x305)]:{_0x3cc66d=await this[_0x2a7a98(0x1e2)][_0x2a7a98(0x2d1)](_0x58ac25,_0x2bc9b8);break;}case Q[_0x2a7a98(0x36a)]:{_0x3cc66d=await this[_0x2a7a98(0x1e2)][_0x2a7a98(0x3b0)](_0x58ac25,_0x2bc9b8);break;}default:{this[_0x2a7a98(0x12b)][_0x2a7a98(0x201)](_0x2a7a98(0x242),_0x2a7a98(0x328));break;}}return _0x3cc66d;}async[_0x368389(0x373)](_0x121645,_0x29e985,_0x1c66a7){var _0x1ebea3=_0x368389,_0x424ec7;this[_0x1ebea3(0x301)][_0x1ebea3(0x29b)]({'unitId':_0x121645,'type':_0x29e985,'subUnitId':_0x1c66a7});let _0x3c9f71=0x0;const _0x53700f=await((_0x424ec7=this['_localCacheService'])==null?void 0x0:_0x424ec7['loadOfflineData'](_0x121645));return _0x53700f&&(_0x53700f['awaitingChangeset']||_0x53700f[_0x1ebea3(0x162)][_0x1ebea3(0x3b7)]!==0x0)&&(_0x3c9f71=_0x53700f[_0x1ebea3(0x1a4)]),_0x3c9f71===0x0&&this['_logService']['debug'](_0x1ebea3(0x242),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x121645,_0x29e985,_0x3c9f71);}};Ot=Fn([vt(0x0,_0x21f6c3),vt(0x1,_0x3ce8f0(_0x1ade95)),vt(0x2,_0x5c10ac(J))],Ot);var jn=Object[_0x368389(0x284)],Vn=(_0x25d8d7,_0x21e63d,_0x40af6e,_0x5618d6)=>{for(var _0x27c059=_0x5618d6>0x1?void 0x0:_0x5618d6?jn(_0x21e63d,_0x40af6e):_0x21e63d,_0x4ab7a4=_0x25d8d7['length']-0x1,_0x281001;_0x4ab7a4>=0x0;_0x4ab7a4--)(_0x281001=_0x25d8d7[_0x4ab7a4])&&(_0x27c059=_0x281001(_0x27c059)||_0x27c059);return _0x27c059;},pt=(_0x31dfdb,_0x52a72f)=>(_0x5e3eaa,_0x38dc3d)=>_0x52a72f(_0x5e3eaa,_0x38dc3d,_0x31dfdb);const Gn=[_0x368389(0xbe),_0x368389(0x229),'image/jpg',_0x368389(0x271),_0x368389(0x3a5)],Wn=0x5*0x400*0x400,Yn=_0x368389(0xd7),Kn=_0x368389(0x3a6);let Rt=class{constructor(_0x128a72,_0x35de38,_0x438490){var _0x51d94d=_0x368389;D(this,_0x51d94d(0x2d8),0x0),D(this,_0x51d94d(0x23a),new _0x7c3fbd()),D(this,_0x51d94d(0x26b),this[_0x51d94d(0x23a)]),D(this,_0x51d94d(0xd5),new Map()),(this['_httpService']=_0x128a72,this['_configService']=_0x35de38,this[_0x51d94d(0x14b)]=_0x438490);}[_0x368389(0x326)](_0x46df77){var _0x5f5078=_0x368389;this[_0x5f5078(0x2d8)]=_0x46df77,this[_0x5f5078(0x23a)]['next'](_0x46df77);}[_0x368389(0x189)](_0xe05393,_0x218da4){var _0x53a3f2=_0x368389;if(_0x218da4===_0x122f39[_0x53a3f2(0x21c)]){const _0x27b443=new Image();return _0x27b443[_0x53a3f2(0x1f0)]=_0xe05393,_0x27b443;}return this[_0x53a3f2(0xd5)][_0x53a3f2(0x187)](_0xe05393);}[_0x368389(0x353)](_0x1b9d57,_0x2ef8c6,_0x2e7f93){var _0x56b72c=_0x368389;_0x2ef8c6===_0x122f39['BASE64']||_0x2e7f93==null||this[_0x56b72c(0xd5)][_0x56b72c(0x3ac)](_0x1b9d57,_0x2e7f93);}async['getImage'](_0x43d402){var _0x4de798=_0x368389;try{const _0x274c39=this[_0x4de798(0x18b)](this[_0x4de798(0x2fb)](),''+_0x43d402),_0x209b51=(await this[_0x4de798(0x342)][_0x4de798(0x187)](_0x274c39))['body'];if(_0x209b51[_0x4de798(0x201)]&&_0x209b51[_0x4de798(0x201)][_0x4de798(0xa3)]===vi['OK']){const _0x250e91=new URL(_0x209b51['url'],this[_0x4de798(0x20d)]())[_0x4de798(0xd8)]();return Promise[_0x4de798(0x12f)](_0x250e91);}return Promise[_0x4de798(0x173)](_0x209b51[_0x4de798(0x201)]);}catch(_0x5ce49f){return Promise['reject'](_0x5ce49f);}}async['saveImage'](_0x52af00){var _0x5e78d1=_0x368389;let _0x596dc3='';if(!Gn['includes'](_0x52af00['type']))return this[_0x5e78d1(0x124)](),Promise[_0x5e78d1(0x173)](new Error(_0x4f409a[_0x5e78d1(0x256)]));if(_0x52af00[_0x5e78d1(0x336)]>Wn)return this[_0x5e78d1(0x124)](),Promise['reject'](new Error(_0x4f409a[_0x5e78d1(0x335)]));try{const _0x3b5c5e=new FormData();_0x3b5c5e['append'](_0x5e78d1(0x226),_0x52af00);const _0x4e016f=this[_0x5e78d1(0x14b)]['getFocusedUnit'](),_0x5ee1a9=_0x4e016f==null?void 0x0:_0x4e016f['getUnitId']();if(!_0x5ee1a9)throw new Error(_0x5e78d1(0x325));const _0x2b330b=this[_0x5e78d1(0x23b)]()+_0x5e78d1(0x21e)+_0x52af00[_0x5e78d1(0x336)]['toString']()+'&source='+pi[_0x5e78d1(0x15d)]+_0x5e78d1(0x2d4)+encodeURIComponent(_0x5ee1a9),_0x4f289e={'body':_0x3b5c5e},_0x527d7a=(await this[_0x5e78d1(0x342)][_0x5e78d1(0x13c)](_0x2b330b,_0x4f289e))[_0x5e78d1(0x369)];if(typeof _0x527d7a[_0x5e78d1(0x2b2)]!='string')return this[_0x5e78d1(0x124)](),Promise[_0x5e78d1(0x173)](new Error(_0x4f409a[_0x5e78d1(0x2a5)]));_0x596dc3=_0x527d7a[_0x5e78d1(0x2b2)];}catch{return this[_0x5e78d1(0x124)](),Promise[_0x5e78d1(0x173)](new Error(_0x4f409a[_0x5e78d1(0x2a5)]));}return new Promise((_0x5219bd,_0x244839)=>{var _0x30882b=_0x5e78d1;const _0x345634=new FileReader();_0x345634[_0x30882b(0x1c2)](_0x52af00),_0x345634[_0x30882b(0x15a)]=_0x371cec=>{var _0x3a4d2d=_0x30882b,_0x295262;const _0x46ada7=(_0x295262=_0x371cec[_0x3a4d2d(0x24c)])==null?void 0x0:_0x295262['result'];if(_0x46ada7==null){this[_0x3a4d2d(0x124)](),_0x244839(new Error(_0x4f409a[_0x3a4d2d(0x2a5)]));return;}const _0x59578d=_0x87143(0x6);_0x5219bd({'imageId':_0x59578d,'imageSourceType':_0x122f39[_0x3a4d2d(0x11f)],'source':_0x596dc3,'base64Cache':_0x46ada7,'status':_0x4f409a['SUCCUSS']}),this[_0x3a4d2d(0x124)]();};});}['_getUploadFileURL'](){var _0x3fd017=_0x368389,_0x9ae715;const _0x1c0953=this['_configService'][_0x3fd017(0x19b)](K);return(_0x9ae715=_0x1c0953==null?void 0x0:_0x1c0953[_0x3fd017(0xab)])!=null?_0x9ae715:Yn;}[_0x368389(0x2fb)](){var _0x368100=_0x368389,_0x59dcd1;const _0x5902a0=this[_0x368100(0xb8)][_0x368100(0x19b)](K);return(_0x59dcd1=_0x5902a0==null?void 0x0:_0x5902a0[_0x368100(0x228)])!=null?_0x59dcd1:Kn;}[_0x368389(0x20d)](){var _0x3bedf3=_0x368389,_0x25fa90;const _0x28027b=this['_configService'][_0x3bedf3(0x19b)](K);return(_0x25fa90=_0x28027b==null?void 0x0:_0x28027b[_0x3bedf3(0xdb)])!=null?_0x25fa90:location[_0x3bedf3(0xaa)];}[_0x368389(0x18b)](_0x3f5c74,_0x239706){var _0x2b069c=_0x368389;return _0x3f5c74['replace'](_0x2b069c(0x388),_0x239706);}['_decreaseWaiting'](){var _0x1f155=_0x368389;this['_waitCount']-=0x1,this['_change$'][_0x1f155(0x29b)](this[_0x1f155(0x2d8)]);}};Rt=Vn([pt(0x0,_0x3ce8f0(_0x5dc9e9)),pt(0x1,_0x3c30e0),pt(0x2,_0x3ce8f0(_0x558d3e))],Rt);var qn=Object[_0x368389(0x284)],zn=(_0x4510e6,_0x5a3f8e,_0x372a0f,_0x4aebf1)=>{var _0x35f975=_0x368389;for(var _0x443bac=_0x4aebf1>0x1?void 0x0:_0x4aebf1?qn(_0x5a3f8e,_0x372a0f):_0x5a3f8e,_0x2fe50f=_0x4510e6[_0x35f975(0x3b7)]-0x1,_0x15587d;_0x2fe50f>=0x0;_0x2fe50f--)(_0x15587d=_0x4510e6[_0x2fe50f])&&(_0x443bac=_0x15587d(_0x443bac)||_0x443bac);return _0x443bac;},ri=(_0x4a5333,_0x18368e)=>(_0x357d30,_0x4a614f)=>_0x18368e(_0x357d30,_0x4a614f,_0x4a5333);const Jn='/universer-api/authz';let Ct=class{constructor(_0x2a2c3b,_0x225329){var _0x1e7cc8=_0x368389;this[_0x1e7cc8(0xb8)]=_0x2a2c3b,this['_HTTPService']=_0x225329;}['_getAPIPrefixPath'](){var _0x5f12aa=_0x368389,_0x1d2e17;const _0x3a6c5e=this[_0x5f12aa(0xb8)][_0x5f12aa(0x19b)](K);return(_0x1d2e17=_0x3a6c5e==null?void 0x0:_0x3a6c5e[_0x5f12aa(0xba)])!=null?_0x1d2e17:Jn;}async[_0x368389(0x2e9)](_0x17d788){var _0x55bb4a=_0x368389;const _0x3514c3=this[_0x55bb4a(0x172)]()+_0x55bb4a(0x2fd);return{'list':[{'title':_0x55bb4a(0x251),'mentions':(await this[_0x55bb4a(0x27b)][_0x55bb4a(0x187)](_0x3514c3,{'params':{'objectID':_0x17d788[_0x55bb4a(0x32d)],'unitID':_0x17d788[_0x55bb4a(0x32d)]}}))[_0x55bb4a(0x369)][_0x55bb4a(0x1b0)][_0x55bb4a(0x28c)](_0x41562a=>({'objectId':_0x41562a['id'],'name':_0x41562a[_0x55bb4a(0x23c)][_0x55bb4a(0xd9)],'metadata':{'icon':_0x41562a[_0x55bb4a(0x23c)][_0x55bb4a(0x296)]},'label':_0x41562a[_0x55bb4a(0x23c)]['name'],'objectType':_0x1511b4['PERSON']})),'metadata':{},'type':_0x1511b4[_0x55bb4a(0x1d3)]}]};}};Ct=zn([ri(0x0,_0x3ce8f0(_0x3c30e0)),ri(0x1,_0x3ce8f0(_0x5dc9e9))],Ct);var Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x2d8fd7,_0x234464,_0x341b7c,_0x40abb4)=>{var _0xb296eb=_0x368389;for(var _0x26e311=_0x40abb4>0x1?void 0x0:_0x40abb4?Xn(_0x234464,_0x341b7c):_0x234464,_0x24a3da=_0x2d8fd7[_0xb296eb(0x3b7)]-0x1,_0x51617a;_0x24a3da>=0x0;_0x24a3da--)(_0x51617a=_0x2d8fd7[_0x24a3da])&&(_0x26e311=_0x51617a(_0x26e311)||_0x26e311);return _0x26e311;},Ue=(_0x149022,_0x5617c4)=>(_0x2658f8,_0x353639)=>_0x5617c4(_0x2658f8,_0x353639,_0x149022);let ot=class extends _0x4eb61d{constructor(_0xa77a78,_0x35517b,_0x94c4eb,_0x3a245d,_0x472855){var _0x36ec90=_0x368389;super(),this[_0x36ec90(0x39e)]=_0xa77a78,this[_0x36ec90(0x14b)]=_0x35517b,this[_0x36ec90(0x3ab)]=_0x94c4eb,this[_0x36ec90(0x11a)]=_0x3a245d,this[_0x36ec90(0x367)]=_0x472855,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x368389(0x1e4)](){var _0x8cb1aa=_0x368389;const _0x518248=async _0x3adcf9=>{var _0x4d18c4=_0x4f24;(await this[_0x4d18c4(0x11a)][_0x4d18c4(0x32f)](_0x3adcf9))['event$']['pipe'](_0x21e8b1(_0x1c18fe=>_0x1c18fe[_0x4d18c4(0x159)]===_0x19843e[_0x4d18c4(0xfc)]),_0x3edeee(this[_0x4d18c4(0x29d)]))[_0x4d18c4(0x116)](_0x124708=>{var _0x963068=_0x4d18c4;const _0x41ce43=_0x124708,{reason:_0x3e90b2}=_0x41ce43[_0x963068(0x389)];this[_0x963068(0x367)][_0x963068(0x3b6)]({'id':re[_0x963068(0x225)],'data':_0x3e90b2}),this[_0x963068(0x3ab)]['updatePermissionPoint'](new _0x25ba97(_0x3adcf9)['id'],!0x1),this[_0x963068(0x11a)][_0x963068(0x245)](_0x3adcf9);});};_0x1ca221(this[_0x8cb1aa(0x14b)][_0x8cb1aa(0x2ad)](_0x16572b['UNIVER_SHEET']),this[_0x8cb1aa(0x14b)][_0x8cb1aa(0x2ad)](_0x16572b[_0x8cb1aa(0x36a)]))[_0x8cb1aa(0x279)](_0x1b47e7(_0xe16b5b=>_0xe16b5b['getUnitId']()),_0x21e8b1(_0x512b4a=>!_0x42bc4b(_0x512b4a)),_0x3edeee(this[_0x8cb1aa(0x29d)]))[_0x8cb1aa(0x116)](_0x2a7e4d=>{_0x518248(_0x2a7e4d);});}[_0x368389(0x100)](){var _0x4ebd0c=_0x368389;const _0x191e0a=async _0x1c75c1=>{var _0x12feaa=_0x4f24;const _0x40c1cd=await this[_0x12feaa(0x11a)][_0x12feaa(0x32f)](_0x1c75c1),_0x398c1e=this[_0x12feaa(0x39e)][_0x12feaa(0x187)](_0x50c58a);_0x40c1cd[_0x12feaa(0x30e)][_0x12feaa(0x279)](_0x21e8b1(_0xcf2014=>_0xcf2014['eventID']===_0x19843e[_0x12feaa(0x144)]),_0x3edeee(this[_0x12feaa(0x29d)]))['subscribe'](_0x238b03=>{var _0x595560=_0x12feaa;const _0x30f678=_0x238b03,{objectId:_0x115a3f}=_0x30f678[_0x595560(0x389)];_0x115a3f===_0x1c75c1?_0x398c1e[_0x595560(0x120)](_0x1c75c1):_0x398c1e[_0x595560(0xf7)](_0x1c75c1,_0x115a3f);});};_0x1ca221(this[_0x4ebd0c(0x14b)][_0x4ebd0c(0x2ad)](_0x16572b[_0x4ebd0c(0x305)]))[_0x4ebd0c(0x279)](_0x1b47e7(_0x38539b=>_0x38539b['getUnitId']()),_0x21e8b1(_0x1bceb6=>!_0x42bc4b(_0x1bceb6)),_0x3edeee(this[_0x4ebd0c(0x29d)]))['subscribe'](_0x3ec3db=>{_0x191e0a(_0x3ec3db);});}};ot=Zn([Ue(0x0,_0x3ce8f0(_0x277f78)),Ue(0x1,_0x558d3e),Ue(0x2,_0x301d19),Ue(0x3,_0x3ce8f0(we)),Ue(0x4,_0x3ce8f0(ve))],ot);var Qn=Object[_0x368389(0x284)],er=(_0x4b62be,_0x7ef446,_0x1d7bd6,_0x5eceac)=>{var _0x321b88=_0x368389;for(var _0x2bd759=_0x5eceac>0x1?void 0x0:_0x5eceac?Qn(_0x7ef446,_0x1d7bd6):_0x7ef446,_0x3e478b=_0x4b62be[_0x321b88(0x3b7)]-0x1,_0x3c67ba;_0x3e478b>=0x0;_0x3e478b--)(_0x3c67ba=_0x4b62be[_0x3e478b])&&(_0x2bd759=_0x3c67ba(_0x2bd759)||_0x2bd759);return _0x2bd759;},ai=(_0xccf958,_0xe077ca)=>(_0x1f502b,_0x523470)=>_0xe077ca(_0x1f502b,_0x523470,_0xccf958);let Nt=class{constructor(_0x13100c,_0x177816){var _0x4491b3=_0x368389;this[_0x4491b3(0xb8)]=_0x13100c,this['_httpService']=_0x177816;}async[_0x368389(0x1c5)](_0x4a981,_0x241199){var _0x448af1=_0x368389,_0x19e2df;const {unitID:_0x50c7a2,type:_0x22015e,revision:_0x1df57c=0x0}=_0x241199,_0x452edc=this['getSnapshotAPIPath']()+'/'+_0x22015e+_0x448af1(0x10e)+_0x50c7a2+_0x448af1(0x141)+_0x1df57c,_0x3af367=(await this[_0x448af1(0x342)][_0x448af1(0x187)](_0x452edc))[_0x448af1(0x369)],_0x13c7fe=(_0x19e2df=_0x3af367[_0x448af1(0x294)])==null?void 0x0:_0x19e2df[_0x448af1(0x270)];if(_0x13c7fe){const _0x2e5688=_0x13c7fe==null?void 0x0:_0x13c7fe[_0x448af1(0x38d)],_0x5a5740=_0x24eebc[_0x448af1(0x175)](_0x5d1ad2(_0x2e5688));_0x13c7fe[_0x448af1(0x38d)]=_0x5a5740,Object['entries'](_0x13c7fe[_0x448af1(0x3b5)])[_0x448af1(0x20e)](([,_0x4bea4d])=>{var _0x5193a0=_0x448af1;const _0x4faa49=_0x4bea4d['originalMeta'],_0x33b320=_0x24eebc[_0x5193a0(0x175)](_0x5d1ad2(_0x4faa49));_0x4bea4d['originalMeta']=_0x33b320;});}return _0x3af367;}async[_0x368389(0x35c)](_0x4236e0,_0x30f821){var _0x14e47c=_0x368389;const {unitID:_0x48c4c8,type:_0x2a71ad,blockID:_0x344b83}=_0x30f821,_0x3c19dc=this[_0x14e47c(0x2f2)]()+'/'+_0x2a71ad+_0x14e47c(0x10e)+_0x48c4c8+_0x14e47c(0x289)+_0x344b83;return(await this[_0x14e47c(0x342)][_0x14e47c(0x187)](_0x3c19dc))['body'];}async[_0x368389(0x139)](_0x517aca,_0x2bd362){var _0xdd6fad=_0x368389;const {unitID:_0x21f927,type:_0x4be7de,blockID:_0x22aeca}=_0x2bd362,_0x11a45f=this['_getAPIPrefix']()+_0xdd6fad(0x289)+_0x4be7de+'/unit/'+_0x21f927+_0xdd6fad(0x289)+_0x22aeca;return(await this[_0xdd6fad(0x342)][_0xdd6fad(0x187)](_0x11a45f))[_0xdd6fad(0x369)];}async[_0x368389(0x134)](_0x18c504,_0x3c1e65){var _0x50b126=_0x368389;const {unitID:_0x5c2851,type:_0x3e08b5,from:_0x3bd6ed,to:_0x150773}=_0x3c1e65,_0x566f10=this['_getAPIPrefix']()+'/'+_0x3e08b5+_0x50b126(0x10e)+_0x5c2851+'/fetchmissing?from='+_0x3bd6ed+'&to='+_0x150773;return(await this[_0x50b126(0x342)]['get'](_0x566f10))['body'];}['getSnapshotAPIPath'](){var _0x391ccd=_0x368389,_0x42527a;return(_0x42527a=this[_0x391ccd(0xb8)][_0x391ccd(0x19b)](vs))!=null?_0x42527a:this[_0x391ccd(0x2f2)]();}[_0x368389(0x2f2)](){var _0x4621b6=_0x368389,_0x453452;const _0xbf3f31=this[_0x4621b6(0xb8)][_0x4621b6(0x19b)](K);return(_0x453452=_0xbf3f31==null?void 0x0:_0xbf3f31['snapshotServerUrl'])!=null?_0x453452:fs;}async[_0x368389(0x164)](_0x43f481,_0x1ec3fa){var _0xc53d9a=_0x368389;const _0x35f017=_0xc53d9a(0x11d)+_0x1ec3fa['type']+_0xc53d9a(0x10e)+_0x1ec3fa['unitID']+'/resources';return(await this[_0xc53d9a(0x342)][_0xc53d9a(0x187)](_0x35f017,{'params':{'resourceId':JSON[_0xc53d9a(0x2bd)](_0x1ec3fa[_0xc53d9a(0x358)])}}))[_0xc53d9a(0x369)];}[_0x368389(0x1b1)](){var _0xf47f7a=_0x368389;throw new Error(_0xf47f7a(0x322));}[_0x368389(0x247)](){var _0x43d8df=_0x368389;throw new Error(_0x43d8df(0x322));}['saveSheetBlock'](){var _0x4323bd=_0x368389;throw new Error(_0x4323bd(0x322));}[_0x368389(0x21d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x368389(0x216)](){var _0x445f02=_0x368389;throw new Error(_0x445f02(0x322));}[_0x368389(0x2e3)](){var _0x235903=_0x368389;throw new Error(_0x235903(0x322));}};Nt=er([ai(0x0,_0x3c30e0),ai(0x1,_0x3ce8f0(_0x5dc9e9))],Nt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x3fb141,_0x228321,_0x1cd0cf,_0x34b053)=>{var _0x3ca804=_0x368389;for(var _0x5ca06e=_0x34b053>0x1?void 0x0:_0x34b053?tr(_0x228321,_0x1cd0cf):_0x228321,_0x18bbee=_0x3fb141[_0x3ca804(0x3b7)]-0x1,_0x222c53;_0x18bbee>=0x0;_0x18bbee--)(_0x222c53=_0x3fb141[_0x18bbee])&&(_0x5ca06e=_0x222c53(_0x5ca06e)||_0x5ca06e);return _0x5ca06e;},Ae=(_0x19575b,_0x5354fb)=>(_0x5d2e75,_0x266bf0)=>_0x5354fb(_0x5d2e75,_0x266bf0,_0x19575b);let bt=class extends _0x1d0657{constructor(_0x9d6c5b,_0x15f54b,_0x1cc3b1,_0xbbd65d,_0xaa3909){var _0x311067=_0x368389;super(_0x9d6c5b,_0x15f54b,_0x1cc3b1),this['_transformService']=_0xbbd65d,this[_0x311067(0x12b)]=_0xaa3909;}['transformUndoRedo'](_0x5f07da,_0x492ac7){var _0xa28568=_0x368389;const _0x587079=this[_0xa28568(0x3a4)](_0x5f07da);if(_0x587079)try{const _0x5d2e1b=this['_transformStack'](_0x587079,_0x492ac7);this[_0xa28568(0x2c9)](_0x5f07da,_0x5d2e1b);}catch(_0x33cb04){this[_0xa28568(0x12b)][_0xa28568(0x201)]('[CollaborationUndoRedoService]',_0x33cb04),this[_0xa28568(0x27d)](_0x5f07da);}const _0x4820d7=this[_0xa28568(0x34c)](_0x5f07da);if(_0x4820d7)try{const _0x4406bb=this['_transformStack'](_0x4820d7,_0x492ac7);this[_0xa28568(0x26f)](_0x5f07da,_0x4406bb);}catch(_0x196739){this[_0xa28568(0x12b)]['error'](_0x196739),this[_0xa28568(0x248)](_0x5f07da);}}['_clearUndo'](_0x4df140){var _0x3116a0=_0x368389;const _0x28cc23=this[_0x3116a0(0x3a4)](_0x4df140);_0x28cc23&&(_0x28cc23['length']=0x0,this[_0x3116a0(0xae)]());}['_clearRedo'](_0x5e4c88){var _0x2fc9ec=_0x368389;const _0x5b7bc5=this[_0x2fc9ec(0x34c)](_0x5e4c88);_0x5b7bc5&&(_0x5b7bc5[_0x2fc9ec(0x3b7)]=0x0,this[_0x2fc9ec(0xae)]());}['_substituteUndoStack'](_0x9d8643,_0x361ca1){var _0x5461f7=_0x368389;this['_undoStacks'][_0x5461f7(0x3ac)](_0x9d8643,_0x361ca1),this[_0x5461f7(0xae)]();}[_0x368389(0x26f)](_0x35f067,_0x2c03f6){var _0x47ce15=_0x368389;this[_0x47ce15(0xaf)][_0x47ce15(0x3ac)](_0x35f067,_0x2c03f6),this[_0x47ce15(0xae)]();}[_0x368389(0x33c)](_0x33750d,_0x3ae5bd){var _0x2b4b5d=_0x368389;const _0x5af04d=[];let _0x32ac34=_0x3ae5bd,_0x3b1723=_0x3ae5bd;for(let _0x5dd0ee=_0x33750d[_0x2b4b5d(0x3b7)]-0x1;_0x5dd0ee>=0x0;_0x5dd0ee--){const {unitID:_0x9cd1a7,undoMutations:_0x1f4b90,redoMutations:_0x32a815}=_0x33750d[_0x5dd0ee],_0x5cb278=this['_transformService'][_0x2b4b5d(0x36e)](_0x32ac34,_0x1f4b90),_0x2c059b=this['_transformService'][_0x2b4b5d(0x36e)](_0x3b1723,_0x32a815);if(_0x552004(_0x5cb278)||_0x552004(_0x2c059b)){this[_0x2b4b5d(0x12b)]['error'](_0x2b4b5d(0x35e),_0x2b4b5d(0x223),_0x5cb278,_0x2c059b);break;}_0x32ac34=_0x5cb278[_0x2b4b5d(0x25e)],_0x3b1723=_0x2c059b[_0x2b4b5d(0x25e)],_0x5af04d[_0x2b4b5d(0x291)]({'unitID':_0x9cd1a7,'undoMutations':_0x5cb278['m2Prime'],'redoMutations':_0x2c059b[_0x2b4b5d(0x155)]});}return _0x5af04d[_0x2b4b5d(0xde)]();}};bt=ir([Ae(0x0,_0x558d3e),Ae(0x1,_0xcdf754),Ae(0x2,_0x5a3e4b),Ae(0x3,_0x1a3cad),Ae(0x4,_0x21f6c3)],bt);var sr=Object[_0x368389(0x33b)],nr=Object[_0x368389(0x284)],rr=(_0x101ab6,_0x17c27a,_0x2347c8)=>_0x17c27a in _0x101ab6?sr(_0x101ab6,_0x17c27a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2347c8}):_0x101ab6[_0x17c27a]=_0x2347c8,ar=(_0x16f80e,_0x3d4e3c,_0x183092,_0x493f54)=>{var _0x353f20=_0x368389;for(var _0x157339=_0x493f54>0x1?void 0x0:_0x493f54?nr(_0x3d4e3c,_0x183092):_0x3d4e3c,_0x5dcb7f=_0x16f80e[_0x353f20(0x3b7)]-0x1,_0x24690a;_0x5dcb7f>=0x0;_0x5dcb7f--)(_0x24690a=_0x16f80e[_0x5dcb7f])&&(_0x157339=_0x24690a(_0x157339)||_0x157339);return _0x157339;},Et=(_0x2190fe,_0x44cc89)=>(_0x216337,_0x2e1760)=>_0x44cc89(_0x216337,_0x2e1760,_0x2190fe),or=(_0x573514,_0xa56eb8,_0xd9b809)=>rr(_0x573514,_0xa56eb8+'',_0xd9b809);const cr=_0x368389(0xd0);let Dt=class extends _0x2f1d50{constructor(_0x11f643,_0xab5bf4,_0x3b3d3f,_0x3abc0f){var _0xeca5b4=_0x368389;super(),D(this,_0xeca5b4(0x12d)),(this[_0xeca5b4(0x12b)]=_0xab5bf4,this[_0xeca5b4(0x39e)]=_0x3b3d3f,this[_0xeca5b4(0xb8)]=_0x3abc0f);const {..._0x25eb9d}=_0x1a1e7e({},Ls,_0x11f643);if(!_0x25eb9d['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0xeca5b4(0x12d)]=_0x25eb9d,this['_configService']['setConfig'](K,_0x25eb9d);}[_0x368389(0x1fd)](){var _0x27e284=_0x368389;this[_0x27e284(0x34e)](),this[_0x27e284(0x252)]();}['_registerDependencies'](){var _0x980d73=_0x368389,_0x3cc8ce,_0x244899;this[_0x980d73(0x39e)][_0x980d73(0x274)](_0x32ded1)&&this['_logService']['error'](_0x980d73(0x1ce),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x16d07d=_0x1cd7a9([[_0x32ded1,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x980d73(0x12d)]['socketService']}],[_0x2a795b,{'useClass':Nt}],[_0x5dc2a1,{'useClass':Tt}],[_0xb996fd,{'useClass':Rt}],[_0x5bb5bb,{'useClass':Ct}],[nt],[gt]],(_0x3cc8ce=this[_0x980d73(0x12d)])==null?void 0x0:_0x3cc8ce[_0x980d73(0x1a5)]);if(!((_0x244899=this[_0x980d73(0x12d)])!=null&&_0x244899[_0x980d73(0x277)])){const _0x8c3685=_0x16d07d['findIndex'](([_0x4dc7f9])=>_0x4dc7f9===_t);_0x8c3685!==-0x1&&_0x16d07d[_0x980d73(0x2f4)](_0x8c3685,0x1);}_0x3d202f(this[_0x980d73(0x39e)],_0x16d07d);}['_initDependencies'](){var _0x22fceb=_0x368389,_0x2ae86c,_0x1859f1,_0x759fd5;this[_0x22fceb(0x39e)][_0x22fceb(0x187)](_0x5dc9e9)[_0x22fceb(0x287)]({'priority':0x14,'interceptor':_0x12399c({'maxParallel':0x6})}),(_0x2ae86c=this[_0x22fceb(0x12d)])!=null&&_0x2ae86c[_0x22fceb(0x29a)]||(_0x1859f1=this['_injector']['get'](J,_0x167b6f['OPTIONAL']))==null||_0x1859f1[_0x22fceb(0xf8)](),(_0x759fd5=this[_0x22fceb(0x12d)])!=null&&_0x759fd5[_0x22fceb(0x1cc)]&&_0x4de415(this[_0x22fceb(0x39e)],[[rt]]),_0x4de415(this[_0x22fceb(0x39e)],[[at],[nt],[ot]]);}};or(Dt,'pluginName',cr),Dt=ar([_0x24b67e(_0x68aeb2,_0x1350ad),Et(0x1,_0x21f6c3),Et(0x2,_0x3ce8f0(_0x277f78)),Et(0x3,_0x3c30e0)],Dt);function _0x4f24(_0x157a16,_0x39d9c4){var _0x111ce3=_0x111c();return _0x4f24=function(_0x4f2488,_0x27bbb9){_0x4f2488=_0x4f2488-0x90;var _0x15c2c1=_0x111ce3[_0x4f2488];return _0x15c2c1;},_0x4f24(_0x157a16,_0x39d9c4);}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};
|
|
1
|
+
var _0x2a1005=_0x44d6;(function(_0x43fef0,_0x2d55f7){var _0x2aa81d=_0x44d6,_0x3b02b6=_0x43fef0();while(!![]){try{var _0x1c95c0=parseInt(_0x2aa81d(0x3f8))/0x1+parseInt(_0x2aa81d(0x1d0))/0x2+parseInt(_0x2aa81d(0x2ed))/0x3*(-parseInt(_0x2aa81d(0x459))/0x4)+parseInt(_0x2aa81d(0x3a5))/0x5*(parseInt(_0x2aa81d(0x2eb))/0x6)+-parseInt(_0x2aa81d(0x24d))/0x7*(-parseInt(_0x2aa81d(0x44b))/0x8)+-parseInt(_0x2aa81d(0x3ae))/0x9+parseInt(_0x2aa81d(0x40c))/0xa*(parseInt(_0x2aa81d(0x21a))/0xb);if(_0x1c95c0===_0x2d55f7)break;else _0x3b02b6['push'](_0x3b02b6['shift']());}catch(_0x1f1f7f){_0x3b02b6['push'](_0x3b02b6['shift']());}}}(_0x31db,0x1fc3f));var bi=Object['defineProperty'],Di=(_0x5a3d31,_0x1ea0a4,_0x1e1f06)=>_0x1ea0a4 in _0x5a3d31?bi(_0x5a3d31,_0x1ea0a4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e1f06}):_0x5a3d31[_0x1ea0a4]=_0x1e1f06,D=(_0x2da950,_0x43be3b,_0x472b93)=>Di(_0x2da950,typeof _0x43be3b!=_0x2a1005(0x173)?_0x43be3b+'':_0x43be3b,_0x472b93);import{CollaborationEvent as _0x562005,ITransformService as _0x32b219,isTransformMutationsWithChangesetSuccess as _0x5b4126,mapDocumentTypeToUniverType as _0x405baf,RevisionService as _0x5ed83b,isTransformChangesetsSuccess as _0xbfa6d7,EmptyMutationInfo as _0x1bd8a5,CompressMutationService as _0x4f5830,parseProtocolChangeset as _0x2cb9eb,uuidv4 as _0x3cedbe,ISnapshotServerService as _0x3b2e01,parseChangesetToProtocol as _0x437722,SnapshotService as _0x5e41dd,textEncoder as _0xb2d770,b64DecodeUnicode as _0x3da0bd,isTransformMutationsWithChangesetFailure as _0x4e20cb,UniverCollaborationPlugin as _0x27883c}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x226b33,Inject as _0x941461,UserManagerService as _0x109b4c,Disposable as _0x4f60b7,UniverInstanceType as _0x5a5755,ILogService as _0x59ee6a,IConfigService as _0xf25e91,Optional as _0x475d23,RxDisposable as _0x23e95c,createIdentifier as _0x59652a,Injector as _0x197f37,Tools as _0x53c569,Rectangle as _0x5ae757,ICommandService as _0x5761a5,JSONX as _0x20f01f,IUndoRedoService as _0x100842,IPermissionService as _0x2e3c89,LocaleService as _0x139ca,sequenceExecute as _0x5f5548,toDisposable as _0x56841c,CommandType as _0x275b65,DisposableCollection as _0x1139e1,Workbook as _0x435e6f,generateRandomId as _0x4421e1,MentionType as _0x50afd5,isInternalEditorID as _0x29aee6,LocalUndoRedoService as _0x3c4f45,IContextService as _0x18cbc6,DependentOn as _0x23506d,Plugin as _0x5874ae,merge as _0x4fbb99,mergeOverrideWithDependencies as _0x14a46a,IAuthzIoService as _0x3ce982,IMentionIOService as _0x5db34e,registerDependencies as _0x37813c,Quantity as _0x54979a,touchDependencies as _0x54a1c}from'@univerjs/core';import{RichTextEditingMutation as _0x4255d0}from'@univerjs/docs';import{SheetsSelectionsService as _0x12d8a9,SetSelectionsOperation as _0x22ca47,InsertSheetMutation as _0x402bee,WorkbookEditablePermission as _0x4686f,SheetPermissionInitController as _0x332961}from'@univerjs/sheets';import{Subject as _0x3cfa67,merge as _0x2073ce,of as _0x4c6e5a,BehaviorSubject as _0x23d601,takeUntil as _0x1ba289,ReplaySubject as _0x524207,take as _0x824240,map as _0x329a31,shareReplay as _0x4fe8b6,firstValueFrom as _0x536566,concatMap as _0xf3e201}from'rxjs';import{ITelemetryService as _0xce0b}from'@univerjs/telemetry';import{map as _0x147ad4,take as _0x15ff55,filter as _0x47aea4,delay as _0x2e948d,takeUntil as _0x5bab8d}from'rxjs/operators';import{HTTPService as _0x2ff5b1,ISocketService as _0x31c9d3,MergeInterceptorFactory as _0xc6c2dd,HTTPRequest as _0x5bed9a,UniverNetworkPlugin as _0x5d5e7e,ThresholdInterceptorFactory as _0x45934a}from'@univerjs/network';import{ImageSourceType as _0x172a75,ImageUploadStatusType as _0x3d9f1,IImageIoService as _0x16fffd}from'@univerjs/drawing';import{getGlobalObject as _0x257f7b}from'@univerjs-pro/license';const fs=_0x2a1005(0x230),vs=_0x2a1005(0x1b1),ps=0x7d0,Es=_0x2a1005(0x34c),Sr=_0x2a1005(0x16d),ms=_0x2a1005(0x2d4),Is=0x7530,di=_0x2a1005(0x283),fi=0x4e20,Ss=0x4e20,gs='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,gr=_0x2a1005(0x394),Tr=0x3e8,Os=_0x2a1005(0x2ae),Rs=_0x2a1005(0x3f1),Or=_0x2a1005(0x2b9),Rr='/universer-api/uniscript';var vi=(_0x5d263c=>(_0x5d263c[_0x5d263c[_0x2a1005(0x29a)]=0x0]=_0x2a1005(0x29a),_0x5d263c[_0x5d263c['OK']=0x1]='OK',_0x5d263c[_0x5d263c[_0x2a1005(0x1cd)]=0x2]=_0x2a1005(0x1cd),_0x5d263c[_0x5d263c[_0x2a1005(0x313)]=0x3]=_0x2a1005(0x313),_0x5d263c[_0x5d263c['NOT_FOUND']=0x4]=_0x2a1005(0x441),_0x5d263c[_0x5d263c[_0x2a1005(0x2a9)]=0x5]=_0x2a1005(0x2a9),_0x5d263c[_0x5d263c['ALREADY_EXISTS']=0x6]=_0x2a1005(0x202),_0x5d263c[_0x5d263c['INVALID_ARGUMENT']=0x7]=_0x2a1005(0x26b),_0x5d263c[_0x5d263c[_0x2a1005(0x183)]=0x8]=_0x2a1005(0x183),_0x5d263c[_0x5d263c[_0x2a1005(0x22c)]=0x9]=_0x2a1005(0x22c),_0x5d263c[_0x5d263c['LOGIN_FAILED']=0xa]=_0x2a1005(0x3f0),_0x5d263c[_0x5d263c[_0x2a1005(0x423)]=0xb]=_0x2a1005(0x423),_0x5d263c[_0x5d263c[_0x2a1005(0x3ec)]=0xc]=_0x2a1005(0x3ec),_0x5d263c[_0x5d263c[_0x2a1005(0x218)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5d263c[_0x5d263c['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x2a1005(0x308),_0x5d263c[_0x5d263c[_0x2a1005(0x303)]=0xf]=_0x2a1005(0x303),_0x5d263c[_0x5d263c[_0x2a1005(0x1ed)]=0x10]=_0x2a1005(0x1ed),_0x5d263c[_0x5d263c[_0x2a1005(0x162)]=0x64]=_0x2a1005(0x162),_0x5d263c[_0x5d263c['ERROR_AGAIN']=0x65]=_0x2a1005(0x270),_0x5d263c[_0x5d263c[_0x2a1005(0x433)]=0xc9]='USER_NOT_FOUND',_0x5d263c[_0x5d263c[_0x2a1005(0x472)]=0xca]=_0x2a1005(0x472),_0x5d263c[_0x5d263c[_0x2a1005(0x227)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5d263c[_0x5d263c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5d263c[_0x5d263c[_0x2a1005(0x2a5)]=0x1772]=_0x2a1005(0x2a5),_0x5d263c[_0x5d263c[_0x2a1005(0x34b)]=0x1773]=_0x2a1005(0x34b),_0x5d263c[_0x5d263c['APPLY_REJECT']=0x1b59]=_0x2a1005(0x3e8),_0x5d263c[_0x5d263c[_0x2a1005(0x15c)]=0x1b5a]=_0x2a1005(0x15c),_0x5d263c[_0x5d263c[_0x2a1005(0x2c9)]=0x1b5b]=_0x2a1005(0x2c9),_0x5d263c[_0x5d263c[_0x2a1005(0x40b)]=0x1b5c]=_0x2a1005(0x40b),_0x5d263c[_0x5d263c['APPLY_DUPLICATED']=0x1b5d]=_0x2a1005(0x400),_0x5d263c[_0x5d263c[_0x2a1005(0x15d)]=0x1f41]=_0x2a1005(0x15d),_0x5d263c[_0x5d263c[_0x2a1005(0x3cb)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5d263c[_0x5d263c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x2a1005(0x279),_0x5d263c[_0x5d263c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2a1005(0x338),_0x5d263c[_0x5d263c[_0x2a1005(0x1c2)]=0x232c]=_0x2a1005(0x1c2),_0x5d263c[_0x5d263c[_0x2a1005(0x281)]=0x232d]=_0x2a1005(0x281),_0x5d263c[_0x5d263c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2a1005(0x43a),_0x5d263c[_0x5d263c[_0x2a1005(0x204)]=0x2712]=_0x2a1005(0x204),_0x5d263c[_0x5d263c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5d263c[_0x5d263c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2a1005(0x1b0),_0x5d263c[_0x5d263c[_0x2a1005(0x29b)]=0x271a]=_0x2a1005(0x29b),_0x5d263c[_0x5d263c[_0x2a1005(0x25f)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5d263c[_0x5d263c[_0x2a1005(0x1a1)]=0x271c]=_0x2a1005(0x1a1),_0x5d263c[_0x5d263c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5d263c[_0x5d263c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x2a1005(0x382),_0x5d263c[_0x5d263c['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x5d263c[_0x5d263c[_0x2a1005(0x34f)]=0x2720]=_0x2a1005(0x34f),_0x5d263c[_0x5d263c[_0x2a1005(0x160)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5d263c[_0x5d263c['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2a1005(0x310),_0x5d263c[_0x5d263c['INVALID_INVITE_CODE']=0x2ee2]=_0x2a1005(0x33c),_0x5d263c[_0x5d263c[_0x2a1005(0x327)]=0x2ee3]=_0x2a1005(0x327),_0x5d263c[_0x5d263c[_0x2a1005(0x325)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5d263c[_0x5d263c[_0x2a1005(0x312)]=0x2ee5]=_0x2a1005(0x312),_0x5d263c[_0x5d263c['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x2a1005(0x291),_0x5d263c[_0x5d263c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2a1005(0x38b),_0x5d263c[_0x5d263c[_0x2a1005(0x427)]=0x32cb]=_0x2a1005(0x427),_0x5d263c[_0x5d263c['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5d263c[_0x5d263c[_0x2a1005(0x3e4)]=0x36b2]=_0x2a1005(0x3e4),_0x5d263c[_0x5d263c[_0x2a1005(0x1f8)]=0x36b3]=_0x2a1005(0x1f8),_0x5d263c[_0x5d263c[_0x2a1005(0x334)]=0x36b4]=_0x2a1005(0x334),_0x5d263c[_0x5d263c['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x2a1005(0x30a),_0x5d263c[_0x5d263c[_0x2a1005(0x3bf)]=0x3716]=_0x2a1005(0x3bf),_0x5d263c[_0x5d263c[_0x2a1005(0x3a0)]=0x3717]=_0x2a1005(0x3a0),_0x5d263c[_0x5d263c[_0x2a1005(0x277)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5d263c[_0x5d263c[_0x2a1005(0x26a)]=0x3a99]=_0x2a1005(0x26a),_0x5d263c[_0x5d263c[_0x2a1005(0x211)]=0x3a9a]=_0x2a1005(0x211),_0x5d263c[_0x5d263c[_0x2a1005(0x355)]=0x3a9b]=_0x2a1005(0x355),_0x5d263c[_0x5d263c[_0x2a1005(0x3ad)]=0x3a9c]=_0x2a1005(0x3ad),_0x5d263c[_0x5d263c[_0x2a1005(0x37a)]=0x3a9d]=_0x2a1005(0x37a),_0x5d263c[_0x5d263c[_0x2a1005(0x41d)]=0x3a9e]=_0x2a1005(0x41d),_0x5d263c[_0x5d263c[_0x2a1005(0x475)]=0x3a9f]=_0x2a1005(0x475),_0x5d263c[_0x5d263c[_0x2a1005(0x209)]=0x3e81]=_0x2a1005(0x209),_0x5d263c[_0x5d263c['UNRECOGNIZED']=-0x1]=_0x2a1005(0x2db),_0x5d263c))(vi||{}),Q=(_0x521ee7=>(_0x521ee7[_0x521ee7['UNIVER_UNKNOWN']=0x0]=_0x2a1005(0x336),_0x521ee7[_0x521ee7[_0x2a1005(0x17b)]=0x1]='UNIVER_DOC',_0x521ee7[_0x521ee7[_0x2a1005(0x228)]=0x2]=_0x2a1005(0x228),_0x521ee7[_0x521ee7['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x521ee7[_0x521ee7[_0x2a1005(0x3f4)]=0x4]='UNIVER_PROJECT',_0x521ee7[_0x521ee7[_0x2a1005(0x2db)]=-0x1]=_0x2a1005(0x2db),_0x521ee7))(Q||{}),j=(_0x7bcac=>(_0x7bcac[_0x7bcac['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x7bcac[_0x7bcac[_0x2a1005(0x39d)]=0x1]=_0x2a1005(0x39d),_0x7bcac[_0x7bcac[_0x2a1005(0x357)]=0x2]=_0x2a1005(0x357),_0x7bcac[_0x7bcac['LEAVE']=0x3]=_0x2a1005(0x194),_0x7bcac[_0x7bcac[_0x2a1005(0x36a)]=0x4]=_0x2a1005(0x36a),_0x7bcac[_0x7bcac['HEARTBEAT']=0x5]=_0x2a1005(0x1c3),_0x7bcac[_0x7bcac['RECV']=0x6]=_0x2a1005(0x243),_0x7bcac[_0x7bcac[_0x2a1005(0x2db)]=-0x1]=_0x2a1005(0x2db),_0x7bcac))(j||{}),pe=(_0x2923ce=>(_0x2923ce[_0x2923ce[_0x2a1005(0x309)]=0x0]=_0x2a1005(0x309),_0x2923ce[_0x2923ce['OK']=0x1]='OK',_0x2923ce[_0x2923ce['FAIL']=0x2]=_0x2a1005(0x2f3),_0x2923ce[_0x2923ce[_0x2a1005(0x3d7)]=0x3e9]=_0x2a1005(0x3d7),_0x2923ce[_0x2923ce[_0x2a1005(0x234)]=0x3ea]=_0x2a1005(0x234),_0x2923ce[_0x2923ce[_0x2a1005(0x378)]=0x3eb]=_0x2a1005(0x378),_0x2923ce[_0x2923ce[_0x2a1005(0x174)]=0x3ec]=_0x2a1005(0x174),_0x2923ce[_0x2923ce[_0x2a1005(0x2db)]=-0x1]='UNRECOGNIZED',_0x2923ce))(pe||{}),pi=(_0x18dbf6=>(_0x18dbf6[_0x18dbf6[_0x2a1005(0x385)]=0x0]=_0x2a1005(0x385),_0x18dbf6[_0x18dbf6[_0x2a1005(0x25d)]=0x1]='HttpImport',_0x18dbf6[_0x18dbf6[_0x2a1005(0x1f2)]=0x2]=_0x2a1005(0x1f2),_0x18dbf6[_0x18dbf6[_0x2a1005(0x27f)]=0x3]=_0x2a1005(0x27f),_0x18dbf6[_0x18dbf6[_0x2a1005(0x3b6)]=0x4]='UnitSnapshot',_0x18dbf6[_0x18dbf6[_0x2a1005(0x42c)]=0x5]='UserProfileImg',_0x18dbf6[_0x18dbf6[_0x2a1005(0x3dd)]=0x6]=_0x2a1005(0x3dd),_0x18dbf6[_0x18dbf6[_0x2a1005(0x2db)]=-0x1]=_0x2a1005(0x2db),_0x18dbf6))(pi||{});const Cs='collaboration_new_changeset';function Ns(_0x36c8ca){var _0x2812ce=_0x2a1005;return JSON['stringify'](_0x36c8ca)[_0x2812ce(0x2c6)];}var re=(_0x20c9c5=>(_0x20c9c5[_0x2a1005(0x454)]=_0x2a1005(0x454),_0x20c9c5['PERMISSION_DENIED']=_0x2a1005(0x313),_0x20c9c5[_0x2a1005(0x24a)]=_0x2a1005(0x24a),_0x20c9c5['CLOSE_ROOM']='CLOSE_ROOM',_0x20c9c5[_0x2a1005(0x1f5)]=_0x2a1005(0x1f5),_0x20c9c5['SOCKET_FAILED_RETRY']=_0x2a1005(0x17c),_0x20c9c5['SOCKET_FAILED']=_0x2a1005(0x31a),_0x20c9c5[_0x2a1005(0x25a)]=_0x2a1005(0x25a),_0x20c9c5))(re||{});class ve{constructor(){var _0x354798=_0x2a1005;D(this,_0x354798(0x1fc),new _0x3cfa67()),D(this,_0x354798(0x1c6),this[_0x354798(0x1fc)]['asObservable']());}[_0x2a1005(0x212)](_0x4bb9ea){var _0x448e9b=_0x2a1005;this[_0x448e9b(0x1fc)][_0x448e9b(0x1cf)](_0x4bb9ea);}}class Ei{constructor(){var _0x2e1452=_0x2a1005;D(this,_0x2e1452(0x1e8),new _0x3cfa67()),D(this,_0x2e1452(0x2a3),this[_0x2e1452(0x1e8)][_0x2e1452(0x195)]());}['onCommentUpdate'](_0x3dc69e){var _0x587e00=_0x2a1005;this[_0x587e00(0x1e8)][_0x587e00(0x1cf)](_0x3dc69e);}}var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x1b0690,_0x4521d9,_0x3e49e3,_0x343f5a)=>{var _0x3bb9d7=_0x2a1005;for(var _0x2d6913=_0x343f5a>0x1?void 0x0:_0x343f5a?bs(_0x4521d9,_0x3e49e3):_0x4521d9,_0x59bb35=_0x1b0690[_0x3bb9d7(0x2c6)]-0x1,_0x1c08ad;_0x59bb35>=0x0;_0x59bb35--)(_0x1c08ad=_0x1b0690[_0x59bb35])&&(_0x2d6913=_0x1c08ad(_0x2d6913)||_0x2d6913);return _0x2d6913;},Ft=(_0x421443,_0x2d0f25)=>(_0x226ee9,_0x6779ec)=>_0x2d0f25(_0x226ee9,_0x6779ec,_0x421443);let Pe=class extends _0x4f60b7{constructor(_0x24cf5e,_0x195bc1){var _0x56789a=_0x2a1005;super(),D(this,'_roomMembers',new Map()),D(this,_0x56789a(0x398),new _0x3cfa67()),(this['_univerInstanceService']=_0x24cf5e,this[_0x56789a(0x321)]=_0x195bc1,this[_0x56789a(0x2e7)](_0x2073ce(this[_0x56789a(0x373)]['getTypeOfUnitDisposed$'](_0x5a5755[_0x56789a(0x228)])[_0x56789a(0x368)](_0x147ad4(_0x5847a2=>_0x5847a2[_0x56789a(0x2bd)]())),this[_0x56789a(0x373)]['getTypeOfUnitDisposed$'](_0x5a5755['UNIVER_DOC'])[_0x56789a(0x368)](_0x147ad4(_0x58a1b4=>_0x58a1b4[_0x56789a(0x2bd)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5a5755[_0x56789a(0x3f9)])[_0x56789a(0x368)](_0x147ad4(_0x367a25=>_0x367a25['getUnitId']())))[_0x56789a(0x1dc)](_0x526af6=>this[_0x56789a(0x26d)](_0x526af6))));}[_0x2a1005(0x392)](_0x2033ea){var _0x476b18=_0x2a1005;return this[_0x476b18(0x44f)][_0x476b18(0x2aa)](_0x2033ea)?_0x4c6e5a(this[_0x476b18(0x44f)]['get'](_0x2033ea)):this['_roomCreated$'][_0x476b18(0x368)](_0x147ad4(_0x93f2a9=>{var _0x172e97=_0x476b18;if(_0x93f2a9===_0x2033ea)return this[_0x172e97(0x44f)][_0x172e97(0x20f)](_0x93f2a9);}));}['setCurrentUser'](_0x4ad1d0){var _0x5ae24b=_0x2a1005;this[_0x5ae24b(0x321)]['setCurrentUser'](_0x4ad1d0);}[_0x2a1005(0x17f)](){var _0x6dd076=_0x2a1005;return this[_0x6dd076(0x321)][_0x6dd076(0x17f)]();}[_0x2a1005(0x379)](_0x5ed5c4,_0x318011){var _0x46d0b4=_0x2a1005;let _0x11d622=this[_0x46d0b4(0x44f)][_0x46d0b4(0x20f)](_0x5ed5c4);_0x11d622||(_0x11d622=new ys(),this[_0x46d0b4(0x44f)][_0x46d0b4(0x2f9)](_0x5ed5c4,_0x11d622),this[_0x46d0b4(0x398)][_0x46d0b4(0x1cf)](_0x5ed5c4)),_0x11d622[_0x46d0b4(0x379)](_0x318011);}[_0x2a1005(0x318)](_0x17fc40,_0x30c9d1){var _0x17e9f7=_0x2a1005;const _0x38339f=this[_0x17e9f7(0x44f)][_0x17e9f7(0x20f)](_0x17fc40);_0x38339f&&_0x38339f[_0x17e9f7(0x318)](_0x30c9d1);}[_0x2a1005(0x3a7)](_0x1039f6){var _0x5d0b74=_0x2a1005;return this[_0x5d0b74(0x44f)]['get'](_0x1039f6);}['getMember'](_0x1465d6,_0x430aef){var _0x3c8cc9=_0x2a1005;const _0x124f6a=this[_0x3c8cc9(0x44f)][_0x3c8cc9(0x20f)](_0x1465d6);if(_0x124f6a)return _0x124f6a[_0x3c8cc9(0x43f)](_0x430aef);}[_0x2a1005(0x26d)](_0x3eb003){var _0x23fc06=_0x2a1005;const _0x2adf78=this[_0x23fc06(0x44f)][_0x23fc06(0x20f)](_0x3eb003);_0x2adf78&&(_0x2adf78[_0x23fc06(0x40a)](),this[_0x23fc06(0x44f)][_0x23fc06(0x352)](_0x3eb003));}[_0x2a1005(0x40a)](){var _0x1b8dcf=_0x2a1005;this[_0x1b8dcf(0x44f)][_0x1b8dcf(0x34a)](_0x43d998=>_0x43d998[_0x1b8dcf(0x40a)]()),this[_0x1b8dcf(0x44f)][_0x1b8dcf(0x3b7)](),this[_0x1b8dcf(0x398)][_0x1b8dcf(0x3d6)]();}};Pe=Ds([Ft(0x0,_0x226b33),Ft(0x1,_0x941461(_0x109b4c))],Pe);class ys extends _0x4f60b7{constructor(){var _0x2f52a4=_0x2a1005;super(...arguments),D(this,_0x2f52a4(0x3ee),new Map()),D(this,_0x2f52a4(0x36f),new _0x23d601(this[_0x2f52a4(0x3ee)])),D(this,_0x2f52a4(0x335),this['_members$']['asObservable']());}['dispose'](){var _0x1f9dea=_0x2a1005;this[_0x1f9dea(0x3ee)][_0x1f9dea(0x3b7)]();}[_0x2a1005(0x379)](_0x49cc80){var _0x4b0303=_0x2a1005;this[_0x4b0303(0x3ee)][_0x4b0303(0x2f9)](_0x49cc80['memberID'],_0x49cc80),this['_emitMembers']();}[_0x2a1005(0x318)](_0x316a59){var _0x275493=_0x2a1005;this[_0x275493(0x3ee)][_0x275493(0x352)](_0x316a59);}['getMember'](_0x172da5){var _0x329ebb=_0x2a1005;return this[_0x329ebb(0x3ee)][_0x329ebb(0x20f)](_0x172da5);}['getAllMembers'](){var _0x7ab5dc=_0x2a1005;return Array[_0x7ab5dc(0x3b9)](this[_0x7ab5dc(0x3ee)][_0x7ab5dc(0x41e)]());}['_emitMembers'](){var _0x58d1a2=_0x2a1005;this[_0x58d1a2(0x36f)][_0x58d1a2(0x1cf)](this['_members']);}}var Us=Object[_0x2a1005(0x163)],As=(_0x14f5f2,_0x3d0ce7,_0x3fe53a,_0x8163f0)=>{for(var _0x2ce94f=_0x8163f0>0x1?void 0x0:_0x8163f0?Us(_0x3d0ce7,_0x3fe53a):_0x3d0ce7,_0x7df205=_0x14f5f2['length']-0x1,_0x6f06e3;_0x7df205>=0x0;_0x7df205--)(_0x6f06e3=_0x14f5f2[_0x7df205])&&(_0x2ce94f=_0x6f06e3(_0x2ce94f)||_0x2ce94f);return _0x2ce94f;},Oe=(_0x1b3a12,_0x1dc170)=>(_0x546417,_0x2258b1)=>_0x1dc170(_0x546417,_0x2258b1,_0x1b3a12),me=(_0x5637c0=>(_0x5637c0[_0x5637c0[_0x2a1005(0x30b)]=0x0]=_0x2a1005(0x30b),_0x5637c0[_0x5637c0[_0x2a1005(0x344)]=0x1]=_0x2a1005(0x344),_0x5637c0[_0x5637c0['OFFLINE']=0x2]=_0x2a1005(0x40d),_0x5637c0[_0x5637c0[_0x2a1005(0x18d)]=0x3]=_0x2a1005(0x18d),_0x5637c0))(me||{});const jt={[pe[_0x2a1005(0x2f3)]]:_0x2a1005(0x407),[pe[_0x2a1005(0x3d7)]]:_0x2a1005(0x409),[pe[_0x2a1005(0x234)]]:_0x2a1005(0x1f0),[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x2a1005(0x302),[pe[_0x2a1005(0x174)]]:_0x2a1005(0x298)};let mt=class extends _0x23e95c{constructor(_0x44ad9c,_0x163387,_0x136f9b,_0x288e14,_0x1c53f5,_0x5ccb65,_0x2a4407,_0x26741f){var _0x278479=_0x2a1005;super(),D(this,_0x278479(0x27a),new _0x23d601(0x0)),D(this,_0x278479(0x24b),this[_0x278479(0x27a)][_0x278479(0x195)]()),D(this,_0x278479(0x1fc),new _0x3cfa67()),D(this,_0x278479(0x1c6),this[_0x278479(0x1fc)][_0x278479(0x195)]()),D(this,_0x278479(0x45d)),D(this,_0x278479(0x177)),D(this,_0x278479(0x267)),D(this,'_shouldReportTelemetry',!0x1),D(this,'_telemetryInfo',null),(this[_0x278479(0x260)]=_0x44ad9c,this[_0x278479(0x32a)]=_0x136f9b,this[_0x278479(0x206)]=_0x288e14,this['_memberService']=_0x1c53f5,this['_commentService']=_0x5ccb65,this[_0x278479(0x331)]=_0x2a4407,this['_telemetryService']=_0x26741f,this['_shouldReportTelemetry']=!!this[_0x278479(0x26c)],_0x163387['pipe'](_0x1ba289(this[_0x278479(0x2ee)]))[_0x278479(0x1dc)](_0x4740b2=>{var _0x33972e=_0x278479,_0xa333a8;typeof _0x4740b2>'u'||(this[_0x33972e(0x45d)]=_0x4740b2,_0x4740b2?(this[_0x33972e(0x2e5)](_0x4740b2),this[_0x33972e(0x177)]=_0x4740b2[_0x33972e(0x477)][_0x33972e(0x1dc)](_0x15c592=>{var _0x4994ce=_0x33972e;_0x15c592[_0x4994ce(0x3ed)]===this[_0x4994ce(0x260)]&&this[_0x4994ce(0x402)](_0x15c592);})):(this[_0x33972e(0x3ac)](),this['_sessionStatus$']['next'](0x2),(_0xa333a8=this['_socketMessageSubscription'])==null||_0xa333a8[_0x33972e(0x1b7)](),this[_0x33972e(0x177)]=null));}));}get[_0x2a1005(0x1ff)](){var _0xbb3203=_0x2a1005;return this[_0xbb3203(0x27a)][_0xbb3203(0x1ad)]();}[_0x2a1005(0x1a9)](){var _0x8c4772=_0x2a1005,_0x3aadc1,_0x236a73;return(_0x236a73=(_0x3aadc1=this[_0x8c4772(0x45d)])==null?void 0x0:_0x3aadc1[_0x8c4772(0x2f6)])!=null?_0x236a73:null;}[_0x2a1005(0x40a)](){var _0x12108e=_0x2a1005;super['dispose'](),this[_0x12108e(0x2ee)][_0x12108e(0x1cf)](),this[_0x12108e(0x2ee)]['complete']();}[_0x2a1005(0x466)](){var _0x3760a0=_0x2a1005,_0x4d9149,_0x17699b;this[_0x3760a0(0x3ac)](),(_0x4d9149=this[_0x3760a0(0x45d)])==null||_0x4d9149[_0x3760a0(0x2e2)]({'cmd':j['LEAVE'],'data':{'roomID':this[_0x3760a0(0x260)]}}),(_0x17699b=this[_0x3760a0(0x45d)])==null||_0x17699b['close'](),this[_0x3760a0(0x1fc)][_0x3760a0(0x3d6)](),this[_0x3760a0(0x27a)][_0x3760a0(0x3d6)](),this[_0x3760a0(0x40a)]();}['_onCombEvent'](_0x10e47c){var _0x519d34=_0x2a1005;_0x10e47c['cmd']===j[_0x519d34(0x357)]?this[_0x519d34(0x205)](_0x10e47c):_0x10e47c[_0x519d34(0x2fa)]===j[_0x519d34(0x243)]&&this[_0x519d34(0x1a8)](_0x10e47c);}[_0x2a1005(0x2e5)](_0x5da42c){var _0x5654f5=_0x2a1005;this['_sessionStatus$']['next'](0x1),_0x5da42c[_0x5654f5(0x2e2)]({'cmd':j['JOIN'],'routeKey':this[_0x5654f5(0x260)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5654f5(0x260)]}]}});}[_0x2a1005(0x205)](_0x1314ed){var _0xbf0756=_0x2a1005,_0x5eaea6;if(_0x1314ed[_0xbf0756(0x444)]in jt){this[_0xbf0756(0x331)][_0xbf0756(0x212)]({'id':re[_0xbf0756(0x1f5)],'data':jt[_0x1314ed[_0xbf0756(0x444)]]}),this[_0xbf0756(0x27a)][_0xbf0756(0x1cf)](0x2);return;}this[_0xbf0756(0x27a)][_0xbf0756(0x1cf)](0x3);const _0x3b3506=(_0x5eaea6=_0x1314ed[_0xbf0756(0x2f0)][_0xbf0756(0x1dd)][this['_unitID']])==null?void 0x0:_0x5eaea6[_0xbf0756(0x468)];_0x3b3506&&_0x3b3506[_0xbf0756(0x34a)](_0x58f3d7=>this[_0xbf0756(0x2a1)]['updateMember'](this[_0xbf0756(0x260)],_0x58f3d7));}[_0x2a1005(0x1a8)](_0x2de9ad){var _0x4a3dfc=_0x2a1005;try{const _0x26d8ab=_0x2de9ad['data'];switch(_0x26d8ab[_0x4a3dfc(0x2ff)]){case _0x562005[_0x4a3dfc(0x1eb)]:this[_0x4a3dfc(0x46f)](_0x26d8ab),this[_0x4a3dfc(0x1fc)][_0x4a3dfc(0x1cf)](_0x26d8ab);break;case _0x562005[_0x4a3dfc(0x219)]:this[_0x4a3dfc(0x288)](_0x26d8ab),this[_0x4a3dfc(0x1fc)]['next'](_0x26d8ab);break;case _0x562005[_0x4a3dfc(0x342)]:case _0x562005[_0x4a3dfc(0x269)]:this[_0x4a3dfc(0x1bb)](),this[_0x4a3dfc(0x361)](),this['_event$'][_0x4a3dfc(0x1cf)](_0x26d8ab);break;case _0x562005[_0x4a3dfc(0x442)]:this[_0x4a3dfc(0x32a)][_0x4a3dfc(0x38d)](_0x4a3dfc(0x20c)+JSON['stringify'](_0x26d8ab)),this[_0x4a3dfc(0x1fc)]['next'](_0x26d8ab);break;case _0x562005[_0x4a3dfc(0x3f5)]:this[_0x4a3dfc(0x3e2)][_0x4a3dfc(0x161)](_0x26d8ab[_0x4a3dfc(0x2f0)]),this['_event$'][_0x4a3dfc(0x1cf)](_0x26d8ab);break;default:this['_event$'][_0x4a3dfc(0x1cf)](_0x26d8ab);}}catch(_0x2cbc46){this[_0x4a3dfc(0x32a)][_0x4a3dfc(0x38d)](_0x2cbc46,_0x2de9ad);}}['_onUserJoin'](_0x5a1974){var _0x23e94f=_0x2a1005;this[_0x23e94f(0x2a1)][_0x23e94f(0x379)](this[_0x23e94f(0x260)],_0x5a1974[_0x23e94f(0x2f0)]);}['_onUserLeave'](_0x5969ea){var _0xb3797b=_0x2a1005;this[_0xb3797b(0x2a1)][_0xb3797b(0x318)](this[_0xb3797b(0x260)],_0x5969ea[_0xb3797b(0x2f0)][_0xb3797b(0x2f6)]);}async['send'](_0x393cc9,_0x38cfe6){var _0xb33f29=_0x2a1005;if(this[_0xb33f29(0x1ff)]!==0x3||!this[_0xb33f29(0x45d)])throw new Error(_0xb33f29(0x23f));try{_0x393cc9['eventID']===_0x562005['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0xb33f29(0x232)](_0x393cc9)),this[_0xb33f29(0x45d)][_0xb33f29(0x2e2)]({'cmd':j[_0xb33f29(0x36a)],'routeKey':_0x38cfe6,'routeType':'','data':_0x393cc9});}catch(_0x49f563){this[_0xb33f29(0x32a)][_0xb33f29(0x38d)](_0x49f563);}}[_0x2a1005(0x43b)](){var _0x19d38c=_0x2a1005,_0x4f9425;this[_0x19d38c(0x267)]=setTimeout(()=>{var _0x4cfc9d=_0x19d38c;this[_0x4cfc9d(0x267)]=null,this[_0x4cfc9d(0x331)][_0x4cfc9d(0x212)]({'id':re[_0x4cfc9d(0x25a)]});},(_0x4f9425=this[_0x19d38c(0x206)][_0x19d38c(0x250)](di))!=null?_0x4f9425:fi);}[_0x2a1005(0x361)](){var _0x53ccc9=_0x2a1005;this[_0x53ccc9(0x267)]&&(clearTimeout(this[_0x53ccc9(0x267)]),this['_collaborationTimeoutTimer']=null);}[_0x2a1005(0x232)](_0x298f98){var _0x51b906=_0x2a1005;if(!this[_0x51b906(0x28c)])return;const {data:_0x473bbd}=_0x298f98,{unitID:_0x4e7148,changeset:_0x30c5ac}=_0x473bbd,{mutations:_0x4eac87,type:_0x245967}=_0x30c5ac;this[_0x51b906(0x38e)]={'unitId':_0x4e7148,'type':_0x245967,'startTime':performance[_0x51b906(0x387)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x4eac87)};}[_0x2a1005(0x1bb)](){var _0x3b756d=_0x2a1005;if(this['_shouldReportTelemetry']){if(!this[_0x3b756d(0x38e)]){this[_0x3b756d(0x32a)][_0x3b756d(0x38d)](_0x3b756d(0x220),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3b756d(0x38e)][_0x3b756d(0x367)]=performance['now'](),this['_telemetryInfo'][_0x3b756d(0x1e4)]=this[_0x3b756d(0x38e)][_0x3b756d(0x367)]-this['_telemetryInfo']['startTime'],this['_telemetryService'][_0x3b756d(0x377)](Cs,this[_0x3b756d(0x38e)]),this[_0x3b756d(0x38e)]=null;}}[_0x2a1005(0x3ac)](){this['_telemetryInfo']=null;}};mt=As([Oe(0x2,_0x59ee6a),Oe(0x3,_0xf25e91),Oe(0x4,_0x941461(Pe)),Oe(0x5,_0x941461(Ei)),Oe(0x6,_0x941461(ve)),Oe(0x7,_0x475d23(_0xce0b))],mt);const J=_0x59652a(_0x2a1005(0x3f7));function Cr(_0x2f735f){var _0x70ad78=_0x2a1005;return _0x70ad78(0x246)+_0x2f735f;}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0x416f65,_0x3e486a,_0xe83052,_0x4960dd)=>{var _0x5de182=_0x2a1005;for(var _0x28b7d0=_0x4960dd>0x1?void 0x0:_0x4960dd?Ps(_0x3e486a,_0xe83052):_0x3e486a,_0x3f2935=_0x416f65[_0x5de182(0x2c6)]-0x1,_0x194a5c;_0x3f2935>=0x0;_0x3f2935--)(_0x194a5c=_0x416f65[_0x3f2935])&&(_0x28b7d0=_0x194a5c(_0x28b7d0)||_0x28b7d0);return _0x28b7d0;},ut=(_0xb33d42,_0x5336f4)=>(_0x55e017,_0x580dd7)=>_0x5336f4(_0x55e017,_0x580dd7,_0xb33d42);function Ms(_0x238372){var _0x5703b0=_0x2a1005;const {unitID:_0x22b4ca,mutations:_0x1b969c}=_0x238372;return{'unitId':_0x22b4ca,'subUnitId':_0x1b969c[_0x5703b0(0x2c6)]>0x0?_0x1b969c[0x0][_0x5703b0(0x2bb)][_0x5703b0(0x168)]:null};}let it=class{constructor(_0x24fa31,_0x21d048,_0x3c75d7){var _0x35dff1=_0x2a1005;this['_injector']=_0x24fa31,this[_0x35dff1(0x20e)]=_0x21d048,this[_0x35dff1(0x443)]=_0x3c75d7;}['transformSelections'](_0x4e8dbb){var _0x4ed161=_0x2a1005,_0x124077,_0x2b01fe,_0x272f6c,_0x5a6245;const _0x347e21=this[_0x4ed161(0x1d3)]['get'](_0x12d8a9),{unitId:_0xd14ed,subUnitId:_0x4cc2b3}=Ms(_0x4e8dbb),_0x511ceb=_0x347e21==null?void 0x0:_0x347e21['getWorkbookSelections'](_0xd14ed)[_0x4ed161(0x1e9)](),_0x31d9a9=(_0x2b01fe=(_0x124077=this[_0x4ed161(0x443)][_0x4ed161(0x23d)](_0xd14ed))==null?void 0x0:_0x124077[_0x4ed161(0x434)]())==null?void 0x0:_0x2b01fe[_0x4ed161(0x328)]();if(_0x511ceb[_0x4ed161(0x2c6)]===0x0||!_0xd14ed||!_0x4cc2b3)return;const _0x370bb1=[{'id':_0x22ca47['id'],'params':{'unitId':_0xd14ed,'subUnitId':_0x31d9a9,'selections':_0x53c569[_0x4ed161(0x32d)](_0x511ceb)}}],_0x58a197=this[_0x4ed161(0x20e)]['transformMutationsWithChangeset'](_0x4e8dbb,_0x370bb1);if(!_0x5b4126(_0x58a197))throw _0x58a197['error'];const _0x352126=(_0x5a6245=(_0x272f6c=_0x58a197[_0x4ed161(0x271)][0x0])==null?void 0x0:_0x272f6c['params'])==null?void 0x0:_0x5a6245[_0x4ed161(0x17e)];if(Array[_0x4ed161(0x314)](_0x352126)&&_0x352126[_0x4ed161(0x2c6)]){if(_0x352126[_0x4ed161(0x2c6)]===_0x370bb1[0x0]['params']['selections']['length']&&_0x352126[_0x4ed161(0x1e1)]((_0x1461f8,_0x340a8c)=>_0x5ae757['equals'](_0x1461f8[_0x4ed161(0x347)],_0x370bb1[0x0][_0x4ed161(0x2bb)][_0x4ed161(0x17e)][_0x340a8c][_0x4ed161(0x347)])))return;this[_0x4ed161(0x1d3)][_0x4ed161(0x20f)](_0x5761a5)[_0x4ed161(0x384)](_0x22ca47['id'],{'unitId':_0xd14ed,'subUnitId':_0x31d9a9,'selections':_0x352126});}}};it=ws([ut(0x0,_0x941461(_0x197f37)),ut(0x1,_0x32b219),ut(0x2,_0x226b33)],it);const _t=_0x59652a(_0x2a1005(0x2cf));var mi=(_0x2367d2=>(_0x2367d2[_0x2367d2['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2a1005(0x371),_0x2367d2[_0x2367d2[_0x2a1005(0x1db)]=0x1]=_0x2a1005(0x1db),_0x2367d2))(mi||{});const K=_0x2a1005(0x349),Ls={},xs=new Set([_0x402bee['id']]);function Vt(_0x2b9ea2,_0x4e01f6,_0x2a545b,_0x39ce33,_0x56e1df){var _0x14d1b8=_0x2a1005,_0x20e266,_0x2331c9,_0x7b5ef6,_0x495f48;const _0x5e83c4=[];for(const _0x38cfd0 of _0x2b9ea2)if(xs[_0x14d1b8(0x2aa)](_0x38cfd0['id'])){if(_0x5e83c4[_0x14d1b8(0x2c6)]>0x0)break;_0x5e83c4['push'](_0x38cfd0);break;}else _0x5e83c4[_0x14d1b8(0x2c4)](_0x38cfd0);const _0x363536=(_0x2331c9=(_0x20e266=_0x56e1df['getCurrentUser']())==null?void 0x0:_0x20e266['userID'])!=null?_0x2331c9:_0x14d1b8(0x1e2),_0x19d68a=(_0x495f48=(_0x7b5ef6=_0x56e1df[_0x14d1b8(0x17f)]())==null?void 0x0:_0x7b5ef6[_0x14d1b8(0x2f6)])!=null?_0x495f48:_0x14d1b8(0x1e2);return{'changeset':{'unitID':_0x4e01f6,'type':_0x405baf(_0x2a545b[_0x14d1b8(0x45f)](_0x4e01f6)),'baseRev':_0x39ce33[_0x14d1b8(0x187)](_0x4e01f6),'revision':0x0,'userID':_0x363536,'memberID':_0x19d68a,'mutations':_0x5e83c4},'pendingMutations':_0x2b9ea2[_0x14d1b8(0x3d0)](_0x5e83c4[_0x14d1b8(0x2c6)])};}function $s(_0x563878,_0x27cc2c,_0x1ec494,_0x1d606e,_0x26b79a){var _0x2625f5=_0x2a1005,_0x1e3b2b,_0x137d0b,_0x2990ad,_0x289bce;const _0x56a857=[_0x563878['reduce']((_0xe89615,_0x22c1cb)=>{var _0x3b63a2=_0x44d6,_0x5c0ca4;const {id:_0x2bf519}=_0xe89615,{id:_0x3b91c7,type:_0x2b1a6c}=_0x22c1cb,_0x39d596=(_0x5c0ca4=_0xe89615['params'])!=null?_0x5c0ca4:{'actions':null},_0x3f2052=_0x22c1cb['params'];if(_0x2bf519&&_0x2bf519!==_0x3b91c7)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2bf519+_0x3b63a2(0x282)+_0x3b91c7+'.');return{..._0xe89615,'id':_0x3b91c7,'type':_0x2b1a6c,'params':{'unitId':_0x3f2052['unitId'],'textRanges':_0x3f2052[_0x3b63a2(0x439)],'actions':_0x20f01f[_0x3b63a2(0x3c8)](_0x39d596[_0x3b63a2(0x3bd)],_0x3f2052['actions'])}};},{})],_0x33e158=(_0x137d0b=(_0x1e3b2b=_0x26b79a[_0x2625f5(0x17f)]())==null?void 0x0:_0x1e3b2b[_0x2625f5(0x399)])!=null?_0x137d0b:_0x2625f5(0x1e2),_0xa0e624=(_0x289bce=(_0x2990ad=_0x26b79a[_0x2625f5(0x17f)]())==null?void 0x0:_0x2990ad['memberID'])!=null?_0x289bce:'unknown';return{'changeset':{'unitID':_0x27cc2c,'type':_0x405baf(_0x1ec494['getUnitType'](_0x27cc2c)),'baseRev':_0x1d606e[_0x2625f5(0x187)](_0x27cc2c),'revision':0x0,'userID':_0x33e158,'memberID':_0xa0e624,'mutations':_0x56a857},'pendingMutations':[]};}function Ii(_0x4b4b98,_0x4a90a3){var _0x4b57b4=_0x2a1005;const _0x52f108=new _0x524207(0x1);return setTimeout(()=>_0x52f108[_0x4b57b4(0x1cf)](_0x4a90a3),_0x4b4b98),_0x52f108[_0x4b57b4(0x195)]()['pipe'](_0x824240(0x1));}var ks=Object[_0x2a1005(0x163)],Se=(_0x35e5a4,_0x2cbaba,_0xc9c662,_0x3afd12)=>{for(var _0x1086c4=_0x3afd12>0x1?void 0x0:_0x3afd12?ks(_0x2cbaba,_0xc9c662):_0x2cbaba,_0x120a35=_0x35e5a4['length']-0x1,_0x3122b8;_0x120a35>=0x0;_0x120a35--)(_0x3122b8=_0x35e5a4[_0x120a35])&&(_0x1086c4=_0x3122b8(_0x1086c4)||_0x1086c4);return _0x1086c4;},w=(_0x5b349b,_0x44044f)=>(_0x162d13,_0x21b19a)=>_0x44044f(_0x162d13,_0x21b19a,_0x5b349b),Si=(_0x1bee5f=>(_0x1bee5f[_0x2a1005(0x22a)]=_0x2a1005(0x255),_0x1bee5f[_0x2a1005(0x333)]=_0x2a1005(0x2e0),_0x1bee5f[_0x2a1005(0x415)]='pending',_0x1bee5f[_0x2a1005(0x3a3)]=_0x2a1005(0x1f9),_0x1bee5f[_0x2a1005(0x452)]=_0x2a1005(0x19c),_0x1bee5f[_0x2a1005(0x332)]=_0x2a1005(0x1e0),_0x1bee5f[_0x2a1005(0x24a)]=_0x2a1005(0x44c),_0x1bee5f['OFFLINE']=_0x2a1005(0x1c5),_0x1bee5f))(Si||{});const gi=0xea60;class ge{constructor(_0x1556ee,_0x5c83f1,_0x47c93d,_0x10cff1,_0x2bb34a,_0x418e20,_0x34ca20,_0x532047,_0x2b2967){var _0x435337=_0x2a1005;D(this,_0x435337(0x2a2),null),D(this,'_pendingMutations',[]),(this[_0x435337(0x43c)]=_0x1556ee,this[_0x435337(0x1f1)]=_0x5c83f1,this['_handler']=_0x2bb34a,this['_commandService']=_0x418e20,this[_0x435337(0x478)]=_0x34ca20,this['_revisionService']=_0x532047,this['_localCacheService']=_0x2b2967,this[_0x435337(0x2a2)]=_0x47c93d,this[_0x435337(0x391)]=_0x10cff1);}['_checkMissing'](_0x1fddbd){var _0x5b1ef1=_0x2a1005;const _0x4a0396=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5b1ef1(0x43c)]);return _0x1fddbd[_0x5b1ef1(0x462)]>_0x4a0396+0x1?(this['_handler'][_0x5b1ef1(0x3d9)]({'from':_0x4a0396,'to':_0x1fddbd[_0x5b1ef1(0x462)]-0x1}),!0x0):!0x1;}[_0x2a1005(0x3ea)](_0x1d9747){var _0x2d273b=_0x2a1005;this[_0x2d273b(0x478)][_0x2d273b(0x323)](this[_0x2d273b(0x43c)],_0x1d9747);}[_0x2a1005(0x36c)](_0x18da9a){var _0x585810=_0x2a1005,_0x357667,_0x2fd5bf;(_0x2fd5bf=(_0x357667=this[_0x585810(0x16f)])[_0x585810(0x263)])==null||_0x2fd5bf[_0x585810(0x341)](_0x357667,_0x18da9a);}['_transformIMECache'](_0x387b73){var _0x5b3bf9=_0x2a1005,_0x107d58,_0x1a6c90;return(_0x1a6c90=(_0x107d58=this['_handler'])[_0x5b3bf9(0x1aa)])==null?void 0x0:_0x1a6c90[_0x5b3bf9(0x341)](_0x107d58,_0x387b73);}[_0x2a1005(0x170)](_0x3779ed){var _0x505c0a=_0x2a1005,_0x5f55c9,_0x3f6cab;return(_0x3f6cab=(_0x5f55c9=this[_0x505c0a(0x16f)])[_0x505c0a(0x16a)])==null?void 0x0:_0x3f6cab[_0x505c0a(0x341)](_0x5f55c9,_0x3779ed);}[_0x2a1005(0x3df)](_0x22a8b2){var _0x4a59ea=_0x2a1005,_0x421537,_0x49dacc,_0x7ce2b6;return(_0x7ce2b6=(_0x49dacc=(_0x421537=this[_0x4a59ea(0x16f)])[_0x4a59ea(0x34e)])==null?void 0x0:_0x49dacc[_0x4a59ea(0x341)](_0x421537,_0x22a8b2))!=null?_0x7ce2b6:_0x22a8b2;}['_transformRemoteChangesetByStateCache'](_0x1f9da3){var _0x40ad04=_0x2a1005,_0x525d7c,_0x3ce778,_0x36861d;return(_0x36861d=(_0x3ce778=(_0x525d7c=this[_0x40ad04(0x16f)])[_0x40ad04(0x1bf)])==null?void 0x0:_0x3ce778['call'](_0x525d7c,_0x1f9da3))!=null?_0x36861d:_0x1f9da3;}['_syncEditingCollabCursor'](_0x2f35c2){var _0xf6d8b7=_0x2a1005,_0x1085a1,_0x2ec67f;if(this[_0xf6d8b7(0x1f1)]===Q['UNIVER_DOC']){const {unitID:_0x19f90f,mutations:_0x1b17c5,memberID:_0x4cc351}=_0x2f35c2,_0x198808=_0x1b17c5[_0xf6d8b7(0x2c6)]>0x0?_0x1b17c5[0x0][_0xf6d8b7(0x2bb)][_0xf6d8b7(0x439)]:[];Array[_0xf6d8b7(0x314)](_0x198808)&&_0x198808[_0xf6d8b7(0x2c6)]>0x0&&((_0x2ec67f=(_0x1085a1=this[_0xf6d8b7(0x16f)])[_0xf6d8b7(0x3fd)])==null||_0x2ec67f[_0xf6d8b7(0x341)](_0x1085a1,{'unitID':_0x19f90f,'memberID':_0x4cc351,'textRanges':_0x198808}));}}[_0x2a1005(0x167)](){var _0x282f40=_0x2a1005,_0x1b3d04;(_0x1b3d04=this[_0x282f40(0x445)])==null||_0x1b3d04['updateOfflineData'](this[_0x282f40(0x43c)],this['type'],this[_0x282f40(0x2a2)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x308989=_0x2a1005;return this['_revisionService'][_0x308989(0x187)](this['unitID']);}['_incrementRevisionNumber'](){var _0x2f4dda=_0x2a1005;this[_0x2f4dda(0x421)][_0x2f4dda(0x30d)](this[_0x2f4dda(0x43c)]);}[_0x2a1005(0x16c)](_0x3c665b){var _0x263c8c=_0x2a1005,_0x46ba74;let _0x3ea24f=this[_0x263c8c(0x3df)](_0x3c665b);_0x3ea24f=this[_0x263c8c(0x214)](_0x3ea24f);const _0x452569=_0x5f5548(_0x3ea24f[_0x263c8c(0x474)],this['_commandService'],{'fromCollab':!0x0});if(!_0x452569['result'])throw _0x452569[_0x263c8c(0x38d)]instanceof Error?_0x452569['error']:new Error((_0x46ba74=_0x452569[_0x263c8c(0x38d)])!=null?_0x46ba74:_0x263c8c(0x301));this[_0x263c8c(0x3ff)](_0x3ea24f),this[_0x263c8c(0x170)](_0x3ea24f),this['_transformUndoredo'](_0x3c665b),this[_0x263c8c(0x36c)](_0x3ea24f),this[_0x263c8c(0x25c)](_0x3ea24f),this[_0x263c8c(0x2b8)]();}}let be=class extends ge{constructor(_0x1db5a7,_0x3b9fa6,_0x41680e,_0x194df5,_0x19c99a,_0x1868ec,_0x23b60c,_0x3d19a3,_0xd8bfa2,_0x3fe445){var _0x45d01a=_0x2a1005;super(_0x1db5a7,_0x3b9fa6,null,[],_0x41680e,_0x23b60c,_0x1868ec,_0x194df5,_0x3fe445),D(this,_0x45d01a(0x2fc),_0x45d01a(0x2e0)),(this[_0x45d01a(0x1d3)]=_0x19c99a,this[_0x45d01a(0x32a)]=_0x3d19a3,this[_0x45d01a(0x20e)]=_0xd8bfa2,this['localCacheService']=_0x3fe445);}[_0x2a1005(0x453)](_0x439a85){var _0x36aec9=_0x2a1005;const _0x35e315=this[_0x36aec9(0x1d3)]['createInstance'](ae,this[_0x36aec9(0x43c)],this['type'],[_0x439a85],this[_0x36aec9(0x16f)]);return _0x35e315[_0x36aec9(0x24f)](),_0x35e315[_0x36aec9(0x167)](),_0x35e315;}[_0x2a1005(0x3b5)](_0x24bdee){var _0xd71277=_0x2a1005;if(this[_0xd71277(0x31e)](_0x24bdee))return this[_0xd71277(0x1d3)]['createInstance'](ee,this[_0xd71277(0x43c)],this[_0xd71277(0x1f1)],null,[],null,[_0x24bdee],this['_handler']);try{const _0x307b21=this[_0xd71277(0x20e)]['transformMutationsWithChangeset'](_0x24bdee,[_0x1bd8a5]);if(_0x5b4126(_0x307b21)){const {c1Prime:_0x23ec12}=_0x307b21;return this[_0xd71277(0x16c)](_0x23ec12),this;}throw _0x307b21['error'];}catch(_0xae7d61){return this[_0xd71277(0x32a)][_0xd71277(0x38d)](_0xae7d61),this[_0xd71277(0x2cb)](!0x1);}}['_onConflict'](_0x495be7){var _0x19e321=_0x2a1005;return this[_0x19e321(0x1d3)][_0x19e321(0x171)](ue,this[_0x19e321(0x43c)],this[_0x19e321(0x1f1)],null,[],this[_0x19e321(0x16f)],_0x495be7);}[_0x2a1005(0x3eb)](){var _0x1cbd67=_0x2a1005;throw new Error(_0x1cbd67(0x404));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2a1005(0x28d)](){return this;}[_0x2a1005(0x1c9)](){var _0x5adf7e=_0x2a1005;return this['_injector'][_0x5adf7e(0x171)](de,this[_0x5adf7e(0x43c)],this[_0x5adf7e(0x1f1)],null,[],this[_0x5adf7e(0x16f)]);}[_0x2a1005(0x430)](){return this;}[_0x2a1005(0x166)](){var _0x38c625=_0x2a1005;throw new Error(_0x38c625(0x1ac));}['fetchMiss'](){var _0x950bee=_0x2a1005;const _0x34740d=this[_0x950bee(0x421)][_0x950bee(0x187)](this[_0x950bee(0x43c)]);return this[_0x950bee(0x16f)]['onMissingChangesets']({'from':_0x34740d,'to':0x0}),this['_injector'][_0x950bee(0x171)](ee,this[_0x950bee(0x43c)],this[_0x950bee(0x1f1)],null,[],null,[],this[_0x950bee(0x16f)]);}};be=Se([w(0x3,_0x941461(_0x5ed83b)),w(0x4,_0x941461(_0x197f37)),w(0x5,_0x100842),w(0x6,_0x5761a5),w(0x7,_0x59ee6a),w(0x8,_0x32b219),w(0x9,_0x475d23(J))],be);let ae=class extends ge{constructor(_0xef79b4,_0x23df4f,_0x58a76d,_0x483702,_0x3ecac3,_0x3debad,_0x428a8a,_0xa6ab8e,_0x29f21f,_0x6c546,_0x480715,_0x113944,_0x475f6f,_0x4ff48f){var _0x3e305f=_0x2a1005;super(_0xef79b4,_0x23df4f,null,_0x58a76d,_0x483702,_0x29f21f,_0x475f6f,_0x3debad,_0x4ff48f),D(this,_0x3e305f(0x2fc),_0x3e305f(0x2b0)),D(this,_0x3e305f(0x285),null),D(this,_0x3e305f(0x189),null),(this[_0x3e305f(0x1d3)]=_0x3ecac3,this['_memberService']=_0x428a8a,this['_logService']=_0xa6ab8e,this[_0x3e305f(0x206)]=_0x6c546,this[_0x3e305f(0x20e)]=_0x480715,this['_univerInstanceService']=_0x113944);}[_0x2a1005(0x453)](_0x27300d){var _0x41a274=_0x2a1005;return this[_0x41a274(0x391)][_0x41a274(0x2c4)](_0x27300d),this[_0x41a274(0x167)](),this;}[_0x2a1005(0x3b5)](_0x56b39d){var _0x30147f=_0x2a1005;if(this[_0x30147f(0x31e)](_0x56b39d))return this[_0x30147f(0x2c5)](),this[_0x30147f(0x1d3)][_0x30147f(0x171)](ee,this[_0x30147f(0x43c)],this[_0x30147f(0x1f1)],null,this[_0x30147f(0x391)],null,[_0x56b39d],this[_0x30147f(0x16f)]);try{const _0x3a40c2=this[_0x30147f(0x20e)][_0x30147f(0x348)](_0x56b39d,this[_0x30147f(0x391)]);if(_0x5b4126(_0x3a40c2)){const {c1Prime:_0x4387f8,m2Prime:_0x5c8f29}=_0x3a40c2;this[_0x30147f(0x16c)](_0x4387f8);const _0x5284ac=this[_0x30147f(0x1d3)][_0x30147f(0x171)](ae,this[_0x30147f(0x43c)],this['type'],_0x5c8f29,this[_0x30147f(0x16f)]);this[_0x30147f(0x2c5)]();const _0x4c8f59=new Date()[_0x30147f(0x3db)](),_0x3930d9=this[_0x30147f(0x285)]?Math[_0x30147f(0x18a)](this['_scheduleCompleteTimestamp']-_0x4c8f59,0x0):this[_0x30147f(0x37e)]();return _0x5284ac['_schedule'](_0x3930d9),_0x5284ac;}throw _0x3a40c2[_0x30147f(0x38d)];}catch(_0x348587){return this[_0x30147f(0x32a)]['error'](_0x348587),this[_0x30147f(0x2cb)](!0x1);}}[_0x2a1005(0x3eb)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2a1005(0x1f7)](){var _0x5c6ac8=_0x2a1005;throw new Error(_0x5c6ac8(0x2ad));}[_0x2a1005(0x28d)](){return this;}[_0x2a1005(0x1c9)](){var _0x2bd393=_0x2a1005;return this[_0x2bd393(0x2c5)](),this['_injector']['createInstance'](de,this['unitID'],this[_0x2bd393(0x1f1)],null,this[_0x2bd393(0x391)],this['_handler']);}['toggleOnline'](){return this;}[_0x2a1005(0x24f)](_0x1228cf){var _0x39b471=_0x2a1005;const _0x9b17a8=_0x1228cf!=null?_0x1228cf:this[_0x39b471(0x37e)]();this[_0x39b471(0x285)]=new Date()[_0x39b471(0x3db)]()+_0x9b17a8,this[_0x39b471(0x189)]=setTimeout(()=>{var _0x1aeb48=_0x39b471;this['_clearScheduledTask']();let _0x3454ae=null;switch(this[_0x1aeb48(0x1f1)]){case Q[_0x1aeb48(0x228)]:{_0x3454ae=Vt(this[_0x1aeb48(0x391)],this[_0x1aeb48(0x43c)],this[_0x1aeb48(0x373)],this[_0x1aeb48(0x421)],this[_0x1aeb48(0x2a1)]);break;}case Q[_0x1aeb48(0x17b)]:{this['_pendingMutations'][_0x1aeb48(0x1e1)](_0x5878fd=>_0x5878fd['id']===_0x4255d0['id'])?_0x3454ae=$s(this[_0x1aeb48(0x391)],this['unitID'],this[_0x1aeb48(0x373)],this[_0x1aeb48(0x421)],this[_0x1aeb48(0x2a1)]):_0x3454ae=Vt(this[_0x1aeb48(0x391)],this['unitID'],this[_0x1aeb48(0x373)],this['_revisionService'],this[_0x1aeb48(0x2a1)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x1aeb48(0x2c2));}const {changeset:_0x378d2b,pendingMutations:_0xe6550d}=_0x3454ae;this[_0x1aeb48(0x16f)][_0x1aeb48(0x2fd)](_0x378d2b);const _0x6bb6b1=_0xe6550d[_0x1aeb48(0x2c6)]?this[_0x1aeb48(0x1d3)][_0x1aeb48(0x171)](oe,this['unitID'],this[_0x1aeb48(0x1f1)],_0x378d2b,_0xe6550d,this[_0x1aeb48(0x16f)],void 0x0):this[_0x1aeb48(0x1d3)][_0x1aeb48(0x171)](le,this[_0x1aeb48(0x43c)],this[_0x1aeb48(0x1f1)],_0x378d2b,this['_handler']);_0x6bb6b1[_0x1aeb48(0x167)](),this['_handler'][_0x1aeb48(0x237)](this,_0x6bb6b1);},_0x9b17a8);}[_0x2a1005(0x37e)](){var _0x1d7a51=_0x2a1005,_0x4b723e;const _0x3d9074=this['_configService'][_0x1d7a51(0x250)](K);return(_0x4b723e=_0x3d9074==null?void 0x0:_0x3d9074[_0x1d7a51(0x164)])!=null?_0x4b723e:ps;}['resend'](){var _0x36dbf0=_0x2a1005;throw new Error(_0x36dbf0(0x1fe));}[_0x2a1005(0x2c5)](){var _0x58262e=_0x2a1005;this[_0x58262e(0x189)]!=null&&(clearTimeout(this[_0x58262e(0x189)]),this[_0x58262e(0x189)]=null);}[_0x2a1005(0x2cb)](_0x1f21a9){var _0xe12a7d=_0x2a1005;return this[_0xe12a7d(0x2c5)](),this[_0xe12a7d(0x1d3)][_0xe12a7d(0x171)](ue,this[_0xe12a7d(0x43c)],this[_0xe12a7d(0x1f1)],null,this[_0xe12a7d(0x391)],this[_0xe12a7d(0x16f)],_0x1f21a9);}};ae=Se([w(0x4,_0x941461(_0x197f37)),w(0x5,_0x941461(_0x5ed83b)),w(0x6,_0x941461(Pe)),w(0x7,_0x59ee6a),w(0x8,_0x5761a5),w(0x9,_0xf25e91),w(0xa,_0x32b219),w(0xb,_0x226b33),w(0xc,_0x100842),w(0xd,_0x475d23(J))],ae);let le=class extends ge{constructor(_0xac6282,_0x88aabb,_0x5c0a75,_0x33c5c3,_0x11f4d9,_0x328c93,_0x329e14,_0x4c539e,_0x4b695d,_0x192070,_0x413a6a){var _0x34f6e8=_0x2a1005;super(_0xac6282,_0x88aabb,_0x5c0a75,[],_0x33c5c3,_0x329e14,_0x192070,_0x328c93,_0x413a6a),D(this,_0x34f6e8(0x2fc),_0x34f6e8(0x1f9)),D(this,'_resendTimeout',0x0),D(this,_0x34f6e8(0x438)),D(this,'_sender'),(this[_0x34f6e8(0x1d3)]=_0x11f4d9,this[_0x34f6e8(0x32a)]=_0x4c539e,this[_0x34f6e8(0x20e)]=_0x4b695d);}[_0x2a1005(0x453)](_0x378977){var _0x569092=_0x2a1005;this[_0x569092(0x2c5)]();const _0x24efea=this['_injector'][_0x569092(0x171)](oe,this[_0x569092(0x43c)],this[_0x569092(0x1f1)],this[_0x569092(0x2a2)],[_0x378977],this[_0x569092(0x16f)],this['_resendTimer']);return _0x24efea['_updateLocalCache'](),_0x24efea;}[_0x2a1005(0x3b5)](_0x3bab24){var _0x2acde1=_0x2a1005;if(this[_0x2acde1(0x31e)](_0x3bab24))return this[_0x2acde1(0x2c5)](),this[_0x2acde1(0x1d3)]['createInstance'](ee,this[_0x2acde1(0x43c)],this[_0x2acde1(0x1f1)],this[_0x2acde1(0x2a2)],[],null,[_0x3bab24],this[_0x2acde1(0x16f)]);try{const _0x142e3b=this[_0x2acde1(0x20e)][_0x2acde1(0x1d9)]([_0x3bab24],[this[_0x2acde1(0x2a2)]],!0x1);if(_0xbfa6d7(_0x142e3b)){const {c1Prime:_0x7bfb92,c2Prime:_0x31ecce}=_0x142e3b;this[_0x2acde1(0x16c)](_0x7bfb92[0x0]),_0x31ecce[0x0][_0x2acde1(0x32f)]=this[_0x2acde1(0x284)](),this[_0x2acde1(0x2c5)]();const _0x3e6489=this['_injector']['createInstance'](le,this[_0x2acde1(0x43c)],this['type'],_0x31ecce[0x0],this[_0x2acde1(0x16f)]);return _0x3e6489[_0x2acde1(0x167)](),_0x3e6489;}return this[_0x2acde1(0x2cb)](!0x1);}catch(_0x7f3412){return this[_0x2acde1(0x32a)][_0x2acde1(0x38d)](_0x7f3412),this[_0x2acde1(0x2cb)](!0x1);}}[_0x2a1005(0x3eb)](_0x461d3e){var _0x3ff33b=_0x2a1005;this['_clearScheduledTask']();const _0x2a87cc=this[_0x3ff33b(0x421)][_0x3ff33b(0x187)](this['unitID']);if(_0x461d3e[_0x3ff33b(0x462)]<_0x2a87cc-0x1)return this;if(this['_checkMissing'](_0x461d3e))return this['_injector']['createInstance'](ee,this[_0x3ff33b(0x43c)],this[_0x3ff33b(0x1f1)],null,[],this['_awaitingChangeset'],[],this[_0x3ff33b(0x16f)]);this[_0x3ff33b(0x2b8)]();const _0x3b8f10=this[_0x3ff33b(0x1d3)][_0x3ff33b(0x171)](be,this[_0x3ff33b(0x43c)],this[_0x3ff33b(0x1f1)],this[_0x3ff33b(0x16f)]);return _0x3b8f10[_0x3ff33b(0x167)](),_0x3b8f10;}[_0x2a1005(0x1f7)](_0x3ef923){var _0x401938=_0x2a1005;return this[_0x401938(0x2cb)](!!(_0x3ef923!=null&&_0x3ef923[_0x401938(0x2da)]));}[_0x2a1005(0x28d)](_0x1863b6){var _0x6807b5=_0x2a1005;return this['_resendTimeout']>gi?this[_0x6807b5(0x1c9)]():(this[_0x6807b5(0x438)]=Ii(this[_0x6807b5(0x41a)],{'timeout':this[_0x6807b5(0x41a)],'reqId':_0x1863b6['reqId']}),this[_0x6807b5(0x1f4)]=this[_0x6807b5(0x438)]['subscribe'](({reqId:_0x1a0bbe,timeout:_0x584935})=>{this['_resendWithTimeout'](_0x1a0bbe,_0x584935);}),this);}[_0x2a1005(0x1c9)](){var _0x181fc6=_0x2a1005;return this[_0x181fc6(0x2c5)](),this[_0x181fc6(0x1d3)][_0x181fc6(0x171)](de,this[_0x181fc6(0x43c)],this[_0x181fc6(0x1f1)],this[_0x181fc6(0x2a2)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x2a1005(0x166)](){var _0x1a68bc=_0x2a1005;this[_0x1a68bc(0x16f)][_0x1a68bc(0x2fd)](this['_awaitingChangeset']);}['_onConflict'](_0x222e93){var _0x34e4c5=_0x2a1005;return this[_0x34e4c5(0x2c5)](),this['_injector'][_0x34e4c5(0x171)](ue,this[_0x34e4c5(0x43c)],this[_0x34e4c5(0x1f1)],this[_0x34e4c5(0x2a2)],[],this[_0x34e4c5(0x16f)],_0x222e93);}[_0x2a1005(0x34d)](_0x56749b,_0x466676){var _0x5b2994=_0x2a1005,_0x44c27b;_0x56749b===((_0x44c27b=this[_0x5b2994(0x2a2)])==null?void 0x0:_0x44c27b[_0x5b2994(0x203)])&&(this[_0x5b2994(0x166)](),this[_0x5b2994(0x41a)]=_0x466676===0x0?0x3e8:_0x466676*0x2);}['_clearScheduledTask'](){var _0x50cb41=_0x2a1005,_0x484021;(_0x484021=this[_0x50cb41(0x1f4)])==null||_0x484021[_0x50cb41(0x1b7)](),this[_0x50cb41(0x41a)]=0x0;}};le=Se([w(0x4,_0x941461(_0x197f37)),w(0x5,_0x941461(_0x5ed83b)),w(0x6,_0x5761a5),w(0x7,_0x59ee6a),w(0x8,_0x32b219),w(0x9,_0x100842),w(0xa,_0x475d23(J))],le);let oe=class extends ge{constructor(_0x24ade0,_0x33be7f,_0x129baf,_0x6bb7dc,_0x48b701,_0x158d1f,_0x47239a,_0x5961a9,_0x1b64cb,_0x19a23d,_0x1efb34,_0x29df53,_0x4cd8c9){var _0x4c5e56=_0x2a1005;super(_0x24ade0,_0x33be7f,_0x129baf,_0x6bb7dc,_0x48b701,_0x1b64cb,_0x29df53,_0x5961a9,_0x4cd8c9),D(this,_0x4c5e56(0x2fc),_0x4c5e56(0x19c)),D(this,_0x4c5e56(0x41a),0x0),D(this,_0x4c5e56(0x438)),D(this,'_sender'),(this['_injector']=_0x47239a,this[_0x4c5e56(0x32a)]=_0x19a23d,this[_0x4c5e56(0x20e)]=_0x1efb34,this['localCacheService']=_0x4cd8c9,_0x158d1f&&(this[_0x4c5e56(0x438)]=_0x158d1f,this[_0x4c5e56(0x1f4)]=this[_0x4c5e56(0x438)][_0x4c5e56(0x1dc)](({reqId:_0x2b3797,timeout:_0x4cf80f})=>{var _0x4db4fd=_0x4c5e56;this[_0x4db4fd(0x34d)](_0x2b3797,_0x4cf80f);})));}[_0x2a1005(0x453)](_0x276a14){var _0x1285fc=_0x2a1005;return this['_pendingMutations'][_0x1285fc(0x2c4)](_0x276a14),this;}[_0x2a1005(0x3b5)](_0x5701a5){var _0x178892=_0x2a1005;if(this[_0x178892(0x31e)](_0x5701a5))return this[_0x178892(0x2c5)](),this[_0x178892(0x1d3)][_0x178892(0x171)](ee,this[_0x178892(0x43c)],this[_0x178892(0x1f1)],this[_0x178892(0x2a2)],this[_0x178892(0x391)],null,[_0x5701a5],this[_0x178892(0x16f)]);try{const _0x2ee64a=this[_0x178892(0x20e)]['transformChangesets']([_0x5701a5],[this[_0x178892(0x2a2)]],!0x1);if(_0xbfa6d7(_0x2ee64a)){const {c1Prime:_0x5d0132,c2Prime:_0x4fea5d}=_0x2ee64a,_0x5613ef=this['_transformService'][_0x178892(0x348)](_0x5d0132[0x0],this[_0x178892(0x391)]);if(_0x5b4126(_0x5613ef)){const {c1Prime:_0x4bb00d,m2Prime:_0x5983ec}=_0x5613ef;return this['_executeRemoteChangeset'](_0x4bb00d),_0x4fea5d[0x0][_0x178892(0x32f)]=this['_getCurrentRevision'](),this[_0x178892(0x2c5)](),this[_0x178892(0x1d3)][_0x178892(0x171)](oe,this[_0x178892(0x43c)],this[_0x178892(0x1f1)],_0x4fea5d[0x0],_0x5983ec,this['_handler'],void 0x0);}throw _0x5613ef[_0x178892(0x38d)];}throw _0x2ee64a[_0x178892(0x38d)];}catch(_0x579730){return this[_0x178892(0x32a)][_0x178892(0x38d)](_0x579730),this[_0x178892(0x2cb)](!0x1);}}['onRemoteAck'](_0x15fa03){var _0x362cb6=_0x2a1005;if(this[_0x362cb6(0x2c5)](),this['_checkMissing'](_0x15fa03))return this[_0x362cb6(0x1d3)]['createInstance'](ee,this['unitID'],this['type'],null,this[_0x362cb6(0x391)],this[_0x362cb6(0x2a2)],[],this[_0x362cb6(0x16f)]);this[_0x362cb6(0x2b8)]();const _0x59ce16=this['_injector'][_0x362cb6(0x171)](ae,this[_0x362cb6(0x43c)],this[_0x362cb6(0x1f1)],this['_pendingMutations'],this[_0x362cb6(0x16f)]);return _0x59ce16[_0x362cb6(0x24f)](),_0x59ce16[_0x362cb6(0x167)](),_0x59ce16;}[_0x2a1005(0x1f7)](_0x3d702a){var _0x2a487d=_0x2a1005;return this[_0x2a487d(0x2cb)](!!(_0x3d702a!=null&&_0x3d702a[_0x2a487d(0x2da)]));}['onRemoteRetry'](_0x4007da){var _0x10c978=_0x2a1005;return this[_0x10c978(0x41a)]>gi?this[_0x10c978(0x1c9)]():(this[_0x10c978(0x438)]=Ii(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x4007da[_0x10c978(0x203)]}),this[_0x10c978(0x1f4)]=this[_0x10c978(0x438)][_0x10c978(0x1dc)](({reqId:_0x2ff69f,timeout:_0x2afbbd})=>{var _0x40d181=_0x10c978;this[_0x40d181(0x34d)](_0x2ff69f,_0x2afbbd);}),this);}[_0x2a1005(0x1c9)](){var _0xe3c16e=_0x2a1005;return this[_0xe3c16e(0x2c5)](),this[_0xe3c16e(0x1d3)][_0xe3c16e(0x171)](de,this[_0xe3c16e(0x43c)],this[_0xe3c16e(0x1f1)],this[_0xe3c16e(0x2a2)],this[_0xe3c16e(0x391)],this[_0xe3c16e(0x16f)]);}[_0x2a1005(0x430)](){return this;}['resend'](){var _0x2537f7=_0x2a1005;this[_0x2537f7(0x16f)][_0x2537f7(0x2fd)](this[_0x2537f7(0x2a2)]);}['_onConflict'](_0x4669e4){var _0x46de1f=_0x2a1005;return this[_0x46de1f(0x2c5)](),this[_0x46de1f(0x1d3)]['createInstance'](ue,this['unitID'],this['type'],null,this[_0x46de1f(0x391)],this[_0x46de1f(0x16f)],_0x4669e4);}[_0x2a1005(0x34d)](_0x419388,_0x3f2e8c){var _0x3471c9=_0x2a1005,_0x233541;_0x419388===((_0x233541=this[_0x3471c9(0x2a2)])==null?void 0x0:_0x233541[_0x3471c9(0x203)])&&(this['resend'](),this[_0x3471c9(0x41a)]=_0x3f2e8c===0x0?0x3e8:_0x3f2e8c*0x2);}['_clearScheduledTask'](){var _0x3b490c=_0x2a1005,_0xc3b249;(_0xc3b249=this[_0x3b490c(0x1f4)])==null||_0xc3b249[_0x3b490c(0x1b7)](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x941461(_0x197f37)),w(0x7,_0x941461(_0x5ed83b)),w(0x8,_0x5761a5),w(0x9,_0x59ee6a),w(0xa,_0x32b219),w(0xb,_0x100842),w(0xc,_0x475d23(J))],oe);let ue=class extends ge{constructor(_0x57a389,_0x8a8c41,_0x4d193a,_0x137ec3,_0x49d270,_0x30e05e=!0x1,_0x2f0c3e,_0x744cc6,_0x505e31,_0x122ad4,_0x207239,_0x2ee714,_0x254de7){var _0x510285=_0x2a1005;super(_0x57a389,_0x8a8c41,_0x4d193a,_0x137ec3,_0x49d270,_0x744cc6,_0x505e31,_0x122ad4,_0x254de7),D(this,_0x510285(0x2fc),_0x510285(0x44c)),(this[_0x510285(0x2ef)]=_0x30e05e,this[_0x510285(0x2ab)]=_0x2f0c3e,this[_0x510285(0x2d6)]=_0x207239,this[_0x510285(0x331)]=_0x2ee714,this[_0x510285(0x390)]=_0x254de7,this['_showConflictNotification'](),this[_0x510285(0x380)](),this[_0x510285(0x43e)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x2a1005(0x3eb)](){return this;}[_0x2a1005(0x1f7)](){return this;}['onRemoteRetry'](){return this;}[_0x2a1005(0x1c9)](){return this;}[_0x2a1005(0x430)](){return this;}[_0x2a1005(0x166)](){var _0x325d12=_0x2a1005;throw new Error(_0x325d12(0x3b0));}[_0x2a1005(0x380)](){var _0x41f313=_0x2a1005,_0x3a0281;(_0x3a0281=this[_0x41f313(0x445)])==null||_0x3a0281['updateOfflineData'](this[_0x41f313(0x43c)],this[_0x41f313(0x1f1)],null,[]);}['_showConflictNotification'](){var _0xfc9ba9=_0x2a1005;this[_0xfc9ba9(0x2ef)]?this['_collaborationUIEventService']['emitEvent']({'id':re[_0xfc9ba9(0x313)]}):this[_0xfc9ba9(0x331)]['emitEvent']({'id':re[_0xfc9ba9(0x24a)]});}[_0x2a1005(0x43e)](){var _0x20722b=_0x2a1005;this[_0x20722b(0x2ab)][_0x20722b(0x424)](new _0x4686f(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0x941461(_0x2e3c89)),w(0x7,_0x5761a5),w(0x8,_0x100842),w(0x9,_0x941461(_0x5ed83b)),w(0xa,_0x941461(_0x139ca)),w(0xb,_0x941461(ve)),w(0xc,_0x475d23(J))],ue);let de=class extends ge{constructor(_0x54ba73,_0x53e118,_0x5d761e,_0x43ce20,_0x34ee80,_0x455340,_0x111145,_0x27c3c4,_0x3db169,_0x978bd2){var _0x5f5768=_0x2a1005;super(_0x54ba73,_0x53e118,_0x5d761e,_0x43ce20,_0x34ee80,_0x27c3c4,_0x3db169,_0x111145,_0x978bd2),D(this,_0x5f5768(0x2fc),_0x5f5768(0x1c5)),this[_0x5f5768(0x1d3)]=_0x455340;}[_0x2a1005(0x453)](_0xe1d7fd){var _0x3b8386=_0x2a1005;return this[_0x3b8386(0x391)][_0x3b8386(0x2c4)](_0xe1d7fd),this['_updateLocalCache'](),this;}[_0x2a1005(0x3b5)](_0x20b95a){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2a1005(0x3eb)](){var _0x37c9a9=_0x2a1005;throw new Error(_0x37c9a9(0x460));}[_0x2a1005(0x1f7)](){var _0x3e3b27=_0x2a1005;throw new Error(_0x3e3b27(0x245));}[_0x2a1005(0x28d)](){return this;}[_0x2a1005(0x1c9)](){return this;}[_0x2a1005(0x430)](){var _0x58b077=_0x2a1005;const {_injector:_0x1b2ddf,_pendingMutations:_0xff1627,_awaitingChangeset:_0x6bddaa,unitID:_0x437610,_handler:_0xb98266,type:_0x1eeff0}=this,_0xfd99e9=Ti(_0x1b2ddf,_0x437610,_0x1eeff0,_0x6bddaa,_0xff1627,_0xb98266);return _0xfd99e9 instanceof ae?_0xfd99e9[_0x58b077(0x24f)]():(_0xfd99e9 instanceof oe||_0xfd99e9 instanceof le)&&_0xfd99e9[_0x58b077(0x166)](),_0xfd99e9;}[_0x2a1005(0x166)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x941461(_0x197f37)),w(0x6,_0x941461(_0x5ed83b)),w(0x7,_0x5761a5),w(0x8,_0x100842),w(0x9,_0x475d23(J))],de);let ee=class extends ge{constructor(_0xa56a2,_0x9e3ea7,_0x39d4f5,_0x5e1787,_0x5c3d73,_0xa3e9b1,_0x4cd2f0,_0x46b002,_0x299c3a,_0x385ce6,_0x468698,_0x54197d,_0x159c8d,_0x14ca45){var _0x389d4f=_0x2a1005;super(_0xa56a2,_0x9e3ea7,_0x39d4f5,_0x5e1787,_0x4cd2f0,_0x468698,_0x54197d,_0x299c3a,_0x14ca45),D(this,_0x389d4f(0x2fc),'fetch_missing'),(this[_0x389d4f(0x46a)]=_0x5c3d73,this['_queuedRemoteChangesets']=_0xa3e9b1,this[_0x389d4f(0x1d3)]=_0x46b002,this[_0x389d4f(0x32a)]=_0x385ce6,this['_transformService']=_0x159c8d,this[_0x389d4f(0x390)]=_0x14ca45);}[_0x2a1005(0x2f8)](_0x3e03ea){var _0x3ff836=_0x2a1005;try{const _0x1f9191=[..._0x3e03ea,...this[_0x3ff836(0x287)]],_0x2b194a=[this['_awaitingChangeset']||this[_0x3ff836(0x46a)]]['filter'](_0x3903f4=>!!_0x3903f4);let _0x5e8d1c,_0x5d0e46;if(_0x2b194a[_0x3ff836(0x2c6)]){const _0x299b8c=this['_transformService']['transformChangesets'](_0x1f9191,_0x2b194a,!0x1);if(!_0xbfa6d7(_0x299b8c))throw _0x299b8c['error'];_0x5e8d1c=_0x299b8c[_0x3ff836(0x21f)],_0x5d0e46=_0x299b8c[_0x3ff836(0x280)];}else _0x5e8d1c=_0x1f9191,_0x5d0e46=[];let _0x45c724=this[_0x3ff836(0x391)];_0x5e8d1c[_0x3ff836(0x34a)](_0xdbc781=>{var _0x302dde=_0x3ff836;let _0x743633;if(_0x45c724['length']){const _0x4cb016=this[_0x302dde(0x20e)]['transformMutationsWithChangeset'](_0xdbc781,_0x45c724);if(!_0x5b4126(_0x4cb016))throw _0x4cb016[_0x302dde(0x38d)];_0x743633=_0x4cb016['c1Prime'],_0x45c724=_0x4cb016[_0x302dde(0x271)];}else _0x743633=_0xdbc781;this['_executeRemoteChangeset'](_0x743633);}),this[_0x3ff836(0x46a)]&&this[_0x3ff836(0x2b8)](),this['_awaitingChangeset']&&_0x5d0e46[_0x3ff836(0x2c6)]&&(_0x5d0e46[0x0]['baseRev']=this[_0x3ff836(0x284)]());let _0x437299;if(this['_awaitingChangeset']&&_0x45c724[_0x3ff836(0x2c6)]!==0x0)_0x437299=this[_0x3ff836(0x1d3)][_0x3ff836(0x171)](oe,this[_0x3ff836(0x43c)],this[_0x3ff836(0x1f1)],_0x5d0e46[0x0],_0x45c724,this[_0x3ff836(0x16f)],void 0x0);else{if(this[_0x3ff836(0x2a2)]&&_0x45c724['length']===0x0)_0x5d0e46[0x0]['baseRev']=this['_getCurrentRevision'](),_0x437299=this['_injector'][_0x3ff836(0x171)](le,this[_0x3ff836(0x43c)],this[_0x3ff836(0x1f1)],_0x5d0e46[0x0],this[_0x3ff836(0x16f)]);else{if(_0x45c724[_0x3ff836(0x2c6)]!==0x0){const _0x1f0635=this[_0x3ff836(0x1d3)][_0x3ff836(0x171)](ae,this[_0x3ff836(0x43c)],this[_0x3ff836(0x1f1)],_0x45c724,this['_handler']);_0x1f0635[_0x3ff836(0x24f)](),_0x437299=_0x1f0635;}else _0x437299=this['_injector'][_0x3ff836(0x171)](be,this[_0x3ff836(0x43c)],this['type'],this[_0x3ff836(0x16f)]);}}return _0x437299[_0x3ff836(0x167)](),_0x437299;}catch(_0x1e18c7){return this[_0x3ff836(0x32a)][_0x3ff836(0x38d)](_0x3ff836(0x1ef),_0x3ff836(0x28b),_0x1e18c7),this['_injector'][_0x3ff836(0x171)](ue,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x3ff836(0x391)],this[_0x3ff836(0x16f)],!0x1);}}['resend'](){var _0x587b3b=_0x2a1005;throw new Error(_0x587b3b(0x2be));}[_0x2a1005(0x453)](_0x426489){var _0x365e4e=_0x2a1005;return this[_0x365e4e(0x391)][_0x365e4e(0x2c4)](_0x426489),this;}[_0x2a1005(0x3b5)](_0x566e60){var _0x1be561=_0x2a1005;return this[_0x1be561(0x287)]['push'](_0x566e60),this;}[_0x2a1005(0x3eb)](_0x923d4e){var _0x3558b7=_0x2a1005;if(this[_0x3558b7(0x2a2)])return this[_0x3558b7(0x46a)]=this[_0x3558b7(0x2a2)],this[_0x3558b7(0x2a2)]=null,this;throw new Error(_0x3558b7(0x358));}[_0x2a1005(0x1f7)](_0x22d7ce){var _0x492bac=_0x2a1005;return this['_onConflict'](!!(_0x22d7ce!=null&&_0x22d7ce[_0x492bac(0x2da)]));}[_0x2a1005(0x28d)](){return this;}['toggleOffline'](){var _0x3d2178=_0x2a1005;return this[_0x3d2178(0x1d3)][_0x3d2178(0x171)](de,this[_0x3d2178(0x43c)],this[_0x3d2178(0x1f1)],this['_awaitingChangeset'],this[_0x3d2178(0x391)],this[_0x3d2178(0x16f)]);}['toggleOnline'](){return this;}['_onConflict'](_0x593231){var _0x5888d5=_0x2a1005;return this['_injector']['createInstance'](ue,this[_0x5888d5(0x43c)],this['type'],this[_0x5888d5(0x2a2)],this[_0x5888d5(0x391)],this[_0x5888d5(0x16f)],_0x593231);}};ee=Se([w(0x7,_0x941461(_0x197f37)),w(0x8,_0x941461(_0x5ed83b)),w(0x9,_0x59ee6a),w(0xa,_0x5761a5),w(0xb,_0x100842),w(0xc,_0x32b219),w(0xd,_0x475d23(J))],ee);function Ti(_0x4084d4,_0x2dfdf7,_0x41b05a,_0x22362b,_0x2637e5,_0x625cfe){var _0x33f925=_0x2a1005;return _0x22362b&&_0x2637e5['length']?_0x4084d4[_0x33f925(0x171)](oe,_0x2dfdf7,_0x41b05a,_0x22362b,_0x2637e5,_0x625cfe,void 0x0):_0x22362b?_0x4084d4[_0x33f925(0x171)](le,_0x2dfdf7,_0x41b05a,_0x22362b,_0x625cfe):_0x2637e5[_0x33f925(0x2c6)]?_0x4084d4['createInstance'](ae,_0x2dfdf7,_0x41b05a,_0x2637e5,_0x625cfe):_0x4084d4[_0x33f925(0x171)](be,_0x2dfdf7,_0x41b05a,_0x625cfe);}var Hs=Object[_0x2a1005(0x163)],At=(_0x31abcd,_0x3a684f,_0x404dbd,_0x28ff92)=>{for(var _0x24a046=_0x28ff92>0x1?void 0x0:_0x28ff92?Hs(_0x3a684f,_0x404dbd):_0x3a684f,_0x558e9c=_0x31abcd['length']-0x1,_0x2386a0;_0x558e9c>=0x0;_0x558e9c--)(_0x2386a0=_0x31abcd[_0x558e9c])&&(_0x24a046=_0x2386a0(_0x24a046)||_0x24a046);return _0x24a046;},k=(_0x1f1b96,_0x563067)=>(_0x49eecc,_0x56790e)=>_0x563067(_0x49eecc,_0x56790e,_0x1f1b96);let st=class extends _0x23e95c{constructor(_0x2fe0e8,_0x1ec743,_0x400cfe,_0x23fecf,_0x485e74,_0x3da2bf,_0x565e96,_0x22df01,_0x335eb3,_0x36fd36,_0x3eb2cf,_0xd21bb8,_0x11421b,_0x37dfa7){var _0x9df7a4=_0x2a1005;super(),D(this,_0x9df7a4(0x1e7),new _0x23d601(null)),D(this,_0x9df7a4(0x2f4),this['_state$'][_0x9df7a4(0x195)]()),D(this,_0x9df7a4(0x3a4)),D(this,_0x9df7a4(0x464),!0x1),D(this,'_changesetSessionId',''),D(this,_0x9df7a4(0x1d2),0x0),D(this,'status$',this[_0x9df7a4(0x2f4)][_0x9df7a4(0x368)](_0x329a31(_0x1a865f=>_0x1a865f?_0x1a865f['status']:Si['OFFLINE']),_0x4fe8b6(0x1))),D(this,'_transitionLocked',!0x1),D(this,'_remoteChangesetQueue',[]),(this[_0x9df7a4(0x43c)]=_0x2fe0e8,this['session']=_0x1ec743,this['_type']=_0x400cfe,this[_0x9df7a4(0x1d3)]=_0x23fecf,this[_0x9df7a4(0x3e7)]=_0x485e74,this['_localeService']=_0x3da2bf,this['_revisionService']=_0x565e96,this[_0x9df7a4(0x1a0)]=_0x22df01,this[_0x9df7a4(0x373)]=_0x335eb3,this[_0x9df7a4(0x32a)]=_0x36fd36,this[_0x9df7a4(0x1ec)]=_0x3eb2cf,this[_0x9df7a4(0x2ab)]=_0xd21bb8,this[_0x9df7a4(0x364)]=_0x11421b,this['_localCacheService']=_0x37dfa7);}get[_0x2a1005(0x362)](){return this['_state'];}async['init'](){var _0x3a3605=_0x2a1005;if(this[_0x3a3605(0x362)])throw new Error(_0x3a3605(0x414));await this[_0x3a3605(0x256)]();}[_0x2a1005(0x293)](){return this['_collaborationPaused']=!0x0,_0x56841c(()=>{var _0x1c013b=_0x44d6;this[_0x1c013b(0x464)]=!0x1,this[_0x1c013b(0x21d)]();});}[_0x2a1005(0x266)](_0x47ab59){var _0x522506=_0x2a1005;this[_0x522506(0x1d1)](_0x47ab59);}[_0x2a1005(0x455)](_0x3092e7){var _0x59ac03=_0x2a1005;this[_0x59ac03(0x3a4)]=_0x3092e7,this['_state$'][_0x59ac03(0x1cf)](_0x3092e7);}async[_0x2a1005(0x256)](){var _0x43f8b1=_0x2a1005,_0x57d16e;this[_0x43f8b1(0x455)](await this[_0x43f8b1(0x1c4)]()),this[_0x43f8b1(0x364)]&&((_0x57d16e=this[_0x43f8b1(0x364)])==null||_0x57d16e['editingUnit'](this['unitID']),this[_0x43f8b1(0x2e7)](this[_0x43f8b1(0x364)]['getUnitStatus$'](this['unitID'])[_0x43f8b1(0x1dc)](_0x8b336e=>{var _0x2204df=_0x43f8b1;this[_0x2204df(0x32a)][_0x2204df(0x261)](_0x2204df(0x29d),'editing\x20status\x20changed\x20to',_0x8b336e),_0x8b336e===mi[_0x2204df(0x1db)]?(this[_0x2204df(0x1a0)][_0x2204df(0x212)]({'id':re['OTHER_CLIENT_EDITING']}),this[_0x2204df(0x2ab)][_0x2204df(0x424)](new _0x4686f(this[_0x2204df(0x43c)])['id'],!0x1),this[_0x2204df(0x2ab)][_0x2204df(0x1c0)](!0x1)):(this['_permissionService'][_0x2204df(0x424)](new _0x4686f(this['unitID'])['id'],!0x0),this[_0x2204df(0x2ab)][_0x2204df(0x1c0)](!0x0));})));let _0x2d5ae1=!0x1;return this[_0x43f8b1(0x2e7)](this[_0x43f8b1(0x1be)][_0x43f8b1(0x24b)][_0x43f8b1(0x1dc)](_0x5d2127=>{var _0x32261b=_0x43f8b1;_0x5d2127===me[_0x32261b(0x18d)]?this[_0x32261b(0x2d7)](_0x2d5ae1):_0x5d2127===me[_0x32261b(0x40d)]&&(_0x2d5ae1=!0x0,this[_0x32261b(0x185)]());})),this[_0x43f8b1(0x2e7)](this['session']['event$'][_0x43f8b1(0x1dc)](_0x232e68=>{var _0xb830c=_0x43f8b1;try{switch(_0x232e68[_0xb830c(0x2ff)]){case _0x562005['NEW_CHANGESETS']:{this[_0xb830c(0x31d)](_0x2cb9eb(_0x232e68[_0xb830c(0x2f0)]));break;}case _0x562005[_0xb830c(0x342)]:{this[_0xb830c(0x238)](_0x232e68['data']);break;}case _0x562005[_0xb830c(0x27b)]:{this[_0xb830c(0x1fd)]();break;}case _0x562005[_0xb830c(0x269)]:{this[_0xb830c(0x221)](_0x232e68[_0xb830c(0x2f0)]);break;}case _0x562005[_0xb830c(0x2bf)]:{this[_0xb830c(0x3da)](_0x232e68['data'][_0xb830c(0x35f)][_0xb830c(0x363)](_0x4b026c=>_0x2cb9eb(_0x4b026c)));break;}case _0x562005[_0xb830c(0x3bb)]:{this[_0xb830c(0x1fd)]({'isPermissionRej':!0x0});break;}case _0x562005['UNISCRIPT_RUN']:break;}}catch(_0xf05ace){throw console[_0xb830c(0x38d)](_0xb830c(0x286),_0xf05ace),_0xf05ace;}})),this[_0x43f8b1(0x3a4)];}[_0x2a1005(0x35d)](){this['_transitionLocked']=!0x1;}[_0x2a1005(0x1ce)](){var _0x3fe88c=_0x2a1005;if(this['_transitionLocked'])throw new Error(_0x3fe88c(0x2ec));this[_0x3fe88c(0x1ab)]=!0x0;}[_0x2a1005(0x1d1)](_0x2f2072){var _0x3cbc7a=_0x2a1005;this[_0x3cbc7a(0x1ce)](),this['_updateState'](this[_0x3cbc7a(0x3a4)][_0x3cbc7a(0x453)](_0x2f2072)),this[_0x3cbc7a(0x35d)]();}['_onRemoteChangeset'](_0x7973e3){var _0x5a4449=_0x2a1005;if(!(_0x7973e3['revision']<=this[_0x5a4449(0x421)][_0x5a4449(0x187)](this[_0x5a4449(0x43c)]))){if(this[_0x5a4449(0x464)]){this['_remoteChangesetQueue'][_0x5a4449(0x2c4)](_0x7973e3);return;}this[_0x5a4449(0x199)](_0x7973e3);}}[_0x2a1005(0x21d)](){var _0x4888fc=_0x2a1005;this[_0x4888fc(0x2e4)][_0x4888fc(0x34a)](_0x97fa10=>this[_0x4888fc(0x199)](_0x97fa10)),this[_0x4888fc(0x2e4)]=[];}[_0x2a1005(0x199)](_0x2ca859){var _0x17345c=_0x2a1005;const _0x5f1dfe=this[_0x17345c(0x3e7)][_0x17345c(0x175)][_0x17345c(0x3c3)](this[_0x17345c(0x3e7)][_0x17345c(0x175)][_0x17345c(0x406)]()[_0x17345c(0x192)])(_0x2ca859['mutations'],null)||_0x2ca859['mutations'],_0x1695f9={..._0x2ca859,'mutations':_0x5f1dfe};this['_lockTransition'](),this[_0x17345c(0x455)](this[_0x17345c(0x3a4)][_0x17345c(0x3b5)](_0x1695f9)),this[_0x17345c(0x35d)]();}[_0x2a1005(0x238)](_0x58027f){var _0x41e859=_0x2a1005;this[_0x41e859(0x1ce)](),this[_0x41e859(0x455)](this['_state'][_0x41e859(0x3eb)](_0x58027f)),this[_0x41e859(0x35d)]();}[_0x2a1005(0x1fd)](_0x8667ce){var _0xdf1cdf=_0x2a1005;this['_lockTransition'](),this['_updateState'](this[_0xdf1cdf(0x3a4)][_0xdf1cdf(0x1f7)](_0x8667ce)),this[_0xdf1cdf(0x35d)]();}['_onRemoteRetry'](_0x3b4d4b){var _0x38e8fe=_0x2a1005;this[_0x38e8fe(0x1ce)](),this[_0x38e8fe(0x455)](this[_0x38e8fe(0x3a4)]['onRemoteRetry'](_0x3b4d4b)),this[_0x38e8fe(0x35d)]();}[_0x2a1005(0x3da)](_0x86b083){var _0x1f7557=_0x2a1005;if(!(this[_0x1f7557(0x3a4)]instanceof ee))throw new TypeError(_0x1f7557(0x428));const _0x5b0169=_0x86b083[_0x1f7557(0x363)](_0x54c310=>{var _0x84d7a2=_0x1f7557;const _0x341329=this[_0x84d7a2(0x3e7)][_0x84d7a2(0x175)]['fetchThroughInterceptors'](this[_0x84d7a2(0x3e7)][_0x84d7a2(0x175)][_0x84d7a2(0x406)]()[_0x84d7a2(0x192)])(_0x54c310['mutations'],null)||_0x54c310[_0x84d7a2(0x474)];return{..._0x54c310,'mutations':_0x341329};});this[_0x1f7557(0x1ce)](),this['_updateState'](this[_0x1f7557(0x3a4)][_0x1f7557(0x2f8)](_0x5b0169)),this[_0x1f7557(0x35d)]();}[_0x2a1005(0x185)](){var _0x5194e6=_0x2a1005;this[_0x5194e6(0x1ce)](),this[_0x5194e6(0x455)](this[_0x5194e6(0x3a4)][_0x5194e6(0x1c9)]()),this[_0x5194e6(0x35d)]();}[_0x2a1005(0x2d7)](_0x2c764d=!0x1){var _0x1aa948=_0x2a1005;this[_0x1aa948(0x1ce)](),this[_0x1aa948(0x455)](this[_0x1aa948(0x3a4)][_0x1aa948(0x430)]()),this[_0x1aa948(0x35d)]();const _0x2f4e5d=this['_state'];_0x2c764d&&_0x2f4e5d instanceof be&&(this[_0x1aa948(0x1ce)](),this[_0x1aa948(0x455)](_0x2f4e5d[_0x1aa948(0x16e)]()),this[_0x1aa948(0x35d)]());}async[_0x2a1005(0x1c4)](){return new Promise(_0x32d425=>{var _0x30bb76=_0x44d6;this[_0x30bb76(0x1be)][_0x30bb76(0x24b)][_0x30bb76(0x368)](_0x824240(0x1))['subscribe'](async _0x2a99b1=>{var _0x996bac=_0x30bb76;_0x32d425(await this[_0x996bac(0x2c0)](_0x2a99b1===me['ONLINE']));});});}[_0x2a1005(0x469)](){const _0x48ed85=this['unitID'];return{'onStateChange':(_0x1777a8,_0x17e891)=>{var _0x22eabb=_0x44d6;if(_0x1777a8!==this[_0x22eabb(0x3a4)])throw new Error(_0x22eabb(0x1bc)+_0x1777a8['status']+_0x22eabb(0x35e)+_0x17e891[_0x22eabb(0x2fc)]+_0x22eabb(0x39f)+this[_0x22eabb(0x3a4)]['status']);this[_0x22eabb(0x455)](_0x17e891);},'onSendChangeset':_0x14469e=>{var _0x300ead=_0x44d6;_0x14469e[_0x300ead(0x36b)]||(_0x14469e['sid']=this['_changesetSessionId'],_0x14469e[_0x300ead(0x203)]=++this[_0x300ead(0x1d2)]);const _0x410efb={'eventID':_0x562005[_0x300ead(0x2ac)],'data':{'unitID':_0x14469e[_0x300ead(0x43c)],'unitType':this['_type'],'changeset':_0x14469e,'memberID':this[_0x300ead(0x1be)][_0x300ead(0x1a9)]()}};this['session'][_0x300ead(0x2e2)](_0x410efb,this['unitID']);},'onMissingChangesets':({from:_0x256c84,to:_0x2f7d35})=>{var _0x1c0bf5=_0x44d6;this[_0x1c0bf5(0x32a)][_0x1c0bf5(0x261)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x256c84+_0x1c0bf5(0x292)+_0x2f7d35);const _0x289453={'eventID':_0x562005[_0x1c0bf5(0x25b)],'data':{'unitID':_0x48ed85,'unitType':this[_0x1c0bf5(0x431)],'from':_0x256c84,'to':_0x2f7d35}};this['session'][_0x1c0bf5(0x2e2)](_0x289453,this['unitID']);}};}async[_0x2a1005(0x2c0)](_0x49507f){var _0x157c51=_0x2a1005,_0x43a04a,_0x8e88c6,_0x59d129;const _0x589f3e=await((_0x43a04a=this[_0x157c51(0x445)])==null?void 0x0:_0x43a04a[_0x157c51(0x42b)](this['unitID'])),_0x1cb99a=(_0x8e88c6=_0x589f3e==null?void 0x0:_0x589f3e[_0x157c51(0x474)])!=null?_0x8e88c6:[],_0x289ecd=(_0x59d129=_0x589f3e==null?void 0x0:_0x589f3e['awaitingChangeset'])!=null?_0x59d129:null,_0x5225b6=!!(_0x289ecd!=null&&_0x289ecd[_0x157c51(0x36b)])&&!!(_0x289ecd!=null&&_0x289ecd['reqId']);this[_0x157c51(0x37d)]=_0x5225b6?_0x289ecd['sid']:_0x3cedbe(),this[_0x157c51(0x1d2)]=_0x5225b6?_0x289ecd[_0x157c51(0x203)]:0x0;const _0x4a1a75=this[_0x157c51(0x43c)];try{this[_0x157c51(0x276)](_0x289ecd,_0x1cb99a);}catch(_0x57cb08){this[_0x157c51(0x32a)][_0x157c51(0x38d)](_0x57cb08);}const _0x24ea72=this[_0x157c51(0x469)]();if(_0x49507f){const _0x41b352=Ti(this['_injector'],_0x4a1a75,this[_0x157c51(0x431)],_0x289ecd,_0x1cb99a,_0x24ea72);return _0x41b352 instanceof ae?_0x41b352[_0x157c51(0x24f)]():(_0x41b352 instanceof oe||_0x41b352 instanceof le)&&_0x41b352[_0x157c51(0x166)](),_0x41b352;}return this['_injector']['createInstance'](de,_0x4a1a75,this['_type'],_0x289ecd,_0x1cb99a,_0x24ea72);}['_replayCachedMutations'](_0x4e2879,_0x11bc22){var _0x3727c4=_0x2a1005,_0x3dfd4c,_0x10472e;const _0x4da1f7=this[_0x3727c4(0x3e7)]['interceptor'][_0x3727c4(0x3c3)](this['_compressMutationService'][_0x3727c4(0x175)][_0x3727c4(0x406)]()['COMPRESS_MUTATION_APPLY']);(_0x3dfd4c=_0x4da1f7((_0x4e2879==null?void 0x0:_0x4e2879[_0x3727c4(0x474)])||[],null))==null||_0x3dfd4c['forEach'](_0x309dea=>this[_0x3727c4(0x1ec)][_0x3727c4(0x384)](_0x309dea['id'],_0x309dea[_0x3727c4(0x2bb)])),(_0x10472e=_0x4da1f7(_0x11bc22||[],null))==null||_0x10472e[_0x3727c4(0x34a)](_0x4eb113=>this['_commandService'][_0x3727c4(0x384)](_0x4eb113['id'],_0x4eb113[_0x3727c4(0x2bb)]));}};st=At([k(0x3,_0x941461(_0x197f37)),k(0x4,_0x941461(_0x4f5830)),k(0x5,_0x941461(_0x139ca)),k(0x6,_0x941461(_0x5ed83b)),k(0x7,_0x941461(ve)),k(0x8,_0x226b33),k(0x9,_0x59ee6a),k(0xa,_0x5761a5),k(0xb,_0x2e3c89),k(0xc,_0x475d23(_t)),k(0xd,_0x475d23(J))],st);let It=class extends st{constructor(_0x1f9293,_0x30b368,_0x574196,_0x2fcf01,_0x41e7bc,_0x18d62a,_0x5878bf,_0x5a865b,_0x445a05,_0x4b6197,_0x1619ea,_0x232062,_0x25fbcb,_0x11a562){var _0xffb168=_0x2a1005;super(_0x1f9293,_0x574196,_0x30b368,_0x2fcf01,_0x41e7bc,_0x18d62a,_0x5878bf,_0x5a865b,_0x445a05,_0x4b6197,_0x1619ea,_0x232062,_0x25fbcb,_0x11a562),D(this,_0xffb168(0x359),null),(this[_0xffb168(0x43c)]=_0x1f9293,this[_0xffb168(0x1f1)]=_0x30b368);}[_0x2a1005(0x2a7)](_0x26c23d){var _0x133e9f=_0x2a1005;this[_0x133e9f(0x359)]=_0x26c23d;}[_0x2a1005(0x40a)](){var _0x1b0588=_0x2a1005;this[_0x1b0588(0x359)]=null,super[_0x1b0588(0x40a)]();}[_0x2a1005(0x469)](){var _0xd19a98=_0x2a1005;const _0x4575f2=super[_0xd19a98(0x469)]();return _0x4575f2[_0xd19a98(0x1aa)]=_0x27ba10=>{var _0x1ab289=_0xd19a98,_0x3a7020,_0x5a18d9;return(_0x5a18d9=(_0x3a7020=this[_0x1ab289(0x359)])==null?void 0x0:_0x3a7020[_0x1ab289(0x1aa)])==null?void 0x0:_0x5a18d9[_0x1ab289(0x341)](_0x3a7020,_0x27ba10);},_0x4575f2['onTransformState']=_0x1b6c27=>{var _0x529f85=_0xd19a98,_0x2688d2,_0x4f7e09;return(_0x4f7e09=(_0x2688d2=this[_0x529f85(0x359)])==null?void 0x0:_0x2688d2[_0x529f85(0x16a)])==null?void 0x0:_0x4f7e09['call'](_0x2688d2,_0x1b6c27);},_0x4575f2[_0xd19a98(0x263)]=_0x8ee208=>{var _0x339bd6=_0xd19a98,_0x5d0432,_0x4e6760;return(_0x4e6760=(_0x5d0432=this[_0x339bd6(0x359)])==null?void 0x0:_0x5d0432['onTransformSelections'])==null?void 0x0:_0x4e6760['call'](_0x5d0432,_0x8ee208);},_0x4575f2['onSyncEditingCollabCursor']=_0xd55ce3=>{var _0xbedcae=_0xd19a98,_0x1ca0f8,_0x544cd9;return(_0x544cd9=(_0x1ca0f8=this[_0xbedcae(0x359)])==null?void 0x0:_0x1ca0f8[_0xbedcae(0x3fd)])==null?void 0x0:_0x544cd9['call'](_0x1ca0f8,_0xd55ce3);},_0x4575f2[_0xd19a98(0x34e)]=_0x2a8fff=>{var _0x12d954=_0xd19a98,_0x17c79b,_0x268eb1,_0x10397c;if(!((_0x17c79b=this[_0x12d954(0x359)])!=null&&_0x17c79b['onTransformRemoteChangesetByIMECache']))throw new Error(_0x12d954(0x370));return(_0x10397c=(_0x268eb1=this[_0x12d954(0x359)])==null?void 0x0:_0x268eb1[_0x12d954(0x34e)])==null?void 0x0:_0x10397c[_0x12d954(0x341)](_0x268eb1,_0x2a8fff);},_0x4575f2['onTransformRemoteChangesetByStateCache']=_0x40e0a6=>{var _0x191bd5=_0xd19a98,_0x344e15,_0x47cc8c,_0x40429c;if(!((_0x344e15=this[_0x191bd5(0x359)])!=null&&_0x344e15[_0x191bd5(0x1bf)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x40429c=(_0x47cc8c=this[_0x191bd5(0x359)])==null?void 0x0:_0x47cc8c[_0x191bd5(0x1bf)])==null?void 0x0:_0x40429c[_0x191bd5(0x341)](_0x47cc8c,_0x40e0a6);},_0x4575f2;}async[_0x2a1005(0x256)](){var _0x1d63f9=_0x2a1005;const _0x4e2a19=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x1d63f9(0x22f)]((_0x1aa592,_0x36f360)=>{var _0x1559a5=_0x1d63f9;if(_0x1aa592[_0x1559a5(0x1f1)]!==_0x275b65[_0x1559a5(0x184)]||_0x36f360!=null&&_0x36f360[_0x1559a5(0x3cd)]||_0x36f360!=null&&_0x36f360[_0x1559a5(0x33e)]||_0x1aa592['id']===_0x4255d0['id'])return;const _0x376b2f=_0x1aa592['params'];if((_0x376b2f==null?void 0x0:_0x376b2f[_0x1559a5(0x1ee)])!==this[_0x1559a5(0x43c)])return;const _0x44b7b4=_0x1aa592,_0x575605=this[_0x1559a5(0x3e7)][_0x1559a5(0x175)]['fetchThroughInterceptors'](this[_0x1559a5(0x3e7)][_0x1559a5(0x175)][_0x1559a5(0x406)]()[_0x1559a5(0x2ba)])([_0x44b7b4],this[_0x1559a5(0x373)])||[_0x44b7b4];this[_0x1559a5(0x1d1)](_0x575605[0x0]);})),_0x4e2a19;}};It=At([k(0x3,_0x941461(_0x197f37)),k(0x4,_0x941461(_0x4f5830)),k(0x5,_0x941461(_0x139ca)),k(0x6,_0x941461(_0x5ed83b)),k(0x7,_0x941461(ve)),k(0x8,_0x226b33),k(0x9,_0x59ee6a),k(0xa,_0x5761a5),k(0xb,_0x2e3c89),k(0xc,_0x475d23(_t)),k(0xd,_0x475d23(J))],It);let St=class extends st{constructor(_0x275ded,_0x3217d6,_0x54830e,_0x12771d,_0x51c38e,_0x5bf9f8,_0xde4879,_0xa8e893,_0x50cf8e,_0x2b44a7,_0x3cecd7,_0x3983b6,_0x260980,_0x3669f6,_0x17b368){var _0x81e792=_0x2a1005;super(_0x275ded,_0x54830e,_0x3217d6,_0x12771d,_0x51c38e,_0x5bf9f8,_0xde4879,_0x50cf8e,_0x2b44a7,_0x3cecd7,_0x3983b6,_0x260980,_0x3669f6,_0x17b368),this[_0x81e792(0x43c)]=_0x275ded,this['type']=_0x3217d6,this['_sheetTransformSelectionsService']=_0xa8e893;}[_0x2a1005(0x469)](){var _0x5a5cc0=_0x2a1005;const _0x28f81c=super[_0x5a5cc0(0x469)]();return _0x28f81c[_0x5a5cc0(0x263)]=_0xa08879=>this[_0x5a5cc0(0x1b4)]['transformSelections'](_0xa08879),_0x28f81c;}async[_0x2a1005(0x256)](){var _0x52b561=_0x2a1005;const _0xe490ab=await super[_0x52b561(0x256)]();return this[_0x52b561(0x2e7)](this[_0x52b561(0x1ec)][_0x52b561(0x22f)]((_0x128b0f,_0x471f31)=>{var _0x5f26b1=_0x52b561;if(_0x128b0f[_0x5f26b1(0x1f1)]!==_0x275b65[_0x5f26b1(0x184)]||_0x471f31!=null&&_0x471f31[_0x5f26b1(0x3cd)]||_0x471f31!=null&&_0x471f31[_0x5f26b1(0x33e)])return;const _0x55ee57=_0x128b0f[_0x5f26b1(0x2bb)];if((_0x55ee57==null?void 0x0:_0x55ee57[_0x5f26b1(0x1ee)])!==this[_0x5f26b1(0x43c)])return;const _0x4d4d04=_0x128b0f,_0xdf86f2=this[_0x5f26b1(0x3e7)][_0x5f26b1(0x175)][_0x5f26b1(0x3c3)](this[_0x5f26b1(0x3e7)][_0x5f26b1(0x175)][_0x5f26b1(0x406)]()[_0x5f26b1(0x2ba)])([_0x4d4d04],this[_0x5f26b1(0x373)])||[_0x4d4d04];this[_0x5f26b1(0x1d1)](_0xdf86f2[0x0]);})),_0xe490ab;}};St=At([k(0x3,_0x941461(_0x197f37)),k(0x4,_0x941461(_0x4f5830)),k(0x5,_0x941461(_0x139ca)),k(0x6,_0x941461(_0x5ed83b)),k(0x7,_0x941461(it)),k(0x8,_0x941461(ve)),k(0x9,_0x226b33),k(0xa,_0x59ee6a),k(0xb,_0x5761a5),k(0xc,_0x2e3c89),k(0xd,_0x475d23(_t)),k(0xe,_0x475d23(J))],St);const Bs=_0x59652a('univer-pro.collaboration-client.network-condition.service');function Fs(_0x255a8d){var _0x238ae4=_0x2a1005,_0x47bec0,_0x414f51,_0x464dce,_0x3f7973,_0x5edbdd;const _0x2e95d9=_0x255a8d[_0x238ae4(0x2f0)],_0x5aee85=JSON[_0x238ae4(0x3d4)](_0x2e95d9);switch(_0x5aee85[_0x238ae4(0x2fa)]){case j['HEARTBEAT']:case j[_0x238ae4(0x39d)]:{const _0x5a0f5d=_0x5aee85[_0x238ae4(0x473)];return{..._0x5aee85,'data':_0x5a0f5d,'cmd':_0x5aee85[_0x238ae4(0x2fa)]};}case j['JOIN']:{const _0x33221e=_0x5aee85[_0x238ae4(0x2b4)];return{..._0x5aee85,'data':_0x33221e,'cmd':_0x5aee85['cmd']};}case j[_0x238ae4(0x243)]:{const _0x35ef7b=_0x5aee85[_0x238ae4(0x17d)];switch(_0x35ef7b[_0x238ae4(0x2ff)]){case _0x562005[_0x238ae4(0x3bb)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':(_0x47bec0=_0x35ef7b[_0x238ae4(0x22b)])==null?void 0x0:_0x47bec0['cs']},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005[_0x238ae4(0x342)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':(_0x414f51=_0x35ef7b[_0x238ae4(0x3f6)])==null?void 0x0:_0x414f51['cs']},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005[_0x238ae4(0x18f)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':(_0x464dce=_0x35ef7b[_0x238ae4(0x386)])==null?void 0x0:_0x464dce['cs']},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005['CHANGESET_REJ']:return{..._0x5aee85,'data':{..._0x35ef7b,'data':(_0x3f7973=_0x35ef7b[_0x238ae4(0x2dd)])==null?void 0x0:_0x3f7973['cs']},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005['CHANGESET_SHOULD_RETRY']:return{..._0x5aee85,'data':{..._0x35ef7b,'data':(_0x5edbdd=_0x35ef7b['csShouldRetryEvent'])==null?void 0x0:_0x5edbdd['cs']},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005['UPDATE_CURSOR']:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b['updateCursorEvent']},'cmd':_0x5aee85['cmd']};case _0x562005[_0x238ae4(0x1eb)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x181)]},'cmd':_0x5aee85['cmd']};case _0x562005[_0x238ae4(0x219)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x19f)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005[_0x238ae4(0x213)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x360)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005['LIVESHARE_FETCH_OPERATIONS']:case _0x562005[_0x238ae4(0x3e3)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x3af)]},'cmd':_0x5aee85['cmd']};case _0x562005[_0x238ae4(0x1de)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x360)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005[_0x238ae4(0x442)]:return{..._0x5aee85,'data':_0x35ef7b,'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005['COMMENT_UPDATE']:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x3e1)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005[_0x238ae4(0x178)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x2b5)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005[_0x238ae4(0x2de)]:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x295)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};case _0x562005['UNISCRIPT_RUN']:return{..._0x5aee85,'data':{..._0x35ef7b,'data':_0x35ef7b[_0x238ae4(0x19e)]},'cmd':_0x5aee85[_0x238ae4(0x2fa)]};default:return _0x5aee85;}}default:return _0x5aee85;}}function js(_0x2b3923){var _0x40e506=_0x2a1005;switch(_0x2b3923['cmd']){case j['HEARTBEAT']:case j[_0x40e506(0x39d)]:return JSON[_0x40e506(0x17a)]({'cmd':_0x2b3923['cmd'],'routeKey':_0x2b3923[_0x40e506(0x3ed)]});case j[_0x40e506(0x36a)]:{let _0x48fc4c;switch(_0x2b3923['data']['eventID']){case _0x562005[_0x40e506(0x470)]:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x470)],'updateCursorEvent':_0x2b3923['data'][_0x40e506(0x2f0)]};break;}case _0x562005[_0x40e506(0x219)]:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x219)],'leaveEvent':_0x2b3923[_0x40e506(0x2f0)][_0x40e506(0x2f0)]};break;}case _0x562005[_0x40e506(0x1eb)]:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x1eb)],'joinEvent':_0x2b3923[_0x40e506(0x2f0)][_0x40e506(0x2f0)]};break;}case _0x562005[_0x40e506(0x213)]:{_0x48fc4c={'eventID':_0x562005['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2b3923['data'][_0x40e506(0x2f0)]};break;}case _0x562005[_0x40e506(0x3e3)]:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x3e3)],'liveShareOperation':_0x2b3923['data'][_0x40e506(0x2f0)]};break;}case _0x562005[_0x40e506(0x1de)]:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x1de)],'liveShareTerminate':_0x2b3923[_0x40e506(0x2f0)][_0x40e506(0x2f0)]};break;}case _0x562005[_0x40e506(0x374)]:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x374)],'liveShareRequestHost':_0x2b3923['data'][_0x40e506(0x2f0)]};break;}case _0x562005['LIVESHARE_FETCH_OPERATIONS']:{_0x48fc4c={'eventID':_0x562005[_0x40e506(0x1cb)]};break;}default:_0x48fc4c={'eventID':_0x2b3923[_0x40e506(0x2f0)][_0x40e506(0x2ff)]};}return JSON[_0x40e506(0x17a)]({'cmd':_0x2b3923[_0x40e506(0x2fa)],'routeKey':_0x2b3923[_0x40e506(0x3ed)],'collaMsg':_0x48fc4c});}case j[_0x40e506(0x357)]:return JSON[_0x40e506(0x17a)]({'cmd':_0x2b3923[_0x40e506(0x2fa)],'routeKey':_0x2b3923[_0x40e506(0x3ed)],'joinReq':_0x2b3923[_0x40e506(0x2f0)]});case j[_0x40e506(0x194)]:return JSON[_0x40e506(0x17a)]({'cmd':_0x2b3923[_0x40e506(0x2fa)],'routeKey':_0x2b3923[_0x40e506(0x3ed)],'leaveReq':_0x2b3923[_0x40e506(0x2f0)]});default:throw new Error(_0x40e506(0x3c7));}}var Vs=Object[_0x2a1005(0x163)],Gs=(_0x588103,_0x10dd07,_0x4ecdcf,_0x340830)=>{var _0x1045ba=_0x2a1005;for(var _0x4949a8=_0x340830>0x1?void 0x0:_0x340830?Vs(_0x10dd07,_0x4ecdcf):_0x10dd07,_0x5b86c9=_0x588103[_0x1045ba(0x2c6)]-0x1,_0x1774d2;_0x5b86c9>=0x0;_0x5b86c9--)(_0x1774d2=_0x588103[_0x5b86c9])&&(_0x4949a8=_0x1774d2(_0x4949a8)||_0x4949a8);return _0x4949a8;},ye=(_0x53825d,_0x18a288)=>(_0x43ce43,_0x850665)=>_0x18a288(_0x43ce43,_0x850665,_0x53825d);const Oi=_0x59652a(_0x2a1005(0x476));function Ws(_0x425ca0,_0x9c08f7,_0x31c3fa){var _0x329f32=_0x2a1005;return _0x425ca0+'/'+_0x9c08f7+_0x329f32(0x216)+_0x31c3fa+_0x329f32(0x2d2);}let Gt=class extends _0x4f60b7{constructor(_0x458a5c,_0x17a75d,_0x279d80,_0x2ea1d7,_0x4eb37a){var _0x35e850=_0x2a1005;super(),this[_0x35e850(0x1d3)]=_0x458a5c,this[_0x35e850(0x326)]=_0x17a75d,this[_0x35e850(0x206)]=_0x279d80,this[_0x35e850(0x32a)]=_0x2ea1d7,this[_0x35e850(0x1af)]=_0x4eb37a;}['_doCreateSocket'](_0x2b8fed){var _0x12fb6d=_0x2a1005;const _0x488fe4=this[_0x12fb6d(0x1d3)]['get'](_0x31c9d3);if(!_0x488fe4)throw new Error(_0x12fb6d(0x252));const _0x571b26=_0x488fe4[_0x12fb6d(0x27e)](_0x2b8fed);if(!_0x571b26)throw new Error(_0x12fb6d(0x3cf));const _0x44837f=new _0x1139e1(),_0x196799=new _0x3cfa67();_0x44837f[_0x12fb6d(0x215)](_0x571b26['close$'][_0x12fb6d(0x1dc)](_0x2e0240=>_0x196799[_0x12fb6d(0x1cf)](_0x2e0240))),_0x44837f[_0x12fb6d(0x215)](_0x56841c(()=>_0x196799[_0x12fb6d(0x3d6)]()));const _0x1d19ac=new _0x3cfa67();_0x44837f[_0x12fb6d(0x215)](_0x571b26[_0x12fb6d(0x19a)]['subscribe'](_0x5570c0=>_0x1d19ac[_0x12fb6d(0x1cf)](_0x5570c0))),_0x44837f['add'](_0x56841c(()=>_0x1d19ac[_0x12fb6d(0x3d6)]()));const _0x40409e=new _0x3cfa67();_0x44837f['add'](_0x571b26['message$'][_0x12fb6d(0x1dc)](_0x90b0e5=>{var _0x142d40=_0x12fb6d;const _0x4b49f5=Fs(_0x90b0e5);_0x40409e[_0x142d40(0x1cf)](_0x4b49f5);})),_0x44837f[_0x12fb6d(0x215)](_0x56841c(()=>_0x40409e[_0x12fb6d(0x3d6)]()));let _0x243d80;const _0x147800=()=>{var _0x3dc95a=_0x12fb6d;_0x1d19ac[_0x3dc95a(0x1cf)](new Event('connection\x20error')),_0x196799[_0x3dc95a(0x1cf)](new Event(_0x3dc95a(0x2c1))),_0x243d80[_0x3dc95a(0x466)]();};return _0x243d80={'memberID':'','close$':_0x196799[_0x12fb6d(0x195)](),'error$':_0x1d19ac['asObservable'](),'open$':_0x571b26[_0x12fb6d(0x3ab)],'message$':_0x40409e['asObservable'](),'send':_0x40e223=>{var _0x2a2a19=_0x12fb6d;if(_0x40e223[_0x2a2a19(0x2fa)]===j[_0x2a2a19(0x36a)]){if(_0x40e223[_0x2a2a19(0x2f0)]['eventID']===_0x562005['SUBMIT_CHANGESET']){this[_0x2a2a19(0x19d)](_0x243d80,_0x40e223[_0x2a2a19(0x2f0)])[_0x2a2a19(0x39a)](_0x29ea1b=>{var _0x517ef0=_0x2a2a19;this['_logService'][_0x517ef0(0x38d)](_0x29ea1b),_0x147800();});return;}if(_0x40e223[_0x2a2a19(0x2f0)][_0x2a2a19(0x2ff)]===_0x562005['FETCH_MISSING']){const _0x5acf48=_0x40e223[_0x2a2a19(0x2f0)];this[_0x2a2a19(0x296)](_0x5acf48)[_0x2a2a19(0x1a6)](_0x2ae5cc=>{var _0x18201e=_0x2a2a19;_0x40409e[_0x18201e(0x1cf)]({'cmd':j[_0x18201e(0x243)],'code':pe['OK'],'routeKey':_0x5acf48[_0x18201e(0x2f0)]['unitID'],'routeType':'','data':{'eventID':_0x562005[_0x18201e(0x2bf)],'data':{'changesets':_0x2ae5cc}}});})['catch'](_0x4f4a05=>{var _0x5b9a36=_0x2a2a19;this[_0x5b9a36(0x32a)]['error'](_0x4f4a05),_0x147800();});return;}}_0x571b26[_0x2a2a19(0x2e2)](js(_0x40e223));},'close':()=>{var _0x263efa=_0x12fb6d;_0x571b26['close'](),_0x44837f[_0x263efa(0x40a)]();}},_0x243d80;}async[_0x2a1005(0x19d)](_0x415f34,_0x19607a){var _0x95b3a7=_0x2a1005,_0x2d4808;const {unitType:_0x2b437f,unitID:_0xa72fbd,changeset:_0x54e529}=_0x19607a['data'],_0x4545dd={'unitID':_0xa72fbd,'memberID':_0x415f34[_0x95b3a7(0x2f6)],'type':_0x2b437f,'changeset':_0x437722(_0x54e529)},_0x4d186b=this['_configService'][_0x95b3a7(0x250)](K),_0x32f783=Ws((_0x2d4808=_0x4d186b==null?void 0x0:_0x4d186b['collabSubmitChangesetUrl'])!=null?_0x2d4808:Os,_0x2b437f,_0xa72fbd);try{await this[_0x95b3a7(0x326)]['post'](_0x32f783,{'body':_0x4545dd});}catch(_0x1286fc){throw this['_logService']['error'](_0x95b3a7(0x220),'submit\x20changeset\x20error!'),_0x1286fc;}}async[_0x2a1005(0x296)](_0xd6b8cd){var _0x66ae9d=_0x2a1005;const {unitID:_0x52c24f,from:_0xa8cc76,to:_0x5ee270,unitType:_0x4d71fb}=_0xd6b8cd[_0x66ae9d(0x2f0)];return(await this[_0x66ae9d(0x1af)][_0x66ae9d(0x3d2)]({'metadata':void 0x0},{'unitID':_0x52c24f,'type':_0x4d71fb,'from':_0xa8cc76,'to':_0x5ee270}))[_0x66ae9d(0x35f)][_0x66ae9d(0x363)](_0x4265f1=>((_0x4265f1['mutations']===null||_0x4265f1['mutations']===void 0x0)&&(_0x4265f1['mutations']=[]),_0x4265f1));}};Gt=Gs([ye(0x0,_0x941461(_0x197f37)),ye(0x1,_0x941461(_0x2ff5b1)),ye(0x2,_0xf25e91),ye(0x3,_0x59ee6a),ye(0x4,_0x3b2e01)],Gt);var Ys=Object[_0x2a1005(0x163)],Ks=(_0x376b28,_0x1d26d3,_0x5f033a,_0x57a261)=>{var _0x4cba15=_0x2a1005;for(var _0x3bd15c=_0x57a261>0x1?void 0x0:_0x57a261?Ys(_0x1d26d3,_0x5f033a):_0x1d26d3,_0x4e137f=_0x376b28[_0x4cba15(0x2c6)]-0x1,_0x7f63a8;_0x4e137f>=0x0;_0x4e137f--)(_0x7f63a8=_0x376b28[_0x4e137f])&&(_0x3bd15c=_0x7f63a8(_0x3bd15c)||_0x3bd15c);return _0x3bd15c;},Re=(_0x459580,_0x29c06b)=>(_0x302902,_0xa5a260)=>_0x29c06b(_0x302902,_0xa5a260,_0x459580);let we=class extends _0x4f60b7{constructor(_0x4b5d0a,_0x3c1334,_0x3f1a58,_0x45c38a,_0x1888aa,_0x4b5174){var _0x542144=_0x2a1005;super(),D(this,'_socket$',new _0x23d601(void 0x0)),D(this,_0x542144(0x2cd),this[_0x542144(0x3f3)]['asObservable']()),D(this,_0x542144(0x239),null),D(this,_0x542144(0x26f),new Map()),D(this,_0x542144(0x242),new _0x23d601(me[_0x542144(0x30b)])),D(this,_0x542144(0x248),this[_0x542144(0x242)][_0x542144(0x195)]()),D(this,_0x542144(0x397),!0x1),D(this,_0x542144(0x306)),D(this,_0x542144(0x2f2),0x0),D(this,_0x542144(0x1fb)),D(this,_0x542144(0x1da)),(this[_0x542144(0x1d3)]=_0x4b5d0a,this[_0x542144(0x32a)]=_0x3c1334,this[_0x542144(0x206)]=_0x3f1a58,this[_0x542144(0x3d8)]=_0x45c38a,this['_collaborationUIEventService']=_0x1888aa,this[_0x542144(0x3c5)]=_0x4b5174,this[_0x542144(0x39e)]());}get['_socket'](){var _0x41b38b=_0x2a1005;return this[_0x41b38b(0x3f3)][_0x41b38b(0x1ad)]();}[_0x2a1005(0x39e)](){var _0x19f378=_0x2a1005;this[_0x19f378(0x3c5)]&&this['disposeWithMe'](this[_0x19f378(0x3c5)][_0x19f378(0x1d6)][_0x19f378(0x1dc)](_0x8402c6=>{var _0x44fe36=_0x19f378;_0x8402c6&&!this[_0x44fe36(0x45d)]&&this[_0x44fe36(0x223)](),_0x8402c6||this[_0x44fe36(0x274)]();}));}[_0x2a1005(0x40a)](){var _0x1db2b8=_0x2a1005;super[_0x1db2b8(0x40a)](),this['_clearRetryConnectingTimer'](),this[_0x1db2b8(0x1a7)](),this[_0x1db2b8(0x1ae)](),this[_0x1db2b8(0x26f)][_0x1db2b8(0x34a)](_0x497abe=>_0x497abe[_0x1db2b8(0x40a)]()),this['_sessions'][_0x1db2b8(0x3b7)](),this[_0x1db2b8(0x242)][_0x1db2b8(0x3d6)]();}async[_0x2a1005(0x426)](_0x5e90e6){var _0x109c04=_0x2a1005;if(this[_0x109c04(0x26f)]['has'](_0x5e90e6))return this[_0x109c04(0x26f)][_0x109c04(0x20f)](_0x5e90e6);this['_tryEnsureSocket']();const _0x39d0b3=this[_0x109c04(0x1d3)]['createInstance'](mt,_0x5e90e6,this[_0x109c04(0x3f3)]['asObservable']());return this[_0x109c04(0x26f)][_0x109c04(0x2f9)](_0x5e90e6,_0x39d0b3),_0x39d0b3;}['closeSession'](_0x3147d4){var _0x54a150=_0x2a1005,_0x55232d;const _0x355658=this[_0x54a150(0x26f)]['get'](_0x3147d4);_0x355658&&(this[_0x54a150(0x26f)][_0x54a150(0x352)](_0x3147d4),_0x355658[_0x54a150(0x466)]()),this[_0x54a150(0x26f)][_0x54a150(0x422)]||(_0x55232d=this[_0x54a150(0x45d)])==null||_0x55232d[_0x54a150(0x466)]();}['reconnect'](){var _0x498125=_0x2a1005;this[_0x498125(0x2f2)]=0x0,this[_0x498125(0x304)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x55be66=_0x2a1005;this[_0x55be66(0x306)]!=null&&(clearTimeout(this[_0x55be66(0x306)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x2b3a3c=_0x2a1005,_0x3a73c9;const _0xc03e3f=this[_0x2b3a3c(0x206)]['getConfig'](K),_0x2de0f7=(_0x3a73c9=_0xc03e3f==null?void 0x0:_0xc03e3f[_0x2b3a3c(0x2d9)])!=null?_0x3a73c9:Es,_0xcf3340=await this[_0x2b3a3c(0x3d8)][_0x2b3a3c(0x27e)](_0x2de0f7);return this[_0x2b3a3c(0x239)]=_0xcf3340,_0xcf3340;}async[_0x2a1005(0x24c)](){var _0x38533d=_0x2a1005,_0x4f1ff2,_0x3158ea;try{const _0x2f6a6e=(_0x3158ea=(_0x4f1ff2=this[_0x38533d(0x45d)])!=null?_0x4f1ff2:this[_0x38533d(0x239)])!=null?_0x3158ea:await this['_createSocket']();if(_0x2f6a6e){const _0x4e9af3=_0x2f6a6e['send'];_0x2f6a6e[_0x38533d(0x2e2)]=_0x33dc9c=>(this['_rescheduleHeartbeat'](),_0x4e9af3['apply'](_0x2f6a6e,[_0x33dc9c])),_0x2f6a6e[_0x38533d(0x477)][_0x38533d(0x1dc)](_0x32411d=>this['_onMessage'](_0x2f6a6e,_0x32411d)),_0x2f6a6e[_0x38533d(0x19a)][_0x38533d(0x368)](_0x15ff55(0x1))[_0x38533d(0x1dc)](_0x275d8e=>this[_0x38533d(0x32a)][_0x38533d(0x38d)](_0x38533d(0x1e3),_0x275d8e)),_0x2f6a6e[_0x38533d(0x3ab)][_0x38533d(0x368)](_0x15ff55(0x1))[_0x38533d(0x1dc)](()=>{var _0x31c427=_0x38533d;this[_0x31c427(0x1c1)](_0x2f6a6e);}),_0x2f6a6e[_0x38533d(0x43d)]['pipe'](_0x15ff55(0x1))[_0x38533d(0x1dc)](_0x5cc137=>{var _0x500e8f=_0x38533d;this[_0x500e8f(0x32a)]['debug'](_0x500e8f(0x42d),_0x500e8f(0x435),_0x5cc137),this[_0x500e8f(0x41c)]();});}}catch(_0x4c8ed4){this[_0x38533d(0x32a)][_0x38533d(0x38d)](_0x4c8ed4),this[_0x38533d(0x41c)]();}}[_0x2a1005(0x1c1)](_0x4e6741){var _0x4b8ab1=_0x2a1005;this[_0x4b8ab1(0x32a)]['debug'](_0x4b8ab1(0x42d),_0x4b8ab1(0x25e)),_0x4e6741[_0x4b8ab1(0x2e2)]({'cmd':j[_0x4b8ab1(0x39d)]}),this['_rescheduleHeartbeat']();}[_0x2a1005(0x274)](){var _0x5eeeb2=_0x2a1005;this[_0x5eeeb2(0x397)]=!0x1,this[_0x5eeeb2(0x239)]=null,this[_0x5eeeb2(0x242)][_0x5eeeb2(0x1cf)](me[_0x5eeeb2(0x40d)]),this[_0x5eeeb2(0x3f3)][_0x5eeeb2(0x1cf)](null),this[_0x5eeeb2(0x1a7)](),this[_0x5eeeb2(0x1ae)]();}[_0x2a1005(0x41c)](){var _0x28a03f=_0x2a1005,_0x45338a;this[_0x28a03f(0x274)](),this['_retryCount']<((_0x45338a=this[_0x28a03f(0x206)][_0x28a03f(0x250)](gs))!=null?_0x45338a:Ts)?(this['_collaborationUIEventService'][_0x28a03f(0x212)]({'id':re[_0x28a03f(0x17c)]}),this[_0x28a03f(0x311)]()):this[_0x28a03f(0x331)][_0x28a03f(0x212)]({'id':re[_0x28a03f(0x31a)]});}[_0x2a1005(0x311)](){var _0x55a1fa=_0x2a1005,_0xe578d3;const _0x26b209=this[_0x55a1fa(0x2f2)],_0x518228=this['_configService']['getConfig'](K),_0x2e8531=_0x26b209===0x0?0x0:((_0xe578d3=_0x518228==null?void 0x0:_0x518228[_0x55a1fa(0x23b)])!=null?_0xe578d3:Ss)*0x2**_0x26b209;this[_0x55a1fa(0x306)]=setTimeout(()=>{var _0x8a784=_0x55a1fa;clearTimeout(this['_retryConnectingTimer']),this[_0x8a784(0x306)]=null,this[_0x8a784(0x24c)]();},_0x2e8531),this[_0x55a1fa(0x2f2)]+=0x1;}['_onMessage'](_0x399097,_0x90e35f){var _0x403b20=_0x2a1005;const {cmd:_0x39450f}=_0x90e35f;_0x39450f===j[_0x403b20(0x39d)]&&!this[_0x403b20(0x397)]&&(_0x399097[_0x403b20(0x2f6)]=_0x90e35f['data']['memberID'],this[_0x403b20(0x3f3)]['next'](_0x399097),this[_0x403b20(0x242)][_0x403b20(0x1cf)](me[_0x403b20(0x18d)]),this[_0x403b20(0x397)]=!0x0,this[_0x403b20(0x239)]=null),_0x39450f===j['HEARTBEAT']&&this[_0x403b20(0x1a7)](),this[_0x403b20(0x2ce)]();}[_0x2a1005(0x2ce)](){var _0x48d6fe=_0x2a1005,_0x3e9b01;this[_0x48d6fe(0x1ae)](),this[_0x48d6fe(0x1fb)]=setTimeout(()=>this[_0x48d6fe(0x42a)](),(_0x3e9b01=this[_0x48d6fe(0x206)][_0x48d6fe(0x250)](ms))!=null?_0x3e9b01:Is);}['_sendHeartbeat'](){var _0xb0c864=_0x2a1005;this[_0xb0c864(0x45d)]['send']({'cmd':j[_0xb0c864(0x1c3)]}),this[_0xb0c864(0x222)]();}['_waitForHeartbeatResponse'](){var _0x4141df=_0x2a1005,_0x696ea8;this[_0x4141df(0x1da)]=setTimeout(()=>this[_0x4141df(0x41c)](),(_0x696ea8=this[_0x4141df(0x206)][_0x4141df(0x250)](di))!=null?_0x696ea8:fi);}[_0x2a1005(0x1ae)](){var _0x194fff=_0x2a1005;this[_0x194fff(0x1fb)]!=null&&(clearTimeout(this[_0x194fff(0x1fb)]),this[_0x194fff(0x1fb)]=null);}[_0x2a1005(0x1a7)](){var _0xa6a9b9=_0x2a1005;this[_0xa6a9b9(0x1da)]!=null&&(clearTimeout(this[_0xa6a9b9(0x1da)]),this[_0xa6a9b9(0x1da)]=null);}};function _0x31db(){var _0x174809=['/new_changes','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','HEARTBEAT_INTERVAL','BlockCipher','_localeService','_toggleOnline','hostname','collabWebSocketUrl','isPermissionRej','UNRECOGNIZED','words','csRejEvent','SHOULD_CLOSE_CONN','post','synced','$super','send','body','_remoteChangesetQueue','_joinRoom','objectID','disposeWithMe','reverse','encryptBlock','Decryptor','18KQRDMx','[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.','256371NrVeUf','dispose$','_isPermissionRej','data','result','_retryCount','FAIL','state$','origin','memberID','_invKeySchedule','onMissedChangesetFetched','set','cmd','loadUnitOfRevision','status','onSendChangeset','?url=','eventID','_getDownloadEndpointURL','[CollaborationState]:\x20apply\x20error!','session.room-permission-denied','AUTHORIZE_CODE_ILLEGAL','_clearRetryConnectingTimer','_undoStacks','_retryConnectingTimer','snapshotServerUrl','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNKNOWN_CODE','ENTITLE_CHAT_LIMIT_EXCEED','IDLE','function','incrementRevOfUnit','hasOwnProperty','prototype','INVITE_CODE_HAS_BEEN_UES','_tryReconnect','INVITE_CODE_ALREADY_BOUND','PERMISSION_DENIED','isArray','getCollabEntity','execute','NoPadding','removeMember','getFocusedUnit','SOCKET_FAILED','_map','_mode','_onRemoteChangeset','_checkMissing','_initRequestHeader','_initCloseConn','_userManagerService','loadDoc','transformUndoRedo','_startCollaboration','USER_NOT_INVITED_CODE','_httpService','INVITE_CODE_REQUIRED','getSheetId','_getUndoStack','_logService','objectType','_doProcessBlock','deepClone','sheets','baseRev','_prevBlock','_collaborationUIEventService','FETCH_MISS','SYNCED','PAYMENT_CHANNEL_NOT_SUPPORT','members$','UNIVER_UNKNOWN','copyFileMeta','LICENSE_IMPORT_SIZE_EXCEEDED','onStarting','ERROR_IMAGE_TYPE','_change$','INVALID_INVITE_CODE','algo','onlyLocal','reject','image/png','call','CHANGESET_ACK','_nRounds','JOINING','Hex','AES','range','transformMutationsWithChangeset','collaboration-client.config','forEach','ENSURE_SNAPSHOT_EXECUTION','ws://127.0.0.1:8000/universer-api/comb/connect','_resendWithTimeout','onTransformRemoteChangesetByIMECache','YUUMI_CONNECTOR_URL_NOT_FOUND','pad','readyForCollab','delete','clamp','/universer-api/stream/file/upload','REDEMPTION_CODE_FULLY_REDEEMED','string','JOIN','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_handlerCallback','_getSignURL','Cipher','decrypt','_unlockTransition','\x0aAfter:\x20','changesets','liveShareNewHost','_clearCollaborationTimeoutTimer','state','map','_singleActiveUnitService','transformStack\x20failed!','random','stopTime','pipe','createEncryptor','INGEST','sid','_transformSelections','saveChangeset','startsWith','_members$','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','NO_OTHER_CLIENTS_EDITING','exports','_univerInstanceService','LIVESHARE_REQUEST_HOST','method','{fileID}','capture','JOIN_ROOM_PERMISSION_DENIED','updateMember','REDEMPTION_USER_NOT_ELIGIBLE','__esModule','ceil','_changesetSessionId','_getSendChangesetTimeout','responseType','_clearLocalCache','_append','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_redoStacks','executeCommand','Undefined','newCsEvent','now','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','location','cfg','MOBILE_HAS_BEEN_BOUND','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','error','_telemetryInfo','closeSession','localCacheService','_pendingMutations','waitForRoom$','HMAC','LOCAL_CACHE_INTERVAL','resolve','_substituteUndoStack','_socketReady','_roomCreated$','userID','catch','_doFinalize','includes','HELLO','_listenToNetworkCondition','\x0aCurrent:\x20','ENTITLE_INSUFFICIENT_QUOTA','enableOfflineEditing','_collabSessionService','AWAITING','_state','94865CrTSkC','/block/','getRoom','padding','name','_xformMode','open$','_throwTelemetryCollaborationNewChangeset','REDEMPTION_CODE_NOT_STARTED','1141407zFrETQ','liveShareOperation','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','pluginName','apply','charCodeAt','_getCtorByUniverType','onRemoteChangeset','UnitSnapshot','clear','put','from','saveSheetBlock','PERMISSION_REJ','_clearUndo','actions','decryptBlock','ENTITLE_REPORT_LIMIT_EXCEED','OPTIONAL','_parse','deleteCollaborator','fetchThroughInterceptors','Base64','_networkConditionService','append','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','compose','Encryptor','saveImage','LICENSE_MAX_UNITS_EXCEEDED','originalMeta','fromCollab','subject','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','slice','_replaceFileID','fetchMissingChangesets','toString','parse','substr','complete','JOIN_ROOM_FULL','_socketService','onMissingChangesets','_onFetchMissResult','getTime','abs','ClipsheetFragments','Utf8','_transformRemoteChangesetByIMECache','SerializableCipher','commentUpdateEvent','_commentService','LIVESHARE_OPERATION','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_waitCount','_reverseMap','_compressMutationService','APPLY_REJECT','_iv','_transformUndoredo','onRemoteAck','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','routeKey','_members','title','LOGIN_FAILED','/universer-api/oidc/authpage','refreshPermission','_socket$','UNIVER_PROJECT','COMMENT_UPDATE','csAckEvent','collaboration-client.local-cache-service','114265pRFinu','UNIVER_SLIDE','_createHelper','_iKey','resourceIDs','onSyncEditingCollabCursor','collaborators','_transformIMECache','APPLY_DUPLICATED','href','_onCombEvent','formatter','[SyncedState]:\x20received\x20acknowledgement.','image/bmp','getInterceptPoints','session.join-failed','_hasher','session.room-full','dispose','APPLY_PERMISSION_DENIED','8270whXXhP','OFFLINE','EvpKDF','loginUrlKey','BASE64','MD5','_clearRedo','compute','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','PENDING','_getUploadFileURL','objects','enableSingleActiveInstanceLock','mode','_resendTimeout','workbook','_onConnectionFailed','REDEMPTION_USER_REDEEM_TIMES_EXCEED','values','registerHTTPInterceptor','Latin1','_revisionService','size','MOBILE_VERIFY_CODE_MISMATCH','updatePermissionPoint','splice','requireSession','EMAIL_HAS_BEEN_BOUND','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_process','_sendHeartbeat','loadOfflineData','UserProfileImg','[CollaborationSessionService]','_entities','WordArray','toggleOnline','_type','getUnitOnRev','USER_NOT_FOUND','getActiveSheet','socket\x20close','Pkcs7','encodeURIComponent','_resendTimer','textRanges','YUUMI_UNABLE_LOAD_URL','_scheduleCollaborationTimeoutTimer','unitID','close$','_disableEditing','getMember','/-/object/-/batch_allowed','NOT_FOUND','MSG_FOR_ERROR','_instanceService','code','_localCacheService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','PERSON','encrypt','_keySchedule','keySize','37056yYqnDi','conflict','PasswordBasedCipher','&to=','_roomMembers','updateSnapshot','uploadFileServerUrl','AWAITING_WITH_PENDING','appendMutation','OTHER_CLIENT_EDITING','_updateState','crypto','_cipher','entityInit$','4VXSfQb','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_initUnitPermissionChange','updateCollaborator','_socket','blockSize','getUnitType','[OfflineState]:\x20received\x20acknowledgement.','image/gif','revision','_HTTPService','_collaborationPaused','_doReset','close','OpenSSL','members','_createHandler','_acknowledgedAwaitingChangeset','CLOSE_ROOM','confirm','sin','getCollabEntity$','_onUserJoin','UPDATE_CURSOR','_keyPriorReset','USER_IS_ANONYMOUS','infoRsp','mutations','REDEMPTION_CODE_HAS_BEEN_CREATED','univer-pro.collaboration-client-socket-service','message$','_undoRedoService','APPLY_NON_SEQUENTIAL_REVISION','CONNECTOR_DATA_TOO_LARGE','init','floor','PY_RUNTIME_SCRIPT_ERROR','onCommentUpdate','CURRENT_STATUS_CANNOT_OPERATE','getOwnPropertyDescriptor','sendChangesetTimeout','key','resend','_updateLocalCache','subUnitId','avatar','onTransformState','setConfig','_executeRemoteChangeset','/universer-api/user/session-ticket','fetchMiss','_handler','_transformStateCache','createInstance','/collaborator','symbol','GLOBAL_ROOMS_CNT_EXCEEDS','interceptor','update','_socketMessageSubscription','UPDATE_PERMISSION_OBJ','DEFAULT_FILE_NAME','stringify','UNIVER_DOC','SOCKET_FAILED_RETRY','collaMsg','selections','getCurrentUser','loadSheet','joinEvent','_nDataBytes','TOO_MANY_REQUESTS','MUTATION','_toggleOffline','socketService','getCurrentRevOfUnit','processBlock','_sendingTimer','max','FileId','snapshot','ONLINE','byteOffset','NEW_CHANGESETS','objectActions','find','COMPRESS_MUTATION_APPLY','reduce','LEAVE','asObservable','BlockCipherMode','&source=','target','_applyRemoteChangeset','error$','localeService','awaiting_with_pending','_submitChangeset','uniscriptRunEvent','leaveEvent','_eventService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_updateStatus','_snapshotService','format','fromCharCode','then','_clearTimeoutTimer','_onRecvEvent','getMemberID','onTransformIME','_transitionLocked','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getValue','_clearHeartbeatTimer','_snapshotServerService','YUUMI_SUBSCRIPTION_NOT_FOUND','SNAPSHOT_URL_KEY','enableAuthServer','[CollaborationUndoRedoService]','_sheetTransformSelectionsService','getDeserializedSheetBlock','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','unsubscribe','join','ivSize','createDecryptor','_stopTelemetryCollaborationNewChangeset','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','override','session','onTransformRemoteChangesetByStateCache','setShowComponents','_onConnectionOpen','LICENSE_EXPORT_SIZE_EXCEEDED','HEARTBEAT','_createInitialState','offline','event$','withCredentials','_oKey','toggleOffline','_getAPIPrefix','LIVESHARE_FETCH_OPERATIONS','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','INTERNAL_ERROR','_lockTransition','next','244494lvnBnS','_onLocalMutation','_changesetReqId','_injector','repeat','_createHmacHelper','online$','/fetchmissing?from=','__creator','transformChangesets','_timeoutTimer','OTHER_CLIENTS_EDITING','subscribe','roomInfos','LIVESHARE_TERMINATE','_unitInfo$','fetch_missing','every','unknown','[CollaborationSessionService]:\x20socket\x20error','duration','encode','/universer-api/authz','_state$','_commentUpdate$','getCurrentSelections','HmacSHA1','USERS_ENTER','_commandService','LOGIN_TOKEN_PROCESSING_FAILED','unitId','[FetchMissState]','session.room-not-exists','type','HttpExport','onload','_sender','JOIN_ROOM_FAILED','list','onRemoteRej','ENTITLE_DUP_SUBSCRIPTION','awaiting','putCollaborators','_sendHeartbeatTimer','_event$','_onRemoteRejected','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','sessionStatus','addImageSourceCache','_substituteRedoStack','ALREADY_EXISTS','reqId','YUUMI_URL_COL_OUT_OF_RANGE','_onJoinRoomEvent','_configService','randomBytes','min','DATA_SOURCE_TOO_LARGE','url','patch','save\x20fail\x20reason\x20is\x20','unitInfo$','_transformService','get','getSnapshotAPIPath','REDEMPTION_CODE_INACTIVE','emitEvent','LIVESHARE_NEW_HOST','_transformRemoteChangesetByStateCache','add','/unit/','/rev/','EMAIL_VERIFY_CODE_MISMATCH','USERS_LEAVE','528PVzhAq','_getRedoStack','CBC','_exhaustRemoteChangesetQueue','getTypeOfUnitDisposed$','c1Prime','[CollaborationSession]','_onRemoteRetry','_waitForHeartbeatResponse','reconnect','saveSnapshot','Failed\x20to\x20update\x20permission\x20point','ERROR_IMAGE','CHANGESET_REVISION_CONFILICT','UNIVER_SHEET','SUCCUSS','NOT_COLLAB','permissionRejEvent','COMPLETION_FINISHED','byteLength','finalize','onCommandExecuted','/universer-api/snapshot','lib','_startTelemetryCollaborationNewChangeset','Hasher','JOIN_ROOM_NOT_EXISTS','_data','concat','onStateChange','_onRemoteACK','_candidateSocket','reset','retryConnectingInterval','_entityInit$','getUnit','_getAPIPrefixPath','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','awaitingChangeset','msCrypto','_status$','RECV','image/jpg','[OfflineState]:\x20received\x20rejection.','unit-cache-','_hash','status$','x-univer-host','CONFLICT','sessionStatus$','_tryEnsureSocket','14OWYUPP','_doCryptBlock','_schedule','getConfig','getRandomValues','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','ciphertext','clone','not_collab','_init','requestParams','BufferedBlockAlgorithm','_getLoginPath','SUBMIT_CHANGESET_TIMEOUT','FETCH_MISSING','_syncEditingCollabCursor','HttpImport','socket\x20open.','YUUMI_ASYNCIO_CANCELLED','_unitID','debug','extend','onTransformSelections','sigBytes','_decreaseWaiting','onLocalMutation','_collaborationTimeoutTimer','create','CHANGESET_SHOULD_RETRY','REDEMPTION_INVALID_CODE','INVALID_ARGUMENT','_telemetryService','_removeRoom','filter','_sessions','ERROR_AGAIN','m2Prime','default','setWaitCount','_onOffline','_initDependencies','_replayCachedMutations','ENTITLE_NEED_BILLING_ADDRESS','disableLocalCache','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_sessionStatus$','CHANGESET_REJ','/object/','change$','createSocket','UnitEmbedded','c2Prime','LICENSE_DISTRO_REJECTED','\x20-\x20','HEARTBEAT_TIMEOUT','_getCurrentRevision','_scheduleCompleteTimestamp','Error\x20on\x20receiving\x20event','_queuedRemoteChangesets','_onUserLeave','kdf','mixIn','failed\x20to\x20apply\x20missed\x20changesets!','_shouldReportTelemetry','onRemoteRetry','[DataLoaderService]','enableCollaboration','readAsDataURL','WECHAT_HAS_BEEN_BOUND','\x20to\x20','pauseCollaboration','_initMergeInterceptor','shouldCloseConn','_fetchMissChangesets','enc','session.room-cnt-exceeds','Base','UNDEFINED','YUUMI_NO_CUBOID_FOR_QUESTION','_ENC_XFORM_MODE','[CollaborationEntity]','_registerDependencies','salt','_minBufferSize','_memberService','_awaitingChangeset','commentUpdate$','getTypeOfUnitAdded$','SNAPSHOT_HAS_BEEN_REMOVED','_collaborationSessionService','addHandlerCallback','_transformStack','UNAUTHENTICATED','has','_permissionService','SUBMIT_CHANGESET','[PendingState]:\x20received\x20rejection.','/universer-api/comb','initWorkbookPermissionChange','pending','/universer-api/file/{fileID}/sign-url','POST','getImageSourceCache','joinRsp','updatePermissionObjEvent','SHA1','headers','_incrementRevisionNumber','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','COMPRESS_MUTATION_SEND','params','loadUnit','getUnitId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','PSEUDO_FETCH_MISSING_RESULT','_createInitialStateImpl','connection\x20error','\x20in\x20_schedule.','collaboratorID','push','_clearScheduledTask','length','_imageSourceCache','charAt','APPLY_REVISION_CONFILICT','/object','_onConflict','roles','socket$','_rescheduleHeartbeat','univer-pro.collaboration-client.single-active-unit-service','_config','_key'];_0x31db=function(){return _0x174809;};return _0x31db();}we=Ks([Re(0x0,_0x941461(_0x197f37)),Re(0x1,_0x59ee6a),Re(0x2,_0xf25e91),Re(0x3,Oi),Re(0x4,_0x941461(ve)),Re(0x5,_0x475d23(Bs))],we);var qs=Object[_0x2a1005(0x163)],zs=(_0x404c83,_0x549a6f,_0xdf4b52,_0x17800f)=>{var _0x4bae67=_0x2a1005;for(var _0x26fd4c=_0x17800f>0x1?void 0x0:_0x17800f?qs(_0x549a6f,_0xdf4b52):_0x549a6f,_0x2bf3e0=_0x404c83[_0x4bae67(0x2c6)]-0x1,_0x143d05;_0x2bf3e0>=0x0;_0x2bf3e0--)(_0x143d05=_0x404c83[_0x2bf3e0])&&(_0x26fd4c=_0x143d05(_0x26fd4c)||_0x26fd4c);return _0x26fd4c;},Be=(_0x1f98b9,_0x7282e8)=>(_0x3cf243,_0x1a350f)=>_0x7282e8(_0x3cf243,_0x1a350f,_0x1f98b9);let nt=class extends _0x23e95c{constructor(_0x3f9647,_0x50690f,_0x12c365,_0x45cc65){var _0x100f71=_0x2a1005,_0x389be1;super(),D(this,'_entities',new Map()),D(this,_0x100f71(0x23c),new _0x3cfa67()),D(this,_0x100f71(0x458),this['_entityInit$'][_0x100f71(0x195)]()),(this[_0x100f71(0x1d3)]=_0x3f9647,this[_0x100f71(0x3a2)]=_0x50690f,this[_0x100f71(0x206)]=_0x12c365,this[_0x100f71(0x373)]=_0x45cc65,((_0x389be1=this[_0x100f71(0x206)][_0x100f71(0x250)](K))==null?void 0x0:_0x389be1[_0x100f71(0x28f)])!==!0x1&&this[_0x100f71(0x256)]());}[_0x2a1005(0x40a)](){var _0x21f0dd=_0x2a1005;super[_0x21f0dd(0x40a)](),this[_0x21f0dd(0x42e)]['forEach'](_0xd2780b=>_0xd2780b[_0x21f0dd(0x40a)]()),this[_0x21f0dd(0x42e)][_0x21f0dd(0x3b7)]();}[_0x2a1005(0x315)](_0x51ea4b){var _0x32d242;return(_0x32d242=this['_entities']['get'](_0x51ea4b))!=null?_0x32d242:null;}['getCollabEntity$'](_0x71641b){var _0x556fa9=_0x2a1005;const _0x4d4b33=this['getCollabEntity'](_0x71641b);return _0x4d4b33?_0x4c6e5a(_0x4d4b33):this[_0x556fa9(0x23c)]['pipe'](_0x47aea4(_0x5aac11=>_0x5aac11[_0x556fa9(0x43c)]===_0x71641b));}[_0x2a1005(0x351)](_0x5f0d10){var _0x53ac8c=_0x2a1005;return _0x536566(this[_0x53ac8c(0x46e)](_0x5f0d10)[_0x53ac8c(0x368)](_0x147ad4(()=>{})));}[_0x2a1005(0x256)](){var _0xe96b=_0x2a1005;this[_0xe96b(0x373)][_0xe96b(0x2a4)](_0x5a5755[_0xe96b(0x228)])[_0xe96b(0x368)](_0x1ba289(this[_0xe96b(0x2ee)]),_0x2e948d(0x10))['subscribe'](async _0x48bc29=>{var _0xaa41a1=_0xe96b;const _0x2717ce=_0x48bc29[_0xaa41a1(0x2bd)](),_0x2dd436=await this[_0xaa41a1(0x324)](_0x2717ce,Q[_0xaa41a1(0x228)]);this[_0xaa41a1(0x42e)]['set'](_0x2717ce,_0x2dd436);}),this[_0xe96b(0x373)][_0xe96b(0x2a4)](_0x5a5755['UNIVER_DOC'])[_0xe96b(0x368)](_0x1ba289(this[_0xe96b(0x2ee)]),_0x2e948d(0x10))[_0xe96b(0x368)](_0x47aea4(_0x35ddad=>!_0x35ddad[_0xe96b(0x2bd)]()[_0xe96b(0x36e)]('__')))['subscribe'](async _0x185a70=>{var _0x4a9600=_0xe96b;const _0x4935f0=_0x185a70['getUnitId'](),_0x531ca0=await this[_0x4a9600(0x324)](_0x4935f0,Q[_0x4a9600(0x17b)]);this['_entities'][_0x4a9600(0x2f9)](_0x4935f0,_0x531ca0);}),_0x2073ce(this[_0xe96b(0x373)][_0xe96b(0x21e)](_0x5a5755['UNIVER_SHEET']),this[_0xe96b(0x373)][_0xe96b(0x21e)](_0x5a5755[_0xe96b(0x17b)]))['pipe'](_0x1ba289(this['dispose$']))[_0xe96b(0x1dc)](_0x5011ef=>{var _0x127d24=_0xe96b;const _0x1ed65d=_0x5011ef[_0x127d24(0x2bd)](),_0x122a54=this[_0x127d24(0x42e)][_0x127d24(0x20f)](_0x1ed65d);_0x122a54&&(_0x122a54[_0x127d24(0x40a)](),this[_0x127d24(0x42e)]['delete'](_0x1ed65d));});}async[_0x2a1005(0x324)](_0x2e2819,_0x30b5e3){var _0x10f43d=_0x2a1005;const _0x1f0527=await this[_0x10f43d(0x3a2)]['requireSession'](_0x2e2819),_0x59a7b9=this[_0x10f43d(0x1d3)]['createInstance'](this[_0x10f43d(0x3b4)](_0x30b5e3),_0x2e2819,_0x30b5e3,_0x1f0527);return await _0x59a7b9[_0x10f43d(0x15e)](),this['_entityInit$'][_0x10f43d(0x1cf)](_0x59a7b9),_0x59a7b9;}[_0x2a1005(0x3b4)](_0x5ee674){var _0x5cb9b7=_0x2a1005;switch(_0x5ee674){case Q[_0x5cb9b7(0x17b)]:return It;case Q[_0x5cb9b7(0x228)]:return St;default:throw new Error(_0x5cb9b7(0x38c)+_0x5ee674);}}};nt=zs([Be(0x0,_0x941461(_0x197f37)),Be(0x1,_0x941461(we)),Be(0x2,_0xf25e91),Be(0x3,_0x226b33)],nt);var Js=Object['getOwnPropertyDescriptor'],Xs=(_0x470138,_0x516475,_0x4e0326,_0x127f5c)=>{var _0x238ecc=_0x2a1005;for(var _0xa6551=_0x127f5c>0x1?void 0x0:_0x127f5c?Js(_0x516475,_0x4e0326):_0x516475,_0x421ab=_0x470138[_0x238ecc(0x2c6)]-0x1,_0x543057;_0x421ab>=0x0;_0x421ab--)(_0x543057=_0x470138[_0x421ab])&&(_0xa6551=_0x543057(_0xa6551)||_0xa6551);return _0xa6551;},Wt=(_0x55c9dc,_0x2ecd34)=>(_0x277c8f,_0x2170fd)=>_0x2ecd34(_0x277c8f,_0x2170fd,_0x55c9dc);const Zs=_0x2a1005(0x179),Qs='Univer';let gt=class extends _0x4f60b7{constructor(_0x39ceaa,_0x290942){var _0x465fb3=_0x2a1005;super(),this[_0x465fb3(0x373)]=_0x39ceaa,this['_configService']=_0x290942,this[_0x465fb3(0x256)]();}[_0x2a1005(0x256)](){var _0x2a4416=_0x2a1005;this[_0x2a4416(0x2e7)](this['_univerInstanceService']['focused$'][_0x2a4416(0x1dc)](()=>{var _0x5a5953=_0x2a4416,_0x51c0d2;const _0x10a437=this['_univerInstanceService'][_0x5a5953(0x319)]();let _0x222f3a=(_0x51c0d2=this['_configService']['getConfig'](Zs))!=null?_0x51c0d2:Qs;_0x10a437 instanceof _0x435e6f&&(_0x222f3a=_0x10a437[_0x5a5953(0x3a9)]),document[_0x5a5953(0x3ef)]=_0x222f3a;}));}};gt=Xs([Wt(0x0,_0x226b33),Wt(0x1,_0xf25e91)],gt);var en=Object[_0x2a1005(0x163)],tn=(_0x14cfc6,_0x5c2db3,_0x1e3a91,_0x5241)=>{var _0x2f84ed=_0x2a1005;for(var _0x1fbf2b=_0x5241>0x1?void 0x0:_0x5241?en(_0x5c2db3,_0x1e3a91):_0x5c2db3,_0x5c38ca=_0x14cfc6[_0x2f84ed(0x2c6)]-0x1,_0x3624fd;_0x5c38ca>=0x0;_0x5c38ca--)(_0x3624fd=_0x14cfc6[_0x5c38ca])&&(_0x1fbf2b=_0x3624fd(_0x1fbf2b)||_0x1fbf2b);return _0x1fbf2b;},dt=(_0x2bf4f2,_0x3952b9)=>(_0x5b6eab,_0xb67d16)=>_0x3952b9(_0x5b6eab,_0xb67d16,_0x2bf4f2);let rt=class{constructor(_0x5a1782,_0x4f585f,_0x94c301){var _0x286a92=_0x2a1005;this['_configService']=_0x5a1782,this['_httpService']=_0x4f585f,this[_0x286a92(0x19b)]=_0x94c301,this[_0x286a92(0x15e)]();}[_0x2a1005(0x15e)](){var _0x4293dc=_0x2a1005;this['_httpService'][_0x4293dc(0x41f)]({'priority':0x1,'interceptor':(_0x4d49c0,_0x3ed0b0)=>_0x3ed0b0(_0x4d49c0)['pipe'](_0xf3e201(async _0x3a5dfb=>{var _0x2abd04=_0x4293dc;const _0x55b380=_0x3a5dfb;if(_0x55b380[_0x2abd04(0x2fc)]===0x191){if(typeof window>'u')throw new Error(_0x2abd04(0x2d3));if(window[_0x2abd04(0x46c)](this[_0x2abd04(0x19b)]['t']('auth.needGotoLoginAlert'))){const _0x1e64b2=window[_0x2abd04(0x437)](window[_0x2abd04(0x389)]['href']);window[_0x2abd04(0x389)][_0x2abd04(0x401)]=this['_getLoginPath']()+_0x2abd04(0x2fe)+_0x1e64b2;}}return _0x55b380;}))});}[_0x2a1005(0x259)](){var _0x4ee0c0=_0x2a1005,_0x4071d1;const _0x19271d=this[_0x4ee0c0(0x206)][_0x4ee0c0(0x250)](K);return(_0x4071d1=_0x19271d==null?void 0x0:_0x19271d[_0x4ee0c0(0x40f)])!=null?_0x4071d1:Rs;}};rt=tn([dt(0x0,_0xf25e91),dt(0x1,_0x941461(_0x2ff5b1)),dt(0x2,_0x941461(_0x139ca))],rt);var sn=Object[_0x2a1005(0x163)],nn=(_0x459e66,_0x1beb41,_0x2b8a71,_0x524b4d)=>{var _0x221844=_0x2a1005;for(var _0x5c67ae=_0x524b4d>0x1?void 0x0:_0x524b4d?sn(_0x1beb41,_0x2b8a71):_0x1beb41,_0x167b37=_0x459e66[_0x221844(0x2c6)]-0x1,_0x44691c;_0x167b37>=0x0;_0x167b37--)(_0x44691c=_0x459e66[_0x167b37])&&(_0x5c67ae=_0x44691c(_0x5c67ae)||_0x5c67ae);return _0x5c67ae;},Yt=(_0x2b0544,_0x793f23)=>(_0x5b6e8e,_0x48a327)=>_0x793f23(_0x5b6e8e,_0x48a327,_0x2b0544);function _0x44d6(_0x30f5c7,_0x3850d4){var _0x31db64=_0x31db();return _0x44d6=function(_0x44d622,_0x448c25){_0x44d622=_0x44d622-0x15c;var _0x31ebd2=_0x31db64[_0x44d622];return _0x31ebd2;},_0x44d6(_0x30f5c7,_0x3850d4);}const rn=_0x2a1005(0x1e6);let Tt=class extends _0x4f60b7{constructor(_0x2cf677,_0xdb2a0f){var _0x49c20a=_0x2a1005;super(),this['_HTTPService']=_0x2cf677,this[_0x49c20a(0x206)]=_0xdb2a0f,this[_0x49c20a(0x294)]();}['_initMergeInterceptor'](){var _0x50a107=_0x2a1005;const _0x39e64b=this;this['disposeWithMe'](this[_0x50a107(0x463)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xc6c2dd({'isMatch'(_0x5a060e){var _0x18bc8c=_0x50a107,_0x47b768;if(_0x5a060e[_0x18bc8c(0x375)]===_0x18bc8c(0x2b2)&&((_0x47b768=_0x5a060e['requestParams'])!=null&&_0x47b768[_0x18bc8c(0x2e3)])){const {objectID:_0x54f89e,objectType:_0x482bb4}=_0x5a060e[_0x18bc8c(0x257)][_0x18bc8c(0x2e3)]||{};if(!_0x54f89e||_0x482bb4===void 0x0)return!0x1;const _0x1e7501=_0x39e64b[_0x18bc8c(0x23e)]()+'/'+_0x482bb4+_0x18bc8c(0x27c)+_0x54f89e+'/allowed';if(_0x5a060e[_0x18bc8c(0x20a)]===_0x1e7501)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x32b8b8){var _0x442175;return(_0x442175=_0x32b8b8['requestParams'])==null?void 0x0:_0x442175['body'];},'mergeParamsToRequest'(_0x5711ac,_0x4ceaac){var _0x4f9c4e=_0x50a107;const _0x129ddb=_0x39e64b['_getAPIPrefixPath']()+_0x4f9c4e(0x440),_0x30f9db=_0x5711ac[_0x4f9c4e(0x193)]((_0x10d67c,_0x2e55af)=>{var _0xc85036=_0x4f9c4e;const {unitID:_0x9e834d,objectID:_0x492c82,objectType:_0x4a02b7,actions:_0x2306ff}=_0x2e55af;return _0x10d67c[_0x9e834d]||(_0x10d67c[_0x9e834d]={}),_0x10d67c[_0x9e834d][_0x492c82]||(_0x10d67c[_0x9e834d][_0x492c82]={'objectID':_0x492c82,'objectType':_0x4a02b7,'actions':[]}),_0x10d67c[_0x9e834d][_0x492c82][_0xc85036(0x3bd)]['push'](..._0x2306ff),_0x10d67c;},{}),_0x5c8e40=[];for(const _0x1a9291 in _0x30f9db)for(const _0x372579 in _0x30f9db[_0x1a9291]){const {actions:_0x33b471,objectType:_0x46f3b8}=_0x30f9db[_0x1a9291][_0x372579],_0x1c5a29=[...new Set(_0x33b471)];_0x5c8e40[_0x4f9c4e(0x2c4)]({'unitID':_0x1a9291,'objectID':_0x372579,'objectType':_0x46f3b8,'actions':_0x1c5a29});}return new _0x5bed9a(_0x4f9c4e(0x2b2),_0x129ddb,{'headers':_0x4ceaac[_0x4f9c4e(0x2b7)],'withCredentials':_0x4ceaac[_0x4f9c4e(0x1c7)],'responseType':_0x4ceaac[_0x4f9c4e(0x37f)],'body':{'requests':_0x5c8e40}});}},{'distributeResult'(_0x65754d,_0x3c525e){const {objectActions:_0x2db164}=_0x65754d;return _0x3c525e['map'](_0xb0fdef=>{var _0x323ecb=_0x44d6;const {unitID:_0x4999ce,objectID:_0x346985,actions:_0x153dbc}=_0xb0fdef,_0xf31745=_0x2db164[_0x323ecb(0x191)](_0x2674c3=>_0x2674c3[_0x323ecb(0x43c)]===_0x4999ce&&_0x2674c3[_0x323ecb(0x2e6)]===_0x346985),_0x395f4e=_0x153dbc[_0x323ecb(0x363)](_0x175bc6=>_0xf31745==null?void 0x0:_0xf31745['actions']['find'](_0x2b570a=>_0x2b570a['action']===_0x175bc6))[_0x323ecb(0x26e)](_0x3bbd15=>!!_0x3bbd15);return{'config':_0xb0fdef,'result':{'actions':_0x395f4e,'error':_0x65754d['error']}};});}})}));}[_0x2a1005(0x23e)](){var _0x30d2b9;const _0x4015ce=this['_configService']['getConfig'](K);return(_0x30d2b9=_0x4015ce==null?void 0x0:_0x4015ce['authzUrl'])!=null?_0x30d2b9:rn;}async[_0x2a1005(0x268)](_0x5cb084){var _0x36c8f7=_0x2a1005;const _0x55f949=this[_0x36c8f7(0x23e)]()+'/'+_0x5cb084[_0x36c8f7(0x32b)]+_0x36c8f7(0x2ca);return(await this[_0x36c8f7(0x463)][_0x36c8f7(0x2df)](_0x55f949,{'body':_0x5cb084}))['body'][_0x36c8f7(0x2e6)]||'';}async[_0x2a1005(0x1f6)](_0x36e178){var _0x5ad95b=_0x2a1005;const _0x309e9b=this[_0x5ad95b(0x23e)]()+'/-/object/list';return(await this[_0x5ad95b(0x463)]['post'](_0x309e9b,{'body':_0x36e178}))[_0x5ad95b(0x2e3)][_0x5ad95b(0x417)];}async[_0x2a1005(0x176)](_0x149878){var _0x4c09a1=_0x2a1005,_0x208de6,_0x1b99d8;const _0x384c96=this[_0x4c09a1(0x23e)]()+'/'+_0x149878[_0x4c09a1(0x32b)]+'/object/'+_0x149878[_0x4c09a1(0x2e6)],_0x3897c4=await this[_0x4c09a1(0x463)][_0x4c09a1(0x3b8)](_0x384c96,{'body':_0x149878});if(((_0x1b99d8=(_0x208de6=_0x3897c4==null?void 0x0:_0x3897c4['body'])==null?void 0x0:_0x208de6[_0x4c09a1(0x38d)])==null?void 0x0:_0x1b99d8[_0x4c09a1(0x444)])!==0x1)throw new Error(_0x4c09a1(0x225));}async['allowed'](_0x2e7737){var _0x52c59f=_0x2a1005;const _0x2a223e=this[_0x52c59f(0x23e)]()+'/'+_0x2e7737[_0x52c59f(0x32b)]+_0x52c59f(0x27c)+_0x2e7737[_0x52c59f(0x2e6)]+'/allowed';return(await this[_0x52c59f(0x463)][_0x52c59f(0x2df)](_0x2a223e,{'body':_0x2e7737}))[_0x52c59f(0x2e3)][_0x52c59f(0x3bd)];}async['batchAllowed'](_0x4f53f7){var _0x301479=_0x2a1005;const _0x2e5b86=this[_0x301479(0x23e)]()+_0x301479(0x440);return(await this[_0x301479(0x463)][_0x301479(0x2df)](_0x2e5b86,{'body':{'requests':_0x4f53f7}}))['body'][_0x301479(0x190)];}async['listRoles'](_0x4ac7f8){var _0x3e1fc9=_0x2a1005;const _0x53138a=this[_0x3e1fc9(0x23e)]()+'/'+_0x4ac7f8['objectType']+'/role',_0xe08f87=await this[_0x3e1fc9(0x463)][_0x3e1fc9(0x2df)](_0x53138a,{'body':_0x4ac7f8});return{'roles':_0xe08f87[_0x3e1fc9(0x2e3)][_0x3e1fc9(0x2cc)],'actions':_0xe08f87['body']['actions']};}async[_0x2a1005(0x3c2)](_0x2c4fe9){var _0xb475d5=_0x2a1005;const _0x683771=this[_0xb475d5(0x23e)]()+_0xb475d5(0x172);await this[_0xb475d5(0x463)][_0xb475d5(0x352)](_0x683771,{'params':{'collaboratorID':_0x2c4fe9[_0xb475d5(0x2c3)],'objectID':_0x2c4fe9['objectID'],'unitID':_0x2c4fe9[_0xb475d5(0x43c)]}});}async[_0x2a1005(0x45c)](_0x1836fc){var _0x18c8b5=_0x2a1005;const _0x4d45e8=this[_0x18c8b5(0x23e)]()+_0x18c8b5(0x172);await this[_0x18c8b5(0x463)][_0x18c8b5(0x20b)](_0x4d45e8,{'body':_0x1836fc});}async['createCollaborator'](_0x55814f){var _0x3eea38=_0x2a1005;const _0x2c6ebe=this['_getAPIPrefixPath']()+_0x3eea38(0x172);await this[_0x3eea38(0x463)][_0x3eea38(0x2df)](_0x2c6ebe,{'body':_0x55814f});}async['listCollaborators'](_0x2dc46a){var _0xa81011=_0x2a1005;const _0x2cfd3a=this['_getAPIPrefixPath']()+_0xa81011(0x172);return(await this[_0xa81011(0x463)][_0xa81011(0x20f)](_0x2cfd3a,{'params':{'objectID':_0x2dc46a['objectID'],'unitID':_0x2dc46a[_0xa81011(0x43c)]}}))[_0xa81011(0x2e3)][_0xa81011(0x3fe)];}async[_0x2a1005(0x1fa)](_0x523458){var _0x35f515=_0x2a1005;const _0x4f4a22=this[_0x35f515(0x23e)]()+_0x35f515(0x172);await this[_0x35f515(0x463)][_0x35f515(0x3b8)](_0x4f4a22,{'body':_0x523458});}};Tt=nn([Yt(0x0,_0x941461(_0x2ff5b1)),Yt(0x1,_0x941461(_0xf25e91))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x4b6432){var _0x1f60c9=_0x2a1005;return _0x4b6432&&_0x4b6432[_0x1f60c9(0x37b)]&&Object[_0x1f60c9(0x30f)][_0x1f60c9(0x30e)]['call'](_0x4b6432,_0x1f60c9(0x272))?_0x4b6432['default']:_0x4b6432;}var Ve={'exports':{}};function an(_0x16ca12){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x16ca12+'\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[_0x2a1005(0x372)],Kt;function ie(){var _0x58863a=_0x2a1005;return Kt||(Kt=0x1,function(_0x5d94c6,_0x501f51){(function(_0x7e3539,_0xaaa7ff){var _0x35499d=_0x44d6;_0x5d94c6[_0x35499d(0x372)]=_0xaaa7ff();}(on,function(){var _0x2eff7f=_0x2eff7f||function(_0x8edfcf,_0x19bc6f){var _0xd93482=_0x44d6,_0x22bcb4;if(typeof window<'u'&&window[_0xd93482(0x456)]&&(_0x22bcb4=window[_0xd93482(0x456)]),typeof self<'u'&&self[_0xd93482(0x456)]&&(_0x22bcb4=self[_0xd93482(0x456)]),typeof globalThis<'u'&&globalThis[_0xd93482(0x456)]&&(_0x22bcb4=globalThis[_0xd93482(0x456)]),!_0x22bcb4&&typeof window<'u'&&window[_0xd93482(0x241)]&&(_0x22bcb4=window[_0xd93482(0x241)]),!_0x22bcb4&&typeof ft<'u'&&ft['crypto']&&(_0x22bcb4=ft[_0xd93482(0x456)]),!_0x22bcb4&&typeof an==_0xd93482(0x30c))try{_0x22bcb4=require('crypto');}catch{}var _0x3aa614=function(){var _0x4f60ba=_0xd93482;if(_0x22bcb4){if(typeof _0x22bcb4[_0x4f60ba(0x251)]==_0x4f60ba(0x30c))try{return _0x22bcb4['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x22bcb4[_0x4f60ba(0x207)]==_0x4f60ba(0x30c))try{return _0x22bcb4[_0x4f60ba(0x207)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x4f60ba(0x446));},_0x453b96=Object['create']||(function(){function _0x4fa6ce(){}return function(_0x1ceb6b){var _0x4bcad3=_0x44d6,_0x523806;return _0x4fa6ce[_0x4bcad3(0x30f)]=_0x1ceb6b,_0x523806=new _0x4fa6ce(),_0x4fa6ce[_0x4bcad3(0x30f)]=null,_0x523806;};}()),_0xe69fbd={},_0x2a2d42=_0xe69fbd[_0xd93482(0x231)]={},_0x3cbd28=_0x2a2d42[_0xd93482(0x299)]=(function(){return{'extend':function(_0x1fbb37){var _0x3a7ebf=_0x44d6,_0x306ec2=_0x453b96(this);return _0x1fbb37&&_0x306ec2[_0x3a7ebf(0x28a)](_0x1fbb37),(!_0x306ec2['hasOwnProperty'](_0x3a7ebf(0x15e))||this[_0x3a7ebf(0x15e)]===_0x306ec2[_0x3a7ebf(0x15e)])&&(_0x306ec2[_0x3a7ebf(0x15e)]=function(){var _0x1644d8=_0x3a7ebf;_0x306ec2[_0x1644d8(0x2e1)][_0x1644d8(0x15e)][_0x1644d8(0x3b2)](this,arguments);}),_0x306ec2[_0x3a7ebf(0x15e)]['prototype']=_0x306ec2,_0x306ec2[_0x3a7ebf(0x2e1)]=this,_0x306ec2;},'create':function(){var _0x446378=_0x44d6,_0x507583=this[_0x446378(0x262)]();return _0x507583['init'][_0x446378(0x3b2)](_0x507583,arguments),_0x507583;},'init':function(){},'mixIn':function(_0x275859){var _0x388077=_0x44d6;for(var _0x45566c in _0x275859)_0x275859[_0x388077(0x30e)](_0x45566c)&&(this[_0x45566c]=_0x275859[_0x45566c]);_0x275859[_0x388077(0x30e)](_0x388077(0x3d3))&&(this['toString']=_0x275859['toString']);},'clone':function(){var _0x3d2be9=_0x44d6;return this[_0x3d2be9(0x15e)]['prototype'][_0x3d2be9(0x262)](this);}};}()),_0xbe56ce=_0x2a2d42[_0xd93482(0x42f)]=_0x3cbd28[_0xd93482(0x262)]({'init':function(_0x6bb1f2,_0x11e508){var _0x4d651d=_0xd93482;_0x6bb1f2=this['words']=_0x6bb1f2||[],_0x11e508!=_0x19bc6f?this[_0x4d651d(0x264)]=_0x11e508:this['sigBytes']=_0x6bb1f2[_0x4d651d(0x2c6)]*0x4;},'toString':function(_0x21fc2d){var _0x105c29=_0xd93482;return(_0x21fc2d||_0x9e413b)[_0x105c29(0x17a)](this);},'concat':function(_0x44d2f1){var _0x4bbc62=_0xd93482,_0x4a90c6=this[_0x4bbc62(0x2dc)],_0x11314e=_0x44d2f1[_0x4bbc62(0x2dc)],_0x2c97a1=this[_0x4bbc62(0x264)],_0x4ae828=_0x44d2f1['sigBytes'];if(this[_0x4bbc62(0x353)](),_0x2c97a1%0x4)for(var _0x967523=0x0;_0x967523<_0x4ae828;_0x967523++){var _0x5a1c7e=_0x11314e[_0x967523>>>0x2]>>>0x18-_0x967523%0x4*0x8&0xff;_0x4a90c6[_0x2c97a1+_0x967523>>>0x2]|=_0x5a1c7e<<0x18-(_0x2c97a1+_0x967523)%0x4*0x8;}else{for(var _0x3802ea=0x0;_0x3802ea<_0x4ae828;_0x3802ea+=0x4)_0x4a90c6[_0x2c97a1+_0x3802ea>>>0x2]=_0x11314e[_0x3802ea>>>0x2];}return this[_0x4bbc62(0x264)]+=_0x4ae828,this;},'clamp':function(){var _0x1c71c3=_0xd93482,_0x4ee089=this[_0x1c71c3(0x2dc)],_0x482048=this[_0x1c71c3(0x264)];_0x4ee089[_0x482048>>>0x2]&=0xffffffff<<0x20-_0x482048%0x4*0x8,_0x4ee089[_0x1c71c3(0x2c6)]=_0x8edfcf['ceil'](_0x482048/0x4);},'clone':function(){var _0x32f7ae=_0xd93482,_0x4c5dc5=_0x3cbd28[_0x32f7ae(0x254)][_0x32f7ae(0x341)](this);return _0x4c5dc5[_0x32f7ae(0x2dc)]=this[_0x32f7ae(0x2dc)][_0x32f7ae(0x3d0)](0x0),_0x4c5dc5;},'random':function(_0x5c5401){for(var _0x4f5e1a=[],_0x2da87a=0x0;_0x2da87a<_0x5c5401;_0x2da87a+=0x4)_0x4f5e1a['push'](_0x3aa614());return new _0xbe56ce['init'](_0x4f5e1a,_0x5c5401);}}),_0x22aaed=_0xe69fbd[_0xd93482(0x297)]={},_0x9e413b=_0x22aaed[_0xd93482(0x345)]={'stringify':function(_0x2eaca5){var _0x1d0e7e=_0xd93482;for(var _0x4936cf=_0x2eaca5[_0x1d0e7e(0x2dc)],_0x4eb865=_0x2eaca5['sigBytes'],_0x536ca6=[],_0x5b325d=0x0;_0x5b325d<_0x4eb865;_0x5b325d++){var _0x1b4920=_0x4936cf[_0x5b325d>>>0x2]>>>0x18-_0x5b325d%0x4*0x8&0xff;_0x536ca6[_0x1d0e7e(0x2c4)]((_0x1b4920>>>0x4)[_0x1d0e7e(0x3d3)](0x10)),_0x536ca6[_0x1d0e7e(0x2c4)]((_0x1b4920&0xf)['toString'](0x10));}return _0x536ca6['join']('');},'parse':function(_0x1dcff6){var _0x492061=_0xd93482;for(var _0x35c01e=_0x1dcff6[_0x492061(0x2c6)],_0x441629=[],_0x3abc49=0x0;_0x3abc49<_0x35c01e;_0x3abc49+=0x2)_0x441629[_0x3abc49>>>0x3]|=parseInt(_0x1dcff6[_0x492061(0x3d5)](_0x3abc49,0x2),0x10)<<0x18-_0x3abc49%0x8*0x4;return new _0xbe56ce[(_0x492061(0x15e))](_0x441629,_0x35c01e/0x2);}},_0x1654e1=_0x22aaed[_0xd93482(0x420)]={'stringify':function(_0x54ae44){var _0x5560ec=_0xd93482;for(var _0xec0cf2=_0x54ae44[_0x5560ec(0x2dc)],_0x5391ae=_0x54ae44[_0x5560ec(0x264)],_0x249a3f=[],_0xf7a4ed=0x0;_0xf7a4ed<_0x5391ae;_0xf7a4ed++){var _0x1ebbff=_0xec0cf2[_0xf7a4ed>>>0x2]>>>0x18-_0xf7a4ed%0x4*0x8&0xff;_0x249a3f[_0x5560ec(0x2c4)](String[_0x5560ec(0x1a5)](_0x1ebbff));}return _0x249a3f[_0x5560ec(0x1b8)]('');},'parse':function(_0x41d182){var _0x446489=_0xd93482;for(var _0x266c09=_0x41d182[_0x446489(0x2c6)],_0x226b7f=[],_0x5dff5c=0x0;_0x5dff5c<_0x266c09;_0x5dff5c++)_0x226b7f[_0x5dff5c>>>0x2]|=(_0x41d182[_0x446489(0x3b3)](_0x5dff5c)&0xff)<<0x18-_0x5dff5c%0x4*0x8;return new _0xbe56ce[(_0x446489(0x15e))](_0x226b7f,_0x266c09);}},_0x56aa76=_0x22aaed[_0xd93482(0x3de)]={'stringify':function(_0x9e3391){try{return decodeURIComponent(escape(_0x1654e1['stringify'](_0x9e3391)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x42bd87){var _0x106472=_0xd93482;return _0x1654e1[_0x106472(0x3d4)](unescape(encodeURIComponent(_0x42bd87)));}},_0x43fb3a=_0x2a2d42[_0xd93482(0x258)]=_0x3cbd28[_0xd93482(0x262)]({'reset':function(){var _0x46d122=_0xd93482;this['_data']=new _0xbe56ce['init'](),this[_0x46d122(0x182)]=0x0;},'_append':function(_0x536624){var _0x3b2dab=_0xd93482;typeof _0x536624==_0x3b2dab(0x356)&&(_0x536624=_0x56aa76['parse'](_0x536624)),this[_0x3b2dab(0x235)][_0x3b2dab(0x236)](_0x536624),this[_0x3b2dab(0x182)]+=_0x536624[_0x3b2dab(0x264)];},'_process':function(_0x196fa2){var _0x287794=_0xd93482,_0x5d6882,_0x2b1d79=this[_0x287794(0x235)],_0x54e4d6=_0x2b1d79[_0x287794(0x2dc)],_0x5d6e4f=_0x2b1d79[_0x287794(0x264)],_0x12d3fc=this[_0x287794(0x45e)],_0x2e759a=_0x12d3fc*0x4,_0x5e6c97=_0x5d6e4f/_0x2e759a;_0x196fa2?_0x5e6c97=_0x8edfcf[_0x287794(0x37c)](_0x5e6c97):_0x5e6c97=_0x8edfcf[_0x287794(0x18a)]((_0x5e6c97|0x0)-this[_0x287794(0x2a0)],0x0);var _0x593629=_0x5e6c97*_0x12d3fc,_0x4d8022=_0x8edfcf[_0x287794(0x208)](_0x593629*0x4,_0x5d6e4f);if(_0x593629){for(var _0x22f932=0x0;_0x22f932<_0x593629;_0x22f932+=_0x12d3fc)this[_0x287794(0x32c)](_0x54e4d6,_0x22f932);_0x5d6882=_0x54e4d6[_0x287794(0x425)](0x0,_0x593629),_0x2b1d79['sigBytes']-=_0x4d8022;}return new _0xbe56ce[(_0x287794(0x15e))](_0x5d6882,_0x4d8022);},'clone':function(){var _0x1c9912=_0xd93482,_0x22d34b=_0x3cbd28[_0x1c9912(0x254)][_0x1c9912(0x341)](this);return _0x22d34b['_data']=this[_0x1c9912(0x235)][_0x1c9912(0x254)](),_0x22d34b;},'_minBufferSize':0x0});_0x2a2d42[_0xd93482(0x233)]=_0x43fb3a[_0xd93482(0x262)]({'cfg':_0x3cbd28[_0xd93482(0x262)](),'init':function(_0x32ccfd){var _0x39c82d=_0xd93482;this['cfg']=this['cfg'][_0x39c82d(0x262)](_0x32ccfd),this[_0x39c82d(0x23a)]();},'reset':function(){var _0xedff5a=_0xd93482;_0x43fb3a[_0xedff5a(0x23a)][_0xedff5a(0x341)](this),this[_0xedff5a(0x465)]();},'update':function(_0x25d3d3){var _0x110412=_0xd93482;return this[_0x110412(0x381)](_0x25d3d3),this[_0x110412(0x429)](),this;},'finalize':function(_0xdea4d8){var _0x3cd841=_0xd93482;_0xdea4d8&&this[_0x3cd841(0x381)](_0xdea4d8);var _0x220209=this[_0x3cd841(0x39b)]();return _0x220209;},'blockSize':0x10,'_createHelper':function(_0x2ba204){return function(_0x59cbf8,_0x5ea296){var _0x2a4840=_0x44d6;return new _0x2ba204[(_0x2a4840(0x15e))](_0x5ea296)['finalize'](_0x59cbf8);};},'_createHmacHelper':function(_0x2290df){return function(_0xafa4f5,_0x597ab9){var _0x368b98=_0x44d6;return new _0x50816a[(_0x368b98(0x393))][(_0x368b98(0x15e))](_0x2290df,_0x597ab9)[_0x368b98(0x22e)](_0xafa4f5);};}});var _0x50816a=_0xe69fbd['algo']={};return _0xe69fbd;}(Math);return _0x2eff7f;}));}(Ge)),Ge[_0x58863a(0x372)];}var We={'exports':{}},cn=We[_0x2a1005(0x372)],qt;function Ri(){var _0x274f1a=_0x2a1005;return qt||(qt=0x1,function(_0x240ca6,_0x6cda80){(function(_0x49b2a8,_0x27374e){_0x240ca6['exports']=_0x27374e(ie());}(cn,function(_0x154813){var _0x785a64=_0x44d6;return(function(){var _0x4bae9c=_0x44d6,_0x214f15=_0x154813,_0x414817=_0x214f15[_0x4bae9c(0x231)],_0x4a6391=_0x414817[_0x4bae9c(0x42f)],_0x5c8e1d=_0x214f15[_0x4bae9c(0x297)];_0x5c8e1d[_0x4bae9c(0x3c4)]={'stringify':function(_0x5c995f){var _0x59c8c9=_0x4bae9c,_0x465e0f=_0x5c995f['words'],_0x327554=_0x5c995f[_0x59c8c9(0x264)],_0xd853c0=this[_0x59c8c9(0x31b)];_0x5c995f[_0x59c8c9(0x353)]();for(var _0x3fab7a=[],_0x10e868=0x0;_0x10e868<_0x327554;_0x10e868+=0x3)for(var _0x243943=_0x465e0f[_0x10e868>>>0x2]>>>0x18-_0x10e868%0x4*0x8&0xff,_0x4e662f=_0x465e0f[_0x10e868+0x1>>>0x2]>>>0x18-(_0x10e868+0x1)%0x4*0x8&0xff,_0x4328b5=_0x465e0f[_0x10e868+0x2>>>0x2]>>>0x18-(_0x10e868+0x2)%0x4*0x8&0xff,_0x497b32=_0x243943<<0x10|_0x4e662f<<0x8|_0x4328b5,_0xf18d22=0x0;_0xf18d22<0x4&&_0x10e868+_0xf18d22*0.75<_0x327554;_0xf18d22++)_0x3fab7a[_0x59c8c9(0x2c4)](_0xd853c0[_0x59c8c9(0x2c8)](_0x497b32>>>0x6*(0x3-_0xf18d22)&0x3f));var _0x10d33d=_0xd853c0[_0x59c8c9(0x2c8)](0x40);if(_0x10d33d){for(;_0x3fab7a[_0x59c8c9(0x2c6)]%0x4;)_0x3fab7a[_0x59c8c9(0x2c4)](_0x10d33d);}return _0x3fab7a[_0x59c8c9(0x1b8)]('');},'parse':function(_0x4f8f53){var _0x261652=_0x4bae9c,_0x4020e2=_0x4f8f53[_0x261652(0x2c6)],_0x3e9c5f=this[_0x261652(0x31b)],_0x510c9d=this['_reverseMap'];if(!_0x510c9d){_0x510c9d=this[_0x261652(0x3e6)]=[];for(var _0x45681d=0x0;_0x45681d<_0x3e9c5f[_0x261652(0x2c6)];_0x45681d++)_0x510c9d[_0x3e9c5f[_0x261652(0x3b3)](_0x45681d)]=_0x45681d;}var _0x49bf67=_0x3e9c5f[_0x261652(0x2c8)](0x40);if(_0x49bf67){var _0x5529ef=_0x4f8f53['indexOf'](_0x49bf67);_0x5529ef!==-0x1&&(_0x4020e2=_0x5529ef);}return _0x2afdb0(_0x4f8f53,_0x4020e2,_0x510c9d);},'_map':_0x4bae9c(0x1b6)};function _0x2afdb0(_0x504a71,_0x38b257,_0x25e58d){var _0x174d86=_0x4bae9c;for(var _0x35ddb8=[],_0x1a5c6a=0x0,_0x4bbcf1=0x0;_0x4bbcf1<_0x38b257;_0x4bbcf1++)if(_0x4bbcf1%0x4){var _0x57321e=_0x25e58d[_0x504a71[_0x174d86(0x3b3)](_0x4bbcf1-0x1)]<<_0x4bbcf1%0x4*0x2,_0x5395ee=_0x25e58d[_0x504a71['charCodeAt'](_0x4bbcf1)]>>>0x6-_0x4bbcf1%0x4*0x2,_0x5e46ac=_0x57321e|_0x5395ee;_0x35ddb8[_0x1a5c6a>>>0x2]|=_0x5e46ac<<0x18-_0x1a5c6a%0x4*0x8,_0x1a5c6a++;}return _0x4a6391[_0x174d86(0x268)](_0x35ddb8,_0x1a5c6a);}}()),_0x154813[_0x785a64(0x297)][_0x785a64(0x3c4)];}));}(We)),We[_0x274f1a(0x372)];}var Ye={'exports':{}},_n=Ye[_0x2a1005(0x372)],zt;function hn(){return zt||(zt=0x1,function(_0x5e72bd,_0x193e4e){(function(_0x12cbbe,_0x15c91d){var _0x48389e=_0x44d6;_0x5e72bd[_0x48389e(0x372)]=_0x15c91d(ie());}(_n,function(_0x3bc021){return function(_0x1578cc){var _0x26f382=_0x44d6,_0x56e8f7=_0x3bc021,_0x3ab6f8=_0x56e8f7[_0x26f382(0x231)],_0x4c0928=_0x3ab6f8['WordArray'],_0xa4d235=_0x3ab6f8[_0x26f382(0x233)],_0x53233f=_0x56e8f7[_0x26f382(0x33d)],_0x402b3e=[];(function(){var _0x31cdd4=_0x26f382;for(var _0x4ea200=0x0;_0x4ea200<0x40;_0x4ea200++)_0x402b3e[_0x4ea200]=_0x1578cc[_0x31cdd4(0x3dc)](_0x1578cc[_0x31cdd4(0x46d)](_0x4ea200+0x1))*0x100000000|0x0;}());var _0x1c554d=_0x53233f[_0x26f382(0x411)]=_0xa4d235[_0x26f382(0x262)]({'_doReset':function(){var _0x6f0d42=_0x26f382;this[_0x6f0d42(0x247)]=new _0x4c0928['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x201b5c,_0x52607c){var _0x1dbc2f=_0x26f382;for(var _0x385309=0x0;_0x385309<0x10;_0x385309++){var _0xf36ead=_0x52607c+_0x385309,_0x5a964a=_0x201b5c[_0xf36ead];_0x201b5c[_0xf36ead]=(_0x5a964a<<0x8|_0x5a964a>>>0x18)&0xff00ff|(_0x5a964a<<0x18|_0x5a964a>>>0x8)&0xff00ff00;}var _0x41f54b=this[_0x1dbc2f(0x247)][_0x1dbc2f(0x2dc)],_0x2f549b=_0x201b5c[_0x52607c+0x0],_0x12108d=_0x201b5c[_0x52607c+0x1],_0x2b13ad=_0x201b5c[_0x52607c+0x2],_0x383ae1=_0x201b5c[_0x52607c+0x3],_0x2a1d4a=_0x201b5c[_0x52607c+0x4],_0x3ab226=_0x201b5c[_0x52607c+0x5],_0xcd50f3=_0x201b5c[_0x52607c+0x6],_0x3ad6a2=_0x201b5c[_0x52607c+0x7],_0xb22823=_0x201b5c[_0x52607c+0x8],_0x29a8a9=_0x201b5c[_0x52607c+0x9],_0x4b105a=_0x201b5c[_0x52607c+0xa],_0x44cd99=_0x201b5c[_0x52607c+0xb],_0x26b2f9=_0x201b5c[_0x52607c+0xc],_0x47ed5b=_0x201b5c[_0x52607c+0xd],_0x3a901f=_0x201b5c[_0x52607c+0xe],_0x43d075=_0x201b5c[_0x52607c+0xf],_0x9ad97c=_0x41f54b[0x0],_0x363df8=_0x41f54b[0x1],_0x4a8849=_0x41f54b[0x2],_0x17b7f6=_0x41f54b[0x3];_0x9ad97c=_0x4c0b9c(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x2f549b,0x7,_0x402b3e[0x0]),_0x17b7f6=_0x4c0b9c(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x12108d,0xc,_0x402b3e[0x1]),_0x4a8849=_0x4c0b9c(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x2b13ad,0x11,_0x402b3e[0x2]),_0x363df8=_0x4c0b9c(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x383ae1,0x16,_0x402b3e[0x3]),_0x9ad97c=_0x4c0b9c(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x2a1d4a,0x7,_0x402b3e[0x4]),_0x17b7f6=_0x4c0b9c(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x3ab226,0xc,_0x402b3e[0x5]),_0x4a8849=_0x4c0b9c(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0xcd50f3,0x11,_0x402b3e[0x6]),_0x363df8=_0x4c0b9c(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x3ad6a2,0x16,_0x402b3e[0x7]),_0x9ad97c=_0x4c0b9c(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0xb22823,0x7,_0x402b3e[0x8]),_0x17b7f6=_0x4c0b9c(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x29a8a9,0xc,_0x402b3e[0x9]),_0x4a8849=_0x4c0b9c(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x4b105a,0x11,_0x402b3e[0xa]),_0x363df8=_0x4c0b9c(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x44cd99,0x16,_0x402b3e[0xb]),_0x9ad97c=_0x4c0b9c(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x26b2f9,0x7,_0x402b3e[0xc]),_0x17b7f6=_0x4c0b9c(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x47ed5b,0xc,_0x402b3e[0xd]),_0x4a8849=_0x4c0b9c(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x3a901f,0x11,_0x402b3e[0xe]),_0x363df8=_0x4c0b9c(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x43d075,0x16,_0x402b3e[0xf]),_0x9ad97c=_0x4e12a2(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x12108d,0x5,_0x402b3e[0x10]),_0x17b7f6=_0x4e12a2(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0xcd50f3,0x9,_0x402b3e[0x11]),_0x4a8849=_0x4e12a2(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x44cd99,0xe,_0x402b3e[0x12]),_0x363df8=_0x4e12a2(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x2f549b,0x14,_0x402b3e[0x13]),_0x9ad97c=_0x4e12a2(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x3ab226,0x5,_0x402b3e[0x14]),_0x17b7f6=_0x4e12a2(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x4b105a,0x9,_0x402b3e[0x15]),_0x4a8849=_0x4e12a2(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x43d075,0xe,_0x402b3e[0x16]),_0x363df8=_0x4e12a2(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x2a1d4a,0x14,_0x402b3e[0x17]),_0x9ad97c=_0x4e12a2(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x29a8a9,0x5,_0x402b3e[0x18]),_0x17b7f6=_0x4e12a2(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x3a901f,0x9,_0x402b3e[0x19]),_0x4a8849=_0x4e12a2(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x383ae1,0xe,_0x402b3e[0x1a]),_0x363df8=_0x4e12a2(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0xb22823,0x14,_0x402b3e[0x1b]),_0x9ad97c=_0x4e12a2(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x47ed5b,0x5,_0x402b3e[0x1c]),_0x17b7f6=_0x4e12a2(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x2b13ad,0x9,_0x402b3e[0x1d]),_0x4a8849=_0x4e12a2(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x3ad6a2,0xe,_0x402b3e[0x1e]),_0x363df8=_0x4e12a2(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x26b2f9,0x14,_0x402b3e[0x1f]),_0x9ad97c=_0x1ffac3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x3ab226,0x4,_0x402b3e[0x20]),_0x17b7f6=_0x1ffac3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0xb22823,0xb,_0x402b3e[0x21]),_0x4a8849=_0x1ffac3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x44cd99,0x10,_0x402b3e[0x22]),_0x363df8=_0x1ffac3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x3a901f,0x17,_0x402b3e[0x23]),_0x9ad97c=_0x1ffac3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x12108d,0x4,_0x402b3e[0x24]),_0x17b7f6=_0x1ffac3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x2a1d4a,0xb,_0x402b3e[0x25]),_0x4a8849=_0x1ffac3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x3ad6a2,0x10,_0x402b3e[0x26]),_0x363df8=_0x1ffac3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x4b105a,0x17,_0x402b3e[0x27]),_0x9ad97c=_0x1ffac3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x47ed5b,0x4,_0x402b3e[0x28]),_0x17b7f6=_0x1ffac3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x2f549b,0xb,_0x402b3e[0x29]),_0x4a8849=_0x1ffac3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x383ae1,0x10,_0x402b3e[0x2a]),_0x363df8=_0x1ffac3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0xcd50f3,0x17,_0x402b3e[0x2b]),_0x9ad97c=_0x1ffac3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x29a8a9,0x4,_0x402b3e[0x2c]),_0x17b7f6=_0x1ffac3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x26b2f9,0xb,_0x402b3e[0x2d]),_0x4a8849=_0x1ffac3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x43d075,0x10,_0x402b3e[0x2e]),_0x363df8=_0x1ffac3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x2b13ad,0x17,_0x402b3e[0x2f]),_0x9ad97c=_0x753f3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x2f549b,0x6,_0x402b3e[0x30]),_0x17b7f6=_0x753f3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x3ad6a2,0xa,_0x402b3e[0x31]),_0x4a8849=_0x753f3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x3a901f,0xf,_0x402b3e[0x32]),_0x363df8=_0x753f3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x3ab226,0x15,_0x402b3e[0x33]),_0x9ad97c=_0x753f3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x26b2f9,0x6,_0x402b3e[0x34]),_0x17b7f6=_0x753f3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x383ae1,0xa,_0x402b3e[0x35]),_0x4a8849=_0x753f3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x4b105a,0xf,_0x402b3e[0x36]),_0x363df8=_0x753f3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x12108d,0x15,_0x402b3e[0x37]),_0x9ad97c=_0x753f3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0xb22823,0x6,_0x402b3e[0x38]),_0x17b7f6=_0x753f3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x43d075,0xa,_0x402b3e[0x39]),_0x4a8849=_0x753f3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0xcd50f3,0xf,_0x402b3e[0x3a]),_0x363df8=_0x753f3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x47ed5b,0x15,_0x402b3e[0x3b]),_0x9ad97c=_0x753f3(_0x9ad97c,_0x363df8,_0x4a8849,_0x17b7f6,_0x2a1d4a,0x6,_0x402b3e[0x3c]),_0x17b7f6=_0x753f3(_0x17b7f6,_0x9ad97c,_0x363df8,_0x4a8849,_0x44cd99,0xa,_0x402b3e[0x3d]),_0x4a8849=_0x753f3(_0x4a8849,_0x17b7f6,_0x9ad97c,_0x363df8,_0x2b13ad,0xf,_0x402b3e[0x3e]),_0x363df8=_0x753f3(_0x363df8,_0x4a8849,_0x17b7f6,_0x9ad97c,_0x29a8a9,0x15,_0x402b3e[0x3f]),_0x41f54b[0x0]=_0x41f54b[0x0]+_0x9ad97c|0x0,_0x41f54b[0x1]=_0x41f54b[0x1]+_0x363df8|0x0,_0x41f54b[0x2]=_0x41f54b[0x2]+_0x4a8849|0x0,_0x41f54b[0x3]=_0x41f54b[0x3]+_0x17b7f6|0x0;},'_doFinalize':function(){var _0x300eab=_0x26f382,_0x48e355=this[_0x300eab(0x235)],_0x3fc679=_0x48e355[_0x300eab(0x2dc)],_0xd6635d=this['_nDataBytes']*0x8,_0x18b611=_0x48e355[_0x300eab(0x264)]*0x8;_0x3fc679[_0x18b611>>>0x5]|=0x80<<0x18-_0x18b611%0x20;var _0x58a9e9=_0x1578cc[_0x300eab(0x15f)](_0xd6635d/0x100000000),_0xd592bf=_0xd6635d;_0x3fc679[(_0x18b611+0x40>>>0x9<<0x4)+0xf]=(_0x58a9e9<<0x8|_0x58a9e9>>>0x18)&0xff00ff|(_0x58a9e9<<0x18|_0x58a9e9>>>0x8)&0xff00ff00,_0x3fc679[(_0x18b611+0x40>>>0x9<<0x4)+0xe]=(_0xd592bf<<0x8|_0xd592bf>>>0x18)&0xff00ff|(_0xd592bf<<0x18|_0xd592bf>>>0x8)&0xff00ff00,_0x48e355[_0x300eab(0x264)]=(_0x3fc679[_0x300eab(0x2c6)]+0x1)*0x4,this[_0x300eab(0x429)]();for(var _0x270d02=this[_0x300eab(0x247)],_0x536378=_0x270d02['words'],_0x2c563b=0x0;_0x2c563b<0x4;_0x2c563b++){var _0x3c51fd=_0x536378[_0x2c563b];_0x536378[_0x2c563b]=(_0x3c51fd<<0x8|_0x3c51fd>>>0x18)&0xff00ff|(_0x3c51fd<<0x18|_0x3c51fd>>>0x8)&0xff00ff00;}return _0x270d02;},'clone':function(){var _0x43e782=_0x26f382,_0x1fc155=_0xa4d235[_0x43e782(0x254)][_0x43e782(0x341)](this);return _0x1fc155[_0x43e782(0x247)]=this[_0x43e782(0x247)][_0x43e782(0x254)](),_0x1fc155;}});function _0x4c0b9c(_0x1bfcad,_0x68bbad,_0x3bd43d,_0x516066,_0x3fe9ed,_0x4d360f,_0x44c241){var _0x4d67f7=_0x1bfcad+(_0x68bbad&_0x3bd43d|~_0x68bbad&_0x516066)+_0x3fe9ed+_0x44c241;return(_0x4d67f7<<_0x4d360f|_0x4d67f7>>>0x20-_0x4d360f)+_0x68bbad;}function _0x4e12a2(_0x379453,_0x28c95f,_0x1860f1,_0x1e082b,_0x20a187,_0x26bff8,_0x5b7c22){var _0x16905c=_0x379453+(_0x28c95f&_0x1e082b|_0x1860f1&~_0x1e082b)+_0x20a187+_0x5b7c22;return(_0x16905c<<_0x26bff8|_0x16905c>>>0x20-_0x26bff8)+_0x28c95f;}function _0x1ffac3(_0x49ed3f,_0x62d981,_0x2b917b,_0x56d985,_0x2f5b54,_0x5163b8,_0x27fc1f){var _0x44f35a=_0x49ed3f+(_0x62d981^_0x2b917b^_0x56d985)+_0x2f5b54+_0x27fc1f;return(_0x44f35a<<_0x5163b8|_0x44f35a>>>0x20-_0x5163b8)+_0x62d981;}function _0x753f3(_0x979e23,_0x17aafa,_0x3f622e,_0x52c591,_0x31b17f,_0x540ee7,_0x5b5e42){var _0x9317cb=_0x979e23+(_0x3f622e^(_0x17aafa|~_0x52c591))+_0x31b17f+_0x5b5e42;return(_0x9317cb<<_0x540ee7|_0x9317cb>>>0x20-_0x540ee7)+_0x17aafa;}_0x56e8f7['MD5']=_0xa4d235[_0x26f382(0x3fa)](_0x1c554d),_0x56e8f7['HmacMD5']=_0xa4d235[_0x26f382(0x1d5)](_0x1c554d);}(Math),_0x3bc021['MD5'];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x2a1005(0x372)],Jt;function un(){return Jt||(Jt=0x1,function(_0x14a64b,_0x2df14a){(function(_0x4f458c,_0x2eee53){_0x14a64b['exports']=_0x2eee53(ie());}(ln,function(_0x17c113){var _0x2f8112=_0x44d6;return(function(){var _0x182d8d=_0x44d6,_0x3ec863=_0x17c113,_0x544cce=_0x3ec863[_0x182d8d(0x231)],_0x2a3e9d=_0x544cce[_0x182d8d(0x42f)],_0x117549=_0x544cce[_0x182d8d(0x233)],_0x2db5b0=_0x3ec863['algo'],_0x462e27=[],_0x2cce98=_0x2db5b0['SHA1']=_0x117549[_0x182d8d(0x262)]({'_doReset':function(){var _0x5a2667=_0x182d8d;this[_0x5a2667(0x247)]=new _0x2a3e9d[(_0x5a2667(0x15e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x427541,_0x4cec44){var _0x321034=_0x182d8d;for(var _0x38f38b=this['_hash'][_0x321034(0x2dc)],_0x4cfd74=_0x38f38b[0x0],_0x5f121d=_0x38f38b[0x1],_0x16c178=_0x38f38b[0x2],_0x11ee19=_0x38f38b[0x3],_0x18fe82=_0x38f38b[0x4],_0x5c34d9=0x0;_0x5c34d9<0x50;_0x5c34d9++){if(_0x5c34d9<0x10)_0x462e27[_0x5c34d9]=_0x427541[_0x4cec44+_0x5c34d9]|0x0;else{var _0x3f72b5=_0x462e27[_0x5c34d9-0x3]^_0x462e27[_0x5c34d9-0x8]^_0x462e27[_0x5c34d9-0xe]^_0x462e27[_0x5c34d9-0x10];_0x462e27[_0x5c34d9]=_0x3f72b5<<0x1|_0x3f72b5>>>0x1f;}var _0x1e1380=(_0x4cfd74<<0x5|_0x4cfd74>>>0x1b)+_0x18fe82+_0x462e27[_0x5c34d9];_0x5c34d9<0x14?_0x1e1380+=(_0x5f121d&_0x16c178|~_0x5f121d&_0x11ee19)+0x5a827999:_0x5c34d9<0x28?_0x1e1380+=(_0x5f121d^_0x16c178^_0x11ee19)+0x6ed9eba1:_0x5c34d9<0x3c?_0x1e1380+=(_0x5f121d&_0x16c178|_0x5f121d&_0x11ee19|_0x16c178&_0x11ee19)-0x70e44324:_0x1e1380+=(_0x5f121d^_0x16c178^_0x11ee19)-0x359d3e2a,_0x18fe82=_0x11ee19,_0x11ee19=_0x16c178,_0x16c178=_0x5f121d<<0x1e|_0x5f121d>>>0x2,_0x5f121d=_0x4cfd74,_0x4cfd74=_0x1e1380;}_0x38f38b[0x0]=_0x38f38b[0x0]+_0x4cfd74|0x0,_0x38f38b[0x1]=_0x38f38b[0x1]+_0x5f121d|0x0,_0x38f38b[0x2]=_0x38f38b[0x2]+_0x16c178|0x0,_0x38f38b[0x3]=_0x38f38b[0x3]+_0x11ee19|0x0,_0x38f38b[0x4]=_0x38f38b[0x4]+_0x18fe82|0x0;},'_doFinalize':function(){var _0x12bd44=_0x182d8d,_0x12aff8=this['_data'],_0x4ea3c8=_0x12aff8[_0x12bd44(0x2dc)],_0x39c0d9=this[_0x12bd44(0x182)]*0x8,_0x337a5e=_0x12aff8[_0x12bd44(0x264)]*0x8;return _0x4ea3c8[_0x337a5e>>>0x5]|=0x80<<0x18-_0x337a5e%0x20,_0x4ea3c8[(_0x337a5e+0x40>>>0x9<<0x4)+0xe]=Math[_0x12bd44(0x15f)](_0x39c0d9/0x100000000),_0x4ea3c8[(_0x337a5e+0x40>>>0x9<<0x4)+0xf]=_0x39c0d9,_0x12aff8[_0x12bd44(0x264)]=_0x4ea3c8['length']*0x4,this[_0x12bd44(0x429)](),this[_0x12bd44(0x247)];},'clone':function(){var _0x109ac5=_0x182d8d,_0x1f0de2=_0x117549[_0x109ac5(0x254)]['call'](this);return _0x1f0de2[_0x109ac5(0x247)]=this[_0x109ac5(0x247)]['clone'](),_0x1f0de2;}});_0x3ec863[_0x182d8d(0x2b6)]=_0x117549[_0x182d8d(0x3fa)](_0x2cce98),_0x3ec863[_0x182d8d(0x1ea)]=_0x117549['_createHmacHelper'](_0x2cce98);}()),_0x17c113[_0x2f8112(0x2b6)];}));}(qe)),qe['exports'];}var ze={'exports':{}},dn=ze[_0x2a1005(0x372)],Xt;function fn(){var _0x343d3d=_0x2a1005;return Xt||(Xt=0x1,function(_0x270e16,_0x4f6aa2){(function(_0x22c03d,_0x135d25){var _0xd7b3c7=_0x44d6;_0x270e16[_0xd7b3c7(0x372)]=_0x135d25(ie());}(dn,function(_0x23cdb4){(function(){var _0x11aa59=_0x44d6,_0x34c225=_0x23cdb4,_0x41cc88=_0x34c225[_0x11aa59(0x231)],_0x1f1823=_0x41cc88[_0x11aa59(0x299)],_0x35e495=_0x34c225[_0x11aa59(0x297)],_0x3dcb6c=_0x35e495[_0x11aa59(0x3de)],_0x30ff65=_0x34c225[_0x11aa59(0x33d)];_0x30ff65[_0x11aa59(0x393)]=_0x1f1823['extend']({'init':function(_0x5df189,_0x1d3577){var _0x584d1e=_0x11aa59;_0x5df189=this[_0x584d1e(0x408)]=new _0x5df189[(_0x584d1e(0x15e))](),typeof _0x1d3577==_0x584d1e(0x356)&&(_0x1d3577=_0x3dcb6c[_0x584d1e(0x3d4)](_0x1d3577));var _0x5a59a7=_0x5df189[_0x584d1e(0x45e)],_0x59e72c=_0x5a59a7*0x4;_0x1d3577[_0x584d1e(0x264)]>_0x59e72c&&(_0x1d3577=_0x5df189[_0x584d1e(0x22e)](_0x1d3577)),_0x1d3577[_0x584d1e(0x353)]();for(var _0x2439da=this[_0x584d1e(0x1c8)]=_0x1d3577[_0x584d1e(0x254)](),_0x39d0ea=this[_0x584d1e(0x3fb)]=_0x1d3577[_0x584d1e(0x254)](),_0x4787c6=_0x2439da[_0x584d1e(0x2dc)],_0x8f5e07=_0x39d0ea[_0x584d1e(0x2dc)],_0x37a7c4=0x0;_0x37a7c4<_0x5a59a7;_0x37a7c4++)_0x4787c6[_0x37a7c4]^=0x5c5c5c5c,_0x8f5e07[_0x37a7c4]^=0x36363636;_0x2439da[_0x584d1e(0x264)]=_0x39d0ea['sigBytes']=_0x59e72c,this[_0x584d1e(0x23a)]();},'reset':function(){var _0x28d903=_0x11aa59,_0x3ab894=this[_0x28d903(0x408)];_0x3ab894['reset'](),_0x3ab894[_0x28d903(0x176)](this[_0x28d903(0x3fb)]);},'update':function(_0x3f0b8c){var _0x5744bc=_0x11aa59;return this[_0x5744bc(0x408)][_0x5744bc(0x176)](_0x3f0b8c),this;},'finalize':function(_0x29d284){var _0x473885=_0x11aa59,_0x40d220=this['_hasher'],_0x1feb17=_0x40d220[_0x473885(0x22e)](_0x29d284);_0x40d220[_0x473885(0x23a)]();var _0x4a5685=_0x40d220['finalize'](this[_0x473885(0x1c8)][_0x473885(0x254)]()[_0x473885(0x236)](_0x1feb17));return _0x4a5685;}});}());}));}(ze)),ze[_0x343d3d(0x372)];}var vn=Ke[_0x2a1005(0x372)],Zt;function Ci(){return Zt||(Zt=0x1,function(_0x2dc048,_0x1d0f07){(function(_0x420613,_0x4251f4,_0x35063a){_0x2dc048['exports']=_0x4251f4(ie(),un(),fn());}(vn,function(_0x3571d9){return(function(){var _0x203130=_0x44d6,_0x2261f7=_0x3571d9,_0x497d3a=_0x2261f7['lib'],_0x371e68=_0x497d3a[_0x203130(0x299)],_0x38366e=_0x497d3a['WordArray'],_0xf63946=_0x2261f7['algo'],_0x327b3b=_0xf63946[_0x203130(0x411)],_0x2a1e5c=_0xf63946[_0x203130(0x40e)]=_0x371e68[_0x203130(0x262)]({'cfg':_0x371e68[_0x203130(0x262)]({'keySize':0x80/0x20,'hasher':_0x327b3b,'iterations':0x1}),'init':function(_0x5474e2){var _0x45ccfa=_0x203130;this[_0x45ccfa(0x38a)]=this['cfg']['extend'](_0x5474e2);},'compute':function(_0x5b3e50,_0x2efe3c){var _0x2142d9=_0x203130;for(var _0x24acd3,_0xada666=this[_0x2142d9(0x38a)],_0x31d4a7=_0xada666['hasher'][_0x2142d9(0x268)](),_0x13135f=_0x38366e[_0x2142d9(0x268)](),_0x578a46=_0x13135f[_0x2142d9(0x2dc)],_0xfe7a28=_0xada666[_0x2142d9(0x44a)],_0x44a7bd=_0xada666['iterations'];_0x578a46[_0x2142d9(0x2c6)]<_0xfe7a28;){_0x24acd3&&_0x31d4a7['update'](_0x24acd3),_0x24acd3=_0x31d4a7[_0x2142d9(0x176)](_0x5b3e50)[_0x2142d9(0x22e)](_0x2efe3c),_0x31d4a7[_0x2142d9(0x23a)]();for(var _0xf4e017=0x1;_0xf4e017<_0x44a7bd;_0xf4e017++)_0x24acd3=_0x31d4a7[_0x2142d9(0x22e)](_0x24acd3),_0x31d4a7[_0x2142d9(0x23a)]();_0x13135f[_0x2142d9(0x236)](_0x24acd3);}return _0x13135f[_0x2142d9(0x264)]=_0xfe7a28*0x4,_0x13135f;}});_0x2261f7[_0x203130(0x40e)]=function(_0x5de924,_0x36d749,_0x1c5074){var _0x2ce6cc=_0x203130;return _0x2a1e5c['create'](_0x1c5074)[_0x2ce6cc(0x413)](_0x5de924,_0x36d749);};}()),_0x3571d9['EvpKDF'];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},pn=Je['exports'],Qt;function Ni(){return Qt||(Qt=0x1,function(_0x1a904b,_0x26b35e){(function(_0x21d67c,_0x5cce67,_0x263481){var _0x267f7a=_0x44d6;_0x1a904b[_0x267f7a(0x372)]=_0x5cce67(ie(),Ci());}(pn,function(_0x46da98){var _0x4fef1f=_0x44d6;_0x46da98[_0x4fef1f(0x231)][_0x4fef1f(0x35b)]||function(_0x27667a){var _0x2cb3cc=_0x4fef1f,_0x59e1b7=_0x46da98,_0x90106d=_0x59e1b7[_0x2cb3cc(0x231)],_0x778671=_0x90106d[_0x2cb3cc(0x299)],_0x1cd03a=_0x90106d['WordArray'],_0xbf6ad=_0x90106d[_0x2cb3cc(0x258)],_0x34946d=_0x59e1b7[_0x2cb3cc(0x297)];_0x34946d[_0x2cb3cc(0x3de)];var _0x4ed434=_0x34946d[_0x2cb3cc(0x3c4)],_0x4f1ce6=_0x59e1b7[_0x2cb3cc(0x33d)],_0x4e158=_0x4f1ce6['EvpKDF'],_0x3becff=_0x90106d[_0x2cb3cc(0x35b)]=_0xbf6ad[_0x2cb3cc(0x262)]({'cfg':_0x778671[_0x2cb3cc(0x262)](),'createEncryptor':function(_0x1d389c,_0x414d88){var _0x38f100=_0x2cb3cc;return this[_0x38f100(0x268)](this[_0x38f100(0x29c)],_0x1d389c,_0x414d88);},'createDecryptor':function(_0x4281a6,_0x19d5ba){var _0x4ce031=_0x2cb3cc;return this[_0x4ce031(0x268)](this['_DEC_XFORM_MODE'],_0x4281a6,_0x19d5ba);},'init':function(_0x4d5287,_0x594e5f,_0x2f7dbb){var _0x406c33=_0x2cb3cc;this['cfg']=this[_0x406c33(0x38a)][_0x406c33(0x262)](_0x2f7dbb),this[_0x406c33(0x3aa)]=_0x4d5287,this[_0x406c33(0x2d1)]=_0x594e5f,this['reset']();},'reset':function(){var _0x51b889=_0x2cb3cc;_0xbf6ad[_0x51b889(0x23a)][_0x51b889(0x341)](this),this[_0x51b889(0x465)]();},'process':function(_0x4f16e4){var _0x4fce92=_0x2cb3cc;return this[_0x4fce92(0x381)](_0x4f16e4),this[_0x4fce92(0x429)]();},'finalize':function(_0x11f6ee){_0x11f6ee&&this['_append'](_0x11f6ee);var _0x191c1f=this['_doFinalize']();return _0x191c1f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2e8b08(_0x3839aa){return typeof _0x3839aa=='string'?_0x1cc4ce:_0x1ff13b;}return function(_0x4a7fef){return{'encrypt':function(_0x1babca,_0x50e5f0,_0x3f7e59){var _0x33ead7=_0x44d6;return _0x2e8b08(_0x50e5f0)[_0x33ead7(0x448)](_0x4a7fef,_0x1babca,_0x50e5f0,_0x3f7e59);},'decrypt':function(_0xccfe03,_0x49a0a9,_0x12a774){return _0x2e8b08(_0x49a0a9)['decrypt'](_0x4a7fef,_0xccfe03,_0x49a0a9,_0x12a774);}};};}())});_0x90106d['StreamCipher']=_0x3becff[_0x2cb3cc(0x262)]({'_doFinalize':function(){var _0x241446=this['_process'](!0x0);return _0x241446;},'blockSize':0x1});var _0x41a2f1=_0x59e1b7['mode']={},_0x1d00e0=_0x90106d[_0x2cb3cc(0x196)]=_0x778671['extend']({'createEncryptor':function(_0x370d14,_0x855b99){var _0x674d36=_0x2cb3cc;return this[_0x674d36(0x3c9)][_0x674d36(0x268)](_0x370d14,_0x855b99);},'createDecryptor':function(_0x3688af,_0x1b7294){var _0x4fd182=_0x2cb3cc;return this[_0x4fd182(0x2ea)][_0x4fd182(0x268)](_0x3688af,_0x1b7294);},'init':function(_0x15466c,_0x1657f0){var _0x48232f=_0x2cb3cc;this['_cipher']=_0x15466c,this[_0x48232f(0x3e9)]=_0x1657f0;}}),_0x31e295=_0x41a2f1[_0x2cb3cc(0x21c)]=(function(){var _0x29ee33=_0x2cb3cc,_0x272d59=_0x1d00e0['extend']();_0x272d59['Encryptor']=_0x272d59[_0x29ee33(0x262)]({'processBlock':function(_0x31445d,_0x155ea2){var _0x3a070b=_0x29ee33,_0x1091df=this[_0x3a070b(0x457)],_0x254076=_0x1091df['blockSize'];_0x57f653[_0x3a070b(0x341)](this,_0x31445d,_0x155ea2,_0x254076),_0x1091df[_0x3a070b(0x2e9)](_0x31445d,_0x155ea2),this[_0x3a070b(0x330)]=_0x31445d[_0x3a070b(0x3d0)](_0x155ea2,_0x155ea2+_0x254076);}}),_0x272d59[_0x29ee33(0x2ea)]=_0x272d59[_0x29ee33(0x262)]({'processBlock':function(_0x84b447,_0x288845){var _0x3a526f=_0x29ee33,_0x48e4d0=this[_0x3a526f(0x457)],_0x133654=_0x48e4d0[_0x3a526f(0x45e)],_0x196ca1=_0x84b447['slice'](_0x288845,_0x288845+_0x133654);_0x48e4d0[_0x3a526f(0x3be)](_0x84b447,_0x288845),_0x57f653[_0x3a526f(0x341)](this,_0x84b447,_0x288845,_0x133654),this[_0x3a526f(0x330)]=_0x196ca1;}});function _0x57f653(_0x2ab57f,_0x57d511,_0x20571b){var _0x403fd1=_0x29ee33,_0xe22432,_0x110dba=this['_iv'];_0x110dba?(_0xe22432=_0x110dba,this[_0x403fd1(0x3e9)]=_0x27667a):_0xe22432=this['_prevBlock'];for(var _0x196900=0x0;_0x196900<_0x20571b;_0x196900++)_0x2ab57f[_0x57d511+_0x196900]^=_0xe22432[_0x196900];}return _0x272d59;}()),_0x3abac2=_0x59e1b7[_0x2cb3cc(0x350)]={},_0x63433=_0x3abac2[_0x2cb3cc(0x436)]={'pad':function(_0x18debd,_0x2a3126){var _0x4fc89b=_0x2cb3cc;for(var _0x38a221=_0x2a3126*0x4,_0x133640=_0x38a221-_0x18debd[_0x4fc89b(0x264)]%_0x38a221,_0x10c9cf=_0x133640<<0x18|_0x133640<<0x10|_0x133640<<0x8|_0x133640,_0xca88b4=[],_0x4ab4d9=0x0;_0x4ab4d9<_0x133640;_0x4ab4d9+=0x4)_0xca88b4[_0x4fc89b(0x2c4)](_0x10c9cf);var _0x5d151b=_0x1cd03a[_0x4fc89b(0x268)](_0xca88b4,_0x133640);_0x18debd[_0x4fc89b(0x236)](_0x5d151b);},'unpad':function(_0x46bc32){var _0x30e4dd=_0x2cb3cc,_0x49767d=_0x46bc32[_0x30e4dd(0x2dc)][_0x46bc32['sigBytes']-0x1>>>0x2]&0xff;_0x46bc32[_0x30e4dd(0x264)]-=_0x49767d;}};_0x90106d[_0x2cb3cc(0x2d5)]=_0x3becff['extend']({'cfg':_0x3becff['cfg'][_0x2cb3cc(0x262)]({'mode':_0x31e295,'padding':_0x63433}),'reset':function(){var _0x275ee3=_0x2cb3cc,_0x3c4728;_0x3becff[_0x275ee3(0x23a)]['call'](this);var _0x35b58c=this[_0x275ee3(0x38a)],_0x519508=_0x35b58c['iv'],_0x346fd9=_0x35b58c['mode'];this[_0x275ee3(0x3aa)]==this[_0x275ee3(0x29c)]?_0x3c4728=_0x346fd9[_0x275ee3(0x369)]:(_0x3c4728=_0x346fd9[_0x275ee3(0x1ba)],this[_0x275ee3(0x2a0)]=0x1),this[_0x275ee3(0x31c)]&&this[_0x275ee3(0x31c)][_0x275ee3(0x1d8)]==_0x3c4728?this[_0x275ee3(0x31c)][_0x275ee3(0x15e)](this,_0x519508&&_0x519508[_0x275ee3(0x2dc)]):(this[_0x275ee3(0x31c)]=_0x3c4728[_0x275ee3(0x341)](_0x346fd9,this,_0x519508&&_0x519508[_0x275ee3(0x2dc)]),this[_0x275ee3(0x31c)]['__creator']=_0x3c4728);},'_doProcessBlock':function(_0x442afb,_0x24bd19){var _0x2c356a=_0x2cb3cc;this['_mode'][_0x2c356a(0x188)](_0x442afb,_0x24bd19);},'_doFinalize':function(){var _0x113f1e=_0x2cb3cc,_0x1168b9,_0x27ff9c=this[_0x113f1e(0x38a)][_0x113f1e(0x3a8)];return this[_0x113f1e(0x3aa)]==this[_0x113f1e(0x29c)]?(_0x27ff9c[_0x113f1e(0x350)](this[_0x113f1e(0x235)],this[_0x113f1e(0x45e)]),_0x1168b9=this[_0x113f1e(0x429)](!0x0)):(_0x1168b9=this[_0x113f1e(0x429)](!0x0),_0x27ff9c['unpad'](_0x1168b9)),_0x1168b9;},'blockSize':0x80/0x20});var _0x317609=_0x90106d['CipherParams']=_0x778671['extend']({'init':function(_0x23751f){var _0x3c2a05=_0x2cb3cc;this[_0x3c2a05(0x28a)](_0x23751f);},'toString':function(_0x3e1375){var _0x222255=_0x2cb3cc;return(_0x3e1375||this[_0x222255(0x403)])[_0x222255(0x17a)](this);}}),_0x4b9fa8=_0x59e1b7[_0x2cb3cc(0x1a4)]={},_0x249b45=_0x4b9fa8[_0x2cb3cc(0x467)]={'stringify':function(_0x2c928d){var _0x57ec2b=_0x2cb3cc,_0x35bda2,_0x481aa8=_0x2c928d[_0x57ec2b(0x253)],_0x28a99a=_0x2c928d['salt'];return _0x28a99a?_0x35bda2=_0x1cd03a[_0x57ec2b(0x268)]([0x53616c74,0x65645f5f])[_0x57ec2b(0x236)](_0x28a99a)[_0x57ec2b(0x236)](_0x481aa8):_0x35bda2=_0x481aa8,_0x35bda2['toString'](_0x4ed434);},'parse':function(_0x32447e){var _0x260223=_0x2cb3cc,_0x1a8932,_0x368e3d=_0x4ed434[_0x260223(0x3d4)](_0x32447e),_0x191af3=_0x368e3d[_0x260223(0x2dc)];return _0x191af3[0x0]==0x53616c74&&_0x191af3[0x1]==0x65645f5f&&(_0x1a8932=_0x1cd03a[_0x260223(0x268)](_0x191af3[_0x260223(0x3d0)](0x2,0x4)),_0x191af3[_0x260223(0x425)](0x0,0x4),_0x368e3d[_0x260223(0x264)]-=0x10),_0x317609[_0x260223(0x268)]({'ciphertext':_0x368e3d,'salt':_0x1a8932});}},_0x1ff13b=_0x90106d[_0x2cb3cc(0x3e0)]=_0x778671[_0x2cb3cc(0x262)]({'cfg':_0x778671['extend']({'format':_0x249b45}),'encrypt':function(_0x140044,_0x2ef457,_0x390ad2,_0x2d2992){var _0x443075=_0x2cb3cc;_0x2d2992=this[_0x443075(0x38a)][_0x443075(0x262)](_0x2d2992);var _0x516685=_0x140044[_0x443075(0x369)](_0x390ad2,_0x2d2992),_0x213d7d=_0x516685[_0x443075(0x22e)](_0x2ef457),_0x28a6a6=_0x516685[_0x443075(0x38a)];return _0x317609[_0x443075(0x268)]({'ciphertext':_0x213d7d,'key':_0x390ad2,'iv':_0x28a6a6['iv'],'algorithm':_0x140044,'mode':_0x28a6a6[_0x443075(0x419)],'padding':_0x28a6a6[_0x443075(0x3a8)],'blockSize':_0x140044['blockSize'],'formatter':_0x2d2992['format']});},'decrypt':function(_0x3ba6ac,_0x1fc635,_0x40b749,_0x570465){var _0x4691b9=_0x2cb3cc;_0x570465=this[_0x4691b9(0x38a)][_0x4691b9(0x262)](_0x570465),_0x1fc635=this[_0x4691b9(0x3c1)](_0x1fc635,_0x570465['format']);var _0xc3f583=_0x3ba6ac['createDecryptor'](_0x40b749,_0x570465)['finalize'](_0x1fc635['ciphertext']);return _0xc3f583;},'_parse':function(_0x1dea22,_0x16da75){var _0x9147f4=_0x2cb3cc;return typeof _0x1dea22=='string'?_0x16da75[_0x9147f4(0x3d4)](_0x1dea22,this):_0x1dea22;}}),_0x19b4da=_0x59e1b7[_0x2cb3cc(0x289)]={},_0x27c787=_0x19b4da[_0x2cb3cc(0x467)]={'execute':function(_0x5e3840,_0x125304,_0x113a11,_0x196184,_0x4cc903){var _0x527b6b=_0x2cb3cc;if(_0x196184||(_0x196184=_0x1cd03a[_0x527b6b(0x366)](0x40/0x8)),_0x4cc903)var _0x5986e2=_0x4e158['create']({'keySize':_0x125304+_0x113a11,'hasher':_0x4cc903})[_0x527b6b(0x413)](_0x5e3840,_0x196184);else var _0x5986e2=_0x4e158[_0x527b6b(0x268)]({'keySize':_0x125304+_0x113a11})[_0x527b6b(0x413)](_0x5e3840,_0x196184);var _0x243f7e=_0x1cd03a[_0x527b6b(0x268)](_0x5986e2[_0x527b6b(0x2dc)][_0x527b6b(0x3d0)](_0x125304),_0x113a11*0x4);return _0x5986e2[_0x527b6b(0x264)]=_0x125304*0x4,_0x317609[_0x527b6b(0x268)]({'key':_0x5986e2,'iv':_0x243f7e,'salt':_0x196184});}},_0x1cc4ce=_0x90106d[_0x2cb3cc(0x44d)]=_0x1ff13b['extend']({'cfg':_0x1ff13b[_0x2cb3cc(0x38a)]['extend']({'kdf':_0x27c787}),'encrypt':function(_0x375db4,_0x517bf2,_0x46f5b0,_0x4654d2){var _0x2eb0c0=_0x2cb3cc;_0x4654d2=this[_0x2eb0c0(0x38a)][_0x2eb0c0(0x262)](_0x4654d2);var _0x353a57=_0x4654d2['kdf']['execute'](_0x46f5b0,_0x375db4['keySize'],_0x375db4['ivSize'],_0x4654d2[_0x2eb0c0(0x29f)],_0x4654d2['hasher']);_0x4654d2['iv']=_0x353a57['iv'];var _0x4fc7dc=_0x1ff13b[_0x2eb0c0(0x448)][_0x2eb0c0(0x341)](this,_0x375db4,_0x517bf2,_0x353a57[_0x2eb0c0(0x165)],_0x4654d2);return _0x4fc7dc[_0x2eb0c0(0x28a)](_0x353a57),_0x4fc7dc;},'decrypt':function(_0x22abe1,_0x2a9a72,_0x51e552,_0x559d59){var _0x504d09=_0x2cb3cc;_0x559d59=this[_0x504d09(0x38a)]['extend'](_0x559d59),_0x2a9a72=this['_parse'](_0x2a9a72,_0x559d59['format']);var _0x14c962=_0x559d59[_0x504d09(0x289)][_0x504d09(0x316)](_0x51e552,_0x22abe1[_0x504d09(0x44a)],_0x22abe1[_0x504d09(0x1b9)],_0x2a9a72[_0x504d09(0x29f)],_0x559d59['hasher']);_0x559d59['iv']=_0x14c962['iv'];var _0x400817=_0x1ff13b[_0x504d09(0x35c)][_0x504d09(0x341)](this,_0x22abe1,_0x2a9a72,_0x14c962['key'],_0x559d59);return _0x400817;}});}();}));}(Je)),Je['exports'];}var En=Ve['exports'],ei;function mn(){var _0x305043=_0x2a1005;return ei||(ei=0x1,function(_0x5a5cc2,_0x3493bb){(function(_0x35e43c,_0x1b9650,_0x202935){_0x5a5cc2['exports']=_0x1b9650(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x15d051){var _0x305687=_0x44d6;return(function(){var _0xd6daab=_0x44d6,_0xc81428=_0x15d051,_0x329907=_0xc81428[_0xd6daab(0x231)],_0x5c0f2f=_0x329907[_0xd6daab(0x2d5)],_0x412ed5=_0xc81428['algo'],_0x1952ee=[],_0x2cd07c=[],_0x364036=[],_0x11dacf=[],_0x37a2ed=[],_0x4831c8=[],_0x485797=[],_0x5613f2=[],_0x206e85=[],_0x3467d1=[];(function(){for(var _0x10492a=[],_0x44d0be=0x0;_0x44d0be<0x100;_0x44d0be++)_0x44d0be<0x80?_0x10492a[_0x44d0be]=_0x44d0be<<0x1:_0x10492a[_0x44d0be]=_0x44d0be<<0x1^0x11b;for(var _0x3333c1=0x0,_0x26eead=0x0,_0x44d0be=0x0;_0x44d0be<0x100;_0x44d0be++){var _0x1a2ccb=_0x26eead^_0x26eead<<0x1^_0x26eead<<0x2^_0x26eead<<0x3^_0x26eead<<0x4;_0x1a2ccb=_0x1a2ccb>>>0x8^_0x1a2ccb&0xff^0x63,_0x1952ee[_0x3333c1]=_0x1a2ccb,_0x2cd07c[_0x1a2ccb]=_0x3333c1;var _0x16ffb9=_0x10492a[_0x3333c1],_0x566fb2=_0x10492a[_0x16ffb9],_0x548ad7=_0x10492a[_0x566fb2],_0x14d8be=_0x10492a[_0x1a2ccb]*0x101^_0x1a2ccb*0x1010100;_0x364036[_0x3333c1]=_0x14d8be<<0x18|_0x14d8be>>>0x8,_0x11dacf[_0x3333c1]=_0x14d8be<<0x10|_0x14d8be>>>0x10,_0x37a2ed[_0x3333c1]=_0x14d8be<<0x8|_0x14d8be>>>0x18,_0x4831c8[_0x3333c1]=_0x14d8be;var _0x14d8be=_0x548ad7*0x1010101^_0x566fb2*0x10001^_0x16ffb9*0x101^_0x3333c1*0x1010100;_0x485797[_0x1a2ccb]=_0x14d8be<<0x18|_0x14d8be>>>0x8,_0x5613f2[_0x1a2ccb]=_0x14d8be<<0x10|_0x14d8be>>>0x10,_0x206e85[_0x1a2ccb]=_0x14d8be<<0x8|_0x14d8be>>>0x18,_0x3467d1[_0x1a2ccb]=_0x14d8be,_0x3333c1?(_0x3333c1=_0x16ffb9^_0x10492a[_0x10492a[_0x10492a[_0x548ad7^_0x16ffb9]]],_0x26eead^=_0x10492a[_0x10492a[_0x26eead]]):_0x3333c1=_0x26eead=0x1;}}());var _0x17c3c4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x241c15=_0x412ed5[_0xd6daab(0x346)]=_0x5c0f2f[_0xd6daab(0x262)]({'_doReset':function(){var _0x276fe3=_0xd6daab,_0x5715d6;if(!(this[_0x276fe3(0x343)]&&this['_keyPriorReset']===this['_key'])){for(var _0x4f99b1=this[_0x276fe3(0x471)]=this['_key'],_0x1c17c2=_0x4f99b1[_0x276fe3(0x2dc)],_0x336a7f=_0x4f99b1[_0x276fe3(0x264)]/0x4,_0xed8435=this['_nRounds']=_0x336a7f+0x6,_0x5d3e14=(_0xed8435+0x1)*0x4,_0x50b789=this[_0x276fe3(0x449)]=[],_0x50118b=0x0;_0x50118b<_0x5d3e14;_0x50118b++)_0x50118b<_0x336a7f?_0x50b789[_0x50118b]=_0x1c17c2[_0x50118b]:(_0x5715d6=_0x50b789[_0x50118b-0x1],_0x50118b%_0x336a7f?_0x336a7f>0x6&&_0x50118b%_0x336a7f==0x4&&(_0x5715d6=_0x1952ee[_0x5715d6>>>0x18]<<0x18|_0x1952ee[_0x5715d6>>>0x10&0xff]<<0x10|_0x1952ee[_0x5715d6>>>0x8&0xff]<<0x8|_0x1952ee[_0x5715d6&0xff]):(_0x5715d6=_0x5715d6<<0x8|_0x5715d6>>>0x18,_0x5715d6=_0x1952ee[_0x5715d6>>>0x18]<<0x18|_0x1952ee[_0x5715d6>>>0x10&0xff]<<0x10|_0x1952ee[_0x5715d6>>>0x8&0xff]<<0x8|_0x1952ee[_0x5715d6&0xff],_0x5715d6^=_0x17c3c4[_0x50118b/_0x336a7f|0x0]<<0x18),_0x50b789[_0x50118b]=_0x50b789[_0x50118b-_0x336a7f]^_0x5715d6);for(var _0x45d6d7=this[_0x276fe3(0x2f7)]=[],_0x4026d1=0x0;_0x4026d1<_0x5d3e14;_0x4026d1++){var _0x50118b=_0x5d3e14-_0x4026d1;if(_0x4026d1%0x4)var _0x5715d6=_0x50b789[_0x50118b];else var _0x5715d6=_0x50b789[_0x50118b-0x4];_0x4026d1<0x4||_0x50118b<=0x4?_0x45d6d7[_0x4026d1]=_0x5715d6:_0x45d6d7[_0x4026d1]=_0x485797[_0x1952ee[_0x5715d6>>>0x18]]^_0x5613f2[_0x1952ee[_0x5715d6>>>0x10&0xff]]^_0x206e85[_0x1952ee[_0x5715d6>>>0x8&0xff]]^_0x3467d1[_0x1952ee[_0x5715d6&0xff]];}}},'encryptBlock':function(_0x563b81,_0x138497){var _0x348c4e=_0xd6daab;this[_0x348c4e(0x24e)](_0x563b81,_0x138497,this[_0x348c4e(0x449)],_0x364036,_0x11dacf,_0x37a2ed,_0x4831c8,_0x1952ee);},'decryptBlock':function(_0xc97eec,_0x5d596a){var _0x5299a9=_0xd6daab,_0x56f454=_0xc97eec[_0x5d596a+0x1];_0xc97eec[_0x5d596a+0x1]=_0xc97eec[_0x5d596a+0x3],_0xc97eec[_0x5d596a+0x3]=_0x56f454,this['_doCryptBlock'](_0xc97eec,_0x5d596a,this[_0x5299a9(0x2f7)],_0x485797,_0x5613f2,_0x206e85,_0x3467d1,_0x2cd07c);var _0x56f454=_0xc97eec[_0x5d596a+0x1];_0xc97eec[_0x5d596a+0x1]=_0xc97eec[_0x5d596a+0x3],_0xc97eec[_0x5d596a+0x3]=_0x56f454;},'_doCryptBlock':function(_0x562fe4,_0x58e313,_0x30ea2a,_0x238d84,_0x12d125,_0x1721b4,_0x58a33d,_0x46389a){var _0x174c25=_0xd6daab;for(var _0x158fbe=this[_0x174c25(0x343)],_0x431ac4=_0x562fe4[_0x58e313]^_0x30ea2a[0x0],_0x5ca08d=_0x562fe4[_0x58e313+0x1]^_0x30ea2a[0x1],_0x3eb97c=_0x562fe4[_0x58e313+0x2]^_0x30ea2a[0x2],_0x5ea750=_0x562fe4[_0x58e313+0x3]^_0x30ea2a[0x3],_0x4fe121=0x4,_0x8db663=0x1;_0x8db663<_0x158fbe;_0x8db663++){var _0x1c01a1=_0x238d84[_0x431ac4>>>0x18]^_0x12d125[_0x5ca08d>>>0x10&0xff]^_0x1721b4[_0x3eb97c>>>0x8&0xff]^_0x58a33d[_0x5ea750&0xff]^_0x30ea2a[_0x4fe121++],_0x41ebd7=_0x238d84[_0x5ca08d>>>0x18]^_0x12d125[_0x3eb97c>>>0x10&0xff]^_0x1721b4[_0x5ea750>>>0x8&0xff]^_0x58a33d[_0x431ac4&0xff]^_0x30ea2a[_0x4fe121++],_0x5deb8e=_0x238d84[_0x3eb97c>>>0x18]^_0x12d125[_0x5ea750>>>0x10&0xff]^_0x1721b4[_0x431ac4>>>0x8&0xff]^_0x58a33d[_0x5ca08d&0xff]^_0x30ea2a[_0x4fe121++],_0x55c028=_0x238d84[_0x5ea750>>>0x18]^_0x12d125[_0x431ac4>>>0x10&0xff]^_0x1721b4[_0x5ca08d>>>0x8&0xff]^_0x58a33d[_0x3eb97c&0xff]^_0x30ea2a[_0x4fe121++];_0x431ac4=_0x1c01a1,_0x5ca08d=_0x41ebd7,_0x3eb97c=_0x5deb8e,_0x5ea750=_0x55c028;}var _0x1c01a1=(_0x46389a[_0x431ac4>>>0x18]<<0x18|_0x46389a[_0x5ca08d>>>0x10&0xff]<<0x10|_0x46389a[_0x3eb97c>>>0x8&0xff]<<0x8|_0x46389a[_0x5ea750&0xff])^_0x30ea2a[_0x4fe121++],_0x41ebd7=(_0x46389a[_0x5ca08d>>>0x18]<<0x18|_0x46389a[_0x3eb97c>>>0x10&0xff]<<0x10|_0x46389a[_0x5ea750>>>0x8&0xff]<<0x8|_0x46389a[_0x431ac4&0xff])^_0x30ea2a[_0x4fe121++],_0x5deb8e=(_0x46389a[_0x3eb97c>>>0x18]<<0x18|_0x46389a[_0x5ea750>>>0x10&0xff]<<0x10|_0x46389a[_0x431ac4>>>0x8&0xff]<<0x8|_0x46389a[_0x5ca08d&0xff])^_0x30ea2a[_0x4fe121++],_0x55c028=(_0x46389a[_0x5ea750>>>0x18]<<0x18|_0x46389a[_0x431ac4>>>0x10&0xff]<<0x10|_0x46389a[_0x5ca08d>>>0x8&0xff]<<0x8|_0x46389a[_0x3eb97c&0xff])^_0x30ea2a[_0x4fe121++];_0x562fe4[_0x58e313]=_0x1c01a1,_0x562fe4[_0x58e313+0x1]=_0x41ebd7,_0x562fe4[_0x58e313+0x2]=_0x5deb8e,_0x562fe4[_0x58e313+0x3]=_0x55c028;},'keySize':0x100/0x20});_0xc81428[_0xd6daab(0x346)]=_0x5c0f2f[_0xd6daab(0x3fa)](_0x241c15);}()),_0x15d051[_0x305687(0x346)];}));}(Ve)),Ve[_0x305043(0x372)];}var In=mn();const Sn=ke(In);var gn=Ri();const ti=ke(gn);var Xe={'exports':{}},Tn=Xe[_0x2a1005(0x372)],ii;function On(){var _0x29a465=_0x2a1005;return ii||(ii=0x1,function(_0x4d3739,_0x551308){(function(_0x4aeeef,_0x36dd41){var _0x1c4fdf=_0x44d6;_0x4d3739[_0x1c4fdf(0x372)]=_0x36dd41(ie());}(Tn,function(_0x4a8312){var _0x147339=_0x44d6;return _0x4a8312[_0x147339(0x297)][_0x147339(0x3de)];}));}(Xe)),Xe[_0x29a465(0x372)];}var Rn=On();const Cn=ke(Rn);var Ze={'exports':{}},Nn=Ze[_0x2a1005(0x372)],si;function bn(){var _0x5b1349=_0x2a1005;return si||(si=0x1,function(_0x12b394,_0x523f3e){(function(_0x3851c8,_0x358fcb){var _0x32051e=_0x44d6;_0x12b394[_0x32051e(0x372)]=_0x358fcb(ie());}(Nn,function(_0x1a81c9){var _0x2d50fe=_0x44d6;return(function(){var _0x258e3b=_0x44d6;if(typeof ArrayBuffer=='function'){var _0x549f0f=_0x1a81c9,_0x4d9bec=_0x549f0f[_0x258e3b(0x231)],_0x5b1c86=_0x4d9bec['WordArray'],_0x251c37=_0x5b1c86[_0x258e3b(0x15e)],_0x46adcd=_0x5b1c86[_0x258e3b(0x15e)]=function(_0x3e6883){var _0x307860=_0x258e3b;if(_0x3e6883 instanceof ArrayBuffer&&(_0x3e6883=new Uint8Array(_0x3e6883)),(_0x3e6883 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3e6883 instanceof Uint8ClampedArray||_0x3e6883 instanceof Int16Array||_0x3e6883 instanceof Uint16Array||_0x3e6883 instanceof Int32Array||_0x3e6883 instanceof Uint32Array||_0x3e6883 instanceof Float32Array||_0x3e6883 instanceof Float64Array)&&(_0x3e6883=new Uint8Array(_0x3e6883['buffer'],_0x3e6883[_0x307860(0x18e)],_0x3e6883[_0x307860(0x22d)])),_0x3e6883 instanceof Uint8Array){for(var _0x28d40e=_0x3e6883['byteLength'],_0x481e11=[],_0x42dbb8=0x0;_0x42dbb8<_0x28d40e;_0x42dbb8++)_0x481e11[_0x42dbb8>>>0x2]|=_0x3e6883[_0x42dbb8]<<0x18-_0x42dbb8%0x4*0x8;_0x251c37[_0x307860(0x341)](this,_0x481e11,_0x28d40e);}else _0x251c37[_0x307860(0x3b2)](this,arguments);};_0x46adcd[_0x258e3b(0x30f)]=_0x5b1c86;}}()),_0x1a81c9[_0x2d50fe(0x231)][_0x2d50fe(0x42f)];}));}(Ze)),Ze[_0x5b1349(0x372)];}var Dn=bn();const yn=ke(Dn);var Qe={'exports':{}},Un=Qe[_0x2a1005(0x372)],ni;function An(){return ni||(ni=0x1,function(_0x2321be,_0x52b4ee){(function(_0x2e501a,_0x421780,_0x2ad383){_0x2321be['exports']=_0x421780(ie(),Ni());}(Un,function(_0x3f986f){var _0x181cb1=_0x44d6;return _0x3f986f[_0x181cb1(0x350)][_0x181cb1(0x317)]={'pad':function(){},'unpad':function(){}},_0x3f986f[_0x181cb1(0x350)]['NoPadding'];}));}(Qe)),Qe['exports'];}var Pn=An();const wn=ke(Pn);function Mn(_0x5c0f14,_0x4fcce0){var _0x24501e=_0x2a1005;const _0x45d18b=_0x4fcce0-_0x5c0f14['length']%_0x4fcce0,_0x5b275f=String['fromCharCode'](_0x45d18b)[_0x24501e(0x1d4)](_0x45d18b);return _0x5c0f14+_0x5b275f;}function Ln(_0x3cfdaf,_0x2cac8d){var _0x49c8f2=_0x2a1005;const _0x1532c0=yn[_0x49c8f2(0x366)](0x10),_0x218475=Mn(_0x3cfdaf,0x10),_0x2b8b0c=Sn[_0x49c8f2(0x448)](Cn['parse'](_0x218475),ti[_0x49c8f2(0x3d4)](_0x2cac8d),{'iv':_0x1532c0,'padding':wn});return _0x1532c0['concat'](_0x2b8b0c[_0x49c8f2(0x253)])[_0x49c8f2(0x3d3)](ti);}function xn(){var _0x5d012f=_0x2a1005;const _0x1c9259=_0x257f7b()['__Key__'];if(_0x1c9259){const _0x19373d={'time':Math['floor'](Date[_0x5d012f(0x387)]()/0x3e8),'domain':location[_0x5d012f(0x2d8)]};return Ln(JSON[_0x5d012f(0x17a)](_0x19373d),_0x1c9259);}}var $n=Object[_0x2a1005(0x163)],kn=(_0x2af161,_0x4b6877,_0x3adb2c,_0x55a77a)=>{var _0x211bf9=_0x2a1005;for(var _0x15fb23=_0x55a77a>0x1?void 0x0:_0x55a77a?$n(_0x4b6877,_0x3adb2c):_0x4b6877,_0x43d31a=_0x2af161[_0x211bf9(0x2c6)]-0x1,_0xe5d5a6;_0x43d31a>=0x0;_0x43d31a--)(_0xe5d5a6=_0x2af161[_0x43d31a])&&(_0x15fb23=_0xe5d5a6(_0x15fb23)||_0x15fb23);return _0x15fb23;},Hn=(_0x3d5ac2,_0x19aaff)=>(_0xadbb1d,_0x248860)=>_0x19aaff(_0xadbb1d,_0x248860,_0x3d5ac2);let at=class{constructor(_0x3e1f88){var _0x2bd387=_0x2a1005;this[_0x2bd387(0x326)]=_0x3e1f88,this[_0x2bd387(0x31f)]();}[_0x2a1005(0x31f)](){var _0x5e6a24=_0x2a1005;this[_0x5e6a24(0x326)]['registerHTTPInterceptor']({'interceptor':(_0x3e715e,_0x6f7132)=>{var _0x21bb62=_0x5e6a24;const _0x67e48b=_0x3e715e[_0x21bb62(0x2b7)],_0xe882db=xn();return _0xe882db&&_0x67e48b[_0x21bb62(0x2f9)](_0x21bb62(0x249),_0xe882db),_0x6f7132(_0x3e715e);}});}};at=kn([Hn(0x0,_0x941461(_0x2ff5b1))],at);var Bn=Object[_0x2a1005(0x163)],Fn=(_0x328255,_0x1977e1,_0x8c6bd5,_0x2e8a98)=>{var _0x4b5dee=_0x2a1005;for(var _0x5b1ccd=_0x2e8a98>0x1?void 0x0:_0x2e8a98?Bn(_0x1977e1,_0x8c6bd5):_0x1977e1,_0x54f2fc=_0x328255[_0x4b5dee(0x2c6)]-0x1,_0x5687c1;_0x54f2fc>=0x0;_0x54f2fc--)(_0x5687c1=_0x328255[_0x54f2fc])&&(_0x5b1ccd=_0x5687c1(_0x5b1ccd)||_0x5b1ccd);return _0x5b1ccd;},vt=(_0x4e4918,_0x25d27d)=>(_0x289036,_0x4a0cb4)=>_0x25d27d(_0x289036,_0x4a0cb4,_0x4e4918);let Ot=class extends _0x23e95c{constructor(_0xe45b0,_0x3b94b2,_0x32f687){var _0x4352b2=_0x2a1005;super(),D(this,'_unitInfo$',new _0x23d601(null)),D(this,_0x4352b2(0x20d),this['_unitInfo$'][_0x4352b2(0x195)]()),(this[_0x4352b2(0x32a)]=_0xe45b0,this[_0x4352b2(0x1a3)]=_0x3b94b2,this[_0x4352b2(0x445)]=_0x32f687);}async[_0x2a1005(0x2fb)](_0x32531c,_0x58f480,_0x4695cd){var _0x5ac3f7=_0x2a1005;this['_unitInfo$'][_0x5ac3f7(0x1cf)]({'unitId':_0x32531c,'type':_0x58f480});let _0x3930db=null;switch(_0x58f480){case Q[_0x5ac3f7(0x228)]:{_0x3930db=await this[_0x5ac3f7(0x1a3)][_0x5ac3f7(0x180)](_0x32531c,_0x4695cd);break;}case Q[_0x5ac3f7(0x17b)]:{_0x3930db=await this[_0x5ac3f7(0x1a3)][_0x5ac3f7(0x322)](_0x32531c,_0x4695cd);break;}default:{this['_logService'][_0x5ac3f7(0x38d)](_0x5ac3f7(0x28e),_0x5ac3f7(0x388));break;}}return _0x3930db;}async[_0x2a1005(0x2bc)](_0xc2c5ee,_0x52277c,_0x38ac0a){var _0x426574=_0x2a1005,_0x4018ad;this[_0x426574(0x1df)]['next']({'unitId':_0xc2c5ee,'type':_0x52277c,'subUnitId':_0x38ac0a});let _0x5c2003=0x0;const _0x1460c0=await((_0x4018ad=this[_0x426574(0x445)])==null?void 0x0:_0x4018ad[_0x426574(0x42b)](_0xc2c5ee));return _0x1460c0&&(_0x1460c0[_0x426574(0x240)]||_0x1460c0[_0x426574(0x474)]['length']!==0x0)&&(_0x5c2003=_0x1460c0['rev']),_0x5c2003===0x0&&this['_logService'][_0x426574(0x261)](_0x426574(0x28e),_0x426574(0x45a)),this[_0x426574(0x2fb)](_0xc2c5ee,_0x52277c,_0x5c2003);}};Ot=Fn([vt(0x0,_0x59ee6a),vt(0x1,_0x941461(_0x5e41dd)),vt(0x2,_0x475d23(J))],Ot);var jn=Object['getOwnPropertyDescriptor'],Vn=(_0x3c7074,_0x5ab51f,_0x3c7eca,_0x5e309b)=>{var _0x1b87ed=_0x2a1005;for(var _0x44c6ad=_0x5e309b>0x1?void 0x0:_0x5e309b?jn(_0x5ab51f,_0x3c7eca):_0x5ab51f,_0x5a4c7c=_0x3c7074[_0x1b87ed(0x2c6)]-0x1,_0x26a0e0;_0x5a4c7c>=0x0;_0x5a4c7c--)(_0x26a0e0=_0x3c7074[_0x5a4c7c])&&(_0x44c6ad=_0x26a0e0(_0x44c6ad)||_0x44c6ad);return _0x44c6ad;},pt=(_0x1f2101,_0x4d5b8b)=>(_0x10351c,_0x56e197)=>_0x4d5b8b(_0x10351c,_0x56e197,_0x1f2101);const Gn=[_0x2a1005(0x340),'image/jpeg',_0x2a1005(0x244),_0x2a1005(0x461),_0x2a1005(0x405)],Wn=0x5*0x400*0x400,Yn=_0x2a1005(0x354),Kn=_0x2a1005(0x2b1);let Rt=class{constructor(_0x5ad112,_0x12e31e,_0x405863){var _0x38cd5b=_0x2a1005;D(this,_0x38cd5b(0x3e5),0x0),D(this,'_change$',new _0x3cfa67()),D(this,_0x38cd5b(0x27d),this[_0x38cd5b(0x33b)]),D(this,_0x38cd5b(0x2c7),new Map()),(this['_httpService']=_0x5ad112,this[_0x38cd5b(0x206)]=_0x12e31e,this[_0x38cd5b(0x373)]=_0x405863);}[_0x2a1005(0x273)](_0x12d7f7){var _0x27162d=_0x2a1005;this[_0x27162d(0x3e5)]=_0x12d7f7,this[_0x27162d(0x33b)][_0x27162d(0x1cf)](_0x12d7f7);}[_0x2a1005(0x2b3)](_0x4ebadb,_0x50fa48){var _0x518d41=_0x2a1005;if(_0x50fa48===_0x172a75[_0x518d41(0x410)]){const _0x4459ea=new Image();return _0x4459ea['src']=_0x4ebadb,_0x4459ea;}return this['_imageSourceCache']['get'](_0x4ebadb);}[_0x2a1005(0x200)](_0x174367,_0x36eade,_0x5f5deb){var _0x28d028=_0x2a1005;_0x36eade===_0x172a75[_0x28d028(0x410)]||_0x5f5deb==null||this[_0x28d028(0x2c7)][_0x28d028(0x2f9)](_0x174367,_0x5f5deb);}async['getImage'](_0x48b922){var _0x46d2dd=_0x2a1005;try{const _0x150cc4=this[_0x46d2dd(0x3d1)](this[_0x46d2dd(0x35a)](),''+_0x48b922),_0x37ea4f=(await this[_0x46d2dd(0x326)][_0x46d2dd(0x20f)](_0x150cc4))['body'];if(_0x37ea4f[_0x46d2dd(0x38d)]&&_0x37ea4f[_0x46d2dd(0x38d)]['code']===vi['OK']){const _0x5671f1=new URL(_0x37ea4f['url'],this[_0x46d2dd(0x300)]())[_0x46d2dd(0x3d3)]();return Promise[_0x46d2dd(0x395)](_0x5671f1);}return Promise[_0x46d2dd(0x33f)](_0x37ea4f['error']);}catch(_0x5703f1){return Promise['reject'](_0x5703f1);}}async[_0x2a1005(0x3ca)](_0x4c46a7){var _0x13ccbd=_0x2a1005;let _0x2fde17='';if(!Gn[_0x13ccbd(0x39c)](_0x4c46a7[_0x13ccbd(0x1f1)]))return this[_0x13ccbd(0x265)](),Promise[_0x13ccbd(0x33f)](new Error(_0x3d9f1[_0x13ccbd(0x33a)]));if(_0x4c46a7[_0x13ccbd(0x422)]>Wn)return this[_0x13ccbd(0x265)](),Promise[_0x13ccbd(0x33f)](new Error(_0x3d9f1['ERROR_EXCEED_SIZE']));try{const _0xada112=new FormData();_0xada112[_0x13ccbd(0x3c6)]('file',_0x4c46a7);const _0x2ea704=this['_univerInstanceService'][_0x13ccbd(0x319)](),_0x542f2b=_0x2ea704==null?void 0x0:_0x2ea704['getUnitId']();if(!_0x542f2b)throw new Error('unitId\x20is\x20not\x20found');const _0x279671=this[_0x13ccbd(0x416)]()+'?size='+_0x4c46a7['size'][_0x13ccbd(0x3d3)]()+_0x13ccbd(0x197)+pi[_0x13ccbd(0x27f)]+'&assign='+encodeURIComponent(_0x542f2b),_0x5ce371={'body':_0xada112},_0x1e36a6=(await this[_0x13ccbd(0x326)]['post'](_0x279671,_0x5ce371))[_0x13ccbd(0x2e3)];if(typeof _0x1e36a6[_0x13ccbd(0x18b)]!=_0x13ccbd(0x356))return this[_0x13ccbd(0x265)](),Promise[_0x13ccbd(0x33f)](new Error(_0x3d9f1[_0x13ccbd(0x226)]));_0x2fde17=_0x1e36a6['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x13ccbd(0x33f)](new Error(_0x3d9f1['ERROR_IMAGE']));}return new Promise((_0x493cf2,_0x7cab0e)=>{var _0x181999=_0x13ccbd;const _0x15e33d=new FileReader();_0x15e33d[_0x181999(0x290)](_0x4c46a7),_0x15e33d[_0x181999(0x1f3)]=_0x416831=>{var _0x178450=_0x181999,_0x11a5f;const _0x4f8abe=(_0x11a5f=_0x416831[_0x178450(0x198)])==null?void 0x0:_0x11a5f[_0x178450(0x2f1)];if(_0x4f8abe==null){this[_0x178450(0x265)](),_0x7cab0e(new Error(_0x3d9f1[_0x178450(0x226)]));return;}const _0x39ebf9=_0x4421e1(0x6);_0x493cf2({'imageId':_0x39ebf9,'imageSourceType':_0x172a75['UUID'],'source':_0x2fde17,'base64Cache':_0x4f8abe,'status':_0x3d9f1[_0x178450(0x229)]}),this[_0x178450(0x265)]();};});}[_0x2a1005(0x416)](){var _0x12e1ae=_0x2a1005,_0x428c25;const _0xc7e7a7=this['_configService'][_0x12e1ae(0x250)](K);return(_0x428c25=_0xc7e7a7==null?void 0x0:_0xc7e7a7[_0x12e1ae(0x451)])!=null?_0x428c25:Yn;}[_0x2a1005(0x35a)](){var _0x50a277=_0x2a1005,_0x18adbf;const _0x15e97f=this[_0x50a277(0x206)][_0x50a277(0x250)](K);return(_0x18adbf=_0x15e97f==null?void 0x0:_0x15e97f['signUrlServerUrl'])!=null?_0x18adbf:Kn;}[_0x2a1005(0x300)](){var _0x266ccf=_0x2a1005,_0xfdfe5c;const _0x284412=this[_0x266ccf(0x206)]['getConfig'](K);return(_0xfdfe5c=_0x284412==null?void 0x0:_0x284412['downloadEndpointUrl'])!=null?_0xfdfe5c:location[_0x266ccf(0x2f5)];}[_0x2a1005(0x3d1)](_0x4ff01f,_0x5ce73d){var _0x43b834=_0x2a1005;return _0x4ff01f['replace'](_0x43b834(0x376),_0x5ce73d);}[_0x2a1005(0x265)](){var _0x3cb34a=_0x2a1005;this[_0x3cb34a(0x3e5)]-=0x1,this[_0x3cb34a(0x33b)]['next'](this['_waitCount']);}};Rt=Vn([pt(0x0,_0x941461(_0x2ff5b1)),pt(0x1,_0xf25e91),pt(0x2,_0x941461(_0x226b33))],Rt);var qn=Object[_0x2a1005(0x163)],zn=(_0x523b3c,_0x5f169e,_0x3fa2da,_0x1d7174)=>{var _0xf7e389=_0x2a1005;for(var _0x4a3e02=_0x1d7174>0x1?void 0x0:_0x1d7174?qn(_0x5f169e,_0x3fa2da):_0x5f169e,_0x1ef28b=_0x523b3c[_0xf7e389(0x2c6)]-0x1,_0x2ac0c9;_0x1ef28b>=0x0;_0x1ef28b--)(_0x2ac0c9=_0x523b3c[_0x1ef28b])&&(_0x4a3e02=_0x2ac0c9(_0x4a3e02)||_0x4a3e02);return _0x4a3e02;},ri=(_0x95b3ea,_0x2d223a)=>(_0x530792,_0xe0ee10)=>_0x2d223a(_0x530792,_0xe0ee10,_0x95b3ea);const Jn='/universer-api/authz';let Ct=class{constructor(_0x1af2e,_0x501b1c){var _0x1220de=_0x2a1005;this['_configService']=_0x1af2e,this[_0x1220de(0x463)]=_0x501b1c;}[_0x2a1005(0x23e)](){var _0x845e87=_0x2a1005,_0x3b2b4e;const _0x518039=this[_0x845e87(0x206)]['getConfig'](K);return(_0x3b2b4e=_0x518039==null?void 0x0:_0x518039['authzUrl'])!=null?_0x3b2b4e:Jn;}async[_0x2a1005(0x1f6)](_0x1fca98){var _0x2debd2=_0x2a1005;const _0x4cf79c=this['_getAPIPrefixPath']()+_0x2debd2(0x172);return{'list':[{'title':'People','mentions':(await this[_0x2debd2(0x463)][_0x2debd2(0x20f)](_0x4cf79c,{'params':{'objectID':_0x1fca98['unitId'],'unitID':_0x1fca98[_0x2debd2(0x1ee)]}}))[_0x2debd2(0x2e3)][_0x2debd2(0x3fe)][_0x2debd2(0x363)](_0x129ce3=>({'objectId':_0x129ce3['id'],'name':_0x129ce3[_0x2debd2(0x3ce)][_0x2debd2(0x3a9)],'metadata':{'icon':_0x129ce3['subject'][_0x2debd2(0x169)]},'label':_0x129ce3['subject'][_0x2debd2(0x3a9)],'objectType':_0x50afd5['PERSON']})),'metadata':{},'type':_0x50afd5[_0x2debd2(0x447)]}]};}};Ct=zn([ri(0x0,_0x941461(_0xf25e91)),ri(0x1,_0x941461(_0x2ff5b1))],Ct);var Xn=Object[_0x2a1005(0x163)],Zn=(_0x469653,_0xf980ff,_0x507408,_0x40809c)=>{for(var _0x1828d0=_0x40809c>0x1?void 0x0:_0x40809c?Xn(_0xf980ff,_0x507408):_0xf980ff,_0xd49d55=_0x469653['length']-0x1,_0x80db97;_0xd49d55>=0x0;_0xd49d55--)(_0x80db97=_0x469653[_0xd49d55])&&(_0x1828d0=_0x80db97(_0x1828d0)||_0x1828d0);return _0x1828d0;},Ue=(_0x39c1c9,_0x2a1905)=>(_0x442970,_0x4c8db7)=>_0x2a1905(_0x442970,_0x4c8db7,_0x39c1c9);let ot=class extends _0x23e95c{constructor(_0x893060,_0x5def05,_0x98ab,_0xcf92c0,_0x538abc){var _0x220a71=_0x2a1005;super(),this[_0x220a71(0x1d3)]=_0x893060,this[_0x220a71(0x373)]=_0x5def05,this[_0x220a71(0x2ab)]=_0x98ab,this['_collaborationSessionService']=_0xcf92c0,this['_collaborationUIEventService']=_0x538abc,this[_0x220a71(0x45b)](),this['_initCloseConn']();}[_0x2a1005(0x320)](){var _0x23b05f=_0x2a1005;const _0x57357b=async _0x827337=>{var _0x2a2f1d=_0x44d6;(await this[_0x2a2f1d(0x2a6)][_0x2a2f1d(0x426)](_0x827337))['event$'][_0x2a2f1d(0x368)](_0x47aea4(_0x1e7739=>_0x1e7739[_0x2a2f1d(0x2ff)]===_0x562005[_0x2a2f1d(0x2de)]),_0x5bab8d(this[_0x2a2f1d(0x2ee)]))[_0x2a2f1d(0x1dc)](_0x28bce4=>{var _0x384119=_0x2a2f1d;const _0x3bd9d2=_0x28bce4,{reason:_0x56d952}=_0x3bd9d2[_0x384119(0x2f0)];this[_0x384119(0x331)][_0x384119(0x212)]({'id':re[_0x384119(0x46b)],'data':_0x56d952}),this[_0x384119(0x2ab)][_0x384119(0x424)](new _0x4686f(_0x827337)['id'],!0x1),this[_0x384119(0x2a6)][_0x384119(0x38f)](_0x827337);});};_0x2073ce(this[_0x23b05f(0x373)]['getTypeOfUnitAdded$'](_0x5a5755['UNIVER_SHEET']),this[_0x23b05f(0x373)][_0x23b05f(0x2a4)](_0x5a5755[_0x23b05f(0x17b)]))[_0x23b05f(0x368)](_0x147ad4(_0x470a8a=>_0x470a8a[_0x23b05f(0x2bd)]()),_0x47aea4(_0x58827a=>!_0x29aee6(_0x58827a)),_0x5bab8d(this['dispose$']))[_0x23b05f(0x1dc)](_0x5a9cf3=>{_0x57357b(_0x5a9cf3);});}[_0x2a1005(0x45b)](){var _0x1e8977=_0x2a1005;const _0x54e1b1=async _0x4fb113=>{var _0x3c7879=_0x44d6;const _0x2dcfc0=await this[_0x3c7879(0x2a6)][_0x3c7879(0x426)](_0x4fb113),_0x2935cc=this['_injector']['get'](_0x332961);_0x2dcfc0[_0x3c7879(0x1c6)][_0x3c7879(0x368)](_0x47aea4(_0x219592=>_0x219592[_0x3c7879(0x2ff)]===_0x562005['UPDATE_PERMISSION_OBJ']),_0x5bab8d(this[_0x3c7879(0x2ee)]))['subscribe'](_0x30a3a2=>{var _0x4f07e8=_0x3c7879;const _0x4e3304=_0x30a3a2,{objectId:_0x5191f5}=_0x4e3304[_0x4f07e8(0x2f0)];_0x5191f5===_0x4fb113?_0x2935cc[_0x4f07e8(0x2af)](_0x4fb113):_0x2935cc[_0x4f07e8(0x3f2)](_0x4fb113,_0x5191f5);});};_0x2073ce(this['_univerInstanceService'][_0x1e8977(0x2a4)](_0x5a5755[_0x1e8977(0x228)]))[_0x1e8977(0x368)](_0x147ad4(_0x2f48a2=>_0x2f48a2[_0x1e8977(0x2bd)]()),_0x47aea4(_0x535c8d=>!_0x29aee6(_0x535c8d)),_0x5bab8d(this['dispose$']))[_0x1e8977(0x1dc)](_0x465b53=>{_0x54e1b1(_0x465b53);});}};ot=Zn([Ue(0x0,_0x941461(_0x197f37)),Ue(0x1,_0x226b33),Ue(0x2,_0x2e3c89),Ue(0x3,_0x941461(we)),Ue(0x4,_0x941461(ve))],ot);var Qn=Object[_0x2a1005(0x163)],er=(_0x282795,_0x48fb39,_0x41d135,_0x45da56)=>{var _0x29a42c=_0x2a1005;for(var _0x493276=_0x45da56>0x1?void 0x0:_0x45da56?Qn(_0x48fb39,_0x41d135):_0x48fb39,_0x34f0fb=_0x282795[_0x29a42c(0x2c6)]-0x1,_0x28b431;_0x34f0fb>=0x0;_0x34f0fb--)(_0x28b431=_0x282795[_0x34f0fb])&&(_0x493276=_0x28b431(_0x493276)||_0x493276);return _0x493276;},ai=(_0x382edf,_0x5db76a)=>(_0x57b9ff,_0x4f99b9)=>_0x5db76a(_0x57b9ff,_0x4f99b9,_0x382edf);let Nt=class{constructor(_0x4a13c9,_0x3b9eb1){var _0x344d4f=_0x2a1005;this[_0x344d4f(0x206)]=_0x4a13c9,this[_0x344d4f(0x326)]=_0x3b9eb1;}async[_0x2a1005(0x432)](_0x153bdc,_0x5a173a){var _0x5d639e=_0x2a1005,_0x18aabc;const {unitID:_0x3b6c27,type:_0x27b347,revision:_0x4ab087=0x0}=_0x5a173a,_0x34d91c=this[_0x5d639e(0x210)]()+'/'+_0x27b347+_0x5d639e(0x216)+_0x3b6c27+_0x5d639e(0x217)+_0x4ab087,_0x14208b=(await this[_0x5d639e(0x326)][_0x5d639e(0x20f)](_0x34d91c))[_0x5d639e(0x2e3)],_0x2abdbe=(_0x18aabc=_0x14208b[_0x5d639e(0x18c)])==null?void 0x0:_0x18aabc[_0x5d639e(0x41b)];if(_0x2abdbe){const _0x44385a=_0x2abdbe==null?void 0x0:_0x2abdbe[_0x5d639e(0x3cc)],_0x6e134d=_0xb2d770[_0x5d639e(0x1e5)](_0x3da0bd(_0x44385a));_0x2abdbe[_0x5d639e(0x3cc)]=_0x6e134d,Object['entries'](_0x2abdbe[_0x5d639e(0x32e)])[_0x5d639e(0x34a)](([,_0x858ce])=>{var _0x2738ed=_0x5d639e;const _0x5ebd81=_0x858ce[_0x2738ed(0x3cc)],_0x27fd49=_0xb2d770[_0x2738ed(0x1e5)](_0x3da0bd(_0x5ebd81));_0x858ce['originalMeta']=_0x27fd49;});}return _0x14208b;}async['getSheetBlock'](_0x4e22ba,_0x3a5d0c){var _0x56c21c=_0x2a1005;const {unitID:_0x530fdc,type:_0xdd4dbb,blockID:_0x6d96d5}=_0x3a5d0c,_0x2ca959=this[_0x56c21c(0x1ca)]()+'/'+_0xdd4dbb+'/unit/'+_0x530fdc+_0x56c21c(0x3a6)+_0x6d96d5;return(await this[_0x56c21c(0x326)]['get'](_0x2ca959))[_0x56c21c(0x2e3)];}async[_0x2a1005(0x1b5)](_0xa8ddc8,_0x5b135d){var _0x243d46=_0x2a1005;const {unitID:_0x4df992,type:_0x101bd7,blockID:_0x25f3fb}=_0x5b135d,_0x43d78e=this[_0x243d46(0x1ca)]()+_0x243d46(0x3a6)+_0x101bd7+_0x243d46(0x216)+_0x4df992+_0x243d46(0x3a6)+_0x25f3fb;return(await this[_0x243d46(0x326)][_0x243d46(0x20f)](_0x43d78e))['body'];}async[_0x2a1005(0x3d2)](_0x30dcb7,_0x54fe6b){var _0x32520e=_0x2a1005;const {unitID:_0x5a2cf7,type:_0x38c039,from:_0x4e6bf7,to:_0x2c8f35}=_0x54fe6b,_0x43c789=this[_0x32520e(0x1ca)]()+'/'+_0x38c039+_0x32520e(0x216)+_0x5a2cf7+_0x32520e(0x1d7)+_0x4e6bf7+_0x32520e(0x44e)+_0x2c8f35;return(await this['_httpService'][_0x32520e(0x20f)](_0x43c789))[_0x32520e(0x2e3)];}[_0x2a1005(0x210)](){var _0x559d4d=_0x2a1005,_0x265836;return(_0x265836=this[_0x559d4d(0x206)][_0x559d4d(0x250)](vs))!=null?_0x265836:this['_getAPIPrefix']();}[_0x2a1005(0x1ca)](){var _0x4d648d=_0x2a1005,_0xac5cda;const _0x451a29=this[_0x4d648d(0x206)][_0x4d648d(0x250)](K);return(_0xac5cda=_0x451a29==null?void 0x0:_0x451a29[_0x4d648d(0x307)])!=null?_0xac5cda:fs;}async['getResourcesRequest'](_0x5cea98,_0x569433){var _0x23e96=_0x2a1005;const _0x1a7fb7='/universer-api/snapshot/'+_0x569433[_0x23e96(0x1f1)]+'/unit/'+_0x569433[_0x23e96(0x43c)]+'/resources';return(await this[_0x23e96(0x326)]['get'](_0x1a7fb7,{'params':{'resourceId':JSON['stringify'](_0x569433[_0x23e96(0x3fc)])}}))[_0x23e96(0x2e3)];}[_0x2a1005(0x224)](){var _0x45a48c=_0x2a1005;throw new Error(_0x45a48c(0x1cc));}[_0x2a1005(0x450)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2a1005(0x3ba)](){var _0x54a8b6=_0x2a1005;throw new Error(_0x54a8b6(0x1cc));}[_0x2a1005(0x36d)](){var _0x58b883=_0x2a1005;throw new Error(_0x58b883(0x1cc));}[_0x2a1005(0x337)](){var _0x190845=_0x2a1005;throw new Error(_0x190845(0x1cc));}['getLatestCsReqIdBySid'](){var _0x1535a9=_0x2a1005;throw new Error(_0x1535a9(0x1cc));}};Nt=er([ai(0x0,_0xf25e91),ai(0x1,_0x941461(_0x2ff5b1))],Nt);var tr=Object[_0x2a1005(0x163)],ir=(_0x497b6b,_0x55ae19,_0x25671c,_0x5ccad5)=>{var _0x2306b3=_0x2a1005;for(var _0x24e2c6=_0x5ccad5>0x1?void 0x0:_0x5ccad5?tr(_0x55ae19,_0x25671c):_0x55ae19,_0x214916=_0x497b6b[_0x2306b3(0x2c6)]-0x1,_0x2f119d;_0x214916>=0x0;_0x214916--)(_0x2f119d=_0x497b6b[_0x214916])&&(_0x24e2c6=_0x2f119d(_0x24e2c6)||_0x24e2c6);return _0x24e2c6;},Ae=(_0x28f327,_0x589c0f)=>(_0x3532ad,_0xdfd085)=>_0x589c0f(_0x3532ad,_0xdfd085,_0x28f327);let bt=class extends _0x3c4f45{constructor(_0x47e1a3,_0x2cdadf,_0x515c86,_0x185b83,_0x2fab80){var _0x56eecb=_0x2a1005;super(_0x47e1a3,_0x2cdadf,_0x515c86),this['_transformService']=_0x185b83,this[_0x56eecb(0x32a)]=_0x2fab80;}[_0x2a1005(0x323)](_0x2c801e,_0x4a656c){var _0x1daea5=_0x2a1005;const _0xc27d93=this['_getUndoStack'](_0x2c801e);if(_0xc27d93)try{const _0x19cb7f=this[_0x1daea5(0x2a8)](_0xc27d93,_0x4a656c);this[_0x1daea5(0x396)](_0x2c801e,_0x19cb7f);}catch(_0x32e0c4){this[_0x1daea5(0x32a)][_0x1daea5(0x38d)]('[CollaborationUndoRedoService]',_0x32e0c4),this[_0x1daea5(0x3bc)](_0x2c801e);}const _0x317799=this[_0x1daea5(0x21b)](_0x2c801e);if(_0x317799)try{const _0x1d7791=this['_transformStack'](_0x317799,_0x4a656c);this['_substituteRedoStack'](_0x2c801e,_0x1d7791);}catch(_0xed6a42){this[_0x1daea5(0x32a)][_0x1daea5(0x38d)](_0xed6a42),this[_0x1daea5(0x412)](_0x2c801e);}}['_clearUndo'](_0xe575b){var _0x6dddac=_0x2a1005;const _0x361acb=this[_0x6dddac(0x329)](_0xe575b);_0x361acb&&(_0x361acb[_0x6dddac(0x2c6)]=0x0,this[_0x6dddac(0x1a2)]());}[_0x2a1005(0x412)](_0x2a5af9){var _0x230cf3=_0x2a1005;const _0x30797c=this[_0x230cf3(0x21b)](_0x2a5af9);_0x30797c&&(_0x30797c[_0x230cf3(0x2c6)]=0x0,this[_0x230cf3(0x1a2)]());}[_0x2a1005(0x396)](_0x37dcbb,_0x57b5cf){var _0x50c0a2=_0x2a1005;this[_0x50c0a2(0x305)][_0x50c0a2(0x2f9)](_0x37dcbb,_0x57b5cf),this[_0x50c0a2(0x1a2)]();}[_0x2a1005(0x201)](_0x5a3d48,_0x2a2faf){var _0x34c4af=_0x2a1005;this[_0x34c4af(0x383)]['set'](_0x5a3d48,_0x2a2faf),this[_0x34c4af(0x1a2)]();}[_0x2a1005(0x2a8)](_0x19a48c,_0xe53056){var _0x49bb45=_0x2a1005;const _0x1e9eb5=[];let _0x393bd8=_0xe53056,_0x4cf5d6=_0xe53056;for(let _0x9859e1=_0x19a48c[_0x49bb45(0x2c6)]-0x1;_0x9859e1>=0x0;_0x9859e1--){const {unitID:_0x1fcc1d,undoMutations:_0x3e839f,redoMutations:_0x4d8af1}=_0x19a48c[_0x9859e1],_0x2b33b5=this[_0x49bb45(0x20e)][_0x49bb45(0x348)](_0x393bd8,_0x3e839f),_0x378113=this[_0x49bb45(0x20e)][_0x49bb45(0x348)](_0x4cf5d6,_0x4d8af1);if(_0x4e20cb(_0x2b33b5)||_0x4e20cb(_0x378113)){this[_0x49bb45(0x32a)][_0x49bb45(0x38d)](_0x49bb45(0x1b3),_0x49bb45(0x365),_0x2b33b5,_0x378113);break;}_0x393bd8=_0x2b33b5[_0x49bb45(0x21f)],_0x4cf5d6=_0x378113[_0x49bb45(0x21f)],_0x1e9eb5[_0x49bb45(0x2c4)]({'unitID':_0x1fcc1d,'undoMutations':_0x2b33b5['m2Prime'],'redoMutations':_0x378113['m2Prime']});}return _0x1e9eb5[_0x49bb45(0x2e8)]();}};bt=ir([Ae(0x0,_0x226b33),Ae(0x1,_0x5761a5),Ae(0x2,_0x18cbc6),Ae(0x3,_0x32b219),Ae(0x4,_0x59ee6a)],bt);var sr=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],rr=(_0x2a13ad,_0x57dcea,_0x3a0db9)=>_0x57dcea in _0x2a13ad?sr(_0x2a13ad,_0x57dcea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a0db9}):_0x2a13ad[_0x57dcea]=_0x3a0db9,ar=(_0x53c86e,_0x20cf0c,_0x2ba009,_0x4a1dc7)=>{var _0x3c6df2=_0x2a1005;for(var _0x1b9c78=_0x4a1dc7>0x1?void 0x0:_0x4a1dc7?nr(_0x20cf0c,_0x2ba009):_0x20cf0c,_0x1057a1=_0x53c86e[_0x3c6df2(0x2c6)]-0x1,_0x44c717;_0x1057a1>=0x0;_0x1057a1--)(_0x44c717=_0x53c86e[_0x1057a1])&&(_0x1b9c78=_0x44c717(_0x1b9c78)||_0x1b9c78);return _0x1b9c78;},Et=(_0x562e48,_0xaaec5e)=>(_0xc374f2,_0x30c057)=>_0xaaec5e(_0xc374f2,_0x30c057,_0x562e48),or=(_0xe38801,_0x5d4dbe,_0x24c054)=>rr(_0xe38801,_0x5d4dbe+'',_0x24c054);const cr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0x5874ae{constructor(_0x18ea7d,_0x1610e1,_0x3b6e47,_0x4b4279){var _0x5b2889=_0x2a1005;super(),D(this,_0x5b2889(0x2d0)),(this['_logService']=_0x1610e1,this['_injector']=_0x3b6e47,this[_0x5b2889(0x206)]=_0x4b4279);const {..._0x36037f}=_0x4fbb99({},Ls,_0x18ea7d);if(!_0x36037f[_0x5b2889(0x186)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x5b2889(0x2d0)]=_0x36037f,this[_0x5b2889(0x206)][_0x5b2889(0x16b)](K,_0x36037f);}[_0x2a1005(0x339)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2a1005(0x29e)](){var _0x2b571b=_0x2a1005,_0x576146,_0x2db451;this[_0x2b571b(0x1d3)][_0x2b571b(0x2aa)](_0x100842)&&this[_0x2b571b(0x32a)][_0x2b571b(0x38d)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x208d3a=_0x14a46a([[_0x100842,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x2b571b(0x2d0)]['socketService']}],[_0x3b2e01,{'useClass':Nt}],[_0x3ce982,{'useClass':Tt}],[_0x16fffd,{'useClass':Rt}],[_0x5db34e,{'useClass':Ct}],[nt],[gt]],(_0x576146=this[_0x2b571b(0x2d0)])==null?void 0x0:_0x576146[_0x2b571b(0x1bd)]);if(!((_0x2db451=this[_0x2b571b(0x2d0)])!=null&&_0x2db451[_0x2b571b(0x418)])){const _0x563625=_0x208d3a['findIndex'](([_0x41c95c])=>_0x41c95c===_t);_0x563625!==-0x1&&_0x208d3a[_0x2b571b(0x425)](_0x563625,0x1);}_0x37813c(this['_injector'],_0x208d3a);}[_0x2a1005(0x275)](){var _0xbcb273=_0x2a1005,_0x5cf6c7,_0x176c74,_0x262dbd;this[_0xbcb273(0x1d3)][_0xbcb273(0x20f)](_0x2ff5b1)[_0xbcb273(0x41f)]({'priority':0x14,'interceptor':_0x45934a({'maxParallel':0x6})}),(_0x5cf6c7=this[_0xbcb273(0x2d0)])!=null&&_0x5cf6c7[_0xbcb273(0x3a1)]||(_0x176c74=this['_injector'][_0xbcb273(0x20f)](J,_0x54979a[_0xbcb273(0x3c0)]))==null||_0x176c74[_0xbcb273(0x278)](),(_0x262dbd=this[_0xbcb273(0x2d0)])!=null&&_0x262dbd[_0xbcb273(0x1b2)]&&_0x54a1c(this[_0xbcb273(0x1d3)],[[rt]]),_0x54a1c(this[_0xbcb273(0x1d3)],[[at],[nt],[ot]]);}};or(Dt,_0x2a1005(0x3b1),cr),Dt=ar([_0x23506d(_0x27883c,_0x5d5e7e),Et(0x1,_0x59ee6a),Et(0x2,_0x941461(_0x197f37)),Et(0x3,_0xf25e91)],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};
|