@univerjs-pro/collaboration-client-ui 0.12.3 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/en-US.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4915(){const _0x2515b2=['session.connection-failed','getCurrentSelections','includes','functionsExecutedState','triggerDblclick','_memberService','_commandService','APPLY_PERMISSION_DENIED','formula.calculation.unable','_onCursorUpdate','evenodd','touchDependencies','getSheetId','ACTIVE_UNIT_EVENT_CHANNEL','UniverInstanceType','_cursor','unitID','INotificationService','_memberID','reason','handleIRemoveCol','_updateSubUnitFromURLParams','url(#off-line-icon_clip0_910_343)','bind','CollaborationSocketService','ONLINE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collabStatus.fetchMiss','_hasFormulaInDirtyRanges','ISocketService','collabStatus.synced','Rectangle','code','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_syncEditingCollabCursorService','UniverSheetsUi','_roomMembers$','_scheduleSaving','Error','YUUMI_CONNECTOR_URL_NOT_FOUND','ranges','USER_NOT_FOUND','handleInsertRangeMoveRight','M0\x200H16V16H0z','_disabled','collaboration.single-unit.warning','runOnServer','transformIMECache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SheetsSelectionsService','_uiPartsService','_univerInstanceService','storage','_colorAssignService','removeEventListener','Rect','fillText','_themeService','TEXT_RANGE_LAYER_INDEX','rxjs','setAlpha','REDEMPTION_USER_NOT_ELIGIBLE','useObservable','_entities','ILogService','collabStatus.syncing','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformIMECacheService','override','range','top','Injector','startRow','_configService','UniverCore','none','ColorKit','getCellMatrix','@univerjs/network','getCurrent','_config','_backgroundColor','LOCAL_CACHE_INTERVAL_KEY','deepClone','_online','unit','defs','_beforeCloseService','IUniverInstanceService','RichTextEditingMutation','getRenderById','217255BjcNwj','saveTaskMap','href','imageSourceType','disableLocalCache','object','_setFormulaLimitStatus','function','getUnitStatus$','textRanges','trim','LOGIN_TOKEN_PROCESSING_FAILED','MOBILE_HAS_BEEN_BOUND','REDEMPTION_CODE_INACTIVE','7532343bKFSqi','1em','forEach','_imageIoService','univerjs-icon\x20univerjs-icon-','from','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/universer-api/license/formula/limit/start','getVpScrollXYInfoByPosToVp','restore','RxDisposable','_createSocketURL','...','_initDependencies','CONNECTOR_DATA_TOO_LARGE','COLORS','roomMembers','permission.content','registerRenderModule','collaboration-client-ui.config','YUUMI_ALL_TABLES_IS_INVALID','getSkeleton','off-line-icon_clip0_910_343','CollaborationSessionService','WECHAT_HAS_BEEN_BOUND','MOBILE_VERIFY_CODE_MISMATCH','UniverRpc','UPDATE_CURSOR','limitInfo','OTHER_CLIENT_EDITING','_dataLoaderService','CONFLICT','_color','UniverIcon','FormulaExecutedStateType','source','SUCCESS','IMessageService','post','transform','_httpService','replace','_messageService','_lastResponseTimestamp','Failed','_getMergeRange','resize','collaboration-client.offline-data-not-saved','formula.calculation.waiting','init','VIEW_MAIN','_collaborationUIEventService','bottom','translate(.97)','getMemberID','HTTPService','createSocket','_clearOtherTimers','_getScale','assignAColorForMemberID','InsertRowCommandId','ENSURE_SNAPSHOT_EXECUTION','connectInjector','operators','mutations','getUndoRedoMutationParamsCache','_lastPointer','getAncestorScale','serializeRangeWithSheet','[LogService\x20Error]:\x20','Optional','onMouseMove','_heartbeatTimer','Inject','subscribe','jsx','DocStateChangeManagerService','setParam','_removeCollabCursors','INVITE_CODE_HAS_BEEN_UES','displayName','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','children','CollaborationUIEventService','replaceState','unitId','Shape','currentColor','getFocusedUnit','totalFormulasToCalculate','_injector','BehaviorSubject','hovered','ILocalCacheService','DisposableCollection','size','collabStatus.conflict','_collabCursorController','UniverNetwork','REDEMPTION_CODE_NOT_STARTED','UniverUi','_shapes','CollaborationController','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','HEADER_MENU','takeUntil','transformMutation','START_CALCULATION','addObjects','[Window\x20Error]:\x20','event$','_handleEvent','_assignedColors','ENTITLE_REPORT_LIMIT_EXCEED','react/jsx-runtime','MUTATION','now','http://www.w3.org/2000/svg','getMember','_saveCache','4OwGOzr','_initUserListener','_checkAndWaitForCalculationPermission','getUnitId','redoState','DocSkeletonManagerService','findNodePositionByCharIndex','asObservable','YUUMI_SUBSCRIPTION_NOT_FOUND','AUTHORIZE_CODE_ILLEGAL','OnLineIcon','getCollabCursors$','IConfigService','@univerjs/design','isTransformMutationFailure','_docTransformStateCacheService','defineProperty','currentUsage','REDEMPTION_CODE_HAS_BEEN_CREATED','SetWorksheetActivateCommand','_initWindowErrorListener','_scheduleClearOtherTimer','_entityInit$','getActiveSheet','DependentOn','Tools','onStarting','substring','origin','isArray','updateOfflineData','BuiltInUIPart','width','_registerDependencies','IRenderManagerService','DesktopCollaborationStatusDisplayController','4540316FEvePy','shareReplay','UniverSheets','off-line-icon','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','REDEMPTION_INVALID_CODE','history','svg','_initCommandInterceptor','sessionStatus$','executionId','searchParams','max','_getSessionTicket','m1Prime','_textBubble','getCollabEntity$','drawWith','row','collaboration.closeRoom','disposeWithMe','getColor','parseInt','currentSkeleton$','_updateURLWithCurrentState','onPointerLeave$','text','OFFLINE','useDependency','_cursors','WebSocketService','INVALID_ARGUMENT','getRelativeToViewportCoord','formula.calculation.started','SNAPSHOT_HAS_BEEN_REMOVED','beginPath','stage','beforeCommandExecuted','toRgbString','_transformUndoRedoStack','YUUMI_RATE_OVER_LIMIT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','/universer-api/frontend/logs','unshift','_collabCursorState$','isFormulaString','CommandType','createInstance','FETCH_MISS','SHEET_VIEWPORT_KEY','roomMembers$','_eventUnsubscribe','_init','registerRefRange','colno','TEXT','contains','SetSelectionsOperation','use','RemoveColCommandId','CHANGESET_REVISION_CONFILICT','send','getTypeOfUnitDisposed$','focused$','_collaborationSessionService','map','5456320dylzjd','_ensureSubject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','subunit','handleDeleteRangeMoveUp','747936XgwjBh','_refreshCollabCursors','_uploadLog','subscribeEvent','DocSelectionManagerService','_getAnchorBounding','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_anchorDot','_urlService','fillStyle','saveOfflineData','registerBeforeClose','IRemoteInstanceService','on-line-icon_clip0_910_349','onPointerEnter$','_initStatusListener','handleInsertRangeMoveDown','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2017\x2016','_hovered','unhandledrejection','with','_labelPosition','collab-client.tooltip.reconnect','path','_saveTaskMap','_getFormulaLimitStatus','entries','YUUMI_ASYNCIO_CANCELLED','filter','data','YUUMI_NO_CUBOID_FOR_QUESTION','_name','_collaborationController','sessionTicket','PERMISSION_DENIED','FromArray','onLocalMutation','INVALID_INVITE_CODE','_localStorageService','UniverProCollaborationClientUi','SUBMIT_CHANGESET_TIMEOUT','actions','split','combineLatest','EMAIL_VERIFY_CODE_MISMATCH','UNDEFINED','_initEvent','dispose$','clearTimeout','_registerRenderDependencies','DATA_SOURCE_TOO_LARGE','some','ENTITLE_NEED_BILLING_ADDRESS','toString','stageInfo','UnitStatus','generateRandomId','startColumn','socket$','useRef','_id','_toggleOnline','deserializeRangeWithSheet','ITransformService','UNAUTHENTICATED','_updateLocalCursor','_notificationService','enableFrontendLog','ticket','handleMoveRange','PY_RUNTIME_SCRIPT_ERROR','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getRangePointData','APPLY_DUPLICATED','_revisionService','_docTransformSelectionsService','onPointerMove$','LOGIN_FAILED','session.will-retry','_maxFormulaLimit','type','LocaleService','1160667Bhszou','colorChannel1','url(#$1','_setupBeforeClosingHandler','transformRemoteChangeset','defIds','_hover','clsx','_initEntityListener','color','EffectRefRangId','UniverDrawing','_cursorShapes','fromEventSubject','LICENSE_EXPORT_SIZE_EXCEEDED','[Unhandled\x20Rejection]:\x20','getParam','isFormulaId','SOCKET_FAILED','releaseFormulaLimitUrl','InsertRangeMoveRightCommandId','_refRangeService','Subject','NOT_FOUND','_sheetSkeletonManagerService','@univerjs-pro/collaboration-client','ALREADY_EXISTS','getCurrentRevOfUnit','RECT','Module','DocIMEInputManagerService','values','YUUMI_UNABLE_LOAD_URL','_transformPreviousActiveRange','univer-mr-2\x20univer-flex\x20univer-text-xl','get','getUnit','setStateCache','measureText','black','runId','Warning','_unitOnClients','m2Prime','getformulaLimitStatusUrl','reconnect','FormulaExecuteStageType','IURLService','@univerjs/docs-ui','whenReady','setShapeProps','_removeClearOtherTimer','syncEditingCollabCursor','cursorInfo','_startCalculationLimit','rxjs/operators','YUUMI_AI_RUN_FAILED','@univerjs/sheets-ui','getConfig','_checkCalculationAvailable','DOC_RANGE_TYPE','_handleHover','APPLY_NON_SEQUENTIAL_REVISION','_docClipboardService','COMPLETION_FINISHED','key','_localCacheService','entityInit$','_context','parse','_docSkeletonManagerService','CollaborationEvent','_transformHistoryAndStateStack','cursorInfo$','LICENSE_DISTRO_REJECTED','_drawRectRange','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','backgroundColor','CURRENT_STATUS_CANNOT_OPERATE','show','setUndoRedoMutationParamsCache','undoState','54skcZHl','_initCommandExecutedListener','complete','endRow','onTransformChange$','_initStatusComponent','INTERNAL_ERROR','PENDING','USER_IS_ANONYMOUS','SetFormulaCalculationStartMutation','_docSyncEditingCollabCursorService','attrs','getStateCache','isTransformMutationsWithChangesetSuccess','exhaustSavingTask','_setupSubUnitSync','delete','eventID','UNIVER_SHEET','NOT_COLLAB','@univerjs/ui','requireSession','handleInsertRow','_collabSessionService','switchMap','[CollaborationDataLoaderController]','_logService','red.300','application/json','_cachedData','getValue','_doCreateSocket','fillRule','Success','subUnitId','MemberService','selection','getOwnPropertyDescriptor','getViewport','mergeOverrideWithDependencies','_unitStatus','body','removeParam','jsxs','LOCAL_CACHE_INTERVAL','JOIN_ROOM_FAILED','CollaborationStatus','_drawAnchor','xlink:href','SYNCED','RemoteUniscriptService','endColumn','getItem','@univerjs/engine-render','CollaborationUIEventId','message','_handleLeaveEvent','result','_currentUsage','docStateChange$','onCommandExecuted','selections','_onCursorDelete','CLOSE_ROOM','error','APPLY_REVISION_CONFILICT','_transformService','Vector2','handleInsertCol','ENTITLE_CHAT_LIMIT_EXCEED','INVITE_CODE_REQUIRED','white','/universer-api/license/formula/limit/status','BrowserCollaborationSocketService','stack','WebURLService','getTypeOfUnitAdded$','getUniverSheetInstance','newValue','collabStatus.offline','SetDocZoomRatioOperation','_releaseCalculationLimit','USER_NOT_INVITED_CODE','dispose','_startDocCollabCursor','flatMap','_pollingInterval','UNIVER_DOC','MessageType','NO_OTHER_CLIENTS_EDITING','idSuffix','next','getActiveRange','getColorFromTheme','collabCursorState$','startFormulaLimitUrl','LICENSE_MAX_UNITS_EXCEEDED','hide','1775736DzsqWW','setActiveRange','editingUnit','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_status$','RegularPolygon','_scene','isActive','arc','setConfig','react','addObject','stringify','transformSelections','params','createIdentifier','useCallback','CollaborationDataLoaderController','APPLY_REJECT','OTHER_CLIENTS_EDITING','lineno','setInterval','createElement','then','distinctUntilChanged','purple.300','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','add','_onRefRangeChange','EMAIL_HAS_BEEN_BOUND','_taskIds','IImageIoService','symbol','_initResize','has','tag','_range','ENTITLE_CAN_NOT_BUY_LOWER_OTP','unload','MoveRangeCommandId','ENTITLE_DUP_SUBSCRIPTION','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','React','UniverEngineFormula','_monkeyPatchLogService','SheetCollabCursorShape','_docStateChangeManagerService','addEventListener','_document','_toggleOffline','UniverDocsUi','fromEvent','setTimeout','string','getCoordByCell','push','moveTo','getMergeData','LICENSE_IMPORT_SIZE_EXCEEDED','UniverDocs','set','_session','debounce','debounceTime','catch','REDEMPTION_CODE_FULLY_REDEEMED','UniverCollaborationClientUIPlugin','round','ICommandService','executeCommand','makeDirty','getUnhiddenWorksheets','assign','blue.400','SessionStatus','TOO_MANY_REQUESTS','min','mapTo','green.600','UNRECOGNIZED','addHandlerCallback','div','_handleJoinEvent','forwardRef','_cursorInfo$','merge','unsubscribe','getDocRanges','session.collaboration-timeout','NodePositionConvertToRectRange','clipPath','_hideTimer','@univerjs/drawing','memberID','clearInterval','Tooltip','maxFormulaLimit','_updateCollabCursors','getSheetBySheetId','_renderManagerService','_scheduleHeartbeat','_anchor','_render','mask','urlChange$','IUIPartsService','_getSaveTimeout','toDisposable','_selfUnitIDs','UniverEngineRender','INVITE_CODE_ALREADY_BOUND','replaceDocRanges','RefRangeService','height','currentTheme$','setItem','@univerjs/sheets','InsertColCommandId','_localeService','pipe','save','_draw','\x20at\x20','_colorIndex','column','length','_initUnhandledRejectionListener','SOCKET_FAILED_RETRY','_drawTextRange','popstate','DeleteRangeMoveLeftCommandId','lineTo','location','pushState','doc.mutation.rich-text-editing','name','Disposable','fill','getLocalCacheKey','_send'];_0x4915=function(){return _0x2515b2;};return _0x4915();}function _0x1ae4(_0x1036b1,_0xdb132a){const _0x4915b4=_0x4915();return _0x1ae4=function(_0x1ae484,_0x48d759){_0x1ae484=_0x1ae484-0x90;let _0x3d303e=_0x4915b4[_0x1ae484];return _0x3d303e;},_0x1ae4(_0x1036b1,_0xdb132a);}(function(_0x4b9f7a,_0x4e7b1f){const _0x5c03cf=_0x1ae4,_0xc4520d=_0x4b9f7a();while(!![]){try{const _0x3956d0=parseInt(_0x5c03cf(0x118))/0x1+-parseInt(_0x5c03cf(0xad))/0x2*(-parseInt(_0x5c03cf(0x16b))/0x3)+-parseInt(_0x5c03cf(0xd1))/0x4+-parseInt(_0x5c03cf(0x306))/0x5*(-parseInt(_0x5c03cf(0x1bd))/0x6)+-parseInt(_0x5c03cf(0x314))/0x7+parseInt(_0x5c03cf(0x113))/0x8+parseInt(_0x5c03cf(0x21f))/0x9;if(_0x3956d0===_0x4e7b1f)break;else _0xc4520d['push'](_0xc4520d['shift']());}catch(_0x2a3fdd){_0xc4520d['push'](_0xc4520d['shift']());}}}(_0x4915,0x8dd7d),function(_0x3b2618,_0x2efe3d){const _0x1f3a5b=_0x1ae4;typeof exports==_0x1f3a5b(0x30b)&&typeof module<'u'?_0x2efe3d(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x1f3a5b(0x30d)&&define['amd']?define(['exports',_0x1f3a5b(0xa7),_0x1f3a5b(0x184),'@univerjs/core',_0x1f3a5b(0x1d1),_0x1f3a5b(0x2e6),_0x1f3a5b(0xba),_0x1f3a5b(0x229),'@univerjs/rpc',_0x1f3a5b(0x293),_0x1f3a5b(0x1f2),_0x1f3a5b(0x2f9),_0x1f3a5b(0x19b),_0x1f3a5b(0x27b),'@univerjs-pro/collaboration','@univerjs/docs','@univerjs/engine-formula',_0x1f3a5b(0x1a2),_0x1f3a5b(0x1a4)],_0x2efe3d):(_0x3b2618=typeof globalThis<'u'?globalThis:_0x3b2618||self,_0x2efe3d(_0x3b2618[_0x1f3a5b(0x140)]={},_0x3b2618['React'],_0x3b2618['UniverProCollaborationClient'],_0x3b2618[_0x1f3a5b(0x2f5)],_0x3b2618[_0x1f3a5b(0x99)],_0x3b2618[_0x1f3a5b(0x2e6)],_0x3b2618['UniverDesign'],_0x3b2618[_0x1f3a5b(0x249)],_0x3b2618[_0x1f3a5b(0x32e)],_0x3b2618[_0x1f3a5b(0xd3)],_0x3b2618[_0x1f3a5b(0x28c)],_0x3b2618[_0x1f3a5b(0x97)],_0x3b2618[_0x1f3a5b(0x251)],_0x3b2618[_0x1f3a5b(0x176)],_0x3b2618['UniverProCollaboration'],_0x3b2618[_0x1f3a5b(0x25a)],_0x3b2618[_0x1f3a5b(0x24a)],_0x3b2618[_0x1f3a5b(0x2e6)][_0x1f3a5b(0x353)],_0x3b2618[_0x1f3a5b(0x2ce)]));}(this,function(_0x440074,_0x54094d,_0x29cbea,_0x4a5a1c,_0x270495,_0x8d94e0,_0x67c92c,_0x3728a4,_0xa7700f,_0x48c182,_0x5d2f68,_0xbeb642,_0x22126e,_0x1954a8,_0x4a6bb0,_0x5afd4e,_0x419491,_0x5d0515,_0x14ceff){'use strict';const _0x22d19e=_0x1ae4;var _0x23d957=Object[_0x22d19e(0xbd)],_0x1330f8=(_0x11b2ec,_0x320e19,_0x5b03dc)=>_0x320e19 in _0x11b2ec?_0x23d957(_0x11b2ec,_0x320e19,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b03dc}):_0x11b2ec[_0x320e19]=_0x5b03dc,_0xa63e61=(_0x3a2d11,_0x3be269,_0x20baab)=>_0x1330f8(_0x3a2d11,typeof _0x3be269!=_0x22d19e(0x23f)?_0x3be269+'':_0x3be269,_0x20baab);function _0x318455({ref:_0x573b24,..._0x5edf2d}){const _0x5a6d2a=_0x22d19e,{icon:_0x21b538,id:_0x20721a,className:_0x9f022a,extend:_0x255331,..._0x5d9e3f}=_0x5edf2d,_0x2203d9=(_0x5a6d2a(0x318)+_0x20721a+'\x20'+(_0x9f022a||''))[_0x5a6d2a(0x310)](),_0x289d=_0x3728a4[_0x5a6d2a(0x154)]('_'+_0x27e521());return _0x1e0ea2(_0x21b538,''+_0x20721a,{'defIds':_0x21b538[_0x5a6d2a(0x170)],'idSuffix':_0x289d['current']},{'ref':_0x573b24,'className':_0x2203d9,..._0x5d9e3f},_0x255331);}function _0x1e0ea2(_0x4bd170,_0x3f8811,_0x14644f,_0x563df1,_0x34bd43){const _0x3b38e3=_0x22d19e;return _0x3728a4[_0x3b38e3(0x235)](_0x4bd170['tag'],{'key':_0x3f8811,..._0x50e694(_0x4bd170,_0x14644f,_0x34bd43),..._0x563df1},(_0x30bd2f(_0x4bd170,_0x14644f)[_0x3b38e3(0x366)]||[])[_0x3b38e3(0x112)]((_0x4e6657,_0x36a2ba)=>_0x1e0ea2(_0x4e6657,_0x3f8811+'-'+_0x4bd170['tag']+'-'+_0x36a2ba,_0x14644f,void 0x0,_0x34bd43)));}function _0x50e694(_0x2f22d9,_0x41e017,_0x4c37b4){const _0x444033=_0x22d19e,_0x5e56d0={..._0x2f22d9[_0x444033(0x1c8)]};_0x4c37b4!=null&&_0x4c37b4[_0x444033(0x16c)]&&_0x5e56d0['fill']==='colorChannel1'&&(_0x5e56d0[_0x444033(0x2a8)]=_0x4c37b4['colorChannel1']),_0x2f22d9['tag']===_0x444033(0x286)&&_0x5e56d0['id']&&(_0x5e56d0['id']=_0x5e56d0['id']+_0x41e017[_0x444033(0x217)]),Object['entries'](_0x5e56d0)[_0x444033(0x316)](([_0x5d0914,_0x262066])=>{const _0x4d48b5=_0x444033;_0x5d0914===_0x4d48b5(0x286)&&typeof _0x262066==_0x4d48b5(0x254)&&(_0x5e56d0[_0x5d0914]=_0x262066[_0x4d48b5(0x33d)](/url\(#(.*)\)/,_0x4d48b5(0x16d)+_0x41e017['idSuffix']+')'));});const {defIds:_0x243c85}=_0x41e017;return!_0x243c85||_0x243c85['length']===0x0||(_0x2f22d9[_0x444033(0x242)]===_0x444033(0x10b)&&_0x5e56d0['xlink:href']&&(_0x5e56d0[_0x444033(0x1ed)]=_0x5e56d0['xlink:href']+_0x41e017[_0x444033(0x217)]),Object[_0x444033(0x133)](_0x5e56d0)[_0x444033(0x316)](([_0x29b0db,_0x1cdaa5])=>{const _0x16eb09=_0x444033;typeof _0x1cdaa5==_0x16eb09(0x254)&&(_0x5e56d0[_0x29b0db]=_0x1cdaa5['replace'](/url\(#(.*)\)/,_0x16eb09(0x16d)+_0x41e017['idSuffix']+')'));})),_0x5e56d0;}function _0x30bd2f(_0x16114f,_0x1862ec){const _0x4c2278=_0x22d19e;var _0xa1ad79;const {defIds:_0x1a890a}=_0x1862ec;return!_0x1a890a||_0x1a890a[_0x4c2278(0x29c)]===0x0?_0x16114f:_0x16114f[_0x4c2278(0x242)]===_0x4c2278(0x301)&&((_0xa1ad79=_0x16114f[_0x4c2278(0x366)])!=null&&_0xa1ad79[_0x4c2278(0x29c)])?{..._0x16114f,'children':_0x16114f[_0x4c2278(0x366)]['map'](_0x2ca2da=>typeof _0x2ca2da[_0x4c2278(0x1c8)]['id']==_0x4c2278(0x254)&&_0x1a890a&&_0x1a890a[_0x4c2278(0x2ad)](_0x2ca2da[_0x4c2278(0x1c8)]['id'])?{..._0x2ca2da,'attrs':{..._0x2ca2da['attrs'],'id':_0x2ca2da[_0x4c2278(0x1c8)]['id']+_0x1862ec['idSuffix']}}:_0x2ca2da)}:_0x16114f;}function _0x27e521(){const _0x2688af=_0x22d19e;return Math['random']()[_0x2688af(0x14e)](0x24)[_0x2688af(0xc8)](0x2,0x8);}_0x318455[_0x22d19e(0x364)]=_0x22d19e(0x335);const _0x2184c1={'tag':'svg','attrs':{'xmlns':_0x22d19e(0xaa),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x22d19e(0x315),'height':_0x22d19e(0x315)},'children':[{'tag':'g','attrs':{'clipPath':_0x22d19e(0x2c1)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x22d19e(0x9c),'strokeLinecap':'round','strokeLinejoin':_0x22d19e(0x262),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x22d19e(0x279),'attrs':{'id':_0x22d19e(0x32a)},'children':[{'tag':_0x22d19e(0x130),'attrs':{'fill':_0x22d19e(0x204),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x22d19e(0x32a)]},_0x81dcf2=_0x3728a4[_0x22d19e(0x272)](function(_0x3143c2,_0x56887c){const _0x599dcf=_0x22d19e;return _0x3728a4['createElement'](_0x318455,Object['assign']({},_0x3143c2,{'id':_0x599dcf(0xd4),'ref':_0x56887c,'icon':_0x2184c1}));});_0x81dcf2['displayName']='OffLineIcon';const _0x1b6a09={'tag':_0x22d19e(0xd8),'attrs':{'xmlns':_0x22d19e(0xaa),'fill':_0x22d19e(0x2f6),'viewBox':_0x22d19e(0x12a),'width':_0x22d19e(0x315),'height':_0x22d19e(0x315)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x22d19e(0x130),'attrs':{'stroke':_0x22d19e(0x36b),'d':_0x22d19e(0x1b7),'strokeLinecap':_0x22d19e(0x262),'strokeLinejoin':_0x22d19e(0x262),'strokeWidth':1.2}}]},{'tag':_0x22d19e(0x301),'attrs':{},'children':[{'tag':_0x22d19e(0x279),'attrs':{'id':_0x22d19e(0x125)},'children':[{'tag':'path','attrs':{'fill':_0x22d19e(0x204),'d':_0x22d19e(0x2d6),'transform':_0x22d19e(0x349)}}]}]}],'defIds':[_0x22d19e(0x125)]},_0x34b6b5=_0x3728a4['forwardRef'](function(_0x1b8960,_0x26ab7d){const _0x383d42=_0x22d19e;return _0x3728a4['createElement'](_0x318455,Object[_0x383d42(0x267)]({},_0x1b8960,{'id':'on-line-icon','ref':_0x26ab7d,'icon':_0x1b6a09}));});_0x34b6b5[_0x22d19e(0x364)]=_0x22d19e(0xb7);function _0x2ec0b1(_0x3b13b5){const _0x423fee=_0x22d19e;switch(_0x3b13b5){case _0x29cbea['CollaborationStatus'][_0x423fee(0xec)]:return _0x423fee(0x20c);case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x333)]:return _0x423fee(0x95);case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x101)]:return _0x423fee(0x2c6);case _0x29cbea['CollaborationStatus'][_0x423fee(0x1d0)]:return'collabStatus.notCollab';case _0x29cbea[_0x423fee(0x1eb)]['AWAITING']:case _0x29cbea['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x423fee(0x2ec);case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x1ee)]:case _0x29cbea[_0x423fee(0x1eb)][_0x423fee(0x1c4)]:return _0x423fee(0x2c9);}}function _0x1117e8(_0x4adb36){const _0x1bd57b=_0x22d19e,{status$:_0x30c60f}=_0x4adb36,_0x2954c3=_0x270495[_0x1bd57b(0x2e9)](_0x30c60f,_0x29cbea[_0x1bd57b(0x1eb)][_0x1bd57b(0x1d0)]),_0x220e44=_0x270495[_0x1bd57b(0xed)](_0x4a5a1c['LocaleService']),_0x2de525=_0x270495[_0x1bd57b(0xed)](_0x29cbea[_0x1bd57b(0x32b)]),_0x52723e=_0x2954c3!==_0x29cbea[_0x1bd57b(0x1eb)][_0x1bd57b(0xec)],_0x298913=_0x220e44['t'](_0x2ec0b1(_0x2954c3)),_0xc417c4=_0x52723e?_0x54094d[_0x1bd57b(0x35f)](_0x34b6b5,{}):_0x54094d['jsx'](_0x81dcf2,{}),_0x2d274f=_0x3728a4[_0x1bd57b(0x22f)](()=>{const _0x5aa915=_0x1bd57b;_0x52723e||_0x2de525[_0x5aa915(0x198)]();},[_0x52723e,_0x2de525]);function _0x1097cb(){const _0x35bc59=_0x1bd57b;return _0x54094d[_0x35bc59(0x1e8)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x2d274f,'children':[_0x54094d['jsx'](_0x35bc59(0x270),{'className':_0x67c92c[_0x35bc59(0x172)](_0x35bc59(0x18d),{'univer-text-green-500':_0x52723e,'univer-text-red-500':!_0x52723e}),'children':_0xc417c4}),_0x54094d[_0x35bc59(0x35f)](_0x35bc59(0x270),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x298913})]});}return _0x52723e?_0x1097cb():_0x54094d[_0x1bd57b(0x35f)](_0x67c92c[_0x1bd57b(0x27e)],{'title':_0x220e44['t'](_0x1bd57b(0x12f)),'children':_0x1097cb()});}var _0x1f95d9=Object[_0x22d19e(0x1e2)],_0x3de216=(_0x6eadce,_0x2738a2,_0x1d4c75,_0x5c5b2)=>{const _0x37168f=_0x22d19e;for(var _0xc73206=_0x5c5b2>0x1?void 0x0:_0x5c5b2?_0x1f95d9(_0x2738a2,_0x1d4c75):_0x2738a2,_0x5c0bd9=_0x6eadce[_0x37168f(0x29c)]-0x1,_0xfaff54;_0x5c0bd9>=0x0;_0x5c0bd9--)(_0xfaff54=_0x6eadce[_0x5c0bd9])&&(_0xc73206=_0xfaff54(_0xc73206)||_0xc73206);return _0xc73206;},_0x424a95=(_0xa05b8d,_0x4d579e)=>(_0x48e415,_0xcaf905)=>_0x4d579e(_0x48e415,_0xcaf905,_0xa05b8d);_0x440074[_0x22d19e(0xd0)]=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x3404a7,_0x3b1535,_0x33605e,_0x32930b){const _0x5c1c2f=_0x22d19e;super(),_0xa63e61(this,'_status$',new _0x8d94e0[(_0x5c1c2f(0x90))](_0x29cbea['CollaborationStatus'][_0x5c1c2f(0x1d0)])),(this[_0x5c1c2f(0x2de)]=_0x3404a7,this[_0x5c1c2f(0x36e)]=_0x3b1535,this[_0x5c1c2f(0x139)]=_0x33605e,this[_0x5c1c2f(0x2dd)]=_0x32930b,this[_0x5c1c2f(0x1c2)](),this[_0x5c1c2f(0x127)]());}['_initStatusListener'](){const _0x5a9163=_0x22d19e;this[_0x5a9163(0xe5)](this['_univerInstanceService'][_0x5a9163(0x110)][_0x5a9163(0x296)](_0x8d94e0['switchMap'](()=>{const _0x3dccd8=_0x5a9163,_0x24be5a=this[_0x3dccd8(0x2de)][_0x3dccd8(0x36c)]();return _0x24be5a?this[_0x3dccd8(0x139)][_0x3dccd8(0xe1)](_0x24be5a['getUnitId']()):_0x8d94e0['of'](null);}),_0x8d94e0[_0x5a9163(0x1d5)](_0x543ee5=>_0x543ee5?_0x543ee5['status$']:_0x8d94e0['of'](_0x29cbea[_0x5a9163(0x1eb)][_0x5a9163(0x1d0)])))[_0x5a9163(0x35e)](_0x2bcc0f=>{this['_status$']['next'](_0x2bcc0f);}));}[_0x22d19e(0x1c2)](){const _0x5b6566=_0x22d19e;this[_0x5b6566(0xe5)](this[_0x5b6566(0x2dd)]['registerComponent'](_0x270495[_0x5b6566(0xcc)][_0x5b6566(0x9d)],()=>_0x270495[_0x5b6566(0x352)](_0x55feb5({'status$':this[_0x5b6566(0x223)][_0x5b6566(0xb4)]()}),this[_0x5b6566(0x36e)])));}},_0x440074[_0x22d19e(0xd0)]=_0x3de216([_0x424a95(0x0,_0x4a5a1c[_0x22d19e(0x303)]),_0x424a95(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c['Injector'])),_0x424a95(0x2,_0x4a5a1c['Inject'](_0x29cbea[_0x22d19e(0x9b)])),_0x424a95(0x3,_0x270495[_0x22d19e(0x288)])],_0x440074['DesktopCollaborationStatusDisplayController']);function _0x55feb5(_0x4b30eb){const {status$:_0x40a8d5}=_0x4b30eb;return function(){return _0x54094d['jsx'](_0x1117e8,{'status$':_0x40a8d5});};}const _0x1a7106=_0x4a5a1c[_0x22d19e(0x22e)]('uni.network.url-service');var _0x2d8cb6=Object['getOwnPropertyDescriptor'],_0xbe8d43=(_0x2d6fc6,_0x29c0da,_0x532493,_0x234ce1)=>{const _0x241568=_0x22d19e;for(var _0x6c2526=_0x234ce1>0x1?void 0x0:_0x234ce1?_0x2d8cb6(_0x29c0da,_0x532493):_0x29c0da,_0x2f79a3=_0x2d6fc6[_0x241568(0x29c)]-0x1,_0x4c4eb0;_0x2f79a3>=0x0;_0x2f79a3--)(_0x4c4eb0=_0x2d6fc6[_0x2f79a3])&&(_0x6c2526=_0x4c4eb0(_0x6c2526)||_0x6c2526);return _0x6c2526;},_0x5dbae3=(_0x119d9e,_0x1fe68c)=>(_0x178431,_0x40df59)=>_0x1fe68c(_0x178431,_0x40df59,_0x119d9e);_0x440074[_0x22d19e(0x230)]=class extends _0x4a5a1c['RxDisposable']{constructor(_0x27a6c0,_0x14c1db,_0x393447,_0x1df618,_0x1358d9){const _0x5bf668=_0x22d19e;super(),this['_urlService']=_0x27a6c0,this[_0x5bf668(0x1d7)]=_0x14c1db,this[_0x5bf668(0x2b1)]=_0x393447,this[_0x5bf668(0x332)]=_0x1df618,_0x1358d9?_0x1358d9==null||_0x1358d9[_0x5bf668(0x19c)]()[_0x5bf668(0x236)](()=>this[_0x5bf668(0x105)]()):(this[_0x5bf668(0x1d7)]['debug'](_0x5bf668(0x1d6),_0x5bf668(0x2cc)),this['_init']());}async[_0x22d19e(0x105)](){const _0x3c86d5=_0x22d19e,_0x293a75=this[_0x3c86d5(0x120)][_0x3c86d5(0x17b)](_0x3c86d5(0x300)),_0x32416b=this[_0x3c86d5(0x120)][_0x3c86d5(0x17b)]('type'),_0x3bf553=this['_urlService'][_0x3c86d5(0x17b)](_0x3c86d5(0x116));if(!_0x293a75||!_0x32416b){this['_logService']['debug'](_0x3c86d5(0x1d6),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x34975e=await this[_0x3c86d5(0x332)]['loadUnit'](_0x293a75,Number(_0x32416b),_0x3bf553);_0x34975e&&_0x34975e instanceof _0x4a5a1c['Workbook']&&this['_setupSubUnitSync'](_0x34975e);}async[_0x22d19e(0x1cc)](_0x2db9eb){const _0x22f3ce=_0x22d19e;await this[_0x22f3ce(0x2c0)](_0x2db9eb),_0x2db9eb['activeSheet$']['pipe'](_0x8d94e0['takeUntil'](this['dispose$']))['subscribe'](_0x2dfc38=>{_0x2dfc38&&this['_updateURLWithCurrentState'](_0x2dfc38);}),this[_0x22f3ce(0x120)][_0x22f3ce(0x287)][_0x22f3ce(0x296)](_0x8d94e0[_0x22f3ce(0x9e)](this[_0x22f3ce(0x148)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x2db9eb));}[_0x22d19e(0xe9)](_0x3d7f83,_0x14d469=!0x1){const _0x5dc393=_0x22d19e,_0x122890=this[_0x5dc393(0x120)]['getParam'](_0x5dc393(0x116));_0x3d7f83[_0x5dc393(0x2b7)]()!==_0x122890&&this[_0x5dc393(0x120)][_0x5dc393(0x361)](_0x5dc393(0x116),_0x3d7f83['getSheetId'](),_0x14d469);}async['_updateSubUnitFromURLParams'](_0x413b49){const _0x56fc63=_0x22d19e;var _0x50e521;const _0xf63ecf=this[_0x56fc63(0x120)][_0x56fc63(0x17b)](_0x56fc63(0x116));if(!_0xf63ecf||!_0x413b49[_0x56fc63(0x281)](_0xf63ecf)){const _0x477fa9=_0x413b49[_0x56fc63(0x266)]()[0x0],_0x454fbb=_0x413b49[_0x56fc63(0x281)](_0x477fa9);if(!_0x454fbb)return;this[_0x56fc63(0xe9)](_0x454fbb,!0x0),await this['_commandService'][_0x56fc63(0x264)](_0x48c182[_0x56fc63(0xc0)]['id'],{'unitId':_0x413b49[_0x56fc63(0xb0)](),'subUnitId':_0x477fa9});return;}((_0x50e521=_0x413b49[_0x56fc63(0xc4)]())==null?void 0x0:_0x50e521[_0x56fc63(0x2b7)]())!==_0xf63ecf&&await this[_0x56fc63(0x2b1)][_0x56fc63(0x264)](_0x48c182['SetWorksheetActivateCommand']['id'],{'unitId':_0x413b49[_0x56fc63(0xb0)](),'subUnitId':_0xf63ecf});}},_0x440074[_0x22d19e(0x230)]=_0xbe8d43([_0x5dbae3(0x0,_0x1a7106),_0x5dbae3(0x1,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x5dbae3(0x2,_0x4a5a1c['ICommandService']),_0x5dbae3(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea['DataLoaderService'])),_0x5dbae3(0x4,_0x4a5a1c[_0x22d19e(0x35a)](_0xa7700f[_0x22d19e(0x124)]))],_0x440074[_0x22d19e(0x230)]);var _0x2c66f9=Object[_0x22d19e(0x1e2)],_0x1bb1bc=(_0x4d337c,_0x34adb4,_0x248d98,_0x2432f0)=>{const _0x15c306=_0x22d19e;for(var _0x32cfda=_0x2432f0>0x1?void 0x0:_0x2432f0?_0x2c66f9(_0x34adb4,_0x248d98):_0x34adb4,_0x5ac6c2=_0x4d337c[_0x15c306(0x29c)]-0x1,_0x4937cc;_0x5ac6c2>=0x0;_0x5ac6c2--)(_0x4937cc=_0x4d337c[_0x5ac6c2])&&(_0x32cfda=_0x4937cc(_0x32cfda)||_0x32cfda);return _0x32cfda;},_0x3160a6=(_0x175297,_0x546bff)=>(_0x12f702,_0x192ba8)=>_0x546bff(_0x12f702,_0x192ba8,_0x175297);let _0x3b2848=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x1cd3a0,_0x2d1bbc){const _0x3e696c=_0x22d19e;super(),this[_0x3e696c(0x1aa)]=_0x1cd3a0,this['_imageIoService']=_0x2d1bbc,this[_0x3e696c(0x105)]();}[_0x22d19e(0x105)](){const _0x32d9c5=_0x22d19e,_0x1dd156=this;this[_0x32d9c5(0xe5)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x20676c=>{const _0x3635a1=_0x32d9c5,_0x93f367=await _0x1dd156[_0x3635a1(0x317)]['saveImage'](_0x20676c);return _0x93f367?{'source':_0x93f367[_0x3635a1(0x337)],'imageSourceType':_0x93f367[_0x3635a1(0x309)]}:null;}}));}};_0x3b2848=_0x1bb1bc([_0x3160a6(0x0,_0x22126e['IDocClipboardService']),_0x3160a6(0x1,_0x1954a8[_0x22d19e(0x23e)])],_0x3b2848);const _0x158c52=[_0x22d19e(0x238),'jiqing.500',_0x22d19e(0x26d),_0x22d19e(0x1d8),_0x22d19e(0x268),'yellow.400'];class _0x54052c extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(){const _0x1c78c4=_0x22d19e;super(...arguments),_0xa63e61(this,_0x1c78c4(0xa5),new Map()),_0xa63e61(this,_0x1c78c4(0x29a),0x0);}[_0x22d19e(0x34f)](_0x5690c3){const _0x34df30=_0x22d19e;if(this[_0x34df30(0xa5)]['has'](_0x5690c3))return this[_0x34df30(0xa5)][_0x34df30(0x18e)](_0x5690c3);const _0x816f2c=_0x158c52[this[_0x34df30(0x29a)]];return this[_0x34df30(0x29a)]=(this[_0x34df30(0x29a)]+0x1)%_0x158c52[_0x34df30(0x29c)],this[_0x34df30(0xa5)][_0x34df30(0x25b)](_0x5690c3,_0x816f2c),_0x816f2c;}}function _0x4fb987(_0xe93690){const _0xf8420d=_0x22d19e;let _0x1030cd='';for(const _0x11477e of _0xe93690){const {startOffset:_0x5922b9,endOffset:_0x33e75c,isActive:_0x239d45,rangeType:_0x4b0ba4,segmentId:_0x1581a0,segmentPage:_0x257805}=_0x11477e;_0x1030cd[_0xf8420d(0x29c)]&&(_0x1030cd+=','),_0x1030cd+=_0x5922b9+':'+_0x33e75c+':'+(_0x239d45?'1':'0')+':'+_0x4b0ba4+':'+_0x1581a0+':'+_0x257805;}return _0x1030cd;}function _0x1d4227(_0x3cd51b){const _0x1bb39a=_0x22d19e,_0x1d4422=_0x3cd51b[_0x1bb39a(0x143)](','),_0x4d2a21=[];for(const _0x190de4 of _0x1d4422){const [_0x7b613b,_0x205174,_0x2ea7d0,_0x50f178,_0x18a1c1,_0x8e7aa1]=_0x190de4[_0x1bb39a(0x143)](':');_0x4d2a21[_0x1bb39a(0x256)]({'startOffset':Number(_0x7b613b),'endOffset':Number(_0x205174),'collapsed':_0x7b613b===_0x205174,'isActive':_0x2ea7d0==='1','rangeType':_0x50f178===_0x4a5a1c[_0x1bb39a(0x1a7)][_0x1bb39a(0x108)]?_0x4a5a1c['DOC_RANGE_TYPE'][_0x1bb39a(0x108)]:_0x4a5a1c['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x18a1c1==_0x1bb39a(0x254)?String(_0x18a1c1):'','segmentPage':Number(_0x8e7aa1!=null?_0x8e7aa1:-0x1)});}return _0x4d2a21[_0x1bb39a(0x14c)](_0x4247e2=>_0x4247e2[_0x1bb39a(0x226)])||(_0x4d2a21[0x0]['isActive']=!0x0),_0x4d2a21;}class _0x5e2c98 extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(){const _0x58af81=_0x22d19e;super(...arguments),_0xa63e61(this,_0x58af81(0xfd),new _0x8d94e0[(_0x58af81(0x90))](null)),_0xa63e61(this,_0x58af81(0x21b),this[_0x58af81(0xfd)][_0x58af81(0xb4)]());}[_0x22d19e(0x19f)](_0x479c55){const _0x21340f=_0x22d19e,{unitID:_0x4d5051,memberID:_0x55b16c,textRanges:_0x1ac17e}=_0x479c55,_0x46fef3=_0x4fb987(_0x1ac17e);if(_0x46fef3==='')return;const _0x2c61fc={'unitID':_0x4d5051,'memberID':_0x55b16c,'selection':_0x46fef3};this[_0x21340f(0xfd)][_0x21340f(0x218)](_0x2c61fc);}}var _0xc6f851=Object['getOwnPropertyDescriptor'],_0x4c204a=(_0x55c449,_0xde6fec,_0x1228e2,_0x3a16f6)=>{const _0x4bcd02=_0x22d19e;for(var _0x241933=_0x3a16f6>0x1?void 0x0:_0x3a16f6?_0xc6f851(_0xde6fec,_0x1228e2):_0xde6fec,_0x41cbb9=_0x55c449[_0x4bcd02(0x29c)]-0x1,_0x8dd86c;_0x41cbb9>=0x0;_0x41cbb9--)(_0x8dd86c=_0x55c449[_0x41cbb9])&&(_0x241933=_0x8dd86c(_0x241933)||_0x241933);return _0x241933;},_0x758b0d=(_0xc2ac20,_0x4cf66e)=>(_0x3c8a59,_0x1b8e9c)=>_0x4cf66e(_0x3c8a59,_0x1b8e9c,_0xc2ac20);const _0x2b9030=0x12c,_0x5ccb76=0x64;let _0x5d83b2=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x553855,_0x138b41,_0x1cbaee,_0x1aa6fc,_0xcf3f78,_0x682c1a,_0x5b98a7,_0x4981c3,_0x5a3f81){const _0x3d33e6=_0x22d19e;super(),_0xa63e61(this,_0x3d33e6(0x2ff),!0x1),_0xa63e61(this,'_init',!0x1),_0xa63e61(this,_0x3d33e6(0x273),new _0x8d94e0[(_0x3d33e6(0x90))](new Map())),_0xa63e61(this,_0x3d33e6(0x1b4),this[_0x3d33e6(0x273)][_0x3d33e6(0xb4)]()),_0xa63e61(this,'_roomMembers$',new _0x8d94e0['BehaviorSubject']([])),_0xa63e61(this,_0x3d33e6(0x103),this['_roomMembers$']['pipe'](_0x8d94e0[_0x3d33e6(0x25e)](_0x2b9030))),_0xa63e61(this,_0x3d33e6(0x15a),_0x4a5a1c[_0x3d33e6(0x25d)](_0x106917=>{const _0xf1c192=_0x3d33e6,_0x4e4976={'eventID':_0x4a6bb0[_0xf1c192(0x1b2)][_0xf1c192(0x32f)],'data':{'unitID':this[_0xf1c192(0x2bb)],'memberID':this[_0xf1c192(0x25c)][_0xf1c192(0x34a)](),'selection':_0x4fb987(_0x106917)}};this[_0xf1c192(0x25c)]['send'](_0x4e4976,this[_0xf1c192(0x2bb)]);},_0x5ccb76)),(this[_0x3d33e6(0x2bb)]=_0x553855,this[_0x3d33e6(0x25c)]=_0x138b41,this[_0x3d33e6(0x36e)]=_0x1cbaee,this['_colorAssignService']=_0x1aa6fc,this[_0x3d33e6(0x2b0)]=_0xcf3f78,this[_0x3d33e6(0x2cd)]=_0x682c1a,this['_transformService']=_0x5b98a7,this[_0x3d33e6(0x2de)]=_0x4981c3,this['_commandService']=_0x5a3f81);}get[_0x22d19e(0x1a0)](){const _0x529f77=_0x22d19e;return this[_0x529f77(0x273)]['getValue']();}get[_0x22d19e(0x324)](){const _0x22960d=_0x22d19e;return this[_0x22960d(0x2cf)][_0x22960d(0x1db)]();}['dispose'](){const _0x21b3c5=_0x22d19e;super['dispose'](),this[_0x21b3c5(0x273)][_0x21b3c5(0x218)](new Map()),this['_cursorInfo$'][_0x21b3c5(0x1bf)](),this[_0x21b3c5(0x2cf)][_0x21b3c5(0x218)]([]),this[_0x21b3c5(0x2cf)][_0x21b3c5(0x1bf)]();}['init'](){const _0x3bb919=_0x22d19e;this[_0x3bb919(0x105)]||(this[_0x3bb919(0x105)]=!0x0,this['_session'][_0x3bb919(0xda)][_0x3bb919(0x296)](_0x8d94e0['takeUntil'](this[_0x3bb919(0x148)]))[_0x3bb919(0x35e)](_0x356a06=>{const _0x449cd3=_0x3bb919;_0x356a06===_0x29cbea[_0x449cd3(0x269)][_0x449cd3(0x2c4)]?this['_toggleOnline']():this[_0x449cd3(0x250)]();}),this['_session'][_0x3bb919(0xa3)][_0x3bb919(0x296)](_0x8d94e0['takeUntil'](this['dispose$']))[_0x3bb919(0x35e)](_0x3eb262=>{const _0x17aa51=_0x3bb919,_0x35b360=_0x3eb262[_0x17aa51(0x1ce)];_0x35b360===_0x4a6bb0[_0x17aa51(0x1b2)][_0x17aa51(0x32f)]&&this[_0x17aa51(0x2b4)](_0x3eb262),_0x35b360===_0x4a6bb0[_0x17aa51(0x1b2)]['USERS_LEAVE']&&this[_0x17aa51(0x1fb)](_0x3eb262);}),this['disposeWithMe'](this[_0x3bb919(0x2b1)][_0x3bb919(0x1f9)](_0x4ca2fc=>{const _0x59584c=_0x3bb919,_0x3e779d=_0x4ca2fc[_0x59584c(0x22d)];_0x3e779d!=null&&this[_0x59584c(0x2ff)]&&_0x4ca2fc['id']===_0x5afd4e['SetTextSelectionsOperation']['id']&&_0x3e779d[_0x59584c(0x369)]===this['unitID']&&_0x3e779d['isEditing']===!0x1&&_0x3e779d[_0x59584c(0x2d3)]['length']>0x0&&this['_updateLocalCursor'](_0x3e779d[_0x59584c(0x2d3)]);})),this['_syncEditingCollabCursorService'][_0x3bb919(0x21b)][_0x3bb919(0x296)](_0x8d94e0[_0x3bb919(0x9e)](this['dispose$']))[_0x3bb919(0x35e)](_0x5d9413=>{const _0x4521eb=_0x3bb919;if((_0x5d9413==null?void 0x0:_0x5d9413[_0x4521eb(0x2bb)])!==this[_0x4521eb(0x2bb)])return;const _0x4af0b4={'eventID':_0x4a6bb0[_0x4521eb(0x1b2)][_0x4521eb(0x32f)],'data':_0x5d9413};this[_0x4521eb(0x2b4)](_0x4af0b4);}),this[_0x3bb919(0xe5)](this[_0x3bb919(0x2b1)][_0x3bb919(0x1f9)](_0x362ac4=>{const _0x29d2ac=_0x3bb919;if(_0x362ac4[_0x29d2ac(0x22d)]==null)return;const _0x1912bc=_0x362ac4['params'];if(_0x362ac4['id']!==_0x5afd4e[_0x29d2ac(0x304)]['id']||_0x1912bc[_0x29d2ac(0x369)]!==this['unitID'])return;const _0x1044a9={'id':_0x29d2ac(0x2a5),'params':_0x1912bc},_0x1c2ea5=this['cursorInfo'];for(const [_0xf2cfa2,_0x315412]of _0x1c2ea5){const _0x46053b={'id':_0x29d2ac(0x2a5),'params':{'unitId':this[_0x29d2ac(0x2bb)],'actions':null,'textRanges':_0x315412[_0x29d2ac(0x2d3)]}},_0x2cac1d=this['_transformService'][_0x29d2ac(0x9f)](_0x1044a9,_0x46053b,!0x1);if(_0x4a6bb0['isTransformMutationFailure'](_0x2cac1d))throw _0x2cac1d['error'];_0x1c2ea5[_0x29d2ac(0x25b)](_0xf2cfa2,{..._0x315412,'ranges':_0x2cac1d['m2Prime']['params'][_0x29d2ac(0x30f)]});}queueMicrotask(()=>{const _0x1b850a=_0x29d2ac;this[_0x1b850a(0x273)][_0x1b850a(0x218)](_0x1c2ea5);});})));}['_onCursorUpdate'](_0x5895a1){const _0x5b36e4=_0x22d19e;var _0x38aa6b,_0x2f2eaa;const {memberID:_0x5200f1,selection:_0x26f9c5}=_0x5895a1[_0x5b36e4(0x136)],_0x2affd8=_0x1d4227(_0x26f9c5),_0x29f551=(_0x2f2eaa=(_0x38aa6b=this[_0x5b36e4(0x2b0)][_0x5b36e4(0xab)](this['unitID'],_0x5200f1))==null?void 0x0:_0x38aa6b['name'])!=null?_0x2f2eaa:'Unknown\x20user',_0x1bb3b1={'color':this[_0x5b36e4(0x2e0)]['assignAColorForMemberID'](_0x5200f1),'name':_0x29f551,'ranges':_0x2affd8},_0x54e1e6=this[_0x5b36e4(0x1a0)];_0x54e1e6['set'](_0x5200f1,_0x1bb3b1),this['_cursorInfo$'][_0x5b36e4(0x218)](_0x54e1e6);}[_0x22d19e(0x1fb)](_0x51a360){const _0x1feb13=_0x22d19e,{memberID:_0x1ab4b2}=_0x51a360[_0x1feb13(0x136)],_0x46635e=this[_0x1feb13(0x1a0)];_0x46635e['delete'](_0x1ab4b2),this['_cursorInfo$'][_0x1feb13(0x218)](_0x46635e);}[_0x22d19e(0x156)](){const _0x10d4c2=_0x22d19e;var _0x2bad50;if(this['_online']=!0x0,((_0x2bad50=this[_0x10d4c2(0x2de)]['getFocusedUnit']())==null?void 0x0:_0x2bad50[_0x10d4c2(0xb0)]())!==this[_0x10d4c2(0x2bb)])return;const _0x2e3d14=this[_0x10d4c2(0x36e)][_0x10d4c2(0x18e)](_0x5afd4e['DocSelectionManagerService'])[_0x10d4c2(0x276)]();Array[_0x10d4c2(0xca)](_0x2e3d14)&&_0x2e3d14[_0x10d4c2(0x29c)]>0x0&&this[_0x10d4c2(0x15a)](_0x2e3d14);}[_0x22d19e(0x250)](){const _0x330e1b=_0x22d19e;this[_0x330e1b(0x2ff)]=!0x1;}};_0x5d83b2=_0x4c204a([_0x758b0d(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x758b0d(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x54052c)),_0x758b0d(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x1e0)])),_0x758b0d(0x5,_0x4a5a1c[_0x22d19e(0x35d)](_0x5e2c98)),_0x758b0d(0x6,_0x4a6bb0['ITransformService']),_0x758b0d(0x7,_0x4a5a1c[_0x22d19e(0x303)]),_0x758b0d(0x8,_0x4a5a1c['ICommandService'])],_0x5d83b2);var _0x3fd83d=Object[_0x22d19e(0x1e2)],_0x117c72=(_0x3e7396,_0x4f889d,_0x52d4dd,_0x3aa87a)=>{const _0x263dd2=_0x22d19e;for(var _0x4dc25a=_0x3aa87a>0x1?void 0x0:_0x3aa87a?_0x3fd83d(_0x4f889d,_0x52d4dd):_0x4f889d,_0x312453=_0x3e7396[_0x263dd2(0x29c)]-0x1,_0x267aa3;_0x312453>=0x0;_0x312453--)(_0x267aa3=_0x3e7396[_0x312453])&&(_0x4dc25a=_0x267aa3(_0x4dc25a)||_0x4dc25a);return _0x4dc25a;},_0x3dc9f7=(_0x5879e1,_0x4082e9)=>(_0x56860d,_0x34dd26)=>_0x4082e9(_0x56860d,_0x34dd26,_0x5879e1);const _0x57f142=0x12c,_0x6b3f66=0x64,_0x6ec09=()=>{let _0x51a0d6=[],_0x5f083f=!0x1;return _0x2772c1=>{_0x51a0d6['push'](_0x2772c1),_0x5f083f||(_0x5f083f=!0x0,setTimeout(()=>{_0x51a0d6['forEach'](_0x53bd59=>_0x53bd59()),_0x51a0d6=[],_0x5f083f=!0x1;}));};};let _0xd019b3=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x1ef9a3,_0x237b5f,_0x47e80e,_0xfb1ad4,_0x220aaf,_0x53d56c,_0x449064,_0x2b9d95){const _0x52ddfb=_0x22d19e;super(),_0xa63e61(this,'_online',!0x1),_0xa63e61(this,_0x52ddfb(0x105),!0x1),_0xa63e61(this,'_cursorInfo$',new _0x8d94e0[(_0x52ddfb(0x90))](new Map())),_0xa63e61(this,_0x52ddfb(0x1b4),this[_0x52ddfb(0x273)][_0x52ddfb(0xb4)]()),_0xa63e61(this,_0x52ddfb(0x2cf),new _0x8d94e0[(_0x52ddfb(0x90))]([])),_0xa63e61(this,_0x52ddfb(0x103),this[_0x52ddfb(0x2cf)][_0x52ddfb(0x296)](_0x8d94e0[_0x52ddfb(0x25e)](_0x57f142))),_0xa63e61(this,_0x52ddfb(0x15a),_0x4a5a1c['debounce']((_0xf43d5,_0x4df24c)=>{const _0x3413d4=_0x52ddfb,_0x55923d={'eventID':_0x4a6bb0[_0x3413d4(0x1b2)][_0x3413d4(0x32f)],'data':{'unitID':this[_0x3413d4(0x2bb)],'memberID':this[_0x3413d4(0x25c)]['getMemberID'](),'selection':_0x419491[_0x3413d4(0x358)](_0xf43d5,_0x4df24c[_0x3413d4(0x2f0)])}};this[_0x3413d4(0x25c)][_0x3413d4(0x10e)](_0x55923d,this[_0x3413d4(0x2bb)]);},_0x6b3f66)),(this[_0x52ddfb(0x2bb)]=_0x1ef9a3,this[_0x52ddfb(0x25c)]=_0x237b5f,this[_0x52ddfb(0x36e)]=_0x47e80e,this[_0x52ddfb(0x2e0)]=_0xfb1ad4,this[_0x52ddfb(0x2b0)]=_0x220aaf,this[_0x52ddfb(0x2de)]=_0x53d56c,this[_0x52ddfb(0x2b1)]=_0x449064,this[_0x52ddfb(0x180)]=_0x2b9d95);}get['cursorInfo'](){const _0x2a9977=_0x22d19e;return this['_cursorInfo$'][_0x2a9977(0x1db)]();}get['roomMembers'](){const _0x355003=_0x22d19e;return this['_roomMembers$'][_0x355003(0x1db)]();}[_0x22d19e(0x210)](){const _0x714c78=_0x22d19e;super['dispose'](),this[_0x714c78(0x273)][_0x714c78(0x218)](new Map()),this[_0x714c78(0x273)][_0x714c78(0x1bf)](),this[_0x714c78(0x2cf)]['next']([]),this[_0x714c78(0x2cf)][_0x714c78(0x1bf)]();}['init'](){const _0x489218=_0x22d19e;this[_0x489218(0x105)]||(this[_0x489218(0x105)]=!0x0,this[_0x489218(0x25c)][_0x489218(0xda)]['pipe'](_0x8d94e0[_0x489218(0x9e)](this[_0x489218(0x148)]))['subscribe'](_0x363af4=>{const _0x27c6eb=_0x489218;_0x363af4===_0x29cbea['SessionStatus']['ONLINE']?this[_0x27c6eb(0x156)]():this['_toggleOffline']();}),this['_session'][_0x489218(0xa3)][_0x489218(0x296)](_0x8d94e0[_0x489218(0x9e)](this[_0x489218(0x148)]))['subscribe'](_0x103229=>{const _0x1b1504=_0x489218,_0x477f3e=_0x103229[_0x1b1504(0x1ce)];_0x477f3e===_0x4a6bb0[_0x1b1504(0x1b2)][_0x1b1504(0x32f)]&&this[_0x1b1504(0x2b4)](_0x103229),_0x477f3e===_0x4a6bb0[_0x1b1504(0x1b2)]['USERS_LEAVE']&&this[_0x1b1504(0x1fb)](_0x103229);}),this[_0x489218(0x23b)](),this[_0x489218(0xe5)](this[_0x489218(0x2b1)]['onCommandExecuted'](_0x133883=>{const _0x28f40c=_0x489218;if(this[_0x28f40c(0x2ff)]&&_0x133883['id']===_0x48c182[_0x28f40c(0x10a)]['id']&&_0x133883[_0x28f40c(0x22d)][_0x28f40c(0x369)]===this[_0x28f40c(0x2bb)]){const _0x48a9da=_0x133883['params'];this['_updateLocalCursor'](_0x48a9da[_0x28f40c(0x1df)],_0x48a9da[_0x28f40c(0x1fa)][0x0]);}})));}[_0x22d19e(0x2b4)](_0x3f8585){const _0x36108e=_0x22d19e;var _0x431eef,_0x411d9f;const {memberID:_0x4402e9,selection:_0x2c9f77}=_0x3f8585[_0x36108e(0x136)],{sheetName:_0x37a1a1,range:_0x341c04}=_0x419491[_0x36108e(0x157)](_0x2c9f77),_0x2c6f4b={'name':(_0x411d9f=(_0x431eef=this[_0x36108e(0x2b0)][_0x36108e(0xab)](this['unitID'],_0x4402e9))==null?void 0x0:_0x431eef[_0x36108e(0x2a6)])!=null?_0x411d9f:'Unknown\x20user','range':this[_0x36108e(0x341)](_0x37a1a1,_0x341c04),'sheetID':_0x37a1a1,'color':this[_0x36108e(0x2e0)]['assignAColorForMemberID'](_0x4402e9),'selection':_0x2c9f77},_0x10133a=this[_0x36108e(0x1a0)];_0x10133a[_0x36108e(0x25b)](_0x4402e9,_0x2c6f4b),this[_0x36108e(0x273)][_0x36108e(0x218)](_0x10133a);}[_0x22d19e(0x1fb)](_0x368942){const _0x18d6af=_0x22d19e,{memberID:_0x75a975}=_0x368942['data'],_0x345796=this['cursorInfo'];_0x345796['delete'](_0x75a975),this[_0x18d6af(0x273)][_0x18d6af(0x218)](_0x345796);}['_getMergeRange'](_0x34611d,_0xe6b6b9){const _0x43cec7=_0x22d19e;var _0x43079a,_0x369962;const _0x5d7f48=(_0x369962=(_0x43079a=this['_univerInstanceService'][_0x43cec7(0x20a)](this[_0x43cec7(0x2bb)]))==null?void 0x0:_0x43079a[_0x43cec7(0x281)](_0x34611d))==null?void 0x0:_0x369962[_0x43cec7(0x258)]();return(_0x5d7f48==null?void 0x0:_0x5d7f48['find'](_0x3a70f8=>_0x4a5a1c[_0x43cec7(0x2ca)][_0x43cec7(0x109)](_0x3a70f8,_0xe6b6b9)))||_0xe6b6b9;}[_0x22d19e(0x23b)](){const _0x5e2102=_0x22d19e,_0x2b4899=new _0x4a5a1c[(_0x5e2102(0x93))](),_0x14a752=_0x6ec09(),_0x1c3141=()=>{const _0x44fd84=_0x5e2102;_0x2b4899[_0x44fd84(0x210)]();const _0x228112=(_0x4ce6de,_0x224e37,_0x1029a4,_0x127bf0)=>{const _0x55d8c1=_0x44fd84;let _0x4a5942=[];switch(_0x4ce6de['id']){case _0x48c182['EffectRefRangId'][_0x55d8c1(0x2a1)]:{_0x4a5942=_0x48c182['handleDeleteRangeMoveLeft'](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)]['DeleteRangeMoveUpCommandId']:{_0x4a5942=_0x48c182[_0x55d8c1(0x117)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x294)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x201)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)]['InsertRangeMoveDownCommandId']:{_0x4a5942=_0x48c182[_0x55d8c1(0x128)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x17f)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x2d5)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x350)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x1d3)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x246)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x15e)](_0x4ce6de,_0x127bf0);break;}case _0x48c182[_0x55d8c1(0x175)][_0x55d8c1(0x10c)]:{_0x4a5942=_0x48c182[_0x55d8c1(0x2bf)](_0x4ce6de,_0x127bf0);break;}case _0x48c182['EffectRefRangId']['RemoveRowCommandId']:{_0x4a5942=_0x48c182['handleIRemoveRow'](_0x4ce6de,_0x127bf0);break;}}const _0x496dfd=_0x48c182['runRefRangeMutations'](_0x4a5942,_0x127bf0),_0x260f33=this['cursorInfo']['get'](_0x224e37);if(_0x260f33&&_0x496dfd){const _0x128656={..._0x260f33,'range':_0x496dfd};this['cursorInfo'][_0x55d8c1(0x25b)](_0x224e37,_0x128656),_0x14a752(()=>{const _0x4a48dc=_0x55d8c1,_0x34768e=this[_0x4a48dc(0x180)][_0x4a48dc(0x106)](_0x496dfd,_0x17deac=>(_0x34768e[_0x4a48dc(0x210)](),_0x228112(_0x17deac,_0x224e37,_0x1029a4,_0x496dfd)));_0x2b4899['add'](_0x34768e);});}return{'redos':[],'undos':[]};};this[_0x44fd84(0x1a0)][_0x44fd84(0x316)]((_0x1c5a1c,_0x198a3f)=>{const _0x531827=_0x44fd84,{range:_0x13e629,sheetID:_0x55e11b}=_0x1c5a1c,_0x197fbd=this[_0x531827(0x180)][_0x531827(0x106)](_0x13e629,_0x56ba51=>(_0x197fbd[_0x531827(0x210)](),_0x228112(_0x56ba51,_0x198a3f,_0x55e11b,_0x13e629)));_0x2b4899[_0x531827(0x23a)](_0x197fbd);});};this['disposeWithMe'](_0x4a5a1c[_0x5e2102(0x28a)](this[_0x5e2102(0x273)][_0x5e2102(0x35e)](()=>{_0x1c3141();})));}[_0x22d19e(0x156)](){const _0x5e192e=_0x22d19e;var _0x3a4b46,_0x11ec8e;if(this[_0x5e192e(0x2ff)]=!0x0,((_0x3a4b46=this[_0x5e192e(0x2de)][_0x5e192e(0x36c)]())==null?void 0x0:_0x3a4b46[_0x5e192e(0xb0)]())!==this['unitID'])return;const _0x4e8271=(_0x11ec8e=this[_0x5e192e(0x36e)][_0x5e192e(0x18e)](_0x48c182[_0x5e192e(0x2dc)])[_0x5e192e(0x2ac)]())==null?void 0x0:_0x11ec8e[0x0],_0x3cf02e=this['_univerInstanceService']['getCurrentUnitForType'](_0x4a5a1c[_0x5e192e(0x2b9)][_0x5e192e(0x1cf)])['getActiveSheet']();_0x4e8271&&_0x3cf02e&&this['_updateLocalCursor'](_0x3cf02e[_0x5e192e(0x2b7)](),_0x4e8271);}['_toggleOffline'](){this['_online']=!0x1;}};_0xd019b3=_0x117c72([_0x3dc9f7(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x3dc9f7(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x54052c)),_0x3dc9f7(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x1e0)])),_0x3dc9f7(0x5,_0x4a5a1c[_0x22d19e(0x303)]),_0x3dc9f7(0x6,_0x4a5a1c[_0x22d19e(0x263)]),_0x3dc9f7(0x7,_0x4a5a1c[_0x22d19e(0x35d)](_0x48c182[_0x22d19e(0x28f)]))],_0xd019b3);var _0x5b765c=Object[_0x22d19e(0x1e2)],_0x1ec8f3=(_0x59d57e,_0x3c478e,_0x1a96e5,_0x457e59)=>{const _0x191fe8=_0x22d19e;for(var _0x1b37dd=_0x457e59>0x1?void 0x0:_0x457e59?_0x5b765c(_0x3c478e,_0x1a96e5):_0x3c478e,_0x586945=_0x59d57e[_0x191fe8(0x29c)]-0x1,_0x421264;_0x586945>=0x0;_0x586945--)(_0x421264=_0x59d57e[_0x586945])&&(_0x1b37dd=_0x421264(_0x1b37dd)||_0x1b37dd);return _0x1b37dd;},_0x18a1f3=(_0x1a705e,_0x567169)=>(_0x2f3a03,_0x213894)=>_0x567169(_0x2f3a03,_0x213894,_0x1a705e);let _0x8689c=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x31edf2,_0x49d082,_0x582c51){const _0xab9d06=_0x22d19e;super(),_0xa63e61(this,_0xab9d06(0x2ea),new Map()),_0xa63e61(this,'_entityInit$',new _0x8d94e0[(_0xab9d06(0x181))]()),(this[_0xab9d06(0x2de)]=_0x31edf2,this[_0xab9d06(0x36e)]=_0x49d082,this[_0xab9d06(0x1d4)]=_0x582c51,this[_0xab9d06(0x105)]());}[_0x22d19e(0x210)](){const _0x42d4cc=_0x22d19e;super[_0x42d4cc(0x210)](),this['_entityInit$'][_0x42d4cc(0x1bf)](),this[_0x42d4cc(0x2ea)][_0x42d4cc(0x316)](_0x2fa1b6=>_0x2fa1b6[_0x42d4cc(0x210)]());}[_0x22d19e(0xb8)](_0x5111af){const _0x2a74d2=_0x22d19e;return this['_entities'][_0x2a74d2(0x241)](_0x5111af)?this['_entities']['get'](_0x5111af)['cursorInfo$']:this['_entityInit$']['pipe'](_0x8d94e0['filter'](_0x18c20b=>_0x18c20b['unitID']===_0x5111af),_0x8d94e0[_0x2a74d2(0x1d5)](_0x288c16=>_0x288c16[_0x2a74d2(0x1b4)]));}[_0x22d19e(0x105)](){const _0x550f57=_0x22d19e;this['_univerInstanceService'][_0x550f57(0x209)](_0x4a5a1c['UniverInstanceType'][_0x550f57(0x1cf)])[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x9e)](this[_0x550f57(0x148)]))[_0x550f57(0x35e)](async _0x1c31d8=>{const _0x22cdfd=_0x550f57,_0x138e08=_0x1c31d8[_0x22cdfd(0xb0)](),_0x2fb11f=await this['_startSheetCollabCursor'](_0x138e08);this[_0x22cdfd(0xc3)][_0x22cdfd(0x218)](_0x2fb11f),this['_entities']['set'](_0x138e08,_0x2fb11f);}),this[_0x550f57(0x2de)][_0x550f57(0x209)](_0x4a5a1c['UniverInstanceType'][_0x550f57(0x214)])[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x9e)](this['dispose$']))[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x135)](_0x37060d=>!_0x37060d[_0x550f57(0xb0)]()['startsWith']('__')))[_0x550f57(0x35e)](async _0x44f11b=>{const _0x5cd1b5=_0x550f57,_0xe90904=_0x44f11b[_0x5cd1b5(0xb0)](),_0x4da763=await this[_0x5cd1b5(0x211)](_0xe90904);this['_entityInit$']['next'](_0x4da763),this[_0x5cd1b5(0x2ea)][_0x5cd1b5(0x25b)](_0xe90904,_0x4da763);}),_0x8d94e0['merge'](this['_univerInstanceService'][_0x550f57(0x10f)](_0x4a5a1c['UniverInstanceType'][_0x550f57(0x214)]),this[_0x550f57(0x2de)][_0x550f57(0x10f)](_0x4a5a1c[_0x550f57(0x2b9)][_0x550f57(0x1cf)]))[_0x550f57(0x296)](_0x8d94e0[_0x550f57(0x9e)](this[_0x550f57(0x148)]))[_0x550f57(0x35e)](_0x3a3f77=>{const _0x2ea3df=_0x550f57,_0x433317=_0x3a3f77['getUnitId'](),_0x162fe9=this['_entities'][_0x2ea3df(0x18e)](_0x433317);_0x162fe9&&(_0x162fe9[_0x2ea3df(0x210)](),this['_entities']['delete'](_0x433317));});}async['_startSheetCollabCursor'](_0x3353d5){const _0x555608=_0x22d19e,_0x2e7ac3=await this[_0x555608(0x1d4)][_0x555608(0x1d2)](_0x3353d5),_0x325149=this[_0x555608(0x36e)][_0x555608(0x100)](_0xd019b3,_0x3353d5,_0x2e7ac3);return _0x325149[_0x555608(0x345)](),_0x325149;}async['_startDocCollabCursor'](_0xf2f7b){const _0x1303a9=_0x22d19e,_0x2ed682=await this[_0x1303a9(0x1d4)][_0x1303a9(0x1d2)](_0xf2f7b),_0xac6878=this['_injector'][_0x1303a9(0x100)](_0x5d83b2,_0xf2f7b,_0x2ed682);return _0xac6878['init'](),_0xac6878;}};_0x8689c=_0x1ec8f3([_0x18a1f3(0x0,_0x4a5a1c[_0x22d19e(0x303)]),_0x18a1f3(0x1,_0x4a5a1c['Inject'](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x18a1f3(0x2,_0x4a5a1c['Inject'](_0x29cbea[_0x22d19e(0x32b)]))],_0x8689c);const _0x3f556f=0x14,_0x4f017f=0xc8,_0x51b87a=0x4,_0x2d721b=0x5;function _0x1ed5be(_0x335bda,_0x2777a5){const _0x6f0338=_0x22d19e;let {radius:_0x151c66,width:_0x4f50eb,height:_0x127916}=_0x2777a5;_0x151c66=_0x151c66!=null?_0x151c66:0x0,_0x4f50eb=_0x4f50eb!=null?_0x4f50eb:0x1e,_0x127916=_0x127916!=null?_0x127916:0x1e;let _0x34ebdf=0x0,_0x21c8e8=0x0,_0x304ab6=0x0;_0x34ebdf=_0x21c8e8=_0x304ab6=Math[_0x6f0338(0x26b)](_0x151c66,_0x4f50eb/0x2,_0x127916/0x2),_0x335bda[_0x6f0338(0xf4)](),_0x335bda[_0x6f0338(0x257)](_0x34ebdf,0x0),_0x335bda['lineTo'](_0x4f50eb-_0x21c8e8,0x0),_0x335bda[_0x6f0338(0x227)](_0x4f50eb-_0x21c8e8,_0x21c8e8,_0x21c8e8,Math['PI']*0x3/0x2,0x0,!0x1),_0x335bda[_0x6f0338(0x2a2)](_0x4f50eb,_0x127916-_0x304ab6),_0x335bda[_0x6f0338(0x227)](_0x4f50eb-_0x304ab6,_0x127916-_0x304ab6,_0x304ab6,0x0,Math['PI']/0x2,!0x1),_0x335bda['lineTo'](0x0,_0x127916),_0x335bda['lineTo'](0x0,_0x34ebdf),_0x335bda[_0x6f0338(0x227)](_0x34ebdf,_0x34ebdf,_0x34ebdf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x335bda['closePath'](),_0x2777a5[_0x6f0338(0x2a8)]&&(_0x335bda['save'](),_0x335bda[_0x6f0338(0x121)]=_0x2777a5[_0x6f0338(0x2a8)],_0x2777a5[_0x6f0338(0x1dd)]==='evenodd'?_0x335bda[_0x6f0338(0x2a8)](_0x6f0338(0x2b5)):_0x335bda[_0x6f0338(0x2a8)](),_0x335bda['restore']());}class _0x132457 extends _0x5d2f68[_0x22d19e(0x36a)]{constructor(_0xc46710,_0x574458){const _0xf2eb44=_0x22d19e;super(_0xc46710,_0x574458),_0xa63e61(this,_0xf2eb44(0x174)),_0xa63e61(this,_0xf2eb44(0xeb)),(this['color']=_0x574458==null?void 0x0:_0x574458[_0xf2eb44(0x174)],this[_0xf2eb44(0xeb)]=_0x574458==null?void 0x0:_0x574458[_0xf2eb44(0xeb)]);}static[_0x22d19e(0xe2)](_0x1092cd,_0x27d2bc){const _0x12c3c2=_0x22d19e,{text:_0x43b5af,color:_0x4accbb}=_0x27d2bc;_0x1092cd['save'](),_0x1092cd['font']=_0x12c3c2(0x248);const _0x23139b=_0x1092cd[_0x12c3c2(0x191)](_0x43b5af)[_0x12c3c2(0xcd)],_0x46e3dd=Math[_0x12c3c2(0x26b)](_0x23139b+0x2*_0x51b87a,_0x4f017f);_0x1ed5be(_0x1092cd,{'height':_0x3f556f,'radius':0x4,'width':_0x46e3dd,'fill':_0x4accbb}),_0x1092cd['fillStyle']='#FFF';const _0x4f4e0d=_0x51b87a,_0x5464da=_0x3f556f-_0x2d721b,_0x371015=_0x4f017f-0x2*_0x51b87a;if(_0x23139b>_0x371015){let _0x4d7a8b='',_0x14a22a=0x0;for(const _0x521d69 of _0x43b5af){const _0x2a96e6=_0x1092cd[_0x12c3c2(0x191)](_0x521d69)[_0x12c3c2(0xcd)];if(_0x14a22a+_0x2a96e6<=_0x371015-_0x1092cd['measureText']('...')[_0x12c3c2(0xcd)])_0x4d7a8b+=_0x521d69,_0x14a22a+=_0x2a96e6;else{_0x4d7a8b+=_0x12c3c2(0x320);break;}}_0x1092cd[_0x12c3c2(0x2e3)](_0x4d7a8b,_0x4f4e0d,_0x5464da);}else _0x1092cd[_0x12c3c2(0x2e3)](_0x43b5af,_0x4f4e0d,_0x5464da);_0x1092cd[_0x12c3c2(0x31d)]();}[_0x22d19e(0x298)](_0x2b824a){const _0x1db956=_0x22d19e;_0x132457[_0x1db956(0xe2)](_0x2b824a,this);}}const _0x21ac9c='collab-text-anchor-',_0x449f34='collab-text-range-',_0x5726e9='collab-rect-range-',_0x35fbcb=0x6,_0x299333=1.5,_0x4c03e8=0x4,_0x741edc=1.5,_0x41b58e='rgba(255,\x20255,\x20255,\x200.01)';class _0x36a29c{constructor(_0x265d4f,_0x25aa93,_0x2652da,_0x5979db){const _0x2a3dba=_0x22d19e;_0xa63e61(this,_0x2a3dba(0x9a),[]),_0xa63e61(this,_0x2a3dba(0x284),null),_0xa63e61(this,_0x2a3dba(0xe0),null),_0xa63e61(this,_0x2a3dba(0x11f),null),_0xa63e61(this,'_hideTimer',null),_0xa63e61(this,_0x2a3dba(0x104),null),(this[_0x2a3dba(0x2ba)]=_0x265d4f,this[_0x2a3dba(0x225)]=_0x25aa93,this['_docSkeleton']=_0x2652da,this[_0x2a3dba(0x24f)]=_0x5979db,this['_render']());}set[_0x22d19e(0x171)](_0x403153){const _0x5a59ad=_0x22d19e;_0x403153?(this[_0x5a59ad(0x11f)]&&this[_0x5a59ad(0x11f)][_0x5a59ad(0x21e)](),this[_0x5a59ad(0xe0)]&&this['_textBubble'][_0x5a59ad(0x1ba)]()):(this[_0x5a59ad(0x11f)]&&this['_anchorDot'][_0x5a59ad(0x1ba)](),this['_textBubble']&&this[_0x5a59ad(0xe0)][_0x5a59ad(0x21e)]());}[_0x22d19e(0x210)](){const _0x6a6379=_0x22d19e;for(const _0x951cb9 of this['_shapes'])_0x951cb9[_0x6a6379(0x210)]();this[_0x6a6379(0xe0)]&&this[_0x6a6379(0xe0)][_0x6a6379(0x210)](),this[_0x6a6379(0x11f)]&&this['_anchorDot'][_0x6a6379(0x210)](),this[_0x6a6379(0x284)]&&this[_0x6a6379(0x284)][_0x6a6379(0x210)](),this[_0x6a6379(0x104)]&&this[_0x6a6379(0x104)]();}[_0x22d19e(0x285)](){const _0x22cdd8=_0x22d19e;var _0x41f901;const {_docSkeleton:_0x19013c,_document:_0x2cd9a1}=this,{color:_0x345a9a,name:_0x590c5c,ranges:_0x7a3c26}=this['_cursor'],_0x5e1351=_0x2cd9a1['getOffsetConfig'](),{docsLeft:_0x1c2933,docsTop:_0x54a833}=_0x5e1351,_0xd6ba62=new _0x22126e['NodePositionConvertToCursor'](_0x5e1351,_0x19013c);for(const {startOffset:_0x185d8e,endOffset:_0x32b07f,rangeType:_0x56f956,segmentId:_0x1135db,segmentPage:_0xa2ab01,collapsed:_0x4972d0,isActive:_0x5890be}of _0x7a3c26){const _0x33ad06=_0x19013c[_0x22cdd8(0xb3)](_0x185d8e,!0x0,_0x1135db,_0xa2ab01);let _0x46f309=_0x19013c[_0x22cdd8(0xb3)](_0x32b07f,!0x0,_0x1135db,_0xa2ab01);if(_0x46f309==null&&(_0x46f309=_0x19013c[_0x22cdd8(0xb3)](_0x32b07f-0x1,!0x1,_0x1135db,_0xa2ab01)),_0x5890be){const {contentBoxPointGroup:_0xcbe456}=_0xd6ba62['getRangePointData'](_0x46f309,_0x46f309);if(_0xcbe456[_0x22cdd8(0x29c)]===0x0)continue;this[_0x22cdd8(0x1ec)](_0x345a9a,_0xcbe456,_0x1c2933,_0x54a833,_0x590c5c),this['_eventUnsubscribe']=this[_0x22cdd8(0x1a8)]();}if(_0x33ad06&&_0x46f309){if(_0x56f956===_0x4a5a1c['DOC_RANGE_TYPE'][_0x22cdd8(0x187)]){const _0x5addac=new _0x22126e[(_0x22cdd8(0x278))](_0x5e1351,_0x19013c),{pointGroup:_0x2dcb9d}=(_0x41f901=_0x5addac[_0x22cdd8(0x161)](_0x33ad06,_0x46f309))!=null?_0x41f901:{};if(_0x2dcb9d==null||_0x2dcb9d[_0x22cdd8(0x29c)]===0x0)continue;this[_0x22cdd8(0x1b6)](_0x345a9a,_0x2dcb9d,_0x1c2933,_0x54a833);}else{if(!_0x4972d0){const {borderBoxPointGroup:_0x8f8e54}=_0xd6ba62[_0x22cdd8(0x161)](_0x33ad06,_0x46f309);if(_0x8f8e54[_0x22cdd8(0x29c)]===0x0)continue;this[_0x22cdd8(0x29f)](_0x345a9a,_0x8f8e54,_0x1c2933,_0x54a833);}}}}}[_0x22d19e(0x1ec)](_0x16bd38,_0x438e3a,_0x3f3060,_0x1d6237,_0x9dc24f){const _0x3ae99a=_0x22d19e,_0x13becf=this[_0x3ae99a(0x11d)](_0x438e3a),{left:_0xb68051,top:_0x170345,height:_0x5d7ec0}=_0x13becf,_0x5bb358=this['_getScale'](),_0xf659ce=_0x741edc/_0x5bb358,_0x57525b=new _0x5d2f68['Rect'](_0x21ac9c+_0x4a5a1c[_0x3ae99a(0x151)](_0x35fbcb),{'left':_0xb68051+_0x3f3060-_0xf659ce,'top':_0x170345+_0x1d6237,'height':_0x5d7ec0,'width':_0x299333,'fill':_0x16bd38||_0x5d2f68[_0x3ae99a(0xe6)](_0x4a5a1c[_0x3ae99a(0x323)][_0x3ae99a(0x192)],0x0),'strokeWidth':_0xf659ce,'stroke':_0x41b58e,'evented':!0x0});this[_0x3ae99a(0x284)]=_0x57525b,this[_0x3ae99a(0x225)]['addObject'](_0x57525b,_0x22126e[_0x3ae99a(0x2e5)]);const _0x5d9f82=new _0x5d2f68[(_0x3ae99a(0x2e2))](_0x21ac9c+_0x4a5a1c[_0x3ae99a(0x151)](_0x35fbcb),{'left':_0xb68051+_0x3f3060-_0xf659ce,'top':_0x170345+_0x1d6237-_0x4c03e8/0x2,'height':_0x4c03e8,'width':_0x4c03e8,'fill':_0x16bd38||_0x5d2f68[_0x3ae99a(0xe6)](_0x4a5a1c[_0x3ae99a(0x323)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x16bd38||_0x5d2f68[_0x3ae99a(0xe6)](_0x4a5a1c[_0x3ae99a(0x323)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x5d9f82,this[_0x3ae99a(0x225)][_0x3ae99a(0x22a)](_0x5d9f82,_0x22126e[_0x3ae99a(0x2e5)]);const _0xee7aae=new _0x132457(_0x21ac9c+_0x4a5a1c['generateRandomId'](_0x35fbcb),{'left':_0xb68051+_0x3f3060-_0xf659ce,'top':_0x170345+_0x1d6237-_0x3f556f,'text':_0x9dc24f,'color':_0x16bd38});this[_0x3ae99a(0xe0)]=_0xee7aae,this[_0x3ae99a(0x225)][_0x3ae99a(0x22a)](_0xee7aae,_0x22126e[_0x3ae99a(0x2e5)]),this[_0x3ae99a(0x171)]=!0x1;}[_0x22d19e(0x1a8)](){const _0x49ae3f=_0x22d19e,_0x2c2749=this[_0x49ae3f(0x284)][_0x49ae3f(0x126)][_0x49ae3f(0x11b)](()=>{this['_hover']=!0x0;}),_0x197b0d=this[_0x49ae3f(0x284)]['onPointerLeave$'][_0x49ae3f(0x11b)](()=>{const _0x17c82f=_0x49ae3f;this[_0x17c82f(0x27a)]&&clearTimeout(this[_0x17c82f(0x27a)]),this[_0x17c82f(0x27a)]=setTimeout(()=>{const _0x3f534a=_0x17c82f;this[_0x3f534a(0x171)]=!0x1;},0x7d0);});return()=>{const _0x8a982f=_0x49ae3f;_0x2c2749[_0x8a982f(0x275)](),_0x197b0d[_0x8a982f(0x275)]();};}[_0x22d19e(0x29f)](_0x197773,_0x2dcf01,_0x32629a,_0x2a657e){const _0x5779a2=_0x22d19e,_0x26bc99=new _0x4a5a1c[(_0x5779a2(0x2f7))](_0x197773)[_0x5779a2(0x2e7)](0.2)[_0x5779a2(0xf7)](),_0x42fe1d=new _0x5d2f68[(_0x5779a2(0x224))](_0x449f34+_0x4a5a1c['generateRandomId'](_0x35fbcb),{'pointsGroup':_0x2dcf01,'fill':_0x26bc99||_0x5d2f68[_0x5779a2(0xe6)](_0x4a5a1c['COLORS'][_0x5779a2(0x192)],0.2),'left':_0x32629a,'top':_0x2a657e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5779a2(0x9a)][_0x5779a2(0x256)](_0x42fe1d),this[_0x5779a2(0x225)][_0x5779a2(0x22a)](_0x42fe1d,_0x22126e[_0x5779a2(0x2e5)]);}[_0x22d19e(0x1b6)](_0x3aee8a,_0x5d7e61,_0x15f457,_0x153f1f){const _0x3e3bce=_0x22d19e,_0x4cf923=new _0x4a5a1c[(_0x3e3bce(0x2f7))](_0x3aee8a)['setAlpha'](0.2)[_0x3e3bce(0xf7)](),_0x44d672=new _0x5d2f68[(_0x3e3bce(0x224))](_0x5726e9+_0x4a5a1c[_0x3e3bce(0x151)](_0x35fbcb),{'pointsGroup':_0x5d7e61,'fill':_0x4cf923||_0x5d2f68[_0x3e3bce(0xe6)](_0x4a5a1c[_0x3e3bce(0x323)][_0x3e3bce(0x192)],0.2),'left':_0x15f457,'top':_0x153f1f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e3bce(0x9a)][_0x3e3bce(0x256)](_0x44d672),this[_0x3e3bce(0x225)][_0x3e3bce(0x22a)](_0x44d672,_0x22126e[_0x3e3bce(0x2e5)]);}[_0x22d19e(0x11d)](_0x3982bb){const _0x4a9cb5=_0x3982bb[0x0],_0x442b86=_0x4a9cb5[0x0],_0x16082f=_0x4a9cb5[0x2],{x:_0x52f330,y:_0x19c558}=_0x442b86,{x:_0x519d10,y:_0x584da6}=_0x16082f;return{'left':_0x52f330,'top':_0x19c558,'width':_0x519d10-_0x52f330,'height':_0x584da6-_0x19c558};}[_0x22d19e(0x34e)](){const _0x43308c=_0x22d19e,{scaleX:_0x2f726a,scaleY:_0x3e9acf}=this[_0x43308c(0x225)][_0x43308c(0x357)]();return Math[_0x43308c(0xdd)](_0x2f726a,_0x3e9acf);}}var _0x45ab62=Object[_0x22d19e(0x1e2)],_0x551c44=(_0x5db718,_0x1b0572,_0x1cb2a8,_0x3beea3)=>{const _0x1e6927=_0x22d19e;for(var _0x50bfac=_0x3beea3>0x1?void 0x0:_0x3beea3?_0x45ab62(_0x1b0572,_0x1cb2a8):_0x1b0572,_0x47a980=_0x5db718[_0x1e6927(0x29c)]-0x1,_0x15cff2;_0x47a980>=0x0;_0x47a980--)(_0x15cff2=_0x5db718[_0x47a980])&&(_0x50bfac=_0x15cff2(_0x50bfac)||_0x50bfac);return _0x50bfac;},_0x306641=(_0x468980,_0x5e870d)=>(_0x242460,_0xb5c329)=>_0x5e870d(_0x242460,_0xb5c329,_0x468980);let _0x238ac3=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0x350d86,_0x2dd051,_0x2787f7,_0x17752e,_0x58a871){const _0x2e66f4=_0x22d19e;super(),_0xa63e61(this,_0x2e66f4(0x177),[]),_0xa63e61(this,'_cursors',[]),(this[_0x2e66f4(0x1af)]=_0x350d86,this[_0x2e66f4(0x1b1)]=_0x2dd051,this[_0x2e66f4(0x96)]=_0x2787f7,this[_0x2e66f4(0x2b1)]=_0x17752e,this['_themeService']=_0x58a871,this[_0x2e66f4(0x105)]());}['_init'](){const _0x5b7bc8=_0x22d19e,_0xdf54a2=this[_0x5b7bc8(0x1af)][_0x5b7bc8(0x369)],_0x3b8413=this[_0x5b7bc8(0x1b1)];this[_0x5b7bc8(0xe5)](_0x8d94e0[_0x5b7bc8(0x144)]([this[_0x5b7bc8(0x96)][_0x5b7bc8(0xb8)](_0xdf54a2),this[_0x5b7bc8(0x2e4)]['currentTheme$']])[_0x5b7bc8(0x296)](_0x5d0515[_0x5b7bc8(0x112)](([_0x86bcb8,_0x1b55d0])=>({'skeleton':_0x3b8413[_0x5b7bc8(0x329)](),'cursors':[..._0x86bcb8['values']()][_0x5b7bc8(0x212)](_0x33bdfe=>({..._0x33bdfe,'color':this[_0x5b7bc8(0x2e4)][_0x5b7bc8(0x21a)](_0x33bdfe[_0x5b7bc8(0x174)])}))})))[_0x5b7bc8(0x35e)](_0x2de330=>{const _0x401c18=_0x5b7bc8;if(this[_0x401c18(0x362)](),_0x2de330){const {skeleton:_0x1cfc7d,cursors:_0x3dd789}=_0x2de330;this['_updateCollabCursors'](_0x1cfc7d,_0x3dd789);}})),this['_initResize'](),this[_0x5b7bc8(0x1be)]();}[_0x22d19e(0x280)](_0x250719,_0x1dd58f){const _0x1a2829=_0x22d19e,{scene:_0x2728ef,mainComponent:_0x4e2da9}=this[_0x1a2829(0x1af)],_0x1fa1cf=_0x1dd58f['map'](_0x5ab4cd=>new _0x36a29c(_0x5ab4cd,_0x2728ef,_0x250719,_0x4e2da9));this[_0x1a2829(0x177)]=_0x1fa1cf,this['_cursors']=_0x1dd58f;}['_refreshCollabCursors'](){const _0x56426a=_0x22d19e;this[_0x56426a(0x362)]();const {scene:_0x214c20,mainComponent:_0x2d7fbe}=this[_0x56426a(0x1af)],_0x1b7442=this['_docSkeletonManagerService']['getSkeleton'](),_0x34e562=this[_0x56426a(0xee)]['map'](_0x84d40=>new _0x36a29c(_0x84d40,_0x214c20,_0x1b7442,_0x2d7fbe));this[_0x56426a(0x177)]=_0x34e562;}['_removeCollabCursors'](){const _0x4ca857=_0x22d19e;this[_0x4ca857(0x177)][_0x4ca857(0x316)](_0x52a65f=>_0x52a65f[_0x4ca857(0x210)]()),this[_0x4ca857(0x177)]=[];}[_0x22d19e(0x1be)](){const _0x4a353c=_0x22d19e,_0x2e8ef1=[_0x22126e[_0x4a353c(0x20d)]['id']];this['disposeWithMe'](this[_0x4a353c(0x2b1)][_0x4a353c(0x1f9)](_0x3cd6f0=>{const _0x2e5e25=_0x4a353c;_0x2e8ef1['includes'](_0x3cd6f0['id'])&&_0x3cd6f0[_0x2e5e25(0x22d)]['unitId']===this[_0x2e5e25(0x1af)]['unitId']&&this[_0x2e5e25(0x119)]();}));}[_0x22d19e(0x240)](){const _0x3b074b=_0x22d19e;this[_0x3b074b(0xe5)](_0x4a5a1c[_0x3b074b(0x178)](this[_0x3b074b(0x1af)]['engine'][_0x3b074b(0x1c1)])[_0x3b074b(0x296)](_0x5d0515['filter'](_0x51321a=>_0x51321a[_0x3b074b(0x169)]===_0x5d2f68[_0x3b074b(0x11e)][_0x3b074b(0x342)]),_0x5d0515['throttleTime'](0x10))[_0x3b074b(0x35e)](()=>{const _0x20d804=_0x3b074b;this[_0x20d804(0x119)]();}));}};_0x238ac3=_0x551c44([_0x306641(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x5afd4e[_0x22d19e(0xb2)])),_0x306641(0x2,_0x4a5a1c['Inject'](_0x8689c)),_0x306641(0x3,_0x4a5a1c[_0x22d19e(0x263)]),_0x306641(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c['ThemeService']))],_0x238ac3);const _0x37ebd9=0x1,_0x4b9220=1.5;class _0x3fc4ac extends _0x5d2f68[_0x22d19e(0x36a)]{constructor(_0x16f6f4,_0x20c375){const _0x1e16d0=_0x22d19e;super(_0x16f6f4,_0x20c375),_0xa63e61(this,_0x1e16d0(0x334)),_0xa63e61(this,'_hovered',!0x1),_0xa63e61(this,_0x1e16d0(0x243)),_0xa63e61(this,_0x1e16d0(0x138),''),_0xa63e61(this,_0x1e16d0(0x12e),_0x1e16d0(0x2f1)),_0xa63e61(this,_0x1e16d0(0x2fc)),(_0x20c375&&this[_0x1e16d0(0x19d)](_0x20c375),this[_0x1e16d0(0x126)][_0x1e16d0(0x11b)](()=>this[_0x1e16d0(0x19d)]({'hovered':!0x0})),this[_0x1e16d0(0xea)][_0x1e16d0(0x11b)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x22d19e(0x19d)](_0x40f190){const _0x3a3894=_0x22d19e;var _0x7c8d7e,_0x42f7ee,_0x5ab7aa,_0x1ba17a,_0x4fa998,_0x2c8534;this[_0x3a3894(0x334)]=(_0x7c8d7e=_0x40f190[_0x3a3894(0x174)])!=null?_0x7c8d7e:this[_0x3a3894(0x334)],this['_hovered']=(_0x42f7ee=_0x40f190[_0x3a3894(0x91)])!=null?_0x42f7ee:this[_0x3a3894(0x12b)],this['_range']=(_0x5ab7aa=_0x40f190[_0x3a3894(0x2f0)])!=null?_0x5ab7aa:this[_0x3a3894(0x243)],this[_0x3a3894(0x138)]=(_0x1ba17a=_0x40f190[_0x3a3894(0x2a6)])!=null?_0x1ba17a:this[_0x3a3894(0x138)],this[_0x3a3894(0x12e)]=(_0x4fa998=_0x40f190['labelPosition'])!=null?_0x4fa998:this[_0x3a3894(0x12e)],this[_0x3a3894(0x2fc)]=(_0x2c8534=_0x40f190[_0x3a3894(0x1b8)])!=null?_0x2c8534:this['_backgroundColor'],this['transformByState']({'width':_0x40f190[_0x3a3894(0xcd)],'height':_0x40f190[_0x3a3894(0x290)]});}[_0x22d19e(0x35b)](_0x481e27){const _0x1218da=_0x22d19e,{row:_0x5d8d41,column:_0x3d5f10}=_0x481e27;if(_0x5d8d41>=this['_range'][_0x1218da(0x2f3)]&&_0x5d8d41<=this[_0x1218da(0x243)]['endRow']&&_0x3d5f10>=this[_0x1218da(0x243)][_0x1218da(0x152)]&&_0x3d5f10<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1218da(0x19d)]({'hovered':!0x1});}[_0x22d19e(0x2af)](_0x1ecbad){return!0x1;}[_0x22d19e(0x298)](_0x3e7d5e){const _0x1398af=_0x22d19e;_0x5d2f68['Rect']['drawWith'](_0x3e7d5e,{'width':this[_0x1398af(0xcd)],'height':this[_0x1398af(0x290)],'strokeWidth':_0x4b9220,'stroke':this[_0x1398af(0x334)],'evented':!0x1,'fill':this[_0x1398af(0x2fc)]}),this['_hovered']&&(_0x3e7d5e[_0x1398af(0x297)](),_0x3e7d5e[_0x1398af(0x33b)](0x1,0x0,0x0,0x1,this[_0x1398af(0xcd)],this[_0x1398af(0x12e)]==='bottom'?0x0:-_0x3f556f),_0x132457[_0x1398af(0xe2)](_0x3e7d5e,{'text':this[_0x1398af(0x138)],'color':this[_0x1398af(0x334)]}),_0x3e7d5e[_0x1398af(0x31d)]());}}var _0x5b6e3a=Object[_0x22d19e(0x1e2)],_0x123afb=(_0x451458,_0x21391c,_0xb9a55c,_0x3069ae)=>{const _0x23fd42=_0x22d19e;for(var _0x3b1771=_0x3069ae>0x1?void 0x0:_0x3069ae?_0x5b6e3a(_0x21391c,_0xb9a55c):_0x21391c,_0x1d21e5=_0x451458[_0x23fd42(0x29c)]-0x1,_0x20fa1a;_0x1d21e5>=0x0;_0x1d21e5--)(_0x20fa1a=_0x451458[_0x1d21e5])&&(_0x3b1771=_0x20fa1a(_0x3b1771)||_0x3b1771);return _0x3b1771;},_0x2c8fdb=(_0x200e01,_0xb1552a)=>(_0x6221b2,_0x488829)=>_0xb1552a(_0x6221b2,_0x488829,_0x200e01);const _0x4981c6=0x1389;let _0x5e3b2e=class extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(_0xc0a7c0,_0x918cb4,_0x884162,_0x3c7e4a){const _0x7520f4=_0x22d19e;super(),_0xa63e61(this,_0x7520f4(0xee),new Set()),_0xa63e61(this,'_lastPointer',null),(this[_0x7520f4(0x1af)]=_0xc0a7c0,this['_sheetSkeletonManagerService']=_0x918cb4,this[_0x7520f4(0x96)]=_0x884162,this[_0x7520f4(0x2e4)]=_0x3c7e4a,this[_0x7520f4(0x105)]());}[_0x22d19e(0x105)](){const _0x37ae13=_0x22d19e;this['_sheetSkeletonManagerService'][_0x37ae13(0xe8)][_0x37ae13(0x296)](_0x5d0515[_0x37ae13(0x9e)](this[_0x37ae13(0x148)]),_0x5d0515[_0x37ae13(0x1d5)](_0x564d5d=>{const _0x17c9bc=_0x37ae13;if(_0x564d5d){const _0x21ac16=_0x564d5d['sheetId'];return _0x8d94e0['combineLatest'](this[_0x17c9bc(0x96)]['getCollabCursors$'](this[_0x17c9bc(0x1af)][_0x17c9bc(0x369)]),this[_0x17c9bc(0x2e4)][_0x17c9bc(0x291)])['pipe'](_0x5d0515['map'](([_0x38234a,_0x2b62b3])=>{const _0x403afc=_0x17c9bc,_0x8b1b0b=new Map();return _0x38234a[_0x403afc(0x316)]((_0x42ba82,_0x51e071)=>{const _0x3fe458=_0x403afc;if(_0x42ba82['sheetID']===_0x21ac16){const _0x2caeb5={..._0x42ba82};_0x2caeb5[_0x3fe458(0x174)]=this['_themeService']['getColorFromTheme'](_0x42ba82['color']),_0x8b1b0b[_0x3fe458(0x25b)](_0x51e071,_0x2caeb5);}}),{'skeleton':_0x564d5d,'cursors':_0x8b1b0b};}));}return _0x8d94e0['of']({'skeleton':null,'cursors':new Map()});}))[_0x37ae13(0x35e)](({skeleton:_0x387e9a,cursors:_0x4998d9})=>{const _0x33fdc9=_0x37ae13;this[_0x33fdc9(0x362)](),_0x387e9a&&this['_updateCollabCursors'](_0x387e9a,_0x4998d9);}),this[_0x37ae13(0x183)][_0x37ae13(0xe8)][_0x37ae13(0x35e)](_0xe98b6f=>{const _0x23f798=_0x37ae13;if(_0xe98b6f==null)return;const {skeleton:_0x395500}=_0xe98b6f,{scene:_0x176f8e}=this[_0x23f798(0x1af)];_0x176f8e[_0x23f798(0x165)][_0x23f798(0x11b)](_0x4a5a1c[_0x23f798(0x25d)](_0x1ceb7b=>{const _0x17cc75=_0x23f798;var _0x4d4985,_0x24fbb2;const {offsetX:_0x5210f5,offsetY:_0x3fe87a}=_0x1ceb7b,{x:_0x36451b,y:_0x1a8b29}=_0x176f8e[_0x17cc75(0xf1)](_0x5d2f68[_0x17cc75(0x200)]['FromArray']([_0x5210f5,_0x3fe87a])),{scaleX:_0x27b867,scaleY:_0x437aaa}=_0x176f8e[_0x17cc75(0x357)](),_0xdea498=_0x176f8e[_0x17cc75(0x1e3)](_0x5d2f68[_0x17cc75(0x102)][_0x17cc75(0x346)]),_0x41b152=_0x176f8e[_0x17cc75(0x31c)](_0x5d2f68[_0x17cc75(0x200)][_0x17cc75(0x13c)]([_0x36451b,_0x1a8b29]),_0xdea498),_0x70712f=_0x395500['getCellPositionByOffset'](_0x5210f5,_0x3fe87a,_0x27b867,_0x437aaa,_0x41b152);((_0x4d4985=this[_0x17cc75(0x356)])==null?void 0x0:_0x4d4985[_0x17cc75(0x29b)])===_0x70712f[_0x17cc75(0x29b)]&&((_0x24fbb2=this[_0x17cc75(0x356)])==null?void 0x0:_0x24fbb2[_0x17cc75(0xe3)])===_0x70712f[_0x17cc75(0xe3)]||this[_0x17cc75(0xee)][_0x17cc75(0x316)](_0x230724=>{const _0x284a41=_0x17cc75;_0x230724[_0x284a41(0x35b)](_0x70712f);});},0x64));});}[_0x22d19e(0x280)](_0x3b77cb,_0x3de7b2){const _0x45edd0=_0x22d19e;var _0x39c4bb;const _0x340c58=(_0x39c4bb=this[_0x45edd0(0x183)][_0x45edd0(0x2fa)]())==null?void 0x0:_0x39c4bb['skeleton'];if(!_0x340c58)return;const _0x3e4ee8=this['_getSheetObject']();if(!_0x3e4ee8)return;this[_0x45edd0(0xee)][_0x45edd0(0x316)](_0x59376d=>{const _0x1ccd5f=_0x45edd0;_0x59376d[_0x1ccd5f(0x265)]();});const {scene:_0xa5979b}=_0x3e4ee8,_0xaae2da=_0xe9c136(Array[_0x45edd0(0x319)](_0x3de7b2[_0x45edd0(0x18a)]()))[_0x45edd0(0x112)](_0x5b34d9=>{const _0x51903b=_0x45edd0,{color:_0x35dbe3,range:_0x2c9e92,name:_0x404b15,selection:_0x59b99c,sheetID:_0x1e21b7}=_0x5b34d9,{startColumn:_0x32e5d7,startRow:_0x133733,endColumn:_0x199882,endRow:_0x3766cf}=_0x2c9e92,_0x15d6dc=_0x14ceff[_0x51903b(0x255)](_0x133733,_0x32e5d7,_0xa5979b,_0x340c58),_0x1b4255=_0x14ceff[_0x51903b(0x255)](_0x3766cf,_0x199882,_0xa5979b,_0x340c58),{columnHeaderHeightAndMarginTop:_0x2aebd0}=_0x340c58,{startX:_0x48e206,startY:_0x2228b1}=_0x15d6dc,{endX:_0x3a76c6,endY:_0x2764b6}=_0x1b4255,_0x70de4=_0x3a76c6-_0x48e206,_0x25e41f=_0x2764b6-_0x2228b1,_0x200ef6={'labelPosition':_0x2228b1-_0x2aebd0>=_0x3f556f?'top':_0x51903b(0x348),'sheetID':_0x1e21b7,'range':_0x2c9e92,'color':_0x35dbe3,'name':_0x404b15,'selection':_0x59b99c,'left':_0x48e206,'top':_0x2228b1,'width':_0x70de4,'height':_0x25e41f,'evented':!0x1,'zIndex':_0x4981c6};return new _0x3fc4ac(_0x404b15,_0x200ef6);});_0xa5979b[_0x45edd0(0xa1)](_0xaae2da,_0x37ebd9),this[_0x45edd0(0xee)]=new Set(_0xaae2da);}[_0x22d19e(0x362)](){const _0x586d60=_0x22d19e;var _0x5ad3e0;(_0x5ad3e0=this[_0x586d60(0xee)])==null||_0x5ad3e0[_0x586d60(0x316)](_0x55f007=>_0x55f007[_0x586d60(0x210)]());}['_getSheetObject'](){const _0x1b1195=_0x22d19e;return _0x14ceff['getSheetObject'](this[_0x1b1195(0x1af)][_0x1b1195(0x300)],this[_0x1b1195(0x1af)]);}};_0x5e3b2e=_0x123afb([_0x2c8fdb(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x14ceff['SheetSkeletonManagerService'])),_0x2c8fdb(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x8689c)),_0x2c8fdb(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c['ThemeService']))],_0x5e3b2e);function _0xe9c136(_0x412fd6){const _0x421b7d=_0x22d19e,_0x13e2f0=new Map();return _0x412fd6[_0x421b7d(0x316)](_0xc09a41=>{const _0x377a17=_0x421b7d;if(_0x13e2f0[_0x377a17(0x241)](_0xc09a41[_0x377a17(0x1e1)])){const _0x586cbc=_0x13e2f0[_0x377a17(0x18e)](_0xc09a41[_0x377a17(0x1e1)]);_0x586cbc['name']+=',\x20'+_0xc09a41[_0x377a17(0x2a6)];}else _0x13e2f0[_0x377a17(0x25b)](_0xc09a41[_0x377a17(0x1e1)],_0xc09a41);}),Array['from'](_0x13e2f0[_0x421b7d(0x18a)]());}var _0x56b286=Object[_0x22d19e(0x1e2)],_0x32f795=(_0x4b7e86,_0x14988d,_0x52405a,_0x43eec5)=>{const _0x19349c=_0x22d19e;for(var _0x4fcd80=_0x43eec5>0x1?void 0x0:_0x43eec5?_0x56b286(_0x14988d,_0x52405a):_0x14988d,_0x34d161=_0x4b7e86[_0x19349c(0x29c)]-0x1,_0x579168;_0x34d161>=0x0;_0x34d161--)(_0x579168=_0x4b7e86[_0x34d161])&&(_0x4fcd80=_0x579168(_0x4fcd80)||_0x4fcd80);return _0x4fcd80;},_0x34c263=(_0x58d813,_0x30919d)=>(_0xf6d27,_0x90ff8c)=>_0x30919d(_0xf6d27,_0x90ff8c,_0x58d813);let _0x6027b0=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x1ff4ae,_0x2119a5,_0x2b4120,_0x5c61e7,_0x490c37,_0x17c927){const _0x4da78c=_0x22d19e;super(),this['_beforeCloseService']=_0x1ff4ae,this[_0x4da78c(0x1ad)]=_0x2119a5,this[_0x4da78c(0x347)]=_0x2b4120,this['_messageService']=_0x5c61e7,this[_0x4da78c(0x15b)]=_0x490c37,this[_0x4da78c(0x295)]=_0x17c927,this[_0x4da78c(0x16e)](),this['_initEvent']();}[_0x22d19e(0x16e)](){const _0x1c672f=_0x22d19e;this[_0x1c672f(0xe5)](this[_0x1c672f(0x302)][_0x1c672f(0x123)](()=>{const _0x534f57=_0x1c672f;if(this[_0x534f57(0x1ad)]['saveTaskMap']['size'])return this[_0x534f57(0x295)]['t'](_0x534f57(0x343));}));}[_0x22d19e(0x147)](){const _0x1b87bd=_0x22d19e;this[_0x1b87bd(0xe5)](this['_collaborationUIEventService'][_0x1b87bd(0xa3)][_0x1b87bd(0x35e)](_0x51de90=>{const _0x14ef05=_0x1b87bd;_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x331)]&&this['_messageService'][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)][_0x14ef05(0x194)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x2d8))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x1fc)]&&this[_0x14ef05(0x33e)]['show']({'type':_0x67c92c['MessageType'][_0x14ef05(0x194)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0xe4))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x13b)]&&this[_0x14ef05(0x15b)][_0x14ef05(0x1ba)]({'title':this[_0x14ef05(0x295)]['t']('permission.title'),'content':this['_localeService']['t'](_0x14ef05(0x325)),'type':_0x14ef05(0x1fd),'duration':0x0}),_0x51de90['id']===_0x29cbea['CollaborationUIEventId']['CONFLICT']&&this['_messageService']['show']({'type':_0x67c92c[_0x14ef05(0x215)]['Error'],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0xe4))+'('+_0x51de90[_0x14ef05(0x136)]+')'}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x1ea)]&&this[_0x14ef05(0x33e)][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)]['Warning'],'content':this['_localeService']['t'](_0x51de90[_0x14ef05(0x136)]||'')}),_0x51de90['id']===_0x29cbea['CollaborationUIEventId'][_0x14ef05(0x29e)]&&this[_0x14ef05(0x33e)][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)][_0x14ef05(0x194)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x167))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x17d)]&&this[_0x14ef05(0x33e)][_0x14ef05(0x1ba)]({'type':_0x67c92c[_0x14ef05(0x215)]['Error'],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x2ab))}),_0x51de90['id']===_0x29cbea[_0x14ef05(0x1f3)][_0x14ef05(0x141)]&&this[_0x14ef05(0x33e)]['show']({'type':_0x67c92c['MessageType'][_0x14ef05(0x2d1)],'content':this[_0x14ef05(0x295)]['t'](_0x14ef05(0x277))});}));}};_0x6027b0=_0x32f795([_0x34c263(0x0,_0x270495['IBeforeCloseService']),_0x34c263(0x1,_0x29cbea[_0x22d19e(0x92)]),_0x34c263(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x367)])),_0x34c263(0x3,_0x270495[_0x22d19e(0x339)]),_0x34c263(0x4,_0x270495[_0x22d19e(0x2bc)]),_0x34c263(0x5,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x16a)]))],_0x6027b0);var _0x2534f6=Object[_0x22d19e(0x1e2)],_0x4779a7=(_0x436021,_0x5cfb48,_0x3ac2b3,_0x19d4c0)=>{const _0x5963c1=_0x22d19e;for(var _0x38fae8=_0x19d4c0>0x1?void 0x0:_0x19d4c0?_0x2534f6(_0x5cfb48,_0x3ac2b3):_0x5cfb48,_0xff783e=_0x436021[_0x5963c1(0x29c)]-0x1,_0x2b9992;_0xff783e>=0x0;_0xff783e--)(_0x2b9992=_0x436021[_0xff783e])&&(_0x38fae8=_0x2b9992(_0x38fae8)||_0x38fae8);return _0x38fae8;},_0x5d525a=(_0x337f15,_0x3e3ee1)=>(_0x3e44bc,_0x184ab9)=>_0x3e3ee1(_0x3e44bc,_0x184ab9,_0x337f15);let _0x44bd4f=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x3e0612,_0x4069f1,_0x42c12b,_0x4552d3){const _0x58f53c=_0x22d19e;super(),_0xa63e61(this,'_memberID'),(this[_0x58f53c(0x36e)]=_0x3e0612,this[_0x58f53c(0x33c)]=_0x4069f1,this[_0x58f53c(0x1d7)]=_0x42c12b,this['_collaborationSessionService']=_0x4552d3,this[_0x58f53c(0x105)]());}[_0x22d19e(0x105)](){const _0x3f609c=_0x22d19e;this[_0x3f609c(0xc1)](),this[_0x3f609c(0x29d)](),this[_0x3f609c(0x24b)](),this[_0x3f609c(0xae)]();}[_0x22d19e(0xae)](){const _0xc79f7=_0x22d19e;this[_0xc79f7(0xe5)](this[_0xc79f7(0x111)][_0xc79f7(0x153)][_0xc79f7(0x35e)](_0x8c48cd=>{const _0x19e9df=_0xc79f7;this[_0x19e9df(0x2bd)]=_0x8c48cd==null?void 0x0:_0x8c48cd[_0x19e9df(0x27c)];}));}[_0x22d19e(0xc1)](){const _0x54a556=_0x22d19e,_0x2d64e5=_0x1344c1=>{const _0x33e348=_0x1ae4;var _0x5e0c46;this['_uploadLog'](_0x33e348(0x1fd),_0x33e348(0xa2)+_0x1344c1[_0x33e348(0x1f4)]+_0x33e348(0x299)+_0x1344c1['filename']+':'+_0x1344c1[_0x33e348(0x233)]+':'+_0x1344c1[_0x33e348(0x107)]+'\x0a'+(((_0x5e0c46=_0x1344c1[_0x33e348(0x1fd)])==null?void 0x0:_0x5e0c46[_0x33e348(0x207)])||''));};window[_0x54a556(0x24e)](_0x54a556(0x1fd),_0x2d64e5),this['disposeWithMe'](()=>{const _0x2a81b9=_0x54a556;window['removeEventListener'](_0x2a81b9(0x1fd),_0x2d64e5);});}[_0x22d19e(0x29d)](){const _0x289a88=_0x22d19e,_0x13f475=_0x143ac2=>{const _0x964fd0=_0x1ae4;this[_0x964fd0(0x11a)](_0x964fd0(0x1fd),_0x964fd0(0x17a)+_0x143ac2[_0x964fd0(0x2be)]);};window['addEventListener'](_0x289a88(0x12c),_0x13f475),this['disposeWithMe'](()=>{const _0x1cdda1=_0x289a88;window[_0x1cdda1(0x2e1)](_0x1cdda1(0x12c),_0x13f475);});}[_0x22d19e(0x24b)](){const _0x282ed6=_0x22d19e,_0x148744=this[_0x282ed6(0x1d7)][_0x282ed6(0x1fd)][_0x282ed6(0x2c2)](this[_0x282ed6(0x1d7)]);this[_0x282ed6(0x1d7)][_0x282ed6(0x1fd)]=(..._0x1d281f)=>{const _0x2de588=_0x282ed6,_0x2a47da=_0x1d281f[_0x2de588(0x112)](_0x296722=>_0x296722 instanceof Error?_0x296722[_0x2de588(0x1f4)]+'\x0a'+_0x296722[_0x2de588(0x207)]:String(_0x296722))['join']('\x20');this[_0x2de588(0x11a)]('error',_0x2de588(0x359)+_0x2a47da),_0x148744(..._0x1d281f);},this[_0x282ed6(0xe5)](()=>{const _0x400769=_0x282ed6;this[_0x400769(0x1d7)]['error']=_0x148744;});}['_uploadLog'](_0x479b43,_0xb7f84a){const _0x3d215d=_0x22d19e;try{const _0x39efb4={'userId':this[_0x3d215d(0x2bd)],'logLabel':_0x479b43,'content':_0xb7f84a};this[_0x3d215d(0x33c)][_0x3d215d(0x33a)](_0x3d215d(0xfb),{'body':_0x39efb4})[_0x3d215d(0x25f)](()=>{});}catch{}}};_0x44bd4f=_0x4779a7([_0x5d525a(0x0,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x5d525a(0x1,_0x4a5a1c['Inject'](_0xbeb642[_0x22d19e(0x34b)])),_0x5d525a(0x2,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x5d525a(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea['CollaborationSessionService']))],_0x44bd4f);const _0x48039f=_0x22d19e(0x327),_0x1eb4f8={};var _0x4021d8=Object[_0x22d19e(0x1e2)],_0xe85d6c=(_0x9502,_0xf0b3cc,_0x29f692,_0x257622)=>{const _0x1781cd=_0x22d19e;for(var _0x20c4d8=_0x257622>0x1?void 0x0:_0x257622?_0x4021d8(_0xf0b3cc,_0x29f692):_0xf0b3cc,_0x17b3e8=_0x9502[_0x1781cd(0x29c)]-0x1,_0x345359;_0x17b3e8>=0x0;_0x17b3e8--)(_0x345359=_0x9502[_0x17b3e8])&&(_0x20c4d8=_0x345359(_0x20c4d8)||_0x20c4d8);return _0x20c4d8;},_0x514d51=(_0x4c32b8,_0x5e59b8)=>(_0x4a4cd9,_0x12bb30)=>_0x5e59b8(_0x4a4cd9,_0x12bb30,_0x4c32b8);let _0xc53968=class{constructor(_0x1e9968,_0x30ee50){const _0x37bc0e=_0x22d19e;this['_transformService']=_0x1e9968,this[_0x37bc0e(0x282)]=_0x30ee50;}[_0x22d19e(0x2da)](_0x373217){const _0xc74015=_0x22d19e;this[_0xc74015(0xf8)](_0x373217),this[_0xc74015(0x18c)](_0x373217);}[_0x22d19e(0x16f)](_0x275c93){const _0x5f4cb2=_0x22d19e,{unitID:_0x4e18d7}=_0x275c93,_0x428d93=this[_0x5f4cb2(0x282)][_0x5f4cb2(0x305)](_0x4e18d7)['with'](_0x22126e['DocIMEInputManagerService']),{redoCache:_0x3f6c08}=_0x428d93[_0x5f4cb2(0x355)]();if(_0x3f6c08['length']===0x0)return _0x275c93;let _0x1d5905=_0x4a5a1c[_0x5f4cb2(0xc6)]['deepClone'](_0x275c93['mutations'][0x0]);for(let _0x6aa73=0x0;_0x6aa73<_0x3f6c08[_0x5f4cb2(0x29c)];_0x6aa73++){const _0x220387={'id':'doc.mutation.rich-text-editing','params':{..._0x3f6c08[_0x6aa73]}},_0x495384=this['_transformService'][_0x5f4cb2(0x9f)](_0x1d5905,_0x220387,!0x1);if(_0x4a6bb0[_0x5f4cb2(0xbb)](_0x495384))throw _0x495384['error'];_0x1d5905=_0x495384[_0x5f4cb2(0xdf)];}return{..._0x4a5a1c[_0x5f4cb2(0xc6)][_0x5f4cb2(0x2fe)](_0x275c93),'mutations':[_0x1d5905]};}[_0x22d19e(0xf8)](_0xc33245){const _0x467ff9=_0x22d19e,{unitID:_0xe9151a}=_0xc33245,_0x3f509c=this[_0x467ff9(0x282)]['getRenderById'](_0xe9151a)[_0x467ff9(0x12d)](_0x22126e[_0x467ff9(0x189)]),{undoCache:_0x5d84aa,redoCache:_0x11f967}=_0x3f509c[_0x467ff9(0x355)]();if(_0x5d84aa[_0x467ff9(0x29c)]===0x0||_0x11f967['length']===0x0)return;const _0x3c7979=[],_0x37d831=[];let _0x4b0dec=_0x4a5a1c[_0x467ff9(0xc6)][_0x467ff9(0x2fe)](_0xc33245[_0x467ff9(0x354)][0x0]),_0x2c8b50=_0x4a5a1c[_0x467ff9(0xc6)][_0x467ff9(0x2fe)](_0xc33245[_0x467ff9(0x354)][0x0]);for(let _0x2069b5=_0x5d84aa['length']-0x1;_0x2069b5>=0x0;_0x2069b5--){const _0x31b6de={'id':_0x467ff9(0x2a5),'params':{..._0x5d84aa[_0x2069b5]}},_0x64530b={'id':_0x467ff9(0x2a5),'params':{..._0x11f967[_0x2069b5]}},_0x26495b=this[_0x467ff9(0x1ff)][_0x467ff9(0x9f)](_0x4b0dec,_0x31b6de,!0x1),_0x34bd74=this['_transformService']['transformMutation'](_0x2c8b50,_0x64530b,!0x1);if(_0x4a6bb0[_0x467ff9(0xbb)](_0x26495b))throw _0x26495b[_0x467ff9(0x1fd)];if(_0x4a6bb0[_0x467ff9(0xbb)](_0x34bd74))throw _0x34bd74[_0x467ff9(0x1fd)];_0x3c7979[_0x467ff9(0xfc)](_0x26495b[_0x467ff9(0x196)][_0x467ff9(0x22d)]),_0x37d831[_0x467ff9(0xfc)](_0x34bd74[_0x467ff9(0x196)][_0x467ff9(0x22d)]),_0x4b0dec=_0x26495b['m1Prime'],_0x2c8b50=_0x34bd74[_0x467ff9(0xdf)];}_0x3f509c[_0x467ff9(0x1bb)]({'undoCache':_0x3c7979,'redoCache':_0x37d831});}[_0x22d19e(0x18c)](_0x1b58a7){const _0x27a007=_0x22d19e,{unitID:_0x146fda}=_0x1b58a7,_0x59c6c9=this[_0x27a007(0x282)][_0x27a007(0x305)](_0x146fda)[_0x27a007(0x12d)](_0x22126e[_0x27a007(0x189)]),_0x58a562=_0x59c6c9[_0x27a007(0x219)]();if(_0x58a562==null)return;const _0x22a906=[{'id':_0x27a007(0x2a5),'params':{'unitId':_0x1b58a7[_0x27a007(0x2bb)],'actions':null,'textRanges':[_0x58a562]}}],_0x1e49e0=this[_0x27a007(0x1ff)]['transformMutationsWithChangeset'](_0x1b58a7,_0x22a906);if(!_0x4a6bb0[_0x27a007(0x1ca)](_0x1e49e0))throw _0x1e49e0[_0x27a007(0x1fd)];const _0x54b2ec=_0x1e49e0[_0x27a007(0x196)][0x0][_0x27a007(0x22d)][_0x27a007(0x30f)];Array['isArray'](_0x54b2ec)&&_0x54b2ec[_0x27a007(0x29c)]&&_0x59c6c9[_0x27a007(0x220)](_0x54b2ec[0x0]);}};_0xc53968=_0xe85d6c([_0x514d51(0x0,_0x4a6bb0[_0x22d19e(0x158)]),_0x514d51(0x1,_0x5d2f68[_0x22d19e(0xcf)])],_0xc53968);var _0x509b22=Object[_0x22d19e(0x1e2)],_0x24bf3f=(_0x5db15b,_0x240ae3,_0x23a03f,_0x383737)=>{for(var _0x37cd0f=_0x383737>0x1?void 0x0:_0x383737?_0x509b22(_0x240ae3,_0x23a03f):_0x240ae3,_0x3903ab=_0x5db15b['length']-0x1,_0x21d0ad;_0x3903ab>=0x0;_0x3903ab--)(_0x21d0ad=_0x5db15b[_0x3903ab])&&(_0x37cd0f=_0x21d0ad(_0x37cd0f)||_0x37cd0f);return _0x37cd0f;},_0x1023f1=(_0x5f74e0,_0x1a47bf)=>(_0x2d55f9,_0x5bfbfd)=>_0x1a47bf(_0x2d55f9,_0x5bfbfd,_0x5f74e0);let _0x5cd1e2=class{constructor(_0xe7575,_0xb84641,_0x1e8e26){const _0x5659e8=_0x22d19e;this[_0x5659e8(0x36e)]=_0xe7575,this[_0x5659e8(0x1ff)]=_0xb84641,this[_0x5659e8(0x24d)]=_0x1e8e26;}['transformStateCache'](_0x698087){const _0x18dd99=_0x22d19e;this[_0x18dd99(0x1b3)](_0x698087);}['transformRemoteChangeset'](_0x3231a0){const _0x318d19=_0x22d19e,{unitID:_0x24be4d}=_0x3231a0,{collaboration:_0x530815}=this[_0x318d19(0x24d)][_0x318d19(0x1c9)](_0x24be4d);if(_0x530815[_0x318d19(0x29c)]===0x0)return _0x3231a0;let _0x132f93=_0x4a5a1c[_0x318d19(0xc6)][_0x318d19(0x2fe)](_0x3231a0['mutations'][0x0]);for(let _0x1b47c3=0x0;_0x1b47c3<_0x530815['length'];_0x1b47c3++){const _0x588c9a={'id':_0x318d19(0x2a5),'params':{'unitId':_0x530815[_0x1b47c3]['unitId'],..._0x530815[_0x1b47c3]['redoState']}},_0x1684f1=this[_0x318d19(0x1ff)][_0x318d19(0x9f)](_0x132f93,_0x588c9a,!0x1);if(_0x4a6bb0[_0x318d19(0xbb)](_0x1684f1))throw _0x1684f1[_0x318d19(0x1fd)];_0x132f93=_0x1684f1[_0x318d19(0xdf)];}return{..._0x4a5a1c[_0x318d19(0xc6)][_0x318d19(0x2fe)](_0x3231a0),'mutations':[_0x132f93]};}[_0x22d19e(0x1b3)](_0x547b56){const _0x4644d8=_0x22d19e,{unitID:_0x105ad4}=_0x547b56,{history:_0x46c4b9,collaboration:_0x345f88}=this[_0x4644d8(0x24d)]['getStateCache'](_0x105ad4);if(_0x46c4b9[_0x4644d8(0x29c)]===0x0&&_0x345f88[_0x4644d8(0x29c)]===0x0)return;const _0x23df02=[],_0x2cdae2=[];let _0x3eb7c7=_0x4a5a1c['Tools'][_0x4644d8(0x2fe)](_0x547b56[_0x4644d8(0x354)][0x0]),_0x391fd5=_0x4a5a1c[_0x4644d8(0xc6)]['deepClone'](_0x547b56[_0x4644d8(0x354)][0x0]);for(let _0xff0a95=_0x46c4b9[_0x4644d8(0x29c)]-0x1;_0xff0a95>=0x0;_0xff0a95--){const _0x23272f={'id':_0x4644d8(0x2a5),'params':{'unitId':_0x46c4b9[_0xff0a95][_0x4644d8(0x369)],..._0x46c4b9[_0xff0a95][_0x4644d8(0x1bc)]}},_0x4d48f5={'id':_0x4644d8(0x2a5),'params':{'unitId':_0x46c4b9[_0xff0a95][_0x4644d8(0x369)],..._0x46c4b9[_0xff0a95][_0x4644d8(0xb1)]}},_0x150d91=this[_0x4644d8(0x1ff)]['transformMutation'](_0x3eb7c7,_0x23272f,!0x1),_0x5d5ff1=this[_0x4644d8(0x1ff)][_0x4644d8(0x9f)](_0x391fd5,_0x4d48f5,!0x1);if(_0x4a6bb0[_0x4644d8(0xbb)](_0x150d91))throw _0x150d91[_0x4644d8(0x1fd)];if(_0x4a6bb0[_0x4644d8(0xbb)](_0x5d5ff1))throw _0x5d5ff1[_0x4644d8(0x1fd)];_0x23df02[_0x4644d8(0xfc)]({..._0x46c4b9[_0xff0a95],'undoState':_0x150d91[_0x4644d8(0x196)][_0x4644d8(0x22d)],'redoState':_0x5d5ff1[_0x4644d8(0x196)]['params']}),_0x3eb7c7=_0x150d91[_0x4644d8(0xdf)],_0x391fd5=_0x5d5ff1[_0x4644d8(0xdf)];}_0x3eb7c7=_0x4a5a1c[_0x4644d8(0xc6)]['deepClone'](_0x547b56[_0x4644d8(0x354)][0x0]),_0x391fd5=_0x4a5a1c[_0x4644d8(0xc6)]['deepClone'](_0x547b56[_0x4644d8(0x354)][0x0]);for(let _0x4d469b=_0x345f88[_0x4644d8(0x29c)]-0x1;_0x4d469b>=0x0;_0x4d469b--){const _0x382420={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x345f88[_0x4d469b]['unitId'],..._0x345f88[_0x4d469b]['undoState']}},_0xa4d5d9={'id':_0x4644d8(0x2a5),'params':{'unitId':_0x345f88[_0x4d469b][_0x4644d8(0x369)],..._0x345f88[_0x4d469b][_0x4644d8(0xb1)]}},_0x379087=this['_transformService'][_0x4644d8(0x9f)](_0x3eb7c7,_0x382420,!0x1),_0x16d48d=this[_0x4644d8(0x1ff)][_0x4644d8(0x9f)](_0x391fd5,_0xa4d5d9,!0x1);if(_0x4a6bb0[_0x4644d8(0xbb)](_0x379087))throw _0x379087[_0x4644d8(0x1fd)];if(_0x4a6bb0[_0x4644d8(0xbb)](_0x16d48d))throw _0x16d48d[_0x4644d8(0x1fd)];_0x2cdae2[_0x4644d8(0xfc)]({..._0x345f88[_0x4d469b],'undoState':_0x379087['m2Prime'][_0x4644d8(0x22d)],'redoState':_0x16d48d['m2Prime'][_0x4644d8(0x22d)]}),_0x3eb7c7=_0x379087['m1Prime'],_0x391fd5=_0x16d48d[_0x4644d8(0xdf)];}this[_0x4644d8(0x24d)][_0x4644d8(0x190)](_0x105ad4,{'history':_0x23df02,'collaboration':_0x2cdae2});}};_0x5cd1e2=_0x24bf3f([_0x1023f1(0x0,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x1023f1(0x1,_0x4a6bb0[_0x22d19e(0x158)]),_0x1023f1(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x22126e[_0x22d19e(0x360)]))],_0x5cd1e2);var _0x4c3448=Object[_0x22d19e(0x1e2)],_0x162572=(_0x3e0d2f,_0x56d2f6,_0x572248,_0x33ec11)=>{const _0x470657=_0x22d19e;for(var _0xfc2be5=_0x33ec11>0x1?void 0x0:_0x33ec11?_0x4c3448(_0x56d2f6,_0x572248):_0x56d2f6,_0x33087f=_0x3e0d2f[_0x470657(0x29c)]-0x1,_0x37002d;_0x33087f>=0x0;_0x33087f--)(_0x37002d=_0x3e0d2f[_0x33087f])&&(_0xfc2be5=_0x37002d(_0xfc2be5)||_0xfc2be5);return _0xfc2be5;},_0x222dbd=(_0x2a7f39,_0x14dace)=>(_0x34fd5a,_0x706f91)=>_0x14dace(_0x34fd5a,_0x706f91,_0x2a7f39);let _0x247291=class{constructor(_0x516aac,_0x1ef0e7){const _0x2ef52d=_0x22d19e;this[_0x2ef52d(0x36e)]=_0x516aac,this[_0x2ef52d(0x1ff)]=_0x1ef0e7;}[_0x22d19e(0x22c)](_0x86cb90){const _0x24b78e=_0x22d19e;var _0x32a1a0;const _0x1aa468=this[_0x24b78e(0x36e)][_0x24b78e(0x18e)](_0x5afd4e[_0x24b78e(0x11c)]),_0x2e2ea8=(_0x32a1a0=_0x1aa468['getDocRanges']())!=null?_0x32a1a0:[];if(_0x2e2ea8[_0x24b78e(0x29c)]===0x0)return;const _0x25c104=_0x86cb90['unitID'],_0x5681e9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x25c104,'actions':null,'textRanges':_0x2e2ea8}}],_0x347f6a=this[_0x24b78e(0x1ff)]['transformMutationsWithChangeset'](_0x86cb90,_0x5681e9);if(!_0x4a6bb0[_0x24b78e(0x1ca)](_0x347f6a))throw _0x347f6a[_0x24b78e(0x1fd)];const _0x3ef64f=_0x347f6a[_0x24b78e(0x196)][0x0][_0x24b78e(0x22d)][_0x24b78e(0x30f)];Array[_0x24b78e(0xca)](_0x3ef64f)&&_0x3ef64f[_0x24b78e(0x29c)]&&_0x1aa468[_0x24b78e(0x28e)](_0x3ef64f,{'unitId':_0x25c104,'subUnitId':_0x25c104},!0x1);}};_0x247291=_0x162572([_0x222dbd(0x0,_0x4a5a1c['Inject'](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x222dbd(0x1,_0x4a6bb0['ITransformService'])],_0x247291);var _0x125068=Object['getOwnPropertyDescriptor'],_0x4eb520=(_0x5e0214,_0x3914b2,_0xef1cc1,_0x181d3e)=>{for(var _0x4d5d95=_0x181d3e>0x1?void 0x0:_0x181d3e?_0x125068(_0x3914b2,_0xef1cc1):_0x3914b2,_0x1154ab=_0x5e0214['length']-0x1,_0x3e4bd1;_0x1154ab>=0x0;_0x1154ab--)(_0x3e4bd1=_0x5e0214[_0x1154ab])&&(_0x4d5d95=_0x3e4bd1(_0x4d5d95)||_0x4d5d95);return _0x4d5d95;},_0x503f53=(_0x12cc88,_0x294e1d)=>(_0x273e32,_0x4ff8c1)=>_0x294e1d(_0x273e32,_0x4ff8c1,_0x12cc88);let _0x29e630=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x558c08,_0x3cb307,_0x177f3d,_0x58ce66,_0x3b3621,_0x532204,_0x499879,_0x5880d8){const _0x220db8=_0x22d19e;super(),_0xa63e61(this,_0x220db8(0x223),new _0x8d94e0[(_0x220db8(0x90))](_0x29cbea[_0x220db8(0x1eb)][_0x220db8(0x1d0)])),(this[_0x220db8(0x24d)]=_0x558c08,this['_collaborationController']=_0x3cb307,this['_docTransformIMECacheService']=_0x177f3d,this[_0x220db8(0xbc)]=_0x58ce66,this[_0x220db8(0x164)]=_0x3b3621,this['_docSyncEditingCollabCursorService']=_0x532204,this['_messageService']=_0x499879,this[_0x220db8(0x295)]=_0x5880d8,this[_0x220db8(0x173)]());}[_0x22d19e(0x173)](){const _0x145901=_0x22d19e;this[_0x145901(0xe5)](this[_0x145901(0x139)][_0x145901(0x1ae)][_0x145901(0x35e)](_0x99f7b1=>{const _0x1d80b8=_0x145901,_0x3be00d=this['_docStateChangeManagerService'][_0x1d80b8(0x1f8)]['subscribe'](_0x10566a=>{const _0x1fda26=_0x1d80b8;if(_0x10566a==null)return;const {unitId:_0x308f06,redoState:_0x2b7b6a,commandId:_0x35a08c}=_0x10566a;if(_0x308f06!==_0x99f7b1['unitID'])return;const _0x46b6d3={'id':_0x35a08c,'type':_0x4a5a1c[_0x1fda26(0xff)][_0x1fda26(0xa8)],'params':{'unitId':_0x308f06,'actions':_0x2b7b6a[_0x1fda26(0x142)],'textRanges':null}};_0x99f7b1[_0x1fda26(0x13d)](_0x46b6d3);});if(_0x99f7b1['disposeWithMe'](_0x3be00d),_0x99f7b1 instanceof _0x29cbea['DocCollaborationEntity']){const _0x351b65={'onTransformIME':_0xea2754=>this[_0x1d80b8(0x2ee)][_0x1d80b8(0x2da)](_0xea2754),'onTransformState':_0x5b5301=>this[_0x1d80b8(0xbc)]['transformStateCache'](_0x5b5301),'onTransformSelections':_0x26cfa7=>this[_0x1d80b8(0x164)]['transformSelections'](_0x26cfa7),'onSyncEditingCollabCursor':_0x1ce5ee=>this[_0x1d80b8(0x1c7)]['syncEditingCollabCursor'](_0x1ce5ee),'onTransformRemoteChangesetByIMECache':_0xbed2cc=>this[_0x1d80b8(0x2ee)]['transformRemoteChangeset'](_0xbed2cc),'onTransformRemoteChangesetByStateCache':_0x2b75c3=>this[_0x1d80b8(0xbc)][_0x1d80b8(0x16f)](_0x2b75c3)};_0x99f7b1[_0x1d80b8(0x26f)](_0x351b65);}}));}};_0x29e630=_0x4eb520([_0x503f53(0x0,_0x4a5a1c[_0x22d19e(0x35d)](_0x22126e[_0x22d19e(0x360)])),_0x503f53(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0x29cbea[_0x22d19e(0x9b)])),_0x503f53(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0xc53968)),_0x503f53(0x3,_0x4a5a1c['Inject'](_0x5cd1e2)),_0x503f53(0x4,_0x4a5a1c[_0x22d19e(0x35d)](_0x247291)),_0x503f53(0x5,_0x4a5a1c['Inject'](_0x5e2c98)),_0x503f53(0x6,_0x270495[_0x22d19e(0x339)]),_0x503f53(0x7,_0x4a5a1c['Inject'](_0x4a5a1c[_0x22d19e(0x16a)]))],_0x29e630);var _0x4dfe1b=(_0x5a445a=>(_0x5a445a[_0x5a445a['UNDEFINED']=0x0]=_0x22d19e(0x146),_0x5a445a[_0x5a445a['OK']=0x1]='OK',_0x5a445a[_0x5a445a[_0x22d19e(0x1c3)]=0x2]=_0x22d19e(0x1c3),_0x5a445a[_0x5a445a[_0x22d19e(0x13b)]=0x3]=_0x22d19e(0x13b),_0x5a445a[_0x5a445a[_0x22d19e(0x182)]=0x4]=_0x22d19e(0x182),_0x5a445a[_0x5a445a[_0x22d19e(0x159)]=0x5]=_0x22d19e(0x159),_0x5a445a[_0x5a445a[_0x22d19e(0x185)]=0x6]=_0x22d19e(0x185),_0x5a445a[_0x5a445a[_0x22d19e(0xf0)]=0x7]=_0x22d19e(0xf0),_0x5a445a[_0x5a445a[_0x22d19e(0x26a)]=0x8]=_0x22d19e(0x26a),_0x5a445a[_0x5a445a[_0x22d19e(0x1ab)]=0x9]=_0x22d19e(0x1ab),_0x5a445a[_0x5a445a['LOGIN_FAILED']=0xa]=_0x22d19e(0x166),_0x5a445a[_0x5a445a[_0x22d19e(0x32d)]=0xb]=_0x22d19e(0x32d),_0x5a445a[_0x5a445a[_0x22d19e(0x2db)]=0xc]=_0x22d19e(0x2db),_0x5a445a[_0x5a445a[_0x22d19e(0x145)]=0xd]=_0x22d19e(0x145),_0x5a445a[_0x5a445a[_0x22d19e(0x31a)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5a445a[_0x5a445a[_0x22d19e(0xb6)]=0xf]=_0x22d19e(0xb6),_0x5a445a[_0x5a445a[_0x22d19e(0x311)]=0x10]=_0x22d19e(0x311),_0x5a445a[_0x5a445a[_0x22d19e(0x1b9)]=0x64]=_0x22d19e(0x1b9),_0x5a445a[_0x5a445a['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x5a445a[_0x5a445a[_0x22d19e(0x2d4)]=0xc9]=_0x22d19e(0x2d4),_0x5a445a[_0x5a445a[_0x22d19e(0x1c5)]=0xca]='USER_IS_ANONYMOUS',_0x5a445a[_0x5a445a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x22d19e(0x10d),_0x5a445a[_0x5a445a[_0x22d19e(0x129)]=0x1771]=_0x22d19e(0x129),_0x5a445a[_0x5a445a[_0x22d19e(0xf3)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5a445a[_0x5a445a[_0x22d19e(0x351)]=0x1773]=_0x22d19e(0x351),_0x5a445a[_0x5a445a[_0x22d19e(0x231)]=0x1b59]='APPLY_REJECT',_0x5a445a[_0x5a445a[_0x22d19e(0x1a9)]=0x1b5a]=_0x22d19e(0x1a9),_0x5a445a[_0x5a445a['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x22d19e(0x1fe),_0x5a445a[_0x5a445a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x22d19e(0x2b2),_0x5a445a[_0x5a445a[_0x22d19e(0x162)]=0x1b5d]=_0x22d19e(0x162),_0x5a445a[_0x5a445a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x22d19e(0x322),_0x5a445a[_0x5a445a[_0x22d19e(0x21d)]=0x2329]=_0x22d19e(0x21d),_0x5a445a[_0x5a445a[_0x22d19e(0xd5)]=0x232a]=_0x22d19e(0xd5),_0x5a445a[_0x5a445a[_0x22d19e(0x259)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5a445a[_0x5a445a[_0x22d19e(0x179)]=0x232c]=_0x22d19e(0x179),_0x5a445a[_0x5a445a[_0x22d19e(0x1b5)]=0x232d]=_0x22d19e(0x1b5),_0x5a445a[_0x5a445a[_0x22d19e(0x18b)]=0x2711]=_0x22d19e(0x18b),_0x5a445a[_0x5a445a[_0x22d19e(0x2ed)]=0x2712]=_0x22d19e(0x2ed),_0x5a445a[_0x5a445a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x22d19e(0xf9),_0x5a445a[_0x5a445a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x22d19e(0xb5),_0x5a445a[_0x5a445a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x22d19e(0x137),_0x5a445a[_0x5a445a[_0x22d19e(0x134)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5a445a[_0x5a445a[_0x22d19e(0x160)]=0x271c]=_0x22d19e(0x160),_0x5a445a[_0x5a445a[_0x22d19e(0x328)]=0x271d]=_0x22d19e(0x328),_0x5a445a[_0x5a445a[_0x22d19e(0x239)]=0x271e]=_0x22d19e(0x239),_0x5a445a[_0x5a445a[_0x22d19e(0x1a3)]=0x271f]=_0x22d19e(0x1a3),_0x5a445a[_0x5a445a[_0x22d19e(0x2d2)]=0x2720]=_0x22d19e(0x2d2),_0x5a445a[_0x5a445a[_0x22d19e(0x15f)]=0x2af9]=_0x22d19e(0x15f),_0x5a445a[_0x5a445a[_0x22d19e(0x363)]=0x2ee1]=_0x22d19e(0x363),_0x5a445a[_0x5a445a['INVALID_INVITE_CODE']=0x2ee2]=_0x22d19e(0x13e),_0x5a445a[_0x5a445a[_0x22d19e(0x203)]=0x2ee3]=_0x22d19e(0x203),_0x5a445a[_0x5a445a[_0x22d19e(0x20f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5a445a[_0x5a445a[_0x22d19e(0x28d)]=0x2ee5]=_0x22d19e(0x28d),_0x5a445a[_0x5a445a[_0x22d19e(0x32c)]=0x32c9]=_0x22d19e(0x32c),_0x5a445a[_0x5a445a[_0x22d19e(0x312)]=0x32ca]=_0x22d19e(0x312),_0x5a445a[_0x5a445a[_0x22d19e(0x23c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5a445a[_0x5a445a[_0x22d19e(0x244)]=0x36b1]=_0x22d19e(0x244),_0x5a445a[_0x5a445a[_0x22d19e(0x365)]=0x36b2]=_0x22d19e(0x365),_0x5a445a[_0x5a445a[_0x22d19e(0x247)]=0x36b3]=_0x22d19e(0x247),_0x5a445a[_0x5a445a['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x5a445a[_0x5a445a[_0x22d19e(0x202)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x5a445a[_0x5a445a[_0x22d19e(0xa6)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x5a445a[_0x5a445a['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x5a445a[_0x5a445a['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x22d19e(0x14d),_0x5a445a[_0x5a445a[_0x22d19e(0xd6)]=0x3a99]=_0x22d19e(0xd6),_0x5a445a[_0x5a445a['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x22d19e(0x313),_0x5a445a[_0x5a445a[_0x22d19e(0x260)]=0x3a9b]=_0x22d19e(0x260),_0x5a445a[_0x5a445a[_0x22d19e(0x98)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x5a445a[_0x5a445a['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x22d19e(0x2e8),_0x5a445a[_0x5a445a['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x22d19e(0x222),_0x5a445a[_0x5a445a['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x22d19e(0xbf),_0x5a445a[_0x5a445a[_0x22d19e(0x14b)]=0x3e81]=_0x22d19e(0x14b),_0x5a445a[_0x5a445a[_0x22d19e(0x26e)]=-0x1]=_0x22d19e(0x26e),_0x5a445a))(_0x4dfe1b||{});function _0xb09571(_0x4b5af4){const _0x3fdd45=_0x22d19e;var _0xefe075,_0x122910;const _0x15dde3=(_0xefe075=_0x4b5af4['stageInfo'])==null?void 0x0:_0xefe075[_0x3fdd45(0xf5)],_0xcfd63=((_0x122910=_0x4b5af4[_0x3fdd45(0x14f)])==null?void 0x0:_0x122910[_0x3fdd45(0x36d)])||0x0;return _0x15dde3===_0x419491[_0x3fdd45(0x199)][_0x3fdd45(0xa0)]&&_0xcfd63>0x0;}function _0x1b97a4(_0x4cd6a6){const _0x5aa8b7=_0x22d19e;return _0x4cd6a6[_0x5aa8b7(0x2ae)]===_0x419491[_0x5aa8b7(0x336)][_0x5aa8b7(0x338)];}var _0x4a0f6f=Object[_0x22d19e(0x1e2)],_0x4bd536=(_0x2c7896,_0x2ba44c,_0x239d15,_0x3aa56c)=>{const _0x549fbc=_0x22d19e;for(var _0x3d24a4=_0x3aa56c>0x1?void 0x0:_0x3aa56c?_0x4a0f6f(_0x2ba44c,_0x239d15):_0x2ba44c,_0x305cb5=_0x2c7896[_0x549fbc(0x29c)]-0x1,_0x3beea4;_0x305cb5>=0x0;_0x305cb5--)(_0x3beea4=_0x2c7896[_0x305cb5])&&(_0x3d24a4=_0x3beea4(_0x3d24a4)||_0x3d24a4);return _0x3d24a4;},_0x595222=(_0x1dce99,_0x27e394)=>(_0x3200a2,_0x516c58)=>_0x27e394(_0x3200a2,_0x516c58,_0x1dce99);const _0x101a56=_0x22d19e(0x205),_0x2a05fd=_0x22d19e(0x31b),_0x290ec6='/universer-api/license/formula/limit/done';let _0x2c1a4e=class extends _0x4a5a1c['Disposable']{constructor(_0x5325d6,_0x53cf47,_0x7003a9,_0x2b1586,_0x3171c3,_0x52073f,_0x2dd6b9){const _0x4403a5=_0x22d19e;super(),_0xa63e61(this,_0x4403a5(0x213),null),_0xa63e61(this,_0x4403a5(0x168),0x0),_0xa63e61(this,'_currentUsage',0x0),_0xa63e61(this,_0x4403a5(0x23d),[]),_0xa63e61(this,_0x4403a5(0x33f),0x0),(this[_0x4403a5(0x33e)]=_0x5325d6,this[_0x4403a5(0x2b1)]=_0x53cf47,this[_0x4403a5(0x2f4)]=_0x7003a9,this['_httpService']=_0x2b1586,this[_0x4403a5(0x2de)]=_0x3171c3,this[_0x4403a5(0x1d7)]=_0x52073f,this[_0x4403a5(0x295)]=_0x2dd6b9,this[_0x4403a5(0xd9)]());}[_0x22d19e(0xd9)](){const _0x3811da=_0x22d19e;this['disposeWithMe'](this[_0x3811da(0x2b1)][_0x3811da(0xf6)]((_0x3cdbd9,_0x5bbbf5)=>{const _0x1e4978=_0x3811da;var _0x3dc4e5;if(_0x3cdbd9['id']!==_0x419491[_0x1e4978(0x1c6)]['id'])return;const _0x5217d3=_0x3cdbd9[_0x1e4978(0x22d)];if(!this[_0x1e4978(0x2c7)]((_0x3dc4e5=_0x5217d3['dirtyRanges'])!=null?_0x3dc4e5:[]))return;if(!this[_0x1e4978(0x1a6)]())throw this['_checkAndWaitForCalculationPermission'](_0x3cdbd9,_0x5bbbf5),this['_showGuardMessage'](),new _0x4a5a1c['CanceledError']();})),this['disposeWithMe'](this[_0x3811da(0x2b1)][_0x3811da(0x1f9)]((_0x2cf0d1,_0x2f4c9e)=>{const _0x377b7d=_0x3811da;if(_0x2cf0d1['id']!==_0x419491['SetFormulaCalculationNotificationMutation']['id'])return;const _0x55c898=_0x2cf0d1[_0x377b7d(0x22d)];if(_0xb09571(_0x55c898)){const _0x242882=_0x4a5a1c[_0x377b7d(0x151)]();this[_0x377b7d(0x23d)][_0x377b7d(0x256)](_0x242882),this[_0x377b7d(0x1a1)](_0x242882);}else{if(_0x1b97a4(_0x55c898)&&this[_0x377b7d(0x23d)][_0x377b7d(0x29c)]>0x0){const _0x46c3ee=this[_0x377b7d(0x23d)]['shift']();this[_0x377b7d(0x20e)](_0x46c3ee);}}}));}[_0x22d19e(0x210)](){const _0x4d8d23=_0x22d19e;super[_0x4d8d23(0x210)](),this['_clearPolling'](),this[_0x4d8d23(0x23d)]=[],this['_currentUsage']=0x0,this[_0x4d8d23(0x168)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x22d19e(0xaf)](_0x282746,_0x4a7ff1){const _0xffbd39=_0x22d19e;for(let _0x3bad9c=0x0;_0x3bad9c<0x1e;_0x3bad9c++)try{if(await this[_0xffbd39(0x132)](),this[_0xffbd39(0x1a6)]()){this['_applyCommand'](_0x282746,_0x4a7ff1),this[_0xffbd39(0x33e)]['show']({'content':this[_0xffbd39(0x295)]['t'](_0xffbd39(0xf2)),'type':_0x67c92c[_0xffbd39(0x215)][_0xffbd39(0x1de)]});return;}await new Promise(_0x562603=>{const _0x54fafd=_0xffbd39;this[_0x54fafd(0x213)]=window[_0x54fafd(0x253)](_0x562603,0x3e8);});}catch(_0x4bd4c3){this[_0xffbd39(0x1d7)]['error'](_0x4bd4c3);}this[_0xffbd39(0x33e)][_0xffbd39(0x1ba)]({'content':this['_localeService']['t'](_0xffbd39(0x2b3)),'type':_0x67c92c[_0xffbd39(0x215)][_0xffbd39(0x2d1)]});}['_applyCommand'](_0x5d27c9,_0x52d8e0){const _0x10792a=_0x22d19e;try{this[_0x10792a(0x2b1)][_0x10792a(0x264)](_0x5d27c9['id'],_0x5d27c9['params'],_0x52d8e0);}catch(_0x572cb0){this['_logService'][_0x10792a(0x1fd)](_0x572cb0);}}[_0x22d19e(0x30c)](_0x438d3b,_0x621548){const _0x367eff=_0x22d19e;_0x621548<this[_0x367eff(0x33f)]||(this[_0x367eff(0x33f)]=_0x621548,this['_maxFormulaLimit']=Number[_0x367eff(0xe7)](_0x438d3b[_0x367eff(0x27f)]),this['_currentUsage']=Number[_0x367eff(0xe7)](_0x438d3b[_0x367eff(0xbe)]));}async[_0x22d19e(0x1a1)](_0x52a0cd){const _0x4fcbd0=_0x22d19e;var _0x54b6e,_0x5bbcb3;const _0x44675c=Date['now']();try{const _0x24bbd5=((_0x54b6e=this[_0x4fcbd0(0x2f4)][_0x4fcbd0(0x1a5)](_0x29cbea[_0x4fcbd0(0x115)]))==null?void 0x0:_0x54b6e[_0x4fcbd0(0x21c)])||_0x2a05fd,_0x5ef78f=(await this[_0x4fcbd0(0x33c)][_0x4fcbd0(0x33a)](_0x24bbd5,{'body':JSON['stringify']({'taskId':_0x52a0cd})}))[_0x4fcbd0(0x1e6)];if(((_0x5bbcb3=_0x5ef78f[_0x4fcbd0(0x1fd)])==null?void 0x0:_0x5bbcb3['code'])!==_0x4dfe1b['OK'])return;this['_setFormulaLimitStatus'](_0x5ef78f[_0x4fcbd0(0x330)],_0x44675c);}catch(_0x3b9f6e){this[_0x4fcbd0(0x1d7)][_0x4fcbd0(0x1fd)](_0x3b9f6e);}}async['_getFormulaLimitStatus'](_0x357912){const _0x16ac17=_0x22d19e;var _0x20b4f5,_0x2a7aad;const _0x40d687=Date[_0x16ac17(0xa9)]();try{const _0x4f8a90=((_0x20b4f5=this['_configService'][_0x16ac17(0x1a5)](_0x29cbea[_0x16ac17(0x115)]))==null?void 0x0:_0x20b4f5[_0x16ac17(0x197)])||_0x101a56,_0x514985=_0x357912?_0x4f8a90+'?taskId='+encodeURIComponent(_0x357912):_0x4f8a90,_0x53fb94=(await this[_0x16ac17(0x33c)]['get'](_0x514985))[_0x16ac17(0x1e6)];if(((_0x2a7aad=_0x53fb94[_0x16ac17(0x1fd)])==null?void 0x0:_0x2a7aad[_0x16ac17(0x2cb)])!==_0x4dfe1b['OK'])return;this[_0x16ac17(0x30c)](_0x53fb94[_0x16ac17(0x330)],_0x40d687);}catch(_0x267521){this['_logService'][_0x16ac17(0x1fd)](_0x267521);}}async['_releaseCalculationLimit'](_0x20f6b1){const _0x504fd7=_0x22d19e;var _0x357435,_0x175a88;const _0x43beac=Date['now']();try{const _0x353859=((_0x357435=this[_0x504fd7(0x2f4)]['getConfig'](_0x29cbea[_0x504fd7(0x115)]))==null?void 0x0:_0x357435[_0x504fd7(0x17e)])||_0x290ec6,_0x29939d=(await this['_httpService']['post'](_0x353859,{'body':JSON[_0x504fd7(0x22b)]({'taskId':_0x20f6b1})}))['body'];if(((_0x175a88=_0x29939d[_0x504fd7(0x1fd)])==null?void 0x0:_0x175a88[_0x504fd7(0x2cb)])!==_0x4dfe1b['OK'])return;this[_0x504fd7(0x30c)](_0x29939d[_0x504fd7(0x330)],_0x43beac);}catch(_0x5da227){this['_logService'][_0x504fd7(0x1fd)](_0x5da227);}}[_0x22d19e(0x1a6)](){const _0x2f8b34=_0x22d19e;return this[_0x2f8b34(0x168)]===0x0?!0x0:this[_0x2f8b34(0x168)]-this[_0x2f8b34(0x1f7)]>0x0;}['_clearPolling'](){const _0x20b234=_0x22d19e;this[_0x20b234(0x213)]&&(clearTimeout(this[_0x20b234(0x213)]),this['_pollingInterval']=null);}['_showGuardMessage'](){const _0xcb3a78=_0x22d19e;this['_messageService'][_0xcb3a78(0x1ba)]({'content':this[_0xcb3a78(0x295)]['t'](_0xcb3a78(0x344)),'type':_0x67c92c[_0xcb3a78(0x215)]['Loading']});}[_0x22d19e(0x2c7)](_0x3bc72b){const _0x25f605=_0x22d19e;for(const _0x9fa63d of _0x3bc72b){const {unitId:_0x32033c,sheetId:_0x38db36,range:_0x5d9e39}=_0x9fa63d,_0x5a9de3=this[_0x25f605(0x2de)][_0x25f605(0x18f)](_0x32033c);if(!_0x5a9de3)continue;const _0x9aea85=_0x5a9de3[_0x25f605(0x281)](_0x38db36);if(!_0x9aea85)continue;const _0x2f5a77=_0x9aea85[_0x25f605(0x2f8)]();for(let _0x408eea=_0x5d9e39['startRow'];_0x408eea<=_0x5d9e39[_0x25f605(0x1c0)];_0x408eea++)for(let _0x28441c=_0x5d9e39[_0x25f605(0x152)];_0x28441c<=_0x5d9e39[_0x25f605(0x1f0)];_0x28441c++){const _0x570892=_0x2f5a77[_0x25f605(0x1db)](_0x408eea,_0x28441c);if(_0x570892&&(_0x4a5a1c[_0x25f605(0xfe)](_0x570892['f'])||_0x4a5a1c[_0x25f605(0x17c)](_0x570892['si'])))return!0x0;}}return!0x1;}};_0x2c1a4e=_0x4bd536([_0x595222(0x0,_0x4a5a1c['Inject'](_0x270495['IMessageService'])),_0x595222(0x1,_0x4a5a1c[_0x22d19e(0x263)]),_0x595222(0x2,_0x4a5a1c['IConfigService']),_0x595222(0x3,_0x4a5a1c[_0x22d19e(0x35d)](_0xbeb642['HTTPService'])),_0x595222(0x4,_0x4a5a1c['IUniverInstanceService']),_0x595222(0x5,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x595222(0x6,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x16a)]))],_0x2c1a4e);var _0x14efc7=Object[_0x22d19e(0x1e2)],_0x469dc1=(_0x2d1aa4,_0x22c57a,_0x1d628,_0xd8babd)=>{const _0x279309=_0x22d19e;for(var _0x1883f6=_0xd8babd>0x1?void 0x0:_0xd8babd?_0x14efc7(_0x22c57a,_0x1d628):_0x22c57a,_0x5696bb=_0x2d1aa4[_0x279309(0x29c)]-0x1,_0x4e9040;_0x5696bb>=0x0;_0x5696bb--)(_0x4e9040=_0x2d1aa4[_0x5696bb])&&(_0x1883f6=_0x4e9040(_0x1883f6)||_0x1883f6);return _0x1883f6;},_0x14c1b8=(_0x4dd982,_0x1caced)=>(_0x41e088,_0x782287)=>_0x1caced(_0x41e088,_0x782287,_0x4dd982);let _0xc26255=class extends _0x4a5a1c['Disposable']{constructor(_0x57f0c0,_0x22941a,_0x428671){const _0x2795f0=_0x22d19e;super(),_0xa63e61(this,_0x2795f0(0x1da),new Map()),_0xa63e61(this,_0x2795f0(0x131),new Map()),_0xa63e61(this,'_disabled',!0x1),(this[_0x2795f0(0x2f4)]=_0x57f0c0,this['_localStorageService']=_0x22941a,this[_0x2795f0(0x163)]=_0x428671);}[_0x22d19e(0x30a)](){const _0x269231=_0x22d19e;this[_0x269231(0x2d7)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x22d19e(0x307)](){const _0x19590b=_0x22d19e;return this[_0x19590b(0x131)];}['dispose'](){const _0x38f0f9=_0x22d19e;this[_0x38f0f9(0x1cb)]()['then'](()=>super[_0x38f0f9(0x210)]());}async['loadOfflineData'](_0xf57006){const _0x3c8b9d=_0x22d19e;return this[_0x3c8b9d(0x2d7)]?null:this[_0x3c8b9d(0x13f)][_0x3c8b9d(0x1f1)](_0x29cbea[_0x3c8b9d(0x2a9)](_0xf57006));}async[_0x22d19e(0x122)](_0x101798,_0x4ff7bb){return!!this['_localStorageService']['setItem'](_0x101798,_0x4ff7bb);}[_0x22d19e(0xcb)](_0x3c0f1b,_0x15cb49,_0x44104a,_0x42872e){const _0x30203c=_0x22d19e,_0x529dee=this[_0x30203c(0x163)][_0x30203c(0x186)](_0x3c0f1b);this['_cachedData'][_0x30203c(0x25b)](_0x3c0f1b,{'unitID':_0x3c0f1b,'type':_0x15cb49,'awaitingChangeset':_0x44104a,'mutations':_0x42872e,'rev':_0x529dee}),this['_saveTaskMap'][_0x30203c(0x241)](_0x3c0f1b)||this[_0x30203c(0x2d0)](_0x3c0f1b);}[_0x22d19e(0x2d0)](_0x29d074){const _0x47260b=_0x22d19e,_0x5075c0=this['_getSaveTimeout']();_0x5075c0===0x0?this[_0x47260b(0xac)](_0x29d074):this[_0x47260b(0x131)]['set'](_0x29d074,setTimeout(()=>this[_0x47260b(0xac)](_0x29d074),_0x5075c0));}[_0x22d19e(0x289)](){const _0x26f7c9=_0x22d19e;var _0xf4f726;return(_0xf4f726=this[_0x26f7c9(0x2f4)]['getConfig'](_0x29cbea[_0x26f7c9(0x2fd)]))!=null?_0xf4f726:_0x29cbea[_0x26f7c9(0x1e9)];}[_0x22d19e(0xac)](_0x4f3ac4){const _0x12c131=_0x22d19e,_0x32ff45=this['_saveTaskMap'][_0x12c131(0x18e)](_0x4f3ac4);return _0x32ff45!==void 0x0&&window[_0x12c131(0x149)](_0x32ff45),this[_0x12c131(0x13f)][_0x12c131(0x292)](_0x29cbea[_0x12c131(0x2a9)](_0x4f3ac4),this[_0x12c131(0x1da)][_0x12c131(0x18e)](_0x4f3ac4))[_0x12c131(0x236)](()=>this[_0x12c131(0x131)][_0x12c131(0x1cd)](_0x4f3ac4));}async[_0x22d19e(0x1cb)](){const _0x434142=_0x22d19e,_0x2aa64c=[];this[_0x434142(0x131)][_0x434142(0x316)]((_0x2480cd,_0x5c702f)=>{const _0x13d2ca=_0x434142;window[_0x13d2ca(0x149)](_0x2480cd),_0x2aa64c[_0x13d2ca(0x256)](this[_0x13d2ca(0xac)](_0x5c702f)['then'](()=>{const _0x57ad79=_0x13d2ca;this[_0x57ad79(0x131)][_0x57ad79(0x1cd)](_0x5c702f);}));}),await Promise['all'](_0x2aa64c);}};_0xc26255=_0x469dc1([_0x14c1b8(0x0,_0x4a5a1c[_0x22d19e(0xb9)]),_0x14c1b8(0x1,_0x4a5a1c['ILocalStorageService']),_0x14c1b8(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a6bb0['RevisionService']))],_0xc26255);class _0x1410ea extends _0x4a5a1c[_0x22d19e(0x31e)]{constructor(){const _0x2f76ac=_0x22d19e;super(),_0xa63e61(this,_0x2f76ac(0x287)),this[_0x2f76ac(0x287)]=_0x8d94e0[_0x2f76ac(0x252)](window,_0x2f76ac(0x2a0))[_0x2f76ac(0x296)](_0x8d94e0[_0x2f76ac(0x9e)](this['dispose$']),_0x8d94e0[_0x2f76ac(0xd2)](0x1),_0x8d94e0[_0x2f76ac(0x26c)](void 0x0));}[_0x22d19e(0x361)](_0x1be3bb,_0x18b920,_0x1337b3=!0x1){const _0x451d57=_0x22d19e,_0x1187bc=new URL(window['location']['href']);_0x1187bc[_0x451d57(0xdc)][_0x451d57(0x25b)](_0x1be3bb,_0x18b920),_0x1337b3?window[_0x451d57(0xd7)][_0x451d57(0x368)]('','',_0x1187bc[_0x451d57(0x14e)]()):window[_0x451d57(0xd7)][_0x451d57(0x2a4)]('','',_0x1187bc[_0x451d57(0x14e)]());}[_0x22d19e(0x1e7)](_0x45a872,_0x18c1b2=!0x1){const _0x565a63=_0x22d19e,_0x48986f=new URL(window[_0x565a63(0x2a3)][_0x565a63(0x308)]);_0x48986f[_0x565a63(0xdc)][_0x565a63(0x1cd)](_0x45a872),_0x18c1b2?window['history']['replaceState']('','',_0x48986f[_0x565a63(0x14e)]()):window['history']['pushState']('','',_0x48986f[_0x565a63(0x14e)]());}[_0x22d19e(0x17b)](_0x16a21c){const _0x560ad5=_0x22d19e;var _0x24356a;return(_0x24356a=new URL(window['location']['href'])[_0x560ad5(0xdc)][_0x560ad5(0x18e)](_0x16a21c))!=null?_0x24356a:void 0x0;}}var _0x539921=Object[_0x22d19e(0xbd)],_0x902516=Object[_0x22d19e(0x1e2)],_0x2abd71=(_0x3fc476,_0x2037cc,_0x41095e)=>_0x2037cc in _0x3fc476?_0x539921(_0x3fc476,_0x2037cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41095e}):_0x3fc476[_0x2037cc]=_0x41095e,_0x22f639=(_0x569df8,_0x27de03,_0x325609,_0x351c5f)=>{const _0x2d5ef7=_0x22d19e;for(var _0x45eb43=_0x351c5f>0x1?void 0x0:_0x351c5f?_0x902516(_0x27de03,_0x325609):_0x27de03,_0x1b7282=_0x569df8[_0x2d5ef7(0x29c)]-0x1,_0x25ee8b;_0x1b7282>=0x0;_0x1b7282--)(_0x25ee8b=_0x569df8[_0x1b7282])&&(_0x45eb43=_0x25ee8b(_0x45eb43)||_0x45eb43);return _0x45eb43;},_0x315a14=(_0x4fa3e1,_0x5ab00f)=>(_0x40a023,_0x57e82f)=>_0x5ab00f(_0x40a023,_0x57e82f,_0x4fa3e1),_0x2a3c91=(_0x50cf56,_0xf29d36,_0x6d7322)=>_0x2abd71(_0x50cf56,_0xf29d36+'',_0x6d7322);const _0x5de403='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x440074[_0x22d19e(0x261)]=class extends _0x4a5a1c['Plugin']{constructor(_0x2f6994=_0x1eb4f8,_0x4b6e65,_0x58ae61,_0x143b59){const _0xf84547=_0x22d19e;super(),this['_config']=_0x2f6994,this[_0xf84547(0x282)]=_0x4b6e65,this[_0xf84547(0x36e)]=_0x58ae61,this[_0xf84547(0x2f4)]=_0x143b59;const {..._0x281f22}=_0x4a5a1c[_0xf84547(0x274)]({},_0x1eb4f8,this[_0xf84547(0x2fb)]);this[_0xf84547(0x2f4)][_0xf84547(0x228)](_0x48039f,_0x281f22);}[_0x22d19e(0xc7)](){const _0xbeb719=_0x22d19e;this[_0xbeb719(0xce)](),this[_0xbeb719(0x321)]();}['onRendered'](){const _0x2df3c7=_0x22d19e;this[_0x2df3c7(0x14a)]();}[_0x22d19e(0xce)](){const _0x385e16=_0x22d19e;var _0x37ca00;const _0x427cfa=[[_0x54052c],[_0x2c1a4e],[_0x247291],[_0xc53968],[_0x5cd1e2],[_0x5e2c98],[_0x1a7106,{'useClass':_0x1410ea}],[_0xbeb642[_0x385e16(0x2c8)],{'useClass':_0xbeb642[_0x385e16(0xef)]}],[_0x29cbea[_0x385e16(0x92)],{'useClass':_0xc26255}],[_0x440074[_0x385e16(0xd0)]],[_0x29e630],[_0x6027b0],[_0x8689c],[_0x3b2848],[_0x440074['CollaborationDataLoaderController']]];this['_config'][_0x385e16(0x15c)]&&_0x427cfa[_0x385e16(0x256)]([_0x44bd4f]),_0x4a5a1c['registerDependencies'](this[_0x385e16(0x36e)],_0x4a5a1c[_0x385e16(0x1e4)](_0x427cfa,(_0x37ca00=this[_0x385e16(0x2fb)])==null?void 0x0:_0x37ca00[_0x385e16(0x2ef)]));}['_registerRenderDependencies'](){const _0x348140=_0x22d19e;this['disposeWithMe'](this[_0x348140(0x282)][_0x348140(0x326)](_0x4a5a1c[_0x348140(0x2b9)]['UNIVER_DOC'],[_0x238ac3])),this[_0x348140(0xe5)](this[_0x348140(0x282)]['registerRenderModule'](_0x4a5a1c[_0x348140(0x2b9)][_0x348140(0x1cf)],[_0x5e3b2e]));}[_0x22d19e(0x321)](){const _0x554682=_0x22d19e;_0x4a5a1c[_0x554682(0x2b6)](this['_injector'],[[_0x8689c],[_0x440074['DesktopCollaborationStatusDisplayController']],[_0x29e630],[_0x6027b0],[_0x440074[_0x554682(0x230)]],[_0x2c1a4e]]),this['_config'][_0x554682(0x15c)]&&_0x4a5a1c['touchDependencies'](this[_0x554682(0x36e)],[[_0x44bd4f]]);}},_0x2a3c91(_0x440074[_0x22d19e(0x261)],'pluginName',_0x5de403),_0x440074[_0x22d19e(0x261)]=_0x22f639([_0x4a5a1c[_0x22d19e(0xc5)](_0x29cbea['UniverCollaborationClientPlugin']),_0x315a14(0x1,_0x5d2f68[_0x22d19e(0xcf)]),_0x315a14(0x2,_0x4a5a1c[_0x22d19e(0x35d)](_0x4a5a1c[_0x22d19e(0x2f2)])),_0x315a14(0x3,_0x4a5a1c[_0x22d19e(0xb9)])],_0x440074[_0x22d19e(0x261)]);var _0x37bd06=Object['getOwnPropertyDescriptor'],_0x1f5987=(_0x1e9b91,_0x22b710,_0x293ae9,_0x5a131a)=>{const _0x5e0c94=_0x22d19e;for(var _0x3d268d=_0x5a131a>0x1?void 0x0:_0x5a131a?_0x37bd06(_0x22b710,_0x293ae9):_0x22b710,_0x3722b2=_0x1e9b91[_0x5e0c94(0x29c)]-0x1,_0x511877;_0x3722b2>=0x0;_0x3722b2--)(_0x511877=_0x1e9b91[_0x3722b2])&&(_0x3d268d=_0x511877(_0x3d268d)||_0x3d268d);return _0x3d268d;},_0x252204=(_0x35d3d0,_0x5dd376)=>(_0x2266c9,_0x1b49e5)=>_0x5dd376(_0x2266c9,_0x1b49e5,_0x35d3d0);_0x440074[_0x22d19e(0x206)]=class extends _0x29cbea[_0x22d19e(0x2c3)]{constructor(_0x9cbf42,_0x300b05,_0x25d74a,_0x3abfb0,_0x4851b4){super(_0x9cbf42,_0x300b05,_0x25d74a,_0x3abfb0,_0x4851b4);}async[_0x22d19e(0x34c)](_0x2ac4e1){const _0x5b552d=_0x22d19e,_0x54140a=await this[_0x5b552d(0xde)](),_0xcb64cf=this['_createSocketURL'](_0x2ac4e1,_0x54140a);return this[_0x5b552d(0x1dc)](_0xcb64cf);}[_0x22d19e(0x31f)](_0x18e95d,_0x293332){const _0x2d2a62=_0x22d19e,_0x16a08a=typeof window>'u'?new URL(_0x18e95d):new URL(_0x18e95d,window[_0x2d2a62(0x2a3)][_0x2d2a62(0xc9)]);_0x16a08a[_0x2d2a62(0xdc)][_0x2d2a62(0x25b)](_0x2d2a62(0x13a),_0x293332);const _0x7e3f7e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2d2a62(0x2a3)]['search']);return _0x7e3f7e[_0x2d2a62(0x18e)](_0x2d2a62(0x193))&&_0x16a08a[_0x2d2a62(0xdc)][_0x2d2a62(0x25b)](_0x2d2a62(0x193),_0x7e3f7e['get'](_0x2d2a62(0x193))),_0x16a08a['toString']();}async[_0x22d19e(0xde)](){const _0x2abd49=_0x22d19e;var _0x3e7113,_0x39883f,_0x5b800c;const _0x453054=this[_0x2abd49(0x2f4)][_0x2abd49(0x1a5)](_0x29cbea[_0x2abd49(0x115)]),_0x184180=(_0x3e7113=_0x453054==null?void 0x0:_0x453054['wsSessionTicketUrl'])!=null?_0x3e7113:_0x29cbea['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x5b800c=(_0x39883f=(await this[_0x2abd49(0x33c)][_0x2abd49(0x18e)](_0x184180,{'headers':{'Content-Type':_0x2abd49(0x1d9)}}))['body'])==null?void 0x0:_0x39883f[_0x2abd49(0x15d)])!=null?_0x5b800c:'';}},_0x440074['BrowserCollaborationSocketService']=_0x1f5987([_0x252204(0x0,_0x4a5a1c['Inject'](_0x4a5a1c['Injector'])),_0x252204(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0xbeb642['HTTPService'])),_0x252204(0x2,_0x4a5a1c[_0x22d19e(0xb9)]),_0x252204(0x3,_0x4a5a1c[_0x22d19e(0x2eb)]),_0x252204(0x4,_0x4a6bb0['ISnapshotServerService'])],_0x440074[_0x22d19e(0x206)]);var _0x114027=Object[_0x22d19e(0x1e2)],_0xd87241=(_0x1656cc,_0x47eb8c,_0x416903,_0xc1f240)=>{const _0x13e513=_0x22d19e;for(var _0x3140e2=_0xc1f240>0x1?void 0x0:_0xc1f240?_0x114027(_0x47eb8c,_0x416903):_0x47eb8c,_0x2e13d5=_0x1656cc[_0x13e513(0x29c)]-0x1,_0x2654cb;_0x2e13d5>=0x0;_0x2e13d5--)(_0x2654cb=_0x1656cc[_0x2e13d5])&&(_0x3140e2=_0x2654cb(_0x3140e2)||_0x3140e2);return _0x3140e2;},_0x547ad9=(_0x39c96b,_0x4091ea)=>(_0xa02543,_0x56ff2e)=>_0x4091ea(_0xa02543,_0x56ff2e,_0x39c96b);_0x440074[_0x22d19e(0x1ef)]=class extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(_0x5afd1e,_0x1f341b,_0x1c8206){const _0x154661=_0x22d19e;super(),this['_instanceService']=_0x5afd1e,this[_0x154661(0x33c)]=_0x1f341b,this[_0x154661(0x2f4)]=_0x1c8206;}async[_0x22d19e(0x2d9)](_0x1e68f9,_0x93e61e,_0x5e55d0,..._0x4d902c){const _0xa35e48=_0x22d19e;var _0x54c71c,_0x2fa3cf,_0x13745a,_0x25276b;const _0x76d44c=this['_instanceService'][_0xa35e48(0x36c)]();if(!_0x76d44c)throw new Error(_0xa35e48(0x2c5));const _0x2857cf=((_0x54c71c=this[_0xa35e48(0x2f4)][_0xa35e48(0x1a5)](_0x29cbea[_0xa35e48(0xfa)]))!=null?_0x54c71c:_0x29cbea['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1e68f9+'/run/'+_0x93e61e,_0x86e036=new URL(window[_0xa35e48(0x2a3)][_0xa35e48(0x308)]),_0x410488={'scriptId':_0x1e68f9,'runId':(_0x2fa3cf=_0x86e036[_0xa35e48(0xdc)][_0xa35e48(0x18e)](_0xa35e48(0x193)))!=null?_0x2fa3cf:'','function':_0x93e61e,'unitId':_0x76d44c[_0xa35e48(0xb0)](),'argsOfFunction':JSON[_0xa35e48(0x22b)](_0x4d902c),'invokeId':(_0x13745a=_0x5e55d0['invokeId'])!=null?_0x13745a:'','executionId':(_0x25276b=_0x5e55d0[_0xa35e48(0xdb)])!=null?_0x25276b:''};try{const _0x1049a4=await this[_0xa35e48(0x33c)]['post'](_0x2857cf,{'body':_0x410488});return _0x1049a4['body'][_0xa35e48(0x1fd)]&&_0x1049a4['body'][_0xa35e48(0x1fd)][_0xa35e48(0x2cb)]!==_0x4dfe1b['OK']?_0xa35e48(0x340):_0x1049a4['body'][_0xa35e48(0x1f6)];}catch{return _0xa35e48(0x340);}}},_0x440074['RemoteUniscriptService']=_0xd87241([_0x547ad9(0x0,_0x4a5a1c[_0x22d19e(0x303)]),_0x547ad9(0x1,_0x4a5a1c[_0x22d19e(0x35d)](_0xbeb642[_0x22d19e(0x34b)])),_0x547ad9(0x2,_0x4a5a1c[_0x22d19e(0xb9)])],_0x440074[_0x22d19e(0x1ef)]);const _0x19436c=0x7530,_0x6a45f=_0x22d19e(0x2b8);class _0x16b802 extends _0x4a5a1c[_0x22d19e(0x2a7)]{constructor(){const _0x4f791c=_0x22d19e;super(),_0xa63e61(this,_0x4f791c(0x155),_0x4a5a1c[_0x4f791c(0x151)]()),_0xa63e61(this,_0x4f791c(0x28b),new Set()),_0xa63e61(this,_0x4f791c(0x195),new Map()),_0xa63e61(this,_0x4f791c(0x35c),null),_0xa63e61(this,_0x4f791c(0x34d),new Map()),_0xa63e61(this,_0x4f791c(0x1e5),new Map()),this['_init']();}[_0x22d19e(0x210)](){const _0x3a33b7=_0x22d19e;super['dispose'](),this[_0x3a33b7(0x34d)][_0x3a33b7(0x316)]((_0x957d8c,_0x602d83)=>this[_0x3a33b7(0x19e)](_0x602d83)),this[_0x3a33b7(0x35c)]&&window[_0x3a33b7(0x27d)](this['_heartbeatTimer']);}[_0x22d19e(0x30e)](_0x202ca5){const _0x37d96d=_0x22d19e;return this[_0x37d96d(0x114)](_0x202ca5)[_0x37d96d(0x296)](_0x8d94e0[_0x37d96d(0x237)]());}[_0x22d19e(0x221)](_0x378ff1){const _0x36c268=_0x22d19e;this[_0x36c268(0x28b)]['size']===0x0&&this[_0x36c268(0x283)](),this[_0x36c268(0x28b)][_0x36c268(0x23a)](_0x378ff1),this[_0x36c268(0x2aa)]({'type':0x0,'memberID':this[_0x36c268(0x155)],'unitIDs':[_0x378ff1],'isForwarded':!0x1});}['disposeUnit'](_0x48d90c){const _0x4c0920=_0x22d19e;this[_0x4c0920(0x28b)]['delete'](_0x48d90c),this[_0x4c0920(0x28b)][_0x4c0920(0x94)]===0x0&&this[_0x4c0920(0x35c)]&&window[_0x4c0920(0x27d)](this[_0x4c0920(0x35c)]);}['_init'](){const _0x3337f6=_0x22d19e;this[_0x3337f6(0xe5)](_0x4a5a1c['toDisposable'](_0x8d94e0['fromEvent'](window,_0x3337f6(0x2df))[_0x3337f6(0x35e)](_0x2713d6=>{const _0x4ad767=_0x3337f6;if(_0x2713d6[_0x4ad767(0x1ac)]!==_0x6a45f||!_0x2713d6[_0x4ad767(0x20b)])return;const _0x5cf9d9=JSON[_0x4ad767(0x1b0)](_0x2713d6[_0x4ad767(0x20b)]);this[_0x4ad767(0xa4)](_0x5cf9d9);}))),window[_0x3337f6(0x24e)](_0x3337f6(0x245),()=>this[_0x3337f6(0x2aa)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x3337f6(0x28b)])}));}[_0x22d19e(0xa4)](_0x5dd314){const _0x22506f=_0x22d19e;switch(_0x5dd314[_0x22506f(0x169)]){case 0x0:this[_0x22506f(0x271)](_0x5dd314);break;case 0x1:this['_handleLeaveEvent'](_0x5dd314);break;case 0x2:this['_handleHeartbeatEvent'](_0x5dd314);break;}}['_handleJoinEvent'](_0x38fbd2){const _0x467825=_0x22d19e,{unitIDs:_0x1ca779,memberID:_0x2c692f,isForwarded:_0x5c0861}=_0x38fbd2;_0x1ca779[_0x467825(0x316)](_0x52fac3=>{const _0x46cfb0=_0x467825;if(!_0x5c0861&&this[_0x46cfb0(0x195)][_0x46cfb0(0x241)](_0x52fac3)&&this['_ensureSubject'](_0x52fac3)[_0x46cfb0(0x218)](_0x29cbea[_0x46cfb0(0x150)][_0x46cfb0(0x232)]),!this[_0x46cfb0(0x195)][_0x46cfb0(0x241)](_0x52fac3)||!this[_0x46cfb0(0x195)][_0x46cfb0(0x18e)](_0x52fac3)[_0x46cfb0(0x241)](_0x2c692f)){const _0x925df5=this[_0x46cfb0(0x195)][_0x46cfb0(0x18e)](_0x52fac3)||new Set();_0x925df5[_0x46cfb0(0x23a)](_0x2c692f),this['_unitOnClients']['set'](_0x52fac3,_0x925df5),this[_0x46cfb0(0xc2)](_0x2c692f);}}),_0x5c0861||this[_0x467825(0x2aa)]({'type':0x0,'memberID':this[_0x467825(0x155)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x22d19e(0xc2)](_0x340477){const _0x5878bc=_0x22d19e;this[_0x5878bc(0x19e)](_0x340477);const _0x5a1feb=window[_0x5878bc(0x253)](()=>{const _0x37ecb7=_0x5878bc;this[_0x37ecb7(0x195)]['forEach'](_0x3915f1=>{_0x3915f1['delete'](_0x340477);});},_0x19436c*0x2);this[_0x5878bc(0x34d)][_0x5878bc(0x25b)](_0x340477,_0x5a1feb);}['_removeClearOtherTimer'](_0x282e48){const _0x4e68a0=_0x22d19e;if(this[_0x4e68a0(0x34d)][_0x4e68a0(0x241)](_0x282e48)){const _0x3c155b=this[_0x4e68a0(0x34d)][_0x4e68a0(0x18e)](_0x282e48);_0x3c155b&&window['clearTimeout'](_0x3c155b),this[_0x4e68a0(0x34d)][_0x4e68a0(0x25b)](_0x282e48,null);}}[_0x22d19e(0x1f5)](_0x1178c2){const {memberID:_0x1e811f,unitIDs:_0x2d1af2}=_0x1178c2;_0x2d1af2['forEach'](_0xd593a3=>{const _0x27013f=_0x1ae4;var _0x2c113a;const _0x38ca65=this[_0x27013f(0x195)][_0x27013f(0x18e)](_0xd593a3);_0x38ca65&&(_0x38ca65[_0x27013f(0x1cd)](_0x1e811f),(_0x2c113a=this[_0x27013f(0x114)](_0xd593a3))==null||_0x2c113a[_0x27013f(0x218)](_0x38ca65['size']===0x0?_0x29cbea[_0x27013f(0x150)][_0x27013f(0x216)]:_0x29cbea[_0x27013f(0x150)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x1e811f);}['_handleHeartbeatEvent'](_0xe4a1ea){const _0x5b3ccc=_0x22d19e;this[_0x5b3ccc(0xc2)](_0xe4a1ea[_0x5b3ccc(0x27c)]);}['_send'](_0x343eee){const _0x40b4c9=_0x22d19e;localStorage[_0x40b4c9(0x292)](_0x6a45f,JSON[_0x40b4c9(0x22b)](_0x343eee));}['_scheduleHeartbeat'](){const _0x328506=_0x22d19e;this['_heartbeatTimer']=window[_0x328506(0x234)](()=>{const _0x39b939=_0x328506;this[_0x39b939(0x2aa)]({'type':0x2,'memberID':this['_id']});},_0x19436c);}['_ensureSubject'](_0x23a024){const _0x3e8e54=_0x22d19e;return this[_0x3e8e54(0x1e5)][_0x3e8e54(0x241)](_0x23a024)||this[_0x3e8e54(0x1e5)][_0x3e8e54(0x25b)](_0x23a024,new _0x8d94e0[(_0x3e8e54(0x90))](_0x29cbea['UnitStatus'][_0x3e8e54(0x216)])),this[_0x3e8e54(0x1e5)][_0x3e8e54(0x18e)](_0x23a024);}}_0x440074[_0x22d19e(0x19a)]=_0x1a7106,_0x440074[_0x22d19e(0x24c)]=_0x3fc4ac,_0x440074['WebBrowserSingleActiveUnitService']=_0x16b802,_0x440074[_0x22d19e(0x208)]=_0x1410ea,Object['defineProperty'](_0x440074,Symbol['toStringTag'],{'value':_0x22d19e(0x188)});}));
|
|
1
|
+
(function(_0x53cbe3,_0x45a409){const _0xd64623=_0x48a1,_0x2e1bb5=_0x53cbe3();while(!![]){try{const _0x2d8638=-parseInt(_0xd64623(0x2b1))/0x1+parseInt(_0xd64623(0x2d6))/0x2*(parseInt(_0xd64623(0x406))/0x3)+parseInt(_0xd64623(0x224))/0x4+parseInt(_0xd64623(0x438))/0x5+-parseInt(_0xd64623(0x399))/0x6*(-parseInt(_0xd64623(0x25f))/0x7)+-parseInt(_0xd64623(0x35a))/0x8+-parseInt(_0xd64623(0x1e5))/0x9;if(_0x2d8638===_0x45a409)break;else _0x2e1bb5['push'](_0x2e1bb5['shift']());}catch(_0x205f14){_0x2e1bb5['push'](_0x2e1bb5['shift']());}}}(_0xe035,0xc0460),function(_0xd4d077,_0x3d21c3){const _0x2c1a53=_0x48a1;typeof exports==_0x2c1a53(0x21e)&&typeof module<'u'?_0x3d21c3(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define([_0x2c1a53(0x3d9),_0x2c1a53(0x427),_0x2c1a53(0x2b5),_0x2c1a53(0x256),_0x2c1a53(0x2c4),_0x2c1a53(0x2e9),_0x2c1a53(0x49e),_0x2c1a53(0x202),_0x2c1a53(0x2fe),'@univerjs/sheets',_0x2c1a53(0x281),_0x2c1a53(0x214),_0x2c1a53(0x1e3),_0x2c1a53(0x3b3),_0x2c1a53(0x371),_0x2c1a53(0x439),_0x2c1a53(0x1fe),_0x2c1a53(0x424),_0x2c1a53(0x311)],_0x3d21c3):(_0xd4d077=typeof globalThis<'u'?globalThis:_0xd4d077||self,_0x3d21c3(_0xd4d077[_0x2c1a53(0x27f)]={},_0xd4d077[_0x2c1a53(0x3ed)],_0xd4d077[_0x2c1a53(0x1b5)],_0xd4d077[_0x2c1a53(0x2ca)],_0xd4d077['UniverUi'],_0xd4d077[_0x2c1a53(0x2e9)],_0xd4d077[_0x2c1a53(0x2b2)],_0xd4d077[_0x2c1a53(0x3ed)],_0xd4d077[_0x2c1a53(0x2c0)],_0xd4d077[_0x2c1a53(0x337)],_0xd4d077['UniverEngineRender'],_0xd4d077[_0x2c1a53(0x405)],_0xd4d077[_0x2c1a53(0x2e4)],_0xd4d077[_0x2c1a53(0x3e4)],_0xd4d077[_0x2c1a53(0x213)],_0xd4d077[_0x2c1a53(0x47b)],_0xd4d077['UniverEngineFormula'],_0xd4d077[_0x2c1a53(0x2e9)][_0x2c1a53(0x2f6)],_0xd4d077[_0x2c1a53(0x269)]));}(this,function(_0x44b1a7,_0x89e71e,_0x3fe1f0,_0x39304f,_0x4c3b5c,_0x404575,_0x31598f,_0x13ddda,_0x256d9b,_0x3203ce,_0x46a3bd,_0x4e0fb2,_0x2abae2,_0x389a81,_0x560361,_0x59af06,_0x284237,_0x11a31a,_0x5ee9c5){'use strict';const _0x5de549=_0x48a1;var _0x28f531=Object[_0x5de549(0x412)],_0xeb5bc4=(_0x2733a3,_0x41b2d4,_0x2d1c3c)=>_0x41b2d4 in _0x2733a3?_0x28f531(_0x2733a3,_0x41b2d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d1c3c}):_0x2733a3[_0x41b2d4]=_0x2d1c3c,_0x41fabe=(_0x5acffd,_0x4ebf5c,_0x312e32)=>_0xeb5bc4(_0x5acffd,typeof _0x4ebf5c!=_0x5de549(0x277)?_0x4ebf5c+'':_0x4ebf5c,_0x312e32);function _0x5a6335({ref:_0x5983e8,..._0x1b53bb}){const _0x490bb7=_0x5de549,{icon:_0x557ba5,id:_0x434f45,className:_0x1be508,extend:_0x52e838,..._0x500606}=_0x1b53bb,_0x54f7a1=(_0x490bb7(0x450)+_0x434f45+'\x20'+(_0x1be508||''))[_0x490bb7(0x27a)](),_0x5e7743=_0x13ddda[_0x490bb7(0x27b)]('_'+_0x3b89e2());return _0x3b00c8(_0x557ba5,''+_0x434f45,{'defIds':_0x557ba5[_0x490bb7(0x417)],'idSuffix':_0x5e7743['current']},{'ref':_0x5983e8,'className':_0x54f7a1,..._0x500606},_0x52e838);}function _0x3b00c8(_0x26274b,_0x290b1c,_0x3c26de,_0x5661d8,_0x397cf7){const _0x5c6126=_0x5de549;return _0x13ddda['createElement'](_0x26274b[_0x5c6126(0x483)],{'key':_0x290b1c,..._0x4f9e0c(_0x26274b,_0x3c26de,_0x397cf7),..._0x5661d8},(_0x120f5f(_0x26274b,_0x3c26de)[_0x5c6126(0x497)]||[])[_0x5c6126(0x309)]((_0x17c1e5,_0x8db2f7)=>_0x3b00c8(_0x17c1e5,_0x290b1c+'-'+_0x26274b[_0x5c6126(0x483)]+'-'+_0x8db2f7,_0x3c26de,void 0x0,_0x397cf7)));}function _0x4f9e0c(_0x4dab37,_0x278bbd,_0x5ea664){const _0xf1e258=_0x5de549,_0x1002ea={..._0x4dab37['attrs']};_0x5ea664!=null&&_0x5ea664[_0xf1e258(0x30c)]&&_0x1002ea[_0xf1e258(0x402)]==='colorChannel1'&&(_0x1002ea[_0xf1e258(0x402)]=_0x5ea664[_0xf1e258(0x30c)]),_0x4dab37[_0xf1e258(0x483)]===_0xf1e258(0x292)&&_0x1002ea['id']&&(_0x1002ea['id']=_0x1002ea['id']+_0x278bbd[_0xf1e258(0x336)]),Object[_0xf1e258(0x400)](_0x1002ea)[_0xf1e258(0x22a)](([_0x53cc8a,_0x35906d])=>{const _0x5a4df8=_0xf1e258;_0x53cc8a===_0x5a4df8(0x292)&&typeof _0x35906d==_0x5a4df8(0x1cd)&&(_0x1002ea[_0x53cc8a]=_0x35906d['replace'](/url\(#(.*)\)/,'url(#$1'+_0x278bbd[_0x5a4df8(0x336)]+')'));});const {defIds:_0xc96725}=_0x278bbd;return!_0xc96725||_0xc96725[_0xf1e258(0x3b7)]===0x0||(_0x4dab37['tag']===_0xf1e258(0x313)&&_0x1002ea[_0xf1e258(0x3e3)]&&(_0x1002ea[_0xf1e258(0x3e3)]=_0x1002ea[_0xf1e258(0x3e3)]+_0x278bbd[_0xf1e258(0x336)]),Object['entries'](_0x1002ea)[_0xf1e258(0x22a)](([_0x372105,_0x8d17f1])=>{const _0x160136=_0xf1e258;typeof _0x8d17f1==_0x160136(0x1cd)&&(_0x1002ea[_0x372105]=_0x8d17f1[_0x160136(0x1dd)](/url\(#(.*)\)/,_0x160136(0x3cb)+_0x278bbd['idSuffix']+')'));})),_0x1002ea;}function _0x120f5f(_0x3ce3c3,_0xd70c4f){const _0x295a7c=_0x5de549;var _0x154b3e;const {defIds:_0x539ae8}=_0xd70c4f;return!_0x539ae8||_0x539ae8['length']===0x0?_0x3ce3c3:_0x3ce3c3[_0x295a7c(0x483)]===_0x295a7c(0x463)&&((_0x154b3e=_0x3ce3c3[_0x295a7c(0x497)])!=null&&_0x154b3e['length'])?{..._0x3ce3c3,'children':_0x3ce3c3[_0x295a7c(0x497)]['map'](_0x2010cc=>typeof _0x2010cc[_0x295a7c(0x454)]['id']==_0x295a7c(0x1cd)&&_0x539ae8&&_0x539ae8[_0x295a7c(0x410)](_0x2010cc[_0x295a7c(0x454)]['id'])?{..._0x2010cc,'attrs':{..._0x2010cc['attrs'],'id':_0x2010cc['attrs']['id']+_0xd70c4f['idSuffix']}}:_0x2010cc)}:_0x3ce3c3;}function _0x3b89e2(){const _0x18975c=_0x5de549;return Math[_0x18975c(0x46c)]()[_0x18975c(0x492)](0x24)[_0x18975c(0x301)](0x2,0x8);}_0x5a6335[_0x5de549(0x3bd)]='UniverIcon';const _0x343eae={'tag':_0x5de549(0x2a1),'attrs':{'xmlns':_0x5de549(0x2a9),'fill':'none','viewBox':_0x5de549(0x31f),'width':_0x5de549(0x2f5),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5de549(0x389)},'children':[{'tag':_0x5de549(0x2f3),'attrs':{'stroke':_0x5de549(0x46a),'d':_0x5de549(0x4a9),'strokeLinecap':_0x5de549(0x3bb),'strokeLinejoin':_0x5de549(0x3bb),'strokeWidth':1.2}}]},{'tag':_0x5de549(0x463),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5de549(0x3ec)},'children':[{'tag':_0x5de549(0x2f3),'attrs':{'fill':_0x5de549(0x392),'d':_0x5de549(0x375)}}]}]}],'defIds':[_0x5de549(0x3ec)]},_0x2bc78d=_0x13ddda[_0x5de549(0x234)](function(_0x40a036,_0x29d2be){const _0x579388=_0x5de549;return _0x13ddda[_0x579388(0x45e)](_0x5a6335,Object[_0x579388(0x283)]({},_0x40a036,{'id':_0x579388(0x3d3),'ref':_0x29d2be,'icon':_0x343eae}));});_0x2bc78d[_0x5de549(0x3bd)]=_0x5de549(0x2a2);const _0x181b5c={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x5de549(0x217),'width':_0x5de549(0x2f5),'height':_0x5de549(0x2f5)},'children':[{'tag':'g','attrs':{'clipPath':_0x5de549(0x233)},'children':[{'tag':_0x5de549(0x2f3),'attrs':{'stroke':_0x5de549(0x46a),'d':_0x5de549(0x232),'strokeLinecap':_0x5de549(0x3bb),'strokeLinejoin':_0x5de549(0x3bb),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5de549(0x2f3),'attrs':{'fill':'white','d':_0x5de549(0x375),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5c0237=_0x13ddda[_0x5de549(0x234)](function(_0x43c65,_0x42df77){const _0x3e76cb=_0x5de549;return _0x13ddda['createElement'](_0x5a6335,Object[_0x3e76cb(0x283)]({},_0x43c65,{'id':_0x3e76cb(0x478),'ref':_0x42df77,'icon':_0x181b5c}));});_0x5c0237[_0x5de549(0x3bd)]=_0x5de549(0x1e4);function _0x19e725(_0x1d9633){const _0x159eb4=_0x5de549;switch(_0x1d9633){case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x327)]:return _0x159eb4(0x220);case _0x3fe1f0['CollaborationStatus']['CONFLICT']:return _0x159eb4(0x4a0);case _0x3fe1f0['CollaborationStatus'][_0x159eb4(0x2ef)]:return _0x159eb4(0x1fc);case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x475)]:return _0x159eb4(0x2aa);case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x2cd)]:case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x2e2)]:return _0x159eb4(0x216);case _0x3fe1f0['CollaborationStatus'][_0x159eb4(0x2a5)]:case _0x3fe1f0[_0x159eb4(0x329)][_0x159eb4(0x363)]:return _0x159eb4(0x276);}}function _0x15d907(_0x511b81){const _0x404306=_0x5de549,{status$:_0x35106c}=_0x511b81,_0x1b1f2d=_0x4c3b5c[_0x404306(0x33c)](_0x35106c,_0x3fe1f0[_0x404306(0x329)][_0x404306(0x475)]),_0x1603f2=_0x4c3b5c[_0x404306(0x3d1)](_0x39304f[_0x404306(0x3f4)]),_0x5e4aad=_0x4c3b5c['useDependency'](_0x3fe1f0['CollaborationSessionService']),_0x1e0d9a=_0x1b1f2d!==_0x3fe1f0['CollaborationStatus'][_0x404306(0x327)],_0x4539da=_0x1603f2['t'](_0x19e725(_0x1b1f2d)),_0x4b059e=_0x1e0d9a?_0x89e71e['jsx'](_0x5c0237,{}):_0x89e71e[_0x404306(0x460)](_0x2bc78d,{}),_0x5d6804=_0x13ddda['useCallback'](()=>{const _0x59beb7=_0x404306;_0x1e0d9a||_0x5e4aad[_0x59beb7(0x1b3)]();},[_0x1e0d9a,_0x5e4aad]);function _0xc6b601(){const _0x3ef2ac=_0x404306;return _0x89e71e[_0x3ef2ac(0x20d)]('div',{'className':_0x3ef2ac(0x2e0),'onClick':_0x5d6804,'children':[_0x89e71e[_0x3ef2ac(0x460)](_0x3ef2ac(0x359),{'className':_0x31598f[_0x3ef2ac(0x409)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1e0d9a,'univer-text-red-500':!_0x1e0d9a}),'children':_0x4b059e}),_0x89e71e[_0x3ef2ac(0x460)](_0x3ef2ac(0x359),{'className':_0x3ef2ac(0x489),'children':_0x4539da})]});}return _0x1e0d9a?_0xc6b601():_0x89e71e['jsx'](_0x31598f[_0x404306(0x3d2)],{'title':_0x1603f2['t'](_0x404306(0x268)),'children':_0xc6b601()});}var _0x2782bb=Object[_0x5de549(0x49f)],_0x172f07=(_0x2f8ea9,_0x42f4c9,_0xb09d29,_0x3e3cc2)=>{const _0x17cba1=_0x5de549;for(var _0x5a1a0c=_0x3e3cc2>0x1?void 0x0:_0x3e3cc2?_0x2782bb(_0x42f4c9,_0xb09d29):_0x42f4c9,_0x4d00b7=_0x2f8ea9[_0x17cba1(0x3b7)]-0x1,_0x2ba80b;_0x4d00b7>=0x0;_0x4d00b7--)(_0x2ba80b=_0x2f8ea9[_0x4d00b7])&&(_0x5a1a0c=_0x2ba80b(_0x5a1a0c)||_0x5a1a0c);return _0x5a1a0c;},_0x2ef9d2=(_0x1c68b5,_0x50f188)=>(_0x388ff8,_0x178ce4)=>_0x50f188(_0x388ff8,_0x178ce4,_0x1c68b5);_0x44b1a7['DesktopCollaborationStatusDisplayController']=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x9d4c5e,_0x4e52f0,_0x45af5d,_0x53a7da){const _0x5dd0af=_0x5de549;super(),_0x41fabe(this,_0x5dd0af(0x2e8),new _0x404575[(_0x5dd0af(0x25b))](_0x3fe1f0[_0x5dd0af(0x329)][_0x5dd0af(0x475)])),(this['_univerInstanceService']=_0x9d4c5e,this['_injector']=_0x4e52f0,this[_0x5dd0af(0x1fd)]=_0x45af5d,this[_0x5dd0af(0x30a)]=_0x53a7da,this['_initStatusComponent'](),this[_0x5dd0af(0x1b4)]());}[_0x5de549(0x1b4)](){const _0x2b536a=_0x5de549;this['disposeWithMe'](this[_0x2b536a(0x26e)][_0x2b536a(0x29c)][_0x2b536a(0x498)](_0x404575['switchMap'](()=>{const _0x4e64b3=_0x2b536a,_0x4cdc61=this['_univerInstanceService'][_0x4e64b3(0x3ae)]();return _0x4cdc61?this[_0x4e64b3(0x1fd)][_0x4e64b3(0x3a5)](_0x4cdc61[_0x4e64b3(0x41e)]()):_0x404575['of'](null);}),_0x404575[_0x2b536a(0x287)](_0x2bf472=>_0x2bf472?_0x2bf472[_0x2b536a(0x240)]:_0x404575['of'](_0x3fe1f0[_0x2b536a(0x329)][_0x2b536a(0x475)])))[_0x2b536a(0x38e)](_0x169db7=>{const _0x718656=_0x2b536a;this[_0x718656(0x2e8)][_0x718656(0x345)](_0x169db7);}));}['_initStatusComponent'](){const _0x1445a4=_0x5de549;this['disposeWithMe'](this[_0x1445a4(0x30a)][_0x1445a4(0x40c)](_0x4c3b5c['BuiltInUIPart'][_0x1445a4(0x40d)],()=>_0x4c3b5c[_0x1445a4(0x351)](_0x10ae48({'status$':this[_0x1445a4(0x2e8)]['asObservable']()}),this[_0x1445a4(0x31d)])));}},_0x44b1a7['DesktopCollaborationStatusDisplayController']=_0x172f07([_0x2ef9d2(0x0,_0x39304f[_0x5de549(0x2cc)]),_0x2ef9d2(0x1,_0x39304f[_0x5de549(0x356)](_0x39304f['Injector'])),_0x2ef9d2(0x2,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x28d)])),_0x2ef9d2(0x3,_0x4c3b5c[_0x5de549(0x2e3)])],_0x44b1a7['DesktopCollaborationStatusDisplayController']);function _0x10ae48(_0x337431){const {status$:_0x346179}=_0x337431;return function(){const _0x30f706=_0x48a1;return _0x89e71e[_0x30f706(0x460)](_0x15d907,{'status$':_0x346179});};}const _0x4d8922=_0x39304f[_0x5de549(0x221)](_0x5de549(0x3b6));var _0x57b2b1=Object[_0x5de549(0x49f)],_0x2c13d4=(_0x4713ca,_0x19cb17,_0x3a42ec,_0x4cc95d)=>{const _0x41e5f7=_0x5de549;for(var _0x1fe1ed=_0x4cc95d>0x1?void 0x0:_0x4cc95d?_0x57b2b1(_0x19cb17,_0x3a42ec):_0x19cb17,_0x30dac4=_0x4713ca[_0x41e5f7(0x3b7)]-0x1,_0x5457d8;_0x30dac4>=0x0;_0x30dac4--)(_0x5457d8=_0x4713ca[_0x30dac4])&&(_0x1fe1ed=_0x5457d8(_0x1fe1ed)||_0x1fe1ed);return _0x1fe1ed;},_0x7cdaa=(_0xae5d12,_0x257faf)=>(_0x502f07,_0x34f8c9)=>_0x257faf(_0x502f07,_0x34f8c9,_0xae5d12);_0x44b1a7[_0x5de549(0x315)]=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x491a08,_0x290500,_0x16efd3,_0x5705e6,_0x487e3f){const _0x152e86=_0x5de549;super(),this[_0x152e86(0x321)]=_0x491a08,this[_0x152e86(0x43a)]=_0x290500,this[_0x152e86(0x33e)]=_0x16efd3,this[_0x152e86(0x31c)]=_0x5705e6,_0x487e3f?_0x487e3f==null||_0x487e3f[_0x152e86(0x383)]()[_0x152e86(0x2f8)](()=>this[_0x152e86(0x48f)]()):(this['_logService'][_0x152e86(0x45b)]('[CollaborationDataLoaderController]',_0x152e86(0x24b)),this[_0x152e86(0x48f)]());}async['_init'](){const _0x3029a7=_0x5de549,_0x35fadc=this[_0x3029a7(0x321)]['getParam']('unit'),_0xf4bb82=this[_0x3029a7(0x321)]['getParam']('type'),_0x3cf74d=this[_0x3029a7(0x321)]['getParam']('subunit');if(!_0x35fadc||!_0xf4bb82){this[_0x3029a7(0x43a)]['debug'](_0x3029a7(0x1a6),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4b3782=await this[_0x3029a7(0x31c)]['loadUnit'](_0x35fadc,Number(_0xf4bb82),_0x3cf74d);_0x4b3782&&_0x4b3782 instanceof _0x39304f[_0x3029a7(0x2b6)]&&this[_0x3029a7(0x3df)](_0x4b3782);}async[_0x5de549(0x3df)](_0x4133d9){const _0x54b59d=_0x5de549;await this[_0x54b59d(0x456)](_0x4133d9),_0x4133d9[_0x54b59d(0x31a)][_0x54b59d(0x498)](_0x404575[_0x54b59d(0x387)](this[_0x54b59d(0x241)]))[_0x54b59d(0x38e)](_0x28e88e=>{const _0x4efb4c=_0x54b59d;_0x28e88e&&this[_0x4efb4c(0x1a5)](_0x28e88e);}),this[_0x54b59d(0x321)]['urlChange$']['pipe'](_0x404575[_0x54b59d(0x387)](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4133d9));}['_updateURLWithCurrentState'](_0x2bdbf7,_0x15645a=!0x1){const _0x314741=_0x5de549,_0x210265=this[_0x314741(0x321)][_0x314741(0x350)](_0x314741(0x28a));_0x2bdbf7[_0x314741(0x308)]()!==_0x210265&&this[_0x314741(0x321)][_0x314741(0x374)]('subunit',_0x2bdbf7['getSheetId'](),_0x15645a);}async[_0x5de549(0x456)](_0x20347b){const _0x37baf1=_0x5de549;var _0x581549;const _0x77f874=this[_0x37baf1(0x321)]['getParam'](_0x37baf1(0x28a));if(!_0x77f874||!_0x20347b[_0x37baf1(0x296)](_0x77f874)){const _0xb2cc7c=_0x20347b[_0x37baf1(0x239)]()[0x0],_0xe42655=_0x20347b[_0x37baf1(0x296)](_0xb2cc7c);if(!_0xe42655)return;this[_0x37baf1(0x1a5)](_0xe42655,!0x0),await this[_0x37baf1(0x33e)][_0x37baf1(0x275)](_0x3203ce[_0x37baf1(0x264)]['id'],{'unitId':_0x20347b[_0x37baf1(0x41e)](),'subUnitId':_0xb2cc7c});return;}((_0x581549=_0x20347b[_0x37baf1(0x2e1)]())==null?void 0x0:_0x581549[_0x37baf1(0x308)]())!==_0x77f874&&await this[_0x37baf1(0x33e)][_0x37baf1(0x275)](_0x3203ce['SetWorksheetActivateCommand']['id'],{'unitId':_0x20347b[_0x37baf1(0x41e)](),'subUnitId':_0x77f874});}},_0x44b1a7[_0x5de549(0x315)]=_0x2c13d4([_0x7cdaa(0x0,_0x4d8922),_0x7cdaa(0x1,_0x39304f['ILogService']),_0x7cdaa(0x2,_0x39304f[_0x5de549(0x3bf)]),_0x7cdaa(0x3,_0x39304f['Inject'](_0x3fe1f0[_0x5de549(0x207)])),_0x7cdaa(0x4,_0x39304f[_0x5de549(0x24c)](_0x256d9b[_0x5de549(0x487)]))],_0x44b1a7[_0x5de549(0x315)]);var _0x3c4fad=Object['getOwnPropertyDescriptor'],_0x2b952c=(_0x648ea9,_0x557039,_0x274d8d,_0x18fb20)=>{const _0x241925=_0x5de549;for(var _0x3182db=_0x18fb20>0x1?void 0x0:_0x18fb20?_0x3c4fad(_0x557039,_0x274d8d):_0x557039,_0x1d0be2=_0x648ea9[_0x241925(0x3b7)]-0x1,_0x4f3e33;_0x1d0be2>=0x0;_0x1d0be2--)(_0x4f3e33=_0x648ea9[_0x1d0be2])&&(_0x3182db=_0x4f3e33(_0x3182db)||_0x3182db);return _0x3182db;},_0x3c0f37=(_0x5a1f75,_0x3916ee)=>(_0x506672,_0x370ffd)=>_0x3916ee(_0x506672,_0x370ffd,_0x5a1f75);let _0x171e0f=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x364fcf,_0x38b9d8){const _0x402ad5=_0x5de549;super(),this['_docClipboardService']=_0x364fcf,this[_0x402ad5(0x473)]=_0x38b9d8,this[_0x402ad5(0x48f)]();}[_0x5de549(0x48f)](){const _0x231316=_0x5de549,_0x1b0d45=this;this[_0x231316(0x24e)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x48031a=>{const _0x196072=_0x231316,_0x286f51=await _0x1b0d45[_0x196072(0x473)][_0x196072(0x3d8)](_0x48031a);return _0x286f51?{'source':_0x286f51[_0x196072(0x26f)],'imageSourceType':_0x286f51[_0x196072(0x304)]}:null;}}));}};_0x171e0f=_0x2b952c([_0x3c0f37(0x0,_0x2abae2[_0x5de549(0x396)]),_0x3c0f37(0x1,_0x389a81[_0x5de549(0x300)])],_0x171e0f);const _0x184156=[_0x5de549(0x23b),_0x5de549(0x480),'green.600','red.300',_0x5de549(0x420),_0x5de549(0x481)];class _0x34f587 extends _0x39304f[_0x5de549(0x1ba)]{constructor(){const _0x393454=_0x5de549;super(...arguments),_0x41fabe(this,_0x393454(0x3a8),new Map()),_0x41fabe(this,_0x393454(0x2c2),0x0);}[_0x5de549(0x21f)](_0x1f22d0){const _0xfed589=_0x5de549;if(this[_0xfed589(0x3a8)][_0xfed589(0x3f7)](_0x1f22d0))return this['_assignedColors'][_0xfed589(0x1c0)](_0x1f22d0);const _0x91c12b=_0x184156[this['_colorIndex']];return this[_0xfed589(0x2c2)]=(this[_0xfed589(0x2c2)]+0x1)%_0x184156['length'],this[_0xfed589(0x3a8)][_0xfed589(0x361)](_0x1f22d0,_0x91c12b),_0x91c12b;}}function _0x439a24(_0x259630){const _0x4da925=_0x5de549;let _0x3daa07='';for(const _0x436e67 of _0x259630){const {startOffset:_0x4652c5,endOffset:_0x2f99d4,isActive:_0x252a20,rangeType:_0x5c65c8,segmentId:_0x36eab7,segmentPage:_0x55d4e3}=_0x436e67;_0x3daa07[_0x4da925(0x3b7)]&&(_0x3daa07+=','),_0x3daa07+=_0x4652c5+':'+_0x2f99d4+':'+(_0x252a20?'1':'0')+':'+_0x5c65c8+':'+_0x36eab7+':'+_0x55d4e3;}return _0x3daa07;}function _0x170153(_0x1644a8){const _0x25a4cd=_0x5de549,_0x363718=_0x1644a8[_0x25a4cd(0x46f)](','),_0x19f8b6=[];for(const _0x327288 of _0x363718){const [_0x468207,_0x7a3396,_0x20faf0,_0x4c8c1c,_0x220a71,_0x4e214c]=_0x327288[_0x25a4cd(0x46f)](':');_0x19f8b6[_0x25a4cd(0x44d)]({'startOffset':Number(_0x468207),'endOffset':Number(_0x7a3396),'collapsed':_0x468207===_0x7a3396,'isActive':_0x20faf0==='1','rangeType':_0x4c8c1c===_0x39304f[_0x25a4cd(0x431)][_0x25a4cd(0x49a)]?_0x39304f[_0x25a4cd(0x431)][_0x25a4cd(0x49a)]:_0x39304f[_0x25a4cd(0x431)][_0x25a4cd(0x1b1)],'segmentId':typeof _0x220a71==_0x25a4cd(0x1cd)?String(_0x220a71):'','segmentPage':Number(_0x4e214c!=null?_0x4e214c:-0x1)});}return _0x19f8b6[_0x25a4cd(0x34f)](_0x36fd55=>_0x36fd55[_0x25a4cd(0x453)])||(_0x19f8b6[0x0][_0x25a4cd(0x453)]=!0x0),_0x19f8b6;}class _0x4c3a54 extends _0x39304f[_0x5de549(0x423)]{constructor(){const _0x818271=_0x5de549;super(...arguments),_0x41fabe(this,_0x818271(0x486),new _0x404575['BehaviorSubject'](null)),_0x41fabe(this,_0x818271(0x2c1),this[_0x818271(0x486)][_0x818271(0x2a6)]());}[_0x5de549(0x3e0)](_0x4487cb){const _0x20cda3=_0x5de549,{unitID:_0x1776b4,memberID:_0x419375,textRanges:_0x2c24ce}=_0x4487cb,_0x4c0a75=_0x439a24(_0x2c24ce);if(_0x4c0a75==='')return;const _0x2851ab={'unitID':_0x1776b4,'memberID':_0x419375,'selection':_0x4c0a75};this['_collabCursorState$'][_0x20cda3(0x345)](_0x2851ab);}}var _0x4b039e=Object[_0x5de549(0x49f)],_0x2b4f16=(_0x1ee426,_0x343cde,_0x51c387,_0x4a3382)=>{for(var _0x2f4148=_0x4a3382>0x1?void 0x0:_0x4a3382?_0x4b039e(_0x343cde,_0x51c387):_0x343cde,_0x2057a0=_0x1ee426['length']-0x1,_0x5ab883;_0x2057a0>=0x0;_0x2057a0--)(_0x5ab883=_0x1ee426[_0x2057a0])&&(_0x2f4148=_0x5ab883(_0x2f4148)||_0x2f4148);return _0x2f4148;},_0x25a220=(_0x4229ee,_0x3dd898)=>(_0x4a4d69,_0x18e7e8)=>_0x3dd898(_0x4a4d69,_0x18e7e8,_0x4229ee);const _0x50d76f=0x12c,_0x579577=0x64;let _0x427717=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x5cc96f,_0x511f38,_0x3c7219,_0x4ebb82,_0x2ed724,_0x5a3b98,_0x4f25d1,_0x257482,_0x2c5807){const _0x5dc9b2=_0x5de549;super(),_0x41fabe(this,_0x5dc9b2(0x1b7),!0x1),_0x41fabe(this,'_init',!0x1),_0x41fabe(this,_0x5dc9b2(0x35f),new _0x404575['BehaviorSubject'](new Map())),_0x41fabe(this,_0x5dc9b2(0x2af),this[_0x5dc9b2(0x35f)]['asObservable']()),_0x41fabe(this,'_roomMembers$',new _0x404575['BehaviorSubject']([])),_0x41fabe(this,_0x5dc9b2(0x35e),this[_0x5dc9b2(0x376)][_0x5dc9b2(0x498)](_0x404575['debounceTime'](_0x50d76f))),_0x41fabe(this,_0x5dc9b2(0x1dc),_0x39304f[_0x5dc9b2(0x484)](_0x9b4cd6=>{const _0xdb5b0e=_0x5dc9b2,_0x123dd5={'eventID':_0x560361[_0xdb5b0e(0x1da)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0xdb5b0e(0x1af)](),'selection':_0x439a24(_0x9b4cd6)}};this['_session'][_0xdb5b0e(0x200)](_0x123dd5,this['unitID']);},_0x579577)),(this[_0x5dc9b2(0x42f)]=_0x5cc96f,this[_0x5dc9b2(0x422)]=_0x511f38,this[_0x5dc9b2(0x31d)]=_0x3c7219,this[_0x5dc9b2(0x1c7)]=_0x4ebb82,this[_0x5dc9b2(0x413)]=_0x2ed724,this[_0x5dc9b2(0x45a)]=_0x5a3b98,this[_0x5dc9b2(0x403)]=_0x4f25d1,this['_univerInstanceService']=_0x257482,this[_0x5dc9b2(0x33e)]=_0x2c5807);}get[_0x5de549(0x3d7)](){const _0x6b97ed=_0x5de549;return this['_cursorInfo$'][_0x6b97ed(0x3fc)]();}get[_0x5de549(0x2a8)](){const _0x228bd5=_0x5de549;return this[_0x228bd5(0x376)]['getValue']();}['dispose'](){const _0x358f2f=_0x5de549;super[_0x358f2f(0x2c3)](),this[_0x358f2f(0x35f)][_0x358f2f(0x345)](new Map()),this['_cursorInfo$']['complete'](),this[_0x358f2f(0x376)]['next']([]),this[_0x358f2f(0x376)][_0x358f2f(0x2d4)]();}[_0x5de549(0x482)](){const _0x5f2253=_0x5de549;this[_0x5f2253(0x48f)]||(this[_0x5f2253(0x48f)]=!0x0,this['_session'][_0x5f2253(0x34c)]['pipe'](_0x404575[_0x5f2253(0x387)](this['dispose$']))[_0x5f2253(0x38e)](_0x10ba68=>{const _0xdd6168=_0x5f2253;_0x10ba68===_0x3fe1f0[_0xdd6168(0x434)]['ONLINE']?this[_0xdd6168(0x34e)]():this['_toggleOffline']();}),this[_0x5f2253(0x422)]['event$']['pipe'](_0x404575[_0x5f2253(0x387)](this[_0x5f2253(0x241)]))[_0x5f2253(0x38e)](_0x354de2=>{const _0x4fc56c=_0x5f2253,_0xdfa53=_0x354de2[_0x4fc56c(0x3f2)];_0xdfa53===_0x560361[_0x4fc56c(0x1da)][_0x4fc56c(0x2db)]&&this['_onCursorUpdate'](_0x354de2),_0xdfa53===_0x560361[_0x4fc56c(0x1da)][_0x4fc56c(0x4a5)]&&this[_0x4fc56c(0x346)](_0x354de2);}),this['disposeWithMe'](this[_0x5f2253(0x33e)]['onCommandExecuted'](_0x293813=>{const _0x2b5a7f=_0x5f2253,_0x4fc6b1=_0x293813[_0x2b5a7f(0x448)];_0x4fc6b1!=null&&this[_0x2b5a7f(0x1b7)]&&_0x293813['id']===_0x59af06[_0x2b5a7f(0x488)]['id']&&_0x4fc6b1[_0x2b5a7f(0x2fb)]===this[_0x2b5a7f(0x42f)]&&_0x4fc6b1[_0x2b5a7f(0x2f1)]===!0x1&&_0x4fc6b1[_0x2b5a7f(0x3a0)][_0x2b5a7f(0x3b7)]>0x0&&this[_0x2b5a7f(0x1dc)](_0x4fc6b1['ranges']);})),this[_0x5f2253(0x45a)][_0x5f2253(0x2c1)][_0x5f2253(0x498)](_0x404575[_0x5f2253(0x387)](this['dispose$']))['subscribe'](_0x10bf48=>{const _0x4fad2e=_0x5f2253;if((_0x10bf48==null?void 0x0:_0x10bf48[_0x4fad2e(0x42f)])!==this[_0x4fad2e(0x42f)])return;const _0x1599b2={'eventID':_0x560361[_0x4fad2e(0x1da)][_0x4fad2e(0x2db)],'data':_0x10bf48};this[_0x4fad2e(0x44b)](_0x1599b2);}),this['disposeWithMe'](this[_0x5f2253(0x33e)][_0x5f2253(0x2fd)](_0x52ddde=>{const _0x4ed14b=_0x5f2253;if(_0x52ddde[_0x4ed14b(0x448)]==null)return;const _0x1cd317=_0x52ddde[_0x4ed14b(0x448)];if(_0x52ddde['id']!==_0x59af06[_0x4ed14b(0x2f4)]['id']||_0x1cd317[_0x4ed14b(0x2fb)]!==this['unitID'])return;const _0x52a4a0={'id':'doc.mutation.rich-text-editing','params':_0x1cd317},_0x305405=this[_0x4ed14b(0x3d7)];for(const [_0x141407,_0x4d98b9]of _0x305405){const _0x2a9b3e={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4ed14b(0x42f)],'actions':null,'textRanges':_0x4d98b9[_0x4ed14b(0x3a0)]}},_0x8bc51a=this[_0x4ed14b(0x403)]['transformMutation'](_0x52a4a0,_0x2a9b3e,!0x1);if(_0x560361['isTransformMutationFailure'](_0x8bc51a))throw _0x8bc51a[_0x4ed14b(0x2ee)];_0x305405['set'](_0x141407,{..._0x4d98b9,'ranges':_0x8bc51a[_0x4ed14b(0x1e0)][_0x4ed14b(0x448)]['textRanges']});}queueMicrotask(()=>{const _0x5ab3df=_0x4ed14b;this[_0x5ab3df(0x35f)]['next'](_0x305405);});})));}[_0x5de549(0x44b)](_0x13ee69){const _0x46ee3e=_0x5de549;var _0x33b71b,_0x1086ed;const {memberID:_0x518804,selection:_0x282b69}=_0x13ee69[_0x46ee3e(0x298)],_0x11c1d0=_0x170153(_0x282b69),_0x6bc7fd=(_0x1086ed=(_0x33b71b=this[_0x46ee3e(0x413)][_0x46ee3e(0x1de)](this[_0x46ee3e(0x42f)],_0x518804))==null?void 0x0:_0x33b71b[_0x46ee3e(0x231)])!=null?_0x1086ed:_0x46ee3e(0x490),_0x48f595={'color':this[_0x46ee3e(0x1c7)][_0x46ee3e(0x21f)](_0x518804),'name':_0x6bc7fd,'ranges':_0x11c1d0},_0x4ec7c4=this['cursorInfo'];_0x4ec7c4['set'](_0x518804,_0x48f595),this[_0x46ee3e(0x35f)][_0x46ee3e(0x345)](_0x4ec7c4);}[_0x5de549(0x346)](_0x57b3f9){const _0x2caa1e=_0x5de549,{memberID:_0x3d29e7}=_0x57b3f9[_0x2caa1e(0x298)],_0x2a72f6=this['cursorInfo'];_0x2a72f6[_0x2caa1e(0x421)](_0x3d29e7),this[_0x2caa1e(0x35f)][_0x2caa1e(0x345)](_0x2a72f6);}[_0x5de549(0x34e)](){const _0x23935e=_0x5de549;var _0x3c9e8b;if(this[_0x23935e(0x1b7)]=!0x0,((_0x3c9e8b=this[_0x23935e(0x26e)]['getFocusedUnit']())==null?void 0x0:_0x3c9e8b[_0x23935e(0x41e)]())!==this[_0x23935e(0x42f)])return;const _0x237f6a=this[_0x23935e(0x31d)][_0x23935e(0x1c0)](_0x59af06[_0x23935e(0x20c)])[_0x23935e(0x1e6)]();Array['isArray'](_0x237f6a)&&_0x237f6a[_0x23935e(0x3b7)]>0x0&&this['_updateLocalCursor'](_0x237f6a);}[_0x5de549(0x430)](){const _0x586f10=_0x5de549;this[_0x586f10(0x1b7)]=!0x1;}};_0x427717=_0x2b4f16([_0x25a220(0x2,_0x39304f[_0x5de549(0x356)](_0x39304f['Injector'])),_0x25a220(0x3,_0x39304f[_0x5de549(0x356)](_0x34f587)),_0x25a220(0x4,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x3f5)])),_0x25a220(0x5,_0x39304f[_0x5de549(0x356)](_0x4c3a54)),_0x25a220(0x6,_0x560361[_0x5de549(0x37e)]),_0x25a220(0x7,_0x39304f[_0x5de549(0x2cc)]),_0x25a220(0x8,_0x39304f['ICommandService'])],_0x427717);var _0x3c3f72=Object[_0x5de549(0x49f)],_0x3089b1=(_0x165894,_0x5cb4e1,_0x550b38,_0x440fb6)=>{const _0x20d186=_0x5de549;for(var _0x366366=_0x440fb6>0x1?void 0x0:_0x440fb6?_0x3c3f72(_0x5cb4e1,_0x550b38):_0x5cb4e1,_0x3530f7=_0x165894[_0x20d186(0x3b7)]-0x1,_0x4b461a;_0x3530f7>=0x0;_0x3530f7--)(_0x4b461a=_0x165894[_0x3530f7])&&(_0x366366=_0x4b461a(_0x366366)||_0x366366);return _0x366366;},_0x14e2e0=(_0xa840ba,_0x65aa15)=>(_0x1a3988,_0x30cbeb)=>_0x65aa15(_0x1a3988,_0x30cbeb,_0xa840ba);const _0x4cbb03=0x12c,_0x124466=0x64,_0x354494=()=>{let _0x22fd9e=[],_0x3c1eed=!0x1;return _0x27656e=>{const _0x5ccbec=_0x48a1;_0x22fd9e[_0x5ccbec(0x44d)](_0x27656e),_0x3c1eed||(_0x3c1eed=!0x0,setTimeout(()=>{_0x22fd9e['forEach'](_0x4915fe=>_0x4915fe()),_0x22fd9e=[],_0x3c1eed=!0x1;}));};};let _0x171417=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x3de082,_0x4bdd02,_0x2ae341,_0x1d6fbf,_0x3a24c3,_0x4add8c,_0x44f8df,_0x3fc5df){const _0x37772f=_0x5de549;super(),_0x41fabe(this,_0x37772f(0x1b7),!0x1),_0x41fabe(this,_0x37772f(0x48f),!0x1),_0x41fabe(this,_0x37772f(0x35f),new _0x404575['BehaviorSubject'](new Map())),_0x41fabe(this,_0x37772f(0x2af),this[_0x37772f(0x35f)][_0x37772f(0x2a6)]()),_0x41fabe(this,_0x37772f(0x376),new _0x404575[(_0x37772f(0x25b))]([])),_0x41fabe(this,_0x37772f(0x35e),this[_0x37772f(0x376)][_0x37772f(0x498)](_0x404575[_0x37772f(0x247)](_0x4cbb03))),_0x41fabe(this,_0x37772f(0x1dc),_0x39304f['debounce']((_0x48d9a3,_0x5c3fa9)=>{const _0x30aca0=_0x37772f,_0x15a49c={'eventID':_0x560361[_0x30aca0(0x1da)][_0x30aca0(0x2db)],'data':{'unitID':this['unitID'],'memberID':this[_0x30aca0(0x422)][_0x30aca0(0x1af)](),'selection':_0x284237['serializeRangeWithSheet'](_0x48d9a3,_0x5c3fa9[_0x30aca0(0x1f6)])}};this['_session']['send'](_0x15a49c,this[_0x30aca0(0x42f)]);},_0x124466)),(this[_0x37772f(0x42f)]=_0x3de082,this[_0x37772f(0x422)]=_0x4bdd02,this[_0x37772f(0x31d)]=_0x2ae341,this['_colorAssignService']=_0x1d6fbf,this[_0x37772f(0x413)]=_0x3a24c3,this[_0x37772f(0x26e)]=_0x4add8c,this['_commandService']=_0x44f8df,this['_refRangeService']=_0x3fc5df);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x5de549(0x2a8)](){const _0x45e3fb=_0x5de549;return this[_0x45e3fb(0x376)][_0x45e3fb(0x3fc)]();}['dispose'](){const _0x170e98=_0x5de549;super[_0x170e98(0x2c3)](),this['_cursorInfo$'][_0x170e98(0x345)](new Map()),this[_0x170e98(0x35f)][_0x170e98(0x2d4)](),this[_0x170e98(0x376)]['next']([]),this[_0x170e98(0x376)]['complete']();}[_0x5de549(0x482)](){const _0x790dae=_0x5de549;this[_0x790dae(0x48f)]||(this[_0x790dae(0x48f)]=!0x0,this['_session'][_0x790dae(0x34c)]['pipe'](_0x404575[_0x790dae(0x387)](this['dispose$']))[_0x790dae(0x38e)](_0x5e6b69=>{const _0x441bd0=_0x790dae;_0x5e6b69===_0x3fe1f0['SessionStatus'][_0x441bd0(0x43d)]?this[_0x441bd0(0x34e)]():this[_0x441bd0(0x430)]();}),this['_session'][_0x790dae(0x2dc)][_0x790dae(0x498)](_0x404575['takeUntil'](this[_0x790dae(0x241)]))['subscribe'](_0x52659c=>{const _0x39973e=_0x790dae,_0x113811=_0x52659c[_0x39973e(0x3f2)];_0x113811===_0x560361[_0x39973e(0x1da)][_0x39973e(0x2db)]&&this[_0x39973e(0x44b)](_0x52659c),_0x113811===_0x560361[_0x39973e(0x1da)][_0x39973e(0x4a5)]&&this[_0x39973e(0x346)](_0x52659c);}),this[_0x790dae(0x2be)](),this[_0x790dae(0x24e)](this[_0x790dae(0x33e)][_0x790dae(0x2fd)](_0x2eded9=>{const _0x4734c0=_0x790dae;if(this[_0x4734c0(0x1b7)]&&_0x2eded9['id']===_0x3203ce[_0x4734c0(0x33b)]['id']&&_0x2eded9['params'][_0x4734c0(0x2fb)]===this['unitID']){const _0x50941a=_0x2eded9[_0x4734c0(0x448)];this[_0x4734c0(0x1dc)](_0x50941a[_0x4734c0(0x330)],_0x50941a[_0x4734c0(0x380)][0x0]);}})));}[_0x5de549(0x44b)](_0x4858de){const _0x55d2aa=_0x5de549;var _0x19c5f8,_0x27c86f;const {memberID:_0x3b3776,selection:_0x592f19}=_0x4858de['data'],{sheetName:_0x5a0a11,range:_0x5eedff}=_0x284237['deserializeRangeWithSheet'](_0x592f19),_0x5ce1a6={'name':(_0x27c86f=(_0x19c5f8=this[_0x55d2aa(0x413)][_0x55d2aa(0x1de)](this[_0x55d2aa(0x42f)],_0x3b3776))==null?void 0x0:_0x19c5f8[_0x55d2aa(0x231)])!=null?_0x27c86f:_0x55d2aa(0x490),'range':this[_0x55d2aa(0x1e1)](_0x5a0a11,_0x5eedff),'sheetID':_0x5a0a11,'color':this[_0x55d2aa(0x1c7)]['assignAColorForMemberID'](_0x3b3776),'selection':_0x592f19},_0x34d223=this[_0x55d2aa(0x3d7)];_0x34d223[_0x55d2aa(0x361)](_0x3b3776,_0x5ce1a6),this[_0x55d2aa(0x35f)]['next'](_0x34d223);}[_0x5de549(0x346)](_0x22ae81){const _0x4cf9d2=_0x5de549,{memberID:_0x595391}=_0x22ae81['data'],_0x42369a=this[_0x4cf9d2(0x3d7)];_0x42369a[_0x4cf9d2(0x421)](_0x595391),this[_0x4cf9d2(0x35f)][_0x4cf9d2(0x345)](_0x42369a);}[_0x5de549(0x1e1)](_0x2f9462,_0x2f0632){const _0xdb392a=_0x5de549;var _0x37c4e9,_0x4ecb91;const _0x4bf17c=(_0x4ecb91=(_0x37c4e9=this['_univerInstanceService'][_0xdb392a(0x2b9)](this['unitID']))==null?void 0x0:_0x37c4e9[_0xdb392a(0x296)](_0x2f9462))==null?void 0x0:_0x4ecb91[_0xdb392a(0x3ba)]();return(_0x4bf17c==null?void 0x0:_0x4bf17c['find'](_0x25a92e=>_0x39304f['Rectangle'][_0xdb392a(0x44a)](_0x25a92e,_0x2f0632)))||_0x2f0632;}[_0x5de549(0x2be)](){const _0x4df4a1=_0x5de549,_0x4f9aae=new _0x39304f[(_0x4df4a1(0x325))](),_0x46bf14=_0x354494(),_0x5b52bf=()=>{const _0x3d0ae0=_0x4df4a1;_0x4f9aae[_0x3d0ae0(0x2c3)]();const _0x39e3c8=(_0x6650e8,_0x32690d,_0x445c19,_0xe3c6ef)=>{const _0x235348=_0x3d0ae0;let _0x599a7b=[];switch(_0x6650e8['id']){case _0x3203ce[_0x235348(0x2f7)]['DeleteRangeMoveLeftCommandId']:{_0x599a7b=_0x3203ce[_0x235348(0x20a)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x1ad)]:{_0x599a7b=_0x3203ce[_0x235348(0x3ee)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x419)]:{_0x599a7b=_0x3203ce[_0x235348(0x27d)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x255)]:{_0x599a7b=_0x3203ce['handleInsertRangeMoveDown'](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x37a)]:{_0x599a7b=_0x3203ce[_0x235348(0x291)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce['EffectRefRangId']['InsertRowCommandId']:{_0x599a7b=_0x3203ce[_0x235348(0x1cb)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x40e)]:{_0x599a7b=_0x3203ce[_0x235348(0x1c9)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x29b)]:{_0x599a7b=_0x3203ce[_0x235348(0x2b3)](_0x6650e8,_0xe3c6ef);break;}case _0x3203ce[_0x235348(0x2f7)][_0x235348(0x251)]:{_0x599a7b=_0x3203ce[_0x235348(0x3d5)](_0x6650e8,_0xe3c6ef);break;}}const _0x589d86=_0x3203ce['runRefRangeMutations'](_0x599a7b,_0xe3c6ef),_0x4ec50e=this['cursorInfo']['get'](_0x32690d);if(_0x4ec50e&&_0x589d86){const _0x49182b={..._0x4ec50e,'range':_0x589d86};this[_0x235348(0x3d7)]['set'](_0x32690d,_0x49182b),_0x46bf14(()=>{const _0x17d8d1=_0x235348,_0x232a68=this[_0x17d8d1(0x432)][_0x17d8d1(0x219)](_0x589d86,_0x482d1d=>(_0x232a68[_0x17d8d1(0x2c3)](),_0x39e3c8(_0x482d1d,_0x32690d,_0x445c19,_0x589d86)));_0x4f9aae[_0x17d8d1(0x26c)](_0x232a68);});}return{'redos':[],'undos':[]};};this[_0x3d0ae0(0x3d7)][_0x3d0ae0(0x22a)]((_0x35e273,_0x3172bd)=>{const _0x10e45c=_0x3d0ae0,{range:_0x2ddd06,sheetID:_0x1fe7fb}=_0x35e273,_0x33136=this['_refRangeService'][_0x10e45c(0x219)](_0x2ddd06,_0x39bfb2=>(_0x33136['dispose'](),_0x39e3c8(_0x39bfb2,_0x3172bd,_0x1fe7fb,_0x2ddd06)));_0x4f9aae[_0x10e45c(0x26c)](_0x33136);});};this[_0x4df4a1(0x24e)](_0x39304f['toDisposable'](this['_cursorInfo$'][_0x4df4a1(0x38e)](()=>{_0x5b52bf();})));}[_0x5de549(0x34e)](){const _0x1e1ef5=_0x5de549;var _0x4c4330,_0x594a62;if(this[_0x1e1ef5(0x1b7)]=!0x0,((_0x4c4330=this[_0x1e1ef5(0x26e)][_0x1e1ef5(0x3ae)]())==null?void 0x0:_0x4c4330['getUnitId']())!==this[_0x1e1ef5(0x42f)])return;const _0x5920b4=(_0x594a62=this[_0x1e1ef5(0x31d)][_0x1e1ef5(0x1c0)](_0x3203ce[_0x1e1ef5(0x204)])[_0x1e1ef5(0x2f9)]())==null?void 0x0:_0x594a62[0x0],_0x31d54c=this['_univerInstanceService']['getCurrentUnitForType'](_0x39304f[_0x1e1ef5(0x1cf)][_0x1e1ef5(0x211)])['getActiveSheet']();_0x5920b4&&_0x31d54c&&this[_0x1e1ef5(0x1dc)](_0x31d54c[_0x1e1ef5(0x308)](),_0x5920b4);}['_toggleOffline'](){this['_online']=!0x1;}};_0x171417=_0x3089b1([_0x14e2e0(0x2,_0x39304f['Inject'](_0x39304f[_0x5de549(0x2bd)])),_0x14e2e0(0x3,_0x39304f[_0x5de549(0x356)](_0x34f587)),_0x14e2e0(0x4,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x3f5)])),_0x14e2e0(0x5,_0x39304f[_0x5de549(0x2cc)]),_0x14e2e0(0x6,_0x39304f['ICommandService']),_0x14e2e0(0x7,_0x39304f[_0x5de549(0x356)](_0x3203ce[_0x5de549(0x228)]))],_0x171417);var _0x36f971=Object[_0x5de549(0x49f)],_0x4edad9=(_0x459c25,_0x57f159,_0x2faa0f,_0x28faa4)=>{const _0x558189=_0x5de549;for(var _0x579b87=_0x28faa4>0x1?void 0x0:_0x28faa4?_0x36f971(_0x57f159,_0x2faa0f):_0x57f159,_0x3a244a=_0x459c25[_0x558189(0x3b7)]-0x1,_0x2910cc;_0x3a244a>=0x0;_0x3a244a--)(_0x2910cc=_0x459c25[_0x3a244a])&&(_0x579b87=_0x2910cc(_0x579b87)||_0x579b87);return _0x579b87;},_0xc50099=(_0x51fe5a,_0x276257)=>(_0x245ce3,_0x474b71)=>_0x276257(_0x245ce3,_0x474b71,_0x51fe5a);let _0x1af4cc=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x156319,_0x33db77,_0x5a5d4f){const _0x23dff5=_0x5de549;super(),_0x41fabe(this,_0x23dff5(0x360),new Map()),_0x41fabe(this,_0x23dff5(0x3e7),new _0x404575['Subject']()),(this[_0x23dff5(0x26e)]=_0x156319,this['_injector']=_0x33db77,this[_0x23dff5(0x24f)]=_0x5a5d4f,this[_0x23dff5(0x48f)]());}['dispose'](){const _0x323840=_0x5de549;super[_0x323840(0x2c3)](),this['_entityInit$'][_0x323840(0x2d4)](),this[_0x323840(0x360)][_0x323840(0x22a)](_0x33a849=>_0x33a849['dispose']());}[_0x5de549(0x3eb)](_0x2370e8){const _0x43b04a=_0x5de549;return this[_0x43b04a(0x360)][_0x43b04a(0x3f7)](_0x2370e8)?this[_0x43b04a(0x360)][_0x43b04a(0x1c0)](_0x2370e8)[_0x43b04a(0x2af)]:this[_0x43b04a(0x3e7)]['pipe'](_0x404575[_0x43b04a(0x1c6)](_0x2204cf=>_0x2204cf['unitID']===_0x2370e8),_0x404575[_0x43b04a(0x287)](_0x2ae6b2=>_0x2ae6b2[_0x43b04a(0x2af)]));}[_0x5de549(0x48f)](){const _0xb3cfb=_0x5de549;this['_univerInstanceService'][_0xb3cfb(0x364)](_0x39304f['UniverInstanceType'][_0xb3cfb(0x211)])[_0xb3cfb(0x498)](_0x404575['takeUntil'](this['dispose$']))['subscribe'](async _0x41e332=>{const _0x5f2055=_0xb3cfb,_0x525769=_0x41e332['getUnitId'](),_0x5b1c2c=await this[_0x5f2055(0x472)](_0x525769);this[_0x5f2055(0x3e7)]['next'](_0x5b1c2c),this[_0x5f2055(0x360)][_0x5f2055(0x361)](_0x525769,_0x5b1c2c);}),this[_0xb3cfb(0x26e)][_0xb3cfb(0x364)](_0x39304f['UniverInstanceType'][_0xb3cfb(0x418)])[_0xb3cfb(0x498)](_0x404575[_0xb3cfb(0x387)](this[_0xb3cfb(0x241)]))[_0xb3cfb(0x498)](_0x404575[_0xb3cfb(0x1c6)](_0x12324f=>!_0x12324f['getUnitId']()[_0xb3cfb(0x3b2)]('__')))[_0xb3cfb(0x38e)](async _0x1bbb4d=>{const _0x54f3df=_0xb3cfb,_0x5779ad=_0x1bbb4d[_0x54f3df(0x41e)](),_0x3d2b2e=await this[_0x54f3df(0x354)](_0x5779ad);this['_entityInit$'][_0x54f3df(0x345)](_0x3d2b2e),this['_entities']['set'](_0x5779ad,_0x3d2b2e);}),_0x404575[_0xb3cfb(0x394)](this[_0xb3cfb(0x26e)][_0xb3cfb(0x414)](_0x39304f[_0xb3cfb(0x1cf)]['UNIVER_DOC']),this['_univerInstanceService'][_0xb3cfb(0x414)](_0x39304f[_0xb3cfb(0x1cf)]['UNIVER_SHEET']))[_0xb3cfb(0x498)](_0x404575[_0xb3cfb(0x387)](this[_0xb3cfb(0x241)]))[_0xb3cfb(0x38e)](_0x55ad45=>{const _0x5bdbf3=_0xb3cfb,_0x2fd4e6=_0x55ad45[_0x5bdbf3(0x41e)](),_0x1b7f12=this[_0x5bdbf3(0x360)]['get'](_0x2fd4e6);_0x1b7f12&&(_0x1b7f12[_0x5bdbf3(0x2c3)](),this[_0x5bdbf3(0x360)][_0x5bdbf3(0x421)](_0x2fd4e6));});}async[_0x5de549(0x472)](_0xec4fb0){const _0x43da82=_0x5de549,_0x285d01=await this[_0x43da82(0x24f)][_0x43da82(0x2d5)](_0xec4fb0),_0x20b519=this[_0x43da82(0x31d)]['createInstance'](_0x171417,_0xec4fb0,_0x285d01);return _0x20b519['init'](),_0x20b519;}async[_0x5de549(0x354)](_0x3c7e1e){const _0x25a314=_0x5de549,_0x2b49c3=await this[_0x25a314(0x24f)][_0x25a314(0x2d5)](_0x3c7e1e),_0x1e1351=this[_0x25a314(0x31d)]['createInstance'](_0x427717,_0x3c7e1e,_0x2b49c3);return _0x1e1351[_0x25a314(0x482)](),_0x1e1351;}};_0x1af4cc=_0x4edad9([_0xc50099(0x0,_0x39304f[_0x5de549(0x2cc)]),_0xc50099(0x1,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x2bd)])),_0xc50099(0x2,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x22f)]))],_0x1af4cc);const _0xcfdad9=0x14,_0x6bd10f=0xc8,_0x2fc9bb=0x4,_0x57bc63=0x5;function _0x3d96e9(_0xcb2a3d,_0x183d67){const _0x1904d0=_0x5de549;let {radius:_0x97250a,width:_0x479a33,height:_0x5b0c2a}=_0x183d67;_0x97250a=_0x97250a!=null?_0x97250a:0x0,_0x479a33=_0x479a33!=null?_0x479a33:0x1e,_0x5b0c2a=_0x5b0c2a!=null?_0x5b0c2a:0x1e;let _0x306330=0x0,_0x2d57a3=0x0,_0x24cd86=0x0;_0x306330=_0x2d57a3=_0x24cd86=Math[_0x1904d0(0x316)](_0x97250a,_0x479a33/0x2,_0x5b0c2a/0x2),_0xcb2a3d[_0x1904d0(0x252)](),_0xcb2a3d[_0x1904d0(0x23f)](_0x306330,0x0),_0xcb2a3d[_0x1904d0(0x470)](_0x479a33-_0x2d57a3,0x0),_0xcb2a3d[_0x1904d0(0x45f)](_0x479a33-_0x2d57a3,_0x2d57a3,_0x2d57a3,Math['PI']*0x3/0x2,0x0,!0x1),_0xcb2a3d[_0x1904d0(0x470)](_0x479a33,_0x5b0c2a-_0x24cd86),_0xcb2a3d[_0x1904d0(0x45f)](_0x479a33-_0x24cd86,_0x5b0c2a-_0x24cd86,_0x24cd86,0x0,Math['PI']/0x2,!0x1),_0xcb2a3d['lineTo'](0x0,_0x5b0c2a),_0xcb2a3d[_0x1904d0(0x470)](0x0,_0x306330),_0xcb2a3d[_0x1904d0(0x45f)](_0x306330,_0x306330,_0x306330,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xcb2a3d[_0x1904d0(0x4a2)](),_0x183d67[_0x1904d0(0x402)]&&(_0xcb2a3d[_0x1904d0(0x1d8)](),_0xcb2a3d['fillStyle']=_0x183d67[_0x1904d0(0x402)],_0x183d67[_0x1904d0(0x1fb)]===_0x1904d0(0x3fe)?_0xcb2a3d[_0x1904d0(0x402)]('evenodd'):_0xcb2a3d[_0x1904d0(0x402)](),_0xcb2a3d[_0x1904d0(0x320)]());}class _0x92597c extends _0x46a3bd[_0x5de549(0x451)]{constructor(_0x5356dc,_0xa10320){const _0x1038ac=_0x5de549;super(_0x5356dc,_0xa10320),_0x41fabe(this,_0x1038ac(0x477)),_0x41fabe(this,_0x1038ac(0x28f)),(this[_0x1038ac(0x477)]=_0xa10320==null?void 0x0:_0xa10320[_0x1038ac(0x477)],this[_0x1038ac(0x28f)]=_0xa10320==null?void 0x0:_0xa10320[_0x1038ac(0x28f)]);}static[_0x5de549(0x3c3)](_0x3b0a94,_0x2cfe44){const _0x3fda34=_0x5de549,{text:_0x18fa42,color:_0x13dda0}=_0x2cfe44;_0x3b0a94['save'](),_0x3b0a94['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5cbd12=_0x3b0a94[_0x3fda34(0x388)](_0x18fa42)[_0x3fda34(0x3d6)],_0x116a13=Math[_0x3fda34(0x316)](_0x5cbd12+0x2*_0x2fc9bb,_0x6bd10f);_0x3d96e9(_0x3b0a94,{'height':_0xcfdad9,'radius':0x4,'width':_0x116a13,'fill':_0x13dda0}),_0x3b0a94[_0x3fda34(0x31b)]=_0x3fda34(0x4a7);const _0x24f1a4=_0x2fc9bb,_0x3a024a=_0xcfdad9-_0x57bc63,_0x5480b5=_0x6bd10f-0x2*_0x2fc9bb;if(_0x5cbd12>_0x5480b5){let _0x3298a5='',_0x93164e=0x0;for(const _0xf25e93 of _0x18fa42){const _0x124fb6=_0x3b0a94[_0x3fda34(0x388)](_0xf25e93)[_0x3fda34(0x3d6)];if(_0x93164e+_0x124fb6<=_0x5480b5-_0x3b0a94['measureText'](_0x3fda34(0x36f))[_0x3fda34(0x3d6)])_0x3298a5+=_0xf25e93,_0x93164e+=_0x124fb6;else{_0x3298a5+=_0x3fda34(0x36f);break;}}_0x3b0a94[_0x3fda34(0x35b)](_0x3298a5,_0x24f1a4,_0x3a024a);}else _0x3b0a94[_0x3fda34(0x35b)](_0x18fa42,_0x24f1a4,_0x3a024a);_0x3b0a94[_0x3fda34(0x320)]();}[_0x5de549(0x3e6)](_0x3f6b23){const _0x446f3c=_0x5de549;_0x92597c[_0x446f3c(0x3c3)](_0x3f6b23,this);}}const _0x4a99ec=_0x5de549(0x1b6),_0x100123=_0x5de549(0x1bd),_0x1c8aab=_0x5de549(0x3ac),_0xd9bc96=0x6,_0x1a5323=1.5,_0x2a36ad=0x4,_0x3b9359=1.5,_0x2ad9df=_0x5de549(0x2b7);class _0x5b7907{constructor(_0x2d2ced,_0x3e7ed1,_0x3be581,_0x1ae4fe){const _0x508250=_0x5de549;_0x41fabe(this,_0x508250(0x290),[]),_0x41fabe(this,_0x508250(0x25c),null),_0x41fabe(this,_0x508250(0x22c),null),_0x41fabe(this,'_anchorDot',null),_0x41fabe(this,_0x508250(0x465),null),_0x41fabe(this,_0x508250(0x47d),null),(this[_0x508250(0x40a)]=_0x2d2ced,this[_0x508250(0x2c9)]=_0x3e7ed1,this[_0x508250(0x344)]=_0x3be581,this['_document']=_0x1ae4fe,this[_0x508250(0x348)]());}set[_0x5de549(0x1ca)](_0x3961dd){const _0x3e507e=_0x5de549;_0x3961dd?(this[_0x3e507e(0x3c8)]&&this[_0x3e507e(0x3c8)]['hide'](),this[_0x3e507e(0x22c)]&&this[_0x3e507e(0x22c)]['show']()):(this[_0x3e507e(0x3c8)]&&this['_anchorDot'][_0x3e507e(0x38d)](),this[_0x3e507e(0x22c)]&&this[_0x3e507e(0x22c)][_0x3e507e(0x212)]());}[_0x5de549(0x2c3)](){const _0x36db7f=_0x5de549;for(const _0x46573 of this['_shapes'])_0x46573['dispose']();this['_textBubble']&&this[_0x36db7f(0x22c)]['dispose'](),this[_0x36db7f(0x3c8)]&&this[_0x36db7f(0x3c8)]['dispose'](),this[_0x36db7f(0x25c)]&&this[_0x36db7f(0x25c)][_0x36db7f(0x2c3)](),this[_0x36db7f(0x47d)]&&this[_0x36db7f(0x47d)]();}[_0x5de549(0x348)](){const _0x4a2af5=_0x5de549;var _0xa1f67;const {_docSkeleton:_0x17bd03,_document:_0x3be0a9}=this,{color:_0x58f61f,name:_0x4f73fb,ranges:_0x260f31}=this[_0x4a2af5(0x40a)],_0x5a2d9f=_0x3be0a9[_0x4a2af5(0x3a1)](),{docsLeft:_0x300f99,docsTop:_0x372a1c}=_0x5a2d9f,_0x47664c=new _0x2abae2[(_0x4a2af5(0x38a))](_0x5a2d9f,_0x17bd03);for(const {startOffset:_0x1478ca,endOffset:_0x3c9071,rangeType:_0x39d987,segmentId:_0x3edc49,segmentPage:_0x4e8a38,collapsed:_0x396ae8,isActive:_0x3c1dce}of _0x260f31){const _0x52e774=_0x17bd03[_0x4a2af5(0x479)](_0x1478ca,!0x0,_0x3edc49,_0x4e8a38);let _0x4bd408=_0x17bd03['findNodePositionByCharIndex'](_0x3c9071,!0x0,_0x3edc49,_0x4e8a38);if(_0x4bd408==null&&(_0x4bd408=_0x17bd03[_0x4a2af5(0x479)](_0x3c9071-0x1,!0x1,_0x3edc49,_0x4e8a38)),_0x3c1dce){const {contentBoxPointGroup:_0x261525}=_0x47664c['getRangePointData'](_0x4bd408,_0x4bd408);if(_0x261525['length']===0x0)continue;this[_0x4a2af5(0x2ec)](_0x58f61f,_0x261525,_0x300f99,_0x372a1c,_0x4f73fb),this[_0x4a2af5(0x47d)]=this[_0x4a2af5(0x339)]();}if(_0x52e774&&_0x4bd408){if(_0x39d987===_0x39304f[_0x4a2af5(0x431)][_0x4a2af5(0x1b1)]){const _0x3ae3dd=new _0x2abae2[(_0x4a2af5(0x1cc))](_0x5a2d9f,_0x17bd03),{pointGroup:_0x58ea40}=(_0xa1f67=_0x3ae3dd[_0x4a2af5(0x42d)](_0x52e774,_0x4bd408))!=null?_0xa1f67:{};if(_0x58ea40==null||_0x58ea40[_0x4a2af5(0x3b7)]===0x0)continue;this[_0x4a2af5(0x3b8)](_0x58f61f,_0x58ea40,_0x300f99,_0x372a1c);}else{if(!_0x396ae8){const {borderBoxPointGroup:_0x5c37fe}=_0x47664c[_0x4a2af5(0x42d)](_0x52e774,_0x4bd408);if(_0x5c37fe[_0x4a2af5(0x3b7)]===0x0)continue;this[_0x4a2af5(0x442)](_0x58f61f,_0x5c37fe,_0x300f99,_0x372a1c);}}}}}[_0x5de549(0x2ec)](_0x14cff7,_0x1791e1,_0x20adee,_0x135caf,_0x59fe52){const _0x2a5d26=_0x5de549,_0x4f150b=this[_0x2a5d26(0x46b)](_0x1791e1),{left:_0x4bb375,top:_0x2fe17c,height:_0x223888}=_0x4f150b,_0x5b807a=this[_0x2a5d26(0x3fa)](),_0x4f1b91=_0x3b9359/_0x5b807a,_0x1c01e2=new _0x46a3bd[(_0x2a5d26(0x39c))](_0x4a99ec+_0x39304f[_0x2a5d26(0x26d)](_0xd9bc96),{'left':_0x4bb375+_0x20adee-_0x4f1b91,'top':_0x2fe17c+_0x135caf,'height':_0x223888,'width':_0x1a5323,'fill':_0x14cff7||_0x46a3bd[_0x2a5d26(0x2c6)](_0x39304f[_0x2a5d26(0x3de)][_0x2a5d26(0x260)],0x0),'strokeWidth':_0x4f1b91,'stroke':_0x2ad9df,'evented':!0x0});this['_anchor']=_0x1c01e2,this[_0x2a5d26(0x2c9)]['addObject'](_0x1c01e2,_0x2abae2[_0x2a5d26(0x2d3)]);const _0x567ce3=new _0x46a3bd[(_0x2a5d26(0x39c))](_0x4a99ec+_0x39304f[_0x2a5d26(0x26d)](_0xd9bc96),{'left':_0x4bb375+_0x20adee-_0x4f1b91,'top':_0x2fe17c+_0x135caf-_0x2a36ad/0x2,'height':_0x2a36ad,'width':_0x2a36ad,'fill':_0x14cff7||_0x46a3bd[_0x2a5d26(0x2c6)](_0x39304f[_0x2a5d26(0x3de)][_0x2a5d26(0x260)],0x0),'strokeWidth':0x0,'stroke':_0x14cff7||_0x46a3bd[_0x2a5d26(0x2c6)](_0x39304f[_0x2a5d26(0x3de)][_0x2a5d26(0x260)],0x0),'evented':!0x1});this[_0x2a5d26(0x3c8)]=_0x567ce3,this[_0x2a5d26(0x2c9)][_0x2a5d26(0x468)](_0x567ce3,_0x2abae2[_0x2a5d26(0x2d3)]);const _0x329c78=new _0x92597c(_0x4a99ec+_0x39304f['generateRandomId'](_0xd9bc96),{'left':_0x4bb375+_0x20adee-_0x4f1b91,'top':_0x2fe17c+_0x135caf-_0xcfdad9,'text':_0x59fe52,'color':_0x14cff7});this[_0x2a5d26(0x22c)]=_0x329c78,this[_0x2a5d26(0x2c9)][_0x2a5d26(0x468)](_0x329c78,_0x2abae2[_0x2a5d26(0x2d3)]),this[_0x2a5d26(0x1ca)]=!0x1;}[_0x5de549(0x339)](){const _0xcc7211=_0x5de549,_0x2d7913=this[_0xcc7211(0x25c)][_0xcc7211(0x2f2)]['subscribeEvent'](()=>{const _0x102ea4=_0xcc7211;this[_0x102ea4(0x1ca)]=!0x0;}),_0x31fe76=this[_0xcc7211(0x25c)][_0xcc7211(0x21d)][_0xcc7211(0x3f9)](()=>{const _0x32ebe7=_0xcc7211;this[_0x32ebe7(0x465)]&&clearTimeout(this[_0x32ebe7(0x465)]),this[_0x32ebe7(0x465)]=setTimeout(()=>{const _0x33eb58=_0x32ebe7;this[_0x33eb58(0x1ca)]=!0x1;},0x7d0);});return()=>{const _0x356aa8=_0xcc7211;_0x2d7913['unsubscribe'](),_0x31fe76[_0x356aa8(0x1c2)]();};}[_0x5de549(0x442)](_0x3fbae7,_0x22b19d,_0x19e3d1,_0x5eaa4d){const _0x4433d3=_0x5de549,_0xd59fc2=new _0x39304f[(_0x4433d3(0x253))](_0x3fbae7)[_0x4433d3(0x307)](0.2)[_0x4433d3(0x3f0)](),_0x17a0b9=new _0x46a3bd['RegularPolygon'](_0x100123+_0x39304f[_0x4433d3(0x26d)](_0xd9bc96),{'pointsGroup':_0x22b19d,'fill':_0xd59fc2||_0x46a3bd['getColor'](_0x39304f[_0x4433d3(0x3de)][_0x4433d3(0x260)],0.2),'left':_0x19e3d1,'top':_0x5eaa4d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4433d3(0x290)][_0x4433d3(0x44d)](_0x17a0b9),this[_0x4433d3(0x2c9)][_0x4433d3(0x468)](_0x17a0b9,_0x2abae2[_0x4433d3(0x2d3)]);}['_drawRectRange'](_0x1a96c6,_0x5691d7,_0x1ccb46,_0x3a9512){const _0xeedda7=_0x5de549,_0x5acb48=new _0x39304f[(_0xeedda7(0x253))](_0x1a96c6)[_0xeedda7(0x307)](0.2)[_0xeedda7(0x3f0)](),_0xd82177=new _0x46a3bd[(_0xeedda7(0x2e5))](_0x1c8aab+_0x39304f[_0xeedda7(0x26d)](_0xd9bc96),{'pointsGroup':_0x5691d7,'fill':_0x5acb48||_0x46a3bd[_0xeedda7(0x2c6)](_0x39304f['COLORS']['black'],0.2),'left':_0x1ccb46,'top':_0x3a9512,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xeedda7(0x290)][_0xeedda7(0x44d)](_0xd82177),this[_0xeedda7(0x2c9)][_0xeedda7(0x468)](_0xd82177,_0x2abae2['TEXT_RANGE_LAYER_INDEX']);}[_0x5de549(0x46b)](_0x346a9a){const _0x1bc1a9=_0x346a9a[0x0],_0x2fb662=_0x1bc1a9[0x0],_0x3e6129=_0x1bc1a9[0x2],{x:_0x412132,y:_0x52da6b}=_0x2fb662,{x:_0x42a6ac,y:_0x414699}=_0x3e6129;return{'left':_0x412132,'top':_0x52da6b,'width':_0x42a6ac-_0x412132,'height':_0x414699-_0x52da6b};}[_0x5de549(0x3fa)](){const _0x371404=_0x5de549,{scaleX:_0xf1f0f3,scaleY:_0x14c6cf}=this[_0x371404(0x2c9)][_0x371404(0x3da)]();return Math[_0x371404(0x2c5)](_0xf1f0f3,_0x14c6cf);}}var _0x1cb7ff=Object[_0x5de549(0x49f)],_0x523c23=(_0x336df6,_0x5f5360,_0x569c56,_0xd71dab)=>{const _0x112fec=_0x5de549;for(var _0x5b79a3=_0xd71dab>0x1?void 0x0:_0xd71dab?_0x1cb7ff(_0x5f5360,_0x569c56):_0x5f5360,_0x31363c=_0x336df6[_0x112fec(0x3b7)]-0x1,_0x32adb4;_0x31363c>=0x0;_0x31363c--)(_0x32adb4=_0x336df6[_0x31363c])&&(_0x5b79a3=_0x32adb4(_0x5b79a3)||_0x5b79a3);return _0x5b79a3;},_0x4242c1=(_0x3e0550,_0xe9728e)=>(_0x1cc2b4,_0x4feed2)=>_0xe9728e(_0x1cc2b4,_0x4feed2,_0x3e0550);let _0x43034b=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0x32fe80,_0x28a186,_0x4c2716,_0x29e4f6,_0xe5c98c){const _0x689ab3=_0x5de549;super(),_0x41fabe(this,_0x689ab3(0x3c0),[]),_0x41fabe(this,'_cursors',[]),(this[_0x689ab3(0x33f)]=_0x32fe80,this[_0x689ab3(0x317)]=_0x28a186,this[_0x689ab3(0x1c5)]=_0x4c2716,this['_commandService']=_0x29e4f6,this['_themeService']=_0xe5c98c,this[_0x689ab3(0x48f)]());}[_0x5de549(0x48f)](){const _0x53fd71=_0x5de549,_0xfd9696=this['_context'][_0x53fd71(0x2fb)],_0x58587f=this[_0x53fd71(0x317)];this[_0x53fd71(0x24e)](_0x404575['combineLatest']([this['_collabCursorController']['getCollabCursors$'](_0xfd9696),this['_themeService'][_0x53fd71(0x382)]])[_0x53fd71(0x498)](_0x11a31a[_0x53fd71(0x309)](([_0x1752f7,_0x34b36a])=>({'skeleton':_0x58587f[_0x53fd71(0x30d)](),'cursors':[..._0x1752f7[_0x53fd71(0x2ba)]()][_0x53fd71(0x1b2)](_0x24b8e3=>({..._0x24b8e3,'color':this[_0x53fd71(0x333)][_0x53fd71(0x302)](_0x24b8e3['color'])}))})))[_0x53fd71(0x38e)](_0x24f0e9=>{const _0x49f758=_0x53fd71;if(this[_0x49f758(0x369)](),_0x24f0e9){const {skeleton:_0x4c719d,cursors:_0x841627}=_0x24f0e9;this['_updateCollabCursors'](_0x4c719d,_0x841627);}})),this[_0x53fd71(0x441)](),this[_0x53fd71(0x2ac)]();}['_updateCollabCursors'](_0x5d1d11,_0x3da123){const _0x4fde4f=_0x5de549,{scene:_0x374fa5,mainComponent:_0x567e20}=this[_0x4fde4f(0x33f)],_0x5a9395=_0x3da123[_0x4fde4f(0x309)](_0x3f28a6=>new _0x5b7907(_0x3f28a6,_0x374fa5,_0x5d1d11,_0x567e20));this[_0x4fde4f(0x3c0)]=_0x5a9395,this[_0x4fde4f(0x2ad)]=_0x3da123;}[_0x5de549(0x295)](){const _0x50e70e=_0x5de549;this[_0x50e70e(0x369)]();const {scene:_0x33a49b,mainComponent:_0x1d2307}=this[_0x50e70e(0x33f)],_0x376e36=this['_docSkeletonManagerService'][_0x50e70e(0x30d)](),_0x2dc872=this[_0x50e70e(0x2ad)][_0x50e70e(0x309)](_0x2d7dd9=>new _0x5b7907(_0x2d7dd9,_0x33a49b,_0x376e36,_0x1d2307));this[_0x50e70e(0x3c0)]=_0x2dc872;}[_0x5de549(0x369)](){const _0x29e4ed=_0x5de549;this['_cursorShapes'][_0x29e4ed(0x22a)](_0xe30281=>_0xe30281[_0x29e4ed(0x2c3)]()),this[_0x29e4ed(0x3c0)]=[];}[_0x5de549(0x2ac)](){const _0x285d1b=_0x5de549,_0x1a6be0=[_0x2abae2[_0x285d1b(0x1ef)]['id']];this[_0x285d1b(0x24e)](this['_commandService'][_0x285d1b(0x2fd)](_0x63284e=>{const _0x1a0d99=_0x285d1b;_0x1a6be0[_0x1a0d99(0x410)](_0x63284e['id'])&&_0x63284e['params'][_0x1a0d99(0x2fb)]===this[_0x1a0d99(0x33f)][_0x1a0d99(0x2fb)]&&this['_refreshCollabCursors']();}));}[_0x5de549(0x441)](){const _0xf390af=_0x5de549;this[_0xf390af(0x24e)](_0x39304f[_0xf390af(0x1a4)](this[_0xf390af(0x33f)]['engine']['onTransformChange$'])[_0xf390af(0x498)](_0x11a31a[_0xf390af(0x1c6)](_0x29f320=>_0x29f320[_0xf390af(0x328)]===_0x46a3bd[_0xf390af(0x39d)]['resize']),_0x11a31a[_0xf390af(0x3fb)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x43034b=_0x523c23([_0x4242c1(0x1,_0x39304f['Inject'](_0x59af06[_0x5de549(0x30b)])),_0x4242c1(0x2,_0x39304f[_0x5de549(0x356)](_0x1af4cc)),_0x4242c1(0x3,_0x39304f['ICommandService']),_0x4242c1(0x4,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x297)]))],_0x43034b);const _0x2e2110=0x1,_0x43d861=1.5;class _0x3ed0a extends _0x46a3bd[_0x5de549(0x451)]{constructor(_0x5dafd7,_0x3d1a35){const _0x23c2ff=_0x5de549;super(_0x5dafd7,_0x3d1a35),_0x41fabe(this,'_color'),_0x41fabe(this,_0x23c2ff(0x1e9),!0x1),_0x41fabe(this,'_range'),_0x41fabe(this,_0x23c2ff(0x47c),''),_0x41fabe(this,_0x23c2ff(0x206),_0x23c2ff(0x1d5)),_0x41fabe(this,_0x23c2ff(0x36a)),(_0x3d1a35&&this[_0x23c2ff(0x3e2)](_0x3d1a35),this[_0x23c2ff(0x2f2)][_0x23c2ff(0x3f9)](()=>this[_0x23c2ff(0x3e2)]({'hovered':!0x0})),this[_0x23c2ff(0x21d)][_0x23c2ff(0x3f9)](()=>this[_0x23c2ff(0x3e2)]({'hovered':!0x1})));}[_0x5de549(0x3e2)](_0x1f759b){const _0x2ce398=_0x5de549;var _0x28ec5b,_0x5550bb,_0x1d8c1f,_0x4e5e4f,_0x34ad7e,_0x25d370;this[_0x2ce398(0x436)]=(_0x28ec5b=_0x1f759b[_0x2ce398(0x477)])!=null?_0x28ec5b:this[_0x2ce398(0x436)],this[_0x2ce398(0x1e9)]=(_0x5550bb=_0x1f759b[_0x2ce398(0x272)])!=null?_0x5550bb:this['_hovered'],this['_range']=(_0x1d8c1f=_0x1f759b[_0x2ce398(0x1f6)])!=null?_0x1d8c1f:this[_0x2ce398(0x2d2)],this[_0x2ce398(0x47c)]=(_0x4e5e4f=_0x1f759b['name'])!=null?_0x4e5e4f:this[_0x2ce398(0x47c)],this[_0x2ce398(0x206)]=(_0x34ad7e=_0x1f759b[_0x2ce398(0x203)])!=null?_0x34ad7e:this['_labelPosition'],this['_backgroundColor']=(_0x25d370=_0x1f759b[_0x2ce398(0x42e)])!=null?_0x25d370:this[_0x2ce398(0x36a)],this[_0x2ce398(0x3f1)]({'width':_0x1f759b[_0x2ce398(0x3d6)],'height':_0x1f759b[_0x2ce398(0x381)]});}['onMouseMove'](_0xa16a8a){const _0x557c76=_0x5de549,{row:_0x487c3f,column:_0x194cfc}=_0xa16a8a;if(_0x487c3f>=this['_range'][_0x557c76(0x1a7)]&&_0x487c3f<=this[_0x557c76(0x2d2)][_0x557c76(0x1b9)]&&_0x194cfc>=this[_0x557c76(0x2d2)][_0x557c76(0x286)]&&_0x194cfc<=this[_0x557c76(0x2d2)][_0x557c76(0x305)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x557c76(0x3e2)]({'hovered':!0x1});}[_0x5de549(0x32e)](_0x4e0061){return!0x1;}['_draw'](_0x213ffc){const _0x405669=_0x5de549;_0x46a3bd[_0x405669(0x39c)][_0x405669(0x3c3)](_0x213ffc,{'width':this['width'],'height':this[_0x405669(0x381)],'strokeWidth':_0x43d861,'stroke':this[_0x405669(0x436)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x405669(0x1e9)]&&(_0x213ffc[_0x405669(0x1d8)](),_0x213ffc['transform'](0x1,0x0,0x0,0x1,this[_0x405669(0x3d6)],this['_labelPosition']===_0x405669(0x2c7)?0x0:-_0xcfdad9),_0x92597c[_0x405669(0x3c3)](_0x213ffc,{'text':this[_0x405669(0x47c)],'color':this[_0x405669(0x436)]}),_0x213ffc[_0x405669(0x320)]());}}var _0x4c5c8d=Object[_0x5de549(0x49f)],_0x1af073=(_0x2e75b2,_0x11cf96,_0x3c727f,_0xa711d7)=>{const _0x1538f5=_0x5de549;for(var _0x1b8c04=_0xa711d7>0x1?void 0x0:_0xa711d7?_0x4c5c8d(_0x11cf96,_0x3c727f):_0x11cf96,_0x130c96=_0x2e75b2[_0x1538f5(0x3b7)]-0x1,_0x38f2fa;_0x130c96>=0x0;_0x130c96--)(_0x38f2fa=_0x2e75b2[_0x130c96])&&(_0x1b8c04=_0x38f2fa(_0x1b8c04)||_0x1b8c04);return _0x1b8c04;},_0x407ac8=(_0x6f515c,_0x2a0fcb)=>(_0x22eb03,_0x1cd18d)=>_0x2a0fcb(_0x22eb03,_0x1cd18d,_0x6f515c);const _0x296aa0=0x1389;let _0x338784=class extends _0x39304f[_0x5de549(0x423)]{constructor(_0xfa3cc9,_0x5d9368,_0x2e72af,_0x8d6026){const _0x55dd9a=_0x5de549;super(),_0x41fabe(this,_0x55dd9a(0x2ad),new Set()),_0x41fabe(this,_0x55dd9a(0x3a4),null),(this[_0x55dd9a(0x33f)]=_0xfa3cc9,this[_0x55dd9a(0x271)]=_0x5d9368,this[_0x55dd9a(0x1c5)]=_0x2e72af,this['_themeService']=_0x8d6026,this[_0x55dd9a(0x48f)]());}[_0x5de549(0x48f)](){const _0x33700d=_0x5de549;this[_0x33700d(0x271)][_0x33700d(0x318)]['pipe'](_0x11a31a[_0x33700d(0x387)](this['dispose$']),_0x11a31a[_0x33700d(0x287)](_0x524101=>{const _0x46fc6c=_0x33700d;if(_0x524101){const _0x429a1b=_0x524101[_0x46fc6c(0x289)];return _0x404575['combineLatest'](this['_collabCursorController'][_0x46fc6c(0x3eb)](this['_context'][_0x46fc6c(0x2fb)]),this[_0x46fc6c(0x333)]['currentTheme$'])[_0x46fc6c(0x498)](_0x11a31a['map'](([_0x93bfa2,_0x5f3768])=>{const _0x22ac9c=new Map();return _0x93bfa2['forEach']((_0x16b3a5,_0x14029b)=>{const _0x154a14=_0x48a1;if(_0x16b3a5[_0x154a14(0x485)]===_0x429a1b){const _0x543876={..._0x16b3a5};_0x543876[_0x154a14(0x477)]=this[_0x154a14(0x333)][_0x154a14(0x302)](_0x16b3a5['color']),_0x22ac9c['set'](_0x14029b,_0x543876);}}),{'skeleton':_0x524101,'cursors':_0x22ac9c};}));}return _0x404575['of']({'skeleton':null,'cursors':new Map()});}))[_0x33700d(0x38e)](({skeleton:_0x1cec6f,cursors:_0x3b655b})=>{const _0x3cc9b4=_0x33700d;this[_0x3cc9b4(0x369)](),_0x1cec6f&&this[_0x3cc9b4(0x4a1)](_0x1cec6f,_0x3b655b);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x33700d(0x38e)](_0x9c2207=>{const _0x34b7bb=_0x33700d;if(_0x9c2207==null)return;const {skeleton:_0x5b7505}=_0x9c2207,{scene:_0x4ef404}=this[_0x34b7bb(0x33f)];_0x4ef404[_0x34b7bb(0x3ff)]['subscribeEvent'](_0x39304f[_0x34b7bb(0x484)](_0x44f8e6=>{const _0xc71997=_0x34b7bb;var _0x4044b9,_0x5b69a8;const {offsetX:_0x102f16,offsetY:_0x17620b}=_0x44f8e6,{x:_0x9eff90,y:_0x332573}=_0x4ef404[_0xc71997(0x425)](_0x46a3bd[_0xc71997(0x24a)][_0xc71997(0x2e7)]([_0x102f16,_0x17620b])),{scaleX:_0x54d343,scaleY:_0x3546e8}=_0x4ef404[_0xc71997(0x3da)](),_0x356396=_0x4ef404['getViewport'](_0x46a3bd[_0xc71997(0x3b9)][_0xc71997(0x263)]),_0x511ff6=_0x4ef404[_0xc71997(0x1d2)](_0x46a3bd[_0xc71997(0x24a)][_0xc71997(0x2e7)]([_0x9eff90,_0x332573]),_0x356396),_0xb67cb9=_0x5b7505['getCellPositionByOffset'](_0x102f16,_0x17620b,_0x54d343,_0x3546e8,_0x511ff6);((_0x4044b9=this[_0xc71997(0x3a4)])==null?void 0x0:_0x4044b9['column'])===_0xb67cb9[_0xc71997(0x2a3)]&&((_0x5b69a8=this[_0xc71997(0x3a4)])==null?void 0x0:_0x5b69a8[_0xc71997(0x367)])===_0xb67cb9[_0xc71997(0x367)]||this[_0xc71997(0x2ad)][_0xc71997(0x22a)](_0x3f8b92=>{const _0x3efc1c=_0xc71997;_0x3f8b92[_0x3efc1c(0x245)](_0xb67cb9);});},0x64));});}['_updateCollabCursors'](_0x13b2bd,_0x4a4ad3){const _0x2e8be7=_0x5de549;var _0x5bd5d9;const _0x5f29ac=(_0x5bd5d9=this[_0x2e8be7(0x271)][_0x2e8be7(0x335)]())==null?void 0x0:_0x5bd5d9[_0x2e8be7(0x280)];if(!_0x5f29ac)return;const _0x48d6df=this['_getSheetObject']();if(!_0x48d6df)return;this['_cursors'][_0x2e8be7(0x22a)](_0x3d5995=>{const _0x5eddb5=_0x2e8be7;_0x3d5995[_0x5eddb5(0x1bc)]();});const {scene:_0x59efc3}=_0x48d6df,_0x12e36a=_0x458cd3(Array['from'](_0x4a4ad3[_0x2e8be7(0x2ba)]()))[_0x2e8be7(0x309)](_0x332993=>{const _0x4b4fa2=_0x2e8be7,{color:_0x423810,range:_0x5d8786,name:_0x36a385,selection:_0xbce8e9,sheetID:_0xc42bbd}=_0x332993,{startColumn:_0x2f42e9,startRow:_0x2a9440,endColumn:_0x2e2a87,endRow:_0x258fdd}=_0x5d8786,_0x5ccc56=_0x5ee9c5['getCoordByCell'](_0x2a9440,_0x2f42e9,_0x59efc3,_0x5f29ac),_0x190278=_0x5ee9c5[_0x4b4fa2(0x365)](_0x258fdd,_0x2e2a87,_0x59efc3,_0x5f29ac),{columnHeaderHeightAndMarginTop:_0x453139}=_0x5f29ac,{startX:_0x3d919e,startY:_0x5d4228}=_0x5ccc56,{endX:_0x1cd7c2,endY:_0x32ae5f}=_0x190278,_0xa47f22=_0x1cd7c2-_0x3d919e,_0x45c369=_0x32ae5f-_0x5d4228,_0x4b9f99={'labelPosition':_0x5d4228-_0x453139>=_0xcfdad9?_0x4b4fa2(0x1d5):_0x4b4fa2(0x2c7),'sheetID':_0xc42bbd,'range':_0x5d8786,'color':_0x423810,'name':_0x36a385,'selection':_0xbce8e9,'left':_0x3d919e,'top':_0x5d4228,'width':_0xa47f22,'height':_0x45c369,'evented':!0x1,'zIndex':_0x296aa0};return new _0x3ed0a(_0x36a385,_0x4b9f99);});_0x59efc3['addObjects'](_0x12e36a,_0x2e2110),this[_0x2e8be7(0x2ad)]=new Set(_0x12e36a);}[_0x5de549(0x369)](){const _0x4d06a3=_0x5de549;var _0x4afb16;(_0x4afb16=this[_0x4d06a3(0x2ad)])==null||_0x4afb16[_0x4d06a3(0x22a)](_0x55ef26=>_0x55ef26['dispose']());}[_0x5de549(0x440)](){const _0x1c3382=_0x5de549;return _0x5ee9c5[_0x1c3382(0x415)](this[_0x1c3382(0x33f)][_0x1c3382(0x3c7)],this[_0x1c3382(0x33f)]);}};_0x338784=_0x1af073([_0x407ac8(0x1,_0x39304f['Inject'](_0x5ee9c5[_0x5de549(0x366)])),_0x407ac8(0x2,_0x39304f[_0x5de549(0x356)](_0x1af4cc)),_0x407ac8(0x3,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x297)]))],_0x338784);function _0x458cd3(_0x34cb49){const _0x2fda3d=_0x5de549,_0x421203=new Map();return _0x34cb49[_0x2fda3d(0x22a)](_0x10836f=>{const _0x237ca0=_0x2fda3d;if(_0x421203[_0x237ca0(0x3f7)](_0x10836f[_0x237ca0(0x368)])){const _0x4f7de6=_0x421203[_0x237ca0(0x1c0)](_0x10836f[_0x237ca0(0x368)]);_0x4f7de6[_0x237ca0(0x231)]+=',\x20'+_0x10836f[_0x237ca0(0x231)];}else _0x421203[_0x237ca0(0x361)](_0x10836f[_0x237ca0(0x368)],_0x10836f);}),Array[_0x2fda3d(0x1bf)](_0x421203[_0x2fda3d(0x2ba)]());}var _0xf8c215=Object[_0x5de549(0x49f)],_0x3b3685=(_0x2adfa4,_0xd61da1,_0x3f4c76,_0x9c023b)=>{const _0x489f5f=_0x5de549;for(var _0x49697e=_0x9c023b>0x1?void 0x0:_0x9c023b?_0xf8c215(_0xd61da1,_0x3f4c76):_0xd61da1,_0x8296a6=_0x2adfa4[_0x489f5f(0x3b7)]-0x1,_0xbb1cb7;_0x8296a6>=0x0;_0x8296a6--)(_0xbb1cb7=_0x2adfa4[_0x8296a6])&&(_0x49697e=_0xbb1cb7(_0x49697e)||_0x49697e);return _0x49697e;},_0x37b7aa=(_0x36f074,_0x11124c)=>(_0x327122,_0x3e10b4)=>_0x11124c(_0x327122,_0x3e10b4,_0x36f074);let _0x261734=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x4b7b0f,_0x3c15a6,_0x3e05b3,_0x1ae48b,_0x32186c,_0x51b570){const _0x2c7531=_0x5de549;super(),this[_0x2c7531(0x3d4)]=_0x4b7b0f,this['_localCacheService']=_0x3c15a6,this[_0x2c7531(0x250)]=_0x3e05b3,this[_0x2c7531(0x22d)]=_0x1ae48b,this['_notificationService']=_0x32186c,this[_0x2c7531(0x3c1)]=_0x51b570,this[_0x2c7531(0x229)](),this['_initEvent']();}[_0x5de549(0x229)](){const _0x428eab=_0x5de549;this[_0x428eab(0x24e)](this['_beforeCloseService'][_0x428eab(0x265)](()=>{const _0x51994e=_0x428eab;if(this[_0x51994e(0x2e6)][_0x51994e(0x32c)]['size'])return this[_0x51994e(0x3c1)]['t'](_0x51994e(0x39b));}));}[_0x5de549(0x23a)](){const _0x34beee=_0x5de549;this[_0x34beee(0x24e)](this[_0x34beee(0x250)][_0x34beee(0x2dc)][_0x34beee(0x38e)](_0x50e32e=>{const _0x2b8cdd=_0x34beee;_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)][_0x2b8cdd(0x352)]&&this['_messageService'][_0x2b8cdd(0x38d)]({'type':_0x31598f[_0x2b8cdd(0x242)][_0x2b8cdd(0x370)],'content':this['_localeService']['t'](_0x2b8cdd(0x377))}),_0x50e32e['id']===_0x3fe1f0['CollaborationUIEventId'][_0x2b8cdd(0x326)]&&this[_0x2b8cdd(0x22d)]['show']({'type':_0x31598f[_0x2b8cdd(0x242)][_0x2b8cdd(0x370)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x31e))}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)][_0x2b8cdd(0x43e)]&&this['_notificationService'][_0x2b8cdd(0x38d)]({'title':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x257)),'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x254)),'type':'error','duration':0x0}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)][_0x2b8cdd(0x3ad)]&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f[_0x2b8cdd(0x242)][_0x2b8cdd(0x385)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x31e))+'('+_0x50e32e['data']+')'}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)]['JOIN_ROOM_FAILED']&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f[_0x2b8cdd(0x242)][_0x2b8cdd(0x370)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x50e32e[_0x2b8cdd(0x298)]||'')}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)][_0x2b8cdd(0x1f3)]&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f['MessageType'][_0x2b8cdd(0x370)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x243))}),_0x50e32e['id']===_0x3fe1f0[_0x2b8cdd(0x33d)]['SOCKET_FAILED']&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f[_0x2b8cdd(0x242)]['Error'],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x1db))}),_0x50e32e['id']===_0x3fe1f0['CollaborationUIEventId'][_0x2b8cdd(0x20b)]&&this[_0x2b8cdd(0x22d)][_0x2b8cdd(0x38d)]({'type':_0x31598f['MessageType'][_0x2b8cdd(0x385)],'content':this[_0x2b8cdd(0x3c1)]['t'](_0x2b8cdd(0x28e))});}));}};_0x261734=_0x3b3685([_0x37b7aa(0x0,_0x4c3b5c[_0x5de549(0x30f)]),_0x37b7aa(0x1,_0x3fe1f0['ILocalCacheService']),_0x37b7aa(0x2,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x49b)])),_0x37b7aa(0x3,_0x4c3b5c[_0x5de549(0x323)]),_0x37b7aa(0x4,_0x4c3b5c['INotificationService']),_0x37b7aa(0x5,_0x39304f['Inject'](_0x39304f[_0x5de549(0x3f4)]))],_0x261734);var _0x13e2d4=Object[_0x5de549(0x49f)],_0x10ba81=(_0x124bf3,_0x249681,_0x1806b9,_0x28810f)=>{const _0x5a8ec4=_0x5de549;for(var _0x48deb7=_0x28810f>0x1?void 0x0:_0x28810f?_0x13e2d4(_0x249681,_0x1806b9):_0x249681,_0x257f51=_0x124bf3[_0x5a8ec4(0x3b7)]-0x1,_0x4b7a52;_0x257f51>=0x0;_0x257f51--)(_0x4b7a52=_0x124bf3[_0x257f51])&&(_0x48deb7=_0x4b7a52(_0x48deb7)||_0x48deb7);return _0x48deb7;},_0x44586c=(_0x54155a,_0x3e77ee)=>(_0x5375eb,_0x2e343a)=>_0x3e77ee(_0x5375eb,_0x2e343a,_0x54155a);let _0x33fdc9=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x27263d,_0x260cd1,_0x5a6dd8,_0x395262){const _0x16a84f=_0x5de549;super(),_0x41fabe(this,_0x16a84f(0x1b8)),(this[_0x16a84f(0x31d)]=_0x27263d,this['_httpService']=_0x260cd1,this['_logService']=_0x5a6dd8,this[_0x16a84f(0x2cf)]=_0x395262,this[_0x16a84f(0x48f)]());}['_init'](){const _0x5b4ba0=_0x5de549;this[_0x5b4ba0(0x28b)](),this[_0x5b4ba0(0x343)](),this['_monkeyPatchLogService'](),this[_0x5b4ba0(0x39e)]();}['_initUserListener'](){const _0x5a9aae=_0x5de549;this[_0x5a9aae(0x24e)](this[_0x5a9aae(0x2cf)][_0x5a9aae(0x41f)]['subscribe'](_0x45ec33=>{const _0x222947=_0x5a9aae;this[_0x222947(0x1b8)]=_0x45ec33==null?void 0x0:_0x45ec33['memberID'];}));}['_initWindowErrorListener'](){const _0x141c9e=_0x5de549,_0x509417=_0xaaddbd=>{const _0x3d4797=_0x48a1;var _0x4115a5;this[_0x3d4797(0x45c)](_0x3d4797(0x2ee),'[Window\x20Error]:\x20'+_0xaaddbd[_0x3d4797(0x1c3)]+_0x3d4797(0x3b4)+_0xaaddbd[_0x3d4797(0x2d1)]+':'+_0xaaddbd[_0x3d4797(0x285)]+':'+_0xaaddbd['colno']+'\x0a'+(((_0x4115a5=_0xaaddbd[_0x3d4797(0x2ee)])==null?void 0x0:_0x4115a5[_0x3d4797(0x23d)])||''));};window[_0x141c9e(0x34d)]('error',_0x509417),this[_0x141c9e(0x24e)](()=>{const _0x356c8a=_0x141c9e;window['removeEventListener'](_0x356c8a(0x2ee),_0x509417);});}[_0x5de549(0x343)](){const _0xe27f4a=_0x5de549,_0x6bb16e=_0x189d06=>{const _0x392500=_0x48a1;this[_0x392500(0x45c)](_0x392500(0x2ee),_0x392500(0x4a6)+_0x189d06[_0x392500(0x218)]);};window[_0xe27f4a(0x34d)](_0xe27f4a(0x493),_0x6bb16e),this[_0xe27f4a(0x24e)](()=>{const _0x19d106=_0xe27f4a;window[_0x19d106(0x47e)]('unhandledrejection',_0x6bb16e);});}[_0x5de549(0x384)](){const _0x283af5=_0x5de549,_0x3ed876=this[_0x283af5(0x43a)]['error'][_0x283af5(0x3c6)](this[_0x283af5(0x43a)]);this[_0x283af5(0x43a)][_0x283af5(0x2ee)]=(..._0x4e7e78)=>{const _0x2bfa96=_0x283af5,_0x199123=_0x4e7e78[_0x2bfa96(0x309)](_0x564425=>_0x564425 instanceof Error?_0x564425[_0x2bfa96(0x1c3)]+'\x0a'+_0x564425[_0x2bfa96(0x23d)]:String(_0x564425))[_0x2bfa96(0x3b0)]('\x20');this[_0x2bfa96(0x45c)](_0x2bfa96(0x2ee),_0x2bfa96(0x2d7)+_0x199123),_0x3ed876(..._0x4e7e78);},this['disposeWithMe'](()=>{const _0x2baff1=_0x283af5;this[_0x2baff1(0x43a)][_0x2baff1(0x2ee)]=_0x3ed876;});}['_uploadLog'](_0xe0ad67,_0x53523f){const _0x234b66=_0x5de549;try{const _0x5015b7={'userId':this['_memberID'],'logLabel':_0xe0ad67,'content':_0x53523f};this[_0x234b66(0x40f)][_0x234b66(0x2b8)](_0x234b66(0x401),{'body':_0x5015b7})[_0x234b66(0x47a)](()=>{});}catch{}}};_0x33fdc9=_0x10ba81([_0x44586c(0x0,_0x39304f['Inject'](_0x39304f[_0x5de549(0x2bd)])),_0x44586c(0x1,_0x39304f[_0x5de549(0x356)](_0x4e0fb2[_0x5de549(0x469)])),_0x44586c(0x2,_0x39304f[_0x5de549(0x25e)]),_0x44586c(0x3,_0x39304f['Inject'](_0x3fe1f0[_0x5de549(0x22f)]))],_0x33fdc9);const _0x13b4e5='collaboration-client-ui.config',_0x469697={};var _0x2d8b6a=Object[_0x5de549(0x49f)],_0x5144bc=(_0x2e9deb,_0x49fce7,_0x2796ee,_0x5a5c38)=>{for(var _0x3add98=_0x5a5c38>0x1?void 0x0:_0x5a5c38?_0x2d8b6a(_0x49fce7,_0x2796ee):_0x49fce7,_0x583c85=_0x2e9deb['length']-0x1,_0x26f12f;_0x583c85>=0x0;_0x583c85--)(_0x26f12f=_0x2e9deb[_0x583c85])&&(_0x3add98=_0x26f12f(_0x3add98)||_0x3add98);return _0x3add98;},_0xaf46f4=(_0x318beb,_0x184d72)=>(_0x538d89,_0x556cb5)=>_0x184d72(_0x538d89,_0x556cb5,_0x318beb);let _0x547126=class{constructor(_0x1cdea0,_0x36fbef){const _0x38e088=_0x5de549;this[_0x38e088(0x403)]=_0x1cdea0,this['_renderManagerService']=_0x36fbef;}[_0x5de549(0x342)](_0x4542d6){this['_transformUndoRedoStack'](_0x4542d6),this['_transformPreviousActiveRange'](_0x4542d6);}['transformRemoteChangeset'](_0x55e528){const _0x53e068=_0x5de549,{unitID:_0x4b29d1}=_0x55e528,_0x362b15=this['_renderManagerService'][_0x53e068(0x21a)](_0x4b29d1)['with'](_0x2abae2[_0x53e068(0x278)]),{redoCache:_0x2d8887}=_0x362b15[_0x53e068(0x2dd)]();if(_0x2d8887[_0x53e068(0x3b7)]===0x0)return _0x55e528;let _0x8af97c=_0x39304f[_0x53e068(0x1ec)][_0x53e068(0x3ab)](_0x55e528[_0x53e068(0x404)][0x0]);for(let _0x5f4fd3=0x0;_0x5f4fd3<_0x2d8887['length'];_0x5f4fd3++){const _0x48cd37={'id':'doc.mutation.rich-text-editing','params':{..._0x2d8887[_0x5f4fd3]}},_0x4c9974=this[_0x53e068(0x403)][_0x53e068(0x37d)](_0x8af97c,_0x48cd37,!0x1);if(_0x560361['isTransformMutationFailure'](_0x4c9974))throw _0x4c9974['error'];_0x8af97c=_0x4c9974[_0x53e068(0x1d7)];}return{..._0x39304f[_0x53e068(0x1ec)][_0x53e068(0x3ab)](_0x55e528),'mutations':[_0x8af97c]};}[_0x5de549(0x1eb)](_0xa0a2df){const _0x2185bc=_0x5de549,{unitID:_0x34638f}=_0xa0a2df,_0x4fcd09=this[_0x2185bc(0x349)][_0x2185bc(0x21a)](_0x34638f)[_0x2185bc(0x29e)](_0x2abae2[_0x2185bc(0x278)]),{undoCache:_0x392f4c,redoCache:_0x28d1ef}=_0x4fcd09[_0x2185bc(0x2dd)]();if(_0x392f4c[_0x2185bc(0x3b7)]===0x0||_0x28d1ef[_0x2185bc(0x3b7)]===0x0)return;const _0x8c4423=[],_0x2d8532=[];let _0x4a9868=_0x39304f[_0x2185bc(0x1ec)][_0x2185bc(0x3ab)](_0xa0a2df[_0x2185bc(0x404)][0x0]),_0x259e9c=_0x39304f[_0x2185bc(0x1ec)][_0x2185bc(0x3ab)](_0xa0a2df[_0x2185bc(0x404)][0x0]);for(let _0x3e7a7b=_0x392f4c['length']-0x1;_0x3e7a7b>=0x0;_0x3e7a7b--){const _0x37ec47={'id':'doc.mutation.rich-text-editing','params':{..._0x392f4c[_0x3e7a7b]}},_0x5b75cf={'id':_0x2185bc(0x476),'params':{..._0x28d1ef[_0x3e7a7b]}},_0x3b4497=this[_0x2185bc(0x403)][_0x2185bc(0x37d)](_0x4a9868,_0x37ec47,!0x1),_0x4c6a4a=this['_transformService'][_0x2185bc(0x37d)](_0x259e9c,_0x5b75cf,!0x1);if(_0x560361[_0x2185bc(0x3fd)](_0x3b4497))throw _0x3b4497[_0x2185bc(0x2ee)];if(_0x560361[_0x2185bc(0x3fd)](_0x4c6a4a))throw _0x4c6a4a[_0x2185bc(0x2ee)];_0x8c4423[_0x2185bc(0x282)](_0x3b4497[_0x2185bc(0x1e0)][_0x2185bc(0x448)]),_0x2d8532[_0x2185bc(0x282)](_0x4c6a4a[_0x2185bc(0x1e0)][_0x2185bc(0x448)]),_0x4a9868=_0x3b4497[_0x2185bc(0x1d7)],_0x259e9c=_0x4c6a4a[_0x2185bc(0x1d7)];}_0x4fcd09[_0x2185bc(0x38f)]({'undoCache':_0x8c4423,'redoCache':_0x2d8532});}['_transformPreviousActiveRange'](_0x2cb7f2){const _0x1d2229=_0x5de549,{unitID:_0x575294}=_0x2cb7f2,_0x26100d=this[_0x1d2229(0x349)]['getRenderById'](_0x575294)[_0x1d2229(0x29e)](_0x2abae2['DocIMEInputManagerService']),_0x4e2705=_0x26100d[_0x1d2229(0x464)]();if(_0x4e2705==null)return;const _0x45d90f=[{'id':_0x1d2229(0x476),'params':{'unitId':_0x2cb7f2[_0x1d2229(0x42f)],'actions':null,'textRanges':[_0x4e2705]}}],_0x535b1b=this[_0x1d2229(0x403)][_0x1d2229(0x3c4)](_0x2cb7f2,_0x45d90f);if(!_0x560361[_0x1d2229(0x2ce)](_0x535b1b))throw _0x535b1b[_0x1d2229(0x2ee)];const _0x22a910=_0x535b1b[_0x1d2229(0x1e0)][0x0][_0x1d2229(0x448)]['textRanges'];Array[_0x1d2229(0x372)](_0x22a910)&&_0x22a910[_0x1d2229(0x3b7)]&&_0x26100d[_0x1d2229(0x2a0)](_0x22a910[0x0]);}};_0x547126=_0x5144bc([_0xaf46f4(0x0,_0x560361[_0x5de549(0x37e)]),_0xaf46f4(0x1,_0x46a3bd['IRenderManagerService'])],_0x547126);var _0x494865=Object[_0x5de549(0x49f)],_0x33054a=(_0x2b793d,_0x395f2,_0x41015,_0x3c2c33)=>{const _0x20b2a4=_0x5de549;for(var _0x3a49a3=_0x3c2c33>0x1?void 0x0:_0x3c2c33?_0x494865(_0x395f2,_0x41015):_0x395f2,_0x594a98=_0x2b793d[_0x20b2a4(0x3b7)]-0x1,_0x26bebd;_0x594a98>=0x0;_0x594a98--)(_0x26bebd=_0x2b793d[_0x594a98])&&(_0x3a49a3=_0x26bebd(_0x3a49a3)||_0x3a49a3);return _0x3a49a3;},_0x216ee=(_0x133e54,_0x50da81)=>(_0x35743c,_0x50739a)=>_0x50da81(_0x35743c,_0x50739a,_0x133e54);let _0xacb853=class{constructor(_0x293e0b,_0x1d7f52,_0x2b5dd9){const _0x1279b7=_0x5de549;this[_0x1279b7(0x31d)]=_0x293e0b,this[_0x1279b7(0x403)]=_0x1d7f52,this[_0x1279b7(0x3b1)]=_0x2b5dd9;}[_0x5de549(0x444)](_0x330ee9){const _0x55e2e4=_0x5de549;this[_0x55e2e4(0x201)](_0x330ee9);}[_0x5de549(0x46e)](_0x223ef2){const _0xa5f205=_0x5de549,{unitID:_0x4560d2}=_0x223ef2,{collaboration:_0x3442fd}=this[_0xa5f205(0x3b1)][_0xa5f205(0x261)](_0x4560d2);if(_0x3442fd[_0xa5f205(0x3b7)]===0x0)return _0x223ef2;let _0x28a2ab=_0x39304f[_0xa5f205(0x1ec)][_0xa5f205(0x3ab)](_0x223ef2[_0xa5f205(0x404)][0x0]);for(let _0x9a05d4=0x0;_0x9a05d4<_0x3442fd[_0xa5f205(0x3b7)];_0x9a05d4++){const _0x293e26={'id':_0xa5f205(0x476),'params':{'unitId':_0x3442fd[_0x9a05d4]['unitId'],..._0x3442fd[_0x9a05d4][_0xa5f205(0x293)]}},_0x19c041=this[_0xa5f205(0x403)][_0xa5f205(0x37d)](_0x28a2ab,_0x293e26,!0x1);if(_0x560361[_0xa5f205(0x3fd)](_0x19c041))throw _0x19c041['error'];_0x28a2ab=_0x19c041[_0xa5f205(0x1d7)];}return{..._0x39304f[_0xa5f205(0x1ec)][_0xa5f205(0x3ab)](_0x223ef2),'mutations':[_0x28a2ab]};}[_0x5de549(0x201)](_0x1aa0af){const _0x38d35a=_0x5de549,{unitID:_0x16e33e}=_0x1aa0af,{history:_0x50ff57,collaboration:_0x30be94}=this['_docStateChangeManagerService'][_0x38d35a(0x261)](_0x16e33e);if(_0x50ff57['length']===0x0&&_0x30be94['length']===0x0)return;const _0x3759f8=[],_0x3a8e7f=[];let _0x45acc6=_0x39304f[_0x38d35a(0x1ec)][_0x38d35a(0x3ab)](_0x1aa0af[_0x38d35a(0x404)][0x0]),_0x14a992=_0x39304f[_0x38d35a(0x1ec)][_0x38d35a(0x3ab)](_0x1aa0af[_0x38d35a(0x404)][0x0]);for(let _0x58bccd=_0x50ff57['length']-0x1;_0x58bccd>=0x0;_0x58bccd--){const _0x30130b={'id':_0x38d35a(0x476),'params':{'unitId':_0x50ff57[_0x58bccd][_0x38d35a(0x2fb)],..._0x50ff57[_0x58bccd][_0x38d35a(0x222)]}},_0x36d30e={'id':_0x38d35a(0x476),'params':{'unitId':_0x50ff57[_0x58bccd]['unitId'],..._0x50ff57[_0x58bccd][_0x38d35a(0x293)]}},_0x45fc5a=this[_0x38d35a(0x403)]['transformMutation'](_0x45acc6,_0x30130b,!0x1),_0x375666=this[_0x38d35a(0x403)]['transformMutation'](_0x14a992,_0x36d30e,!0x1);if(_0x560361[_0x38d35a(0x3fd)](_0x45fc5a))throw _0x45fc5a['error'];if(_0x560361['isTransformMutationFailure'](_0x375666))throw _0x375666[_0x38d35a(0x2ee)];_0x3759f8['unshift']({..._0x50ff57[_0x58bccd],'undoState':_0x45fc5a['m2Prime']['params'],'redoState':_0x375666['m2Prime']['params']}),_0x45acc6=_0x45fc5a[_0x38d35a(0x1d7)],_0x14a992=_0x375666['m1Prime'];}_0x45acc6=_0x39304f['Tools'][_0x38d35a(0x3ab)](_0x1aa0af[_0x38d35a(0x404)][0x0]),_0x14a992=_0x39304f[_0x38d35a(0x1ec)][_0x38d35a(0x3ab)](_0x1aa0af[_0x38d35a(0x404)][0x0]);for(let _0x286738=_0x30be94[_0x38d35a(0x3b7)]-0x1;_0x286738>=0x0;_0x286738--){const _0xb43fcc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30be94[_0x286738][_0x38d35a(0x2fb)],..._0x30be94[_0x286738][_0x38d35a(0x222)]}},_0xeb8c01={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30be94[_0x286738][_0x38d35a(0x2fb)],..._0x30be94[_0x286738]['redoState']}},_0x3e48ae=this[_0x38d35a(0x403)][_0x38d35a(0x37d)](_0x45acc6,_0xb43fcc,!0x1),_0x34fa47=this[_0x38d35a(0x403)][_0x38d35a(0x37d)](_0x14a992,_0xeb8c01,!0x1);if(_0x560361['isTransformMutationFailure'](_0x3e48ae))throw _0x3e48ae[_0x38d35a(0x2ee)];if(_0x560361[_0x38d35a(0x3fd)](_0x34fa47))throw _0x34fa47[_0x38d35a(0x2ee)];_0x3a8e7f[_0x38d35a(0x282)]({..._0x30be94[_0x286738],'undoState':_0x3e48ae[_0x38d35a(0x1e0)]['params'],'redoState':_0x34fa47['m2Prime'][_0x38d35a(0x448)]}),_0x45acc6=_0x3e48ae['m1Prime'],_0x14a992=_0x34fa47[_0x38d35a(0x1d7)];}this[_0x38d35a(0x3b1)][_0x38d35a(0x461)](_0x16e33e,{'history':_0x3759f8,'collaboration':_0x3a8e7f});}};_0xacb853=_0x33054a([_0x216ee(0x0,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x2bd)])),_0x216ee(0x1,_0x560361[_0x5de549(0x37e)]),_0x216ee(0x2,_0x39304f['Inject'](_0x2abae2['DocStateChangeManagerService']))],_0xacb853);var _0x31e565=Object[_0x5de549(0x49f)],_0x523a3c=(_0x348d58,_0x4650b6,_0x5119a9,_0x47f61a)=>{const _0x5ec6a5=_0x5de549;for(var _0x6e6609=_0x47f61a>0x1?void 0x0:_0x47f61a?_0x31e565(_0x4650b6,_0x5119a9):_0x4650b6,_0x59d0df=_0x348d58[_0x5ec6a5(0x3b7)]-0x1,_0x2ad891;_0x59d0df>=0x0;_0x59d0df--)(_0x2ad891=_0x348d58[_0x59d0df])&&(_0x6e6609=_0x2ad891(_0x6e6609)||_0x6e6609);return _0x6e6609;},_0x70a35b=(_0x5b4eba,_0x42a892)=>(_0x187036,_0x26c230)=>_0x42a892(_0x187036,_0x26c230,_0x5b4eba);let _0x372ab3=class{constructor(_0x2477b5,_0x4e64cc){const _0x215a38=_0x5de549;this['_injector']=_0x2477b5,this[_0x215a38(0x403)]=_0x4e64cc;}[_0x5de549(0x33a)](_0x279231){const _0x4cc896=_0x5de549;var _0x4a012d;const _0x5b7d66=this[_0x4cc896(0x31d)][_0x4cc896(0x1c0)](_0x59af06[_0x4cc896(0x20c)]),_0x23f385=(_0x4a012d=_0x5b7d66['getDocRanges']())!=null?_0x4a012d:[];if(_0x23f385[_0x4cc896(0x3b7)]===0x0)return;const _0x4a8a0f=_0x279231[_0x4cc896(0x42f)],_0x4f0a48=[{'id':_0x4cc896(0x476),'params':{'unitId':_0x4a8a0f,'actions':null,'textRanges':_0x23f385}}],_0x49f637=this[_0x4cc896(0x403)]['transformMutationsWithChangeset'](_0x279231,_0x4f0a48);if(!_0x560361[_0x4cc896(0x2ce)](_0x49f637))throw _0x49f637['error'];const _0x24010c=_0x49f637[_0x4cc896(0x1e0)][0x0][_0x4cc896(0x448)][_0x4cc896(0x225)];Array[_0x4cc896(0x372)](_0x24010c)&&_0x24010c[_0x4cc896(0x3b7)]&&_0x5b7d66['replaceDocRanges'](_0x24010c,{'unitId':_0x4a8a0f,'subUnitId':_0x4a8a0f},!0x1);}};_0x372ab3=_0x523a3c([_0x70a35b(0x0,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x2bd)])),_0x70a35b(0x1,_0x560361[_0x5de549(0x37e)])],_0x372ab3);var _0x42e7e9=Object[_0x5de549(0x49f)],_0x1eb956=(_0x2f4774,_0x23a028,_0x284e45,_0x2ade7a)=>{const _0x514a23=_0x5de549;for(var _0x57d420=_0x2ade7a>0x1?void 0x0:_0x2ade7a?_0x42e7e9(_0x23a028,_0x284e45):_0x23a028,_0x26019d=_0x2f4774[_0x514a23(0x3b7)]-0x1,_0x29cd74;_0x26019d>=0x0;_0x26019d--)(_0x29cd74=_0x2f4774[_0x26019d])&&(_0x57d420=_0x29cd74(_0x57d420)||_0x57d420);return _0x57d420;},_0x23a64a=(_0x3e85bb,_0x439965)=>(_0x4c3a6f,_0x39596f)=>_0x439965(_0x4c3a6f,_0x39596f,_0x3e85bb);let _0x516750=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0xa203a5,_0x346642,_0xfd203f,_0x4ae842,_0x56b45b,_0x11cd3,_0x3d79de,_0x4a94bb){const _0x27f0ad=_0x5de549;super(),_0x41fabe(this,_0x27f0ad(0x2e8),new _0x404575[(_0x27f0ad(0x25b))](_0x3fe1f0[_0x27f0ad(0x329)]['NOT_COLLAB'])),(this[_0x27f0ad(0x3b1)]=_0xa203a5,this['_collaborationController']=_0x346642,this[_0x27f0ad(0x23e)]=_0xfd203f,this[_0x27f0ad(0x3e8)]=_0x4ae842,this['_docTransformSelectionsService']=_0x56b45b,this[_0x27f0ad(0x2ff)]=_0x11cd3,this['_messageService']=_0x3d79de,this['_localeService']=_0x4a94bb,this[_0x27f0ad(0x3cc)]());}[_0x5de549(0x3cc)](){const _0x10a33c=_0x5de549;this[_0x10a33c(0x24e)](this[_0x10a33c(0x1fd)][_0x10a33c(0x312)][_0x10a33c(0x38e)](_0x3445a6=>{const _0x4a5315=_0x10a33c,_0x15fce7=this['_docStateChangeManagerService'][_0x4a5315(0x30e)]['subscribe'](_0x5b8b55=>{const _0x47c270=_0x4a5315;if(_0x5b8b55==null)return;const {unitId:_0x471479,redoState:_0x20066d,commandId:_0x43a32a}=_0x5b8b55;if(_0x471479!==_0x3445a6[_0x47c270(0x42f)])return;const _0x47a486={'id':_0x43a32a,'type':_0x39304f[_0x47c270(0x208)][_0x47c270(0x397)],'params':{'unitId':_0x471479,'actions':_0x20066d[_0x47c270(0x42c)],'textRanges':null}};_0x3445a6[_0x47c270(0x1ea)](_0x47a486);});if(_0x3445a6[_0x4a5315(0x24e)](_0x15fce7),_0x3445a6 instanceof _0x3fe1f0[_0x4a5315(0x1ce)]){const _0x222696={'onTransformIME':_0x4d3723=>this[_0x4a5315(0x23e)][_0x4a5315(0x342)](_0x4d3723),'onTransformState':_0x6d6f9e=>this[_0x4a5315(0x3e8)][_0x4a5315(0x444)](_0x6d6f9e),'onTransformSelections':_0x3b1dae=>this['_docTransformSelectionsService'][_0x4a5315(0x33a)](_0x3b1dae),'onSyncEditingCollabCursor':_0x5cc744=>this['_docSyncEditingCollabCursorService'][_0x4a5315(0x3e0)](_0x5cc744),'onTransformRemoteChangesetByIMECache':_0x599616=>this['_docTransformIMECacheService'][_0x4a5315(0x46e)](_0x599616),'onTransformRemoteChangesetByStateCache':_0x4a3212=>this[_0x4a5315(0x3e8)][_0x4a5315(0x46e)](_0x4a3212)};_0x3445a6[_0x4a5315(0x3c9)](_0x222696);}}));}};_0x516750=_0x1eb956([_0x23a64a(0x0,_0x39304f[_0x5de549(0x356)](_0x2abae2[_0x5de549(0x48c)])),_0x23a64a(0x1,_0x39304f[_0x5de549(0x356)](_0x3fe1f0[_0x5de549(0x28d)])),_0x23a64a(0x2,_0x39304f['Inject'](_0x547126)),_0x23a64a(0x3,_0x39304f[_0x5de549(0x356)](_0xacb853)),_0x23a64a(0x4,_0x39304f[_0x5de549(0x356)](_0x372ab3)),_0x23a64a(0x5,_0x39304f['Inject'](_0x4c3a54)),_0x23a64a(0x6,_0x4c3b5c[_0x5de549(0x323)]),_0x23a64a(0x7,_0x39304f[_0x5de549(0x356)](_0x39304f['LocaleService']))],_0x516750);var _0x277c13=(_0xa63f82=>(_0xa63f82[_0xa63f82[_0x5de549(0x2ed)]=0x0]='UNDEFINED',_0xa63f82[_0xa63f82['OK']=0x1]='OK',_0xa63f82[_0xa63f82[_0x5de549(0x3a3)]=0x2]=_0x5de549(0x3a3),_0xa63f82[_0xa63f82[_0x5de549(0x43e)]=0x3]='PERMISSION_DENIED',_0xa63f82[_0xa63f82[_0x5de549(0x1bb)]=0x4]=_0x5de549(0x1bb),_0xa63f82[_0xa63f82[_0x5de549(0x306)]=0x5]=_0x5de549(0x306),_0xa63f82[_0xa63f82[_0x5de549(0x496)]=0x6]='ALREADY_EXISTS',_0xa63f82[_0xa63f82['INVALID_ARGUMENT']=0x7]=_0x5de549(0x3a2),_0xa63f82[_0xa63f82['TOO_MANY_REQUESTS']=0x8]=_0x5de549(0x331),_0xa63f82[_0xa63f82[_0x5de549(0x433)]=0x9]=_0x5de549(0x433),_0xa63f82[_0xa63f82['LOGIN_FAILED']=0xa]=_0x5de549(0x46d),_0xa63f82[_0xa63f82[_0x5de549(0x2da)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xa63f82[_0xa63f82[_0x5de549(0x1d1)]=0xc]=_0x5de549(0x1d1),_0xa63f82[_0xa63f82['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x5de549(0x270),_0xa63f82[_0xa63f82[_0x5de549(0x1f9)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xa63f82[_0xa63f82[_0x5de549(0x1d3)]=0xf]=_0x5de549(0x1d3),_0xa63f82[_0xa63f82[_0x5de549(0x324)]=0x10]=_0x5de549(0x324),_0xa63f82[_0xa63f82[_0x5de549(0x379)]=0x64]=_0x5de549(0x379),_0xa63f82[_0xa63f82[_0x5de549(0x1c1)]=0x65]='ERROR_AGAIN',_0xa63f82[_0xa63f82[_0x5de549(0x445)]=0xc9]=_0x5de549(0x445),_0xa63f82[_0xa63f82[_0x5de549(0x40b)]=0xca]=_0x5de549(0x40b),_0xa63f82[_0xa63f82[_0x5de549(0x45d)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xa63f82[_0xa63f82[_0x5de549(0x499)]=0x1771]=_0x5de549(0x499),_0xa63f82[_0xa63f82[_0x5de549(0x1ed)]=0x1772]=_0x5de549(0x1ed),_0xa63f82[_0xa63f82[_0x5de549(0x491)]=0x1773]=_0x5de549(0x491),_0xa63f82[_0xa63f82[_0x5de549(0x25a)]=0x1b59]='APPLY_REJECT',_0xa63f82[_0xa63f82[_0x5de549(0x3bc)]=0x1b5a]=_0x5de549(0x3bc),_0xa63f82[_0xa63f82[_0x5de549(0x258)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xa63f82[_0xa63f82[_0x5de549(0x23c)]=0x1b5c]=_0x5de549(0x23c),_0xa63f82[_0xa63f82[_0x5de549(0x407)]=0x1b5d]=_0x5de549(0x407),_0xa63f82[_0xa63f82[_0x5de549(0x3aa)]=0x1f41]=_0x5de549(0x3aa),_0xa63f82[_0xa63f82['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xa63f82[_0xa63f82[_0x5de549(0x4a4)]=0x232a]=_0x5de549(0x4a4),_0xa63f82[_0xa63f82[_0x5de549(0x429)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xa63f82[_0xa63f82[_0x5de549(0x246)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xa63f82[_0xa63f82[_0x5de549(0x1ff)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xa63f82[_0xa63f82[_0x5de549(0x2fc)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xa63f82[_0xa63f82[_0x5de549(0x386)]=0x2712]=_0x5de549(0x386),_0xa63f82[_0xa63f82[_0x5de549(0x37b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xa63f82[_0xa63f82[_0x5de549(0x447)]=0x2714]=_0x5de549(0x447),_0xa63f82[_0xa63f82[_0x5de549(0x1d9)]=0x271a]=_0x5de549(0x1d9),_0xa63f82[_0xa63f82[_0x5de549(0x244)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xa63f82[_0xa63f82['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xa63f82[_0xa63f82[_0x5de549(0x2f0)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xa63f82[_0xa63f82[_0x5de549(0x3af)]=0x271e]=_0x5de549(0x3af),_0xa63f82[_0xa63f82['YUUMI_AI_RUN_FAILED']=0x271f]=_0x5de549(0x471),_0xa63f82[_0xa63f82[_0x5de549(0x494)]=0x2720]=_0x5de549(0x494),_0xa63f82[_0xa63f82[_0x5de549(0x36e)]=0x2af9]=_0x5de549(0x36e),_0xa63f82[_0xa63f82['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xa63f82[_0xa63f82[_0x5de549(0x2fa)]=0x2ee2]='INVALID_INVITE_CODE',_0xa63f82[_0xa63f82['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5de549(0x235),_0xa63f82[_0xa63f82[_0x5de549(0x3c5)]=0x2ee4]=_0x5de549(0x3c5),_0xa63f82[_0xa63f82[_0x5de549(0x2ab)]=0x2ee5]=_0x5de549(0x2ab),_0xa63f82[_0xa63f82[_0x5de549(0x262)]=0x32c9]=_0x5de549(0x262),_0xa63f82[_0xa63f82[_0x5de549(0x3c2)]=0x32ca]=_0x5de549(0x3c2),_0xa63f82[_0xa63f82[_0x5de549(0x38c)]=0x32cb]=_0x5de549(0x38c),_0xa63f82[_0xa63f82[_0x5de549(0x209)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0xa63f82[_0xa63f82[_0x5de549(0x274)]=0x36b2]=_0x5de549(0x274),_0xa63f82[_0xa63f82[_0x5de549(0x35d)]=0x36b3]=_0x5de549(0x35d),_0xa63f82[_0xa63f82[_0x5de549(0x3a9)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xa63f82[_0xa63f82[_0x5de549(0x3ea)]=0x36b5]=_0x5de549(0x3ea),_0xa63f82[_0xa63f82[_0x5de549(0x35c)]=0x36b6]=_0x5de549(0x35c),_0xa63f82[_0xa63f82[_0x5de549(0x249)]=0x36b7]=_0x5de549(0x249),_0xa63f82[_0xa63f82[_0x5de549(0x2a7)]=0x36b8]=_0x5de549(0x2a7),_0xa63f82[_0xa63f82[_0x5de549(0x340)]=0x3715]=_0x5de549(0x340),_0xa63f82[_0xa63f82[_0x5de549(0x38b)]=0x3716]=_0x5de549(0x38b),_0xa63f82[_0xa63f82[_0x5de549(0x362)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xa63f82[_0xa63f82[_0x5de549(0x2b4)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0xa63f82[_0xa63f82[_0x5de549(0x3f6)]=0x3a99]=_0x5de549(0x3f6),_0xa63f82[_0xa63f82[_0x5de549(0x462)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0xa63f82[_0xa63f82[_0x5de549(0x39a)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0xa63f82[_0xa63f82[_0x5de549(0x279)]=0x3a9c]=_0x5de549(0x279),_0xa63f82[_0xa63f82['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x5de549(0x284),_0xa63f82[_0xa63f82[_0x5de549(0x1df)]=0x3a9e]=_0x5de549(0x1df),_0xa63f82[_0xa63f82[_0x5de549(0x22b)]=0x3a9f]=_0x5de549(0x22b),_0xa63f82[_0xa63f82[_0x5de549(0x408)]=0x3e81]=_0x5de549(0x408),_0xa63f82[_0xa63f82[_0x5de549(0x426)]=-0x1]=_0x5de549(0x426),_0xa63f82))(_0x277c13||{});function _0x204ffd(_0x1aeb0b){const _0x5f5d38=_0x5de549;var _0x5f1f09,_0x2d4e76;const _0x4b47dd=(_0x5f1f09=_0x1aeb0b[_0x5f5d38(0x41a)])==null?void 0x0:_0x5f1f09[_0x5f5d38(0x1be)],_0x5c2619=((_0x2d4e76=_0x1aeb0b['stageInfo'])==null?void 0x0:_0x2d4e76[_0x5f5d38(0x355)])||0x0;return _0x4b47dd===_0x284237[_0x5f5d38(0x3f3)][_0x5f5d38(0x3a6)]&&_0x5c2619>0x0;}function _0x2be4ae(_0x5dbe80){const _0x18ab4f=_0x5de549;return _0x5dbe80['functionsExecutedState']===_0x284237[_0x18ab4f(0x21c)][_0x18ab4f(0x248)];}var _0x412897=Object[_0x5de549(0x49f)],_0x11c584=(_0x34f1b4,_0x87d016,_0x20889c,_0x48923a)=>{const _0x45afe6=_0x5de549;for(var _0x275158=_0x48923a>0x1?void 0x0:_0x48923a?_0x412897(_0x87d016,_0x20889c):_0x87d016,_0x21f6e0=_0x34f1b4[_0x45afe6(0x3b7)]-0x1,_0x40de39;_0x21f6e0>=0x0;_0x21f6e0--)(_0x40de39=_0x34f1b4[_0x21f6e0])&&(_0x275158=_0x40de39(_0x275158)||_0x275158);return _0x275158;},_0x56ccd2=(_0x17a95f,_0x264b58)=>(_0x229b07,_0x401e57)=>_0x264b58(_0x229b07,_0x401e57,_0x17a95f);const _0xdbcb5d=_0x5de549(0x416),_0x342981=_0x5de549(0x1d4),_0x4fe584=_0x5de549(0x1d0);let _0x2bfa89=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0xc45c9a,_0x5a8e7e,_0x5c4015,_0x9bc080,_0x26c66f,_0x1862f8,_0x266bfe){const _0x13e764=_0x5de549;super(),_0x41fabe(this,_0x13e764(0x29f),null),_0x41fabe(this,_0x13e764(0x27c),0x0),_0x41fabe(this,_0x13e764(0x467),0x0),_0x41fabe(this,_0x13e764(0x215),[]),_0x41fabe(this,_0x13e764(0x411),0x0),(this['_messageService']=_0xc45c9a,this[_0x13e764(0x33e)]=_0x5a8e7e,this[_0x13e764(0x20f)]=_0x5c4015,this[_0x13e764(0x40f)]=_0x9bc080,this[_0x13e764(0x26e)]=_0x26c66f,this['_logService']=_0x1862f8,this[_0x13e764(0x3c1)]=_0x266bfe,this[_0x13e764(0x3cd)]());}['_initCommandInterceptor'](){const _0x4ae39c=_0x5de549;this[_0x4ae39c(0x24e)](this['_commandService'][_0x4ae39c(0x259)]((_0x5c38ab,_0x5308fb)=>{const _0x11e224=_0x4ae39c;var _0x18f9ea;if(_0x5c38ab['id']!==_0x284237[_0x11e224(0x1b0)]['id'])return;const _0x3c812b=_0x5c38ab[_0x11e224(0x448)];if(!this[_0x11e224(0x1e7)]((_0x18f9ea=_0x3c812b[_0x11e224(0x2d9)])!=null?_0x18f9ea:[]))return;if(!this['_checkCalculationAvailable']())throw this['_checkAndWaitForCalculationPermission'](_0x5c38ab,_0x5308fb),this['_showGuardMessage'](),new _0x39304f[(_0x11e224(0x358))]();})),this[_0x4ae39c(0x24e)](this[_0x4ae39c(0x33e)][_0x4ae39c(0x2fd)]((_0x2ebb2b,_0x3cba68)=>{const _0x94105d=_0x4ae39c;if(_0x2ebb2b['id']!==_0x284237[_0x94105d(0x29a)]['id'])return;const _0x460af8=_0x2ebb2b['params'];if(_0x204ffd(_0x460af8)){const _0x19c934=_0x39304f[_0x94105d(0x26d)]();this[_0x94105d(0x215)]['push'](_0x19c934),this['_startCalculationLimit'](_0x19c934);}else{if(_0x2be4ae(_0x460af8)&&this[_0x94105d(0x215)][_0x94105d(0x3b7)]>0x0){const _0x57f7db=this[_0x94105d(0x215)]['shift']();this[_0x94105d(0x1f2)](_0x57f7db);}}}));}[_0x5de549(0x2c3)](){const _0x36d0b2=_0x5de549;super[_0x36d0b2(0x2c3)](),this['_clearPolling'](),this[_0x36d0b2(0x215)]=[],this['_currentUsage']=0x0,this[_0x36d0b2(0x27c)]=0x0,this[_0x36d0b2(0x411)]=0x0;}async[_0x5de549(0x28c)](_0x11193a,_0x4c158e){const _0x5b8513=_0x5de549;for(let _0x59a0a5=0x0;_0x59a0a5<0x1e;_0x59a0a5++)try{if(await this[_0x5b8513(0x341)](),this[_0x5b8513(0x44e)]()){this[_0x5b8513(0x227)](_0x11193a,_0x4c158e),this[_0x5b8513(0x22d)]['show']({'content':this[_0x5b8513(0x3c1)]['t'](_0x5b8513(0x3db)),'type':_0x31598f[_0x5b8513(0x242)][_0x5b8513(0x2bb)]});return;}await new Promise(_0x4a44ed=>{const _0x13a0c0=_0x5b8513;this[_0x13a0c0(0x29f)]=window['setTimeout'](_0x4a44ed,0x3e8);});}catch(_0x3ff704){this['_logService'][_0x5b8513(0x2ee)](_0x3ff704);}this[_0x5b8513(0x22d)][_0x5b8513(0x38d)]({'content':this[_0x5b8513(0x3c1)]['t'](_0x5b8513(0x1e2)),'type':_0x31598f[_0x5b8513(0x242)][_0x5b8513(0x385)]});}[_0x5de549(0x227)](_0x355d39,_0x32122a){const _0x1a302c=_0x5de549;try{this[_0x1a302c(0x33e)][_0x1a302c(0x275)](_0x355d39['id'],_0x355d39['params'],_0x32122a);}catch(_0x5673ae){this['_logService']['error'](_0x5673ae);}}[_0x5de549(0x314)](_0x4c56e0,_0x40933b){const _0x2f7308=_0x5de549;_0x40933b<this[_0x2f7308(0x411)]||(this[_0x2f7308(0x411)]=_0x40933b,this[_0x2f7308(0x27c)]=Number[_0x2f7308(0x435)](_0x4c56e0[_0x2f7308(0x44c)]),this['_currentUsage']=Number['parseInt'](_0x4c56e0[_0x2f7308(0x273)]));}async['_startCalculationLimit'](_0x360c93){const _0x38a34d=_0x5de549;var _0x1523eb,_0x114b81;const _0x36d26c=Date[_0x38a34d(0x48e)]();try{const _0x375feb=((_0x1523eb=this[_0x38a34d(0x20f)][_0x38a34d(0x47f)](_0x3fe1f0[_0x38a34d(0x4a3)]))==null?void 0x0:_0x1523eb['startFormulaLimitUrl'])||_0x342981,_0xb7f446=(await this[_0x38a34d(0x40f)][_0x38a34d(0x2b8)](_0x375feb,{'body':JSON[_0x38a34d(0x230)]({'taskId':_0x360c93})}))[_0x38a34d(0x20e)];if(((_0x114b81=_0xb7f446['error'])==null?void 0x0:_0x114b81[_0x38a34d(0x36c)])!==_0x277c13['OK'])return;this[_0x38a34d(0x314)](_0xb7f446[_0x38a34d(0x353)],_0x36d26c);}catch(_0x4faa4f){this[_0x38a34d(0x43a)][_0x38a34d(0x2ee)](_0x4faa4f);}}async[_0x5de549(0x341)](_0x459a7a){const _0x55499b=_0x5de549;var _0x36c0d9,_0x394628;const _0x43f0f6=Date[_0x55499b(0x48e)]();try{const _0x2d7397=((_0x36c0d9=this['_configService']['getConfig'](_0x3fe1f0['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x36c0d9[_0x55499b(0x2ae)])||_0xdbcb5d,_0x4c147a=_0x459a7a?_0x2d7397+_0x55499b(0x29d)+encodeURIComponent(_0x459a7a):_0x2d7397,_0x51ba83=(await this[_0x55499b(0x40f)][_0x55499b(0x1c0)](_0x4c147a))['body'];if(((_0x394628=_0x51ba83['error'])==null?void 0x0:_0x394628['code'])!==_0x277c13['OK'])return;this[_0x55499b(0x314)](_0x51ba83['limitInfo'],_0x43f0f6);}catch(_0x3530c4){this[_0x55499b(0x43a)]['error'](_0x3530c4);}}async[_0x5de549(0x1f2)](_0x49b644){const _0x354f67=_0x5de549;var _0x353367,_0x4f4024;const _0x46a5c5=Date['now']();try{const _0x30c98e=((_0x353367=this[_0x354f67(0x20f)]['getConfig'](_0x3fe1f0[_0x354f67(0x4a3)]))==null?void 0x0:_0x353367[_0x354f67(0x223)])||_0x4fe584,_0x4a6b7a=(await this[_0x354f67(0x40f)]['post'](_0x30c98e,{'body':JSON[_0x354f67(0x230)]({'taskId':_0x49b644})}))[_0x354f67(0x20e)];if(((_0x4f4024=_0x4a6b7a[_0x354f67(0x2ee)])==null?void 0x0:_0x4f4024[_0x354f67(0x36c)])!==_0x277c13['OK'])return;this[_0x354f67(0x314)](_0x4a6b7a[_0x354f67(0x353)],_0x46a5c5);}catch(_0x23d8e4){this[_0x354f67(0x43a)]['error'](_0x23d8e4);}}[_0x5de549(0x44e)](){const _0x2eb8da=_0x5de549;return this[_0x2eb8da(0x27c)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}[_0x5de549(0x2bf)](){const _0x58d377=_0x5de549;this[_0x58d377(0x29f)]&&(clearTimeout(this['_pollingInterval']),this[_0x58d377(0x29f)]=null);}['_showGuardMessage'](){const _0x15b792=_0x5de549;this[_0x15b792(0x22d)][_0x15b792(0x38d)]({'content':this[_0x15b792(0x3c1)]['t'](_0x15b792(0x2ea)),'type':_0x31598f[_0x15b792(0x242)][_0x15b792(0x299)]});}[_0x5de549(0x1e7)](_0x59bac8){const _0x21cc59=_0x5de549;for(const _0x336633 of _0x59bac8){const {unitId:_0x2e15d4,sheetId:_0x36ec57,range:_0x335d5c}=_0x336633,_0x53da8e=this[_0x21cc59(0x26e)]['getUnit'](_0x2e15d4);if(!_0x53da8e)continue;const _0x4de68f=_0x53da8e[_0x21cc59(0x296)](_0x36ec57);if(!_0x4de68f)continue;const _0x1a79af=_0x4de68f[_0x21cc59(0x1f0)]();for(let _0x1894dd=_0x335d5c[_0x21cc59(0x1a7)];_0x1894dd<=_0x335d5c['endRow'];_0x1894dd++)for(let _0x2c7713=_0x335d5c[_0x21cc59(0x286)];_0x2c7713<=_0x335d5c[_0x21cc59(0x305)];_0x2c7713++){const _0x54b125=_0x1a79af[_0x21cc59(0x3fc)](_0x1894dd,_0x2c7713);if(_0x54b125&&(_0x39304f[_0x21cc59(0x37f)](_0x54b125['f'])||_0x39304f[_0x21cc59(0x43c)](_0x54b125['si'])))return!0x0;}}return!0x1;}};_0x2bfa89=_0x11c584([_0x56ccd2(0x0,_0x39304f[_0x5de549(0x356)](_0x4c3b5c[_0x5de549(0x323)])),_0x56ccd2(0x1,_0x39304f[_0x5de549(0x3bf)]),_0x56ccd2(0x2,_0x39304f[_0x5de549(0x205)]),_0x56ccd2(0x3,_0x39304f[_0x5de549(0x356)](_0x4e0fb2[_0x5de549(0x469)])),_0x56ccd2(0x4,_0x39304f[_0x5de549(0x2cc)]),_0x56ccd2(0x5,_0x39304f[_0x5de549(0x25e)]),_0x56ccd2(0x6,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x3f4)]))],_0x2bfa89);var _0x74e318=Object[_0x5de549(0x49f)],_0x4d192b=(_0x29401a,_0xe9a37f,_0x1c8c03,_0x16e567)=>{const _0x50a798=_0x5de549;for(var _0x276cec=_0x16e567>0x1?void 0x0:_0x16e567?_0x74e318(_0xe9a37f,_0x1c8c03):_0xe9a37f,_0x51dbb0=_0x29401a[_0x50a798(0x3b7)]-0x1,_0x19ff64;_0x51dbb0>=0x0;_0x51dbb0--)(_0x19ff64=_0x29401a[_0x51dbb0])&&(_0x276cec=_0x19ff64(_0x276cec)||_0x276cec);return _0x276cec;},_0x226814=(_0x243898,_0x35dc32)=>(_0x26824d,_0x267ea1)=>_0x35dc32(_0x26824d,_0x267ea1,_0x243898);let _0x1e23b0=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x53ae89,_0x30eed9,_0x7dbf61){const _0x40c75f=_0x5de549;super(),_0x41fabe(this,_0x40c75f(0x2df),new Map()),_0x41fabe(this,_0x40c75f(0x288),new Map()),_0x41fabe(this,'_disabled',!0x1),(this[_0x40c75f(0x20f)]=_0x53ae89,this[_0x40c75f(0x310)]=_0x30eed9,this['_revisionService']=_0x7dbf61);}[_0x5de549(0x42a)](){this['_disabled']=!0x0;}[_0x5de549(0x41c)](){const _0x379fb2=_0x5de549;this[_0x379fb2(0x1d6)]=!0x1;}get[_0x5de549(0x32c)](){const _0x3c8e27=_0x5de549;return this[_0x3c8e27(0x288)];}['dispose'](){const _0x3a3ac2=_0x5de549;this[_0x3a3ac2(0x34b)]()[_0x3a3ac2(0x2f8)](()=>super['dispose']());}async[_0x5de549(0x43b)](_0xa6dd78){const _0x5e49f8=_0x5de549;return this['_disabled']?null:this[_0x5e49f8(0x310)]['getItem'](_0x3fe1f0[_0x5e49f8(0x357)](_0xa6dd78));}async[_0x5de549(0x32f)](_0x15f1e6,_0x3e06a5){const _0x2adad1=_0x5de549;return!!this[_0x2adad1(0x310)][_0x2adad1(0x3ca)](_0x15f1e6,_0x3e06a5);}[_0x5de549(0x378)](_0x28549c,_0x303503,_0x27b3bc,_0x3914ae){const _0x2dcf15=_0x5de549,_0x217b03=this[_0x2dcf15(0x48b)][_0x2dcf15(0x303)](_0x28549c);this[_0x2dcf15(0x2df)]['set'](_0x28549c,{'unitID':_0x28549c,'type':_0x303503,'awaitingChangeset':_0x27b3bc,'mutations':_0x3914ae,'rev':_0x217b03}),this[_0x2dcf15(0x288)][_0x2dcf15(0x3f7)](_0x28549c)||this[_0x2dcf15(0x266)](_0x28549c);}[_0x5de549(0x266)](_0x42d18f){const _0x4c6d06=_0x5de549,_0x116b92=this[_0x4c6d06(0x294)]();_0x116b92===0x0?this[_0x4c6d06(0x34a)](_0x42d18f):this[_0x4c6d06(0x288)][_0x4c6d06(0x361)](_0x42d18f,setTimeout(()=>this['_saveCache'](_0x42d18f),_0x116b92));}[_0x5de549(0x294)](){const _0x4afe10=_0x5de549;var _0x2ad5df;return(_0x2ad5df=this[_0x4afe10(0x20f)][_0x4afe10(0x47f)](_0x3fe1f0[_0x4afe10(0x459)]))!=null?_0x2ad5df:_0x3fe1f0['LOCAL_CACHE_INTERVAL'];}[_0x5de549(0x34a)](_0x42be44){const _0x464e42=_0x5de549,_0x3c4ec2=this[_0x464e42(0x288)][_0x464e42(0x1c0)](_0x42be44);return _0x3c4ec2!==void 0x0&&window[_0x464e42(0x3e9)](_0x3c4ec2),this['_localStorageService'][_0x464e42(0x3ca)](_0x3fe1f0[_0x464e42(0x357)](_0x42be44),this[_0x464e42(0x2df)]['get'](_0x42be44))[_0x464e42(0x2f8)](()=>this[_0x464e42(0x288)]['delete'](_0x42be44));}async[_0x5de549(0x34b)](){const _0x3dda55=_0x5de549,_0x4db39a=[];this[_0x3dda55(0x288)][_0x3dda55(0x22a)]((_0x8fe20c,_0x3036df)=>{const _0x5539d0=_0x3dda55;window[_0x5539d0(0x3e9)](_0x8fe20c),_0x4db39a[_0x5539d0(0x44d)](this[_0x5539d0(0x34a)](_0x3036df)[_0x5539d0(0x2f8)](()=>{const _0x353b52=_0x5539d0;this[_0x353b52(0x288)][_0x353b52(0x421)](_0x3036df);}));}),await Promise[_0x3dda55(0x22e)](_0x4db39a);}};_0x1e23b0=_0x4d192b([_0x226814(0x0,_0x39304f[_0x5de549(0x205)]),_0x226814(0x1,_0x39304f[_0x5de549(0x1f1)]),_0x226814(0x2,_0x39304f['Inject'](_0x560361[_0x5de549(0x458)]))],_0x1e23b0);class _0x12ecfd extends _0x39304f[_0x5de549(0x423)]{constructor(){const _0x8ad5c4=_0x5de549;super(),_0x41fabe(this,_0x8ad5c4(0x322)),this['urlChange$']=_0x404575[_0x8ad5c4(0x2de)](window,_0x8ad5c4(0x3cf))[_0x8ad5c4(0x498)](_0x404575['takeUntil'](this[_0x8ad5c4(0x241)]),_0x404575['shareReplay'](0x1),_0x404575['mapTo'](void 0x0));}[_0x5de549(0x374)](_0x260e80,_0x5bbeac,_0x5ac81b=!0x1){const _0x23a40d=_0x5de549,_0x4f0936=new URL(window['location'][_0x23a40d(0x25d)]);_0x4f0936[_0x23a40d(0x3ce)][_0x23a40d(0x361)](_0x260e80,_0x5bbeac),_0x5ac81b?window[_0x23a40d(0x3be)][_0x23a40d(0x27e)]('','',_0x4f0936[_0x23a40d(0x492)]()):window['history'][_0x23a40d(0x3d0)]('','',_0x4f0936[_0x23a40d(0x492)]());}[_0x5de549(0x2b0)](_0x29f086,_0x1c05bc=!0x1){const _0x337c7c=_0x5de549,_0x5e228f=new URL(window['location'][_0x337c7c(0x25d)]);_0x5e228f[_0x337c7c(0x3ce)][_0x337c7c(0x421)](_0x29f086),_0x1c05bc?window[_0x337c7c(0x3be)][_0x337c7c(0x27e)]('','',_0x5e228f[_0x337c7c(0x492)]()):window['history']['pushState']('','',_0x5e228f['toString']());}[_0x5de549(0x350)](_0x59356f){const _0x535fde=_0x5de549;var _0x4fb76a;return(_0x4fb76a=new URL(window[_0x535fde(0x457)][_0x535fde(0x25d)])[_0x535fde(0x3ce)][_0x535fde(0x1c0)](_0x59356f))!=null?_0x4fb76a:void 0x0;}}var _0x393bbe=Object['defineProperty'],_0x5fc207=Object[_0x5de549(0x49f)],_0x3adff3=(_0x4b5892,_0x50c80b,_0xfaae4f)=>_0x50c80b in _0x4b5892?_0x393bbe(_0x4b5892,_0x50c80b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfaae4f}):_0x4b5892[_0x50c80b]=_0xfaae4f,_0x53693c=(_0x1aa74c,_0x34dbf7,_0xc7596e,_0x5bfe0f)=>{const _0x44c64a=_0x5de549;for(var _0x56ef79=_0x5bfe0f>0x1?void 0x0:_0x5bfe0f?_0x5fc207(_0x34dbf7,_0xc7596e):_0x34dbf7,_0x28b8fb=_0x1aa74c[_0x44c64a(0x3b7)]-0x1,_0x56626a;_0x28b8fb>=0x0;_0x28b8fb--)(_0x56626a=_0x1aa74c[_0x28b8fb])&&(_0x56ef79=_0x56626a(_0x56ef79)||_0x56ef79);return _0x56ef79;},_0x13208c=(_0x38cded,_0x35fbe9)=>(_0x184873,_0x21a03e)=>_0x35fbe9(_0x184873,_0x21a03e,_0x38cded),_0x4c9030=(_0x2b51a4,_0x345a2f,_0x4596cf)=>_0x3adff3(_0x2b51a4,_0x345a2f+'',_0x4596cf);const _0x1dade5=_0x5de549(0x267);_0x44b1a7['UniverCollaborationClientUIPlugin']=class extends _0x39304f[_0x5de549(0x41d)]{constructor(_0x4ff6f7=_0x469697,_0x11c5b3,_0x3b87c3,_0xace2cd){const _0x2c1a5f=_0x5de549;super(),this[_0x2c1a5f(0x2cb)]=_0x4ff6f7,this[_0x2c1a5f(0x349)]=_0x11c5b3,this[_0x2c1a5f(0x31d)]=_0x3b87c3,this[_0x2c1a5f(0x20f)]=_0xace2cd;const {..._0x3e1a9a}=_0x39304f[_0x2c1a5f(0x394)]({},_0x469697,this[_0x2c1a5f(0x2cb)]);this[_0x2c1a5f(0x20f)]['setConfig'](_0x13b4e5,_0x3e1a9a);}[_0x5de549(0x3ef)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x5de549(0x238)](){this['_registerRenderDependencies']();}[_0x5de549(0x1ac)](){const _0x2fa01c=_0x5de549;var _0x1eef1a;const _0x54a336=[[_0x34f587],[_0x2bfa89],[_0x372ab3],[_0x547126],[_0xacb853],[_0x4c3a54],[_0x4d8922,{'useClass':_0x12ecfd}],[_0x4e0fb2[_0x2fa01c(0x43f)],{'useClass':_0x4e0fb2[_0x2fa01c(0x236)]}],[_0x3fe1f0[_0x2fa01c(0x443)],{'useClass':_0x1e23b0}],[_0x44b1a7[_0x2fa01c(0x319)]],[_0x516750],[_0x261734],[_0x1af4cc],[_0x171e0f],[_0x44b1a7[_0x2fa01c(0x315)]]];this['_config'][_0x2fa01c(0x455)]&&_0x54a336['push']([_0x33fdc9]),_0x39304f[_0x2fa01c(0x1c4)](this['_injector'],_0x39304f[_0x2fa01c(0x1fa)](_0x54a336,(_0x1eef1a=this[_0x2fa01c(0x2cb)])==null?void 0x0:_0x1eef1a[_0x2fa01c(0x1a8)]));}[_0x5de549(0x398)](){const _0x1d16a1=_0x5de549;this['disposeWithMe'](this[_0x1d16a1(0x349)][_0x1d16a1(0x390)](_0x39304f[_0x1d16a1(0x1cf)][_0x1d16a1(0x418)],[_0x43034b])),this[_0x1d16a1(0x24e)](this[_0x1d16a1(0x349)][_0x1d16a1(0x390)](_0x39304f[_0x1d16a1(0x1cf)][_0x1d16a1(0x211)],[_0x338784]));}[_0x5de549(0x1f4)](){const _0x2555f0=_0x5de549;_0x39304f[_0x2555f0(0x452)](this[_0x2555f0(0x31d)],[[_0x1af4cc],[_0x44b1a7[_0x2555f0(0x319)]],[_0x516750],[_0x261734],[_0x44b1a7[_0x2555f0(0x315)]],[_0x2bfa89]]),this['_config'][_0x2555f0(0x455)]&&_0x39304f['touchDependencies'](this[_0x2555f0(0x31d)],[[_0x33fdc9]]);}},_0x4c9030(_0x44b1a7['UniverCollaborationClientUIPlugin'],'pluginName',_0x1dade5),_0x44b1a7[_0x5de549(0x21b)]=_0x53693c([_0x39304f[_0x5de549(0x3e1)](_0x3fe1f0[_0x5de549(0x1ab)]),_0x13208c(0x1,_0x46a3bd[_0x5de549(0x334)]),_0x13208c(0x2,_0x39304f[_0x5de549(0x356)](_0x39304f[_0x5de549(0x2bd)])),_0x13208c(0x3,_0x39304f[_0x5de549(0x205)])],_0x44b1a7[_0x5de549(0x21b)]);var _0xc03d57=Object[_0x5de549(0x49f)],_0x1b004e=(_0x3df999,_0x5d5603,_0x25f6bb,_0x4ccd40)=>{for(var _0xfa5ea5=_0x4ccd40>0x1?void 0x0:_0x4ccd40?_0xc03d57(_0x5d5603,_0x25f6bb):_0x5d5603,_0x30cae6=_0x3df999['length']-0x1,_0x1dbfe6;_0x30cae6>=0x0;_0x30cae6--)(_0x1dbfe6=_0x3df999[_0x30cae6])&&(_0xfa5ea5=_0x1dbfe6(_0xfa5ea5)||_0xfa5ea5);return _0xfa5ea5;},_0x3ee60e=(_0x217cb7,_0x14f25e)=>(_0x5c2b3e,_0x31fa64)=>_0x14f25e(_0x5c2b3e,_0x31fa64,_0x217cb7);_0x44b1a7['BrowserCollaborationSocketService']=class extends _0x3fe1f0['CollaborationSocketService']{constructor(_0x355588,_0x5ef208,_0x30a48a,_0x12a4e8,_0x10b2bd){super(_0x355588,_0x5ef208,_0x30a48a,_0x12a4e8,_0x10b2bd);}async[_0x5de549(0x1c8)](_0x519145){const _0x12df93=_0x5de549,_0x5347c1=await this['_getSessionTicket'](),_0x582d17=this[_0x12df93(0x3a7)](_0x519145,_0x5347c1);return this[_0x12df93(0x1f5)](_0x582d17);}['_createSocketURL'](_0xbc9b45,_0x5ade35){const _0x546c21=_0x5de549,_0x2f90a0=typeof window>'u'?new URL(_0xbc9b45):new URL(_0xbc9b45,window[_0x546c21(0x457)]['origin']);_0x2f90a0[_0x546c21(0x3ce)]['set'](_0x546c21(0x1ee),_0x5ade35);const _0x408a83=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x546c21(0x48d)]);return _0x408a83[_0x546c21(0x1c0)](_0x546c21(0x428))&&_0x2f90a0[_0x546c21(0x3ce)][_0x546c21(0x361)](_0x546c21(0x428),_0x408a83[_0x546c21(0x1c0)](_0x546c21(0x428))),_0x2f90a0['toString']();}async[_0x5de549(0x2bc)](){const _0x487afd=_0x5de549;var _0x2d2241,_0x4de4fc,_0x4cb55c;const _0x3b8ae0=this[_0x487afd(0x20f)][_0x487afd(0x47f)](_0x3fe1f0['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x283e1d=(_0x2d2241=_0x3b8ae0==null?void 0x0:_0x3b8ae0['wsSessionTicketUrl'])!=null?_0x2d2241:_0x3fe1f0[_0x487afd(0x1f7)];return(_0x4cb55c=(_0x4de4fc=(await this[_0x487afd(0x40f)][_0x487afd(0x1c0)](_0x283e1d,{'headers':{'Content-Type':_0x487afd(0x466)}}))[_0x487afd(0x20e)])==null?void 0x0:_0x4de4fc['ticket'])!=null?_0x4cb55c:'';}},_0x44b1a7['BrowserCollaborationSocketService']=_0x1b004e([_0x3ee60e(0x0,_0x39304f['Inject'](_0x39304f['Injector'])),_0x3ee60e(0x1,_0x39304f[_0x5de549(0x356)](_0x4e0fb2[_0x5de549(0x469)])),_0x3ee60e(0x2,_0x39304f['IConfigService']),_0x3ee60e(0x3,_0x39304f[_0x5de549(0x25e)]),_0x3ee60e(0x4,_0x560361[_0x5de549(0x4a8)])],_0x44b1a7[_0x5de549(0x3dc)]);var _0x596e83=Object[_0x5de549(0x49f)],_0xe44d28=(_0x531ff5,_0x2dac1b,_0x4d96ec,_0x52ec5e)=>{const _0x52d9e3=_0x5de549;for(var _0x4aae2f=_0x52ec5e>0x1?void 0x0:_0x52ec5e?_0x596e83(_0x2dac1b,_0x4d96ec):_0x2dac1b,_0x27e07e=_0x531ff5[_0x52d9e3(0x3b7)]-0x1,_0x4014d1;_0x27e07e>=0x0;_0x27e07e--)(_0x4014d1=_0x531ff5[_0x27e07e])&&(_0x4aae2f=_0x4014d1(_0x4aae2f)||_0x4aae2f);return _0x4aae2f;},_0x2b5778=(_0x225c71,_0x518d67)=>(_0x45ba7b,_0x28f9cd)=>_0x518d67(_0x45ba7b,_0x28f9cd,_0x225c71);_0x44b1a7[_0x5de549(0x446)]=class extends _0x39304f[_0x5de549(0x1ba)]{constructor(_0x1694d9,_0x36112b,_0x536998){const _0x509258=_0x5de549;super(),this['_instanceService']=_0x1694d9,this[_0x509258(0x40f)]=_0x36112b,this[_0x509258(0x20f)]=_0x536998;}async[_0x5de549(0x395)](_0x2addc0,_0x16ee4c,_0x302d1b,..._0x53ef91){const _0x3d8e43=_0x5de549;var _0xe08d3d,_0x12e47d,_0x53d692,_0x285287;const _0x48e4c2=this['_instanceService'][_0x3d8e43(0x3ae)]();if(!_0x48e4c2)throw new Error(_0x3d8e43(0x49d));const _0x4ceca7=((_0xe08d3d=this[_0x3d8e43(0x20f)][_0x3d8e43(0x47f)](_0x3fe1f0['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0xe08d3d:_0x3fe1f0['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2addc0+_0x3d8e43(0x2a4)+_0x16ee4c,_0x19e7e3=new URL(window['location']['href']),_0x4abfb9={'scriptId':_0x2addc0,'runId':(_0x12e47d=_0x19e7e3[_0x3d8e43(0x3ce)][_0x3d8e43(0x1c0)](_0x3d8e43(0x428)))!=null?_0x12e47d:'','function':_0x16ee4c,'unitId':_0x48e4c2[_0x3d8e43(0x41e)](),'argsOfFunction':JSON['stringify'](_0x53ef91),'invokeId':(_0x53d692=_0x302d1b[_0x3d8e43(0x49c)])!=null?_0x53d692:'','executionId':(_0x285287=_0x302d1b[_0x3d8e43(0x3b5)])!=null?_0x285287:''};try{const _0x318230=await this[_0x3d8e43(0x40f)][_0x3d8e43(0x2b8)](_0x4ceca7,{'body':_0x4abfb9});return _0x318230['body']['error']&&_0x318230[_0x3d8e43(0x20e)][_0x3d8e43(0x2ee)]['code']!==_0x277c13['OK']?'Failed':_0x318230['body'][_0x3d8e43(0x3e5)];}catch{return'Failed';}}},_0x44b1a7['RemoteUniscriptService']=_0xe44d28([_0x2b5778(0x0,_0x39304f[_0x5de549(0x2cc)]),_0x2b5778(0x1,_0x39304f[_0x5de549(0x356)](_0x4e0fb2['HTTPService'])),_0x2b5778(0x2,_0x39304f[_0x5de549(0x205)])],_0x44b1a7[_0x5de549(0x446)]);const _0x13780e=0x7530,_0x3e2726=_0x5de549(0x1f8);class _0x55eb3c extends _0x39304f[_0x5de549(0x1ba)]{constructor(){const _0x46c6b3=_0x5de549;super(),_0x41fabe(this,_0x46c6b3(0x2c8),_0x39304f[_0x46c6b3(0x26d)]()),_0x41fabe(this,_0x46c6b3(0x39f),new Set()),_0x41fabe(this,_0x46c6b3(0x437),new Map()),_0x41fabe(this,_0x46c6b3(0x3f8),null),_0x41fabe(this,_0x46c6b3(0x2eb),new Map()),_0x41fabe(this,'_unitStatus',new Map()),this['_init']();}[_0x5de549(0x2c3)](){const _0x44108d=_0x5de549;super[_0x44108d(0x2c3)](),this[_0x44108d(0x2eb)][_0x44108d(0x22a)]((_0x298182,_0x4ce0b5)=>this[_0x44108d(0x26b)](_0x4ce0b5)),this[_0x44108d(0x3f8)]&&window[_0x44108d(0x24d)](this[_0x44108d(0x3f8)]);}[_0x5de549(0x332)](_0x461314){const _0x1d7467=_0x5de549;return this[_0x1d7467(0x32a)](_0x461314)[_0x1d7467(0x498)](_0x404575[_0x1d7467(0x393)]());}[_0x5de549(0x42b)](_0x303a47){const _0x1aa934=_0x5de549;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x1aa934(0x26c)](_0x303a47),this[_0x1aa934(0x373)]({'type':0x0,'memberID':this[_0x1aa934(0x2c8)],'unitIDs':[_0x303a47],'isForwarded':!0x1});}['disposeUnit'](_0x2182bb){const _0x47ca30=_0x5de549;this[_0x47ca30(0x39f)][_0x47ca30(0x421)](_0x2182bb),this['_selfUnitIDs'][_0x47ca30(0x1ae)]===0x0&&this[_0x47ca30(0x3f8)]&&window['clearInterval'](this[_0x47ca30(0x3f8)]);}[_0x5de549(0x48f)](){const _0x161035=_0x5de549;this['disposeWithMe'](_0x39304f[_0x161035(0x391)](_0x404575[_0x161035(0x2de)](window,_0x161035(0x3dd))['subscribe'](_0x2e1448=>{const _0x586850=_0x161035;if(_0x2e1448[_0x586850(0x1aa)]!==_0x3e2726||!_0x2e1448[_0x586850(0x32b)])return;const _0x11d679=JSON[_0x586850(0x48a)](_0x2e1448['newValue']);this[_0x586850(0x495)](_0x11d679);}))),window[_0x161035(0x34d)](_0x161035(0x226),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x161035(0x1bf)](this[_0x161035(0x39f)])}));}[_0x5de549(0x495)](_0x20dfc4){const _0x53e8eb=_0x5de549;switch(_0x20dfc4['type']){case 0x0:this[_0x53e8eb(0x36b)](_0x20dfc4);break;case 0x1:this[_0x53e8eb(0x347)](_0x20dfc4);break;case 0x2:this[_0x53e8eb(0x32d)](_0x20dfc4);break;}}[_0x5de549(0x36b)](_0x28512c){const _0x3fc83a=_0x5de549,{unitIDs:_0x3f2d64,memberID:_0x3d4b1f,isForwarded:_0x3d43ef}=_0x28512c;_0x3f2d64[_0x3fc83a(0x22a)](_0x17cdea=>{const _0x14bf4a=_0x3fc83a;if(!_0x3d43ef&&this[_0x14bf4a(0x437)][_0x14bf4a(0x3f7)](_0x17cdea)&&this[_0x14bf4a(0x32a)](_0x17cdea)[_0x14bf4a(0x345)](_0x3fe1f0[_0x14bf4a(0x1e8)][_0x14bf4a(0x237)]),!this[_0x14bf4a(0x437)][_0x14bf4a(0x3f7)](_0x17cdea)||!this[_0x14bf4a(0x437)][_0x14bf4a(0x1c0)](_0x17cdea)['has'](_0x3d4b1f)){const _0x3355ab=this[_0x14bf4a(0x437)][_0x14bf4a(0x1c0)](_0x17cdea)||new Set();_0x3355ab[_0x14bf4a(0x26c)](_0x3d4b1f),this[_0x14bf4a(0x437)][_0x14bf4a(0x361)](_0x17cdea,_0x3355ab),this['_scheduleClearOtherTimer'](_0x3d4b1f);}}),_0x3d43ef||this[_0x3fc83a(0x373)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3fc83a(0x39f)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x275457){const _0xd48f44=_0x5de549;this[_0xd48f44(0x26b)](_0x275457);const _0x75ff0b=window[_0xd48f44(0x338)](()=>{const _0x178dd7=_0xd48f44;this[_0x178dd7(0x437)][_0x178dd7(0x22a)](_0x1c34c5=>{_0x1c34c5['delete'](_0x275457);});},_0x13780e*0x2);this['_clearOtherTimers'][_0xd48f44(0x361)](_0x275457,_0x75ff0b);}[_0x5de549(0x26b)](_0x3f8741){const _0x12bb70=_0x5de549;if(this[_0x12bb70(0x2eb)][_0x12bb70(0x3f7)](_0x3f8741)){const _0x34a8e3=this['_clearOtherTimers']['get'](_0x3f8741);_0x34a8e3&&window[_0x12bb70(0x3e9)](_0x34a8e3),this[_0x12bb70(0x2eb)][_0x12bb70(0x361)](_0x3f8741,null);}}[_0x5de549(0x347)](_0xaa8649){const _0x578c32=_0x5de549,{memberID:_0x2f97ec,unitIDs:_0x178157}=_0xaa8649;_0x178157['forEach'](_0x577486=>{const _0x5702f4=_0x48a1;var _0x55b5c4;const _0x296cd4=this['_unitOnClients'][_0x5702f4(0x1c0)](_0x577486);_0x296cd4&&(_0x296cd4[_0x5702f4(0x421)](_0x2f97ec),(_0x55b5c4=this[_0x5702f4(0x32a)](_0x577486))==null||_0x55b5c4[_0x5702f4(0x345)](_0x296cd4['size']===0x0?_0x3fe1f0['UnitStatus'][_0x5702f4(0x449)]:_0x3fe1f0['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x578c32(0x26b)](_0x2f97ec);}[_0x5de549(0x32d)](_0x3f05f4){const _0x20f25b=_0x5de549;this[_0x20f25b(0x2d8)](_0x3f05f4[_0x20f25b(0x210)]);}[_0x5de549(0x373)](_0x5a0ca5){localStorage['setItem'](_0x3e2726,JSON['stringify'](_0x5a0ca5));}[_0x5de549(0x41b)](){const _0x206322=_0x5de549;this[_0x206322(0x3f8)]=window[_0x206322(0x37c)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x13780e);}[_0x5de549(0x32a)](_0x531b08){const _0x291cd1=_0x5de549;return this[_0x291cd1(0x1a9)][_0x291cd1(0x3f7)](_0x531b08)||this['_unitStatus'][_0x291cd1(0x361)](_0x531b08,new _0x404575['BehaviorSubject'](_0x3fe1f0[_0x291cd1(0x1e8)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x291cd1(0x1a9)][_0x291cd1(0x1c0)](_0x531b08);}}_0x44b1a7[_0x5de549(0x26a)]=_0x4d8922,_0x44b1a7[_0x5de549(0x44f)]=_0x3ed0a,_0x44b1a7[_0x5de549(0x474)]=_0x55eb3c,_0x44b1a7[_0x5de549(0x2d0)]=_0x12ecfd,Object[_0x5de549(0x412)](_0x44b1a7,Symbol[_0x5de549(0x36d)],{'value':'Module'});}));function _0x48a1(_0x3ec77b,_0x2f799c){_0x3ec77b=_0x3ec77b-0x1a4;const _0xe03509=_0xe035();let _0x48a183=_0xe03509[_0x3ec77b];return _0x48a183;}function _0xe035(){const _0x514721=['getColor','bottom','_id','_scene','UniverCore','_config','IUniverInstanceService','AWAITING','isTransformMutationsWithChangesetSuccess','_collaborationSessionService','WebURLService','filename','_range','TEXT_RANGE_LAYER_INDEX','complete','requireSession','38uXbool','[LogService\x20Error]:\x20','_scheduleClearOtherTimer','dirtyRanges','MOBILE_VERIFY_CODE_MISMATCH','UPDATE_CURSOR','event$','getUndoRedoMutationParamsCache','fromEvent','_cachedData','univer-flex\x20univer-items-center','getActiveSheet','AWAITING_WITH_PENDING','IUIPartsService','UniverDocsUi','RegularPolygon','_localCacheService','FromArray','_status$','rxjs','formula.calculation.waiting','_clearOtherTimers','_drawAnchor','UNDEFINED','error','FETCH_MISS','YUUMI_ALL_TABLES_IS_INVALID','isEditing','onPointerEnter$','path','RichTextEditingMutation','1em','operators','EffectRefRangId','then','getCurrentSelections','INVALID_INVITE_CODE','unitId','YUUMI_UNABLE_LOAD_URL','onCommandExecuted','@univerjs/rpc','_docSyncEditingCollabCursorService','IImageIoService','substring','getColorFromTheme','getCurrentRevOfUnit','imageSourceType','endColumn','UNAUTHENTICATED','setAlpha','getSheetId','map','_uiPartsService','DocSkeletonManagerService','colorChannel1','getSkeleton','docStateChange$','IBeforeCloseService','_localStorageService','@univerjs/sheets-ui','entityInit$','use','_setFormulaLimitStatus','CollaborationDataLoaderController','min','_docSkeletonManagerService','currentSkeleton$','DesktopCollaborationStatusDisplayController','activeSheet$','fillStyle','_dataLoaderService','_injector','collaboration.closeRoom','0\x200\x2016\x2016','restore','_urlService','urlChange$','IMessageService','LOGIN_TOKEN_PROCESSING_FAILED','DisposableCollection','CLOSE_ROOM','OFFLINE','type','CollaborationStatus','_ensureSubject','newValue','saveTaskMap','_handleHeartbeatEvent','triggerDblclick','saveOfflineData','subUnitId','TOO_MANY_REQUESTS','getUnitStatus$','_themeService','IRenderManagerService','getCurrent','idSuffix','UniverSheets','setTimeout','_handleHover','transformSelections','SetSelectionsOperation','useObservable','CollaborationUIEventId','_commandService','_context','ENTITLE_CHAT_LIMIT_EXCEED','_getFormulaLimitStatus','transformIMECache','_initUnhandledRejectionListener','_docSkeleton','next','_onCursorDelete','_handleLeaveEvent','_render','_renderManagerService','_saveCache','exhaustSavingTask','sessionStatus$','addEventListener','_toggleOnline','some','getParam','connectInjector','OTHER_CLIENT_EDITING','limitInfo','_startDocCollabCursor','totalFormulasToCalculate','Inject','getLocalCacheKey','CanceledError','div','3542600xJygBe','fillText','ENTITLE_COUPON_EXPIRED','ENTITLE_DUP_SUBSCRIPTION','roomMembers$','_cursorInfo$','_entities','set','ENTITLE_INSUFFICIENT_QUOTA','PENDING','getTypeOfUnitAdded$','getCoordByCell','SheetSkeletonManagerService','row','selection','_removeCollabCursors','_backgroundColor','_handleJoinEvent','code','toStringTag','PY_RUNTIME_SCRIPT_ERROR','...','Warning','@univerjs-pro/collaboration','isArray','_send','setParam','M0\x200H16V16H0z','_roomMembers$','collaboration.single-unit.warning','updateOfflineData','CURRENT_STATUS_CANNOT_OPERATE','InsertRangeMoveRightCommandId','YUUMI_RATE_OVER_LIMIT','setInterval','transformMutation','ITransformService','isFormulaString','selections','height','currentTheme$','whenReady','_monkeyPatchLogService','Error','YUUMI_URL_COL_OUT_OF_RANGE','takeUntil','measureText','url(#off-line-icon_clip0_910_343)','NodePositionConvertToCursor','ENTITLE_REPORT_LIMIT_EXCEED','EMAIL_HAS_BEEN_BOUND','show','subscribe','setUndoRedoMutationParamsCache','registerRenderModule','toDisposable','white','distinctUntilChanged','merge','runOnServer','IDocClipboardService','MUTATION','_registerRenderDependencies','6XetXdA','REDEMPTION_CODE_FULLY_REDEEMED','collaboration.offline-data-not-saved','Rect','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initUserListener','_selfUnitIDs','ranges','getOffsetConfig','INVALID_ARGUMENT','INTERNAL_ERROR','_lastPointer','getCollabEntity$','START_CALCULATION','_createSocketURL','_assignedColors','PAYMENT_CHANNEL_NOT_SUPPORT','CONNECTOR_DATA_TOO_LARGE','deepClone','collab-rect-range-','CONFLICT','getFocusedUnit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','join','_docStateChangeManagerService','startsWith','@univerjs/drawing','\x20at\x20','executionId','uni.network.url-service','length','_drawRectRange','SHEET_VIEWPORT_KEY','getMergeData','round','APPLY_NON_SEQUENTIAL_REVISION','displayName','history','ICommandService','_cursorShapes','_localeService','MOBILE_HAS_BEEN_BOUND','drawWith','transformMutationsWithChangeset','USER_NOT_INVITED_CODE','bind','unit','_anchorDot','addHandlerCallback','setItem','url(#$1','_initEntityListener','_initCommandInterceptor','searchParams','popstate','pushState','useDependency','Tooltip','off-line-icon','_beforeCloseService','handleIRemoveRow','width','cursorInfo','saveImage','exports','getAncestorScale','formula.calculation.started','BrowserCollaborationSocketService','storage','COLORS','_setupSubUnitSync','syncEditingCollabCursor','DependentOn','setShapeProps','xlink:href','UniverDrawing','result','_draw','_entityInit$','_docTransformStateCacheService','clearTimeout','ENTITLE_INVALID_COUPON_CODE','getCollabCursors$','off-line-icon_clip0_910_343','React','handleDeleteRangeMoveUp','onStarting','toRgbString','transformByState','eventID','FormulaExecuteStageType','LocaleService','MemberService','REDEMPTION_INVALID_CODE','has','_heartbeatTimer','subscribeEvent','_getScale','throttleTime','getValue','isTransformMutationFailure','evenodd','onPointerMove$','entries','/universer-api/frontend/logs','fill','_transformService','mutations','UniverNetwork','16806gYtOTL','APPLY_DUPLICATED','DATA_SOURCE_TOO_LARGE','clsx','_cursor','USER_IS_ANONYMOUS','registerComponent','HEADER_MENU','MoveRangeCommandId','_httpService','includes','_lastResponseTimestamp','defineProperty','_memberService','getTypeOfUnitDisposed$','getSheetObject','/universer-api/license/formula/limit/status','defIds','UNIVER_DOC','InsertColCommandId','stageInfo','_scheduleHeartbeat','enableLocalCache','Plugin','getUnitId','socket$','blue.400','delete','_session','RxDisposable','rxjs/operators','getRelativeToViewportCoord','UNRECOGNIZED','react/jsx-runtime','runId','LICENSE_IMPORT_SIZE_EXCEEDED','disableLocalCache','editingUnit','actions','getRangePointData','backgroundColor','unitID','_toggleOffline','DOC_RANGE_TYPE','_refRangeService','COMPLETION_FINISHED','SessionStatus','parseInt','_color','_unitOnClients','3582780XfDNln','@univerjs/docs','_logService','loadOfflineData','isFormulaId','ONLINE','PERMISSION_DENIED','ISocketService','_getSheetObject','_initResize','_drawTextRange','ILocalCacheService','transformStateCache','USER_NOT_FOUND','RemoteUniscriptService','YUUMI_SUBSCRIPTION_NOT_FOUND','params','NO_OTHER_CLIENTS_EDITING','contains','_onCursorUpdate','maxFormulaLimit','push','_checkCalculationAvailable','SheetCollabCursorShape','univerjs-icon\x20univerjs-icon-','Shape','touchDependencies','isActive','attrs','enableFrontendLog','_updateSubUnitFromURLParams','location','RevisionService','LOCAL_CACHE_INTERVAL_KEY','_syncEditingCollabCursorService','debug','_uploadLog','CHANGESET_REVISION_CONFILICT','createElement','arc','jsx','setStateCache','REDEMPTION_CODE_INACTIVE','defs','getActiveRange','_hideTimer','application/json','_currentUsage','addObject','HTTPService','currentColor','_getAnchorBounding','random','LOGIN_FAILED','transformRemoteChangeset','split','lineTo','YUUMI_AI_RUN_FAILED','_startSheetCollabCursor','_imageIoService','WebBrowserSingleActiveUnitService','NOT_COLLAB','doc.mutation.rich-text-editing','color','on-line-icon','findNodePositionByCharIndex','catch','UniverDocs','_name','_eventUnsubscribe','removeEventListener','getConfig','jiqing.500','yellow.400','init','tag','debounce','sheetID','_collabCursorState$','IRemoteInstanceService','SetTextSelectionsOperation','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','parse','_revisionService','DocStateChangeManagerService','search','now','_init','Unknown\x20user','ENSURE_SNAPSHOT_EXECUTION','toString','unhandledrejection','YUUMI_CONNECTOR_URL_NOT_FOUND','_handleEvent','ALREADY_EXISTS','children','pipe','SNAPSHOT_INVALID_SNAPSHOT','TEXT','CollaborationUIEventService','invokeId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','@univerjs/design','getOwnPropertyDescriptor','collabStatus.conflict','_updateCollabCursors','closePath','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','USERS_LEAVE','[Unhandled\x20Rejection]:\x20','#FFF','ISnapshotServerService','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','fromEventSubject','_updateURLWithCurrentState','[CollaborationDataLoaderController]','startRow','override','_unitStatus','key','UniverCollaborationClientPlugin','_registerDependencies','DeleteRangeMoveUpCommandId','size','getMemberID','SetFormulaCalculationStartMutation','RECT','flatMap','reconnect','_initStatusListener','UniverProCollaborationClient','collab-text-anchor-','_online','_memberID','endRow','Disposable','NOT_FOUND','makeDirty','collab-text-range-','stage','from','get','ERROR_AGAIN','unsubscribe','message','registerDependencies','_collabCursorController','filter','_colorAssignService','createSocket','handleMoveRange','_hover','handleInsertRow','NodePositionConvertToRectRange','string','DocCollaborationEntity','UniverInstanceType','/universer-api/license/formula/limit/done','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getVpScrollXYInfoByPosToVp','AUTHORIZE_CODE_ILLEGAL','/universer-api/license/formula/limit/start','top','_disabled','m1Prime','save','YUUMI_NO_CUBOID_FOR_QUESTION','CollaborationEvent','session.connection-failed','_updateLocalCursor','replace','getMember','REDEMPTION_USER_REDEEM_TIMES_EXCEED','m2Prime','_getMergeRange','formula.calculation.unable','@univerjs/docs-ui','OnLineIcon','6509889OWujhq','getDocRanges','_hasFormulaInDirtyRanges','UnitStatus','_hovered','onLocalMutation','_transformUndoRedoStack','Tools','SNAPSHOT_HAS_BEEN_REMOVED','sessionTicket','SetDocZoomRatioOperation','getCellMatrix','ILocalStorageService','_releaseCalculationLimit','SOCKET_FAILED_RETRY','_initDependencies','_doCreateSocket','range','DEFAULT_WS_SESSION_TICKET_URL','ACTIVE_UNIT_EVENT_CHANNEL','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','mergeOverrideWithDependencies','fillRule','collabStatus.fetchMiss','_collaborationController','@univerjs/engine-formula','LICENSE_DISTRO_REJECTED','send','_transformHistoryAndStateStack','react','labelPosition','SheetsSelectionsService','IConfigService','_labelPosition','DataLoaderService','CommandType','ENTITLE_CAN_NOT_BUY_LOWER_OTP','handleDeleteRangeMoveLeft','SUBMIT_CHANGESET_TIMEOUT','DocSelectionManagerService','jsxs','body','_configService','memberID','UNIVER_SHEET','hide','UniverProCollaboration','@univerjs/network','_taskIds','collabStatus.syncing','0\x200\x2017\x2016','reason','registerRefRange','getRenderById','UniverCollaborationClientUIPlugin','FormulaExecutedStateType','onPointerLeave$','object','assignAColorForMemberID','collabStatus.offline','createIdentifier','undoState','releaseFormulaLimitUrl','5443844DxUaeI','textRanges','unload','_applyCommand','RefRangeService','_setupBeforeClosingHandler','forEach','REDEMPTION_CODE_HAS_BEEN_CREATED','_textBubble','_messageService','all','CollaborationSessionService','stringify','name','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','url(#on-line-icon_clip0_910_349)','forwardRef','INVITE_CODE_REQUIRED','WebSocketService','OTHER_CLIENTS_EDITING','onRendered','getUnhiddenWorksheets','_initEvent','purple.300','APPLY_PERMISSION_DENIED','stack','_docTransformIMECacheService','moveTo','status$','dispose$','MessageType','session.will-retry','YUUMI_ASYNCIO_CANCELLED','onMouseMove','LICENSE_EXPORT_SIZE_EXCEEDED','debounceTime','SUCCESS','ENTITLE_COUPON_USED_UP','Vector2','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','Optional','clearInterval','disposeWithMe','_collabSessionService','_collaborationUIEventService','RemoveRowCommandId','beginPath','ColorKit','permission.content','InsertRangeMoveDownCommandId','@univerjs/core','permission.title','APPLY_REVISION_CONFILICT','beforeCommandExecuted','APPLY_REJECT','BehaviorSubject','_anchor','href','ILogService','3703021xAPbgu','black','getStateCache','WECHAT_HAS_BEEN_BOUND','VIEW_MAIN','SetWorksheetActivateCommand','registerBeforeClose','_scheduleSaving','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collab-client.tooltip.reconnect','UniverSheetsUi','IURLService','_removeClearOtherTimer','add','generateRandomId','_univerInstanceService','source','EMAIL_VERIFY_CODE_MISMATCH','_sheetSkeletonManagerService','hovered','currentUsage','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','executeCommand','collabStatus.synced','symbol','DocIMEInputManagerService','REDEMPTION_CODE_NOT_STARTED','trim','useRef','_maxFormulaLimit','handleInsertCol','replaceState','UniverProCollaborationClientUi','skeleton','@univerjs/engine-render','unshift','assign','REDEMPTION_USER_NOT_ELIGIBLE','lineno','startColumn','switchMap','_saveTaskMap','sheetId','subunit','_initWindowErrorListener','_checkAndWaitForCalculationPermission','CollaborationController','session.collaboration-timeout','text','_shapes','handleInsertRangeMoveRight','mask','redoState','_getSaveTimeout','_refreshCollabCursors','getSheetBySheetId','ThemeService','data','Loading','SetFormulaCalculationNotificationMutation','RemoveColCommandId','focused$','?taskId=','with','_pollingInterval','setActiveRange','svg','OffLineIcon','column','/run/','SYNCED','asObservable','ENTITLE_USE_COUPON_NOT_1ST_TRADE','roomMembers','http://www.w3.org/2000/svg','collabStatus.notCollab','INVITE_CODE_ALREADY_BOUND','_initCommandExecutedListener','_cursors','getformulaLimitStatusUrl','cursorInfo$','removeParam','759260kWJjFy','UniverDesign','handleIRemoveCol','ENTITLE_NEED_BILLING_ADDRESS','@univerjs-pro/collaboration-client','Workbook','rgba(255,\x20255,\x20255,\x200.01)','post','getUniverSheetInstance','values','Success','_getSessionTicket','Injector','_onRefRangeChange','_clearPolling','UniverRpc','collabCursorState$','_colorIndex','dispose','@univerjs/ui','max'];_0xe035=function(){return _0x514721;};return _0xe035();}
|