@univerjs-pro/collaboration-client-ui 0.9.1-nightly.202507061606 → 0.9.1-nightly.202507071607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/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/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/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 +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x541a(){const _0x197dde=['setInterval','getSheetBySheetId','contains','Optional','toRgbString','pushState','Tools','UniverDrawing','body','APPLY_NON_SEQUENTIAL_REVISION','_httpService','rxjs/operators','_collabCursorState$','jiqing.500','roomMembers','_scheduleClearOtherTimer','displayName','#FFF','ranges','DataLoaderService','YUUMI_URL_COL_OUT_OF_RANGE','TEXT','YUUMI_CONNECTOR_URL_NOT_FOUND','_onCursorDelete','CommandType','filter','transformSelections','UNRECOGNIZED','removeParam','getOwnPropertyDescriptor','OTHER_CLIENTS_EDITING','includes','handleMoveRange','IImageIoService','UniverNetwork','_transformUndoRedoStack','_collaborationController','YUUMI_AI_RUN_FAILED','_getAnchorBounding','ITransformService','color','EMAIL_VERIFY_CODE_MISMATCH','subscribeEvent','_toggleOffline','findNodePositionByCharIndex','deserializeRangeWithSheet','_docStateChangeManagerService','isActive','setConfig','collaboration-client-ui.config','with','_drawAnchor','Disposable','clearInterval','APPLY_REVISION_CONFILICT','MessageType','setParam','_anchorDot','_startDocCollabCursor','IUIPartsService','318OXFfnA','DependentOn','_localStorageService','Vector2','mask','[CollaborationDataLoaderController]','evenodd','top','_clearOtherTimers','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_removeCollabCursors','error','_transformService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CHANGESET_REVISION_CONFILICT','_initEntityListener','collabStatus.syncing','_drawTextRange','Inject','length','collab-rect-range-','next','source','_handleHeartbeatEvent','serializeRangeWithSheet','IMessageService','location','path','_handleHover','doc.mutation.rich-text-editing','_setupSubUnitSync','_configService','handleDeleteRangeMoveUp','off-line-icon','text','purple.300','_render','CollaborationDataLoaderController','OFFLINE','yellow.400','handleInsertRangeMoveRight','defs','unsubscribe','ticket','_handleEvent','_updateSubUnitFromURLParams','createElement','on-line-icon','_themeService','dispose$','_urlService','red.300','ILocalStorageService','jsx','entries','measureText','getAncestorScale','_initDependencies','_disabled','getColorFromTheme','getActiveSheet','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','_anchor','_hover','send','@univerjs/rpc','ILocalCacheService','JOIN_ROOM_FAILED','WebSocketService','parse','_notificationService','textRanges','onCommandExecuted','saveImage','saveOfflineData','addClipboardHook','then','add','unitId','7385048kDIRrO','none','_docTransformStateCacheService','_initStatusComponent','stringify','runOnServer','collabStatus.offline','enableLocalCache','getOffsetConfig','_online','onRendered','createIdentifier','params','_range','redoState','debounceTime','SYNCED','_injector','current','NO_OTHER_CLIENTS_EDITING','_eventUnsubscribe','InsertRangeMoveDownCommandId','history','_drawRectRange','unshift','Subject','_unitOnClients','ColorKit','_sheetSkeletonManagerService','_initCommandExecutedListener','React','NOT_FOUND','off-line-icon_clip0_910_343','_name','popstate','getTypeOfUnitDisposed$','OffLineIcon','http://www.w3.org/2000/svg','subunit','RemoveColCommandId','set','uni.network.url-service','replace','IRemoteInstanceService','pluginName','split','ThemeService','CollaborationEvent','registerBeforeClose','storage','UniverDocs','getCurrentSelections','_handleJoinEvent','0\x200\x2017\x2016','symbol','setActiveRange','_getScale','cursorInfo$','YUUMI_SUBSCRIPTION_NOT_FOUND','substring','data','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','DeleteRangeMoveUpCommandId','transformRemoteChangeset','triggerDblclick','disposeUnit','docStateChange$','fillStyle','unload','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','handleIRemoveRow','ALREADY_EXISTS','LICENSE_IMPORT_SIZE_EXCEEDED','icon','colorChannel1','_createSocketURL','_draw','generateRandomId','_selfUnitIDs','dispose','url(#on-line-icon_clip0_910_349)','getStateCache','random','_docClipboardService','getSheetObject','getMergeData','exhaustSavingTask','fillText','fill','getCurrent','loadOfflineData','Failed','isTransformMutationsWithChangesetSuccess','Rectangle','_collabCursorController','_univerInstanceService','getCollabCursors$','div','UniverRpc','EffectRefRangId','_saveTaskMap','getMember','15GGSgSD','UniverCollaborationClientUIPlugin','function','22972mdqeQy','debounce','USERS_LEAVE','deepClone','svg','toDisposable','9348548uaOxmr','debug','UniverSheetsUi','_scene','createSocket','_handleLeaveEvent','SNAPSHOT_HAS_BEEN_REMOVED','BehaviorSubject','NOT_COLLAB','TOO_MANY_REQUESTS','@univerjs/engine-formula','_init','wsSessionTicketUrl','_memberService','_localeService','activeSheet$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','30RMFavR','WECHAT_HAS_BEEN_BOUND','getFocusedUnit','merge','FETCH_MISS','...','concat','_getSessionTicket','collab-client.tooltip.reconnect','EMAIL_HAS_BEEN_BOUND','RegularPolygon','_instanceService','extend','onPointerEnter$','_ensureSubject','ONLINE','find','_getSheetObject','UniverInstanceType','sessionTicket','_scheduleSaving','registerRenderModule','Unknown\x20user','_revisionService','_collaborationUIEventService','onLocalMutation','addObject','isTransformMutationFailure','mutations','fromEvent','getTypeOfUnitAdded$','CollaborationUIEventService','isArray','currentColor','M0\x200H16V16H0z','@univerjs/engine-render','switchMap','collaboration.closeRoom','override','combineLatest','fillRule','CollaborationUIEventId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','clsx','Tooltip','setUndoRedoMutationParamsCache','onPointerLeave$','CLOSE_ROOM','48DEOXSy','_commandService','getColor','from','_renderManagerService','getCollabEntity$','setAlpha','UNDEFINED','urlChange$','_colorAssignService','_imageIoService','collab-text-range-','DocSelectionManagerService','YUUMI_ASYNCIO_CANCELLED','column','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UniverProCollaboration','moveTo','backgroundColor','_getMergeRange','@univerjs/drawing','_session','collabCursorState$','_beforeCloseService','onStarting','getVpScrollXYInfoByPosToVp','drawWith','SessionStatus','entityInit$','@univerjs/ui','DocStateChangeManagerService','IConfigService','SetDocZoomRatioOperation','DEFAULT_WS_SESSION_TICKET_URL','onMouseMove','selections','hasOwnProperty','getOwnPropertySymbols','_saveCache','getItem','getConfig','searchParams','addHandlerCallback','rgba(255,\x20255,\x20255,\x200.01)','_getSaveTimeout','has','black','isEditing','Module','requireSession','show','getValue','assignAColorForMemberID','CollaborationStatus','_updateLocalCursor','CollaborationController','InsertRangeMoveRightCommandId','registerComponent','HTTPService','_onRefRangeChange','values','LICENSE_MAX_UNITS_EXCEEDED','_initEvent','takeUntil','1927780uVhVGb','getLocalCacheKey','focused$','lineTo','trim','INVALID_ARGUMENT','Injector','_hovered','href','_registerRenderDependencies','USER_NOT_INVITED_CODE','_context','SNAPSHOT_INVALID_SNAPSHOT','session.connection-failed','handleInsertRangeMoveDown','unitID','ICommandService','search','_cursorInfo$','InsertColCommandId','hide','IDocClipboardService','IRenderManagerService','_cursor','_entities','_setupBeforeClosingHandler','NodePositionConvertToRectRange','getCoordByCell','get','translate(.97)','getCellPositionByOffset','newValue','_updateURLWithCurrentState','syncEditingCollabCursor','runId','useRef','selection','INVITE_CODE_ALREADY_BOUND','getSkeleton','beginPath','getCurrentUnitForType','call','TEXT_RANGE_LAYER_INDEX','ISocketService','SUBMIT_CHANGESET_TIMEOUT','operators','_labelPosition','_entityInit$','setTimeout','_messageService','UNIVER_DOC','react','executeCommand','session.collaboration-timeout','attrs','ILogService','_transformHistoryAndStateStack','_initStatusListener','complete','handleInsertRow','transformByState','1231279ZsgZBj','_refRangeService','Workbook','Rect','white','@univerjs/network','rxjs','UniverCollaborationClientPlugin','RxDisposable','Error','m2Prime','CollaborationSessionService','SetWorksheetActivateCommand','YUUMI_TABLE_NOT_FOUND_IN_UNIT','RemoteUniscriptService','status$','AWAITING_WITH_PENDING','useCallback','defIds','disposeWithMe','addObjects','SheetsSelectionsService','SetTextSelectionsOperation','getCurrentRevOfUnit','mergeOverrideWithDependencies','ENSURE_SNAPSHOT_EXECUTION','@univerjs-pro/collaboration','whenReady','event$','editingUnit','INVITE_CODE_HAS_BEEN_UES','result','DesktopCollaborationStatusDisplayController','size','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','map','width','jsxs','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverDesign','_shapes','createInstance','UNIVER_SHEET','clearTimeout','_unitStatus','_roomMembers$','string','DocCollaborationEntity','connectInjector','forEach','eventID','pipe','transform','sessionStatus$','m1Prime','_heartbeatTimer','currentTheme$','url(#off-line-icon_clip0_910_343)','getDocRanges','asObservable','session.will-retry','init','getRelativeToViewportCoord','INTERNAL_ERROR','getParam','_docTransformIMECacheService','imageSourceType','YUUMI_NO_CUBOID_FOR_QUESTION','927102luSmvU','_localCacheService','memberID','post','@univerjs/sheets-ui','COMPLETION_FINISHED','subscribe','_lastPointer','cursorInfo','forwardRef','flatMap','xlink:href','1em','_dataLoaderService','handleInsertCol','INVALID_INVITE_CODE','className','endRow','_doCreateSocket','toStringTag','UniverProCollaborationClientUi','IUniverInstanceService','push','FromArray','unit','collabStatus.fetchMiss','_cachedData','engine','APPLY_PERMISSION_DENIED','arc','registerDependencies','clipPath','_docTransformSelectionsService','_status$','transformMutation','getUndoRedoMutationParamsCache','sheetId','saveTaskMap','_startSheetCollabCursor','handleDeleteRangeMoveLeft','InsertRowCommandId','restore','useDependency','PY_RUNTIME_SCRIPT_ERROR','idSuffix','_initResize','univer-flex\x20univer-items-center','use','range','UniverEngineRender','CollaborationSocketService','_textBubble','_backgroundColor','ACTIVE_UNIT_EVENT_CHANNEL','subUnitId','collabStatus.synced','handleIRemoveCol','_cursorShapes','_refreshCollabCursors','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','DOC_RANGE_TYPE','_cursors','children','PERMISSION_DENIED','prototype','UniverIcon','bottom','LOGIN_FAILED','distinctUntilChanged','_send','DocIMEInputManagerService','setItem','_colorIndex','setShapeProps','CONFLICT','getSheetId','_docSkeletonManagerService','_syncEditingCollabCursorService','getViewport','_toggleOnline','tag','defineProperty','type','shareReplay','getUnitId','@univerjs-pro/collaboration-client','_scheduleHeartbeat','5790591DWRuaE','_docSyncEditingCollabCursorService','YUUMI_ALL_TABLES_IS_INVALID','roomMembers$','LICENSE_EXPORT_SIZE_EXCEEDED','runRefRangeMutations','loadUnit','row','IBeforeCloseService','max','SOCKET_FAILED','HEADER_MENU','assign','Plugin','updateOfflineData','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Shape','MOBILE_VERIFY_CODE_MISMATCH','_logService','name','mapTo','_assignedColors','SetSelectionsOperation','CONNECTOR_DATA_TOO_LARGE','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_onCursorUpdate','blue.400','addEventListener','makeDirty','getRenderById','COLORS','onTransformChange$','UniverProCollaborationClient','_id','getRangePointData','APPLY_REJECT','getUniverSheetInstance','closePath','transformIMECache','labelPosition','UniverUi','Warning','undoState','_removeClearOtherTimer','_hideTimer','min','_config','UniverSheets','RECT','throttleTime','_color','/run/','YUUMI_RATE_OVER_LIMIT','round','application/json','OnLineIcon','UnitStatus','delete','toString','_transformPreviousActiveRange','getMemberID','save','APPLY_DUPLICATED','OTHER_CLIENT_EDITING','collabStatus.conflict','BrowserCollaborationSocketService','getUnhiddenWorksheets','react/jsx-runtime','LocaleService','transformStateCache','CollaborationStatusDisplay','_collabSessionService','UPDATE_CURSOR','@univerjs/core','replaceState','_updateCollabCursors','origin','@univerjs/docs','invokeId'];_0x541a=function(){return _0x197dde;};return _0x541a();}function _0x1da8(_0x5f22e8,_0x38824d){const _0x541acf=_0x541a();return _0x1da8=function(_0x1da8b9,_0x24950d){_0x1da8b9=_0x1da8b9-0xc2;let _0x45959f=_0x541acf[_0x1da8b9];return _0x45959f;},_0x1da8(_0x5f22e8,_0x38824d);}(function(_0x3f14a9,_0x281007){const _0x34199d=_0x1da8,_0x1c2414=_0x3f14a9();while(!![]){try{const _0x596a5f=parseInt(_0x34199d(0x133))/0x1+parseInt(_0x34199d(0x2cd))/0x2*(-parseInt(_0x34199d(0x215))/0x3)+parseInt(_0x34199d(0x354))/0x4*(-parseInt(_0x34199d(0x2ca))/0x5)+-parseInt(_0x34199d(0x314))/0x6*(parseInt(_0x34199d(0xef))/0x7)+parseInt(_0x34199d(0x264))/0x8+parseInt(_0x34199d(0x18a))/0x9+parseInt(_0x34199d(0x2e4))/0xa*(parseInt(_0x34199d(0x2d3))/0xb);if(_0x596a5f===_0x281007)break;else _0x1c2414['push'](_0x1c2414['shift']());}catch(_0x140702){_0x1c2414['push'](_0x1c2414['shift']());}}}(_0x541a,0xed7a5),function(_0x30f810,_0x478e1e){const _0x22dbfc=_0x1da8;typeof exports=='object'&&typeof module<'u'?_0x478e1e(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x22dbfc(0x2cc)&&define['amd']?define(['exports',_0x22dbfc(0x188),_0x22dbfc(0x1d3),_0x22dbfc(0x307),_0x22dbfc(0xf4),'@univerjs/docs-ui',_0x22dbfc(0x328),_0x22dbfc(0xf5),_0x22dbfc(0x109),_0x22dbfc(0x1d7),_0x22dbfc(0x2dd),'@univerjs/sheets',_0x22dbfc(0x1e4),_0x22dbfc(0x137),_0x22dbfc(0x1cd),_0x22dbfc(0x331),'@univerjs/design',_0x22dbfc(0xe5),_0x22dbfc(0x256)],_0x478e1e):(_0x30f810=typeof globalThis<'u'?globalThis:_0x30f810||self,_0x478e1e(_0x30f810[_0x22dbfc(0x147)]={},_0x30f810[_0x22dbfc(0x1aa)],_0x30f810['UniverCore'],_0x30f810[_0x22dbfc(0x164)],_0x30f810[_0x22dbfc(0x1fb)],_0x30f810['UniverDocsUi'],_0x30f810[_0x22dbfc(0x1e0)],_0x30f810[_0x22dbfc(0xf5)],_0x30f810[_0x22dbfc(0x324)],_0x30f810[_0x22dbfc(0x296)],_0x30f810['UniverEngineFormula'],_0x30f810[_0x22dbfc(0x1b9)],_0x30f810[_0x22dbfc(0xf5)][_0x22dbfc(0xdf)],_0x30f810[_0x22dbfc(0x2d5)],_0x30f810[_0x22dbfc(0x282)],_0x30f810[_0x22dbfc(0x1b2)],_0x30f810[_0x22dbfc(0x116)],_0x30f810['React'],_0x30f810[_0x22dbfc(0x2c6)]));}(this,function(_0x41fd92,_0x3f5c1e,_0x475e9c,_0x577de9,_0x190f53,_0x122cd9,_0x29d48d,_0x408ff3,_0x2b5885,_0x6b29d3,_0x5cfb1e,_0x582ac3,_0x464a63,_0xbe877a,_0x1e14a8,_0x9b1255,_0x11c75d,_0x4426e3,_0x45581c){'use strict';const _0x4bdeea=_0x1da8;var _0x2e1b4c=Object[_0x4bdeea(0x184)],_0x28dd24=(_0x2ecce0,_0x2f44dc,_0x2b04d6)=>_0x2f44dc in _0x2ecce0?_0x2e1b4c(_0x2ecce0,_0x2f44dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b04d6}):_0x2ecce0[_0x2f44dc]=_0x2b04d6,_0x38f5b4=(_0x98fdcf,_0x48a231,_0x20731e)=>_0x28dd24(_0x98fdcf,typeof _0x48a231!=_0x4bdeea(0x29a)?_0x48a231+'':_0x48a231,_0x20731e),_0x5542e6=Object[_0x4bdeea(0x1f6)],_0x5643d0=(_0x210b70,_0x44145c,_0x4f255c,_0x1ac713)=>{const _0x3dac22=_0x4bdeea;for(var _0x2acb98=_0x1ac713>0x1?void 0x0:_0x1ac713?_0x5542e6(_0x44145c,_0x4f255c):_0x44145c,_0x9d412e=_0x210b70[_0x3dac22(0x228)]-0x1,_0x16468b;_0x9d412e>=0x0;_0x9d412e--)(_0x16468b=_0x210b70[_0x9d412e])&&(_0x2acb98=_0x16468b(_0x2acb98)||_0x2acb98);return _0x2acb98;},_0x3dafe7=(_0x550b6d,_0x4db0d0)=>(_0x1446b3,_0x4fcb62)=>_0x4db0d0(_0x1446b3,_0x4fcb62,_0x550b6d);let _0x3f3cca=class extends _0x475e9c['RxDisposable']{constructor(_0x44970b,_0x107dce){const _0x17e057=_0x4bdeea;super(),this['_docClipboardService']=_0x44970b,this[_0x17e057(0x31e)]=_0x107dce,this[_0x17e057(0x2de)]();}[_0x4bdeea(0x2de)](){const _0x3c3475=_0x4bdeea,_0x285d7f=this;this['disposeWithMe'](this[_0x3c3475(0x2b7)][_0x3c3475(0x260)]({'onBeforePasteImage':async _0x359914=>{const _0x1c97ba=_0x3c3475,_0x53ab09=await _0x285d7f[_0x1c97ba(0x31e)][_0x1c97ba(0x25e)](_0x359914);return _0x53ab09?{'source':_0x53ab09[_0x1c97ba(0x22b)],'imageSourceType':_0x53ab09[_0x1c97ba(0x131)]}:null;}}));}};_0x3f3cca=_0x5643d0([_0x3dafe7(0x0,_0x122cd9[_0x4bdeea(0xc7)]),_0x3dafe7(0x1,_0x29d48d[_0x4bdeea(0x1fa)])],_0x3f3cca);const _0xfbaeaa=[_0x4bdeea(0x238),_0x4bdeea(0x1e6),'green.600',_0x4bdeea(0x248),_0x4bdeea(0x1a4),_0x4bdeea(0x23c)];class _0x522a8d extends _0x475e9c[_0x4bdeea(0x20d)]{constructor(){const _0x27ae5a=_0x4bdeea;super(...arguments),_0x38f5b4(this,_0x27ae5a(0x19f),new Map()),_0x38f5b4(this,_0x27ae5a(0x17b),0x0);}[_0x4bdeea(0x348)](_0x495ae2){const _0xaf611f=_0x4bdeea;if(this[_0xaf611f(0x19f)]['has'](_0x495ae2))return this[_0xaf611f(0x19f)][_0xaf611f(0xce)](_0x495ae2);const _0x51b53f=_0xfbaeaa[this['_colorIndex']];return this[_0xaf611f(0x17b)]=(this[_0xaf611f(0x17b)]+0x1)%_0xfbaeaa[_0xaf611f(0x228)],this['_assignedColors'][_0xaf611f(0x28c)](_0x495ae2,_0x51b53f),_0x51b53f;}}function _0x22d472(_0x39703c){const _0x48e4f7=_0x4bdeea;let _0x153cce='';for(const _0x62d17e of _0x39703c){const {startOffset:_0x2c0bb8,endOffset:_0x1f4734,isActive:_0x171334,rangeType:_0x290241,segmentId:_0xf6595b,segmentPage:_0x228f0f}=_0x62d17e;_0x153cce[_0x48e4f7(0x228)]&&(_0x153cce+=','),_0x153cce+=_0x2c0bb8+':'+_0x1f4734+':'+(_0x171334?'1':'0')+':'+_0x290241+':'+_0xf6595b+':'+_0x228f0f;}return _0x153cce;}function _0x1cc98d(_0x3984a4){const _0x243149=_0x4bdeea,_0x18ad46=_0x3984a4[_0x243149(0x291)](','),_0x25a4f8=[];for(const _0x19f140 of _0x18ad46){const [_0x33c3da,_0x5b3817,_0x231eb2,_0x2ac1a6,_0x1eb09f,_0x5a9c5e]=_0x19f140['split'](':');_0x25a4f8[_0x243149(0x149)]({'startOffset':Number(_0x33c3da),'endOffset':Number(_0x5b3817),'collapsed':_0x33c3da===_0x5b3817,'isActive':_0x231eb2==='1','rangeType':_0x2ac1a6===_0x475e9c[_0x243149(0x16f)][_0x243149(0x1ee)]?_0x475e9c[_0x243149(0x16f)][_0x243149(0x1ee)]:_0x475e9c[_0x243149(0x16f)][_0x243149(0x1ba)],'segmentId':typeof _0x1eb09f==_0x243149(0x11d)?String(_0x1eb09f):'','segmentPage':Number(_0x5a9c5e!=null?_0x5a9c5e:-0x1)});}return _0x25a4f8['some'](_0x581c5b=>_0x581c5b['isActive'])||(_0x25a4f8[0x0][_0x243149(0x208)]=!0x0),_0x25a4f8;}class _0x4a4976 extends _0x475e9c['RxDisposable']{constructor(){const _0x2d9fe4=_0x4bdeea;super(...arguments),_0x38f5b4(this,_0x2d9fe4(0x1e5),new _0x408ff3['BehaviorSubject'](null)),_0x38f5b4(this,_0x2d9fe4(0x32a),this[_0x2d9fe4(0x1e5)][_0x2d9fe4(0x12a)]());}['syncEditingCollabCursor'](_0xe21a19){const _0x1ccf62=_0x4bdeea,{unitID:_0x15d8c1,memberID:_0x1a121a,textRanges:_0x1b3bd6}=_0xe21a19,_0x189072=_0x22d472(_0x1b3bd6);if(_0x189072==='')return;const _0x3cd0bf={'unitID':_0x15d8c1,'memberID':_0x1a121a,'selection':_0x189072};this[_0x1ccf62(0x1e5)][_0x1ccf62(0x22a)](_0x3cd0bf);}}var _0x5950cf=Object['getOwnPropertyDescriptor'],_0xe24bae=(_0x47f3f2,_0x45ef50,_0x3ddae7,_0x47e74f)=>{const _0x1b7474=_0x4bdeea;for(var _0x31847b=_0x47e74f>0x1?void 0x0:_0x47e74f?_0x5950cf(_0x45ef50,_0x3ddae7):_0x45ef50,_0x397b26=_0x47f3f2[_0x1b7474(0x228)]-0x1,_0x18a58c;_0x397b26>=0x0;_0x397b26--)(_0x18a58c=_0x47f3f2[_0x397b26])&&(_0x31847b=_0x18a58c(_0x31847b)||_0x31847b);return _0x31847b;},_0x6344c=(_0x13900f,_0x3a6d61)=>(_0xec8128,_0x894d25)=>_0x3a6d61(_0xec8128,_0x894d25,_0x13900f);const _0x501798=0x12c,_0xe238a1=0x64;let _0x191d1d=class extends _0x475e9c[_0x4bdeea(0xf7)]{constructor(_0x238c67,_0x27b6f2,_0x2f3726,_0x430ded,_0x3016f8,_0x4b612a,_0x1e2c59,_0x373ae2,_0x10640b){const _0x2b770b=_0x4bdeea;super(),_0x38f5b4(this,_0x2b770b(0x26d),!0x1),_0x38f5b4(this,'_init',!0x1),_0x38f5b4(this,_0x2b770b(0xc4),new _0x408ff3['BehaviorSubject'](new Map())),_0x38f5b4(this,'cursorInfo$',this['_cursorInfo$'][_0x2b770b(0x12a)]()),_0x38f5b4(this,_0x2b770b(0x11c),new _0x408ff3[(_0x2b770b(0x2da))]([])),_0x38f5b4(this,'roomMembers$',this[_0x2b770b(0x11c)][_0x2b770b(0x122)](_0x408ff3[_0x2b770b(0x273)](_0x501798))),_0x38f5b4(this,_0x2b770b(0x34a),_0x475e9c[_0x2b770b(0x2ce)](_0x5eac12=>{const _0x5000c3=_0x2b770b,_0x4b79ed={'eventID':_0x2b5885[_0x5000c3(0x293)][_0x5000c3(0x1d2)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x5000c3(0x1c6)](),'selection':_0x22d472(_0x5eac12)}};this['_session']['send'](_0x4b79ed,this[_0x5000c3(0x363)]);},_0xe238a1)),(this[_0x2b770b(0x363)]=_0x238c67,this[_0x2b770b(0x329)]=_0x27b6f2,this[_0x2b770b(0x275)]=_0x2f3726,this['_colorAssignService']=_0x430ded,this['_memberService']=_0x3016f8,this[_0x2b770b(0x180)]=_0x4b612a,this[_0x2b770b(0x221)]=_0x1e2c59,this[_0x2b770b(0x2c3)]=_0x373ae2,this[_0x2b770b(0x315)]=_0x10640b);}get[_0x4bdeea(0x13b)](){const _0x46b560=_0x4bdeea;return this[_0x46b560(0xc4)]['getValue']();}get['roomMembers'](){const _0x6f8f93=_0x4bdeea;return this[_0x6f8f93(0x11c)][_0x6f8f93(0x347)]();}[_0x4bdeea(0x2b3)](){const _0x4c9873=_0x4bdeea;super[_0x4c9873(0x2b3)](),this[_0x4c9873(0xc4)][_0x4c9873(0x22a)](new Map()),this[_0x4c9873(0xc4)][_0x4c9873(0xec)](),this['_roomMembers$'][_0x4c9873(0x22a)]([]),this[_0x4c9873(0x11c)][_0x4c9873(0xec)]();}['init'](){const _0x3359d6=_0x4bdeea;this['_init']||(this[_0x3359d6(0x2de)]=!0x0,this[_0x3359d6(0x329)]['sessionStatus$'][_0x3359d6(0x122)](_0x408ff3[_0x3359d6(0x353)](this['dispose$']))[_0x3359d6(0x139)](_0x4f8ce0=>{const _0x21e8b0=_0x3359d6;_0x4f8ce0===_0x3f5c1e[_0x21e8b0(0x32f)][_0x21e8b0(0x2f3)]?this['_toggleOnline']():this[_0x21e8b0(0x204)]();}),this[_0x3359d6(0x329)][_0x3359d6(0x10b)][_0x3359d6(0x122)](_0x408ff3['takeUntil'](this[_0x3359d6(0x246)]))[_0x3359d6(0x139)](_0x219491=>{const _0x27a849=_0x3359d6,_0xe941bb=_0x219491['eventID'];_0xe941bb===_0x2b5885[_0x27a849(0x293)]['UPDATE_CURSOR']&&this[_0x27a849(0x1a3)](_0x219491),_0xe941bb===_0x2b5885[_0x27a849(0x293)][_0x27a849(0x2cf)]&&this[_0x27a849(0x1f0)](_0x219491);}),this[_0x3359d6(0x102)](this['_commandService'][_0x3359d6(0x25d)](_0x47cf81=>{const _0x14805b=_0x3359d6,_0xa8fc41=_0x47cf81[_0x14805b(0x270)];_0xa8fc41!=null&&this[_0x14805b(0x26d)]&&_0x47cf81['id']===_0x6b29d3[_0x14805b(0x105)]['id']&&_0xa8fc41[_0x14805b(0x263)]===this[_0x14805b(0x363)]&&_0xa8fc41[_0x14805b(0x343)]===!0x1&&_0xa8fc41['ranges'][_0x14805b(0x228)]>0x0&&this[_0x14805b(0x34a)](_0xa8fc41[_0x14805b(0x1eb)]);})),this[_0x3359d6(0x180)]['collabCursorState$']['pipe'](_0x408ff3['takeUntil'](this[_0x3359d6(0x246)]))['subscribe'](_0x41689d=>{const _0x37d934=_0x3359d6;if((_0x41689d==null?void 0x0:_0x41689d[_0x37d934(0x363)])!==this['unitID'])return;const _0x3b2945={'eventID':_0x2b5885['CollaborationEvent'][_0x37d934(0x1d2)],'data':_0x41689d};this[_0x37d934(0x1a3)](_0x3b2945);}),this[_0x3359d6(0x102)](this[_0x3359d6(0x315)]['onCommandExecuted'](_0xbe8b77=>{const _0x1e9805=_0x3359d6;if(_0xbe8b77[_0x1e9805(0x270)]==null)return;const _0x4cac2c=_0xbe8b77[_0x1e9805(0x270)];if(_0xbe8b77['id']!==_0x6b29d3['RichTextEditingMutation']['id']||_0x4cac2c[_0x1e9805(0x263)]!==this['unitID'])return;const _0x14775a={'id':_0x1e9805(0x232),'params':_0x4cac2c},_0x2860cf=this[_0x1e9805(0x13b)];for(const [_0x185128,_0x49b3d8]of _0x2860cf){const _0x3dea75={'id':_0x1e9805(0x232),'params':{'unitId':this[_0x1e9805(0x363)],'actions':null,'textRanges':_0x49b3d8['ranges']}},_0x28ab86=this['_transformService'][_0x1e9805(0x155)](_0x14775a,_0x3dea75,!0x1);if(_0x2b5885['isTransformMutationFailure'](_0x28ab86))throw _0x28ab86['error'];_0x2860cf['set'](_0x185128,{..._0x49b3d8,'ranges':_0x28ab86[_0x1e9805(0xf9)][_0x1e9805(0x270)][_0x1e9805(0x25c)]});}queueMicrotask(()=>{const _0x4af98a=_0x1e9805;this[_0x4af98a(0xc4)][_0x4af98a(0x22a)](_0x2860cf);});})));}[_0x4bdeea(0x1a3)](_0x5168e3){const _0x3ba8af=_0x4bdeea;var _0xecd2ba,_0x47a7f3;const {memberID:_0x4e4c7c,selection:_0x327466}=_0x5168e3[_0x3ba8af(0x2a0)],_0x2afbe9=_0x1cc98d(_0x327466),_0x382fbf=(_0x47a7f3=(_0xecd2ba=this[_0x3ba8af(0x2e0)][_0x3ba8af(0x2c9)](this['unitID'],_0x4e4c7c))==null?void 0x0:_0xecd2ba[_0x3ba8af(0x19d)])!=null?_0x47a7f3:_0x3ba8af(0x2fa),_0x120f88={'color':this['_colorAssignService'][_0x3ba8af(0x348)](_0x4e4c7c),'name':_0x382fbf,'ranges':_0x2afbe9},_0x528a9f=this[_0x3ba8af(0x13b)];_0x528a9f[_0x3ba8af(0x28c)](_0x4e4c7c,_0x120f88),this[_0x3ba8af(0xc4)][_0x3ba8af(0x22a)](_0x528a9f);}[_0x4bdeea(0x1f0)](_0x5dc09e){const _0x430bd9=_0x4bdeea,{memberID:_0x7f92c1}=_0x5dc09e[_0x430bd9(0x2a0)],_0x5241d7=this['cursorInfo'];_0x5241d7[_0x430bd9(0x1c3)](_0x7f92c1),this[_0x430bd9(0xc4)]['next'](_0x5241d7);}[_0x4bdeea(0x182)](){const _0x4ed36d=_0x4bdeea;var _0x494954;if(this[_0x4ed36d(0x26d)]=!0x0,((_0x494954=this[_0x4ed36d(0x2c3)][_0x4ed36d(0x2e6)]())==null?void 0x0:_0x494954[_0x4ed36d(0x187)]())!==this['unitID'])return;const _0x45fcba=this[_0x4ed36d(0x275)]['get'](_0x6b29d3[_0x4ed36d(0x320)])[_0x4ed36d(0x129)]();Array['isArray'](_0x45fcba)&&_0x45fcba[_0x4ed36d(0x228)]>0x0&&this['_updateLocalCursor'](_0x45fcba);}[_0x4bdeea(0x204)](){const _0x11c621=_0x4bdeea;this[_0x11c621(0x26d)]=!0x1;}};_0x191d1d=_0xe24bae([_0x6344c(0x2,_0x475e9c['Inject'](_0x475e9c[_0x4bdeea(0x35a)])),_0x6344c(0x3,_0x475e9c['Inject'](_0x522a8d)),_0x6344c(0x4,_0x475e9c[_0x4bdeea(0x227)](_0x3f5c1e['MemberService'])),_0x6344c(0x5,_0x475e9c[_0x4bdeea(0x227)](_0x4a4976)),_0x6344c(0x6,_0x2b5885['ITransformService']),_0x6344c(0x7,_0x475e9c[_0x4bdeea(0x148)]),_0x6344c(0x8,_0x475e9c[_0x4bdeea(0xc2)])],_0x191d1d);var _0x433fb1=Object[_0x4bdeea(0x1f6)],_0x1fa09d=(_0x4038fe,_0x1cbd5a,_0x2c3655,_0x4e2312)=>{for(var _0x51ec5d=_0x4e2312>0x1?void 0x0:_0x4e2312?_0x433fb1(_0x1cbd5a,_0x2c3655):_0x1cbd5a,_0x442498=_0x4038fe['length']-0x1,_0x5937c0;_0x442498>=0x0;_0x442498--)(_0x5937c0=_0x4038fe[_0x442498])&&(_0x51ec5d=_0x5937c0(_0x51ec5d)||_0x51ec5d);return _0x51ec5d;},_0x2f1179=(_0x51a923,_0x1a8dc1)=>(_0x392f13,_0x58fc37)=>_0x1a8dc1(_0x392f13,_0x58fc37,_0x51a923);const _0x463019=0x12c,_0x351600=0x64,_0xc75a36=()=>{let _0x2c94f8=[],_0x20dfec=!0x1;return _0x5c281b=>{const _0x24c3b6=_0x1da8;_0x2c94f8[_0x24c3b6(0x149)](_0x5c281b),_0x20dfec||(_0x20dfec=!0x0,setTimeout(()=>{const _0x2fc7ff=_0x24c3b6;_0x2c94f8[_0x2fc7ff(0x120)](_0x2df66e=>_0x2df66e()),_0x2c94f8=[],_0x20dfec=!0x1;}));};};let _0x1f3719=class extends _0x475e9c['RxDisposable']{constructor(_0x9eef68,_0x34025a,_0x18ae04,_0x3e7446,_0x409c6a,_0x16a61c,_0x5392df,_0x411c91){const _0x2a8d26=_0x4bdeea;super(),_0x38f5b4(this,_0x2a8d26(0x26d),!0x1),_0x38f5b4(this,_0x2a8d26(0x2de),!0x1),_0x38f5b4(this,'_cursorInfo$',new _0x408ff3['BehaviorSubject'](new Map())),_0x38f5b4(this,'cursorInfo$',this['_cursorInfo$'][_0x2a8d26(0x12a)]()),_0x38f5b4(this,_0x2a8d26(0x11c),new _0x408ff3[(_0x2a8d26(0x2da))]([])),_0x38f5b4(this,_0x2a8d26(0x18d),this['_roomMembers$'][_0x2a8d26(0x122)](_0x408ff3[_0x2a8d26(0x273)](_0x463019))),_0x38f5b4(this,_0x2a8d26(0x34a),_0x475e9c[_0x2a8d26(0x2ce)]((_0x8a50be,_0xd8b3a6)=>{const _0x525a89=_0x2a8d26,_0x4f330b={'eventID':_0x2b5885[_0x525a89(0x293)][_0x525a89(0x1d2)],'data':{'unitID':this['unitID'],'memberID':this[_0x525a89(0x329)]['getMemberID'](),'selection':_0x5cfb1e[_0x525a89(0x22d)](_0x8a50be,_0xd8b3a6[_0x525a89(0x163)])}};this['_session'][_0x525a89(0x255)](_0x4f330b,this[_0x525a89(0x363)]);},_0x351600)),(this[_0x2a8d26(0x363)]=_0x9eef68,this[_0x2a8d26(0x329)]=_0x34025a,this[_0x2a8d26(0x275)]=_0x18ae04,this[_0x2a8d26(0x31d)]=_0x3e7446,this[_0x2a8d26(0x2e0)]=_0x409c6a,this[_0x2a8d26(0x2c3)]=_0x16a61c,this[_0x2a8d26(0x315)]=_0x5392df,this[_0x2a8d26(0xf0)]=_0x411c91);}get[_0x4bdeea(0x13b)](){const _0x594c23=_0x4bdeea;return this[_0x594c23(0xc4)][_0x594c23(0x347)]();}get[_0x4bdeea(0x1e7)](){const _0x2fcaf7=_0x4bdeea;return this[_0x2fcaf7(0x11c)]['getValue']();}[_0x4bdeea(0x2b3)](){const _0x210e88=_0x4bdeea;super[_0x210e88(0x2b3)](),this[_0x210e88(0xc4)]['next'](new Map()),this[_0x210e88(0xc4)][_0x210e88(0xec)](),this[_0x210e88(0x11c)][_0x210e88(0x22a)]([]),this[_0x210e88(0x11c)][_0x210e88(0xec)]();}['init'](){const _0x39908f=_0x4bdeea;this['_init']||(this[_0x39908f(0x2de)]=!0x0,this[_0x39908f(0x329)][_0x39908f(0x124)][_0x39908f(0x122)](_0x408ff3[_0x39908f(0x353)](this[_0x39908f(0x246)]))['subscribe'](_0x958880=>{const _0x4d38f0=_0x39908f;_0x958880===_0x3f5c1e[_0x4d38f0(0x32f)][_0x4d38f0(0x2f3)]?this['_toggleOnline']():this[_0x4d38f0(0x204)]();}),this['_session'][_0x39908f(0x10b)]['pipe'](_0x408ff3[_0x39908f(0x353)](this[_0x39908f(0x246)]))[_0x39908f(0x139)](_0x2fc1c5=>{const _0x2bf5ae=_0x39908f,_0x29cf73=_0x2fc1c5[_0x2bf5ae(0x121)];_0x29cf73===_0x2b5885[_0x2bf5ae(0x293)][_0x2bf5ae(0x1d2)]&&this[_0x2bf5ae(0x1a3)](_0x2fc1c5),_0x29cf73===_0x2b5885[_0x2bf5ae(0x293)]['USERS_LEAVE']&&this[_0x2bf5ae(0x1f0)](_0x2fc1c5);}),this[_0x39908f(0x34f)](),this[_0x39908f(0x102)](this['_commandService'][_0x39908f(0x25d)](_0x259655=>{const _0x735b57=_0x39908f;if(this[_0x735b57(0x26d)]&&_0x259655['id']===_0x582ac3[_0x735b57(0x1a0)]['id']&&_0x259655[_0x735b57(0x270)]['unitId']===this[_0x735b57(0x363)]){const _0x349d2f=_0x259655[_0x735b57(0x270)];this['_updateLocalCursor'](_0x349d2f[_0x735b57(0x169)],_0x349d2f[_0x735b57(0x337)][0x0]);}})));}[_0x4bdeea(0x1a3)](_0x42356a){const _0x168785=_0x4bdeea;var _0xaad9a6,_0x33b48a;const {memberID:_0x272d02,selection:_0x4361e1}=_0x42356a[_0x168785(0x2a0)],{sheetName:_0x80791,range:_0x20bb40}=_0x5cfb1e[_0x168785(0x206)](_0x4361e1),_0x3391f5={'name':(_0x33b48a=(_0xaad9a6=this[_0x168785(0x2e0)][_0x168785(0x2c9)](this[_0x168785(0x363)],_0x272d02))==null?void 0x0:_0xaad9a6['name'])!=null?_0x33b48a:_0x168785(0x2fa),'range':this['_getMergeRange'](_0x80791,_0x20bb40),'sheetID':_0x80791,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x272d02),'selection':_0x4361e1},_0x80969e=this[_0x168785(0x13b)];_0x80969e[_0x168785(0x28c)](_0x272d02,_0x3391f5),this[_0x168785(0xc4)][_0x168785(0x22a)](_0x80969e);}[_0x4bdeea(0x1f0)](_0x5c8bbc){const _0x3a44b3=_0x4bdeea,{memberID:_0x384c9b}=_0x5c8bbc['data'],_0x3ca91d=this[_0x3a44b3(0x13b)];_0x3ca91d[_0x3a44b3(0x1c3)](_0x384c9b),this[_0x3a44b3(0xc4)][_0x3a44b3(0x22a)](_0x3ca91d);}[_0x4bdeea(0x327)](_0x34915e,_0x4e4c4b){const _0x2cbc16=_0x4bdeea;var _0x106904,_0x3daaf9;const _0x275b9b=(_0x3daaf9=(_0x106904=this[_0x2cbc16(0x2c3)][_0x2cbc16(0x1ae)](this[_0x2cbc16(0x363)]))==null?void 0x0:_0x106904[_0x2cbc16(0x1da)](_0x34915e))==null?void 0x0:_0x3daaf9[_0x2cbc16(0x2b9)]();return(_0x275b9b==null?void 0x0:_0x275b9b[_0x2cbc16(0x2f4)](_0x135e22=>_0x475e9c[_0x2cbc16(0x2c1)][_0x2cbc16(0x1db)](_0x135e22,_0x4e4c4b)))||_0x4e4c4b;}[_0x4bdeea(0x34f)](){const _0x2b0451=_0x4bdeea,_0x356f08=new _0x475e9c['DisposableCollection'](),_0x3ed131=_0xc75a36(),_0x282a65=()=>{const _0x5b65e1=_0x1da8;_0x356f08[_0x5b65e1(0x2b3)]();const _0xac3124=(_0x29ca6a,_0x9189cc,_0x5b29d9,_0x1244fe)=>{const _0x555f06=_0x5b65e1;let _0x377c9=[];switch(_0x29ca6a['id']){case _0x582ac3[_0x555f06(0x2c7)]['DeleteRangeMoveLeftCommandId']:{_0x377c9=_0x582ac3[_0x555f06(0x15a)](_0x29ca6a,_0x1244fe);break;}case _0x582ac3[_0x555f06(0x2c7)][_0x555f06(0x2a2)]:{_0x377c9=_0x582ac3[_0x555f06(0x235)](_0x29ca6a,_0x1244fe);break;}case _0x582ac3[_0x555f06(0x2c7)][_0x555f06(0xc5)]:{_0x377c9=_0x582ac3[_0x555f06(0x141)](_0x29ca6a,_0x1244fe);break;}case _0x582ac3[_0x555f06(0x2c7)][_0x555f06(0x279)]:{_0x377c9=_0x582ac3[_0x555f06(0x362)](_0x29ca6a,_0x1244fe);break;}case _0x582ac3[_0x555f06(0x2c7)][_0x555f06(0x34c)]:{_0x377c9=_0x582ac3[_0x555f06(0x23d)](_0x29ca6a,_0x1244fe);break;}case _0x582ac3[_0x555f06(0x2c7)][_0x555f06(0x15b)]:{_0x377c9=_0x582ac3[_0x555f06(0xed)](_0x29ca6a,_0x1244fe);break;}case _0x582ac3[_0x555f06(0x2c7)]['MoveRangeCommandId']:{_0x377c9=_0x582ac3[_0x555f06(0x1f9)](_0x29ca6a,_0x1244fe);break;}case _0x582ac3['EffectRefRangId'][_0x555f06(0x28b)]:{_0x377c9=_0x582ac3[_0x555f06(0x16b)](_0x29ca6a,_0x1244fe);break;}case _0x582ac3[_0x555f06(0x2c7)]['RemoveRowCommandId']:{_0x377c9=_0x582ac3[_0x555f06(0x2aa)](_0x29ca6a,_0x1244fe);break;}}const _0x54f1a2=_0x582ac3[_0x555f06(0x18f)](_0x377c9,_0x1244fe),_0x55d4f3=this[_0x555f06(0x13b)][_0x555f06(0xce)](_0x9189cc);if(_0x55d4f3&&_0x54f1a2){const _0x548746={..._0x55d4f3,'range':_0x54f1a2};this[_0x555f06(0x13b)][_0x555f06(0x28c)](_0x9189cc,_0x548746),_0x3ed131(()=>{const _0x425f32=_0x555f06,_0x40c60c=this['_refRangeService']['registerRefRange'](_0x54f1a2,_0x2a38fe=>(_0x40c60c[_0x425f32(0x2b3)](),_0xac3124(_0x2a38fe,_0x9189cc,_0x5b29d9,_0x54f1a2)));_0x356f08[_0x425f32(0x262)](_0x40c60c);});}return{'redos':[],'undos':[]};};this[_0x5b65e1(0x13b)][_0x5b65e1(0x120)]((_0xa227c,_0x42db93)=>{const _0x4b4815=_0x5b65e1,{range:_0x721943,sheetID:_0x4aea33}=_0xa227c,_0x8a08ca=this[_0x4b4815(0xf0)]['registerRefRange'](_0x721943,_0x47893f=>(_0x8a08ca['dispose'](),_0xac3124(_0x47893f,_0x42db93,_0x4aea33,_0x721943)));_0x356f08[_0x4b4815(0x262)](_0x8a08ca);});};this['disposeWithMe'](_0x475e9c[_0x2b0451(0x2d2)](this['_cursorInfo$'][_0x2b0451(0x139)](()=>{_0x282a65();})));}[_0x4bdeea(0x182)](){const _0x1fd3a9=_0x4bdeea;var _0x2bc610,_0x5a47fe;if(this['_online']=!0x0,((_0x2bc610=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x2bc610[_0x1fd3a9(0x187)]())!==this['unitID'])return;const _0x401dad=(_0x5a47fe=this[_0x1fd3a9(0x275)][_0x1fd3a9(0xce)](_0x582ac3[_0x1fd3a9(0x104)])[_0x1fd3a9(0x297)]())==null?void 0x0:_0x5a47fe[0x0],_0x2ed90f=this[_0x1fd3a9(0x2c3)][_0x1fd3a9(0xda)](_0x475e9c[_0x1fd3a9(0x2f6)]['UNIVER_SHEET'])[_0x1fd3a9(0x251)]();_0x401dad&&_0x2ed90f&&this[_0x1fd3a9(0x34a)](_0x2ed90f[_0x1fd3a9(0x17e)](),_0x401dad);}[_0x4bdeea(0x204)](){const _0x161891=_0x4bdeea;this[_0x161891(0x26d)]=!0x1;}};_0x1f3719=_0x1fa09d([_0x2f1179(0x2,_0x475e9c[_0x4bdeea(0x227)](_0x475e9c['Injector'])),_0x2f1179(0x3,_0x475e9c['Inject'](_0x522a8d)),_0x2f1179(0x4,_0x475e9c[_0x4bdeea(0x227)](_0x3f5c1e['MemberService'])),_0x2f1179(0x5,_0x475e9c[_0x4bdeea(0x148)]),_0x2f1179(0x6,_0x475e9c[_0x4bdeea(0xc2)]),_0x2f1179(0x7,_0x475e9c[_0x4bdeea(0x227)](_0x582ac3['RefRangeService']))],_0x1f3719);var _0x145ee6=Object['getOwnPropertyDescriptor'],_0x153e16=(_0x4c6004,_0x3e1495,_0x205c67,_0x2771cd)=>{const _0x4bbe86=_0x4bdeea;for(var _0x154da0=_0x2771cd>0x1?void 0x0:_0x2771cd?_0x145ee6(_0x3e1495,_0x205c67):_0x3e1495,_0x2336bc=_0x4c6004[_0x4bbe86(0x228)]-0x1,_0x36b40a;_0x2336bc>=0x0;_0x2336bc--)(_0x36b40a=_0x4c6004[_0x2336bc])&&(_0x154da0=_0x36b40a(_0x154da0)||_0x154da0);return _0x154da0;},_0xeb27ab=(_0x2a9328,_0x1f0485)=>(_0x293b54,_0x4ea7f3)=>_0x1f0485(_0x293b54,_0x4ea7f3,_0x2a9328);let _0x8c6cd6=class extends _0x475e9c[_0x4bdeea(0xf7)]{constructor(_0x5978bd,_0xd3fa98,_0x474626){const _0x1bd9d3=_0x4bdeea;super(),_0x38f5b4(this,_0x1bd9d3(0xca),new Map()),_0x38f5b4(this,'_entityInit$',new _0x408ff3[(_0x1bd9d3(0x27d))]()),(this['_univerInstanceService']=_0x5978bd,this['_injector']=_0xd3fa98,this[_0x1bd9d3(0x1d1)]=_0x474626,this[_0x1bd9d3(0x2de)]());}[_0x4bdeea(0x2b3)](){const _0x12fbbd=_0x4bdeea;super[_0x12fbbd(0x2b3)](),this[_0x12fbbd(0xe1)][_0x12fbbd(0xec)](),this[_0x12fbbd(0xca)][_0x12fbbd(0x120)](_0x180834=>_0x180834['dispose']());}[_0x4bdeea(0x2c4)](_0x2f75a3){const _0x451b17=_0x4bdeea;return this['_entities'][_0x451b17(0x341)](_0x2f75a3)?this[_0x451b17(0xca)]['get'](_0x2f75a3)[_0x451b17(0x29d)]:this['_entityInit$'][_0x451b17(0x122)](_0x408ff3[_0x451b17(0x1f2)](_0x3e5ed0=>_0x3e5ed0[_0x451b17(0x363)]===_0x2f75a3),_0x408ff3[_0x451b17(0x308)](_0xf39cc1=>_0xf39cc1[_0x451b17(0x29d)]));}[_0x4bdeea(0x2de)](){const _0x51e6bd=_0x4bdeea;this[_0x51e6bd(0x2c3)][_0x51e6bd(0x302)](_0x475e9c[_0x51e6bd(0x2f6)][_0x51e6bd(0x119)])[_0x51e6bd(0x122)](_0x408ff3[_0x51e6bd(0x353)](this[_0x51e6bd(0x246)]))['subscribe'](async _0x5d51d4=>{const _0x56857c=_0x51e6bd,_0x5f4d30=_0x5d51d4[_0x56857c(0x187)](),_0x366fb3=await this[_0x56857c(0x159)](_0x5f4d30);this[_0x56857c(0xe1)][_0x56857c(0x22a)](_0x366fb3),this[_0x56857c(0xca)][_0x56857c(0x28c)](_0x5f4d30,_0x366fb3);}),this[_0x51e6bd(0x2c3)]['getTypeOfUnitAdded$'](_0x475e9c[_0x51e6bd(0x2f6)][_0x51e6bd(0xe4)])[_0x51e6bd(0x122)](_0x408ff3['takeUntil'](this[_0x51e6bd(0x246)]))[_0x51e6bd(0x122)](_0x408ff3[_0x51e6bd(0x1f2)](_0x4a4842=>!_0x4a4842[_0x51e6bd(0x187)]()['startsWith']('__')))['subscribe'](async _0x4bae4b=>{const _0xa3ee21=_0x51e6bd,_0x3d2143=_0x4bae4b[_0xa3ee21(0x187)](),_0xaafe5f=await this[_0xa3ee21(0x213)](_0x3d2143);this['_entityInit$'][_0xa3ee21(0x22a)](_0xaafe5f),this[_0xa3ee21(0xca)][_0xa3ee21(0x28c)](_0x3d2143,_0xaafe5f);}),_0x408ff3[_0x51e6bd(0x2e7)](this[_0x51e6bd(0x2c3)]['getTypeOfUnitDisposed$'](_0x475e9c[_0x51e6bd(0x2f6)]['UNIVER_DOC']),this[_0x51e6bd(0x2c3)][_0x51e6bd(0x287)](_0x475e9c[_0x51e6bd(0x2f6)][_0x51e6bd(0x119)]))['pipe'](_0x408ff3[_0x51e6bd(0x353)](this[_0x51e6bd(0x246)]))['subscribe'](_0x423075=>{const _0xdb47b8=_0x51e6bd,_0x5e3cf5=_0x423075[_0xdb47b8(0x187)](),_0x4055af=this[_0xdb47b8(0xca)][_0xdb47b8(0xce)](_0x5e3cf5);_0x4055af&&(_0x4055af[_0xdb47b8(0x2b3)](),this[_0xdb47b8(0xca)][_0xdb47b8(0x1c3)](_0x5e3cf5));});}async[_0x4bdeea(0x159)](_0x4c18c8){const _0x50ddbf=_0x4bdeea,_0x82ec27=await this[_0x50ddbf(0x1d1)][_0x50ddbf(0x345)](_0x4c18c8),_0x10bf2a=this[_0x50ddbf(0x275)][_0x50ddbf(0x118)](_0x1f3719,_0x4c18c8,_0x82ec27);return _0x10bf2a['init'](),_0x10bf2a;}async['_startDocCollabCursor'](_0x220e09){const _0x5d5a2a=_0x4bdeea,_0x2c3e3a=await this['_collabSessionService'][_0x5d5a2a(0x345)](_0x220e09),_0x41647d=this[_0x5d5a2a(0x275)][_0x5d5a2a(0x118)](_0x191d1d,_0x220e09,_0x2c3e3a);return _0x41647d[_0x5d5a2a(0x12c)](),_0x41647d;}};_0x8c6cd6=_0x153e16([_0xeb27ab(0x0,_0x475e9c[_0x4bdeea(0x148)]),_0xeb27ab(0x1,_0x475e9c[_0x4bdeea(0x227)](_0x475e9c[_0x4bdeea(0x35a)])),_0xeb27ab(0x2,_0x475e9c[_0x4bdeea(0x227)](_0x3f5c1e[_0x4bdeea(0xfa)]))],_0x8c6cd6);const _0x3521ff=0x14,_0x1a4918=0xc8,_0xbffa67=0x4,_0x3c8725=0x5;function _0x2eac66(_0x296b71,_0x484209){const _0x1c11e2=_0x4bdeea;let {radius:_0x31ac11,width:_0x52d858,height:_0x3ea34f}=_0x484209;_0x31ac11=_0x31ac11!=null?_0x31ac11:0x0,_0x52d858=_0x52d858!=null?_0x52d858:0x1e,_0x3ea34f=_0x3ea34f!=null?_0x3ea34f:0x1e;let _0x29e1ec=0x0,_0x3781a6=0x0,_0x393350=0x0;_0x29e1ec=_0x3781a6=_0x393350=Math[_0x1c11e2(0x1b7)](_0x31ac11,_0x52d858/0x2,_0x3ea34f/0x2),_0x296b71[_0x1c11e2(0xd9)](),_0x296b71[_0x1c11e2(0x325)](_0x29e1ec,0x0),_0x296b71[_0x1c11e2(0x357)](_0x52d858-_0x3781a6,0x0),_0x296b71[_0x1c11e2(0x150)](_0x52d858-_0x3781a6,_0x3781a6,_0x3781a6,Math['PI']*0x3/0x2,0x0,!0x1),_0x296b71['lineTo'](_0x52d858,_0x3ea34f-_0x393350),_0x296b71[_0x1c11e2(0x150)](_0x52d858-_0x393350,_0x3ea34f-_0x393350,_0x393350,0x0,Math['PI']/0x2,!0x1),_0x296b71['lineTo'](0x0,_0x3ea34f),_0x296b71[_0x1c11e2(0x357)](0x0,_0x29e1ec),_0x296b71[_0x1c11e2(0x150)](_0x29e1ec,_0x29e1ec,_0x29e1ec,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x296b71[_0x1c11e2(0x1af)](),_0x484209['fill']&&(_0x296b71['save'](),_0x296b71[_0x1c11e2(0x2a7)]=_0x484209[_0x1c11e2(0x2bc)],_0x484209[_0x1c11e2(0x30c)]===_0x1c11e2(0x21b)?_0x296b71['fill'](_0x1c11e2(0x21b)):_0x296b71['fill'](),_0x296b71[_0x1c11e2(0x15c)]());}class _0x382574 extends _0x577de9[_0x4bdeea(0x19a)]{constructor(_0x3885b8,_0x1b279c){const _0x47b841=_0x4bdeea;super(_0x3885b8,_0x1b279c),_0x38f5b4(this,_0x47b841(0x201)),_0x38f5b4(this,_0x47b841(0x237)),(this[_0x47b841(0x201)]=_0x1b279c==null?void 0x0:_0x1b279c['color'],this['text']=_0x1b279c==null?void 0x0:_0x1b279c[_0x47b841(0x237)]);}static[_0x4bdeea(0x32e)](_0x22324f,_0xaa67c6){const _0xad8722=_0x4bdeea,{text:_0x230f71,color:_0x4f58ba}=_0xaa67c6;_0x22324f[_0xad8722(0x1c7)](),_0x22324f['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x53dbaf=_0x22324f[_0xad8722(0x24c)](_0x230f71)[_0xad8722(0x113)],_0x3b449e=Math[_0xad8722(0x1b7)](_0x53dbaf+0x2*_0xbffa67,_0x1a4918);_0x2eac66(_0x22324f,{'height':_0x3521ff,'radius':0x4,'width':_0x3b449e,'fill':_0x4f58ba}),_0x22324f[_0xad8722(0x2a7)]=_0xad8722(0x1ea);const _0x37ef68=_0xbffa67,_0x307d92=_0x3521ff-_0x3c8725,_0x511559=_0x1a4918-0x2*_0xbffa67;if(_0x53dbaf>_0x511559){let _0x394f64='',_0xb3da5=0x0;for(const _0x5c911a of _0x230f71){const _0x13d67d=_0x22324f[_0xad8722(0x24c)](_0x5c911a)[_0xad8722(0x113)];if(_0xb3da5+_0x13d67d<=_0x511559-_0x22324f[_0xad8722(0x24c)](_0xad8722(0x2e9))[_0xad8722(0x113)])_0x394f64+=_0x5c911a,_0xb3da5+=_0x13d67d;else{_0x394f64+='...';break;}}_0x22324f[_0xad8722(0x2bb)](_0x394f64,_0x37ef68,_0x307d92);}else _0x22324f[_0xad8722(0x2bb)](_0x230f71,_0x37ef68,_0x307d92);_0x22324f['restore']();}[_0x4bdeea(0x2b0)](_0x20737e){const _0x1fd2dd=_0x4bdeea;_0x382574[_0x1fd2dd(0x32e)](_0x20737e,this);}}const _0x5725ae='collab-text-anchor-',_0x4d38a1=_0x4bdeea(0x31f),_0xae86d8=_0x4bdeea(0x229),_0x18f906=0x6,_0x171dc6=1.5,_0x53927f=0x4,_0x3ed016=1.5,_0x2efc27=_0x4bdeea(0x33f);class _0x5ad818{constructor(_0x6ba93c,_0x1edfff,_0x629c42,_0x38f59e){const _0x3e782f=_0x4bdeea;_0x38f5b4(this,_0x3e782f(0x117),[]),_0x38f5b4(this,_0x3e782f(0x253),null),_0x38f5b4(this,_0x3e782f(0x166),null),_0x38f5b4(this,_0x3e782f(0x212),null),_0x38f5b4(this,_0x3e782f(0x1b6),null),_0x38f5b4(this,_0x3e782f(0x278),null),(this[_0x3e782f(0xc9)]=_0x6ba93c,this[_0x3e782f(0x2d6)]=_0x1edfff,this['_docSkeleton']=_0x629c42,this['_document']=_0x38f59e,this[_0x3e782f(0x239)]());}set[_0x4bdeea(0x254)](_0x3d9a1a){const _0x3fd8a2=_0x4bdeea;_0x3d9a1a?(this[_0x3fd8a2(0x212)]&&this[_0x3fd8a2(0x212)][_0x3fd8a2(0xc6)](),this[_0x3fd8a2(0x166)]&&this['_textBubble']['show']()):(this['_anchorDot']&&this[_0x3fd8a2(0x212)][_0x3fd8a2(0x346)](),this['_textBubble']&&this[_0x3fd8a2(0x166)][_0x3fd8a2(0xc6)]());}[_0x4bdeea(0x2b3)](){const _0x980443=_0x4bdeea;for(const _0x562470 of this[_0x980443(0x117)])_0x562470['dispose']();this[_0x980443(0x166)]&&this[_0x980443(0x166)]['dispose'](),this[_0x980443(0x212)]&&this[_0x980443(0x212)][_0x980443(0x2b3)](),this[_0x980443(0x253)]&&this['_anchor'][_0x980443(0x2b3)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x4bdeea(0x239)](){const _0x3d0f9f=_0x4bdeea;var _0x4e76c9;const {_docSkeleton:_0x5e3b28,_document:_0x4513a2}=this,{color:_0x2fa037,name:_0x382722,ranges:_0x2c6cb6}=this[_0x3d0f9f(0xc9)],_0x14d4b1=_0x4513a2[_0x3d0f9f(0x26c)](),{docsLeft:_0x31e9f7,docsTop:_0x25e089}=_0x14d4b1,_0x2ae5a2=new _0x122cd9['NodePositionConvertToCursor'](_0x14d4b1,_0x5e3b28);for(const {startOffset:_0x2c22e5,endOffset:_0x280d65,rangeType:_0x31a58c,segmentId:_0x413e0b,segmentPage:_0x31ffcb,collapsed:_0x33f79c,isActive:_0x2a927c}of _0x2c6cb6){const _0x2b113f=_0x5e3b28[_0x3d0f9f(0x205)](_0x2c22e5,!0x0,_0x413e0b,_0x31ffcb);let _0x195686=_0x5e3b28[_0x3d0f9f(0x205)](_0x280d65,!0x0,_0x413e0b,_0x31ffcb);if(_0x195686==null&&(_0x195686=_0x5e3b28[_0x3d0f9f(0x205)](_0x280d65-0x1,!0x1,_0x413e0b,_0x31ffcb)),_0x2a927c){const {contentBoxPointGroup:_0x1e9ff1}=_0x2ae5a2[_0x3d0f9f(0x1ac)](_0x195686,_0x195686);if(_0x1e9ff1[_0x3d0f9f(0x228)]===0x0)continue;this[_0x3d0f9f(0x20c)](_0x2fa037,_0x1e9ff1,_0x31e9f7,_0x25e089,_0x382722),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x2b113f&&_0x195686){if(_0x31a58c===_0x475e9c[_0x3d0f9f(0x16f)][_0x3d0f9f(0x1ba)]){const _0x582eca=new _0x122cd9[(_0x3d0f9f(0xcc))](_0x14d4b1,_0x5e3b28),{pointGroup:_0x26b49b}=(_0x4e76c9=_0x582eca[_0x3d0f9f(0x1ac)](_0x2b113f,_0x195686))!=null?_0x4e76c9:{};if(_0x26b49b==null||_0x26b49b['length']===0x0)continue;this['_drawRectRange'](_0x2fa037,_0x26b49b,_0x31e9f7,_0x25e089);}else{if(!_0x33f79c){const {borderBoxPointGroup:_0x10afe0}=_0x2ae5a2[_0x3d0f9f(0x1ac)](_0x2b113f,_0x195686);if(_0x10afe0[_0x3d0f9f(0x228)]===0x0)continue;this[_0x3d0f9f(0x226)](_0x2fa037,_0x10afe0,_0x31e9f7,_0x25e089);}}}}}[_0x4bdeea(0x20c)](_0x14f4d7,_0x4bd080,_0x2f687c,_0x5b0bd2,_0x2eae81){const _0x599027=_0x4bdeea,_0x1f2612=this[_0x599027(0x1ff)](_0x4bd080),{left:_0x34005f,top:_0x29718f,height:_0x4a0e0b}=_0x1f2612,_0x3f51f2=this[_0x599027(0x29c)](),_0x59f579=_0x3ed016/_0x3f51f2,_0x28b672=new _0x577de9[(_0x599027(0xf2))](_0x5725ae+_0x475e9c['Tools'][_0x599027(0x2b1)](_0x18f906),{'left':_0x34005f+_0x2f687c-_0x59f579,'top':_0x29718f+_0x5b0bd2,'height':_0x4a0e0b,'width':_0x171dc6,'fill':_0x14f4d7||_0x577de9[_0x599027(0x316)](_0x475e9c[_0x599027(0x1a8)][_0x599027(0x342)],0x0),'strokeWidth':_0x59f579,'stroke':_0x2efc27,'evented':!0x0});this[_0x599027(0x253)]=_0x28b672,this[_0x599027(0x2d6)][_0x599027(0x2fe)](_0x28b672,_0x122cd9[_0x599027(0xdc)]);const _0x2e8a9d=new _0x577de9[(_0x599027(0xf2))](_0x5725ae+_0x475e9c[_0x599027(0x1df)]['generateRandomId'](_0x18f906),{'left':_0x34005f+_0x2f687c-_0x59f579,'top':_0x29718f+_0x5b0bd2-_0x53927f/0x2,'height':_0x53927f,'width':_0x53927f,'fill':_0x14f4d7||_0x577de9[_0x599027(0x316)](_0x475e9c[_0x599027(0x1a8)][_0x599027(0x342)],0x0),'strokeWidth':0x0,'stroke':_0x14f4d7||_0x577de9['getColor'](_0x475e9c[_0x599027(0x1a8)][_0x599027(0x342)],0x0),'evented':!0x1});this['_anchorDot']=_0x2e8a9d,this['_scene'][_0x599027(0x2fe)](_0x2e8a9d,_0x122cd9[_0x599027(0xdc)]);const _0x2a48de=new _0x382574(_0x5725ae+_0x475e9c['Tools'][_0x599027(0x2b1)](_0x18f906),{'left':_0x34005f+_0x2f687c-_0x59f579,'top':_0x29718f+_0x5b0bd2-_0x3521ff,'text':_0x2eae81,'color':_0x14f4d7});this[_0x599027(0x166)]=_0x2a48de,this['_scene'][_0x599027(0x2fe)](_0x2a48de,_0x122cd9[_0x599027(0xdc)]),this[_0x599027(0x254)]=!0x1;}[_0x4bdeea(0x231)](){const _0xa9c4cf=_0x4bdeea,_0x57446b=this['_anchor'][_0xa9c4cf(0x2f1)][_0xa9c4cf(0x203)](()=>{this['_hover']=!0x0;}),_0x11f362=this[_0xa9c4cf(0x253)][_0xa9c4cf(0x312)]['subscribeEvent'](()=>{const _0x9bece0=_0xa9c4cf;this[_0x9bece0(0x1b6)]&&clearTimeout(this['_hideTimer']),this[_0x9bece0(0x1b6)]=setTimeout(()=>{const _0x4098b8=_0x9bece0;this[_0x4098b8(0x254)]=!0x1;},0x7d0);});return()=>{const _0x89d638=_0xa9c4cf;_0x57446b['unsubscribe'](),_0x11f362[_0x89d638(0x23f)]();};}['_drawTextRange'](_0x406817,_0x58d509,_0x2288fb,_0x2f59de){const _0x4112bc=_0x4bdeea,_0x39e4f9=new _0x475e9c[(_0x4112bc(0x27f))](_0x406817)[_0x4112bc(0x31a)](0.2)[_0x4112bc(0x1dd)](),_0x3fccd3=new _0x577de9['RegularPolygon'](_0x4d38a1+_0x475e9c[_0x4112bc(0x1df)][_0x4112bc(0x2b1)](_0x18f906),{'pointsGroup':_0x58d509,'fill':_0x39e4f9||_0x577de9[_0x4112bc(0x316)](_0x475e9c[_0x4112bc(0x1a8)][_0x4112bc(0x342)],0.2),'left':_0x2288fb,'top':_0x2f59de,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x3fccd3),this['_scene']['addObject'](_0x3fccd3,_0x122cd9[_0x4112bc(0xdc)]);}[_0x4bdeea(0x27b)](_0x500fb5,_0x1aea50,_0x59de55,_0x2392da){const _0x645a1a=_0x4bdeea,_0x575afd=new _0x475e9c[(_0x645a1a(0x27f))](_0x500fb5)[_0x645a1a(0x31a)](0.2)['toRgbString'](),_0x253398=new _0x577de9[(_0x645a1a(0x2ee))](_0xae86d8+_0x475e9c[_0x645a1a(0x1df)][_0x645a1a(0x2b1)](_0x18f906),{'pointsGroup':_0x1aea50,'fill':_0x575afd||_0x577de9[_0x645a1a(0x316)](_0x475e9c[_0x645a1a(0x1a8)][_0x645a1a(0x342)],0.2),'left':_0x59de55,'top':_0x2392da,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x645a1a(0x117)][_0x645a1a(0x149)](_0x253398),this[_0x645a1a(0x2d6)][_0x645a1a(0x2fe)](_0x253398,_0x122cd9[_0x645a1a(0xdc)]);}[_0x4bdeea(0x1ff)](_0x48d4b4){const _0x101cdd=_0x48d4b4[0x0],_0xfc2bde=_0x101cdd[0x0],_0x198d9c=_0x101cdd[0x2],{x:_0xad6f85,y:_0x2c7323}=_0xfc2bde,{x:_0x1d4332,y:_0x17bafb}=_0x198d9c;return{'left':_0xad6f85,'top':_0x2c7323,'width':_0x1d4332-_0xad6f85,'height':_0x17bafb-_0x2c7323};}[_0x4bdeea(0x29c)](){const _0x28b34c=_0x4bdeea,{scaleX:_0x140c15,scaleY:_0x11d32f}=this[_0x28b34c(0x2d6)][_0x28b34c(0x24d)]();return Math[_0x28b34c(0x193)](_0x140c15,_0x11d32f);}}var _0x19854c=Object['getOwnPropertyDescriptor'],_0xa108f6=(_0x3e1e7d,_0x983063,_0x26cd48,_0x48bb9f)=>{const _0xf2709b=_0x4bdeea;for(var _0x15e703=_0x48bb9f>0x1?void 0x0:_0x48bb9f?_0x19854c(_0x983063,_0x26cd48):_0x983063,_0x53cfa5=_0x3e1e7d[_0xf2709b(0x228)]-0x1,_0x426042;_0x53cfa5>=0x0;_0x53cfa5--)(_0x426042=_0x3e1e7d[_0x53cfa5])&&(_0x15e703=_0x426042(_0x15e703)||_0x15e703);return _0x15e703;},_0x4477ae=(_0x179018,_0x5af130)=>(_0x5ad036,_0x1a9cb8)=>_0x5af130(_0x5ad036,_0x1a9cb8,_0x179018);let _0x30f02b=class extends _0x475e9c[_0x4bdeea(0xf7)]{constructor(_0x2705dd,_0x3adb76,_0x1f5b51,_0x2384c9,_0xd8b783){const _0x263dd0=_0x4bdeea;super(),_0x38f5b4(this,_0x263dd0(0x16c),[]),_0x38f5b4(this,'_cursors',[]),(this['_context']=_0x2705dd,this['_docSkeletonManagerService']=_0x3adb76,this[_0x263dd0(0x2c2)]=_0x1f5b51,this[_0x263dd0(0x315)]=_0x2384c9,this[_0x263dd0(0x245)]=_0xd8b783,this[_0x263dd0(0x2de)]());}[_0x4bdeea(0x2de)](){const _0x47b597=_0x4bdeea,_0x2d62c5=this[_0x47b597(0x35f)][_0x47b597(0x263)],_0x31b0e1=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x408ff3[_0x47b597(0x30b)]([this[_0x47b597(0x2c2)]['getCollabCursors$'](_0x2d62c5),this[_0x47b597(0x245)][_0x47b597(0x127)]])[_0x47b597(0x122)](_0x464a63[_0x47b597(0x112)](([_0x458de0,_0x59b60b])=>({'skeleton':_0x31b0e1[_0x47b597(0xd8)](),'cursors':[..._0x458de0[_0x47b597(0x350)]()][_0x47b597(0x13d)](_0x14f955=>({..._0x14f955,'color':this['_themeService']['getColorFromTheme'](_0x14f955[_0x47b597(0x201)])}))})))['subscribe'](_0x58f73c=>{if(this['_removeCollabCursors'](),_0x58f73c){const {skeleton:_0x55a3ff,cursors:_0x286db4}=_0x58f73c;this['_updateCollabCursors'](_0x55a3ff,_0x286db4);}})),this[_0x47b597(0x160)](),this[_0x47b597(0x281)]();}[_0x4bdeea(0x1d5)](_0x2623a9,_0x4931a9){const _0x18f72c=_0x4bdeea,{scene:_0x5b3402,mainComponent:_0x4ab1f0}=this['_context'],_0x4867e5=_0x4931a9[_0x18f72c(0x112)](_0x15f65b=>new _0x5ad818(_0x15f65b,_0x5b3402,_0x2623a9,_0x4ab1f0));this[_0x18f72c(0x16c)]=_0x4867e5,this[_0x18f72c(0x170)]=_0x4931a9;}[_0x4bdeea(0x16d)](){const _0x73a3e6=_0x4bdeea;this[_0x73a3e6(0x21f)]();const {scene:_0x32151e,mainComponent:_0x2ea671}=this[_0x73a3e6(0x35f)],_0x5eaece=this[_0x73a3e6(0x17f)][_0x73a3e6(0xd8)](),_0x3e23dc=this['_cursors']['map'](_0x5a6fa6=>new _0x5ad818(_0x5a6fa6,_0x32151e,_0x5eaece,_0x2ea671));this[_0x73a3e6(0x16c)]=_0x3e23dc;}[_0x4bdeea(0x21f)](){const _0x4f60ae=_0x4bdeea;this[_0x4f60ae(0x16c)][_0x4f60ae(0x120)](_0x5e6f89=>_0x5e6f89[_0x4f60ae(0x2b3)]()),this[_0x4f60ae(0x16c)]=[];}[_0x4bdeea(0x281)](){const _0x2f16fb=_0x4bdeea,_0xe5bde8=[_0x122cd9[_0x2f16fb(0x334)]['id']];this[_0x2f16fb(0x102)](this[_0x2f16fb(0x315)][_0x2f16fb(0x25d)](_0x3eb810=>{const _0x883c11=_0x2f16fb;_0xe5bde8[_0x883c11(0x1f8)](_0x3eb810['id'])&&_0x3eb810[_0x883c11(0x270)][_0x883c11(0x263)]===this['_context'][_0x883c11(0x263)]&&this[_0x883c11(0x16d)]();}));}['_initResize'](){const _0x539e38=_0x4bdeea;this[_0x539e38(0x102)](_0x475e9c['fromEventSubject'](this[_0x539e38(0x35f)][_0x539e38(0x14e)][_0x539e38(0x1a9)])[_0x539e38(0x122)](_0x464a63[_0x539e38(0x1f2)](_0x5fb705=>_0x5fb705[_0x539e38(0x185)]===_0x577de9[_0x539e38(0x1a2)]['resize']),_0x464a63[_0x539e38(0x1bb)](0x10))[_0x539e38(0x139)](()=>{this['_refreshCollabCursors']();}));}};_0x30f02b=_0xa108f6([_0x4477ae(0x1,_0x475e9c[_0x4bdeea(0x227)](_0x6b29d3['DocSkeletonManagerService'])),_0x4477ae(0x2,_0x475e9c[_0x4bdeea(0x227)](_0x8c6cd6)),_0x4477ae(0x3,_0x475e9c[_0x4bdeea(0xc2)]),_0x4477ae(0x4,_0x475e9c[_0x4bdeea(0x227)](_0x475e9c[_0x4bdeea(0x292)]))],_0x30f02b);const _0x5d4038=0x1,_0x4b782a=1.5;class _0x51894d extends _0x577de9[_0x4bdeea(0x19a)]{constructor(_0x16effd,_0x2120da){const _0x40cc02=_0x4bdeea;super(_0x16effd,_0x2120da),_0x38f5b4(this,_0x40cc02(0x1bc)),_0x38f5b4(this,_0x40cc02(0x35b),!0x1),_0x38f5b4(this,_0x40cc02(0x271)),_0x38f5b4(this,_0x40cc02(0x285),''),_0x38f5b4(this,_0x40cc02(0xe0),_0x40cc02(0x21c)),_0x38f5b4(this,_0x40cc02(0x167)),(_0x2120da&&this[_0x40cc02(0x17c)](_0x2120da),this[_0x40cc02(0x2f1)]['subscribeEvent'](()=>this[_0x40cc02(0x17c)]({'hovered':!0x0})),this[_0x40cc02(0x312)][_0x40cc02(0x203)](()=>this[_0x40cc02(0x17c)]({'hovered':!0x1})));}[_0x4bdeea(0x17c)](_0x4ecf41){const _0x44eaad=_0x4bdeea;var _0x190540,_0x1fef87,_0x479f10,_0x5556c5,_0xf4b04,_0x4f644a;this[_0x44eaad(0x1bc)]=(_0x190540=_0x4ecf41[_0x44eaad(0x201)])!=null?_0x190540:this[_0x44eaad(0x1bc)],this[_0x44eaad(0x35b)]=(_0x1fef87=_0x4ecf41['hovered'])!=null?_0x1fef87:this[_0x44eaad(0x35b)],this[_0x44eaad(0x271)]=(_0x479f10=_0x4ecf41[_0x44eaad(0x163)])!=null?_0x479f10:this[_0x44eaad(0x271)],this[_0x44eaad(0x285)]=(_0x5556c5=_0x4ecf41[_0x44eaad(0x19d)])!=null?_0x5556c5:this['_name'],this[_0x44eaad(0xe0)]=(_0xf4b04=_0x4ecf41[_0x44eaad(0x1b1)])!=null?_0xf4b04:this[_0x44eaad(0xe0)],this[_0x44eaad(0x167)]=(_0x4f644a=_0x4ecf41[_0x44eaad(0x326)])!=null?_0x4f644a:this[_0x44eaad(0x167)],this[_0x44eaad(0xee)]({'width':_0x4ecf41[_0x44eaad(0x113)],'height':_0x4ecf41['height']});}[_0x4bdeea(0x336)](_0x3b3778){const _0x4fb6e6=_0x4bdeea,{row:_0x30f17a,column:_0x1730aa}=_0x3b3778;if(_0x30f17a>=this[_0x4fb6e6(0x271)]['startRow']&&_0x30f17a<=this[_0x4fb6e6(0x271)][_0x4fb6e6(0x144)]&&_0x1730aa>=this[_0x4fb6e6(0x271)]['startColumn']&&_0x1730aa<=this[_0x4fb6e6(0x271)]['endColumn']){this[_0x4fb6e6(0x17c)]({'hovered':!0x0});return;}this[_0x4fb6e6(0x17c)]({'hovered':!0x1});}[_0x4bdeea(0x2a4)](_0x350bb0){return!0x1;}[_0x4bdeea(0x2b0)](_0x33488a){const _0xb7550=_0x4bdeea;_0x577de9[_0xb7550(0xf2)][_0xb7550(0x32e)](_0x33488a,{'width':this['width'],'height':this['height'],'strokeWidth':_0x4b782a,'stroke':this[_0xb7550(0x1bc)],'evented':!0x1,'fill':this[_0xb7550(0x167)]}),this[_0xb7550(0x35b)]&&(_0x33488a[_0xb7550(0x1c7)](),_0x33488a[_0xb7550(0x123)](0x1,0x0,0x0,0x1,this[_0xb7550(0x113)],this[_0xb7550(0xe0)]==='bottom'?0x0:-0x14),_0x382574[_0xb7550(0x32e)](_0x33488a,{'text':this[_0xb7550(0x285)],'color':this[_0xb7550(0x1bc)]}),_0x33488a['restore']());}}var _0x46e24b=Object[_0x4bdeea(0x1f6)],_0x34fda3=(_0x3c7f61,_0x50e4e2,_0xe61d6f,_0x2f0210)=>{for(var _0x15af46=_0x2f0210>0x1?void 0x0:_0x2f0210?_0x46e24b(_0x50e4e2,_0xe61d6f):_0x50e4e2,_0x2b816e=_0x3c7f61['length']-0x1,_0x2a4d5b;_0x2b816e>=0x0;_0x2b816e--)(_0x2a4d5b=_0x3c7f61[_0x2b816e])&&(_0x15af46=_0x2a4d5b(_0x15af46)||_0x15af46);return _0x15af46;},_0x2c97cd=(_0x2f9df6,_0x56391d)=>(_0x74c9f1,_0x4b96db)=>_0x56391d(_0x74c9f1,_0x4b96db,_0x2f9df6);const _0x1a67e8=0x1389;let _0xb6364d=class extends _0x475e9c[_0x4bdeea(0xf7)]{constructor(_0x1fce1b,_0x2a52eb,_0x1a4932,_0x5eca44){const _0x529d3b=_0x4bdeea;super(),_0x38f5b4(this,_0x529d3b(0x170),new Set()),_0x38f5b4(this,_0x529d3b(0x13a),null),(this[_0x529d3b(0x35f)]=_0x1fce1b,this[_0x529d3b(0x280)]=_0x2a52eb,this[_0x529d3b(0x2c2)]=_0x1a4932,this[_0x529d3b(0x245)]=_0x5eca44,this[_0x529d3b(0x2de)]());}['_init'](){const _0x2bc983=_0x4bdeea;this[_0x2bc983(0x280)]['currentSkeleton$'][_0x2bc983(0x122)](_0x464a63[_0x2bc983(0x353)](this[_0x2bc983(0x246)]),_0x464a63[_0x2bc983(0x308)](_0x4b13e5=>{const _0x3a64c4=_0x2bc983;if(_0x4b13e5){const _0x575647=_0x4b13e5[_0x3a64c4(0x157)];return _0x408ff3[_0x3a64c4(0x30b)](this[_0x3a64c4(0x2c2)][_0x3a64c4(0x2c4)](this[_0x3a64c4(0x35f)][_0x3a64c4(0x263)]),this['_themeService'][_0x3a64c4(0x127)])[_0x3a64c4(0x122)](_0x464a63[_0x3a64c4(0x112)](([_0x289ddb,_0x74ec90])=>{const _0x4a02b4=_0x3a64c4,_0x3ce5f3=new Map();return _0x289ddb[_0x4a02b4(0x120)]((_0x2600a3,_0x5be879)=>{const _0x2da9d0=_0x4a02b4;if(_0x2600a3['sheetID']===_0x575647){const _0x49c532={..._0x2600a3};_0x49c532[_0x2da9d0(0x201)]=this[_0x2da9d0(0x245)][_0x2da9d0(0x250)](_0x2600a3[_0x2da9d0(0x201)]),_0x3ce5f3[_0x2da9d0(0x28c)](_0x5be879,_0x49c532);}}),{'skeleton':_0x4b13e5,'cursors':_0x3ce5f3};}));}return _0x408ff3['of']({'skeleton':null,'cursors':new Map()});}))[_0x2bc983(0x139)](({skeleton:_0xf69611,cursors:_0x12af9d})=>{const _0x49699a=_0x2bc983;this[_0x49699a(0x21f)](),_0xf69611&&this[_0x49699a(0x1d5)](_0xf69611,_0x12af9d);}),this[_0x2bc983(0x280)]['currentSkeleton$'][_0x2bc983(0x139)](_0x1e6ac1=>{const _0x5304ae=_0x2bc983;if(_0x1e6ac1==null)return;const {skeleton:_0x2b1199}=_0x1e6ac1,{scene:_0x312d5f}=this[_0x5304ae(0x35f)];_0x312d5f['onPointerMove$']['subscribeEvent'](_0x475e9c[_0x5304ae(0x2ce)](_0x51a481=>{const _0x264a3d=_0x5304ae;var _0x565de7,_0x458483;const {offsetX:_0x285fb3,offsetY:_0x58264e}=_0x51a481,{x:_0x370bb1,y:_0x3da993}=_0x312d5f[_0x264a3d(0x12d)](_0x577de9[_0x264a3d(0x218)]['FromArray']([_0x285fb3,_0x58264e])),{scaleX:_0x2ea79b,scaleY:_0x15ce1b}=_0x312d5f[_0x264a3d(0x24d)](),_0x1ee476=_0x312d5f[_0x264a3d(0x181)](_0x577de9['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x682c85=_0x312d5f[_0x264a3d(0x32d)](_0x577de9['Vector2'][_0x264a3d(0x14a)]([_0x370bb1,_0x3da993]),_0x1ee476),_0xf7cae7=_0x2b1199[_0x264a3d(0xd0)](_0x285fb3,_0x58264e,_0x2ea79b,_0x15ce1b,_0x682c85);((_0x565de7=this[_0x264a3d(0x13a)])==null?void 0x0:_0x565de7['column'])===_0xf7cae7[_0x264a3d(0x322)]&&((_0x458483=this[_0x264a3d(0x13a)])==null?void 0x0:_0x458483[_0x264a3d(0x191)])===_0xf7cae7[_0x264a3d(0x191)]||this['_cursors'][_0x264a3d(0x120)](_0x1d320e=>{const _0x5d8e8f=_0x264a3d;_0x1d320e[_0x5d8e8f(0x336)](_0xf7cae7);});},0x64));});}[_0x4bdeea(0x1d5)](_0x47cc94,_0x541cb9){const _0x105605=_0x4bdeea;var _0xc431f0;const _0x348e71=(_0xc431f0=this[_0x105605(0x280)][_0x105605(0x2bd)]())==null?void 0x0:_0xc431f0['skeleton'];if(!_0x348e71)return;const _0x2c2c39=this[_0x105605(0x2f5)]();if(!_0x2c2c39)return;this[_0x105605(0x170)][_0x105605(0x120)](_0x459291=>{const _0x1c572f=_0x105605;_0x459291[_0x1c572f(0x1a6)]();});const {scene:_0x428d88}=_0x2c2c39,_0x2cee67=_0x499261(Array[_0x105605(0x317)](_0x541cb9['values']()))[_0x105605(0x112)](_0x25ba14=>{const _0x235caf=_0x105605,{color:_0x350666,range:_0x5a1d65,name:_0x3ab929,selection:_0xdb46ac,sheetID:_0x59de8e}=_0x25ba14,{startColumn:_0x13d657,startRow:_0x73320f,endColumn:_0x5e85d8,endRow:_0x444e9c}=_0x5a1d65,_0x156981=_0xbe877a[_0x235caf(0xcd)](_0x73320f,_0x13d657,_0x428d88,_0x348e71),_0x583424=_0xbe877a[_0x235caf(0xcd)](_0x444e9c,_0x5e85d8,_0x428d88,_0x348e71),{columnHeaderHeightAndMarginTop:_0x2eb8b1}=_0x348e71,{startX:_0x533295,startY:_0x4a3c4c}=_0x156981,{endX:_0x1a70f9,endY:_0x3e6332}=_0x583424,_0x48a4d5=_0x1a70f9-_0x533295,_0x138d98=_0x3e6332-_0x4a3c4c,_0x25dee8={'labelPosition':_0x4a3c4c-_0x2eb8b1>=_0x3521ff?_0x235caf(0x21c):_0x235caf(0x175),'sheetID':_0x59de8e,'range':_0x5a1d65,'color':_0x350666,'name':_0x3ab929,'selection':_0xdb46ac,'left':_0x533295,'top':_0x4a3c4c,'width':_0x48a4d5,'height':_0x138d98,'evented':!0x1,'zIndex':_0x1a67e8};return new _0x51894d(_0x3ab929,_0x25dee8);});_0x428d88[_0x105605(0x103)](_0x2cee67,_0x5d4038),this['_cursors']=new Set(_0x2cee67);}[_0x4bdeea(0x21f)](){const _0x5b959b=_0x4bdeea;var _0x580a9d;(_0x580a9d=this['_cursors'])==null||_0x580a9d[_0x5b959b(0x120)](_0x549f3b=>_0x549f3b[_0x5b959b(0x2b3)]());}[_0x4bdeea(0x2f5)](){const _0x33406f=_0x4bdeea;return _0xbe877a[_0x33406f(0x2b8)](this[_0x33406f(0x35f)]['unit'],this['_context']);}};_0xb6364d=_0x34fda3([_0x2c97cd(0x1,_0x475e9c['Inject'](_0xbe877a['SheetSkeletonManagerService'])),_0x2c97cd(0x2,_0x475e9c['Inject'](_0x8c6cd6)),_0x2c97cd(0x3,_0x475e9c[_0x4bdeea(0x227)](_0x475e9c[_0x4bdeea(0x292)]))],_0xb6364d);function _0x499261(_0x216332){const _0xafdac0=_0x4bdeea,_0x33f14f=new Map();return _0x216332[_0xafdac0(0x120)](_0x5d177d=>{const _0x2092c9=_0xafdac0;if(_0x33f14f[_0x2092c9(0x341)](_0x5d177d['selection'])){const _0xed9a75=_0x33f14f[_0x2092c9(0xce)](_0x5d177d[_0x2092c9(0xd6)]);_0xed9a75[_0x2092c9(0x19d)]+=',\x20'+_0x5d177d['name'];}else _0x33f14f[_0x2092c9(0x28c)](_0x5d177d[_0x2092c9(0xd6)],_0x5d177d);}),Array['from'](_0x33f14f[_0xafdac0(0x350)]());}var _0x459c4b=function(){const _0x191904=_0x4bdeea;return _0x459c4b=Object[_0x191904(0x196)]||function(_0x356a2c){const _0x55e724=_0x191904;for(var _0x300e9b,_0x59e98c=0x1,_0x2fa693=arguments['length'];_0x59e98c<_0x2fa693;_0x59e98c++){_0x300e9b=arguments[_0x59e98c];for(var _0xdc3ff9 in _0x300e9b)Object[_0x55e724(0x173)][_0x55e724(0x338)]['call'](_0x300e9b,_0xdc3ff9)&&(_0x356a2c[_0xdc3ff9]=_0x300e9b[_0xdc3ff9]);}return _0x356a2c;},_0x459c4b['apply'](this,arguments);},_0x4717be=function(_0x5f5962,_0x5c6196){const _0x20a1ef=_0x4bdeea;var _0x1180e9={};for(var _0x2db0ab in _0x5f5962)Object[_0x20a1ef(0x173)]['hasOwnProperty'][_0x20a1ef(0xdb)](_0x5f5962,_0x2db0ab)&&_0x5c6196['indexOf'](_0x2db0ab)<0x0&&(_0x1180e9[_0x2db0ab]=_0x5f5962[_0x2db0ab]);if(_0x5f5962!=null&&typeof Object[_0x20a1ef(0x339)]==_0x20a1ef(0x2cc)){for(var _0x12d060=0x0,_0x2db0ab=Object[_0x20a1ef(0x339)](_0x5f5962);_0x12d060<_0x2db0ab[_0x20a1ef(0x228)];_0x12d060++)_0x5c6196['indexOf'](_0x2db0ab[_0x12d060])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x20a1ef(0xdb)](_0x5f5962,_0x2db0ab[_0x12d060])&&(_0x1180e9[_0x2db0ab[_0x12d060]]=_0x5f5962[_0x2db0ab[_0x12d060]]);}return _0x1180e9;},_0x14ea5d=_0x4426e3[_0x4bdeea(0x13c)](function(_0x55d123,_0x25e68b){const _0x25ccc2=_0x4bdeea;var _0x19949e=_0x55d123[_0x25ccc2(0x2ad)],_0x288716=_0x55d123['id'],_0xdb6015=_0x55d123[_0x25ccc2(0x143)],_0x4e6c6e=_0x55d123[_0x25ccc2(0x2f0)],_0xdb71e1=_0x4717be(_0x55d123,[_0x25ccc2(0x2ad),'id',_0x25ccc2(0x143),_0x25ccc2(0x2f0)]),_0x15f93d='univerjs-icon\x20univerjs-icon-'[_0x25ccc2(0x2ea)](_0x288716,'\x20')[_0x25ccc2(0x2ea)](_0xdb6015||'')[_0x25ccc2(0x358)](),_0x76510b=_0x4426e3[_0x25ccc2(0xd5)]('_'[_0x25ccc2(0x2ea)](_0x19d2ac()));return _0x78ae8a(_0x19949e,''['concat'](_0x288716),{'defIds':_0x19949e[_0x25ccc2(0x101)],'idSuffix':_0x76510b[_0x25ccc2(0x276)]},_0x459c4b({'ref':_0x25e68b,'className':_0x15f93d},_0xdb71e1),_0x4e6c6e);});function _0x78ae8a(_0x2ab549,_0x4dc49b,_0xa769f,_0xe32444,_0x197e5c){const _0x5b5e03=_0x4bdeea;return _0x4426e3['createElement'](_0x2ab549[_0x5b5e03(0x183)],_0x459c4b(_0x459c4b({'key':_0x4dc49b},_0x35bf81(_0x2ab549,_0xa769f,_0x197e5c)),_0xe32444),(_0x1ced98(_0x2ab549,_0xa769f)[_0x5b5e03(0x171)]||[])[_0x5b5e03(0x112)](function(_0x1d8a5f,_0x1d6f2b){const _0x548a83=_0x5b5e03;return _0x78ae8a(_0x1d8a5f,''[_0x548a83(0x2ea)](_0x4dc49b,'-')[_0x548a83(0x2ea)](_0x2ab549[_0x548a83(0x183)],'-')[_0x548a83(0x2ea)](_0x1d6f2b),_0xa769f,void 0x0,_0x197e5c);}));}function _0x35bf81(_0x4e4dd0,_0x411668,_0x1dc6b7){const _0x206784=_0x4bdeea;var _0x190a55=_0x459c4b({},_0x4e4dd0[_0x206784(0xe8)]);_0x1dc6b7!=null&&_0x1dc6b7[_0x206784(0x2ae)]&&_0x190a55[_0x206784(0x2bc)]===_0x206784(0x2ae)&&(_0x190a55['fill']=_0x1dc6b7[_0x206784(0x2ae)]),_0x4e4dd0['tag']===_0x206784(0x219)&&_0x190a55['id']&&(_0x190a55['id']=_0x190a55['id']+_0x411668['idSuffix']),Object[_0x206784(0x24b)](_0x190a55)[_0x206784(0x120)](function(_0x325900){const _0xb6d87b=_0x206784;var _0x36f43a=_0x325900[0x0],_0x48005f=_0x325900[0x1];_0x36f43a==='mask'&&typeof _0x48005f==_0xb6d87b(0x11d)&&(_0x190a55[_0x36f43a]=_0x48005f[_0xb6d87b(0x28e)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x411668['idSuffix'],')')));});var _0xfac6d8=_0x411668[_0x206784(0x101)];return!_0xfac6d8||_0xfac6d8[_0x206784(0x228)]===0x0||(_0x4e4dd0[_0x206784(0x183)]===_0x206784(0x162)&&_0x190a55[_0x206784(0x13e)]&&(_0x190a55[_0x206784(0x13e)]=_0x190a55[_0x206784(0x13e)]+_0x411668[_0x206784(0x15f)]),Object['entries'](_0x190a55)[_0x206784(0x120)](function(_0x3a860d){const _0x1c681c=_0x206784;var _0x9739b5=_0x3a860d[0x0],_0x75c94a=_0x3a860d[0x1];typeof _0x75c94a==_0x1c681c(0x11d)&&(_0x190a55[_0x9739b5]=_0x75c94a['replace'](/url\(#(.*)\)/,'url(#$1'[_0x1c681c(0x2ea)](_0x411668[_0x1c681c(0x15f)],')')));})),_0x190a55;}function _0x1ced98(_0x136972,_0x2a19fe){const _0x2c5ee3=_0x4bdeea;var _0x4ab112,_0x2e5ba1=_0x2a19fe[_0x2c5ee3(0x101)];return!_0x2e5ba1||_0x2e5ba1[_0x2c5ee3(0x228)]===0x0?_0x136972:_0x136972[_0x2c5ee3(0x183)]===_0x2c5ee3(0x23e)&&(!((_0x4ab112=_0x136972[_0x2c5ee3(0x171)])===null||_0x4ab112===void 0x0)&&_0x4ab112[_0x2c5ee3(0x228)])?_0x459c4b(_0x459c4b({},_0x136972),{'children':_0x136972['children'][_0x2c5ee3(0x112)](function(_0x2eed56){const _0x1054de=_0x2c5ee3;return typeof _0x2eed56[_0x1054de(0xe8)]['id']==_0x1054de(0x11d)&&_0x2e5ba1&&_0x2e5ba1['includes'](_0x2eed56[_0x1054de(0xe8)]['id'])?_0x459c4b(_0x459c4b({},_0x2eed56),{'attrs':_0x459c4b(_0x459c4b({},_0x2eed56[_0x1054de(0xe8)]),{'id':_0x2eed56[_0x1054de(0xe8)]['id']+_0x2a19fe[_0x1054de(0x15f)]})}):_0x2eed56;})}):_0x136972;}function _0x19d2ac(){const _0x3a8803=_0x4bdeea;return Math[_0x3a8803(0x2b6)]()[_0x3a8803(0x1c4)](0x24)[_0x3a8803(0x29f)](0x2,0x8);}_0x14ea5d['displayName']=_0x4bdeea(0x174);var _0xcfbfb6={'tag':_0x4bdeea(0x2d1),'attrs':{'xmlns':_0x4bdeea(0x289),'fill':_0x4bdeea(0x265),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x4bdeea(0x13f)},'children':[{'tag':'g','attrs':{'clipPath':_0x4bdeea(0x128)},'children':[{'tag':_0x4bdeea(0x230),'attrs':{'stroke':_0x4bdeea(0x305),'d':_0x4bdeea(0x2a1),'strokeLinecap':_0x4bdeea(0x1bf),'strokeLinejoin':_0x4bdeea(0x1bf),'strokeWidth':1.2}}]},{'tag':_0x4bdeea(0x23e),'attrs':{},'children':[{'tag':_0x4bdeea(0x152),'attrs':{'id':_0x4bdeea(0x284)},'children':[{'tag':_0x4bdeea(0x230),'attrs':{'fill':'white','d':_0x4bdeea(0x306)}}]}]}],'defIds':[_0x4bdeea(0x284)]},_0x3532ff=_0x4426e3[_0x4bdeea(0x13c)](function(_0x1febd7,_0xfe6de6){const _0x5bc230=_0x4bdeea;return _0x4426e3[_0x5bc230(0x243)](_0x14ea5d,Object['assign']({},_0x1febd7,{'id':_0x5bc230(0x236),'ref':_0xfe6de6,'icon':_0xcfbfb6}));});_0x3532ff['displayName']=_0x4bdeea(0x288);var _0x585388={'tag':_0x4bdeea(0x2d1),'attrs':{'xmlns':_0x4bdeea(0x289),'fill':_0x4bdeea(0x265),'viewBox':_0x4bdeea(0x299),'width':'1em','height':_0x4bdeea(0x13f)},'children':[{'tag':'g','attrs':{'clipPath':_0x4bdeea(0x2b4)},'children':[{'tag':_0x4bdeea(0x230),'attrs':{'stroke':_0x4bdeea(0x305),'d':_0x4bdeea(0x252),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4bdeea(0x23e),'attrs':{},'children':[{'tag':_0x4bdeea(0x152),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x4bdeea(0x230),'attrs':{'fill':_0x4bdeea(0xf3),'d':_0x4bdeea(0x306),'transform':_0x4bdeea(0xcf)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5f1bde=_0x4426e3['forwardRef'](function(_0x24b0a1,_0x1ca8ca){const _0x202523=_0x4bdeea;return _0x4426e3[_0x202523(0x243)](_0x14ea5d,Object[_0x202523(0x196)]({},_0x24b0a1,{'id':_0x202523(0x244),'ref':_0x1ca8ca,'icon':_0x585388}));});_0x5f1bde[_0x4bdeea(0x1e9)]=_0x4bdeea(0x1c1);function _0x432dfc(_0x1eae55){const _0x51f625=_0x4bdeea;switch(_0x1eae55){case _0x3f5c1e['CollaborationStatus'][_0x51f625(0x23b)]:return _0x51f625(0x26a);case _0x3f5c1e[_0x51f625(0x349)][_0x51f625(0x17d)]:return _0x51f625(0x1ca);case _0x3f5c1e[_0x51f625(0x349)][_0x51f625(0x2e8)]:return _0x51f625(0x14c);case _0x3f5c1e[_0x51f625(0x349)]['NOT_COLLAB']:return'collabStatus.notCollab';case _0x3f5c1e[_0x51f625(0x349)]['AWAITING']:case _0x3f5c1e[_0x51f625(0x349)][_0x51f625(0xff)]:return _0x51f625(0x225);case _0x3f5c1e[_0x51f625(0x349)][_0x51f625(0x274)]:case _0x3f5c1e[_0x51f625(0x349)]['PENDING']:return _0x51f625(0x16a);}}function _0x436f77(_0x3e9ba4){const _0x680ac4=_0x4bdeea,{status$:_0x3291f3}=_0x3e9ba4,_0x5df018=_0x9b1255['useObservable'](_0x3291f3,_0x3f5c1e[_0x680ac4(0x349)]['NOT_COLLAB']),_0x22763e=_0x9b1255[_0x680ac4(0x15d)](_0x475e9c[_0x680ac4(0x1ce)]),_0x305a9e=_0x9b1255['useDependency'](_0x3f5c1e[_0x680ac4(0xfa)]),_0x48457b=_0x5df018!==_0x3f5c1e[_0x680ac4(0x349)][_0x680ac4(0x23b)],_0xa468fb=_0x22763e['t'](_0x432dfc(_0x5df018)),_0x837c25=_0x48457b?_0x1e14a8[_0x680ac4(0x24a)](_0x5f1bde,{}):_0x1e14a8[_0x680ac4(0x24a)](_0x3532ff,{}),_0x3ef91c=_0x4426e3[_0x680ac4(0x100)](()=>{_0x48457b||_0x305a9e['reconnect']();},[_0x48457b,_0x305a9e]);function _0x54da55(){const _0x2947d8=_0x680ac4;return _0x1e14a8[_0x2947d8(0x114)](_0x2947d8(0x2c5),{'className':_0x2947d8(0x161),'onClick':_0x3ef91c,'children':[_0x1e14a8[_0x2947d8(0x24a)](_0x2947d8(0x2c5),{'className':_0x11c75d[_0x2947d8(0x30f)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x48457b,'univer-text-red-500':!_0x48457b}),'children':_0x837c25}),_0x1e14a8[_0x2947d8(0x24a)](_0x2947d8(0x2c5),{'className':_0x2947d8(0x199),'children':_0xa468fb})]});}return _0x48457b?_0x54da55():_0x1e14a8[_0x680ac4(0x24a)](_0x11c75d[_0x680ac4(0x310)],{'title':_0x22763e['t'](_0x680ac4(0x2ec)),'children':_0x54da55()});}var _0x4a7767=Object[_0x4bdeea(0x1f6)],_0xc3611c=(_0x53a412,_0x31bf08,_0x32962a,_0x56b78d)=>{const _0x3bc51c=_0x4bdeea;for(var _0x11d350=_0x56b78d>0x1?void 0x0:_0x56b78d?_0x4a7767(_0x31bf08,_0x32962a):_0x31bf08,_0x5b2d0d=_0x53a412[_0x3bc51c(0x228)]-0x1,_0x29367d;_0x5b2d0d>=0x0;_0x5b2d0d--)(_0x29367d=_0x53a412[_0x5b2d0d])&&(_0x11d350=_0x29367d(_0x11d350)||_0x11d350);return _0x11d350;},_0x35fc99=(_0x9a3a13,_0x14574d)=>(_0x2c4d71,_0x473cb5)=>_0x14574d(_0x2c4d71,_0x473cb5,_0x9a3a13);_0x41fd92[_0x4bdeea(0x10f)]=class extends _0x475e9c[_0x4bdeea(0x20d)]{constructor(_0x2df61d,_0x3cfcec,_0x1b30fa,_0x2e46b1){const _0x29810c=_0x4bdeea;super(),_0x38f5b4(this,_0x29810c(0x154),new _0x408ff3[(_0x29810c(0x2da))](_0x3f5c1e[_0x29810c(0x349)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x2df61d,this[_0x29810c(0x275)]=_0x3cfcec,this[_0x29810c(0x1fd)]=_0x1b30fa,this['_uiPartsService']=_0x2e46b1,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x4bdeea(0xeb)](){const _0x1b371b=_0x4bdeea;this[_0x1b371b(0x102)](this[_0x1b371b(0x2c3)][_0x1b371b(0x356)][_0x1b371b(0x122)](_0x408ff3[_0x1b371b(0x308)](()=>{const _0x308ff7=_0x1b371b,_0x1c578b=this[_0x308ff7(0x2c3)][_0x308ff7(0x2e6)]();return _0x1c578b?this['_collaborationController'][_0x308ff7(0x319)](_0x1c578b[_0x308ff7(0x187)]()):_0x408ff3['of'](null);}),_0x408ff3['switchMap'](_0x5ba1c3=>_0x5ba1c3?_0x5ba1c3[_0x1b371b(0xfe)]:_0x408ff3['of'](_0x3f5c1e['CollaborationStatus'][_0x1b371b(0x2db)])))['subscribe'](_0x4a6872=>{const _0x15a3ac=_0x1b371b;this[_0x15a3ac(0x154)][_0x15a3ac(0x22a)](_0x4a6872);}));}[_0x4bdeea(0x267)](){const _0x1f324e=_0x4bdeea;this[_0x1f324e(0x102)](this['_uiPartsService'][_0x1f324e(0x34d)](_0x9b1255['BuiltInUIPart'][_0x1f324e(0x195)],()=>_0x9b1255[_0x1f324e(0x11f)](_0x2e2cde({'status$':this[_0x1f324e(0x154)][_0x1f324e(0x12a)]()}),this['_injector'])));}},_0x41fd92[_0x4bdeea(0x10f)]=_0xc3611c([_0x35fc99(0x0,_0x475e9c[_0x4bdeea(0x148)]),_0x35fc99(0x1,_0x475e9c[_0x4bdeea(0x227)](_0x475e9c[_0x4bdeea(0x35a)])),_0x35fc99(0x2,_0x475e9c['Inject'](_0x3f5c1e[_0x4bdeea(0x34b)])),_0x35fc99(0x3,_0x9b1255[_0x4bdeea(0x214)])],_0x41fd92[_0x4bdeea(0x10f)]);function _0x2e2cde(_0xca443c){const {status$:_0x4c29a8}=_0xca443c;return function(){const _0xaca5b9=_0x1da8;return _0x1e14a8[_0xaca5b9(0x24a)](_0x436f77,{'status$':_0x4c29a8});};}var _0x54625b=Object['getOwnPropertyDescriptor'],_0x4a7500=(_0x258d4d,_0x1eea6e,_0x345fac,_0x19961d)=>{for(var _0x2a58c0=_0x19961d>0x1?void 0x0:_0x19961d?_0x54625b(_0x1eea6e,_0x345fac):_0x1eea6e,_0x2619cb=_0x258d4d['length']-0x1,_0x23400a;_0x2619cb>=0x0;_0x2619cb--)(_0x23400a=_0x258d4d[_0x2619cb])&&(_0x2a58c0=_0x23400a(_0x2a58c0)||_0x2a58c0);return _0x2a58c0;},_0x369e97=(_0x469d6c,_0x660996)=>(_0x37730a,_0x343105)=>_0x660996(_0x37730a,_0x343105,_0x469d6c);let _0xbacb09=class extends _0x475e9c[_0x4bdeea(0x20d)]{constructor(_0x8e78d6,_0x28b2b0,_0x56f9b2,_0x6970a1,_0x313cda,_0x279568){const _0x35e12c=_0x4bdeea;super(),this[_0x35e12c(0x32b)]=_0x8e78d6,this[_0x35e12c(0x134)]=_0x28b2b0,this[_0x35e12c(0x2fc)]=_0x56f9b2,this[_0x35e12c(0xe3)]=_0x6970a1,this['_notificationService']=_0x313cda,this['_localeService']=_0x279568,this[_0x35e12c(0xcb)](),this[_0x35e12c(0x352)]();}[_0x4bdeea(0xcb)](){const _0xf468d7=_0x4bdeea;this[_0xf468d7(0x102)](this[_0xf468d7(0x32b)][_0xf468d7(0x294)](()=>{const _0x32f354=_0xf468d7;if(this['_localCacheService'][_0x32f354(0x158)][_0x32f354(0x110)])return this[_0x32f354(0x2e1)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x351058=_0x4bdeea;this[_0x351058(0x102)](this[_0x351058(0x2fc)]['event$'][_0x351058(0x139)](_0x135c43=>{const _0x25fa7d=_0x351058;_0x135c43['id']===_0x3f5c1e['CollaborationUIEventId'][_0x25fa7d(0x1c9)]&&this[_0x25fa7d(0xe3)]['show']({'type':_0x11c75d[_0x25fa7d(0x210)][_0x25fa7d(0x1b3)],'content':this[_0x25fa7d(0x2e1)]['t']('collaboration.single-unit.warning')}),_0x135c43['id']===_0x3f5c1e[_0x25fa7d(0x30d)][_0x25fa7d(0x313)]&&this['_messageService'][_0x25fa7d(0x346)]({'type':_0x11c75d[_0x25fa7d(0x210)][_0x25fa7d(0x1b3)],'content':this[_0x25fa7d(0x2e1)]['t'](_0x25fa7d(0x309))}),_0x135c43['id']===_0x3f5c1e[_0x25fa7d(0x30d)]['PERMISSION_DENIED']&&this[_0x25fa7d(0x25b)]['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x25fa7d(0x2e1)]['t']('permission.content'),'type':_0x25fa7d(0x220),'duration':0x0}),_0x135c43['id']===_0x3f5c1e[_0x25fa7d(0x30d)][_0x25fa7d(0x17d)]&&this[_0x25fa7d(0xe3)]['show']({'type':_0x11c75d[_0x25fa7d(0x210)][_0x25fa7d(0xf8)],'content':this[_0x25fa7d(0x2e1)]['t'](_0x25fa7d(0x309))+'('+_0x135c43[_0x25fa7d(0x2a0)]+')'}),_0x135c43['id']===_0x3f5c1e[_0x25fa7d(0x30d)][_0x25fa7d(0x258)]&&this[_0x25fa7d(0xe3)][_0x25fa7d(0x346)]({'type':_0x11c75d[_0x25fa7d(0x210)][_0x25fa7d(0x1b3)],'content':this[_0x25fa7d(0x2e1)]['t'](_0x135c43[_0x25fa7d(0x2a0)]||'')}),_0x135c43['id']===_0x3f5c1e[_0x25fa7d(0x30d)]['SOCKET_FAILED_RETRY']&&this[_0x25fa7d(0xe3)]['show']({'type':_0x11c75d['MessageType'][_0x25fa7d(0x1b3)],'content':this[_0x25fa7d(0x2e1)]['t'](_0x25fa7d(0x12b))}),_0x135c43['id']===_0x3f5c1e[_0x25fa7d(0x30d)][_0x25fa7d(0x194)]&&this[_0x25fa7d(0xe3)]['show']({'type':_0x11c75d[_0x25fa7d(0x210)]['Error'],'content':this['_localeService']['t'](_0x25fa7d(0x361))}),_0x135c43['id']===_0x3f5c1e[_0x25fa7d(0x30d)][_0x25fa7d(0xde)]&&this['_messageService']['show']({'type':_0x11c75d[_0x25fa7d(0x210)]['Error'],'content':this[_0x25fa7d(0x2e1)]['t'](_0x25fa7d(0xe7))});}));}};_0xbacb09=_0x4a7500([_0x369e97(0x0,_0x9b1255[_0x4bdeea(0x192)]),_0x369e97(0x1,_0x3f5c1e[_0x4bdeea(0x257)]),_0x369e97(0x2,_0x475e9c['Inject'](_0x3f5c1e[_0x4bdeea(0x303)])),_0x369e97(0x3,_0x9b1255[_0x4bdeea(0x22e)]),_0x369e97(0x4,_0x9b1255['INotificationService']),_0x369e97(0x5,_0x475e9c[_0x4bdeea(0x227)](_0x475e9c[_0x4bdeea(0x1ce)]))],_0xbacb09);const _0x40a988=_0x4bdeea(0x20a),_0x365da8={},_0x4e6f1e=_0x475e9c[_0x4bdeea(0x26f)](_0x4bdeea(0x28d));var _0x72a4e7=Object['getOwnPropertyDescriptor'],_0x327743=(_0x3216c6,_0x299ca4,_0x26753c,_0x4d3af6)=>{const _0x4b8354=_0x4bdeea;for(var _0x2845e0=_0x4d3af6>0x1?void 0x0:_0x4d3af6?_0x72a4e7(_0x299ca4,_0x26753c):_0x299ca4,_0x1093b2=_0x3216c6[_0x4b8354(0x228)]-0x1,_0x521712;_0x1093b2>=0x0;_0x1093b2--)(_0x521712=_0x3216c6[_0x1093b2])&&(_0x2845e0=_0x521712(_0x2845e0)||_0x2845e0);return _0x2845e0;},_0x4a6dae=(_0x125f17,_0x596ec5)=>(_0x1e5679,_0x4c9519)=>_0x596ec5(_0x1e5679,_0x4c9519,_0x125f17);_0x41fd92[_0x4bdeea(0x23a)]=class extends _0x475e9c['RxDisposable']{constructor(_0x52d396,_0xd19570,_0x14ca25,_0x1fb58e,_0x52977a){const _0x1fe3ae=_0x4bdeea;super(),this[_0x1fe3ae(0x247)]=_0x52d396,this['_logService']=_0xd19570,this['_commandService']=_0x14ca25,this[_0x1fe3ae(0x140)]=_0x1fb58e,_0x52977a?_0x52977a==null||_0x52977a[_0x1fe3ae(0x10a)]()['then'](()=>this[_0x1fe3ae(0x2de)]()):(this[_0x1fe3ae(0x19c)][_0x1fe3ae(0x2d4)](_0x1fe3ae(0x21a),_0x1fe3ae(0x16e)),this[_0x1fe3ae(0x2de)]());}async['_init'](){const _0x472c17=_0x4bdeea,_0x1f8fdf=this['_urlService']['getParam'](_0x472c17(0x14b)),_0x138853=this[_0x472c17(0x247)]['getParam'](_0x472c17(0x185)),_0x368ae3=this[_0x472c17(0x247)][_0x472c17(0x12f)](_0x472c17(0x28a));if(!_0x1f8fdf||!_0x138853){this['_logService'][_0x472c17(0x2d4)](_0x472c17(0x21a),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4b3778=await this[_0x472c17(0x140)][_0x472c17(0x190)](_0x1f8fdf,Number(_0x138853),_0x368ae3);_0x4b3778&&_0x4b3778 instanceof _0x475e9c[_0x472c17(0xf1)]&&this[_0x472c17(0x233)](_0x4b3778);}async[_0x4bdeea(0x233)](_0x3ea302){const _0x238f72=_0x4bdeea;await this[_0x238f72(0x242)](_0x3ea302),_0x3ea302[_0x238f72(0x2e2)][_0x238f72(0x122)](_0x408ff3[_0x238f72(0x353)](this[_0x238f72(0x246)]))[_0x238f72(0x139)](_0x3098b3=>{_0x3098b3&&this['_updateURLWithCurrentState'](_0x3098b3);}),this[_0x238f72(0x247)][_0x238f72(0x31c)]['pipe'](_0x408ff3[_0x238f72(0x353)](this['dispose$']))[_0x238f72(0x139)](()=>this[_0x238f72(0x242)](_0x3ea302));}[_0x4bdeea(0xd2)](_0x5ce22d,_0x3dcebd=!0x1){const _0x18e46a=_0x4bdeea,_0x4ad2ef=this[_0x18e46a(0x247)][_0x18e46a(0x12f)](_0x18e46a(0x28a));_0x5ce22d[_0x18e46a(0x17e)]()!==_0x4ad2ef&&this[_0x18e46a(0x247)][_0x18e46a(0x211)]('subunit',_0x5ce22d[_0x18e46a(0x17e)](),_0x3dcebd);}async['_updateSubUnitFromURLParams'](_0x509ea1){const _0x2ff76c=_0x4bdeea;var _0x42e8a2;const _0x3762d3=this[_0x2ff76c(0x247)][_0x2ff76c(0x12f)](_0x2ff76c(0x28a));if(!_0x3762d3||!_0x509ea1[_0x2ff76c(0x1da)](_0x3762d3)){const _0x5a6229=_0x509ea1[_0x2ff76c(0x1cc)]()[0x0],_0x1040ff=_0x509ea1[_0x2ff76c(0x1da)](_0x5a6229);if(!_0x1040ff)return;this[_0x2ff76c(0xd2)](_0x1040ff,!0x0),await this[_0x2ff76c(0x315)][_0x2ff76c(0xe6)](_0x582ac3[_0x2ff76c(0xfb)]['id'],{'unitId':_0x509ea1[_0x2ff76c(0x187)](),'subUnitId':_0x5a6229});return;}((_0x42e8a2=_0x509ea1[_0x2ff76c(0x251)]())==null?void 0x0:_0x42e8a2[_0x2ff76c(0x17e)]())!==_0x3762d3&&await this[_0x2ff76c(0x315)]['executeCommand'](_0x582ac3['SetWorksheetActivateCommand']['id'],{'unitId':_0x509ea1[_0x2ff76c(0x187)](),'subUnitId':_0x3762d3});}},_0x41fd92[_0x4bdeea(0x23a)]=_0x327743([_0x4a6dae(0x0,_0x4e6f1e),_0x4a6dae(0x1,_0x475e9c['ILogService']),_0x4a6dae(0x2,_0x475e9c[_0x4bdeea(0xc2)]),_0x4a6dae(0x3,_0x475e9c[_0x4bdeea(0x227)](_0x3f5c1e[_0x4bdeea(0x1ec)])),_0x4a6dae(0x4,_0x475e9c[_0x4bdeea(0x1dc)](_0x45581c[_0x4bdeea(0x28f)]))],_0x41fd92[_0x4bdeea(0x23a)]);var _0x4272e4=Object[_0x4bdeea(0x1f6)],_0x5cc88c=(_0x467862,_0xaef2f3,_0x495412,_0x4ca8e5)=>{for(var _0x1b5f3f=_0x4ca8e5>0x1?void 0x0:_0x4ca8e5?_0x4272e4(_0xaef2f3,_0x495412):_0xaef2f3,_0x151090=_0x467862['length']-0x1,_0x462132;_0x151090>=0x0;_0x151090--)(_0x462132=_0x467862[_0x151090])&&(_0x1b5f3f=_0x462132(_0x1b5f3f)||_0x1b5f3f);return _0x1b5f3f;},_0x1a7bc4=(_0x17fb92,_0x81d2f1)=>(_0x2a85ed,_0x3cf780)=>_0x81d2f1(_0x2a85ed,_0x3cf780,_0x17fb92);let _0x3dd018=class{constructor(_0xa6c61a,_0x324f67,_0x256a55){const _0x2aa010=_0x4bdeea;this[_0x2aa010(0x275)]=_0xa6c61a,this[_0x2aa010(0x221)]=_0x324f67,this['_renderManagerService']=_0x256a55;}[_0x4bdeea(0x1b0)](_0x532b66){const _0xfe8a30=_0x4bdeea;this[_0xfe8a30(0x1fc)](_0x532b66),this[_0xfe8a30(0x1c5)](_0x532b66);}[_0x4bdeea(0x2a3)](_0x1c5758){const _0x39910f=_0x4bdeea,{unitID:_0x16d5cd}=_0x1c5758,_0x58fe01=this[_0x39910f(0x318)][_0x39910f(0x1a7)](_0x16d5cd)[_0x39910f(0x20b)](_0x122cd9[_0x39910f(0x179)]),{redoCache:_0x439737}=_0x58fe01[_0x39910f(0x156)]();if(_0x439737[_0x39910f(0x228)]===0x0)return _0x1c5758;let _0x2ba17a=_0x475e9c[_0x39910f(0x1df)][_0x39910f(0x2d0)](_0x1c5758['mutations'][0x0]);for(let _0x2216fa=0x0;_0x2216fa<_0x439737['length'];_0x2216fa++){const _0x37a96a={'id':_0x39910f(0x232),'params':{..._0x439737[_0x2216fa]}},_0x197ac0=this[_0x39910f(0x221)][_0x39910f(0x155)](_0x2ba17a,_0x37a96a,!0x1);if(_0x2b5885['isTransformMutationFailure'](_0x197ac0))throw _0x197ac0[_0x39910f(0x220)];_0x2ba17a=_0x197ac0[_0x39910f(0x125)];}return{..._0x475e9c[_0x39910f(0x1df)]['deepClone'](_0x1c5758),'mutations':[_0x2ba17a]};}['_transformUndoRedoStack'](_0x50335c){const _0xfb1fff=_0x4bdeea,{unitID:_0x34f936}=_0x50335c,_0x5d9c56=this['_renderManagerService']['getRenderById'](_0x34f936)['with'](_0x122cd9['DocIMEInputManagerService']),{undoCache:_0x5150df,redoCache:_0x3f917f}=_0x5d9c56[_0xfb1fff(0x156)]();if(_0x5150df[_0xfb1fff(0x228)]===0x0||_0x3f917f[_0xfb1fff(0x228)]===0x0)return;const _0x448843=[],_0xf7a66e=[];let _0x5da45d=_0x475e9c[_0xfb1fff(0x1df)][_0xfb1fff(0x2d0)](_0x50335c['mutations'][0x0]),_0x1662b7=_0x475e9c[_0xfb1fff(0x1df)][_0xfb1fff(0x2d0)](_0x50335c['mutations'][0x0]);for(let _0x4eaa30=_0x5150df[_0xfb1fff(0x228)]-0x1;_0x4eaa30>=0x0;_0x4eaa30--){const _0xb0b565={'id':'doc.mutation.rich-text-editing','params':{..._0x5150df[_0x4eaa30]}},_0x227bdc={'id':_0xfb1fff(0x232),'params':{..._0x3f917f[_0x4eaa30]}},_0x4c8065=this[_0xfb1fff(0x221)][_0xfb1fff(0x155)](_0x5da45d,_0xb0b565,!0x1),_0x5cc187=this[_0xfb1fff(0x221)][_0xfb1fff(0x155)](_0x1662b7,_0x227bdc,!0x1);if(_0x2b5885[_0xfb1fff(0x2ff)](_0x4c8065))throw _0x4c8065['error'];if(_0x2b5885[_0xfb1fff(0x2ff)](_0x5cc187))throw _0x5cc187['error'];_0x448843['unshift'](_0x4c8065[_0xfb1fff(0xf9)][_0xfb1fff(0x270)]),_0xf7a66e['unshift'](_0x5cc187[_0xfb1fff(0xf9)][_0xfb1fff(0x270)]),_0x5da45d=_0x4c8065[_0xfb1fff(0x125)],_0x1662b7=_0x5cc187[_0xfb1fff(0x125)];}_0x5d9c56[_0xfb1fff(0x311)]({'undoCache':_0x448843,'redoCache':_0xf7a66e});}[_0x4bdeea(0x1c5)](_0x368b8b){const _0x1bc165=_0x4bdeea,{unitID:_0x1594a5}=_0x368b8b,_0x49dd16=this[_0x1bc165(0x318)][_0x1bc165(0x1a7)](_0x1594a5)[_0x1bc165(0x20b)](_0x122cd9[_0x1bc165(0x179)]),_0x5c8f05=_0x49dd16['getActiveRange']();if(_0x5c8f05==null)return;const _0x2fe4c6=[{'id':_0x1bc165(0x232),'params':{'unitId':_0x368b8b[_0x1bc165(0x363)],'actions':null,'textRanges':[_0x5c8f05]}}],_0x3b849a=this['_transformService']['transformMutationsWithChangeset'](_0x368b8b,_0x2fe4c6);if(!_0x2b5885[_0x1bc165(0x2c0)](_0x3b849a))throw _0x3b849a[_0x1bc165(0x220)];const _0x20dce1=_0x3b849a[_0x1bc165(0xf9)][0x0]['params'][_0x1bc165(0x25c)];Array[_0x1bc165(0x304)](_0x20dce1)&&_0x20dce1[_0x1bc165(0x228)]&&_0x49dd16[_0x1bc165(0x29b)](_0x20dce1[0x0]);}};_0x3dd018=_0x5cc88c([_0x1a7bc4(0x0,_0x475e9c[_0x4bdeea(0x227)](_0x475e9c['Injector'])),_0x1a7bc4(0x1,_0x2b5885['ITransformService']),_0x1a7bc4(0x2,_0x577de9['IRenderManagerService'])],_0x3dd018);var _0x5d4af5=Object[_0x4bdeea(0x1f6)],_0x4cb164=(_0x55c27a,_0x368f29,_0x157a12,_0x4b93c3)=>{const _0x5b112f=_0x4bdeea;for(var _0x264d06=_0x4b93c3>0x1?void 0x0:_0x4b93c3?_0x5d4af5(_0x368f29,_0x157a12):_0x368f29,_0x33d98d=_0x55c27a[_0x5b112f(0x228)]-0x1,_0x5d1aaf;_0x33d98d>=0x0;_0x33d98d--)(_0x5d1aaf=_0x55c27a[_0x33d98d])&&(_0x264d06=_0x5d1aaf(_0x264d06)||_0x264d06);return _0x264d06;},_0x357574=(_0x1cda6e,_0x2e64d0)=>(_0x2c019b,_0x1b5129)=>_0x2e64d0(_0x2c019b,_0x1b5129,_0x1cda6e);let _0x224339=class{constructor(_0x3945d4,_0x5a9ca3,_0x7cd367){const _0x19bb2b=_0x4bdeea;this[_0x19bb2b(0x275)]=_0x3945d4,this['_transformService']=_0x5a9ca3,this[_0x19bb2b(0x207)]=_0x7cd367;}[_0x4bdeea(0x1cf)](_0x1754f5){const _0x4939c2=_0x4bdeea;this[_0x4939c2(0xea)](_0x1754f5);}[_0x4bdeea(0x2a3)](_0x1fde69){const _0x241f1a=_0x4bdeea,{unitID:_0x16d1e5}=_0x1fde69,{collaboration:_0x108906}=this[_0x241f1a(0x207)][_0x241f1a(0x2b5)](_0x16d1e5);if(_0x108906[_0x241f1a(0x228)]===0x0)return _0x1fde69;let _0x17b280=_0x475e9c[_0x241f1a(0x1df)][_0x241f1a(0x2d0)](_0x1fde69[_0x241f1a(0x300)][0x0]);for(let _0x23427c=0x0;_0x23427c<_0x108906[_0x241f1a(0x228)];_0x23427c++){const _0x484b46={'id':_0x241f1a(0x232),'params':{'unitId':_0x108906[_0x23427c][_0x241f1a(0x263)],..._0x108906[_0x23427c][_0x241f1a(0x272)]}},_0x4104d7=this['_transformService']['transformMutation'](_0x17b280,_0x484b46,!0x1);if(_0x2b5885['isTransformMutationFailure'](_0x4104d7))throw _0x4104d7[_0x241f1a(0x220)];_0x17b280=_0x4104d7[_0x241f1a(0x125)];}return{..._0x475e9c[_0x241f1a(0x1df)][_0x241f1a(0x2d0)](_0x1fde69),'mutations':[_0x17b280]};}[_0x4bdeea(0xea)](_0xa7ee06){const _0x1741f8=_0x4bdeea,{unitID:_0x105281}=_0xa7ee06,{history:_0x5b3dac,collaboration:_0x234395}=this[_0x1741f8(0x207)][_0x1741f8(0x2b5)](_0x105281);if(_0x5b3dac['length']===0x0&&_0x234395[_0x1741f8(0x228)]===0x0)return;const _0x14a47f=[],_0x5382f3=[];let _0x196558=_0x475e9c[_0x1741f8(0x1df)][_0x1741f8(0x2d0)](_0xa7ee06['mutations'][0x0]),_0x527911=_0x475e9c['Tools']['deepClone'](_0xa7ee06[_0x1741f8(0x300)][0x0]);for(let _0x3c3360=_0x5b3dac[_0x1741f8(0x228)]-0x1;_0x3c3360>=0x0;_0x3c3360--){const _0x35ff88={'id':_0x1741f8(0x232),'params':{'unitId':_0x5b3dac[_0x3c3360][_0x1741f8(0x263)],..._0x5b3dac[_0x3c3360][_0x1741f8(0x1b4)]}},_0x2916e6={'id':_0x1741f8(0x232),'params':{'unitId':_0x5b3dac[_0x3c3360][_0x1741f8(0x263)],..._0x5b3dac[_0x3c3360][_0x1741f8(0x272)]}},_0x4efd8b=this[_0x1741f8(0x221)][_0x1741f8(0x155)](_0x196558,_0x35ff88,!0x1),_0x485609=this['_transformService']['transformMutation'](_0x527911,_0x2916e6,!0x1);if(_0x2b5885[_0x1741f8(0x2ff)](_0x4efd8b))throw _0x4efd8b[_0x1741f8(0x220)];if(_0x2b5885[_0x1741f8(0x2ff)](_0x485609))throw _0x485609[_0x1741f8(0x220)];_0x14a47f[_0x1741f8(0x27c)]({..._0x5b3dac[_0x3c3360],'undoState':_0x4efd8b[_0x1741f8(0xf9)][_0x1741f8(0x270)],'redoState':_0x485609['m2Prime']['params']}),_0x196558=_0x4efd8b[_0x1741f8(0x125)],_0x527911=_0x485609[_0x1741f8(0x125)];}_0x196558=_0x475e9c[_0x1741f8(0x1df)][_0x1741f8(0x2d0)](_0xa7ee06[_0x1741f8(0x300)][0x0]),_0x527911=_0x475e9c[_0x1741f8(0x1df)][_0x1741f8(0x2d0)](_0xa7ee06['mutations'][0x0]);for(let _0x53b5da=_0x234395[_0x1741f8(0x228)]-0x1;_0x53b5da>=0x0;_0x53b5da--){const _0x4879ff={'id':_0x1741f8(0x232),'params':{'unitId':_0x234395[_0x53b5da][_0x1741f8(0x263)],..._0x234395[_0x53b5da][_0x1741f8(0x1b4)]}},_0x12e690={'id':_0x1741f8(0x232),'params':{'unitId':_0x234395[_0x53b5da][_0x1741f8(0x263)],..._0x234395[_0x53b5da][_0x1741f8(0x272)]}},_0x43b996=this[_0x1741f8(0x221)][_0x1741f8(0x155)](_0x196558,_0x4879ff,!0x1),_0x3a162d=this[_0x1741f8(0x221)]['transformMutation'](_0x527911,_0x12e690,!0x1);if(_0x2b5885[_0x1741f8(0x2ff)](_0x43b996))throw _0x43b996['error'];if(_0x2b5885[_0x1741f8(0x2ff)](_0x3a162d))throw _0x3a162d['error'];_0x5382f3[_0x1741f8(0x27c)]({..._0x234395[_0x53b5da],'undoState':_0x43b996[_0x1741f8(0xf9)][_0x1741f8(0x270)],'redoState':_0x3a162d[_0x1741f8(0xf9)][_0x1741f8(0x270)]}),_0x196558=_0x43b996['m1Prime'],_0x527911=_0x3a162d['m1Prime'];}this[_0x1741f8(0x207)]['setStateCache'](_0x105281,{'history':_0x14a47f,'collaboration':_0x5382f3});}};_0x224339=_0x4cb164([_0x357574(0x0,_0x475e9c['Inject'](_0x475e9c[_0x4bdeea(0x35a)])),_0x357574(0x1,_0x2b5885[_0x4bdeea(0x200)]),_0x357574(0x2,_0x475e9c[_0x4bdeea(0x227)](_0x122cd9['DocStateChangeManagerService']))],_0x224339);var _0x5a7f5b=Object[_0x4bdeea(0x1f6)],_0x126dcc=(_0x208e49,_0x5e5d9c,_0x17885a,_0x5f4c69)=>{for(var _0x1702a8=_0x5f4c69>0x1?void 0x0:_0x5f4c69?_0x5a7f5b(_0x5e5d9c,_0x17885a):_0x5e5d9c,_0x269dbc=_0x208e49['length']-0x1,_0x1959e4;_0x269dbc>=0x0;_0x269dbc--)(_0x1959e4=_0x208e49[_0x269dbc])&&(_0x1702a8=_0x1959e4(_0x1702a8)||_0x1702a8);return _0x1702a8;},_0x179ae5=(_0x5f326f,_0x3bf45a)=>(_0x580807,_0x4cb872)=>_0x3bf45a(_0x580807,_0x4cb872,_0x5f326f);let _0x192512=class{constructor(_0x1a0ded,_0x28301a){const _0x548433=_0x4bdeea;this[_0x548433(0x275)]=_0x1a0ded,this[_0x548433(0x221)]=_0x28301a;}[_0x4bdeea(0x1f3)](_0x865a17){const _0x5cc2c1=_0x4bdeea;var _0x1f007f;const _0x4e69fe=this[_0x5cc2c1(0x275)][_0x5cc2c1(0xce)](_0x6b29d3[_0x5cc2c1(0x320)]),_0x339cc2=(_0x1f007f=_0x4e69fe['getDocRanges']())!=null?_0x1f007f:[];if(_0x339cc2['length']===0x0)return;const _0x379c3b=_0x865a17[_0x5cc2c1(0x363)],_0x4e946b=[{'id':_0x5cc2c1(0x232),'params':{'unitId':_0x379c3b,'actions':null,'textRanges':_0x339cc2}}],_0x61b643=this[_0x5cc2c1(0x221)]['transformMutationsWithChangeset'](_0x865a17,_0x4e946b);if(!_0x2b5885[_0x5cc2c1(0x2c0)](_0x61b643))throw _0x61b643[_0x5cc2c1(0x220)];const _0x3c2e25=_0x61b643[_0x5cc2c1(0xf9)][0x0][_0x5cc2c1(0x270)][_0x5cc2c1(0x25c)];Array['isArray'](_0x3c2e25)&&_0x3c2e25[_0x5cc2c1(0x228)]&&_0x4e69fe['replaceDocRanges'](_0x3c2e25,{'unitId':_0x379c3b,'subUnitId':_0x379c3b},!0x1);}};_0x192512=_0x126dcc([_0x179ae5(0x0,_0x475e9c[_0x4bdeea(0x227)](_0x475e9c[_0x4bdeea(0x35a)])),_0x179ae5(0x1,_0x2b5885['ITransformService'])],_0x192512);var _0x30940a=Object[_0x4bdeea(0x1f6)],_0x44bf75=(_0x2d1de1,_0x481a6,_0x2281e0,_0x523d27)=>{const _0x3ac565=_0x4bdeea;for(var _0x35379b=_0x523d27>0x1?void 0x0:_0x523d27?_0x30940a(_0x481a6,_0x2281e0):_0x481a6,_0x2955ae=_0x2d1de1[_0x3ac565(0x228)]-0x1,_0x65ba54;_0x2955ae>=0x0;_0x2955ae--)(_0x65ba54=_0x2d1de1[_0x2955ae])&&(_0x35379b=_0x65ba54(_0x35379b)||_0x35379b);return _0x35379b;},_0x1364e1=(_0x16bfaf,_0x42910c)=>(_0x124651,_0x530394)=>_0x42910c(_0x124651,_0x530394,_0x16bfaf);let _0x42e3b5=class extends _0x475e9c[_0x4bdeea(0x20d)]{constructor(_0x564377,_0x1af7c9,_0x2a7d29,_0x33cbec,_0x262930,_0x5ead49,_0x133d35,_0x250951){const _0x231d43=_0x4bdeea;super(),_0x38f5b4(this,_0x231d43(0x154),new _0x408ff3[(_0x231d43(0x2da))](_0x3f5c1e[_0x231d43(0x349)][_0x231d43(0x2db)])),(this[_0x231d43(0x207)]=_0x564377,this[_0x231d43(0x1fd)]=_0x1af7c9,this['_docTransformIMECacheService']=_0x2a7d29,this['_docTransformStateCacheService']=_0x33cbec,this['_docTransformSelectionsService']=_0x262930,this[_0x231d43(0x18b)]=_0x5ead49,this['_messageService']=_0x133d35,this[_0x231d43(0x2e1)]=_0x250951,this[_0x231d43(0x224)]());}[_0x4bdeea(0x224)](){const _0x13f04a=_0x4bdeea;this['disposeWithMe'](this[_0x13f04a(0x1fd)][_0x13f04a(0x330)][_0x13f04a(0x139)](_0x3187ad=>{const _0x5cc383=_0x13f04a,_0x4ce776=this[_0x5cc383(0x207)][_0x5cc383(0x2a6)]['subscribe'](_0x2fabbe=>{const _0x5a909d=_0x5cc383;if(_0x2fabbe==null)return;const {unitId:_0x4a87b4,redoState:_0x284547,commandId:_0x3fde60}=_0x2fabbe;if(_0x4a87b4!==_0x3187ad['unitID'])return;const _0x37e10b={'id':_0x3fde60,'type':_0x475e9c[_0x5a909d(0x1f1)]['MUTATION'],'params':{'unitId':_0x4a87b4,'actions':_0x284547['actions'],'textRanges':null}};_0x3187ad[_0x5a909d(0x2fd)](_0x37e10b);});if(_0x3187ad[_0x5cc383(0x102)](_0x4ce776),_0x3187ad instanceof _0x3f5c1e[_0x5cc383(0x11e)]){const _0x5528e3={'onTransformIME':_0x181d8b=>this[_0x5cc383(0x130)][_0x5cc383(0x1b0)](_0x181d8b),'onTransformState':_0x32d926=>this[_0x5cc383(0x266)]['transformStateCache'](_0x32d926),'onTransformSelections':_0x46db77=>this[_0x5cc383(0x153)]['transformSelections'](_0x46db77),'onSyncEditingCollabCursor':_0x655f3a=>this[_0x5cc383(0x18b)][_0x5cc383(0xd3)](_0x655f3a),'onTransformRemoteChangesetByIMECache':_0x26d12b=>this[_0x5cc383(0x130)][_0x5cc383(0x2a3)](_0x26d12b),'onTransformRemoteChangesetByStateCache':_0x412f4c=>this[_0x5cc383(0x266)][_0x5cc383(0x2a3)](_0x412f4c)};_0x3187ad[_0x5cc383(0x33e)](_0x5528e3);}}));}};_0x42e3b5=_0x44bf75([_0x1364e1(0x0,_0x475e9c[_0x4bdeea(0x227)](_0x122cd9[_0x4bdeea(0x332)])),_0x1364e1(0x1,_0x475e9c[_0x4bdeea(0x227)](_0x3f5c1e[_0x4bdeea(0x34b)])),_0x1364e1(0x2,_0x475e9c['Inject'](_0x3dd018)),_0x1364e1(0x3,_0x475e9c['Inject'](_0x224339)),_0x1364e1(0x4,_0x475e9c['Inject'](_0x192512)),_0x1364e1(0x5,_0x475e9c[_0x4bdeea(0x227)](_0x4a4976)),_0x1364e1(0x6,_0x9b1255[_0x4bdeea(0x22e)]),_0x1364e1(0x7,_0x475e9c[_0x4bdeea(0x227)](_0x475e9c['LocaleService']))],_0x42e3b5);var _0x392fc4=Object[_0x4bdeea(0x1f6)],_0x4b4669=(_0x28b144,_0x419eb1,_0x405583,_0x3aba00)=>{for(var _0x43ab40=_0x3aba00>0x1?void 0x0:_0x3aba00?_0x392fc4(_0x419eb1,_0x405583):_0x419eb1,_0x117200=_0x28b144['length']-0x1,_0x2521b7;_0x117200>=0x0;_0x117200--)(_0x2521b7=_0x28b144[_0x117200])&&(_0x43ab40=_0x2521b7(_0x43ab40)||_0x43ab40);return _0x43ab40;},_0x6c8524=(_0x125f72,_0x5abe73)=>(_0x5eb0e7,_0x54427e)=>_0x5abe73(_0x5eb0e7,_0x54427e,_0x125f72);let _0xbb20be=class extends _0x475e9c[_0x4bdeea(0x20d)]{constructor(_0x41bedf,_0xf4bb96,_0x5ee2f9){const _0x4489c6=_0x4bdeea;super(),_0x38f5b4(this,_0x4489c6(0x14d),new Map()),_0x38f5b4(this,_0x4489c6(0x2c8),new Map()),_0x38f5b4(this,'_disabled',!0x1),(this['_configService']=_0x41bedf,this[_0x4489c6(0x217)]=_0xf4bb96,this[_0x4489c6(0x2fb)]=_0x5ee2f9);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x4bdeea(0x26b)](){const _0x4420f2=_0x4bdeea;this[_0x4420f2(0x24f)]=!0x1;}get[_0x4bdeea(0x158)](){const _0x2a4768=_0x4bdeea;return this[_0x2a4768(0x2c8)];}['dispose'](){const _0x4abbb1=_0x4bdeea;this['exhaustSavingTask']()[_0x4abbb1(0x261)](()=>super[_0x4abbb1(0x2b3)]());}async[_0x4bdeea(0x2be)](_0x4e0fd3){const _0x5564db=_0x4bdeea;return this['_disabled']?null:this[_0x5564db(0x217)][_0x5564db(0x33b)](_0x3f5c1e[_0x5564db(0x355)](_0x4e0fd3));}async[_0x4bdeea(0x25f)](_0x54bdff,_0xadfa53){const _0x4a6b2d=_0x4bdeea;return!!this[_0x4a6b2d(0x217)][_0x4a6b2d(0x17a)](_0x54bdff,_0xadfa53);}[_0x4bdeea(0x198)](_0x563455,_0x1e06ac,_0x149f45,_0x54ddb7){const _0x3a677f=_0x4bdeea,_0x5ddd8c=this[_0x3a677f(0x2fb)][_0x3a677f(0x106)](_0x563455);this[_0x3a677f(0x14d)][_0x3a677f(0x28c)](_0x563455,{'unitID':_0x563455,'type':_0x1e06ac,'awaitingChangeset':_0x149f45,'mutations':_0x54ddb7,'rev':_0x5ddd8c}),this['_saveTaskMap'][_0x3a677f(0x341)](_0x563455)||this[_0x3a677f(0x2f8)](_0x563455);}[_0x4bdeea(0x2f8)](_0x50f476){const _0x5406cc=_0x4bdeea,_0x1467c8=this[_0x5406cc(0x340)]();_0x1467c8===0x0?this[_0x5406cc(0x33a)](_0x50f476):this[_0x5406cc(0x2c8)]['set'](_0x50f476,setTimeout(()=>this[_0x5406cc(0x33a)](_0x50f476),_0x1467c8));}[_0x4bdeea(0x340)](){var _0x467d62;return(_0x467d62=this['_configService']['getConfig'](_0x3f5c1e['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x467d62:_0x3f5c1e['LOCAL_CACHE_INTERVAL'];}[_0x4bdeea(0x33a)](_0x14f0f1){const _0xaa9cff=_0x4bdeea,_0x1db55f=this[_0xaa9cff(0x2c8)][_0xaa9cff(0xce)](_0x14f0f1);return _0x1db55f!==void 0x0&&window[_0xaa9cff(0x11a)](_0x1db55f),this['_localStorageService'][_0xaa9cff(0x17a)](_0x3f5c1e[_0xaa9cff(0x355)](_0x14f0f1),this['_cachedData'][_0xaa9cff(0xce)](_0x14f0f1))[_0xaa9cff(0x261)](()=>this['_saveTaskMap']['delete'](_0x14f0f1));}async[_0x4bdeea(0x2ba)](){const _0xb437b9=[];this['_saveTaskMap']['forEach']((_0x50fadc,_0x5132be)=>{const _0x5aa0e1=_0x1da8;window[_0x5aa0e1(0x11a)](_0x50fadc),_0xb437b9[_0x5aa0e1(0x149)](this['_saveCache'](_0x5132be)['then'](()=>{const _0x25a9d9=_0x5aa0e1;this['_saveTaskMap'][_0x25a9d9(0x1c3)](_0x5132be);}));}),await Promise['all'](_0xb437b9);}};_0xbb20be=_0x4b4669([_0x6c8524(0x0,_0x475e9c[_0x4bdeea(0x333)]),_0x6c8524(0x1,_0x475e9c[_0x4bdeea(0x249)]),_0x6c8524(0x2,_0x475e9c[_0x4bdeea(0x227)](_0x2b5885['RevisionService']))],_0xbb20be);class _0x15e0ef extends _0x475e9c[_0x4bdeea(0xf7)]{constructor(){const _0x4f4d53=_0x4bdeea;super(),_0x38f5b4(this,'urlChange$'),this[_0x4f4d53(0x31c)]=_0x408ff3[_0x4f4d53(0x301)](window,_0x4f4d53(0x286))[_0x4f4d53(0x122)](_0x408ff3[_0x4f4d53(0x353)](this['dispose$']),_0x408ff3[_0x4f4d53(0x186)](0x1),_0x408ff3[_0x4f4d53(0x19e)](void 0x0));}[_0x4bdeea(0x211)](_0x3d98a9,_0x5a3bcb,_0x555685=!0x1){const _0x9356f8=_0x4bdeea,_0x4ecf1e=new URL(window[_0x9356f8(0x22f)][_0x9356f8(0x35c)]);_0x4ecf1e[_0x9356f8(0x33d)][_0x9356f8(0x28c)](_0x3d98a9,_0x5a3bcb),_0x555685?window[_0x9356f8(0x27a)][_0x9356f8(0x1d4)]('','',_0x4ecf1e[_0x9356f8(0x1c4)]()):window[_0x9356f8(0x27a)][_0x9356f8(0x1de)]('','',_0x4ecf1e[_0x9356f8(0x1c4)]());}[_0x4bdeea(0x1f5)](_0x157445,_0x2dde4e=!0x1){const _0x3d6618=_0x4bdeea,_0x2f9e92=new URL(window[_0x3d6618(0x22f)][_0x3d6618(0x35c)]);_0x2f9e92[_0x3d6618(0x33d)]['delete'](_0x157445),_0x2dde4e?window['history']['replaceState']('','',_0x2f9e92[_0x3d6618(0x1c4)]()):window['history']['pushState']('','',_0x2f9e92['toString']());}['getParam'](_0x39d6c3){const _0x34f0be=_0x4bdeea;var _0x26da46;return(_0x26da46=new URL(window[_0x34f0be(0x22f)][_0x34f0be(0x35c)])[_0x34f0be(0x33d)][_0x34f0be(0xce)](_0x39d6c3))!=null?_0x26da46:void 0x0;}}var _0x1e8c02=Object[_0x4bdeea(0x184)],_0x44f4c4=Object[_0x4bdeea(0x1f6)],_0x3dee30=(_0x542587,_0x40b3a3,_0x126106)=>_0x40b3a3 in _0x542587?_0x1e8c02(_0x542587,_0x40b3a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x126106}):_0x542587[_0x40b3a3]=_0x126106,_0x43b937=(_0x229c1c,_0x46dca7,_0x4a1ec1,_0x59bfa7)=>{for(var _0x27b96a=_0x59bfa7>0x1?void 0x0:_0x59bfa7?_0x44f4c4(_0x46dca7,_0x4a1ec1):_0x46dca7,_0x286675=_0x229c1c['length']-0x1,_0x19798c;_0x286675>=0x0;_0x286675--)(_0x19798c=_0x229c1c[_0x286675])&&(_0x27b96a=_0x19798c(_0x27b96a)||_0x27b96a);return _0x27b96a;},_0x3ce847=(_0x51cd4a,_0x2e071e)=>(_0x793661,_0x459b4f)=>_0x2e071e(_0x793661,_0x459b4f,_0x51cd4a),_0x17c5ab=(_0xe9171b,_0x2c0208,_0x516599)=>_0x3dee30(_0xe9171b,_0x2c0208+'',_0x516599);const _0x454ca9=_0x4bdeea(0x111);_0x41fd92[_0x4bdeea(0x2cb)]=class extends _0x475e9c[_0x4bdeea(0x197)]{constructor(_0x2725dd=_0x365da8,_0x410eb7,_0x678517,_0x5c2e97){const _0x2c4e35=_0x4bdeea;super(),this[_0x2c4e35(0x1b8)]=_0x2725dd,this[_0x2c4e35(0x318)]=_0x410eb7,this[_0x2c4e35(0x275)]=_0x678517,this[_0x2c4e35(0x234)]=_0x5c2e97;const {..._0x2d48b0}=_0x475e9c[_0x2c4e35(0x2e7)]({},_0x365da8,this[_0x2c4e35(0x1b8)]);this[_0x2c4e35(0x234)][_0x2c4e35(0x209)](_0x40a988,_0x2d48b0);}[_0x4bdeea(0x32c)](){const _0x2cf1de=_0x4bdeea;this['_registerDependencies'](),this[_0x2cf1de(0x24e)]();}[_0x4bdeea(0x26e)](){const _0x23cebf=_0x4bdeea;this[_0x23cebf(0x35d)]();}['_registerDependencies'](){const _0x25ec37=_0x4bdeea;var _0x3f71ad;const _0x56e2da=[[_0x522a8d],[_0x192512],[_0x3dd018],[_0x224339],[_0x4a4976],[_0x4e6f1e,{'useClass':_0x15e0ef}],[_0x190f53[_0x25ec37(0xdd)],{'useClass':_0x190f53[_0x25ec37(0x259)]}],[_0x3f5c1e[_0x25ec37(0x257)],{'useClass':_0xbb20be}],[_0x41fd92[_0x25ec37(0x10f)]],[_0x42e3b5],[_0xbacb09],[_0x8c6cd6],[_0x3f3cca],[_0x41fd92[_0x25ec37(0x23a)]]];_0x475e9c[_0x25ec37(0x151)](this['_injector'],_0x475e9c[_0x25ec37(0x107)](_0x56e2da,(_0x3f71ad=this[_0x25ec37(0x1b8)])==null?void 0x0:_0x3f71ad[_0x25ec37(0x30a)]));}[_0x4bdeea(0x35d)](){const _0x238f38=_0x4bdeea;this[_0x238f38(0x102)](this['_renderManagerService'][_0x238f38(0x2f9)](_0x475e9c['UniverInstanceType'][_0x238f38(0xe4)],[_0x30f02b])),this['disposeWithMe'](this['_renderManagerService'][_0x238f38(0x2f9)](_0x475e9c['UniverInstanceType'][_0x238f38(0x119)],[_0xb6364d]));}[_0x4bdeea(0x24e)](){const _0x5b4311=_0x4bdeea;_0x475e9c['touchDependencies'](this[_0x5b4311(0x275)],[[_0x8c6cd6],[_0x41fd92[_0x5b4311(0x10f)]],[_0x42e3b5],[_0xbacb09],[_0x41fd92[_0x5b4311(0x23a)]]]);}},_0x17c5ab(_0x41fd92[_0x4bdeea(0x2cb)],_0x4bdeea(0x290),_0x454ca9),_0x41fd92[_0x4bdeea(0x2cb)]=_0x43b937([_0x475e9c[_0x4bdeea(0x216)](_0x3f5c1e[_0x4bdeea(0xf6)]),_0x3ce847(0x1,_0x577de9[_0x4bdeea(0xc8)]),_0x3ce847(0x2,_0x475e9c['Inject'](_0x475e9c['Injector'])),_0x3ce847(0x3,_0x475e9c[_0x4bdeea(0x333)])],_0x41fd92[_0x4bdeea(0x2cb)]);var _0x17593a=Object['getOwnPropertyDescriptor'],_0xf83c99=(_0x7d9310,_0x229a8e,_0x5969df,_0x3885e7)=>{const _0x12f751=_0x4bdeea;for(var _0x28358c=_0x3885e7>0x1?void 0x0:_0x3885e7?_0x17593a(_0x229a8e,_0x5969df):_0x229a8e,_0x3c0e61=_0x7d9310[_0x12f751(0x228)]-0x1,_0x249af0;_0x3c0e61>=0x0;_0x3c0e61--)(_0x249af0=_0x7d9310[_0x3c0e61])&&(_0x28358c=_0x249af0(_0x28358c)||_0x28358c);return _0x28358c;},_0x383d32=(_0x5a0fe2,_0x51523d)=>(_0x343787,_0x12cbe0)=>_0x51523d(_0x343787,_0x12cbe0,_0x5a0fe2);_0x41fd92[_0x4bdeea(0x1cb)]=class extends _0x3f5c1e[_0x4bdeea(0x165)]{constructor(_0x26a473,_0x5c8d17,_0x5332f3,_0x2b8008,_0x5b0f73){super(_0x26a473,_0x5c8d17,_0x5332f3,_0x2b8008,_0x5b0f73);}async[_0x4bdeea(0x2d7)](_0x441e40){const _0x170e12=_0x4bdeea,_0x38ddb0=await this[_0x170e12(0x2eb)](),_0x5a6da2=this['_createSocketURL'](_0x441e40,_0x38ddb0);return this[_0x170e12(0x145)](_0x5a6da2);}[_0x4bdeea(0x2af)](_0x17ab34,_0x204f33){const _0x5241b4=_0x4bdeea,_0x72749d=typeof window>'u'?new URL(_0x17ab34):new URL(_0x17ab34,window['location'][_0x5241b4(0x1d6)]);_0x72749d[_0x5241b4(0x33d)][_0x5241b4(0x28c)](_0x5241b4(0x2f7),_0x204f33);const _0x4155d3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5241b4(0x22f)][_0x5241b4(0xc3)]);return _0x4155d3['get']('runId')&&_0x72749d[_0x5241b4(0x33d)][_0x5241b4(0x28c)](_0x5241b4(0xd4),_0x4155d3[_0x5241b4(0xce)]('runId')),_0x72749d[_0x5241b4(0x1c4)]();}async['_getSessionTicket'](){const _0x2ff7cf=_0x4bdeea;var _0x151da8,_0xcf7336,_0x9b4f1e;const _0x4aea50=this[_0x2ff7cf(0x234)][_0x2ff7cf(0x33c)](_0x3f5c1e[_0x2ff7cf(0x30e)]),_0x18f95a=(_0x151da8=_0x4aea50==null?void 0x0:_0x4aea50[_0x2ff7cf(0x2df)])!=null?_0x151da8:_0x3f5c1e[_0x2ff7cf(0x335)];return(_0x9b4f1e=(_0xcf7336=(await this[_0x2ff7cf(0x1e3)]['get'](_0x18f95a,{'headers':{'Content-Type':_0x2ff7cf(0x1c0)}}))[_0x2ff7cf(0x1e1)])==null?void 0x0:_0xcf7336[_0x2ff7cf(0x240)])!=null?_0x9b4f1e:'';}},_0x41fd92[_0x4bdeea(0x1cb)]=_0xf83c99([_0x383d32(0x0,_0x475e9c[_0x4bdeea(0x227)](_0x475e9c[_0x4bdeea(0x35a)])),_0x383d32(0x1,_0x475e9c[_0x4bdeea(0x227)](_0x190f53[_0x4bdeea(0x34e)])),_0x383d32(0x2,_0x475e9c[_0x4bdeea(0x333)]),_0x383d32(0x3,_0x475e9c[_0x4bdeea(0xe9)]),_0x383d32(0x4,_0x2b5885['ISnapshotServerService'])],_0x41fd92[_0x4bdeea(0x1cb)]);const _0x338303=0x7530,_0x5481cd=_0x4bdeea(0x168);class _0x2539cd extends _0x475e9c['Disposable']{constructor(){const _0x27414e=_0x4bdeea;super(),_0x38f5b4(this,_0x27414e(0x1ab),_0x475e9c[_0x27414e(0x2b1)]()),_0x38f5b4(this,'_selfUnitIDs',new Set()),_0x38f5b4(this,'_unitOnClients',new Map()),_0x38f5b4(this,_0x27414e(0x126),null),_0x38f5b4(this,_0x27414e(0x21d),new Map()),_0x38f5b4(this,'_unitStatus',new Map()),this[_0x27414e(0x2de)]();}[_0x4bdeea(0x2b3)](){const _0xb9302d=_0x4bdeea;super[_0xb9302d(0x2b3)](),this[_0xb9302d(0x21d)][_0xb9302d(0x120)]((_0xedc5a4,_0x3e5fea)=>this[_0xb9302d(0x1b5)](_0x3e5fea)),this[_0xb9302d(0x126)]&&window[_0xb9302d(0x20e)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x386ee4){const _0x114c71=_0x4bdeea;return this[_0x114c71(0x2f2)](_0x386ee4)['pipe'](_0x408ff3[_0x114c71(0x177)]());}[_0x4bdeea(0x10c)](_0x2e4df8){const _0x326995=_0x4bdeea;this[_0x326995(0x2b2)]['size']===0x0&&this[_0x326995(0x189)](),this[_0x326995(0x2b2)][_0x326995(0x262)](_0x2e4df8),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2e4df8],'isForwarded':!0x1});}[_0x4bdeea(0x2a5)](_0x4f85ae){const _0x3ac17d=_0x4bdeea;this['_selfUnitIDs'][_0x3ac17d(0x1c3)](_0x4f85ae),this[_0x3ac17d(0x2b2)][_0x3ac17d(0x110)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x4bdeea(0x2de)](){const _0x54df31=_0x4bdeea;this[_0x54df31(0x102)](_0x475e9c[_0x54df31(0x2d2)](_0x408ff3[_0x54df31(0x301)](window,_0x54df31(0x295))['subscribe'](_0x10630f=>{const _0x1b0308=_0x54df31;if(_0x10630f['key']!==_0x5481cd||!_0x10630f[_0x1b0308(0xd1)])return;const _0x2fe4c9=JSON[_0x1b0308(0x25a)](_0x10630f['newValue']);this[_0x1b0308(0x241)](_0x2fe4c9);}))),window[_0x54df31(0x1a5)](_0x54df31(0x2a8),()=>this[_0x54df31(0x178)]({'type':0x1,'memberID':this[_0x54df31(0x1ab)],'unitIDs':Array[_0x54df31(0x317)](this[_0x54df31(0x2b2)])}));}['_handleEvent'](_0x4fcaac){const _0x134b27=_0x4bdeea;switch(_0x4fcaac[_0x134b27(0x185)]){case 0x0:this[_0x134b27(0x298)](_0x4fcaac);break;case 0x1:this['_handleLeaveEvent'](_0x4fcaac);break;case 0x2:this[_0x134b27(0x22c)](_0x4fcaac);break;}}[_0x4bdeea(0x298)](_0x1e8706){const _0x61c899=_0x4bdeea,{unitIDs:_0x1937bc,memberID:_0x283a6f,isForwarded:_0x1a57c6}=_0x1e8706;_0x1937bc[_0x61c899(0x120)](_0x1918cb=>{const _0x3bea75=_0x61c899;if(!_0x1a57c6&&this[_0x3bea75(0x27e)][_0x3bea75(0x341)](_0x1918cb)&&this[_0x3bea75(0x2f2)](_0x1918cb)[_0x3bea75(0x22a)](_0x3f5c1e['UnitStatus'][_0x3bea75(0x1f7)]),!this['_unitOnClients'][_0x3bea75(0x341)](_0x1918cb)||!this[_0x3bea75(0x27e)][_0x3bea75(0xce)](_0x1918cb)[_0x3bea75(0x341)](_0x283a6f)){const _0x2ecdb4=this[_0x3bea75(0x27e)][_0x3bea75(0xce)](_0x1918cb)||new Set();_0x2ecdb4[_0x3bea75(0x262)](_0x283a6f),this[_0x3bea75(0x27e)][_0x3bea75(0x28c)](_0x1918cb,_0x2ecdb4),this['_scheduleClearOtherTimer'](_0x283a6f);}}),_0x1a57c6||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x61c899(0x2b2)]],'isForwarded':!0x0});}[_0x4bdeea(0x1e8)](_0xa4732a){const _0x2dce5b=_0x4bdeea;this[_0x2dce5b(0x1b5)](_0xa4732a);const _0x6280f8=window[_0x2dce5b(0xe2)](()=>{const _0x599e54=_0x2dce5b;this[_0x599e54(0x27e)][_0x599e54(0x120)](_0x56e6f9=>{const _0x4d5a18=_0x599e54;_0x56e6f9[_0x4d5a18(0x1c3)](_0xa4732a);});},_0x338303*0x2);this[_0x2dce5b(0x21d)][_0x2dce5b(0x28c)](_0xa4732a,_0x6280f8);}['_removeClearOtherTimer'](_0x298212){const _0x35bab0=_0x4bdeea;if(this[_0x35bab0(0x21d)][_0x35bab0(0x341)](_0x298212)){const _0x28bcc4=this[_0x35bab0(0x21d)][_0x35bab0(0xce)](_0x298212);_0x28bcc4&&window['clearTimeout'](_0x28bcc4),this[_0x35bab0(0x21d)][_0x35bab0(0x28c)](_0x298212,null);}}[_0x4bdeea(0x2d8)](_0x53558f){const _0x7a8a36=_0x4bdeea,{memberID:_0x598a34,unitIDs:_0x2736b9}=_0x53558f;_0x2736b9[_0x7a8a36(0x120)](_0x3ab9ac=>{const _0x40c1fb=_0x7a8a36;var _0x546250;const _0x431212=this[_0x40c1fb(0x27e)][_0x40c1fb(0xce)](_0x3ab9ac);_0x431212&&(_0x431212[_0x40c1fb(0x1c3)](_0x598a34),(_0x546250=this['_ensureSubject'](_0x3ab9ac))==null||_0x546250[_0x40c1fb(0x22a)](_0x431212['size']===0x0?_0x3f5c1e[_0x40c1fb(0x1c2)][_0x40c1fb(0x277)]:_0x3f5c1e[_0x40c1fb(0x1c2)][_0x40c1fb(0x1f7)]));}),this[_0x7a8a36(0x1b5)](_0x598a34);}[_0x4bdeea(0x22c)](_0x1bb948){const _0x544f76=_0x4bdeea;this[_0x544f76(0x1e8)](_0x1bb948[_0x544f76(0x135)]);}[_0x4bdeea(0x178)](_0x34fc14){const _0x161c85=_0x4bdeea;localStorage[_0x161c85(0x17a)](_0x5481cd,JSON[_0x161c85(0x268)](_0x34fc14));}[_0x4bdeea(0x189)](){const _0x3baa57=_0x4bdeea;this[_0x3baa57(0x126)]=window[_0x3baa57(0x1d9)](()=>{const _0x3b0c5d=_0x3baa57;this['_send']({'type':0x2,'memberID':this[_0x3b0c5d(0x1ab)]});},_0x338303);}[_0x4bdeea(0x2f2)](_0xcb5262){const _0x480767=_0x4bdeea;return this[_0x480767(0x11b)][_0x480767(0x341)](_0xcb5262)||this[_0x480767(0x11b)][_0x480767(0x28c)](_0xcb5262,new _0x408ff3['BehaviorSubject'](_0x3f5c1e[_0x480767(0x1c2)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x480767(0x11b)][_0x480767(0xce)](_0xcb5262);}}var _0x24b412=(_0x213d11=>(_0x213d11[_0x213d11[_0x4bdeea(0x31b)]=0x0]=_0x4bdeea(0x31b),_0x213d11[_0x213d11['OK']=0x1]='OK',_0x213d11[_0x213d11[_0x4bdeea(0x12e)]=0x2]='INTERNAL_ERROR',_0x213d11[_0x213d11[_0x4bdeea(0x172)]=0x3]=_0x4bdeea(0x172),_0x213d11[_0x213d11[_0x4bdeea(0x283)]=0x4]=_0x4bdeea(0x283),_0x213d11[_0x213d11['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x213d11[_0x213d11['ALREADY_EXISTS']=0x6]=_0x4bdeea(0x2ab),_0x213d11[_0x213d11[_0x4bdeea(0x359)]=0x7]='INVALID_ARGUMENT',_0x213d11[_0x213d11[_0x4bdeea(0x2dc)]=0x8]=_0x4bdeea(0x2dc),_0x213d11[_0x213d11[_0x4bdeea(0x138)]=0x9]=_0x4bdeea(0x138),_0x213d11[_0x213d11[_0x4bdeea(0x176)]=0xa]=_0x4bdeea(0x176),_0x213d11[_0x213d11[_0x4bdeea(0x19b)]=0xb]=_0x4bdeea(0x19b),_0x213d11[_0x213d11[_0x4bdeea(0x222)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x213d11[_0x213d11[_0x4bdeea(0x202)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x213d11[_0x213d11[_0x4bdeea(0x323)]=0xe]=_0x4bdeea(0x323),_0x213d11[_0x213d11[_0x4bdeea(0x223)]=0x1389]=_0x4bdeea(0x223),_0x213d11[_0x213d11[_0x4bdeea(0x360)]=0x1771]=_0x4bdeea(0x360),_0x213d11[_0x213d11['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4bdeea(0x2d9),_0x213d11[_0x213d11[_0x4bdeea(0x108)]=0x1773]=_0x4bdeea(0x108),_0x213d11[_0x213d11[_0x4bdeea(0x1ad)]=0x1b59]='APPLY_REJECT',_0x213d11[_0x213d11['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4bdeea(0x1e2),_0x213d11[_0x213d11[_0x4bdeea(0x20f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x213d11[_0x213d11[_0x4bdeea(0x14f)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x213d11[_0x213d11[_0x4bdeea(0x1c8)]=0x1b5d]='APPLY_DUPLICATED',_0x213d11[_0x213d11['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4bdeea(0x1a1),_0x213d11[_0x213d11[_0x4bdeea(0x351)]=0x2329]=_0x4bdeea(0x351),_0x213d11[_0x213d11[_0x4bdeea(0x2a9)]=0x232a]=_0x4bdeea(0x2a9),_0x213d11[_0x213d11[_0x4bdeea(0x2ac)]=0x232b]=_0x4bdeea(0x2ac),_0x213d11[_0x213d11[_0x4bdeea(0x18e)]=0x232c]=_0x4bdeea(0x18e),_0x213d11[_0x213d11['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x213d11[_0x213d11['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x213d11[_0x213d11[_0x4bdeea(0x1ed)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x213d11[_0x213d11['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4bdeea(0x1be),_0x213d11[_0x213d11[_0x4bdeea(0x29e)]=0x2714]=_0x4bdeea(0x29e),_0x213d11[_0x213d11['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4bdeea(0x132),_0x213d11[_0x213d11['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4bdeea(0x321),_0x213d11[_0x213d11[_0x4bdeea(0xfc)]=0x271c]=_0x4bdeea(0xfc),_0x213d11[_0x213d11[_0x4bdeea(0x18c)]=0x271d]=_0x4bdeea(0x18c),_0x213d11[_0x213d11[_0x4bdeea(0x115)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x213d11[_0x213d11[_0x4bdeea(0x1fe)]=0x271f]=_0x4bdeea(0x1fe),_0x213d11[_0x213d11[_0x4bdeea(0x1ef)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x213d11[_0x213d11[_0x4bdeea(0x15e)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x213d11[_0x213d11['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4bdeea(0x10d),_0x213d11[_0x213d11[_0x4bdeea(0x142)]=0x2ee2]='INVALID_INVITE_CODE',_0x213d11[_0x213d11['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x213d11[_0x213d11[_0x4bdeea(0x35e)]=0x2ee4]=_0x4bdeea(0x35e),_0x213d11[_0x213d11[_0x4bdeea(0xd7)]=0x2ee5]=_0x4bdeea(0xd7),_0x213d11[_0x213d11[_0x4bdeea(0x2e5)]=0x32c9]=_0x4bdeea(0x2e5),_0x213d11[_0x213d11['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x213d11[_0x213d11[_0x4bdeea(0x2ed)]=0x32cb]=_0x4bdeea(0x2ed),_0x213d11[_0x213d11[_0x4bdeea(0x1f4)]=-0x1]=_0x4bdeea(0x1f4),_0x213d11))(_0x24b412||{}),_0x51020f=Object['getOwnPropertyDescriptor'],_0x4250be=(_0x543a64,_0x1e3a81,_0x18183a,_0x17a12e)=>{const _0x2f0844=_0x4bdeea;for(var _0x340554=_0x17a12e>0x1?void 0x0:_0x17a12e?_0x51020f(_0x1e3a81,_0x18183a):_0x1e3a81,_0x43c5c3=_0x543a64[_0x2f0844(0x228)]-0x1,_0x22cb69;_0x43c5c3>=0x0;_0x43c5c3--)(_0x22cb69=_0x543a64[_0x43c5c3])&&(_0x340554=_0x22cb69(_0x340554)||_0x340554);return _0x340554;},_0x2da290=(_0x3e92c3,_0x475e1f)=>(_0x4401d7,_0x492232)=>_0x475e1f(_0x4401d7,_0x492232,_0x3e92c3);_0x41fd92[_0x4bdeea(0xfd)]=class extends _0x475e9c[_0x4bdeea(0x20d)]{constructor(_0x465c11,_0x22b0aa,_0x367fbc){const _0x2c7676=_0x4bdeea;super(),this[_0x2c7676(0x2ef)]=_0x465c11,this[_0x2c7676(0x1e3)]=_0x22b0aa,this[_0x2c7676(0x234)]=_0x367fbc;}async[_0x4bdeea(0x269)](_0x457724,_0x4de3bc,_0x152f82,..._0x569988){const _0x3e5d96=_0x4bdeea;var _0x2ffd0b,_0x40b9bf,_0x37691a,_0x527c24;const _0x63c350=this[_0x3e5d96(0x2ef)][_0x3e5d96(0x2e6)]();if(!_0x63c350)throw new Error(_0x3e5d96(0x21e));const _0x12645b=((_0x2ffd0b=this[_0x3e5d96(0x234)][_0x3e5d96(0x33c)](_0x3f5c1e['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x2ffd0b:_0x3f5c1e[_0x3e5d96(0x2e3)])+'/'+_0x457724+_0x3e5d96(0x1bd)+_0x4de3bc,_0x3afedf=new URL(window['location'][_0x3e5d96(0x35c)]),_0x4a53b0={'scriptId':_0x457724,'runId':(_0x40b9bf=_0x3afedf[_0x3e5d96(0x33d)]['get']('runId'))!=null?_0x40b9bf:'','function':_0x4de3bc,'unitId':_0x63c350[_0x3e5d96(0x187)](),'argsOfFunction':JSON[_0x3e5d96(0x268)](_0x569988),'invokeId':(_0x37691a=_0x152f82[_0x3e5d96(0x1d8)])!=null?_0x37691a:'','executionId':(_0x527c24=_0x152f82['executionId'])!=null?_0x527c24:''};try{const _0x182edf=await this['_httpService'][_0x3e5d96(0x136)](_0x12645b,{'body':_0x4a53b0});return _0x182edf[_0x3e5d96(0x1e1)][_0x3e5d96(0x220)]&&_0x182edf[_0x3e5d96(0x1e1)]['error']['code']!==_0x24b412['OK']?'Failed':_0x182edf[_0x3e5d96(0x1e1)][_0x3e5d96(0x10e)];}catch{return _0x3e5d96(0x2bf);}}},_0x41fd92[_0x4bdeea(0xfd)]=_0x4250be([_0x2da290(0x0,_0x475e9c[_0x4bdeea(0x148)]),_0x2da290(0x1,_0x475e9c['Inject'](_0x190f53['HTTPService'])),_0x2da290(0x2,_0x475e9c[_0x4bdeea(0x333)])],_0x41fd92[_0x4bdeea(0xfd)]),_0x41fd92[_0x4bdeea(0x1d0)]=_0x436f77,_0x41fd92['IURLService']=_0x4e6f1e,_0x41fd92['SheetCollabCursorShape']=_0x51894d,_0x41fd92['WebBrowserSingleActiveUnitService']=_0x2539cd,_0x41fd92['WebURLService']=_0x15e0ef,Object['defineProperty'](_0x41fd92,Symbol[_0x4bdeea(0x146)],{'value':_0x4bdeea(0x344)});}));
|
|
1
|
+
(function(_0x22d504,_0x12264a){const _0x569ea2=_0x57d8,_0x16c31f=_0x22d504();while(!![]){try{const _0x4ef8b8=parseInt(_0x569ea2(0x229))/0x1+parseInt(_0x569ea2(0x3c7))/0x2*(-parseInt(_0x569ea2(0x2ad))/0x3)+-parseInt(_0x569ea2(0x278))/0x4*(-parseInt(_0x569ea2(0x3ee))/0x5)+parseInt(_0x569ea2(0x1f4))/0x6+parseInt(_0x569ea2(0x364))/0x7*(-parseInt(_0x569ea2(0x311))/0x8)+-parseInt(_0x569ea2(0x413))/0x9*(-parseInt(_0x569ea2(0x39f))/0xa)+parseInt(_0x569ea2(0x3cd))/0xb*(-parseInt(_0x569ea2(0x30f))/0xc);if(_0x4ef8b8===_0x12264a)break;else _0x16c31f['push'](_0x16c31f['shift']());}catch(_0x49d6f3){_0x16c31f['push'](_0x16c31f['shift']());}}}(_0x275b,0x26649),function(_0x5a5a29,_0x1df954){const _0x425b43=_0x57d8;typeof exports=='object'&&typeof module<'u'?_0x1df954(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x425b43(0x1e5)&&define['amd']?define([_0x425b43(0x371),_0x425b43(0x23d),'@univerjs/core',_0x425b43(0x438),'@univerjs/network','@univerjs/docs-ui',_0x425b43(0x409),_0x425b43(0x445),'@univerjs-pro/collaboration',_0x425b43(0x3b7),_0x425b43(0x3d9),_0x425b43(0x3aa),'rxjs/operators',_0x425b43(0x248),'react/jsx-runtime','@univerjs/ui',_0x425b43(0x3c6),_0x425b43(0x44e),'@univerjs/rpc'],_0x1df954):(_0x5a5a29=typeof globalThis<'u'?globalThis:_0x5a5a29||self,_0x1df954(_0x5a5a29['UniverProCollaborationClientUi']={},_0x5a5a29[_0x425b43(0x238)],_0x5a5a29['UniverCore'],_0x5a5a29[_0x425b43(0x223)],_0x5a5a29[_0x425b43(0x2bd)],_0x5a5a29[_0x425b43(0x283)],_0x5a5a29[_0x425b43(0x1c9)],_0x5a5a29[_0x425b43(0x445)],_0x5a5a29[_0x425b43(0x1be)],_0x5a5a29[_0x425b43(0x276)],_0x5a5a29['UniverEngineFormula'],_0x5a5a29[_0x425b43(0x36e)],_0x5a5a29[_0x425b43(0x445)][_0x425b43(0x376)],_0x5a5a29[_0x425b43(0x233)],_0x5a5a29[_0x425b43(0x434)],_0x5a5a29[_0x425b43(0x3a3)],_0x5a5a29[_0x425b43(0x3b8)],_0x5a5a29[_0x425b43(0x434)],_0x5a5a29[_0x425b43(0x1c7)]));}(this,function(_0x1fcb7c,_0xbd5b69,_0x4f68b5,_0x18a418,_0xf95921,_0x5ab0ee,_0x49dd25,_0xddf3a0,_0x51374a,_0x3c2c13,_0x6e0028,_0x396f37,_0x26ab1c,_0x3355d5,_0x5dca86,_0x30746c,_0x479bf2,_0x2e1d69,_0x1314cb){'use strict';const _0x1db088=_0x57d8;var _0x1726fa=Object[_0x1db088(0x30d)],_0xb8c35f=(_0x15c48b,_0x58f7ce,_0x2abbf6)=>_0x58f7ce in _0x15c48b?_0x1726fa(_0x15c48b,_0x58f7ce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2abbf6}):_0x15c48b[_0x58f7ce]=_0x2abbf6,_0x50d51d=(_0x9185e7,_0xc9a8bd,_0x4df207)=>_0xb8c35f(_0x9185e7,typeof _0xc9a8bd!=_0x1db088(0x34d)?_0xc9a8bd+'':_0xc9a8bd,_0x4df207),_0x4b3317=Object[_0x1db088(0x3ac)],_0x222163=(_0x16e917,_0x5d8924,_0x11f7cd,_0x30264c)=>{const _0x4ab43e=_0x1db088;for(var _0x2efb32=_0x30264c>0x1?void 0x0:_0x30264c?_0x4b3317(_0x5d8924,_0x11f7cd):_0x5d8924,_0x3195b6=_0x16e917[_0x4ab43e(0x301)]-0x1,_0x14f1f6;_0x3195b6>=0x0;_0x3195b6--)(_0x14f1f6=_0x16e917[_0x3195b6])&&(_0x2efb32=_0x14f1f6(_0x2efb32)||_0x2efb32);return _0x2efb32;},_0x33a2e7=(_0x56f27d,_0x399e12)=>(_0x285766,_0x2fb7c2)=>_0x399e12(_0x285766,_0x2fb7c2,_0x56f27d);let _0x355c93=class extends _0x4f68b5[_0x1db088(0x386)]{constructor(_0x253584,_0x5889fe){const _0x1e17e4=_0x1db088;super(),this[_0x1e17e4(0x448)]=_0x253584,this[_0x1e17e4(0x316)]=_0x5889fe,this[_0x1e17e4(0x450)]();}[_0x1db088(0x450)](){const _0x5874fd=_0x1db088,_0xf1adeb=this;this['disposeWithMe'](this['_docClipboardService'][_0x5874fd(0x1e8)]({'onBeforePasteImage':async _0x4988ac=>{const _0x1a5d91=_0x5874fd,_0xee299c=await _0xf1adeb[_0x1a5d91(0x316)][_0x1a5d91(0x302)](_0x4988ac);return _0xee299c?{'source':_0xee299c['source'],'imageSourceType':_0xee299c[_0x1a5d91(0x240)]}:null;}}));}};_0x355c93=_0x222163([_0x33a2e7(0x0,_0x5ab0ee[_0x1db088(0x23c)]),_0x33a2e7(0x1,_0x49dd25[_0x1db088(0x2fe)])],_0x355c93);const _0x1b6fba=[_0x1db088(0x27f),'jiqing.500','green.600',_0x1db088(0x416),'blue.400',_0x1db088(0x214)];class _0x551d66 extends _0x4f68b5[_0x1db088(0x3e3)]{constructor(){super(...arguments),_0x50d51d(this,'_assignedColors',new Map()),_0x50d51d(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x46510a){const _0x41caba=_0x1db088;if(this[_0x41caba(0x24e)]['has'](_0x46510a))return this[_0x41caba(0x24e)][_0x41caba(0x38a)](_0x46510a);const _0x6ae546=_0x1b6fba[this[_0x41caba(0x2ba)]];return this[_0x41caba(0x2ba)]=(this['_colorIndex']+0x1)%_0x1b6fba['length'],this[_0x41caba(0x24e)][_0x41caba(0x3f6)](_0x46510a,_0x6ae546),_0x6ae546;}}function _0x251b4b(_0x573c36){let _0x1e17f6='';for(const _0x192df0 of _0x573c36){const {startOffset:_0x2c958d,endOffset:_0x5c15ff,isActive:_0x50451d,rangeType:_0x375b77,segmentId:_0x246664,segmentPage:_0x367e7f}=_0x192df0;_0x1e17f6['length']&&(_0x1e17f6+=','),_0x1e17f6+=_0x2c958d+':'+_0x5c15ff+':'+(_0x50451d?'1':'0')+':'+_0x375b77+':'+_0x246664+':'+_0x367e7f;}return _0x1e17f6;}function _0x292889(_0x554bc3){const _0x52c9ca=_0x1db088,_0x5d844e=_0x554bc3[_0x52c9ca(0x206)](','),_0x1d01ba=[];for(const _0x22a713 of _0x5d844e){const [_0x1327af,_0x3f7dc4,_0x37c022,_0x39dfc5,_0x31734c,_0xbd9dd3]=_0x22a713['split'](':');_0x1d01ba[_0x52c9ca(0x2c5)]({'startOffset':Number(_0x1327af),'endOffset':Number(_0x3f7dc4),'collapsed':_0x1327af===_0x3f7dc4,'isActive':_0x37c022==='1','rangeType':_0x39dfc5===_0x4f68b5['DOC_RANGE_TYPE']['TEXT']?_0x4f68b5['DOC_RANGE_TYPE'][_0x52c9ca(0x2c1)]:_0x4f68b5[_0x52c9ca(0x388)][_0x52c9ca(0x3fe)],'segmentId':typeof _0x31734c==_0x52c9ca(0x308)?String(_0x31734c):'','segmentPage':Number(_0xbd9dd3!=null?_0xbd9dd3:-0x1)});}return _0x1d01ba[_0x52c9ca(0x249)](_0x4f4847=>_0x4f4847[_0x52c9ca(0x21c)])||(_0x1d01ba[0x0][_0x52c9ca(0x21c)]=!0x0),_0x1d01ba;}class _0x361087 extends _0x4f68b5[_0x1db088(0x386)]{constructor(){const _0x37ef3d=_0x1db088;super(...arguments),_0x50d51d(this,_0x37ef3d(0x427),new _0xddf3a0['BehaviorSubject'](null)),_0x50d51d(this,_0x37ef3d(0x348),this[_0x37ef3d(0x427)]['asObservable']());}[_0x1db088(0x2b4)](_0x421f64){const _0x51d3ab=_0x1db088,{unitID:_0x3a0d6f,memberID:_0x36252f,textRanges:_0x38fec8}=_0x421f64,_0x1f43c9=_0x251b4b(_0x38fec8);if(_0x1f43c9==='')return;const _0x48e5f3={'unitID':_0x3a0d6f,'memberID':_0x36252f,'selection':_0x1f43c9};this[_0x51d3ab(0x427)][_0x51d3ab(0x431)](_0x48e5f3);}}var _0x2783a2=Object['getOwnPropertyDescriptor'],_0x52fa33=(_0x44dd0b,_0x236c54,_0x57cab9,_0x221f46)=>{const _0x4ffe74=_0x1db088;for(var _0x1ba439=_0x221f46>0x1?void 0x0:_0x221f46?_0x2783a2(_0x236c54,_0x57cab9):_0x236c54,_0x5043cf=_0x44dd0b[_0x4ffe74(0x301)]-0x1,_0x200d37;_0x5043cf>=0x0;_0x5043cf--)(_0x200d37=_0x44dd0b[_0x5043cf])&&(_0x1ba439=_0x200d37(_0x1ba439)||_0x1ba439);return _0x1ba439;},_0x4740fb=(_0x3ba694,_0x1a80e1)=>(_0x322d5d,_0x409a46)=>_0x1a80e1(_0x322d5d,_0x409a46,_0x3ba694);const _0x189f9e=0x12c,_0x407aaf=0x64;let _0x36abfd=class extends _0x4f68b5[_0x1db088(0x386)]{constructor(_0x59e7d5,_0x2876b5,_0x104ae8,_0x1ac33d,_0x53f1f0,_0x1eee52,_0x1c7622,_0x3f4cec,_0x3f5df1){const _0x170156=_0x1db088;super(),_0x50d51d(this,_0x170156(0x332),!0x1),_0x50d51d(this,_0x170156(0x450),!0x1),_0x50d51d(this,_0x170156(0x3af),new _0xddf3a0['BehaviorSubject'](new Map())),_0x50d51d(this,_0x170156(0x2cb),this[_0x170156(0x3af)][_0x170156(0x412)]()),_0x50d51d(this,_0x170156(0x286),new _0xddf3a0[(_0x170156(0x279))]([])),_0x50d51d(this,_0x170156(0x280),this[_0x170156(0x286)]['pipe'](_0xddf3a0['debounceTime'](_0x189f9e))),_0x50d51d(this,_0x170156(0x1db),_0x4f68b5[_0x170156(0x41e)](_0x3b5ef0=>{const _0x5f430a=_0x170156,_0x301683={'eventID':_0x51374a[_0x5f430a(0x360)][_0x5f430a(0x1cd)],'data':{'unitID':this[_0x5f430a(0x34c)],'memberID':this[_0x5f430a(0x37c)][_0x5f430a(0x2ca)](),'selection':_0x251b4b(_0x3b5ef0)}};this[_0x5f430a(0x37c)][_0x5f430a(0x2bb)](_0x301683,this[_0x5f430a(0x34c)]);},_0x407aaf)),(this[_0x170156(0x34c)]=_0x59e7d5,this['_session']=_0x2876b5,this[_0x170156(0x3bd)]=_0x104ae8,this[_0x170156(0x3b6)]=_0x1ac33d,this[_0x170156(0x28b)]=_0x53f1f0,this[_0x170156(0x323)]=_0x1eee52,this[_0x170156(0x1d4)]=_0x1c7622,this[_0x170156(0x42f)]=_0x3f4cec,this[_0x170156(0x2e5)]=_0x3f5df1);}get[_0x1db088(0x24a)](){const _0x1783e4=_0x1db088;return this[_0x1783e4(0x3af)][_0x1783e4(0x38e)]();}get['roomMembers'](){const _0x33212f=_0x1db088;return this[_0x33212f(0x286)][_0x33212f(0x38e)]();}[_0x1db088(0x29c)](){const _0x4e2d5f=_0x1db088;super[_0x4e2d5f(0x29c)](),this[_0x4e2d5f(0x3af)][_0x4e2d5f(0x431)](new Map()),this[_0x4e2d5f(0x3af)][_0x4e2d5f(0x2e7)](),this[_0x4e2d5f(0x286)][_0x4e2d5f(0x431)]([]),this['_roomMembers$'][_0x4e2d5f(0x2e7)]();}[_0x1db088(0x239)](){const _0x28c416=_0x1db088;this[_0x28c416(0x450)]||(this[_0x28c416(0x450)]=!0x0,this[_0x28c416(0x37c)][_0x28c416(0x351)]['pipe'](_0xddf3a0[_0x28c416(0x447)](this[_0x28c416(0x1d3)]))[_0x28c416(0x333)](_0x5cf1ac=>{const _0x46a74a=_0x28c416;_0x5cf1ac===_0xbd5b69[_0x46a74a(0x2bc)][_0x46a74a(0x393)]?this[_0x46a74a(0x3a7)]():this[_0x46a74a(0x353)]();}),this[_0x28c416(0x37c)][_0x28c416(0x30c)][_0x28c416(0x405)](_0xddf3a0['takeUntil'](this[_0x28c416(0x1d3)]))['subscribe'](_0x5ab731=>{const _0xba35c=_0x28c416,_0x9e14dc=_0x5ab731[_0xba35c(0x200)];_0x9e14dc===_0x51374a[_0xba35c(0x360)][_0xba35c(0x1cd)]&&this[_0xba35c(0x455)](_0x5ab731),_0x9e14dc===_0x51374a[_0xba35c(0x360)][_0xba35c(0x27e)]&&this['_onCursorDelete'](_0x5ab731);}),this[_0x28c416(0x26f)](this['_commandService'][_0x28c416(0x2ab)](_0x4fa98a=>{const _0xeaaff9=_0x28c416,_0x26bbb5=_0x4fa98a[_0xeaaff9(0x2eb)];_0x26bbb5!=null&&this[_0xeaaff9(0x332)]&&_0x4fa98a['id']===_0x3c2c13[_0xeaaff9(0x35f)]['id']&&_0x26bbb5['unitId']===this[_0xeaaff9(0x34c)]&&_0x26bbb5[_0xeaaff9(0x2e4)]===!0x1&&_0x26bbb5[_0xeaaff9(0x452)][_0xeaaff9(0x301)]>0x0&&this[_0xeaaff9(0x1db)](_0x26bbb5[_0xeaaff9(0x452)]);})),this[_0x28c416(0x323)][_0x28c416(0x348)][_0x28c416(0x405)](_0xddf3a0[_0x28c416(0x447)](this['dispose$']))[_0x28c416(0x333)](_0x8806d4=>{const _0x3340de=_0x28c416;if((_0x8806d4==null?void 0x0:_0x8806d4[_0x3340de(0x34c)])!==this['unitID'])return;const _0x43dc52={'eventID':_0x51374a['CollaborationEvent'][_0x3340de(0x1cd)],'data':_0x8806d4};this[_0x3340de(0x455)](_0x43dc52);}),this[_0x28c416(0x26f)](this['_commandService'][_0x28c416(0x2ab)](_0x1d1949=>{const _0x38ff97=_0x28c416;if(_0x1d1949[_0x38ff97(0x2eb)]==null)return;const _0x102e22=_0x1d1949[_0x38ff97(0x2eb)];if(_0x1d1949['id']!==_0x3c2c13[_0x38ff97(0x3b1)]['id']||_0x102e22['unitId']!==this[_0x38ff97(0x34c)])return;const _0x49493c={'id':_0x38ff97(0x336),'params':_0x102e22},_0x2e5a10=this['cursorInfo'];for(const [_0x407eda,_0x507e2f]of _0x2e5a10){const _0x4af7fa={'id':_0x38ff97(0x336),'params':{'unitId':this[_0x38ff97(0x34c)],'actions':null,'textRanges':_0x507e2f[_0x38ff97(0x452)]}},_0x5240b4=this[_0x38ff97(0x1d4)][_0x38ff97(0x35a)](_0x49493c,_0x4af7fa,!0x1);if(_0x51374a['isTransformMutationFailure'](_0x5240b4))throw _0x5240b4[_0x38ff97(0x317)];_0x2e5a10[_0x38ff97(0x3f6)](_0x407eda,{..._0x507e2f,'ranges':_0x5240b4['m2Prime']['params'][_0x38ff97(0x254)]});}queueMicrotask(()=>{const _0xefb67a=_0x38ff97;this[_0xefb67a(0x3af)][_0xefb67a(0x431)](_0x2e5a10);});})));}[_0x1db088(0x455)](_0x3f5e49){const _0x426c9a=_0x1db088;var _0x5d7e86,_0x2e0b5b;const {memberID:_0x3b4b53,selection:_0x490058}=_0x3f5e49[_0x426c9a(0x330)],_0x2be567=_0x292889(_0x490058),_0x2f8221=(_0x2e0b5b=(_0x5d7e86=this['_memberService'][_0x426c9a(0x284)](this[_0x426c9a(0x34c)],_0x3b4b53))==null?void 0x0:_0x5d7e86[_0x426c9a(0x2d4)])!=null?_0x2e0b5b:'Unknown\x20user',_0x45db1f={'color':this[_0x426c9a(0x3b6)][_0x426c9a(0x375)](_0x3b4b53),'name':_0x2f8221,'ranges':_0x2be567},_0x3d4d4f=this[_0x426c9a(0x24a)];_0x3d4d4f['set'](_0x3b4b53,_0x45db1f),this[_0x426c9a(0x3af)][_0x426c9a(0x431)](_0x3d4d4f);}['_onCursorDelete'](_0xe4a2f6){const _0x51ab9a=_0x1db088,{memberID:_0x4d5ba6}=_0xe4a2f6[_0x51ab9a(0x330)],_0x4e63c1=this[_0x51ab9a(0x24a)];_0x4e63c1[_0x51ab9a(0x22d)](_0x4d5ba6),this[_0x51ab9a(0x3af)][_0x51ab9a(0x431)](_0x4e63c1);}[_0x1db088(0x3a7)](){const _0x2d9d73=_0x1db088;var _0x5d335b;if(this[_0x2d9d73(0x332)]=!0x0,((_0x5d335b=this['_univerInstanceService'][_0x2d9d73(0x39a)]())==null?void 0x0:_0x5d335b['getUnitId']())!==this[_0x2d9d73(0x34c)])return;const _0x57300b=this[_0x2d9d73(0x3bd)]['get'](_0x3c2c13[_0x2d9d73(0x215)])[_0x2d9d73(0x3dc)]();Array[_0x2d9d73(0x222)](_0x57300b)&&_0x57300b['length']>0x0&&this['_updateLocalCursor'](_0x57300b);}[_0x1db088(0x353)](){const _0x3be05c=_0x1db088;this[_0x3be05c(0x332)]=!0x1;}};_0x36abfd=_0x52fa33([_0x4740fb(0x2,_0x4f68b5['Inject'](_0x4f68b5[_0x1db088(0x22e)])),_0x4740fb(0x3,_0x4f68b5['Inject'](_0x551d66)),_0x4740fb(0x4,_0x4f68b5[_0x1db088(0x40b)](_0xbd5b69[_0x1db088(0x3e8)])),_0x4740fb(0x5,_0x4f68b5[_0x1db088(0x40b)](_0x361087)),_0x4740fb(0x6,_0x51374a['ITransformService']),_0x4740fb(0x7,_0x4f68b5['IUniverInstanceService']),_0x4740fb(0x8,_0x4f68b5['ICommandService'])],_0x36abfd);var _0x57c9b6=Object[_0x1db088(0x3ac)],_0x4be49c=(_0x1875ff,_0x595e84,_0x37fc74,_0x425ba7)=>{const _0x2170c6=_0x1db088;for(var _0x5163a7=_0x425ba7>0x1?void 0x0:_0x425ba7?_0x57c9b6(_0x595e84,_0x37fc74):_0x595e84,_0xb8d6e3=_0x1875ff[_0x2170c6(0x301)]-0x1,_0x35f76f;_0xb8d6e3>=0x0;_0xb8d6e3--)(_0x35f76f=_0x1875ff[_0xb8d6e3])&&(_0x5163a7=_0x35f76f(_0x5163a7)||_0x5163a7);return _0x5163a7;},_0x5705c9=(_0x477887,_0x2bf355)=>(_0x3d87ab,_0x2f9b3f)=>_0x2bf355(_0x3d87ab,_0x2f9b3f,_0x477887);const _0x1c5559=0x12c,_0x591080=0x64,_0xc259cd=()=>{let _0x19919d=[],_0x2165a1=!0x1;return _0x50f356=>{const _0x769f0c=_0x57d8;_0x19919d[_0x769f0c(0x2c5)](_0x50f356),_0x2165a1||(_0x2165a1=!0x0,setTimeout(()=>{const _0x472a25=_0x769f0c;_0x19919d[_0x472a25(0x2c6)](_0x861937=>_0x861937()),_0x19919d=[],_0x2165a1=!0x1;}));};};let _0xd3f195=class extends _0x4f68b5[_0x1db088(0x386)]{constructor(_0x240491,_0x370e24,_0x15c546,_0x1643b3,_0x349dfb,_0x3e83ae,_0x59331d,_0x14239e){const _0x3c3d3e=_0x1db088;super(),_0x50d51d(this,_0x3c3d3e(0x332),!0x1),_0x50d51d(this,'_init',!0x1),_0x50d51d(this,_0x3c3d3e(0x3af),new _0xddf3a0[(_0x3c3d3e(0x279))](new Map())),_0x50d51d(this,_0x3c3d3e(0x2cb),this['_cursorInfo$'][_0x3c3d3e(0x412)]()),_0x50d51d(this,_0x3c3d3e(0x286),new _0xddf3a0[(_0x3c3d3e(0x279))]([])),_0x50d51d(this,_0x3c3d3e(0x280),this['_roomMembers$'][_0x3c3d3e(0x405)](_0xddf3a0[_0x3c3d3e(0x2db)](_0x1c5559))),_0x50d51d(this,_0x3c3d3e(0x1db),_0x4f68b5[_0x3c3d3e(0x41e)]((_0x37f696,_0x9798ff)=>{const _0x192964=_0x3c3d3e,_0x13b9eb={'eventID':_0x51374a['CollaborationEvent'][_0x192964(0x1cd)],'data':{'unitID':this[_0x192964(0x34c)],'memberID':this[_0x192964(0x37c)][_0x192964(0x2ca)](),'selection':_0x6e0028[_0x192964(0x43b)](_0x37f696,_0x9798ff['range'])}};this['_session'][_0x192964(0x2bb)](_0x13b9eb,this[_0x192964(0x34c)]);},_0x591080)),(this[_0x3c3d3e(0x34c)]=_0x240491,this['_session']=_0x370e24,this[_0x3c3d3e(0x3bd)]=_0x15c546,this[_0x3c3d3e(0x3b6)]=_0x1643b3,this[_0x3c3d3e(0x28b)]=_0x349dfb,this[_0x3c3d3e(0x42f)]=_0x3e83ae,this[_0x3c3d3e(0x2e5)]=_0x59331d,this[_0x3c3d3e(0x22b)]=_0x14239e);}get[_0x1db088(0x24a)](){const _0x98a6af=_0x1db088;return this[_0x98a6af(0x3af)]['getValue']();}get['roomMembers'](){const _0x3a6fa9=_0x1db088;return this[_0x3a6fa9(0x286)][_0x3a6fa9(0x38e)]();}[_0x1db088(0x29c)](){const _0x4b2cd8=_0x1db088;super['dispose'](),this[_0x4b2cd8(0x3af)]['next'](new Map()),this['_cursorInfo$'][_0x4b2cd8(0x2e7)](),this[_0x4b2cd8(0x286)][_0x4b2cd8(0x431)]([]),this[_0x4b2cd8(0x286)][_0x4b2cd8(0x2e7)]();}[_0x1db088(0x239)](){const _0x43957c=_0x1db088;this['_init']||(this[_0x43957c(0x450)]=!0x0,this[_0x43957c(0x37c)][_0x43957c(0x351)][_0x43957c(0x405)](_0xddf3a0['takeUntil'](this['dispose$']))['subscribe'](_0x5ac087=>{const _0xf797fb=_0x43957c;_0x5ac087===_0xbd5b69[_0xf797fb(0x2bc)][_0xf797fb(0x393)]?this['_toggleOnline']():this[_0xf797fb(0x353)]();}),this['_session']['event$']['pipe'](_0xddf3a0['takeUntil'](this[_0x43957c(0x1d3)]))[_0x43957c(0x333)](_0x593f31=>{const _0x2c338e=_0x43957c,_0x4ce18e=_0x593f31[_0x2c338e(0x200)];_0x4ce18e===_0x51374a['CollaborationEvent'][_0x2c338e(0x1cd)]&&this[_0x2c338e(0x455)](_0x593f31),_0x4ce18e===_0x51374a[_0x2c338e(0x360)]['USERS_LEAVE']&&this[_0x2c338e(0x446)](_0x593f31);}),this['_onRefRangeChange'](),this[_0x43957c(0x26f)](this[_0x43957c(0x2e5)][_0x43957c(0x2ab)](_0x1674b2=>{const _0x20b59a=_0x43957c;if(this[_0x20b59a(0x332)]&&_0x1674b2['id']===_0x396f37[_0x20b59a(0x3e4)]['id']&&_0x1674b2[_0x20b59a(0x2eb)][_0x20b59a(0x300)]===this['unitID']){const _0x1a336=_0x1674b2[_0x20b59a(0x2eb)];this[_0x20b59a(0x1db)](_0x1a336[_0x20b59a(0x3e6)],_0x1a336[_0x20b59a(0x272)][0x0]);}})));}[_0x1db088(0x455)](_0x123ddf){const _0x4af772=_0x1db088;var _0x443203,_0x1bc863;const {memberID:_0x4f569e,selection:_0x46f1b2}=_0x123ddf[_0x4af772(0x330)],{sheetName:_0x223f3b,range:_0x4be2ee}=_0x6e0028[_0x4af772(0x2ec)](_0x46f1b2),_0x149dd0={'name':(_0x1bc863=(_0x443203=this[_0x4af772(0x28b)][_0x4af772(0x284)](this[_0x4af772(0x34c)],_0x4f569e))==null?void 0x0:_0x443203[_0x4af772(0x2d4)])!=null?_0x1bc863:_0x4af772(0x20c),'range':this[_0x4af772(0x1d7)](_0x223f3b,_0x4be2ee),'sheetID':_0x223f3b,'color':this[_0x4af772(0x3b6)][_0x4af772(0x375)](_0x4f569e),'selection':_0x46f1b2},_0x40f85c=this[_0x4af772(0x24a)];_0x40f85c[_0x4af772(0x3f6)](_0x4f569e,_0x149dd0),this[_0x4af772(0x3af)][_0x4af772(0x431)](_0x40f85c);}[_0x1db088(0x446)](_0x525159){const _0x25068d=_0x1db088,{memberID:_0x13eca3}=_0x525159[_0x25068d(0x330)],_0x3abe2d=this[_0x25068d(0x24a)];_0x3abe2d[_0x25068d(0x22d)](_0x13eca3),this[_0x25068d(0x3af)][_0x25068d(0x431)](_0x3abe2d);}[_0x1db088(0x1d7)](_0x17ffa0,_0x30e721){const _0x31f0b0=_0x1db088;var _0x5b492d,_0x19512e;const _0x1113b8=(_0x19512e=(_0x5b492d=this[_0x31f0b0(0x42f)]['getUniverSheetInstance'](this[_0x31f0b0(0x34c)]))==null?void 0x0:_0x5b492d[_0x31f0b0(0x2b9)](_0x17ffa0))==null?void 0x0:_0x19512e[_0x31f0b0(0x2f8)]();return(_0x1113b8==null?void 0x0:_0x1113b8[_0x31f0b0(0x3f9)](_0x2b784d=>_0x4f68b5[_0x31f0b0(0x20d)][_0x31f0b0(0x352)](_0x2b784d,_0x30e721)))||_0x30e721;}[_0x1db088(0x1bf)](){const _0x5b9ed3=_0x1db088,_0x4b62e3=new _0x4f68b5['DisposableCollection'](),_0x186878=_0xc259cd(),_0x2f93bc=()=>{const _0x5e0601=_0x57d8;_0x4b62e3[_0x5e0601(0x29c)]();const _0x5bb332=(_0x1bf880,_0x1f82da,_0x5a53d4,_0x56afa5)=>{const _0x56f84d=_0x5e0601;let _0x155155=[];switch(_0x1bf880['id']){case _0x396f37[_0x56f84d(0x1c8)][_0x56f84d(0x2bf)]:{_0x155155=_0x396f37[_0x56f84d(0x250)](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)]['DeleteRangeMoveUpCommandId']:{_0x155155=_0x396f37['handleDeleteRangeMoveUp'](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)][_0x56f84d(0x201)]:{_0x155155=_0x396f37[_0x56f84d(0x3de)](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)]['InsertRangeMoveDownCommandId']:{_0x155155=_0x396f37['handleInsertRangeMoveDown'](_0x1bf880,_0x56afa5);break;}case _0x396f37['EffectRefRangId'][_0x56f84d(0x24c)]:{_0x155155=_0x396f37[_0x56f84d(0x374)](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)]['InsertRowCommandId']:{_0x155155=_0x396f37[_0x56f84d(0x1fb)](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)][_0x56f84d(0x440)]:{_0x155155=_0x396f37['handleMoveRange'](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)]['RemoveColCommandId']:{_0x155155=_0x396f37[_0x56f84d(0x1e6)](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)]['RemoveRowCommandId']:{_0x155155=_0x396f37[_0x56f84d(0x241)](_0x1bf880,_0x56afa5);break;}}const _0x888984=_0x396f37[_0x56f84d(0x39e)](_0x155155,_0x56afa5),_0x19c1e4=this[_0x56f84d(0x24a)][_0x56f84d(0x38a)](_0x1f82da);if(_0x19c1e4&&_0x888984){const _0x5f097d={..._0x19c1e4,'range':_0x888984};this[_0x56f84d(0x24a)][_0x56f84d(0x3f6)](_0x1f82da,_0x5f097d),_0x186878(()=>{const _0x369632=_0x56f84d,_0xe2ace8=this['_refRangeService'][_0x369632(0x327)](_0x888984,_0x22df1b=>(_0xe2ace8['dispose'](),_0x5bb332(_0x22df1b,_0x1f82da,_0x5a53d4,_0x888984)));_0x4b62e3['add'](_0xe2ace8);});}return{'redos':[],'undos':[]};};this[_0x5e0601(0x24a)][_0x5e0601(0x2c6)]((_0x4fd9ee,_0x27af3b)=>{const _0x169472=_0x5e0601,{range:_0x2501b7,sheetID:_0x464ee7}=_0x4fd9ee,_0x542d6d=this['_refRangeService']['registerRefRange'](_0x2501b7,_0x5e96eb=>(_0x542d6d[_0x169472(0x29c)](),_0x5bb332(_0x5e96eb,_0x27af3b,_0x464ee7,_0x2501b7)));_0x4b62e3['add'](_0x542d6d);});};this[_0x5b9ed3(0x26f)](_0x4f68b5[_0x5b9ed3(0x42e)](this[_0x5b9ed3(0x3af)][_0x5b9ed3(0x333)](()=>{_0x2f93bc();})));}[_0x1db088(0x3a7)](){const _0x5e67f0=_0x1db088;var _0x5eecc8,_0x4c614f;if(this[_0x5e67f0(0x332)]=!0x0,((_0x5eecc8=this[_0x5e67f0(0x42f)]['getFocusedUnit']())==null?void 0x0:_0x5eecc8[_0x5e67f0(0x25d)]())!==this['unitID'])return;const _0x2cd907=(_0x4c614f=this[_0x5e67f0(0x3bd)]['get'](_0x396f37['SheetsSelectionsService'])[_0x5e67f0(0x1f2)]())==null?void 0x0:_0x4c614f[0x0],_0x31218d=this[_0x5e67f0(0x42f)][_0x5e67f0(0x41f)](_0x4f68b5[_0x5e67f0(0x217)][_0x5e67f0(0x30a)])[_0x5e67f0(0x2cd)]();_0x2cd907&&_0x31218d&&this[_0x5e67f0(0x1db)](_0x31218d[_0x5e67f0(0x2ef)](),_0x2cd907);}[_0x1db088(0x353)](){const _0x2a38a8=_0x1db088;this[_0x2a38a8(0x332)]=!0x1;}};_0xd3f195=_0x4be49c([_0x5705c9(0x2,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x22e)])),_0x5705c9(0x3,_0x4f68b5[_0x1db088(0x40b)](_0x551d66)),_0x5705c9(0x4,_0x4f68b5[_0x1db088(0x40b)](_0xbd5b69[_0x1db088(0x3e8)])),_0x5705c9(0x5,_0x4f68b5[_0x1db088(0x25a)]),_0x5705c9(0x6,_0x4f68b5[_0x1db088(0x1e2)]),_0x5705c9(0x7,_0x4f68b5[_0x1db088(0x40b)](_0x396f37[_0x1db088(0x3f2)]))],_0xd3f195);var _0x2cad3b=Object[_0x1db088(0x3ac)],_0x363098=(_0x36bfa6,_0x5a9799,_0x50deed,_0x22f7ed)=>{for(var _0x137ef7=_0x22f7ed>0x1?void 0x0:_0x22f7ed?_0x2cad3b(_0x5a9799,_0x50deed):_0x5a9799,_0x510125=_0x36bfa6['length']-0x1,_0x4a9847;_0x510125>=0x0;_0x510125--)(_0x4a9847=_0x36bfa6[_0x510125])&&(_0x137ef7=_0x4a9847(_0x137ef7)||_0x137ef7);return _0x137ef7;},_0x4b44f0=(_0xf26b2d,_0x5e6b6b)=>(_0x48b820,_0x1a36ab)=>_0x5e6b6b(_0x48b820,_0x1a36ab,_0xf26b2d);let _0x3f7994=class extends _0x4f68b5[_0x1db088(0x386)]{constructor(_0x2f8f7f,_0x1abbd8,_0x42f6cf){const _0x1bb81a=_0x1db088;super(),_0x50d51d(this,_0x1bb81a(0x315),new Map()),_0x50d51d(this,_0x1bb81a(0x1e1),new _0xddf3a0['Subject']()),(this[_0x1bb81a(0x42f)]=_0x2f8f7f,this['_injector']=_0x1abbd8,this[_0x1bb81a(0x32b)]=_0x42f6cf,this[_0x1bb81a(0x450)]());}[_0x1db088(0x29c)](){const _0x4f6ba7=_0x1db088;super[_0x4f6ba7(0x29c)](),this[_0x4f6ba7(0x1e1)][_0x4f6ba7(0x2e7)](),this[_0x4f6ba7(0x315)]['forEach'](_0x4ee235=>_0x4ee235[_0x4f6ba7(0x29c)]());}[_0x1db088(0x423)](_0x42c48b){const _0xdb9037=_0x1db088;return this[_0xdb9037(0x315)][_0xdb9037(0x31f)](_0x42c48b)?this[_0xdb9037(0x315)]['get'](_0x42c48b)[_0xdb9037(0x2cb)]:this[_0xdb9037(0x1e1)]['pipe'](_0xddf3a0['filter'](_0x11377d=>_0x11377d[_0xdb9037(0x34c)]===_0x42c48b),_0xddf3a0[_0xdb9037(0x2f1)](_0x26fa41=>_0x26fa41[_0xdb9037(0x2cb)]));}[_0x1db088(0x450)](){const _0x5f330b=_0x1db088;this[_0x5f330b(0x42f)][_0x5f330b(0x32a)](_0x4f68b5[_0x5f330b(0x217)][_0x5f330b(0x30a)])[_0x5f330b(0x405)](_0xddf3a0[_0x5f330b(0x447)](this['dispose$']))[_0x5f330b(0x333)](async _0x228803=>{const _0x36217c=_0x5f330b,_0x46c22e=_0x228803[_0x36217c(0x25d)](),_0x325582=await this['_startSheetCollabCursor'](_0x46c22e);this[_0x36217c(0x1e1)][_0x36217c(0x431)](_0x325582),this[_0x36217c(0x315)][_0x36217c(0x3f6)](_0x46c22e,_0x325582);}),this[_0x5f330b(0x42f)][_0x5f330b(0x32a)](_0x4f68b5[_0x5f330b(0x217)][_0x5f330b(0x34b)])['pipe'](_0xddf3a0[_0x5f330b(0x447)](this['dispose$']))[_0x5f330b(0x405)](_0xddf3a0['filter'](_0x7e6cb9=>!_0x7e6cb9[_0x5f330b(0x25d)]()[_0x5f330b(0x20f)]('__')))[_0x5f330b(0x333)](async _0x47eaeb=>{const _0x2af2d0=_0x5f330b,_0x44aa4d=_0x47eaeb['getUnitId'](),_0x1addaf=await this[_0x2af2d0(0x207)](_0x44aa4d);this[_0x2af2d0(0x1e1)][_0x2af2d0(0x431)](_0x1addaf),this[_0x2af2d0(0x315)][_0x2af2d0(0x3f6)](_0x44aa4d,_0x1addaf);}),_0xddf3a0[_0x5f330b(0x26c)](this[_0x5f330b(0x42f)][_0x5f330b(0x44d)](_0x4f68b5['UniverInstanceType'][_0x5f330b(0x34b)]),this[_0x5f330b(0x42f)][_0x5f330b(0x44d)](_0x4f68b5[_0x5f330b(0x217)][_0x5f330b(0x30a)]))[_0x5f330b(0x405)](_0xddf3a0[_0x5f330b(0x447)](this[_0x5f330b(0x1d3)]))[_0x5f330b(0x333)](_0x3275d2=>{const _0x5b372a=_0x5f330b,_0x4677a0=_0x3275d2['getUnitId'](),_0x2f956d=this[_0x5b372a(0x315)][_0x5b372a(0x38a)](_0x4677a0);_0x2f956d&&(_0x2f956d[_0x5b372a(0x29c)](),this[_0x5b372a(0x315)]['delete'](_0x4677a0));});}async[_0x1db088(0x1f9)](_0x2cf111){const _0x28625c=_0x1db088,_0x81cb2=await this['_collabSessionService'][_0x28625c(0x3f3)](_0x2cf111),_0x8d7e7c=this[_0x28625c(0x3bd)]['createInstance'](_0xd3f195,_0x2cf111,_0x81cb2);return _0x8d7e7c[_0x28625c(0x239)](),_0x8d7e7c;}async[_0x1db088(0x207)](_0x4e471d){const _0x139ba1=_0x1db088,_0x453922=await this[_0x139ba1(0x32b)]['requireSession'](_0x4e471d),_0x3e5d4b=this[_0x139ba1(0x3bd)][_0x139ba1(0x297)](_0x36abfd,_0x4e471d,_0x453922);return _0x3e5d4b['init'](),_0x3e5d4b;}};_0x3f7994=_0x363098([_0x4b44f0(0x0,_0x4f68b5[_0x1db088(0x25a)]),_0x4b44f0(0x1,_0x4f68b5['Inject'](_0x4f68b5['Injector'])),_0x4b44f0(0x2,_0x4f68b5['Inject'](_0xbd5b69['CollaborationSessionService']))],_0x3f7994);const _0x4be393=0x14,_0x67d0eb=0xc8,_0x1691ab=0x4,_0x273177=0x5;function _0xdc0efe(_0x227da3,_0x291abb){const _0x4c65fe=_0x1db088;let {radius:_0x462773,width:_0x427ffc,height:_0x22f06e}=_0x291abb;_0x462773=_0x462773!=null?_0x462773:0x0,_0x427ffc=_0x427ffc!=null?_0x427ffc:0x1e,_0x22f06e=_0x22f06e!=null?_0x22f06e:0x1e;let _0xa8de23=0x0,_0x1f8971=0x0,_0x9fd635=0x0;_0xa8de23=_0x1f8971=_0x9fd635=Math[_0x4c65fe(0x26d)](_0x462773,_0x427ffc/0x2,_0x22f06e/0x2),_0x227da3[_0x4c65fe(0x27d)](),_0x227da3[_0x4c65fe(0x21e)](_0xa8de23,0x0),_0x227da3['lineTo'](_0x427ffc-_0x1f8971,0x0),_0x227da3[_0x4c65fe(0x23a)](_0x427ffc-_0x1f8971,_0x1f8971,_0x1f8971,Math['PI']*0x3/0x2,0x0,!0x1),_0x227da3['lineTo'](_0x427ffc,_0x22f06e-_0x9fd635),_0x227da3['arc'](_0x427ffc-_0x9fd635,_0x22f06e-_0x9fd635,_0x9fd635,0x0,Math['PI']/0x2,!0x1),_0x227da3[_0x4c65fe(0x1f0)](0x0,_0x22f06e),_0x227da3[_0x4c65fe(0x1f0)](0x0,_0xa8de23),_0x227da3[_0x4c65fe(0x23a)](_0xa8de23,_0xa8de23,_0xa8de23,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x227da3['closePath'](),_0x291abb[_0x4c65fe(0x437)]&&(_0x227da3[_0x4c65fe(0x37b)](),_0x227da3[_0x4c65fe(0x2d0)]=_0x291abb[_0x4c65fe(0x437)],_0x291abb[_0x4c65fe(0x422)]===_0x4c65fe(0x2fc)?_0x227da3[_0x4c65fe(0x437)](_0x4c65fe(0x2fc)):_0x227da3['fill'](),_0x227da3[_0x4c65fe(0x255)]());}class _0x6a3acd extends _0x18a418['Shape']{constructor(_0x3d8102,_0x8a3eb){const _0x17b11a=_0x1db088;super(_0x3d8102,_0x8a3eb),_0x50d51d(this,_0x17b11a(0x29d)),_0x50d51d(this,_0x17b11a(0x2e8)),(this['color']=_0x8a3eb==null?void 0x0:_0x8a3eb[_0x17b11a(0x29d)],this['text']=_0x8a3eb==null?void 0x0:_0x8a3eb[_0x17b11a(0x2e8)]);}static[_0x1db088(0x3f1)](_0x29e08f,_0x57fda8){const _0x1e2000=_0x1db088,{text:_0x4bb9ce,color:_0x40630c}=_0x57fda8;_0x29e08f[_0x1e2000(0x37b)](),_0x29e08f[_0x1e2000(0x3ce)]=_0x1e2000(0x408);const _0x739cbb=_0x29e08f['measureText'](_0x4bb9ce)['width'],_0x4d34f6=Math[_0x1e2000(0x26d)](_0x739cbb+0x2*_0x1691ab,_0x67d0eb);_0xdc0efe(_0x29e08f,{'height':_0x4be393,'radius':0x4,'width':_0x4d34f6,'fill':_0x40630c}),_0x29e08f[_0x1e2000(0x2d0)]=_0x1e2000(0x1ed);const _0x19db22=_0x1691ab,_0x3978ae=_0x4be393-_0x273177,_0x35a1c8=_0x67d0eb-0x2*_0x1691ab;if(_0x739cbb>_0x35a1c8){let _0x1febf0='',_0x528c5b=0x0;for(const _0x2648e7 of _0x4bb9ce){const _0xb17dff=_0x29e08f[_0x1e2000(0x309)](_0x2648e7)['width'];if(_0x528c5b+_0xb17dff<=_0x35a1c8-_0x29e08f[_0x1e2000(0x309)]('...')[_0x1e2000(0x38c)])_0x1febf0+=_0x2648e7,_0x528c5b+=_0xb17dff;else{_0x1febf0+=_0x1e2000(0x342);break;}}_0x29e08f['fillText'](_0x1febf0,_0x19db22,_0x3978ae);}else _0x29e08f['fillText'](_0x4bb9ce,_0x19db22,_0x3978ae);_0x29e08f['restore']();}[_0x1db088(0x3ba)](_0x288bad){_0x6a3acd['drawWith'](_0x288bad,this);}}const _0x5e1f5e='collab-text-anchor-',_0x227bc9=_0x1db088(0x436),_0x71351a=_0x1db088(0x425),_0xd17fe4=0x6,_0x41d5be=1.5,_0x5acb26=0x4,_0x4260c0=1.5,_0x13f91b='rgba(255,\x20255,\x20255,\x200.01)';class _0xdc343b{constructor(_0x3e2dad,_0xe28449,_0x32616e,_0x4773d2){const _0x4bb631=_0x1db088;_0x50d51d(this,_0x4bb631(0x2f6),[]),_0x50d51d(this,_0x4bb631(0x390),null),_0x50d51d(this,_0x4bb631(0x340),null),_0x50d51d(this,_0x4bb631(0x372),null),_0x50d51d(this,'_hideTimer',null),_0x50d51d(this,_0x4bb631(0x261),null),(this[_0x4bb631(0x415)]=_0x3e2dad,this[_0x4bb631(0x209)]=_0xe28449,this[_0x4bb631(0x20b)]=_0x32616e,this[_0x4bb631(0x1f8)]=_0x4773d2,this[_0x4bb631(0x3b5)]());}set[_0x1db088(0x3fd)](_0x4e6da0){const _0x25d373=_0x1db088;_0x4e6da0?(this['_anchorDot']&&this[_0x25d373(0x372)][_0x25d373(0x344)](),this[_0x25d373(0x340)]&&this[_0x25d373(0x340)][_0x25d373(0x366)]()):(this[_0x25d373(0x372)]&&this[_0x25d373(0x372)]['show'](),this[_0x25d373(0x340)]&&this[_0x25d373(0x340)][_0x25d373(0x344)]());}['dispose'](){const _0x439a45=_0x1db088;for(const _0x12aa13 of this[_0x439a45(0x2f6)])_0x12aa13[_0x439a45(0x29c)]();this['_textBubble']&&this[_0x439a45(0x340)][_0x439a45(0x29c)](),this[_0x439a45(0x372)]&&this['_anchorDot'][_0x439a45(0x29c)](),this['_anchor']&&this[_0x439a45(0x390)]['dispose'](),this[_0x439a45(0x261)]&&this[_0x439a45(0x261)]();}[_0x1db088(0x3b5)](){const _0x9733a7=_0x1db088;var _0x254344;const {_docSkeleton:_0x3f6dfa,_document:_0x24833d}=this,{color:_0x5968a1,name:_0x19eb2b,ranges:_0x147b74}=this[_0x9733a7(0x415)],_0xe50272=_0x24833d[_0x9733a7(0x3bc)](),{docsLeft:_0x53f9a4,docsTop:_0x1d57e1}=_0xe50272,_0xdf99ad=new _0x5ab0ee[(_0x9733a7(0x1dd))](_0xe50272,_0x3f6dfa);for(const {startOffset:_0x180f0d,endOffset:_0xe0e733,rangeType:_0x27202a,segmentId:_0x2c84f3,segmentPage:_0x429858,collapsed:_0x4ab99b,isActive:_0x525ad4}of _0x147b74){const _0x6b7bb9=_0x3f6dfa['findNodePositionByCharIndex'](_0x180f0d,!0x0,_0x2c84f3,_0x429858);let _0x27f3da=_0x3f6dfa[_0x9733a7(0x220)](_0xe0e733,!0x0,_0x2c84f3,_0x429858);if(_0x27f3da==null&&(_0x27f3da=_0x3f6dfa['findNodePositionByCharIndex'](_0xe0e733-0x1,!0x1,_0x2c84f3,_0x429858)),_0x525ad4){const {contentBoxPointGroup:_0x4619a}=_0xdf99ad['getRangePointData'](_0x27f3da,_0x27f3da);if(_0x4619a[_0x9733a7(0x301)]===0x0)continue;this[_0x9733a7(0x426)](_0x5968a1,_0x4619a,_0x53f9a4,_0x1d57e1,_0x19eb2b),this[_0x9733a7(0x261)]=this[_0x9733a7(0x298)]();}if(_0x6b7bb9&&_0x27f3da){if(_0x27202a===_0x4f68b5[_0x9733a7(0x388)][_0x9733a7(0x3fe)]){const _0x2bf858=new _0x5ab0ee[(_0x9733a7(0x270))](_0xe50272,_0x3f6dfa),{pointGroup:_0x2716bd}=(_0x254344=_0x2bf858[_0x9733a7(0x24f)](_0x6b7bb9,_0x27f3da))!=null?_0x254344:{};if(_0x2716bd==null||_0x2716bd[_0x9733a7(0x301)]===0x0)continue;this['_drawRectRange'](_0x5968a1,_0x2716bd,_0x53f9a4,_0x1d57e1);}else{if(!_0x4ab99b){const {borderBoxPointGroup:_0x4ebebd}=_0xdf99ad[_0x9733a7(0x24f)](_0x6b7bb9,_0x27f3da);if(_0x4ebebd['length']===0x0)continue;this[_0x9733a7(0x3e9)](_0x5968a1,_0x4ebebd,_0x53f9a4,_0x1d57e1);}}}}}[_0x1db088(0x426)](_0x3fa80e,_0x2370f4,_0xc2cbfc,_0xe8990c,_0x7b9aa5){const _0x4491f9=_0x1db088,_0x24257a=this[_0x4491f9(0x350)](_0x2370f4),{left:_0x585270,top:_0x210a4f,height:_0x31bd32}=_0x24257a,_0x547d5b=this[_0x4491f9(0x2e2)](),_0x4625a7=_0x4260c0/_0x547d5b,_0x2c3e8a=new _0x18a418[(_0x4491f9(0x204))](_0x5e1f5e+_0x4f68b5[_0x4491f9(0x391)][_0x4491f9(0x36d)](_0xd17fe4),{'left':_0x585270+_0xc2cbfc-_0x4625a7,'top':_0x210a4f+_0xe8990c,'height':_0x31bd32,'width':_0x41d5be,'fill':_0x3fa80e||_0x18a418[_0x4491f9(0x306)](_0x4f68b5[_0x4491f9(0x3c8)][_0x4491f9(0x3a8)],0x0),'strokeWidth':_0x4625a7,'stroke':_0x13f91b,'evented':!0x0});this[_0x4491f9(0x390)]=_0x2c3e8a,this['_scene'][_0x4491f9(0x1c1)](_0x2c3e8a,_0x5ab0ee[_0x4491f9(0x2f9)]);const _0x204647=new _0x18a418[(_0x4491f9(0x204))](_0x5e1f5e+_0x4f68b5[_0x4491f9(0x391)]['generateRandomId'](_0xd17fe4),{'left':_0x585270+_0xc2cbfc-_0x4625a7,'top':_0x210a4f+_0xe8990c-_0x5acb26/0x2,'height':_0x5acb26,'width':_0x5acb26,'fill':_0x3fa80e||_0x18a418['getColor'](_0x4f68b5['COLORS'][_0x4491f9(0x3a8)],0x0),'strokeWidth':0x0,'stroke':_0x3fa80e||_0x18a418[_0x4491f9(0x306)](_0x4f68b5[_0x4491f9(0x3c8)][_0x4491f9(0x3a8)],0x0),'evented':!0x1});this[_0x4491f9(0x372)]=_0x204647,this['_scene'][_0x4491f9(0x1c1)](_0x204647,_0x5ab0ee[_0x4491f9(0x2f9)]);const _0x15f08f=new _0x6a3acd(_0x5e1f5e+_0x4f68b5[_0x4491f9(0x391)][_0x4491f9(0x36d)](_0xd17fe4),{'left':_0x585270+_0xc2cbfc-_0x4625a7,'top':_0x210a4f+_0xe8990c-_0x4be393,'text':_0x7b9aa5,'color':_0x3fa80e});this[_0x4491f9(0x340)]=_0x15f08f,this[_0x4491f9(0x209)][_0x4491f9(0x1c1)](_0x15f08f,_0x5ab0ee['TEXT_RANGE_LAYER_INDEX']),this[_0x4491f9(0x3fd)]=!0x1;}[_0x1db088(0x298)](){const _0xb17c37=_0x1db088,_0x26d012=this[_0xb17c37(0x390)][_0xb17c37(0x22c)][_0xb17c37(0x293)](()=>{const _0x632353=_0xb17c37;this[_0x632353(0x3fd)]=!0x0;}),_0x33abdf=this[_0xb17c37(0x390)][_0xb17c37(0x39b)][_0xb17c37(0x293)](()=>{const _0x73b97=_0xb17c37;this[_0x73b97(0x3f7)]&&clearTimeout(this[_0x73b97(0x3f7)]),this['_hideTimer']=setTimeout(()=>{const _0x188030=_0x73b97;this[_0x188030(0x3fd)]=!0x1;},0x7d0);});return()=>{const _0x3c5c7b=_0xb17c37;_0x26d012[_0x3c5c7b(0x3a5)](),_0x33abdf[_0x3c5c7b(0x3a5)]();};}[_0x1db088(0x3e9)](_0x38facb,_0x1378ec,_0x5ead1e,_0x331ee0){const _0x4065cb=_0x1db088,_0x2d1c2a=new _0x4f68b5[(_0x4065cb(0x30b))](_0x38facb)[_0x4065cb(0x1c0)](0.2)[_0x4065cb(0x277)](),_0x55774b=new _0x18a418['RegularPolygon'](_0x227bc9+_0x4f68b5[_0x4065cb(0x391)]['generateRandomId'](_0xd17fe4),{'pointsGroup':_0x1378ec,'fill':_0x2d1c2a||_0x18a418[_0x4065cb(0x306)](_0x4f68b5[_0x4065cb(0x3c8)][_0x4065cb(0x3a8)],0.2),'left':_0x5ead1e,'top':_0x331ee0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4065cb(0x2f6)]['push'](_0x55774b),this[_0x4065cb(0x209)]['addObject'](_0x55774b,_0x5ab0ee[_0x4065cb(0x2f9)]);}['_drawRectRange'](_0x14386b,_0x598398,_0xcbad9d,_0x318529){const _0x1a6233=_0x1db088,_0x43a8a0=new _0x4f68b5[(_0x1a6233(0x30b))](_0x14386b)[_0x1a6233(0x1c0)](0.2)[_0x1a6233(0x277)](),_0x261101=new _0x18a418[(_0x1a6233(0x1bd))](_0x71351a+_0x4f68b5[_0x1a6233(0x391)][_0x1a6233(0x36d)](_0xd17fe4),{'pointsGroup':_0x598398,'fill':_0x43a8a0||_0x18a418[_0x1a6233(0x306)](_0x4f68b5['COLORS'][_0x1a6233(0x3a8)],0.2),'left':_0xcbad9d,'top':_0x318529,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a6233(0x2f6)][_0x1a6233(0x2c5)](_0x261101),this[_0x1a6233(0x209)][_0x1a6233(0x1c1)](_0x261101,_0x5ab0ee['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x4bf966){const _0x58c8dc=_0x4bf966[0x0],_0x4a563c=_0x58c8dc[0x0],_0x20e2ca=_0x58c8dc[0x2],{x:_0x371017,y:_0x200e21}=_0x4a563c,{x:_0x5a8dc8,y:_0x11d712}=_0x20e2ca;return{'left':_0x371017,'top':_0x200e21,'width':_0x5a8dc8-_0x371017,'height':_0x11d712-_0x200e21};}[_0x1db088(0x2e2)](){const _0x2b3029=_0x1db088,{scaleX:_0x10e480,scaleY:_0x37c271}=this[_0x2b3029(0x209)]['getAncestorScale']();return Math[_0x2b3029(0x44a)](_0x10e480,_0x37c271);}}var _0x2f53ea=Object[_0x1db088(0x3ac)],_0x1bd51e=(_0x398fa1,_0x3b4c83,_0x1243e9,_0x35d94a)=>{const _0x2e8656=_0x1db088;for(var _0x381177=_0x35d94a>0x1?void 0x0:_0x35d94a?_0x2f53ea(_0x3b4c83,_0x1243e9):_0x3b4c83,_0x2b9d3c=_0x398fa1[_0x2e8656(0x301)]-0x1,_0x388fc9;_0x2b9d3c>=0x0;_0x2b9d3c--)(_0x388fc9=_0x398fa1[_0x2b9d3c])&&(_0x381177=_0x388fc9(_0x381177)||_0x381177);return _0x381177;},_0x534f53=(_0x317d23,_0x19e22a)=>(_0x412f40,_0x3d251e)=>_0x19e22a(_0x412f40,_0x3d251e,_0x317d23);let _0x13697a=class extends _0x4f68b5[_0x1db088(0x386)]{constructor(_0x161a36,_0x58f0b6,_0x595dc1,_0x1d595c,_0xba0d62){const _0x397669=_0x1db088;super(),_0x50d51d(this,_0x397669(0x23f),[]),_0x50d51d(this,_0x397669(0x210),[]),(this['_context']=_0x161a36,this[_0x397669(0x2b8)]=_0x58f0b6,this[_0x397669(0x359)]=_0x595dc1,this['_commandService']=_0x1d595c,this[_0x397669(0x232)]=_0xba0d62,this['_init']());}[_0x1db088(0x450)](){const _0x232259=_0x1db088,_0x2ede93=this[_0x232259(0x382)][_0x232259(0x300)],_0xf600e=this[_0x232259(0x2b8)];this[_0x232259(0x26f)](_0xddf3a0[_0x232259(0x3cb)]([this[_0x232259(0x359)][_0x232259(0x423)](_0x2ede93),this[_0x232259(0x232)][_0x232259(0x1d5)]])['pipe'](_0x26ab1c[_0x232259(0x29a)](([_0x529830,_0x5ab824])=>({'skeleton':_0xf600e[_0x232259(0x268)](),'cursors':[..._0x529830['values']()][_0x232259(0x28c)](_0x53b1c8=>({..._0x53b1c8,'color':this[_0x232259(0x232)][_0x232259(0x32e)](_0x53b1c8['color'])}))})))['subscribe'](_0x5011ed=>{const _0x3ffd8d=_0x232259;if(this[_0x3ffd8d(0x34e)](),_0x5011ed){const {skeleton:_0x17cb66,cursors:_0x149e9e}=_0x5011ed;this[_0x3ffd8d(0x2b0)](_0x17cb66,_0x149e9e);}})),this[_0x232259(0x3a0)](),this[_0x232259(0x407)]();}[_0x1db088(0x2b0)](_0x5e085e,_0x1b9e98){const _0x4fb1d4=_0x1db088,{scene:_0x2831bc,mainComponent:_0x2ab6c5}=this['_context'],_0x57fa1b=_0x1b9e98[_0x4fb1d4(0x29a)](_0x3b6ac5=>new _0xdc343b(_0x3b6ac5,_0x2831bc,_0x5e085e,_0x2ab6c5));this[_0x4fb1d4(0x23f)]=_0x57fa1b,this[_0x4fb1d4(0x210)]=_0x1b9e98;}[_0x1db088(0x2a0)](){const _0x4aee6e=_0x1db088;this[_0x4aee6e(0x34e)]();const {scene:_0x49f299,mainComponent:_0x1a9789}=this[_0x4aee6e(0x382)],_0x43cd3b=this[_0x4aee6e(0x2b8)][_0x4aee6e(0x268)](),_0x3c7767=this[_0x4aee6e(0x210)][_0x4aee6e(0x29a)](_0x3e1370=>new _0xdc343b(_0x3e1370,_0x49f299,_0x43cd3b,_0x1a9789));this['_cursorShapes']=_0x3c7767;}[_0x1db088(0x34e)](){const _0x53f64b=_0x1db088;this[_0x53f64b(0x23f)][_0x53f64b(0x2c6)](_0x2d553a=>_0x2d553a[_0x53f64b(0x29c)]()),this[_0x53f64b(0x23f)]=[];}['_initCommandExecutedListener'](){const _0xf45686=_0x1db088,_0x4631ab=[_0x5ab0ee[_0xf45686(0x420)]['id']];this[_0xf45686(0x26f)](this['_commandService']['onCommandExecuted'](_0x4399bf=>{const _0x4ad447=_0xf45686;_0x4631ab[_0x4ad447(0x30e)](_0x4399bf['id'])&&_0x4399bf['params'][_0x4ad447(0x300)]===this[_0x4ad447(0x382)][_0x4ad447(0x300)]&&this[_0x4ad447(0x2a0)]();}));}[_0x1db088(0x3a0)](){const _0x1cd72d=_0x1db088;this[_0x1cd72d(0x26f)](_0x4f68b5['fromEventSubject'](this['_context'][_0x1cd72d(0x3a6)][_0x1cd72d(0x33f)])['pipe'](_0x26ab1c[_0x1cd72d(0x326)](_0x19e83d=>_0x19e83d[_0x1cd72d(0x432)]===_0x18a418[_0x1cd72d(0x28d)][_0x1cd72d(0x1da)]),_0x26ab1c[_0x1cd72d(0x43d)](0x10))[_0x1cd72d(0x333)](()=>{const _0x24d109=_0x1cd72d;this[_0x24d109(0x2a0)]();}));}};_0x13697a=_0x1bd51e([_0x534f53(0x1,_0x4f68b5['Inject'](_0x3c2c13[_0x1db088(0x384)])),_0x534f53(0x2,_0x4f68b5[_0x1db088(0x40b)](_0x3f7994)),_0x534f53(0x3,_0x4f68b5['ICommandService']),_0x534f53(0x4,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x33d)]))],_0x13697a);const _0x44b07a=0x1,_0x269714=1.5;class _0x3c3b43 extends _0x18a418[_0x1db088(0x24b)]{constructor(_0x2cc1fc,_0x17be49){const _0x2d2dd2=_0x1db088;super(_0x2cc1fc,_0x17be49),_0x50d51d(this,'_color'),_0x50d51d(this,'_hovered',!0x1),_0x50d51d(this,_0x2d2dd2(0x3be)),_0x50d51d(this,_0x2d2dd2(0x1e9),''),_0x50d51d(this,_0x2d2dd2(0x2a4),_0x2d2dd2(0x21a)),_0x50d51d(this,_0x2d2dd2(0x39c)),(_0x17be49&&this[_0x2d2dd2(0x456)](_0x17be49),this[_0x2d2dd2(0x22c)][_0x2d2dd2(0x293)](()=>this[_0x2d2dd2(0x456)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2d2dd2(0x293)](()=>this[_0x2d2dd2(0x456)]({'hovered':!0x1})));}[_0x1db088(0x456)](_0x89d2ed){const _0x2886a8=_0x1db088;var _0x3a21b6,_0x46e8f8,_0x30e5c3,_0x43e0d2,_0x315616,_0x367e35;this[_0x2886a8(0x35b)]=(_0x3a21b6=_0x89d2ed[_0x2886a8(0x29d)])!=null?_0x3a21b6:this[_0x2886a8(0x35b)],this[_0x2886a8(0x38f)]=(_0x46e8f8=_0x89d2ed[_0x2886a8(0x2f4)])!=null?_0x46e8f8:this[_0x2886a8(0x38f)],this['_range']=(_0x30e5c3=_0x89d2ed[_0x2886a8(0x449)])!=null?_0x30e5c3:this[_0x2886a8(0x3be)],this[_0x2886a8(0x1e9)]=(_0x43e0d2=_0x89d2ed[_0x2886a8(0x2d4)])!=null?_0x43e0d2:this[_0x2886a8(0x1e9)],this[_0x2886a8(0x2a4)]=(_0x315616=_0x89d2ed[_0x2886a8(0x1eb)])!=null?_0x315616:this[_0x2886a8(0x2a4)],this[_0x2886a8(0x39c)]=(_0x367e35=_0x89d2ed[_0x2886a8(0x2c4)])!=null?_0x367e35:this['_backgroundColor'],this[_0x2886a8(0x3da)]({'width':_0x89d2ed[_0x2886a8(0x38c)],'height':_0x89d2ed[_0x2886a8(0x3d7)]});}[_0x1db088(0x349)](_0x23e5e9){const _0x3d17bf=_0x1db088,{row:_0x5a336f,column:_0x1adacf}=_0x23e5e9;if(_0x5a336f>=this[_0x3d17bf(0x3be)][_0x3d17bf(0x2ce)]&&_0x5a336f<=this[_0x3d17bf(0x3be)][_0x3d17bf(0x325)]&&_0x1adacf>=this[_0x3d17bf(0x3be)][_0x3d17bf(0x3fc)]&&_0x1adacf<=this[_0x3d17bf(0x3be)][_0x3d17bf(0x313)]){this[_0x3d17bf(0x456)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x5bb960){return!0x1;}['_draw'](_0x1aa133){const _0x328f07=_0x1db088;_0x18a418[_0x328f07(0x204)][_0x328f07(0x3f1)](_0x1aa133,{'width':this[_0x328f07(0x38c)],'height':this['height'],'strokeWidth':_0x269714,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x1aa133[_0x328f07(0x37b)](),_0x1aa133[_0x328f07(0x275)](0x1,0x0,0x0,0x1,this[_0x328f07(0x38c)],this[_0x328f07(0x2a4)]===_0x328f07(0x400)?0x0:-0x14),_0x6a3acd[_0x328f07(0x3f1)](_0x1aa133,{'text':this[_0x328f07(0x1e9)],'color':this[_0x328f07(0x35b)]}),_0x1aa133[_0x328f07(0x255)]());}}var _0x4bcba9=Object[_0x1db088(0x3ac)],_0x31efcb=(_0x1438f6,_0x138b67,_0x26c684,_0x38a6ba)=>{const _0xe81dd9=_0x1db088;for(var _0x396fa8=_0x38a6ba>0x1?void 0x0:_0x38a6ba?_0x4bcba9(_0x138b67,_0x26c684):_0x138b67,_0x14d9e3=_0x1438f6[_0xe81dd9(0x301)]-0x1,_0x37ad70;_0x14d9e3>=0x0;_0x14d9e3--)(_0x37ad70=_0x1438f6[_0x14d9e3])&&(_0x396fa8=_0x37ad70(_0x396fa8)||_0x396fa8);return _0x396fa8;},_0x783db9=(_0x59d37a,_0x1990ad)=>(_0x1b8f73,_0x4def1a)=>_0x1990ad(_0x1b8f73,_0x4def1a,_0x59d37a);const _0x42e020=0x1389;let _0x70a592=class extends _0x4f68b5['RxDisposable']{constructor(_0x111e6f,_0x53de2e,_0x31cee7,_0x4dbb76){const _0xa63681=_0x1db088;super(),_0x50d51d(this,_0xa63681(0x210),new Set()),_0x50d51d(this,_0xa63681(0x33e),null),(this[_0xa63681(0x382)]=_0x111e6f,this[_0xa63681(0x1e3)]=_0x53de2e,this[_0xa63681(0x359)]=_0x31cee7,this[_0xa63681(0x232)]=_0x4dbb76,this[_0xa63681(0x450)]());}[_0x1db088(0x450)](){const _0x15969e=_0x1db088;this[_0x15969e(0x1e3)][_0x15969e(0x3d5)][_0x15969e(0x405)](_0x26ab1c[_0x15969e(0x447)](this[_0x15969e(0x1d3)]),_0x26ab1c[_0x15969e(0x2f1)](_0x24b58b=>{const _0x5e8e2e=_0x15969e;if(_0x24b58b){const _0x2332ca=_0x24b58b[_0x5e8e2e(0x1ca)];return _0xddf3a0[_0x5e8e2e(0x3cb)](this['_collabCursorController']['getCollabCursors$'](this[_0x5e8e2e(0x382)][_0x5e8e2e(0x300)]),this[_0x5e8e2e(0x232)][_0x5e8e2e(0x1d5)])[_0x5e8e2e(0x405)](_0x26ab1c[_0x5e8e2e(0x29a)](([_0x2ed9d0,_0xa919ba])=>{const _0xe672cb=_0x5e8e2e,_0x512ed8=new Map();return _0x2ed9d0[_0xe672cb(0x2c6)]((_0x2e6c9a,_0x376677)=>{const _0x1c3bdc=_0xe672cb;if(_0x2e6c9a['sheetID']===_0x2332ca){const _0x313b98={..._0x2e6c9a};_0x313b98['color']=this[_0x1c3bdc(0x232)][_0x1c3bdc(0x32e)](_0x2e6c9a[_0x1c3bdc(0x29d)]),_0x512ed8[_0x1c3bdc(0x3f6)](_0x376677,_0x313b98);}}),{'skeleton':_0x24b58b,'cursors':_0x512ed8};}));}return _0xddf3a0['of']({'skeleton':null,'cursors':new Map()});}))[_0x15969e(0x333)](({skeleton:_0x59f9b1,cursors:_0x239b9f})=>{const _0x489c9a=_0x15969e;this[_0x489c9a(0x34e)](),_0x59f9b1&&this[_0x489c9a(0x2b0)](_0x59f9b1,_0x239b9f);}),this[_0x15969e(0x1e3)][_0x15969e(0x3d5)][_0x15969e(0x333)](_0x592b0b=>{if(_0x592b0b==null)return;const {skeleton:_0x1aaa3e}=_0x592b0b,{scene:_0x3a048e}=this['_context'];_0x3a048e['onPointerMove$']['subscribeEvent'](_0x4f68b5['debounce'](_0x212fd3=>{const _0x12da03=_0x57d8;var _0x4aeaf1,_0x3c047a;const {offsetX:_0x40fc39,offsetY:_0x518324}=_0x212fd3,{x:_0x5be316,y:_0x265a99}=_0x3a048e[_0x12da03(0x310)](_0x18a418['Vector2'][_0x12da03(0x3dd)]([_0x40fc39,_0x518324])),{scaleX:_0x47bb8f,scaleY:_0x840302}=_0x3a048e[_0x12da03(0x347)](),_0x118bfd=_0x3a048e[_0x12da03(0x3cf)](_0x18a418[_0x12da03(0x3df)][_0x12da03(0x2c0)]),_0x5158df=_0x3a048e[_0x12da03(0x205)](_0x18a418[_0x12da03(0x262)][_0x12da03(0x3dd)]([_0x5be316,_0x265a99]),_0x118bfd),_0x49aab5=_0x1aaa3e[_0x12da03(0x3ea)](_0x40fc39,_0x518324,_0x47bb8f,_0x840302,_0x5158df);((_0x4aeaf1=this[_0x12da03(0x33e)])==null?void 0x0:_0x4aeaf1[_0x12da03(0x281)])===_0x49aab5['column']&&((_0x3c047a=this[_0x12da03(0x33e)])==null?void 0x0:_0x3c047a[_0x12da03(0x231)])===_0x49aab5['row']||this[_0x12da03(0x210)]['forEach'](_0xb9c8c6=>{const _0x4510ff=_0x12da03;_0xb9c8c6[_0x4510ff(0x349)](_0x49aab5);});},0x64));});}[_0x1db088(0x2b0)](_0x3b6b6f,_0x10474f){const _0x55b7ee=_0x1db088;var _0x320752;const _0x80b56e=(_0x320752=this[_0x55b7ee(0x1e3)][_0x55b7ee(0x36c)]())==null?void 0x0:_0x320752['skeleton'];if(!_0x80b56e)return;const _0x2b118d=this[_0x55b7ee(0x258)]();if(!_0x2b118d)return;this['_cursors'][_0x55b7ee(0x2c6)](_0x3cec86=>{_0x3cec86['makeDirty']();});const {scene:_0x4f1977}=_0x2b118d,_0x18e4ce=_0x4ae0b1(Array[_0x55b7ee(0x211)](_0x10474f[_0x55b7ee(0x29b)]()))[_0x55b7ee(0x29a)](_0x5e5a2b=>{const _0x147c06=_0x55b7ee,{color:_0x5a09e1,range:_0x43e70f,name:_0x483f21,selection:_0x206306,sheetID:_0x469e31}=_0x5e5a2b,{startColumn:_0x3de3cc,startRow:_0x21cb5d,endColumn:_0x2b7d65,endRow:_0x2ffd7b}=_0x43e70f,_0x23124f=_0x3355d5[_0x147c06(0x246)](_0x21cb5d,_0x3de3cc,_0x4f1977,_0x80b56e),_0x155b29=_0x3355d5['getCoordByCell'](_0x2ffd7b,_0x2b7d65,_0x4f1977,_0x80b56e),{columnHeaderHeightAndMarginTop:_0xc32dde}=_0x80b56e,{startX:_0x317d15,startY:_0x2572e7}=_0x23124f,{endX:_0x3daf8a,endY:_0x290039}=_0x155b29,_0x1b8f9f=_0x3daf8a-_0x317d15,_0x1e62b4=_0x290039-_0x2572e7,_0x1433df={'labelPosition':_0x2572e7-_0xc32dde>=_0x4be393?'top':_0x147c06(0x400),'sheetID':_0x469e31,'range':_0x43e70f,'color':_0x5a09e1,'name':_0x483f21,'selection':_0x206306,'left':_0x317d15,'top':_0x2572e7,'width':_0x1b8f9f,'height':_0x1e62b4,'evented':!0x1,'zIndex':_0x42e020};return new _0x3c3b43(_0x483f21,_0x1433df);});_0x4f1977[_0x55b7ee(0x253)](_0x18e4ce,_0x44b07a),this[_0x55b7ee(0x210)]=new Set(_0x18e4ce);}[_0x1db088(0x34e)](){const _0x181d7d=_0x1db088;var _0x1ed832;(_0x1ed832=this['_cursors'])==null||_0x1ed832[_0x181d7d(0x2c6)](_0x2b54ae=>_0x2b54ae[_0x181d7d(0x29c)]());}[_0x1db088(0x258)](){const _0x112685=_0x1db088;return _0x3355d5[_0x112685(0x21d)](this[_0x112685(0x382)][_0x112685(0x230)],this['_context']);}};_0x70a592=_0x31efcb([_0x783db9(0x1,_0x4f68b5['Inject'](_0x3355d5[_0x1db088(0x1e4)])),_0x783db9(0x2,_0x4f68b5[_0x1db088(0x40b)](_0x3f7994)),_0x783db9(0x3,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x33d)]))],_0x70a592);function _0x4ae0b1(_0x498a5a){const _0xc1871e=_0x1db088,_0x553420=new Map();return _0x498a5a[_0xc1871e(0x2c6)](_0x44d547=>{const _0x44cdb6=_0xc1871e;if(_0x553420[_0x44cdb6(0x31f)](_0x44d547[_0x44cdb6(0x1f1)])){const _0x5e2fa9=_0x553420[_0x44cdb6(0x38a)](_0x44d547[_0x44cdb6(0x1f1)]);_0x5e2fa9[_0x44cdb6(0x2d4)]+=',\x20'+_0x44d547[_0x44cdb6(0x2d4)];}else _0x553420[_0x44cdb6(0x3f6)](_0x44d547[_0x44cdb6(0x1f1)],_0x44d547);}),Array['from'](_0x553420[_0xc1871e(0x29b)]());}var _0x52faec=function(){const _0x168d8a=_0x1db088;return _0x52faec=Object[_0x168d8a(0x3a1)]||function(_0x491dbf){const _0x2c3917=_0x168d8a;for(var _0xb64ef1,_0x1b8b83=0x1,_0xf05410=arguments[_0x2c3917(0x301)];_0x1b8b83<_0xf05410;_0x1b8b83++){_0xb64ef1=arguments[_0x1b8b83];for(var _0x493305 in _0xb64ef1)Object[_0x2c3917(0x3cc)][_0x2c3917(0x244)][_0x2c3917(0x1c5)](_0xb64ef1,_0x493305)&&(_0x491dbf[_0x493305]=_0xb64ef1[_0x493305]);}return _0x491dbf;},_0x52faec[_0x168d8a(0x3a4)](this,arguments);},_0x20d368=function(_0x5c8180,_0x38c898){const _0x22dfd7=_0x1db088;var _0x39bbe8={};for(var _0x5255f4 in _0x5c8180)Object[_0x22dfd7(0x3cc)]['hasOwnProperty'][_0x22dfd7(0x1c5)](_0x5c8180,_0x5255f4)&&_0x38c898['indexOf'](_0x5255f4)<0x0&&(_0x39bbe8[_0x5255f4]=_0x5c8180[_0x5255f4]);if(_0x5c8180!=null&&typeof Object[_0x22dfd7(0x40e)]==_0x22dfd7(0x1e5)){for(var _0x387cd5=0x0,_0x5255f4=Object[_0x22dfd7(0x40e)](_0x5c8180);_0x387cd5<_0x5255f4[_0x22dfd7(0x301)];_0x387cd5++)_0x38c898[_0x22dfd7(0x343)](_0x5255f4[_0x387cd5])<0x0&&Object[_0x22dfd7(0x3cc)][_0x22dfd7(0x290)]['call'](_0x5c8180,_0x5255f4[_0x387cd5])&&(_0x39bbe8[_0x5255f4[_0x387cd5]]=_0x5c8180[_0x5255f4[_0x387cd5]]);}return _0x39bbe8;},_0x3bddd6=_0x2e1d69[_0x1db088(0x1f6)](function(_0xa10641,_0x202e6c){const _0x37977f=_0x1db088;var _0x13320b=_0xa10641['icon'],_0x51d494=_0xa10641['id'],_0x3d5723=_0xa10641['className'],_0x16e875=_0xa10641[_0x37977f(0x2da)],_0x56ec53=_0x20d368(_0xa10641,[_0x37977f(0x37f),'id',_0x37977f(0x1d9),_0x37977f(0x2da)]),_0xff368e=_0x37977f(0x341)[_0x37977f(0x356)](_0x51d494,'\x20')['concat'](_0x3d5723||'')['trim'](),_0x5ec1a1=_0x2e1d69[_0x37977f(0x444)]('_'['concat'](_0x565cb8()));return _0x24fa45(_0x13320b,''[_0x37977f(0x356)](_0x51d494),{'defIds':_0x13320b['defIds'],'idSuffix':_0x5ec1a1[_0x37977f(0x242)]},_0x52faec({'ref':_0x202e6c,'className':_0xff368e},_0x56ec53),_0x16e875);});function _0x24fa45(_0xfdcc6b,_0x32fecd,_0x471109,_0x4ec931,_0x4b9245){const _0x1be525=_0x1db088;return _0x2e1d69[_0x1be525(0x345)](_0xfdcc6b[_0x1be525(0x208)],_0x52faec(_0x52faec({'key':_0x32fecd},_0x25c0b4(_0xfdcc6b,_0x471109,_0x4b9245)),_0x4ec931),(_0x298a7f(_0xfdcc6b,_0x471109)[_0x1be525(0x226)]||[])[_0x1be525(0x29a)](function(_0x595070,_0x9e7c34){const _0x155785=_0x1be525;return _0x24fa45(_0x595070,''[_0x155785(0x356)](_0x32fecd,'-')['concat'](_0xfdcc6b[_0x155785(0x208)],'-')[_0x155785(0x356)](_0x9e7c34),_0x471109,void 0x0,_0x4b9245);}));}function _0x25c0b4(_0x3273f0,_0x2a2ed6,_0x580a55){const _0x3cec1b=_0x1db088;var _0x5967d2=_0x52faec({},_0x3273f0[_0x3cec1b(0x237)]);_0x580a55!=null&&_0x580a55[_0x3cec1b(0x37e)]&&_0x5967d2[_0x3cec1b(0x437)]===_0x3cec1b(0x37e)&&(_0x5967d2[_0x3cec1b(0x437)]=_0x580a55['colorChannel1']),_0x3273f0[_0x3cec1b(0x208)]==='mask'&&_0x5967d2['id']&&(_0x5967d2['id']=_0x5967d2['id']+_0x2a2ed6['idSuffix']),Object[_0x3cec1b(0x430)](_0x5967d2)[_0x3cec1b(0x2c6)](function(_0x5aef5f){const _0x4fcc51=_0x3cec1b;var _0x8c2157=_0x5aef5f[0x0],_0x4f8bc4=_0x5aef5f[0x1];_0x8c2157==='mask'&&typeof _0x4f8bc4==_0x4fcc51(0x308)&&(_0x5967d2[_0x8c2157]=_0x4f8bc4[_0x4fcc51(0x334)](/url\(#(.*)\)/,_0x4fcc51(0x398)[_0x4fcc51(0x356)](_0x2a2ed6[_0x4fcc51(0x2e9)],')')));});var _0x32ed34=_0x2a2ed6[_0x3cec1b(0x381)];return!_0x32ed34||_0x32ed34[_0x3cec1b(0x301)]===0x0||(_0x3273f0[_0x3cec1b(0x208)]==='use'&&_0x5967d2[_0x3cec1b(0x265)]&&(_0x5967d2[_0x3cec1b(0x265)]=_0x5967d2[_0x3cec1b(0x265)]+_0x2a2ed6[_0x3cec1b(0x2e9)]),Object['entries'](_0x5967d2)[_0x3cec1b(0x2c6)](function(_0x420672){const _0x52de4a=_0x3cec1b;var _0x3215b4=_0x420672[0x0],_0x24b100=_0x420672[0x1];typeof _0x24b100==_0x52de4a(0x308)&&(_0x5967d2[_0x3215b4]=_0x24b100[_0x52de4a(0x334)](/url\(#(.*)\)/,_0x52de4a(0x398)[_0x52de4a(0x356)](_0x2a2ed6[_0x52de4a(0x2e9)],')')));})),_0x5967d2;}function _0x298a7f(_0xf60ecf,_0xee1263){const _0x49128b=_0x1db088;var _0x13afff,_0x67183a=_0xee1263[_0x49128b(0x381)];return!_0x67183a||_0x67183a[_0x49128b(0x301)]===0x0?_0xf60ecf:_0xf60ecf[_0x49128b(0x208)]===_0x49128b(0x42c)&&(!((_0x13afff=_0xf60ecf['children'])===null||_0x13afff===void 0x0)&&_0x13afff[_0x49128b(0x301)])?_0x52faec(_0x52faec({},_0xf60ecf),{'children':_0xf60ecf[_0x49128b(0x226)]['map'](function(_0x45650e){const _0x1101b2=_0x49128b;return typeof _0x45650e[_0x1101b2(0x237)]['id']==_0x1101b2(0x308)&&_0x67183a&&_0x67183a['includes'](_0x45650e[_0x1101b2(0x237)]['id'])?_0x52faec(_0x52faec({},_0x45650e),{'attrs':_0x52faec(_0x52faec({},_0x45650e[_0x1101b2(0x237)]),{'id':_0x45650e[_0x1101b2(0x237)]['id']+_0xee1263[_0x1101b2(0x2e9)]})}):_0x45650e;})}):_0xf60ecf;}function _0x565cb8(){const _0x4e8b6a=_0x1db088;return Math['random']()[_0x4e8b6a(0x3d1)](0x24)[_0x4e8b6a(0x2f5)](0x2,0x8);}_0x3bddd6[_0x1db088(0x2d1)]=_0x1db088(0x337);var _0x315f4b={'tag':_0x1db088(0x3a2),'attrs':{'xmlns':_0x1db088(0x3ff),'fill':_0x1db088(0x26b),'viewBox':_0x1db088(0x305),'width':_0x1db088(0x33a),'height':_0x1db088(0x33a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1db088(0x1ec),'attrs':{'stroke':_0x1db088(0x3e7),'d':_0x1db088(0x2f0),'strokeLinecap':_0x1db088(0x321),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1db088(0x42c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1db088(0x216)},'children':[{'tag':_0x1db088(0x1ec),'attrs':{'fill':_0x1db088(0x3c2),'d':_0x1db088(0x441)}}]}]}],'defIds':[_0x1db088(0x216)]},_0x5ac85c=_0x2e1d69[_0x1db088(0x1f6)](function(_0xed62b2,_0x5f50bf){const _0xb0703e=_0x1db088;return _0x2e1d69[_0xb0703e(0x345)](_0x3bddd6,Object[_0xb0703e(0x3a1)]({},_0xed62b2,{'id':_0xb0703e(0x419),'ref':_0x5f50bf,'icon':_0x315f4b}));});_0x5ac85c[_0x1db088(0x2d1)]='OffLineIcon';var _0x56b78a={'tag':_0x1db088(0x3a2),'attrs':{'xmlns':_0x1db088(0x3ff),'fill':'none','viewBox':_0x1db088(0x3c3),'width':_0x1db088(0x33a),'height':_0x1db088(0x33a)},'children':[{'tag':'g','attrs':{'clipPath':_0x1db088(0x2d7)},'children':[{'tag':_0x1db088(0x1ec),'attrs':{'stroke':_0x1db088(0x3e7),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x1db088(0x321),'strokeWidth':1.2}}]},{'tag':_0x1db088(0x42c),'attrs':{},'children':[{'tag':_0x1db088(0x3eb),'attrs':{'id':_0x1db088(0x2a3)},'children':[{'tag':_0x1db088(0x1ec),'attrs':{'fill':_0x1db088(0x3c2),'d':'M0\x200H16V16H0z','transform':_0x1db088(0x1cf)}}]}]}],'defIds':[_0x1db088(0x2a3)]},_0x2ea388=_0x2e1d69[_0x1db088(0x1f6)](function(_0x573bcf,_0x307e38){const _0x719fdb=_0x1db088;return _0x2e1d69[_0x719fdb(0x345)](_0x3bddd6,Object[_0x719fdb(0x3a1)]({},_0x573bcf,{'id':_0x719fdb(0x3e1),'ref':_0x307e38,'icon':_0x56b78a}));});_0x2ea388[_0x1db088(0x2d1)]='OnLineIcon';function _0x57a278(_0x4f1158){const _0x389b71=_0x1db088;switch(_0x4f1158){case _0xbd5b69[_0x389b71(0x25f)][_0x389b71(0x421)]:return _0x389b71(0x335);case _0xbd5b69[_0x389b71(0x25f)][_0x389b71(0x1ce)]:return _0x389b71(0x273);case _0xbd5b69[_0x389b71(0x25f)][_0x389b71(0x42b)]:return'collabStatus.fetchMiss';case _0xbd5b69[_0x389b71(0x25f)]['NOT_COLLAB']:return _0x389b71(0x3f5);case _0xbd5b69['CollaborationStatus'][_0x389b71(0x401)]:case _0xbd5b69[_0x389b71(0x25f)][_0x389b71(0x37a)]:return _0x389b71(0x3b4);case _0xbd5b69['CollaborationStatus'][_0x389b71(0x2d3)]:case _0xbd5b69[_0x389b71(0x25f)][_0x389b71(0x25e)]:return _0x389b71(0x42a);}}function _0x1bfe2d(_0x34da63){const _0x2897c7=_0x1db088,{status$:_0x3f86ef}=_0x34da63,_0x5e7a96=_0x30746c[_0x2897c7(0x2b3)](_0x3f86ef,_0xbd5b69['CollaborationStatus'][_0x2897c7(0x377)]),_0x5b59a4=_0x30746c[_0x2897c7(0x318)](_0x4f68b5[_0x2897c7(0x399)]),_0x116a71=_0x30746c['useDependency'](_0xbd5b69[_0x2897c7(0x274)]),_0x3fae3a=_0x5e7a96!==_0xbd5b69[_0x2897c7(0x25f)][_0x2897c7(0x421)],_0x29cb51=_0x5b59a4['t'](_0x57a278(_0x5e7a96)),_0xa5c9a2=_0x3fae3a?_0x5dca86[_0x2897c7(0x2dd)](_0x2ea388,{}):_0x5dca86['jsx'](_0x5ac85c,{}),_0x232ca3=_0x2e1d69[_0x2897c7(0x3ab)](()=>{const _0x494f42=_0x2897c7;_0x3fae3a||_0x116a71[_0x494f42(0x40a)]();},[_0x3fae3a,_0x116a71]);function _0x1e2640(){const _0x5dc15b=_0x2897c7;return _0x5dca86[_0x5dc15b(0x32f)](_0x5dc15b(0x41b),{'className':'univer-flex\x20univer-items-center','onClick':_0x232ca3,'children':[_0x5dca86[_0x5dc15b(0x2dd)](_0x5dc15b(0x41b),{'className':_0x479bf2['clsx'](_0x5dc15b(0x29e),{'univer-text-green-500':_0x3fae3a,'univer-text-red-500':!_0x3fae3a}),'children':_0xa5c9a2}),_0x5dca86[_0x5dc15b(0x2dd)](_0x5dc15b(0x41b),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x29cb51})]});}return _0x3fae3a?_0x1e2640():_0x5dca86[_0x2897c7(0x2dd)](_0x479bf2['Tooltip'],{'title':_0x5b59a4['t']('collab-client.tooltip.reconnect'),'children':_0x1e2640()});}var _0x1cffe4=Object[_0x1db088(0x3ac)],_0x3b470b=(_0x3b6c2e,_0x5e547a,_0x42ab0b,_0x20ea23)=>{const _0x40d801=_0x1db088;for(var _0x6a3609=_0x20ea23>0x1?void 0x0:_0x20ea23?_0x1cffe4(_0x5e547a,_0x42ab0b):_0x5e547a,_0x181ba2=_0x3b6c2e[_0x40d801(0x301)]-0x1,_0x9a772;_0x181ba2>=0x0;_0x181ba2--)(_0x9a772=_0x3b6c2e[_0x181ba2])&&(_0x6a3609=_0x9a772(_0x6a3609)||_0x6a3609);return _0x6a3609;},_0x581433=(_0x5e164f,_0x28eb91)=>(_0x574ee,_0x14cabc)=>_0x28eb91(_0x574ee,_0x14cabc,_0x5e164f);_0x1fcb7c[_0x1db088(0x2e0)]=class extends _0x4f68b5['Disposable']{constructor(_0x5c4d76,_0x156388,_0x37c194,_0x5171bd){const _0x58ddd3=_0x1db088;super(),_0x50d51d(this,_0x58ddd3(0x36f),new _0xddf3a0['BehaviorSubject'](_0xbd5b69[_0x58ddd3(0x25f)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x5c4d76,this[_0x58ddd3(0x3bd)]=_0x156388,this[_0x58ddd3(0x433)]=_0x37c194,this['_uiPartsService']=_0x5171bd,this[_0x58ddd3(0x385)](),this[_0x58ddd3(0x295)]());}[_0x1db088(0x295)](){const _0x2a0f37=_0x1db088;this[_0x2a0f37(0x26f)](this[_0x2a0f37(0x42f)][_0x2a0f37(0x2a1)][_0x2a0f37(0x405)](_0xddf3a0[_0x2a0f37(0x2f1)](()=>{const _0x22bd7d=_0x2a0f37,_0x576b12=this[_0x22bd7d(0x42f)][_0x22bd7d(0x39a)]();return _0x576b12?this[_0x22bd7d(0x433)][_0x22bd7d(0x3b2)](_0x576b12[_0x22bd7d(0x25d)]()):_0xddf3a0['of'](null);}),_0xddf3a0[_0x2a0f37(0x2f1)](_0x30a9b8=>_0x30a9b8?_0x30a9b8['status$']:_0xddf3a0['of'](_0xbd5b69[_0x2a0f37(0x25f)][_0x2a0f37(0x377)])))['subscribe'](_0x5972be=>{const _0x242228=_0x2a0f37;this[_0x242228(0x36f)][_0x242228(0x431)](_0x5972be);}));}['_initStatusComponent'](){const _0x7d3530=_0x1db088;this['disposeWithMe'](this[_0x7d3530(0x2f2)]['registerComponent'](_0x30746c[_0x7d3530(0x31d)]['HEADER_MENU'],()=>_0x30746c[_0x7d3530(0x256)](_0x1990fb({'status$':this[_0x7d3530(0x36f)][_0x7d3530(0x412)]()}),this[_0x7d3530(0x3bd)])));}},_0x1fcb7c[_0x1db088(0x2e0)]=_0x3b470b([_0x581433(0x0,_0x4f68b5[_0x1db088(0x25a)]),_0x581433(0x1,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x22e)])),_0x581433(0x2,_0x4f68b5[_0x1db088(0x40b)](_0xbd5b69[_0x1db088(0x410)])),_0x581433(0x3,_0x30746c[_0x1db088(0x28f)])],_0x1fcb7c[_0x1db088(0x2e0)]);function _0x1990fb(_0x109034){const {status$:_0x1f6376}=_0x109034;return function(){const _0xf97cdc=_0x57d8;return _0x5dca86[_0xf97cdc(0x2dd)](_0x1bfe2d,{'status$':_0x1f6376});};}var _0x59c317=Object[_0x1db088(0x3ac)],_0x2b980b=(_0x5a4df9,_0x597d10,_0xf4ef97,_0x5972bb)=>{const _0x5f9c91=_0x1db088;for(var _0x5ac5dc=_0x5972bb>0x1?void 0x0:_0x5972bb?_0x59c317(_0x597d10,_0xf4ef97):_0x597d10,_0x4be105=_0x5a4df9[_0x5f9c91(0x301)]-0x1,_0x4bb3b7;_0x4be105>=0x0;_0x4be105--)(_0x4bb3b7=_0x5a4df9[_0x4be105])&&(_0x5ac5dc=_0x4bb3b7(_0x5ac5dc)||_0x5ac5dc);return _0x5ac5dc;},_0xecc0f3=(_0x3dba5b,_0xed93a)=>(_0x3008a4,_0x29101a)=>_0xed93a(_0x3008a4,_0x29101a,_0x3dba5b);let _0x251a99=class extends _0x4f68b5['Disposable']{constructor(_0x2dd85a,_0x36663b,_0x15cc33,_0x96f070,_0x7e837d,_0x3f5754){const _0x55692b=_0x1db088;super(),this[_0x55692b(0x288)]=_0x2dd85a,this[_0x55692b(0x3bf)]=_0x36663b,this[_0x55692b(0x252)]=_0x15cc33,this[_0x55692b(0x2ff)]=_0x96f070,this[_0x55692b(0x2a5)]=_0x7e837d,this['_localeService']=_0x3f5754,this['_setupBeforeClosingHandler'](),this[_0x55692b(0x417)]();}[_0x1db088(0x1fc)](){const _0xd97936=_0x1db088;this[_0xd97936(0x26f)](this['_beforeCloseService'][_0xd97936(0x38d)](()=>{const _0x47cad5=_0xd97936;if(this[_0x47cad5(0x3bf)][_0x47cad5(0x314)][_0x47cad5(0x2a9)])return this[_0x47cad5(0x2fb)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x1db088(0x417)](){const _0x132e40=_0x1db088;this[_0x132e40(0x26f)](this[_0x132e40(0x252)]['event$'][_0x132e40(0x333)](_0x2826f5=>{const _0x35ebad=_0x132e40;_0x2826f5['id']===_0xbd5b69['CollaborationUIEventId'][_0x35ebad(0x1d8)]&&this['_messageService'][_0x35ebad(0x366)]({'type':_0x479bf2['MessageType']['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x2826f5['id']===_0xbd5b69[_0x35ebad(0x236)][_0x35ebad(0x2ae)]&&this[_0x35ebad(0x2ff)]['show']({'type':_0x479bf2[_0x35ebad(0x35c)][_0x35ebad(0x32d)],'content':this['_localeService']['t'](_0x35ebad(0x34a))}),_0x2826f5['id']===_0xbd5b69[_0x35ebad(0x236)]['PERMISSION_DENIED']&&this[_0x35ebad(0x2a5)][_0x35ebad(0x366)]({'title':this[_0x35ebad(0x2fb)]['t'](_0x35ebad(0x402)),'content':this[_0x35ebad(0x2fb)]['t'](_0x35ebad(0x435)),'type':'error','duration':0x0}),_0x2826f5['id']===_0xbd5b69['CollaborationUIEventId']['CONFLICT']&&this[_0x35ebad(0x2ff)][_0x35ebad(0x366)]({'type':_0x479bf2[_0x35ebad(0x35c)]['Error'],'content':this[_0x35ebad(0x2fb)]['t']('collaboration.closeRoom')+'('+_0x2826f5[_0x35ebad(0x330)]+')'}),_0x2826f5['id']===_0xbd5b69[_0x35ebad(0x236)]['JOIN_ROOM_FAILED']&&this[_0x35ebad(0x2ff)][_0x35ebad(0x366)]({'type':_0x479bf2[_0x35ebad(0x35c)][_0x35ebad(0x32d)],'content':this[_0x35ebad(0x2fb)]['t'](_0x2826f5[_0x35ebad(0x330)]||'')}),_0x2826f5['id']===_0xbd5b69[_0x35ebad(0x236)][_0x35ebad(0x322)]&&this[_0x35ebad(0x2ff)][_0x35ebad(0x366)]({'type':_0x479bf2[_0x35ebad(0x35c)][_0x35ebad(0x32d)],'content':this[_0x35ebad(0x2fb)]['t'](_0x35ebad(0x1d2))}),_0x2826f5['id']===_0xbd5b69[_0x35ebad(0x236)][_0x35ebad(0x418)]&&this[_0x35ebad(0x2ff)][_0x35ebad(0x366)]({'type':_0x479bf2[_0x35ebad(0x35c)][_0x35ebad(0x394)],'content':this[_0x35ebad(0x2fb)]['t']('session.connection-failed')}),_0x2826f5['id']===_0xbd5b69[_0x35ebad(0x236)][_0x35ebad(0x2de)]&&this['_messageService'][_0x35ebad(0x366)]({'type':_0x479bf2[_0x35ebad(0x35c)][_0x35ebad(0x394)],'content':this[_0x35ebad(0x2fb)]['t'](_0x35ebad(0x3e5))});}));}};_0x251a99=_0x2b980b([_0xecc0f3(0x0,_0x30746c[_0x1db088(0x370)]),_0xecc0f3(0x1,_0xbd5b69[_0x1db088(0x319)]),_0xecc0f3(0x2,_0x4f68b5[_0x1db088(0x40b)](_0xbd5b69['CollaborationUIEventService'])),_0xecc0f3(0x3,_0x30746c[_0x1db088(0x227)]),_0xecc0f3(0x4,_0x30746c[_0x1db088(0x2b7)]),_0xecc0f3(0x5,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5['LocaleService']))],_0x251a99);const _0x4240ed=_0x1db088(0x3ae),_0x45e6e4={},_0x441a98=_0x4f68b5[_0x1db088(0x411)](_0x1db088(0x403));var _0x2e85dd=Object['getOwnPropertyDescriptor'],_0x4f5490=(_0x46a559,_0x4dbd49,_0x35ce06,_0xb400a2)=>{for(var _0x70523=_0xb400a2>0x1?void 0x0:_0xb400a2?_0x2e85dd(_0x4dbd49,_0x35ce06):_0x4dbd49,_0x2b8d57=_0x46a559['length']-0x1,_0x5ec852;_0x2b8d57>=0x0;_0x2b8d57--)(_0x5ec852=_0x46a559[_0x2b8d57])&&(_0x70523=_0x5ec852(_0x70523)||_0x70523);return _0x70523;},_0x38535b=(_0x2a873f,_0x2b334f)=>(_0x2c2e13,_0x4335ed)=>_0x2b334f(_0x2c2e13,_0x4335ed,_0x2a873f);_0x1fcb7c[_0x1db088(0x299)]=class extends _0x4f68b5[_0x1db088(0x386)]{constructor(_0x1d5273,_0x5e8d7d,_0x4d74ed,_0xada5b,_0x3739b4){const _0x52c67c=_0x1db088;super(),this['_urlService']=_0x1d5273,this['_logService']=_0x5e8d7d,this[_0x52c67c(0x2e5)]=_0x4d74ed,this[_0x52c67c(0x1d6)]=_0xada5b,_0x3739b4?_0x3739b4==null||_0x3739b4['whenReady']()['then'](()=>this[_0x52c67c(0x450)]()):(this[_0x52c67c(0x3f8)]['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x52c67c(0x450)]());}async[_0x1db088(0x450)](){const _0x15a5e7=_0x1db088,_0x2f050f=this[_0x15a5e7(0x33c)]['getParam']('unit'),_0x27a675=this['_urlService'][_0x15a5e7(0x27c)](_0x15a5e7(0x432)),_0x555a9a=this['_urlService']['getParam']('subunit');if(!_0x2f050f||!_0x27a675){this[_0x15a5e7(0x3f8)][_0x15a5e7(0x22a)](_0x15a5e7(0x20a),_0x15a5e7(0x3d0));return;}const _0x280df1=await this[_0x15a5e7(0x1d6)][_0x15a5e7(0x271)](_0x2f050f,Number(_0x27a675),_0x555a9a);_0x280df1&&_0x280df1 instanceof _0x4f68b5[_0x15a5e7(0x2a2)]&&this['_setupSubUnitSync'](_0x280df1);}async['_setupSubUnitSync'](_0x38134e){const _0x44aaac=_0x1db088;await this[_0x44aaac(0x1fa)](_0x38134e),_0x38134e[_0x44aaac(0x3ca)][_0x44aaac(0x405)](_0xddf3a0[_0x44aaac(0x447)](this[_0x44aaac(0x1d3)]))[_0x44aaac(0x333)](_0x14c111=>{const _0xc42b98=_0x44aaac;_0x14c111&&this[_0xc42b98(0x264)](_0x14c111);}),this[_0x44aaac(0x33c)]['urlChange$'][_0x44aaac(0x405)](_0xddf3a0[_0x44aaac(0x447)](this[_0x44aaac(0x1d3)]))[_0x44aaac(0x333)](()=>this[_0x44aaac(0x1fa)](_0x38134e));}[_0x1db088(0x264)](_0x40743f,_0x1765fe=!0x1){const _0x2124f3=_0x1db088,_0x71f869=this[_0x2124f3(0x33c)][_0x2124f3(0x27c)](_0x2124f3(0x2dc));_0x40743f[_0x2124f3(0x2ef)]()!==_0x71f869&&this['_urlService']['setParam'](_0x2124f3(0x2dc),_0x40743f[_0x2124f3(0x2ef)](),_0x1765fe);}async[_0x1db088(0x1fa)](_0x53a5e8){const _0x428105=_0x1db088;var _0x7158b6;const _0x5913ba=this[_0x428105(0x33c)][_0x428105(0x27c)](_0x428105(0x2dc));if(!_0x5913ba||!_0x53a5e8[_0x428105(0x2b9)](_0x5913ba)){const _0x5d78a1=_0x53a5e8[_0x428105(0x3ec)]()[0x0],_0xab28b2=_0x53a5e8[_0x428105(0x2b9)](_0x5d78a1);if(!_0xab28b2)return;this[_0x428105(0x264)](_0xab28b2,!0x0),await this[_0x428105(0x2e5)][_0x428105(0x354)](_0x396f37[_0x428105(0x355)]['id'],{'unitId':_0x53a5e8[_0x428105(0x25d)](),'subUnitId':_0x5d78a1});return;}((_0x7158b6=_0x53a5e8[_0x428105(0x2cd)]())==null?void 0x0:_0x7158b6['getSheetId']())!==_0x5913ba&&await this['_commandService']['executeCommand'](_0x396f37[_0x428105(0x355)]['id'],{'unitId':_0x53a5e8[_0x428105(0x25d)](),'subUnitId':_0x5913ba});}},_0x1fcb7c[_0x1db088(0x299)]=_0x4f5490([_0x38535b(0x0,_0x441a98),_0x38535b(0x1,_0x4f68b5[_0x1db088(0x2ac)]),_0x38535b(0x2,_0x4f68b5[_0x1db088(0x1e2)]),_0x38535b(0x3,_0x4f68b5[_0x1db088(0x40b)](_0xbd5b69[_0x1db088(0x219)])),_0x38535b(0x4,_0x4f68b5[_0x1db088(0x1c6)](_0x1314cb[_0x1db088(0x2ee)]))],_0x1fcb7c[_0x1db088(0x299)]);var _0x314937=Object[_0x1db088(0x3ac)],_0x4d7c9f=(_0x2303a0,_0x19aa2a,_0x44cbf2,_0x550dae)=>{for(var _0x46662c=_0x550dae>0x1?void 0x0:_0x550dae?_0x314937(_0x19aa2a,_0x44cbf2):_0x19aa2a,_0x55f956=_0x2303a0['length']-0x1,_0x2ccd47;_0x55f956>=0x0;_0x55f956--)(_0x2ccd47=_0x2303a0[_0x55f956])&&(_0x46662c=_0x2ccd47(_0x46662c)||_0x46662c);return _0x46662c;},_0x2ec4a2=(_0x4dd581,_0x256ab6)=>(_0x18a099,_0x1d567f)=>_0x256ab6(_0x18a099,_0x1d567f,_0x4dd581);let _0x31312d=class{constructor(_0x42a677,_0x20fe38,_0xd12177){const _0x5b1af1=_0x1db088;this[_0x5b1af1(0x3bd)]=_0x42a677,this[_0x5b1af1(0x1d4)]=_0x20fe38,this['_renderManagerService']=_0xd12177;}['transformIMECache'](_0x30bb73){const _0x57126a=_0x1db088;this[_0x57126a(0x2c7)](_0x30bb73),this['_transformPreviousActiveRange'](_0x30bb73);}['transformRemoteChangeset'](_0x102cf1){const _0x366fca=_0x1db088,{unitID:_0x206aa3}=_0x102cf1,_0x3e9bf6=this[_0x366fca(0x285)][_0x366fca(0x43a)](_0x206aa3)[_0x366fca(0x1e0)](_0x5ab0ee[_0x366fca(0x1e7)]),{redoCache:_0x3200ad}=_0x3e9bf6['getUndoRedoMutationParamsCache']();if(_0x3200ad['length']===0x0)return _0x102cf1;let _0x6f1fb=_0x4f68b5[_0x366fca(0x391)][_0x366fca(0x28a)](_0x102cf1['mutations'][0x0]);for(let _0x77e5d3=0x0;_0x77e5d3<_0x3200ad[_0x366fca(0x301)];_0x77e5d3++){const _0x450e7b={'id':'doc.mutation.rich-text-editing','params':{..._0x3200ad[_0x77e5d3]}},_0x102e81=this[_0x366fca(0x1d4)]['transformMutation'](_0x6f1fb,_0x450e7b,!0x1);if(_0x51374a[_0x366fca(0x3db)](_0x102e81))throw _0x102e81[_0x366fca(0x317)];_0x6f1fb=_0x102e81[_0x366fca(0x357)];}return{..._0x4f68b5[_0x366fca(0x391)][_0x366fca(0x28a)](_0x102cf1),'mutations':[_0x6f1fb]};}['_transformUndoRedoStack'](_0x51970b){const _0x33c3a9=_0x1db088,{unitID:_0x477623}=_0x51970b,_0x3dff72=this['_renderManagerService'][_0x33c3a9(0x43a)](_0x477623)[_0x33c3a9(0x1e0)](_0x5ab0ee[_0x33c3a9(0x1e7)]),{undoCache:_0x5b1f18,redoCache:_0xae17a9}=_0x3dff72[_0x33c3a9(0x26e)]();if(_0x5b1f18[_0x33c3a9(0x301)]===0x0||_0xae17a9[_0x33c3a9(0x301)]===0x0)return;const _0xdaf8d0=[],_0x6700cc=[];let _0x7db715=_0x4f68b5[_0x33c3a9(0x391)][_0x33c3a9(0x28a)](_0x51970b[_0x33c3a9(0x218)][0x0]),_0x3947d5=_0x4f68b5[_0x33c3a9(0x391)][_0x33c3a9(0x28a)](_0x51970b[_0x33c3a9(0x218)][0x0]);for(let _0x4b5162=_0x5b1f18[_0x33c3a9(0x301)]-0x1;_0x4b5162>=0x0;_0x4b5162--){const _0x491e1a={'id':_0x33c3a9(0x336),'params':{..._0x5b1f18[_0x4b5162]}},_0x4b846e={'id':_0x33c3a9(0x336),'params':{..._0xae17a9[_0x4b5162]}},_0x46e669=this[_0x33c3a9(0x1d4)][_0x33c3a9(0x35a)](_0x7db715,_0x491e1a,!0x1),_0xf55e50=this[_0x33c3a9(0x1d4)]['transformMutation'](_0x3947d5,_0x4b846e,!0x1);if(_0x51374a[_0x33c3a9(0x3db)](_0x46e669))throw _0x46e669['error'];if(_0x51374a['isTransformMutationFailure'](_0xf55e50))throw _0xf55e50[_0x33c3a9(0x317)];_0xdaf8d0[_0x33c3a9(0x1c2)](_0x46e669[_0x33c3a9(0x346)][_0x33c3a9(0x2eb)]),_0x6700cc[_0x33c3a9(0x1c2)](_0xf55e50[_0x33c3a9(0x346)]['params']),_0x7db715=_0x46e669[_0x33c3a9(0x357)],_0x3947d5=_0xf55e50[_0x33c3a9(0x357)];}_0x3dff72[_0x33c3a9(0x40f)]({'undoCache':_0xdaf8d0,'redoCache':_0x6700cc});}[_0x1db088(0x2ea)](_0x2107c8){const _0xa52efb=_0x1db088,{unitID:_0xfc6583}=_0x2107c8,_0x1b0d03=this['_renderManagerService'][_0xa52efb(0x43a)](_0xfc6583)['with'](_0x5ab0ee[_0xa52efb(0x1e7)]),_0x45fae4=_0x1b0d03[_0xa52efb(0x203)]();if(_0x45fae4==null)return;const _0x498517=[{'id':_0xa52efb(0x336),'params':{'unitId':_0x2107c8[_0xa52efb(0x34c)],'actions':null,'textRanges':[_0x45fae4]}}],_0x194d42=this[_0xa52efb(0x1d4)][_0xa52efb(0x3c5)](_0x2107c8,_0x498517);if(!_0x51374a['isTransformMutationsWithChangesetSuccess'](_0x194d42))throw _0x194d42[_0xa52efb(0x317)];const _0x4020ad=_0x194d42[_0xa52efb(0x346)][0x0][_0xa52efb(0x2eb)][_0xa52efb(0x254)];Array[_0xa52efb(0x222)](_0x4020ad)&&_0x4020ad[_0xa52efb(0x301)]&&_0x1b0d03[_0xa52efb(0x303)](_0x4020ad[0x0]);}};_0x31312d=_0x4d7c9f([_0x2ec4a2(0x0,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x22e)])),_0x2ec4a2(0x1,_0x51374a[_0x1db088(0x1c4)]),_0x2ec4a2(0x2,_0x18a418[_0x1db088(0x404)])],_0x31312d);var _0x1e01fa=Object['getOwnPropertyDescriptor'],_0x2fb572=(_0x210f40,_0x155df3,_0x508997,_0x3a4371)=>{const _0x13cd0a=_0x1db088;for(var _0x1d3c9f=_0x3a4371>0x1?void 0x0:_0x3a4371?_0x1e01fa(_0x155df3,_0x508997):_0x155df3,_0x51b7d3=_0x210f40[_0x13cd0a(0x301)]-0x1,_0x19ab1b;_0x51b7d3>=0x0;_0x51b7d3--)(_0x19ab1b=_0x210f40[_0x51b7d3])&&(_0x1d3c9f=_0x19ab1b(_0x1d3c9f)||_0x1d3c9f);return _0x1d3c9f;},_0xddebca=(_0x2c3f32,_0x59dd52)=>(_0x41610e,_0x9e4c84)=>_0x59dd52(_0x41610e,_0x9e4c84,_0x2c3f32);let _0x499b43=class{constructor(_0x44e20d,_0x118800,_0x53f93a){const _0x77e000=_0x1db088;this[_0x77e000(0x3bd)]=_0x44e20d,this[_0x77e000(0x1d4)]=_0x118800,this[_0x77e000(0x35e)]=_0x53f93a;}[_0x1db088(0x2be)](_0x2f3290){const _0x4deec8=_0x1db088;this[_0x4deec8(0x1f3)](_0x2f3290);}[_0x1db088(0x37d)](_0x50cae7){const _0x19440b=_0x1db088,{unitID:_0x8321ef}=_0x50cae7,{collaboration:_0x2b9d0e}=this[_0x19440b(0x35e)][_0x19440b(0x3c9)](_0x8321ef);if(_0x2b9d0e[_0x19440b(0x301)]===0x0)return _0x50cae7;let _0x102799=_0x4f68b5['Tools'][_0x19440b(0x28a)](_0x50cae7[_0x19440b(0x218)][0x0]);for(let _0x446d3a=0x0;_0x446d3a<_0x2b9d0e[_0x19440b(0x301)];_0x446d3a++){const _0x518729={'id':_0x19440b(0x336),'params':{'unitId':_0x2b9d0e[_0x446d3a]['unitId'],..._0x2b9d0e[_0x446d3a]['redoState']}},_0x5045df=this['_transformService'][_0x19440b(0x35a)](_0x102799,_0x518729,!0x1);if(_0x51374a[_0x19440b(0x3db)](_0x5045df))throw _0x5045df[_0x19440b(0x317)];_0x102799=_0x5045df[_0x19440b(0x357)];}return{..._0x4f68b5['Tools']['deepClone'](_0x50cae7),'mutations':[_0x102799]};}[_0x1db088(0x1f3)](_0x1a028f){const _0x388e80=_0x1db088,{unitID:_0x4557ba}=_0x1a028f,{history:_0x2e8bfb,collaboration:_0x2644b2}=this[_0x388e80(0x35e)][_0x388e80(0x3c9)](_0x4557ba);if(_0x2e8bfb[_0x388e80(0x301)]===0x0&&_0x2644b2[_0x388e80(0x301)]===0x0)return;const _0x57e07f=[],_0x5a18b1=[];let _0x32d26e=_0x4f68b5[_0x388e80(0x391)]['deepClone'](_0x1a028f['mutations'][0x0]),_0x225fe8=_0x4f68b5[_0x388e80(0x391)][_0x388e80(0x28a)](_0x1a028f[_0x388e80(0x218)][0x0]);for(let _0x135d71=_0x2e8bfb[_0x388e80(0x301)]-0x1;_0x135d71>=0x0;_0x135d71--){const _0x25c69c={'id':_0x388e80(0x336),'params':{'unitId':_0x2e8bfb[_0x135d71][_0x388e80(0x300)],..._0x2e8bfb[_0x135d71][_0x388e80(0x2df)]}},_0x16945c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e8bfb[_0x135d71][_0x388e80(0x300)],..._0x2e8bfb[_0x135d71]['redoState']}},_0x3bb837=this[_0x388e80(0x1d4)]['transformMutation'](_0x32d26e,_0x25c69c,!0x1),_0x1699f0=this[_0x388e80(0x1d4)][_0x388e80(0x35a)](_0x225fe8,_0x16945c,!0x1);if(_0x51374a[_0x388e80(0x3db)](_0x3bb837))throw _0x3bb837['error'];if(_0x51374a[_0x388e80(0x3db)](_0x1699f0))throw _0x1699f0['error'];_0x57e07f[_0x388e80(0x1c2)]({..._0x2e8bfb[_0x135d71],'undoState':_0x3bb837[_0x388e80(0x346)]['params'],'redoState':_0x1699f0['m2Prime']['params']}),_0x32d26e=_0x3bb837[_0x388e80(0x357)],_0x225fe8=_0x1699f0[_0x388e80(0x357)];}_0x32d26e=_0x4f68b5[_0x388e80(0x391)][_0x388e80(0x28a)](_0x1a028f[_0x388e80(0x218)][0x0]),_0x225fe8=_0x4f68b5['Tools']['deepClone'](_0x1a028f['mutations'][0x0]);for(let _0x1f9e9e=_0x2644b2[_0x388e80(0x301)]-0x1;_0x1f9e9e>=0x0;_0x1f9e9e--){const _0x5c3b0f={'id':_0x388e80(0x336),'params':{'unitId':_0x2644b2[_0x1f9e9e][_0x388e80(0x300)],..._0x2644b2[_0x1f9e9e][_0x388e80(0x2df)]}},_0x46a4b0={'id':_0x388e80(0x336),'params':{'unitId':_0x2644b2[_0x1f9e9e][_0x388e80(0x300)],..._0x2644b2[_0x1f9e9e][_0x388e80(0x3e2)]}},_0x47f0ea=this['_transformService']['transformMutation'](_0x32d26e,_0x5c3b0f,!0x1),_0x55655f=this[_0x388e80(0x1d4)][_0x388e80(0x35a)](_0x225fe8,_0x46a4b0,!0x1);if(_0x51374a[_0x388e80(0x3db)](_0x47f0ea))throw _0x47f0ea[_0x388e80(0x317)];if(_0x51374a[_0x388e80(0x3db)](_0x55655f))throw _0x55655f[_0x388e80(0x317)];_0x5a18b1[_0x388e80(0x1c2)]({..._0x2644b2[_0x1f9e9e],'undoState':_0x47f0ea[_0x388e80(0x346)][_0x388e80(0x2eb)],'redoState':_0x55655f['m2Prime'][_0x388e80(0x2eb)]}),_0x32d26e=_0x47f0ea[_0x388e80(0x357)],_0x225fe8=_0x55655f[_0x388e80(0x357)];}this[_0x388e80(0x35e)][_0x388e80(0x363)](_0x4557ba,{'history':_0x57e07f,'collaboration':_0x5a18b1});}};_0x499b43=_0x2fb572([_0xddebca(0x0,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x22e)])),_0xddebca(0x1,_0x51374a[_0x1db088(0x1c4)]),_0xddebca(0x2,_0x4f68b5[_0x1db088(0x40b)](_0x5ab0ee['DocStateChangeManagerService']))],_0x499b43);var _0x111d44=Object[_0x1db088(0x3ac)],_0x31f0d1=(_0x29780d,_0x3b9f62,_0x3c5e02,_0x544813)=>{for(var _0x5f4dbe=_0x544813>0x1?void 0x0:_0x544813?_0x111d44(_0x3b9f62,_0x3c5e02):_0x3b9f62,_0x84bbf4=_0x29780d['length']-0x1,_0x118499;_0x84bbf4>=0x0;_0x84bbf4--)(_0x118499=_0x29780d[_0x84bbf4])&&(_0x5f4dbe=_0x118499(_0x5f4dbe)||_0x5f4dbe);return _0x5f4dbe;},_0xbc224d=(_0x4c5373,_0x367883)=>(_0x38a520,_0x103358)=>_0x367883(_0x38a520,_0x103358,_0x4c5373);let _0xeca411=class{constructor(_0x4eb1f6,_0xd4d673){const _0x2e42a5=_0x1db088;this[_0x2e42a5(0x3bd)]=_0x4eb1f6,this[_0x2e42a5(0x1d4)]=_0xd4d673;}[_0x1db088(0x1ff)](_0x5ee8a3){const _0x32faa0=_0x1db088;var _0x20cc40;const _0x422fe4=this[_0x32faa0(0x3bd)]['get'](_0x3c2c13[_0x32faa0(0x215)]),_0x4f4fc4=(_0x20cc40=_0x422fe4[_0x32faa0(0x3dc)]())!=null?_0x20cc40:[];if(_0x4f4fc4[_0x32faa0(0x301)]===0x0)return;const _0x4061bc=_0x5ee8a3[_0x32faa0(0x34c)],_0x4d265c=[{'id':_0x32faa0(0x336),'params':{'unitId':_0x4061bc,'actions':null,'textRanges':_0x4f4fc4}}],_0x4783ab=this['_transformService'][_0x32faa0(0x3c5)](_0x5ee8a3,_0x4d265c);if(!_0x51374a[_0x32faa0(0x289)](_0x4783ab))throw _0x4783ab[_0x32faa0(0x317)];const _0x30aaed=_0x4783ab[_0x32faa0(0x346)][0x0]['params'][_0x32faa0(0x254)];Array[_0x32faa0(0x222)](_0x30aaed)&&_0x30aaed[_0x32faa0(0x301)]&&_0x422fe4['replaceDocRanges'](_0x30aaed,{'unitId':_0x4061bc,'subUnitId':_0x4061bc},!0x1);}};_0xeca411=_0x31f0d1([_0xbc224d(0x0,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x22e)])),_0xbc224d(0x1,_0x51374a[_0x1db088(0x1c4)])],_0xeca411);var _0x49a148=Object[_0x1db088(0x3ac)],_0x308d59=(_0x693017,_0x3453c6,_0x1c55fe,_0x4e69b3)=>{const _0x195cf1=_0x1db088;for(var _0x2b54cb=_0x4e69b3>0x1?void 0x0:_0x4e69b3?_0x49a148(_0x3453c6,_0x1c55fe):_0x3453c6,_0x170ee8=_0x693017[_0x195cf1(0x301)]-0x1,_0x3a9adc;_0x170ee8>=0x0;_0x170ee8--)(_0x3a9adc=_0x693017[_0x170ee8])&&(_0x2b54cb=_0x3a9adc(_0x2b54cb)||_0x2b54cb);return _0x2b54cb;},_0x6fe252=(_0x35704c,_0x15a4f4)=>(_0x9bb4f,_0x4a6ed1)=>_0x15a4f4(_0x9bb4f,_0x4a6ed1,_0x35704c);let _0x4f0beb=class extends _0x4f68b5[_0x1db088(0x3e3)]{constructor(_0x2dfffe,_0xde28a3,_0x1bec7e,_0x42136d,_0x3589aa,_0xb77768,_0x4b8cb3,_0x5de30b){const _0x35af58=_0x1db088;super(),_0x50d51d(this,'_status$',new _0xddf3a0['BehaviorSubject'](_0xbd5b69[_0x35af58(0x25f)][_0x35af58(0x377)])),(this[_0x35af58(0x35e)]=_0x2dfffe,this['_collaborationController']=_0xde28a3,this[_0x35af58(0x31c)]=_0x1bec7e,this[_0x35af58(0x1fe)]=_0x42136d,this[_0x35af58(0x245)]=_0x3589aa,this[_0x35af58(0x324)]=_0xb77768,this['_messageService']=_0x4b8cb3,this['_localeService']=_0x5de30b,this[_0x35af58(0x20e)]());}['_initEntityListener'](){const _0x53c29f=_0x1db088;this[_0x53c29f(0x26f)](this['_collaborationController'][_0x53c29f(0x1de)]['subscribe'](_0x541575=>{const _0x518244=_0x53c29f,_0xb8c54e=this[_0x518244(0x35e)]['docStateChange$'][_0x518244(0x333)](_0x259e0a=>{const _0x5b9436=_0x518244;if(_0x259e0a==null)return;const {unitId:_0x29a935,redoState:_0x4b0372,commandId:_0x1958da}=_0x259e0a;if(_0x29a935!==_0x541575['unitID'])return;const _0x59a05c={'id':_0x1958da,'type':_0x4f68b5[_0x5b9436(0x26a)]['MUTATION'],'params':{'unitId':_0x29a935,'actions':_0x4b0372[_0x5b9436(0x28e)],'textRanges':null}};_0x541575[_0x5b9436(0x41d)](_0x59a05c);});if(_0x541575[_0x518244(0x26f)](_0xb8c54e),_0x541575 instanceof _0xbd5b69[_0x518244(0x247)]){const _0x35766d={'onTransformIME':_0x271d43=>this['_docTransformIMECacheService'][_0x518244(0x395)](_0x271d43),'onTransformState':_0x2355b1=>this[_0x518244(0x1fe)][_0x518244(0x2be)](_0x2355b1),'onTransformSelections':_0x2a94a2=>this[_0x518244(0x245)][_0x518244(0x1ff)](_0x2a94a2),'onSyncEditingCollabCursor':_0x610408=>this[_0x518244(0x324)][_0x518244(0x2b4)](_0x610408),'onTransformRemoteChangesetByIMECache':_0x47dd82=>this[_0x518244(0x31c)][_0x518244(0x37d)](_0x47dd82),'onTransformRemoteChangesetByStateCache':_0x9709de=>this[_0x518244(0x1fe)]['transformRemoteChangeset'](_0x9709de)};_0x541575[_0x518244(0x1c3)](_0x35766d);}}));}};_0x4f0beb=_0x308d59([_0x6fe252(0x0,_0x4f68b5[_0x1db088(0x40b)](_0x5ab0ee[_0x1db088(0x291)])),_0x6fe252(0x1,_0x4f68b5[_0x1db088(0x40b)](_0xbd5b69['CollaborationController'])),_0x6fe252(0x2,_0x4f68b5[_0x1db088(0x40b)](_0x31312d)),_0x6fe252(0x3,_0x4f68b5[_0x1db088(0x40b)](_0x499b43)),_0x6fe252(0x4,_0x4f68b5[_0x1db088(0x40b)](_0xeca411)),_0x6fe252(0x5,_0x4f68b5[_0x1db088(0x40b)](_0x361087)),_0x6fe252(0x6,_0x30746c[_0x1db088(0x227)]),_0x6fe252(0x7,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5['LocaleService']))],_0x4f0beb);var _0x1e7415=Object['getOwnPropertyDescriptor'],_0xa7df46=(_0x1cea7f,_0x371b3b,_0xf6ca39,_0x47d223)=>{for(var _0x57928c=_0x47d223>0x1?void 0x0:_0x47d223?_0x1e7415(_0x371b3b,_0xf6ca39):_0x371b3b,_0xda106f=_0x1cea7f['length']-0x1,_0x406a80;_0xda106f>=0x0;_0xda106f--)(_0x406a80=_0x1cea7f[_0xda106f])&&(_0x57928c=_0x406a80(_0x57928c)||_0x57928c);return _0x57928c;},_0x37dd57=(_0x4bdff4,_0x41e432)=>(_0x5a50bf,_0x4b8fe0)=>_0x41e432(_0x5a50bf,_0x4b8fe0,_0x4bdff4);let _0x3074bf=class extends _0x4f68b5[_0x1db088(0x3e3)]{constructor(_0x5c9293,_0x27986e,_0x27090f){const _0x49db0c=_0x1db088;super(),_0x50d51d(this,_0x49db0c(0x234),new Map()),_0x50d51d(this,'_saveTaskMap',new Map()),_0x50d51d(this,_0x49db0c(0x2c9),!0x1),(this[_0x49db0c(0x31e)]=_0x5c9293,this[_0x49db0c(0x1dc)]=_0x27986e,this[_0x49db0c(0x2f3)]=_0x27090f);}[_0x1db088(0x439)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x2c6e4e=_0x1db088;this[_0x2c6e4e(0x2c9)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x1db088(0x29c)](){const _0xb5166c=_0x1db088;this[_0xb5166c(0x266)]()[_0xb5166c(0x406)](()=>super[_0xb5166c(0x29c)]());}async[_0x1db088(0x2ed)](_0x3e5fea){const _0x4a33c0=_0x1db088;return this[_0x4a33c0(0x2c9)]?null:this['_localStorageService'][_0x4a33c0(0x44f)](_0xbd5b69['getLocalCacheKey'](_0x3e5fea));}async['saveOfflineData'](_0x16227e,_0x3c8792){const _0x31bf28=_0x1db088;return!!this['_localStorageService'][_0x31bf28(0x378)](_0x16227e,_0x3c8792);}[_0x1db088(0x3a9)](_0x94881,_0x1160a5,_0x20cbe6,_0x43da31){const _0xdf25a6=_0x1db088,_0x22d420=this['_revisionService'][_0xdf25a6(0x287)](_0x94881);this[_0xdf25a6(0x234)][_0xdf25a6(0x3f6)](_0x94881,{'unitID':_0x94881,'type':_0x1160a5,'awaitingChangeset':_0x20cbe6,'mutations':_0x43da31,'rev':_0x22d420}),this[_0xdf25a6(0x361)][_0xdf25a6(0x31f)](_0x94881)||this[_0xdf25a6(0x3bb)](_0x94881);}['_scheduleSaving'](_0x3ac1ab){const _0x2a9fc1=_0x1db088,_0x168e04=this[_0x2a9fc1(0x27a)]();_0x168e04===0x0?this[_0x2a9fc1(0x328)](_0x3ac1ab):this['_saveTaskMap'][_0x2a9fc1(0x3f6)](_0x3ac1ab,setTimeout(()=>this['_saveCache'](_0x3ac1ab),_0x168e04));}['_getSaveTimeout'](){const _0x279a27=_0x1db088;var _0x19c3d4;return(_0x19c3d4=this[_0x279a27(0x31e)][_0x279a27(0x40c)](_0xbd5b69[_0x279a27(0x3b3)]))!=null?_0x19c3d4:_0xbd5b69[_0x279a27(0x2a8)];}[_0x1db088(0x328)](_0x2c37c4){const _0xbad290=_0x1db088,_0x644216=this['_saveTaskMap'][_0xbad290(0x38a)](_0x2c37c4);return _0x644216!==void 0x0&&window[_0xbad290(0x35d)](_0x644216),this['_localStorageService']['setItem'](_0xbd5b69[_0xbad290(0x3b9)](_0x2c37c4),this[_0xbad290(0x234)][_0xbad290(0x38a)](_0x2c37c4))[_0xbad290(0x406)](()=>this[_0xbad290(0x361)]['delete'](_0x2c37c4));}async['exhaustSavingTask'](){const _0x5831c6=_0x1db088,_0x1a6fcc=[];this[_0x5831c6(0x361)][_0x5831c6(0x2c6)]((_0x2cae51,_0x539145)=>{const _0xdfbaf7=_0x5831c6;window[_0xdfbaf7(0x35d)](_0x2cae51),_0x1a6fcc[_0xdfbaf7(0x2c5)](this['_saveCache'](_0x539145)[_0xdfbaf7(0x406)](()=>{const _0x391ca4=_0xdfbaf7;this[_0x391ca4(0x361)]['delete'](_0x539145);}));}),await Promise['all'](_0x1a6fcc);}};_0x3074bf=_0xa7df46([_0x37dd57(0x0,_0x4f68b5[_0x1db088(0x379)]),_0x37dd57(0x1,_0x4f68b5[_0x1db088(0x43f)]),_0x37dd57(0x2,_0x4f68b5['Inject'](_0x51374a[_0x1db088(0x3d2)]))],_0x3074bf);class _0xb3d70d extends _0x4f68b5[_0x1db088(0x386)]{constructor(){const _0x5d6d71=_0x1db088;super(),_0x50d51d(this,'urlChange$'),this[_0x5d6d71(0x40d)]=_0xddf3a0[_0x5d6d71(0x296)](window,'popstate')[_0x5d6d71(0x405)](_0xddf3a0[_0x5d6d71(0x447)](this['dispose$']),_0xddf3a0['shareReplay'](0x1),_0xddf3a0[_0x5d6d71(0x368)](void 0x0));}[_0x1db088(0x1ee)](_0x1e13e8,_0x21c895,_0x424380=!0x1){const _0x1d4cf7=_0x1db088,_0x50f640=new URL(window[_0x1d4cf7(0x267)]['href']);_0x50f640[_0x1d4cf7(0x33b)][_0x1d4cf7(0x3f6)](_0x1e13e8,_0x21c895),_0x424380?window[_0x1d4cf7(0x2d2)][_0x1d4cf7(0x1fd)]('','',_0x50f640['toString']()):window[_0x1d4cf7(0x2d2)][_0x1d4cf7(0x1d0)]('','',_0x50f640[_0x1d4cf7(0x3d1)]());}[_0x1db088(0x2e3)](_0x3fa0b1,_0x3d063c=!0x1){const _0x5b9d57=_0x1db088,_0x299bfc=new URL(window[_0x5b9d57(0x267)][_0x5b9d57(0x2fd)]);_0x299bfc[_0x5b9d57(0x33b)][_0x5b9d57(0x22d)](_0x3fa0b1),_0x3d063c?window[_0x5b9d57(0x2d2)]['replaceState']('','',_0x299bfc[_0x5b9d57(0x3d1)]()):window[_0x5b9d57(0x2d2)][_0x5b9d57(0x1d0)]('','',_0x299bfc[_0x5b9d57(0x3d1)]());}[_0x1db088(0x27c)](_0x59ea9c){const _0x3c0dc9=_0x1db088;var _0x1937d5;return(_0x1937d5=new URL(window[_0x3c0dc9(0x267)][_0x3c0dc9(0x2fd)])[_0x3c0dc9(0x33b)][_0x3c0dc9(0x38a)](_0x59ea9c))!=null?_0x1937d5:void 0x0;}}var _0xa0bb7f=Object['defineProperty'],_0x4b99ee=Object[_0x1db088(0x3ac)],_0x220cf8=(_0x1a25eb,_0x2b2a73,_0x4bb789)=>_0x2b2a73 in _0x1a25eb?_0xa0bb7f(_0x1a25eb,_0x2b2a73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bb789}):_0x1a25eb[_0x2b2a73]=_0x4bb789,_0x5cc3a0=(_0x1738fa,_0x1a62c1,_0x20d614,_0x15990d)=>{const _0x5d8e93=_0x1db088;for(var _0x12854e=_0x15990d>0x1?void 0x0:_0x15990d?_0x4b99ee(_0x1a62c1,_0x20d614):_0x1a62c1,_0xd5548e=_0x1738fa[_0x5d8e93(0x301)]-0x1,_0x4a5b76;_0xd5548e>=0x0;_0xd5548e--)(_0x4a5b76=_0x1738fa[_0xd5548e])&&(_0x12854e=_0x4a5b76(_0x12854e)||_0x12854e);return _0x12854e;},_0x5d6819=(_0x4d5dd8,_0x2e9cf8)=>(_0x532012,_0x12d55c)=>_0x2e9cf8(_0x532012,_0x12d55c,_0x4d5dd8),_0x2871b9=(_0x3348c0,_0x1f4b5b,_0x57fcb8)=>_0x220cf8(_0x3348c0,_0x1f4b5b+'',_0x57fcb8);const _0x532137=_0x1db088(0x1bc);_0x1fcb7c[_0x1db088(0x31b)]=class extends _0x4f68b5[_0x1db088(0x294)]{constructor(_0x167c14=_0x45e6e4,_0x5cbcab,_0x3d3ab7,_0x5bdfc9){const _0x4b7843=_0x1db088;super(),this[_0x4b7843(0x2af)]=_0x167c14,this[_0x4b7843(0x285)]=_0x5cbcab,this[_0x4b7843(0x3bd)]=_0x3d3ab7,this[_0x4b7843(0x31e)]=_0x5bdfc9;const {..._0x619314}=_0x4f68b5[_0x4b7843(0x26c)]({},_0x45e6e4,this[_0x4b7843(0x2af)]);this[_0x4b7843(0x31e)][_0x4b7843(0x2e6)](_0x4240ed,_0x619314);}['onStarting'](){const _0x5c6911=_0x1db088;this[_0x5c6911(0x25c)](),this['_initDependencies']();}['onRendered'](){const _0xbdb149=_0x1db088;this[_0xbdb149(0x224)]();}['_registerDependencies'](){const _0x454308=_0x1db088;var _0x111155;const _0x32843c=[[_0x551d66],[_0xeca411],[_0x31312d],[_0x499b43],[_0x361087],[_0x441a98,{'useClass':_0xb3d70d}],[_0xf95921[_0x454308(0x27b)],{'useClass':_0xf95921['WebSocketService']}],[_0xbd5b69['ILocalCacheService'],{'useClass':_0x3074bf}],[_0x1fcb7c[_0x454308(0x2e0)]],[_0x4f0beb],[_0x251a99],[_0x3f7994],[_0x355c93],[_0x1fcb7c['CollaborationDataLoaderController']]];_0x4f68b5[_0x454308(0x1cb)](this[_0x454308(0x3bd)],_0x4f68b5[_0x454308(0x23b)](_0x32843c,(_0x111155=this[_0x454308(0x2af)])==null?void 0x0:_0x111155[_0x454308(0x304)]));}['_registerRenderDependencies'](){const _0x546ba7=_0x1db088;this['disposeWithMe'](this[_0x546ba7(0x285)][_0x546ba7(0x3ed)](_0x4f68b5[_0x546ba7(0x217)]['UNIVER_DOC'],[_0x13697a])),this[_0x546ba7(0x26f)](this[_0x546ba7(0x285)][_0x546ba7(0x3ed)](_0x4f68b5['UniverInstanceType'][_0x546ba7(0x30a)],[_0x70a592]));}[_0x1db088(0x2b6)](){const _0x20297c=_0x1db088;_0x4f68b5['touchDependencies'](this[_0x20297c(0x3bd)],[[_0x3f7994],[_0x1fcb7c[_0x20297c(0x2e0)]],[_0x4f0beb],[_0x251a99],[_0x1fcb7c[_0x20297c(0x299)]]]);}},_0x2871b9(_0x1fcb7c[_0x1db088(0x31b)],_0x1db088(0x2f7),_0x532137),_0x1fcb7c[_0x1db088(0x31b)]=_0x5cc3a0([_0x4f68b5[_0x1db088(0x32c)](_0xbd5b69[_0x1db088(0x3d4)]),_0x5d6819(0x1,_0x18a418[_0x1db088(0x404)]),_0x5d6819(0x2,_0x4f68b5['Inject'](_0x4f68b5['Injector'])),_0x5d6819(0x3,_0x4f68b5[_0x1db088(0x379)])],_0x1fcb7c['UniverCollaborationClientUIPlugin']);var _0x2524ec=Object['getOwnPropertyDescriptor'],_0x2a2eb4=(_0x14c877,_0x48a199,_0x14dad4,_0x194552)=>{const _0x299fe4=_0x1db088;for(var _0x575026=_0x194552>0x1?void 0x0:_0x194552?_0x2524ec(_0x48a199,_0x14dad4):_0x48a199,_0x13670a=_0x14c877[_0x299fe4(0x301)]-0x1,_0x3f3333;_0x13670a>=0x0;_0x13670a--)(_0x3f3333=_0x14c877[_0x13670a])&&(_0x575026=_0x3f3333(_0x575026)||_0x575026);return _0x575026;},_0x28c8fd=(_0x3d1c7c,_0x2c6fdf)=>(_0x3e9149,_0x18945c)=>_0x2c6fdf(_0x3e9149,_0x18945c,_0x3d1c7c);_0x1fcb7c[_0x1db088(0x36b)]=class extends _0xbd5b69[_0x1db088(0x2d5)]{constructor(_0x496e37,_0x4f49ef,_0x167cf8,_0x53672c,_0x3fd037){super(_0x496e37,_0x4f49ef,_0x167cf8,_0x53672c,_0x3fd037);}async[_0x1db088(0x260)](_0x31fd6d){const _0x3fc17a=_0x1db088,_0x195598=await this['_getSessionTicket'](),_0x17ad95=this[_0x3fc17a(0x451)](_0x31fd6d,_0x195598);return this[_0x3fc17a(0x292)](_0x17ad95);}[_0x1db088(0x451)](_0x9c7981,_0x1033bd){const _0x375e83=_0x1db088,_0x4d197a=typeof window>'u'?new URL(_0x9c7981):new URL(_0x9c7981,window[_0x375e83(0x267)][_0x375e83(0x2cc)]);_0x4d197a[_0x375e83(0x33b)][_0x375e83(0x3f6)]('sessionTicket',_0x1033bd);const _0x395748=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x395748[_0x375e83(0x38a)]('runId')&&_0x4d197a[_0x375e83(0x33b)]['set'](_0x375e83(0x3d8),_0x395748['get'](_0x375e83(0x3d8))),_0x4d197a[_0x375e83(0x3d1)]();}async[_0x1db088(0x259)](){const _0x513460=_0x1db088;var _0x210f54,_0x4eabf3,_0x28c2e3;const _0x9267d7=this[_0x513460(0x31e)]['getConfig'](_0xbd5b69[_0x513460(0x3e0)]),_0x51a1b4=(_0x210f54=_0x9267d7==null?void 0x0:_0x9267d7[_0x513460(0x3f4)])!=null?_0x210f54:_0xbd5b69['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x28c2e3=(_0x4eabf3=(await this[_0x513460(0x269)][_0x513460(0x38a)](_0x51a1b4,{'headers':{'Content-Type':_0x513460(0x3fb)}}))['body'])==null?void 0x0:_0x4eabf3[_0x513460(0x257)])!=null?_0x28c2e3:'';}},_0x1fcb7c[_0x1db088(0x36b)]=_0x2a2eb4([_0x28c8fd(0x0,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x22e)])),_0x28c8fd(0x1,_0x4f68b5[_0x1db088(0x40b)](_0xf95921['HTTPService'])),_0x28c8fd(0x2,_0x4f68b5[_0x1db088(0x379)]),_0x28c8fd(0x3,_0x4f68b5[_0x1db088(0x2ac)]),_0x28c8fd(0x4,_0x51374a[_0x1db088(0x383)])],_0x1fcb7c[_0x1db088(0x36b)]);const _0xddce90=0x7530,_0xf8f2eb='ACTIVE_UNIT_EVENT_CHANNEL';class _0x5a1cc6 extends _0x4f68b5[_0x1db088(0x3e3)]{constructor(){const _0x56d5e8=_0x1db088;super(),_0x50d51d(this,_0x56d5e8(0x41c),_0x4f68b5[_0x56d5e8(0x36d)]()),_0x50d51d(this,_0x56d5e8(0x2b5),new Set()),_0x50d51d(this,_0x56d5e8(0x312),new Map()),_0x50d51d(this,_0x56d5e8(0x29f),null),_0x50d51d(this,'_clearOtherTimers',new Map()),_0x50d51d(this,'_unitStatus',new Map()),this[_0x56d5e8(0x450)]();}[_0x1db088(0x29c)](){const _0x4ed344=_0x1db088;super[_0x4ed344(0x29c)](),this[_0x4ed344(0x36a)][_0x4ed344(0x2c6)]((_0x2fabf1,_0x106c28)=>this[_0x4ed344(0x2c8)](_0x106c28)),this[_0x4ed344(0x29f)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x1db088(0x23e)](_0xc2b42a){const _0x2a78fa=_0x1db088;return this[_0x2a78fa(0x338)](_0xc2b42a)[_0x2a78fa(0x405)](_0xddf3a0[_0x2a78fa(0x362)]());}[_0x1db088(0x212)](_0x16cd56){const _0xa7d46b=_0x1db088;this[_0xa7d46b(0x2b5)][_0xa7d46b(0x2a9)]===0x0&&this[_0xa7d46b(0x282)](),this[_0xa7d46b(0x2b5)]['add'](_0x16cd56),this[_0xa7d46b(0x329)]({'type':0x0,'memberID':this[_0xa7d46b(0x41c)],'unitIDs':[_0x16cd56],'isForwarded':!0x1});}[_0x1db088(0x3ad)](_0xa4ce17){const _0x260366=_0x1db088;this['_selfUnitIDs'][_0x260366(0x22d)](_0xa4ce17),this[_0x260366(0x2b5)]['size']===0x0&&this[_0x260366(0x29f)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x1db088(0x450)](){const _0x1df487=_0x1db088;this[_0x1df487(0x26f)](_0x4f68b5[_0x1df487(0x42e)](_0xddf3a0[_0x1df487(0x296)](window,_0x1df487(0x25b))[_0x1df487(0x333)](_0x14eb7f=>{const _0x51fc14=_0x1df487;if(_0x14eb7f['key']!==_0xf8f2eb||!_0x14eb7f[_0x51fc14(0x3c1)])return;const _0x21158e=JSON[_0x51fc14(0x387)](_0x14eb7f[_0x51fc14(0x3c1)]);this['_handleEvent'](_0x21158e);}))),window['addEventListener'](_0x1df487(0x39d),()=>this[_0x1df487(0x329)]({'type':0x1,'memberID':this[_0x1df487(0x41c)],'unitIDs':Array[_0x1df487(0x211)](this[_0x1df487(0x2b5)])}));}[_0x1db088(0x3ef)](_0x6227c5){const _0x59eeff=_0x1db088;switch(_0x6227c5[_0x59eeff(0x432)]){case 0x0:this[_0x59eeff(0x331)](_0x6227c5);break;case 0x1:this['_handleLeaveEvent'](_0x6227c5);break;case 0x2:this[_0x59eeff(0x1cc)](_0x6227c5);break;}}[_0x1db088(0x331)](_0x3a8508){const _0x19250b=_0x1db088,{unitIDs:_0x3c8470,memberID:_0x3a4482,isForwarded:_0x415ece}=_0x3a8508;_0x3c8470[_0x19250b(0x2c6)](_0x40e53c=>{const _0x25af25=_0x19250b;if(!_0x415ece&&this['_unitOnClients'][_0x25af25(0x31f)](_0x40e53c)&&this[_0x25af25(0x338)](_0x40e53c)[_0x25af25(0x431)](_0xbd5b69[_0x25af25(0x38b)][_0x25af25(0x2b1)]),!this[_0x25af25(0x312)][_0x25af25(0x31f)](_0x40e53c)||!this['_unitOnClients'][_0x25af25(0x38a)](_0x40e53c)['has'](_0x3a4482)){const _0x227866=this[_0x25af25(0x312)][_0x25af25(0x38a)](_0x40e53c)||new Set();_0x227866[_0x25af25(0x31a)](_0x3a4482),this[_0x25af25(0x312)][_0x25af25(0x3f6)](_0x40e53c,_0x227866),this[_0x25af25(0x2c2)](_0x3a4482);}}),_0x415ece||this[_0x19250b(0x329)]({'type':0x0,'memberID':this[_0x19250b(0x41c)],'unitIDs':[...this[_0x19250b(0x2b5)]],'isForwarded':!0x0});}[_0x1db088(0x2c2)](_0x346e76){const _0xcc4c76=_0x1db088;this['_removeClearOtherTimer'](_0x346e76);const _0x589964=window[_0xcc4c76(0x225)](()=>{const _0xb767c=_0xcc4c76;this[_0xb767c(0x312)][_0xb767c(0x2c6)](_0x387f45=>{const _0x52ff0c=_0xb767c;_0x387f45[_0x52ff0c(0x22d)](_0x346e76);});},_0xddce90*0x2);this['_clearOtherTimers'][_0xcc4c76(0x3f6)](_0x346e76,_0x589964);}[_0x1db088(0x2c8)](_0x560731){const _0x22afca=_0x1db088;if(this['_clearOtherTimers'][_0x22afca(0x31f)](_0x560731)){const _0x3d75f6=this[_0x22afca(0x36a)][_0x22afca(0x38a)](_0x560731);_0x3d75f6&&window[_0x22afca(0x35d)](_0x3d75f6),this['_clearOtherTimers'][_0x22afca(0x3f6)](_0x560731,null);}}['_handleLeaveEvent'](_0x485fb9){const _0xde14cd=_0x1db088,{memberID:_0x21ea8a,unitIDs:_0x105bc8}=_0x485fb9;_0x105bc8['forEach'](_0x3ea98e=>{const _0x2d05bf=_0x57d8;var _0x510b4f;const _0x4c98fc=this['_unitOnClients'][_0x2d05bf(0x38a)](_0x3ea98e);_0x4c98fc&&(_0x4c98fc['delete'](_0x21ea8a),(_0x510b4f=this[_0x2d05bf(0x338)](_0x3ea98e))==null||_0x510b4f['next'](_0x4c98fc[_0x2d05bf(0x2a9)]===0x0?_0xbd5b69[_0x2d05bf(0x38b)][_0x2d05bf(0x320)]:_0xbd5b69[_0x2d05bf(0x38b)]['OTHER_CLIENTS_EDITING']));}),this[_0xde14cd(0x2c8)](_0x21ea8a);}[_0x1db088(0x1cc)](_0x32f704){const _0x2bfeaf=_0x1db088;this[_0x2bfeaf(0x2c2)](_0x32f704['memberID']);}[_0x1db088(0x329)](_0x599980){const _0x2417c8=_0x1db088;localStorage[_0x2417c8(0x378)](_0xf8f2eb,JSON[_0x2417c8(0x3d3)](_0x599980));}[_0x1db088(0x282)](){const _0x1b82a9=_0x1db088;this['_heartbeatTimer']=window[_0x1b82a9(0x389)](()=>{const _0x16c7f0=_0x1b82a9;this['_send']({'type':0x2,'memberID':this[_0x16c7f0(0x41c)]});},_0xddce90);}[_0x1db088(0x338)](_0xbfd427){const _0xaeabdc=_0x1db088;return this[_0xaeabdc(0x213)]['has'](_0xbfd427)||this[_0xaeabdc(0x213)][_0xaeabdc(0x3f6)](_0xbfd427,new _0xddf3a0[(_0xaeabdc(0x279))](_0xbd5b69[_0xaeabdc(0x38b)][_0xaeabdc(0x320)])),this[_0xaeabdc(0x213)][_0xaeabdc(0x38a)](_0xbfd427);}}var _0x5c216c=(_0x54d68e=>(_0x54d68e[_0x54d68e[_0x1db088(0x235)]=0x0]=_0x1db088(0x235),_0x54d68e[_0x54d68e['OK']=0x1]='OK',_0x54d68e[_0x54d68e[_0x1db088(0x43e)]=0x2]=_0x1db088(0x43e),_0x54d68e[_0x54d68e[_0x1db088(0x42d)]=0x3]=_0x1db088(0x42d),_0x54d68e[_0x54d68e[_0x1db088(0x428)]=0x4]=_0x1db088(0x428),_0x54d68e[_0x54d68e[_0x1db088(0x34f)]=0x5]=_0x1db088(0x34f),_0x54d68e[_0x54d68e['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x54d68e[_0x54d68e['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x54d68e[_0x54d68e['TOO_MANY_REQUESTS']=0x8]=_0x1db088(0x2e1),_0x54d68e[_0x54d68e[_0x1db088(0x2fa)]=0x9]=_0x1db088(0x2fa),_0x54d68e[_0x54d68e[_0x1db088(0x2cf)]=0xa]='LOGIN_FAILED',_0x54d68e[_0x54d68e[_0x1db088(0x1f5)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x54d68e[_0x54d68e[_0x1db088(0x251)]=0xc]=_0x1db088(0x251),_0x54d68e[_0x54d68e[_0x1db088(0x2b2)]=0xd]=_0x1db088(0x2b2),_0x54d68e[_0x54d68e['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x1db088(0x228),_0x54d68e[_0x54d68e[_0x1db088(0x22f)]=0x1389]=_0x1db088(0x22f),_0x54d68e[_0x54d68e[_0x1db088(0x2c3)]=0x1771]=_0x1db088(0x2c3),_0x54d68e[_0x54d68e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x54d68e[_0x54d68e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1db088(0x44b),_0x54d68e[_0x54d68e['APPLY_REJECT']=0x1b59]=_0x1db088(0x3f0),_0x54d68e[_0x54d68e[_0x1db088(0x429)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x54d68e[_0x54d68e[_0x1db088(0x397)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x54d68e[_0x54d68e[_0x1db088(0x339)]=0x1b5c]=_0x1db088(0x339),_0x54d68e[_0x54d68e[_0x1db088(0x424)]=0x1b5d]='APPLY_DUPLICATED',_0x54d68e[_0x54d68e[_0x1db088(0x243)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x54d68e[_0x54d68e['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x54d68e[_0x54d68e[_0x1db088(0x3c0)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x54d68e[_0x54d68e[_0x1db088(0x2aa)]=0x232b]=_0x1db088(0x2aa),_0x54d68e[_0x54d68e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x54d68e[_0x54d68e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1db088(0x1ea),_0x54d68e[_0x54d68e[_0x1db088(0x24d)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x54d68e[_0x54d68e[_0x1db088(0x396)]=0x2712]=_0x1db088(0x396),_0x54d68e[_0x54d68e[_0x1db088(0x3d6)]=0x2713]=_0x1db088(0x3d6),_0x54d68e[_0x54d68e[_0x1db088(0x21b)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x54d68e[_0x54d68e[_0x1db088(0x453)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x54d68e[_0x54d68e[_0x1db088(0x369)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x54d68e[_0x54d68e[_0x1db088(0x41a)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x54d68e[_0x54d68e[_0x1db088(0x2a7)]=0x271d]=_0x1db088(0x2a7),_0x54d68e[_0x54d68e['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1db088(0x443),_0x54d68e[_0x54d68e['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x54d68e[_0x54d68e[_0x1db088(0x1f7)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x54d68e[_0x54d68e[_0x1db088(0x392)]=0x2af9]=_0x1db088(0x392),_0x54d68e[_0x54d68e[_0x1db088(0x202)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x54d68e[_0x54d68e[_0x1db088(0x44c)]=0x2ee2]=_0x1db088(0x44c),_0x54d68e[_0x54d68e['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x54d68e[_0x54d68e[_0x1db088(0x21f)]=0x2ee4]=_0x1db088(0x21f),_0x54d68e[_0x54d68e[_0x1db088(0x1ef)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x54d68e[_0x54d68e[_0x1db088(0x442)]=0x32c9]=_0x1db088(0x442),_0x54d68e[_0x54d68e[_0x1db088(0x221)]=0x32ca]=_0x1db088(0x221),_0x54d68e[_0x54d68e[_0x1db088(0x365)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x54d68e[_0x54d68e[_0x1db088(0x3fa)]=-0x1]=_0x1db088(0x3fa),_0x54d68e))(_0x5c216c||{}),_0xc06754=Object[_0x1db088(0x3ac)],_0xb2fd5a=(_0x42beca,_0x594e75,_0x48d6de,_0x430f16)=>{for(var _0x2b7692=_0x430f16>0x1?void 0x0:_0x430f16?_0xc06754(_0x594e75,_0x48d6de):_0x594e75,_0x24c08f=_0x42beca['length']-0x1,_0x2ab346;_0x24c08f>=0x0;_0x24c08f--)(_0x2ab346=_0x42beca[_0x24c08f])&&(_0x2b7692=_0x2ab346(_0x2b7692)||_0x2b7692);return _0x2b7692;},_0x1e5c9e=(_0x189169,_0x5f04c3)=>(_0x4f4a34,_0x23949b)=>_0x5f04c3(_0x4f4a34,_0x23949b,_0x189169);_0x1fcb7c[_0x1db088(0x414)]=class extends _0x4f68b5[_0x1db088(0x3e3)]{constructor(_0x5b5de2,_0x1d2e0d,_0x10bbcf){const _0x11e4b6=_0x1db088;super(),this[_0x11e4b6(0x43c)]=_0x5b5de2,this[_0x11e4b6(0x269)]=_0x1d2e0d,this[_0x11e4b6(0x31e)]=_0x10bbcf;}async[_0x1db088(0x367)](_0x3f5012,_0x537f2e,_0x1d41fc,..._0x5e26e9){const _0x533db5=_0x1db088;var _0x11e765,_0x34c916,_0x206e77,_0x402bb2;const _0x2771a7=this[_0x533db5(0x43c)]['getFocusedUnit']();if(!_0x2771a7)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x50c3d7=((_0x11e765=this[_0x533db5(0x31e)][_0x533db5(0x40c)](_0xbd5b69[_0x533db5(0x2d9)]))!=null?_0x11e765:_0xbd5b69[_0x533db5(0x2d6)])+'/'+_0x3f5012+_0x533db5(0x1df)+_0x537f2e,_0x3db3c3=new URL(window['location'][_0x533db5(0x2fd)]),_0x3c95d8={'scriptId':_0x3f5012,'runId':(_0x34c916=_0x3db3c3[_0x533db5(0x33b)][_0x533db5(0x38a)]('runId'))!=null?_0x34c916:'','function':_0x537f2e,'unitId':_0x2771a7['getUnitId'](),'argsOfFunction':JSON[_0x533db5(0x3d3)](_0x5e26e9),'invokeId':(_0x206e77=_0x1d41fc[_0x533db5(0x307)])!=null?_0x206e77:'','executionId':(_0x402bb2=_0x1d41fc[_0x533db5(0x3c4)])!=null?_0x402bb2:''};try{const _0x11f2b7=await this[_0x533db5(0x269)]['post'](_0x50c3d7,{'body':_0x3c95d8});return _0x11f2b7[_0x533db5(0x263)][_0x533db5(0x317)]&&_0x11f2b7[_0x533db5(0x263)]['error'][_0x533db5(0x3b0)]!==_0x5c216c['OK']?'Failed':_0x11f2b7[_0x533db5(0x263)]['result'];}catch{return _0x533db5(0x1d1);}}},_0x1fcb7c[_0x1db088(0x414)]=_0xb2fd5a([_0x1e5c9e(0x0,_0x4f68b5[_0x1db088(0x25a)]),_0x1e5c9e(0x1,_0x4f68b5[_0x1db088(0x40b)](_0xf95921[_0x1db088(0x454)])),_0x1e5c9e(0x2,_0x4f68b5[_0x1db088(0x379)])],_0x1fcb7c[_0x1db088(0x414)]),_0x1fcb7c[_0x1db088(0x358)]=_0x1bfe2d,_0x1fcb7c[_0x1db088(0x2a6)]=_0x441a98,_0x1fcb7c[_0x1db088(0x2d8)]=_0x3c3b43,_0x1fcb7c['WebBrowserSingleActiveUnitService']=_0x5a1cc6,_0x1fcb7c[_0x1db088(0x373)]=_0xb3d70d,Object[_0x1db088(0x30d)](_0x1fcb7c,Symbol[_0x1db088(0x380)],{'value':'Module'});}));function _0x57d8(_0x12bf34,_0x2d50b6){const _0x275b62=_0x275b();return _0x57d8=function(_0x57d814,_0x3a9fff){_0x57d814=_0x57d814-0x1bc;let _0x28d156=_0x275b62[_0x57d814];return _0x28d156;},_0x57d8(_0x12bf34,_0x2d50b6);}function _0x275b(){const _0x45b47a=['_initResize','assign','svg','UniverUi','apply','unsubscribe','engine','_toggleOnline','black','updateOfflineData','@univerjs/sheets','useCallback','getOwnPropertyDescriptor','disposeUnit','collaboration-client-ui.config','_cursorInfo$','code','RichTextEditingMutation','getCollabEntity$','LOCAL_CACHE_INTERVAL_KEY','collabStatus.syncing','_render','_colorAssignService','@univerjs/docs','UniverDesign','getLocalCacheKey','_draw','_scheduleSaving','getOffsetConfig','_injector','_range','_localCacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','newValue','white','0\x200\x2017\x2016','executionId','transformMutationsWithChangeset','@univerjs/design','103724PeQFIc','COLORS','getStateCache','activeSheet$','combineLatest','prototype','55451SsZuuZ','font','getViewport','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','toString','RevisionService','stringify','UniverCollaborationClientPlugin','currentSkeleton$','YUUMI_RATE_OVER_LIMIT','height','runId','@univerjs/engine-formula','transformByState','isTransformMutationFailure','getDocRanges','FromArray','handleInsertCol','SHEET_VIEWPORT_KEY','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','on-line-icon','redoState','Disposable','SetSelectionsOperation','session.collaboration-timeout','subUnitId','currentColor','MemberService','_drawTextRange','getCellPositionByOffset','clipPath','getUnhiddenWorksheets','registerRenderModule','3785pPRMsw','_handleEvent','APPLY_REJECT','drawWith','RefRangeService','requireSession','wsSessionTicketUrl','collabStatus.notCollab','set','_hideTimer','_logService','find','UNRECOGNIZED','application/json','startColumn','_hover','RECT','http://www.w3.org/2000/svg','bottom','AWAITING','permission.title','uni.network.url-service','IRenderManagerService','pipe','then','_initCommandExecutedListener','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/drawing','reconnect','Inject','getConfig','urlChange$','getOwnPropertySymbols','setUndoRedoMutationParamsCache','CollaborationController','createIdentifier','asObservable','2180205CVPnHI','RemoteUniscriptService','_cursor','red.300','_initEvent','SOCKET_FAILED','off-line-icon','YUUMI_TABLE_NOT_FOUND_IN_UNIT','div','_id','onLocalMutation','debounce','getCurrentUnitForType','SetDocZoomRatioOperation','OFFLINE','fillRule','getCollabCursors$','APPLY_DUPLICATED','collab-rect-range-','_drawAnchor','_collabCursorState$','NOT_FOUND','APPLY_NON_SEQUENTIAL_REVISION','collabStatus.synced','FETCH_MISS','defs','PERMISSION_DENIED','toDisposable','_univerInstanceService','entries','next','type','_collaborationController','React','permission.content','collab-text-range-','fill','@univerjs/engine-render','disableLocalCache','getRenderById','serializeRangeWithSheet','_instanceService','throttleTime','INTERNAL_ERROR','ILocalStorageService','MoveRangeCommandId','M0\x200H16V16H0z','WECHAT_HAS_BEEN_BOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','useRef','rxjs','_onCursorDelete','takeUntil','_docClipboardService','range','max','ENSURE_SNAPSHOT_EXECUTION','INVALID_INVITE_CODE','getTypeOfUnitDisposed$','react','getItem','_init','_createSocketURL','ranges','YUUMI_NO_CUBOID_FOR_QUESTION','HTTPService','_onCursorUpdate','setShapeProps','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','RegularPolygon','UniverProCollaboration','_onRefRangeChange','setAlpha','addObject','unshift','addHandlerCallback','ITransformService','call','Optional','UniverRpc','EffectRefRangId','UniverDrawing','sheetId','registerDependencies','_handleHeartbeatEvent','UPDATE_CURSOR','CONFLICT','translate(.97)','pushState','Failed','session.will-retry','dispose$','_transformService','currentTheme$','_dataLoaderService','_getMergeRange','OTHER_CLIENT_EDITING','className','resize','_updateLocalCursor','_localStorageService','NodePositionConvertToCursor','entityInit$','/run/','with','_entityInit$','ICommandService','_sheetSkeletonManagerService','SheetSkeletonManagerService','function','handleIRemoveCol','DocIMEInputManagerService','addClipboardHook','_name','LICENSE_DISTRO_REJECTED','labelPosition','path','#FFF','setParam','INVITE_CODE_ALREADY_BOUND','lineTo','selection','getCurrentSelections','_transformHistoryAndStateStack','605958VFaJoe','MOBILE_VERIFY_CODE_MISMATCH','forwardRef','YUUMI_CONNECTOR_URL_NOT_FOUND','_document','_startSheetCollabCursor','_updateSubUnitFromURLParams','handleInsertRow','_setupBeforeClosingHandler','replaceState','_docTransformStateCacheService','transformSelections','eventID','InsertColCommandId','INVITE_CODE_HAS_BEEN_UES','getActiveRange','Rect','getVpScrollXYInfoByPosToVp','split','_startDocCollabCursor','tag','_scene','[CollaborationDataLoaderController]','_docSkeleton','Unknown\x20user','Rectangle','_initEntityListener','startsWith','_cursors','from','editingUnit','_unitStatus','yellow.400','DocSelectionManagerService','off-line-icon_clip0_910_343','UniverInstanceType','mutations','DataLoaderService','top','YUUMI_SUBSCRIPTION_NOT_FOUND','isActive','getSheetObject','moveTo','USER_NOT_INVITED_CODE','findNodePositionByCharIndex','MOBILE_HAS_BEEN_BOUND','isArray','UniverEngineRender','_registerRenderDependencies','setTimeout','children','IMessageService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','223304gInwxO','debug','_refRangeService','onPointerEnter$','delete','Injector','CHANGESET_REVISION_CONFILICT','unit','row','_themeService','UniverSheetsUi','_cachedData','UNDEFINED','CollaborationUIEventId','attrs','UniverProCollaborationClient','init','arc','mergeOverrideWithDependencies','IDocClipboardService','@univerjs-pro/collaboration-client','getUnitStatus$','_cursorShapes','imageSourceType','handleIRemoveRow','current','CONNECTOR_DATA_TOO_LARGE','hasOwnProperty','_docTransformSelectionsService','getCoordByCell','DocCollaborationEntity','@univerjs/sheets-ui','some','cursorInfo','Shape','InsertRangeMoveRightCommandId','YUUMI_UNABLE_LOAD_URL','_assignedColors','getRangePointData','handleDeleteRangeMoveLeft','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collaborationUIEventService','addObjects','textRanges','restore','connectInjector','ticket','_getSheetObject','_getSessionTicket','IUniverInstanceService','storage','_registerDependencies','getUnitId','PENDING','CollaborationStatus','createSocket','_eventUnsubscribe','Vector2','body','_updateURLWithCurrentState','xlink:href','exhaustSavingTask','location','getSkeleton','_httpService','CommandType','none','merge','min','getUndoRedoMutationParamsCache','disposeWithMe','NodePositionConvertToRectRange','loadUnit','selections','collabStatus.conflict','CollaborationSessionService','transform','UniverDocs','toRgbString','632UijJXl','BehaviorSubject','_getSaveTimeout','ISocketService','getParam','beginPath','USERS_LEAVE','purple.300','roomMembers$','column','_scheduleHeartbeat','UniverDocsUi','getMember','_renderManagerService','_roomMembers$','getCurrentRevOfUnit','_beforeCloseService','isTransformMutationsWithChangesetSuccess','deepClone','_memberService','flatMap','TRANSFORM_CHANGE_OBSERVABLE_TYPE','actions','IUIPartsService','propertyIsEnumerable','DocStateChangeManagerService','_doCreateSocket','subscribeEvent','Plugin','_initStatusListener','fromEvent','createInstance','_handleHover','CollaborationDataLoaderController','map','values','dispose','color','univer-mr-2\x20univer-flex\x20univer-text-xl','_heartbeatTimer','_refreshCollabCursors','focused$','Workbook','on-line-icon_clip0_910_349','_labelPosition','_notificationService','IURLService','YUUMI_ALL_TABLES_IS_INVALID','LOCAL_CACHE_INTERVAL','size','LICENSE_IMPORT_SIZE_EXCEEDED','onCommandExecuted','ILogService','6aWwwRG','CLOSE_ROOM','_config','_updateCollabCursors','OTHER_CLIENTS_EDITING','EMAIL_VERIFY_CODE_MISMATCH','useObservable','syncEditingCollabCursor','_selfUnitIDs','_initDependencies','INotificationService','_docSkeletonManagerService','getSheetBySheetId','_colorIndex','send','SessionStatus','UniverNetwork','transformStateCache','DeleteRangeMoveLeftCommandId','VIEW_MAIN','TEXT','_scheduleClearOtherTimer','SNAPSHOT_INVALID_SNAPSHOT','backgroundColor','push','forEach','_transformUndoRedoStack','_removeClearOtherTimer','_disabled','getMemberID','cursorInfo$','origin','getActiveSheet','startRow','LOGIN_FAILED','fillStyle','displayName','history','SYNCED','name','CollaborationSocketService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','url(#on-line-icon_clip0_910_349)','SheetCollabCursorShape','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','extend','debounceTime','subunit','jsx','SUBMIT_CHANGESET_TIMEOUT','undoState','DesktopCollaborationStatusDisplayController','TOO_MANY_REQUESTS','_getScale','removeParam','isEditing','_commandService','setConfig','complete','text','idSuffix','_transformPreviousActiveRange','params','deserializeRangeWithSheet','loadOfflineData','IRemoteInstanceService','getSheetId','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','switchMap','_uiPartsService','_revisionService','hovered','substring','_shapes','pluginName','getMergeData','TEXT_RANGE_LAYER_INDEX','COMPLETION_FINISHED','_localeService','evenodd','href','IImageIoService','_messageService','unitId','length','saveImage','setActiveRange','override','0\x200\x2016\x2016','getColor','invokeId','string','measureText','UNIVER_SHEET','ColorKit','event$','defineProperty','includes','300MBlavp','getRelativeToViewportCoord','24hTogTn','_unitOnClients','endColumn','saveTaskMap','_entities','_imageIoService','error','useDependency','ILocalCacheService','add','UniverCollaborationClientUIPlugin','_docTransformIMECacheService','BuiltInUIPart','_configService','has','NO_OTHER_CLIENTS_EDITING','round','SOCKET_FAILED_RETRY','_syncEditingCollabCursorService','_docSyncEditingCollabCursorService','endRow','filter','registerRefRange','_saveCache','_send','getTypeOfUnitAdded$','_collabSessionService','DependentOn','Warning','getColorFromTheme','jsxs','data','_handleJoinEvent','_online','subscribe','replace','collabStatus.offline','doc.mutation.rich-text-editing','UniverIcon','_ensureSubject','APPLY_PERMISSION_DENIED','1em','searchParams','_urlService','ThemeService','_lastPointer','onTransformChange$','_textBubble','univerjs-icon\x20univerjs-icon-','...','indexOf','hide','createElement','m2Prime','getAncestorScale','collabCursorState$','onMouseMove','collaboration.closeRoom','UNIVER_DOC','unitID','symbol','_removeCollabCursors','UNAUTHENTICATED','_getAnchorBounding','sessionStatus$','contains','_toggleOffline','executeCommand','SetWorksheetActivateCommand','concat','m1Prime','CollaborationStatusDisplay','_collabCursorController','transformMutation','_color','MessageType','clearTimeout','_docStateChangeManagerService','SetTextSelectionsOperation','CollaborationEvent','_saveTaskMap','distinctUntilChanged','setStateCache','697998WxSKmP','EMAIL_HAS_BEEN_BOUND','show','runOnServer','mapTo','YUUMI_ASYNCIO_CANCELLED','_clearOtherTimers','BrowserCollaborationSocketService','getCurrent','generateRandomId','UniverSheets','_status$','IBeforeCloseService','exports','_anchorDot','WebURLService','handleInsertRangeMoveRight','assignAColorForMemberID','operators','NOT_COLLAB','setItem','IConfigService','AWAITING_WITH_PENDING','save','_session','transformRemoteChangeset','colorChannel1','icon','toStringTag','defIds','_context','ISnapshotServerService','DocSkeletonManagerService','_initStatusComponent','RxDisposable','parse','DOC_RANGE_TYPE','setInterval','get','UnitStatus','width','registerBeforeClose','getValue','_hovered','_anchor','Tools','PY_RUNTIME_SCRIPT_ERROR','ONLINE','Error','transformIMECache','YUUMI_URL_COL_OUT_OF_RANGE','APPLY_REVISION_CONFILICT','url(#$1','LocaleService','getFocusedUnit','onPointerLeave$','_backgroundColor','unload','runRefRangeMutations','10jYHyTa'];_0x275b=function(){return _0x45b47a;};return _0x275b();}
|