@univerjs-pro/collaboration-client-ui 0.9.4-nightly.202507290713 → 0.9.4-nightly.202507290757

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0xe876(){const _0x1ddcb4=['_cursor','_localStorageService','setShapeProps','selection','toDisposable','unit','_commandService','INVITE_CODE_REQUIRED','_imageIoService','YUUMI_CONNECTOR_URL_NOT_FOUND','svg','_localeService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','@univerjs/core','IDocClipboardService','_context','permission.title','CONNECTOR_DATA_TOO_LARGE','_transformHistoryAndStateStack','dispose','resize','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','_cursorInfo$','_roomMembers$','ILocalStorageService','collaboration.closeRoom','INVALID_ARGUMENT','all','BehaviorSubject','runId','createElement','uni.network.url-service','_color','_uiPartsService','cursorInfo$','collab-rect-range-','@univerjs/engine-formula','assign','imageSourceType','subscribe','defIds','_logService','length','row','icon','urlChange$','off-line-icon','application/json','ACTIVE_UNIT_EVENT_CHANNEL','_labelPosition','triggerDblclick','blue.400','registerBeforeClose','propertyIsEnumerable','TEXT_RANGE_LAYER_INDEX','getDocRanges','@univerjs-pro/collaboration-client','createInstance','searchParams','has','colorChannel1','@univerjs/rpc','_toggleOnline','transform','getCurrentUnitForType','hovered','activeSheet$','subUnitId','fromEventSubject','getOffsetConfig','event$','m2Prime','_httpService','onPointerMove$','OTHER_CLIENT_EDITING','UNAUTHENTICATED','session.connection-failed','disposeUnit','doc.mutation.rich-text-editing','path','_eventUnsubscribe','YUUMI_RATE_OVER_LIMIT','map','createSocket','Shape','syncEditingCollabCursor','BrowserCollaborationSocketService','UniverCollaborationClientUIPlugin','concat','jsx','_selfUnitIDs','next','univerjs-icon\x20univerjs-icon-','useObservable','_registerDependencies','get','@univerjs/sheets-ui','send','body','hasOwnProperty','UniverProCollaborationClientUi','USER_NOT_INVITED_CODE','Error','clsx','touchDependencies','onRendered','_draw','className','_backgroundColor','addClipboardHook','getOwnPropertySymbols','stringify','deserializeRangeWithSheet','_beforeCloseService','origin','_initDependencies','_hovered','OTHER_CLIENTS_EDITING','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','endColumn','RemoteUniscriptService','UniverSheets','fill','RECT','handleInsertRangeMoveRight','Injector','_anchorDot','runOnServer','571249FEcOHE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','indexOf','sessionTicket','TOO_MANY_REQUESTS','permission.content','getSheetBySheetId','findNodePositionByCharIndex','_initResize','EffectRefRangId','SetTextSelectionsOperation','yellow.400','green.600','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','some','getViewport','isArray','_hover','drawWith','_document','_clearOtherTimers','current','_handleHover','executionId','_heartbeatTimer','M0\x200H16V16H0z','EMAIL_HAS_BEEN_BOUND','React','_doCreateSocket','off-line-icon_clip0_910_343','5161203ngZCod','requireSession','registerRenderModule','MessageType','_urlService','ICommandService','RevisionService','NO_OTHER_CLIENTS_EDITING','Disposable','UniverProCollaboration','font','undoState','whenReady','RemoveRowCommandId','_colorIndex','getActiveRange','onMouseMove','engine','YUUMI_NO_CUBOID_FOR_QUESTION','on-line-icon_clip0_910_349','name','getOwnPropertyDescriptor','_transformService','rxjs','LICENSE_DISTRO_REJECTED','SNAPSHOT_HAS_BEEN_REMOVED','_onCursorUpdate','exhaustSavingTask','MUTATION','OffLineIcon','DOC_RANGE_TYPE','_range','CollaborationController','debug','source','_handleJoinEvent','includes','62229aXscIv','@univerjs/design','getFocusedUnit','@univerjs/docs','Inject','[CollaborationDataLoaderController]','DocIMEInputManagerService','debounce','_configService','pluginName','INVITE_CODE_HAS_BEEN_UES','saveOfflineData','none','_localCacheService','addObjects','_injector','focused$','collaboration-client-ui.config','PERMISSION_DENIED','getRangePointData','EMAIL_VERIFY_CODE_MISMATCH','defineProperty','getUniverSheetInstance','exports','setParam','SetWorksheetActivateCommand','getCurrent','PY_RUNTIME_SCRIPT_ERROR','unitID','_docTransformSelectionsService','UniverCore','CLOSE_ROOM','COMPLETION_FINISHED','transformMutationsWithChangeset','1319232FCZrkR','subunit','_unitOnClients','_initEntityListener','ThemeService','generateRandomId','replaceDocRanges','_refreshCollabCursors','wsSessionTicketUrl','RegularPolygon','backgroundColor','_messageService','labelPosition','call','CollaborationSocketService','selections','UNIVER_SHEET','AWAITING_WITH_PENDING','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_ASYNCIO_CANCELLED','IUniverInstanceService','_colorAssignService','find','[RemoteUniscriptService]:\x20no\x20focused\x20unit','onTransformChange$','setInterval','evenodd','_ensureSubject','use','handleIRemoveCol','_config','UniverUi','OnLineIcon','throttleTime','black','onPointerLeave$','docStateChange$','mergeOverrideWithDependencies','_createSocketURL','getColor','setConfig','getMemberID','Unknown\x20user','isTransformMutationsWithChangesetSuccess','DocSelectionManagerService','_univerInstanceService','_collaborationController','skeleton','1em','clearInterval','APPLY_PERMISSION_DENIED','_getMergeRange','setAlpha','APPLY_NON_SEQUENTIAL_REVISION','closePath','_initCommandExecutedListener','startColumn','_collabSessionService','color','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','InsertRangeMoveRightCommandId','session.collaboration-timeout','m1Prime','_instanceService','_docSkeletonManagerService','RefRangeService','SNAPSHOT_INVALID_SNAPSHOT','ILocalCacheService','_updateSubUnitFromURLParams','collabStatus.synced','switchMap','_saveTaskMap','/run/','SetSelectionsOperation','href','collaboration.single-unit.warning','INVITE_CODE_ALREADY_BOUND','YUUMI_SUBSCRIPTION_NOT_FOUND','_handleHeartbeatEvent','RxDisposable','CollaborationEvent','replace','setTimeout','transformIMECache','NOT_FOUND','Subject','SHEET_VIEWPORT_KEY','_removeClearOtherTimer','UniverSheetsUi','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','executeCommand','Rect','string','idSuffix','init','location','handleIRemoveRow','isTransformMutationFailure','deepClone','forwardRef','_scene','defs','_send','0\x200\x2017\x2016','CollaborationSessionService','UnitStatus','_entityInit$','SOCKET_FAILED','_themeService','SheetCollabCursorShape','operators','FETCH_MISS','_collabCursorState$','PENDING','getMember','univer-flex\x20univer-items-center','MOBILE_VERIFY_CODE_MISMATCH','saveTaskMap','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','forEach','VIEW_MAIN','split','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Rectangle','bottom','CollaborationStatus','DesktopCollaborationStatusDisplayController','YUUMI_UNABLE_LOAD_URL','getParam','loadUnit','_unitStatus','updateOfflineData','LICENSE_IMPORT_SIZE_EXCEEDED','_shapes','xlink:href','clearTimeout','_docSkeleton','getTypeOfUnitDisposed$','LocaleService','with','mask','WECHAT_HAS_BEEN_BOUND','redoState','children','_saveCache','setStateCache','collabStatus.offline','getCollabCursors$','UNIVER_DOC','post','getAncestorScale','parse','registerRefRange','_updateURLWithCurrentState','currentColor','_name','distinctUntilChanged','LOCAL_CACHE_INTERVAL_KEY','width','result','getValue','params','_getSaveTimeout','_initEvent','IRemoteInstanceService','top','DeleteRangeMoveLeftCommandId','_dataLoaderService','UNDEFINED','transformStateCache','CollaborationUIEventId','sheetId','YUUMI_ALL_TABLES_IS_INVALID','subscribeEvent','removeParam','startRow','_status$','UniverEngineRender','isActive','_lastPointer','UniverNetwork','toString','react/jsx-runtime','APPLY_REVISION_CONFILICT','LICENSE_EXPORT_SIZE_EXCEEDED','796910yahQzw','#FFF','_scheduleClearOtherTimer','textRanges','COLORS','_renderManagerService','18FYWzEb','CollaborationDataLoaderController','SheetSkeletonManagerService','UPDATE_CURSOR','_docClipboardService','10ekomQJ','_onCursorDelete','getStateCache','addObject','ColorKit','unsubscribe','HTTPService','handleDeleteRangeMoveLeft','transformSelections','_render','beginPath','fillStyle','fillText','_revisionService','push','restore','range','attrs','clipPath','HEADER_MENU','translate(.97)','WebSocketService','ONLINE','Warning','_docSyncEditingCollabCursorService','12hxYYMm','_refRangeService','RichTextEditingMutation','_drawAnchor','collabStatus.fetchMiss','ALREADY_EXISTS','ENSURE_SNAPSHOT_EXECUTION','_startDocCollabCursor','setActiveRange','MemberService','http://www.w3.org/2000/svg','roomMembers$','APPLY_DUPLICATED','_cursorShapes','FromArray','entries','then','complete','ITransformService','onLocalMutation','replaceState','collabStatus.conflict','Tools','measureText','getColorFromTheme','Vector2','currentSkeleton$','setUndoRedoMutationParamsCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','moveTo','UniverDesign','UNRECOGNIZED','_hideTimer','UniverDocs','newValue','shareReplay','LOGIN_FAILED','_getScale','history','createIdentifier','setItem','unshift','_updateLocalCursor','assignAColorForMemberID','add','disposeWithMe','_docTransformIMECacheService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','APPLY_REJECT','connectInjector','serializeRangeWithSheet','data','amd','session.will-retry','LICENSE_MAX_UNITS_EXCEEDED','eventID','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','_textBubble','save','0\x200\x2016\x2016','getUndoRedoMutationParamsCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','@univerjs/docs-ui','div','IImageIoService','_memberService','values','_handleLeaveEvent','white','getRenderById','toStringTag','USERS_LEAVE','onCommandExecuted','INVALID_INVITE_CODE','_getSessionTicket','from','mutations','flatMap','SessionStatus','_notificationService','object','displayName','ISocketService','code','takeUntil','@univerjs/network','useDependency','DocStateChangeManagerService','mapTo','key','_collaborationUIEventService','currentTheme$','@univerjs-pro/collaboration','MOBILE_HAS_BEEN_BOUND','DependentOn','_online','_onRefRangeChange','lineTo','DeleteRangeMoveUpCommandId','getMergeData','OFFLINE','saveImage','UniverIcon','INTERNAL_ERROR','DocSkeletonManagerService','TEXT','text','max','set','handleDeleteRangeMoveUp','red.300','popstate','startsWith','CONFLICT','type','_collabCursorController','_disabled','getLocalCacheKey','on-line-icon','UniverDocsUi','fillRule','LOCAL_CACHE_INTERVAL','size','transformMutation','_updateCollabCursors','_cachedData','_handleEvent','column','registerComponent','ILogService','prototype','...','SUBMIT_CHANGESET_TIMEOUT','fromEvent','handleMoveRange','NOT_COLLAB','dispose$','asObservable','_sheetSkeletonManagerService','_entities','IBeforeCloseService','show','_cursors','getActiveSheet','editingUnit','_scheduleSaving','@univerjs/ui','_initStatusListener','_getSheetObject','cursorInfo','delete','merge','getVpScrollXYInfoByPosToVp','_session','roomMembers','_removeCollabCursors','_setupBeforeClosingHandler','combineLatest','AWAITING','tag','InsertColCommandId','_init','getItem','contains','YUUMI_AI_RUN_FAILED','sheetID','_assignedColors','getSheetId','error','trim','IRenderManagerService','addEventListener','round','arc','transformRemoteChangeset','_docTransformStateCacheService','197133SZarza','_drawTextRange','INotificationService','getSkeleton','symbol','height','WebURLService','unitId','handleInsertRangeMoveDown','enableLocalCache','sessionStatus$','getUnitId','getTypeOfUnitAdded$','ranges','_syncEditingCollabCursorService','_docStateChangeManagerService','_transformPreviousActiveRange','_scheduleHeartbeat','function','UniverInstanceType','actions','IMessageService','UniverRpc','_toggleOffline','url(#on-line-icon_clip0_910_349)','@univerjs/sheets','CollaborationUIEventService','IConfigService','getCoordByCell','handleInsertRow','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CommandType','pipe','getUnhiddenWorksheets','_anchor','getUnitStatus$','apply','DEFAULT_WS_SESSION_TICKET_URL','UniverDrawing','_initStatusComponent','Failed','_transformUndoRedoStack','_setupSubUnitSync','CHANGESET_REVISION_CONFILICT','getConfig','filter','325344TDAFpl','url(#$1'];_0xe876=function(){return _0x1ddcb4;};return _0xe876();}function _0x94a3(_0x3cc980,_0x172025){const _0xe87694=_0xe876();return _0x94a3=function(_0x94a34f,_0x16844c){_0x94a34f=_0x94a34f-0x1b2;let _0x349eb6=_0xe87694[_0x94a34f];return _0x349eb6;},_0x94a3(_0x3cc980,_0x172025);}(function(_0xf93f69,_0x2f4e05){const _0x109f81=_0x94a3,_0x17400d=_0xf93f69();while(!![]){try{const _0x50650c=-parseInt(_0x109f81(0x391))/0x1+-parseInt(_0x109f81(0x2c3))/0x2*(parseInt(_0x109f81(0x1e2))/0x3)+parseInt(_0x109f81(0x3bf))/0x4+parseInt(_0x109f81(0x2bd))/0x5+-parseInt(_0x109f81(0x2e1))/0x6*(parseInt(_0x109f81(0x441))/0x7)+-parseInt(_0x109f81(0x204))/0x8+-parseInt(_0x109f81(0x1bd))/0x9*(-parseInt(_0x109f81(0x2c8))/0xa);if(_0x50650c===_0x2f4e05)break;else _0x17400d['push'](_0x17400d['shift']());}catch(_0x41ae2c){_0x17400d['push'](_0x17400d['shift']());}}}(_0xe876,0x18f67),function(_0x4c877e,_0x12040d){const _0x405018=_0x94a3;typeof exports==_0x405018(0x331)&&typeof module<'u'?_0x12040d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x405018(0x3a3)&&define[_0x405018(0x315)]?define([_0x405018(0x1f9),_0x405018(0x3f9),_0x405018(0x3ce),'@univerjs/engine-render',_0x405018(0x336),_0x405018(0x31f),'@univerjs/drawing',_0x405018(0x1d4),_0x405018(0x33d),_0x405018(0x1e5),_0x405018(0x3e5),_0x405018(0x3aa),'rxjs/operators',_0x405018(0x421),_0x405018(0x2ba),_0x405018(0x373),_0x405018(0x1e3),'react',_0x405018(0x3fe)],_0x12040d):(_0x4c877e=typeof globalThis<'u'?globalThis:_0x4c877e||self,_0x12040d(_0x4c877e[_0x405018(0x425)]={},_0x4c877e['UniverProCollaborationClient'],_0x4c877e[_0x405018(0x200)],_0x4c877e[_0x405018(0x2b5)],_0x4c877e[_0x405018(0x2b8)],_0x4c877e[_0x405018(0x358)],_0x4c877e[_0x405018(0x3b7)],_0x4c877e[_0x405018(0x1d4)],_0x4c877e[_0x405018(0x1c6)],_0x4c877e[_0x405018(0x302)],_0x4c877e['UniverEngineFormula'],_0x4c877e[_0x405018(0x43a)],_0x4c877e['rxjs'][_0x405018(0x272)],_0x4c877e[_0x405018(0x25c)],_0x4c877e[_0x405018(0x1ba)],_0x4c877e[_0x405018(0x223)],_0x4c877e[_0x405018(0x2ff)],_0x4c877e[_0x405018(0x1ba)],_0x4c877e[_0x405018(0x3a7)]));}(this,function(_0x47440c,_0x7e6ef6,_0x4d81d1,_0x2c2228,_0xb1173c,_0xf7ba88,_0x275c5f,_0x2af810,_0x7bc020,_0x3422c5,_0x115541,_0x4a524b,_0x54dd64,_0x5d8437,_0x5c0380,_0x2a4dd8,_0x427b5c,_0x3174a9,_0x2f2e13){'use strict';const _0x449ba4=_0x94a3;var _0x293418=Object[_0x449ba4(0x1f7)],_0x509a7c=(_0x547445,_0x216392,_0x41ea1b)=>_0x216392 in _0x547445?_0x293418(_0x547445,_0x216392,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41ea1b}):_0x547445[_0x216392]=_0x41ea1b,_0xb1ba3a=(_0x1cd624,_0x36af3f,_0xc6918b)=>_0x509a7c(_0x1cd624,typeof _0x36af3f!=_0x449ba4(0x395)?_0x36af3f+'':_0x36af3f,_0xc6918b),_0x39b522=Object[_0x449ba4(0x1d2)],_0x37be7a=(_0x5e6fa2,_0x35790a,_0x50311e,_0x58a598)=>{const _0x1e6e7a=_0x449ba4;for(var _0xba340=_0x58a598>0x1?void 0x0:_0x58a598?_0x39b522(_0x35790a,_0x50311e):_0x35790a,_0xa320f7=_0x5e6fa2[_0x1e6e7a(0x3eb)]-0x1,_0x2335fe;_0xa320f7>=0x0;_0xa320f7--)(_0x2335fe=_0x5e6fa2[_0xa320f7])&&(_0xba340=_0x2335fe(_0xba340)||_0xba340);return _0xba340;},_0x46d10e=(_0x50502e,_0x2252ff)=>(_0x223e02,_0x276e5f)=>_0x2252ff(_0x223e02,_0x276e5f,_0x50502e);let _0x440470=class extends _0x4d81d1['RxDisposable']{constructor(_0xc1331b,_0x3b6561){const _0xee47c3=_0x449ba4;super(),this[_0xee47c3(0x2c7)]=_0xc1331b,this[_0xee47c3(0x3c9)]=_0x3b6561,this[_0xee47c3(0x382)]();}[_0x449ba4(0x382)](){const _0x73fa14=_0x449ba4,_0x191f33=this;this['disposeWithMe'](this[_0x73fa14(0x2c7)][_0x73fa14(0x42e)]({'onBeforePasteImage':async _0x157317=>{const _0x478da1=_0x73fa14,_0xf8b174=await _0x191f33[_0x478da1(0x3c9)][_0x478da1(0x346)](_0x157317);return _0xf8b174?{'source':_0xf8b174[_0x478da1(0x1df)],'imageSourceType':_0xf8b174[_0x478da1(0x3e7)]}:null;}}));}};_0x440470=_0x37be7a([_0x46d10e(0x0,_0xf7ba88[_0x449ba4(0x3cf)]),_0x46d10e(0x1,_0x275c5f[_0x449ba4(0x321)])],_0x440470);const _0x26787c=['purple.300','jiqing.500',_0x449ba4(0x44d),_0x449ba4(0x34f),_0x449ba4(0x3f4),_0x449ba4(0x44c)];class _0xd7451c extends _0x4d81d1['Disposable']{constructor(){const _0x4deb01=_0x449ba4;super(...arguments),_0xb1ba3a(this,_0x4deb01(0x387),new Map()),_0xb1ba3a(this,_0x4deb01(0x1cb),0x0);}[_0x449ba4(0x30c)](_0x384899){const _0x1390b9=_0x449ba4;if(this[_0x1390b9(0x387)][_0x1390b9(0x3fc)](_0x384899))return this[_0x1390b9(0x387)]['get'](_0x384899);const _0xbff318=_0x26787c[this[_0x1390b9(0x1cb)]];return this['_colorIndex']=(this[_0x1390b9(0x1cb)]+0x1)%_0x26787c[_0x1390b9(0x3eb)],this[_0x1390b9(0x387)][_0x1390b9(0x34d)](_0x384899,_0xbff318),_0xbff318;}}function _0x3c6de3(_0x5eb3d0){let _0x4f1fe0='';for(const _0x408b78 of _0x5eb3d0){const {startOffset:_0x48c3a4,endOffset:_0x182ab6,isActive:_0x42cada,rangeType:_0x37b9e6,segmentId:_0x10bf3e,segmentPage:_0x128f1d}=_0x408b78;_0x4f1fe0['length']&&(_0x4f1fe0+=','),_0x4f1fe0+=_0x48c3a4+':'+_0x182ab6+':'+(_0x42cada?'1':'0')+':'+_0x37b9e6+':'+_0x10bf3e+':'+_0x128f1d;}return _0x4f1fe0;}function _0x34d80c(_0x8a203a){const _0x3e858f=_0x449ba4,_0x24191c=_0x8a203a[_0x3e858f(0x27d)](','),_0x32cfac=[];for(const _0x1ebf01 of _0x24191c){const [_0x19d15d,_0x2f7d9a,_0x4f96df,_0x4e8170,_0x4e0396,_0x314132]=_0x1ebf01[_0x3e858f(0x27d)](':');_0x32cfac[_0x3e858f(0x2d6)]({'startOffset':Number(_0x19d15d),'endOffset':Number(_0x2f7d9a),'collapsed':_0x19d15d===_0x2f7d9a,'isActive':_0x4f96df==='1','rangeType':_0x4e8170===_0x4d81d1[_0x3e858f(0x1db)][_0x3e858f(0x34a)]?_0x4d81d1[_0x3e858f(0x1db)]['TEXT']:_0x4d81d1[_0x3e858f(0x1db)][_0x3e858f(0x43c)],'segmentId':typeof _0x4e0396=='string'?String(_0x4e0396):'','segmentPage':Number(_0x314132!=null?_0x314132:-0x1)});}return _0x32cfac[_0x3e858f(0x44f)](_0x1a99bf=>_0x1a99bf['isActive'])||(_0x32cfac[0x0][_0x3e858f(0x2b6)]=!0x0),_0x32cfac;}class _0x3944ef extends _0x4d81d1[_0x449ba4(0x253)]{constructor(){const _0x5a6409=_0x449ba4;super(...arguments),_0xb1ba3a(this,'_collabCursorState$',new _0x2af810[(_0x5a6409(0x3dd))](null)),_0xb1ba3a(this,'collabCursorState$',this[_0x5a6409(0x274)]['asObservable']());}[_0x449ba4(0x416)](_0xbe84f4){const _0x3f9c86=_0x449ba4,{unitID:_0x4a1f6e,memberID:_0x1ad5cb,textRanges:_0x3180fa}=_0xbe84f4,_0x4c94da=_0x3c6de3(_0x3180fa);if(_0x4c94da==='')return;const _0x5bb0c5={'unitID':_0x4a1f6e,'memberID':_0x1ad5cb,'selection':_0x4c94da};this['_collabCursorState$'][_0x3f9c86(0x41c)](_0x5bb0c5);}}var _0x58c742=Object[_0x449ba4(0x1d2)],_0x45f44f=(_0x1a4239,_0x1f297d,_0x39eef4,_0x56e938)=>{const _0x170139=_0x449ba4;for(var _0x4cbeb4=_0x56e938>0x1?void 0x0:_0x56e938?_0x58c742(_0x1f297d,_0x39eef4):_0x1f297d,_0x26f441=_0x1a4239[_0x170139(0x3eb)]-0x1,_0xa1517d;_0x26f441>=0x0;_0x26f441--)(_0xa1517d=_0x1a4239[_0x26f441])&&(_0x4cbeb4=_0xa1517d(_0x4cbeb4)||_0x4cbeb4);return _0x4cbeb4;},_0x5ac957=(_0x3a6d91,_0x5c9df9)=>(_0x22a216,_0x5af7a3)=>_0x5c9df9(_0x22a216,_0x5af7a3,_0x3a6d91);const _0x40c568=0x12c,_0x2a01fd=0x64;let _0x10bf29=class extends _0x4d81d1['RxDisposable']{constructor(_0x4fee1,_0x180eaa,_0x4bc913,_0x2fd0e6,_0x51da65,_0x153ec0,_0x58db53,_0x49d2d9,_0x57c585){const _0x1e09de=_0x449ba4;super(),_0xb1ba3a(this,_0x1e09de(0x340),!0x1),_0xb1ba3a(this,_0x1e09de(0x382),!0x1),_0xb1ba3a(this,'_cursorInfo$',new _0x2af810[(_0x1e09de(0x3dd))](new Map())),_0xb1ba3a(this,'cursorInfo$',this['_cursorInfo$'][_0x1e09de(0x36a)]()),_0xb1ba3a(this,_0x1e09de(0x3d8),new _0x2af810[(_0x1e09de(0x3dd))]([])),_0xb1ba3a(this,'roomMembers$',this[_0x1e09de(0x3d8)][_0x1e09de(0x3b1)](_0x2af810['debounceTime'](_0x40c568))),_0xb1ba3a(this,_0x1e09de(0x30b),_0x4d81d1['debounce'](_0x4d2b49=>{const _0x4911e0=_0x1e09de,_0x24c87e={'eventID':_0x7bc020[_0x4911e0(0x254)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x4911e0(0x37a)][_0x4911e0(0x22d)](),'selection':_0x3c6de3(_0x4d2b49)}};this[_0x4911e0(0x37a)]['send'](_0x24c87e,this[_0x4911e0(0x1fe)]);},_0x2a01fd)),(this[_0x1e09de(0x1fe)]=_0x4fee1,this[_0x1e09de(0x37a)]=_0x180eaa,this['_injector']=_0x4bc913,this[_0x1e09de(0x219)]=_0x2fd0e6,this[_0x1e09de(0x322)]=_0x51da65,this[_0x1e09de(0x39f)]=_0x153ec0,this[_0x1e09de(0x1d3)]=_0x58db53,this[_0x1e09de(0x231)]=_0x49d2d9,this[_0x1e09de(0x3c7)]=_0x57c585);}get['cursorInfo'](){const _0x1e322f=_0x449ba4;return this[_0x1e322f(0x3d7)]['getValue']();}get[_0x449ba4(0x37b)](){const _0xda84cb=_0x449ba4;return this[_0xda84cb(0x3d8)][_0xda84cb(0x2a4)]();}[_0x449ba4(0x3d4)](){const _0x1c39c7=_0x449ba4;super['dispose'](),this[_0x1c39c7(0x3d7)][_0x1c39c7(0x41c)](new Map()),this['_cursorInfo$'][_0x1c39c7(0x2f2)](),this[_0x1c39c7(0x3d8)][_0x1c39c7(0x41c)]([]),this[_0x1c39c7(0x3d8)]['complete']();}[_0x449ba4(0x262)](){const _0x41b201=_0x449ba4;this[_0x41b201(0x382)]||(this['_init']=!0x0,this[_0x41b201(0x37a)][_0x41b201(0x39b)][_0x41b201(0x3b1)](_0x2af810[_0x41b201(0x335)](this[_0x41b201(0x369)]))[_0x41b201(0x3e8)](_0x4ee4cb=>{const _0x5d82ec=_0x41b201;_0x4ee4cb===_0x7e6ef6[_0x5d82ec(0x32f)]['ONLINE']?this['_toggleOnline']():this[_0x5d82ec(0x3a8)]();}),this['_session'][_0x41b201(0x407)][_0x41b201(0x3b1)](_0x2af810[_0x41b201(0x335)](this[_0x41b201(0x369)]))[_0x41b201(0x3e8)](_0x177785=>{const _0x507ee1=_0x41b201,_0x1362ea=_0x177785[_0x507ee1(0x318)];_0x1362ea===_0x7bc020[_0x507ee1(0x254)][_0x507ee1(0x2c6)]&&this[_0x507ee1(0x1d7)](_0x177785),_0x1362ea===_0x7bc020[_0x507ee1(0x254)][_0x507ee1(0x328)]&&this[_0x507ee1(0x2c9)](_0x177785);}),this[_0x41b201(0x30e)](this['_commandService'][_0x41b201(0x329)](_0x6b42e8=>{const _0x3c10be=_0x41b201,_0x159f67=_0x6b42e8[_0x3c10be(0x2a5)];_0x159f67!=null&&this[_0x3c10be(0x340)]&&_0x6b42e8['id']===_0x3422c5[_0x3c10be(0x44b)]['id']&&_0x159f67[_0x3c10be(0x398)]===this[_0x3c10be(0x1fe)]&&_0x159f67['isEditing']===!0x1&&_0x159f67['ranges'][_0x3c10be(0x3eb)]>0x0&&this[_0x3c10be(0x30b)](_0x159f67[_0x3c10be(0x39e)]);})),this[_0x41b201(0x39f)]['collabCursorState$'][_0x41b201(0x3b1)](_0x2af810[_0x41b201(0x335)](this[_0x41b201(0x369)]))[_0x41b201(0x3e8)](_0x383b17=>{const _0x10cfc6=_0x41b201;if((_0x383b17==null?void 0x0:_0x383b17[_0x10cfc6(0x1fe)])!==this[_0x10cfc6(0x1fe)])return;const _0xe8cc91={'eventID':_0x7bc020['CollaborationEvent'][_0x10cfc6(0x2c6)],'data':_0x383b17};this['_onCursorUpdate'](_0xe8cc91);}),this[_0x41b201(0x30e)](this[_0x41b201(0x3c7)]['onCommandExecuted'](_0x4f66c7=>{const _0x2710f4=_0x41b201;if(_0x4f66c7[_0x2710f4(0x2a5)]==null)return;const _0x1e6fa8=_0x4f66c7['params'];if(_0x4f66c7['id']!==_0x3422c5[_0x2710f4(0x2e3)]['id']||_0x1e6fa8[_0x2710f4(0x398)]!==this['unitID'])return;const _0x557c66={'id':'doc.mutation.rich-text-editing','params':_0x1e6fa8},_0x9cc58f=this[_0x2710f4(0x376)];for(const [_0x2644fd,_0x6322c9]of _0x9cc58f){const _0x4d4ca4={'id':_0x2710f4(0x40f),'params':{'unitId':this[_0x2710f4(0x1fe)],'actions':null,'textRanges':_0x6322c9[_0x2710f4(0x39e)]}},_0x4bcefb=this[_0x2710f4(0x1d3)]['transformMutation'](_0x557c66,_0x4d4ca4,!0x1);if(_0x7bc020[_0x2710f4(0x265)](_0x4bcefb))throw _0x4bcefb[_0x2710f4(0x389)];_0x9cc58f[_0x2710f4(0x34d)](_0x2644fd,{..._0x6322c9,'ranges':_0x4bcefb['m2Prime'][_0x2710f4(0x2a5)]['textRanges']});}queueMicrotask(()=>{const _0x47e3fa=_0x2710f4;this[_0x47e3fa(0x3d7)][_0x47e3fa(0x41c)](_0x9cc58f);});})));}[_0x449ba4(0x1d7)](_0x29e1ce){const _0x2b6e90=_0x449ba4;var _0x4a16e1,_0x1678ce;const {memberID:_0x322069,selection:_0x4c3807}=_0x29e1ce['data'],_0xc5feaa=_0x34d80c(_0x4c3807),_0x35c58d=(_0x1678ce=(_0x4a16e1=this[_0x2b6e90(0x322)][_0x2b6e90(0x276)](this[_0x2b6e90(0x1fe)],_0x322069))==null?void 0x0:_0x4a16e1['name'])!=null?_0x1678ce:'Unknown\x20user',_0x2709a1={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x322069),'name':_0x35c58d,'ranges':_0xc5feaa},_0x13abe1=this['cursorInfo'];_0x13abe1['set'](_0x322069,_0x2709a1),this[_0x2b6e90(0x3d7)][_0x2b6e90(0x41c)](_0x13abe1);}[_0x449ba4(0x2c9)](_0x344eec){const _0x5eb8f5=_0x449ba4,{memberID:_0x25682a}=_0x344eec[_0x5eb8f5(0x314)],_0x358ef9=this[_0x5eb8f5(0x376)];_0x358ef9[_0x5eb8f5(0x377)](_0x25682a),this['_cursorInfo$']['next'](_0x358ef9);}['_toggleOnline'](){const _0x2cbd85=_0x449ba4;var _0x4a9546;if(this[_0x2cbd85(0x340)]=!0x0,((_0x4a9546=this[_0x2cbd85(0x231)][_0x2cbd85(0x1e4)]())==null?void 0x0:_0x4a9546[_0x2cbd85(0x39c)]())!==this[_0x2cbd85(0x1fe)])return;const _0x48d79b=this[_0x2cbd85(0x1f1)][_0x2cbd85(0x420)](_0x3422c5[_0x2cbd85(0x230)])[_0x2cbd85(0x3f8)]();Array[_0x2cbd85(0x451)](_0x48d79b)&&_0x48d79b[_0x2cbd85(0x3eb)]>0x0&&this['_updateLocalCursor'](_0x48d79b);}['_toggleOffline'](){this['_online']=!0x1;}};_0x10bf29=_0x45f44f([_0x5ac957(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x5ac957(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0xd7451c)),_0x5ac957(0x4,_0x4d81d1['Inject'](_0x7e6ef6[_0x449ba4(0x2ea)])),_0x5ac957(0x5,_0x4d81d1[_0x449ba4(0x1e6)](_0x3944ef)),_0x5ac957(0x6,_0x7bc020[_0x449ba4(0x2f3)]),_0x5ac957(0x7,_0x4d81d1[_0x449ba4(0x218)]),_0x5ac957(0x8,_0x4d81d1['ICommandService'])],_0x10bf29);var _0x54c64a=Object['getOwnPropertyDescriptor'],_0x38fc60=(_0x541b76,_0x455c32,_0x34689f,_0x4a77bd)=>{const _0x32b9fe=_0x449ba4;for(var _0x4805be=_0x4a77bd>0x1?void 0x0:_0x4a77bd?_0x54c64a(_0x455c32,_0x34689f):_0x455c32,_0x18a079=_0x541b76[_0x32b9fe(0x3eb)]-0x1,_0x1abac9;_0x18a079>=0x0;_0x18a079--)(_0x1abac9=_0x541b76[_0x18a079])&&(_0x4805be=_0x1abac9(_0x4805be)||_0x4805be);return _0x4805be;},_0x5f2320=(_0x10b584,_0x4342a0)=>(_0x3e22d5,_0x220936)=>_0x4342a0(_0x3e22d5,_0x220936,_0x10b584);const _0x14abab=0x12c,_0x35e139=0x64,_0x2cad77=()=>{let _0x52de9a=[],_0xdddd8c=!0x1;return _0x5b3285=>{_0x52de9a['push'](_0x5b3285),_0xdddd8c||(_0xdddd8c=!0x0,setTimeout(()=>{const _0x24f819=_0x94a3;_0x52de9a[_0x24f819(0x27b)](_0xa24fe6=>_0xa24fe6()),_0x52de9a=[],_0xdddd8c=!0x1;}));};};let _0x122cc3=class extends _0x4d81d1[_0x449ba4(0x253)]{constructor(_0x509e8c,_0x20538f,_0x2fe270,_0x5db487,_0x438a0e,_0x19b6d0,_0x22954e,_0x21be2b){const _0xd17a6=_0x449ba4;super(),_0xb1ba3a(this,_0xd17a6(0x340),!0x1),_0xb1ba3a(this,_0xd17a6(0x382),!0x1),_0xb1ba3a(this,'_cursorInfo$',new _0x2af810[(_0xd17a6(0x3dd))](new Map())),_0xb1ba3a(this,_0xd17a6(0x3e3),this[_0xd17a6(0x3d7)][_0xd17a6(0x36a)]()),_0xb1ba3a(this,_0xd17a6(0x3d8),new _0x2af810[(_0xd17a6(0x3dd))]([])),_0xb1ba3a(this,_0xd17a6(0x2ec),this[_0xd17a6(0x3d8)]['pipe'](_0x2af810['debounceTime'](_0x14abab))),_0xb1ba3a(this,_0xd17a6(0x30b),_0x4d81d1[_0xd17a6(0x1e9)]((_0x3546c7,_0x406f30)=>{const _0x4348ec=_0xd17a6,_0x4de5d9={'eventID':_0x7bc020[_0x4348ec(0x254)][_0x4348ec(0x2c6)],'data':{'unitID':this[_0x4348ec(0x1fe)],'memberID':this[_0x4348ec(0x37a)]['getMemberID'](),'selection':_0x115541[_0x4348ec(0x313)](_0x3546c7,_0x406f30[_0x4348ec(0x2d8)])}};this['_session'][_0x4348ec(0x422)](_0x4de5d9,this[_0x4348ec(0x1fe)]);},_0x35e139)),(this[_0xd17a6(0x1fe)]=_0x509e8c,this[_0xd17a6(0x37a)]=_0x20538f,this[_0xd17a6(0x1f1)]=_0x2fe270,this[_0xd17a6(0x219)]=_0x5db487,this['_memberService']=_0x438a0e,this[_0xd17a6(0x231)]=_0x19b6d0,this[_0xd17a6(0x3c7)]=_0x22954e,this[_0xd17a6(0x2e2)]=_0x21be2b);}get[_0x449ba4(0x376)](){return this['_cursorInfo$']['getValue']();}get[_0x449ba4(0x37b)](){const _0x2d0431=_0x449ba4;return this[_0x2d0431(0x3d8)][_0x2d0431(0x2a4)]();}[_0x449ba4(0x3d4)](){const _0x13b1d3=_0x449ba4;super[_0x13b1d3(0x3d4)](),this[_0x13b1d3(0x3d7)][_0x13b1d3(0x41c)](new Map()),this[_0x13b1d3(0x3d7)][_0x13b1d3(0x2f2)](),this[_0x13b1d3(0x3d8)][_0x13b1d3(0x41c)]([]),this[_0x13b1d3(0x3d8)][_0x13b1d3(0x2f2)]();}[_0x449ba4(0x262)](){const _0x2ec93d=_0x449ba4;this[_0x2ec93d(0x382)]||(this[_0x2ec93d(0x382)]=!0x0,this[_0x2ec93d(0x37a)][_0x2ec93d(0x39b)][_0x2ec93d(0x3b1)](_0x2af810[_0x2ec93d(0x335)](this[_0x2ec93d(0x369)]))[_0x2ec93d(0x3e8)](_0x3f3d46=>{const _0x5414c4=_0x2ec93d;_0x3f3d46===_0x7e6ef6[_0x5414c4(0x32f)][_0x5414c4(0x2de)]?this[_0x5414c4(0x3ff)]():this[_0x5414c4(0x3a8)]();}),this[_0x2ec93d(0x37a)][_0x2ec93d(0x407)]['pipe'](_0x2af810['takeUntil'](this['dispose$']))['subscribe'](_0x4ee80e=>{const _0x48768c=_0x2ec93d,_0x5ac3ed=_0x4ee80e['eventID'];_0x5ac3ed===_0x7bc020[_0x48768c(0x254)][_0x48768c(0x2c6)]&&this[_0x48768c(0x1d7)](_0x4ee80e),_0x5ac3ed===_0x7bc020[_0x48768c(0x254)][_0x48768c(0x328)]&&this[_0x48768c(0x2c9)](_0x4ee80e);}),this[_0x2ec93d(0x341)](),this[_0x2ec93d(0x30e)](this[_0x2ec93d(0x3c7)][_0x2ec93d(0x329)](_0x2a99d5=>{const _0x4977c1=_0x2ec93d;if(this[_0x4977c1(0x340)]&&_0x2a99d5['id']===_0x4a524b[_0x4977c1(0x24d)]['id']&&_0x2a99d5[_0x4977c1(0x2a5)][_0x4977c1(0x398)]===this['unitID']){const _0x441051=_0x2a99d5[_0x4977c1(0x2a5)];this[_0x4977c1(0x30b)](_0x441051[_0x4977c1(0x404)],_0x441051[_0x4977c1(0x213)][0x0]);}})));}[_0x449ba4(0x1d7)](_0x12b961){const _0x343265=_0x449ba4;var _0x4412ea,_0xd44fdc;const {memberID:_0x29bc69,selection:_0x3ba2e1}=_0x12b961[_0x343265(0x314)],{sheetName:_0x182bc8,range:_0x4d5285}=_0x115541[_0x343265(0x431)](_0x3ba2e1),_0x18eef4={'name':(_0xd44fdc=(_0x4412ea=this[_0x343265(0x322)][_0x343265(0x276)](this[_0x343265(0x1fe)],_0x29bc69))==null?void 0x0:_0x4412ea['name'])!=null?_0xd44fdc:_0x343265(0x22e),'range':this[_0x343265(0x237)](_0x182bc8,_0x4d5285),'sheetID':_0x182bc8,'color':this[_0x343265(0x219)][_0x343265(0x30c)](_0x29bc69),'selection':_0x3ba2e1},_0x466b9b=this[_0x343265(0x376)];_0x466b9b['set'](_0x29bc69,_0x18eef4),this[_0x343265(0x3d7)][_0x343265(0x41c)](_0x466b9b);}['_onCursorDelete'](_0x2add56){const _0x438f7c=_0x449ba4,{memberID:_0x4e982b}=_0x2add56[_0x438f7c(0x314)],_0x2f6fe5=this[_0x438f7c(0x376)];_0x2f6fe5[_0x438f7c(0x377)](_0x4e982b),this[_0x438f7c(0x3d7)]['next'](_0x2f6fe5);}[_0x449ba4(0x237)](_0x3dc541,_0x20fb1b){const _0x39eed3=_0x449ba4;var _0x19b8a3,_0x168076;const _0x38e703=(_0x168076=(_0x19b8a3=this[_0x39eed3(0x231)][_0x39eed3(0x1f8)](this['unitID']))==null?void 0x0:_0x19b8a3[_0x39eed3(0x447)](_0x3dc541))==null?void 0x0:_0x168076[_0x39eed3(0x344)]();return(_0x38e703==null?void 0x0:_0x38e703[_0x39eed3(0x21a)](_0xdf78c5=>_0x4d81d1[_0x39eed3(0x27f)][_0x39eed3(0x384)](_0xdf78c5,_0x20fb1b)))||_0x20fb1b;}['_onRefRangeChange'](){const _0x2ac04a=_0x449ba4,_0x106fdd=new _0x4d81d1['DisposableCollection'](),_0x21c5b4=_0x2cad77(),_0x2bb6b2=()=>{const _0x31b6c9=_0x94a3;_0x106fdd[_0x31b6c9(0x3d4)]();const _0x85e2dd=(_0x47dbbb,_0x56ffbf,_0x15054b,_0xca2063)=>{const _0x1993b7=_0x31b6c9;let _0x193ad8=[];switch(_0x47dbbb['id']){case _0x4a524b['EffectRefRangId'][_0x1993b7(0x2aa)]:{_0x193ad8=_0x4a524b[_0x1993b7(0x2cf)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)][_0x1993b7(0x343)]:{_0x193ad8=_0x4a524b[_0x1993b7(0x34e)](_0x47dbbb,_0xca2063);break;}case _0x4a524b['EffectRefRangId'][_0x1993b7(0x381)]:{_0x193ad8=_0x4a524b['handleInsertCol'](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)]['InsertRangeMoveDownCommandId']:{_0x193ad8=_0x4a524b[_0x1993b7(0x399)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)][_0x1993b7(0x240)]:{_0x193ad8=_0x4a524b[_0x1993b7(0x43d)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)]['InsertRowCommandId']:{_0x193ad8=_0x4a524b[_0x1993b7(0x3ae)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)]['MoveRangeCommandId']:{_0x193ad8=_0x4a524b[_0x1993b7(0x367)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)]['RemoveColCommandId']:{_0x193ad8=_0x4a524b[_0x1993b7(0x221)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)][_0x1993b7(0x1ca)]:{_0x193ad8=_0x4a524b[_0x1993b7(0x264)](_0x47dbbb,_0xca2063);break;}}const _0x4dcba1=_0x4a524b['runRefRangeMutations'](_0x193ad8,_0xca2063),_0x3329f4=this[_0x1993b7(0x376)][_0x1993b7(0x420)](_0x56ffbf);if(_0x3329f4&&_0x4dcba1){const _0x492a78={..._0x3329f4,'range':_0x4dcba1};this[_0x1993b7(0x376)]['set'](_0x56ffbf,_0x492a78),_0x21c5b4(()=>{const _0x2d05d3=_0x1993b7,_0x4c665f=this['_refRangeService'][_0x2d05d3(0x29c)](_0x4dcba1,_0x5826ac=>(_0x4c665f['dispose'](),_0x85e2dd(_0x5826ac,_0x56ffbf,_0x15054b,_0x4dcba1)));_0x106fdd[_0x2d05d3(0x30d)](_0x4c665f);});}return{'redos':[],'undos':[]};};this[_0x31b6c9(0x376)][_0x31b6c9(0x27b)]((_0x484648,_0x39b110)=>{const _0x36e064=_0x31b6c9,{range:_0x16ae8f,sheetID:_0x3a9ac3}=_0x484648,_0x466ac8=this[_0x36e064(0x2e2)]['registerRefRange'](_0x16ae8f,_0x454777=>(_0x466ac8[_0x36e064(0x3d4)](),_0x85e2dd(_0x454777,_0x39b110,_0x3a9ac3,_0x16ae8f)));_0x106fdd[_0x36e064(0x30d)](_0x466ac8);});};this[_0x2ac04a(0x30e)](_0x4d81d1[_0x2ac04a(0x3c5)](this[_0x2ac04a(0x3d7)][_0x2ac04a(0x3e8)](()=>{_0x2bb6b2();})));}[_0x449ba4(0x3ff)](){const _0x129d71=_0x449ba4;var _0x3ce70d,_0x4fdb3a;if(this[_0x129d71(0x340)]=!0x0,((_0x3ce70d=this[_0x129d71(0x231)]['getFocusedUnit']())==null?void 0x0:_0x3ce70d['getUnitId']())!==this[_0x129d71(0x1fe)])return;const _0x59e02e=(_0x4fdb3a=this[_0x129d71(0x1f1)]['get'](_0x4a524b['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x4fdb3a[0x0],_0x1f9b9a=this[_0x129d71(0x231)][_0x129d71(0x401)](_0x4d81d1['UniverInstanceType']['UNIVER_SHEET'])['getActiveSheet']();_0x59e02e&&_0x1f9b9a&&this[_0x129d71(0x30b)](_0x1f9b9a[_0x129d71(0x388)](),_0x59e02e);}[_0x449ba4(0x3a8)](){const _0x4454c2=_0x449ba4;this[_0x4454c2(0x340)]=!0x1;}};_0x122cc3=_0x38fc60([_0x5f2320(0x2,_0x4d81d1['Inject'](_0x4d81d1[_0x449ba4(0x43e)])),_0x5f2320(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0xd7451c)),_0x5f2320(0x4,_0x4d81d1['Inject'](_0x7e6ef6[_0x449ba4(0x2ea)])),_0x5f2320(0x5,_0x4d81d1[_0x449ba4(0x218)]),_0x5f2320(0x6,_0x4d81d1[_0x449ba4(0x1c2)]),_0x5f2320(0x7,_0x4d81d1['Inject'](_0x4a524b[_0x449ba4(0x245)]))],_0x122cc3);var _0x1d24dd=Object['getOwnPropertyDescriptor'],_0x11469d=(_0x51b2c2,_0x3eece4,_0x3ef57b,_0x4c3f20)=>{for(var _0x3e537a=_0x4c3f20>0x1?void 0x0:_0x4c3f20?_0x1d24dd(_0x3eece4,_0x3ef57b):_0x3eece4,_0x3c2f3b=_0x51b2c2['length']-0x1,_0x6588cb;_0x3c2f3b>=0x0;_0x3c2f3b--)(_0x6588cb=_0x51b2c2[_0x3c2f3b])&&(_0x3e537a=_0x6588cb(_0x3e537a)||_0x3e537a);return _0x3e537a;},_0x2cd55d=(_0x1a66d4,_0x5354db)=>(_0x58a0e6,_0x46e53f)=>_0x5354db(_0x58a0e6,_0x46e53f,_0x1a66d4);let _0x5f01b6=class extends _0x4d81d1[_0x449ba4(0x253)]{constructor(_0x1709a8,_0x4cf1e6,_0x2d9959){const _0x12742e=_0x449ba4;super(),_0xb1ba3a(this,'_entities',new Map()),_0xb1ba3a(this,'_entityInit$',new _0x2af810[(_0x12742e(0x259))]()),(this[_0x12742e(0x231)]=_0x1709a8,this[_0x12742e(0x1f1)]=_0x4cf1e6,this[_0x12742e(0x23d)]=_0x2d9959,this['_init']());}['dispose'](){const _0x45e2e5=_0x449ba4;super['dispose'](),this[_0x45e2e5(0x26e)][_0x45e2e5(0x2f2)](),this['_entities'][_0x45e2e5(0x27b)](_0x5a9ca8=>_0x5a9ca8[_0x45e2e5(0x3d4)]());}[_0x449ba4(0x297)](_0x4a5e30){const _0x3a9b3f=_0x449ba4;return this[_0x3a9b3f(0x36c)][_0x3a9b3f(0x3fc)](_0x4a5e30)?this['_entities'][_0x3a9b3f(0x420)](_0x4a5e30)[_0x3a9b3f(0x3e3)]:this['_entityInit$'][_0x3a9b3f(0x3b1)](_0x2af810[_0x3a9b3f(0x3be)](_0x4b3855=>_0x4b3855['unitID']===_0x4a5e30),_0x2af810['switchMap'](_0x335275=>_0x335275[_0x3a9b3f(0x3e3)]));}[_0x449ba4(0x382)](){const _0x206d89=_0x449ba4;this['_univerInstanceService'][_0x206d89(0x39d)](_0x4d81d1[_0x206d89(0x3a4)]['UNIVER_SHEET'])[_0x206d89(0x3b1)](_0x2af810[_0x206d89(0x335)](this[_0x206d89(0x369)]))[_0x206d89(0x3e8)](async _0x12f9d6=>{const _0x43d916=_0x206d89,_0x3def15=_0x12f9d6['getUnitId'](),_0x5c7c27=await this['_startSheetCollabCursor'](_0x3def15);this[_0x43d916(0x26e)][_0x43d916(0x41c)](_0x5c7c27),this[_0x43d916(0x36c)][_0x43d916(0x34d)](_0x3def15,_0x5c7c27);}),this[_0x206d89(0x231)]['getTypeOfUnitAdded$'](_0x4d81d1[_0x206d89(0x3a4)]['UNIVER_DOC'])[_0x206d89(0x3b1)](_0x2af810[_0x206d89(0x335)](this['dispose$']))[_0x206d89(0x3b1)](_0x2af810[_0x206d89(0x3be)](_0x49f7c6=>!_0x49f7c6[_0x206d89(0x39c)]()[_0x206d89(0x351)]('__')))[_0x206d89(0x3e8)](async _0x278bc8=>{const _0x5418f4=_0x206d89,_0x101432=_0x278bc8[_0x5418f4(0x39c)](),_0x415da4=await this[_0x5418f4(0x2e8)](_0x101432);this[_0x5418f4(0x26e)]['next'](_0x415da4),this[_0x5418f4(0x36c)]['set'](_0x101432,_0x415da4);}),_0x2af810[_0x206d89(0x378)](this[_0x206d89(0x231)]['getTypeOfUnitDisposed$'](_0x4d81d1[_0x206d89(0x3a4)][_0x206d89(0x298)]),this[_0x206d89(0x231)][_0x206d89(0x28d)](_0x4d81d1[_0x206d89(0x3a4)][_0x206d89(0x214)]))[_0x206d89(0x3b1)](_0x2af810[_0x206d89(0x335)](this[_0x206d89(0x369)]))[_0x206d89(0x3e8)](_0x540462=>{const _0x7a8bf7=_0x206d89,_0x5002ff=_0x540462[_0x7a8bf7(0x39c)](),_0x5ede87=this[_0x7a8bf7(0x36c)][_0x7a8bf7(0x420)](_0x5002ff);_0x5ede87&&(_0x5ede87[_0x7a8bf7(0x3d4)](),this[_0x7a8bf7(0x36c)]['delete'](_0x5002ff));});}async['_startSheetCollabCursor'](_0x46e035){const _0x1280c5=_0x449ba4,_0x34d432=await this[_0x1280c5(0x23d)][_0x1280c5(0x1be)](_0x46e035),_0x3ad3f7=this[_0x1280c5(0x1f1)][_0x1280c5(0x3fa)](_0x122cc3,_0x46e035,_0x34d432);return _0x3ad3f7[_0x1280c5(0x262)](),_0x3ad3f7;}async[_0x449ba4(0x2e8)](_0x401a90){const _0x48d3ee=_0x449ba4,_0x1a61aa=await this[_0x48d3ee(0x23d)]['requireSession'](_0x401a90),_0x20fd74=this[_0x48d3ee(0x1f1)][_0x48d3ee(0x3fa)](_0x10bf29,_0x401a90,_0x1a61aa);return _0x20fd74['init'](),_0x20fd74;}};_0x5f01b6=_0x11469d([_0x2cd55d(0x0,_0x4d81d1['IUniverInstanceService']),_0x2cd55d(0x1,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x2cd55d(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x7e6ef6['CollaborationSessionService']))],_0x5f01b6);const _0x21c66f=0x14,_0x26b89a=0xc8,_0x184191=0x4,_0x55a9e1=0x5;function _0x1d8026(_0x20f0f1,_0x245dd3){const _0x2d38e0=_0x449ba4;let {radius:_0x4535a7,width:_0x4f319c,height:_0x53805f}=_0x245dd3;_0x4535a7=_0x4535a7!=null?_0x4535a7:0x0,_0x4f319c=_0x4f319c!=null?_0x4f319c:0x1e,_0x53805f=_0x53805f!=null?_0x53805f:0x1e;let _0x56bebc=0x0,_0x9d3aab=0x0,_0x2d7eb5=0x0;_0x56bebc=_0x9d3aab=_0x2d7eb5=Math['min'](_0x4535a7,_0x4f319c/0x2,_0x53805f/0x2),_0x20f0f1[_0x2d38e0(0x2d2)](),_0x20f0f1[_0x2d38e0(0x2fe)](_0x56bebc,0x0),_0x20f0f1['lineTo'](_0x4f319c-_0x9d3aab,0x0),_0x20f0f1[_0x2d38e0(0x38e)](_0x4f319c-_0x9d3aab,_0x9d3aab,_0x9d3aab,Math['PI']*0x3/0x2,0x0,!0x1),_0x20f0f1[_0x2d38e0(0x342)](_0x4f319c,_0x53805f-_0x2d7eb5),_0x20f0f1['arc'](_0x4f319c-_0x2d7eb5,_0x53805f-_0x2d7eb5,_0x2d7eb5,0x0,Math['PI']/0x2,!0x1),_0x20f0f1['lineTo'](0x0,_0x53805f),_0x20f0f1[_0x2d38e0(0x342)](0x0,_0x56bebc),_0x20f0f1[_0x2d38e0(0x38e)](_0x56bebc,_0x56bebc,_0x56bebc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x20f0f1[_0x2d38e0(0x23a)](),_0x245dd3[_0x2d38e0(0x43b)]&&(_0x20f0f1[_0x2d38e0(0x31b)](),_0x20f0f1[_0x2d38e0(0x2d3)]=_0x245dd3['fill'],_0x245dd3[_0x2d38e0(0x359)]===_0x2d38e0(0x21e)?_0x20f0f1['fill'](_0x2d38e0(0x21e)):_0x20f0f1[_0x2d38e0(0x43b)](),_0x20f0f1[_0x2d38e0(0x2d7)]());}class _0x51290c extends _0x2c2228[_0x449ba4(0x415)]{constructor(_0x5f0ab8,_0xd9748f){const _0x237a0b=_0x449ba4;super(_0x5f0ab8,_0xd9748f),_0xb1ba3a(this,_0x237a0b(0x23e)),_0xb1ba3a(this,_0x237a0b(0x34b)),(this[_0x237a0b(0x23e)]=_0xd9748f==null?void 0x0:_0xd9748f[_0x237a0b(0x23e)],this['text']=_0xd9748f==null?void 0x0:_0xd9748f[_0x237a0b(0x34b)]);}static['drawWith'](_0xd928db,_0x25b06c){const _0x1c7be0=_0x449ba4,{text:_0x37789a,color:_0x35e866}=_0x25b06c;_0xd928db[_0x1c7be0(0x31b)](),_0xd928db[_0x1c7be0(0x1c7)]=_0x1c7be0(0x25d);const _0x587fa8=_0xd928db['measureText'](_0x37789a)[_0x1c7be0(0x2a2)],_0x19cb1e=Math['min'](_0x587fa8+0x2*_0x184191,_0x26b89a);_0x1d8026(_0xd928db,{'height':_0x21c66f,'radius':0x4,'width':_0x19cb1e,'fill':_0x35e866}),_0xd928db[_0x1c7be0(0x2d3)]=_0x1c7be0(0x2be);const _0x13ee0e=_0x184191,_0xedc66=_0x21c66f-_0x55a9e1,_0x3aa9a1=_0x26b89a-0x2*_0x184191;if(_0x587fa8>_0x3aa9a1){let _0x591db7='',_0x4500e5=0x0;for(const _0x4cff56 of _0x37789a){const _0x9ccb6d=_0xd928db[_0x1c7be0(0x2f8)](_0x4cff56)[_0x1c7be0(0x2a2)];if(_0x4500e5+_0x9ccb6d<=_0x3aa9a1-_0xd928db['measureText'](_0x1c7be0(0x364))[_0x1c7be0(0x2a2)])_0x591db7+=_0x4cff56,_0x4500e5+=_0x9ccb6d;else{_0x591db7+=_0x1c7be0(0x364);break;}}_0xd928db[_0x1c7be0(0x2d4)](_0x591db7,_0x13ee0e,_0xedc66);}else _0xd928db[_0x1c7be0(0x2d4)](_0x37789a,_0x13ee0e,_0xedc66);_0xd928db['restore']();}[_0x449ba4(0x42b)](_0x1a9c78){const _0x14c197=_0x449ba4;_0x51290c[_0x14c197(0x453)](_0x1a9c78,this);}}const _0x5c7b6b='collab-text-anchor-',_0x2241a5='collab-text-range-',_0x13e03a=_0x449ba4(0x3e4),_0x104382=0x6,_0x194b59=1.5,_0x1d77e2=0x4,_0x22efe7=1.5,_0x1b3128='rgba(255,\x20255,\x20255,\x200.01)';class _0x1a0383{constructor(_0x3bb567,_0x3246ef,_0x5d26f5,_0x16ec5c){const _0x1b326b=_0x449ba4;_0xb1ba3a(this,_0x1b326b(0x289),[]),_0xb1ba3a(this,_0x1b326b(0x3b3),null),_0xb1ba3a(this,_0x1b326b(0x31a),null),_0xb1ba3a(this,_0x1b326b(0x43f),null),_0xb1ba3a(this,_0x1b326b(0x301),null),_0xb1ba3a(this,_0x1b326b(0x411),null),(this[_0x1b326b(0x3c1)]=_0x3bb567,this['_scene']=_0x3246ef,this[_0x1b326b(0x28c)]=_0x5d26f5,this[_0x1b326b(0x1b2)]=_0x16ec5c,this[_0x1b326b(0x2d1)]());}set[_0x449ba4(0x452)](_0x3f2917){const _0x54fc8c=_0x449ba4;_0x3f2917?(this['_anchorDot']&&this[_0x54fc8c(0x43f)]['hide'](),this[_0x54fc8c(0x31a)]&&this[_0x54fc8c(0x31a)][_0x54fc8c(0x36e)]()):(this[_0x54fc8c(0x43f)]&&this['_anchorDot'][_0x54fc8c(0x36e)](),this[_0x54fc8c(0x31a)]&&this[_0x54fc8c(0x31a)]['hide']());}[_0x449ba4(0x3d4)](){const _0x2fb17f=_0x449ba4;for(const _0x18ac60 of this['_shapes'])_0x18ac60[_0x2fb17f(0x3d4)]();this[_0x2fb17f(0x31a)]&&this[_0x2fb17f(0x31a)]['dispose'](),this[_0x2fb17f(0x43f)]&&this[_0x2fb17f(0x43f)][_0x2fb17f(0x3d4)](),this[_0x2fb17f(0x3b3)]&&this[_0x2fb17f(0x3b3)][_0x2fb17f(0x3d4)](),this[_0x2fb17f(0x411)]&&this[_0x2fb17f(0x411)]();}[_0x449ba4(0x2d1)](){const _0x453172=_0x449ba4;var _0x3608bb;const {_docSkeleton:_0x32dcd5,_document:_0x49d43b}=this,{color:_0x1d2327,name:_0x1af4ce,ranges:_0x408f8c}=this[_0x453172(0x3c1)],_0xf339d6=_0x49d43b[_0x453172(0x406)](),{docsLeft:_0x29f06e,docsTop:_0x2cb776}=_0xf339d6,_0x522eef=new _0xf7ba88['NodePositionConvertToCursor'](_0xf339d6,_0x32dcd5);for(const {startOffset:_0x59e2d4,endOffset:_0x58c425,rangeType:_0x6dd76,segmentId:_0x2ffe5d,segmentPage:_0x5af2fd,collapsed:_0x2c367a,isActive:_0x4e2ba7}of _0x408f8c){const _0x29ed45=_0x32dcd5[_0x453172(0x448)](_0x59e2d4,!0x0,_0x2ffe5d,_0x5af2fd);let _0x40854f=_0x32dcd5[_0x453172(0x448)](_0x58c425,!0x0,_0x2ffe5d,_0x5af2fd);if(_0x40854f==null&&(_0x40854f=_0x32dcd5[_0x453172(0x448)](_0x58c425-0x1,!0x1,_0x2ffe5d,_0x5af2fd)),_0x4e2ba7){const {contentBoxPointGroup:_0xe6da6e}=_0x522eef[_0x453172(0x1f5)](_0x40854f,_0x40854f);if(_0xe6da6e[_0x453172(0x3eb)]===0x0)continue;this[_0x453172(0x2e4)](_0x1d2327,_0xe6da6e,_0x29f06e,_0x2cb776,_0x1af4ce),this[_0x453172(0x411)]=this[_0x453172(0x1b5)]();}if(_0x29ed45&&_0x40854f){if(_0x6dd76===_0x4d81d1[_0x453172(0x1db)]['RECT']){const _0x2daae8=new _0xf7ba88['NodePositionConvertToRectRange'](_0xf339d6,_0x32dcd5),{pointGroup:_0xb3b942}=(_0x3608bb=_0x2daae8[_0x453172(0x1f5)](_0x29ed45,_0x40854f))!=null?_0x3608bb:{};if(_0xb3b942==null||_0xb3b942[_0x453172(0x3eb)]===0x0)continue;this['_drawRectRange'](_0x1d2327,_0xb3b942,_0x29f06e,_0x2cb776);}else{if(!_0x2c367a){const {borderBoxPointGroup:_0xc67a5d}=_0x522eef[_0x453172(0x1f5)](_0x29ed45,_0x40854f);if(_0xc67a5d[_0x453172(0x3eb)]===0x0)continue;this[_0x453172(0x392)](_0x1d2327,_0xc67a5d,_0x29f06e,_0x2cb776);}}}}}[_0x449ba4(0x2e4)](_0x51382e,_0x3dc76b,_0x459293,_0x162b30,_0x2e786d){const _0xa6d5f4=_0x449ba4,_0x5e1a69=this['_getAnchorBounding'](_0x3dc76b),{left:_0x2d8df3,top:_0x4a5646,height:_0x5db0c9}=_0x5e1a69,_0x3da785=this[_0xa6d5f4(0x306)](),_0x4da2fd=_0x22efe7/_0x3da785,_0x219d8a=new _0x2c2228[(_0xa6d5f4(0x25f))](_0x5c7b6b+_0x4d81d1[_0xa6d5f4(0x209)](_0x104382),{'left':_0x2d8df3+_0x459293-_0x4da2fd,'top':_0x4a5646+_0x162b30,'height':_0x5db0c9,'width':_0x194b59,'fill':_0x51382e||_0x2c2228[_0xa6d5f4(0x22b)](_0x4d81d1['COLORS'][_0xa6d5f4(0x226)],0x0),'strokeWidth':_0x4da2fd,'stroke':_0x1b3128,'evented':!0x0});this[_0xa6d5f4(0x3b3)]=_0x219d8a,this[_0xa6d5f4(0x268)][_0xa6d5f4(0x2cb)](_0x219d8a,_0xf7ba88[_0xa6d5f4(0x3f7)]);const _0x239111=new _0x2c2228['Rect'](_0x5c7b6b+_0x4d81d1[_0xa6d5f4(0x209)](_0x104382),{'left':_0x2d8df3+_0x459293-_0x4da2fd,'top':_0x4a5646+_0x162b30-_0x1d77e2/0x2,'height':_0x1d77e2,'width':_0x1d77e2,'fill':_0x51382e||_0x2c2228[_0xa6d5f4(0x22b)](_0x4d81d1[_0xa6d5f4(0x2c1)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x51382e||_0x2c2228['getColor'](_0x4d81d1[_0xa6d5f4(0x2c1)]['black'],0x0),'evented':!0x1});this[_0xa6d5f4(0x43f)]=_0x239111,this[_0xa6d5f4(0x268)][_0xa6d5f4(0x2cb)](_0x239111,_0xf7ba88[_0xa6d5f4(0x3f7)]);const _0x2ab9b1=new _0x51290c(_0x5c7b6b+_0x4d81d1[_0xa6d5f4(0x209)](_0x104382),{'left':_0x2d8df3+_0x459293-_0x4da2fd,'top':_0x4a5646+_0x162b30-_0x21c66f,'text':_0x2e786d,'color':_0x51382e});this[_0xa6d5f4(0x31a)]=_0x2ab9b1,this['_scene']['addObject'](_0x2ab9b1,_0xf7ba88[_0xa6d5f4(0x3f7)]),this[_0xa6d5f4(0x452)]=!0x1;}[_0x449ba4(0x1b5)](){const _0x594960=_0x449ba4,_0xfb9b9a=this[_0x594960(0x3b3)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x76d01f=this[_0x594960(0x3b3)]['onPointerLeave$'][_0x594960(0x2b1)](()=>{const _0x1793d2=_0x594960;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x1793d2(0x301)]=setTimeout(()=>{const _0x4d79bd=_0x1793d2;this[_0x4d79bd(0x452)]=!0x1;},0x7d0);});return()=>{const _0xbfccd1=_0x594960;_0xfb9b9a['unsubscribe'](),_0x76d01f[_0xbfccd1(0x2cd)]();};}[_0x449ba4(0x392)](_0x5f053b,_0x171cc3,_0x13429c,_0x16d38e){const _0x176b55=_0x449ba4,_0x3f8679=new _0x4d81d1[(_0x176b55(0x2cc))](_0x5f053b)['setAlpha'](0.2)['toRgbString'](),_0x1db524=new _0x2c2228[(_0x176b55(0x20d))](_0x2241a5+_0x4d81d1['generateRandomId'](_0x104382),{'pointsGroup':_0x171cc3,'fill':_0x3f8679||_0x2c2228[_0x176b55(0x22b)](_0x4d81d1[_0x176b55(0x2c1)][_0x176b55(0x226)],0.2),'left':_0x13429c,'top':_0x16d38e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x176b55(0x289)][_0x176b55(0x2d6)](_0x1db524),this['_scene'][_0x176b55(0x2cb)](_0x1db524,_0xf7ba88[_0x176b55(0x3f7)]);}['_drawRectRange'](_0x56c436,_0x497817,_0x5014dd,_0x453851){const _0x3931f2=_0x449ba4,_0x320d8=new _0x4d81d1['ColorKit'](_0x56c436)[_0x3931f2(0x238)](0.2)['toRgbString'](),_0xc414a6=new _0x2c2228[(_0x3931f2(0x20d))](_0x13e03a+_0x4d81d1['generateRandomId'](_0x104382),{'pointsGroup':_0x497817,'fill':_0x320d8||_0x2c2228[_0x3931f2(0x22b)](_0x4d81d1['COLORS'][_0x3931f2(0x226)],0.2),'left':_0x5014dd,'top':_0x453851,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3931f2(0x289)][_0x3931f2(0x2d6)](_0xc414a6),this[_0x3931f2(0x268)][_0x3931f2(0x2cb)](_0xc414a6,_0xf7ba88[_0x3931f2(0x3f7)]);}['_getAnchorBounding'](_0x4cf446){const _0x5b0695=_0x4cf446[0x0],_0x37927b=_0x5b0695[0x0],_0x45bf7e=_0x5b0695[0x2],{x:_0x45b798,y:_0xade55d}=_0x37927b,{x:_0x3ca2c8,y:_0xce0006}=_0x45bf7e;return{'left':_0x45b798,'top':_0xade55d,'width':_0x3ca2c8-_0x45b798,'height':_0xce0006-_0xade55d};}[_0x449ba4(0x306)](){const _0x1d543e=_0x449ba4,{scaleX:_0x1d8d58,scaleY:_0x413bbd}=this[_0x1d543e(0x268)][_0x1d543e(0x29a)]();return Math[_0x1d543e(0x34c)](_0x1d8d58,_0x413bbd);}}var _0x4712d6=Object[_0x449ba4(0x1d2)],_0x2dd853=(_0x4a241c,_0x499fc4,_0x373c8f,_0x136f7e)=>{const _0x2954eb=_0x449ba4;for(var _0x43af02=_0x136f7e>0x1?void 0x0:_0x136f7e?_0x4712d6(_0x499fc4,_0x373c8f):_0x499fc4,_0x4851e4=_0x4a241c[_0x2954eb(0x3eb)]-0x1,_0x51c6da;_0x4851e4>=0x0;_0x4851e4--)(_0x51c6da=_0x4a241c[_0x4851e4])&&(_0x43af02=_0x51c6da(_0x43af02)||_0x43af02);return _0x43af02;},_0x264517=(_0x18ed68,_0x3a0c5a)=>(_0x252414,_0xf6fe04)=>_0x3a0c5a(_0x252414,_0xf6fe04,_0x18ed68);let _0x4c48c2=class extends _0x4d81d1[_0x449ba4(0x253)]{constructor(_0x52fd64,_0x40d939,_0x1d844f,_0x248146,_0x54f513){const _0x593338=_0x449ba4;super(),_0xb1ba3a(this,'_cursorShapes',[]),_0xb1ba3a(this,_0x593338(0x36f),[]),(this['_context']=_0x52fd64,this[_0x593338(0x244)]=_0x40d939,this['_collabCursorController']=_0x1d844f,this[_0x593338(0x3c7)]=_0x248146,this['_themeService']=_0x54f513,this[_0x593338(0x382)]());}[_0x449ba4(0x382)](){const _0x5e8ed7=_0x449ba4,_0x47efd6=this['_context'][_0x5e8ed7(0x398)],_0x363c73=this[_0x5e8ed7(0x244)];this[_0x5e8ed7(0x30e)](_0x2af810['combineLatest']([this['_collabCursorController'][_0x5e8ed7(0x297)](_0x47efd6),this[_0x5e8ed7(0x270)][_0x5e8ed7(0x33c)]])['pipe'](_0x54dd64[_0x5e8ed7(0x413)](([_0x1b2165,_0x4f44e0])=>({'skeleton':_0x363c73['getSkeleton'](),'cursors':[..._0x1b2165[_0x5e8ed7(0x323)]()][_0x5e8ed7(0x32e)](_0x518ccb=>({..._0x518ccb,'color':this[_0x5e8ed7(0x270)][_0x5e8ed7(0x2f9)](_0x518ccb['color'])}))})))[_0x5e8ed7(0x3e8)](_0x2f9b13=>{const _0x12ecd4=_0x5e8ed7;if(this[_0x12ecd4(0x37c)](),_0x2f9b13){const {skeleton:_0x54c467,cursors:_0x57e5a7}=_0x2f9b13;this['_updateCollabCursors'](_0x54c467,_0x57e5a7);}})),this[_0x5e8ed7(0x449)](),this[_0x5e8ed7(0x23b)]();}['_updateCollabCursors'](_0x5d79a6,_0x585935){const _0x571cc7=_0x449ba4,{scene:_0x40febe,mainComponent:_0x1dd620}=this[_0x571cc7(0x3d0)],_0x15b9d1=_0x585935[_0x571cc7(0x413)](_0x4bf7c7=>new _0x1a0383(_0x4bf7c7,_0x40febe,_0x5d79a6,_0x1dd620));this[_0x571cc7(0x2ee)]=_0x15b9d1,this[_0x571cc7(0x36f)]=_0x585935;}[_0x449ba4(0x20b)](){const _0x3741c4=_0x449ba4;this[_0x3741c4(0x37c)]();const {scene:_0x42ab23,mainComponent:_0x4e7039}=this[_0x3741c4(0x3d0)],_0x15b75e=this[_0x3741c4(0x244)][_0x3741c4(0x394)](),_0x6ddb9c=this['_cursors']['map'](_0x5397a9=>new _0x1a0383(_0x5397a9,_0x42ab23,_0x15b75e,_0x4e7039));this[_0x3741c4(0x2ee)]=_0x6ddb9c;}['_removeCollabCursors'](){const _0x226c3f=_0x449ba4;this[_0x226c3f(0x2ee)]['forEach'](_0x47e3ae=>_0x47e3ae['dispose']()),this[_0x226c3f(0x2ee)]=[];}[_0x449ba4(0x23b)](){const _0x1ced8a=_0x449ba4,_0x4e51d4=[_0xf7ba88['SetDocZoomRatioOperation']['id']];this[_0x1ced8a(0x30e)](this[_0x1ced8a(0x3c7)][_0x1ced8a(0x329)](_0x2b1064=>{const _0xcc45c8=_0x1ced8a;_0x4e51d4['includes'](_0x2b1064['id'])&&_0x2b1064[_0xcc45c8(0x2a5)][_0xcc45c8(0x398)]===this['_context'][_0xcc45c8(0x398)]&&this[_0xcc45c8(0x20b)]();}));}['_initResize'](){const _0x2037e7=_0x449ba4;this[_0x2037e7(0x30e)](_0x4d81d1[_0x2037e7(0x405)](this[_0x2037e7(0x3d0)][_0x2037e7(0x1ce)][_0x2037e7(0x21c)])[_0x2037e7(0x3b1)](_0x54dd64['filter'](_0x22943b=>_0x22943b[_0x2037e7(0x353)]===_0x2c2228[_0x2037e7(0x310)][_0x2037e7(0x3d5)]),_0x54dd64[_0x2037e7(0x225)](0x10))[_0x2037e7(0x3e8)](()=>{const _0x59b788=_0x2037e7;this[_0x59b788(0x20b)]();}));}};_0x4c48c2=_0x2dd853([_0x264517(0x1,_0x4d81d1[_0x449ba4(0x1e6)](_0x3422c5[_0x449ba4(0x349)])),_0x264517(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x5f01b6)),_0x264517(0x3,_0x4d81d1[_0x449ba4(0x1c2)]),_0x264517(0x4,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x208)]))],_0x4c48c2);const _0x15db92=0x1,_0x5927ac=1.5;class _0x414759 extends _0x2c2228[_0x449ba4(0x415)]{constructor(_0x5a3415,_0x480a28){const _0x53708b=_0x449ba4;super(_0x5a3415,_0x480a28),_0xb1ba3a(this,_0x53708b(0x3e1)),_0xb1ba3a(this,_0x53708b(0x435),!0x1),_0xb1ba3a(this,'_range'),_0xb1ba3a(this,_0x53708b(0x29f),''),_0xb1ba3a(this,_0x53708b(0x3f2),_0x53708b(0x2a9)),_0xb1ba3a(this,_0x53708b(0x42d)),(_0x480a28&&this[_0x53708b(0x3c3)](_0x480a28),this['onPointerEnter$'][_0x53708b(0x2b1)](()=>this[_0x53708b(0x3c3)]({'hovered':!0x0})),this[_0x53708b(0x227)][_0x53708b(0x2b1)](()=>this[_0x53708b(0x3c3)]({'hovered':!0x1})));}[_0x449ba4(0x3c3)](_0x3b8c96){const _0x13502f=_0x449ba4;var _0x2b9c2a,_0x4aff76,_0xd45884,_0x374887,_0x5700d8,_0x4440b6;this['_color']=(_0x2b9c2a=_0x3b8c96[_0x13502f(0x23e)])!=null?_0x2b9c2a:this[_0x13502f(0x3e1)],this['_hovered']=(_0x4aff76=_0x3b8c96[_0x13502f(0x402)])!=null?_0x4aff76:this[_0x13502f(0x435)],this[_0x13502f(0x1dc)]=(_0xd45884=_0x3b8c96[_0x13502f(0x2d8)])!=null?_0xd45884:this[_0x13502f(0x1dc)],this[_0x13502f(0x29f)]=(_0x374887=_0x3b8c96[_0x13502f(0x1d1)])!=null?_0x374887:this[_0x13502f(0x29f)],this['_labelPosition']=(_0x5700d8=_0x3b8c96[_0x13502f(0x210)])!=null?_0x5700d8:this['_labelPosition'],this['_backgroundColor']=(_0x4440b6=_0x3b8c96[_0x13502f(0x20e)])!=null?_0x4440b6:this['_backgroundColor'],this['transformByState']({'width':_0x3b8c96[_0x13502f(0x2a2)],'height':_0x3b8c96[_0x13502f(0x396)]});}[_0x449ba4(0x1cd)](_0x1b3c69){const _0x31b388=_0x449ba4,{row:_0x72e170,column:_0x26f648}=_0x1b3c69;if(_0x72e170>=this['_range'][_0x31b388(0x2b3)]&&_0x72e170<=this[_0x31b388(0x1dc)]['endRow']&&_0x26f648>=this[_0x31b388(0x1dc)][_0x31b388(0x23c)]&&_0x26f648<=this['_range'][_0x31b388(0x438)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x449ba4(0x3f3)](_0x44fe3c){return!0x1;}['_draw'](_0x56dc61){const _0x4897b4=_0x449ba4;_0x2c2228['Rect'][_0x4897b4(0x453)](_0x56dc61,{'width':this[_0x4897b4(0x2a2)],'height':this['height'],'strokeWidth':_0x5927ac,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4897b4(0x42d)]}),this[_0x4897b4(0x435)]&&(_0x56dc61['save'](),_0x56dc61[_0x4897b4(0x400)](0x1,0x0,0x0,0x1,this[_0x4897b4(0x2a2)],this[_0x4897b4(0x3f2)]===_0x4897b4(0x280)?0x0:-_0x21c66f),_0x51290c['drawWith'](_0x56dc61,{'text':this['_name'],'color':this['_color']}),_0x56dc61['restore']());}}var _0x4179e8=Object[_0x449ba4(0x1d2)],_0x1f11f3=(_0x214961,_0x37a389,_0xf022e0,_0x2d8bfb)=>{const _0xc29053=_0x449ba4;for(var _0x5b6b7a=_0x2d8bfb>0x1?void 0x0:_0x2d8bfb?_0x4179e8(_0x37a389,_0xf022e0):_0x37a389,_0x234324=_0x214961[_0xc29053(0x3eb)]-0x1,_0x238786;_0x234324>=0x0;_0x234324--)(_0x238786=_0x214961[_0x234324])&&(_0x5b6b7a=_0x238786(_0x5b6b7a)||_0x5b6b7a);return _0x5b6b7a;},_0x144ecd=(_0x45a092,_0x3cbbf7)=>(_0x5e41ad,_0x154658)=>_0x3cbbf7(_0x5e41ad,_0x154658,_0x45a092);const _0x48ef02=0x1389;let _0x3cc75d=class extends _0x4d81d1[_0x449ba4(0x253)]{constructor(_0x187ab6,_0x51d6a2,_0xd91d1b,_0x5a3cfd){const _0x57bb00=_0x449ba4;super(),_0xb1ba3a(this,'_cursors',new Set()),_0xb1ba3a(this,_0x57bb00(0x2b7),null),(this[_0x57bb00(0x3d0)]=_0x187ab6,this['_sheetSkeletonManagerService']=_0x51d6a2,this[_0x57bb00(0x354)]=_0xd91d1b,this[_0x57bb00(0x270)]=_0x5a3cfd,this[_0x57bb00(0x382)]());}[_0x449ba4(0x382)](){const _0x22ee6e=_0x449ba4;this[_0x22ee6e(0x36b)][_0x22ee6e(0x2fb)][_0x22ee6e(0x3b1)](_0x54dd64[_0x22ee6e(0x335)](this[_0x22ee6e(0x369)]),_0x54dd64[_0x22ee6e(0x24a)](_0x4715c2=>{const _0x28f121=_0x22ee6e;if(_0x4715c2){const _0x4e09a3=_0x4715c2[_0x28f121(0x2af)];return _0x2af810[_0x28f121(0x37e)](this[_0x28f121(0x354)][_0x28f121(0x297)](this[_0x28f121(0x3d0)][_0x28f121(0x398)]),this['_themeService'][_0x28f121(0x33c)])[_0x28f121(0x3b1)](_0x54dd64['map'](([_0x227e5a,_0x380d22])=>{const _0x306974=new Map();return _0x227e5a['forEach']((_0x1120f3,_0x391e17)=>{const _0xcc2af6=_0x94a3;if(_0x1120f3[_0xcc2af6(0x386)]===_0x4e09a3){const _0x4f91a5={..._0x1120f3};_0x4f91a5['color']=this[_0xcc2af6(0x270)]['getColorFromTheme'](_0x1120f3[_0xcc2af6(0x23e)]),_0x306974[_0xcc2af6(0x34d)](_0x391e17,_0x4f91a5);}}),{'skeleton':_0x4715c2,'cursors':_0x306974};}));}return _0x2af810['of']({'skeleton':null,'cursors':new Map()});}))[_0x22ee6e(0x3e8)](({skeleton:_0xbb8d8,cursors:_0x5d97ff})=>{const _0x513eee=_0x22ee6e;this[_0x513eee(0x37c)](),_0xbb8d8&&this['_updateCollabCursors'](_0xbb8d8,_0x5d97ff);}),this['_sheetSkeletonManagerService'][_0x22ee6e(0x2fb)][_0x22ee6e(0x3e8)](_0xaf8d4a=>{const _0x33fce1=_0x22ee6e;if(_0xaf8d4a==null)return;const {skeleton:_0x429ded}=_0xaf8d4a,{scene:_0x5c50f2}=this['_context'];_0x5c50f2[_0x33fce1(0x40a)][_0x33fce1(0x2b1)](_0x4d81d1['debounce'](_0x410e53=>{const _0x150818=_0x33fce1;var _0x873b0c,_0xa45ecd;const {offsetX:_0x316c9b,offsetY:_0x4be86b}=_0x410e53,{x:_0x4a4c22,y:_0x1a6d5e}=_0x5c50f2['getRelativeToViewportCoord'](_0x2c2228['Vector2'][_0x150818(0x2ef)]([_0x316c9b,_0x4be86b])),{scaleX:_0xf6925b,scaleY:_0x2e245e}=_0x5c50f2[_0x150818(0x29a)](),_0x39edbc=_0x5c50f2[_0x150818(0x450)](_0x2c2228[_0x150818(0x25a)][_0x150818(0x27c)]),_0x8aeb08=_0x5c50f2[_0x150818(0x379)](_0x2c2228[_0x150818(0x2fa)]['FromArray']([_0x4a4c22,_0x1a6d5e]),_0x39edbc),_0xf19f19=_0x429ded['getCellPositionByOffset'](_0x316c9b,_0x4be86b,_0xf6925b,_0x2e245e,_0x8aeb08);((_0x873b0c=this[_0x150818(0x2b7)])==null?void 0x0:_0x873b0c[_0x150818(0x360)])===_0xf19f19[_0x150818(0x360)]&&((_0xa45ecd=this[_0x150818(0x2b7)])==null?void 0x0:_0xa45ecd[_0x150818(0x3ec)])===_0xf19f19['row']||this[_0x150818(0x36f)][_0x150818(0x27b)](_0x279a73=>{_0x279a73['onMouseMove'](_0xf19f19);});},0x64));});}[_0x449ba4(0x35d)](_0x8e43ff,_0x4ba72b){const _0x4628e5=_0x449ba4;var _0x3cf985;const _0x5e3623=(_0x3cf985=this['_sheetSkeletonManagerService'][_0x4628e5(0x1fc)]())==null?void 0x0:_0x3cf985[_0x4628e5(0x233)];if(!_0x5e3623)return;const _0x1322c6=this[_0x4628e5(0x375)]();if(!_0x1322c6)return;this[_0x4628e5(0x36f)][_0x4628e5(0x27b)](_0x25159c=>{_0x25159c['makeDirty']();});const {scene:_0x475f23}=_0x1322c6,_0x3e5018=_0x437e7e(Array[_0x4628e5(0x32c)](_0x4ba72b[_0x4628e5(0x323)]()))[_0x4628e5(0x413)](_0x49232c=>{const _0x4d8286=_0x4628e5,{color:_0x5601da,range:_0x2ea4fd,name:_0x5364e5,selection:_0x55238e,sheetID:_0x4a80e5}=_0x49232c,{startColumn:_0x58cf04,startRow:_0x22a2d4,endColumn:_0x4b2ed5,endRow:_0x1397b1}=_0x2ea4fd,_0x5ab171=_0x5d8437[_0x4d8286(0x3ad)](_0x22a2d4,_0x58cf04,_0x475f23,_0x5e3623),_0x2398d5=_0x5d8437[_0x4d8286(0x3ad)](_0x1397b1,_0x4b2ed5,_0x475f23,_0x5e3623),{columnHeaderHeightAndMarginTop:_0x3d221b}=_0x5e3623,{startX:_0x5ef07b,startY:_0x5b6e22}=_0x5ab171,{endX:_0x1817e1,endY:_0x4599b9}=_0x2398d5,_0x42519a=_0x1817e1-_0x5ef07b,_0x29402a=_0x4599b9-_0x5b6e22,_0x5b4a39={'labelPosition':_0x5b6e22-_0x3d221b>=_0x21c66f?_0x4d8286(0x2a9):_0x4d8286(0x280),'sheetID':_0x4a80e5,'range':_0x2ea4fd,'color':_0x5601da,'name':_0x5364e5,'selection':_0x55238e,'left':_0x5ef07b,'top':_0x5b6e22,'width':_0x42519a,'height':_0x29402a,'evented':!0x1,'zIndex':_0x48ef02};return new _0x414759(_0x5364e5,_0x5b4a39);});_0x475f23[_0x4628e5(0x1f0)](_0x3e5018,_0x15db92),this[_0x4628e5(0x36f)]=new Set(_0x3e5018);}[_0x449ba4(0x37c)](){const _0x58380d=_0x449ba4;var _0x45373e;(_0x45373e=this[_0x58380d(0x36f)])==null||_0x45373e[_0x58380d(0x27b)](_0x353b8c=>_0x353b8c[_0x58380d(0x3d4)]());}['_getSheetObject'](){const _0x57740d=_0x449ba4;return _0x5d8437['getSheetObject'](this[_0x57740d(0x3d0)][_0x57740d(0x3c6)],this['_context']);}};_0x3cc75d=_0x1f11f3([_0x144ecd(0x1,_0x4d81d1['Inject'](_0x5d8437[_0x449ba4(0x2c5)])),_0x144ecd(0x2,_0x4d81d1['Inject'](_0x5f01b6)),_0x144ecd(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x208)]))],_0x3cc75d);function _0x437e7e(_0x49bb46){const _0x5c467a=_0x449ba4,_0x3279a1=new Map();return _0x49bb46[_0x5c467a(0x27b)](_0x314ab9=>{const _0x1ede2a=_0x5c467a;if(_0x3279a1[_0x1ede2a(0x3fc)](_0x314ab9[_0x1ede2a(0x3c4)])){const _0x47a63c=_0x3279a1['get'](_0x314ab9['selection']);_0x47a63c[_0x1ede2a(0x1d1)]+=',\x20'+_0x314ab9['name'];}else _0x3279a1['set'](_0x314ab9[_0x1ede2a(0x3c4)],_0x314ab9);}),Array[_0x5c467a(0x32c)](_0x3279a1[_0x5c467a(0x323)]());}var _0x1b1b01=function(){const _0x2bf94a=_0x449ba4;return _0x1b1b01=Object[_0x2bf94a(0x3e6)]||function(_0x1e9905){const _0x1770ef=_0x2bf94a;for(var _0x1e1b2a,_0x76f2e9=0x1,_0x200cba=arguments[_0x1770ef(0x3eb)];_0x76f2e9<_0x200cba;_0x76f2e9++){_0x1e1b2a=arguments[_0x76f2e9];for(var _0x571324 in _0x1e1b2a)Object['prototype'][_0x1770ef(0x424)][_0x1770ef(0x211)](_0x1e1b2a,_0x571324)&&(_0x1e9905[_0x571324]=_0x1e1b2a[_0x571324]);}return _0x1e9905;},_0x1b1b01[_0x2bf94a(0x3b5)](this,arguments);},_0x46653b=function(_0x35b3c1,_0x5d138b){const _0x4fbad4=_0x449ba4;var _0x355428={};for(var _0x5e0efe in _0x35b3c1)Object[_0x4fbad4(0x363)][_0x4fbad4(0x424)][_0x4fbad4(0x211)](_0x35b3c1,_0x5e0efe)&&_0x5d138b[_0x4fbad4(0x443)](_0x5e0efe)<0x0&&(_0x355428[_0x5e0efe]=_0x35b3c1[_0x5e0efe]);if(_0x35b3c1!=null&&typeof Object[_0x4fbad4(0x42f)]=='function'){for(var _0x5d1d1f=0x0,_0x5e0efe=Object['getOwnPropertySymbols'](_0x35b3c1);_0x5d1d1f<_0x5e0efe[_0x4fbad4(0x3eb)];_0x5d1d1f++)_0x5d138b[_0x4fbad4(0x443)](_0x5e0efe[_0x5d1d1f])<0x0&&Object['prototype'][_0x4fbad4(0x3f6)][_0x4fbad4(0x211)](_0x35b3c1,_0x5e0efe[_0x5d1d1f])&&(_0x355428[_0x5e0efe[_0x5d1d1f]]=_0x35b3c1[_0x5e0efe[_0x5d1d1f]]);}return _0x355428;},_0x55c776=_0x3174a9[_0x449ba4(0x267)](function(_0x4adea2,_0x6f280){const _0xf4d3f1=_0x449ba4;var _0x165d50=_0x4adea2[_0xf4d3f1(0x3ed)],_0x33017f=_0x4adea2['id'],_0x544f97=_0x4adea2['className'],_0x2d37a1=_0x4adea2['extend'],_0x38bcfe=_0x46653b(_0x4adea2,[_0xf4d3f1(0x3ed),'id',_0xf4d3f1(0x42c),'extend']),_0x2f110b=_0xf4d3f1(0x41d)[_0xf4d3f1(0x419)](_0x33017f,'\x20')[_0xf4d3f1(0x419)](_0x544f97||'')[_0xf4d3f1(0x38a)](),_0x29119c=_0x3174a9['useRef']('_'[_0xf4d3f1(0x419)](_0x326236()));return _0x1657e6(_0x165d50,''['concat'](_0x33017f),{'defIds':_0x165d50['defIds'],'idSuffix':_0x29119c[_0xf4d3f1(0x1b4)]},_0x1b1b01({'ref':_0x6f280,'className':_0x2f110b},_0x38bcfe),_0x2d37a1);});function _0x1657e6(_0x36614a,_0x254411,_0x54b297,_0x3ae5f9,_0x203f71){const _0x452237=_0x449ba4;return _0x3174a9[_0x452237(0x3df)](_0x36614a[_0x452237(0x380)],_0x1b1b01(_0x1b1b01({'key':_0x254411},_0x3fd6a6(_0x36614a,_0x54b297,_0x203f71)),_0x3ae5f9),(_0x5e5602(_0x36614a,_0x54b297)['children']||[])[_0x452237(0x413)](function(_0x4c9a04,_0x55d490){const _0x1f890d=_0x452237;return _0x1657e6(_0x4c9a04,''[_0x1f890d(0x419)](_0x254411,'-')[_0x1f890d(0x419)](_0x36614a[_0x1f890d(0x380)],'-')[_0x1f890d(0x419)](_0x55d490),_0x54b297,void 0x0,_0x203f71);}));}function _0x3fd6a6(_0x455200,_0xfb7f41,_0x5a8207){const _0x589363=_0x449ba4;var _0x40273b=_0x1b1b01({},_0x455200['attrs']);_0x5a8207!=null&&_0x5a8207[_0x589363(0x3fd)]&&_0x40273b[_0x589363(0x43b)]==='colorChannel1'&&(_0x40273b[_0x589363(0x43b)]=_0x5a8207[_0x589363(0x3fd)]),_0x455200['tag']===_0x589363(0x290)&&_0x40273b['id']&&(_0x40273b['id']=_0x40273b['id']+_0xfb7f41[_0x589363(0x261)]),Object[_0x589363(0x2f0)](_0x40273b)[_0x589363(0x27b)](function(_0x4edbd7){const _0x1eabbb=_0x589363;var _0x27ee17=_0x4edbd7[0x0],_0x114931=_0x4edbd7[0x1];_0x27ee17==='mask'&&typeof _0x114931==_0x1eabbb(0x260)&&(_0x40273b[_0x27ee17]=_0x114931[_0x1eabbb(0x255)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xfb7f41[_0x1eabbb(0x261)],')')));});var _0x2c31ff=_0xfb7f41['defIds'];return!_0x2c31ff||_0x2c31ff[_0x589363(0x3eb)]===0x0||(_0x455200['tag']===_0x589363(0x220)&&_0x40273b[_0x589363(0x28a)]&&(_0x40273b[_0x589363(0x28a)]=_0x40273b[_0x589363(0x28a)]+_0xfb7f41[_0x589363(0x261)]),Object[_0x589363(0x2f0)](_0x40273b)['forEach'](function(_0x277966){const _0x5efe77=_0x589363;var _0x5e4da6=_0x277966[0x0],_0x2c7d6b=_0x277966[0x1];typeof _0x2c7d6b=='string'&&(_0x40273b[_0x5e4da6]=_0x2c7d6b[_0x5efe77(0x255)](/url\(#(.*)\)/,_0x5efe77(0x3c0)[_0x5efe77(0x419)](_0xfb7f41[_0x5efe77(0x261)],')')));})),_0x40273b;}function _0x5e5602(_0x4d339e,_0x1cbdd3){const _0x1efd22=_0x449ba4;var _0x23a70a,_0x1aa64c=_0x1cbdd3[_0x1efd22(0x3e9)];return!_0x1aa64c||_0x1aa64c['length']===0x0?_0x4d339e:_0x4d339e[_0x1efd22(0x380)]==='defs'&&(!((_0x23a70a=_0x4d339e[_0x1efd22(0x293)])===null||_0x23a70a===void 0x0)&&_0x23a70a[_0x1efd22(0x3eb)])?_0x1b1b01(_0x1b1b01({},_0x4d339e),{'children':_0x4d339e['children'][_0x1efd22(0x413)](function(_0x2ff3e0){const _0x1a4746=_0x1efd22;return typeof _0x2ff3e0[_0x1a4746(0x2d9)]['id']=='string'&&_0x1aa64c&&_0x1aa64c[_0x1a4746(0x1e1)](_0x2ff3e0['attrs']['id'])?_0x1b1b01(_0x1b1b01({},_0x2ff3e0),{'attrs':_0x1b1b01(_0x1b1b01({},_0x2ff3e0[_0x1a4746(0x2d9)]),{'id':_0x2ff3e0['attrs']['id']+_0x1cbdd3[_0x1a4746(0x261)]})}):_0x2ff3e0;})}):_0x4d339e;}function _0x326236(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x55c776[_0x449ba4(0x332)]=_0x449ba4(0x347);var _0x2d7078={'tag':'svg','attrs':{'xmlns':_0x449ba4(0x2eb),'fill':_0x449ba4(0x1ee),'viewBox':_0x449ba4(0x31c),'width':_0x449ba4(0x234),'height':_0x449ba4(0x234)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x449ba4(0x410),'attrs':{'stroke':_0x449ba4(0x29e),'d':_0x449ba4(0x3d6),'strokeLinecap':_0x449ba4(0x38d),'strokeLinejoin':_0x449ba4(0x38d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x449ba4(0x2da),'attrs':{'id':_0x449ba4(0x1bc)},'children':[{'tag':_0x449ba4(0x410),'attrs':{'fill':_0x449ba4(0x325),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x1a9991=_0x3174a9['forwardRef'](function(_0x27fd97,_0x323538){const _0x2ccd4b=_0x449ba4;return _0x3174a9[_0x2ccd4b(0x3df)](_0x55c776,Object[_0x2ccd4b(0x3e6)]({},_0x27fd97,{'id':_0x2ccd4b(0x3ef),'ref':_0x323538,'icon':_0x2d7078}));});_0x1a9991[_0x449ba4(0x332)]=_0x449ba4(0x1da);var _0x3c67b6={'tag':_0x449ba4(0x3cb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x449ba4(0x1ee),'viewBox':_0x449ba4(0x26b),'width':_0x449ba4(0x234),'height':_0x449ba4(0x234)},'children':[{'tag':'g','attrs':{'clipPath':_0x449ba4(0x3a9)},'children':[{'tag':_0x449ba4(0x410),'attrs':{'stroke':_0x449ba4(0x29e),'d':_0x449ba4(0x319),'strokeLinecap':_0x449ba4(0x38d),'strokeLinejoin':_0x449ba4(0x38d),'strokeWidth':1.2}}]},{'tag':_0x449ba4(0x269),'attrs':{},'children':[{'tag':_0x449ba4(0x2da),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x449ba4(0x410),'attrs':{'fill':_0x449ba4(0x325),'d':_0x449ba4(0x1b8),'transform':_0x449ba4(0x2dc)}}]}]}],'defIds':[_0x449ba4(0x1d0)]},_0xa71daf=_0x3174a9['forwardRef'](function(_0x85506f,_0x18d1e3){const _0x2be614=_0x449ba4;return _0x3174a9[_0x2be614(0x3df)](_0x55c776,Object[_0x2be614(0x3e6)]({},_0x85506f,{'id':_0x2be614(0x357),'ref':_0x18d1e3,'icon':_0x3c67b6}));});_0xa71daf[_0x449ba4(0x332)]=_0x449ba4(0x224);function _0x5dbe16(_0x326b84){const _0x3f9e4b=_0x449ba4;switch(_0x326b84){case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x345)]:return _0x3f9e4b(0x296);case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x352)]:return _0x3f9e4b(0x2f6);case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x273)]:return _0x3f9e4b(0x2e5);case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x368)]:return'collabStatus.notCollab';case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x37f)]:case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x215)]:return'collabStatus.syncing';case _0x7e6ef6[_0x3f9e4b(0x281)]['SYNCED']:case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x275)]:return _0x3f9e4b(0x249);}}function _0x1d0066(_0x168410){const _0x5cd0df=_0x449ba4,{status$:_0x3cd5a3}=_0x168410,_0x35fd67=_0x2a4dd8[_0x5cd0df(0x41e)](_0x3cd5a3,_0x7e6ef6[_0x5cd0df(0x281)][_0x5cd0df(0x368)]),_0x4003b5=_0x2a4dd8['useDependency'](_0x4d81d1['LocaleService']),_0x5c4948=_0x2a4dd8[_0x5cd0df(0x337)](_0x7e6ef6[_0x5cd0df(0x26c)]),_0x1f10f0=_0x35fd67!==_0x7e6ef6[_0x5cd0df(0x281)][_0x5cd0df(0x345)],_0x508db3=_0x4003b5['t'](_0x5dbe16(_0x35fd67)),_0x231a0d=_0x1f10f0?_0x5c0380[_0x5cd0df(0x41a)](_0xa71daf,{}):_0x5c0380[_0x5cd0df(0x41a)](_0x1a9991,{}),_0x2912b4=_0x3174a9['useCallback'](()=>{_0x1f10f0||_0x5c4948['reconnect']();},[_0x1f10f0,_0x5c4948]);function _0x27cbed(){const _0x17fd4b=_0x5cd0df;return _0x5c0380['jsxs'](_0x17fd4b(0x320),{'className':_0x17fd4b(0x277),'onClick':_0x2912b4,'children':[_0x5c0380[_0x17fd4b(0x41a)]('div',{'className':_0x427b5c[_0x17fd4b(0x428)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1f10f0,'univer-text-red-500':!_0x1f10f0}),'children':_0x231a0d}),_0x5c0380['jsx'](_0x17fd4b(0x320),{'className':_0x17fd4b(0x31e),'children':_0x508db3})]});}return _0x1f10f0?_0x27cbed():_0x5c0380[_0x5cd0df(0x41a)](_0x427b5c['Tooltip'],{'title':_0x4003b5['t']('collab-client.tooltip.reconnect'),'children':_0x27cbed()});}var _0x2d63d7=Object[_0x449ba4(0x1d2)],_0x3e6a56=(_0x512024,_0x241e34,_0x465037,_0x203946)=>{const _0x4ea3b4=_0x449ba4;for(var _0x3690b8=_0x203946>0x1?void 0x0:_0x203946?_0x2d63d7(_0x241e34,_0x465037):_0x241e34,_0x47551f=_0x512024[_0x4ea3b4(0x3eb)]-0x1,_0x41cb09;_0x47551f>=0x0;_0x47551f--)(_0x41cb09=_0x512024[_0x47551f])&&(_0x3690b8=_0x41cb09(_0x3690b8)||_0x3690b8);return _0x3690b8;},_0x44a562=(_0x11a42e,_0x247864)=>(_0x5ec855,_0x344f5f)=>_0x247864(_0x5ec855,_0x344f5f,_0x11a42e);_0x47440c[_0x449ba4(0x282)]=class extends _0x4d81d1[_0x449ba4(0x1c5)]{constructor(_0x2bbcdf,_0xb55023,_0x1fc69a,_0x5d28a0){const _0x4cf8db=_0x449ba4;super(),_0xb1ba3a(this,_0x4cf8db(0x2b4),new _0x2af810['BehaviorSubject'](_0x7e6ef6[_0x4cf8db(0x281)][_0x4cf8db(0x368)])),(this[_0x4cf8db(0x231)]=_0x2bbcdf,this[_0x4cf8db(0x1f1)]=_0xb55023,this[_0x4cf8db(0x232)]=_0x1fc69a,this[_0x4cf8db(0x3e2)]=_0x5d28a0,this[_0x4cf8db(0x3b8)](),this['_initStatusListener']());}[_0x449ba4(0x374)](){const _0x1c811e=_0x449ba4;this[_0x1c811e(0x30e)](this[_0x1c811e(0x231)][_0x1c811e(0x1f2)][_0x1c811e(0x3b1)](_0x2af810[_0x1c811e(0x24a)](()=>{const _0x2367b9=_0x1c811e,_0x276404=this['_univerInstanceService']['getFocusedUnit']();return _0x276404?this[_0x2367b9(0x232)]['getCollabEntity$'](_0x276404[_0x2367b9(0x39c)]()):_0x2af810['of'](null);}),_0x2af810[_0x1c811e(0x24a)](_0x54c911=>_0x54c911?_0x54c911['status$']:_0x2af810['of'](_0x7e6ef6[_0x1c811e(0x281)][_0x1c811e(0x368)])))[_0x1c811e(0x3e8)](_0x45c6a1=>{this['_status$']['next'](_0x45c6a1);}));}['_initStatusComponent'](){const _0x324aae=_0x449ba4;this[_0x324aae(0x30e)](this[_0x324aae(0x3e2)][_0x324aae(0x361)](_0x2a4dd8['BuiltInUIPart'][_0x324aae(0x2db)],()=>_0x2a4dd8[_0x324aae(0x312)](_0xd9c979({'status$':this[_0x324aae(0x2b4)][_0x324aae(0x36a)]()}),this[_0x324aae(0x1f1)])));}},_0x47440c[_0x449ba4(0x282)]=_0x3e6a56([_0x44a562(0x0,_0x4d81d1[_0x449ba4(0x218)]),_0x44a562(0x1,_0x4d81d1['Inject'](_0x4d81d1[_0x449ba4(0x43e)])),_0x44a562(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x7e6ef6['CollaborationController'])),_0x44a562(0x3,_0x2a4dd8['IUIPartsService'])],_0x47440c[_0x449ba4(0x282)]);function _0xd9c979(_0x100dd9){const {status$:_0x37cc8b}=_0x100dd9;return function(){const _0x55df83=_0x94a3;return _0x5c0380[_0x55df83(0x41a)](_0x1d0066,{'status$':_0x37cc8b});};}var _0x4e3aef=Object[_0x449ba4(0x1d2)],_0x1d37e8=(_0x38acc3,_0x5335b4,_0x1e2ca6,_0x285c1a)=>{const _0x516ecc=_0x449ba4;for(var _0xb78d48=_0x285c1a>0x1?void 0x0:_0x285c1a?_0x4e3aef(_0x5335b4,_0x1e2ca6):_0x5335b4,_0x1e0b29=_0x38acc3[_0x516ecc(0x3eb)]-0x1,_0x1ebb9f;_0x1e0b29>=0x0;_0x1e0b29--)(_0x1ebb9f=_0x38acc3[_0x1e0b29])&&(_0xb78d48=_0x1ebb9f(_0xb78d48)||_0xb78d48);return _0xb78d48;},_0x52d21b=(_0x526cfd,_0x44e2c8)=>(_0x22266a,_0x2d7cf4)=>_0x44e2c8(_0x22266a,_0x2d7cf4,_0x526cfd);let _0xf23663=class extends _0x4d81d1[_0x449ba4(0x1c5)]{constructor(_0x5e8295,_0x30cff7,_0x419c43,_0x19c029,_0x399d61,_0x39e0db){const _0x2a41a2=_0x449ba4;super(),this[_0x2a41a2(0x432)]=_0x5e8295,this[_0x2a41a2(0x1ef)]=_0x30cff7,this['_collaborationUIEventService']=_0x419c43,this[_0x2a41a2(0x20f)]=_0x19c029,this[_0x2a41a2(0x330)]=_0x399d61,this[_0x2a41a2(0x3cc)]=_0x39e0db,this[_0x2a41a2(0x37d)](),this[_0x2a41a2(0x2a7)]();}['_setupBeforeClosingHandler'](){const _0x2a9e42=_0x449ba4;this[_0x2a9e42(0x30e)](this['_beforeCloseService'][_0x2a9e42(0x3f5)](()=>{const _0x2c5f94=_0x2a9e42;if(this[_0x2c5f94(0x1ef)][_0x2c5f94(0x279)][_0x2c5f94(0x35b)])return this[_0x2c5f94(0x3cc)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x449ba4(0x2a7)](){const _0x364e67=_0x449ba4;this[_0x364e67(0x30e)](this[_0x364e67(0x33b)][_0x364e67(0x407)]['subscribe'](_0x2f65f6=>{const _0x443807=_0x364e67;_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)][_0x443807(0x40b)]&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x2df)],'content':this[_0x443807(0x3cc)]['t'](_0x443807(0x24f))}),_0x2f65f6['id']===_0x7e6ef6['CollaborationUIEventId'][_0x443807(0x201)]&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c['MessageType']['Warning'],'content':this[_0x443807(0x3cc)]['t'](_0x443807(0x3da))}),_0x2f65f6['id']===_0x7e6ef6['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x443807(0x330)][_0x443807(0x36e)]({'title':this[_0x443807(0x3cc)]['t'](_0x443807(0x3d1)),'content':this['_localeService']['t'](_0x443807(0x446)),'type':'error','duration':0x0}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)][_0x443807(0x352)]&&this[_0x443807(0x20f)]['show']({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x427)],'content':this[_0x443807(0x3cc)]['t']('collaboration.closeRoom')+'('+_0x2f65f6[_0x443807(0x314)]+')'}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)]['JOIN_ROOM_FAILED']&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x2df)],'content':this[_0x443807(0x3cc)]['t'](_0x2f65f6[_0x443807(0x314)]||'')}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)]['SOCKET_FAILED_RETRY']&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x2df)],'content':this[_0x443807(0x3cc)]['t'](_0x443807(0x316))}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)][_0x443807(0x26f)]&&this['_messageService'][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x427)],'content':this['_localeService']['t'](_0x443807(0x40d))}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)][_0x443807(0x365)]&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x427)],'content':this[_0x443807(0x3cc)]['t'](_0x443807(0x241))});}));}};_0xf23663=_0x1d37e8([_0x52d21b(0x0,_0x2a4dd8[_0x449ba4(0x36d)]),_0x52d21b(0x1,_0x7e6ef6[_0x449ba4(0x247)]),_0x52d21b(0x2,_0x4d81d1['Inject'](_0x7e6ef6[_0x449ba4(0x3ab)])),_0x52d21b(0x3,_0x2a4dd8[_0x449ba4(0x3a6)]),_0x52d21b(0x4,_0x2a4dd8[_0x449ba4(0x393)]),_0x52d21b(0x5,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x28e)]))],_0xf23663);const _0x5c6d95=_0x449ba4(0x1f3),_0x1e33a4={},_0x21e793=_0x4d81d1[_0x449ba4(0x308)](_0x449ba4(0x3e0));var _0xc1db85=Object[_0x449ba4(0x1d2)],_0x30e060=(_0x14c1b3,_0x352cc6,_0x3dcc1c,_0x30f01f)=>{for(var _0x5f0269=_0x30f01f>0x1?void 0x0:_0x30f01f?_0xc1db85(_0x352cc6,_0x3dcc1c):_0x352cc6,_0x2b9b08=_0x14c1b3['length']-0x1,_0x439db2;_0x2b9b08>=0x0;_0x2b9b08--)(_0x439db2=_0x14c1b3[_0x2b9b08])&&(_0x5f0269=_0x439db2(_0x5f0269)||_0x5f0269);return _0x5f0269;},_0x380ea5=(_0x13d609,_0x10564d)=>(_0x50dbfc,_0x495d43)=>_0x10564d(_0x50dbfc,_0x495d43,_0x13d609);_0x47440c[_0x449ba4(0x2c4)]=class extends _0x4d81d1['RxDisposable']{constructor(_0x2329b4,_0x48cec6,_0x4d0181,_0x3fb69e,_0x3f2a4b){const _0x3c0468=_0x449ba4;super(),this['_urlService']=_0x2329b4,this[_0x3c0468(0x3ea)]=_0x48cec6,this[_0x3c0468(0x3c7)]=_0x4d0181,this[_0x3c0468(0x2ab)]=_0x3fb69e,_0x3f2a4b?_0x3f2a4b==null||_0x3f2a4b[_0x3c0468(0x1c9)]()[_0x3c0468(0x2f1)](()=>this[_0x3c0468(0x382)]()):(this[_0x3c0468(0x3ea)]['debug'](_0x3c0468(0x1e7),_0x3c0468(0x3cd)),this[_0x3c0468(0x382)]());}async[_0x449ba4(0x382)](){const _0x49db2b=_0x449ba4,_0x4d6d80=this['_urlService'][_0x49db2b(0x284)]('unit'),_0x274975=this[_0x49db2b(0x1c1)]['getParam']('type'),_0x43f4b1=this['_urlService'][_0x49db2b(0x284)](_0x49db2b(0x205));if(!_0x4d6d80||!_0x274975){this[_0x49db2b(0x3ea)][_0x49db2b(0x1de)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2c704d=await this[_0x49db2b(0x2ab)][_0x49db2b(0x285)](_0x4d6d80,Number(_0x274975),_0x43f4b1);_0x2c704d&&_0x2c704d instanceof _0x4d81d1['Workbook']&&this[_0x49db2b(0x3bb)](_0x2c704d);}async[_0x449ba4(0x3bb)](_0x422c09){const _0x14d9d6=_0x449ba4;await this[_0x14d9d6(0x248)](_0x422c09),_0x422c09[_0x14d9d6(0x403)][_0x14d9d6(0x3b1)](_0x2af810['takeUntil'](this[_0x14d9d6(0x369)]))['subscribe'](_0x5253ed=>{const _0x4d026e=_0x14d9d6;_0x5253ed&&this[_0x4d026e(0x29d)](_0x5253ed);}),this['_urlService'][_0x14d9d6(0x3ee)][_0x14d9d6(0x3b1)](_0x2af810['takeUntil'](this[_0x14d9d6(0x369)]))['subscribe'](()=>this[_0x14d9d6(0x248)](_0x422c09));}['_updateURLWithCurrentState'](_0x4113d4,_0x3dafad=!0x1){const _0x4e1eb5=_0x449ba4,_0x2062f6=this[_0x4e1eb5(0x1c1)][_0x4e1eb5(0x284)]('subunit');_0x4113d4[_0x4e1eb5(0x388)]()!==_0x2062f6&&this[_0x4e1eb5(0x1c1)][_0x4e1eb5(0x1fa)](_0x4e1eb5(0x205),_0x4113d4[_0x4e1eb5(0x388)](),_0x3dafad);}async[_0x449ba4(0x248)](_0x3cc25d){const _0x30bc5f=_0x449ba4;var _0x4a9742;const _0xc16408=this[_0x30bc5f(0x1c1)][_0x30bc5f(0x284)](_0x30bc5f(0x205));if(!_0xc16408||!_0x3cc25d[_0x30bc5f(0x447)](_0xc16408)){const _0x1f2d1d=_0x3cc25d[_0x30bc5f(0x3b2)]()[0x0],_0x9bbe7a=_0x3cc25d[_0x30bc5f(0x447)](_0x1f2d1d);if(!_0x9bbe7a)return;this[_0x30bc5f(0x29d)](_0x9bbe7a,!0x0),await this[_0x30bc5f(0x3c7)][_0x30bc5f(0x25e)](_0x4a524b[_0x30bc5f(0x1fb)]['id'],{'unitId':_0x3cc25d[_0x30bc5f(0x39c)](),'subUnitId':_0x1f2d1d});return;}((_0x4a9742=_0x3cc25d[_0x30bc5f(0x370)]())==null?void 0x0:_0x4a9742['getSheetId']())!==_0xc16408&&await this[_0x30bc5f(0x3c7)][_0x30bc5f(0x25e)](_0x4a524b['SetWorksheetActivateCommand']['id'],{'unitId':_0x3cc25d[_0x30bc5f(0x39c)](),'subUnitId':_0xc16408});}},_0x47440c[_0x449ba4(0x2c4)]=_0x30e060([_0x380ea5(0x0,_0x21e793),_0x380ea5(0x1,_0x4d81d1[_0x449ba4(0x362)]),_0x380ea5(0x2,_0x4d81d1[_0x449ba4(0x1c2)]),_0x380ea5(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0x7e6ef6['DataLoaderService'])),_0x380ea5(0x4,_0x4d81d1['Optional'](_0x2f2e13[_0x449ba4(0x2a8)]))],_0x47440c['CollaborationDataLoaderController']);var _0x508fc7=Object[_0x449ba4(0x1d2)],_0x386c6c=(_0x212595,_0x15fac6,_0x3629e9,_0x4fcbea)=>{const _0x2eb97c=_0x449ba4;for(var _0x2cf1e1=_0x4fcbea>0x1?void 0x0:_0x4fcbea?_0x508fc7(_0x15fac6,_0x3629e9):_0x15fac6,_0x485f3d=_0x212595[_0x2eb97c(0x3eb)]-0x1,_0x46d911;_0x485f3d>=0x0;_0x485f3d--)(_0x46d911=_0x212595[_0x485f3d])&&(_0x2cf1e1=_0x46d911(_0x2cf1e1)||_0x2cf1e1);return _0x2cf1e1;},_0x5b8abc=(_0x13e5a7,_0x2080e1)=>(_0x9eae09,_0x30cbf3)=>_0x2080e1(_0x9eae09,_0x30cbf3,_0x13e5a7);let _0x2db2b8=class{constructor(_0x5d1a88,_0x5afb6e){const _0x50355d=_0x449ba4;this[_0x50355d(0x1d3)]=_0x5d1a88,this['_renderManagerService']=_0x5afb6e;}[_0x449ba4(0x257)](_0x2b5363){const _0x254f06=_0x449ba4;this['_transformUndoRedoStack'](_0x2b5363),this[_0x254f06(0x3a1)](_0x2b5363);}[_0x449ba4(0x38f)](_0x4b86cf){const _0x4d1930=_0x449ba4,{unitID:_0x539acb}=_0x4b86cf,_0x3574e6=this[_0x4d1930(0x2c2)]['getRenderById'](_0x539acb)[_0x4d1930(0x28f)](_0xf7ba88['DocIMEInputManagerService']),{redoCache:_0x15657c}=_0x3574e6['getUndoRedoMutationParamsCache']();if(_0x15657c['length']===0x0)return _0x4b86cf;let _0x1db029=_0x4d81d1[_0x4d1930(0x2f7)][_0x4d1930(0x266)](_0x4b86cf[_0x4d1930(0x32d)][0x0]);for(let _0x28e491=0x0;_0x28e491<_0x15657c['length'];_0x28e491++){const _0x43dc88={'id':'doc.mutation.rich-text-editing','params':{..._0x15657c[_0x28e491]}},_0x5d4085=this[_0x4d1930(0x1d3)][_0x4d1930(0x35c)](_0x1db029,_0x43dc88,!0x1);if(_0x7bc020['isTransformMutationFailure'](_0x5d4085))throw _0x5d4085[_0x4d1930(0x389)];_0x1db029=_0x5d4085[_0x4d1930(0x242)];}return{..._0x4d81d1[_0x4d1930(0x2f7)]['deepClone'](_0x4b86cf),'mutations':[_0x1db029]};}[_0x449ba4(0x3ba)](_0x434927){const _0x4e32fd=_0x449ba4,{unitID:_0x327f25}=_0x434927,_0x5590c2=this['_renderManagerService'][_0x4e32fd(0x326)](_0x327f25)[_0x4e32fd(0x28f)](_0xf7ba88['DocIMEInputManagerService']),{undoCache:_0x1432c5,redoCache:_0x2a3d52}=_0x5590c2[_0x4e32fd(0x31d)]();if(_0x1432c5[_0x4e32fd(0x3eb)]===0x0||_0x2a3d52[_0x4e32fd(0x3eb)]===0x0)return;const _0x10363b=[],_0x1c5970=[];let _0x5da0da=_0x4d81d1[_0x4e32fd(0x2f7)][_0x4e32fd(0x266)](_0x434927[_0x4e32fd(0x32d)][0x0]),_0x286d67=_0x4d81d1['Tools'][_0x4e32fd(0x266)](_0x434927[_0x4e32fd(0x32d)][0x0]);for(let _0x49a37c=_0x1432c5[_0x4e32fd(0x3eb)]-0x1;_0x49a37c>=0x0;_0x49a37c--){const _0x4dd1a3={'id':'doc.mutation.rich-text-editing','params':{..._0x1432c5[_0x49a37c]}},_0x19d059={'id':'doc.mutation.rich-text-editing','params':{..._0x2a3d52[_0x49a37c]}},_0x4a1af4=this[_0x4e32fd(0x1d3)][_0x4e32fd(0x35c)](_0x5da0da,_0x4dd1a3,!0x1),_0x2bb687=this[_0x4e32fd(0x1d3)][_0x4e32fd(0x35c)](_0x286d67,_0x19d059,!0x1);if(_0x7bc020[_0x4e32fd(0x265)](_0x4a1af4))throw _0x4a1af4[_0x4e32fd(0x389)];if(_0x7bc020[_0x4e32fd(0x265)](_0x2bb687))throw _0x2bb687[_0x4e32fd(0x389)];_0x10363b['unshift'](_0x4a1af4[_0x4e32fd(0x408)][_0x4e32fd(0x2a5)]),_0x1c5970[_0x4e32fd(0x30a)](_0x2bb687[_0x4e32fd(0x408)][_0x4e32fd(0x2a5)]),_0x5da0da=_0x4a1af4[_0x4e32fd(0x242)],_0x286d67=_0x2bb687[_0x4e32fd(0x242)];}_0x5590c2[_0x4e32fd(0x2fc)]({'undoCache':_0x10363b,'redoCache':_0x1c5970});}['_transformPreviousActiveRange'](_0x305200){const _0xc1e9ca=_0x449ba4,{unitID:_0x3233d9}=_0x305200,_0x2cd410=this['_renderManagerService'][_0xc1e9ca(0x326)](_0x3233d9)[_0xc1e9ca(0x28f)](_0xf7ba88[_0xc1e9ca(0x1e8)]),_0x42ead4=_0x2cd410[_0xc1e9ca(0x1cc)]();if(_0x42ead4==null)return;const _0x1933ff=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x305200[_0xc1e9ca(0x1fe)],'actions':null,'textRanges':[_0x42ead4]}}],_0x1b609f=this['_transformService'][_0xc1e9ca(0x203)](_0x305200,_0x1933ff);if(!_0x7bc020[_0xc1e9ca(0x22f)](_0x1b609f))throw _0x1b609f[_0xc1e9ca(0x389)];const _0x4a7321=_0x1b609f[_0xc1e9ca(0x408)][0x0]['params'][_0xc1e9ca(0x2c0)];Array[_0xc1e9ca(0x451)](_0x4a7321)&&_0x4a7321[_0xc1e9ca(0x3eb)]&&_0x2cd410[_0xc1e9ca(0x2e9)](_0x4a7321[0x0]);}};_0x2db2b8=_0x386c6c([_0x5b8abc(0x0,_0x7bc020[_0x449ba4(0x2f3)]),_0x5b8abc(0x1,_0x2c2228[_0x449ba4(0x38b)])],_0x2db2b8);var _0x454ea5=Object[_0x449ba4(0x1d2)],_0x2a845a=(_0x416efe,_0x27d436,_0x35311c,_0x1be741)=>{for(var _0x5b581e=_0x1be741>0x1?void 0x0:_0x1be741?_0x454ea5(_0x27d436,_0x35311c):_0x27d436,_0x1e1d34=_0x416efe['length']-0x1,_0x4e4e9a;_0x1e1d34>=0x0;_0x1e1d34--)(_0x4e4e9a=_0x416efe[_0x1e1d34])&&(_0x5b581e=_0x4e4e9a(_0x5b581e)||_0x5b581e);return _0x5b581e;},_0x3d57bb=(_0x208863,_0x534972)=>(_0x3b1da7,_0x4d5a13)=>_0x534972(_0x3b1da7,_0x4d5a13,_0x208863);let _0x3d42a1=class{constructor(_0x1907bc,_0x40743c,_0x43adb5){const _0x149e5d=_0x449ba4;this['_injector']=_0x1907bc,this[_0x149e5d(0x1d3)]=_0x40743c,this[_0x149e5d(0x3a0)]=_0x43adb5;}[_0x449ba4(0x2ad)](_0x5abbf3){this['_transformHistoryAndStateStack'](_0x5abbf3);}[_0x449ba4(0x38f)](_0x34fcef){const _0x4f9200=_0x449ba4,{unitID:_0x3274db}=_0x34fcef,{collaboration:_0x1f9cad}=this[_0x4f9200(0x3a0)][_0x4f9200(0x2ca)](_0x3274db);if(_0x1f9cad[_0x4f9200(0x3eb)]===0x0)return _0x34fcef;let _0x23aae9=_0x4d81d1[_0x4f9200(0x2f7)][_0x4f9200(0x266)](_0x34fcef['mutations'][0x0]);for(let _0x6d53bc=0x0;_0x6d53bc<_0x1f9cad[_0x4f9200(0x3eb)];_0x6d53bc++){const _0x3357bc={'id':_0x4f9200(0x40f),'params':{'unitId':_0x1f9cad[_0x6d53bc][_0x4f9200(0x398)],..._0x1f9cad[_0x6d53bc][_0x4f9200(0x292)]}},_0x4e9d39=this[_0x4f9200(0x1d3)][_0x4f9200(0x35c)](_0x23aae9,_0x3357bc,!0x1);if(_0x7bc020[_0x4f9200(0x265)](_0x4e9d39))throw _0x4e9d39[_0x4f9200(0x389)];_0x23aae9=_0x4e9d39[_0x4f9200(0x242)];}return{..._0x4d81d1['Tools'][_0x4f9200(0x266)](_0x34fcef),'mutations':[_0x23aae9]};}[_0x449ba4(0x3d3)](_0x22e37e){const _0x2e54f4=_0x449ba4,{unitID:_0x144871}=_0x22e37e,{history:_0x3bfe31,collaboration:_0x2f1b0e}=this[_0x2e54f4(0x3a0)][_0x2e54f4(0x2ca)](_0x144871);if(_0x3bfe31['length']===0x0&&_0x2f1b0e['length']===0x0)return;const _0x2bc72c=[],_0x131393=[];let _0x4e5215=_0x4d81d1['Tools'][_0x2e54f4(0x266)](_0x22e37e[_0x2e54f4(0x32d)][0x0]),_0x2ae782=_0x4d81d1[_0x2e54f4(0x2f7)][_0x2e54f4(0x266)](_0x22e37e[_0x2e54f4(0x32d)][0x0]);for(let _0x11791e=_0x3bfe31[_0x2e54f4(0x3eb)]-0x1;_0x11791e>=0x0;_0x11791e--){const _0x265efd={'id':_0x2e54f4(0x40f),'params':{'unitId':_0x3bfe31[_0x11791e][_0x2e54f4(0x398)],..._0x3bfe31[_0x11791e][_0x2e54f4(0x1c8)]}},_0x3081e9={'id':_0x2e54f4(0x40f),'params':{'unitId':_0x3bfe31[_0x11791e][_0x2e54f4(0x398)],..._0x3bfe31[_0x11791e][_0x2e54f4(0x292)]}},_0x2a56db=this[_0x2e54f4(0x1d3)][_0x2e54f4(0x35c)](_0x4e5215,_0x265efd,!0x1),_0xd6c7d4=this[_0x2e54f4(0x1d3)]['transformMutation'](_0x2ae782,_0x3081e9,!0x1);if(_0x7bc020[_0x2e54f4(0x265)](_0x2a56db))throw _0x2a56db[_0x2e54f4(0x389)];if(_0x7bc020['isTransformMutationFailure'](_0xd6c7d4))throw _0xd6c7d4[_0x2e54f4(0x389)];_0x2bc72c[_0x2e54f4(0x30a)]({..._0x3bfe31[_0x11791e],'undoState':_0x2a56db[_0x2e54f4(0x408)][_0x2e54f4(0x2a5)],'redoState':_0xd6c7d4[_0x2e54f4(0x408)][_0x2e54f4(0x2a5)]}),_0x4e5215=_0x2a56db[_0x2e54f4(0x242)],_0x2ae782=_0xd6c7d4[_0x2e54f4(0x242)];}_0x4e5215=_0x4d81d1['Tools'][_0x2e54f4(0x266)](_0x22e37e['mutations'][0x0]),_0x2ae782=_0x4d81d1['Tools'][_0x2e54f4(0x266)](_0x22e37e[_0x2e54f4(0x32d)][0x0]);for(let _0x340100=_0x2f1b0e[_0x2e54f4(0x3eb)]-0x1;_0x340100>=0x0;_0x340100--){const _0x529706={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f1b0e[_0x340100][_0x2e54f4(0x398)],..._0x2f1b0e[_0x340100][_0x2e54f4(0x1c8)]}},_0x58be10={'id':_0x2e54f4(0x40f),'params':{'unitId':_0x2f1b0e[_0x340100][_0x2e54f4(0x398)],..._0x2f1b0e[_0x340100][_0x2e54f4(0x292)]}},_0x596172=this['_transformService'][_0x2e54f4(0x35c)](_0x4e5215,_0x529706,!0x1),_0xe54729=this[_0x2e54f4(0x1d3)][_0x2e54f4(0x35c)](_0x2ae782,_0x58be10,!0x1);if(_0x7bc020['isTransformMutationFailure'](_0x596172))throw _0x596172[_0x2e54f4(0x389)];if(_0x7bc020[_0x2e54f4(0x265)](_0xe54729))throw _0xe54729[_0x2e54f4(0x389)];_0x131393[_0x2e54f4(0x30a)]({..._0x2f1b0e[_0x340100],'undoState':_0x596172[_0x2e54f4(0x408)][_0x2e54f4(0x2a5)],'redoState':_0xe54729[_0x2e54f4(0x408)]['params']}),_0x4e5215=_0x596172[_0x2e54f4(0x242)],_0x2ae782=_0xe54729[_0x2e54f4(0x242)];}this[_0x2e54f4(0x3a0)][_0x2e54f4(0x295)](_0x144871,{'history':_0x2bc72c,'collaboration':_0x131393});}};_0x3d42a1=_0x2a845a([_0x3d57bb(0x0,_0x4d81d1['Inject'](_0x4d81d1['Injector'])),_0x3d57bb(0x1,_0x7bc020[_0x449ba4(0x2f3)]),_0x3d57bb(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0xf7ba88[_0x449ba4(0x338)]))],_0x3d42a1);var _0x47cd49=Object[_0x449ba4(0x1d2)],_0x1f3d9c=(_0x1a6e64,_0x5bb612,_0x5ef310,_0x1ca5ef)=>{const _0x40476e=_0x449ba4;for(var _0x534c16=_0x1ca5ef>0x1?void 0x0:_0x1ca5ef?_0x47cd49(_0x5bb612,_0x5ef310):_0x5bb612,_0x1b5adb=_0x1a6e64[_0x40476e(0x3eb)]-0x1,_0x43df3b;_0x1b5adb>=0x0;_0x1b5adb--)(_0x43df3b=_0x1a6e64[_0x1b5adb])&&(_0x534c16=_0x43df3b(_0x534c16)||_0x534c16);return _0x534c16;},_0x21679e=(_0x1f1462,_0x41f26f)=>(_0x140348,_0x4a4e40)=>_0x41f26f(_0x140348,_0x4a4e40,_0x1f1462);let _0x17812d=class{constructor(_0x4230e0,_0x228ab9){const _0x243770=_0x449ba4;this[_0x243770(0x1f1)]=_0x4230e0,this[_0x243770(0x1d3)]=_0x228ab9;}[_0x449ba4(0x2d0)](_0x2a44e3){const _0xb75e9=_0x449ba4;var _0x3610be;const _0x28be98=this[_0xb75e9(0x1f1)]['get'](_0x3422c5['DocSelectionManagerService']),_0x4e43bd=(_0x3610be=_0x28be98[_0xb75e9(0x3f8)]())!=null?_0x3610be:[];if(_0x4e43bd[_0xb75e9(0x3eb)]===0x0)return;const _0x46bcf7=_0x2a44e3[_0xb75e9(0x1fe)],_0x1a4e9e=[{'id':_0xb75e9(0x40f),'params':{'unitId':_0x46bcf7,'actions':null,'textRanges':_0x4e43bd}}],_0x39c36e=this[_0xb75e9(0x1d3)][_0xb75e9(0x203)](_0x2a44e3,_0x1a4e9e);if(!_0x7bc020[_0xb75e9(0x22f)](_0x39c36e))throw _0x39c36e['error'];const _0x52990b=_0x39c36e[_0xb75e9(0x408)][0x0][_0xb75e9(0x2a5)][_0xb75e9(0x2c0)];Array[_0xb75e9(0x451)](_0x52990b)&&_0x52990b[_0xb75e9(0x3eb)]&&_0x28be98[_0xb75e9(0x20a)](_0x52990b,{'unitId':_0x46bcf7,'subUnitId':_0x46bcf7},!0x1);}};_0x17812d=_0x1f3d9c([_0x21679e(0x0,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x21679e(0x1,_0x7bc020[_0x449ba4(0x2f3)])],_0x17812d);var _0x1a4934=Object[_0x449ba4(0x1d2)],_0x51648d=(_0x38577c,_0x256282,_0x5acab6,_0x5ecf1f)=>{for(var _0x2b9fbc=_0x5ecf1f>0x1?void 0x0:_0x5ecf1f?_0x1a4934(_0x256282,_0x5acab6):_0x256282,_0x4d9b4a=_0x38577c['length']-0x1,_0x55505a;_0x4d9b4a>=0x0;_0x4d9b4a--)(_0x55505a=_0x38577c[_0x4d9b4a])&&(_0x2b9fbc=_0x55505a(_0x2b9fbc)||_0x2b9fbc);return _0x2b9fbc;},_0x4e1877=(_0x1ba3e9,_0x3b7655)=>(_0x36ad24,_0x22c506)=>_0x3b7655(_0x36ad24,_0x22c506,_0x1ba3e9);let _0xd05bc2=class extends _0x4d81d1[_0x449ba4(0x1c5)]{constructor(_0x35e3c8,_0x3cd1b4,_0x5664a8,_0x42a459,_0x47ed69,_0x62fcad,_0xdde9c2,_0x54468e){const _0x895148=_0x449ba4;super(),_0xb1ba3a(this,_0x895148(0x2b4),new _0x2af810[(_0x895148(0x3dd))](_0x7e6ef6[_0x895148(0x281)]['NOT_COLLAB'])),(this[_0x895148(0x3a0)]=_0x35e3c8,this[_0x895148(0x232)]=_0x3cd1b4,this[_0x895148(0x30f)]=_0x5664a8,this[_0x895148(0x390)]=_0x42a459,this[_0x895148(0x1ff)]=_0x47ed69,this[_0x895148(0x2e0)]=_0x62fcad,this[_0x895148(0x20f)]=_0xdde9c2,this[_0x895148(0x3cc)]=_0x54468e,this[_0x895148(0x207)]());}[_0x449ba4(0x207)](){const _0x305721=_0x449ba4;this[_0x305721(0x30e)](this[_0x305721(0x232)]['entityInit$'][_0x305721(0x3e8)](_0x3086ac=>{const _0x1fa4ef=_0x305721,_0x487578=this[_0x1fa4ef(0x3a0)][_0x1fa4ef(0x228)]['subscribe'](_0x36c168=>{const _0x3733b2=_0x1fa4ef;if(_0x36c168==null)return;const {unitId:_0x48030e,redoState:_0x3aed86,commandId:_0x833aa5}=_0x36c168;if(_0x48030e!==_0x3086ac[_0x3733b2(0x1fe)])return;const _0x22dfe1={'id':_0x833aa5,'type':_0x4d81d1[_0x3733b2(0x3b0)][_0x3733b2(0x1d9)],'params':{'unitId':_0x48030e,'actions':_0x3aed86[_0x3733b2(0x3a5)],'textRanges':null}};_0x3086ac[_0x3733b2(0x2f4)](_0x22dfe1);});if(_0x3086ac[_0x1fa4ef(0x30e)](_0x487578),_0x3086ac instanceof _0x7e6ef6['DocCollaborationEntity']){const _0x28c485={'onTransformIME':_0x4d0328=>this[_0x1fa4ef(0x30f)]['transformIMECache'](_0x4d0328),'onTransformState':_0x40c9d8=>this[_0x1fa4ef(0x390)][_0x1fa4ef(0x2ad)](_0x40c9d8),'onTransformSelections':_0x58672d=>this[_0x1fa4ef(0x1ff)][_0x1fa4ef(0x2d0)](_0x58672d),'onSyncEditingCollabCursor':_0xb6c0f9=>this[_0x1fa4ef(0x2e0)][_0x1fa4ef(0x416)](_0xb6c0f9),'onTransformRemoteChangesetByIMECache':_0x23fe5a=>this[_0x1fa4ef(0x30f)]['transformRemoteChangeset'](_0x23fe5a),'onTransformRemoteChangesetByStateCache':_0x344a2e=>this[_0x1fa4ef(0x390)][_0x1fa4ef(0x38f)](_0x344a2e)};_0x3086ac['addHandlerCallback'](_0x28c485);}}));}};_0xd05bc2=_0x51648d([_0x4e1877(0x0,_0x4d81d1[_0x449ba4(0x1e6)](_0xf7ba88[_0x449ba4(0x338)])),_0x4e1877(0x1,_0x4d81d1['Inject'](_0x7e6ef6[_0x449ba4(0x1dd)])),_0x4e1877(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x2db2b8)),_0x4e1877(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0x3d42a1)),_0x4e1877(0x4,_0x4d81d1[_0x449ba4(0x1e6)](_0x17812d)),_0x4e1877(0x5,_0x4d81d1[_0x449ba4(0x1e6)](_0x3944ef)),_0x4e1877(0x6,_0x2a4dd8[_0x449ba4(0x3a6)]),_0x4e1877(0x7,_0x4d81d1['Inject'](_0x4d81d1[_0x449ba4(0x28e)]))],_0xd05bc2);var _0x30894f=Object[_0x449ba4(0x1d2)],_0x26e083=(_0x2ae578,_0x5495a8,_0x561459,_0x4d0fd7)=>{const _0x360c38=_0x449ba4;for(var _0xe293d5=_0x4d0fd7>0x1?void 0x0:_0x4d0fd7?_0x30894f(_0x5495a8,_0x561459):_0x5495a8,_0x160f67=_0x2ae578[_0x360c38(0x3eb)]-0x1,_0x3077b4;_0x160f67>=0x0;_0x160f67--)(_0x3077b4=_0x2ae578[_0x160f67])&&(_0xe293d5=_0x3077b4(_0xe293d5)||_0xe293d5);return _0xe293d5;},_0x13b541=(_0x3c3fdf,_0x4e146b)=>(_0x4d96fe,_0x7610ec)=>_0x4e146b(_0x4d96fe,_0x7610ec,_0x3c3fdf);let _0x4cfcb5=class extends _0x4d81d1['Disposable']{constructor(_0x45c8da,_0x4c6a3e,_0x362943){const _0xb8387c=_0x449ba4;super(),_0xb1ba3a(this,_0xb8387c(0x35e),new Map()),_0xb1ba3a(this,_0xb8387c(0x24b),new Map()),_0xb1ba3a(this,_0xb8387c(0x355),!0x1),(this[_0xb8387c(0x1ea)]=_0x45c8da,this['_localStorageService']=_0x4c6a3e,this[_0xb8387c(0x2d5)]=_0x362943);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x449ba4(0x39a)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x2d6807=_0x449ba4;return this[_0x2d6807(0x24b)];}[_0x449ba4(0x3d4)](){const _0x1c419f=_0x449ba4;this[_0x1c419f(0x1d8)]()['then'](()=>super[_0x1c419f(0x3d4)]());}async['loadOfflineData'](_0x10d50b){const _0x36e92f=_0x449ba4;return this[_0x36e92f(0x355)]?null:this[_0x36e92f(0x3c2)][_0x36e92f(0x383)](_0x7e6ef6['getLocalCacheKey'](_0x10d50b));}async[_0x449ba4(0x1ed)](_0x2c9429,_0x396083){const _0x4a84d4=_0x449ba4;return!!this[_0x4a84d4(0x3c2)][_0x4a84d4(0x309)](_0x2c9429,_0x396083);}[_0x449ba4(0x287)](_0xcd9a29,_0x5486c1,_0x42f65e,_0x23541c){const _0x28a900=_0x449ba4,_0x440b7f=this[_0x28a900(0x2d5)]['getCurrentRevOfUnit'](_0xcd9a29);this[_0x28a900(0x35e)]['set'](_0xcd9a29,{'unitID':_0xcd9a29,'type':_0x5486c1,'awaitingChangeset':_0x42f65e,'mutations':_0x23541c,'rev':_0x440b7f}),this[_0x28a900(0x24b)]['has'](_0xcd9a29)||this[_0x28a900(0x372)](_0xcd9a29);}['_scheduleSaving'](_0x4186ee){const _0x238375=_0x449ba4,_0x2eb21e=this[_0x238375(0x2a6)]();_0x2eb21e===0x0?this[_0x238375(0x294)](_0x4186ee):this[_0x238375(0x24b)][_0x238375(0x34d)](_0x4186ee,setTimeout(()=>this[_0x238375(0x294)](_0x4186ee),_0x2eb21e));}[_0x449ba4(0x2a6)](){const _0x24be93=_0x449ba4;var _0x58daf7;return(_0x58daf7=this[_0x24be93(0x1ea)]['getConfig'](_0x7e6ef6[_0x24be93(0x2a1)]))!=null?_0x58daf7:_0x7e6ef6[_0x24be93(0x35a)];}[_0x449ba4(0x294)](_0x34422){const _0x2b1b95=_0x449ba4,_0xa40437=this['_saveTaskMap'][_0x2b1b95(0x420)](_0x34422);return _0xa40437!==void 0x0&&window['clearTimeout'](_0xa40437),this[_0x2b1b95(0x3c2)][_0x2b1b95(0x309)](_0x7e6ef6[_0x2b1b95(0x356)](_0x34422),this[_0x2b1b95(0x35e)][_0x2b1b95(0x420)](_0x34422))[_0x2b1b95(0x2f1)](()=>this[_0x2b1b95(0x24b)]['delete'](_0x34422));}async[_0x449ba4(0x1d8)](){const _0x1cccfc=_0x449ba4,_0x387d1c=[];this['_saveTaskMap']['forEach']((_0x5271de,_0x35e6eb)=>{const _0x2a706f=_0x94a3;window[_0x2a706f(0x28b)](_0x5271de),_0x387d1c[_0x2a706f(0x2d6)](this['_saveCache'](_0x35e6eb)[_0x2a706f(0x2f1)](()=>{const _0x1f2654=_0x2a706f;this[_0x1f2654(0x24b)][_0x1f2654(0x377)](_0x35e6eb);}));}),await Promise[_0x1cccfc(0x3dc)](_0x387d1c);}};_0x4cfcb5=_0x26e083([_0x13b541(0x0,_0x4d81d1[_0x449ba4(0x3ac)]),_0x13b541(0x1,_0x4d81d1[_0x449ba4(0x3d9)]),_0x13b541(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x7bc020[_0x449ba4(0x1c3)]))],_0x4cfcb5);class _0x10be39 extends _0x4d81d1['RxDisposable']{constructor(){const _0xb2f0e4=_0x449ba4;super(),_0xb1ba3a(this,'urlChange$'),this[_0xb2f0e4(0x3ee)]=_0x2af810[_0xb2f0e4(0x366)](window,_0xb2f0e4(0x350))['pipe'](_0x2af810['takeUntil'](this[_0xb2f0e4(0x369)]),_0x2af810[_0xb2f0e4(0x304)](0x1),_0x2af810[_0xb2f0e4(0x339)](void 0x0));}[_0x449ba4(0x1fa)](_0x5f07d9,_0x1d7fc0,_0x17a7c9=!0x1){const _0x169e8e=_0x449ba4,_0x4e754c=new URL(window['location'][_0x169e8e(0x24e)]);_0x4e754c[_0x169e8e(0x3fb)][_0x169e8e(0x34d)](_0x5f07d9,_0x1d7fc0),_0x17a7c9?window['history'][_0x169e8e(0x2f5)]('','',_0x4e754c[_0x169e8e(0x2b9)]()):window[_0x169e8e(0x307)]['pushState']('','',_0x4e754c[_0x169e8e(0x2b9)]());}[_0x449ba4(0x2b2)](_0x5cd2e5,_0x20c4d6=!0x1){const _0x56e9b2=_0x449ba4,_0x374c5e=new URL(window[_0x56e9b2(0x263)][_0x56e9b2(0x24e)]);_0x374c5e[_0x56e9b2(0x3fb)][_0x56e9b2(0x377)](_0x5cd2e5),_0x20c4d6?window['history'][_0x56e9b2(0x2f5)]('','',_0x374c5e[_0x56e9b2(0x2b9)]()):window['history']['pushState']('','',_0x374c5e[_0x56e9b2(0x2b9)]());}[_0x449ba4(0x284)](_0x1b472c){const _0x3318e5=_0x449ba4;var _0x38919d;return(_0x38919d=new URL(window[_0x3318e5(0x263)][_0x3318e5(0x24e)])[_0x3318e5(0x3fb)][_0x3318e5(0x420)](_0x1b472c))!=null?_0x38919d:void 0x0;}}var _0x40e8de=Object[_0x449ba4(0x1f7)],_0x43e7fe=Object[_0x449ba4(0x1d2)],_0x452820=(_0x1dfb1e,_0x58f50c,_0x2b9553)=>_0x58f50c in _0x1dfb1e?_0x40e8de(_0x1dfb1e,_0x58f50c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b9553}):_0x1dfb1e[_0x58f50c]=_0x2b9553,_0x7e759e=(_0x2d1ce7,_0x4c99c1,_0x586f9c,_0x26a256)=>{const _0x529775=_0x449ba4;for(var _0x2d6f75=_0x26a256>0x1?void 0x0:_0x26a256?_0x43e7fe(_0x4c99c1,_0x586f9c):_0x4c99c1,_0x1611c3=_0x2d1ce7[_0x529775(0x3eb)]-0x1,_0x141820;_0x1611c3>=0x0;_0x1611c3--)(_0x141820=_0x2d1ce7[_0x1611c3])&&(_0x2d6f75=_0x141820(_0x2d6f75)||_0x2d6f75);return _0x2d6f75;},_0x5b5a7a=(_0x1932a9,_0x427cb3)=>(_0xb93249,_0x27dc05)=>_0x427cb3(_0xb93249,_0x27dc05,_0x1932a9),_0x36fe14=(_0x25620c,_0x33bdf8,_0x43dfed)=>_0x452820(_0x25620c,_0x33bdf8+'',_0x43dfed);const _0x5437bb=_0x449ba4(0x27a);_0x47440c[_0x449ba4(0x418)]=class extends _0x4d81d1['Plugin']{constructor(_0x2b95a6=_0x1e33a4,_0x7f82ae,_0x3fddf2,_0x1820cb){const _0x2c4bec=_0x449ba4;super(),this[_0x2c4bec(0x222)]=_0x2b95a6,this[_0x2c4bec(0x2c2)]=_0x7f82ae,this['_injector']=_0x3fddf2,this[_0x2c4bec(0x1ea)]=_0x1820cb;const {..._0x14ed38}=_0x4d81d1[_0x2c4bec(0x378)]({},_0x1e33a4,this[_0x2c4bec(0x222)]);this['_configService'][_0x2c4bec(0x22c)](_0x5c6d95,_0x14ed38);}['onStarting'](){const _0x23a8da=_0x449ba4;this['_registerDependencies'](),this[_0x23a8da(0x434)]();}[_0x449ba4(0x42a)](){this['_registerRenderDependencies']();}[_0x449ba4(0x41f)](){const _0x2d0bbe=_0x449ba4;var _0x1b905e;const _0x172cb8=[[_0xd7451c],[_0x17812d],[_0x2db2b8],[_0x3d42a1],[_0x3944ef],[_0x21e793,{'useClass':_0x10be39}],[_0xb1173c[_0x2d0bbe(0x333)],{'useClass':_0xb1173c[_0x2d0bbe(0x2dd)]}],[_0x7e6ef6[_0x2d0bbe(0x247)],{'useClass':_0x4cfcb5}],[_0x47440c[_0x2d0bbe(0x282)]],[_0xd05bc2],[_0xf23663],[_0x5f01b6],[_0x440470],[_0x47440c['CollaborationDataLoaderController']]];_0x4d81d1['registerDependencies'](this[_0x2d0bbe(0x1f1)],_0x4d81d1[_0x2d0bbe(0x229)](_0x172cb8,(_0x1b905e=this[_0x2d0bbe(0x222)])==null?void 0x0:_0x1b905e['override']));}['_registerRenderDependencies'](){const _0x4a3e08=_0x449ba4;this[_0x4a3e08(0x30e)](this['_renderManagerService']['registerRenderModule'](_0x4d81d1[_0x4a3e08(0x3a4)][_0x4a3e08(0x298)],[_0x4c48c2])),this['disposeWithMe'](this['_renderManagerService'][_0x4a3e08(0x1bf)](_0x4d81d1[_0x4a3e08(0x3a4)][_0x4a3e08(0x214)],[_0x3cc75d]));}[_0x449ba4(0x434)](){const _0x5df6ec=_0x449ba4;_0x4d81d1[_0x5df6ec(0x429)](this['_injector'],[[_0x5f01b6],[_0x47440c[_0x5df6ec(0x282)]],[_0xd05bc2],[_0xf23663],[_0x47440c['CollaborationDataLoaderController']]]);}},_0x36fe14(_0x47440c[_0x449ba4(0x418)],_0x449ba4(0x1eb),_0x5437bb),_0x47440c['UniverCollaborationClientUIPlugin']=_0x7e759e([_0x4d81d1[_0x449ba4(0x33f)](_0x7e6ef6['UniverCollaborationClientPlugin']),_0x5b5a7a(0x1,_0x2c2228['IRenderManagerService']),_0x5b5a7a(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x5b5a7a(0x3,_0x4d81d1[_0x449ba4(0x3ac)])],_0x47440c[_0x449ba4(0x418)]);var _0x229671=Object[_0x449ba4(0x1d2)],_0x24c319=(_0x253774,_0x1805dc,_0x3f48b3,_0x2f8b71)=>{for(var _0x26cd0b=_0x2f8b71>0x1?void 0x0:_0x2f8b71?_0x229671(_0x1805dc,_0x3f48b3):_0x1805dc,_0x2d2ba9=_0x253774['length']-0x1,_0x1460ba;_0x2d2ba9>=0x0;_0x2d2ba9--)(_0x1460ba=_0x253774[_0x2d2ba9])&&(_0x26cd0b=_0x1460ba(_0x26cd0b)||_0x26cd0b);return _0x26cd0b;},_0x567845=(_0x1e530f,_0x1edf27)=>(_0x185f4b,_0xa29011)=>_0x1edf27(_0x185f4b,_0xa29011,_0x1e530f);_0x47440c['BrowserCollaborationSocketService']=class extends _0x7e6ef6[_0x449ba4(0x212)]{constructor(_0x11a3c2,_0x49c02d,_0x24c4ef,_0x1a9da1,_0x3234ab){super(_0x11a3c2,_0x49c02d,_0x24c4ef,_0x1a9da1,_0x3234ab);}async[_0x449ba4(0x414)](_0x486a53){const _0x4e5488=_0x449ba4,_0x3feef5=await this[_0x4e5488(0x32b)](),_0x4c3f7c=this['_createSocketURL'](_0x486a53,_0x3feef5);return this[_0x4e5488(0x1bb)](_0x4c3f7c);}[_0x449ba4(0x22a)](_0x40f5c2,_0x4a8161){const _0xc0e86d=_0x449ba4,_0x4d4bd7=typeof window>'u'?new URL(_0x40f5c2):new URL(_0x40f5c2,window[_0xc0e86d(0x263)][_0xc0e86d(0x433)]);_0x4d4bd7['searchParams']['set'](_0xc0e86d(0x444),_0x4a8161);const _0x99a641=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc0e86d(0x263)]['search']);return _0x99a641[_0xc0e86d(0x420)](_0xc0e86d(0x3de))&&_0x4d4bd7[_0xc0e86d(0x3fb)]['set'](_0xc0e86d(0x3de),_0x99a641[_0xc0e86d(0x420)]('runId')),_0x4d4bd7[_0xc0e86d(0x2b9)]();}async[_0x449ba4(0x32b)](){const _0x292c74=_0x449ba4;var _0x3b186e,_0x3170af,_0x5e8789;const _0x1ac8ad=this['_configService'][_0x292c74(0x3bd)](_0x7e6ef6[_0x292c74(0x437)]),_0x40445b=(_0x3b186e=_0x1ac8ad==null?void 0x0:_0x1ac8ad[_0x292c74(0x20c)])!=null?_0x3b186e:_0x7e6ef6[_0x292c74(0x3b6)];return(_0x5e8789=(_0x3170af=(await this[_0x292c74(0x409)]['get'](_0x40445b,{'headers':{'Content-Type':_0x292c74(0x3f0)}}))['body'])==null?void 0x0:_0x3170af['ticket'])!=null?_0x5e8789:'';}},_0x47440c[_0x449ba4(0x417)]=_0x24c319([_0x567845(0x0,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x567845(0x1,_0x4d81d1[_0x449ba4(0x1e6)](_0xb1173c[_0x449ba4(0x2ce)])),_0x567845(0x2,_0x4d81d1[_0x449ba4(0x3ac)]),_0x567845(0x3,_0x4d81d1[_0x449ba4(0x362)]),_0x567845(0x4,_0x7bc020['ISnapshotServerService'])],_0x47440c[_0x449ba4(0x417)]);const _0x4868c6=0x7530,_0x58648e=_0x449ba4(0x3f1);class _0xf36b04 extends _0x4d81d1['Disposable']{constructor(){const _0x49d592=_0x449ba4;super(),_0xb1ba3a(this,'_id',_0x4d81d1[_0x49d592(0x209)]()),_0xb1ba3a(this,_0x49d592(0x41b),new Set()),_0xb1ba3a(this,_0x49d592(0x206),new Map()),_0xb1ba3a(this,_0x49d592(0x1b7),null),_0xb1ba3a(this,'_clearOtherTimers',new Map()),_0xb1ba3a(this,_0x49d592(0x286),new Map()),this[_0x49d592(0x382)]();}[_0x449ba4(0x3d4)](){const _0x530e2b=_0x449ba4;super[_0x530e2b(0x3d4)](),this[_0x530e2b(0x1b3)][_0x530e2b(0x27b)]((_0xd0208d,_0x3b24fb)=>this[_0x530e2b(0x25b)](_0x3b24fb)),this[_0x530e2b(0x1b7)]&&window[_0x530e2b(0x235)](this[_0x530e2b(0x1b7)]);}[_0x449ba4(0x3b4)](_0x2bf396){const _0x4b6c80=_0x449ba4;return this['_ensureSubject'](_0x2bf396)[_0x4b6c80(0x3b1)](_0x2af810[_0x4b6c80(0x2a0)]());}[_0x449ba4(0x371)](_0xbca97c){const _0x1b692b=_0x449ba4;this[_0x1b692b(0x41b)][_0x1b692b(0x35b)]===0x0&&this[_0x1b692b(0x3a2)](),this[_0x1b692b(0x41b)][_0x1b692b(0x30d)](_0xbca97c),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xbca97c],'isForwarded':!0x1});}[_0x449ba4(0x40e)](_0x10c7ec){const _0xf4a61e=_0x449ba4;this[_0xf4a61e(0x41b)][_0xf4a61e(0x377)](_0x10c7ec),this[_0xf4a61e(0x41b)][_0xf4a61e(0x35b)]===0x0&&this['_heartbeatTimer']&&window[_0xf4a61e(0x235)](this['_heartbeatTimer']);}[_0x449ba4(0x382)](){const _0x134a5c=_0x449ba4;this[_0x134a5c(0x30e)](_0x4d81d1[_0x134a5c(0x3c5)](_0x2af810[_0x134a5c(0x366)](window,'storage')[_0x134a5c(0x3e8)](_0x2701ff=>{const _0x40654d=_0x134a5c;if(_0x2701ff[_0x40654d(0x33a)]!==_0x58648e||!_0x2701ff['newValue'])return;const _0x4a0347=JSON[_0x40654d(0x29b)](_0x2701ff[_0x40654d(0x303)]);this[_0x40654d(0x35f)](_0x4a0347);}))),window[_0x134a5c(0x38c)]('unload',()=>this[_0x134a5c(0x26a)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x134a5c(0x32c)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x316449){const _0x596580=_0x449ba4;switch(_0x316449[_0x596580(0x353)]){case 0x0:this[_0x596580(0x1e0)](_0x316449);break;case 0x1:this[_0x596580(0x324)](_0x316449);break;case 0x2:this[_0x596580(0x252)](_0x316449);break;}}[_0x449ba4(0x1e0)](_0x39dd71){const _0x4bce2e=_0x449ba4,{unitIDs:_0x27b9b2,memberID:_0x34e024,isForwarded:_0x39cac6}=_0x39dd71;_0x27b9b2['forEach'](_0x1440ca=>{const _0xf668dc=_0x94a3;if(!_0x39cac6&&this[_0xf668dc(0x206)]['has'](_0x1440ca)&&this['_ensureSubject'](_0x1440ca)[_0xf668dc(0x41c)](_0x7e6ef6[_0xf668dc(0x26d)][_0xf668dc(0x436)]),!this[_0xf668dc(0x206)]['has'](_0x1440ca)||!this[_0xf668dc(0x206)][_0xf668dc(0x420)](_0x1440ca)[_0xf668dc(0x3fc)](_0x34e024)){const _0x92a9d4=this[_0xf668dc(0x206)][_0xf668dc(0x420)](_0x1440ca)||new Set();_0x92a9d4['add'](_0x34e024),this[_0xf668dc(0x206)]['set'](_0x1440ca,_0x92a9d4),this[_0xf668dc(0x2bf)](_0x34e024);}}),_0x39cac6||this[_0x4bce2e(0x26a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4bce2e(0x41b)]],'isForwarded':!0x0});}[_0x449ba4(0x2bf)](_0x3cf72d){const _0x4066f0=_0x449ba4;this[_0x4066f0(0x25b)](_0x3cf72d);const _0x3fc75b=window[_0x4066f0(0x256)](()=>{const _0x3f36bf=_0x4066f0;this[_0x3f36bf(0x206)]['forEach'](_0x24fb8d=>{const _0x2d0074=_0x3f36bf;_0x24fb8d[_0x2d0074(0x377)](_0x3cf72d);});},_0x4868c6*0x2);this[_0x4066f0(0x1b3)]['set'](_0x3cf72d,_0x3fc75b);}['_removeClearOtherTimer'](_0x43f413){const _0x583eea=_0x449ba4;if(this[_0x583eea(0x1b3)][_0x583eea(0x3fc)](_0x43f413)){const _0x3640a1=this[_0x583eea(0x1b3)]['get'](_0x43f413);_0x3640a1&&window[_0x583eea(0x28b)](_0x3640a1),this['_clearOtherTimers'][_0x583eea(0x34d)](_0x43f413,null);}}[_0x449ba4(0x324)](_0x3aa934){const _0x12ccec=_0x449ba4,{memberID:_0x247121,unitIDs:_0xd340be}=_0x3aa934;_0xd340be[_0x12ccec(0x27b)](_0x292af7=>{const _0x33158b=_0x12ccec;var _0x38122f;const _0x2e5bb7=this[_0x33158b(0x206)][_0x33158b(0x420)](_0x292af7);_0x2e5bb7&&(_0x2e5bb7[_0x33158b(0x377)](_0x247121),(_0x38122f=this['_ensureSubject'](_0x292af7))==null||_0x38122f[_0x33158b(0x41c)](_0x2e5bb7[_0x33158b(0x35b)]===0x0?_0x7e6ef6[_0x33158b(0x26d)][_0x33158b(0x1c4)]:_0x7e6ef6[_0x33158b(0x26d)]['OTHER_CLIENTS_EDITING']));}),this[_0x12ccec(0x25b)](_0x247121);}['_handleHeartbeatEvent'](_0x510411){const _0x4a1c4e=_0x449ba4;this[_0x4a1c4e(0x2bf)](_0x510411['memberID']);}[_0x449ba4(0x26a)](_0x5e342d){const _0x29d7ba=_0x449ba4;localStorage[_0x29d7ba(0x309)](_0x58648e,JSON[_0x29d7ba(0x430)](_0x5e342d));}[_0x449ba4(0x3a2)](){const _0x53ea2e=_0x449ba4;this[_0x53ea2e(0x1b7)]=window[_0x53ea2e(0x21d)](()=>{const _0x5e5db6=_0x53ea2e;this[_0x5e5db6(0x26a)]({'type':0x2,'memberID':this['_id']});},_0x4868c6);}[_0x449ba4(0x21f)](_0x5b24d0){const _0x11224e=_0x449ba4;return this[_0x11224e(0x286)][_0x11224e(0x3fc)](_0x5b24d0)||this[_0x11224e(0x286)][_0x11224e(0x34d)](_0x5b24d0,new _0x2af810[(_0x11224e(0x3dd))](_0x7e6ef6[_0x11224e(0x26d)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x11224e(0x286)][_0x11224e(0x420)](_0x5b24d0);}}var _0x51acbe=(_0x39ae42=>(_0x39ae42[_0x39ae42[_0x449ba4(0x2ac)]=0x0]=_0x449ba4(0x2ac),_0x39ae42[_0x39ae42['OK']=0x1]='OK',_0x39ae42[_0x39ae42[_0x449ba4(0x348)]=0x2]=_0x449ba4(0x348),_0x39ae42[_0x39ae42[_0x449ba4(0x1f4)]=0x3]=_0x449ba4(0x1f4),_0x39ae42[_0x39ae42[_0x449ba4(0x258)]=0x4]=_0x449ba4(0x258),_0x39ae42[_0x39ae42[_0x449ba4(0x40c)]=0x5]=_0x449ba4(0x40c),_0x39ae42[_0x39ae42[_0x449ba4(0x2e6)]=0x6]=_0x449ba4(0x2e6),_0x39ae42[_0x39ae42[_0x449ba4(0x3db)]=0x7]='INVALID_ARGUMENT',_0x39ae42[_0x39ae42[_0x449ba4(0x445)]=0x8]=_0x449ba4(0x445),_0x39ae42[_0x39ae42['COMPLETION_FINISHED']=0x9]=_0x449ba4(0x202),_0x39ae42[_0x39ae42['LOGIN_FAILED']=0xa]=_0x449ba4(0x305),_0x39ae42[_0x39ae42[_0x449ba4(0x278)]=0xb]=_0x449ba4(0x278),_0x39ae42[_0x39ae42[_0x449ba4(0x44e)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x39ae42[_0x39ae42[_0x449ba4(0x1f6)]=0xd]=_0x449ba4(0x1f6),_0x39ae42[_0x39ae42[_0x449ba4(0x23f)]=0xe]=_0x449ba4(0x23f),_0x39ae42[_0x39ae42[_0x449ba4(0x3bc)]=0x1389]=_0x449ba4(0x3bc),_0x39ae42[_0x39ae42[_0x449ba4(0x246)]=0x1771]=_0x449ba4(0x246),_0x39ae42[_0x39ae42[_0x449ba4(0x1d6)]=0x1772]=_0x449ba4(0x1d6),_0x39ae42[_0x39ae42[_0x449ba4(0x2e7)]=0x1773]=_0x449ba4(0x2e7),_0x39ae42[_0x39ae42[_0x449ba4(0x311)]=0x1b59]='APPLY_REJECT',_0x39ae42[_0x39ae42[_0x449ba4(0x239)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x39ae42[_0x39ae42[_0x449ba4(0x2bb)]=0x1b5b]=_0x449ba4(0x2bb),_0x39ae42[_0x39ae42[_0x449ba4(0x236)]=0x1b5c]=_0x449ba4(0x236),_0x39ae42[_0x39ae42[_0x449ba4(0x2ed)]=0x1b5d]=_0x449ba4(0x2ed),_0x39ae42[_0x39ae42[_0x449ba4(0x3d2)]=0x1f41]=_0x449ba4(0x3d2),_0x39ae42[_0x39ae42[_0x449ba4(0x317)]=0x2329]=_0x449ba4(0x317),_0x39ae42[_0x39ae42[_0x449ba4(0x442)]=0x232a]=_0x449ba4(0x442),_0x39ae42[_0x39ae42[_0x449ba4(0x288)]=0x232b]=_0x449ba4(0x288),_0x39ae42[_0x39ae42['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x449ba4(0x2bc),_0x39ae42[_0x39ae42['LICENSE_DISTRO_REJECTED']=0x232d]=_0x449ba4(0x1d5),_0x39ae42[_0x39ae42[_0x449ba4(0x283)]=0x2711]=_0x449ba4(0x283),_0x39ae42[_0x39ae42['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x449ba4(0x216),_0x39ae42[_0x39ae42[_0x449ba4(0x412)]=0x2713]=_0x449ba4(0x412),_0x39ae42[_0x39ae42[_0x449ba4(0x251)]=0x2714]=_0x449ba4(0x251),_0x39ae42[_0x39ae42[_0x449ba4(0x1cf)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x39ae42[_0x39ae42[_0x449ba4(0x217)]=0x271b]=_0x449ba4(0x217),_0x39ae42[_0x39ae42['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x39ae42[_0x39ae42[_0x449ba4(0x2b0)]=0x271d]=_0x449ba4(0x2b0),_0x39ae42[_0x39ae42[_0x449ba4(0x3af)]=0x271e]=_0x449ba4(0x3af),_0x39ae42[_0x39ae42['YUUMI_AI_RUN_FAILED']=0x271f]=_0x449ba4(0x385),_0x39ae42[_0x39ae42[_0x449ba4(0x3ca)]=0x2720]=_0x449ba4(0x3ca),_0x39ae42[_0x39ae42[_0x449ba4(0x1fd)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x39ae42[_0x39ae42[_0x449ba4(0x1ec)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x39ae42[_0x39ae42[_0x449ba4(0x32a)]=0x2ee2]=_0x449ba4(0x32a),_0x39ae42[_0x39ae42[_0x449ba4(0x3c8)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x39ae42[_0x39ae42['USER_NOT_INVITED_CODE']=0x2ee4]=_0x449ba4(0x426),_0x39ae42[_0x39ae42[_0x449ba4(0x250)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x39ae42[_0x39ae42['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x449ba4(0x291),_0x39ae42[_0x39ae42[_0x449ba4(0x33e)]=0x32ca]=_0x449ba4(0x33e),_0x39ae42[_0x39ae42[_0x449ba4(0x1b9)]=0x32cb]=_0x449ba4(0x1b9),_0x39ae42[_0x39ae42[_0x449ba4(0x300)]=-0x1]=_0x449ba4(0x300),_0x39ae42))(_0x51acbe||{}),_0x10bbaf=Object[_0x449ba4(0x1d2)],_0x23bce7=(_0x6cb130,_0x256dc4,_0x56ce2f,_0x3ad002)=>{for(var _0x71fd39=_0x3ad002>0x1?void 0x0:_0x3ad002?_0x10bbaf(_0x256dc4,_0x56ce2f):_0x256dc4,_0x134b50=_0x6cb130['length']-0x1,_0x595a96;_0x134b50>=0x0;_0x134b50--)(_0x595a96=_0x6cb130[_0x134b50])&&(_0x71fd39=_0x595a96(_0x71fd39)||_0x71fd39);return _0x71fd39;},_0x1fc3ad=(_0x5a8638,_0xd2b8d7)=>(_0x14b3a0,_0x39f1d3)=>_0xd2b8d7(_0x14b3a0,_0x39f1d3,_0x5a8638);_0x47440c[_0x449ba4(0x439)]=class extends _0x4d81d1[_0x449ba4(0x1c5)]{constructor(_0x4bad44,_0x9ddf4d,_0x7a2578){const _0x35d49a=_0x449ba4;super(),this[_0x35d49a(0x243)]=_0x4bad44,this[_0x35d49a(0x409)]=_0x9ddf4d,this[_0x35d49a(0x1ea)]=_0x7a2578;}async[_0x449ba4(0x440)](_0x52a29b,_0x402c2d,_0x2d6ff,..._0x2457c5){const _0x40bc55=_0x449ba4;var _0x149263,_0x45db69,_0x280b14,_0x34eec7;const _0xda02d5=this[_0x40bc55(0x243)]['getFocusedUnit']();if(!_0xda02d5)throw new Error(_0x40bc55(0x21b));const _0x41998b=((_0x149263=this[_0x40bc55(0x1ea)][_0x40bc55(0x3bd)](_0x7e6ef6[_0x40bc55(0x2fd)]))!=null?_0x149263:_0x7e6ef6[_0x40bc55(0x27e)])+'/'+_0x52a29b+_0x40bc55(0x24c)+_0x402c2d,_0x343f6a=new URL(window['location']['href']),_0x1d7949={'scriptId':_0x52a29b,'runId':(_0x45db69=_0x343f6a[_0x40bc55(0x3fb)][_0x40bc55(0x420)](_0x40bc55(0x3de)))!=null?_0x45db69:'','function':_0x402c2d,'unitId':_0xda02d5['getUnitId'](),'argsOfFunction':JSON[_0x40bc55(0x430)](_0x2457c5),'invokeId':(_0x280b14=_0x2d6ff['invokeId'])!=null?_0x280b14:'','executionId':(_0x34eec7=_0x2d6ff[_0x40bc55(0x1b6)])!=null?_0x34eec7:''};try{const _0x37bd4e=await this[_0x40bc55(0x409)][_0x40bc55(0x299)](_0x41998b,{'body':_0x1d7949});return _0x37bd4e[_0x40bc55(0x423)][_0x40bc55(0x389)]&&_0x37bd4e[_0x40bc55(0x423)][_0x40bc55(0x389)][_0x40bc55(0x334)]!==_0x51acbe['OK']?'Failed':_0x37bd4e[_0x40bc55(0x423)][_0x40bc55(0x2a3)];}catch{return _0x40bc55(0x3b9);}}},_0x47440c[_0x449ba4(0x439)]=_0x23bce7([_0x1fc3ad(0x0,_0x4d81d1[_0x449ba4(0x218)]),_0x1fc3ad(0x1,_0x4d81d1[_0x449ba4(0x1e6)](_0xb1173c['HTTPService'])),_0x1fc3ad(0x2,_0x4d81d1['IConfigService'])],_0x47440c['RemoteUniscriptService']),_0x47440c['IURLService']=_0x21e793,_0x47440c[_0x449ba4(0x271)]=_0x414759,_0x47440c['WebBrowserSingleActiveUnitService']=_0xf36b04,_0x47440c[_0x449ba4(0x397)]=_0x10be39,Object[_0x449ba4(0x1f7)](_0x47440c,Symbol[_0x449ba4(0x327)],{'value':'Module'});}));
1
+ function _0xdb75(){const _0x27fcdc=['INVITE_CODE_REQUIRED','save','_hovered','CHANGESET_REVISION_CONFILICT','measureText','combineLatest','PY_RUNTIME_SCRIPT_ERROR','useObservable','ILocalStorageService','LOGIN_FAILED','YUUMI_CONNECTOR_URL_NOT_FOUND','TEXT','width','triggerDblclick','saveImage','trim','size','USER_NOT_INVITED_CODE','bottom','_injector','key','DeleteRangeMoveLeftCommandId','includes','hasOwnProperty','setTimeout','_unitOnClients','_memberService','IConfigService','focused$','getSheetId','_messageService','_configService','YUUMI_RATE_OVER_LIMIT','_univerInstanceService','event$','red.300','InsertRowCommandId','_toggleOffline','max','column','setAlpha','isTransformMutationFailure','clsx','_saveTaskMap','_anchor','pipe','svg','@univerjs/engine-formula','set','EMAIL_HAS_BEEN_BOUND','UPDATE_CURSOR','COLORS','findNodePositionByCharIndex','@univerjs/drawing','INVITE_CODE_ALREADY_BOUND','Rectangle','m1Prime','disposeUnit','_docTransformSelectionsService','call','_drawAnchor','YUUMI_UNABLE_LOAD_URL','_renderManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','OTHER_CLIENTS_EDITING','xlink:href','wsSessionTicketUrl','LICENSE_DISTRO_REJECTED','replaceDocRanges','makeDirty','http://www.w3.org/2000/svg','concat','getMember','isArray','round','unitID','[CollaborationDataLoaderController]','_initCommandExecutedListener','textRanges','InsertColCommandId','top','OnLineIcon','switchMap','DocSelectionManagerService','CollaborationSessionService','_entityInit$','getViewport','collabStatus.conflict','setInterval','_beforeCloseService','endRow','_logService','_httpService','startColumn','defIds','isTransformMutationsWithChangesetSuccess','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_commandService','asObservable','_transformPreviousActiveRange','IBeforeCloseService','_removeClearOtherTimer','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UNAUTHENTICATED','_disabled','59oNpCzU','INVALID_ARGUMENT','0\x200\x2016\x2016','_removeCollabCursors','getConfig','getCurrentRevOfUnit','next','ThemeService','amd','session.connection-failed','merge','TEXT_RANGE_LAYER_INDEX','pushState','IRenderManagerService','getSheetObject','_setupBeforeClosingHandler','EffectRefRangId','getUniverSheetInstance','IUniverInstanceService','off-line-icon','_transformHistoryAndStateStack','syncEditingCollabCursor','getTypeOfUnitAdded$','RevisionService','SheetSkeletonManagerService','handleInsertRangeMoveDown','Disposable','_labelPosition','unitId','_getMergeRange','_getSheetObject','_saveCache','_localeService','_updateLocalCursor','selection','DEFAULT_WS_SESSION_TICKET_URL','UniverProCollaborationClientUi','redoState','getUnhiddenWorksheets','get','session.will-retry','FETCH_MISS','unsubscribe','LICENSE_MAX_UNITS_EXCEEDED','startsWith','then','SNAPSHOT_INVALID_SNAPSHOT','CONFLICT','_hideTimer','_handleEvent','getUnitStatus$','object','_render','collab-text-anchor-','_cursorShapes','_sheetSkeletonManagerService','AWAITING_WITH_PENDING','Shape','getDocRanges','RemoveColCommandId','RemoveRowCommandId','_initResize','DeleteRangeMoveUpCommandId','runOnServer','transformStateCache','getUnitId','random','Unknown\x20user','on-line-icon_clip0_910_349','_collabCursorState$','_handleLeaveEvent','params','getMergeData','useDependency','Failed','Workbook','_colorIndex','CollaborationEvent','_toggleOnline','DocStateChangeManagerService','idSuffix','addObjects','transform','1062675INABmH','ILogService','sessionStatus$','init','_backgroundColor','SetDocZoomRatioOperation','_transformService','fillRule','toRgbString','CollaborationStatus','override','getValue','transformByState','ticket','_initStatusComponent','location','shareReplay','react/jsx-runtime','operators','defs','_shapes','Warning','_heartbeatTimer','getAncestorScale','RefRangeService','_createSocketURL','USERS_LEAVE','_notificationService','path','color','ALREADY_EXISTS','WebBrowserSingleActiveUnitService','ILocalCacheService','loadUnit','contains','UniverDrawing','children','off-line-icon_clip0_910_343','onLocalMutation','UNRECOGNIZED','DataLoaderService','_cursor','dispose','UniverUi','all','IImageIoService','react','DisposableCollection','SUBMIT_CHANGESET_TIMEOUT','getFocusedUnit','url(#on-line-icon_clip0_910_349)','mapTo','JOIN_ROOM_FAILED','touchDependencies','setStateCache','removeParam','_collabCursorController','fromEvent','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','saveOfflineData','Tooltip','DocCollaborationEntity','send','function','registerRenderModule','HTTPService','transformRemoteChangeset','mutations','min','UniverDesign','INTERNAL_ERROR','_imageIoService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getMemberID','HEADER_MENU','subscribe','VIEW_MAIN','createIdentifier','CLOSE_ROOM','closePath','1em','DocIMEInputManagerService','stringify','transformMutation','_scheduleClearOtherTimer','lineTo','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','setItem','split','CollaborationController','WebURLService','_name','UNIVER_DOC','_color','_scheduleHeartbeat','font','green.600','getActiveRange','_registerDependencies','fromEventSubject','@univerjs/core','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exhaustSavingTask','currentColor','transformMutationsWithChangeset','search','CollaborationUIEventService','0\x200\x2017\x2016','createSocket','_collaborationUIEventService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','deepClone','_range','docStateChange$','_registerRenderDependencies','icon','tag','enableLocalCache','subunit','3514532mgfzsR','mask','body','handleIRemoveCol','fill','MessageType','_collaborationController','AWAITING','WECHAT_HAS_BEEN_BOUND','Inject','getParam','getColorFromTheme','_revisionService','registerComponent','startRow','session.collaboration-timeout','blue.400','urlChange$','SOCKET_FAILED','SetWorksheetActivateCommand','_lastPointer','RegularPolygon','onCommandExecuted','setShapeProps','use','YUUMI_SUBSCRIPTION_NOT_FOUND','undoState','extend','UniverDocs','_ensureSubject','_onRefRangeChange','entries','useRef','jiqing.500','clipPath','getOwnPropertySymbols','beginPath','generateRandomId','_onCursorDelete','_document','className','href','show','jsx','getCoordByCell','handleIRemoveRow','registerRefRange','_getSaveTimeout','UNIVER_SHEET','ISnapshotServerService','selections','MemberService','_initEvent','3132380eaZDnV','_transformUndoRedoStack','_refRangeService','collab-rect-range-','YUUMI_URL_COL_OUT_OF_RANGE','application/json','_docSkeletonManagerService','currentSkeleton$','_updateURLWithCurrentState','FromArray','YUUMI_NO_CUBOID_FOR_QUESTION','text','fillStyle','@univerjs/network','values','clearInterval','getOffsetConfig','jsxs','ISocketService','doc.mutation.rich-text-editing','drawWith','UnitStatus','SetSelectionsOperation','_anchorDot','forEach','rgba(255,\x20255,\x20255,\x200.01)','transformIMECache','parse','collaboration-client-ui.config','_handleHover','NOT_FOUND','collabCursorState$','LOCAL_CACHE_INTERVAL','getTypeOfUnitDisposed$','_colorAssignService','IMessageService','@univerjs/engine-render','getUndoRedoMutationParamsCache','PERMISSION_DENIED','data','_getScale','setConfig','onPointerEnter$','getItem','MoveRangeCommandId','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','_send','assignAColorForMemberID','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_status$','IURLService','cursorInfo$','eventID','subscribeEvent','getRenderById','height','COMPLETION_FINISHED','_clearOtherTimers','m2Prime','Optional','_docSyncEditingCollabCursorService','UniverCollaborationClientUIPlugin','2560692syZOzc','sessionTicket','_handleJoinEvent','SYNCED','NO_OTHER_CLIENTS_EDITING','purple.300','apply','_hover','serializeRangeWithSheet','Plugin','7579320gujeyw','uni.network.url-service','_startDocCollabCursor','evenodd','UniverCore','DocSkeletonManagerService','YUUMI_AI_RUN_FAILED','_refreshCollabCursors','RECT','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','OffLineIcon','getSkeleton','RichTextEditingMutation','storage','_docSkeleton','_collabSessionService','SheetsSelectionsService','_docTransformIMECacheService','2297096lOdMPM','delete','_updateCollabCursors','disposeWithMe','toStringTag','loadOfflineData','EMAIL_VERIFY_CODE_MISMATCH','rxjs','_eventUnsubscribe','_getSessionTicket','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DesktopCollaborationStatusDisplayController','isEditing','getCurrentUnitForType','subUnitId','/run/','source','pluginName','with','_initDependencies','CollaborationUIEventId','_roomMembers$','IUIPartsService','collab-client.tooltip.reconnect','collab-text-range-','InsertRangeMoveDownCommandId','getRangePointData','UNDEFINED','searchParams','displayName','takeUntil','collabStatus.notCollab','_selfUnitIDs','_config','dispose$','CollaborationDataLoaderController','propertyIsEnumerable','M0\x200H16V16H0z','APPLY_REVISION_CONFILICT','ranges','roomMembers$','_scene','_onCursorUpdate','debounceTime','_initStatusListener','throttleTime','filter','@univerjs/docs-ui','url(#$1','APPLY_PERMISSION_DENIED','_localCacheService','getLocalCacheKey','LICENSE_EXPORT_SIZE_EXCEEDED','ACTIVE_UNIT_EVENT_CHANNEL','getSheetBySheetId','YUUMI_ALL_TABLES_IS_INVALID','range','YUUMI_ASYNCIO_CANCELLED','fillText','assign','ColorKit','error','collabStatus.syncing','Rect','OTHER_CLIENT_EDITING','cursorInfo','on-line-icon','_cursors','hide','OFFLINE','_init','getCellPositionByOffset','_online','executionId','_syncEditingCollabCursorService','forwardRef','unshift','_id','ICommandService','collaboration.closeRoom','onTransformChange$','SetTextSelectionsOperation','map','LocaleService','NOT_COLLAB','has','_docStateChangeManagerService','#FFF','_urlService','name','_entities','BrowserCollaborationSocketService','_drawTextRange','handleInsertRow','symbol','_assignedColors','useCallback','_drawRectRange','ONLINE','SessionStatus','_getAnchorBounding','LOCAL_CACHE_INTERVAL_KEY','setParam','36478nPsCwp','univerjs-icon\x20univerjs-icon-','runId','@univerjs/sheets-ui','isActive','IDocClipboardService','_setupSubUnitSync','_textBubble','restore','INVALID_INVITE_CODE','history','indexOf','addHandlerCallback','DOC_RANGE_TYPE','debounce','addObject','arc','attrs','DependentOn','replaceState','activeSheet$','_handleHeartbeatEvent','push','UniverEngineFormula','RxDisposable','actions','_unitStatus','univer-flex\x20univer-items-center','onPointerLeave$','getColor','defineProperty','getCollabCursors$','_session','Injector','string','div','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','sheetId','_themeService','labelPosition','_startSheetCollabCursor','permission.content','prototype','collaboration-client.offline-data-not-saved','_doCreateSocket','deserializeRangeWithSheet','MOBILE_VERIFY_CODE_MISMATCH','APPLY_NON_SEQUENTIAL_REVISION','add','clearTimeout','APPLY_DUPLICATED','unit','getActiveSheet','exports','origin','_context','_initEntityListener','_dataLoaderService','@univerjs/sheets','_cursorInfo$','requireSession','current','from','saveTaskMap','MOBILE_HAS_BEEN_BOUND','[RemoteUniscriptService]:\x20no\x20focused\x20unit','Vector2','code','yellow.400','UniverNetwork','type','MUTATION','url(#off-line-icon_clip0_910_343)','colorChannel1','substring','Error','skeleton','_localStorageService','distinctUntilChanged','toDisposable','invokeId','black','roomMembers','CONNECTOR_DATA_TOO_LARGE','toString','createInstance','NodePositionConvertToCursor','_draw','complete','_updateSubUnitFromURLParams','ITransformService','result','SNAPSHOT_HAS_BEEN_REMOVED','_docClipboardService','_cachedData','_docTransformStateCacheService','Module','getStateCache','currentTheme$','transformSelections','...','replace','BehaviorSubject','length','Tools','onMouseMove','_uiPartsService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_scheduleSaving','UniverInstanceType','getOwnPropertyDescriptor','NodePositionConvertToRectRange','row','collaboration.single-unit.warning'];_0xdb75=function(){return _0x27fcdc;};return _0xdb75();}function _0x28d1(_0x443b63,_0x4d0982){const _0xdb753f=_0xdb75();return _0x28d1=function(_0x28d143,_0x2041c4){_0x28d143=_0x28d143-0x17e;let _0x5a06a9=_0xdb753f[_0x28d143];return _0x5a06a9;},_0x28d1(_0x443b63,_0x4d0982);}(function(_0x385658,_0x4c7d5a){const _0x4491da=_0x28d1,_0x642b1a=_0x385658();while(!![]){try{const _0x39bf6b=-parseInt(_0x4491da(0x36d))/0x1*(-parseInt(_0x4491da(0x292))/0x2)+-parseInt(_0x4491da(0x3c0))/0x3+-parseInt(_0x4491da(0x22b))/0x4+parseInt(_0x4491da(0x1d1))/0x5+-parseInt(_0x4491da(0x20f))/0x6+-parseInt(_0x4491da(0x19c))/0x7+parseInt(_0x4491da(0x219))/0x8;if(_0x39bf6b===_0x4c7d5a)break;else _0x642b1a['push'](_0x642b1a['shift']());}catch(_0x26083a){_0x642b1a['push'](_0x642b1a['shift']());}}}(_0xdb75,0xc183b),function(_0x57ac6e,_0x398015){const _0xe4af87=_0x28d1;typeof exports==_0xe4af87(0x3a0)&&typeof module<'u'?_0x398015(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0xe4af87(0x3ff)&&define[_0xe4af87(0x375)]?define([_0xe4af87(0x2c7),'@univerjs-pro/collaboration-client',_0xe4af87(0x189),_0xe4af87(0x1f5),_0xe4af87(0x1de),_0xe4af87(0x25a),_0xe4af87(0x339),_0xe4af87(0x232),'@univerjs-pro/collaboration','@univerjs/docs',_0xe4af87(0x333),_0xe4af87(0x2cc),'rxjs/operators',_0xe4af87(0x295),_0xe4af87(0x3d1),'@univerjs/ui','@univerjs/design',_0xe4af87(0x3ee),'@univerjs/rpc'],_0x398015):(_0x57ac6e=typeof globalThis<'u'?globalThis:_0x57ac6e||self,_0x398015(_0x57ac6e[_0xe4af87(0x391)]={},_0x57ac6e['UniverProCollaborationClient'],_0x57ac6e[_0xe4af87(0x21d)],_0x57ac6e['UniverEngineRender'],_0x57ac6e[_0xe4af87(0x2d7)],_0x57ac6e['UniverDocsUi'],_0x57ac6e[_0xe4af87(0x3e3)],_0x57ac6e[_0xe4af87(0x232)],_0x57ac6e['UniverProCollaboration'],_0x57ac6e[_0xe4af87(0x1b8)],_0x57ac6e[_0xe4af87(0x2a9)],_0x57ac6e['UniverSheets'],_0x57ac6e[_0xe4af87(0x232)][_0xe4af87(0x3d2)],_0x57ac6e['UniverSheetsUi'],_0x57ac6e['React'],_0x57ac6e[_0xe4af87(0x3eb)],_0x57ac6e[_0xe4af87(0x405)],_0x57ac6e['React'],_0x57ac6e['UniverRpc']));}(this,function(_0x40d0d0,_0x1a6421,_0x57bc4a,_0x120a2c,_0x28d0ff,_0x8abdee,_0x562b24,_0x8d602e,_0x61a9e1,_0x57e96e,_0x1fcc1a,_0x26613f,_0x51f274,_0x16e985,_0x158c8f,_0x29e6f1,_0x43e575,_0x181751,_0x11103a){'use strict';const _0x550dd8=_0x28d1;var _0x1e9938=Object[_0x550dd8(0x2b0)],_0x5c5b2d=(_0x282675,_0x31707d,_0x30dd71)=>_0x31707d in _0x282675?_0x1e9938(_0x282675,_0x31707d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30dd71}):_0x282675[_0x31707d]=_0x30dd71,_0x53a705=(_0x29bc3e,_0x396070,_0x23be58)=>_0x5c5b2d(_0x29bc3e,typeof _0x396070!=_0x550dd8(0x289)?_0x396070+'':_0x396070,_0x23be58),_0x35570d=Object[_0x550dd8(0x300)],_0x448040=(_0x4ffed2,_0x5daede,_0x9453c2,_0xd874e1)=>{const _0x993b24=_0x550dd8;for(var _0x4ba1e3=_0xd874e1>0x1?void 0x0:_0xd874e1?_0x35570d(_0x5daede,_0x9453c2):_0x5daede,_0x1fea43=_0x4ffed2[_0x993b24(0x2f9)]-0x1,_0x49ff38;_0x1fea43>=0x0;_0x1fea43--)(_0x49ff38=_0x4ffed2[_0x1fea43])&&(_0x4ba1e3=_0x49ff38(_0x4ba1e3)||_0x4ba1e3);return _0x4ba1e3;},_0x115ee1=(_0x34c861,_0xed3508)=>(_0x520427,_0x8bd364)=>_0xed3508(_0x520427,_0x8bd364,_0x34c861);let _0x12da84=class extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(_0x8aad,_0x31cfbe){const _0x18e539=_0x550dd8;super(),this[_0x18e539(0x2ef)]=_0x8aad,this[_0x18e539(0x407)]=_0x31cfbe,this[_0x18e539(0x271)]();}[_0x550dd8(0x271)](){const _0x1dadf6=_0x550dd8,_0x1274d0=this;this[_0x1dadf6(0x22e)](this[_0x1dadf6(0x2ef)]['addClipboardHook']({'onBeforePasteImage':async _0x4813bc=>{const _0x1ba173=_0x1dadf6,_0x1b783f=await _0x1274d0[_0x1ba173(0x407)][_0x1ba173(0x312)](_0x4813bc);return _0x1b783f?{'source':_0x1b783f[_0x1ba173(0x23b)],'imageSourceType':_0x1b783f['imageSourceType']}:null;}}));}};_0x12da84=_0x448040([_0x115ee1(0x0,_0x8abdee[_0x550dd8(0x297)]),_0x115ee1(0x1,_0x562b24[_0x550dd8(0x3ed)])],_0x12da84);const _0x53549d=[_0x550dd8(0x214),_0x550dd8(0x1bd),_0x550dd8(0x185),_0x550dd8(0x327),_0x550dd8(0x1ac),_0x550dd8(0x2d6)];class _0xc9942d extends _0x57bc4a[_0x550dd8(0x387)]{constructor(){const _0xc897b5=_0x550dd8;super(...arguments),_0x53a705(this,_0xc897b5(0x28a),new Map()),_0x53a705(this,_0xc897b5(0x3b9),0x0);}['assignAColorForMemberID'](_0xd20e1){const _0x808d51=_0x550dd8;if(this[_0x808d51(0x28a)][_0x808d51(0x280)](_0xd20e1))return this[_0x808d51(0x28a)][_0x808d51(0x394)](_0xd20e1);const _0x1fe26f=_0x53549d[this[_0x808d51(0x3b9)]];return this[_0x808d51(0x3b9)]=(this[_0x808d51(0x3b9)]+0x1)%_0x53549d[_0x808d51(0x2f9)],this[_0x808d51(0x28a)][_0x808d51(0x334)](_0xd20e1,_0x1fe26f),_0x1fe26f;}}function _0x33aec7(_0x301164){const _0x2f1b1c=_0x550dd8;let _0x385767='';for(const _0xba3892 of _0x301164){const {startOffset:_0x23a145,endOffset:_0x33533a,isActive:_0x20b049,rangeType:_0x6a3f65,segmentId:_0x170793,segmentPage:_0x3f60d0}=_0xba3892;_0x385767[_0x2f1b1c(0x2f9)]&&(_0x385767+=','),_0x385767+=_0x23a145+':'+_0x33533a+':'+(_0x20b049?'1':'0')+':'+_0x6a3f65+':'+_0x170793+':'+_0x3f60d0;}return _0x385767;}function _0x250200(_0x4624f0){const _0x4a5c6e=_0x550dd8,_0x5a471d=_0x4624f0[_0x4a5c6e(0x418)](','),_0x5759d7=[];for(const _0x52f394 of _0x5a471d){const [_0x371fdc,_0x13eda3,_0x1004e1,_0x2d5a82,_0x49e8a4,_0x5911b6]=_0x52f394[_0x4a5c6e(0x418)](':');_0x5759d7[_0x4a5c6e(0x2a8)]({'startOffset':Number(_0x371fdc),'endOffset':Number(_0x13eda3),'collapsed':_0x371fdc===_0x13eda3,'isActive':_0x1004e1==='1','rangeType':_0x2d5a82===_0x57bc4a[_0x4a5c6e(0x29f)][_0x4a5c6e(0x30f)]?_0x57bc4a[_0x4a5c6e(0x29f)]['TEXT']:_0x57bc4a[_0x4a5c6e(0x29f)][_0x4a5c6e(0x221)],'segmentId':typeof _0x49e8a4==_0x4a5c6e(0x2b4)?String(_0x49e8a4):'','segmentPage':Number(_0x5911b6!=null?_0x5911b6:-0x1)});}return _0x5759d7['some'](_0x3b527e=>_0x3b527e[_0x4a5c6e(0x296)])||(_0x5759d7[0x0]['isActive']=!0x0),_0x5759d7;}class _0x11b10d extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(){const _0x1171ed=_0x550dd8;super(...arguments),_0x53a705(this,_0x1171ed(0x3b2),new _0x8d602e['BehaviorSubject'](null)),_0x53a705(this,'collabCursorState$',this[_0x1171ed(0x3b2)][_0x1171ed(0x366)]());}[_0x550dd8(0x382)](_0x3f0783){const _0x1faed1=_0x550dd8,{unitID:_0x2d6a1b,memberID:_0x48cbd6,textRanges:_0x5be38a}=_0x3f0783,_0x4a7e0e=_0x33aec7(_0x5be38a);if(_0x4a7e0e==='')return;const _0x5e45a5={'unitID':_0x2d6a1b,'memberID':_0x48cbd6,'selection':_0x4a7e0e};this[_0x1faed1(0x3b2)]['next'](_0x5e45a5);}}var _0x3abaa1=Object['getOwnPropertyDescriptor'],_0x4f7329=(_0x249a27,_0x115b3d,_0x29390c,_0x2bdfdd)=>{const _0x2de0bf=_0x550dd8;for(var _0x39fcfa=_0x2bdfdd>0x1?void 0x0:_0x2bdfdd?_0x3abaa1(_0x115b3d,_0x29390c):_0x115b3d,_0x1eb71d=_0x249a27[_0x2de0bf(0x2f9)]-0x1,_0x28538b;_0x1eb71d>=0x0;_0x1eb71d--)(_0x28538b=_0x249a27[_0x1eb71d])&&(_0x39fcfa=_0x28538b(_0x39fcfa)||_0x39fcfa);return _0x39fcfa;},_0x5f3781=(_0x4c0762,_0x11299d)=>(_0x56d44a,_0x5b2516)=>_0x11299d(_0x56d44a,_0x5b2516,_0x4c0762);const _0x3cbb90=0x12c,_0x2ed1e8=0x64;let _0x428b64=class extends _0x57bc4a['RxDisposable']{constructor(_0x54f3bd,_0x548dac,_0x1f1ec2,_0x4b7edd,_0x2c276c,_0x56ed89,_0xcefd39,_0x50a496,_0x2e85bc){const _0x470713=_0x550dd8;super(),_0x53a705(this,_0x470713(0x273),!0x1),_0x53a705(this,_0x470713(0x271),!0x1),_0x53a705(this,_0x470713(0x2cd),new _0x8d602e[(_0x470713(0x2f8))](new Map())),_0x53a705(this,'cursorInfo$',this[_0x470713(0x2cd)][_0x470713(0x366)]()),_0x53a705(this,'_roomMembers$',new _0x8d602e[(_0x470713(0x2f8))]([])),_0x53a705(this,_0x470713(0x253),this[_0x470713(0x240)][_0x470713(0x331)](_0x8d602e[_0x470713(0x256)](_0x3cbb90))),_0x53a705(this,_0x470713(0x38e),_0x57bc4a[_0x470713(0x2a0)](_0xec5feb=>{const _0x21272e=_0x470713,_0xf7d8b9={'eventID':_0x61a9e1[_0x21272e(0x3ba)][_0x21272e(0x336)],'data':{'unitID':this[_0x21272e(0x34f)],'memberID':this[_0x21272e(0x2b2)][_0x21272e(0x409)](),'selection':_0x33aec7(_0xec5feb)}};this[_0x21272e(0x2b2)][_0x21272e(0x3fe)](_0xf7d8b9,this['unitID']);},_0x2ed1e8)),(this[_0x470713(0x34f)]=_0x54f3bd,this[_0x470713(0x2b2)]=_0x548dac,this[_0x470713(0x317)]=_0x1f1ec2,this['_colorAssignService']=_0x4b7edd,this[_0x470713(0x31e)]=_0x2c276c,this['_syncEditingCollabCursorService']=_0x56ed89,this[_0x470713(0x3c6)]=_0xcefd39,this[_0x470713(0x325)]=_0x50a496,this[_0x470713(0x365)]=_0x2e85bc);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x550dd8(0x2e4)](){const _0x3b852c=_0x550dd8;return this[_0x3b852c(0x240)][_0x3b852c(0x3cb)]();}[_0x550dd8(0x3ea)](){const _0x47c01b=_0x550dd8;super[_0x47c01b(0x3ea)](),this['_cursorInfo$'][_0x47c01b(0x373)](new Map()),this[_0x47c01b(0x2cd)][_0x47c01b(0x2ea)](),this[_0x47c01b(0x240)]['next']([]),this[_0x47c01b(0x240)][_0x47c01b(0x2ea)]();}[_0x550dd8(0x3c3)](){const _0x3ee2fa=_0x550dd8;this[_0x3ee2fa(0x271)]||(this[_0x3ee2fa(0x271)]=!0x0,this['_session'][_0x3ee2fa(0x3c2)][_0x3ee2fa(0x331)](_0x8d602e[_0x3ee2fa(0x249)](this[_0x3ee2fa(0x24d)]))['subscribe'](_0x209a9c=>{const _0x1184bc=_0x3ee2fa;_0x209a9c===_0x1a6421[_0x1184bc(0x28e)]['ONLINE']?this['_toggleOnline']():this[_0x1184bc(0x329)]();}),this[_0x3ee2fa(0x2b2)]['event$'][_0x3ee2fa(0x331)](_0x8d602e[_0x3ee2fa(0x249)](this[_0x3ee2fa(0x24d)]))[_0x3ee2fa(0x40b)](_0x4a2eac=>{const _0x29e5d6=_0x3ee2fa,_0x48aa46=_0x4a2eac['eventID'];_0x48aa46===_0x61a9e1[_0x29e5d6(0x3ba)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4a2eac),_0x48aa46===_0x61a9e1[_0x29e5d6(0x3ba)][_0x29e5d6(0x3da)]&&this['_onCursorDelete'](_0x4a2eac);}),this[_0x3ee2fa(0x22e)](this[_0x3ee2fa(0x365)][_0x3ee2fa(0x1b2)](_0x50aedc=>{const _0x40c16c=_0x3ee2fa,_0x4e7ea1=_0x50aedc[_0x40c16c(0x3b4)];_0x4e7ea1!=null&&this[_0x40c16c(0x273)]&&_0x50aedc['id']===_0x57e96e[_0x40c16c(0x27c)]['id']&&_0x4e7ea1[_0x40c16c(0x389)]===this[_0x40c16c(0x34f)]&&_0x4e7ea1[_0x40c16c(0x237)]===!0x1&&_0x4e7ea1[_0x40c16c(0x252)][_0x40c16c(0x2f9)]>0x0&&this[_0x40c16c(0x38e)](_0x4e7ea1[_0x40c16c(0x252)]);})),this[_0x3ee2fa(0x275)][_0x3ee2fa(0x1f0)][_0x3ee2fa(0x331)](_0x8d602e['takeUntil'](this[_0x3ee2fa(0x24d)]))[_0x3ee2fa(0x40b)](_0x696b2e=>{const _0x1a232a=_0x3ee2fa;if((_0x696b2e==null?void 0x0:_0x696b2e[_0x1a232a(0x34f)])!==this[_0x1a232a(0x34f)])return;const _0x363d92={'eventID':_0x61a9e1['CollaborationEvent'][_0x1a232a(0x336)],'data':_0x696b2e};this[_0x1a232a(0x255)](_0x363d92);}),this[_0x3ee2fa(0x22e)](this['_commandService']['onCommandExecuted'](_0x349155=>{const _0x21d570=_0x3ee2fa;if(_0x349155[_0x21d570(0x3b4)]==null)return;const _0x23f815=_0x349155[_0x21d570(0x3b4)];if(_0x349155['id']!==_0x57e96e[_0x21d570(0x225)]['id']||_0x23f815[_0x21d570(0x389)]!==this[_0x21d570(0x34f)])return;const _0x1fabf9={'id':_0x21d570(0x1e4),'params':_0x23f815},_0x58b230=this['cursorInfo'];for(const [_0x10ec48,_0x16dca1]of _0x58b230){const _0x298833={'id':_0x21d570(0x1e4),'params':{'unitId':this[_0x21d570(0x34f)],'actions':null,'textRanges':_0x16dca1[_0x21d570(0x252)]}},_0x24f539=this['_transformService'][_0x21d570(0x413)](_0x1fabf9,_0x298833,!0x1);if(_0x61a9e1['isTransformMutationFailure'](_0x24f539))throw _0x24f539['error'];_0x58b230[_0x21d570(0x334)](_0x10ec48,{..._0x16dca1,'ranges':_0x24f539[_0x21d570(0x20b)][_0x21d570(0x3b4)][_0x21d570(0x352)]});}queueMicrotask(()=>{const _0x2fd7a5=_0x21d570;this[_0x2fd7a5(0x2cd)][_0x2fd7a5(0x373)](_0x58b230);});})));}[_0x550dd8(0x255)](_0x5b441e){const _0x1c0995=_0x550dd8;var _0x1e7d2f,_0xe9f8ec;const {memberID:_0x164d90,selection:_0x37cabc}=_0x5b441e[_0x1c0995(0x1f8)],_0x40fc8e=_0x250200(_0x37cabc),_0x3d1b14=(_0xe9f8ec=(_0x1e7d2f=this['_memberService'][_0x1c0995(0x34c)](this['unitID'],_0x164d90))==null?void 0x0:_0x1e7d2f['name'])!=null?_0xe9f8ec:_0x1c0995(0x3b0),_0x562ec9={'color':this[_0x1c0995(0x1f3)][_0x1c0995(0x200)](_0x164d90),'name':_0x3d1b14,'ranges':_0x40fc8e},_0x12c7b6=this[_0x1c0995(0x26c)];_0x12c7b6[_0x1c0995(0x334)](_0x164d90,_0x562ec9),this['_cursorInfo$'][_0x1c0995(0x373)](_0x12c7b6);}[_0x550dd8(0x1c2)](_0x2065f2){const _0x9f8407=_0x550dd8,{memberID:_0x1a6986}=_0x2065f2[_0x9f8407(0x1f8)],_0x565dfe=this[_0x9f8407(0x26c)];_0x565dfe[_0x9f8407(0x22c)](_0x1a6986),this[_0x9f8407(0x2cd)][_0x9f8407(0x373)](_0x565dfe);}[_0x550dd8(0x3bb)](){const _0x49e6e4=_0x550dd8;var _0x3cb6c5;if(this['_online']=!0x0,((_0x3cb6c5=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x3cb6c5['getUnitId']())!==this['unitID'])return;const _0x1c7e2d=this[_0x49e6e4(0x317)][_0x49e6e4(0x394)](_0x57e96e[_0x49e6e4(0x357)])['getDocRanges']();Array[_0x49e6e4(0x34d)](_0x1c7e2d)&&_0x1c7e2d[_0x49e6e4(0x2f9)]>0x0&&this[_0x49e6e4(0x38e)](_0x1c7e2d);}[_0x550dd8(0x329)](){this['_online']=!0x1;}};_0x428b64=_0x4f7329([_0x5f3781(0x2,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x2b3)])),_0x5f3781(0x3,_0x57bc4a['Inject'](_0xc9942d)),_0x5f3781(0x4,_0x57bc4a[_0x550dd8(0x1a5)](_0x1a6421[_0x550dd8(0x1cf)])),_0x5f3781(0x5,_0x57bc4a[_0x550dd8(0x1a5)](_0x11b10d)),_0x5f3781(0x6,_0x61a9e1[_0x550dd8(0x2ec)]),_0x5f3781(0x7,_0x57bc4a[_0x550dd8(0x37f)]),_0x5f3781(0x8,_0x57bc4a[_0x550dd8(0x279)])],_0x428b64);var _0x1c02d8=Object[_0x550dd8(0x300)],_0x46f96d=(_0x2a4916,_0x2ed297,_0x1d65a4,_0x395148)=>{const _0x1ca275=_0x550dd8;for(var _0x5efe9b=_0x395148>0x1?void 0x0:_0x395148?_0x1c02d8(_0x2ed297,_0x1d65a4):_0x2ed297,_0xb73c16=_0x2a4916[_0x1ca275(0x2f9)]-0x1,_0x425a1f;_0xb73c16>=0x0;_0xb73c16--)(_0x425a1f=_0x2a4916[_0xb73c16])&&(_0x5efe9b=_0x425a1f(_0x5efe9b)||_0x5efe9b);return _0x5efe9b;},_0x451996=(_0x16d7d7,_0x574709)=>(_0x4f8171,_0x342953)=>_0x574709(_0x4f8171,_0x342953,_0x16d7d7);const _0x15ac82=0x12c,_0x981607=0x64,_0x445fa5=()=>{let _0x5c7498=[],_0x1c2f84=!0x1;return _0x204d98=>{_0x5c7498['push'](_0x204d98),_0x1c2f84||(_0x1c2f84=!0x0,setTimeout(()=>{const _0xe6d3d5=_0x28d1;_0x5c7498[_0xe6d3d5(0x1e9)](_0x24b6d0=>_0x24b6d0()),_0x5c7498=[],_0x1c2f84=!0x1;}));};};let _0x2f30f=class extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(_0x35d06a,_0xbf0f85,_0x37d5fd,_0x7df3f6,_0x57453f,_0x527289,_0x4c73de,_0x227d4e){const _0x3b2c7a=_0x550dd8;super(),_0x53a705(this,_0x3b2c7a(0x273),!0x1),_0x53a705(this,'_init',!0x1),_0x53a705(this,'_cursorInfo$',new _0x8d602e[(_0x3b2c7a(0x2f8))](new Map())),_0x53a705(this,'cursorInfo$',this[_0x3b2c7a(0x2cd)]['asObservable']()),_0x53a705(this,'_roomMembers$',new _0x8d602e[(_0x3b2c7a(0x2f8))]([])),_0x53a705(this,_0x3b2c7a(0x253),this[_0x3b2c7a(0x240)][_0x3b2c7a(0x331)](_0x8d602e[_0x3b2c7a(0x256)](_0x15ac82))),_0x53a705(this,_0x3b2c7a(0x38e),_0x57bc4a['debounce']((_0x55be4d,_0x261c32)=>{const _0x23a1d8=_0x3b2c7a,_0x950bb1={'eventID':_0x61a9e1['CollaborationEvent'][_0x23a1d8(0x336)],'data':{'unitID':this[_0x23a1d8(0x34f)],'memberID':this[_0x23a1d8(0x2b2)][_0x23a1d8(0x409)](),'selection':_0x1fcc1a[_0x23a1d8(0x217)](_0x55be4d,_0x261c32[_0x23a1d8(0x263)])}};this[_0x23a1d8(0x2b2)][_0x23a1d8(0x3fe)](_0x950bb1,this[_0x23a1d8(0x34f)]);},_0x981607)),(this[_0x3b2c7a(0x34f)]=_0x35d06a,this[_0x3b2c7a(0x2b2)]=_0xbf0f85,this[_0x3b2c7a(0x317)]=_0x37d5fd,this[_0x3b2c7a(0x1f3)]=_0x7df3f6,this[_0x3b2c7a(0x31e)]=_0x57453f,this[_0x3b2c7a(0x325)]=_0x527289,this['_commandService']=_0x4c73de,this['_refRangeService']=_0x227d4e);}get[_0x550dd8(0x26c)](){const _0x307575=_0x550dd8;return this[_0x307575(0x2cd)][_0x307575(0x3cb)]();}get[_0x550dd8(0x2e4)](){const _0x47ae10=_0x550dd8;return this[_0x47ae10(0x240)][_0x47ae10(0x3cb)]();}[_0x550dd8(0x3ea)](){const _0x35d8c7=_0x550dd8;super[_0x35d8c7(0x3ea)](),this['_cursorInfo$'][_0x35d8c7(0x373)](new Map()),this['_cursorInfo$'][_0x35d8c7(0x2ea)](),this[_0x35d8c7(0x240)]['next']([]),this[_0x35d8c7(0x240)][_0x35d8c7(0x2ea)]();}[_0x550dd8(0x3c3)](){const _0x3a7049=_0x550dd8;this[_0x3a7049(0x271)]||(this[_0x3a7049(0x271)]=!0x0,this[_0x3a7049(0x2b2)]['sessionStatus$'][_0x3a7049(0x331)](_0x8d602e[_0x3a7049(0x249)](this[_0x3a7049(0x24d)]))[_0x3a7049(0x40b)](_0x4d5c91=>{const _0xe2bb9d=_0x3a7049;_0x4d5c91===_0x1a6421[_0xe2bb9d(0x28e)][_0xe2bb9d(0x28d)]?this[_0xe2bb9d(0x3bb)]():this[_0xe2bb9d(0x329)]();}),this['_session'][_0x3a7049(0x326)][_0x3a7049(0x331)](_0x8d602e[_0x3a7049(0x249)](this[_0x3a7049(0x24d)]))[_0x3a7049(0x40b)](_0x12558d=>{const _0x2adeed=_0x3a7049,_0x2833a1=_0x12558d[_0x2adeed(0x205)];_0x2833a1===_0x61a9e1[_0x2adeed(0x3ba)][_0x2adeed(0x336)]&&this['_onCursorUpdate'](_0x12558d),_0x2833a1===_0x61a9e1[_0x2adeed(0x3ba)][_0x2adeed(0x3da)]&&this[_0x2adeed(0x1c2)](_0x12558d);}),this[_0x3a7049(0x1ba)](),this[_0x3a7049(0x22e)](this['_commandService'][_0x3a7049(0x1b2)](_0x405f06=>{const _0x4481a2=_0x3a7049;if(this[_0x4481a2(0x273)]&&_0x405f06['id']===_0x26613f[_0x4481a2(0x1e7)]['id']&&_0x405f06[_0x4481a2(0x3b4)][_0x4481a2(0x389)]===this[_0x4481a2(0x34f)]){const _0x53c164=_0x405f06[_0x4481a2(0x3b4)];this[_0x4481a2(0x38e)](_0x53c164[_0x4481a2(0x239)],_0x53c164[_0x4481a2(0x1ce)][0x0]);}})));}['_onCursorUpdate'](_0x11ebae){const _0x2043f8=_0x550dd8;var _0x34a2f7,_0x2e18b9;const {memberID:_0x30a8ac,selection:_0x238e06}=_0x11ebae[_0x2043f8(0x1f8)],{sheetName:_0x429fbb,range:_0x1dd6f2}=_0x1fcc1a[_0x2043f8(0x2bf)](_0x238e06),_0x16298a={'name':(_0x2e18b9=(_0x34a2f7=this['_memberService'][_0x2043f8(0x34c)](this[_0x2043f8(0x34f)],_0x30a8ac))==null?void 0x0:_0x34a2f7[_0x2043f8(0x284)])!=null?_0x2e18b9:_0x2043f8(0x3b0),'range':this[_0x2043f8(0x38a)](_0x429fbb,_0x1dd6f2),'sheetID':_0x429fbb,'color':this[_0x2043f8(0x1f3)][_0x2043f8(0x200)](_0x30a8ac),'selection':_0x238e06},_0x1a7570=this[_0x2043f8(0x26c)];_0x1a7570[_0x2043f8(0x334)](_0x30a8ac,_0x16298a),this[_0x2043f8(0x2cd)][_0x2043f8(0x373)](_0x1a7570);}[_0x550dd8(0x1c2)](_0x4ad4f0){const _0x5e87b8=_0x550dd8,{memberID:_0x3c66b4}=_0x4ad4f0['data'],_0x329df7=this[_0x5e87b8(0x26c)];_0x329df7[_0x5e87b8(0x22c)](_0x3c66b4),this['_cursorInfo$'][_0x5e87b8(0x373)](_0x329df7);}[_0x550dd8(0x38a)](_0x11594b,_0x14c94b){const _0x59379c=_0x550dd8;var _0x4b9bbe,_0x49d6d2;const _0xe50853=(_0x49d6d2=(_0x4b9bbe=this[_0x59379c(0x325)][_0x59379c(0x37e)](this[_0x59379c(0x34f)]))==null?void 0x0:_0x4b9bbe['getSheetBySheetId'](_0x11594b))==null?void 0x0:_0x49d6d2[_0x59379c(0x3b5)]();return(_0xe50853==null?void 0x0:_0xe50853['find'](_0x271e1c=>_0x57bc4a[_0x59379c(0x33b)][_0x59379c(0x3e2)](_0x271e1c,_0x14c94b)))||_0x14c94b;}['_onRefRangeChange'](){const _0x41f8df=_0x550dd8,_0x3919d8=new _0x57bc4a[(_0x41f8df(0x3ef))](),_0x494e93=_0x445fa5(),_0x43c734=()=>{const _0xebe4ac=_0x41f8df;_0x3919d8[_0xebe4ac(0x3ea)]();const _0x588aba=(_0x477aba,_0x596dce,_0x38462b,_0xcb2ace)=>{const _0x2bd198=_0xebe4ac;let _0x39308d=[];switch(_0x477aba['id']){case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x319)]:{_0x39308d=_0x26613f['handleDeleteRangeMoveLeft'](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x3ab)]:{_0x39308d=_0x26613f['handleDeleteRangeMoveUp'](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x353)]:{_0x39308d=_0x26613f['handleInsertCol'](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x244)]:{_0x39308d=_0x26613f[_0x2bd198(0x386)](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)]['InsertRangeMoveRightCommandId']:{_0x39308d=_0x26613f['handleInsertRangeMoveRight'](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x328)]:{_0x39308d=_0x26613f[_0x2bd198(0x288)](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x1fd)]:{_0x39308d=_0x26613f['handleMoveRange'](_0x477aba,_0xcb2ace);break;}case _0x26613f['EffectRefRangId'][_0x2bd198(0x3a8)]:{_0x39308d=_0x26613f[_0x2bd198(0x19f)](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x3a9)]:{_0x39308d=_0x26613f[_0x2bd198(0x1c9)](_0x477aba,_0xcb2ace);break;}}const _0x46d812=_0x26613f['runRefRangeMutations'](_0x39308d,_0xcb2ace),_0x48d0e9=this[_0x2bd198(0x26c)][_0x2bd198(0x394)](_0x596dce);if(_0x48d0e9&&_0x46d812){const _0x2fdcd0={..._0x48d0e9,'range':_0x46d812};this[_0x2bd198(0x26c)][_0x2bd198(0x334)](_0x596dce,_0x2fdcd0),_0x494e93(()=>{const _0x328e30=_0x2bd198,_0x1880c1=this[_0x328e30(0x1d3)][_0x328e30(0x1ca)](_0x46d812,_0x49f5d1=>(_0x1880c1[_0x328e30(0x3ea)](),_0x588aba(_0x49f5d1,_0x596dce,_0x38462b,_0x46d812)));_0x3919d8[_0x328e30(0x2c2)](_0x1880c1);});}return{'redos':[],'undos':[]};};this[_0xebe4ac(0x26c)][_0xebe4ac(0x1e9)]((_0xdc0a0a,_0x20cff3)=>{const _0x2ead62=_0xebe4ac,{range:_0x2e08f4,sheetID:_0x109a13}=_0xdc0a0a,_0xa8d713=this[_0x2ead62(0x1d3)]['registerRefRange'](_0x2e08f4,_0x478e2c=>(_0xa8d713[_0x2ead62(0x3ea)](),_0x588aba(_0x478e2c,_0x20cff3,_0x109a13,_0x2e08f4)));_0x3919d8[_0x2ead62(0x2c2)](_0xa8d713);});};this[_0x41f8df(0x22e)](_0x57bc4a[_0x41f8df(0x2e1)](this[_0x41f8df(0x2cd)][_0x41f8df(0x40b)](()=>{_0x43c734();})));}[_0x550dd8(0x3bb)](){const _0x5a4799=_0x550dd8;var _0x3f2c17,_0x4ce204;if(this[_0x5a4799(0x273)]=!0x0,((_0x3f2c17=this[_0x5a4799(0x325)][_0x5a4799(0x3f1)]())==null?void 0x0:_0x3f2c17[_0x5a4799(0x3ae)]())!==this[_0x5a4799(0x34f)])return;const _0x57cb1e=(_0x4ce204=this['_injector']['get'](_0x26613f[_0x5a4799(0x229)])['getCurrentSelections']())==null?void 0x0:_0x4ce204[0x0],_0x16afa0=this[_0x5a4799(0x325)][_0x5a4799(0x238)](_0x57bc4a[_0x5a4799(0x2ff)]['UNIVER_SHEET'])[_0x5a4799(0x2c6)]();_0x57cb1e&&_0x16afa0&&this[_0x5a4799(0x38e)](_0x16afa0['getSheetId'](),_0x57cb1e);}[_0x550dd8(0x329)](){this['_online']=!0x1;}};_0x2f30f=_0x46f96d([_0x451996(0x2,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x2b3)])),_0x451996(0x3,_0x57bc4a[_0x550dd8(0x1a5)](_0xc9942d)),_0x451996(0x4,_0x57bc4a[_0x550dd8(0x1a5)](_0x1a6421[_0x550dd8(0x1cf)])),_0x451996(0x5,_0x57bc4a[_0x550dd8(0x37f)]),_0x451996(0x6,_0x57bc4a['ICommandService']),_0x451996(0x7,_0x57bc4a['Inject'](_0x26613f[_0x550dd8(0x3d8)]))],_0x2f30f);var _0x1c492c=Object[_0x550dd8(0x300)],_0x2f5a17=(_0x236d7c,_0x475fb9,_0xac65ed,_0x337659)=>{const _0x4cc6d9=_0x550dd8;for(var _0x13da8c=_0x337659>0x1?void 0x0:_0x337659?_0x1c492c(_0x475fb9,_0xac65ed):_0x475fb9,_0x21dca7=_0x236d7c[_0x4cc6d9(0x2f9)]-0x1,_0x379577;_0x21dca7>=0x0;_0x21dca7--)(_0x379577=_0x236d7c[_0x21dca7])&&(_0x13da8c=_0x379577(_0x13da8c)||_0x13da8c);return _0x13da8c;},_0x57b907=(_0x1280bb,_0x30a134)=>(_0x3e2cc7,_0x7c5207)=>_0x30a134(_0x3e2cc7,_0x7c5207,_0x1280bb);let _0x1434ca=class extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(_0x26e72c,_0x3e1307,_0x1667dc){const _0x83983e=_0x550dd8;super(),_0x53a705(this,_0x83983e(0x285),new Map()),_0x53a705(this,_0x83983e(0x359),new _0x8d602e['Subject']()),(this[_0x83983e(0x325)]=_0x26e72c,this[_0x83983e(0x317)]=_0x3e1307,this[_0x83983e(0x228)]=_0x1667dc,this[_0x83983e(0x271)]());}[_0x550dd8(0x3ea)](){const _0x3d6374=_0x550dd8;super[_0x3d6374(0x3ea)](),this['_entityInit$'][_0x3d6374(0x2ea)](),this[_0x3d6374(0x285)]['forEach'](_0x395a42=>_0x395a42['dispose']());}[_0x550dd8(0x2b1)](_0x260ffc){const _0x4bfadb=_0x550dd8;return this[_0x4bfadb(0x285)][_0x4bfadb(0x280)](_0x260ffc)?this[_0x4bfadb(0x285)]['get'](_0x260ffc)[_0x4bfadb(0x204)]:this[_0x4bfadb(0x359)][_0x4bfadb(0x331)](_0x8d602e[_0x4bfadb(0x259)](_0x5b4e8e=>_0x5b4e8e[_0x4bfadb(0x34f)]===_0x260ffc),_0x8d602e[_0x4bfadb(0x356)](_0x304973=>_0x304973[_0x4bfadb(0x204)]));}[_0x550dd8(0x271)](){const _0x4c29ac=_0x550dd8;this[_0x4c29ac(0x325)][_0x4c29ac(0x383)](_0x57bc4a[_0x4c29ac(0x2ff)]['UNIVER_SHEET'])[_0x4c29ac(0x331)](_0x8d602e[_0x4c29ac(0x249)](this[_0x4c29ac(0x24d)]))[_0x4c29ac(0x40b)](async _0x5b19b4=>{const _0x5d7960=_0x4c29ac,_0x2bb7dd=_0x5b19b4[_0x5d7960(0x3ae)](),_0x42728b=await this['_startSheetCollabCursor'](_0x2bb7dd);this['_entityInit$'][_0x5d7960(0x373)](_0x42728b),this[_0x5d7960(0x285)][_0x5d7960(0x334)](_0x2bb7dd,_0x42728b);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x57bc4a[_0x4c29ac(0x2ff)][_0x4c29ac(0x181)])[_0x4c29ac(0x331)](_0x8d602e[_0x4c29ac(0x249)](this[_0x4c29ac(0x24d)]))[_0x4c29ac(0x331)](_0x8d602e[_0x4c29ac(0x259)](_0x1f4d7e=>!_0x1f4d7e['getUnitId']()[_0x4c29ac(0x399)]('__')))[_0x4c29ac(0x40b)](async _0x4abd5f=>{const _0x30907c=_0x4c29ac,_0x4da9fa=_0x4abd5f[_0x30907c(0x3ae)](),_0x1e1de3=await this[_0x30907c(0x21b)](_0x4da9fa);this['_entityInit$'][_0x30907c(0x373)](_0x1e1de3),this[_0x30907c(0x285)][_0x30907c(0x334)](_0x4da9fa,_0x1e1de3);}),_0x8d602e['merge'](this[_0x4c29ac(0x325)]['getTypeOfUnitDisposed$'](_0x57bc4a[_0x4c29ac(0x2ff)][_0x4c29ac(0x181)]),this['_univerInstanceService'][_0x4c29ac(0x1f2)](_0x57bc4a['UniverInstanceType'][_0x4c29ac(0x1cc)]))[_0x4c29ac(0x331)](_0x8d602e[_0x4c29ac(0x249)](this[_0x4c29ac(0x24d)]))[_0x4c29ac(0x40b)](_0x80d47d=>{const _0x17dbc6=_0x4c29ac,_0x31f9cf=_0x80d47d[_0x17dbc6(0x3ae)](),_0xc4162=this[_0x17dbc6(0x285)][_0x17dbc6(0x394)](_0x31f9cf);_0xc4162&&(_0xc4162[_0x17dbc6(0x3ea)](),this[_0x17dbc6(0x285)]['delete'](_0x31f9cf));});}async[_0x550dd8(0x2ba)](_0x4bac9a){const _0x5792a8=_0x550dd8,_0x21566a=await this[_0x5792a8(0x228)][_0x5792a8(0x2ce)](_0x4bac9a),_0x2abb24=this['_injector'][_0x5792a8(0x2e7)](_0x2f30f,_0x4bac9a,_0x21566a);return _0x2abb24[_0x5792a8(0x3c3)](),_0x2abb24;}async[_0x550dd8(0x21b)](_0xdfba05){const _0x286a95=_0x550dd8,_0x4be269=await this[_0x286a95(0x228)]['requireSession'](_0xdfba05),_0x231e85=this[_0x286a95(0x317)][_0x286a95(0x2e7)](_0x428b64,_0xdfba05,_0x4be269);return _0x231e85[_0x286a95(0x3c3)](),_0x231e85;}};_0x1434ca=_0x2f5a17([_0x57b907(0x0,_0x57bc4a[_0x550dd8(0x37f)]),_0x57b907(0x1,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x2b3)])),_0x57b907(0x2,_0x57bc4a['Inject'](_0x1a6421[_0x550dd8(0x358)]))],_0x1434ca);const _0x561ef7=0x14,_0x2a446c=0xc8,_0x2ef870=0x4,_0x12ad29=0x5;function _0x4585a7(_0x412743,_0x5bcea3){const _0x31bd2a=_0x550dd8;let {radius:_0x2caba5,width:_0x43cef4,height:_0x3b02a5}=_0x5bcea3;_0x2caba5=_0x2caba5!=null?_0x2caba5:0x0,_0x43cef4=_0x43cef4!=null?_0x43cef4:0x1e,_0x3b02a5=_0x3b02a5!=null?_0x3b02a5:0x1e;let _0x2c2fc3=0x0,_0x1044a3=0x0,_0x4d755=0x0;_0x2c2fc3=_0x1044a3=_0x4d755=Math['min'](_0x2caba5,_0x43cef4/0x2,_0x3b02a5/0x2),_0x412743[_0x31bd2a(0x1c0)](),_0x412743['moveTo'](_0x2c2fc3,0x0),_0x412743['lineTo'](_0x43cef4-_0x1044a3,0x0),_0x412743[_0x31bd2a(0x2a2)](_0x43cef4-_0x1044a3,_0x1044a3,_0x1044a3,Math['PI']*0x3/0x2,0x0,!0x1),_0x412743[_0x31bd2a(0x415)](_0x43cef4,_0x3b02a5-_0x4d755),_0x412743[_0x31bd2a(0x2a2)](_0x43cef4-_0x4d755,_0x3b02a5-_0x4d755,_0x4d755,0x0,Math['PI']/0x2,!0x1),_0x412743['lineTo'](0x0,_0x3b02a5),_0x412743[_0x31bd2a(0x415)](0x0,_0x2c2fc3),_0x412743[_0x31bd2a(0x2a2)](_0x2c2fc3,_0x2c2fc3,_0x2c2fc3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x412743[_0x31bd2a(0x40f)](),_0x5bcea3[_0x31bd2a(0x1a0)]&&(_0x412743['save'](),_0x412743[_0x31bd2a(0x1dd)]=_0x5bcea3[_0x31bd2a(0x1a0)],_0x5bcea3[_0x31bd2a(0x3c7)]===_0x31bd2a(0x21c)?_0x412743[_0x31bd2a(0x1a0)]('evenodd'):_0x412743[_0x31bd2a(0x1a0)](),_0x412743[_0x31bd2a(0x29a)]());}class _0x27907a extends _0x120a2c[_0x550dd8(0x3a6)]{constructor(_0x4e0602,_0x3f482a){const _0x2c124a=_0x550dd8;super(_0x4e0602,_0x3f482a),_0x53a705(this,'color'),_0x53a705(this,_0x2c124a(0x1dc)),(this[_0x2c124a(0x3dd)]=_0x3f482a==null?void 0x0:_0x3f482a['color'],this[_0x2c124a(0x1dc)]=_0x3f482a==null?void 0x0:_0x3f482a['text']);}static[_0x550dd8(0x1e5)](_0x13229b,_0x3fc252){const _0x13736e=_0x550dd8,{text:_0xb4fa1a,color:_0xe4ff3}=_0x3fc252;_0x13229b['save'](),_0x13229b[_0x13736e(0x184)]=_0x13736e(0x235);const _0x519e3d=_0x13229b[_0x13736e(0x308)](_0xb4fa1a)[_0x13736e(0x310)],_0x4034d9=Math[_0x13736e(0x404)](_0x519e3d+0x2*_0x2ef870,_0x2a446c);_0x4585a7(_0x13229b,{'height':_0x561ef7,'radius':0x4,'width':_0x4034d9,'fill':_0xe4ff3}),_0x13229b[_0x13736e(0x1dd)]=_0x13736e(0x282);const _0x3e6ee7=_0x2ef870,_0x4d07e9=_0x561ef7-_0x12ad29,_0x5a88a9=_0x2a446c-0x2*_0x2ef870;if(_0x519e3d>_0x5a88a9){let _0x3e7900='',_0x524fec=0x0;for(const _0x1ebe74 of _0xb4fa1a){const _0x3aa9be=_0x13229b['measureText'](_0x1ebe74)[_0x13736e(0x310)];if(_0x524fec+_0x3aa9be<=_0x5a88a9-_0x13229b[_0x13736e(0x308)](_0x13736e(0x2f6))[_0x13736e(0x310)])_0x3e7900+=_0x1ebe74,_0x524fec+=_0x3aa9be;else{_0x3e7900+=_0x13736e(0x2f6);break;}}_0x13229b[_0x13736e(0x265)](_0x3e7900,_0x3e6ee7,_0x4d07e9);}else _0x13229b[_0x13736e(0x265)](_0xb4fa1a,_0x3e6ee7,_0x4d07e9);_0x13229b[_0x13736e(0x29a)]();}[_0x550dd8(0x2e9)](_0x3dbe7f){_0x27907a['drawWith'](_0x3dbe7f,this);}}const _0x37a2db=_0x550dd8(0x3a2),_0x92a2de=_0x550dd8(0x243),_0x94e5e2=_0x550dd8(0x1d4),_0x61e93d=0x6,_0x195929=1.5,_0x292acb=0x4,_0x49fcb5=1.5,_0x156bf9=_0x550dd8(0x1ea);class _0x4bbe4a{constructor(_0x4732cf,_0x4645b6,_0x2b4b50,_0x581d23){const _0x29e39b=_0x550dd8;_0x53a705(this,'_shapes',[]),_0x53a705(this,_0x29e39b(0x330),null),_0x53a705(this,'_textBubble',null),_0x53a705(this,_0x29e39b(0x1e8),null),_0x53a705(this,_0x29e39b(0x39d),null),_0x53a705(this,_0x29e39b(0x233),null),(this['_cursor']=_0x4732cf,this[_0x29e39b(0x254)]=_0x4645b6,this[_0x29e39b(0x227)]=_0x2b4b50,this[_0x29e39b(0x1c3)]=_0x581d23,this[_0x29e39b(0x3a1)]());}set['_hover'](_0x92caba){const _0x114ad2=_0x550dd8;_0x92caba?(this[_0x114ad2(0x1e8)]&&this['_anchorDot'][_0x114ad2(0x26f)](),this[_0x114ad2(0x299)]&&this[_0x114ad2(0x299)][_0x114ad2(0x1c6)]()):(this[_0x114ad2(0x1e8)]&&this['_anchorDot'][_0x114ad2(0x1c6)](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x550dd8(0x3ea)](){const _0x2e0362=_0x550dd8;for(const _0x173263 of this[_0x2e0362(0x3d4)])_0x173263[_0x2e0362(0x3ea)]();this['_textBubble']&&this[_0x2e0362(0x299)][_0x2e0362(0x3ea)](),this[_0x2e0362(0x1e8)]&&this[_0x2e0362(0x1e8)][_0x2e0362(0x3ea)](),this[_0x2e0362(0x330)]&&this[_0x2e0362(0x330)]['dispose'](),this[_0x2e0362(0x233)]&&this[_0x2e0362(0x233)]();}['_render'](){const _0x3e8118=_0x550dd8;var _0x3afe13;const {_docSkeleton:_0x5da9e0,_document:_0x32cb9a}=this,{color:_0x8c4160,name:_0x2d6996,ranges:_0x569ac5}=this[_0x3e8118(0x3e9)],_0x3b19e5=_0x32cb9a[_0x3e8118(0x1e1)](),{docsLeft:_0x27519f,docsTop:_0x27abf3}=_0x3b19e5,_0x12818e=new _0x8abdee[(_0x3e8118(0x2e8))](_0x3b19e5,_0x5da9e0);for(const {startOffset:_0x1dabf6,endOffset:_0xd4a0df,rangeType:_0x43a12e,segmentId:_0x2897e8,segmentPage:_0x2f66d3,collapsed:_0x5601af,isActive:_0x41fa88}of _0x569ac5){const _0x108106=_0x5da9e0['findNodePositionByCharIndex'](_0x1dabf6,!0x0,_0x2897e8,_0x2f66d3);let _0x5a10ec=_0x5da9e0['findNodePositionByCharIndex'](_0xd4a0df,!0x0,_0x2897e8,_0x2f66d3);if(_0x5a10ec==null&&(_0x5a10ec=_0x5da9e0[_0x3e8118(0x338)](_0xd4a0df-0x1,!0x1,_0x2897e8,_0x2f66d3)),_0x41fa88){const {contentBoxPointGroup:_0x57846f}=_0x12818e[_0x3e8118(0x245)](_0x5a10ec,_0x5a10ec);if(_0x57846f[_0x3e8118(0x2f9)]===0x0)continue;this[_0x3e8118(0x340)](_0x8c4160,_0x57846f,_0x27519f,_0x27abf3,_0x2d6996),this[_0x3e8118(0x233)]=this[_0x3e8118(0x1ee)]();}if(_0x108106&&_0x5a10ec){if(_0x43a12e===_0x57bc4a['DOC_RANGE_TYPE'][_0x3e8118(0x221)]){const _0x20296c=new _0x8abdee[(_0x3e8118(0x301))](_0x3b19e5,_0x5da9e0),{pointGroup:_0x1f32a3}=(_0x3afe13=_0x20296c[_0x3e8118(0x245)](_0x108106,_0x5a10ec))!=null?_0x3afe13:{};if(_0x1f32a3==null||_0x1f32a3[_0x3e8118(0x2f9)]===0x0)continue;this[_0x3e8118(0x28c)](_0x8c4160,_0x1f32a3,_0x27519f,_0x27abf3);}else{if(!_0x5601af){const {borderBoxPointGroup:_0xa93b7e}=_0x12818e[_0x3e8118(0x245)](_0x108106,_0x5a10ec);if(_0xa93b7e[_0x3e8118(0x2f9)]===0x0)continue;this[_0x3e8118(0x287)](_0x8c4160,_0xa93b7e,_0x27519f,_0x27abf3);}}}}}['_drawAnchor'](_0x31f416,_0x369b4d,_0x456bec,_0x2e9896,_0x4da87b){const _0x2eaaad=_0x550dd8,_0x1be031=this[_0x2eaaad(0x28f)](_0x369b4d),{left:_0x4f07ba,top:_0x33b828,height:_0x1e1b09}=_0x1be031,_0x48a7cc=this['_getScale'](),_0x565eb9=_0x49fcb5/_0x48a7cc,_0x4504a1=new _0x120a2c[(_0x2eaaad(0x26a))](_0x37a2db+_0x57bc4a['generateRandomId'](_0x61e93d),{'left':_0x4f07ba+_0x456bec-_0x565eb9,'top':_0x33b828+_0x2e9896,'height':_0x1e1b09,'width':_0x195929,'fill':_0x31f416||_0x120a2c[_0x2eaaad(0x2af)](_0x57bc4a[_0x2eaaad(0x337)][_0x2eaaad(0x2e3)],0x0),'strokeWidth':_0x565eb9,'stroke':_0x156bf9,'evented':!0x0});this[_0x2eaaad(0x330)]=_0x4504a1,this[_0x2eaaad(0x254)][_0x2eaaad(0x2a1)](_0x4504a1,_0x8abdee['TEXT_RANGE_LAYER_INDEX']);const _0x40f398=new _0x120a2c['Rect'](_0x37a2db+_0x57bc4a[_0x2eaaad(0x1c1)](_0x61e93d),{'left':_0x4f07ba+_0x456bec-_0x565eb9,'top':_0x33b828+_0x2e9896-_0x292acb/0x2,'height':_0x292acb,'width':_0x292acb,'fill':_0x31f416||_0x120a2c['getColor'](_0x57bc4a[_0x2eaaad(0x337)][_0x2eaaad(0x2e3)],0x0),'strokeWidth':0x0,'stroke':_0x31f416||_0x120a2c['getColor'](_0x57bc4a[_0x2eaaad(0x337)][_0x2eaaad(0x2e3)],0x0),'evented':!0x1});this[_0x2eaaad(0x1e8)]=_0x40f398,this[_0x2eaaad(0x254)][_0x2eaaad(0x2a1)](_0x40f398,_0x8abdee['TEXT_RANGE_LAYER_INDEX']);const _0x2269cc=new _0x27907a(_0x37a2db+_0x57bc4a[_0x2eaaad(0x1c1)](_0x61e93d),{'left':_0x4f07ba+_0x456bec-_0x565eb9,'top':_0x33b828+_0x2e9896-_0x561ef7,'text':_0x4da87b,'color':_0x31f416});this[_0x2eaaad(0x299)]=_0x2269cc,this['_scene'][_0x2eaaad(0x2a1)](_0x2269cc,_0x8abdee[_0x2eaaad(0x378)]),this[_0x2eaaad(0x216)]=!0x1;}[_0x550dd8(0x1ee)](){const _0x3b5163=_0x550dd8,_0x545448=this['_anchor'][_0x3b5163(0x1fb)][_0x3b5163(0x206)](()=>{this['_hover']=!0x0;}),_0x2c8fb4=this[_0x3b5163(0x330)][_0x3b5163(0x2ae)][_0x3b5163(0x206)](()=>{const _0x281f47=_0x3b5163;this[_0x281f47(0x39d)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x3a3caf=_0x281f47;this[_0x3a3caf(0x216)]=!0x1;},0x7d0);});return()=>{const _0x20532c=_0x3b5163;_0x545448[_0x20532c(0x397)](),_0x2c8fb4[_0x20532c(0x397)]();};}['_drawTextRange'](_0x342b7c,_0x307b6b,_0x296e92,_0x16bcef){const _0xdeff14=_0x550dd8,_0x11a5af=new _0x57bc4a[(_0xdeff14(0x267))](_0x342b7c)[_0xdeff14(0x32c)](0.2)[_0xdeff14(0x3c8)](),_0x4d2c72=new _0x120a2c[(_0xdeff14(0x1b1))](_0x92a2de+_0x57bc4a[_0xdeff14(0x1c1)](_0x61e93d),{'pointsGroup':_0x307b6b,'fill':_0x11a5af||_0x120a2c[_0xdeff14(0x2af)](_0x57bc4a[_0xdeff14(0x337)][_0xdeff14(0x2e3)],0.2),'left':_0x296e92,'top':_0x16bcef,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xdeff14(0x3d4)]['push'](_0x4d2c72),this[_0xdeff14(0x254)][_0xdeff14(0x2a1)](_0x4d2c72,_0x8abdee[_0xdeff14(0x378)]);}['_drawRectRange'](_0xf690ad,_0x18752d,_0x5d4295,_0x1b9155){const _0x5a9529=_0x550dd8,_0x37b870=new _0x57bc4a[(_0x5a9529(0x267))](_0xf690ad)['setAlpha'](0.2)['toRgbString'](),_0x2bec09=new _0x120a2c[(_0x5a9529(0x1b1))](_0x94e5e2+_0x57bc4a[_0x5a9529(0x1c1)](_0x61e93d),{'pointsGroup':_0x18752d,'fill':_0x37b870||_0x120a2c['getColor'](_0x57bc4a[_0x5a9529(0x337)][_0x5a9529(0x2e3)],0.2),'left':_0x5d4295,'top':_0x1b9155,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5a9529(0x3d4)][_0x5a9529(0x2a8)](_0x2bec09),this['_scene'][_0x5a9529(0x2a1)](_0x2bec09,_0x8abdee['TEXT_RANGE_LAYER_INDEX']);}[_0x550dd8(0x28f)](_0x3fcca2){const _0x1e245e=_0x3fcca2[0x0],_0x262bf7=_0x1e245e[0x0],_0x3953d6=_0x1e245e[0x2],{x:_0x1514ba,y:_0x3fd0a0}=_0x262bf7,{x:_0x4d4b6d,y:_0x56a56b}=_0x3953d6;return{'left':_0x1514ba,'top':_0x3fd0a0,'width':_0x4d4b6d-_0x1514ba,'height':_0x56a56b-_0x3fd0a0};}[_0x550dd8(0x1f9)](){const _0x590e75=_0x550dd8,{scaleX:_0x4bae20,scaleY:_0xa5a9a6}=this[_0x590e75(0x254)][_0x590e75(0x3d7)]();return Math[_0x590e75(0x32a)](_0x4bae20,_0xa5a9a6);}}var _0x5a8727=Object[_0x550dd8(0x300)],_0x4bdcc1=(_0x1de912,_0x53a86f,_0x27b9c5,_0x3f12f2)=>{for(var _0x3ccd2b=_0x3f12f2>0x1?void 0x0:_0x3f12f2?_0x5a8727(_0x53a86f,_0x27b9c5):_0x53a86f,_0x43f724=_0x1de912['length']-0x1,_0x5aa8ce;_0x43f724>=0x0;_0x43f724--)(_0x5aa8ce=_0x1de912[_0x43f724])&&(_0x3ccd2b=_0x5aa8ce(_0x3ccd2b)||_0x3ccd2b);return _0x3ccd2b;},_0x271a6e=(_0x79c428,_0x2372e9)=>(_0x1652dd,_0x1734ed)=>_0x2372e9(_0x1652dd,_0x1734ed,_0x79c428);let _0x411e34=class extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(_0x1f7608,_0x112d33,_0x5aced4,_0x588584,_0x5b6fd3){const _0x37c410=_0x550dd8;super(),_0x53a705(this,_0x37c410(0x3a3),[]),_0x53a705(this,_0x37c410(0x26e),[]),(this['_context']=_0x1f7608,this['_docSkeletonManagerService']=_0x112d33,this[_0x37c410(0x3f8)]=_0x5aced4,this['_commandService']=_0x588584,this['_themeService']=_0x5b6fd3,this['_init']());}['_init'](){const _0x44d8fa=_0x550dd8,_0x22ccbc=this[_0x44d8fa(0x2c9)][_0x44d8fa(0x389)],_0x1a4461=this[_0x44d8fa(0x1d7)];this[_0x44d8fa(0x22e)](_0x8d602e[_0x44d8fa(0x309)]([this[_0x44d8fa(0x3f8)][_0x44d8fa(0x2b1)](_0x22ccbc),this['_themeService'][_0x44d8fa(0x2f4)]])[_0x44d8fa(0x331)](_0x51f274['map'](([_0x1fd112,_0x1ed9ba])=>({'skeleton':_0x1a4461[_0x44d8fa(0x224)](),'cursors':[..._0x1fd112[_0x44d8fa(0x1df)]()]['flatMap'](_0x48dc20=>({..._0x48dc20,'color':this[_0x44d8fa(0x2b8)][_0x44d8fa(0x1a7)](_0x48dc20[_0x44d8fa(0x3dd)])}))})))[_0x44d8fa(0x40b)](_0x742890=>{const _0x4e16f9=_0x44d8fa;if(this[_0x4e16f9(0x370)](),_0x742890){const {skeleton:_0x25fed4,cursors:_0x4a27fe}=_0x742890;this[_0x4e16f9(0x22d)](_0x25fed4,_0x4a27fe);}})),this[_0x44d8fa(0x3aa)](),this[_0x44d8fa(0x351)]();}[_0x550dd8(0x22d)](_0x1f2a6d,_0x27a04b){const _0x22d6b5=_0x550dd8,{scene:_0x3471fb,mainComponent:_0x5b1498}=this['_context'],_0x1b0758=_0x27a04b[_0x22d6b5(0x27d)](_0x112d2f=>new _0x4bbe4a(_0x112d2f,_0x3471fb,_0x1f2a6d,_0x5b1498));this[_0x22d6b5(0x3a3)]=_0x1b0758,this[_0x22d6b5(0x26e)]=_0x27a04b;}[_0x550dd8(0x220)](){const _0x4a0a9=_0x550dd8;this['_removeCollabCursors']();const {scene:_0x220719,mainComponent:_0x54b297}=this[_0x4a0a9(0x2c9)],_0x357588=this[_0x4a0a9(0x1d7)][_0x4a0a9(0x224)](),_0x251c2b=this[_0x4a0a9(0x26e)][_0x4a0a9(0x27d)](_0x329f3f=>new _0x4bbe4a(_0x329f3f,_0x220719,_0x357588,_0x54b297));this[_0x4a0a9(0x3a3)]=_0x251c2b;}[_0x550dd8(0x370)](){const _0x3a0620=_0x550dd8;this[_0x3a0620(0x3a3)][_0x3a0620(0x1e9)](_0x309371=>_0x309371[_0x3a0620(0x3ea)]()),this[_0x3a0620(0x3a3)]=[];}[_0x550dd8(0x351)](){const _0x47ebfe=_0x550dd8,_0x3a7e0f=[_0x8abdee[_0x47ebfe(0x3c5)]['id']];this['disposeWithMe'](this[_0x47ebfe(0x365)][_0x47ebfe(0x1b2)](_0x20293d=>{const _0x3b98e2=_0x47ebfe;_0x3a7e0f['includes'](_0x20293d['id'])&&_0x20293d['params'][_0x3b98e2(0x389)]===this[_0x3b98e2(0x2c9)][_0x3b98e2(0x389)]&&this[_0x3b98e2(0x220)]();}));}['_initResize'](){const _0x1fc236=_0x550dd8;this[_0x1fc236(0x22e)](_0x57bc4a[_0x1fc236(0x188)](this[_0x1fc236(0x2c9)]['engine'][_0x1fc236(0x27b)])[_0x1fc236(0x331)](_0x51f274[_0x1fc236(0x259)](_0x64e942=>_0x64e942[_0x1fc236(0x2d8)]===_0x120a2c[_0x1fc236(0x364)]['resize']),_0x51f274[_0x1fc236(0x258)](0x10))[_0x1fc236(0x40b)](()=>{const _0x1516d5=_0x1fc236;this[_0x1516d5(0x220)]();}));}};_0x411e34=_0x4bdcc1([_0x271a6e(0x1,_0x57bc4a[_0x550dd8(0x1a5)](_0x57e96e[_0x550dd8(0x21e)])),_0x271a6e(0x2,_0x57bc4a['Inject'](_0x1434ca)),_0x271a6e(0x3,_0x57bc4a['ICommandService']),_0x271a6e(0x4,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x374)]))],_0x411e34);const _0x415ac9=0x1,_0x490c04=1.5;class _0x4a940d extends _0x120a2c['Shape']{constructor(_0x45b900,_0x141be5){const _0x388632=_0x550dd8;super(_0x45b900,_0x141be5),_0x53a705(this,'_color'),_0x53a705(this,_0x388632(0x306),!0x1),_0x53a705(this,_0x388632(0x195)),_0x53a705(this,_0x388632(0x180),''),_0x53a705(this,'_labelPosition',_0x388632(0x354)),_0x53a705(this,_0x388632(0x3c4)),(_0x141be5&&this['setShapeProps'](_0x141be5),this[_0x388632(0x1fb)][_0x388632(0x206)](()=>this[_0x388632(0x1b3)]({'hovered':!0x0})),this[_0x388632(0x2ae)][_0x388632(0x206)](()=>this[_0x388632(0x1b3)]({'hovered':!0x1})));}[_0x550dd8(0x1b3)](_0x1e8e01){const _0x562fde=_0x550dd8;var _0xb9e9d8,_0x4d3b28,_0x30b5bd,_0x36e7f4,_0x276e19,_0x492d89;this[_0x562fde(0x182)]=(_0xb9e9d8=_0x1e8e01[_0x562fde(0x3dd)])!=null?_0xb9e9d8:this[_0x562fde(0x182)],this[_0x562fde(0x306)]=(_0x4d3b28=_0x1e8e01['hovered'])!=null?_0x4d3b28:this['_hovered'],this[_0x562fde(0x195)]=(_0x30b5bd=_0x1e8e01[_0x562fde(0x263)])!=null?_0x30b5bd:this[_0x562fde(0x195)],this[_0x562fde(0x180)]=(_0x36e7f4=_0x1e8e01[_0x562fde(0x284)])!=null?_0x36e7f4:this['_name'],this['_labelPosition']=(_0x276e19=_0x1e8e01[_0x562fde(0x2b9)])!=null?_0x276e19:this[_0x562fde(0x388)],this[_0x562fde(0x3c4)]=(_0x492d89=_0x1e8e01['backgroundColor'])!=null?_0x492d89:this[_0x562fde(0x3c4)],this[_0x562fde(0x3cc)]({'width':_0x1e8e01[_0x562fde(0x310)],'height':_0x1e8e01['height']});}[_0x550dd8(0x2fb)](_0x5afac4){const _0x2dcafe=_0x550dd8,{row:_0x44e4e4,column:_0x1a4cc1}=_0x5afac4;if(_0x44e4e4>=this[_0x2dcafe(0x195)][_0x2dcafe(0x1aa)]&&_0x44e4e4<=this[_0x2dcafe(0x195)][_0x2dcafe(0x35e)]&&_0x1a4cc1>=this[_0x2dcafe(0x195)][_0x2dcafe(0x361)]&&_0x1a4cc1<=this['_range']['endColumn']){this[_0x2dcafe(0x1b3)]({'hovered':!0x0});return;}this[_0x2dcafe(0x1b3)]({'hovered':!0x1});}[_0x550dd8(0x311)](_0x284ae2){return!0x1;}[_0x550dd8(0x2e9)](_0x9dc72c){const _0x366bf7=_0x550dd8;_0x120a2c[_0x366bf7(0x26a)][_0x366bf7(0x1e5)](_0x9dc72c,{'width':this[_0x366bf7(0x310)],'height':this[_0x366bf7(0x208)],'strokeWidth':_0x490c04,'stroke':this[_0x366bf7(0x182)],'evented':!0x1,'fill':this[_0x366bf7(0x3c4)]}),this[_0x366bf7(0x306)]&&(_0x9dc72c[_0x366bf7(0x305)](),_0x9dc72c[_0x366bf7(0x3bf)](0x1,0x0,0x0,0x1,this[_0x366bf7(0x310)],this['_labelPosition']===_0x366bf7(0x316)?0x0:-_0x561ef7),_0x27907a[_0x366bf7(0x1e5)](_0x9dc72c,{'text':this[_0x366bf7(0x180)],'color':this[_0x366bf7(0x182)]}),_0x9dc72c[_0x366bf7(0x29a)]());}}var _0x42b80d=Object[_0x550dd8(0x300)],_0x1bbc84=(_0x3bf2fa,_0x23a612,_0x3a2fe8,_0x4174e1)=>{const _0x282552=_0x550dd8;for(var _0x3ed189=_0x4174e1>0x1?void 0x0:_0x4174e1?_0x42b80d(_0x23a612,_0x3a2fe8):_0x23a612,_0x235a58=_0x3bf2fa[_0x282552(0x2f9)]-0x1,_0x82a761;_0x235a58>=0x0;_0x235a58--)(_0x82a761=_0x3bf2fa[_0x235a58])&&(_0x3ed189=_0x82a761(_0x3ed189)||_0x3ed189);return _0x3ed189;},_0x14dac2=(_0x2303c6,_0x3b539f)=>(_0x4cf240,_0xbcdff4)=>_0x3b539f(_0x4cf240,_0xbcdff4,_0x2303c6);const _0x1f9f4b=0x1389;let _0x49de41=class extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(_0x297940,_0x599579,_0xbd6a60,_0x492d75){const _0x4b3f52=_0x550dd8;super(),_0x53a705(this,_0x4b3f52(0x26e),new Set()),_0x53a705(this,_0x4b3f52(0x1b0),null),(this[_0x4b3f52(0x2c9)]=_0x297940,this['_sheetSkeletonManagerService']=_0x599579,this['_collabCursorController']=_0xbd6a60,this[_0x4b3f52(0x2b8)]=_0x492d75,this[_0x4b3f52(0x271)]());}['_init'](){const _0x2be106=_0x550dd8;this['_sheetSkeletonManagerService'][_0x2be106(0x1d8)][_0x2be106(0x331)](_0x51f274[_0x2be106(0x249)](this[_0x2be106(0x24d)]),_0x51f274[_0x2be106(0x356)](_0x34aa3c=>{const _0x2aad29=_0x2be106;if(_0x34aa3c){const _0x31269b=_0x34aa3c[_0x2aad29(0x2b7)];return _0x8d602e['combineLatest'](this[_0x2aad29(0x3f8)][_0x2aad29(0x2b1)](this[_0x2aad29(0x2c9)][_0x2aad29(0x389)]),this['_themeService']['currentTheme$'])[_0x2aad29(0x331)](_0x51f274[_0x2aad29(0x27d)](([_0xa994a0,_0x475a55])=>{const _0x345483=_0x2aad29,_0x601a1d=new Map();return _0xa994a0[_0x345483(0x1e9)]((_0x26dd6e,_0x4ae88a)=>{const _0x184501=_0x345483;if(_0x26dd6e['sheetID']===_0x31269b){const _0x5b16b1={..._0x26dd6e};_0x5b16b1[_0x184501(0x3dd)]=this[_0x184501(0x2b8)][_0x184501(0x1a7)](_0x26dd6e[_0x184501(0x3dd)]),_0x601a1d[_0x184501(0x334)](_0x4ae88a,_0x5b16b1);}}),{'skeleton':_0x34aa3c,'cursors':_0x601a1d};}));}return _0x8d602e['of']({'skeleton':null,'cursors':new Map()});}))[_0x2be106(0x40b)](({skeleton:_0x7e8ad4,cursors:_0xce8bdb})=>{const _0x2527bd=_0x2be106;this[_0x2527bd(0x370)](),_0x7e8ad4&&this[_0x2527bd(0x22d)](_0x7e8ad4,_0xce8bdb);}),this[_0x2be106(0x3a4)][_0x2be106(0x1d8)][_0x2be106(0x40b)](_0x298543=>{const _0x5455ad=_0x2be106;if(_0x298543==null)return;const {skeleton:_0x39e4c2}=_0x298543,{scene:_0x57e596}=this[_0x5455ad(0x2c9)];_0x57e596['onPointerMove$']['subscribeEvent'](_0x57bc4a['debounce'](_0x24f58c=>{const _0x30058c=_0x5455ad;var _0x373234,_0x580d39;const {offsetX:_0x122d49,offsetY:_0x47abfe}=_0x24f58c,{x:_0x2e4905,y:_0x4ef674}=_0x57e596['getRelativeToViewportCoord'](_0x120a2c['Vector2']['FromArray']([_0x122d49,_0x47abfe])),{scaleX:_0x55cdbd,scaleY:_0xcf0b0e}=_0x57e596[_0x30058c(0x3d7)](),_0xc29064=_0x57e596[_0x30058c(0x35a)](_0x120a2c['SHEET_VIEWPORT_KEY'][_0x30058c(0x40c)]),_0x5e108f=_0x57e596['getVpScrollXYInfoByPosToVp'](_0x120a2c[_0x30058c(0x2d4)][_0x30058c(0x1da)]([_0x2e4905,_0x4ef674]),_0xc29064),_0x415ebb=_0x39e4c2[_0x30058c(0x272)](_0x122d49,_0x47abfe,_0x55cdbd,_0xcf0b0e,_0x5e108f);((_0x373234=this[_0x30058c(0x1b0)])==null?void 0x0:_0x373234[_0x30058c(0x32b)])===_0x415ebb[_0x30058c(0x32b)]&&((_0x580d39=this[_0x30058c(0x1b0)])==null?void 0x0:_0x580d39['row'])===_0x415ebb[_0x30058c(0x302)]||this['_cursors']['forEach'](_0x400a82=>{const _0x4aede4=_0x30058c;_0x400a82[_0x4aede4(0x2fb)](_0x415ebb);});},0x64));});}[_0x550dd8(0x22d)](_0xb50b5f,_0x567ef8){const _0x465849=_0x550dd8;var _0x500d4c;const _0x4ed4ea=(_0x500d4c=this[_0x465849(0x3a4)]['getCurrent']())==null?void 0x0:_0x500d4c[_0x465849(0x2de)];if(!_0x4ed4ea)return;const _0x23d473=this[_0x465849(0x38b)]();if(!_0x23d473)return;this[_0x465849(0x26e)][_0x465849(0x1e9)](_0x30d741=>{const _0x5e9b26=_0x465849;_0x30d741[_0x5e9b26(0x349)]();});const {scene:_0x5ea666}=_0x23d473,_0x1f7826=_0xad1fcd(Array[_0x465849(0x2d0)](_0x567ef8[_0x465849(0x1df)]()))[_0x465849(0x27d)](_0x94bc10=>{const _0x5a859f=_0x465849,{color:_0x16d293,range:_0x12231b,name:_0x520e13,selection:_0x515e69,sheetID:_0x58486c}=_0x94bc10,{startColumn:_0x29eb31,startRow:_0x2b8a8f,endColumn:_0x5a7449,endRow:_0x2359e5}=_0x12231b,_0x3111d3=_0x16e985[_0x5a859f(0x1c8)](_0x2b8a8f,_0x29eb31,_0x5ea666,_0x4ed4ea),_0x3be177=_0x16e985[_0x5a859f(0x1c8)](_0x2359e5,_0x5a7449,_0x5ea666,_0x4ed4ea),{columnHeaderHeightAndMarginTop:_0x547890}=_0x4ed4ea,{startX:_0x263763,startY:_0x221681}=_0x3111d3,{endX:_0x58a754,endY:_0x13b28f}=_0x3be177,_0xf4e52e=_0x58a754-_0x263763,_0x25006d=_0x13b28f-_0x221681,_0xda33e3={'labelPosition':_0x221681-_0x547890>=_0x561ef7?_0x5a859f(0x354):'bottom','sheetID':_0x58486c,'range':_0x12231b,'color':_0x16d293,'name':_0x520e13,'selection':_0x515e69,'left':_0x263763,'top':_0x221681,'width':_0xf4e52e,'height':_0x25006d,'evented':!0x1,'zIndex':_0x1f9f4b};return new _0x4a940d(_0x520e13,_0xda33e3);});_0x5ea666[_0x465849(0x3be)](_0x1f7826,_0x415ac9),this[_0x465849(0x26e)]=new Set(_0x1f7826);}[_0x550dd8(0x370)](){const _0x4c6dbb=_0x550dd8;var _0x414c1d;(_0x414c1d=this[_0x4c6dbb(0x26e)])==null||_0x414c1d['forEach'](_0x26b9da=>_0x26b9da['dispose']());}[_0x550dd8(0x38b)](){const _0x1a8887=_0x550dd8;return _0x16e985[_0x1a8887(0x37b)](this[_0x1a8887(0x2c9)]['unit'],this[_0x1a8887(0x2c9)]);}};_0x49de41=_0x1bbc84([_0x14dac2(0x1,_0x57bc4a['Inject'](_0x16e985[_0x550dd8(0x385)])),_0x14dac2(0x2,_0x57bc4a['Inject'](_0x1434ca)),_0x14dac2(0x3,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x374)]))],_0x49de41);function _0xad1fcd(_0x56669d){const _0x360b71=_0x550dd8,_0x77f458=new Map();return _0x56669d[_0x360b71(0x1e9)](_0x518255=>{const _0x2aed00=_0x360b71;if(_0x77f458[_0x2aed00(0x280)](_0x518255[_0x2aed00(0x38f)])){const _0x5cbf7f=_0x77f458['get'](_0x518255['selection']);_0x5cbf7f[_0x2aed00(0x284)]+=',\x20'+_0x518255[_0x2aed00(0x284)];}else _0x77f458[_0x2aed00(0x334)](_0x518255[_0x2aed00(0x38f)],_0x518255);}),Array[_0x360b71(0x2d0)](_0x77f458[_0x360b71(0x1df)]());}var _0x3dcf97=function(){const _0x56418d=_0x550dd8;return _0x3dcf97=Object['assign']||function(_0x35b3c9){const _0x3e81d4=_0x28d1;for(var _0x3f3199,_0x3a9b91=0x1,_0x4b5e58=arguments[_0x3e81d4(0x2f9)];_0x3a9b91<_0x4b5e58;_0x3a9b91++){_0x3f3199=arguments[_0x3a9b91];for(var _0x16f7f4 in _0x3f3199)Object[_0x3e81d4(0x2bc)][_0x3e81d4(0x31b)]['call'](_0x3f3199,_0x16f7f4)&&(_0x35b3c9[_0x16f7f4]=_0x3f3199[_0x16f7f4]);}return _0x35b3c9;},_0x3dcf97[_0x56418d(0x215)](this,arguments);},_0xa07808=function(_0x26f65b,_0x163e97){const _0x273e19=_0x550dd8;var _0x31b01d={};for(var _0x474e25 in _0x26f65b)Object[_0x273e19(0x2bc)]['hasOwnProperty']['call'](_0x26f65b,_0x474e25)&&_0x163e97[_0x273e19(0x29d)](_0x474e25)<0x0&&(_0x31b01d[_0x474e25]=_0x26f65b[_0x474e25]);if(_0x26f65b!=null&&typeof Object[_0x273e19(0x1bf)]==_0x273e19(0x3ff)){for(var _0x2d715f=0x0,_0x474e25=Object['getOwnPropertySymbols'](_0x26f65b);_0x2d715f<_0x474e25[_0x273e19(0x2f9)];_0x2d715f++)_0x163e97[_0x273e19(0x29d)](_0x474e25[_0x2d715f])<0x0&&Object[_0x273e19(0x2bc)][_0x273e19(0x24f)][_0x273e19(0x33f)](_0x26f65b,_0x474e25[_0x2d715f])&&(_0x31b01d[_0x474e25[_0x2d715f]]=_0x26f65b[_0x474e25[_0x2d715f]]);}return _0x31b01d;},_0x377766=_0x181751['forwardRef'](function(_0x189790,_0x31c41a){const _0x12ceff=_0x550dd8;var _0x3c385c=_0x189790['icon'],_0x4ca8bd=_0x189790['id'],_0x2f864a=_0x189790[_0x12ceff(0x1c4)],_0x5f5c0e=_0x189790[_0x12ceff(0x1b7)],_0x5d7d79=_0xa07808(_0x189790,[_0x12ceff(0x198),'id',_0x12ceff(0x1c4),'extend']),_0x5ac5a9=_0x12ceff(0x293)[_0x12ceff(0x34b)](_0x4ca8bd,'\x20')[_0x12ceff(0x34b)](_0x2f864a||'')[_0x12ceff(0x313)](),_0x3b2eb5=_0x181751[_0x12ceff(0x1bc)]('_'[_0x12ceff(0x34b)](_0x29ca32()));return _0x57e036(_0x3c385c,''[_0x12ceff(0x34b)](_0x4ca8bd),{'defIds':_0x3c385c['defIds'],'idSuffix':_0x3b2eb5[_0x12ceff(0x2cf)]},_0x3dcf97({'ref':_0x31c41a,'className':_0x5ac5a9},_0x5d7d79),_0x5f5c0e);});function _0x57e036(_0x5dace2,_0x47282f,_0x43a816,_0xf4e308,_0x225430){const _0x52b93b=_0x550dd8;return _0x181751['createElement'](_0x5dace2['tag'],_0x3dcf97(_0x3dcf97({'key':_0x47282f},_0x13eb86(_0x5dace2,_0x43a816,_0x225430)),_0xf4e308),(_0x45fb49(_0x5dace2,_0x43a816)['children']||[])[_0x52b93b(0x27d)](function(_0x122930,_0x5d450c){const _0x509d8b=_0x52b93b;return _0x57e036(_0x122930,''[_0x509d8b(0x34b)](_0x47282f,'-')[_0x509d8b(0x34b)](_0x5dace2[_0x509d8b(0x199)],'-')[_0x509d8b(0x34b)](_0x5d450c),_0x43a816,void 0x0,_0x225430);}));}function _0x13eb86(_0x581c00,_0x1f5337,_0x49a2ae){const _0x75f77=_0x550dd8;var _0x53c0b1=_0x3dcf97({},_0x581c00[_0x75f77(0x2a3)]);_0x49a2ae!=null&&_0x49a2ae['colorChannel1']&&_0x53c0b1[_0x75f77(0x1a0)]===_0x75f77(0x2db)&&(_0x53c0b1[_0x75f77(0x1a0)]=_0x49a2ae[_0x75f77(0x2db)]),_0x581c00[_0x75f77(0x199)]===_0x75f77(0x19d)&&_0x53c0b1['id']&&(_0x53c0b1['id']=_0x53c0b1['id']+_0x1f5337['idSuffix']),Object[_0x75f77(0x1bb)](_0x53c0b1)['forEach'](function(_0x29b894){const _0xd53406=_0x75f77;var _0x55946c=_0x29b894[0x0],_0x1f43f7=_0x29b894[0x1];_0x55946c==='mask'&&typeof _0x1f43f7=='string'&&(_0x53c0b1[_0x55946c]=_0x1f43f7['replace'](/url\(#(.*)\)/,_0xd53406(0x25b)[_0xd53406(0x34b)](_0x1f5337['idSuffix'],')')));});var _0x11a62e=_0x1f5337['defIds'];return!_0x11a62e||_0x11a62e[_0x75f77(0x2f9)]===0x0||(_0x581c00[_0x75f77(0x199)]===_0x75f77(0x1b4)&&_0x53c0b1[_0x75f77(0x345)]&&(_0x53c0b1[_0x75f77(0x345)]=_0x53c0b1[_0x75f77(0x345)]+_0x1f5337[_0x75f77(0x3bd)]),Object[_0x75f77(0x1bb)](_0x53c0b1)[_0x75f77(0x1e9)](function(_0x24d58d){const _0x5a8d07=_0x75f77;var _0xea5ba9=_0x24d58d[0x0],_0x486e54=_0x24d58d[0x1];typeof _0x486e54==_0x5a8d07(0x2b4)&&(_0x53c0b1[_0xea5ba9]=_0x486e54[_0x5a8d07(0x2f7)](/url\(#(.*)\)/,_0x5a8d07(0x25b)[_0x5a8d07(0x34b)](_0x1f5337['idSuffix'],')')));})),_0x53c0b1;}function _0x45fb49(_0x4ed443,_0x33be78){const _0x55146f=_0x550dd8;var _0x5e1e54,_0x2fcdf9=_0x33be78[_0x55146f(0x362)];return!_0x2fcdf9||_0x2fcdf9[_0x55146f(0x2f9)]===0x0?_0x4ed443:_0x4ed443[_0x55146f(0x199)]===_0x55146f(0x3d3)&&(!((_0x5e1e54=_0x4ed443['children'])===null||_0x5e1e54===void 0x0)&&_0x5e1e54[_0x55146f(0x2f9)])?_0x3dcf97(_0x3dcf97({},_0x4ed443),{'children':_0x4ed443[_0x55146f(0x3e4)][_0x55146f(0x27d)](function(_0x27962f){const _0x3d25f1=_0x55146f;return typeof _0x27962f[_0x3d25f1(0x2a3)]['id']==_0x3d25f1(0x2b4)&&_0x2fcdf9&&_0x2fcdf9[_0x3d25f1(0x31a)](_0x27962f[_0x3d25f1(0x2a3)]['id'])?_0x3dcf97(_0x3dcf97({},_0x27962f),{'attrs':_0x3dcf97(_0x3dcf97({},_0x27962f[_0x3d25f1(0x2a3)]),{'id':_0x27962f[_0x3d25f1(0x2a3)]['id']+_0x33be78[_0x3d25f1(0x3bd)]})}):_0x27962f;})}):_0x4ed443;}function _0x29ca32(){const _0x536b8c=_0x550dd8;return Math[_0x536b8c(0x3af)]()[_0x536b8c(0x2e6)](0x24)[_0x536b8c(0x2dc)](0x2,0x8);}_0x377766['displayName']='UniverIcon';var _0x3b5273={'tag':_0x550dd8(0x332),'attrs':{'xmlns':_0x550dd8(0x34a),'fill':'none','viewBox':_0x550dd8(0x36f),'width':_0x550dd8(0x410),'height':_0x550dd8(0x410)},'children':[{'tag':'g','attrs':{'clipPath':_0x550dd8(0x2da)},'children':[{'tag':'path','attrs':{'stroke':_0x550dd8(0x18c),'d':_0x550dd8(0x1fe),'strokeLinecap':_0x550dd8(0x34e),'strokeLinejoin':_0x550dd8(0x34e),'strokeWidth':1.2}}]},{'tag':_0x550dd8(0x3d3),'attrs':{},'children':[{'tag':_0x550dd8(0x1be),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x550dd8(0x3dc),'attrs':{'fill':'white','d':_0x550dd8(0x250)}}]}]}],'defIds':[_0x550dd8(0x3e5)]},_0x250cc8=_0x181751[_0x550dd8(0x276)](function(_0x11bb31,_0x36e5a7){const _0x3ae155=_0x550dd8;return _0x181751['createElement'](_0x377766,Object[_0x3ae155(0x266)]({},_0x11bb31,{'id':_0x3ae155(0x380),'ref':_0x36e5a7,'icon':_0x3b5273}));});_0x250cc8[_0x550dd8(0x248)]=_0x550dd8(0x223);var _0xea8af={'tag':_0x550dd8(0x332),'attrs':{'xmlns':_0x550dd8(0x34a),'fill':'none','viewBox':_0x550dd8(0x190),'width':_0x550dd8(0x410),'height':_0x550dd8(0x410)},'children':[{'tag':'g','attrs':{'clipPath':_0x550dd8(0x3f2)},'children':[{'tag':'path','attrs':{'stroke':_0x550dd8(0x18c),'d':_0x550dd8(0x416),'strokeLinecap':'round','strokeLinejoin':_0x550dd8(0x34e),'strokeWidth':1.2}}]},{'tag':_0x550dd8(0x3d3),'attrs':{},'children':[{'tag':_0x550dd8(0x1be),'attrs':{'id':_0x550dd8(0x3b1)},'children':[{'tag':_0x550dd8(0x3dc),'attrs':{'fill':'white','d':_0x550dd8(0x250),'transform':'translate(.97)'}}]}]}],'defIds':[_0x550dd8(0x3b1)]},_0x5cf868=_0x181751[_0x550dd8(0x276)](function(_0x43f888,_0x256df6){const _0x1947ec=_0x550dd8;return _0x181751['createElement'](_0x377766,Object[_0x1947ec(0x266)]({},_0x43f888,{'id':_0x1947ec(0x26d),'ref':_0x256df6,'icon':_0xea8af}));});_0x5cf868['displayName']=_0x550dd8(0x355);function _0x280a3e(_0xf95b29){const _0x1cd324=_0x550dd8;switch(_0xf95b29){case _0x1a6421[_0x1cd324(0x3c9)][_0x1cd324(0x270)]:return'collabStatus.offline';case _0x1a6421['CollaborationStatus'][_0x1cd324(0x39c)]:return _0x1cd324(0x35b);case _0x1a6421[_0x1cd324(0x3c9)][_0x1cd324(0x396)]:return'collabStatus.fetchMiss';case _0x1a6421[_0x1cd324(0x3c9)]['NOT_COLLAB']:return _0x1cd324(0x24a);case _0x1a6421[_0x1cd324(0x3c9)][_0x1cd324(0x1a3)]:case _0x1a6421[_0x1cd324(0x3c9)][_0x1cd324(0x3a5)]:return _0x1cd324(0x269);case _0x1a6421[_0x1cd324(0x3c9)][_0x1cd324(0x212)]:case _0x1a6421[_0x1cd324(0x3c9)]['PENDING']:return'collabStatus.synced';}}function _0x137593(_0x57b5a0){const _0x39a234=_0x550dd8,{status$:_0x31cb85}=_0x57b5a0,_0x4ff2af=_0x29e6f1[_0x39a234(0x30b)](_0x31cb85,_0x1a6421['CollaborationStatus']['NOT_COLLAB']),_0x27666d=_0x29e6f1[_0x39a234(0x3b6)](_0x57bc4a[_0x39a234(0x27e)]),_0xbb7b8b=_0x29e6f1[_0x39a234(0x3b6)](_0x1a6421[_0x39a234(0x358)]),_0x4b1d86=_0x4ff2af!==_0x1a6421['CollaborationStatus']['OFFLINE'],_0x11ae65=_0x27666d['t'](_0x280a3e(_0x4ff2af)),_0x296149=_0x4b1d86?_0x158c8f[_0x39a234(0x1c7)](_0x5cf868,{}):_0x158c8f[_0x39a234(0x1c7)](_0x250cc8,{}),_0x238054=_0x181751[_0x39a234(0x28b)](()=>{_0x4b1d86||_0xbb7b8b['reconnect']();},[_0x4b1d86,_0xbb7b8b]);function _0x2e790c(){const _0x3b3134=_0x39a234;return _0x158c8f[_0x3b3134(0x1e2)](_0x3b3134(0x2b5),{'className':_0x3b3134(0x2ad),'onClick':_0x238054,'children':[_0x158c8f['jsx'](_0x3b3134(0x2b5),{'className':_0x43e575[_0x3b3134(0x32e)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4b1d86,'univer-text-red-500':!_0x4b1d86}),'children':_0x296149}),_0x158c8f['jsx'](_0x3b3134(0x2b5),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x11ae65})]});}return _0x4b1d86?_0x2e790c():_0x158c8f[_0x39a234(0x1c7)](_0x43e575[_0x39a234(0x3fc)],{'title':_0x27666d['t'](_0x39a234(0x242)),'children':_0x2e790c()});}var _0x323049=Object[_0x550dd8(0x300)],_0x3d9b0f=(_0xd95146,_0x24b555,_0x2045d9,_0x493a9a)=>{const _0x53e630=_0x550dd8;for(var _0x43579f=_0x493a9a>0x1?void 0x0:_0x493a9a?_0x323049(_0x24b555,_0x2045d9):_0x24b555,_0x3719f7=_0xd95146[_0x53e630(0x2f9)]-0x1,_0x11ab5f;_0x3719f7>=0x0;_0x3719f7--)(_0x11ab5f=_0xd95146[_0x3719f7])&&(_0x43579f=_0x11ab5f(_0x43579f)||_0x43579f);return _0x43579f;},_0x48c2d4=(_0x3f51d1,_0x456174)=>(_0xc25fef,_0x100baa)=>_0x456174(_0xc25fef,_0x100baa,_0x3f51d1);_0x40d0d0[_0x550dd8(0x236)]=class extends _0x57bc4a[_0x550dd8(0x387)]{constructor(_0x1fc973,_0x3f9369,_0xa6d9c1,_0x169b7e){const _0xbd3cf9=_0x550dd8;super(),_0x53a705(this,_0xbd3cf9(0x202),new _0x8d602e[(_0xbd3cf9(0x2f8))](_0x1a6421[_0xbd3cf9(0x3c9)][_0xbd3cf9(0x27f)])),(this[_0xbd3cf9(0x325)]=_0x1fc973,this['_injector']=_0x3f9369,this[_0xbd3cf9(0x1a2)]=_0xa6d9c1,this[_0xbd3cf9(0x2fc)]=_0x169b7e,this[_0xbd3cf9(0x3ce)](),this[_0xbd3cf9(0x257)]());}['_initStatusListener'](){const _0x18eed9=_0x550dd8;this[_0x18eed9(0x22e)](this[_0x18eed9(0x325)][_0x18eed9(0x320)][_0x18eed9(0x331)](_0x8d602e[_0x18eed9(0x356)](()=>{const _0x515b08=_0x18eed9,_0x2a8a39=this['_univerInstanceService']['getFocusedUnit']();return _0x2a8a39?this[_0x515b08(0x1a2)]['getCollabEntity$'](_0x2a8a39['getUnitId']()):_0x8d602e['of'](null);}),_0x8d602e['switchMap'](_0x68fd5f=>_0x68fd5f?_0x68fd5f['status$']:_0x8d602e['of'](_0x1a6421[_0x18eed9(0x3c9)][_0x18eed9(0x27f)])))[_0x18eed9(0x40b)](_0x18eaa1=>{const _0x812995=_0x18eed9;this[_0x812995(0x202)][_0x812995(0x373)](_0x18eaa1);}));}[_0x550dd8(0x3ce)](){const _0xd61301=_0x550dd8;this[_0xd61301(0x22e)](this[_0xd61301(0x2fc)][_0xd61301(0x1a9)](_0x29e6f1['BuiltInUIPart'][_0xd61301(0x40a)],()=>_0x29e6f1['connectInjector'](_0x383194({'status$':this[_0xd61301(0x202)]['asObservable']()}),this[_0xd61301(0x317)])));}},_0x40d0d0[_0x550dd8(0x236)]=_0x3d9b0f([_0x48c2d4(0x0,_0x57bc4a[_0x550dd8(0x37f)]),_0x48c2d4(0x1,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x2b3)])),_0x48c2d4(0x2,_0x57bc4a[_0x550dd8(0x1a5)](_0x1a6421[_0x550dd8(0x17e)])),_0x48c2d4(0x3,_0x29e6f1[_0x550dd8(0x241)])],_0x40d0d0[_0x550dd8(0x236)]);function _0x383194(_0x4c9e26){const {status$:_0x28ed01}=_0x4c9e26;return function(){const _0x2ae3d0=_0x28d1;return _0x158c8f[_0x2ae3d0(0x1c7)](_0x137593,{'status$':_0x28ed01});};}var _0x1e4eb1=Object[_0x550dd8(0x300)],_0x5bebd3=(_0x549a1d,_0x3f763f,_0x5f0a89,_0x4b2737)=>{for(var _0x4e4985=_0x4b2737>0x1?void 0x0:_0x4b2737?_0x1e4eb1(_0x3f763f,_0x5f0a89):_0x3f763f,_0x190218=_0x549a1d['length']-0x1,_0x10652b;_0x190218>=0x0;_0x190218--)(_0x10652b=_0x549a1d[_0x190218])&&(_0x4e4985=_0x10652b(_0x4e4985)||_0x4e4985);return _0x4e4985;},_0x5ddfb0=(_0x4dbe10,_0x30a7d6)=>(_0x4dacae,_0x5700cd)=>_0x30a7d6(_0x4dacae,_0x5700cd,_0x4dbe10);let _0x490837=class extends _0x57bc4a[_0x550dd8(0x387)]{constructor(_0x50dd97,_0xad14b7,_0x407301,_0x34b726,_0x1f7776,_0x2b0296){const _0x58800e=_0x550dd8;super(),this[_0x58800e(0x35d)]=_0x50dd97,this['_localCacheService']=_0xad14b7,this[_0x58800e(0x192)]=_0x407301,this[_0x58800e(0x322)]=_0x34b726,this[_0x58800e(0x3db)]=_0x1f7776,this[_0x58800e(0x38d)]=_0x2b0296,this['_setupBeforeClosingHandler'](),this[_0x58800e(0x1d0)]();}[_0x550dd8(0x37c)](){const _0x3153d2=_0x550dd8;this[_0x3153d2(0x22e)](this[_0x3153d2(0x35d)]['registerBeforeClose'](()=>{const _0x1a8c8f=_0x3153d2;if(this[_0x1a8c8f(0x25d)]['saveTaskMap'][_0x1a8c8f(0x314)])return this[_0x1a8c8f(0x38d)]['t'](_0x1a8c8f(0x2bd));}));}[_0x550dd8(0x1d0)](){const _0x24e6a9=_0x550dd8;this[_0x24e6a9(0x22e)](this[_0x24e6a9(0x192)][_0x24e6a9(0x326)][_0x24e6a9(0x40b)](_0x34553d=>{const _0x497134=_0x24e6a9;_0x34553d['id']===_0x1a6421[_0x497134(0x23f)][_0x497134(0x26b)]&&this[_0x497134(0x322)][_0x497134(0x1c6)]({'type':_0x43e575[_0x497134(0x1a1)]['Warning'],'content':this[_0x497134(0x38d)]['t'](_0x497134(0x303))}),_0x34553d['id']===_0x1a6421[_0x497134(0x23f)][_0x497134(0x40e)]&&this[_0x497134(0x322)][_0x497134(0x1c6)]({'type':_0x43e575[_0x497134(0x1a1)][_0x497134(0x3d5)],'content':this['_localeService']['t'](_0x497134(0x27a))}),_0x34553d['id']===_0x1a6421[_0x497134(0x23f)][_0x497134(0x1f7)]&&this[_0x497134(0x3db)]['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x497134(0x38d)]['t'](_0x497134(0x2bb)),'type':_0x497134(0x268),'duration':0x0}),_0x34553d['id']===_0x1a6421[_0x497134(0x23f)][_0x497134(0x39c)]&&this[_0x497134(0x322)][_0x497134(0x1c6)]({'type':_0x43e575['MessageType'][_0x497134(0x2dd)],'content':this[_0x497134(0x38d)]['t'](_0x497134(0x27a))+'('+_0x34553d[_0x497134(0x1f8)]+')'}),_0x34553d['id']===_0x1a6421[_0x497134(0x23f)][_0x497134(0x3f4)]&&this[_0x497134(0x322)]['show']({'type':_0x43e575[_0x497134(0x1a1)][_0x497134(0x3d5)],'content':this[_0x497134(0x38d)]['t'](_0x34553d[_0x497134(0x1f8)]||'')}),_0x34553d['id']===_0x1a6421['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x497134(0x1c6)]({'type':_0x43e575['MessageType']['Warning'],'content':this[_0x497134(0x38d)]['t'](_0x497134(0x395))}),_0x34553d['id']===_0x1a6421['CollaborationUIEventId'][_0x497134(0x1ae)]&&this[_0x497134(0x322)]['show']({'type':_0x43e575[_0x497134(0x1a1)][_0x497134(0x2dd)],'content':this[_0x497134(0x38d)]['t'](_0x497134(0x376))}),_0x34553d['id']===_0x1a6421[_0x497134(0x23f)][_0x497134(0x3f0)]&&this[_0x497134(0x322)][_0x497134(0x1c6)]({'type':_0x43e575[_0x497134(0x1a1)][_0x497134(0x2dd)],'content':this[_0x497134(0x38d)]['t'](_0x497134(0x1ab))});}));}};_0x490837=_0x5bebd3([_0x5ddfb0(0x0,_0x29e6f1[_0x550dd8(0x368)]),_0x5ddfb0(0x1,_0x1a6421[_0x550dd8(0x3e0)]),_0x5ddfb0(0x2,_0x57bc4a[_0x550dd8(0x1a5)](_0x1a6421[_0x550dd8(0x18f)])),_0x5ddfb0(0x3,_0x29e6f1[_0x550dd8(0x1f4)]),_0x5ddfb0(0x4,_0x29e6f1['INotificationService']),_0x5ddfb0(0x5,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a['LocaleService']))],_0x490837);const _0x521268=_0x550dd8(0x1ed),_0x40da0e={},_0x40e96e=_0x57bc4a[_0x550dd8(0x40d)](_0x550dd8(0x21a));var _0x42e261=Object['getOwnPropertyDescriptor'],_0x53ae6e=(_0x357f20,_0x3c67d5,_0x42524c,_0x32b62f)=>{const _0x4560ce=_0x550dd8;for(var _0x37f6e3=_0x32b62f>0x1?void 0x0:_0x32b62f?_0x42e261(_0x3c67d5,_0x42524c):_0x3c67d5,_0x5e0eb2=_0x357f20[_0x4560ce(0x2f9)]-0x1,_0x2b35d8;_0x5e0eb2>=0x0;_0x5e0eb2--)(_0x2b35d8=_0x357f20[_0x5e0eb2])&&(_0x37f6e3=_0x2b35d8(_0x37f6e3)||_0x37f6e3);return _0x37f6e3;},_0x5a4fee=(_0x33d2cb,_0x4c9b0b)=>(_0x2627b7,_0x490d5b)=>_0x4c9b0b(_0x2627b7,_0x490d5b,_0x33d2cb);_0x40d0d0['CollaborationDataLoaderController']=class extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(_0x23b577,_0x567509,_0x589afe,_0x3e2a41,_0x4f0b0c){const _0x30a8c0=_0x550dd8;super(),this[_0x30a8c0(0x283)]=_0x23b577,this['_logService']=_0x567509,this[_0x30a8c0(0x365)]=_0x589afe,this[_0x30a8c0(0x2cb)]=_0x3e2a41,_0x4f0b0c?_0x4f0b0c==null||_0x4f0b0c['whenReady']()[_0x30a8c0(0x39a)](()=>this[_0x30a8c0(0x271)]()):(this[_0x30a8c0(0x35f)]['debug'](_0x30a8c0(0x350),_0x30a8c0(0x3fa)),this[_0x30a8c0(0x271)]());}async[_0x550dd8(0x271)](){const _0xa3bf4d=_0x550dd8,_0x211553=this[_0xa3bf4d(0x283)][_0xa3bf4d(0x1a6)](_0xa3bf4d(0x2c5)),_0x277c5d=this[_0xa3bf4d(0x283)][_0xa3bf4d(0x1a6)]('type'),_0x10d43b=this[_0xa3bf4d(0x283)][_0xa3bf4d(0x1a6)](_0xa3bf4d(0x19b));if(!_0x211553||!_0x277c5d){this['_logService']['debug'](_0xa3bf4d(0x350),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x15420b=await this[_0xa3bf4d(0x2cb)][_0xa3bf4d(0x3e1)](_0x211553,Number(_0x277c5d),_0x10d43b);_0x15420b&&_0x15420b instanceof _0x57bc4a[_0xa3bf4d(0x3b8)]&&this['_setupSubUnitSync'](_0x15420b);}async[_0x550dd8(0x298)](_0x63ec0c){const _0x5c8fc0=_0x550dd8;await this[_0x5c8fc0(0x2eb)](_0x63ec0c),_0x63ec0c[_0x5c8fc0(0x2a6)][_0x5c8fc0(0x331)](_0x8d602e[_0x5c8fc0(0x249)](this[_0x5c8fc0(0x24d)]))[_0x5c8fc0(0x40b)](_0x15034c=>{const _0x1e8914=_0x5c8fc0;_0x15034c&&this[_0x1e8914(0x1d9)](_0x15034c);}),this[_0x5c8fc0(0x283)][_0x5c8fc0(0x1ad)][_0x5c8fc0(0x331)](_0x8d602e['takeUntil'](this[_0x5c8fc0(0x24d)]))['subscribe'](()=>this[_0x5c8fc0(0x2eb)](_0x63ec0c));}[_0x550dd8(0x1d9)](_0x3423e3,_0x584666=!0x1){const _0x1f39e4=_0x550dd8,_0x97f0b0=this[_0x1f39e4(0x283)][_0x1f39e4(0x1a6)](_0x1f39e4(0x19b));_0x3423e3['getSheetId']()!==_0x97f0b0&&this['_urlService'][_0x1f39e4(0x291)]('subunit',_0x3423e3['getSheetId'](),_0x584666);}async['_updateSubUnitFromURLParams'](_0x43ac63){const _0xe2560f=_0x550dd8;var _0x716717;const _0x460644=this[_0xe2560f(0x283)][_0xe2560f(0x1a6)](_0xe2560f(0x19b));if(!_0x460644||!_0x43ac63[_0xe2560f(0x261)](_0x460644)){const _0x2162f6=_0x43ac63[_0xe2560f(0x393)]()[0x0],_0x42f163=_0x43ac63['getSheetBySheetId'](_0x2162f6);if(!_0x42f163)return;this['_updateURLWithCurrentState'](_0x42f163,!0x0),await this['_commandService']['executeCommand'](_0x26613f['SetWorksheetActivateCommand']['id'],{'unitId':_0x43ac63[_0xe2560f(0x3ae)](),'subUnitId':_0x2162f6});return;}((_0x716717=_0x43ac63[_0xe2560f(0x2c6)]())==null?void 0x0:_0x716717[_0xe2560f(0x321)]())!==_0x460644&&await this[_0xe2560f(0x365)]['executeCommand'](_0x26613f[_0xe2560f(0x1af)]['id'],{'unitId':_0x43ac63[_0xe2560f(0x3ae)](),'subUnitId':_0x460644});}},_0x40d0d0[_0x550dd8(0x24e)]=_0x53ae6e([_0x5a4fee(0x0,_0x40e96e),_0x5a4fee(0x1,_0x57bc4a[_0x550dd8(0x3c1)]),_0x5a4fee(0x2,_0x57bc4a[_0x550dd8(0x279)]),_0x5a4fee(0x3,_0x57bc4a[_0x550dd8(0x1a5)](_0x1a6421[_0x550dd8(0x3e8)])),_0x5a4fee(0x4,_0x57bc4a[_0x550dd8(0x20c)](_0x11103a['IRemoteInstanceService']))],_0x40d0d0[_0x550dd8(0x24e)]);var _0x2301b7=Object['getOwnPropertyDescriptor'],_0x559148=(_0x5814f9,_0xb91cdb,_0x23d18f,_0x3c371d)=>{for(var _0x394cd4=_0x3c371d>0x1?void 0x0:_0x3c371d?_0x2301b7(_0xb91cdb,_0x23d18f):_0xb91cdb,_0x21787a=_0x5814f9['length']-0x1,_0x23b043;_0x21787a>=0x0;_0x21787a--)(_0x23b043=_0x5814f9[_0x21787a])&&(_0x394cd4=_0x23b043(_0x394cd4)||_0x394cd4);return _0x394cd4;},_0xef0f9d=(_0x428884,_0x4cc975)=>(_0xe8c2df,_0x1c435e)=>_0x4cc975(_0xe8c2df,_0x1c435e,_0x428884);let _0x39095d=class{constructor(_0x5c4acd,_0x1e540a){const _0x9996d2=_0x550dd8;this[_0x9996d2(0x3c6)]=_0x5c4acd,this[_0x9996d2(0x342)]=_0x1e540a;}[_0x550dd8(0x1eb)](_0x2eed9b){const _0x725c01=_0x550dd8;this['_transformUndoRedoStack'](_0x2eed9b),this[_0x725c01(0x367)](_0x2eed9b);}['transformRemoteChangeset'](_0x584ab4){const _0x16be19=_0x550dd8,{unitID:_0x3384b3}=_0x584ab4,_0xeac4fe=this[_0x16be19(0x342)][_0x16be19(0x207)](_0x3384b3)['with'](_0x8abdee[_0x16be19(0x411)]),{redoCache:_0x3a4a78}=_0xeac4fe[_0x16be19(0x1f6)]();if(_0x3a4a78[_0x16be19(0x2f9)]===0x0)return _0x584ab4;let _0x14c46e=_0x57bc4a['Tools'][_0x16be19(0x194)](_0x584ab4[_0x16be19(0x403)][0x0]);for(let _0x5a33a7=0x0;_0x5a33a7<_0x3a4a78[_0x16be19(0x2f9)];_0x5a33a7++){const _0x3aefb5={'id':_0x16be19(0x1e4),'params':{..._0x3a4a78[_0x5a33a7]}},_0x53b6ad=this[_0x16be19(0x3c6)][_0x16be19(0x413)](_0x14c46e,_0x3aefb5,!0x1);if(_0x61a9e1['isTransformMutationFailure'](_0x53b6ad))throw _0x53b6ad[_0x16be19(0x268)];_0x14c46e=_0x53b6ad[_0x16be19(0x33c)];}return{..._0x57bc4a[_0x16be19(0x2fa)]['deepClone'](_0x584ab4),'mutations':[_0x14c46e]};}[_0x550dd8(0x1d2)](_0x1b8269){const _0x18656e=_0x550dd8,{unitID:_0xe4262a}=_0x1b8269,_0x17a1c6=this[_0x18656e(0x342)][_0x18656e(0x207)](_0xe4262a)[_0x18656e(0x23d)](_0x8abdee[_0x18656e(0x411)]),{undoCache:_0x469422,redoCache:_0x21b4b3}=_0x17a1c6[_0x18656e(0x1f6)]();if(_0x469422[_0x18656e(0x2f9)]===0x0||_0x21b4b3['length']===0x0)return;const _0x2df1d6=[],_0x495c13=[];let _0x51946b=_0x57bc4a[_0x18656e(0x2fa)]['deepClone'](_0x1b8269[_0x18656e(0x403)][0x0]),_0x1d8949=_0x57bc4a[_0x18656e(0x2fa)]['deepClone'](_0x1b8269['mutations'][0x0]);for(let _0x4cf8e5=_0x469422[_0x18656e(0x2f9)]-0x1;_0x4cf8e5>=0x0;_0x4cf8e5--){const _0xab78d9={'id':_0x18656e(0x1e4),'params':{..._0x469422[_0x4cf8e5]}},_0x46cc1d={'id':_0x18656e(0x1e4),'params':{..._0x21b4b3[_0x4cf8e5]}},_0x203b5e=this[_0x18656e(0x3c6)][_0x18656e(0x413)](_0x51946b,_0xab78d9,!0x1),_0x79eca2=this[_0x18656e(0x3c6)][_0x18656e(0x413)](_0x1d8949,_0x46cc1d,!0x1);if(_0x61a9e1[_0x18656e(0x32d)](_0x203b5e))throw _0x203b5e[_0x18656e(0x268)];if(_0x61a9e1[_0x18656e(0x32d)](_0x79eca2))throw _0x79eca2[_0x18656e(0x268)];_0x2df1d6[_0x18656e(0x277)](_0x203b5e['m2Prime']['params']),_0x495c13['unshift'](_0x79eca2[_0x18656e(0x20b)][_0x18656e(0x3b4)]),_0x51946b=_0x203b5e['m1Prime'],_0x1d8949=_0x79eca2['m1Prime'];}_0x17a1c6['setUndoRedoMutationParamsCache']({'undoCache':_0x2df1d6,'redoCache':_0x495c13});}['_transformPreviousActiveRange'](_0x48eb59){const _0x38a724=_0x550dd8,{unitID:_0x11800a}=_0x48eb59,_0x3cc01f=this[_0x38a724(0x342)][_0x38a724(0x207)](_0x11800a)[_0x38a724(0x23d)](_0x8abdee[_0x38a724(0x411)]),_0x4e5fee=_0x3cc01f[_0x38a724(0x186)]();if(_0x4e5fee==null)return;const _0x149d94=[{'id':_0x38a724(0x1e4),'params':{'unitId':_0x48eb59[_0x38a724(0x34f)],'actions':null,'textRanges':[_0x4e5fee]}}],_0x288f75=this['_transformService'][_0x38a724(0x18d)](_0x48eb59,_0x149d94);if(!_0x61a9e1[_0x38a724(0x363)](_0x288f75))throw _0x288f75['error'];const _0x124b47=_0x288f75['m2Prime'][0x0][_0x38a724(0x3b4)]['textRanges'];Array[_0x38a724(0x34d)](_0x124b47)&&_0x124b47[_0x38a724(0x2f9)]&&_0x3cc01f['setActiveRange'](_0x124b47[0x0]);}};_0x39095d=_0x559148([_0xef0f9d(0x0,_0x61a9e1[_0x550dd8(0x2ec)]),_0xef0f9d(0x1,_0x120a2c[_0x550dd8(0x37a)])],_0x39095d);var _0x2a907c=Object['getOwnPropertyDescriptor'],_0x5d0158=(_0x4606bc,_0x3c06a5,_0x410978,_0x56bbce)=>{const _0x49c566=_0x550dd8;for(var _0x10011b=_0x56bbce>0x1?void 0x0:_0x56bbce?_0x2a907c(_0x3c06a5,_0x410978):_0x3c06a5,_0x3cb74a=_0x4606bc[_0x49c566(0x2f9)]-0x1,_0x3915ec;_0x3cb74a>=0x0;_0x3cb74a--)(_0x3915ec=_0x4606bc[_0x3cb74a])&&(_0x10011b=_0x3915ec(_0x10011b)||_0x10011b);return _0x10011b;},_0x5a790f=(_0x35553c,_0x47b607)=>(_0x15a997,_0x3ca569)=>_0x47b607(_0x15a997,_0x3ca569,_0x35553c);let _0x3cb371=class{constructor(_0x2eb552,_0x5e6b9d,_0x3da614){const _0xa07a59=_0x550dd8;this[_0xa07a59(0x317)]=_0x2eb552,this[_0xa07a59(0x3c6)]=_0x5e6b9d,this[_0xa07a59(0x281)]=_0x3da614;}[_0x550dd8(0x3ad)](_0x3f8516){const _0x11308e=_0x550dd8;this[_0x11308e(0x381)](_0x3f8516);}[_0x550dd8(0x402)](_0xb473b5){const _0x42db7=_0x550dd8,{unitID:_0x38e87e}=_0xb473b5,{collaboration:_0x5ccf14}=this[_0x42db7(0x281)][_0x42db7(0x2f3)](_0x38e87e);if(_0x5ccf14[_0x42db7(0x2f9)]===0x0)return _0xb473b5;let _0x5320ca=_0x57bc4a[_0x42db7(0x2fa)][_0x42db7(0x194)](_0xb473b5[_0x42db7(0x403)][0x0]);for(let _0x48314f=0x0;_0x48314f<_0x5ccf14[_0x42db7(0x2f9)];_0x48314f++){const _0x2ed354={'id':_0x42db7(0x1e4),'params':{'unitId':_0x5ccf14[_0x48314f][_0x42db7(0x389)],..._0x5ccf14[_0x48314f][_0x42db7(0x392)]}},_0xb3d2f9=this[_0x42db7(0x3c6)]['transformMutation'](_0x5320ca,_0x2ed354,!0x1);if(_0x61a9e1[_0x42db7(0x32d)](_0xb3d2f9))throw _0xb3d2f9['error'];_0x5320ca=_0xb3d2f9[_0x42db7(0x33c)];}return{..._0x57bc4a[_0x42db7(0x2fa)]['deepClone'](_0xb473b5),'mutations':[_0x5320ca]};}['_transformHistoryAndStateStack'](_0x181266){const _0x2bcd83=_0x550dd8,{unitID:_0x58c029}=_0x181266,{history:_0x36bc34,collaboration:_0x39e38d}=this[_0x2bcd83(0x281)][_0x2bcd83(0x2f3)](_0x58c029);if(_0x36bc34[_0x2bcd83(0x2f9)]===0x0&&_0x39e38d[_0x2bcd83(0x2f9)]===0x0)return;const _0x5b6656=[],_0x170d1e=[];let _0x5a13ac=_0x57bc4a[_0x2bcd83(0x2fa)][_0x2bcd83(0x194)](_0x181266['mutations'][0x0]),_0x44aac0=_0x57bc4a['Tools'][_0x2bcd83(0x194)](_0x181266[_0x2bcd83(0x403)][0x0]);for(let _0x5e5ffc=_0x36bc34[_0x2bcd83(0x2f9)]-0x1;_0x5e5ffc>=0x0;_0x5e5ffc--){const _0x42c512={'id':_0x2bcd83(0x1e4),'params':{'unitId':_0x36bc34[_0x5e5ffc][_0x2bcd83(0x389)],..._0x36bc34[_0x5e5ffc][_0x2bcd83(0x1b6)]}},_0x2ab548={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36bc34[_0x5e5ffc][_0x2bcd83(0x389)],..._0x36bc34[_0x5e5ffc][_0x2bcd83(0x392)]}},_0x437469=this[_0x2bcd83(0x3c6)]['transformMutation'](_0x5a13ac,_0x42c512,!0x1),_0x11a1a0=this['_transformService'][_0x2bcd83(0x413)](_0x44aac0,_0x2ab548,!0x1);if(_0x61a9e1[_0x2bcd83(0x32d)](_0x437469))throw _0x437469[_0x2bcd83(0x268)];if(_0x61a9e1[_0x2bcd83(0x32d)](_0x11a1a0))throw _0x11a1a0[_0x2bcd83(0x268)];_0x5b6656[_0x2bcd83(0x277)]({..._0x36bc34[_0x5e5ffc],'undoState':_0x437469[_0x2bcd83(0x20b)][_0x2bcd83(0x3b4)],'redoState':_0x11a1a0[_0x2bcd83(0x20b)]['params']}),_0x5a13ac=_0x437469[_0x2bcd83(0x33c)],_0x44aac0=_0x11a1a0['m1Prime'];}_0x5a13ac=_0x57bc4a[_0x2bcd83(0x2fa)]['deepClone'](_0x181266[_0x2bcd83(0x403)][0x0]),_0x44aac0=_0x57bc4a[_0x2bcd83(0x2fa)]['deepClone'](_0x181266[_0x2bcd83(0x403)][0x0]);for(let _0x3c1507=_0x39e38d['length']-0x1;_0x3c1507>=0x0;_0x3c1507--){const _0x5446bf={'id':_0x2bcd83(0x1e4),'params':{'unitId':_0x39e38d[_0x3c1507][_0x2bcd83(0x389)],..._0x39e38d[_0x3c1507][_0x2bcd83(0x1b6)]}},_0x3ee427={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39e38d[_0x3c1507][_0x2bcd83(0x389)],..._0x39e38d[_0x3c1507][_0x2bcd83(0x392)]}},_0x52aa26=this['_transformService'][_0x2bcd83(0x413)](_0x5a13ac,_0x5446bf,!0x1),_0x68576b=this['_transformService'][_0x2bcd83(0x413)](_0x44aac0,_0x3ee427,!0x1);if(_0x61a9e1[_0x2bcd83(0x32d)](_0x52aa26))throw _0x52aa26['error'];if(_0x61a9e1[_0x2bcd83(0x32d)](_0x68576b))throw _0x68576b[_0x2bcd83(0x268)];_0x170d1e[_0x2bcd83(0x277)]({..._0x39e38d[_0x3c1507],'undoState':_0x52aa26[_0x2bcd83(0x20b)][_0x2bcd83(0x3b4)],'redoState':_0x68576b['m2Prime'][_0x2bcd83(0x3b4)]}),_0x5a13ac=_0x52aa26[_0x2bcd83(0x33c)],_0x44aac0=_0x68576b['m1Prime'];}this[_0x2bcd83(0x281)][_0x2bcd83(0x3f6)](_0x58c029,{'history':_0x5b6656,'collaboration':_0x170d1e});}};_0x3cb371=_0x5d0158([_0x5a790f(0x0,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a['Injector'])),_0x5a790f(0x1,_0x61a9e1[_0x550dd8(0x2ec)]),_0x5a790f(0x2,_0x57bc4a[_0x550dd8(0x1a5)](_0x8abdee[_0x550dd8(0x3bc)]))],_0x3cb371);var _0x5a3068=Object[_0x550dd8(0x300)],_0x39dacc=(_0x14e0d4,_0x5ee8d2,_0x3140fb,_0xbb1510)=>{for(var _0x2b362c=_0xbb1510>0x1?void 0x0:_0xbb1510?_0x5a3068(_0x5ee8d2,_0x3140fb):_0x5ee8d2,_0x4e1ec5=_0x14e0d4['length']-0x1,_0x37c399;_0x4e1ec5>=0x0;_0x4e1ec5--)(_0x37c399=_0x14e0d4[_0x4e1ec5])&&(_0x2b362c=_0x37c399(_0x2b362c)||_0x2b362c);return _0x2b362c;},_0x2ce07e=(_0x22cd5e,_0x2b4b85)=>(_0x54b817,_0x45a839)=>_0x2b4b85(_0x54b817,_0x45a839,_0x22cd5e);let _0x4bf6d3=class{constructor(_0x351d68,_0x28cf38){const _0x30b83c=_0x550dd8;this[_0x30b83c(0x317)]=_0x351d68,this[_0x30b83c(0x3c6)]=_0x28cf38;}[_0x550dd8(0x2f5)](_0x59d961){const _0x453aed=_0x550dd8;var _0x2837d7;const _0x4dbbf9=this[_0x453aed(0x317)][_0x453aed(0x394)](_0x57e96e[_0x453aed(0x357)]),_0x49ad54=(_0x2837d7=_0x4dbbf9[_0x453aed(0x3a7)]())!=null?_0x2837d7:[];if(_0x49ad54[_0x453aed(0x2f9)]===0x0)return;const _0x31416f=_0x59d961[_0x453aed(0x34f)],_0x2868ef=[{'id':_0x453aed(0x1e4),'params':{'unitId':_0x31416f,'actions':null,'textRanges':_0x49ad54}}],_0x4deb18=this['_transformService'][_0x453aed(0x18d)](_0x59d961,_0x2868ef);if(!_0x61a9e1[_0x453aed(0x363)](_0x4deb18))throw _0x4deb18[_0x453aed(0x268)];const _0x1863a3=_0x4deb18[_0x453aed(0x20b)][0x0][_0x453aed(0x3b4)][_0x453aed(0x352)];Array[_0x453aed(0x34d)](_0x1863a3)&&_0x1863a3[_0x453aed(0x2f9)]&&_0x4dbbf9[_0x453aed(0x348)](_0x1863a3,{'unitId':_0x31416f,'subUnitId':_0x31416f},!0x1);}};_0x4bf6d3=_0x39dacc([_0x2ce07e(0x0,_0x57bc4a['Inject'](_0x57bc4a['Injector'])),_0x2ce07e(0x1,_0x61a9e1[_0x550dd8(0x2ec)])],_0x4bf6d3);var _0x470c85=Object[_0x550dd8(0x300)],_0x1c2f7d=(_0x2a213e,_0x5056b5,_0x5102e1,_0x330a52)=>{const _0x1f5a04=_0x550dd8;for(var _0x2f8354=_0x330a52>0x1?void 0x0:_0x330a52?_0x470c85(_0x5056b5,_0x5102e1):_0x5056b5,_0x31af46=_0x2a213e[_0x1f5a04(0x2f9)]-0x1,_0xaa4e58;_0x31af46>=0x0;_0x31af46--)(_0xaa4e58=_0x2a213e[_0x31af46])&&(_0x2f8354=_0xaa4e58(_0x2f8354)||_0x2f8354);return _0x2f8354;},_0x265f4f=(_0x54dbde,_0x3b762e)=>(_0x3d13fd,_0x357525)=>_0x3b762e(_0x3d13fd,_0x357525,_0x54dbde);let _0x5aec47=class extends _0x57bc4a[_0x550dd8(0x387)]{constructor(_0x3472c2,_0x3896a0,_0x571fab,_0x481d96,_0x5bba4e,_0x4bd95c,_0x444580,_0x202d89){const _0x4913ef=_0x550dd8;super(),_0x53a705(this,'_status$',new _0x8d602e['BehaviorSubject'](_0x1a6421['CollaborationStatus'][_0x4913ef(0x27f)])),(this[_0x4913ef(0x281)]=_0x3472c2,this[_0x4913ef(0x1a2)]=_0x3896a0,this[_0x4913ef(0x22a)]=_0x571fab,this[_0x4913ef(0x2f1)]=_0x481d96,this[_0x4913ef(0x33e)]=_0x5bba4e,this['_docSyncEditingCollabCursorService']=_0x4bd95c,this['_messageService']=_0x444580,this[_0x4913ef(0x38d)]=_0x202d89,this[_0x4913ef(0x2ca)]());}['_initEntityListener'](){const _0x1b4320=_0x550dd8;this['disposeWithMe'](this[_0x1b4320(0x1a2)]['entityInit$'][_0x1b4320(0x40b)](_0xa75eef=>{const _0x2f1d66=_0x1b4320,_0x117833=this[_0x2f1d66(0x281)][_0x2f1d66(0x196)]['subscribe'](_0x3e6d42=>{const _0x33c3a8=_0x2f1d66;if(_0x3e6d42==null)return;const {unitId:_0xebd5ec,redoState:_0x2a3197,commandId:_0x2699bf}=_0x3e6d42;if(_0xebd5ec!==_0xa75eef[_0x33c3a8(0x34f)])return;const _0x1c19b7={'id':_0x2699bf,'type':_0x57bc4a['CommandType'][_0x33c3a8(0x2d9)],'params':{'unitId':_0xebd5ec,'actions':_0x2a3197[_0x33c3a8(0x2ab)],'textRanges':null}};_0xa75eef[_0x33c3a8(0x3e6)](_0x1c19b7);});if(_0xa75eef[_0x2f1d66(0x22e)](_0x117833),_0xa75eef instanceof _0x1a6421[_0x2f1d66(0x3fd)]){const _0x2568a0={'onTransformIME':_0x511ec8=>this[_0x2f1d66(0x22a)]['transformIMECache'](_0x511ec8),'onTransformState':_0x326b7b=>this['_docTransformStateCacheService'][_0x2f1d66(0x3ad)](_0x326b7b),'onTransformSelections':_0x1034ab=>this[_0x2f1d66(0x33e)][_0x2f1d66(0x2f5)](_0x1034ab),'onSyncEditingCollabCursor':_0xf910b1=>this[_0x2f1d66(0x20d)][_0x2f1d66(0x382)](_0xf910b1),'onTransformRemoteChangesetByIMECache':_0xfdde76=>this[_0x2f1d66(0x22a)][_0x2f1d66(0x402)](_0xfdde76),'onTransformRemoteChangesetByStateCache':_0x5b5891=>this[_0x2f1d66(0x2f1)][_0x2f1d66(0x402)](_0x5b5891)};_0xa75eef[_0x2f1d66(0x29e)](_0x2568a0);}}));}};_0x5aec47=_0x1c2f7d([_0x265f4f(0x0,_0x57bc4a[_0x550dd8(0x1a5)](_0x8abdee[_0x550dd8(0x3bc)])),_0x265f4f(0x1,_0x57bc4a[_0x550dd8(0x1a5)](_0x1a6421['CollaborationController'])),_0x265f4f(0x2,_0x57bc4a['Inject'](_0x39095d)),_0x265f4f(0x3,_0x57bc4a[_0x550dd8(0x1a5)](_0x3cb371)),_0x265f4f(0x4,_0x57bc4a[_0x550dd8(0x1a5)](_0x4bf6d3)),_0x265f4f(0x5,_0x57bc4a[_0x550dd8(0x1a5)](_0x11b10d)),_0x265f4f(0x6,_0x29e6f1[_0x550dd8(0x1f4)]),_0x265f4f(0x7,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x27e)]))],_0x5aec47);var _0xe001d7=Object['getOwnPropertyDescriptor'],_0x1ba43c=(_0x42e795,_0x4d4fdb,_0xaae10d,_0x5afb38)=>{const _0x4efc11=_0x550dd8;for(var _0x3f278c=_0x5afb38>0x1?void 0x0:_0x5afb38?_0xe001d7(_0x4d4fdb,_0xaae10d):_0x4d4fdb,_0x3452c1=_0x42e795[_0x4efc11(0x2f9)]-0x1,_0x4f88ba;_0x3452c1>=0x0;_0x3452c1--)(_0x4f88ba=_0x42e795[_0x3452c1])&&(_0x3f278c=_0x4f88ba(_0x3f278c)||_0x3f278c);return _0x3f278c;},_0x5ad9f4=(_0x40e01d,_0x33cdbf)=>(_0x214ba1,_0x5a2576)=>_0x33cdbf(_0x214ba1,_0x5a2576,_0x40e01d);let _0x48edab=class extends _0x57bc4a['Disposable']{constructor(_0x521405,_0x247696,_0x162ef4){const _0x5dde17=_0x550dd8;super(),_0x53a705(this,_0x5dde17(0x2f0),new Map()),_0x53a705(this,_0x5dde17(0x32f),new Map()),_0x53a705(this,_0x5dde17(0x36c),!0x1),(this[_0x5dde17(0x323)]=_0x521405,this[_0x5dde17(0x2df)]=_0x247696,this[_0x5dde17(0x1a8)]=_0x162ef4);}['disableLocalCache'](){const _0x4f4c06=_0x550dd8;this[_0x4f4c06(0x36c)]=!0x0;}[_0x550dd8(0x19a)](){const _0x186ded=_0x550dd8;this[_0x186ded(0x36c)]=!0x1;}get[_0x550dd8(0x2d1)](){const _0x4c94bf=_0x550dd8;return this[_0x4c94bf(0x32f)];}['dispose'](){const _0x191f1f=_0x550dd8;this[_0x191f1f(0x18b)]()[_0x191f1f(0x39a)](()=>super[_0x191f1f(0x3ea)]());}async[_0x550dd8(0x230)](_0x5e5229){const _0x4d79af=_0x550dd8;return this[_0x4d79af(0x36c)]?null:this[_0x4d79af(0x2df)][_0x4d79af(0x1fc)](_0x1a6421[_0x4d79af(0x25e)](_0x5e5229));}async[_0x550dd8(0x3fb)](_0x80661d,_0x4b5444){const _0x1f6a1f=_0x550dd8;return!!this[_0x1f6a1f(0x2df)][_0x1f6a1f(0x417)](_0x80661d,_0x4b5444);}['updateOfflineData'](_0x1765d8,_0x340429,_0x1c3c62,_0x162037){const _0x2e0c31=_0x550dd8,_0x123089=this[_0x2e0c31(0x1a8)][_0x2e0c31(0x372)](_0x1765d8);this['_cachedData'][_0x2e0c31(0x334)](_0x1765d8,{'unitID':_0x1765d8,'type':_0x340429,'awaitingChangeset':_0x1c3c62,'mutations':_0x162037,'rev':_0x123089}),this['_saveTaskMap'][_0x2e0c31(0x280)](_0x1765d8)||this['_scheduleSaving'](_0x1765d8);}[_0x550dd8(0x2fe)](_0x49f0aa){const _0x35d70e=_0x550dd8,_0x3b87ee=this[_0x35d70e(0x1cb)]();_0x3b87ee===0x0?this[_0x35d70e(0x38c)](_0x49f0aa):this[_0x35d70e(0x32f)][_0x35d70e(0x334)](_0x49f0aa,setTimeout(()=>this[_0x35d70e(0x38c)](_0x49f0aa),_0x3b87ee));}[_0x550dd8(0x1cb)](){const _0x33c501=_0x550dd8;var _0xd9125c;return(_0xd9125c=this['_configService'][_0x33c501(0x371)](_0x1a6421[_0x33c501(0x290)]))!=null?_0xd9125c:_0x1a6421[_0x33c501(0x1f1)];}[_0x550dd8(0x38c)](_0x16b7a9){const _0x2065bf=_0x550dd8,_0xd43094=this[_0x2065bf(0x32f)][_0x2065bf(0x394)](_0x16b7a9);return _0xd43094!==void 0x0&&window[_0x2065bf(0x2c3)](_0xd43094),this['_localStorageService'][_0x2065bf(0x417)](_0x1a6421['getLocalCacheKey'](_0x16b7a9),this[_0x2065bf(0x2f0)][_0x2065bf(0x394)](_0x16b7a9))[_0x2065bf(0x39a)](()=>this[_0x2065bf(0x32f)][_0x2065bf(0x22c)](_0x16b7a9));}async['exhaustSavingTask'](){const _0x19d76b=_0x550dd8,_0x29811f=[];this[_0x19d76b(0x32f)][_0x19d76b(0x1e9)]((_0x2c7cf6,_0x4b8426)=>{const _0x29be4d=_0x19d76b;window[_0x29be4d(0x2c3)](_0x2c7cf6),_0x29811f['push'](this[_0x29be4d(0x38c)](_0x4b8426)[_0x29be4d(0x39a)](()=>{const _0x3d308d=_0x29be4d;this[_0x3d308d(0x32f)][_0x3d308d(0x22c)](_0x4b8426);}));}),await Promise[_0x19d76b(0x3ec)](_0x29811f);}};_0x48edab=_0x1ba43c([_0x5ad9f4(0x0,_0x57bc4a[_0x550dd8(0x31f)]),_0x5ad9f4(0x1,_0x57bc4a[_0x550dd8(0x30c)]),_0x5ad9f4(0x2,_0x57bc4a['Inject'](_0x61a9e1[_0x550dd8(0x384)]))],_0x48edab);class _0x5d1b49 extends _0x57bc4a['RxDisposable']{constructor(){const _0x2e7695=_0x550dd8;super(),_0x53a705(this,'urlChange$'),this['urlChange$']=_0x8d602e[_0x2e7695(0x3f9)](window,'popstate')[_0x2e7695(0x331)](_0x8d602e[_0x2e7695(0x249)](this[_0x2e7695(0x24d)]),_0x8d602e[_0x2e7695(0x3d0)](0x1),_0x8d602e[_0x2e7695(0x3f3)](void 0x0));}[_0x550dd8(0x291)](_0x4ea426,_0x465e34,_0x3484ae=!0x1){const _0x4cb6d7=_0x550dd8,_0x3ae0da=new URL(window[_0x4cb6d7(0x3cf)][_0x4cb6d7(0x1c5)]);_0x3ae0da[_0x4cb6d7(0x247)]['set'](_0x4ea426,_0x465e34),_0x3484ae?window[_0x4cb6d7(0x29c)]['replaceState']('','',_0x3ae0da[_0x4cb6d7(0x2e6)]()):window['history']['pushState']('','',_0x3ae0da['toString']());}[_0x550dd8(0x3f7)](_0x3d6ec5,_0x58808d=!0x1){const _0x267609=_0x550dd8,_0x3fa355=new URL(window[_0x267609(0x3cf)][_0x267609(0x1c5)]);_0x3fa355['searchParams']['delete'](_0x3d6ec5),_0x58808d?window[_0x267609(0x29c)][_0x267609(0x2a5)]('','',_0x3fa355[_0x267609(0x2e6)]()):window[_0x267609(0x29c)][_0x267609(0x379)]('','',_0x3fa355[_0x267609(0x2e6)]());}[_0x550dd8(0x1a6)](_0x48a6e9){const _0x9cd583=_0x550dd8;var _0x3180c6;return(_0x3180c6=new URL(window['location'][_0x9cd583(0x1c5)])[_0x9cd583(0x247)]['get'](_0x48a6e9))!=null?_0x3180c6:void 0x0;}}var _0x5e1e0a=Object[_0x550dd8(0x2b0)],_0x3f6776=Object[_0x550dd8(0x300)],_0x4c0127=(_0x7f628b,_0xb42454,_0x275cea)=>_0xb42454 in _0x7f628b?_0x5e1e0a(_0x7f628b,_0xb42454,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x275cea}):_0x7f628b[_0xb42454]=_0x275cea,_0x124799=(_0x25cf7d,_0x3b5f18,_0x338c2c,_0x366d60)=>{const _0x3381d0=_0x550dd8;for(var _0x57cce0=_0x366d60>0x1?void 0x0:_0x366d60?_0x3f6776(_0x3b5f18,_0x338c2c):_0x3b5f18,_0x466a48=_0x25cf7d[_0x3381d0(0x2f9)]-0x1,_0x52e1bc;_0x466a48>=0x0;_0x466a48--)(_0x52e1bc=_0x25cf7d[_0x466a48])&&(_0x57cce0=_0x52e1bc(_0x57cce0)||_0x57cce0);return _0x57cce0;},_0xf37406=(_0xf14d0,_0x5e4a85)=>(_0xf9aa27,_0xb3fa32)=>_0x5e4a85(_0xf9aa27,_0xb3fa32,_0xf14d0),_0x4a40c5=(_0x306e43,_0x3db373,_0x1d3820)=>_0x4c0127(_0x306e43,_0x3db373+'',_0x1d3820);const _0x8d5afe=_0x550dd8(0x222);_0x40d0d0[_0x550dd8(0x20e)]=class extends _0x57bc4a[_0x550dd8(0x218)]{constructor(_0x3736e3=_0x40da0e,_0x37c6c4,_0x23b15b,_0x4c9da2){const _0x5737aa=_0x550dd8;super(),this[_0x5737aa(0x24c)]=_0x3736e3,this[_0x5737aa(0x342)]=_0x37c6c4,this['_injector']=_0x23b15b,this[_0x5737aa(0x323)]=_0x4c9da2;const {..._0x1a83b1}=_0x57bc4a[_0x5737aa(0x377)]({},_0x40da0e,this['_config']);this[_0x5737aa(0x323)][_0x5737aa(0x1fa)](_0x521268,_0x1a83b1);}['onStarting'](){const _0x46aadd=_0x550dd8;this[_0x46aadd(0x187)](),this[_0x46aadd(0x23e)]();}['onRendered'](){const _0x266837=_0x550dd8;this[_0x266837(0x197)]();}['_registerDependencies'](){const _0x30bef8=_0x550dd8;var _0x2dade4;const _0xd56830=[[_0xc9942d],[_0x4bf6d3],[_0x39095d],[_0x3cb371],[_0x11b10d],[_0x40e96e,{'useClass':_0x5d1b49}],[_0x28d0ff[_0x30bef8(0x1e3)],{'useClass':_0x28d0ff['WebSocketService']}],[_0x1a6421[_0x30bef8(0x3e0)],{'useClass':_0x48edab}],[_0x40d0d0[_0x30bef8(0x236)]],[_0x5aec47],[_0x490837],[_0x1434ca],[_0x12da84],[_0x40d0d0['CollaborationDataLoaderController']]];_0x57bc4a['registerDependencies'](this[_0x30bef8(0x317)],_0x57bc4a['mergeOverrideWithDependencies'](_0xd56830,(_0x2dade4=this[_0x30bef8(0x24c)])==null?void 0x0:_0x2dade4[_0x30bef8(0x3ca)]));}[_0x550dd8(0x197)](){const _0x2e0e6f=_0x550dd8;this['disposeWithMe'](this[_0x2e0e6f(0x342)][_0x2e0e6f(0x400)](_0x57bc4a[_0x2e0e6f(0x2ff)]['UNIVER_DOC'],[_0x411e34])),this['disposeWithMe'](this['_renderManagerService'][_0x2e0e6f(0x400)](_0x57bc4a[_0x2e0e6f(0x2ff)]['UNIVER_SHEET'],[_0x49de41]));}['_initDependencies'](){const _0x92e742=_0x550dd8;_0x57bc4a[_0x92e742(0x3f5)](this['_injector'],[[_0x1434ca],[_0x40d0d0[_0x92e742(0x236)]],[_0x5aec47],[_0x490837],[_0x40d0d0['CollaborationDataLoaderController']]]);}},_0x4a40c5(_0x40d0d0[_0x550dd8(0x20e)],_0x550dd8(0x23c),_0x8d5afe),_0x40d0d0[_0x550dd8(0x20e)]=_0x124799([_0x57bc4a[_0x550dd8(0x2a4)](_0x1a6421['UniverCollaborationClientPlugin']),_0xf37406(0x1,_0x120a2c[_0x550dd8(0x37a)]),_0xf37406(0x2,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a['Injector'])),_0xf37406(0x3,_0x57bc4a[_0x550dd8(0x31f)])],_0x40d0d0[_0x550dd8(0x20e)]);var _0x3cf8d0=Object[_0x550dd8(0x300)],_0x4a185a=(_0x2d876d,_0x3892ca,_0x202ef9,_0x46c072)=>{for(var _0x5cd0d8=_0x46c072>0x1?void 0x0:_0x46c072?_0x3cf8d0(_0x3892ca,_0x202ef9):_0x3892ca,_0x387815=_0x2d876d['length']-0x1,_0x4461fd;_0x387815>=0x0;_0x387815--)(_0x4461fd=_0x2d876d[_0x387815])&&(_0x5cd0d8=_0x4461fd(_0x5cd0d8)||_0x5cd0d8);return _0x5cd0d8;},_0x241095=(_0xf0dc16,_0x2f9f97)=>(_0x49ea7f,_0x1ba6d6)=>_0x2f9f97(_0x49ea7f,_0x1ba6d6,_0xf0dc16);_0x40d0d0[_0x550dd8(0x286)]=class extends _0x1a6421['CollaborationSocketService']{constructor(_0x13a6c8,_0x3a2f86,_0x48c038,_0x43d9d1,_0x539e9e){super(_0x13a6c8,_0x3a2f86,_0x48c038,_0x43d9d1,_0x539e9e);}async[_0x550dd8(0x191)](_0x104abe){const _0x497a3e=_0x550dd8,_0x41a28d=await this[_0x497a3e(0x234)](),_0x1847f4=this[_0x497a3e(0x3d9)](_0x104abe,_0x41a28d);return this[_0x497a3e(0x2be)](_0x1847f4);}['_createSocketURL'](_0x2c93f0,_0x205cfa){const _0x2f8782=_0x550dd8,_0x4ef147=typeof window>'u'?new URL(_0x2c93f0):new URL(_0x2c93f0,window['location'][_0x2f8782(0x2c8)]);_0x4ef147[_0x2f8782(0x247)][_0x2f8782(0x334)](_0x2f8782(0x210),_0x205cfa);const _0x55f9c2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2f8782(0x3cf)][_0x2f8782(0x18e)]);return _0x55f9c2['get'](_0x2f8782(0x294))&&_0x4ef147['searchParams']['set'](_0x2f8782(0x294),_0x55f9c2['get']('runId')),_0x4ef147[_0x2f8782(0x2e6)]();}async[_0x550dd8(0x234)](){const _0x3da3dc=_0x550dd8;var _0x49b84a,_0x5134e6,_0x31e2d2;const _0x38d80b=this['_configService']['getConfig'](_0x1a6421[_0x3da3dc(0x36a)]),_0x593492=(_0x49b84a=_0x38d80b==null?void 0x0:_0x38d80b[_0x3da3dc(0x346)])!=null?_0x49b84a:_0x1a6421[_0x3da3dc(0x390)];return(_0x31e2d2=(_0x5134e6=(await this[_0x3da3dc(0x360)][_0x3da3dc(0x394)](_0x593492,{'headers':{'Content-Type':_0x3da3dc(0x1d6)}}))[_0x3da3dc(0x19e)])==null?void 0x0:_0x5134e6[_0x3da3dc(0x3cd)])!=null?_0x31e2d2:'';}},_0x40d0d0[_0x550dd8(0x286)]=_0x4a185a([_0x241095(0x0,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x2b3)])),_0x241095(0x1,_0x57bc4a[_0x550dd8(0x1a5)](_0x28d0ff['HTTPService'])),_0x241095(0x2,_0x57bc4a['IConfigService']),_0x241095(0x3,_0x57bc4a[_0x550dd8(0x3c1)]),_0x241095(0x4,_0x61a9e1[_0x550dd8(0x1cd)])],_0x40d0d0['BrowserCollaborationSocketService']);const _0x4c6734=0x7530,_0x453ad2=_0x550dd8(0x260);class _0x5e288b extends _0x57bc4a[_0x550dd8(0x387)]{constructor(){const _0x5d4877=_0x550dd8;super(),_0x53a705(this,_0x5d4877(0x278),_0x57bc4a[_0x5d4877(0x1c1)]()),_0x53a705(this,_0x5d4877(0x24b),new Set()),_0x53a705(this,_0x5d4877(0x31d),new Map()),_0x53a705(this,_0x5d4877(0x3d6),null),_0x53a705(this,'_clearOtherTimers',new Map()),_0x53a705(this,_0x5d4877(0x2ac),new Map()),this[_0x5d4877(0x271)]();}[_0x550dd8(0x3ea)](){const _0x7c861e=_0x550dd8;super['dispose'](),this[_0x7c861e(0x20a)][_0x7c861e(0x1e9)]((_0xad979e,_0x349106)=>this[_0x7c861e(0x369)](_0x349106)),this[_0x7c861e(0x3d6)]&&window[_0x7c861e(0x1e0)](this['_heartbeatTimer']);}[_0x550dd8(0x39f)](_0x49775a){const _0x481c3c=_0x550dd8;return this[_0x481c3c(0x1b9)](_0x49775a)[_0x481c3c(0x331)](_0x8d602e[_0x481c3c(0x2e0)]());}['editingUnit'](_0x5a5ec6){const _0x389083=_0x550dd8;this[_0x389083(0x24b)][_0x389083(0x314)]===0x0&&this[_0x389083(0x183)](),this[_0x389083(0x24b)][_0x389083(0x2c2)](_0x5a5ec6),this[_0x389083(0x1ff)]({'type':0x0,'memberID':this[_0x389083(0x278)],'unitIDs':[_0x5a5ec6],'isForwarded':!0x1});}[_0x550dd8(0x33d)](_0x138e91){const _0x2cc5e5=_0x550dd8;this[_0x2cc5e5(0x24b)][_0x2cc5e5(0x22c)](_0x138e91),this[_0x2cc5e5(0x24b)][_0x2cc5e5(0x314)]===0x0&&this[_0x2cc5e5(0x3d6)]&&window[_0x2cc5e5(0x1e0)](this[_0x2cc5e5(0x3d6)]);}['_init'](){const _0x4ebc97=_0x550dd8;this['disposeWithMe'](_0x57bc4a[_0x4ebc97(0x2e1)](_0x8d602e[_0x4ebc97(0x3f9)](window,_0x4ebc97(0x226))['subscribe'](_0xd8a6d6=>{const _0x10682e=_0x4ebc97;if(_0xd8a6d6[_0x10682e(0x318)]!==_0x453ad2||!_0xd8a6d6['newValue'])return;const _0x169035=JSON[_0x10682e(0x1ec)](_0xd8a6d6['newValue']);this['_handleEvent'](_0x169035);}))),window['addEventListener']('unload',()=>this[_0x4ebc97(0x1ff)]({'type':0x1,'memberID':this[_0x4ebc97(0x278)],'unitIDs':Array[_0x4ebc97(0x2d0)](this[_0x4ebc97(0x24b)])}));}[_0x550dd8(0x39e)](_0x4beac0){const _0x328f34=_0x550dd8;switch(_0x4beac0[_0x328f34(0x2d8)]){case 0x0:this[_0x328f34(0x211)](_0x4beac0);break;case 0x1:this[_0x328f34(0x3b3)](_0x4beac0);break;case 0x2:this[_0x328f34(0x2a7)](_0x4beac0);break;}}[_0x550dd8(0x211)](_0x47c074){const _0xcd6dd0=_0x550dd8,{unitIDs:_0x31c374,memberID:_0x34646f,isForwarded:_0x4f4a9b}=_0x47c074;_0x31c374[_0xcd6dd0(0x1e9)](_0x34c94b=>{const _0x516df6=_0xcd6dd0;if(!_0x4f4a9b&&this[_0x516df6(0x31d)][_0x516df6(0x280)](_0x34c94b)&&this[_0x516df6(0x1b9)](_0x34c94b)['next'](_0x1a6421[_0x516df6(0x1e6)][_0x516df6(0x344)]),!this[_0x516df6(0x31d)]['has'](_0x34c94b)||!this['_unitOnClients'][_0x516df6(0x394)](_0x34c94b)[_0x516df6(0x280)](_0x34646f)){const _0x1828a6=this[_0x516df6(0x31d)]['get'](_0x34c94b)||new Set();_0x1828a6[_0x516df6(0x2c2)](_0x34646f),this[_0x516df6(0x31d)][_0x516df6(0x334)](_0x34c94b,_0x1828a6),this[_0x516df6(0x414)](_0x34646f);}}),_0x4f4a9b||this[_0xcd6dd0(0x1ff)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xcd6dd0(0x24b)]],'isForwarded':!0x0});}[_0x550dd8(0x414)](_0x561cf2){const _0x498adc=_0x550dd8;this['_removeClearOtherTimer'](_0x561cf2);const _0x5b6c71=window[_0x498adc(0x31c)](()=>{const _0x4e17d2=_0x498adc;this[_0x4e17d2(0x31d)][_0x4e17d2(0x1e9)](_0x219d7a=>{const _0x385970=_0x4e17d2;_0x219d7a[_0x385970(0x22c)](_0x561cf2);});},_0x4c6734*0x2);this[_0x498adc(0x20a)][_0x498adc(0x334)](_0x561cf2,_0x5b6c71);}[_0x550dd8(0x369)](_0x810abd){const _0x5cff74=_0x550dd8;if(this[_0x5cff74(0x20a)][_0x5cff74(0x280)](_0x810abd)){const _0x48ba54=this[_0x5cff74(0x20a)][_0x5cff74(0x394)](_0x810abd);_0x48ba54&&window['clearTimeout'](_0x48ba54),this['_clearOtherTimers'][_0x5cff74(0x334)](_0x810abd,null);}}['_handleLeaveEvent'](_0x2f08f9){const _0x4a8673=_0x550dd8,{memberID:_0x109ef8,unitIDs:_0xbf1cc6}=_0x2f08f9;_0xbf1cc6[_0x4a8673(0x1e9)](_0xc1fec6=>{const _0x4573b9=_0x4a8673;var _0x542cfb;const _0x426490=this[_0x4573b9(0x31d)]['get'](_0xc1fec6);_0x426490&&(_0x426490[_0x4573b9(0x22c)](_0x109ef8),(_0x542cfb=this['_ensureSubject'](_0xc1fec6))==null||_0x542cfb[_0x4573b9(0x373)](_0x426490[_0x4573b9(0x314)]===0x0?_0x1a6421['UnitStatus'][_0x4573b9(0x213)]:_0x1a6421[_0x4573b9(0x1e6)][_0x4573b9(0x344)]));}),this[_0x4a8673(0x369)](_0x109ef8);}[_0x550dd8(0x2a7)](_0x259210){const _0x33e1bb=_0x550dd8;this[_0x33e1bb(0x414)](_0x259210['memberID']);}[_0x550dd8(0x1ff)](_0x4156e2){localStorage['setItem'](_0x453ad2,JSON['stringify'](_0x4156e2));}[_0x550dd8(0x183)](){const _0x59e003=_0x550dd8;this['_heartbeatTimer']=window[_0x59e003(0x35c)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x4c6734);}['_ensureSubject'](_0x3d359f){const _0x3e0afa=_0x550dd8;return this[_0x3e0afa(0x2ac)][_0x3e0afa(0x280)](_0x3d359f)||this[_0x3e0afa(0x2ac)][_0x3e0afa(0x334)](_0x3d359f,new _0x8d602e[(_0x3e0afa(0x2f8))](_0x1a6421[_0x3e0afa(0x1e6)][_0x3e0afa(0x213)])),this[_0x3e0afa(0x2ac)][_0x3e0afa(0x394)](_0x3d359f);}}var _0x6d18a0=(_0x206bca=>(_0x206bca[_0x206bca[_0x550dd8(0x246)]=0x0]='UNDEFINED',_0x206bca[_0x206bca['OK']=0x1]='OK',_0x206bca[_0x206bca['INTERNAL_ERROR']=0x2]=_0x550dd8(0x406),_0x206bca[_0x206bca[_0x550dd8(0x1f7)]=0x3]=_0x550dd8(0x1f7),_0x206bca[_0x206bca[_0x550dd8(0x1ef)]=0x4]=_0x550dd8(0x1ef),_0x206bca[_0x206bca['UNAUTHENTICATED']=0x5]=_0x550dd8(0x36b),_0x206bca[_0x206bca[_0x550dd8(0x3de)]=0x6]=_0x550dd8(0x3de),_0x206bca[_0x206bca[_0x550dd8(0x36e)]=0x7]='INVALID_ARGUMENT',_0x206bca[_0x206bca['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x206bca[_0x206bca[_0x550dd8(0x209)]=0x9]=_0x550dd8(0x209),_0x206bca[_0x206bca[_0x550dd8(0x30d)]=0xa]=_0x550dd8(0x30d),_0x206bca[_0x206bca['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x550dd8(0x2c0),_0x206bca[_0x206bca[_0x550dd8(0x18a)]=0xc]=_0x550dd8(0x18a),_0x206bca[_0x206bca[_0x550dd8(0x231)]=0xd]=_0x550dd8(0x231),_0x206bca[_0x206bca[_0x550dd8(0x201)]=0xe]=_0x550dd8(0x201),_0x206bca[_0x206bca['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x550dd8(0x307),_0x206bca[_0x206bca[_0x550dd8(0x39b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x206bca[_0x206bca[_0x550dd8(0x2ee)]=0x1772]=_0x550dd8(0x2ee),_0x206bca[_0x206bca['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x206bca[_0x206bca['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x206bca[_0x206bca[_0x550dd8(0x2c1)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x206bca[_0x206bca[_0x550dd8(0x251)]=0x1b5b]=_0x550dd8(0x251),_0x206bca[_0x206bca[_0x550dd8(0x25c)]=0x1b5c]=_0x550dd8(0x25c),_0x206bca[_0x206bca['APPLY_DUPLICATED']=0x1b5d]=_0x550dd8(0x2c4),_0x206bca[_0x206bca[_0x550dd8(0x2e5)]=0x1f41]=_0x550dd8(0x2e5),_0x206bca[_0x206bca[_0x550dd8(0x398)]=0x2329]=_0x550dd8(0x398),_0x206bca[_0x206bca['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x206bca[_0x206bca[_0x550dd8(0x343)]=0x232b]=_0x550dd8(0x343),_0x206bca[_0x206bca['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x550dd8(0x25f),_0x206bca[_0x206bca['LICENSE_DISTRO_REJECTED']=0x232d]=_0x550dd8(0x347),_0x206bca[_0x206bca[_0x550dd8(0x341)]=0x2711]=_0x550dd8(0x341),_0x206bca[_0x206bca[_0x550dd8(0x1d5)]=0x2712]=_0x550dd8(0x1d5),_0x206bca[_0x206bca['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x550dd8(0x324),_0x206bca[_0x206bca[_0x550dd8(0x1b5)]=0x2714]=_0x550dd8(0x1b5),_0x206bca[_0x206bca[_0x550dd8(0x1db)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x206bca[_0x206bca[_0x550dd8(0x264)]=0x271b]=_0x550dd8(0x264),_0x206bca[_0x206bca['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x550dd8(0x2fd),_0x206bca[_0x206bca[_0x550dd8(0x262)]=0x271d]=_0x550dd8(0x262),_0x206bca[_0x206bca[_0x550dd8(0x408)]=0x271e]=_0x550dd8(0x408),_0x206bca[_0x206bca[_0x550dd8(0x21f)]=0x271f]=_0x550dd8(0x21f),_0x206bca[_0x206bca[_0x550dd8(0x30e)]=0x2720]=_0x550dd8(0x30e),_0x206bca[_0x206bca[_0x550dd8(0x30a)]=0x2af9]=_0x550dd8(0x30a),_0x206bca[_0x206bca['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x206bca[_0x206bca[_0x550dd8(0x29b)]=0x2ee2]=_0x550dd8(0x29b),_0x206bca[_0x206bca[_0x550dd8(0x304)]=0x2ee3]=_0x550dd8(0x304),_0x206bca[_0x206bca['USER_NOT_INVITED_CODE']=0x2ee4]=_0x550dd8(0x315),_0x206bca[_0x206bca['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x550dd8(0x33a),_0x206bca[_0x206bca[_0x550dd8(0x1a4)]=0x32c9]=_0x550dd8(0x1a4),_0x206bca[_0x206bca[_0x550dd8(0x2d2)]=0x32ca]=_0x550dd8(0x2d2),_0x206bca[_0x206bca[_0x550dd8(0x335)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x206bca[_0x206bca[_0x550dd8(0x3e7)]=-0x1]=_0x550dd8(0x3e7),_0x206bca))(_0x6d18a0||{}),_0x4392be=Object[_0x550dd8(0x300)],_0x16bf4b=(_0x219aa3,_0xafb6a1,_0x35b318,_0x2ed895)=>{for(var _0xf418df=_0x2ed895>0x1?void 0x0:_0x2ed895?_0x4392be(_0xafb6a1,_0x35b318):_0xafb6a1,_0x440a9b=_0x219aa3['length']-0x1,_0x4b6945;_0x440a9b>=0x0;_0x440a9b--)(_0x4b6945=_0x219aa3[_0x440a9b])&&(_0xf418df=_0x4b6945(_0xf418df)||_0xf418df);return _0xf418df;},_0xeabf98=(_0x3583cb,_0x1e31c4)=>(_0x244579,_0x59724f)=>_0x1e31c4(_0x244579,_0x59724f,_0x3583cb);_0x40d0d0['RemoteUniscriptService']=class extends _0x57bc4a['Disposable']{constructor(_0x47cfb1,_0x2acf43,_0x1c68ff){const _0x37d42c=_0x550dd8;super(),this['_instanceService']=_0x47cfb1,this['_httpService']=_0x2acf43,this[_0x37d42c(0x323)]=_0x1c68ff;}async[_0x550dd8(0x3ac)](_0x390c37,_0xbe3fb9,_0x493458,..._0x234901){const _0x194f07=_0x550dd8;var _0x1e1288,_0x35dce5,_0x5dd8ae,_0x1b3a71;const _0x59f438=this['_instanceService'][_0x194f07(0x3f1)]();if(!_0x59f438)throw new Error(_0x194f07(0x2d3));const _0xa214a8=((_0x1e1288=this[_0x194f07(0x323)]['getConfig'](_0x1a6421[_0x194f07(0x2b6)]))!=null?_0x1e1288:_0x1a6421[_0x194f07(0x193)])+'/'+_0x390c37+_0x194f07(0x23a)+_0xbe3fb9,_0x1f424a=new URL(window[_0x194f07(0x3cf)]['href']),_0x50db5d={'scriptId':_0x390c37,'runId':(_0x35dce5=_0x1f424a[_0x194f07(0x247)][_0x194f07(0x394)](_0x194f07(0x294)))!=null?_0x35dce5:'','function':_0xbe3fb9,'unitId':_0x59f438[_0x194f07(0x3ae)](),'argsOfFunction':JSON[_0x194f07(0x412)](_0x234901),'invokeId':(_0x5dd8ae=_0x493458[_0x194f07(0x2e2)])!=null?_0x5dd8ae:'','executionId':(_0x1b3a71=_0x493458[_0x194f07(0x274)])!=null?_0x1b3a71:''};try{const _0x3d9ed7=await this[_0x194f07(0x360)]['post'](_0xa214a8,{'body':_0x50db5d});return _0x3d9ed7[_0x194f07(0x19e)][_0x194f07(0x268)]&&_0x3d9ed7[_0x194f07(0x19e)][_0x194f07(0x268)][_0x194f07(0x2d5)]!==_0x6d18a0['OK']?_0x194f07(0x3b7):_0x3d9ed7[_0x194f07(0x19e)][_0x194f07(0x2ed)];}catch{return _0x194f07(0x3b7);}}},_0x40d0d0['RemoteUniscriptService']=_0x16bf4b([_0xeabf98(0x0,_0x57bc4a['IUniverInstanceService']),_0xeabf98(0x1,_0x57bc4a['Inject'](_0x28d0ff[_0x550dd8(0x401)])),_0xeabf98(0x2,_0x57bc4a[_0x550dd8(0x31f)])],_0x40d0d0['RemoteUniscriptService']),_0x40d0d0[_0x550dd8(0x203)]=_0x40e96e,_0x40d0d0['SheetCollabCursorShape']=_0x4a940d,_0x40d0d0[_0x550dd8(0x3df)]=_0x5e288b,_0x40d0d0[_0x550dd8(0x17f)]=_0x5d1b49,Object['defineProperty'](_0x40d0d0,Symbol[_0x550dd8(0x22f)],{'value':_0x550dd8(0x2f2)});}));