@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506181607 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3059(_0x51787e,_0x56ef80){const _0x4ae1cc=_0x4ae1();return _0x3059=function(_0x3059cf,_0x5c962f){_0x3059cf=_0x3059cf-0x14e;let _0x227bd7=_0x4ae1cc[_0x3059cf];return _0x227bd7;},_0x3059(_0x51787e,_0x56ef80);}function _0x4ae1(){const _0x23cef0=['triggerDblclick','Module','save','UniverInstanceType','replaceDocRanges','moveTo','_toggleOnline','_anchor','Plugin','handleInsertRangeMoveRight','entityInit$','_initDependencies','_session','fill','setActiveRange','collabStatus.fetchMiss','sessionStatus$','range','_removeClearOtherTimer','_eventUnsubscribe','_updateSubUnitFromURLParams','height','addClipboardHook','_docSkeleton','fillText','exports','INVITE_CODE_ALREADY_BOUND','_uiPartsService','BrowserCollaborationSocketService','@univerjs/core','BuiltInUIPart','ALREADY_EXISTS','startsWith','APPLY_DUPLICATED','@univerjs/docs','collaboration.closeRoom','unsubscribe','_urlService','getSkeleton','entries','_ensureSubject','RegularPolygon','colorChannel1','docStateChange$','IUniverInstanceService','m2Prime','getSheetId','CollaborationDataLoaderController','_createSocketURL','call','getTypeOfUnitDisposed$','fromEvent','getValue','InsertRangeMoveRightCommandId','dispose','next','getSheetObject','amd','_onRefRangeChange','_setupBeforeClosingHandler','VIEW_MAIN','origin','name','_drawAnchor','onPointerMove$','EffectRefRangId','Injector','mutations','_memberService','OFFLINE','ILocalStorageService','LOCAL_CACHE_INTERVAL_KEY','_drawRectRange','Subject','toDisposable','Inject','setItem','rxjs','session.will-retry','4214682GmqZPF','defineProperty','getUnitId','transformStateCache','_roomMembers$','COMPLETION_FINISHED','_hovered','defs','currentColor','undoState','_refreshCollabCursors','_scheduleSaving','unitId','isEditing','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_initEvent','_cursorShapes','mask','getCoordByCell','pipe','_getAnchorBounding','status$','setAlpha','_clearOtherTimers','params','_hideTimer','YUUMI_ALL_TABLES_IS_INVALID','wsSessionTicketUrl','rxjs/operators','registerComponent','_saveTaskMap','unit','url(#on-line-icon_clip0_910_349)','OnLineIcon','_updateURLWithCurrentState','makeDirty','TEXT','_dataLoaderService','hasOwnProperty','m1Prime','isTransformMutationFailure','stringify','cursorInfo$','MoveRangeCommandId','updateOfflineData','_messageService','length','add','displayName','APPLY_PERMISSION_DENIED','_docTransformSelectionsService','Rect','subunit','LOCAL_CACHE_INTERVAL','DesktopCollaborationStatusDisplayController','onMouseMove','ISocketService','_transformUndoRedoStack','_collabSessionService','Failed','UniverSheets','isArray','RemoveRowCommandId','apply','RxDisposable','color','@univerjs/design','_unitStatus','session.connection-failed','_send','use','UNAUTHENTICATED','jsx','icon','function','_status$','disposeWithMe','onPointerLeave$','_collabCursorController','trim','top','body','_initStatusComponent','CHANGESET_REVISION_CONFILICT','_renderManagerService','collabStatus.conflict','_getScale','width','_entities','InsertColCommandId','collab-text-anchor-','getParam','_injector','2386581PauCdz','with','useRef','debug','subUnitId','transformMutationsWithChangeset','currentSkeleton$','runId','setInterval','_getMergeRange','_scheduleHeartbeat','IURLService','forEach','debounceTime','values','Tools','_collabCursorState$','setUndoRedoMutationParamsCache','complete','_range','getMemberID','delete','getCollabEntity$','href','toString','lineTo','closePath','UniverDocsUi','UniverDesign','onCommandExecuted','_initEntityListener','M0\x200H16V16H0z','_cachedData','UNIVER_DOC','ENSURE_SNAPSHOT_EXECUTION','_drawTextRange','onLocalMutation','getConfig','@univerjs/sheets-ui','white','restore','collabStatus.offline','debounce','ACTIVE_UNIT_EVENT_CHANNEL','init','evenodd','addEventListener','CollaborationEvent','getUnitStatus$','RemoteUniscriptService','executeCommand','Tooltip','@univerjs/engine-render','touchDependencies','_onCursorDelete','SetWorksheetActivateCommand','NodePositionConvertToRectRange','popstate','green.600','runRefRangeMutations','_localeService','assign','getActiveSheet','1579595yIsyuW','IRenderManagerService','CLOSE_ROOM','from','CollaborationSessionService','_disabled','_saveCache','onRendered','UniverDrawing','ranges','APPLY_REVISION_CONFILICT','RemoveColCommandId','path','_collaborationUIEventService','parse','attrs','TOO_MANY_REQUESTS','WebURLService','registerRefRange','_shapes','collabCursorState$','push','getSheetBySheetId','YUUMI_AI_RUN_FAILED','focused$','_docTransformIMECacheService','PERMISSION_DENIED','INTERNAL_ERROR','event$','UnitStatus','ISnapshotServerService','DisposableCollection','hide','actions','DocSkeletonManagerService','useDependency','_initResize','jiqing.500','1118341IfdUlt','getTypeOfUnitAdded$','_beforeCloseService','labelPosition','doc.mutation.rich-text-editing','OTHER_CLIENT_EDITING','transformSelections','transformIMECache','combineLatest','UNDEFINED','_context','exhaustSavingTask','CollaborationController','symbol','saveTaskMap','url(#$1','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','INVITE_CODE_HAS_BEEN_UES','measureText','_instanceService','UniverUi','getRelativeToViewportCoord','replaceState','getMergeData','YUUMI_ASYNCIO_CANCELLED','cursorInfo','CollaborationUIEventService','yellow.400','[CollaborationDataLoaderController]','SNAPSHOT_HAS_BEEN_REMOVED','min','_unitOnClients','result','resize','prototype','Error','data','CollaborationStatusDisplay','UniverEngineRender','registerBeforeClose','Rectangle','NO_OTHER_CLIENTS_EDITING','DataLoaderService','_docClipboardService','DeleteRangeMoveUpCommandId','_colorAssignService','getUndoRedoMutationParamsCache','getAncestorScale','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','tag','className','react/jsx-runtime','collaboration-client-ui.config','UniverProCollaboration','selection','ONLINE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_logService','ITransformService','CollaborationUIEventId','idSuffix','SHEET_VIEWPORT_KEY','setStateCache','pluginName','mergeOverrideWithDependencies','YUUMI_NO_CUBOID_FOR_QUESTION','isTransformMutationsWithChangesetSuccess','collabStatus.synced','@univerjs/ui','10MGZUAh','_revisionService','div','clearTimeout','_backgroundColor','_notificationService','CONNECTOR_DATA_TOO_LARGE','on-line-icon_clip0_910_349','startColumn','DeleteRangeMoveLeftCommandId','unshift','arc','ColorKit','executionId','fromEventSubject','disposeUnit','none','FromArray','getColorFromTheme','font','SetTextSelectionsOperation','collabStatus.syncing','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Disposable','getCurrentUnitForType','handleInsertCol','MUTATION','bottom','ILocalCacheService','@univerjs/network','_assignedColors','RECT','MemberService','collaboration.single-unit.warning','_onCursorUpdate','_getSheetObject','_anchorDot','LICENSE_DISTRO_REJECTED','currentTheme$','APPLY_REJECT','_transformHistoryAndStateStack','off-line-icon','APPLY_NON_SEQUENTIAL_REVISION','collaboration-client.offline-data-not-saved','getOwnPropertyDescriptor','round','subscribe','SUBMIT_CHANGESET_TIMEOUT','searchParams','find','size','http://www.w3.org/2000/svg','DocCollaborationEntity','onStarting','createIdentifier','SYNCED','IBeforeCloseService','_init','LICENSE_EXPORT_SIZE_EXCEEDED','ILogService','string','YUUMI_UNABLE_LOAD_URL','onTransformChange$','Unknown\x20user','newValue','fillRule','show','saveImage','registerRenderModule','filter','27892332nsebCP','EMAIL_HAS_BEEN_BOUND','clsx','_initCommandExecutedListener','deepClone','send','transformMutation','replace','NodePositionConvertToCursor','imageSourceType','dispose$','IUIPartsService','_handleLeaveEvent','_transformPreviousActiveRange','_selfUnitIDs','_hover','react','getCurrentSelections','_startDocCollabCursor','AWAITING_WITH_PENDING','storage','ICommandService','MessageType','getUnhiddenWorksheets','_docStateChangeManagerService','MOBILE_HAS_BEEN_BOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','loadOfflineData','xlink:href','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_syncEditingCollabCursorService','key','RefRangeService','transform','textRanges','urlChange$','/run/','_handleHover','11522577zHnoNc','switchMap','getFocusedUnit','_themeService','forwardRef','column','UPDATE_CURSOR','_labelPosition','4DoUFfv','UniverProCollaborationClient','_toggleOffline','then','_doCreateSocket','@univerjs/drawing','_getSaveTimeout','disableLocalCache','toRgbString','includes','isActive','_cursor','LocaleService','DOC_RANGE_TYPE','1em','OTHER_CLIENTS_EDITING','@univerjs-pro/collaboration','@univerjs/rpc','get','all','2kCfDAg','clipPath','backgroundColor','USERS_LEAVE','type','subscribeEvent','UniverCollaborationClientUIPlugin','contains','IMessageService','RichTextEditingMutation','...','TEXT_RANGE_LAYER_INDEX','_handleEvent','SetSelectionsOperation','endColumn','_localStorageService','INVALID_ARGUMENT','getCollabCursors$','IImageIoService','ThemeService','_initStatusListener','black','setConfig','permission.title','UniverIcon','onPointerEnter$','redoState','substring','DocIMEInputManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','transformRemoteChangeset','handleIRemoveRow','createSocket','blue.400','distinctUntilChanged','url(#off-line-icon_clip0_910_343)','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','LOGIN_FAILED','history','8JXxVEH','children','setParam','DocStateChangeManagerService','enableLocalCache','SNAPSHOT_INVALID_SNAPSHOT','map','concat','object','max','rgba(255,\x20255,\x20255,\x200.01)','DependentOn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IConfigService','getVpScrollXYInfoByPosToVp','session.collaboration-timeout','_startSheetCollabCursor','takeUntil','saveOfflineData','_color','NOT_COLLAB','_cursorInfo$','asObservable','handleMoveRange','INVALID_INVITE_CODE','SetDocZoomRatioOperation','UniverDocs','unload','_getSessionTicket','getRenderById','578054lRYNLT','DEFAULT_WS_SESSION_TICKET_URL','svg','endRow','_handleJoinEvent','row','set','_updateCollabCursors','PY_RUNTIME_SCRIPT_ERROR','location','uni.network.url-service','_transformService','generateRandomId','sessionTicket','findNodePositionByCharIndex','addObject','shareReplay','_scene','getViewport','_registerRenderDependencies','useObservable','createElement','roomMembers$','removeParam','has','BehaviorSubject','_colorIndex','requireSession','transformByState','_setupSubUnitSync','loadUnit','getCellPositionByOffset','CollaborationStatus','_commandService','_draw','_online','AWAITING','sheetId','UNRECOGNIZED','ticket','pushState','12rWdoDS','getColor','@univerjs/engine-formula','HTTPService','DocSelectionManagerService','assignAColorForMemberID','_textBubble','random','roomMembers','unitID','activeSheet$','getRangePointData','YUUMI_SUBSCRIPTION_NOT_FOUND','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_docTransformStateCacheService','getStateCache','throttleTime','COLORS','FETCH_MISS','_registerDependencies','collabStatus.notCollab','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IDocClipboardService','_docSyncEditingCollabCursorService','merge','setShapeProps','_removeCollabCursors','_cursors','whenReady','drawWith','_id','mapTo','_heartbeatTimer','defIds','fillStyle','_univerInstanceService','YUUMI_RATE_OVER_LIMIT','post','_localCacheService','_updateLocalCursor','0\x200\x2017\x2016','SheetSkeletonManagerService','Optional','text','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UNIVER_SHEET','SessionStatus','Shape','INVITE_CODE_REQUIRED','handleDeleteRangeMoveLeft','_configService','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','_collaborationController','OffLineIcon','_name','indexOf','permission.content','_render','addHandlerCallback','Warning','_httpService','eventID','handleIRemoveCol','CONFLICT','HEADER_MENU','_entityInit$','@univerjs-pro/collaboration-client','handleDeleteRangeMoveUp','_sheetSkeletonManagerService','_refRangeService','current','UniverCore','sheetID','_docSkeletonManagerService','error','WECHAT_HAS_BEEN_BOUND','getCurrent','_lastPointer','runOnServer','beginPath'];_0x4ae1=function(){return _0x23cef0;};return _0x4ae1();}(function(_0x1d0861,_0x3e3aab){const _0x16694e=_0x3059,_0x13e1ef=_0x1d0861();while(!![]){try{const _0x29639c=parseInt(_0x16694e(0x28a))/0x1*(-parseInt(_0x16694e(0x2cf))/0x2)+parseInt(_0x16694e(0x158))/0x3*(-parseInt(_0x16694e(0x276))/0x4)+parseInt(_0x16694e(0x197))/0x5*(parseInt(_0x16694e(0x2f8))/0x6)+parseInt(_0x16694e(0x1bd))/0x7*(-parseInt(_0x16694e(0x2b1))/0x8)+parseInt(_0x16694e(0x397))/0x9+-parseInt(_0x16694e(0x202))/0xa*(parseInt(_0x16694e(0x26e))/0xb)+parseInt(_0x16694e(0x248))/0xc;if(_0x29639c===_0x3e3aab)break;else _0x13e1ef['push'](_0x13e1ef['shift']());}catch(_0x6fa4c2){_0x13e1ef['push'](_0x13e1ef['shift']());}}}(_0x4ae1,0xcdf7e),function(_0x7d8069,_0x2e808d){const _0x520d84=_0x3059;typeof exports==_0x520d84(0x2b9)&&typeof module<'u'?_0x2e808d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require(_0x520d84(0x18c)),require(_0x520d84(0x21f)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require(_0x520d84(0x36a)),require('@univerjs-pro/collaboration'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require(_0x520d84(0x3b3)),require(_0x520d84(0x17e)),require(_0x520d84(0x1f0)),require(_0x520d84(0x201)),require(_0x520d84(0x3d9)),require(_0x520d84(0x258)),require('@univerjs/rpc')):typeof define==_0x520d84(0x3e1)&&define[_0x520d84(0x381)]?define([_0x520d84(0x361),_0x520d84(0x33a),_0x520d84(0x365),_0x520d84(0x18c),_0x520d84(0x21f),'@univerjs/docs-ui',_0x520d84(0x27b),'rxjs','@univerjs/docs',_0x520d84(0x286),_0x520d84(0x2fa),'@univerjs/sheets',_0x520d84(0x3b3),_0x520d84(0x17e),_0x520d84(0x1f0),_0x520d84(0x201),_0x520d84(0x3d9),_0x520d84(0x258),_0x520d84(0x287)],_0x2e808d):(_0x7d8069=typeof globalThis<'u'?globalThis:_0x7d8069||self,_0x2e808d(_0x7d8069['UniverProCollaborationClientUi']={},_0x7d8069[_0x520d84(0x277)],_0x7d8069[_0x520d84(0x33f)],_0x7d8069[_0x520d84(0x1e3)],_0x7d8069['UniverNetwork'],_0x7d8069[_0x520d84(0x173)],_0x7d8069[_0x520d84(0x19f)],_0x7d8069[_0x520d84(0x395)],_0x7d8069[_0x520d84(0x2cb)],_0x7d8069[_0x520d84(0x1f2)],_0x7d8069['UniverEngineFormula'],_0x7d8069[_0x520d84(0x3d3)],_0x7d8069[_0x520d84(0x395)]['operators'],_0x7d8069['UniverSheetsUi'],_0x7d8069['React'],_0x7d8069[_0x520d84(0x1d1)],_0x7d8069[_0x520d84(0x174)],_0x7d8069['React'],_0x7d8069['UniverRpc']));}(this,function(_0x1ad031,_0x1062f6,_0x3dc819,_0x49d167,_0x273bf2,_0x4c4bbe,_0x6bbfa0,_0x5c682c,_0x358a5a,_0x40fcc9,_0x9cd594,_0x43d9c5,_0x3c2e70,_0x315d01,_0x2765ed,_0x3513eb,_0x479c75,_0x29beeb,_0x4cd836){'use strict';const _0x122628=_0x3059;var _0x324274=Object['defineProperty'],_0x4d419b=(_0x1941ef,_0x42a6bb,_0x59fca9)=>_0x42a6bb in _0x1941ef?_0x324274(_0x1941ef,_0x42a6bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59fca9}):_0x1941ef[_0x42a6bb]=_0x59fca9,_0x1e4415=(_0x11d934,_0x22b280,_0x4ddc11)=>_0x4d419b(_0x11d934,typeof _0x22b280!=_0x122628(0x1ca)?_0x22b280+'':_0x22b280,_0x4ddc11),_0x2978c5=Object[_0x122628(0x22e)],_0x390442=(_0x2c2780,_0x36d327,_0x47ec62,_0x310d1b)=>{const _0x10f780=_0x122628;for(var _0x53e12a=_0x310d1b>0x1?void 0x0:_0x310d1b?_0x2978c5(_0x36d327,_0x47ec62):_0x36d327,_0x5881c5=_0x2c2780[_0x10f780(0x3c5)]-0x1,_0x34f831;_0x5881c5>=0x0;_0x5881c5--)(_0x34f831=_0x2c2780[_0x5881c5])&&(_0x53e12a=_0x34f831(_0x53e12a)||_0x53e12a);return _0x53e12a;},_0x354567=(_0x5fdd0,_0x571089)=>(_0x316b90,_0x59ca52)=>_0x571089(_0x316b90,_0x59ca52,_0x5fdd0);let _0x5d143f=class extends _0x3dc819['RxDisposable']{constructor(_0x3b97e3,_0x4be6d8){const _0x32cfce=_0x122628;super(),this[_0x32cfce(0x1e8)]=_0x3b97e3,this['_imageIoService']=_0x4be6d8,this[_0x32cfce(0x23b)]();}[_0x122628(0x23b)](){const _0x4f3bf7=_0x122628,_0x223e53=this;this[_0x4f3bf7(0x3e3)](this[_0x4f3bf7(0x1e8)][_0x4f3bf7(0x35e)]({'onBeforePasteImage':async _0x190112=>{const _0x3fb0bd=_0x4f3bf7,_0x3937d1=await _0x223e53['_imageIoService'][_0x3fb0bd(0x245)](_0x190112);return _0x3937d1?{'source':_0x3937d1['source'],'imageSourceType':_0x3937d1[_0x3fb0bd(0x251)]}:null;}}));}};_0x5d143f=_0x390442([_0x354567(0x0,_0x4c4bbe[_0x122628(0x30e)]),_0x354567(0x1,_0x6bbfa0[_0x122628(0x29c)])],_0x5d143f);const _0x488680=['purple.300',_0x122628(0x1bc),_0x122628(0x192),'red.300',_0x122628(0x2ab),_0x122628(0x1d8)];class _0x42bb3a extends _0x3dc819['Disposable']{constructor(){const _0x37604d=_0x122628;super(...arguments),_0x1e4415(this,'_assignedColors',new Map()),_0x1e4415(this,_0x37604d(0x2e9),0x0);}[_0x122628(0x2fd)](_0x3bc635){const _0x1a39cf=_0x122628;if(this[_0x1a39cf(0x220)][_0x1a39cf(0x2e7)](_0x3bc635))return this[_0x1a39cf(0x220)][_0x1a39cf(0x288)](_0x3bc635);const _0x52788a=_0x488680[this[_0x1a39cf(0x2e9)]];return this[_0x1a39cf(0x2e9)]=(this[_0x1a39cf(0x2e9)]+0x1)%_0x488680[_0x1a39cf(0x3c5)],this[_0x1a39cf(0x220)][_0x1a39cf(0x2d5)](_0x3bc635,_0x52788a),_0x52788a;}}function _0x4fab90(_0x50f4d3){const _0x4e7030=_0x122628;let _0x160747='';for(const _0x5c3303 of _0x50f4d3){const {startOffset:_0x27d45d,endOffset:_0x263a36,isActive:_0x240609,rangeType:_0x5dbdd6,segmentId:_0x15022e,segmentPage:_0x5cddf1}=_0x5c3303;_0x160747[_0x4e7030(0x3c5)]&&(_0x160747+=','),_0x160747+=_0x27d45d+':'+_0x263a36+':'+(_0x240609?'1':'0')+':'+_0x5dbdd6+':'+_0x15022e+':'+_0x5cddf1;}return _0x160747;}function _0x384e13(_0x32cd05){const _0x1af8de=_0x122628,_0x3bea7b=_0x32cd05['split'](','),_0x24704d=[];for(const _0x2e158b of _0x3bea7b){const [_0x2297e6,_0x3998e7,_0x20f611,_0x3115e8,_0x591e93,_0x434d5a]=_0x2e158b['split'](':');_0x24704d[_0x1af8de(0x1ac)]({'startOffset':Number(_0x2297e6),'endOffset':Number(_0x3998e7),'collapsed':_0x2297e6===_0x3998e7,'isActive':_0x20f611==='1','rangeType':_0x3115e8===_0x3dc819[_0x1af8de(0x283)][_0x1af8de(0x3bb)]?_0x3dc819[_0x1af8de(0x283)]['TEXT']:_0x3dc819[_0x1af8de(0x283)][_0x1af8de(0x221)],'segmentId':typeof _0x591e93==_0x1af8de(0x23e)?String(_0x591e93):'','segmentPage':Number(_0x434d5a!=null?_0x434d5a:-0x1)});}return _0x24704d['some'](_0x52336c=>_0x52336c[_0x1af8de(0x280)])||(_0x24704d[0x0]['isActive']=!0x0),_0x24704d;}class _0x39a5b7 extends _0x3dc819['RxDisposable']{constructor(){const _0x51213a=_0x122628;super(...arguments),_0x1e4415(this,_0x51213a(0x168),new _0x5c682c[(_0x51213a(0x2e8))](null)),_0x1e4415(this,_0x51213a(0x1ab),this[_0x51213a(0x168)][_0x51213a(0x2c7)]());}['syncEditingCollabCursor'](_0x150ed8){const _0x53c047=_0x122628,{unitID:_0x515861,memberID:_0x4b89f1,textRanges:_0x92231d}=_0x150ed8,_0x25e40a=_0x4fab90(_0x92231d);if(_0x25e40a==='')return;const _0x174ee8={'unitID':_0x515861,'memberID':_0x4b89f1,'selection':_0x25e40a};this[_0x53c047(0x168)]['next'](_0x174ee8);}}var _0x16ba21=Object[_0x122628(0x22e)],_0x4b05f0=(_0x287f22,_0xb3251,_0x17e7a2,_0x54d5fd)=>{const _0x1a5e9a=_0x122628;for(var _0x18f0c3=_0x54d5fd>0x1?void 0x0:_0x54d5fd?_0x16ba21(_0xb3251,_0x17e7a2):_0xb3251,_0x254eb3=_0x287f22[_0x1a5e9a(0x3c5)]-0x1,_0x8eec41;_0x254eb3>=0x0;_0x254eb3--)(_0x8eec41=_0x287f22[_0x254eb3])&&(_0x18f0c3=_0x8eec41(_0x18f0c3)||_0x18f0c3);return _0x18f0c3;},_0x1af92a=(_0x348500,_0x1dab34)=>(_0x23efe7,_0x5a1727)=>_0x1dab34(_0x23efe7,_0x5a1727,_0x348500);const _0x279a96=0x12c,_0x173ac9=0x64;let _0x30f108=class extends _0x3dc819[_0x122628(0x3d7)]{constructor(_0x50f40f,_0xa21a1e,_0x4a5aed,_0x5c0971,_0x179745,_0x46b092,_0x4d848c,_0x1a46f0,_0x2a963b){const _0x4bc887=_0x122628;super(),_0x1e4415(this,_0x4bc887(0x2f2),!0x1),_0x1e4415(this,_0x4bc887(0x23b),!0x1),_0x1e4415(this,_0x4bc887(0x2c6),new _0x5c682c['BehaviorSubject'](new Map())),_0x1e4415(this,'cursorInfo$',this['_cursorInfo$'][_0x4bc887(0x2c7)]()),_0x1e4415(this,'_roomMembers$',new _0x5c682c[(_0x4bc887(0x2e8))]([])),_0x1e4415(this,_0x4bc887(0x2e5),this['_roomMembers$'][_0x4bc887(0x3aa)](_0x5c682c['debounceTime'](_0x279a96))),_0x1e4415(this,_0x4bc887(0x31f),_0x3dc819['debounce'](_0x37758b=>{const _0x4d317a=_0x4bc887,_0x10681d={'eventID':_0x40fcc9[_0x4d317a(0x187)][_0x4d317a(0x274)],'data':{'unitID':this[_0x4d317a(0x301)],'memberID':this[_0x4d317a(0x354)][_0x4d317a(0x16c)](),'selection':_0x4fab90(_0x37758b)}};this['_session'][_0x4d317a(0x24d)](_0x10681d,this[_0x4d317a(0x301)]);},_0x173ac9)),(this[_0x4bc887(0x301)]=_0x50f40f,this[_0x4bc887(0x354)]=_0xa21a1e,this[_0x4bc887(0x157)]=_0x4a5aed,this[_0x4bc887(0x1ea)]=_0x5c0971,this['_memberService']=_0x179745,this['_syncEditingCollabCursorService']=_0x46b092,this[_0x4bc887(0x2da)]=_0x4d848c,this[_0x4bc887(0x31b)]=_0x1a46f0,this['_commandService']=_0x2a963b);}get[_0x122628(0x1d6)](){const _0x2e9da8=_0x122628;return this[_0x2e9da8(0x2c6)][_0x2e9da8(0x37c)]();}get[_0x122628(0x300)](){const _0x1c3374=_0x122628;return this[_0x1c3374(0x39b)]['getValue']();}['dispose'](){const _0x36650c=_0x122628;super[_0x36650c(0x37e)](),this[_0x36650c(0x2c6)][_0x36650c(0x37f)](new Map()),this[_0x36650c(0x2c6)]['complete'](),this[_0x36650c(0x39b)][_0x36650c(0x37f)]([]),this[_0x36650c(0x39b)][_0x36650c(0x16a)]();}[_0x122628(0x184)](){const _0x57bc56=_0x122628;this[_0x57bc56(0x23b)]||(this['_init']=!0x0,this[_0x57bc56(0x354)][_0x57bc56(0x358)][_0x57bc56(0x3aa)](_0x5c682c[_0x57bc56(0x2c2)](this[_0x57bc56(0x252)]))[_0x57bc56(0x230)](_0x27234b=>{const _0x112896=_0x57bc56;_0x27234b===_0x1062f6[_0x112896(0x326)][_0x112896(0x1f4)]?this[_0x112896(0x34e)]():this[_0x112896(0x278)]();}),this[_0x57bc56(0x354)][_0x57bc56(0x1b3)]['pipe'](_0x5c682c['takeUntil'](this['dispose$']))['subscribe'](_0x1a91ce=>{const _0x4475c0=_0x57bc56,_0x8e5c49=_0x1a91ce[_0x4475c0(0x335)];_0x8e5c49===_0x40fcc9[_0x4475c0(0x187)][_0x4475c0(0x274)]&&this[_0x4475c0(0x224)](_0x1a91ce),_0x8e5c49===_0x40fcc9[_0x4475c0(0x187)][_0x4475c0(0x28d)]&&this[_0x4475c0(0x18e)](_0x1a91ce);}),this[_0x57bc56(0x3e3)](this[_0x57bc56(0x2f0)][_0x57bc56(0x175)](_0x14ea64=>{const _0x252ace=_0x57bc56,_0xa8e14c=_0x14ea64[_0x252ace(0x3af)];_0xa8e14c!=null&&this[_0x252ace(0x2f2)]&&_0x14ea64['id']===_0x358a5a[_0x252ace(0x216)]['id']&&_0xa8e14c[_0x252ace(0x3a3)]===this[_0x252ace(0x301)]&&_0xa8e14c[_0x252ace(0x3a4)]===!0x1&&_0xa8e14c[_0x252ace(0x1a0)][_0x252ace(0x3c5)]>0x0&&this[_0x252ace(0x31f)](_0xa8e14c[_0x252ace(0x1a0)]);})),this[_0x57bc56(0x266)][_0x57bc56(0x1ab)][_0x57bc56(0x3aa)](_0x5c682c['takeUntil'](this[_0x57bc56(0x252)]))['subscribe'](_0x2ae50f=>{const _0x8695c5=_0x57bc56;if((_0x2ae50f==null?void 0x0:_0x2ae50f[_0x8695c5(0x301)])!==this[_0x8695c5(0x301)])return;const _0x5a7e82={'eventID':_0x40fcc9[_0x8695c5(0x187)][_0x8695c5(0x274)],'data':_0x2ae50f};this[_0x8695c5(0x224)](_0x5a7e82);}),this['disposeWithMe'](this[_0x57bc56(0x2f0)][_0x57bc56(0x175)](_0x1f20df=>{const _0x4161b9=_0x57bc56;if(_0x1f20df[_0x4161b9(0x3af)]==null)return;const _0x13b638=_0x1f20df[_0x4161b9(0x3af)];if(_0x1f20df['id']!==_0x358a5a[_0x4161b9(0x293)]['id']||_0x13b638['unitId']!==this[_0x4161b9(0x301)])return;const _0x81bf76={'id':_0x4161b9(0x1c1),'params':_0x13b638},_0x2a05e4=this[_0x4161b9(0x1d6)];for(const [_0x49dd59,_0x2e2bfd]of _0x2a05e4){const _0x839d9c={'id':_0x4161b9(0x1c1),'params':{'unitId':this[_0x4161b9(0x301)],'actions':null,'textRanges':_0x2e2bfd['ranges']}},_0x47d844=this[_0x4161b9(0x2da)]['transformMutation'](_0x81bf76,_0x839d9c,!0x1);if(_0x40fcc9['isTransformMutationFailure'](_0x47d844))throw _0x47d844[_0x4161b9(0x342)];_0x2a05e4['set'](_0x49dd59,{..._0x2e2bfd,'ranges':_0x47d844['m2Prime']['params'][_0x4161b9(0x26a)]});}queueMicrotask(()=>{const _0x489b33=_0x4161b9;this[_0x489b33(0x2c6)][_0x489b33(0x37f)](_0x2a05e4);});})));}[_0x122628(0x224)](_0x34ae7b){const _0x5cea6d=_0x122628;var _0x24a0c8,_0x15842e;const {memberID:_0x763e53,selection:_0x220543}=_0x34ae7b[_0x5cea6d(0x1e1)],_0x47d6be=_0x384e13(_0x220543),_0x3b7d37=(_0x15842e=(_0x24a0c8=this[_0x5cea6d(0x38c)]['getMember'](this['unitID'],_0x763e53))==null?void 0x0:_0x24a0c8[_0x5cea6d(0x386)])!=null?_0x15842e:'Unknown\x20user',_0x5b9748={'color':this[_0x5cea6d(0x1ea)][_0x5cea6d(0x2fd)](_0x763e53),'name':_0x3b7d37,'ranges':_0x47d6be},_0x374037=this[_0x5cea6d(0x1d6)];_0x374037['set'](_0x763e53,_0x5b9748),this[_0x5cea6d(0x2c6)][_0x5cea6d(0x37f)](_0x374037);}[_0x122628(0x18e)](_0x4d7ea1){const _0x4a8912=_0x122628,{memberID:_0xfc6ddd}=_0x4d7ea1[_0x4a8912(0x1e1)],_0x42c748=this['cursorInfo'];_0x42c748['delete'](_0xfc6ddd),this['_cursorInfo$'][_0x4a8912(0x37f)](_0x42c748);}[_0x122628(0x34e)](){const _0x3796a3=_0x122628;var _0x4e1fa4;if(this[_0x3796a3(0x2f2)]=!0x0,((_0x4e1fa4=this[_0x3796a3(0x31b)][_0x3796a3(0x270)]())==null?void 0x0:_0x4e1fa4[_0x3796a3(0x399)]())!==this[_0x3796a3(0x301)])return;const _0x312034=this[_0x3796a3(0x157)][_0x3796a3(0x288)](_0x358a5a[_0x3796a3(0x2fc)])['getDocRanges']();Array[_0x3796a3(0x3d4)](_0x312034)&&_0x312034[_0x3796a3(0x3c5)]>0x0&&this[_0x3796a3(0x31f)](_0x312034);}[_0x122628(0x278)](){const _0x3e0e5c=_0x122628;this[_0x3e0e5c(0x2f2)]=!0x1;}};_0x30f108=_0x4b05f0([_0x1af92a(0x2,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x38a)])),_0x1af92a(0x3,_0x3dc819[_0x122628(0x393)](_0x42bb3a)),_0x1af92a(0x4,_0x3dc819[_0x122628(0x393)](_0x1062f6['MemberService'])),_0x1af92a(0x5,_0x3dc819[_0x122628(0x393)](_0x39a5b7)),_0x1af92a(0x6,_0x40fcc9['ITransformService']),_0x1af92a(0x7,_0x3dc819[_0x122628(0x374)]),_0x1af92a(0x8,_0x3dc819[_0x122628(0x25d)])],_0x30f108);var _0x3f9563=Object[_0x122628(0x22e)],_0x272d0d=(_0x56f369,_0x421a2a,_0x1150be,_0x201dfc)=>{for(var _0x40ba5f=_0x201dfc>0x1?void 0x0:_0x201dfc?_0x3f9563(_0x421a2a,_0x1150be):_0x421a2a,_0x370e09=_0x56f369['length']-0x1,_0x12f6b1;_0x370e09>=0x0;_0x370e09--)(_0x12f6b1=_0x56f369[_0x370e09])&&(_0x40ba5f=_0x12f6b1(_0x40ba5f)||_0x40ba5f);return _0x40ba5f;},_0x142f19=(_0x24ed00,_0xdf1374)=>(_0x145940,_0x1e1b61)=>_0xdf1374(_0x145940,_0x1e1b61,_0x24ed00);const _0xbad5c3=0x12c,_0x48c21e=0x64,_0x13fff8=()=>{let _0x4f2aba=[],_0x10ddbf=!0x1;return _0xe14c2d=>{const _0x4db7b0=_0x3059;_0x4f2aba[_0x4db7b0(0x1ac)](_0xe14c2d),_0x10ddbf||(_0x10ddbf=!0x0,setTimeout(()=>{_0x4f2aba['forEach'](_0x978498=>_0x978498()),_0x4f2aba=[],_0x10ddbf=!0x1;}));};};let _0x16ee38=class extends _0x3dc819[_0x122628(0x3d7)]{constructor(_0x93b96,_0x3677ac,_0xb5dc27,_0x8a6a1e,_0x500e71,_0x4c6de2,_0xfe8f44,_0x38cdd2){const _0x24b3b9=_0x122628;super(),_0x1e4415(this,'_online',!0x1),_0x1e4415(this,_0x24b3b9(0x23b),!0x1),_0x1e4415(this,_0x24b3b9(0x2c6),new _0x5c682c[(_0x24b3b9(0x2e8))](new Map())),_0x1e4415(this,'cursorInfo$',this[_0x24b3b9(0x2c6)][_0x24b3b9(0x2c7)]()),_0x1e4415(this,_0x24b3b9(0x39b),new _0x5c682c[(_0x24b3b9(0x2e8))]([])),_0x1e4415(this,_0x24b3b9(0x2e5),this[_0x24b3b9(0x39b)]['pipe'](_0x5c682c[_0x24b3b9(0x165)](_0xbad5c3))),_0x1e4415(this,_0x24b3b9(0x31f),_0x3dc819[_0x24b3b9(0x182)]((_0x36f1c4,_0x141f93)=>{const _0x3234ba=_0x24b3b9,_0x2649dc={'eventID':_0x40fcc9[_0x3234ba(0x187)][_0x3234ba(0x274)],'data':{'unitID':this[_0x3234ba(0x301)],'memberID':this[_0x3234ba(0x354)][_0x3234ba(0x16c)](),'selection':_0x9cd594['serializeRangeWithSheet'](_0x36f1c4,_0x141f93[_0x3234ba(0x359)])}};this[_0x3234ba(0x354)]['send'](_0x2649dc,this[_0x3234ba(0x301)]);},_0x48c21e)),(this[_0x24b3b9(0x301)]=_0x93b96,this['_session']=_0x3677ac,this[_0x24b3b9(0x157)]=_0xb5dc27,this['_colorAssignService']=_0x8a6a1e,this[_0x24b3b9(0x38c)]=_0x500e71,this[_0x24b3b9(0x31b)]=_0x4c6de2,this[_0x24b3b9(0x2f0)]=_0xfe8f44,this[_0x24b3b9(0x33d)]=_0x38cdd2);}get['cursorInfo'](){const _0x133f85=_0x122628;return this['_cursorInfo$'][_0x133f85(0x37c)]();}get[_0x122628(0x300)](){const _0x3088a9=_0x122628;return this[_0x3088a9(0x39b)][_0x3088a9(0x37c)]();}[_0x122628(0x37e)](){const _0x3616a1=_0x122628;super[_0x3616a1(0x37e)](),this[_0x3616a1(0x2c6)][_0x3616a1(0x37f)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x3616a1(0x37f)]([]),this['_roomMembers$'][_0x3616a1(0x16a)]();}['init'](){const _0x33876d=_0x122628;this['_init']||(this[_0x33876d(0x23b)]=!0x0,this[_0x33876d(0x354)][_0x33876d(0x358)][_0x33876d(0x3aa)](_0x5c682c[_0x33876d(0x2c2)](this['dispose$']))[_0x33876d(0x230)](_0x1ad69d=>{const _0x4b115e=_0x33876d;_0x1ad69d===_0x1062f6['SessionStatus'][_0x4b115e(0x1f4)]?this[_0x4b115e(0x34e)]():this[_0x4b115e(0x278)]();}),this['_session'][_0x33876d(0x1b3)][_0x33876d(0x3aa)](_0x5c682c['takeUntil'](this['dispose$']))[_0x33876d(0x230)](_0x118be5=>{const _0x104216=_0x33876d,_0x28dbc3=_0x118be5[_0x104216(0x335)];_0x28dbc3===_0x40fcc9['CollaborationEvent'][_0x104216(0x274)]&&this[_0x104216(0x224)](_0x118be5),_0x28dbc3===_0x40fcc9[_0x104216(0x187)][_0x104216(0x28d)]&&this[_0x104216(0x18e)](_0x118be5);}),this['_onRefRangeChange'](),this[_0x33876d(0x3e3)](this[_0x33876d(0x2f0)][_0x33876d(0x175)](_0x20676a=>{const _0x1e59be=_0x33876d;if(this[_0x1e59be(0x2f2)]&&_0x20676a['id']===_0x43d9c5[_0x1e59be(0x297)]['id']&&_0x20676a['params']['unitId']===this['unitID']){const _0xc3f34a=_0x20676a[_0x1e59be(0x3af)];this[_0x1e59be(0x31f)](_0xc3f34a[_0x1e59be(0x15c)],_0xc3f34a['selections'][0x0]);}})));}[_0x122628(0x224)](_0x5e7f34){const _0x3b57d5=_0x122628;var _0x2d5999,_0x4ada5e;const {memberID:_0x4e7515,selection:_0x465331}=_0x5e7f34[_0x3b57d5(0x1e1)],{sheetName:_0x38660d,range:_0x3aff90}=_0x9cd594['deserializeRangeWithSheet'](_0x465331),_0x4d6285={'name':(_0x4ada5e=(_0x2d5999=this[_0x3b57d5(0x38c)]['getMember'](this['unitID'],_0x4e7515))==null?void 0x0:_0x2d5999[_0x3b57d5(0x386)])!=null?_0x4ada5e:_0x3b57d5(0x241),'range':this[_0x3b57d5(0x161)](_0x38660d,_0x3aff90),'sheetID':_0x38660d,'color':this[_0x3b57d5(0x1ea)][_0x3b57d5(0x2fd)](_0x4e7515),'selection':_0x465331},_0x19dbe9=this[_0x3b57d5(0x1d6)];_0x19dbe9[_0x3b57d5(0x2d5)](_0x4e7515,_0x4d6285),this[_0x3b57d5(0x2c6)][_0x3b57d5(0x37f)](_0x19dbe9);}[_0x122628(0x18e)](_0x5c3ce4){const _0x1c62e4=_0x122628,{memberID:_0x379cb5}=_0x5c3ce4[_0x1c62e4(0x1e1)],_0x2efe0c=this[_0x1c62e4(0x1d6)];_0x2efe0c[_0x1c62e4(0x16d)](_0x379cb5),this[_0x1c62e4(0x2c6)]['next'](_0x2efe0c);}[_0x122628(0x161)](_0x3d09fd,_0x37fb93){const _0x5c5b92=_0x122628;var _0x4344f3,_0x34048e;const _0x2c6483=(_0x34048e=(_0x4344f3=this[_0x5c5b92(0x31b)]['getUniverSheetInstance'](this[_0x5c5b92(0x301)]))==null?void 0x0:_0x4344f3['getSheetBySheetId'](_0x3d09fd))==null?void 0x0:_0x34048e[_0x5c5b92(0x1d4)]();return(_0x2c6483==null?void 0x0:_0x2c6483[_0x5c5b92(0x233)](_0x56511f=>_0x3dc819[_0x5c5b92(0x1e5)][_0x5c5b92(0x291)](_0x56511f,_0x37fb93)))||_0x37fb93;}[_0x122628(0x382)](){const _0x57b987=_0x122628,_0x5981d7=new _0x3dc819[(_0x57b987(0x1b6))](),_0x346f4c=_0x13fff8(),_0x501588=()=>{const _0xf73214=_0x57b987;_0x5981d7[_0xf73214(0x37e)]();const _0x5ec5e0=(_0x537a00,_0x1b5152,_0x54aef4,_0x38ba1d)=>{const _0x295649=_0xf73214;let _0x2513c3=[];switch(_0x537a00['id']){case _0x43d9c5[_0x295649(0x389)][_0x295649(0x20b)]:{_0x2513c3=_0x43d9c5[_0x295649(0x329)](_0x537a00,_0x38ba1d);break;}case _0x43d9c5['EffectRefRangId'][_0x295649(0x1e9)]:{_0x2513c3=_0x43d9c5[_0x295649(0x33b)](_0x537a00,_0x38ba1d);break;}case _0x43d9c5['EffectRefRangId'][_0x295649(0x154)]:{_0x2513c3=_0x43d9c5[_0x295649(0x21b)](_0x537a00,_0x38ba1d);break;}case _0x43d9c5[_0x295649(0x389)]['InsertRangeMoveDownCommandId']:{_0x2513c3=_0x43d9c5['handleInsertRangeMoveDown'](_0x537a00,_0x38ba1d);break;}case _0x43d9c5[_0x295649(0x389)][_0x295649(0x37d)]:{_0x2513c3=_0x43d9c5[_0x295649(0x351)](_0x537a00,_0x38ba1d);break;}case _0x43d9c5['EffectRefRangId']['InsertRowCommandId']:{_0x2513c3=_0x43d9c5['handleInsertRow'](_0x537a00,_0x38ba1d);break;}case _0x43d9c5[_0x295649(0x389)][_0x295649(0x3c2)]:{_0x2513c3=_0x43d9c5[_0x295649(0x2c8)](_0x537a00,_0x38ba1d);break;}case _0x43d9c5[_0x295649(0x389)][_0x295649(0x1a2)]:{_0x2513c3=_0x43d9c5[_0x295649(0x336)](_0x537a00,_0x38ba1d);break;}case _0x43d9c5[_0x295649(0x389)][_0x295649(0x3d5)]:{_0x2513c3=_0x43d9c5[_0x295649(0x2a9)](_0x537a00,_0x38ba1d);break;}}const _0x44d34e=_0x43d9c5[_0x295649(0x193)](_0x2513c3,_0x38ba1d),_0x4ad269=this[_0x295649(0x1d6)]['get'](_0x1b5152);if(_0x4ad269&&_0x44d34e){const _0x312e3e={..._0x4ad269,'range':_0x44d34e};this[_0x295649(0x1d6)][_0x295649(0x2d5)](_0x1b5152,_0x312e3e),_0x346f4c(()=>{const _0x57b393=_0x295649,_0x1db388=this[_0x57b393(0x33d)][_0x57b393(0x1a9)](_0x44d34e,_0x169e10=>(_0x1db388[_0x57b393(0x37e)](),_0x5ec5e0(_0x169e10,_0x1b5152,_0x54aef4,_0x44d34e)));_0x5981d7[_0x57b393(0x3c6)](_0x1db388);});}return{'redos':[],'undos':[]};};this[_0xf73214(0x1d6)][_0xf73214(0x164)]((_0x414f4d,_0x419ac8)=>{const _0xefcdb=_0xf73214,{range:_0x55c210,sheetID:_0x20a5e8}=_0x414f4d,_0x1e379b=this[_0xefcdb(0x33d)][_0xefcdb(0x1a9)](_0x55c210,_0x558c0c=>(_0x1e379b['dispose'](),_0x5ec5e0(_0x558c0c,_0x419ac8,_0x20a5e8,_0x55c210)));_0x5981d7[_0xefcdb(0x3c6)](_0x1e379b);});};this[_0x57b987(0x3e3)](_0x3dc819[_0x57b987(0x392)](this[_0x57b987(0x2c6)][_0x57b987(0x230)](()=>{_0x501588();})));}['_toggleOnline'](){const _0x3b2c2d=_0x122628;var _0x144f2b,_0x34a3df;if(this[_0x3b2c2d(0x2f2)]=!0x0,((_0x144f2b=this[_0x3b2c2d(0x31b)][_0x3b2c2d(0x270)]())==null?void 0x0:_0x144f2b[_0x3b2c2d(0x399)]())!==this[_0x3b2c2d(0x301)])return;const _0x54f85d=(_0x34a3df=this[_0x3b2c2d(0x157)][_0x3b2c2d(0x288)](_0x43d9c5['SheetsSelectionsService'])[_0x3b2c2d(0x259)]())==null?void 0x0:_0x34a3df[0x0],_0x3f3308=this[_0x3b2c2d(0x31b)][_0x3b2c2d(0x21a)](_0x3dc819[_0x3b2c2d(0x34b)][_0x3b2c2d(0x325)])[_0x3b2c2d(0x196)]();_0x54f85d&&_0x3f3308&&this[_0x3b2c2d(0x31f)](_0x3f3308['getSheetId'](),_0x54f85d);}[_0x122628(0x278)](){const _0x626614=_0x122628;this[_0x626614(0x2f2)]=!0x1;}};_0x16ee38=_0x272d0d([_0x142f19(0x2,_0x3dc819['Inject'](_0x3dc819[_0x122628(0x38a)])),_0x142f19(0x3,_0x3dc819['Inject'](_0x42bb3a)),_0x142f19(0x4,_0x3dc819['Inject'](_0x1062f6[_0x122628(0x222)])),_0x142f19(0x5,_0x3dc819[_0x122628(0x374)]),_0x142f19(0x6,_0x3dc819[_0x122628(0x25d)]),_0x142f19(0x7,_0x3dc819[_0x122628(0x393)](_0x43d9c5[_0x122628(0x268)]))],_0x16ee38);var _0x492759=Object['getOwnPropertyDescriptor'],_0x57c005=(_0x116e2e,_0x32db12,_0x1db872,_0x581e3f)=>{const _0x11672c=_0x122628;for(var _0x236f6a=_0x581e3f>0x1?void 0x0:_0x581e3f?_0x492759(_0x32db12,_0x1db872):_0x32db12,_0x44c19c=_0x116e2e[_0x11672c(0x3c5)]-0x1,_0x175099;_0x44c19c>=0x0;_0x44c19c--)(_0x175099=_0x116e2e[_0x44c19c])&&(_0x236f6a=_0x175099(_0x236f6a)||_0x236f6a);return _0x236f6a;},_0xa7f949=(_0x18bd0f,_0x3a53db)=>(_0x1b9f35,_0x2e19c5)=>_0x3a53db(_0x1b9f35,_0x2e19c5,_0x18bd0f);let _0x2ed875=class extends _0x3dc819['RxDisposable']{constructor(_0x6161b8,_0x2333c3,_0x545a64){const _0x3d664b=_0x122628;super(),_0x1e4415(this,_0x3d664b(0x153),new Map()),_0x1e4415(this,_0x3d664b(0x339),new _0x5c682c[(_0x3d664b(0x391))]()),(this[_0x3d664b(0x31b)]=_0x6161b8,this[_0x3d664b(0x157)]=_0x2333c3,this[_0x3d664b(0x3d1)]=_0x545a64,this['_init']());}['dispose'](){const _0x3ecbe8=_0x122628;super['dispose'](),this[_0x3ecbe8(0x339)][_0x3ecbe8(0x16a)](),this['_entities'][_0x3ecbe8(0x164)](_0x3ab64a=>_0x3ab64a['dispose']());}['getCollabCursors$'](_0x3c4ad4){const _0x569280=_0x122628;return this['_entities']['has'](_0x3c4ad4)?this[_0x569280(0x153)][_0x569280(0x288)](_0x3c4ad4)[_0x569280(0x3c1)]:this[_0x569280(0x339)]['pipe'](_0x5c682c[_0x569280(0x247)](_0x5e44b9=>_0x5e44b9['unitID']===_0x3c4ad4),_0x5c682c[_0x569280(0x26f)](_0x4cea14=>_0x4cea14[_0x569280(0x3c1)]));}[_0x122628(0x23b)](){const _0x53ad9c=_0x122628;this[_0x53ad9c(0x31b)][_0x53ad9c(0x1be)](_0x3dc819[_0x53ad9c(0x34b)][_0x53ad9c(0x325)])['pipe'](_0x5c682c[_0x53ad9c(0x2c2)](this[_0x53ad9c(0x252)]))['subscribe'](async _0x27b79b=>{const _0x16880d=_0x53ad9c,_0x2afa75=_0x27b79b[_0x16880d(0x399)](),_0x38901c=await this[_0x16880d(0x2c1)](_0x2afa75);this[_0x16880d(0x339)][_0x16880d(0x37f)](_0x38901c),this['_entities']['set'](_0x2afa75,_0x38901c);}),this['_univerInstanceService'][_0x53ad9c(0x1be)](_0x3dc819['UniverInstanceType'][_0x53ad9c(0x179)])[_0x53ad9c(0x3aa)](_0x5c682c[_0x53ad9c(0x2c2)](this[_0x53ad9c(0x252)]))['pipe'](_0x5c682c[_0x53ad9c(0x247)](_0x5b1dfd=>!_0x5b1dfd[_0x53ad9c(0x399)]()[_0x53ad9c(0x368)]('__')))[_0x53ad9c(0x230)](async _0xce30f2=>{const _0x872172=_0x53ad9c,_0x4974e4=_0xce30f2[_0x872172(0x399)](),_0x1bca6=await this[_0x872172(0x25a)](_0x4974e4);this[_0x872172(0x339)][_0x872172(0x37f)](_0x1bca6),this['_entities'][_0x872172(0x2d5)](_0x4974e4,_0x1bca6);}),_0x5c682c[_0x53ad9c(0x310)](this[_0x53ad9c(0x31b)][_0x53ad9c(0x37a)](_0x3dc819[_0x53ad9c(0x34b)][_0x53ad9c(0x179)]),this['_univerInstanceService'][_0x53ad9c(0x37a)](_0x3dc819[_0x53ad9c(0x34b)][_0x53ad9c(0x325)]))[_0x53ad9c(0x3aa)](_0x5c682c['takeUntil'](this['dispose$']))[_0x53ad9c(0x230)](_0x582551=>{const _0x1f6106=_0x53ad9c,_0x6c5501=_0x582551[_0x1f6106(0x399)](),_0x2ec70f=this[_0x1f6106(0x153)]['get'](_0x6c5501);_0x2ec70f&&(_0x2ec70f[_0x1f6106(0x37e)](),this[_0x1f6106(0x153)][_0x1f6106(0x16d)](_0x6c5501));});}async['_startSheetCollabCursor'](_0x246f59){const _0x39a833=_0x122628,_0x11fc07=await this[_0x39a833(0x3d1)][_0x39a833(0x2ea)](_0x246f59),_0x2fa894=this[_0x39a833(0x157)]['createInstance'](_0x16ee38,_0x246f59,_0x11fc07);return _0x2fa894[_0x39a833(0x184)](),_0x2fa894;}async[_0x122628(0x25a)](_0x4db3a3){const _0x22c4c6=_0x122628,_0x3d7489=await this[_0x22c4c6(0x3d1)][_0x22c4c6(0x2ea)](_0x4db3a3),_0x2a18fb=this[_0x22c4c6(0x157)]['createInstance'](_0x30f108,_0x4db3a3,_0x3d7489);return _0x2a18fb['init'](),_0x2a18fb;}};_0x2ed875=_0x57c005([_0xa7f949(0x0,_0x3dc819[_0x122628(0x374)]),_0xa7f949(0x1,_0x3dc819[_0x122628(0x393)](_0x3dc819['Injector'])),_0xa7f949(0x2,_0x3dc819['Inject'](_0x1062f6[_0x122628(0x19b)]))],_0x2ed875);const _0x10be41=0x14,_0x455bdc=0xc8,_0x5ae81a=0x4,_0x1e0266=0x5;function _0x1479e7(_0x55a312,_0x172e66){const _0x130c81=_0x122628;let {radius:_0x3a736f,width:_0x3c96aa,height:_0x2b4428}=_0x172e66;_0x3a736f=_0x3a736f!=null?_0x3a736f:0x0,_0x3c96aa=_0x3c96aa!=null?_0x3c96aa:0x1e,_0x2b4428=_0x2b4428!=null?_0x2b4428:0x1e;let _0x44a050=0x0,_0x3a5ab9=0x0,_0x17a725=0x0;_0x44a050=_0x3a5ab9=_0x17a725=Math[_0x130c81(0x1db)](_0x3a736f,_0x3c96aa/0x2,_0x2b4428/0x2),_0x55a312[_0x130c81(0x347)](),_0x55a312[_0x130c81(0x34d)](_0x44a050,0x0),_0x55a312[_0x130c81(0x171)](_0x3c96aa-_0x3a5ab9,0x0),_0x55a312[_0x130c81(0x20d)](_0x3c96aa-_0x3a5ab9,_0x3a5ab9,_0x3a5ab9,Math['PI']*0x3/0x2,0x0,!0x1),_0x55a312[_0x130c81(0x171)](_0x3c96aa,_0x2b4428-_0x17a725),_0x55a312['arc'](_0x3c96aa-_0x17a725,_0x2b4428-_0x17a725,_0x17a725,0x0,Math['PI']/0x2,!0x1),_0x55a312[_0x130c81(0x171)](0x0,_0x2b4428),_0x55a312[_0x130c81(0x171)](0x0,_0x44a050),_0x55a312[_0x130c81(0x20d)](_0x44a050,_0x44a050,_0x44a050,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x55a312[_0x130c81(0x172)](),_0x172e66[_0x130c81(0x355)]&&(_0x55a312[_0x130c81(0x34a)](),_0x55a312[_0x130c81(0x31a)]=_0x172e66[_0x130c81(0x355)],_0x172e66[_0x130c81(0x243)]===_0x130c81(0x185)?_0x55a312[_0x130c81(0x355)](_0x130c81(0x185)):_0x55a312[_0x130c81(0x355)](),_0x55a312['restore']());}class _0x226a59 extends _0x49d167[_0x122628(0x327)]{constructor(_0x22e51f,_0x36c670){const _0x39f352=_0x122628;super(_0x22e51f,_0x36c670),_0x1e4415(this,_0x39f352(0x3d8)),_0x1e4415(this,_0x39f352(0x323)),(this[_0x39f352(0x3d8)]=_0x36c670==null?void 0x0:_0x36c670[_0x39f352(0x3d8)],this['text']=_0x36c670==null?void 0x0:_0x36c670[_0x39f352(0x323)]);}static['drawWith'](_0x5122aa,_0x2105d4){const _0x1ff0d9=_0x122628,{text:_0x531822,color:_0x3569ea}=_0x2105d4;_0x5122aa[_0x1ff0d9(0x34a)](),_0x5122aa[_0x1ff0d9(0x215)]=_0x1ff0d9(0x3a5);const _0x4ab47b=_0x5122aa['measureText'](_0x531822)['width'],_0x4e237b=Math[_0x1ff0d9(0x1db)](_0x4ab47b+0x2*_0x5ae81a,_0x455bdc);_0x1479e7(_0x5122aa,{'height':_0x10be41,'radius':0x4,'width':_0x4e237b,'fill':_0x3569ea}),_0x5122aa[_0x1ff0d9(0x31a)]='#FFF';const _0xe572b2=_0x5ae81a,_0x450d2c=_0x10be41-_0x1e0266,_0x4bc52d=_0x455bdc-0x2*_0x5ae81a;if(_0x4ab47b>_0x4bc52d){let _0x470566='',_0xa7b3f=0x0;for(const _0x2ed6f8 of _0x531822){const _0xc13606=_0x5122aa[_0x1ff0d9(0x1cf)](_0x2ed6f8)[_0x1ff0d9(0x152)];if(_0xa7b3f+_0xc13606<=_0x4bc52d-_0x5122aa[_0x1ff0d9(0x1cf)](_0x1ff0d9(0x294))[_0x1ff0d9(0x152)])_0x470566+=_0x2ed6f8,_0xa7b3f+=_0xc13606;else{_0x470566+=_0x1ff0d9(0x294);break;}}_0x5122aa[_0x1ff0d9(0x360)](_0x470566,_0xe572b2,_0x450d2c);}else _0x5122aa[_0x1ff0d9(0x360)](_0x531822,_0xe572b2,_0x450d2c);_0x5122aa[_0x1ff0d9(0x180)]();}['_draw'](_0x50180f){const _0x39313e=_0x122628;_0x226a59[_0x39313e(0x315)](_0x50180f,this);}}const _0x27fc3d=_0x122628(0x155),_0x4fadd9='collab-text-range-',_0x2c975b='collab-rect-range-',_0x2f44ab=0x6,_0x45dd20=1.5,_0x335fa7=0x4,_0x59135a=1.5,_0x465ccc=_0x122628(0x2bb);class _0x9f70d5{constructor(_0x33305a,_0x30caf8,_0x1d695f,_0x106d1f){const _0x1eb45f=_0x122628;_0x1e4415(this,_0x1eb45f(0x1aa),[]),_0x1e4415(this,'_anchor',null),_0x1e4415(this,_0x1eb45f(0x2fe),null),_0x1e4415(this,_0x1eb45f(0x226),null),_0x1e4415(this,_0x1eb45f(0x3b0),null),_0x1e4415(this,_0x1eb45f(0x35b),null),(this[_0x1eb45f(0x281)]=_0x33305a,this[_0x1eb45f(0x2e0)]=_0x30caf8,this[_0x1eb45f(0x35f)]=_0x1d695f,this['_document']=_0x106d1f,this['_render']());}set[_0x122628(0x257)](_0x270652){const _0x3f2ebf=_0x122628;_0x270652?(this[_0x3f2ebf(0x226)]&&this[_0x3f2ebf(0x226)][_0x3f2ebf(0x1b7)](),this['_textBubble']&&this[_0x3f2ebf(0x2fe)][_0x3f2ebf(0x244)]()):(this[_0x3f2ebf(0x226)]&&this['_anchorDot'][_0x3f2ebf(0x244)](),this['_textBubble']&&this[_0x3f2ebf(0x2fe)][_0x3f2ebf(0x1b7)]());}[_0x122628(0x37e)](){const _0x514965=_0x122628;for(const _0x5f35d4 of this[_0x514965(0x1aa)])_0x5f35d4[_0x514965(0x37e)]();this['_textBubble']&&this['_textBubble']['dispose'](),this[_0x514965(0x226)]&&this['_anchorDot'][_0x514965(0x37e)](),this[_0x514965(0x34f)]&&this[_0x514965(0x34f)][_0x514965(0x37e)](),this[_0x514965(0x35b)]&&this['_eventUnsubscribe']();}[_0x122628(0x331)](){const _0x29158a=_0x122628;var _0x26d061;const {_docSkeleton:_0x372300,_document:_0x480910}=this,{color:_0x558c2c,name:_0x189680,ranges:_0x1ea674}=this[_0x29158a(0x281)],_0x47d5a1=_0x480910['getOffsetConfig'](),{docsLeft:_0xd49fea,docsTop:_0x205d15}=_0x47d5a1,_0x5463af=new _0x4c4bbe[(_0x29158a(0x250))](_0x47d5a1,_0x372300);for(const {startOffset:_0x4cb9b6,endOffset:_0x59c06d,rangeType:_0x4246de,segmentId:_0x2db815,segmentPage:_0x57259f,collapsed:_0x151989,isActive:_0x167857}of _0x1ea674){const _0x2679e3=_0x372300[_0x29158a(0x2dd)](_0x4cb9b6,!0x0,_0x2db815,_0x57259f);let _0x38f489=_0x372300['findNodePositionByCharIndex'](_0x59c06d,!0x0,_0x2db815,_0x57259f);if(_0x38f489==null&&(_0x38f489=_0x372300['findNodePositionByCharIndex'](_0x59c06d-0x1,!0x1,_0x2db815,_0x57259f)),_0x167857){const {contentBoxPointGroup:_0x36c622}=_0x5463af['getRangePointData'](_0x38f489,_0x38f489);if(_0x36c622['length']===0x0)continue;this[_0x29158a(0x387)](_0x558c2c,_0x36c622,_0xd49fea,_0x205d15,_0x189680),this[_0x29158a(0x35b)]=this['_handleHover']();}if(_0x2679e3&&_0x38f489){if(_0x4246de===_0x3dc819['DOC_RANGE_TYPE']['RECT']){const _0x583fd8=new _0x4c4bbe[(_0x29158a(0x190))](_0x47d5a1,_0x372300),{pointGroup:_0x5e4ec6}=(_0x26d061=_0x583fd8[_0x29158a(0x303)](_0x2679e3,_0x38f489))!=null?_0x26d061:{};if(_0x5e4ec6==null||_0x5e4ec6[_0x29158a(0x3c5)]===0x0)continue;this[_0x29158a(0x390)](_0x558c2c,_0x5e4ec6,_0xd49fea,_0x205d15);}else{if(!_0x151989){const {borderBoxPointGroup:_0x1b7f3a}=_0x5463af[_0x29158a(0x303)](_0x2679e3,_0x38f489);if(_0x1b7f3a[_0x29158a(0x3c5)]===0x0)continue;this[_0x29158a(0x17b)](_0x558c2c,_0x1b7f3a,_0xd49fea,_0x205d15);}}}}}['_drawAnchor'](_0x569bf8,_0x3716ad,_0xe09ff3,_0x2218f1,_0x5d9ae4){const _0x51a676=_0x122628,_0x1920ec=this[_0x51a676(0x3ab)](_0x3716ad),{left:_0x504dec,top:_0x753db5,height:_0x996aeb}=_0x1920ec,_0x567a84=this[_0x51a676(0x151)](),_0x386b04=_0x59135a/_0x567a84,_0x25cba4=new _0x49d167[(_0x51a676(0x3ca))](_0x27fc3d+_0x3dc819[_0x51a676(0x167)]['generateRandomId'](_0x2f44ab),{'left':_0x504dec+_0xe09ff3-_0x386b04,'top':_0x753db5+_0x2218f1,'height':_0x996aeb,'width':_0x45dd20,'fill':_0x569bf8||_0x49d167['getColor'](_0x3dc819[_0x51a676(0x309)][_0x51a676(0x29f)],0x0),'strokeWidth':_0x386b04,'stroke':_0x465ccc,'evented':!0x0});this['_anchor']=_0x25cba4,this[_0x51a676(0x2e0)][_0x51a676(0x2de)](_0x25cba4,_0x4c4bbe['TEXT_RANGE_LAYER_INDEX']);const _0x1d2cd3=new _0x49d167[(_0x51a676(0x3ca))](_0x27fc3d+_0x3dc819[_0x51a676(0x167)]['generateRandomId'](_0x2f44ab),{'left':_0x504dec+_0xe09ff3-_0x386b04,'top':_0x753db5+_0x2218f1-_0x335fa7/0x2,'height':_0x335fa7,'width':_0x335fa7,'fill':_0x569bf8||_0x49d167[_0x51a676(0x2f9)](_0x3dc819[_0x51a676(0x309)][_0x51a676(0x29f)],0x0),'strokeWidth':0x0,'stroke':_0x569bf8||_0x49d167[_0x51a676(0x2f9)](_0x3dc819[_0x51a676(0x309)][_0x51a676(0x29f)],0x0),'evented':!0x1});this[_0x51a676(0x226)]=_0x1d2cd3,this[_0x51a676(0x2e0)][_0x51a676(0x2de)](_0x1d2cd3,_0x4c4bbe[_0x51a676(0x295)]);const _0x1d0a4b=new _0x226a59(_0x27fc3d+_0x3dc819[_0x51a676(0x167)][_0x51a676(0x2db)](_0x2f44ab),{'left':_0x504dec+_0xe09ff3-_0x386b04,'top':_0x753db5+_0x2218f1-_0x10be41,'text':_0x5d9ae4,'color':_0x569bf8});this[_0x51a676(0x2fe)]=_0x1d0a4b,this[_0x51a676(0x2e0)][_0x51a676(0x2de)](_0x1d0a4b,_0x4c4bbe['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x122628(0x26d)](){const _0x376a7e=_0x122628,_0x5e93f7=this['_anchor'][_0x376a7e(0x2a3)]['subscribeEvent'](()=>{const _0x5b6597=_0x376a7e;this[_0x5b6597(0x257)]=!0x0;}),_0x27a899=this[_0x376a7e(0x34f)][_0x376a7e(0x3e4)]['subscribeEvent'](()=>{const _0x28fa3f=_0x376a7e;this[_0x28fa3f(0x3b0)]&&clearTimeout(this[_0x28fa3f(0x3b0)]),this[_0x28fa3f(0x3b0)]=setTimeout(()=>{const _0x53986c=_0x28fa3f;this[_0x53986c(0x257)]=!0x1;},0x7d0);});return()=>{const _0x508394=_0x376a7e;_0x5e93f7[_0x508394(0x36c)](),_0x27a899['unsubscribe']();};}[_0x122628(0x17b)](_0x929835,_0x588b69,_0xfeb672,_0x1072ac){const _0x45fd59=_0x122628,_0x5d316d=new _0x3dc819[(_0x45fd59(0x20e))](_0x929835)[_0x45fd59(0x3ad)](0.2)['toRgbString'](),_0x417166=new _0x49d167[(_0x45fd59(0x371))](_0x4fadd9+_0x3dc819[_0x45fd59(0x167)][_0x45fd59(0x2db)](_0x2f44ab),{'pointsGroup':_0x588b69,'fill':_0x5d316d||_0x49d167['getColor'](_0x3dc819[_0x45fd59(0x309)]['black'],0.2),'left':_0xfeb672,'top':_0x1072ac,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x45fd59(0x1ac)](_0x417166),this[_0x45fd59(0x2e0)][_0x45fd59(0x2de)](_0x417166,_0x4c4bbe[_0x45fd59(0x295)]);}[_0x122628(0x390)](_0x12f297,_0x4be454,_0x7799c4,_0x51f860){const _0x5a29fb=_0x122628,_0x54240d=new _0x3dc819[(_0x5a29fb(0x20e))](_0x12f297)[_0x5a29fb(0x3ad)](0.2)[_0x5a29fb(0x27e)](),_0x1b16ca=new _0x49d167[(_0x5a29fb(0x371))](_0x2c975b+_0x3dc819[_0x5a29fb(0x167)][_0x5a29fb(0x2db)](_0x2f44ab),{'pointsGroup':_0x4be454,'fill':_0x54240d||_0x49d167[_0x5a29fb(0x2f9)](_0x3dc819[_0x5a29fb(0x309)][_0x5a29fb(0x29f)],0.2),'left':_0x7799c4,'top':_0x51f860,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5a29fb(0x1ac)](_0x1b16ca),this['_scene'][_0x5a29fb(0x2de)](_0x1b16ca,_0x4c4bbe[_0x5a29fb(0x295)]);}['_getAnchorBounding'](_0x3a726f){const _0xc141ea=_0x3a726f[0x0],_0x495e8c=_0xc141ea[0x0],_0x1b9fb4=_0xc141ea[0x2],{x:_0x7d6345,y:_0x3395da}=_0x495e8c,{x:_0x1e4fed,y:_0x51b22e}=_0x1b9fb4;return{'left':_0x7d6345,'top':_0x3395da,'width':_0x1e4fed-_0x7d6345,'height':_0x51b22e-_0x3395da};}[_0x122628(0x151)](){const _0x37517e=_0x122628,{scaleX:_0x405508,scaleY:_0x4533e3}=this[_0x37517e(0x2e0)][_0x37517e(0x1ec)]();return Math[_0x37517e(0x2ba)](_0x405508,_0x4533e3);}}var _0x22376b=Object[_0x122628(0x22e)],_0x16ca89=(_0x3318cc,_0x5d2c7b,_0x152ce4,_0x1f400b)=>{const _0x57d1fc=_0x122628;for(var _0x169de7=_0x1f400b>0x1?void 0x0:_0x1f400b?_0x22376b(_0x5d2c7b,_0x152ce4):_0x5d2c7b,_0x1591a5=_0x3318cc[_0x57d1fc(0x3c5)]-0x1,_0x2b8716;_0x1591a5>=0x0;_0x1591a5--)(_0x2b8716=_0x3318cc[_0x1591a5])&&(_0x169de7=_0x2b8716(_0x169de7)||_0x169de7);return _0x169de7;},_0x2d9646=(_0x54630f,_0x3ebf24)=>(_0x1ad843,_0x590cdd)=>_0x3ebf24(_0x1ad843,_0x590cdd,_0x54630f);let _0x44c46c=class extends _0x3dc819[_0x122628(0x3d7)]{constructor(_0x22bba2,_0x46fc48,_0x381570,_0x8cf616,_0x52d007){const _0x57e747=_0x122628;super(),_0x1e4415(this,_0x57e747(0x3a7),[]),_0x1e4415(this,_0x57e747(0x313),[]),(this[_0x57e747(0x1c7)]=_0x22bba2,this[_0x57e747(0x341)]=_0x46fc48,this['_collabCursorController']=_0x381570,this[_0x57e747(0x2f0)]=_0x8cf616,this[_0x57e747(0x271)]=_0x52d007,this[_0x57e747(0x23b)]());}['_init'](){const _0x4845ab=_0x122628,_0x56c124=this[_0x4845ab(0x1c7)][_0x4845ab(0x3a3)],_0x1e35ab=this[_0x4845ab(0x341)];this[_0x4845ab(0x3e3)](_0x5c682c['combineLatest']([this[_0x4845ab(0x3e5)][_0x4845ab(0x29b)](_0x56c124),this[_0x4845ab(0x271)][_0x4845ab(0x228)]])[_0x4845ab(0x3aa)](_0x3c2e70[_0x4845ab(0x2b7)](([_0xd32c3a,_0x47b99b])=>({'skeleton':_0x1e35ab['getSkeleton'](),'cursors':[..._0xd32c3a['values']()]['flatMap'](_0x16b1b1=>({..._0x16b1b1,'color':this['_themeService'][_0x4845ab(0x214)](_0x16b1b1[_0x4845ab(0x3d8)])}))})))[_0x4845ab(0x230)](_0x376ab9=>{const _0x36f962=_0x4845ab;if(this['_removeCollabCursors'](),_0x376ab9){const {skeleton:_0x4998b8,cursors:_0x453e97}=_0x376ab9;this[_0x36f962(0x2d6)](_0x4998b8,_0x453e97);}})),this['_initResize'](),this[_0x4845ab(0x24b)]();}[_0x122628(0x2d6)](_0x4354db,_0x259c1d){const _0x142190=_0x122628,{scene:_0xfef591,mainComponent:_0x191b50}=this[_0x142190(0x1c7)],_0x17d2a2=_0x259c1d[_0x142190(0x2b7)](_0x456735=>new _0x9f70d5(_0x456735,_0xfef591,_0x4354db,_0x191b50));this[_0x142190(0x3a7)]=_0x17d2a2,this[_0x142190(0x313)]=_0x259c1d;}[_0x122628(0x3a1)](){const _0x617b8b=_0x122628;this['_removeCollabCursors']();const {scene:_0x4aa240,mainComponent:_0x38096c}=this[_0x617b8b(0x1c7)],_0x425b3d=this['_docSkeletonManagerService'][_0x617b8b(0x36e)](),_0x5c47b1=this['_cursors'][_0x617b8b(0x2b7)](_0x5ae733=>new _0x9f70d5(_0x5ae733,_0x4aa240,_0x425b3d,_0x38096c));this[_0x617b8b(0x3a7)]=_0x5c47b1;}[_0x122628(0x312)](){const _0x126e4f=_0x122628;this[_0x126e4f(0x3a7)][_0x126e4f(0x164)](_0x3942ed=>_0x3942ed[_0x126e4f(0x37e)]()),this[_0x126e4f(0x3a7)]=[];}['_initCommandExecutedListener'](){const _0x45842b=_0x122628,_0x2b92fd=[_0x4c4bbe[_0x45842b(0x2ca)]['id']];this[_0x45842b(0x3e3)](this['_commandService'][_0x45842b(0x175)](_0x59877a=>{const _0x31096e=_0x45842b;_0x2b92fd[_0x31096e(0x27f)](_0x59877a['id'])&&_0x59877a[_0x31096e(0x3af)][_0x31096e(0x3a3)]===this[_0x31096e(0x1c7)]['unitId']&&this[_0x31096e(0x3a1)]();}));}[_0x122628(0x1bb)](){const _0x240ca1=_0x122628;this[_0x240ca1(0x3e3)](_0x3dc819[_0x240ca1(0x210)](this[_0x240ca1(0x1c7)]['engine'][_0x240ca1(0x240)])[_0x240ca1(0x3aa)](_0x3c2e70[_0x240ca1(0x247)](_0x496741=>_0x496741[_0x240ca1(0x28e)]===_0x49d167[_0x240ca1(0x305)][_0x240ca1(0x1de)]),_0x3c2e70[_0x240ca1(0x308)](0x10))[_0x240ca1(0x230)](()=>{const _0x3bc4b6=_0x240ca1;this[_0x3bc4b6(0x3a1)]();}));}};_0x44c46c=_0x16ca89([_0x2d9646(0x1,_0x3dc819['Inject'](_0x358a5a[_0x122628(0x1b9)])),_0x2d9646(0x2,_0x3dc819[_0x122628(0x393)](_0x2ed875)),_0x2d9646(0x3,_0x3dc819[_0x122628(0x25d)]),_0x2d9646(0x4,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x29d)]))],_0x44c46c);const _0x256675=0x1,_0x452d41=1.5;class _0xc4533c extends _0x49d167[_0x122628(0x327)]{constructor(_0x331517,_0x35976a){const _0x36bceb=_0x122628;super(_0x331517,_0x35976a),_0x1e4415(this,_0x36bceb(0x2c4)),_0x1e4415(this,_0x36bceb(0x39d),!0x1),_0x1e4415(this,_0x36bceb(0x16b)),_0x1e4415(this,'_name',''),_0x1e4415(this,_0x36bceb(0x275),_0x36bceb(0x3e7)),_0x1e4415(this,_0x36bceb(0x206)),(_0x35976a&&this[_0x36bceb(0x311)](_0x35976a),this[_0x36bceb(0x2a3)][_0x36bceb(0x28f)](()=>this[_0x36bceb(0x311)]({'hovered':!0x0})),this[_0x36bceb(0x3e4)][_0x36bceb(0x28f)](()=>this[_0x36bceb(0x311)]({'hovered':!0x1})));}[_0x122628(0x311)](_0x4464aa){const _0x1c00b8=_0x122628;var _0x5660d7,_0x50d977,_0x37a3e6,_0x44e6cd,_0x46ade5,_0x129cb1;this[_0x1c00b8(0x2c4)]=(_0x5660d7=_0x4464aa[_0x1c00b8(0x3d8)])!=null?_0x5660d7:this[_0x1c00b8(0x2c4)],this[_0x1c00b8(0x39d)]=(_0x50d977=_0x4464aa['hovered'])!=null?_0x50d977:this[_0x1c00b8(0x39d)],this[_0x1c00b8(0x16b)]=(_0x37a3e6=_0x4464aa[_0x1c00b8(0x359)])!=null?_0x37a3e6:this[_0x1c00b8(0x16b)],this[_0x1c00b8(0x32e)]=(_0x44e6cd=_0x4464aa[_0x1c00b8(0x386)])!=null?_0x44e6cd:this[_0x1c00b8(0x32e)],this[_0x1c00b8(0x275)]=(_0x46ade5=_0x4464aa[_0x1c00b8(0x1c0)])!=null?_0x46ade5:this[_0x1c00b8(0x275)],this[_0x1c00b8(0x206)]=(_0x129cb1=_0x4464aa[_0x1c00b8(0x28c)])!=null?_0x129cb1:this[_0x1c00b8(0x206)],this[_0x1c00b8(0x2eb)]({'width':_0x4464aa[_0x1c00b8(0x152)],'height':_0x4464aa['height']});}['onMouseMove'](_0x5622f0){const _0x1f7f6c=_0x122628,{row:_0x5308c3,column:_0x2ff721}=_0x5622f0;if(_0x5308c3>=this[_0x1f7f6c(0x16b)]['startRow']&&_0x5308c3<=this['_range'][_0x1f7f6c(0x2d2)]&&_0x2ff721>=this['_range'][_0x1f7f6c(0x20a)]&&_0x2ff721<=this[_0x1f7f6c(0x16b)][_0x1f7f6c(0x298)]){this[_0x1f7f6c(0x311)]({'hovered':!0x0});return;}this[_0x1f7f6c(0x311)]({'hovered':!0x1});}[_0x122628(0x348)](_0x16fcec){return!0x1;}[_0x122628(0x2f1)](_0x2b439d){const _0x33d386=_0x122628;_0x49d167[_0x33d386(0x3ca)]['drawWith'](_0x2b439d,{'width':this[_0x33d386(0x152)],'height':this[_0x33d386(0x35d)],'strokeWidth':_0x452d41,'stroke':this[_0x33d386(0x2c4)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x33d386(0x39d)]&&(_0x2b439d[_0x33d386(0x34a)](),_0x2b439d[_0x33d386(0x269)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x33d386(0x21d)?0x0:-0x14),_0x226a59[_0x33d386(0x315)](_0x2b439d,{'text':this['_name'],'color':this['_color']}),_0x2b439d[_0x33d386(0x180)]());}}var _0x25e927=Object[_0x122628(0x22e)],_0x127e51=(_0x5a02f4,_0x2025c5,_0x570d34,_0x5b129c)=>{const _0x47de01=_0x122628;for(var _0x366477=_0x5b129c>0x1?void 0x0:_0x5b129c?_0x25e927(_0x2025c5,_0x570d34):_0x2025c5,_0x1c7ef3=_0x5a02f4[_0x47de01(0x3c5)]-0x1,_0xfbfb48;_0x1c7ef3>=0x0;_0x1c7ef3--)(_0xfbfb48=_0x5a02f4[_0x1c7ef3])&&(_0x366477=_0xfbfb48(_0x366477)||_0x366477);return _0x366477;},_0x344565=(_0x4f81f5,_0x253b2d)=>(_0x32cb5d,_0x3554a8)=>_0x253b2d(_0x32cb5d,_0x3554a8,_0x4f81f5);const _0x20031c=0x1389;let _0x5552a7=class extends _0x3dc819[_0x122628(0x3d7)]{constructor(_0x31730b,_0xbe852a,_0x302b1a,_0x163a62){const _0x444090=_0x122628;super(),_0x1e4415(this,'_cursors',new Set()),_0x1e4415(this,_0x444090(0x345),null),(this[_0x444090(0x1c7)]=_0x31730b,this[_0x444090(0x33c)]=_0xbe852a,this['_collabCursorController']=_0x302b1a,this[_0x444090(0x271)]=_0x163a62,this['_init']());}['_init'](){const _0x5cf196=_0x122628;this['_sheetSkeletonManagerService'][_0x5cf196(0x15e)][_0x5cf196(0x3aa)](_0x3c2e70[_0x5cf196(0x2c2)](this[_0x5cf196(0x252)]),_0x3c2e70[_0x5cf196(0x26f)](_0x3735fe=>{const _0x591ba4=_0x5cf196;if(_0x3735fe){const _0x4a9673=_0x3735fe[_0x591ba4(0x2f4)];return _0x5c682c[_0x591ba4(0x1c5)](this[_0x591ba4(0x3e5)][_0x591ba4(0x29b)](this[_0x591ba4(0x1c7)][_0x591ba4(0x3a3)]),this[_0x591ba4(0x271)][_0x591ba4(0x228)])[_0x591ba4(0x3aa)](_0x3c2e70[_0x591ba4(0x2b7)](([_0x33c9fa,_0x59cd1d])=>{const _0x343067=_0x591ba4,_0x31395d=new Map();return _0x33c9fa[_0x343067(0x164)]((_0x219380,_0x2a5d9c)=>{const _0x526543=_0x343067;if(_0x219380[_0x526543(0x340)]===_0x4a9673){const _0x7b17ef={..._0x219380};_0x7b17ef[_0x526543(0x3d8)]=this[_0x526543(0x271)][_0x526543(0x214)](_0x219380[_0x526543(0x3d8)]),_0x31395d[_0x526543(0x2d5)](_0x2a5d9c,_0x7b17ef);}}),{'skeleton':_0x3735fe,'cursors':_0x31395d};}));}return _0x5c682c['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x190141,cursors:_0x3e543a})=>{const _0x54323d=_0x5cf196;this[_0x54323d(0x312)](),_0x190141&&this[_0x54323d(0x2d6)](_0x190141,_0x3e543a);}),this['_sheetSkeletonManagerService'][_0x5cf196(0x15e)][_0x5cf196(0x230)](_0x2d50c9=>{const _0x2c6a18=_0x5cf196;if(_0x2d50c9==null)return;const {skeleton:_0x5967f6}=_0x2d50c9,{scene:_0x5b7eac}=this[_0x2c6a18(0x1c7)];_0x5b7eac[_0x2c6a18(0x388)][_0x2c6a18(0x28f)](_0x3dc819[_0x2c6a18(0x182)](_0x169728=>{const _0x9ee1ff=_0x2c6a18;var _0xca7a2c,_0x58e45;const {offsetX:_0x4dc4b7,offsetY:_0x5c4087}=_0x169728,{x:_0x3b6d1e,y:_0x2c40f1}=_0x5b7eac[_0x9ee1ff(0x1d2)](_0x49d167['Vector2']['FromArray']([_0x4dc4b7,_0x5c4087])),{scaleX:_0x4af01d,scaleY:_0x2dc6af}=_0x5b7eac[_0x9ee1ff(0x1ec)](),_0x237e94=_0x5b7eac[_0x9ee1ff(0x2e1)](_0x49d167[_0x9ee1ff(0x1fa)][_0x9ee1ff(0x384)]),_0x5a21be=_0x5b7eac[_0x9ee1ff(0x2bf)](_0x49d167['Vector2'][_0x9ee1ff(0x213)]([_0x3b6d1e,_0x2c40f1]),_0x237e94),_0x55d92f=_0x5967f6[_0x9ee1ff(0x2ee)](_0x4dc4b7,_0x5c4087,_0x4af01d,_0x2dc6af,_0x5a21be);((_0xca7a2c=this[_0x9ee1ff(0x345)])==null?void 0x0:_0xca7a2c[_0x9ee1ff(0x273)])===_0x55d92f[_0x9ee1ff(0x273)]&&((_0x58e45=this[_0x9ee1ff(0x345)])==null?void 0x0:_0x58e45[_0x9ee1ff(0x2d4)])===_0x55d92f[_0x9ee1ff(0x2d4)]||this['_cursors'][_0x9ee1ff(0x164)](_0x10d5b7=>{const _0x530d9f=_0x9ee1ff;_0x10d5b7[_0x530d9f(0x3ce)](_0x55d92f);});},0x64));});}['_updateCollabCursors'](_0x444f16,_0x53d16c){const _0x548290=_0x122628;var _0x1396d1;const _0x9b366f=(_0x1396d1=this[_0x548290(0x33c)][_0x548290(0x344)]())==null?void 0x0:_0x1396d1['skeleton'];if(!_0x9b366f)return;const _0x5a00f4=this[_0x548290(0x225)]();if(!_0x5a00f4)return;this['_cursors'][_0x548290(0x164)](_0x258395=>{const _0x100acf=_0x548290;_0x258395[_0x100acf(0x3ba)]();});const {scene:_0x5f4b32}=_0x5a00f4,_0x2716a4=_0x5bf350(Array[_0x548290(0x19a)](_0x53d16c['values']()))['map'](_0x13069a=>{const _0x2b6667=_0x548290,{color:_0x4addbc,range:_0x1ec8a7,name:_0x1820af,selection:_0x5ab63d,sheetID:_0x3d9336}=_0x13069a,{startColumn:_0x211c7c,startRow:_0x2881ac,endColumn:_0x18d428,endRow:_0x39eb9b}=_0x1ec8a7,_0x6eecf8=_0x315d01['getCoordByCell'](_0x2881ac,_0x211c7c,_0x5f4b32,_0x9b366f),_0x5006d0=_0x315d01[_0x2b6667(0x3a9)](_0x39eb9b,_0x18d428,_0x5f4b32,_0x9b366f),{columnHeaderHeightAndMarginTop:_0x33a34f}=_0x9b366f,{startX:_0x41ef35,startY:_0x2b6e9b}=_0x6eecf8,{endX:_0xe06b51,endY:_0x4f6335}=_0x5006d0,_0x2cc1c3=_0xe06b51-_0x41ef35,_0x255158=_0x4f6335-_0x2b6e9b,_0x4e72fd={'labelPosition':_0x2b6e9b-_0x33a34f>=_0x10be41?_0x2b6667(0x3e7):_0x2b6667(0x21d),'sheetID':_0x3d9336,'range':_0x1ec8a7,'color':_0x4addbc,'name':_0x1820af,'selection':_0x5ab63d,'left':_0x41ef35,'top':_0x2b6e9b,'width':_0x2cc1c3,'height':_0x255158,'evented':!0x1,'zIndex':_0x20031c};return new _0xc4533c(_0x1820af,_0x4e72fd);});_0x5f4b32['addObjects'](_0x2716a4,_0x256675),this[_0x548290(0x313)]=new Set(_0x2716a4);}[_0x122628(0x312)](){const _0x2ffb7f=_0x122628;var _0x3a52a4;(_0x3a52a4=this[_0x2ffb7f(0x313)])==null||_0x3a52a4['forEach'](_0x2d79c2=>_0x2d79c2[_0x2ffb7f(0x37e)]());}[_0x122628(0x225)](){const _0x11b3bf=_0x122628;return _0x315d01[_0x11b3bf(0x380)](this[_0x11b3bf(0x1c7)]['unit'],this[_0x11b3bf(0x1c7)]);}};_0x5552a7=_0x127e51([_0x344565(0x1,_0x3dc819['Inject'](_0x315d01[_0x122628(0x321)])),_0x344565(0x2,_0x3dc819['Inject'](_0x2ed875)),_0x344565(0x3,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x29d)]))],_0x5552a7);function _0x5bf350(_0x24657a){const _0x6fa3ea=_0x122628,_0x3f68ab=new Map();return _0x24657a[_0x6fa3ea(0x164)](_0x1d997f=>{const _0x5f3df0=_0x6fa3ea;if(_0x3f68ab[_0x5f3df0(0x2e7)](_0x1d997f[_0x5f3df0(0x1f3)])){const _0x37b498=_0x3f68ab['get'](_0x1d997f[_0x5f3df0(0x1f3)]);_0x37b498[_0x5f3df0(0x386)]+=',\x20'+_0x1d997f[_0x5f3df0(0x386)];}else _0x3f68ab[_0x5f3df0(0x2d5)](_0x1d997f[_0x5f3df0(0x1f3)],_0x1d997f);}),Array[_0x6fa3ea(0x19a)](_0x3f68ab[_0x6fa3ea(0x166)]());}var _0x4e5b92=function(){const _0x5d5663=_0x122628;return _0x4e5b92=Object[_0x5d5663(0x195)]||function(_0x52cbfb){const _0x32d2c5=_0x5d5663;for(var _0x5545d5,_0x22cf96=0x1,_0x38de5a=arguments['length'];_0x22cf96<_0x38de5a;_0x22cf96++){_0x5545d5=arguments[_0x22cf96];for(var _0x1da453 in _0x5545d5)Object[_0x32d2c5(0x1df)][_0x32d2c5(0x3bd)][_0x32d2c5(0x379)](_0x5545d5,_0x1da453)&&(_0x52cbfb[_0x1da453]=_0x5545d5[_0x1da453]);}return _0x52cbfb;},_0x4e5b92[_0x5d5663(0x3d6)](this,arguments);},_0xe178f4=function(_0x1a45b9,_0x550d76){const _0x56f400=_0x122628;var _0x1926bf={};for(var _0x13e7e6 in _0x1a45b9)Object[_0x56f400(0x1df)]['hasOwnProperty'][_0x56f400(0x379)](_0x1a45b9,_0x13e7e6)&&_0x550d76[_0x56f400(0x32f)](_0x13e7e6)<0x0&&(_0x1926bf[_0x13e7e6]=_0x1a45b9[_0x13e7e6]);if(_0x1a45b9!=null&&typeof Object['getOwnPropertySymbols']==_0x56f400(0x3e1)){for(var _0x213739=0x0,_0x13e7e6=Object['getOwnPropertySymbols'](_0x1a45b9);_0x213739<_0x13e7e6['length'];_0x213739++)_0x550d76[_0x56f400(0x32f)](_0x13e7e6[_0x213739])<0x0&&Object[_0x56f400(0x1df)]['propertyIsEnumerable'][_0x56f400(0x379)](_0x1a45b9,_0x13e7e6[_0x213739])&&(_0x1926bf[_0x13e7e6[_0x213739]]=_0x1a45b9[_0x13e7e6[_0x213739]]);}return _0x1926bf;},_0x24fe94=_0x29beeb[_0x122628(0x272)](function(_0x443b19,_0x5d8a57){const _0x58d684=_0x122628;var _0x24f522=_0x443b19[_0x58d684(0x3e0)],_0x7b38fd=_0x443b19['id'],_0x503987=_0x443b19[_0x58d684(0x1ef)],_0x1ba835=_0x443b19['extend'],_0x395ae6=_0xe178f4(_0x443b19,[_0x58d684(0x3e0),'id',_0x58d684(0x1ef),'extend']),_0x505081='univerjs-icon\x20univerjs-icon-'['concat'](_0x7b38fd,'\x20')['concat'](_0x503987||'')[_0x58d684(0x3e6)](),_0xa01321=_0x29beeb[_0x58d684(0x15a)]('_'[_0x58d684(0x2b8)](_0xb2254()));return _0x11dfea(_0x24f522,''[_0x58d684(0x2b8)](_0x7b38fd),{'defIds':_0x24f522[_0x58d684(0x319)],'idSuffix':_0xa01321[_0x58d684(0x33e)]},_0x4e5b92({'ref':_0x5d8a57,'className':_0x505081},_0x395ae6),_0x1ba835);});function _0x11dfea(_0x3064be,_0x11b448,_0x2c55b6,_0x44ea4d,_0x122253){const _0x250aca=_0x122628;return _0x29beeb[_0x250aca(0x2e4)](_0x3064be['tag'],_0x4e5b92(_0x4e5b92({'key':_0x11b448},_0x3e6828(_0x3064be,_0x2c55b6,_0x122253)),_0x44ea4d),(_0x2ac900(_0x3064be,_0x2c55b6)[_0x250aca(0x2b2)]||[])[_0x250aca(0x2b7)](function(_0x1f39db,_0x2c69a8){const _0x4e4e40=_0x250aca;return _0x11dfea(_0x1f39db,''['concat'](_0x11b448,'-')['concat'](_0x3064be[_0x4e4e40(0x1ee)],'-')[_0x4e4e40(0x2b8)](_0x2c69a8),_0x2c55b6,void 0x0,_0x122253);}));}function _0x3e6828(_0x4eb174,_0x3dd0f0,_0x27e6e1){const _0x47734e=_0x122628;var _0x3da6e7=_0x4e5b92({},_0x4eb174[_0x47734e(0x1a6)]);_0x27e6e1!=null&&_0x27e6e1['colorChannel1']&&_0x3da6e7[_0x47734e(0x355)]===_0x47734e(0x372)&&(_0x3da6e7[_0x47734e(0x355)]=_0x27e6e1[_0x47734e(0x372)]),_0x4eb174[_0x47734e(0x1ee)]===_0x47734e(0x3a8)&&_0x3da6e7['id']&&(_0x3da6e7['id']=_0x3da6e7['id']+_0x3dd0f0[_0x47734e(0x1f9)]),Object[_0x47734e(0x36f)](_0x3da6e7)['forEach'](function(_0x3df2b3){const _0x52d6ef=_0x47734e;var _0x7c410a=_0x3df2b3[0x0],_0x5d969a=_0x3df2b3[0x1];_0x7c410a===_0x52d6ef(0x3a8)&&typeof _0x5d969a==_0x52d6ef(0x23e)&&(_0x3da6e7[_0x7c410a]=_0x5d969a[_0x52d6ef(0x24f)](/url\(#(.*)\)/,'url(#$1'[_0x52d6ef(0x2b8)](_0x3dd0f0[_0x52d6ef(0x1f9)],')')));});var _0x480e97=_0x3dd0f0[_0x47734e(0x319)];return!_0x480e97||_0x480e97[_0x47734e(0x3c5)]===0x0||(_0x4eb174[_0x47734e(0x1ee)]===_0x47734e(0x3dd)&&_0x3da6e7[_0x47734e(0x264)]&&(_0x3da6e7[_0x47734e(0x264)]=_0x3da6e7[_0x47734e(0x264)]+_0x3dd0f0[_0x47734e(0x1f9)]),Object[_0x47734e(0x36f)](_0x3da6e7)[_0x47734e(0x164)](function(_0x55a1bb){const _0x596726=_0x47734e;var _0x495f68=_0x55a1bb[0x0],_0x551cc6=_0x55a1bb[0x1];typeof _0x551cc6=='string'&&(_0x3da6e7[_0x495f68]=_0x551cc6['replace'](/url\(#(.*)\)/,_0x596726(0x1cc)[_0x596726(0x2b8)](_0x3dd0f0['idSuffix'],')')));})),_0x3da6e7;}function _0x2ac900(_0x124dc8,_0x58f6d1){const _0x395bbf=_0x122628;var _0x4696da,_0x245586=_0x58f6d1[_0x395bbf(0x319)];return!_0x245586||_0x245586['length']===0x0?_0x124dc8:_0x124dc8[_0x395bbf(0x1ee)]==='defs'&&(!((_0x4696da=_0x124dc8['children'])===null||_0x4696da===void 0x0)&&_0x4696da[_0x395bbf(0x3c5)])?_0x4e5b92(_0x4e5b92({},_0x124dc8),{'children':_0x124dc8[_0x395bbf(0x2b2)][_0x395bbf(0x2b7)](function(_0x204111){const _0x2713f8=_0x395bbf;return typeof _0x204111[_0x2713f8(0x1a6)]['id']==_0x2713f8(0x23e)&&_0x245586&&_0x245586[_0x2713f8(0x27f)](_0x204111[_0x2713f8(0x1a6)]['id'])?_0x4e5b92(_0x4e5b92({},_0x204111),{'attrs':_0x4e5b92(_0x4e5b92({},_0x204111[_0x2713f8(0x1a6)]),{'id':_0x204111[_0x2713f8(0x1a6)]['id']+_0x58f6d1[_0x2713f8(0x1f9)]})}):_0x204111;})}):_0x124dc8;}function _0xb2254(){const _0x24f965=_0x122628;return Math[_0x24f965(0x2ff)]()[_0x24f965(0x170)](0x24)[_0x24f965(0x2a5)](0x2,0x8);}_0x24fe94[_0x122628(0x3c7)]=_0x122628(0x2a2);var _0x3681b1={'tag':_0x122628(0x2d1),'attrs':{'xmlns':_0x122628(0x235),'fill':_0x122628(0x212),'viewBox':'0\x200\x2016\x2016','width':_0x122628(0x284),'height':_0x122628(0x284)},'children':[{'tag':'g','attrs':{'clipPath':_0x122628(0x2ad)},'children':[{'tag':_0x122628(0x1a3),'attrs':{'stroke':_0x122628(0x39f),'d':_0x122628(0x32b),'strokeLinecap':_0x122628(0x22f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x122628(0x39e),'attrs':{},'children':[{'tag':_0x122628(0x28b),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x122628(0x1a3),'attrs':{'fill':_0x122628(0x17f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x10e17d=_0x29beeb[_0x122628(0x272)](function(_0x4278f0,_0x26053c){const _0x1ce988=_0x122628;return _0x29beeb[_0x1ce988(0x2e4)](_0x24fe94,Object[_0x1ce988(0x195)]({},_0x4278f0,{'id':_0x1ce988(0x22b),'ref':_0x26053c,'icon':_0x3681b1}));});_0x10e17d[_0x122628(0x3c7)]=_0x122628(0x32d);var _0x590481={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x122628(0x212),'viewBox':_0x122628(0x320),'width':'1em','height':_0x122628(0x284)},'children':[{'tag':'g','attrs':{'clipPath':_0x122628(0x3b7)},'children':[{'tag':_0x122628(0x1a3),'attrs':{'stroke':_0x122628(0x39f),'d':_0x122628(0x1cd),'strokeLinecap':_0x122628(0x22f),'strokeLinejoin':_0x122628(0x22f),'strokeWidth':1.2}}]},{'tag':_0x122628(0x39e),'attrs':{},'children':[{'tag':_0x122628(0x28b),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x122628(0x1a3),'attrs':{'fill':_0x122628(0x17f),'d':_0x122628(0x177),'transform':'translate(.97)'}}]}]}],'defIds':[_0x122628(0x209)]},_0x1dd8bb=_0x29beeb[_0x122628(0x272)](function(_0x27b7a3,_0x58dcf2){const _0x35d314=_0x122628;return _0x29beeb[_0x35d314(0x2e4)](_0x24fe94,Object[_0x35d314(0x195)]({},_0x27b7a3,{'id':'on-line-icon','ref':_0x58dcf2,'icon':_0x590481}));});_0x1dd8bb[_0x122628(0x3c7)]=_0x122628(0x3b8);function _0xc04f02(_0x3182bd){const _0x172891=_0x122628;switch(_0x3182bd){case _0x1062f6[_0x172891(0x2ef)]['OFFLINE']:return _0x172891(0x181);case _0x1062f6[_0x172891(0x2ef)][_0x172891(0x337)]:return _0x172891(0x150);case _0x1062f6[_0x172891(0x2ef)][_0x172891(0x30a)]:return _0x172891(0x357);case _0x1062f6[_0x172891(0x2ef)][_0x172891(0x2c5)]:return _0x172891(0x30c);case _0x1062f6[_0x172891(0x2ef)][_0x172891(0x2f3)]:case _0x1062f6[_0x172891(0x2ef)][_0x172891(0x25b)]:return _0x172891(0x217);case _0x1062f6[_0x172891(0x2ef)][_0x172891(0x239)]:case _0x1062f6['CollaborationStatus']['PENDING']:return _0x172891(0x200);}}function _0x186063(_0x1910b6){const _0x512dfc=_0x122628,{status$:_0x1f7c01}=_0x1910b6,_0x1c5818=_0x3513eb[_0x512dfc(0x2e3)](_0x1f7c01,_0x1062f6[_0x512dfc(0x2ef)][_0x512dfc(0x2c5)]),_0x5b595a=_0x3513eb[_0x512dfc(0x1ba)](_0x3dc819[_0x512dfc(0x282)]),_0x46dea1=_0x3513eb[_0x512dfc(0x1ba)](_0x1062f6[_0x512dfc(0x19b)]),_0x2fc591=_0x1c5818!==_0x1062f6[_0x512dfc(0x2ef)][_0x512dfc(0x38d)],_0x2a6e1c=_0x5b595a['t'](_0xc04f02(_0x1c5818)),_0x192dff=_0x2fc591?_0x2765ed[_0x512dfc(0x3df)](_0x1dd8bb,{}):_0x2765ed[_0x512dfc(0x3df)](_0x10e17d,{}),_0x298bb9=_0x29beeb['useCallback'](()=>{_0x2fc591||_0x46dea1['reconnect']();},[_0x2fc591,_0x46dea1]);function _0x4af2c4(){const _0x2ff6d4=_0x512dfc;return _0x2765ed['jsxs'](_0x2ff6d4(0x204),{'className':'univer-flex\x20univer-items-center','onClick':_0x298bb9,'children':[_0x2765ed['jsx'](_0x2ff6d4(0x204),{'className':_0x479c75[_0x2ff6d4(0x24a)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2fc591,'univer-text-red-500':!_0x2fc591}),'children':_0x192dff}),_0x2765ed[_0x2ff6d4(0x3df)](_0x2ff6d4(0x204),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2a6e1c})]});}return _0x2fc591?_0x4af2c4():_0x2765ed[_0x512dfc(0x3df)](_0x479c75[_0x512dfc(0x18b)],{'title':_0x5b595a['t']('collab-client.tooltip.reconnect'),'children':_0x4af2c4()});}var _0x286fb6=Object[_0x122628(0x22e)],_0x39d78f=(_0x484874,_0xc0042,_0x5b702f,_0x4873b8)=>{for(var _0x11f28a=_0x4873b8>0x1?void 0x0:_0x4873b8?_0x286fb6(_0xc0042,_0x5b702f):_0xc0042,_0x4f096e=_0x484874['length']-0x1,_0x8751f3;_0x4f096e>=0x0;_0x4f096e--)(_0x8751f3=_0x484874[_0x4f096e])&&(_0x11f28a=_0x8751f3(_0x11f28a)||_0x11f28a);return _0x11f28a;},_0x29f920=(_0x4acb6d,_0x5af651)=>(_0x4cea20,_0x1adb71)=>_0x5af651(_0x4cea20,_0x1adb71,_0x4acb6d);_0x1ad031['DesktopCollaborationStatusDisplayController']=class extends _0x3dc819[_0x122628(0x219)]{constructor(_0x269a5c,_0x22ed2d,_0x433b56,_0xe07a5b){const _0x26de2f=_0x122628;super(),_0x1e4415(this,'_status$',new _0x5c682c[(_0x26de2f(0x2e8))](_0x1062f6[_0x26de2f(0x2ef)][_0x26de2f(0x2c5)])),(this[_0x26de2f(0x31b)]=_0x269a5c,this['_injector']=_0x22ed2d,this[_0x26de2f(0x32c)]=_0x433b56,this[_0x26de2f(0x363)]=_0xe07a5b,this[_0x26de2f(0x3e9)](),this[_0x26de2f(0x29e)]());}[_0x122628(0x29e)](){const _0x4d339c=_0x122628;this['disposeWithMe'](this[_0x4d339c(0x31b)][_0x4d339c(0x1af)]['pipe'](_0x5c682c[_0x4d339c(0x26f)](()=>{const _0x1dd1a9=_0x4d339c,_0x17ba8c=this[_0x1dd1a9(0x31b)]['getFocusedUnit']();return _0x17ba8c?this[_0x1dd1a9(0x32c)][_0x1dd1a9(0x16e)](_0x17ba8c[_0x1dd1a9(0x399)]()):_0x5c682c['of'](null);}),_0x5c682c[_0x4d339c(0x26f)](_0x471b8d=>_0x471b8d?_0x471b8d[_0x4d339c(0x3ac)]:_0x5c682c['of'](_0x1062f6[_0x4d339c(0x2ef)][_0x4d339c(0x2c5)])))[_0x4d339c(0x230)](_0x6399da=>{const _0x50aaaa=_0x4d339c;this[_0x50aaaa(0x3e2)][_0x50aaaa(0x37f)](_0x6399da);}));}[_0x122628(0x3e9)](){const _0x2eb4b9=_0x122628;this['disposeWithMe'](this['_uiPartsService'][_0x2eb4b9(0x3b4)](_0x3513eb[_0x2eb4b9(0x366)][_0x2eb4b9(0x338)],()=>_0x3513eb['connectInjector'](_0x2d49e7({'status$':this[_0x2eb4b9(0x3e2)]['asObservable']()}),this[_0x2eb4b9(0x157)])));}},_0x1ad031[_0x122628(0x3cd)]=_0x39d78f([_0x29f920(0x0,_0x3dc819[_0x122628(0x374)]),_0x29f920(0x1,_0x3dc819['Inject'](_0x3dc819[_0x122628(0x38a)])),_0x29f920(0x2,_0x3dc819[_0x122628(0x393)](_0x1062f6[_0x122628(0x1c9)])),_0x29f920(0x3,_0x3513eb[_0x122628(0x253)])],_0x1ad031['DesktopCollaborationStatusDisplayController']);function _0x2d49e7(_0x2ea200){const {status$:_0x18bd70}=_0x2ea200;return function(){return _0x2765ed['jsx'](_0x186063,{'status$':_0x18bd70});};}var _0x462479=Object['getOwnPropertyDescriptor'],_0x5a1a51=(_0x332d7f,_0x3fbf22,_0x32352c,_0x38a3e9)=>{const _0x59d074=_0x122628;for(var _0x228e1e=_0x38a3e9>0x1?void 0x0:_0x38a3e9?_0x462479(_0x3fbf22,_0x32352c):_0x3fbf22,_0x13f69f=_0x332d7f[_0x59d074(0x3c5)]-0x1,_0x5e501c;_0x13f69f>=0x0;_0x13f69f--)(_0x5e501c=_0x332d7f[_0x13f69f])&&(_0x228e1e=_0x5e501c(_0x228e1e)||_0x228e1e);return _0x228e1e;},_0x435364=(_0x145e80,_0x2ecc5b)=>(_0x13b363,_0xb510f8)=>_0x2ecc5b(_0x13b363,_0xb510f8,_0x145e80);let _0x34bb21=class extends _0x3dc819['Disposable']{constructor(_0x565d46,_0x1dca27,_0xa6427f,_0xb39a8e,_0x15ec0f,_0x1b9e46){const _0x13ec3a=_0x122628;super(),this['_beforeCloseService']=_0x565d46,this[_0x13ec3a(0x31e)]=_0x1dca27,this[_0x13ec3a(0x1a4)]=_0xa6427f,this[_0x13ec3a(0x3c4)]=_0xb39a8e,this[_0x13ec3a(0x207)]=_0x15ec0f,this[_0x13ec3a(0x194)]=_0x1b9e46,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x122628(0x383)](){const _0x346ad7=_0x122628;this['disposeWithMe'](this[_0x346ad7(0x1bf)][_0x346ad7(0x1e4)](()=>{const _0xf5d099=_0x346ad7;if(this['_localCacheService'][_0xf5d099(0x1cb)]['size'])return this[_0xf5d099(0x194)]['t'](_0xf5d099(0x22d));}));}[_0x122628(0x3a6)](){const _0x3adad5=_0x122628;this[_0x3adad5(0x3e3)](this[_0x3adad5(0x1a4)][_0x3adad5(0x1b3)]['subscribe'](_0x2403e4=>{const _0x165d65=_0x3adad5;_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)][_0x165d65(0x1c2)]&&this[_0x165d65(0x3c4)][_0x165d65(0x244)]({'type':_0x479c75[_0x165d65(0x25e)][_0x165d65(0x333)],'content':this[_0x165d65(0x194)]['t'](_0x165d65(0x223))}),_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)][_0x165d65(0x199)]&&this[_0x165d65(0x3c4)]['show']({'type':_0x479c75[_0x165d65(0x25e)][_0x165d65(0x333)],'content':this['_localeService']['t'](_0x165d65(0x36b))}),_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)][_0x165d65(0x1b1)]&&this[_0x165d65(0x207)][_0x165d65(0x244)]({'title':this[_0x165d65(0x194)]['t'](_0x165d65(0x2a1)),'content':this[_0x165d65(0x194)]['t'](_0x165d65(0x330)),'type':_0x165d65(0x342),'duration':0x0}),_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)][_0x165d65(0x337)]&&this[_0x165d65(0x3c4)][_0x165d65(0x244)]({'type':_0x479c75[_0x165d65(0x25e)]['Error'],'content':this['_localeService']['t'](_0x165d65(0x36b))+'('+_0x2403e4[_0x165d65(0x1e1)]+')'}),_0x2403e4['id']===_0x1062f6['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x165d65(0x3c4)][_0x165d65(0x244)]({'type':_0x479c75['MessageType']['Warning'],'content':this[_0x165d65(0x194)]['t'](_0x2403e4[_0x165d65(0x1e1)]||'')}),_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)]['SOCKET_FAILED_RETRY']&&this[_0x165d65(0x3c4)]['show']({'type':_0x479c75[_0x165d65(0x25e)][_0x165d65(0x333)],'content':this['_localeService']['t'](_0x165d65(0x396))}),_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)]['SOCKET_FAILED']&&this['_messageService'][_0x165d65(0x244)]({'type':_0x479c75[_0x165d65(0x25e)][_0x165d65(0x1e0)],'content':this['_localeService']['t'](_0x165d65(0x3db))}),_0x2403e4['id']===_0x1062f6[_0x165d65(0x1f8)][_0x165d65(0x231)]&&this['_messageService'][_0x165d65(0x244)]({'type':_0x479c75[_0x165d65(0x25e)][_0x165d65(0x1e0)],'content':this[_0x165d65(0x194)]['t'](_0x165d65(0x2c0))});}));}};_0x34bb21=_0x5a1a51([_0x435364(0x0,_0x3513eb[_0x122628(0x23a)]),_0x435364(0x1,_0x1062f6[_0x122628(0x21e)]),_0x435364(0x2,_0x3dc819[_0x122628(0x393)](_0x1062f6[_0x122628(0x1d7)])),_0x435364(0x3,_0x3513eb[_0x122628(0x292)]),_0x435364(0x4,_0x3513eb['INotificationService']),_0x435364(0x5,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x282)]))],_0x34bb21);const _0x149e7d=_0x122628(0x1f1),_0x11888a={},_0x2cfdf3=_0x3dc819[_0x122628(0x238)](_0x122628(0x2d9));var _0x60e224=Object['getOwnPropertyDescriptor'],_0x57ea4e=(_0x234a40,_0x5a677d,_0x122cf2,_0x2e1f80)=>{const _0x5706cb=_0x122628;for(var _0x3748e9=_0x2e1f80>0x1?void 0x0:_0x2e1f80?_0x60e224(_0x5a677d,_0x122cf2):_0x5a677d,_0x1e9165=_0x234a40[_0x5706cb(0x3c5)]-0x1,_0x4d820f;_0x1e9165>=0x0;_0x1e9165--)(_0x4d820f=_0x234a40[_0x1e9165])&&(_0x3748e9=_0x4d820f(_0x3748e9)||_0x3748e9);return _0x3748e9;},_0x332cab=(_0x1bc7e0,_0x49f431)=>(_0x5d59ec,_0x3167c9)=>_0x49f431(_0x5d59ec,_0x3167c9,_0x1bc7e0);_0x1ad031['CollaborationDataLoaderController']=class extends _0x3dc819['RxDisposable']{constructor(_0x5f16cc,_0x14b8bb,_0x4ee8b8,_0x1ec411,_0x49ed07){const _0x1fb09e=_0x122628;super(),this[_0x1fb09e(0x36d)]=_0x5f16cc,this[_0x1fb09e(0x1f6)]=_0x14b8bb,this['_commandService']=_0x4ee8b8,this[_0x1fb09e(0x3bc)]=_0x1ec411,_0x49ed07?_0x49ed07==null||_0x49ed07[_0x1fb09e(0x314)]()[_0x1fb09e(0x279)](()=>this[_0x1fb09e(0x23b)]()):(this[_0x1fb09e(0x1f6)][_0x1fb09e(0x15b)](_0x1fb09e(0x1d9),_0x1fb09e(0x2ae)),this[_0x1fb09e(0x23b)]());}async['_init'](){const _0x41bfbc=_0x122628,_0x574a75=this[_0x41bfbc(0x36d)][_0x41bfbc(0x156)](_0x41bfbc(0x3b6)),_0x2597f0=this[_0x41bfbc(0x36d)][_0x41bfbc(0x156)](_0x41bfbc(0x28e)),_0x4c7a8b=this[_0x41bfbc(0x36d)]['getParam'](_0x41bfbc(0x3cb));if(!_0x574a75||!_0x2597f0){this[_0x41bfbc(0x1f6)][_0x41bfbc(0x15b)](_0x41bfbc(0x1d9),_0x41bfbc(0x218));return;}const _0x364c66=await this['_dataLoaderService'][_0x41bfbc(0x2ed)](_0x574a75,Number(_0x2597f0),_0x4c7a8b);_0x364c66&&_0x364c66 instanceof _0x3dc819['Workbook']&&this[_0x41bfbc(0x2ec)](_0x364c66);}async[_0x122628(0x2ec)](_0x4b33de){const _0x247239=_0x122628;await this['_updateSubUnitFromURLParams'](_0x4b33de),_0x4b33de[_0x247239(0x302)]['pipe'](_0x5c682c[_0x247239(0x2c2)](this[_0x247239(0x252)]))['subscribe'](_0x84227d=>{const _0x58a391=_0x247239;_0x84227d&&this[_0x58a391(0x3b9)](_0x84227d);}),this['_urlService'][_0x247239(0x26b)]['pipe'](_0x5c682c[_0x247239(0x2c2)](this[_0x247239(0x252)]))[_0x247239(0x230)](()=>this[_0x247239(0x35c)](_0x4b33de));}[_0x122628(0x3b9)](_0x5228bf,_0x978f23=!0x1){const _0x26e506=_0x122628,_0x3a8001=this[_0x26e506(0x36d)][_0x26e506(0x156)](_0x26e506(0x3cb));_0x5228bf[_0x26e506(0x376)]()!==_0x3a8001&&this['_urlService'][_0x26e506(0x2b3)](_0x26e506(0x3cb),_0x5228bf[_0x26e506(0x376)](),_0x978f23);}async[_0x122628(0x35c)](_0x183044){const _0x3e929f=_0x122628;var _0x4333fd;const _0x47814d=this[_0x3e929f(0x36d)][_0x3e929f(0x156)]('subunit');if(!_0x47814d||!_0x183044[_0x3e929f(0x1ad)](_0x47814d)){const _0x26e8f0=_0x183044[_0x3e929f(0x25f)]()[0x0],_0x19fee=_0x183044[_0x3e929f(0x1ad)](_0x26e8f0);if(!_0x19fee)return;this[_0x3e929f(0x3b9)](_0x19fee,!0x0),await this['_commandService']['executeCommand'](_0x43d9c5[_0x3e929f(0x18f)]['id'],{'unitId':_0x183044[_0x3e929f(0x399)](),'subUnitId':_0x26e8f0});return;}((_0x4333fd=_0x183044[_0x3e929f(0x196)]())==null?void 0x0:_0x4333fd['getSheetId']())!==_0x47814d&&await this[_0x3e929f(0x2f0)][_0x3e929f(0x18a)](_0x43d9c5['SetWorksheetActivateCommand']['id'],{'unitId':_0x183044[_0x3e929f(0x399)](),'subUnitId':_0x47814d});}},_0x1ad031[_0x122628(0x377)]=_0x57ea4e([_0x332cab(0x0,_0x2cfdf3),_0x332cab(0x1,_0x3dc819[_0x122628(0x23d)]),_0x332cab(0x2,_0x3dc819[_0x122628(0x25d)]),_0x332cab(0x3,_0x3dc819[_0x122628(0x393)](_0x1062f6[_0x122628(0x1e7)])),_0x332cab(0x4,_0x3dc819[_0x122628(0x322)](_0x4cd836['IRemoteInstanceService']))],_0x1ad031[_0x122628(0x377)]);var _0x73a600=Object[_0x122628(0x22e)],_0x1461aa=(_0x3e8224,_0x538a44,_0xe803a6,_0x337eed)=>{const _0x1a08d1=_0x122628;for(var _0x41809c=_0x337eed>0x1?void 0x0:_0x337eed?_0x73a600(_0x538a44,_0xe803a6):_0x538a44,_0x32398a=_0x3e8224[_0x1a08d1(0x3c5)]-0x1,_0x52b453;_0x32398a>=0x0;_0x32398a--)(_0x52b453=_0x3e8224[_0x32398a])&&(_0x41809c=_0x52b453(_0x41809c)||_0x41809c);return _0x41809c;},_0x4d9235=(_0x16c610,_0x5a6c5c)=>(_0x1e2f98,_0x7901e8)=>_0x5a6c5c(_0x1e2f98,_0x7901e8,_0x16c610);let _0x484246=class{constructor(_0x7b82a6,_0x2b9e8d,_0x4860dc){const _0x21c7d2=_0x122628;this[_0x21c7d2(0x157)]=_0x7b82a6,this[_0x21c7d2(0x2da)]=_0x2b9e8d,this[_0x21c7d2(0x14f)]=_0x4860dc;}['transformIMECache'](_0x316403){const _0x638738=_0x122628;this[_0x638738(0x3d0)](_0x316403),this[_0x638738(0x255)](_0x316403);}[_0x122628(0x2a8)](_0x336d48){const _0x513df2=_0x122628,{unitID:_0x2698c2}=_0x336d48,_0x13e47c=this[_0x513df2(0x14f)][_0x513df2(0x2ce)](_0x2698c2)[_0x513df2(0x159)](_0x4c4bbe[_0x513df2(0x2a6)]),{redoCache:_0x4719c0}=_0x13e47c[_0x513df2(0x1eb)]();if(_0x4719c0[_0x513df2(0x3c5)]===0x0)return _0x336d48;let _0x592d7a=_0x3dc819['Tools']['deepClone'](_0x336d48[_0x513df2(0x38b)][0x0]);for(let _0xc27db8=0x0;_0xc27db8<_0x4719c0[_0x513df2(0x3c5)];_0xc27db8++){const _0x99d32e={'id':'doc.mutation.rich-text-editing','params':{..._0x4719c0[_0xc27db8]}},_0x5a8c9f=this['_transformService'][_0x513df2(0x24e)](_0x592d7a,_0x99d32e,!0x1);if(_0x40fcc9['isTransformMutationFailure'](_0x5a8c9f))throw _0x5a8c9f['error'];_0x592d7a=_0x5a8c9f[_0x513df2(0x3be)];}return{..._0x3dc819['Tools'][_0x513df2(0x24c)](_0x336d48),'mutations':[_0x592d7a]};}['_transformUndoRedoStack'](_0x1d3728){const _0x19364f=_0x122628,{unitID:_0x35cb38}=_0x1d3728,_0x1afcf9=this[_0x19364f(0x14f)][_0x19364f(0x2ce)](_0x35cb38)[_0x19364f(0x159)](_0x4c4bbe[_0x19364f(0x2a6)]),{undoCache:_0x2e3d97,redoCache:_0x36b288}=_0x1afcf9['getUndoRedoMutationParamsCache']();if(_0x2e3d97[_0x19364f(0x3c5)]===0x0||_0x36b288[_0x19364f(0x3c5)]===0x0)return;const _0x4fd9b9=[],_0x2b0010=[];let _0x29c0cb=_0x3dc819[_0x19364f(0x167)]['deepClone'](_0x1d3728[_0x19364f(0x38b)][0x0]),_0x1cc610=_0x3dc819[_0x19364f(0x167)][_0x19364f(0x24c)](_0x1d3728[_0x19364f(0x38b)][0x0]);for(let _0x49d70d=_0x2e3d97[_0x19364f(0x3c5)]-0x1;_0x49d70d>=0x0;_0x49d70d--){const _0x2d8e8f={'id':_0x19364f(0x1c1),'params':{..._0x2e3d97[_0x49d70d]}},_0x2aed97={'id':_0x19364f(0x1c1),'params':{..._0x36b288[_0x49d70d]}},_0x5b1973=this[_0x19364f(0x2da)][_0x19364f(0x24e)](_0x29c0cb,_0x2d8e8f,!0x1),_0x65ada0=this[_0x19364f(0x2da)][_0x19364f(0x24e)](_0x1cc610,_0x2aed97,!0x1);if(_0x40fcc9['isTransformMutationFailure'](_0x5b1973))throw _0x5b1973[_0x19364f(0x342)];if(_0x40fcc9[_0x19364f(0x3bf)](_0x65ada0))throw _0x65ada0[_0x19364f(0x342)];_0x4fd9b9['unshift'](_0x5b1973[_0x19364f(0x375)][_0x19364f(0x3af)]),_0x2b0010[_0x19364f(0x20c)](_0x65ada0['m2Prime'][_0x19364f(0x3af)]),_0x29c0cb=_0x5b1973[_0x19364f(0x3be)],_0x1cc610=_0x65ada0[_0x19364f(0x3be)];}_0x1afcf9[_0x19364f(0x169)]({'undoCache':_0x4fd9b9,'redoCache':_0x2b0010});}[_0x122628(0x255)](_0x4575f1){const _0xccdd19=_0x122628,{unitID:_0x435297}=_0x4575f1,_0x29b4c8=this[_0xccdd19(0x14f)][_0xccdd19(0x2ce)](_0x435297)[_0xccdd19(0x159)](_0x4c4bbe[_0xccdd19(0x2a6)]),_0x23b057=_0x29b4c8['getActiveRange']();if(_0x23b057==null)return;const _0x56fca7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4575f1[_0xccdd19(0x301)],'actions':null,'textRanges':[_0x23b057]}}],_0x51e864=this[_0xccdd19(0x2da)][_0xccdd19(0x15d)](_0x4575f1,_0x56fca7);if(!_0x40fcc9[_0xccdd19(0x1ff)](_0x51e864))throw _0x51e864[_0xccdd19(0x342)];const _0x4cfd81=_0x51e864['m2Prime'][0x0]['params'][_0xccdd19(0x26a)];Array['isArray'](_0x4cfd81)&&_0x4cfd81[_0xccdd19(0x3c5)]&&_0x29b4c8[_0xccdd19(0x356)](_0x4cfd81[0x0]);}};_0x484246=_0x1461aa([_0x4d9235(0x0,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x38a)])),_0x4d9235(0x1,_0x40fcc9['ITransformService']),_0x4d9235(0x2,_0x49d167[_0x122628(0x198)])],_0x484246);var _0x59f029=Object[_0x122628(0x22e)],_0x2ff0d7=(_0x5c10bc,_0x590133,_0x3aa08c,_0x3b4737)=>{const _0x277839=_0x122628;for(var _0x1b40a5=_0x3b4737>0x1?void 0x0:_0x3b4737?_0x59f029(_0x590133,_0x3aa08c):_0x590133,_0x232f4f=_0x5c10bc[_0x277839(0x3c5)]-0x1,_0x3f8d4a;_0x232f4f>=0x0;_0x232f4f--)(_0x3f8d4a=_0x5c10bc[_0x232f4f])&&(_0x1b40a5=_0x3f8d4a(_0x1b40a5)||_0x1b40a5);return _0x1b40a5;},_0x331e21=(_0x2a8148,_0x249811)=>(_0x335887,_0x4045db)=>_0x249811(_0x335887,_0x4045db,_0x2a8148);let _0x5d8230=class{constructor(_0x3842bd,_0x177f14,_0x47eaa7){const _0x15ec32=_0x122628;this[_0x15ec32(0x157)]=_0x3842bd,this[_0x15ec32(0x2da)]=_0x177f14,this['_docStateChangeManagerService']=_0x47eaa7;}['transformStateCache'](_0x1c742e){this['_transformHistoryAndStateStack'](_0x1c742e);}['transformRemoteChangeset'](_0x1f5ce4){const _0x3681e4=_0x122628,{unitID:_0x4ffe03}=_0x1f5ce4,{collaboration:_0x280cbf}=this['_docStateChangeManagerService'][_0x3681e4(0x307)](_0x4ffe03);if(_0x280cbf['length']===0x0)return _0x1f5ce4;let _0x1493ce=_0x3dc819[_0x3681e4(0x167)][_0x3681e4(0x24c)](_0x1f5ce4[_0x3681e4(0x38b)][0x0]);for(let _0x23ac2e=0x0;_0x23ac2e<_0x280cbf[_0x3681e4(0x3c5)];_0x23ac2e++){const _0x2f738f={'id':_0x3681e4(0x1c1),'params':{'unitId':_0x280cbf[_0x23ac2e][_0x3681e4(0x3a3)],..._0x280cbf[_0x23ac2e][_0x3681e4(0x2a4)]}},_0xa5df0a=this[_0x3681e4(0x2da)]['transformMutation'](_0x1493ce,_0x2f738f,!0x1);if(_0x40fcc9['isTransformMutationFailure'](_0xa5df0a))throw _0xa5df0a[_0x3681e4(0x342)];_0x1493ce=_0xa5df0a['m1Prime'];}return{..._0x3dc819['Tools'][_0x3681e4(0x24c)](_0x1f5ce4),'mutations':[_0x1493ce]};}[_0x122628(0x22a)](_0x550571){const _0x54103c=_0x122628,{unitID:_0xe4bb3d}=_0x550571,{history:_0x4100c0,collaboration:_0x57da75}=this[_0x54103c(0x260)][_0x54103c(0x307)](_0xe4bb3d);if(_0x4100c0[_0x54103c(0x3c5)]===0x0&&_0x57da75['length']===0x0)return;const _0x32840b=[],_0xc8d1ae=[];let _0x12ccab=_0x3dc819['Tools'][_0x54103c(0x24c)](_0x550571[_0x54103c(0x38b)][0x0]),_0x3a7956=_0x3dc819[_0x54103c(0x167)]['deepClone'](_0x550571[_0x54103c(0x38b)][0x0]);for(let _0xf10a0a=_0x4100c0[_0x54103c(0x3c5)]-0x1;_0xf10a0a>=0x0;_0xf10a0a--){const _0x57b9db={'id':_0x54103c(0x1c1),'params':{'unitId':_0x4100c0[_0xf10a0a][_0x54103c(0x3a3)],..._0x4100c0[_0xf10a0a][_0x54103c(0x3a0)]}},_0x45a53f={'id':_0x54103c(0x1c1),'params':{'unitId':_0x4100c0[_0xf10a0a][_0x54103c(0x3a3)],..._0x4100c0[_0xf10a0a][_0x54103c(0x2a4)]}},_0x2398f3=this[_0x54103c(0x2da)][_0x54103c(0x24e)](_0x12ccab,_0x57b9db,!0x1),_0x5d12e2=this[_0x54103c(0x2da)][_0x54103c(0x24e)](_0x3a7956,_0x45a53f,!0x1);if(_0x40fcc9[_0x54103c(0x3bf)](_0x2398f3))throw _0x2398f3[_0x54103c(0x342)];if(_0x40fcc9['isTransformMutationFailure'](_0x5d12e2))throw _0x5d12e2['error'];_0x32840b[_0x54103c(0x20c)]({..._0x4100c0[_0xf10a0a],'undoState':_0x2398f3[_0x54103c(0x375)][_0x54103c(0x3af)],'redoState':_0x5d12e2[_0x54103c(0x375)][_0x54103c(0x3af)]}),_0x12ccab=_0x2398f3['m1Prime'],_0x3a7956=_0x5d12e2[_0x54103c(0x3be)];}_0x12ccab=_0x3dc819[_0x54103c(0x167)][_0x54103c(0x24c)](_0x550571['mutations'][0x0]),_0x3a7956=_0x3dc819[_0x54103c(0x167)]['deepClone'](_0x550571[_0x54103c(0x38b)][0x0]);for(let _0x4db6b6=_0x57da75[_0x54103c(0x3c5)]-0x1;_0x4db6b6>=0x0;_0x4db6b6--){const _0x5f31ff={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57da75[_0x4db6b6]['unitId'],..._0x57da75[_0x4db6b6][_0x54103c(0x3a0)]}},_0x1371d9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57da75[_0x4db6b6][_0x54103c(0x3a3)],..._0x57da75[_0x4db6b6][_0x54103c(0x2a4)]}},_0x462d2a=this[_0x54103c(0x2da)]['transformMutation'](_0x12ccab,_0x5f31ff,!0x1),_0x1d2735=this[_0x54103c(0x2da)]['transformMutation'](_0x3a7956,_0x1371d9,!0x1);if(_0x40fcc9[_0x54103c(0x3bf)](_0x462d2a))throw _0x462d2a['error'];if(_0x40fcc9[_0x54103c(0x3bf)](_0x1d2735))throw _0x1d2735['error'];_0xc8d1ae[_0x54103c(0x20c)]({..._0x57da75[_0x4db6b6],'undoState':_0x462d2a['m2Prime'][_0x54103c(0x3af)],'redoState':_0x1d2735[_0x54103c(0x375)]['params']}),_0x12ccab=_0x462d2a[_0x54103c(0x3be)],_0x3a7956=_0x1d2735[_0x54103c(0x3be)];}this['_docStateChangeManagerService'][_0x54103c(0x1fb)](_0xe4bb3d,{'history':_0x32840b,'collaboration':_0xc8d1ae});}};_0x5d8230=_0x2ff0d7([_0x331e21(0x0,_0x3dc819['Inject'](_0x3dc819[_0x122628(0x38a)])),_0x331e21(0x1,_0x40fcc9[_0x122628(0x1f7)]),_0x331e21(0x2,_0x3dc819[_0x122628(0x393)](_0x4c4bbe[_0x122628(0x2b4)]))],_0x5d8230);var _0x319628=Object['getOwnPropertyDescriptor'],_0x114dc1=(_0x2a7ba6,_0x5af6c1,_0x271254,_0x135dde)=>{const _0x2817f6=_0x122628;for(var _0x2b215d=_0x135dde>0x1?void 0x0:_0x135dde?_0x319628(_0x5af6c1,_0x271254):_0x5af6c1,_0x3d5d3a=_0x2a7ba6[_0x2817f6(0x3c5)]-0x1,_0x12dec2;_0x3d5d3a>=0x0;_0x3d5d3a--)(_0x12dec2=_0x2a7ba6[_0x3d5d3a])&&(_0x2b215d=_0x12dec2(_0x2b215d)||_0x2b215d);return _0x2b215d;},_0x50d3c6=(_0x313c7d,_0x5acce7)=>(_0x1cb399,_0x82fc8c)=>_0x5acce7(_0x1cb399,_0x82fc8c,_0x313c7d);let _0x4da10c=class{constructor(_0x4c7506,_0x489d90){const _0x40aaf4=_0x122628;this['_injector']=_0x4c7506,this[_0x40aaf4(0x2da)]=_0x489d90;}[_0x122628(0x1c3)](_0x4a12fc){const _0x6982c2=_0x122628;var _0x5cf99a;const _0x1deeb0=this[_0x6982c2(0x157)]['get'](_0x358a5a[_0x6982c2(0x2fc)]),_0x4cd3e3=(_0x5cf99a=_0x1deeb0['getDocRanges']())!=null?_0x5cf99a:[];if(_0x4cd3e3[_0x6982c2(0x3c5)]===0x0)return;const _0x5d91b0=_0x4a12fc[_0x6982c2(0x301)],_0x5ec2a1=[{'id':_0x6982c2(0x1c1),'params':{'unitId':_0x5d91b0,'actions':null,'textRanges':_0x4cd3e3}}],_0xa2e06c=this[_0x6982c2(0x2da)][_0x6982c2(0x15d)](_0x4a12fc,_0x5ec2a1);if(!_0x40fcc9[_0x6982c2(0x1ff)](_0xa2e06c))throw _0xa2e06c[_0x6982c2(0x342)];const _0x487562=_0xa2e06c['m2Prime'][0x0][_0x6982c2(0x3af)][_0x6982c2(0x26a)];Array[_0x6982c2(0x3d4)](_0x487562)&&_0x487562[_0x6982c2(0x3c5)]&&_0x1deeb0[_0x6982c2(0x34c)](_0x487562,{'unitId':_0x5d91b0,'subUnitId':_0x5d91b0},!0x1);}};_0x4da10c=_0x114dc1([_0x50d3c6(0x0,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x38a)])),_0x50d3c6(0x1,_0x40fcc9[_0x122628(0x1f7)])],_0x4da10c);var _0x5efb4=Object['getOwnPropertyDescriptor'],_0x14e865=(_0x45dde2,_0x48a90f,_0x1f78b6,_0x361b9e)=>{for(var _0x5f17dd=_0x361b9e>0x1?void 0x0:_0x361b9e?_0x5efb4(_0x48a90f,_0x1f78b6):_0x48a90f,_0x5b1ac7=_0x45dde2['length']-0x1,_0x184550;_0x5b1ac7>=0x0;_0x5b1ac7--)(_0x184550=_0x45dde2[_0x5b1ac7])&&(_0x5f17dd=_0x184550(_0x5f17dd)||_0x5f17dd);return _0x5f17dd;},_0x4f29fb=(_0x3ede73,_0x1a5d5f)=>(_0x528dbc,_0x51a756)=>_0x1a5d5f(_0x528dbc,_0x51a756,_0x3ede73);let _0x3a6115=class extends _0x3dc819[_0x122628(0x219)]{constructor(_0x50637b,_0x14cda4,_0x180927,_0x1c6be3,_0x5a73d4,_0x217447,_0x2855cd,_0x16d1b0){const _0x14cc13=_0x122628;super(),_0x1e4415(this,'_status$',new _0x5c682c[(_0x14cc13(0x2e8))](_0x1062f6[_0x14cc13(0x2ef)][_0x14cc13(0x2c5)])),(this[_0x14cc13(0x260)]=_0x50637b,this[_0x14cc13(0x32c)]=_0x14cda4,this[_0x14cc13(0x1b0)]=_0x180927,this[_0x14cc13(0x306)]=_0x1c6be3,this[_0x14cc13(0x3c9)]=_0x5a73d4,this[_0x14cc13(0x30f)]=_0x217447,this[_0x14cc13(0x3c4)]=_0x2855cd,this[_0x14cc13(0x194)]=_0x16d1b0,this[_0x14cc13(0x176)]());}['_initEntityListener'](){const _0x36f6ff=_0x122628;this[_0x36f6ff(0x3e3)](this[_0x36f6ff(0x32c)][_0x36f6ff(0x352)][_0x36f6ff(0x230)](_0x25603b=>{const _0x11c49f=_0x36f6ff,_0x18534b=this['_docStateChangeManagerService'][_0x11c49f(0x373)][_0x11c49f(0x230)](_0x47dc29=>{const _0xb08414=_0x11c49f;if(_0x47dc29==null)return;const {unitId:_0x3f83de,redoState:_0x13b278,commandId:_0x573a18}=_0x47dc29;if(_0x3f83de!==_0x25603b[_0xb08414(0x301)])return;const _0x1b5b04={'id':_0x573a18,'type':_0x3dc819['CommandType'][_0xb08414(0x21c)],'params':{'unitId':_0x3f83de,'actions':_0x13b278[_0xb08414(0x1b8)],'textRanges':null}};_0x25603b[_0xb08414(0x17c)](_0x1b5b04);});if(_0x25603b[_0x11c49f(0x3e3)](_0x18534b),_0x25603b instanceof _0x1062f6[_0x11c49f(0x236)]){const _0x37a956={'onTransformIME':_0x171ccb=>this[_0x11c49f(0x1b0)][_0x11c49f(0x1c4)](_0x171ccb),'onTransformState':_0x27377d=>this[_0x11c49f(0x306)][_0x11c49f(0x39a)](_0x27377d),'onTransformSelections':_0x200087=>this[_0x11c49f(0x3c9)][_0x11c49f(0x1c3)](_0x200087),'onSyncEditingCollabCursor':_0x5baebd=>this[_0x11c49f(0x30f)]['syncEditingCollabCursor'](_0x5baebd),'onTransformRemoteChangesetByIMECache':_0x28119f=>this[_0x11c49f(0x1b0)][_0x11c49f(0x2a8)](_0x28119f),'onTransformRemoteChangesetByStateCache':_0x26e64e=>this[_0x11c49f(0x306)]['transformRemoteChangeset'](_0x26e64e)};_0x25603b[_0x11c49f(0x332)](_0x37a956);}}));}};_0x3a6115=_0x14e865([_0x4f29fb(0x0,_0x3dc819['Inject'](_0x4c4bbe[_0x122628(0x2b4)])),_0x4f29fb(0x1,_0x3dc819['Inject'](_0x1062f6['CollaborationController'])),_0x4f29fb(0x2,_0x3dc819['Inject'](_0x484246)),_0x4f29fb(0x3,_0x3dc819[_0x122628(0x393)](_0x5d8230)),_0x4f29fb(0x4,_0x3dc819[_0x122628(0x393)](_0x4da10c)),_0x4f29fb(0x5,_0x3dc819[_0x122628(0x393)](_0x39a5b7)),_0x4f29fb(0x6,_0x3513eb['IMessageService']),_0x4f29fb(0x7,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x282)]))],_0x3a6115);var _0x3c586b=Object['getOwnPropertyDescriptor'],_0x458bc6=(_0x537953,_0x2d99c8,_0x2d4fd5,_0x36b9a8)=>{const _0x509df5=_0x122628;for(var _0x2a669f=_0x36b9a8>0x1?void 0x0:_0x36b9a8?_0x3c586b(_0x2d99c8,_0x2d4fd5):_0x2d99c8,_0x4adf47=_0x537953[_0x509df5(0x3c5)]-0x1,_0xa97251;_0x4adf47>=0x0;_0x4adf47--)(_0xa97251=_0x537953[_0x4adf47])&&(_0x2a669f=_0xa97251(_0x2a669f)||_0x2a669f);return _0x2a669f;},_0x57fcd3=(_0x46f057,_0x35c375)=>(_0x2069cb,_0x1ce08b)=>_0x35c375(_0x2069cb,_0x1ce08b,_0x46f057);let _0x286c51=class extends _0x3dc819['Disposable']{constructor(_0x50c93f,_0x40b923,_0xf852ea){const _0x56dcd5=_0x122628;super(),_0x1e4415(this,_0x56dcd5(0x178),new Map()),_0x1e4415(this,_0x56dcd5(0x3b5),new Map()),_0x1e4415(this,'_disabled',!0x1),(this['_configService']=_0x50c93f,this[_0x56dcd5(0x299)]=_0x40b923,this[_0x56dcd5(0x203)]=_0xf852ea);}[_0x122628(0x27d)](){const _0x15de35=_0x122628;this[_0x15de35(0x19c)]=!0x0;}[_0x122628(0x2b5)](){const _0xddeeb2=_0x122628;this[_0xddeeb2(0x19c)]=!0x1;}get[_0x122628(0x1cb)](){const _0x5ce444=_0x122628;return this[_0x5ce444(0x3b5)];}[_0x122628(0x37e)](){const _0xf9f1f=_0x122628;this['exhaustSavingTask']()[_0xf9f1f(0x279)](()=>super[_0xf9f1f(0x37e)]());}async[_0x122628(0x263)](_0x38baac){const _0x290c53=_0x122628;return this[_0x290c53(0x19c)]?null:this['_localStorageService']['getItem'](_0x1062f6['getLocalCacheKey'](_0x38baac));}async[_0x122628(0x2c3)](_0x40e454,_0xf57bbb){const _0x3509ef=_0x122628;return!!this[_0x3509ef(0x299)][_0x3509ef(0x394)](_0x40e454,_0xf57bbb);}[_0x122628(0x3c3)](_0x2b0114,_0x229858,_0x14ca51,_0x489ee5){const _0x4a2727=_0x122628,_0x32993b=this[_0x4a2727(0x203)]['getCurrentRevOfUnit'](_0x2b0114);this['_cachedData'][_0x4a2727(0x2d5)](_0x2b0114,{'unitID':_0x2b0114,'type':_0x229858,'awaitingChangeset':_0x14ca51,'mutations':_0x489ee5,'rev':_0x32993b}),this[_0x4a2727(0x3b5)][_0x4a2727(0x2e7)](_0x2b0114)||this[_0x4a2727(0x3a2)](_0x2b0114);}[_0x122628(0x3a2)](_0x259980){const _0x5b091a=_0x122628,_0x49c782=this[_0x5b091a(0x27c)]();_0x49c782===0x0?this[_0x5b091a(0x19d)](_0x259980):this[_0x5b091a(0x3b5)][_0x5b091a(0x2d5)](_0x259980,setTimeout(()=>this[_0x5b091a(0x19d)](_0x259980),_0x49c782));}[_0x122628(0x27c)](){const _0x35e464=_0x122628;var _0x22cc60;return(_0x22cc60=this['_configService'][_0x35e464(0x17d)](_0x1062f6[_0x35e464(0x38f)]))!=null?_0x22cc60:_0x1062f6[_0x35e464(0x3cc)];}[_0x122628(0x19d)](_0x2b1686){const _0x2faad3=_0x122628,_0x3f199b=this[_0x2faad3(0x3b5)][_0x2faad3(0x288)](_0x2b1686);return _0x3f199b!==void 0x0&&window[_0x2faad3(0x205)](_0x3f199b),this['_localStorageService'][_0x2faad3(0x394)](_0x1062f6['getLocalCacheKey'](_0x2b1686),this[_0x2faad3(0x178)][_0x2faad3(0x288)](_0x2b1686))[_0x2faad3(0x279)](()=>this[_0x2faad3(0x3b5)][_0x2faad3(0x16d)](_0x2b1686));}async[_0x122628(0x1c8)](){const _0x59809f=_0x122628,_0x197374=[];this[_0x59809f(0x3b5)]['forEach']((_0x5544fd,_0x4937d9)=>{const _0x4768a7=_0x59809f;window[_0x4768a7(0x205)](_0x5544fd),_0x197374['push'](this[_0x4768a7(0x19d)](_0x4937d9)['then'](()=>{const _0x9eb1ae=_0x4768a7;this[_0x9eb1ae(0x3b5)][_0x9eb1ae(0x16d)](_0x4937d9);}));}),await Promise[_0x59809f(0x289)](_0x197374);}};_0x286c51=_0x458bc6([_0x57fcd3(0x0,_0x3dc819[_0x122628(0x2be)]),_0x57fcd3(0x1,_0x3dc819[_0x122628(0x38e)]),_0x57fcd3(0x2,_0x3dc819['Inject'](_0x40fcc9['RevisionService']))],_0x286c51);class _0x4c5d8a extends _0x3dc819[_0x122628(0x3d7)]{constructor(){const _0x2e3f53=_0x122628;super(),_0x1e4415(this,'urlChange$'),this[_0x2e3f53(0x26b)]=_0x5c682c[_0x2e3f53(0x37b)](window,_0x2e3f53(0x191))[_0x2e3f53(0x3aa)](_0x5c682c['takeUntil'](this[_0x2e3f53(0x252)]),_0x5c682c[_0x2e3f53(0x2df)](0x1),_0x5c682c[_0x2e3f53(0x317)](void 0x0));}[_0x122628(0x2b3)](_0x4878c2,_0x86ff10,_0x2a51df=!0x1){const _0x337771=_0x122628,_0x9740b5=new URL(window['location'][_0x337771(0x16f)]);_0x9740b5[_0x337771(0x232)][_0x337771(0x2d5)](_0x4878c2,_0x86ff10),_0x2a51df?window['history']['replaceState']('','',_0x9740b5[_0x337771(0x170)]()):window['history'][_0x337771(0x2f7)]('','',_0x9740b5[_0x337771(0x170)]());}[_0x122628(0x2e6)](_0x375759,_0x2994f9=!0x1){const _0x4eafee=_0x122628,_0x2a15a2=new URL(window[_0x4eafee(0x2d8)][_0x4eafee(0x16f)]);_0x2a15a2[_0x4eafee(0x232)][_0x4eafee(0x16d)](_0x375759),_0x2994f9?window[_0x4eafee(0x2b0)][_0x4eafee(0x1d3)]('','',_0x2a15a2['toString']()):window[_0x4eafee(0x2b0)][_0x4eafee(0x2f7)]('','',_0x2a15a2['toString']());}[_0x122628(0x156)](_0x74c243){const _0x3389f1=_0x122628;var _0x327e65;return(_0x327e65=new URL(window[_0x3389f1(0x2d8)][_0x3389f1(0x16f)])['searchParams'][_0x3389f1(0x288)](_0x74c243))!=null?_0x327e65:void 0x0;}}var _0x55f44a=Object[_0x122628(0x398)],_0x493b4f=Object[_0x122628(0x22e)],_0x523d4e=(_0x5bc192,_0x42faca,_0x49e66b)=>_0x42faca in _0x5bc192?_0x55f44a(_0x5bc192,_0x42faca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49e66b}):_0x5bc192[_0x42faca]=_0x49e66b,_0x2023c3=(_0xa860ab,_0x168425,_0x3d8f59,_0x4237f9)=>{const _0x572528=_0x122628;for(var _0x55ad20=_0x4237f9>0x1?void 0x0:_0x4237f9?_0x493b4f(_0x168425,_0x3d8f59):_0x168425,_0xd3cf88=_0xa860ab[_0x572528(0x3c5)]-0x1,_0x40874d;_0xd3cf88>=0x0;_0xd3cf88--)(_0x40874d=_0xa860ab[_0xd3cf88])&&(_0x55ad20=_0x40874d(_0x55ad20)||_0x55ad20);return _0x55ad20;},_0x387d4c=(_0x2dff44,_0x126273)=>(_0x46a963,_0x351d8c)=>_0x126273(_0x46a963,_0x351d8c,_0x2dff44),_0x126fee=(_0x2994b6,_0x5c8f7d,_0x101aa2)=>_0x523d4e(_0x2994b6,_0x5c8f7d+'',_0x101aa2);const _0x156998=_0x122628(0x265);_0x1ad031[_0x122628(0x290)]=class extends _0x3dc819[_0x122628(0x350)]{constructor(_0x25983b=_0x11888a,_0x59bd3e,_0x4d1b7f,_0x33a703){const _0x1cf5ab=_0x122628;super(),this['_config']=_0x25983b,this['_renderManagerService']=_0x59bd3e,this[_0x1cf5ab(0x157)]=_0x4d1b7f,this['_configService']=_0x33a703;const {..._0x5b63e4}=_0x3dc819[_0x1cf5ab(0x310)]({},_0x11888a,this['_config']);this[_0x1cf5ab(0x32a)][_0x1cf5ab(0x2a0)](_0x149e7d,_0x5b63e4);}[_0x122628(0x237)](){const _0x3ea3ad=_0x122628;this[_0x3ea3ad(0x30b)](),this[_0x3ea3ad(0x353)]();}[_0x122628(0x19e)](){const _0x1f69c0=_0x122628;this[_0x1f69c0(0x2e2)]();}[_0x122628(0x30b)](){const _0x3bc839=_0x122628;var _0x468b47;const _0x4792a8=[[_0x42bb3a],[_0x4da10c],[_0x484246],[_0x5d8230],[_0x39a5b7],[_0x2cfdf3,{'useClass':_0x4c5d8a}],[_0x273bf2[_0x3bc839(0x3cf)],{'useClass':_0x273bf2['WebSocketService']}],[_0x1062f6[_0x3bc839(0x21e)],{'useClass':_0x286c51}],[_0x1ad031[_0x3bc839(0x3cd)]],[_0x3a6115],[_0x34bb21],[_0x2ed875],[_0x5d143f],[_0x1ad031['CollaborationDataLoaderController']]];_0x3dc819['registerDependencies'](this[_0x3bc839(0x157)],_0x3dc819[_0x3bc839(0x1fd)](_0x4792a8,(_0x468b47=this['_config'])==null?void 0x0:_0x468b47['override']));}[_0x122628(0x2e2)](){const _0x48eba4=_0x122628;this[_0x48eba4(0x3e3)](this['_renderManagerService']['registerRenderModule'](_0x3dc819[_0x48eba4(0x34b)][_0x48eba4(0x179)],[_0x44c46c])),this[_0x48eba4(0x3e3)](this[_0x48eba4(0x14f)][_0x48eba4(0x246)](_0x3dc819[_0x48eba4(0x34b)][_0x48eba4(0x325)],[_0x5552a7]));}['_initDependencies'](){const _0x5580a9=_0x122628;_0x3dc819[_0x5580a9(0x18d)](this[_0x5580a9(0x157)],[[_0x2ed875],[_0x1ad031['DesktopCollaborationStatusDisplayController']],[_0x3a6115],[_0x34bb21],[_0x1ad031[_0x5580a9(0x377)]]]);}},_0x126fee(_0x1ad031[_0x122628(0x290)],_0x122628(0x1fc),_0x156998),_0x1ad031['UniverCollaborationClientUIPlugin']=_0x2023c3([_0x3dc819[_0x122628(0x2bc)](_0x1062f6['UniverCollaborationClientPlugin']),_0x387d4c(0x1,_0x49d167[_0x122628(0x198)]),_0x387d4c(0x2,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x38a)])),_0x387d4c(0x3,_0x3dc819[_0x122628(0x2be)])],_0x1ad031['UniverCollaborationClientUIPlugin']);var _0x485886=Object[_0x122628(0x22e)],_0x26321f=(_0xeede42,_0x40773d,_0x1a69db,_0x5272bd)=>{for(var _0xe79005=_0x5272bd>0x1?void 0x0:_0x5272bd?_0x485886(_0x40773d,_0x1a69db):_0x40773d,_0x469d72=_0xeede42['length']-0x1,_0x2782aa;_0x469d72>=0x0;_0x469d72--)(_0x2782aa=_0xeede42[_0x469d72])&&(_0xe79005=_0x2782aa(_0xe79005)||_0xe79005);return _0xe79005;},_0x841e9a=(_0x192eb1,_0x10257d)=>(_0x4da092,_0x4240b2)=>_0x10257d(_0x4da092,_0x4240b2,_0x192eb1);_0x1ad031[_0x122628(0x364)]=class extends _0x1062f6['CollaborationSocketService']{constructor(_0x464b82,_0x782136,_0x4b34d5,_0x205da2,_0x10654f){super(_0x464b82,_0x782136,_0x4b34d5,_0x205da2,_0x10654f);}async[_0x122628(0x2aa)](_0x5b7625){const _0x3fe07d=_0x122628,_0x46e935=await this[_0x3fe07d(0x2cd)](),_0xb522f6=this[_0x3fe07d(0x378)](_0x5b7625,_0x46e935);return this[_0x3fe07d(0x27a)](_0xb522f6);}[_0x122628(0x378)](_0x3dea46,_0x1fa55d){const _0x4d75b5=_0x122628,_0x59dae4=typeof window>'u'?new URL(_0x3dea46):new URL(_0x3dea46,window['location'][_0x4d75b5(0x385)]);_0x59dae4[_0x4d75b5(0x232)][_0x4d75b5(0x2d5)](_0x4d75b5(0x2dc),_0x1fa55d);const _0x3f20ba=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d75b5(0x2d8)]['search']);return _0x3f20ba[_0x4d75b5(0x288)](_0x4d75b5(0x15f))&&_0x59dae4[_0x4d75b5(0x232)][_0x4d75b5(0x2d5)](_0x4d75b5(0x15f),_0x3f20ba[_0x4d75b5(0x288)](_0x4d75b5(0x15f))),_0x59dae4[_0x4d75b5(0x170)]();}async['_getSessionTicket'](){const _0x55fd3f=_0x122628;var _0x539524,_0x4f0a45,_0x228b92;const _0x57283f=this[_0x55fd3f(0x32a)][_0x55fd3f(0x17d)](_0x1062f6['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x208fba=(_0x539524=_0x57283f==null?void 0x0:_0x57283f[_0x55fd3f(0x3b2)])!=null?_0x539524:_0x1062f6[_0x55fd3f(0x2d0)];return(_0x228b92=(_0x4f0a45=(await this[_0x55fd3f(0x334)]['get'](_0x208fba,{'headers':{'Content-Type':'application/json'}}))[_0x55fd3f(0x3e8)])==null?void 0x0:_0x4f0a45[_0x55fd3f(0x2f6)])!=null?_0x228b92:'';}},_0x1ad031[_0x122628(0x364)]=_0x26321f([_0x841e9a(0x0,_0x3dc819[_0x122628(0x393)](_0x3dc819[_0x122628(0x38a)])),_0x841e9a(0x1,_0x3dc819['Inject'](_0x273bf2[_0x122628(0x2fb)])),_0x841e9a(0x2,_0x3dc819[_0x122628(0x2be)]),_0x841e9a(0x3,_0x3dc819[_0x122628(0x23d)]),_0x841e9a(0x4,_0x40fcc9[_0x122628(0x1b5)])],_0x1ad031[_0x122628(0x364)]);const _0x55c851=0x7530,_0xd6d8c9=_0x122628(0x183);class _0x58fdd5 extends _0x3dc819['Disposable']{constructor(){const _0x236e7a=_0x122628;super(),_0x1e4415(this,_0x236e7a(0x316),_0x3dc819[_0x236e7a(0x2db)]()),_0x1e4415(this,'_selfUnitIDs',new Set()),_0x1e4415(this,'_unitOnClients',new Map()),_0x1e4415(this,_0x236e7a(0x318),null),_0x1e4415(this,_0x236e7a(0x3ae),new Map()),_0x1e4415(this,_0x236e7a(0x3da),new Map()),this[_0x236e7a(0x23b)]();}[_0x122628(0x37e)](){const _0x53e665=_0x122628;super['dispose'](),this[_0x53e665(0x3ae)]['forEach']((_0x5dd8a2,_0x31d060)=>this[_0x53e665(0x35a)](_0x31d060)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x53e665(0x318)]);}[_0x122628(0x188)](_0x407179){const _0x379df2=_0x122628;return this[_0x379df2(0x370)](_0x407179)[_0x379df2(0x3aa)](_0x5c682c[_0x379df2(0x2ac)]());}['editingUnit'](_0x580330){const _0x4ec3b4=_0x122628;this[_0x4ec3b4(0x256)][_0x4ec3b4(0x234)]===0x0&&this[_0x4ec3b4(0x162)](),this['_selfUnitIDs'][_0x4ec3b4(0x3c6)](_0x580330),this[_0x4ec3b4(0x3dc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x580330],'isForwarded':!0x1});}[_0x122628(0x211)](_0x2b4074){const _0x2cce0b=_0x122628;this[_0x2cce0b(0x256)][_0x2cce0b(0x16d)](_0x2b4074),this['_selfUnitIDs']['size']===0x0&&this[_0x2cce0b(0x318)]&&window['clearInterval'](this[_0x2cce0b(0x318)]);}[_0x122628(0x23b)](){const _0xd99333=_0x122628;this[_0xd99333(0x3e3)](_0x3dc819['toDisposable'](_0x5c682c['fromEvent'](window,_0xd99333(0x25c))['subscribe'](_0x3b7c92=>{const _0x3e7db4=_0xd99333;if(_0x3b7c92[_0x3e7db4(0x267)]!==_0xd6d8c9||!_0x3b7c92[_0x3e7db4(0x242)])return;const _0x24d113=JSON[_0x3e7db4(0x1a5)](_0x3b7c92[_0x3e7db4(0x242)]);this[_0x3e7db4(0x296)](_0x24d113);}))),window[_0xd99333(0x186)](_0xd99333(0x2cc),()=>this[_0xd99333(0x3dc)]({'type':0x1,'memberID':this[_0xd99333(0x316)],'unitIDs':Array['from'](this[_0xd99333(0x256)])}));}[_0x122628(0x296)](_0x39aa84){const _0x5a481f=_0x122628;switch(_0x39aa84[_0x5a481f(0x28e)]){case 0x0:this[_0x5a481f(0x2d3)](_0x39aa84);break;case 0x1:this[_0x5a481f(0x254)](_0x39aa84);break;case 0x2:this['_handleHeartbeatEvent'](_0x39aa84);break;}}[_0x122628(0x2d3)](_0x433090){const _0x4ab36a=_0x122628,{unitIDs:_0x988f43,memberID:_0x3c717b,isForwarded:_0x38a7b7}=_0x433090;_0x988f43[_0x4ab36a(0x164)](_0x16e507=>{const _0x160bb4=_0x4ab36a;if(!_0x38a7b7&&this['_unitOnClients'][_0x160bb4(0x2e7)](_0x16e507)&&this[_0x160bb4(0x370)](_0x16e507)[_0x160bb4(0x37f)](_0x1062f6[_0x160bb4(0x1b4)][_0x160bb4(0x285)]),!this[_0x160bb4(0x1dc)][_0x160bb4(0x2e7)](_0x16e507)||!this[_0x160bb4(0x1dc)]['get'](_0x16e507)[_0x160bb4(0x2e7)](_0x3c717b)){const _0x39382e=this[_0x160bb4(0x1dc)][_0x160bb4(0x288)](_0x16e507)||new Set();_0x39382e['add'](_0x3c717b),this[_0x160bb4(0x1dc)][_0x160bb4(0x2d5)](_0x16e507,_0x39382e),this['_scheduleClearOtherTimer'](_0x3c717b);}}),_0x38a7b7||this[_0x4ab36a(0x3dc)]({'type':0x0,'memberID':this[_0x4ab36a(0x316)],'unitIDs':[...this[_0x4ab36a(0x256)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4b043e){const _0x3c277e=_0x122628;this['_removeClearOtherTimer'](_0x4b043e);const _0xecdb34=window['setTimeout'](()=>{const _0x5052f9=_0x3059;this[_0x5052f9(0x1dc)][_0x5052f9(0x164)](_0x4920d0=>{const _0x497cca=_0x5052f9;_0x4920d0[_0x497cca(0x16d)](_0x4b043e);});},_0x55c851*0x2);this[_0x3c277e(0x3ae)][_0x3c277e(0x2d5)](_0x4b043e,_0xecdb34);}[_0x122628(0x35a)](_0x274daa){const _0x54d851=_0x122628;if(this[_0x54d851(0x3ae)][_0x54d851(0x2e7)](_0x274daa)){const _0x412d64=this[_0x54d851(0x3ae)][_0x54d851(0x288)](_0x274daa);_0x412d64&&window['clearTimeout'](_0x412d64),this[_0x54d851(0x3ae)][_0x54d851(0x2d5)](_0x274daa,null);}}[_0x122628(0x254)](_0x1f44cf){const _0xe4cc7a=_0x122628,{memberID:_0x44d259,unitIDs:_0x4c29f0}=_0x1f44cf;_0x4c29f0[_0xe4cc7a(0x164)](_0x36a16c=>{const _0x212a52=_0xe4cc7a;var _0x2e8fec;const _0x25412e=this['_unitOnClients']['get'](_0x36a16c);_0x25412e&&(_0x25412e[_0x212a52(0x16d)](_0x44d259),(_0x2e8fec=this[_0x212a52(0x370)](_0x36a16c))==null||_0x2e8fec[_0x212a52(0x37f)](_0x25412e[_0x212a52(0x234)]===0x0?_0x1062f6[_0x212a52(0x1b4)][_0x212a52(0x1e6)]:_0x1062f6[_0x212a52(0x1b4)][_0x212a52(0x285)]));}),this[_0xe4cc7a(0x35a)](_0x44d259);}['_handleHeartbeatEvent'](_0x304875){this['_scheduleClearOtherTimer'](_0x304875['memberID']);}[_0x122628(0x3dc)](_0x3d041b){const _0x5cbeae=_0x122628;localStorage['setItem'](_0xd6d8c9,JSON[_0x5cbeae(0x3c0)](_0x3d041b));}[_0x122628(0x162)](){const _0x1921e7=_0x122628;this[_0x1921e7(0x318)]=window[_0x1921e7(0x160)](()=>{const _0x520b9e=_0x1921e7;this[_0x520b9e(0x3dc)]({'type':0x2,'memberID':this[_0x520b9e(0x316)]});},_0x55c851);}['_ensureSubject'](_0x39fbb1){const _0x1a98b7=_0x122628;return this[_0x1a98b7(0x3da)][_0x1a98b7(0x2e7)](_0x39fbb1)||this[_0x1a98b7(0x3da)]['set'](_0x39fbb1,new _0x5c682c[(_0x1a98b7(0x2e8))](_0x1062f6[_0x1a98b7(0x1b4)][_0x1a98b7(0x1e6)])),this[_0x1a98b7(0x3da)][_0x1a98b7(0x288)](_0x39fbb1);}}var _0x4160bd=(_0x563d93=>(_0x563d93[_0x563d93[_0x122628(0x1c6)]=0x0]=_0x122628(0x1c6),_0x563d93[_0x563d93['OK']=0x1]='OK',_0x563d93[_0x563d93[_0x122628(0x1b2)]=0x2]=_0x122628(0x1b2),_0x563d93[_0x563d93[_0x122628(0x1b1)]=0x3]=_0x122628(0x1b1),_0x563d93[_0x563d93['NOT_FOUND']=0x4]='NOT_FOUND',_0x563d93[_0x563d93[_0x122628(0x3de)]=0x5]=_0x122628(0x3de),_0x563d93[_0x563d93[_0x122628(0x367)]=0x6]='ALREADY_EXISTS',_0x563d93[_0x563d93[_0x122628(0x29a)]=0x7]=_0x122628(0x29a),_0x563d93[_0x563d93['TOO_MANY_REQUESTS']=0x8]=_0x122628(0x1a7),_0x563d93[_0x563d93[_0x122628(0x39c)]=0x9]=_0x122628(0x39c),_0x563d93[_0x563d93[_0x122628(0x2af)]=0xa]=_0x122628(0x2af),_0x563d93[_0x563d93['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x122628(0x14e),_0x563d93[_0x563d93[_0x122628(0x2b6)]=0x1771]=_0x122628(0x2b6),_0x563d93[_0x563d93[_0x122628(0x1da)]=0x1772]=_0x122628(0x1da),_0x563d93[_0x563d93[_0x122628(0x17a)]=0x1773]=_0x122628(0x17a),_0x563d93[_0x563d93[_0x122628(0x229)]=0x1b59]=_0x122628(0x229),_0x563d93[_0x563d93[_0x122628(0x22c)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x563d93[_0x563d93[_0x122628(0x1a1)]=0x1b5b]=_0x122628(0x1a1),_0x563d93[_0x563d93['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x122628(0x3c8),_0x563d93[_0x563d93[_0x122628(0x369)]=0x1b5d]=_0x122628(0x369),_0x563d93[_0x563d93[_0x122628(0x208)]=0x1f41]=_0x122628(0x208),_0x563d93[_0x563d93['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x563d93[_0x563d93['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x122628(0x30d),_0x563d93[_0x563d93[_0x122628(0x2a7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x563d93[_0x563d93[_0x122628(0x23c)]=0x232c]=_0x122628(0x23c),_0x563d93[_0x563d93[_0x122628(0x227)]=0x232d]=_0x122628(0x227),_0x563d93[_0x563d93['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x122628(0x23f),_0x563d93[_0x563d93['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x563d93[_0x563d93[_0x122628(0x31c)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x563d93[_0x563d93[_0x122628(0x304)]=0x2714]=_0x122628(0x304),_0x563d93[_0x563d93['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x122628(0x1fe),_0x563d93[_0x563d93[_0x122628(0x1d5)]=0x271b]=_0x122628(0x1d5),_0x563d93[_0x563d93[_0x122628(0x1f5)]=0x271c]=_0x122628(0x1f5),_0x563d93[_0x563d93[_0x122628(0x3b1)]=0x271d]=_0x122628(0x3b1),_0x563d93[_0x563d93[_0x122628(0x262)]=0x271e]=_0x122628(0x262),_0x563d93[_0x563d93[_0x122628(0x1ae)]=0x271f]=_0x122628(0x1ae),_0x563d93[_0x563d93[_0x122628(0x2d7)]=0x2af9]=_0x122628(0x2d7),_0x563d93[_0x563d93[_0x122628(0x1ce)]=0x2ee1]=_0x122628(0x1ce),_0x563d93[_0x563d93[_0x122628(0x2c9)]=0x2ee2]=_0x122628(0x2c9),_0x563d93[_0x563d93[_0x122628(0x328)]=0x2ee3]=_0x122628(0x328),_0x563d93[_0x563d93['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x563d93[_0x563d93[_0x122628(0x362)]=0x2ee5]=_0x122628(0x362),_0x563d93[_0x563d93[_0x122628(0x343)]=0x32c9]=_0x122628(0x343),_0x563d93[_0x563d93[_0x122628(0x261)]=0x32ca]=_0x122628(0x261),_0x563d93[_0x563d93[_0x122628(0x249)]=0x32cb]=_0x122628(0x249),_0x563d93[_0x563d93[_0x122628(0x2f5)]=-0x1]=_0x122628(0x2f5),_0x563d93))(_0x4160bd||{}),_0x1907dc=Object[_0x122628(0x22e)],_0x4b1004=(_0x12c027,_0x48c223,_0x701b7f,_0x4f6c96)=>{const _0x526e0f=_0x122628;for(var _0x23b777=_0x4f6c96>0x1?void 0x0:_0x4f6c96?_0x1907dc(_0x48c223,_0x701b7f):_0x48c223,_0x20ebf2=_0x12c027[_0x526e0f(0x3c5)]-0x1,_0x2eeb89;_0x20ebf2>=0x0;_0x20ebf2--)(_0x2eeb89=_0x12c027[_0x20ebf2])&&(_0x23b777=_0x2eeb89(_0x23b777)||_0x23b777);return _0x23b777;},_0x30d49a=(_0x163a23,_0x2a65ea)=>(_0x4c5558,_0x5a6cbd)=>_0x2a65ea(_0x4c5558,_0x5a6cbd,_0x163a23);_0x1ad031[_0x122628(0x189)]=class extends _0x3dc819[_0x122628(0x219)]{constructor(_0x19c046,_0x261d83,_0x5d0b8b){const _0x1a1cdc=_0x122628;super(),this[_0x1a1cdc(0x1d0)]=_0x19c046,this[_0x1a1cdc(0x334)]=_0x261d83,this[_0x1a1cdc(0x32a)]=_0x5d0b8b;}async[_0x122628(0x346)](_0x58b44d,_0x3f8368,_0x1080dd,..._0x238215){const _0x5a237d=_0x122628;var _0x2eac62,_0x3ced1c,_0x23473f,_0xcb2690;const _0x9408af=this[_0x5a237d(0x1d0)][_0x5a237d(0x270)]();if(!_0x9408af)throw new Error(_0x5a237d(0x324));const _0x469cbc=((_0x2eac62=this[_0x5a237d(0x32a)][_0x5a237d(0x17d)](_0x1062f6[_0x5a237d(0x2bd)]))!=null?_0x2eac62:_0x1062f6[_0x5a237d(0x1ed)])+'/'+_0x58b44d+_0x5a237d(0x26c)+_0x3f8368,_0x5d04ac=new URL(window[_0x5a237d(0x2d8)][_0x5a237d(0x16f)]),_0x5ab2f2={'scriptId':_0x58b44d,'runId':(_0x3ced1c=_0x5d04ac['searchParams'][_0x5a237d(0x288)](_0x5a237d(0x15f)))!=null?_0x3ced1c:'','function':_0x3f8368,'unitId':_0x9408af[_0x5a237d(0x399)](),'argsOfFunction':JSON[_0x5a237d(0x3c0)](_0x238215),'invokeId':(_0x23473f=_0x1080dd['invokeId'])!=null?_0x23473f:'','executionId':(_0xcb2690=_0x1080dd[_0x5a237d(0x20f)])!=null?_0xcb2690:''};try{const _0x247fcd=await this[_0x5a237d(0x334)][_0x5a237d(0x31d)](_0x469cbc,{'body':_0x5ab2f2});return _0x247fcd['body'][_0x5a237d(0x342)]&&_0x247fcd[_0x5a237d(0x3e8)]['error']['code']!==_0x4160bd['OK']?_0x5a237d(0x3d2):_0x247fcd[_0x5a237d(0x3e8)][_0x5a237d(0x1dd)];}catch{return'Failed';}}},_0x1ad031[_0x122628(0x189)]=_0x4b1004([_0x30d49a(0x0,_0x3dc819['IUniverInstanceService']),_0x30d49a(0x1,_0x3dc819[_0x122628(0x393)](_0x273bf2['HTTPService'])),_0x30d49a(0x2,_0x3dc819['IConfigService'])],_0x1ad031['RemoteUniscriptService']),_0x1ad031[_0x122628(0x1e2)]=_0x186063,_0x1ad031[_0x122628(0x163)]=_0x2cfdf3,_0x1ad031['SheetCollabCursorShape']=_0xc4533c,_0x1ad031['WebBrowserSingleActiveUnitService']=_0x58fdd5,_0x1ad031[_0x122628(0x1a8)]=_0x4c5d8a,Object['defineProperty'](_0x1ad031,Symbol['toStringTag'],{'value':_0x122628(0x349)});}));
|
|
1
|
+
function _0xa0ee(){const _0x4f0e88=['CONNECTOR_DATA_TOO_LARGE','HEADER_MENU','_updateSubUnitFromURLParams','redoState','_initResize','getAncestorScale','searchParams','_session','_revisionService','RemoveColCommandId','_colorIndex','editingUnit','RECT','_refRangeService','YUUMI_NO_CUBOID_FOR_QUESTION','_getSheetObject','OnLineIcon','NodePositionConvertToCursor','130sojujR','map','_onRefRangeChange','tag','min','_urlService','wsSessionTicketUrl','purple.300','getSheetId','INVALID_INVITE_CODE','onCommandExecuted','transformStateCache','imageSourceType','APPLY_NON_SEQUENTIAL_REVISION','toString','collabStatus.synced','513111EVtkPG','drawWith','unsubscribe','_docSkeleton','subscribeEvent','_id','red.300','_handleHover','colorChannel1','COMPLETION_FINISHED','_anchor','InsertColCommandId','setStateCache','Disposable','transformSelections','fillStyle','override','EMAIL_HAS_BEEN_BOUND','UniverProCollaboration','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_entityInit$','from','isTransformMutationFailure','_docSyncEditingCollabCursorService','@univerjs/engine-formula','SNAPSHOT_INVALID_SNAPSHOT','fillRule','UniverNetwork','session.will-retry','IURLService','univer-flex\x20univer-items-center','concat','USERS_LEAVE','SetSelectionsOperation','MOBILE_HAS_BEEN_BOUND','1em','24GbKWEZ','getUnitId','lineTo','getLocalCacheKey','[CollaborationDataLoaderController]','string','_sheetSkeletonManagerService','add','length','LICENSE_DISTRO_REJECTED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','MoveRangeCommandId','@univerjs/network','_cursorInfo$','getCurrent','error','onPointerMove$','restore','YUUMI_AI_RUN_FAILED','trim','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_onCursorDelete','generateRandomId','_document','href','SUBMIT_CHANGESET_TIMEOUT','onLocalMutation','SHEET_VIEWPORT_KEY','on-line-icon','post','_instanceService','mask','UniverInstanceType','subscribe','green.600','DesktopCollaborationStatusDisplayController','_unitOnClients','assignAColorForMemberID','Injector','body','PERMISSION_DENIED','_docTransformStateCacheService','getUniverSheetInstance','measureText','_send','_doCreateSocket','getRenderById','key','_getMergeRange','color','source','handleDeleteRangeMoveUp','clipPath','call','cursorInfo$','arc','React','random','_selfUnitIDs','getOwnPropertySymbols','_localeService','memberID','ISnapshotServerService','substring','event$','_updateURLWithCurrentState','setParam','flatMap','rgba(255,\x20255,\x20255,\x200.01)','RxDisposable','MUTATION','CollaborationEvent','clearInterval','@univerjs/core','_hovered','INTERNAL_ERROR','IUniverInstanceService','evenodd','_docStateChangeManagerService','getItem','collabStatus.notCollab','toRgbString','Rect','doc.mutation.rich-text-editing','SheetsSelectionsService','takeUntil','fromEventSubject','UNAUTHENTICATED','@univerjs/sheets','top','_configService','get','_status$','_localStorageService','Failed','TEXT','exhaustSavingTask','_cursor','svg','unitID','useRef','off-line-icon','idSuffix','triggerDblclick','CollaborationController','m1Prime','98290JVzmmQ','@univerjs/docs-ui','UniverDrawing','_themeService','extend','invokeId','transformByState','push','getVpScrollXYInfoByPosToVp','_drawAnchor','_univerInstanceService','transformMutation','UniverRpc','roomMembers','_initStatusListener','_drawRectRange','_scheduleSaving','saveOfflineData','merge','url(#$1','Subject','origin','distinctUntilChanged','_handleJoinEvent','saveTaskMap','code','getColorFromTheme','collaboration.single-unit.warning','_cursors','clearTimeout','ranges','with','operators','_saveCache','getCoordByCell','univerjs-icon\x20univerjs-icon-','newValue','replaceDocRanges','fromEvent','_toggleOffline','OFFLINE','registerBeforeClose','APPLY_PERMISSION_DENIED','_scheduleHeartbeat','getTypeOfUnitDisposed$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','LOGIN_FAILED','_entities','shareReplay','white','m2Prime','mutations','SessionStatus','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_initStatusComponent','_dataLoaderService','handleDeleteRangeMoveLeft','backgroundColor','updateOfflineData','pipe','setTimeout','_range','BuiltInUIPart','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','hasOwnProperty','react/jsx-runtime','find','DisposableCollection','executionId','values','_docTransformSelectionsService','DocSelectionManagerService','0\x200\x2017\x2016','createInstance','INVITE_CODE_REQUIRED','search','APPLY_DUPLICATED','_setupBeforeClosingHandler','DeleteRangeMoveLeftCommandId','_anchorDot','makeDirty','getOffsetConfig','CHANGESET_REVISION_CONFILICT','_transformPreviousActiveRange','ThemeService','range','path','COLORS','reconnect','collabStatus.syncing','disposeWithMe','TOO_MANY_REQUESTS','853272VeTJNu','addHandlerCallback','UNIVER_DOC','INVITE_CODE_HAS_BEEN_UES','children','IDocClipboardService','loadOfflineData','ALREADY_EXISTS','UniverEngineFormula','YUUMI_URL_COL_OUT_OF_RANGE','_labelPosition','sheetID','AWAITING','ISocketService','_heartbeatTimer','findNodePositionByCharIndex','Unknown\x20user','/run/','CollaborationUIEventId','result','UNRECOGNIZED','_transformUndoRedoStack','NOT_FOUND','show','@univerjs/drawing','CollaborationStatusDisplay','url(#on-line-icon_clip0_910_349)','black','transformRemoteChangeset','debounceTime','APPLY_REVISION_CONFILICT','CollaborationDataLoaderController','dispose','div','getTypeOfUnitAdded$','INVALID_ARGUMENT','...','ITransformService','UPDATE_CURSOR','_unitStatus','isTransformMutationsWithChangesetSuccess','collaboration-client-ui.config','UniverUi','throttleTime','DocIMEInputManagerService','TEXT_RANGE_LAYER_INDEX','WebBrowserSingleActiveUnitService','collaboration.closeRoom','touchDependencies','jsx','width','isActive','YUUMI_ALL_TABLES_IS_INVALID','_config','UniverCollaborationClientUIPlugin','_collabCursorController','registerRefRange','_removeClearOtherTimer','@univerjs-pro/collaboration','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','Vector2','collab-text-anchor-','_init','_saveTaskMap','skeleton','syncEditingCollabCursor','YUUMI_ASYNCIO_CANCELLED','LocaleService','session.collaboration-timeout','_shapes','_render','attrs','MemberService','max','debounce','connectInjector','bottom','complete','_httpService','_getAnchorBounding','51566XavLkP','column','_assignedColors','UniverDocsUi','RemoteUniscriptService','addObject','data','symbol','getStateCache','Shape','entries','actions','UniverEngineRender','NO_OTHER_CLIENTS_EDITING','_localCacheService','SOCKET_FAILED','LICENSE_IMPORT_SIZE_EXCEEDED','_refreshCollabCursors','currentTheme$','rxjs','INVITE_CODE_ALREADY_BOUND','switchMap','_memberService','337088bVXCom','_initEntityListener','runRefRangeMutations','UnitStatus','HTTPService','activeSheet$','forEach','_renderManagerService','UNDEFINED','getUndoRedoMutationParamsCache','WECHAT_HAS_BEEN_BOUND','on-line-icon_clip0_910_349','className','getMember','CONFLICT','IBeforeCloseService','endColumn','undoState','getOwnPropertyDescriptor','handleInsertRow','setShapeProps','requireSession','APPLY_REJECT','LOCAL_CACHE_INTERVAL_KEY','LICENSE_EXPORT_SIZE_EXCEEDED','defineProperty','getSkeleton','OTHER_CLIENT_EDITING','CollaborationStatus','startsWith','_hideTimer','location','_name','_messageService','docStateChange$','dispose$','deepClone','all','DEFAULT_WS_SESSION_TICKET_URL','SOCKET_FAILED_RETRY','SheetSkeletonManagerService','_toggleOnline','WebURLService','UniverSheets','InsertRangeMoveRightCommandId','getSheetBySheetId','_uiPartsService','collaboration-client.offline-data-not-saved','477351yZbftu','function','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_setupSubUnitSync','RegularPolygon','CollaborationUIEventService','_clearOtherTimers','entityInit$','some','_updateLocalCursor','propertyIsEnumerable','_commandService','_context','IRemoteInstanceService','76osMQWh','RemoveRowCommandId','forwardRef','getCollabCursors$','urlChange$','_handleHeartbeatEvent','_initCommandExecutedListener','EffectRefRangId','storage','getRangePointData','MessageType','ILogService','beginPath','getValue','_notificationService','icon','Inject','univer-mr-2\x20univer-flex\x20univer-text-xl','transformMutationsWithChangeset','useDependency','off-line-icon_clip0_910_343','getFocusedUnit','ICommandService','FromArray','getCurrentSelections','@univerjs/sheets-ui','_handleEvent','getUnhiddenWorksheets','focused$','USER_NOT_INVITED_CODE','jsxs','replace','isArray','ILocalStorageService','removeParam','setInterval','yellow.400','permission.title','_registerRenderDependencies','_docClipboardService','onMouseMove','getCellPositionByOffset','disposeUnit','_scene','collab-client.tooltip.reconnect','then','registerDependencies','size','pluginName','_backgroundColor','PY_RUNTIME_SCRIPT_ERROR','displayName','DOC_RANGE_TYPE','createSocket','defIds','_collabCursorState$','LICENSE_MAX_UNITS_EXCEEDED','RichTextEditingMutation','subunit','unitId','collabCursorState$','height','UniverProCollaborationClientUi','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','setItem','has','Warning','setUndoRedoMutationParamsCache','ILocalCacheService','IConfigService','none','setConfig','BrowserCollaborationSocketService','rxjs/operators','save','IRenderManagerService','name','toDisposable','textRanges','SetDocZoomRatioOperation','Error','getColor','M0\x200H16V16H0z','_registerDependencies','translate(.97)','prototype','debug','@univerjs/ui','delete','assign','registerRenderModule','_hover','session.connection-failed','@univerjs/design','IMessageService','round','runId','@univerjs/engine-render','selection','row','NOT_COLLAB','ENSURE_SNAPSHOT_EXECUTION','eventID','mapTo','currentSkeleton$','pushState','xlink:href','createElement','enableLocalCache','ticket','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DocSkeletonManagerService','_online','indexOf','stringify','parse','_lastPointer','RevisionService','onPointerEnter$','UniverCore','handleInsertRangeMoveRight','react','getMergeData','_drawTextRange','_getScale','_roomMembers$','@univerjs/docs','_onCursorUpdate','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getActiveRange','1807904GBdJsK','_syncEditingCollabCursorService','_ensureSubject','permission.content','SetTextSelectionsOperation','_cachedData','@univerjs-pro/collaboration-client','getConfig','SNAPSHOT_HAS_BEEN_REMOVED','selections','_color','asObservable','unit','Tooltip','init','split','_injector','url(#off-line-icon_clip0_910_343)','_startSheetCollabCursor','DocStateChangeManagerService','collabStatus.offline','fill','DataLoaderService','_beforeCloseService','loadUnit','_collaborationUIEventService','_handleLeaveEvent','_collabSessionService','_logService','UNIVER_SHEET','ONLINE','_collaborationController','_textBubble','ColorKit','0\x200\x2016\x2016','_startDocCollabCursor','setAlpha','collab-text-range-','filter','UniverDocs','defs','@univerjs/rpc','_getSessionTicket','_docSkeletonManagerService','_transformService','_removeCollabCursors','http://www.w3.org/2000/svg','_initDependencies','labelPosition','object','handleInsertCol','exports','_updateCollabCursors','_disabled','params','hide','fillText','_eventUnsubscribe','CommandType','WebSocketService','_createSocketURL','_transformHistoryAndStateStack','RefRangeService','combineLatest','addEventListener','_scheduleClearOtherTimer','#FFF','set','CollaborationSessionService','includes','Tools','getRelativeToViewportCoord','BehaviorSubject','contains','unshift','send','getMemberID','InsertRowCommandId','NodePositionConvertToRectRange','next','_colorAssignService','transformIMECache','handleInsertRangeMoveDown','cursorInfo','getDocRanges','PENDING','OTHER_CLIENTS_EDITING','onPointerLeave$','_cursorShapes','_initEvent','history','replaceState','collabStatus.conflict','_docTransformIMECacheService','getParam','sessionTicket','popstate','executeCommand','onRendered','type','text','deserializeRangeWithSheet'];_0xa0ee=function(){return _0x4f0e88;};return _0xa0ee();}function _0x3b1c(_0x37233c,_0x2d302c){const _0xa0eec7=_0xa0ee();return _0x3b1c=function(_0x3b1c84,_0xe38c0){_0x3b1c84=_0x3b1c84-0x124;let _0x2dfbdd=_0xa0eec7[_0x3b1c84];return _0x2dfbdd;},_0x3b1c(_0x37233c,_0x2d302c);}(function(_0x4a9bd7,_0x26d443){const _0x57a1db=_0x3b1c,_0x31cb4e=_0x4a9bd7();while(!![]){try{const _0x11fafa=parseInt(_0x57a1db(0x3b3))/0x1+parseInt(_0x57a1db(0x39c))/0x2+parseInt(_0x57a1db(0x262))/0x3+-parseInt(_0x57a1db(0x158))/0x4*(parseInt(_0x57a1db(0x2f0))/0x5)+-parseInt(_0x57a1db(0x286))/0x6*(parseInt(_0x57a1db(0x34c))/0x7)+parseInt(_0x57a1db(0x1da))/0x8+parseInt(_0x57a1db(0x14a))/0x9*(parseInt(_0x57a1db(0x252))/0xa);if(_0x11fafa===_0x26d443)break;else _0x31cb4e['push'](_0x31cb4e['shift']());}catch(_0x2c5faa){_0x31cb4e['push'](_0x31cb4e['shift']());}}}(_0xa0ee,0x8fa1d),function(_0x373cff,_0x53a4b0){const _0x18fa3e=_0x3b1c;typeof exports==_0x18fa3e(0x20b)&&typeof module<'u'?_0x53a4b0(exports,require(_0x18fa3e(0x1e0)),require(_0x18fa3e(0x2cf)),require(_0x18fa3e(0x1b9)),require(_0x18fa3e(0x292)),require(_0x18fa3e(0x2f1)),require(_0x18fa3e(0x364)),require(_0x18fa3e(0x3af)),require(_0x18fa3e(0x1d6)),require(_0x18fa3e(0x386)),require(_0x18fa3e(0x27a)),require(_0x18fa3e(0x2de)),require(_0x18fa3e(0x1a1)),require(_0x18fa3e(0x171)),require(_0x18fa3e(0x331)),require(_0x18fa3e(0x1af)),require('@univerjs/design'),require(_0x18fa3e(0x1d1)),require(_0x18fa3e(0x203))):typeof define==_0x18fa3e(0x14b)&&define['amd']?define([_0x18fa3e(0x20d),_0x18fa3e(0x1e0),'@univerjs/core',_0x18fa3e(0x1b9),_0x18fa3e(0x292),_0x18fa3e(0x2f1),_0x18fa3e(0x364),_0x18fa3e(0x3af),'@univerjs/docs',_0x18fa3e(0x386),_0x18fa3e(0x27a),_0x18fa3e(0x2de),'rxjs/operators',_0x18fa3e(0x171),'react/jsx-runtime',_0x18fa3e(0x1af),_0x18fa3e(0x1b5),_0x18fa3e(0x1d1),_0x18fa3e(0x203)],_0x53a4b0):(_0x373cff=typeof globalThis<'u'?globalThis:_0x373cff||self,_0x53a4b0(_0x373cff[_0x18fa3e(0x196)]={},_0x373cff['UniverProCollaborationClient'],_0x373cff[_0x18fa3e(0x1cf)],_0x373cff[_0x18fa3e(0x3a8)],_0x373cff[_0x18fa3e(0x27d)],_0x373cff[_0x18fa3e(0x39f)],_0x373cff[_0x18fa3e(0x2f2)],_0x373cff['rxjs'],_0x373cff[_0x18fa3e(0x201)],_0x373cff[_0x18fa3e(0x274)],_0x373cff[_0x18fa3e(0x354)],_0x373cff[_0x18fa3e(0x145)],_0x373cff[_0x18fa3e(0x3af)][_0x18fa3e(0x310)],_0x373cff['UniverSheetsUi'],_0x373cff[_0x18fa3e(0x2be)],_0x373cff[_0x18fa3e(0x376)],_0x373cff['UniverDesign'],_0x373cff[_0x18fa3e(0x2be)],_0x373cff[_0x18fa3e(0x2fc)]));}(this,function(_0x12c937,_0x2f4463,_0x4026ac,_0x7ef3ee,_0x28e500,_0x45dbe2,_0x4a0874,_0x490568,_0x3a183c,_0x5c97ef,_0x52401f,_0x18ee7b,_0x59a3b2,_0x2e96f8,_0x4666f7,_0x3688dd,_0x16b3ae,_0x5b499e,_0x2ef636){'use strict';const _0x2c12e3=_0x3b1c;var _0x3bac3c=Object['defineProperty'],_0xf2fdec=(_0x118299,_0x340f39,_0x54e256)=>_0x340f39 in _0x118299?_0x3bac3c(_0x118299,_0x340f39,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54e256}):_0x118299[_0x340f39]=_0x54e256,_0x155617=(_0x57144a,_0x3ee1da,_0x52a03f)=>_0xf2fdec(_0x57144a,typeof _0x3ee1da!=_0x2c12e3(0x3a3)?_0x3ee1da+'':_0x3ee1da,_0x52a03f),_0x102152=Object[_0x2c12e3(0x12c)],_0x58ef11=(_0x56de3f,_0x143f27,_0x2d520b,_0x530d91)=>{const _0x211cda=_0x2c12e3;for(var _0xb8e427=_0x530d91>0x1?void 0x0:_0x530d91?_0x102152(_0x143f27,_0x2d520b):_0x143f27,_0x3210e0=_0x56de3f[_0x211cda(0x28e)]-0x1,_0x2a951f;_0x3210e0>=0x0;_0x3210e0--)(_0x2a951f=_0x56de3f[_0x3210e0])&&(_0xb8e427=_0x2a951f(_0xb8e427)||_0xb8e427);return _0xb8e427;},_0x2ca73f=(_0x3b03db,_0x6d13cb)=>(_0x573e1b,_0x1b3156)=>_0x6d13cb(_0x573e1b,_0x1b3156,_0x3b03db);let _0x2d3631=class extends _0x4026ac[_0x2c12e3(0x2cb)]{constructor(_0x30d974,_0x1de701){const _0x576c0a=_0x2c12e3;super(),this[_0x576c0a(0x17f)]=_0x30d974,this['_imageIoService']=_0x1de701,this[_0x576c0a(0x38a)]();}[_0x2c12e3(0x38a)](){const _0x49bdb0=_0x2c12e3,_0x15bf2d=this;this[_0x49bdb0(0x34a)](this[_0x49bdb0(0x17f)]['addClipboardHook']({'onBeforePasteImage':async _0x3a1920=>{const _0x3dc5cb=_0x49bdb0,_0x28bd88=await _0x15bf2d['_imageIoService']['saveImage'](_0x3a1920);return _0x28bd88?{'source':_0x28bd88[_0x3dc5cb(0x2b8)],'imageSourceType':_0x28bd88[_0x3dc5cb(0x25e)]}:null;}}));}};_0x2d3631=_0x58ef11([_0x2ca73f(0x0,_0x45dbe2[_0x2c12e3(0x351)]),_0x2ca73f(0x1,_0x4a0874['IImageIoService'])],_0x2d3631);const _0x3a9571=[_0x2c12e3(0x259),'jiqing.500',_0x2c12e3(0x2a8),_0x2c12e3(0x268),'blue.400',_0x2c12e3(0x17c)];class _0x5554b1 extends _0x4026ac['Disposable']{constructor(){const _0x5949b3=_0x2c12e3;super(...arguments),_0x155617(this,_0x5949b3(0x39e),new Map()),_0x155617(this,_0x5949b3(0x24a),0x0);}[_0x2c12e3(0x2ab)](_0x1f0a65){const _0x55e508=_0x2c12e3;if(this[_0x55e508(0x39e)][_0x55e508(0x199)](_0x1f0a65))return this[_0x55e508(0x39e)]['get'](_0x1f0a65);const _0x419ff1=_0x3a9571[this[_0x55e508(0x24a)]];return this[_0x55e508(0x24a)]=(this['_colorIndex']+0x1)%_0x3a9571[_0x55e508(0x28e)],this['_assignedColors'][_0x55e508(0x21d)](_0x1f0a65,_0x419ff1),_0x419ff1;}}function _0x2c3b5f(_0x7e9618){const _0x4ec32e=_0x2c12e3;let _0x1c47d4='';for(const _0x15f37e of _0x7e9618){const {startOffset:_0x122998,endOffset:_0x3bc6a3,isActive:_0x168fd3,rangeType:_0x1f40d6,segmentId:_0x402abe,segmentPage:_0x386ae2}=_0x15f37e;_0x1c47d4[_0x4ec32e(0x28e)]&&(_0x1c47d4+=','),_0x1c47d4+=_0x122998+':'+_0x3bc6a3+':'+(_0x168fd3?'1':'0')+':'+_0x1f40d6+':'+_0x402abe+':'+_0x386ae2;}return _0x1c47d4;}function _0x56e798(_0x49a65c){const _0x116203=_0x2c12e3,_0x3bd464=_0x49a65c[_0x116203(0x1e9)](','),_0x4c6d31=[];for(const _0x4aaf27 of _0x3bd464){const [_0x2c0093,_0x424572,_0x241b5b,_0x291303,_0x28aa0d,_0x23c4ba]=_0x4aaf27[_0x116203(0x1e9)](':');_0x4c6d31[_0x116203(0x2f7)]({'startOffset':Number(_0x2c0093),'endOffset':Number(_0x424572),'collapsed':_0x2c0093===_0x424572,'isActive':_0x241b5b==='1','rangeType':_0x291303===_0x4026ac[_0x116203(0x18c)][_0x116203(0x2e5)]?_0x4026ac[_0x116203(0x18c)][_0x116203(0x2e5)]:_0x4026ac[_0x116203(0x18c)][_0x116203(0x24c)],'segmentId':typeof _0x28aa0d==_0x116203(0x28b)?String(_0x28aa0d):'','segmentPage':Number(_0x23c4ba!=null?_0x23c4ba:-0x1)});}return _0x4c6d31[_0x116203(0x152)](_0x2e5831=>_0x2e5831['isActive'])||(_0x4c6d31[0x0][_0x116203(0x37f)]=!0x0),_0x4c6d31;}class _0x4f6d56 extends _0x4026ac[_0x2c12e3(0x2cb)]{constructor(){const _0x3942eb=_0x2c12e3;super(...arguments),_0x155617(this,_0x3942eb(0x18f),new _0x490568[(_0x3942eb(0x222))](null)),_0x155617(this,_0x3942eb(0x194),this['_collabCursorState$'][_0x3942eb(0x1e5)]());}[_0x2c12e3(0x38d)](_0x3e0a07){const _0x4764a0=_0x2c12e3,{unitID:_0x15495b,memberID:_0xb03178,textRanges:_0x27b9ea}=_0x3e0a07,_0x4e5e86=_0x2c3b5f(_0x27b9ea);if(_0x4e5e86==='')return;const _0x5829fc={'unitID':_0x15495b,'memberID':_0xb03178,'selection':_0x4e5e86};this[_0x4764a0(0x18f)][_0x4764a0(0x229)](_0x5829fc);}}var _0x4e2bfd=Object['getOwnPropertyDescriptor'],_0x3f41a5=(_0x2a43b8,_0x104867,_0x386551,_0x5d7826)=>{const _0x5ad99f=_0x2c12e3;for(var _0x338968=_0x5d7826>0x1?void 0x0:_0x5d7826?_0x4e2bfd(_0x104867,_0x386551):_0x104867,_0x1343b0=_0x2a43b8[_0x5ad99f(0x28e)]-0x1,_0x4b8f1e;_0x1343b0>=0x0;_0x1343b0--)(_0x4b8f1e=_0x2a43b8[_0x1343b0])&&(_0x338968=_0x4b8f1e(_0x338968)||_0x338968);return _0x338968;},_0x1b1e4a=(_0x415eab,_0x1158f9)=>(_0x30e00e,_0x1eab5a)=>_0x1158f9(_0x30e00e,_0x1eab5a,_0x415eab);const _0x2a73d8=0x12c,_0x4ec54d=0x64;let _0x20066e=class extends _0x4026ac[_0x2c12e3(0x2cb)]{constructor(_0xa313a4,_0x43b286,_0x27d158,_0x424d58,_0x3cee8b,_0x4646fa,_0x4879ab,_0x2491a9,_0x50382){const _0x2faabd=_0x2c12e3;super(),_0x155617(this,'_online',!0x1),_0x155617(this,'_init',!0x1),_0x155617(this,_0x2faabd(0x293),new _0x490568[(_0x2faabd(0x222))](new Map())),_0x155617(this,_0x2faabd(0x2bc),this[_0x2faabd(0x293)][_0x2faabd(0x1e5)]()),_0x155617(this,_0x2faabd(0x1d5),new _0x490568['BehaviorSubject']([])),_0x155617(this,'roomMembers$',this[_0x2faabd(0x1d5)][_0x2faabd(0x32b)](_0x490568[_0x2faabd(0x369)](_0x2a73d8))),_0x155617(this,_0x2faabd(0x153),_0x4026ac[_0x2faabd(0x396)](_0x2c66dd=>{const _0x141cf6=_0x2faabd,_0x3eeca4={'eventID':_0x5c97ef['CollaborationEvent'][_0x141cf6(0x372)],'data':{'unitID':this[_0x141cf6(0x2e9)],'memberID':this[_0x141cf6(0x247)][_0x141cf6(0x226)](),'selection':_0x2c3b5f(_0x2c66dd)}};this[_0x141cf6(0x247)][_0x141cf6(0x225)](_0x3eeca4,this[_0x141cf6(0x2e9)]);},_0x4ec54d)),(this[_0x2faabd(0x2e9)]=_0xa313a4,this[_0x2faabd(0x247)]=_0x43b286,this['_injector']=_0x27d158,this[_0x2faabd(0x22a)]=_0x424d58,this['_memberService']=_0x3cee8b,this[_0x2faabd(0x1db)]=_0x4646fa,this[_0x2faabd(0x206)]=_0x4879ab,this[_0x2faabd(0x2fa)]=_0x2491a9,this[_0x2faabd(0x155)]=_0x50382);}get[_0x2c12e3(0x22d)](){const _0x26c04a=_0x2c12e3;return this[_0x26c04a(0x293)][_0x26c04a(0x165)]();}get[_0x2c12e3(0x2fd)](){const _0x3ae165=_0x2c12e3;return this[_0x3ae165(0x1d5)][_0x3ae165(0x165)]();}['dispose'](){const _0x1cc500=_0x2c12e3;super[_0x1cc500(0x36c)](),this[_0x1cc500(0x293)]['next'](new Map()),this[_0x1cc500(0x293)][_0x1cc500(0x399)](),this[_0x1cc500(0x1d5)][_0x1cc500(0x229)]([]),this[_0x1cc500(0x1d5)][_0x1cc500(0x399)]();}['init'](){const _0x5a7967=_0x2c12e3;this[_0x5a7967(0x38a)]||(this[_0x5a7967(0x38a)]=!0x0,this[_0x5a7967(0x247)]['sessionStatus$']['pipe'](_0x490568[_0x5a7967(0x2db)](this['dispose$']))[_0x5a7967(0x2a7)](_0x4c5fa6=>{const _0x2d2ea7=_0x5a7967;_0x4c5fa6===_0x2f4463[_0x2d2ea7(0x324)][_0x2d2ea7(0x1f8)]?this['_toggleOnline']():this[_0x2d2ea7(0x317)]();}),this[_0x5a7967(0x247)][_0x5a7967(0x2c6)]['pipe'](_0x490568[_0x5a7967(0x2db)](this[_0x5a7967(0x13d)]))['subscribe'](_0x18dd49=>{const _0x3821a5=_0x5a7967,_0x5201b1=_0x18dd49[_0x3821a5(0x1be)];_0x5201b1===_0x5c97ef[_0x3821a5(0x2cd)][_0x3821a5(0x372)]&&this[_0x3821a5(0x1d7)](_0x18dd49),_0x5201b1===_0x5c97ef[_0x3821a5(0x2cd)][_0x3821a5(0x282)]&&this[_0x3821a5(0x29b)](_0x18dd49);}),this[_0x5a7967(0x34a)](this[_0x5a7967(0x155)][_0x5a7967(0x25c)](_0x41db17=>{const _0xd276b5=_0x5a7967,_0xbb4c91=_0x41db17[_0xd276b5(0x210)];_0xbb4c91!=null&&this[_0xd276b5(0x1c8)]&&_0x41db17['id']===_0x3a183c[_0xd276b5(0x1de)]['id']&&_0xbb4c91['unitId']===this[_0xd276b5(0x2e9)]&&_0xbb4c91['isEditing']===!0x1&&_0xbb4c91[_0xd276b5(0x30e)][_0xd276b5(0x28e)]>0x0&&this[_0xd276b5(0x153)](_0xbb4c91[_0xd276b5(0x30e)]);})),this['_syncEditingCollabCursorService'][_0x5a7967(0x194)][_0x5a7967(0x32b)](_0x490568[_0x5a7967(0x2db)](this[_0x5a7967(0x13d)]))[_0x5a7967(0x2a7)](_0x1e6e98=>{const _0x557946=_0x5a7967;if((_0x1e6e98==null?void 0x0:_0x1e6e98[_0x557946(0x2e9)])!==this[_0x557946(0x2e9)])return;const _0x80183a={'eventID':_0x5c97ef['CollaborationEvent'][_0x557946(0x372)],'data':_0x1e6e98};this[_0x557946(0x1d7)](_0x80183a);}),this[_0x5a7967(0x34a)](this[_0x5a7967(0x155)]['onCommandExecuted'](_0x4d1b2a=>{const _0x166b50=_0x5a7967;if(_0x4d1b2a['params']==null)return;const _0x28b732=_0x4d1b2a[_0x166b50(0x210)];if(_0x4d1b2a['id']!==_0x3a183c[_0x166b50(0x191)]['id']||_0x28b732[_0x166b50(0x193)]!==this['unitID'])return;const _0x4e29c8={'id':'doc.mutation.rich-text-editing','params':_0x28b732},_0x14ed59=this[_0x166b50(0x22d)];for(const [_0x484991,_0x40de3d]of _0x14ed59){const _0x58ecb0={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x166b50(0x2e9)],'actions':null,'textRanges':_0x40de3d[_0x166b50(0x30e)]}},_0x60735d=this[_0x166b50(0x206)]['transformMutation'](_0x4e29c8,_0x58ecb0,!0x1);if(_0x5c97ef['isTransformMutationFailure'](_0x60735d))throw _0x60735d['error'];_0x14ed59['set'](_0x484991,{..._0x40de3d,'ranges':_0x60735d[_0x166b50(0x322)][_0x166b50(0x210)][_0x166b50(0x1a6)]});}queueMicrotask(()=>{const _0x4d6592=_0x166b50;this[_0x4d6592(0x293)]['next'](_0x14ed59);});})));}[_0x2c12e3(0x1d7)](_0x54171c){const _0x46f3ca=_0x2c12e3;var _0x5bd3dc,_0x406633;const {memberID:_0x245b74,selection:_0x48b286}=_0x54171c[_0x46f3ca(0x3a2)],_0x2278d4=_0x56e798(_0x48b286),_0x4f680c=(_0x406633=(_0x5bd3dc=this['_memberService'][_0x46f3ca(0x127)](this[_0x46f3ca(0x2e9)],_0x245b74))==null?void 0x0:_0x5bd3dc[_0x46f3ca(0x1a4)])!=null?_0x406633:_0x46f3ca(0x35c),_0x57a428={'color':this[_0x46f3ca(0x22a)][_0x46f3ca(0x2ab)](_0x245b74),'name':_0x4f680c,'ranges':_0x2278d4},_0x39ee6d=this[_0x46f3ca(0x22d)];_0x39ee6d['set'](_0x245b74,_0x57a428),this[_0x46f3ca(0x293)][_0x46f3ca(0x229)](_0x39ee6d);}[_0x2c12e3(0x29b)](_0x46d84d){const _0x194a8e=_0x2c12e3,{memberID:_0x42d2b2}=_0x46d84d['data'],_0x129ceb=this['cursorInfo'];_0x129ceb['delete'](_0x42d2b2),this[_0x194a8e(0x293)]['next'](_0x129ceb);}[_0x2c12e3(0x143)](){const _0x2d698f=_0x2c12e3;var _0x4417d7;if(this[_0x2d698f(0x1c8)]=!0x0,((_0x4417d7=this[_0x2d698f(0x2fa)][_0x2d698f(0x16d)]())==null?void 0x0:_0x4417d7[_0x2d698f(0x287)]())!==this[_0x2d698f(0x2e9)])return;const _0x4b69ce=this[_0x2d698f(0x1ea)][_0x2d698f(0x2e1)](_0x3a183c[_0x2d698f(0x337)])['getDocRanges']();Array['isArray'](_0x4b69ce)&&_0x4b69ce['length']>0x0&&this['_updateLocalCursor'](_0x4b69ce);}[_0x2c12e3(0x317)](){const _0x494328=_0x2c12e3;this[_0x494328(0x1c8)]=!0x1;}};_0x20066e=_0x3f41a5([_0x1b1e4a(0x2,_0x4026ac['Inject'](_0x4026ac['Injector'])),_0x1b1e4a(0x3,_0x4026ac[_0x2c12e3(0x168)](_0x5554b1)),_0x1b1e4a(0x4,_0x4026ac[_0x2c12e3(0x168)](_0x2f4463[_0x2c12e3(0x394)])),_0x1b1e4a(0x5,_0x4026ac[_0x2c12e3(0x168)](_0x4f6d56)),_0x1b1e4a(0x6,_0x5c97ef['ITransformService']),_0x1b1e4a(0x7,_0x4026ac[_0x2c12e3(0x2d2)]),_0x1b1e4a(0x8,_0x4026ac[_0x2c12e3(0x16e)])],_0x20066e);var _0x17dacc=Object[_0x2c12e3(0x12c)],_0x3382bf=(_0x8b2e73,_0x486940,_0x18d85c,_0x45b351)=>{const _0x422f3e=_0x2c12e3;for(var _0x5ba37b=_0x45b351>0x1?void 0x0:_0x45b351?_0x17dacc(_0x486940,_0x18d85c):_0x486940,_0x1c3840=_0x8b2e73[_0x422f3e(0x28e)]-0x1,_0x1f2c9c;_0x1c3840>=0x0;_0x1c3840--)(_0x1f2c9c=_0x8b2e73[_0x1c3840])&&(_0x5ba37b=_0x1f2c9c(_0x5ba37b)||_0x5ba37b);return _0x5ba37b;},_0x13b4ea=(_0x292478,_0x1788a1)=>(_0x300ed5,_0x5d849b)=>_0x1788a1(_0x300ed5,_0x5d849b,_0x292478);const _0x490117=0x12c,_0x35c932=0x64,_0x5a6bf8=()=>{let _0x429e29=[],_0x14f5a8=!0x1;return _0x44d968=>{_0x429e29['push'](_0x44d968),_0x14f5a8||(_0x14f5a8=!0x0,setTimeout(()=>{_0x429e29['forEach'](_0x1d0ebc=>_0x1d0ebc()),_0x429e29=[],_0x14f5a8=!0x1;}));};};let _0x1df8cc=class extends _0x4026ac[_0x2c12e3(0x2cb)]{constructor(_0x47abb0,_0x12b6b8,_0x5dbd9f,_0x1e2376,_0xab5ff8,_0x2138d6,_0x977442,_0x3e1b13){const _0x1c151d=_0x2c12e3;super(),_0x155617(this,_0x1c151d(0x1c8),!0x1),_0x155617(this,_0x1c151d(0x38a),!0x1),_0x155617(this,_0x1c151d(0x293),new _0x490568[(_0x1c151d(0x222))](new Map())),_0x155617(this,_0x1c151d(0x2bc),this[_0x1c151d(0x293)][_0x1c151d(0x1e5)]()),_0x155617(this,_0x1c151d(0x1d5),new _0x490568[(_0x1c151d(0x222))]([])),_0x155617(this,'roomMembers$',this['_roomMembers$'][_0x1c151d(0x32b)](_0x490568['debounceTime'](_0x490117))),_0x155617(this,'_updateLocalCursor',_0x4026ac[_0x1c151d(0x396)]((_0x596c2f,_0x669a1d)=>{const _0x1ae5d6=_0x1c151d,_0x475985={'eventID':_0x5c97ef['CollaborationEvent'][_0x1ae5d6(0x372)],'data':{'unitID':this[_0x1ae5d6(0x2e9)],'memberID':this[_0x1ae5d6(0x247)][_0x1ae5d6(0x226)](),'selection':_0x52401f['serializeRangeWithSheet'](_0x596c2f,_0x669a1d[_0x1ae5d6(0x345)])}};this[_0x1ae5d6(0x247)][_0x1ae5d6(0x225)](_0x475985,this[_0x1ae5d6(0x2e9)]);},_0x35c932)),(this[_0x1c151d(0x2e9)]=_0x47abb0,this['_session']=_0x12b6b8,this[_0x1c151d(0x1ea)]=_0x5dbd9f,this['_colorAssignService']=_0x1e2376,this[_0x1c151d(0x3b2)]=_0xab5ff8,this[_0x1c151d(0x2fa)]=_0x2138d6,this[_0x1c151d(0x155)]=_0x977442,this['_refRangeService']=_0x3e1b13);}get[_0x2c12e3(0x22d)](){const _0x3d224f=_0x2c12e3;return this['_cursorInfo$'][_0x3d224f(0x165)]();}get[_0x2c12e3(0x2fd)](){const _0x527459=_0x2c12e3;return this[_0x527459(0x1d5)][_0x527459(0x165)]();}[_0x2c12e3(0x36c)](){const _0x103160=_0x2c12e3;super[_0x103160(0x36c)](),this[_0x103160(0x293)]['next'](new Map()),this['_cursorInfo$'][_0x103160(0x399)](),this[_0x103160(0x1d5)][_0x103160(0x229)]([]),this[_0x103160(0x1d5)]['complete']();}[_0x2c12e3(0x1e8)](){const _0x4804c8=_0x2c12e3;this[_0x4804c8(0x38a)]||(this[_0x4804c8(0x38a)]=!0x0,this[_0x4804c8(0x247)]['sessionStatus$']['pipe'](_0x490568[_0x4804c8(0x2db)](this[_0x4804c8(0x13d)]))[_0x4804c8(0x2a7)](_0xdbdc87=>{const _0x4293a3=_0x4804c8;_0xdbdc87===_0x2f4463['SessionStatus'][_0x4293a3(0x1f8)]?this[_0x4293a3(0x143)]():this[_0x4293a3(0x317)]();}),this[_0x4804c8(0x247)][_0x4804c8(0x2c6)][_0x4804c8(0x32b)](_0x490568[_0x4804c8(0x2db)](this['dispose$']))[_0x4804c8(0x2a7)](_0x41e2b6=>{const _0x42c8cf=_0x4804c8,_0xc76265=_0x41e2b6['eventID'];_0xc76265===_0x5c97ef[_0x42c8cf(0x2cd)][_0x42c8cf(0x372)]&&this['_onCursorUpdate'](_0x41e2b6),_0xc76265===_0x5c97ef[_0x42c8cf(0x2cd)]['USERS_LEAVE']&&this[_0x42c8cf(0x29b)](_0x41e2b6);}),this[_0x4804c8(0x254)](),this[_0x4804c8(0x34a)](this[_0x4804c8(0x155)][_0x4804c8(0x25c)](_0x57b0e6=>{const _0x4b9072=_0x4804c8;if(this[_0x4b9072(0x1c8)]&&_0x57b0e6['id']===_0x18ee7b[_0x4b9072(0x283)]['id']&&_0x57b0e6[_0x4b9072(0x210)][_0x4b9072(0x193)]===this['unitID']){const _0x97887b=_0x57b0e6['params'];this[_0x4b9072(0x153)](_0x97887b['subUnitId'],_0x97887b[_0x4b9072(0x1e3)][0x0]);}})));}[_0x2c12e3(0x1d7)](_0x20ffd4){const _0x34a024=_0x2c12e3;var _0x4d849b,_0x3e8c86;const {memberID:_0x3caf43,selection:_0x2f89c9}=_0x20ffd4[_0x34a024(0x3a2)],{sheetName:_0x207a42,range:_0x455d7b}=_0x52401f[_0x34a024(0x23f)](_0x2f89c9),_0x554bd4={'name':(_0x3e8c86=(_0x4d849b=this[_0x34a024(0x3b2)][_0x34a024(0x127)](this[_0x34a024(0x2e9)],_0x3caf43))==null?void 0x0:_0x4d849b[_0x34a024(0x1a4)])!=null?_0x3e8c86:_0x34a024(0x35c),'range':this[_0x34a024(0x2b6)](_0x207a42,_0x455d7b),'sheetID':_0x207a42,'color':this[_0x34a024(0x22a)][_0x34a024(0x2ab)](_0x3caf43),'selection':_0x2f89c9},_0x23de2d=this[_0x34a024(0x22d)];_0x23de2d[_0x34a024(0x21d)](_0x3caf43,_0x554bd4),this[_0x34a024(0x293)][_0x34a024(0x229)](_0x23de2d);}['_onCursorDelete'](_0x1e9562){const _0x18f905=_0x2c12e3,{memberID:_0x13f517}=_0x1e9562[_0x18f905(0x3a2)],_0x295473=this[_0x18f905(0x22d)];_0x295473[_0x18f905(0x1b0)](_0x13f517),this[_0x18f905(0x293)][_0x18f905(0x229)](_0x295473);}[_0x2c12e3(0x2b6)](_0x49e1de,_0x130d13){const _0x4817fc=_0x2c12e3;var _0x164f68,_0x2c7f84;const _0x4d1de6=(_0x2c7f84=(_0x164f68=this['_univerInstanceService'][_0x4817fc(0x2b0)](this['unitID']))==null?void 0x0:_0x164f68['getSheetBySheetId'](_0x49e1de))==null?void 0x0:_0x2c7f84[_0x4817fc(0x1d2)]();return(_0x4d1de6==null?void 0x0:_0x4d1de6[_0x4817fc(0x332)](_0x3a99e0=>_0x4026ac['Rectangle'][_0x4817fc(0x223)](_0x3a99e0,_0x130d13)))||_0x130d13;}['_onRefRangeChange'](){const _0x58ae6d=_0x2c12e3,_0x41eb69=new _0x4026ac[(_0x58ae6d(0x333))](),_0x13256b=_0x5a6bf8(),_0x29984f=()=>{const _0x235cc1=_0x58ae6d;_0x41eb69[_0x235cc1(0x36c)]();const _0x407f0f=(_0x4b8fbd,_0x4b525e,_0x417c66,_0x28ad71)=>{const _0x44e2a2=_0x235cc1;let _0x1d5d6f=[];switch(_0x4b8fbd['id']){case _0x18ee7b[_0x44e2a2(0x15f)][_0x44e2a2(0x33e)]:{_0x1d5d6f=_0x18ee7b[_0x44e2a2(0x328)](_0x4b8fbd,_0x28ad71);break;}case _0x18ee7b[_0x44e2a2(0x15f)]['DeleteRangeMoveUpCommandId']:{_0x1d5d6f=_0x18ee7b[_0x44e2a2(0x2b9)](_0x4b8fbd,_0x28ad71);break;}case _0x18ee7b[_0x44e2a2(0x15f)][_0x44e2a2(0x26d)]:{_0x1d5d6f=_0x18ee7b[_0x44e2a2(0x20c)](_0x4b8fbd,_0x28ad71);break;}case _0x18ee7b[_0x44e2a2(0x15f)]['InsertRangeMoveDownCommandId']:{_0x1d5d6f=_0x18ee7b[_0x44e2a2(0x22c)](_0x4b8fbd,_0x28ad71);break;}case _0x18ee7b['EffectRefRangId'][_0x44e2a2(0x146)]:{_0x1d5d6f=_0x18ee7b[_0x44e2a2(0x1d0)](_0x4b8fbd,_0x28ad71);break;}case _0x18ee7b['EffectRefRangId'][_0x44e2a2(0x227)]:{_0x1d5d6f=_0x18ee7b[_0x44e2a2(0x12d)](_0x4b8fbd,_0x28ad71);break;}case _0x18ee7b[_0x44e2a2(0x15f)][_0x44e2a2(0x291)]:{_0x1d5d6f=_0x18ee7b['handleMoveRange'](_0x4b8fbd,_0x28ad71);break;}case _0x18ee7b[_0x44e2a2(0x15f)][_0x44e2a2(0x249)]:{_0x1d5d6f=_0x18ee7b['handleIRemoveCol'](_0x4b8fbd,_0x28ad71);break;}case _0x18ee7b[_0x44e2a2(0x15f)][_0x44e2a2(0x159)]:{_0x1d5d6f=_0x18ee7b['handleIRemoveRow'](_0x4b8fbd,_0x28ad71);break;}}const _0x4a8349=_0x18ee7b[_0x44e2a2(0x3b5)](_0x1d5d6f,_0x28ad71),_0x3c24a4=this[_0x44e2a2(0x22d)]['get'](_0x4b525e);if(_0x3c24a4&&_0x4a8349){const _0x346852={..._0x3c24a4,'range':_0x4a8349};this['cursorInfo'][_0x44e2a2(0x21d)](_0x4b525e,_0x346852),_0x13256b(()=>{const _0x398609=_0x44e2a2,_0xffcc16=this[_0x398609(0x24d)]['registerRefRange'](_0x4a8349,_0x169bf=>(_0xffcc16[_0x398609(0x36c)](),_0x407f0f(_0x169bf,_0x4b525e,_0x417c66,_0x4a8349)));_0x41eb69[_0x398609(0x28d)](_0xffcc16);});}return{'redos':[],'undos':[]};};this[_0x235cc1(0x22d)][_0x235cc1(0x3b9)]((_0x4ec307,_0x5f0392)=>{const _0x10d1b3=_0x235cc1,{range:_0xdab07,sheetID:_0x497494}=_0x4ec307,_0x2df082=this[_0x10d1b3(0x24d)][_0x10d1b3(0x384)](_0xdab07,_0x584bd5=>(_0x2df082[_0x10d1b3(0x36c)](),_0x407f0f(_0x584bd5,_0x5f0392,_0x497494,_0xdab07)));_0x41eb69['add'](_0x2df082);});};this[_0x58ae6d(0x34a)](_0x4026ac[_0x58ae6d(0x1a5)](this[_0x58ae6d(0x293)][_0x58ae6d(0x2a7)](()=>{_0x29984f();})));}[_0x2c12e3(0x143)](){const _0x4459b2=_0x2c12e3;var _0x314eb0,_0x32f717;if(this[_0x4459b2(0x1c8)]=!0x0,((_0x314eb0=this[_0x4459b2(0x2fa)][_0x4459b2(0x16d)]())==null?void 0x0:_0x314eb0['getUnitId']())!==this[_0x4459b2(0x2e9)])return;const _0x16e3ae=(_0x32f717=this[_0x4459b2(0x1ea)][_0x4459b2(0x2e1)](_0x18ee7b[_0x4459b2(0x2da)])[_0x4459b2(0x170)]())==null?void 0x0:_0x32f717[0x0],_0x5be4a9=this[_0x4459b2(0x2fa)]['getCurrentUnitForType'](_0x4026ac[_0x4459b2(0x2a6)][_0x4459b2(0x1f7)])['getActiveSheet']();_0x16e3ae&&_0x5be4a9&&this[_0x4459b2(0x153)](_0x5be4a9['getSheetId'](),_0x16e3ae);}['_toggleOffline'](){const _0x3a5b84=_0x2c12e3;this[_0x3a5b84(0x1c8)]=!0x1;}};_0x1df8cc=_0x3382bf([_0x13b4ea(0x2,_0x4026ac[_0x2c12e3(0x168)](_0x4026ac[_0x2c12e3(0x2ac)])),_0x13b4ea(0x3,_0x4026ac[_0x2c12e3(0x168)](_0x5554b1)),_0x13b4ea(0x4,_0x4026ac[_0x2c12e3(0x168)](_0x2f4463[_0x2c12e3(0x394)])),_0x13b4ea(0x5,_0x4026ac[_0x2c12e3(0x2d2)]),_0x13b4ea(0x6,_0x4026ac['ICommandService']),_0x13b4ea(0x7,_0x4026ac[_0x2c12e3(0x168)](_0x18ee7b[_0x2c12e3(0x218)]))],_0x1df8cc);var _0x167c08=Object[_0x2c12e3(0x12c)],_0x512ebb=(_0x59f328,_0x104e73,_0x2dda76,_0x379ae2)=>{const _0x4505bb=_0x2c12e3;for(var _0x4d9762=_0x379ae2>0x1?void 0x0:_0x379ae2?_0x167c08(_0x104e73,_0x2dda76):_0x104e73,_0x469b12=_0x59f328[_0x4505bb(0x28e)]-0x1,_0x17cf19;_0x469b12>=0x0;_0x469b12--)(_0x17cf19=_0x59f328[_0x469b12])&&(_0x4d9762=_0x17cf19(_0x4d9762)||_0x4d9762);return _0x4d9762;},_0x155ef7=(_0x4af055,_0x280a6c)=>(_0x5599b2,_0x4deda1)=>_0x280a6c(_0x5599b2,_0x4deda1,_0x4af055);let _0x1eb084=class extends _0x4026ac[_0x2c12e3(0x2cb)]{constructor(_0x5bd09c,_0x148c25,_0x21eba4){const _0x1831f0=_0x2c12e3;super(),_0x155617(this,_0x1831f0(0x31f),new Map()),_0x155617(this,_0x1831f0(0x276),new _0x490568[(_0x1831f0(0x304))]()),(this[_0x1831f0(0x2fa)]=_0x5bd09c,this[_0x1831f0(0x1ea)]=_0x148c25,this[_0x1831f0(0x1f5)]=_0x21eba4,this[_0x1831f0(0x38a)]());}[_0x2c12e3(0x36c)](){const _0x829a3f=_0x2c12e3;super['dispose'](),this[_0x829a3f(0x276)][_0x829a3f(0x399)](),this['_entities'][_0x829a3f(0x3b9)](_0x45b0de=>_0x45b0de[_0x829a3f(0x36c)]());}[_0x2c12e3(0x15b)](_0x144021){const _0x111876=_0x2c12e3;return this['_entities'][_0x111876(0x199)](_0x144021)?this[_0x111876(0x31f)][_0x111876(0x2e1)](_0x144021)[_0x111876(0x2bc)]:this[_0x111876(0x276)][_0x111876(0x32b)](_0x490568[_0x111876(0x200)](_0xb66df5=>_0xb66df5['unitID']===_0x144021),_0x490568['switchMap'](_0x43ec6e=>_0x43ec6e[_0x111876(0x2bc)]));}['_init'](){const _0x125898=_0x2c12e3;this[_0x125898(0x2fa)][_0x125898(0x36e)](_0x4026ac['UniverInstanceType']['UNIVER_SHEET'])['pipe'](_0x490568[_0x125898(0x2db)](this[_0x125898(0x13d)]))[_0x125898(0x2a7)](async _0x58de9b=>{const _0x37a6df=_0x125898,_0x1ed802=_0x58de9b[_0x37a6df(0x287)](),_0x20b4af=await this[_0x37a6df(0x1ec)](_0x1ed802);this[_0x37a6df(0x276)]['next'](_0x20b4af),this[_0x37a6df(0x31f)][_0x37a6df(0x21d)](_0x1ed802,_0x20b4af);}),this[_0x125898(0x2fa)][_0x125898(0x36e)](_0x4026ac[_0x125898(0x2a6)][_0x125898(0x34e)])[_0x125898(0x32b)](_0x490568['takeUntil'](this[_0x125898(0x13d)]))[_0x125898(0x32b)](_0x490568[_0x125898(0x200)](_0x5db3da=>!_0x5db3da['getUnitId']()[_0x125898(0x137)]('__')))[_0x125898(0x2a7)](async _0x2dd8c0=>{const _0x2aefe2=_0x125898,_0x3ee4f1=_0x2dd8c0[_0x2aefe2(0x287)](),_0x5a2fd7=await this['_startDocCollabCursor'](_0x3ee4f1);this['_entityInit$'][_0x2aefe2(0x229)](_0x5a2fd7),this[_0x2aefe2(0x31f)][_0x2aefe2(0x21d)](_0x3ee4f1,_0x5a2fd7);}),_0x490568['merge'](this[_0x125898(0x2fa)][_0x125898(0x31c)](_0x4026ac[_0x125898(0x2a6)]['UNIVER_DOC']),this[_0x125898(0x2fa)]['getTypeOfUnitDisposed$'](_0x4026ac[_0x125898(0x2a6)][_0x125898(0x1f7)]))[_0x125898(0x32b)](_0x490568[_0x125898(0x2db)](this[_0x125898(0x13d)]))[_0x125898(0x2a7)](_0x4564fa=>{const _0x5e3499=_0x125898,_0x28ad08=_0x4564fa[_0x5e3499(0x287)](),_0x528d29=this['_entities']['get'](_0x28ad08);_0x528d29&&(_0x528d29[_0x5e3499(0x36c)](),this[_0x5e3499(0x31f)][_0x5e3499(0x1b0)](_0x28ad08));});}async[_0x2c12e3(0x1ec)](_0x5707fe){const _0x2525b5=_0x2c12e3,_0x2ed1d1=await this[_0x2525b5(0x1f5)]['requireSession'](_0x5707fe),_0xe1ca25=this[_0x2525b5(0x1ea)][_0x2525b5(0x339)](_0x1df8cc,_0x5707fe,_0x2ed1d1);return _0xe1ca25[_0x2525b5(0x1e8)](),_0xe1ca25;}async[_0x2c12e3(0x1fd)](_0xc49d5){const _0x85cf55=_0x2c12e3,_0x295c2f=await this[_0x85cf55(0x1f5)][_0x85cf55(0x12f)](_0xc49d5),_0x1f6488=this[_0x85cf55(0x1ea)][_0x85cf55(0x339)](_0x20066e,_0xc49d5,_0x295c2f);return _0x1f6488[_0x85cf55(0x1e8)](),_0x1f6488;}};_0x1eb084=_0x512ebb([_0x155ef7(0x0,_0x4026ac['IUniverInstanceService']),_0x155ef7(0x1,_0x4026ac['Inject'](_0x4026ac[_0x2c12e3(0x2ac)])),_0x155ef7(0x2,_0x4026ac[_0x2c12e3(0x168)](_0x2f4463[_0x2c12e3(0x21e)]))],_0x1eb084);const _0x5cdb74=0x14,_0x54e6e1=0xc8,_0x214be0=0x4,_0xe8214a=0x5;function _0xb47b18(_0x598824,_0x1d4d4e){const _0x50673b=_0x2c12e3;let {radius:_0x5776c3,width:_0x402df7,height:_0x1d3921}=_0x1d4d4e;_0x5776c3=_0x5776c3!=null?_0x5776c3:0x0,_0x402df7=_0x402df7!=null?_0x402df7:0x1e,_0x1d3921=_0x1d3921!=null?_0x1d3921:0x1e;let _0x5877ef=0x0,_0x43ad62=0x0,_0xae957b=0x0;_0x5877ef=_0x43ad62=_0xae957b=Math[_0x50673b(0x256)](_0x5776c3,_0x402df7/0x2,_0x1d3921/0x2),_0x598824[_0x50673b(0x164)](),_0x598824['moveTo'](_0x5877ef,0x0),_0x598824[_0x50673b(0x288)](_0x402df7-_0x43ad62,0x0),_0x598824[_0x50673b(0x2bd)](_0x402df7-_0x43ad62,_0x43ad62,_0x43ad62,Math['PI']*0x3/0x2,0x0,!0x1),_0x598824['lineTo'](_0x402df7,_0x1d3921-_0xae957b),_0x598824[_0x50673b(0x2bd)](_0x402df7-_0xae957b,_0x1d3921-_0xae957b,_0xae957b,0x0,Math['PI']/0x2,!0x1),_0x598824[_0x50673b(0x288)](0x0,_0x1d3921),_0x598824[_0x50673b(0x288)](0x0,_0x5877ef),_0x598824['arc'](_0x5877ef,_0x5877ef,_0x5877ef,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x598824['closePath'](),_0x1d4d4e[_0x50673b(0x1ef)]&&(_0x598824[_0x50673b(0x1a2)](),_0x598824['fillStyle']=_0x1d4d4e[_0x50673b(0x1ef)],_0x1d4d4e[_0x50673b(0x27c)]===_0x50673b(0x2d3)?_0x598824[_0x50673b(0x1ef)](_0x50673b(0x2d3)):_0x598824['fill'](),_0x598824[_0x50673b(0x297)]());}class _0x396fa3 extends _0x7ef3ee[_0x2c12e3(0x3a5)]{constructor(_0x2a39ab,_0x1ac72a){const _0x1bafbb=_0x2c12e3;super(_0x2a39ab,_0x1ac72a),_0x155617(this,'color'),_0x155617(this,'text'),(this[_0x1bafbb(0x2b7)]=_0x1ac72a==null?void 0x0:_0x1ac72a[_0x1bafbb(0x2b7)],this[_0x1bafbb(0x23e)]=_0x1ac72a==null?void 0x0:_0x1ac72a[_0x1bafbb(0x23e)]);}static[_0x2c12e3(0x263)](_0x4c13fb,_0x43b69f){const _0x3f9ba0=_0x2c12e3,{text:_0x5d84e7,color:_0x2ea269}=_0x43b69f;_0x4c13fb[_0x3f9ba0(0x1a2)](),_0x4c13fb['font']=_0x3f9ba0(0x325);const _0x4fddf1=_0x4c13fb[_0x3f9ba0(0x2b1)](_0x5d84e7)[_0x3f9ba0(0x37e)],_0x1c265a=Math[_0x3f9ba0(0x256)](_0x4fddf1+0x2*_0x214be0,_0x54e6e1);_0xb47b18(_0x4c13fb,{'height':_0x5cdb74,'radius':0x4,'width':_0x1c265a,'fill':_0x2ea269}),_0x4c13fb[_0x3f9ba0(0x271)]=_0x3f9ba0(0x21c);const _0xb57cff=_0x214be0,_0x4079d3=_0x5cdb74-_0xe8214a,_0x14d942=_0x54e6e1-0x2*_0x214be0;if(_0x4fddf1>_0x14d942){let _0xe9e108='',_0x4d21f3=0x0;for(const _0x4e476b of _0x5d84e7){const _0x5f2b70=_0x4c13fb[_0x3f9ba0(0x2b1)](_0x4e476b)[_0x3f9ba0(0x37e)];if(_0x4d21f3+_0x5f2b70<=_0x14d942-_0x4c13fb[_0x3f9ba0(0x2b1)](_0x3f9ba0(0x370))[_0x3f9ba0(0x37e)])_0xe9e108+=_0x4e476b,_0x4d21f3+=_0x5f2b70;else{_0xe9e108+=_0x3f9ba0(0x370);break;}}_0x4c13fb[_0x3f9ba0(0x212)](_0xe9e108,_0xb57cff,_0x4079d3);}else _0x4c13fb['fillText'](_0x5d84e7,_0xb57cff,_0x4079d3);_0x4c13fb[_0x3f9ba0(0x297)]();}['_draw'](_0x3ffa24){const _0x92f614=_0x2c12e3;_0x396fa3[_0x92f614(0x263)](_0x3ffa24,this);}}const _0x567033=_0x2c12e3(0x389),_0x36af39=_0x2c12e3(0x1ff),_0x243437='collab-rect-range-',_0x313b91=0x6,_0x4cc2b2=1.5,_0xeefbfe=0x4,_0x2e3146=1.5,_0x5898c1=_0x2c12e3(0x2ca);class _0x18f6a1{constructor(_0xcf0f0,_0x24477c,_0x140133,_0x35cdee){const _0x130d2f=_0x2c12e3;_0x155617(this,_0x130d2f(0x391),[]),_0x155617(this,_0x130d2f(0x26c),null),_0x155617(this,_0x130d2f(0x1fa),null),_0x155617(this,_0x130d2f(0x33f),null),_0x155617(this,_0x130d2f(0x138),null),_0x155617(this,_0x130d2f(0x213),null),(this[_0x130d2f(0x2e7)]=_0xcf0f0,this['_scene']=_0x24477c,this[_0x130d2f(0x265)]=_0x140133,this[_0x130d2f(0x29d)]=_0x35cdee,this[_0x130d2f(0x392)]());}set[_0x2c12e3(0x1b3)](_0x6ef5c5){const _0x2820c3=_0x2c12e3;_0x6ef5c5?(this[_0x2820c3(0x33f)]&&this[_0x2820c3(0x33f)][_0x2820c3(0x211)](),this[_0x2820c3(0x1fa)]&&this['_textBubble'][_0x2820c3(0x363)]()):(this[_0x2820c3(0x33f)]&&this[_0x2820c3(0x33f)][_0x2820c3(0x363)](),this['_textBubble']&&this['_textBubble'][_0x2820c3(0x211)]());}[_0x2c12e3(0x36c)](){const _0x2ee8f2=_0x2c12e3;for(const _0x558e4e of this[_0x2ee8f2(0x391)])_0x558e4e['dispose']();this['_textBubble']&&this[_0x2ee8f2(0x1fa)]['dispose'](),this[_0x2ee8f2(0x33f)]&&this[_0x2ee8f2(0x33f)]['dispose'](),this[_0x2ee8f2(0x26c)]&&this[_0x2ee8f2(0x26c)][_0x2ee8f2(0x36c)](),this['_eventUnsubscribe']&&this[_0x2ee8f2(0x213)]();}['_render'](){const _0x1cc2ae=_0x2c12e3;var _0x47ec35;const {_docSkeleton:_0x3c3684,_document:_0x49ea38}=this,{color:_0x2b49c7,name:_0x302357,ranges:_0x4d1b77}=this[_0x1cc2ae(0x2e7)],_0x1f1d49=_0x49ea38[_0x1cc2ae(0x341)](),{docsLeft:_0x52f3ee,docsTop:_0x9b914b}=_0x1f1d49,_0x5d66d3=new _0x45dbe2[(_0x1cc2ae(0x251))](_0x1f1d49,_0x3c3684);for(const {startOffset:_0x519a9d,endOffset:_0x4a4a4c,rangeType:_0x32c601,segmentId:_0x1908ea,segmentPage:_0x477a82,collapsed:_0x48a3a8,isActive:_0x421f8a}of _0x4d1b77){const _0x3b68da=_0x3c3684['findNodePositionByCharIndex'](_0x519a9d,!0x0,_0x1908ea,_0x477a82);let _0x5609d3=_0x3c3684[_0x1cc2ae(0x35b)](_0x4a4a4c,!0x0,_0x1908ea,_0x477a82);if(_0x5609d3==null&&(_0x5609d3=_0x3c3684[_0x1cc2ae(0x35b)](_0x4a4a4c-0x1,!0x1,_0x1908ea,_0x477a82)),_0x421f8a){const {contentBoxPointGroup:_0x5b8d7b}=_0x5d66d3[_0x1cc2ae(0x161)](_0x5609d3,_0x5609d3);if(_0x5b8d7b[_0x1cc2ae(0x28e)]===0x0)continue;this['_drawAnchor'](_0x2b49c7,_0x5b8d7b,_0x52f3ee,_0x9b914b,_0x302357),this[_0x1cc2ae(0x213)]=this['_handleHover']();}if(_0x3b68da&&_0x5609d3){if(_0x32c601===_0x4026ac[_0x1cc2ae(0x18c)][_0x1cc2ae(0x24c)]){const _0x49790d=new _0x45dbe2[(_0x1cc2ae(0x228))](_0x1f1d49,_0x3c3684),{pointGroup:_0x1d3d9d}=(_0x47ec35=_0x49790d['getRangePointData'](_0x3b68da,_0x5609d3))!=null?_0x47ec35:{};if(_0x1d3d9d==null||_0x1d3d9d['length']===0x0)continue;this[_0x1cc2ae(0x2ff)](_0x2b49c7,_0x1d3d9d,_0x52f3ee,_0x9b914b);}else{if(!_0x48a3a8){const {borderBoxPointGroup:_0x5b994e}=_0x5d66d3[_0x1cc2ae(0x161)](_0x3b68da,_0x5609d3);if(_0x5b994e[_0x1cc2ae(0x28e)]===0x0)continue;this[_0x1cc2ae(0x1d3)](_0x2b49c7,_0x5b994e,_0x52f3ee,_0x9b914b);}}}}}[_0x2c12e3(0x2f9)](_0x331135,_0x4086ff,_0x308b15,_0x966b4c,_0x13c5b9){const _0x296ba7=_0x2c12e3,_0x547488=this[_0x296ba7(0x39b)](_0x4086ff),{left:_0x3a3e03,top:_0x4e1431,height:_0x23ca19}=_0x547488,_0x17e301=this[_0x296ba7(0x1d4)](),_0x4a9de1=_0x2e3146/_0x17e301,_0x5366ba=new _0x7ef3ee['Rect'](_0x567033+_0x4026ac[_0x296ba7(0x220)]['generateRandomId'](_0x313b91),{'left':_0x3a3e03+_0x308b15-_0x4a9de1,'top':_0x4e1431+_0x966b4c,'height':_0x23ca19,'width':_0x4cc2b2,'fill':_0x331135||_0x7ef3ee[_0x296ba7(0x1a9)](_0x4026ac[_0x296ba7(0x347)][_0x296ba7(0x367)],0x0),'strokeWidth':_0x4a9de1,'stroke':_0x5898c1,'evented':!0x0});this[_0x296ba7(0x26c)]=_0x5366ba,this[_0x296ba7(0x183)][_0x296ba7(0x3a1)](_0x5366ba,_0x45dbe2['TEXT_RANGE_LAYER_INDEX']);const _0x3fa5ee=new _0x7ef3ee[(_0x296ba7(0x2d8))](_0x567033+_0x4026ac[_0x296ba7(0x220)][_0x296ba7(0x29c)](_0x313b91),{'left':_0x3a3e03+_0x308b15-_0x4a9de1,'top':_0x4e1431+_0x966b4c-_0xeefbfe/0x2,'height':_0xeefbfe,'width':_0xeefbfe,'fill':_0x331135||_0x7ef3ee[_0x296ba7(0x1a9)](_0x4026ac[_0x296ba7(0x347)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x331135||_0x7ef3ee[_0x296ba7(0x1a9)](_0x4026ac[_0x296ba7(0x347)][_0x296ba7(0x367)],0x0),'evented':!0x1});this[_0x296ba7(0x33f)]=_0x3fa5ee,this['_scene']['addObject'](_0x3fa5ee,_0x45dbe2[_0x296ba7(0x379)]);const _0x426eec=new _0x396fa3(_0x567033+_0x4026ac['Tools'][_0x296ba7(0x29c)](_0x313b91),{'left':_0x3a3e03+_0x308b15-_0x4a9de1,'top':_0x4e1431+_0x966b4c-_0x5cdb74,'text':_0x13c5b9,'color':_0x331135});this[_0x296ba7(0x1fa)]=_0x426eec,this['_scene'][_0x296ba7(0x3a1)](_0x426eec,_0x45dbe2[_0x296ba7(0x379)]),this[_0x296ba7(0x1b3)]=!0x1;}[_0x2c12e3(0x269)](){const _0x1dcab3=_0x2c12e3,_0x415778=this[_0x1dcab3(0x26c)][_0x1dcab3(0x1ce)][_0x1dcab3(0x266)](()=>{const _0x27db99=_0x1dcab3;this[_0x27db99(0x1b3)]=!0x0;}),_0x1a2c9e=this[_0x1dcab3(0x26c)][_0x1dcab3(0x231)][_0x1dcab3(0x266)](()=>{const _0x2396e0=_0x1dcab3;this[_0x2396e0(0x138)]&&clearTimeout(this['_hideTimer']),this[_0x2396e0(0x138)]=setTimeout(()=>{const _0x2a92bf=_0x2396e0;this[_0x2a92bf(0x1b3)]=!0x1;},0x7d0);});return()=>{const _0xd3eab2=_0x1dcab3;_0x415778[_0xd3eab2(0x264)](),_0x1a2c9e[_0xd3eab2(0x264)]();};}[_0x2c12e3(0x1d3)](_0x3c2334,_0x52d0c1,_0x5e18d3,_0xedc5b6){const _0x14a0ae=_0x2c12e3,_0xfbba25=new _0x4026ac[(_0x14a0ae(0x1fb))](_0x3c2334)[_0x14a0ae(0x1fe)](0.2)[_0x14a0ae(0x2d7)](),_0x5c0d83=new _0x7ef3ee[(_0x14a0ae(0x14e))](_0x36af39+_0x4026ac[_0x14a0ae(0x220)][_0x14a0ae(0x29c)](_0x313b91),{'pointsGroup':_0x52d0c1,'fill':_0xfbba25||_0x7ef3ee[_0x14a0ae(0x1a9)](_0x4026ac[_0x14a0ae(0x347)][_0x14a0ae(0x367)],0.2),'left':_0x5e18d3,'top':_0xedc5b6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x14a0ae(0x391)][_0x14a0ae(0x2f7)](_0x5c0d83),this['_scene'][_0x14a0ae(0x3a1)](_0x5c0d83,_0x45dbe2['TEXT_RANGE_LAYER_INDEX']);}[_0x2c12e3(0x2ff)](_0xce7e5,_0x421265,_0xf0c411,_0x2fcc85){const _0x2c2571=_0x2c12e3,_0x4a2eae=new _0x4026ac[(_0x2c2571(0x1fb))](_0xce7e5)[_0x2c2571(0x1fe)](0.2)[_0x2c2571(0x2d7)](),_0x25a454=new _0x7ef3ee['RegularPolygon'](_0x243437+_0x4026ac[_0x2c2571(0x220)]['generateRandomId'](_0x313b91),{'pointsGroup':_0x421265,'fill':_0x4a2eae||_0x7ef3ee[_0x2c2571(0x1a9)](_0x4026ac[_0x2c2571(0x347)][_0x2c2571(0x367)],0.2),'left':_0xf0c411,'top':_0x2fcc85,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2c2571(0x391)]['push'](_0x25a454),this[_0x2c2571(0x183)][_0x2c2571(0x3a1)](_0x25a454,_0x45dbe2['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x816807){const _0x51790=_0x816807[0x0],_0x20d275=_0x51790[0x0],_0x3450a6=_0x51790[0x2],{x:_0x4a4751,y:_0x5636cc}=_0x20d275,{x:_0x2a31a8,y:_0x273c0c}=_0x3450a6;return{'left':_0x4a4751,'top':_0x5636cc,'width':_0x2a31a8-_0x4a4751,'height':_0x273c0c-_0x5636cc};}[_0x2c12e3(0x1d4)](){const _0x1ba5e9=_0x2c12e3,{scaleX:_0x3b1cd8,scaleY:_0x5af128}=this['_scene']['getAncestorScale']();return Math[_0x1ba5e9(0x395)](_0x3b1cd8,_0x5af128);}}var _0x428f0d=Object[_0x2c12e3(0x12c)],_0x36bdd0=(_0x59bf78,_0x28f967,_0x226711,_0x5ccf86)=>{const _0x4f9ed7=_0x2c12e3;for(var _0x96c847=_0x5ccf86>0x1?void 0x0:_0x5ccf86?_0x428f0d(_0x28f967,_0x226711):_0x28f967,_0x5d8921=_0x59bf78[_0x4f9ed7(0x28e)]-0x1,_0x3bcf3c;_0x5d8921>=0x0;_0x5d8921--)(_0x3bcf3c=_0x59bf78[_0x5d8921])&&(_0x96c847=_0x3bcf3c(_0x96c847)||_0x96c847);return _0x96c847;},_0x53af74=(_0x48f074,_0x4b1b73)=>(_0x5c01e9,_0x16a645)=>_0x4b1b73(_0x5c01e9,_0x16a645,_0x48f074);let _0x4094ff=class extends _0x4026ac['RxDisposable']{constructor(_0xd94285,_0x2a3b35,_0x4e8be,_0x50546a,_0x16aaa2){const _0x39eb40=_0x2c12e3;super(),_0x155617(this,_0x39eb40(0x232),[]),_0x155617(this,_0x39eb40(0x30c),[]),(this['_context']=_0xd94285,this[_0x39eb40(0x205)]=_0x2a3b35,this[_0x39eb40(0x383)]=_0x4e8be,this['_commandService']=_0x50546a,this[_0x39eb40(0x2f3)]=_0x16aaa2,this['_init']());}[_0x2c12e3(0x38a)](){const _0x5081b0=_0x2c12e3,_0x4bfb91=this['_context'][_0x5081b0(0x193)],_0x51999a=this[_0x5081b0(0x205)];this[_0x5081b0(0x34a)](_0x490568[_0x5081b0(0x219)]([this[_0x5081b0(0x383)][_0x5081b0(0x15b)](_0x4bfb91),this[_0x5081b0(0x2f3)][_0x5081b0(0x3ae)]])['pipe'](_0x59a3b2[_0x5081b0(0x253)](([_0x58078d,_0x18b14d])=>({'skeleton':_0x51999a[_0x5081b0(0x134)](),'cursors':[..._0x58078d['values']()][_0x5081b0(0x2c9)](_0x290a2b=>({..._0x290a2b,'color':this[_0x5081b0(0x2f3)][_0x5081b0(0x30a)](_0x290a2b[_0x5081b0(0x2b7)])}))})))[_0x5081b0(0x2a7)](_0x375192=>{const _0x15f2db=_0x5081b0;if(this[_0x15f2db(0x207)](),_0x375192){const {skeleton:_0x23264b,cursors:_0x3b4ec3}=_0x375192;this['_updateCollabCursors'](_0x23264b,_0x3b4ec3);}})),this[_0x5081b0(0x244)](),this[_0x5081b0(0x15e)]();}[_0x2c12e3(0x20e)](_0x181b15,_0x254ca0){const _0x2ab09a=_0x2c12e3,{scene:_0x22f473,mainComponent:_0x1cea39}=this[_0x2ab09a(0x156)],_0x11da08=_0x254ca0[_0x2ab09a(0x253)](_0x231175=>new _0x18f6a1(_0x231175,_0x22f473,_0x181b15,_0x1cea39));this[_0x2ab09a(0x232)]=_0x11da08,this[_0x2ab09a(0x30c)]=_0x254ca0;}[_0x2c12e3(0x3ad)](){const _0x373ef9=_0x2c12e3;this['_removeCollabCursors']();const {scene:_0xdb1240,mainComponent:_0x43122b}=this[_0x373ef9(0x156)],_0x53d3b3=this[_0x373ef9(0x205)]['getSkeleton'](),_0x159624=this[_0x373ef9(0x30c)][_0x373ef9(0x253)](_0x5d7648=>new _0x18f6a1(_0x5d7648,_0xdb1240,_0x53d3b3,_0x43122b));this['_cursorShapes']=_0x159624;}[_0x2c12e3(0x207)](){const _0x43d356=_0x2c12e3;this[_0x43d356(0x232)][_0x43d356(0x3b9)](_0x1e9450=>_0x1e9450[_0x43d356(0x36c)]()),this['_cursorShapes']=[];}[_0x2c12e3(0x15e)](){const _0x3d080f=_0x2c12e3,_0x3e6938=[_0x45dbe2[_0x3d080f(0x1a7)]['id']];this[_0x3d080f(0x34a)](this['_commandService'][_0x3d080f(0x25c)](_0x57c10a=>{const _0x2d1708=_0x3d080f;_0x3e6938[_0x2d1708(0x21f)](_0x57c10a['id'])&&_0x57c10a[_0x2d1708(0x210)][_0x2d1708(0x193)]===this['_context'][_0x2d1708(0x193)]&&this[_0x2d1708(0x3ad)]();}));}[_0x2c12e3(0x244)](){const _0x48d637=_0x2c12e3;this[_0x48d637(0x34a)](_0x4026ac[_0x48d637(0x2dc)](this[_0x48d637(0x156)]['engine']['onTransformChange$'])['pipe'](_0x59a3b2[_0x48d637(0x200)](_0x510128=>_0x510128[_0x48d637(0x23d)]===_0x7ef3ee[_0x48d637(0x275)]['resize']),_0x59a3b2[_0x48d637(0x377)](0x10))[_0x48d637(0x2a7)](()=>{this['_refreshCollabCursors']();}));}};_0x4094ff=_0x36bdd0([_0x53af74(0x1,_0x4026ac[_0x2c12e3(0x168)](_0x3a183c[_0x2c12e3(0x1c7)])),_0x53af74(0x2,_0x4026ac[_0x2c12e3(0x168)](_0x1eb084)),_0x53af74(0x3,_0x4026ac[_0x2c12e3(0x16e)]),_0x53af74(0x4,_0x4026ac[_0x2c12e3(0x168)](_0x4026ac['ThemeService']))],_0x4094ff);const _0x2edd10=0x1,_0xd549f8=1.5;class _0x2fb9dc extends _0x7ef3ee[_0x2c12e3(0x3a5)]{constructor(_0x19825a,_0x3303c8){const _0x562a04=_0x2c12e3;super(_0x19825a,_0x3303c8),_0x155617(this,_0x562a04(0x1e4)),_0x155617(this,_0x562a04(0x2d0),!0x1),_0x155617(this,_0x562a04(0x32d)),_0x155617(this,_0x562a04(0x13a),''),_0x155617(this,_0x562a04(0x356),_0x562a04(0x2df)),_0x155617(this,_0x562a04(0x189)),(_0x3303c8&&this[_0x562a04(0x12e)](_0x3303c8),this[_0x562a04(0x1ce)][_0x562a04(0x266)](()=>this[_0x562a04(0x12e)]({'hovered':!0x0})),this[_0x562a04(0x231)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3f242e){const _0x339f0f=_0x2c12e3;var _0x500e53,_0x3e83b5,_0xe6a221,_0xc87c79,_0x146472,_0x4dd4de;this['_color']=(_0x500e53=_0x3f242e[_0x339f0f(0x2b7)])!=null?_0x500e53:this[_0x339f0f(0x1e4)],this[_0x339f0f(0x2d0)]=(_0x3e83b5=_0x3f242e['hovered'])!=null?_0x3e83b5:this['_hovered'],this[_0x339f0f(0x32d)]=(_0xe6a221=_0x3f242e[_0x339f0f(0x345)])!=null?_0xe6a221:this['_range'],this['_name']=(_0xc87c79=_0x3f242e[_0x339f0f(0x1a4)])!=null?_0xc87c79:this['_name'],this[_0x339f0f(0x356)]=(_0x146472=_0x3f242e[_0x339f0f(0x20a)])!=null?_0x146472:this[_0x339f0f(0x356)],this[_0x339f0f(0x189)]=(_0x4dd4de=_0x3f242e[_0x339f0f(0x329)])!=null?_0x4dd4de:this[_0x339f0f(0x189)],this[_0x339f0f(0x2f6)]({'width':_0x3f242e[_0x339f0f(0x37e)],'height':_0x3f242e[_0x339f0f(0x195)]});}[_0x2c12e3(0x180)](_0x201db9){const _0xe12edb=_0x2c12e3,{row:_0x2eafe3,column:_0x2ebcbc}=_0x201db9;if(_0x2eafe3>=this[_0xe12edb(0x32d)]['startRow']&&_0x2eafe3<=this[_0xe12edb(0x32d)]['endRow']&&_0x2ebcbc>=this[_0xe12edb(0x32d)]['startColumn']&&_0x2ebcbc<=this['_range'][_0xe12edb(0x12a)]){this[_0xe12edb(0x12e)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2c12e3(0x2ed)](_0x58defe){return!0x1;}['_draw'](_0x40ba41){const _0x3e34e8=_0x2c12e3;_0x7ef3ee[_0x3e34e8(0x2d8)][_0x3e34e8(0x263)](_0x40ba41,{'width':this[_0x3e34e8(0x37e)],'height':this[_0x3e34e8(0x195)],'strokeWidth':_0xd549f8,'stroke':this[_0x3e34e8(0x1e4)],'evented':!0x1,'fill':this[_0x3e34e8(0x189)]}),this['_hovered']&&(_0x40ba41['save'](),_0x40ba41['transform'](0x1,0x0,0x0,0x1,this[_0x3e34e8(0x37e)],this[_0x3e34e8(0x356)]===_0x3e34e8(0x398)?0x0:-0x14),_0x396fa3[_0x3e34e8(0x263)](_0x40ba41,{'text':this[_0x3e34e8(0x13a)],'color':this['_color']}),_0x40ba41['restore']());}}var _0x1d2b3b=Object[_0x2c12e3(0x12c)],_0xba106d=(_0x4f28c4,_0x5752b4,_0x597655,_0x200326)=>{const _0x254202=_0x2c12e3;for(var _0x449b4a=_0x200326>0x1?void 0x0:_0x200326?_0x1d2b3b(_0x5752b4,_0x597655):_0x5752b4,_0x35c5d2=_0x4f28c4[_0x254202(0x28e)]-0x1,_0x173963;_0x35c5d2>=0x0;_0x35c5d2--)(_0x173963=_0x4f28c4[_0x35c5d2])&&(_0x449b4a=_0x173963(_0x449b4a)||_0x449b4a);return _0x449b4a;},_0x1ec01f=(_0x3bd800,_0x4a4755)=>(_0x397774,_0x225a68)=>_0x4a4755(_0x397774,_0x225a68,_0x3bd800);const _0x505620=0x1389;let _0x58fc55=class extends _0x4026ac['RxDisposable']{constructor(_0x826cf8,_0x131e9f,_0x574766,_0x4c0849){const _0x179adc=_0x2c12e3;super(),_0x155617(this,'_cursors',new Set()),_0x155617(this,_0x179adc(0x1cc),null),(this[_0x179adc(0x156)]=_0x826cf8,this[_0x179adc(0x28c)]=_0x131e9f,this['_collabCursorController']=_0x574766,this['_themeService']=_0x4c0849,this['_init']());}['_init'](){const _0x3bbb93=_0x2c12e3;this[_0x3bbb93(0x28c)][_0x3bbb93(0x1c0)][_0x3bbb93(0x32b)](_0x59a3b2[_0x3bbb93(0x2db)](this['dispose$']),_0x59a3b2[_0x3bbb93(0x3b1)](_0x60f9de=>{const _0x5b76c1=_0x3bbb93;if(_0x60f9de){const _0x549153=_0x60f9de['sheetId'];return _0x490568[_0x5b76c1(0x219)](this[_0x5b76c1(0x383)][_0x5b76c1(0x15b)](this[_0x5b76c1(0x156)][_0x5b76c1(0x193)]),this['_themeService']['currentTheme$'])['pipe'](_0x59a3b2['map'](([_0x13ba06,_0x4fce5f])=>{const _0x100c10=_0x5b76c1,_0xf539e4=new Map();return _0x13ba06[_0x100c10(0x3b9)]((_0x2af770,_0x4a28fd)=>{const _0x342959=_0x100c10;if(_0x2af770[_0x342959(0x357)]===_0x549153){const _0x394a7e={..._0x2af770};_0x394a7e[_0x342959(0x2b7)]=this[_0x342959(0x2f3)][_0x342959(0x30a)](_0x2af770[_0x342959(0x2b7)]),_0xf539e4[_0x342959(0x21d)](_0x4a28fd,_0x394a7e);}}),{'skeleton':_0x60f9de,'cursors':_0xf539e4};}));}return _0x490568['of']({'skeleton':null,'cursors':new Map()});}))[_0x3bbb93(0x2a7)](({skeleton:_0x3be941,cursors:_0x7d38e7})=>{const _0x51ba38=_0x3bbb93;this[_0x51ba38(0x207)](),_0x3be941&&this['_updateCollabCursors'](_0x3be941,_0x7d38e7);}),this[_0x3bbb93(0x28c)]['currentSkeleton$']['subscribe'](_0x3865d0=>{const _0x3ced51=_0x3bbb93;if(_0x3865d0==null)return;const {skeleton:_0x219df0}=_0x3865d0,{scene:_0x5e865d}=this[_0x3ced51(0x156)];_0x5e865d[_0x3ced51(0x296)][_0x3ced51(0x266)](_0x4026ac[_0x3ced51(0x396)](_0x863249=>{const _0x28665e=_0x3ced51;var _0x4d2422,_0x2db0fc;const {offsetX:_0x4f58be,offsetY:_0x2ce495}=_0x863249,{x:_0x5dd71a,y:_0x5dd440}=_0x5e865d[_0x28665e(0x221)](_0x7ef3ee[_0x28665e(0x388)][_0x28665e(0x16f)]([_0x4f58be,_0x2ce495])),{scaleX:_0xfdfc2,scaleY:_0x386820}=_0x5e865d[_0x28665e(0x245)](),_0x6da990=_0x5e865d['getViewport'](_0x7ef3ee[_0x28665e(0x2a1)]['VIEW_MAIN']),_0x3cb01f=_0x5e865d[_0x28665e(0x2f8)](_0x7ef3ee[_0x28665e(0x388)][_0x28665e(0x16f)]([_0x5dd71a,_0x5dd440]),_0x6da990),_0x199b81=_0x219df0[_0x28665e(0x181)](_0x4f58be,_0x2ce495,_0xfdfc2,_0x386820,_0x3cb01f);((_0x4d2422=this[_0x28665e(0x1cc)])==null?void 0x0:_0x4d2422[_0x28665e(0x39d)])===_0x199b81['column']&&((_0x2db0fc=this['_lastPointer'])==null?void 0x0:_0x2db0fc[_0x28665e(0x1bb)])===_0x199b81[_0x28665e(0x1bb)]||this[_0x28665e(0x30c)][_0x28665e(0x3b9)](_0x2cfdc0=>{const _0x48b390=_0x28665e;_0x2cfdc0[_0x48b390(0x180)](_0x199b81);});},0x64));});}[_0x2c12e3(0x20e)](_0x133390,_0x108976){const _0x3bbe9d=_0x2c12e3;var _0x35ed5c;const _0x2545f6=(_0x35ed5c=this['_sheetSkeletonManagerService'][_0x3bbe9d(0x294)]())==null?void 0x0:_0x35ed5c[_0x3bbe9d(0x38c)];if(!_0x2545f6)return;const _0x260a2a=this[_0x3bbe9d(0x24f)]();if(!_0x260a2a)return;this[_0x3bbe9d(0x30c)]['forEach'](_0x14f751=>{const _0x50bee8=_0x3bbe9d;_0x14f751[_0x50bee8(0x340)]();});const {scene:_0x2266f3}=_0x260a2a,_0x343613=_0x33cf90(Array[_0x3bbe9d(0x277)](_0x108976[_0x3bbe9d(0x335)]()))[_0x3bbe9d(0x253)](_0x5aae84=>{const _0x500c3f=_0x3bbe9d,{color:_0x1f7203,range:_0x5dd12b,name:_0x3d592c,selection:_0x4fca3c,sheetID:_0x23e68b}=_0x5aae84,{startColumn:_0x574690,startRow:_0x4bb6db,endColumn:_0x230540,endRow:_0x54df34}=_0x5dd12b,_0xbc4348=_0x2e96f8[_0x500c3f(0x312)](_0x4bb6db,_0x574690,_0x2266f3,_0x2545f6),_0x386cec=_0x2e96f8[_0x500c3f(0x312)](_0x54df34,_0x230540,_0x2266f3,_0x2545f6),{columnHeaderHeightAndMarginTop:_0x29f596}=_0x2545f6,{startX:_0x3294fc,startY:_0x1aba0f}=_0xbc4348,{endX:_0x460ffb,endY:_0x39d60e}=_0x386cec,_0x54d343=_0x460ffb-_0x3294fc,_0x3ce8e5=_0x39d60e-_0x1aba0f,_0x2c4c43={'labelPosition':_0x1aba0f-_0x29f596>=_0x5cdb74?_0x500c3f(0x2df):_0x500c3f(0x398),'sheetID':_0x23e68b,'range':_0x5dd12b,'color':_0x1f7203,'name':_0x3d592c,'selection':_0x4fca3c,'left':_0x3294fc,'top':_0x1aba0f,'width':_0x54d343,'height':_0x3ce8e5,'evented':!0x1,'zIndex':_0x505620};return new _0x2fb9dc(_0x3d592c,_0x2c4c43);});_0x2266f3['addObjects'](_0x343613,_0x2edd10),this[_0x3bbe9d(0x30c)]=new Set(_0x343613);}[_0x2c12e3(0x207)](){const _0x1a92a=_0x2c12e3;var _0x405971;(_0x405971=this[_0x1a92a(0x30c)])==null||_0x405971[_0x1a92a(0x3b9)](_0x4b0d43=>_0x4b0d43[_0x1a92a(0x36c)]());}[_0x2c12e3(0x24f)](){const _0x2bddce=_0x2c12e3;return _0x2e96f8['getSheetObject'](this['_context']['unit'],this[_0x2bddce(0x156)]);}};_0x58fc55=_0xba106d([_0x1ec01f(0x1,_0x4026ac['Inject'](_0x2e96f8[_0x2c12e3(0x142)])),_0x1ec01f(0x2,_0x4026ac[_0x2c12e3(0x168)](_0x1eb084)),_0x1ec01f(0x3,_0x4026ac[_0x2c12e3(0x168)](_0x4026ac[_0x2c12e3(0x344)]))],_0x58fc55);function _0x33cf90(_0xf63cca){const _0x51c7c7=_0x2c12e3,_0x105d56=new Map();return _0xf63cca['forEach'](_0x322934=>{const _0x26e9a2=_0x3b1c;if(_0x105d56[_0x26e9a2(0x199)](_0x322934['selection'])){const _0x37795c=_0x105d56[_0x26e9a2(0x2e1)](_0x322934[_0x26e9a2(0x1ba)]);_0x37795c['name']+=',\x20'+_0x322934[_0x26e9a2(0x1a4)];}else _0x105d56[_0x26e9a2(0x21d)](_0x322934[_0x26e9a2(0x1ba)],_0x322934);}),Array[_0x51c7c7(0x277)](_0x105d56[_0x51c7c7(0x335)]());}var _0x37c88c=function(){const _0x38e26d=_0x2c12e3;return _0x37c88c=Object[_0x38e26d(0x1b1)]||function(_0xc3c344){const _0x162fc3=_0x38e26d;for(var _0x192c20,_0x20c16f=0x1,_0x52e93d=arguments['length'];_0x20c16f<_0x52e93d;_0x20c16f++){_0x192c20=arguments[_0x20c16f];for(var _0x1aeafe in _0x192c20)Object[_0x162fc3(0x1ad)][_0x162fc3(0x330)][_0x162fc3(0x2bb)](_0x192c20,_0x1aeafe)&&(_0xc3c344[_0x1aeafe]=_0x192c20[_0x1aeafe]);}return _0xc3c344;},_0x37c88c['apply'](this,arguments);},_0x5aed66=function(_0x36ae70,_0x2f9c7d){const _0x588d31=_0x2c12e3;var _0x5a5ada={};for(var _0x1a70e2 in _0x36ae70)Object['prototype'][_0x588d31(0x330)][_0x588d31(0x2bb)](_0x36ae70,_0x1a70e2)&&_0x2f9c7d[_0x588d31(0x1c9)](_0x1a70e2)<0x0&&(_0x5a5ada[_0x1a70e2]=_0x36ae70[_0x1a70e2]);if(_0x36ae70!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x4fe1bb=0x0,_0x1a70e2=Object[_0x588d31(0x2c1)](_0x36ae70);_0x4fe1bb<_0x1a70e2[_0x588d31(0x28e)];_0x4fe1bb++)_0x2f9c7d[_0x588d31(0x1c9)](_0x1a70e2[_0x4fe1bb])<0x0&&Object[_0x588d31(0x1ad)][_0x588d31(0x154)][_0x588d31(0x2bb)](_0x36ae70,_0x1a70e2[_0x4fe1bb])&&(_0x5a5ada[_0x1a70e2[_0x4fe1bb]]=_0x36ae70[_0x1a70e2[_0x4fe1bb]]);}return _0x5a5ada;},_0xef044d=_0x5b499e[_0x2c12e3(0x15a)](function(_0x299274,_0x5491ec){const _0x29cdc6=_0x2c12e3;var _0x8a159e=_0x299274[_0x29cdc6(0x167)],_0x4e6477=_0x299274['id'],_0x54c00f=_0x299274[_0x29cdc6(0x126)],_0x1f7c69=_0x299274[_0x29cdc6(0x2f4)],_0x1aa6e4=_0x5aed66(_0x299274,[_0x29cdc6(0x167),'id',_0x29cdc6(0x126),_0x29cdc6(0x2f4)]),_0x2f687b=_0x29cdc6(0x313)[_0x29cdc6(0x281)](_0x4e6477,'\x20')['concat'](_0x54c00f||'')[_0x29cdc6(0x299)](),_0x1ba2bd=_0x5b499e[_0x29cdc6(0x2ea)]('_'[_0x29cdc6(0x281)](_0x271542()));return _0x54b60e(_0x8a159e,''['concat'](_0x4e6477),{'defIds':_0x8a159e[_0x29cdc6(0x18e)],'idSuffix':_0x1ba2bd['current']},_0x37c88c({'ref':_0x5491ec,'className':_0x2f687b},_0x1aa6e4),_0x1f7c69);});function _0x54b60e(_0x1bc040,_0x57c504,_0x384828,_0x214dc8,_0x336cb3){const _0x12685c=_0x2c12e3;return _0x5b499e[_0x12685c(0x1c3)](_0x1bc040['tag'],_0x37c88c(_0x37c88c({'key':_0x57c504},_0x554fd3(_0x1bc040,_0x384828,_0x336cb3)),_0x214dc8),(_0x382a72(_0x1bc040,_0x384828)[_0x12685c(0x350)]||[])[_0x12685c(0x253)](function(_0x524e6a,_0x35aa8c){const _0x5c50ad=_0x12685c;return _0x54b60e(_0x524e6a,''[_0x5c50ad(0x281)](_0x57c504,'-')[_0x5c50ad(0x281)](_0x1bc040[_0x5c50ad(0x255)],'-')['concat'](_0x35aa8c),_0x384828,void 0x0,_0x336cb3);}));}function _0x554fd3(_0x49ce8d,_0x4f842d,_0x38bb43){const _0x1d2721=_0x2c12e3;var _0x445c45=_0x37c88c({},_0x49ce8d[_0x1d2721(0x393)]);_0x38bb43!=null&&_0x38bb43['colorChannel1']&&_0x445c45[_0x1d2721(0x1ef)]==='colorChannel1'&&(_0x445c45['fill']=_0x38bb43[_0x1d2721(0x26a)]),_0x49ce8d[_0x1d2721(0x255)]===_0x1d2721(0x2a5)&&_0x445c45['id']&&(_0x445c45['id']=_0x445c45['id']+_0x4f842d[_0x1d2721(0x2ec)]),Object['entries'](_0x445c45)[_0x1d2721(0x3b9)](function(_0x42db48){const _0x5c1b08=_0x1d2721;var _0x329ff9=_0x42db48[0x0],_0x2a3fe3=_0x42db48[0x1];_0x329ff9==='mask'&&typeof _0x2a3fe3==_0x5c1b08(0x28b)&&(_0x445c45[_0x329ff9]=_0x2a3fe3[_0x5c1b08(0x177)](/url\(#(.*)\)/,'url(#$1'[_0x5c1b08(0x281)](_0x4f842d['idSuffix'],')')));});var _0xdd9d4d=_0x4f842d[_0x1d2721(0x18e)];return!_0xdd9d4d||_0xdd9d4d[_0x1d2721(0x28e)]===0x0||(_0x49ce8d['tag']==='use'&&_0x445c45['xlink:href']&&(_0x445c45[_0x1d2721(0x1c2)]=_0x445c45[_0x1d2721(0x1c2)]+_0x4f842d[_0x1d2721(0x2ec)]),Object[_0x1d2721(0x3a6)](_0x445c45)[_0x1d2721(0x3b9)](function(_0x1c5bd7){const _0x5dc560=_0x1d2721;var _0x4a463b=_0x1c5bd7[0x0],_0x416646=_0x1c5bd7[0x1];typeof _0x416646==_0x5dc560(0x28b)&&(_0x445c45[_0x4a463b]=_0x416646[_0x5dc560(0x177)](/url\(#(.*)\)/,_0x5dc560(0x303)[_0x5dc560(0x281)](_0x4f842d['idSuffix'],')')));})),_0x445c45;}function _0x382a72(_0x302323,_0x4ce2e7){const _0x48c0cd=_0x2c12e3;var _0x3d4cdf,_0x11690c=_0x4ce2e7['defIds'];return!_0x11690c||_0x11690c[_0x48c0cd(0x28e)]===0x0?_0x302323:_0x302323[_0x48c0cd(0x255)]===_0x48c0cd(0x202)&&(!((_0x3d4cdf=_0x302323['children'])===null||_0x3d4cdf===void 0x0)&&_0x3d4cdf[_0x48c0cd(0x28e)])?_0x37c88c(_0x37c88c({},_0x302323),{'children':_0x302323[_0x48c0cd(0x350)]['map'](function(_0x21dfba){const _0x3e728d=_0x48c0cd;return typeof _0x21dfba[_0x3e728d(0x393)]['id']==_0x3e728d(0x28b)&&_0x11690c&&_0x11690c['includes'](_0x21dfba[_0x3e728d(0x393)]['id'])?_0x37c88c(_0x37c88c({},_0x21dfba),{'attrs':_0x37c88c(_0x37c88c({},_0x21dfba[_0x3e728d(0x393)]),{'id':_0x21dfba[_0x3e728d(0x393)]['id']+_0x4ce2e7['idSuffix']})}):_0x21dfba;})}):_0x302323;}function _0x271542(){const _0x5ed8d0=_0x2c12e3;return Math[_0x5ed8d0(0x2bf)]()[_0x5ed8d0(0x260)](0x24)[_0x5ed8d0(0x2c5)](0x2,0x8);}_0xef044d[_0x2c12e3(0x18b)]='UniverIcon';var _0x3da697={'tag':_0x2c12e3(0x2e8),'attrs':{'xmlns':_0x2c12e3(0x208),'fill':_0x2c12e3(0x19e),'viewBox':_0x2c12e3(0x1fc),'width':'1em','height':_0x2c12e3(0x285)},'children':[{'tag':'g','attrs':{'clipPath':_0x2c12e3(0x1eb)},'children':[{'tag':_0x2c12e3(0x346),'attrs':{'stroke':'currentColor','d':_0x2c12e3(0x32f),'strokeLinecap':_0x2c12e3(0x1b7),'strokeLinejoin':_0x2c12e3(0x1b7),'strokeWidth':1.2}}]},{'tag':_0x2c12e3(0x202),'attrs':{},'children':[{'tag':_0x2c12e3(0x2ba),'attrs':{'id':_0x2c12e3(0x16c)},'children':[{'tag':_0x2c12e3(0x346),'attrs':{'fill':_0x2c12e3(0x321),'d':_0x2c12e3(0x1aa)}}]}]}],'defIds':[_0x2c12e3(0x16c)]},_0x13ca4e=_0x5b499e[_0x2c12e3(0x15a)](function(_0x293a54,_0x16a24c){const _0x579b28=_0x2c12e3;return _0x5b499e['createElement'](_0xef044d,Object[_0x579b28(0x1b1)]({},_0x293a54,{'id':_0x579b28(0x2eb),'ref':_0x16a24c,'icon':_0x3da697}));});_0x13ca4e[_0x2c12e3(0x18b)]='OffLineIcon';var _0x21fa44={'tag':_0x2c12e3(0x2e8),'attrs':{'xmlns':_0x2c12e3(0x208),'fill':'none','viewBox':_0x2c12e3(0x338),'width':'1em','height':_0x2c12e3(0x285)},'children':[{'tag':'g','attrs':{'clipPath':_0x2c12e3(0x366)},'children':[{'tag':_0x2c12e3(0x346),'attrs':{'stroke':'currentColor','d':_0x2c12e3(0x387),'strokeLinecap':_0x2c12e3(0x1b7),'strokeLinejoin':_0x2c12e3(0x1b7),'strokeWidth':1.2}}]},{'tag':_0x2c12e3(0x202),'attrs':{},'children':[{'tag':_0x2c12e3(0x2ba),'attrs':{'id':_0x2c12e3(0x125)},'children':[{'tag':_0x2c12e3(0x346),'attrs':{'fill':_0x2c12e3(0x321),'d':_0x2c12e3(0x1aa),'transform':_0x2c12e3(0x1ac)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x164bc0=_0x5b499e[_0x2c12e3(0x15a)](function(_0xefa39b,_0x30c295){const _0x421dc7=_0x2c12e3;return _0x5b499e['createElement'](_0xef044d,Object[_0x421dc7(0x1b1)]({},_0xefa39b,{'id':_0x421dc7(0x2a2),'ref':_0x30c295,'icon':_0x21fa44}));});_0x164bc0[_0x2c12e3(0x18b)]=_0x2c12e3(0x250);function _0x84ec3c(_0x2dcf8e){const _0x441202=_0x2c12e3;switch(_0x2dcf8e){case _0x2f4463[_0x441202(0x136)][_0x441202(0x318)]:return _0x441202(0x1ee);case _0x2f4463[_0x441202(0x136)][_0x441202(0x128)]:return _0x441202(0x236);case _0x2f4463[_0x441202(0x136)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x2f4463['CollaborationStatus']['NOT_COLLAB']:return _0x441202(0x2d6);case _0x2f4463['CollaborationStatus'][_0x441202(0x358)]:case _0x2f4463['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x441202(0x349);case _0x2f4463[_0x441202(0x136)]['SYNCED']:case _0x2f4463[_0x441202(0x136)][_0x441202(0x22f)]:return _0x441202(0x261);}}function _0x583fb1(_0x14e327){const _0x2f75be=_0x2c12e3,{status$:_0x477952}=_0x14e327,_0x4713a3=_0x3688dd['useObservable'](_0x477952,_0x2f4463[_0x2f75be(0x136)][_0x2f75be(0x1bc)]),_0x20da96=_0x3688dd['useDependency'](_0x4026ac[_0x2f75be(0x38f)]),_0x177c5f=_0x3688dd[_0x2f75be(0x16b)](_0x2f4463['CollaborationSessionService']),_0x7c9109=_0x4713a3!==_0x2f4463[_0x2f75be(0x136)][_0x2f75be(0x318)],_0xcd61c4=_0x20da96['t'](_0x84ec3c(_0x4713a3)),_0xd5cc31=_0x7c9109?_0x4666f7[_0x2f75be(0x37d)](_0x164bc0,{}):_0x4666f7[_0x2f75be(0x37d)](_0x13ca4e,{}),_0x557643=_0x5b499e['useCallback'](()=>{const _0x3ba800=_0x2f75be;_0x7c9109||_0x177c5f[_0x3ba800(0x348)]();},[_0x7c9109,_0x177c5f]);function _0x46d40b(){const _0x243c4b=_0x2f75be;return _0x4666f7[_0x243c4b(0x176)](_0x243c4b(0x36d),{'className':_0x243c4b(0x280),'onClick':_0x557643,'children':[_0x4666f7[_0x243c4b(0x37d)](_0x243c4b(0x36d),{'className':_0x16b3ae['clsx'](_0x243c4b(0x169),{'univer-text-green-500':_0x7c9109,'univer-text-red-500':!_0x7c9109}),'children':_0xd5cc31}),_0x4666f7['jsx'](_0x243c4b(0x36d),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xcd61c4})]});}return _0x7c9109?_0x46d40b():_0x4666f7[_0x2f75be(0x37d)](_0x16b3ae[_0x2f75be(0x1e7)],{'title':_0x20da96['t'](_0x2f75be(0x184)),'children':_0x46d40b()});}var _0x52174c=Object[_0x2c12e3(0x12c)],_0x456b44=(_0x4cbe44,_0x7fb4a1,_0x527c93,_0x2b5c9a)=>{for(var _0x3e670a=_0x2b5c9a>0x1?void 0x0:_0x2b5c9a?_0x52174c(_0x7fb4a1,_0x527c93):_0x7fb4a1,_0x47e3cc=_0x4cbe44['length']-0x1,_0x1dcfa2;_0x47e3cc>=0x0;_0x47e3cc--)(_0x1dcfa2=_0x4cbe44[_0x47e3cc])&&(_0x3e670a=_0x1dcfa2(_0x3e670a)||_0x3e670a);return _0x3e670a;},_0x4dd491=(_0xbdabd4,_0x35e7b6)=>(_0x7c7bba,_0x2f860c)=>_0x35e7b6(_0x7c7bba,_0x2f860c,_0xbdabd4);_0x12c937[_0x2c12e3(0x2a9)]=class extends _0x4026ac[_0x2c12e3(0x26f)]{constructor(_0x180523,_0x48cd04,_0x26c255,_0xfb419a){const _0x3dd679=_0x2c12e3;super(),_0x155617(this,_0x3dd679(0x2e2),new _0x490568['BehaviorSubject'](_0x2f4463[_0x3dd679(0x136)][_0x3dd679(0x1bc)])),(this['_univerInstanceService']=_0x180523,this[_0x3dd679(0x1ea)]=_0x48cd04,this[_0x3dd679(0x1f9)]=_0x26c255,this[_0x3dd679(0x148)]=_0xfb419a,this[_0x3dd679(0x326)](),this[_0x3dd679(0x2fe)]());}[_0x2c12e3(0x2fe)](){const _0x3b8ad3=_0x2c12e3;this[_0x3b8ad3(0x34a)](this['_univerInstanceService'][_0x3b8ad3(0x174)][_0x3b8ad3(0x32b)](_0x490568[_0x3b8ad3(0x3b1)](()=>{const _0x223272=_0x3b8ad3,_0x163f21=this[_0x223272(0x2fa)][_0x223272(0x16d)]();return _0x163f21?this[_0x223272(0x1f9)]['getCollabEntity$'](_0x163f21[_0x223272(0x287)]()):_0x490568['of'](null);}),_0x490568['switchMap'](_0x1ce7bb=>_0x1ce7bb?_0x1ce7bb['status$']:_0x490568['of'](_0x2f4463[_0x3b8ad3(0x136)][_0x3b8ad3(0x1bc)])))[_0x3b8ad3(0x2a7)](_0x24b68f=>{const _0x4cad41=_0x3b8ad3;this[_0x4cad41(0x2e2)][_0x4cad41(0x229)](_0x24b68f);}));}[_0x2c12e3(0x326)](){const _0x26a9e3=_0x2c12e3;this[_0x26a9e3(0x34a)](this[_0x26a9e3(0x148)]['registerComponent'](_0x3688dd[_0x26a9e3(0x32e)][_0x26a9e3(0x241)],()=>_0x3688dd[_0x26a9e3(0x397)](_0xfddd8b({'status$':this['_status$']['asObservable']()}),this[_0x26a9e3(0x1ea)])));}},_0x12c937[_0x2c12e3(0x2a9)]=_0x456b44([_0x4dd491(0x0,_0x4026ac[_0x2c12e3(0x2d2)]),_0x4dd491(0x1,_0x4026ac[_0x2c12e3(0x168)](_0x4026ac[_0x2c12e3(0x2ac)])),_0x4dd491(0x2,_0x4026ac[_0x2c12e3(0x168)](_0x2f4463['CollaborationController'])),_0x4dd491(0x3,_0x3688dd['IUIPartsService'])],_0x12c937['DesktopCollaborationStatusDisplayController']);function _0xfddd8b(_0x1421d9){const {status$:_0x7118b}=_0x1421d9;return function(){const _0x544c30=_0x3b1c;return _0x4666f7[_0x544c30(0x37d)](_0x583fb1,{'status$':_0x7118b});};}var _0x358b36=Object['getOwnPropertyDescriptor'],_0x45eadf=(_0x14abef,_0x586b5c,_0x3c234c,_0x5934ef)=>{for(var _0x399e84=_0x5934ef>0x1?void 0x0:_0x5934ef?_0x358b36(_0x586b5c,_0x3c234c):_0x586b5c,_0x5defb9=_0x14abef['length']-0x1,_0x45c813;_0x5defb9>=0x0;_0x5defb9--)(_0x45c813=_0x14abef[_0x5defb9])&&(_0x399e84=_0x45c813(_0x399e84)||_0x399e84);return _0x399e84;},_0x559925=(_0x2239c3,_0x20e383)=>(_0x52c959,_0x2326c4)=>_0x20e383(_0x52c959,_0x2326c4,_0x2239c3);let _0x30a3e0=class extends _0x4026ac[_0x2c12e3(0x26f)]{constructor(_0x14e470,_0xf2fc36,_0x270c25,_0x4ca077,_0x227fb0,_0x5ee9a6){const _0x4e81b4=_0x2c12e3;super(),this[_0x4e81b4(0x1f1)]=_0x14e470,this[_0x4e81b4(0x3aa)]=_0xf2fc36,this[_0x4e81b4(0x1f3)]=_0x270c25,this['_messageService']=_0x4ca077,this[_0x4e81b4(0x166)]=_0x227fb0,this[_0x4e81b4(0x2c2)]=_0x5ee9a6,this[_0x4e81b4(0x33d)](),this[_0x4e81b4(0x233)]();}[_0x2c12e3(0x33d)](){const _0x2c4e73=_0x2c12e3;this[_0x2c4e73(0x34a)](this[_0x2c4e73(0x1f1)][_0x2c4e73(0x319)](()=>{const _0x21920a=_0x2c4e73;if(this['_localCacheService']['saveTaskMap'][_0x21920a(0x187)])return this[_0x21920a(0x2c2)]['t'](_0x21920a(0x149));}));}['_initEvent'](){const _0x3323e6=_0x2c12e3;this[_0x3323e6(0x34a)](this[_0x3323e6(0x1f3)][_0x3323e6(0x2c6)][_0x3323e6(0x2a7)](_0x156880=>{const _0x46257a=_0x3323e6;_0x156880['id']===_0x2f4463[_0x46257a(0x35e)][_0x46257a(0x135)]&&this[_0x46257a(0x13b)]['show']({'type':_0x16b3ae['MessageType']['Warning'],'content':this[_0x46257a(0x2c2)]['t'](_0x46257a(0x30b))}),_0x156880['id']===_0x2f4463[_0x46257a(0x35e)]['CLOSE_ROOM']&&this[_0x46257a(0x13b)][_0x46257a(0x363)]({'type':_0x16b3ae[_0x46257a(0x162)][_0x46257a(0x19a)],'content':this['_localeService']['t'](_0x46257a(0x37b))}),_0x156880['id']===_0x2f4463['CollaborationUIEventId'][_0x46257a(0x2ae)]&&this[_0x46257a(0x166)][_0x46257a(0x363)]({'title':this['_localeService']['t'](_0x46257a(0x17d)),'content':this[_0x46257a(0x2c2)]['t'](_0x46257a(0x1dd)),'type':_0x46257a(0x295),'duration':0x0}),_0x156880['id']===_0x2f4463[_0x46257a(0x35e)][_0x46257a(0x128)]&&this[_0x46257a(0x13b)][_0x46257a(0x363)]({'type':_0x16b3ae[_0x46257a(0x162)][_0x46257a(0x1a8)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x156880[_0x46257a(0x3a2)]+')'}),_0x156880['id']===_0x2f4463[_0x46257a(0x35e)]['JOIN_ROOM_FAILED']&&this[_0x46257a(0x13b)][_0x46257a(0x363)]({'type':_0x16b3ae[_0x46257a(0x162)][_0x46257a(0x19a)],'content':this['_localeService']['t'](_0x156880[_0x46257a(0x3a2)]||'')}),_0x156880['id']===_0x2f4463[_0x46257a(0x35e)][_0x46257a(0x141)]&&this[_0x46257a(0x13b)]['show']({'type':_0x16b3ae[_0x46257a(0x162)][_0x46257a(0x19a)],'content':this[_0x46257a(0x2c2)]['t'](_0x46257a(0x27e))}),_0x156880['id']===_0x2f4463[_0x46257a(0x35e)][_0x46257a(0x3ab)]&&this[_0x46257a(0x13b)][_0x46257a(0x363)]({'type':_0x16b3ae[_0x46257a(0x162)]['Error'],'content':this['_localeService']['t'](_0x46257a(0x1b4))}),_0x156880['id']===_0x2f4463[_0x46257a(0x35e)][_0x46257a(0x29f)]&&this['_messageService'][_0x46257a(0x363)]({'type':_0x16b3ae[_0x46257a(0x162)][_0x46257a(0x1a8)],'content':this[_0x46257a(0x2c2)]['t'](_0x46257a(0x390))});}));}};_0x30a3e0=_0x45eadf([_0x559925(0x0,_0x3688dd[_0x2c12e3(0x129)]),_0x559925(0x1,_0x2f4463[_0x2c12e3(0x19c)]),_0x559925(0x2,_0x4026ac[_0x2c12e3(0x168)](_0x2f4463[_0x2c12e3(0x14f)])),_0x559925(0x3,_0x3688dd[_0x2c12e3(0x1b6)]),_0x559925(0x4,_0x3688dd['INotificationService']),_0x559925(0x5,_0x4026ac[_0x2c12e3(0x168)](_0x4026ac[_0x2c12e3(0x38f)]))],_0x30a3e0);const _0xe91dfe=_0x2c12e3(0x375),_0x3eabdd={},_0x4b733c=_0x4026ac['createIdentifier']('uni.network.url-service');var _0x4de546=Object['getOwnPropertyDescriptor'],_0x30628f=(_0x95d78a,_0x414c33,_0x5e64a7,_0x3708a0)=>{for(var _0x5897e2=_0x3708a0>0x1?void 0x0:_0x3708a0?_0x4de546(_0x414c33,_0x5e64a7):_0x414c33,_0x45df6a=_0x95d78a['length']-0x1,_0x3c1258;_0x45df6a>=0x0;_0x45df6a--)(_0x3c1258=_0x95d78a[_0x45df6a])&&(_0x5897e2=_0x3c1258(_0x5897e2)||_0x5897e2);return _0x5897e2;},_0x207c9b=(_0x3dcc8c,_0x1bf83e)=>(_0x586b20,_0x314a00)=>_0x1bf83e(_0x586b20,_0x314a00,_0x3dcc8c);_0x12c937[_0x2c12e3(0x36b)]=class extends _0x4026ac['RxDisposable']{constructor(_0xd45e62,_0x2d737a,_0x11e09b,_0x454261,_0x2d7360){const _0x9d48d=_0x2c12e3;super(),this[_0x9d48d(0x257)]=_0xd45e62,this[_0x9d48d(0x1f6)]=_0x2d737a,this[_0x9d48d(0x155)]=_0x11e09b,this[_0x9d48d(0x327)]=_0x454261,_0x2d7360?_0x2d7360==null||_0x2d7360['whenReady']()[_0x9d48d(0x185)](()=>this[_0x9d48d(0x38a)]()):(this[_0x9d48d(0x1f6)]['debug'](_0x9d48d(0x28a),_0x9d48d(0x290)),this['_init']());}async['_init'](){const _0x388312=_0x2c12e3,_0x150eef=this[_0x388312(0x257)]['getParam'](_0x388312(0x1e6)),_0x4ee67f=this['_urlService'][_0x388312(0x238)](_0x388312(0x23d)),_0x479e98=this['_urlService'][_0x388312(0x238)]('subunit');if(!_0x150eef||!_0x4ee67f){this[_0x388312(0x1f6)][_0x388312(0x1ae)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2ca485=await this['_dataLoaderService'][_0x388312(0x1f2)](_0x150eef,Number(_0x4ee67f),_0x479e98);_0x2ca485&&_0x2ca485 instanceof _0x4026ac['Workbook']&&this[_0x388312(0x14d)](_0x2ca485);}async[_0x2c12e3(0x14d)](_0x569da1){const _0x5bbed1=_0x2c12e3;await this[_0x5bbed1(0x242)](_0x569da1),_0x569da1[_0x5bbed1(0x3b8)][_0x5bbed1(0x32b)](_0x490568[_0x5bbed1(0x2db)](this[_0x5bbed1(0x13d)]))[_0x5bbed1(0x2a7)](_0x2c769c=>{_0x2c769c&&this['_updateURLWithCurrentState'](_0x2c769c);}),this['_urlService'][_0x5bbed1(0x15c)][_0x5bbed1(0x32b)](_0x490568[_0x5bbed1(0x2db)](this['dispose$']))[_0x5bbed1(0x2a7)](()=>this[_0x5bbed1(0x242)](_0x569da1));}['_updateURLWithCurrentState'](_0x5dd3e0,_0x533446=!0x1){const _0x51a155=_0x2c12e3,_0x25795c=this[_0x51a155(0x257)]['getParam'](_0x51a155(0x192));_0x5dd3e0['getSheetId']()!==_0x25795c&&this[_0x51a155(0x257)][_0x51a155(0x2c8)]('subunit',_0x5dd3e0[_0x51a155(0x25a)](),_0x533446);}async[_0x2c12e3(0x242)](_0x186bc7){const _0x1ee7e7=_0x2c12e3;var _0x1c9ebf;const _0x19bd65=this[_0x1ee7e7(0x257)][_0x1ee7e7(0x238)](_0x1ee7e7(0x192));if(!_0x19bd65||!_0x186bc7[_0x1ee7e7(0x147)](_0x19bd65)){const _0x5893e6=_0x186bc7[_0x1ee7e7(0x173)]()[0x0],_0x2b4ce2=_0x186bc7[_0x1ee7e7(0x147)](_0x5893e6);if(!_0x2b4ce2)return;this[_0x1ee7e7(0x2c7)](_0x2b4ce2,!0x0),await this['_commandService'][_0x1ee7e7(0x23b)](_0x18ee7b['SetWorksheetActivateCommand']['id'],{'unitId':_0x186bc7[_0x1ee7e7(0x287)](),'subUnitId':_0x5893e6});return;}((_0x1c9ebf=_0x186bc7['getActiveSheet']())==null?void 0x0:_0x1c9ebf[_0x1ee7e7(0x25a)]())!==_0x19bd65&&await this['_commandService']['executeCommand'](_0x18ee7b['SetWorksheetActivateCommand']['id'],{'unitId':_0x186bc7[_0x1ee7e7(0x287)](),'subUnitId':_0x19bd65});}},_0x12c937[_0x2c12e3(0x36b)]=_0x30628f([_0x207c9b(0x0,_0x4b733c),_0x207c9b(0x1,_0x4026ac[_0x2c12e3(0x163)]),_0x207c9b(0x2,_0x4026ac[_0x2c12e3(0x16e)]),_0x207c9b(0x3,_0x4026ac[_0x2c12e3(0x168)](_0x2f4463[_0x2c12e3(0x1f0)])),_0x207c9b(0x4,_0x4026ac['Optional'](_0x2ef636[_0x2c12e3(0x157)]))],_0x12c937['CollaborationDataLoaderController']);var _0x1017bd=Object[_0x2c12e3(0x12c)],_0xc9d616=(_0x213a95,_0x1cd6cb,_0x755b5d,_0x2ab416)=>{for(var _0x1e776f=_0x2ab416>0x1?void 0x0:_0x2ab416?_0x1017bd(_0x1cd6cb,_0x755b5d):_0x1cd6cb,_0x490f48=_0x213a95['length']-0x1,_0xb840a0;_0x490f48>=0x0;_0x490f48--)(_0xb840a0=_0x213a95[_0x490f48])&&(_0x1e776f=_0xb840a0(_0x1e776f)||_0x1e776f);return _0x1e776f;},_0x335796=(_0x7213da,_0x34a528)=>(_0x2f66ea,_0x308606)=>_0x34a528(_0x2f66ea,_0x308606,_0x7213da);let _0x4fc82f=class{constructor(_0x1661be,_0x527a81,_0x46836a){const _0xfc7000=_0x2c12e3;this['_injector']=_0x1661be,this[_0xfc7000(0x206)]=_0x527a81,this['_renderManagerService']=_0x46836a;}[_0x2c12e3(0x22b)](_0x31f83d){const _0x2f6046=_0x2c12e3;this[_0x2f6046(0x361)](_0x31f83d),this[_0x2f6046(0x343)](_0x31f83d);}['transformRemoteChangeset'](_0x44fd4a){const _0x13f69c=_0x2c12e3,{unitID:_0x5abc93}=_0x44fd4a,_0x348556=this[_0x13f69c(0x3ba)][_0x13f69c(0x2b4)](_0x5abc93)['with'](_0x45dbe2[_0x13f69c(0x378)]),{redoCache:_0x28c71c}=_0x348556[_0x13f69c(0x3bc)]();if(_0x28c71c[_0x13f69c(0x28e)]===0x0)return _0x44fd4a;let _0x2b367a=_0x4026ac[_0x13f69c(0x220)][_0x13f69c(0x13e)](_0x44fd4a[_0x13f69c(0x323)][0x0]);for(let _0x261c85=0x0;_0x261c85<_0x28c71c[_0x13f69c(0x28e)];_0x261c85++){const _0x317d85={'id':_0x13f69c(0x2d9),'params':{..._0x28c71c[_0x261c85]}},_0x1e8471=this['_transformService'][_0x13f69c(0x2fb)](_0x2b367a,_0x317d85,!0x1);if(_0x5c97ef['isTransformMutationFailure'](_0x1e8471))throw _0x1e8471[_0x13f69c(0x295)];_0x2b367a=_0x1e8471[_0x13f69c(0x2ef)];}return{..._0x4026ac[_0x13f69c(0x220)][_0x13f69c(0x13e)](_0x44fd4a),'mutations':[_0x2b367a]};}[_0x2c12e3(0x361)](_0x100d57){const _0x3c08f4=_0x2c12e3,{unitID:_0xeca273}=_0x100d57,_0x21184e=this[_0x3c08f4(0x3ba)][_0x3c08f4(0x2b4)](_0xeca273)[_0x3c08f4(0x30f)](_0x45dbe2[_0x3c08f4(0x378)]),{undoCache:_0x57167f,redoCache:_0x5bc469}=_0x21184e[_0x3c08f4(0x3bc)]();if(_0x57167f[_0x3c08f4(0x28e)]===0x0||_0x5bc469[_0x3c08f4(0x28e)]===0x0)return;const _0x445c34=[],_0x1b4c11=[];let _0x55885c=_0x4026ac[_0x3c08f4(0x220)][_0x3c08f4(0x13e)](_0x100d57[_0x3c08f4(0x323)][0x0]),_0x2451f9=_0x4026ac['Tools']['deepClone'](_0x100d57[_0x3c08f4(0x323)][0x0]);for(let _0x1b179f=_0x57167f[_0x3c08f4(0x28e)]-0x1;_0x1b179f>=0x0;_0x1b179f--){const _0x451c87={'id':'doc.mutation.rich-text-editing','params':{..._0x57167f[_0x1b179f]}},_0x4a591c={'id':_0x3c08f4(0x2d9),'params':{..._0x5bc469[_0x1b179f]}},_0x5d24a8=this[_0x3c08f4(0x206)][_0x3c08f4(0x2fb)](_0x55885c,_0x451c87,!0x1),_0x5e059a=this[_0x3c08f4(0x206)][_0x3c08f4(0x2fb)](_0x2451f9,_0x4a591c,!0x1);if(_0x5c97ef[_0x3c08f4(0x278)](_0x5d24a8))throw _0x5d24a8[_0x3c08f4(0x295)];if(_0x5c97ef[_0x3c08f4(0x278)](_0x5e059a))throw _0x5e059a['error'];_0x445c34['unshift'](_0x5d24a8[_0x3c08f4(0x322)][_0x3c08f4(0x210)]),_0x1b4c11['unshift'](_0x5e059a[_0x3c08f4(0x322)][_0x3c08f4(0x210)]),_0x55885c=_0x5d24a8[_0x3c08f4(0x2ef)],_0x2451f9=_0x5e059a[_0x3c08f4(0x2ef)];}_0x21184e[_0x3c08f4(0x19b)]({'undoCache':_0x445c34,'redoCache':_0x1b4c11});}['_transformPreviousActiveRange'](_0xb165a7){const _0x2b26d1=_0x2c12e3,{unitID:_0x5a24bf}=_0xb165a7,_0x13f61c=this[_0x2b26d1(0x3ba)][_0x2b26d1(0x2b4)](_0x5a24bf)[_0x2b26d1(0x30f)](_0x45dbe2['DocIMEInputManagerService']),_0x32a2e1=_0x13f61c[_0x2b26d1(0x1d9)]();if(_0x32a2e1==null)return;const _0x27648a=[{'id':_0x2b26d1(0x2d9),'params':{'unitId':_0xb165a7[_0x2b26d1(0x2e9)],'actions':null,'textRanges':[_0x32a2e1]}}],_0x454160=this[_0x2b26d1(0x206)][_0x2b26d1(0x16a)](_0xb165a7,_0x27648a);if(!_0x5c97ef['isTransformMutationsWithChangesetSuccess'](_0x454160))throw _0x454160[_0x2b26d1(0x295)];const _0x3647aa=_0x454160[_0x2b26d1(0x322)][0x0][_0x2b26d1(0x210)][_0x2b26d1(0x1a6)];Array['isArray'](_0x3647aa)&&_0x3647aa[_0x2b26d1(0x28e)]&&_0x13f61c['setActiveRange'](_0x3647aa[0x0]);}};_0x4fc82f=_0xc9d616([_0x335796(0x0,_0x4026ac[_0x2c12e3(0x168)](_0x4026ac[_0x2c12e3(0x2ac)])),_0x335796(0x1,_0x5c97ef[_0x2c12e3(0x371)]),_0x335796(0x2,_0x7ef3ee[_0x2c12e3(0x1a3)])],_0x4fc82f);var _0x387a71=Object[_0x2c12e3(0x12c)],_0x26ba51=(_0x64708d,_0x28b468,_0x3d988e,_0xa4e116)=>{const _0x5b9e2c=_0x2c12e3;for(var _0x164754=_0xa4e116>0x1?void 0x0:_0xa4e116?_0x387a71(_0x28b468,_0x3d988e):_0x28b468,_0x48d2d1=_0x64708d[_0x5b9e2c(0x28e)]-0x1,_0x4a8d96;_0x48d2d1>=0x0;_0x48d2d1--)(_0x4a8d96=_0x64708d[_0x48d2d1])&&(_0x164754=_0x4a8d96(_0x164754)||_0x164754);return _0x164754;},_0x3f044a=(_0x5bf6e2,_0xf1320a)=>(_0xae2516,_0x316d70)=>_0xf1320a(_0xae2516,_0x316d70,_0x5bf6e2);let _0x186c6c=class{constructor(_0x580b51,_0x238642,_0xb51e22){const _0x2d6268=_0x2c12e3;this['_injector']=_0x580b51,this[_0x2d6268(0x206)]=_0x238642,this[_0x2d6268(0x2d4)]=_0xb51e22;}['transformStateCache'](_0x5be14a){this['_transformHistoryAndStateStack'](_0x5be14a);}[_0x2c12e3(0x368)](_0x91cf41){const _0x277afd=_0x2c12e3,{unitID:_0x51e7e6}=_0x91cf41,{collaboration:_0x575f34}=this[_0x277afd(0x2d4)][_0x277afd(0x3a4)](_0x51e7e6);if(_0x575f34['length']===0x0)return _0x91cf41;let _0x1f5ed1=_0x4026ac[_0x277afd(0x220)]['deepClone'](_0x91cf41[_0x277afd(0x323)][0x0]);for(let _0x4115d5=0x0;_0x4115d5<_0x575f34[_0x277afd(0x28e)];_0x4115d5++){const _0x5e6deb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x575f34[_0x4115d5][_0x277afd(0x193)],..._0x575f34[_0x4115d5][_0x277afd(0x243)]}},_0x3e1124=this[_0x277afd(0x206)][_0x277afd(0x2fb)](_0x1f5ed1,_0x5e6deb,!0x1);if(_0x5c97ef[_0x277afd(0x278)](_0x3e1124))throw _0x3e1124[_0x277afd(0x295)];_0x1f5ed1=_0x3e1124[_0x277afd(0x2ef)];}return{..._0x4026ac[_0x277afd(0x220)]['deepClone'](_0x91cf41),'mutations':[_0x1f5ed1]};}[_0x2c12e3(0x217)](_0x4cde04){const _0x55aaf6=_0x2c12e3,{unitID:_0x29cbb8}=_0x4cde04,{history:_0x23d83b,collaboration:_0x11c0f7}=this['_docStateChangeManagerService'][_0x55aaf6(0x3a4)](_0x29cbb8);if(_0x23d83b[_0x55aaf6(0x28e)]===0x0&&_0x11c0f7[_0x55aaf6(0x28e)]===0x0)return;const _0x2ea3b0=[],_0x2082ce=[];let _0x5a7d71=_0x4026ac['Tools'][_0x55aaf6(0x13e)](_0x4cde04[_0x55aaf6(0x323)][0x0]),_0x441bb8=_0x4026ac['Tools']['deepClone'](_0x4cde04[_0x55aaf6(0x323)][0x0]);for(let _0x2b4e94=_0x23d83b[_0x55aaf6(0x28e)]-0x1;_0x2b4e94>=0x0;_0x2b4e94--){const _0x610229={'id':_0x55aaf6(0x2d9),'params':{'unitId':_0x23d83b[_0x2b4e94][_0x55aaf6(0x193)],..._0x23d83b[_0x2b4e94][_0x55aaf6(0x12b)]}},_0xefa61f={'id':_0x55aaf6(0x2d9),'params':{'unitId':_0x23d83b[_0x2b4e94]['unitId'],..._0x23d83b[_0x2b4e94][_0x55aaf6(0x243)]}},_0x20b163=this['_transformService'][_0x55aaf6(0x2fb)](_0x5a7d71,_0x610229,!0x1),_0x1103ef=this[_0x55aaf6(0x206)]['transformMutation'](_0x441bb8,_0xefa61f,!0x1);if(_0x5c97ef['isTransformMutationFailure'](_0x20b163))throw _0x20b163[_0x55aaf6(0x295)];if(_0x5c97ef['isTransformMutationFailure'](_0x1103ef))throw _0x1103ef[_0x55aaf6(0x295)];_0x2ea3b0[_0x55aaf6(0x224)]({..._0x23d83b[_0x2b4e94],'undoState':_0x20b163[_0x55aaf6(0x322)][_0x55aaf6(0x210)],'redoState':_0x1103ef[_0x55aaf6(0x322)][_0x55aaf6(0x210)]}),_0x5a7d71=_0x20b163[_0x55aaf6(0x2ef)],_0x441bb8=_0x1103ef[_0x55aaf6(0x2ef)];}_0x5a7d71=_0x4026ac[_0x55aaf6(0x220)][_0x55aaf6(0x13e)](_0x4cde04[_0x55aaf6(0x323)][0x0]),_0x441bb8=_0x4026ac[_0x55aaf6(0x220)][_0x55aaf6(0x13e)](_0x4cde04[_0x55aaf6(0x323)][0x0]);for(let _0x373c35=_0x11c0f7['length']-0x1;_0x373c35>=0x0;_0x373c35--){const _0x5d1d61={'id':_0x55aaf6(0x2d9),'params':{'unitId':_0x11c0f7[_0x373c35][_0x55aaf6(0x193)],..._0x11c0f7[_0x373c35][_0x55aaf6(0x12b)]}},_0x3df287={'id':_0x55aaf6(0x2d9),'params':{'unitId':_0x11c0f7[_0x373c35][_0x55aaf6(0x193)],..._0x11c0f7[_0x373c35][_0x55aaf6(0x243)]}},_0x43a1da=this[_0x55aaf6(0x206)][_0x55aaf6(0x2fb)](_0x5a7d71,_0x5d1d61,!0x1),_0xdf869f=this[_0x55aaf6(0x206)][_0x55aaf6(0x2fb)](_0x441bb8,_0x3df287,!0x1);if(_0x5c97ef[_0x55aaf6(0x278)](_0x43a1da))throw _0x43a1da[_0x55aaf6(0x295)];if(_0x5c97ef['isTransformMutationFailure'](_0xdf869f))throw _0xdf869f['error'];_0x2082ce[_0x55aaf6(0x224)]({..._0x11c0f7[_0x373c35],'undoState':_0x43a1da[_0x55aaf6(0x322)][_0x55aaf6(0x210)],'redoState':_0xdf869f[_0x55aaf6(0x322)][_0x55aaf6(0x210)]}),_0x5a7d71=_0x43a1da['m1Prime'],_0x441bb8=_0xdf869f['m1Prime'];}this[_0x55aaf6(0x2d4)][_0x55aaf6(0x26e)](_0x29cbb8,{'history':_0x2ea3b0,'collaboration':_0x2082ce});}};_0x186c6c=_0x26ba51([_0x3f044a(0x0,_0x4026ac[_0x2c12e3(0x168)](_0x4026ac[_0x2c12e3(0x2ac)])),_0x3f044a(0x1,_0x5c97ef[_0x2c12e3(0x371)]),_0x3f044a(0x2,_0x4026ac[_0x2c12e3(0x168)](_0x45dbe2[_0x2c12e3(0x1ed)]))],_0x186c6c);var _0x5c7469=Object[_0x2c12e3(0x12c)],_0x294d9c=(_0x1ff3ab,_0x22adc6,_0x5dd4c6,_0x282ec9)=>{const _0x5a482d=_0x2c12e3;for(var _0x41674c=_0x282ec9>0x1?void 0x0:_0x282ec9?_0x5c7469(_0x22adc6,_0x5dd4c6):_0x22adc6,_0x5c663d=_0x1ff3ab[_0x5a482d(0x28e)]-0x1,_0x1d4d5d;_0x5c663d>=0x0;_0x5c663d--)(_0x1d4d5d=_0x1ff3ab[_0x5c663d])&&(_0x41674c=_0x1d4d5d(_0x41674c)||_0x41674c);return _0x41674c;},_0x34ad9f=(_0x1b1848,_0x72b5b9)=>(_0x1868b8,_0x1c035f)=>_0x72b5b9(_0x1868b8,_0x1c035f,_0x1b1848);let _0x3cf5de=class{constructor(_0xf0fe8f,_0x63abcf){const _0x458fe7=_0x2c12e3;this[_0x458fe7(0x1ea)]=_0xf0fe8f,this['_transformService']=_0x63abcf;}[_0x2c12e3(0x270)](_0x3d2145){const _0x4cb344=_0x2c12e3;var _0x723c9a;const _0x17d07f=this['_injector']['get'](_0x3a183c[_0x4cb344(0x337)]),_0xed75bb=(_0x723c9a=_0x17d07f[_0x4cb344(0x22e)]())!=null?_0x723c9a:[];if(_0xed75bb['length']===0x0)return;const _0xcd4529=_0x3d2145['unitID'],_0x242ea7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xcd4529,'actions':null,'textRanges':_0xed75bb}}],_0x4ae6d8=this['_transformService'][_0x4cb344(0x16a)](_0x3d2145,_0x242ea7);if(!_0x5c97ef[_0x4cb344(0x374)](_0x4ae6d8))throw _0x4ae6d8[_0x4cb344(0x295)];const _0xa85fcd=_0x4ae6d8[_0x4cb344(0x322)][0x0][_0x4cb344(0x210)][_0x4cb344(0x1a6)];Array[_0x4cb344(0x178)](_0xa85fcd)&&_0xa85fcd[_0x4cb344(0x28e)]&&_0x17d07f[_0x4cb344(0x315)](_0xa85fcd,{'unitId':_0xcd4529,'subUnitId':_0xcd4529},!0x1);}};_0x3cf5de=_0x294d9c([_0x34ad9f(0x0,_0x4026ac['Inject'](_0x4026ac[_0x2c12e3(0x2ac)])),_0x34ad9f(0x1,_0x5c97ef[_0x2c12e3(0x371)])],_0x3cf5de);var _0xeb5542=Object[_0x2c12e3(0x12c)],_0x33c5b8=(_0x448c97,_0x121ed0,_0x567899,_0x5cbd70)=>{const _0xb38af5=_0x2c12e3;for(var _0xc4e143=_0x5cbd70>0x1?void 0x0:_0x5cbd70?_0xeb5542(_0x121ed0,_0x567899):_0x121ed0,_0x1609b1=_0x448c97[_0xb38af5(0x28e)]-0x1,_0x33794c;_0x1609b1>=0x0;_0x1609b1--)(_0x33794c=_0x448c97[_0x1609b1])&&(_0xc4e143=_0x33794c(_0xc4e143)||_0xc4e143);return _0xc4e143;},_0x32683d=(_0x317504,_0xe827c8)=>(_0x478ade,_0x27105b)=>_0xe827c8(_0x478ade,_0x27105b,_0x317504);let _0x106e69=class extends _0x4026ac['Disposable']{constructor(_0x1a79c3,_0x253bc5,_0x2574f8,_0x3f6012,_0x345224,_0xbf3b0,_0x12227c,_0x1c968c){const _0x4d12b2=_0x2c12e3;super(),_0x155617(this,_0x4d12b2(0x2e2),new _0x490568[(_0x4d12b2(0x222))](_0x2f4463[_0x4d12b2(0x136)]['NOT_COLLAB'])),(this[_0x4d12b2(0x2d4)]=_0x1a79c3,this[_0x4d12b2(0x1f9)]=_0x253bc5,this['_docTransformIMECacheService']=_0x2574f8,this[_0x4d12b2(0x2af)]=_0x3f6012,this[_0x4d12b2(0x336)]=_0x345224,this[_0x4d12b2(0x279)]=_0xbf3b0,this[_0x4d12b2(0x13b)]=_0x12227c,this[_0x4d12b2(0x2c2)]=_0x1c968c,this[_0x4d12b2(0x3b4)]());}[_0x2c12e3(0x3b4)](){const _0x429803=_0x2c12e3;this[_0x429803(0x34a)](this[_0x429803(0x1f9)][_0x429803(0x151)][_0x429803(0x2a7)](_0x3595b5=>{const _0x3f2a77=_0x429803,_0x168de7=this[_0x3f2a77(0x2d4)][_0x3f2a77(0x13c)][_0x3f2a77(0x2a7)](_0x31650d=>{const _0x12aad1=_0x3f2a77;if(_0x31650d==null)return;const {unitId:_0x10b4e7,redoState:_0xa2650b,commandId:_0x41e8ad}=_0x31650d;if(_0x10b4e7!==_0x3595b5[_0x12aad1(0x2e9)])return;const _0x139288={'id':_0x41e8ad,'type':_0x4026ac[_0x12aad1(0x214)][_0x12aad1(0x2cc)],'params':{'unitId':_0x10b4e7,'actions':_0xa2650b[_0x12aad1(0x3a7)],'textRanges':null}};_0x3595b5[_0x12aad1(0x2a0)](_0x139288);});if(_0x3595b5[_0x3f2a77(0x34a)](_0x168de7),_0x3595b5 instanceof _0x2f4463['DocCollaborationEntity']){const _0x4a9b5a={'onTransformIME':_0x4e8372=>this[_0x3f2a77(0x237)][_0x3f2a77(0x22b)](_0x4e8372),'onTransformState':_0x4820a4=>this['_docTransformStateCacheService'][_0x3f2a77(0x25d)](_0x4820a4),'onTransformSelections':_0x9fc8f6=>this['_docTransformSelectionsService'][_0x3f2a77(0x270)](_0x9fc8f6),'onSyncEditingCollabCursor':_0xa0c610=>this[_0x3f2a77(0x279)][_0x3f2a77(0x38d)](_0xa0c610),'onTransformRemoteChangesetByIMECache':_0x206c84=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x206c84),'onTransformRemoteChangesetByStateCache':_0x5d9a1c=>this[_0x3f2a77(0x2af)][_0x3f2a77(0x368)](_0x5d9a1c)};_0x3595b5[_0x3f2a77(0x34d)](_0x4a9b5a);}}));}};_0x106e69=_0x33c5b8([_0x32683d(0x0,_0x4026ac['Inject'](_0x45dbe2[_0x2c12e3(0x1ed)])),_0x32683d(0x1,_0x4026ac[_0x2c12e3(0x168)](_0x2f4463[_0x2c12e3(0x2ee)])),_0x32683d(0x2,_0x4026ac['Inject'](_0x4fc82f)),_0x32683d(0x3,_0x4026ac[_0x2c12e3(0x168)](_0x186c6c)),_0x32683d(0x4,_0x4026ac[_0x2c12e3(0x168)](_0x3cf5de)),_0x32683d(0x5,_0x4026ac[_0x2c12e3(0x168)](_0x4f6d56)),_0x32683d(0x6,_0x3688dd[_0x2c12e3(0x1b6)]),_0x32683d(0x7,_0x4026ac[_0x2c12e3(0x168)](_0x4026ac[_0x2c12e3(0x38f)]))],_0x106e69);var _0x5a5bdf=Object[_0x2c12e3(0x12c)],_0x89af86=(_0x427de9,_0x5451f5,_0x1b0f3e,_0x22e300)=>{for(var _0x4750e4=_0x22e300>0x1?void 0x0:_0x22e300?_0x5a5bdf(_0x5451f5,_0x1b0f3e):_0x5451f5,_0x562e55=_0x427de9['length']-0x1,_0x2938b5;_0x562e55>=0x0;_0x562e55--)(_0x2938b5=_0x427de9[_0x562e55])&&(_0x4750e4=_0x2938b5(_0x4750e4)||_0x4750e4);return _0x4750e4;},_0x52b681=(_0x4e7504,_0x3effb4)=>(_0x2f72c2,_0x4ea6b3)=>_0x3effb4(_0x2f72c2,_0x4ea6b3,_0x4e7504);let _0x3d1ec0=class extends _0x4026ac[_0x2c12e3(0x26f)]{constructor(_0x2fd175,_0x403c37,_0x33a75d){const _0x2dd5f1=_0x2c12e3;super(),_0x155617(this,_0x2dd5f1(0x1df),new Map()),_0x155617(this,_0x2dd5f1(0x38b),new Map()),_0x155617(this,'_disabled',!0x1),(this['_configService']=_0x2fd175,this[_0x2dd5f1(0x2e3)]=_0x403c37,this[_0x2dd5f1(0x248)]=_0x33a75d);}['disableLocalCache'](){const _0x11b6f0=_0x2c12e3;this[_0x11b6f0(0x20f)]=!0x0;}[_0x2c12e3(0x1c4)](){const _0x1d7c1d=_0x2c12e3;this[_0x1d7c1d(0x20f)]=!0x1;}get[_0x2c12e3(0x308)](){const _0x1b17f5=_0x2c12e3;return this[_0x1b17f5(0x38b)];}['dispose'](){const _0xda48d3=_0x2c12e3;this[_0xda48d3(0x2e6)]()['then'](()=>super[_0xda48d3(0x36c)]());}async[_0x2c12e3(0x352)](_0x46bc5a){const _0x308abd=_0x2c12e3;return this[_0x308abd(0x20f)]?null:this['_localStorageService'][_0x308abd(0x2d5)](_0x2f4463[_0x308abd(0x289)](_0x46bc5a));}async[_0x2c12e3(0x301)](_0xf1c01b,_0x3e20d8){const _0x53bc47=_0x2c12e3;return!!this[_0x53bc47(0x2e3)][_0x53bc47(0x198)](_0xf1c01b,_0x3e20d8);}[_0x2c12e3(0x32a)](_0x5010ae,_0x2dc1e4,_0x4f6445,_0x1b7009){const _0x3d5515=_0x2c12e3,_0x5796e6=this[_0x3d5515(0x248)]['getCurrentRevOfUnit'](_0x5010ae);this[_0x3d5515(0x1df)][_0x3d5515(0x21d)](_0x5010ae,{'unitID':_0x5010ae,'type':_0x2dc1e4,'awaitingChangeset':_0x4f6445,'mutations':_0x1b7009,'rev':_0x5796e6}),this[_0x3d5515(0x38b)][_0x3d5515(0x199)](_0x5010ae)||this['_scheduleSaving'](_0x5010ae);}[_0x2c12e3(0x300)](_0x588fa5){const _0xe3b874=_0x2c12e3,_0x25d3fb=this['_getSaveTimeout']();_0x25d3fb===0x0?this['_saveCache'](_0x588fa5):this['_saveTaskMap'][_0xe3b874(0x21d)](_0x588fa5,setTimeout(()=>this[_0xe3b874(0x311)](_0x588fa5),_0x25d3fb));}['_getSaveTimeout'](){const _0x5ab6af=_0x2c12e3;var _0x31dd96;return(_0x31dd96=this[_0x5ab6af(0x2e0)][_0x5ab6af(0x1e1)](_0x2f4463[_0x5ab6af(0x131)]))!=null?_0x31dd96:_0x2f4463['LOCAL_CACHE_INTERVAL'];}[_0x2c12e3(0x311)](_0x1a9e10){const _0x220187=_0x2c12e3,_0x46d942=this[_0x220187(0x38b)][_0x220187(0x2e1)](_0x1a9e10);return _0x46d942!==void 0x0&&window[_0x220187(0x30d)](_0x46d942),this[_0x220187(0x2e3)][_0x220187(0x198)](_0x2f4463['getLocalCacheKey'](_0x1a9e10),this['_cachedData']['get'](_0x1a9e10))[_0x220187(0x185)](()=>this[_0x220187(0x38b)][_0x220187(0x1b0)](_0x1a9e10));}async[_0x2c12e3(0x2e6)](){const _0x29dd84=_0x2c12e3,_0x54f462=[];this['_saveTaskMap'][_0x29dd84(0x3b9)]((_0x3159f5,_0x2382f3)=>{const _0x29017f=_0x29dd84;window['clearTimeout'](_0x3159f5),_0x54f462[_0x29017f(0x2f7)](this['_saveCache'](_0x2382f3)[_0x29017f(0x185)](()=>{const _0xe0d91d=_0x29017f;this[_0xe0d91d(0x38b)][_0xe0d91d(0x1b0)](_0x2382f3);}));}),await Promise[_0x29dd84(0x13f)](_0x54f462);}};_0x3d1ec0=_0x89af86([_0x52b681(0x0,_0x4026ac[_0x2c12e3(0x19d)]),_0x52b681(0x1,_0x4026ac[_0x2c12e3(0x179)]),_0x52b681(0x2,_0x4026ac[_0x2c12e3(0x168)](_0x5c97ef[_0x2c12e3(0x1cd)]))],_0x3d1ec0);class _0x44bdf5 extends _0x4026ac[_0x2c12e3(0x2cb)]{constructor(){const _0x318bcc=_0x2c12e3;super(),_0x155617(this,_0x318bcc(0x15c)),this[_0x318bcc(0x15c)]=_0x490568[_0x318bcc(0x316)](window,_0x318bcc(0x23a))['pipe'](_0x490568[_0x318bcc(0x2db)](this[_0x318bcc(0x13d)]),_0x490568[_0x318bcc(0x320)](0x1),_0x490568[_0x318bcc(0x1bf)](void 0x0));}[_0x2c12e3(0x2c8)](_0x8a5d98,_0x3fe724,_0x4ff5f7=!0x1){const _0x716202=_0x2c12e3,_0x3825c2=new URL(window[_0x716202(0x139)][_0x716202(0x29e)]);_0x3825c2[_0x716202(0x246)][_0x716202(0x21d)](_0x8a5d98,_0x3fe724),_0x4ff5f7?window[_0x716202(0x234)][_0x716202(0x235)]('','',_0x3825c2['toString']()):window[_0x716202(0x234)][_0x716202(0x1c1)]('','',_0x3825c2[_0x716202(0x260)]());}[_0x2c12e3(0x17a)](_0x3fc18a,_0x3d9bff=!0x1){const _0x345929=_0x2c12e3,_0x106db9=new URL(window[_0x345929(0x139)]['href']);_0x106db9['searchParams'][_0x345929(0x1b0)](_0x3fc18a),_0x3d9bff?window[_0x345929(0x234)]['replaceState']('','',_0x106db9[_0x345929(0x260)]()):window[_0x345929(0x234)][_0x345929(0x1c1)]('','',_0x106db9['toString']());}[_0x2c12e3(0x238)](_0x5231a7){const _0x30f1ef=_0x2c12e3;var _0x2f69b2;return(_0x2f69b2=new URL(window[_0x30f1ef(0x139)][_0x30f1ef(0x29e)])[_0x30f1ef(0x246)][_0x30f1ef(0x2e1)](_0x5231a7))!=null?_0x2f69b2:void 0x0;}}var _0x337c30=Object[_0x2c12e3(0x133)],_0x1294ca=Object[_0x2c12e3(0x12c)],_0x3f6a2e=(_0x4e7b42,_0x574408,_0x8f4d85)=>_0x574408 in _0x4e7b42?_0x337c30(_0x4e7b42,_0x574408,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8f4d85}):_0x4e7b42[_0x574408]=_0x8f4d85,_0x259d69=(_0x169663,_0x436e90,_0x329dd5,_0x52f6cd)=>{const _0xac1e4e=_0x2c12e3;for(var _0x7e6a0c=_0x52f6cd>0x1?void 0x0:_0x52f6cd?_0x1294ca(_0x436e90,_0x329dd5):_0x436e90,_0x31550a=_0x169663[_0xac1e4e(0x28e)]-0x1,_0x2eec8a;_0x31550a>=0x0;_0x31550a--)(_0x2eec8a=_0x169663[_0x31550a])&&(_0x7e6a0c=_0x2eec8a(_0x7e6a0c)||_0x7e6a0c);return _0x7e6a0c;},_0x2a6b95=(_0x12af0f,_0x59e2f8)=>(_0x391746,_0x3f0d2d)=>_0x59e2f8(_0x391746,_0x3f0d2d,_0x12af0f),_0x34faea=(_0x3a1207,_0x5dfb5c,_0x4e8cc6)=>_0x3f6a2e(_0x3a1207,_0x5dfb5c+'',_0x4e8cc6);const _0x14d0a2='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x12c937[_0x2c12e3(0x382)]=class extends _0x4026ac['Plugin']{constructor(_0x49bdc3=_0x3eabdd,_0x2f8efa,_0x19d92c,_0x34ff77){const _0x719656=_0x2c12e3;super(),this[_0x719656(0x381)]=_0x49bdc3,this[_0x719656(0x3ba)]=_0x2f8efa,this[_0x719656(0x1ea)]=_0x19d92c,this[_0x719656(0x2e0)]=_0x34ff77;const {..._0xdcde43}=_0x4026ac[_0x719656(0x302)]({},_0x3eabdd,this[_0x719656(0x381)]);this[_0x719656(0x2e0)][_0x719656(0x19f)](_0xe91dfe,_0xdcde43);}['onStarting'](){const _0x1f7726=_0x2c12e3;this[_0x1f7726(0x1ab)](),this[_0x1f7726(0x209)]();}[_0x2c12e3(0x23c)](){const _0x7ffd28=_0x2c12e3;this[_0x7ffd28(0x17e)]();}['_registerDependencies'](){const _0x5dc6ef=_0x2c12e3;var _0x17f289;const _0x2d326f=[[_0x5554b1],[_0x3cf5de],[_0x4fc82f],[_0x186c6c],[_0x4f6d56],[_0x4b733c,{'useClass':_0x44bdf5}],[_0x28e500[_0x5dc6ef(0x359)],{'useClass':_0x28e500[_0x5dc6ef(0x215)]}],[_0x2f4463[_0x5dc6ef(0x19c)],{'useClass':_0x3d1ec0}],[_0x12c937[_0x5dc6ef(0x2a9)]],[_0x106e69],[_0x30a3e0],[_0x1eb084],[_0x2d3631],[_0x12c937[_0x5dc6ef(0x36b)]]];_0x4026ac[_0x5dc6ef(0x186)](this[_0x5dc6ef(0x1ea)],_0x4026ac['mergeOverrideWithDependencies'](_0x2d326f,(_0x17f289=this[_0x5dc6ef(0x381)])==null?void 0x0:_0x17f289[_0x5dc6ef(0x272)]));}['_registerRenderDependencies'](){const _0x107e21=_0x2c12e3;this[_0x107e21(0x34a)](this[_0x107e21(0x3ba)][_0x107e21(0x1b2)](_0x4026ac[_0x107e21(0x2a6)]['UNIVER_DOC'],[_0x4094ff])),this[_0x107e21(0x34a)](this[_0x107e21(0x3ba)][_0x107e21(0x1b2)](_0x4026ac[_0x107e21(0x2a6)][_0x107e21(0x1f7)],[_0x58fc55]));}[_0x2c12e3(0x209)](){const _0x1975ef=_0x2c12e3;_0x4026ac[_0x1975ef(0x37c)](this[_0x1975ef(0x1ea)],[[_0x1eb084],[_0x12c937[_0x1975ef(0x2a9)]],[_0x106e69],[_0x30a3e0],[_0x12c937['CollaborationDataLoaderController']]]);}},_0x34faea(_0x12c937[_0x2c12e3(0x382)],_0x2c12e3(0x188),_0x14d0a2),_0x12c937[_0x2c12e3(0x382)]=_0x259d69([_0x4026ac['DependentOn'](_0x2f4463['UniverCollaborationClientPlugin']),_0x2a6b95(0x1,_0x7ef3ee[_0x2c12e3(0x1a3)]),_0x2a6b95(0x2,_0x4026ac[_0x2c12e3(0x168)](_0x4026ac[_0x2c12e3(0x2ac)])),_0x2a6b95(0x3,_0x4026ac[_0x2c12e3(0x19d)])],_0x12c937[_0x2c12e3(0x382)]);var _0x16a32e=Object[_0x2c12e3(0x12c)],_0x464be3=(_0x19b87f,_0x3ec159,_0x1ebd0f,_0x1b0a36)=>{const _0x1195c2=_0x2c12e3;for(var _0xf451e7=_0x1b0a36>0x1?void 0x0:_0x1b0a36?_0x16a32e(_0x3ec159,_0x1ebd0f):_0x3ec159,_0x58a320=_0x19b87f[_0x1195c2(0x28e)]-0x1,_0x552448;_0x58a320>=0x0;_0x58a320--)(_0x552448=_0x19b87f[_0x58a320])&&(_0xf451e7=_0x552448(_0xf451e7)||_0xf451e7);return _0xf451e7;},_0x15d19c=(_0x547f19,_0x2c77f3)=>(_0xd7adc1,_0x475930)=>_0x2c77f3(_0xd7adc1,_0x475930,_0x547f19);_0x12c937[_0x2c12e3(0x1a0)]=class extends _0x2f4463['CollaborationSocketService']{constructor(_0x2419e1,_0x5d80fc,_0x46d438,_0xfcb007,_0x53cf44){super(_0x2419e1,_0x5d80fc,_0x46d438,_0xfcb007,_0x53cf44);}async[_0x2c12e3(0x18d)](_0x3cdfc3){const _0xfeceaf=_0x2c12e3,_0x3557aa=await this[_0xfeceaf(0x204)](),_0x3b241c=this[_0xfeceaf(0x216)](_0x3cdfc3,_0x3557aa);return this[_0xfeceaf(0x2b3)](_0x3b241c);}[_0x2c12e3(0x216)](_0x47c24d,_0x2f47df){const _0x53f4cf=_0x2c12e3,_0x1623bc=typeof window>'u'?new URL(_0x47c24d):new URL(_0x47c24d,window[_0x53f4cf(0x139)][_0x53f4cf(0x305)]);_0x1623bc[_0x53f4cf(0x246)]['set'](_0x53f4cf(0x239),_0x2f47df);const _0x2d0d7a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x53f4cf(0x139)][_0x53f4cf(0x33b)]);return _0x2d0d7a[_0x53f4cf(0x2e1)]('runId')&&_0x1623bc['searchParams'][_0x53f4cf(0x21d)](_0x53f4cf(0x1b8),_0x2d0d7a[_0x53f4cf(0x2e1)](_0x53f4cf(0x1b8))),_0x1623bc[_0x53f4cf(0x260)]();}async['_getSessionTicket'](){const _0xacfb13=_0x2c12e3;var _0x387c6d,_0x4973a2,_0x1339e3;const _0x5cf9b1=this[_0xacfb13(0x2e0)][_0xacfb13(0x1e1)](_0x2f4463[_0xacfb13(0x197)]),_0x3bfae7=(_0x387c6d=_0x5cf9b1==null?void 0x0:_0x5cf9b1[_0xacfb13(0x258)])!=null?_0x387c6d:_0x2f4463[_0xacfb13(0x140)];return(_0x1339e3=(_0x4973a2=(await this[_0xacfb13(0x39a)]['get'](_0x3bfae7,{'headers':{'Content-Type':'application/json'}}))[_0xacfb13(0x2ad)])==null?void 0x0:_0x4973a2[_0xacfb13(0x1c5)])!=null?_0x1339e3:'';}},_0x12c937[_0x2c12e3(0x1a0)]=_0x464be3([_0x15d19c(0x0,_0x4026ac[_0x2c12e3(0x168)](_0x4026ac['Injector'])),_0x15d19c(0x1,_0x4026ac[_0x2c12e3(0x168)](_0x28e500[_0x2c12e3(0x3b7)])),_0x15d19c(0x2,_0x4026ac[_0x2c12e3(0x19d)]),_0x15d19c(0x3,_0x4026ac[_0x2c12e3(0x163)]),_0x15d19c(0x4,_0x5c97ef[_0x2c12e3(0x2c4)])],_0x12c937[_0x2c12e3(0x1a0)]);const _0x33c74a=0x7530,_0x2a1a04='ACTIVE_UNIT_EVENT_CHANNEL';class _0x2d29e8 extends _0x4026ac[_0x2c12e3(0x26f)]{constructor(){const _0x17871b=_0x2c12e3;super(),_0x155617(this,'_id',_0x4026ac[_0x17871b(0x29c)]()),_0x155617(this,'_selfUnitIDs',new Set()),_0x155617(this,'_unitOnClients',new Map()),_0x155617(this,_0x17871b(0x35a),null),_0x155617(this,_0x17871b(0x150),new Map()),_0x155617(this,_0x17871b(0x373),new Map()),this[_0x17871b(0x38a)]();}[_0x2c12e3(0x36c)](){const _0x1b9d67=_0x2c12e3;super[_0x1b9d67(0x36c)](),this['_clearOtherTimers'][_0x1b9d67(0x3b9)]((_0x1cd2a0,_0x138948)=>this[_0x1b9d67(0x385)](_0x138948)),this[_0x1b9d67(0x35a)]&&window[_0x1b9d67(0x2ce)](this[_0x1b9d67(0x35a)]);}['getUnitStatus$'](_0x38d744){const _0x54f241=_0x2c12e3;return this[_0x54f241(0x1dc)](_0x38d744)[_0x54f241(0x32b)](_0x490568[_0x54f241(0x306)]());}[_0x2c12e3(0x24b)](_0x3e080c){const _0x4fc597=_0x2c12e3;this[_0x4fc597(0x2c0)]['size']===0x0&&this[_0x4fc597(0x31b)](),this[_0x4fc597(0x2c0)][_0x4fc597(0x28d)](_0x3e080c),this[_0x4fc597(0x2b2)]({'type':0x0,'memberID':this[_0x4fc597(0x267)],'unitIDs':[_0x3e080c],'isForwarded':!0x1});}[_0x2c12e3(0x182)](_0x2d6052){const _0x2580a8=_0x2c12e3;this[_0x2580a8(0x2c0)]['delete'](_0x2d6052),this[_0x2580a8(0x2c0)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x2580a8(0x2ce)](this[_0x2580a8(0x35a)]);}[_0x2c12e3(0x38a)](){const _0x770cab=_0x2c12e3;this['disposeWithMe'](_0x4026ac[_0x770cab(0x1a5)](_0x490568[_0x770cab(0x316)](window,_0x770cab(0x160))[_0x770cab(0x2a7)](_0x13cdf7=>{const _0x42474c=_0x770cab;if(_0x13cdf7[_0x42474c(0x2b5)]!==_0x2a1a04||!_0x13cdf7[_0x42474c(0x314)])return;const _0x32f637=JSON[_0x42474c(0x1cb)](_0x13cdf7['newValue']);this[_0x42474c(0x172)](_0x32f637);}))),window[_0x770cab(0x21a)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x770cab(0x267)],'unitIDs':Array[_0x770cab(0x277)](this[_0x770cab(0x2c0)])}));}[_0x2c12e3(0x172)](_0x48fb1f){const _0x467910=_0x2c12e3;switch(_0x48fb1f['type']){case 0x0:this[_0x467910(0x307)](_0x48fb1f);break;case 0x1:this[_0x467910(0x1f4)](_0x48fb1f);break;case 0x2:this[_0x467910(0x15d)](_0x48fb1f);break;}}[_0x2c12e3(0x307)](_0x3834d3){const _0x5ed53f=_0x2c12e3,{unitIDs:_0x2bd91d,memberID:_0x2cc486,isForwarded:_0x46af0b}=_0x3834d3;_0x2bd91d[_0x5ed53f(0x3b9)](_0x476d9f=>{const _0x1d36af=_0x5ed53f;if(!_0x46af0b&&this[_0x1d36af(0x2aa)]['has'](_0x476d9f)&&this[_0x1d36af(0x1dc)](_0x476d9f)[_0x1d36af(0x229)](_0x2f4463['UnitStatus'][_0x1d36af(0x230)]),!this[_0x1d36af(0x2aa)][_0x1d36af(0x199)](_0x476d9f)||!this[_0x1d36af(0x2aa)][_0x1d36af(0x2e1)](_0x476d9f)[_0x1d36af(0x199)](_0x2cc486)){const _0x58a654=this[_0x1d36af(0x2aa)][_0x1d36af(0x2e1)](_0x476d9f)||new Set();_0x58a654[_0x1d36af(0x28d)](_0x2cc486),this[_0x1d36af(0x2aa)]['set'](_0x476d9f,_0x58a654),this[_0x1d36af(0x21b)](_0x2cc486);}}),_0x46af0b||this['_send']({'type':0x0,'memberID':this[_0x5ed53f(0x267)],'unitIDs':[...this[_0x5ed53f(0x2c0)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x357685){const _0x49e5b6=_0x2c12e3;this[_0x49e5b6(0x385)](_0x357685);const _0x1b777d=window[_0x49e5b6(0x32c)](()=>{const _0x2304b6=_0x49e5b6;this['_unitOnClients'][_0x2304b6(0x3b9)](_0x3ab3ef=>{_0x3ab3ef['delete'](_0x357685);});},_0x33c74a*0x2);this[_0x49e5b6(0x150)]['set'](_0x357685,_0x1b777d);}['_removeClearOtherTimer'](_0x23dd6e){const _0x15ed8e=_0x2c12e3;if(this[_0x15ed8e(0x150)]['has'](_0x23dd6e)){const _0x16db63=this['_clearOtherTimers'][_0x15ed8e(0x2e1)](_0x23dd6e);_0x16db63&&window[_0x15ed8e(0x30d)](_0x16db63),this[_0x15ed8e(0x150)][_0x15ed8e(0x21d)](_0x23dd6e,null);}}[_0x2c12e3(0x1f4)](_0x26c685){const _0x23079b=_0x2c12e3,{memberID:_0x5e8ee3,unitIDs:_0x5052c6}=_0x26c685;_0x5052c6[_0x23079b(0x3b9)](_0x5b0808=>{const _0x50fbf0=_0x23079b;var _0x3b53fd;const _0x43e149=this['_unitOnClients'][_0x50fbf0(0x2e1)](_0x5b0808);_0x43e149&&(_0x43e149[_0x50fbf0(0x1b0)](_0x5e8ee3),(_0x3b53fd=this['_ensureSubject'](_0x5b0808))==null||_0x3b53fd['next'](_0x43e149[_0x50fbf0(0x187)]===0x0?_0x2f4463['UnitStatus'][_0x50fbf0(0x3a9)]:_0x2f4463[_0x50fbf0(0x3b6)][_0x50fbf0(0x230)]));}),this[_0x23079b(0x385)](_0x5e8ee3);}[_0x2c12e3(0x15d)](_0x1112f8){const _0x4f858e=_0x2c12e3;this[_0x4f858e(0x21b)](_0x1112f8[_0x4f858e(0x2c3)]);}['_send'](_0x51f245){const _0x1dcf86=_0x2c12e3;localStorage[_0x1dcf86(0x198)](_0x2a1a04,JSON[_0x1dcf86(0x1ca)](_0x51f245));}['_scheduleHeartbeat'](){const _0x5e4f1a=_0x2c12e3;this[_0x5e4f1a(0x35a)]=window[_0x5e4f1a(0x17b)](()=>{const _0x35c393=_0x5e4f1a;this['_send']({'type':0x2,'memberID':this[_0x35c393(0x267)]});},_0x33c74a);}[_0x2c12e3(0x1dc)](_0x18104f){const _0x3d8149=_0x2c12e3;return this[_0x3d8149(0x373)][_0x3d8149(0x199)](_0x18104f)||this['_unitStatus'][_0x3d8149(0x21d)](_0x18104f,new _0x490568[(_0x3d8149(0x222))](_0x2f4463[_0x3d8149(0x3b6)][_0x3d8149(0x3a9)])),this[_0x3d8149(0x373)][_0x3d8149(0x2e1)](_0x18104f);}}var _0x1e069a=(_0x4a2327=>(_0x4a2327[_0x4a2327['UNDEFINED']=0x0]=_0x2c12e3(0x3bb),_0x4a2327[_0x4a2327['OK']=0x1]='OK',_0x4a2327[_0x4a2327[_0x2c12e3(0x2d1)]=0x2]='INTERNAL_ERROR',_0x4a2327[_0x4a2327['PERMISSION_DENIED']=0x3]=_0x2c12e3(0x2ae),_0x4a2327[_0x4a2327[_0x2c12e3(0x362)]=0x4]=_0x2c12e3(0x362),_0x4a2327[_0x4a2327[_0x2c12e3(0x2dd)]=0x5]='UNAUTHENTICATED',_0x4a2327[_0x4a2327['ALREADY_EXISTS']=0x6]=_0x2c12e3(0x353),_0x4a2327[_0x4a2327[_0x2c12e3(0x36f)]=0x7]='INVALID_ARGUMENT',_0x4a2327[_0x4a2327[_0x2c12e3(0x34b)]=0x8]=_0x2c12e3(0x34b),_0x4a2327[_0x4a2327[_0x2c12e3(0x26b)]=0x9]=_0x2c12e3(0x26b),_0x4a2327[_0x4a2327[_0x2c12e3(0x31e)]=0xa]='LOGIN_FAILED',_0x4a2327[_0x4a2327['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2c12e3(0x342),_0x4a2327[_0x4a2327[_0x2c12e3(0x27b)]=0x1771]=_0x2c12e3(0x27b),_0x4a2327[_0x4a2327[_0x2c12e3(0x1e2)]=0x1772]=_0x2c12e3(0x1e2),_0x4a2327[_0x4a2327[_0x2c12e3(0x1bd)]=0x1773]=_0x2c12e3(0x1bd),_0x4a2327[_0x4a2327[_0x2c12e3(0x130)]=0x1b59]=_0x2c12e3(0x130),_0x4a2327[_0x4a2327[_0x2c12e3(0x25f)]=0x1b5a]=_0x2c12e3(0x25f),_0x4a2327[_0x4a2327[_0x2c12e3(0x36a)]=0x1b5b]=_0x2c12e3(0x36a),_0x4a2327[_0x4a2327['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2c12e3(0x31a),_0x4a2327[_0x4a2327[_0x2c12e3(0x33c)]=0x1b5d]=_0x2c12e3(0x33c),_0x4a2327[_0x4a2327[_0x2c12e3(0x240)]=0x1f41]=_0x2c12e3(0x240),_0x4a2327[_0x4a2327[_0x2c12e3(0x190)]=0x2329]=_0x2c12e3(0x190),_0x4a2327[_0x4a2327['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x2c12e3(0x1c6),_0x4a2327[_0x4a2327[_0x2c12e3(0x3ac)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4a2327[_0x4a2327[_0x2c12e3(0x132)]=0x232c]=_0x2c12e3(0x132),_0x4a2327[_0x4a2327[_0x2c12e3(0x28f)]=0x232d]=_0x2c12e3(0x28f),_0x4a2327[_0x4a2327['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4a2327[_0x4a2327[_0x2c12e3(0x355)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4a2327[_0x4a2327['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4a2327[_0x4a2327['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4a2327[_0x4a2327[_0x2c12e3(0x24e)]=0x271a]=_0x2c12e3(0x24e),_0x4a2327[_0x4a2327[_0x2c12e3(0x38e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4a2327[_0x4a2327[_0x2c12e3(0x31d)]=0x271c]=_0x2c12e3(0x31d),_0x4a2327[_0x4a2327[_0x2c12e3(0x380)]=0x271d]=_0x2c12e3(0x380),_0x4a2327[_0x4a2327['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4a2327[_0x4a2327[_0x2c12e3(0x298)]=0x271f]=_0x2c12e3(0x298),_0x4a2327[_0x4a2327[_0x2c12e3(0x18a)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4a2327[_0x4a2327[_0x2c12e3(0x34f)]=0x2ee1]=_0x2c12e3(0x34f),_0x4a2327[_0x4a2327[_0x2c12e3(0x25b)]=0x2ee2]=_0x2c12e3(0x25b),_0x4a2327[_0x4a2327[_0x2c12e3(0x33a)]=0x2ee3]=_0x2c12e3(0x33a),_0x4a2327[_0x4a2327[_0x2c12e3(0x175)]=0x2ee4]=_0x2c12e3(0x175),_0x4a2327[_0x4a2327[_0x2c12e3(0x3b0)]=0x2ee5]=_0x2c12e3(0x3b0),_0x4a2327[_0x4a2327[_0x2c12e3(0x124)]=0x32c9]=_0x2c12e3(0x124),_0x4a2327[_0x4a2327[_0x2c12e3(0x284)]=0x32ca]=_0x2c12e3(0x284),_0x4a2327[_0x4a2327[_0x2c12e3(0x273)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4a2327[_0x4a2327[_0x2c12e3(0x360)]=-0x1]='UNRECOGNIZED',_0x4a2327))(_0x1e069a||{}),_0x1634cc=Object[_0x2c12e3(0x12c)],_0x26d24d=(_0xa1f058,_0x372d32,_0x45c1ee,_0x281f80)=>{for(var _0x5a7e8b=_0x281f80>0x1?void 0x0:_0x281f80?_0x1634cc(_0x372d32,_0x45c1ee):_0x372d32,_0x331b39=_0xa1f058['length']-0x1,_0x406195;_0x331b39>=0x0;_0x331b39--)(_0x406195=_0xa1f058[_0x331b39])&&(_0x5a7e8b=_0x406195(_0x5a7e8b)||_0x5a7e8b);return _0x5a7e8b;},_0xe63227=(_0x47997e,_0x5cddc9)=>(_0x3b5f6e,_0x19819a)=>_0x5cddc9(_0x3b5f6e,_0x19819a,_0x47997e);_0x12c937[_0x2c12e3(0x3a0)]=class extends _0x4026ac[_0x2c12e3(0x26f)]{constructor(_0x50fe2c,_0x69b52,_0xdf3bd2){const _0x3669ef=_0x2c12e3;super(),this[_0x3669ef(0x2a4)]=_0x50fe2c,this['_httpService']=_0x69b52,this['_configService']=_0xdf3bd2;}async['runOnServer'](_0x561cde,_0x38e31a,_0x5b9297,..._0x50abab){const _0xe1534=_0x2c12e3;var _0x17c9c0,_0x1f04b3,_0x5d22eb,_0x1b5bd7;const _0x5728a3=this[_0xe1534(0x2a4)][_0xe1534(0x16d)]();if(!_0x5728a3)throw new Error(_0xe1534(0x29a));const _0x4290a3=((_0x17c9c0=this[_0xe1534(0x2e0)]['getConfig'](_0x2f4463[_0xe1534(0x1d8)]))!=null?_0x17c9c0:_0x2f4463[_0xe1534(0x14c)])+'/'+_0x561cde+_0xe1534(0x35d)+_0x38e31a,_0x40f30f=new URL(window[_0xe1534(0x139)][_0xe1534(0x29e)]),_0x2b202f={'scriptId':_0x561cde,'runId':(_0x1f04b3=_0x40f30f[_0xe1534(0x246)][_0xe1534(0x2e1)](_0xe1534(0x1b8)))!=null?_0x1f04b3:'','function':_0x38e31a,'unitId':_0x5728a3['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x50abab),'invokeId':(_0x5d22eb=_0x5b9297[_0xe1534(0x2f5)])!=null?_0x5d22eb:'','executionId':(_0x1b5bd7=_0x5b9297[_0xe1534(0x334)])!=null?_0x1b5bd7:''};try{const _0xb35271=await this[_0xe1534(0x39a)][_0xe1534(0x2a3)](_0x4290a3,{'body':_0x2b202f});return _0xb35271['body']['error']&&_0xb35271[_0xe1534(0x2ad)][_0xe1534(0x295)][_0xe1534(0x309)]!==_0x1e069a['OK']?_0xe1534(0x2e4):_0xb35271['body'][_0xe1534(0x35f)];}catch{return _0xe1534(0x2e4);}}},_0x12c937[_0x2c12e3(0x3a0)]=_0x26d24d([_0xe63227(0x0,_0x4026ac[_0x2c12e3(0x2d2)]),_0xe63227(0x1,_0x4026ac[_0x2c12e3(0x168)](_0x28e500[_0x2c12e3(0x3b7)])),_0xe63227(0x2,_0x4026ac['IConfigService'])],_0x12c937[_0x2c12e3(0x3a0)]),_0x12c937[_0x2c12e3(0x365)]=_0x583fb1,_0x12c937[_0x2c12e3(0x27f)]=_0x4b733c,_0x12c937['SheetCollabCursorShape']=_0x2fb9dc,_0x12c937[_0x2c12e3(0x37a)]=_0x2d29e8,_0x12c937[_0x2c12e3(0x144)]=_0x44bdf5,Object[_0x2c12e3(0x133)](_0x12c937,Symbol['toStringTag'],{'value':'Module'});}));
|