@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250428-2b6408c → 0.6.10-experimental.20250428-63779a3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1918(){const _0xfeb26f=['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationDataLoaderController','UniverNetwork','storage','ENSURE_SNAPSHOT_EXECUTION','setParam','_notificationService','...','ITransformService','replaceDocRanges','Optional','MessageType','1526656IYoZQe','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_updateLocalCursor','disableLocalCache','CollaborationUIEventId','textRanges','getActiveSheet','event$','getUndoRedoMutationParamsCache','_unitStatus','push','history','_startDocCollabCursor','AWAITING','collab-client.tooltip.reconnect','_unitOnClients','UniverEngineRender','WECHAT_HAS_BEEN_BOUND','session.connection-failed','Injector','collabStatus.notCollab','currentColor','EMAIL_HAS_BEEN_BOUND','getOwnPropertyDescriptor','_initEvent','3414303aFwmMG','location','CollaborationStatusDisplay','DocSkeletonManagerService','then','_docSkeletonManagerService','@univerjs/drawing','subscribeEvent','SYNCED','YUUMI_ASYNCIO_CANCELLED','isTransformMutationsWithChangesetSuccess','EffectRefRangId','closePath','imageSourceType','univer-flex\x20univer-mr-2\x20univer-text-[20px]','xlink:href','DocSelectionManagerService','@univerjs/core','replaceState','concat','_dataLoaderService','attrs','_localStorageService','UniverRpc','RemoteUniscriptService','WebURLService','IRemoteInstanceService','_imageIoService','_ensureSubject','_injector','UNAUTHENTICATED','onLocalMutation','undoState','Disposable','@univerjs/sheets','_selfUnitIDs','LICENSE_DISTRO_REJECTED','height','LOGIN_FAILED','mapTo','_render','restore','Plugin','icon','shareReplay','range','show','collabCursorState$','parse','focused$','_updateURLWithCurrentState','IMessageService','Tools','clsx','subUnitId','isActive','UniverIcon','_logService','_handleHover','object','SheetCollabCursorShape','_context','indexOf','_toggleOffline','UniverProCollaboration','UNIVER_SHEET','DOC_RANGE_TYPE','SessionStatus','takeUntil','saveOfflineData','hide','color','NOT_FOUND','Rect','_docTransformSelectionsService','length','_transformHistoryAndStateStack','getOwnPropertySymbols','118265UsFtvp','PY_RUNTIME_SCRIPT_ERROR','search','addObject','runId','getCoordByCell','setTimeout','stringify','_drawRectRange','random','colorChannel1','@univerjs/sheets-ui','getFocusedUnit','with','body','Rectangle','_messageService','AWAITING_WITH_PENDING','_httpService','split','PERMISSION_DENIED','executionId','CollaborationStatus','#fff','SNAPSHOT_HAS_BEEN_REMOVED','amd','addHandlerCallback','url(#off-line-single_clip0_910_343)','complete','collab-text-anchor-','ACTIVE_UNIT_EVENT_CHANNEL','entries','INVITE_CODE_REQUIRED','save','_cursorInfo$','UniverCollaborationClientPlugin','generateRandomId','@univerjs-pro/collaboration-client','use','_removeClearOtherTimer','params','unitID','getVpScrollXYInfoByPosToVp','getCollabCursors$','getSheetId','_textBubble','activeSheet$','YUUMI_RATE_OVER_LIMIT','runRefRangeMutations','_name','whenReady','@univerjs/docs','purple300','_clearOtherTimers','addObjects','makeDirty','tag','collaboration.closeRoom','_setupBeforeClosingHandler','handleInsertCol','runOnServer','getMemberID','_setupSubUnitSync','text','_sheetSkeletonManagerService','send','some','_transformService','collab-text-range-','ticket','univer-text-red-500','InsertRowCommandId','urlChange$','ranges','actions','@univerjs/docs-ui','doc.mutation.rich-text-editing','trim','onStarting','result','univerjs-icon\x20univerjs-icon-','RevisionService','_saveTaskMap','setActiveRange','deepClone','isEditing','m1Prime','_scene','_lastPointer','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_refRangeService','Error','data','_getSessionTicket','YUUMI_SUBSCRIPTION_NOT_FOUND','setAlpha','blue400','status$','_initStatusListener','createIdentifier','_collabCursorController','3lBSzIS','exhaustSavingTask','React','unit','handleInsertRangeMoveRight','transformIMECache','UPDATE_CURSOR','_removeCollabCursors','registerBeforeClose','pipe','_scheduleClearOtherTimer','_renderManagerService','YUUMI_UNABLE_LOAD_URL','black','defs','SetDocZoomRatioOperation','session.collaboration-timeout','Tooltip','_commandService','UniverSheets','getUnitId','merge','syncEditingCollabCursor','_revisionService','getCurrentSelections','uni.network.url-service','_initEntityListener','_updateSubUnitFromURLParams','max','collaboration-client.offline-data-not-saved','font','url(#$1','Vector2','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','children','_collabCursorState$','@univerjs/engine-render','off-line-single','IUIPartsService','RefRangeService','loadOfflineData','getCollabEntity$','includes','YUUMI_NO_CUBOID_FOR_QUESTION','from','DisposableCollection','registerDependencies','backgroundColor','_drawAnchor','_hideTimer','getDocRanges','onPointerEnter$','USERS_LEAVE','HTTPService','getValue','_range','assign','COLORS','CHANGESET_REVISION_CONFILICT','_cursorShapes','INVALID_INVITE_CODE','pushState','values','_hover','permission.content','rgba(255,\x20255,\x20255,\x200.01)','searchParams','filter','href','UniverProCollaborationClient','_handleEvent','createElement','IConfigService','selections','forEach','_session','measureText','size','Unknown\x20user','1516974THGUeG','_draw','column','ILocalCacheService','MOBILE_HAS_BEEN_BOUND','source','idSuffix','entityInit$','transformRemoteChangeset','CONFLICT','unsubscribe','getStateCache','_initStatusComponent','LOCAL_CACHE_INTERVAL','1em','Inject','fillStyle','CollaborationEvent','5yUGtYG','_init','assignAColorForMemberID','triggerDblclick','replace','DocCollaborationEntity','editingUnit','off-line-single_clip0_910_343','_collaborationUIEventService','enableLocalCache','transformStateCache','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','combineLatest','CollaborationController','_initCommandExecutedListener','cursorInfo','_backgroundColor','APPLY_NON_SEQUENTIAL_REVISION','init','_send','_shapes','clearTimeout','_docSkeleton','TOO_MANY_REQUESTS','toRgbString','_localeService','VIEW_MAIN','handleIRemoveCol','memberID','on-line-single_clip0_910_349','CollaborationUIEventService','collabStatus.synced','158443aWyFvr','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getSheetObject','startsWith','_handleLeaveEvent','_assignedColors','registerRenderModule','_createSocketURL','_disabled','getRenderById','SOCKET_FAILED_RETRY','eventID','_startSheetCollabCursor','transformMutationsWithChangeset','toString','_getMergeRange','addEventListener','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','popstate','_handleHeartbeatEvent','defineProperty','M0\x200H16V16H0z','onPointerLeave$','IRenderManagerService','code','ALREADY_EXISTS','_handleJoinEvent','IDocClipboardService','type','_hovered','substring','collab-rect-range-','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','findNodePositionByCharIndex','@univerjs-pro/collaboration','_refreshCollabCursors','react','className','switchMap','Shape','apply','getTypeOfUnitAdded$','_getSaveTimeout','distinctUntilChanged','_onCursorUpdate','IImageIoService','setStateCache','asObservable','LICENSE_IMPORT_SIZE_EXCEEDED','getActiveRange','handleInsertRangeMoveDown','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','transformMutation','LOCAL_CACHE_INTERVAL_KEY','getConfig','getSkeleton','SetSelectionsOperation','fillRule','_anchor','requireSession','DependentOn','univer-flex\x20univer-items-center','transformSelections','handleMoveRange','jsx','_docTransformIMECacheService','toDisposable','_color','_scheduleSaving','hovered','setShapeProps','_roomMembers$','DeleteRangeMoveLeftCommandId','name','arc','_collabSessionService','ThemeService','CONNECTOR_DATA_TOO_LARGE','set','getColor','_updateCollabCursors','IUniverInstanceService','RichTextEditingMutation','_entityInit$','_heartbeatTimer','DocStateChangeManagerService','getCurrentUnitForType','LICENSE_EXPORT_SIZE_EXCEEDED','prototype','ISnapshotServerService','hasOwnProperty','_cursor','UniverDesign','getCellPositionByOffset','string','unitId','rxjs','UniverEngineFormula','getUnitStatus$','jsxs','MemberService','NodePositionConvertToRectRange','mask','_status$','BrowserCollaborationSocketService','debounce','OTHER_CLIENT_EDITING','_uiPartsService','CollaborationSocketService','loadUnit','error','_online','ColorKit','onRendered','RemoveColCommandId','call','isArray','_configService','_transformPreviousActiveRange','DataLoaderService','dispose$','bottom','evenodd','_urlService','cursorInfo$','subunit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getSheetObject','LocaleService','RegularPolygon','red300','ILocalStorageService','getTypeOfUnitDisposed$','INTERNAL_ERROR','rxjs/operators','useCallback','_onRefRangeChange','_labelPosition','UniverDocs','UNRECOGNIZED','min','top','SHEET_VIEWPORT_KEY','translate(.97)','_instanceService','BehaviorSubject','collabStatus.conflict','OFFLINE','UniverProCollaborationClientUi','sheetID','_memberService','getMergeData','getRangePointData','_getAnchorBounding','UniverInstanceType','ICommandService','m2Prime','TEXT_RANGE_LAYER_INDEX','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','deserializeRangeWithSheet','DocIMEInputManagerService','_cachedData','1104600HiHWAu','_colorIndex','FromArray','onCommandExecuted','_docClipboardService','current','beginPath','permission.title','handleInsertRow','redoState','_docTransformStateCacheService','serializeRangeWithSheet','_themeService','labelPosition','lineTo','useDependency','_univerInstanceService','selection','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SheetsSelectionsService','round','_saveCache','ONLINE','getAncestorScale','ILogService','_colorAssignService','onMouseMove','handleDeleteRangeMoveLeft','all','0\x200\x2016\x2016','roomMembers','post','getUniverSheetInstance','svg','none','getUnhiddenWorksheets','INotificationService','map','getSheetBySheetId','has','updateOfflineData','moveTo','currentSkeleton$','path','setUndoRedoMutationParamsCache','currentTheme$','USER_NOT_INVITED_CODE','sessionStatus$','_anchorDot','_id','DEFAULT_WS_SESSION_TICKET_URL','_eventUnsubscribe','roomMembers$','NOT_COLLAB','get','dispose','gold400','NO_OTHER_CLIENTS_EDITING','UNIVER_DOC','url(#on-line-single_clip0_910_349)','debug','getMember','_localCacheService','_onCursorDelete','CollaborationSessionService','react/jsx-runtime','delete','useRef','MoveRangeCommandId','getLocalCacheKey','1146198HhVMqK','collabStatus.fetchMiss','div','saveTaskMap','InsertColCommandId','INVITE_CODE_HAS_BEEN_UES','extend','skeleton','exports','clearInterval','fromEventSubject','row','contains','subscribe','_docSyncEditingCollabCursorService','_docStateChangeManagerService','defIds','SetTextSelectionsOperation','next','COMPLETION_FINISHED','_config','_collaborationController','@univerjs/ui','RemoveRowCommandId','width','function','add','_beforeCloseService','TEXT','startColumn','reconnect','setItem','CLOSE_ROOM','INVITE_CODE_ALREADY_BOUND','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','fromEvent','@univerjs/network','RECT','createInstance','UniverUi','@univerjs/rpc','getRelativeToViewportCoord','ISocketService','PENDING','UniverCollaborationClientUIPlugin','fill','debounceTime','_initResize','[CollaborationDataLoaderController]','APPLY_PERMISSION_DENIED','_registerRenderDependencies','IURLService','displayName','SNAPSHOT_INVALID_SNAPSHOT','UNDEFINED','_toggleOnline','getParam','invokeId','_registerDependencies','@univerjs/engine-formula','Failed','getItem','UnitStatus','docStateChange$','RxDisposable','forwardRef','_doCreateSocket','DesktopCollaborationStatusDisplayController','getCurrent','mutations','INVALID_ARGUMENT','APPLY_REJECT','Warning','#FFF','isTransformMutationFailure','MUTATION','removeParam','_cursors','transform','handleDeleteRangeMoveUp','_syncEditingCollabCursorService','_entities','_getScale','InsertRangeMoveDownCommandId','drawWith','getOffsetConfig','disposeWithMe','resize','_drawTextRange','unshift','onPointerMove$','_transformUndoRedoStack','fillText'];_0x1918=function(){return _0xfeb26f;};return _0x1918();}function _0x4c0a(_0x47ddfb,_0x5d3338){const _0x19186a=_0x1918();return _0x4c0a=function(_0x4c0a16,_0x3a7790){_0x4c0a16=_0x4c0a16-0x1a8;let _0x5f0868=_0x19186a[_0x4c0a16];return _0x5f0868;},_0x4c0a(_0x47ddfb,_0x5d3338);}(function(_0x92917,_0x533afe){const _0x52ea09=_0x4c0a,_0x5b744e=_0x92917();while(!![]){try{const _0x133a40=-parseInt(_0x52ea09(0x432))/0x1+parseInt(_0x52ea09(0x27c))/0x2*(parseInt(_0x52ea09(0x3b1))/0x3)+-parseInt(_0x52ea09(0x2e5))/0x4+parseInt(_0x52ea09(0x412))/0x5*(-parseInt(_0x52ea09(0x400))/0x6)+parseInt(_0x52ea09(0x34c))/0x7+parseInt(_0x52ea09(0x236))/0x8+parseInt(_0x52ea09(0x2fe))/0x9;if(_0x133a40===_0x533afe)break;else _0x5b744e['push'](_0x5b744e['shift']());}catch(_0x2c962f){_0x5b744e['push'](_0x5b744e['shift']());}}}(_0x1918,0x4cc84),function(_0x3d8748,_0x33af46){const _0x2faeaf=_0x4c0a;typeof exports==_0x2faeaf(0x339)&&typeof module<'u'?_0x33af46(exports,require('@univerjs-pro/collaboration-client'),require(_0x2faeaf(0x30f)),require(_0x2faeaf(0x3d5)),require(_0x2faeaf(0x2a0)),require(_0x2faeaf(0x397)),require(_0x2faeaf(0x304)),require(_0x2faeaf(0x1f4)),require(_0x2faeaf(0x37f)),require(_0x2faeaf(0x1b5)),require('@univerjs/engine-formula'),require(_0x2faeaf(0x320)),require('rxjs/operators'),require(_0x2faeaf(0x357)),require(_0x2faeaf(0x277)),require(_0x2faeaf(0x292)),require('@univerjs/design'),require(_0x2faeaf(0x1b7)),require('@univerjs/rpc')):typeof define==_0x2faeaf(0x295)&&define[_0x2faeaf(0x365)]?define([_0x2faeaf(0x284),_0x2faeaf(0x371),_0x2faeaf(0x30f),'@univerjs/engine-render',_0x2faeaf(0x2a0),_0x2faeaf(0x397),'@univerjs/drawing',_0x2faeaf(0x1f4),_0x2faeaf(0x37f),_0x2faeaf(0x1b5),_0x2faeaf(0x2b7),'@univerjs/sheets',_0x2faeaf(0x21a),_0x2faeaf(0x357),'react/jsx-runtime',_0x2faeaf(0x292),'@univerjs/design',_0x2faeaf(0x1b7),_0x2faeaf(0x2a4)],_0x33af46):(_0x3d8748=typeof globalThis<'u'?globalThis:_0x3d8748||self,_0x33af46(_0x3d8748[_0x2faeaf(0x228)]={},_0x3d8748[_0x2faeaf(0x3f6)],_0x3d8748['UniverCore'],_0x3d8748[_0x2faeaf(0x2f5)],_0x3d8748[_0x2faeaf(0x2db)],_0x3d8748['UniverDocsUi'],_0x3d8748['UniverDrawing'],_0x3d8748[_0x2faeaf(0x1f4)],_0x3d8748[_0x2faeaf(0x21e)],_0x3d8748[_0x2faeaf(0x33e)],_0x3d8748[_0x2faeaf(0x1f5)],_0x3d8748[_0x2faeaf(0x3c4)],_0x3d8748[_0x2faeaf(0x1f4)]['operators'],_0x3d8748['UniverSheetsUi'],_0x3d8748[_0x2faeaf(0x3b3)],_0x3d8748[_0x2faeaf(0x2a3)],_0x3d8748[_0x2faeaf(0x1f0)],_0x3d8748[_0x2faeaf(0x3b3)],_0x3d8748[_0x2faeaf(0x315)]));}(this,function(_0x41c194,_0x41dc5f,_0x42b304,_0x409358,_0x43144b,_0x16bb92,_0x187cfb,_0x34f1d4,_0x4e9cff,_0x30bf61,_0x18abe9,_0x29d4a1,_0x18aa85,_0x58ab2b,_0x4d12c8,_0x264d8f,_0x2e5ccb,_0x295c09,_0x3b97e1){'use strict';const _0x540b42=_0x4c0a;var _0x22bf67=Object['defineProperty'],_0x464290=(_0x157ae7,_0x381660,_0x2ed048)=>_0x381660 in _0x157ae7?_0x22bf67(_0x157ae7,_0x381660,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ed048}):_0x157ae7[_0x381660]=_0x2ed048,_0x432cc5=(_0x5d969f,_0x1ac878,_0xddc146)=>_0x464290(_0x5d969f,typeof _0x1ac878!='symbol'?_0x1ac878+'':_0x1ac878,_0xddc146),_0x291583=Object[_0x540b42(0x2fc)],_0x278c3f=(_0x51ee06,_0x46b794,_0x266719,_0x559cf7)=>{const _0x331131=_0x540b42;for(var _0x26a961=_0x559cf7>0x1?void 0x0:_0x559cf7?_0x291583(_0x46b794,_0x266719):_0x46b794,_0x24116a=_0x51ee06[_0x331131(0x349)]-0x1,_0x204ffc;_0x24116a>=0x0;_0x24116a--)(_0x204ffc=_0x51ee06[_0x24116a])&&(_0x26a961=_0x204ffc(_0x26a961)||_0x26a961);return _0x26a961;},_0x457059=(_0x384d19,_0x3fb87c)=>(_0x21315c,_0xd9ecad)=>_0x3fb87c(_0x21315c,_0xd9ecad,_0x384d19);let _0x55be9f=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x197b6d,_0x26121a){const _0x4f78a9=_0x540b42;super(),this['_docClipboardService']=_0x197b6d,this[_0x4f78a9(0x319)]=_0x26121a,this['_init']();}[_0x540b42(0x413)](){const _0x5de0b6=_0x540b42,_0x9530f=this;this[_0x5de0b6(0x2d2)](this[_0x5de0b6(0x23a)]['addClipboardHook']({'onBeforePasteImage':async _0x1c4a58=>{const _0xb7b935=_0x5de0b6,_0x598bed=await _0x9530f[_0xb7b935(0x319)]['saveImage'](_0x1c4a58);return _0x598bed?{'source':_0x598bed[_0xb7b935(0x405)],'imageSourceType':_0x598bed[_0xb7b935(0x30b)]}:null;}}));}};_0x55be9f=_0x278c3f([_0x457059(0x0,_0x16bb92[_0x540b42(0x1ae)]),_0x457059(0x1,_0x187cfb[_0x540b42(0x1c0)])],_0x55be9f);const _0x5d91df=[_0x540b42(0x380),'jiqing500','verdancy600',_0x540b42(0x216),_0x540b42(0x3ac),_0x540b42(0x26e)];class _0x4fb46b extends _0x42b304[_0x540b42(0x31f)]{constructor(){const _0x29ebc1=_0x540b42;super(...arguments),_0x432cc5(this,_0x29ebc1(0x437),new Map()),_0x432cc5(this,_0x29ebc1(0x237),0x0);}['assignAColorForMemberID'](_0x21ca4c){const _0x66e344=_0x540b42;if(this[_0x66e344(0x437)]['has'](_0x21ca4c))return this[_0x66e344(0x437)][_0x66e344(0x26c)](_0x21ca4c);const _0x25d0bb=_0x5d91df[this[_0x66e344(0x237)]];return this['_colorIndex']=(this[_0x66e344(0x237)]+0x1)%_0x5d91df['length'],this[_0x66e344(0x437)]['set'](_0x21ca4c,_0x25d0bb),_0x25d0bb;}}function _0x35765b(_0x340fab){const _0x3575e0=_0x540b42;let _0x58f685='';for(const _0x2d01b4 of _0x340fab){const {startOffset:_0x132d7a,endOffset:_0x5bf86b,isActive:_0x167266,rangeType:_0x5e9e7b,segmentId:_0x4c7890,segmentPage:_0x1ea898}=_0x2d01b4;_0x58f685[_0x3575e0(0x349)]&&(_0x58f685+=','),_0x58f685+=_0x132d7a+':'+_0x5bf86b+':'+(_0x167266?'1':'0')+':'+_0x5e9e7b+':'+_0x4c7890+':'+_0x1ea898;}return _0x58f685;}function _0x47a7cc(_0x4e8388){const _0x3bc84f=_0x540b42,_0x314756=_0x4e8388[_0x3bc84f(0x35f)](','),_0x22b4ac=[];for(const _0x598564 of _0x314756){const [_0x29ed57,_0x313046,_0x1dc7b1,_0x4eee4b,_0x22ebfc,_0x1928aa]=_0x598564['split'](':');_0x22b4ac[_0x3bc84f(0x2ef)]({'startOffset':Number(_0x29ed57),'endOffset':Number(_0x313046),'collapsed':_0x29ed57===_0x313046,'isActive':_0x1dc7b1==='1','rangeType':_0x4eee4b===_0x42b304['DOC_RANGE_TYPE'][_0x3bc84f(0x298)]?_0x42b304[_0x3bc84f(0x340)][_0x3bc84f(0x298)]:_0x42b304[_0x3bc84f(0x340)]['RECT'],'segmentId':typeof _0x22ebfc==_0x3bc84f(0x1f2)?String(_0x22ebfc):'','segmentPage':Number(_0x1928aa!=null?_0x1928aa:-0x1)});}return _0x22b4ac[_0x3bc84f(0x38e)](_0x29b7b3=>_0x29b7b3[_0x3bc84f(0x335)])||(_0x22b4ac[0x0][_0x3bc84f(0x335)]=!0x0),_0x22b4ac;}class _0x42f10f extends _0x42b304[_0x540b42(0x2bc)]{constructor(){const _0x3634e4=_0x540b42;super(...arguments),_0x432cc5(this,_0x3634e4(0x3d4),new _0x34f1d4[(_0x3634e4(0x225))](null)),_0x432cc5(this,_0x3634e4(0x32d),this[_0x3634e4(0x3d4)]['asObservable']());}[_0x540b42(0x3c7)](_0x3a700e){const _0x244b48=_0x540b42,{unitID:_0x1db647,memberID:_0x3fc32f,textRanges:_0x294bfb}=_0x3a700e,_0x3d91c6=_0x35765b(_0x294bfb);if(_0x3d91c6==='')return;const _0x13e624={'unitID':_0x1db647,'memberID':_0x3fc32f,'selection':_0x3d91c6};this[_0x244b48(0x3d4)][_0x244b48(0x28e)](_0x13e624);}}var _0x501578=Object[_0x540b42(0x2fc)],_0x52d4fe=(_0x2f3c58,_0x2d9c82,_0x57ca3f,_0x56ac17)=>{for(var _0x2f09fe=_0x56ac17>0x1?void 0x0:_0x56ac17?_0x501578(_0x2d9c82,_0x57ca3f):_0x2d9c82,_0x299a7e=_0x2f3c58['length']-0x1,_0x31a8d8;_0x299a7e>=0x0;_0x299a7e--)(_0x31a8d8=_0x2f3c58[_0x299a7e])&&(_0x2f09fe=_0x31a8d8(_0x2f09fe)||_0x2f09fe);return _0x2f09fe;},_0xe09db3=(_0x1f55d,_0x2857fd)=>(_0x4131e1,_0x35c4db)=>_0x2857fd(_0x4131e1,_0x35c4db,_0x1f55d);const _0xfb8d78=0x12c,_0x2b19dd=0x64;let _0x39645a=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x427994,_0x2e1245,_0x5eee58,_0x164a73,_0x300537,_0x5943ec,_0x1871a8,_0x40affd,_0x4838c9){const _0x38244=_0x540b42;super(),_0x432cc5(this,_0x38244(0x203),!0x1),_0x432cc5(this,_0x38244(0x413),!0x1),_0x432cc5(this,_0x38244(0x36e),new _0x34f1d4[(_0x38244(0x225))](new Map())),_0x432cc5(this,_0x38244(0x210),this[_0x38244(0x36e)]['asObservable']()),_0x432cc5(this,_0x38244(0x1db),new _0x34f1d4[(_0x38244(0x225))]([])),_0x432cc5(this,_0x38244(0x26a),this[_0x38244(0x1db)][_0x38244(0x3ba)](_0x34f1d4[_0x38244(0x2aa)](_0xfb8d78))),_0x432cc5(this,'_updateLocalCursor',_0x42b304[_0x38244(0x1fd)](_0x453fe5=>{const _0x2a2eba=_0x38244,_0x39e2c9={'eventID':_0x30bf61['CollaborationEvent'][_0x2a2eba(0x3b7)],'data':{'unitID':this[_0x2a2eba(0x375)],'memberID':this[_0x2a2eba(0x3fc)][_0x2a2eba(0x389)](),'selection':_0x35765b(_0x453fe5)}};this[_0x2a2eba(0x3fc)][_0x2a2eba(0x38d)](_0x39e2c9,this[_0x2a2eba(0x375)]);},_0x2b19dd)),(this['unitID']=_0x427994,this[_0x38244(0x3fc)]=_0x2e1245,this[_0x38244(0x31b)]=_0x5eee58,this[_0x38244(0x24f)]=_0x164a73,this[_0x38244(0x22a)]=_0x300537,this[_0x38244(0x2cc)]=_0x5943ec,this[_0x38244(0x38f)]=_0x1871a8,this['_univerInstanceService']=_0x40affd,this['_commandService']=_0x4838c9);}get[_0x540b42(0x421)](){const _0x273319=_0x540b42;return this[_0x273319(0x36e)][_0x273319(0x3e7)]();}get['roomMembers'](){const _0x28edc=_0x540b42;return this[_0x28edc(0x1db)]['getValue']();}['dispose'](){const _0x3c8702=_0x540b42;super[_0x3c8702(0x26d)](),this[_0x3c8702(0x36e)][_0x3c8702(0x28e)](new Map()),this[_0x3c8702(0x36e)]['complete'](),this['_roomMembers$'][_0x3c8702(0x28e)]([]),this[_0x3c8702(0x1db)]['complete']();}[_0x540b42(0x424)](){const _0x52fa17=_0x540b42;this[_0x52fa17(0x413)]||(this[_0x52fa17(0x413)]=!0x0,this[_0x52fa17(0x3fc)]['sessionStatus$'][_0x52fa17(0x3ba)](_0x34f1d4[_0x52fa17(0x342)](this['dispose$']))['subscribe'](_0x5cdfc7=>{const _0x408821=_0x52fa17;_0x5cdfc7===_0x41dc5f[_0x408821(0x341)]['ONLINE']?this[_0x408821(0x2b3)]():this[_0x408821(0x33d)]();}),this[_0x52fa17(0x3fc)]['event$'][_0x52fa17(0x3ba)](_0x34f1d4[_0x52fa17(0x342)](this[_0x52fa17(0x20c)]))[_0x52fa17(0x289)](_0x34119a=>{const _0x5aa72f=_0x52fa17,_0x56a9a5=_0x34119a[_0x5aa72f(0x43d)];_0x56a9a5===_0x30bf61[_0x5aa72f(0x411)][_0x5aa72f(0x3b7)]&&this[_0x5aa72f(0x1bf)](_0x34119a),_0x56a9a5===_0x30bf61[_0x5aa72f(0x411)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x34119a);}),this['disposeWithMe'](this[_0x52fa17(0x3c3)]['onCommandExecuted'](_0x1860b2=>{const _0x25afaa=_0x52fa17,_0x546d10=_0x1860b2['params'];_0x546d10!=null&&this[_0x25afaa(0x203)]&&_0x1860b2['id']===_0x4e9cff[_0x25afaa(0x28d)]['id']&&_0x546d10[_0x25afaa(0x1f3)]===this[_0x25afaa(0x375)]&&_0x546d10[_0x25afaa(0x3a1)]===!0x1&&_0x546d10[_0x25afaa(0x395)][_0x25afaa(0x349)]>0x0&&this[_0x25afaa(0x2e7)](_0x546d10[_0x25afaa(0x395)]);})),this[_0x52fa17(0x2cc)][_0x52fa17(0x32d)][_0x52fa17(0x3ba)](_0x34f1d4[_0x52fa17(0x342)](this[_0x52fa17(0x20c)]))['subscribe'](_0x5104ff=>{const _0x512589=_0x52fa17;if((_0x5104ff==null?void 0x0:_0x5104ff[_0x512589(0x375)])!==this[_0x512589(0x375)])return;const _0x235675={'eventID':_0x30bf61['CollaborationEvent'][_0x512589(0x3b7)],'data':_0x5104ff};this[_0x512589(0x1bf)](_0x235675);}),this[_0x52fa17(0x2d2)](this[_0x52fa17(0x3c3)]['onCommandExecuted'](_0x3c0550=>{const _0x81246b=_0x52fa17;if(_0x3c0550[_0x81246b(0x374)]==null)return;const _0x264df1=_0x3c0550['params'];if(_0x3c0550['id']!==_0x4e9cff[_0x81246b(0x1e6)]['id']||_0x264df1['unitId']!==this[_0x81246b(0x375)])return;const _0x30bffc={'id':_0x81246b(0x398),'params':_0x264df1},_0x33f12a=this[_0x81246b(0x421)];for(const [_0x2d83be,_0x4c5b12]of _0x33f12a){const _0x4db4c2={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x81246b(0x375)],'actions':null,'textRanges':_0x4c5b12[_0x81246b(0x395)]}},_0x1e64e9=this[_0x81246b(0x38f)][_0x81246b(0x1c8)](_0x30bffc,_0x4db4c2,!0x1);if(_0x30bf61[_0x81246b(0x2c6)](_0x1e64e9))throw _0x1e64e9[_0x81246b(0x202)];_0x33f12a['set'](_0x2d83be,{..._0x4c5b12,'ranges':_0x1e64e9[_0x81246b(0x230)][_0x81246b(0x374)][_0x81246b(0x2ea)]});}queueMicrotask(()=>{const _0x38b8cd=_0x81246b;this[_0x38b8cd(0x36e)]['next'](_0x33f12a);});})));}[_0x540b42(0x1bf)](_0x3788e4){const _0x18027c=_0x540b42;var _0x380c88,_0x42b578;const {memberID:_0x284a46,selection:_0x3e0740}=_0x3788e4[_0x18027c(0x3a8)],_0x27326a=_0x47a7cc(_0x3e0740),_0x4cbd9b=(_0x42b578=(_0x380c88=this[_0x18027c(0x22a)][_0x18027c(0x273)](this[_0x18027c(0x375)],_0x284a46))==null?void 0x0:_0x380c88[_0x18027c(0x1dd)])!=null?_0x42b578:_0x18027c(0x3ff),_0x5e9731={'color':this['_colorAssignService'][_0x18027c(0x414)](_0x284a46),'name':_0x4cbd9b,'ranges':_0x27326a},_0x408de8=this[_0x18027c(0x421)];_0x408de8[_0x18027c(0x1e2)](_0x284a46,_0x5e9731),this[_0x18027c(0x36e)][_0x18027c(0x28e)](_0x408de8);}[_0x540b42(0x275)](_0x19925a){const _0x4db940=_0x540b42,{memberID:_0x490a48}=_0x19925a['data'],_0x59dd8e=this['cursorInfo'];_0x59dd8e[_0x4db940(0x278)](_0x490a48),this[_0x4db940(0x36e)][_0x4db940(0x28e)](_0x59dd8e);}[_0x540b42(0x2b3)](){const _0x5e24ce=_0x540b42;var _0x381081;if(this['_online']=!0x0,((_0x381081=this[_0x5e24ce(0x246)][_0x5e24ce(0x358)]())==null?void 0x0:_0x381081['getUnitId']())!==this[_0x5e24ce(0x375)])return;const _0x29ff16=this[_0x5e24ce(0x31b)][_0x5e24ce(0x26c)](_0x4e9cff[_0x5e24ce(0x30e)])[_0x5e24ce(0x3e3)]();Array[_0x5e24ce(0x208)](_0x29ff16)&&_0x29ff16['length']>0x0&&this['_updateLocalCursor'](_0x29ff16);}[_0x540b42(0x33d)](){this['_online']=!0x1;}};_0x39645a=_0x52d4fe([_0xe09db3(0x2,_0x42b304[_0x540b42(0x40f)](_0x42b304['Injector'])),_0xe09db3(0x3,_0x42b304[_0x540b42(0x40f)](_0x4fb46b)),_0xe09db3(0x4,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x1f8)])),_0xe09db3(0x5,_0x42b304['Inject'](_0x42f10f)),_0xe09db3(0x6,_0x30bf61['ITransformService']),_0xe09db3(0x7,_0x42b304[_0x540b42(0x1e5)]),_0xe09db3(0x8,_0x42b304[_0x540b42(0x22f)])],_0x39645a);var _0x4a6ed8=Object['getOwnPropertyDescriptor'],_0x3a3fa4=(_0x9169f,_0xf5af16,_0x22dfcf,_0x2c4ec0)=>{const _0x41266a=_0x540b42;for(var _0x4276d0=_0x2c4ec0>0x1?void 0x0:_0x2c4ec0?_0x4a6ed8(_0xf5af16,_0x22dfcf):_0xf5af16,_0x101439=_0x9169f[_0x41266a(0x349)]-0x1,_0x2841fd;_0x101439>=0x0;_0x101439--)(_0x2841fd=_0x9169f[_0x101439])&&(_0x4276d0=_0x2841fd(_0x4276d0)||_0x4276d0);return _0x4276d0;},_0x249718=(_0x2d603b,_0x3a9de8)=>(_0x1de72d,_0x31000a)=>_0x3a9de8(_0x1de72d,_0x31000a,_0x2d603b);const _0x4b3414=0x12c,_0x186d0f=0x64,_0x415fc3=()=>{let _0x5ed298=[],_0xf6e759=!0x1;return _0x2693e3=>{const _0x1d8ad6=_0x4c0a;_0x5ed298[_0x1d8ad6(0x2ef)](_0x2693e3),_0xf6e759||(_0xf6e759=!0x0,setTimeout(()=>{_0x5ed298['forEach'](_0x31685c=>_0x31685c()),_0x5ed298=[],_0xf6e759=!0x1;}));};};let _0x4c605a=class extends _0x42b304['RxDisposable']{constructor(_0x2c0d58,_0x517218,_0x434bd1,_0x1265e6,_0x44c38b,_0x19eee0,_0x1926f9,_0x2ed14c){const _0x59b2a7=_0x540b42;super(),_0x432cc5(this,'_online',!0x1),_0x432cc5(this,_0x59b2a7(0x413),!0x1),_0x432cc5(this,_0x59b2a7(0x36e),new _0x34f1d4['BehaviorSubject'](new Map())),_0x432cc5(this,_0x59b2a7(0x210),this[_0x59b2a7(0x36e)]['asObservable']()),_0x432cc5(this,_0x59b2a7(0x1db),new _0x34f1d4[(_0x59b2a7(0x225))]([])),_0x432cc5(this,_0x59b2a7(0x26a),this[_0x59b2a7(0x1db)][_0x59b2a7(0x3ba)](_0x34f1d4[_0x59b2a7(0x2aa)](_0x4b3414))),_0x432cc5(this,_0x59b2a7(0x2e7),_0x42b304['debounce']((_0x33d568,_0x3982fa)=>{const _0x567e95=_0x59b2a7,_0x162af1={'eventID':_0x30bf61[_0x567e95(0x411)][_0x567e95(0x3b7)],'data':{'unitID':this[_0x567e95(0x375)],'memberID':this[_0x567e95(0x3fc)][_0x567e95(0x389)](),'selection':_0x18abe9[_0x567e95(0x241)](_0x33d568,_0x3982fa[_0x567e95(0x32b)])}};this[_0x567e95(0x3fc)][_0x567e95(0x38d)](_0x162af1,this[_0x567e95(0x375)]);},_0x186d0f)),(this[_0x59b2a7(0x375)]=_0x2c0d58,this[_0x59b2a7(0x3fc)]=_0x517218,this[_0x59b2a7(0x31b)]=_0x434bd1,this[_0x59b2a7(0x24f)]=_0x1265e6,this[_0x59b2a7(0x22a)]=_0x44c38b,this[_0x59b2a7(0x246)]=_0x19eee0,this[_0x59b2a7(0x3c3)]=_0x1926f9,this['_refRangeService']=_0x2ed14c);}get[_0x540b42(0x421)](){const _0x5e87bc=_0x540b42;return this[_0x5e87bc(0x36e)][_0x5e87bc(0x3e7)]();}get[_0x540b42(0x254)](){const _0x1a9aa4=_0x540b42;return this[_0x1a9aa4(0x1db)]['getValue']();}['dispose'](){const _0x2445be=_0x540b42;super[_0x2445be(0x26d)](),this[_0x2445be(0x36e)][_0x2445be(0x28e)](new Map()),this[_0x2445be(0x36e)][_0x2445be(0x368)](),this[_0x2445be(0x1db)]['next']([]),this['_roomMembers$']['complete']();}[_0x540b42(0x424)](){const _0xc56704=_0x540b42;this[_0xc56704(0x413)]||(this[_0xc56704(0x413)]=!0x0,this[_0xc56704(0x3fc)][_0xc56704(0x265)][_0xc56704(0x3ba)](_0x34f1d4[_0xc56704(0x342)](this[_0xc56704(0x20c)]))[_0xc56704(0x289)](_0xdbd3af=>{const _0x7f7f12=_0xc56704;_0xdbd3af===_0x41dc5f['SessionStatus'][_0x7f7f12(0x24c)]?this[_0x7f7f12(0x2b3)]():this['_toggleOffline']();}),this[_0xc56704(0x3fc)][_0xc56704(0x2ec)][_0xc56704(0x3ba)](_0x34f1d4[_0xc56704(0x342)](this[_0xc56704(0x20c)]))['subscribe'](_0x143680=>{const _0x419a28=_0xc56704,_0x8748d5=_0x143680['eventID'];_0x8748d5===_0x30bf61[_0x419a28(0x411)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x143680),_0x8748d5===_0x30bf61[_0x419a28(0x411)][_0x419a28(0x3e5)]&&this[_0x419a28(0x275)](_0x143680);}),this[_0xc56704(0x21c)](),this[_0xc56704(0x2d2)](this[_0xc56704(0x3c3)]['onCommandExecuted'](_0x1d8404=>{const _0x2d2ea9=_0xc56704;if(this['_online']&&_0x1d8404['id']===_0x29d4a1[_0x2d2ea9(0x1cc)]['id']&&_0x1d8404[_0x2d2ea9(0x374)][_0x2d2ea9(0x1f3)]===this[_0x2d2ea9(0x375)]){const _0xbe1d20=_0x1d8404[_0x2d2ea9(0x374)];this[_0x2d2ea9(0x2e7)](_0xbe1d20[_0x2d2ea9(0x334)],_0xbe1d20[_0x2d2ea9(0x3fa)][0x0]);}})));}[_0x540b42(0x1bf)](_0x3b3d5d){const _0x1dc1a2=_0x540b42;var _0x33780c,_0x18bda8;const {memberID:_0x3f997d,selection:_0x4613a4}=_0x3b3d5d[_0x1dc1a2(0x3a8)],{sheetName:_0x3650f6,range:_0x79544a}=_0x18abe9[_0x1dc1a2(0x233)](_0x4613a4),_0x5a0193={'name':(_0x18bda8=(_0x33780c=this[_0x1dc1a2(0x22a)][_0x1dc1a2(0x273)](this[_0x1dc1a2(0x375)],_0x3f997d))==null?void 0x0:_0x33780c['name'])!=null?_0x18bda8:'Unknown\x20user','range':this[_0x1dc1a2(0x441)](_0x3650f6,_0x79544a),'sheetID':_0x3650f6,'color':this['_colorAssignService'][_0x1dc1a2(0x414)](_0x3f997d),'selection':_0x4613a4},_0x41debb=this['cursorInfo'];_0x41debb[_0x1dc1a2(0x1e2)](_0x3f997d,_0x5a0193),this[_0x1dc1a2(0x36e)]['next'](_0x41debb);}[_0x540b42(0x275)](_0x4ad40d){const _0x20ae4e=_0x540b42,{memberID:_0x30a8ea}=_0x4ad40d[_0x20ae4e(0x3a8)],_0x4d75fb=this['cursorInfo'];_0x4d75fb[_0x20ae4e(0x278)](_0x30a8ea),this[_0x20ae4e(0x36e)][_0x20ae4e(0x28e)](_0x4d75fb);}[_0x540b42(0x441)](_0x119265,_0x2093f1){const _0x53953a=_0x540b42;var _0x50cc99,_0x5d0044;const _0x488e6a=(_0x5d0044=(_0x50cc99=this[_0x53953a(0x246)][_0x53953a(0x256)](this[_0x53953a(0x375)]))==null?void 0x0:_0x50cc99[_0x53953a(0x25c)](_0x119265))==null?void 0x0:_0x5d0044[_0x53953a(0x22b)]();return(_0x488e6a==null?void 0x0:_0x488e6a['find'](_0x5c374a=>_0x42b304[_0x53953a(0x35b)][_0x53953a(0x288)](_0x5c374a,_0x2093f1)))||_0x2093f1;}['_onRefRangeChange'](){const _0x5a11f5=_0x540b42,_0x1f2511=new _0x42b304[(_0x5a11f5(0x3de))](),_0x2320f2=_0x415fc3(),_0x4ab144=()=>{const _0x5eed97=_0x5a11f5;_0x1f2511[_0x5eed97(0x26d)]();const _0x16916f=(_0x4dd387,_0x4723ed,_0x4fbddb,_0x38012c)=>{const _0x315d0e=_0x5eed97;let _0x5f10cb=[];switch(_0x4dd387['id']){case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x1dc)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x251)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)]['DeleteRangeMoveUpCommandId']:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x2cb)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId'][_0x315d0e(0x280)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x387)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId'][_0x315d0e(0x2cf)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x1c5)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x3b5)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId'][_0x315d0e(0x393)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x23e)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x27a)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x1d3)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x206)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x42d)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x293)]:{_0x5f10cb=_0x29d4a1['handleIRemoveRow'](_0x4dd387,_0x38012c);break;}}const _0x33c354=_0x29d4a1[_0x315d0e(0x37c)](_0x5f10cb,_0x38012c),_0x15f884=this[_0x315d0e(0x421)][_0x315d0e(0x26c)](_0x4723ed);if(_0x15f884&&_0x33c354){const _0x5aac38={..._0x15f884,'range':_0x33c354};this['cursorInfo'][_0x315d0e(0x1e2)](_0x4723ed,_0x5aac38),_0x2320f2(()=>{const _0xbe6dd8=_0x315d0e,_0x36294b=this[_0xbe6dd8(0x3a6)]['registerRefRange'](_0x33c354,_0x5ce7f0=>(_0x36294b['dispose'](),_0x16916f(_0x5ce7f0,_0x4723ed,_0x4fbddb,_0x33c354)));_0x1f2511[_0xbe6dd8(0x296)](_0x36294b);});}return{'redos':[],'undos':[]};};this[_0x5eed97(0x421)][_0x5eed97(0x3fb)]((_0x1b1cf5,_0xd85b40)=>{const _0x74206a=_0x5eed97,{range:_0x510c57,sheetID:_0xf59ff8}=_0x1b1cf5,_0x829908=this[_0x74206a(0x3a6)]['registerRefRange'](_0x510c57,_0x4ff24a=>(_0x829908[_0x74206a(0x26d)](),_0x16916f(_0x4ff24a,_0xd85b40,_0xf59ff8,_0x510c57)));_0x1f2511[_0x74206a(0x296)](_0x829908);});};this[_0x5a11f5(0x2d2)](_0x42b304[_0x5a11f5(0x1d6)](this[_0x5a11f5(0x36e)][_0x5a11f5(0x289)](()=>{_0x4ab144();})));}['_toggleOnline'](){const _0x6fd007=_0x540b42;var _0x4e4a8d,_0x14ad40;if(this[_0x6fd007(0x203)]=!0x0,((_0x4e4a8d=this[_0x6fd007(0x246)][_0x6fd007(0x358)]())==null?void 0x0:_0x4e4a8d[_0x6fd007(0x3c5)]())!==this[_0x6fd007(0x375)])return;const _0x42077d=(_0x14ad40=this[_0x6fd007(0x31b)]['get'](_0x29d4a1[_0x6fd007(0x249)])[_0x6fd007(0x3c9)]())==null?void 0x0:_0x14ad40[0x0],_0x269d64=this['_univerInstanceService'][_0x6fd007(0x1ea)](_0x42b304[_0x6fd007(0x22e)][_0x6fd007(0x33f)])[_0x6fd007(0x2eb)]();_0x42077d&&_0x269d64&&this[_0x6fd007(0x2e7)](_0x269d64[_0x6fd007(0x378)](),_0x42077d);}[_0x540b42(0x33d)](){const _0x3cb9b9=_0x540b42;this[_0x3cb9b9(0x203)]=!0x1;}};_0x4c605a=_0x3a3fa4([_0x249718(0x2,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x249718(0x3,_0x42b304['Inject'](_0x4fb46b)),_0x249718(0x4,_0x42b304[_0x540b42(0x40f)](_0x41dc5f['MemberService'])),_0x249718(0x5,_0x42b304[_0x540b42(0x1e5)]),_0x249718(0x6,_0x42b304['ICommandService']),_0x249718(0x7,_0x42b304[_0x540b42(0x40f)](_0x29d4a1[_0x540b42(0x3d8)]))],_0x4c605a);var _0x41c86b=Object[_0x540b42(0x2fc)],_0x165ca3=(_0x8a9ec7,_0x9eb40f,_0x2a401b,_0x4d2d0c)=>{for(var _0x27df4a=_0x4d2d0c>0x1?void 0x0:_0x4d2d0c?_0x41c86b(_0x9eb40f,_0x2a401b):_0x9eb40f,_0x3189b9=_0x8a9ec7['length']-0x1,_0x5b73d1;_0x3189b9>=0x0;_0x3189b9--)(_0x5b73d1=_0x8a9ec7[_0x3189b9])&&(_0x27df4a=_0x5b73d1(_0x27df4a)||_0x27df4a);return _0x27df4a;},_0x4805ec=(_0x3fc046,_0xfc4e5a)=>(_0x4738b5,_0x513a45)=>_0xfc4e5a(_0x4738b5,_0x513a45,_0x3fc046);let _0x1283a0=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x4aec8b,_0x3ea187,_0x265c08){const _0x39e73a=_0x540b42;super(),_0x432cc5(this,_0x39e73a(0x2cd),new Map()),_0x432cc5(this,_0x39e73a(0x1e7),new _0x34f1d4['Subject']()),(this[_0x39e73a(0x246)]=_0x4aec8b,this['_injector']=_0x3ea187,this[_0x39e73a(0x1df)]=_0x265c08,this[_0x39e73a(0x413)]());}['dispose'](){const _0x237ae3=_0x540b42;super[_0x237ae3(0x26d)](),this[_0x237ae3(0x1e7)][_0x237ae3(0x368)](),this[_0x237ae3(0x2cd)][_0x237ae3(0x3fb)](_0x508c8f=>_0x508c8f[_0x237ae3(0x26d)]());}[_0x540b42(0x377)](_0x320e6d){const _0x1a2bef=_0x540b42;return this['_entities']['has'](_0x320e6d)?this[_0x1a2bef(0x2cd)][_0x1a2bef(0x26c)](_0x320e6d)[_0x1a2bef(0x210)]:this[_0x1a2bef(0x1e7)]['pipe'](_0x34f1d4[_0x1a2bef(0x3f4)](_0x91c1fe=>_0x91c1fe['unitID']===_0x320e6d),_0x34f1d4[_0x1a2bef(0x1b9)](_0x4787ea=>_0x4787ea[_0x1a2bef(0x210)]));}[_0x540b42(0x413)](){const _0x5c7d7b=_0x540b42;this['_univerInstanceService'][_0x5c7d7b(0x1bc)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x33f)])['pipe'](_0x34f1d4['takeUntil'](this[_0x5c7d7b(0x20c)]))['subscribe'](async _0x7d76af=>{const _0x5aac7f=_0x5c7d7b,_0x354d46=_0x7d76af['getUnitId'](),_0x27f200=await this[_0x5aac7f(0x43e)](_0x354d46);this[_0x5aac7f(0x1e7)][_0x5aac7f(0x28e)](_0x27f200),this[_0x5aac7f(0x2cd)]['set'](_0x354d46,_0x27f200);}),this[_0x5c7d7b(0x246)][_0x5c7d7b(0x1bc)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x270)])[_0x5c7d7b(0x3ba)](_0x34f1d4[_0x5c7d7b(0x342)](this[_0x5c7d7b(0x20c)]))[_0x5c7d7b(0x3ba)](_0x34f1d4[_0x5c7d7b(0x3f4)](_0x28902a=>!_0x28902a['getUnitId']()[_0x5c7d7b(0x435)]('__')))[_0x5c7d7b(0x289)](async _0x338ae4=>{const _0x2e8056=_0x5c7d7b,_0x124283=_0x338ae4['getUnitId'](),_0x5c5f0a=await this[_0x2e8056(0x2f1)](_0x124283);this[_0x2e8056(0x1e7)][_0x2e8056(0x28e)](_0x5c5f0a),this[_0x2e8056(0x2cd)]['set'](_0x124283,_0x5c5f0a);}),_0x34f1d4['merge'](this[_0x5c7d7b(0x246)][_0x5c7d7b(0x218)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x270)]),this[_0x5c7d7b(0x246)][_0x5c7d7b(0x218)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x33f)]))[_0x5c7d7b(0x3ba)](_0x34f1d4[_0x5c7d7b(0x342)](this['dispose$']))[_0x5c7d7b(0x289)](_0x83c762=>{const _0x396048=_0x5c7d7b,_0x506f03=_0x83c762[_0x396048(0x3c5)](),_0x7c0b64=this['_entities'][_0x396048(0x26c)](_0x506f03);_0x7c0b64&&(_0x7c0b64[_0x396048(0x26d)](),this['_entities']['delete'](_0x506f03));});}async[_0x540b42(0x43e)](_0x2ce6ac){const _0x25801e=_0x540b42,_0xf4ba8c=await this['_collabSessionService'][_0x25801e(0x1cf)](_0x2ce6ac),_0x581fff=this[_0x25801e(0x31b)][_0x25801e(0x2a2)](_0x4c605a,_0x2ce6ac,_0xf4ba8c);return _0x581fff[_0x25801e(0x424)](),_0x581fff;}async[_0x540b42(0x2f1)](_0x4b5ed){const _0x19d4a4=_0x540b42,_0x18d7cc=await this[_0x19d4a4(0x1df)][_0x19d4a4(0x1cf)](_0x4b5ed),_0x4b10c1=this[_0x19d4a4(0x31b)]['createInstance'](_0x39645a,_0x4b5ed,_0x18d7cc);return _0x4b10c1['init'](),_0x4b10c1;}};_0x1283a0=_0x165ca3([_0x4805ec(0x0,_0x42b304[_0x540b42(0x1e5)]),_0x4805ec(0x1,_0x42b304['Inject'](_0x42b304[_0x540b42(0x2f8)])),_0x4805ec(0x2,_0x42b304['Inject'](_0x41dc5f[_0x540b42(0x276)]))],_0x1283a0);const _0x13f46c=0x14,_0x56c37c=0xc8,_0x443213=0x4,_0xd989f=0x5;function _0x199333(_0xf16bef,_0x479ac0){const _0x4f0152=_0x540b42;let {radius:_0x107fe6,width:_0x3f9072,height:_0x25ad93}=_0x479ac0;_0x107fe6=_0x107fe6!=null?_0x107fe6:0x0,_0x3f9072=_0x3f9072!=null?_0x3f9072:0x1e,_0x25ad93=_0x25ad93!=null?_0x25ad93:0x1e;let _0x1866cb=0x0,_0x215a2a=0x0,_0x57632b=0x0;_0x1866cb=_0x215a2a=_0x57632b=Math[_0x4f0152(0x220)](_0x107fe6,_0x3f9072/0x2,_0x25ad93/0x2),_0xf16bef[_0x4f0152(0x23c)](),_0xf16bef[_0x4f0152(0x25f)](_0x1866cb,0x0),_0xf16bef[_0x4f0152(0x244)](_0x3f9072-_0x215a2a,0x0),_0xf16bef[_0x4f0152(0x1de)](_0x3f9072-_0x215a2a,_0x215a2a,_0x215a2a,Math['PI']*0x3/0x2,0x0,!0x1),_0xf16bef[_0x4f0152(0x244)](_0x3f9072,_0x25ad93-_0x57632b),_0xf16bef[_0x4f0152(0x1de)](_0x3f9072-_0x57632b,_0x25ad93-_0x57632b,_0x57632b,0x0,Math['PI']/0x2,!0x1),_0xf16bef['lineTo'](0x0,_0x25ad93),_0xf16bef[_0x4f0152(0x244)](0x0,_0x1866cb),_0xf16bef[_0x4f0152(0x1de)](_0x1866cb,_0x1866cb,_0x1866cb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xf16bef[_0x4f0152(0x30a)](),_0x479ac0['fill']&&(_0xf16bef[_0x4f0152(0x36d)](),_0xf16bef[_0x4f0152(0x410)]=_0x479ac0[_0x4f0152(0x2a9)],_0x479ac0[_0x4f0152(0x1cd)]==='evenodd'?_0xf16bef['fill'](_0x4f0152(0x20e)):_0xf16bef[_0x4f0152(0x2a9)](),_0xf16bef[_0x4f0152(0x327)]());}class _0x1f5103 extends _0x409358[_0x540b42(0x1ba)]{constructor(_0x17d2ff,_0x58f2dd){const _0x870c2f=_0x540b42;super(_0x17d2ff,_0x58f2dd),_0x432cc5(this,_0x870c2f(0x345)),_0x432cc5(this,_0x870c2f(0x38b)),(this['color']=_0x58f2dd==null?void 0x0:_0x58f2dd[_0x870c2f(0x345)],this['text']=_0x58f2dd==null?void 0x0:_0x58f2dd['text']);}static[_0x540b42(0x2d0)](_0x22f8f1,_0x14d5dc){const _0x4a98ee=_0x540b42,{text:_0x597cab,color:_0x3580a7}=_0x14d5dc;_0x22f8f1[_0x4a98ee(0x36d)](),_0x22f8f1[_0x4a98ee(0x3cf)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3a046e=_0x22f8f1[_0x4a98ee(0x3fd)](_0x597cab)[_0x4a98ee(0x294)],_0x3430de=Math[_0x4a98ee(0x220)](_0x3a046e+0x2*_0x443213,_0x56c37c);_0x199333(_0x22f8f1,{'height':_0x13f46c,'radius':0x4,'width':_0x3430de,'fill':_0x3580a7}),_0x22f8f1[_0x4a98ee(0x410)]=_0x4a98ee(0x2c5);const _0x3e85dc=_0x443213,_0x182a59=_0x13f46c-_0xd989f,_0x48adf9=_0x56c37c-0x2*_0x443213;if(_0x3a046e>_0x48adf9){let _0x421c7b='',_0x35e22a=0x0;for(const _0x2a15d2 of _0x597cab){const _0x10aba8=_0x22f8f1['measureText'](_0x2a15d2)[_0x4a98ee(0x294)];if(_0x35e22a+_0x10aba8<=_0x48adf9-_0x22f8f1[_0x4a98ee(0x3fd)](_0x4a98ee(0x2e0))['width'])_0x421c7b+=_0x2a15d2,_0x35e22a+=_0x10aba8;else{_0x421c7b+=_0x4a98ee(0x2e0);break;}}_0x22f8f1[_0x4a98ee(0x2d8)](_0x421c7b,_0x3e85dc,_0x182a59);}else _0x22f8f1['fillText'](_0x597cab,_0x3e85dc,_0x182a59);_0x22f8f1[_0x4a98ee(0x327)]();}['_draw'](_0x48beba){const _0x3ea130=_0x540b42;_0x1f5103[_0x3ea130(0x2d0)](_0x48beba,this);}}const _0x3d3f7e=_0x540b42(0x369),_0x26b8ce=_0x540b42(0x390),_0x2c949e=_0x540b42(0x1b2),_0x459003=0x6,_0x3f6915=1.5,_0x499257=0x4,_0xde2a7c=1.5,_0x16081c=_0x540b42(0x3f2);class _0x26fd2c{constructor(_0x450f54,_0x563318,_0xf5bb57,_0x28ddcc){const _0x1a0244=_0x540b42;_0x432cc5(this,'_shapes',[]),_0x432cc5(this,_0x1a0244(0x1ce),null),_0x432cc5(this,'_textBubble',null),_0x432cc5(this,'_anchorDot',null),_0x432cc5(this,_0x1a0244(0x3e2),null),_0x432cc5(this,_0x1a0244(0x269),null),(this[_0x1a0244(0x1ef)]=_0x450f54,this['_scene']=_0x563318,this[_0x1a0244(0x428)]=_0xf5bb57,this['_document']=_0x28ddcc,this['_render']());}set[_0x540b42(0x3f0)](_0x49ae1a){const _0x3a668e=_0x540b42;_0x49ae1a?(this[_0x3a668e(0x266)]&&this[_0x3a668e(0x266)]['hide'](),this['_textBubble']&&this[_0x3a668e(0x379)][_0x3a668e(0x32c)]()):(this[_0x3a668e(0x266)]&&this[_0x3a668e(0x266)][_0x3a668e(0x32c)](),this[_0x3a668e(0x379)]&&this[_0x3a668e(0x379)][_0x3a668e(0x344)]());}['dispose'](){const _0x5d8828=_0x540b42;for(const _0x165d9a of this['_shapes'])_0x165d9a[_0x5d8828(0x26d)]();this[_0x5d8828(0x379)]&&this[_0x5d8828(0x379)][_0x5d8828(0x26d)](),this[_0x5d8828(0x266)]&&this[_0x5d8828(0x266)][_0x5d8828(0x26d)](),this[_0x5d8828(0x1ce)]&&this['_anchor'][_0x5d8828(0x26d)](),this[_0x5d8828(0x269)]&&this[_0x5d8828(0x269)]();}[_0x540b42(0x326)](){const _0x45d71d=_0x540b42;var _0x25ee11;const {_docSkeleton:_0x3e816f,_document:_0x2a236c}=this,{color:_0x16f172,name:_0x3b4dee,ranges:_0x128073}=this[_0x45d71d(0x1ef)],_0x370de4=_0x2a236c[_0x45d71d(0x2d1)](),{docsLeft:_0x32b273,docsTop:_0x3cf9a1}=_0x370de4,_0x6972b8=new _0x16bb92['NodePositionConvertToCursor'](_0x370de4,_0x3e816f);for(const {startOffset:_0x1cd9ff,endOffset:_0x23a317,rangeType:_0x427ed2,segmentId:_0x545164,segmentPage:_0x445859,collapsed:_0x5b0a09,isActive:_0x3756d7}of _0x128073){const _0x2058f7=_0x3e816f[_0x45d71d(0x1b4)](_0x1cd9ff,!0x0,_0x545164,_0x445859);let _0x491c1e=_0x3e816f['findNodePositionByCharIndex'](_0x23a317,!0x0,_0x545164,_0x445859);if(_0x491c1e==null&&(_0x491c1e=_0x3e816f[_0x45d71d(0x1b4)](_0x23a317-0x1,!0x1,_0x545164,_0x445859)),_0x3756d7){const {contentBoxPointGroup:_0x1c3a5f}=_0x6972b8[_0x45d71d(0x22c)](_0x491c1e,_0x491c1e);if(_0x1c3a5f[_0x45d71d(0x349)]===0x0)continue;this[_0x45d71d(0x3e1)](_0x16f172,_0x1c3a5f,_0x32b273,_0x3cf9a1,_0x3b4dee),this[_0x45d71d(0x269)]=this[_0x45d71d(0x338)]();}if(_0x2058f7&&_0x491c1e){if(_0x427ed2===_0x42b304[_0x45d71d(0x340)][_0x45d71d(0x2a1)]){const _0x4e0bf3=new _0x16bb92[(_0x45d71d(0x1f9))](_0x370de4,_0x3e816f),{pointGroup:_0x43d1f3}=(_0x25ee11=_0x4e0bf3[_0x45d71d(0x22c)](_0x2058f7,_0x491c1e))!=null?_0x25ee11:{};if(_0x43d1f3==null||_0x43d1f3[_0x45d71d(0x349)]===0x0)continue;this[_0x45d71d(0x354)](_0x16f172,_0x43d1f3,_0x32b273,_0x3cf9a1);}else{if(!_0x5b0a09){const {borderBoxPointGroup:_0x148dee}=_0x6972b8[_0x45d71d(0x22c)](_0x2058f7,_0x491c1e);if(_0x148dee['length']===0x0)continue;this['_drawTextRange'](_0x16f172,_0x148dee,_0x32b273,_0x3cf9a1);}}}}}[_0x540b42(0x3e1)](_0x2a907f,_0x145f1b,_0x12810d,_0xff7c89,_0xc5b7ff){const _0x539307=_0x540b42,_0xb7331f=this[_0x539307(0x22d)](_0x145f1b),{left:_0x56c26e,top:_0x4dbb27,height:_0x120716}=_0xb7331f,_0x3bf0a8=this[_0x539307(0x2ce)](),_0x203647=_0xde2a7c/_0x3bf0a8,_0x3b0531=new _0x409358[(_0x539307(0x347))](_0x3d3f7e+_0x42b304[_0x539307(0x332)][_0x539307(0x370)](_0x459003),{'left':_0x56c26e+_0x12810d-_0x203647,'top':_0x4dbb27+_0xff7c89,'height':_0x120716,'width':_0x3f6915,'fill':_0x2a907f||_0x409358['getColor'](_0x42b304[_0x539307(0x3ea)][_0x539307(0x3be)],0x0),'strokeWidth':_0x203647,'stroke':_0x16081c,'evented':!0x0});this[_0x539307(0x1ce)]=_0x3b0531,this[_0x539307(0x3a3)][_0x539307(0x34f)](_0x3b0531,_0x16bb92[_0x539307(0x231)]);const _0x48ee68=new _0x409358[(_0x539307(0x347))](_0x3d3f7e+_0x42b304[_0x539307(0x332)][_0x539307(0x370)](_0x459003),{'left':_0x56c26e+_0x12810d-_0x203647,'top':_0x4dbb27+_0xff7c89-_0x499257/0x2,'height':_0x499257,'width':_0x499257,'fill':_0x2a907f||_0x409358[_0x539307(0x1e3)](_0x42b304[_0x539307(0x3ea)][_0x539307(0x3be)],0x0),'strokeWidth':0x0,'stroke':_0x2a907f||_0x409358[_0x539307(0x1e3)](_0x42b304['COLORS'][_0x539307(0x3be)],0x0),'evented':!0x1});this[_0x539307(0x266)]=_0x48ee68,this[_0x539307(0x3a3)][_0x539307(0x34f)](_0x48ee68,_0x16bb92['TEXT_RANGE_LAYER_INDEX']);const _0x1aa23c=new _0x1f5103(_0x3d3f7e+_0x42b304[_0x539307(0x332)][_0x539307(0x370)](_0x459003),{'left':_0x56c26e+_0x12810d-_0x203647,'top':_0x4dbb27+_0xff7c89-_0x13f46c,'text':_0xc5b7ff,'color':_0x2a907f});this[_0x539307(0x379)]=_0x1aa23c,this[_0x539307(0x3a3)]['addObject'](_0x1aa23c,_0x16bb92['TEXT_RANGE_LAYER_INDEX']),this[_0x539307(0x3f0)]=!0x1;}[_0x540b42(0x338)](){const _0x362cb3=_0x540b42,_0x2d693b=this[_0x362cb3(0x1ce)][_0x362cb3(0x3e4)][_0x362cb3(0x305)](()=>{const _0x47bd48=_0x362cb3;this[_0x47bd48(0x3f0)]=!0x0;}),_0x5aa62b=this[_0x362cb3(0x1ce)][_0x362cb3(0x1a9)][_0x362cb3(0x305)](()=>{const _0x49a89d=_0x362cb3;this[_0x49a89d(0x3e2)]&&clearTimeout(this[_0x49a89d(0x3e2)]),this[_0x49a89d(0x3e2)]=setTimeout(()=>{const _0x1897d9=_0x49a89d;this[_0x1897d9(0x3f0)]=!0x1;},0x7d0);});return()=>{const _0x2db34e=_0x362cb3;_0x2d693b[_0x2db34e(0x40a)](),_0x5aa62b[_0x2db34e(0x40a)]();};}[_0x540b42(0x2d4)](_0x4ebaf3,_0x39df20,_0x523b9f,_0xd8245a){const _0x4474e5=_0x540b42,_0x9bc295=new _0x42b304[(_0x4474e5(0x204))](_0x4ebaf3)[_0x4474e5(0x3ab)](0.2)[_0x4474e5(0x42a)](),_0x4441c2=new _0x409358[(_0x4474e5(0x215))](_0x26b8ce+_0x42b304[_0x4474e5(0x332)][_0x4474e5(0x370)](_0x459003),{'pointsGroup':_0x39df20,'fill':_0x9bc295||_0x409358[_0x4474e5(0x1e3)](_0x42b304[_0x4474e5(0x3ea)][_0x4474e5(0x3be)],0.2),'left':_0x523b9f,'top':_0xd8245a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4474e5(0x426)]['push'](_0x4441c2),this[_0x4474e5(0x3a3)][_0x4474e5(0x34f)](_0x4441c2,_0x16bb92[_0x4474e5(0x231)]);}[_0x540b42(0x354)](_0x333f83,_0x20f05b,_0x18369c,_0x5070c8){const _0x28a63d=_0x540b42,_0x45bce0=new _0x42b304[(_0x28a63d(0x204))](_0x333f83)['setAlpha'](0.2)['toRgbString'](),_0x54c32e=new _0x409358[(_0x28a63d(0x215))](_0x2c949e+_0x42b304[_0x28a63d(0x332)]['generateRandomId'](_0x459003),{'pointsGroup':_0x20f05b,'fill':_0x45bce0||_0x409358[_0x28a63d(0x1e3)](_0x42b304[_0x28a63d(0x3ea)]['black'],0.2),'left':_0x18369c,'top':_0x5070c8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28a63d(0x426)][_0x28a63d(0x2ef)](_0x54c32e),this[_0x28a63d(0x3a3)][_0x28a63d(0x34f)](_0x54c32e,_0x16bb92[_0x28a63d(0x231)]);}['_getAnchorBounding'](_0x32a2a3){const _0x2bd4d9=_0x32a2a3[0x0],_0x78cbbd=_0x2bd4d9[0x0],_0x514353=_0x2bd4d9[0x2],{x:_0x1a0fab,y:_0x2e95c2}=_0x78cbbd,{x:_0x2bcdf2,y:_0x56050e}=_0x514353;return{'left':_0x1a0fab,'top':_0x2e95c2,'width':_0x2bcdf2-_0x1a0fab,'height':_0x56050e-_0x2e95c2};}[_0x540b42(0x2ce)](){const _0x370f50=_0x540b42,{scaleX:_0x8bf2b,scaleY:_0x358c7f}=this['_scene'][_0x370f50(0x24d)]();return Math[_0x370f50(0x3cd)](_0x8bf2b,_0x358c7f);}}var _0x1ded05=Object[_0x540b42(0x2fc)],_0x2aae77=(_0x290ee,_0x4eb9de,_0x7ddb0d,_0x239771)=>{const _0x34c59c=_0x540b42;for(var _0x284cd4=_0x239771>0x1?void 0x0:_0x239771?_0x1ded05(_0x4eb9de,_0x7ddb0d):_0x4eb9de,_0x17db62=_0x290ee[_0x34c59c(0x349)]-0x1,_0x1fcfbb;_0x17db62>=0x0;_0x17db62--)(_0x1fcfbb=_0x290ee[_0x17db62])&&(_0x284cd4=_0x1fcfbb(_0x284cd4)||_0x284cd4);return _0x284cd4;},_0x4ad5e0=(_0x18bfd6,_0x25ef8e)=>(_0x232840,_0x4e2178)=>_0x25ef8e(_0x232840,_0x4e2178,_0x18bfd6);let _0x50cbf7=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x928961,_0x302c3b,_0x3a1f41,_0x5917b1,_0xc4bb79){const _0xe05ad=_0x540b42;super(),_0x432cc5(this,'_cursorShapes',[]),_0x432cc5(this,_0xe05ad(0x2c9),[]),(this[_0xe05ad(0x33b)]=_0x928961,this[_0xe05ad(0x303)]=_0x302c3b,this[_0xe05ad(0x3b0)]=_0x3a1f41,this[_0xe05ad(0x3c3)]=_0x5917b1,this['_themeService']=_0xc4bb79,this[_0xe05ad(0x413)]());}[_0x540b42(0x413)](){const _0x4cddc1=_0x540b42,_0x248589=this['_context'][_0x4cddc1(0x1f3)],_0x350220=this[_0x4cddc1(0x303)];this[_0x4cddc1(0x2d2)](_0x34f1d4[_0x4cddc1(0x41e)]([this[_0x4cddc1(0x3b0)][_0x4cddc1(0x377)](_0x248589),this['_themeService'][_0x4cddc1(0x263)]])[_0x4cddc1(0x3ba)](_0x18aa85[_0x4cddc1(0x25b)](([_0x2e7273,_0x2046e1])=>({'skeleton':_0x350220['getSkeleton'](),'cursors':[..._0x2e7273[_0x4cddc1(0x3ef)]()]['flatMap'](_0x20e47d=>({..._0x20e47d,'color':_0x2046e1[_0x20e47d['color']]}))})))[_0x4cddc1(0x289)](_0x5a0144=>{const _0x98a0dc=_0x4cddc1;if(this[_0x98a0dc(0x3b8)](),_0x5a0144){const {skeleton:_0x807e9d,cursors:_0x38441e}=_0x5a0144;this[_0x98a0dc(0x1e4)](_0x807e9d,_0x38441e);}})),this['_initResize'](),this[_0x4cddc1(0x420)]();}[_0x540b42(0x1e4)](_0x18f443,_0x4cd413){const _0x3ef50d=_0x540b42,{scene:_0x52e771,mainComponent:_0x5c54d8}=this['_context'],_0x273d67=_0x4cd413[_0x3ef50d(0x25b)](_0x46acbd=>new _0x26fd2c(_0x46acbd,_0x52e771,_0x18f443,_0x5c54d8));this['_cursorShapes']=_0x273d67,this[_0x3ef50d(0x2c9)]=_0x4cd413;}[_0x540b42(0x1b6)](){const _0x1e1c22=_0x540b42;this[_0x1e1c22(0x3b8)]();const {scene:_0x3d2a5d,mainComponent:_0x3eea5a}=this[_0x1e1c22(0x33b)],_0x130e97=this[_0x1e1c22(0x303)][_0x1e1c22(0x1cb)](),_0x4326b1=this['_cursors'][_0x1e1c22(0x25b)](_0x3295b0=>new _0x26fd2c(_0x3295b0,_0x3d2a5d,_0x130e97,_0x3eea5a));this['_cursorShapes']=_0x4326b1;}[_0x540b42(0x3b8)](){const _0x421241=_0x540b42;this[_0x421241(0x3ec)][_0x421241(0x3fb)](_0x4d7f7c=>_0x4d7f7c[_0x421241(0x26d)]()),this[_0x421241(0x3ec)]=[];}['_initCommandExecutedListener'](){const _0x298a1a=_0x540b42,_0x4273b6=[_0x16bb92[_0x298a1a(0x3c0)]['id']];this[_0x298a1a(0x2d2)](this[_0x298a1a(0x3c3)][_0x298a1a(0x239)](_0x4017c7=>{const _0x4a4cca=_0x298a1a;_0x4273b6[_0x4a4cca(0x3db)](_0x4017c7['id'])&&_0x4017c7['params'][_0x4a4cca(0x1f3)]===this[_0x4a4cca(0x33b)][_0x4a4cca(0x1f3)]&&this[_0x4a4cca(0x1b6)]();}));}[_0x540b42(0x2ab)](){const _0x42dec8=_0x540b42;this['disposeWithMe'](_0x42b304[_0x42dec8(0x286)](this[_0x42dec8(0x33b)]['engine']['onTransformChange$'])['pipe'](_0x18aa85['filter'](_0x4baa51=>_0x4baa51[_0x42dec8(0x1af)]===_0x409358[_0x42dec8(0x248)][_0x42dec8(0x2d3)]),_0x18aa85['throttleTime'](0x10))[_0x42dec8(0x289)](()=>{const _0x300f60=_0x42dec8;this[_0x300f60(0x1b6)]();}));}};_0x50cbf7=_0x2aae77([_0x4ad5e0(0x1,_0x42b304[_0x540b42(0x40f)](_0x4e9cff[_0x540b42(0x301)])),_0x4ad5e0(0x2,_0x42b304[_0x540b42(0x40f)](_0x1283a0)),_0x4ad5e0(0x3,_0x42b304[_0x540b42(0x22f)]),_0x4ad5e0(0x4,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x1e0)]))],_0x50cbf7);const _0xc6f7ea=0x1,_0x5b6387=1.5;class _0x41d68b extends _0x409358[_0x540b42(0x1ba)]{constructor(_0x572b54,_0x3a76bd){const _0x307302=_0x540b42;super(_0x572b54,_0x3a76bd),_0x432cc5(this,'_color'),_0x432cc5(this,_0x307302(0x1b0),!0x1),_0x432cc5(this,_0x307302(0x3e8)),_0x432cc5(this,_0x307302(0x37d),''),_0x432cc5(this,_0x307302(0x21d),_0x307302(0x221)),_0x432cc5(this,'_backgroundColor'),(_0x3a76bd&&this[_0x307302(0x1da)](_0x3a76bd),this[_0x307302(0x3e4)]['subscribeEvent'](()=>this[_0x307302(0x1da)]({'hovered':!0x0})),this[_0x307302(0x1a9)]['subscribeEvent'](()=>this[_0x307302(0x1da)]({'hovered':!0x1})));}[_0x540b42(0x1da)](_0x473f3f){const _0x1ee945=_0x540b42;var _0x639206,_0x1fbe83,_0x1156e4,_0x384817,_0x78598f,_0x34b2c6;this[_0x1ee945(0x1d7)]=(_0x639206=_0x473f3f[_0x1ee945(0x345)])!=null?_0x639206:this[_0x1ee945(0x1d7)],this[_0x1ee945(0x1b0)]=(_0x1fbe83=_0x473f3f[_0x1ee945(0x1d9)])!=null?_0x1fbe83:this[_0x1ee945(0x1b0)],this[_0x1ee945(0x3e8)]=(_0x1156e4=_0x473f3f[_0x1ee945(0x32b)])!=null?_0x1156e4:this[_0x1ee945(0x3e8)],this['_name']=(_0x384817=_0x473f3f['name'])!=null?_0x384817:this[_0x1ee945(0x37d)],this[_0x1ee945(0x21d)]=(_0x78598f=_0x473f3f[_0x1ee945(0x243)])!=null?_0x78598f:this[_0x1ee945(0x21d)],this['_backgroundColor']=(_0x34b2c6=_0x473f3f[_0x1ee945(0x3e0)])!=null?_0x34b2c6:this[_0x1ee945(0x422)],this['transformByState']({'width':_0x473f3f[_0x1ee945(0x294)],'height':_0x473f3f[_0x1ee945(0x323)]});}[_0x540b42(0x250)](_0x3b416a){const _0x24a1a5=_0x540b42,{row:_0x5e311b,column:_0x46948a}=_0x3b416a;if(_0x5e311b>=this[_0x24a1a5(0x3e8)]['startRow']&&_0x5e311b<=this[_0x24a1a5(0x3e8)]['endRow']&&_0x46948a>=this[_0x24a1a5(0x3e8)][_0x24a1a5(0x299)]&&_0x46948a<=this[_0x24a1a5(0x3e8)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x24a1a5(0x1da)]({'hovered':!0x1});}[_0x540b42(0x415)](_0x3aec45){return!0x1;}[_0x540b42(0x401)](_0x3fdfb0){const _0xe84c2e=_0x540b42;_0x409358[_0xe84c2e(0x347)]['drawWith'](_0x3fdfb0,{'width':this[_0xe84c2e(0x294)],'height':this[_0xe84c2e(0x323)],'strokeWidth':_0x5b6387,'stroke':this[_0xe84c2e(0x1d7)],'evented':!0x1,'fill':this[_0xe84c2e(0x422)]}),this[_0xe84c2e(0x1b0)]&&(_0x3fdfb0[_0xe84c2e(0x36d)](),_0x3fdfb0[_0xe84c2e(0x2ca)](0x1,0x0,0x0,0x1,this[_0xe84c2e(0x294)],this[_0xe84c2e(0x21d)]===_0xe84c2e(0x20d)?0x0:-0x14),_0x1f5103[_0xe84c2e(0x2d0)](_0x3fdfb0,{'text':this['_name'],'color':this[_0xe84c2e(0x1d7)]}),_0x3fdfb0[_0xe84c2e(0x327)]());}}var _0x58f444=Object[_0x540b42(0x2fc)],_0x4fa104=(_0x3194e7,_0x432479,_0x3e53bb,_0x40f247)=>{const _0x342c78=_0x540b42;for(var _0x318019=_0x40f247>0x1?void 0x0:_0x40f247?_0x58f444(_0x432479,_0x3e53bb):_0x432479,_0x5d2c54=_0x3194e7[_0x342c78(0x349)]-0x1,_0x5e4c3e;_0x5d2c54>=0x0;_0x5d2c54--)(_0x5e4c3e=_0x3194e7[_0x5d2c54])&&(_0x318019=_0x5e4c3e(_0x318019)||_0x318019);return _0x318019;},_0x58b83d=(_0x236405,_0x583e5b)=>(_0x3c0c87,_0x16d860)=>_0x583e5b(_0x3c0c87,_0x16d860,_0x236405);const _0x279c16=0x1389;let _0x50b460=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x184fbc,_0x3c4cd1,_0x5dcb51,_0x3482e2){const _0x3fa4e3=_0x540b42;super(),_0x432cc5(this,_0x3fa4e3(0x2c9),new Set()),_0x432cc5(this,_0x3fa4e3(0x3a4),null),(this[_0x3fa4e3(0x33b)]=_0x184fbc,this[_0x3fa4e3(0x38c)]=_0x3c4cd1,this[_0x3fa4e3(0x3b0)]=_0x5dcb51,this[_0x3fa4e3(0x242)]=_0x3482e2,this[_0x3fa4e3(0x413)]());}[_0x540b42(0x413)](){const _0x272383=_0x540b42;this[_0x272383(0x38c)][_0x272383(0x260)][_0x272383(0x3ba)](_0x18aa85['takeUntil'](this['dispose$']),_0x18aa85[_0x272383(0x1b9)](_0x21a784=>{const _0x57a6cc=_0x272383;if(_0x21a784){const _0xff8368=_0x21a784['sheetId'];return _0x34f1d4[_0x57a6cc(0x41e)](this[_0x57a6cc(0x3b0)][_0x57a6cc(0x377)](this[_0x57a6cc(0x33b)][_0x57a6cc(0x1f3)]),this['_themeService'][_0x57a6cc(0x263)])[_0x57a6cc(0x3ba)](_0x18aa85['map'](([_0x11467e,_0x5c2b1c])=>{const _0x678870=_0x57a6cc,_0x1e3076=new Map();return _0x11467e[_0x678870(0x3fb)]((_0xeeafdc,_0x272840)=>{const _0x6af535=_0x678870;if(_0xeeafdc[_0x6af535(0x229)]===_0xff8368){const _0x4ff907={..._0xeeafdc};_0x4ff907[_0x6af535(0x345)]=_0x5c2b1c[_0xeeafdc['color']],_0x1e3076[_0x6af535(0x1e2)](_0x272840,_0x4ff907);}}),{'skeleton':_0x21a784,'cursors':_0x1e3076};}));}return _0x34f1d4['of']({'skeleton':null,'cursors':new Map()});}))[_0x272383(0x289)](({skeleton:_0x1f0ff6,cursors:_0x1b4a64})=>{const _0x1c51b0=_0x272383;this[_0x1c51b0(0x3b8)](),_0x1f0ff6&&this['_updateCollabCursors'](_0x1f0ff6,_0x1b4a64);}),this[_0x272383(0x38c)][_0x272383(0x260)][_0x272383(0x289)](_0x52ec04=>{const _0x444395=_0x272383;if(_0x52ec04==null)return;const {skeleton:_0x5e5769}=_0x52ec04,{scene:_0x1404d9}=this[_0x444395(0x33b)];_0x1404d9[_0x444395(0x2d6)]['subscribeEvent'](_0x42b304[_0x444395(0x1fd)](_0x198333=>{const _0x4520f9=_0x444395;var _0x1556e9,_0x4fc1bb;const {offsetX:_0x5a300b,offsetY:_0x361356}=_0x198333,{x:_0x21baab,y:_0x44e3d2}=_0x1404d9[_0x4520f9(0x2a5)](_0x409358['Vector2'][_0x4520f9(0x238)]([_0x5a300b,_0x361356])),{scaleX:_0x78773e,scaleY:_0x45c09f}=_0x1404d9['getAncestorScale'](),_0x1f3190=_0x1404d9['getViewport'](_0x409358[_0x4520f9(0x222)][_0x4520f9(0x42c)]),_0x2c1968=_0x1404d9[_0x4520f9(0x376)](_0x409358[_0x4520f9(0x3d1)]['FromArray']([_0x21baab,_0x44e3d2]),_0x1f3190),_0x11b5fd=_0x5e5769[_0x4520f9(0x1f1)](_0x5a300b,_0x361356,_0x78773e,_0x45c09f,_0x2c1968);((_0x1556e9=this[_0x4520f9(0x3a4)])==null?void 0x0:_0x1556e9[_0x4520f9(0x402)])===_0x11b5fd[_0x4520f9(0x402)]&&((_0x4fc1bb=this[_0x4520f9(0x3a4)])==null?void 0x0:_0x4fc1bb[_0x4520f9(0x287)])===_0x11b5fd['row']||this[_0x4520f9(0x2c9)][_0x4520f9(0x3fb)](_0x454221=>{const _0x5468ce=_0x4520f9;_0x454221[_0x5468ce(0x250)](_0x11b5fd);});},0x64));});}['_updateCollabCursors'](_0x245de2,_0x504158){const _0x47eea3=_0x540b42;var _0x5db6f6;const _0x3edbeb=(_0x5db6f6=this[_0x47eea3(0x38c)][_0x47eea3(0x2c0)]())==null?void 0x0:_0x5db6f6[_0x47eea3(0x283)];if(!_0x3edbeb)return;const _0x1cf4e3=this['_getSheetObject']();if(!_0x1cf4e3)return;this[_0x47eea3(0x2c9)][_0x47eea3(0x3fb)](_0x26e799=>{const _0x251c61=_0x47eea3;_0x26e799[_0x251c61(0x383)]();});const {scene:_0x1d07c}=_0x1cf4e3,_0x18e15e=_0x4d8525(Array[_0x47eea3(0x3dd)](_0x504158['values']()))['map'](_0x43d2a4=>{const _0xcdf9c2=_0x47eea3,{color:_0x1a1311,range:_0x2beb0b,name:_0x11d109,selection:_0x446b2e,sheetID:_0x4f0e98}=_0x43d2a4,{startColumn:_0x3cf27b,startRow:_0x4835c2,endColumn:_0x55f111,endRow:_0x36644c}=_0x2beb0b,_0x2d3c9d=_0x58ab2b[_0xcdf9c2(0x351)](_0x4835c2,_0x3cf27b,_0x1d07c,_0x3edbeb),_0x140493=_0x58ab2b[_0xcdf9c2(0x351)](_0x36644c,_0x55f111,_0x1d07c,_0x3edbeb),{columnHeaderHeightAndMarginTop:_0x4e3c05}=_0x3edbeb,{startX:_0x417512,startY:_0x25a04d}=_0x2d3c9d,{endX:_0x500187,endY:_0x3a02cb}=_0x140493,_0x3c9241=_0x500187-_0x417512,_0x1dca4a=_0x3a02cb-_0x25a04d,_0x2acd5e={'labelPosition':_0x25a04d-_0x4e3c05>=_0x13f46c?'top':_0xcdf9c2(0x20d),'sheetID':_0x4f0e98,'range':_0x2beb0b,'color':_0x1a1311,'name':_0x11d109,'selection':_0x446b2e,'left':_0x417512,'top':_0x25a04d,'width':_0x3c9241,'height':_0x1dca4a,'evented':!0x1,'zIndex':_0x279c16};return new _0x41d68b(_0x11d109,_0x2acd5e);});_0x1d07c[_0x47eea3(0x382)](_0x18e15e,_0xc6f7ea),this[_0x47eea3(0x2c9)]=new Set(_0x18e15e);}['_removeCollabCursors'](){const _0x475c48=_0x540b42;var _0x4a6319;(_0x4a6319=this['_cursors'])==null||_0x4a6319[_0x475c48(0x3fb)](_0x6a0de=>_0x6a0de[_0x475c48(0x26d)]());}[_0x540b42(0x213)](){const _0x13d7c6=_0x540b42;return _0x58ab2b[_0x13d7c6(0x434)](this[_0x13d7c6(0x33b)][_0x13d7c6(0x3b4)],this[_0x13d7c6(0x33b)]);}};_0x50b460=_0x4fa104([_0x58b83d(0x1,_0x42b304[_0x540b42(0x40f)](_0x58ab2b['SheetSkeletonManagerService'])),_0x58b83d(0x2,_0x42b304[_0x540b42(0x40f)](_0x1283a0)),_0x58b83d(0x3,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x1e0)]))],_0x50b460);function _0x4d8525(_0x2021ec){const _0x8f5be1=_0x540b42,_0x43f657=new Map();return _0x2021ec[_0x8f5be1(0x3fb)](_0x408672=>{const _0x52bd99=_0x8f5be1;if(_0x43f657['has'](_0x408672[_0x52bd99(0x247)])){const _0x560187=_0x43f657[_0x52bd99(0x26c)](_0x408672[_0x52bd99(0x247)]);_0x560187[_0x52bd99(0x1dd)]+=',\x20'+_0x408672[_0x52bd99(0x1dd)];}else _0x43f657[_0x52bd99(0x1e2)](_0x408672[_0x52bd99(0x247)],_0x408672);}),Array[_0x8f5be1(0x3dd)](_0x43f657['values']());}var _0x2409fc=function(){const _0x1c2e53=_0x540b42;return _0x2409fc=Object[_0x1c2e53(0x3e9)]||function(_0x44e068){const _0x3307ea=_0x1c2e53;for(var _0x41d914,_0x30fafd=0x1,_0x3a081a=arguments[_0x3307ea(0x349)];_0x30fafd<_0x3a081a;_0x30fafd++){_0x41d914=arguments[_0x30fafd];for(var _0x41100f in _0x41d914)Object['prototype'][_0x3307ea(0x1ee)]['call'](_0x41d914,_0x41100f)&&(_0x44e068[_0x41100f]=_0x41d914[_0x41100f]);}return _0x44e068;},_0x2409fc[_0x1c2e53(0x1bb)](this,arguments);},_0xe507d4=function(_0x4b6109,_0x45fb00){const _0x230eb4=_0x540b42;var _0x500bec={};for(var _0x739d55 in _0x4b6109)Object[_0x230eb4(0x1ec)][_0x230eb4(0x1ee)][_0x230eb4(0x207)](_0x4b6109,_0x739d55)&&_0x45fb00[_0x230eb4(0x33c)](_0x739d55)<0x0&&(_0x500bec[_0x739d55]=_0x4b6109[_0x739d55]);if(_0x4b6109!=null&&typeof Object[_0x230eb4(0x34b)]==_0x230eb4(0x295)){for(var _0x55c66c=0x0,_0x739d55=Object[_0x230eb4(0x34b)](_0x4b6109);_0x55c66c<_0x739d55[_0x230eb4(0x349)];_0x55c66c++)_0x45fb00[_0x230eb4(0x33c)](_0x739d55[_0x55c66c])<0x0&&Object[_0x230eb4(0x1ec)]['propertyIsEnumerable'][_0x230eb4(0x207)](_0x4b6109,_0x739d55[_0x55c66c])&&(_0x500bec[_0x739d55[_0x55c66c]]=_0x4b6109[_0x739d55[_0x55c66c]]);}return _0x500bec;},_0x9f109f=_0x295c09[_0x540b42(0x2bd)](function(_0x9ed686,_0x454f66){const _0x17abc5=_0x540b42;var _0x45eeac=_0x9ed686[_0x17abc5(0x329)],_0x2a0184=_0x9ed686['id'],_0x4c187b=_0x9ed686[_0x17abc5(0x1b8)],_0x2b8703=_0x9ed686[_0x17abc5(0x282)],_0x5bdc91=_0xe507d4(_0x9ed686,[_0x17abc5(0x329),'id',_0x17abc5(0x1b8),_0x17abc5(0x282)]),_0x349f02=_0x17abc5(0x39c)[_0x17abc5(0x311)](_0x2a0184,'\x20')[_0x17abc5(0x311)](_0x4c187b||'')[_0x17abc5(0x399)](),_0x12eda6=_0x295c09[_0x17abc5(0x279)]('_'[_0x17abc5(0x311)](_0x1af5d4()));return _0x36042a(_0x45eeac,''[_0x17abc5(0x311)](_0x2a0184),{'defIds':_0x45eeac['defIds'],'idSuffix':_0x12eda6[_0x17abc5(0x23b)]},_0x2409fc({'ref':_0x454f66,'className':_0x349f02},_0x5bdc91),_0x2b8703);});function _0x36042a(_0x4631e7,_0x5220ec,_0x592756,_0x1c036a,_0x10344f){const _0x47735a=_0x540b42;return _0x295c09[_0x47735a(0x3f8)](_0x4631e7[_0x47735a(0x384)],_0x2409fc(_0x2409fc({'key':_0x5220ec},_0x56749f(_0x4631e7,_0x592756,_0x10344f)),_0x1c036a),(_0x690a48(_0x4631e7,_0x592756)['children']||[])['map'](function(_0x9c04f2,_0x1585bb){const _0x3b79ee=_0x47735a;return _0x36042a(_0x9c04f2,''['concat'](_0x5220ec,'-')[_0x3b79ee(0x311)](_0x4631e7['tag'],'-')[_0x3b79ee(0x311)](_0x1585bb),_0x592756,void 0x0,_0x10344f);}));}function _0x56749f(_0x1923b8,_0x5073e2,_0x51d919){const _0x3bbf84=_0x540b42;var _0x326d8a=_0x2409fc({},_0x1923b8[_0x3bbf84(0x313)]);_0x51d919!=null&&_0x51d919['colorChannel1']&&_0x326d8a[_0x3bbf84(0x2a9)]==='colorChannel1'&&(_0x326d8a[_0x3bbf84(0x2a9)]=_0x51d919[_0x3bbf84(0x356)]),_0x1923b8[_0x3bbf84(0x384)]===_0x3bbf84(0x1fa)&&_0x326d8a['id']&&(_0x326d8a['id']=_0x326d8a['id']+_0x5073e2[_0x3bbf84(0x406)]),Object['entries'](_0x326d8a)[_0x3bbf84(0x3fb)](function(_0x5db902){const _0x187b34=_0x3bbf84;var _0x4c954f=_0x5db902[0x0],_0x39adf9=_0x5db902[0x1];_0x4c954f===_0x187b34(0x1fa)&&typeof _0x39adf9==_0x187b34(0x1f2)&&(_0x326d8a[_0x4c954f]=_0x39adf9[_0x187b34(0x416)](/url\(#(.*)\)/,'url(#$1'[_0x187b34(0x311)](_0x5073e2[_0x187b34(0x406)],')')));});var _0x3e8dba=_0x5073e2[_0x3bbf84(0x28c)];return!_0x3e8dba||_0x3e8dba[_0x3bbf84(0x349)]===0x0||(_0x1923b8[_0x3bbf84(0x384)]===_0x3bbf84(0x372)&&_0x326d8a[_0x3bbf84(0x30d)]&&(_0x326d8a[_0x3bbf84(0x30d)]=_0x326d8a['xlink:href']+_0x5073e2[_0x3bbf84(0x406)]),Object[_0x3bbf84(0x36b)](_0x326d8a)[_0x3bbf84(0x3fb)](function(_0x31f10d){const _0x5caa52=_0x3bbf84;var _0x5a8c37=_0x31f10d[0x0],_0x5ee3ac=_0x31f10d[0x1];typeof _0x5ee3ac==_0x5caa52(0x1f2)&&(_0x326d8a[_0x5a8c37]=_0x5ee3ac['replace'](/url\(#(.*)\)/,_0x5caa52(0x3d0)[_0x5caa52(0x311)](_0x5073e2[_0x5caa52(0x406)],')')));})),_0x326d8a;}function _0x690a48(_0x52d4f3,_0x63a2e8){const _0x556f56=_0x540b42;var _0x172037,_0x95e4cb=_0x63a2e8[_0x556f56(0x28c)];return!_0x95e4cb||_0x95e4cb[_0x556f56(0x349)]===0x0?_0x52d4f3:_0x52d4f3[_0x556f56(0x384)]==='defs'&&(!((_0x172037=_0x52d4f3[_0x556f56(0x3d3)])===null||_0x172037===void 0x0)&&_0x172037[_0x556f56(0x349)])?_0x2409fc(_0x2409fc({},_0x52d4f3),{'children':_0x52d4f3[_0x556f56(0x3d3)][_0x556f56(0x25b)](function(_0x4eb766){const _0x472f25=_0x556f56;return typeof _0x4eb766['attrs']['id']==_0x472f25(0x1f2)&&_0x95e4cb&&_0x95e4cb['indexOf'](_0x4eb766['attrs']['id'])>-0x1?_0x2409fc(_0x2409fc({},_0x4eb766),{'attrs':_0x2409fc(_0x2409fc({},_0x4eb766[_0x472f25(0x313)]),{'id':_0x4eb766[_0x472f25(0x313)]['id']+_0x63a2e8[_0x472f25(0x406)]})}):_0x4eb766;})}):_0x52d4f3;}function _0x1af5d4(){const _0x59b6cd=_0x540b42;return Math[_0x59b6cd(0x355)]()[_0x59b6cd(0x440)](0x24)[_0x59b6cd(0x1b1)](0x2,0x8);}_0x9f109f[_0x540b42(0x2b0)]=_0x540b42(0x336);var _0x14a6a3={'tag':_0x540b42(0x257),'attrs':{'fill':_0x540b42(0x258),'viewBox':_0x540b42(0x253),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x540b42(0x367)},'children':[{'tag':_0x540b42(0x261),'attrs':{'stroke':_0x540b42(0x2fa),'d':_0x540b42(0x443),'strokeLinecap':'round','strokeLinejoin':_0x540b42(0x24a),'strokeWidth':1.2}}]},{'tag':_0x540b42(0x3bf),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x540b42(0x261),'attrs':{'fill':_0x540b42(0x363),'d':_0x540b42(0x1a8)}}]}]}],'defIds':[_0x540b42(0x419)]},_0x3caf0b=_0x295c09[_0x540b42(0x2bd)](function(_0x7e2efd,_0x43d69d){const _0x1d874a=_0x540b42;return _0x295c09['createElement'](_0x9f109f,Object[_0x1d874a(0x3e9)]({},_0x7e2efd,{'id':_0x1d874a(0x3d6),'ref':_0x43d69d,'icon':_0x14a6a3}));});_0x3caf0b[_0x540b42(0x2b0)]='OffLineSingle';var _0x492342={'tag':_0x540b42(0x257),'attrs':{'fill':_0x540b42(0x258),'viewBox':'0\x200\x2017\x2016','width':_0x540b42(0x40e),'height':_0x540b42(0x40e)},'children':[{'tag':'g','attrs':{'clipPath':_0x540b42(0x271)},'children':[{'tag':_0x540b42(0x261),'attrs':{'stroke':_0x540b42(0x2fa),'d':_0x540b42(0x3d2),'strokeLinecap':_0x540b42(0x24a),'strokeLinejoin':_0x540b42(0x24a),'strokeWidth':1.2}}]},{'tag':_0x540b42(0x3bf),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x540b42(0x42f)},'children':[{'tag':_0x540b42(0x261),'attrs':{'fill':'#fff','d':_0x540b42(0x1a8),'transform':_0x540b42(0x223)}}]}]}],'defIds':[_0x540b42(0x42f)]},_0x1f5772=_0x295c09[_0x540b42(0x2bd)](function(_0x5bfe79,_0x4ec227){const _0x2c93ce=_0x540b42;return _0x295c09[_0x2c93ce(0x3f8)](_0x9f109f,Object[_0x2c93ce(0x3e9)]({},_0x5bfe79,{'id':'on-line-single','ref':_0x4ec227,'icon':_0x492342}));});_0x1f5772[_0x540b42(0x2b0)]='OnLineSingle';function _0x3c0fdf(_0x14c372){const _0x576735=_0x540b42;switch(_0x14c372){case _0x41dc5f[_0x576735(0x362)][_0x576735(0x227)]:return'collabStatus.offline';case _0x41dc5f[_0x576735(0x362)][_0x576735(0x409)]:return _0x576735(0x226);case _0x41dc5f[_0x576735(0x362)]['FETCH_MISS']:return _0x576735(0x27d);case _0x41dc5f[_0x576735(0x362)][_0x576735(0x26b)]:return _0x576735(0x2f9);case _0x41dc5f['CollaborationStatus'][_0x576735(0x2f2)]:case _0x41dc5f[_0x576735(0x362)][_0x576735(0x35d)]:return'collabStatus.syncing';case _0x41dc5f[_0x576735(0x362)][_0x576735(0x306)]:case _0x41dc5f[_0x576735(0x362)][_0x576735(0x2a7)]:return _0x576735(0x431);}}function _0x57b7f0(_0x4be8fb){const _0x56abb1=_0x540b42,{status$:_0x2f39bc}=_0x4be8fb,_0x2e91d4=_0x264d8f['useObservable'](_0x2f39bc,_0x41dc5f[_0x56abb1(0x362)][_0x56abb1(0x26b)]),_0x173266=_0x264d8f[_0x56abb1(0x245)](_0x42b304[_0x56abb1(0x214)]),_0x21a74a=_0x264d8f[_0x56abb1(0x245)](_0x41dc5f[_0x56abb1(0x276)]),_0x21bc6c=_0x2e91d4!==_0x41dc5f[_0x56abb1(0x362)][_0x56abb1(0x227)],_0x5d5555=_0x173266['t'](_0x3c0fdf(_0x2e91d4)),_0x944cbd=_0x21bc6c?_0x4d12c8[_0x56abb1(0x1d4)](_0x1f5772,{}):_0x4d12c8[_0x56abb1(0x1d4)](_0x3caf0b,{}),_0xb68fb3=_0x295c09[_0x56abb1(0x21b)](()=>{const _0x5c83a8=_0x56abb1;_0x21bc6c||_0x21a74a[_0x5c83a8(0x29a)]();},[_0x21bc6c,_0x21a74a]);function _0x38b2fb(){const _0x5b4886=_0x56abb1;return _0x4d12c8[_0x5b4886(0x1f7)](_0x5b4886(0x27e),{'className':_0x5b4886(0x1d1),'onClick':_0xb68fb3,'children':[_0x4d12c8[_0x5b4886(0x1d4)](_0x5b4886(0x27e),{'className':_0x2e5ccb[_0x5b4886(0x333)](_0x5b4886(0x30c),_0x21bc6c?'univer-text-green-500':_0x5b4886(0x392)),'children':_0x944cbd}),_0x4d12c8[_0x5b4886(0x1d4)]('div',{'className':_0x5b4886(0x29e),'children':_0x5d5555})]});}return _0x21bc6c?_0x38b2fb():_0x4d12c8[_0x56abb1(0x1d4)](_0x2e5ccb[_0x56abb1(0x3c2)],{'title':_0x173266['t'](_0x56abb1(0x2f3)),'children':_0x38b2fb()});}var _0x3360ec=Object['getOwnPropertyDescriptor'],_0x5b5135=(_0x6333bc,_0x21054f,_0x2aa315,_0x3edc34)=>{const _0x4c1e56=_0x540b42;for(var _0x45ff5f=_0x3edc34>0x1?void 0x0:_0x3edc34?_0x3360ec(_0x21054f,_0x2aa315):_0x21054f,_0x37abab=_0x6333bc[_0x4c1e56(0x349)]-0x1,_0x500d17;_0x37abab>=0x0;_0x37abab--)(_0x500d17=_0x6333bc[_0x37abab])&&(_0x45ff5f=_0x500d17(_0x45ff5f)||_0x45ff5f);return _0x45ff5f;},_0x3bfd2d=(_0x365a2a,_0x462b8d)=>(_0x50d1a5,_0x3f3feb)=>_0x462b8d(_0x50d1a5,_0x3f3feb,_0x365a2a);_0x41c194['DesktopCollaborationStatusDisplayController']=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x590b6d,_0x358c26,_0x3b8f60,_0x2951a9){const _0x2a6c43=_0x540b42;super(),_0x432cc5(this,_0x2a6c43(0x1fb),new _0x34f1d4['BehaviorSubject'](_0x41dc5f[_0x2a6c43(0x362)][_0x2a6c43(0x26b)])),(this[_0x2a6c43(0x246)]=_0x590b6d,this[_0x2a6c43(0x31b)]=_0x358c26,this['_collaborationController']=_0x3b8f60,this[_0x2a6c43(0x1ff)]=_0x2951a9,this[_0x2a6c43(0x40c)](),this['_initStatusListener']());}[_0x540b42(0x3ae)](){const _0x34d616=_0x540b42;this[_0x34d616(0x2d2)](this[_0x34d616(0x246)][_0x34d616(0x32f)]['pipe'](_0x34f1d4[_0x34d616(0x1b9)](()=>{const _0x441b07=_0x34d616,_0x48e3c9=this[_0x441b07(0x246)][_0x441b07(0x358)]();return _0x48e3c9?this[_0x441b07(0x291)][_0x441b07(0x3da)](_0x48e3c9[_0x441b07(0x3c5)]()):_0x34f1d4['of'](null);}),_0x34f1d4[_0x34d616(0x1b9)](_0x4c2ccb=>_0x4c2ccb?_0x4c2ccb[_0x34d616(0x3ad)]:_0x34f1d4['of'](_0x41dc5f['CollaborationStatus'][_0x34d616(0x26b)])))['subscribe'](_0x204325=>{const _0x580960=_0x34d616;this[_0x580960(0x1fb)][_0x580960(0x28e)](_0x204325);}));}[_0x540b42(0x40c)](){const _0x47d096=_0x540b42;this['disposeWithMe'](this[_0x47d096(0x1ff)]['registerComponent'](_0x264d8f['BuiltInUIPart']['HEADER_MENU'],()=>_0x264d8f['connectInjector'](_0x4bee60({'status$':this[_0x47d096(0x1fb)][_0x47d096(0x1c2)]()}),this[_0x47d096(0x31b)])));}},_0x41c194['DesktopCollaborationStatusDisplayController']=_0x5b5135([_0x3bfd2d(0x0,_0x42b304[_0x540b42(0x1e5)]),_0x3bfd2d(0x1,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x3bfd2d(0x2,_0x42b304[_0x540b42(0x40f)](_0x41dc5f['CollaborationController'])),_0x3bfd2d(0x3,_0x264d8f[_0x540b42(0x3d7)])],_0x41c194[_0x540b42(0x2bf)]);function _0x4bee60(_0x43d20f){const {status$:_0x5adcb0}=_0x43d20f;return function(){const _0x5f13cb=_0x4c0a;return _0x4d12c8[_0x5f13cb(0x1d4)](_0x57b7f0,{'status$':_0x5adcb0});};}var _0x116ab4=Object[_0x540b42(0x2fc)],_0x2f8b8d=(_0x282243,_0x4ec255,_0x3a3358,_0x20db3f)=>{for(var _0x3c1419=_0x20db3f>0x1?void 0x0:_0x20db3f?_0x116ab4(_0x4ec255,_0x3a3358):_0x4ec255,_0x2dcd1f=_0x282243['length']-0x1,_0x5050f8;_0x2dcd1f>=0x0;_0x2dcd1f--)(_0x5050f8=_0x282243[_0x2dcd1f])&&(_0x3c1419=_0x5050f8(_0x3c1419)||_0x3c1419);return _0x3c1419;},_0x2aa075=(_0x271cb3,_0x308610)=>(_0x2e33cf,_0x20f227)=>_0x308610(_0x2e33cf,_0x20f227,_0x271cb3);let _0x5824b5=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x29b65a,_0x58f69f,_0x4bf8a3,_0xf87ab9,_0x5d6962,_0x217cff){const _0x1f95d2=_0x540b42;super(),this[_0x1f95d2(0x297)]=_0x29b65a,this[_0x1f95d2(0x274)]=_0x58f69f,this[_0x1f95d2(0x41a)]=_0x4bf8a3,this['_messageService']=_0xf87ab9,this[_0x1f95d2(0x2df)]=_0x5d6962,this[_0x1f95d2(0x42b)]=_0x217cff,this[_0x1f95d2(0x386)](),this[_0x1f95d2(0x2fd)]();}[_0x540b42(0x386)](){const _0x1b49b7=_0x540b42;this[_0x1b49b7(0x2d2)](this[_0x1b49b7(0x297)][_0x1b49b7(0x3b9)](()=>{const _0x3d4533=_0x1b49b7;if(this[_0x3d4533(0x274)][_0x3d4533(0x27f)][_0x3d4533(0x3fe)])return this[_0x3d4533(0x42b)]['t'](_0x3d4533(0x3ce));}));}[_0x540b42(0x2fd)](){const _0xe32067=_0x540b42;this[_0xe32067(0x2d2)](this[_0xe32067(0x41a)][_0xe32067(0x2ec)][_0xe32067(0x289)](_0x56fdb7=>{const _0x12f577=_0xe32067;_0x56fdb7['id']===_0x41dc5f['CollaborationUIEventId'][_0x12f577(0x1fe)]&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)]['Warning'],'content':this[_0x12f577(0x42b)]['t']('collaboration.single-unit.warning')}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)][_0x12f577(0x29c)]&&this['_messageService']['show']({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x2c4)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x385))}),_0x56fdb7['id']===_0x41dc5f['CollaborationUIEventId'][_0x12f577(0x360)]&&this['_notificationService'][_0x12f577(0x32c)]({'title':this[_0x12f577(0x42b)]['t'](_0x12f577(0x23d)),'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x3f1)),'type':_0x12f577(0x202),'duration':0x0}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)][_0x12f577(0x409)]&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x3a7)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x385))+'('+_0x56fdb7['data']+')'}),_0x56fdb7['id']===_0x41dc5f['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x2c4)],'content':this[_0x12f577(0x42b)]['t'](_0x56fdb7[_0x12f577(0x3a8)]||'')}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)][_0x12f577(0x43c)]&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)]['Warning'],'content':this[_0x12f577(0x42b)]['t']('session.will-retry')}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)]['SOCKET_FAILED']&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x3a7)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x2f7))}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x12f577(0x32c)]({'type':_0x2e5ccb['MessageType'][_0x12f577(0x3a7)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x3c1))});}));}};_0x5824b5=_0x2f8b8d([_0x2aa075(0x0,_0x264d8f['IBeforeCloseService']),_0x2aa075(0x1,_0x41dc5f['ILocalCacheService']),_0x2aa075(0x2,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x430)])),_0x2aa075(0x3,_0x264d8f[_0x540b42(0x331)]),_0x2aa075(0x4,_0x264d8f[_0x540b42(0x25a)]),_0x2aa075(0x5,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x214)]))],_0x5824b5);const _0x13ce90='collaboration-client-ui.config',_0x374ffe={},_0x3867b1=_0x42b304[_0x540b42(0x3af)](_0x540b42(0x3ca));var _0x4c7f7e=Object[_0x540b42(0x2fc)],_0x2147d4=(_0x568630,_0x3c7c28,_0x5a6cf0,_0x43f068)=>{const _0x325e06=_0x540b42;for(var _0x546f2c=_0x43f068>0x1?void 0x0:_0x43f068?_0x4c7f7e(_0x3c7c28,_0x5a6cf0):_0x3c7c28,_0x18205b=_0x568630[_0x325e06(0x349)]-0x1,_0x2df727;_0x18205b>=0x0;_0x18205b--)(_0x2df727=_0x568630[_0x18205b])&&(_0x546f2c=_0x2df727(_0x546f2c)||_0x546f2c);return _0x546f2c;},_0x3e5462=(_0x939ebc,_0x5421d0)=>(_0x589109,_0x45d5c0)=>_0x5421d0(_0x589109,_0x45d5c0,_0x939ebc);_0x41c194[_0x540b42(0x2da)]=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x41f34d,_0x16c73b,_0x232370,_0x45e97b,_0x47ae5c){const _0x24077e=_0x540b42;super(),this[_0x24077e(0x20f)]=_0x41f34d,this[_0x24077e(0x337)]=_0x16c73b,this['_commandService']=_0x232370,this[_0x24077e(0x312)]=_0x45e97b,_0x47ae5c?_0x47ae5c==null||_0x47ae5c[_0x24077e(0x37e)]()[_0x24077e(0x302)](()=>this[_0x24077e(0x413)]()):(this[_0x24077e(0x337)]['debug']('[CollaborationDataLoaderController]',_0x24077e(0x3a5)),this[_0x24077e(0x413)]());}async[_0x540b42(0x413)](){const _0x122245=_0x540b42,_0x27f5b7=this[_0x122245(0x20f)][_0x122245(0x2b4)](_0x122245(0x3b4)),_0x534af1=this[_0x122245(0x20f)]['getParam'](_0x122245(0x1af)),_0x23419b=this[_0x122245(0x20f)][_0x122245(0x2b4)](_0x122245(0x211));if(!_0x27f5b7||!_0x534af1){this[_0x122245(0x337)][_0x122245(0x272)](_0x122245(0x2ac),_0x122245(0x212));return;}const _0x1bd005=await this[_0x122245(0x312)][_0x122245(0x201)](_0x27f5b7,Number(_0x534af1),_0x23419b);_0x1bd005&&_0x1bd005 instanceof _0x42b304['Workbook']&&this[_0x122245(0x38a)](_0x1bd005);}async['_setupSubUnitSync'](_0x1a3c11){const _0x5c0011=_0x540b42;await this[_0x5c0011(0x3cc)](_0x1a3c11),_0x1a3c11[_0x5c0011(0x37a)][_0x5c0011(0x3ba)](_0x34f1d4[_0x5c0011(0x342)](this[_0x5c0011(0x20c)]))[_0x5c0011(0x289)](_0xcbecc9=>{const _0x2af07f=_0x5c0011;_0xcbecc9&&this[_0x2af07f(0x330)](_0xcbecc9);}),this[_0x5c0011(0x20f)]['urlChange$'][_0x5c0011(0x3ba)](_0x34f1d4[_0x5c0011(0x342)](this[_0x5c0011(0x20c)]))[_0x5c0011(0x289)](()=>this[_0x5c0011(0x3cc)](_0x1a3c11));}[_0x540b42(0x330)](_0x594738,_0x5b6d40=!0x1){const _0x167277=_0x540b42,_0x1483dd=this[_0x167277(0x20f)][_0x167277(0x2b4)](_0x167277(0x211));_0x594738[_0x167277(0x378)]()!==_0x1483dd&&this[_0x167277(0x20f)][_0x167277(0x2de)](_0x167277(0x211),_0x594738['getSheetId'](),_0x5b6d40);}async[_0x540b42(0x3cc)](_0x22ce6a){const _0x4a6e03=_0x540b42;var _0x2c15e2;const _0x160e51=this[_0x4a6e03(0x20f)][_0x4a6e03(0x2b4)](_0x4a6e03(0x211));if(!_0x160e51||!_0x22ce6a[_0x4a6e03(0x25c)](_0x160e51)){const _0x48ee83=_0x22ce6a[_0x4a6e03(0x259)]()[0x0],_0x50549e=_0x22ce6a[_0x4a6e03(0x25c)](_0x48ee83);if(!_0x50549e)return;this['_updateURLWithCurrentState'](_0x50549e,!0x0),await this['_commandService']['executeCommand'](_0x29d4a1['SetWorksheetActivateCommand']['id'],{'unitId':_0x22ce6a[_0x4a6e03(0x3c5)](),'subUnitId':_0x48ee83});return;}((_0x2c15e2=_0x22ce6a['getActiveSheet']())==null?void 0x0:_0x2c15e2[_0x4a6e03(0x378)]())!==_0x160e51&&await this[_0x4a6e03(0x3c3)]['executeCommand'](_0x29d4a1['SetWorksheetActivateCommand']['id'],{'unitId':_0x22ce6a[_0x4a6e03(0x3c5)](),'subUnitId':_0x160e51});}},_0x41c194[_0x540b42(0x2da)]=_0x2147d4([_0x3e5462(0x0,_0x3867b1),_0x3e5462(0x1,_0x42b304['ILogService']),_0x3e5462(0x2,_0x42b304[_0x540b42(0x22f)]),_0x3e5462(0x3,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x20b)])),_0x3e5462(0x4,_0x42b304[_0x540b42(0x2e3)](_0x3b97e1[_0x540b42(0x318)]))],_0x41c194['CollaborationDataLoaderController']);var _0x1ee84f=Object[_0x540b42(0x2fc)],_0x5b82c1=(_0xfeb13d,_0x50ab95,_0x3e99d7,_0x2e4c98)=>{for(var _0x580311=_0x2e4c98>0x1?void 0x0:_0x2e4c98?_0x1ee84f(_0x50ab95,_0x3e99d7):_0x50ab95,_0x569b76=_0xfeb13d['length']-0x1,_0x21c06e;_0x569b76>=0x0;_0x569b76--)(_0x21c06e=_0xfeb13d[_0x569b76])&&(_0x580311=_0x21c06e(_0x580311)||_0x580311);return _0x580311;},_0x253865=(_0x4bb888,_0x5e8602)=>(_0x1b40df,_0x957b76)=>_0x5e8602(_0x1b40df,_0x957b76,_0x4bb888);let _0x456090=class{constructor(_0x1fd617,_0x1c5adb,_0x571a2e){const _0x3b07c2=_0x540b42;this[_0x3b07c2(0x31b)]=_0x1fd617,this[_0x3b07c2(0x38f)]=_0x1c5adb,this[_0x3b07c2(0x3bc)]=_0x571a2e;}[_0x540b42(0x3b6)](_0x47f459){const _0x5e587b=_0x540b42;this[_0x5e587b(0x2d7)](_0x47f459),this[_0x5e587b(0x20a)](_0x47f459);}['transformRemoteChangeset'](_0x1e8504){const _0x3b5f48=_0x540b42,{unitID:_0x5a519c}=_0x1e8504,_0x443791=this[_0x3b5f48(0x3bc)][_0x3b5f48(0x43b)](_0x5a519c)[_0x3b5f48(0x359)](_0x16bb92[_0x3b5f48(0x234)]),{redoCache:_0x1350e8}=_0x443791[_0x3b5f48(0x2ed)]();if(_0x1350e8['length']===0x0)return _0x1e8504;let _0x452490=_0x42b304['Tools'][_0x3b5f48(0x3a0)](_0x1e8504['mutations'][0x0]);for(let _0x190d6b=0x0;_0x190d6b<_0x1350e8[_0x3b5f48(0x349)];_0x190d6b++){const _0x4d78b1={'id':'doc.mutation.rich-text-editing','params':{..._0x1350e8[_0x190d6b]}},_0xeada4=this[_0x3b5f48(0x38f)][_0x3b5f48(0x1c8)](_0x452490,_0x4d78b1,!0x1);if(_0x30bf61[_0x3b5f48(0x2c6)](_0xeada4))throw _0xeada4[_0x3b5f48(0x202)];_0x452490=_0xeada4[_0x3b5f48(0x3a2)];}return{..._0x42b304[_0x3b5f48(0x332)][_0x3b5f48(0x3a0)](_0x1e8504),'mutations':[_0x452490]};}[_0x540b42(0x2d7)](_0x694b62){const _0x53bcb5=_0x540b42,{unitID:_0x7ed5ce}=_0x694b62,_0x300de8=this[_0x53bcb5(0x3bc)][_0x53bcb5(0x43b)](_0x7ed5ce)['with'](_0x16bb92[_0x53bcb5(0x234)]),{undoCache:_0x449718,redoCache:_0x337343}=_0x300de8[_0x53bcb5(0x2ed)]();if(_0x449718[_0x53bcb5(0x349)]===0x0||_0x337343[_0x53bcb5(0x349)]===0x0)return;const _0x41c0dc=[],_0x2d309a=[];let _0x585f8d=_0x42b304[_0x53bcb5(0x332)][_0x53bcb5(0x3a0)](_0x694b62['mutations'][0x0]),_0x22102c=_0x42b304['Tools']['deepClone'](_0x694b62[_0x53bcb5(0x2c1)][0x0]);for(let _0x26e7df=_0x449718[_0x53bcb5(0x349)]-0x1;_0x26e7df>=0x0;_0x26e7df--){const _0x29f928={'id':_0x53bcb5(0x398),'params':{..._0x449718[_0x26e7df]}},_0x540d09={'id':_0x53bcb5(0x398),'params':{..._0x337343[_0x26e7df]}},_0x1ca799=this[_0x53bcb5(0x38f)][_0x53bcb5(0x1c8)](_0x585f8d,_0x29f928,!0x1),_0x55a7ec=this[_0x53bcb5(0x38f)][_0x53bcb5(0x1c8)](_0x22102c,_0x540d09,!0x1);if(_0x30bf61[_0x53bcb5(0x2c6)](_0x1ca799))throw _0x1ca799[_0x53bcb5(0x202)];if(_0x30bf61[_0x53bcb5(0x2c6)](_0x55a7ec))throw _0x55a7ec[_0x53bcb5(0x202)];_0x41c0dc[_0x53bcb5(0x2d5)](_0x1ca799[_0x53bcb5(0x230)][_0x53bcb5(0x374)]),_0x2d309a[_0x53bcb5(0x2d5)](_0x55a7ec[_0x53bcb5(0x230)][_0x53bcb5(0x374)]),_0x585f8d=_0x1ca799[_0x53bcb5(0x3a2)],_0x22102c=_0x55a7ec[_0x53bcb5(0x3a2)];}_0x300de8[_0x53bcb5(0x262)]({'undoCache':_0x41c0dc,'redoCache':_0x2d309a});}[_0x540b42(0x20a)](_0x17e07b){const _0x2eaf19=_0x540b42,{unitID:_0x61b625}=_0x17e07b,_0x5e1269=this[_0x2eaf19(0x3bc)][_0x2eaf19(0x43b)](_0x61b625)[_0x2eaf19(0x359)](_0x16bb92[_0x2eaf19(0x234)]),_0x5b6900=_0x5e1269[_0x2eaf19(0x1c4)]();if(_0x5b6900==null)return;const _0x4dd1a4=[{'id':_0x2eaf19(0x398),'params':{'unitId':_0x17e07b[_0x2eaf19(0x375)],'actions':null,'textRanges':[_0x5b6900]}}],_0x363b0f=this['_transformService'][_0x2eaf19(0x43f)](_0x17e07b,_0x4dd1a4);if(!_0x30bf61[_0x2eaf19(0x308)](_0x363b0f))throw _0x363b0f[_0x2eaf19(0x202)];const _0x325e3d=_0x363b0f[_0x2eaf19(0x230)][0x0][_0x2eaf19(0x374)][_0x2eaf19(0x2ea)];Array['isArray'](_0x325e3d)&&_0x325e3d[_0x2eaf19(0x349)]&&_0x5e1269[_0x2eaf19(0x39f)](_0x325e3d[0x0]);}};_0x456090=_0x5b82c1([_0x253865(0x0,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x253865(0x1,_0x30bf61['ITransformService']),_0x253865(0x2,_0x409358[_0x540b42(0x1aa)])],_0x456090);var _0x3274f4=Object[_0x540b42(0x2fc)],_0x57de3b=(_0x383e33,_0x4ae0b5,_0x3d9051,_0x346ef6)=>{const _0x207677=_0x540b42;for(var _0x4e0cfd=_0x346ef6>0x1?void 0x0:_0x346ef6?_0x3274f4(_0x4ae0b5,_0x3d9051):_0x4ae0b5,_0xb6cbe6=_0x383e33[_0x207677(0x349)]-0x1,_0x250b69;_0xb6cbe6>=0x0;_0xb6cbe6--)(_0x250b69=_0x383e33[_0xb6cbe6])&&(_0x4e0cfd=_0x250b69(_0x4e0cfd)||_0x4e0cfd);return _0x4e0cfd;},_0x306648=(_0x297471,_0x4efb3d)=>(_0x321c6c,_0x559cc3)=>_0x4efb3d(_0x321c6c,_0x559cc3,_0x297471);let _0x412db4=class{constructor(_0x4624a1,_0x5092c6,_0x1ab7a3){const _0x1b3f21=_0x540b42;this[_0x1b3f21(0x31b)]=_0x4624a1,this[_0x1b3f21(0x38f)]=_0x5092c6,this[_0x1b3f21(0x28b)]=_0x1ab7a3;}[_0x540b42(0x41c)](_0x36ca81){const _0x4cb39b=_0x540b42;this[_0x4cb39b(0x34a)](_0x36ca81);}[_0x540b42(0x408)](_0xd3e272){const _0x23b33b=_0x540b42,{unitID:_0x2df32e}=_0xd3e272,{collaboration:_0x230f20}=this[_0x23b33b(0x28b)][_0x23b33b(0x40b)](_0x2df32e);if(_0x230f20[_0x23b33b(0x349)]===0x0)return _0xd3e272;let _0x19c2b5=_0x42b304[_0x23b33b(0x332)][_0x23b33b(0x3a0)](_0xd3e272[_0x23b33b(0x2c1)][0x0]);for(let _0x30f4a4=0x0;_0x30f4a4<_0x230f20['length'];_0x30f4a4++){const _0x2b292f={'id':_0x23b33b(0x398),'params':{'unitId':_0x230f20[_0x30f4a4][_0x23b33b(0x1f3)],..._0x230f20[_0x30f4a4][_0x23b33b(0x23f)]}},_0x217b32=this['_transformService'][_0x23b33b(0x1c8)](_0x19c2b5,_0x2b292f,!0x1);if(_0x30bf61[_0x23b33b(0x2c6)](_0x217b32))throw _0x217b32[_0x23b33b(0x202)];_0x19c2b5=_0x217b32[_0x23b33b(0x3a2)];}return{..._0x42b304[_0x23b33b(0x332)][_0x23b33b(0x3a0)](_0xd3e272),'mutations':[_0x19c2b5]};}[_0x540b42(0x34a)](_0x3f6768){const _0x4fe874=_0x540b42,{unitID:_0x3e40c4}=_0x3f6768,{history:_0x52e5f4,collaboration:_0xb319bb}=this[_0x4fe874(0x28b)][_0x4fe874(0x40b)](_0x3e40c4);if(_0x52e5f4[_0x4fe874(0x349)]===0x0&&_0xb319bb['length']===0x0)return;const _0x42395c=[],_0x950c87=[];let _0x2573d4=_0x42b304[_0x4fe874(0x332)]['deepClone'](_0x3f6768[_0x4fe874(0x2c1)][0x0]),_0x29790b=_0x42b304['Tools'][_0x4fe874(0x3a0)](_0x3f6768['mutations'][0x0]);for(let _0x2fa32d=_0x52e5f4[_0x4fe874(0x349)]-0x1;_0x2fa32d>=0x0;_0x2fa32d--){const _0x2c5be0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x52e5f4[_0x2fa32d][_0x4fe874(0x1f3)],..._0x52e5f4[_0x2fa32d][_0x4fe874(0x31e)]}},_0x2d2e9e={'id':_0x4fe874(0x398),'params':{'unitId':_0x52e5f4[_0x2fa32d][_0x4fe874(0x1f3)],..._0x52e5f4[_0x2fa32d][_0x4fe874(0x23f)]}},_0x54a774=this[_0x4fe874(0x38f)][_0x4fe874(0x1c8)](_0x2573d4,_0x2c5be0,!0x1),_0x43aff7=this['_transformService']['transformMutation'](_0x29790b,_0x2d2e9e,!0x1);if(_0x30bf61[_0x4fe874(0x2c6)](_0x54a774))throw _0x54a774[_0x4fe874(0x202)];if(_0x30bf61[_0x4fe874(0x2c6)](_0x43aff7))throw _0x43aff7[_0x4fe874(0x202)];_0x42395c['unshift']({..._0x52e5f4[_0x2fa32d],'undoState':_0x54a774[_0x4fe874(0x230)][_0x4fe874(0x374)],'redoState':_0x43aff7['m2Prime'][_0x4fe874(0x374)]}),_0x2573d4=_0x54a774[_0x4fe874(0x3a2)],_0x29790b=_0x43aff7[_0x4fe874(0x3a2)];}_0x2573d4=_0x42b304[_0x4fe874(0x332)][_0x4fe874(0x3a0)](_0x3f6768['mutations'][0x0]),_0x29790b=_0x42b304['Tools'][_0x4fe874(0x3a0)](_0x3f6768[_0x4fe874(0x2c1)][0x0]);for(let _0x502961=_0xb319bb[_0x4fe874(0x349)]-0x1;_0x502961>=0x0;_0x502961--){const _0x507674={'id':_0x4fe874(0x398),'params':{'unitId':_0xb319bb[_0x502961][_0x4fe874(0x1f3)],..._0xb319bb[_0x502961]['undoState']}},_0x2b20a9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb319bb[_0x502961][_0x4fe874(0x1f3)],..._0xb319bb[_0x502961][_0x4fe874(0x23f)]}},_0x56fbce=this[_0x4fe874(0x38f)][_0x4fe874(0x1c8)](_0x2573d4,_0x507674,!0x1),_0x576f2f=this[_0x4fe874(0x38f)]['transformMutation'](_0x29790b,_0x2b20a9,!0x1);if(_0x30bf61[_0x4fe874(0x2c6)](_0x56fbce))throw _0x56fbce[_0x4fe874(0x202)];if(_0x30bf61['isTransformMutationFailure'](_0x576f2f))throw _0x576f2f[_0x4fe874(0x202)];_0x950c87[_0x4fe874(0x2d5)]({..._0xb319bb[_0x502961],'undoState':_0x56fbce[_0x4fe874(0x230)][_0x4fe874(0x374)],'redoState':_0x576f2f[_0x4fe874(0x230)][_0x4fe874(0x374)]}),_0x2573d4=_0x56fbce[_0x4fe874(0x3a2)],_0x29790b=_0x576f2f['m1Prime'];}this[_0x4fe874(0x28b)][_0x4fe874(0x1c1)](_0x3e40c4,{'history':_0x42395c,'collaboration':_0x950c87});}};_0x412db4=_0x57de3b([_0x306648(0x0,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x306648(0x1,_0x30bf61[_0x540b42(0x2e1)]),_0x306648(0x2,_0x42b304[_0x540b42(0x40f)](_0x16bb92[_0x540b42(0x1e9)]))],_0x412db4);var _0x418016=Object[_0x540b42(0x2fc)],_0x49dc57=(_0x455757,_0x3273e0,_0x496d6b,_0x40e9e2)=>{const _0x4fa1cf=_0x540b42;for(var _0x3aa1b7=_0x40e9e2>0x1?void 0x0:_0x40e9e2?_0x418016(_0x3273e0,_0x496d6b):_0x3273e0,_0x26e1c4=_0x455757[_0x4fa1cf(0x349)]-0x1,_0x2ab93c;_0x26e1c4>=0x0;_0x26e1c4--)(_0x2ab93c=_0x455757[_0x26e1c4])&&(_0x3aa1b7=_0x2ab93c(_0x3aa1b7)||_0x3aa1b7);return _0x3aa1b7;},_0x3719ec=(_0x474e5c,_0x2cc503)=>(_0x3082e3,_0x220c55)=>_0x2cc503(_0x3082e3,_0x220c55,_0x474e5c);let _0x554bd6=class{constructor(_0x7a1edb,_0x12ab9c){const _0x38121f=_0x540b42;this[_0x38121f(0x31b)]=_0x7a1edb,this[_0x38121f(0x38f)]=_0x12ab9c;}['transformSelections'](_0x4ab075){const _0x2b21e2=_0x540b42;var _0x2e5277;const _0x400c9a=this[_0x2b21e2(0x31b)][_0x2b21e2(0x26c)](_0x4e9cff['DocSelectionManagerService']),_0x28e53f=(_0x2e5277=_0x400c9a[_0x2b21e2(0x3e3)]())!=null?_0x2e5277:[];if(_0x28e53f[_0x2b21e2(0x349)]===0x0)return;const _0x377649=_0x4ab075[_0x2b21e2(0x375)],_0x3f1111=[{'id':_0x2b21e2(0x398),'params':{'unitId':_0x377649,'actions':null,'textRanges':_0x28e53f}}],_0x2b9ce2=this[_0x2b21e2(0x38f)][_0x2b21e2(0x43f)](_0x4ab075,_0x3f1111);if(!_0x30bf61[_0x2b21e2(0x308)](_0x2b9ce2))throw _0x2b9ce2[_0x2b21e2(0x202)];const _0x3107e6=_0x2b9ce2[_0x2b21e2(0x230)][0x0][_0x2b21e2(0x374)][_0x2b21e2(0x2ea)];Array[_0x2b21e2(0x208)](_0x3107e6)&&_0x3107e6[_0x2b21e2(0x349)]&&_0x400c9a[_0x2b21e2(0x2e2)](_0x3107e6,{'unitId':_0x377649,'subUnitId':_0x377649},!0x1);}};_0x554bd6=_0x49dc57([_0x3719ec(0x0,_0x42b304['Inject'](_0x42b304[_0x540b42(0x2f8)])),_0x3719ec(0x1,_0x30bf61['ITransformService'])],_0x554bd6);var _0x301bb6=Object[_0x540b42(0x2fc)],_0x477528=(_0x5daf6a,_0x5d4b20,_0x167256,_0x261b96)=>{for(var _0x28628f=_0x261b96>0x1?void 0x0:_0x261b96?_0x301bb6(_0x5d4b20,_0x167256):_0x5d4b20,_0x299993=_0x5daf6a['length']-0x1,_0x441b4a;_0x299993>=0x0;_0x299993--)(_0x441b4a=_0x5daf6a[_0x299993])&&(_0x28628f=_0x441b4a(_0x28628f)||_0x28628f);return _0x28628f;},_0x148473=(_0x10703b,_0x2a2b09)=>(_0x4401f5,_0x5e1f91)=>_0x2a2b09(_0x4401f5,_0x5e1f91,_0x10703b);let _0x11670f=class extends _0x42b304['Disposable']{constructor(_0x41c2e,_0x19a143,_0x462daa,_0x424033,_0x236eb6,_0x5b4003,_0x1ec236,_0x22c36b){const _0x7caba4=_0x540b42;super(),_0x432cc5(this,_0x7caba4(0x1fb),new _0x34f1d4[(_0x7caba4(0x225))](_0x41dc5f[_0x7caba4(0x362)]['NOT_COLLAB'])),(this[_0x7caba4(0x28b)]=_0x41c2e,this[_0x7caba4(0x291)]=_0x19a143,this[_0x7caba4(0x1d5)]=_0x462daa,this[_0x7caba4(0x240)]=_0x424033,this[_0x7caba4(0x348)]=_0x236eb6,this['_docSyncEditingCollabCursorService']=_0x5b4003,this[_0x7caba4(0x35c)]=_0x1ec236,this[_0x7caba4(0x42b)]=_0x22c36b,this[_0x7caba4(0x3cb)]());}[_0x540b42(0x3cb)](){const _0x41b5fb=_0x540b42;this[_0x41b5fb(0x2d2)](this[_0x41b5fb(0x291)][_0x41b5fb(0x407)][_0x41b5fb(0x289)](_0x512568=>{const _0x96b13f=_0x41b5fb,_0x2c9322=this[_0x96b13f(0x28b)][_0x96b13f(0x2bb)][_0x96b13f(0x289)](_0x3294bc=>{const _0xa714be=_0x96b13f;if(_0x3294bc==null)return;const {unitId:_0x43944f,redoState:_0x53761c,commandId:_0x13187d}=_0x3294bc;if(_0x43944f!==_0x512568[_0xa714be(0x375)])return;const _0x671af={'id':_0x13187d,'type':_0x42b304['CommandType'][_0xa714be(0x2c7)],'params':{'unitId':_0x43944f,'actions':_0x53761c[_0xa714be(0x396)],'textRanges':null}};_0x512568[_0xa714be(0x31d)](_0x671af);});if(_0x512568['disposeWithMe'](_0x2c9322),_0x512568 instanceof _0x41dc5f[_0x96b13f(0x417)]){const _0x27344c={'onTransformIME':_0x2bfdd2=>this[_0x96b13f(0x1d5)][_0x96b13f(0x3b6)](_0x2bfdd2),'onTransformState':_0x3bd0a2=>this[_0x96b13f(0x240)][_0x96b13f(0x41c)](_0x3bd0a2),'onTransformSelections':_0x116a54=>this['_docTransformSelectionsService'][_0x96b13f(0x1d2)](_0x116a54),'onSyncEditingCollabCursor':_0x19be96=>this[_0x96b13f(0x28a)][_0x96b13f(0x3c7)](_0x19be96),'onTransformRemoteChangesetByIMECache':_0x7acb86=>this[_0x96b13f(0x1d5)][_0x96b13f(0x408)](_0x7acb86),'onTransformRemoteChangesetByStateCache':_0x4f7f90=>this[_0x96b13f(0x240)][_0x96b13f(0x408)](_0x4f7f90)};_0x512568[_0x96b13f(0x366)](_0x27344c);}}));}};_0x11670f=_0x477528([_0x148473(0x0,_0x42b304['Inject'](_0x16bb92[_0x540b42(0x1e9)])),_0x148473(0x1,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x41f)])),_0x148473(0x2,_0x42b304[_0x540b42(0x40f)](_0x456090)),_0x148473(0x3,_0x42b304['Inject'](_0x412db4)),_0x148473(0x4,_0x42b304['Inject'](_0x554bd6)),_0x148473(0x5,_0x42b304[_0x540b42(0x40f)](_0x42f10f)),_0x148473(0x6,_0x264d8f[_0x540b42(0x331)]),_0x148473(0x7,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x214)]))],_0x11670f);var _0x53cb2b=Object['getOwnPropertyDescriptor'],_0x3bfaa3=(_0x24bfcb,_0x13ae76,_0x530b32,_0xaf4e29)=>{for(var _0x493dea=_0xaf4e29>0x1?void 0x0:_0xaf4e29?_0x53cb2b(_0x13ae76,_0x530b32):_0x13ae76,_0x3b22d5=_0x24bfcb['length']-0x1,_0x2f9704;_0x3b22d5>=0x0;_0x3b22d5--)(_0x2f9704=_0x24bfcb[_0x3b22d5])&&(_0x493dea=_0x2f9704(_0x493dea)||_0x493dea);return _0x493dea;},_0x215d82=(_0x1e6e27,_0x291bcc)=>(_0x45825c,_0x1aa32f)=>_0x291bcc(_0x45825c,_0x1aa32f,_0x1e6e27);let _0x338c4b=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x4a3c0d,_0x55f493,_0xf688b2){const _0x753b5f=_0x540b42;super(),_0x432cc5(this,'_cachedData',new Map()),_0x432cc5(this,_0x753b5f(0x39e),new Map()),_0x432cc5(this,_0x753b5f(0x43a),!0x1),(this['_configService']=_0x4a3c0d,this[_0x753b5f(0x314)]=_0x55f493,this[_0x753b5f(0x3c8)]=_0xf688b2);}[_0x540b42(0x2e8)](){const _0x8083f1=_0x540b42;this[_0x8083f1(0x43a)]=!0x0;}[_0x540b42(0x41b)](){this['_disabled']=!0x1;}get[_0x540b42(0x27f)](){const _0x1563bc=_0x540b42;return this[_0x1563bc(0x39e)];}['dispose'](){const _0x22cd28=_0x540b42;this[_0x22cd28(0x3b2)]()[_0x22cd28(0x302)](()=>super[_0x22cd28(0x26d)]());}async[_0x540b42(0x3d9)](_0x167614){const _0x36e948=_0x540b42;return this[_0x36e948(0x43a)]?null:this[_0x36e948(0x314)][_0x36e948(0x2b9)](_0x41dc5f[_0x36e948(0x27b)](_0x167614));}async[_0x540b42(0x343)](_0x47ddb5,_0x561385){const _0x42dfed=_0x540b42;return!!this[_0x42dfed(0x314)][_0x42dfed(0x29b)](_0x47ddb5,_0x561385);}[_0x540b42(0x25e)](_0x26e2ad,_0x17021f,_0x1015fd,_0x21aeaf){const _0x14f67f=_0x540b42,_0x490c06=this[_0x14f67f(0x3c8)]['getCurrentRevOfUnit'](_0x26e2ad);this[_0x14f67f(0x235)][_0x14f67f(0x1e2)](_0x26e2ad,{'unitID':_0x26e2ad,'type':_0x17021f,'awaitingChangeset':_0x1015fd,'mutations':_0x21aeaf,'rev':_0x490c06}),this[_0x14f67f(0x39e)][_0x14f67f(0x25d)](_0x26e2ad)||this[_0x14f67f(0x1d8)](_0x26e2ad);}[_0x540b42(0x1d8)](_0x2a660e){const _0x4b301d=_0x540b42,_0x1239df=this[_0x4b301d(0x1bd)]();_0x1239df===0x0?this[_0x4b301d(0x24b)](_0x2a660e):this['_saveTaskMap']['set'](_0x2a660e,setTimeout(()=>this[_0x4b301d(0x24b)](_0x2a660e),_0x1239df));}[_0x540b42(0x1bd)](){const _0x1018b5=_0x540b42;var _0x5a2350;return(_0x5a2350=this[_0x1018b5(0x209)][_0x1018b5(0x1ca)](_0x41dc5f[_0x1018b5(0x1c9)]))!=null?_0x5a2350:_0x41dc5f[_0x1018b5(0x40d)];}[_0x540b42(0x24b)](_0x4210e0){const _0x30e818=_0x540b42,_0x107449=this[_0x30e818(0x39e)][_0x30e818(0x26c)](_0x4210e0);return _0x107449!==void 0x0&&window[_0x30e818(0x427)](_0x107449),this['_localStorageService']['setItem'](_0x41dc5f[_0x30e818(0x27b)](_0x4210e0),this[_0x30e818(0x235)]['get'](_0x4210e0))[_0x30e818(0x302)](()=>this['_saveTaskMap']['delete'](_0x4210e0));}async['exhaustSavingTask'](){const _0x2e8286=_0x540b42,_0x44fd40=[];this[_0x2e8286(0x39e)][_0x2e8286(0x3fb)]((_0x4c79d3,_0x2bc5d0)=>{const _0x5a961e=_0x2e8286;window[_0x5a961e(0x427)](_0x4c79d3),_0x44fd40[_0x5a961e(0x2ef)](this['_saveCache'](_0x2bc5d0)[_0x5a961e(0x302)](()=>{const _0x2abfaa=_0x5a961e;this[_0x2abfaa(0x39e)][_0x2abfaa(0x278)](_0x2bc5d0);}));}),await Promise[_0x2e8286(0x252)](_0x44fd40);}};_0x338c4b=_0x3bfaa3([_0x215d82(0x0,_0x42b304[_0x540b42(0x3f9)]),_0x215d82(0x1,_0x42b304[_0x540b42(0x217)]),_0x215d82(0x2,_0x42b304['Inject'](_0x30bf61[_0x540b42(0x39d)]))],_0x338c4b);class _0x3f58ef extends _0x42b304['RxDisposable']{constructor(){const _0xb9765=_0x540b42;super(),_0x432cc5(this,'urlChange$'),this[_0xb9765(0x394)]=_0x34f1d4[_0xb9765(0x29f)](window,_0xb9765(0x444))[_0xb9765(0x3ba)](_0x34f1d4[_0xb9765(0x342)](this[_0xb9765(0x20c)]),_0x34f1d4[_0xb9765(0x32a)](0x1),_0x34f1d4[_0xb9765(0x325)](void 0x0));}['setParam'](_0x4d4ad3,_0x21dde9,_0x51afc2=!0x1){const _0x3441a2=_0x540b42,_0x38f85b=new URL(window[_0x3441a2(0x2ff)][_0x3441a2(0x3f5)]);_0x38f85b[_0x3441a2(0x3f3)]['set'](_0x4d4ad3,_0x21dde9),_0x51afc2?window[_0x3441a2(0x2f0)][_0x3441a2(0x310)]('','',_0x38f85b['toString']()):window[_0x3441a2(0x2f0)][_0x3441a2(0x3ee)]('','',_0x38f85b[_0x3441a2(0x440)]());}[_0x540b42(0x2c8)](_0x4009b6,_0x5b1315=!0x1){const _0xed1617=_0x540b42,_0x56e3af=new URL(window['location'][_0xed1617(0x3f5)]);_0x56e3af[_0xed1617(0x3f3)][_0xed1617(0x278)](_0x4009b6),_0x5b1315?window['history'][_0xed1617(0x310)]('','',_0x56e3af[_0xed1617(0x440)]()):window[_0xed1617(0x2f0)][_0xed1617(0x3ee)]('','',_0x56e3af['toString']());}[_0x540b42(0x2b4)](_0x18c400){const _0x3ac5b6=_0x540b42;var _0x5a5c08;return(_0x5a5c08=new URL(window[_0x3ac5b6(0x2ff)][_0x3ac5b6(0x3f5)])[_0x3ac5b6(0x3f3)][_0x3ac5b6(0x26c)](_0x18c400))!=null?_0x5a5c08:void 0x0;}}var _0x46e4da=Object[_0x540b42(0x446)],_0x1f8801=Object[_0x540b42(0x2fc)],_0x2ec6a8=(_0x38ee64,_0x435eb2,_0x59f6ce)=>_0x435eb2 in _0x38ee64?_0x46e4da(_0x38ee64,_0x435eb2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59f6ce}):_0x38ee64[_0x435eb2]=_0x59f6ce,_0x432493=(_0x433276,_0x198a9b,_0xbe8d6b,_0x3529bf)=>{const _0x51345e=_0x540b42;for(var _0x17f2d5=_0x3529bf>0x1?void 0x0:_0x3529bf?_0x1f8801(_0x198a9b,_0xbe8d6b):_0x198a9b,_0x5863c5=_0x433276[_0x51345e(0x349)]-0x1,_0x16b792;_0x5863c5>=0x0;_0x5863c5--)(_0x16b792=_0x433276[_0x5863c5])&&(_0x17f2d5=_0x16b792(_0x17f2d5)||_0x17f2d5);return _0x17f2d5;},_0x39a37c=(_0x1d8f0c,_0x9c9cb6)=>(_0x3e6708,_0x580444)=>_0x9c9cb6(_0x3e6708,_0x580444,_0x1d8f0c),_0xe622b6=(_0x513077,_0x824cc3,_0x24bd47)=>_0x2ec6a8(_0x513077,_0x824cc3+'',_0x24bd47);const _0x5da211=_0x540b42(0x2e6);_0x41c194[_0x540b42(0x2a8)]=class extends _0x42b304[_0x540b42(0x328)]{constructor(_0x59d305=_0x374ffe,_0x17e4dd,_0x5ad4b6,_0x344d5d){const _0x16d352=_0x540b42;super(),this['_config']=_0x59d305,this[_0x16d352(0x3bc)]=_0x17e4dd,this['_injector']=_0x5ad4b6,this[_0x16d352(0x209)]=_0x344d5d;const {..._0x24fda7}=_0x42b304[_0x16d352(0x3c6)]({},_0x374ffe,this[_0x16d352(0x290)]);this['_configService']['setConfig'](_0x13ce90,_0x24fda7);}[_0x540b42(0x39a)](){const _0x57b2bc=_0x540b42;this[_0x57b2bc(0x2b6)](),this['_initDependencies']();}[_0x540b42(0x205)](){const _0x5a96fe=_0x540b42;this[_0x5a96fe(0x2ae)]();}[_0x540b42(0x2b6)](){const _0x18d307=_0x540b42;var _0x4f83ae;const _0x407f24=[[_0x4fb46b],[_0x554bd6],[_0x456090],[_0x412db4],[_0x42f10f],[_0x3867b1,{'useClass':_0x3f58ef}],[_0x43144b[_0x18d307(0x2a6)],{'useClass':_0x43144b['WebSocketService']}],[_0x41dc5f[_0x18d307(0x403)],{'useClass':_0x338c4b}],[_0x41c194[_0x18d307(0x2bf)]],[_0x11670f],[_0x5824b5],[_0x1283a0],[_0x55be9f],[_0x41c194[_0x18d307(0x2da)]]];_0x42b304[_0x18d307(0x3df)](this[_0x18d307(0x31b)],_0x42b304['mergeOverrideWithDependencies'](_0x407f24,(_0x4f83ae=this['_config'])==null?void 0x0:_0x4f83ae['override']));}[_0x540b42(0x2ae)](){const _0x123761=_0x540b42;this[_0x123761(0x2d2)](this[_0x123761(0x3bc)][_0x123761(0x438)](_0x42b304[_0x123761(0x22e)][_0x123761(0x270)],[_0x50cbf7])),this[_0x123761(0x2d2)](this['_renderManagerService']['registerRenderModule'](_0x42b304[_0x123761(0x22e)][_0x123761(0x33f)],[_0x50b460]));}['_initDependencies'](){const _0x419d84=_0x540b42;_0x42b304['touchDependencies'](this[_0x419d84(0x31b)],[[_0x1283a0],[_0x41c194[_0x419d84(0x2bf)]],[_0x11670f],[_0x5824b5],[_0x41c194[_0x419d84(0x2da)]]]);}},_0xe622b6(_0x41c194[_0x540b42(0x2a8)],'pluginName',_0x5da211),_0x41c194['UniverCollaborationClientUIPlugin']=_0x432493([_0x42b304[_0x540b42(0x1d0)](_0x41dc5f[_0x540b42(0x36f)]),_0x39a37c(0x1,_0x409358[_0x540b42(0x1aa)]),_0x39a37c(0x2,_0x42b304['Inject'](_0x42b304['Injector'])),_0x39a37c(0x3,_0x42b304[_0x540b42(0x3f9)])],_0x41c194['UniverCollaborationClientUIPlugin']);var _0xb7a0ab=Object['getOwnPropertyDescriptor'],_0x50a037=(_0x585d85,_0x3ede2b,_0x53d232,_0x27fcb7)=>{const _0x240f2c=_0x540b42;for(var _0xe54788=_0x27fcb7>0x1?void 0x0:_0x27fcb7?_0xb7a0ab(_0x3ede2b,_0x53d232):_0x3ede2b,_0x133579=_0x585d85[_0x240f2c(0x349)]-0x1,_0x61772f;_0x133579>=0x0;_0x133579--)(_0x61772f=_0x585d85[_0x133579])&&(_0xe54788=_0x61772f(_0xe54788)||_0xe54788);return _0xe54788;},_0x3648c7=(_0x3782d3,_0xcab2a8)=>(_0x2ec708,_0x44b227)=>_0xcab2a8(_0x2ec708,_0x44b227,_0x3782d3);_0x41c194[_0x540b42(0x1fc)]=class extends _0x41dc5f[_0x540b42(0x200)]{constructor(_0xae7b77,_0xa1e454,_0x1a36c3,_0x595e93,_0x543c82){super(_0xae7b77,_0xa1e454,_0x1a36c3,_0x595e93,_0x543c82);}async['createSocket'](_0x252202){const _0xeac686=_0x540b42,_0x271fbd=await this[_0xeac686(0x3a9)](),_0x71fe4=this[_0xeac686(0x439)](_0x252202,_0x271fbd);return this[_0xeac686(0x2be)](_0x71fe4);}[_0x540b42(0x439)](_0x7d7c66,_0x2bb4b8){const _0x26eff3=_0x540b42,_0x5d56d8=typeof window>'u'?new URL(_0x7d7c66):new URL(_0x7d7c66,window['location']['origin']);_0x5d56d8['searchParams']['set']('sessionTicket',_0x2bb4b8);const _0x2485e5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x26eff3(0x34e)]);return _0x2485e5[_0x26eff3(0x26c)](_0x26eff3(0x350))&&_0x5d56d8[_0x26eff3(0x3f3)]['set'](_0x26eff3(0x350),_0x2485e5['get'](_0x26eff3(0x350))),_0x5d56d8[_0x26eff3(0x440)]();}async[_0x540b42(0x3a9)](){const _0x40eb33=_0x540b42;var _0x32f723,_0xdd251b,_0x4b2d1e;const _0x5860dd=this[_0x40eb33(0x209)][_0x40eb33(0x1ca)](_0x41dc5f[_0x40eb33(0x232)]),_0x4caf26=(_0x32f723=_0x5860dd==null?void 0x0:_0x5860dd['wsSessionTicketUrl'])!=null?_0x32f723:_0x41dc5f[_0x40eb33(0x268)];return(_0x4b2d1e=(_0xdd251b=(await this[_0x40eb33(0x35e)][_0x40eb33(0x26c)](_0x4caf26,{'headers':{'Content-Type':'application/json'}}))[_0x40eb33(0x35a)])==null?void 0x0:_0xdd251b[_0x40eb33(0x391)])!=null?_0x4b2d1e:'';}},_0x41c194[_0x540b42(0x1fc)]=_0x50a037([_0x3648c7(0x0,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x3648c7(0x1,_0x42b304['Inject'](_0x43144b[_0x540b42(0x3e6)])),_0x3648c7(0x2,_0x42b304['IConfigService']),_0x3648c7(0x3,_0x42b304[_0x540b42(0x24e)]),_0x3648c7(0x4,_0x30bf61[_0x540b42(0x1ed)])],_0x41c194[_0x540b42(0x1fc)]);const _0x12f7ba=0x7530,_0x3c342c=_0x540b42(0x36a);class _0x59ff3a extends _0x42b304[_0x540b42(0x31f)]{constructor(){const _0x1078bb=_0x540b42;super(),_0x432cc5(this,'_id',_0x42b304['generateRandomId']()),_0x432cc5(this,_0x1078bb(0x321),new Set()),_0x432cc5(this,'_unitOnClients',new Map()),_0x432cc5(this,_0x1078bb(0x1e8),null),_0x432cc5(this,_0x1078bb(0x381),new Map()),_0x432cc5(this,_0x1078bb(0x2ee),new Map()),this[_0x1078bb(0x413)]();}[_0x540b42(0x26d)](){const _0x315a04=_0x540b42;super[_0x315a04(0x26d)](),this['_clearOtherTimers'][_0x315a04(0x3fb)]((_0x1135d4,_0x5c56c7)=>this[_0x315a04(0x373)](_0x5c56c7)),this[_0x315a04(0x1e8)]&&window[_0x315a04(0x285)](this[_0x315a04(0x1e8)]);}[_0x540b42(0x1f6)](_0x48d997){const _0x33381f=_0x540b42;return this['_ensureSubject'](_0x48d997)[_0x33381f(0x3ba)](_0x34f1d4[_0x33381f(0x1be)]());}[_0x540b42(0x418)](_0x2bc80d){const _0x4c17b7=_0x540b42;this[_0x4c17b7(0x321)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x4c17b7(0x321)][_0x4c17b7(0x296)](_0x2bc80d),this[_0x4c17b7(0x425)]({'type':0x0,'memberID':this[_0x4c17b7(0x267)],'unitIDs':[_0x2bc80d],'isForwarded':!0x1});}['disposeUnit'](_0x467676){const _0x392400=_0x540b42;this[_0x392400(0x321)][_0x392400(0x278)](_0x467676),this['_selfUnitIDs'][_0x392400(0x3fe)]===0x0&&this[_0x392400(0x1e8)]&&window[_0x392400(0x285)](this['_heartbeatTimer']);}[_0x540b42(0x413)](){const _0x5277b5=_0x540b42;this[_0x5277b5(0x2d2)](_0x42b304['toDisposable'](_0x34f1d4[_0x5277b5(0x29f)](window,_0x5277b5(0x2dc))[_0x5277b5(0x289)](_0x24d67a=>{const _0x1316db=_0x5277b5;if(_0x24d67a['key']!==_0x3c342c||!_0x24d67a['newValue'])return;const _0x4b07d8=JSON[_0x1316db(0x32e)](_0x24d67a['newValue']);this[_0x1316db(0x3f7)](_0x4b07d8);}))),window[_0x5277b5(0x442)]('unload',()=>this[_0x5277b5(0x425)]({'type':0x1,'memberID':this[_0x5277b5(0x267)],'unitIDs':Array[_0x5277b5(0x3dd)](this[_0x5277b5(0x321)])}));}['_handleEvent'](_0x3d2e74){const _0x1de61e=_0x540b42;switch(_0x3d2e74[_0x1de61e(0x1af)]){case 0x0:this[_0x1de61e(0x1ad)](_0x3d2e74);break;case 0x1:this[_0x1de61e(0x436)](_0x3d2e74);break;case 0x2:this[_0x1de61e(0x445)](_0x3d2e74);break;}}[_0x540b42(0x1ad)](_0x4f71f4){const _0x309d75=_0x540b42,{unitIDs:_0x32304d,memberID:_0x2cef76,isForwarded:_0x29f039}=_0x4f71f4;_0x32304d[_0x309d75(0x3fb)](_0x4edd90=>{const _0x2a00ba=_0x309d75;if(!_0x29f039&&this[_0x2a00ba(0x2f4)][_0x2a00ba(0x25d)](_0x4edd90)&&this[_0x2a00ba(0x31a)](_0x4edd90)[_0x2a00ba(0x28e)](_0x41dc5f[_0x2a00ba(0x2ba)]['OTHER_CLIENTS_EDITING']),!this[_0x2a00ba(0x2f4)]['has'](_0x4edd90)||!this['_unitOnClients']['get'](_0x4edd90)[_0x2a00ba(0x25d)](_0x2cef76)){const _0x12c194=this[_0x2a00ba(0x2f4)][_0x2a00ba(0x26c)](_0x4edd90)||new Set();_0x12c194[_0x2a00ba(0x296)](_0x2cef76),this[_0x2a00ba(0x2f4)][_0x2a00ba(0x1e2)](_0x4edd90,_0x12c194),this[_0x2a00ba(0x3bb)](_0x2cef76);}}),_0x29f039||this[_0x309d75(0x425)]({'type':0x0,'memberID':this[_0x309d75(0x267)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x540b42(0x3bb)](_0x254571){const _0x3c55a3=_0x540b42;this[_0x3c55a3(0x373)](_0x254571);const _0x48a4ce=window[_0x3c55a3(0x352)](()=>{const _0x1938e1=_0x3c55a3;this[_0x1938e1(0x2f4)][_0x1938e1(0x3fb)](_0x4378f7=>{const _0x3d86fb=_0x1938e1;_0x4378f7[_0x3d86fb(0x278)](_0x254571);});},_0x12f7ba*0x2);this[_0x3c55a3(0x381)]['set'](_0x254571,_0x48a4ce);}[_0x540b42(0x373)](_0x26dca2){const _0x1ffa31=_0x540b42;if(this['_clearOtherTimers'][_0x1ffa31(0x25d)](_0x26dca2)){const _0x4e2045=this[_0x1ffa31(0x381)]['get'](_0x26dca2);_0x4e2045&&window[_0x1ffa31(0x427)](_0x4e2045),this[_0x1ffa31(0x381)][_0x1ffa31(0x1e2)](_0x26dca2,null);}}[_0x540b42(0x436)](_0x36181c){const _0x527a33=_0x540b42,{memberID:_0x44d327,unitIDs:_0x228173}=_0x36181c;_0x228173[_0x527a33(0x3fb)](_0x4c81c1=>{const _0x18e749=_0x527a33;var _0x473186;const _0x3d16ab=this[_0x18e749(0x2f4)]['get'](_0x4c81c1);_0x3d16ab&&(_0x3d16ab[_0x18e749(0x278)](_0x44d327),(_0x473186=this['_ensureSubject'](_0x4c81c1))==null||_0x473186['next'](_0x3d16ab[_0x18e749(0x3fe)]===0x0?_0x41dc5f[_0x18e749(0x2ba)][_0x18e749(0x26f)]:_0x41dc5f[_0x18e749(0x2ba)]['OTHER_CLIENTS_EDITING']));}),this[_0x527a33(0x373)](_0x44d327);}['_handleHeartbeatEvent'](_0x1e870d){const _0x300fbe=_0x540b42;this[_0x300fbe(0x3bb)](_0x1e870d[_0x300fbe(0x42e)]);}[_0x540b42(0x425)](_0x98f9bd){const _0x40a925=_0x540b42;localStorage['setItem'](_0x3c342c,JSON[_0x40a925(0x353)](_0x98f9bd));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x12f7ba);}[_0x540b42(0x31a)](_0x3672ac){const _0x10e4bb=_0x540b42;return this[_0x10e4bb(0x2ee)][_0x10e4bb(0x25d)](_0x3672ac)||this[_0x10e4bb(0x2ee)]['set'](_0x3672ac,new _0x34f1d4[(_0x10e4bb(0x225))](_0x41dc5f['UnitStatus'][_0x10e4bb(0x26f)])),this[_0x10e4bb(0x2ee)][_0x10e4bb(0x26c)](_0x3672ac);}}var _0x178dda=(_0xc38c51=>(_0xc38c51[_0xc38c51[_0x540b42(0x2b2)]=0x0]=_0x540b42(0x2b2),_0xc38c51[_0xc38c51['OK']=0x1]='OK',_0xc38c51[_0xc38c51[_0x540b42(0x219)]=0x2]=_0x540b42(0x219),_0xc38c51[_0xc38c51[_0x540b42(0x360)]=0x3]=_0x540b42(0x360),_0xc38c51[_0xc38c51[_0x540b42(0x346)]=0x4]=_0x540b42(0x346),_0xc38c51[_0xc38c51['UNAUTHENTICATED']=0x5]=_0x540b42(0x31c),_0xc38c51[_0xc38c51[_0x540b42(0x1ac)]=0x6]=_0x540b42(0x1ac),_0xc38c51[_0xc38c51[_0x540b42(0x2c2)]=0x7]=_0x540b42(0x2c2),_0xc38c51[_0xc38c51[_0x540b42(0x429)]=0x8]=_0x540b42(0x429),_0xc38c51[_0xc38c51[_0x540b42(0x28f)]=0x9]=_0x540b42(0x28f),_0xc38c51[_0xc38c51[_0x540b42(0x324)]=0xa]='LOGIN_FAILED',_0xc38c51[_0xc38c51[_0x540b42(0x3eb)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xc38c51[_0xc38c51[_0x540b42(0x2b1)]=0x1771]=_0x540b42(0x2b1),_0xc38c51[_0xc38c51[_0x540b42(0x364)]=0x1772]=_0x540b42(0x364),_0xc38c51[_0xc38c51[_0x540b42(0x2dd)]=0x1773]=_0x540b42(0x2dd),_0xc38c51[_0xc38c51['APPLY_REJECT']=0x1b59]=_0x540b42(0x2c3),_0xc38c51[_0xc38c51[_0x540b42(0x423)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xc38c51[_0xc38c51['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0xc38c51[_0xc38c51[_0x540b42(0x2ad)]=0x1b5c]=_0x540b42(0x2ad),_0xc38c51[_0xc38c51['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0xc38c51[_0xc38c51['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x540b42(0x1e1),_0xc38c51[_0xc38c51[_0x540b42(0x1c6)]=0x2329]=_0x540b42(0x1c6),_0xc38c51[_0xc38c51['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x540b42(0x2d9),_0xc38c51[_0xc38c51['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x540b42(0x1c3),_0xc38c51[_0xc38c51[_0x540b42(0x1eb)]=0x232c]=_0x540b42(0x1eb),_0xc38c51[_0xc38c51['LICENSE_DISTRO_REJECTED']=0x232d]=_0x540b42(0x322),_0xc38c51[_0xc38c51[_0x540b42(0x3bd)]=0x2711]=_0x540b42(0x3bd),_0xc38c51[_0xc38c51[_0x540b42(0x1c7)]=0x2712]=_0x540b42(0x1c7),_0xc38c51[_0xc38c51[_0x540b42(0x37b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xc38c51[_0xc38c51[_0x540b42(0x3aa)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xc38c51[_0xc38c51[_0x540b42(0x3dc)]=0x271a]=_0x540b42(0x3dc),_0xc38c51[_0xc38c51[_0x540b42(0x307)]=0x271b]=_0x540b42(0x307),_0xc38c51[_0xc38c51[_0x540b42(0x34d)]=0x2af9]=_0x540b42(0x34d),_0xc38c51[_0xc38c51[_0x540b42(0x281)]=0x2ee1]=_0x540b42(0x281),_0xc38c51[_0xc38c51[_0x540b42(0x3ed)]=0x2ee2]='INVALID_INVITE_CODE',_0xc38c51[_0xc38c51['INVITE_CODE_REQUIRED']=0x2ee3]=_0x540b42(0x36c),_0xc38c51[_0xc38c51[_0x540b42(0x264)]=0x2ee4]=_0x540b42(0x264),_0xc38c51[_0xc38c51['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x540b42(0x29d),_0xc38c51[_0xc38c51[_0x540b42(0x2f6)]=0x32c9]=_0x540b42(0x2f6),_0xc38c51[_0xc38c51[_0x540b42(0x404)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xc38c51[_0xc38c51['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x540b42(0x2fb),_0xc38c51[_0xc38c51['UNRECOGNIZED']=-0x1]=_0x540b42(0x21f),_0xc38c51))(_0x178dda||{}),_0x1bed8a=Object[_0x540b42(0x2fc)],_0x41a32d=(_0x3c9a30,_0x34eefc,_0x1384ae,_0x53f64f)=>{const _0x560239=_0x540b42;for(var _0x35fbe4=_0x53f64f>0x1?void 0x0:_0x53f64f?_0x1bed8a(_0x34eefc,_0x1384ae):_0x34eefc,_0x21aa8d=_0x3c9a30[_0x560239(0x349)]-0x1,_0x3d8e30;_0x21aa8d>=0x0;_0x21aa8d--)(_0x3d8e30=_0x3c9a30[_0x21aa8d])&&(_0x35fbe4=_0x3d8e30(_0x35fbe4)||_0x35fbe4);return _0x35fbe4;},_0x37a20d=(_0x14e517,_0x35d815)=>(_0x5bb545,_0x1615be)=>_0x35d815(_0x5bb545,_0x1615be,_0x14e517);_0x41c194['RemoteUniscriptService']=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x52eae7,_0x5987a9,_0x71027b){const _0x579710=_0x540b42;super(),this[_0x579710(0x224)]=_0x52eae7,this[_0x579710(0x35e)]=_0x5987a9,this[_0x579710(0x209)]=_0x71027b;}async[_0x540b42(0x388)](_0x59c133,_0x3c6b63,_0x35fb69,..._0x1c8289){const _0x306f38=_0x540b42;var _0x5bb8e4,_0x37cff9,_0x1a0afd,_0x1992be;const _0x55ef0e=this[_0x306f38(0x224)]['getFocusedUnit']();if(!_0x55ef0e)throw new Error(_0x306f38(0x433));const _0x4713c5=((_0x5bb8e4=this['_configService'][_0x306f38(0x1ca)](_0x41dc5f[_0x306f38(0x1b3)]))!=null?_0x5bb8e4:_0x41dc5f[_0x306f38(0x41d)])+'/'+_0x59c133+'/run/'+_0x3c6b63,_0x4ccc82=new URL(window[_0x306f38(0x2ff)][_0x306f38(0x3f5)]),_0x129ca1={'scriptId':_0x59c133,'runId':(_0x37cff9=_0x4ccc82[_0x306f38(0x3f3)]['get']('runId'))!=null?_0x37cff9:'','function':_0x3c6b63,'unitId':_0x55ef0e[_0x306f38(0x3c5)](),'argsOfFunction':JSON[_0x306f38(0x353)](_0x1c8289),'invokeId':(_0x1a0afd=_0x35fb69[_0x306f38(0x2b5)])!=null?_0x1a0afd:'','executionId':(_0x1992be=_0x35fb69[_0x306f38(0x361)])!=null?_0x1992be:''};try{const _0x4193b2=await this[_0x306f38(0x35e)][_0x306f38(0x255)](_0x4713c5,{'body':_0x129ca1});return _0x4193b2[_0x306f38(0x35a)][_0x306f38(0x202)]&&_0x4193b2[_0x306f38(0x35a)]['error'][_0x306f38(0x1ab)]!==_0x178dda['OK']?_0x306f38(0x2b8):_0x4193b2[_0x306f38(0x35a)][_0x306f38(0x39b)];}catch{return _0x306f38(0x2b8);}}},_0x41c194[_0x540b42(0x316)]=_0x41a32d([_0x37a20d(0x0,_0x42b304['IUniverInstanceService']),_0x37a20d(0x1,_0x42b304[_0x540b42(0x40f)](_0x43144b['HTTPService'])),_0x37a20d(0x2,_0x42b304[_0x540b42(0x3f9)])],_0x41c194[_0x540b42(0x316)]),_0x41c194[_0x540b42(0x300)]=_0x57b7f0,_0x41c194[_0x540b42(0x2af)]=_0x3867b1,_0x41c194[_0x540b42(0x33a)]=_0x41d68b,_0x41c194['WebBrowserSingleActiveUnitService']=_0x59ff3a,_0x41c194[_0x540b42(0x317)]=_0x3f58ef,Object[_0x540b42(0x446)](_0x41c194,Symbol['toStringTag'],{'value':'Module'});}));
|
|
1
|
+
function _0x4b8b(_0x50a1e7,_0x1bf874){const _0xb8fb15=_0xb8fb();return _0x4b8b=function(_0x4b8bd9,_0x272a82){_0x4b8bd9=_0x4b8bd9-0x1c5;let _0x55e232=_0xb8fb15[_0x4b8bd9];return _0x55e232;},_0x4b8b(_0x50a1e7,_0x1bf874);}function _0xb8fb(){const _0x5e3a34=['isTransformMutationsWithChangesetSuccess','pushState','USERS_LEAVE','getCellPositionByOffset','_toggleOffline','registerRefRange','toRgbString','_anchor','handleIRemoveCol','mapTo','_textBubble','getUndoRedoMutationParamsCache','setTimeout','startColumn','_handleHover','_getAnchorBounding','UNRECOGNIZED','toStringTag','UniverCollaborationClientPlugin','_backgroundColor','_cachedData','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','univer-text-red-500','isArray','JOIN_ROOM_FAILED','operators','createElement','currentTheme$','on-line-single_clip0_910_349','CollaborationStatus','RevisionService','displayName','combineLatest','createSocket','getMergeData','body','CollaborationSessionService','_initResize','MessageType','string','1em','drawWith','#FFF','ICommandService','font','AWAITING_WITH_PENDING','_doCreateSocket','clearTimeout','exhaustSavingTask','@univerjs/design','onTransformChange$','_docTransformStateCacheService','lineTo','_toggleOnline','HTTPService','getUnhiddenWorksheets','defIds','init','pipe','icon','getConfig','currentSkeleton$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_color','LICENSE_DISTRO_REJECTED','INVITE_CODE_ALREADY_BOUND','SetSelectionsOperation','collab-text-range-','_cursorInfo$','_setupBeforeClosingHandler','hovered','_urlService','length','BehaviorSubject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_colorAssignService','getDocRanges','_context','BrowserCollaborationSocketService','onLocalMutation','Error','_sheetSkeletonManagerService','_collabCursorState$','COMPLETION_FINISHED','labelPosition','SheetCollabCursorShape','addEventListener','getMemberID','hasOwnProperty','_hovered','forwardRef','_session','registerComponent','8rQaImr','transformSelections','code','SOCKET_FAILED_RETRY','ITransformService','enableLocalCache','getUniverSheetInstance','roomMembers$','SetDocZoomRatioOperation','UNAUTHENTICATED','getTypeOfUnitAdded$','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearOtherTimers','_initEvent','trim','UnitStatus','url(#$1','_transformService','max','dispose','NOT_COLLAB','@univerjs/engine-render','createIdentifier','_eventUnsubscribe','_document','@univerjs/ui','path','_memberService','next','[CollaborationDataLoaderController]','all','collab-client.tooltip.reconnect','_updateURLWithCurrentState','_unitStatus','RECT','_heartbeatTimer','UniverSheetsUi','unitID','clearInterval','Inject','defineProperty','error','PY_RUNTIME_SCRIPT_ERROR','109210lXAKps','NO_OTHER_CLIENTS_EDITING','entries','loadUnit','_startDocCollabCursor','DeleteRangeMoveLeftCommandId','saveImage','subUnitId','triggerDblclick','send','size','_docStateChangeManagerService','react','object','Tools','_themeService','1563030xFkMUD','Vector2','name','source','ILocalCacheService','Module','APPLY_PERMISSION_DENIED','getRenderById','handleInsertRangeMoveRight','IConfigService','_createSocketURL','values','addObjects','filter','updateOfflineData','YUUMI_ASYNCIO_CANCELLED','origin','_unitOnClients','@univerjs/sheets','UniverProCollaborationClient','_initCommandExecutedListener','syncEditingCollabCursor','_cursors','_refreshCollabCursors','_selfUnitIDs','MUTATION','InsertRangeMoveRightCommandId','session.collaboration-timeout','complete','Failed','m2Prime','getActiveRange','merge','VIEW_MAIN','DocIMEInputManagerService','SNAPSHOT_INVALID_SNAPSHOT','closePath','mutations','CONFLICT','NOT_FOUND','fromEvent','getCurrentRevOfUnit','@univerjs/core','getSheetBySheetId','Disposable','moveTo','with','0\x200\x2017\x2016','TOO_MANY_REQUESTS','unsubscribe','executionId','DisposableCollection','sheetID','_onRefRangeChange','SOCKET_FAILED','history','endRow','random','univer-flex\x20univer-items-center','/run/','5HfsAWf','getParam','reconnect','RemoveRowCommandId','className','sessionStatus$','_setupSubUnitSync','_initStatusComponent','UniverCollaborationClientUIPlugin','_config','black','storage','attrs','href','DesktopCollaborationStatusDisplayController','getValue','takeUntil','_collabCursorController','replaceState','_render','transformMutationsWithChangeset','hide','1463912RSmscG','FETCH_MISS','Unknown\x20user','arc','Shape','touchDependencies','data','@univerjs/network','IRenderManagerService','DependentOn','saveOfflineData','UNIVER_DOC','Warning','handleMoveRange','_localeService','APPLY_DUPLICATED','CollaborationDataLoaderController','_transformPreviousActiveRange','purple300','svg','subunit','redoState','serializeRangeWithSheet','_getSessionTicket','RxDisposable','YUUMI_UNABLE_LOAD_URL','shareReplay','startsWith','loadOfflineData','transformIMECache','APPLY_NON_SEQUENTIAL_REVISION','substring','unshift','_lastPointer','color','setShapeProps','_drawRectRange','getLocalCacheKey','_messageService','UniverUi','whenReady','UNDEFINED','collabStatus.synced','getSheetId','toDisposable','search','getStateCache','2ioskOn','RemoveColCommandId','Tooltip','handleInsertCol','registerDependencies','WebBrowserSingleActiveUnitService','saveTaskMap','5333741pvuEFu','delete','ColorKit','editingUnit','connectInjector','useDependency','BuiltInUIPart','useRef','type','@univerjs/drawing','column','_cursorShapes','amd','INTERNAL_ERROR','_online','IUniverInstanceService','@univerjs-pro/collaboration-client','_docSkeletonManagerService','getTypeOfUnitDisposed$','ILocalStorageService','disableLocalCache','replace','measureText','IDocClipboardService','sessionTicket','_getScale','LICENSE_EXPORT_SIZE_EXCEEDED','_transformUndoRedoStack','@univerjs-pro/collaboration','_collabSessionService','setAlpha','backgroundColor','focused$','_send','SheetsSelectionsService','add','verdancy600','distinctUntilChanged','wsSessionTicketUrl','SNAPSHOT_HAS_BEEN_REMOVED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IBeforeCloseService','_ensureSubject','idSuffix','OffLineSingle','UNIVER_SHEET','_anchorDot','_injector','concat','_saveCache','UniverDocsUi','_roomMembers$','collaboration-client.offline-data-not-saved','replaceDocRanges','searchParams','LICENSE_MAX_UNITS_EXCEEDED','UniverEngineFormula','clipPath','urlChange$','div','CollaborationEvent','INVALID_ARGUMENT','EffectRefRangId','_updateSubUnitFromURLParams','collabStatus.notCollab','AWAITING','MemberService','children','subscribe','ISocketService','newValue','getFocusedUnit','getUnitId','getOffsetConfig','isTransformMutationFailure','_id','params','Subject','_handleHeartbeatEvent','colorChannel1','setActiveRange','@univerjs/docs','off-line-single_clip0_910_343','row','univerjs-icon\x20univerjs-icon-','INVITE_CODE_HAS_BEEN_UES','InsertColCommandId','_labelPosition','_notificationService','addObject','tag','NodePositionConvertToCursor','jiqing500','rgba(255,\x20255,\x20255,\x200.01)','getVpScrollXYInfoByPosToVp','WECHAT_HAS_BEEN_BOUND','CONNECTOR_DATA_TOO_LARGE','M0\x200H16V16H0z','IRemoteInstanceService','save','runOnServer','handleIRemoveRow','_syncEditingCollabCursorService','InsertRowCommandId','Injector','ALREADY_EXISTS','getRelativeToViewportCoord','_registerRenderDependencies','cursorInfo$','skeleton','getCollabCursors$','DEFAULT_WS_SESSION_TICKET_URL','INVITE_CODE_REQUIRED','dispose$','getUnitStatus$','MoveRangeCommandId','engine','find','getSheetObject','push','set','@univerjs/rpc','2493138wHIaJP','selection','DocStateChangeManagerService','collab-rect-range-','537467bQBNcE','switchMap','_range','_handleLeaveEvent','location','status$','runRefRangeMutations','_status$','univer-text-green-500','_getSaveTimeout','_scheduleSaving','_beforeCloseService','HEADER_MENU','UPDATE_CURSOR','handleDeleteRangeMoveLeft','onPointerEnter$','asObservable','SYNCED','_drawTextRange','UniverIcon','beginPath','override','#fff','debounceTime','use','_logService','YUUMI_URL_COL_OUT_OF_RANGE','TEXT_RANGE_LAYER_INDEX','findNodePositionByCharIndex','SUBMIT_CHANGESET_TIMEOUT','_initStatusListener','useObservable','has','collaboration.closeRoom','onPointerMove$','_draw','_univerInstanceService','CollaborationStatusDisplay','_commandService','USER_NOT_INVITED_CODE','range','_revisionService','0\x200\x2016\x2016','debounce','getOwnPropertySymbols','MOBILE_HAS_BEEN_BOUND','RefRangeService','deserializeRangeWithSheet','APPLY_REJECT','_removeCollabCursors','_updateLocalCursor','_handleJoinEvent','collaboration-client-ui.config','xlink:href','COLORS','_docTransformSelectionsService','_scene','some','_dataLoaderService','_registerDependencies','DocSelectionManagerService','_getMergeRange','activeSheet$','disposeWithMe','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','red300','result','DOC_RANGE_TYPE','SessionStatus','exports','onCommandExecuted','_uiPartsService','deepClone','_scheduleClearOtherTimer','UniverProCollaboration','indexOf','onMouseMove','_localCacheService','width','blue400','_removeClearOtherTimer','22JDqiNH','FromArray','top','from','round','roomMembers','_initDependencies','OnLineSingle','LICENSE_IMPORT_SIZE_EXCEEDED','_disabled','_onCursorDelete','toString','APPLY_REVISION_CONFILICT','ranges','docStateChange$','symbol','permission.content','restore','getAncestorScale','debug','OTHER_CLIENTS_EDITING','_name','INotificationService','call','collabStatus.offline','TRANSFORM_CHANGE_OBSERVABLE_TYPE','evenodd','setInterval','fillRule','LocaleService','UniverInstanceType','show','undoState','extend','onStarting','min','popstate','_renderManagerService','setItem','CollaborationController','_entityInit$','key','_localStorageService','_saveTaskMap','getCurrent','collabStatus.conflict','m1Prime','subscribeEvent','eventID','RemoteUniscriptService','Optional','_hideTimer','getActiveSheet','SheetSkeletonManagerService','_imageIoService','then','defs','_configService','_handleEvent','ILogService','bottom','ENSURE_SNAPSHOT_EXECUTION','get','ThemeService','React','transformStateCache','_docTransformIMECacheService','getOwnPropertyDescriptor','uni.network.url-service','entityInit$','throttleTime','jsx','getSkeleton','getRangePointData','assignAColorForMemberID','fillStyle','application/json','DocSkeletonManagerService','_collaborationController','CollaborationUIEventId','forEach','INVALID_INVITE_CODE','UniverEngineRender','rxjs/operators','collabStatus.fetchMiss','requireSession','_httpService','fill','runId','DeleteRangeMoveUpCommandId','SetWorksheetActivateCommand','rxjs','getColor','fillText','registerRenderModule','unit','IImageIoService','@univerjs/sheets-ui','Rectangle','_transformHistoryAndStateStack','_initEntityListener','transformMutation','setParam','mask','OFFLINE','none','InsertRangeMoveDownCommandId','_scheduleHeartbeat','_updateCollabCursors','cursorInfo','UniverSheets','DataLoaderService','removeParam','YUUMI_NO_CUBOID_FOR_QUESTION','PERMISSION_DENIED','collabStatus.syncing','RegularPolygon','UniverDrawing','_shapes','_docClipboardService','current','_init','_assignedColors','ONLINE','_docSyncEditingCollabCursorService','prototype','setUndoRedoMutationParamsCache','...','getViewport','_colorIndex','Plugin','_cursor','@univerjs/docs-ui','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','includes','generateRandomId','jsxs','TEXT','onPointerLeave$','Rect','doc.mutation.rich-text-editing','isActive','_entities','@univerjs/engine-formula','stringify','unitId','assign','SetTextSelectionsOperation','selections','textRanges','EMAIL_HAS_BEEN_BOUND','getCoordByCell','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_hover','_refRangeService','_onCursorUpdate','map','_getSheetObject','event$','height','_instanceService','split','text','mergeOverrideWithDependencies','14546358JIVWQW','transformRemoteChangeset','UniverDesign'];_0xb8fb=function(){return _0x5e3a34;};return _0xb8fb();}(function(_0x37e18b,_0x33ce1a){const _0x3fb6a8=_0x4b8b,_0x28f39b=_0x37e18b();while(!![]){try{const _0x4089cc=-parseInt(_0x3fb6a8(0x1de))/0x1*(-parseInt(_0x3fb6a8(0x3ef))/0x2)+-parseInt(_0x3fb6a8(0x36e))/0x3+parseInt(_0x3fb6a8(0x3c0))/0x4*(-parseInt(_0x3fb6a8(0x3aa))/0x5)+parseInt(_0x3fb6a8(0x1da))/0x6+parseInt(_0x3fb6a8(0x3f6))/0x7*(-parseInt(_0x3fb6a8(0x333))/0x8)+parseInt(_0x3fb6a8(0x2d3))/0x9+parseInt(_0x3fb6a8(0x35e))/0xa*(parseInt(_0x3fb6a8(0x22f))/0xb);if(_0x4089cc===_0x33ce1a)break;else _0x28f39b['push'](_0x28f39b['shift']());}catch(_0x3c135e){_0x28f39b['push'](_0x28f39b['shift']());}}}(_0xb8fb,0xe603f),function(_0x2c72c9,_0x2ae10a){const _0x1fdca5=_0x4b8b;typeof exports==_0x1fdca5(0x36b)&&typeof module<'u'?_0x2ae10a(exports,require(_0x1fdca5(0x406)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x1fdca5(0x3c7)),require(_0x1fdca5(0x2b3)),require(_0x1fdca5(0x3ff)),require(_0x1fdca5(0x28a)),require(_0x1fdca5(0x447)),require(_0x1fdca5(0x412)),require(_0x1fdca5(0x2be)),require(_0x1fdca5(0x380)),require(_0x1fdca5(0x282)),require(_0x1fdca5(0x290)),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x1fdca5(0x307)),require(_0x1fdca5(0x36a)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x1fdca5(0x402)]?define([_0x1fdca5(0x223),'@univerjs-pro/collaboration-client',_0x1fdca5(0x398),_0x1fdca5(0x348),_0x1fdca5(0x3c7),'@univerjs/docs-ui','@univerjs/drawing',_0x1fdca5(0x28a),_0x1fdca5(0x447),'@univerjs-pro/collaboration',_0x1fdca5(0x2be),_0x1fdca5(0x380),_0x1fdca5(0x282),_0x1fdca5(0x290),'react/jsx-runtime',_0x1fdca5(0x34c),_0x1fdca5(0x307),_0x1fdca5(0x36a),_0x1fdca5(0x1d9)],_0x2ae10a):(_0x2c72c9=typeof globalThis<'u'?globalThis:_0x2c72c9||self,_0x2ae10a(_0x2c72c9['UniverProCollaborationClientUi']={},_0x2c72c9[_0x1fdca5(0x381)],_0x2c72c9['UniverCore'],_0x2c72c9[_0x1fdca5(0x281)],_0x2c72c9['UniverNetwork'],_0x2c72c9[_0x1fdca5(0x428)],_0x2c72c9[_0x1fdca5(0x2a4)],_0x2c72c9[_0x1fdca5(0x28a)],_0x2c72c9['UniverDocs'],_0x2c72c9[_0x1fdca5(0x228)],_0x2c72c9[_0x1fdca5(0x42e)],_0x2c72c9[_0x1fdca5(0x29d)],_0x2c72c9[_0x1fdca5(0x28a)][_0x1fdca5(0x2ef)],_0x2c72c9[_0x1fdca5(0x357)],_0x2c72c9['React'],_0x2c72c9[_0x1fdca5(0x3e7)],_0x2c72c9[_0x1fdca5(0x2d5)],_0x2c72c9[_0x1fdca5(0x26f)],_0x2c72c9['UniverRpc']));}(this,function(_0x5d87d7,_0x5bae0f,_0x12127f,_0xcd886d,_0x12d4d8,_0x464098,_0x175fc4,_0x4d06f2,_0x514f6b,_0x50b9f9,_0x5371ba,_0x347d9b,_0x43c141,_0x158580,_0x30ea62,_0x594396,_0x4ecfe7,_0xbee236,_0x5ae2ec){'use strict';const _0x4c88bb=_0x4b8b;var _0x66593a=Object[_0x4c88bb(0x35b)],_0x436b25=(_0x226e38,_0x5490b7,_0x145200)=>_0x5490b7 in _0x226e38?_0x66593a(_0x226e38,_0x5490b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x145200}):_0x226e38[_0x5490b7]=_0x145200,_0x259cdc=(_0x4186f4,_0x50bf94,_0x11c840)=>_0x436b25(_0x4186f4,typeof _0x50bf94!=_0x4c88bb(0x23e)?_0x50bf94+'':_0x50bf94,_0x11c840),_0x86ec6a=Object[_0x4c88bb(0x272)],_0x1d3cad=(_0x1d7ac9,_0x3def26,_0x30bea5,_0x490f26)=>{const _0x127bbf=_0x4c88bb;for(var _0x54e902=_0x490f26>0x1?void 0x0:_0x490f26?_0x86ec6a(_0x3def26,_0x30bea5):_0x3def26,_0x1e7a05=_0x1d7ac9[_0x127bbf(0x31e)]-0x1,_0x5b4840;_0x1e7a05>=0x0;_0x1e7a05--)(_0x5b4840=_0x1d7ac9[_0x1e7a05])&&(_0x54e902=_0x5b4840(_0x54e902)||_0x54e902);return _0x54e902;},_0x23d7b8=(_0x47cf06,_0x36f1b6)=>(_0x158869,_0x49cb83)=>_0x36f1b6(_0x158869,_0x49cb83,_0x47cf06);let _0xd2e3e3=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x5c87,_0x1db0e9){const _0xc19e6b=_0x4c88bb;super(),this[_0xc19e6b(0x2a6)]=_0x5c87,this[_0xc19e6b(0x265)]=_0x1db0e9,this[_0xc19e6b(0x2a8)]();}[_0x4c88bb(0x2a8)](){const _0x2ee59c=_0x4c88bb,_0x18b374=this;this[_0x2ee59c(0x21d)](this[_0x2ee59c(0x2a6)]['addClipboardHook']({'onBeforePasteImage':async _0x35ee55=>{const _0x379923=_0x2ee59c,_0x4918f0=await _0x18b374['_imageIoService'][_0x379923(0x364)](_0x35ee55);return _0x4918f0?{'source':_0x4918f0[_0x379923(0x371)],'imageSourceType':_0x4918f0['imageSourceType']}:null;}}));}};_0xd2e3e3=_0x1d3cad([_0x23d7b8(0x0,_0x464098[_0x4c88bb(0x40d)]),_0x23d7b8(0x1,_0x175fc4[_0x4c88bb(0x28f)])],_0xd2e3e3);const _0x139324=[_0x4c88bb(0x3d2),_0x4c88bb(0x452),_0x4c88bb(0x41a),_0x4c88bb(0x21f),_0x4c88bb(0x22d),'gold400'];class _0x3a2e1e extends _0x12127f[_0x4c88bb(0x39a)]{constructor(){const _0x4c03b4=_0x4c88bb;super(...arguments),_0x259cdc(this,'_assignedColors',new Map()),_0x259cdc(this,_0x4c03b4(0x2b0),0x0);}[_0x4c88bb(0x279)](_0xa319){const _0x27ea50=_0x4c88bb;if(this[_0x27ea50(0x2a9)][_0x27ea50(0x1fe)](_0xa319))return this['_assignedColors'][_0x27ea50(0x26d)](_0xa319);const _0x2df9cd=_0x139324[this['_colorIndex']];return this[_0x27ea50(0x2b0)]=(this[_0x27ea50(0x2b0)]+0x1)%_0x139324[_0x27ea50(0x31e)],this[_0x27ea50(0x2a9)][_0x27ea50(0x1d8)](_0xa319,_0x2df9cd),_0x2df9cd;}}function _0x39ca37(_0x5471a9){const _0x1b06e3=_0x4c88bb;let _0x3b3397='';for(const _0x2fbe1e of _0x5471a9){const {startOffset:_0x5f2c02,endOffset:_0x454ad5,isActive:_0x17a3a6,rangeType:_0x2184c8,segmentId:_0x15d014,segmentPage:_0x2f3433}=_0x2fbe1e;_0x3b3397[_0x1b06e3(0x31e)]&&(_0x3b3397+=','),_0x3b3397+=_0x5f2c02+':'+_0x454ad5+':'+(_0x17a3a6?'1':'0')+':'+_0x2184c8+':'+_0x15d014+':'+_0x2f3433;}return _0x3b3397;}function _0x1f0359(_0x2d7200){const _0x100ed5=_0x4c88bb,_0x70d61a=_0x2d7200[_0x100ed5(0x2d0)](','),_0x3559e6=[];for(const _0xb1570f of _0x70d61a){const [_0x5c617b,_0x3a9119,_0x50e552,_0xd26b4e,_0x46ffea,_0x4a13b1]=_0xb1570f[_0x100ed5(0x2d0)](':');_0x3559e6[_0x100ed5(0x1d7)]({'startOffset':Number(_0x5c617b),'endOffset':Number(_0x3a9119),'collapsed':_0x5c617b===_0x3a9119,'isActive':_0x50e552==='1','rangeType':_0xd26b4e===_0x12127f['DOC_RANGE_TYPE'][_0x100ed5(0x2b8)]?_0x12127f[_0x100ed5(0x221)][_0x100ed5(0x2b8)]:_0x12127f[_0x100ed5(0x221)][_0x100ed5(0x355)],'segmentId':typeof _0x46ffea==_0x100ed5(0x2fd)?String(_0x46ffea):'','segmentPage':Number(_0x4a13b1!=null?_0x4a13b1:-0x1)});}return _0x3559e6[_0x100ed5(0x217)](_0x4f27dc=>_0x4f27dc['isActive'])||(_0x3559e6[0x0][_0x100ed5(0x2bc)]=!0x0),_0x3559e6;}class _0x34804b extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(){const _0x505e61=_0x4c88bb;super(...arguments),_0x259cdc(this,_0x505e61(0x328),new _0x4d06f2[(_0x505e61(0x31f))](null)),_0x259cdc(this,'collabCursorState$',this[_0x505e61(0x328)][_0x505e61(0x1ee)]());}[_0x4c88bb(0x383)](_0x22adce){const _0x48afaf=_0x4c88bb,{unitID:_0x4bb6fd,memberID:_0x59b996,textRanges:_0x34e5bd}=_0x22adce,_0x42582a=_0x39ca37(_0x34e5bd);if(_0x42582a==='')return;const _0x32d3ad={'unitID':_0x4bb6fd,'memberID':_0x59b996,'selection':_0x42582a};this[_0x48afaf(0x328)][_0x48afaf(0x34f)](_0x32d3ad);}}var _0x12e348=Object[_0x4c88bb(0x272)],_0x2434a4=(_0x1f118b,_0x596b7c,_0x34a284,_0x8b8a7d)=>{const _0x20da90=_0x4c88bb;for(var _0x5d942f=_0x8b8a7d>0x1?void 0x0:_0x8b8a7d?_0x12e348(_0x596b7c,_0x34a284):_0x596b7c,_0x297f4e=_0x1f118b[_0x20da90(0x31e)]-0x1,_0x57f38d;_0x297f4e>=0x0;_0x297f4e--)(_0x57f38d=_0x1f118b[_0x297f4e])&&(_0x5d942f=_0x57f38d(_0x5d942f)||_0x5d942f);return _0x5d942f;},_0x1d19f6=(_0x1ef0cc,_0x269b35)=>(_0x407610,_0x25dbe8)=>_0x269b35(_0x407610,_0x25dbe8,_0x1ef0cc);const _0x23f328=0x12c,_0x465239=0x64;let _0x4456f4=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x8f104f,_0x1f0c7b,_0x464a1a,_0x4a5306,_0x4d22de,_0x327ec6,_0x2c21f2,_0x21981b,_0x37ee76){const _0x5995a4=_0x4c88bb;super(),_0x259cdc(this,_0x5995a4(0x404),!0x1),_0x259cdc(this,_0x5995a4(0x2a8),!0x1),_0x259cdc(this,_0x5995a4(0x31a),new _0x4d06f2['BehaviorSubject'](new Map())),_0x259cdc(this,_0x5995a4(0x1cc),this[_0x5995a4(0x31a)][_0x5995a4(0x1ee)]()),_0x259cdc(this,'_roomMembers$',new _0x4d06f2[(_0x5995a4(0x31f))]([])),_0x259cdc(this,_0x5995a4(0x33a),this[_0x5995a4(0x429)][_0x5995a4(0x310)](_0x4d06f2[_0x5995a4(0x1f5)](_0x23f328))),_0x259cdc(this,_0x5995a4(0x210),_0x12127f[_0x5995a4(0x209)](_0x124635=>{const _0x67db0b=_0x5995a4,_0x21505e={'eventID':_0x50b9f9['CollaborationEvent'][_0x67db0b(0x1eb)],'data':{'unitID':this[_0x67db0b(0x358)],'memberID':this[_0x67db0b(0x331)][_0x67db0b(0x32d)](),'selection':_0x39ca37(_0x124635)}};this[_0x67db0b(0x331)][_0x67db0b(0x367)](_0x21505e,this[_0x67db0b(0x358)]);},_0x465239)),(this['unitID']=_0x8f104f,this[_0x5995a4(0x331)]=_0x1f0c7b,this[_0x5995a4(0x425)]=_0x464a1a,this[_0x5995a4(0x321)]=_0x4a5306,this[_0x5995a4(0x34e)]=_0x4d22de,this[_0x5995a4(0x1c6)]=_0x327ec6,this[_0x5995a4(0x344)]=_0x2c21f2,this[_0x5995a4(0x202)]=_0x21981b,this[_0x5995a4(0x204)]=_0x37ee76);}get[_0x4c88bb(0x29c)](){return this['_cursorInfo$']['getValue']();}get[_0x4c88bb(0x234)](){const _0xf6d3e=_0x4c88bb;return this[_0xf6d3e(0x429)][_0xf6d3e(0x3b9)]();}[_0x4c88bb(0x346)](){const _0x95880a=_0x4c88bb;super[_0x95880a(0x346)](),this[_0x95880a(0x31a)][_0x95880a(0x34f)](new Map()),this[_0x95880a(0x31a)][_0x95880a(0x38a)](),this[_0x95880a(0x429)][_0x95880a(0x34f)]([]),this[_0x95880a(0x429)][_0x95880a(0x38a)]();}[_0x4c88bb(0x30f)](){const _0x173c61=_0x4c88bb;this[_0x173c61(0x2a8)]||(this['_init']=!0x0,this[_0x173c61(0x331)]['sessionStatus$'][_0x173c61(0x310)](_0x4d06f2[_0x173c61(0x3ba)](this[_0x173c61(0x1d1)]))['subscribe'](_0x10b2c9=>{const _0x599cda=_0x173c61;_0x10b2c9===_0x5bae0f[_0x599cda(0x222)][_0x599cda(0x2aa)]?this[_0x599cda(0x30b)]():this[_0x599cda(0x2da)]();}),this[_0x173c61(0x331)]['event$'][_0x173c61(0x310)](_0x4d06f2[_0x173c61(0x3ba)](this[_0x173c61(0x1d1)]))['subscribe'](_0x2fb672=>{const _0x3429cb=_0x173c61,_0x4b88ff=_0x2fb672[_0x3429cb(0x25f)];_0x4b88ff===_0x50b9f9['CollaborationEvent'][_0x3429cb(0x1eb)]&&this['_onCursorUpdate'](_0x2fb672),_0x4b88ff===_0x50b9f9[_0x3429cb(0x432)][_0x3429cb(0x2d8)]&&this['_onCursorDelete'](_0x2fb672);}),this['disposeWithMe'](this[_0x173c61(0x204)][_0x173c61(0x224)](_0x356fec=>{const _0x22763f=_0x173c61,_0x30c8b8=_0x356fec[_0x22763f(0x442)];_0x30c8b8!=null&&this[_0x22763f(0x404)]&&_0x356fec['id']===_0x514f6b[_0x22763f(0x2c2)]['id']&&_0x30c8b8['unitId']===this[_0x22763f(0x358)]&&_0x30c8b8['isEditing']===!0x1&&_0x30c8b8[_0x22763f(0x23c)][_0x22763f(0x31e)]>0x0&&this[_0x22763f(0x210)](_0x30c8b8[_0x22763f(0x23c)]);})),this[_0x173c61(0x1c6)]['collabCursorState$'][_0x173c61(0x310)](_0x4d06f2[_0x173c61(0x3ba)](this[_0x173c61(0x1d1)]))['subscribe'](_0x3dc61c=>{const _0x1bc401=_0x173c61;if((_0x3dc61c==null?void 0x0:_0x3dc61c[_0x1bc401(0x358)])!==this['unitID'])return;const _0xe112a3={'eventID':_0x50b9f9['CollaborationEvent'][_0x1bc401(0x1eb)],'data':_0x3dc61c};this[_0x1bc401(0x2ca)](_0xe112a3);}),this[_0x173c61(0x21d)](this[_0x173c61(0x204)][_0x173c61(0x224)](_0x1d9199=>{const _0x407c61=_0x173c61;if(_0x1d9199[_0x407c61(0x442)]==null)return;const _0x390e70=_0x1d9199[_0x407c61(0x442)];if(_0x1d9199['id']!==_0x514f6b['RichTextEditingMutation']['id']||_0x390e70[_0x407c61(0x2c0)]!==this[_0x407c61(0x358)])return;const _0x350dc3={'id':'doc.mutation.rich-text-editing','params':_0x390e70},_0xbf5bc4=this[_0x407c61(0x29c)];for(const [_0x1cb5a6,_0x30b8be]of _0xbf5bc4){const _0x5b273d={'id':_0x407c61(0x2bb),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x30b8be['ranges']}},_0x1857c0=this[_0x407c61(0x344)]['transformMutation'](_0x350dc3,_0x5b273d,!0x1);if(_0x50b9f9[_0x407c61(0x440)](_0x1857c0))throw _0x1857c0[_0x407c61(0x35c)];_0xbf5bc4[_0x407c61(0x1d8)](_0x1cb5a6,{..._0x30b8be,'ranges':_0x1857c0['m2Prime'][_0x407c61(0x442)][_0x407c61(0x2c4)]});}queueMicrotask(()=>{const _0x3e8868=_0x407c61;this[_0x3e8868(0x31a)]['next'](_0xbf5bc4);});})));}[_0x4c88bb(0x2ca)](_0xd6661d){const _0xafa3fc=_0x4c88bb;var _0x5c09cd,_0x2e0d23;const {memberID:_0x51b80e,selection:_0x105577}=_0xd6661d[_0xafa3fc(0x3c6)],_0x50df1a=_0x1f0359(_0x105577),_0x58b941=(_0x2e0d23=(_0x5c09cd=this['_memberService']['getMember'](this[_0xafa3fc(0x358)],_0x51b80e))==null?void 0x0:_0x5c09cd['name'])!=null?_0x2e0d23:_0xafa3fc(0x3c2),_0x3e4fea={'color':this[_0xafa3fc(0x321)][_0xafa3fc(0x279)](_0x51b80e),'name':_0x58b941,'ranges':_0x50df1a},_0x11f9d7=this['cursorInfo'];_0x11f9d7[_0xafa3fc(0x1d8)](_0x51b80e,_0x3e4fea),this[_0xafa3fc(0x31a)][_0xafa3fc(0x34f)](_0x11f9d7);}[_0x4c88bb(0x239)](_0x1bbf8){const _0x21020b=_0x4c88bb,{memberID:_0x221615}=_0x1bbf8[_0x21020b(0x3c6)],_0x2fd5b9=this['cursorInfo'];_0x2fd5b9[_0x21020b(0x3f7)](_0x221615),this[_0x21020b(0x31a)][_0x21020b(0x34f)](_0x2fd5b9);}['_toggleOnline'](){const _0x3e6f2a=_0x4c88bb;var _0x370533;if(this[_0x3e6f2a(0x404)]=!0x0,((_0x370533=this[_0x3e6f2a(0x202)][_0x3e6f2a(0x43d)]())==null?void 0x0:_0x370533[_0x3e6f2a(0x43e)]())!==this[_0x3e6f2a(0x358)])return;const _0x576bf1=this[_0x3e6f2a(0x425)][_0x3e6f2a(0x26d)](_0x514f6b[_0x3e6f2a(0x21a)])[_0x3e6f2a(0x322)]();Array[_0x3e6f2a(0x2ed)](_0x576bf1)&&_0x576bf1[_0x3e6f2a(0x31e)]>0x0&&this[_0x3e6f2a(0x210)](_0x576bf1);}[_0x4c88bb(0x2da)](){const _0x4626d0=_0x4c88bb;this[_0x4626d0(0x404)]=!0x1;}};_0x4456f4=_0x2434a4([_0x1d19f6(0x2,_0x12127f['Inject'](_0x12127f['Injector'])),_0x1d19f6(0x3,_0x12127f[_0x4c88bb(0x35a)](_0x3a2e1e)),_0x1d19f6(0x4,_0x12127f['Inject'](_0x5bae0f[_0x4c88bb(0x438)])),_0x1d19f6(0x5,_0x12127f[_0x4c88bb(0x35a)](_0x34804b)),_0x1d19f6(0x6,_0x50b9f9[_0x4c88bb(0x337)]),_0x1d19f6(0x7,_0x12127f[_0x4c88bb(0x405)]),_0x1d19f6(0x8,_0x12127f[_0x4c88bb(0x301)])],_0x4456f4);var _0x2b61a9=Object[_0x4c88bb(0x272)],_0x250634=(_0x6e0fc9,_0x872ec4,_0x51ee73,_0x4d94c2)=>{const _0x4a2ba1=_0x4c88bb;for(var _0x1b1167=_0x4d94c2>0x1?void 0x0:_0x4d94c2?_0x2b61a9(_0x872ec4,_0x51ee73):_0x872ec4,_0x10376a=_0x6e0fc9[_0x4a2ba1(0x31e)]-0x1,_0xccbfb5;_0x10376a>=0x0;_0x10376a--)(_0xccbfb5=_0x6e0fc9[_0x10376a])&&(_0x1b1167=_0xccbfb5(_0x1b1167)||_0x1b1167);return _0x1b1167;},_0xb341e4=(_0xedec76,_0x450316)=>(_0x4aeeca,_0x51bb72)=>_0x450316(_0x4aeeca,_0x51bb72,_0xedec76);const _0x504485=0x12c,_0x32216e=0x64,_0xfc23e4=()=>{let _0x4b1616=[],_0x1b1541=!0x1;return _0x5c70f3=>{const _0x46e40d=_0x4b8b;_0x4b1616[_0x46e40d(0x1d7)](_0x5c70f3),_0x1b1541||(_0x1b1541=!0x0,setTimeout(()=>{const _0x171054=_0x46e40d;_0x4b1616[_0x171054(0x27f)](_0x5063ef=>_0x5063ef()),_0x4b1616=[],_0x1b1541=!0x1;}));};};let _0x7e2189=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x500729,_0x2a3262,_0x516cc4,_0x764e36,_0x2bd477,_0xd03400,_0x11cfea,_0x21f81e){const _0x239de7=_0x4c88bb;super(),_0x259cdc(this,_0x239de7(0x404),!0x1),_0x259cdc(this,'_init',!0x1),_0x259cdc(this,_0x239de7(0x31a),new _0x4d06f2['BehaviorSubject'](new Map())),_0x259cdc(this,_0x239de7(0x1cc),this[_0x239de7(0x31a)][_0x239de7(0x1ee)]()),_0x259cdc(this,_0x239de7(0x429),new _0x4d06f2[(_0x239de7(0x31f))]([])),_0x259cdc(this,_0x239de7(0x33a),this[_0x239de7(0x429)][_0x239de7(0x310)](_0x4d06f2[_0x239de7(0x1f5)](_0x504485))),_0x259cdc(this,_0x239de7(0x210),_0x12127f[_0x239de7(0x209)]((_0x380198,_0x187141)=>{const _0x58b6e6=_0x239de7,_0x1de54a={'eventID':_0x50b9f9['CollaborationEvent'][_0x58b6e6(0x1eb)],'data':{'unitID':this['unitID'],'memberID':this[_0x58b6e6(0x331)][_0x58b6e6(0x32d)](),'selection':_0x5371ba[_0x58b6e6(0x3d6)](_0x380198,_0x187141[_0x58b6e6(0x206)])}};this[_0x58b6e6(0x331)][_0x58b6e6(0x367)](_0x1de54a,this['unitID']);},_0x32216e)),(this['unitID']=_0x500729,this[_0x239de7(0x331)]=_0x2a3262,this[_0x239de7(0x425)]=_0x516cc4,this[_0x239de7(0x321)]=_0x764e36,this[_0x239de7(0x34e)]=_0x2bd477,this[_0x239de7(0x202)]=_0xd03400,this[_0x239de7(0x204)]=_0x11cfea,this[_0x239de7(0x2c9)]=_0x21f81e);}get[_0x4c88bb(0x29c)](){const _0x40dc16=_0x4c88bb;return this[_0x40dc16(0x31a)]['getValue']();}get['roomMembers'](){const _0x159954=_0x4c88bb;return this[_0x159954(0x429)]['getValue']();}[_0x4c88bb(0x346)](){const _0x3e96c1=_0x4c88bb;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x3e96c1(0x38a)](),this[_0x3e96c1(0x429)][_0x3e96c1(0x34f)]([]),this['_roomMembers$'][_0x3e96c1(0x38a)]();}[_0x4c88bb(0x30f)](){const _0x5892f6=_0x4c88bb;this[_0x5892f6(0x2a8)]||(this['_init']=!0x0,this['_session'][_0x5892f6(0x3af)][_0x5892f6(0x310)](_0x4d06f2[_0x5892f6(0x3ba)](this[_0x5892f6(0x1d1)]))[_0x5892f6(0x43a)](_0x38b4e7=>{const _0x29207d=_0x5892f6;_0x38b4e7===_0x5bae0f[_0x29207d(0x222)][_0x29207d(0x2aa)]?this[_0x29207d(0x30b)]():this[_0x29207d(0x2da)]();}),this[_0x5892f6(0x331)][_0x5892f6(0x2cd)][_0x5892f6(0x310)](_0x4d06f2['takeUntil'](this[_0x5892f6(0x1d1)]))['subscribe'](_0x4952d0=>{const _0x56b87e=_0x5892f6,_0x176381=_0x4952d0[_0x56b87e(0x25f)];_0x176381===_0x50b9f9[_0x56b87e(0x432)][_0x56b87e(0x1eb)]&&this['_onCursorUpdate'](_0x4952d0),_0x176381===_0x50b9f9[_0x56b87e(0x432)][_0x56b87e(0x2d8)]&&this[_0x56b87e(0x239)](_0x4952d0);}),this[_0x5892f6(0x3a3)](),this['disposeWithMe'](this[_0x5892f6(0x204)][_0x5892f6(0x224)](_0x21f6fd=>{const _0x28f2c0=_0x5892f6;if(this['_online']&&_0x21f6fd['id']===_0x347d9b[_0x28f2c0(0x318)]['id']&&_0x21f6fd[_0x28f2c0(0x442)][_0x28f2c0(0x2c0)]===this[_0x28f2c0(0x358)]){const _0x779989=_0x21f6fd[_0x28f2c0(0x442)];this[_0x28f2c0(0x210)](_0x779989[_0x28f2c0(0x365)],_0x779989[_0x28f2c0(0x2c3)][0x0]);}})));}[_0x4c88bb(0x2ca)](_0x1d1b8d){const _0x5299c0=_0x4c88bb;var _0xc68199,_0x48fc94;const {memberID:_0xe1c133,selection:_0x5cd0ec}=_0x1d1b8d[_0x5299c0(0x3c6)],{sheetName:_0x149e9c,range:_0x4be1d9}=_0x5371ba[_0x5299c0(0x20d)](_0x5cd0ec),_0x1682b5={'name':(_0x48fc94=(_0xc68199=this['_memberService']['getMember'](this[_0x5299c0(0x358)],_0xe1c133))==null?void 0x0:_0xc68199[_0x5299c0(0x370)])!=null?_0x48fc94:'Unknown\x20user','range':this[_0x5299c0(0x21b)](_0x149e9c,_0x4be1d9),'sheetID':_0x149e9c,'color':this[_0x5299c0(0x321)][_0x5299c0(0x279)](_0xe1c133),'selection':_0x5cd0ec},_0x45fbcd=this[_0x5299c0(0x29c)];_0x45fbcd[_0x5299c0(0x1d8)](_0xe1c133,_0x1682b5),this[_0x5299c0(0x31a)][_0x5299c0(0x34f)](_0x45fbcd);}[_0x4c88bb(0x239)](_0x39bf4d){const _0x117e6d=_0x4c88bb,{memberID:_0xc3ffd1}=_0x39bf4d['data'],_0x38d7a6=this['cursorInfo'];_0x38d7a6['delete'](_0xc3ffd1),this[_0x117e6d(0x31a)][_0x117e6d(0x34f)](_0x38d7a6);}[_0x4c88bb(0x21b)](_0x555fc6,_0xe74928){const _0x3520e2=_0x4c88bb;var _0x361e4a,_0x67e93d;const _0x436160=(_0x67e93d=(_0x361e4a=this[_0x3520e2(0x202)][_0x3520e2(0x339)](this[_0x3520e2(0x358)]))==null?void 0x0:_0x361e4a['getSheetBySheetId'](_0x555fc6))==null?void 0x0:_0x67e93d[_0x3520e2(0x2f8)]();return(_0x436160==null?void 0x0:_0x436160[_0x3520e2(0x1d5)](_0x20a649=>_0x12127f[_0x3520e2(0x291)]['contains'](_0x20a649,_0xe74928)))||_0xe74928;}[_0x4c88bb(0x3a3)](){const _0x3e0202=_0x4c88bb,_0x1b5222=new _0x12127f[(_0x3e0202(0x3a1))](),_0x457d93=_0xfc23e4(),_0x5ad876=()=>{const _0x7dd98a=_0x3e0202;_0x1b5222[_0x7dd98a(0x346)]();const _0x7f9458=(_0x36ee1b,_0xc471bc,_0x739f3f,_0x55e67f)=>{const _0x34966d=_0x7dd98a;let _0x3520a2=[];switch(_0x36ee1b['id']){case _0x347d9b['EffectRefRangId'][_0x34966d(0x363)]:{_0x3520a2=_0x347d9b[_0x34966d(0x1ec)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b['EffectRefRangId'][_0x34966d(0x288)]:{_0x3520a2=_0x347d9b['handleDeleteRangeMoveUp'](_0x36ee1b,_0x55e67f);break;}case _0x347d9b['EffectRefRangId'][_0x34966d(0x44c)]:{_0x3520a2=_0x347d9b[_0x34966d(0x3f2)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b[_0x34966d(0x434)][_0x34966d(0x299)]:{_0x3520a2=_0x347d9b['handleInsertRangeMoveDown'](_0x36ee1b,_0x55e67f);break;}case _0x347d9b[_0x34966d(0x434)][_0x34966d(0x388)]:{_0x3520a2=_0x347d9b[_0x34966d(0x376)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b[_0x34966d(0x434)][_0x34966d(0x1c7)]:{_0x3520a2=_0x347d9b['handleInsertRow'](_0x36ee1b,_0x55e67f);break;}case _0x347d9b['EffectRefRangId'][_0x34966d(0x1d3)]:{_0x3520a2=_0x347d9b[_0x34966d(0x3cd)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b[_0x34966d(0x434)][_0x34966d(0x3f0)]:{_0x3520a2=_0x347d9b[_0x34966d(0x2de)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b['EffectRefRangId'][_0x34966d(0x3ad)]:{_0x3520a2=_0x347d9b[_0x34966d(0x1c5)](_0x36ee1b,_0x55e67f);break;}}const _0x1e8ef4=_0x347d9b[_0x34966d(0x1e4)](_0x3520a2,_0x55e67f),_0x4d8826=this[_0x34966d(0x29c)]['get'](_0xc471bc);if(_0x4d8826&&_0x1e8ef4){const _0x21063c={..._0x4d8826,'range':_0x1e8ef4};this[_0x34966d(0x29c)][_0x34966d(0x1d8)](_0xc471bc,_0x21063c),_0x457d93(()=>{const _0x5ad4ba=_0x34966d,_0x32ed71=this['_refRangeService'][_0x5ad4ba(0x2db)](_0x1e8ef4,_0x1c7cdb=>(_0x32ed71[_0x5ad4ba(0x346)](),_0x7f9458(_0x1c7cdb,_0xc471bc,_0x739f3f,_0x1e8ef4)));_0x1b5222['add'](_0x32ed71);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x7dd98a(0x27f)]((_0x49c596,_0x33963f)=>{const _0x51e9ef=_0x7dd98a,{range:_0x3a7a85,sheetID:_0x2ec836}=_0x49c596,_0x252799=this['_refRangeService']['registerRefRange'](_0x3a7a85,_0x30ae71=>(_0x252799[_0x51e9ef(0x346)](),_0x7f9458(_0x30ae71,_0x33963f,_0x2ec836,_0x3a7a85)));_0x1b5222[_0x51e9ef(0x419)](_0x252799);});};this[_0x3e0202(0x21d)](_0x12127f['toDisposable'](this[_0x3e0202(0x31a)]['subscribe'](()=>{_0x5ad876();})));}['_toggleOnline'](){const _0x44c9f9=_0x4c88bb;var _0x5418a9,_0x6e7f59;if(this['_online']=!0x0,((_0x5418a9=this[_0x44c9f9(0x202)][_0x44c9f9(0x43d)]())==null?void 0x0:_0x5418a9[_0x44c9f9(0x43e)]())!==this[_0x44c9f9(0x358)])return;const _0x248056=(_0x6e7f59=this[_0x44c9f9(0x425)][_0x44c9f9(0x26d)](_0x347d9b[_0x44c9f9(0x418)])['getCurrentSelections']())==null?void 0x0:_0x6e7f59[0x0],_0xed0979=this['_univerInstanceService']['getCurrentUnitForType'](_0x12127f['UniverInstanceType'][_0x44c9f9(0x423)])[_0x44c9f9(0x263)]();_0x248056&&_0xed0979&&this['_updateLocalCursor'](_0xed0979['getSheetId'](),_0x248056);}[_0x4c88bb(0x2da)](){const _0xa467da=_0x4c88bb;this[_0xa467da(0x404)]=!0x1;}};_0x7e2189=_0x250634([_0xb341e4(0x2,_0x12127f['Inject'](_0x12127f[_0x4c88bb(0x1c8)])),_0xb341e4(0x3,_0x12127f[_0x4c88bb(0x35a)](_0x3a2e1e)),_0xb341e4(0x4,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f[_0x4c88bb(0x438)])),_0xb341e4(0x5,_0x12127f[_0x4c88bb(0x405)]),_0xb341e4(0x6,_0x12127f[_0x4c88bb(0x301)]),_0xb341e4(0x7,_0x12127f['Inject'](_0x347d9b[_0x4c88bb(0x20c)]))],_0x7e2189);var _0x3be216=Object[_0x4c88bb(0x272)],_0x54e7f3=(_0x140dcd,_0x33e3aa,_0x162a9c,_0x378bf6)=>{const _0x48f6a3=_0x4c88bb;for(var _0x293b57=_0x378bf6>0x1?void 0x0:_0x378bf6?_0x3be216(_0x33e3aa,_0x162a9c):_0x33e3aa,_0x4e2a5d=_0x140dcd[_0x48f6a3(0x31e)]-0x1,_0x2e6d33;_0x4e2a5d>=0x0;_0x4e2a5d--)(_0x2e6d33=_0x140dcd[_0x4e2a5d])&&(_0x293b57=_0x2e6d33(_0x293b57)||_0x293b57);return _0x293b57;},_0x152fe6=(_0x2d2677,_0x4bc80c)=>(_0x31cb0e,_0x52f749)=>_0x4bc80c(_0x31cb0e,_0x52f749,_0x2d2677);let _0x3fa8d8=class extends _0x12127f['RxDisposable']{constructor(_0x4dd1b3,_0x46b25a,_0x3c4fd8){const _0x54be93=_0x4c88bb;super(),_0x259cdc(this,_0x54be93(0x2bd),new Map()),_0x259cdc(this,'_entityInit$',new _0x4d06f2[(_0x54be93(0x443))]()),(this[_0x54be93(0x202)]=_0x4dd1b3,this[_0x54be93(0x425)]=_0x46b25a,this[_0x54be93(0x413)]=_0x3c4fd8,this[_0x54be93(0x2a8)]());}[_0x4c88bb(0x346)](){const _0x310835=_0x4c88bb;super[_0x310835(0x346)](),this[_0x310835(0x257)][_0x310835(0x38a)](),this[_0x310835(0x2bd)]['forEach'](_0x4651c8=>_0x4651c8[_0x310835(0x346)]());}[_0x4c88bb(0x1ce)](_0xcc68fe){const _0x231191=_0x4c88bb;return this[_0x231191(0x2bd)][_0x231191(0x1fe)](_0xcc68fe)?this[_0x231191(0x2bd)][_0x231191(0x26d)](_0xcc68fe)[_0x231191(0x1cc)]:this[_0x231191(0x257)][_0x231191(0x310)](_0x4d06f2[_0x231191(0x37b)](_0x3bf81d=>_0x3bf81d['unitID']===_0xcc68fe),_0x4d06f2['switchMap'](_0x27c470=>_0x27c470['cursorInfo$']));}[_0x4c88bb(0x2a8)](){const _0x49f958=_0x4c88bb;this[_0x49f958(0x202)][_0x49f958(0x33d)](_0x12127f[_0x49f958(0x24d)][_0x49f958(0x423)])[_0x49f958(0x310)](_0x4d06f2['takeUntil'](this[_0x49f958(0x1d1)]))[_0x49f958(0x43a)](async _0x470843=>{const _0x3c1620=_0x49f958,_0x2848d1=_0x470843['getUnitId'](),_0x3ac729=await this['_startSheetCollabCursor'](_0x2848d1);this['_entityInit$'][_0x3c1620(0x34f)](_0x3ac729),this[_0x3c1620(0x2bd)]['set'](_0x2848d1,_0x3ac729);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x12127f['UniverInstanceType'][_0x49f958(0x3cb)])[_0x49f958(0x310)](_0x4d06f2[_0x49f958(0x3ba)](this['dispose$']))[_0x49f958(0x310)](_0x4d06f2[_0x49f958(0x37b)](_0x422b5e=>!_0x422b5e['getUnitId']()[_0x49f958(0x3db)]('__')))[_0x49f958(0x43a)](async _0x293a39=>{const _0xd70603=_0x49f958,_0x3f5ad7=_0x293a39[_0xd70603(0x43e)](),_0x1023a8=await this[_0xd70603(0x362)](_0x3f5ad7);this['_entityInit$'][_0xd70603(0x34f)](_0x1023a8),this['_entities'][_0xd70603(0x1d8)](_0x3f5ad7,_0x1023a8);}),_0x4d06f2[_0x49f958(0x38e)](this[_0x49f958(0x202)][_0x49f958(0x408)](_0x12127f[_0x49f958(0x24d)][_0x49f958(0x3cb)]),this[_0x49f958(0x202)][_0x49f958(0x408)](_0x12127f['UniverInstanceType'][_0x49f958(0x423)]))[_0x49f958(0x310)](_0x4d06f2[_0x49f958(0x3ba)](this[_0x49f958(0x1d1)]))[_0x49f958(0x43a)](_0x221bee=>{const _0x56cbb3=_0x49f958,_0xb590da=_0x221bee['getUnitId'](),_0x574c15=this['_entities']['get'](_0xb590da);_0x574c15&&(_0x574c15[_0x56cbb3(0x346)](),this[_0x56cbb3(0x2bd)][_0x56cbb3(0x3f7)](_0xb590da));});}async['_startSheetCollabCursor'](_0x313aae){const _0x1d9aec=_0x4c88bb,_0x1b239a=await this[_0x1d9aec(0x413)]['requireSession'](_0x313aae),_0x1d161b=this[_0x1d9aec(0x425)]['createInstance'](_0x7e2189,_0x313aae,_0x1b239a);return _0x1d161b[_0x1d9aec(0x30f)](),_0x1d161b;}async[_0x4c88bb(0x362)](_0x29b530){const _0x475163=_0x4c88bb,_0x2ddda8=await this['_collabSessionService'][_0x475163(0x284)](_0x29b530),_0x5158be=this[_0x475163(0x425)]['createInstance'](_0x4456f4,_0x29b530,_0x2ddda8);return _0x5158be[_0x475163(0x30f)](),_0x5158be;}};_0x3fa8d8=_0x54e7f3([_0x152fe6(0x0,_0x12127f['IUniverInstanceService']),_0x152fe6(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x1c8)])),_0x152fe6(0x2,_0x12127f['Inject'](_0x5bae0f[_0x4c88bb(0x2fa)]))],_0x3fa8d8);const _0x1cc2c3=0x14,_0x157c6a=0xc8,_0x38e16a=0x4,_0x4be7f0=0x5;function _0x4f444f(_0x322829,_0x1cc4d2){const _0x3bfc09=_0x4c88bb;let {radius:_0x34169f,width:_0x5296d5,height:_0x11fd33}=_0x1cc4d2;_0x34169f=_0x34169f!=null?_0x34169f:0x0,_0x5296d5=_0x5296d5!=null?_0x5296d5:0x1e,_0x11fd33=_0x11fd33!=null?_0x11fd33:0x1e;let _0x5347c5=0x0,_0x40e390=0x0,_0x819f0b=0x0;_0x5347c5=_0x40e390=_0x819f0b=Math[_0x3bfc09(0x252)](_0x34169f,_0x5296d5/0x2,_0x11fd33/0x2),_0x322829[_0x3bfc09(0x1f2)](),_0x322829[_0x3bfc09(0x39b)](_0x5347c5,0x0),_0x322829['lineTo'](_0x5296d5-_0x40e390,0x0),_0x322829[_0x3bfc09(0x3c3)](_0x5296d5-_0x40e390,_0x40e390,_0x40e390,Math['PI']*0x3/0x2,0x0,!0x1),_0x322829[_0x3bfc09(0x30a)](_0x5296d5,_0x11fd33-_0x819f0b),_0x322829['arc'](_0x5296d5-_0x819f0b,_0x11fd33-_0x819f0b,_0x819f0b,0x0,Math['PI']/0x2,!0x1),_0x322829[_0x3bfc09(0x30a)](0x0,_0x11fd33),_0x322829[_0x3bfc09(0x30a)](0x0,_0x5347c5),_0x322829['arc'](_0x5347c5,_0x5347c5,_0x5347c5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x322829[_0x3bfc09(0x392)](),_0x1cc4d2[_0x3bfc09(0x286)]&&(_0x322829[_0x3bfc09(0x459)](),_0x322829[_0x3bfc09(0x27a)]=_0x1cc4d2[_0x3bfc09(0x286)],_0x1cc4d2[_0x3bfc09(0x24b)]===_0x3bfc09(0x249)?_0x322829['fill'](_0x3bfc09(0x249)):_0x322829[_0x3bfc09(0x286)](),_0x322829[_0x3bfc09(0x240)]());}class _0x50dbc1 extends _0xcd886d[_0x4c88bb(0x3c4)]{constructor(_0x4b5f78,_0x2189f7){const _0x4cb1d6=_0x4c88bb;super(_0x4b5f78,_0x2189f7),_0x259cdc(this,'color'),_0x259cdc(this,_0x4cb1d6(0x2d1)),(this[_0x4cb1d6(0x3e2)]=_0x2189f7==null?void 0x0:_0x2189f7[_0x4cb1d6(0x3e2)],this['text']=_0x2189f7==null?void 0x0:_0x2189f7[_0x4cb1d6(0x2d1)]);}static[_0x4c88bb(0x2ff)](_0x1ce7f2,_0xfdfbb3){const _0xc1bf9d=_0x4c88bb,{text:_0xd6fd98,color:_0x1c2bbf}=_0xfdfbb3;_0x1ce7f2[_0xc1bf9d(0x459)](),_0x1ce7f2[_0xc1bf9d(0x302)]=_0xc1bf9d(0x320);const _0x2b6691=_0x1ce7f2[_0xc1bf9d(0x40c)](_0xd6fd98)[_0xc1bf9d(0x22c)],_0x43a0e7=Math[_0xc1bf9d(0x252)](_0x2b6691+0x2*_0x38e16a,_0x157c6a);_0x4f444f(_0x1ce7f2,{'height':_0x1cc2c3,'radius':0x4,'width':_0x43a0e7,'fill':_0x1c2bbf}),_0x1ce7f2['fillStyle']=_0xc1bf9d(0x300);const _0x14892f=_0x38e16a,_0xcfe8d6=_0x1cc2c3-_0x4be7f0,_0x1f5b66=_0x157c6a-0x2*_0x38e16a;if(_0x2b6691>_0x1f5b66){let _0x590f74='',_0x5a5973=0x0;for(const _0x4787e3 of _0xd6fd98){const _0x4a904d=_0x1ce7f2[_0xc1bf9d(0x40c)](_0x4787e3)['width'];if(_0x5a5973+_0x4a904d<=_0x1f5b66-_0x1ce7f2['measureText'](_0xc1bf9d(0x2ae))[_0xc1bf9d(0x22c)])_0x590f74+=_0x4787e3,_0x5a5973+=_0x4a904d;else{_0x590f74+=_0xc1bf9d(0x2ae);break;}}_0x1ce7f2['fillText'](_0x590f74,_0x14892f,_0xcfe8d6);}else _0x1ce7f2[_0xc1bf9d(0x28c)](_0xd6fd98,_0x14892f,_0xcfe8d6);_0x1ce7f2[_0xc1bf9d(0x240)]();}['_draw'](_0x1df2fe){_0x50dbc1['drawWith'](_0x1df2fe,this);}}const _0x270d67='collab-text-anchor-',_0x2c90be=_0x4c88bb(0x319),_0x202cab=_0x4c88bb(0x1dd),_0x1bcb8d=0x6,_0x1f77d9=1.5,_0x429916=0x4,_0x5b40f6=1.5,_0x1202dc=_0x4c88bb(0x453);class _0x2a0dd3{constructor(_0xf05ad7,_0x4ab567,_0x1dd449,_0x4a3815){const _0x416a7f=_0x4c88bb;_0x259cdc(this,_0x416a7f(0x2a5),[]),_0x259cdc(this,_0x416a7f(0x2dd),null),_0x259cdc(this,_0x416a7f(0x2e0),null),_0x259cdc(this,'_anchorDot',null),_0x259cdc(this,_0x416a7f(0x262),null),_0x259cdc(this,_0x416a7f(0x34a),null),(this['_cursor']=_0xf05ad7,this['_scene']=_0x4ab567,this['_docSkeleton']=_0x1dd449,this[_0x416a7f(0x34b)]=_0x4a3815,this[_0x416a7f(0x3bd)]());}set[_0x4c88bb(0x2c8)](_0x1d6540){const _0x447322=_0x4c88bb;_0x1d6540?(this[_0x447322(0x424)]&&this['_anchorDot'][_0x447322(0x3bf)](),this[_0x447322(0x2e0)]&&this[_0x447322(0x2e0)][_0x447322(0x24e)]()):(this['_anchorDot']&&this[_0x447322(0x424)][_0x447322(0x24e)](),this[_0x447322(0x2e0)]&&this[_0x447322(0x2e0)][_0x447322(0x3bf)]());}[_0x4c88bb(0x346)](){const _0x3f2744=_0x4c88bb;for(const _0x455b3a of this[_0x3f2744(0x2a5)])_0x455b3a[_0x3f2744(0x346)]();this[_0x3f2744(0x2e0)]&&this[_0x3f2744(0x2e0)]['dispose'](),this[_0x3f2744(0x424)]&&this[_0x3f2744(0x424)][_0x3f2744(0x346)](),this[_0x3f2744(0x2dd)]&&this[_0x3f2744(0x2dd)]['dispose'](),this[_0x3f2744(0x34a)]&&this[_0x3f2744(0x34a)]();}[_0x4c88bb(0x3bd)](){const _0x4f3a38=_0x4c88bb;var _0x4bf397;const {_docSkeleton:_0x19f078,_document:_0x143f4d}=this,{color:_0x39a33a,name:_0x5a4d4,ranges:_0x4a9d94}=this[_0x4f3a38(0x2b2)],_0x41e6bc=_0x143f4d[_0x4f3a38(0x43f)](),{docsLeft:_0x2db553,docsTop:_0x1cf812}=_0x41e6bc,_0x1ed127=new _0x464098[(_0x4f3a38(0x451))](_0x41e6bc,_0x19f078);for(const {startOffset:_0x28e6d5,endOffset:_0x7c9f7f,rangeType:_0x3c8ef1,segmentId:_0xf5a055,segmentPage:_0x1fcc21,collapsed:_0x5cb395,isActive:_0x29326b}of _0x4a9d94){const _0x3796c9=_0x19f078[_0x4f3a38(0x1fa)](_0x28e6d5,!0x0,_0xf5a055,_0x1fcc21);let _0x1b4d3d=_0x19f078[_0x4f3a38(0x1fa)](_0x7c9f7f,!0x0,_0xf5a055,_0x1fcc21);if(_0x1b4d3d==null&&(_0x1b4d3d=_0x19f078[_0x4f3a38(0x1fa)](_0x7c9f7f-0x1,!0x1,_0xf5a055,_0x1fcc21)),_0x29326b){const {contentBoxPointGroup:_0x2e598f}=_0x1ed127[_0x4f3a38(0x278)](_0x1b4d3d,_0x1b4d3d);if(_0x2e598f[_0x4f3a38(0x31e)]===0x0)continue;this['_drawAnchor'](_0x39a33a,_0x2e598f,_0x2db553,_0x1cf812,_0x5a4d4),this['_eventUnsubscribe']=this[_0x4f3a38(0x2e4)]();}if(_0x3796c9&&_0x1b4d3d){if(_0x3c8ef1===_0x12127f[_0x4f3a38(0x221)][_0x4f3a38(0x355)]){const _0x2cd86c=new _0x464098['NodePositionConvertToRectRange'](_0x41e6bc,_0x19f078),{pointGroup:_0x213d0d}=(_0x4bf397=_0x2cd86c[_0x4f3a38(0x278)](_0x3796c9,_0x1b4d3d))!=null?_0x4bf397:{};if(_0x213d0d==null||_0x213d0d[_0x4f3a38(0x31e)]===0x0)continue;this[_0x4f3a38(0x3e4)](_0x39a33a,_0x213d0d,_0x2db553,_0x1cf812);}else{if(!_0x5cb395){const {borderBoxPointGroup:_0x35dd29}=_0x1ed127[_0x4f3a38(0x278)](_0x3796c9,_0x1b4d3d);if(_0x35dd29['length']===0x0)continue;this[_0x4f3a38(0x1f0)](_0x39a33a,_0x35dd29,_0x2db553,_0x1cf812);}}}}}['_drawAnchor'](_0x601867,_0x53c504,_0xceed8f,_0x139a08,_0x166fc7){const _0x463d34=_0x4c88bb,_0x383101=this[_0x463d34(0x2e5)](_0x53c504),{left:_0x2fd261,top:_0x359209,height:_0x2d91ab}=_0x383101,_0x3b9d6a=this['_getScale'](),_0x4c3ce0=_0x5b40f6/_0x3b9d6a,_0x3b095b=new _0xcd886d[(_0x463d34(0x2ba))](_0x270d67+_0x12127f[_0x463d34(0x36c)][_0x463d34(0x2b6)](_0x1bcb8d),{'left':_0x2fd261+_0xceed8f-_0x4c3ce0,'top':_0x359209+_0x139a08,'height':_0x2d91ab,'width':_0x1f77d9,'fill':_0x601867||_0xcd886d[_0x463d34(0x28b)](_0x12127f[_0x463d34(0x214)][_0x463d34(0x3b4)],0x0),'strokeWidth':_0x4c3ce0,'stroke':_0x1202dc,'evented':!0x0});this[_0x463d34(0x2dd)]=_0x3b095b,this['_scene'][_0x463d34(0x44f)](_0x3b095b,_0x464098[_0x463d34(0x1f9)]);const _0x2ed634=new _0xcd886d[(_0x463d34(0x2ba))](_0x270d67+_0x12127f[_0x463d34(0x36c)][_0x463d34(0x2b6)](_0x1bcb8d),{'left':_0x2fd261+_0xceed8f-_0x4c3ce0,'top':_0x359209+_0x139a08-_0x429916/0x2,'height':_0x429916,'width':_0x429916,'fill':_0x601867||_0xcd886d['getColor'](_0x12127f[_0x463d34(0x214)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x601867||_0xcd886d[_0x463d34(0x28b)](_0x12127f[_0x463d34(0x214)]['black'],0x0),'evented':!0x1});this[_0x463d34(0x424)]=_0x2ed634,this[_0x463d34(0x216)][_0x463d34(0x44f)](_0x2ed634,_0x464098[_0x463d34(0x1f9)]);const _0x211972=new _0x50dbc1(_0x270d67+_0x12127f[_0x463d34(0x36c)][_0x463d34(0x2b6)](_0x1bcb8d),{'left':_0x2fd261+_0xceed8f-_0x4c3ce0,'top':_0x359209+_0x139a08-_0x1cc2c3,'text':_0x166fc7,'color':_0x601867});this[_0x463d34(0x2e0)]=_0x211972,this[_0x463d34(0x216)][_0x463d34(0x44f)](_0x211972,_0x464098[_0x463d34(0x1f9)]),this[_0x463d34(0x2c8)]=!0x1;}[_0x4c88bb(0x2e4)](){const _0x1129a9=_0x4c88bb,_0x194c34=this['_anchor'][_0x1129a9(0x1ed)][_0x1129a9(0x25e)](()=>{const _0x34afe8=_0x1129a9;this[_0x34afe8(0x2c8)]=!0x0;}),_0x58a4aa=this[_0x1129a9(0x2dd)][_0x1129a9(0x2b9)][_0x1129a9(0x25e)](()=>{const _0x1359ee=_0x1129a9;this[_0x1359ee(0x262)]&&clearTimeout(this['_hideTimer']),this[_0x1359ee(0x262)]=setTimeout(()=>{const _0x58a8e2=_0x1359ee;this[_0x58a8e2(0x2c8)]=!0x1;},0x7d0);});return()=>{const _0x142033=_0x1129a9;_0x194c34[_0x142033(0x39f)](),_0x58a4aa[_0x142033(0x39f)]();};}[_0x4c88bb(0x1f0)](_0x890b91,_0x3cffc5,_0x5b532e,_0xb38a08){const _0x11604b=_0x4c88bb,_0x5daca6=new _0x12127f[(_0x11604b(0x3f8))](_0x890b91)[_0x11604b(0x414)](0.2)[_0x11604b(0x2dc)](),_0x1e6351=new _0xcd886d[(_0x11604b(0x2a3))](_0x2c90be+_0x12127f[_0x11604b(0x36c)][_0x11604b(0x2b6)](_0x1bcb8d),{'pointsGroup':_0x3cffc5,'fill':_0x5daca6||_0xcd886d[_0x11604b(0x28b)](_0x12127f['COLORS'][_0x11604b(0x3b4)],0.2),'left':_0x5b532e,'top':_0xb38a08,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x11604b(0x1d7)](_0x1e6351),this[_0x11604b(0x216)][_0x11604b(0x44f)](_0x1e6351,_0x464098[_0x11604b(0x1f9)]);}['_drawRectRange'](_0x5e1428,_0x4a8b06,_0x4cf932,_0x162421){const _0x45591b=_0x4c88bb,_0x578207=new _0x12127f[(_0x45591b(0x3f8))](_0x5e1428)[_0x45591b(0x414)](0.2)[_0x45591b(0x2dc)](),_0x2f0c11=new _0xcd886d[(_0x45591b(0x2a3))](_0x202cab+_0x12127f[_0x45591b(0x36c)][_0x45591b(0x2b6)](_0x1bcb8d),{'pointsGroup':_0x4a8b06,'fill':_0x578207||_0xcd886d[_0x45591b(0x28b)](_0x12127f[_0x45591b(0x214)][_0x45591b(0x3b4)],0.2),'left':_0x4cf932,'top':_0x162421,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x45591b(0x2a5)][_0x45591b(0x1d7)](_0x2f0c11),this[_0x45591b(0x216)][_0x45591b(0x44f)](_0x2f0c11,_0x464098[_0x45591b(0x1f9)]);}[_0x4c88bb(0x2e5)](_0x395ea6){const _0x43f7dd=_0x395ea6[0x0],_0x453a85=_0x43f7dd[0x0],_0x5cfd56=_0x43f7dd[0x2],{x:_0x5280a6,y:_0x2b8454}=_0x453a85,{x:_0x3a7d3a,y:_0x9ad2cd}=_0x5cfd56;return{'left':_0x5280a6,'top':_0x2b8454,'width':_0x3a7d3a-_0x5280a6,'height':_0x9ad2cd-_0x2b8454};}[_0x4c88bb(0x40f)](){const _0x1f8852=_0x4c88bb,{scaleX:_0x288c5f,scaleY:_0x32773a}=this[_0x1f8852(0x216)][_0x1f8852(0x241)]();return Math[_0x1f8852(0x345)](_0x288c5f,_0x32773a);}}var _0x464335=Object['getOwnPropertyDescriptor'],_0x5cfbb3=(_0x262700,_0x949c1f,_0x47aa6a,_0x111683)=>{const _0x5992e9=_0x4c88bb;for(var _0x19da40=_0x111683>0x1?void 0x0:_0x111683?_0x464335(_0x949c1f,_0x47aa6a):_0x949c1f,_0x141e19=_0x262700[_0x5992e9(0x31e)]-0x1,_0x451077;_0x141e19>=0x0;_0x141e19--)(_0x451077=_0x262700[_0x141e19])&&(_0x19da40=_0x451077(_0x19da40)||_0x19da40);return _0x19da40;},_0x218a8e=(_0x3de80a,_0x4f72d1)=>(_0x3f99d8,_0x48fc20)=>_0x4f72d1(_0x3f99d8,_0x48fc20,_0x3de80a);let _0x92636b=class extends _0x12127f['RxDisposable']{constructor(_0x585502,_0x299d10,_0x45cf51,_0x55b00e,_0x3aec8c){const _0x89d752=_0x4c88bb;super(),_0x259cdc(this,_0x89d752(0x401),[]),_0x259cdc(this,_0x89d752(0x384),[]),(this[_0x89d752(0x323)]=_0x585502,this[_0x89d752(0x407)]=_0x299d10,this[_0x89d752(0x3bb)]=_0x45cf51,this[_0x89d752(0x204)]=_0x55b00e,this[_0x89d752(0x36d)]=_0x3aec8c,this[_0x89d752(0x2a8)]());}['_init'](){const _0x30b2f0=_0x4c88bb,_0x37447a=this['_context'][_0x30b2f0(0x2c0)],_0x1469d6=this[_0x30b2f0(0x407)];this['disposeWithMe'](_0x4d06f2[_0x30b2f0(0x2f6)]([this[_0x30b2f0(0x3bb)][_0x30b2f0(0x1ce)](_0x37447a),this[_0x30b2f0(0x36d)][_0x30b2f0(0x2f1)]])[_0x30b2f0(0x310)](_0x43c141[_0x30b2f0(0x2cb)](([_0x368110,_0x442894])=>({'skeleton':_0x1469d6[_0x30b2f0(0x277)](),'cursors':[..._0x368110['values']()]['flatMap'](_0x5c9803=>({..._0x5c9803,'color':_0x442894[_0x5c9803[_0x30b2f0(0x3e2)]]}))})))[_0x30b2f0(0x43a)](_0x88514d=>{const _0x5cf036=_0x30b2f0;if(this[_0x5cf036(0x20f)](),_0x88514d){const {skeleton:_0x548dc7,cursors:_0xcc6da8}=_0x88514d;this['_updateCollabCursors'](_0x548dc7,_0xcc6da8);}})),this[_0x30b2f0(0x2fb)](),this[_0x30b2f0(0x382)]();}['_updateCollabCursors'](_0x50de0e,_0x3af085){const _0x32a821=_0x4c88bb,{scene:_0xd4cc,mainComponent:_0x1c79a3}=this['_context'],_0x28b4dd=_0x3af085['map'](_0x2098b1=>new _0x2a0dd3(_0x2098b1,_0xd4cc,_0x50de0e,_0x1c79a3));this[_0x32a821(0x401)]=_0x28b4dd,this[_0x32a821(0x384)]=_0x3af085;}[_0x4c88bb(0x385)](){const _0x3c2d17=_0x4c88bb;this['_removeCollabCursors']();const {scene:_0x4ea995,mainComponent:_0x2f997b}=this[_0x3c2d17(0x323)],_0x25877b=this[_0x3c2d17(0x407)]['getSkeleton'](),_0x57097d=this[_0x3c2d17(0x384)]['map'](_0x585d5c=>new _0x2a0dd3(_0x585d5c,_0x4ea995,_0x25877b,_0x2f997b));this[_0x3c2d17(0x401)]=_0x57097d;}[_0x4c88bb(0x20f)](){const _0x18841e=_0x4c88bb;this[_0x18841e(0x401)][_0x18841e(0x27f)](_0x1d604a=>_0x1d604a['dispose']()),this[_0x18841e(0x401)]=[];}[_0x4c88bb(0x382)](){const _0x38d9ad=_0x4c88bb,_0x2e3c37=[_0x464098[_0x38d9ad(0x33b)]['id']];this[_0x38d9ad(0x21d)](this[_0x38d9ad(0x204)][_0x38d9ad(0x224)](_0x15bddd=>{const _0x182de5=_0x38d9ad;_0x2e3c37[_0x182de5(0x2b5)](_0x15bddd['id'])&&_0x15bddd[_0x182de5(0x442)][_0x182de5(0x2c0)]===this['_context'][_0x182de5(0x2c0)]&&this[_0x182de5(0x385)]();}));}['_initResize'](){const _0x328f6d=_0x4c88bb;this['disposeWithMe'](_0x12127f['fromEventSubject'](this[_0x328f6d(0x323)][_0x328f6d(0x1d4)][_0x328f6d(0x308)])[_0x328f6d(0x310)](_0x43c141[_0x328f6d(0x37b)](_0x62c914=>_0x62c914[_0x328f6d(0x3fe)]===_0xcd886d[_0x328f6d(0x248)]['resize']),_0x43c141[_0x328f6d(0x275)](0x10))[_0x328f6d(0x43a)](()=>{const _0x5c9b1d=_0x328f6d;this[_0x5c9b1d(0x385)]();}));}};_0x92636b=_0x5cfbb3([_0x218a8e(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x514f6b[_0x4c88bb(0x27c)])),_0x218a8e(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x3fa8d8)),_0x218a8e(0x3,_0x12127f['ICommandService']),_0x218a8e(0x4,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x26e)]))],_0x92636b);const _0x1d93fb=0x1,_0x4550eb=1.5;class _0x458401 extends _0xcd886d[_0x4c88bb(0x3c4)]{constructor(_0x5fb120,_0x5e4eba){const _0x3541c4=_0x4c88bb;super(_0x5fb120,_0x5e4eba),_0x259cdc(this,_0x3541c4(0x315)),_0x259cdc(this,_0x3541c4(0x32f),!0x1),_0x259cdc(this,_0x3541c4(0x1e0)),_0x259cdc(this,_0x3541c4(0x244),''),_0x259cdc(this,_0x3541c4(0x44d),_0x3541c4(0x231)),_0x259cdc(this,_0x3541c4(0x2e9)),(_0x5e4eba&&this['setShapeProps'](_0x5e4eba),this[_0x3541c4(0x1ed)][_0x3541c4(0x25e)](()=>this[_0x3541c4(0x3e3)]({'hovered':!0x0})),this[_0x3541c4(0x2b9)][_0x3541c4(0x25e)](()=>this[_0x3541c4(0x3e3)]({'hovered':!0x1})));}[_0x4c88bb(0x3e3)](_0x2acc35){const _0x4f3c9c=_0x4c88bb;var _0x49e719,_0x22b9fb,_0x5ea974,_0xb7739f,_0x1c5e10,_0x207364;this[_0x4f3c9c(0x315)]=(_0x49e719=_0x2acc35[_0x4f3c9c(0x3e2)])!=null?_0x49e719:this['_color'],this[_0x4f3c9c(0x32f)]=(_0x22b9fb=_0x2acc35[_0x4f3c9c(0x31c)])!=null?_0x22b9fb:this[_0x4f3c9c(0x32f)],this[_0x4f3c9c(0x1e0)]=(_0x5ea974=_0x2acc35[_0x4f3c9c(0x206)])!=null?_0x5ea974:this['_range'],this[_0x4f3c9c(0x244)]=(_0xb7739f=_0x2acc35[_0x4f3c9c(0x370)])!=null?_0xb7739f:this[_0x4f3c9c(0x244)],this[_0x4f3c9c(0x44d)]=(_0x1c5e10=_0x2acc35[_0x4f3c9c(0x32a)])!=null?_0x1c5e10:this[_0x4f3c9c(0x44d)],this['_backgroundColor']=(_0x207364=_0x2acc35[_0x4f3c9c(0x415)])!=null?_0x207364:this['_backgroundColor'],this['transformByState']({'width':_0x2acc35[_0x4f3c9c(0x22c)],'height':_0x2acc35[_0x4f3c9c(0x2ce)]});}['onMouseMove'](_0x150254){const _0x2443d2=_0x4c88bb,{row:_0x368709,column:_0x545240}=_0x150254;if(_0x368709>=this['_range']['startRow']&&_0x368709<=this[_0x2443d2(0x1e0)][_0x2443d2(0x3a6)]&&_0x545240>=this[_0x2443d2(0x1e0)][_0x2443d2(0x2e3)]&&_0x545240<=this[_0x2443d2(0x1e0)]['endColumn']){this[_0x2443d2(0x3e3)]({'hovered':!0x0});return;}this[_0x2443d2(0x3e3)]({'hovered':!0x1});}[_0x4c88bb(0x366)](_0x5d6580){return!0x1;}[_0x4c88bb(0x201)](_0x488c66){const _0x475962=_0x4c88bb;_0xcd886d['Rect'][_0x475962(0x2ff)](_0x488c66,{'width':this[_0x475962(0x22c)],'height':this[_0x475962(0x2ce)],'strokeWidth':_0x4550eb,'stroke':this[_0x475962(0x315)],'evented':!0x1,'fill':this[_0x475962(0x2e9)]}),this['_hovered']&&(_0x488c66[_0x475962(0x459)](),_0x488c66['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x475962(0x44d)]===_0x475962(0x26b)?0x0:-0x14),_0x50dbc1[_0x475962(0x2ff)](_0x488c66,{'text':this['_name'],'color':this[_0x475962(0x315)]}),_0x488c66[_0x475962(0x240)]());}}var _0x42ba71=Object[_0x4c88bb(0x272)],_0x83c61c=(_0xec3151,_0x4a4522,_0x1b7740,_0x3f537c)=>{const _0x2eb2e4=_0x4c88bb;for(var _0x50897c=_0x3f537c>0x1?void 0x0:_0x3f537c?_0x42ba71(_0x4a4522,_0x1b7740):_0x4a4522,_0x5d212f=_0xec3151[_0x2eb2e4(0x31e)]-0x1,_0x485bf9;_0x5d212f>=0x0;_0x5d212f--)(_0x485bf9=_0xec3151[_0x5d212f])&&(_0x50897c=_0x485bf9(_0x50897c)||_0x50897c);return _0x50897c;},_0x2cc8e1=(_0x3a928f,_0x5746cb)=>(_0x59e210,_0x51e649)=>_0x5746cb(_0x59e210,_0x51e649,_0x3a928f);const _0xdd4a33=0x1389;let _0x1e07d9=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x300649,_0x4299aa,_0x182090,_0x1963d3){const _0x4f53e0=_0x4c88bb;super(),_0x259cdc(this,_0x4f53e0(0x384),new Set()),_0x259cdc(this,_0x4f53e0(0x3e1),null),(this[_0x4f53e0(0x323)]=_0x300649,this[_0x4f53e0(0x327)]=_0x4299aa,this[_0x4f53e0(0x3bb)]=_0x182090,this[_0x4f53e0(0x36d)]=_0x1963d3,this['_init']());}[_0x4c88bb(0x2a8)](){const _0x560ae8=_0x4c88bb;this[_0x560ae8(0x327)][_0x560ae8(0x313)]['pipe'](_0x43c141[_0x560ae8(0x3ba)](this[_0x560ae8(0x1d1)]),_0x43c141[_0x560ae8(0x1df)](_0x291e34=>{const _0x197967=_0x560ae8;if(_0x291e34){const _0x2be6e0=_0x291e34['sheetId'];return _0x4d06f2['combineLatest'](this[_0x197967(0x3bb)][_0x197967(0x1ce)](this[_0x197967(0x323)][_0x197967(0x2c0)]),this[_0x197967(0x36d)][_0x197967(0x2f1)])[_0x197967(0x310)](_0x43c141[_0x197967(0x2cb)](([_0x351ecd,_0x317822])=>{const _0x52b031=_0x197967,_0x4d7b9a=new Map();return _0x351ecd[_0x52b031(0x27f)]((_0xf0a5f8,_0x6aa5a0)=>{const _0xa95487=_0x52b031;if(_0xf0a5f8[_0xa95487(0x3a2)]===_0x2be6e0){const _0xb2757b={..._0xf0a5f8};_0xb2757b['color']=_0x317822[_0xf0a5f8[_0xa95487(0x3e2)]],_0x4d7b9a[_0xa95487(0x1d8)](_0x6aa5a0,_0xb2757b);}}),{'skeleton':_0x291e34,'cursors':_0x4d7b9a};}));}return _0x4d06f2['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x534051,cursors:_0x200d66})=>{const _0x29eb67=_0x560ae8;this[_0x29eb67(0x20f)](),_0x534051&&this[_0x29eb67(0x29b)](_0x534051,_0x200d66);}),this['_sheetSkeletonManagerService'][_0x560ae8(0x313)]['subscribe'](_0x5d09ea=>{const _0x11669b=_0x560ae8;if(_0x5d09ea==null)return;const {skeleton:_0x8b9790}=_0x5d09ea,{scene:_0x240650}=this[_0x11669b(0x323)];_0x240650[_0x11669b(0x200)][_0x11669b(0x25e)](_0x12127f['debounce'](_0x2be007=>{const _0x5300fc=_0x11669b;var _0x44ee2c,_0x45c792;const {offsetX:_0x317099,offsetY:_0x36c337}=_0x2be007,{x:_0x33c7bb,y:_0x3922b0}=_0x240650[_0x5300fc(0x1ca)](_0xcd886d[_0x5300fc(0x36f)]['FromArray']([_0x317099,_0x36c337])),{scaleX:_0x1c6fc6,scaleY:_0x1631d9}=_0x240650[_0x5300fc(0x241)](),_0x577014=_0x240650[_0x5300fc(0x2af)](_0xcd886d['SHEET_VIEWPORT_KEY'][_0x5300fc(0x38f)]),_0x2755cf=_0x240650[_0x5300fc(0x454)](_0xcd886d[_0x5300fc(0x36f)][_0x5300fc(0x230)]([_0x33c7bb,_0x3922b0]),_0x577014),_0x4b80b9=_0x8b9790[_0x5300fc(0x2d9)](_0x317099,_0x36c337,_0x1c6fc6,_0x1631d9,_0x2755cf);((_0x44ee2c=this['_lastPointer'])==null?void 0x0:_0x44ee2c[_0x5300fc(0x400)])===_0x4b80b9[_0x5300fc(0x400)]&&((_0x45c792=this[_0x5300fc(0x3e1)])==null?void 0x0:_0x45c792[_0x5300fc(0x449)])===_0x4b80b9[_0x5300fc(0x449)]||this[_0x5300fc(0x384)][_0x5300fc(0x27f)](_0x3fbf3e=>{const _0x169abf=_0x5300fc;_0x3fbf3e[_0x169abf(0x22a)](_0x4b80b9);});},0x64));});}[_0x4c88bb(0x29b)](_0x5463ac,_0x3cfd0e){const _0x5a4313=_0x4c88bb;var _0x513ff1;const _0x5a6ed4=(_0x513ff1=this[_0x5a4313(0x327)][_0x5a4313(0x25b)]())==null?void 0x0:_0x513ff1[_0x5a4313(0x1cd)];if(!_0x5a6ed4)return;const _0x472fe8=this[_0x5a4313(0x2cc)]();if(!_0x472fe8)return;this['_cursors']['forEach'](_0x48965e=>{_0x48965e['makeDirty']();});const {scene:_0x1ba20e}=_0x472fe8,_0x16a01e=_0xacb839(Array[_0x5a4313(0x232)](_0x3cfd0e[_0x5a4313(0x379)]()))[_0x5a4313(0x2cb)](_0x194a78=>{const _0x1291ae=_0x5a4313,{color:_0x25eea3,range:_0x320eb2,name:_0xd6d873,selection:_0x425bc8,sheetID:_0x11e465}=_0x194a78,{startColumn:_0x4ea142,startRow:_0x1dc070,endColumn:_0x24debc,endRow:_0x2b00dd}=_0x320eb2,_0x13612b=_0x158580[_0x1291ae(0x2c6)](_0x1dc070,_0x4ea142,_0x1ba20e,_0x5a6ed4),_0x38c254=_0x158580[_0x1291ae(0x2c6)](_0x2b00dd,_0x24debc,_0x1ba20e,_0x5a6ed4),{columnHeaderHeightAndMarginTop:_0x5eaa5e}=_0x5a6ed4,{startX:_0x5f12f3,startY:_0x1881f9}=_0x13612b,{endX:_0xea8b91,endY:_0x27ec9b}=_0x38c254,_0x2aca1=_0xea8b91-_0x5f12f3,_0x8e453b=_0x27ec9b-_0x1881f9,_0xbc6ff7={'labelPosition':_0x1881f9-_0x5eaa5e>=_0x1cc2c3?_0x1291ae(0x231):'bottom','sheetID':_0x11e465,'range':_0x320eb2,'color':_0x25eea3,'name':_0xd6d873,'selection':_0x425bc8,'left':_0x5f12f3,'top':_0x1881f9,'width':_0x2aca1,'height':_0x8e453b,'evented':!0x1,'zIndex':_0xdd4a33};return new _0x458401(_0xd6d873,_0xbc6ff7);});_0x1ba20e[_0x5a4313(0x37a)](_0x16a01e,_0x1d93fb),this[_0x5a4313(0x384)]=new Set(_0x16a01e);}[_0x4c88bb(0x20f)](){const _0x5ece06=_0x4c88bb;var _0x585d09;(_0x585d09=this[_0x5ece06(0x384)])==null||_0x585d09[_0x5ece06(0x27f)](_0x2e7d74=>_0x2e7d74[_0x5ece06(0x346)]());}[_0x4c88bb(0x2cc)](){const _0x35ef36=_0x4c88bb;return _0x158580[_0x35ef36(0x1d6)](this[_0x35ef36(0x323)][_0x35ef36(0x28e)],this[_0x35ef36(0x323)]);}};_0x1e07d9=_0x83c61c([_0x2cc8e1(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x158580[_0x4c88bb(0x264)])),_0x2cc8e1(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x3fa8d8)),_0x2cc8e1(0x3,_0x12127f['Inject'](_0x12127f[_0x4c88bb(0x26e)]))],_0x1e07d9);function _0xacb839(_0x1687f9){const _0x24a5b9=_0x4c88bb,_0x405910=new Map();return _0x1687f9[_0x24a5b9(0x27f)](_0x3d6958=>{const _0x28150a=_0x24a5b9;if(_0x405910['has'](_0x3d6958['selection'])){const _0xea9ae6=_0x405910[_0x28150a(0x26d)](_0x3d6958[_0x28150a(0x1db)]);_0xea9ae6[_0x28150a(0x370)]+=',\x20'+_0x3d6958[_0x28150a(0x370)];}else _0x405910[_0x28150a(0x1d8)](_0x3d6958[_0x28150a(0x1db)],_0x3d6958);}),Array[_0x24a5b9(0x232)](_0x405910[_0x24a5b9(0x379)]());}var _0x171442=function(){const _0x2a6b98=_0x4c88bb;return _0x171442=Object[_0x2a6b98(0x2c1)]||function(_0x3c2d04){const _0x47ccf8=_0x2a6b98;for(var _0x13f059,_0x51ba2c=0x1,_0x4ded8c=arguments[_0x47ccf8(0x31e)];_0x51ba2c<_0x4ded8c;_0x51ba2c++){_0x13f059=arguments[_0x51ba2c];for(var _0x58bb00 in _0x13f059)Object['prototype']['hasOwnProperty'][_0x47ccf8(0x246)](_0x13f059,_0x58bb00)&&(_0x3c2d04[_0x58bb00]=_0x13f059[_0x58bb00]);}return _0x3c2d04;},_0x171442['apply'](this,arguments);},_0x51f9ba=function(_0x265867,_0x4f9826){const _0x47b624=_0x4c88bb;var _0x25f1ce={};for(var _0x15b5bd in _0x265867)Object[_0x47b624(0x2ac)][_0x47b624(0x32e)][_0x47b624(0x246)](_0x265867,_0x15b5bd)&&_0x4f9826[_0x47b624(0x229)](_0x15b5bd)<0x0&&(_0x25f1ce[_0x15b5bd]=_0x265867[_0x15b5bd]);if(_0x265867!=null&&typeof Object[_0x47b624(0x20a)]=='function'){for(var _0x3631f6=0x0,_0x15b5bd=Object[_0x47b624(0x20a)](_0x265867);_0x3631f6<_0x15b5bd['length'];_0x3631f6++)_0x4f9826[_0x47b624(0x229)](_0x15b5bd[_0x3631f6])<0x0&&Object[_0x47b624(0x2ac)]['propertyIsEnumerable'][_0x47b624(0x246)](_0x265867,_0x15b5bd[_0x3631f6])&&(_0x25f1ce[_0x15b5bd[_0x3631f6]]=_0x265867[_0x15b5bd[_0x3631f6]]);}return _0x25f1ce;},_0x4d1546=_0xbee236[_0x4c88bb(0x330)](function(_0x50fc8a,_0x2e9815){const _0x514f6c=_0x4c88bb;var _0x49ed45=_0x50fc8a[_0x514f6c(0x311)],_0x242ebf=_0x50fc8a['id'],_0x2d4eef=_0x50fc8a['className'],_0x4abbbc=_0x50fc8a[_0x514f6c(0x250)],_0x4812ce=_0x51f9ba(_0x50fc8a,[_0x514f6c(0x311),'id',_0x514f6c(0x3ae),_0x514f6c(0x250)]),_0x30a714=_0x514f6c(0x44a)[_0x514f6c(0x426)](_0x242ebf,'\x20')['concat'](_0x2d4eef||'')[_0x514f6c(0x341)](),_0x315e24=_0xbee236[_0x514f6c(0x3fd)]('_'[_0x514f6c(0x426)](_0x35144a()));return _0x513c23(_0x49ed45,''[_0x514f6c(0x426)](_0x242ebf),{'defIds':_0x49ed45[_0x514f6c(0x30e)],'idSuffix':_0x315e24[_0x514f6c(0x2a7)]},_0x171442({'ref':_0x2e9815,'className':_0x30a714},_0x4812ce),_0x4abbbc);});function _0x513c23(_0x4c284c,_0x48eca9,_0x30dfe6,_0x270be5,_0x140766){const _0x2d988e=_0x4c88bb;return _0xbee236[_0x2d988e(0x2f0)](_0x4c284c['tag'],_0x171442(_0x171442({'key':_0x48eca9},_0x40b37b(_0x4c284c,_0x30dfe6,_0x140766)),_0x270be5),(_0x218262(_0x4c284c,_0x30dfe6)[_0x2d988e(0x439)]||[])['map'](function(_0x252882,_0x13760e){const _0x205f5e=_0x2d988e;return _0x513c23(_0x252882,''[_0x205f5e(0x426)](_0x48eca9,'-')[_0x205f5e(0x426)](_0x4c284c[_0x205f5e(0x450)],'-')[_0x205f5e(0x426)](_0x13760e),_0x30dfe6,void 0x0,_0x140766);}));}function _0x40b37b(_0x2c49a2,_0x2288d7,_0x4e6499){const _0x350f99=_0x4c88bb;var _0x29a068=_0x171442({},_0x2c49a2['attrs']);_0x4e6499!=null&&_0x4e6499['colorChannel1']&&_0x29a068['fill']===_0x350f99(0x445)&&(_0x29a068[_0x350f99(0x286)]=_0x4e6499[_0x350f99(0x445)]),_0x2c49a2[_0x350f99(0x450)]===_0x350f99(0x296)&&_0x29a068['id']&&(_0x29a068['id']=_0x29a068['id']+_0x2288d7[_0x350f99(0x421)]),Object[_0x350f99(0x360)](_0x29a068)[_0x350f99(0x27f)](function(_0xd9e9c){const _0x4518dc=_0x350f99;var _0x273833=_0xd9e9c[0x0],_0xa02624=_0xd9e9c[0x1];_0x273833===_0x4518dc(0x296)&&typeof _0xa02624==_0x4518dc(0x2fd)&&(_0x29a068[_0x273833]=_0xa02624['replace'](/url\(#(.*)\)/,_0x4518dc(0x343)[_0x4518dc(0x426)](_0x2288d7[_0x4518dc(0x421)],')')));});var _0x5c93ba=_0x2288d7['defIds'];return!_0x5c93ba||_0x5c93ba[_0x350f99(0x31e)]===0x0||(_0x2c49a2[_0x350f99(0x450)]===_0x350f99(0x1f6)&&_0x29a068[_0x350f99(0x213)]&&(_0x29a068[_0x350f99(0x213)]=_0x29a068[_0x350f99(0x213)]+_0x2288d7[_0x350f99(0x421)]),Object[_0x350f99(0x360)](_0x29a068)[_0x350f99(0x27f)](function(_0x4aa119){const _0x2aeb0a=_0x350f99;var _0x4d3fdd=_0x4aa119[0x0],_0x4ec674=_0x4aa119[0x1];typeof _0x4ec674==_0x2aeb0a(0x2fd)&&(_0x29a068[_0x4d3fdd]=_0x4ec674[_0x2aeb0a(0x40b)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x2288d7[_0x2aeb0a(0x421)],')')));})),_0x29a068;}function _0x218262(_0xb991f7,_0x427944){const _0x515556=_0x4c88bb;var _0x3ef3b9,_0x3524be=_0x427944['defIds'];return!_0x3524be||_0x3524be['length']===0x0?_0xb991f7:_0xb991f7[_0x515556(0x450)]===_0x515556(0x267)&&(!((_0x3ef3b9=_0xb991f7[_0x515556(0x439)])===null||_0x3ef3b9===void 0x0)&&_0x3ef3b9[_0x515556(0x31e)])?_0x171442(_0x171442({},_0xb991f7),{'children':_0xb991f7['children'][_0x515556(0x2cb)](function(_0x15129f){const _0xffbf48=_0x515556;return typeof _0x15129f[_0xffbf48(0x3b6)]['id']==_0xffbf48(0x2fd)&&_0x3524be&&_0x3524be[_0xffbf48(0x229)](_0x15129f[_0xffbf48(0x3b6)]['id'])>-0x1?_0x171442(_0x171442({},_0x15129f),{'attrs':_0x171442(_0x171442({},_0x15129f[_0xffbf48(0x3b6)]),{'id':_0x15129f[_0xffbf48(0x3b6)]['id']+_0x427944[_0xffbf48(0x421)]})}):_0x15129f;})}):_0xb991f7;}function _0x35144a(){const _0x156d6f=_0x4c88bb;return Math[_0x156d6f(0x3a7)]()[_0x156d6f(0x23a)](0x24)[_0x156d6f(0x3df)](0x2,0x8);}_0x4d1546[_0x4c88bb(0x2f5)]=_0x4c88bb(0x1f1);var _0x480e03={'tag':_0x4c88bb(0x3d3),'attrs':{'fill':_0x4c88bb(0x298),'viewBox':_0x4c88bb(0x208),'width':'1em','height':_0x4c88bb(0x2fe)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4c88bb(0x34d),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x4c88bb(0x233),'strokeLinejoin':_0x4c88bb(0x233),'strokeWidth':1.2}}]},{'tag':_0x4c88bb(0x267),'attrs':{},'children':[{'tag':_0x4c88bb(0x42f),'attrs':{'id':_0x4c88bb(0x448)},'children':[{'tag':_0x4c88bb(0x34d),'attrs':{'fill':_0x4c88bb(0x1f4),'d':_0x4c88bb(0x457)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x31d19f=_0xbee236[_0x4c88bb(0x330)](function(_0x136048,_0x15415b){const _0x11bd64=_0x4c88bb;return _0xbee236[_0x11bd64(0x2f0)](_0x4d1546,Object[_0x11bd64(0x2c1)]({},_0x136048,{'id':'off-line-single','ref':_0x15415b,'icon':_0x480e03}));});_0x31d19f['displayName']=_0x4c88bb(0x422);var _0x315e04={'tag':'svg','attrs':{'fill':'none','viewBox':_0x4c88bb(0x39d),'width':_0x4c88bb(0x2fe),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x4c88bb(0x34d),'attrs':{'stroke':'currentColor','d':_0x4c88bb(0x2b4),'strokeLinecap':'round','strokeLinejoin':_0x4c88bb(0x233),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4c88bb(0x2f2)},'children':[{'tag':_0x4c88bb(0x34d),'attrs':{'fill':_0x4c88bb(0x1f4),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x4c88bb(0x2f2)]},_0x2023cf=_0xbee236[_0x4c88bb(0x330)](function(_0x5de51a,_0x4ddb0f){const _0x25ba1a=_0x4c88bb;return _0xbee236['createElement'](_0x4d1546,Object[_0x25ba1a(0x2c1)]({},_0x5de51a,{'id':'on-line-single','ref':_0x4ddb0f,'icon':_0x315e04}));});_0x2023cf[_0x4c88bb(0x2f5)]=_0x4c88bb(0x236);function _0x1c1e3b(_0x2dc856){const _0x112711=_0x4c88bb;switch(_0x2dc856){case _0x5bae0f['CollaborationStatus'][_0x112711(0x297)]:return _0x112711(0x247);case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x394)]:return _0x112711(0x25c);case _0x5bae0f['CollaborationStatus'][_0x112711(0x3c1)]:return _0x112711(0x283);case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x347)]:return _0x112711(0x436);case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x437)]:case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x303)]:return _0x112711(0x2a2);case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x1ef)]:case _0x5bae0f[_0x112711(0x2f3)]['PENDING']:return _0x112711(0x3ea);}}function _0x2066b6(_0x5bd581){const _0x223dc7=_0x4c88bb,{status$:_0x3d3fc8}=_0x5bd581,_0x182cf7=_0x594396[_0x223dc7(0x1fd)](_0x3d3fc8,_0x5bae0f[_0x223dc7(0x2f3)][_0x223dc7(0x347)]),_0x540418=_0x594396['useDependency'](_0x12127f[_0x223dc7(0x24c)]),_0x308406=_0x594396[_0x223dc7(0x3fb)](_0x5bae0f['CollaborationSessionService']),_0x14b6bc=_0x182cf7!==_0x5bae0f[_0x223dc7(0x2f3)]['OFFLINE'],_0x574f9d=_0x540418['t'](_0x1c1e3b(_0x182cf7)),_0x5bc371=_0x14b6bc?_0x30ea62[_0x223dc7(0x276)](_0x2023cf,{}):_0x30ea62['jsx'](_0x31d19f,{}),_0x208719=_0xbee236['useCallback'](()=>{const _0x270bc7=_0x223dc7;_0x14b6bc||_0x308406[_0x270bc7(0x3ac)]();},[_0x14b6bc,_0x308406]);function _0x15906a(){const _0x1d39eb=_0x223dc7;return _0x30ea62[_0x1d39eb(0x2b7)](_0x1d39eb(0x431),{'className':_0x1d39eb(0x3a8),'onClick':_0x208719,'children':[_0x30ea62[_0x1d39eb(0x276)]('div',{'className':_0x4ecfe7['clsx']('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x14b6bc?_0x1d39eb(0x1e6):_0x1d39eb(0x2ec)),'children':_0x5bc371}),_0x30ea62[_0x1d39eb(0x276)](_0x1d39eb(0x431),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x574f9d})]});}return _0x14b6bc?_0x15906a():_0x30ea62['jsx'](_0x4ecfe7[_0x223dc7(0x3f1)],{'title':_0x540418['t'](_0x223dc7(0x352)),'children':_0x15906a()});}var _0x38a364=Object[_0x4c88bb(0x272)],_0x47d5dc=(_0x26143c,_0x5f1673,_0x1030f8,_0x356c0f)=>{const _0x26956b=_0x4c88bb;for(var _0x17342f=_0x356c0f>0x1?void 0x0:_0x356c0f?_0x38a364(_0x5f1673,_0x1030f8):_0x5f1673,_0xe60f26=_0x26143c[_0x26956b(0x31e)]-0x1,_0x249162;_0xe60f26>=0x0;_0xe60f26--)(_0x249162=_0x26143c[_0xe60f26])&&(_0x17342f=_0x249162(_0x17342f)||_0x17342f);return _0x17342f;},_0x52d025=(_0x44bcda,_0xbca5)=>(_0x53ff13,_0x4256bf)=>_0xbca5(_0x53ff13,_0x4256bf,_0x44bcda);_0x5d87d7['DesktopCollaborationStatusDisplayController']=class extends _0x12127f['Disposable']{constructor(_0x283996,_0x1a695e,_0xcc1d24,_0x4c1ab0){const _0x224249=_0x4c88bb;super(),_0x259cdc(this,_0x224249(0x1e5),new _0x4d06f2[(_0x224249(0x31f))](_0x5bae0f[_0x224249(0x2f3)]['NOT_COLLAB'])),(this[_0x224249(0x202)]=_0x283996,this[_0x224249(0x425)]=_0x1a695e,this[_0x224249(0x27d)]=_0xcc1d24,this['_uiPartsService']=_0x4c1ab0,this['_initStatusComponent'](),this[_0x224249(0x1fc)]());}[_0x4c88bb(0x1fc)](){const _0xc6bf0a=_0x4c88bb;this[_0xc6bf0a(0x21d)](this[_0xc6bf0a(0x202)][_0xc6bf0a(0x416)]['pipe'](_0x4d06f2[_0xc6bf0a(0x1df)](()=>{const _0x12d45b=_0xc6bf0a,_0x489a5d=this[_0x12d45b(0x202)][_0x12d45b(0x43d)]();return _0x489a5d?this[_0x12d45b(0x27d)]['getCollabEntity$'](_0x489a5d[_0x12d45b(0x43e)]()):_0x4d06f2['of'](null);}),_0x4d06f2[_0xc6bf0a(0x1df)](_0x2657e9=>_0x2657e9?_0x2657e9[_0xc6bf0a(0x1e3)]:_0x4d06f2['of'](_0x5bae0f[_0xc6bf0a(0x2f3)][_0xc6bf0a(0x347)])))[_0xc6bf0a(0x43a)](_0x2b8954=>{const _0x35e62d=_0xc6bf0a;this[_0x35e62d(0x1e5)][_0x35e62d(0x34f)](_0x2b8954);}));}[_0x4c88bb(0x3b1)](){const _0x23c2b8=_0x4c88bb;this[_0x23c2b8(0x21d)](this[_0x23c2b8(0x225)][_0x23c2b8(0x332)](_0x594396[_0x23c2b8(0x3fc)][_0x23c2b8(0x1ea)],()=>_0x594396[_0x23c2b8(0x3fa)](_0x527011({'status$':this[_0x23c2b8(0x1e5)][_0x23c2b8(0x1ee)]()}),this[_0x23c2b8(0x425)])));}},_0x5d87d7['DesktopCollaborationStatusDisplayController']=_0x47d5dc([_0x52d025(0x0,_0x12127f[_0x4c88bb(0x405)]),_0x52d025(0x1,_0x12127f['Inject'](_0x12127f['Injector'])),_0x52d025(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f[_0x4c88bb(0x256)])),_0x52d025(0x3,_0x594396['IUIPartsService'])],_0x5d87d7[_0x4c88bb(0x3b8)]);function _0x527011(_0x500f0c){const {status$:_0x8d2875}=_0x500f0c;return function(){const _0x59cf45=_0x4b8b;return _0x30ea62[_0x59cf45(0x276)](_0x2066b6,{'status$':_0x8d2875});};}var _0x44de90=Object[_0x4c88bb(0x272)],_0x3a6b18=(_0x437053,_0x337e28,_0x359eda,_0x173ccb)=>{const _0x34fc0a=_0x4c88bb;for(var _0x4acda5=_0x173ccb>0x1?void 0x0:_0x173ccb?_0x44de90(_0x337e28,_0x359eda):_0x337e28,_0x117cf6=_0x437053[_0x34fc0a(0x31e)]-0x1,_0x2d080d;_0x117cf6>=0x0;_0x117cf6--)(_0x2d080d=_0x437053[_0x117cf6])&&(_0x4acda5=_0x2d080d(_0x4acda5)||_0x4acda5);return _0x4acda5;},_0xa4e6bf=(_0x12623e,_0x3c25d8)=>(_0x335581,_0x4d8539)=>_0x3c25d8(_0x335581,_0x4d8539,_0x12623e);let _0x2900ce=class extends _0x12127f[_0x4c88bb(0x39a)]{constructor(_0x47d468,_0x531d0a,_0x3d6aa6,_0x2ea400,_0x348fc8,_0x192145){const _0x22ae20=_0x4c88bb;super(),this[_0x22ae20(0x1e9)]=_0x47d468,this[_0x22ae20(0x22b)]=_0x531d0a,this['_collaborationUIEventService']=_0x3d6aa6,this[_0x22ae20(0x3e6)]=_0x2ea400,this[_0x22ae20(0x44e)]=_0x348fc8,this['_localeService']=_0x192145,this[_0x22ae20(0x31b)](),this[_0x22ae20(0x340)]();}[_0x4c88bb(0x31b)](){const _0x3f85ca=_0x4c88bb;this[_0x3f85ca(0x21d)](this[_0x3f85ca(0x1e9)]['registerBeforeClose'](()=>{const _0x18349d=_0x3f85ca;if(this[_0x18349d(0x22b)][_0x18349d(0x3f5)][_0x18349d(0x368)])return this['_localeService']['t'](_0x18349d(0x42a));}));}[_0x4c88bb(0x340)](){const _0x3e717c=_0x4c88bb;this[_0x3e717c(0x21d)](this['_collaborationUIEventService'][_0x3e717c(0x2cd)]['subscribe'](_0x2d727b=>{const _0x29fb55=_0x3e717c;_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x29fb55(0x24e)]({'type':_0x4ecfe7[_0x29fb55(0x2fc)][_0x29fb55(0x3cc)],'content':this[_0x29fb55(0x3ce)]['t']('collaboration.single-unit.warning')}),_0x2d727b['id']===_0x5bae0f['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x29fb55(0x3e6)]['show']({'type':_0x4ecfe7[_0x29fb55(0x2fc)]['Warning'],'content':this[_0x29fb55(0x3ce)]['t'](_0x29fb55(0x1ff))}),_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)][_0x29fb55(0x2a1)]&&this[_0x29fb55(0x44e)][_0x29fb55(0x24e)]({'title':this[_0x29fb55(0x3ce)]['t']('permission.title'),'content':this[_0x29fb55(0x3ce)]['t'](_0x29fb55(0x23f)),'type':'error','duration':0x0}),_0x2d727b['id']===_0x5bae0f['CollaborationUIEventId'][_0x29fb55(0x394)]&&this[_0x29fb55(0x3e6)]['show']({'type':_0x4ecfe7['MessageType'][_0x29fb55(0x326)],'content':this[_0x29fb55(0x3ce)]['t'](_0x29fb55(0x1ff))+'('+_0x2d727b['data']+')'}),_0x2d727b['id']===_0x5bae0f['CollaborationUIEventId'][_0x29fb55(0x2ee)]&&this['_messageService'][_0x29fb55(0x24e)]({'type':_0x4ecfe7['MessageType']['Warning'],'content':this[_0x29fb55(0x3ce)]['t'](_0x2d727b[_0x29fb55(0x3c6)]||'')}),_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)][_0x29fb55(0x336)]&&this[_0x29fb55(0x3e6)][_0x29fb55(0x24e)]({'type':_0x4ecfe7[_0x29fb55(0x2fc)][_0x29fb55(0x3cc)],'content':this['_localeService']['t']('session.will-retry')}),_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)][_0x29fb55(0x3a4)]&&this['_messageService']['show']({'type':_0x4ecfe7['MessageType'][_0x29fb55(0x326)],'content':this[_0x29fb55(0x3ce)]['t']('session.connection-failed')}),_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)][_0x29fb55(0x1fb)]&&this['_messageService'][_0x29fb55(0x24e)]({'type':_0x4ecfe7['MessageType'][_0x29fb55(0x326)],'content':this[_0x29fb55(0x3ce)]['t'](_0x29fb55(0x389))});}));}};_0x2900ce=_0x3a6b18([_0xa4e6bf(0x0,_0x594396[_0x4c88bb(0x41f)]),_0xa4e6bf(0x1,_0x5bae0f[_0x4c88bb(0x372)]),_0xa4e6bf(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f['CollaborationUIEventService'])),_0xa4e6bf(0x3,_0x594396['IMessageService']),_0xa4e6bf(0x4,_0x594396[_0x4c88bb(0x245)]),_0xa4e6bf(0x5,_0x12127f[_0x4c88bb(0x35a)](_0x12127f['LocaleService']))],_0x2900ce);const _0x7bfec1=_0x4c88bb(0x212),_0x517146={},_0x3b075a=_0x12127f[_0x4c88bb(0x349)](_0x4c88bb(0x273));var _0x4280ca=Object[_0x4c88bb(0x272)],_0x461e8f=(_0x2ca7f9,_0x26f5c8,_0x36a6f2,_0x5b93b3)=>{const _0x33bb13=_0x4c88bb;for(var _0x54143e=_0x5b93b3>0x1?void 0x0:_0x5b93b3?_0x4280ca(_0x26f5c8,_0x36a6f2):_0x26f5c8,_0x4a519f=_0x2ca7f9[_0x33bb13(0x31e)]-0x1,_0x30a553;_0x4a519f>=0x0;_0x4a519f--)(_0x30a553=_0x2ca7f9[_0x4a519f])&&(_0x54143e=_0x30a553(_0x54143e)||_0x54143e);return _0x54143e;},_0x854260=(_0x268e11,_0x22d455)=>(_0x12dcfb,_0x261714)=>_0x22d455(_0x12dcfb,_0x261714,_0x268e11);_0x5d87d7[_0x4c88bb(0x3d0)]=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x485f64,_0x5023fb,_0xc0ed96,_0x287e5e,_0x1c1a65){const _0x46d3d7=_0x4c88bb;super(),this[_0x46d3d7(0x31d)]=_0x485f64,this[_0x46d3d7(0x1f7)]=_0x5023fb,this[_0x46d3d7(0x204)]=_0xc0ed96,this[_0x46d3d7(0x218)]=_0x287e5e,_0x1c1a65?_0x1c1a65==null||_0x1c1a65[_0x46d3d7(0x3e8)]()[_0x46d3d7(0x266)](()=>this[_0x46d3d7(0x2a8)]()):(this[_0x46d3d7(0x1f7)][_0x46d3d7(0x242)](_0x46d3d7(0x350),_0x46d3d7(0x41e)),this[_0x46d3d7(0x2a8)]());}async[_0x4c88bb(0x2a8)](){const _0x38d546=_0x4c88bb,_0x185127=this['_urlService'][_0x38d546(0x3ab)](_0x38d546(0x28e)),_0x3e74f8=this['_urlService'][_0x38d546(0x3ab)](_0x38d546(0x3fe)),_0x4362f3=this['_urlService'][_0x38d546(0x3ab)](_0x38d546(0x3d4));if(!_0x185127||!_0x3e74f8){this['_logService'][_0x38d546(0x242)](_0x38d546(0x350),_0x38d546(0x314));return;}const _0x45e14d=await this['_dataLoaderService'][_0x38d546(0x361)](_0x185127,Number(_0x3e74f8),_0x4362f3);_0x45e14d&&_0x45e14d instanceof _0x12127f['Workbook']&&this[_0x38d546(0x3b0)](_0x45e14d);}async[_0x4c88bb(0x3b0)](_0x5e0afa){const _0x72fea1=_0x4c88bb;await this[_0x72fea1(0x435)](_0x5e0afa),_0x5e0afa[_0x72fea1(0x21c)][_0x72fea1(0x310)](_0x4d06f2['takeUntil'](this[_0x72fea1(0x1d1)]))[_0x72fea1(0x43a)](_0x1a78b5=>{_0x1a78b5&&this['_updateURLWithCurrentState'](_0x1a78b5);}),this[_0x72fea1(0x31d)][_0x72fea1(0x430)][_0x72fea1(0x310)](_0x4d06f2[_0x72fea1(0x3ba)](this['dispose$']))[_0x72fea1(0x43a)](()=>this['_updateSubUnitFromURLParams'](_0x5e0afa));}[_0x4c88bb(0x353)](_0x47b8a9,_0x1a9099=!0x1){const _0x27ccd1=_0x4c88bb,_0x2dd1df=this[_0x27ccd1(0x31d)]['getParam'](_0x27ccd1(0x3d4));_0x47b8a9['getSheetId']()!==_0x2dd1df&&this[_0x27ccd1(0x31d)][_0x27ccd1(0x295)](_0x27ccd1(0x3d4),_0x47b8a9['getSheetId'](),_0x1a9099);}async[_0x4c88bb(0x435)](_0x2375a6){const _0x537ff2=_0x4c88bb;var _0x2b9548;const _0x1ee786=this[_0x537ff2(0x31d)][_0x537ff2(0x3ab)](_0x537ff2(0x3d4));if(!_0x1ee786||!_0x2375a6[_0x537ff2(0x399)](_0x1ee786)){const _0x4bec97=_0x2375a6[_0x537ff2(0x30d)]()[0x0],_0x5ca05a=_0x2375a6[_0x537ff2(0x399)](_0x4bec97);if(!_0x5ca05a)return;this[_0x537ff2(0x353)](_0x5ca05a,!0x0),await this[_0x537ff2(0x204)]['executeCommand'](_0x347d9b['SetWorksheetActivateCommand']['id'],{'unitId':_0x2375a6[_0x537ff2(0x43e)](),'subUnitId':_0x4bec97});return;}((_0x2b9548=_0x2375a6[_0x537ff2(0x263)]())==null?void 0x0:_0x2b9548[_0x537ff2(0x3eb)]())!==_0x1ee786&&await this[_0x537ff2(0x204)]['executeCommand'](_0x347d9b[_0x537ff2(0x289)]['id'],{'unitId':_0x2375a6['getUnitId'](),'subUnitId':_0x1ee786});}},_0x5d87d7[_0x4c88bb(0x3d0)]=_0x461e8f([_0x854260(0x0,_0x3b075a),_0x854260(0x1,_0x12127f[_0x4c88bb(0x26a)]),_0x854260(0x2,_0x12127f['ICommandService']),_0x854260(0x3,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f[_0x4c88bb(0x29e)])),_0x854260(0x4,_0x12127f[_0x4c88bb(0x261)](_0x5ae2ec[_0x4c88bb(0x458)]))],_0x5d87d7[_0x4c88bb(0x3d0)]);var _0x39cc29=Object[_0x4c88bb(0x272)],_0x3e2c94=(_0x4ab5d5,_0x4a04df,_0x4458e3,_0x29ce94)=>{const _0x3ad8df=_0x4c88bb;for(var _0x4b64e3=_0x29ce94>0x1?void 0x0:_0x29ce94?_0x39cc29(_0x4a04df,_0x4458e3):_0x4a04df,_0x1f2f50=_0x4ab5d5[_0x3ad8df(0x31e)]-0x1,_0x40a0d4;_0x1f2f50>=0x0;_0x1f2f50--)(_0x40a0d4=_0x4ab5d5[_0x1f2f50])&&(_0x4b64e3=_0x40a0d4(_0x4b64e3)||_0x4b64e3);return _0x4b64e3;},_0x2e5e0b=(_0x27dedf,_0x244e92)=>(_0x1c2e8d,_0x4fff97)=>_0x244e92(_0x1c2e8d,_0x4fff97,_0x27dedf);let _0x190050=class{constructor(_0x1fad0b,_0x3e9d58,_0x2970ae){const _0x46af27=_0x4c88bb;this[_0x46af27(0x425)]=_0x1fad0b,this[_0x46af27(0x344)]=_0x3e9d58,this[_0x46af27(0x254)]=_0x2970ae;}[_0x4c88bb(0x3dd)](_0x27eadb){const _0x27ce96=_0x4c88bb;this[_0x27ce96(0x411)](_0x27eadb),this[_0x27ce96(0x3d1)](_0x27eadb);}['transformRemoteChangeset'](_0x13881e){const _0xfe193e=_0x4c88bb,{unitID:_0x597c7c}=_0x13881e,_0x4bbb22=this[_0xfe193e(0x254)][_0xfe193e(0x375)](_0x597c7c)[_0xfe193e(0x39c)](_0x464098[_0xfe193e(0x390)]),{redoCache:_0x1d50fb}=_0x4bbb22[_0xfe193e(0x2e1)]();if(_0x1d50fb[_0xfe193e(0x31e)]===0x0)return _0x13881e;let _0x48b604=_0x12127f[_0xfe193e(0x36c)][_0xfe193e(0x226)](_0x13881e[_0xfe193e(0x393)][0x0]);for(let _0x5765e0=0x0;_0x5765e0<_0x1d50fb[_0xfe193e(0x31e)];_0x5765e0++){const _0x323fe6={'id':'doc.mutation.rich-text-editing','params':{..._0x1d50fb[_0x5765e0]}},_0x109d22=this['_transformService'][_0xfe193e(0x294)](_0x48b604,_0x323fe6,!0x1);if(_0x50b9f9[_0xfe193e(0x440)](_0x109d22))throw _0x109d22['error'];_0x48b604=_0x109d22[_0xfe193e(0x25d)];}return{..._0x12127f[_0xfe193e(0x36c)][_0xfe193e(0x226)](_0x13881e),'mutations':[_0x48b604]};}['_transformUndoRedoStack'](_0x4f844d){const _0x2eaec3=_0x4c88bb,{unitID:_0x467199}=_0x4f844d,_0x2b92af=this[_0x2eaec3(0x254)]['getRenderById'](_0x467199)['with'](_0x464098[_0x2eaec3(0x390)]),{undoCache:_0x168331,redoCache:_0x34d560}=_0x2b92af[_0x2eaec3(0x2e1)]();if(_0x168331[_0x2eaec3(0x31e)]===0x0||_0x34d560[_0x2eaec3(0x31e)]===0x0)return;const _0x2111b5=[],_0x459f38=[];let _0x4f59b4=_0x12127f[_0x2eaec3(0x36c)][_0x2eaec3(0x226)](_0x4f844d[_0x2eaec3(0x393)][0x0]),_0x4c536c=_0x12127f[_0x2eaec3(0x36c)][_0x2eaec3(0x226)](_0x4f844d[_0x2eaec3(0x393)][0x0]);for(let _0x13782b=_0x168331[_0x2eaec3(0x31e)]-0x1;_0x13782b>=0x0;_0x13782b--){const _0x37124e={'id':_0x2eaec3(0x2bb),'params':{..._0x168331[_0x13782b]}},_0x87bb52={'id':_0x2eaec3(0x2bb),'params':{..._0x34d560[_0x13782b]}},_0xd910a4=this[_0x2eaec3(0x344)][_0x2eaec3(0x294)](_0x4f59b4,_0x37124e,!0x1),_0x1c3a62=this[_0x2eaec3(0x344)]['transformMutation'](_0x4c536c,_0x87bb52,!0x1);if(_0x50b9f9[_0x2eaec3(0x440)](_0xd910a4))throw _0xd910a4[_0x2eaec3(0x35c)];if(_0x50b9f9['isTransformMutationFailure'](_0x1c3a62))throw _0x1c3a62['error'];_0x2111b5['unshift'](_0xd910a4[_0x2eaec3(0x38c)]['params']),_0x459f38['unshift'](_0x1c3a62[_0x2eaec3(0x38c)][_0x2eaec3(0x442)]),_0x4f59b4=_0xd910a4[_0x2eaec3(0x25d)],_0x4c536c=_0x1c3a62[_0x2eaec3(0x25d)];}_0x2b92af[_0x2eaec3(0x2ad)]({'undoCache':_0x2111b5,'redoCache':_0x459f38});}[_0x4c88bb(0x3d1)](_0x5a192c){const _0x5db856=_0x4c88bb,{unitID:_0xbfdc74}=_0x5a192c,_0x1e17f3=this['_renderManagerService']['getRenderById'](_0xbfdc74)[_0x5db856(0x39c)](_0x464098['DocIMEInputManagerService']),_0x5e529e=_0x1e17f3[_0x5db856(0x38d)]();if(_0x5e529e==null)return;const _0x59803d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a192c[_0x5db856(0x358)],'actions':null,'textRanges':[_0x5e529e]}}],_0x26206c=this['_transformService'][_0x5db856(0x3be)](_0x5a192c,_0x59803d);if(!_0x50b9f9[_0x5db856(0x2d6)](_0x26206c))throw _0x26206c[_0x5db856(0x35c)];const _0x1d67ce=_0x26206c['m2Prime'][0x0]['params']['textRanges'];Array[_0x5db856(0x2ed)](_0x1d67ce)&&_0x1d67ce['length']&&_0x1e17f3[_0x5db856(0x446)](_0x1d67ce[0x0]);}};_0x190050=_0x3e2c94([_0x2e5e0b(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x1c8)])),_0x2e5e0b(0x1,_0x50b9f9[_0x4c88bb(0x337)]),_0x2e5e0b(0x2,_0xcd886d['IRenderManagerService'])],_0x190050);var _0x1a1ae4=Object[_0x4c88bb(0x272)],_0x2d12bc=(_0x2681e2,_0xecba01,_0x352a89,_0x379d09)=>{const _0x33c18c=_0x4c88bb;for(var _0x53e825=_0x379d09>0x1?void 0x0:_0x379d09?_0x1a1ae4(_0xecba01,_0x352a89):_0xecba01,_0x222c00=_0x2681e2[_0x33c18c(0x31e)]-0x1,_0x133ce6;_0x222c00>=0x0;_0x222c00--)(_0x133ce6=_0x2681e2[_0x222c00])&&(_0x53e825=_0x133ce6(_0x53e825)||_0x53e825);return _0x53e825;},_0x2fe4d3=(_0x365722,_0x32c96d)=>(_0x46a07b,_0xa7eca1)=>_0x32c96d(_0x46a07b,_0xa7eca1,_0x365722);let _0x53c97f=class{constructor(_0x43223b,_0x4b5f04,_0x5e6cc2){const _0x2dce6c=_0x4c88bb;this[_0x2dce6c(0x425)]=_0x43223b,this['_transformService']=_0x4b5f04,this['_docStateChangeManagerService']=_0x5e6cc2;}[_0x4c88bb(0x270)](_0x241e54){this['_transformHistoryAndStateStack'](_0x241e54);}['transformRemoteChangeset'](_0x32467f){const _0x5a6b43=_0x4c88bb,{unitID:_0x515d0b}=_0x32467f,{collaboration:_0x587ca3}=this[_0x5a6b43(0x369)][_0x5a6b43(0x3ee)](_0x515d0b);if(_0x587ca3[_0x5a6b43(0x31e)]===0x0)return _0x32467f;let _0x2f376e=_0x12127f[_0x5a6b43(0x36c)]['deepClone'](_0x32467f['mutations'][0x0]);for(let _0x3c1d9=0x0;_0x3c1d9<_0x587ca3['length'];_0x3c1d9++){const _0x13fa28={'id':_0x5a6b43(0x2bb),'params':{'unitId':_0x587ca3[_0x3c1d9]['unitId'],..._0x587ca3[_0x3c1d9]['redoState']}},_0x65b184=this[_0x5a6b43(0x344)][_0x5a6b43(0x294)](_0x2f376e,_0x13fa28,!0x1);if(_0x50b9f9[_0x5a6b43(0x440)](_0x65b184))throw _0x65b184[_0x5a6b43(0x35c)];_0x2f376e=_0x65b184[_0x5a6b43(0x25d)];}return{..._0x12127f[_0x5a6b43(0x36c)][_0x5a6b43(0x226)](_0x32467f),'mutations':[_0x2f376e]};}[_0x4c88bb(0x292)](_0x2b62c3){const _0x20ad9b=_0x4c88bb,{unitID:_0x2cb342}=_0x2b62c3,{history:_0x2ca8a6,collaboration:_0x183052}=this[_0x20ad9b(0x369)]['getStateCache'](_0x2cb342);if(_0x2ca8a6[_0x20ad9b(0x31e)]===0x0&&_0x183052['length']===0x0)return;const _0x50d697=[],_0x58b8b3=[];let _0x323562=_0x12127f[_0x20ad9b(0x36c)]['deepClone'](_0x2b62c3[_0x20ad9b(0x393)][0x0]),_0x2ca100=_0x12127f[_0x20ad9b(0x36c)][_0x20ad9b(0x226)](_0x2b62c3['mutations'][0x0]);for(let _0x52c86f=_0x2ca8a6[_0x20ad9b(0x31e)]-0x1;_0x52c86f>=0x0;_0x52c86f--){const _0x391919={'id':_0x20ad9b(0x2bb),'params':{'unitId':_0x2ca8a6[_0x52c86f]['unitId'],..._0x2ca8a6[_0x52c86f]['undoState']}},_0x355be2={'id':_0x20ad9b(0x2bb),'params':{'unitId':_0x2ca8a6[_0x52c86f][_0x20ad9b(0x2c0)],..._0x2ca8a6[_0x52c86f][_0x20ad9b(0x3d5)]}},_0x2f72ef=this[_0x20ad9b(0x344)]['transformMutation'](_0x323562,_0x391919,!0x1),_0x56595e=this[_0x20ad9b(0x344)][_0x20ad9b(0x294)](_0x2ca100,_0x355be2,!0x1);if(_0x50b9f9[_0x20ad9b(0x440)](_0x2f72ef))throw _0x2f72ef[_0x20ad9b(0x35c)];if(_0x50b9f9[_0x20ad9b(0x440)](_0x56595e))throw _0x56595e['error'];_0x50d697[_0x20ad9b(0x3e0)]({..._0x2ca8a6[_0x52c86f],'undoState':_0x2f72ef[_0x20ad9b(0x38c)][_0x20ad9b(0x442)],'redoState':_0x56595e[_0x20ad9b(0x38c)]['params']}),_0x323562=_0x2f72ef[_0x20ad9b(0x25d)],_0x2ca100=_0x56595e[_0x20ad9b(0x25d)];}_0x323562=_0x12127f[_0x20ad9b(0x36c)]['deepClone'](_0x2b62c3['mutations'][0x0]),_0x2ca100=_0x12127f['Tools'][_0x20ad9b(0x226)](_0x2b62c3[_0x20ad9b(0x393)][0x0]);for(let _0x5e8ab8=_0x183052[_0x20ad9b(0x31e)]-0x1;_0x5e8ab8>=0x0;_0x5e8ab8--){const _0x80ade5={'id':_0x20ad9b(0x2bb),'params':{'unitId':_0x183052[_0x5e8ab8]['unitId'],..._0x183052[_0x5e8ab8][_0x20ad9b(0x24f)]}},_0x4abba8={'id':_0x20ad9b(0x2bb),'params':{'unitId':_0x183052[_0x5e8ab8][_0x20ad9b(0x2c0)],..._0x183052[_0x5e8ab8]['redoState']}},_0x298b3a=this[_0x20ad9b(0x344)][_0x20ad9b(0x294)](_0x323562,_0x80ade5,!0x1),_0x146d44=this[_0x20ad9b(0x344)][_0x20ad9b(0x294)](_0x2ca100,_0x4abba8,!0x1);if(_0x50b9f9['isTransformMutationFailure'](_0x298b3a))throw _0x298b3a[_0x20ad9b(0x35c)];if(_0x50b9f9[_0x20ad9b(0x440)](_0x146d44))throw _0x146d44[_0x20ad9b(0x35c)];_0x58b8b3[_0x20ad9b(0x3e0)]({..._0x183052[_0x5e8ab8],'undoState':_0x298b3a[_0x20ad9b(0x38c)][_0x20ad9b(0x442)],'redoState':_0x146d44[_0x20ad9b(0x38c)][_0x20ad9b(0x442)]}),_0x323562=_0x298b3a[_0x20ad9b(0x25d)],_0x2ca100=_0x146d44[_0x20ad9b(0x25d)];}this[_0x20ad9b(0x369)]['setStateCache'](_0x2cb342,{'history':_0x50d697,'collaboration':_0x58b8b3});}};_0x53c97f=_0x2d12bc([_0x2fe4d3(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x12127f['Injector'])),_0x2fe4d3(0x1,_0x50b9f9['ITransformService']),_0x2fe4d3(0x2,_0x12127f['Inject'](_0x464098[_0x4c88bb(0x1dc)]))],_0x53c97f);var _0x56314a=Object[_0x4c88bb(0x272)],_0x271e55=(_0x3c64bd,_0x5b26ea,_0x360884,_0x4e6ff3)=>{const _0x401eb9=_0x4c88bb;for(var _0x13699d=_0x4e6ff3>0x1?void 0x0:_0x4e6ff3?_0x56314a(_0x5b26ea,_0x360884):_0x5b26ea,_0x2ae69f=_0x3c64bd[_0x401eb9(0x31e)]-0x1,_0x1ca93d;_0x2ae69f>=0x0;_0x2ae69f--)(_0x1ca93d=_0x3c64bd[_0x2ae69f])&&(_0x13699d=_0x1ca93d(_0x13699d)||_0x13699d);return _0x13699d;},_0x26c40f=(_0x185977,_0x5a8ec6)=>(_0x1132c9,_0x5aea58)=>_0x5a8ec6(_0x1132c9,_0x5aea58,_0x185977);let _0x5f47e3=class{constructor(_0x2f9bad,_0x40bad5){const _0x1ca99f=_0x4c88bb;this['_injector']=_0x2f9bad,this[_0x1ca99f(0x344)]=_0x40bad5;}[_0x4c88bb(0x334)](_0x445190){const _0x444b74=_0x4c88bb;var _0x4084fd;const _0x228f2d=this['_injector']['get'](_0x514f6b[_0x444b74(0x21a)]),_0x586641=(_0x4084fd=_0x228f2d[_0x444b74(0x322)]())!=null?_0x4084fd:[];if(_0x586641[_0x444b74(0x31e)]===0x0)return;const _0x4feceb=_0x445190[_0x444b74(0x358)],_0x1c8912=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4feceb,'actions':null,'textRanges':_0x586641}}],_0x55f4e0=this[_0x444b74(0x344)][_0x444b74(0x3be)](_0x445190,_0x1c8912);if(!_0x50b9f9[_0x444b74(0x2d6)](_0x55f4e0))throw _0x55f4e0[_0x444b74(0x35c)];const _0x55ab1c=_0x55f4e0[_0x444b74(0x38c)][0x0][_0x444b74(0x442)]['textRanges'];Array[_0x444b74(0x2ed)](_0x55ab1c)&&_0x55ab1c[_0x444b74(0x31e)]&&_0x228f2d[_0x444b74(0x42b)](_0x55ab1c,{'unitId':_0x4feceb,'subUnitId':_0x4feceb},!0x1);}};_0x5f47e3=_0x271e55([_0x26c40f(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x12127f['Injector'])),_0x26c40f(0x1,_0x50b9f9[_0x4c88bb(0x337)])],_0x5f47e3);var _0x3b75fc=Object[_0x4c88bb(0x272)],_0x1b97bd=(_0x41c4ba,_0x2dd757,_0x220d5c,_0x5a2985)=>{for(var _0x52af4f=_0x5a2985>0x1?void 0x0:_0x5a2985?_0x3b75fc(_0x2dd757,_0x220d5c):_0x2dd757,_0x2c6f96=_0x41c4ba['length']-0x1,_0x5ba29c;_0x2c6f96>=0x0;_0x2c6f96--)(_0x5ba29c=_0x41c4ba[_0x2c6f96])&&(_0x52af4f=_0x5ba29c(_0x52af4f)||_0x52af4f);return _0x52af4f;},_0x345756=(_0x14020f,_0x432416)=>(_0x21edc1,_0x5c3d48)=>_0x432416(_0x21edc1,_0x5c3d48,_0x14020f);let _0x1b1efa=class extends _0x12127f[_0x4c88bb(0x39a)]{constructor(_0x489284,_0x1c8b0d,_0x83ab7e,_0x5f1ef6,_0x3ceee4,_0x7804c1,_0x39eb50,_0x1328b8){const _0x6a7f0=_0x4c88bb;super(),_0x259cdc(this,_0x6a7f0(0x1e5),new _0x4d06f2[(_0x6a7f0(0x31f))](_0x5bae0f[_0x6a7f0(0x2f3)][_0x6a7f0(0x347)])),(this['_docStateChangeManagerService']=_0x489284,this['_collaborationController']=_0x1c8b0d,this['_docTransformIMECacheService']=_0x83ab7e,this[_0x6a7f0(0x309)]=_0x5f1ef6,this[_0x6a7f0(0x215)]=_0x3ceee4,this[_0x6a7f0(0x2ab)]=_0x7804c1,this['_messageService']=_0x39eb50,this['_localeService']=_0x1328b8,this[_0x6a7f0(0x293)]());}[_0x4c88bb(0x293)](){const _0x41f64c=_0x4c88bb;this['disposeWithMe'](this[_0x41f64c(0x27d)][_0x41f64c(0x274)]['subscribe'](_0x45b859=>{const _0x484a0f=_0x41f64c,_0x134e43=this[_0x484a0f(0x369)][_0x484a0f(0x23d)][_0x484a0f(0x43a)](_0x18755e=>{const _0x53b4e9=_0x484a0f;if(_0x18755e==null)return;const {unitId:_0x42a36b,redoState:_0x43d68c,commandId:_0x57291e}=_0x18755e;if(_0x42a36b!==_0x45b859[_0x53b4e9(0x358)])return;const _0x47ffb3={'id':_0x57291e,'type':_0x12127f['CommandType'][_0x53b4e9(0x387)],'params':{'unitId':_0x42a36b,'actions':_0x43d68c['actions'],'textRanges':null}};_0x45b859[_0x53b4e9(0x325)](_0x47ffb3);});if(_0x45b859[_0x484a0f(0x21d)](_0x134e43),_0x45b859 instanceof _0x5bae0f['DocCollaborationEntity']){const _0x42507e={'onTransformIME':_0x1ddaea=>this[_0x484a0f(0x271)]['transformIMECache'](_0x1ddaea),'onTransformState':_0x53c51b=>this[_0x484a0f(0x309)][_0x484a0f(0x270)](_0x53c51b),'onTransformSelections':_0x394527=>this[_0x484a0f(0x215)]['transformSelections'](_0x394527),'onSyncEditingCollabCursor':_0x2b9909=>this['_docSyncEditingCollabCursorService'][_0x484a0f(0x383)](_0x2b9909),'onTransformRemoteChangesetByIMECache':_0x52779e=>this['_docTransformIMECacheService'][_0x484a0f(0x2d4)](_0x52779e),'onTransformRemoteChangesetByStateCache':_0x4f4f61=>this[_0x484a0f(0x309)][_0x484a0f(0x2d4)](_0x4f4f61)};_0x45b859['addHandlerCallback'](_0x42507e);}}));}};_0x1b1efa=_0x1b97bd([_0x345756(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x464098[_0x4c88bb(0x1dc)])),_0x345756(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f['CollaborationController'])),_0x345756(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x190050)),_0x345756(0x3,_0x12127f['Inject'](_0x53c97f)),_0x345756(0x4,_0x12127f[_0x4c88bb(0x35a)](_0x5f47e3)),_0x345756(0x5,_0x12127f[_0x4c88bb(0x35a)](_0x34804b)),_0x345756(0x6,_0x594396['IMessageService']),_0x345756(0x7,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x24c)]))],_0x1b1efa);var _0x1d3cce=Object[_0x4c88bb(0x272)],_0x1a536c=(_0x2bf0e0,_0x2fb5a9,_0x50fb74,_0x2cfa3c)=>{for(var _0x50828e=_0x2cfa3c>0x1?void 0x0:_0x2cfa3c?_0x1d3cce(_0x2fb5a9,_0x50fb74):_0x2fb5a9,_0x305085=_0x2bf0e0['length']-0x1,_0xcabbb0;_0x305085>=0x0;_0x305085--)(_0xcabbb0=_0x2bf0e0[_0x305085])&&(_0x50828e=_0xcabbb0(_0x50828e)||_0x50828e);return _0x50828e;},_0x218f6d=(_0x493a3c,_0x51b2ed)=>(_0xf94784,_0x4fe0a2)=>_0x51b2ed(_0xf94784,_0x4fe0a2,_0x493a3c);let _0x26d5e0=class extends _0x12127f['Disposable']{constructor(_0x68ae24,_0x186b66,_0x183ba5){const _0x486585=_0x4c88bb;super(),_0x259cdc(this,_0x486585(0x2ea),new Map()),_0x259cdc(this,'_saveTaskMap',new Map()),_0x259cdc(this,'_disabled',!0x1),(this[_0x486585(0x268)]=_0x68ae24,this[_0x486585(0x259)]=_0x186b66,this[_0x486585(0x207)]=_0x183ba5);}[_0x4c88bb(0x40a)](){this['_disabled']=!0x0;}[_0x4c88bb(0x338)](){const _0x3d9371=_0x4c88bb;this[_0x3d9371(0x238)]=!0x1;}get['saveTaskMap'](){const _0x2c12e6=_0x4c88bb;return this[_0x2c12e6(0x25a)];}[_0x4c88bb(0x346)](){const _0x263ad8=_0x4c88bb;this[_0x263ad8(0x306)]()['then'](()=>super[_0x263ad8(0x346)]());}async[_0x4c88bb(0x3dc)](_0x874ba2){const _0x1e15fb=_0x4c88bb;return this[_0x1e15fb(0x238)]?null:this[_0x1e15fb(0x259)]['getItem'](_0x5bae0f[_0x1e15fb(0x3e5)](_0x874ba2));}async[_0x4c88bb(0x3ca)](_0x11f7e0,_0x2cfc99){const _0x3e866c=_0x4c88bb;return!!this[_0x3e866c(0x259)]['setItem'](_0x11f7e0,_0x2cfc99);}[_0x4c88bb(0x37c)](_0x115676,_0x288a17,_0x41313a,_0x49845b){const _0x447da8=_0x4c88bb,_0x445e0f=this[_0x447da8(0x207)][_0x447da8(0x397)](_0x115676);this['_cachedData'][_0x447da8(0x1d8)](_0x115676,{'unitID':_0x115676,'type':_0x288a17,'awaitingChangeset':_0x41313a,'mutations':_0x49845b,'rev':_0x445e0f}),this[_0x447da8(0x25a)]['has'](_0x115676)||this[_0x447da8(0x1e8)](_0x115676);}[_0x4c88bb(0x1e8)](_0x2935ac){const _0x5e5c8c=_0x4c88bb,_0x507d4d=this[_0x5e5c8c(0x1e7)]();_0x507d4d===0x0?this[_0x5e5c8c(0x427)](_0x2935ac):this['_saveTaskMap'][_0x5e5c8c(0x1d8)](_0x2935ac,setTimeout(()=>this[_0x5e5c8c(0x427)](_0x2935ac),_0x507d4d));}[_0x4c88bb(0x1e7)](){const _0x447881=_0x4c88bb;var _0x4b48a1;return(_0x4b48a1=this['_configService'][_0x447881(0x312)](_0x5bae0f['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4b48a1:_0x5bae0f['LOCAL_CACHE_INTERVAL'];}[_0x4c88bb(0x427)](_0x1f4f5b){const _0x4dcb16=_0x4c88bb,_0x3d3768=this[_0x4dcb16(0x25a)]['get'](_0x1f4f5b);return _0x3d3768!==void 0x0&&window[_0x4dcb16(0x305)](_0x3d3768),this['_localStorageService'][_0x4dcb16(0x255)](_0x5bae0f[_0x4dcb16(0x3e5)](_0x1f4f5b),this['_cachedData']['get'](_0x1f4f5b))['then'](()=>this[_0x4dcb16(0x25a)][_0x4dcb16(0x3f7)](_0x1f4f5b));}async['exhaustSavingTask'](){const _0x572567=_0x4c88bb,_0x378074=[];this[_0x572567(0x25a)]['forEach']((_0x710696,_0x16c3e7)=>{const _0x2ed61f=_0x572567;window[_0x2ed61f(0x305)](_0x710696),_0x378074[_0x2ed61f(0x1d7)](this[_0x2ed61f(0x427)](_0x16c3e7)[_0x2ed61f(0x266)](()=>{this['_saveTaskMap']['delete'](_0x16c3e7);}));}),await Promise[_0x572567(0x351)](_0x378074);}};_0x26d5e0=_0x1a536c([_0x218f6d(0x0,_0x12127f['IConfigService']),_0x218f6d(0x1,_0x12127f[_0x4c88bb(0x409)]),_0x218f6d(0x2,_0x12127f['Inject'](_0x50b9f9[_0x4c88bb(0x2f4)]))],_0x26d5e0);class _0xa638e5 extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(){const _0x4ce724=_0x4c88bb;super(),_0x259cdc(this,_0x4ce724(0x430)),this[_0x4ce724(0x430)]=_0x4d06f2['fromEvent'](window,_0x4ce724(0x253))[_0x4ce724(0x310)](_0x4d06f2[_0x4ce724(0x3ba)](this[_0x4ce724(0x1d1)]),_0x4d06f2[_0x4ce724(0x3da)](0x1),_0x4d06f2[_0x4ce724(0x2df)](void 0x0));}['setParam'](_0x8c22bf,_0x21124a,_0x3b8e86=!0x1){const _0x586db4=_0x4c88bb,_0x40355b=new URL(window[_0x586db4(0x1e2)][_0x586db4(0x3b7)]);_0x40355b[_0x586db4(0x42c)]['set'](_0x8c22bf,_0x21124a),_0x3b8e86?window[_0x586db4(0x3a5)][_0x586db4(0x3bc)]('','',_0x40355b[_0x586db4(0x23a)]()):window[_0x586db4(0x3a5)][_0x586db4(0x2d7)]('','',_0x40355b[_0x586db4(0x23a)]());}[_0x4c88bb(0x29f)](_0x57c3b8,_0x4d1a0b=!0x1){const _0x1a7d24=_0x4c88bb,_0x3fc803=new URL(window[_0x1a7d24(0x1e2)][_0x1a7d24(0x3b7)]);_0x3fc803[_0x1a7d24(0x42c)][_0x1a7d24(0x3f7)](_0x57c3b8),_0x4d1a0b?window[_0x1a7d24(0x3a5)][_0x1a7d24(0x3bc)]('','',_0x3fc803[_0x1a7d24(0x23a)]()):window[_0x1a7d24(0x3a5)][_0x1a7d24(0x2d7)]('','',_0x3fc803['toString']());}[_0x4c88bb(0x3ab)](_0x70327f){const _0xef5d49=_0x4c88bb;var _0x31d8c4;return(_0x31d8c4=new URL(window[_0xef5d49(0x1e2)][_0xef5d49(0x3b7)])[_0xef5d49(0x42c)]['get'](_0x70327f))!=null?_0x31d8c4:void 0x0;}}var _0x1f910e=Object[_0x4c88bb(0x35b)],_0x140d13=Object[_0x4c88bb(0x272)],_0x39cda2=(_0x20d4dd,_0x2046a3,_0x32e449)=>_0x2046a3 in _0x20d4dd?_0x1f910e(_0x20d4dd,_0x2046a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32e449}):_0x20d4dd[_0x2046a3]=_0x32e449,_0xd01e1c=(_0x5ece2d,_0x3fed70,_0x4dcaca,_0x561f23)=>{const _0x415105=_0x4c88bb;for(var _0x295ea6=_0x561f23>0x1?void 0x0:_0x561f23?_0x140d13(_0x3fed70,_0x4dcaca):_0x3fed70,_0x7721aa=_0x5ece2d[_0x415105(0x31e)]-0x1,_0x2b5a7f;_0x7721aa>=0x0;_0x7721aa--)(_0x2b5a7f=_0x5ece2d[_0x7721aa])&&(_0x295ea6=_0x2b5a7f(_0x295ea6)||_0x295ea6);return _0x295ea6;},_0x456a8c=(_0x29c63f,_0x3ec61b)=>(_0x4b6ac8,_0x57661f)=>_0x3ec61b(_0x4b6ac8,_0x57661f,_0x29c63f),_0x4cc290=(_0x5b4aab,_0x238368,_0x359632)=>_0x39cda2(_0x5b4aab,_0x238368+'',_0x359632);const _0x59b90a=_0x4c88bb(0x21e);_0x5d87d7[_0x4c88bb(0x3b2)]=class extends _0x12127f[_0x4c88bb(0x2b1)]{constructor(_0x1cbb64=_0x517146,_0x4f0832,_0x4488d2,_0x457b08){const _0x343e96=_0x4c88bb;super(),this[_0x343e96(0x3b3)]=_0x1cbb64,this[_0x343e96(0x254)]=_0x4f0832,this[_0x343e96(0x425)]=_0x4488d2,this[_0x343e96(0x268)]=_0x457b08;const {..._0x5c07f2}=_0x12127f[_0x343e96(0x38e)]({},_0x517146,this['_config']);this[_0x343e96(0x268)]['setConfig'](_0x7bfec1,_0x5c07f2);}[_0x4c88bb(0x251)](){const _0x3c3ac4=_0x4c88bb;this[_0x3c3ac4(0x219)](),this['_initDependencies']();}['onRendered'](){const _0x468324=_0x4c88bb;this[_0x468324(0x1cb)]();}[_0x4c88bb(0x219)](){const _0x557a46=_0x4c88bb;var _0x164674;const _0x3dc750=[[_0x3a2e1e],[_0x5f47e3],[_0x190050],[_0x53c97f],[_0x34804b],[_0x3b075a,{'useClass':_0xa638e5}],[_0x12d4d8[_0x557a46(0x43b)],{'useClass':_0x12d4d8['WebSocketService']}],[_0x5bae0f[_0x557a46(0x372)],{'useClass':_0x26d5e0}],[_0x5d87d7[_0x557a46(0x3b8)]],[_0x1b1efa],[_0x2900ce],[_0x3fa8d8],[_0xd2e3e3],[_0x5d87d7[_0x557a46(0x3d0)]]];_0x12127f[_0x557a46(0x3f3)](this[_0x557a46(0x425)],_0x12127f[_0x557a46(0x2d2)](_0x3dc750,(_0x164674=this[_0x557a46(0x3b3)])==null?void 0x0:_0x164674[_0x557a46(0x1f3)]));}['_registerRenderDependencies'](){const _0x3e6118=_0x4c88bb;this[_0x3e6118(0x21d)](this[_0x3e6118(0x254)][_0x3e6118(0x28d)](_0x12127f[_0x3e6118(0x24d)]['UNIVER_DOC'],[_0x92636b])),this['disposeWithMe'](this[_0x3e6118(0x254)][_0x3e6118(0x28d)](_0x12127f[_0x3e6118(0x24d)][_0x3e6118(0x423)],[_0x1e07d9]));}[_0x4c88bb(0x235)](){const _0x50528f=_0x4c88bb;_0x12127f[_0x50528f(0x3c5)](this[_0x50528f(0x425)],[[_0x3fa8d8],[_0x5d87d7[_0x50528f(0x3b8)]],[_0x1b1efa],[_0x2900ce],[_0x5d87d7[_0x50528f(0x3d0)]]]);}},_0x4cc290(_0x5d87d7[_0x4c88bb(0x3b2)],'pluginName',_0x59b90a),_0x5d87d7[_0x4c88bb(0x3b2)]=_0xd01e1c([_0x12127f[_0x4c88bb(0x3c9)](_0x5bae0f[_0x4c88bb(0x2e8)]),_0x456a8c(0x1,_0xcd886d[_0x4c88bb(0x3c8)]),_0x456a8c(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x12127f['Injector'])),_0x456a8c(0x3,_0x12127f[_0x4c88bb(0x377)])],_0x5d87d7['UniverCollaborationClientUIPlugin']);var _0x6e7f47=Object[_0x4c88bb(0x272)],_0x30ec23=(_0x1fcc44,_0x486c88,_0x2f00c7,_0x5d06ae)=>{const _0x33f65f=_0x4c88bb;for(var _0x1e8b8a=_0x5d06ae>0x1?void 0x0:_0x5d06ae?_0x6e7f47(_0x486c88,_0x2f00c7):_0x486c88,_0x428690=_0x1fcc44[_0x33f65f(0x31e)]-0x1,_0x406524;_0x428690>=0x0;_0x428690--)(_0x406524=_0x1fcc44[_0x428690])&&(_0x1e8b8a=_0x406524(_0x1e8b8a)||_0x1e8b8a);return _0x1e8b8a;},_0x5bb299=(_0x1c0929,_0x434d2e)=>(_0x36de0c,_0x51c315)=>_0x434d2e(_0x36de0c,_0x51c315,_0x1c0929);_0x5d87d7['BrowserCollaborationSocketService']=class extends _0x5bae0f['CollaborationSocketService']{constructor(_0x38576d,_0x1d7a5d,_0x5bf95f,_0x1f9e31,_0x14e58d){super(_0x38576d,_0x1d7a5d,_0x5bf95f,_0x1f9e31,_0x14e58d);}async[_0x4c88bb(0x2f7)](_0x4f46e8){const _0x4fa595=_0x4c88bb,_0x261623=await this[_0x4fa595(0x3d7)](),_0x3f0f1b=this[_0x4fa595(0x378)](_0x4f46e8,_0x261623);return this[_0x4fa595(0x304)](_0x3f0f1b);}[_0x4c88bb(0x378)](_0x2f094e,_0x2c1554){const _0x518798=_0x4c88bb,_0x79d127=typeof window>'u'?new URL(_0x2f094e):new URL(_0x2f094e,window[_0x518798(0x1e2)][_0x518798(0x37e)]);_0x79d127[_0x518798(0x42c)][_0x518798(0x1d8)](_0x518798(0x40e),_0x2c1554);const _0xdc719e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x518798(0x1e2)][_0x518798(0x3ed)]);return _0xdc719e['get']('runId')&&_0x79d127[_0x518798(0x42c)][_0x518798(0x1d8)](_0x518798(0x287),_0xdc719e[_0x518798(0x26d)](_0x518798(0x287))),_0x79d127[_0x518798(0x23a)]();}async[_0x4c88bb(0x3d7)](){const _0x3d7556=_0x4c88bb;var _0x1d2314,_0x1da975,_0x25e73d;const _0x5a6965=this['_configService'][_0x3d7556(0x312)](_0x5bae0f[_0x3d7556(0x2eb)]),_0x595ea6=(_0x1d2314=_0x5a6965==null?void 0x0:_0x5a6965[_0x3d7556(0x41c)])!=null?_0x1d2314:_0x5bae0f[_0x3d7556(0x1cf)];return(_0x25e73d=(_0x1da975=(await this[_0x3d7556(0x285)][_0x3d7556(0x26d)](_0x595ea6,{'headers':{'Content-Type':_0x3d7556(0x27b)}}))[_0x3d7556(0x2f9)])==null?void 0x0:_0x1da975['ticket'])!=null?_0x25e73d:'';}},_0x5d87d7[_0x4c88bb(0x324)]=_0x30ec23([_0x5bb299(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x1c8)])),_0x5bb299(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x12d4d8[_0x4c88bb(0x30c)])),_0x5bb299(0x2,_0x12127f[_0x4c88bb(0x377)]),_0x5bb299(0x3,_0x12127f['ILogService']),_0x5bb299(0x4,_0x50b9f9['ISnapshotServerService'])],_0x5d87d7[_0x4c88bb(0x324)]);const _0x54fc17=0x7530,_0x2a2257='ACTIVE_UNIT_EVENT_CHANNEL';class _0x1e3599 extends _0x12127f[_0x4c88bb(0x39a)]{constructor(){const _0x5ca46f=_0x4c88bb;super(),_0x259cdc(this,'_id',_0x12127f[_0x5ca46f(0x2b6)]()),_0x259cdc(this,_0x5ca46f(0x386),new Set()),_0x259cdc(this,_0x5ca46f(0x37f),new Map()),_0x259cdc(this,_0x5ca46f(0x356),null),_0x259cdc(this,_0x5ca46f(0x33f),new Map()),_0x259cdc(this,_0x5ca46f(0x354),new Map()),this[_0x5ca46f(0x2a8)]();}['dispose'](){const _0x125bea=_0x4c88bb;super[_0x125bea(0x346)](),this[_0x125bea(0x33f)][_0x125bea(0x27f)]((_0x3ee641,_0x470dce)=>this[_0x125bea(0x22e)](_0x470dce)),this[_0x125bea(0x356)]&&window[_0x125bea(0x359)](this[_0x125bea(0x356)]);}[_0x4c88bb(0x1d2)](_0x2ea512){const _0x40b0fd=_0x4c88bb;return this[_0x40b0fd(0x420)](_0x2ea512)[_0x40b0fd(0x310)](_0x4d06f2[_0x40b0fd(0x41b)]());}[_0x4c88bb(0x3f9)](_0x32fd81){const _0x4dac92=_0x4c88bb;this[_0x4dac92(0x386)][_0x4dac92(0x368)]===0x0&&this[_0x4dac92(0x29a)](),this[_0x4dac92(0x386)][_0x4dac92(0x419)](_0x32fd81),this[_0x4dac92(0x417)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x32fd81],'isForwarded':!0x1});}['disposeUnit'](_0x226bcd){const _0x5b69b2=_0x4c88bb;this[_0x5b69b2(0x386)]['delete'](_0x226bcd),this[_0x5b69b2(0x386)][_0x5b69b2(0x368)]===0x0&&this['_heartbeatTimer']&&window[_0x5b69b2(0x359)](this[_0x5b69b2(0x356)]);}['_init'](){const _0x49909d=_0x4c88bb;this[_0x49909d(0x21d)](_0x12127f[_0x49909d(0x3ec)](_0x4d06f2[_0x49909d(0x396)](window,_0x49909d(0x3b5))[_0x49909d(0x43a)](_0x2ae995=>{const _0x4b86ca=_0x49909d;if(_0x2ae995[_0x4b86ca(0x258)]!==_0x2a2257||!_0x2ae995[_0x4b86ca(0x43c)])return;const _0x2cf072=JSON['parse'](_0x2ae995[_0x4b86ca(0x43c)]);this[_0x4b86ca(0x269)](_0x2cf072);}))),window[_0x49909d(0x32c)]('unload',()=>this[_0x49909d(0x417)]({'type':0x1,'memberID':this[_0x49909d(0x441)],'unitIDs':Array[_0x49909d(0x232)](this[_0x49909d(0x386)])}));}[_0x4c88bb(0x269)](_0x286a2e){const _0x58c819=_0x4c88bb;switch(_0x286a2e[_0x58c819(0x3fe)]){case 0x0:this[_0x58c819(0x211)](_0x286a2e);break;case 0x1:this[_0x58c819(0x1e1)](_0x286a2e);break;case 0x2:this[_0x58c819(0x444)](_0x286a2e);break;}}[_0x4c88bb(0x211)](_0x10b546){const _0xf8e5af=_0x4c88bb,{unitIDs:_0x26f231,memberID:_0x5dffca,isForwarded:_0xd9c0b8}=_0x10b546;_0x26f231[_0xf8e5af(0x27f)](_0x532eef=>{const _0xcbe9b3=_0xf8e5af;if(!_0xd9c0b8&&this[_0xcbe9b3(0x37f)][_0xcbe9b3(0x1fe)](_0x532eef)&&this[_0xcbe9b3(0x420)](_0x532eef)[_0xcbe9b3(0x34f)](_0x5bae0f['UnitStatus'][_0xcbe9b3(0x243)]),!this[_0xcbe9b3(0x37f)][_0xcbe9b3(0x1fe)](_0x532eef)||!this['_unitOnClients'][_0xcbe9b3(0x26d)](_0x532eef)['has'](_0x5dffca)){const _0x49d992=this[_0xcbe9b3(0x37f)][_0xcbe9b3(0x26d)](_0x532eef)||new Set();_0x49d992[_0xcbe9b3(0x419)](_0x5dffca),this[_0xcbe9b3(0x37f)][_0xcbe9b3(0x1d8)](_0x532eef,_0x49d992),this['_scheduleClearOtherTimer'](_0x5dffca);}}),_0xd9c0b8||this['_send']({'type':0x0,'memberID':this[_0xf8e5af(0x441)],'unitIDs':[...this[_0xf8e5af(0x386)]],'isForwarded':!0x0});}[_0x4c88bb(0x227)](_0x38e932){const _0x103d88=_0x4c88bb;this[_0x103d88(0x22e)](_0x38e932);const _0x573d21=window[_0x103d88(0x2e2)](()=>{const _0x44d83d=_0x103d88;this['_unitOnClients'][_0x44d83d(0x27f)](_0x325e65=>{const _0xb77111=_0x44d83d;_0x325e65[_0xb77111(0x3f7)](_0x38e932);});},_0x54fc17*0x2);this['_clearOtherTimers'][_0x103d88(0x1d8)](_0x38e932,_0x573d21);}[_0x4c88bb(0x22e)](_0x1206ec){const _0x4c07f4=_0x4c88bb;if(this[_0x4c07f4(0x33f)][_0x4c07f4(0x1fe)](_0x1206ec)){const _0x309728=this[_0x4c07f4(0x33f)]['get'](_0x1206ec);_0x309728&&window[_0x4c07f4(0x305)](_0x309728),this[_0x4c07f4(0x33f)][_0x4c07f4(0x1d8)](_0x1206ec,null);}}[_0x4c88bb(0x1e1)](_0x4d40ac){const _0x37ef6e=_0x4c88bb,{memberID:_0x2aa149,unitIDs:_0xac1350}=_0x4d40ac;_0xac1350[_0x37ef6e(0x27f)](_0x53ac80=>{const _0x4c5371=_0x37ef6e;var _0x3c26ea;const _0x24130c=this[_0x4c5371(0x37f)][_0x4c5371(0x26d)](_0x53ac80);_0x24130c&&(_0x24130c[_0x4c5371(0x3f7)](_0x2aa149),(_0x3c26ea=this[_0x4c5371(0x420)](_0x53ac80))==null||_0x3c26ea[_0x4c5371(0x34f)](_0x24130c[_0x4c5371(0x368)]===0x0?_0x5bae0f[_0x4c5371(0x342)]['NO_OTHER_CLIENTS_EDITING']:_0x5bae0f[_0x4c5371(0x342)][_0x4c5371(0x243)]));}),this[_0x37ef6e(0x22e)](_0x2aa149);}[_0x4c88bb(0x444)](_0x3c5814){const _0x1e10b0=_0x4c88bb;this[_0x1e10b0(0x227)](_0x3c5814['memberID']);}[_0x4c88bb(0x417)](_0x3d5c7e){const _0x227724=_0x4c88bb;localStorage[_0x227724(0x255)](_0x2a2257,JSON[_0x227724(0x2bf)](_0x3d5c7e));}[_0x4c88bb(0x29a)](){const _0x3bacdc=_0x4c88bb;this[_0x3bacdc(0x356)]=window[_0x3bacdc(0x24a)](()=>{const _0x716f52=_0x3bacdc;this[_0x716f52(0x417)]({'type':0x2,'memberID':this[_0x716f52(0x441)]});},_0x54fc17);}['_ensureSubject'](_0x344f89){const _0x506cad=_0x4c88bb;return this[_0x506cad(0x354)][_0x506cad(0x1fe)](_0x344f89)||this[_0x506cad(0x354)]['set'](_0x344f89,new _0x4d06f2[(_0x506cad(0x31f))](_0x5bae0f['UnitStatus'][_0x506cad(0x35f)])),this['_unitStatus'][_0x506cad(0x26d)](_0x344f89);}}var _0x37dbf2=(_0x2f21ab=>(_0x2f21ab[_0x2f21ab[_0x4c88bb(0x3e9)]=0x0]=_0x4c88bb(0x3e9),_0x2f21ab[_0x2f21ab['OK']=0x1]='OK',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x403)]=0x2]=_0x4c88bb(0x403),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2a1)]=0x3]=_0x4c88bb(0x2a1),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x395)]=0x4]='NOT_FOUND',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x33c)]=0x5]=_0x4c88bb(0x33c),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x1c9)]=0x6]='ALREADY_EXISTS',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x433)]=0x7]=_0x4c88bb(0x433),_0x2f21ab[_0x2f21ab['TOO_MANY_REQUESTS']=0x8]=_0x4c88bb(0x39e),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x329)]=0x9]='COMPLETION_FINISHED',_0x2f21ab[_0x2f21ab['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x2f21ab[_0x2f21ab['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2f21ab[_0x2f21ab['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4c88bb(0x391),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x41d)]=0x1772]=_0x4c88bb(0x41d),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x26c)]=0x1773]=_0x4c88bb(0x26c),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x20e)]=0x1b59]=_0x4c88bb(0x20e),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x3de)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x23b)]=0x1b5b]=_0x4c88bb(0x23b),_0x2f21ab[_0x2f21ab['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4c88bb(0x374),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x3cf)]=0x1b5d]=_0x4c88bb(0x3cf),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x456)]=0x1f41]=_0x4c88bb(0x456),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x42d)]=0x2329]=_0x4c88bb(0x42d),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2c7)]=0x232a]=_0x4c88bb(0x2c7),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x237)]=0x232b]=_0x4c88bb(0x237),_0x2f21ab[_0x2f21ab['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4c88bb(0x410),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x316)]=0x232d]=_0x4c88bb(0x316),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x3d9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x1f8)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2f21ab[_0x2f21ab['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2f21ab[_0x2f21ab['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4c88bb(0x33e),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2a0)]=0x271a]=_0x4c88bb(0x2a0),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x37d)]=0x271b]=_0x4c88bb(0x37d),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x35d)]=0x2af9]=_0x4c88bb(0x35d),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x44b)]=0x2ee1]=_0x4c88bb(0x44b),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x280)]=0x2ee2]=_0x4c88bb(0x280),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x1d0)]=0x2ee3]=_0x4c88bb(0x1d0),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x205)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x317)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2f21ab[_0x2f21ab['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4c88bb(0x455),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x20b)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2c5)]=0x32cb]=_0x4c88bb(0x2c5),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2e6)]=-0x1]='UNRECOGNIZED',_0x2f21ab))(_0x37dbf2||{}),_0x3c3086=Object[_0x4c88bb(0x272)],_0x274c1e=(_0x4ae290,_0x209d00,_0x432008,_0xb6f84)=>{const _0x1ec3e1=_0x4c88bb;for(var _0x5bb090=_0xb6f84>0x1?void 0x0:_0xb6f84?_0x3c3086(_0x209d00,_0x432008):_0x209d00,_0x49483d=_0x4ae290[_0x1ec3e1(0x31e)]-0x1,_0x18085a;_0x49483d>=0x0;_0x49483d--)(_0x18085a=_0x4ae290[_0x49483d])&&(_0x5bb090=_0x18085a(_0x5bb090)||_0x5bb090);return _0x5bb090;},_0x3680e1=(_0x4a6da5,_0x7323e8)=>(_0x5e3b66,_0x27938a)=>_0x7323e8(_0x5e3b66,_0x27938a,_0x4a6da5);_0x5d87d7[_0x4c88bb(0x260)]=class extends _0x12127f[_0x4c88bb(0x39a)]{constructor(_0x522259,_0x2abeae,_0x32fe7d){const _0x29b972=_0x4c88bb;super(),this[_0x29b972(0x2cf)]=_0x522259,this[_0x29b972(0x285)]=_0x2abeae,this[_0x29b972(0x268)]=_0x32fe7d;}async[_0x4c88bb(0x45a)](_0x14a9ee,_0x2e53ce,_0x429305,..._0x28c974){const _0x4b1a63=_0x4c88bb;var _0x3772fe,_0x4af984,_0x1727c2,_0x59addc;const _0x1b7cd4=this['_instanceService'][_0x4b1a63(0x43d)]();if(!_0x1b7cd4)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3aec1b=((_0x3772fe=this['_configService'][_0x4b1a63(0x312)](_0x5bae0f['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3772fe:_0x5bae0f['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x14a9ee+_0x4b1a63(0x3a9)+_0x2e53ce,_0x4d521a=new URL(window['location'][_0x4b1a63(0x3b7)]),_0xd643df={'scriptId':_0x14a9ee,'runId':(_0x4af984=_0x4d521a[_0x4b1a63(0x42c)][_0x4b1a63(0x26d)]('runId'))!=null?_0x4af984:'','function':_0x2e53ce,'unitId':_0x1b7cd4[_0x4b1a63(0x43e)](),'argsOfFunction':JSON['stringify'](_0x28c974),'invokeId':(_0x1727c2=_0x429305['invokeId'])!=null?_0x1727c2:'','executionId':(_0x59addc=_0x429305[_0x4b1a63(0x3a0)])!=null?_0x59addc:''};try{const _0x4a58db=await this[_0x4b1a63(0x285)]['post'](_0x3aec1b,{'body':_0xd643df});return _0x4a58db[_0x4b1a63(0x2f9)][_0x4b1a63(0x35c)]&&_0x4a58db['body']['error'][_0x4b1a63(0x335)]!==_0x37dbf2['OK']?_0x4b1a63(0x38b):_0x4a58db[_0x4b1a63(0x2f9)][_0x4b1a63(0x220)];}catch{return _0x4b1a63(0x38b);}}},_0x5d87d7[_0x4c88bb(0x260)]=_0x274c1e([_0x3680e1(0x0,_0x12127f['IUniverInstanceService']),_0x3680e1(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x12d4d8['HTTPService'])),_0x3680e1(0x2,_0x12127f[_0x4c88bb(0x377)])],_0x5d87d7['RemoteUniscriptService']),_0x5d87d7[_0x4c88bb(0x203)]=_0x2066b6,_0x5d87d7['IURLService']=_0x3b075a,_0x5d87d7[_0x4c88bb(0x32b)]=_0x458401,_0x5d87d7[_0x4c88bb(0x3f4)]=_0x1e3599,_0x5d87d7['WebURLService']=_0xa638e5,Object[_0x4c88bb(0x35b)](_0x5d87d7,Symbol[_0x4c88bb(0x2e7)],{'value':_0x4c88bb(0x373)});}));
|