@univerjs-pro/collaboration-client 0.5.0-nightly.202411131606 → 0.5.0-nightly.202411151606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3238bf=_0x466f;(function(_0x3aa645,_0x5b972d){const _0x3943b3=_0x466f,_0x12dd76=_0x3aa645();while(!![]){try{const _0xc9523b=parseInt(_0x3943b3(0x159))/0x1*(-parseInt(_0x3943b3(0x2b3))/0x2)+parseInt(_0x3943b3(0x520))/0x3+parseInt(_0x3943b3(0x317))/0x4+parseInt(_0x3943b3(0x3b5))/0x5+parseInt(_0x3943b3(0x403))/0x6*(parseInt(_0x3943b3(0x488))/0x7)+-parseInt(_0x3943b3(0x494))/0x8+-parseInt(_0x3943b3(0x1f0))/0x9;if(_0xc9523b===_0x5b972d)break;else _0x12dd76['push'](_0x12dd76['shift']());}catch(_0x25da78){_0x12dd76['push'](_0x12dd76['shift']());}}}(_0x2abb,0xd5565));var qi=Object[_0x3238bf(0x535)],Xi=(_0x210e51,_0x5a6ca6,_0x1b6fb5)=>_0x5a6ca6 in _0x210e51?qi(_0x210e51,_0x5a6ca6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b6fb5}):_0x210e51[_0x5a6ca6]=_0x1b6fb5,g=(_0x5e447b,_0x23aa6b,_0x5dc5f4)=>Xi(_0x5e447b,typeof _0x23aa6b!=_0x3238bf(0x226)?_0x23aa6b+'':_0x23aa6b,_0x5dc5f4);import{createIdentifier as _0x271919,Inject as _0x4a2654,Disposable as _0x1bec45,DisposableCollection as _0x2bf957,toDisposable as _0x164be7,IConfigService as _0x12cd24,ILogService as _0x5d0f53,UserManagerService as _0x58532f,UniverInstanceType as _0x5997c4,IUniverInstanceService as _0x21deaa,LocaleService as _0xc7611d,Optional as _0x384f19,RxDisposable as _0x9ae76a,Injector as _0x28b8e2,Tools as _0x3a7870,ILocalStorageService as _0x99c20,Rectangle as _0x185edd,ICommandService as _0x462ea5,DOC_RANGE_TYPE as _0x507957,JSONX as _0x32d452,CommandType as _0x4d0a82,IPermissionService as _0x3cddab,IUndoRedoService as _0x558053,sequenceExecute as _0x292495,debounce as _0x5d913f,COLORS as _0x33477d,ColorKit as _0x1fdc1d,ThemeService as _0x251573,fromEventSubject as _0xde2bf0,useDependency as _0x120ce2,connectInjector as _0x3cd6f0,Workbook as _0x166f1e,isInternalEditorID as _0x1e2c2b,LocalUndoRedoService as _0x3cb107,IContextService as _0x1b64c2,DependentOn as _0xcd516b,Plugin as _0x31d01a,touchDependencies as _0x2de621,IAuthzIoService as _0x26b704,registerDependencies as _0x5e3113,mergeOverrideWithDependencies as _0x2a6101}from'@univerjs/core';import{Subject as _0x302e6e,merge as _0xf2f2cb,takeUntil as _0x4b2adb,BehaviorSubject as _0x353bc7,distinctUntilChanged as _0x120bb7,fromEvent as _0xfa2d6a,ReplaySubject as _0x5edbc1,take as _0x1cb779,map as _0x10d2b5,shareReplay as _0x2ad7f3,of as _0x165a23,debounceTime as _0x5ec3df,filter as _0x2c9c0f,switchMap as _0xb18e1b,combineLatest as _0xe40d54,concatMap as _0x46d7c7,mapTo as _0x36fe6d}from'rxjs';import{map as _0x46b391,take as _0x1070e6,filter as _0x2fd833,delay as _0xa5f912,throttleTime as _0x5ca328,takeUntil as _0x4cba74,switchMap as _0x234ed0}from'rxjs/operators';import{MessageType as _0x62271a,Tooltip as _0x504180}from'@univerjs/design';import{IBeforeCloseService as _0xdad7a5,IMessageService as _0x2f8dd1,INotificationService as _0x447575,useObservable as _0x1e48c7,BuiltInUIPart as _0x2ef7c3,IUIPartsService as _0x3c9e6a}from'@univerjs/ui';import{HTTPService as _0x4ca339,WebSocketService as _0xbe8463,MergeInterceptorFactory as _0x391dde,HTTPRequest as _0x9398ae,UniverNetworkPlugin as _0x1fe2e7,ThresholdInterceptorFactory as _0x436092}from'@univerjs/network';import{CollaborationEvent as _0x2c5a34,parseChangesetToProtocol as _0x33baa3,ISnapshotServerService as _0x54fc87,isTransformMutationFailure as _0x2e9e95,isTransformMutationsWithChangesetSuccess as _0xa7de0,ITransformService as _0x945511,RevisionService as _0x56b96b,mapDocumentTypeToUniverType as _0x952321,isTransformChangesetsSuccess as _0x23fd88,CompressMutationService as _0x4816dd,parseProtocolChangeset as _0x3249cc,SnapshotService as _0x1ff8b0,textEncoder as _0x1b8593,b64DecodeUnicode as _0x37b045,isTransformMutationsWithChangesetFailure as _0x31d7c3,UniverCollaborationPlugin as _0x5246a2}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3a95be}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x26849f,DocStateChangeManagerService as _0x55dde0,NodePositionConvertToCursor as _0x2dff16,NodePositionConvertToRectRange as _0x2cbacf,TEXT_RANGE_LAYER_INDEX as _0x4efb91,SetDocZoomRatioOperation as _0x835516}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x42bfc2,SetSelectionsOperation as _0xb384b4,InsertSheetMutation as _0x2c3a31,EmptyMutation as _0x175b9b,WorkbookEditablePermission as _0x5f270b,RefRangeService as _0x60b03d,EffectRefRangId as _0xe2cfb6,handleIRemoveRow as _0x463d30,handleIRemoveCol as _0x3af346,handleMoveRange as _0x19de67,handleInsertRow as _0x4a534d,handleInsertRangeMoveRight as _0x3b8c8b,handleInsertRangeMoveDown as _0x9ec55f,handleInsertCol as _0x41a0bd,handleDeleteRangeMoveUp as _0x17c9e0,handleDeleteRangeMoveLeft as _0x1e1209,runRefRangeMutations as _0x267af5,SetWorksheetActivateCommand as _0x3ee2d1}from'@univerjs/sheets';import{IRenderManagerService as _0x273231,Shape as _0x3f7361,Rect as _0x48bc86,getColor as _0x5726a7,RegularPolygon as _0x36efef,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x15ccc7,Vector2 as _0x1691aa}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x155680,RichTextEditingMutation as _0x2554d0,SetTextSelectionsOperation as _0x30c83c,DocSkeletonManagerService as _0x532f07}from'@univerjs/docs';import{ImageSourceType as _0x31ddf5,ImageUploadStatusType as _0x2cdd79,IImageIoService as _0x1a8564}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x2c7c2b,serializeRangeWithSheet as _0x2e0d00}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x15a5fb,VIEWPORT_KEY as _0x578f46,getCoordByCell as _0x3d3c8c,getSheetObject as _0xd58b34,SheetPermissionInitController as _0x2b81e1}from'@univerjs/sheets-ui';import _0x37429d,{forwardRef as _0x291cc6,useRef as _0x20c041,createElement as _0x43b3d3,useCallback as _0x13394c}from'react';import{IRemoteInstanceService as _0x151359}from'@univerjs/rpc';const cr=_0x3238bf(0x3ca),hr=_0x3238bf(0x3f6),lr='SNAPSHOT_URL_KEY',Xc='SEND_CHANGESET_TIMEOUT',_r=0x7d0,ur=_0x3238bf(0x560),dr=_0x3238bf(0x205),fr=_0x3238bf(0x47c),vr=0x7530,bi=_0x3238bf(0x496),Ti=0x4e20,mr=0x4e20,pr=_0x3238bf(0x4b8),gr=0x3,Sr=_0x3238bf(0x49f),Ir=0x3e8,Cr=_0x3238bf(0x512),Er='/universer-api/comb',br=_0x3238bf(0x3fe),Tr='/universer-api/oidc/authpage';var Ri=(_0x3ceb58=>(_0x3ceb58[_0x3ceb58[_0x3238bf(0x4c6)]=0x0]=_0x3238bf(0x4c6),_0x3ceb58[_0x3ceb58['OK']=0x1]='OK',_0x3ceb58[_0x3ceb58[_0x3238bf(0x3f9)]=0x2]=_0x3238bf(0x3f9),_0x3ceb58[_0x3ceb58[_0x3238bf(0x287)]=0x3]='PERMISSION_DENIED',_0x3ceb58[_0x3ceb58[_0x3238bf(0x19b)]=0x4]=_0x3238bf(0x19b),_0x3ceb58[_0x3ceb58[_0x3238bf(0x36f)]=0x5]=_0x3238bf(0x36f),_0x3ceb58[_0x3ceb58[_0x3238bf(0x4dc)]=0x6]=_0x3238bf(0x4dc),_0x3ceb58[_0x3ceb58[_0x3238bf(0x4f8)]=0x7]='INVALID_ARGUMENT',_0x3ceb58[_0x3ceb58[_0x3238bf(0x530)]=0x8]='TOO_MANY_REQUESTS',_0x3ceb58[_0x3ceb58[_0x3238bf(0x15a)]=0x9]=_0x3238bf(0x15a),_0x3ceb58[_0x3ceb58[_0x3238bf(0x339)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3ceb58[_0x3ceb58['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3238bf(0x196),_0x3ceb58[_0x3ceb58[_0x3238bf(0x216)]=0x1772]=_0x3238bf(0x216),_0x3ceb58[_0x3ceb58[_0x3238bf(0x564)]=0x1773]=_0x3238bf(0x564),_0x3ceb58[_0x3ceb58['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x3ceb58[_0x3ceb58[_0x3238bf(0x4ad)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3ceb58[_0x3ceb58[_0x3238bf(0x48a)]=0x1b5b]=_0x3238bf(0x48a),_0x3ceb58[_0x3ceb58['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3ceb58[_0x3ceb58[_0x3238bf(0x224)]=0x1b5d]='APPLY_DUPLICATED',_0x3ceb58[_0x3ceb58[_0x3238bf(0x4a9)]=0x1f41]=_0x3238bf(0x4a9),_0x3ceb58[_0x3ceb58[_0x3238bf(0x48d)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3ceb58[_0x3ceb58[_0x3238bf(0x39e)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3ceb58[_0x3ceb58[_0x3238bf(0x2b0)]=0x232b]=_0x3238bf(0x2b0),_0x3ceb58[_0x3ceb58[_0x3238bf(0x485)]=0x232c]=_0x3238bf(0x485),_0x3ceb58[_0x3ceb58[_0x3238bf(0x333)]=0x232d]=_0x3238bf(0x333),_0x3ceb58[_0x3ceb58[_0x3238bf(0x492)]=0x2711]=_0x3238bf(0x492),_0x3ceb58[_0x3ceb58[_0x3238bf(0x218)]=0x2712]=_0x3238bf(0x218),_0x3ceb58[_0x3ceb58[_0x3238bf(0x3ce)]=0x2713]=_0x3238bf(0x3ce),_0x3ceb58[_0x3ceb58[_0x3238bf(0x413)]=0x2714]=_0x3238bf(0x413),_0x3ceb58[_0x3ceb58['UNRECOGNIZED']=-0x1]=_0x3238bf(0x551),_0x3ceb58))(Ri||{}),ce=(_0xe61eb8=>(_0xe61eb8[_0xe61eb8['UNIVER_UNKNOWN']=0x0]=_0x3238bf(0x434),_0xe61eb8[_0xe61eb8['UNIVER_DOC']=0x1]=_0x3238bf(0x32f),_0xe61eb8[_0xe61eb8[_0x3238bf(0x49a)]=0x2]=_0x3238bf(0x49a),_0xe61eb8[_0xe61eb8['UNIVER_SLIDE']=0x3]=_0x3238bf(0x23d),_0xe61eb8[_0xe61eb8[_0x3238bf(0x43e)]=0x4]='UNIVER_PROJECT',_0xe61eb8[_0xe61eb8['UNRECOGNIZED']=-0x1]=_0x3238bf(0x551),_0xe61eb8))(ce||{}),W=(_0x537aec=>(_0x537aec[_0x537aec['UNKNOWN_CMD']=0x0]=_0x3238bf(0x38e),_0x537aec[_0x537aec[_0x3238bf(0x2e5)]=0x1]='HELLO',_0x537aec[_0x537aec['JOIN']=0x2]=_0x3238bf(0x212),_0x537aec[_0x537aec[_0x3238bf(0x35a)]=0x3]=_0x3238bf(0x35a),_0x537aec[_0x537aec['INGEST']=0x4]=_0x3238bf(0x145),_0x537aec[_0x537aec[_0x3238bf(0x39d)]=0x5]=_0x3238bf(0x39d),_0x537aec[_0x537aec[_0x3238bf(0x416)]=0x6]=_0x3238bf(0x416),_0x537aec[_0x537aec[_0x3238bf(0x551)]=-0x1]=_0x3238bf(0x551),_0x537aec))(W||{}),Is=(_0x1cdf2f=>(_0x1cdf2f[_0x1cdf2f[_0x3238bf(0x3fa)]=0x0]=_0x3238bf(0x3fa),_0x1cdf2f[_0x1cdf2f['OK']=0x1]='OK',_0x1cdf2f[_0x1cdf2f[_0x3238bf(0x505)]=0x2]=_0x3238bf(0x505),_0x1cdf2f[_0x1cdf2f[_0x3238bf(0x551)]=-0x1]=_0x3238bf(0x551),_0x1cdf2f))(Is||{}),yi=(_0x31ed82=>(_0x31ed82[_0x31ed82[_0x3238bf(0x1de)]=0x0]=_0x3238bf(0x1de),_0x31ed82[_0x31ed82[_0x3238bf(0x158)]=0x1]=_0x3238bf(0x158),_0x31ed82[_0x31ed82[_0x3238bf(0x4ca)]=0x2]='HttpExport',_0x31ed82[_0x31ed82[_0x3238bf(0x352)]=0x3]=_0x3238bf(0x352),_0x31ed82[_0x31ed82[_0x3238bf(0x4f6)]=0x4]='UnitSnapshot',_0x31ed82[_0x31ed82['UNRECOGNIZED']=-0x1]=_0x3238bf(0x551),_0x31ed82))(yi||{});const ie=_0x3238bf(0x3a4),Rr={};function yr(_0x1c95fb){const _0x2c7028=_0x3238bf;var _0x4ab8ce,_0x530d93,_0x2499da,_0x1c3664,_0x44a939;const _0x3cd37a=_0x1c95fb[_0x2c7028(0x209)],_0x4ba3d7=JSON[_0x2c7028(0x47a)](_0x3cd37a);switch(_0x4ba3d7['cmd']){case W[_0x2c7028(0x39d)]:case W[_0x2c7028(0x2e5)]:{const _0x3678f4=_0x4ba3d7[_0x2c7028(0x369)];return{..._0x4ba3d7,'data':_0x3678f4,'cmd':_0x4ba3d7[_0x2c7028(0x443)]};}case W[_0x2c7028(0x212)]:{const _0x38c0ba=_0x4ba3d7['joinRsp'];return{..._0x4ba3d7,'data':_0x38c0ba,'cmd':_0x4ba3d7['cmd']};}case W[_0x2c7028(0x416)]:{const _0x5e7b00=_0x4ba3d7['collaMsg'];switch(_0x5e7b00[_0x2c7028(0x448)]){case _0x2c5a34[_0x2c7028(0x17d)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':(_0x4ab8ce=_0x5e7b00[_0x2c7028(0x1e8)])==null?void 0x0:_0x4ab8ce['cs']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34['CHANGESET_ACK']:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':(_0x530d93=_0x5e7b00['csAckEvent'])==null?void 0x0:_0x530d93['cs']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34[_0x2c7028(0x2d8)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':(_0x2499da=_0x5e7b00[_0x2c7028(0x206)])==null?void 0x0:_0x2499da['cs']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34[_0x2c7028(0x3c8)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':(_0x1c3664=_0x5e7b00['csRejEvent'])==null?void 0x0:_0x1c3664['cs']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34[_0x2c7028(0x28e)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':(_0x44a939=_0x5e7b00[_0x2c7028(0x3b9)])==null?void 0x0:_0x44a939['cs']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34[_0x2c7028(0x42c)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00[_0x2c7028(0x515)]},'cmd':_0x4ba3d7['cmd']};case _0x2c5a34[_0x2c7028(0x382)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00['joinEvent']},'cmd':_0x4ba3d7['cmd']};case _0x2c5a34[_0x2c7028(0x24d)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00[_0x2c7028(0x405)]},'cmd':_0x4ba3d7['cmd']};case _0x2c5a34[_0x2c7028(0x319)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00['liveShareNewHost']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34['LIVESHARE_FETCH_OPERATIONS']:case _0x2c5a34['LIVESHARE_OPERATION']:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00[_0x2c7028(0x45d)]},'cmd':_0x4ba3d7['cmd']};case _0x2c5a34[_0x2c7028(0x20c)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00[_0x2c7028(0x156)]},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34['MSG_FOR_ERROR']:return{..._0x4ba3d7,'data':_0x5e7b00,'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34['COMMENT_UPDATE']:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00[_0x2c7028(0x238)]},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34[_0x2c7028(0x24b)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00['updatePermissionObjEvent']},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};case _0x2c5a34[_0x2c7028(0x328)]:return{..._0x4ba3d7,'data':{..._0x5e7b00,'data':_0x5e7b00[_0x2c7028(0x4b7)]},'cmd':_0x4ba3d7[_0x2c7028(0x443)]};default:return _0x4ba3d7;}}default:return _0x4ba3d7;}}function _0x2abb(){const _0x3dfc99=['crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','SNAPSHOT_SERVER_URL_KEY','cursorInfo$','_replaceFileID','_getAnchorBounding','YUUMI_RATE_OVER_LIMIT','_sender','_onRemoteACK','_name','state','getDeserializedSheetBlock','_getSendChangesetTimeout','downloadEndpointUrl','redoState','_handleHover','_replayCachedMutations','defIds','\x20-\x20','ciphertext','onStarting','finalize','floor','disposeWithMe','_eventUnsubscribe','_handleJoinEvent','fillText','members','onlineStatusTitle','_startCollaboration','getOwnPropertySymbols','collab-client.tooltip.reconnect','number','searchParams','jiqing500','_scheduleHeartbeat','ERROR_IMAGE_TYPE','saveChangeset','_toggleOnline','_getMergeRange','_nRounds','registerRefRange','NOT_COLLAB','location','_substituteRedoStack','_toggleOffline','/universer-api/snapshot','isPermissionRej','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','INTERNAL_ERROR','UNKNOWN_CODE','_anchor','_updateCollabCursors','getUnitId','LOGIN_URL_KEY','_status$','onStateChange','SYNCED','removeParam','48upXlhD','getConfig','leaveEvent','allowed','getVpScrollXYInfoByPosToVp','&to=','from','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','collaboration-client.offline-data-not-saved','getUndoRedoMutationParamsCache','_timeoutTimer','enc','fetch_missing','salt','message$','beginPath','YUUMI_SUBSCRIPTION_NOT_FOUND','_compressMutationService','onTransformState','RECV','auth.needGotoLoginAlert','roles','push','_transformService','_startTelemetryCollaborationNewChangeset','listCollaborators','idSuffix','/object','state$','sendChangesetTimeout','socket$','getMemberID','slice','getCollabCursors$','withCredentials','commentUpdate$','fromCharCode','activeSheet$','_data','session.collaboration-timeout','decryptBlock','UPDATE_CURSOR','sheets','_HTTPService','_entities','collabSubmitChangesetUrl','image/png','Warning','_init','UNIVER_UNKNOWN','ONLINE','conflict','MUTATION','updateMember','prototype','byteOffset','subscribe','_change$','getItem','UNIVER_PROJECT','_collabCursorController','_hideTimer','getRandomValues','width','cmd','_getAPIPrefixPath','revision','onCommandExecuted','_sheetSkeletonManagerService','eventID','_onFetchMissResult','complete','userID','patch','UUID','listRoles','reduce','snapshot','_telemetryService','registerComponent','startTime','[CollaborationSessionService]:\x20socket\x20error','_key','_onConnectionOpen','error$','reset','save','delete','collabStatus.offline','_syncEditingCollabCursor','liveShareOperation','text','_transformStateCache','COMPRESS_MUTATION_APPLY','_createHelper','_sendingTimer','Unknown\x20user','focused$','_notificationService','fromCollab','createSocket','collab-rect-range-','off-line-single','online','_onCombEvent','href','call','getUnhiddenWorksheets','none','roomInfos','m2Prime','_state$','override','_commentUpdate$','uploadFileServerUrl','CipherParams','_getSignURL','_initStatusListener','toggleOffline','parse','urlChange$','HEARTBEAT_INTERVAL','bottom','splice','Base64','OpenSSL','_themeService','/block/','x-univer-host','_transformRemoteChangesetByStateCache','LICENSE_EXPORT_SIZE_EXCEEDED','setActiveRange','addObject','637784SNQuIV','ReactCurrentOwner','APPLY_REVISION_CONFILICT','_createInitialState','getCollabEntity','LICENSE_MAX_UNITS_EXCEEDED','getFocusedUnit','byteLength','startsWith','save\x20fail\x20reason\x20is\x20','YUUMI_UNABLE_LOAD_URL','_schedule','8703152xLYAKF','#FFF','HEARTBEAT_TIMEOUT','black','_getSaveTimeout','onMouseMove','UNIVER_SHEET','updateOfflineData','_onRecvEvent','BASE64','execute','LOCAL_CACHE_INTERVAL','isArray','Malformed\x20UTF-8\x20data','_textBubble','top','use','rev','univerjs-icon\x20univerjs-icon-','propertyIsEnumerable','snapshotServerUrl','CONNECTOR_DATA_TOO_LARGE','[SyncedState]:\x20received\x20rejection.','_cursor','_awaitingChangeset','APPLY_NON_SEQUENTIAL_REVISION','close$','uni.network.url-service','_redoStacks','clear','post','requestParams','interceptor','forEach','createDecryptor','shouldCloseConn','RETRY_CONNECTING_MAX_COUNT','repeat','react.element','BlockCipher','children','jsx','_send','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_scheduleTimestamp','PSEUDO_FETCH_MISSING_RESULT','result','_clearOtherTimers','SerializableCipher','algo','UNDEFINED','decrypt','onSyncEditingCollabCursor','_userManagerService','HttpExport','transformUndoRedo','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','originalMeta','_messageService','type','univer-online','univer-online-status','_nDataBytes','target','getResourcesRequest','VIEW_MAIN','getCurrent','_resendTimer','substr','socketService','_process','getRenderById','ALREADY_EXISTS','bind','mutations','encode','concat','_docTransformStateCacheService','replace','_imageSourceCache','RECT','confirm','append','objects','dispose$','unitID','onSendChangeset','createCollaborator','reqId','__creator','_getSnapshotAPIPrefix','responseType','c1Prime','_clearScheduledTask','_clearCollaborationTimeoutTimer','_cursorInfo$','ranges','univer-online-status-title','UnitSnapshot','equals','INVALID_ARGUMENT','apply','[FetchMissState]','_members','keySize','_collaborationController','_cachedData','currentTheme$','_docSyncEditingCollabCursorService','every','_waitCount','kdf','_transformRemoteChangesetByIMECache','FAIL','randomBytes','InsertRangeMoveRightCommandId','_hash','submit\x20changeset\x20error!','_transformUndoredo','getSheetBySheetId','_onOffline','code','assign','extend','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/-/object/list','COLLAB_SUBMIT_CHANGESET_URL','_submitChangeset','[UniverCollaborationClientPlugin]','updateCursorEvent','trim','_retryCount','_colorIndex','signUrlServerUrl','enableOfflineEditing','_unitID','_localStorageService','MoveRangeCommandId','_online','_initResize','2197515kCqgBK','Utf8','OnLineSingle','objectType','/unit/','_commandService','skeleton','_loadDoc','SHA1','/universer-api/snapshot/','editing\x20status\x20changed\x20to','HMAC','[PendingState]:\x20received\x20rejection.','createInstance','_hover','getTime','TOO_MANY_REQUESTS','_hasher','_assignedColors','url(#off-line-single_clip0_910_343)','entries','defineProperty','_acknowledgedAwaitingChangeset','toRgbString','retryConnectingInterval','onlineStatusIcon','RemoveColCommandId','_entityInit$','clone','encrypt','jsxs','whenReady','getSheetBlock','compute','startColumn','saveSnapshot','deepClone','_selfUnitIDs','setItem','getUnit','image/jpeg','Hasher','0\x200\x2017\x2016','collabStatus.conflict','getOffsetConfig','c2Prime','setAlpha','_loadSheet','not_collab','UNRECOGNIZED','_ws','_event$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/universer-api/authz','readAsDataURL','encryptBlock','roomMembers','IDLE','Cipher','?size=','#fff','open$','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','capture','COLLAB_WEB_SOCKET_URL','onRemoteChangeset','collabWebSocketUrl','getStateCache','ENSURE_SNAPSHOT_EXECUTION','Fragment','addEventListener','set','setConfig','row','RemoveRowCommandId','_localeService','words','_clearHeartbeatTimer','_waitForHeartbeatResponse','INGEST','currentSkeleton$','sid','HmacSHA1','crypto','collabStatus.notCollab','close','[CollaborationSession]','COMPRESS_MUTATION_SEND','_socketService','xlink:href','colorChannel1','_injector','_handler','[SyncedState]:\x20received\x20acknowledgement.','ivSize','_snapshotService','liveShareNewHost','AWAITING_WITH_PENDING','HttpImport','5uSdBku','COMPLETION_FINISHED','now','unshift','onRemoteRetry','name','color','_registerRenderDependencies','dispose','getCurrentRevOfUnit','labelPosition','refreshPermission','fetchMiss','arc','cursorInfo','Hex','fill','[OfflineState]:\x20received\x20changeset.','_transformHistoryAndStateStack','engine','_setupSubUnitSync','function','_docSkeleton','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_disabled','range','event$','_incrementRevisionNumber','_remoteChangesetQueue','_sessions','transformChangesets','awaiting','getUnitType','selections','status','_scheduleCollaborationTimeoutTimer','PERMISSION_REJ','_socket$','getUnitOnRev','_snapshotServerService','_throwTelemetryCollaborationNewChangeset','hide','docStateChange$','_permissionService','_transformPreviousActiveRange','url','lib','_logService','collaboration.single-unit.warning','LIVESHARE_FETCH_OPERATIONS','sessionStatus$','purple300','msCrypto','debug','defs','AWAITING','className','map','unload','getViewport','_docTransformIMECacheService','SNAPSHOT_INVALID_SNAPSHOT','pad','_xformMode','image/gif','_changesetReqId','NOT_FOUND','[CollaborationUndoRedoService]','_transformUndoRedoStack','_handleHeartbeatEvent','CHANGESET_ACK','addObjects','clipPath','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','onRendered','_ensureSubject','_DEC_XFORM_MODE','status$','_changesetSessionId','NoPadding','_clearTimeoutTimer','_urlService','_executeRemoteChangeset','StreamCipher','collabCursorState$','red300','collab-text-range-','object','hasOwnProperty','_updateLocalCursor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','session.connection-failed','_anchorDot','_startSheetCollabCursor','_hovered','toString','json','join','restore','displayName','roomMembers$','MSG_FOR_ERROR','unitId','_range','saveOfflineData','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_checkMissing','_sheetTransformSelectionsService','div','_collaborationSessionService','duration','_getAPIPrefix','stopTime','image/bmp','getSkeleton','_transformIMECache','_minBufferSize','subscribeEvent','_createInitialStateImpl','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','reconnect','onTransformRemoteChangesetByStateCache','abs','getSheetId','_onJoinRoomEvent','_stopTelemetryCollaborationNewChangeset','_drawRectRange','_socket','on-line-single','endRow','_onCursorDelete','transformMutation','WordArray','Undefined','_unlockTransition','fetching\x20missing\x20changesets\x20from\x20','put','charCodeAt','_memberService','updateCollaborator','editingUnit','height','resize','permissionRejEvent','\x20to\x20','_collaborationPaused','transformSelections','/new_changes','_instanceService','removeMember','getInterceptPoints','11788353jhpUTx','pending','transformIMECache','_sendHeartbeatTimer','Encryptor','updatePermissionPoint','_uiPartsService','_getUndoStack','_onUserLeave','setInterval','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_getDownloadEndpointURL','title','clearTimeout','Pkcs7','getDocRanges','getRangePointData','update','[PendingState]:\x20received\x20acknowledgement.','_undoRedoService','_labelPosition','ws://127.0.0.1:8000/universer-api/comb/connect','newCsEvent','FileId','disposeUnit','data','_beforeCloseService','addImageSourceCache','LIVESHARE_TERMINATE','objectID','_doReset','_onRefRangeChange','getCellPositionByOffset','_config','JOIN','_candidateSocket','endColumn','registerRenderModule','SNAPSHOT_HAS_BEEN_REMOVED','collaboration_new_changeset','YUUMI_URL_COL_OUT_OF_RANGE','DEFAULT_FILE_NAME','{fileID}','_clearRedo','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_type','icon','onMissedChangesetFetched','has','onRemoteRej','_startDocCollabCursor','currentColor','APPLY_DUPLICATED','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','symbol','_sessionStatus$','off-line-single_clip0_910_343','_shouldReportTelemetry','InsertRangeMoveDownCommandId','svg','onCommentUpdate','_document','_onRemoteRejected','POST','hasher','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','PENDING','mixIn','pluginName','transformRemoteChangeset','_decreaseWaiting','OffLineSingle','commentUpdateEvent','routeKey','univer-pro.collaboration-client.single-active-unit-service','_getSheetObject','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UNIVER_SLIDE','_onLocalMutation','_clearUndo','M0\x200H16V16H0z','error','&assign=','_append','_roomMembers','Decryptor','resolve','FETCH_MISSING','conflict.content','_keyPriorReset','DeleteRangeMoveLeftCommandId','UPDATE_PERMISSION_OBJ','baseRev','USERS_LEAVE','transformStack\x20failed!','getCurrentSelections','sessionStatus','getActiveSheet','_heartbeatTimer','getActiveRange','reverse','_cursors','memberID','split','_docSkeletonManagerService','_initCloseConn','getCollabEntity$','Could\x20not\x20dynamically\x20require\x20\x22','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','$super','collabStatus.fetchMiss','_joinRoom','for','_pendingMutations','_univerInstanceService','getValue','init','font','unknown','_exhaustRemoteChangesetQueue','_doFinalize','_collabCursorState$','MD5','_context','getUniverSheetInstance','defaultProps','permission.title','visibilityState','onPointerLeave$','registerBeforeClose','_resendWithTimeout','onTransformIME','action','...','_httpService','_prevBlock','isEditing','_ENC_XFORM_MODE','collaborators','_doProcessBlock','charAt','_sendHeartbeat','getCurrentUser','getUnitStatus$','_isPermissionRej','drawWith','min','find','setStateCache','loadSheet','onTransformChange$','PERMISSION_DENIED','_telemetryInfo','_updateState','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_queuedRemoteChangesets','actions','add','CHANGESET_SHOULD_RETRY','rgba(255,\x20255,\x20255,\x200.01)','storage','OFFLINE','_localCacheService','TEXT','round','filter','offline','onTransformRemoteChangesetByIMECache','selection','_oKey','transformStateCache','newValue','_initUnitPermissionChange','toLowerCase','_onConnectionFailed','show','_saveCache','path','JOINING','stringify','_initMergeInterceptor','InsertColCommandId','_transformSelections','some','all','_transitionLocked','_lockTransition','attrs','_onConflict','format','generateRandomId','_draw','LICENSE_IMPORT_SIZE_EXCEEDED','file','_mode','118988ChcgxJ','_fetchMissChangesets','_scheduleClearOtherTimer','fetchMissingChangesets','failed\x20to\x20apply\x20missed\x20changesets!','onPointerMove$','[CollaborationState]:\x20apply\x20error!','hovered','permission.content','clamp','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getWorkbookSelections','_scene','sin','_removeCollabCursors','_createSocket','resend','EXCHANGE_SIGN_URL_SERVER_URL_KEY','setUndoRedoMutationParamsCache','collaboratorID','ref','socket\x20close','/universer-api/file/{fileID}/sign-url','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','react.fragment','registerOnClose','onlyLocal','_tryReconnect','_http','_initDependencies','replaceState','_disableEditing','transform','_clearLocalCache','_cursorShapes','assignAColorForMemberID','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','NEW_CHANGESETS','awaiting_with_pending','closeSession','executeCommand','setParam','m1Prime','NO_OTHER_CLIENTS_EDITING','getOwnPropertyDescriptor','_setupBeforeClosingHandler','getRoom','FromArray','_rescheduleHeartbeat','getMember','HELLO','onRemoteAck','session','fetchThroughInterceptors','ERROR_IMAGE','_refRangeService','visibilitychange','AES','includes','transformMutationsWithChangeset','_onRemoteChangeset','_docStateChangeManagerService','Base','getLatestCsReqIdBySid','BufferedBlockAlgorithm','_scheduleSaving','_registerDependencies','then','setShowComponents','session.will-retry','disableLocalCache','LIVESHARE_REQUEST_HOST','_getCtorByUniverType','_state','_cipher','requireSession','substring','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getImage','univer-offline','string','_removeRoom','processBlock','_iKey','DeleteRangeMoveUpCommandId','_unitStatus','_renderManagerService','textRanges','changesets','pauseCollaboration','replaceDocRanges','getImageSourceCache','closePath','_getRedoStack','CONFLICT','sigBytes','loadOfflineData','blockSize','[CollaborationSessionService]','?url=','6903212rWbbpI','saveImage','LIVESHARE_NEW_HOST','\x20in\x20_schedule.','getAllMembers','_getScale','send','/-/object/-/batch_allowed','_id','_color','[DataLoaderController]','values','appendMutation','_drawTextRange','length','subunit','_collabSessionService','SHOULD_CLOSE_CONN','_retryConnectingTimer','reject','EvpKDF','setTimeout','SUBMIT_CHANGESET','univer-pro.collaboration-client-socket-service','UNIVER_DOC','_configService','startRow','FETCH_MISS','LICENSE_DISTRO_REJECTED','LIVESHARE_OPERATION','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','subUnitId','_initEventListeners','_handleLeaveEvent','CHANGESET_REVISION_CONFILICT','connection\x20error','_transformStack','_getCurrentRevision','cfg','indexOf','1em','awaitingChangeset','_saveTaskMap','getAncestorScale','_drawAnchor','onPointerEnter$','_invKeySchedule','size','OTHER_CLIENTS_EDITING','popstate','Error','loginUrlKey','lineTo','next','buffer','padding','column','makeDirty','registerHTTPInterceptor','UnitEmbedded','HEADER_MENU','exports','undoState','collaboration-session-retry','_revisionService','collaboration.closeRoom','_updateSubUnitFromURLParams','LEAVE','change$','_keySchedule','UNIVER_COLLABORATION_CLIENT_PLUGIN','fillStyle','sheetID','key','syncEditingCollabCursor','_render','on-line-single_clip0_910_349','getParam','_updateLocalCache','_handleEvent','_refreshCollabCursors','onTransformSelections','infoRsp','[OfflineState]:\x20received\x20rejection.','default','_lastPointer','_createHmacHelper','onMissingChangesets','UNAUTHENTICATED','_socketMessageSubscription','create','_resendTimeout','ceil','current','_colorAssignService','unsubscribe','backgroundColor','_updateURLWithCurrentState','transformByState','setShapeProps','_map','params','unpad','sheetId','_socketReady','pipe','_roomMembers$','USERS_ENTER','_onRemoteRetry','asObservable','isActive','setCurrentUser','compose','_docTransformSelectionsService','rng','_listenToOnlineEvent','random','toggleOnline','_removeClearOtherTimer','UNKNOWN_CMD','max','getRelativeToViewportCoord','localeService','PasswordBasedCipher','collab-text-anchor-','_onCursorUpdate','_initStatusComponent','triggerDblclick','InsertRowCommandId','_listenToOfflineEvent','synced','_applyRemoteChangeset','mode','measureText','HEARTBEAT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','loadDoc','_shapes','with','enableLocalCache','_createHandler','collaboration-client.config','get','list','unit','history','_unitOnClients','UniverIcon','/object/','__Key__','randomUUID','evenodd','\x0aCurrent:\x20','exhaustSavingTask','_reverseMap','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','doc.mutation.rich-text-editing','getTypeOfUnitAdded$','1909030XaSPhk','_session','/collaborator','getTypeOfUnitDisposed$','csShouldRetryEvent','_iv','catch','_initCommandExecutedListener','body','getCurrentUnitForType','tag','_tryEnsureSocket','_collaborationTimeoutTimer','_backgroundColor','_getUploadFileURL','headers','createEncryptor','iterations','_singleActiveUnitService','CHANGESET_REJ'];_0x2abb=function(){return _0x3dfc99;};return _0x2abb();}function Or(_0x53221b){const _0x1c8077=_0x3238bf;switch(_0x53221b[_0x1c8077(0x443)]){case W['HEARTBEAT']:case W[_0x1c8077(0x2e5)]:return JSON['stringify']({'cmd':_0x53221b[_0x1c8077(0x443)],'routeKey':_0x53221b[_0x1c8077(0x239)]});case W[_0x1c8077(0x145)]:{let _0x31b7c4;switch(_0x53221b[_0x1c8077(0x209)][_0x1c8077(0x448)]){case _0x2c5a34[_0x1c8077(0x42c)]:{_0x31b7c4={'eventID':_0x2c5a34[_0x1c8077(0x42c)],'updateCursorEvent':_0x53221b[_0x1c8077(0x209)]['data']};break;}case _0x2c5a34['USERS_LEAVE']:{_0x31b7c4={'eventID':_0x2c5a34[_0x1c8077(0x24d)],'leaveEvent':_0x53221b['data'][_0x1c8077(0x209)]};break;}case _0x2c5a34[_0x1c8077(0x382)]:{_0x31b7c4={'eventID':_0x2c5a34[_0x1c8077(0x382)],'joinEvent':_0x53221b['data']['data']};break;}case _0x2c5a34['LIVESHARE_NEW_HOST']:{_0x31b7c4={'eventID':_0x2c5a34['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x53221b[_0x1c8077(0x209)][_0x1c8077(0x209)]};break;}case _0x2c5a34[_0x1c8077(0x334)]:{_0x31b7c4={'eventID':_0x2c5a34[_0x1c8077(0x334)],'liveShareOperation':_0x53221b[_0x1c8077(0x209)][_0x1c8077(0x209)]};break;}case _0x2c5a34['LIVESHARE_TERMINATE']:{_0x31b7c4={'eventID':_0x2c5a34['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x53221b['data'][_0x1c8077(0x209)]};break;}case _0x2c5a34[_0x1c8077(0x2fa)]:{_0x31b7c4={'eventID':_0x2c5a34[_0x1c8077(0x2fa)],'liveShareRequestHost':_0x53221b[_0x1c8077(0x209)][_0x1c8077(0x209)]};break;}case _0x2c5a34[_0x1c8077(0x18a)]:{_0x31b7c4={'eventID':_0x2c5a34[_0x1c8077(0x18a)]};break;}default:_0x31b7c4={'eventID':_0x53221b[_0x1c8077(0x209)][_0x1c8077(0x448)]};}return JSON[_0x1c8077(0x2a3)]({'cmd':_0x53221b[_0x1c8077(0x443)],'routeKey':_0x53221b[_0x1c8077(0x239)],'collaMsg':_0x31b7c4});}case W[_0x1c8077(0x212)]:return JSON['stringify']({'cmd':_0x53221b[_0x1c8077(0x443)],'routeKey':_0x53221b[_0x1c8077(0x239)],'joinReq':_0x53221b[_0x1c8077(0x209)]});case W[_0x1c8077(0x35a)]:return JSON['stringify']({'cmd':_0x53221b['cmd'],'routeKey':_0x53221b[_0x1c8077(0x239)],'leaveReq':_0x53221b['data']});default:throw new Error(_0x1c8077(0x40a));}}var wr=Object['defineProperty'],Dr=Object[_0x3238bf(0x2df)],Pr=(_0x3ed195,_0x47025e,_0x270384,_0x49cec3)=>{const _0x44103f=_0x3238bf;for(var _0x39ca49=_0x49cec3>0x1?void 0x0:_0x49cec3?Dr(_0x47025e,_0x270384):_0x47025e,_0x3ed695=_0x3ed195[_0x44103f(0x325)]-0x1,_0x1e245a;_0x3ed695>=0x0;_0x3ed695--)(_0x1e245a=_0x3ed195[_0x3ed695])&&(_0x39ca49=(_0x49cec3?_0x1e245a(_0x47025e,_0x270384,_0x39ca49):_0x1e245a(_0x39ca49))||_0x39ca49);return _0x49cec3&&_0x39ca49&&wr(_0x47025e,_0x270384,_0x39ca49),_0x39ca49;},qe=(_0x631fb3,_0x223bbb)=>(_0x4263a7,_0xc30b5e)=>_0x223bbb(_0x4263a7,_0xc30b5e,_0x631fb3);const Oi=_0x271919(_0x3238bf(0x32e));function Ur(_0x239aad,_0x1fc789,_0x52095a){const _0x3f2ef2=_0x3238bf;return _0x239aad+'/'+_0x1fc789+_0x3f2ef2(0x524)+_0x52095a+_0x3f2ef2(0x1ec);}let es=class extends _0x1bec45{constructor(_0x589cab,_0x49c1e8,_0x193619,_0x11cb1f,_0x5d2e98){const _0x45e91f=_0x3238bf;super(),this[_0x45e91f(0x2cf)]=_0x589cab,this[_0x45e91f(0x552)]=_0x49c1e8,this[_0x45e91f(0x330)]=_0x193619,this[_0x45e91f(0x188)]=_0x11cb1f,this[_0x45e91f(0x180)]=_0x5d2e98;}[_0x3238bf(0x467)](_0x350825){const _0x568685=_0x3238bf,_0x42ce2d=this[_0x568685(0x552)][_0x568685(0x467)](_0x350825);if(!_0x42ce2d)throw new Error(_0x568685(0x225));const _0xef6f5b=new _0x2bf957(),_0xc5f8ec=new _0x302e6e();_0xef6f5b[_0x568685(0x28d)](_0x42ce2d['close$'][_0x568685(0x43b)](_0x1bd01b=>_0xc5f8ec[_0x568685(0x34c)](_0x1bd01b))),_0xef6f5b[_0x568685(0x28d)](_0x164be7(()=>_0xc5f8ec['complete']()));const _0x409125=new _0x302e6e();_0xef6f5b['add'](_0x42ce2d[_0x568685(0x457)][_0x568685(0x43b)](_0x2f5c29=>_0x409125['next'](_0x2f5c29))),_0xef6f5b[_0x568685(0x28d)](_0x164be7(()=>_0x409125['complete']()));const _0x5d646c=new _0x302e6e();_0xef6f5b[_0x568685(0x28d)](_0x42ce2d[_0x568685(0x411)][_0x568685(0x43b)](_0x4c5898=>{const _0x6ad880=_0x568685,_0x1466f6=yr(_0x4c5898);_0x5d646c[_0x6ad880(0x34c)](_0x1466f6);})),_0xef6f5b[_0x568685(0x28d)](_0x164be7(()=>_0x5d646c[_0x568685(0x44a)]()));let _0x50594d;const _0x5137ab=()=>{const _0x5d241f=_0x568685;_0x409125[_0x5d241f(0x34c)](new Event(_0x5d241f(0x33a))),_0xc5f8ec[_0x5d241f(0x34c)](new CloseEvent(_0x5d241f(0x33a))),_0x50594d[_0x5d241f(0x14b)]();};return _0x50594d={'memberID':'','close$':_0xc5f8ec[_0x568685(0x384)](),'error$':_0x409125[_0x568685(0x384)](),'open$':_0x42ce2d[_0x568685(0x55d)],'message$':_0x5d646c[_0x568685(0x384)](),'send':_0x4de1e8=>{const _0x266437=_0x568685;if(_0x4de1e8[_0x266437(0x443)]===W['INGEST']){if(_0x4de1e8[_0x266437(0x209)][_0x266437(0x448)]===_0x2c5a34['SUBMIT_CHANGESET']){this[_0x266437(0x513)](_0x50594d,_0x4de1e8[_0x266437(0x209)])[_0x266437(0x3bb)](_0xd1cc06=>{const _0x1bf355=_0x266437;this['_logService'][_0x1bf355(0x241)](_0xd1cc06),_0x5137ab();});return;}if(_0x4de1e8[_0x266437(0x209)][_0x266437(0x448)]===_0x2c5a34[_0x266437(0x247)]){const _0x469e35=_0x4de1e8[_0x266437(0x209)];this[_0x266437(0x2b4)](_0x469e35)[_0x266437(0x2f6)](_0x50be66=>{const _0x30ad71=_0x266437;_0x5d646c[_0x30ad71(0x34c)]({'cmd':W['RECV'],'code':Is['OK'],'routeKey':_0x469e35[_0x30ad71(0x209)][_0x30ad71(0x4e9)],'routeType':'','data':{'eventID':_0x2c5a34[_0x30ad71(0x4c1)],'data':{'changesets':_0x50be66}}});})[_0x266437(0x3bb)](_0xcdcdd2=>{const _0x4042f4=_0x266437;this[_0x4042f4(0x188)][_0x4042f4(0x241)](_0xcdcdd2),_0x5137ab();});return;}}_0x42ce2d[_0x266437(0x31d)](Or(_0x4de1e8));},'close':()=>{const _0x551c95=_0x568685;_0x42ce2d[_0x551c95(0x14b)](),_0xef6f5b['dispose']();}},_0x50594d;}async['_submitChangeset'](_0x1ae7e2,_0x3e31c7){const _0x1bb965=_0x3238bf;var _0x3ce961,_0x4a7bb7;const {unitType:_0x280b56,unitID:_0x35a421,changeset:_0x4a7152}=_0x3e31c7[_0x1bb965(0x209)],_0x222962={'unitID':_0x35a421,'memberID':_0x1ae7e2['memberID'],'type':_0x280b56,'changeset':_0x33baa3(_0x4a7152)},_0x273c82=this[_0x1bb965(0x330)]['getConfig'](Cr),_0x1393c1=this[_0x1bb965(0x330)]['getConfig'](ie),_0x585612=Ur((_0x4a7bb7=(_0x3ce961=_0x1393c1==null?void 0x0:_0x1393c1[_0x1bb965(0x430)])!=null?_0x3ce961:_0x273c82)!=null?_0x4a7bb7:Er,_0x280b56,_0x35a421);try{await this[_0x1bb965(0x2cf)][_0x1bb965(0x4b2)](_0x585612,{'body':_0x222962});}catch(_0x549c39){throw this['_logService'][_0x1bb965(0x241)]('[CollaborationSession]',_0x1bb965(0x509)),_0x549c39;}}async['_fetchMissChangesets'](_0x548068){const _0x55effc=_0x3238bf,{unitID:_0x3be89d,from:_0x5deff6,to:_0x316fee,unitType:_0x54b020}=_0x548068['data'];return(await this['_snapshotServerService'][_0x55effc(0x2b6)]({'metadata':void 0x0},{'unitID':_0x3be89d,'type':_0x54b020,'from':_0x5deff6,'to':_0x316fee}))['changesets'];}};es=Pr([qe(0x0,_0x4a2654(_0x4ca339)),qe(0x1,_0x4a2654(_0xbe8463)),qe(0x2,_0x12cd24),qe(0x3,_0x5d0f53),qe(0x4,_0x54fc87)],es);const Nr=_0x3238bf(0x217);function Ar(_0x41bbdf){const _0x5a3e1e=_0x3238bf;return JSON[_0x5a3e1e(0x2a3)](_0x41bbdf)[_0x5a3e1e(0x325)];}class wi{constructor(){const _0x3f302=_0x3238bf;g(this,_0x3f302(0x474),new _0x302e6e()),g(this,_0x3f302(0x426),this[_0x3f302(0x474)][_0x3f302(0x384)]());}[_0x3238bf(0x22c)](_0x1014a6){const _0x50be5a=_0x3238bf;this[_0x50be5a(0x474)]['next'](_0x1014a6);}}var Mr=Object[_0x3238bf(0x535)],xr=Object['getOwnPropertyDescriptor'],Lr=(_0x1da145,_0x1660df,_0x50541a,_0x4abc2c)=>{for(var _0x1fb58b=_0x4abc2c>0x1?void 0x0:_0x4abc2c?xr(_0x1660df,_0x50541a):_0x1660df,_0x209c52=_0x1da145['length']-0x1,_0x19207d;_0x209c52>=0x0;_0x209c52--)(_0x19207d=_0x1da145[_0x209c52])&&(_0x1fb58b=(_0x4abc2c?_0x19207d(_0x1660df,_0x50541a,_0x1fb58b):_0x19207d(_0x1fb58b))||_0x1fb58b);return _0x4abc2c&&_0x1fb58b&&Mr(_0x1660df,_0x50541a,_0x1fb58b),_0x1fb58b;},Hs=(_0x2f9332,_0x37ca45)=>(_0xb55ca7,_0x2654b5)=>_0x37ca45(_0xb55ca7,_0x2654b5,_0x2f9332);let Ne=class extends _0x1bec45{constructor(_0x171a9e,_0x23a9c1){const _0x12a84b=_0x3238bf;super(),g(this,_0x12a84b(0x244),new Map()),(this[_0x12a84b(0x262)]=_0x171a9e,this[_0x12a84b(0x4c9)]=_0x23a9c1,this['disposeWithMe'](_0x164be7(_0xf2f2cb(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5997c4['UNIVER_SHEET'])[_0x12a84b(0x380)](_0x46b391(_0x46b742=>_0x46b742[_0x12a84b(0x3fd)]())),this[_0x12a84b(0x262)]['getTypeOfUnitDisposed$'](_0x5997c4[_0x12a84b(0x32f)])[_0x12a84b(0x380)](_0x46b391(_0x5866a1=>_0x5866a1[_0x12a84b(0x3fd)]())),this[_0x12a84b(0x262)][_0x12a84b(0x3b8)](_0x5997c4[_0x12a84b(0x23d)])[_0x12a84b(0x380)](_0x46b391(_0x105d19=>_0x105d19[_0x12a84b(0x3fd)]())))[_0x12a84b(0x43b)](_0x518445=>this['_removeRoom'](_0x518445)))));}[_0x3238bf(0x386)](_0x273ce0){const _0x26407d=_0x3238bf;this['_userManagerService'][_0x26407d(0x386)](_0x273ce0);}[_0x3238bf(0x27e)](){const _0x17e06f=_0x3238bf;return this[_0x17e06f(0x4c9)][_0x17e06f(0x27e)]();}['updateMember'](_0x21bc96,_0x5aaf83){const _0x3799b2=_0x3238bf;let _0x1105b7=this[_0x3799b2(0x244)][_0x3799b2(0x3a5)](_0x21bc96);_0x1105b7||(_0x1105b7=new $r(),this[_0x3799b2(0x244)][_0x3799b2(0x13d)](_0x21bc96,_0x1105b7)),_0x1105b7[_0x3799b2(0x438)](_0x5aaf83);}[_0x3238bf(0x1ee)](_0x190a39,_0x3c7b6f){const _0xf51376=_0x3238bf,_0x43fae8=this[_0xf51376(0x244)][_0xf51376(0x3a5)](_0x190a39);_0x43fae8&&_0x43fae8['removeMember'](_0x3c7b6f);}[_0x3238bf(0x2e1)](_0x4592fe){const _0x25baa4=_0x3238bf;return this[_0x25baa4(0x244)][_0x25baa4(0x3a5)](_0x4592fe);}[_0x3238bf(0x2e4)](_0x424f53,_0x1596ab){const _0x314694=_0x3238bf,_0x456e24=this['_roomMembers'][_0x314694(0x3a5)](_0x424f53);if(_0x456e24)return _0x456e24['getMember'](_0x1596ab);}[_0x3238bf(0x304)](_0x1645df){const _0x58989f=_0x3238bf,_0x3ec9e4=this[_0x58989f(0x244)][_0x58989f(0x3a5)](_0x1645df);_0x3ec9e4&&(_0x3ec9e4[_0x58989f(0x161)](),this[_0x58989f(0x244)][_0x58989f(0x45a)](_0x1645df));}[_0x3238bf(0x161)](){const _0x10b009=_0x3238bf;this[_0x10b009(0x244)][_0x10b009(0x4b5)](_0x319c25=>_0x319c25[_0x10b009(0x161)]()),this[_0x10b009(0x244)][_0x10b009(0x4b1)]();}};Ne=Lr([Hs(0x0,_0x21deaa),Hs(0x1,_0x4a2654(_0x58532f))],Ne);class $r extends _0x1bec45{constructor(){const _0x1ff828=_0x3238bf;super(...arguments),g(this,_0x1ff828(0x4fb),new Map());}[_0x3238bf(0x161)](){const _0x1cd32b=_0x3238bf;this[_0x1cd32b(0x4fb)][_0x1cd32b(0x4b1)]();}[_0x3238bf(0x438)](_0x4ca0ab){const _0x12a874=_0x3238bf;this[_0x12a874(0x4fb)]['set'](_0x4ca0ab[_0x12a874(0x256)],_0x4ca0ab);}[_0x3238bf(0x1ee)](_0x3e5345){const _0x195541=_0x3238bf;this[_0x195541(0x4fb)][_0x195541(0x45a)](_0x3e5345);}[_0x3238bf(0x2e4)](_0x36f2a1){const _0x282825=_0x3238bf;return this[_0x282825(0x4fb)][_0x282825(0x3a5)](_0x36f2a1);}[_0x3238bf(0x31b)](){const _0x25768b=_0x3238bf;return Array[_0x25768b(0x409)](this[_0x25768b(0x4fb)][_0x25768b(0x322)]());}}var Hr=Object[_0x3238bf(0x535)],jr=Object[_0x3238bf(0x2df)],Br=(_0x56fcd8,_0x1a65d0,_0x4cf9ed,_0x54b166)=>{const _0x5b2c03=_0x3238bf;for(var _0x39bc9c=_0x54b166>0x1?void 0x0:_0x54b166?jr(_0x1a65d0,_0x4cf9ed):_0x1a65d0,_0xf1e9db=_0x56fcd8[_0x5b2c03(0x325)]-0x1,_0x41fabd;_0xf1e9db>=0x0;_0xf1e9db--)(_0x41fabd=_0x56fcd8[_0xf1e9db])&&(_0x39bc9c=(_0x54b166?_0x41fabd(_0x1a65d0,_0x4cf9ed,_0x39bc9c):_0x41fabd(_0x39bc9c))||_0x39bc9c);return _0x54b166&&_0x39bc9c&&Hr(_0x1a65d0,_0x4cf9ed,_0x39bc9c),_0x39bc9c;},Ee=(_0x131e7e,_0x2262c7)=>(_0x4e9d9c,_0x182f60)=>_0x2262c7(_0x4e9d9c,_0x182f60,_0x131e7e),ve=(_0x23d864=>(_0x23d864[_0x23d864[_0x3238bf(0x559)]=0x0]=_0x3238bf(0x559),_0x23d864[_0x23d864[_0x3238bf(0x2a2)]=0x1]=_0x3238bf(0x2a2),_0x23d864[_0x23d864[_0x3238bf(0x291)]=0x2]=_0x3238bf(0x291),_0x23d864[_0x23d864['ONLINE']=0x3]=_0x3238bf(0x435),_0x23d864))(ve||{});let ts=class extends _0x9ae76a{constructor(_0x5b9b10,_0x126ad0,_0x28a4d2,_0x5c1b5d,_0x4c41ca,_0x280f6f,_0x3a6285,_0x542e88,_0x437e7e,_0x832a59){const _0x159601=_0x3238bf;super(),g(this,_0x159601(0x227),new _0x353bc7(0x0)),g(this,_0x159601(0x18b),this[_0x159601(0x227)][_0x159601(0x384)]()),g(this,'_event$',new _0x302e6e()),g(this,_0x159601(0x173),this[_0x159601(0x553)]['asObservable']()),g(this,'_socket'),g(this,'_socketMessageSubscription'),g(this,_0x159601(0x3c1)),g(this,'_shouldReportTelemetry',!0x1),g(this,'_telemetryInfo',null),(this[_0x159601(0x51b)]=_0x5b9b10,this[_0x159601(0x188)]=_0x28a4d2,this[_0x159601(0x20a)]=_0x5c1b5d,this[_0x159601(0x4ce)]=_0x4c41ca,this[_0x159601(0x330)]=_0x280f6f,this[_0x159601(0x141)]=_0x3a6285,this['_memberService']=_0x542e88,this['_commentService']=_0x437e7e,this[_0x159601(0x451)]=_0x832a59,this[_0x159601(0x229)]=!!this[_0x159601(0x451)],_0x126ad0[_0x159601(0x380)](_0x4b2adb(this['dispose$']))['subscribe'](_0x25f5fc=>{const _0x266fef=_0x159601;var _0x3438da;typeof _0x25f5fc>'u'||(this['_socket']=_0x25f5fc,_0x25f5fc?(this[_0x266fef(0x25f)](_0x25f5fc),this['_socketMessageSubscription']=_0x25f5fc[_0x266fef(0x411)][_0x266fef(0x43b)](_0x2e2e76=>{const _0x4d5474=_0x266fef;_0x2e2e76['routeKey']===this[_0x4d5474(0x51b)]&&this[_0x4d5474(0x46b)](_0x2e2e76);})):(this[_0x266fef(0x181)](),this['_sessionStatus$'][_0x266fef(0x34c)](0x2),(_0x3438da=this['_socketMessageSubscription'])==null||_0x3438da[_0x266fef(0x376)](),this[_0x266fef(0x370)]=null));}),this[_0x159601(0x3df)](this[_0x159601(0x20a)][_0x159601(0x2cc)](()=>{const _0x2e88e0=_0x159601;var _0x52424a;(_0x52424a=this['_socket'])==null||_0x52424a['send']({'cmd':W[_0x2e88e0(0x35a)],'data':{'roomID':this[_0x2e88e0(0x51b)]}});})));}get['sessionStatus'](){const _0x55b63f=_0x3238bf;return this['_sessionStatus$'][_0x55b63f(0x263)]();}['getMemberID'](){const _0x66980a=_0x3238bf;var _0x2d8e88,_0x4ea7af;return(_0x4ea7af=(_0x2d8e88=this[_0x66980a(0x1d8)])==null?void 0x0:_0x2d8e88[_0x66980a(0x256)])!=null?_0x4ea7af:null;}[_0x3238bf(0x161)](){const _0x553bd0=_0x3238bf;super[_0x553bd0(0x161)](),this[_0x553bd0(0x4e8)][_0x553bd0(0x34c)](),this['dispose$']['complete']();}['close'](){const _0x3e1912=_0x3238bf;var _0x3c5804,_0x59591d;this[_0x3e1912(0x181)](),(_0x3c5804=this['_socket'])==null||_0x3c5804[_0x3e1912(0x31d)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x3e1912(0x51b)]}}),(_0x59591d=this[_0x3e1912(0x1d8)])==null||_0x59591d[_0x3e1912(0x14b)](),this[_0x3e1912(0x553)][_0x3e1912(0x44a)](),this['_sessionStatus$']['complete'](),this[_0x3e1912(0x161)]();}[_0x3238bf(0x46b)](_0x282d20){const _0x2d721c=_0x3238bf;_0x282d20[_0x2d721c(0x443)]===W[_0x2d721c(0x212)]?this[_0x2d721c(0x1d5)](_0x282d20):_0x282d20[_0x2d721c(0x443)]===W[_0x2d721c(0x416)]&&this[_0x2d721c(0x49c)](_0x282d20);}['_joinRoom'](_0x1caedd){const _0x2d9d89=_0x3238bf;this[_0x2d9d89(0x227)][_0x2d9d89(0x34c)](0x1),_0x1caedd[_0x2d9d89(0x31d)]({'cmd':W[_0x2d9d89(0x212)],'routeKey':this[_0x2d9d89(0x51b)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x3f1be9){const _0x1e646b=_0x3238bf;var _0x337fd2;if(_0x3f1be9[_0x1e646b(0x50d)]===Is[_0x1e646b(0x505)]){this[_0x1e646b(0x4ce)][_0x1e646b(0x29f)]({'type':_0x62271a[_0x1e646b(0x432)],'content':this['_localeService']['t']('session.room-full')}),this[_0x1e646b(0x227)][_0x1e646b(0x34c)](0x2);return;}this[_0x1e646b(0x227)][_0x1e646b(0x34c)](0x3);const _0x5cd985=(_0x337fd2=_0x3f1be9['data'][_0x1e646b(0x470)][this[_0x1e646b(0x51b)]])==null?void 0x0:_0x337fd2[_0x1e646b(0x3e3)];_0x5cd985&&_0x5cd985['forEach'](_0x1fea4b=>this['_memberService'][_0x1e646b(0x438)](this[_0x1e646b(0x51b)],_0x1fea4b));}['_onRecvEvent'](_0x20c7e7){const _0x2b73b7=_0x3238bf;try{const _0x2706aa=_0x20c7e7[_0x2b73b7(0x209)];switch(_0x2706aa[_0x2b73b7(0x448)]){case _0x2c5a34['USERS_ENTER']:this['_onUserJoin'](_0x2706aa),this[_0x2b73b7(0x553)][_0x2b73b7(0x34c)](_0x2706aa);break;case _0x2c5a34[_0x2b73b7(0x24d)]:this[_0x2b73b7(0x1f8)](_0x2706aa),this['_event$']['next'](_0x2706aa);break;case _0x2c5a34[_0x2b73b7(0x19f)]:case _0x2c5a34[_0x2b73b7(0x28e)]:this[_0x2b73b7(0x1d6)](),this[_0x2b73b7(0x4f2)](),this['_event$']['next'](_0x2706aa);break;case _0x2c5a34[_0x2b73b7(0x1be)]:this[_0x2b73b7(0x188)][_0x2b73b7(0x241)](_0x2b73b7(0x491)+JSON[_0x2b73b7(0x2a3)](_0x2706aa)),this[_0x2b73b7(0x553)]['next'](_0x2706aa);break;case _0x2c5a34['COMMENT_UPDATE']:this['_commentService'][_0x2b73b7(0x22c)](_0x2706aa[_0x2b73b7(0x209)]),this['_event$'][_0x2b73b7(0x34c)](_0x2706aa);break;default:this[_0x2b73b7(0x553)][_0x2b73b7(0x34c)](_0x2706aa);}}catch(_0x4d21e8){this[_0x2b73b7(0x188)][_0x2b73b7(0x241)](_0x4d21e8,_0x20c7e7);}}['_onUserJoin'](_0x251166){const _0x4d184b=_0x3238bf;this[_0x4d184b(0x1e3)][_0x4d184b(0x438)](this[_0x4d184b(0x51b)],_0x251166[_0x4d184b(0x209)]);}[_0x3238bf(0x1f8)](_0x2f2e69){const _0x48f72d=_0x3238bf;this[_0x48f72d(0x1e3)][_0x48f72d(0x1ee)](this[_0x48f72d(0x51b)],_0x2f2e69[_0x48f72d(0x209)][_0x48f72d(0x256)]);}async[_0x3238bf(0x31d)](_0x3fe7cd,_0x133dab){const _0x2598d4=_0x3238bf;if(this[_0x2598d4(0x250)]!==0x3||!this[_0x2598d4(0x1d8)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3fe7cd[_0x2598d4(0x448)]===_0x2c5a34[_0x2598d4(0x32d)]&&(this[_0x2598d4(0x17c)](),this['_startTelemetryCollaborationNewChangeset'](_0x3fe7cd)),this[_0x2598d4(0x1d8)][_0x2598d4(0x31d)]({'cmd':W['INGEST'],'routeKey':_0x133dab,'routeType':'','data':_0x3fe7cd});}catch(_0x5094ae){this['_logService'][_0x2598d4(0x241)](_0x5094ae);}}[_0x3238bf(0x17c)](){const _0x49eae5=_0x3238bf;var _0x2179a1;this[_0x49eae5(0x3c1)]=window[_0x49eae5(0x32c)](()=>{const _0x2a3cf5=_0x49eae5;this['_collaborationTimeoutTimer']=null,this['_messageService'][_0x2a3cf5(0x29f)]({'type':_0x62271a[_0x2a3cf5(0x349)],'content':this[_0x2a3cf5(0x141)]['t'](_0x2a3cf5(0x42a))});},(_0x2179a1=this[_0x49eae5(0x330)][_0x49eae5(0x404)](bi))!=null?_0x2179a1:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x4db8ab=_0x3238bf;this[_0x4db8ab(0x3c1)]&&(clearTimeout(this[_0x4db8ab(0x3c1)]),this[_0x4db8ab(0x3c1)]=null);}[_0x3238bf(0x41b)](_0x330c49){const _0x2198a4=_0x3238bf;if(!this[_0x2198a4(0x229)])return;const {data:_0x50383c}=_0x330c49,{unitID:_0x2cddba,changeset:_0x53d10e}=_0x50383c,{mutations:_0x1d4f66,type:_0x1f58b6}=_0x53d10e;this[_0x2198a4(0x288)]={'unitId':_0x2cddba,'type':_0x1f58b6,'startTime':performance[_0x2198a4(0x15b)](),'stopTime':0x0,'duration':0x0,'size':Ar(_0x1d4f66)};}[_0x3238bf(0x1d6)](){const _0xa8533a=_0x3238bf;if(this[_0xa8533a(0x229)]){if(!this[_0xa8533a(0x288)]){this['_logService'][_0xa8533a(0x241)](_0xa8533a(0x14c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xa8533a(0x288)][_0xa8533a(0x1c9)]=performance[_0xa8533a(0x15b)](),this[_0xa8533a(0x288)][_0xa8533a(0x1c7)]=this[_0xa8533a(0x288)][_0xa8533a(0x1c9)]-this[_0xa8533a(0x288)][_0xa8533a(0x453)],this[_0xa8533a(0x451)][_0xa8533a(0x55f)](Nr,this[_0xa8533a(0x288)]),this['_telemetryInfo']=null;}}[_0x3238bf(0x181)](){const _0x266b57=_0x3238bf;this[_0x266b57(0x288)]=null;}};ts=Br([Ee(0x2,_0x5d0f53),Ee(0x3,_0xdad7a5),Ee(0x4,_0x2f8dd1),Ee(0x5,_0x12cd24),Ee(0x6,_0x4a2654(_0xc7611d)),Ee(0x7,_0x4a2654(Ne)),Ee(0x8,_0x4a2654(wi)),Ee(0x9,_0x384f19(_0x3a95be))],ts);var kr=Object[_0x3238bf(0x535)],Wr=Object[_0x3238bf(0x2df)],Fr=(_0x2fbf16,_0x5541ae,_0x4b8b3c,_0x3385bf)=>{for(var _0x1a18a6=_0x3385bf>0x1?void 0x0:_0x3385bf?Wr(_0x5541ae,_0x4b8b3c):_0x5541ae,_0xafe48f=_0x2fbf16['length']-0x1,_0x2c4e05;_0xafe48f>=0x0;_0xafe48f--)(_0x2c4e05=_0x2fbf16[_0xafe48f])&&(_0x1a18a6=(_0x3385bf?_0x2c4e05(_0x5541ae,_0x4b8b3c,_0x1a18a6):_0x2c4e05(_0x1a18a6))||_0x1a18a6);return _0x3385bf&&_0x1a18a6&&kr(_0x5541ae,_0x4b8b3c,_0x1a18a6),_0x1a18a6;},je=(_0x1c5060,_0x22f3ff)=>(_0x4980a8,_0x20ddd9)=>_0x22f3ff(_0x4980a8,_0x20ddd9,_0x1c5060);let Ae=class extends _0x1bec45{constructor(_0x46129c,_0x1efc2c,_0x3a49d2,_0x4eb2d1,_0x5f385b,_0x941378){const _0x2c6b27=_0x3238bf;super(),g(this,'_socket$',new _0x353bc7(void 0x0)),g(this,_0x2c6b27(0x421),this['_socket$'][_0x2c6b27(0x384)]()),g(this,_0x2c6b27(0x213),null),g(this,_0x2c6b27(0x176),new Map()),g(this,'_status$',new _0x353bc7(ve[_0x2c6b27(0x559)])),g(this,_0x2c6b27(0x1a6),this['_status$'][_0x2c6b27(0x384)]()),g(this,_0x2c6b27(0x37f),!0x1),g(this,_0x2c6b27(0x329)),g(this,_0x2c6b27(0x517),0x0),g(this,'_sendHeartbeatTimer'),g(this,_0x2c6b27(0x40d)),(this[_0x2c6b27(0x151)]=_0x46129c,this['_localeService']=_0x1efc2c,this[_0x2c6b27(0x4ce)]=_0x3a49d2,this[_0x2c6b27(0x188)]=_0x4eb2d1,this[_0x2c6b27(0x330)]=_0x5f385b,this[_0x2c6b27(0x14e)]=_0x941378,this[_0x2c6b27(0x337)]());}get['_socket'](){const _0x1cb764=_0x3238bf;return this[_0x1cb764(0x17e)][_0x1cb764(0x263)]();}[_0x3238bf(0x337)](){const _0x329fc9=_0x3238bf;this[_0x329fc9(0x398)](),this['_listenToOnlineEvent']();}[_0x3238bf(0x161)](){const _0x361415=_0x3238bf;super[_0x361415(0x161)](),this[_0x361415(0x176)]['forEach'](_0x32b9e6=>_0x32b9e6[_0x361415(0x161)]()),this['_sessions'][_0x361415(0x4b1)](),this[_0x361415(0x3ff)]['complete']();}async[_0x3238bf(0x2fe)](_0x41483e){const _0x5acaea=_0x3238bf;if(this['_sessions'][_0x5acaea(0x220)](_0x41483e))return this[_0x5acaea(0x176)][_0x5acaea(0x3a5)](_0x41483e);this['_tryEnsureSocket']();const _0x54c3e2=this[_0x5acaea(0x151)]['createInstance'](ts,_0x41483e,this['_socket$'][_0x5acaea(0x384)]());return this[_0x5acaea(0x176)][_0x5acaea(0x13d)](_0x41483e,_0x54c3e2),_0x54c3e2;}[_0x3238bf(0x2da)](_0x279ac0){const _0x4181ae=_0x3238bf;var _0x4df072;const _0x5264d8=this['_sessions'][_0x4181ae(0x3a5)](_0x279ac0);_0x5264d8&&(this[_0x4181ae(0x176)][_0x4181ae(0x45a)](_0x279ac0),_0x5264d8[_0x4181ae(0x14b)]()),this[_0x4181ae(0x176)][_0x4181ae(0x346)]||(_0x4df072=this['_socket'])==null||_0x4df072[_0x4181ae(0x14b)]();}[_0x3238bf(0x1d1)](){const _0x1b1dad=_0x3238bf;this[_0x1b1dad(0x517)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1b1dad(0x329)]),this[_0x1b1dad(0x329)]=null),this[_0x1b1dad(0x2ce)]();}[_0x3238bf(0x2c2)](){const _0x299f99=_0x3238bf;var _0x3d1055,_0x52f31a;const _0x32e3d1=this[_0x299f99(0x330)][_0x299f99(0x404)](ur),_0x55e9cc=this[_0x299f99(0x330)][_0x299f99(0x404)](ie),_0xa3ad72=(_0x52f31a=(_0x3d1055=_0x55e9cc==null?void 0x0:_0x55e9cc[_0x299f99(0x562)])!=null?_0x3d1055:_0x32e3d1)!=null?_0x52f31a:dr,_0x3b3903=this[_0x299f99(0x14e)]['createSocket'](_0xa3ad72);return this[_0x299f99(0x213)]=_0x3b3903,_0x3b3903;}[_0x3238bf(0x3c0)](){const _0x3130ce=_0x3238bf;var _0xfca539,_0x3be763;try{const _0x2ffb7c=(_0x3be763=(_0xfca539=this[_0x3130ce(0x1d8)])!=null?_0xfca539:this['_candidateSocket'])!=null?_0x3be763:this['_createSocket']();if(_0x2ffb7c){const _0x501144=_0x2ffb7c[_0x3130ce(0x31d)];_0x2ffb7c[_0x3130ce(0x31d)]=_0x1e0c38=>(this[_0x3130ce(0x2e3)](),_0x501144[_0x3130ce(0x4f9)](_0x2ffb7c,[_0x1e0c38])),_0x2ffb7c[_0x3130ce(0x411)][_0x3130ce(0x43b)](_0x5c7e93=>this['_onMessage'](_0x2ffb7c,_0x5c7e93)),_0x2ffb7c[_0x3130ce(0x457)][_0x3130ce(0x380)](_0x1070e6(0x1))['subscribe'](_0x362e3d=>this[_0x3130ce(0x188)][_0x3130ce(0x241)](_0x3130ce(0x454),_0x362e3d)),_0x2ffb7c[_0x3130ce(0x55d)]['pipe'](_0x1070e6(0x1))[_0x3130ce(0x43b)](()=>{const _0x447e3d=_0x3130ce;this[_0x447e3d(0x456)](_0x2ffb7c);}),_0x2ffb7c[_0x3130ce(0x4ae)][_0x3130ce(0x380)](_0x1070e6(0x1))[_0x3130ce(0x43b)](_0x4e6b64=>{const _0x44f8ec=_0x3130ce;this[_0x44f8ec(0x188)][_0x44f8ec(0x18e)]('[CollaborationSessionService]',_0x44f8ec(0x2c8),_0x4e6b64),this[_0x44f8ec(0x29e)]();});}}catch(_0x47faf8){this[_0x3130ce(0x188)][_0x3130ce(0x241)](_0x47faf8),this[_0x3130ce(0x29e)]();}}[_0x3238bf(0x456)](_0x55e39e){const _0x2e7bd9=_0x3238bf;this[_0x2e7bd9(0x188)][_0x2e7bd9(0x18e)](_0x2e7bd9(0x315),'socket\x20open.'),_0x55e39e[_0x2e7bd9(0x31d)]({'cmd':W[_0x2e7bd9(0x2e5)]}),this['_rescheduleHeartbeat']();}[_0x3238bf(0x398)](){const _0x110b8a=_0x3238bf;window['addEventListener'](_0x110b8a(0x296),()=>this['_onOffline']());}[_0x3238bf(0x50c)](){const _0x476dcb=_0x3238bf;this[_0x476dcb(0x37f)]=!0x1,this[_0x476dcb(0x213)]=null,this[_0x476dcb(0x3ff)][_0x476dcb(0x34c)](ve[_0x476dcb(0x291)]),this[_0x476dcb(0x17e)][_0x476dcb(0x34c)](null),this[_0x476dcb(0x1a9)](),this[_0x476dcb(0x143)]();}[_0x3238bf(0x29e)](){const _0x4efe74=_0x3238bf;var _0x5eec39;this['_onOffline'](),this[_0x4efe74(0x517)]<((_0x5eec39=this['_configService']['getConfig'](pr))!=null?_0x5eec39:gr)?(this['_messageService'][_0x4efe74(0x29f)]({'key':_0x4efe74(0x356),'type':_0x62271a[_0x4efe74(0x432)],'content':this['_localeService']['t'](_0x4efe74(0x2f8))}),this[_0x4efe74(0x2ce)]()):this[_0x4efe74(0x4ce)][_0x4efe74(0x29f)]({'key':_0x4efe74(0x356),'type':_0x62271a['Error'],'content':this[_0x4efe74(0x141)]['t'](_0x4efe74(0x1b4))});}[_0x3238bf(0x38a)](){const _0x47cbb1=_0x3238bf,_0xef31ec=()=>{const _0x1c16ee=_0x466f;this[_0x1c16ee(0x1d8)]||this[_0x1c16ee(0x1d1)]();},_0x11afdc=()=>{const _0x1be944=_0x466f;this['_socket']||document[_0x1be944(0x26f)]==='hidden'||this[_0x1be944(0x1d1)]();};window['addEventListener']('online',_0xef31ec),document[_0x47cbb1(0x13c)](_0x47cbb1(0x2eb),_0x11afdc);}['_tryReconnect'](){const _0x1c40ec=_0x3238bf;var _0x1ff922;const _0x1088e7=this[_0x1c40ec(0x517)],_0x1f4f4e=this['_configService']['getConfig'](ie),_0x33cd3b=_0x1088e7===0x0?0x0:((_0x1ff922=_0x1f4f4e==null?void 0x0:_0x1f4f4e[_0x1c40ec(0x538)])!=null?_0x1ff922:mr)*0x2**_0x1088e7;this[_0x1c40ec(0x329)]=window[_0x1c40ec(0x32c)](()=>{const _0x410e6c=_0x1c40ec;clearTimeout(this['_retryConnectingTimer']),this[_0x410e6c(0x329)]=null,this[_0x410e6c(0x3c0)]();},_0x33cd3b),this[_0x1c40ec(0x517)]+=0x1;}['_onMessage'](_0x239ff2,_0x2c43b0){const _0x1eeb27=_0x3238bf,{cmd:_0x463dbc}=_0x2c43b0;_0x463dbc===W[_0x1eeb27(0x2e5)]&&!this[_0x1eeb27(0x37f)]&&(_0x239ff2[_0x1eeb27(0x256)]=_0x2c43b0[_0x1eeb27(0x209)]['memberID'],this[_0x1eeb27(0x17e)][_0x1eeb27(0x34c)](_0x239ff2),this['_status$']['next'](ve['ONLINE']),this[_0x1eeb27(0x37f)]=!0x0,this[_0x1eeb27(0x213)]=null),_0x463dbc===W[_0x1eeb27(0x39d)]&&this[_0x1eeb27(0x1a9)](),this[_0x1eeb27(0x2e3)]();}['_rescheduleHeartbeat'](){const _0x2b0c54=_0x3238bf;var _0x4b5b4e;this[_0x2b0c54(0x143)](),this['_sendHeartbeatTimer']=window[_0x2b0c54(0x32c)](()=>this['_sendHeartbeat'](),(_0x4b5b4e=this[_0x2b0c54(0x330)][_0x2b0c54(0x404)](fr))!=null?_0x4b5b4e:vr);}[_0x3238bf(0x27d)](){const _0x1e90de=_0x3238bf;this[_0x1e90de(0x1d8)][_0x1e90de(0x31d)]({'cmd':W['HEARTBEAT']}),this[_0x1e90de(0x144)]();}[_0x3238bf(0x144)](){const _0x311499=_0x3238bf;var _0x20e386;this[_0x311499(0x40d)]=window[_0x311499(0x32c)](()=>this[_0x311499(0x29e)](),(_0x20e386=this[_0x311499(0x330)]['getConfig'](bi))!=null?_0x20e386:Ti);}[_0x3238bf(0x143)](){const _0x3ffced=_0x3238bf;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3ffced(0x1f3)]),this[_0x3ffced(0x1f3)]=null);}[_0x3238bf(0x1a9)](){const _0x1b3153=_0x3238bf;this[_0x1b3153(0x40d)]!=null&&(clearTimeout(this[_0x1b3153(0x40d)]),this['_timeoutTimer']=null);}};Ae=Fr([je(0x0,_0x4a2654(_0x28b8e2)),je(0x1,_0x4a2654(_0xc7611d)),je(0x2,_0x2f8dd1),je(0x3,_0x5d0f53),je(0x4,_0x12cd24),je(0x5,Oi)],Ae);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x3238bf(0x419)]((i+0x100)['toString'](0x10)[_0x3238bf(0x423)](0x1));function Vr(_0x47b7d1,_0x5bdf89=0x0){const _0x35d720=_0x3238bf;return(Y[_0x47b7d1[_0x5bdf89+0x0]]+Y[_0x47b7d1[_0x5bdf89+0x1]]+Y[_0x47b7d1[_0x5bdf89+0x2]]+Y[_0x47b7d1[_0x5bdf89+0x3]]+'-'+Y[_0x47b7d1[_0x5bdf89+0x4]]+Y[_0x47b7d1[_0x5bdf89+0x5]]+'-'+Y[_0x47b7d1[_0x5bdf89+0x6]]+Y[_0x47b7d1[_0x5bdf89+0x7]]+'-'+Y[_0x47b7d1[_0x5bdf89+0x8]]+Y[_0x47b7d1[_0x5bdf89+0x9]]+'-'+Y[_0x47b7d1[_0x5bdf89+0xa]]+Y[_0x47b7d1[_0x5bdf89+0xb]]+Y[_0x47b7d1[_0x5bdf89+0xc]]+Y[_0x47b7d1[_0x5bdf89+0xd]]+Y[_0x47b7d1[_0x5bdf89+0xe]]+Y[_0x47b7d1[_0x5bdf89+0xf]])[_0x35d720(0x29d)]();}let Nt;const Gr=new Uint8Array(0x10);function Yr(){const _0x2ac7cb=_0x3238bf;if(!Nt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x2ac7cb(0x3c9));Nt=crypto[_0x2ac7cb(0x441)][_0x2ac7cb(0x4dd)](crypto);}return Nt(Gr);}const Kr=typeof crypto<'u'&&crypto[_0x3238bf(0x3ad)]&&crypto[_0x3238bf(0x3ad)][_0x3238bf(0x4dd)](crypto),js={'randomUUID':Kr};function zr(_0x5a14c8,_0x40adb1,_0x57b99e){const _0x9f5e1e=_0x3238bf;if(js[_0x9f5e1e(0x3ad)]&&!_0x40adb1&&!_0x5a14c8)return js[_0x9f5e1e(0x3ad)]();_0x5a14c8=_0x5a14c8||{};const _0x3e1845=_0x5a14c8[_0x9f5e1e(0x38b)]||(_0x5a14c8[_0x9f5e1e(0x389)]||Yr)();return _0x3e1845[0x6]=_0x3e1845[0x6]&0xf|0x40,_0x3e1845[0x8]=_0x3e1845[0x8]&0x3f|0x80,Vr(_0x3e1845);}var qr=Object['defineProperty'],Xr=Object[_0x3238bf(0x2df)],Jr=(_0x22cc81,_0x1c9745,_0x38f5ce,_0x867a86)=>{const _0x5732f5=_0x3238bf;for(var _0x5dcbeb=_0x867a86>0x1?void 0x0:_0x867a86?Xr(_0x1c9745,_0x38f5ce):_0x1c9745,_0x2d83a0=_0x22cc81[_0x5732f5(0x325)]-0x1,_0x2436b4;_0x2d83a0>=0x0;_0x2d83a0--)(_0x2436b4=_0x22cc81[_0x2d83a0])&&(_0x5dcbeb=(_0x867a86?_0x2436b4(_0x1c9745,_0x38f5ce,_0x5dcbeb):_0x2436b4(_0x5dcbeb))||_0x5dcbeb);return _0x867a86&&_0x5dcbeb&&qr(_0x1c9745,_0x38f5ce,_0x5dcbeb),_0x5dcbeb;},At=(_0x446797,_0xbbe77)=>(_0x1af210,_0x8310e3)=>_0xbbe77(_0x1af210,_0x8310e3,_0x446797);let ft=class{constructor(_0x68026f,_0x1ee72e,_0x336ce3){const _0x3fae54=_0x3238bf;this['_injector']=_0x68026f,this[_0x3fae54(0x41a)]=_0x1ee72e,this['_renderManagerService']=_0x336ce3;}[_0x3238bf(0x1f2)](_0x3b021f){const _0x5da3e3=_0x3238bf;this[_0x5da3e3(0x19d)](_0x3b021f),this[_0x5da3e3(0x185)](_0x3b021f);}[_0x3238bf(0x235)](_0x4ae0f1){const _0x299bb7=_0x3238bf,{unitID:_0x5e0ac6}=_0x4ae0f1,_0x1656fb=this[_0x299bb7(0x309)][_0x299bb7(0x4db)](_0x5e0ac6)[_0x299bb7(0x3a1)](_0x26849f),{redoCache:_0x1a430b}=_0x1656fb['getUndoRedoMutationParamsCache']();if(_0x1a430b[_0x299bb7(0x325)]===0x0)return _0x4ae0f1;let _0x37b1d1=_0x3a7870['deepClone'](_0x4ae0f1[_0x299bb7(0x4de)][0x0]);for(let _0x5b4a87=0x0;_0x5b4a87<_0x1a430b['length'];_0x5b4a87++){const _0x4b4f20={'id':_0x299bb7(0x3b3),'params':{..._0x1a430b[_0x5b4a87]}},_0x4c7e19=this['_transformService'][_0x299bb7(0x1dc)](_0x37b1d1,_0x4b4f20,!0x1);if(_0x2e9e95(_0x4c7e19))throw _0x4c7e19[_0x299bb7(0x241)];_0x37b1d1=_0x4c7e19[_0x299bb7(0x2dd)];}return{..._0x3a7870[_0x299bb7(0x544)](_0x4ae0f1),'mutations':[_0x37b1d1]};}[_0x3238bf(0x19d)](_0x204385){const _0x4c1f90=_0x3238bf,{unitID:_0x134134}=_0x204385,_0x3c31c2=this[_0x4c1f90(0x309)]['getRenderById'](_0x134134)[_0x4c1f90(0x3a1)](_0x26849f),{undoCache:_0x5420c4,redoCache:_0x2221f5}=_0x3c31c2[_0x4c1f90(0x40c)]();if(_0x5420c4['length']===0x0||_0x2221f5[_0x4c1f90(0x325)]===0x0)return;const _0x3abb46=[],_0x2fc279=[];let _0x41ec39=_0x3a7870[_0x4c1f90(0x544)](_0x204385[_0x4c1f90(0x4de)][0x0]),_0x3dd33a=_0x3a7870['deepClone'](_0x204385['mutations'][0x0]);for(let _0x5a19e2=_0x5420c4[_0x4c1f90(0x325)]-0x1;_0x5a19e2>=0x0;_0x5a19e2--){const _0x2e58fe={'id':'doc.mutation.rich-text-editing','params':{..._0x5420c4[_0x5a19e2]}},_0x43db0b={'id':'doc.mutation.rich-text-editing','params':{..._0x2221f5[_0x5a19e2]}},_0xaa14d9=this[_0x4c1f90(0x41a)][_0x4c1f90(0x1dc)](_0x41ec39,_0x2e58fe,!0x1),_0x13a61d=this[_0x4c1f90(0x41a)][_0x4c1f90(0x1dc)](_0x3dd33a,_0x43db0b,!0x1);if(_0x2e9e95(_0xaa14d9))throw _0xaa14d9[_0x4c1f90(0x241)];if(_0x2e9e95(_0x13a61d))throw _0x13a61d[_0x4c1f90(0x241)];_0x3abb46[_0x4c1f90(0x15c)](_0xaa14d9[_0x4c1f90(0x471)][_0x4c1f90(0x37c)]),_0x2fc279[_0x4c1f90(0x15c)](_0x13a61d['m2Prime']['params']),_0x41ec39=_0xaa14d9[_0x4c1f90(0x2dd)],_0x3dd33a=_0x13a61d[_0x4c1f90(0x2dd)];}_0x3c31c2[_0x4c1f90(0x2c5)]({'undoCache':_0x3abb46,'redoCache':_0x2fc279});}[_0x3238bf(0x185)](_0x10c7fd){const _0x36021a=_0x3238bf,{unitID:_0x134170}=_0x10c7fd,_0x331be7=this['_renderManagerService'][_0x36021a(0x4db)](_0x134170)[_0x36021a(0x3a1)](_0x26849f),_0x6bac1=_0x331be7[_0x36021a(0x253)]();if(_0x6bac1==null)return;const _0x25b87a=[{'id':_0x36021a(0x3b3),'params':{'unitId':_0x10c7fd['unitID'],'actions':null,'textRanges':[_0x6bac1]}}],_0x3657a3=this[_0x36021a(0x41a)][_0x36021a(0x2ee)](_0x10c7fd,_0x25b87a);if(!_0xa7de0(_0x3657a3))throw _0x3657a3[_0x36021a(0x241)];const _0x6e4432=_0x3657a3[_0x36021a(0x471)][0x0][_0x36021a(0x37c)][_0x36021a(0x30a)];Array['isArray'](_0x6e4432)&&_0x6e4432[_0x36021a(0x325)]&&_0x331be7[_0x36021a(0x486)](_0x6e4432[0x0]);}};ft=Jr([At(0x0,_0x4a2654(_0x28b8e2)),At(0x1,_0x945511),At(0x2,_0x273231)],ft);var Zr=Object[_0x3238bf(0x535)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x16b334,_0x33f36d,_0x12d81c,_0x55cf5f)=>{const _0x44549f=_0x3238bf;for(var _0x4c56db=_0x55cf5f>0x1?void 0x0:_0x55cf5f?Qr(_0x33f36d,_0x12d81c):_0x33f36d,_0x564ad0=_0x16b334[_0x44549f(0x325)]-0x1,_0x49fd52;_0x564ad0>=0x0;_0x564ad0--)(_0x49fd52=_0x16b334[_0x564ad0])&&(_0x4c56db=(_0x55cf5f?_0x49fd52(_0x33f36d,_0x12d81c,_0x4c56db):_0x49fd52(_0x4c56db))||_0x4c56db);return _0x55cf5f&&_0x4c56db&&Zr(_0x33f36d,_0x12d81c,_0x4c56db),_0x4c56db;},Xe=(_0x595765,_0x6e645a)=>(_0x350f2b,_0x3d0a0b)=>_0x6e645a(_0x350f2b,_0x3d0a0b,_0x595765);let q=class extends _0x1bec45{constructor(_0x392545,_0x213bf1,_0x23d382,_0x3a48de,_0x36e04a){const _0x2a6f3d=_0x3238bf;super(),g(this,_0x2a6f3d(0x4fe),new Map()),g(this,'_saveTaskMap',new Map()),g(this,'_disabled',!0x1),(this[_0x2a6f3d(0x330)]=_0x392545,this[_0x2a6f3d(0x51c)]=_0x213bf1,this[_0x2a6f3d(0x20a)]=_0x23d382,this[_0x2a6f3d(0x141)]=_0x3a48de,this[_0x2a6f3d(0x357)]=_0x36e04a,this[_0x2a6f3d(0x2e0)]());}['disableLocalCache'](){const _0x3b2583=_0x3238bf;this[_0x3b2583(0x171)]=!0x0;}[_0x3238bf(0x3a2)](){const _0x578b8c=_0x3238bf;this[_0x578b8c(0x171)]=!0x1;}[_0x3238bf(0x161)](){const _0xd01a11=_0x3238bf;this[_0xd01a11(0x3b0)]()[_0xd01a11(0x2f6)](()=>super[_0xd01a11(0x161)]());}async['loadOfflineData'](_0x10e458){const _0x3689e0=_0x3238bf;return this['_disabled']?null:this[_0x3689e0(0x51c)][_0x3689e0(0x43d)](Bs(_0x10e458));}async[_0x3238bf(0x1c1)](_0x24a0c2,_0x543883){const _0x589bc4=_0x3238bf;return!!this[_0x589bc4(0x51c)][_0x589bc4(0x546)](_0x24a0c2,_0x543883);}[_0x3238bf(0x49b)](_0x3fb98c,_0x5f4a44,_0x20cd3f,_0x46e679){const _0x5e0536=_0x3238bf,_0xc71d69=this['_revisionService']['getCurrentRevOfUnit'](_0x3fb98c);this[_0x5e0536(0x4fe)]['set'](_0x3fb98c,{'unitID':_0x3fb98c,'type':_0x5f4a44,'awaitingChangeset':_0x20cd3f,'mutations':_0x46e679,'rev':_0xc71d69}),this[_0x5e0536(0x341)][_0x5e0536(0x220)](_0x3fb98c)||this[_0x5e0536(0x2f4)](_0x3fb98c);}[_0x3238bf(0x2f4)](_0x3feb2f){const _0x78d80f=_0x3238bf,_0xcc31c1=this[_0x78d80f(0x498)]();_0xcc31c1===0x0?this[_0x78d80f(0x2a0)](_0x3feb2f):this['_saveTaskMap'][_0x78d80f(0x13d)](_0x3feb2f,setTimeout(()=>this[_0x78d80f(0x2a0)](_0x3feb2f),_0xcc31c1));}[_0x3238bf(0x498)](){const _0x1624e6=_0x3238bf;var _0x372ccf;return(_0x372ccf=this['_configService'][_0x1624e6(0x404)](Sr))!=null?_0x372ccf:Ir;}['_saveCache'](_0x264646){const _0x2ae2ba=_0x3238bf,_0xcbf20c=this['_saveTaskMap'][_0x2ae2ba(0x3a5)](_0x264646);return _0xcbf20c!==void 0x0&&window['clearTimeout'](_0xcbf20c),this[_0x2ae2ba(0x51c)][_0x2ae2ba(0x546)](Bs(_0x264646),this[_0x2ae2ba(0x4fe)]['get'](_0x264646))[_0x2ae2ba(0x2f6)](()=>this[_0x2ae2ba(0x341)][_0x2ae2ba(0x45a)](_0x264646));}async['exhaustSavingTask'](){const _0x494434=_0x3238bf,_0x533681=[];this['_saveTaskMap']['forEach']((_0x2037d3,_0x339144)=>{const _0x54ad98=_0x466f;window['clearTimeout'](_0x2037d3),_0x533681[_0x54ad98(0x419)](this['_saveCache'](_0x339144)[_0x54ad98(0x2f6)](()=>{this['_saveTaskMap']['delete'](_0x339144);}));}),await Promise[_0x494434(0x2a8)](_0x533681);}[_0x3238bf(0x2e0)](){const _0x3de289=_0x3238bf;this[_0x3de289(0x3df)](this[_0x3de289(0x20a)][_0x3de289(0x271)](()=>{const _0x3ba1e8=_0x3de289;if(this[_0x3ba1e8(0x341)][_0x3ba1e8(0x346)])return this['_localeService']['t'](_0x3ba1e8(0x40b));}));}};q=eo([Xe(0x0,_0x12cd24),Xe(0x1,_0x99c20),Xe(0x2,_0xdad7a5),Xe(0x3,_0x4a2654(_0xc7611d)),Xe(0x4,_0x4a2654(_0x56b96b))],q);function Bs(_0x287891){return'unit-cache-'+_0x287891;}var to=Object[_0x3238bf(0x535)],so=Object[_0x3238bf(0x2df)],io=(_0x58e3ce,_0x4c1fe2,_0x2db36b,_0x50ae94)=>{const _0x4f5bba=_0x3238bf;for(var _0x1c1250=_0x50ae94>0x1?void 0x0:_0x50ae94?so(_0x4c1fe2,_0x2db36b):_0x4c1fe2,_0x5155a8=_0x58e3ce[_0x4f5bba(0x325)]-0x1,_0x46a8f2;_0x5155a8>=0x0;_0x5155a8--)(_0x46a8f2=_0x58e3ce[_0x5155a8])&&(_0x1c1250=(_0x50ae94?_0x46a8f2(_0x4c1fe2,_0x2db36b,_0x1c1250):_0x46a8f2(_0x1c1250))||_0x1c1250);return _0x50ae94&&_0x1c1250&&to(_0x4c1fe2,_0x2db36b,_0x1c1250),_0x1c1250;},Mt=(_0x483ff5,_0x5a8645)=>(_0x567279,_0x394f6a)=>_0x5a8645(_0x567279,_0x394f6a,_0x483ff5);function no(_0x3bb60c){const _0x1b209d=_0x3238bf,{unitID:_0x1404a9,mutations:_0x3f8f81}=_0x3bb60c;return{'unitId':_0x1404a9,'subUnitId':_0x3f8f81[0x0][_0x1b209d(0x37c)][_0x1b209d(0x336)]};}let vt=class{constructor(_0x4205c6,_0x11e936,_0x922599){const _0x3ee5f6=_0x3238bf;this[_0x3ee5f6(0x151)]=_0x4205c6,this[_0x3ee5f6(0x41a)]=_0x11e936,this[_0x3ee5f6(0x1ed)]=_0x922599;}['transformSelections'](_0x1bb3de){const _0x33f155=_0x3238bf;var _0x230cb1,_0x37c1e6,_0xf5121b,_0x567d95;const _0x3b330c=this[_0x33f155(0x151)][_0x33f155(0x3a5)](_0x42bfc2),{unitId:_0x4db0fa,subUnitId:_0x5c5fee}=no(_0x1bb3de),_0x44afe9=_0x3b330c[_0x33f155(0x2be)](_0x4db0fa)[_0x33f155(0x24f)](),_0x368ef2=(_0x37c1e6=(_0x230cb1=this[_0x33f155(0x1ed)][_0x33f155(0x547)](_0x4db0fa))==null?void 0x0:_0x230cb1[_0x33f155(0x251)]())==null?void 0x0:_0x37c1e6[_0x33f155(0x1d4)]();if(_0x44afe9[_0x33f155(0x325)]===0x0||!_0x4db0fa||!_0x5c5fee)return;const _0x345a17=[{'id':_0xb384b4['id'],'params':{'unitId':_0x4db0fa,'subUnitId':_0x368ef2,'selections':_0x3a7870[_0x33f155(0x544)](_0x44afe9)}}],_0x3753d4=this[_0x33f155(0x41a)]['transformMutationsWithChangeset'](_0x1bb3de,_0x345a17);if(!_0xa7de0(_0x3753d4))throw _0x3753d4['error'];const _0x46b3da=(_0x567d95=(_0xf5121b=_0x3753d4[_0x33f155(0x471)][0x0])==null?void 0x0:_0xf5121b[_0x33f155(0x37c)])==null?void 0x0:_0x567d95['selections'];if(Array[_0x33f155(0x4a0)](_0x46b3da)&&_0x46b3da[_0x33f155(0x325)]){if(_0x46b3da['length']===_0x345a17[0x0][_0x33f155(0x37c)][_0x33f155(0x17a)]['length']&&_0x46b3da[_0x33f155(0x501)]((_0x5d3307,_0x483576)=>_0x185edd[_0x33f155(0x4f7)](_0x5d3307['range'],_0x345a17[0x0][_0x33f155(0x37c)][_0x33f155(0x17a)][_0x483576][_0x33f155(0x172)])))return;this['_injector'][_0x33f155(0x3a5)](_0x462ea5)['executeCommand'](_0xb384b4['id'],{'unitId':_0x4db0fa,'subUnitId':_0x368ef2,'selections':_0x46b3da});}}};vt=io([Mt(0x0,_0x4a2654(_0x28b8e2)),Mt(0x1,_0x945511),Mt(0x2,_0x21deaa)],vt);const Rt=_0x271919(_0x3238bf(0x23a));var Di=(_0x54e2e8=>(_0x54e2e8[_0x54e2e8[_0x3238bf(0x2de)]=0x0]=_0x3238bf(0x2de),_0x54e2e8[_0x54e2e8['OTHER_CLIENTS_EDITING']=0x1]=_0x3238bf(0x347),_0x54e2e8))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class ro extends _0x1bec45{constructor(){const _0x2e1c6b=_0x3238bf;super(),g(this,_0x2e1c6b(0x31f),_0x3a7870[_0x2e1c6b(0x2ae)]()),g(this,'_selfUnitIDs',new Set()),g(this,_0x2e1c6b(0x3a9),new Map()),g(this,_0x2e1c6b(0x252),null),g(this,_0x2e1c6b(0x4c3),new Map()),g(this,_0x2e1c6b(0x308),new Map()),this[_0x2e1c6b(0x433)]();}[_0x3238bf(0x161)](){const _0x4e5d65=_0x3238bf;super[_0x4e5d65(0x161)](),this['_clearOtherTimers'][_0x4e5d65(0x4b5)]((_0x48c960,_0x463d6e)=>this['_removeClearOtherTimer'](_0x463d6e)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x4e5d65(0x252)]);}[_0x3238bf(0x27f)](_0x2f948e){const _0x5ca60e=_0x3238bf;return this[_0x5ca60e(0x1a4)](_0x2f948e)[_0x5ca60e(0x380)](_0x120bb7());}[_0x3238bf(0x1e5)](_0x201557){const _0x2f3c2a=_0x3238bf;this[_0x2f3c2a(0x545)]['size']===0x0&&this[_0x2f3c2a(0x3eb)](),this[_0x2f3c2a(0x545)][_0x2f3c2a(0x28d)](_0x201557),this['_send']({'type':0x0,'memberID':this[_0x2f3c2a(0x31f)],'unitIDs':[_0x201557],'isForwarded':!0x1});}[_0x3238bf(0x208)](_0xb567d6){const _0xeb5bd=_0x3238bf;this[_0xeb5bd(0x545)][_0xeb5bd(0x45a)](_0xb567d6),this[_0xeb5bd(0x545)][_0xeb5bd(0x346)]===0x0&&this[_0xeb5bd(0x252)]&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x295589=_0x3238bf;this[_0x295589(0x3df)](_0x164be7(_0xfa2d6a(window,_0x295589(0x290))[_0x295589(0x43b)](_0x11d635=>{const _0x2ef51b=_0x295589;if(_0x11d635[_0x2ef51b(0x360)]!==Ws||!_0x11d635['newValue'])return;const _0x37b53d=JSON[_0x2ef51b(0x47a)](_0x11d635[_0x2ef51b(0x29b)]);this[_0x2ef51b(0x366)](_0x37b53d);}))),window[_0x295589(0x13c)](_0x295589(0x193),()=>this[_0x295589(0x4be)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x295589(0x409)](this['_selfUnitIDs'])}));}[_0x3238bf(0x366)](_0x2ab16f){const _0x430073=_0x3238bf;switch(_0x2ab16f[_0x430073(0x4cf)]){case 0x0:this[_0x430073(0x3e1)](_0x2ab16f);break;case 0x1:this['_handleLeaveEvent'](_0x2ab16f);break;case 0x2:this['_handleHeartbeatEvent'](_0x2ab16f);break;}}[_0x3238bf(0x3e1)](_0x3f1261){const _0x1a07d2=_0x3238bf,{unitIDs:_0x1776ef,memberID:_0x32f8ce,isForwarded:_0x46fd16}=_0x3f1261;_0x1776ef[_0x1a07d2(0x4b5)](_0xf3cea2=>{const _0x18d825=_0x1a07d2;if(!_0x46fd16&&this[_0x18d825(0x3a9)][_0x18d825(0x220)](_0xf3cea2)&&this['_ensureSubject'](_0xf3cea2)[_0x18d825(0x34c)](0x1),!this[_0x18d825(0x3a9)][_0x18d825(0x220)](_0xf3cea2)||!this[_0x18d825(0x3a9)][_0x18d825(0x3a5)](_0xf3cea2)[_0x18d825(0x220)](_0x32f8ce)){const _0x169273=this[_0x18d825(0x3a9)][_0x18d825(0x3a5)](_0xf3cea2)||new Set();_0x169273['add'](_0x32f8ce),this[_0x18d825(0x3a9)][_0x18d825(0x13d)](_0xf3cea2,_0x169273),this['_scheduleClearOtherTimer'](_0x32f8ce);}}),_0x46fd16||this['_send']({'type':0x0,'memberID':this[_0x1a07d2(0x31f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3238bf(0x2b5)](_0x406852){const _0x421e67=_0x3238bf;this[_0x421e67(0x38d)](_0x406852);const _0x4a268b=window[_0x421e67(0x32c)](()=>{this['_unitOnClients']['forEach'](_0x21e129=>{const _0x1476e5=_0x466f;_0x21e129[_0x1476e5(0x45a)](_0x406852);});},ks*0x2);this[_0x421e67(0x4c3)][_0x421e67(0x13d)](_0x406852,_0x4a268b);}[_0x3238bf(0x38d)](_0x126e17){const _0x4aba90=_0x3238bf;if(this[_0x4aba90(0x4c3)][_0x4aba90(0x220)](_0x126e17)){const _0x59bf6b=this[_0x4aba90(0x4c3)]['get'](_0x126e17);_0x59bf6b&&window[_0x4aba90(0x1fd)](_0x59bf6b),this[_0x4aba90(0x4c3)][_0x4aba90(0x13d)](_0x126e17,null);}}[_0x3238bf(0x338)](_0x3668a3){const _0x4141da=_0x3238bf,{memberID:_0x415f16,unitIDs:_0x42aa7a}=_0x3668a3;_0x42aa7a[_0x4141da(0x4b5)](_0x4e0300=>{const _0x18f6c2=_0x4141da;var _0x13c93c;const _0x176fa6=this[_0x18f6c2(0x3a9)]['get'](_0x4e0300);_0x176fa6&&(_0x176fa6['delete'](_0x415f16),(_0x13c93c=this[_0x18f6c2(0x1a4)](_0x4e0300))==null||_0x13c93c[_0x18f6c2(0x34c)](_0x176fa6['size']===0x0?0x0:0x1));}),this[_0x4141da(0x38d)](_0x415f16);}[_0x3238bf(0x19e)](_0x125c1f){const _0x286606=_0x3238bf;this[_0x286606(0x2b5)](_0x125c1f[_0x286606(0x256)]);}['_send'](_0x251247){const _0x2245b0=_0x3238bf;localStorage[_0x2245b0(0x546)](Ws,JSON[_0x2245b0(0x2a3)](_0x251247));}[_0x3238bf(0x3eb)](){const _0x3e5ae5=_0x3238bf;this[_0x3e5ae5(0x252)]=window[_0x3e5ae5(0x1f9)](()=>{const _0x374cc9=_0x3e5ae5;this[_0x374cc9(0x4be)]({'type':0x2,'memberID':this[_0x374cc9(0x31f)]});},ks);}['_ensureSubject'](_0x153cbc){const _0xe7a093=_0x3238bf;return this[_0xe7a093(0x308)][_0xe7a093(0x220)](_0x153cbc)||this[_0xe7a093(0x308)][_0xe7a093(0x13d)](_0x153cbc,new _0x353bc7(0x0)),this['_unitStatus'][_0xe7a093(0x3a5)](_0x153cbc);}}var oo=Object[_0x3238bf(0x535)],ao=Object[_0x3238bf(0x2df)],co=(_0x233375,_0x35f56a,_0x3fd582,_0x4ab0fd)=>{const _0x145f4f=_0x3238bf;for(var _0x2475a4=_0x4ab0fd>0x1?void 0x0:_0x4ab0fd?ao(_0x35f56a,_0x3fd582):_0x35f56a,_0x2d418b=_0x233375[_0x145f4f(0x325)]-0x1,_0x2563f9;_0x2d418b>=0x0;_0x2d418b--)(_0x2563f9=_0x233375[_0x2d418b])&&(_0x2475a4=(_0x4ab0fd?_0x2563f9(_0x35f56a,_0x3fd582,_0x2475a4):_0x2563f9(_0x2475a4))||_0x2475a4);return _0x4ab0fd&&_0x2475a4&&oo(_0x35f56a,_0x3fd582,_0x2475a4),_0x2475a4;},xt=(_0x3a9557,_0x444e2c)=>(_0x2b02dc,_0x26f0ab)=>_0x444e2c(_0x2b02dc,_0x26f0ab,_0x3a9557);let mt=class{constructor(_0x32bea6,_0x5f4798,_0x34d731){const _0x3aee97=_0x3238bf;this['_injector']=_0x32bea6,this[_0x3aee97(0x41a)]=_0x5f4798,this[_0x3aee97(0x2f0)]=_0x34d731;}[_0x3238bf(0x29a)](_0x114c56){const _0x248cdf=_0x3238bf;this[_0x248cdf(0x16b)](_0x114c56);}[_0x3238bf(0x235)](_0x2d4a8c){const _0x59b69d=_0x3238bf,{unitID:_0xd54ce9}=_0x2d4a8c,{collaboration:_0x53a62c}=this['_docStateChangeManagerService'][_0x59b69d(0x563)](_0xd54ce9);if(_0x53a62c[_0x59b69d(0x325)]===0x0)return _0x2d4a8c;let _0x1c4f4e=_0x3a7870['deepClone'](_0x2d4a8c[_0x59b69d(0x4de)][0x0]);for(let _0x23fffd=0x0;_0x23fffd<_0x53a62c[_0x59b69d(0x325)];_0x23fffd++){const _0x3e3d53={'id':_0x59b69d(0x3b3),'params':{'unitId':_0x53a62c[_0x23fffd][_0x59b69d(0x1bf)],..._0x53a62c[_0x23fffd][_0x59b69d(0x3d6)]}},_0x496830=this[_0x59b69d(0x41a)][_0x59b69d(0x1dc)](_0x1c4f4e,_0x3e3d53,!0x1);if(_0x2e9e95(_0x496830))throw _0x496830[_0x59b69d(0x241)];_0x1c4f4e=_0x496830[_0x59b69d(0x2dd)];}return{..._0x3a7870[_0x59b69d(0x544)](_0x2d4a8c),'mutations':[_0x1c4f4e]};}[_0x3238bf(0x16b)](_0x51cda1){const _0xbf3a6c=_0x3238bf,{unitID:_0x1c0014}=_0x51cda1,{history:_0x48db1c,collaboration:_0x405e63}=this['_docStateChangeManagerService'][_0xbf3a6c(0x563)](_0x1c0014);if(_0x48db1c[_0xbf3a6c(0x325)]===0x0&&_0x405e63[_0xbf3a6c(0x325)]===0x0)return;const _0x624155=[],_0x16e47d=[];let _0x29963b=_0x3a7870[_0xbf3a6c(0x544)](_0x51cda1['mutations'][0x0]),_0x577361=_0x3a7870[_0xbf3a6c(0x544)](_0x51cda1[_0xbf3a6c(0x4de)][0x0]);for(let _0x5e9ff5=_0x48db1c[_0xbf3a6c(0x325)]-0x1;_0x5e9ff5>=0x0;_0x5e9ff5--){const _0x217b10={'id':_0xbf3a6c(0x3b3),'params':{'unitId':_0x48db1c[_0x5e9ff5][_0xbf3a6c(0x1bf)],..._0x48db1c[_0x5e9ff5][_0xbf3a6c(0x355)]}},_0x4c4ba9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x48db1c[_0x5e9ff5]['unitId'],..._0x48db1c[_0x5e9ff5][_0xbf3a6c(0x3d6)]}},_0x138877=this[_0xbf3a6c(0x41a)]['transformMutation'](_0x29963b,_0x217b10,!0x1),_0x2d6ce3=this[_0xbf3a6c(0x41a)][_0xbf3a6c(0x1dc)](_0x577361,_0x4c4ba9,!0x1);if(_0x2e9e95(_0x138877))throw _0x138877['error'];if(_0x2e9e95(_0x2d6ce3))throw _0x2d6ce3['error'];_0x624155[_0xbf3a6c(0x15c)]({..._0x48db1c[_0x5e9ff5],'undoState':_0x138877[_0xbf3a6c(0x471)][_0xbf3a6c(0x37c)],'redoState':_0x2d6ce3['m2Prime'][_0xbf3a6c(0x37c)]}),_0x29963b=_0x138877[_0xbf3a6c(0x2dd)],_0x577361=_0x2d6ce3[_0xbf3a6c(0x2dd)];}_0x29963b=_0x3a7870[_0xbf3a6c(0x544)](_0x51cda1[_0xbf3a6c(0x4de)][0x0]),_0x577361=_0x3a7870['deepClone'](_0x51cda1[_0xbf3a6c(0x4de)][0x0]);for(let _0x303ed3=_0x405e63[_0xbf3a6c(0x325)]-0x1;_0x303ed3>=0x0;_0x303ed3--){const _0x40ccdd={'id':_0xbf3a6c(0x3b3),'params':{'unitId':_0x405e63[_0x303ed3][_0xbf3a6c(0x1bf)],..._0x405e63[_0x303ed3]['undoState']}},_0x53ffec={'id':_0xbf3a6c(0x3b3),'params':{'unitId':_0x405e63[_0x303ed3]['unitId'],..._0x405e63[_0x303ed3][_0xbf3a6c(0x3d6)]}},_0x2a5500=this[_0xbf3a6c(0x41a)][_0xbf3a6c(0x1dc)](_0x29963b,_0x40ccdd,!0x1),_0x47a2e5=this[_0xbf3a6c(0x41a)][_0xbf3a6c(0x1dc)](_0x577361,_0x53ffec,!0x1);if(_0x2e9e95(_0x2a5500))throw _0x2a5500[_0xbf3a6c(0x241)];if(_0x2e9e95(_0x47a2e5))throw _0x47a2e5[_0xbf3a6c(0x241)];_0x16e47d['unshift']({..._0x405e63[_0x303ed3],'undoState':_0x2a5500[_0xbf3a6c(0x471)][_0xbf3a6c(0x37c)],'redoState':_0x47a2e5[_0xbf3a6c(0x471)][_0xbf3a6c(0x37c)]}),_0x29963b=_0x2a5500[_0xbf3a6c(0x2dd)],_0x577361=_0x47a2e5['m1Prime'];}this[_0xbf3a6c(0x2f0)][_0xbf3a6c(0x284)](_0x1c0014,{'history':_0x624155,'collaboration':_0x16e47d});}};mt=co([xt(0x0,_0x4a2654(_0x28b8e2)),xt(0x1,_0x945511),xt(0x2,_0x4a2654(_0x55dde0))],mt);function Pi(_0x5069d3){const _0x3bd049=_0x3238bf;let _0x954929='';for(const _0x4e1eec of _0x5069d3){const {startOffset:_0x54045d,endOffset:_0x16b96b,isActive:_0x4669cb,rangeType:_0x221557,segmentId:_0x10d26f,segmentPage:_0x453029}=_0x4e1eec;_0x954929[_0x3bd049(0x325)]&&(_0x954929+=','),_0x954929+=_0x54045d+':'+_0x16b96b+':'+(_0x4669cb?'1':'0')+':'+_0x221557+':'+_0x10d26f+':'+_0x453029;}return _0x954929;}function ho(_0xe1d49d){const _0x5ab146=_0x3238bf,_0x3ef4f9=_0xe1d49d[_0x5ab146(0x257)](','),_0x369014=[];for(const _0x312c15 of _0x3ef4f9){const [_0x2d0af3,_0xa9a14f,_0x124d53,_0x55f3b1,_0x235976,_0x40af3b]=_0x312c15[_0x5ab146(0x257)](':');_0x369014['push']({'startOffset':Number(_0x2d0af3),'endOffset':Number(_0xa9a14f),'collapsed':_0x2d0af3===_0xa9a14f,'isActive':_0x124d53==='1','rangeType':_0x55f3b1===_0x507957['TEXT']?_0x507957[_0x5ab146(0x293)]:_0x507957[_0x5ab146(0x4e4)],'segmentId':typeof _0x235976=='string'?String(_0x235976):'','segmentPage':Number(_0x40af3b!=null?_0x40af3b:-0x1)});}return _0x369014[_0x5ab146(0x2a7)](_0x5cd35d=>_0x5cd35d[_0x5ab146(0x385)])||(_0x369014[0x0][_0x5ab146(0x385)]=!0x0),_0x369014;}class Cs extends _0x9ae76a{constructor(){const _0x2b3667=_0x3238bf;super(...arguments),g(this,_0x2b3667(0x269),new _0x353bc7(null)),g(this,_0x2b3667(0x1ad),this['_collabCursorState$'][_0x2b3667(0x384)]());}[_0x3238bf(0x361)](_0x2157d9){const _0x3767d0=_0x3238bf,{unitID:_0x59e4ae,memberID:_0x4f1eaa,textRanges:_0x4385cf}=_0x2157d9,_0x587680=Pi(_0x4385cf);if(_0x587680==='')return;const _0x2646e3={'unitID':_0x59e4ae,'memberID':_0x4f1eaa,'selection':_0x587680};this[_0x3767d0(0x269)][_0x3767d0(0x34c)](_0x2646e3);}}var lo=Object[_0x3238bf(0x535)],_o=Object[_0x3238bf(0x2df)],uo=(_0x4990ea,_0x559013,_0x39e5c7,_0x5f4d81)=>{const _0xe08331=_0x3238bf;for(var _0x11de2b=_0x5f4d81>0x1?void 0x0:_0x5f4d81?_o(_0x559013,_0x39e5c7):_0x559013,_0x103c8a=_0x4990ea[_0xe08331(0x325)]-0x1,_0x437787;_0x103c8a>=0x0;_0x103c8a--)(_0x437787=_0x4990ea[_0x103c8a])&&(_0x11de2b=(_0x5f4d81?_0x437787(_0x559013,_0x39e5c7,_0x11de2b):_0x437787(_0x11de2b))||_0x11de2b);return _0x5f4d81&&_0x11de2b&&lo(_0x559013,_0x39e5c7,_0x11de2b),_0x11de2b;},Fs=(_0x49ff5c,_0x101dd4)=>(_0x2e3937,_0x6ab0bd)=>_0x101dd4(_0x2e3937,_0x6ab0bd,_0x49ff5c);let pt=class{constructor(_0x46a952,_0x5749fc){const _0x42af28=_0x3238bf;this[_0x42af28(0x151)]=_0x46a952,this[_0x42af28(0x41a)]=_0x5749fc;}['transformSelections'](_0x2b24c7){const _0x55a93d=_0x3238bf;var _0xc21c21;const _0x29fe26=this[_0x55a93d(0x151)][_0x55a93d(0x3a5)](_0x155680),_0x1ba282=(_0xc21c21=_0x29fe26[_0x55a93d(0x1ff)]())!=null?_0xc21c21:[];if(_0x1ba282[_0x55a93d(0x325)]===0x0)return;const _0x55ec81=_0x2b24c7[_0x55a93d(0x4e9)],_0x10b59c=[{'id':_0x55a93d(0x3b3),'params':{'unitId':_0x55ec81,'actions':null,'textRanges':_0x1ba282}}],_0x2df90e=this['_transformService'][_0x55a93d(0x2ee)](_0x2b24c7,_0x10b59c);if(!_0xa7de0(_0x2df90e))throw _0x2df90e[_0x55a93d(0x241)];const _0xb33df7=_0x2df90e['m2Prime'][0x0][_0x55a93d(0x37c)][_0x55a93d(0x30a)];Array[_0x55a93d(0x4a0)](_0xb33df7)&&_0xb33df7[_0x55a93d(0x325)]&&_0x29fe26[_0x55a93d(0x30d)](_0xb33df7,{'unitId':_0x55ec81,'subUnitId':_0x55ec81},!0x1);}};pt=uo([Fs(0x0,_0x4a2654(_0x28b8e2)),Fs(0x1,_0x945511)],pt);const fo=new Set([_0x2c3a31['id']]);function Vs(_0x1592c5,_0x2f3102,_0x477d62,_0x45de16,_0x547c42){const _0xb83055=_0x3238bf;var _0x46c809,_0x447571,_0x5811a2,_0x1a165f;const _0x3e1d06=[];for(const _0xb72917 of _0x1592c5)if(fo[_0xb83055(0x220)](_0xb72917['id'])){if(_0x3e1d06[_0xb83055(0x325)]>0x0)break;_0x3e1d06[_0xb83055(0x419)](_0xb72917);break;}else _0x3e1d06[_0xb83055(0x419)](_0xb72917);const _0x10123e=(_0x447571=(_0x46c809=_0x547c42['getCurrentUser']())==null?void 0x0:_0x46c809[_0xb83055(0x44b)])!=null?_0x447571:_0xb83055(0x266),_0x2bd3c9=(_0x1a165f=(_0x5811a2=_0x547c42['getCurrentUser']())==null?void 0x0:_0x5811a2['memberID'])!=null?_0x1a165f:_0xb83055(0x266);return{'changeset':{'unitID':_0x2f3102,'type':_0x952321(_0x477d62[_0xb83055(0x179)](_0x2f3102)),'baseRev':_0x45de16['getCurrentRevOfUnit'](_0x2f3102),'revision':0x0,'userID':_0x10123e,'memberID':_0x2bd3c9,'mutations':_0x3e1d06},'pendingMutations':_0x1592c5[_0xb83055(0x423)](_0x3e1d06[_0xb83055(0x325)])};}function vo(_0x280ecb,_0x2d5dfb,_0x15aff4,_0x4f30cb,_0x48602c){const _0x2482c7=_0x3238bf;var _0x436a6d,_0x3ebffc,_0x4c7285,_0x34b45f;const _0x36430c=[_0x280ecb['reduce']((_0x5913ee,_0x5b414d)=>{const _0x194505=_0x466f;var _0x2732e7;const {id:_0x1390b1}=_0x5913ee,{id:_0x309cc7,type:_0x571a17}=_0x5b414d,_0x4f4c10=(_0x2732e7=_0x5913ee[_0x194505(0x37c)])!=null?_0x2732e7:{'actions':null},_0x478fcc=_0x5b414d[_0x194505(0x37c)];if(_0x1390b1&&_0x1390b1!==_0x309cc7)throw new Error(_0x194505(0x2d7)+_0x1390b1+_0x194505(0x3da)+_0x309cc7+'.');return{..._0x5913ee,'id':_0x309cc7,'type':_0x571a17,'params':{'unitId':_0x478fcc[_0x194505(0x1bf)],'textRanges':_0x478fcc[_0x194505(0x30a)],'actions':_0x32d452[_0x194505(0x387)](_0x4f4c10['actions'],_0x478fcc[_0x194505(0x28c)])}};},{})],_0x6b0405=(_0x3ebffc=(_0x436a6d=_0x48602c['getCurrentUser']())==null?void 0x0:_0x436a6d[_0x2482c7(0x44b)])!=null?_0x3ebffc:_0x2482c7(0x266),_0x4fdb19=(_0x34b45f=(_0x4c7285=_0x48602c[_0x2482c7(0x27e)]())==null?void 0x0:_0x4c7285[_0x2482c7(0x256)])!=null?_0x34b45f:_0x2482c7(0x266);return{'changeset':{'unitID':_0x2d5dfb,'type':_0x952321(_0x15aff4['getUnitType'](_0x2d5dfb)),'baseRev':_0x4f30cb[_0x2482c7(0x162)](_0x2d5dfb),'revision':0x0,'userID':_0x6b0405,'memberID':_0x4fdb19,'mutations':_0x36430c},'pendingMutations':[]};}function Ui(_0x3a31c1,_0x14ad54){const _0x4e5dc7=_0x3238bf,_0x280033=new _0x5edbc1(0x1);return setTimeout(()=>_0x280033[_0x4e5dc7(0x34c)](_0x14ad54),_0x3a31c1),_0x280033['asObservable']()[_0x4e5dc7(0x380)](_0x1cb779(0x1));}const mo={'id':_0x175b9b['id'],'type':_0x4d0a82[_0x3238bf(0x437)],'params':{}};var po=Object['defineProperty'],go=Object[_0x3238bf(0x2df)],Le=(_0x50cc26,_0x4eff33,_0x4b3d24,_0x50d7a6)=>{const _0x59cda7=_0x3238bf;for(var _0x40333c=_0x50d7a6>0x1?void 0x0:_0x50d7a6?go(_0x4eff33,_0x4b3d24):_0x4eff33,_0x31d8e9=_0x50cc26[_0x59cda7(0x325)]-0x1,_0x3fb8e3;_0x31d8e9>=0x0;_0x31d8e9--)(_0x3fb8e3=_0x50cc26[_0x31d8e9])&&(_0x40333c=(_0x50d7a6?_0x3fb8e3(_0x4eff33,_0x4b3d24,_0x40333c):_0x3fb8e3(_0x40333c))||_0x40333c);return _0x50d7a6&&_0x40333c&&po(_0x4eff33,_0x4b3d24,_0x40333c),_0x40333c;},A=(_0x4a2890,_0x1552ed)=>(_0x3c9855,_0x1fd9ac)=>_0x1552ed(_0x3c9855,_0x1fd9ac,_0x4a2890),J=(_0x23dbec=>(_0x23dbec['NOT_COLLAB']=_0x3238bf(0x550),_0x23dbec[_0x3238bf(0x401)]=_0x3238bf(0x399),_0x23dbec['PENDING']='pending',_0x23dbec[_0x3238bf(0x190)]=_0x3238bf(0x178),_0x23dbec[_0x3238bf(0x157)]='awaiting_with_pending',_0x23dbec[_0x3238bf(0x332)]=_0x3238bf(0x40f),_0x23dbec[_0x3238bf(0x311)]=_0x3238bf(0x436),_0x23dbec[_0x3238bf(0x291)]=_0x3238bf(0x296),_0x23dbec))(J||{});const Ni=0xea60;class $e{constructor(_0x3dd094,_0x3948a8,_0x3eb0c7,_0x5133dc,_0x33794d,_0x551b91,_0x21448c,_0x461468,_0x31b68f){const _0x1fc7b7=_0x3238bf;g(this,'_awaitingChangeset',null),g(this,_0x1fc7b7(0x261),[]),(this[_0x1fc7b7(0x4e9)]=_0x3dd094,this['type']=_0x3948a8,this[_0x1fc7b7(0x152)]=_0x33794d,this[_0x1fc7b7(0x525)]=_0x551b91,this[_0x1fc7b7(0x203)]=_0x21448c,this[_0x1fc7b7(0x357)]=_0x461468,this[_0x1fc7b7(0x292)]=_0x31b68f,this['_awaitingChangeset']=_0x3eb0c7,this[_0x1fc7b7(0x261)]=_0x5133dc);}[_0x3238bf(0x1c3)](_0x460fd7){const _0x34202e=_0x3238bf,_0x53dfff=this[_0x34202e(0x357)][_0x34202e(0x162)](this['unitID']);return _0x460fd7[_0x34202e(0x445)]>_0x53dfff+0x1?(this['_handler'][_0x34202e(0x36e)]({'from':_0x53dfff,'to':_0x460fd7[_0x34202e(0x445)]-0x1}),!0x0):!0x1;}[_0x3238bf(0x50a)](_0x49909a){this['_undoRedoService']['transformUndoRedo'](this['unitID'],_0x49909a);}[_0x3238bf(0x2a6)](_0x39631b){const _0x3db29e=_0x3238bf;var _0x56d383,_0x2ca5fb;(_0x2ca5fb=(_0x56d383=this[_0x3db29e(0x152)])[_0x3db29e(0x368)])==null||_0x2ca5fb[_0x3db29e(0x46d)](_0x56d383,_0x39631b);}[_0x3238bf(0x1cc)](_0xa250d6){const _0x4b5f04=_0x3238bf;var _0x1f57f6,_0x30283a;return(_0x30283a=(_0x1f57f6=this[_0x4b5f04(0x152)])[_0x4b5f04(0x273)])==null?void 0x0:_0x30283a[_0x4b5f04(0x46d)](_0x1f57f6,_0xa250d6);}[_0x3238bf(0x45f)](_0x2d2e04){const _0x247292=_0x3238bf;var _0x150be5,_0x2e5c5b;return(_0x2e5c5b=(_0x150be5=this[_0x247292(0x152)])['onTransformState'])==null?void 0x0:_0x2e5c5b[_0x247292(0x46d)](_0x150be5,_0x2d2e04);}['_transformRemoteChangesetByIMECache'](_0x319cd7){const _0x150e0c=_0x3238bf;var _0xe0fbd5,_0x52c81f,_0x506342;return(_0x506342=(_0x52c81f=(_0xe0fbd5=this['_handler'])[_0x150e0c(0x297)])==null?void 0x0:_0x52c81f[_0x150e0c(0x46d)](_0xe0fbd5,_0x319cd7))!=null?_0x506342:_0x319cd7;}[_0x3238bf(0x484)](_0x3328eb){const _0x5ba629=_0x3238bf;var _0x54c4e4,_0x21bd4c,_0xdfcd4;return(_0xdfcd4=(_0x21bd4c=(_0x54c4e4=this['_handler'])[_0x5ba629(0x1d2)])==null?void 0x0:_0x21bd4c[_0x5ba629(0x46d)](_0x54c4e4,_0x3328eb))!=null?_0xdfcd4:_0x3328eb;}[_0x3238bf(0x45c)](_0x47be79){const _0x4ba115=_0x3238bf;var _0xeb2db0,_0x752e78;if(this[_0x4ba115(0x4cf)]===ce[_0x4ba115(0x32f)]){const {unitID:_0x5ebf34,mutations:_0xc464a5,memberID:_0x87ece5}=_0x47be79,_0x433ae9=_0xc464a5[0x0]['params'][_0x4ba115(0x30a)];Array['isArray'](_0x433ae9)&&_0x433ae9[_0x4ba115(0x325)]>0x0&&((_0x752e78=(_0xeb2db0=this[_0x4ba115(0x152)])[_0x4ba115(0x4c8)])==null||_0x752e78[_0x4ba115(0x46d)](_0xeb2db0,{'unitID':_0x5ebf34,'memberID':_0x87ece5,'textRanges':_0x433ae9}));}}[_0x3238bf(0x365)](){const _0x3a1f88=_0x3238bf;this[_0x3a1f88(0x292)][_0x3a1f88(0x49b)](this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x3a1f88(0x261)]);}['_getCurrentRevision'](){const _0x1c499=_0x3238bf;return this['_revisionService'][_0x1c499(0x162)](this[_0x1c499(0x4e9)]);}[_0x3238bf(0x174)](){const _0x2325ee=_0x3238bf;this[_0x2325ee(0x357)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x3eeaa1){const _0x1f75b7=_0x3238bf;var _0x80274e;let _0x292250=this[_0x1f75b7(0x504)](_0x3eeaa1);_0x292250=this['_transformRemoteChangesetByStateCache'](_0x292250);const _0x5bc421=_0x292495(_0x292250['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x5bc421[_0x1f75b7(0x4c2)])throw _0x5bc421['error']instanceof Error?_0x5bc421[_0x1f75b7(0x241)]:new Error((_0x80274e=_0x5bc421['error'])!=null?_0x80274e:_0x1f75b7(0x2b9));this[_0x1f75b7(0x1cc)](_0x292250),this[_0x1f75b7(0x45f)](_0x292250),this[_0x1f75b7(0x50a)](_0x3eeaa1),this[_0x1f75b7(0x2a6)](_0x292250),this[_0x1f75b7(0x45c)](_0x292250),this[_0x1f75b7(0x174)]();}}let Fe=class extends $e{constructor(_0x438c9e,_0x32b462,_0x1ea05f,_0x301d6c,_0x2d2c1f,_0x3206ee,_0x581bae,_0x31bb6f,_0x5cc09e,_0x4e919c){const _0xc7aa3=_0x3238bf;super(_0x438c9e,_0x32b462,null,[],_0x1ea05f,_0x31bb6f,_0x581bae,_0x301d6c,_0x2d2c1f),g(this,_0xc7aa3(0x17b),_0xc7aa3(0x399)),(this[_0xc7aa3(0x151)]=_0x3206ee,this[_0xc7aa3(0x188)]=_0x5cc09e,this[_0xc7aa3(0x41a)]=_0x4e919c);}[_0x3238bf(0x323)](_0x55042f){const _0x5f4d4e=_0x3238bf,_0x4900bb=this[_0x5f4d4e(0x151)]['createInstance'](pe,this[_0x5f4d4e(0x4e9)],this['type'],[_0x55042f],this['_handler']);return _0x4900bb[_0x5f4d4e(0x493)](),_0x4900bb[_0x5f4d4e(0x365)](),_0x4900bb;}[_0x3238bf(0x561)](_0x194b38){const _0x23da7d=_0x3238bf;if(this[_0x23da7d(0x1c3)](_0x194b38))return this[_0x23da7d(0x151)][_0x23da7d(0x52d)](he,this[_0x23da7d(0x4e9)],this['type'],null,[],null,[_0x194b38],this[_0x23da7d(0x152)]);try{const _0x5ac15f=this[_0x23da7d(0x41a)]['transformMutationsWithChangeset'](_0x194b38,[mo]);if(_0xa7de0(_0x5ac15f)){const {c1Prime:_0x5d65da}=_0x5ac15f;return this[_0x23da7d(0x1ab)](_0x5d65da),this;}throw _0x5ac15f['error'];}catch(_0x4a457b){return this['_logService'][_0x23da7d(0x241)](_0x4a457b),this[_0x23da7d(0x2ac)](!0x1);}}[_0x3238bf(0x2ac)](_0x1bb604){const _0x38cf37=_0x3238bf;return this['_injector'][_0x38cf37(0x52d)](Re,this[_0x38cf37(0x4e9)],this[_0x38cf37(0x4cf)],null,[],this['_handler'],_0x1bb604);}[_0x3238bf(0x2e6)](){const _0xbeaeb1=_0x3238bf;throw new Error(_0xbeaeb1(0x153));}[_0x3238bf(0x221)](){const _0x29c751=_0x3238bf;throw new Error(_0x29c751(0x4aa));}[_0x3238bf(0x15d)](){return this;}[_0x3238bf(0x479)](){const _0x5367d1=_0x3238bf;return this[_0x5367d1(0x151)][_0x5367d1(0x52d)](ye,this[_0x5367d1(0x4e9)],this['type'],null,[],this['_handler']);}[_0x3238bf(0x38c)](){return this;}[_0x3238bf(0x2c3)](){const _0xd0c9be=_0x3238bf;throw new Error(_0xd0c9be(0x3b2));}[_0x3238bf(0x165)](){const _0x3d8c34=_0x3238bf,_0x249203=this[_0x3d8c34(0x357)][_0x3d8c34(0x162)](this[_0x3d8c34(0x4e9)]);return this[_0x3d8c34(0x152)][_0x3d8c34(0x36e)]({'from':_0x249203,'to':0x0}),this['_injector'][_0x3d8c34(0x52d)](he,this[_0x3d8c34(0x4e9)],this['type'],null,[],null,[],this[_0x3d8c34(0x152)]);}};Fe=Le([A(0x3,_0x4a2654(_0x56b96b)),A(0x4,_0x4a2654(q)),A(0x5,_0x4a2654(_0x28b8e2)),A(0x6,_0x558053),A(0x7,_0x462ea5),A(0x8,_0x5d0f53),A(0x9,_0x945511)],Fe);let pe=class extends $e{constructor(_0xfca9ab,_0x2a84ba,_0x5d9c8d,_0x161b8d,_0x2cb3d5,_0x4665c5,_0x3f4e7b,_0x200c8a,_0x190423,_0x48ace7,_0x1b96db,_0x4b89b3,_0x51152d,_0xa5c855){const _0x3abea3=_0x3238bf;super(_0xfca9ab,_0x2a84ba,null,_0x5d9c8d,_0x161b8d,_0x48ace7,_0xa5c855,_0x4665c5,_0x3f4e7b),g(this,_0x3abea3(0x17b),_0x3abea3(0x1f1)),g(this,_0x3abea3(0x4c0),null),g(this,_0x3abea3(0x462),null),(this[_0x3abea3(0x151)]=_0x2cb3d5,this[_0x3abea3(0x1e3)]=_0x200c8a,this[_0x3abea3(0x188)]=_0x190423,this[_0x3abea3(0x330)]=_0x1b96db,this[_0x3abea3(0x41a)]=_0x4b89b3,this[_0x3abea3(0x262)]=_0x51152d);}[_0x3238bf(0x323)](_0x337a03){const _0x4d4d88=_0x3238bf;return this[_0x4d4d88(0x261)][_0x4d4d88(0x419)](_0x337a03),this['_updateLocalCache'](),this;}[_0x3238bf(0x561)](_0x559272){const _0x49021a=_0x3238bf;if(this[_0x49021a(0x1c3)](_0x559272))return this['_clearScheduledTask'](),this[_0x49021a(0x151)][_0x49021a(0x52d)](he,this[_0x49021a(0x4e9)],this[_0x49021a(0x4cf)],null,this[_0x49021a(0x261)],null,[_0x559272],this['_handler']);try{const _0x39a037=this[_0x49021a(0x41a)][_0x49021a(0x2ee)](_0x559272,this[_0x49021a(0x261)]);if(_0xa7de0(_0x39a037)){const {c1Prime:_0x538b0c,m2Prime:_0x4f896f}=_0x39a037;this[_0x49021a(0x1ab)](_0x538b0c);const _0x3771f6=this['_injector'][_0x49021a(0x52d)](pe,this[_0x49021a(0x4e9)],this['type'],_0x4f896f,this[_0x49021a(0x152)]);return this[_0x49021a(0x4f1)](),_0x3771f6[_0x49021a(0x493)](this['_scheduleTimestamp']?Math[_0x49021a(0x38f)](0x0,new Date()['getTime']()-this[_0x49021a(0x4c0)]):this[_0x49021a(0x3d4)]()),_0x3771f6;}throw _0x39a037[_0x49021a(0x241)];}catch(_0x4a75d0){return this[_0x49021a(0x188)]['error'](_0x4a75d0),this['_onConflict'](!0x1);}}['onRemoteAck'](){const _0x3eb8e9=_0x3238bf;throw new Error(_0x3eb8e9(0x202));}[_0x3238bf(0x221)](){const _0x36839c=_0x3238bf;throw new Error(_0x36839c(0x52c));}[_0x3238bf(0x15d)](){return this;}[_0x3238bf(0x479)](){const _0x5bdb08=_0x3238bf;return this[_0x5bdb08(0x4f1)](),this[_0x5bdb08(0x151)][_0x5bdb08(0x52d)](ye,this[_0x5bdb08(0x4e9)],this[_0x5bdb08(0x4cf)],null,this[_0x5bdb08(0x261)],this['_handler']);}[_0x3238bf(0x38c)](){return this;}[_0x3238bf(0x493)](_0x2a1761){const _0x57fded=_0x3238bf,_0x16b112=_0x2a1761!=null?_0x2a1761:this[_0x57fded(0x3d4)]();this[_0x57fded(0x4c0)]=new Date()[_0x57fded(0x52f)](),this[_0x57fded(0x462)]=window[_0x57fded(0x32c)](()=>{const _0x118db0=_0x57fded;this[_0x118db0(0x4f1)]();let _0xe3e8ae=null;switch(this[_0x118db0(0x4cf)]){case ce['UNIVER_SHEET']:{_0xe3e8ae=Vs(this[_0x118db0(0x261)],this['unitID'],this[_0x118db0(0x262)],this['_revisionService'],this[_0x118db0(0x1e3)]);break;}case ce[_0x118db0(0x32f)]:{this[_0x118db0(0x261)][_0x118db0(0x501)](_0x1caec2=>_0x1caec2['id']===_0x2554d0['id'])?_0xe3e8ae=vo(this[_0x118db0(0x261)],this[_0x118db0(0x4e9)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0xe3e8ae=Vs(this[_0x118db0(0x261)],this['unitID'],this[_0x118db0(0x262)],this[_0x118db0(0x357)],this['_memberService']);break;}default:throw new Error(_0x118db0(0x170)+this[_0x118db0(0x4cf)]+_0x118db0(0x31a));}const {changeset:_0x389a1a,pendingMutations:_0x2b39d8}=_0xe3e8ae;this['_handler'][_0x118db0(0x4ea)](_0x389a1a);const _0x47220c=_0x2b39d8[_0x118db0(0x325)]?this[_0x118db0(0x151)]['createInstance'](ge,this[_0x118db0(0x4e9)],this[_0x118db0(0x4cf)],_0x389a1a,_0x2b39d8,this[_0x118db0(0x152)],void 0x0):this[_0x118db0(0x151)]['createInstance'](Te,this['unitID'],this['type'],_0x389a1a,this[_0x118db0(0x152)]);_0x47220c[_0x118db0(0x365)](),this[_0x118db0(0x152)][_0x118db0(0x400)](this,_0x47220c);},_0x16b112);}[_0x3238bf(0x3d4)](){const _0x2b1879=_0x3238bf;var _0x3f5d54;const _0x8cb195=this[_0x2b1879(0x330)][_0x2b1879(0x404)](ie);return(_0x3f5d54=_0x8cb195==null?void 0x0:_0x8cb195[_0x2b1879(0x420)])!=null?_0x3f5d54:_r;}[_0x3238bf(0x2c3)](){const _0x1495ce=_0x3238bf;throw new Error(_0x1495ce(0x21c));}['_clearScheduledTask'](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x3238bf(0x2ac)](_0x225a75){const _0x46f39f=_0x3238bf;return this[_0x46f39f(0x4f1)](),this[_0x46f39f(0x151)][_0x46f39f(0x52d)](Re,this[_0x46f39f(0x4e9)],this[_0x46f39f(0x4cf)],null,this[_0x46f39f(0x261)],this[_0x46f39f(0x152)],_0x225a75);}};pe=Le([A(0x4,_0x4a2654(_0x28b8e2)),A(0x5,_0x4a2654(_0x56b96b)),A(0x6,_0x4a2654(q)),A(0x7,_0x4a2654(Ne)),A(0x8,_0x5d0f53),A(0x9,_0x462ea5),A(0xa,_0x12cd24),A(0xb,_0x945511),A(0xc,_0x21deaa),A(0xd,_0x558053)],pe);let Te=class extends $e{constructor(_0x539922,_0x1784da,_0x331ce6,_0x314568,_0x2f0985,_0x400315,_0x38730a,_0x418e40,_0x22264e,_0x1ee5ad,_0x47b185){const _0x272fe9=_0x3238bf;super(_0x539922,_0x1784da,_0x331ce6,[],_0x314568,_0x418e40,_0x47b185,_0x400315,_0x38730a),g(this,_0x272fe9(0x17b),'awaiting'),g(this,'_resendTimeout',0x0),g(this,_0x272fe9(0x4d7)),g(this,_0x272fe9(0x3cf)),(this[_0x272fe9(0x151)]=_0x2f0985,this[_0x272fe9(0x188)]=_0x22264e,this[_0x272fe9(0x41a)]=_0x1ee5ad);}['appendMutation'](_0xd95a43){const _0x34ce2d=_0x3238bf;this[_0x34ce2d(0x4f1)]();const _0x484c56=this['_injector'][_0x34ce2d(0x52d)](ge,this['unitID'],this[_0x34ce2d(0x4cf)],this[_0x34ce2d(0x4ac)],[_0xd95a43],this[_0x34ce2d(0x152)],this[_0x34ce2d(0x4d7)]);return _0x484c56[_0x34ce2d(0x365)](),_0x484c56;}[_0x3238bf(0x561)](_0x454173){const _0x2c2c24=_0x3238bf;if(this[_0x2c2c24(0x1c3)](_0x454173))return this[_0x2c2c24(0x4f1)](),this[_0x2c2c24(0x151)][_0x2c2c24(0x52d)](he,this[_0x2c2c24(0x4e9)],this[_0x2c2c24(0x4cf)],this[_0x2c2c24(0x4ac)],[],null,[_0x454173],this['_handler']);try{const _0x8020a9=this[_0x2c2c24(0x41a)][_0x2c2c24(0x177)]([_0x454173],[this[_0x2c2c24(0x4ac)]],!0x1);if(_0x23fd88(_0x8020a9)){const {c1Prime:_0x59cc38,c2Prime:_0x5cfd37}=_0x8020a9;this['_executeRemoteChangeset'](_0x59cc38[0x0]),_0x5cfd37[0x0][_0x2c2c24(0x24c)]=this[_0x2c2c24(0x33c)](),this['_clearScheduledTask']();const _0x4f8e4a=this[_0x2c2c24(0x151)][_0x2c2c24(0x52d)](Te,this[_0x2c2c24(0x4e9)],this[_0x2c2c24(0x4cf)],_0x5cfd37[0x0],this[_0x2c2c24(0x152)]);return _0x4f8e4a['_updateLocalCache'](),_0x4f8e4a;}return this[_0x2c2c24(0x2ac)](!0x1);}catch(_0x33f582){return this[_0x2c2c24(0x188)][_0x2c2c24(0x241)](_0x33f582),this['_onConflict'](!0x1);}}[_0x3238bf(0x2e6)](_0x1bc19c){const _0x2dbff8=_0x3238bf;this[_0x2dbff8(0x4f1)]();const _0x529dae=this[_0x2dbff8(0x357)][_0x2dbff8(0x162)](this[_0x2dbff8(0x4e9)]);if(_0x1bc19c[_0x2dbff8(0x445)]<_0x529dae-0x1)return this;if(this[_0x2dbff8(0x1c3)](_0x1bc19c))return this['_injector'][_0x2dbff8(0x52d)](he,this[_0x2dbff8(0x4e9)],this['type'],null,[],this[_0x2dbff8(0x4ac)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x3ce216=this['_injector'][_0x2dbff8(0x52d)](Fe,this[_0x2dbff8(0x4e9)],this[_0x2dbff8(0x4cf)],this[_0x2dbff8(0x152)]);return _0x3ce216[_0x2dbff8(0x365)](),_0x3ce216;}[_0x3238bf(0x221)](_0x2a17e3){const _0x2176d9=_0x3238bf;return this['_onConflict'](!!(_0x2a17e3!=null&&_0x2a17e3[_0x2176d9(0x3f7)]));}['onRemoteRetry'](_0x2639c7){const _0x12335d=_0x3238bf;return this[_0x12335d(0x372)]>Ni?this[_0x12335d(0x479)]():(this['_resendTimer']=Ui(this[_0x12335d(0x372)],{'timeout':this['_resendTimeout'],'reqId':_0x2639c7['reqId']}),this[_0x12335d(0x3cf)]=this[_0x12335d(0x4d7)][_0x12335d(0x43b)](({reqId:_0x564104,timeout:_0x42d236})=>{const _0x5ec24f=_0x12335d;this[_0x5ec24f(0x272)](_0x564104,_0x42d236);}),this);}['toggleOffline'](){const _0x197c29=_0x3238bf;return this['_clearScheduledTask'](),this[_0x197c29(0x151)]['createInstance'](ye,this[_0x197c29(0x4e9)],this[_0x197c29(0x4cf)],this[_0x197c29(0x4ac)],[],this[_0x197c29(0x152)]);}[_0x3238bf(0x38c)](){return this;}['resend'](){const _0x38c2f0=_0x3238bf;this['_handler'][_0x38c2f0(0x4ea)](this[_0x38c2f0(0x4ac)]);}['_onConflict'](_0x40016a){const _0x38746a=_0x3238bf;return this[_0x38746a(0x4f1)](),this[_0x38746a(0x151)][_0x38746a(0x52d)](Re,this['unitID'],this[_0x38746a(0x4cf)],this[_0x38746a(0x4ac)],[],this[_0x38746a(0x152)],_0x40016a);}[_0x3238bf(0x272)](_0x4bcf2c,_0xb2170b){const _0x40dc72=_0x3238bf;var _0x185eef;_0x4bcf2c===((_0x185eef=this[_0x40dc72(0x4ac)])==null?void 0x0:_0x185eef[_0x40dc72(0x4ec)])&&(this[_0x40dc72(0x2c3)](),this[_0x40dc72(0x372)]=_0xb2170b===0x0?0x3e8:_0xb2170b*0x2);}[_0x3238bf(0x4f1)](){const _0x2f7464=_0x3238bf;var _0x2363aa;(_0x2363aa=this[_0x2f7464(0x3cf)])==null||_0x2363aa['unsubscribe'](),this[_0x2f7464(0x372)]=0x0;}};Te=Le([A(0x4,_0x4a2654(_0x28b8e2)),A(0x5,_0x4a2654(_0x56b96b)),A(0x6,_0x4a2654(q)),A(0x7,_0x462ea5),A(0x8,_0x5d0f53),A(0x9,_0x945511),A(0xa,_0x558053)],Te);let ge=class extends $e{constructor(_0x2a994c,_0x31f5f2,_0x49cd68,_0x34da23,_0x3a7780,_0x57e383,_0x2ff969,_0x3fb446,_0x32b729,_0x4b8d4e,_0x32a199,_0x47dc07,_0x150faf){const _0x19ef6d=_0x3238bf;super(_0x2a994c,_0x31f5f2,_0x49cd68,_0x34da23,_0x3a7780,_0x4b8d4e,_0x150faf,_0x3fb446,_0x32b729),g(this,'status',_0x19ef6d(0x2d9)),g(this,_0x19ef6d(0x372),0x0),g(this,'_resendTimer'),g(this,_0x19ef6d(0x3cf)),(this[_0x19ef6d(0x151)]=_0x2ff969,this[_0x19ef6d(0x188)]=_0x32a199,this[_0x19ef6d(0x41a)]=_0x47dc07,_0x57e383&&(this[_0x19ef6d(0x4d7)]=_0x57e383,this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x58293d,timeout:_0x3124b2})=>{const _0x1ec1ae=_0x19ef6d;this[_0x1ec1ae(0x272)](_0x58293d,_0x3124b2);})));}[_0x3238bf(0x323)](_0x2808e5){const _0x5b2eb5=_0x3238bf;return this['_pendingMutations'][_0x5b2eb5(0x419)](_0x2808e5),this;}[_0x3238bf(0x561)](_0x4ab3ec){const _0x1ad84d=_0x3238bf;if(this[_0x1ad84d(0x1c3)](_0x4ab3ec))return this[_0x1ad84d(0x4f1)](),this[_0x1ad84d(0x151)][_0x1ad84d(0x52d)](he,this[_0x1ad84d(0x4e9)],this['type'],this[_0x1ad84d(0x4ac)],this[_0x1ad84d(0x261)],null,[_0x4ab3ec],this[_0x1ad84d(0x152)]);try{const _0x54aca0=this[_0x1ad84d(0x41a)][_0x1ad84d(0x177)]([_0x4ab3ec],[this[_0x1ad84d(0x4ac)]],!0x1);if(_0x23fd88(_0x54aca0)){const {c1Prime:_0x98b3db,c2Prime:_0x45b905}=_0x54aca0,_0x65f87d=this['_transformService']['transformMutationsWithChangeset'](_0x98b3db[0x0],this[_0x1ad84d(0x261)]);if(_0xa7de0(_0x65f87d)){const {c1Prime:_0x495f6a,m2Prime:_0x21aeec}=_0x65f87d;return this['_executeRemoteChangeset'](_0x495f6a),_0x45b905[0x0][_0x1ad84d(0x24c)]=this[_0x1ad84d(0x33c)](),this[_0x1ad84d(0x4f1)](),this[_0x1ad84d(0x151)][_0x1ad84d(0x52d)](ge,this['unitID'],this['type'],_0x45b905[0x0],_0x21aeec,this[_0x1ad84d(0x152)],void 0x0);}throw _0x65f87d[_0x1ad84d(0x241)];}throw _0x54aca0[_0x1ad84d(0x241)];}catch(_0x496b2e){return this[_0x1ad84d(0x188)]['error'](_0x496b2e),this[_0x1ad84d(0x2ac)](!0x1);}}[_0x3238bf(0x2e6)](_0x511fa5){const _0x5675d0=_0x3238bf;if(this[_0x5675d0(0x4f1)](),this[_0x5675d0(0x1c3)](_0x511fa5))return this[_0x5675d0(0x151)]['createInstance'](he,this[_0x5675d0(0x4e9)],this['type'],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x5675d0(0x152)]);this[_0x5675d0(0x174)]();const _0x2ad561=this[_0x5675d0(0x151)][_0x5675d0(0x52d)](pe,this[_0x5675d0(0x4e9)],this['type'],this[_0x5675d0(0x261)],this[_0x5675d0(0x152)]);return _0x2ad561['_schedule'](),_0x2ad561['_updateLocalCache'](),_0x2ad561;}[_0x3238bf(0x221)](_0x2f3e24){const _0x5c5adc=_0x3238bf;return this[_0x5c5adc(0x2ac)](!!(_0x2f3e24!=null&&_0x2f3e24[_0x5c5adc(0x3f7)]));}[_0x3238bf(0x15d)](_0x4d85cf){const _0x45387c=_0x3238bf;return this[_0x45387c(0x372)]>Ni?this[_0x45387c(0x479)]():(this['_resendTimer']=Ui(this['_resendTimeout'],{'timeout':this[_0x45387c(0x372)],'reqId':_0x4d85cf[_0x45387c(0x4ec)]}),this['_sender']=this[_0x45387c(0x4d7)][_0x45387c(0x43b)](({reqId:_0x5ed6b2,timeout:_0x3c2c03})=>{const _0x488ce8=_0x45387c;this[_0x488ce8(0x272)](_0x5ed6b2,_0x3c2c03);}),this);}[_0x3238bf(0x479)](){const _0x2f73f4=_0x3238bf;return this[_0x2f73f4(0x4f1)](),this[_0x2f73f4(0x151)][_0x2f73f4(0x52d)](ye,this[_0x2f73f4(0x4e9)],this[_0x2f73f4(0x4cf)],this['_awaitingChangeset'],this[_0x2f73f4(0x261)],this[_0x2f73f4(0x152)]);}['toggleOnline'](){return this;}[_0x3238bf(0x2c3)](){const _0x5554b7=_0x3238bf;this[_0x5554b7(0x152)][_0x5554b7(0x4ea)](this[_0x5554b7(0x4ac)]);}[_0x3238bf(0x2ac)](_0x227e66){const _0x92f1a0=_0x3238bf;return this['_clearScheduledTask'](),this['_injector'][_0x92f1a0(0x52d)](Re,this[_0x92f1a0(0x4e9)],this['type'],null,this[_0x92f1a0(0x261)],this[_0x92f1a0(0x152)],_0x227e66);}[_0x3238bf(0x272)](_0x1bd1a9,_0x2eb4c3){const _0x531e71=_0x3238bf;var _0x34cd74;_0x1bd1a9===((_0x34cd74=this['_awaitingChangeset'])==null?void 0x0:_0x34cd74[_0x531e71(0x4ec)])&&(this[_0x531e71(0x2c3)](),this['_resendTimeout']=_0x2eb4c3===0x0?0x3e8:_0x2eb4c3*0x2);}[_0x3238bf(0x4f1)](){const _0x246f28=_0x3238bf;var _0x1862c3;(_0x1862c3=this[_0x246f28(0x3cf)])==null||_0x1862c3['unsubscribe'](),this[_0x246f28(0x372)]=0x0;}};ge=Le([A(0x6,_0x4a2654(_0x28b8e2)),A(0x7,_0x4a2654(_0x56b96b)),A(0x8,_0x4a2654(q)),A(0x9,_0x462ea5),A(0xa,_0x5d0f53),A(0xb,_0x945511),A(0xc,_0x558053)],ge);let Re=class extends $e{constructor(_0x2f02e6,_0x439332,_0x2c33a6,_0x1c3fe9,_0x9ea4df,_0x47abd1=!0x1,_0x29bb82,_0x3ff76f,_0x350ddc,_0x493b62,_0xaf2bf0,_0x25d36d,_0xa7de66){const _0x16af03=_0x3238bf;super(_0x2f02e6,_0x439332,_0x2c33a6,_0x1c3fe9,_0x9ea4df,_0x3ff76f,_0x350ddc,_0xaf2bf0,_0x493b62),g(this,'status',_0x16af03(0x436)),(this[_0x16af03(0x280)]=_0x47abd1,this[_0x16af03(0x184)]=_0x29bb82,this[_0x16af03(0x141)]=_0x25d36d,this[_0x16af03(0x465)]=_0xa7de66,this['_showConflictNotification'](),this[_0x16af03(0x2d4)](),this[_0x16af03(0x2d2)]());}[_0x3238bf(0x323)](){return this;}[_0x3238bf(0x561)](){return this;}[_0x3238bf(0x2e6)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x3238bf(0x479)](){return this;}[_0x3238bf(0x38c)](){return this;}[_0x3238bf(0x2c3)](){const _0x6d66e7=_0x3238bf;throw new Error(_0x6d66e7(0x4cc));}['_clearLocalCache'](){const _0x4c1139=_0x3238bf;this['_localCacheService'][_0x4c1139(0x49b)](this[_0x4c1139(0x4e9)],this['type'],null,[]);}['_showConflictNotification'](){const _0x5e7c3a=_0x3238bf;this[_0x5e7c3a(0x280)]?this[_0x5e7c3a(0x465)]['show']({'title':this[_0x5e7c3a(0x141)]['t'](_0x5e7c3a(0x26e)),'content':this[_0x5e7c3a(0x141)]['t'](_0x5e7c3a(0x2bb)),'type':'error','duration':0x0}):this[_0x5e7c3a(0x465)][_0x5e7c3a(0x29f)]({'title':this['_localeService']['t']('conflict.title'),'content':this[_0x5e7c3a(0x141)]['t'](_0x5e7c3a(0x248)),'type':_0x5e7c3a(0x241),'duration':0x0});}[_0x3238bf(0x2d2)](){const _0x1b5042=_0x3238bf;this[_0x1b5042(0x184)]['updatePermissionPoint'](new _0x5f270b(this[_0x1b5042(0x4e9)])['id'],!0x1);}};Re=Le([A(0x6,_0x4a2654(_0x3cddab)),A(0x7,_0x462ea5),A(0x8,_0x558053),A(0x9,_0x4a2654(q)),A(0xa,_0x4a2654(_0x56b96b)),A(0xb,_0x4a2654(_0xc7611d)),A(0xc,_0x447575)],Re);let ye=class extends $e{constructor(_0x3d6bb8,_0x46e050,_0x1074cd,_0x528fc3,_0x232f00,_0x42ce10,_0x41ad13,_0x388db4,_0x1dcbf5,_0x4bd771){const _0xa988f9=_0x3238bf;super(_0x3d6bb8,_0x46e050,_0x1074cd,_0x528fc3,_0x232f00,_0x1dcbf5,_0x4bd771,_0x41ad13,_0x388db4),g(this,'status','offline'),this[_0xa988f9(0x151)]=_0x42ce10;}['appendMutation'](_0x374837){const _0xb96fe4=_0x3238bf;return this['_pendingMutations'][_0xb96fe4(0x419)](_0x374837),this[_0xb96fe4(0x365)](),this;}['onRemoteChangeset'](_0x3ed9c7){const _0x2ef372=_0x3238bf;throw new Error(_0x2ef372(0x16a));}[_0x3238bf(0x2e6)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x3238bf(0x221)](){const _0x345fac=_0x3238bf;throw new Error(_0x345fac(0x36a));}[_0x3238bf(0x15d)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){const _0x5bb174=_0x3238bf,{_injector:_0x361dd4,_pendingMutations:_0x355336,_awaitingChangeset:_0x3d964f,unitID:_0x5e5abc,_handler:_0x138128,type:_0x54b189}=this,_0x2e27b3=Ai(_0x361dd4,_0x5e5abc,_0x54b189,_0x3d964f,_0x355336,_0x138128);return _0x2e27b3 instanceof pe?_0x2e27b3[_0x5bb174(0x493)]():(_0x2e27b3 instanceof ge||_0x2e27b3 instanceof Te)&&_0x2e27b3['resend'](),_0x2e27b3;}['resend'](){const _0x423164=_0x3238bf;throw new Error(_0x423164(0x25c));}};ye=Le([A(0x5,_0x4a2654(_0x28b8e2)),A(0x6,_0x4a2654(_0x56b96b)),A(0x7,_0x4a2654(q)),A(0x8,_0x462ea5),A(0x9,_0x558053)],ye);let he=class extends $e{constructor(_0x2b5b4c,_0x5f4139,_0x2e233f,_0xd477ea,_0x1b139f,_0x5b3959,_0x3fd526,_0x255f37,_0x53656c,_0x2efbbe,_0x299a86,_0x246a02,_0x4974d4,_0x55679c){const _0x324fe7=_0x3238bf;super(_0x2b5b4c,_0x5f4139,_0x2e233f,_0xd477ea,_0x3fd526,_0x246a02,_0x4974d4,_0x53656c,_0x2efbbe),g(this,_0x324fe7(0x17b),_0x324fe7(0x40f)),(this['_acknowledgedAwaitingChangeset']=_0x1b139f,this[_0x324fe7(0x28b)]=_0x5b3959,this[_0x324fe7(0x151)]=_0x255f37,this['_logService']=_0x299a86,this[_0x324fe7(0x41a)]=_0x55679c);}[_0x3238bf(0x21f)](_0x4f5ea7){const _0x30a3ac=_0x3238bf;try{const _0x2ba7dd=[..._0x4f5ea7,...this[_0x30a3ac(0x28b)]],_0x429c45=[this[_0x30a3ac(0x4ac)]||this[_0x30a3ac(0x536)]][_0x30a3ac(0x295)](_0x41c554=>!!_0x41c554);let _0x469da4,_0x2e9f3c;if(_0x429c45['length']){const _0x1e6cd7=this[_0x30a3ac(0x41a)]['transformChangesets'](_0x2ba7dd,_0x429c45,!0x1);if(!_0x23fd88(_0x1e6cd7))throw _0x1e6cd7['error'];_0x469da4=_0x1e6cd7[_0x30a3ac(0x4f0)],_0x2e9f3c=_0x1e6cd7[_0x30a3ac(0x54d)];}else _0x469da4=_0x2ba7dd,_0x2e9f3c=[];let _0x427fb9=this['_pendingMutations'];_0x469da4['forEach'](_0x537441=>{const _0x17213a=_0x30a3ac;let _0x22b566;if(_0x427fb9[_0x17213a(0x325)]){const _0x2a5e53=this[_0x17213a(0x41a)][_0x17213a(0x2ee)](_0x537441,_0x427fb9);if(!_0xa7de0(_0x2a5e53))throw _0x2a5e53[_0x17213a(0x241)];_0x22b566=_0x2a5e53[_0x17213a(0x4f0)],_0x427fb9=_0x2a5e53['m2Prime'];}else _0x22b566=_0x537441;this['_executeRemoteChangeset'](_0x22b566);}),this['_acknowledgedAwaitingChangeset']&&this[_0x30a3ac(0x174)](),this[_0x30a3ac(0x4ac)]&&_0x2e9f3c['length']&&(_0x2e9f3c[0x0][_0x30a3ac(0x24c)]=this[_0x30a3ac(0x33c)]());let _0x35cb16;if(this['_awaitingChangeset']&&_0x427fb9[_0x30a3ac(0x325)]!==0x0)_0x35cb16=this[_0x30a3ac(0x151)][_0x30a3ac(0x52d)](ge,this[_0x30a3ac(0x4e9)],this[_0x30a3ac(0x4cf)],_0x2e9f3c[0x0],_0x427fb9,this[_0x30a3ac(0x152)],void 0x0);else{if(this[_0x30a3ac(0x4ac)]&&_0x427fb9[_0x30a3ac(0x325)]===0x0)_0x2e9f3c[0x0][_0x30a3ac(0x24c)]=this[_0x30a3ac(0x33c)](),_0x35cb16=this[_0x30a3ac(0x151)][_0x30a3ac(0x52d)](Te,this[_0x30a3ac(0x4e9)],this['type'],_0x2e9f3c[0x0],this[_0x30a3ac(0x152)]);else{if(_0x427fb9[_0x30a3ac(0x325)]!==0x0){const _0x362bdf=this[_0x30a3ac(0x151)]['createInstance'](pe,this[_0x30a3ac(0x4e9)],this[_0x30a3ac(0x4cf)],_0x427fb9,this[_0x30a3ac(0x152)]);_0x362bdf[_0x30a3ac(0x493)](),_0x35cb16=_0x362bdf;}else _0x35cb16=this[_0x30a3ac(0x151)][_0x30a3ac(0x52d)](Fe,this[_0x30a3ac(0x4e9)],this[_0x30a3ac(0x4cf)],this[_0x30a3ac(0x152)]);}}return _0x35cb16['_updateLocalCache'](),_0x35cb16;}catch(_0x1c9999){return this[_0x30a3ac(0x188)][_0x30a3ac(0x241)](_0x30a3ac(0x4fa),_0x30a3ac(0x2b7),_0x1c9999),this['_injector'][_0x30a3ac(0x52d)](Re,this['unitID'],this[_0x30a3ac(0x4cf)],this[_0x30a3ac(0x4ac)],this[_0x30a3ac(0x261)],this[_0x30a3ac(0x152)],!0x1);}}[_0x3238bf(0x2c3)](){const _0x5ef1a7=_0x3238bf;throw new Error(_0x5ef1a7(0x1d0));}[_0x3238bf(0x323)](_0x178a16){const _0x2acbf5=_0x3238bf;return this['_pendingMutations'][_0x2acbf5(0x419)](_0x178a16),this;}['onRemoteChangeset'](_0x2b8fed){return this['_queuedRemoteChangesets']['push'](_0x2b8fed),this;}[_0x3238bf(0x2e6)](_0x1c55fb){const _0x2aaaf6=_0x3238bf;if(this[_0x2aaaf6(0x4ac)])return this[_0x2aaaf6(0x536)]=this[_0x2aaaf6(0x4ac)],this[_0x2aaaf6(0x4ac)]=null,this;throw new Error(_0x2aaaf6(0x23c));}['onRemoteRej'](_0x379534){const _0x52cba6=_0x3238bf;return this[_0x52cba6(0x2ac)](!!(_0x379534!=null&&_0x379534['isPermissionRej']));}[_0x3238bf(0x15d)](){return this;}['toggleOffline'](){const _0x3e801b=_0x3238bf;return this[_0x3e801b(0x151)][_0x3e801b(0x52d)](ye,this['unitID'],this[_0x3e801b(0x4cf)],this['_awaitingChangeset'],this[_0x3e801b(0x261)],this[_0x3e801b(0x152)]);}[_0x3238bf(0x38c)](){return this;}[_0x3238bf(0x2ac)](_0x5178b2){const _0x3f58d7=_0x3238bf;return this[_0x3f58d7(0x151)][_0x3f58d7(0x52d)](Re,this[_0x3f58d7(0x4e9)],this[_0x3f58d7(0x4cf)],this[_0x3f58d7(0x4ac)],this[_0x3f58d7(0x261)],this[_0x3f58d7(0x152)],_0x5178b2);}};he=Le([A(0x7,_0x4a2654(_0x28b8e2)),A(0x8,_0x4a2654(_0x56b96b)),A(0x9,_0x4a2654(q)),A(0xa,_0x5d0f53),A(0xb,_0x462ea5),A(0xc,_0x558053),A(0xd,_0x945511)],he);function Ai(_0xb17da3,_0x4a1ffc,_0x3b7c83,_0x3ba81a,_0x3e3768,_0x1837d9){const _0x138b89=_0x3238bf;return _0x3ba81a&&_0x3e3768[_0x138b89(0x325)]?_0xb17da3[_0x138b89(0x52d)](ge,_0x4a1ffc,_0x3b7c83,_0x3ba81a,_0x3e3768,_0x1837d9,void 0x0):_0x3ba81a?_0xb17da3[_0x138b89(0x52d)](Te,_0x4a1ffc,_0x3b7c83,_0x3ba81a,_0x1837d9):_0x3e3768[_0x138b89(0x325)]?_0xb17da3[_0x138b89(0x52d)](pe,_0x4a1ffc,_0x3b7c83,_0x3e3768,_0x1837d9):_0xb17da3[_0x138b89(0x52d)](Fe,_0x4a1ffc,_0x3b7c83,_0x1837d9);}var So=Object[_0x3238bf(0x535)],Io=Object[_0x3238bf(0x2df)],Es=(_0x2499a1,_0x1acf7c,_0x1f6e48,_0x3024f4)=>{for(var _0x3604b3=_0x3024f4>0x1?void 0x0:_0x3024f4?Io(_0x1acf7c,_0x1f6e48):_0x1acf7c,_0x2a2229=_0x2499a1['length']-0x1,_0x292db6;_0x2a2229>=0x0;_0x2a2229--)(_0x292db6=_0x2499a1[_0x2a2229])&&(_0x3604b3=(_0x3024f4?_0x292db6(_0x1acf7c,_0x1f6e48,_0x3604b3):_0x292db6(_0x3604b3))||_0x3604b3);return _0x3024f4&&_0x3604b3&&So(_0x1acf7c,_0x1f6e48,_0x3604b3),_0x3604b3;},H=(_0x357556,_0x546f13)=>(_0x5964fe,_0xfd5d06)=>_0x546f13(_0x5964fe,_0xfd5d06,_0x357556);let gt=class extends _0x9ae76a{constructor(_0x3ab79e,_0x11bf14,_0x189387,_0x50286c,_0x45a213,_0x207e02,_0x54b867,_0x12c50c,_0x49ce7c,_0x48a9d3,_0x430e6d,_0xecd4c,_0x593015){const _0x43dab7=_0x3238bf;super(),g(this,_0x43dab7(0x472),new _0x353bc7(null)),g(this,_0x43dab7(0x41f),this[_0x43dab7(0x472)]['asObservable']()),g(this,_0x43dab7(0x2fc)),g(this,_0x43dab7(0x1ea),!0x1),g(this,'_changesetSessionId',''),g(this,'_changesetReqId',0x0),g(this,_0x43dab7(0x1a6),this[_0x43dab7(0x41f)]['pipe'](_0x10d2b5(_0x2cae5f=>_0x2cae5f?_0x2cae5f[_0x43dab7(0x17b)]:J[_0x43dab7(0x291)]),_0x2ad7f3(0x1))),g(this,'_transitionLocked',!0x1),g(this,_0x43dab7(0x175),[]),(this[_0x43dab7(0x4e9)]=_0x3ab79e,this[_0x43dab7(0x2e7)]=_0x11bf14,this[_0x43dab7(0x21d)]=_0x189387,this[_0x43dab7(0x151)]=_0x50286c,this['_localCacheService']=_0x45a213,this[_0x43dab7(0x414)]=_0x207e02,this['_localeService']=_0x54b867,this[_0x43dab7(0x357)]=_0x12c50c,this['_logService']=_0x49ce7c,this[_0x43dab7(0x525)]=_0x48a9d3,this['_messageService']=_0x430e6d,this[_0x43dab7(0x184)]=_0xecd4c,this[_0x43dab7(0x3c7)]=_0x593015);}get[_0x3238bf(0x3d2)](){const _0x195629=_0x3238bf;return this[_0x195629(0x2fc)];}async[_0x3238bf(0x264)](){const _0xbb1445=_0x3238bf;if(this['state'])throw new Error(_0xbb1445(0x300));await this[_0xbb1445(0x433)]();}[_0x3238bf(0x30c)](){const _0x253d4a=_0x3238bf;return this[_0x253d4a(0x1ea)]=!0x0,_0x164be7(()=>{const _0x653d90=_0x253d4a;this[_0x653d90(0x1ea)]=!0x1,this[_0x653d90(0x267)]();});}[_0x3238bf(0x289)](_0x1bd119){const _0x1e4126=_0x3238bf;this[_0x1e4126(0x2fc)]=_0x1bd119,this[_0x1e4126(0x472)][_0x1e4126(0x34c)](_0x1bd119);}async[_0x3238bf(0x433)](){const _0x1398ac=_0x3238bf;var _0xcf9ff1;this[_0x1398ac(0x289)](await this[_0x1398ac(0x48b)]()),this[_0x1398ac(0x3c7)]&&((_0xcf9ff1=this[_0x1398ac(0x3c7)])==null||_0xcf9ff1[_0x1398ac(0x1e5)](this[_0x1398ac(0x4e9)]),this[_0x1398ac(0x3df)](this[_0x1398ac(0x3c7)][_0x1398ac(0x27f)](this[_0x1398ac(0x4e9)])['subscribe'](_0x3a5590=>{const _0x43bda6=_0x1398ac;this[_0x43bda6(0x188)][_0x43bda6(0x18e)]('[CollaborationEntity]',_0x43bda6(0x52a),_0x3a5590),_0x3a5590===Di[_0x43bda6(0x347)]?(this[_0x43bda6(0x4ce)][_0x43bda6(0x29f)]({'content':this[_0x43bda6(0x141)]['t'](_0x43bda6(0x189)),'type':_0x62271a[_0x43bda6(0x432)]}),this[_0x43bda6(0x184)]['updatePermissionPoint'](new _0x5f270b(this[_0x43bda6(0x4e9)])['id'],!0x1),this['_permissionService'][_0x43bda6(0x2f7)](!0x1)):(this[_0x43bda6(0x184)][_0x43bda6(0x1f5)](new _0x5f270b(this[_0x43bda6(0x4e9)])['id'],!0x0),this[_0x43bda6(0x184)]['setShowComponents'](!0x0));})));let _0x3aa032=!0x1;return this[_0x1398ac(0x3df)](this[_0x1398ac(0x2e7)][_0x1398ac(0x18b)][_0x1398ac(0x43b)](_0x565caf=>{const _0x41ec08=_0x1398ac;_0x565caf===ve[_0x41ec08(0x435)]?this[_0x41ec08(0x3ee)](_0x3aa032):_0x565caf===ve[_0x41ec08(0x291)]&&(_0x3aa032=!0x0,this[_0x41ec08(0x3f5)]());})),this[_0x1398ac(0x3df)](this['session'][_0x1398ac(0x173)][_0x1398ac(0x43b)](_0x198452=>{const _0xaf6f8c=_0x1398ac;try{switch(_0x198452[_0xaf6f8c(0x448)]){case _0x2c5a34[_0xaf6f8c(0x2d8)]:{this['_onRemoteChangeset'](_0x3249cc(_0x198452['data']));break;}case _0x2c5a34[_0xaf6f8c(0x19f)]:{this[_0xaf6f8c(0x3d0)](_0x198452[_0xaf6f8c(0x209)]);break;}case _0x2c5a34[_0xaf6f8c(0x3c8)]:{this[_0xaf6f8c(0x22e)]();break;}case _0x2c5a34[_0xaf6f8c(0x28e)]:{this[_0xaf6f8c(0x383)](_0x198452['data']);break;}case _0x2c5a34[_0xaf6f8c(0x4c1)]:{this[_0xaf6f8c(0x449)](_0x198452['data'][_0xaf6f8c(0x30b)][_0xaf6f8c(0x192)](_0x4f23f3=>_0x3249cc(_0x4f23f3)));break;}case _0x2c5a34[_0xaf6f8c(0x17d)]:this[_0xaf6f8c(0x22e)]({'isPermissionRej':!0x0});}}catch(_0x111b54){throw console[_0xaf6f8c(0x241)]('Error\x20on\x20receiving\x20event',_0x111b54),_0x111b54;}})),this[_0x1398ac(0x2fc)];}[_0x3238bf(0x1df)](){const _0x28f1e3=_0x3238bf;this[_0x28f1e3(0x2a9)]=!0x1;}['_lockTransition'](){const _0xfbea83=_0x3238bf;if(this[_0xfbea83(0x2a9)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0xfbea83(0x2a9)]=!0x0;}[_0x3238bf(0x23e)](_0x32064d){const _0x10e425=_0x3238bf;this['_lockTransition'](),this[_0x10e425(0x289)](this['_state'][_0x10e425(0x323)](_0x32064d)),this[_0x10e425(0x1df)]();}[_0x3238bf(0x2ef)](_0x556558){const _0x58a758=_0x3238bf;if(!(_0x556558['revision']<=this[_0x58a758(0x357)][_0x58a758(0x162)](this['unitID']))){if(this[_0x58a758(0x1ea)]){this[_0x58a758(0x175)][_0x58a758(0x419)](_0x556558);return;}this['_applyRemoteChangeset'](_0x556558);}}[_0x3238bf(0x267)](){const _0x3a1428=_0x3238bf;this[_0x3a1428(0x175)][_0x3a1428(0x4b5)](_0x40a985=>this[_0x3a1428(0x39a)](_0x40a985)),this[_0x3a1428(0x175)]=[];}[_0x3238bf(0x39a)](_0x346fcb){const _0x4758aa=_0x3238bf,_0x436445=this['_compressMutationService'][_0x4758aa(0x4b4)][_0x4758aa(0x2e8)](this[_0x4758aa(0x414)][_0x4758aa(0x4b4)]['getInterceptPoints']()[_0x4758aa(0x460)])(_0x346fcb[_0x4758aa(0x4de)],null)||_0x346fcb[_0x4758aa(0x4de)],_0x2edc3a={..._0x346fcb,'mutations':_0x436445};this[_0x4758aa(0x2aa)](),this[_0x4758aa(0x289)](this['_state'][_0x4758aa(0x561)](_0x2edc3a)),this['_unlockTransition']();}['_onRemoteACK'](_0x281d56){const _0x300a32=_0x3238bf;this[_0x300a32(0x2aa)](),this[_0x300a32(0x289)](this[_0x300a32(0x2fc)][_0x300a32(0x2e6)](_0x281d56)),this['_unlockTransition']();}[_0x3238bf(0x22e)](_0x297492){const _0x388406=_0x3238bf;this['_lockTransition'](),this[_0x388406(0x289)](this[_0x388406(0x2fc)]['onRemoteRej'](_0x297492)),this[_0x388406(0x1df)]();}['_onRemoteRetry'](_0x4f8a8f){const _0x59df0b=_0x3238bf;this['_lockTransition'](),this[_0x59df0b(0x289)](this[_0x59df0b(0x2fc)]['onRemoteRetry'](_0x4f8a8f)),this['_unlockTransition']();}[_0x3238bf(0x449)](_0x2e2c7f){const _0x19a683=_0x3238bf;if(!(this[_0x19a683(0x2fc)]instanceof he))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x45e4f9=_0x2e2c7f[_0x19a683(0x192)](_0x8dd605=>{const _0x1ec5a1=_0x19a683,_0x43cc4b=this[_0x1ec5a1(0x414)][_0x1ec5a1(0x4b4)][_0x1ec5a1(0x2e8)](this['_compressMutationService']['interceptor'][_0x1ec5a1(0x1ef)]()['COMPRESS_MUTATION_APPLY'])(_0x8dd605['mutations'],null)||_0x8dd605[_0x1ec5a1(0x4de)];return{..._0x8dd605,'mutations':_0x43cc4b};});this['_lockTransition'](),this[_0x19a683(0x289)](this[_0x19a683(0x2fc)][_0x19a683(0x21f)](_0x45e4f9)),this[_0x19a683(0x1df)]();}[_0x3238bf(0x3f5)](){const _0x26a7d5=_0x3238bf;this[_0x26a7d5(0x2aa)](),this[_0x26a7d5(0x289)](this[_0x26a7d5(0x2fc)][_0x26a7d5(0x479)]()),this[_0x26a7d5(0x1df)]();}[_0x3238bf(0x3ee)](_0x3c6080=!0x1){const _0x1662c5=_0x3238bf;this[_0x1662c5(0x2aa)](),this[_0x1662c5(0x289)](this[_0x1662c5(0x2fc)][_0x1662c5(0x38c)]()),this['_unlockTransition']();const _0x12c595=this[_0x1662c5(0x2fc)];_0x3c6080&&_0x12c595 instanceof Fe&&(this[_0x1662c5(0x2aa)](),this[_0x1662c5(0x289)](_0x12c595[_0x1662c5(0x165)]()),this[_0x1662c5(0x1df)]());}async[_0x3238bf(0x48b)](){return new Promise(_0x434c6b=>{const _0x2ac718=_0x466f;this[_0x2ac718(0x2e7)][_0x2ac718(0x18b)][_0x2ac718(0x380)](_0x1cb779(0x1))['subscribe'](async _0x189616=>{const _0x166216=_0x2ac718;_0x434c6b(await this[_0x166216(0x1cf)](_0x189616===ve[_0x166216(0x435)]));});});}[_0x3238bf(0x3a3)](){const _0x59e70f=_0x3238bf,_0x31465f=this[_0x59e70f(0x4e9)];return{'onStateChange':(_0x5e1036,_0x216750)=>{const _0x3c2136=_0x59e70f;if(_0x5e1036!==this['_state'])throw new Error(_0x3c2136(0x1a2)+_0x5e1036[_0x3c2136(0x17b)]+'\x0aAfter:\x20'+_0x216750[_0x3c2136(0x17b)]+_0x3c2136(0x3af)+this[_0x3c2136(0x2fc)][_0x3c2136(0x17b)]);this['_updateState'](_0x216750);},'onSendChangeset':_0x3e7396=>{const _0xe2ed7=_0x59e70f;_0x3e7396[_0xe2ed7(0x147)]||(_0x3e7396['sid']=this['_changesetSessionId'],_0x3e7396[_0xe2ed7(0x4ec)]=++this[_0xe2ed7(0x19a)]);const _0x3ad61f={'eventID':_0x2c5a34['SUBMIT_CHANGESET'],'data':{'unitID':_0x3e7396[_0xe2ed7(0x4e9)],'unitType':this[_0xe2ed7(0x21d)],'changeset':_0x3e7396,'memberID':this[_0xe2ed7(0x2e7)][_0xe2ed7(0x422)]()}};this['session'][_0xe2ed7(0x31d)](_0x3ad61f,this['unitID']);},'onMissingChangesets':({from:_0x2320e9,to:_0xe567fc})=>{const _0x361cdd=_0x59e70f;this[_0x361cdd(0x188)][_0x361cdd(0x18e)]('[CollaborationEntity]',_0x361cdd(0x1e0)+_0x2320e9+_0x361cdd(0x1e9)+_0xe567fc);const _0x119232={'eventID':_0x2c5a34['FETCH_MISSING'],'data':{'unitID':_0x31465f,'unitType':this['_type'],'from':_0x2320e9,'to':_0xe567fc}};this[_0x361cdd(0x2e7)][_0x361cdd(0x31d)](_0x119232,this[_0x361cdd(0x4e9)]);}};}async[_0x3238bf(0x1cf)](_0x21dd95){const _0x3a74e5=_0x3238bf;var _0x54dc45,_0x58c19f;const _0x7e53e2=await this[_0x3a74e5(0x292)][_0x3a74e5(0x313)](this[_0x3a74e5(0x4e9)]),_0x1535ed=(_0x54dc45=_0x7e53e2==null?void 0x0:_0x7e53e2['mutations'])!=null?_0x54dc45:[],_0x1cc8f2=(_0x58c19f=_0x7e53e2==null?void 0x0:_0x7e53e2[_0x3a74e5(0x340)])!=null?_0x58c19f:null,_0x470bc0=!!(_0x1cc8f2!=null&&_0x1cc8f2[_0x3a74e5(0x147)])&&!!(_0x1cc8f2!=null&&_0x1cc8f2['reqId']);this[_0x3a74e5(0x1a7)]=_0x470bc0?_0x1cc8f2[_0x3a74e5(0x147)]:zr(),this[_0x3a74e5(0x19a)]=_0x470bc0?_0x1cc8f2[_0x3a74e5(0x4ec)]:0x0;const _0x4d95ba=this[_0x3a74e5(0x4e9)];try{this[_0x3a74e5(0x3d8)](_0x1cc8f2,_0x1535ed);}catch(_0x8c58a3){this[_0x3a74e5(0x188)][_0x3a74e5(0x241)](_0x8c58a3);}const _0x55165b=this['_createHandler']();if(_0x21dd95){const _0x3d6c1b=Ai(this[_0x3a74e5(0x151)],_0x4d95ba,this[_0x3a74e5(0x21d)],_0x1cc8f2,_0x1535ed,_0x55165b);return _0x3d6c1b instanceof pe?_0x3d6c1b['_schedule']():(_0x3d6c1b instanceof ge||_0x3d6c1b instanceof Te)&&_0x3d6c1b[_0x3a74e5(0x2c3)](),_0x3d6c1b;}return this[_0x3a74e5(0x151)][_0x3a74e5(0x52d)](ye,_0x4d95ba,this[_0x3a74e5(0x21d)],_0x1cc8f2,_0x1535ed,_0x55165b);}[_0x3238bf(0x3d8)](_0x30005b,_0x259932){const _0x34753b=_0x3238bf;var _0x4fec6d,_0x288074;const _0x193c10=this[_0x34753b(0x414)][_0x34753b(0x4b4)][_0x34753b(0x2e8)](this[_0x34753b(0x414)][_0x34753b(0x4b4)]['getInterceptPoints']()[_0x34753b(0x460)]);(_0x4fec6d=_0x193c10((_0x30005b==null?void 0x0:_0x30005b[_0x34753b(0x4de)])||[],null))==null||_0x4fec6d[_0x34753b(0x4b5)](_0x2b6894=>this[_0x34753b(0x525)][_0x34753b(0x2db)](_0x2b6894['id'],_0x2b6894[_0x34753b(0x37c)])),(_0x288074=_0x193c10(_0x259932||[],null))==null||_0x288074['forEach'](_0x28f40f=>this[_0x34753b(0x525)][_0x34753b(0x2db)](_0x28f40f['id'],_0x28f40f['params']));}};gt=Es([H(0x3,_0x4a2654(_0x28b8e2)),H(0x4,_0x4a2654(q)),H(0x5,_0x4a2654(_0x4816dd)),H(0x6,_0x4a2654(_0xc7611d)),H(0x7,_0x4a2654(_0x56b96b)),H(0x8,_0x5d0f53),H(0x9,_0x462ea5),H(0xa,_0x2f8dd1),H(0xb,_0x3cddab),H(0xc,_0x384f19(Rt))],gt);let ss=class extends gt{constructor(_0x8dec90,_0x36812f,_0x2c621a,_0x103d0c,_0x35e801,_0x40082f,_0x3acfa8,_0x21e099,_0x5565df,_0x32fddf,_0x2c5358,_0x32725d,_0x11a466,_0x47c8bf,_0x59518d,_0x433f56,_0x23ec5f,_0x5d52a3){const _0x5df29f=_0x3238bf;super(_0x8dec90,_0x2c621a,_0x36812f,_0x103d0c,_0x35e801,_0x40082f,_0x3acfa8,_0x21e099,_0x47c8bf,_0x59518d,_0x433f56,_0x23ec5f,_0x5d52a3),this[_0x5df29f(0x4e9)]=_0x8dec90,this[_0x5df29f(0x4cf)]=_0x36812f,this[_0x5df29f(0x2f0)]=_0x5565df,this['_docTransformIMECacheService']=_0x32fddf,this['_docTransformStateCacheService']=_0x2c5358,this[_0x5df29f(0x388)]=_0x32725d,this[_0x5df29f(0x500)]=_0x11a466;}[_0x3238bf(0x3a3)](){const _0x15cfa0=_0x3238bf,_0x427a96=super[_0x15cfa0(0x3a3)]();return _0x427a96[_0x15cfa0(0x273)]=_0x2ffb0a=>this[_0x15cfa0(0x195)][_0x15cfa0(0x1f2)](_0x2ffb0a),_0x427a96[_0x15cfa0(0x415)]=_0x423cfa=>this[_0x15cfa0(0x4e1)][_0x15cfa0(0x29a)](_0x423cfa),_0x427a96['onTransformSelections']=_0x373046=>this[_0x15cfa0(0x388)][_0x15cfa0(0x1eb)](_0x373046),_0x427a96[_0x15cfa0(0x4c8)]=_0x4672c5=>this[_0x15cfa0(0x500)][_0x15cfa0(0x361)](_0x4672c5),_0x427a96[_0x15cfa0(0x297)]=_0x7dc289=>this[_0x15cfa0(0x195)][_0x15cfa0(0x235)](_0x7dc289),_0x427a96[_0x15cfa0(0x1d2)]=_0x5c414f=>this[_0x15cfa0(0x4e1)]['transformRemoteChangeset'](_0x5c414f),_0x427a96;}async['_init'](){const _0x3313ca=_0x3238bf,_0x4309ee=await super['_init']();return this[_0x3313ca(0x2f0)][_0x3313ca(0x183)][_0x3313ca(0x380)](_0x4b2adb(this[_0x3313ca(0x4e8)]))['subscribe'](_0x23da8f=>{const _0x37a296=_0x3313ca;if(_0x23da8f==null)return;const {unitId:_0x5bb63c,redoState:_0x2404d8,commandId:_0x1960ce}=_0x23da8f;if(_0x5bb63c!==this[_0x37a296(0x4e9)])return;const _0x4f6b26={'id':_0x1960ce,'type':_0x4d0a82[_0x37a296(0x437)],'params':{'unitId':_0x5bb63c,'actions':_0x2404d8[_0x37a296(0x28c)],'textRanges':null}};this[_0x37a296(0x23e)](_0x4f6b26);}),_0x4309ee;}};ss=Es([H(0x3,_0x4a2654(_0x28b8e2)),H(0x4,_0x4a2654(q)),H(0x5,_0x4a2654(_0x4816dd)),H(0x6,_0x4a2654(_0xc7611d)),H(0x7,_0x4a2654(_0x56b96b)),H(0x8,_0x4a2654(_0x55dde0)),H(0x9,_0x4a2654(ft)),H(0xa,_0x4a2654(mt)),H(0xb,_0x4a2654(pt)),H(0xc,_0x4a2654(Cs)),H(0xd,_0x5d0f53),H(0xe,_0x462ea5),H(0xf,_0x2f8dd1),H(0x10,_0x3cddab),H(0x11,_0x384f19(Rt))],ss);let is=class extends gt{constructor(_0x29525b,_0x347b00,_0x32462d,_0x14df9a,_0x2f0e46,_0x5d8c9c,_0x28b979,_0x3ac315,_0x229046,_0x50b8fd,_0x249b66,_0x2a6817,_0x1f5c2d,_0x46f15d){const _0x464c97=_0x3238bf;super(_0x29525b,_0x32462d,_0x347b00,_0x14df9a,_0x2f0e46,_0x5d8c9c,_0x28b979,_0x3ac315,_0x50b8fd,_0x249b66,_0x2a6817,_0x1f5c2d,_0x46f15d),this['unitID']=_0x29525b,this['type']=_0x347b00,this[_0x464c97(0x1c4)]=_0x229046;}[_0x3238bf(0x3a3)](){const _0x2ab4a4=_0x3238bf,_0x38b3ac=super['_createHandler']();return _0x38b3ac[_0x2ab4a4(0x368)]=_0x1df8e0=>this['_sheetTransformSelectionsService']['transformSelections'](_0x1df8e0),_0x38b3ac;}async[_0x3238bf(0x433)](){const _0x4edd94=_0x3238bf,_0x1e8f04=await super['_init']();return this[_0x4edd94(0x3df)](this[_0x4edd94(0x525)][_0x4edd94(0x446)]((_0x57dd09,_0x2a6a14)=>{const _0x20613e=_0x4edd94;if(_0x57dd09[_0x20613e(0x4cf)]!==_0x4d0a82[_0x20613e(0x437)]||_0x2a6a14!=null&&_0x2a6a14[_0x20613e(0x466)]||_0x2a6a14!=null&&_0x2a6a14[_0x20613e(0x2cd)])return;const _0x4702fc=_0x57dd09[_0x20613e(0x37c)];if((_0x4702fc==null?void 0x0:_0x4702fc['unitId'])!==this['unitID'])return;const _0x3b7692=_0x57dd09,_0xf9119f=this[_0x20613e(0x414)][_0x20613e(0x4b4)][_0x20613e(0x2e8)](this['_compressMutationService']['interceptor'][_0x20613e(0x1ef)]()[_0x20613e(0x14d)])([_0x3b7692],null)||[_0x3b7692];this['_onLocalMutation'](_0xf9119f[0x0]);})),_0x1e8f04;}};is=Es([H(0x3,_0x4a2654(_0x28b8e2)),H(0x4,_0x4a2654(q)),H(0x5,_0x4a2654(_0x4816dd)),H(0x6,_0x4a2654(_0xc7611d)),H(0x7,_0x4a2654(_0x56b96b)),H(0x8,_0x4a2654(vt)),H(0x9,_0x5d0f53),H(0xa,_0x462ea5),H(0xb,_0x2f8dd1),H(0xc,_0x3cddab),H(0xd,_0x384f19(Rt))],is);var Co=Object[_0x3238bf(0x535)],Eo=Object['getOwnPropertyDescriptor'],bo=(_0x340314,_0x1e8756,_0x565786,_0x2c38d5)=>{for(var _0x469565=_0x2c38d5>0x1?void 0x0:_0x2c38d5?Eo(_0x1e8756,_0x565786):_0x1e8756,_0x62364b=_0x340314['length']-0x1,_0x1b64ab;_0x62364b>=0x0;_0x62364b--)(_0x1b64ab=_0x340314[_0x62364b])&&(_0x469565=(_0x2c38d5?_0x1b64ab(_0x1e8756,_0x565786,_0x469565):_0x1b64ab(_0x469565))||_0x469565);return _0x2c38d5&&_0x469565&&Co(_0x1e8756,_0x565786,_0x469565),_0x469565;},Lt=(_0x86193a,_0x64d692)=>(_0x3e970f,_0x3096ac)=>_0x64d692(_0x3e970f,_0x3096ac,_0x86193a);let it=class extends _0x9ae76a{constructor(_0x394600,_0x5667d1,_0x5dd411){const _0xd8ed86=_0x3238bf;super(),g(this,_0xd8ed86(0x42f),new Map()),g(this,_0xd8ed86(0x53b),new _0x302e6e()),(this[_0xd8ed86(0x151)]=_0x394600,this[_0xd8ed86(0x327)]=_0x5667d1,this[_0xd8ed86(0x262)]=_0x5dd411,this['_init']());}[_0x3238bf(0x161)](){const _0x3ebf7b=_0x3238bf;super[_0x3ebf7b(0x161)](),this[_0x3ebf7b(0x42f)][_0x3ebf7b(0x4b5)](_0x2db2d3=>_0x2db2d3[_0x3ebf7b(0x161)]()),this['_entities'][_0x3ebf7b(0x4b1)]();}[_0x3238bf(0x48c)](_0x4f2072){const _0x50f981=_0x3238bf;var _0x18908d;return(_0x18908d=this[_0x50f981(0x42f)][_0x50f981(0x3a5)](_0x4f2072))!=null?_0x18908d:null;}['getCollabEntity$'](_0x3f74a){const _0x2d6db7=_0x3238bf,_0x107480=this[_0x2d6db7(0x48c)](_0x3f74a);return _0x107480?_0x165a23(_0x107480):this[_0x2d6db7(0x53b)][_0x2d6db7(0x380)](_0x2fd833(_0x43d779=>_0x43d779[_0x2d6db7(0x4e9)]===_0x3f74a));}[_0x3238bf(0x433)](){const _0x289cd6=_0x3238bf;this[_0x289cd6(0x262)][_0x289cd6(0x3b4)](_0x5997c4[_0x289cd6(0x49a)])[_0x289cd6(0x380)](_0x4b2adb(this['dispose$']),_0xa5f912(0x10))[_0x289cd6(0x43b)](async _0x46011e=>{const _0x26e31b=_0x289cd6,_0x4d6d6f=_0x46011e[_0x26e31b(0x3fd)](),_0x5d4308=await this[_0x26e31b(0x3e5)](_0x4d6d6f,ce[_0x26e31b(0x49a)]);this[_0x26e31b(0x42f)][_0x26e31b(0x13d)](_0x4d6d6f,_0x5d4308);}),this[_0x289cd6(0x262)][_0x289cd6(0x3b4)](_0x5997c4['UNIVER_DOC'])[_0x289cd6(0x380)](_0x4b2adb(this[_0x289cd6(0x4e8)]),_0xa5f912(0x10))['pipe'](_0x2fd833(_0x4697d8=>!_0x4697d8[_0x289cd6(0x3fd)]()[_0x289cd6(0x490)]('__')))['subscribe'](async _0x2c6ed0=>{const _0xd63edd=_0x289cd6,_0x3edc78=_0x2c6ed0[_0xd63edd(0x3fd)](),_0x350d0a=await this[_0xd63edd(0x3e5)](_0x3edc78,ce[_0xd63edd(0x32f)]);this['_entities'][_0xd63edd(0x13d)](_0x3edc78,_0x350d0a);}),_0xf2f2cb(this['_univerInstanceService'][_0x289cd6(0x3b8)](_0x5997c4[_0x289cd6(0x49a)]),this[_0x289cd6(0x262)]['getTypeOfUnitDisposed$'](_0x5997c4[_0x289cd6(0x32f)]))[_0x289cd6(0x380)](_0x4b2adb(this[_0x289cd6(0x4e8)]))['subscribe'](_0x25c9e3=>{const _0x1b3994=_0x289cd6,_0x1bbe13=_0x25c9e3[_0x1b3994(0x3fd)](),_0x70515a=this[_0x1b3994(0x42f)][_0x1b3994(0x3a5)](_0x1bbe13);_0x70515a&&(_0x70515a[_0x1b3994(0x161)](),this[_0x1b3994(0x42f)][_0x1b3994(0x45a)](_0x1bbe13));});}async[_0x3238bf(0x3e5)](_0x590ed6,_0x2355f8){const _0x51fd4d=_0x3238bf,_0x2e565f=await this[_0x51fd4d(0x327)][_0x51fd4d(0x2fe)](_0x590ed6),_0x46f977=this[_0x51fd4d(0x151)][_0x51fd4d(0x52d)](this[_0x51fd4d(0x2fb)](_0x2355f8),_0x590ed6,_0x2355f8,_0x2e565f);return await _0x46f977['init'](),this[_0x51fd4d(0x53b)]['next'](_0x46f977),_0x46f977;}['_getCtorByUniverType'](_0xe077a8){const _0x59b17c=_0x3238bf;switch(_0xe077a8){case ce[_0x59b17c(0x32f)]:return ss;case ce[_0x59b17c(0x49a)]:return is;default:throw new Error(_0x59b17c(0x335)+_0xe077a8);}}};it=bo([Lt(0x0,_0x4a2654(_0x28b8e2)),Lt(0x1,_0x4a2654(Ae)),Lt(0x2,_0x21deaa)],it);const Gs=[_0x3238bf(0x18c),_0x3238bf(0x3ea),'verdancy600',_0x3238bf(0x1ae),'blue400','gold400'];class bs extends _0x1bec45{constructor(){const _0x382968=_0x3238bf;super(...arguments),g(this,_0x382968(0x532),new Map()),g(this,_0x382968(0x518),0x0);}['assignAColorForMemberID'](_0x6705a6){const _0x1d7648=_0x3238bf;if(this[_0x1d7648(0x532)][_0x1d7648(0x220)](_0x6705a6))return this['_assignedColors'][_0x1d7648(0x3a5)](_0x6705a6);const _0x1b12e1=Gs[this[_0x1d7648(0x518)]];return this[_0x1d7648(0x518)]=(this[_0x1d7648(0x518)]+0x1)%Gs[_0x1d7648(0x325)],this['_assignedColors'][_0x1d7648(0x13d)](_0x6705a6,_0x1b12e1),_0x1b12e1;}}var To=Object[_0x3238bf(0x535)],Ro=Object['getOwnPropertyDescriptor'],yo=(_0x4be2a4,_0x4cfbca,_0x53f66f,_0x18c0c4)=>{for(var _0x555bde=_0x18c0c4>0x1?void 0x0:_0x18c0c4?Ro(_0x4cfbca,_0x53f66f):_0x4cfbca,_0x52a3d9=_0x4be2a4['length']-0x1,_0x3b2c2c;_0x52a3d9>=0x0;_0x52a3d9--)(_0x3b2c2c=_0x4be2a4[_0x52a3d9])&&(_0x555bde=(_0x18c0c4?_0x3b2c2c(_0x4cfbca,_0x53f66f,_0x555bde):_0x3b2c2c(_0x555bde))||_0x555bde);return _0x18c0c4&&_0x555bde&&To(_0x4cfbca,_0x53f66f,_0x555bde),_0x555bde;},Oe=(_0x2f9762,_0x3eee5f)=>(_0x4f4ec7,_0x5408b5)=>_0x3eee5f(_0x4f4ec7,_0x5408b5,_0x2f9762);const Oo=0x12c,wo=0x64;let ns=class extends _0x9ae76a{constructor(_0x1ac298,_0x595722,_0x130765,_0x47c641,_0x556908,_0x48737f,_0x2a2b4d,_0x21ea7f,_0x303eb8){const _0x458552=_0x3238bf;super(),g(this,_0x458552(0x51e),!0x1),g(this,_0x458552(0x433),!0x1),g(this,_0x458552(0x4f3),new _0x353bc7(new Map())),g(this,_0x458552(0x3cb),this['_cursorInfo$'][_0x458552(0x384)]()),g(this,_0x458552(0x381),new _0x353bc7([])),g(this,'roomMembers$',this[_0x458552(0x381)]['pipe'](_0x5ec3df(Oo))),g(this,_0x458552(0x1b2),_0x5d913f(_0x46ce36=>{const _0xd281e3=_0x458552,_0x227988={'eventID':_0x2c5a34['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':Pi(_0x46ce36)}};this[_0xd281e3(0x3b6)]['send'](_0x227988,this[_0xd281e3(0x4e9)]);},wo)),(this[_0x458552(0x4e9)]=_0x1ac298,this[_0x458552(0x3b6)]=_0x595722,this[_0x458552(0x151)]=_0x130765,this[_0x458552(0x375)]=_0x47c641,this[_0x458552(0x1e3)]=_0x556908,this['_syncEditingCollabCursorService']=_0x48737f,this[_0x458552(0x41a)]=_0x2a2b4d,this[_0x458552(0x262)]=_0x21ea7f,this[_0x458552(0x525)]=_0x303eb8);}get[_0x3238bf(0x167)](){const _0x5cd61f=_0x3238bf;return this['_cursorInfo$'][_0x5cd61f(0x263)]();}get[_0x3238bf(0x558)](){const _0x568b80=_0x3238bf;return this['_roomMembers$'][_0x568b80(0x263)]();}[_0x3238bf(0x161)](){const _0x91398b=_0x3238bf;super[_0x91398b(0x161)](),this[_0x91398b(0x4f3)][_0x91398b(0x34c)](new Map()),this['_cursorInfo$']['complete'](),this[_0x91398b(0x381)][_0x91398b(0x34c)]([]),this[_0x91398b(0x381)][_0x91398b(0x44a)]();}[_0x3238bf(0x264)](){const _0x37f8a8=_0x3238bf;this[_0x37f8a8(0x433)]||(this[_0x37f8a8(0x433)]=!0x0,this[_0x37f8a8(0x3b6)][_0x37f8a8(0x18b)]['pipe'](_0x4b2adb(this[_0x37f8a8(0x4e8)]))['subscribe'](_0x1a70ca=>{const _0x3cfa42=_0x37f8a8;_0x1a70ca===ve[_0x3cfa42(0x435)]?this['_toggleOnline']():this[_0x3cfa42(0x3f5)]();}),this[_0x37f8a8(0x3b6)]['event$'][_0x37f8a8(0x380)](_0x4b2adb(this['dispose$']))[_0x37f8a8(0x43b)](_0x1accd5=>{const _0x3e667c=_0x37f8a8,_0x56ec18=_0x1accd5['eventID'];_0x56ec18===_0x2c5a34['UPDATE_CURSOR']&&this[_0x3e667c(0x394)](_0x1accd5),_0x56ec18===_0x2c5a34[_0x3e667c(0x24d)]&&this[_0x3e667c(0x1db)](_0x1accd5);}),this[_0x37f8a8(0x3df)](this[_0x37f8a8(0x525)][_0x37f8a8(0x446)](_0x104e58=>{const _0x280c10=_0x37f8a8,_0x16aa3c=_0x104e58[_0x280c10(0x37c)];_0x16aa3c!=null&&this[_0x280c10(0x51e)]&&_0x104e58['id']===_0x30c83c['id']&&_0x16aa3c['unitId']===this[_0x280c10(0x4e9)]&&_0x16aa3c[_0x280c10(0x278)]===!0x1&&_0x16aa3c[_0x280c10(0x4f4)][_0x280c10(0x325)]>0x0&&this['_updateLocalCursor'](_0x16aa3c[_0x280c10(0x4f4)]);})),this['_syncEditingCollabCursorService'][_0x37f8a8(0x1ad)]['pipe'](_0x4b2adb(this['dispose$']))[_0x37f8a8(0x43b)](_0x5d8b46=>{const _0x2f0243=_0x37f8a8;if((_0x5d8b46==null?void 0x0:_0x5d8b46[_0x2f0243(0x4e9)])!==this['unitID'])return;const _0x3e2c80={'eventID':_0x2c5a34['UPDATE_CURSOR'],'data':_0x5d8b46};this[_0x2f0243(0x394)](_0x3e2c80);}),this[_0x37f8a8(0x3df)](this[_0x37f8a8(0x525)]['onCommandExecuted'](_0x32f004=>{const _0x25172a=_0x37f8a8;if(_0x32f004[_0x25172a(0x37c)]==null)return;const _0x3fecd0=_0x32f004[_0x25172a(0x37c)];if(_0x32f004['id']!==_0x2554d0['id']||_0x3fecd0[_0x25172a(0x1bf)]!==this['unitID'])return;const _0x142c86={'id':'doc.mutation.rich-text-editing','params':_0x3fecd0},_0x4cdd0b=this[_0x25172a(0x167)];for(const [_0x585153,_0x1e9e4c]of _0x4cdd0b){const _0x9966d9={'id':_0x25172a(0x3b3),'params':{'unitId':this[_0x25172a(0x4e9)],'actions':null,'textRanges':_0x1e9e4c[_0x25172a(0x4f4)]}},_0x4e1640=this[_0x25172a(0x41a)][_0x25172a(0x1dc)](_0x142c86,_0x9966d9,!0x1);if(_0x2e9e95(_0x4e1640))throw _0x4e1640[_0x25172a(0x241)];_0x4cdd0b['set'](_0x585153,{..._0x1e9e4c,'ranges':_0x4e1640[_0x25172a(0x471)][_0x25172a(0x37c)][_0x25172a(0x30a)]});}queueMicrotask(()=>{const _0x13d23f=_0x25172a;this[_0x13d23f(0x4f3)]['next'](_0x4cdd0b);});})));}[_0x3238bf(0x394)](_0x12e1d2){const _0x243f55=_0x3238bf;var _0x11720c,_0x1738a7;const {memberID:_0x33f9f3,selection:_0x191142}=_0x12e1d2[_0x243f55(0x209)],_0x2e2eec=ho(_0x191142),_0x71d30c=(_0x1738a7=(_0x11720c=this['_memberService'][_0x243f55(0x2e4)](this[_0x243f55(0x4e9)],_0x33f9f3))==null?void 0x0:_0x11720c[_0x243f55(0x15e)])!=null?_0x1738a7:_0x243f55(0x463),_0x2067c2={'color':this[_0x243f55(0x375)][_0x243f55(0x2d6)](_0x33f9f3),'name':_0x71d30c,'ranges':_0x2e2eec},_0x182e65=this[_0x243f55(0x167)];_0x182e65[_0x243f55(0x13d)](_0x33f9f3,_0x2067c2),this['_cursorInfo$'][_0x243f55(0x34c)](_0x182e65);}[_0x3238bf(0x1db)](_0x1984de){const _0x21fb16=_0x3238bf,{memberID:_0x4a5427}=_0x1984de[_0x21fb16(0x209)],_0x25aa94=this[_0x21fb16(0x167)];_0x25aa94[_0x21fb16(0x45a)](_0x4a5427),this['_cursorInfo$'][_0x21fb16(0x34c)](_0x25aa94);}['_toggleOnline'](){const _0x1a99f5=_0x3238bf;var _0x34ce2b;if(this['_online']=!0x0,((_0x34ce2b=this[_0x1a99f5(0x262)][_0x1a99f5(0x48e)]())==null?void 0x0:_0x34ce2b[_0x1a99f5(0x3fd)]())!==this[_0x1a99f5(0x4e9)])return;const _0x453bfe=this[_0x1a99f5(0x151)][_0x1a99f5(0x3a5)](_0x155680)[_0x1a99f5(0x1ff)]();Array['isArray'](_0x453bfe)&&_0x453bfe[_0x1a99f5(0x325)]>0x0&&this[_0x1a99f5(0x1b2)](_0x453bfe);}[_0x3238bf(0x3f5)](){this['_online']=!0x1;}};ns=yo([Oe(0x2,_0x4a2654(_0x28b8e2)),Oe(0x3,_0x4a2654(bs)),Oe(0x4,_0x4a2654(Ne)),Oe(0x5,_0x4a2654(Cs)),Oe(0x6,_0x945511),Oe(0x7,_0x21deaa),Oe(0x8,_0x462ea5)],ns);var Do=Object[_0x3238bf(0x535)],Po=Object[_0x3238bf(0x2df)],Uo=(_0x46dc06,_0x25b2fe,_0x218e92,_0x133efd)=>{for(var _0xf2f05b=_0x133efd>0x1?void 0x0:_0x133efd?Po(_0x25b2fe,_0x218e92):_0x25b2fe,_0x2b0956=_0x46dc06['length']-0x1,_0x2a1204;_0x2b0956>=0x0;_0x2b0956--)(_0x2a1204=_0x46dc06[_0x2b0956])&&(_0xf2f05b=(_0x133efd?_0x2a1204(_0x25b2fe,_0x218e92,_0xf2f05b):_0x2a1204(_0xf2f05b))||_0xf2f05b);return _0x133efd&&_0xf2f05b&&Do(_0x25b2fe,_0x218e92,_0xf2f05b),_0xf2f05b;},Be=(_0x1ad49b,_0x202432)=>(_0x32dc92,_0x3a94a1)=>_0x202432(_0x32dc92,_0x3a94a1,_0x1ad49b);const No=0x12c,Ao=0x64,Mo=()=>{let _0xe4901a=[],_0x200acc=!0x1;return _0x5d9433=>{const _0x1d03a3=_0x466f;_0xe4901a[_0x1d03a3(0x419)](_0x5d9433),_0x200acc||(_0x200acc=!0x0,setTimeout(()=>{_0xe4901a['forEach'](_0x18d520=>_0x18d520()),_0xe4901a=[],_0x200acc=!0x1;}));};};let rs=class extends _0x9ae76a{constructor(_0x452f28,_0x9a1c87,_0x520598,_0x11c6a4,_0x1ae785,_0x4cf3ea,_0x222532,_0x140e56){const _0x21736b=_0x3238bf;super(),g(this,'_online',!0x1),g(this,'_init',!0x1),g(this,_0x21736b(0x4f3),new _0x353bc7(new Map())),g(this,_0x21736b(0x3cb),this[_0x21736b(0x4f3)][_0x21736b(0x384)]()),g(this,'_roomMembers$',new _0x353bc7([])),g(this,_0x21736b(0x1bd),this[_0x21736b(0x381)]['pipe'](_0x5ec3df(No))),g(this,_0x21736b(0x1b2),_0x5d913f((_0x59eb57,_0x25494d)=>{const _0x2bdac1=_0x21736b,_0xee38df={'eventID':_0x2c5a34[_0x2bdac1(0x42c)],'data':{'unitID':this[_0x2bdac1(0x4e9)],'memberID':this['_session'][_0x2bdac1(0x422)](),'selection':_0x2e0d00(_0x59eb57,_0x25494d[_0x2bdac1(0x172)])}};this[_0x2bdac1(0x3b6)][_0x2bdac1(0x31d)](_0xee38df,this['unitID']);},Ao)),(this[_0x21736b(0x4e9)]=_0x452f28,this[_0x21736b(0x3b6)]=_0x9a1c87,this['_injector']=_0x520598,this[_0x21736b(0x375)]=_0x11c6a4,this[_0x21736b(0x1e3)]=_0x1ae785,this[_0x21736b(0x262)]=_0x4cf3ea,this[_0x21736b(0x525)]=_0x222532,this[_0x21736b(0x2ea)]=_0x140e56);}get[_0x3238bf(0x167)](){return this['_cursorInfo$']['getValue']();}get[_0x3238bf(0x558)](){const _0x16c5d2=_0x3238bf;return this[_0x16c5d2(0x381)]['getValue']();}[_0x3238bf(0x161)](){const _0x42e9f6=_0x3238bf;super[_0x42e9f6(0x161)](),this['_cursorInfo$'][_0x42e9f6(0x34c)](new Map()),this[_0x42e9f6(0x4f3)][_0x42e9f6(0x44a)](),this[_0x42e9f6(0x381)][_0x42e9f6(0x34c)]([]),this[_0x42e9f6(0x381)][_0x42e9f6(0x44a)]();}['init'](){const _0x131d69=_0x3238bf;this[_0x131d69(0x433)]||(this[_0x131d69(0x433)]=!0x0,this[_0x131d69(0x3b6)][_0x131d69(0x18b)]['pipe'](_0x4b2adb(this['dispose$']))['subscribe'](_0x129051=>{const _0x2c98b2=_0x131d69;_0x129051===ve[_0x2c98b2(0x435)]?this['_toggleOnline']():this[_0x2c98b2(0x3f5)]();}),this[_0x131d69(0x3b6)]['event$'][_0x131d69(0x380)](_0x4b2adb(this[_0x131d69(0x4e8)]))[_0x131d69(0x43b)](_0x214107=>{const _0x216f16=_0x131d69,_0x48ec94=_0x214107[_0x216f16(0x448)];_0x48ec94===_0x2c5a34[_0x216f16(0x42c)]&&this['_onCursorUpdate'](_0x214107),_0x48ec94===_0x2c5a34[_0x216f16(0x24d)]&&this[_0x216f16(0x1db)](_0x214107);}),this[_0x131d69(0x20f)](),this[_0x131d69(0x3df)](this['_commandService']['onCommandExecuted'](_0x4f75e6=>{const _0x26407f=_0x131d69;if(this[_0x26407f(0x51e)]&&_0x4f75e6['id']===_0xb384b4['id']&&_0x4f75e6[_0x26407f(0x37c)][_0x26407f(0x1bf)]===this[_0x26407f(0x4e9)]){const _0x4f5312=_0x4f75e6[_0x26407f(0x37c)];this[_0x26407f(0x1b2)](_0x4f5312[_0x26407f(0x336)],_0x4f5312[_0x26407f(0x17a)][0x0]);}})));}[_0x3238bf(0x394)](_0x425d7d){const _0x27044e=_0x3238bf;var _0x14f18c,_0x4399f4;const {memberID:_0x11e959,selection:_0x4e367f}=_0x425d7d['data'],{sheetName:_0x581df6,range:_0x1fa32d}=_0x2c7c2b(_0x4e367f),_0x5223da={'name':(_0x4399f4=(_0x14f18c=this['_memberService']['getMember'](this['unitID'],_0x11e959))==null?void 0x0:_0x14f18c[_0x27044e(0x15e)])!=null?_0x4399f4:_0x27044e(0x463),'range':this[_0x27044e(0x3ef)](_0x581df6,_0x1fa32d),'sheetID':_0x581df6,'color':this[_0x27044e(0x375)][_0x27044e(0x2d6)](_0x11e959),'selection':_0x4e367f},_0x1be7a0=this[_0x27044e(0x167)];_0x1be7a0[_0x27044e(0x13d)](_0x11e959,_0x5223da),this['_cursorInfo$']['next'](_0x1be7a0);}[_0x3238bf(0x1db)](_0x512c16){const _0xdca9af=_0x3238bf,{memberID:_0x29447f}=_0x512c16[_0xdca9af(0x209)],_0x3f49a1=this[_0xdca9af(0x167)];_0x3f49a1[_0xdca9af(0x45a)](_0x29447f),this[_0xdca9af(0x4f3)]['next'](_0x3f49a1);}[_0x3238bf(0x3ef)](_0x55a6c7,_0x534752){const _0x29bb68=_0x3238bf;var _0x15960d,_0x1c1eb9;const _0x487fd3=(_0x1c1eb9=(_0x15960d=this[_0x29bb68(0x262)][_0x29bb68(0x26c)](this['unitID']))==null?void 0x0:_0x15960d[_0x29bb68(0x50b)](_0x55a6c7))==null?void 0x0:_0x1c1eb9['getMergeData']();return(_0x487fd3==null?void 0x0:_0x487fd3['find'](_0x3f43ce=>_0x185edd['contains'](_0x3f43ce,_0x534752)))||_0x534752;}[_0x3238bf(0x20f)](){const _0x51049d=_0x3238bf,_0x115269=new _0x2bf957(),_0x4928f3=Mo(),_0x581348=()=>{const _0x371e09=_0x466f;_0x115269[_0x371e09(0x161)]();const _0x3dbbe6=(_0x2fad90,_0x426daa,_0x597d97,_0x36e5a9)=>{const _0x3d25a8=_0x371e09;let _0x5639c6=[];switch(_0x2fad90['id']){case _0xe2cfb6[_0x3d25a8(0x24a)]:{_0x5639c6=_0x1e1209(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x307)]:{_0x5639c6=_0x17c9e0(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x2a5)]:{_0x5639c6=_0x41a0bd(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x22a)]:{_0x5639c6=_0x9ec55f(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x507)]:{_0x5639c6=_0x3b8c8b(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x397)]:{_0x5639c6=_0x4a534d(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x51d)]:{_0x5639c6=_0x19de67(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x53a)]:{_0x5639c6=_0x3af346(_0x2fad90,_0x36e5a9);break;}case _0xe2cfb6[_0x3d25a8(0x140)]:{_0x5639c6=_0x463d30(_0x2fad90,_0x36e5a9);break;}}const _0x20f59e=_0x267af5(_0x5639c6,_0x36e5a9),_0x366564=this[_0x3d25a8(0x167)]['get'](_0x426daa);if(_0x366564&&_0x20f59e){const _0x4b0800={..._0x366564,'range':_0x20f59e};this[_0x3d25a8(0x167)][_0x3d25a8(0x13d)](_0x426daa,_0x4b0800),_0x4928f3(()=>{const _0x224613=_0x3d25a8,_0x2834d9=this[_0x224613(0x2ea)]['registerRefRange'](_0x20f59e,_0x2ff4f2=>(_0x2834d9[_0x224613(0x161)](),_0x3dbbe6(_0x2ff4f2,_0x426daa,_0x597d97,_0x20f59e)));_0x115269['add'](_0x2834d9);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x371e09(0x4b5)]((_0x118c7d,_0xac9f20)=>{const _0x318ca1=_0x371e09,{range:_0x25e352,sheetID:_0x51a745}=_0x118c7d,_0x14ce00=this[_0x318ca1(0x2ea)][_0x318ca1(0x3f1)](_0x25e352,_0x2a874c=>(_0x14ce00['dispose'](),_0x3dbbe6(_0x2a874c,_0xac9f20,_0x51a745,_0x25e352)));_0x115269[_0x318ca1(0x28d)](_0x14ce00);});};this[_0x51049d(0x3df)](_0x164be7(this[_0x51049d(0x4f3)][_0x51049d(0x43b)](()=>{_0x581348();})));}['_toggleOnline'](){const _0x4f5807=_0x3238bf;var _0x737176,_0x4fab81;if(this['_online']=!0x0,((_0x737176=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x737176[_0x4f5807(0x3fd)]())!==this[_0x4f5807(0x4e9)])return;const _0x233ea1=(_0x4fab81=this[_0x4f5807(0x151)]['get'](_0x42bfc2)[_0x4f5807(0x24f)]())==null?void 0x0:_0x4fab81[0x0],_0x2fff2e=this[_0x4f5807(0x262)][_0x4f5807(0x3be)](_0x5997c4[_0x4f5807(0x49a)])['getActiveSheet']();_0x233ea1&&_0x2fff2e&&this['_updateLocalCursor'](_0x2fff2e['getSheetId'](),_0x233ea1);}[_0x3238bf(0x3f5)](){const _0x45c8d9=_0x3238bf;this[_0x45c8d9(0x51e)]=!0x1;}};rs=Uo([Be(0x2,_0x4a2654(_0x28b8e2)),Be(0x3,_0x4a2654(bs)),Be(0x4,_0x4a2654(Ne)),Be(0x5,_0x21deaa),Be(0x6,_0x462ea5),Be(0x7,_0x4a2654(_0x60b03d))],rs);var xo=Object[_0x3238bf(0x535)],Lo=Object['getOwnPropertyDescriptor'],$o=(_0x2fe694,_0x146559,_0x3c6c6e,_0x5e90c0)=>{for(var _0x3e6e2d=_0x5e90c0>0x1?void 0x0:_0x5e90c0?Lo(_0x146559,_0x3c6c6e):_0x146559,_0x4d949e=_0x2fe694['length']-0x1,_0x27f85e;_0x4d949e>=0x0;_0x4d949e--)(_0x27f85e=_0x2fe694[_0x4d949e])&&(_0x3e6e2d=(_0x5e90c0?_0x27f85e(_0x146559,_0x3c6c6e,_0x3e6e2d):_0x27f85e(_0x3e6e2d))||_0x3e6e2d);return _0x5e90c0&&_0x3e6e2d&&xo(_0x146559,_0x3c6c6e,_0x3e6e2d),_0x3e6e2d;},$t=(_0x1a702d,_0x4bf1c5)=>(_0x47df38,_0x2953c8)=>_0x4bf1c5(_0x47df38,_0x2953c8,_0x1a702d);let Ve=class extends _0x9ae76a{constructor(_0x453ede,_0x3104df,_0x39777e){const _0xc2476d=_0x3238bf;super(),g(this,_0xc2476d(0x42f),new Map()),g(this,'_entityInit$',new _0x302e6e()),(this[_0xc2476d(0x262)]=_0x453ede,this[_0xc2476d(0x151)]=_0x3104df,this['_collabSessionService']=_0x39777e,this[_0xc2476d(0x433)]());}[_0x3238bf(0x161)](){const _0x3106c3=_0x3238bf;super[_0x3106c3(0x161)](),this[_0x3106c3(0x53b)][_0x3106c3(0x44a)](),this[_0x3106c3(0x42f)][_0x3106c3(0x4b5)](_0x141ab2=>_0x141ab2[_0x3106c3(0x161)]());}['getCollabCursors$'](_0xd52717){const _0x17ad09=_0x3238bf;return this[_0x17ad09(0x42f)][_0x17ad09(0x220)](_0xd52717)?this[_0x17ad09(0x42f)][_0x17ad09(0x3a5)](_0xd52717)[_0x17ad09(0x3cb)]:this[_0x17ad09(0x53b)]['pipe'](_0x2c9c0f(_0x1420e3=>_0x1420e3[_0x17ad09(0x4e9)]===_0xd52717),_0xb18e1b(_0x24a96b=>_0x24a96b[_0x17ad09(0x3cb)]));}[_0x3238bf(0x433)](){const _0x4d1783=_0x3238bf;this[_0x4d1783(0x262)][_0x4d1783(0x3b4)](_0x5997c4['UNIVER_SHEET'])[_0x4d1783(0x380)](_0x4b2adb(this[_0x4d1783(0x4e8)]))[_0x4d1783(0x43b)](async _0x58a9f7=>{const _0x2237ff=_0x4d1783,_0x1b9463=_0x58a9f7[_0x2237ff(0x3fd)](),_0x5345d5=await this[_0x2237ff(0x1b6)](_0x1b9463);this[_0x2237ff(0x53b)]['next'](_0x5345d5),this['_entities'][_0x2237ff(0x13d)](_0x1b9463,_0x5345d5);}),this[_0x4d1783(0x262)]['getTypeOfUnitAdded$'](_0x5997c4['UNIVER_DOC'])[_0x4d1783(0x380)](_0x4b2adb(this['dispose$']))[_0x4d1783(0x380)](_0x2c9c0f(_0x2ab9e4=>!_0x2ab9e4[_0x4d1783(0x3fd)]()[_0x4d1783(0x490)]('__')))[_0x4d1783(0x43b)](async _0x5014da=>{const _0x270643=_0x4d1783,_0x3d9a88=_0x5014da[_0x270643(0x3fd)](),_0x374cde=await this[_0x270643(0x222)](_0x3d9a88);this[_0x270643(0x53b)]['next'](_0x374cde),this[_0x270643(0x42f)][_0x270643(0x13d)](_0x3d9a88,_0x374cde);}),_0xf2f2cb(this[_0x4d1783(0x262)][_0x4d1783(0x3b8)](_0x5997c4[_0x4d1783(0x32f)]),this[_0x4d1783(0x262)][_0x4d1783(0x3b8)](_0x5997c4[_0x4d1783(0x49a)]))[_0x4d1783(0x380)](_0x4b2adb(this[_0x4d1783(0x4e8)]))['subscribe'](_0x79aadc=>{const _0x1e6dc1=_0x4d1783,_0x265821=_0x79aadc[_0x1e6dc1(0x3fd)](),_0x4621a5=this[_0x1e6dc1(0x42f)][_0x1e6dc1(0x3a5)](_0x265821);_0x4621a5&&(_0x4621a5[_0x1e6dc1(0x161)](),this[_0x1e6dc1(0x42f)][_0x1e6dc1(0x45a)](_0x265821));});}async[_0x3238bf(0x1b6)](_0x19206c){const _0x292009=_0x3238bf,_0x2db156=await this['_collabSessionService']['requireSession'](_0x19206c),_0x55a1cc=this[_0x292009(0x151)][_0x292009(0x52d)](rs,_0x19206c,_0x2db156);return _0x55a1cc['init'](),_0x55a1cc;}async['_startDocCollabCursor'](_0x1561e0){const _0x4db4db=_0x3238bf,_0x218269=await this['_collabSessionService']['requireSession'](_0x1561e0),_0x574ee9=this['_injector'][_0x4db4db(0x52d)](ns,_0x1561e0,_0x218269);return _0x574ee9[_0x4db4db(0x264)](),_0x574ee9;}};Ve=$o([$t(0x0,_0x21deaa),$t(0x1,_0x4a2654(_0x28b8e2)),$t(0x2,_0x4a2654(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,Ho=0x5;function jo(_0x177e2e,_0x557f2b){const _0x20bbfa=_0x3238bf;let {radius:_0xc54680,width:_0x55a1c5,height:_0x1ce4cb}=_0x557f2b;_0xc54680=_0xc54680!=null?_0xc54680:0x0,_0x55a1c5=_0x55a1c5!=null?_0x55a1c5:0x1e,_0x1ce4cb=_0x1ce4cb!=null?_0x1ce4cb:0x1e;let _0x183eb9=0x0,_0x34345b=0x0,_0x39995c=0x0;_0x183eb9=_0x34345b=_0x39995c=Math[_0x20bbfa(0x282)](_0xc54680,_0x55a1c5/0x2,_0x1ce4cb/0x2),_0x177e2e[_0x20bbfa(0x412)](),_0x177e2e['moveTo'](_0x183eb9,0x0),_0x177e2e[_0x20bbfa(0x34b)](_0x55a1c5-_0x34345b,0x0),_0x177e2e[_0x20bbfa(0x166)](_0x55a1c5-_0x34345b,_0x34345b,_0x34345b,Math['PI']*0x3/0x2,0x0,!0x1),_0x177e2e[_0x20bbfa(0x34b)](_0x55a1c5,_0x1ce4cb-_0x39995c),_0x177e2e[_0x20bbfa(0x166)](_0x55a1c5-_0x39995c,_0x1ce4cb-_0x39995c,_0x39995c,0x0,Math['PI']/0x2,!0x1),_0x177e2e[_0x20bbfa(0x34b)](0x0,_0x1ce4cb),_0x177e2e[_0x20bbfa(0x34b)](0x0,_0x183eb9),_0x177e2e[_0x20bbfa(0x166)](_0x183eb9,_0x183eb9,_0x183eb9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x177e2e[_0x20bbfa(0x30f)](),_0x557f2b[_0x20bbfa(0x169)]&&(_0x177e2e[_0x20bbfa(0x459)](),_0x177e2e[_0x20bbfa(0x35e)]=_0x557f2b['fill'],_0x557f2b['fillRule']===_0x20bbfa(0x3ae)?_0x177e2e[_0x20bbfa(0x169)](_0x20bbfa(0x3ae)):_0x177e2e[_0x20bbfa(0x169)](),_0x177e2e['restore']());}class yt extends _0x3f7361{constructor(_0x2cd070,_0x47a639){const _0x4f9b56=_0x3238bf;super(_0x2cd070,_0x47a639),g(this,_0x4f9b56(0x15f)),g(this,_0x4f9b56(0x45e)),(this['color']=_0x47a639==null?void 0x0:_0x47a639[_0x4f9b56(0x15f)],this[_0x4f9b56(0x45e)]=_0x47a639==null?void 0x0:_0x47a639[_0x4f9b56(0x45e)]);}static[_0x3238bf(0x281)](_0x1a9749,_0x4b0e18){const _0x44f8a4=_0x3238bf,{text:_0x26aad7,color:_0x20c557}=_0x4b0e18;_0x1a9749[_0x44f8a4(0x459)](),_0x1a9749[_0x44f8a4(0x265)]=_0x44f8a4(0x3f8);const _0x55a889=_0x1a9749['measureText'](_0x26aad7)[_0x44f8a4(0x442)],_0x334b60=Math['min'](_0x55a889+0x2*Ht,Ys);jo(_0x1a9749,{'height':nt,'radius':0x4,'width':_0x334b60,'fill':_0x20c557,'evented':!0x1}),_0x1a9749[_0x44f8a4(0x35e)]=_0x44f8a4(0x495);const _0x27af8e=Ht,_0x44a1f7=nt-Ho,_0x5a7244=Ys-0x2*Ht;if(_0x55a889>_0x5a7244){let _0x4976f2='',_0x16e0b6=0x0;for(const _0x4540b3 of _0x26aad7){const _0x3535ef=_0x1a9749['measureText'](_0x4540b3)[_0x44f8a4(0x442)];if(_0x16e0b6+_0x3535ef<=_0x5a7244-_0x1a9749[_0x44f8a4(0x39c)](_0x44f8a4(0x275))['width'])_0x4976f2+=_0x4540b3,_0x16e0b6+=_0x3535ef;else{_0x4976f2+=_0x44f8a4(0x275);break;}}_0x1a9749[_0x44f8a4(0x3e2)](_0x4976f2,_0x27af8e,_0x44a1f7);}else _0x1a9749[_0x44f8a4(0x3e2)](_0x26aad7,_0x27af8e,_0x44a1f7);_0x1a9749[_0x44f8a4(0x1bb)]();}[_0x3238bf(0x2af)](_0x4fcb58){const _0x422eb0=_0x3238bf;yt[_0x422eb0(0x281)](_0x4fcb58,this);}}const jt=_0x3238bf(0x393),Bo=_0x3238bf(0x1af),ko=_0x3238bf(0x468),Je=0x6,Wo=1.5,Bt=0x4,Fo=1.5,Vo=_0x3238bf(0x28f);class Ks{constructor(_0x4ed9ac,_0x2317d0,_0x4be68f,_0x5118fc){const _0x514c5f=_0x3238bf;g(this,_0x514c5f(0x3a0),[]),g(this,_0x514c5f(0x3fb),null),g(this,_0x514c5f(0x4a2),null),g(this,_0x514c5f(0x1b5),null),g(this,_0x514c5f(0x440),null),g(this,_0x514c5f(0x3e0),null),(this[_0x514c5f(0x4ab)]=_0x4ed9ac,this[_0x514c5f(0x2bf)]=_0x2317d0,this[_0x514c5f(0x16f)]=_0x4be68f,this[_0x514c5f(0x22d)]=_0x5118fc,this[_0x514c5f(0x362)]());}set[_0x3238bf(0x52e)](_0xbfd5c1){const _0x5d8a1a=_0x3238bf;_0xbfd5c1?(this['_anchorDot']&&this[_0x5d8a1a(0x1b5)][_0x5d8a1a(0x182)](),this[_0x5d8a1a(0x4a2)]&&this[_0x5d8a1a(0x4a2)][_0x5d8a1a(0x29f)]()):(this['_anchorDot']&&this[_0x5d8a1a(0x1b5)][_0x5d8a1a(0x29f)](),this[_0x5d8a1a(0x4a2)]&&this[_0x5d8a1a(0x4a2)][_0x5d8a1a(0x182)]());}[_0x3238bf(0x161)](){const _0x3273a5=_0x3238bf;for(const _0x45c49a of this[_0x3273a5(0x3a0)])_0x45c49a[_0x3273a5(0x161)]();this['_textBubble']&&this[_0x3273a5(0x4a2)]['dispose'](),this[_0x3273a5(0x1b5)]&&this['_anchorDot'][_0x3273a5(0x161)](),this[_0x3273a5(0x3fb)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x3238bf(0x362)](){const _0x7a4b27=_0x3238bf;var _0x442dab;const {_docSkeleton:_0x51d21b,_document:_0x5b99b0}=this,{color:_0x4d8a86,name:_0xe55bb,ranges:_0x2ee652}=this[_0x7a4b27(0x4ab)],_0x2d459f=_0x5b99b0[_0x7a4b27(0x54c)](),{docsLeft:_0x2292f9,docsTop:_0x5012e9}=_0x2d459f,_0x4df71f=new _0x2dff16(_0x2d459f,_0x51d21b);for(const {startOffset:_0x100a11,endOffset:_0x3a558d,rangeType:_0x1860f2,segmentId:_0x41e2ea,segmentPage:_0x572f43,collapsed:_0x20e5ed,isActive:_0x5a75f7}of _0x2ee652){const _0x48fb25=_0x51d21b['findNodePositionByCharIndex'](_0x100a11,!0x0,_0x41e2ea,_0x572f43);let _0x9e7c8a=_0x51d21b['findNodePositionByCharIndex'](_0x3a558d,!0x0,_0x41e2ea,_0x572f43);if(_0x9e7c8a==null&&(_0x9e7c8a=_0x51d21b['findNodePositionByCharIndex'](_0x3a558d-0x1,!0x1,_0x41e2ea,_0x572f43)),_0x5a75f7){const {contentBoxPointGroup:_0x37aab3}=_0x4df71f[_0x7a4b27(0x200)](_0x9e7c8a,_0x9e7c8a);if(_0x37aab3[_0x7a4b27(0x325)]===0x0)continue;this[_0x7a4b27(0x343)](_0x4d8a86,_0x37aab3,_0x2292f9,_0x5012e9,_0xe55bb),this[_0x7a4b27(0x3e0)]=this[_0x7a4b27(0x3d7)]();}if(_0x48fb25&&_0x9e7c8a){if(_0x1860f2===_0x507957[_0x7a4b27(0x4e4)]){const _0x27e4e3=new _0x2cbacf(_0x2d459f,_0x51d21b),{pointGroup:_0x2d1e0f}=(_0x442dab=_0x27e4e3[_0x7a4b27(0x200)](_0x48fb25,_0x9e7c8a))!=null?_0x442dab:{};if(_0x2d1e0f==null||_0x2d1e0f[_0x7a4b27(0x325)]===0x0)continue;this[_0x7a4b27(0x1d7)](_0x4d8a86,_0x2d1e0f,_0x2292f9,_0x5012e9);}else{if(!_0x20e5ed){const {borderBoxPointGroup:_0x2ca65e}=_0x4df71f[_0x7a4b27(0x200)](_0x48fb25,_0x9e7c8a);if(_0x2ca65e[_0x7a4b27(0x325)]===0x0)continue;this[_0x7a4b27(0x324)](_0x4d8a86,_0x2ca65e,_0x2292f9,_0x5012e9);}}}}}[_0x3238bf(0x343)](_0x54c8c0,_0xb5c5ee,_0x181b1d,_0x2085ac,_0x476c41){const _0x479dba=_0x3238bf,_0x4d607f=this[_0x479dba(0x3cd)](_0xb5c5ee),{left:_0x1e24d8,top:_0x1897fd,height:_0x205e77}=_0x4d607f,_0x1e6748=this[_0x479dba(0x31c)](),_0x436b0d=Fo/_0x1e6748,_0x1244e3=new _0x48bc86(jt+_0x3a7870[_0x479dba(0x2ae)](Je),{'left':_0x1e24d8+_0x181b1d-_0x436b0d,'top':_0x1897fd+_0x2085ac,'height':_0x205e77,'width':Wo,'fill':_0x54c8c0||_0x5726a7(_0x33477d[_0x479dba(0x497)],0x0),'strokeWidth':_0x436b0d,'stroke':Vo,'evented':!0x0});this[_0x479dba(0x3fb)]=_0x1244e3,this[_0x479dba(0x2bf)]['addObject'](_0x1244e3,_0x4efb91);const _0x111b28=new _0x48bc86(jt+_0x3a7870['generateRandomId'](Je),{'left':_0x1e24d8+_0x181b1d-_0x436b0d,'top':_0x1897fd+_0x2085ac-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x54c8c0||_0x5726a7(_0x33477d[_0x479dba(0x497)],0x0),'strokeWidth':0x0,'stroke':_0x54c8c0||_0x5726a7(_0x33477d['black'],0x0),'evented':!0x1});this[_0x479dba(0x1b5)]=_0x111b28,this[_0x479dba(0x2bf)][_0x479dba(0x487)](_0x111b28,_0x4efb91);const _0x3d8a2a=new yt(jt+_0x3a7870[_0x479dba(0x2ae)](Je),{'left':_0x1e24d8+_0x181b1d-_0x436b0d,'top':_0x1897fd+_0x2085ac-nt,'text':_0x476c41,'color':_0x54c8c0});this[_0x479dba(0x4a2)]=_0x3d8a2a,this[_0x479dba(0x2bf)]['addObject'](_0x3d8a2a,_0x4efb91),this[_0x479dba(0x52e)]=!0x1;}['_handleHover'](){const _0x2cec82=_0x3238bf,_0x1b2126=this[_0x2cec82(0x3fb)]['onPointerEnter$'][_0x2cec82(0x1ce)](()=>{const _0x4ef0de=_0x2cec82;this[_0x4ef0de(0x52e)]=!0x0;}),_0x55c761=this[_0x2cec82(0x3fb)]['onPointerLeave$'][_0x2cec82(0x1ce)](()=>{const _0x5366bd=_0x2cec82;this[_0x5366bd(0x440)]&&clearTimeout(this[_0x5366bd(0x440)]),this['_hideTimer']=setTimeout(()=>{const _0x27ad38=_0x5366bd;this[_0x27ad38(0x52e)]=!0x1;},0x7d0);});return()=>{const _0x5c1bfb=_0x2cec82;_0x1b2126['unsubscribe'](),_0x55c761[_0x5c1bfb(0x376)]();};}[_0x3238bf(0x324)](_0x2640f6,_0x1c0d40,_0x2e87db,_0x1f51eb){const _0x47617c=_0x3238bf,_0xeabfed=new _0x1fdc1d(_0x2640f6)[_0x47617c(0x54e)](0.2)[_0x47617c(0x537)](),_0x2ccff5=new _0x36efef(Bo+_0x3a7870[_0x47617c(0x2ae)](Je),{'pointsGroup':_0x1c0d40,'fill':_0xeabfed||_0x5726a7(_0x33477d['black'],0.2),'left':_0x2e87db,'top':_0x1f51eb,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x47617c(0x419)](_0x2ccff5),this[_0x47617c(0x2bf)][_0x47617c(0x487)](_0x2ccff5,_0x4efb91);}[_0x3238bf(0x1d7)](_0x52f8de,_0xf0b55f,_0x2ab9dc,_0x191ae9){const _0x219105=_0x3238bf,_0x72d197=new _0x1fdc1d(_0x52f8de)['setAlpha'](0.2)[_0x219105(0x537)](),_0x38c3a3=new _0x36efef(ko+_0x3a7870[_0x219105(0x2ae)](Je),{'pointsGroup':_0xf0b55f,'fill':_0x72d197||_0x5726a7(_0x33477d[_0x219105(0x497)],0.2),'left':_0x2ab9dc,'top':_0x191ae9,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x38c3a3),this[_0x219105(0x2bf)][_0x219105(0x487)](_0x38c3a3,_0x4efb91);}[_0x3238bf(0x3cd)](_0x4fde89){const _0x2c53b7=_0x4fde89[0x0],_0xe6140c=_0x2c53b7[0x0],_0x241ee1=_0x2c53b7[0x2],{x:_0x59d3e8,y:_0x4f43c3}=_0xe6140c,{x:_0x11ad95,y:_0x4e104c}=_0x241ee1;return{'left':_0x59d3e8,'top':_0x4f43c3,'width':_0x11ad95-_0x59d3e8,'height':_0x4e104c-_0x4f43c3};}[_0x3238bf(0x31c)](){const _0x58f03f=_0x3238bf,{scaleX:_0x12133f,scaleY:_0x2ddb7d}=this[_0x58f03f(0x2bf)][_0x58f03f(0x342)]();return Math['max'](_0x12133f,_0x2ddb7d);}}var Go=Object[_0x3238bf(0x535)],Yo=Object[_0x3238bf(0x2df)],Ko=(_0x14b0f0,_0x20d2af,_0x140641,_0x3e0c4a)=>{const _0x454361=_0x3238bf;for(var _0x2670fc=_0x3e0c4a>0x1?void 0x0:_0x3e0c4a?Yo(_0x20d2af,_0x140641):_0x20d2af,_0x3bce2e=_0x14b0f0[_0x454361(0x325)]-0x1,_0x30bfed;_0x3bce2e>=0x0;_0x3bce2e--)(_0x30bfed=_0x14b0f0[_0x3bce2e])&&(_0x2670fc=(_0x3e0c4a?_0x30bfed(_0x20d2af,_0x140641,_0x2670fc):_0x30bfed(_0x2670fc))||_0x2670fc);return _0x3e0c4a&&_0x2670fc&&Go(_0x20d2af,_0x140641,_0x2670fc),_0x2670fc;},ct=(_0x291a78,_0x4be2fb)=>(_0x285414,_0x2cc7b1)=>_0x4be2fb(_0x285414,_0x2cc7b1,_0x291a78);let os=class extends _0x9ae76a{constructor(_0x27496c,_0x56c9db,_0x3f2aa9,_0x432111,_0x50767c){const _0xa401ac=_0x3238bf;super(),g(this,_0xa401ac(0x2d5),[]),g(this,_0xa401ac(0x255),[]),(this[_0xa401ac(0x26b)]=_0x27496c,this[_0xa401ac(0x258)]=_0x56c9db,this[_0xa401ac(0x43f)]=_0x3f2aa9,this[_0xa401ac(0x525)]=_0x432111,this['_themeService']=_0x50767c,this[_0xa401ac(0x433)]());}['_init'](){const _0x3b781f=_0x3238bf,_0x17b490=this[_0x3b781f(0x26b)]['unitId'],_0x57cd51=this[_0x3b781f(0x258)];this[_0x3b781f(0x3df)](_0xe40d54([this[_0x3b781f(0x43f)][_0x3b781f(0x424)](_0x17b490),this['_themeService'][_0x3b781f(0x4ff)]])[_0x3b781f(0x380)](_0x46b391(([_0x1c7a19,_0x30ad26])=>({'skeleton':_0x57cd51[_0x3b781f(0x1cb)](),'cursors':[..._0x1c7a19[_0x3b781f(0x322)]()]['flatMap'](_0x45b8b0=>({..._0x45b8b0,'color':_0x30ad26[_0x45b8b0[_0x3b781f(0x15f)]]}))})))['subscribe'](_0x42bc86=>{const _0x31ae9c=_0x3b781f;if(this[_0x31ae9c(0x2c1)](),_0x42bc86){const {skeleton:_0xf9cd67,cursors:_0xf60f59}=_0x42bc86;this[_0x31ae9c(0x3fc)](_0xf9cd67,_0xf60f59);}})),this[_0x3b781f(0x51f)](),this[_0x3b781f(0x3bc)]();}[_0x3238bf(0x3fc)](_0x2bf28c,_0x141110){const _0x2a0cba=_0x3238bf,{scene:_0x3af7ef,mainComponent:_0x3aec73}=this['_context'],_0x3894ab=_0x141110[_0x2a0cba(0x192)](_0x145026=>new Ks(_0x145026,_0x3af7ef,_0x2bf28c,_0x3aec73));this['_cursorShapes']=_0x3894ab,this['_cursors']=_0x141110;}['_refreshCollabCursors'](){const _0x5a1746=_0x3238bf;this[_0x5a1746(0x2c1)]();const {scene:_0x49537b,mainComponent:_0x1fd024}=this[_0x5a1746(0x26b)],_0x5c9fb1=this['_docSkeletonManagerService'][_0x5a1746(0x1cb)](),_0x27ff4a=this['_cursors'][_0x5a1746(0x192)](_0x518ab3=>new Ks(_0x518ab3,_0x49537b,_0x5c9fb1,_0x1fd024));this[_0x5a1746(0x2d5)]=_0x27ff4a;}[_0x3238bf(0x2c1)](){const _0x115c8b=_0x3238bf;this[_0x115c8b(0x2d5)]['forEach'](_0x4c7c8f=>_0x4c7c8f[_0x115c8b(0x161)]()),this[_0x115c8b(0x2d5)]=[];}[_0x3238bf(0x3bc)](){const _0x1e69fb=_0x3238bf,_0x2bf0c0=[_0x835516['id']];this[_0x1e69fb(0x3df)](this['_commandService'][_0x1e69fb(0x446)](_0x1679b8=>{const _0x4869cc=_0x1e69fb;_0x2bf0c0[_0x4869cc(0x2ed)](_0x1679b8['id'])&&_0x1679b8[_0x4869cc(0x37c)][_0x4869cc(0x1bf)]===this[_0x4869cc(0x26b)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x3238bf(0x51f)](){const _0x4ae070=_0x3238bf;this[_0x4ae070(0x3df)](_0xde2bf0(this[_0x4ae070(0x26b)][_0x4ae070(0x16c)][_0x4ae070(0x286)])[_0x4ae070(0x380)](_0x2fd833(_0x36f1c1=>_0x36f1c1[_0x4ae070(0x4cf)]===_0x15ccc7[_0x4ae070(0x1e7)]),_0x5ca328(0x10))[_0x4ae070(0x43b)](()=>{const _0x5ab7a4=_0x4ae070;this[_0x5ab7a4(0x367)]();}));}};os=Ko([ct(0x1,_0x4a2654(_0x532f07)),ct(0x2,_0x4a2654(Ve)),ct(0x3,_0x462ea5),ct(0x4,_0x4a2654(_0x251573))],os);const zo=0x1,qo=1.5;class Xo extends _0x3f7361{constructor(_0x43df99,_0x58203a){const _0x24155e=_0x3238bf;super(_0x43df99,_0x58203a),g(this,_0x24155e(0x320)),g(this,'_hovered',!0x1),g(this,_0x24155e(0x1c0)),g(this,'_name',''),g(this,_0x24155e(0x204),_0x24155e(0x4a3)),g(this,_0x24155e(0x3c2)),(_0x58203a&&this['setShapeProps'](_0x58203a),this[_0x24155e(0x344)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x24155e(0x270)][_0x24155e(0x1ce)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3238bf(0x37a)](_0x2a5d71){const _0x584d79=_0x3238bf;var _0x3b683d,_0x696411,_0x478da2,_0x28bea5,_0x298d4b,_0xa1acf;this['_color']=(_0x3b683d=_0x2a5d71['color'])!=null?_0x3b683d:this['_color'],this[_0x584d79(0x1b7)]=(_0x696411=_0x2a5d71[_0x584d79(0x2ba)])!=null?_0x696411:this[_0x584d79(0x1b7)],this[_0x584d79(0x1c0)]=(_0x478da2=_0x2a5d71[_0x584d79(0x172)])!=null?_0x478da2:this[_0x584d79(0x1c0)],this[_0x584d79(0x3d1)]=(_0x28bea5=_0x2a5d71[_0x584d79(0x15e)])!=null?_0x28bea5:this[_0x584d79(0x3d1)],this[_0x584d79(0x204)]=(_0x298d4b=_0x2a5d71[_0x584d79(0x163)])!=null?_0x298d4b:this['_labelPosition'],this['_backgroundColor']=(_0xa1acf=_0x2a5d71[_0x584d79(0x377)])!=null?_0xa1acf:this['_backgroundColor'],this[_0x584d79(0x379)]({'width':_0x2a5d71[_0x584d79(0x442)],'height':_0x2a5d71[_0x584d79(0x1e6)]});}[_0x3238bf(0x499)](_0x3e443b){const _0x4daba9=_0x3238bf,{row:_0x2bb7bf,column:_0x4d0f56}=_0x3e443b;if(_0x2bb7bf>=this[_0x4daba9(0x1c0)][_0x4daba9(0x331)]&&_0x2bb7bf<=this[_0x4daba9(0x1c0)][_0x4daba9(0x1da)]&&_0x4d0f56>=this['_range'][_0x4daba9(0x542)]&&_0x4d0f56<=this[_0x4daba9(0x1c0)][_0x4daba9(0x214)]){this[_0x4daba9(0x37a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3238bf(0x396)](_0x23d86b){return!0x1;}['_draw'](_0x352710){const _0x5e6f14=_0x3238bf;_0x48bc86[_0x5e6f14(0x281)](_0x352710,{'width':this[_0x5e6f14(0x442)],'height':this[_0x5e6f14(0x1e6)],'strokeWidth':qo,'stroke':this[_0x5e6f14(0x320)],'evented':!0x1,'fill':this[_0x5e6f14(0x3c2)]}),this['_hovered']&&(_0x352710[_0x5e6f14(0x459)](),_0x352710[_0x5e6f14(0x2d3)](0x1,0x0,0x0,0x1,this['width'],this[_0x5e6f14(0x204)]===_0x5e6f14(0x47d)?0x0:-nt),yt[_0x5e6f14(0x281)](_0x352710,{'text':this[_0x5e6f14(0x3d1)],'color':this[_0x5e6f14(0x320)]}),_0x352710[_0x5e6f14(0x1bb)]());}}var Jo=Object[_0x3238bf(0x535)],Zo=Object['getOwnPropertyDescriptor'],Qo=(_0x38e56d,_0x42fd0b,_0x1c8dae,_0x1c9ec4)=>{for(var _0x5e2aef=_0x1c9ec4>0x1?void 0x0:_0x1c9ec4?Zo(_0x42fd0b,_0x1c8dae):_0x42fd0b,_0x3cb89d=_0x38e56d['length']-0x1,_0x2654b2;_0x3cb89d>=0x0;_0x3cb89d--)(_0x2654b2=_0x38e56d[_0x3cb89d])&&(_0x5e2aef=(_0x1c9ec4?_0x2654b2(_0x42fd0b,_0x1c8dae,_0x5e2aef):_0x2654b2(_0x5e2aef))||_0x5e2aef);return _0x1c9ec4&&_0x5e2aef&&Jo(_0x42fd0b,_0x1c8dae,_0x5e2aef),_0x5e2aef;},kt=(_0x1e7ab4,_0x4b830d)=>(_0x5e8f96,_0x37a1c0)=>_0x4b830d(_0x5e8f96,_0x37a1c0,_0x1e7ab4);const ea=0x1389;let as=class extends _0x9ae76a{constructor(_0x1e09a3,_0xb42422,_0x22869b,_0x206266){const _0x44958f=_0x3238bf;super(),g(this,'_cursors',new Set()),g(this,_0x44958f(0x36c),null),(this[_0x44958f(0x26b)]=_0x1e09a3,this['_sheetSkeletonManagerService']=_0xb42422,this['_collabCursorController']=_0x22869b,this[_0x44958f(0x481)]=_0x206266,this[_0x44958f(0x433)]());}[_0x3238bf(0x433)](){const _0x1ffa2e=_0x3238bf;this[_0x1ffa2e(0x447)][_0x1ffa2e(0x146)]['pipe'](_0x4cba74(this[_0x1ffa2e(0x4e8)]),_0x234ed0(_0xc52931=>{const _0x32ca47=_0x1ffa2e;if(_0xc52931){const _0x29c7f0=_0xc52931[_0x32ca47(0x37e)];return _0xe40d54(this[_0x32ca47(0x43f)]['getCollabCursors$'](this[_0x32ca47(0x26b)][_0x32ca47(0x1bf)]),this[_0x32ca47(0x481)][_0x32ca47(0x4ff)])[_0x32ca47(0x380)](_0x46b391(([_0x4187d8,_0x4f574a])=>{const _0x796b58=_0x32ca47,_0x1dc791=new Map();return _0x4187d8[_0x796b58(0x4b5)]((_0x57d154,_0xd7aa4f)=>{const _0x1e2d97=_0x796b58;if(_0x57d154[_0x1e2d97(0x35f)]===_0x29c7f0){const _0x1a854a={..._0x57d154};_0x1a854a[_0x1e2d97(0x15f)]=_0x4f574a[_0x57d154['color']],_0x1dc791[_0x1e2d97(0x13d)](_0xd7aa4f,_0x1a854a);}}),{'skeleton':_0xc52931,'cursors':_0x1dc791};}));}return _0x165a23({'skeleton':null,'cursors':new Map()});}))[_0x1ffa2e(0x43b)](({skeleton:_0x331f21,cursors:_0x5560d4})=>{const _0x28f433=_0x1ffa2e;this[_0x28f433(0x2c1)](),_0x331f21&&this[_0x28f433(0x3fc)](_0x331f21,_0x5560d4);}),this[_0x1ffa2e(0x447)][_0x1ffa2e(0x146)][_0x1ffa2e(0x43b)](_0x5ae1af=>{const _0x41f52c=_0x1ffa2e;if(_0x5ae1af==null)return;const {skeleton:_0x2d3947}=_0x5ae1af,{scene:_0x282179}=this[_0x41f52c(0x26b)];_0x282179[_0x41f52c(0x2b8)][_0x41f52c(0x1ce)](_0x5d913f(_0x2f0e36=>{const _0x42a1ed=_0x41f52c;var _0xc79658,_0x402c0f;const {offsetX:_0x5956ea,offsetY:_0x2c9ddd}=_0x2f0e36,{x:_0x2e87ed,y:_0x16dc5f}=_0x282179[_0x42a1ed(0x390)](_0x1691aa[_0x42a1ed(0x2e2)]([_0x5956ea,_0x2c9ddd])),{scaleX:_0x485800,scaleY:_0x40606d}=_0x282179[_0x42a1ed(0x342)](),_0x3840e9=_0x282179[_0x42a1ed(0x194)](_0x578f46[_0x42a1ed(0x4d5)]),_0x4d39de=_0x282179[_0x42a1ed(0x407)](_0x1691aa[_0x42a1ed(0x2e2)]([_0x2e87ed,_0x16dc5f]),_0x3840e9),_0x38d1d1=_0x2d3947[_0x42a1ed(0x210)](_0x5956ea,_0x2c9ddd,_0x485800,_0x40606d,_0x4d39de);((_0xc79658=this['_lastPointer'])==null?void 0x0:_0xc79658[_0x42a1ed(0x34f)])===_0x38d1d1['column']&&((_0x402c0f=this[_0x42a1ed(0x36c)])==null?void 0x0:_0x402c0f[_0x42a1ed(0x13f)])===_0x38d1d1[_0x42a1ed(0x13f)]||this[_0x42a1ed(0x255)][_0x42a1ed(0x4b5)](_0x4b3872=>{const _0x5aaf76=_0x42a1ed;_0x4b3872[_0x5aaf76(0x499)](_0x38d1d1);});},0x64));});}[_0x3238bf(0x3fc)](_0x231718,_0x2f0de3){const _0x23582e=_0x3238bf;var _0x20404d;const _0xe580c1=(_0x20404d=this[_0x23582e(0x447)][_0x23582e(0x4d6)]())==null?void 0x0:_0x20404d[_0x23582e(0x526)];if(!_0xe580c1)return;const _0xb7b75c=this[_0x23582e(0x23b)]();if(!_0xb7b75c)return;this[_0x23582e(0x255)][_0x23582e(0x4b5)](_0x4275f1=>{const _0x29b37c=_0x23582e;_0x4275f1[_0x29b37c(0x350)]();});const {scene:_0x116b11}=_0xb7b75c,_0x1e5192=ta(Array['from'](_0x2f0de3[_0x23582e(0x322)]()))['map'](_0x58ce76=>{const _0x57ba42=_0x23582e,{color:_0xccc848,range:_0x8bfc06,name:_0x5766c2,selection:_0x3fddbc,sheetID:_0x23e53a}=_0x58ce76,{startColumn:_0x419404,startRow:_0x291680,endColumn:_0x2baccd,endRow:_0x46ad6f}=_0x8bfc06,_0x56a3dc=_0x3d3c8c(_0x291680,_0x419404,_0x116b11,_0xe580c1),_0x43f2d1=_0x3d3c8c(_0x46ad6f,_0x2baccd,_0x116b11,_0xe580c1),{columnHeaderHeightAndMarginTop:_0xce966c}=_0xe580c1,{startX:_0x31918c,startY:_0x46c944}=_0x56a3dc,{endX:_0x5cb9d5,endY:_0x95550c}=_0x43f2d1,_0x37583e=_0x5cb9d5-_0x31918c,_0x4008b2=_0x95550c-_0x46c944,_0x591014={'labelPosition':_0x46c944-_0xce966c>=nt?'top':_0x57ba42(0x47d),'sheetID':_0x23e53a,'range':_0x8bfc06,'color':_0xccc848,'name':_0x5766c2,'selection':_0x3fddbc,'left':_0x31918c,'top':_0x46c944,'width':_0x37583e,'height':_0x4008b2,'evented':!0x1,'zIndex':ea};return new Xo(_0x5766c2,_0x591014);});_0x116b11[_0x23582e(0x1a0)](_0x1e5192,zo),this[_0x23582e(0x255)]=new Set(_0x1e5192);}[_0x3238bf(0x2c1)](){const _0x3d9cb9=_0x3238bf;var _0x4cb771;(_0x4cb771=this['_cursors'])==null||_0x4cb771[_0x3d9cb9(0x4b5)](_0x3e1db2=>_0x3e1db2[_0x3d9cb9(0x161)]());}[_0x3238bf(0x23b)](){const _0x40f8da=_0x3238bf;return _0xd58b34(this[_0x40f8da(0x26b)][_0x40f8da(0x3a7)],this[_0x40f8da(0x26b)]);}};as=Qo([kt(0x1,_0x4a2654(_0x15a5fb)),kt(0x2,_0x4a2654(Ve)),kt(0x3,_0x4a2654(_0x251573))],as);function ta(_0x1f09d6){const _0x2d5dce=_0x3238bf,_0x228d29=new Map();return _0x1f09d6[_0x2d5dce(0x4b5)](_0x145ef1=>{const _0x4bfe0a=_0x2d5dce;if(_0x228d29[_0x4bfe0a(0x220)](_0x145ef1['selection'])){const _0x55db46=_0x228d29[_0x4bfe0a(0x3a5)](_0x145ef1['selection']);_0x55db46[_0x4bfe0a(0x15e)]+=',\x20'+_0x145ef1[_0x4bfe0a(0x15e)];}else _0x228d29[_0x4bfe0a(0x13d)](_0x145ef1[_0x4bfe0a(0x298)],_0x145ef1);}),Array[_0x2d5dce(0x409)](_0x228d29[_0x2d5dce(0x322)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x4aa114){const _0x4b29ac=_0x3238bf;return _0x4aa114&&_0x4aa114['__esModule']&&Object[_0x4b29ac(0x439)][_0x4b29ac(0x1b1)][_0x4b29ac(0x46d)](_0x4aa114,'default')?_0x4aa114[_0x4b29ac(0x36b)]:_0x4aa114;}var Mi={'exports':{}},Ot={},sa=_0x37429d,ia=Symbol[_0x3238bf(0x260)](_0x3238bf(0x4ba)),na=Symbol[_0x3238bf(0x260)](_0x3238bf(0x2cb)),ra=Object[_0x3238bf(0x439)][_0x3238bf(0x1b1)],oa=sa[_0x3238bf(0x2ca)][_0x3238bf(0x489)],aa={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x49ff9c,_0x379f86,_0x5ddcdd){const _0x3b9ffa=_0x3238bf;var _0x17e7d4,_0x4273d4={},_0x1d9515=null,_0x11b9de=null;_0x5ddcdd!==void 0x0&&(_0x1d9515=''+_0x5ddcdd),_0x379f86[_0x3b9ffa(0x360)]!==void 0x0&&(_0x1d9515=''+_0x379f86[_0x3b9ffa(0x360)]),_0x379f86[_0x3b9ffa(0x2c7)]!==void 0x0&&(_0x11b9de=_0x379f86[_0x3b9ffa(0x2c7)]);for(_0x17e7d4 in _0x379f86)ra[_0x3b9ffa(0x46d)](_0x379f86,_0x17e7d4)&&!aa[_0x3b9ffa(0x1b1)](_0x17e7d4)&&(_0x4273d4[_0x17e7d4]=_0x379f86[_0x17e7d4]);if(_0x49ff9c&&_0x49ff9c[_0x3b9ffa(0x26d)]){for(_0x17e7d4 in(_0x379f86=_0x49ff9c['defaultProps'],_0x379f86))_0x4273d4[_0x17e7d4]===void 0x0&&(_0x4273d4[_0x17e7d4]=_0x379f86[_0x17e7d4]);}return{'$$typeof':ia,'type':_0x49ff9c,'key':_0x1d9515,'ref':_0x11b9de,'props':_0x4273d4,'_owner':oa[_0x3b9ffa(0x374)]};}Ot[_0x3238bf(0x13b)]=na,Ot[_0x3238bf(0x4bd)]=xi,Ot[_0x3238bf(0x53e)]=xi,Mi[_0x3238bf(0x354)]=Ot;var we=Mi[_0x3238bf(0x354)],ee=function(){const _0x1fbbdf=_0x3238bf;return ee=Object[_0x1fbbdf(0x50e)]||function(_0x456fd8){const _0x137741=_0x1fbbdf;for(var _0x825c88,_0x53cfc5=0x1,_0x1003e3=arguments[_0x137741(0x325)];_0x53cfc5<_0x1003e3;_0x53cfc5++){_0x825c88=arguments[_0x53cfc5];for(var _0x18c00a in _0x825c88)Object[_0x137741(0x439)]['hasOwnProperty'][_0x137741(0x46d)](_0x825c88,_0x18c00a)&&(_0x456fd8[_0x18c00a]=_0x825c88[_0x18c00a]);}return _0x456fd8;},ee[_0x1fbbdf(0x4f9)](this,arguments);},ca=function(_0x35198b,_0x4622e9){const _0x478a11=_0x3238bf;var _0x13a227={};for(var _0x5f8575 in _0x35198b)Object[_0x478a11(0x439)][_0x478a11(0x1b1)]['call'](_0x35198b,_0x5f8575)&&_0x4622e9[_0x478a11(0x33e)](_0x5f8575)<0x0&&(_0x13a227[_0x5f8575]=_0x35198b[_0x5f8575]);if(_0x35198b!=null&&typeof Object[_0x478a11(0x3e6)]=='function'){for(var _0xad28b2=0x0,_0x5f8575=Object[_0x478a11(0x3e6)](_0x35198b);_0xad28b2<_0x5f8575[_0x478a11(0x325)];_0xad28b2++)_0x4622e9[_0x478a11(0x33e)](_0x5f8575[_0xad28b2])<0x0&&Object[_0x478a11(0x439)][_0x478a11(0x4a7)][_0x478a11(0x46d)](_0x35198b,_0x5f8575[_0xad28b2])&&(_0x13a227[_0x5f8575[_0xad28b2]]=_0x35198b[_0x5f8575[_0xad28b2]]);}return _0x13a227;},Ts=_0x291cc6(function(_0xb47184,_0x45f821){const _0x595ca9=_0x3238bf;var _0x29cdf7=_0xb47184['icon'],_0x25c932=_0xb47184['id'],_0xbe10d=_0xb47184[_0x595ca9(0x191)],_0xed5820=_0xb47184['extend'],_0x153971=ca(_0xb47184,[_0x595ca9(0x21e),'id','className',_0x595ca9(0x50f)]),_0x2c8011=_0x595ca9(0x4a6)['concat'](_0x25c932,'\x20')['concat'](_0xbe10d||'')[_0x595ca9(0x516)](),_0x1c48c3=_0x20c041('_'[_0x595ca9(0x4e0)](_a()));return Li(_0x29cdf7,''['concat'](_0x25c932),{'defIds':_0x29cdf7['defIds'],'idSuffix':_0x1c48c3[_0x595ca9(0x374)]},ee({'ref':_0x45f821,'className':_0x2c8011},_0x153971),_0xed5820);});function Li(_0x3613eb,_0xb3b45e,_0x5aa01e,_0x19b070,_0x50c7eb){const _0x4522c3=_0x3238bf;return _0x43b3d3(_0x3613eb[_0x4522c3(0x3bf)],ee(ee({'key':_0xb3b45e},ha(_0x3613eb,_0x5aa01e,_0x50c7eb)),_0x19b070),(la(_0x3613eb,_0x5aa01e)['children']||[])[_0x4522c3(0x192)](function(_0x239238,_0x1a6f51){const _0x526887=_0x4522c3;return Li(_0x239238,''[_0x526887(0x4e0)](_0xb3b45e,'-')[_0x526887(0x4e0)](_0x3613eb[_0x526887(0x3bf)],'-')[_0x526887(0x4e0)](_0x1a6f51),_0x5aa01e,void 0x0,_0x50c7eb);}));}function ha(_0x4aac19,_0x566f76,_0x268e27){const _0x5308a6=_0x3238bf;var _0x1620cc=ee({},_0x4aac19[_0x5308a6(0x2ab)]);_0x268e27!=null&&_0x268e27[_0x5308a6(0x150)]&&_0x1620cc[_0x5308a6(0x169)]===_0x5308a6(0x150)&&(_0x1620cc[_0x5308a6(0x169)]=_0x268e27['colorChannel1']);var _0x2e60a5=_0x566f76[_0x5308a6(0x3d9)];return!_0x2e60a5||_0x2e60a5[_0x5308a6(0x325)]===0x0||(_0x4aac19[_0x5308a6(0x3bf)]===_0x5308a6(0x4a4)&&_0x1620cc['xlink:href']&&(_0x1620cc[_0x5308a6(0x14f)]=_0x1620cc[_0x5308a6(0x14f)]+_0x566f76[_0x5308a6(0x41d)]),Object[_0x5308a6(0x534)](_0x1620cc)[_0x5308a6(0x4b5)](function(_0x2550b6){const _0x3a2f7d=_0x5308a6;var _0x3e1df9=_0x2550b6[0x0],_0x2c7d43=_0x2550b6[0x1];typeof _0x2c7d43==_0x3a2f7d(0x303)&&(_0x1620cc[_0x3e1df9]=_0x2c7d43[_0x3a2f7d(0x4e2)](/url\(#(.*)\)/,'url(#$1'[_0x3a2f7d(0x4e0)](_0x566f76['idSuffix'],')')));})),_0x1620cc;}function la(_0x3eeb1c,_0x5ed3b6){const _0x115c17=_0x3238bf;var _0x5b8703,_0x272724=_0x5ed3b6[_0x115c17(0x3d9)];return!_0x272724||_0x272724['length']===0x0?_0x3eeb1c:_0x3eeb1c[_0x115c17(0x3bf)]===_0x115c17(0x18f)&&(!((_0x5b8703=_0x3eeb1c['children'])===null||_0x5b8703===void 0x0)&&_0x5b8703['length'])?ee(ee({},_0x3eeb1c),{'children':_0x3eeb1c[_0x115c17(0x4bc)][_0x115c17(0x192)](function(_0x81aa1b){const _0xa2d4b0=_0x115c17;return typeof _0x81aa1b['attrs']['id']=='string'&&_0x272724&&_0x272724['indexOf'](_0x81aa1b[_0xa2d4b0(0x2ab)]['id'])>-0x1?ee(ee({},_0x81aa1b),{'attrs':ee(ee({},_0x81aa1b[_0xa2d4b0(0x2ab)]),{'id':_0x81aa1b[_0xa2d4b0(0x2ab)]['id']+_0x5ed3b6[_0xa2d4b0(0x41d)]})}):_0x81aa1b;})}):_0x3eeb1c;}function _a(){const _0x5a32e8=_0x3238bf;return Math['random']()[_0x5a32e8(0x1b8)](0x24)[_0x5a32e8(0x2ff)](0x2,0x8);}Ts[_0x3238bf(0x1bc)]=_0x3238bf(0x3aa);var ua={'tag':_0x3238bf(0x22b),'attrs':{'fill':_0x3238bf(0x46f),'viewBox':'0\x200\x2016\x2016','width':_0x3238bf(0x33f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3238bf(0x533)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x3238bf(0x231),'strokeLinecap':_0x3238bf(0x294),'strokeLinejoin':_0x3238bf(0x294),'strokeWidth':1.2}}]},{'tag':_0x3238bf(0x18f),'attrs':{},'children':[{'tag':_0x3238bf(0x1a1),'attrs':{'id':_0x3238bf(0x228)},'children':[{'tag':'path','attrs':{'fill':_0x3238bf(0x55c),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3238bf(0x228)]},$i=_0x291cc6(function(_0x1c40e8,_0x333639){const _0x452922=_0x3238bf;return _0x43b3d3(Ts,Object['assign']({},_0x1c40e8,{'id':_0x452922(0x469),'ref':_0x333639,'icon':ua}));});$i[_0x3238bf(0x1bc)]=_0x3238bf(0x237);var da={'tag':'svg','attrs':{'fill':_0x3238bf(0x46f),'viewBox':_0x3238bf(0x54a),'width':_0x3238bf(0x33f),'height':_0x3238bf(0x33f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x3238bf(0x223),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x3238bf(0x294),'strokeLinejoin':_0x3238bf(0x294),'strokeWidth':1.2}}]},{'tag':_0x3238bf(0x18f),'attrs':{},'children':[{'tag':_0x3238bf(0x1a1),'attrs':{'id':_0x3238bf(0x363)},'children':[{'tag':_0x3238bf(0x2a1),'attrs':{'fill':_0x3238bf(0x55c),'d':_0x3238bf(0x240),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3238bf(0x363)]},Hi=_0x291cc6(function(_0x554a65,_0x2e82f2){const _0x31ebfe=_0x3238bf;return _0x43b3d3(Ts,Object[_0x31ebfe(0x50e)]({},_0x554a65,{'id':_0x31ebfe(0x1d9),'ref':_0x2e82f2,'icon':da}));});Hi[_0x3238bf(0x1bc)]=_0x3238bf(0x522);function ji(_0x3705f3){const _0x10c9d6=_0x3238bf;var _0x41dae8,_0x4d66e0,_0x596e3c='';if(typeof _0x3705f3==_0x10c9d6(0x303)||typeof _0x3705f3==_0x10c9d6(0x3e8))_0x596e3c+=_0x3705f3;else{if(typeof _0x3705f3==_0x10c9d6(0x1b0)){if(Array[_0x10c9d6(0x4a0)](_0x3705f3)){var _0x10ba41=_0x3705f3[_0x10c9d6(0x325)];for(_0x41dae8=0x0;_0x41dae8<_0x10ba41;_0x41dae8++)_0x3705f3[_0x41dae8]&&(_0x4d66e0=ji(_0x3705f3[_0x41dae8]))&&(_0x596e3c&&(_0x596e3c+='\x20'),_0x596e3c+=_0x4d66e0);}else{for(_0x4d66e0 in _0x3705f3)_0x3705f3[_0x4d66e0]&&(_0x596e3c&&(_0x596e3c+='\x20'),_0x596e3c+=_0x4d66e0);}}}return _0x596e3c;}function fa(){const _0x20e30=_0x3238bf;for(var _0x4b18df,_0x592571,_0x502b8e=0x0,_0x45c9d8='',_0x52a74e=arguments[_0x20e30(0x325)];_0x502b8e<_0x52a74e;_0x502b8e++)(_0x4b18df=arguments[_0x502b8e])&&(_0x592571=ji(_0x4b18df))&&(_0x45c9d8&&(_0x45c9d8+='\x20'),_0x45c9d8+=_0x592571);return _0x45c9d8;}const va='univer-online-status-icon',ma=_0x3238bf(0x4f5),pa=_0x3238bf(0x4d1),ga=_0x3238bf(0x4d0),Sa=_0x3238bf(0x302),Ze={'onlineStatusIcon':va,'onlineStatusTitle':ma,'onlineStatus':pa,'online':ga,'offline':Sa};function Ia(_0x19906a){const _0x18a247=_0x3238bf;switch(_0x19906a){case J[_0x18a247(0x291)]:return _0x18a247(0x45b);case J[_0x18a247(0x311)]:return _0x18a247(0x54b);case J[_0x18a247(0x332)]:return _0x18a247(0x25e);case J[_0x18a247(0x3f2)]:return _0x18a247(0x14a);case J['AWAITING']:case J[_0x18a247(0x157)]:return'collabStatus.syncing';case J[_0x18a247(0x401)]:case J[_0x18a247(0x232)]:return'collabStatus.synced';}}function Ca(_0x40031e){const _0x3672bf=_0x3238bf,{status$:_0x2bf55c}=_0x40031e,_0x1b62cd=_0x1e48c7(_0x2bf55c,J[_0x3672bf(0x3f2)]),_0x57d200=_0x120ce2(_0xc7611d),_0x39a909=_0x120ce2(Ae),_0xf46da5=_0x1b62cd!==J['OFFLINE'],_0x295557=_0x57d200['t'](Ia(_0x1b62cd)),_0x2bed98=fa(Ze['onlineStatus'],{[Ze[_0x3672bf(0x46a)]]:_0xf46da5,[Ze[_0x3672bf(0x296)]]:!_0xf46da5}),_0x75c42b=_0xf46da5?we[_0x3672bf(0x4bd)](Hi,{}):we[_0x3672bf(0x4bd)]($i,{}),_0x382069=_0x13394c(()=>{const _0x5affe0=_0x3672bf;_0xf46da5||_0x39a909[_0x5affe0(0x1d1)]();},[_0xf46da5,_0x39a909]);function _0x5b62f8(){const _0x30225e=_0x3672bf;return we[_0x30225e(0x53e)](_0x30225e(0x1c5),{'className':_0x2bed98,'onClick':_0x382069,'children':[we['jsx'](_0x30225e(0x1c5),{'className':Ze[_0x30225e(0x539)],'children':_0x75c42b}),we['jsx']('div',{'className':Ze[_0x30225e(0x3e4)],'children':_0x295557})]});}return _0xf46da5?_0x5b62f8():we[_0x3672bf(0x4bd)](_0x504180,{'title':_0x57d200['t'](_0x3672bf(0x3e7)),'children':_0x5b62f8()});}var Ea=Object['defineProperty'],ba=Object[_0x3238bf(0x2df)],Ta=(_0x43f6ea,_0x4d963f,_0x36bf12,_0xfb0bcd)=>{const _0x44ddf9=_0x3238bf;for(var _0x3b29c1=_0xfb0bcd>0x1?void 0x0:_0xfb0bcd?ba(_0x4d963f,_0x36bf12):_0x4d963f,_0x3b7c71=_0x43f6ea[_0x44ddf9(0x325)]-0x1,_0x1aef0d;_0x3b7c71>=0x0;_0x3b7c71--)(_0x1aef0d=_0x43f6ea[_0x3b7c71])&&(_0x3b29c1=(_0xfb0bcd?_0x1aef0d(_0x4d963f,_0x36bf12,_0x3b29c1):_0x1aef0d(_0x3b29c1))||_0x3b29c1);return _0xfb0bcd&&_0x3b29c1&&Ea(_0x4d963f,_0x36bf12,_0x3b29c1),_0x3b29c1;},ht=(_0x5ed989,_0x511549)=>(_0x452a65,_0x541e13)=>_0x511549(_0x452a65,_0x541e13,_0x5ed989);let St=class extends _0x1bec45{constructor(_0x1f1c16,_0x4a60f7,_0x38254b,_0x4775d7){const _0x131e99=_0x3238bf;super(),g(this,_0x131e99(0x3ff),new _0x353bc7(J[_0x131e99(0x3f2)])),(this[_0x131e99(0x262)]=_0x1f1c16,this['_uiPartsService']=_0x4a60f7,this[_0x131e99(0x151)]=_0x38254b,this[_0x131e99(0x4fd)]=_0x4775d7,this[_0x131e99(0x395)](),this['_initStatusListener']());}[_0x3238bf(0x478)](){const _0x4381ca=_0x3238bf;this[_0x4381ca(0x3df)](this[_0x4381ca(0x262)][_0x4381ca(0x464)][_0x4381ca(0x380)](_0xb18e1b(()=>{const _0x4528f7=_0x4381ca,_0xb57b21=this[_0x4528f7(0x262)]['getFocusedUnit']();return _0xb57b21?this['_collaborationController'][_0x4528f7(0x25a)](_0xb57b21[_0x4528f7(0x3fd)]()):_0x165a23(null);}),_0xb18e1b(_0x5014f1=>_0x5014f1?_0x5014f1['status$']:_0x165a23(J['NOT_COLLAB'])))[_0x4381ca(0x43b)](_0x5a7d6d=>{const _0x2c8985=_0x4381ca;this[_0x2c8985(0x3ff)][_0x2c8985(0x34c)](_0x5a7d6d);}));}['_initStatusComponent'](){const _0x130d1d=_0x3238bf;this['disposeWithMe'](this[_0x130d1d(0x1f6)][_0x130d1d(0x452)](_0x2ef7c3[_0x130d1d(0x353)],()=>_0x3cd6f0(Ra({'status$':this[_0x130d1d(0x3ff)][_0x130d1d(0x384)]()}),this['_injector'])));}};St=Ta([ht(0x0,_0x21deaa),ht(0x1,_0x3c9e6a),ht(0x2,_0x4a2654(_0x28b8e2)),ht(0x3,_0x4a2654(it))],St);function Ra(_0x28fef3){const {status$:_0xe067ae}=_0x28fef3;return function(){return we['jsx'](Ca,{'status$':_0xe067ae});};}const Bi=_0x271919(_0x3238bf(0x4af));var ya=Object['defineProperty'],Oa=Object[_0x3238bf(0x2df)],wa=(_0x3c3cef,_0x5f2285,_0x53521f,_0x53ac89)=>{const _0x423633=_0x3238bf;for(var _0x22795a=_0x53ac89>0x1?void 0x0:_0x53ac89?Oa(_0x5f2285,_0x53521f):_0x5f2285,_0x2ea477=_0x3c3cef[_0x423633(0x325)]-0x1,_0x2f9ff2;_0x2ea477>=0x0;_0x2ea477--)(_0x2f9ff2=_0x3c3cef[_0x2ea477])&&(_0x22795a=(_0x53ac89?_0x2f9ff2(_0x5f2285,_0x53521f,_0x22795a):_0x2f9ff2(_0x22795a))||_0x22795a);return _0x53ac89&&_0x22795a&&ya(_0x5f2285,_0x53521f,_0x22795a),_0x22795a;},ke=(_0x442e07,_0x59b8b8)=>(_0xd223de,_0x1e8867)=>_0x59b8b8(_0xd223de,_0x1e8867,_0x442e07);let It=class extends _0x9ae76a{constructor(_0x20603a,_0x4e0318,_0x13f2f2,_0x151ea0,_0x4b1d74,_0x772be){const _0x26e8ed=_0x3238bf;super(),this[_0x26e8ed(0x1aa)]=_0x20603a,this[_0x26e8ed(0x188)]=_0x4e0318,this['_commandService']=_0x13f2f2,this['_localCacheService']=_0x151ea0,this[_0x26e8ed(0x155)]=_0x4b1d74,_0x772be?_0x772be==null||_0x772be[_0x26e8ed(0x53f)]()[_0x26e8ed(0x2f6)](()=>this[_0x26e8ed(0x433)]()):(this['_logService'][_0x26e8ed(0x18e)](_0x26e8ed(0x321),_0x26e8ed(0x1fa)),this[_0x26e8ed(0x433)]());}async[_0x3238bf(0x433)](){const _0x35b0a2=_0x3238bf,_0xb2865a=this[_0x35b0a2(0x1aa)][_0x35b0a2(0x364)](_0x35b0a2(0x3a7)),_0x32f5c1=this[_0x35b0a2(0x1aa)][_0x35b0a2(0x364)]('type');if(!_0xb2865a||!_0x32f5c1){this[_0x35b0a2(0x188)][_0x35b0a2(0x18e)]('[DataLoaderController]',_0x35b0a2(0x510));return;}switch(Number(_0x32f5c1)){case ce[_0x35b0a2(0x49a)]:{const _0x51432b=await this[_0x35b0a2(0x54f)](_0xb2865a);this[_0x35b0a2(0x16d)](_0x51432b);break;}case ce[_0x35b0a2(0x32f)]:{await this[_0x35b0a2(0x527)](_0xb2865a);break;}default:{this[_0x35b0a2(0x188)][_0x35b0a2(0x241)](_0x35b0a2(0x321),_0x35b0a2(0x55e));break;}}}async['_setupSubUnitSync'](_0x34199c){const _0x916e46=_0x3238bf;await this[_0x916e46(0x359)](_0x34199c),_0x34199c[_0x916e46(0x428)][_0x916e46(0x380)](_0x4b2adb(this[_0x916e46(0x4e8)]))[_0x916e46(0x43b)](_0x5e0e30=>{_0x5e0e30&&this['_updateURLWithCurrentState'](_0x5e0e30);}),this[_0x916e46(0x1aa)][_0x916e46(0x47b)]['pipe'](_0x4b2adb(this['dispose$']))[_0x916e46(0x43b)](()=>this['_updateSubUnitFromURLParams'](_0x34199c));}[_0x3238bf(0x378)](_0x279150,_0x1e1ce3=!0x1){const _0x1127dc=_0x3238bf,_0x53c065=this[_0x1127dc(0x1aa)][_0x1127dc(0x364)](_0x1127dc(0x326));_0x279150['getSheetId']()!==_0x53c065&&this[_0x1127dc(0x1aa)][_0x1127dc(0x2dc)](_0x1127dc(0x326),_0x279150[_0x1127dc(0x1d4)](),_0x1e1ce3);}async['_updateSubUnitFromURLParams'](_0x579b36){const _0xcbbf3a=_0x3238bf;var _0xb66f4a;const _0x243f07=this[_0xcbbf3a(0x1aa)]['getParam'](_0xcbbf3a(0x326));if(!_0x243f07||!_0x579b36[_0xcbbf3a(0x50b)](_0x243f07)){const _0x41bbee=_0x579b36[_0xcbbf3a(0x46e)]()[0x0],_0x48d134=_0x579b36[_0xcbbf3a(0x50b)](_0x41bbee);if(!_0x48d134)return;this['_updateURLWithCurrentState'](_0x48d134,!0x0),await this[_0xcbbf3a(0x525)][_0xcbbf3a(0x2db)](_0x3ee2d1['id'],{'unitId':_0x579b36[_0xcbbf3a(0x3fd)](),'subUnitId':_0x41bbee});return;}((_0xb66f4a=_0x579b36['getActiveSheet']())==null?void 0x0:_0xb66f4a[_0xcbbf3a(0x1d4)]())!==_0x243f07&&await this[_0xcbbf3a(0x525)][_0xcbbf3a(0x2db)](_0x3ee2d1['id'],{'unitId':_0x579b36[_0xcbbf3a(0x3fd)](),'subUnitId':_0x243f07});}async[_0x3238bf(0x54f)](_0x149187){const _0x4ac24f=_0x3238bf;let _0x34710d=0x0;const _0x6dfbf4=await this[_0x4ac24f(0x292)][_0x4ac24f(0x313)](_0x149187);return _0x6dfbf4&&(_0x6dfbf4[_0x4ac24f(0x340)]||_0x6dfbf4[_0x4ac24f(0x4de)][_0x4ac24f(0x325)]!==0x0)&&(_0x34710d=_0x6dfbf4[_0x4ac24f(0x4a5)]),_0x34710d===0x0&&this[_0x4ac24f(0x188)]['debug'](_0x4ac24f(0x321),_0x4ac24f(0x1b3)),this[_0x4ac24f(0x155)][_0x4ac24f(0x285)](_0x149187,_0x34710d);}async[_0x3238bf(0x527)](_0x3fa93f){const _0x28ca33=_0x3238bf;let _0x4269a2=0x0;const _0x4b9c08=await this['_localCacheService']['loadOfflineData'](_0x3fa93f);return _0x4b9c08&&(_0x4b9c08[_0x28ca33(0x340)]||_0x4b9c08[_0x28ca33(0x4de)]['length']!==0x0)&&(_0x4269a2=_0x4b9c08[_0x28ca33(0x4a5)]),_0x4269a2===0x0&&this[_0x28ca33(0x188)][_0x28ca33(0x18e)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x28ca33(0x155)][_0x28ca33(0x39f)](_0x3fa93f,_0x4269a2);}};It=wa([ke(0x0,Bi),ke(0x1,_0x5d0f53),ke(0x2,_0x462ea5),ke(0x3,_0x4a2654(q)),ke(0x4,_0x4a2654(_0x1ff8b0)),ke(0x5,_0x384f19(_0x151359))],It);var Da=Object[_0x3238bf(0x535)],Pa=Object[_0x3238bf(0x2df)],Ua=(_0x219dad,_0x52480b,_0xbf19da,_0x1a21eb)=>{const _0x3102a8=_0x3238bf;for(var _0x4c1c0a=_0x1a21eb>0x1?void 0x0:_0x1a21eb?Pa(_0x52480b,_0xbf19da):_0x52480b,_0xc8c4e3=_0x219dad[_0x3102a8(0x325)]-0x1,_0x30b805;_0xc8c4e3>=0x0;_0xc8c4e3--)(_0x30b805=_0x219dad[_0xc8c4e3])&&(_0x4c1c0a=(_0x1a21eb?_0x30b805(_0x52480b,_0xbf19da,_0x4c1c0a):_0x30b805(_0x4c1c0a))||_0x4c1c0a);return _0x1a21eb&&_0x4c1c0a&&Da(_0x52480b,_0xbf19da,_0x4c1c0a),_0x4c1c0a;},zs=(_0xa5d049,_0x3a0553)=>(_0x5b9751,_0x53686e)=>_0x3a0553(_0x5b9751,_0x53686e,_0xa5d049);const Na=_0x3238bf(0x219),Aa='Univer';let Ct=class extends _0x1bec45{constructor(_0x425977,_0x16ea19){const _0xad9429=_0x3238bf;super(),this['_univerInstanceService']=_0x425977,this[_0xad9429(0x330)]=_0x16ea19,this['_init']();}[_0x3238bf(0x433)](){const _0x5d92df=_0x3238bf;this[_0x5d92df(0x3df)](this[_0x5d92df(0x262)][_0x5d92df(0x464)]['subscribe'](()=>{const _0x2df5f1=_0x5d92df;var _0x446bd3;const _0x41718d=this['_univerInstanceService'][_0x2df5f1(0x48e)]();let _0x2ff4f7=(_0x446bd3=this[_0x2df5f1(0x330)]['getConfig'](Na))!=null?_0x446bd3:Aa;_0x41718d instanceof _0x166f1e&&(_0x2ff4f7=_0x41718d['name']),document[_0x2df5f1(0x1fc)]=_0x2ff4f7;}));}};Ct=Ua([zs(0x0,_0x21deaa),zs(0x1,_0x12cd24)],Ct);var Ma=Object[_0x3238bf(0x535)],xa=Object[_0x3238bf(0x2df)],La=(_0xeb5f57,_0x11de98,_0x191419,_0x36129e)=>{const _0x3dffdb=_0x3238bf;for(var _0x123276=_0x36129e>0x1?void 0x0:_0x36129e?xa(_0x11de98,_0x191419):_0x11de98,_0x26af2b=_0xeb5f57[_0x3dffdb(0x325)]-0x1,_0x5c71ca;_0x26af2b>=0x0;_0x26af2b--)(_0x5c71ca=_0xeb5f57[_0x26af2b])&&(_0x123276=(_0x36129e?_0x5c71ca(_0x11de98,_0x191419,_0x123276):_0x5c71ca(_0x123276))||_0x123276);return _0x36129e&&_0x123276&&Ma(_0x11de98,_0x191419,_0x123276),_0x123276;},Wt=(_0x342007,_0x2d9c8c)=>(_0xc7dffc,_0x174574)=>_0x2d9c8c(_0xc7dffc,_0x174574,_0x342007);let Et=class{constructor(_0x750d2b,_0x5539b6,_0x3954e8){const _0x1aff4e=_0x3238bf;this[_0x1aff4e(0x330)]=_0x750d2b,this[_0x1aff4e(0x276)]=_0x5539b6,this[_0x1aff4e(0x391)]=_0x3954e8,this[_0x1aff4e(0x264)]();}[_0x3238bf(0x264)](){const _0x5c4b77=_0x3238bf;this['_httpService'][_0x5c4b77(0x351)]({'priority':0x1,'interceptor':(_0x44256e,_0x11bc6f)=>_0x11bc6f(_0x44256e)[_0x5c4b77(0x380)](_0x46d7c7(async _0x2d7631=>{const _0x1c025a=_0x5c4b77,_0x13d05f=_0x2d7631;if(_0x13d05f[_0x1c025a(0x17b)]===0x191&&window[_0x1c025a(0x4e5)](this[_0x1c025a(0x391)]['t'](_0x1c025a(0x417)))){const _0x22b70e=window['encodeURIComponent'](window[_0x1c025a(0x3f3)][_0x1c025a(0x46c)]);window[_0x1c025a(0x3f3)][_0x1c025a(0x46c)]=this['_getLoginPath']()+_0x1c025a(0x316)+_0x22b70e;}return _0x13d05f;}))});}['_getLoginPath'](){const _0x9978c4=_0x3238bf;var _0x350bc1,_0x3a8d43;const _0xfc5a35=this[_0x9978c4(0x330)][_0x9978c4(0x404)](br),_0x1a9bf5=this['_configService'][_0x9978c4(0x404)](ie);return(_0x3a8d43=(_0x350bc1=_0x1a9bf5==null?void 0x0:_0x1a9bf5[_0x9978c4(0x34a)])!=null?_0x350bc1:_0xfc5a35)!=null?_0x3a8d43:Tr;}};Et=La([Wt(0x0,_0x12cd24),Wt(0x1,_0x4a2654(_0x4ca339)),Wt(0x2,_0x4a2654(_0xc7611d))],Et);var $a=Object[_0x3238bf(0x535)],Ha=Object['getOwnPropertyDescriptor'],ja=(_0xc92c11,_0x23e2c9,_0x57008,_0x4581d9)=>{const _0x2572b1=_0x3238bf;for(var _0x3edc4e=_0x4581d9>0x1?void 0x0:_0x4581d9?Ha(_0x23e2c9,_0x57008):_0x23e2c9,_0x14e9e8=_0xc92c11[_0x2572b1(0x325)]-0x1,_0x386b29;_0x14e9e8>=0x0;_0x14e9e8--)(_0x386b29=_0xc92c11[_0x14e9e8])&&(_0x3edc4e=(_0x4581d9?_0x386b29(_0x23e2c9,_0x57008,_0x3edc4e):_0x386b29(_0x3edc4e))||_0x3edc4e);return _0x4581d9&&_0x3edc4e&&$a(_0x23e2c9,_0x57008,_0x3edc4e),_0x3edc4e;},qs=(_0x5ca1c9,_0x83aaa0)=>(_0x263a4f,_0x5d59a9)=>_0x83aaa0(_0x263a4f,_0x5d59a9,_0x5ca1c9);const Ba='AUTHZ_URL_KEY',ka=_0x3238bf(0x555);let cs=class extends _0x1bec45{constructor(_0x16b460,_0x115679){const _0xe3bce8=_0x3238bf;super(),this[_0xe3bce8(0x42e)]=_0x16b460,this[_0xe3bce8(0x330)]=_0x115679,this[_0xe3bce8(0x2a4)]();}[_0x3238bf(0x2a4)](){const _0xeea09c=_0x3238bf,_0x199a96=this;this['disposeWithMe'](this[_0xeea09c(0x42e)][_0xeea09c(0x351)]({'priority':0x3e7,'interceptor':_0x391dde({'isMatch'(_0x3e8388){const _0x42b81f=_0xeea09c;var _0x3f7972;if(_0x3e8388['method']===_0x42b81f(0x22f)&&((_0x3f7972=_0x3e8388[_0x42b81f(0x4b3)])!=null&&_0x3f7972[_0x42b81f(0x3bd)])){const {objectID:_0x42e8ca,objectType:_0x368c97}=_0x3e8388[_0x42b81f(0x4b3)][_0x42b81f(0x3bd)]||{};if(!_0x42e8ca||_0x368c97===void 0x0)return!0x1;const _0x413e56=_0x199a96[_0x42b81f(0x444)]()+'/'+_0x368c97+'/object/'+_0x42e8ca+'/allowed';if(_0x3e8388[_0x42b81f(0x186)]===_0x413e56)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4b8afd){const _0x230313=_0xeea09c;var _0x285c0c;return(_0x285c0c=_0x4b8afd[_0x230313(0x4b3)])==null?void 0x0:_0x285c0c[_0x230313(0x3bd)];},'mergeParamsToRequest'(_0x77f09f,_0x3b884a){const _0x4d7d34=_0xeea09c,_0x58ba33=_0x199a96[_0x4d7d34(0x444)]()+_0x4d7d34(0x31e),_0xc2cab5=_0x77f09f[_0x4d7d34(0x44f)]((_0x133253,_0x495bfb)=>{const _0x243590=_0x4d7d34,{unitID:_0xabebe2,objectID:_0x3f9f5d,objectType:_0x2eba06,actions:_0x3efaaf}=_0x495bfb;return _0x133253[_0xabebe2]||(_0x133253[_0xabebe2]={}),_0x133253[_0xabebe2][_0x3f9f5d]||(_0x133253[_0xabebe2][_0x3f9f5d]={'objectID':_0x3f9f5d,'objectType':_0x2eba06,'actions':[]}),_0x133253[_0xabebe2][_0x3f9f5d][_0x243590(0x28c)][_0x243590(0x419)](..._0x3efaaf),_0x133253;},{}),_0x5f0c75=[];for(const _0xb74459 in _0xc2cab5)for(const _0x149c95 in _0xc2cab5[_0xb74459]){const {actions:_0x2ba74e,objectType:_0x522e09}=_0xc2cab5[_0xb74459][_0x149c95],_0x9fd06=[...new Set(_0x2ba74e)];_0x5f0c75[_0x4d7d34(0x419)]({'unitID':_0xb74459,'objectID':_0x149c95,'objectType':_0x522e09,'actions':_0x9fd06});}return new _0x9398ae(_0x4d7d34(0x22f),_0x58ba33,{'headers':_0x3b884a[_0x4d7d34(0x3c4)],'withCredentials':_0x3b884a[_0x4d7d34(0x425)],'responseType':_0x3b884a[_0x4d7d34(0x4ef)],'body':{'requests':_0x5f0c75}});}},{'distributeResult'(_0x98ed8b,_0x12067c){const {objectActions:_0x503883}=_0x98ed8b;return _0x12067c['map'](_0x21d00d=>{const _0x5446a=_0x466f,{unitID:_0x199130,objectID:_0x1d6958,actions:_0x2267a8}=_0x21d00d,_0x10656f=_0x503883[_0x5446a(0x283)](_0x2b03fc=>_0x2b03fc[_0x5446a(0x4e9)]===_0x199130&&_0x2b03fc['objectID']===_0x1d6958),_0x3b7a44=_0x2267a8[_0x5446a(0x192)](_0x42b669=>_0x10656f==null?void 0x0:_0x10656f[_0x5446a(0x28c)][_0x5446a(0x283)](_0x4cfcce=>_0x4cfcce[_0x5446a(0x274)]===_0x42b669))[_0x5446a(0x295)](_0x565922=>!!_0x565922);return{'config':_0x21d00d,'result':{'actions':_0x3b7a44,'error':_0x98ed8b[_0x5446a(0x241)]}};});}})}));}[_0x3238bf(0x444)](){const _0x319fed=_0x3238bf;var _0x42fb2a,_0x4e11e6;const _0x38e5de=this[_0x319fed(0x330)][_0x319fed(0x404)](Ba),_0x2c283a=this['_configService'][_0x319fed(0x404)](ie);return(_0x4e11e6=(_0x42fb2a=_0x2c283a==null?void 0x0:_0x2c283a['authzUrl'])!=null?_0x42fb2a:_0x38e5de)!=null?_0x4e11e6:ka;}async[_0x3238bf(0x371)](_0xd65510){const _0x1e8c89=_0x3238bf,_0x360bf8=this[_0x1e8c89(0x444)]()+'/'+_0xd65510[_0x1e8c89(0x523)]+_0x1e8c89(0x41e);return(await this[_0x1e8c89(0x42e)][_0x1e8c89(0x4b2)](_0x360bf8,{'body':_0xd65510}))['body']['objectID']||'';}async[_0x3238bf(0x3a6)](_0x44e779){const _0x6ee85e=_0x3238bf,_0x40f345=this[_0x6ee85e(0x444)]()+_0x6ee85e(0x511);return(await this[_0x6ee85e(0x42e)][_0x6ee85e(0x4b2)](_0x40f345,{'body':_0x44e779}))[_0x6ee85e(0x3bd)][_0x6ee85e(0x4e7)];}async[_0x3238bf(0x201)](_0x35b2eb){const _0x9c0550=_0x3238bf,_0x2d1c04=this[_0x9c0550(0x444)]()+'/'+_0x35b2eb[_0x9c0550(0x523)]+'/object/'+_0x35b2eb['objectID'];await this[_0x9c0550(0x42e)][_0x9c0550(0x1e1)](_0x2d1c04,{'body':_0x35b2eb});}async[_0x3238bf(0x406)](_0x40dfef){const _0x52f1ff=_0x3238bf,_0x1c8594=this[_0x52f1ff(0x444)]()+'/'+_0x40dfef[_0x52f1ff(0x523)]+_0x52f1ff(0x3ab)+_0x40dfef['objectID']+'/allowed';return(await this[_0x52f1ff(0x42e)][_0x52f1ff(0x4b2)](_0x1c8594,{'body':_0x40dfef}))['body'][_0x52f1ff(0x28c)];}async['batchAllowed'](_0x5a945e){const _0x301548=_0x3238bf,_0x3eb439=this[_0x301548(0x444)]()+'/-/object/-/batch_allowed';return(await this[_0x301548(0x42e)][_0x301548(0x4b2)](_0x3eb439,{'body':{'requests':_0x5a945e}}))[_0x301548(0x3bd)]['objectActions'];}async[_0x3238bf(0x44e)](_0x498442){const _0x5967eb=_0x3238bf,_0x545b76=this[_0x5967eb(0x444)]()+'/'+_0x498442[_0x5967eb(0x523)]+'/role',_0x4fcbc5=await this['_HTTPService'][_0x5967eb(0x4b2)](_0x545b76,{'body':_0x498442});return{'roles':_0x4fcbc5[_0x5967eb(0x3bd)][_0x5967eb(0x418)],'actions':_0x4fcbc5[_0x5967eb(0x3bd)]['actions']};}async['deleteCollaborator'](_0x3a1477){const _0x1c995f=_0x3238bf,_0x402dfd=this[_0x1c995f(0x444)]()+_0x1c995f(0x3b7);await this['_HTTPService'][_0x1c995f(0x45a)](_0x402dfd,{'params':{'collaboratorID':_0x3a1477[_0x1c995f(0x2c6)],'objectID':_0x3a1477[_0x1c995f(0x20d)],'unitID':_0x3a1477[_0x1c995f(0x4e9)]}});}async[_0x3238bf(0x1e4)](_0x58e063){const _0x61d282=_0x3238bf,_0x578ac9=this['_getAPIPrefixPath']()+_0x61d282(0x3b7);await this['_HTTPService'][_0x61d282(0x44c)](_0x578ac9,{'body':_0x58e063});}async[_0x3238bf(0x4eb)](_0x442ce3){const _0x19a9a4=_0x3238bf,_0x39e220=this[_0x19a9a4(0x444)]()+_0x19a9a4(0x3b7);await this[_0x19a9a4(0x42e)]['post'](_0x39e220,{'body':_0x442ce3});}async[_0x3238bf(0x41c)](_0x3a23c5){const _0x3777b5=_0x3238bf,_0x3488cf=this[_0x3777b5(0x444)]()+_0x3777b5(0x3b7);return(await this[_0x3777b5(0x42e)][_0x3777b5(0x3a5)](_0x3488cf,{'params':{'objectID':_0x3a23c5[_0x3777b5(0x20d)],'unitID':_0x3a23c5['unitID']}}))[_0x3777b5(0x3bd)][_0x3777b5(0x27a)];}async['putCollaborators'](_0x22d9ef){const _0x4beebf=_0x3238bf,_0x24ea1e=this[_0x4beebf(0x444)]()+_0x4beebf(0x3b7);await this[_0x4beebf(0x42e)][_0x4beebf(0x1e1)](_0x24ea1e,{'body':_0x22d9ef});}};cs=ja([qs(0x0,_0x4a2654(_0x4ca339)),qs(0x1,_0x4a2654(_0x12cd24))],cs);var ki={'exports':{}};function Wa(_0x4fa717){const _0x34b5f8=_0x3238bf;throw new Error(_0x34b5f8(0x25b)+_0x4fa717+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ft={'exports':{}},Xs;function ue(){const _0x2ee71b=_0x3238bf;return Xs||(Xs=0x1,function(_0x4387fe,_0x6df90){(function(_0x57fec1,_0x2a7f04){_0x4387fe['exports']=_0x2a7f04();}(Z,function(){var _0x2e9e5d=_0x2e9e5d||function(_0xe209ff,_0x486aad){const _0x2abac2=_0x466f;var _0x3858e6;if(typeof window<'u'&&window[_0x2abac2(0x149)]&&(_0x3858e6=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x3858e6=self[_0x2abac2(0x149)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3858e6=globalThis[_0x2abac2(0x149)]),!_0x3858e6&&typeof window<'u'&&window[_0x2abac2(0x18d)]&&(_0x3858e6=window[_0x2abac2(0x18d)]),!_0x3858e6&&typeof Z<'u'&&Z[_0x2abac2(0x149)]&&(_0x3858e6=Z[_0x2abac2(0x149)]),!_0x3858e6&&typeof Wa=='function')try{_0x3858e6=require('crypto');}catch{}var _0x96ed67=function(){const _0x13faea=_0x2abac2;if(_0x3858e6){if(typeof _0x3858e6[_0x13faea(0x441)]==_0x13faea(0x16e))try{return _0x3858e6[_0x13faea(0x441)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3858e6[_0x13faea(0x506)]==_0x13faea(0x16e))try{return _0x3858e6[_0x13faea(0x506)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x13faea(0x554));},_0x1d4809=Object[_0x2abac2(0x371)]||(function(){function _0x174a4a(){}return function(_0x4296a9){const _0x13210b=_0x466f;var _0xcca9d0;return _0x174a4a[_0x13210b(0x439)]=_0x4296a9,_0xcca9d0=new _0x174a4a(),_0x174a4a[_0x13210b(0x439)]=null,_0xcca9d0;};}()),_0x5f24ba={},_0x3611e0=_0x5f24ba[_0x2abac2(0x187)]={},_0x40c930=_0x3611e0[_0x2abac2(0x2f1)]=(function(){return{'extend':function(_0x2517cf){const _0x295f7a=_0x466f;var _0x1a81ce=_0x1d4809(this);return _0x2517cf&&_0x1a81ce[_0x295f7a(0x233)](_0x2517cf),(!_0x1a81ce[_0x295f7a(0x1b1)](_0x295f7a(0x264))||this[_0x295f7a(0x264)]===_0x1a81ce[_0x295f7a(0x264)])&&(_0x1a81ce['init']=function(){_0x1a81ce['$super']['init']['apply'](this,arguments);}),_0x1a81ce[_0x295f7a(0x264)][_0x295f7a(0x439)]=_0x1a81ce,_0x1a81ce[_0x295f7a(0x25d)]=this,_0x1a81ce;},'create':function(){const _0x5c291c=_0x466f;var _0x9a29e0=this[_0x5c291c(0x50f)]();return _0x9a29e0['init'][_0x5c291c(0x4f9)](_0x9a29e0,arguments),_0x9a29e0;},'init':function(){},'mixIn':function(_0x5e1c23){const _0xd6eab0=_0x466f;for(var _0x54293c in _0x5e1c23)_0x5e1c23[_0xd6eab0(0x1b1)](_0x54293c)&&(this[_0x54293c]=_0x5e1c23[_0x54293c]);_0x5e1c23[_0xd6eab0(0x1b1)]('toString')&&(this['toString']=_0x5e1c23[_0xd6eab0(0x1b8)]);},'clone':function(){const _0x1ceff3=_0x466f;return this[_0x1ceff3(0x264)][_0x1ceff3(0x439)][_0x1ceff3(0x50f)](this);}};}()),_0x2b49c9=_0x3611e0['WordArray']=_0x40c930[_0x2abac2(0x50f)]({'init':function(_0x417a89,_0x1ee5f7){const _0x1480b7=_0x2abac2;_0x417a89=this['words']=_0x417a89||[],_0x1ee5f7!=_0x486aad?this['sigBytes']=_0x1ee5f7:this[_0x1480b7(0x312)]=_0x417a89[_0x1480b7(0x325)]*0x4;},'toString':function(_0x54ed49){const _0xb90815=_0x2abac2;return(_0x54ed49||_0x2ccfdd)[_0xb90815(0x2a3)](this);},'concat':function(_0x141831){const _0x25a35a=_0x2abac2;var _0x2c82f4=this['words'],_0x34abf0=_0x141831['words'],_0x37ee1f=this[_0x25a35a(0x312)],_0x39472e=_0x141831[_0x25a35a(0x312)];if(this['clamp'](),_0x37ee1f%0x4)for(var _0x5e9d90=0x0;_0x5e9d90<_0x39472e;_0x5e9d90++){var _0x4fd010=_0x34abf0[_0x5e9d90>>>0x2]>>>0x18-_0x5e9d90%0x4*0x8&0xff;_0x2c82f4[_0x37ee1f+_0x5e9d90>>>0x2]|=_0x4fd010<<0x18-(_0x37ee1f+_0x5e9d90)%0x4*0x8;}else{for(var _0x4ba7fc=0x0;_0x4ba7fc<_0x39472e;_0x4ba7fc+=0x4)_0x2c82f4[_0x37ee1f+_0x4ba7fc>>>0x2]=_0x34abf0[_0x4ba7fc>>>0x2];}return this[_0x25a35a(0x312)]+=_0x39472e,this;},'clamp':function(){const _0x301473=_0x2abac2;var _0x5a5bea=this[_0x301473(0x142)],_0x4a7b0a=this['sigBytes'];_0x5a5bea[_0x4a7b0a>>>0x2]&=0xffffffff<<0x20-_0x4a7b0a%0x4*0x8,_0x5a5bea[_0x301473(0x325)]=_0xe209ff[_0x301473(0x373)](_0x4a7b0a/0x4);},'clone':function(){const _0x1d5ed4=_0x2abac2;var _0x5a067f=_0x40c930[_0x1d5ed4(0x53c)][_0x1d5ed4(0x46d)](this);return _0x5a067f[_0x1d5ed4(0x142)]=this[_0x1d5ed4(0x142)][_0x1d5ed4(0x423)](0x0),_0x5a067f;},'random':function(_0x37d753){const _0x21eb09=_0x2abac2;for(var _0x149128=[],_0x416a45=0x0;_0x416a45<_0x37d753;_0x416a45+=0x4)_0x149128[_0x21eb09(0x419)](_0x96ed67());return new _0x2b49c9['init'](_0x149128,_0x37d753);}}),_0x2bd911=_0x5f24ba[_0x2abac2(0x40e)]={},_0x2ccfdd=_0x2bd911[_0x2abac2(0x168)]={'stringify':function(_0x549404){const _0x133e4b=_0x2abac2;for(var _0xb3c8a0=_0x549404['words'],_0x47f75f=_0x549404[_0x133e4b(0x312)],_0x116399=[],_0x42d476=0x0;_0x42d476<_0x47f75f;_0x42d476++){var _0x5699b6=_0xb3c8a0[_0x42d476>>>0x2]>>>0x18-_0x42d476%0x4*0x8&0xff;_0x116399[_0x133e4b(0x419)]((_0x5699b6>>>0x4)[_0x133e4b(0x1b8)](0x10)),_0x116399['push']((_0x5699b6&0xf)['toString'](0x10));}return _0x116399[_0x133e4b(0x1ba)]('');},'parse':function(_0x5b286e){const _0x175579=_0x2abac2;for(var _0x877675=_0x5b286e[_0x175579(0x325)],_0x30119e=[],_0x290d3a=0x0;_0x290d3a<_0x877675;_0x290d3a+=0x2)_0x30119e[_0x290d3a>>>0x3]|=parseInt(_0x5b286e[_0x175579(0x4d8)](_0x290d3a,0x2),0x10)<<0x18-_0x290d3a%0x8*0x4;return new _0x2b49c9[(_0x175579(0x264))](_0x30119e,_0x877675/0x2);}},_0x3614ec=_0x2bd911['Latin1']={'stringify':function(_0x519778){const _0x1fd62f=_0x2abac2;for(var _0x1e570a=_0x519778[_0x1fd62f(0x142)],_0x4d1886=_0x519778[_0x1fd62f(0x312)],_0x310af3=[],_0x17f6bd=0x0;_0x17f6bd<_0x4d1886;_0x17f6bd++){var _0x579244=_0x1e570a[_0x17f6bd>>>0x2]>>>0x18-_0x17f6bd%0x4*0x8&0xff;_0x310af3[_0x1fd62f(0x419)](String[_0x1fd62f(0x427)](_0x579244));}return _0x310af3[_0x1fd62f(0x1ba)]('');},'parse':function(_0x2d4e95){const _0x4a3ed8=_0x2abac2;for(var _0x1535e9=_0x2d4e95[_0x4a3ed8(0x325)],_0x3483a8=[],_0x54b107=0x0;_0x54b107<_0x1535e9;_0x54b107++)_0x3483a8[_0x54b107>>>0x2]|=(_0x2d4e95[_0x4a3ed8(0x1e2)](_0x54b107)&0xff)<<0x18-_0x54b107%0x4*0x8;return new _0x2b49c9['init'](_0x3483a8,_0x1535e9);}},_0x643054=_0x2bd911['Utf8']={'stringify':function(_0x5ea095){const _0x2ddfa5=_0x2abac2;try{return decodeURIComponent(escape(_0x3614ec[_0x2ddfa5(0x2a3)](_0x5ea095)));}catch{throw new Error(_0x2ddfa5(0x4a1));}},'parse':function(_0x233fee){const _0x2bec91=_0x2abac2;return _0x3614ec[_0x2bec91(0x47a)](unescape(encodeURIComponent(_0x233fee)));}},_0x3ae358=_0x3611e0[_0x2abac2(0x2f3)]=_0x40c930['extend']({'reset':function(){const _0x4521e9=_0x2abac2;this[_0x4521e9(0x429)]=new _0x2b49c9['init'](),this[_0x4521e9(0x4d2)]=0x0;},'_append':function(_0x3d54c0){const _0x497172=_0x2abac2;typeof _0x3d54c0==_0x497172(0x303)&&(_0x3d54c0=_0x643054[_0x497172(0x47a)](_0x3d54c0)),this[_0x497172(0x429)][_0x497172(0x4e0)](_0x3d54c0),this[_0x497172(0x4d2)]+=_0x3d54c0[_0x497172(0x312)];},'_process':function(_0x22b603){const _0xe9c82b=_0x2abac2;var _0x4140cb,_0xcefefa=this[_0xe9c82b(0x429)],_0xa5cd34=_0xcefefa[_0xe9c82b(0x142)],_0x11db71=_0xcefefa[_0xe9c82b(0x312)],_0x19f38d=this[_0xe9c82b(0x314)],_0x56ec15=_0x19f38d*0x4,_0x1998e2=_0x11db71/_0x56ec15;_0x22b603?_0x1998e2=_0xe209ff['ceil'](_0x1998e2):_0x1998e2=_0xe209ff['max']((_0x1998e2|0x0)-this['_minBufferSize'],0x0);var _0x61cd42=_0x1998e2*_0x19f38d,_0x13bd35=_0xe209ff['min'](_0x61cd42*0x4,_0x11db71);if(_0x61cd42){for(var _0x1cc055=0x0;_0x1cc055<_0x61cd42;_0x1cc055+=_0x19f38d)this[_0xe9c82b(0x27b)](_0xa5cd34,_0x1cc055);_0x4140cb=_0xa5cd34[_0xe9c82b(0x47e)](0x0,_0x61cd42),_0xcefefa['sigBytes']-=_0x13bd35;}return new _0x2b49c9[(_0xe9c82b(0x264))](_0x4140cb,_0x13bd35);},'clone':function(){const _0x123775=_0x2abac2;var _0x52759e=_0x40c930['clone'][_0x123775(0x46d)](this);return _0x52759e['_data']=this['_data'][_0x123775(0x53c)](),_0x52759e;},'_minBufferSize':0x0});_0x3611e0[_0x2abac2(0x549)]=_0x3ae358[_0x2abac2(0x50f)]({'cfg':_0x40c930[_0x2abac2(0x50f)](),'init':function(_0x231a4f){const _0x9f05db=_0x2abac2;this[_0x9f05db(0x33d)]=this[_0x9f05db(0x33d)][_0x9f05db(0x50f)](_0x231a4f),this['reset']();},'reset':function(){const _0x420255=_0x2abac2;_0x3ae358[_0x420255(0x458)][_0x420255(0x46d)](this),this[_0x420255(0x20e)]();},'update':function(_0x1be58b){const _0x5816b5=_0x2abac2;return this[_0x5816b5(0x243)](_0x1be58b),this[_0x5816b5(0x4da)](),this;},'finalize':function(_0x37cd39){const _0x3938eb=_0x2abac2;_0x37cd39&&this[_0x3938eb(0x243)](_0x37cd39);var _0x8b0a11=this[_0x3938eb(0x268)]();return _0x8b0a11;},'blockSize':0x10,'_createHelper':function(_0x2c9f67){return function(_0x10000f,_0x49ec5d){const _0x358847=_0x466f;return new _0x2c9f67[(_0x358847(0x264))](_0x49ec5d)[_0x358847(0x3dd)](_0x10000f);};},'_createHmacHelper':function(_0x14fdc3){return function(_0x3690a3,_0x476f7c){const _0x56b9ea=_0x466f;return new _0x171803[(_0x56b9ea(0x52b))]['init'](_0x14fdc3,_0x476f7c)[_0x56b9ea(0x3dd)](_0x3690a3);};}});var _0x171803=_0x5f24ba[_0x2abac2(0x4c5)]={};return _0x5f24ba;}(Math);return _0x2e9e5d;}));}(Ft)),Ft[_0x2ee71b(0x354)];}var Vt={'exports':{}},Js;function Wi(){const _0x5baf70=_0x3238bf;return Js||(Js=0x1,function(_0x1fe998,_0x59d2e3){(function(_0x472074,_0x294481){const _0x253a3f=_0x466f;_0x1fe998[_0x253a3f(0x354)]=_0x294481(ue());}(Z,function(_0x2bfad1){const _0x485786=_0x466f;return(function(){const _0x3db4db=_0x466f;var _0x353865=_0x2bfad1,_0x412422=_0x353865['lib'],_0x2731fe=_0x412422[_0x3db4db(0x1dd)],_0x32e33f=_0x353865[_0x3db4db(0x40e)];_0x32e33f[_0x3db4db(0x47f)]={'stringify':function(_0x4c5c93){const _0x174c60=_0x3db4db;var _0x42f2a4=_0x4c5c93[_0x174c60(0x142)],_0x5c7956=_0x4c5c93['sigBytes'],_0x3fdbfe=this[_0x174c60(0x37b)];_0x4c5c93[_0x174c60(0x2bc)]();for(var _0xa5c0a7=[],_0x41757b=0x0;_0x41757b<_0x5c7956;_0x41757b+=0x3)for(var _0x131bf5=_0x42f2a4[_0x41757b>>>0x2]>>>0x18-_0x41757b%0x4*0x8&0xff,_0x112545=_0x42f2a4[_0x41757b+0x1>>>0x2]>>>0x18-(_0x41757b+0x1)%0x4*0x8&0xff,_0x212875=_0x42f2a4[_0x41757b+0x2>>>0x2]>>>0x18-(_0x41757b+0x2)%0x4*0x8&0xff,_0x1fc551=_0x131bf5<<0x10|_0x112545<<0x8|_0x212875,_0x4d8de8=0x0;_0x4d8de8<0x4&&_0x41757b+_0x4d8de8*0.75<_0x5c7956;_0x4d8de8++)_0xa5c0a7[_0x174c60(0x419)](_0x3fdbfe[_0x174c60(0x27c)](_0x1fc551>>>0x6*(0x3-_0x4d8de8)&0x3f));var _0x2a1904=_0x3fdbfe[_0x174c60(0x27c)](0x40);if(_0x2a1904){for(;_0xa5c0a7[_0x174c60(0x325)]%0x4;)_0xa5c0a7[_0x174c60(0x419)](_0x2a1904);}return _0xa5c0a7[_0x174c60(0x1ba)]('');},'parse':function(_0x112273){const _0x2abda3=_0x3db4db;var _0x2be146=_0x112273['length'],_0x1e3691=this[_0x2abda3(0x37b)],_0x39f8b8=this[_0x2abda3(0x3b1)];if(!_0x39f8b8){_0x39f8b8=this[_0x2abda3(0x3b1)]=[];for(var _0x3c5efb=0x0;_0x3c5efb<_0x1e3691[_0x2abda3(0x325)];_0x3c5efb++)_0x39f8b8[_0x1e3691['charCodeAt'](_0x3c5efb)]=_0x3c5efb;}var _0x28994b=_0x1e3691[_0x2abda3(0x27c)](0x40);if(_0x28994b){var _0x28401f=_0x112273[_0x2abda3(0x33e)](_0x28994b);_0x28401f!==-0x1&&(_0x2be146=_0x28401f);}return _0x367dcc(_0x112273,_0x2be146,_0x39f8b8);},'_map':_0x3db4db(0x4bf)};function _0x367dcc(_0x15d0a0,_0x84b50,_0x213f44){const _0x34ab84=_0x3db4db;for(var _0x5cb224=[],_0xbc23cf=0x0,_0x4800ae=0x0;_0x4800ae<_0x84b50;_0x4800ae++)if(_0x4800ae%0x4){var _0x55abc1=_0x213f44[_0x15d0a0[_0x34ab84(0x1e2)](_0x4800ae-0x1)]<<_0x4800ae%0x4*0x2,_0x2dba30=_0x213f44[_0x15d0a0[_0x34ab84(0x1e2)](_0x4800ae)]>>>0x6-_0x4800ae%0x4*0x2,_0x822295=_0x55abc1|_0x2dba30;_0x5cb224[_0xbc23cf>>>0x2]|=_0x822295<<0x18-_0xbc23cf%0x4*0x8,_0xbc23cf++;}return _0x2731fe['create'](_0x5cb224,_0xbc23cf);}}()),_0x2bfad1[_0x485786(0x40e)][_0x485786(0x47f)];}));}(Vt)),Vt[_0x5baf70(0x354)];}var Gt={'exports':{}},Zs;function Fa(){const _0x87de9f=_0x3238bf;return Zs||(Zs=0x1,function(_0x5e198a,_0x209e67){(function(_0x26a6e2,_0x29a81e){const _0x51466e=_0x466f;_0x5e198a[_0x51466e(0x354)]=_0x29a81e(ue());}(Z,function(_0x3117b9){const _0x5b3f3f=_0x466f;return function(_0x468543){const _0x54d3d6=_0x466f;var _0x3c08da=_0x3117b9,_0x18e7d9=_0x3c08da['lib'],_0x1b0128=_0x18e7d9['WordArray'],_0x3c8699=_0x18e7d9[_0x54d3d6(0x549)],_0x4529d5=_0x3c08da[_0x54d3d6(0x4c5)],_0x1dbc34=[];(function(){const _0x1f9b61=_0x54d3d6;for(var _0x228406=0x0;_0x228406<0x40;_0x228406++)_0x1dbc34[_0x228406]=_0x468543[_0x1f9b61(0x1d3)](_0x468543[_0x1f9b61(0x2c0)](_0x228406+0x1))*0x100000000|0x0;}());var _0x2c786d=_0x4529d5['MD5']=_0x3c8699[_0x54d3d6(0x50f)]({'_doReset':function(){const _0x17a546=_0x54d3d6;this[_0x17a546(0x508)]=new _0x1b0128[(_0x17a546(0x264))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x72249f,_0x2c04f5){const _0x2b6446=_0x54d3d6;for(var _0x41af15=0x0;_0x41af15<0x10;_0x41af15++){var _0x474aba=_0x2c04f5+_0x41af15,_0x37b22a=_0x72249f[_0x474aba];_0x72249f[_0x474aba]=(_0x37b22a<<0x8|_0x37b22a>>>0x18)&0xff00ff|(_0x37b22a<<0x18|_0x37b22a>>>0x8)&0xff00ff00;}var _0x1e0c8b=this[_0x2b6446(0x508)][_0x2b6446(0x142)],_0x3a4bfd=_0x72249f[_0x2c04f5+0x0],_0x2a9d55=_0x72249f[_0x2c04f5+0x1],_0x6c1e65=_0x72249f[_0x2c04f5+0x2],_0x2cf514=_0x72249f[_0x2c04f5+0x3],_0xaa717d=_0x72249f[_0x2c04f5+0x4],_0x2fa285=_0x72249f[_0x2c04f5+0x5],_0x366de7=_0x72249f[_0x2c04f5+0x6],_0x253f0c=_0x72249f[_0x2c04f5+0x7],_0x2b61d8=_0x72249f[_0x2c04f5+0x8],_0x492a1d=_0x72249f[_0x2c04f5+0x9],_0x4b369e=_0x72249f[_0x2c04f5+0xa],_0x1750ae=_0x72249f[_0x2c04f5+0xb],_0x31eea4=_0x72249f[_0x2c04f5+0xc],_0x1d422b=_0x72249f[_0x2c04f5+0xd],_0x39f822=_0x72249f[_0x2c04f5+0xe],_0x465f18=_0x72249f[_0x2c04f5+0xf],_0x50333b=_0x1e0c8b[0x0],_0x458721=_0x1e0c8b[0x1],_0x2a7071=_0x1e0c8b[0x2],_0x34bc7b=_0x1e0c8b[0x3];_0x50333b=_0x12ccbc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x3a4bfd,0x7,_0x1dbc34[0x0]),_0x34bc7b=_0x12ccbc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x2a9d55,0xc,_0x1dbc34[0x1]),_0x2a7071=_0x12ccbc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x6c1e65,0x11,_0x1dbc34[0x2]),_0x458721=_0x12ccbc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x2cf514,0x16,_0x1dbc34[0x3]),_0x50333b=_0x12ccbc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0xaa717d,0x7,_0x1dbc34[0x4]),_0x34bc7b=_0x12ccbc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x2fa285,0xc,_0x1dbc34[0x5]),_0x2a7071=_0x12ccbc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x366de7,0x11,_0x1dbc34[0x6]),_0x458721=_0x12ccbc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x253f0c,0x16,_0x1dbc34[0x7]),_0x50333b=_0x12ccbc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x2b61d8,0x7,_0x1dbc34[0x8]),_0x34bc7b=_0x12ccbc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x492a1d,0xc,_0x1dbc34[0x9]),_0x2a7071=_0x12ccbc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x4b369e,0x11,_0x1dbc34[0xa]),_0x458721=_0x12ccbc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x1750ae,0x16,_0x1dbc34[0xb]),_0x50333b=_0x12ccbc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x31eea4,0x7,_0x1dbc34[0xc]),_0x34bc7b=_0x12ccbc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x1d422b,0xc,_0x1dbc34[0xd]),_0x2a7071=_0x12ccbc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x39f822,0x11,_0x1dbc34[0xe]),_0x458721=_0x12ccbc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x465f18,0x16,_0x1dbc34[0xf]),_0x50333b=_0x1c5ccc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x2a9d55,0x5,_0x1dbc34[0x10]),_0x34bc7b=_0x1c5ccc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x366de7,0x9,_0x1dbc34[0x11]),_0x2a7071=_0x1c5ccc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x1750ae,0xe,_0x1dbc34[0x12]),_0x458721=_0x1c5ccc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x3a4bfd,0x14,_0x1dbc34[0x13]),_0x50333b=_0x1c5ccc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x2fa285,0x5,_0x1dbc34[0x14]),_0x34bc7b=_0x1c5ccc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x4b369e,0x9,_0x1dbc34[0x15]),_0x2a7071=_0x1c5ccc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x465f18,0xe,_0x1dbc34[0x16]),_0x458721=_0x1c5ccc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0xaa717d,0x14,_0x1dbc34[0x17]),_0x50333b=_0x1c5ccc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x492a1d,0x5,_0x1dbc34[0x18]),_0x34bc7b=_0x1c5ccc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x39f822,0x9,_0x1dbc34[0x19]),_0x2a7071=_0x1c5ccc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x2cf514,0xe,_0x1dbc34[0x1a]),_0x458721=_0x1c5ccc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x2b61d8,0x14,_0x1dbc34[0x1b]),_0x50333b=_0x1c5ccc(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x1d422b,0x5,_0x1dbc34[0x1c]),_0x34bc7b=_0x1c5ccc(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x6c1e65,0x9,_0x1dbc34[0x1d]),_0x2a7071=_0x1c5ccc(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x253f0c,0xe,_0x1dbc34[0x1e]),_0x458721=_0x1c5ccc(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x31eea4,0x14,_0x1dbc34[0x1f]),_0x50333b=_0x5c2190(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x2fa285,0x4,_0x1dbc34[0x20]),_0x34bc7b=_0x5c2190(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x2b61d8,0xb,_0x1dbc34[0x21]),_0x2a7071=_0x5c2190(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x1750ae,0x10,_0x1dbc34[0x22]),_0x458721=_0x5c2190(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x39f822,0x17,_0x1dbc34[0x23]),_0x50333b=_0x5c2190(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x2a9d55,0x4,_0x1dbc34[0x24]),_0x34bc7b=_0x5c2190(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0xaa717d,0xb,_0x1dbc34[0x25]),_0x2a7071=_0x5c2190(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x253f0c,0x10,_0x1dbc34[0x26]),_0x458721=_0x5c2190(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x4b369e,0x17,_0x1dbc34[0x27]),_0x50333b=_0x5c2190(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x1d422b,0x4,_0x1dbc34[0x28]),_0x34bc7b=_0x5c2190(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x3a4bfd,0xb,_0x1dbc34[0x29]),_0x2a7071=_0x5c2190(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x2cf514,0x10,_0x1dbc34[0x2a]),_0x458721=_0x5c2190(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x366de7,0x17,_0x1dbc34[0x2b]),_0x50333b=_0x5c2190(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x492a1d,0x4,_0x1dbc34[0x2c]),_0x34bc7b=_0x5c2190(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x31eea4,0xb,_0x1dbc34[0x2d]),_0x2a7071=_0x5c2190(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x465f18,0x10,_0x1dbc34[0x2e]),_0x458721=_0x5c2190(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x6c1e65,0x17,_0x1dbc34[0x2f]),_0x50333b=_0x24448d(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x3a4bfd,0x6,_0x1dbc34[0x30]),_0x34bc7b=_0x24448d(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x253f0c,0xa,_0x1dbc34[0x31]),_0x2a7071=_0x24448d(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x39f822,0xf,_0x1dbc34[0x32]),_0x458721=_0x24448d(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x2fa285,0x15,_0x1dbc34[0x33]),_0x50333b=_0x24448d(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x31eea4,0x6,_0x1dbc34[0x34]),_0x34bc7b=_0x24448d(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x2cf514,0xa,_0x1dbc34[0x35]),_0x2a7071=_0x24448d(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x4b369e,0xf,_0x1dbc34[0x36]),_0x458721=_0x24448d(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x2a9d55,0x15,_0x1dbc34[0x37]),_0x50333b=_0x24448d(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0x2b61d8,0x6,_0x1dbc34[0x38]),_0x34bc7b=_0x24448d(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x465f18,0xa,_0x1dbc34[0x39]),_0x2a7071=_0x24448d(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x366de7,0xf,_0x1dbc34[0x3a]),_0x458721=_0x24448d(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x1d422b,0x15,_0x1dbc34[0x3b]),_0x50333b=_0x24448d(_0x50333b,_0x458721,_0x2a7071,_0x34bc7b,_0xaa717d,0x6,_0x1dbc34[0x3c]),_0x34bc7b=_0x24448d(_0x34bc7b,_0x50333b,_0x458721,_0x2a7071,_0x1750ae,0xa,_0x1dbc34[0x3d]),_0x2a7071=_0x24448d(_0x2a7071,_0x34bc7b,_0x50333b,_0x458721,_0x6c1e65,0xf,_0x1dbc34[0x3e]),_0x458721=_0x24448d(_0x458721,_0x2a7071,_0x34bc7b,_0x50333b,_0x492a1d,0x15,_0x1dbc34[0x3f]),_0x1e0c8b[0x0]=_0x1e0c8b[0x0]+_0x50333b|0x0,_0x1e0c8b[0x1]=_0x1e0c8b[0x1]+_0x458721|0x0,_0x1e0c8b[0x2]=_0x1e0c8b[0x2]+_0x2a7071|0x0,_0x1e0c8b[0x3]=_0x1e0c8b[0x3]+_0x34bc7b|0x0;},'_doFinalize':function(){const _0x724757=_0x54d3d6;var _0x50ad11=this[_0x724757(0x429)],_0x5b54d7=_0x50ad11[_0x724757(0x142)],_0x2e55b2=this[_0x724757(0x4d2)]*0x8,_0x5da83e=_0x50ad11['sigBytes']*0x8;_0x5b54d7[_0x5da83e>>>0x5]|=0x80<<0x18-_0x5da83e%0x20;var _0x579b2e=_0x468543[_0x724757(0x3de)](_0x2e55b2/0x100000000),_0x5b926d=_0x2e55b2;_0x5b54d7[(_0x5da83e+0x40>>>0x9<<0x4)+0xf]=(_0x579b2e<<0x8|_0x579b2e>>>0x18)&0xff00ff|(_0x579b2e<<0x18|_0x579b2e>>>0x8)&0xff00ff00,_0x5b54d7[(_0x5da83e+0x40>>>0x9<<0x4)+0xe]=(_0x5b926d<<0x8|_0x5b926d>>>0x18)&0xff00ff|(_0x5b926d<<0x18|_0x5b926d>>>0x8)&0xff00ff00,_0x50ad11['sigBytes']=(_0x5b54d7[_0x724757(0x325)]+0x1)*0x4,this[_0x724757(0x4da)]();for(var _0x1470a7=this[_0x724757(0x508)],_0xa89df9=_0x1470a7['words'],_0x4b796d=0x0;_0x4b796d<0x4;_0x4b796d++){var _0x19c874=_0xa89df9[_0x4b796d];_0xa89df9[_0x4b796d]=(_0x19c874<<0x8|_0x19c874>>>0x18)&0xff00ff|(_0x19c874<<0x18|_0x19c874>>>0x8)&0xff00ff00;}return _0x1470a7;},'clone':function(){const _0x55558d=_0x54d3d6;var _0x315bb5=_0x3c8699[_0x55558d(0x53c)][_0x55558d(0x46d)](this);return _0x315bb5[_0x55558d(0x508)]=this[_0x55558d(0x508)][_0x55558d(0x53c)](),_0x315bb5;}});function _0x12ccbc(_0x503e3b,_0xb8a043,_0x53fc1a,_0x1fad00,_0x28b3c0,_0x593b1e,_0x3876a6){var _0x41c269=_0x503e3b+(_0xb8a043&_0x53fc1a|~_0xb8a043&_0x1fad00)+_0x28b3c0+_0x3876a6;return(_0x41c269<<_0x593b1e|_0x41c269>>>0x20-_0x593b1e)+_0xb8a043;}function _0x1c5ccc(_0x379400,_0x2165d4,_0x26a709,_0x55f37f,_0x5a072a,_0x10054c,_0x267af7){var _0x27034b=_0x379400+(_0x2165d4&_0x55f37f|_0x26a709&~_0x55f37f)+_0x5a072a+_0x267af7;return(_0x27034b<<_0x10054c|_0x27034b>>>0x20-_0x10054c)+_0x2165d4;}function _0x5c2190(_0x2062ee,_0x2ccf2c,_0x114b61,_0x35eeb1,_0x12273c,_0x287445,_0x117fb7){var _0x16ae09=_0x2062ee+(_0x2ccf2c^_0x114b61^_0x35eeb1)+_0x12273c+_0x117fb7;return(_0x16ae09<<_0x287445|_0x16ae09>>>0x20-_0x287445)+_0x2ccf2c;}function _0x24448d(_0x515df6,_0x453444,_0x161741,_0x18271c,_0x15cd9e,_0x4cb17e,_0x406298){var _0x54bd9f=_0x515df6+(_0x161741^(_0x453444|~_0x18271c))+_0x15cd9e+_0x406298;return(_0x54bd9f<<_0x4cb17e|_0x54bd9f>>>0x20-_0x4cb17e)+_0x453444;}_0x3c08da[_0x54d3d6(0x26a)]=_0x3c8699[_0x54d3d6(0x461)](_0x2c786d),_0x3c08da['HmacMD5']=_0x3c8699['_createHmacHelper'](_0x2c786d);}(Math),_0x3117b9[_0x5b3f3f(0x26a)];}));}(Gt)),Gt[_0x87de9f(0x354)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Va(){const _0x43c762=_0x3238bf;return Qs||(Qs=0x1,function(_0x32244a,_0x123fbe){(function(_0x594e72,_0x11605a){_0x32244a['exports']=_0x11605a(ue());}(Z,function(_0x12672d){return(function(){const _0x3447ac=_0x466f;var _0x154431=_0x12672d,_0x20d8a8=_0x154431[_0x3447ac(0x187)],_0x17186b=_0x20d8a8[_0x3447ac(0x1dd)],_0x2e6515=_0x20d8a8['Hasher'],_0x1cd484=_0x154431[_0x3447ac(0x4c5)],_0x469684=[],_0x60e561=_0x1cd484[_0x3447ac(0x528)]=_0x2e6515['extend']({'_doReset':function(){const _0x4e7655=_0x3447ac;this[_0x4e7655(0x508)]=new _0x17186b[(_0x4e7655(0x264))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x493905,_0x19fe03){const _0x50f82e=_0x3447ac;for(var _0x1de9ae=this[_0x50f82e(0x508)][_0x50f82e(0x142)],_0x56a5e9=_0x1de9ae[0x0],_0x11e208=_0x1de9ae[0x1],_0x4aafe5=_0x1de9ae[0x2],_0x25531f=_0x1de9ae[0x3],_0xf34e67=_0x1de9ae[0x4],_0x59cc18=0x0;_0x59cc18<0x50;_0x59cc18++){if(_0x59cc18<0x10)_0x469684[_0x59cc18]=_0x493905[_0x19fe03+_0x59cc18]|0x0;else{var _0x1e19c5=_0x469684[_0x59cc18-0x3]^_0x469684[_0x59cc18-0x8]^_0x469684[_0x59cc18-0xe]^_0x469684[_0x59cc18-0x10];_0x469684[_0x59cc18]=_0x1e19c5<<0x1|_0x1e19c5>>>0x1f;}var _0x4cbe15=(_0x56a5e9<<0x5|_0x56a5e9>>>0x1b)+_0xf34e67+_0x469684[_0x59cc18];_0x59cc18<0x14?_0x4cbe15+=(_0x11e208&_0x4aafe5|~_0x11e208&_0x25531f)+0x5a827999:_0x59cc18<0x28?_0x4cbe15+=(_0x11e208^_0x4aafe5^_0x25531f)+0x6ed9eba1:_0x59cc18<0x3c?_0x4cbe15+=(_0x11e208&_0x4aafe5|_0x11e208&_0x25531f|_0x4aafe5&_0x25531f)-0x70e44324:_0x4cbe15+=(_0x11e208^_0x4aafe5^_0x25531f)-0x359d3e2a,_0xf34e67=_0x25531f,_0x25531f=_0x4aafe5,_0x4aafe5=_0x11e208<<0x1e|_0x11e208>>>0x2,_0x11e208=_0x56a5e9,_0x56a5e9=_0x4cbe15;}_0x1de9ae[0x0]=_0x1de9ae[0x0]+_0x56a5e9|0x0,_0x1de9ae[0x1]=_0x1de9ae[0x1]+_0x11e208|0x0,_0x1de9ae[0x2]=_0x1de9ae[0x2]+_0x4aafe5|0x0,_0x1de9ae[0x3]=_0x1de9ae[0x3]+_0x25531f|0x0,_0x1de9ae[0x4]=_0x1de9ae[0x4]+_0xf34e67|0x0;},'_doFinalize':function(){const _0x4648b8=_0x3447ac;var _0x23a9d6=this['_data'],_0x46b1d6=_0x23a9d6[_0x4648b8(0x142)],_0x2a7579=this['_nDataBytes']*0x8,_0x5dcfc2=_0x23a9d6[_0x4648b8(0x312)]*0x8;return _0x46b1d6[_0x5dcfc2>>>0x5]|=0x80<<0x18-_0x5dcfc2%0x20,_0x46b1d6[(_0x5dcfc2+0x40>>>0x9<<0x4)+0xe]=Math[_0x4648b8(0x3de)](_0x2a7579/0x100000000),_0x46b1d6[(_0x5dcfc2+0x40>>>0x9<<0x4)+0xf]=_0x2a7579,_0x23a9d6[_0x4648b8(0x312)]=_0x46b1d6['length']*0x4,this[_0x4648b8(0x4da)](),this[_0x4648b8(0x508)];},'clone':function(){const _0x332656=_0x3447ac;var _0x41b5ca=_0x2e6515[_0x332656(0x53c)][_0x332656(0x46d)](this);return _0x41b5ca[_0x332656(0x508)]=this[_0x332656(0x508)]['clone'](),_0x41b5ca;}});_0x154431[_0x3447ac(0x528)]=_0x2e6515['_createHelper'](_0x60e561),_0x154431[_0x3447ac(0x148)]=_0x2e6515[_0x3447ac(0x36d)](_0x60e561);}()),_0x12672d['SHA1'];}));}(Kt)),Kt[_0x43c762(0x354)];}var zt={'exports':{}},ei;function Ga(){return ei||(ei=0x1,function(_0x5cf573,_0x4e2728){(function(_0x4d58,_0x1c4eb6){const _0x29e628=_0x466f;_0x5cf573[_0x29e628(0x354)]=_0x1c4eb6(ue());}(Z,function(_0x3ddc3a){(function(){const _0x1013a4=_0x466f;var _0xe90d64=_0x3ddc3a,_0x5b1194=_0xe90d64['lib'],_0x401a5d=_0x5b1194[_0x1013a4(0x2f1)],_0x16516b=_0xe90d64[_0x1013a4(0x40e)],_0x54a5df=_0x16516b[_0x1013a4(0x521)],_0x365392=_0xe90d64['algo'];_0x365392[_0x1013a4(0x52b)]=_0x401a5d['extend']({'init':function(_0x5b65c7,_0x10fc39){const _0x59f8d8=_0x1013a4;_0x5b65c7=this[_0x59f8d8(0x531)]=new _0x5b65c7[(_0x59f8d8(0x264))](),typeof _0x10fc39==_0x59f8d8(0x303)&&(_0x10fc39=_0x54a5df[_0x59f8d8(0x47a)](_0x10fc39));var _0x131254=_0x5b65c7[_0x59f8d8(0x314)],_0x751fd4=_0x131254*0x4;_0x10fc39[_0x59f8d8(0x312)]>_0x751fd4&&(_0x10fc39=_0x5b65c7[_0x59f8d8(0x3dd)](_0x10fc39)),_0x10fc39[_0x59f8d8(0x2bc)]();for(var _0x41d2ae=this['_oKey']=_0x10fc39[_0x59f8d8(0x53c)](),_0x3e856c=this[_0x59f8d8(0x306)]=_0x10fc39[_0x59f8d8(0x53c)](),_0x366849=_0x41d2ae[_0x59f8d8(0x142)],_0x4497e7=_0x3e856c[_0x59f8d8(0x142)],_0x47df5b=0x0;_0x47df5b<_0x131254;_0x47df5b++)_0x366849[_0x47df5b]^=0x5c5c5c5c,_0x4497e7[_0x47df5b]^=0x36363636;_0x41d2ae[_0x59f8d8(0x312)]=_0x3e856c['sigBytes']=_0x751fd4,this[_0x59f8d8(0x458)]();},'reset':function(){const _0x257f2d=_0x1013a4;var _0x33cfcb=this[_0x257f2d(0x531)];_0x33cfcb['reset'](),_0x33cfcb[_0x257f2d(0x201)](this[_0x257f2d(0x306)]);},'update':function(_0x5d8f80){const _0x1a967d=_0x1013a4;return this[_0x1a967d(0x531)][_0x1a967d(0x201)](_0x5d8f80),this;},'finalize':function(_0x5bc7fa){const _0xf211d6=_0x1013a4;var _0x35e328=this['_hasher'],_0x58bdff=_0x35e328['finalize'](_0x5bc7fa);_0x35e328[_0xf211d6(0x458)]();var _0x370bf5=_0x35e328[_0xf211d6(0x3dd)](this[_0xf211d6(0x299)][_0xf211d6(0x53c)]()[_0xf211d6(0x4e0)](_0x58bdff));return _0x370bf5;}});}());}));}(zt)),zt['exports'];}var ti;function Fi(){const _0x3d361e=_0x3238bf;return ti||(ti=0x1,function(_0x820735,_0x21a167){(function(_0x2ce33e,_0x126b09,_0x291c4b){const _0x2aa5d0=_0x466f;_0x820735[_0x2aa5d0(0x354)]=_0x126b09(ue(),Va(),Ga());}(Z,function(_0x2219fa){return(function(){const _0xf35234=_0x466f;var _0x1b4554=_0x2219fa,_0x40e614=_0x1b4554[_0xf35234(0x187)],_0x50077d=_0x40e614[_0xf35234(0x2f1)],_0x2ff556=_0x40e614[_0xf35234(0x1dd)],_0x2917bb=_0x1b4554[_0xf35234(0x4c5)],_0x47a90d=_0x2917bb[_0xf35234(0x26a)],_0x2858fa=_0x2917bb[_0xf35234(0x32b)]=_0x50077d[_0xf35234(0x50f)]({'cfg':_0x50077d['extend']({'keySize':0x80/0x20,'hasher':_0x47a90d,'iterations':0x1}),'init':function(_0x4439c0){const _0x3c5b3d=_0xf35234;this[_0x3c5b3d(0x33d)]=this[_0x3c5b3d(0x33d)][_0x3c5b3d(0x50f)](_0x4439c0);},'compute':function(_0x26f3df,_0x1959ff){const _0x4bf300=_0xf35234;for(var _0x47c79d,_0x2e96e3=this['cfg'],_0x2fdc48=_0x2e96e3[_0x4bf300(0x230)]['create'](),_0x436100=_0x2ff556[_0x4bf300(0x371)](),_0x4bb5c2=_0x436100['words'],_0x34c81a=_0x2e96e3[_0x4bf300(0x4fc)],_0x4cf154=_0x2e96e3[_0x4bf300(0x3c6)];_0x4bb5c2[_0x4bf300(0x325)]<_0x34c81a;){_0x47c79d&&_0x2fdc48[_0x4bf300(0x201)](_0x47c79d),_0x47c79d=_0x2fdc48[_0x4bf300(0x201)](_0x26f3df)[_0x4bf300(0x3dd)](_0x1959ff),_0x2fdc48[_0x4bf300(0x458)]();for(var _0x49b123=0x1;_0x49b123<_0x4cf154;_0x49b123++)_0x47c79d=_0x2fdc48[_0x4bf300(0x3dd)](_0x47c79d),_0x2fdc48['reset']();_0x436100[_0x4bf300(0x4e0)](_0x47c79d);}return _0x436100[_0x4bf300(0x312)]=_0x34c81a*0x4,_0x436100;}});_0x1b4554['EvpKDF']=function(_0x5695d9,_0x315e08,_0x1c6d98){const _0x11d04f=_0xf35234;return _0x2858fa[_0x11d04f(0x371)](_0x1c6d98)[_0x11d04f(0x541)](_0x5695d9,_0x315e08);};}()),_0x2219fa['EvpKDF'];}));}(Yt)),Yt[_0x3d361e(0x354)];}var qt={'exports':{}},si;function Vi(){return si||(si=0x1,function(_0x190203,_0x38f599){(function(_0x4edaea,_0x4e6933,_0x229aca){const _0x1aa9e2=_0x466f;_0x190203[_0x1aa9e2(0x354)]=_0x4e6933(ue(),Fi());}(Z,function(_0x2d005e){const _0x4eb674=_0x466f;_0x2d005e[_0x4eb674(0x187)]['Cipher']||function(_0x52c5c0){const _0xe4786c=_0x4eb674;var _0xd38f=_0x2d005e,_0x286c13=_0xd38f[_0xe4786c(0x187)],_0x37d063=_0x286c13[_0xe4786c(0x2f1)],_0x80e619=_0x286c13['WordArray'],_0x4c8ac4=_0x286c13['BufferedBlockAlgorithm'],_0x1574dd=_0xd38f[_0xe4786c(0x40e)];_0x1574dd['Utf8'];var _0x1dbca0=_0x1574dd[_0xe4786c(0x47f)],_0x560805=_0xd38f['algo'],_0x2b51d1=_0x560805['EvpKDF'],_0x2836e6=_0x286c13[_0xe4786c(0x55a)]=_0x4c8ac4[_0xe4786c(0x50f)]({'cfg':_0x37d063[_0xe4786c(0x50f)](),'createEncryptor':function(_0x5e5350,_0x298bed){const _0x85fc14=_0xe4786c;return this[_0x85fc14(0x371)](this[_0x85fc14(0x279)],_0x5e5350,_0x298bed);},'createDecryptor':function(_0x5bdf5a,_0x113c83){const _0x3ca26f=_0xe4786c;return this[_0x3ca26f(0x371)](this[_0x3ca26f(0x1a5)],_0x5bdf5a,_0x113c83);},'init':function(_0x24eb89,_0xbb6b38,_0x5a02f2){const _0x599038=_0xe4786c;this[_0x599038(0x33d)]=this[_0x599038(0x33d)][_0x599038(0x50f)](_0x5a02f2),this[_0x599038(0x198)]=_0x24eb89,this[_0x599038(0x455)]=_0xbb6b38,this[_0x599038(0x458)]();},'reset':function(){const _0x3c6992=_0xe4786c;_0x4c8ac4[_0x3c6992(0x458)]['call'](this),this[_0x3c6992(0x20e)]();},'process':function(_0x2a5377){const _0x37de60=_0xe4786c;return this['_append'](_0x2a5377),this[_0x37de60(0x4da)]();},'finalize':function(_0x2774da){const _0x2d349a=_0xe4786c;_0x2774da&&this[_0x2d349a(0x243)](_0x2774da);var _0x5084dc=this['_doFinalize']();return _0x5084dc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5f551d(_0x47ceb9){const _0x45421b=_0x466f;return typeof _0x47ceb9==_0x45421b(0x303)?_0x558b35:_0x21446e;}return function(_0x12a6c7){return{'encrypt':function(_0x201a77,_0x57899b,_0x309414){const _0x2ad230=_0x466f;return _0x5f551d(_0x57899b)[_0x2ad230(0x53d)](_0x12a6c7,_0x201a77,_0x57899b,_0x309414);},'decrypt':function(_0x27aa3b,_0x347e3c,_0x5dc0aa){const _0x4a8cba=_0x466f;return _0x5f551d(_0x347e3c)[_0x4a8cba(0x4c7)](_0x12a6c7,_0x27aa3b,_0x347e3c,_0x5dc0aa);}};};}())});_0x286c13[_0xe4786c(0x1ac)]=_0x2836e6[_0xe4786c(0x50f)]({'_doFinalize':function(){var _0x20a669=this['_process'](!0x0);return _0x20a669;},'blockSize':0x1});var _0xb8ba78=_0xd38f[_0xe4786c(0x39b)]={},_0x4f1020=_0x286c13['BlockCipherMode']=_0x37d063['extend']({'createEncryptor':function(_0x5945ba,_0x5ab46f){const _0xc98c02=_0xe4786c;return this['Encryptor'][_0xc98c02(0x371)](_0x5945ba,_0x5ab46f);},'createDecryptor':function(_0x1d74d8,_0x559390){const _0x155f2f=_0xe4786c;return this[_0x155f2f(0x245)][_0x155f2f(0x371)](_0x1d74d8,_0x559390);},'init':function(_0x129f94,_0x3d587b){const _0x4de820=_0xe4786c;this['_cipher']=_0x129f94,this[_0x4de820(0x3ba)]=_0x3d587b;}}),_0x3acf8f=_0xb8ba78['CBC']=(function(){const _0x586cbc=_0xe4786c;var _0x5cefe6=_0x4f1020[_0x586cbc(0x50f)]();_0x5cefe6[_0x586cbc(0x1f4)]=_0x5cefe6[_0x586cbc(0x50f)]({'processBlock':function(_0x1767ce,_0x43eabb){const _0x275155=_0x586cbc;var _0x15d801=this[_0x275155(0x2fd)],_0x524154=_0x15d801['blockSize'];_0xb1adb8[_0x275155(0x46d)](this,_0x1767ce,_0x43eabb,_0x524154),_0x15d801[_0x275155(0x557)](_0x1767ce,_0x43eabb),this[_0x275155(0x277)]=_0x1767ce[_0x275155(0x423)](_0x43eabb,_0x43eabb+_0x524154);}}),_0x5cefe6[_0x586cbc(0x245)]=_0x5cefe6[_0x586cbc(0x50f)]({'processBlock':function(_0x3c6543,_0x1a2e30){const _0x529deb=_0x586cbc;var _0x301997=this[_0x529deb(0x2fd)],_0x4ccada=_0x301997['blockSize'],_0x3b5f34=_0x3c6543[_0x529deb(0x423)](_0x1a2e30,_0x1a2e30+_0x4ccada);_0x301997[_0x529deb(0x42b)](_0x3c6543,_0x1a2e30),_0xb1adb8[_0x529deb(0x46d)](this,_0x3c6543,_0x1a2e30,_0x4ccada),this[_0x529deb(0x277)]=_0x3b5f34;}});function _0xb1adb8(_0x552025,_0x485af3,_0x54cd47){const _0x58cfca=_0x586cbc;var _0x35a6ff,_0x403e4f=this[_0x58cfca(0x3ba)];_0x403e4f?(_0x35a6ff=_0x403e4f,this['_iv']=_0x52c5c0):_0x35a6ff=this[_0x58cfca(0x277)];for(var _0x34b4ef=0x0;_0x34b4ef<_0x54cd47;_0x34b4ef++)_0x552025[_0x485af3+_0x34b4ef]^=_0x35a6ff[_0x34b4ef];}return _0x5cefe6;}()),_0x1f0f23=_0xd38f[_0xe4786c(0x197)]={},_0x525289=_0x1f0f23[_0xe4786c(0x1fe)]={'pad':function(_0x33bd9e,_0x3c1158){const _0x184ac5=_0xe4786c;for(var _0x1e58a1=_0x3c1158*0x4,_0x4a74f8=_0x1e58a1-_0x33bd9e['sigBytes']%_0x1e58a1,_0xfc153a=_0x4a74f8<<0x18|_0x4a74f8<<0x10|_0x4a74f8<<0x8|_0x4a74f8,_0xad4593=[],_0x3c379f=0x0;_0x3c379f<_0x4a74f8;_0x3c379f+=0x4)_0xad4593[_0x184ac5(0x419)](_0xfc153a);var _0x4c89d4=_0x80e619[_0x184ac5(0x371)](_0xad4593,_0x4a74f8);_0x33bd9e[_0x184ac5(0x4e0)](_0x4c89d4);},'unpad':function(_0x175c82){const _0xca3943=_0xe4786c;var _0x2904d3=_0x175c82[_0xca3943(0x142)][_0x175c82[_0xca3943(0x312)]-0x1>>>0x2]&0xff;_0x175c82[_0xca3943(0x312)]-=_0x2904d3;}};_0x286c13[_0xe4786c(0x4bb)]=_0x2836e6[_0xe4786c(0x50f)]({'cfg':_0x2836e6['cfg'][_0xe4786c(0x50f)]({'mode':_0x3acf8f,'padding':_0x525289}),'reset':function(){const _0x4aa4ba=_0xe4786c;var _0xce17e4;_0x2836e6[_0x4aa4ba(0x458)][_0x4aa4ba(0x46d)](this);var _0x110f11=this[_0x4aa4ba(0x33d)],_0x411357=_0x110f11['iv'],_0x2741c9=_0x110f11[_0x4aa4ba(0x39b)];this[_0x4aa4ba(0x198)]==this[_0x4aa4ba(0x279)]?_0xce17e4=_0x2741c9[_0x4aa4ba(0x3c5)]:(_0xce17e4=_0x2741c9['createDecryptor'],this[_0x4aa4ba(0x1cd)]=0x1),this['_mode']&&this['_mode']['__creator']==_0xce17e4?this[_0x4aa4ba(0x2b2)][_0x4aa4ba(0x264)](this,_0x411357&&_0x411357[_0x4aa4ba(0x142)]):(this[_0x4aa4ba(0x2b2)]=_0xce17e4[_0x4aa4ba(0x46d)](_0x2741c9,this,_0x411357&&_0x411357[_0x4aa4ba(0x142)]),this['_mode'][_0x4aa4ba(0x4ed)]=_0xce17e4);},'_doProcessBlock':function(_0x14bba8,_0x2aad05){const _0x182a37=_0xe4786c;this['_mode'][_0x182a37(0x305)](_0x14bba8,_0x2aad05);},'_doFinalize':function(){const _0x55e15c=_0xe4786c;var _0x350f25,_0x55055a=this[_0x55e15c(0x33d)][_0x55e15c(0x34e)];return this[_0x55e15c(0x198)]==this['_ENC_XFORM_MODE']?(_0x55055a[_0x55e15c(0x197)](this[_0x55e15c(0x429)],this[_0x55e15c(0x314)]),_0x350f25=this['_process'](!0x0)):(_0x350f25=this[_0x55e15c(0x4da)](!0x0),_0x55055a[_0x55e15c(0x37d)](_0x350f25)),_0x350f25;},'blockSize':0x80/0x20});var _0x151ba0=_0x286c13[_0xe4786c(0x476)]=_0x37d063[_0xe4786c(0x50f)]({'init':function(_0xf1b493){const _0x7b3925=_0xe4786c;this[_0x7b3925(0x233)](_0xf1b493);},'toString':function(_0x332e2a){const _0x2b7b90=_0xe4786c;return(_0x332e2a||this['formatter'])[_0x2b7b90(0x2a3)](this);}}),_0x56b001=_0xd38f[_0xe4786c(0x2ad)]={},_0xc7b3f1=_0x56b001[_0xe4786c(0x480)]={'stringify':function(_0x12c66c){const _0x42dd=_0xe4786c;var _0x18f5c0,_0x3fa6ca=_0x12c66c['ciphertext'],_0x3195fd=_0x12c66c[_0x42dd(0x410)];return _0x3195fd?_0x18f5c0=_0x80e619['create']([0x53616c74,0x65645f5f])[_0x42dd(0x4e0)](_0x3195fd)['concat'](_0x3fa6ca):_0x18f5c0=_0x3fa6ca,_0x18f5c0[_0x42dd(0x1b8)](_0x1dbca0);},'parse':function(_0x412283){const _0xcf10=_0xe4786c;var _0x218df2,_0x463d09=_0x1dbca0[_0xcf10(0x47a)](_0x412283),_0x712c44=_0x463d09[_0xcf10(0x142)];return _0x712c44[0x0]==0x53616c74&&_0x712c44[0x1]==0x65645f5f&&(_0x218df2=_0x80e619['create'](_0x712c44[_0xcf10(0x423)](0x2,0x4)),_0x712c44['splice'](0x0,0x4),_0x463d09['sigBytes']-=0x10),_0x151ba0[_0xcf10(0x371)]({'ciphertext':_0x463d09,'salt':_0x218df2});}},_0x21446e=_0x286c13[_0xe4786c(0x4c4)]=_0x37d063[_0xe4786c(0x50f)]({'cfg':_0x37d063[_0xe4786c(0x50f)]({'format':_0xc7b3f1}),'encrypt':function(_0x37c297,_0x9e666a,_0x35a951,_0x4d2066){const _0x25d5ef=_0xe4786c;_0x4d2066=this['cfg'][_0x25d5ef(0x50f)](_0x4d2066);var _0x5c0bf0=_0x37c297[_0x25d5ef(0x3c5)](_0x35a951,_0x4d2066),_0x869550=_0x5c0bf0[_0x25d5ef(0x3dd)](_0x9e666a),_0x5665e9=_0x5c0bf0['cfg'];return _0x151ba0[_0x25d5ef(0x371)]({'ciphertext':_0x869550,'key':_0x35a951,'iv':_0x5665e9['iv'],'algorithm':_0x37c297,'mode':_0x5665e9[_0x25d5ef(0x39b)],'padding':_0x5665e9['padding'],'blockSize':_0x37c297[_0x25d5ef(0x314)],'formatter':_0x4d2066[_0x25d5ef(0x2ad)]});},'decrypt':function(_0x2e69ca,_0x4ae1ad,_0x3dfbe3,_0x2143e0){const _0xd80a64=_0xe4786c;_0x2143e0=this[_0xd80a64(0x33d)][_0xd80a64(0x50f)](_0x2143e0),_0x4ae1ad=this['_parse'](_0x4ae1ad,_0x2143e0['format']);var _0x6cb358=_0x2e69ca[_0xd80a64(0x4b6)](_0x3dfbe3,_0x2143e0)[_0xd80a64(0x3dd)](_0x4ae1ad[_0xd80a64(0x3db)]);return _0x6cb358;},'_parse':function(_0x39ec88,_0x559430){const _0x2d189d=_0xe4786c;return typeof _0x39ec88=='string'?_0x559430[_0x2d189d(0x47a)](_0x39ec88,this):_0x39ec88;}}),_0x14cae4=_0xd38f[_0xe4786c(0x503)]={},_0x3fd4e2=_0x14cae4[_0xe4786c(0x480)]={'execute':function(_0x5227c1,_0x476991,_0x503614,_0x2ce12e,_0x418650){const _0x57b88b=_0xe4786c;if(_0x2ce12e||(_0x2ce12e=_0x80e619['random'](0x40/0x8)),_0x418650)var _0x36b983=_0x2b51d1[_0x57b88b(0x371)]({'keySize':_0x476991+_0x503614,'hasher':_0x418650})[_0x57b88b(0x541)](_0x5227c1,_0x2ce12e);else var _0x36b983=_0x2b51d1[_0x57b88b(0x371)]({'keySize':_0x476991+_0x503614})['compute'](_0x5227c1,_0x2ce12e);var _0xc34760=_0x80e619[_0x57b88b(0x371)](_0x36b983[_0x57b88b(0x142)]['slice'](_0x476991),_0x503614*0x4);return _0x36b983[_0x57b88b(0x312)]=_0x476991*0x4,_0x151ba0[_0x57b88b(0x371)]({'key':_0x36b983,'iv':_0xc34760,'salt':_0x2ce12e});}},_0x558b35=_0x286c13[_0xe4786c(0x392)]=_0x21446e['extend']({'cfg':_0x21446e[_0xe4786c(0x33d)][_0xe4786c(0x50f)]({'kdf':_0x3fd4e2}),'encrypt':function(_0x3b7448,_0x1f2bec,_0x54b7a3,_0x515e57){const _0x327c0b=_0xe4786c;_0x515e57=this[_0x327c0b(0x33d)][_0x327c0b(0x50f)](_0x515e57);var _0x5af483=_0x515e57[_0x327c0b(0x503)][_0x327c0b(0x49e)](_0x54b7a3,_0x3b7448[_0x327c0b(0x4fc)],_0x3b7448[_0x327c0b(0x154)],_0x515e57['salt'],_0x515e57[_0x327c0b(0x230)]);_0x515e57['iv']=_0x5af483['iv'];var _0x4b80d4=_0x21446e[_0x327c0b(0x53d)][_0x327c0b(0x46d)](this,_0x3b7448,_0x1f2bec,_0x5af483[_0x327c0b(0x360)],_0x515e57);return _0x4b80d4['mixIn'](_0x5af483),_0x4b80d4;},'decrypt':function(_0x2785cc,_0x2877b3,_0x4b7d08,_0x4c468f){const _0x46639c=_0xe4786c;_0x4c468f=this['cfg'][_0x46639c(0x50f)](_0x4c468f),_0x2877b3=this['_parse'](_0x2877b3,_0x4c468f['format']);var _0x505fca=_0x4c468f['kdf'][_0x46639c(0x49e)](_0x4b7d08,_0x2785cc['keySize'],_0x2785cc['ivSize'],_0x2877b3['salt'],_0x4c468f[_0x46639c(0x230)]);_0x4c468f['iv']=_0x505fca['iv'];var _0x2fd20f=_0x21446e[_0x46639c(0x4c7)][_0x46639c(0x46d)](this,_0x2785cc,_0x2877b3,_0x505fca[_0x46639c(0x360)],_0x4c468f);return _0x2fd20f;}});}();}));}(qt)),qt['exports'];}(function(_0x3d6031,_0xd0545b){(function(_0xfe9c55,_0x25008b,_0x135dfc){const _0x10b4c1=_0x466f;_0x3d6031[_0x10b4c1(0x354)]=_0x25008b(ue(),Wi(),Fa(),Fi(),Vi());}(Z,function(_0x27a610){return(function(){const _0x575e50=_0x466f;var _0x1c165e=_0x27a610,_0x146545=_0x1c165e[_0x575e50(0x187)],_0x17b317=_0x146545[_0x575e50(0x4bb)],_0x46b6b2=_0x1c165e[_0x575e50(0x4c5)],_0x3880a9=[],_0x2ce975=[],_0x16d951=[],_0x4fb7a9=[],_0x290784=[],_0x1a1f44=[],_0x202381=[],_0x281043=[],_0x3199f0=[],_0x2e3178=[];(function(){for(var _0x3a2bb9=[],_0xbf4a46=0x0;_0xbf4a46<0x100;_0xbf4a46++)_0xbf4a46<0x80?_0x3a2bb9[_0xbf4a46]=_0xbf4a46<<0x1:_0x3a2bb9[_0xbf4a46]=_0xbf4a46<<0x1^0x11b;for(var _0x752536=0x0,_0x516886=0x0,_0xbf4a46=0x0;_0xbf4a46<0x100;_0xbf4a46++){var _0x490042=_0x516886^_0x516886<<0x1^_0x516886<<0x2^_0x516886<<0x3^_0x516886<<0x4;_0x490042=_0x490042>>>0x8^_0x490042&0xff^0x63,_0x3880a9[_0x752536]=_0x490042,_0x2ce975[_0x490042]=_0x752536;var _0x434eeb=_0x3a2bb9[_0x752536],_0x5c19f8=_0x3a2bb9[_0x434eeb],_0x91afa2=_0x3a2bb9[_0x5c19f8],_0x12d6fa=_0x3a2bb9[_0x490042]*0x101^_0x490042*0x1010100;_0x16d951[_0x752536]=_0x12d6fa<<0x18|_0x12d6fa>>>0x8,_0x4fb7a9[_0x752536]=_0x12d6fa<<0x10|_0x12d6fa>>>0x10,_0x290784[_0x752536]=_0x12d6fa<<0x8|_0x12d6fa>>>0x18,_0x1a1f44[_0x752536]=_0x12d6fa;var _0x12d6fa=_0x91afa2*0x1010101^_0x5c19f8*0x10001^_0x434eeb*0x101^_0x752536*0x1010100;_0x202381[_0x490042]=_0x12d6fa<<0x18|_0x12d6fa>>>0x8,_0x281043[_0x490042]=_0x12d6fa<<0x10|_0x12d6fa>>>0x10,_0x3199f0[_0x490042]=_0x12d6fa<<0x8|_0x12d6fa>>>0x18,_0x2e3178[_0x490042]=_0x12d6fa,_0x752536?(_0x752536=_0x434eeb^_0x3a2bb9[_0x3a2bb9[_0x3a2bb9[_0x91afa2^_0x434eeb]]],_0x516886^=_0x3a2bb9[_0x3a2bb9[_0x516886]]):_0x752536=_0x516886=0x1;}}());var _0x4dc3db=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x362fb8=_0x46b6b2[_0x575e50(0x2ec)]=_0x17b317[_0x575e50(0x50f)]({'_doReset':function(){const _0x87dd1d=_0x575e50;var _0x34850f;if(!(this[_0x87dd1d(0x3f0)]&&this['_keyPriorReset']===this[_0x87dd1d(0x455)])){for(var _0x1ae372=this[_0x87dd1d(0x249)]=this['_key'],_0x560e8c=_0x1ae372[_0x87dd1d(0x142)],_0x592d41=_0x1ae372[_0x87dd1d(0x312)]/0x4,_0x3c6ccc=this[_0x87dd1d(0x3f0)]=_0x592d41+0x6,_0x22c270=(_0x3c6ccc+0x1)*0x4,_0x6efa=this['_keySchedule']=[],_0x2498df=0x0;_0x2498df<_0x22c270;_0x2498df++)_0x2498df<_0x592d41?_0x6efa[_0x2498df]=_0x560e8c[_0x2498df]:(_0x34850f=_0x6efa[_0x2498df-0x1],_0x2498df%_0x592d41?_0x592d41>0x6&&_0x2498df%_0x592d41==0x4&&(_0x34850f=_0x3880a9[_0x34850f>>>0x18]<<0x18|_0x3880a9[_0x34850f>>>0x10&0xff]<<0x10|_0x3880a9[_0x34850f>>>0x8&0xff]<<0x8|_0x3880a9[_0x34850f&0xff]):(_0x34850f=_0x34850f<<0x8|_0x34850f>>>0x18,_0x34850f=_0x3880a9[_0x34850f>>>0x18]<<0x18|_0x3880a9[_0x34850f>>>0x10&0xff]<<0x10|_0x3880a9[_0x34850f>>>0x8&0xff]<<0x8|_0x3880a9[_0x34850f&0xff],_0x34850f^=_0x4dc3db[_0x2498df/_0x592d41|0x0]<<0x18),_0x6efa[_0x2498df]=_0x6efa[_0x2498df-_0x592d41]^_0x34850f);for(var _0x1b2a83=this[_0x87dd1d(0x345)]=[],_0x1b24f0=0x0;_0x1b24f0<_0x22c270;_0x1b24f0++){var _0x2498df=_0x22c270-_0x1b24f0;if(_0x1b24f0%0x4)var _0x34850f=_0x6efa[_0x2498df];else var _0x34850f=_0x6efa[_0x2498df-0x4];_0x1b24f0<0x4||_0x2498df<=0x4?_0x1b2a83[_0x1b24f0]=_0x34850f:_0x1b2a83[_0x1b24f0]=_0x202381[_0x3880a9[_0x34850f>>>0x18]]^_0x281043[_0x3880a9[_0x34850f>>>0x10&0xff]]^_0x3199f0[_0x3880a9[_0x34850f>>>0x8&0xff]]^_0x2e3178[_0x3880a9[_0x34850f&0xff]];}}},'encryptBlock':function(_0x3937ba,_0x253bc7){const _0x5e5b3d=_0x575e50;this['_doCryptBlock'](_0x3937ba,_0x253bc7,this[_0x5e5b3d(0x35c)],_0x16d951,_0x4fb7a9,_0x290784,_0x1a1f44,_0x3880a9);},'decryptBlock':function(_0xd598b,_0x27c907){const _0x2cb37d=_0x575e50;var _0x3953e5=_0xd598b[_0x27c907+0x1];_0xd598b[_0x27c907+0x1]=_0xd598b[_0x27c907+0x3],_0xd598b[_0x27c907+0x3]=_0x3953e5,this['_doCryptBlock'](_0xd598b,_0x27c907,this[_0x2cb37d(0x345)],_0x202381,_0x281043,_0x3199f0,_0x2e3178,_0x2ce975);var _0x3953e5=_0xd598b[_0x27c907+0x1];_0xd598b[_0x27c907+0x1]=_0xd598b[_0x27c907+0x3],_0xd598b[_0x27c907+0x3]=_0x3953e5;},'_doCryptBlock':function(_0x2b6873,_0x46b38b,_0x115f4f,_0x33546d,_0x14f3c6,_0x51cacc,_0x2f17fc,_0x1c6855){for(var _0x4c3eac=this['_nRounds'],_0x39aa34=_0x2b6873[_0x46b38b]^_0x115f4f[0x0],_0x16585b=_0x2b6873[_0x46b38b+0x1]^_0x115f4f[0x1],_0x5ea5ce=_0x2b6873[_0x46b38b+0x2]^_0x115f4f[0x2],_0x46f02a=_0x2b6873[_0x46b38b+0x3]^_0x115f4f[0x3],_0x210467=0x4,_0x3f4d8f=0x1;_0x3f4d8f<_0x4c3eac;_0x3f4d8f++){var _0x207a06=_0x33546d[_0x39aa34>>>0x18]^_0x14f3c6[_0x16585b>>>0x10&0xff]^_0x51cacc[_0x5ea5ce>>>0x8&0xff]^_0x2f17fc[_0x46f02a&0xff]^_0x115f4f[_0x210467++],_0x5f5bf9=_0x33546d[_0x16585b>>>0x18]^_0x14f3c6[_0x5ea5ce>>>0x10&0xff]^_0x51cacc[_0x46f02a>>>0x8&0xff]^_0x2f17fc[_0x39aa34&0xff]^_0x115f4f[_0x210467++],_0x236964=_0x33546d[_0x5ea5ce>>>0x18]^_0x14f3c6[_0x46f02a>>>0x10&0xff]^_0x51cacc[_0x39aa34>>>0x8&0xff]^_0x2f17fc[_0x16585b&0xff]^_0x115f4f[_0x210467++],_0x58bdb5=_0x33546d[_0x46f02a>>>0x18]^_0x14f3c6[_0x39aa34>>>0x10&0xff]^_0x51cacc[_0x16585b>>>0x8&0xff]^_0x2f17fc[_0x5ea5ce&0xff]^_0x115f4f[_0x210467++];_0x39aa34=_0x207a06,_0x16585b=_0x5f5bf9,_0x5ea5ce=_0x236964,_0x46f02a=_0x58bdb5;}var _0x207a06=(_0x1c6855[_0x39aa34>>>0x18]<<0x18|_0x1c6855[_0x16585b>>>0x10&0xff]<<0x10|_0x1c6855[_0x5ea5ce>>>0x8&0xff]<<0x8|_0x1c6855[_0x46f02a&0xff])^_0x115f4f[_0x210467++],_0x5f5bf9=(_0x1c6855[_0x16585b>>>0x18]<<0x18|_0x1c6855[_0x5ea5ce>>>0x10&0xff]<<0x10|_0x1c6855[_0x46f02a>>>0x8&0xff]<<0x8|_0x1c6855[_0x39aa34&0xff])^_0x115f4f[_0x210467++],_0x236964=(_0x1c6855[_0x5ea5ce>>>0x18]<<0x18|_0x1c6855[_0x46f02a>>>0x10&0xff]<<0x10|_0x1c6855[_0x39aa34>>>0x8&0xff]<<0x8|_0x1c6855[_0x16585b&0xff])^_0x115f4f[_0x210467++],_0x58bdb5=(_0x1c6855[_0x46f02a>>>0x18]<<0x18|_0x1c6855[_0x39aa34>>>0x10&0xff]<<0x10|_0x1c6855[_0x16585b>>>0x8&0xff]<<0x8|_0x1c6855[_0x5ea5ce&0xff])^_0x115f4f[_0x210467++];_0x2b6873[_0x46b38b]=_0x207a06,_0x2b6873[_0x46b38b+0x1]=_0x5f5bf9,_0x2b6873[_0x46b38b+0x2]=_0x236964,_0x2b6873[_0x46b38b+0x3]=_0x58bdb5;},'keySize':0x100/0x20});_0x1c165e[_0x575e50(0x2ec)]=_0x17b317[_0x575e50(0x461)](_0x362fb8);}()),_0x27a610['AES'];}));}(ki));var Ya=ki[_0x3238bf(0x354)];const Ka=at(Ya);var za=Wi();const ii=at(za);var Gi={'exports':{}};(function(_0x1cce08,_0x735157){(function(_0xcd9f10,_0x19a2d2){_0x1cce08['exports']=_0x19a2d2(ue());}(Z,function(_0x3fd78e){const _0x36024e=_0x466f;return _0x3fd78e['enc'][_0x36024e(0x521)];}));}(Gi));function _0x466f(_0x8f7df8,_0xba9bee){const _0x2abb9f=_0x2abb();return _0x466f=function(_0x466fed,_0x5492a4){_0x466fed=_0x466fed-0x13b;let _0x42bb38=_0x2abb9f[_0x466fed];return _0x42bb38;},_0x466f(_0x8f7df8,_0xba9bee);}var qa=Gi[_0x3238bf(0x354)];const Xa=at(qa);var Yi={'exports':{}};(function(_0xc70ecd,_0x152163){(function(_0x4c2123,_0x4224c2){_0xc70ecd['exports']=_0x4224c2(ue());}(Z,function(_0x2d30c7){const _0x27da03=_0x466f;return(function(){const _0x4c506b=_0x466f;if(typeof ArrayBuffer==_0x4c506b(0x16e)){var _0x43a789=_0x2d30c7,_0x5b18c6=_0x43a789[_0x4c506b(0x187)],_0xbcd4c5=_0x5b18c6[_0x4c506b(0x1dd)],_0x37e82b=_0xbcd4c5['init'],_0x513ec7=_0xbcd4c5[_0x4c506b(0x264)]=function(_0x4ee061){const _0xbeb3d=_0x4c506b;if(_0x4ee061 instanceof ArrayBuffer&&(_0x4ee061=new Uint8Array(_0x4ee061)),(_0x4ee061 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4ee061 instanceof Uint8ClampedArray||_0x4ee061 instanceof Int16Array||_0x4ee061 instanceof Uint16Array||_0x4ee061 instanceof Int32Array||_0x4ee061 instanceof Uint32Array||_0x4ee061 instanceof Float32Array||_0x4ee061 instanceof Float64Array)&&(_0x4ee061=new Uint8Array(_0x4ee061[_0xbeb3d(0x34d)],_0x4ee061[_0xbeb3d(0x43a)],_0x4ee061[_0xbeb3d(0x48f)])),_0x4ee061 instanceof Uint8Array){for(var _0x19a0b7=_0x4ee061['byteLength'],_0x5e4ac6=[],_0x546ee5=0x0;_0x546ee5<_0x19a0b7;_0x546ee5++)_0x5e4ac6[_0x546ee5>>>0x2]|=_0x4ee061[_0x546ee5]<<0x18-_0x546ee5%0x4*0x8;_0x37e82b[_0xbeb3d(0x46d)](this,_0x5e4ac6,_0x19a0b7);}else _0x37e82b[_0xbeb3d(0x4f9)](this,arguments);};_0x513ec7['prototype']=_0xbcd4c5;}}()),_0x2d30c7[_0x27da03(0x187)]['WordArray'];}));}(Yi));var Ja=Yi[_0x3238bf(0x354)];const Za=at(Ja);var Ki={'exports':{}};(function(_0x19ec63,_0x21f936){(function(_0x4fb919,_0x34bd37,_0x329c32){const _0x2254ab=_0x466f;_0x19ec63[_0x2254ab(0x354)]=_0x34bd37(ue(),Vi());}(Z,function(_0x31feec){const _0x5d472c=_0x466f;return _0x31feec[_0x5d472c(0x197)][_0x5d472c(0x1a8)]={'pad':function(){},'unpad':function(){}},_0x31feec[_0x5d472c(0x197)][_0x5d472c(0x1a8)];}));}(Ki));var Qa=Ki['exports'];const ec=at(Qa);function tc(_0x3a8539,_0x1a52c6){const _0x45fc79=_0x3238bf,_0x1f187d=_0x1a52c6-_0x3a8539[_0x45fc79(0x325)]%_0x1a52c6,_0x1cc98d=String['fromCharCode'](_0x1f187d)[_0x45fc79(0x4b9)](_0x1f187d);return _0x3a8539+_0x1cc98d;}function sc(_0x1d860e,_0x24a6d0){const _0x2f02c6=_0x3238bf,_0x5b2ecc=Za[_0x2f02c6(0x38b)](0x10),_0x526ccc=tc(_0x1d860e,0x10),_0x7711e8=Ka[_0x2f02c6(0x53d)](Xa['parse'](_0x526ccc),ii[_0x2f02c6(0x47a)](_0x24a6d0),{'iv':_0x5b2ecc,'padding':ec});return _0x5b2ecc['concat'](_0x7711e8[_0x2f02c6(0x3db)])[_0x2f02c6(0x1b8)](ii);}function ic(){const _0x52c8cc=_0x3238bf,_0xa00dcf=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x52c8cc(0x3ac)];if(_0xa00dcf){const _0x53f5fa={'time':Math[_0x52c8cc(0x3de)](Date['now']()/0x3e8),'domain':location['hostname']};return sc(JSON[_0x52c8cc(0x2a3)](_0x53f5fa),_0xa00dcf);}}var nc=Object['defineProperty'],rc=Object[_0x3238bf(0x2df)],oc=(_0x5b7873,_0x549494,_0x183123,_0x125113)=>{const _0x609fda=_0x3238bf;for(var _0x3f54b4=_0x125113>0x1?void 0x0:_0x125113?rc(_0x549494,_0x183123):_0x549494,_0x16e1fa=_0x5b7873[_0x609fda(0x325)]-0x1,_0x55dce0;_0x16e1fa>=0x0;_0x16e1fa--)(_0x55dce0=_0x5b7873[_0x16e1fa])&&(_0x3f54b4=(_0x125113?_0x55dce0(_0x549494,_0x183123,_0x3f54b4):_0x55dce0(_0x3f54b4))||_0x3f54b4);return _0x125113&&_0x3f54b4&&nc(_0x549494,_0x183123,_0x3f54b4),_0x3f54b4;},ac=(_0x2d1222,_0x4af13a)=>(_0x32d411,_0x345688)=>_0x4af13a(_0x32d411,_0x345688,_0x2d1222);let bt=class{constructor(_0xa7da66){const _0x20381c=_0x3238bf;this[_0x20381c(0x276)]=_0xa7da66,this['_initRequestHeader']();}['_initRequestHeader'](){const _0x23f59d=_0x3238bf;this[_0x23f59d(0x276)][_0x23f59d(0x351)]({'interceptor':(_0x26b28a,_0x4d7a7e)=>{const _0x24591b=_0x23f59d,_0x1dcbbc=_0x26b28a[_0x24591b(0x3c4)],_0x385e02=ic();return _0x385e02&&_0x1dcbbc['set'](_0x24591b(0x483),_0x385e02),_0x4d7a7e(_0x26b28a);}});}};bt=oc([ac(0x0,_0x4a2654(_0x4ca339))],bt);var cc=Object[_0x3238bf(0x535)],hc=Object[_0x3238bf(0x2df)],lc=(_0x102e46,_0xb1e9c1,_0x2d173b,_0x55d217)=>{const _0x50ec59=_0x3238bf;for(var _0x65e460=_0x55d217>0x1?void 0x0:_0x55d217?hc(_0xb1e9c1,_0x2d173b):_0xb1e9c1,_0x31ab16=_0x102e46[_0x50ec59(0x325)]-0x1,_0x5f5ac9;_0x31ab16>=0x0;_0x31ab16--)(_0x5f5ac9=_0x102e46[_0x31ab16])&&(_0x65e460=(_0x55d217?_0x5f5ac9(_0xb1e9c1,_0x2d173b,_0x65e460):_0x5f5ac9(_0x65e460))||_0x65e460);return _0x55d217&&_0x65e460&&cc(_0xb1e9c1,_0x2d173b,_0x65e460),_0x65e460;},Xt=(_0x18c2c3,_0x2c4e68)=>(_0x29ae54,_0x7eb02)=>_0x2c4e68(_0x29ae54,_0x7eb02,_0x18c2c3);const _c=[_0x3238bf(0x431),_0x3238bf(0x548),'image/jpg',_0x3238bf(0x199),_0x3238bf(0x1ca)],uc=0x5*0x400*0x400,dc=_0x3238bf(0x2bd),fc='/universer-api/stream/file/upload',vc=_0x3238bf(0x2c4),mc=_0x3238bf(0x2c9);let hs=class{constructor(_0x4c8e69,_0x1543e7,_0xa40d3c){const _0x50a830=_0x3238bf;g(this,'_waitCount',0x0),g(this,_0x50a830(0x43c),new _0x302e6e()),g(this,_0x50a830(0x35b),this['_change$']),g(this,_0x50a830(0x4e3),new Map()),(this[_0x50a830(0x276)]=_0x4c8e69,this[_0x50a830(0x330)]=_0x1543e7,this[_0x50a830(0x262)]=_0xa40d3c);}['setWaitCount'](_0x4a1160){const _0x3db681=_0x3238bf;this['_waitCount']=_0x4a1160,this['_change$'][_0x3db681(0x34c)](_0x4a1160);}[_0x3238bf(0x30e)](_0x51c488,_0x40b776){const _0x2041d3=_0x3238bf;if(_0x40b776===_0x31ddf5[_0x2041d3(0x49d)]){const _0x47f701=new Image();return _0x47f701['src']=_0x51c488,_0x47f701;}return this[_0x2041d3(0x4e3)][_0x2041d3(0x3a5)](_0x51c488);}[_0x3238bf(0x20b)](_0x372037,_0x126f4c,_0x2aef78){const _0x2fa02e=_0x3238bf;_0x126f4c===_0x31ddf5[_0x2fa02e(0x49d)]||_0x2aef78==null||this[_0x2fa02e(0x4e3)]['set'](_0x372037,_0x2aef78);}async[_0x3238bf(0x301)](_0x45d875){const _0x3203f7=_0x3238bf;try{const _0x550ad5=this[_0x3203f7(0x3cc)](this[_0x3203f7(0x477)](),''+_0x45d875),_0x1512a2=(await this[_0x3203f7(0x276)][_0x3203f7(0x3a5)](_0x550ad5))[_0x3203f7(0x3bd)];if(_0x1512a2['error']&&_0x1512a2[_0x3203f7(0x241)][_0x3203f7(0x50d)]===Ri['OK']){const _0x3f6611=new URL(_0x1512a2[_0x3203f7(0x186)],this[_0x3203f7(0x1fb)]())[_0x3203f7(0x1b8)]();return Promise[_0x3203f7(0x246)](_0x3f6611);}return Promise[_0x3203f7(0x32a)](_0x1512a2['error']);}catch(_0x5a873c){return Promise[_0x3203f7(0x32a)](_0x5a873c);}}async[_0x3238bf(0x318)](_0x49473d){const _0x200008=_0x3238bf;let _0x29773a='';if(!_c['includes'](_0x49473d[_0x200008(0x4cf)]))return this[_0x200008(0x236)](),Promise[_0x200008(0x32a)](new Error(_0x2cdd79[_0x200008(0x3ec)]));if(_0x49473d['size']>uc)return this[_0x200008(0x236)](),Promise[_0x200008(0x32a)](new Error(_0x2cdd79['ERROR_EXCEED_SIZE']));try{const _0xb220c3=new FormData();_0xb220c3[_0x200008(0x4e6)](_0x200008(0x2b1),_0x49473d);const _0x2d8f80=this[_0x200008(0x262)][_0x200008(0x48e)](),_0x5217ba=_0x2d8f80==null?void 0x0:_0x2d8f80[_0x200008(0x3fd)]();if(!_0x5217ba)throw new Error('unitId\x20is\x20not\x20found');const _0x26f88b=this[_0x200008(0x3c3)]()+_0x200008(0x55b)+_0x49473d[_0x200008(0x346)][_0x200008(0x1b8)]()+'&source='+yi[_0x200008(0x352)]+_0x200008(0x242)+encodeURIComponent(_0x5217ba),_0x9b8334=await(await fetch(_0x26f88b,{'method':_0x200008(0x22f),'body':_0xb220c3}))[_0x200008(0x1b9)]();if(typeof _0x9b8334[_0x200008(0x207)]!=_0x200008(0x303))return this[_0x200008(0x236)](),Promise['reject'](new Error(_0x2cdd79[_0x200008(0x2e9)]));_0x29773a=_0x9b8334[_0x200008(0x207)];}catch{return this[_0x200008(0x236)](),Promise['reject'](new Error(_0x2cdd79['ERROR_IMAGE']));}return new Promise((_0x4b7094,_0x5c44ad)=>{const _0x42bcbe=_0x200008,_0x144ed8=new FileReader();_0x144ed8[_0x42bcbe(0x556)](_0x49473d),_0x144ed8['onload']=_0x3a99f5=>{const _0x588716=_0x42bcbe;var _0x4e14b4;const _0x5c30ab=(_0x4e14b4=_0x3a99f5[_0x588716(0x4d3)])==null?void 0x0:_0x4e14b4[_0x588716(0x4c2)];if(_0x5c30ab==null){this[_0x588716(0x236)](),_0x5c44ad(new Error(_0x2cdd79[_0x588716(0x2e9)]));return;}const _0xe091fb=_0x3a7870[_0x588716(0x2ae)](0x6);_0x4b7094({'imageId':_0xe091fb,'imageSourceType':_0x31ddf5[_0x588716(0x44d)],'source':_0x29773a,'base64Cache':_0x5c30ab,'status':_0x2cdd79['SUCCUSS']}),this[_0x588716(0x236)]();};});}[_0x3238bf(0x3c3)](){const _0x1468a6=_0x3238bf;var _0x3b693e,_0x3bf9ae;const _0x5ae07b=this[_0x1468a6(0x330)][_0x1468a6(0x404)](dc),_0x3f848d=this[_0x1468a6(0x330)][_0x1468a6(0x404)](ie);return(_0x3bf9ae=(_0x3b693e=_0x3f848d==null?void 0x0:_0x3f848d[_0x1468a6(0x475)])!=null?_0x3b693e:_0x5ae07b)!=null?_0x3bf9ae:fc;}[_0x3238bf(0x477)](){const _0x36bf0b=_0x3238bf;var _0x1440db,_0x18e9b6;const _0x4ca66f=this['_configService'][_0x36bf0b(0x404)](vc),_0x54210d=this[_0x36bf0b(0x330)][_0x36bf0b(0x404)](ie);return(_0x18e9b6=(_0x1440db=_0x54210d==null?void 0x0:_0x54210d[_0x36bf0b(0x519)])!=null?_0x1440db:_0x4ca66f)!=null?_0x18e9b6:mc;}[_0x3238bf(0x1fb)](){const _0x28ee31=_0x3238bf;var _0x21d2de;const _0x274e2d=this['_configService']['getConfig'](ie);return(_0x21d2de=_0x274e2d==null?void 0x0:_0x274e2d[_0x28ee31(0x3d5)])!=null?_0x21d2de:location['origin'];}[_0x3238bf(0x3cc)](_0x1ac89a,_0x34fe4f){const _0x75d949=_0x3238bf;return _0x1ac89a[_0x75d949(0x4e2)](_0x75d949(0x21a),_0x34fe4f);}[_0x3238bf(0x236)](){const _0x1077b5=_0x3238bf;this[_0x1077b5(0x502)]-=0x1,this[_0x1077b5(0x43c)]['next'](this[_0x1077b5(0x502)]);}};hs=lc([Xt(0x0,_0x4a2654(_0x4ca339)),Xt(0x1,_0x12cd24),Xt(0x2,_0x4a2654(_0x21deaa))],hs);var pc=Object[_0x3238bf(0x535)],gc=Object[_0x3238bf(0x2df)],Sc=(_0x745129,_0x236472,_0x189744,_0x1b0325)=>{const _0x33c25f=_0x3238bf;for(var _0x841d81=_0x1b0325>0x1?void 0x0:_0x1b0325?gc(_0x236472,_0x189744):_0x236472,_0x24baa7=_0x745129[_0x33c25f(0x325)]-0x1,_0xc0b24f;_0x24baa7>=0x0;_0x24baa7--)(_0xc0b24f=_0x745129[_0x24baa7])&&(_0x841d81=(_0x1b0325?_0xc0b24f(_0x236472,_0x189744,_0x841d81):_0xc0b24f(_0x841d81))||_0x841d81);return _0x1b0325&&_0x841d81&&pc(_0x236472,_0x189744,_0x841d81),_0x841d81;},Qe=(_0x8e91e,_0x230bab)=>(_0x422e53,_0x49acde)=>_0x230bab(_0x422e53,_0x49acde,_0x8e91e);let Tt=class extends _0x9ae76a{constructor(_0x5be0b9,_0x3a22cf,_0x3e4a18,_0x353081,_0x21b2a1){const _0x22d85d=_0x3238bf;super(),this[_0x22d85d(0x151)]=_0x5be0b9,this['_univerInstanceService']=_0x3a22cf,this[_0x22d85d(0x184)]=_0x3e4a18,this[_0x22d85d(0x1c6)]=_0x353081,this[_0x22d85d(0x141)]=_0x21b2a1,this[_0x22d85d(0x29c)](),this[_0x22d85d(0x259)]();}[_0x3238bf(0x259)](){const _0x9aac5c=_0x3238bf,_0x576cc9=async _0x140012=>{const _0xf76fff=_0x466f;(await this[_0xf76fff(0x1c6)]['requireSession'](_0x140012))[_0xf76fff(0x173)][_0xf76fff(0x380)](_0x2fd833(_0x2e15fe=>_0x2e15fe[_0xf76fff(0x448)]===_0x2c5a34[_0xf76fff(0x328)]),_0x4cba74(this[_0xf76fff(0x4e8)]))[_0xf76fff(0x43b)](_0x1e5fe6=>{const _0x3bea5c=_0xf76fff,_0x20ca4e=_0x1e5fe6,{reason:_0xfe9122}=_0x20ca4e[_0x3bea5c(0x209)];this[_0x3bea5c(0x151)][_0x3bea5c(0x3a5)](_0x2f8dd1)[_0x3bea5c(0x29f)]({'type':_0x62271a[_0x3bea5c(0x349)],'content':this[_0x3bea5c(0x141)]['t'](_0x3bea5c(0x358))+'('+_0xfe9122+')'}),this[_0x3bea5c(0x184)]['updatePermissionPoint'](new _0x5f270b(_0x140012)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x140012);});};_0xf2f2cb(this['_univerInstanceService'][_0x9aac5c(0x3b4)](_0x5997c4[_0x9aac5c(0x49a)]),this[_0x9aac5c(0x262)][_0x9aac5c(0x3b4)](_0x5997c4['UNIVER_DOC']))[_0x9aac5c(0x380)](_0x46b391(_0x3ec676=>_0x3ec676[_0x9aac5c(0x3fd)]()),_0x2fd833(_0x118799=>!_0x1e2c2b(_0x118799)),_0x4cba74(this[_0x9aac5c(0x4e8)]))['subscribe'](_0x4bd79e=>{_0x576cc9(_0x4bd79e);});}[_0x3238bf(0x29c)](){const _0x5a8166=_0x3238bf,_0x171c05=async _0x8bcb71=>{const _0x48c929=_0x466f;(await this[_0x48c929(0x1c6)][_0x48c929(0x2fe)](_0x8bcb71))[_0x48c929(0x173)][_0x48c929(0x380)](_0x2fd833(_0x3666f7=>_0x3666f7[_0x48c929(0x448)]===_0x2c5a34[_0x48c929(0x24b)]),_0x4cba74(this['dispose$']))['subscribe'](_0x5386b6=>{const _0x134236=_0x48c929,_0x29b3a8=_0x5386b6,{objectId:_0x47ec56}=_0x29b3a8[_0x134236(0x209)],_0x2ab899=this['_injector'][_0x134236(0x3a5)](_0x2b81e1);_0x47ec56===_0x8bcb71?_0x2ab899['initWorkbookPermissionChange'](_0x8bcb71):_0x2ab899[_0x134236(0x164)](_0x8bcb71,_0x47ec56);});};_0xf2f2cb(this[_0x5a8166(0x262)]['getTypeOfUnitAdded$'](_0x5997c4['UNIVER_SHEET']),this[_0x5a8166(0x262)][_0x5a8166(0x3b4)](_0x5997c4[_0x5a8166(0x32f)]))[_0x5a8166(0x380)](_0x46b391(_0x1ed648=>_0x1ed648['getUnitId']()),_0x2fd833(_0x29f0b9=>!_0x1e2c2b(_0x29f0b9)),_0x4cba74(this[_0x5a8166(0x4e8)]))[_0x5a8166(0x43b)](_0x284035=>{_0x171c05(_0x284035);});}};Tt=Sc([Qe(0x0,_0x4a2654(_0x28b8e2)),Qe(0x1,_0x21deaa),Qe(0x2,_0x3cddab),Qe(0x3,_0x4a2654(Ae)),Qe(0x4,_0x4a2654(_0xc7611d))],Tt);var Ic=Object[_0x3238bf(0x535)],Cc=Object[_0x3238bf(0x2df)],Ec=(_0xf07cb2,_0x222127,_0x5bb0db,_0xa9abaa)=>{const _0x2f17ae=_0x3238bf;for(var _0x1460a9=_0xa9abaa>0x1?void 0x0:_0xa9abaa?Cc(_0x222127,_0x5bb0db):_0x222127,_0x545b24=_0xf07cb2[_0x2f17ae(0x325)]-0x1,_0x1e5b1a;_0x545b24>=0x0;_0x545b24--)(_0x1e5b1a=_0xf07cb2[_0x545b24])&&(_0x1460a9=(_0xa9abaa?_0x1e5b1a(_0x222127,_0x5bb0db,_0x1460a9):_0x1e5b1a(_0x1460a9))||_0x1460a9);return _0xa9abaa&&_0x1460a9&&Ic(_0x222127,_0x5bb0db,_0x1460a9),_0x1460a9;},ni=(_0x12da5e,_0x2bbd01)=>(_0x5c467d,_0x8c1067)=>_0x2bbd01(_0x5c467d,_0x8c1067,_0x12da5e);let ls=class{constructor(_0x21fd9e,_0x1d5fac){const _0x57ddb5=_0x3238bf;this[_0x57ddb5(0x330)]=_0x21fd9e,this[_0x57ddb5(0x276)]=_0x1d5fac;}async[_0x3238bf(0x17f)](_0x33c1d1,_0x255c71){const _0x6cb15d=_0x3238bf;var _0x2fe582;const {unitID:_0x588b9a,type:_0x59f38c,revision:_0x547517=0x0}=_0x255c71,_0x105611=this[_0x6cb15d(0x4ee)]()+'/'+_0x59f38c+'/unit/'+_0x588b9a+'/rev/'+_0x547517,_0x4c2f0a=(await this[_0x6cb15d(0x276)]['get'](_0x105611))['body'],_0x3ee4cc=(_0x2fe582=_0x4c2f0a[_0x6cb15d(0x450)])==null?void 0x0:_0x2fe582['workbook'];if(_0x3ee4cc){const _0x54bd66=_0x3ee4cc==null?void 0x0:_0x3ee4cc['originalMeta'],_0x4a9a87=_0x1b8593[_0x6cb15d(0x4df)](_0x37b045(_0x54bd66));_0x3ee4cc[_0x6cb15d(0x4cd)]=_0x4a9a87,Object[_0x6cb15d(0x534)](_0x3ee4cc[_0x6cb15d(0x42d)])[_0x6cb15d(0x4b5)](([,_0x86caee])=>{const _0x41871e=_0x6cb15d,_0x536d00=_0x86caee[_0x41871e(0x4cd)],_0x2f5761=_0x1b8593[_0x41871e(0x4df)](_0x37b045(_0x536d00));_0x86caee[_0x41871e(0x4cd)]=_0x2f5761;});}return _0x4c2f0a;}async[_0x3238bf(0x540)](_0x42f18f,_0x5ed930){const _0x2f466f=_0x3238bf,{unitID:_0xbbda27,type:_0x3fc412,blockID:_0x380779}=_0x5ed930,_0x2dcfa8=this[_0x2f466f(0x1c8)]()+'/'+_0x3fc412+_0x2f466f(0x524)+_0xbbda27+'/block/'+_0x380779;return(await this['_httpService'][_0x2f466f(0x3a5)](_0x2dcfa8))[_0x2f466f(0x3bd)];}async[_0x3238bf(0x3d3)](_0x127686,_0x2ba36a){const _0x351edf=_0x3238bf,{unitID:_0x795655,type:_0x33497a,blockID:_0x13d377}=_0x2ba36a,_0x40ef25=this[_0x351edf(0x1c8)]()+'/block/'+_0x33497a+_0x351edf(0x524)+_0x795655+_0x351edf(0x482)+_0x13d377;return(await this['_httpService'][_0x351edf(0x3a5)](_0x40ef25))[_0x351edf(0x3bd)];}async[_0x3238bf(0x2b6)](_0x5df86a,_0x25fb8c){const _0xef094d=_0x3238bf,{unitID:_0x4871d7,type:_0x404d1b,from:_0x269409,to:_0x2dc1af}=_0x25fb8c,_0x1b27d0=this[_0xef094d(0x1c8)]()+'/'+_0x404d1b+'/unit/'+_0x4871d7+'/fetchmissing?from='+_0x269409+_0xef094d(0x408)+_0x2dc1af;return(await this[_0xef094d(0x276)][_0xef094d(0x3a5)](_0x1b27d0))['body'];}[_0x3238bf(0x4ee)](){const _0xd4e49=_0x3238bf;var _0x442a9d;return(_0x442a9d=this[_0xd4e49(0x330)]['getConfig'](lr))!=null?_0x442a9d:this[_0xd4e49(0x1c8)]();}[_0x3238bf(0x1c8)](){const _0x98c496=_0x3238bf;var _0x36c8a1,_0x68afa2;const _0x270ee4=this[_0x98c496(0x330)][_0x98c496(0x404)](cr),_0x35eef8=this[_0x98c496(0x330)][_0x98c496(0x404)](ie);return(_0x68afa2=(_0x36c8a1=_0x35eef8==null?void 0x0:_0x35eef8[_0x98c496(0x4a8)])!=null?_0x36c8a1:_0x270ee4)!=null?_0x68afa2:hr;}async[_0x3238bf(0x4d4)](_0x2de886,_0x4aae54){const _0x11c5d7=_0x3238bf,_0x2dc669=_0x11c5d7(0x529)+_0x4aae54['type']+_0x11c5d7(0x524)+_0x4aae54[_0x11c5d7(0x4e9)]+'/resources';return(await this['_httpService'][_0x11c5d7(0x3a5)](_0x2dc669,{'params':{'resourceId':JSON[_0x11c5d7(0x2a3)](_0x4aae54['resourceIDs'])}}))[_0x11c5d7(0x3bd)];}[_0x3238bf(0x543)](){const _0xf21682=_0x3238bf;throw new Error(_0xf21682(0x28a));}['saveSheetBlock'](){const _0x41edc5=_0x3238bf;throw new Error(_0x41edc5(0x28a));}[_0x3238bf(0x3ed)](){const _0x2bccf3=_0x3238bf;throw new Error(_0x2bccf3(0x28a));}['copyFileMeta'](){const _0x4e958b=_0x3238bf;throw new Error(_0x4e958b(0x28a));}[_0x3238bf(0x2f2)](){const _0xe61912=_0x3238bf;throw new Error(_0xe61912(0x28a));}};ls=Ec([ni(0x0,_0x12cd24),ni(0x1,_0x4a2654(_0x4ca339))],ls);var bc=Object[_0x3238bf(0x535)],Tc=Object['getOwnPropertyDescriptor'],Rc=(_0x5bf803,_0x4c5f72,_0x4cd900,_0x21fb66)=>{const _0x5791ab=_0x3238bf;for(var _0x528333=_0x21fb66>0x1?void 0x0:_0x21fb66?Tc(_0x4c5f72,_0x4cd900):_0x4c5f72,_0x30bab4=_0x5bf803[_0x5791ab(0x325)]-0x1,_0x28f918;_0x30bab4>=0x0;_0x30bab4--)(_0x28f918=_0x5bf803[_0x30bab4])&&(_0x528333=(_0x21fb66?_0x28f918(_0x4c5f72,_0x4cd900,_0x528333):_0x28f918(_0x528333))||_0x528333);return _0x21fb66&&_0x528333&&bc(_0x4c5f72,_0x4cd900,_0x528333),_0x528333;},et=(_0x4b34e4,_0x3041cd)=>(_0x5b1be3,_0x2a79ca)=>_0x3041cd(_0x5b1be3,_0x2a79ca,_0x4b34e4);let _s=class extends _0x3cb107{constructor(_0x4ad075,_0x5ba338,_0x328d66,_0x1a16c7,_0x1bc4c7){const _0x4a6cde=_0x3238bf;super(_0x4ad075,_0x5ba338,_0x328d66),this[_0x4a6cde(0x41a)]=_0x1a16c7,this['_logService']=_0x1bc4c7;}[_0x3238bf(0x4cb)](_0x254b07,_0x506db0){const _0x14e601=_0x3238bf,_0x5b9bf1=this[_0x14e601(0x1f7)](_0x254b07);if(_0x5b9bf1)try{const _0x134c29=this[_0x14e601(0x33b)](_0x5b9bf1,_0x506db0);this['_substituteUndoStack'](_0x254b07,_0x134c29);}catch(_0x3845db){this[_0x14e601(0x188)][_0x14e601(0x241)]('[CollaborationUndoRedoService]',_0x3845db),this[_0x14e601(0x23f)](_0x254b07);}const _0x2ccb17=this['_getRedoStack'](_0x254b07);if(_0x2ccb17)try{const _0x538e57=this[_0x14e601(0x33b)](_0x2ccb17,_0x506db0);this[_0x14e601(0x3f4)](_0x254b07,_0x538e57);}catch(_0x463ed7){this[_0x14e601(0x188)][_0x14e601(0x241)](_0x463ed7),this[_0x14e601(0x21b)](_0x254b07);}}[_0x3238bf(0x23f)](_0x53ec38){const _0x64c9a5=_0x3238bf,_0x1333fa=this[_0x64c9a5(0x1f7)](_0x53ec38);_0x1333fa&&(_0x1333fa['length']=0x0,this['_updateStatus']());}['_clearRedo'](_0x4f5578){const _0x144480=_0x3238bf,_0x34d83a=this[_0x144480(0x310)](_0x4f5578);_0x34d83a&&(_0x34d83a[_0x144480(0x325)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x4db5da,_0x3060b3){const _0x125dc0=_0x3238bf;this['_undoStacks'][_0x125dc0(0x13d)](_0x4db5da,_0x3060b3),this['_updateStatus']();}[_0x3238bf(0x3f4)](_0x374d2b,_0xc01532){const _0x42aad2=_0x3238bf;this[_0x42aad2(0x4b0)]['set'](_0x374d2b,_0xc01532),this['_updateStatus']();}['_transformStack'](_0x193649,_0x1a32c2){const _0x39ab1b=_0x3238bf,_0x3d58c5=[];let _0xd394c2=_0x1a32c2,_0x31376a=_0x1a32c2;for(let _0x4953d2=_0x193649['length']-0x1;_0x4953d2>=0x0;_0x4953d2--){const {unitID:_0x32de92,undoMutations:_0x500d42,redoMutations:_0x84654e}=_0x193649[_0x4953d2],_0x5db8e3=this[_0x39ab1b(0x41a)][_0x39ab1b(0x2ee)](_0xd394c2,_0x500d42),_0x55d7c2=this[_0x39ab1b(0x41a)][_0x39ab1b(0x2ee)](_0x31376a,_0x84654e);if(_0x31d7c3(_0x5db8e3)||_0x31d7c3(_0x55d7c2)){this[_0x39ab1b(0x188)]['error'](_0x39ab1b(0x19c),_0x39ab1b(0x24e),_0x5db8e3,_0x55d7c2);break;}_0xd394c2=_0x5db8e3['c1Prime'],_0x31376a=_0x55d7c2[_0x39ab1b(0x4f0)],_0x3d58c5[_0x39ab1b(0x419)]({'unitID':_0x32de92,'undoMutations':_0x5db8e3[_0x39ab1b(0x471)],'redoMutations':_0x55d7c2[_0x39ab1b(0x471)]});}return _0x3d58c5[_0x39ab1b(0x254)]();}};_s=Rc([et(0x0,_0x21deaa),et(0x1,_0x462ea5),et(0x2,_0x1b64c2),et(0x3,_0x945511),et(0x4,_0x5d0f53)],_s);class yc extends _0x9ae76a{constructor(){const _0x445493=_0x3238bf;super(),g(this,_0x445493(0x47b)),this[_0x445493(0x47b)]=_0xfa2d6a(window,_0x445493(0x348))[_0x445493(0x380)](_0x4b2adb(this[_0x445493(0x4e8)]),_0x2ad7f3(0x1),_0x36fe6d(void 0x0));}['setParam'](_0x5dab13,_0x188ec2,_0x2e57e3=!0x1){const _0x11fbb1=_0x3238bf,_0x502acb=new URL(window[_0x11fbb1(0x3f3)]['href']);_0x502acb[_0x11fbb1(0x3e9)][_0x11fbb1(0x13d)](_0x5dab13,_0x188ec2),_0x2e57e3?window['history']['replaceState']('','',_0x502acb[_0x11fbb1(0x1b8)]()):window[_0x11fbb1(0x3a8)]['pushState']('','',_0x502acb[_0x11fbb1(0x1b8)]());}[_0x3238bf(0x402)](_0x3cb534,_0x4a5f4b=!0x1){const _0x4fc3b2=_0x3238bf,_0x586de6=new URL(window[_0x4fc3b2(0x3f3)][_0x4fc3b2(0x46c)]);_0x586de6[_0x4fc3b2(0x3e9)][_0x4fc3b2(0x45a)](_0x3cb534),_0x4a5f4b?window[_0x4fc3b2(0x3a8)][_0x4fc3b2(0x2d1)]('','',_0x586de6[_0x4fc3b2(0x1b8)]()):window[_0x4fc3b2(0x3a8)]['pushState']('','',_0x586de6['toString']());}[_0x3238bf(0x364)](_0x3bff03){const _0x5eb691=_0x3238bf;var _0x42b0b8;return(_0x42b0b8=new URL(window[_0x5eb691(0x3f3)][_0x5eb691(0x46c)])[_0x5eb691(0x3e9)]['get'](_0x3bff03))!=null?_0x42b0b8:void 0x0;}}var zi=Object['defineProperty'],Oc=Object[_0x3238bf(0x2df)],wc=(_0x4d67af,_0x23adec,_0x58f869)=>_0x23adec in _0x4d67af?zi(_0x4d67af,_0x23adec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x58f869}):_0x4d67af[_0x23adec]=_0x58f869,Dc=(_0x2f1182,_0x5ee4b8,_0x51d51c,_0x193190)=>{for(var _0x52ae80=_0x193190>0x1?void 0x0:_0x193190?Oc(_0x5ee4b8,_0x51d51c):_0x5ee4b8,_0x3fcf1c=_0x2f1182['length']-0x1,_0xed921b;_0x3fcf1c>=0x0;_0x3fcf1c--)(_0xed921b=_0x2f1182[_0x3fcf1c])&&(_0x52ae80=(_0x193190?_0xed921b(_0x5ee4b8,_0x51d51c,_0x52ae80):_0xed921b(_0x52ae80))||_0x52ae80);return _0x193190&&_0x52ae80&&zi(_0x5ee4b8,_0x51d51c,_0x52ae80),_0x52ae80;},lt=(_0x23ebd2,_0x63487b)=>(_0x1b469a,_0x41a0b)=>_0x63487b(_0x1b469a,_0x41a0b,_0x23ebd2),Pc=(_0x4f6a39,_0x5880dc,_0x499d74)=>wc(_0x4f6a39,_0x5880dc+'',_0x499d74);const Uc=_0x3238bf(0x35d);let us=class extends _0x31d01a{constructor(_0x22aad7=Rr,_0x1a0de7,_0x3d50a3,_0x148655,_0x5f57f1){const _0xb5198=_0x3238bf;super(),this['_config']=_0x22aad7,this['_logService']=_0x1a0de7,this[_0xb5198(0x309)]=_0x3d50a3,this[_0xb5198(0x151)]=_0x148655,this[_0xb5198(0x330)]=_0x5f57f1;const {..._0x514efe}=this[_0xb5198(0x211)];this[_0xb5198(0x330)][_0xb5198(0x13e)](ie,_0x514efe);}[_0x3238bf(0x3dc)](){const _0x2665f0=_0x3238bf;this[_0x2665f0(0x2f5)](),this[_0x2665f0(0x2d0)]();}['onReady'](){_0x2de621(this['_injector'],[[Ct]]);}[_0x3238bf(0x1a3)](){const _0x58b5e1=_0x3238bf;this[_0x58b5e1(0x160)]();}[_0x3238bf(0x2f5)](){const _0x1f7b8c=_0x3238bf;var _0x179586,_0x299e79,_0x4deecc,_0x132411;this[_0x1f7b8c(0x151)][_0x1f7b8c(0x220)](_0x558053)&&this[_0x1f7b8c(0x188)][_0x1f7b8c(0x241)](_0x1f7b8c(0x514),_0x1f7b8c(0x1c2));const _0x405326=[[_0x558053,{'useClass':_s}],[Ae],[bs],[Bi,{'useClass':yc}],[Ne],[q],[_0xbe8463],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[Oi,{'useClass':(_0x299e79=(_0x179586=this['_config'])==null?void 0x0:_0x179586[_0x1f7b8c(0x4d9)])!=null?_0x299e79:es}],[_0x54fc87,{'useClass':ls}],[_0x26b704,{'useClass':cs}],[_0x1a8564,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x4deecc=this[_0x1f7b8c(0x211)])!=null&&_0x4deecc['enableSingleActiveInstanceLock']&&_0x405326[_0x1f7b8c(0x419)]([Rt,{'useClass':ro}]),_0x5e3113(this[_0x1f7b8c(0x151)],_0x2a6101(_0x405326,(_0x132411=this[_0x1f7b8c(0x211)])==null?void 0x0:_0x132411[_0x1f7b8c(0x473)]));}[_0x3238bf(0x160)](){const _0x30180d=_0x3238bf;this['disposeWithMe'](this[_0x30180d(0x309)][_0x30180d(0x215)](_0x5997c4[_0x30180d(0x32f)],[os])),this[_0x30180d(0x3df)](this[_0x30180d(0x309)][_0x30180d(0x215)](_0x5997c4[_0x30180d(0x49a)],[as]));}[_0x3238bf(0x2d0)](){const _0x12f16a=_0x3238bf;var _0x507dd2,_0x5f1dde;this[_0x12f16a(0x151)][_0x12f16a(0x3a5)](_0x4ca339)[_0x12f16a(0x351)]({'priority':0x14,'interceptor':_0x436092({'maxParallel':0x6})}),(_0x507dd2=this[_0x12f16a(0x211)])!=null&&_0x507dd2[_0x12f16a(0x51a)]||this['_injector'][_0x12f16a(0x3a5)](q)[_0x12f16a(0x2f9)](),(_0x5f1dde=this['_config'])!=null&&_0x5f1dde['enableAuthServer']&&_0x2de621(this['_injector'],[[Et]]),_0x2de621(this[_0x12f16a(0x151)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Pc(us,_0x3238bf(0x234),Uc),us=Dc([_0xcd516b(_0x5246a2,_0x1fe2e7),lt(0x1,_0x5d0f53),lt(0x2,_0x273231),lt(0x3,_0x4a2654(_0x28b8e2)),lt(0x4,_0x12cd24)],us);export{Ba as AUTHZ_URL_KEY,cs as AuthzIoHttpService,Cr as COLLAB_SUBMIT_CHANGESET_URL_KEY,ur as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,Ca as CollaborationStatusDisplay,wi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,fr as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Bi as IURLService,hs as ImageIoService,Sr as LOCAL_CACHE_INTERVAL_KEY,br as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,pr as RETRY_CONNECTING_MAX_COUNT_KEY,Xc as SEND_CHANGESET_TIMEOUT_KEY,cr as SNAPSHOT_SERVER_URL_KEY,lr as SNAPSHOT_URL_KEY,ve as SessionStatus,Xo as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,yc as WebURLService,yr as deserializeToCombResponse,Or as serializeCombRequest};
1
+ const _0x22ca65=_0x5acb;(function(_0x5e45d9,_0x297c53){const _0x5e9d07=_0x5acb,_0x8e08cf=_0x5e45d9();while(!![]){try{const _0x596a47=-parseInt(_0x5e9d07(0x2f0))/0x1*(-parseInt(_0x5e9d07(0x1e6))/0x2)+-parseInt(_0x5e9d07(0x382))/0x3*(parseInt(_0x5e9d07(0x1de))/0x4)+-parseInt(_0x5e9d07(0x15e))/0x5*(-parseInt(_0x5e9d07(0x1ab))/0x6)+-parseInt(_0x5e9d07(0x27b))/0x7+parseInt(_0x5e9d07(0x265))/0x8+parseInt(_0x5e9d07(0x12e))/0x9*(-parseInt(_0x5e9d07(0x195))/0xa)+parseInt(_0x5e9d07(0x4b1))/0xb*(-parseInt(_0x5e9d07(0x3ac))/0xc);if(_0x596a47===_0x297c53)break;else _0x8e08cf['push'](_0x8e08cf['shift']());}catch(_0x186d44){_0x8e08cf['push'](_0x8e08cf['shift']());}}}(_0x4d74,0xd3bd5));var qi=Object['defineProperty'],Xi=(_0x4a7860,_0x5063af,_0x247f64)=>_0x5063af in _0x4a7860?qi(_0x4a7860,_0x5063af,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x247f64}):_0x4a7860[_0x5063af]=_0x247f64,g=(_0x47464c,_0x5aa158,_0x4788bc)=>Xi(_0x47464c,typeof _0x5aa158!=_0x22ca65(0x144)?_0x5aa158+'':_0x5aa158,_0x4788bc);import{createIdentifier as _0x1263bd,Inject as _0x1013ae,Disposable as _0xad8dab,DisposableCollection as _0x4cdfcc,toDisposable as _0x3ed3fa,IConfigService as _0x407e18,ILogService as _0x3b5747,UserManagerService as _0x316b29,UniverInstanceType as _0x297986,IUniverInstanceService as _0x331bf2,LocaleService as _0x199c09,Optional as _0x3611e0,RxDisposable as _0xbe756c,Injector as _0x1f2d44,Tools as _0x1d82fd,ILocalStorageService as _0x1bdfad,Rectangle as _0x27626b,ICommandService as _0x11db88,DOC_RANGE_TYPE as _0x771b62,JSONX as _0x1e47b1,CommandType as _0x32952f,IPermissionService as _0x58f20b,IUndoRedoService as _0x2ef4cd,sequenceExecute as _0x839c3b,debounce as _0x22c102,COLORS as _0x3403f3,ColorKit as _0x151cb2,ThemeService as _0x56884f,fromEventSubject as _0x58f499,useDependency as _0x413c68,connectInjector as _0x4e5873,Workbook as _0x1a3e20,isInternalEditorID as _0x43c099,LocalUndoRedoService as _0x4a9aa7,IContextService as _0x375fd6,DependentOn as _0x2af654,Plugin as _0x29518a,touchDependencies as _0x4acb1b,IAuthzIoService as _0x128259,registerDependencies as _0x38efe2,mergeOverrideWithDependencies as _0x3fae8d}from'@univerjs/core';import{Subject as _0x19647f,merge as _0xc64e83,takeUntil as _0xd6bf95,BehaviorSubject as _0x35a34c,distinctUntilChanged as _0x1459fc,fromEvent as _0x1999e4,ReplaySubject as _0x31498e,take as _0x260a31,map as _0x112cde,shareReplay as _0x5d11ed,of as _0x4f7194,debounceTime as _0x7dde20,filter as _0x5abdae,switchMap as _0x39b41e,combineLatest as _0x41be65,concatMap as _0xbac378,mapTo as _0x20f9a0}from'rxjs';import{map as _0x2649d9,take as _0x1e62e5,filter as _0x382fe5,delay as _0x33d741,throttleTime as _0x2d3a19,takeUntil as _0x20c719,switchMap as _0xa20545}from'rxjs/operators';import{MessageType as _0x16718d,Tooltip as _0x4dfb4c}from'@univerjs/design';import{HTTPService as _0x5cb2c0,WebSocketService as _0x4c9c14,MergeInterceptorFactory as _0x14179a,HTTPRequest as _0x4a3831,UniverNetworkPlugin as _0x5afdc9,ThresholdInterceptorFactory as _0x44b3d2}from'@univerjs/network';import{IBeforeCloseService as _0x4c7392,IMessageService as _0x37ddb9,INotificationService as _0x400312,useObservable as _0x197cd7,BuiltInUIPart as _0x137768,IUIPartsService as _0x5f056d}from'@univerjs/ui';import{CollaborationEvent as _0x2d656f,parseChangesetToProtocol as _0x4be203,ISnapshotServerService as _0x6b32e7,isTransformMutationFailure as _0x25153f,isTransformMutationsWithChangesetSuccess as _0x47fd9b,ITransformService as _0x1a9226,RevisionService as _0x12c150,mapDocumentTypeToUniverType as _0x455d4e,isTransformChangesetsSuccess as _0xb5c743,CompressMutationService as _0x10bbad,parseProtocolChangeset as _0x43553b,SnapshotService as _0x1ee905,textEncoder as _0x10971a,b64DecodeUnicode as _0x1a32fe,isTransformMutationsWithChangesetFailure as _0x106789,UniverCollaborationPlugin as _0x6698d}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3e30de}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x54b80a,DocStateChangeManagerService as _0x58eb9f,NodePositionConvertToCursor as _0x4a3363,NodePositionConvertToRectRange as _0x4e4357,TEXT_RANGE_LAYER_INDEX as _0x467468,SetDocZoomRatioOperation as _0x40715c}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x2d9510,SetSelectionsOperation as _0xb3251,InsertSheetMutation as _0x3a1ccd,EmptyMutation as _0x20e814,WorkbookEditablePermission as _0x3dc311,RefRangeService as _0x649fa4,EffectRefRangId as _0x210d62,handleIRemoveRow as _0xc1597d,handleIRemoveCol as _0x256d15,handleMoveRange as _0x132209,handleInsertRow as _0x19870c,handleInsertRangeMoveRight as _0x5e6b35,handleInsertRangeMoveDown as _0x203a10,handleInsertCol as _0x57d246,handleDeleteRangeMoveUp as _0x301e62,handleDeleteRangeMoveLeft as _0x17ac48,runRefRangeMutations as _0x1df6e4,SetWorksheetActivateCommand as _0x53756d}from'@univerjs/sheets';import{IRenderManagerService as _0x4cb866,Shape as _0x5533c2,Rect as _0x14609d,getColor as _0x15f28e,RegularPolygon as _0xff41d1,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x290526,Vector2 as _0x290249}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x5640b6,RichTextEditingMutation as _0x3fb99f,SetTextSelectionsOperation as _0x5be1c7,DocSkeletonManagerService as _0x17bee2}from'@univerjs/docs';import{ImageSourceType as _0x545075,ImageUploadStatusType as _0x476773,IImageIoService as _0x150f9e}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x213ef8,serializeRangeWithSheet as _0x18395d}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x2fb419,VIEWPORT_KEY as _0x1e1327,getCoordByCell as _0x2dc018,getSheetObject as _0x304305,SheetPermissionInitController as _0x102327}from'@univerjs/sheets-ui';import _0x3c779d,{forwardRef as _0x2327fb,useRef as _0x3c42f1,createElement as _0xc42b8,useCallback as _0x55aa5e}from'react';import{IRemoteInstanceService as _0x499013}from'@univerjs/rpc';const cr=_0x22ca65(0x43b),hr=_0x22ca65(0x22e),lr=_0x22ca65(0x49a),Jc=_0x22ca65(0x3dd),_r=0x7d0,ur=_0x22ca65(0x501),dr=_0x22ca65(0x1a7),fr=_0x22ca65(0x503),vr=_0x22ca65(0x132),mr=0x7530,bi=_0x22ca65(0x33e),Ti=0x4e20,pr=0x4e20,gr=_0x22ca65(0x2e7),Sr=0x3,Ir='LOCAL_CACHE_INTERVAL',Cr=0x3e8,Er='COLLAB_SUBMIT_CHANGESET_URL',br=_0x22ca65(0x116),Tr=_0x22ca65(0x30b),Rr=_0x22ca65(0x17d);var Ri=(_0x34397c=>(_0x34397c[_0x34397c[_0x22ca65(0x408)]=0x0]=_0x22ca65(0x408),_0x34397c[_0x34397c['OK']=0x1]='OK',_0x34397c[_0x34397c[_0x22ca65(0x1d1)]=0x2]='INTERNAL_ERROR',_0x34397c[_0x34397c['PERMISSION_DENIED']=0x3]=_0x22ca65(0x3e7),_0x34397c[_0x34397c[_0x22ca65(0x275)]=0x4]=_0x22ca65(0x275),_0x34397c[_0x34397c[_0x22ca65(0x3cd)]=0x5]=_0x22ca65(0x3cd),_0x34397c[_0x34397c[_0x22ca65(0x130)]=0x6]='ALREADY_EXISTS',_0x34397c[_0x34397c['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x34397c[_0x34397c[_0x22ca65(0x1fe)]=0x8]=_0x22ca65(0x1fe),_0x34397c[_0x34397c[_0x22ca65(0x480)]=0x9]='COMPLETION_FINISHED',_0x34397c[_0x34397c[_0x22ca65(0x4dd)]=0x1389]=_0x22ca65(0x4dd),_0x34397c[_0x34397c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x22ca65(0x34f),_0x34397c[_0x34397c[_0x22ca65(0x324)]=0x1772]=_0x22ca65(0x324),_0x34397c[_0x34397c[_0x22ca65(0x49d)]=0x1773]=_0x22ca65(0x49d),_0x34397c[_0x34397c['APPLY_REJECT']=0x1b59]=_0x22ca65(0x19b),_0x34397c[_0x34397c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x34397c[_0x34397c[_0x22ca65(0x4fe)]=0x1b5b]=_0x22ca65(0x4fe),_0x34397c[_0x34397c[_0x22ca65(0x2c3)]=0x1b5c]=_0x22ca65(0x2c3),_0x34397c[_0x34397c[_0x22ca65(0x4f2)]=0x1b5d]=_0x22ca65(0x4f2),_0x34397c[_0x34397c[_0x22ca65(0x1b3)]=0x1f41]=_0x22ca65(0x1b3),_0x34397c[_0x34397c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x22ca65(0x262),_0x34397c[_0x34397c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x34397c[_0x34397c[_0x22ca65(0x467)]=0x232b]=_0x22ca65(0x467),_0x34397c[_0x34397c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x34397c[_0x34397c[_0x22ca65(0x13d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x34397c[_0x34397c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x22ca65(0x2d1),_0x34397c[_0x34397c[_0x22ca65(0x4cf)]=0x2712]=_0x22ca65(0x4cf),_0x34397c[_0x34397c[_0x22ca65(0x3ba)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x34397c[_0x34397c[_0x22ca65(0x138)]=0x2714]=_0x22ca65(0x138),_0x34397c[_0x34397c['UNRECOGNIZED']=-0x1]=_0x22ca65(0x21c),_0x34397c))(Ri||{}),ce=(_0x371963=>(_0x371963[_0x371963[_0x22ca65(0x29e)]=0x0]=_0x22ca65(0x29e),_0x371963[_0x371963[_0x22ca65(0x462)]=0x1]=_0x22ca65(0x462),_0x371963[_0x371963[_0x22ca65(0x1f5)]=0x2]='UNIVER_SHEET',_0x371963[_0x371963[_0x22ca65(0x432)]=0x3]=_0x22ca65(0x432),_0x371963[_0x371963[_0x22ca65(0x290)]=0x4]=_0x22ca65(0x290),_0x371963[_0x371963['UNRECOGNIZED']=-0x1]=_0x22ca65(0x21c),_0x371963))(ce||{}),W=(_0x34d45b=>(_0x34d45b[_0x34d45b['UNKNOWN_CMD']=0x0]=_0x22ca65(0x364),_0x34d45b[_0x34d45b['HELLO']=0x1]='HELLO',_0x34d45b[_0x34d45b[_0x22ca65(0x50a)]=0x2]=_0x22ca65(0x50a),_0x34d45b[_0x34d45b[_0x22ca65(0x3da)]=0x3]='LEAVE',_0x34d45b[_0x34d45b[_0x22ca65(0x17b)]=0x4]=_0x22ca65(0x17b),_0x34d45b[_0x34d45b[_0x22ca65(0x48e)]=0x5]=_0x22ca65(0x48e),_0x34d45b[_0x34d45b['RECV']=0x6]=_0x22ca65(0x225),_0x34d45b[_0x34d45b[_0x22ca65(0x21c)]=-0x1]=_0x22ca65(0x21c),_0x34d45b))(W||{}),Is=(_0x777f6c=>(_0x777f6c[_0x777f6c[_0x22ca65(0x321)]=0x0]=_0x22ca65(0x321),_0x777f6c[_0x777f6c['OK']=0x1]='OK',_0x777f6c[_0x777f6c[_0x22ca65(0x464)]=0x2]=_0x22ca65(0x464),_0x777f6c[_0x777f6c[_0x22ca65(0x2a3)]=0x3e9]=_0x22ca65(0x2a3),_0x777f6c[_0x777f6c[_0x22ca65(0x2de)]=0x3ea]='JOIN_ROOM_NOT_ALLOWED',_0x777f6c[_0x777f6c[_0x22ca65(0x21c)]=-0x1]=_0x22ca65(0x21c),_0x777f6c))(Is||{}),Oi=(_0x1544f7=>(_0x1544f7[_0x1544f7[_0x22ca65(0x2dc)]=0x0]=_0x22ca65(0x2dc),_0x1544f7[_0x1544f7[_0x22ca65(0x159)]=0x1]=_0x22ca65(0x159),_0x1544f7[_0x1544f7[_0x22ca65(0x4cd)]=0x2]='HttpExport',_0x1544f7[_0x1544f7[_0x22ca65(0x2ba)]=0x3]=_0x22ca65(0x2ba),_0x1544f7[_0x1544f7[_0x22ca65(0x4a2)]=0x4]=_0x22ca65(0x4a2),_0x1544f7[_0x1544f7['UNRECOGNIZED']=-0x1]=_0x22ca65(0x21c),_0x1544f7))(Oi||{});const te='collaboration-client.config',Or={};function yr(_0x588025){const _0x405c4d=_0x22ca65;var _0x3ff20f,_0x271551,_0x55f11b,_0x2f65b9,_0x89447e;const _0x3fe887=_0x588025[_0x405c4d(0x36b)],_0x55e5ff=JSON[_0x405c4d(0x463)](_0x3fe887);switch(_0x55e5ff[_0x405c4d(0x26a)]){case W['HEARTBEAT']:case W['HELLO']:{const _0xe31bbc=_0x55e5ff[_0x405c4d(0x1eb)];return{..._0x55e5ff,'data':_0xe31bbc,'cmd':_0x55e5ff['cmd']};}case W[_0x405c4d(0x50a)]:{const _0x3e47d6=_0x55e5ff[_0x405c4d(0x4d7)];return{..._0x55e5ff,'data':_0x3e47d6,'cmd':_0x55e5ff[_0x405c4d(0x26a)]};}case W['RECV']:{const _0x403bca=_0x55e5ff[_0x405c4d(0x4a0)];switch(_0x403bca[_0x405c4d(0x316)]){case _0x2d656f['PERMISSION_REJ']:return{..._0x55e5ff,'data':{..._0x403bca,'data':(_0x3ff20f=_0x403bca[_0x405c4d(0x196)])==null?void 0x0:_0x3ff20f['cs']},'cmd':_0x55e5ff[_0x405c4d(0x26a)]};case _0x2d656f[_0x405c4d(0x18a)]:return{..._0x55e5ff,'data':{..._0x403bca,'data':(_0x271551=_0x403bca['csAckEvent'])==null?void 0x0:_0x271551['cs']},'cmd':_0x55e5ff[_0x405c4d(0x26a)]};case _0x2d656f[_0x405c4d(0x2a4)]:return{..._0x55e5ff,'data':{..._0x403bca,'data':(_0x55f11b=_0x403bca['newCsEvent'])==null?void 0x0:_0x55f11b['cs']},'cmd':_0x55e5ff['cmd']};case _0x2d656f[_0x405c4d(0x497)]:return{..._0x55e5ff,'data':{..._0x403bca,'data':(_0x2f65b9=_0x403bca[_0x405c4d(0x4e7)])==null?void 0x0:_0x2f65b9['cs']},'cmd':_0x55e5ff['cmd']};case _0x2d656f['CHANGESET_SHOULD_RETRY']:return{..._0x55e5ff,'data':{..._0x403bca,'data':(_0x89447e=_0x403bca[_0x405c4d(0x42d)])==null?void 0x0:_0x89447e['cs']},'cmd':_0x55e5ff[_0x405c4d(0x26a)]};case _0x2d656f['UPDATE_CURSOR']:return{..._0x55e5ff,'data':{..._0x403bca,'data':_0x403bca[_0x405c4d(0x4be)]},'cmd':_0x55e5ff[_0x405c4d(0x26a)]};case _0x2d656f['USERS_ENTER']:return{..._0x55e5ff,'data':{..._0x403bca,'data':_0x403bca[_0x405c4d(0x206)]},'cmd':_0x55e5ff[_0x405c4d(0x26a)]};case _0x2d656f[_0x405c4d(0x193)]:return{..._0x55e5ff,'data':{..._0x403bca,'data':_0x403bca[_0x405c4d(0x10e)]},'cmd':_0x55e5ff[_0x405c4d(0x26a)]};case _0x2d656f['LIVESHARE_NEW_HOST']:return{..._0x55e5ff,'data':{..._0x403bca,'data':_0x403bca[_0x405c4d(0x3e5)]},'cmd':_0x55e5ff[_0x405c4d(0x26a)]};case _0x2d656f[_0x405c4d(0x3f4)]:case _0x2d656f[_0x405c4d(0x4b5)]:return{..._0x55e5ff,'data':{..._0x403bca,'data':_0x403bca[_0x405c4d(0x3bc)]},'cmd':_0x55e5ff[_0x405c4d(0x26a)]};case _0x2d656f[_0x405c4d(0x1d0)]:return{..._0x55e5ff,'data':{..._0x403bca,'data':_0x403bca['liveShareNewHost']},'cmd':_0x55e5ff['cmd']};case _0x2d656f[_0x405c4d(0x303)]:return{..._0x55e5ff,'data':_0x403bca,'cmd':_0x55e5ff['cmd']};case _0x2d656f[_0x405c4d(0x488)]:return{..._0x55e5ff,'data':{..._0x403bca,'data':_0x403bca[_0x405c4d(0x3df)]},'cmd':_0x55e5ff['cmd']};case _0x2d656f[_0x405c4d(0x4f9)]:return{..._0x55e5ff,'data':{..._0x403bca,'data':_0x403bca[_0x405c4d(0x3b7)]},'cmd':_0x55e5ff[_0x405c4d(0x26a)]};case _0x2d656f[_0x405c4d(0x318)]:return{..._0x55e5ff,'data':{..._0x403bca,'data':_0x403bca[_0x405c4d(0x428)]},'cmd':_0x55e5ff[_0x405c4d(0x26a)]};default:return _0x55e5ff;}}default:return _0x55e5ff;}}function wr(_0x26b2e6){const _0x1a19a2=_0x22ca65;switch(_0x26b2e6[_0x1a19a2(0x26a)]){case W[_0x1a19a2(0x48e)]:case W['HELLO']:return JSON['stringify']({'cmd':_0x26b2e6[_0x1a19a2(0x26a)],'routeKey':_0x26b2e6[_0x1a19a2(0x222)]});case W[_0x1a19a2(0x17b)]:{let _0x15b54e;switch(_0x26b2e6[_0x1a19a2(0x36b)]['eventID']){case _0x2d656f[_0x1a19a2(0x4ed)]:{_0x15b54e={'eventID':_0x2d656f['UPDATE_CURSOR'],'updateCursorEvent':_0x26b2e6['data'][_0x1a19a2(0x36b)]};break;}case _0x2d656f[_0x1a19a2(0x193)]:{_0x15b54e={'eventID':_0x2d656f[_0x1a19a2(0x193)],'leaveEvent':_0x26b2e6[_0x1a19a2(0x36b)]['data']};break;}case _0x2d656f[_0x1a19a2(0x3d7)]:{_0x15b54e={'eventID':_0x2d656f[_0x1a19a2(0x3d7)],'joinEvent':_0x26b2e6[_0x1a19a2(0x36b)][_0x1a19a2(0x36b)]};break;}case _0x2d656f[_0x1a19a2(0x39a)]:{_0x15b54e={'eventID':_0x2d656f[_0x1a19a2(0x39a)],'liveShareNewHost':_0x26b2e6['data']['data']};break;}case _0x2d656f[_0x1a19a2(0x4b5)]:{_0x15b54e={'eventID':_0x2d656f[_0x1a19a2(0x4b5)],'liveShareOperation':_0x26b2e6[_0x1a19a2(0x36b)][_0x1a19a2(0x36b)]};break;}case _0x2d656f[_0x1a19a2(0x1d0)]:{_0x15b54e={'eventID':_0x2d656f['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x26b2e6['data'][_0x1a19a2(0x36b)]};break;}case _0x2d656f[_0x1a19a2(0x3ef)]:{_0x15b54e={'eventID':_0x2d656f['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x26b2e6[_0x1a19a2(0x36b)][_0x1a19a2(0x36b)]};break;}case _0x2d656f['LIVESHARE_FETCH_OPERATIONS']:{_0x15b54e={'eventID':_0x2d656f['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x15b54e={'eventID':_0x26b2e6[_0x1a19a2(0x36b)]['eventID']};}return JSON[_0x1a19a2(0x50b)]({'cmd':_0x26b2e6[_0x1a19a2(0x26a)],'routeKey':_0x26b2e6['routeKey'],'collaMsg':_0x15b54e});}case W['JOIN']:return JSON[_0x1a19a2(0x50b)]({'cmd':_0x26b2e6[_0x1a19a2(0x26a)],'routeKey':_0x26b2e6[_0x1a19a2(0x222)],'joinReq':_0x26b2e6[_0x1a19a2(0x36b)]});case W['LEAVE']:return JSON['stringify']({'cmd':_0x26b2e6[_0x1a19a2(0x26a)],'routeKey':_0x26b2e6[_0x1a19a2(0x222)],'leaveReq':_0x26b2e6[_0x1a19a2(0x36b)]});default:throw new Error(_0x1a19a2(0x4d2));}}var Dr=Object[_0x22ca65(0x1ac)],Pr=Object[_0x22ca65(0x4c2)],Ur=(_0x3f006e,_0x3f2b6c,_0x33b224,_0x1f44a9)=>{const _0x1193f6=_0x22ca65;for(var _0x1a4192=_0x1f44a9>0x1?void 0x0:_0x1f44a9?Pr(_0x3f2b6c,_0x33b224):_0x3f2b6c,_0xe4efc8=_0x3f006e[_0x1193f6(0x347)]-0x1,_0x5ef3c5;_0xe4efc8>=0x0;_0xe4efc8--)(_0x5ef3c5=_0x3f006e[_0xe4efc8])&&(_0x1a4192=(_0x1f44a9?_0x5ef3c5(_0x3f2b6c,_0x33b224,_0x1a4192):_0x5ef3c5(_0x1a4192))||_0x1a4192);return _0x1f44a9&&_0x1a4192&&Dr(_0x3f2b6c,_0x33b224,_0x1a4192),_0x1a4192;},qe=(_0x494993,_0x153b29)=>(_0x1c9a85,_0x2f8b7d)=>_0x153b29(_0x1c9a85,_0x2f8b7d,_0x494993);const yi=_0x1263bd(_0x22ca65(0x355));function Nr(_0x32dd53,_0x35ccbf,_0x3ee99b){const _0x214ac5=_0x22ca65;return _0x32dd53+'/'+_0x35ccbf+_0x214ac5(0x1ca)+_0x3ee99b+_0x214ac5(0x345);}let es=class extends _0xad8dab{constructor(_0x279439,_0x1aedb3,_0x1702c3,_0x25e39a,_0x2afa21){const _0x40cc41=_0x22ca65;super(),this['_http']=_0x279439,this[_0x40cc41(0x162)]=_0x1aedb3,this['_configService']=_0x1702c3,this[_0x40cc41(0x3d5)]=_0x25e39a,this[_0x40cc41(0x2b0)]=_0x2afa21;}['createSocket'](_0xf458c5){const _0x3162cb=_0x22ca65,_0x1410fe=this[_0x3162cb(0x162)][_0x3162cb(0x47e)](_0xf458c5);if(!_0x1410fe)throw new Error(_0x3162cb(0x402));const _0x3c4ba4=new _0x4cdfcc(),_0xdb01e9=new _0x19647f();_0x3c4ba4['add'](_0x1410fe['close$'][_0x3162cb(0x188)](_0x4359fa=>_0xdb01e9[_0x3162cb(0x2cb)](_0x4359fa))),_0x3c4ba4[_0x3162cb(0x31b)](_0x3ed3fa(()=>_0xdb01e9['complete']()));const _0x554433=new _0x19647f();_0x3c4ba4[_0x3162cb(0x31b)](_0x1410fe[_0x3162cb(0x229)][_0x3162cb(0x188)](_0x3a2d0e=>_0x554433['next'](_0x3a2d0e))),_0x3c4ba4[_0x3162cb(0x31b)](_0x3ed3fa(()=>_0x554433['complete']()));const _0x322b95=new _0x19647f();_0x3c4ba4[_0x3162cb(0x31b)](_0x1410fe[_0x3162cb(0x3ce)][_0x3162cb(0x188)](_0x50b2d3=>{const _0xcc7e6a=_0x3162cb,_0x5159ce=yr(_0x50b2d3);_0x322b95[_0xcc7e6a(0x2cb)](_0x5159ce);})),_0x3c4ba4['add'](_0x3ed3fa(()=>_0x322b95['complete']()));let _0x4ca382;const _0x4bc57b=()=>{const _0x35cc7e=_0x3162cb;_0x554433[_0x35cc7e(0x2cb)](new Event(_0x35cc7e(0x1c9))),_0xdb01e9[_0x35cc7e(0x2cb)](new CloseEvent(_0x35cc7e(0x1c9))),_0x4ca382[_0x35cc7e(0x2b6)]();};return _0x4ca382={'memberID':'','close$':_0xdb01e9['asObservable'](),'error$':_0x554433[_0x3162cb(0x40d)](),'open$':_0x1410fe[_0x3162cb(0x106)],'message$':_0x322b95[_0x3162cb(0x40d)](),'send':_0x1f686f=>{const _0x56c2d7=_0x3162cb;if(_0x1f686f['cmd']===W[_0x56c2d7(0x17b)]){if(_0x1f686f[_0x56c2d7(0x36b)]['eventID']===_0x2d656f[_0x56c2d7(0x4aa)]){this[_0x56c2d7(0x310)](_0x4ca382,_0x1f686f[_0x56c2d7(0x36b)])['catch'](_0x51aaa7=>{const _0x32eaa5=_0x56c2d7;this[_0x32eaa5(0x3d5)][_0x32eaa5(0x3a6)](_0x51aaa7),_0x4bc57b();});return;}if(_0x1f686f[_0x56c2d7(0x36b)][_0x56c2d7(0x316)]===_0x2d656f[_0x56c2d7(0x1da)]){const _0x180674=_0x1f686f[_0x56c2d7(0x36b)];this[_0x56c2d7(0x298)](_0x180674)[_0x56c2d7(0x2f2)](_0x6ac496=>{const _0x4bae11=_0x56c2d7;_0x322b95['next']({'cmd':W[_0x4bae11(0x225)],'code':Is['OK'],'routeKey':_0x180674[_0x4bae11(0x36b)][_0x4bae11(0x117)],'routeType':'','data':{'eventID':_0x2d656f['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x6ac496}}});})[_0x56c2d7(0x510)](_0x5e8441=>{const _0x2af2c6=_0x56c2d7;this[_0x2af2c6(0x3d5)][_0x2af2c6(0x3a6)](_0x5e8441),_0x4bc57b();});return;}}_0x1410fe[_0x56c2d7(0x30f)](wr(_0x1f686f));},'close':()=>{_0x1410fe['close'](),_0x3c4ba4['dispose']();}},_0x4ca382;}async[_0x22ca65(0x310)](_0x1e7968,_0x4785ce){const _0x5e7916=_0x22ca65;var _0x148f96,_0x4a7e35;const {unitType:_0x17c5f1,unitID:_0x45aec0,changeset:_0x4c9d29}=_0x4785ce[_0x5e7916(0x36b)],_0x48362d={'unitID':_0x45aec0,'memberID':_0x1e7968[_0x5e7916(0x1fd)],'type':_0x17c5f1,'changeset':_0x4be203(_0x4c9d29)},_0x5ef160=this['_configService']['getConfig'](Er),_0x1e0bb4=this[_0x5e7916(0x307)]['getConfig'](te),_0x13e0cc=Nr((_0x4a7e35=(_0x148f96=_0x1e0bb4==null?void 0x0:_0x1e0bb4[_0x5e7916(0x4a3)])!=null?_0x148f96:_0x5ef160)!=null?_0x4a7e35:br,_0x17c5f1,_0x45aec0);try{await this[_0x5e7916(0x1a5)][_0x5e7916(0x4dc)](_0x13e0cc,{'body':_0x48362d});}catch(_0x1bc2a7){throw this[_0x5e7916(0x3d5)][_0x5e7916(0x3a6)](_0x5e7916(0x261),_0x5e7916(0x4cb)),_0x1bc2a7;}}async[_0x22ca65(0x298)](_0x323a83){const _0x4a144c=_0x22ca65,{unitID:_0x588026,from:_0x50f88c,to:_0x12dd90,unitType:_0x1fc244}=_0x323a83[_0x4a144c(0x36b)];return(await this[_0x4a144c(0x2b0)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x588026,'type':_0x1fc244,'from':_0x50f88c,'to':_0x12dd90}))[_0x4a144c(0x14e)];}};es=Ur([qe(0x0,_0x1013ae(_0x5cb2c0)),qe(0x1,_0x1013ae(_0x4c9c14)),qe(0x2,_0x407e18),qe(0x3,_0x3b5747),qe(0x4,_0x6b32e7)],es);const Ar=_0x22ca65(0x4ea);function Mr(_0x584336){const _0x4bf598=_0x22ca65;return JSON[_0x4bf598(0x50b)](_0x584336)['length'];}class wi{constructor(){const _0x2568dc=_0x22ca65;g(this,'_commentUpdate$',new _0x19647f()),g(this,_0x2568dc(0x35c),this[_0x2568dc(0x4d0)][_0x2568dc(0x40d)]());}[_0x22ca65(0x1dd)](_0x1e03de){const _0x2f1afe=_0x22ca65;this[_0x2f1afe(0x4d0)][_0x2f1afe(0x2cb)](_0x1e03de);}}var xr=Object['defineProperty'],Lr=Object[_0x22ca65(0x4c2)],$r=(_0x2c3ad2,_0x2299ee,_0x2adc8e,_0x267879)=>{const _0x394f17=_0x22ca65;for(var _0x262323=_0x267879>0x1?void 0x0:_0x267879?Lr(_0x2299ee,_0x2adc8e):_0x2299ee,_0x3dddb5=_0x2c3ad2[_0x394f17(0x347)]-0x1,_0x357660;_0x3dddb5>=0x0;_0x3dddb5--)(_0x357660=_0x2c3ad2[_0x3dddb5])&&(_0x262323=(_0x267879?_0x357660(_0x2299ee,_0x2adc8e,_0x262323):_0x357660(_0x262323))||_0x262323);return _0x267879&&_0x262323&&xr(_0x2299ee,_0x2adc8e,_0x262323),_0x262323;},Hs=(_0x25b82c,_0x264688)=>(_0x9a437d,_0x5adb6a)=>_0x264688(_0x9a437d,_0x5adb6a,_0x25b82c);let Me=class extends _0xad8dab{constructor(_0x6de52a,_0x567a66){const _0x2de6ce=_0x22ca65;super(),g(this,_0x2de6ce(0x203),new Map()),(this[_0x2de6ce(0x4c7)]=_0x6de52a,this[_0x2de6ce(0x19f)]=_0x567a66,this['disposeWithMe'](_0x3ed3fa(_0xc64e83(this[_0x2de6ce(0x4c7)][_0x2de6ce(0x24d)](_0x297986[_0x2de6ce(0x1f5)])[_0x2de6ce(0x3b1)](_0x2649d9(_0x3dfc3d=>_0x3dfc3d[_0x2de6ce(0x43f)]())),this[_0x2de6ce(0x4c7)]['getTypeOfUnitDisposed$'](_0x297986[_0x2de6ce(0x462)])[_0x2de6ce(0x3b1)](_0x2649d9(_0x3357dc=>_0x3357dc['getUnitId']())),this[_0x2de6ce(0x4c7)][_0x2de6ce(0x24d)](_0x297986['UNIVER_SLIDE'])['pipe'](_0x2649d9(_0x3f88de=>_0x3f88de['getUnitId']())))[_0x2de6ce(0x188)](_0xf5cdf3=>this[_0x2de6ce(0x1db)](_0xf5cdf3)))));}[_0x22ca65(0x438)](_0x54a4d4){const _0x37eee0=_0x22ca65;this['_userManagerService'][_0x37eee0(0x438)](_0x54a4d4);}['getCurrentUser'](){const _0x52e4c2=_0x22ca65;return this[_0x52e4c2(0x19f)][_0x52e4c2(0x3a0)]();}[_0x22ca65(0x50f)](_0x4bacbc,_0x4949ef){const _0x47ec7e=_0x22ca65;let _0x45642b=this[_0x47ec7e(0x203)][_0x47ec7e(0x327)](_0x4bacbc);_0x45642b||(_0x45642b=new Hr(),this[_0x47ec7e(0x203)]['set'](_0x4bacbc,_0x45642b)),_0x45642b['updateMember'](_0x4949ef);}['removeMember'](_0x5009da,_0x172274){const _0x445d7a=_0x22ca65,_0x39afc4=this[_0x445d7a(0x203)]['get'](_0x5009da);_0x39afc4&&_0x39afc4['removeMember'](_0x172274);}[_0x22ca65(0x16c)](_0x5d67f8){const _0x4a1fb1=_0x22ca65;return this[_0x4a1fb1(0x203)][_0x4a1fb1(0x327)](_0x5d67f8);}[_0x22ca65(0x331)](_0x15e2d7,_0x5b7a44){const _0x54caf2=_0x22ca65,_0x5c9f82=this[_0x54caf2(0x203)][_0x54caf2(0x327)](_0x15e2d7);if(_0x5c9f82)return _0x5c9f82[_0x54caf2(0x331)](_0x5b7a44);}[_0x22ca65(0x1db)](_0x2244f5){const _0x3aec9b=_0x22ca65,_0x250132=this[_0x3aec9b(0x203)]['get'](_0x2244f5);_0x250132&&(_0x250132[_0x3aec9b(0x287)](),this[_0x3aec9b(0x203)][_0x3aec9b(0x2c9)](_0x2244f5));}[_0x22ca65(0x287)](){const _0x590af8=_0x22ca65;this[_0x590af8(0x203)]['forEach'](_0x46cf77=>_0x46cf77['dispose']()),this[_0x590af8(0x203)][_0x590af8(0x28f)]();}};Me=$r([Hs(0x0,_0x331bf2),Hs(0x1,_0x1013ae(_0x316b29))],Me);class Hr extends _0xad8dab{constructor(){const _0x413a79=_0x22ca65;super(...arguments),g(this,_0x413a79(0x22d),new Map());}[_0x22ca65(0x287)](){const _0x4ae068=_0x22ca65;this[_0x4ae068(0x22d)][_0x4ae068(0x28f)]();}[_0x22ca65(0x50f)](_0x166ba3){const _0x2dc358=_0x22ca65;this['_members']['set'](_0x166ba3[_0x2dc358(0x1fd)],_0x166ba3);}[_0x22ca65(0x332)](_0x5d706d){const _0x38bc26=_0x22ca65;this[_0x38bc26(0x22d)]['delete'](_0x5d706d);}['getMember'](_0x2477ae){const _0x473f14=_0x22ca65;return this[_0x473f14(0x22d)]['get'](_0x2477ae);}[_0x22ca65(0x28a)](){const _0x3bed50=_0x22ca65;return Array[_0x3bed50(0x3f3)](this[_0x3bed50(0x22d)][_0x3bed50(0x403)]());}}var jr=Object[_0x22ca65(0x1ac)],Br=Object[_0x22ca65(0x4c2)],kr=(_0x93fec8,_0x4517cc,_0x3f8277,_0x1cc164)=>{const _0x3fbb2b=_0x22ca65;for(var _0x3ded1a=_0x1cc164>0x1?void 0x0:_0x1cc164?Br(_0x4517cc,_0x3f8277):_0x4517cc,_0x281b65=_0x93fec8[_0x3fbb2b(0x347)]-0x1,_0x150cce;_0x281b65>=0x0;_0x281b65--)(_0x150cce=_0x93fec8[_0x281b65])&&(_0x3ded1a=(_0x1cc164?_0x150cce(_0x4517cc,_0x3f8277,_0x3ded1a):_0x150cce(_0x3ded1a))||_0x3ded1a);return _0x1cc164&&_0x3ded1a&&jr(_0x4517cc,_0x3f8277,_0x3ded1a),_0x3ded1a;},Ee=(_0x593ec2,_0x2fdf28)=>(_0x27fb81,_0x51f745)=>_0x2fdf28(_0x27fb81,_0x51f745,_0x593ec2),ve=(_0x1cfc6a=>(_0x1cfc6a[_0x1cfc6a[_0x22ca65(0x1d2)]=0x0]=_0x22ca65(0x1d2),_0x1cfc6a[_0x1cfc6a[_0x22ca65(0x286)]=0x1]=_0x22ca65(0x286),_0x1cfc6a[_0x1cfc6a['OFFLINE']=0x2]=_0x22ca65(0x427),_0x1cfc6a[_0x1cfc6a[_0x22ca65(0x3f1)]=0x3]=_0x22ca65(0x3f1),_0x1cfc6a))(ve||{});let ts=class extends _0xbe756c{constructor(_0x46fdec,_0x233fb7,_0x3548b5,_0xac5a52,_0x358b6,_0x13aa01,_0x5eabcc,_0x45d6ac,_0x127bd7,_0x300b25){const _0x3c330d=_0x22ca65;super(),g(this,_0x3c330d(0x456),new _0x35a34c(0x0)),g(this,_0x3c330d(0x177),this[_0x3c330d(0x456)][_0x3c330d(0x40d)]()),g(this,_0x3c330d(0x4c4),new _0x19647f()),g(this,_0x3c330d(0x3fb),this[_0x3c330d(0x4c4)][_0x3c330d(0x40d)]()),g(this,_0x3c330d(0x444)),g(this,_0x3c330d(0x422)),g(this,_0x3c330d(0x44b)),g(this,_0x3c330d(0x51c),!0x1),g(this,_0x3c330d(0x36d),null),(this['_unitID']=_0x46fdec,this[_0x3c330d(0x3d5)]=_0x3548b5,this['_beforeCloseService']=_0xac5a52,this['_messageService']=_0x358b6,this[_0x3c330d(0x307)]=_0x13aa01,this[_0x3c330d(0x47a)]=_0x5eabcc,this[_0x3c330d(0x409)]=_0x45d6ac,this[_0x3c330d(0x2d0)]=_0x127bd7,this[_0x3c330d(0x354)]=_0x300b25,this[_0x3c330d(0x51c)]=!!this[_0x3c330d(0x354)],_0x233fb7['pipe'](_0xd6bf95(this['dispose$']))['subscribe'](_0x4d97c3=>{const _0x3e5eb7=_0x3c330d;var _0x41ae85;typeof _0x4d97c3>'u'||(this[_0x3e5eb7(0x444)]=_0x4d97c3,_0x4d97c3?(this[_0x3e5eb7(0x385)](_0x4d97c3),this[_0x3e5eb7(0x422)]=_0x4d97c3['message$'][_0x3e5eb7(0x188)](_0x355ffa=>{const _0x3c36b7=_0x3e5eb7;_0x355ffa[_0x3c36b7(0x222)]===this[_0x3c36b7(0x26d)]&&this['_onCombEvent'](_0x355ffa);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3e5eb7(0x456)][_0x3e5eb7(0x2cb)](0x2),(_0x41ae85=this[_0x3e5eb7(0x422)])==null||_0x41ae85['unsubscribe'](),this['_socketMessageSubscription']=null));}),this[_0x3c330d(0x44c)](this[_0x3c330d(0x1bd)]['registerOnClose'](()=>{const _0xead244=_0x3c330d;var _0x7f6379;(_0x7f6379=this[_0xead244(0x444)])==null||_0x7f6379[_0xead244(0x30f)]({'cmd':W[_0xead244(0x3da)],'data':{'roomID':this[_0xead244(0x26d)]}});})));}get['sessionStatus'](){const _0x2a98d1=_0x22ca65;return this[_0x2a98d1(0x456)][_0x2a98d1(0x109)]();}[_0x22ca65(0x426)](){const _0x1ce6ad=_0x22ca65;var _0x4b1358,_0xdfe09b;return(_0xdfe09b=(_0x4b1358=this[_0x1ce6ad(0x444)])==null?void 0x0:_0x4b1358[_0x1ce6ad(0x1fd)])!=null?_0xdfe09b:null;}[_0x22ca65(0x287)](){const _0x373000=_0x22ca65;super[_0x373000(0x287)](),this[_0x373000(0x445)][_0x373000(0x2cb)](),this[_0x373000(0x445)][_0x373000(0x4a9)]();}[_0x22ca65(0x2b6)](){const _0x41daf6=_0x22ca65;var _0x4db7cc,_0x53f9d8;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4db7cc=this[_0x41daf6(0x444)])==null||_0x4db7cc[_0x41daf6(0x30f)]({'cmd':W[_0x41daf6(0x3da)],'data':{'roomID':this[_0x41daf6(0x26d)]}}),(_0x53f9d8=this[_0x41daf6(0x444)])==null||_0x53f9d8['close'](),this['_event$'][_0x41daf6(0x4a9)](),this[_0x41daf6(0x456)][_0x41daf6(0x4a9)](),this[_0x41daf6(0x287)]();}[_0x22ca65(0x2d8)](_0x392f21){const _0x31688d=_0x22ca65;_0x392f21[_0x31688d(0x26a)]===W[_0x31688d(0x50a)]?this[_0x31688d(0x30d)](_0x392f21):_0x392f21['cmd']===W['RECV']&&this['_onRecvEvent'](_0x392f21);}['_joinRoom'](_0x3ec820){const _0x97544f=_0x22ca65;this[_0x97544f(0x456)][_0x97544f(0x2cb)](0x1),_0x3ec820[_0x97544f(0x30f)]({'cmd':W['JOIN'],'routeKey':this[_0x97544f(0x26d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x97544f(0x26d)]}]}});}['_onJoinRoomEvent'](_0x1bd073){const _0x35d370=_0x22ca65;var _0x48316b;if(_0x1bd073[_0x35d370(0x410)]===Is['FAIL']){this[_0x35d370(0x358)][_0x35d370(0x517)]({'type':_0x16718d[_0x35d370(0x34b)],'content':this[_0x35d370(0x47a)]['t'](_0x35d370(0x4ec))}),this[_0x35d370(0x456)][_0x35d370(0x2cb)](0x2);return;}this[_0x35d370(0x456)][_0x35d370(0x2cb)](0x3);const _0x55bfd3=(_0x48316b=_0x1bd073['data'][_0x35d370(0x174)][this[_0x35d370(0x26d)]])==null?void 0x0:_0x48316b[_0x35d370(0x27d)];_0x55bfd3&&_0x55bfd3[_0x35d370(0x18b)](_0x2cffa8=>this[_0x35d370(0x409)][_0x35d370(0x50f)](this[_0x35d370(0x26d)],_0x2cffa8));}[_0x22ca65(0x37c)](_0x1a4279){const _0x18a3ec=_0x22ca65;try{const _0x6030c5=_0x1a4279['data'];switch(_0x6030c5[_0x18a3ec(0x316)]){case _0x2d656f[_0x18a3ec(0x3d7)]:this[_0x18a3ec(0x150)](_0x6030c5),this[_0x18a3ec(0x4c4)][_0x18a3ec(0x2cb)](_0x6030c5);break;case _0x2d656f[_0x18a3ec(0x193)]:this[_0x18a3ec(0x4e4)](_0x6030c5),this[_0x18a3ec(0x4c4)][_0x18a3ec(0x2cb)](_0x6030c5);break;case _0x2d656f[_0x18a3ec(0x18a)]:case _0x2d656f[_0x18a3ec(0x2e0)]:this[_0x18a3ec(0x47f)](),this['_clearCollaborationTimeoutTimer'](),this[_0x18a3ec(0x4c4)]['next'](_0x6030c5);break;case _0x2d656f['MSG_FOR_ERROR']:this[_0x18a3ec(0x3d5)][_0x18a3ec(0x3a6)](_0x18a3ec(0x2c5)+JSON[_0x18a3ec(0x50b)](_0x6030c5)),this[_0x18a3ec(0x4c4)][_0x18a3ec(0x2cb)](_0x6030c5);break;case _0x2d656f[_0x18a3ec(0x488)]:this[_0x18a3ec(0x2d0)][_0x18a3ec(0x1dd)](_0x6030c5[_0x18a3ec(0x36b)]),this['_event$'][_0x18a3ec(0x2cb)](_0x6030c5);break;default:this[_0x18a3ec(0x4c4)][_0x18a3ec(0x2cb)](_0x6030c5);}}catch(_0xbba1ce){this[_0x18a3ec(0x3d5)][_0x18a3ec(0x3a6)](_0xbba1ce,_0x1a4279);}}[_0x22ca65(0x150)](_0x4c9069){const _0x68c97b=_0x22ca65;this[_0x68c97b(0x409)]['updateMember'](this[_0x68c97b(0x26d)],_0x4c9069[_0x68c97b(0x36b)]);}[_0x22ca65(0x4e4)](_0x3056bc){const _0x52c985=_0x22ca65;this[_0x52c985(0x409)][_0x52c985(0x332)](this['_unitID'],_0x3056bc[_0x52c985(0x36b)][_0x52c985(0x1fd)]);}async[_0x22ca65(0x30f)](_0x37c9e2,_0x57a2bd){const _0x26c566=_0x22ca65;if(this[_0x26c566(0x302)]!==0x3||!this[_0x26c566(0x444)])throw new Error(_0x26c566(0x20e));try{_0x37c9e2['eventID']===_0x2d656f[_0x26c566(0x4aa)]&&(this[_0x26c566(0x26c)](),this[_0x26c566(0x1b6)](_0x37c9e2)),this[_0x26c566(0x444)]['send']({'cmd':W[_0x26c566(0x17b)],'routeKey':_0x57a2bd,'routeType':'','data':_0x37c9e2});}catch(_0x5062a0){this[_0x26c566(0x3d5)][_0x26c566(0x3a6)](_0x5062a0);}}[_0x22ca65(0x26c)](){const _0x1ccde6=_0x22ca65;var _0x5a6479;this[_0x1ccde6(0x44b)]=window[_0x1ccde6(0x25a)](()=>{const _0x2daf07=_0x1ccde6;this[_0x2daf07(0x44b)]=null,this[_0x2daf07(0x358)][_0x2daf07(0x517)]({'type':_0x16718d[_0x2daf07(0x3c1)],'content':this['_localeService']['t'](_0x2daf07(0x1b0))});},(_0x5a6479=this[_0x1ccde6(0x307)][_0x1ccde6(0x3c7)](bi))!=null?_0x5a6479:Ti);}['_clearCollaborationTimeoutTimer'](){const _0x12e8ed=_0x22ca65;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x12e8ed(0x44b)]),this[_0x12e8ed(0x44b)]=null);}[_0x22ca65(0x1b6)](_0x2e5a32){const _0x2cd82a=_0x22ca65;if(!this['_shouldReportTelemetry'])return;const {data:_0x4b8b2d}=_0x2e5a32,{unitID:_0x1d9577,changeset:_0x246e5b}=_0x4b8b2d,{mutations:_0xf8903c,type:_0x301d60}=_0x246e5b;this['_telemetryInfo']={'unitId':_0x1d9577,'type':_0x301d60,'startTime':performance[_0x2cd82a(0x429)](),'stopTime':0x0,'duration':0x0,'size':Mr(_0xf8903c)};}[_0x22ca65(0x47f)](){const _0x1822da=_0x22ca65;if(this[_0x1822da(0x51c)]){if(!this[_0x1822da(0x36d)]){this[_0x1822da(0x3d5)][_0x1822da(0x3a6)](_0x1822da(0x261),_0x1822da(0x341));return;}this['_telemetryInfo']['stopTime']=performance[_0x1822da(0x429)](),this[_0x1822da(0x36d)][_0x1822da(0x522)]=this[_0x1822da(0x36d)][_0x1822da(0x126)]-this[_0x1822da(0x36d)][_0x1822da(0x412)],this['_telemetryService']['capture'](Ar,this[_0x1822da(0x36d)]),this[_0x1822da(0x36d)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x59be26=_0x22ca65;this[_0x59be26(0x36d)]=null;}};ts=kr([Ee(0x2,_0x3b5747),Ee(0x3,_0x4c7392),Ee(0x4,_0x37ddb9),Ee(0x5,_0x407e18),Ee(0x6,_0x1013ae(_0x199c09)),Ee(0x7,_0x1013ae(Me)),Ee(0x8,_0x1013ae(wi)),Ee(0x9,_0x3611e0(_0x3e30de))],ts);var Wr=Object[_0x22ca65(0x1ac)],Fr=Object['getOwnPropertyDescriptor'],Vr=(_0x492da2,_0x86085,_0x48f886,_0x4008a8)=>{for(var _0x2a408d=_0x4008a8>0x1?void 0x0:_0x4008a8?Fr(_0x86085,_0x48f886):_0x86085,_0xc5147b=_0x492da2['length']-0x1,_0x288e72;_0xc5147b>=0x0;_0xc5147b--)(_0x288e72=_0x492da2[_0xc5147b])&&(_0x2a408d=(_0x4008a8?_0x288e72(_0x86085,_0x48f886,_0x2a408d):_0x288e72(_0x2a408d))||_0x2a408d);return _0x4008a8&&_0x2a408d&&Wr(_0x86085,_0x48f886,_0x2a408d),_0x2a408d;},we=(_0x3a51f0,_0x460ac6)=>(_0x169559,_0x257860)=>_0x460ac6(_0x169559,_0x257860,_0x3a51f0);let xe=class extends _0xad8dab{constructor(_0x27bef0,_0x1fa67b,_0x13d802,_0x36702f,_0x2270bd,_0x276199,_0x57aeac){const _0x5f5607=_0x22ca65;super(),g(this,'_socket$',new _0x35a34c(void 0x0)),g(this,'socket$',this[_0x5f5607(0x3c4)]['asObservable']()),g(this,_0x5f5607(0x3e6),null),g(this,_0x5f5607(0x1b9),new Map()),g(this,_0x5f5607(0x1cc),new _0x35a34c(ve['IDLE'])),g(this,_0x5f5607(0x51d),this[_0x5f5607(0x1cc)][_0x5f5607(0x40d)]()),g(this,_0x5f5607(0x1bc),!0x1),g(this,_0x5f5607(0x21a)),g(this,_0x5f5607(0x110),0x0),g(this,_0x5f5607(0x2c7)),g(this,_0x5f5607(0x4a5)),(this[_0x5f5607(0x47c)]=_0x27bef0,this[_0x5f5607(0x47a)]=_0x1fa67b,this['_messageService']=_0x13d802,this['_logService']=_0x36702f,this[_0x5f5607(0x307)]=_0x2270bd,this['_socketService']=_0x276199,this[_0x5f5607(0x118)]=_0x57aeac,this[_0x5f5607(0x250)]());}get[_0x22ca65(0x444)](){const _0x4ff932=_0x22ca65;return this[_0x4ff932(0x3c4)][_0x4ff932(0x109)]();}[_0x22ca65(0x250)](){const _0x329433=_0x22ca65;this[_0x329433(0x293)](),this[_0x329433(0x4e1)]();}[_0x22ca65(0x287)](){const _0x359822=_0x22ca65;super[_0x359822(0x287)](),this['_sessions'][_0x359822(0x18b)](_0x55b88b=>_0x55b88b[_0x359822(0x287)]()),this['_sessions'][_0x359822(0x28f)](),this[_0x359822(0x1cc)][_0x359822(0x4a9)]();}async[_0x22ca65(0x18d)](_0x48fbcf){const _0x4efe33=_0x22ca65;if(this[_0x4efe33(0x1b9)]['has'](_0x48fbcf))return this[_0x4efe33(0x1b9)][_0x4efe33(0x327)](_0x48fbcf);this[_0x4efe33(0x475)]();const _0x3e8652=this[_0x4efe33(0x47c)]['createInstance'](ts,_0x48fbcf,this[_0x4efe33(0x3c4)][_0x4efe33(0x40d)]());return this[_0x4efe33(0x1b9)][_0x4efe33(0x166)](_0x48fbcf,_0x3e8652),_0x3e8652;}['closeSession'](_0x4e55a5){const _0x3a02e8=_0x22ca65;var _0x5a11ab;const _0x43e2c8=this[_0x3a02e8(0x1b9)]['get'](_0x4e55a5);_0x43e2c8&&(this[_0x3a02e8(0x1b9)]['delete'](_0x4e55a5),_0x43e2c8['close']()),this['_sessions']['size']||(_0x5a11ab=this[_0x3a02e8(0x444)])==null||_0x5a11ab[_0x3a02e8(0x2b6)]();}[_0x22ca65(0x4f8)](){const _0x1ecfd1=_0x22ca65;this[_0x1ecfd1(0x110)]=0x0,this[_0x1ecfd1(0x21a)]!=null&&(clearTimeout(this[_0x1ecfd1(0x21a)]),this[_0x1ecfd1(0x21a)]=null),this[_0x1ecfd1(0x156)]();}async[_0x22ca65(0x370)](){const _0xdfbca9=_0x22ca65;var _0x15e37f,_0x4881de,_0x34ea8a;const _0x188073=this[_0xdfbca9(0x307)][_0xdfbca9(0x3c7)](te),_0x47f5ca=(_0x15e37f=_0x188073==null?void 0x0:_0x188073[_0xdfbca9(0x4fd)])!=null?_0x15e37f:fr;return(_0x34ea8a=(_0x4881de=(await this[_0xdfbca9(0x118)][_0xdfbca9(0x327)](_0x47f5ca,{'headers':{'Content-Type':_0xdfbca9(0x369)}}))['body'])==null?void 0x0:_0x4881de[_0xdfbca9(0x505)])!=null?_0x34ea8a:'';}[_0x22ca65(0x48a)](_0x3791ea){const _0x896835=_0x22ca65;var _0x1bcef5,_0x14d2a3;const _0x4ab06d=this['_configService']['getConfig'](ur),_0x4adfed=this[_0x896835(0x307)]['getConfig'](te),_0x27b80f=(_0x14d2a3=(_0x1bcef5=_0x4adfed==null?void 0x0:_0x4adfed[_0x896835(0x19d)])!=null?_0x1bcef5:_0x4ab06d)!=null?_0x14d2a3:dr,_0x31accc=new URL(_0x27b80f,window['location'][_0x896835(0x372)]);return _0x31accc[_0x896835(0x267)]['set'](_0x896835(0x386),_0x3791ea),_0x31accc['toString']();}async[_0x22ca65(0x264)](){const _0x1f863f=_0x22ca65,_0x64f15e=await this[_0x1f863f(0x370)](),_0x799d0f=this[_0x1f863f(0x48a)](_0x64f15e),_0x169938=this[_0x1f863f(0x38c)][_0x1f863f(0x47e)](_0x799d0f);return this['_candidateSocket']=_0x169938,_0x169938;}async[_0x22ca65(0x475)](){const _0x54da29=_0x22ca65;var _0x42467a,_0x147069;try{const _0x1ee30f=(_0x147069=(_0x42467a=this[_0x54da29(0x444)])!=null?_0x42467a:this['_candidateSocket'])!=null?_0x147069:await this[_0x54da29(0x264)]();if(_0x1ee30f){const _0x3d846c=_0x1ee30f[_0x54da29(0x30f)];_0x1ee30f[_0x54da29(0x30f)]=_0x2314af=>(this['_rescheduleHeartbeat'](),_0x3d846c[_0x54da29(0x4f3)](_0x1ee30f,[_0x2314af])),_0x1ee30f['message$'][_0x54da29(0x188)](_0x88a13e=>this[_0x54da29(0x485)](_0x1ee30f,_0x88a13e)),_0x1ee30f[_0x54da29(0x229)]['pipe'](_0x1e62e5(0x1))[_0x54da29(0x188)](_0x8425b5=>this['_logService'][_0x54da29(0x3a6)](_0x54da29(0x135),_0x8425b5)),_0x1ee30f[_0x54da29(0x106)][_0x54da29(0x3b1)](_0x1e62e5(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x1ee30f);}),_0x1ee30f['close$'][_0x54da29(0x3b1)](_0x1e62e5(0x1))[_0x54da29(0x188)](_0x2094d1=>{const _0x4a2320=_0x54da29;this[_0x4a2320(0x3d5)][_0x4a2320(0x17c)](_0x4a2320(0x277),'socket\x20close',_0x2094d1),this[_0x4a2320(0x1a9)]();});}}catch(_0x5a7d67){this[_0x54da29(0x3d5)][_0x54da29(0x3a6)](_0x5a7d67),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x1f541e){const _0x2c5aa6=_0x22ca65;this[_0x2c5aa6(0x3d5)][_0x2c5aa6(0x17c)](_0x2c5aa6(0x277),_0x2c5aa6(0x17a)),_0x1f541e['send']({'cmd':W[_0x2c5aa6(0x4ca)]}),this[_0x2c5aa6(0x348)]();}['_listenToOfflineEvent'](){const _0x516e1b=_0x22ca65;window[_0x516e1b(0x46e)](_0x516e1b(0x3b9),()=>this[_0x516e1b(0x4df)]());}['_onOffline'](){const _0x6b779f=_0x22ca65;this['_socketReady']=!0x1,this[_0x6b779f(0x3e6)]=null,this[_0x6b779f(0x1cc)][_0x6b779f(0x2cb)](ve[_0x6b779f(0x427)]),this[_0x6b779f(0x3c4)]['next'](null),this[_0x6b779f(0x2d9)](),this[_0x6b779f(0x336)]();}[_0x22ca65(0x1a9)](){const _0x40b6ad=_0x22ca65;var _0xffeeff;this[_0x40b6ad(0x4df)](),this[_0x40b6ad(0x110)]<((_0xffeeff=this[_0x40b6ad(0x307)]['getConfig'](gr))!=null?_0xffeeff:Sr)?(this['_messageService']['show']({'key':'collaboration-session-retry','type':_0x16718d[_0x40b6ad(0x34b)],'content':this[_0x40b6ad(0x47a)]['t'](_0x40b6ad(0x362))}),this[_0x40b6ad(0x156)]()):this[_0x40b6ad(0x358)][_0x40b6ad(0x517)]({'key':_0x40b6ad(0x415),'type':_0x16718d[_0x40b6ad(0x3c1)],'content':this['_localeService']['t'](_0x40b6ad(0x1f8))});}[_0x22ca65(0x4e1)](){const _0x2c5a9e=_0x22ca65,_0x29460a=()=>{const _0x2045c5=_0x5acb;this[_0x2045c5(0x444)]||this['reconnect']();},_0x56a048=()=>{const _0x47ea1e=_0x5acb;this[_0x47ea1e(0x444)]||document[_0x47ea1e(0x342)]===_0x47ea1e(0x24a)||this[_0x47ea1e(0x4f8)]();};window[_0x2c5a9e(0x46e)]('online',_0x29460a),document[_0x2c5a9e(0x46e)](_0x2c5a9e(0x440),_0x56a048);}['_tryReconnect'](){const _0x3330c8=_0x22ca65;var _0x1c10f3;const _0x3277f6=this[_0x3330c8(0x110)],_0x2ce201=this[_0x3330c8(0x307)]['getConfig'](te),_0x183ef8=_0x3277f6===0x0?0x0:((_0x1c10f3=_0x2ce201==null?void 0x0:_0x2ce201[_0x3330c8(0x209)])!=null?_0x1c10f3:pr)*0x2**_0x3277f6;this[_0x3330c8(0x21a)]=window[_0x3330c8(0x25a)](()=>{const _0x5b7ad4=_0x3330c8;clearTimeout(this[_0x5b7ad4(0x21a)]),this[_0x5b7ad4(0x21a)]=null,this[_0x5b7ad4(0x475)]();},_0x183ef8),this[_0x3330c8(0x110)]+=0x1;}[_0x22ca65(0x485)](_0x1ef392,_0x8daf3a){const _0x4f98b1=_0x22ca65,{cmd:_0x3834fb}=_0x8daf3a;_0x3834fb===W[_0x4f98b1(0x4ca)]&&!this['_socketReady']&&(_0x1ef392[_0x4f98b1(0x1fd)]=_0x8daf3a[_0x4f98b1(0x36b)][_0x4f98b1(0x1fd)],this[_0x4f98b1(0x3c4)][_0x4f98b1(0x2cb)](_0x1ef392),this['_status$'][_0x4f98b1(0x2cb)](ve[_0x4f98b1(0x3f1)]),this['_socketReady']=!0x0,this['_candidateSocket']=null),_0x3834fb===W[_0x4f98b1(0x48e)]&&this[_0x4f98b1(0x2d9)](),this[_0x4f98b1(0x348)]();}[_0x22ca65(0x348)](){const _0x30b4e9=_0x22ca65;var _0x3ef258;this[_0x30b4e9(0x336)](),this[_0x30b4e9(0x2c7)]=window[_0x30b4e9(0x25a)](()=>this[_0x30b4e9(0x157)](),(_0x3ef258=this[_0x30b4e9(0x307)][_0x30b4e9(0x3c7)](vr))!=null?_0x3ef258:mr);}[_0x22ca65(0x157)](){const _0x20222e=_0x22ca65;this['_socket'][_0x20222e(0x30f)]({'cmd':W[_0x20222e(0x48e)]}),this[_0x20222e(0x3c8)]();}['_waitForHeartbeatResponse'](){const _0x517681=_0x22ca65;var _0x160f64;this[_0x517681(0x4a5)]=window[_0x517681(0x25a)](()=>this['_onConnectionFailed'](),(_0x160f64=this[_0x517681(0x307)][_0x517681(0x3c7)](bi))!=null?_0x160f64:Ti);}[_0x22ca65(0x336)](){const _0x21942e=_0x22ca65;this[_0x21942e(0x2c7)]!=null&&(clearTimeout(this[_0x21942e(0x2c7)]),this[_0x21942e(0x2c7)]=null);}[_0x22ca65(0x2d9)](){this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};xe=Vr([we(0x0,_0x1013ae(_0x1f2d44)),we(0x1,_0x1013ae(_0x199c09)),we(0x2,_0x37ddb9),we(0x3,_0x3b5747),we(0x4,_0x407e18),we(0x5,yi),we(0x6,_0x1013ae(_0x5cb2c0))],xe);const Y=[];for(let i=0x0;i<0x100;++i)Y[_0x22ca65(0x2e8)]((i+0x100)['toString'](0x10)[_0x22ca65(0x346)](0x1));function Gr(_0xe9b033,_0xdec3f3=0x0){const _0x4c5408=_0x22ca65;return(Y[_0xe9b033[_0xdec3f3+0x0]]+Y[_0xe9b033[_0xdec3f3+0x1]]+Y[_0xe9b033[_0xdec3f3+0x2]]+Y[_0xe9b033[_0xdec3f3+0x3]]+'-'+Y[_0xe9b033[_0xdec3f3+0x4]]+Y[_0xe9b033[_0xdec3f3+0x5]]+'-'+Y[_0xe9b033[_0xdec3f3+0x6]]+Y[_0xe9b033[_0xdec3f3+0x7]]+'-'+Y[_0xe9b033[_0xdec3f3+0x8]]+Y[_0xe9b033[_0xdec3f3+0x9]]+'-'+Y[_0xe9b033[_0xdec3f3+0xa]]+Y[_0xe9b033[_0xdec3f3+0xb]]+Y[_0xe9b033[_0xdec3f3+0xc]]+Y[_0xe9b033[_0xdec3f3+0xd]]+Y[_0xe9b033[_0xdec3f3+0xe]]+Y[_0xe9b033[_0xdec3f3+0xf]])[_0x4c5408(0x465)]();}let Nt;const Yr=new Uint8Array(0x10);function Kr(){const _0x169ae1=_0x22ca65;if(!Nt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x169ae1(0x4d3));Nt=crypto['getRandomValues'][_0x169ae1(0x185)](crypto);}return Nt(Yr);}const zr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x22ca65(0x20b)][_0x22ca65(0x185)](crypto),js={'randomUUID':zr};function qr(_0x43aedd,_0x20c335,_0x16ae81){const _0x91a0b8=_0x22ca65;if(js[_0x91a0b8(0x20b)]&&!_0x20c335&&!_0x43aedd)return js[_0x91a0b8(0x20b)]();_0x43aedd=_0x43aedd||{};const _0x117abf=_0x43aedd[_0x91a0b8(0x45f)]||(_0x43aedd['rng']||Kr)();return _0x117abf[0x6]=_0x117abf[0x6]&0xf|0x40,_0x117abf[0x8]=_0x117abf[0x8]&0x3f|0x80,Gr(_0x117abf);}var Xr=Object[_0x22ca65(0x1ac)],Jr=Object[_0x22ca65(0x4c2)],Zr=(_0x19cb6d,_0x358ab0,_0x326b21,_0x4b82eb)=>{for(var _0x324196=_0x4b82eb>0x1?void 0x0:_0x4b82eb?Jr(_0x358ab0,_0x326b21):_0x358ab0,_0x38286c=_0x19cb6d['length']-0x1,_0x3709c9;_0x38286c>=0x0;_0x38286c--)(_0x3709c9=_0x19cb6d[_0x38286c])&&(_0x324196=(_0x4b82eb?_0x3709c9(_0x358ab0,_0x326b21,_0x324196):_0x3709c9(_0x324196))||_0x324196);return _0x4b82eb&&_0x324196&&Xr(_0x358ab0,_0x326b21,_0x324196),_0x324196;},At=(_0x5bb0b1,_0x2e670b)=>(_0x3cdd5a,_0x119cce)=>_0x2e670b(_0x3cdd5a,_0x119cce,_0x5bb0b1);let ft=class{constructor(_0xe59e31,_0x390c9c,_0x43f2dc){const _0x287fec=_0x22ca65;this[_0x287fec(0x47c)]=_0xe59e31,this[_0x287fec(0x4db)]=_0x390c9c,this[_0x287fec(0x1f7)]=_0x43f2dc;}[_0x22ca65(0x24f)](_0x560ecf){const _0x3e1e00=_0x22ca65;this['_transformUndoRedoStack'](_0x560ecf),this[_0x3e1e00(0x23c)](_0x560ecf);}[_0x22ca65(0x20c)](_0x17bdd3){const _0x2d075c=_0x22ca65,{unitID:_0x4282e3}=_0x17bdd3,_0xf158a0=this[_0x2d075c(0x1f7)][_0x2d075c(0x4c9)](_0x4282e3)['with'](_0x54b80a),{redoCache:_0x33b875}=_0xf158a0[_0x2d075c(0x37e)]();if(_0x33b875[_0x2d075c(0x347)]===0x0)return _0x17bdd3;let _0x2adce4=_0x1d82fd[_0x2d075c(0x3b6)](_0x17bdd3['mutations'][0x0]);for(let _0x438a83=0x0;_0x438a83<_0x33b875[_0x2d075c(0x347)];_0x438a83++){const _0x48e882={'id':'doc.mutation.rich-text-editing','params':{..._0x33b875[_0x438a83]}},_0xa14ec6=this[_0x2d075c(0x4db)]['transformMutation'](_0x2adce4,_0x48e882,!0x1);if(_0x25153f(_0xa14ec6))throw _0xa14ec6[_0x2d075c(0x3a6)];_0x2adce4=_0xa14ec6[_0x2d075c(0x15f)];}return{..._0x1d82fd[_0x2d075c(0x3b6)](_0x17bdd3),'mutations':[_0x2adce4]};}[_0x22ca65(0x50c)](_0x17bf23){const _0x21263c=_0x22ca65,{unitID:_0x3a89e2}=_0x17bf23,_0x2b8c28=this[_0x21263c(0x1f7)][_0x21263c(0x4c9)](_0x3a89e2)[_0x21263c(0x17f)](_0x54b80a),{undoCache:_0x3f2e61,redoCache:_0x3b4b52}=_0x2b8c28[_0x21263c(0x37e)]();if(_0x3f2e61[_0x21263c(0x347)]===0x0||_0x3b4b52[_0x21263c(0x347)]===0x0)return;const _0x103896=[],_0x5230f0=[];let _0x22ca09=_0x1d82fd['deepClone'](_0x17bf23[_0x21263c(0x2df)][0x0]),_0x4d6f9c=_0x1d82fd['deepClone'](_0x17bf23[_0x21263c(0x2df)][0x0]);for(let _0xe90852=_0x3f2e61['length']-0x1;_0xe90852>=0x0;_0xe90852--){const _0x4f75e4={'id':'doc.mutation.rich-text-editing','params':{..._0x3f2e61[_0xe90852]}},_0x421537={'id':'doc.mutation.rich-text-editing','params':{..._0x3b4b52[_0xe90852]}},_0x56745a=this['_transformService'][_0x21263c(0x31d)](_0x22ca09,_0x4f75e4,!0x1),_0x3f4314=this[_0x21263c(0x4db)][_0x21263c(0x31d)](_0x4d6f9c,_0x421537,!0x1);if(_0x25153f(_0x56745a))throw _0x56745a[_0x21263c(0x3a6)];if(_0x25153f(_0x3f4314))throw _0x3f4314[_0x21263c(0x3a6)];_0x103896[_0x21263c(0x489)](_0x56745a[_0x21263c(0x2f7)][_0x21263c(0x43d)]),_0x5230f0['unshift'](_0x3f4314[_0x21263c(0x2f7)][_0x21263c(0x43d)]),_0x22ca09=_0x56745a[_0x21263c(0x15f)],_0x4d6f9c=_0x3f4314[_0x21263c(0x15f)];}_0x2b8c28[_0x21263c(0x4c5)]({'undoCache':_0x103896,'redoCache':_0x5230f0});}[_0x22ca65(0x23c)](_0x4732f9){const _0x5544e2=_0x22ca65,{unitID:_0x1653fc}=_0x4732f9,_0x271e13=this[_0x5544e2(0x1f7)]['getRenderById'](_0x1653fc)[_0x5544e2(0x17f)](_0x54b80a),_0x30ddc3=_0x271e13[_0x5544e2(0x387)]();if(_0x30ddc3==null)return;const _0x4f71cc=[{'id':_0x5544e2(0x2b8),'params':{'unitId':_0x4732f9[_0x5544e2(0x117)],'actions':null,'textRanges':[_0x30ddc3]}}],_0x55743b=this[_0x5544e2(0x4db)][_0x5544e2(0x384)](_0x4732f9,_0x4f71cc);if(!_0x47fd9b(_0x55743b))throw _0x55743b[_0x5544e2(0x3a6)];const _0x4620c4=_0x55743b[_0x5544e2(0x2f7)][0x0][_0x5544e2(0x43d)][_0x5544e2(0x513)];Array[_0x5544e2(0x49e)](_0x4620c4)&&_0x4620c4[_0x5544e2(0x347)]&&_0x271e13['setActiveRange'](_0x4620c4[0x0]);}};ft=Zr([At(0x0,_0x1013ae(_0x1f2d44)),At(0x1,_0x1a9226),At(0x2,_0x4cb866)],ft);var Qr=Object['defineProperty'],eo=Object['getOwnPropertyDescriptor'],to=(_0x3b20da,_0x1e0b5b,_0xd580e3,_0x4eccb1)=>{const _0x3a807a=_0x22ca65;for(var _0x101b31=_0x4eccb1>0x1?void 0x0:_0x4eccb1?eo(_0x1e0b5b,_0xd580e3):_0x1e0b5b,_0x2ceed6=_0x3b20da[_0x3a807a(0x347)]-0x1,_0x53c8b4;_0x2ceed6>=0x0;_0x2ceed6--)(_0x53c8b4=_0x3b20da[_0x2ceed6])&&(_0x101b31=(_0x4eccb1?_0x53c8b4(_0x1e0b5b,_0xd580e3,_0x101b31):_0x53c8b4(_0x101b31))||_0x101b31);return _0x4eccb1&&_0x101b31&&Qr(_0x1e0b5b,_0xd580e3,_0x101b31),_0x101b31;},Xe=(_0x3e9949,_0x472eff)=>(_0x2a277c,_0x241f4b)=>_0x472eff(_0x2a277c,_0x241f4b,_0x3e9949);let q=class extends _0xad8dab{constructor(_0x514145,_0x16885b,_0x243754,_0x27f224,_0x11400b){const _0x5231c8=_0x22ca65;super(),g(this,'_cachedData',new Map()),g(this,_0x5231c8(0x122),new Map()),g(this,'_disabled',!0x1),(this[_0x5231c8(0x307)]=_0x514145,this[_0x5231c8(0x3ab)]=_0x16885b,this[_0x5231c8(0x1bd)]=_0x243754,this[_0x5231c8(0x47a)]=_0x27f224,this[_0x5231c8(0x22f)]=_0x11400b,this[_0x5231c8(0x115)]());}[_0x22ca65(0x483)](){const _0x58f3e2=_0x22ca65;this[_0x58f3e2(0x357)]=!0x0;}['enableLocalCache'](){const _0x121d87=_0x22ca65;this[_0x121d87(0x357)]=!0x1;}[_0x22ca65(0x287)](){const _0x3deadf=_0x22ca65;this[_0x3deadf(0x168)]()[_0x3deadf(0x2f2)](()=>super[_0x3deadf(0x287)]());}async[_0x22ca65(0x365)](_0x103dbc){const _0x3dda8d=_0x22ca65;return this['_disabled']?null:this[_0x3dda8d(0x3ab)][_0x3dda8d(0x405)](Bs(_0x103dbc));}async[_0x22ca65(0x45b)](_0x3dd06e,_0x4ba8fe){const _0x5cc1c7=_0x22ca65;return!!this['_localStorageService'][_0x5cc1c7(0x2b3)](_0x3dd06e,_0x4ba8fe);}[_0x22ca65(0x33a)](_0x276276,_0x536be0,_0x87698b,_0x3d7bbe){const _0x5de6d6=_0x22ca65,_0x1cc623=this[_0x5de6d6(0x22f)][_0x5de6d6(0x451)](_0x276276);this['_cachedData']['set'](_0x276276,{'unitID':_0x276276,'type':_0x536be0,'awaitingChangeset':_0x87698b,'mutations':_0x3d7bbe,'rev':_0x1cc623}),this[_0x5de6d6(0x122)]['has'](_0x276276)||this[_0x5de6d6(0x474)](_0x276276);}[_0x22ca65(0x474)](_0x275eb0){const _0x4cbd01=_0x22ca65,_0x4d11fb=this[_0x4cbd01(0x283)]();_0x4d11fb===0x0?this[_0x4cbd01(0x3b5)](_0x275eb0):this[_0x4cbd01(0x122)][_0x4cbd01(0x166)](_0x275eb0,setTimeout(()=>this[_0x4cbd01(0x3b5)](_0x275eb0),_0x4d11fb));}[_0x22ca65(0x283)](){var _0x252d88;return(_0x252d88=this['_configService']['getConfig'](Ir))!=null?_0x252d88:Cr;}[_0x22ca65(0x3b5)](_0x3013a2){const _0x3168d3=_0x22ca65,_0x85e0e3=this[_0x3168d3(0x122)][_0x3168d3(0x327)](_0x3013a2);return _0x85e0e3!==void 0x0&&window[_0x3168d3(0x1e8)](_0x85e0e3),this[_0x3168d3(0x3ab)][_0x3168d3(0x2b3)](Bs(_0x3013a2),this[_0x3168d3(0x139)][_0x3168d3(0x327)](_0x3013a2))[_0x3168d3(0x2f2)](()=>this[_0x3168d3(0x122)][_0x3168d3(0x2c9)](_0x3013a2));}async['exhaustSavingTask'](){const _0x2f2625=_0x22ca65,_0x2105fd=[];this[_0x2f2625(0x122)][_0x2f2625(0x18b)]((_0x2df1ee,_0x5c58a7)=>{const _0xc7969b=_0x2f2625;window['clearTimeout'](_0x2df1ee),_0x2105fd['push'](this[_0xc7969b(0x3b5)](_0x5c58a7)[_0xc7969b(0x2f2)](()=>{const _0x52753d=_0xc7969b;this[_0x52753d(0x122)][_0x52753d(0x2c9)](_0x5c58a7);}));}),await Promise['all'](_0x2105fd);}['_setupBeforeClosingHandler'](){const _0x493ac9=_0x22ca65;this[_0x493ac9(0x44c)](this[_0x493ac9(0x1bd)][_0x493ac9(0x1fc)](()=>{const _0x4c9e71=_0x493ac9;if(this['_saveTaskMap'][_0x4c9e71(0x104)])return this[_0x4c9e71(0x47a)]['t'](_0x4c9e71(0x507));}));}};q=to([Xe(0x0,_0x407e18),Xe(0x1,_0x1bdfad),Xe(0x2,_0x4c7392),Xe(0x3,_0x1013ae(_0x199c09)),Xe(0x4,_0x1013ae(_0x12c150))],q);function Bs(_0x377f29){const _0x150661=_0x22ca65;return _0x150661(0x494)+_0x377f29;}var so=Object[_0x22ca65(0x1ac)],io=Object['getOwnPropertyDescriptor'],no=(_0x3b9630,_0x13f987,_0x22c367,_0x334edb)=>{const _0x127e75=_0x22ca65;for(var _0xb2546e=_0x334edb>0x1?void 0x0:_0x334edb?io(_0x13f987,_0x22c367):_0x13f987,_0x58633c=_0x3b9630[_0x127e75(0x347)]-0x1,_0x1e7866;_0x58633c>=0x0;_0x58633c--)(_0x1e7866=_0x3b9630[_0x58633c])&&(_0xb2546e=(_0x334edb?_0x1e7866(_0x13f987,_0x22c367,_0xb2546e):_0x1e7866(_0xb2546e))||_0xb2546e);return _0x334edb&&_0xb2546e&&so(_0x13f987,_0x22c367,_0xb2546e),_0xb2546e;},Mt=(_0x16d953,_0x3c26fb)=>(_0x285a65,_0x3b546a)=>_0x3c26fb(_0x285a65,_0x3b546a,_0x16d953);function ro(_0x3daf77){const _0x5a1677=_0x22ca65,{unitID:_0x3ed8c9,mutations:_0x72d820}=_0x3daf77;return{'unitId':_0x3ed8c9,'subUnitId':_0x72d820[0x0][_0x5a1677(0x43d)][_0x5a1677(0x4ff)]};}let vt=class{constructor(_0x16cf32,_0x7e8775,_0x5cda2e){const _0x214091=_0x22ca65;this[_0x214091(0x47c)]=_0x16cf32,this[_0x214091(0x4db)]=_0x7e8775,this[_0x214091(0x516)]=_0x5cda2e;}[_0x22ca65(0x204)](_0x193434){const _0x1aa385=_0x22ca65;var _0x1870f6,_0x211e9c,_0x43386f,_0x5ac0a7;const _0x21811a=this['_injector'][_0x1aa385(0x327)](_0x2d9510),{unitId:_0x96e087,subUnitId:_0x4a743b}=ro(_0x193434),_0x1a9d0c=_0x21811a[_0x1aa385(0x39b)](_0x96e087)[_0x1aa385(0x2bb)](),_0x1ffbb3=(_0x211e9c=(_0x1870f6=this[_0x1aa385(0x516)][_0x1aa385(0x3a1)](_0x96e087))==null?void 0x0:_0x1870f6[_0x1aa385(0x421)]())==null?void 0x0:_0x211e9c[_0x1aa385(0x38e)]();if(_0x1a9d0c['length']===0x0||!_0x96e087||!_0x4a743b)return;const _0x563528=[{'id':_0xb3251['id'],'params':{'unitId':_0x96e087,'subUnitId':_0x1ffbb3,'selections':_0x1d82fd[_0x1aa385(0x3b6)](_0x1a9d0c)}}],_0x210e5a=this[_0x1aa385(0x4db)][_0x1aa385(0x384)](_0x193434,_0x563528);if(!_0x47fd9b(_0x210e5a))throw _0x210e5a['error'];const _0x580c9e=(_0x5ac0a7=(_0x43386f=_0x210e5a['m2Prime'][0x0])==null?void 0x0:_0x43386f[_0x1aa385(0x43d)])==null?void 0x0:_0x5ac0a7[_0x1aa385(0x4bf)];if(Array[_0x1aa385(0x49e)](_0x580c9e)&&_0x580c9e[_0x1aa385(0x347)]){if(_0x580c9e['length']===_0x563528[0x0][_0x1aa385(0x43d)][_0x1aa385(0x4bf)][_0x1aa385(0x347)]&&_0x580c9e[_0x1aa385(0x4b0)]((_0x25a700,_0xecaedc)=>_0x27626b['equals'](_0x25a700[_0x1aa385(0x45c)],_0x563528[0x0][_0x1aa385(0x43d)][_0x1aa385(0x4bf)][_0xecaedc]['range'])))return;this['_injector'][_0x1aa385(0x327)](_0x11db88)['executeCommand'](_0xb3251['id'],{'unitId':_0x96e087,'subUnitId':_0x1ffbb3,'selections':_0x580c9e});}}};vt=no([Mt(0x0,_0x1013ae(_0x1f2d44)),Mt(0x1,_0x1a9226),Mt(0x2,_0x331bf2)],vt);const Rt=_0x1263bd(_0x22ca65(0x44f));var Di=(_0x472282=>(_0x472282[_0x472282[_0x22ca65(0x401)]=0x0]=_0x22ca65(0x401),_0x472282[_0x472282[_0x22ca65(0x40f)]=0x1]=_0x22ca65(0x40f),_0x472282))(Di||{});const ks=0x7530,Ws=_0x22ca65(0x514);class oo extends _0xad8dab{constructor(){const _0x41d550=_0x22ca65;super(),g(this,_0x41d550(0x3ff),_0x1d82fd[_0x41d550(0x297)]()),g(this,_0x41d550(0x38d),new Set()),g(this,_0x41d550(0x376),new Map()),g(this,'_heartbeatTimer',null),g(this,_0x41d550(0x4de),new Map()),g(this,_0x41d550(0x107),new Map()),this['_init']();}[_0x22ca65(0x287)](){const _0x407b54=_0x22ca65;super[_0x407b54(0x287)](),this[_0x407b54(0x4de)][_0x407b54(0x18b)]((_0x3b54a5,_0x2fecd9)=>this[_0x407b54(0x466)](_0x2fecd9)),this[_0x407b54(0x43e)]&&window[_0x407b54(0x3bd)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x132c9a){const _0x2c62ed=_0x22ca65;return this[_0x2c62ed(0x285)](_0x132c9a)[_0x2c62ed(0x3b1)](_0x1459fc());}[_0x22ca65(0x3db)](_0x500a12){const _0x19c01c=_0x22ca65;this[_0x19c01c(0x38d)][_0x19c01c(0x104)]===0x0&&this[_0x19c01c(0x180)](),this[_0x19c01c(0x38d)][_0x19c01c(0x31b)](_0x500a12),this[_0x19c01c(0x1cd)]({'type':0x0,'memberID':this[_0x19c01c(0x3ff)],'unitIDs':[_0x500a12],'isForwarded':!0x1});}[_0x22ca65(0x320)](_0x9b5cd0){const _0x4473cf=_0x22ca65;this['_selfUnitIDs'][_0x4473cf(0x2c9)](_0x9b5cd0),this[_0x4473cf(0x38d)][_0x4473cf(0x104)]===0x0&&this[_0x4473cf(0x43e)]&&window[_0x4473cf(0x3bd)](this[_0x4473cf(0x43e)]);}[_0x22ca65(0x1b2)](){const _0x4d3032=_0x22ca65;this['disposeWithMe'](_0x3ed3fa(_0x1999e4(window,_0x4d3032(0x29b))[_0x4d3032(0x188)](_0x53f8e1=>{const _0xf6fec2=_0x4d3032;if(_0x53f8e1[_0xf6fec2(0x46a)]!==Ws||!_0x53f8e1[_0xf6fec2(0x312)])return;const _0x406456=JSON[_0xf6fec2(0x463)](_0x53f8e1[_0xf6fec2(0x312)]);this[_0xf6fec2(0x105)](_0x406456);}))),window[_0x4d3032(0x46e)](_0x4d3032(0x28e),()=>this[_0x4d3032(0x1cd)]({'type':0x1,'memberID':this[_0x4d3032(0x3ff)],'unitIDs':Array[_0x4d3032(0x3f3)](this[_0x4d3032(0x38d)])}));}['_handleEvent'](_0x3f31fc){const _0x4744de=_0x22ca65;switch(_0x3f31fc[_0x4744de(0x44d)]){case 0x0:this[_0x4744de(0x136)](_0x3f31fc);break;case 0x1:this[_0x4744de(0x35f)](_0x3f31fc);break;case 0x2:this[_0x4744de(0x152)](_0x3f31fc);break;}}[_0x22ca65(0x136)](_0x10458c){const _0x20452d=_0x22ca65,{unitIDs:_0x57a70c,memberID:_0x10b99c,isForwarded:_0x34a69e}=_0x10458c;_0x57a70c[_0x20452d(0x18b)](_0x4e91ea=>{const _0x14b7c1=_0x20452d;if(!_0x34a69e&&this[_0x14b7c1(0x376)][_0x14b7c1(0x361)](_0x4e91ea)&&this[_0x14b7c1(0x285)](_0x4e91ea)[_0x14b7c1(0x2cb)](0x1),!this['_unitOnClients'][_0x14b7c1(0x361)](_0x4e91ea)||!this[_0x14b7c1(0x376)]['get'](_0x4e91ea)[_0x14b7c1(0x361)](_0x10b99c)){const _0x2d1a86=this[_0x14b7c1(0x376)][_0x14b7c1(0x327)](_0x4e91ea)||new Set();_0x2d1a86[_0x14b7c1(0x31b)](_0x10b99c),this[_0x14b7c1(0x376)][_0x14b7c1(0x166)](_0x4e91ea,_0x2d1a86),this[_0x14b7c1(0x28c)](_0x10b99c);}}),_0x34a69e||this[_0x20452d(0x1cd)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x22ca65(0x28c)](_0xc78419){const _0x153345=_0x22ca65;this[_0x153345(0x466)](_0xc78419);const _0x2aa322=window[_0x153345(0x25a)](()=>{const _0x485957=_0x153345;this['_unitOnClients'][_0x485957(0x18b)](_0x553209=>{const _0x4dcd9f=_0x485957;_0x553209[_0x4dcd9f(0x2c9)](_0xc78419);});},ks*0x2);this[_0x153345(0x4de)][_0x153345(0x166)](_0xc78419,_0x2aa322);}[_0x22ca65(0x466)](_0x4aae66){const _0x4e04d7=_0x22ca65;if(this[_0x4e04d7(0x4de)][_0x4e04d7(0x361)](_0x4aae66)){const _0xe4c3c6=this[_0x4e04d7(0x4de)]['get'](_0x4aae66);_0xe4c3c6&&window[_0x4e04d7(0x1e8)](_0xe4c3c6),this[_0x4e04d7(0x4de)][_0x4e04d7(0x166)](_0x4aae66,null);}}['_handleLeaveEvent'](_0x4bccfe){const _0x5ab9d4=_0x22ca65,{memberID:_0x1355f1,unitIDs:_0x47afad}=_0x4bccfe;_0x47afad[_0x5ab9d4(0x18b)](_0x398644=>{const _0x176cd2=_0x5ab9d4;var _0x33e493;const _0x259c12=this[_0x176cd2(0x376)]['get'](_0x398644);_0x259c12&&(_0x259c12[_0x176cd2(0x2c9)](_0x1355f1),(_0x33e493=this[_0x176cd2(0x285)](_0x398644))==null||_0x33e493[_0x176cd2(0x2cb)](_0x259c12[_0x176cd2(0x104)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x1355f1);}[_0x22ca65(0x152)](_0x593795){const _0x1da6c0=_0x22ca65;this[_0x1da6c0(0x28c)](_0x593795['memberID']);}[_0x22ca65(0x1cd)](_0x5b18b3){const _0x2f87df=_0x22ca65;localStorage[_0x2f87df(0x2b3)](Ws,JSON[_0x2f87df(0x50b)](_0x5b18b3));}[_0x22ca65(0x180)](){const _0x58f3ae=_0x22ca65;this[_0x58f3ae(0x43e)]=window[_0x58f3ae(0x1d8)](()=>{const _0x16dbba=_0x58f3ae;this[_0x16dbba(0x1cd)]({'type':0x2,'memberID':this[_0x16dbba(0x3ff)]});},ks);}[_0x22ca65(0x285)](_0x5c32e9){const _0x3ab0bc=_0x22ca65;return this['_unitStatus'][_0x3ab0bc(0x361)](_0x5c32e9)||this[_0x3ab0bc(0x107)][_0x3ab0bc(0x166)](_0x5c32e9,new _0x35a34c(0x0)),this[_0x3ab0bc(0x107)]['get'](_0x5c32e9);}}var ao=Object[_0x22ca65(0x1ac)],co=Object[_0x22ca65(0x4c2)],ho=(_0x2552f3,_0x5e9242,_0x43e20a,_0x4dc17c)=>{const _0x3a531c=_0x22ca65;for(var _0x3e50c0=_0x4dc17c>0x1?void 0x0:_0x4dc17c?co(_0x5e9242,_0x43e20a):_0x5e9242,_0x56f332=_0x2552f3[_0x3a531c(0x347)]-0x1,_0x306ba8;_0x56f332>=0x0;_0x56f332--)(_0x306ba8=_0x2552f3[_0x56f332])&&(_0x3e50c0=(_0x4dc17c?_0x306ba8(_0x5e9242,_0x43e20a,_0x3e50c0):_0x306ba8(_0x3e50c0))||_0x3e50c0);return _0x4dc17c&&_0x3e50c0&&ao(_0x5e9242,_0x43e20a,_0x3e50c0),_0x3e50c0;},xt=(_0x56755b,_0xee37ce)=>(_0x36f232,_0x508d6a)=>_0xee37ce(_0x36f232,_0x508d6a,_0x56755b);let mt=class{constructor(_0x473d48,_0x52d104,_0x18725d){const _0x18080d=_0x22ca65;this[_0x18080d(0x47c)]=_0x473d48,this[_0x18080d(0x4db)]=_0x52d104,this[_0x18080d(0x2aa)]=_0x18725d;}[_0x22ca65(0x350)](_0x974768){const _0x1c61a6=_0x22ca65;this[_0x1c61a6(0x4ad)](_0x974768);}[_0x22ca65(0x20c)](_0x51dfdf){const _0x441c29=_0x22ca65,{unitID:_0xa7b5fd}=_0x51dfdf,{collaboration:_0x49d526}=this[_0x441c29(0x2aa)][_0x441c29(0x2ca)](_0xa7b5fd);if(_0x49d526['length']===0x0)return _0x51dfdf;let _0x2a7693=_0x1d82fd[_0x441c29(0x3b6)](_0x51dfdf[_0x441c29(0x2df)][0x0]);for(let _0x5edcaf=0x0;_0x5edcaf<_0x49d526[_0x441c29(0x347)];_0x5edcaf++){const _0x17d6bd={'id':_0x441c29(0x2b8),'params':{'unitId':_0x49d526[_0x5edcaf][_0x441c29(0x247)],..._0x49d526[_0x5edcaf][_0x441c29(0x14d)]}},_0x497865=this['_transformService'][_0x441c29(0x31d)](_0x2a7693,_0x17d6bd,!0x1);if(_0x25153f(_0x497865))throw _0x497865['error'];_0x2a7693=_0x497865[_0x441c29(0x15f)];}return{..._0x1d82fd[_0x441c29(0x3b6)](_0x51dfdf),'mutations':[_0x2a7693]};}[_0x22ca65(0x4ad)](_0x4bf113){const _0x14da85=_0x22ca65,{unitID:_0x38ad75}=_0x4bf113,{history:_0x16852f,collaboration:_0x2cae60}=this[_0x14da85(0x2aa)]['getStateCache'](_0x38ad75);if(_0x16852f[_0x14da85(0x347)]===0x0&&_0x2cae60[_0x14da85(0x347)]===0x0)return;const _0x115334=[],_0x1f3e15=[];let _0x547f8f=_0x1d82fd[_0x14da85(0x3b6)](_0x4bf113[_0x14da85(0x2df)][0x0]),_0x4c7510=_0x1d82fd[_0x14da85(0x3b6)](_0x4bf113[_0x14da85(0x2df)][0x0]);for(let _0x456953=_0x16852f[_0x14da85(0x347)]-0x1;_0x456953>=0x0;_0x456953--){const _0x4c11b1={'id':_0x14da85(0x2b8),'params':{'unitId':_0x16852f[_0x456953][_0x14da85(0x247)],..._0x16852f[_0x456953]['undoState']}},_0x2e9bfd={'id':_0x14da85(0x2b8),'params':{'unitId':_0x16852f[_0x456953][_0x14da85(0x247)],..._0x16852f[_0x456953][_0x14da85(0x14d)]}},_0x162097=this['_transformService'][_0x14da85(0x31d)](_0x547f8f,_0x4c11b1,!0x1),_0x3c6d9b=this[_0x14da85(0x4db)][_0x14da85(0x31d)](_0x4c7510,_0x2e9bfd,!0x1);if(_0x25153f(_0x162097))throw _0x162097[_0x14da85(0x3a6)];if(_0x25153f(_0x3c6d9b))throw _0x3c6d9b[_0x14da85(0x3a6)];_0x115334[_0x14da85(0x489)]({..._0x16852f[_0x456953],'undoState':_0x162097[_0x14da85(0x2f7)][_0x14da85(0x43d)],'redoState':_0x3c6d9b[_0x14da85(0x2f7)][_0x14da85(0x43d)]}),_0x547f8f=_0x162097[_0x14da85(0x15f)],_0x4c7510=_0x3c6d9b['m1Prime'];}_0x547f8f=_0x1d82fd['deepClone'](_0x4bf113['mutations'][0x0]),_0x4c7510=_0x1d82fd[_0x14da85(0x3b6)](_0x4bf113[_0x14da85(0x2df)][0x0]);for(let _0x49871f=_0x2cae60[_0x14da85(0x347)]-0x1;_0x49871f>=0x0;_0x49871f--){const _0x337748={'id':_0x14da85(0x2b8),'params':{'unitId':_0x2cae60[_0x49871f][_0x14da85(0x247)],..._0x2cae60[_0x49871f][_0x14da85(0x50e)]}},_0x3ca699={'id':_0x14da85(0x2b8),'params':{'unitId':_0x2cae60[_0x49871f][_0x14da85(0x247)],..._0x2cae60[_0x49871f]['redoState']}},_0x411b88=this[_0x14da85(0x4db)]['transformMutation'](_0x547f8f,_0x337748,!0x1),_0x510a8d=this[_0x14da85(0x4db)]['transformMutation'](_0x4c7510,_0x3ca699,!0x1);if(_0x25153f(_0x411b88))throw _0x411b88[_0x14da85(0x3a6)];if(_0x25153f(_0x510a8d))throw _0x510a8d[_0x14da85(0x3a6)];_0x1f3e15['unshift']({..._0x2cae60[_0x49871f],'undoState':_0x411b88[_0x14da85(0x2f7)]['params'],'redoState':_0x510a8d[_0x14da85(0x2f7)]['params']}),_0x547f8f=_0x411b88['m1Prime'],_0x4c7510=_0x510a8d['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x38ad75,{'history':_0x115334,'collaboration':_0x1f3e15});}};mt=ho([xt(0x0,_0x1013ae(_0x1f2d44)),xt(0x1,_0x1a9226),xt(0x2,_0x1013ae(_0x58eb9f))],mt);function Pi(_0x11eda2){const _0x2e1cd8=_0x22ca65;let _0xf51726='';for(const _0x4384d7 of _0x11eda2){const {startOffset:_0x104dbf,endOffset:_0x33ed6c,isActive:_0x210747,rangeType:_0x5d4bd0,segmentId:_0x2c3bff,segmentPage:_0x28c3ba}=_0x4384d7;_0xf51726[_0x2e1cd8(0x347)]&&(_0xf51726+=','),_0xf51726+=_0x104dbf+':'+_0x33ed6c+':'+(_0x210747?'1':'0')+':'+_0x5d4bd0+':'+_0x2c3bff+':'+_0x28c3ba;}return _0xf51726;}function lo(_0xa08d00){const _0x1c2901=_0x22ca65,_0x520e30=_0xa08d00[_0x1c2901(0x48b)](','),_0x1ead90=[];for(const _0x40b668 of _0x520e30){const [_0x5d937f,_0x202f69,_0xc746a7,_0x11dd31,_0x455a33,_0x3073bb]=_0x40b668[_0x1c2901(0x48b)](':');_0x1ead90[_0x1c2901(0x2e8)]({'startOffset':Number(_0x5d937f),'endOffset':Number(_0x202f69),'collapsed':_0x5d937f===_0x202f69,'isActive':_0xc746a7==='1','rangeType':_0x11dd31===_0x771b62[_0x1c2901(0x129)]?_0x771b62[_0x1c2901(0x129)]:_0x771b62[_0x1c2901(0x2bc)],'segmentId':typeof _0x455a33==_0x1c2901(0x4d8)?String(_0x455a33):'','segmentPage':Number(_0x3073bb!=null?_0x3073bb:-0x1)});}return _0x1ead90['some'](_0x12466b=>_0x12466b[_0x1c2901(0x339)])||(_0x1ead90[0x0]['isActive']=!0x0),_0x1ead90;}class Cs extends _0xbe756c{constructor(){const _0x142652=_0x22ca65;super(...arguments),g(this,_0x142652(0x398),new _0x35a34c(null)),g(this,_0x142652(0x221),this[_0x142652(0x398)][_0x142652(0x40d)]());}[_0x22ca65(0x23f)](_0x137ec8){const _0x251510=_0x22ca65,{unitID:_0x1a1f78,memberID:_0x428e89,textRanges:_0x38a58e}=_0x137ec8,_0x1600a9=Pi(_0x38a58e);if(_0x1600a9==='')return;const _0x297a40={'unitID':_0x1a1f78,'memberID':_0x428e89,'selection':_0x1600a9};this[_0x251510(0x398)][_0x251510(0x2cb)](_0x297a40);}}var _o=Object[_0x22ca65(0x1ac)],uo=Object[_0x22ca65(0x4c2)],fo=(_0x419fd5,_0x13f7c5,_0x895a05,_0x1d5b87)=>{for(var _0x3994aa=_0x1d5b87>0x1?void 0x0:_0x1d5b87?uo(_0x13f7c5,_0x895a05):_0x13f7c5,_0x4340c9=_0x419fd5['length']-0x1,_0x1791dd;_0x4340c9>=0x0;_0x4340c9--)(_0x1791dd=_0x419fd5[_0x4340c9])&&(_0x3994aa=(_0x1d5b87?_0x1791dd(_0x13f7c5,_0x895a05,_0x3994aa):_0x1791dd(_0x3994aa))||_0x3994aa);return _0x1d5b87&&_0x3994aa&&_o(_0x13f7c5,_0x895a05,_0x3994aa),_0x3994aa;},Fs=(_0x218338,_0x5f3e88)=>(_0x57e25e,_0x1c59a5)=>_0x5f3e88(_0x57e25e,_0x1c59a5,_0x218338);let pt=class{constructor(_0x31500f,_0x323d0d){const _0x7ef435=_0x22ca65;this[_0x7ef435(0x47c)]=_0x31500f,this[_0x7ef435(0x4db)]=_0x323d0d;}[_0x22ca65(0x204)](_0x3166ca){const _0x23dc3f=_0x22ca65;var _0x33db11;const _0x58b915=this[_0x23dc3f(0x47c)][_0x23dc3f(0x327)](_0x5640b6),_0x1b2eca=(_0x33db11=_0x58b915[_0x23dc3f(0x1c5)]())!=null?_0x33db11:[];if(_0x1b2eca[_0x23dc3f(0x347)]===0x0)return;const _0x34767e=_0x3166ca[_0x23dc3f(0x117)],_0xa06f70=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34767e,'actions':null,'textRanges':_0x1b2eca}}],_0x1e0482=this[_0x23dc3f(0x4db)][_0x23dc3f(0x384)](_0x3166ca,_0xa06f70);if(!_0x47fd9b(_0x1e0482))throw _0x1e0482[_0x23dc3f(0x3a6)];const _0x1f5fb5=_0x1e0482[_0x23dc3f(0x2f7)][0x0][_0x23dc3f(0x43d)][_0x23dc3f(0x513)];Array[_0x23dc3f(0x49e)](_0x1f5fb5)&&_0x1f5fb5['length']&&_0x58b915['replaceDocRanges'](_0x1f5fb5,{'unitId':_0x34767e,'subUnitId':_0x34767e},!0x1);}};pt=fo([Fs(0x0,_0x1013ae(_0x1f2d44)),Fs(0x1,_0x1a9226)],pt);const vo=new Set([_0x3a1ccd['id']]);function Vs(_0x35bc31,_0x177b3e,_0x492458,_0x9b61e2,_0x2de46d){const _0x383fbb=_0x22ca65;var _0x5c81b0,_0x2c342a,_0x34a17d,_0x4ae908;const _0x40cd46=[];for(const _0x1165ea of _0x35bc31)if(vo['has'](_0x1165ea['id'])){if(_0x40cd46[_0x383fbb(0x347)]>0x0)break;_0x40cd46[_0x383fbb(0x2e8)](_0x1165ea);break;}else _0x40cd46[_0x383fbb(0x2e8)](_0x1165ea);const _0x356e7f=(_0x2c342a=(_0x5c81b0=_0x2de46d[_0x383fbb(0x3a0)]())==null?void 0x0:_0x5c81b0[_0x383fbb(0x200)])!=null?_0x2c342a:_0x383fbb(0x2a5),_0x5145c1=(_0x4ae908=(_0x34a17d=_0x2de46d[_0x383fbb(0x3a0)]())==null?void 0x0:_0x34a17d[_0x383fbb(0x1fd)])!=null?_0x4ae908:_0x383fbb(0x2a5);return{'changeset':{'unitID':_0x177b3e,'type':_0x455d4e(_0x492458[_0x383fbb(0x416)](_0x177b3e)),'baseRev':_0x9b61e2[_0x383fbb(0x451)](_0x177b3e),'revision':0x0,'userID':_0x356e7f,'memberID':_0x5145c1,'mutations':_0x40cd46},'pendingMutations':_0x35bc31[_0x383fbb(0x346)](_0x40cd46['length'])};}function mo(_0x43e845,_0x1a2bef,_0x13e269,_0x15aa51,_0x50cf74){const _0x5db127=_0x22ca65;var _0x350de1,_0x2bfe6e,_0x2c43f8,_0x2d0db1;const _0x567f82=[_0x43e845[_0x5db127(0x11d)]((_0x1a3f74,_0x318b79)=>{const _0x53096f=_0x5db127;var _0x458c64;const {id:_0x2a907d}=_0x1a3f74,{id:_0x5a525,type:_0xce480b}=_0x318b79,_0x388204=(_0x458c64=_0x1a3f74['params'])!=null?_0x458c64:{'actions':null},_0x1970c3=_0x318b79[_0x53096f(0x43d)];if(_0x2a907d&&_0x2a907d!==_0x5a525)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2a907d+'\x20-\x20'+_0x5a525+'.');return{..._0x1a3f74,'id':_0x5a525,'type':_0xce480b,'params':{'unitId':_0x1970c3['unitId'],'textRanges':_0x1970c3[_0x53096f(0x513)],'actions':_0x1e47b1['compose'](_0x388204[_0x53096f(0x1ea)],_0x1970c3[_0x53096f(0x1ea)])}};},{})],_0x8c7f79=(_0x2bfe6e=(_0x350de1=_0x50cf74[_0x5db127(0x3a0)]())==null?void 0x0:_0x350de1[_0x5db127(0x200)])!=null?_0x2bfe6e:'unknown',_0xe67140=(_0x2d0db1=(_0x2c43f8=_0x50cf74[_0x5db127(0x3a0)]())==null?void 0x0:_0x2c43f8['memberID'])!=null?_0x2d0db1:_0x5db127(0x2a5);return{'changeset':{'unitID':_0x1a2bef,'type':_0x455d4e(_0x13e269[_0x5db127(0x416)](_0x1a2bef)),'baseRev':_0x15aa51['getCurrentRevOfUnit'](_0x1a2bef),'revision':0x0,'userID':_0x8c7f79,'memberID':_0xe67140,'mutations':_0x567f82},'pendingMutations':[]};}function Ui(_0x57ed9f,_0x4bb3c6){const _0x2d0cbd=_0x22ca65,_0x2659f0=new _0x31498e(0x1);return setTimeout(()=>_0x2659f0['next'](_0x4bb3c6),_0x57ed9f),_0x2659f0[_0x2d0cbd(0x40d)]()[_0x2d0cbd(0x3b1)](_0x260a31(0x1));}const po={'id':_0x20e814['id'],'type':_0x32952f[_0x22ca65(0x1b4)],'params':{}};var go=Object['defineProperty'],So=Object[_0x22ca65(0x4c2)],$e=(_0x17f7eb,_0x25bd42,_0x20048e,_0x1cdd4a)=>{const _0x329099=_0x22ca65;for(var _0x1ff52f=_0x1cdd4a>0x1?void 0x0:_0x1cdd4a?So(_0x25bd42,_0x20048e):_0x25bd42,_0x378d51=_0x17f7eb[_0x329099(0x347)]-0x1,_0x37565a;_0x378d51>=0x0;_0x378d51--)(_0x37565a=_0x17f7eb[_0x378d51])&&(_0x1ff52f=(_0x1cdd4a?_0x37565a(_0x25bd42,_0x20048e,_0x1ff52f):_0x37565a(_0x1ff52f))||_0x1ff52f);return _0x1cdd4a&&_0x1ff52f&&go(_0x25bd42,_0x20048e,_0x1ff52f),_0x1ff52f;},A=(_0x5ea3f7,_0x25f595)=>(_0x551404,_0x155dff)=>_0x25f595(_0x551404,_0x155dff,_0x5ea3f7),J=(_0x15556e=>(_0x15556e[_0x22ca65(0x1d7)]=_0x22ca65(0x373),_0x15556e[_0x22ca65(0x268)]=_0x22ca65(0x252),_0x15556e[_0x22ca65(0x169)]=_0x22ca65(0x4ee),_0x15556e[_0x22ca65(0x226)]=_0x22ca65(0x2c1),_0x15556e[_0x22ca65(0x212)]=_0x22ca65(0x380),_0x15556e[_0x22ca65(0x300)]=_0x22ca65(0x35e),_0x15556e[_0x22ca65(0x2c8)]='conflict',_0x15556e[_0x22ca65(0x427)]=_0x22ca65(0x3b9),_0x15556e))(J||{});const Ni=0xea60;class He{constructor(_0xdf29b1,_0x27b23f,_0x3249c4,_0x577176,_0x4b8b20,_0x48f3f8,_0x5cf85d,_0x2a9b9a,_0xe861d0){const _0x3f0b6e=_0x22ca65;g(this,_0x3f0b6e(0x379),null),g(this,'_pendingMutations',[]),(this[_0x3f0b6e(0x117)]=_0xdf29b1,this[_0x3f0b6e(0x44d)]=_0x27b23f,this[_0x3f0b6e(0x1c4)]=_0x4b8b20,this[_0x3f0b6e(0x1f1)]=_0x48f3f8,this[_0x3f0b6e(0x2f1)]=_0x5cf85d,this['_revisionService']=_0x2a9b9a,this['_localCacheService']=_0xe861d0,this[_0x3f0b6e(0x379)]=_0x3249c4,this[_0x3f0b6e(0x344)]=_0x577176);}[_0x22ca65(0x351)](_0x2acd51){const _0x1f5ee3=_0x22ca65,_0x1df49e=this[_0x1f5ee3(0x22f)][_0x1f5ee3(0x451)](this[_0x1f5ee3(0x117)]);return _0x2acd51[_0x1f5ee3(0x14b)]>_0x1df49e+0x1?(this[_0x1f5ee3(0x1c4)][_0x1f5ee3(0x3de)]({'from':_0x1df49e,'to':_0x2acd51[_0x1f5ee3(0x14b)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1557a4){const _0x1deba2=_0x22ca65;this['_undoRedoService'][_0x1deba2(0x41c)](this[_0x1deba2(0x117)],_0x1557a4);}[_0x22ca65(0x295)](_0x10c00a){const _0x351766=_0x22ca65;var _0x32abb3,_0x5519c7;(_0x5519c7=(_0x32abb3=this[_0x351766(0x1c4)])[_0x351766(0x2d6)])==null||_0x5519c7[_0x351766(0x16e)](_0x32abb3,_0x10c00a);}[_0x22ca65(0x2f8)](_0x27d528){const _0x6c0b2f=_0x22ca65;var _0x3418c2,_0x33be1f;return(_0x33be1f=(_0x3418c2=this[_0x6c0b2f(0x1c4)])['onTransformIME'])==null?void 0x0:_0x33be1f[_0x6c0b2f(0x16e)](_0x3418c2,_0x27d528);}['_transformStateCache'](_0x136247){const _0x5d10e0=_0x22ca65;var _0x285b41,_0x7f0d7a;return(_0x7f0d7a=(_0x285b41=this[_0x5d10e0(0x1c4)])[_0x5d10e0(0x496)])==null?void 0x0:_0x7f0d7a['call'](_0x285b41,_0x136247);}[_0x22ca65(0x352)](_0x3b2286){const _0x475b1e=_0x22ca65;var _0x4e6391,_0x20c149,_0x57b5a5;return(_0x57b5a5=(_0x20c149=(_0x4e6391=this['_handler'])[_0x475b1e(0x296)])==null?void 0x0:_0x20c149['call'](_0x4e6391,_0x3b2286))!=null?_0x57b5a5:_0x3b2286;}[_0x22ca65(0x3f7)](_0x54d93d){const _0x1f4a4=_0x22ca65;var _0x1172b6,_0x204b6b,_0x314f00;return(_0x314f00=(_0x204b6b=(_0x1172b6=this[_0x1f4a4(0x1c4)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x204b6b[_0x1f4a4(0x16e)](_0x1172b6,_0x54d93d))!=null?_0x314f00:_0x54d93d;}[_0x22ca65(0x2ff)](_0xe5015){const _0x19a52c=_0x22ca65;var _0x38b8ca,_0x4a6823;if(this[_0x19a52c(0x44d)]===ce[_0x19a52c(0x462)]){const {unitID:_0x25e2de,mutations:_0x4678a6,memberID:_0x1885e9}=_0xe5015,_0x1c0791=_0x4678a6[0x0][_0x19a52c(0x43d)][_0x19a52c(0x513)];Array[_0x19a52c(0x49e)](_0x1c0791)&&_0x1c0791['length']>0x0&&((_0x4a6823=(_0x38b8ca=this['_handler'])[_0x19a52c(0x447)])==null||_0x4a6823[_0x19a52c(0x16e)](_0x38b8ca,{'unitID':_0x25e2de,'memberID':_0x1885e9,'textRanges':_0x1c0791}));}}[_0x22ca65(0x3b3)](){const _0x1fb5b6=_0x22ca65;this[_0x1fb5b6(0x11f)][_0x1fb5b6(0x33a)](this[_0x1fb5b6(0x117)],this[_0x1fb5b6(0x44d)],this[_0x1fb5b6(0x379)],this[_0x1fb5b6(0x344)]);}['_getCurrentRevision'](){const _0x15ecd8=_0x22ca65;return this[_0x15ecd8(0x22f)][_0x15ecd8(0x451)](this[_0x15ecd8(0x117)]);}[_0x22ca65(0x1a2)](){const _0x55762a=_0x22ca65;this[_0x55762a(0x22f)]['incrementRevOfUnit'](this[_0x55762a(0x117)]);}[_0x22ca65(0x411)](_0x15bde6){const _0x191901=_0x22ca65;var _0x69fd09;let _0x548d53=this[_0x191901(0x352)](_0x15bde6);_0x548d53=this[_0x191901(0x3f7)](_0x548d53);const _0x214782=_0x839c3b(_0x548d53[_0x191901(0x2df)],this['_commandService'],{'fromCollab':!0x0});if(!_0x214782['result'])throw _0x214782[_0x191901(0x3a6)]instanceof Error?_0x214782[_0x191901(0x3a6)]:new Error((_0x69fd09=_0x214782[_0x191901(0x3a6)])!=null?_0x69fd09:_0x191901(0x207));this[_0x191901(0x2f8)](_0x548d53),this[_0x191901(0x349)](_0x548d53),this[_0x191901(0x515)](_0x15bde6),this[_0x191901(0x295)](_0x548d53),this['_syncEditingCollabCursor'](_0x548d53),this[_0x191901(0x1a2)]();}}let Fe=class extends He{constructor(_0x14b58e,_0x369ee2,_0x3c0c4b,_0x1bd9a7,_0x13f9cb,_0x59c712,_0x298f52,_0x11f34f,_0x445059,_0x330848){const _0x236554=_0x22ca65;super(_0x14b58e,_0x369ee2,null,[],_0x3c0c4b,_0x11f34f,_0x298f52,_0x1bd9a7,_0x13f9cb),g(this,_0x236554(0x294),_0x236554(0x252)),(this[_0x236554(0x47c)]=_0x59c712,this['_logService']=_0x445059,this[_0x236554(0x4db)]=_0x330848);}[_0x22ca65(0x15d)](_0x54f3b3){const _0x4daea7=_0x22ca65,_0x48b91b=this[_0x4daea7(0x47c)][_0x4daea7(0x4e3)](pe,this[_0x4daea7(0x117)],this[_0x4daea7(0x44d)],[_0x54f3b3],this[_0x4daea7(0x1c4)]);return _0x48b91b[_0x4daea7(0x45a)](),_0x48b91b['_updateLocalCache'](),_0x48b91b;}[_0x22ca65(0x3e4)](_0x49ee96){const _0x12b1b5=_0x22ca65;if(this[_0x12b1b5(0x351)](_0x49ee96))return this[_0x12b1b5(0x47c)][_0x12b1b5(0x4e3)](he,this[_0x12b1b5(0x117)],this['type'],null,[],null,[_0x49ee96],this[_0x12b1b5(0x1c4)]);try{const _0x5e9d64=this[_0x12b1b5(0x4db)][_0x12b1b5(0x384)](_0x49ee96,[po]);if(_0x47fd9b(_0x5e9d64)){const {c1Prime:_0x241a81}=_0x5e9d64;return this[_0x12b1b5(0x411)](_0x241a81),this;}throw _0x5e9d64['error'];}catch(_0x35d440){return this[_0x12b1b5(0x3d5)][_0x12b1b5(0x3a6)](_0x35d440),this[_0x12b1b5(0x143)](!0x1);}}[_0x22ca65(0x143)](_0x2236c5){const _0x585da3=_0x22ca65;return this[_0x585da3(0x47c)]['createInstance'](Re,this[_0x585da3(0x117)],this[_0x585da3(0x44d)],null,[],this['_handler'],_0x2236c5);}[_0x22ca65(0x41b)](){const _0x5f465f=_0x22ca65;throw new Error(_0x5f465f(0x1be));}[_0x22ca65(0x186)](){const _0x6394f=_0x22ca65;throw new Error(_0x6394f(0x184));}[_0x22ca65(0x257)](){return this;}[_0x22ca65(0x2e9)](){const _0x2e4240=_0x22ca65;return this['_injector'][_0x2e4240(0x4e3)](Oe,this['unitID'],this['type'],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x22ca65(0x4ce)](){const _0x2d07e5=_0x22ca65;throw new Error(_0x2d07e5(0x305));}[_0x22ca65(0x244)](){const _0x5b9bc9=_0x22ca65,_0x4f0921=this['_revisionService'][_0x5b9bc9(0x451)](this['unitID']);return this[_0x5b9bc9(0x1c4)][_0x5b9bc9(0x3de)]({'from':_0x4f0921,'to':0x0}),this[_0x5b9bc9(0x47c)][_0x5b9bc9(0x4e3)](he,this[_0x5b9bc9(0x117)],this[_0x5b9bc9(0x44d)],null,[],null,[],this[_0x5b9bc9(0x1c4)]);}};Fe=$e([A(0x3,_0x1013ae(_0x12c150)),A(0x4,_0x1013ae(q)),A(0x5,_0x1013ae(_0x1f2d44)),A(0x6,_0x2ef4cd),A(0x7,_0x11db88),A(0x8,_0x3b5747),A(0x9,_0x1a9226)],Fe);let pe=class extends He{constructor(_0x1a7795,_0x491de4,_0x4639c4,_0x1ba3ed,_0x2640ee,_0x147a57,_0x56b472,_0x5c4701,_0x131b02,_0x1e69f7,_0x241adc,_0x3181a3,_0x12335d,_0x120cda){const _0x4178e1=_0x22ca65;super(_0x1a7795,_0x491de4,null,_0x4639c4,_0x1ba3ed,_0x1e69f7,_0x120cda,_0x147a57,_0x56b472),g(this,_0x4178e1(0x294),_0x4178e1(0x4ee)),g(this,_0x4178e1(0x4f1),null),g(this,_0x4178e1(0x407),null),(this['_injector']=_0x2640ee,this['_memberService']=_0x5c4701,this[_0x4178e1(0x3d5)]=_0x131b02,this[_0x4178e1(0x307)]=_0x241adc,this[_0x4178e1(0x4db)]=_0x3181a3,this['_univerInstanceService']=_0x12335d);}[_0x22ca65(0x15d)](_0x5a954a){const _0x2e254f=_0x22ca65;return this['_pendingMutations'][_0x2e254f(0x2e8)](_0x5a954a),this['_updateLocalCache'](),this;}[_0x22ca65(0x3e4)](_0x343c6d){const _0x428b2a=_0x22ca65;if(this[_0x428b2a(0x351)](_0x343c6d))return this[_0x428b2a(0x399)](),this[_0x428b2a(0x47c)][_0x428b2a(0x4e3)](he,this[_0x428b2a(0x117)],this[_0x428b2a(0x44d)],null,this[_0x428b2a(0x344)],null,[_0x343c6d],this[_0x428b2a(0x1c4)]);try{const _0x4f0547=this[_0x428b2a(0x4db)][_0x428b2a(0x384)](_0x343c6d,this[_0x428b2a(0x344)]);if(_0x47fd9b(_0x4f0547)){const {c1Prime:_0x4c963c,m2Prime:_0x16ae3e}=_0x4f0547;this['_executeRemoteChangeset'](_0x4c963c);const _0x3c3302=this[_0x428b2a(0x47c)]['createInstance'](pe,this['unitID'],this[_0x428b2a(0x44d)],_0x16ae3e,this['_handler']);return this[_0x428b2a(0x399)](),_0x3c3302[_0x428b2a(0x45a)](this[_0x428b2a(0x4f1)]?Math[_0x428b2a(0x45d)](0x0,new Date()[_0x428b2a(0x191)]()-this['_scheduleTimestamp']):this[_0x428b2a(0x12b)]()),_0x3c3302;}throw _0x4f0547[_0x428b2a(0x3a6)];}catch(_0xb98ccb){return this[_0x428b2a(0x3d5)]['error'](_0xb98ccb),this[_0x428b2a(0x143)](!0x1);}}[_0x22ca65(0x41b)](){const _0x303677=_0x22ca65;throw new Error(_0x303677(0x3ea));}[_0x22ca65(0x186)](){const _0x3ba574=_0x22ca65;throw new Error(_0x3ba574(0x35a));}['onRemoteRetry'](){return this;}[_0x22ca65(0x2e9)](){const _0x2511cc=_0x22ca65;return this['_clearScheduledTask'](),this[_0x2511cc(0x47c)][_0x2511cc(0x4e3)](Oe,this[_0x2511cc(0x117)],this[_0x2511cc(0x44d)],null,this[_0x2511cc(0x344)],this[_0x2511cc(0x1c4)]);}['toggleOnline'](){return this;}[_0x22ca65(0x45a)](_0x1644a3){const _0x125d56=_0x22ca65,_0x3e8eb5=_0x1644a3!=null?_0x1644a3:this[_0x125d56(0x12b)]();this[_0x125d56(0x4f1)]=new Date()[_0x125d56(0x191)](),this[_0x125d56(0x407)]=window[_0x125d56(0x25a)](()=>{const _0x5870cf=_0x125d56;this[_0x5870cf(0x399)]();let _0x19d43b=null;switch(this[_0x5870cf(0x44d)]){case ce[_0x5870cf(0x1f5)]:{_0x19d43b=Vs(this[_0x5870cf(0x344)],this[_0x5870cf(0x117)],this[_0x5870cf(0x4c7)],this[_0x5870cf(0x22f)],this[_0x5870cf(0x409)]);break;}case ce[_0x5870cf(0x462)]:{this[_0x5870cf(0x344)][_0x5870cf(0x4b0)](_0x196b4b=>_0x196b4b['id']===_0x3fb99f['id'])?_0x19d43b=mo(this['_pendingMutations'],this[_0x5870cf(0x117)],this[_0x5870cf(0x4c7)],this[_0x5870cf(0x22f)],this[_0x5870cf(0x409)]):_0x19d43b=Vs(this[_0x5870cf(0x344)],this[_0x5870cf(0x117)],this[_0x5870cf(0x4c7)],this[_0x5870cf(0x22f)],this['_memberService']);break;}default:throw new Error(_0x5870cf(0x284)+this[_0x5870cf(0x44d)]+_0x5870cf(0x32f));}const {changeset:_0x1b5386,pendingMutations:_0x1e61f9}=_0x19d43b;this[_0x5870cf(0x1c4)]['onSendChangeset'](_0x1b5386);const _0x313250=_0x1e61f9[_0x5870cf(0x347)]?this[_0x5870cf(0x47c)][_0x5870cf(0x4e3)](ge,this[_0x5870cf(0x117)],this[_0x5870cf(0x44d)],_0x1b5386,_0x1e61f9,this[_0x5870cf(0x1c4)],void 0x0):this['_injector']['createInstance'](Te,this[_0x5870cf(0x117)],this[_0x5870cf(0x44d)],_0x1b5386,this[_0x5870cf(0x1c4)]);_0x313250['_updateLocalCache'](),this['_handler'][_0x5870cf(0x390)](this,_0x313250);},_0x3e8eb5);}[_0x22ca65(0x12b)](){const _0x4f4e09=_0x22ca65;var _0x4790a4;const _0x548f4a=this[_0x4f4e09(0x307)][_0x4f4e09(0x3c7)](te);return(_0x4790a4=_0x548f4a==null?void 0x0:_0x548f4a['sendChangesetTimeout'])!=null?_0x4790a4:_r;}[_0x22ca65(0x4ce)](){const _0xf11529=_0x22ca65;throw new Error(_0xf11529(0x3f9));}[_0x22ca65(0x399)](){const _0x27019c=_0x22ca65;this[_0x27019c(0x407)]!=null&&(clearTimeout(this[_0x27019c(0x407)]),this['_sendingTimer']=null);}['_onConflict'](_0x45534f){const _0x37bb9d=_0x22ca65;return this[_0x37bb9d(0x399)](),this[_0x37bb9d(0x47c)][_0x37bb9d(0x4e3)](Re,this['unitID'],this[_0x37bb9d(0x44d)],null,this['_pendingMutations'],this[_0x37bb9d(0x1c4)],_0x45534f);}};pe=$e([A(0x4,_0x1013ae(_0x1f2d44)),A(0x5,_0x1013ae(_0x12c150)),A(0x6,_0x1013ae(q)),A(0x7,_0x1013ae(Me)),A(0x8,_0x3b5747),A(0x9,_0x11db88),A(0xa,_0x407e18),A(0xb,_0x1a9226),A(0xc,_0x331bf2),A(0xd,_0x2ef4cd)],pe);let Te=class extends He{constructor(_0x6a1cc0,_0x1118a9,_0x1617ec,_0x264d96,_0x25cd7f,_0x1fe27e,_0x3bb4c2,_0x4ffedf,_0xdd235c,_0x58b242,_0x2c5f30){const _0x1880d4=_0x22ca65;super(_0x6a1cc0,_0x1118a9,_0x1617ec,[],_0x264d96,_0x4ffedf,_0x2c5f30,_0x1fe27e,_0x3bb4c2),g(this,_0x1880d4(0x294),_0x1880d4(0x2c1)),g(this,'_resendTimeout',0x0),g(this,'_resendTimer'),g(this,'_sender'),(this[_0x1880d4(0x47c)]=_0x25cd7f,this[_0x1880d4(0x3d5)]=_0xdd235c,this[_0x1880d4(0x4db)]=_0x58b242);}[_0x22ca65(0x15d)](_0x3d47e1){const _0x3994d4=_0x22ca65;this[_0x3994d4(0x399)]();const _0x3359c2=this[_0x3994d4(0x47c)][_0x3994d4(0x4e3)](ge,this[_0x3994d4(0x117)],this[_0x3994d4(0x44d)],this['_awaitingChangeset'],[_0x3d47e1],this[_0x3994d4(0x1c4)],this[_0x3994d4(0x273)]);return _0x3359c2[_0x3994d4(0x3b3)](),_0x3359c2;}[_0x22ca65(0x3e4)](_0x7f9d27){const _0xd645a2=_0x22ca65;if(this[_0xd645a2(0x351)](_0x7f9d27))return this[_0xd645a2(0x399)](),this[_0xd645a2(0x47c)][_0xd645a2(0x4e3)](he,this[_0xd645a2(0x117)],this[_0xd645a2(0x44d)],this[_0xd645a2(0x379)],[],null,[_0x7f9d27],this[_0xd645a2(0x1c4)]);try{const _0x152426=this[_0xd645a2(0x4db)][_0xd645a2(0x10b)]([_0x7f9d27],[this[_0xd645a2(0x379)]],!0x1);if(_0xb5c743(_0x152426)){const {c1Prime:_0x45bdcf,c2Prime:_0x2bee69}=_0x152426;this['_executeRemoteChangeset'](_0x45bdcf[0x0]),_0x2bee69[0x0][_0xd645a2(0x470)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0xdfaaae=this['_injector'][_0xd645a2(0x4e3)](Te,this[_0xd645a2(0x117)],this['type'],_0x2bee69[0x0],this[_0xd645a2(0x1c4)]);return _0xdfaaae[_0xd645a2(0x3b3)](),_0xdfaaae;}return this[_0xd645a2(0x143)](!0x1);}catch(_0x44ae44){return this['_logService'][_0xd645a2(0x3a6)](_0x44ae44),this[_0xd645a2(0x143)](!0x1);}}[_0x22ca65(0x41b)](_0x3699d0){const _0x2b241e=_0x22ca65;this['_clearScheduledTask']();const _0x40c8e1=this[_0x2b241e(0x22f)][_0x2b241e(0x451)](this[_0x2b241e(0x117)]);if(_0x3699d0[_0x2b241e(0x14b)]<_0x40c8e1-0x1)return this;if(this['_checkMissing'](_0x3699d0))return this[_0x2b241e(0x47c)][_0x2b241e(0x4e3)](he,this[_0x2b241e(0x117)],this[_0x2b241e(0x44d)],null,[],this[_0x2b241e(0x379)],[],this[_0x2b241e(0x1c4)]);this[_0x2b241e(0x1a2)]();const _0x273da7=this[_0x2b241e(0x47c)][_0x2b241e(0x4e3)](Fe,this[_0x2b241e(0x117)],this['type'],this[_0x2b241e(0x1c4)]);return _0x273da7[_0x2b241e(0x3b3)](),_0x273da7;}[_0x22ca65(0x186)](_0x14d2fe){const _0x1580bd=_0x22ca65;return this['_onConflict'](!!(_0x14d2fe!=null&&_0x14d2fe[_0x1580bd(0x3e8)]));}[_0x22ca65(0x257)](_0x7307b9){const _0x278cb7=_0x22ca65;return this[_0x278cb7(0x128)]>Ni?this['toggleOffline']():(this[_0x278cb7(0x273)]=Ui(this['_resendTimeout'],{'timeout':this[_0x278cb7(0x128)],'reqId':_0x7307b9[_0x278cb7(0x3ee)]}),this[_0x278cb7(0x43c)]=this[_0x278cb7(0x273)]['subscribe'](({reqId:_0x53748a,timeout:_0x1ede77})=>{const _0x1f467f=_0x278cb7;this[_0x1f467f(0x3af)](_0x53748a,_0x1ede77);}),this);}[_0x22ca65(0x2e9)](){const _0x563221=_0x22ca65;return this[_0x563221(0x399)](),this[_0x563221(0x47c)][_0x563221(0x4e3)](Oe,this[_0x563221(0x117)],this[_0x563221(0x44d)],this[_0x563221(0x379)],[],this[_0x563221(0x1c4)]);}[_0x22ca65(0x235)](){return this;}[_0x22ca65(0x4ce)](){const _0x44b820=_0x22ca65;this[_0x44b820(0x1c4)][_0x44b820(0x22b)](this[_0x44b820(0x379)]);}[_0x22ca65(0x143)](_0x359c27){const _0x3cca8b=_0x22ca65;return this[_0x3cca8b(0x399)](),this[_0x3cca8b(0x47c)][_0x3cca8b(0x4e3)](Re,this['unitID'],this['type'],this[_0x3cca8b(0x379)],[],this[_0x3cca8b(0x1c4)],_0x359c27);}[_0x22ca65(0x3af)](_0x1622d6,_0x280e28){const _0x3554b6=_0x22ca65;var _0x240bbb;_0x1622d6===((_0x240bbb=this['_awaitingChangeset'])==null?void 0x0:_0x240bbb[_0x3554b6(0x3ee)])&&(this[_0x3554b6(0x4ce)](),this['_resendTimeout']=_0x280e28===0x0?0x3e8:_0x280e28*0x2);}[_0x22ca65(0x399)](){const _0x25084c=_0x22ca65;var _0x5b306a;(_0x5b306a=this['_sender'])==null||_0x5b306a[_0x25084c(0x441)](),this[_0x25084c(0x128)]=0x0;}};Te=$e([A(0x4,_0x1013ae(_0x1f2d44)),A(0x5,_0x1013ae(_0x12c150)),A(0x6,_0x1013ae(q)),A(0x7,_0x11db88),A(0x8,_0x3b5747),A(0x9,_0x1a9226),A(0xa,_0x2ef4cd)],Te);let ge=class extends He{constructor(_0x94a3c6,_0x186bf1,_0x3ad264,_0x113043,_0x51b007,_0x4eb91d,_0xde4394,_0x1ac7d7,_0x506c36,_0x6e0ff7,_0x12357e,_0x30909e,_0x172edd){const _0x35b608=_0x22ca65;super(_0x94a3c6,_0x186bf1,_0x3ad264,_0x113043,_0x51b007,_0x6e0ff7,_0x172edd,_0x1ac7d7,_0x506c36),g(this,'status',_0x35b608(0x380)),g(this,_0x35b608(0x128),0x0),g(this,_0x35b608(0x273)),g(this,_0x35b608(0x43c)),(this[_0x35b608(0x47c)]=_0xde4394,this[_0x35b608(0x3d5)]=_0x12357e,this[_0x35b608(0x4db)]=_0x30909e,_0x4eb91d&&(this[_0x35b608(0x273)]=_0x4eb91d,this[_0x35b608(0x43c)]=this[_0x35b608(0x273)][_0x35b608(0x188)](({reqId:_0x1d6f0f,timeout:_0x5c9aba})=>{this['_resendWithTimeout'](_0x1d6f0f,_0x5c9aba);})));}[_0x22ca65(0x15d)](_0x1f9b9c){const _0x3342b2=_0x22ca65;return this['_pendingMutations'][_0x3342b2(0x2e8)](_0x1f9b9c),this;}['onRemoteChangeset'](_0x2cf7c5){const _0x405f73=_0x22ca65;if(this[_0x405f73(0x351)](_0x2cf7c5))return this[_0x405f73(0x399)](),this[_0x405f73(0x47c)][_0x405f73(0x4e3)](he,this[_0x405f73(0x117)],this['type'],this['_awaitingChangeset'],this[_0x405f73(0x344)],null,[_0x2cf7c5],this['_handler']);try{const _0x5ca73f=this[_0x405f73(0x4db)][_0x405f73(0x10b)]([_0x2cf7c5],[this[_0x405f73(0x379)]],!0x1);if(_0xb5c743(_0x5ca73f)){const {c1Prime:_0xe69f34,c2Prime:_0x4a1e75}=_0x5ca73f,_0x161502=this[_0x405f73(0x4db)][_0x405f73(0x384)](_0xe69f34[0x0],this['_pendingMutations']);if(_0x47fd9b(_0x161502)){const {c1Prime:_0x7067a2,m2Prime:_0x84ca8c}=_0x161502;return this[_0x405f73(0x411)](_0x7067a2),_0x4a1e75[0x0]['baseRev']=this[_0x405f73(0x4c1)](),this['_clearScheduledTask'](),this[_0x405f73(0x47c)]['createInstance'](ge,this[_0x405f73(0x117)],this['type'],_0x4a1e75[0x0],_0x84ca8c,this['_handler'],void 0x0);}throw _0x161502['error'];}throw _0x5ca73f[_0x405f73(0x3a6)];}catch(_0x24b90e){return this[_0x405f73(0x3d5)][_0x405f73(0x3a6)](_0x24b90e),this[_0x405f73(0x143)](!0x1);}}[_0x22ca65(0x41b)](_0x15778c){const _0x228a57=_0x22ca65;if(this['_clearScheduledTask'](),this[_0x228a57(0x351)](_0x15778c))return this[_0x228a57(0x47c)][_0x228a57(0x4e3)](he,this[_0x228a57(0x117)],this[_0x228a57(0x44d)],null,this[_0x228a57(0x344)],this['_awaitingChangeset'],[],this['_handler']);this[_0x228a57(0x1a2)]();const _0xf7ca1c=this['_injector']['createInstance'](pe,this[_0x228a57(0x117)],this['type'],this[_0x228a57(0x344)],this[_0x228a57(0x1c4)]);return _0xf7ca1c[_0x228a57(0x45a)](),_0xf7ca1c['_updateLocalCache'](),_0xf7ca1c;}[_0x22ca65(0x186)](_0x1f76ac){const _0x4e1806=_0x22ca65;return this[_0x4e1806(0x143)](!!(_0x1f76ac!=null&&_0x1f76ac[_0x4e1806(0x3e8)]));}['onRemoteRetry'](_0x384c25){const _0x1eb196=_0x22ca65;return this[_0x1eb196(0x128)]>Ni?this['toggleOffline']():(this[_0x1eb196(0x273)]=Ui(this[_0x1eb196(0x128)],{'timeout':this[_0x1eb196(0x128)],'reqId':_0x384c25[_0x1eb196(0x3ee)]}),this[_0x1eb196(0x43c)]=this[_0x1eb196(0x273)][_0x1eb196(0x188)](({reqId:_0x2c0362,timeout:_0x1a3f3e})=>{const _0x242616=_0x1eb196;this[_0x242616(0x3af)](_0x2c0362,_0x1a3f3e);}),this);}[_0x22ca65(0x2e9)](){const _0x2aa048=_0x22ca65;return this[_0x2aa048(0x399)](),this['_injector'][_0x2aa048(0x4e3)](Oe,this['unitID'],this[_0x2aa048(0x44d)],this['_awaitingChangeset'],this[_0x2aa048(0x344)],this[_0x2aa048(0x1c4)]);}[_0x22ca65(0x235)](){return this;}['resend'](){const _0x32e8b9=_0x22ca65;this[_0x32e8b9(0x1c4)]['onSendChangeset'](this[_0x32e8b9(0x379)]);}['_onConflict'](_0xf6912e){const _0x3a4442=_0x22ca65;return this['_clearScheduledTask'](),this['_injector'][_0x3a4442(0x4e3)](Re,this['unitID'],this[_0x3a4442(0x44d)],null,this[_0x3a4442(0x344)],this['_handler'],_0xf6912e);}['_resendWithTimeout'](_0x12b4ba,_0xd16fe){var _0xfb7d0b;_0x12b4ba===((_0xfb7d0b=this['_awaitingChangeset'])==null?void 0x0:_0xfb7d0b['reqId'])&&(this['resend'](),this['_resendTimeout']=_0xd16fe===0x0?0x3e8:_0xd16fe*0x2);}['_clearScheduledTask'](){const _0x4aa696=_0x22ca65;var _0x5f31f3;(_0x5f31f3=this['_sender'])==null||_0x5f31f3[_0x4aa696(0x441)](),this[_0x4aa696(0x128)]=0x0;}};ge=$e([A(0x6,_0x1013ae(_0x1f2d44)),A(0x7,_0x1013ae(_0x12c150)),A(0x8,_0x1013ae(q)),A(0x9,_0x11db88),A(0xa,_0x3b5747),A(0xb,_0x1a9226),A(0xc,_0x2ef4cd)],ge);let Re=class extends He{constructor(_0x18e532,_0x2ace48,_0xb2c941,_0x40e609,_0x38411d,_0x487d49=!0x1,_0x4558e8,_0x25ebd7,_0x1ed24d,_0x921e7e,_0x88b5dd,_0x1b9838,_0x50ef5a){const _0x3004aa=_0x22ca65;super(_0x18e532,_0x2ace48,_0xb2c941,_0x40e609,_0x38411d,_0x25ebd7,_0x1ed24d,_0x88b5dd,_0x921e7e),g(this,_0x3004aa(0x294),_0x3004aa(0x210)),(this[_0x3004aa(0x508)]=_0x487d49,this[_0x3004aa(0x3bf)]=_0x4558e8,this[_0x3004aa(0x47a)]=_0x1b9838,this[_0x3004aa(0x461)]=_0x50ef5a,this[_0x3004aa(0x436)](),this['_clearLocalCache'](),this[_0x3004aa(0x15a)]());}[_0x22ca65(0x15d)](){return this;}[_0x22ca65(0x3e4)](){return this;}[_0x22ca65(0x41b)](){return this;}[_0x22ca65(0x186)](){return this;}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x22ca65(0x235)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x37f566=_0x22ca65;this[_0x37f566(0x11f)][_0x37f566(0x33a)](this[_0x37f566(0x117)],this[_0x37f566(0x44d)],null,[]);}['_showConflictNotification'](){const _0x3c193b=_0x22ca65;this[_0x3c193b(0x508)]?this[_0x3c193b(0x461)]['show']({'title':this[_0x3c193b(0x47a)]['t'](_0x3c193b(0x1e7)),'content':this[_0x3c193b(0x47a)]['t'](_0x3c193b(0x2b4)),'type':_0x3c193b(0x3a6),'duration':0x0}):this['_notificationService'][_0x3c193b(0x517)]({'title':this['_localeService']['t']('conflict.title'),'content':this[_0x3c193b(0x47a)]['t'](_0x3c193b(0x24e)),'type':_0x3c193b(0x3a6),'duration':0x0});}[_0x22ca65(0x15a)](){const _0x47fbc7=_0x22ca65;this[_0x47fbc7(0x3bf)]['updatePermissionPoint'](new _0x3dc311(this[_0x47fbc7(0x117)])['id'],!0x1);}};Re=$e([A(0x6,_0x1013ae(_0x58f20b)),A(0x7,_0x11db88),A(0x8,_0x2ef4cd),A(0x9,_0x1013ae(q)),A(0xa,_0x1013ae(_0x12c150)),A(0xb,_0x1013ae(_0x199c09)),A(0xc,_0x400312)],Re);let Oe=class extends He{constructor(_0x3b4bdc,_0x53dd74,_0x545b49,_0x18629d,_0x380372,_0x531970,_0x3278c2,_0x2e7086,_0x28fd57,_0x2696a7){const _0x38152a=_0x22ca65;super(_0x3b4bdc,_0x53dd74,_0x545b49,_0x18629d,_0x380372,_0x28fd57,_0x2696a7,_0x3278c2,_0x2e7086),g(this,_0x38152a(0x294),'offline'),this['_injector']=_0x531970;}[_0x22ca65(0x15d)](_0x3fd048){const _0x18fd98=_0x22ca65;return this[_0x18fd98(0x344)]['push'](_0x3fd048),this['_updateLocalCache'](),this;}[_0x22ca65(0x3e4)](_0x496506){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x22ca65(0x41b)](){const _0x2f50ac=_0x22ca65;throw new Error(_0x2f50ac(0x4b9));}[_0x22ca65(0x186)](){const _0x188ba4=_0x22ca65;throw new Error(_0x188ba4(0x279));}[_0x22ca65(0x257)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){const _0x25b66d=_0x22ca65,{_injector:_0x508f72,_pendingMutations:_0xee5c88,_awaitingChangeset:_0x543cdb,unitID:_0x49138e,_handler:_0x43f80a,type:_0x5c396e}=this,_0x780f5e=Ai(_0x508f72,_0x49138e,_0x5c396e,_0x543cdb,_0xee5c88,_0x43f80a);return _0x780f5e instanceof pe?_0x780f5e[_0x25b66d(0x45a)]():(_0x780f5e instanceof ge||_0x780f5e instanceof Te)&&_0x780f5e[_0x25b66d(0x4ce)](),_0x780f5e;}[_0x22ca65(0x4ce)](){const _0x3c8844=_0x22ca65;throw new Error(_0x3c8844(0x425));}};Oe=$e([A(0x5,_0x1013ae(_0x1f2d44)),A(0x6,_0x1013ae(_0x12c150)),A(0x7,_0x1013ae(q)),A(0x8,_0x11db88),A(0x9,_0x2ef4cd)],Oe);let he=class extends He{constructor(_0x15be3b,_0x109ce2,_0x276122,_0x64590c,_0x1348a5,_0x5024ce,_0x1b2d93,_0x1696dd,_0x415cdc,_0x3ba3a9,_0x3b0c55,_0x2d1904,_0x31205f,_0x16793b){const _0x4c3a31=_0x22ca65;super(_0x15be3b,_0x109ce2,_0x276122,_0x64590c,_0x1b2d93,_0x2d1904,_0x31205f,_0x415cdc,_0x3ba3a9),g(this,_0x4c3a31(0x294),_0x4c3a31(0x35e)),(this[_0x4c3a31(0x37a)]=_0x1348a5,this[_0x4c3a31(0x46d)]=_0x5024ce,this[_0x4c3a31(0x47c)]=_0x1696dd,this[_0x4c3a31(0x3d5)]=_0x3b0c55,this[_0x4c3a31(0x4db)]=_0x16793b);}[_0x22ca65(0x41a)](_0x5a4f0e){const _0x4aea14=_0x22ca65;try{const _0x2599cc=[..._0x5a4f0e,...this[_0x4aea14(0x46d)]],_0x20ce89=[this[_0x4aea14(0x379)]||this[_0x4aea14(0x37a)]][_0x4aea14(0x2ac)](_0x966bd9=>!!_0x966bd9);let _0x2274d6,_0x1366a4;if(_0x20ce89[_0x4aea14(0x347)]){const _0x55d777=this[_0x4aea14(0x4db)][_0x4aea14(0x10b)](_0x2599cc,_0x20ce89,!0x1);if(!_0xb5c743(_0x55d777))throw _0x55d777[_0x4aea14(0x3a6)];_0x2274d6=_0x55d777[_0x4aea14(0x272)],_0x1366a4=_0x55d777[_0x4aea14(0x266)];}else _0x2274d6=_0x2599cc,_0x1366a4=[];let _0x3c02de=this[_0x4aea14(0x344)];_0x2274d6[_0x4aea14(0x18b)](_0x121816=>{const _0x15f87d=_0x4aea14;let _0x4f878b;if(_0x3c02de[_0x15f87d(0x347)]){const _0x5db223=this['_transformService'][_0x15f87d(0x384)](_0x121816,_0x3c02de);if(!_0x47fd9b(_0x5db223))throw _0x5db223['error'];_0x4f878b=_0x5db223['c1Prime'],_0x3c02de=_0x5db223[_0x15f87d(0x2f7)];}else _0x4f878b=_0x121816;this[_0x15f87d(0x411)](_0x4f878b);}),this[_0x4aea14(0x37a)]&&this[_0x4aea14(0x1a2)](),this['_awaitingChangeset']&&_0x1366a4['length']&&(_0x1366a4[0x0][_0x4aea14(0x470)]=this['_getCurrentRevision']());let _0x38e52e;if(this[_0x4aea14(0x379)]&&_0x3c02de[_0x4aea14(0x347)]!==0x0)_0x38e52e=this[_0x4aea14(0x47c)][_0x4aea14(0x4e3)](ge,this[_0x4aea14(0x117)],this[_0x4aea14(0x44d)],_0x1366a4[0x0],_0x3c02de,this[_0x4aea14(0x1c4)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3c02de[_0x4aea14(0x347)]===0x0)_0x1366a4[0x0]['baseRev']=this[_0x4aea14(0x4c1)](),_0x38e52e=this[_0x4aea14(0x47c)][_0x4aea14(0x4e3)](Te,this[_0x4aea14(0x117)],this[_0x4aea14(0x44d)],_0x1366a4[0x0],this['_handler']);else{if(_0x3c02de[_0x4aea14(0x347)]!==0x0){const _0x1a3197=this[_0x4aea14(0x47c)]['createInstance'](pe,this[_0x4aea14(0x117)],this['type'],_0x3c02de,this['_handler']);_0x1a3197[_0x4aea14(0x45a)](),_0x38e52e=_0x1a3197;}else _0x38e52e=this[_0x4aea14(0x47c)]['createInstance'](Fe,this[_0x4aea14(0x117)],this[_0x4aea14(0x44d)],this[_0x4aea14(0x1c4)]);}}return _0x38e52e[_0x4aea14(0x3b3)](),_0x38e52e;}catch(_0x5d4d02){return this[_0x4aea14(0x3d5)][_0x4aea14(0x3a6)](_0x4aea14(0x4da),_0x4aea14(0x381),_0x5d4d02),this['_injector'][_0x4aea14(0x4e3)](Re,this[_0x4aea14(0x117)],this[_0x4aea14(0x44d)],this[_0x4aea14(0x379)],this[_0x4aea14(0x344)],this[_0x4aea14(0x1c4)],!0x1);}}['resend'](){const _0x3c050d=_0x22ca65;throw new Error(_0x3c050d(0x3d2));}[_0x22ca65(0x15d)](_0x35429b){const _0xa88c6a=_0x22ca65;return this[_0xa88c6a(0x344)][_0xa88c6a(0x2e8)](_0x35429b),this;}[_0x22ca65(0x3e4)](_0x1c60f1){const _0x3d9e8a=_0x22ca65;return this[_0x3d9e8a(0x46d)][_0x3d9e8a(0x2e8)](_0x1c60f1),this;}[_0x22ca65(0x41b)](_0x20174d){const _0x516ce8=_0x22ca65;if(this[_0x516ce8(0x379)])return this['_acknowledgedAwaitingChangeset']=this[_0x516ce8(0x379)],this[_0x516ce8(0x379)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x5da04b){const _0x476a87=_0x22ca65;return this[_0x476a87(0x143)](!!(_0x5da04b!=null&&_0x5da04b[_0x476a87(0x3e8)]));}[_0x22ca65(0x257)](){return this;}['toggleOffline'](){const _0x24cdf2=_0x22ca65;return this['_injector'][_0x24cdf2(0x4e3)](Oe,this[_0x24cdf2(0x117)],this['type'],this['_awaitingChangeset'],this[_0x24cdf2(0x344)],this[_0x24cdf2(0x1c4)]);}[_0x22ca65(0x235)](){return this;}['_onConflict'](_0x40dc15){const _0x50e728=_0x22ca65;return this['_injector']['createInstance'](Re,this[_0x50e728(0x117)],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x50e728(0x1c4)],_0x40dc15);}};he=$e([A(0x7,_0x1013ae(_0x1f2d44)),A(0x8,_0x1013ae(_0x12c150)),A(0x9,_0x1013ae(q)),A(0xa,_0x3b5747),A(0xb,_0x11db88),A(0xc,_0x2ef4cd),A(0xd,_0x1a9226)],he);function Ai(_0xf27098,_0x48ef27,_0x443be0,_0x1ea948,_0x44c854,_0xe83ef3){const _0x275929=_0x22ca65;return _0x1ea948&&_0x44c854[_0x275929(0x347)]?_0xf27098[_0x275929(0x4e3)](ge,_0x48ef27,_0x443be0,_0x1ea948,_0x44c854,_0xe83ef3,void 0x0):_0x1ea948?_0xf27098[_0x275929(0x4e3)](Te,_0x48ef27,_0x443be0,_0x1ea948,_0xe83ef3):_0x44c854[_0x275929(0x347)]?_0xf27098['createInstance'](pe,_0x48ef27,_0x443be0,_0x44c854,_0xe83ef3):_0xf27098[_0x275929(0x4e3)](Fe,_0x48ef27,_0x443be0,_0xe83ef3);}var Io=Object['defineProperty'],Co=Object[_0x22ca65(0x4c2)],Es=(_0xe3d20,_0x312f9b,_0x4a1577,_0x5676b8)=>{const _0x32c504=_0x22ca65;for(var _0x435d8f=_0x5676b8>0x1?void 0x0:_0x5676b8?Co(_0x312f9b,_0x4a1577):_0x312f9b,_0x4f98c6=_0xe3d20[_0x32c504(0x347)]-0x1,_0x19e91c;_0x4f98c6>=0x0;_0x4f98c6--)(_0x19e91c=_0xe3d20[_0x4f98c6])&&(_0x435d8f=(_0x5676b8?_0x19e91c(_0x312f9b,_0x4a1577,_0x435d8f):_0x19e91c(_0x435d8f))||_0x435d8f);return _0x5676b8&&_0x435d8f&&Io(_0x312f9b,_0x4a1577,_0x435d8f),_0x435d8f;},H=(_0x58f88,_0x5a1d70)=>(_0x579a90,_0x1c754f)=>_0x5a1d70(_0x579a90,_0x1c754f,_0x58f88);let gt=class extends _0xbe756c{constructor(_0x2fc271,_0x2ddd9e,_0x491c15,_0x5e2a92,_0x5bf55e,_0x185011,_0x494675,_0xff87d0,_0x1cdd8a,_0x4ba421,_0x5cb128,_0x5e9ec6,_0x55efe1){const _0x2a24c1=_0x22ca65;super(),g(this,'_state$',new _0x35a34c(null)),g(this,_0x2a24c1(0x2e1),this[_0x2a24c1(0x317)][_0x2a24c1(0x40d)]()),g(this,_0x2a24c1(0x24c)),g(this,'_collaborationPaused',!0x1),g(this,_0x2a24c1(0x1df),''),g(this,_0x2a24c1(0x353),0x0),g(this,_0x2a24c1(0x51d),this[_0x2a24c1(0x2e1)][_0x2a24c1(0x3b1)](_0x112cde(_0x38bb2e=>_0x38bb2e?_0x38bb2e[_0x2a24c1(0x294)]:J[_0x2a24c1(0x427)]),_0x5d11ed(0x1))),g(this,_0x2a24c1(0x4c8),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x2a24c1(0x117)]=_0x2fc271,this[_0x2a24c1(0x181)]=_0x2ddd9e,this['_type']=_0x491c15,this[_0x2a24c1(0x47c)]=_0x5e2a92,this['_localCacheService']=_0x5bf55e,this[_0x2a24c1(0x3e3)]=_0x185011,this[_0x2a24c1(0x47a)]=_0x494675,this[_0x2a24c1(0x22f)]=_0xff87d0,this['_logService']=_0x1cdd8a,this[_0x2a24c1(0x1f1)]=_0x4ba421,this[_0x2a24c1(0x358)]=_0x5cb128,this[_0x2a24c1(0x3bf)]=_0x5e9ec6,this[_0x2a24c1(0x49c)]=_0x55efe1);}get[_0x22ca65(0x263)](){const _0x190a6a=_0x22ca65;return this[_0x190a6a(0x24c)];}async['init'](){const _0x1a0c81=_0x22ca65;if(this[_0x1a0c81(0x263)])throw new Error(_0x1a0c81(0x40b));await this[_0x1a0c81(0x1b2)]();}['pauseCollaboration'](){const _0x5ab131=_0x22ca65;return this[_0x5ab131(0x443)]=!0x0,_0x3ed3fa(()=>{const _0x20d464=_0x5ab131;this['_collaborationPaused']=!0x1,this[_0x20d464(0x3f6)]();});}[_0x22ca65(0x3f0)](_0x4345f0){const _0x73e783=_0x22ca65;this[_0x73e783(0x24c)]=_0x4345f0,this[_0x73e783(0x317)][_0x73e783(0x2cb)](_0x4345f0);}async[_0x22ca65(0x1b2)](){const _0x4d2c9b=_0x22ca65;var _0x5b3584;this[_0x4d2c9b(0x3f0)](await this[_0x4d2c9b(0x48f)]()),this[_0x4d2c9b(0x49c)]&&((_0x5b3584=this[_0x4d2c9b(0x49c)])==null||_0x5b3584['editingUnit'](this[_0x4d2c9b(0x117)]),this[_0x4d2c9b(0x44c)](this[_0x4d2c9b(0x49c)][_0x4d2c9b(0x3a3)](this[_0x4d2c9b(0x117)])['subscribe'](_0x405c68=>{const _0x159df0=_0x4d2c9b;this[_0x159df0(0x3d5)][_0x159df0(0x17c)](_0x159df0(0x270),'editing\x20status\x20changed\x20to',_0x405c68),_0x405c68===Di['OTHER_CLIENTS_EDITING']?(this[_0x159df0(0x358)][_0x159df0(0x517)]({'content':this[_0x159df0(0x47a)]['t']('collaboration.single-unit.warning'),'type':_0x16718d['Warning']}),this[_0x159df0(0x3bf)][_0x159df0(0x2cd)](new _0x3dc311(this['unitID'])['id'],!0x1),this['_permissionService'][_0x159df0(0x3a2)](!0x1)):(this[_0x159df0(0x3bf)][_0x159df0(0x2cd)](new _0x3dc311(this[_0x159df0(0x117)])['id'],!0x0),this[_0x159df0(0x3bf)][_0x159df0(0x3a2)](!0x0));})));let _0x173a71=!0x1;return this[_0x4d2c9b(0x44c)](this[_0x4d2c9b(0x181)][_0x4d2c9b(0x177)][_0x4d2c9b(0x188)](_0x68cf32=>{const _0x531d08=_0x4d2c9b;_0x68cf32===ve[_0x531d08(0x3f1)]?this[_0x531d08(0x249)](_0x173a71):_0x68cf32===ve[_0x531d08(0x427)]&&(_0x173a71=!0x0,this[_0x531d08(0x291)]());})),this[_0x4d2c9b(0x44c)](this[_0x4d2c9b(0x181)]['event$'][_0x4d2c9b(0x188)](_0x1d560c=>{const _0x3a9647=_0x4d2c9b;try{switch(_0x1d560c[_0x3a9647(0x316)]){case _0x2d656f[_0x3a9647(0x2a4)]:{this[_0x3a9647(0x3e2)](_0x43553b(_0x1d560c[_0x3a9647(0x36b)]));break;}case _0x2d656f[_0x3a9647(0x18a)]:{this['_onRemoteACK'](_0x1d560c[_0x3a9647(0x36b)]);break;}case _0x2d656f[_0x3a9647(0x497)]:{this[_0x3a9647(0x4fb)]();break;}case _0x2d656f[_0x3a9647(0x2e0)]:{this[_0x3a9647(0x120)](_0x1d560c[_0x3a9647(0x36b)]);break;}case _0x2d656f[_0x3a9647(0x439)]:{this[_0x3a9647(0x30a)](_0x1d560c['data'][_0x3a9647(0x14e)]['map'](_0x4ceb59=>_0x43553b(_0x4ceb59)));break;}case _0x2d656f[_0x3a9647(0x36a)]:this[_0x3a9647(0x4fb)]({'isPermissionRej':!0x0});}}catch(_0x55ba5a){throw console[_0x3a9647(0x3a6)](_0x3a9647(0x274),_0x55ba5a),_0x55ba5a;}})),this[_0x4d2c9b(0x24c)];}[_0x22ca65(0x1ad)](){const _0x26ecd1=_0x22ca65;this[_0x26ecd1(0x4c8)]=!0x1;}[_0x22ca65(0x3dc)](){const _0x2d7d7f=_0x22ca65;if(this[_0x2d7d7f(0x4c8)])throw new Error(_0x2d7d7f(0x2fa));this['_transitionLocked']=!0x0;}[_0x22ca65(0x41f)](_0x42fef5){const _0x2b8a42=_0x22ca65;this['_lockTransition'](),this[_0x2b8a42(0x3f0)](this[_0x2b8a42(0x24c)]['appendMutation'](_0x42fef5)),this[_0x2b8a42(0x1ad)]();}['_onRemoteChangeset'](_0x317e7a){const _0x39e29f=_0x22ca65;if(!(_0x317e7a['revision']<=this[_0x39e29f(0x22f)][_0x39e29f(0x451)](this[_0x39e29f(0x117)]))){if(this[_0x39e29f(0x443)]){this['_remoteChangesetQueue'][_0x39e29f(0x2e8)](_0x317e7a);return;}this[_0x39e29f(0x4a1)](_0x317e7a);}}['_exhaustRemoteChangesetQueue'](){const _0x4ac99f=_0x22ca65;this[_0x4ac99f(0x133)][_0x4ac99f(0x18b)](_0x534442=>this['_applyRemoteChangeset'](_0x534442)),this[_0x4ac99f(0x133)]=[];}[_0x22ca65(0x4a1)](_0x36d9c7){const _0x5d1d2c=_0x22ca65,_0x335051=this[_0x5d1d2c(0x3e3)][_0x5d1d2c(0x33d)]['fetchThroughInterceptors'](this[_0x5d1d2c(0x3e3)][_0x5d1d2c(0x33d)]['getInterceptPoints']()[_0x5d1d2c(0x2ed)])(_0x36d9c7[_0x5d1d2c(0x2df)],null)||_0x36d9c7['mutations'],_0x316d0b={..._0x36d9c7,'mutations':_0x335051};this[_0x5d1d2c(0x3dc)](),this[_0x5d1d2c(0x3f0)](this['_state'][_0x5d1d2c(0x3e4)](_0x316d0b)),this[_0x5d1d2c(0x1ad)]();}[_0x22ca65(0x26f)](_0x12a79e){const _0x2aa5e2=_0x22ca65;this[_0x2aa5e2(0x3dc)](),this[_0x2aa5e2(0x3f0)](this[_0x2aa5e2(0x24c)][_0x2aa5e2(0x41b)](_0x12a79e)),this['_unlockTransition']();}[_0x22ca65(0x4fb)](_0x48fe44){const _0xc0d138=_0x22ca65;this[_0xc0d138(0x3dc)](),this['_updateState'](this[_0xc0d138(0x24c)][_0xc0d138(0x186)](_0x48fe44)),this[_0xc0d138(0x1ad)]();}[_0x22ca65(0x120)](_0x214572){const _0x867f08=_0x22ca65;this[_0x867f08(0x3dc)](),this[_0x867f08(0x3f0)](this[_0x867f08(0x24c)][_0x867f08(0x257)](_0x214572)),this[_0x867f08(0x1ad)]();}[_0x22ca65(0x30a)](_0x382a19){const _0xf7017b=_0x22ca65;if(!(this[_0xf7017b(0x24c)]instanceof he))throw new TypeError(_0xf7017b(0x2ef));const _0x11b528=_0x382a19['map'](_0x3e61aa=>{const _0x97fc46=_0xf7017b,_0x1c1b80=this[_0x97fc46(0x3e3)]['interceptor'][_0x97fc46(0x28b)](this[_0x97fc46(0x3e3)]['interceptor'][_0x97fc46(0x276)]()[_0x97fc46(0x2ed)])(_0x3e61aa[_0x97fc46(0x2df)],null)||_0x3e61aa[_0x97fc46(0x2df)];return{..._0x3e61aa,'mutations':_0x1c1b80};});this[_0xf7017b(0x3dc)](),this[_0xf7017b(0x3f0)](this[_0xf7017b(0x24c)][_0xf7017b(0x41a)](_0x11b528)),this[_0xf7017b(0x1ad)]();}['_toggleOffline'](){const _0x5a0d71=_0x22ca65;this[_0x5a0d71(0x3dc)](),this[_0x5a0d71(0x3f0)](this['_state'][_0x5a0d71(0x2e9)]()),this[_0x5a0d71(0x1ad)]();}[_0x22ca65(0x249)](_0x180f7c=!0x1){const _0x64027f=_0x22ca65;this['_lockTransition'](),this[_0x64027f(0x3f0)](this[_0x64027f(0x24c)][_0x64027f(0x235)]()),this[_0x64027f(0x1ad)]();const _0x5d66ff=this['_state'];_0x180f7c&&_0x5d66ff instanceof Fe&&(this[_0x64027f(0x3dc)](),this[_0x64027f(0x3f0)](_0x5d66ff[_0x64027f(0x244)]()),this[_0x64027f(0x1ad)]());}async[_0x22ca65(0x48f)](){return new Promise(_0x2da38f=>{const _0x3b3a3a=_0x5acb;this['session'][_0x3b3a3a(0x177)][_0x3b3a3a(0x3b1)](_0x260a31(0x1))['subscribe'](async _0x5180fa=>{const _0x5eaae1=_0x3b3a3a;_0x2da38f(await this[_0x5eaae1(0x2b2)](_0x5180fa===ve['ONLINE']));});});}[_0x22ca65(0x13a)](){const _0x4bc8f9=this['unitID'];return{'onStateChange':(_0x5cf8ef,_0x5c17a8)=>{const _0x2239bf=_0x5acb;if(_0x5cf8ef!==this[_0x2239bf(0x24c)])throw new Error(_0x2239bf(0x140)+_0x5cf8ef[_0x2239bf(0x294)]+'\x0aAfter:\x20'+_0x5c17a8['status']+_0x2239bf(0x1ed)+this[_0x2239bf(0x24c)]['status']);this[_0x2239bf(0x3f0)](_0x5c17a8);},'onSendChangeset':_0xdded22=>{const _0x5651b9=_0x5acb;_0xdded22['sid']||(_0xdded22['sid']=this[_0x5651b9(0x1df)],_0xdded22[_0x5651b9(0x3ee)]=++this['_changesetReqId']);const _0x5a5d7a={'eventID':_0x2d656f[_0x5651b9(0x4aa)],'data':{'unitID':_0xdded22[_0x5651b9(0x117)],'unitType':this[_0x5651b9(0x29a)],'changeset':_0xdded22,'memberID':this[_0x5651b9(0x181)][_0x5651b9(0x426)]()}};this[_0x5651b9(0x181)][_0x5651b9(0x30f)](_0x5a5d7a,this[_0x5651b9(0x117)]);},'onMissingChangesets':({from:_0x37079f,to:_0x5ea43e})=>{const _0x5bfd26=_0x5acb;this['_logService'][_0x5bfd26(0x17c)](_0x5bfd26(0x270),_0x5bfd26(0x1c8)+_0x37079f+_0x5bfd26(0x194)+_0x5ea43e);const _0x2324db={'eventID':_0x2d656f[_0x5bfd26(0x1da)],'data':{'unitID':_0x4bc8f9,'unitType':this[_0x5bfd26(0x29a)],'from':_0x37079f,'to':_0x5ea43e}};this['session'][_0x5bfd26(0x30f)](_0x2324db,this[_0x5bfd26(0x117)]);}};}async['_createInitialStateImpl'](_0x3d16f1){const _0x731b6a=_0x22ca65;var _0xbe6fc3,_0x4a8e97;const _0x1fb26e=await this['_localCacheService'][_0x731b6a(0x365)](this[_0x731b6a(0x117)]),_0x338436=(_0xbe6fc3=_0x1fb26e==null?void 0x0:_0x1fb26e[_0x731b6a(0x2df)])!=null?_0xbe6fc3:[],_0x5b4917=(_0x4a8e97=_0x1fb26e==null?void 0x0:_0x1fb26e[_0x731b6a(0x237)])!=null?_0x4a8e97:null,_0x18e8b9=!!(_0x5b4917!=null&&_0x5b4917[_0x731b6a(0x2a9)])&&!!(_0x5b4917!=null&&_0x5b4917[_0x731b6a(0x3ee)]);this[_0x731b6a(0x1df)]=_0x18e8b9?_0x5b4917[_0x731b6a(0x2a9)]:qr(),this[_0x731b6a(0x353)]=_0x18e8b9?_0x5b4917[_0x731b6a(0x3ee)]:0x0;const _0x467d1c=this[_0x731b6a(0x117)];try{this[_0x731b6a(0x394)](_0x5b4917,_0x338436);}catch(_0x2ad5de){this['_logService'][_0x731b6a(0x3a6)](_0x2ad5de);}const _0xaf703d=this['_createHandler']();if(_0x3d16f1){const _0x433641=Ai(this['_injector'],_0x467d1c,this['_type'],_0x5b4917,_0x338436,_0xaf703d);return _0x433641 instanceof pe?_0x433641[_0x731b6a(0x45a)]():(_0x433641 instanceof ge||_0x433641 instanceof Te)&&_0x433641[_0x731b6a(0x4ce)](),_0x433641;}return this[_0x731b6a(0x47c)][_0x731b6a(0x4e3)](Oe,_0x467d1c,this[_0x731b6a(0x29a)],_0x5b4917,_0x338436,_0xaf703d);}[_0x22ca65(0x394)](_0x19eae7,_0x30ad1d){const _0x1bd989=_0x22ca65;var _0x234ade,_0x4708ae;const _0x27c372=this['_compressMutationService'][_0x1bd989(0x33d)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x1bd989(0x33d)][_0x1bd989(0x276)]()[_0x1bd989(0x2ed)]);(_0x234ade=_0x27c372((_0x19eae7==null?void 0x0:_0x19eae7[_0x1bd989(0x2df)])||[],null))==null||_0x234ade[_0x1bd989(0x18b)](_0x44ab5c=>this['_commandService'][_0x1bd989(0x20f)](_0x44ab5c['id'],_0x44ab5c['params'])),(_0x4708ae=_0x27c372(_0x30ad1d||[],null))==null||_0x4708ae[_0x1bd989(0x18b)](_0x1a7124=>this[_0x1bd989(0x1f1)][_0x1bd989(0x20f)](_0x1a7124['id'],_0x1a7124[_0x1bd989(0x43d)]));}};gt=Es([H(0x3,_0x1013ae(_0x1f2d44)),H(0x4,_0x1013ae(q)),H(0x5,_0x1013ae(_0x10bbad)),H(0x6,_0x1013ae(_0x199c09)),H(0x7,_0x1013ae(_0x12c150)),H(0x8,_0x3b5747),H(0x9,_0x11db88),H(0xa,_0x37ddb9),H(0xb,_0x58f20b),H(0xc,_0x3611e0(Rt))],gt);let ss=class extends gt{constructor(_0xc63851,_0x552294,_0x331870,_0x674149,_0x594ee6,_0xdad7aa,_0x29f3d4,_0x39f493,_0x3fd0f8,_0x540105,_0x3c0e54,_0x2a0b7e,_0x3f131b,_0x234133,_0x3b6833,_0x3d62bc,_0x592ce4,_0xa6376f){const _0xed7e52=_0x22ca65;super(_0xc63851,_0x331870,_0x552294,_0x674149,_0x594ee6,_0xdad7aa,_0x29f3d4,_0x39f493,_0x234133,_0x3b6833,_0x3d62bc,_0x592ce4,_0xa6376f),this['unitID']=_0xc63851,this[_0xed7e52(0x44d)]=_0x552294,this['_docStateChangeManagerService']=_0x3fd0f8,this[_0xed7e52(0x27a)]=_0x540105,this[_0xed7e52(0x3a7)]=_0x3c0e54,this['_docTransformSelectionsService']=_0x2a0b7e,this[_0xed7e52(0x400)]=_0x3f131b;}['_createHandler'](){const _0x1e19ea=_0x22ca65,_0x10a68=super[_0x1e19ea(0x13a)]();return _0x10a68['onTransformIME']=_0x5c76f1=>this[_0x1e19ea(0x27a)]['transformIMECache'](_0x5c76f1),_0x10a68[_0x1e19ea(0x496)]=_0x5856ba=>this[_0x1e19ea(0x3a7)][_0x1e19ea(0x350)](_0x5856ba),_0x10a68[_0x1e19ea(0x2d6)]=_0x4257bf=>this[_0x1e19ea(0x4eb)]['transformSelections'](_0x4257bf),_0x10a68[_0x1e19ea(0x447)]=_0x41e335=>this[_0x1e19ea(0x400)][_0x1e19ea(0x23f)](_0x41e335),_0x10a68[_0x1e19ea(0x296)]=_0x3ef2f6=>this[_0x1e19ea(0x27a)][_0x1e19ea(0x20c)](_0x3ef2f6),_0x10a68['onTransformRemoteChangesetByStateCache']=_0x1be8a5=>this[_0x1e19ea(0x3a7)][_0x1e19ea(0x20c)](_0x1be8a5),_0x10a68;}async[_0x22ca65(0x1b2)](){const _0x485b7f=_0x22ca65,_0x277765=await super[_0x485b7f(0x1b2)]();return this[_0x485b7f(0x2aa)][_0x485b7f(0x164)][_0x485b7f(0x3b1)](_0xd6bf95(this[_0x485b7f(0x445)]))[_0x485b7f(0x188)](_0x2c86fb=>{const _0x1907a8=_0x485b7f;if(_0x2c86fb==null)return;const {unitId:_0xf466ab,redoState:_0x5c0ac5,commandId:_0x5539c2}=_0x2c86fb;if(_0xf466ab!==this['unitID'])return;const _0x103f28={'id':_0x5539c2,'type':_0x32952f[_0x1907a8(0x1b4)],'params':{'unitId':_0xf466ab,'actions':_0x5c0ac5[_0x1907a8(0x1ea)],'textRanges':null}};this[_0x1907a8(0x41f)](_0x103f28);}),_0x277765;}};ss=Es([H(0x3,_0x1013ae(_0x1f2d44)),H(0x4,_0x1013ae(q)),H(0x5,_0x1013ae(_0x10bbad)),H(0x6,_0x1013ae(_0x199c09)),H(0x7,_0x1013ae(_0x12c150)),H(0x8,_0x1013ae(_0x58eb9f)),H(0x9,_0x1013ae(ft)),H(0xa,_0x1013ae(mt)),H(0xb,_0x1013ae(pt)),H(0xc,_0x1013ae(Cs)),H(0xd,_0x3b5747),H(0xe,_0x11db88),H(0xf,_0x37ddb9),H(0x10,_0x58f20b),H(0x11,_0x3611e0(Rt))],ss);let is=class extends gt{constructor(_0x443e27,_0x415ef4,_0x2b2041,_0x5ee190,_0x399b22,_0x5b321e,_0x1146f8,_0x6b4cbb,_0x595ed5,_0x2d2e00,_0x4e6484,_0x344cde,_0x5871b1,_0x1e2b9d){const _0x59c2c1=_0x22ca65;super(_0x443e27,_0x2b2041,_0x415ef4,_0x5ee190,_0x399b22,_0x5b321e,_0x1146f8,_0x6b4cbb,_0x2d2e00,_0x4e6484,_0x344cde,_0x5871b1,_0x1e2b9d),this[_0x59c2c1(0x117)]=_0x443e27,this[_0x59c2c1(0x44d)]=_0x415ef4,this[_0x59c2c1(0x1af)]=_0x595ed5;}['_createHandler'](){const _0x82c4fd=_0x22ca65,_0xa87052=super[_0x82c4fd(0x13a)]();return _0xa87052['onTransformSelections']=_0x47b494=>this[_0x82c4fd(0x1af)]['transformSelections'](_0x47b494),_0xa87052;}async[_0x22ca65(0x1b2)](){const _0x2a133b=_0x22ca65,_0x194c65=await super['_init']();return this['disposeWithMe'](this[_0x2a133b(0x1f1)][_0x2a133b(0x201)]((_0x2d3654,_0x4cfb79)=>{const _0x27e36a=_0x2a133b;if(_0x2d3654['type']!==_0x32952f[_0x27e36a(0x1b4)]||_0x4cfb79!=null&&_0x4cfb79['fromCollab']||_0x4cfb79!=null&&_0x4cfb79[_0x27e36a(0x2ec)])return;const _0xeaafb3=_0x2d3654[_0x27e36a(0x43d)];if((_0xeaafb3==null?void 0x0:_0xeaafb3[_0x27e36a(0x247)])!==this['unitID'])return;const _0x321cd0=_0x2d3654,_0x399861=this[_0x27e36a(0x3e3)][_0x27e36a(0x33d)]['fetchThroughInterceptors'](this[_0x27e36a(0x3e3)][_0x27e36a(0x33d)][_0x27e36a(0x276)]()[_0x27e36a(0x214)])([_0x321cd0],null)||[_0x321cd0];this[_0x27e36a(0x41f)](_0x399861[0x0]);})),_0x194c65;}};is=Es([H(0x3,_0x1013ae(_0x1f2d44)),H(0x4,_0x1013ae(q)),H(0x5,_0x1013ae(_0x10bbad)),H(0x6,_0x1013ae(_0x199c09)),H(0x7,_0x1013ae(_0x12c150)),H(0x8,_0x1013ae(vt)),H(0x9,_0x3b5747),H(0xa,_0x11db88),H(0xb,_0x37ddb9),H(0xc,_0x58f20b),H(0xd,_0x3611e0(Rt))],is);var Eo=Object[_0x22ca65(0x1ac)],bo=Object[_0x22ca65(0x4c2)],To=(_0x2255db,_0x36f7dd,_0x243277,_0x1b802c)=>{const _0x306c34=_0x22ca65;for(var _0x4b855e=_0x1b802c>0x1?void 0x0:_0x1b802c?bo(_0x36f7dd,_0x243277):_0x36f7dd,_0x2b976d=_0x2255db[_0x306c34(0x347)]-0x1,_0x297b0a;_0x2b976d>=0x0;_0x2b976d--)(_0x297b0a=_0x2255db[_0x2b976d])&&(_0x4b855e=(_0x1b802c?_0x297b0a(_0x36f7dd,_0x243277,_0x4b855e):_0x297b0a(_0x4b855e))||_0x4b855e);return _0x1b802c&&_0x4b855e&&Eo(_0x36f7dd,_0x243277,_0x4b855e),_0x4b855e;},Lt=(_0x21b10e,_0x4c0e6c)=>(_0x3c8bd6,_0x5385a2)=>_0x4c0e6c(_0x3c8bd6,_0x5385a2,_0x21b10e);let it=class extends _0xbe756c{constructor(_0x12c16b,_0x26fc77,_0x515154){const _0x425376=_0x22ca65;super(),g(this,'_entities',new Map()),g(this,_0x425376(0x523),new _0x19647f()),(this[_0x425376(0x47c)]=_0x12c16b,this[_0x425376(0x329)]=_0x26fc77,this['_univerInstanceService']=_0x515154,this['_init']());}[_0x22ca65(0x287)](){const _0x1cbeff=_0x22ca65;super['dispose'](),this[_0x1cbeff(0x42a)][_0x1cbeff(0x18b)](_0x5e3bf2=>_0x5e3bf2[_0x1cbeff(0x287)]()),this['_entities'][_0x1cbeff(0x28f)]();}[_0x22ca65(0x3a8)](_0x4636ec){const _0x225f75=_0x22ca65;var _0x36dbc7;return(_0x36dbc7=this['_entities'][_0x225f75(0x327)](_0x4636ec))!=null?_0x36dbc7:null;}[_0x22ca65(0x165)](_0x45e0b8){const _0x10152e=_0x22ca65,_0xa90446=this[_0x10152e(0x3a8)](_0x45e0b8);return _0xa90446?_0x4f7194(_0xa90446):this['_entityInit$'][_0x10152e(0x3b1)](_0x382fe5(_0x1d6a7b=>_0x1d6a7b['unitID']===_0x45e0b8));}[_0x22ca65(0x1b2)](){const _0x4fa0c5=_0x22ca65;this[_0x4fa0c5(0x4c7)]['getTypeOfUnitAdded$'](_0x297986[_0x4fa0c5(0x1f5)])[_0x4fa0c5(0x3b1)](_0xd6bf95(this[_0x4fa0c5(0x445)]),_0x33d741(0x10))[_0x4fa0c5(0x188)](async _0x30cef8=>{const _0x546273=_0x4fa0c5,_0x536cbe=_0x30cef8[_0x546273(0x43f)](),_0x22bf88=await this[_0x546273(0x34e)](_0x536cbe,ce[_0x546273(0x1f5)]);this[_0x546273(0x42a)][_0x546273(0x166)](_0x536cbe,_0x22bf88);}),this[_0x4fa0c5(0x4c7)][_0x4fa0c5(0x322)](_0x297986['UNIVER_DOC'])['pipe'](_0xd6bf95(this[_0x4fa0c5(0x445)]),_0x33d741(0x10))[_0x4fa0c5(0x3b1)](_0x382fe5(_0x25b1b0=>!_0x25b1b0[_0x4fa0c5(0x43f)]()['startsWith']('__')))[_0x4fa0c5(0x188)](async _0x5abe5e=>{const _0x104006=_0x4fa0c5,_0x1ba8ce=_0x5abe5e[_0x104006(0x43f)](),_0x539417=await this['_startCollaboration'](_0x1ba8ce,ce[_0x104006(0x462)]);this[_0x104006(0x42a)][_0x104006(0x166)](_0x1ba8ce,_0x539417);}),_0xc64e83(this['_univerInstanceService'][_0x4fa0c5(0x24d)](_0x297986['UNIVER_SHEET']),this[_0x4fa0c5(0x4c7)][_0x4fa0c5(0x24d)](_0x297986[_0x4fa0c5(0x462)]))['pipe'](_0xd6bf95(this[_0x4fa0c5(0x445)]))['subscribe'](_0x57a380=>{const _0x227b6a=_0x4fa0c5,_0x6ae863=_0x57a380[_0x227b6a(0x43f)](),_0x40a6cc=this[_0x227b6a(0x42a)][_0x227b6a(0x327)](_0x6ae863);_0x40a6cc&&(_0x40a6cc[_0x227b6a(0x287)](),this[_0x227b6a(0x42a)][_0x227b6a(0x2c9)](_0x6ae863));});}async[_0x22ca65(0x34e)](_0x320e11,_0x57f015){const _0x4bd10a=_0x22ca65,_0x15e84b=await this[_0x4bd10a(0x329)][_0x4bd10a(0x18d)](_0x320e11),_0x542300=this[_0x4bd10a(0x47c)][_0x4bd10a(0x4e3)](this['_getCtorByUniverType'](_0x57f015),_0x320e11,_0x57f015,_0x15e84b);return await _0x542300[_0x4bd10a(0x36e)](),this[_0x4bd10a(0x523)][_0x4bd10a(0x2cb)](_0x542300),_0x542300;}[_0x22ca65(0x127)](_0x3a21cc){const _0x393693=_0x22ca65;switch(_0x3a21cc){case ce['UNIVER_DOC']:return ss;case ce[_0x393693(0x1f5)]:return is;default:throw new Error(_0x393693(0x3b2)+_0x3a21cc);}}};it=To([Lt(0x0,_0x1013ae(_0x1f2d44)),Lt(0x1,_0x1013ae(xe)),Lt(0x2,_0x331bf2)],it);const Gs=[_0x22ca65(0x47d),_0x22ca65(0x2a2),_0x22ca65(0x477),'red300','blue400','gold400'];class bs extends _0xad8dab{constructor(){const _0xbcc55c=_0x22ca65;super(...arguments),g(this,_0xbcc55c(0x173),new Map()),g(this,_0xbcc55c(0x424),0x0);}[_0x22ca65(0x292)](_0x51f165){const _0x2a3ddd=_0x22ca65;if(this[_0x2a3ddd(0x173)]['has'](_0x51f165))return this[_0x2a3ddd(0x173)]['get'](_0x51f165);const _0x36013c=Gs[this[_0x2a3ddd(0x424)]];return this['_colorIndex']=(this[_0x2a3ddd(0x424)]+0x1)%Gs[_0x2a3ddd(0x347)],this[_0x2a3ddd(0x173)][_0x2a3ddd(0x166)](_0x51f165,_0x36013c),_0x36013c;}}var Ro=Object['defineProperty'],Oo=Object[_0x22ca65(0x4c2)],yo=(_0x14b336,_0x4cf02f,_0x51046a,_0x576c3a)=>{const _0x455063=_0x22ca65;for(var _0x52b563=_0x576c3a>0x1?void 0x0:_0x576c3a?Oo(_0x4cf02f,_0x51046a):_0x4cf02f,_0x4a4d13=_0x14b336[_0x455063(0x347)]-0x1,_0x25d32f;_0x4a4d13>=0x0;_0x4a4d13--)(_0x25d32f=_0x14b336[_0x4a4d13])&&(_0x52b563=(_0x576c3a?_0x25d32f(_0x4cf02f,_0x51046a,_0x52b563):_0x25d32f(_0x52b563))||_0x52b563);return _0x576c3a&&_0x52b563&&Ro(_0x4cf02f,_0x51046a,_0x52b563),_0x52b563;},De=(_0x24bb22,_0x4982de)=>(_0x44c028,_0x1158bd)=>_0x4982de(_0x44c028,_0x1158bd,_0x24bb22);const wo=0x12c,Do=0x64;let ns=class extends _0xbe756c{constructor(_0x3d77b5,_0x523b3d,_0x388b43,_0x56512f,_0x3b1646,_0x4ad4d2,_0x591c38,_0x32d6af,_0x41db93){const _0x114f67=_0x22ca65;super(),g(this,'_online',!0x1),g(this,_0x114f67(0x1b2),!0x1),g(this,_0x114f67(0x11c),new _0x35a34c(new Map())),g(this,'cursorInfo$',this[_0x114f67(0x11c)][_0x114f67(0x40d)]()),g(this,_0x114f67(0x334),new _0x35a34c([])),g(this,_0x114f67(0x315),this[_0x114f67(0x334)][_0x114f67(0x3b1)](_0x7dde20(wo))),g(this,_0x114f67(0x17e),_0x22c102(_0x1424b5=>{const _0x503feb=_0x114f67,_0x38a4e3={'eventID':_0x2d656f[_0x503feb(0x4ed)],'data':{'unitID':this[_0x503feb(0x117)],'memberID':this[_0x503feb(0x1b8)][_0x503feb(0x426)](),'selection':Pi(_0x1424b5)}};this[_0x503feb(0x1b8)][_0x503feb(0x30f)](_0x38a4e3,this[_0x503feb(0x117)]);},Do)),(this[_0x114f67(0x117)]=_0x3d77b5,this[_0x114f67(0x1b8)]=_0x523b3d,this[_0x114f67(0x47c)]=_0x388b43,this[_0x114f67(0x23a)]=_0x56512f,this['_memberService']=_0x3b1646,this[_0x114f67(0x454)]=_0x4ad4d2,this[_0x114f67(0x4db)]=_0x591c38,this[_0x114f67(0x4c7)]=_0x32d6af,this[_0x114f67(0x1f1)]=_0x41db93);}get[_0x22ca65(0x25d)](){const _0x5ba7e8=_0x22ca65;return this[_0x5ba7e8(0x11c)]['getValue']();}get[_0x22ca65(0x16a)](){const _0x130a68=_0x22ca65;return this[_0x130a68(0x334)][_0x130a68(0x109)]();}[_0x22ca65(0x287)](){const _0x40f436=_0x22ca65;super[_0x40f436(0x287)](),this[_0x40f436(0x11c)]['next'](new Map()),this[_0x40f436(0x11c)][_0x40f436(0x4a9)](),this[_0x40f436(0x334)][_0x40f436(0x2cb)]([]),this[_0x40f436(0x334)][_0x40f436(0x4a9)]();}[_0x22ca65(0x36e)](){const _0x49bafd=_0x22ca65;this[_0x49bafd(0x1b2)]||(this[_0x49bafd(0x1b2)]=!0x0,this[_0x49bafd(0x1b8)]['sessionStatus$']['pipe'](_0xd6bf95(this[_0x49bafd(0x445)]))['subscribe'](_0x37d0c4=>{const _0x5da812=_0x49bafd;_0x37d0c4===ve[_0x5da812(0x3f1)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x49bafd(0x1b8)][_0x49bafd(0x3fb)][_0x49bafd(0x3b1)](_0xd6bf95(this[_0x49bafd(0x445)]))[_0x49bafd(0x188)](_0x1f9370=>{const _0x57b4e7=_0x49bafd,_0xc7be6e=_0x1f9370[_0x57b4e7(0x316)];_0xc7be6e===_0x2d656f[_0x57b4e7(0x4ed)]&&this[_0x57b4e7(0x20d)](_0x1f9370),_0xc7be6e===_0x2d656f['USERS_LEAVE']&&this[_0x57b4e7(0x457)](_0x1f9370);}),this[_0x49bafd(0x44c)](this[_0x49bafd(0x1f1)][_0x49bafd(0x201)](_0x3e4f9f=>{const _0x5448bf=_0x49bafd,_0x3c652a=_0x3e4f9f[_0x5448bf(0x43d)];_0x3c652a!=null&&this[_0x5448bf(0x4d1)]&&_0x3e4f9f['id']===_0x5be1c7['id']&&_0x3c652a[_0x5448bf(0x247)]===this['unitID']&&_0x3c652a[_0x5448bf(0x178)]===!0x1&&_0x3c652a[_0x5448bf(0x404)][_0x5448bf(0x347)]>0x0&&this[_0x5448bf(0x17e)](_0x3c652a[_0x5448bf(0x404)]);})),this['_syncEditingCollabCursorService'][_0x49bafd(0x221)][_0x49bafd(0x3b1)](_0xd6bf95(this[_0x49bafd(0x445)]))['subscribe'](_0x1ebeac=>{const _0x146f93=_0x49bafd;if((_0x1ebeac==null?void 0x0:_0x1ebeac['unitID'])!==this['unitID'])return;const _0x2f46f2={'eventID':_0x2d656f[_0x146f93(0x4ed)],'data':_0x1ebeac};this[_0x146f93(0x20d)](_0x2f46f2);}),this[_0x49bafd(0x44c)](this[_0x49bafd(0x1f1)]['onCommandExecuted'](_0x205eff=>{const _0x253864=_0x49bafd;if(_0x205eff[_0x253864(0x43d)]==null)return;const _0x362242=_0x205eff[_0x253864(0x43d)];if(_0x205eff['id']!==_0x3fb99f['id']||_0x362242[_0x253864(0x247)]!==this['unitID'])return;const _0x496f79={'id':_0x253864(0x2b8),'params':_0x362242},_0x588cdf=this[_0x253864(0x25d)];for(const [_0x5d6461,_0x48ed84]of _0x588cdf){const _0x414a7e={'id':_0x253864(0x2b8),'params':{'unitId':this[_0x253864(0x117)],'actions':null,'textRanges':_0x48ed84[_0x253864(0x404)]}},_0x1d0ad9=this[_0x253864(0x4db)]['transformMutation'](_0x496f79,_0x414a7e,!0x1);if(_0x25153f(_0x1d0ad9))throw _0x1d0ad9[_0x253864(0x3a6)];_0x588cdf[_0x253864(0x166)](_0x5d6461,{..._0x48ed84,'ranges':_0x1d0ad9[_0x253864(0x2f7)]['params'][_0x253864(0x513)]});}queueMicrotask(()=>{const _0x243ed2=_0x253864;this[_0x243ed2(0x11c)][_0x243ed2(0x2cb)](_0x588cdf);});})));}['_onCursorUpdate'](_0x2a147f){const _0x32575=_0x22ca65;var _0x5ced63,_0x369b46;const {memberID:_0x5864d2,selection:_0x8f5e8b}=_0x2a147f['data'],_0x392691=lo(_0x8f5e8b),_0x148eff=(_0x369b46=(_0x5ced63=this[_0x32575(0x409)][_0x32575(0x331)](this[_0x32575(0x117)],_0x5864d2))==null?void 0x0:_0x5ced63[_0x32575(0x255)])!=null?_0x369b46:_0x32575(0x4fc),_0x45d935={'color':this[_0x32575(0x23a)][_0x32575(0x292)](_0x5864d2),'name':_0x148eff,'ranges':_0x392691},_0x117bc5=this[_0x32575(0x25d)];_0x117bc5['set'](_0x5864d2,_0x45d935),this[_0x32575(0x11c)][_0x32575(0x2cb)](_0x117bc5);}[_0x22ca65(0x457)](_0x54b7f0){const _0x24bf80=_0x22ca65,{memberID:_0x236487}=_0x54b7f0[_0x24bf80(0x36b)],_0x18bd6f=this[_0x24bf80(0x25d)];_0x18bd6f['delete'](_0x236487),this[_0x24bf80(0x11c)]['next'](_0x18bd6f);}['_toggleOnline'](){const _0x39a705=_0x22ca65;var _0x1b264c;if(this[_0x39a705(0x4d1)]=!0x0,((_0x1b264c=this[_0x39a705(0x4c7)]['getFocusedUnit']())==null?void 0x0:_0x1b264c[_0x39a705(0x43f)]())!==this['unitID'])return;const _0x31f152=this['_injector'][_0x39a705(0x327)](_0x5640b6)[_0x39a705(0x1c5)]();Array['isArray'](_0x31f152)&&_0x31f152[_0x39a705(0x347)]>0x0&&this[_0x39a705(0x17e)](_0x31f152);}['_toggleOffline'](){const _0x426819=_0x22ca65;this[_0x426819(0x4d1)]=!0x1;}};ns=yo([De(0x2,_0x1013ae(_0x1f2d44)),De(0x3,_0x1013ae(bs)),De(0x4,_0x1013ae(Me)),De(0x5,_0x1013ae(Cs)),De(0x6,_0x1a9226),De(0x7,_0x331bf2),De(0x8,_0x11db88)],ns);var Po=Object[_0x22ca65(0x1ac)],Uo=Object['getOwnPropertyDescriptor'],No=(_0x1aa97d,_0x81c8b3,_0x6255e7,_0x508764)=>{for(var _0x2a1235=_0x508764>0x1?void 0x0:_0x508764?Uo(_0x81c8b3,_0x6255e7):_0x81c8b3,_0x4a6892=_0x1aa97d['length']-0x1,_0xb75b69;_0x4a6892>=0x0;_0x4a6892--)(_0xb75b69=_0x1aa97d[_0x4a6892])&&(_0x2a1235=(_0x508764?_0xb75b69(_0x81c8b3,_0x6255e7,_0x2a1235):_0xb75b69(_0x2a1235))||_0x2a1235);return _0x508764&&_0x2a1235&&Po(_0x81c8b3,_0x6255e7,_0x2a1235),_0x2a1235;},Be=(_0x170785,_0x103ec3)=>(_0x3e1c52,_0x1be29f)=>_0x103ec3(_0x3e1c52,_0x1be29f,_0x170785);const Ao=0x12c,Mo=0x64,xo=()=>{let _0x3aaf93=[],_0xab3613=!0x1;return _0x315bf6=>{const _0x2970fd=_0x5acb;_0x3aaf93[_0x2970fd(0x2e8)](_0x315bf6),_0xab3613||(_0xab3613=!0x0,setTimeout(()=>{const _0x3c074d=_0x2970fd;_0x3aaf93[_0x3c074d(0x18b)](_0x59f2e4=>_0x59f2e4()),_0x3aaf93=[],_0xab3613=!0x1;}));};};let rs=class extends _0xbe756c{constructor(_0x3cb0c5,_0x57f192,_0x5ebcac,_0x2801a5,_0x38b525,_0x243142,_0x2aa2c4,_0x2c903b){const _0x578cab=_0x22ca65;super(),g(this,'_online',!0x1),g(this,_0x578cab(0x1b2),!0x1),g(this,_0x578cab(0x11c),new _0x35a34c(new Map())),g(this,_0x578cab(0x11e),this['_cursorInfo$'][_0x578cab(0x40d)]()),g(this,_0x578cab(0x334),new _0x35a34c([])),g(this,_0x578cab(0x315),this[_0x578cab(0x334)][_0x578cab(0x3b1)](_0x7dde20(Ao))),g(this,'_updateLocalCursor',_0x22c102((_0x1c6abf,_0x2fa18c)=>{const _0xbc2030=_0x578cab,_0x16d8b4={'eventID':_0x2d656f['UPDATE_CURSOR'],'data':{'unitID':this[_0xbc2030(0x117)],'memberID':this['_session'][_0xbc2030(0x426)](),'selection':_0x18395d(_0x1c6abf,_0x2fa18c[_0xbc2030(0x45c)])}};this[_0xbc2030(0x1b8)]['send'](_0x16d8b4,this[_0xbc2030(0x117)]);},Mo)),(this['unitID']=_0x3cb0c5,this[_0x578cab(0x1b8)]=_0x57f192,this['_injector']=_0x5ebcac,this[_0x578cab(0x23a)]=_0x2801a5,this[_0x578cab(0x409)]=_0x38b525,this['_univerInstanceService']=_0x243142,this['_commandService']=_0x2aa2c4,this[_0x578cab(0x1d9)]=_0x2c903b);}get[_0x22ca65(0x25d)](){const _0x4c06bf=_0x22ca65;return this[_0x4c06bf(0x11c)]['getValue']();}get[_0x22ca65(0x16a)](){const _0x7e8feb=_0x22ca65;return this[_0x7e8feb(0x334)][_0x7e8feb(0x109)]();}[_0x22ca65(0x287)](){const _0x501263=_0x22ca65;super['dispose'](),this[_0x501263(0x11c)][_0x501263(0x2cb)](new Map()),this[_0x501263(0x11c)][_0x501263(0x4a9)](),this[_0x501263(0x334)]['next']([]),this[_0x501263(0x334)][_0x501263(0x4a9)]();}[_0x22ca65(0x36e)](){const _0x2c89f0=_0x22ca65;this[_0x2c89f0(0x1b2)]||(this[_0x2c89f0(0x1b2)]=!0x0,this[_0x2c89f0(0x1b8)][_0x2c89f0(0x177)][_0x2c89f0(0x3b1)](_0xd6bf95(this['dispose$']))[_0x2c89f0(0x188)](_0x1f69d5=>{const _0x14ef61=_0x2c89f0;_0x1f69d5===ve['ONLINE']?this[_0x14ef61(0x249)]():this['_toggleOffline']();}),this[_0x2c89f0(0x1b8)][_0x2c89f0(0x3fb)]['pipe'](_0xd6bf95(this[_0x2c89f0(0x445)]))[_0x2c89f0(0x188)](_0x238db1=>{const _0x113458=_0x2c89f0,_0x2a2fce=_0x238db1['eventID'];_0x2a2fce===_0x2d656f['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x238db1),_0x2a2fce===_0x2d656f[_0x113458(0x193)]&&this[_0x113458(0x457)](_0x238db1);}),this['_onRefRangeChange'](),this[_0x2c89f0(0x44c)](this['_commandService'][_0x2c89f0(0x201)](_0xe1dbc5=>{const _0x41e22d=_0x2c89f0;if(this[_0x41e22d(0x4d1)]&&_0xe1dbc5['id']===_0xb3251['id']&&_0xe1dbc5[_0x41e22d(0x43d)][_0x41e22d(0x247)]===this[_0x41e22d(0x117)]){const _0x5e3328=_0xe1dbc5[_0x41e22d(0x43d)];this[_0x41e22d(0x17e)](_0x5e3328[_0x41e22d(0x4ff)],_0x5e3328[_0x41e22d(0x4bf)][0x0]);}})));}[_0x22ca65(0x20d)](_0x5eb1b3){const _0x13a13b=_0x22ca65;var _0x26dcf6,_0x19cb4c;const {memberID:_0x2a401b,selection:_0x175077}=_0x5eb1b3[_0x13a13b(0x36b)],{sheetName:_0x2f9ad6,range:_0xfa599b}=_0x213ef8(_0x175077),_0x442d4e={'name':(_0x19cb4c=(_0x26dcf6=this[_0x13a13b(0x409)][_0x13a13b(0x331)](this[_0x13a13b(0x117)],_0x2a401b))==null?void 0x0:_0x26dcf6[_0x13a13b(0x255)])!=null?_0x19cb4c:_0x13a13b(0x4fc),'range':this[_0x13a13b(0x12c)](_0x2f9ad6,_0xfa599b),'sheetID':_0x2f9ad6,'color':this[_0x13a13b(0x23a)]['assignAColorForMemberID'](_0x2a401b),'selection':_0x175077},_0x4a682=this[_0x13a13b(0x25d)];_0x4a682[_0x13a13b(0x166)](_0x2a401b,_0x442d4e),this[_0x13a13b(0x11c)][_0x13a13b(0x2cb)](_0x4a682);}[_0x22ca65(0x457)](_0x318447){const _0x1c0d6e=_0x22ca65,{memberID:_0x1beefe}=_0x318447[_0x1c0d6e(0x36b)],_0xd769ff=this['cursorInfo'];_0xd769ff[_0x1c0d6e(0x2c9)](_0x1beefe),this[_0x1c0d6e(0x11c)]['next'](_0xd769ff);}[_0x22ca65(0x12c)](_0x22f8bf,_0x387ff5){const _0xd057ee=_0x22ca65;var _0x4668ff,_0x2117ef;const _0x1256ec=(_0x2117ef=(_0x4668ff=this[_0xd057ee(0x4c7)][_0xd057ee(0x161)](this[_0xd057ee(0x117)]))==null?void 0x0:_0x4668ff[_0xd057ee(0x2cf)](_0x22f8bf))==null?void 0x0:_0x2117ef[_0xd057ee(0x182)]();return(_0x1256ec==null?void 0x0:_0x1256ec[_0xd057ee(0x1d6)](_0x470d04=>_0x27626b[_0xd057ee(0x46b)](_0x470d04,_0x387ff5)))||_0x387ff5;}['_onRefRangeChange'](){const _0x47c24b=_0x22ca65,_0x203111=new _0x4cdfcc(),_0x48dc5e=xo(),_0x5cce47=()=>{const _0x1f9667=_0x5acb;_0x203111[_0x1f9667(0x287)]();const _0x3b92ba=(_0x1eb118,_0x45a2c5,_0x1b1021,_0x548719)=>{const _0x2da78a=_0x1f9667;let _0x4677a7=[];switch(_0x1eb118['id']){case _0x210d62[_0x2da78a(0x14c)]:{_0x4677a7=_0x17ac48(_0x1eb118,_0x548719);break;}case _0x210d62[_0x2da78a(0x4e5)]:{_0x4677a7=_0x301e62(_0x1eb118,_0x548719);break;}case _0x210d62['InsertColCommandId']:{_0x4677a7=_0x57d246(_0x1eb118,_0x548719);break;}case _0x210d62[_0x2da78a(0x3aa)]:{_0x4677a7=_0x203a10(_0x1eb118,_0x548719);break;}case _0x210d62[_0x2da78a(0x4c0)]:{_0x4677a7=_0x5e6b35(_0x1eb118,_0x548719);break;}case _0x210d62[_0x2da78a(0x1e3)]:{_0x4677a7=_0x19870c(_0x1eb118,_0x548719);break;}case _0x210d62[_0x2da78a(0x149)]:{_0x4677a7=_0x132209(_0x1eb118,_0x548719);break;}case _0x210d62[_0x2da78a(0x1c7)]:{_0x4677a7=_0x256d15(_0x1eb118,_0x548719);break;}case _0x210d62[_0x2da78a(0x1a6)]:{_0x4677a7=_0xc1597d(_0x1eb118,_0x548719);break;}}const _0x4e6a34=_0x1df6e4(_0x4677a7,_0x548719),_0x380351=this[_0x2da78a(0x25d)]['get'](_0x45a2c5);if(_0x380351&&_0x4e6a34){const _0x21cfd2={..._0x380351,'range':_0x4e6a34};this[_0x2da78a(0x25d)]['set'](_0x45a2c5,_0x21cfd2),_0x48dc5e(()=>{const _0x18d6f7=_0x2da78a,_0x4dfb02=this[_0x18d6f7(0x1d9)][_0x18d6f7(0x205)](_0x4e6a34,_0xaea715=>(_0x4dfb02[_0x18d6f7(0x287)](),_0x3b92ba(_0xaea715,_0x45a2c5,_0x1b1021,_0x4e6a34)));_0x203111['add'](_0x4dfb02);});}return{'redos':[],'undos':[]};};this[_0x1f9667(0x25d)][_0x1f9667(0x18b)]((_0x2e6f90,_0x57ca85)=>{const _0x555515=_0x1f9667,{range:_0x5b3b16,sheetID:_0x1415e7}=_0x2e6f90,_0x5eb832=this[_0x555515(0x1d9)][_0x555515(0x205)](_0x5b3b16,_0x4d93a3=>(_0x5eb832[_0x555515(0x287)](),_0x3b92ba(_0x4d93a3,_0x57ca85,_0x1415e7,_0x5b3b16)));_0x203111['add'](_0x5eb832);});};this[_0x47c24b(0x44c)](_0x3ed3fa(this['_cursorInfo$'][_0x47c24b(0x188)](()=>{_0x5cce47();})));}[_0x22ca65(0x249)](){const _0x2e020e=_0x22ca65;var _0xed8acf,_0x8d3874;if(this['_online']=!0x0,((_0xed8acf=this[_0x2e020e(0x4c7)][_0x2e020e(0x396)]())==null?void 0x0:_0xed8acf[_0x2e020e(0x43f)]())!==this[_0x2e020e(0x117)])return;const _0x230776=(_0x8d3874=this['_injector'][_0x2e020e(0x327)](_0x2d9510)['getCurrentSelections']())==null?void 0x0:_0x8d3874[0x0],_0x1f7794=this['_univerInstanceService'][_0x2e020e(0x119)](_0x297986[_0x2e020e(0x1f5)])[_0x2e020e(0x421)]();_0x230776&&_0x1f7794&&this[_0x2e020e(0x17e)](_0x1f7794[_0x2e020e(0x38e)](),_0x230776);}[_0x22ca65(0x291)](){const _0x28347c=_0x22ca65;this[_0x28347c(0x4d1)]=!0x1;}};rs=No([Be(0x2,_0x1013ae(_0x1f2d44)),Be(0x3,_0x1013ae(bs)),Be(0x4,_0x1013ae(Me)),Be(0x5,_0x331bf2),Be(0x6,_0x11db88),Be(0x7,_0x1013ae(_0x649fa4))],rs);var Lo=Object['defineProperty'],$o=Object[_0x22ca65(0x4c2)],Ho=(_0x7360a,_0x297e1f,_0x3c9a86,_0x43f4d5)=>{const _0x49a1a7=_0x22ca65;for(var _0x17efbd=_0x43f4d5>0x1?void 0x0:_0x43f4d5?$o(_0x297e1f,_0x3c9a86):_0x297e1f,_0x381277=_0x7360a[_0x49a1a7(0x347)]-0x1,_0xaf8e77;_0x381277>=0x0;_0x381277--)(_0xaf8e77=_0x7360a[_0x381277])&&(_0x17efbd=(_0x43f4d5?_0xaf8e77(_0x297e1f,_0x3c9a86,_0x17efbd):_0xaf8e77(_0x17efbd))||_0x17efbd);return _0x43f4d5&&_0x17efbd&&Lo(_0x297e1f,_0x3c9a86,_0x17efbd),_0x17efbd;},$t=(_0x4d9b0f,_0x6563c0)=>(_0x2fc7dc,_0x1cdfcf)=>_0x6563c0(_0x2fc7dc,_0x1cdfcf,_0x4d9b0f);let Ve=class extends _0xbe756c{constructor(_0x45ebd0,_0x1b7b0a,_0x1e12e9){const _0x530be6=_0x22ca65;super(),g(this,_0x530be6(0x42a),new Map()),g(this,'_entityInit$',new _0x19647f()),(this[_0x530be6(0x4c7)]=_0x45ebd0,this[_0x530be6(0x47c)]=_0x1b7b0a,this[_0x530be6(0x329)]=_0x1e12e9,this[_0x530be6(0x1b2)]());}[_0x22ca65(0x287)](){const _0x229053=_0x22ca65;super['dispose'](),this[_0x229053(0x523)][_0x229053(0x4a9)](),this[_0x229053(0x42a)][_0x229053(0x18b)](_0x51fd39=>_0x51fd39['dispose']());}[_0x22ca65(0x33f)](_0x4b32dd){const _0x4aafb7=_0x22ca65;return this[_0x4aafb7(0x42a)]['has'](_0x4b32dd)?this['_entities'][_0x4aafb7(0x327)](_0x4b32dd)['cursorInfo$']:this[_0x4aafb7(0x523)]['pipe'](_0x5abdae(_0x31dde0=>_0x31dde0['unitID']===_0x4b32dd),_0x39b41e(_0x1c43d4=>_0x1c43d4[_0x4aafb7(0x11e)]));}[_0x22ca65(0x1b2)](){const _0x55670c=_0x22ca65;this[_0x55670c(0x4c7)][_0x55670c(0x322)](_0x297986[_0x55670c(0x1f5)])['pipe'](_0xd6bf95(this[_0x55670c(0x445)]))[_0x55670c(0x188)](async _0x26fee7=>{const _0x25b86d=_0x55670c,_0x15c125=_0x26fee7[_0x25b86d(0x43f)](),_0x1aae07=await this[_0x25b86d(0x10f)](_0x15c125);this['_entityInit$'][_0x25b86d(0x2cb)](_0x1aae07),this[_0x25b86d(0x42a)]['set'](_0x15c125,_0x1aae07);}),this[_0x55670c(0x4c7)][_0x55670c(0x322)](_0x297986[_0x55670c(0x462)])[_0x55670c(0x3b1)](_0xd6bf95(this[_0x55670c(0x445)]))[_0x55670c(0x3b1)](_0x5abdae(_0x3d1e49=>!_0x3d1e49[_0x55670c(0x43f)]()[_0x55670c(0x25f)]('__')))[_0x55670c(0x188)](async _0x4b5bad=>{const _0x321f72=_0x55670c,_0x68abf2=_0x4b5bad[_0x321f72(0x43f)](),_0x4f0c3c=await this[_0x321f72(0x1f0)](_0x68abf2);this[_0x321f72(0x523)][_0x321f72(0x2cb)](_0x4f0c3c),this[_0x321f72(0x42a)][_0x321f72(0x166)](_0x68abf2,_0x4f0c3c);}),_0xc64e83(this['_univerInstanceService'][_0x55670c(0x24d)](_0x297986[_0x55670c(0x462)]),this[_0x55670c(0x4c7)][_0x55670c(0x24d)](_0x297986[_0x55670c(0x1f5)]))['pipe'](_0xd6bf95(this['dispose$']))[_0x55670c(0x188)](_0x143084=>{const _0x131acb=_0x55670c,_0x40087c=_0x143084[_0x131acb(0x43f)](),_0x252255=this['_entities'][_0x131acb(0x327)](_0x40087c);_0x252255&&(_0x252255['dispose'](),this['_entities'][_0x131acb(0x2c9)](_0x40087c));});}async[_0x22ca65(0x10f)](_0x4d8040){const _0x5b8e18=_0x22ca65,_0x1cb951=await this['_collabSessionService'][_0x5b8e18(0x18d)](_0x4d8040),_0x39d239=this['_injector'][_0x5b8e18(0x4e3)](rs,_0x4d8040,_0x1cb951);return _0x39d239['init'](),_0x39d239;}async[_0x22ca65(0x1f0)](_0x5229c8){const _0x433654=_0x22ca65,_0x4bbbaf=await this[_0x433654(0x329)]['requireSession'](_0x5229c8),_0x393529=this[_0x433654(0x47c)][_0x433654(0x4e3)](ns,_0x5229c8,_0x4bbbaf);return _0x393529['init'](),_0x393529;}};Ve=Ho([$t(0x0,_0x331bf2),$t(0x1,_0x1013ae(_0x1f2d44)),$t(0x2,_0x1013ae(xe))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,jo=0x5;function Bo(_0x12f0ea,_0x28282e){const _0x36e974=_0x22ca65;let {radius:_0x1310d6,width:_0x568f16,height:_0x103448}=_0x28282e;_0x1310d6=_0x1310d6!=null?_0x1310d6:0x0,_0x568f16=_0x568f16!=null?_0x568f16:0x1e,_0x103448=_0x103448!=null?_0x103448:0x1e;let _0x14e06c=0x0,_0x507d9c=0x0,_0x5031e3=0x0;_0x14e06c=_0x507d9c=_0x5031e3=Math[_0x36e974(0x242)](_0x1310d6,_0x568f16/0x2,_0x103448/0x2),_0x12f0ea[_0x36e974(0x519)](),_0x12f0ea[_0x36e974(0x50d)](_0x14e06c,0x0),_0x12f0ea[_0x36e974(0x2c0)](_0x568f16-_0x507d9c,0x0),_0x12f0ea[_0x36e974(0x511)](_0x568f16-_0x507d9c,_0x507d9c,_0x507d9c,Math['PI']*0x3/0x2,0x0,!0x1),_0x12f0ea[_0x36e974(0x2c0)](_0x568f16,_0x103448-_0x5031e3),_0x12f0ea[_0x36e974(0x511)](_0x568f16-_0x5031e3,_0x103448-_0x5031e3,_0x5031e3,0x0,Math['PI']/0x2,!0x1),_0x12f0ea['lineTo'](0x0,_0x103448),_0x12f0ea[_0x36e974(0x2c0)](0x0,_0x14e06c),_0x12f0ea['arc'](_0x14e06c,_0x14e06c,_0x14e06c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x12f0ea['closePath'](),_0x28282e[_0x36e974(0x2a0)]&&(_0x12f0ea[_0x36e974(0x2c6)](),_0x12f0ea[_0x36e974(0x34c)]=_0x28282e['fill'],_0x28282e[_0x36e974(0x459)]===_0x36e974(0x430)?_0x12f0ea[_0x36e974(0x2a0)](_0x36e974(0x430)):_0x12f0ea[_0x36e974(0x2a0)](),_0x12f0ea[_0x36e974(0x2ce)]());}class Ot extends _0x5533c2{constructor(_0x1c2579,_0x14d62c){const _0x2ef6e4=_0x22ca65;super(_0x1c2579,_0x14d62c),g(this,_0x2ef6e4(0x21b)),g(this,_0x2ef6e4(0x25c)),(this[_0x2ef6e4(0x21b)]=_0x14d62c==null?void 0x0:_0x14d62c[_0x2ef6e4(0x21b)],this[_0x2ef6e4(0x25c)]=_0x14d62c==null?void 0x0:_0x14d62c[_0x2ef6e4(0x25c)]);}static[_0x22ca65(0x4fa)](_0x548b82,_0x4dedbd){const _0x85007e=_0x22ca65,{text:_0x578cad,color:_0x51b1df}=_0x4dedbd;_0x548b82[_0x85007e(0x2c6)](),_0x548b82['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x24f879=_0x548b82[_0x85007e(0x10d)](_0x578cad)['width'],_0x42f455=Math['min'](_0x24f879+0x2*Ht,Ys);Bo(_0x548b82,{'height':nt,'radius':0x4,'width':_0x42f455,'fill':_0x51b1df,'evented':!0x1}),_0x548b82[_0x85007e(0x34c)]=_0x85007e(0x363);const _0x1c18c3=Ht,_0x2b890d=nt-jo,_0x10425d=Ys-0x2*Ht;if(_0x24f879>_0x10425d){let _0x4ef016='',_0x37065c=0x0;for(const _0xd23fbe of _0x578cad){const _0x548060=_0x548b82['measureText'](_0xd23fbe)[_0x85007e(0x46c)];if(_0x37065c+_0x548060<=_0x10425d-_0x548b82[_0x85007e(0x10d)](_0x85007e(0x500))['width'])_0x4ef016+=_0xd23fbe,_0x37065c+=_0x548060;else{_0x4ef016+=_0x85007e(0x500);break;}}_0x548b82[_0x85007e(0x524)](_0x4ef016,_0x1c18c3,_0x2b890d);}else _0x548b82[_0x85007e(0x524)](_0x578cad,_0x1c18c3,_0x2b890d);_0x548b82[_0x85007e(0x2ce)]();}['_draw'](_0x3c6951){const _0xf55af2=_0x22ca65;Ot[_0xf55af2(0x4fa)](_0x3c6951,this);}}const jt='collab-text-anchor-',ko=_0x22ca65(0x1a3),Wo=_0x22ca65(0x189),Je=0x6,Fo=1.5,Bt=0x4,Vo=1.5,Go='rgba(255,\x20255,\x20255,\x200.01)';function _0x5acb(_0x18f087,_0x10c8d2){const _0x4d741f=_0x4d74();return _0x5acb=function(_0x5acb64,_0x5c7c81){_0x5acb64=_0x5acb64-0x104;let _0x420fab=_0x4d741f[_0x5acb64];return _0x420fab;},_0x5acb(_0x18f087,_0x10c8d2);}class Ks{constructor(_0xf09d7a,_0x409828,_0x398b8d,_0x5af857){const _0x1787a2=_0x22ca65;g(this,_0x1787a2(0x40e),[]),g(this,_0x1787a2(0x4b3),null),g(this,'_textBubble',null),g(this,_0x1787a2(0x2e4),null),g(this,'_hideTimer',null),g(this,_0x1787a2(0x337),null),(this[_0x1787a2(0x375)]=_0xf09d7a,this[_0x1787a2(0x239)]=_0x409828,this[_0x1787a2(0x167)]=_0x398b8d,this[_0x1787a2(0x227)]=_0x5af857,this[_0x1787a2(0x512)]());}set[_0x22ca65(0x377)](_0x3a924c){const _0x5c1b20=_0x22ca65;_0x3a924c?(this[_0x5c1b20(0x2e4)]&&this[_0x5c1b20(0x2e4)]['hide'](),this[_0x5c1b20(0x233)]&&this[_0x5c1b20(0x233)]['show']()):(this[_0x5c1b20(0x2e4)]&&this[_0x5c1b20(0x2e4)][_0x5c1b20(0x517)](),this[_0x5c1b20(0x233)]&&this[_0x5c1b20(0x233)][_0x5c1b20(0x498)]());}[_0x22ca65(0x287)](){const _0x375457=_0x22ca65;for(const _0x417d22 of this['_shapes'])_0x417d22[_0x375457(0x287)]();this[_0x375457(0x233)]&&this[_0x375457(0x233)][_0x375457(0x287)](),this[_0x375457(0x2e4)]&&this[_0x375457(0x2e4)]['dispose'](),this[_0x375457(0x4b3)]&&this[_0x375457(0x4b3)][_0x375457(0x287)](),this[_0x375457(0x337)]&&this[_0x375457(0x337)]();}[_0x22ca65(0x512)](){const _0x180066=_0x22ca65;var _0xf27bf6;const {_docSkeleton:_0x33f751,_document:_0x4be246}=this,{color:_0x2588f6,name:_0x5ce8ab,ranges:_0x493f77}=this[_0x180066(0x375)],_0x185b06=_0x4be246[_0x180066(0x3fa)](),{docsLeft:_0x5a1e64,docsTop:_0x2cf6b9}=_0x185b06,_0x5b4527=new _0x4a3363(_0x185b06,_0x33f751);for(const {startOffset:_0x2e1af8,endOffset:_0x1a068f,rangeType:_0x249105,segmentId:_0x40deb2,segmentPage:_0x2342f3,collapsed:_0x2bcaa3,isActive:_0x2398b2}of _0x493f77){const _0x46dd5f=_0x33f751[_0x180066(0x392)](_0x2e1af8,!0x0,_0x40deb2,_0x2342f3);let _0x18760f=_0x33f751['findNodePositionByCharIndex'](_0x1a068f,!0x0,_0x40deb2,_0x2342f3);if(_0x18760f==null&&(_0x18760f=_0x33f751[_0x180066(0x392)](_0x1a068f-0x1,!0x1,_0x40deb2,_0x2342f3)),_0x2398b2){const {contentBoxPointGroup:_0x5e91d5}=_0x5b4527[_0x180066(0x112)](_0x18760f,_0x18760f);if(_0x5e91d5[_0x180066(0x347)]===0x0)continue;this[_0x180066(0x1d4)](_0x2588f6,_0x5e91d5,_0x5a1e64,_0x2cf6b9,_0x5ce8ab),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x46dd5f&&_0x18760f){if(_0x249105===_0x771b62[_0x180066(0x2bc)]){const _0x3dd470=new _0x4e4357(_0x185b06,_0x33f751),{pointGroup:_0x4f64e8}=(_0xf27bf6=_0x3dd470[_0x180066(0x112)](_0x46dd5f,_0x18760f))!=null?_0xf27bf6:{};if(_0x4f64e8==null||_0x4f64e8[_0x180066(0x347)]===0x0)continue;this[_0x180066(0x1c6)](_0x2588f6,_0x4f64e8,_0x5a1e64,_0x2cf6b9);}else{if(!_0x2bcaa3){const {borderBoxPointGroup:_0x3096cb}=_0x5b4527[_0x180066(0x112)](_0x46dd5f,_0x18760f);if(_0x3096cb['length']===0x0)continue;this[_0x180066(0x44e)](_0x2588f6,_0x3096cb,_0x5a1e64,_0x2cf6b9);}}}}}[_0x22ca65(0x1d4)](_0x2ebd24,_0x5a386d,_0x44a528,_0x59408f,_0x18d31e){const _0x537f3f=_0x22ca65,_0x3b1b4b=this['_getAnchorBounding'](_0x5a386d),{left:_0x3211da,top:_0x8f9f23,height:_0x5a15dd}=_0x3b1b4b,_0x1e1d2f=this[_0x537f3f(0x13f)](),_0x113e3d=Vo/_0x1e1d2f,_0xd0b6ca=new _0x14609d(jt+_0x1d82fd[_0x537f3f(0x297)](Je),{'left':_0x3211da+_0x44a528-_0x113e3d,'top':_0x8f9f23+_0x59408f,'height':_0x5a15dd,'width':Fo,'fill':_0x2ebd24||_0x15f28e(_0x3403f3['black'],0x0),'strokeWidth':_0x113e3d,'stroke':Go,'evented':!0x0});this[_0x537f3f(0x4b3)]=_0xd0b6ca,this[_0x537f3f(0x239)][_0x537f3f(0x202)](_0xd0b6ca,_0x467468);const _0xe77fb0=new _0x14609d(jt+_0x1d82fd['generateRandomId'](Je),{'left':_0x3211da+_0x44a528-_0x113e3d,'top':_0x8f9f23+_0x59408f-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x2ebd24||_0x15f28e(_0x3403f3[_0x537f3f(0x45e)],0x0),'strokeWidth':0x0,'stroke':_0x2ebd24||_0x15f28e(_0x3403f3['black'],0x0),'evented':!0x1});this[_0x537f3f(0x2e4)]=_0xe77fb0,this[_0x537f3f(0x239)][_0x537f3f(0x202)](_0xe77fb0,_0x467468);const _0x249a6d=new Ot(jt+_0x1d82fd['generateRandomId'](Je),{'left':_0x3211da+_0x44a528-_0x113e3d,'top':_0x8f9f23+_0x59408f-nt,'text':_0x18d31e,'color':_0x2ebd24});this['_textBubble']=_0x249a6d,this['_scene'][_0x537f3f(0x202)](_0x249a6d,_0x467468),this[_0x537f3f(0x377)]=!0x1;}[_0x22ca65(0x3d3)](){const _0x37b552=_0x22ca65,_0x547b12=this['_anchor'][_0x37b552(0x23b)][_0x37b552(0x4b2)](()=>{const _0x3538b5=_0x37b552;this[_0x3538b5(0x377)]=!0x0;}),_0x39dddb=this[_0x37b552(0x4b3)][_0x37b552(0x32c)][_0x37b552(0x4b2)](()=>{const _0x4f9b48=_0x37b552;this[_0x4f9b48(0x311)]&&clearTimeout(this[_0x4f9b48(0x311)]),this[_0x4f9b48(0x311)]=setTimeout(()=>{const _0x4d02d0=_0x4f9b48;this[_0x4d02d0(0x377)]=!0x1;},0x7d0);});return()=>{const _0x212631=_0x37b552;_0x547b12['unsubscribe'](),_0x39dddb[_0x212631(0x441)]();};}[_0x22ca65(0x44e)](_0xaee7af,_0x2a81a8,_0x1bf589,_0x1db506){const _0x573547=_0x22ca65,_0x24d95b=new _0x151cb2(_0xaee7af)[_0x573547(0x187)](0.2)[_0x573547(0x3eb)](),_0x529975=new _0xff41d1(ko+_0x1d82fd[_0x573547(0x297)](Je),{'pointsGroup':_0x2a81a8,'fill':_0x24d95b||_0x15f28e(_0x3403f3[_0x573547(0x45e)],0.2),'left':_0x1bf589,'top':_0x1db506,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x573547(0x40e)][_0x573547(0x2e8)](_0x529975),this['_scene']['addObject'](_0x529975,_0x467468);}[_0x22ca65(0x1c6)](_0x49b20c,_0x54fbc5,_0x334b2b,_0x575307){const _0x4d8d44=_0x22ca65,_0xf6379c=new _0x151cb2(_0x49b20c)[_0x4d8d44(0x187)](0.2)[_0x4d8d44(0x3eb)](),_0x19ebbd=new _0xff41d1(Wo+_0x1d82fd[_0x4d8d44(0x297)](Je),{'pointsGroup':_0x54fbc5,'fill':_0xf6379c||_0x15f28e(_0x3403f3['black'],0.2),'left':_0x334b2b,'top':_0x575307,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4d8d44(0x40e)]['push'](_0x19ebbd),this[_0x4d8d44(0x239)]['addObject'](_0x19ebbd,_0x467468);}['_getAnchorBounding'](_0xf991ac){const _0x5b10c8=_0xf991ac[0x0],_0x54139e=_0x5b10c8[0x0],_0x946ec=_0x5b10c8[0x2],{x:_0xa25085,y:_0x7a0106}=_0x54139e,{x:_0x1186bf,y:_0x44aed5}=_0x946ec;return{'left':_0xa25085,'top':_0x7a0106,'width':_0x1186bf-_0xa25085,'height':_0x44aed5-_0x7a0106};}['_getScale'](){const _0x49892c=_0x22ca65,{scaleX:_0x2dfd61,scaleY:_0x22bdfa}=this[_0x49892c(0x239)]['getAncestorScale']();return Math[_0x49892c(0x45d)](_0x2dfd61,_0x22bdfa);}}var Yo=Object[_0x22ca65(0x1ac)],Ko=Object['getOwnPropertyDescriptor'],zo=(_0x31533e,_0x4d97e3,_0x4bae4d,_0x34e0cf)=>{for(var _0x473a44=_0x34e0cf>0x1?void 0x0:_0x34e0cf?Ko(_0x4d97e3,_0x4bae4d):_0x4d97e3,_0xcdf411=_0x31533e['length']-0x1,_0x6783c2;_0xcdf411>=0x0;_0xcdf411--)(_0x6783c2=_0x31533e[_0xcdf411])&&(_0x473a44=(_0x34e0cf?_0x6783c2(_0x4d97e3,_0x4bae4d,_0x473a44):_0x6783c2(_0x473a44))||_0x473a44);return _0x34e0cf&&_0x473a44&&Yo(_0x4d97e3,_0x4bae4d,_0x473a44),_0x473a44;},ct=(_0x4b21c4,_0x5dd347)=>(_0x2028d7,_0x5742e7)=>_0x5dd347(_0x2028d7,_0x5742e7,_0x4b21c4);let os=class extends _0xbe756c{constructor(_0x11adf5,_0x425ef2,_0x3dc72d,_0x5700d1,_0x28c650){const _0x5c9765=_0x22ca65;super(),g(this,_0x5c9765(0x2dd),[]),g(this,'_cursors',[]),(this['_context']=_0x11adf5,this[_0x5c9765(0x1e5)]=_0x425ef2,this[_0x5c9765(0x37f)]=_0x3dc72d,this[_0x5c9765(0x1f1)]=_0x5700d1,this[_0x5c9765(0x2f4)]=_0x28c650,this[_0x5c9765(0x1b2)]());}[_0x22ca65(0x1b2)](){const _0xb09c3b=_0x22ca65,_0x339889=this['_context'][_0xb09c3b(0x247)],_0x5b83f6=this[_0xb09c3b(0x1e5)];this[_0xb09c3b(0x44c)](_0x41be65([this[_0xb09c3b(0x37f)]['getCollabCursors$'](_0x339889),this[_0xb09c3b(0x2f4)][_0xb09c3b(0x360)]])['pipe'](_0x2649d9(([_0x40c8dd,_0x5c6aa5])=>({'skeleton':_0x5b83f6[_0xb09c3b(0x479)](),'cursors':[..._0x40c8dd[_0xb09c3b(0x403)]()]['flatMap'](_0x16ea80=>({..._0x16ea80,'color':_0x5c6aa5[_0x16ea80['color']]}))})))[_0xb09c3b(0x188)](_0x39a017=>{const _0x6fb23c=_0xb09c3b;if(this[_0x6fb23c(0x245)](),_0x39a017){const {skeleton:_0x489242,cursors:_0xee62e6}=_0x39a017;this[_0x6fb23c(0x248)](_0x489242,_0xee62e6);}})),this[_0xb09c3b(0x215)](),this['_initCommandExecutedListener']();}[_0x22ca65(0x248)](_0x2653fd,_0x22b157){const _0x362a5c=_0x22ca65,{scene:_0x4108a4,mainComponent:_0x58a932}=this[_0x362a5c(0x3d6)],_0x1610dc=_0x22b157[_0x362a5c(0x111)](_0x206e75=>new Ks(_0x206e75,_0x4108a4,_0x2653fd,_0x58a932));this['_cursorShapes']=_0x1610dc,this[_0x362a5c(0x25e)]=_0x22b157;}['_refreshCollabCursors'](){const _0x193eec=_0x22ca65;this['_removeCollabCursors']();const {scene:_0x376412,mainComponent:_0x4423b4}=this['_context'],_0x417f58=this[_0x193eec(0x1e5)][_0x193eec(0x479)](),_0x1b8601=this[_0x193eec(0x25e)][_0x193eec(0x111)](_0x2762b6=>new Ks(_0x2762b6,_0x376412,_0x417f58,_0x4423b4));this['_cursorShapes']=_0x1b8601;}[_0x22ca65(0x245)](){const _0x286c66=_0x22ca65;this[_0x286c66(0x2dd)]['forEach'](_0x417641=>_0x417641[_0x286c66(0x287)]()),this[_0x286c66(0x2dd)]=[];}[_0x22ca65(0x1b7)](){const _0x1891dc=_0x22ca65,_0x58caaf=[_0x40715c['id']];this[_0x1891dc(0x44c)](this[_0x1891dc(0x1f1)][_0x1891dc(0x201)](_0x1c9ed1=>{const _0x23de6e=_0x1891dc;_0x58caaf[_0x23de6e(0x472)](_0x1c9ed1['id'])&&_0x1c9ed1['params'][_0x23de6e(0x247)]===this[_0x23de6e(0x3d6)][_0x23de6e(0x247)]&&this[_0x23de6e(0x39d)]();}));}[_0x22ca65(0x215)](){const _0x36829c=_0x22ca65;this['disposeWithMe'](_0x58f499(this[_0x36829c(0x3d6)][_0x36829c(0x449)]['onTransformChange$'])[_0x36829c(0x3b1)](_0x382fe5(_0x55ea02=>_0x55ea02[_0x36829c(0x44d)]===_0x290526[_0x36829c(0x32a)]),_0x2d3a19(0x10))['subscribe'](()=>{const _0x8871ec=_0x36829c;this[_0x8871ec(0x39d)]();}));}};os=zo([ct(0x1,_0x1013ae(_0x17bee2)),ct(0x2,_0x1013ae(Ve)),ct(0x3,_0x11db88),ct(0x4,_0x1013ae(_0x56884f))],os);const qo=0x1,Xo=1.5;class Jo extends _0x5533c2{constructor(_0x51493b,_0x46cf2b){const _0x1b3ce0=_0x22ca65;super(_0x51493b,_0x46cf2b),g(this,_0x1b3ce0(0x3b0)),g(this,'_hovered',!0x1),g(this,_0x1b3ce0(0x2e5)),g(this,_0x1b3ce0(0x3e0),''),g(this,'_labelPosition',_0x1b3ce0(0x1ae)),g(this,'_backgroundColor'),(_0x46cf2b&&this['setShapeProps'](_0x46cf2b),this[_0x1b3ce0(0x23b)][_0x1b3ce0(0x4b2)](()=>this[_0x1b3ce0(0x502)]({'hovered':!0x0})),this[_0x1b3ce0(0x32c)][_0x1b3ce0(0x4b2)](()=>this[_0x1b3ce0(0x502)]({'hovered':!0x1})));}['setShapeProps'](_0x50fe4d){const _0x481fd5=_0x22ca65;var _0x3b707a,_0x4d7ed4,_0x52c62e,_0x280110,_0x45218a,_0xaff090;this[_0x481fd5(0x3b0)]=(_0x3b707a=_0x50fe4d['color'])!=null?_0x3b707a:this[_0x481fd5(0x3b0)],this['_hovered']=(_0x4d7ed4=_0x50fe4d[_0x481fd5(0x4f4)])!=null?_0x4d7ed4:this[_0x481fd5(0x453)],this[_0x481fd5(0x2e5)]=(_0x52c62e=_0x50fe4d[_0x481fd5(0x45c)])!=null?_0x52c62e:this[_0x481fd5(0x2e5)],this[_0x481fd5(0x3e0)]=(_0x280110=_0x50fe4d[_0x481fd5(0x255)])!=null?_0x280110:this['_name'],this[_0x481fd5(0x450)]=(_0x45218a=_0x50fe4d[_0x481fd5(0x2f5)])!=null?_0x45218a:this[_0x481fd5(0x450)],this[_0x481fd5(0x3e9)]=(_0xaff090=_0x50fe4d[_0x481fd5(0x1a8)])!=null?_0xaff090:this[_0x481fd5(0x3e9)],this[_0x481fd5(0x15c)]({'width':_0x50fe4d[_0x481fd5(0x46c)],'height':_0x50fe4d[_0x481fd5(0x1f3)]});}[_0x22ca65(0x481)](_0x3f7980){const _0x32ab87=_0x22ca65,{row:_0x583c20,column:_0x868be4}=_0x3f7980;if(_0x583c20>=this['_range'][_0x32ab87(0x1fa)]&&_0x583c20<=this[_0x32ab87(0x2e5)][_0x32ab87(0x2d3)]&&_0x868be4>=this[_0x32ab87(0x2e5)][_0x32ab87(0x493)]&&_0x868be4<=this[_0x32ab87(0x2e5)][_0x32ab87(0x3b4)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x5dfb24){return!0x1;}['_draw'](_0x1ad960){const _0x567e68=_0x22ca65;_0x14609d[_0x567e68(0x4fa)](_0x1ad960,{'width':this[_0x567e68(0x46c)],'height':this[_0x567e68(0x1f3)],'strokeWidth':Xo,'stroke':this[_0x567e68(0x3b0)],'evented':!0x1,'fill':this[_0x567e68(0x3e9)]}),this[_0x567e68(0x453)]&&(_0x1ad960[_0x567e68(0x2c6)](),_0x1ad960[_0x567e68(0x3fd)](0x1,0x0,0x0,0x1,this[_0x567e68(0x46c)],this[_0x567e68(0x450)]===_0x567e68(0x1bf)?0x0:-nt),Ot[_0x567e68(0x4fa)](_0x1ad960,{'text':this['_name'],'color':this[_0x567e68(0x3b0)]}),_0x1ad960['restore']());}}var Zo=Object[_0x22ca65(0x1ac)],Qo=Object[_0x22ca65(0x4c2)],ea=(_0x34988b,_0x4d3de3,_0x5a3680,_0x5c450c)=>{for(var _0x5680f5=_0x5c450c>0x1?void 0x0:_0x5c450c?Qo(_0x4d3de3,_0x5a3680):_0x4d3de3,_0x17a580=_0x34988b['length']-0x1,_0x22feea;_0x17a580>=0x0;_0x17a580--)(_0x22feea=_0x34988b[_0x17a580])&&(_0x5680f5=(_0x5c450c?_0x22feea(_0x4d3de3,_0x5a3680,_0x5680f5):_0x22feea(_0x5680f5))||_0x5680f5);return _0x5c450c&&_0x5680f5&&Zo(_0x4d3de3,_0x5a3680,_0x5680f5),_0x5680f5;},kt=(_0x345b50,_0x514b2a)=>(_0x1c706e,_0x1e341a)=>_0x514b2a(_0x1c706e,_0x1e341a,_0x345b50);const ta=0x1389;let as=class extends _0xbe756c{constructor(_0xd77518,_0x3ae77b,_0x21ab4f,_0x29b555){const _0x98dad4=_0x22ca65;super(),g(this,_0x98dad4(0x25e),new Set()),g(this,_0x98dad4(0x19a),null),(this[_0x98dad4(0x3d6)]=_0xd77518,this[_0x98dad4(0x175)]=_0x3ae77b,this['_collabCursorController']=_0x21ab4f,this[_0x98dad4(0x2f4)]=_0x29b555,this[_0x98dad4(0x1b2)]());}[_0x22ca65(0x1b2)](){const _0x1aedbf=_0x22ca65;this[_0x1aedbf(0x175)][_0x1aedbf(0x3cc)][_0x1aedbf(0x3b1)](_0x20c719(this[_0x1aedbf(0x445)]),_0xa20545(_0x464473=>{const _0x3f566a=_0x1aedbf;if(_0x464473){const _0x1b1160=_0x464473[_0x3f566a(0x435)];return _0x41be65(this[_0x3f566a(0x37f)][_0x3f566a(0x33f)](this[_0x3f566a(0x3d6)][_0x3f566a(0x247)]),this[_0x3f566a(0x2f4)][_0x3f566a(0x360)])[_0x3f566a(0x3b1)](_0x2649d9(([_0x1e4824,_0x28093f])=>{const _0x1deaad=_0x3f566a,_0x184b54=new Map();return _0x1e4824[_0x1deaad(0x18b)]((_0x10cd8c,_0x233869)=>{const _0x210207=_0x1deaad;if(_0x10cd8c['sheetID']===_0x1b1160){const _0x1c7195={..._0x10cd8c};_0x1c7195['color']=_0x28093f[_0x10cd8c[_0x210207(0x21b)]],_0x184b54[_0x210207(0x166)](_0x233869,_0x1c7195);}}),{'skeleton':_0x464473,'cursors':_0x184b54};}));}return _0x4f7194({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x567db8,cursors:_0x202b9f})=>{const _0x4aa7f8=_0x1aedbf;this[_0x4aa7f8(0x245)](),_0x567db8&&this[_0x4aa7f8(0x248)](_0x567db8,_0x202b9f);}),this[_0x1aedbf(0x175)]['currentSkeleton$']['subscribe'](_0x548ade=>{const _0x5a9044=_0x1aedbf;if(_0x548ade==null)return;const {skeleton:_0x512d5d}=_0x548ade,{scene:_0xcd3c22}=this[_0x5a9044(0x3d6)];_0xcd3c22[_0x5a9044(0x335)][_0x5a9044(0x4b2)](_0x22c102(_0x144d15=>{const _0x3bd472=_0x5a9044;var _0x204fc7,_0x445c92;const {offsetX:_0x51cc14,offsetY:_0x6ec35e}=_0x144d15,{x:_0x9d755a,y:_0x41cca4}=_0xcd3c22[_0x3bd472(0x230)](_0x290249[_0x3bd472(0x356)]([_0x51cc14,_0x6ec35e])),{scaleX:_0xb32e7,scaleY:_0x1a6544}=_0xcd3c22[_0x3bd472(0x1c3)](),_0x2206d6=_0xcd3c22['getViewport'](_0x1e1327['VIEW_MAIN']),_0x3488af=_0xcd3c22[_0x3bd472(0x124)](_0x290249['FromArray']([_0x9d755a,_0x41cca4]),_0x2206d6),_0x5df33b=_0x512d5d['getCellPositionByOffset'](_0x51cc14,_0x6ec35e,_0xb32e7,_0x1a6544,_0x3488af);((_0x204fc7=this[_0x3bd472(0x19a)])==null?void 0x0:_0x204fc7[_0x3bd472(0x2d5)])===_0x5df33b[_0x3bd472(0x2d5)]&&((_0x445c92=this[_0x3bd472(0x19a)])==null?void 0x0:_0x445c92[_0x3bd472(0x14a)])===_0x5df33b[_0x3bd472(0x14a)]||this[_0x3bd472(0x25e)][_0x3bd472(0x18b)](_0x48c711=>{const _0x5b3d7f=_0x3bd472;_0x48c711[_0x5b3d7f(0x481)](_0x5df33b);});},0x64));});}['_updateCollabCursors'](_0x1e3fbd,_0x483e21){const _0x419a41=_0x22ca65;var _0x55b593;const _0x522ede=(_0x55b593=this['_sheetSkeletonManagerService'][_0x419a41(0x330)]())==null?void 0x0:_0x55b593[_0x419a41(0x37d)];if(!_0x522ede)return;const _0x47e556=this[_0x419a41(0x367)]();if(!_0x47e556)return;this[_0x419a41(0x25e)][_0x419a41(0x18b)](_0x341f00=>{const _0x46a69b=_0x419a41;_0x341f00[_0x46a69b(0x3cb)]();});const {scene:_0x4b7001}=_0x47e556,_0x52c58a=sa(Array[_0x419a41(0x3f3)](_0x483e21[_0x419a41(0x403)]()))[_0x419a41(0x111)](_0x2d42d8=>{const _0x58d9ac=_0x419a41,{color:_0x369585,range:_0x2a21d6,name:_0x5119cc,selection:_0x214d97,sheetID:_0x659bd7}=_0x2d42d8,{startColumn:_0x37e732,startRow:_0x1fa3e9,endColumn:_0x19ad8b,endRow:_0x5c0713}=_0x2a21d6,_0x20edb6=_0x2dc018(_0x1fa3e9,_0x37e732,_0x4b7001,_0x522ede),_0x5edcd0=_0x2dc018(_0x5c0713,_0x19ad8b,_0x4b7001,_0x522ede),{columnHeaderHeightAndMarginTop:_0x149cd2}=_0x522ede,{startX:_0x48be5b,startY:_0x18cd3e}=_0x20edb6,{endX:_0x44b026,endY:_0x2b9316}=_0x5edcd0,_0x5d5449=_0x44b026-_0x48be5b,_0x48ca3a=_0x2b9316-_0x18cd3e,_0x31b6b1={'labelPosition':_0x18cd3e-_0x149cd2>=nt?_0x58d9ac(0x1ae):_0x58d9ac(0x1bf),'sheetID':_0x659bd7,'range':_0x2a21d6,'color':_0x369585,'name':_0x5119cc,'selection':_0x214d97,'left':_0x48be5b,'top':_0x18cd3e,'width':_0x5d5449,'height':_0x48ca3a,'evented':!0x1,'zIndex':ta};return new Jo(_0x5119cc,_0x31b6b1);});_0x4b7001[_0x419a41(0x15b)](_0x52c58a,qo),this['_cursors']=new Set(_0x52c58a);}[_0x22ca65(0x245)](){const _0x53d7cc=_0x22ca65;var _0x4e124f;(_0x4e124f=this['_cursors'])==null||_0x4e124f[_0x53d7cc(0x18b)](_0x57d271=>_0x57d271[_0x53d7cc(0x287)]());}['_getSheetObject'](){const _0x2667c3=_0x22ca65;return _0x304305(this[_0x2667c3(0x3d6)][_0x2667c3(0x419)],this[_0x2667c3(0x3d6)]);}};as=ea([kt(0x1,_0x1013ae(_0x2fb419)),kt(0x2,_0x1013ae(Ve)),kt(0x3,_0x1013ae(_0x56884f))],as);function sa(_0x56f78b){const _0x2ec915=_0x22ca65,_0x4e18c3=new Map();return _0x56f78b['forEach'](_0x5520a8=>{const _0x24efcf=_0x5acb;if(_0x4e18c3[_0x24efcf(0x361)](_0x5520a8[_0x24efcf(0x313)])){const _0x6e4224=_0x4e18c3[_0x24efcf(0x327)](_0x5520a8['selection']);_0x6e4224[_0x24efcf(0x255)]+=',\x20'+_0x5520a8['name'];}else _0x4e18c3[_0x24efcf(0x166)](_0x5520a8[_0x24efcf(0x313)],_0x5520a8);}),Array['from'](_0x4e18c3[_0x2ec915(0x403)]());}var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x5c4c11){const _0xc9c803=_0x22ca65;return _0x5c4c11&&_0x5c4c11['__esModule']&&Object[_0xc9c803(0x3f2)][_0xc9c803(0x32e)][_0xc9c803(0x16e)](_0x5c4c11,_0xc9c803(0x25b))?_0x5c4c11['default']:_0x5c4c11;}var Mi={'exports':{}},yt={},ia=_0x3c779d,na=Symbol[_0x22ca65(0x30e)](_0x22ca65(0x254)),ra=Symbol['for'](_0x22ca65(0x43a)),oa=Object['prototype']['hasOwnProperty'],aa=ia[_0x22ca65(0x41e)][_0x22ca65(0x33c)],ca={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function xi(_0x4f6917,_0x42ab0e,_0x1af750){const _0x5d1c36=_0x22ca65;var _0x226841,_0x2ae29c={},_0x5eb2cb=null,_0x310e90=null;_0x1af750!==void 0x0&&(_0x5eb2cb=''+_0x1af750),_0x42ab0e[_0x5d1c36(0x46a)]!==void 0x0&&(_0x5eb2cb=''+_0x42ab0e[_0x5d1c36(0x46a)]),_0x42ab0e[_0x5d1c36(0x448)]!==void 0x0&&(_0x310e90=_0x42ab0e[_0x5d1c36(0x448)]);for(_0x226841 in _0x42ab0e)oa[_0x5d1c36(0x16e)](_0x42ab0e,_0x226841)&&!ca['hasOwnProperty'](_0x226841)&&(_0x2ae29c[_0x226841]=_0x42ab0e[_0x226841]);if(_0x4f6917&&_0x4f6917[_0x5d1c36(0x160)]){for(_0x226841 in(_0x42ab0e=_0x4f6917['defaultProps'],_0x42ab0e))_0x2ae29c[_0x226841]===void 0x0&&(_0x2ae29c[_0x226841]=_0x42ab0e[_0x226841]);}return{'$$typeof':na,'type':_0x4f6917,'key':_0x5eb2cb,'ref':_0x310e90,'props':_0x2ae29c,'_owner':aa[_0x5d1c36(0x241)]};}yt[_0x22ca65(0x4bd)]=ra,yt[_0x22ca65(0x35b)]=xi,yt['jsxs']=xi,Mi['exports']=yt;var Pe=Mi['exports'],ee=function(){const _0x5bc3c3=_0x22ca65;return ee=Object[_0x5bc3c3(0x228)]||function(_0xbce7fb){const _0x5e389d=_0x5bc3c3;for(var _0xdd3b48,_0xda1a75=0x1,_0x454a7d=arguments[_0x5e389d(0x347)];_0xda1a75<_0x454a7d;_0xda1a75++){_0xdd3b48=arguments[_0xda1a75];for(var _0x29c512 in _0xdd3b48)Object[_0x5e389d(0x3f2)][_0x5e389d(0x32e)][_0x5e389d(0x16e)](_0xdd3b48,_0x29c512)&&(_0xbce7fb[_0x29c512]=_0xdd3b48[_0x29c512]);}return _0xbce7fb;},ee[_0x5bc3c3(0x4f3)](this,arguments);},ha=function(_0x3587c8,_0x5037df){const _0x449e70=_0x22ca65;var _0x2a3432={};for(var _0x388526 in _0x3587c8)Object[_0x449e70(0x3f2)][_0x449e70(0x32e)][_0x449e70(0x16e)](_0x3587c8,_0x388526)&&_0x5037df[_0x449e70(0x21f)](_0x388526)<0x0&&(_0x2a3432[_0x388526]=_0x3587c8[_0x388526]);if(_0x3587c8!=null&&typeof Object['getOwnPropertySymbols']==_0x449e70(0x114)){for(var _0x30d63f=0x0,_0x388526=Object['getOwnPropertySymbols'](_0x3587c8);_0x30d63f<_0x388526['length'];_0x30d63f++)_0x5037df[_0x449e70(0x21f)](_0x388526[_0x30d63f])<0x0&&Object[_0x449e70(0x3f2)][_0x449e70(0x172)][_0x449e70(0x16e)](_0x3587c8,_0x388526[_0x30d63f])&&(_0x2a3432[_0x388526[_0x30d63f]]=_0x3587c8[_0x388526[_0x30d63f]]);}return _0x2a3432;},Ts=_0x2327fb(function(_0x2de0a0,_0x519b14){const _0x361e50=_0x22ca65;var _0xa150b1=_0x2de0a0[_0x361e50(0x155)],_0x5374fc=_0x2de0a0['id'],_0x5034ab=_0x2de0a0[_0x361e50(0x525)],_0x26c975=_0x2de0a0[_0x361e50(0x2f6)],_0x55d891=ha(_0x2de0a0,[_0x361e50(0x155),'id',_0x361e50(0x525),'extend']),_0xcb61fd='univerjs-icon\x20univerjs-icon-'[_0x361e50(0x256)](_0x5374fc,'\x20')['concat'](_0x5034ab||'')[_0x361e50(0x2b9)](),_0x303b78=_0x3c42f1('_'[_0x361e50(0x256)](ua()));return Li(_0xa150b1,''[_0x361e50(0x256)](_0x5374fc),{'defIds':_0xa150b1[_0x361e50(0x23d)],'idSuffix':_0x303b78['current']},ee({'ref':_0x519b14,'className':_0xcb61fd},_0x55d891),_0x26c975);});function Li(_0x11741f,_0x91d3e4,_0x1cb131,_0x26ba59,_0x36ca46){const _0x442e56=_0x22ca65;return _0xc42b8(_0x11741f[_0x442e56(0x12f)],ee(ee({'key':_0x91d3e4},la(_0x11741f,_0x1cb131,_0x36ca46)),_0x26ba59),(_a(_0x11741f,_0x1cb131)[_0x442e56(0x1d3)]||[])[_0x442e56(0x111)](function(_0xd1ee2e,_0x2afbe6){const _0x446aa6=_0x442e56;return Li(_0xd1ee2e,''[_0x446aa6(0x256)](_0x91d3e4,'-')[_0x446aa6(0x256)](_0x11741f[_0x446aa6(0x12f)],'-')[_0x446aa6(0x256)](_0x2afbe6),_0x1cb131,void 0x0,_0x36ca46);}));}function la(_0x143232,_0x1caa88,_0x47d25){const _0x1ace1e=_0x22ca65;var _0x35fbe9=ee({},_0x143232[_0x1ace1e(0x4e8)]);_0x47d25!=null&&_0x47d25[_0x1ace1e(0x42b)]&&_0x35fbe9[_0x1ace1e(0x2a0)]===_0x1ace1e(0x42b)&&(_0x35fbe9[_0x1ace1e(0x2a0)]=_0x47d25[_0x1ace1e(0x42b)]);var _0xd4e2cf=_0x1caa88[_0x1ace1e(0x23d)];return!_0xd4e2cf||_0xd4e2cf['length']===0x0||(_0x143232[_0x1ace1e(0x12f)]===_0x1ace1e(0x4f5)&&_0x35fbe9[_0x1ace1e(0x2ea)]&&(_0x35fbe9['xlink:href']=_0x35fbe9[_0x1ace1e(0x2ea)]+_0x1caa88['idSuffix']),Object[_0x1ace1e(0x134)](_0x35fbe9)['forEach'](function(_0xb8368){const _0x55094d=_0x1ace1e;var _0x54501d=_0xb8368[0x0],_0x5d2ef4=_0xb8368[0x1];typeof _0x5d2ef4=='string'&&(_0x35fbe9[_0x54501d]=_0x5d2ef4[_0x55094d(0x253)](/url\(#(.*)\)/,_0x55094d(0x2db)['concat'](_0x1caa88[_0x55094d(0x4bb)],')')));})),_0x35fbe9;}function _a(_0x7fcc21,_0x1ec398){const _0x46013f=_0x22ca65;var _0x3c093d,_0x43e701=_0x1ec398[_0x46013f(0x23d)];return!_0x43e701||_0x43e701[_0x46013f(0x347)]===0x0?_0x7fcc21:_0x7fcc21['tag']===_0x46013f(0x260)&&(!((_0x3c093d=_0x7fcc21[_0x46013f(0x1d3)])===null||_0x3c093d===void 0x0)&&_0x3c093d[_0x46013f(0x347)])?ee(ee({},_0x7fcc21),{'children':_0x7fcc21[_0x46013f(0x1d3)][_0x46013f(0x111)](function(_0x157aff){const _0x3ea98a=_0x46013f;return typeof _0x157aff[_0x3ea98a(0x4e8)]['id']==_0x3ea98a(0x4d8)&&_0x43e701&&_0x43e701['indexOf'](_0x157aff[_0x3ea98a(0x4e8)]['id'])>-0x1?ee(ee({},_0x157aff),{'attrs':ee(ee({},_0x157aff[_0x3ea98a(0x4e8)]),{'id':_0x157aff['attrs']['id']+_0x1ec398['idSuffix']})}):_0x157aff;})}):_0x7fcc21;}function _0x4d74(){const _0xb9c654=['_onMessage','_transformStack','algo','COMMENT_UPDATE','unshift','_createSocketURL','split','finalize','_getSignURL','HEARTBEAT','_createInitialState','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','?url=','#fff','startColumn','unit-cache-','_oKey','onTransformState','CHANGESET_REJ','hide','unpad','SNAPSHOT_URL_KEY','popstate','_singleActiveUnitService','ENSURE_SNAPSHOT_EXECUTION','isArray','SUCCUSS','collaMsg','_applyRemoteChangeset','UnitSnapshot','collabSubmitChangesetUrl','clamp','_timeoutTimer','json','crypto','snapshotServerUrl','complete','SUBMIT_CHANGESET','/role','kdf','_transformHistoryAndStateStack','BASE64','_updateSubUnitFromURLParams','every','1342dvyhYm','subscribeEvent','_anchor','src','LIVESHARE_OPERATION','getImageSourceCache','0\x200\x2017\x2016','_doFinalize','[OfflineState]:\x20received\x20acknowledgement.','collabStatus.syncing','idSuffix','&to=','Fragment','updateCursorEvent','selections','InsertRangeMoveRightCommandId','_getCurrentRevision','getOwnPropertyDescriptor','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_event$','setUndoRedoMutationParamsCache','activeSheet$','_univerInstanceService','_transitionLocked','getRenderById','HELLO','submit\x20changeset\x20error!','_createHelper','HttpExport','resend','YUUMI_URL_COL_OUT_OF_RANGE','_commentUpdate$','_online','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','putCollaborators','responseType','/allowed','joinRsp','string','collabStatus.conflict','[FetchMissState]','_transformService','post','CHANGESET_REVISION_CONFILICT','_clearOtherTimers','_onOffline','cfg','_listenToOnlineEvent','MD5','createInstance','_onUserLeave','DeleteRangeMoveUpCommandId','keySize','csRejEvent','attrs','on-line-single_clip0_910_349','collaboration_new_changeset','_docTransformSelectionsService','session.room-full','UPDATE_CURSOR','pending','_initUnitPermissionChange','resourceIDs','_scheduleTimestamp','APPLY_DUPLICATED','apply','hovered','use','pad','FileId','reconnect','UPDATE_PERMISSION_OBJ','drawWith','_onRemoteRejected','Unknown\x20user','wsSessionTicketUrl','APPLY_REVISION_CONFILICT','subUnitId','...','COLLAB_WEB_SOCKET_URL','setShapeProps','/universer-api/user/session-ticket','__creator','ticket','allowed','collaboration-client.offline-data-not-saved','_isPermissionRej','_ENC_XFORM_MODE','JOIN','stringify','_transformUndoRedoStack','moveTo','undoState','updateMember','catch','arc','_render','textRanges','ACTIVE_UNIT_EVENT_CHANNEL','_transformUndoredo','_instanceService','show','_redoStacks','beginPath','saveSheetBlock','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','_shouldReportTelemetry','status$','snapshot','_setupSubUnitSync','_clearRedo','_getDownloadEndpointURL','duration','_entityInit$','fillText','className','BlockCipher','_collaborationController','getLatestCsReqIdBySid','size','_handleEvent','open$','_unitStatus','_replaceFileID','getValue','_getAPIPrefix','transformChangesets','ivSize','measureText','leaveEvent','_startSheetCollabCursor','_retryCount','map','getRangePointData','SerializableCipher','function','_setupBeforeClosingHandler','/universer-api/comb','unitID','_httpService','getCurrentUnitForType','put','splice','_cursorInfo$','reduce','cursorInfo$','_localCacheService','_onRemoteRetry','_updateStatus','_saveTaskMap','Base64','getVpScrollXYInfoByPosToVp','CipherParams','stopTime','_getCtorByUniverType','_resendTimeout','TEXT','create','_getSendChangesetTimeout','_getMergeRange','onlineStatusIcon','657jdXURd','tag','ALREADY_EXISTS','_clearUndo','HEARTBEAT_INTERVAL','_remoteChangesetQueue','entries','[CollaborationSessionService]:\x20socket\x20error','_handleJoinEvent','_substituteRedoStack','YUUMI_SUBSCRIPTION_NOT_FOUND','_cachedData','_createHandler','change$','_waitCount','LICENSE_DISTRO_REJECTED','_getSnapshotAPIPrefix','_getScale','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','headers','WordArray','_onConflict','symbol','?size=','body','UNIVER_COLLABORATION_CLIENT_PLUGIN','substr','MoveRangeCommandId','row','revision','DeleteRangeMoveLeftCommandId','redoState','changesets','subunit','_onUserJoin','Malformed\x20UTF-8\x20data','_handleHeartbeatEvent','byteLength','getSheetBlock','icon','_tryReconnect','_sendHeartbeat','Could\x20not\x20dynamically\x20require\x20\x22','HttpImport','_disableEditing','addObjects','transformByState','appendMutation','1245MQVOCq','m1Prime','defaultProps','getUniverSheetInstance','_ws','hasher','docStateChange$','getCollabEntity$','set','_docSkeleton','exhaustSavingTask','PENDING','roomMembers','sheets','getRoom','_iKey','call','closeSession','clone','collabStatus.fetchMiss','propertyIsEnumerable','_assignedColors','roomInfos','_sheetSkeletonManagerService','listCollaborators','sessionStatus$','isEditing','Encryptor','socket\x20open.','INGEST','debug','/universer-api/oidc/authpage','_updateLocalCursor','with','_scheduleHeartbeat','session','getMergeData','resolve','[SyncedState]:\x20received\x20rejection.','bind','onRemoteRej','setAlpha','subscribe','collab-rect-range-','CHANGESET_ACK','forEach','file','requireSession','_imageSourceCache','BlockCipherMode','msCrypto','getTime','workbook','USERS_LEAVE','\x20to\x20','73420FOUcWk','permissionRejEvent','saveImage','readInt32LE','onRendered','_lastPointer','APPLY_REJECT','Hasher','collabWebSocketUrl','initWorkbookPermissionChange','_userManagerService','setParam','_getRedoStack','_incrementRevisionNumber','collab-text-range-','_initRequestHeader','_http','RemoveRowCommandId','ws://127.0.0.1:8000/universer-api/comb/connect','backgroundColor','_onConnectionFailed','setWaitCount','40560PbQSAp','defineProperty','_unlockTransition','top','_sheetTransformSelectionsService','session.collaboration-timeout','processBlock','_init','CONNECTOR_DATA_TOO_LARGE','MUTATION','lib','_startTelemetryCollaborationNewChangeset','_initCommandExecutedListener','_session','_sessions','_parse','_minBufferSize','_socketReady','_beforeCloseService','[SyncedState]:\x20received\x20acknowledgement.','bottom','/block/','urlChange$','UUID','getAncestorScale','_handler','getDocRanges','_drawRectRange','RemoveColCommandId','fetching\x20missing\x20changesets\x20from\x20','connection\x20error','/unit/','UniverIcon','_status$','_send','_getAPIPrefixPath','words','LIVESHARE_TERMINATE','INTERNAL_ERROR','IDLE','children','_drawAnchor','_cipher','find','NOT_COLLAB','setInterval','_refRangeService','FETCH_MISSING','_removeRoom','DEFAULT_FILE_NAME','onCommentUpdate','368544JOJfcH','_changesetSessionId','loadDoc','/universer-api/authz','_updateURLWithCurrentState','InsertRowCommandId','_initDependencies','_docSkeletonManagerService','10766owJhRy','permission.title','clearTimeout','confirm','actions','infoRsp','_urlService','\x0aCurrent:\x20','HMAC','_doCryptBlock','_startDocCollabCursor','_commandService','copyFileMeta','height','Base','UNIVER_SHEET','_xformMode','_renderManagerService','session.connection-failed','OffLineSingle','startRow','getImage','registerBeforeClose','memberID','TOO_MANY_REQUESTS','reset','userID','onCommandExecuted','addObject','_roomMembers','transformSelections','registerRefRange','joinEvent','[CollaborationState]:\x20apply\x20error!','Utf8','retryConnectingInterval','buffer','randomUUID','transformRemoteChangeset','_onCursorUpdate','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','executeCommand','conflict','_process','AWAITING_WITH_PENDING','enc','COMPRESS_MUTATION_SEND','_initResize','transformStack\x20failed!','deleteCollaborator','_append','hostname','_retryConnectingTimer','color','UNRECOGNIZED','/collaborator','pushState','indexOf','CBC','collabCursorState$','routeKey','list','BufferedBlockAlgorithm','RECV','AWAITING','_document','assign','error$','/object/','onSendChangeset','on-line-single','_members','/universer-api/snapshot','_revisionService','getRelativeToViewportCoord','_initCloseConn','socketService','_textBubble','Decryptor','toggleOnline','decryptBlock','awaitingChangeset','_mode','_scene','_colorAssignService','onPointerEnter$','_transformPreviousActiveRange','defIds','createDecryptor','syncEditingCollabCursor','getUnitOnRev','current','min','byteOffset','fetchMiss','_removeCollabCursors','EXCHANGE_SIGN_URL_SERVER_URL_KEY','unitId','_updateCollabCursors','_toggleOnline','hidden','target','_state','getTypeOfUnitDisposed$','conflict.content','transformIMECache','_initEventListeners','_registerRenderDependencies','synced','replace','react.element','name','concat','onRemoteRetry','method','sigBytes','setTimeout','default','text','cursorInfo','_cursors','startsWith','defs','[CollaborationSession]','LICENSE_MAX_UNITS_EXCEEDED','state','_createSocket','10120464THEazg','c2Prime','searchParams','SYNCED','fromCharCode','cmd','_nDataBytes','_scheduleCollaborationTimeoutTimer','_unitID','OpenSSL','_onRemoteACK','[CollaborationEntity]','listRoles','c1Prime','_resendTimer','Error\x20on\x20receiving\x20event','NOT_FOUND','getInterceptPoints','[CollaborationSessionService]','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[OfflineState]:\x20received\x20rejection.','_docTransformIMECacheService','3947790ynkeix','ERROR_EXCEED_SIZE','members','collabStatus.synced','padding','/universer-api/snapshot/','ceil','substring','_getSaveTimeout','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_ensureSubject','JOINING','dispose','M0\x200H16V16H0z','floor','getAllMembers','fetchThroughInterceptors','_scheduleClearOtherTimer','action','unload','clear','UNIVER_PROJECT','_toggleOffline','assignAColorForMemberID','_listenToOfflineEvent','status','_transformSelections','onTransformRemoteChangesetByIMECache','generateRandomId','_fetchMissChangesets','focused$','_type','storage','Pkcs7','exports','UNIVER_UNKNOWN','saveChangeset','fill','_iv','jiqing500','JOIN_ROOM_FULL','NEW_CHANGESETS','unknown','collaboration.closeRoom','ERROR_IMAGE','1em','sid','_docStateChangeManagerService','number','filter','toString','_loadSheet','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_snapshotServerService','Cipher','_createInitialStateImpl','setItem','permission.content','div','close','clipPath','doc.mutation.rich-text-editing','trim','UnitEmbedded','getCurrentSelections','RECT','_keyPriorReset','_nRounds','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','lineTo','awaiting','patch','APPLY_PERMISSION_DENIED','$super','save\x20fail\x20reason\x20is\x20','save','_sendHeartbeatTimer','CONFLICT','delete','getStateCache','next','image/jpeg','updatePermissionPoint','restore','getSheetBySheetId','_commentService','YUUMI_UNABLE_LOAD_URL','iterations','endRow','svg','column','onTransformSelections','HmacSHA1','_onCombEvent','_clearTimeoutTimer','_initMergeInterceptor','url(#$1','Undefined','_cursorShapes','JOIN_ROOM_NOT_ALLOWED','mutations','CHANGESET_SHOULD_RETRY','state$','path','SHA1','_anchorDot','_range','univer-online-status','RETRY_CONNECTING_MAX_COUNT','push','toggleOffline','xlink:href','_DEC_XFORM_MODE','onlyLocal','COMPRESS_MUTATION_APPLY','authzUrl','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','207jYWcpV','_undoRedoService','then','mode','_themeService','labelPosition','extend','m2Prime','_transformIMECache','update','[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.','round','_createHmacHelper','collaboratorID','title','_syncEditingCollabCursor','FETCH_MISS','_snapshotService','sessionStatus','MSG_FOR_ERROR','originalMeta','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_configService','NoPadding','HmacMD5','_onFetchMissResult','LOGIN_URL_KEY','objectID','_onJoinRoomEvent','for','send','_submitChangeset','_hideTimer','newValue','selection','unitId\x20is\x20not\x20found','roomMembers$','eventID','_state$','SHOULD_CLOSE_CONN','blockSize','/universer-api/stream/file/upload','add','onStarting','transformMutation','online','decrypt','disposeUnit','UNKNOWN_CODE','getTypeOfUnitAdded$','localeService','SNAPSHOT_HAS_BEEN_REMOVED','_collaborationSessionService','url','get','getParam','_collabSessionService','resize','_decreaseWaiting','onPointerLeave$','readAsDataURL','hasOwnProperty','\x20in\x20_schedule.','getCurrent','getMember','removeMember','_map','_roomMembers$','onPointerMove$','_clearHeartbeatTimer','_eventUnsubscribe','AES','isActive','updateOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ReactCurrentOwner','interceptor','HEARTBEAT_TIMEOUT','getCollabCursors$','/fetchmissing?from=','telemetry\x20info\x20is\x20not\x20initialized','visibilityState','reverse','_pendingMutations','/new_changes','slice','length','_rescheduleHeartbeat','_transformStateCache','PasswordBasedCipher','Warning','fillStyle','[DataLoaderController]','_startCollaboration','SNAPSHOT_INVALID_SNAPSHOT','transformStateCache','_checkMissing','_transformRemoteChangesetByIMECache','_changesetReqId','_telemetryService','univer-pro.collaboration-client-socket-service','FromArray','_disabled','_messageService','__Key__','[PendingState]:\x20received\x20rejection.','jsx','commentUpdate$','createCollaborator','fetch_missing','_handleLeaveEvent','currentTheme$','has','session.will-retry','#FFF','UNKNOWN_CMD','loadOfflineData','_invKeySchedule','_getSheetObject','off-line-single_clip0_910_343','application/json','PERMISSION_REJ','data','append','_telemetryInfo','init','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getSessionTicket','withCredentials','origin','not_collab','objectType','_cursor','_unitOnClients','_hover','repeat','_awaitingChangeset','_acknowledgedAwaitingChangeset','image/gif','_onRecvEvent','skeleton','getUndoRedoMutationParamsCache','_collabCursorController','awaiting_with_pending','failed\x20to\x20apply\x20missed\x20changesets!','15lqezCC','href','transformMutationsWithChangeset','_joinRoom','sessionTicket','getActiveRange','replaceState','history','encode','_doReset','_socketService','_selfUnitIDs','getSheetId','OnLineSingle','onStateChange','currentColor','findNodePositionByCharIndex','Hex','_replayCachedMutations','_getUploadFileURL','getFocusedUnit','EvpKDF','_collabCursorState$','_clearScheduledTask','LIVESHARE_NEW_HOST','getWorkbookSelections','updateCollaborator','_refreshCollabCursors','_getUndoStack','_prevBlock','getCurrentUser','getUnit','setShowComponents','getUnitStatus$','removeParam','join','error','_docTransformStateCacheService','getCollabEntity','/universer-api/file/{fileID}/sign-url','InsertRangeMoveDownCommandId','_localStorageService','160788kaSajw','rev','POST','_resendWithTimeout','_color','pipe','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_updateLocalCache','endColumn','_saveCache','deepClone','updatePermissionObjEvent','_hasher','offline','YUUMI_RATE_OVER_LIMIT','addImageSourceCache','liveShareOperation','clearInterval','url(#off-line-single_clip0_910_343)','_permissionService','onload','Error','/-/object/list','requestParams','_socket$','reject','univer-online','getConfig','_waitForHeartbeatResponse','charCodeAt','_initStatusListener','makeDirty','currentSkeleton$','UNAUTHENTICATED','message$','format','location','collabStatus.offline','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_handleHover','enableSingleActiveInstanceLock','_logService','_context','USERS_ENTER','collabStatus.notCollab','setConfig','LEAVE','editingUnit','_lockTransition','SEND_CHANGESET_TIMEOUT','onMissingChangesets','commentUpdateEvent','_name','encryptBlock','_onRemoteChangeset','_compressMutationService','onRemoteChangeset','liveShareNewHost','_candidateSocket','PERMISSION_DENIED','isPermissionRej','_backgroundColor','[PendingState]:\x20received\x20acknowledgement.','toRgbString','compute','saveSnapshot','reqId','LIVESHARE_REQUEST_HOST','_updateState','ONLINE','prototype','from','LIVESHARE_FETCH_OPERATIONS','batchAllowed','_exhaustRemoteChangesetQueue','_transformRemoteChangesetByStateCache','_keySchedule','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','getOffsetConfig','event$','encrypt','transform','_reverseMap','_id','_docSyncEditingCollabCursorService','NO_OTHER_CLIENTS_EDITING','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','values','ranges','getItem','ERROR_IMAGE_TYPE','_sendingTimer','UNDEFINED','_memberService','x-univer-host','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_loadDoc','asObservable','_shapes','OTHER_CLIENTS_EDITING','code','_executeRemoteChangeset','startTime','_initStatusComponent','registerHTTPInterceptor','collaboration-session-retry','getUnitType','_key','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','unit','onMissedChangesetFetched','onRemoteAck','transformUndoRedo','Univer','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_onLocalMutation','charAt','getActiveSheet','_socketMessageSubscription','_substituteUndoStack','_colorIndex','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getMemberID','OFFLINE','shouldCloseConn','now','_entities','colorChannel1','getUnhiddenWorksheets','csShouldRetryEvent','/rev/','enableOfflineEditing','evenodd','collaborators','UNIVER_SLIDE','_uiPartsService','mixIn','sheetId','_showConflictNotification','_registerDependencies','setCurrentUser','PSEUDO_FETCH_MISSING_RESULT','react.fragment','SNAPSHOT_SERVER_URL_KEY','_sender','params','_heartbeatTimer','getUnitId','visibilitychange','unsubscribe','roles','_collaborationPaused','_socket','dispose$','auth.needGotoLoginAlert','onSyncEditingCollabCursor','ref','engine','/-/object/-/batch_allowed','_collaborationTimeoutTimer','disposeWithMe','type','_drawTextRange','univer-pro.collaboration-client.single-active-unit-service','_labelPosition','getCurrentRevOfUnit','createEncryptor','_hovered','_syncEditingCollabCursorService','ciphertext','_sessionStatus$','_onCursorDelete','_hash','fillRule','_schedule','saveOfflineData','range','max','black','random','image/png','_notificationService','UNIVER_DOC','parse','FAIL','toLowerCase','_removeClearOtherTimer','LICENSE_IMPORT_SIZE_EXCEEDED','[CollaborationUndoRedoService]','_config','key','contains','width','_queuedRemoteChangesets','addEventListener','uploadFileServerUrl','baseRev','_data','includes','_HTTPService','_scheduleSaving','_tryEnsureSocket','displayName','verdancy600','getRandomValues','getSkeleton','_localeService','abs','_injector','purple300','createSocket','_stopTelemetryCollaborationNewChangeset','COMPLETION_FINISHED','onMouseMove','salt','disableLocalCache','_change$'];_0x4d74=function(){return _0xb9c654;};return _0x4d74();}function ua(){const _0xcf848e=_0x22ca65;return Math[_0xcf848e(0x45f)]()[_0xcf848e(0x2ad)](0x24)[_0xcf848e(0x282)](0x2,0x8);}Ts[_0x22ca65(0x476)]=_0x22ca65(0x1cb);var da={'tag':_0x22ca65(0x2d4),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x22ca65(0x3be)},'children':[{'tag':_0x22ca65(0x2e2),'attrs':{'stroke':'currentColor','d':_0x22ca65(0x51b),'strokeLinecap':_0x22ca65(0x2fb),'strokeLinejoin':_0x22ca65(0x2fb),'strokeWidth':1.2}}]},{'tag':_0x22ca65(0x260),'attrs':{},'children':[{'tag':_0x22ca65(0x2b7),'attrs':{'id':_0x22ca65(0x368)},'children':[{'tag':'path','attrs':{'fill':_0x22ca65(0x492),'d':_0x22ca65(0x288)}}]}]}],'defIds':[_0x22ca65(0x368)]},$i=_0x2327fb(function(_0x26419a,_0xd47518){const _0x4edb9c=_0x22ca65;return _0xc42b8(Ts,Object[_0x4edb9c(0x228)]({},_0x26419a,{'id':'off-line-single','ref':_0xd47518,'icon':da}));});$i[_0x22ca65(0x476)]=_0x22ca65(0x1f9);var fa={'tag':'svg','attrs':{'fill':'none','viewBox':_0x22ca65(0x4b7),'width':_0x22ca65(0x2a8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x22ca65(0x2e2),'attrs':{'stroke':_0x22ca65(0x391),'d':_0x22ca65(0x2bf),'strokeLinecap':_0x22ca65(0x2fb),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x22ca65(0x260),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x22ca65(0x4e9)},'children':[{'tag':'path','attrs':{'fill':_0x22ca65(0x492),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x22ca65(0x4e9)]},Hi=_0x2327fb(function(_0x4117f8,_0x28afce){const _0x4c489d=_0x22ca65;return _0xc42b8(Ts,Object[_0x4c489d(0x228)]({},_0x4117f8,{'id':_0x4c489d(0x22c),'ref':_0x28afce,'icon':fa}));});Hi[_0x22ca65(0x476)]=_0x22ca65(0x38f);function ji(_0x306c51){const _0x286c75=_0x22ca65;var _0x15fa9d,_0x150fcb,_0x4d65e4='';if(typeof _0x306c51=='string'||typeof _0x306c51==_0x286c75(0x2ab))_0x4d65e4+=_0x306c51;else{if(typeof _0x306c51=='object'){if(Array['isArray'](_0x306c51)){var _0x28d9a6=_0x306c51[_0x286c75(0x347)];for(_0x15fa9d=0x0;_0x15fa9d<_0x28d9a6;_0x15fa9d++)_0x306c51[_0x15fa9d]&&(_0x150fcb=ji(_0x306c51[_0x15fa9d]))&&(_0x4d65e4&&(_0x4d65e4+='\x20'),_0x4d65e4+=_0x150fcb);}else{for(_0x150fcb in _0x306c51)_0x306c51[_0x150fcb]&&(_0x4d65e4&&(_0x4d65e4+='\x20'),_0x4d65e4+=_0x150fcb);}}}return _0x4d65e4;}function va(){for(var _0x3448b8,_0x380466,_0x476b58=0x0,_0x2e4c2d='',_0x24abeb=arguments['length'];_0x476b58<_0x24abeb;_0x476b58++)(_0x3448b8=arguments[_0x476b58])&&(_0x380466=ji(_0x3448b8))&&(_0x2e4c2d&&(_0x2e4c2d+='\x20'),_0x2e4c2d+=_0x380466);return _0x2e4c2d;}const ma='univer-online-status-icon',pa='univer-online-status-title',ga=_0x22ca65(0x2e6),Sa=_0x22ca65(0x3c6),Ia='univer-offline',Ze={'onlineStatusIcon':ma,'onlineStatusTitle':pa,'onlineStatus':ga,'online':Sa,'offline':Ia};function Ca(_0x5a7308){const _0x338cb5=_0x22ca65;switch(_0x5a7308){case J[_0x338cb5(0x427)]:return _0x338cb5(0x3d1);case J['CONFLICT']:return _0x338cb5(0x4d9);case J['FETCH_MISS']:return _0x338cb5(0x171);case J[_0x338cb5(0x1d7)]:return _0x338cb5(0x3d8);case J[_0x338cb5(0x226)]:case J[_0x338cb5(0x212)]:return _0x338cb5(0x4ba);case J[_0x338cb5(0x268)]:case J[_0x338cb5(0x169)]:return _0x338cb5(0x27e);}}function Ea(_0x397f7e){const _0x2c73a2=_0x22ca65,{status$:_0x21a674}=_0x397f7e,_0x7606f4=_0x197cd7(_0x21a674,J[_0x2c73a2(0x1d7)]),_0x83d8e9=_0x413c68(_0x199c09),_0x2f25a5=_0x413c68(xe),_0x1cc810=_0x7606f4!==J[_0x2c73a2(0x427)],_0x4cda54=_0x83d8e9['t'](Ca(_0x7606f4)),_0x271819=va(Ze['onlineStatus'],{[Ze[_0x2c73a2(0x31e)]]:_0x1cc810,[Ze[_0x2c73a2(0x3b9)]]:!_0x1cc810}),_0x590189=_0x1cc810?Pe['jsx'](Hi,{}):Pe[_0x2c73a2(0x35b)]($i,{}),_0xe98706=_0x55aa5e(()=>{const _0x75b6f1=_0x2c73a2;_0x1cc810||_0x2f25a5[_0x75b6f1(0x4f8)]();},[_0x1cc810,_0x2f25a5]);function _0x270500(){const _0x12ed3d=_0x2c73a2;return Pe['jsxs'](_0x12ed3d(0x2b5),{'className':_0x271819,'onClick':_0xe98706,'children':[Pe[_0x12ed3d(0x35b)](_0x12ed3d(0x2b5),{'className':Ze[_0x12ed3d(0x12d)],'children':_0x590189}),Pe[_0x12ed3d(0x35b)](_0x12ed3d(0x2b5),{'className':Ze['onlineStatusTitle'],'children':_0x4cda54})]});}return _0x1cc810?_0x270500():Pe['jsx'](_0x4dfb4c,{'title':_0x83d8e9['t']('collab-client.tooltip.reconnect'),'children':_0x270500()});}var ba=Object[_0x22ca65(0x1ac)],Ta=Object[_0x22ca65(0x4c2)],Ra=(_0x5427e0,_0x3a9c85,_0x4e4805,_0xc14f3a)=>{const _0x1471e1=_0x22ca65;for(var _0x36537f=_0xc14f3a>0x1?void 0x0:_0xc14f3a?Ta(_0x3a9c85,_0x4e4805):_0x3a9c85,_0x19579e=_0x5427e0[_0x1471e1(0x347)]-0x1,_0xaa35e1;_0x19579e>=0x0;_0x19579e--)(_0xaa35e1=_0x5427e0[_0x19579e])&&(_0x36537f=(_0xc14f3a?_0xaa35e1(_0x3a9c85,_0x4e4805,_0x36537f):_0xaa35e1(_0x36537f))||_0x36537f);return _0xc14f3a&&_0x36537f&&ba(_0x3a9c85,_0x4e4805,_0x36537f),_0x36537f;},ht=(_0x35f94d,_0x3aaabb)=>(_0x1f2274,_0x42c1e4)=>_0x3aaabb(_0x1f2274,_0x42c1e4,_0x35f94d);let St=class extends _0xad8dab{constructor(_0xd9cd8f,_0x3d1b03,_0x3b605d,_0x24ac9b){const _0x19bada=_0x22ca65;super(),g(this,'_status$',new _0x35a34c(J['NOT_COLLAB'])),(this[_0x19bada(0x4c7)]=_0xd9cd8f,this[_0x19bada(0x433)]=_0x3d1b03,this[_0x19bada(0x47c)]=_0x3b605d,this[_0x19bada(0x527)]=_0x24ac9b,this[_0x19bada(0x413)](),this[_0x19bada(0x3ca)]());}[_0x22ca65(0x3ca)](){const _0x46a0ba=_0x22ca65;this[_0x46a0ba(0x44c)](this[_0x46a0ba(0x4c7)][_0x46a0ba(0x299)]['pipe'](_0x39b41e(()=>{const _0x5d250d=_0x46a0ba,_0x4d3bc1=this[_0x5d250d(0x4c7)][_0x5d250d(0x396)]();return _0x4d3bc1?this[_0x5d250d(0x527)]['getCollabEntity$'](_0x4d3bc1['getUnitId']()):_0x4f7194(null);}),_0x39b41e(_0x222397=>_0x222397?_0x222397['status$']:_0x4f7194(J[_0x46a0ba(0x1d7)])))[_0x46a0ba(0x188)](_0x61b3a8=>{this['_status$']['next'](_0x61b3a8);}));}[_0x22ca65(0x413)](){const _0x304d49=_0x22ca65;this[_0x304d49(0x44c)](this[_0x304d49(0x433)]['registerComponent'](_0x137768['HEADER_MENU'],()=>_0x4e5873(Oa({'status$':this[_0x304d49(0x1cc)][_0x304d49(0x40d)]()}),this[_0x304d49(0x47c)])));}};St=Ra([ht(0x0,_0x331bf2),ht(0x1,_0x5f056d),ht(0x2,_0x1013ae(_0x1f2d44)),ht(0x3,_0x1013ae(it))],St);function Oa(_0x58c8df){const {status$:_0x3ecad1}=_0x58c8df;return function(){const _0x4abc2e=_0x5acb;return Pe[_0x4abc2e(0x35b)](Ea,{'status$':_0x3ecad1});};}const Bi=_0x1263bd('uni.network.url-service');var ya=Object[_0x22ca65(0x1ac)],wa=Object[_0x22ca65(0x4c2)],Da=(_0x470814,_0x1c1f9c,_0x155fd2,_0x295951)=>{const _0x16d222=_0x22ca65;for(var _0x49e169=_0x295951>0x1?void 0x0:_0x295951?wa(_0x1c1f9c,_0x155fd2):_0x1c1f9c,_0x4e93b0=_0x470814[_0x16d222(0x347)]-0x1,_0x592109;_0x4e93b0>=0x0;_0x4e93b0--)(_0x592109=_0x470814[_0x4e93b0])&&(_0x49e169=(_0x295951?_0x592109(_0x1c1f9c,_0x155fd2,_0x49e169):_0x592109(_0x49e169))||_0x49e169);return _0x295951&&_0x49e169&&ya(_0x1c1f9c,_0x155fd2,_0x49e169),_0x49e169;},ke=(_0x359cd3,_0x40e479)=>(_0x4a7ba3,_0x2032d2)=>_0x40e479(_0x4a7ba3,_0x2032d2,_0x359cd3);let It=class extends _0xbe756c{constructor(_0x493f91,_0x440b89,_0xbf7de3,_0x1c9919,_0x24ea0e,_0x19f913){const _0x34ca26=_0x22ca65;super(),this[_0x34ca26(0x1ec)]=_0x493f91,this[_0x34ca26(0x3d5)]=_0x440b89,this[_0x34ca26(0x1f1)]=_0xbf7de3,this[_0x34ca26(0x11f)]=_0x1c9919,this['_snapshotService']=_0x24ea0e,_0x19f913?_0x19f913==null||_0x19f913['whenReady']()[_0x34ca26(0x2f2)](()=>this[_0x34ca26(0x1b2)]()):(this['_logService']['debug'](_0x34ca26(0x34d),_0x34ca26(0x33b)),this['_init']());}async[_0x22ca65(0x1b2)](){const _0x3ec460=_0x22ca65,_0x16cf3a=this[_0x3ec460(0x1ec)]['getParam']('unit'),_0x2a7965=this[_0x3ec460(0x1ec)]['getParam'](_0x3ec460(0x44d));if(!_0x16cf3a||!_0x2a7965){this[_0x3ec460(0x3d5)][_0x3ec460(0x17c)](_0x3ec460(0x34d),_0x3ec460(0x490));return;}switch(Number(_0x2a7965)){case ce['UNIVER_SHEET']:{const _0x58d2e7=await this[_0x3ec460(0x2ae)](_0x16cf3a);this['_setupSubUnitSync'](_0x58d2e7);break;}case ce['UNIVER_DOC']:{await this['_loadDoc'](_0x16cf3a);break;}default:{this[_0x3ec460(0x3d5)][_0x3ec460(0x3a6)](_0x3ec460(0x34d),_0x3ec460(0x2af));break;}}}async[_0x22ca65(0x51f)](_0x299c8b){const _0x440d63=_0x22ca65;await this[_0x440d63(0x4af)](_0x299c8b),_0x299c8b[_0x440d63(0x4c6)][_0x440d63(0x3b1)](_0xd6bf95(this[_0x440d63(0x445)]))[_0x440d63(0x188)](_0xe04a0a=>{const _0x632389=_0x440d63;_0xe04a0a&&this[_0x632389(0x1e2)](_0xe04a0a);}),this[_0x440d63(0x1ec)][_0x440d63(0x1c1)][_0x440d63(0x3b1)](_0xd6bf95(this['dispose$']))[_0x440d63(0x188)](()=>this['_updateSubUnitFromURLParams'](_0x299c8b));}[_0x22ca65(0x1e2)](_0x1fc10a,_0x2f626d=!0x1){const _0x497f37=_0x22ca65,_0x3b39be=this[_0x497f37(0x1ec)][_0x497f37(0x328)](_0x497f37(0x14f));_0x1fc10a[_0x497f37(0x38e)]()!==_0x3b39be&&this[_0x497f37(0x1ec)]['setParam']('subunit',_0x1fc10a[_0x497f37(0x38e)](),_0x2f626d);}async[_0x22ca65(0x4af)](_0x187bfe){const _0x25604f=_0x22ca65;var _0x187044;const _0x9ee725=this['_urlService'][_0x25604f(0x328)](_0x25604f(0x14f));if(!_0x9ee725||!_0x187bfe[_0x25604f(0x2cf)](_0x9ee725)){const _0x3795cb=_0x187bfe[_0x25604f(0x42c)]()[0x0],_0x5b7bc6=_0x187bfe[_0x25604f(0x2cf)](_0x3795cb);if(!_0x5b7bc6)return;this[_0x25604f(0x1e2)](_0x5b7bc6,!0x0),await this[_0x25604f(0x1f1)][_0x25604f(0x20f)](_0x53756d['id'],{'unitId':_0x187bfe[_0x25604f(0x43f)](),'subUnitId':_0x3795cb});return;}((_0x187044=_0x187bfe[_0x25604f(0x421)]())==null?void 0x0:_0x187044[_0x25604f(0x38e)]())!==_0x9ee725&&await this[_0x25604f(0x1f1)]['executeCommand'](_0x53756d['id'],{'unitId':_0x187bfe['getUnitId'](),'subUnitId':_0x9ee725});}async[_0x22ca65(0x2ae)](_0x390a21){const _0x2bc4be=_0x22ca65;let _0x6bccce=0x0;const _0x4a958e=await this[_0x2bc4be(0x11f)][_0x2bc4be(0x365)](_0x390a21);return _0x4a958e&&(_0x4a958e[_0x2bc4be(0x237)]||_0x4a958e[_0x2bc4be(0x2df)][_0x2bc4be(0x347)]!==0x0)&&(_0x6bccce=_0x4a958e[_0x2bc4be(0x3ad)]),_0x6bccce===0x0&&this[_0x2bc4be(0x3d5)]['debug'](_0x2bc4be(0x34d),_0x2bc4be(0x36f)),this[_0x2bc4be(0x301)]['loadSheet'](_0x390a21,_0x6bccce);}async[_0x22ca65(0x40c)](_0x494edb){const _0x25204d=_0x22ca65;let _0x482490=0x0;const _0x3ff157=await this['_localCacheService'][_0x25204d(0x365)](_0x494edb);return _0x3ff157&&(_0x3ff157[_0x25204d(0x237)]||_0x3ff157[_0x25204d(0x2df)][_0x25204d(0x347)]!==0x0)&&(_0x482490=_0x3ff157['rev']),_0x482490===0x0&&this[_0x25204d(0x3d5)]['debug'](_0x25204d(0x34d),_0x25204d(0x36f)),this['_snapshotService'][_0x25204d(0x1e0)](_0x494edb,_0x482490);}};It=Da([ke(0x0,Bi),ke(0x1,_0x3b5747),ke(0x2,_0x11db88),ke(0x3,_0x1013ae(q)),ke(0x4,_0x1013ae(_0x1ee905)),ke(0x5,_0x3611e0(_0x499013))],It);var Pa=Object[_0x22ca65(0x1ac)],Ua=Object[_0x22ca65(0x4c2)],Na=(_0x49ae65,_0x535848,_0x3b2193,_0xa0c4e8)=>{const _0x137f0e=_0x22ca65;for(var _0x52d0be=_0xa0c4e8>0x1?void 0x0:_0xa0c4e8?Ua(_0x535848,_0x3b2193):_0x535848,_0x1231c3=_0x49ae65[_0x137f0e(0x347)]-0x1,_0x108455;_0x1231c3>=0x0;_0x1231c3--)(_0x108455=_0x49ae65[_0x1231c3])&&(_0x52d0be=(_0xa0c4e8?_0x108455(_0x535848,_0x3b2193,_0x52d0be):_0x108455(_0x52d0be))||_0x52d0be);return _0xa0c4e8&&_0x52d0be&&Pa(_0x535848,_0x3b2193,_0x52d0be),_0x52d0be;},zs=(_0x5848a6,_0x5ae3c6)=>(_0x5331e4,_0x338e7b)=>_0x5ae3c6(_0x5331e4,_0x338e7b,_0x5848a6);const Aa=_0x22ca65(0x1dc),Ma=_0x22ca65(0x41d);let Ct=class extends _0xad8dab{constructor(_0x38f5d1,_0x376e37){const _0x5c8a3c=_0x22ca65;super(),this[_0x5c8a3c(0x4c7)]=_0x38f5d1,this[_0x5c8a3c(0x307)]=_0x376e37,this[_0x5c8a3c(0x1b2)]();}[_0x22ca65(0x1b2)](){const _0x492821=_0x22ca65;this['disposeWithMe'](this[_0x492821(0x4c7)][_0x492821(0x299)][_0x492821(0x188)](()=>{const _0x5f37c0=_0x492821;var _0x12cacf;const _0x3ed458=this[_0x5f37c0(0x4c7)]['getFocusedUnit']();let _0x33b98b=(_0x12cacf=this[_0x5f37c0(0x307)][_0x5f37c0(0x3c7)](Aa))!=null?_0x12cacf:Ma;_0x3ed458 instanceof _0x1a3e20&&(_0x33b98b=_0x3ed458['name']),document[_0x5f37c0(0x2fe)]=_0x33b98b;}));}};Ct=Na([zs(0x0,_0x331bf2),zs(0x1,_0x407e18)],Ct);var xa=Object[_0x22ca65(0x1ac)],La=Object[_0x22ca65(0x4c2)],$a=(_0x8c5d5d,_0x46e13e,_0x3b58c3,_0x149368)=>{const _0x309ca6=_0x22ca65;for(var _0x2e6ae5=_0x149368>0x1?void 0x0:_0x149368?La(_0x46e13e,_0x3b58c3):_0x46e13e,_0x520bb7=_0x8c5d5d[_0x309ca6(0x347)]-0x1,_0x2f455d;_0x520bb7>=0x0;_0x520bb7--)(_0x2f455d=_0x8c5d5d[_0x520bb7])&&(_0x2e6ae5=(_0x149368?_0x2f455d(_0x46e13e,_0x3b58c3,_0x2e6ae5):_0x2f455d(_0x2e6ae5))||_0x2e6ae5);return _0x149368&&_0x2e6ae5&&xa(_0x46e13e,_0x3b58c3,_0x2e6ae5),_0x2e6ae5;},Wt=(_0xaf0d3a,_0x32b3b9)=>(_0x3d51b4,_0x15789e)=>_0x32b3b9(_0x3d51b4,_0x15789e,_0xaf0d3a);let Et=class{constructor(_0x561459,_0x40e963,_0x1c6401){const _0x6d83e2=_0x22ca65;this['_configService']=_0x561459,this[_0x6d83e2(0x118)]=_0x40e963,this[_0x6d83e2(0x323)]=_0x1c6401,this[_0x6d83e2(0x36e)]();}[_0x22ca65(0x36e)](){const _0x2d413f=_0x22ca65;this[_0x2d413f(0x118)][_0x2d413f(0x414)]({'priority':0x1,'interceptor':(_0x5dc150,_0x555a5a)=>_0x555a5a(_0x5dc150)[_0x2d413f(0x3b1)](_0xbac378(async _0x23e1ef=>{const _0x2a37cb=_0x2d413f,_0x3d58a2=_0x23e1ef;if(_0x3d58a2[_0x2a37cb(0x294)]===0x191&&window[_0x2a37cb(0x1e9)](this[_0x2a37cb(0x323)]['t'](_0x2a37cb(0x446)))){const _0x140c75=window['encodeURIComponent'](window['location']['href']);window[_0x2a37cb(0x3d0)][_0x2a37cb(0x383)]=this['_getLoginPath']()+_0x2a37cb(0x491)+_0x140c75;}return _0x3d58a2;}))});}['_getLoginPath'](){const _0xdf61f3=_0x22ca65;var _0x2e72b0,_0x2d7a81;const _0x35cba3=this['_configService'][_0xdf61f3(0x3c7)](Tr),_0x4998aa=this[_0xdf61f3(0x307)][_0xdf61f3(0x3c7)](te);return(_0x2d7a81=(_0x2e72b0=_0x4998aa==null?void 0x0:_0x4998aa['loginUrlKey'])!=null?_0x2e72b0:_0x35cba3)!=null?_0x2d7a81:Rr;}};Et=$a([Wt(0x0,_0x407e18),Wt(0x1,_0x1013ae(_0x5cb2c0)),Wt(0x2,_0x1013ae(_0x199c09))],Et);var Ha=Object[_0x22ca65(0x1ac)],ja=Object['getOwnPropertyDescriptor'],Ba=(_0x4e1665,_0x20c1c9,_0x1ce42b,_0x4fd969)=>{const _0x461355=_0x22ca65;for(var _0x4e4011=_0x4fd969>0x1?void 0x0:_0x4fd969?ja(_0x20c1c9,_0x1ce42b):_0x20c1c9,_0x16cef3=_0x4e1665[_0x461355(0x347)]-0x1,_0x501d5d;_0x16cef3>=0x0;_0x16cef3--)(_0x501d5d=_0x4e1665[_0x16cef3])&&(_0x4e4011=(_0x4fd969?_0x501d5d(_0x20c1c9,_0x1ce42b,_0x4e4011):_0x501d5d(_0x4e4011))||_0x4e4011);return _0x4fd969&&_0x4e4011&&Ha(_0x20c1c9,_0x1ce42b,_0x4e4011),_0x4e4011;},qs=(_0x3067b9,_0xc4eaa4)=>(_0x51a1fc,_0x3bbbce)=>_0xc4eaa4(_0x51a1fc,_0x3bbbce,_0x3067b9);const ka='AUTHZ_URL_KEY',Wa=_0x22ca65(0x1e1);let cs=class extends _0xad8dab{constructor(_0x2d4a3e,_0x51b2ef){const _0x1a747b=_0x22ca65;super(),this[_0x1a747b(0x473)]=_0x2d4a3e,this[_0x1a747b(0x307)]=_0x51b2ef,this[_0x1a747b(0x2da)]();}[_0x22ca65(0x2da)](){const _0x175263=_0x22ca65,_0x16e041=this;this[_0x175263(0x44c)](this[_0x175263(0x473)][_0x175263(0x414)]({'priority':0x3e7,'interceptor':_0x14179a({'isMatch'(_0x4051b3){const _0x4978ee=_0x175263;var _0x5588c2;if(_0x4051b3[_0x4978ee(0x258)]===_0x4978ee(0x3ae)&&((_0x5588c2=_0x4051b3[_0x4978ee(0x3c3)])!=null&&_0x5588c2[_0x4978ee(0x146)])){const {objectID:_0x3f5a18,objectType:_0x265147}=_0x4051b3[_0x4978ee(0x3c3)][_0x4978ee(0x146)]||{};if(!_0x3f5a18||_0x265147===void 0x0)return!0x1;const _0x5a43b4=_0x16e041[_0x4978ee(0x1ce)]()+'/'+_0x265147+_0x4978ee(0x22a)+_0x3f5a18+_0x4978ee(0x4d6);if(_0x4051b3[_0x4978ee(0x326)]===_0x5a43b4)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x182e73){const _0xb93bbf=_0x175263;var _0xfa04fb;return(_0xfa04fb=_0x182e73[_0xb93bbf(0x3c3)])==null?void 0x0:_0xfa04fb[_0xb93bbf(0x146)];},'mergeParamsToRequest'(_0x2d4646,_0x48dc0d){const _0x4a90b8=_0x175263,_0x565b40=_0x16e041[_0x4a90b8(0x1ce)]()+_0x4a90b8(0x44a),_0x2a1923=_0x2d4646['reduce']((_0x1174ba,_0x223340)=>{const _0x349e33=_0x4a90b8,{unitID:_0xfcaf0d,objectID:_0x215480,objectType:_0x386bf5,actions:_0x3b7601}=_0x223340;return _0x1174ba[_0xfcaf0d]||(_0x1174ba[_0xfcaf0d]={}),_0x1174ba[_0xfcaf0d][_0x215480]||(_0x1174ba[_0xfcaf0d][_0x215480]={'objectID':_0x215480,'objectType':_0x386bf5,'actions':[]}),_0x1174ba[_0xfcaf0d][_0x215480][_0x349e33(0x1ea)][_0x349e33(0x2e8)](..._0x3b7601),_0x1174ba;},{}),_0x34d99b=[];for(const _0x14e63b in _0x2a1923)for(const _0x4c5194 in _0x2a1923[_0x14e63b]){const {actions:_0x5c5732,objectType:_0x500abb}=_0x2a1923[_0x14e63b][_0x4c5194],_0x1613d6=[...new Set(_0x5c5732)];_0x34d99b[_0x4a90b8(0x2e8)]({'unitID':_0x14e63b,'objectID':_0x4c5194,'objectType':_0x500abb,'actions':_0x1613d6});}return new _0x4a3831(_0x4a90b8(0x3ae),_0x565b40,{'headers':_0x48dc0d[_0x4a90b8(0x141)],'withCredentials':_0x48dc0d[_0x4a90b8(0x371)],'responseType':_0x48dc0d[_0x4a90b8(0x4d5)],'body':{'requests':_0x34d99b}});}},{'distributeResult'(_0x7f884a,_0x1e581d){const _0x36b691=_0x175263,{objectActions:_0x58bacc}=_0x7f884a;return _0x1e581d[_0x36b691(0x111)](_0x489fa0=>{const _0x2919cd=_0x36b691,{unitID:_0x4d4f29,objectID:_0x832016,actions:_0x540cf6}=_0x489fa0,_0x37781f=_0x58bacc['find'](_0x1bcd44=>_0x1bcd44[_0x2919cd(0x117)]===_0x4d4f29&&_0x1bcd44['objectID']===_0x832016),_0x39e586=_0x540cf6[_0x2919cd(0x111)](_0x233977=>_0x37781f==null?void 0x0:_0x37781f['actions'][_0x2919cd(0x1d6)](_0x100e1b=>_0x100e1b[_0x2919cd(0x28d)]===_0x233977))[_0x2919cd(0x2ac)](_0x194d0f=>!!_0x194d0f);return{'config':_0x489fa0,'result':{'actions':_0x39e586,'error':_0x7f884a[_0x2919cd(0x3a6)]}};});}})}));}[_0x22ca65(0x1ce)](){const _0x145b76=_0x22ca65;var _0x927915,_0x3c4645;const _0x400ad5=this[_0x145b76(0x307)][_0x145b76(0x3c7)](ka),_0x86845a=this[_0x145b76(0x307)][_0x145b76(0x3c7)](te);return(_0x3c4645=(_0x927915=_0x86845a==null?void 0x0:_0x86845a[_0x145b76(0x2ee)])!=null?_0x927915:_0x400ad5)!=null?_0x3c4645:Wa;}async[_0x22ca65(0x12a)](_0x49b798){const _0x2ceece=_0x22ca65,_0x4fca3b=this[_0x2ceece(0x1ce)]()+'/'+_0x49b798[_0x2ceece(0x374)]+'/object';return(await this[_0x2ceece(0x473)][_0x2ceece(0x4dc)](_0x4fca3b,{'body':_0x49b798}))['body'][_0x2ceece(0x30c)]||'';}async[_0x22ca65(0x223)](_0x360bcb){const _0x1cb884=_0x22ca65,_0x30d89f=this[_0x1cb884(0x1ce)]()+_0x1cb884(0x3c2);return(await this[_0x1cb884(0x473)]['post'](_0x30d89f,{'body':_0x360bcb}))['body']['objects'];}async[_0x22ca65(0x2f9)](_0x1ddf29){const _0x396903=_0x22ca65,_0x6f6968=this['_getAPIPrefixPath']()+'/'+_0x1ddf29[_0x396903(0x374)]+_0x396903(0x22a)+_0x1ddf29[_0x396903(0x30c)];await this[_0x396903(0x473)][_0x396903(0x11a)](_0x6f6968,{'body':_0x1ddf29});}async[_0x22ca65(0x506)](_0x41775f){const _0x16c564=_0x22ca65,_0x223cfc=this[_0x16c564(0x1ce)]()+'/'+_0x41775f[_0x16c564(0x374)]+_0x16c564(0x22a)+_0x41775f[_0x16c564(0x30c)]+_0x16c564(0x4d6);return(await this[_0x16c564(0x473)][_0x16c564(0x4dc)](_0x223cfc,{'body':_0x41775f}))[_0x16c564(0x146)][_0x16c564(0x1ea)];}async[_0x22ca65(0x3f5)](_0x170817){const _0x425416=_0x22ca65,_0x2d6457=this[_0x425416(0x1ce)]()+_0x425416(0x44a);return(await this['_HTTPService']['post'](_0x2d6457,{'body':{'requests':_0x170817}}))[_0x425416(0x146)]['objectActions'];}async[_0x22ca65(0x271)](_0xdce6e1){const _0x5ba41a=_0x22ca65,_0x4e2100=this[_0x5ba41a(0x1ce)]()+'/'+_0xdce6e1[_0x5ba41a(0x374)]+_0x5ba41a(0x4ab),_0x1d7102=await this[_0x5ba41a(0x473)][_0x5ba41a(0x4dc)](_0x4e2100,{'body':_0xdce6e1});return{'roles':_0x1d7102[_0x5ba41a(0x146)][_0x5ba41a(0x442)],'actions':_0x1d7102[_0x5ba41a(0x146)][_0x5ba41a(0x1ea)]};}async[_0x22ca65(0x217)](_0x3dded9){const _0x1588ff=_0x22ca65,_0x533271=this[_0x1588ff(0x1ce)]()+'/collaborator';await this[_0x1588ff(0x473)][_0x1588ff(0x2c9)](_0x533271,{'params':{'collaboratorID':_0x3dded9[_0x1588ff(0x2fd)],'objectID':_0x3dded9[_0x1588ff(0x30c)],'unitID':_0x3dded9[_0x1588ff(0x117)]}});}async[_0x22ca65(0x39c)](_0x4d7f4b){const _0x2e6801=_0x22ca65,_0x647171=this[_0x2e6801(0x1ce)]()+_0x2e6801(0x21d);await this[_0x2e6801(0x473)][_0x2e6801(0x2c2)](_0x647171,{'body':_0x4d7f4b});}async[_0x22ca65(0x35d)](_0x4e1ddb){const _0x219b62=_0x22ca65,_0x31eff9=this['_getAPIPrefixPath']()+_0x219b62(0x21d);await this[_0x219b62(0x473)][_0x219b62(0x4dc)](_0x31eff9,{'body':_0x4e1ddb});}async[_0x22ca65(0x176)](_0x301ea6){const _0x2ab362=_0x22ca65,_0x367030=this[_0x2ab362(0x1ce)]()+_0x2ab362(0x21d);return(await this[_0x2ab362(0x473)][_0x2ab362(0x327)](_0x367030,{'params':{'objectID':_0x301ea6[_0x2ab362(0x30c)],'unitID':_0x301ea6[_0x2ab362(0x117)]}}))[_0x2ab362(0x146)][_0x2ab362(0x431)];}async[_0x22ca65(0x4d4)](_0x5c33fc){const _0x2c7ad6=_0x22ca65,_0x3a286c=this[_0x2c7ad6(0x1ce)]()+_0x2c7ad6(0x21d);await this['_HTTPService'][_0x2c7ad6(0x11a)](_0x3a286c,{'body':_0x5c33fc});}};cs=Ba([qs(0x0,_0x1013ae(_0x5cb2c0)),qs(0x1,_0x1013ae(_0x407e18))],cs);var ki={'exports':{}};function Fa(_0x5f4aed){const _0x52763d=_0x22ca65;throw new Error(_0x52763d(0x158)+_0x5f4aed+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ft={'exports':{}},Xs;function ue(){const _0x4e6531=_0x22ca65;return Xs||(Xs=0x1,function(_0x5c8904,_0x814f04){(function(_0x289499,_0x10164c){_0x5c8904['exports']=_0x10164c();}(Z,function(){var _0x59045b=_0x59045b||function(_0x566b73,_0x73dec8){const _0x6bb88e=_0x5acb;var _0x1d4a48;if(typeof window<'u'&&window[_0x6bb88e(0x4a7)]&&(_0x1d4a48=window[_0x6bb88e(0x4a7)]),typeof self<'u'&&self[_0x6bb88e(0x4a7)]&&(_0x1d4a48=self[_0x6bb88e(0x4a7)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1d4a48=globalThis['crypto']),!_0x1d4a48&&typeof window<'u'&&window[_0x6bb88e(0x190)]&&(_0x1d4a48=window[_0x6bb88e(0x190)]),!_0x1d4a48&&typeof Z<'u'&&Z[_0x6bb88e(0x4a7)]&&(_0x1d4a48=Z[_0x6bb88e(0x4a7)]),!_0x1d4a48&&typeof Fa=='function')try{_0x1d4a48=require(_0x6bb88e(0x4a7));}catch{}var _0x5258db=function(){const _0x57f702=_0x6bb88e;if(_0x1d4a48){if(typeof _0x1d4a48[_0x57f702(0x478)]==_0x57f702(0x114))try{return _0x1d4a48['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1d4a48['randomBytes']==_0x57f702(0x114))try{return _0x1d4a48['randomBytes'](0x4)[_0x57f702(0x198)]();}catch{}}throw new Error(_0x57f702(0x306));},_0xa3bba7=Object[_0x6bb88e(0x12a)]||(function(){function _0x1ea9bf(){}return function(_0x323a1c){const _0x997937=_0x5acb;var _0x52c4d7;return _0x1ea9bf['prototype']=_0x323a1c,_0x52c4d7=new _0x1ea9bf(),_0x1ea9bf[_0x997937(0x3f2)]=null,_0x52c4d7;};}()),_0x526168={},_0x3b5e77=_0x526168[_0x6bb88e(0x1b5)]={},_0xf90193=_0x3b5e77[_0x6bb88e(0x1f4)]=(function(){return{'extend':function(_0x1411e7){const _0x43d995=_0x5acb;var _0x43d94c=_0xa3bba7(this);return _0x1411e7&&_0x43d94c[_0x43d995(0x434)](_0x1411e7),(!_0x43d94c['hasOwnProperty'](_0x43d995(0x36e))||this[_0x43d995(0x36e)]===_0x43d94c[_0x43d995(0x36e)])&&(_0x43d94c['init']=function(){const _0x36852e=_0x43d995;_0x43d94c['$super']['init'][_0x36852e(0x4f3)](this,arguments);}),_0x43d94c[_0x43d995(0x36e)][_0x43d995(0x3f2)]=_0x43d94c,_0x43d94c[_0x43d995(0x2c4)]=this,_0x43d94c;},'create':function(){const _0x2c3959=_0x5acb;var _0x12d902=this['extend']();return _0x12d902[_0x2c3959(0x36e)]['apply'](_0x12d902,arguments),_0x12d902;},'init':function(){},'mixIn':function(_0x41a47a){const _0xbd8293=_0x5acb;for(var _0x42e9b5 in _0x41a47a)_0x41a47a[_0xbd8293(0x32e)](_0x42e9b5)&&(this[_0x42e9b5]=_0x41a47a[_0x42e9b5]);_0x41a47a[_0xbd8293(0x32e)](_0xbd8293(0x2ad))&&(this['toString']=_0x41a47a[_0xbd8293(0x2ad)]);},'clone':function(){const _0x556775=_0x5acb;return this[_0x556775(0x36e)][_0x556775(0x3f2)]['extend'](this);}};}()),_0x36b956=_0x3b5e77[_0x6bb88e(0x142)]=_0xf90193[_0x6bb88e(0x2f6)]({'init':function(_0x2aa6a3,_0x38282a){const _0x19c4d5=_0x6bb88e;_0x2aa6a3=this[_0x19c4d5(0x1cf)]=_0x2aa6a3||[],_0x38282a!=_0x73dec8?this[_0x19c4d5(0x259)]=_0x38282a:this['sigBytes']=_0x2aa6a3[_0x19c4d5(0x347)]*0x4;},'toString':function(_0xa226c2){return(_0xa226c2||_0x5a9c39)['stringify'](this);},'concat':function(_0xc15525){const _0x26e7d6=_0x6bb88e;var _0x13c256=this[_0x26e7d6(0x1cf)],_0x2ecb2c=_0xc15525['words'],_0x5d349f=this[_0x26e7d6(0x259)],_0x25a8fd=_0xc15525[_0x26e7d6(0x259)];if(this[_0x26e7d6(0x4a4)](),_0x5d349f%0x4)for(var _0x21c579=0x0;_0x21c579<_0x25a8fd;_0x21c579++){var _0x57ac3a=_0x2ecb2c[_0x21c579>>>0x2]>>>0x18-_0x21c579%0x4*0x8&0xff;_0x13c256[_0x5d349f+_0x21c579>>>0x2]|=_0x57ac3a<<0x18-(_0x5d349f+_0x21c579)%0x4*0x8;}else{for(var _0x1e9d1e=0x0;_0x1e9d1e<_0x25a8fd;_0x1e9d1e+=0x4)_0x13c256[_0x5d349f+_0x1e9d1e>>>0x2]=_0x2ecb2c[_0x1e9d1e>>>0x2];}return this['sigBytes']+=_0x25a8fd,this;},'clamp':function(){const _0xd19a31=_0x6bb88e;var _0x4d5444=this['words'],_0x3cc9c9=this[_0xd19a31(0x259)];_0x4d5444[_0x3cc9c9>>>0x2]&=0xffffffff<<0x20-_0x3cc9c9%0x4*0x8,_0x4d5444[_0xd19a31(0x347)]=_0x566b73[_0xd19a31(0x281)](_0x3cc9c9/0x4);},'clone':function(){const _0xb0253b=_0x6bb88e;var _0x232829=_0xf90193[_0xb0253b(0x170)][_0xb0253b(0x16e)](this);return _0x232829[_0xb0253b(0x1cf)]=this[_0xb0253b(0x1cf)][_0xb0253b(0x346)](0x0),_0x232829;},'random':function(_0x4c3c91){const _0x4c1e93=_0x6bb88e;for(var _0x3b921d=[],_0x2dd0c0=0x0;_0x2dd0c0<_0x4c3c91;_0x2dd0c0+=0x4)_0x3b921d['push'](_0x5258db());return new _0x36b956[(_0x4c1e93(0x36e))](_0x3b921d,_0x4c3c91);}}),_0x171fe8=_0x526168[_0x6bb88e(0x213)]={},_0x5a9c39=_0x171fe8[_0x6bb88e(0x393)]={'stringify':function(_0x1b6e4c){const _0x30f984=_0x6bb88e;for(var _0x31f417=_0x1b6e4c[_0x30f984(0x1cf)],_0x44f251=_0x1b6e4c[_0x30f984(0x259)],_0x368ddd=[],_0x1b093c=0x0;_0x1b093c<_0x44f251;_0x1b093c++){var _0x233b95=_0x31f417[_0x1b093c>>>0x2]>>>0x18-_0x1b093c%0x4*0x8&0xff;_0x368ddd[_0x30f984(0x2e8)]((_0x233b95>>>0x4)[_0x30f984(0x2ad)](0x10)),_0x368ddd[_0x30f984(0x2e8)]((_0x233b95&0xf)['toString'](0x10));}return _0x368ddd[_0x30f984(0x3a5)]('');},'parse':function(_0x15d5fb){const _0x4c43ba=_0x6bb88e;for(var _0x14eaaf=_0x15d5fb[_0x4c43ba(0x347)],_0x4999ee=[],_0x546774=0x0;_0x546774<_0x14eaaf;_0x546774+=0x2)_0x4999ee[_0x546774>>>0x3]|=parseInt(_0x15d5fb[_0x4c43ba(0x148)](_0x546774,0x2),0x10)<<0x18-_0x546774%0x8*0x4;return new _0x36b956[(_0x4c43ba(0x36e))](_0x4999ee,_0x14eaaf/0x2);}},_0x392ce0=_0x171fe8['Latin1']={'stringify':function(_0x216259){const _0x156774=_0x6bb88e;for(var _0x15b8fc=_0x216259['words'],_0x4bbdf1=_0x216259['sigBytes'],_0x2dbb58=[],_0x2ba10f=0x0;_0x2ba10f<_0x4bbdf1;_0x2ba10f++){var _0x2c46f6=_0x15b8fc[_0x2ba10f>>>0x2]>>>0x18-_0x2ba10f%0x4*0x8&0xff;_0x2dbb58['push'](String[_0x156774(0x269)](_0x2c46f6));}return _0x2dbb58[_0x156774(0x3a5)]('');},'parse':function(_0x4adedb){const _0x103796=_0x6bb88e;for(var _0x1edb76=_0x4adedb[_0x103796(0x347)],_0x34476d=[],_0x249ed9=0x0;_0x249ed9<_0x1edb76;_0x249ed9++)_0x34476d[_0x249ed9>>>0x2]|=(_0x4adedb[_0x103796(0x3c9)](_0x249ed9)&0xff)<<0x18-_0x249ed9%0x4*0x8;return new _0x36b956[(_0x103796(0x36e))](_0x34476d,_0x1edb76);}},_0x560a3a=_0x171fe8[_0x6bb88e(0x208)]={'stringify':function(_0xf442fa){const _0x54be22=_0x6bb88e;try{return decodeURIComponent(escape(_0x392ce0[_0x54be22(0x50b)](_0xf442fa)));}catch{throw new Error(_0x54be22(0x151));}},'parse':function(_0x3df386){const _0x33b183=_0x6bb88e;return _0x392ce0[_0x33b183(0x463)](unescape(encodeURIComponent(_0x3df386)));}},_0x1c44af=_0x3b5e77['BufferedBlockAlgorithm']=_0xf90193['extend']({'reset':function(){const _0x1d04bc=_0x6bb88e;this['_data']=new _0x36b956[(_0x1d04bc(0x36e))](),this[_0x1d04bc(0x26b)]=0x0;},'_append':function(_0x57b212){const _0x5eb3f6=_0x6bb88e;typeof _0x57b212==_0x5eb3f6(0x4d8)&&(_0x57b212=_0x560a3a[_0x5eb3f6(0x463)](_0x57b212)),this['_data']['concat'](_0x57b212),this[_0x5eb3f6(0x26b)]+=_0x57b212['sigBytes'];},'_process':function(_0x14b7eb){const _0x4492ac=_0x6bb88e;var _0x4c1389,_0x283eeb=this[_0x4492ac(0x471)],_0x977438=_0x283eeb['words'],_0xa2b819=_0x283eeb[_0x4492ac(0x259)],_0x349514=this['blockSize'],_0x5e7db2=_0x349514*0x4,_0x2de571=_0xa2b819/_0x5e7db2;_0x14b7eb?_0x2de571=_0x566b73['ceil'](_0x2de571):_0x2de571=_0x566b73[_0x4492ac(0x45d)]((_0x2de571|0x0)-this[_0x4492ac(0x1bb)],0x0);var _0x2bbce4=_0x2de571*_0x349514,_0x8ce822=_0x566b73[_0x4492ac(0x242)](_0x2bbce4*0x4,_0xa2b819);if(_0x2bbce4){for(var _0x45a395=0x0;_0x45a395<_0x2bbce4;_0x45a395+=_0x349514)this['_doProcessBlock'](_0x977438,_0x45a395);_0x4c1389=_0x977438[_0x4492ac(0x11b)](0x0,_0x2bbce4),_0x283eeb[_0x4492ac(0x259)]-=_0x8ce822;}return new _0x36b956[(_0x4492ac(0x36e))](_0x4c1389,_0x8ce822);},'clone':function(){const _0x25dfa3=_0x6bb88e;var _0xcc9e02=_0xf90193[_0x25dfa3(0x170)][_0x25dfa3(0x16e)](this);return _0xcc9e02[_0x25dfa3(0x471)]=this[_0x25dfa3(0x471)][_0x25dfa3(0x170)](),_0xcc9e02;},'_minBufferSize':0x0});_0x3b5e77['Hasher']=_0x1c44af[_0x6bb88e(0x2f6)]({'cfg':_0xf90193[_0x6bb88e(0x2f6)](),'init':function(_0x9d058c){const _0xdb070b=_0x6bb88e;this[_0xdb070b(0x4e0)]=this[_0xdb070b(0x4e0)]['extend'](_0x9d058c),this['reset']();},'reset':function(){const _0x17e58b=_0x6bb88e;_0x1c44af[_0x17e58b(0x1ff)]['call'](this),this['_doReset']();},'update':function(_0x3d3c92){const _0x13971d=_0x6bb88e;return this[_0x13971d(0x218)](_0x3d3c92),this[_0x13971d(0x211)](),this;},'finalize':function(_0x972152){const _0x4369df=_0x6bb88e;_0x972152&&this[_0x4369df(0x218)](_0x972152);var _0x46c7de=this[_0x4369df(0x4b8)]();return _0x46c7de;},'blockSize':0x10,'_createHelper':function(_0xbcc888){return function(_0x1d23b4,_0x8d5018){const _0x4f9962=_0x5acb;return new _0xbcc888['init'](_0x8d5018)[_0x4f9962(0x48c)](_0x1d23b4);};},'_createHmacHelper':function(_0x2fd3e9){return function(_0x2f4964,_0x247b67){const _0x1fe1f6=_0x5acb;return new _0x561367[(_0x1fe1f6(0x1ee))][(_0x1fe1f6(0x36e))](_0x2fd3e9,_0x247b67)['finalize'](_0x2f4964);};}});var _0x561367=_0x526168[_0x6bb88e(0x487)]={};return _0x526168;}(Math);return _0x59045b;}));}(Ft)),Ft[_0x4e6531(0x29d)];}var Vt={'exports':{}},Js;function Wi(){const _0x4b1445=_0x22ca65;return Js||(Js=0x1,function(_0x66e34,_0x1cdd45){(function(_0xe31281,_0x1910c1){const _0x2b4cd7=_0x5acb;_0x66e34[_0x2b4cd7(0x29d)]=_0x1910c1(ue());}(Z,function(_0x5d1ebc){const _0x46375d=_0x5acb;return(function(){const _0x49cb3c=_0x5acb;var _0x1e222f=_0x5d1ebc,_0x2f76fd=_0x1e222f[_0x49cb3c(0x1b5)],_0xb1054f=_0x2f76fd[_0x49cb3c(0x142)],_0x1ff859=_0x1e222f[_0x49cb3c(0x213)];_0x1ff859[_0x49cb3c(0x123)]={'stringify':function(_0xb4cd68){const _0x5f3054=_0x49cb3c;var _0x31313c=_0xb4cd68['words'],_0xa24198=_0xb4cd68[_0x5f3054(0x259)],_0xe8094b=this[_0x5f3054(0x333)];_0xb4cd68[_0x5f3054(0x4a4)]();for(var _0x3748b6=[],_0x2a9db3=0x0;_0x2a9db3<_0xa24198;_0x2a9db3+=0x3)for(var _0x4b88ee=_0x31313c[_0x2a9db3>>>0x2]>>>0x18-_0x2a9db3%0x4*0x8&0xff,_0x58ff47=_0x31313c[_0x2a9db3+0x1>>>0x2]>>>0x18-(_0x2a9db3+0x1)%0x4*0x8&0xff,_0x508331=_0x31313c[_0x2a9db3+0x2>>>0x2]>>>0x18-(_0x2a9db3+0x2)%0x4*0x8&0xff,_0x289bbb=_0x4b88ee<<0x10|_0x58ff47<<0x8|_0x508331,_0x19e8f2=0x0;_0x19e8f2<0x4&&_0x2a9db3+_0x19e8f2*0.75<_0xa24198;_0x19e8f2++)_0x3748b6['push'](_0xe8094b['charAt'](_0x289bbb>>>0x6*(0x3-_0x19e8f2)&0x3f));var _0x56b2db=_0xe8094b[_0x5f3054(0x420)](0x40);if(_0x56b2db){for(;_0x3748b6[_0x5f3054(0x347)]%0x4;)_0x3748b6['push'](_0x56b2db);}return _0x3748b6[_0x5f3054(0x3a5)]('');},'parse':function(_0x5a001d){const _0x1cb66c=_0x49cb3c;var _0x253bdb=_0x5a001d[_0x1cb66c(0x347)],_0x57979f=this[_0x1cb66c(0x333)],_0x53cfa2=this[_0x1cb66c(0x3fe)];if(!_0x53cfa2){_0x53cfa2=this[_0x1cb66c(0x3fe)]=[];for(var _0x5a6935=0x0;_0x5a6935<_0x57979f[_0x1cb66c(0x347)];_0x5a6935++)_0x53cfa2[_0x57979f[_0x1cb66c(0x3c9)](_0x5a6935)]=_0x5a6935;}var _0x3fc64b=_0x57979f[_0x1cb66c(0x420)](0x40);if(_0x3fc64b){var _0x3712be=_0x5a001d['indexOf'](_0x3fc64b);_0x3712be!==-0x1&&(_0x253bdb=_0x3712be);}return _0x55a3da(_0x5a001d,_0x253bdb,_0x53cfa2);},'_map':_0x49cb3c(0x278)};function _0x55a3da(_0x53f601,_0x3d4398,_0x22230c){const _0x43b52c=_0x49cb3c;for(var _0x445dfb=[],_0x2401e8=0x0,_0x135488=0x0;_0x135488<_0x3d4398;_0x135488++)if(_0x135488%0x4){var _0x5bfc7d=_0x22230c[_0x53f601['charCodeAt'](_0x135488-0x1)]<<_0x135488%0x4*0x2,_0x5ee42d=_0x22230c[_0x53f601['charCodeAt'](_0x135488)]>>>0x6-_0x135488%0x4*0x2,_0x1e286d=_0x5bfc7d|_0x5ee42d;_0x445dfb[_0x2401e8>>>0x2]|=_0x1e286d<<0x18-_0x2401e8%0x4*0x8,_0x2401e8++;}return _0xb1054f[_0x43b52c(0x12a)](_0x445dfb,_0x2401e8);}}()),_0x5d1ebc['enc'][_0x46375d(0x123)];}));}(Vt)),Vt[_0x4b1445(0x29d)];}var Gt={'exports':{}},Zs;function Va(){const _0x3062b4=_0x22ca65;return Zs||(Zs=0x1,function(_0x2ab65f,_0x1efef6){(function(_0x5a845f,_0x50fb6b){const _0x3ddefa=_0x5acb;_0x2ab65f[_0x3ddefa(0x29d)]=_0x50fb6b(ue());}(Z,function(_0x5b7fc2){const _0x3ef56e=_0x5acb;return function(_0x48f3dc){const _0x40f1a3=_0x5acb;var _0x1620d3=_0x5b7fc2,_0x50d6df=_0x1620d3[_0x40f1a3(0x1b5)],_0x29e668=_0x50d6df[_0x40f1a3(0x142)],_0x1f9323=_0x50d6df[_0x40f1a3(0x19c)],_0x52b73f=_0x1620d3[_0x40f1a3(0x487)],_0x5e6251=[];(function(){const _0x493304=_0x40f1a3;for(var _0x382221=0x0;_0x382221<0x40;_0x382221++)_0x5e6251[_0x382221]=_0x48f3dc[_0x493304(0x47b)](_0x48f3dc['sin'](_0x382221+0x1))*0x100000000|0x0;}());var _0x1e441c=_0x52b73f['MD5']=_0x1f9323[_0x40f1a3(0x2f6)]({'_doReset':function(){const _0x1e20df=_0x40f1a3;this[_0x1e20df(0x458)]=new _0x29e668[(_0x1e20df(0x36e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3fb2c6,_0x3d941f){const _0x5b3faa=_0x40f1a3;for(var _0x5499e0=0x0;_0x5499e0<0x10;_0x5499e0++){var _0x3980b2=_0x3d941f+_0x5499e0,_0x42eb40=_0x3fb2c6[_0x3980b2];_0x3fb2c6[_0x3980b2]=(_0x42eb40<<0x8|_0x42eb40>>>0x18)&0xff00ff|(_0x42eb40<<0x18|_0x42eb40>>>0x8)&0xff00ff00;}var _0x27472e=this[_0x5b3faa(0x458)][_0x5b3faa(0x1cf)],_0x1a3c4f=_0x3fb2c6[_0x3d941f+0x0],_0x54d4a6=_0x3fb2c6[_0x3d941f+0x1],_0x5d248e=_0x3fb2c6[_0x3d941f+0x2],_0x32eb75=_0x3fb2c6[_0x3d941f+0x3],_0x1c4ef5=_0x3fb2c6[_0x3d941f+0x4],_0x2a5476=_0x3fb2c6[_0x3d941f+0x5],_0x5f2bda=_0x3fb2c6[_0x3d941f+0x6],_0x1a9ee0=_0x3fb2c6[_0x3d941f+0x7],_0x40535f=_0x3fb2c6[_0x3d941f+0x8],_0xf20b74=_0x3fb2c6[_0x3d941f+0x9],_0x7ba0a6=_0x3fb2c6[_0x3d941f+0xa],_0x4d56a0=_0x3fb2c6[_0x3d941f+0xb],_0x19415c=_0x3fb2c6[_0x3d941f+0xc],_0x5c395e=_0x3fb2c6[_0x3d941f+0xd],_0x654679=_0x3fb2c6[_0x3d941f+0xe],_0x33adce=_0x3fb2c6[_0x3d941f+0xf],_0x13f307=_0x27472e[0x0],_0x387760=_0x27472e[0x1],_0x102be8=_0x27472e[0x2],_0x122bc2=_0x27472e[0x3];_0x13f307=_0x500545(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x1a3c4f,0x7,_0x5e6251[0x0]),_0x122bc2=_0x500545(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x54d4a6,0xc,_0x5e6251[0x1]),_0x102be8=_0x500545(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x5d248e,0x11,_0x5e6251[0x2]),_0x387760=_0x500545(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x32eb75,0x16,_0x5e6251[0x3]),_0x13f307=_0x500545(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x1c4ef5,0x7,_0x5e6251[0x4]),_0x122bc2=_0x500545(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x2a5476,0xc,_0x5e6251[0x5]),_0x102be8=_0x500545(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x5f2bda,0x11,_0x5e6251[0x6]),_0x387760=_0x500545(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x1a9ee0,0x16,_0x5e6251[0x7]),_0x13f307=_0x500545(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x40535f,0x7,_0x5e6251[0x8]),_0x122bc2=_0x500545(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0xf20b74,0xc,_0x5e6251[0x9]),_0x102be8=_0x500545(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x7ba0a6,0x11,_0x5e6251[0xa]),_0x387760=_0x500545(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x4d56a0,0x16,_0x5e6251[0xb]),_0x13f307=_0x500545(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x19415c,0x7,_0x5e6251[0xc]),_0x122bc2=_0x500545(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x5c395e,0xc,_0x5e6251[0xd]),_0x102be8=_0x500545(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x654679,0x11,_0x5e6251[0xe]),_0x387760=_0x500545(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x33adce,0x16,_0x5e6251[0xf]),_0x13f307=_0xb85c5e(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x54d4a6,0x5,_0x5e6251[0x10]),_0x122bc2=_0xb85c5e(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x5f2bda,0x9,_0x5e6251[0x11]),_0x102be8=_0xb85c5e(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x4d56a0,0xe,_0x5e6251[0x12]),_0x387760=_0xb85c5e(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x1a3c4f,0x14,_0x5e6251[0x13]),_0x13f307=_0xb85c5e(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x2a5476,0x5,_0x5e6251[0x14]),_0x122bc2=_0xb85c5e(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x7ba0a6,0x9,_0x5e6251[0x15]),_0x102be8=_0xb85c5e(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x33adce,0xe,_0x5e6251[0x16]),_0x387760=_0xb85c5e(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x1c4ef5,0x14,_0x5e6251[0x17]),_0x13f307=_0xb85c5e(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0xf20b74,0x5,_0x5e6251[0x18]),_0x122bc2=_0xb85c5e(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x654679,0x9,_0x5e6251[0x19]),_0x102be8=_0xb85c5e(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x32eb75,0xe,_0x5e6251[0x1a]),_0x387760=_0xb85c5e(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x40535f,0x14,_0x5e6251[0x1b]),_0x13f307=_0xb85c5e(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x5c395e,0x5,_0x5e6251[0x1c]),_0x122bc2=_0xb85c5e(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x5d248e,0x9,_0x5e6251[0x1d]),_0x102be8=_0xb85c5e(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x1a9ee0,0xe,_0x5e6251[0x1e]),_0x387760=_0xb85c5e(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x19415c,0x14,_0x5e6251[0x1f]),_0x13f307=_0x3e55f3(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x2a5476,0x4,_0x5e6251[0x20]),_0x122bc2=_0x3e55f3(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x40535f,0xb,_0x5e6251[0x21]),_0x102be8=_0x3e55f3(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x4d56a0,0x10,_0x5e6251[0x22]),_0x387760=_0x3e55f3(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x654679,0x17,_0x5e6251[0x23]),_0x13f307=_0x3e55f3(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x54d4a6,0x4,_0x5e6251[0x24]),_0x122bc2=_0x3e55f3(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x1c4ef5,0xb,_0x5e6251[0x25]),_0x102be8=_0x3e55f3(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x1a9ee0,0x10,_0x5e6251[0x26]),_0x387760=_0x3e55f3(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x7ba0a6,0x17,_0x5e6251[0x27]),_0x13f307=_0x3e55f3(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x5c395e,0x4,_0x5e6251[0x28]),_0x122bc2=_0x3e55f3(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x1a3c4f,0xb,_0x5e6251[0x29]),_0x102be8=_0x3e55f3(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x32eb75,0x10,_0x5e6251[0x2a]),_0x387760=_0x3e55f3(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x5f2bda,0x17,_0x5e6251[0x2b]),_0x13f307=_0x3e55f3(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0xf20b74,0x4,_0x5e6251[0x2c]),_0x122bc2=_0x3e55f3(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x19415c,0xb,_0x5e6251[0x2d]),_0x102be8=_0x3e55f3(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x33adce,0x10,_0x5e6251[0x2e]),_0x387760=_0x3e55f3(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x5d248e,0x17,_0x5e6251[0x2f]),_0x13f307=_0x5146af(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x1a3c4f,0x6,_0x5e6251[0x30]),_0x122bc2=_0x5146af(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x1a9ee0,0xa,_0x5e6251[0x31]),_0x102be8=_0x5146af(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x654679,0xf,_0x5e6251[0x32]),_0x387760=_0x5146af(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x2a5476,0x15,_0x5e6251[0x33]),_0x13f307=_0x5146af(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x19415c,0x6,_0x5e6251[0x34]),_0x122bc2=_0x5146af(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x32eb75,0xa,_0x5e6251[0x35]),_0x102be8=_0x5146af(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x7ba0a6,0xf,_0x5e6251[0x36]),_0x387760=_0x5146af(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x54d4a6,0x15,_0x5e6251[0x37]),_0x13f307=_0x5146af(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x40535f,0x6,_0x5e6251[0x38]),_0x122bc2=_0x5146af(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x33adce,0xa,_0x5e6251[0x39]),_0x102be8=_0x5146af(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x5f2bda,0xf,_0x5e6251[0x3a]),_0x387760=_0x5146af(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0x5c395e,0x15,_0x5e6251[0x3b]),_0x13f307=_0x5146af(_0x13f307,_0x387760,_0x102be8,_0x122bc2,_0x1c4ef5,0x6,_0x5e6251[0x3c]),_0x122bc2=_0x5146af(_0x122bc2,_0x13f307,_0x387760,_0x102be8,_0x4d56a0,0xa,_0x5e6251[0x3d]),_0x102be8=_0x5146af(_0x102be8,_0x122bc2,_0x13f307,_0x387760,_0x5d248e,0xf,_0x5e6251[0x3e]),_0x387760=_0x5146af(_0x387760,_0x102be8,_0x122bc2,_0x13f307,_0xf20b74,0x15,_0x5e6251[0x3f]),_0x27472e[0x0]=_0x27472e[0x0]+_0x13f307|0x0,_0x27472e[0x1]=_0x27472e[0x1]+_0x387760|0x0,_0x27472e[0x2]=_0x27472e[0x2]+_0x102be8|0x0,_0x27472e[0x3]=_0x27472e[0x3]+_0x122bc2|0x0;},'_doFinalize':function(){const _0xe57cb6=_0x40f1a3;var _0x5969b7=this[_0xe57cb6(0x471)],_0xf333e1=_0x5969b7[_0xe57cb6(0x1cf)],_0x57f5ce=this['_nDataBytes']*0x8,_0x11beae=_0x5969b7[_0xe57cb6(0x259)]*0x8;_0xf333e1[_0x11beae>>>0x5]|=0x80<<0x18-_0x11beae%0x20;var _0x9d1b96=_0x48f3dc[_0xe57cb6(0x289)](_0x57f5ce/0x100000000),_0x3a4ecd=_0x57f5ce;_0xf333e1[(_0x11beae+0x40>>>0x9<<0x4)+0xf]=(_0x9d1b96<<0x8|_0x9d1b96>>>0x18)&0xff00ff|(_0x9d1b96<<0x18|_0x9d1b96>>>0x8)&0xff00ff00,_0xf333e1[(_0x11beae+0x40>>>0x9<<0x4)+0xe]=(_0x3a4ecd<<0x8|_0x3a4ecd>>>0x18)&0xff00ff|(_0x3a4ecd<<0x18|_0x3a4ecd>>>0x8)&0xff00ff00,_0x5969b7[_0xe57cb6(0x259)]=(_0xf333e1[_0xe57cb6(0x347)]+0x1)*0x4,this[_0xe57cb6(0x211)]();for(var _0x578df9=this['_hash'],_0x213270=_0x578df9[_0xe57cb6(0x1cf)],_0xf8fece=0x0;_0xf8fece<0x4;_0xf8fece++){var _0x4e237d=_0x213270[_0xf8fece];_0x213270[_0xf8fece]=(_0x4e237d<<0x8|_0x4e237d>>>0x18)&0xff00ff|(_0x4e237d<<0x18|_0x4e237d>>>0x8)&0xff00ff00;}return _0x578df9;},'clone':function(){const _0x1911ef=_0x40f1a3;var _0x6a03b7=_0x1f9323['clone']['call'](this);return _0x6a03b7[_0x1911ef(0x458)]=this[_0x1911ef(0x458)][_0x1911ef(0x170)](),_0x6a03b7;}});function _0x500545(_0x5c1bba,_0x1fa396,_0x4041da,_0x2e63fe,_0x38a6aa,_0x53b736,_0x590a04){var _0xd91835=_0x5c1bba+(_0x1fa396&_0x4041da|~_0x1fa396&_0x2e63fe)+_0x38a6aa+_0x590a04;return(_0xd91835<<_0x53b736|_0xd91835>>>0x20-_0x53b736)+_0x1fa396;}function _0xb85c5e(_0x24a0d8,_0x26d4b9,_0x5e11b9,_0x40c109,_0x158164,_0x7891a,_0x58437b){var _0x5ec0a0=_0x24a0d8+(_0x26d4b9&_0x40c109|_0x5e11b9&~_0x40c109)+_0x158164+_0x58437b;return(_0x5ec0a0<<_0x7891a|_0x5ec0a0>>>0x20-_0x7891a)+_0x26d4b9;}function _0x3e55f3(_0x1d3249,_0x1782a0,_0xf44bf,_0x12d527,_0x1dbc3d,_0x421e63,_0x563194){var _0x7842df=_0x1d3249+(_0x1782a0^_0xf44bf^_0x12d527)+_0x1dbc3d+_0x563194;return(_0x7842df<<_0x421e63|_0x7842df>>>0x20-_0x421e63)+_0x1782a0;}function _0x5146af(_0x2ebe72,_0x5353f7,_0x12c66e,_0x3852c2,_0x36071b,_0x2d1111,_0x1030d5){var _0xed49=_0x2ebe72+(_0x12c66e^(_0x5353f7|~_0x3852c2))+_0x36071b+_0x1030d5;return(_0xed49<<_0x2d1111|_0xed49>>>0x20-_0x2d1111)+_0x5353f7;}_0x1620d3[_0x40f1a3(0x4e2)]=_0x1f9323['_createHelper'](_0x1e441c),_0x1620d3[_0x40f1a3(0x309)]=_0x1f9323[_0x40f1a3(0x2fc)](_0x1e441c);}(Math),_0x5b7fc2[_0x3ef56e(0x4e2)];}));}(Gt)),Gt[_0x3062b4(0x29d)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function Ga(){const _0x420fd3=_0x22ca65;return Qs||(Qs=0x1,function(_0x155172,_0x1cb9d7){(function(_0x4cd71c,_0x2a916a){_0x155172['exports']=_0x2a916a(ue());}(Z,function(_0x1bfc86){const _0x27f67b=_0x5acb;return(function(){const _0x1ab3fe=_0x5acb;var _0x12af19=_0x1bfc86,_0x34a0a1=_0x12af19['lib'],_0x4511a1=_0x34a0a1[_0x1ab3fe(0x142)],_0x130ec2=_0x34a0a1[_0x1ab3fe(0x19c)],_0x3a6789=_0x12af19[_0x1ab3fe(0x487)],_0x5051e8=[],_0x34476f=_0x3a6789[_0x1ab3fe(0x2e3)]=_0x130ec2[_0x1ab3fe(0x2f6)]({'_doReset':function(){const _0x1eb7ca=_0x1ab3fe;this[_0x1eb7ca(0x458)]=new _0x4511a1[(_0x1eb7ca(0x36e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x346321,_0x5998c8){const _0x257c39=_0x1ab3fe;for(var _0x4791dc=this[_0x257c39(0x458)][_0x257c39(0x1cf)],_0x4f18bd=_0x4791dc[0x0],_0x426f0e=_0x4791dc[0x1],_0x54dcff=_0x4791dc[0x2],_0x330bd0=_0x4791dc[0x3],_0x5b3028=_0x4791dc[0x4],_0x44842f=0x0;_0x44842f<0x50;_0x44842f++){if(_0x44842f<0x10)_0x5051e8[_0x44842f]=_0x346321[_0x5998c8+_0x44842f]|0x0;else{var _0x108594=_0x5051e8[_0x44842f-0x3]^_0x5051e8[_0x44842f-0x8]^_0x5051e8[_0x44842f-0xe]^_0x5051e8[_0x44842f-0x10];_0x5051e8[_0x44842f]=_0x108594<<0x1|_0x108594>>>0x1f;}var _0x1c42be=(_0x4f18bd<<0x5|_0x4f18bd>>>0x1b)+_0x5b3028+_0x5051e8[_0x44842f];_0x44842f<0x14?_0x1c42be+=(_0x426f0e&_0x54dcff|~_0x426f0e&_0x330bd0)+0x5a827999:_0x44842f<0x28?_0x1c42be+=(_0x426f0e^_0x54dcff^_0x330bd0)+0x6ed9eba1:_0x44842f<0x3c?_0x1c42be+=(_0x426f0e&_0x54dcff|_0x426f0e&_0x330bd0|_0x54dcff&_0x330bd0)-0x70e44324:_0x1c42be+=(_0x426f0e^_0x54dcff^_0x330bd0)-0x359d3e2a,_0x5b3028=_0x330bd0,_0x330bd0=_0x54dcff,_0x54dcff=_0x426f0e<<0x1e|_0x426f0e>>>0x2,_0x426f0e=_0x4f18bd,_0x4f18bd=_0x1c42be;}_0x4791dc[0x0]=_0x4791dc[0x0]+_0x4f18bd|0x0,_0x4791dc[0x1]=_0x4791dc[0x1]+_0x426f0e|0x0,_0x4791dc[0x2]=_0x4791dc[0x2]+_0x54dcff|0x0,_0x4791dc[0x3]=_0x4791dc[0x3]+_0x330bd0|0x0,_0x4791dc[0x4]=_0x4791dc[0x4]+_0x5b3028|0x0;},'_doFinalize':function(){const _0x37fc9e=_0x1ab3fe;var _0x3e80ea=this[_0x37fc9e(0x471)],_0x55a705=_0x3e80ea[_0x37fc9e(0x1cf)],_0x59362c=this['_nDataBytes']*0x8,_0x1fab8e=_0x3e80ea['sigBytes']*0x8;return _0x55a705[_0x1fab8e>>>0x5]|=0x80<<0x18-_0x1fab8e%0x20,_0x55a705[(_0x1fab8e+0x40>>>0x9<<0x4)+0xe]=Math[_0x37fc9e(0x289)](_0x59362c/0x100000000),_0x55a705[(_0x1fab8e+0x40>>>0x9<<0x4)+0xf]=_0x59362c,_0x3e80ea[_0x37fc9e(0x259)]=_0x55a705['length']*0x4,this[_0x37fc9e(0x211)](),this[_0x37fc9e(0x458)];},'clone':function(){const _0x5e271c=_0x1ab3fe;var _0x3f1675=_0x130ec2[_0x5e271c(0x170)][_0x5e271c(0x16e)](this);return _0x3f1675[_0x5e271c(0x458)]=this[_0x5e271c(0x458)]['clone'](),_0x3f1675;}});_0x12af19[_0x1ab3fe(0x2e3)]=_0x130ec2[_0x1ab3fe(0x4cc)](_0x34476f),_0x12af19[_0x1ab3fe(0x2d7)]=_0x130ec2['_createHmacHelper'](_0x34476f);}()),_0x1bfc86[_0x27f67b(0x2e3)];}));}(Kt)),Kt[_0x420fd3(0x29d)];}var zt={'exports':{}},ei;function Ya(){const _0x88a41c=_0x22ca65;return ei||(ei=0x1,function(_0x725dde,_0x5b4169){(function(_0x17fb8,_0x1d6ab6){const _0x59b3d3=_0x5acb;_0x725dde[_0x59b3d3(0x29d)]=_0x1d6ab6(ue());}(Z,function(_0xbc730f){(function(){const _0x320049=_0x5acb;var _0x4df089=_0xbc730f,_0x3b2aaa=_0x4df089['lib'],_0x5eeb13=_0x3b2aaa[_0x320049(0x1f4)],_0x46d4ba=_0x4df089[_0x320049(0x213)],_0x2b9134=_0x46d4ba[_0x320049(0x208)],_0x58e2ea=_0x4df089[_0x320049(0x487)];_0x58e2ea[_0x320049(0x1ee)]=_0x5eeb13[_0x320049(0x2f6)]({'init':function(_0x4dcb49,_0x4a9cfc){const _0xb938bf=_0x320049;_0x4dcb49=this[_0xb938bf(0x3b8)]=new _0x4dcb49[(_0xb938bf(0x36e))](),typeof _0x4a9cfc==_0xb938bf(0x4d8)&&(_0x4a9cfc=_0x2b9134[_0xb938bf(0x463)](_0x4a9cfc));var _0x25b523=_0x4dcb49['blockSize'],_0x80426c=_0x25b523*0x4;_0x4a9cfc['sigBytes']>_0x80426c&&(_0x4a9cfc=_0x4dcb49[_0xb938bf(0x48c)](_0x4a9cfc)),_0x4a9cfc[_0xb938bf(0x4a4)]();for(var _0x5e9a9a=this[_0xb938bf(0x495)]=_0x4a9cfc[_0xb938bf(0x170)](),_0x4c1b8a=this[_0xb938bf(0x16d)]=_0x4a9cfc[_0xb938bf(0x170)](),_0x3fcc48=_0x5e9a9a['words'],_0x290b9c=_0x4c1b8a[_0xb938bf(0x1cf)],_0x5cc0ec=0x0;_0x5cc0ec<_0x25b523;_0x5cc0ec++)_0x3fcc48[_0x5cc0ec]^=0x5c5c5c5c,_0x290b9c[_0x5cc0ec]^=0x36363636;_0x5e9a9a[_0xb938bf(0x259)]=_0x4c1b8a['sigBytes']=_0x80426c,this[_0xb938bf(0x1ff)]();},'reset':function(){const _0x1be0c5=_0x320049;var _0x409f62=this[_0x1be0c5(0x3b8)];_0x409f62[_0x1be0c5(0x1ff)](),_0x409f62[_0x1be0c5(0x2f9)](this[_0x1be0c5(0x16d)]);},'update':function(_0x31678){const _0x39fe8c=_0x320049;return this[_0x39fe8c(0x3b8)]['update'](_0x31678),this;},'finalize':function(_0x5bc829){const _0x5af36b=_0x320049;var _0x4c2262=this[_0x5af36b(0x3b8)],_0x3d7172=_0x4c2262[_0x5af36b(0x48c)](_0x5bc829);_0x4c2262[_0x5af36b(0x1ff)]();var _0x561e8c=_0x4c2262['finalize'](this['_oKey'][_0x5af36b(0x170)]()[_0x5af36b(0x256)](_0x3d7172));return _0x561e8c;}});}());}));}(zt)),zt[_0x88a41c(0x29d)];}var ti;function Fi(){const _0x1abaa0=_0x22ca65;return ti||(ti=0x1,function(_0x41d599,_0x5b9e69){(function(_0x1b65e2,_0x18014b,_0x1692fa){const _0x311815=_0x5acb;_0x41d599[_0x311815(0x29d)]=_0x18014b(ue(),Ga(),Ya());}(Z,function(_0x6b6b86){const _0x3c8cdb=_0x5acb;return(function(){const _0x3dee2d=_0x5acb;var _0x3e27c3=_0x6b6b86,_0x392e51=_0x3e27c3[_0x3dee2d(0x1b5)],_0x1c51a=_0x392e51['Base'],_0x3a6585=_0x392e51['WordArray'],_0x9b6c27=_0x3e27c3[_0x3dee2d(0x487)],_0x428e8e=_0x9b6c27[_0x3dee2d(0x4e2)],_0x460a98=_0x9b6c27[_0x3dee2d(0x397)]=_0x1c51a[_0x3dee2d(0x2f6)]({'cfg':_0x1c51a[_0x3dee2d(0x2f6)]({'keySize':0x80/0x20,'hasher':_0x428e8e,'iterations':0x1}),'init':function(_0x3ed833){const _0x3e5588=_0x3dee2d;this[_0x3e5588(0x4e0)]=this['cfg']['extend'](_0x3ed833);},'compute':function(_0x514b3f,_0x1d4018){const _0x43a873=_0x3dee2d;for(var _0x2057a7,_0x5373d2=this[_0x43a873(0x4e0)],_0xb53bc2=_0x5373d2['hasher'][_0x43a873(0x12a)](),_0x23cb34=_0x3a6585[_0x43a873(0x12a)](),_0x549517=_0x23cb34['words'],_0x4d7fb8=_0x5373d2[_0x43a873(0x4e6)],_0x4c7d54=_0x5373d2[_0x43a873(0x2d2)];_0x549517['length']<_0x4d7fb8;){_0x2057a7&&_0xb53bc2[_0x43a873(0x2f9)](_0x2057a7),_0x2057a7=_0xb53bc2['update'](_0x514b3f)[_0x43a873(0x48c)](_0x1d4018),_0xb53bc2[_0x43a873(0x1ff)]();for(var _0x1a52df=0x1;_0x1a52df<_0x4c7d54;_0x1a52df++)_0x2057a7=_0xb53bc2[_0x43a873(0x48c)](_0x2057a7),_0xb53bc2['reset']();_0x23cb34[_0x43a873(0x256)](_0x2057a7);}return _0x23cb34[_0x43a873(0x259)]=_0x4d7fb8*0x4,_0x23cb34;}});_0x3e27c3[_0x3dee2d(0x397)]=function(_0x27e2cd,_0x1fbb29,_0xefdde){const _0x420b57=_0x3dee2d;return _0x460a98['create'](_0xefdde)[_0x420b57(0x3ec)](_0x27e2cd,_0x1fbb29);};}()),_0x6b6b86[_0x3c8cdb(0x397)];}));}(Yt)),Yt[_0x1abaa0(0x29d)];}var qt={'exports':{}},si;function Vi(){return si||(si=0x1,function(_0x33da93,_0x2ef1a3){(function(_0x4a8010,_0x13674b,_0x3861ec){const _0x1a3a80=_0x5acb;_0x33da93[_0x1a3a80(0x29d)]=_0x13674b(ue(),Fi());}(Z,function(_0x1faed2){const _0x1a7b93=_0x5acb;_0x1faed2[_0x1a7b93(0x1b5)][_0x1a7b93(0x2b1)]||function(_0x2c1a19){const _0x387c7e=_0x1a7b93;var _0x154b37=_0x1faed2,_0x4ac3a2=_0x154b37[_0x387c7e(0x1b5)],_0x45474=_0x4ac3a2[_0x387c7e(0x1f4)],_0x1f590b=_0x4ac3a2[_0x387c7e(0x142)],_0x1d3a6b=_0x4ac3a2[_0x387c7e(0x224)],_0x2cae50=_0x154b37[_0x387c7e(0x213)];_0x2cae50[_0x387c7e(0x208)];var _0x3173ea=_0x2cae50['Base64'],_0x3fda9b=_0x154b37['algo'],_0x9b4e44=_0x3fda9b['EvpKDF'],_0x1d37d8=_0x4ac3a2[_0x387c7e(0x2b1)]=_0x1d3a6b[_0x387c7e(0x2f6)]({'cfg':_0x45474[_0x387c7e(0x2f6)](),'createEncryptor':function(_0x4b57ce,_0xe1435d){const _0x7f1467=_0x387c7e;return this[_0x7f1467(0x12a)](this[_0x7f1467(0x509)],_0x4b57ce,_0xe1435d);},'createDecryptor':function(_0x532feb,_0x7521a4){const _0x24cea2=_0x387c7e;return this[_0x24cea2(0x12a)](this[_0x24cea2(0x2eb)],_0x532feb,_0x7521a4);},'init':function(_0xbd3cfa,_0x880a61,_0x2df870){const _0x41af63=_0x387c7e;this[_0x41af63(0x4e0)]=this[_0x41af63(0x4e0)]['extend'](_0x2df870),this['_xformMode']=_0xbd3cfa,this[_0x41af63(0x417)]=_0x880a61,this[_0x41af63(0x1ff)]();},'reset':function(){const _0x25d3a0=_0x387c7e;_0x1d3a6b[_0x25d3a0(0x1ff)][_0x25d3a0(0x16e)](this),this[_0x25d3a0(0x38b)]();},'process':function(_0x244b4d){const _0x16f6e2=_0x387c7e;return this[_0x16f6e2(0x218)](_0x244b4d),this['_process']();},'finalize':function(_0x4530c6){const _0x2b7ad5=_0x387c7e;_0x4530c6&&this['_append'](_0x4530c6);var _0x12888d=this[_0x2b7ad5(0x4b8)]();return _0x12888d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x38487c(_0x588df6){const _0x220ce2=_0x5acb;return typeof _0x588df6==_0x220ce2(0x4d8)?_0x4482e7:_0x4367f7;}return function(_0xdc57e2){return{'encrypt':function(_0x5b092d,_0x46f5cf,_0x36928e){return _0x38487c(_0x46f5cf)['encrypt'](_0xdc57e2,_0x5b092d,_0x46f5cf,_0x36928e);},'decrypt':function(_0x5c768f,_0x4bfa33,_0x5543fb){const _0x108fcb=_0x5acb;return _0x38487c(_0x4bfa33)[_0x108fcb(0x31f)](_0xdc57e2,_0x5c768f,_0x4bfa33,_0x5543fb);}};};}())});_0x4ac3a2['StreamCipher']=_0x1d37d8[_0x387c7e(0x2f6)]({'_doFinalize':function(){var _0x4d6537=this['_process'](!0x0);return _0x4d6537;},'blockSize':0x1});var _0x54894f=_0x154b37[_0x387c7e(0x2f3)]={},_0x1dc804=_0x4ac3a2[_0x387c7e(0x18f)]=_0x45474[_0x387c7e(0x2f6)]({'createEncryptor':function(_0x58384b,_0x3aceb7){const _0x56d3b4=_0x387c7e;return this['Encryptor'][_0x56d3b4(0x12a)](_0x58384b,_0x3aceb7);},'createDecryptor':function(_0x3d4bed,_0x3c4548){const _0x108f6b=_0x387c7e;return this[_0x108f6b(0x234)][_0x108f6b(0x12a)](_0x3d4bed,_0x3c4548);},'init':function(_0x7067b4,_0xa4e5a3){const _0x356202=_0x387c7e;this[_0x356202(0x1d5)]=_0x7067b4,this[_0x356202(0x2a1)]=_0xa4e5a3;}}),_0x246cd3=_0x54894f[_0x387c7e(0x220)]=(function(){const _0x553d98=_0x387c7e;var _0xd7e7c8=_0x1dc804[_0x553d98(0x2f6)]();_0xd7e7c8[_0x553d98(0x179)]=_0xd7e7c8[_0x553d98(0x2f6)]({'processBlock':function(_0x2545f6,_0x55d690){const _0x54547f=_0x553d98;var _0xef1de=this[_0x54547f(0x1d5)],_0x5bc3bb=_0xef1de['blockSize'];_0x4fece1[_0x54547f(0x16e)](this,_0x2545f6,_0x55d690,_0x5bc3bb),_0xef1de[_0x54547f(0x3e1)](_0x2545f6,_0x55d690),this['_prevBlock']=_0x2545f6['slice'](_0x55d690,_0x55d690+_0x5bc3bb);}}),_0xd7e7c8[_0x553d98(0x234)]=_0xd7e7c8[_0x553d98(0x2f6)]({'processBlock':function(_0x578db2,_0x4b8331){const _0x532a61=_0x553d98;var _0x54f658=this[_0x532a61(0x1d5)],_0x2104a4=_0x54f658['blockSize'],_0x3b6e6d=_0x578db2[_0x532a61(0x346)](_0x4b8331,_0x4b8331+_0x2104a4);_0x54f658[_0x532a61(0x236)](_0x578db2,_0x4b8331),_0x4fece1['call'](this,_0x578db2,_0x4b8331,_0x2104a4),this[_0x532a61(0x39f)]=_0x3b6e6d;}});function _0x4fece1(_0x505370,_0x56ac4c,_0x256451){const _0xa835ec=_0x553d98;var _0xc6e5be,_0x10fce0=this[_0xa835ec(0x2a1)];_0x10fce0?(_0xc6e5be=_0x10fce0,this[_0xa835ec(0x2a1)]=_0x2c1a19):_0xc6e5be=this[_0xa835ec(0x39f)];for(var _0x6445ee=0x0;_0x6445ee<_0x256451;_0x6445ee++)_0x505370[_0x56ac4c+_0x6445ee]^=_0xc6e5be[_0x6445ee];}return _0xd7e7c8;}()),_0x4e4290=_0x154b37['pad']={},_0x2c8d08=_0x4e4290[_0x387c7e(0x29c)]={'pad':function(_0x25994a,_0x433df2){const _0x526290=_0x387c7e;for(var _0xc07c19=_0x433df2*0x4,_0x56dc5f=_0xc07c19-_0x25994a[_0x526290(0x259)]%_0xc07c19,_0x46be27=_0x56dc5f<<0x18|_0x56dc5f<<0x10|_0x56dc5f<<0x8|_0x56dc5f,_0x5e7b24=[],_0x119ab9=0x0;_0x119ab9<_0x56dc5f;_0x119ab9+=0x4)_0x5e7b24['push'](_0x46be27);var _0x472c54=_0x1f590b[_0x526290(0x12a)](_0x5e7b24,_0x56dc5f);_0x25994a[_0x526290(0x256)](_0x472c54);},'unpad':function(_0x407a15){const _0x130e02=_0x387c7e;var _0x950e7b=_0x407a15['words'][_0x407a15[_0x130e02(0x259)]-0x1>>>0x2]&0xff;_0x407a15[_0x130e02(0x259)]-=_0x950e7b;}};_0x4ac3a2[_0x387c7e(0x526)]=_0x1d37d8['extend']({'cfg':_0x1d37d8['cfg']['extend']({'mode':_0x246cd3,'padding':_0x2c8d08}),'reset':function(){const _0x38fbed=_0x387c7e;var _0x22e811;_0x1d37d8[_0x38fbed(0x1ff)][_0x38fbed(0x16e)](this);var _0xc6c7a=this[_0x38fbed(0x4e0)],_0x119868=_0xc6c7a['iv'],_0x205d11=_0xc6c7a[_0x38fbed(0x2f3)];this['_xformMode']==this[_0x38fbed(0x509)]?_0x22e811=_0x205d11[_0x38fbed(0x452)]:(_0x22e811=_0x205d11['createDecryptor'],this[_0x38fbed(0x1bb)]=0x1),this[_0x38fbed(0x238)]&&this[_0x38fbed(0x238)][_0x38fbed(0x504)]==_0x22e811?this[_0x38fbed(0x238)]['init'](this,_0x119868&&_0x119868[_0x38fbed(0x1cf)]):(this[_0x38fbed(0x238)]=_0x22e811[_0x38fbed(0x16e)](_0x205d11,this,_0x119868&&_0x119868[_0x38fbed(0x1cf)]),this[_0x38fbed(0x238)][_0x38fbed(0x504)]=_0x22e811);},'_doProcessBlock':function(_0x1aadb9,_0x35759e){const _0x4ac7eb=_0x387c7e;this[_0x4ac7eb(0x238)][_0x4ac7eb(0x1b1)](_0x1aadb9,_0x35759e);},'_doFinalize':function(){const _0x267a57=_0x387c7e;var _0x41a5ab,_0x1feba5=this[_0x267a57(0x4e0)][_0x267a57(0x27f)];return this[_0x267a57(0x1f6)]==this[_0x267a57(0x509)]?(_0x1feba5[_0x267a57(0x4f6)](this['_data'],this[_0x267a57(0x319)]),_0x41a5ab=this[_0x267a57(0x211)](!0x0)):(_0x41a5ab=this['_process'](!0x0),_0x1feba5[_0x267a57(0x499)](_0x41a5ab)),_0x41a5ab;},'blockSize':0x80/0x20});var _0x5295c5=_0x4ac3a2[_0x387c7e(0x125)]=_0x45474[_0x387c7e(0x2f6)]({'init':function(_0x435404){const _0xdb526=_0x387c7e;this[_0xdb526(0x434)](_0x435404);},'toString':function(_0x3453d2){const _0x355e0b=_0x387c7e;return(_0x3453d2||this['formatter'])[_0x355e0b(0x50b)](this);}}),_0x4ab0ee=_0x154b37['format']={},_0x5bbb80=_0x4ab0ee[_0x387c7e(0x26e)]={'stringify':function(_0xfbaec){const _0x11051a=_0x387c7e;var _0x420c5e,_0x2e4d32=_0xfbaec[_0x11051a(0x455)],_0x4f7aad=_0xfbaec[_0x11051a(0x482)];return _0x4f7aad?_0x420c5e=_0x1f590b[_0x11051a(0x12a)]([0x53616c74,0x65645f5f])[_0x11051a(0x256)](_0x4f7aad)[_0x11051a(0x256)](_0x2e4d32):_0x420c5e=_0x2e4d32,_0x420c5e[_0x11051a(0x2ad)](_0x3173ea);},'parse':function(_0x41c27c){const _0x19c564=_0x387c7e;var _0x3eaaba,_0x243ca1=_0x3173ea[_0x19c564(0x463)](_0x41c27c),_0x1f2284=_0x243ca1['words'];return _0x1f2284[0x0]==0x53616c74&&_0x1f2284[0x1]==0x65645f5f&&(_0x3eaaba=_0x1f590b[_0x19c564(0x12a)](_0x1f2284[_0x19c564(0x346)](0x2,0x4)),_0x1f2284[_0x19c564(0x11b)](0x0,0x4),_0x243ca1['sigBytes']-=0x10),_0x5295c5['create']({'ciphertext':_0x243ca1,'salt':_0x3eaaba});}},_0x4367f7=_0x4ac3a2[_0x387c7e(0x113)]=_0x45474[_0x387c7e(0x2f6)]({'cfg':_0x45474[_0x387c7e(0x2f6)]({'format':_0x5bbb80}),'encrypt':function(_0x4cb5e7,_0x3b2488,_0x458a80,_0x4bdb4c){const _0x5a9dfc=_0x387c7e;_0x4bdb4c=this[_0x5a9dfc(0x4e0)][_0x5a9dfc(0x2f6)](_0x4bdb4c);var _0x39f4b0=_0x4cb5e7[_0x5a9dfc(0x452)](_0x458a80,_0x4bdb4c),_0x2b426c=_0x39f4b0[_0x5a9dfc(0x48c)](_0x3b2488),_0x1ba93c=_0x39f4b0[_0x5a9dfc(0x4e0)];return _0x5295c5[_0x5a9dfc(0x12a)]({'ciphertext':_0x2b426c,'key':_0x458a80,'iv':_0x1ba93c['iv'],'algorithm':_0x4cb5e7,'mode':_0x1ba93c[_0x5a9dfc(0x2f3)],'padding':_0x1ba93c['padding'],'blockSize':_0x4cb5e7[_0x5a9dfc(0x319)],'formatter':_0x4bdb4c[_0x5a9dfc(0x3cf)]});},'decrypt':function(_0x1ca930,_0x210294,_0x2d72d6,_0x21e59c){const _0x5abfc2=_0x387c7e;_0x21e59c=this[_0x5abfc2(0x4e0)]['extend'](_0x21e59c),_0x210294=this[_0x5abfc2(0x1ba)](_0x210294,_0x21e59c[_0x5abfc2(0x3cf)]);var _0x4f22ea=_0x1ca930[_0x5abfc2(0x23e)](_0x2d72d6,_0x21e59c)['finalize'](_0x210294['ciphertext']);return _0x4f22ea;},'_parse':function(_0x6c0fd4,_0x44beaf){const _0x5c51cd=_0x387c7e;return typeof _0x6c0fd4==_0x5c51cd(0x4d8)?_0x44beaf[_0x5c51cd(0x463)](_0x6c0fd4,this):_0x6c0fd4;}}),_0x2a915e=_0x154b37[_0x387c7e(0x4ac)]={},_0x3704f9=_0x2a915e[_0x387c7e(0x26e)]={'execute':function(_0x565408,_0x34f5c4,_0x7ba9e1,_0x4a6432,_0x2c3465){const _0x3bdcd6=_0x387c7e;if(_0x4a6432||(_0x4a6432=_0x1f590b[_0x3bdcd6(0x45f)](0x40/0x8)),_0x2c3465)var _0x1fe8a1=_0x9b4e44[_0x3bdcd6(0x12a)]({'keySize':_0x34f5c4+_0x7ba9e1,'hasher':_0x2c3465})[_0x3bdcd6(0x3ec)](_0x565408,_0x4a6432);else var _0x1fe8a1=_0x9b4e44[_0x3bdcd6(0x12a)]({'keySize':_0x34f5c4+_0x7ba9e1})[_0x3bdcd6(0x3ec)](_0x565408,_0x4a6432);var _0x14b207=_0x1f590b[_0x3bdcd6(0x12a)](_0x1fe8a1['words'][_0x3bdcd6(0x346)](_0x34f5c4),_0x7ba9e1*0x4);return _0x1fe8a1[_0x3bdcd6(0x259)]=_0x34f5c4*0x4,_0x5295c5[_0x3bdcd6(0x12a)]({'key':_0x1fe8a1,'iv':_0x14b207,'salt':_0x4a6432});}},_0x4482e7=_0x4ac3a2[_0x387c7e(0x34a)]=_0x4367f7['extend']({'cfg':_0x4367f7[_0x387c7e(0x4e0)][_0x387c7e(0x2f6)]({'kdf':_0x3704f9}),'encrypt':function(_0x133044,_0x4397e0,_0x5d884c,_0x3cf0ca){const _0x5e9346=_0x387c7e;_0x3cf0ca=this[_0x5e9346(0x4e0)][_0x5e9346(0x2f6)](_0x3cf0ca);var _0x21d444=_0x3cf0ca['kdf']['execute'](_0x5d884c,_0x133044[_0x5e9346(0x4e6)],_0x133044[_0x5e9346(0x10c)],_0x3cf0ca[_0x5e9346(0x482)],_0x3cf0ca[_0x5e9346(0x163)]);_0x3cf0ca['iv']=_0x21d444['iv'];var _0x108fe7=_0x4367f7['encrypt'][_0x5e9346(0x16e)](this,_0x133044,_0x4397e0,_0x21d444['key'],_0x3cf0ca);return _0x108fe7['mixIn'](_0x21d444),_0x108fe7;},'decrypt':function(_0x4bd388,_0x2c7cc2,_0x3f2cd5,_0x1d3b2f){const _0x37822d=_0x387c7e;_0x1d3b2f=this[_0x37822d(0x4e0)][_0x37822d(0x2f6)](_0x1d3b2f),_0x2c7cc2=this[_0x37822d(0x1ba)](_0x2c7cc2,_0x1d3b2f[_0x37822d(0x3cf)]);var _0x1d5144=_0x1d3b2f[_0x37822d(0x4ac)]['execute'](_0x3f2cd5,_0x4bd388[_0x37822d(0x4e6)],_0x4bd388['ivSize'],_0x2c7cc2[_0x37822d(0x482)],_0x1d3b2f[_0x37822d(0x163)]);_0x1d3b2f['iv']=_0x1d5144['iv'];var _0x455d0d=_0x4367f7['decrypt']['call'](this,_0x4bd388,_0x2c7cc2,_0x1d5144['key'],_0x1d3b2f);return _0x455d0d;}});}();}));}(qt)),qt['exports'];}(function(_0x1316a3,_0x52a470){(function(_0x2a148d,_0x1261d2,_0x4ca188){const _0x4720bc=_0x5acb;_0x1316a3[_0x4720bc(0x29d)]=_0x1261d2(ue(),Wi(),Va(),Fi(),Vi());}(Z,function(_0x85bac9){const _0x225342=_0x5acb;return(function(){const _0x3cf470=_0x5acb;var _0x814dd4=_0x85bac9,_0x3d62f9=_0x814dd4['lib'],_0x56756f=_0x3d62f9[_0x3cf470(0x526)],_0xa5e188=_0x814dd4[_0x3cf470(0x487)],_0x97f760=[],_0x4529f0=[],_0x196776=[],_0xe4c471=[],_0xa61a40=[],_0x3feb13=[],_0x116db1=[],_0x2855ac=[],_0x4f1dde=[],_0x57dda7=[];(function(){for(var _0x60469=[],_0x244ab2=0x0;_0x244ab2<0x100;_0x244ab2++)_0x244ab2<0x80?_0x60469[_0x244ab2]=_0x244ab2<<0x1:_0x60469[_0x244ab2]=_0x244ab2<<0x1^0x11b;for(var _0x31b4cc=0x0,_0x3750af=0x0,_0x244ab2=0x0;_0x244ab2<0x100;_0x244ab2++){var _0x2fbb81=_0x3750af^_0x3750af<<0x1^_0x3750af<<0x2^_0x3750af<<0x3^_0x3750af<<0x4;_0x2fbb81=_0x2fbb81>>>0x8^_0x2fbb81&0xff^0x63,_0x97f760[_0x31b4cc]=_0x2fbb81,_0x4529f0[_0x2fbb81]=_0x31b4cc;var _0x4a4954=_0x60469[_0x31b4cc],_0x5d9ad7=_0x60469[_0x4a4954],_0x1167be=_0x60469[_0x5d9ad7],_0x315a56=_0x60469[_0x2fbb81]*0x101^_0x2fbb81*0x1010100;_0x196776[_0x31b4cc]=_0x315a56<<0x18|_0x315a56>>>0x8,_0xe4c471[_0x31b4cc]=_0x315a56<<0x10|_0x315a56>>>0x10,_0xa61a40[_0x31b4cc]=_0x315a56<<0x8|_0x315a56>>>0x18,_0x3feb13[_0x31b4cc]=_0x315a56;var _0x315a56=_0x1167be*0x1010101^_0x5d9ad7*0x10001^_0x4a4954*0x101^_0x31b4cc*0x1010100;_0x116db1[_0x2fbb81]=_0x315a56<<0x18|_0x315a56>>>0x8,_0x2855ac[_0x2fbb81]=_0x315a56<<0x10|_0x315a56>>>0x10,_0x4f1dde[_0x2fbb81]=_0x315a56<<0x8|_0x315a56>>>0x18,_0x57dda7[_0x2fbb81]=_0x315a56,_0x31b4cc?(_0x31b4cc=_0x4a4954^_0x60469[_0x60469[_0x60469[_0x1167be^_0x4a4954]]],_0x3750af^=_0x60469[_0x60469[_0x3750af]]):_0x31b4cc=_0x3750af=0x1;}}());var _0x6dc9c1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x112406=_0xa5e188[_0x3cf470(0x338)]=_0x56756f[_0x3cf470(0x2f6)]({'_doReset':function(){const _0x10c8fd=_0x3cf470;var _0x114dd7;if(!(this[_0x10c8fd(0x2be)]&&this['_keyPriorReset']===this[_0x10c8fd(0x417)])){for(var _0x5e2ca5=this[_0x10c8fd(0x2bd)]=this[_0x10c8fd(0x417)],_0x5b1ec9=_0x5e2ca5[_0x10c8fd(0x1cf)],_0x585314=_0x5e2ca5[_0x10c8fd(0x259)]/0x4,_0x18570d=this[_0x10c8fd(0x2be)]=_0x585314+0x6,_0x369c1b=(_0x18570d+0x1)*0x4,_0x16f129=this['_keySchedule']=[],_0xebc553=0x0;_0xebc553<_0x369c1b;_0xebc553++)_0xebc553<_0x585314?_0x16f129[_0xebc553]=_0x5b1ec9[_0xebc553]:(_0x114dd7=_0x16f129[_0xebc553-0x1],_0xebc553%_0x585314?_0x585314>0x6&&_0xebc553%_0x585314==0x4&&(_0x114dd7=_0x97f760[_0x114dd7>>>0x18]<<0x18|_0x97f760[_0x114dd7>>>0x10&0xff]<<0x10|_0x97f760[_0x114dd7>>>0x8&0xff]<<0x8|_0x97f760[_0x114dd7&0xff]):(_0x114dd7=_0x114dd7<<0x8|_0x114dd7>>>0x18,_0x114dd7=_0x97f760[_0x114dd7>>>0x18]<<0x18|_0x97f760[_0x114dd7>>>0x10&0xff]<<0x10|_0x97f760[_0x114dd7>>>0x8&0xff]<<0x8|_0x97f760[_0x114dd7&0xff],_0x114dd7^=_0x6dc9c1[_0xebc553/_0x585314|0x0]<<0x18),_0x16f129[_0xebc553]=_0x16f129[_0xebc553-_0x585314]^_0x114dd7);for(var _0x3a3ad0=this[_0x10c8fd(0x366)]=[],_0x5732fd=0x0;_0x5732fd<_0x369c1b;_0x5732fd++){var _0xebc553=_0x369c1b-_0x5732fd;if(_0x5732fd%0x4)var _0x114dd7=_0x16f129[_0xebc553];else var _0x114dd7=_0x16f129[_0xebc553-0x4];_0x5732fd<0x4||_0xebc553<=0x4?_0x3a3ad0[_0x5732fd]=_0x114dd7:_0x3a3ad0[_0x5732fd]=_0x116db1[_0x97f760[_0x114dd7>>>0x18]]^_0x2855ac[_0x97f760[_0x114dd7>>>0x10&0xff]]^_0x4f1dde[_0x97f760[_0x114dd7>>>0x8&0xff]]^_0x57dda7[_0x97f760[_0x114dd7&0xff]];}}},'encryptBlock':function(_0x2904d9,_0x1c0539){const _0x829a44=_0x3cf470;this[_0x829a44(0x1ef)](_0x2904d9,_0x1c0539,this[_0x829a44(0x3f8)],_0x196776,_0xe4c471,_0xa61a40,_0x3feb13,_0x97f760);},'decryptBlock':function(_0x35481c,_0x39d4a0){const _0x10cbc8=_0x3cf470;var _0x23937e=_0x35481c[_0x39d4a0+0x1];_0x35481c[_0x39d4a0+0x1]=_0x35481c[_0x39d4a0+0x3],_0x35481c[_0x39d4a0+0x3]=_0x23937e,this['_doCryptBlock'](_0x35481c,_0x39d4a0,this[_0x10cbc8(0x366)],_0x116db1,_0x2855ac,_0x4f1dde,_0x57dda7,_0x4529f0);var _0x23937e=_0x35481c[_0x39d4a0+0x1];_0x35481c[_0x39d4a0+0x1]=_0x35481c[_0x39d4a0+0x3],_0x35481c[_0x39d4a0+0x3]=_0x23937e;},'_doCryptBlock':function(_0x10fd54,_0x275d51,_0x55d4cf,_0x48dec6,_0x1debe3,_0x2b5309,_0x335f49,_0x28d39e){const _0x3d86ec=_0x3cf470;for(var _0x3758c9=this[_0x3d86ec(0x2be)],_0x4b6fe2=_0x10fd54[_0x275d51]^_0x55d4cf[0x0],_0xa0b18e=_0x10fd54[_0x275d51+0x1]^_0x55d4cf[0x1],_0x535960=_0x10fd54[_0x275d51+0x2]^_0x55d4cf[0x2],_0x969350=_0x10fd54[_0x275d51+0x3]^_0x55d4cf[0x3],_0x10f005=0x4,_0xe7445d=0x1;_0xe7445d<_0x3758c9;_0xe7445d++){var _0x21832c=_0x48dec6[_0x4b6fe2>>>0x18]^_0x1debe3[_0xa0b18e>>>0x10&0xff]^_0x2b5309[_0x535960>>>0x8&0xff]^_0x335f49[_0x969350&0xff]^_0x55d4cf[_0x10f005++],_0x529ab2=_0x48dec6[_0xa0b18e>>>0x18]^_0x1debe3[_0x535960>>>0x10&0xff]^_0x2b5309[_0x969350>>>0x8&0xff]^_0x335f49[_0x4b6fe2&0xff]^_0x55d4cf[_0x10f005++],_0x3c5b52=_0x48dec6[_0x535960>>>0x18]^_0x1debe3[_0x969350>>>0x10&0xff]^_0x2b5309[_0x4b6fe2>>>0x8&0xff]^_0x335f49[_0xa0b18e&0xff]^_0x55d4cf[_0x10f005++],_0x16c5d1=_0x48dec6[_0x969350>>>0x18]^_0x1debe3[_0x4b6fe2>>>0x10&0xff]^_0x2b5309[_0xa0b18e>>>0x8&0xff]^_0x335f49[_0x535960&0xff]^_0x55d4cf[_0x10f005++];_0x4b6fe2=_0x21832c,_0xa0b18e=_0x529ab2,_0x535960=_0x3c5b52,_0x969350=_0x16c5d1;}var _0x21832c=(_0x28d39e[_0x4b6fe2>>>0x18]<<0x18|_0x28d39e[_0xa0b18e>>>0x10&0xff]<<0x10|_0x28d39e[_0x535960>>>0x8&0xff]<<0x8|_0x28d39e[_0x969350&0xff])^_0x55d4cf[_0x10f005++],_0x529ab2=(_0x28d39e[_0xa0b18e>>>0x18]<<0x18|_0x28d39e[_0x535960>>>0x10&0xff]<<0x10|_0x28d39e[_0x969350>>>0x8&0xff]<<0x8|_0x28d39e[_0x4b6fe2&0xff])^_0x55d4cf[_0x10f005++],_0x3c5b52=(_0x28d39e[_0x535960>>>0x18]<<0x18|_0x28d39e[_0x969350>>>0x10&0xff]<<0x10|_0x28d39e[_0x4b6fe2>>>0x8&0xff]<<0x8|_0x28d39e[_0xa0b18e&0xff])^_0x55d4cf[_0x10f005++],_0x16c5d1=(_0x28d39e[_0x969350>>>0x18]<<0x18|_0x28d39e[_0x4b6fe2>>>0x10&0xff]<<0x10|_0x28d39e[_0xa0b18e>>>0x8&0xff]<<0x8|_0x28d39e[_0x535960&0xff])^_0x55d4cf[_0x10f005++];_0x10fd54[_0x275d51]=_0x21832c,_0x10fd54[_0x275d51+0x1]=_0x529ab2,_0x10fd54[_0x275d51+0x2]=_0x3c5b52,_0x10fd54[_0x275d51+0x3]=_0x16c5d1;},'keySize':0x100/0x20});_0x814dd4['AES']=_0x56756f[_0x3cf470(0x4cc)](_0x112406);}()),_0x85bac9[_0x225342(0x338)];}));}(ki));var Ka=ki[_0x22ca65(0x29d)];const za=at(Ka);var qa=Wi();const ii=at(qa);var Gi={'exports':{}};(function(_0x1faf52,_0x4c95a9){(function(_0x4e83fa,_0x119d8b){const _0x1dab93=_0x5acb;_0x1faf52[_0x1dab93(0x29d)]=_0x119d8b(ue());}(Z,function(_0x523c32){const _0x1b397c=_0x5acb;return _0x523c32['enc'][_0x1b397c(0x208)];}));}(Gi));var Xa=Gi[_0x22ca65(0x29d)];const Ja=at(Xa);var Yi={'exports':{}};(function(_0x1173d3,_0x24a983){(function(_0x3aea7f,_0x5c9c28){const _0x1c45eb=_0x5acb;_0x1173d3[_0x1c45eb(0x29d)]=_0x5c9c28(ue());}(Z,function(_0x49e277){const _0xde8c0a=_0x5acb;return(function(){const _0x2f7bb1=_0x5acb;if(typeof ArrayBuffer=='function'){var _0x16c385=_0x49e277,_0x59480e=_0x16c385[_0x2f7bb1(0x1b5)],_0x132ac9=_0x59480e[_0x2f7bb1(0x142)],_0x5f55d0=_0x132ac9[_0x2f7bb1(0x36e)],_0x1c2cfa=_0x132ac9[_0x2f7bb1(0x36e)]=function(_0x46604c){const _0x383f9c=_0x2f7bb1;if(_0x46604c instanceof ArrayBuffer&&(_0x46604c=new Uint8Array(_0x46604c)),(_0x46604c instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x46604c instanceof Uint8ClampedArray||_0x46604c instanceof Int16Array||_0x46604c instanceof Uint16Array||_0x46604c instanceof Int32Array||_0x46604c instanceof Uint32Array||_0x46604c instanceof Float32Array||_0x46604c instanceof Float64Array)&&(_0x46604c=new Uint8Array(_0x46604c[_0x383f9c(0x20a)],_0x46604c[_0x383f9c(0x243)],_0x46604c[_0x383f9c(0x153)])),_0x46604c instanceof Uint8Array){for(var _0x5e871d=_0x46604c[_0x383f9c(0x153)],_0x496c53=[],_0x1a3d48=0x0;_0x1a3d48<_0x5e871d;_0x1a3d48++)_0x496c53[_0x1a3d48>>>0x2]|=_0x46604c[_0x1a3d48]<<0x18-_0x1a3d48%0x4*0x8;_0x5f55d0[_0x383f9c(0x16e)](this,_0x496c53,_0x5e871d);}else _0x5f55d0[_0x383f9c(0x4f3)](this,arguments);};_0x1c2cfa[_0x2f7bb1(0x3f2)]=_0x132ac9;}}()),_0x49e277[_0xde8c0a(0x1b5)][_0xde8c0a(0x142)];}));}(Yi));var Za=Yi[_0x22ca65(0x29d)];const Qa=at(Za);var Ki={'exports':{}};(function(_0x24c715,_0x42639d){(function(_0x499d8b,_0x14369a,_0x30feca){_0x24c715['exports']=_0x14369a(ue(),Vi());}(Z,function(_0x4c7ec0){const _0x438b6a=_0x5acb;return _0x4c7ec0[_0x438b6a(0x4f6)][_0x438b6a(0x308)]={'pad':function(){},'unpad':function(){}},_0x4c7ec0[_0x438b6a(0x4f6)][_0x438b6a(0x308)];}));}(Ki));var ec=Ki['exports'];const tc=at(ec);function sc(_0x195b48,_0x3f276b){const _0x48bfb8=_0x22ca65,_0xdbe297=_0x3f276b-_0x195b48[_0x48bfb8(0x347)]%_0x3f276b,_0x24ffa7=String['fromCharCode'](_0xdbe297)[_0x48bfb8(0x378)](_0xdbe297);return _0x195b48+_0x24ffa7;}function ic(_0x3d0dd4,_0x4040ab){const _0x4f97c9=_0x22ca65,_0x122f2d=Qa[_0x4f97c9(0x45f)](0x10),_0x2b1420=sc(_0x3d0dd4,0x10),_0x52edf1=za[_0x4f97c9(0x3fc)](Ja[_0x4f97c9(0x463)](_0x2b1420),ii[_0x4f97c9(0x463)](_0x4040ab),{'iv':_0x122f2d,'padding':tc});return _0x122f2d['concat'](_0x52edf1[_0x4f97c9(0x455)])['toString'](ii);}function nc(){const _0x1fcc0f=_0x22ca65,_0x38d116=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x1fcc0f(0x359)];if(_0x38d116){const _0x5bda74={'time':Math[_0x1fcc0f(0x289)](Date[_0x1fcc0f(0x429)]()/0x3e8),'domain':location[_0x1fcc0f(0x219)]};return ic(JSON['stringify'](_0x5bda74),_0x38d116);}}var rc=Object[_0x22ca65(0x1ac)],oc=Object[_0x22ca65(0x4c2)],ac=(_0x4fc288,_0x3674fe,_0x1dc57a,_0x228816)=>{const _0x2bc3a0=_0x22ca65;for(var _0x4f84c8=_0x228816>0x1?void 0x0:_0x228816?oc(_0x3674fe,_0x1dc57a):_0x3674fe,_0x17dde8=_0x4fc288[_0x2bc3a0(0x347)]-0x1,_0x4aad11;_0x17dde8>=0x0;_0x17dde8--)(_0x4aad11=_0x4fc288[_0x17dde8])&&(_0x4f84c8=(_0x228816?_0x4aad11(_0x3674fe,_0x1dc57a,_0x4f84c8):_0x4aad11(_0x4f84c8))||_0x4f84c8);return _0x228816&&_0x4f84c8&&rc(_0x3674fe,_0x1dc57a,_0x4f84c8),_0x4f84c8;},cc=(_0x187e23,_0x2add02)=>(_0x232a0b,_0x574b22)=>_0x2add02(_0x232a0b,_0x574b22,_0x187e23);let bt=class{constructor(_0x32b674){const _0x184fc2=_0x22ca65;this[_0x184fc2(0x118)]=_0x32b674,this['_initRequestHeader']();}[_0x22ca65(0x1a4)](){const _0x3fe8c1=_0x22ca65;this[_0x3fe8c1(0x118)]['registerHTTPInterceptor']({'interceptor':(_0x53afa9,_0x4c2469)=>{const _0x237d9a=_0x3fe8c1,_0x3a07ef=_0x53afa9['headers'],_0x561128=nc();return _0x561128&&_0x3a07ef['set'](_0x237d9a(0x40a),_0x561128),_0x4c2469(_0x53afa9);}});}};bt=ac([cc(0x0,_0x1013ae(_0x5cb2c0))],bt);var hc=Object['defineProperty'],lc=Object['getOwnPropertyDescriptor'],_c=(_0x26aec3,_0x5d154a,_0x5b711d,_0x181fdb)=>{const _0x2b0bd2=_0x22ca65;for(var _0x90483e=_0x181fdb>0x1?void 0x0:_0x181fdb?lc(_0x5d154a,_0x5b711d):_0x5d154a,_0x585bd0=_0x26aec3[_0x2b0bd2(0x347)]-0x1,_0x2cf61f;_0x585bd0>=0x0;_0x585bd0--)(_0x2cf61f=_0x26aec3[_0x585bd0])&&(_0x90483e=(_0x181fdb?_0x2cf61f(_0x5d154a,_0x5b711d,_0x90483e):_0x2cf61f(_0x90483e))||_0x90483e);return _0x181fdb&&_0x90483e&&hc(_0x5d154a,_0x5b711d,_0x90483e),_0x90483e;},Xt=(_0x300e76,_0x4f504e)=>(_0x25ce37,_0x187416)=>_0x4f504e(_0x25ce37,_0x187416,_0x300e76);const uc=[_0x22ca65(0x460),_0x22ca65(0x2cc),'image/jpg',_0x22ca65(0x37b),'image/bmp'],dc=0x5*0x400*0x400,fc=_0x22ca65(0x418),vc=_0x22ca65(0x31a),mc=_0x22ca65(0x246),pc=_0x22ca65(0x3a9);let hs=class{constructor(_0x266425,_0x788747,_0x177d54){const _0xc91d74=_0x22ca65;g(this,_0xc91d74(0x13c),0x0),g(this,_0xc91d74(0x484),new _0x19647f()),g(this,_0xc91d74(0x13b),this['_change$']),g(this,_0xc91d74(0x18e),new Map()),(this[_0xc91d74(0x118)]=_0x266425,this[_0xc91d74(0x307)]=_0x788747,this[_0xc91d74(0x4c7)]=_0x177d54);}[_0x22ca65(0x1aa)](_0x371a02){const _0x5c1ea8=_0x22ca65;this[_0x5c1ea8(0x13c)]=_0x371a02,this[_0x5c1ea8(0x484)][_0x5c1ea8(0x2cb)](_0x371a02);}[_0x22ca65(0x4b6)](_0xee18ae,_0x43451e){const _0x3f1dbf=_0x22ca65;if(_0x43451e===_0x545075[_0x3f1dbf(0x4ae)]){const _0xd7ed1a=new Image();return _0xd7ed1a[_0x3f1dbf(0x4b4)]=_0xee18ae,_0xd7ed1a;}return this[_0x3f1dbf(0x18e)][_0x3f1dbf(0x327)](_0xee18ae);}[_0x22ca65(0x3bb)](_0x1d129e,_0x38019b,_0x18f151){const _0x1e75a8=_0x22ca65;_0x38019b===_0x545075['BASE64']||_0x18f151==null||this['_imageSourceCache'][_0x1e75a8(0x166)](_0x1d129e,_0x18f151);}async[_0x22ca65(0x1fb)](_0x57ed07){const _0x5c387f=_0x22ca65;try{const _0x4fa05c=this['_replaceFileID'](this['_getSignURL'](),''+_0x57ed07),_0x42fade=(await this[_0x5c387f(0x118)]['get'](_0x4fa05c))['body'];if(_0x42fade[_0x5c387f(0x3a6)]&&_0x42fade[_0x5c387f(0x3a6)][_0x5c387f(0x410)]===Ri['OK']){const _0xe15e35=new URL(_0x42fade['url'],this[_0x5c387f(0x521)]())[_0x5c387f(0x2ad)]();return Promise[_0x5c387f(0x183)](_0xe15e35);}return Promise[_0x5c387f(0x3c5)](_0x42fade['error']);}catch(_0x178888){return Promise[_0x5c387f(0x3c5)](_0x178888);}}async[_0x22ca65(0x197)](_0x14e8f6){const _0x543259=_0x22ca65;let _0x33c907='';if(!uc[_0x543259(0x472)](_0x14e8f6[_0x543259(0x44d)]))return this[_0x543259(0x32b)](),Promise[_0x543259(0x3c5)](new Error(_0x476773[_0x543259(0x406)]));if(_0x14e8f6['size']>dc)return this[_0x543259(0x32b)](),Promise[_0x543259(0x3c5)](new Error(_0x476773[_0x543259(0x27c)]));try{const _0x32b710=new FormData();_0x32b710[_0x543259(0x36c)](_0x543259(0x18c),_0x14e8f6);const _0xc5ce1a=this[_0x543259(0x4c7)][_0x543259(0x396)](),_0x4408fe=_0xc5ce1a==null?void 0x0:_0xc5ce1a['getUnitId']();if(!_0x4408fe)throw new Error(_0x543259(0x314));const _0x2e0cee=this['_getUploadFileURL']()+_0x543259(0x145)+_0x14e8f6[_0x543259(0x104)][_0x543259(0x2ad)]()+'&source='+Oi[_0x543259(0x2ba)]+'&assign='+encodeURIComponent(_0x4408fe),_0x2e42e1=await(await fetch(_0x2e0cee,{'method':_0x543259(0x3ae),'body':_0x32b710}))[_0x543259(0x4a6)]();if(typeof _0x2e42e1[_0x543259(0x4f7)]!=_0x543259(0x4d8))return this[_0x543259(0x32b)](),Promise[_0x543259(0x3c5)](new Error(_0x476773['ERROR_IMAGE']));_0x33c907=_0x2e42e1['FileId'];}catch{return this[_0x543259(0x32b)](),Promise[_0x543259(0x3c5)](new Error(_0x476773[_0x543259(0x2a7)]));}return new Promise((_0x915b1b,_0xde4881)=>{const _0x376f28=_0x543259,_0x44e439=new FileReader();_0x44e439[_0x376f28(0x32d)](_0x14e8f6),_0x44e439[_0x376f28(0x3c0)]=_0x39d292=>{const _0x131d9c=_0x376f28;var _0x5ba359;const _0x30d7cb=(_0x5ba359=_0x39d292[_0x131d9c(0x24b)])==null?void 0x0:_0x5ba359['result'];if(_0x30d7cb==null){this[_0x131d9c(0x32b)](),_0xde4881(new Error(_0x476773[_0x131d9c(0x2a7)]));return;}const _0x113ee2=_0x1d82fd['generateRandomId'](0x6);_0x915b1b({'imageId':_0x113ee2,'imageSourceType':_0x545075[_0x131d9c(0x1c2)],'source':_0x33c907,'base64Cache':_0x30d7cb,'status':_0x476773[_0x131d9c(0x49f)]}),this['_decreaseWaiting']();};});}[_0x22ca65(0x395)](){const _0x27b6df=_0x22ca65;var _0x2774c8,_0x3bcaa8;const _0x25f645=this[_0x27b6df(0x307)][_0x27b6df(0x3c7)](fc),_0x582f5f=this[_0x27b6df(0x307)][_0x27b6df(0x3c7)](te);return(_0x3bcaa8=(_0x2774c8=_0x582f5f==null?void 0x0:_0x582f5f[_0x27b6df(0x46f)])!=null?_0x2774c8:_0x25f645)!=null?_0x3bcaa8:vc;}[_0x22ca65(0x48d)](){const _0x3233f6=_0x22ca65;var _0x155773,_0x2ae1bd;const _0x23c95e=this[_0x3233f6(0x307)][_0x3233f6(0x3c7)](mc),_0x36bc43=this[_0x3233f6(0x307)][_0x3233f6(0x3c7)](te);return(_0x2ae1bd=(_0x155773=_0x36bc43==null?void 0x0:_0x36bc43['signUrlServerUrl'])!=null?_0x155773:_0x23c95e)!=null?_0x2ae1bd:pc;}[_0x22ca65(0x521)](){const _0x5498a0=_0x22ca65;var _0x33efef;const _0x49e6fc=this[_0x5498a0(0x307)]['getConfig'](te);return(_0x33efef=_0x49e6fc==null?void 0x0:_0x49e6fc['downloadEndpointUrl'])!=null?_0x33efef:location[_0x5498a0(0x372)];}[_0x22ca65(0x108)](_0x5002b8,_0x428d28){return _0x5002b8['replace']('{fileID}',_0x428d28);}[_0x22ca65(0x32b)](){const _0x2cb523=_0x22ca65;this['_waitCount']-=0x1,this[_0x2cb523(0x484)]['next'](this[_0x2cb523(0x13c)]);}};hs=_c([Xt(0x0,_0x1013ae(_0x5cb2c0)),Xt(0x1,_0x407e18),Xt(0x2,_0x1013ae(_0x331bf2))],hs);var gc=Object['defineProperty'],Sc=Object[_0x22ca65(0x4c2)],Ic=(_0x2b3898,_0x137aee,_0x321914,_0x10151e)=>{const _0x31c5c4=_0x22ca65;for(var _0x20ff4b=_0x10151e>0x1?void 0x0:_0x10151e?Sc(_0x137aee,_0x321914):_0x137aee,_0x27b0a2=_0x2b3898[_0x31c5c4(0x347)]-0x1,_0x41a229;_0x27b0a2>=0x0;_0x27b0a2--)(_0x41a229=_0x2b3898[_0x27b0a2])&&(_0x20ff4b=(_0x10151e?_0x41a229(_0x137aee,_0x321914,_0x20ff4b):_0x41a229(_0x20ff4b))||_0x20ff4b);return _0x10151e&&_0x20ff4b&&gc(_0x137aee,_0x321914,_0x20ff4b),_0x20ff4b;},Qe=(_0x3d5bd1,_0x54fcf9)=>(_0x2112e1,_0x3163f3)=>_0x54fcf9(_0x2112e1,_0x3163f3,_0x3d5bd1);let Tt=class extends _0xbe756c{constructor(_0xb5d017,_0x5af1ad,_0x245299,_0x3166f6,_0x4cbd98){const _0x187a4d=_0x22ca65;super(),this['_injector']=_0xb5d017,this['_univerInstanceService']=_0x5af1ad,this[_0x187a4d(0x3bf)]=_0x245299,this[_0x187a4d(0x325)]=_0x3166f6,this['_localeService']=_0x4cbd98,this[_0x187a4d(0x4ef)](),this[_0x187a4d(0x231)]();}[_0x22ca65(0x231)](){const _0xa1840f=_0x22ca65,_0x7811e2=async _0x12796a=>{const _0x5a4bcf=_0x5acb;(await this[_0x5a4bcf(0x325)]['requireSession'](_0x12796a))['event$'][_0x5a4bcf(0x3b1)](_0x382fe5(_0x59ffa9=>_0x59ffa9[_0x5a4bcf(0x316)]===_0x2d656f[_0x5a4bcf(0x318)]),_0x20c719(this[_0x5a4bcf(0x445)]))['subscribe'](_0x1003b4=>{const _0x3ad4e1=_0x5a4bcf,_0x36e29b=_0x1003b4,{reason:_0x5a2c9f}=_0x36e29b['data'];this[_0x3ad4e1(0x47c)][_0x3ad4e1(0x327)](_0x37ddb9)[_0x3ad4e1(0x517)]({'type':_0x16718d['Error'],'content':this['_localeService']['t'](_0x3ad4e1(0x2a6))+'('+_0x5a2c9f+')'}),this[_0x3ad4e1(0x3bf)]['updatePermissionPoint'](new _0x3dc311(_0x12796a)['id'],!0x1),this[_0x3ad4e1(0x325)][_0x3ad4e1(0x16f)](_0x12796a);});};_0xc64e83(this[_0xa1840f(0x4c7)][_0xa1840f(0x322)](_0x297986[_0xa1840f(0x1f5)]),this['_univerInstanceService'][_0xa1840f(0x322)](_0x297986[_0xa1840f(0x462)]))[_0xa1840f(0x3b1)](_0x2649d9(_0x37b1cb=>_0x37b1cb[_0xa1840f(0x43f)]()),_0x382fe5(_0x1cd461=>!_0x43c099(_0x1cd461)),_0x20c719(this[_0xa1840f(0x445)]))['subscribe'](_0x32110c=>{_0x7811e2(_0x32110c);});}[_0x22ca65(0x4ef)](){const _0x54bd2e=_0x22ca65,_0x11c8e0=async _0xfe3a2a=>{const _0x1892bf=_0x5acb;(await this[_0x1892bf(0x325)][_0x1892bf(0x18d)](_0xfe3a2a))['event$'][_0x1892bf(0x3b1)](_0x382fe5(_0x514032=>_0x514032[_0x1892bf(0x316)]===_0x2d656f[_0x1892bf(0x4f9)]),_0x20c719(this['dispose$']))['subscribe'](_0x319602=>{const _0x44736d=_0x1892bf,_0x3888bd=_0x319602,{objectId:_0x8b1319}=_0x3888bd[_0x44736d(0x36b)],_0x5d56fb=this[_0x44736d(0x47c)]['get'](_0x102327);_0x8b1319===_0xfe3a2a?_0x5d56fb[_0x44736d(0x19e)](_0xfe3a2a):_0x5d56fb['refreshPermission'](_0xfe3a2a,_0x8b1319);});};_0xc64e83(this[_0x54bd2e(0x4c7)]['getTypeOfUnitAdded$'](_0x297986[_0x54bd2e(0x1f5)]),this['_univerInstanceService'][_0x54bd2e(0x322)](_0x297986[_0x54bd2e(0x462)]))['pipe'](_0x2649d9(_0x22ce65=>_0x22ce65[_0x54bd2e(0x43f)]()),_0x382fe5(_0x3b1e08=>!_0x43c099(_0x3b1e08)),_0x20c719(this[_0x54bd2e(0x445)]))[_0x54bd2e(0x188)](_0xb811b4=>{_0x11c8e0(_0xb811b4);});}};Tt=Ic([Qe(0x0,_0x1013ae(_0x1f2d44)),Qe(0x1,_0x331bf2),Qe(0x2,_0x58f20b),Qe(0x3,_0x1013ae(xe)),Qe(0x4,_0x1013ae(_0x199c09))],Tt);var Cc=Object[_0x22ca65(0x1ac)],Ec=Object['getOwnPropertyDescriptor'],bc=(_0x25a805,_0x4a47db,_0x39da22,_0x2dc73b)=>{const _0x1d2a78=_0x22ca65;for(var _0x484daa=_0x2dc73b>0x1?void 0x0:_0x2dc73b?Ec(_0x4a47db,_0x39da22):_0x4a47db,_0x3de57b=_0x25a805[_0x1d2a78(0x347)]-0x1,_0x3e4817;_0x3de57b>=0x0;_0x3de57b--)(_0x3e4817=_0x25a805[_0x3de57b])&&(_0x484daa=(_0x2dc73b?_0x3e4817(_0x4a47db,_0x39da22,_0x484daa):_0x3e4817(_0x484daa))||_0x484daa);return _0x2dc73b&&_0x484daa&&Cc(_0x4a47db,_0x39da22,_0x484daa),_0x484daa;},ni=(_0xa86107,_0x44d844)=>(_0x4d7caf,_0x1b7d29)=>_0x44d844(_0x4d7caf,_0x1b7d29,_0xa86107);let ls=class{constructor(_0x438b01,_0x33810f){const _0x2a7c45=_0x22ca65;this[_0x2a7c45(0x307)]=_0x438b01,this['_httpService']=_0x33810f;}async[_0x22ca65(0x240)](_0x5c9dbd,_0x1cc7fe){const _0x211089=_0x22ca65;var _0x2997fc;const {unitID:_0x3117ca,type:_0xf4de0a,revision:_0xe7601c=0x0}=_0x1cc7fe,_0x43ae73=this[_0x211089(0x13e)]()+'/'+_0xf4de0a+_0x211089(0x1ca)+_0x3117ca+_0x211089(0x42e)+_0xe7601c,_0x308c4f=(await this['_httpService'][_0x211089(0x327)](_0x43ae73))['body'],_0x5ddc1f=(_0x2997fc=_0x308c4f[_0x211089(0x51e)])==null?void 0x0:_0x2997fc[_0x211089(0x192)];if(_0x5ddc1f){const _0x11f609=_0x5ddc1f==null?void 0x0:_0x5ddc1f[_0x211089(0x304)],_0x58074f=_0x10971a[_0x211089(0x38a)](_0x1a32fe(_0x11f609));_0x5ddc1f[_0x211089(0x304)]=_0x58074f,Object['entries'](_0x5ddc1f[_0x211089(0x16b)])['forEach'](([,_0x459298])=>{const _0x30f900=_0x211089,_0x3689dd=_0x459298[_0x30f900(0x304)],_0x28e57c=_0x10971a[_0x30f900(0x38a)](_0x1a32fe(_0x3689dd));_0x459298[_0x30f900(0x304)]=_0x28e57c;});}return _0x308c4f;}async[_0x22ca65(0x154)](_0x509cad,_0x2352cd){const _0x3a5652=_0x22ca65,{unitID:_0x4cd020,type:_0x116462,blockID:_0x19b022}=_0x2352cd,_0x145a1c=this[_0x3a5652(0x10a)]()+'/'+_0x116462+_0x3a5652(0x1ca)+_0x4cd020+_0x3a5652(0x1c0)+_0x19b022;return(await this[_0x3a5652(0x118)][_0x3a5652(0x327)](_0x145a1c))[_0x3a5652(0x146)];}async['getDeserializedSheetBlock'](_0x4b6847,_0x151ae4){const _0x257a7d=_0x22ca65,{unitID:_0x538a50,type:_0x303c97,blockID:_0x57cd90}=_0x151ae4,_0x4351e2=this[_0x257a7d(0x10a)]()+'/block/'+_0x303c97+_0x257a7d(0x1ca)+_0x538a50+_0x257a7d(0x1c0)+_0x57cd90;return(await this[_0x257a7d(0x118)][_0x257a7d(0x327)](_0x4351e2))['body'];}async['fetchMissingChangesets'](_0x142272,_0x445ef3){const _0x16262d=_0x22ca65,{unitID:_0xa2f018,type:_0x28a921,from:_0x3a7303,to:_0x4b044a}=_0x445ef3,_0x3c08a7=this[_0x16262d(0x10a)]()+'/'+_0x28a921+_0x16262d(0x1ca)+_0xa2f018+_0x16262d(0x340)+_0x3a7303+_0x16262d(0x4bc)+_0x4b044a;return(await this['_httpService']['get'](_0x3c08a7))[_0x16262d(0x146)];}[_0x22ca65(0x13e)](){const _0x110283=_0x22ca65;var _0xdd2c40;return(_0xdd2c40=this['_configService'][_0x110283(0x3c7)](lr))!=null?_0xdd2c40:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x58d327=_0x22ca65;var _0x5ecdfc,_0x2146a6;const _0x55ffcd=this[_0x58d327(0x307)][_0x58d327(0x3c7)](cr),_0x50a45e=this[_0x58d327(0x307)][_0x58d327(0x3c7)](te);return(_0x2146a6=(_0x5ecdfc=_0x50a45e==null?void 0x0:_0x50a45e[_0x58d327(0x4a8)])!=null?_0x5ecdfc:_0x55ffcd)!=null?_0x2146a6:hr;}async['getResourcesRequest'](_0x37e0d5,_0x217d82){const _0xfd946f=_0x22ca65,_0x29661f=_0xfd946f(0x280)+_0x217d82[_0xfd946f(0x44d)]+_0xfd946f(0x1ca)+_0x217d82[_0xfd946f(0x117)]+'/resources';return(await this['_httpService'][_0xfd946f(0x327)](_0x29661f,{'params':{'resourceId':JSON[_0xfd946f(0x50b)](_0x217d82[_0xfd946f(0x4f0)])}}))[_0xfd946f(0x146)];}[_0x22ca65(0x3ed)](){const _0xebcaf4=_0x22ca65;throw new Error(_0xebcaf4(0x4c3));}[_0x22ca65(0x51a)](){const _0x30348b=_0x22ca65;throw new Error(_0x30348b(0x4c3));}[_0x22ca65(0x29f)](){const _0x35795b=_0x22ca65;throw new Error(_0x35795b(0x4c3));}[_0x22ca65(0x1f2)](){const _0x3bc750=_0x22ca65;throw new Error(_0x3bc750(0x4c3));}[_0x22ca65(0x528)](){const _0x50c26e=_0x22ca65;throw new Error(_0x50c26e(0x4c3));}};ls=bc([ni(0x0,_0x407e18),ni(0x1,_0x1013ae(_0x5cb2c0))],ls);var Tc=Object[_0x22ca65(0x1ac)],Rc=Object[_0x22ca65(0x4c2)],Oc=(_0xd4656b,_0x3fa281,_0x3a5c92,_0xf286f4)=>{const _0x4c4485=_0x22ca65;for(var _0x1fa9c7=_0xf286f4>0x1?void 0x0:_0xf286f4?Rc(_0x3fa281,_0x3a5c92):_0x3fa281,_0xb03076=_0xd4656b[_0x4c4485(0x347)]-0x1,_0x4b1a50;_0xb03076>=0x0;_0xb03076--)(_0x4b1a50=_0xd4656b[_0xb03076])&&(_0x1fa9c7=(_0xf286f4?_0x4b1a50(_0x3fa281,_0x3a5c92,_0x1fa9c7):_0x4b1a50(_0x1fa9c7))||_0x1fa9c7);return _0xf286f4&&_0x1fa9c7&&Tc(_0x3fa281,_0x3a5c92,_0x1fa9c7),_0x1fa9c7;},et=(_0x42bdc0,_0x24b521)=>(_0x40fa26,_0x25ca58)=>_0x24b521(_0x40fa26,_0x25ca58,_0x42bdc0);let _s=class extends _0x4a9aa7{constructor(_0x4f4512,_0xce9cc8,_0x25cb1e,_0x1b3f6f,_0x5908a4){const _0x4ed8df=_0x22ca65;super(_0x4f4512,_0xce9cc8,_0x25cb1e),this[_0x4ed8df(0x4db)]=_0x1b3f6f,this[_0x4ed8df(0x3d5)]=_0x5908a4;}[_0x22ca65(0x41c)](_0x3da65b,_0x426942){const _0x20cdc1=_0x22ca65,_0x807611=this['_getUndoStack'](_0x3da65b);if(_0x807611)try{const _0x680d23=this[_0x20cdc1(0x486)](_0x807611,_0x426942);this[_0x20cdc1(0x423)](_0x3da65b,_0x680d23);}catch(_0x48ccbd){this[_0x20cdc1(0x3d5)][_0x20cdc1(0x3a6)](_0x20cdc1(0x468),_0x48ccbd),this[_0x20cdc1(0x131)](_0x3da65b);}const _0x35bdf4=this[_0x20cdc1(0x1a1)](_0x3da65b);if(_0x35bdf4)try{const _0x510dc7=this[_0x20cdc1(0x486)](_0x35bdf4,_0x426942);this[_0x20cdc1(0x137)](_0x3da65b,_0x510dc7);}catch(_0x117d50){this[_0x20cdc1(0x3d5)]['error'](_0x117d50),this[_0x20cdc1(0x520)](_0x3da65b);}}[_0x22ca65(0x131)](_0x301bc7){const _0x59808b=_0x22ca65,_0x2f1741=this[_0x59808b(0x39e)](_0x301bc7);_0x2f1741&&(_0x2f1741['length']=0x0,this[_0x59808b(0x121)]());}['_clearRedo'](_0x17957e){const _0x30d65d=_0x22ca65,_0x204a47=this[_0x30d65d(0x1a1)](_0x17957e);_0x204a47&&(_0x204a47[_0x30d65d(0x347)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x1204da,_0x27635f){const _0x3e3c0b=_0x22ca65;this['_undoStacks']['set'](_0x1204da,_0x27635f),this[_0x3e3c0b(0x121)]();}[_0x22ca65(0x137)](_0x27351e,_0x2ce833){const _0x36b03e=_0x22ca65;this[_0x36b03e(0x518)][_0x36b03e(0x166)](_0x27351e,_0x2ce833),this[_0x36b03e(0x121)]();}[_0x22ca65(0x486)](_0x3ee5b4,_0xcc7f1f){const _0x543ee7=_0x22ca65,_0x590ebf=[];let _0x49eaba=_0xcc7f1f,_0x2a8ec3=_0xcc7f1f;for(let _0x33f607=_0x3ee5b4[_0x543ee7(0x347)]-0x1;_0x33f607>=0x0;_0x33f607--){const {unitID:_0x315e18,undoMutations:_0x157faf,redoMutations:_0x54fc61}=_0x3ee5b4[_0x33f607],_0x3c470d=this[_0x543ee7(0x4db)][_0x543ee7(0x384)](_0x49eaba,_0x157faf),_0x42286f=this['_transformService'][_0x543ee7(0x384)](_0x2a8ec3,_0x54fc61);if(_0x106789(_0x3c470d)||_0x106789(_0x42286f)){this[_0x543ee7(0x3d5)][_0x543ee7(0x3a6)](_0x543ee7(0x468),_0x543ee7(0x216),_0x3c470d,_0x42286f);break;}_0x49eaba=_0x3c470d[_0x543ee7(0x272)],_0x2a8ec3=_0x42286f[_0x543ee7(0x272)],_0x590ebf[_0x543ee7(0x2e8)]({'unitID':_0x315e18,'undoMutations':_0x3c470d[_0x543ee7(0x2f7)],'redoMutations':_0x42286f[_0x543ee7(0x2f7)]});}return _0x590ebf[_0x543ee7(0x343)]();}};_s=Oc([et(0x0,_0x331bf2),et(0x1,_0x11db88),et(0x2,_0x375fd6),et(0x3,_0x1a9226),et(0x4,_0x3b5747)],_s);class yc extends _0xbe756c{constructor(){const _0x11c034=_0x22ca65;super(),g(this,_0x11c034(0x1c1)),this[_0x11c034(0x1c1)]=_0x1999e4(window,_0x11c034(0x49b))['pipe'](_0xd6bf95(this['dispose$']),_0x5d11ed(0x1),_0x20f9a0(void 0x0));}[_0x22ca65(0x1a0)](_0x8b6c77,_0x331833,_0x514bd4=!0x1){const _0x2b6188=_0x22ca65,_0x3e6460=new URL(window[_0x2b6188(0x3d0)][_0x2b6188(0x383)]);_0x3e6460[_0x2b6188(0x267)][_0x2b6188(0x166)](_0x8b6c77,_0x331833),_0x514bd4?window[_0x2b6188(0x389)]['replaceState']('','',_0x3e6460[_0x2b6188(0x2ad)]()):window[_0x2b6188(0x389)][_0x2b6188(0x21e)]('','',_0x3e6460[_0x2b6188(0x2ad)]());}[_0x22ca65(0x3a4)](_0x9808ba,_0x45af7c=!0x1){const _0x80378=_0x22ca65,_0x316af1=new URL(window['location'][_0x80378(0x383)]);_0x316af1['searchParams'][_0x80378(0x2c9)](_0x9808ba),_0x45af7c?window[_0x80378(0x389)][_0x80378(0x388)]('','',_0x316af1[_0x80378(0x2ad)]()):window[_0x80378(0x389)]['pushState']('','',_0x316af1[_0x80378(0x2ad)]());}[_0x22ca65(0x328)](_0x2aa86c){const _0x49548e=_0x22ca65;var _0x5aab7a;return(_0x5aab7a=new URL(window['location'][_0x49548e(0x383)])['searchParams'][_0x49548e(0x327)](_0x2aa86c))!=null?_0x5aab7a:void 0x0;}}var zi=Object[_0x22ca65(0x1ac)],wc=Object[_0x22ca65(0x4c2)],Dc=(_0x1f3204,_0x30000d,_0xbd2b80)=>_0x30000d in _0x1f3204?zi(_0x1f3204,_0x30000d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbd2b80}):_0x1f3204[_0x30000d]=_0xbd2b80,Pc=(_0x53e426,_0x230957,_0x5a7031,_0x1b173a)=>{const _0x2739a2=_0x22ca65;for(var _0x394391=_0x1b173a>0x1?void 0x0:_0x1b173a?wc(_0x230957,_0x5a7031):_0x230957,_0x3dea9f=_0x53e426[_0x2739a2(0x347)]-0x1,_0x36e6a5;_0x3dea9f>=0x0;_0x3dea9f--)(_0x36e6a5=_0x53e426[_0x3dea9f])&&(_0x394391=(_0x1b173a?_0x36e6a5(_0x230957,_0x5a7031,_0x394391):_0x36e6a5(_0x394391))||_0x394391);return _0x1b173a&&_0x394391&&zi(_0x230957,_0x5a7031,_0x394391),_0x394391;},lt=(_0x24aaca,_0x4cea4b)=>(_0x125678,_0x174dd6)=>_0x4cea4b(_0x125678,_0x174dd6,_0x24aaca),Uc=(_0xa2c25b,_0xfa9622,_0x10dd0c)=>Dc(_0xa2c25b,_0xfa9622+'',_0x10dd0c);const Nc=_0x22ca65(0x147);let us=class extends _0x29518a{constructor(_0x4557ea=Or,_0x496e6a,_0x7642b8,_0x439043,_0x2fa0bf){const _0x12c693=_0x22ca65;super(),this[_0x12c693(0x469)]=_0x4557ea,this[_0x12c693(0x3d5)]=_0x496e6a,this[_0x12c693(0x1f7)]=_0x7642b8,this['_injector']=_0x439043,this[_0x12c693(0x307)]=_0x2fa0bf;const {..._0x5e910a}=this[_0x12c693(0x469)];this[_0x12c693(0x307)][_0x12c693(0x3d9)](te,_0x5e910a);}[_0x22ca65(0x31c)](){const _0x400bf8=_0x22ca65;this[_0x400bf8(0x437)](),this[_0x400bf8(0x1e4)]();}['onReady'](){const _0x3ce886=_0x22ca65;_0x4acb1b(this[_0x3ce886(0x47c)],[[Ct]]);}[_0x22ca65(0x199)](){const _0x54d54f=_0x22ca65;this[_0x54d54f(0x251)]();}[_0x22ca65(0x437)](){const _0x32390c=_0x22ca65;var _0x3cd4cc,_0x166048,_0x55fe83,_0x1f81ca;this[_0x32390c(0x47c)][_0x32390c(0x361)](_0x2ef4cd)&&this['_logService'][_0x32390c(0x3a6)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x3d6fee=[[_0x2ef4cd,{'useClass':_s}],[xe],[bs],[Bi,{'useClass':yc}],[Me],[q],[_0x4c9c14],[vt],[pt],[ft],[mt],[Cs],[Et],[bt],[wi],[Tt],[yi,{'useClass':(_0x166048=(_0x3cd4cc=this[_0x32390c(0x469)])==null?void 0x0:_0x3cd4cc[_0x32390c(0x232)])!=null?_0x166048:es}],[_0x6b32e7,{'useClass':ls}],[_0x128259,{'useClass':cs}],[_0x150f9e,{'useClass':hs}],[it],[It],[St],[Ct],[Ve]];(_0x55fe83=this['_config'])!=null&&_0x55fe83[_0x32390c(0x3d4)]&&_0x3d6fee['push']([Rt,{'useClass':oo}]),_0x38efe2(this[_0x32390c(0x47c)],_0x3fae8d(_0x3d6fee,(_0x1f81ca=this['_config'])==null?void 0x0:_0x1f81ca['override']));}[_0x22ca65(0x251)](){const _0x555cba=_0x22ca65;this['disposeWithMe'](this[_0x555cba(0x1f7)]['registerRenderModule'](_0x297986[_0x555cba(0x462)],[os])),this['disposeWithMe'](this[_0x555cba(0x1f7)]['registerRenderModule'](_0x297986[_0x555cba(0x1f5)],[as]));}[_0x22ca65(0x1e4)](){const _0x7ea568=_0x22ca65;var _0x4b3b1c,_0x5a7743;this[_0x7ea568(0x47c)][_0x7ea568(0x327)](_0x5cb2c0)[_0x7ea568(0x414)]({'priority':0x14,'interceptor':_0x44b3d2({'maxParallel':0x6})}),(_0x4b3b1c=this[_0x7ea568(0x469)])!=null&&_0x4b3b1c[_0x7ea568(0x42f)]||this[_0x7ea568(0x47c)]['get'](q)[_0x7ea568(0x483)](),(_0x5a7743=this['_config'])!=null&&_0x5a7743['enableAuthServer']&&_0x4acb1b(this['_injector'],[[Et]]),_0x4acb1b(this[_0x7ea568(0x47c)],[[bt],[Ve],[It],[it],[St],[Tt]]);}};Uc(us,'pluginName',Nc),us=Pc([_0x2af654(_0x6698d,_0x5afdc9),lt(0x1,_0x3b5747),lt(0x2,_0x4cb866),lt(0x3,_0x1013ae(_0x1f2d44)),lt(0x4,_0x407e18)],us);export{ka as AUTHZ_URL_KEY,cs as AuthzIoHttpService,Er as COLLAB_SUBMIT_CHANGESET_URL_KEY,ur as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,gt as CollaborationEntity,ts as CollaborationSession,xe as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,Ea as CollaborationStatusDisplay,wi as CommentService,It as DataLoaderController,St as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,vr as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,yi as ICollaborationSocketService,Bi as IURLService,hs as ImageIoService,Ir as LOCAL_CACHE_INTERVAL_KEY,Tr as LOGIN_URL_KEY,q as LocalCacheService,Me as MemberService,gr as RETRY_CONNECTING_MAX_COUNT_KEY,Jc as SEND_CHANGESET_TIMEOUT_KEY,cr as SNAPSHOT_SERVER_URL_KEY,lr as SNAPSHOT_URL_KEY,ve as SessionStatus,Jo as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,yc as WebURLService,yr as deserializeToCombResponse,wr as serializeCombRequest};