@univerjs-pro/collaboration-client-ui 0.9.1-nightly.202507041607 → 0.9.1-nightly.202507061606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x261bc8=_0x16b7;(function(_0x2995e5,_0x2e68a1){const _0x372719=_0x16b7,_0xacf37d=_0x2995e5();while(!![]){try{const _0x9c5fdb=parseInt(_0x372719(0xdb))/0x1*(parseInt(_0x372719(0xe2))/0x2)+parseInt(_0x372719(0xda))/0x3+parseInt(_0x372719(0xdc))/0x4*(-parseInt(_0x372719(0xe0))/0x5)+parseInt(_0x372719(0xe1))/0x6*(parseInt(_0x372719(0xd7))/0x7)+-parseInt(_0x372719(0xde))/0x8+parseInt(_0x372719(0xdd))/0x9+parseInt(_0x372719(0xd8))/0xa*(parseInt(_0x372719(0xd6))/0xb);if(_0x9c5fdb===_0x2e68a1)break;else _0xacf37d['push'](_0xacf37d['shift']());}catch(_0xcde5ff){_0xacf37d['push'](_0xacf37d['shift']());}}}(_0x22af,0x2b552));function _0x22af(){const _0x29d423=['runOnServer','1337765ExkGVH','851862ZYpjhb','3470lpOhee','FUniver','get','7799ixeRoG','7CtBgRZ','750bpIwyA','_injector','67788bKRXjf','71HjtXPI','4tIPZkn','1002240VVGyof','58000RrdvxH'];_0x22af=function(){return _0x29d423;};return _0x22af();}const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');function _0x16b7(_0x4d995e,_0x5e7d56){const _0x22af80=_0x22af();return _0x16b7=function(_0x16b77e,_0x1a2ede){_0x16b77e=_0x16b77e-0xd6;let _0x5ad794=_0x22af80[_0x16b77e];return _0x5ad794;},_0x16b7(_0x4d995e,_0x5e7d56);}class c extends e['FUniver']{['runOnServer'](_0x32fe66,_0x2dba7c,..._0x220d43){const _0x669805=_0x16b7;return this[_0x669805(0xd9)][_0x669805(0xe4)](t['RemoteUniscriptService'])[_0x669805(0xdf)](_0x32fe66,_0x2dba7c,{},..._0x220d43);}}e[_0x261bc8(0xe3)]['extend'](c);
1
+ 'use strict';const _0x261945=_0x3c8e;function _0x523e(){const _0x3a4fad=['2213200mkwdEj','get','425610OhlzqJ','1399881ncgYRv','extend','2358424MdphRm','runOnServer','733407IJEDVc','2LOQulv','_injector','5984160QulsdD','RemoteUniscriptService','2347088HpOYRj'];_0x523e=function(){return _0x3a4fad;};return _0x523e();}(function(_0x52dbdf,_0x38125c){const _0x302b1e=_0x3c8e,_0x1c6ce8=_0x52dbdf();while(!![]){try{const _0x287538=parseInt(_0x302b1e(0x1b1))/0x1+parseInt(_0x302b1e(0x1aa))/0x2*(-parseInt(_0x302b1e(0x1a9))/0x3)+-parseInt(_0x302b1e(0x1ae))/0x4+parseInt(_0x302b1e(0x1af))/0x5+parseInt(_0x302b1e(0x1ac))/0x6+-parseInt(_0x302b1e(0x1b2))/0x7+-parseInt(_0x302b1e(0x1a7))/0x8;if(_0x287538===_0x38125c)break;else _0x1c6ce8['push'](_0x1c6ce8['shift']());}catch(_0x1c98a5){_0x1c6ce8['push'](_0x1c6ce8['shift']());}}}(_0x523e,0x83bbf));function _0x3c8e(_0x40cfba,_0x5bf2bc){const _0x523ec7=_0x523e();return _0x3c8e=function(_0x3c8e2b,_0x160334){_0x3c8e2b=_0x3c8e2b-0x1a6;let _0x36f33d=_0x523ec7[_0x3c8e2b];return _0x36f33d;},_0x3c8e(_0x40cfba,_0x5bf2bc);}const t=require('@univerjs-pro/collaboration-client-ui'),e=require('@univerjs/core/facade');class c extends e['FUniver']{[_0x261945(0x1a8)](_0x309d3f,_0x5d059b,..._0x2ee157){const _0x29f397=_0x261945;return this[_0x29f397(0x1ab)][_0x29f397(0x1b0)](t[_0x29f397(0x1ad)])['runOnServer'](_0x309d3f,_0x5d059b,{},..._0x2ee157);}}e['FUniver'][_0x261945(0x1a6)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x14c41a=_0x4f22;(function(_0x1de45d,_0x3703c5){const _0x3b7d3f=_0x4f22,_0x35b314=_0x1de45d();while(!![]){try{const _0x3a6e5c=-parseInt(_0x3b7d3f(0x3fa))/0x1*(-parseInt(_0x3b7d3f(0x36f))/0x2)+parseInt(_0x3b7d3f(0x441))/0x3+parseInt(_0x3b7d3f(0x332))/0x4*(-parseInt(_0x3b7d3f(0x3ec))/0x5)+parseInt(_0x3b7d3f(0x22c))/0x6+-parseInt(_0x3b7d3f(0x32e))/0x7*(-parseInt(_0x3b7d3f(0x2ee))/0x8)+-parseInt(_0x3b7d3f(0x417))/0x9+-parseInt(_0x3b7d3f(0x385))/0xa*(-parseInt(_0x3b7d3f(0x2c6))/0xb);if(_0x3a6e5c===_0x3703c5)break;else _0x35b314['push'](_0x35b314['shift']());}catch(_0x599839){_0x35b314['push'](_0x35b314['shift']());}}}(_0xbc37,0x538be));var Ve=Object[_0x14c41a(0x21e)],Xe=(_0x40cfb1,_0x2f0391,_0x4a1482)=>_0x2f0391 in _0x40cfb1?Ve(_0x40cfb1,_0x2f0391,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a1482}):_0x40cfb1[_0x2f0391]=_0x4a1482,h=(_0x23de1f,_0x45c37a,_0x49a3dc)=>Xe(_0x23de1f,typeof _0x45c37a!=_0x14c41a(0x39c)?_0x45c37a+'':_0x45c37a,_0x49a3dc);Object[_0x14c41a(0x21e)](exports,Symbol[_0x14c41a(0x218)],{'value':_0x14c41a(0x214)});const u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),p=require('@univerjs/engine-render'),G=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),d=require('rxjs'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),be=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),$=require('rxjs/operators'),X=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),O=require('@univerjs/ui'),D=require('@univerjs/design'),M=require('react'),Ke=require('@univerjs/rpc');var qe=Object[_0x14c41a(0x204)],ze=(_0x4a55c6,_0x4df008,_0x3aaa61,_0x3088cb)=>{for(var _0x33fe3e=_0x3088cb>0x1?void 0x0:_0x3088cb?qe(_0x4df008,_0x3aaa61):_0x4df008,_0x1b817f=_0x4a55c6['length']-0x1,_0xb9b16c;_0x1b817f>=0x0;_0x1b817f--)(_0xb9b16c=_0x4a55c6[_0x1b817f])&&(_0x33fe3e=_0xb9b16c(_0x33fe3e)||_0x33fe3e);return _0x33fe3e;},Oe=(_0xeac995,_0x47870e)=>(_0x20ac88,_0x5efbf3)=>_0x47870e(_0x20ac88,_0x5efbf3,_0xeac995);let de=class extends a[_0x14c41a(0x3b5)]{constructor(_0x56ad71,_0x3d09c7){const _0x1b9e2a=_0x14c41a;super(),this[_0x1b9e2a(0x322)]=_0x56ad71,this[_0x1b9e2a(0x43e)]=_0x3d09c7,this[_0x1b9e2a(0x1e9)]();}['_init'](){const _0x5292e7=_0x14c41a,_0x3d5a85=this;this['disposeWithMe'](this[_0x5292e7(0x322)][_0x5292e7(0x2d5)]({'onBeforePasteImage':async _0x2b5777=>{const _0x149712=_0x5292e7,_0x591572=await _0x3d5a85[_0x149712(0x43e)][_0x149712(0x36b)](_0x2b5777);return _0x591572?{'source':_0x591572['source'],'imageSourceType':_0x591572['imageSourceType']}:null;}}));}};de=ze([Oe(0x0,E[_0x14c41a(0x45b)]),Oe(0x1,Ge[_0x14c41a(0x28c)])],de);const Te=[_0x14c41a(0x32a),_0x14c41a(0x430),'green.600',_0x14c41a(0x3f9),_0x14c41a(0x28e),_0x14c41a(0x3b1)];class me extends a['Disposable']{constructor(){const _0x30cced=_0x14c41a;super(...arguments),h(this,_0x30cced(0x320),new Map()),h(this,_0x30cced(0x263),0x0);}['assignAColorForMemberID'](_0x506c9f){const _0x82b52=_0x14c41a;if(this['_assignedColors'][_0x82b52(0x291)](_0x506c9f))return this[_0x82b52(0x320)][_0x82b52(0x340)](_0x506c9f);const _0x418fba=Te[this[_0x82b52(0x263)]];return this[_0x82b52(0x263)]=(this[_0x82b52(0x263)]+0x1)%Te[_0x82b52(0x2a7)],this[_0x82b52(0x320)][_0x82b52(0x1e6)](_0x506c9f,_0x418fba),_0x418fba;}}function Pe(_0x40e0c4){const _0x256ab9=_0x14c41a;let _0x259ec1='';for(const _0x49af9e of _0x40e0c4){const {startOffset:_0x54b612,endOffset:_0x58fd3e,isActive:_0x3fbb99,rangeType:_0x1acff0,segmentId:_0x5f01d5,segmentPage:_0x52cb71}=_0x49af9e;_0x259ec1[_0x256ab9(0x2a7)]&&(_0x259ec1+=','),_0x259ec1+=_0x54b612+':'+_0x58fd3e+':'+(_0x3fbb99?'1':'0')+':'+_0x1acff0+':'+_0x5f01d5+':'+_0x52cb71;}return _0x259ec1;}function Je(_0x6ee8e5){const _0x4a0de1=_0x14c41a,_0xea329a=_0x6ee8e5['split'](','),_0x381e5c=[];for(const _0x12b2a9 of _0xea329a){const [_0x5b6a8b,_0x1f4320,_0x5f2457,_0x4b556e,_0xeec534,_0x5e23e9]=_0x12b2a9[_0x4a0de1(0x372)](':');_0x381e5c[_0x4a0de1(0x2ff)]({'startOffset':Number(_0x5b6a8b),'endOffset':Number(_0x1f4320),'collapsed':_0x5b6a8b===_0x1f4320,'isActive':_0x5f2457==='1','rangeType':_0x4b556e===a[_0x4a0de1(0x397)][_0x4a0de1(0x24f)]?a[_0x4a0de1(0x397)]['TEXT']:a[_0x4a0de1(0x397)][_0x4a0de1(0x39d)],'segmentId':typeof _0xeec534==_0x4a0de1(0x43d)?String(_0xeec534):'','segmentPage':Number(_0x5e23e9!=null?_0x5e23e9:-0x1)});}return _0x381e5c['some'](_0x1573b7=>_0x1573b7[_0x4a0de1(0x33b)])||(_0x381e5c[0x0][_0x4a0de1(0x33b)]=!0x0),_0x381e5c;}class Ce extends a[_0x14c41a(0x3b5)]{constructor(){const _0xb7ecd0=_0x14c41a;super(...arguments),h(this,_0xb7ecd0(0x221),new d[(_0xb7ecd0(0x425))](null)),h(this,_0xb7ecd0(0x2fb),this[_0xb7ecd0(0x221)]['asObservable']());}[_0x14c41a(0x3cb)](_0x51fbcb){const _0x50ab44=_0x14c41a,{unitID:_0x5a5767,memberID:_0x14b0e7,textRanges:_0x4f6d7b}=_0x51fbcb,_0x406eca=Pe(_0x4f6d7b);if(_0x406eca==='')return;const _0x58279c={'unitID':_0x5a5767,'memberID':_0x14b0e7,'selection':_0x406eca};this[_0x50ab44(0x221)][_0x50ab44(0x1fe)](_0x58279c);}}function _0xbc37(){const _0x18fdf2=['INotificationService','selection','_registerRenderDependencies','Error','_shapes','_collabCursorController','NOT_COLLAB','_hovered','switchMap','collaboration-client-ui.config','extend','values','url(#on-line-icon_clip0_910_349)','_draw','_config','forEach','_range','transformRemoteChangeset','getValue','728JcvKoI','then','width','dispose$','BrowserCollaborationSocketService','toRgbString','UniverCollaborationClientUIPlugin','INVALID_ARGUMENT','registerRenderModule','getUnitStatus$','filter','WebSocketService','_setupBeforeClosingHandler','collabCursorState$','m1Prime','ticket','_docStateChangeManagerService','push','setTimeout','onStarting','ICommandService','_status$','_textBubble','RichTextEditingMutation','_getAnchorBounding','subunit','MUTATION','_startSheetCollabCursor','makeDirty','IRenderManagerService','stringify','_cursors','_docTransformSelectionsService','_session','contains','onPointerEnter$','_backgroundColor','body','getConfig','YUUMI_SUBSCRIPTION_NOT_FOUND','init','0\x200\x2017\x2016','OFFLINE','DocSkeletonManagerService','replace','INVITE_CODE_HAS_BEEN_UES','save','parse','_themeService','SNAPSHOT_HAS_BEEN_REMOVED','_assignedColors','map','_docClipboardService','RemoteUniscriptService','idSuffix','fillText','_startDocCollabCursor','ILocalCacheService','deepClone','DataLoaderService','purple.300','eventID','status$','_refreshCollabCursors','20293TvQSqG','_onCursorDelete','UNIVER_DOC','_doCreateSocket','12vAXvMz','YUUMI_ASYNCIO_CANCELLED','takeUntil','CONFLICT','isArray','handleInsertRow','getColor','IURLService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','isActive','useCallback','sheetID','DesktopCollaborationStatusDisplayController','_collabSessionService','get','addObject','M0\x200H16V16H0z','UniverInstanceType','NOT_FOUND','useObservable','RemoveRowCommandId','YUUMI_NO_CUBOID_FOR_QUESTION','add','APPLY_REVISION_CONFILICT','urlChange$','current','getStateCache','LOGIN_FAILED','USER_NOT_INVITED_CODE','textRanges','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getCoordByCell','INTERNAL_ERROR','triggerDblclick','deserializeRangeWithSheet','location','getDocRanges','_scheduleSaving','session.collaboration-timeout','_onRefRangeChange','IRemoteInstanceService','post','_onCursorUpdate','_heartbeatTimer','_cursorShapes','unit','_getScale','clearTimeout','onPointerLeave$','getSkeleton','top','TEXT_RANGE_LAYER_INDEX','assignAColorForMemberID','session.will-retry','UnitStatus','onCommandExecuted','exhaustSavingTask','saveImage','_removeClearOtherTimer','EMAIL_HAS_BEEN_BOUND','executionId','140QhEHrI','_labelPosition','entityInit$','split','SHEET_VIEWPORT_KEY','origin','CollaborationUIEventId','IConfigService','disposeUnit','DocStateChangeManagerService','IUIPartsService','_localCacheService','_initDependencies','delete','key','_logService','event$','unitId','SetWorksheetActivateCommand','UniverCollaborationClientPlugin','transformIMECache','endColumn','31910dmBeMY','HTTPService','_scheduleClearOtherTimer','dispose','result','_docSkeleton','_removeCollabCursors','CollaborationStatusDisplay','saveTaskMap','getCollabCursors$','undoState','getMergeData','findNodePositionByCharIndex','_updateURLWithCurrentState','ENSURE_SNAPSHOT_EXECUTION','memberID','getViewport','NO_OTHER_CLIENTS_EDITING','DOC_RANGE_TYPE','path','_injector','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','newValue','symbol','RECT','currentSkeleton$','pushState','replaceState','univer-mr-2\x20univer-flex\x20univer-text-xl','getMemberID','_ensureSubject','IMessageService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','handleDeleteRangeMoveUp','Rectangle','getOwnPropertySymbols','requireSession','onTransformChange$','UPDATE_CURSOR','MessageType','addEventListener','LICENSE_IMPORT_SIZE_EXCEEDED','SheetsSelectionsService','assign','yellow.400','EffectRefRangId','_saveTaskMap','sheetId','RxDisposable','isTransformMutationsWithChangesetSuccess','shareReplay','mapTo','getSheetId','getAncestorScale','COLORS','0\x200\x2016\x2016','_httpService','univerjs-icon\x20univerjs-icon-','YUUMI_TABLE_NOT_FOUND_IN_UNIT','SheetSkeletonManagerService','_drawAnchor','DocCollaborationEntity','YUUMI_UNABLE_LOAD_URL','Shape','_transformUndoRedoStack','getRelativeToViewportCoord','collaboration-client.offline-data-not-saved','_unitOnClients','includes','getCurrent','syncEditingCollabCursor','registerComponent','loadUnit','Disposable','IBeforeCloseService','Unknown\x20user','hide','SetDocZoomRatioOperation','updateOfflineData','_revisionService','_instanceService','runId','backgroundColor','_docTransformIMECacheService','engine','InsertRangeMoveRightCommandId','ILocalStorageService','setStateCache','UNAUTHENTICATED','AWAITING_WITH_PENDING','_anchorDot','handleMoveRange','onLocalMutation','LocaleService','rgba(255,\x20255,\x20255,\x200.01)','with','_name','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_initStatusComponent','invokeId','defIds','unshift','LICENSE_DISTRO_REJECTED','191095MkRYay','redoState','FromArray','collabStatus.syncing','_transformPreviousActiveRange','_toggleOnline','CONNECTOR_DATA_TOO_LARGE','bottom','loadOfflineData','_render','text','getFocusedUnit','_notificationService','red.300','4083QLQWLL','PERMISSION_DENIED','svg','session.connection-failed','subscribe','WebURLService','disableLocalCache','cursorInfo','_handleJoinEvent','IUniverInstanceService','OTHER_CLIENTS_EDITING','handleInsertRangeMoveDown','MOBILE_HAS_BEEN_BOUND','beginPath','SetSelectionsOperation','href','doc.mutation.rich-text-editing','CollaborationSessionService','roomMembers$','off-line-icon_clip0_910_343','_clearOtherTimers','useDependency','icon','forwardRef','DEFAULT_WS_SESSION_TICKET_URL','CollaborationUIEventService','enableLocalCache','NodePositionConvertToRectRange','RevisionService','3063492ySKKab','indexOf','collabStatus.offline','AWAITING','_cursor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_getSheetObject','black','_registerDependencies','_drawTextRange','replaceDocRanges','CommandType','transformMutationsWithChangeset','random','BehaviorSubject','_transformService','runRefRangeMutations','collaboration.single-unit.warning','fillRule','arc','_eventUnsubscribe','_localeService','_collaborationUIEventService','_univerInstanceService','collabStatus.conflict','jiqing.500','ThemeService','pipe','translate(.97)','combineLatest','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','getUnitId','_docSyncEditingCollabCursorService','_online','_disabled','hovered','toDisposable','getCollabEntity$','string','_imageIoService','_docTransformStateCacheService','permission.title','611319ayMvfv','override','fillStyle','removeParam','selections','restore','height','_cursorInfo$','getRenderById','history','wsSessionTicketUrl','max','storage','send','registerRefRange','_initCommandExecutedListener','handleInsertRangeMoveRight','MemberService','all','getColorFromTheme','/run/','NodePositionConvertToCursor','CollaborationSocketService','range','collabStatus.notCollab','YUUMI_CONNECTOR_URL_NOT_FOUND','IDocClipboardService','collabStatus.synced','min','MOBILE_VERIFY_CODE_MISMATCH','WECHAT_HAS_BEEN_BOUND','tag','transform','Tools','Inject','_configService','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','YUUMI_ALL_TABLES_IS_INVALID','startsWith','permission.content','UNRECOGNIZED','merge','Rect','INVITE_CODE_ALREADY_BOUND','params','getVpScrollXYInfoByPosToVp','isTransformMutationFailure','APPLY_REJECT','function','_lastPointer','_scheduleHeartbeat','USERS_LEAVE','PY_RUNTIME_SCRIPT_ERROR','ALREADY_EXISTS','[CollaborationDataLoaderController]','UniverIcon','set','DeleteRangeMoveUpCommandId','className','_init','jsx','whenReady','substring','getOffsetConfig','_transformHistoryAndStateStack','_selfUnitIDs','VIEW_MAIN','startColumn','_hideTimer','getLocalCacheKey','_createSocketURL','debounceTime','fill','InsertRangeMoveDownCommandId','_handleLeaveEvent','_drawRectRange','_getSaveTimeout','currentColor','lineTo','LICENSE_EXPORT_SIZE_EXCEEDED','next','throttleTime','serializeRangeWithSheet','[RemoteUniscriptService]:\x20no\x20focused\x20unit','call','_colorAssignService','getOwnPropertyDescriptor','_memberService','endRow','EMAIL_VERIFY_CODE_MISMATCH','disposeWithMe','round','_initEvent','LOCAL_CACHE_INTERVAL_KEY','clsx','_entities','RemoveColCommandId','univer-flex\x20univer-items-center','transformSelections','ONLINE','setInterval','getRangePointData','Module','onPointerMove$','CollaborationStatus','currentTheme$','toStringTag','_uiPartsService','INVITE_CODE_REQUIRED','getItem','onRendered','prototype','defineProperty','entries','ISocketService','_collabCursorState$','attrs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_collaborationController','name','getCurrentRevOfUnit','_messageService','toString','TOO_MANY_REQUESTS','LICENSE_MAX_UNITS_EXCEEDED','Warning','224862tYiHMR','RefRangeService','mask','_initEntityListener','InsertColCommandId','ranges','color','debounce','executeCommand','UNIVER_SHEET','HEADER_MENU','code','getParam','http://www.w3.org/2000/svg','error','APPLY_NON_SEQUENTIAL_REVISION','distinctUntilChanged','column','createElement','none','SheetCollabCursorShape','INVALID_INVITE_CODE','LOCAL_CACHE_INTERVAL','_handleHeartbeatEvent','CollaborationController','application/json','transformByState','_getMergeRange','_saveCache','_syncEditingCollabCursorService','_renderManagerService','_localStorageService','_color','collab-rect-range-','on-line-icon','TEXT','url(#off-line-icon_clip0_910_343)','sessionStatus$','actions','concat','COMPLETION_FINISHED','DocSelectionManagerService','transformStateCache','on-line-icon_clip0_910_349','Optional','InsertRowCommandId','_initResize','createInstance','_anchor','show','OTHER_CLIENT_EDITING','_hover','_updateLocalCursor','_updateCollabCursors','SOCKET_FAILED','_colorIndex','setParam','_docSkeletonManagerService','editingUnit','clearInterval','_context','SetTextSelectionsOperation','type','unitID','white','transformMutation','CHANGESET_REVISION_CONFILICT','_entityInit$','hasOwnProperty','setItem','complete','SNAPSHOT_INVALID_SNAPSHOT','_sheetSkeletonManagerService','getActiveSheet','jsxs','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','div','getSheetBySheetId','_getSessionTicket','_roomMembers$','PENDING','collaboration.closeRoom','ITransformService','saveOfflineData','trim','mutations','font','subscribeEvent','_cachedData','searchParams','unsubscribe','YUUMI_AI_RUN_FAILED','_handleHover','children','getCellPositionByOffset','getMember','IImageIoService','collab-text-range-','blue.400','debug','measureText','has','YUUMI_URL_COL_OUT_OF_RANGE','drawWith','getTypeOfUnitDisposed$','BuiltInUIPart','collab-client.tooltip.reconnect','use','xlink:href','SessionStatus','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','roomMembers','...','_dataLoaderService','SYNCED','docStateChange$','_setupSubUnitSync','colorChannel1','unload','search','_urlService','DisposableCollection','APPLY_DUPLICATED','length','asObservable','ILogService','_scene','url(#$1','registerDependencies','_commandService','_initStatusListener','APPLY_PERMISSION_DENIED','Vector2','size','getUndoRedoMutationParamsCache','setShapeProps','FETCH_MISS','_refRangeService','1em','find','ACTIVE_UNIT_EVENT_CHANNEL','UNDEFINED','_updateSubUnitFromURLParams','clipPath','CollaborationDataLoaderController','Injector','_unitStatus','_id','getSheetObject','handleIRemoveCol','DocIMEInputManagerService','touchDependencies','_handleEvent','addHandlerCallback','22Sapkbf','setConfig','cursorInfo$','row','createSocket','generateRandomId','m2Prime','data','popstate','RegularPolygon','Failed','onMouseMove','OffLineIcon','CollaborationEvent','defs','addClipboardHook','isEditing','activeSheet$','_toggleOffline','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_send'];_0xbc37=function(){return _0x18fdf2;};return _0xbc37();}var Ze=Object['getOwnPropertyDescriptor'],Qe=(_0x5dab07,_0x287f27,_0x28133e,_0xb61908)=>{const _0x545a87=_0x14c41a;for(var _0x3992e6=_0xb61908>0x1?void 0x0:_0xb61908?Ze(_0x287f27,_0x28133e):_0x287f27,_0x942d68=_0x5dab07[_0x545a87(0x2a7)]-0x1,_0x329d3f;_0x942d68>=0x0;_0x942d68--)(_0x329d3f=_0x5dab07[_0x942d68])&&(_0x3992e6=_0x329d3f(_0x3992e6)||_0x3992e6);return _0x3992e6;},L=(_0x21d07e,_0x10c446)=>(_0x5ee0f0,_0x56a120)=>_0x10c446(_0x5ee0f0,_0x56a120,_0x21d07e);const et=0x12c,tt=0x64;let Ie=class extends a[_0x14c41a(0x3b5)]{constructor(_0x1928cb,_0x338b3b,_0x504b6d,_0x26bf3e,_0x40c535,_0x2bf0f9,_0x58a6f3,_0x53cbf6,_0xf2b045){const _0x360583=_0x14c41a;super(),h(this,_0x360583(0x438),!0x1),h(this,_0x360583(0x1e9),!0x1),h(this,_0x360583(0x448),new d['BehaviorSubject'](new Map())),h(this,'cursorInfo$',this[_0x360583(0x448)][_0x360583(0x2a8)]()),h(this,_0x360583(0x27b),new d['BehaviorSubject']([])),h(this,_0x360583(0x40c),this['_roomMembers$'][_0x360583(0x432)](d[_0x360583(0x1f5)](et))),h(this,_0x360583(0x260),a['debounce'](_0x46858a=>{const _0x1a2d03=_0x360583,_0x5213b3={'eventID':m[_0x1a2d03(0x2d3)][_0x1a2d03(0x3ab)],'data':{'unitID':this['unitID'],'memberID':this[_0x1a2d03(0x30f)][_0x1a2d03(0x3a2)](),'selection':Pe(_0x46858a)}};this[_0x1a2d03(0x30f)][_0x1a2d03(0x44e)](_0x5213b3,this[_0x1a2d03(0x26b)]);},tt)),(this['unitID']=_0x1928cb,this[_0x360583(0x30f)]=_0x338b3b,this[_0x360583(0x399)]=_0x504b6d,this[_0x360583(0x203)]=_0x26bf3e,this['_memberService']=_0x40c535,this[_0x360583(0x249)]=_0x2bf0f9,this[_0x360583(0x426)]=_0x58a6f3,this[_0x360583(0x42e)]=_0x53cbf6,this[_0x360583(0x2ad)]=_0xf2b045);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x787fb5=_0x14c41a;return this['_roomMembers$'][_0x787fb5(0x2ed)]();}['dispose'](){const _0x1e3c35=_0x14c41a;super[_0x1e3c35(0x388)](),this[_0x1e3c35(0x448)][_0x1e3c35(0x1fe)](new Map()),this[_0x1e3c35(0x448)]['complete'](),this[_0x1e3c35(0x27b)][_0x1e3c35(0x1fe)]([]),this[_0x1e3c35(0x27b)][_0x1e3c35(0x272)]();}[_0x14c41a(0x316)](){const _0x358827=_0x14c41a;this[_0x358827(0x1e9)]||(this['_init']=!0x0,this['_session'][_0x358827(0x251)][_0x358827(0x432)](d[_0x358827(0x334)](this[_0x358827(0x2f1)]))['subscribe'](_0x58c211=>{const _0x1b7a81=_0x358827;_0x58c211===u[_0x1b7a81(0x299)][_0x1b7a81(0x211)]?this[_0x1b7a81(0x3f1)]():this[_0x1b7a81(0x2d8)]();}),this['_session'][_0x358827(0x37f)][_0x358827(0x432)](d[_0x358827(0x334)](this[_0x358827(0x2f1)]))[_0x358827(0x3fe)](_0x551c36=>{const _0x119fdf=_0x358827,_0x23509e=_0x551c36[_0x119fdf(0x32b)];_0x23509e===m[_0x119fdf(0x2d3)][_0x119fdf(0x3ab)]&&this[_0x119fdf(0x35c)](_0x551c36),_0x23509e===m[_0x119fdf(0x2d3)][_0x119fdf(0x1e1)]&&this[_0x119fdf(0x32f)](_0x551c36);}),this['disposeWithMe'](this[_0x358827(0x2ad)]['onCommandExecuted'](_0x2a304d=>{const _0x330d62=_0x358827,_0x3af1f0=_0x2a304d[_0x330d62(0x46d)];_0x3af1f0!=null&&this['_online']&&_0x2a304d['id']===Y[_0x330d62(0x269)]['id']&&_0x3af1f0[_0x330d62(0x380)]===this[_0x330d62(0x26b)]&&_0x3af1f0[_0x330d62(0x2d6)]===!0x1&&_0x3af1f0[_0x330d62(0x231)][_0x330d62(0x2a7)]>0x0&&this['_updateLocalCursor'](_0x3af1f0[_0x330d62(0x231)]);})),this[_0x358827(0x249)][_0x358827(0x2fb)]['pipe'](d[_0x358827(0x334)](this['dispose$']))[_0x358827(0x3fe)](_0x906e2c=>{const _0x412adc=_0x358827;if((_0x906e2c==null?void 0x0:_0x906e2c[_0x412adc(0x26b)])!==this['unitID'])return;const _0xa2ef46={'eventID':m[_0x412adc(0x2d3)]['UPDATE_CURSOR'],'data':_0x906e2c};this[_0x412adc(0x35c)](_0xa2ef46);}),this[_0x358827(0x208)](this[_0x358827(0x2ad)][_0x358827(0x369)](_0x58a9bc=>{const _0x1b18cf=_0x358827;if(_0x58a9bc['params']==null)return;const _0x5d4f00=_0x58a9bc['params'];if(_0x58a9bc['id']!==Y[_0x1b18cf(0x305)]['id']||_0x5d4f00[_0x1b18cf(0x380)]!==this[_0x1b18cf(0x26b)])return;const _0x490c7d={'id':_0x1b18cf(0x40a),'params':_0x5d4f00},_0x55e9d5=this[_0x1b18cf(0x401)];for(const [_0x1bcbe0,_0x15c5d5]of _0x55e9d5){const _0x43f31e={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x15c5d5[_0x1b18cf(0x231)]}},_0x426640=this['_transformService']['transformMutation'](_0x490c7d,_0x43f31e,!0x1);if(m['isTransformMutationFailure'](_0x426640))throw _0x426640['error'];_0x55e9d5[_0x1b18cf(0x1e6)](_0x1bcbe0,{..._0x15c5d5,'ranges':_0x426640[_0x1b18cf(0x2cc)][_0x1b18cf(0x46d)][_0x1b18cf(0x34f)]});}queueMicrotask(()=>{const _0x37abd3=_0x1b18cf;this[_0x37abd3(0x448)][_0x37abd3(0x1fe)](_0x55e9d5);});})));}[_0x14c41a(0x35c)](_0x5a64a1){const _0x3ad98a=_0x14c41a;var _0x41b30c,_0x3a5958;const {memberID:_0x590312,selection:_0x3cbec3}=_0x5a64a1[_0x3ad98a(0x2cd)],_0x8bce82=Je(_0x3cbec3),_0x2c039e=(_0x3a5958=(_0x41b30c=this[_0x3ad98a(0x205)][_0x3ad98a(0x28b)](this[_0x3ad98a(0x26b)],_0x590312))==null?void 0x0:_0x41b30c['name'])!=null?_0x3a5958:'Unknown\x20user',_0x2313b6={'color':this[_0x3ad98a(0x203)]['assignAColorForMemberID'](_0x590312),'name':_0x2c039e,'ranges':_0x8bce82},_0x1462a5=this[_0x3ad98a(0x401)];_0x1462a5[_0x3ad98a(0x1e6)](_0x590312,_0x2313b6),this[_0x3ad98a(0x448)][_0x3ad98a(0x1fe)](_0x1462a5);}[_0x14c41a(0x32f)](_0x14227b){const _0x4fd31d=_0x14c41a,{memberID:_0x9935fe}=_0x14227b[_0x4fd31d(0x2cd)],_0x2dacf6=this[_0x4fd31d(0x401)];_0x2dacf6[_0x4fd31d(0x37c)](_0x9935fe),this['_cursorInfo$'][_0x4fd31d(0x1fe)](_0x2dacf6);}['_toggleOnline'](){const _0x3fea15=_0x14c41a;var _0x28e28a;if(this[_0x3fea15(0x438)]=!0x0,((_0x28e28a=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x28e28a[_0x3fea15(0x436)]())!==this['unitID'])return;const _0x11da0f=this[_0x3fea15(0x399)]['get'](Y[_0x3fea15(0x255)])[_0x3fea15(0x356)]();Array[_0x3fea15(0x336)](_0x11da0f)&&_0x11da0f[_0x3fea15(0x2a7)]>0x0&&this[_0x3fea15(0x260)](_0x11da0f);}[_0x14c41a(0x2d8)](){const _0x3fe428=_0x14c41a;this[_0x3fe428(0x438)]=!0x1;}};Ie=Qe([L(0x2,a[_0x14c41a(0x463)](a['Injector'])),L(0x3,a[_0x14c41a(0x463)](me)),L(0x4,a[_0x14c41a(0x463)](u[_0x14c41a(0x452)])),L(0x5,a['Inject'](Ce)),L(0x6,m['ITransformService']),L(0x7,a[_0x14c41a(0x403)]),L(0x8,a[_0x14c41a(0x302)])],Ie);var st=Object['getOwnPropertyDescriptor'],it=(_0x4a4ca2,_0x169ba6,_0x4034c9,_0x456fde)=>{const _0x207c59=_0x14c41a;for(var _0x2c97fb=_0x456fde>0x1?void 0x0:_0x456fde?st(_0x169ba6,_0x4034c9):_0x169ba6,_0x5b3fd0=_0x4a4ca2[_0x207c59(0x2a7)]-0x1,_0x4ee1ac;_0x5b3fd0>=0x0;_0x5b3fd0--)(_0x4ee1ac=_0x4a4ca2[_0x5b3fd0])&&(_0x2c97fb=_0x4ee1ac(_0x2c97fb)||_0x2c97fb);return _0x2c97fb;},A=(_0x1ce096,_0x366694)=>(_0x4f4655,_0x4fb025)=>_0x366694(_0x4f4655,_0x4fb025,_0x1ce096);const nt=0x12c,rt=0x64,ot=()=>{let _0x2a0938=[],_0xc036ed=!0x1;return _0x43ea75=>{const _0x136a2f=_0x4f22;_0x2a0938[_0x136a2f(0x2ff)](_0x43ea75),_0xc036ed||(_0xc036ed=!0x0,setTimeout(()=>{const _0x14cd35=_0x136a2f;_0x2a0938[_0x14cd35(0x2ea)](_0x1fc8f6=>_0x1fc8f6()),_0x2a0938=[],_0xc036ed=!0x1;}));};};let Se=class extends a[_0x14c41a(0x3b5)]{constructor(_0xe73949,_0x44663b,_0x30e74a,_0x30fee6,_0x534fce,_0x27029c,_0x35946f,_0x41ac35){const _0x11bb81=_0x14c41a;super(),h(this,_0x11bb81(0x438),!0x1),h(this,_0x11bb81(0x1e9),!0x1),h(this,_0x11bb81(0x448),new d[(_0x11bb81(0x425))](new Map())),h(this,'cursorInfo$',this[_0x11bb81(0x448)][_0x11bb81(0x2a8)]()),h(this,'_roomMembers$',new d[(_0x11bb81(0x425))]([])),h(this,_0x11bb81(0x40c),this[_0x11bb81(0x27b)][_0x11bb81(0x432)](d['debounceTime'](nt))),h(this,_0x11bb81(0x260),a['debounce']((_0x53df89,_0x5f08e1)=>{const _0x480c4c=_0x11bb81,_0x319481={'eventID':m[_0x480c4c(0x2d3)][_0x480c4c(0x3ab)],'data':{'unitID':this['unitID'],'memberID':this[_0x480c4c(0x30f)][_0x480c4c(0x3a2)](),'selection':be[_0x480c4c(0x200)](_0x53df89,_0x5f08e1[_0x480c4c(0x458)])}};this['_session'][_0x480c4c(0x44e)](_0x319481,this[_0x480c4c(0x26b)]);},rt)),(this[_0x11bb81(0x26b)]=_0xe73949,this[_0x11bb81(0x30f)]=_0x44663b,this['_injector']=_0x30e74a,this[_0x11bb81(0x203)]=_0x30fee6,this['_memberService']=_0x534fce,this[_0x11bb81(0x42e)]=_0x27029c,this['_commandService']=_0x35946f,this['_refRangeService']=_0x41ac35);}get[_0x14c41a(0x401)](){const _0x327e7c=_0x14c41a;return this[_0x327e7c(0x448)]['getValue']();}get[_0x14c41a(0x29b)](){const _0x2fdeea=_0x14c41a;return this[_0x2fdeea(0x27b)][_0x2fdeea(0x2ed)]();}[_0x14c41a(0x388)](){const _0x924130=_0x14c41a;super['dispose'](),this['_cursorInfo$'][_0x924130(0x1fe)](new Map()),this['_cursorInfo$'][_0x924130(0x272)](),this['_roomMembers$'][_0x924130(0x1fe)]([]),this['_roomMembers$'][_0x924130(0x272)]();}['init'](){const _0x42425e=_0x14c41a;this[_0x42425e(0x1e9)]||(this[_0x42425e(0x1e9)]=!0x0,this[_0x42425e(0x30f)]['sessionStatus$'][_0x42425e(0x432)](d['takeUntil'](this[_0x42425e(0x2f1)]))[_0x42425e(0x3fe)](_0x17e063=>{const _0x4aae88=_0x42425e;_0x17e063===u[_0x4aae88(0x299)][_0x4aae88(0x211)]?this['_toggleOnline']():this[_0x4aae88(0x2d8)]();}),this[_0x42425e(0x30f)]['event$'][_0x42425e(0x432)](d[_0x42425e(0x334)](this[_0x42425e(0x2f1)]))['subscribe'](_0x4dead2=>{const _0x330ed2=_0x42425e,_0x28da3a=_0x4dead2['eventID'];_0x28da3a===m['CollaborationEvent'][_0x330ed2(0x3ab)]&&this['_onCursorUpdate'](_0x4dead2),_0x28da3a===m['CollaborationEvent'][_0x330ed2(0x1e1)]&&this[_0x330ed2(0x32f)](_0x4dead2);}),this['_onRefRangeChange'](),this[_0x42425e(0x208)](this[_0x42425e(0x2ad)][_0x42425e(0x369)](_0x412f2c=>{const _0x4d58b0=_0x42425e;if(this['_online']&&_0x412f2c['id']===g[_0x4d58b0(0x408)]['id']&&_0x412f2c[_0x4d58b0(0x46d)]['unitId']===this[_0x4d58b0(0x26b)]){const _0x45cd07=_0x412f2c[_0x4d58b0(0x46d)];this[_0x4d58b0(0x260)](_0x45cd07['subUnitId'],_0x45cd07[_0x4d58b0(0x445)][0x0]);}})));}[_0x14c41a(0x35c)](_0x1fb2b0){const _0x155618=_0x14c41a;var _0x3e1fbe,_0x16ab8c;const {memberID:_0x3ce171,selection:_0x501500}=_0x1fb2b0['data'],{sheetName:_0x20daac,range:_0x381678}=be[_0x155618(0x354)](_0x501500),_0x34094c={'name':(_0x16ab8c=(_0x3e1fbe=this[_0x155618(0x205)]['getMember'](this[_0x155618(0x26b)],_0x3ce171))==null?void 0x0:_0x3e1fbe['name'])!=null?_0x16ab8c:_0x155618(0x3d0),'range':this['_getMergeRange'](_0x20daac,_0x381678),'sheetID':_0x20daac,'color':this[_0x155618(0x203)][_0x155618(0x366)](_0x3ce171),'selection':_0x501500},_0x107e21=this['cursorInfo'];_0x107e21[_0x155618(0x1e6)](_0x3ce171,_0x34094c),this[_0x155618(0x448)]['next'](_0x107e21);}['_onCursorDelete'](_0x4800c2){const _0x382d3a=_0x14c41a,{memberID:_0x3ccd53}=_0x4800c2[_0x382d3a(0x2cd)],_0x10728b=this['cursorInfo'];_0x10728b[_0x382d3a(0x37c)](_0x3ccd53),this[_0x382d3a(0x448)][_0x382d3a(0x1fe)](_0x10728b);}[_0x14c41a(0x247)](_0x27cf67,_0xed3313){const _0x5d4fea=_0x14c41a;var _0x3e3174,_0x136e6d;const _0x57cf3c=(_0x136e6d=(_0x3e3174=this[_0x5d4fea(0x42e)]['getUniverSheetInstance'](this[_0x5d4fea(0x26b)]))==null?void 0x0:_0x3e3174[_0x5d4fea(0x279)](_0x27cf67))==null?void 0x0:_0x136e6d[_0x5d4fea(0x390)]();return(_0x57cf3c==null?void 0x0:_0x57cf3c[_0x5d4fea(0x2b7)](_0x2c4176=>a[_0x5d4fea(0x3a7)][_0x5d4fea(0x310)](_0x2c4176,_0xed3313)))||_0xed3313;}[_0x14c41a(0x359)](){const _0x1921cd=_0x14c41a,_0xb5eb2b=new a[(_0x1921cd(0x2a5))](),_0x192414=ot(),_0x54e621=()=>{const _0x25483f=_0x1921cd;_0xb5eb2b[_0x25483f(0x388)]();const _0xa3fec3=(_0x37a694,_0x49170d,_0x28d06e,_0x50032c)=>{const _0x17a52d=_0x25483f;let _0x334634=[];switch(_0x37a694['id']){case g[_0x17a52d(0x3b2)]['DeleteRangeMoveLeftCommandId']:{_0x334634=g['handleDeleteRangeMoveLeft'](_0x37a694,_0x50032c);break;}case g[_0x17a52d(0x3b2)][_0x17a52d(0x1e7)]:{_0x334634=g[_0x17a52d(0x3a6)](_0x37a694,_0x50032c);break;}case g[_0x17a52d(0x3b2)][_0x17a52d(0x230)]:{_0x334634=g['handleInsertCol'](_0x37a694,_0x50032c);break;}case g[_0x17a52d(0x3b2)][_0x17a52d(0x1f7)]:{_0x334634=g[_0x17a52d(0x405)](_0x37a694,_0x50032c);break;}case g[_0x17a52d(0x3b2)][_0x17a52d(0x3da)]:{_0x334634=g[_0x17a52d(0x451)](_0x37a694,_0x50032c);break;}case g[_0x17a52d(0x3b2)][_0x17a52d(0x259)]:{_0x334634=g[_0x17a52d(0x337)](_0x37a694,_0x50032c);break;}case g[_0x17a52d(0x3b2)]['MoveRangeCommandId']:{_0x334634=g[_0x17a52d(0x3e0)](_0x37a694,_0x50032c);break;}case g[_0x17a52d(0x3b2)][_0x17a52d(0x20e)]:{_0x334634=g[_0x17a52d(0x2c1)](_0x37a694,_0x50032c);break;}case g[_0x17a52d(0x3b2)][_0x17a52d(0x346)]:{_0x334634=g['handleIRemoveRow'](_0x37a694,_0x50032c);break;}}const _0x4f30bf=g[_0x17a52d(0x427)](_0x334634,_0x50032c),_0x9b63a0=this[_0x17a52d(0x401)][_0x17a52d(0x340)](_0x49170d);if(_0x9b63a0&&_0x4f30bf){const _0x1bd991={..._0x9b63a0,'range':_0x4f30bf};this['cursorInfo'][_0x17a52d(0x1e6)](_0x49170d,_0x1bd991),_0x192414(()=>{const _0x439fb8=_0x17a52d,_0x487fa9=this[_0x439fb8(0x2b5)][_0x439fb8(0x44f)](_0x4f30bf,_0x3ad521=>(_0x487fa9[_0x439fb8(0x388)](),_0xa3fec3(_0x3ad521,_0x49170d,_0x28d06e,_0x4f30bf)));_0xb5eb2b[_0x439fb8(0x348)](_0x487fa9);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x25483f(0x2ea)]((_0x536d25,_0x58888d)=>{const _0x42f560=_0x25483f,{range:_0x124e60,sheetID:_0x5468cf}=_0x536d25,_0x4d495c=this[_0x42f560(0x2b5)][_0x42f560(0x44f)](_0x124e60,_0x30db3d=>(_0x4d495c[_0x42f560(0x388)](),_0xa3fec3(_0x30db3d,_0x58888d,_0x5468cf,_0x124e60)));_0xb5eb2b['add'](_0x4d495c);});};this[_0x1921cd(0x208)](a[_0x1921cd(0x43b)](this['_cursorInfo$'][_0x1921cd(0x3fe)](()=>{_0x54e621();})));}[_0x14c41a(0x3f1)](){const _0x2caf07=_0x14c41a;var _0x56fda6,_0x1efb57;if(this[_0x2caf07(0x438)]=!0x0,((_0x56fda6=this[_0x2caf07(0x42e)][_0x2caf07(0x3f7)]())==null?void 0x0:_0x56fda6[_0x2caf07(0x436)]())!==this['unitID'])return;const _0x59aa5d=(_0x1efb57=this[_0x2caf07(0x399)][_0x2caf07(0x340)](g[_0x2caf07(0x3af)])['getCurrentSelections']())==null?void 0x0:_0x1efb57[0x0],_0x4565c2=this[_0x2caf07(0x42e)]['getCurrentUnitForType'](a['UniverInstanceType']['UNIVER_SHEET'])[_0x2caf07(0x275)]();_0x59aa5d&&_0x4565c2&&this['_updateLocalCursor'](_0x4565c2[_0x2caf07(0x3b9)](),_0x59aa5d);}[_0x14c41a(0x2d8)](){const _0x2aec96=_0x14c41a;this[_0x2aec96(0x438)]=!0x1;}};Se=it([A(0x2,a[_0x14c41a(0x463)](a[_0x14c41a(0x2bd)])),A(0x3,a['Inject'](me)),A(0x4,a[_0x14c41a(0x463)](u[_0x14c41a(0x452)])),A(0x5,a[_0x14c41a(0x403)]),A(0x6,a[_0x14c41a(0x302)]),A(0x7,a[_0x14c41a(0x463)](g[_0x14c41a(0x22d)]))],Se);var at=Object[_0x14c41a(0x204)],ct=(_0x4ab364,_0x1fcb21,_0x336892,_0x3698bf)=>{const _0x77328e=_0x14c41a;for(var _0x41d275=_0x3698bf>0x1?void 0x0:_0x3698bf?at(_0x1fcb21,_0x336892):_0x1fcb21,_0x29938e=_0x4ab364[_0x77328e(0x2a7)]-0x1,_0xb962ad;_0x29938e>=0x0;_0x29938e--)(_0xb962ad=_0x4ab364[_0x29938e])&&(_0x41d275=_0xb962ad(_0x41d275)||_0x41d275);return _0x41d275;},ie=(_0x899547,_0x23a214)=>(_0x3412f8,_0x1623cb)=>_0x23a214(_0x3412f8,_0x1623cb,_0x899547);let x=class extends a['RxDisposable']{constructor(_0x17bedd,_0x2c5b63,_0x1ab0ea){const _0x2bd901=_0x14c41a;super(),h(this,_0x2bd901(0x20d),new Map()),h(this,'_entityInit$',new d['Subject']()),(this['_univerInstanceService']=_0x17bedd,this[_0x2bd901(0x399)]=_0x2c5b63,this[_0x2bd901(0x33f)]=_0x1ab0ea,this[_0x2bd901(0x1e9)]());}[_0x14c41a(0x388)](){const _0x5d3c50=_0x14c41a;super[_0x5d3c50(0x388)](),this[_0x5d3c50(0x26f)][_0x5d3c50(0x272)](),this[_0x5d3c50(0x20d)]['forEach'](_0x1ae6fb=>_0x1ae6fb[_0x5d3c50(0x388)]());}[_0x14c41a(0x38e)](_0x21cb58){const _0x181616=_0x14c41a;return this[_0x181616(0x20d)][_0x181616(0x291)](_0x21cb58)?this['_entities'][_0x181616(0x340)](_0x21cb58)['cursorInfo$']:this['_entityInit$'][_0x181616(0x432)](d[_0x181616(0x2f8)](_0x41ef09=>_0x41ef09[_0x181616(0x26b)]===_0x21cb58),d[_0x181616(0x2e3)](_0x427ac9=>_0x427ac9[_0x181616(0x2c8)]));}[_0x14c41a(0x1e9)](){const _0xdb8f87=_0x14c41a;this[_0xdb8f87(0x42e)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0xdb8f87(0x235)])[_0xdb8f87(0x432)](d[_0xdb8f87(0x334)](this[_0xdb8f87(0x2f1)]))['subscribe'](async _0x4e9059=>{const _0xe1300e=_0xdb8f87,_0x16b9db=_0x4e9059['getUnitId'](),_0x3edf2a=await this['_startSheetCollabCursor'](_0x16b9db);this['_entityInit$'][_0xe1300e(0x1fe)](_0x3edf2a),this[_0xe1300e(0x20d)][_0xe1300e(0x1e6)](_0x16b9db,_0x3edf2a);}),this[_0xdb8f87(0x42e)]['getTypeOfUnitAdded$'](a['UniverInstanceType']['UNIVER_DOC'])[_0xdb8f87(0x432)](d[_0xdb8f87(0x334)](this[_0xdb8f87(0x2f1)]))[_0xdb8f87(0x432)](d['filter'](_0x531cb6=>!_0x531cb6[_0xdb8f87(0x436)]()[_0xdb8f87(0x467)]('__')))['subscribe'](async _0x3a2274=>{const _0x1936da=_0xdb8f87,_0x36d853=_0x3a2274[_0x1936da(0x436)](),_0x1f92d5=await this['_startDocCollabCursor'](_0x36d853);this[_0x1936da(0x26f)]['next'](_0x1f92d5),this[_0x1936da(0x20d)][_0x1936da(0x1e6)](_0x36d853,_0x1f92d5);}),d['merge'](this[_0xdb8f87(0x42e)][_0xdb8f87(0x294)](a[_0xdb8f87(0x343)][_0xdb8f87(0x330)]),this[_0xdb8f87(0x42e)][_0xdb8f87(0x294)](a['UniverInstanceType'][_0xdb8f87(0x235)]))[_0xdb8f87(0x432)](d[_0xdb8f87(0x334)](this[_0xdb8f87(0x2f1)]))['subscribe'](_0x248fd8=>{const _0xc07282=_0xdb8f87,_0x225524=_0x248fd8[_0xc07282(0x436)](),_0x573908=this[_0xc07282(0x20d)][_0xc07282(0x340)](_0x225524);_0x573908&&(_0x573908[_0xc07282(0x388)](),this[_0xc07282(0x20d)][_0xc07282(0x37c)](_0x225524));});}async[_0x14c41a(0x309)](_0x244a5c){const _0x53df6c=_0x14c41a,_0x2f892f=await this[_0x53df6c(0x33f)]['requireSession'](_0x244a5c),_0x5d6ddf=this[_0x53df6c(0x399)][_0x53df6c(0x25b)](Se,_0x244a5c,_0x2f892f);return _0x5d6ddf['init'](),_0x5d6ddf;}async[_0x14c41a(0x326)](_0x46a11e){const _0x2e44f9=_0x14c41a,_0x32a84f=await this[_0x2e44f9(0x33f)][_0x2e44f9(0x3a9)](_0x46a11e),_0x51c4d9=this[_0x2e44f9(0x399)]['createInstance'](Ie,_0x46a11e,_0x32a84f);return _0x51c4d9['init'](),_0x51c4d9;}};x=ct([ie(0x0,a[_0x14c41a(0x403)]),ie(0x1,a[_0x14c41a(0x463)](a['Injector'])),ie(0x2,a[_0x14c41a(0x463)](u[_0x14c41a(0x40b)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x2b4b41,_0x43a10c){const _0x43e9a8=_0x14c41a;let {radius:_0x484a44,width:_0xdad689,height:_0x1b3dc2}=_0x43a10c;_0x484a44=_0x484a44!=null?_0x484a44:0x0,_0xdad689=_0xdad689!=null?_0xdad689:0x1e,_0x1b3dc2=_0x1b3dc2!=null?_0x1b3dc2:0x1e;let _0xb76d28=0x0,_0x1d6139=0x0,_0x2b763f=0x0;_0xb76d28=_0x1d6139=_0x2b763f=Math[_0x43e9a8(0x45d)](_0x484a44,_0xdad689/0x2,_0x1b3dc2/0x2),_0x2b4b41[_0x43e9a8(0x407)](),_0x2b4b41['moveTo'](_0xb76d28,0x0),_0x2b4b41['lineTo'](_0xdad689-_0x1d6139,0x0),_0x2b4b41[_0x43e9a8(0x42a)](_0xdad689-_0x1d6139,_0x1d6139,_0x1d6139,Math['PI']*0x3/0x2,0x0,!0x1),_0x2b4b41[_0x43e9a8(0x1fc)](_0xdad689,_0x1b3dc2-_0x2b763f),_0x2b4b41['arc'](_0xdad689-_0x2b763f,_0x1b3dc2-_0x2b763f,_0x2b763f,0x0,Math['PI']/0x2,!0x1),_0x2b4b41[_0x43e9a8(0x1fc)](0x0,_0x1b3dc2),_0x2b4b41['lineTo'](0x0,_0xb76d28),_0x2b4b41['arc'](_0xb76d28,_0xb76d28,_0xb76d28,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2b4b41['closePath'](),_0x43a10c[_0x43e9a8(0x1f6)]&&(_0x2b4b41[_0x43e9a8(0x31c)](),_0x2b4b41[_0x43e9a8(0x443)]=_0x43a10c[_0x43e9a8(0x1f6)],_0x43a10c[_0x43e9a8(0x429)]==='evenodd'?_0x2b4b41[_0x43e9a8(0x1f6)]('evenodd'):_0x2b4b41[_0x43e9a8(0x1f6)](),_0x2b4b41[_0x43e9a8(0x446)]());}class ee extends p[_0x14c41a(0x3c4)]{constructor(_0x45c804,_0xab7b64){const _0x56a1f6=_0x14c41a;super(_0x45c804,_0xab7b64),h(this,_0x56a1f6(0x232)),h(this,'text'),(this['color']=_0xab7b64==null?void 0x0:_0xab7b64['color'],this[_0x56a1f6(0x3f6)]=_0xab7b64==null?void 0x0:_0xab7b64[_0x56a1f6(0x3f6)]);}static[_0x14c41a(0x293)](_0x1e673d,_0xb752d0){const _0x452f32=_0x14c41a,{text:_0x556e71,color:_0x31fa84}=_0xb752d0;_0x1e673d[_0x452f32(0x31c)](),_0x1e673d[_0x452f32(0x282)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5ccc39=_0x1e673d[_0x452f32(0x290)](_0x556e71)[_0x452f32(0x2f0)],_0x5ec99a=Math[_0x452f32(0x45d)](_0x5ccc39+0x2*ne,Re);_t(_0x1e673d,{'height':K,'radius':0x4,'width':_0x5ec99a,'fill':_0x31fa84}),_0x1e673d[_0x452f32(0x443)]='#FFF';const _0x241770=ne,_0x2153e2=K-lt,_0x72bf36=Re-0x2*ne;if(_0x5ccc39>_0x72bf36){let _0x474692='',_0x57f723=0x0;for(const _0x20bc67 of _0x556e71){const _0x8fe1c5=_0x1e673d['measureText'](_0x20bc67)[_0x452f32(0x2f0)];if(_0x57f723+_0x8fe1c5<=_0x72bf36-_0x1e673d[_0x452f32(0x290)](_0x452f32(0x29c))[_0x452f32(0x2f0)])_0x474692+=_0x20bc67,_0x57f723+=_0x8fe1c5;else{_0x474692+=_0x452f32(0x29c);break;}}_0x1e673d[_0x452f32(0x325)](_0x474692,_0x241770,_0x2153e2);}else _0x1e673d['fillText'](_0x556e71,_0x241770,_0x2153e2);_0x1e673d[_0x452f32(0x446)]();}['_draw'](_0x51a118){ee['drawWith'](_0x51a118,this);}}const re='collab-text-anchor-',ht=_0x14c41a(0x28d),ut=_0x14c41a(0x24d),k=0x6,dt=1.5,oe=0x4,It=1.5,St=_0x14c41a(0x3e3);class De{constructor(_0x39eb91,_0xaf168f,_0x249a72,_0x24b7d3){const _0x4a42ec=_0x14c41a;h(this,'_shapes',[]),h(this,_0x4a42ec(0x25c),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x4a42ec(0x1f2),null),h(this,_0x4a42ec(0x42b),null),(this['_cursor']=_0x39eb91,this['_scene']=_0xaf168f,this[_0x4a42ec(0x38a)]=_0x249a72,this['_document']=_0x24b7d3,this[_0x4a42ec(0x3f5)]());}set[_0x14c41a(0x25f)](_0x514b01){const _0x37bafe=_0x14c41a;_0x514b01?(this[_0x37bafe(0x3df)]&&this[_0x37bafe(0x3df)][_0x37bafe(0x3d1)](),this[_0x37bafe(0x304)]&&this[_0x37bafe(0x304)]['show']()):(this[_0x37bafe(0x3df)]&&this[_0x37bafe(0x3df)][_0x37bafe(0x25d)](),this[_0x37bafe(0x304)]&&this[_0x37bafe(0x304)][_0x37bafe(0x3d1)]());}[_0x14c41a(0x388)](){const _0x5acbd5=_0x14c41a;for(const _0x460c70 of this[_0x5acbd5(0x2df)])_0x460c70[_0x5acbd5(0x388)]();this[_0x5acbd5(0x304)]&&this[_0x5acbd5(0x304)][_0x5acbd5(0x388)](),this[_0x5acbd5(0x3df)]&&this['_anchorDot'][_0x5acbd5(0x388)](),this[_0x5acbd5(0x25c)]&&this[_0x5acbd5(0x25c)][_0x5acbd5(0x388)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x14c41a(0x3f5)](){const _0x47115d=_0x14c41a;var _0x3e7ba1;const {_docSkeleton:_0x22f85f,_document:_0x3e3a9e}=this,{color:_0x2d7f0e,name:_0x179276,ranges:_0x59dd1c}=this[_0x47115d(0x41b)],_0x536d90=_0x3e3a9e[_0x47115d(0x1ed)](),{docsLeft:_0x12d276,docsTop:_0x19670c}=_0x536d90,_0xc22b18=new E[(_0x47115d(0x456))](_0x536d90,_0x22f85f);for(const {startOffset:_0x51fd9f,endOffset:_0x2e825c,rangeType:_0x1c0ab5,segmentId:_0xf63d93,segmentPage:_0x17e819,collapsed:_0x4b6821,isActive:_0x5b956e}of _0x59dd1c){const _0x3a7e88=_0x22f85f[_0x47115d(0x391)](_0x51fd9f,!0x0,_0xf63d93,_0x17e819);let _0x417b54=_0x22f85f[_0x47115d(0x391)](_0x2e825c,!0x0,_0xf63d93,_0x17e819);if(_0x417b54==null&&(_0x417b54=_0x22f85f['findNodePositionByCharIndex'](_0x2e825c-0x1,!0x1,_0xf63d93,_0x17e819)),_0x5b956e){const {contentBoxPointGroup:_0x83dc3b}=_0xc22b18[_0x47115d(0x213)](_0x417b54,_0x417b54);if(_0x83dc3b[_0x47115d(0x2a7)]===0x0)continue;this[_0x47115d(0x3c1)](_0x2d7f0e,_0x83dc3b,_0x12d276,_0x19670c,_0x179276),this['_eventUnsubscribe']=this[_0x47115d(0x288)]();}if(_0x3a7e88&&_0x417b54){if(_0x1c0ab5===a[_0x47115d(0x397)][_0x47115d(0x39d)]){const _0x14a2b2=new E[(_0x47115d(0x415))](_0x536d90,_0x22f85f),{pointGroup:_0x4b26ed}=(_0x3e7ba1=_0x14a2b2[_0x47115d(0x213)](_0x3a7e88,_0x417b54))!=null?_0x3e7ba1:{};if(_0x4b26ed==null||_0x4b26ed[_0x47115d(0x2a7)]===0x0)continue;this[_0x47115d(0x1f9)](_0x2d7f0e,_0x4b26ed,_0x12d276,_0x19670c);}else{if(!_0x4b6821){const {borderBoxPointGroup:_0x239356}=_0xc22b18[_0x47115d(0x213)](_0x3a7e88,_0x417b54);if(_0x239356[_0x47115d(0x2a7)]===0x0)continue;this[_0x47115d(0x420)](_0x2d7f0e,_0x239356,_0x12d276,_0x19670c);}}}}}[_0x14c41a(0x3c1)](_0x489041,_0x3d5c2d,_0x3d626f,_0x28a626,_0x486264){const _0x5c14a2=_0x14c41a,_0x24b112=this[_0x5c14a2(0x306)](_0x3d5c2d),{left:_0x12061d,top:_0x53f148,height:_0x5a65e2}=_0x24b112,_0x37828b=this['_getScale'](),_0x3e1cb7=It/_0x37828b,_0x21b9c2=new p[(_0x5c14a2(0x46b))](re+a[_0x5c14a2(0x462)][_0x5c14a2(0x2cb)](k),{'left':_0x12061d+_0x3d626f-_0x3e1cb7,'top':_0x53f148+_0x28a626,'height':_0x5a65e2,'width':dt,'fill':_0x489041||p[_0x5c14a2(0x338)](a[_0x5c14a2(0x3bb)][_0x5c14a2(0x41e)],0x0),'strokeWidth':_0x3e1cb7,'stroke':St,'evented':!0x0});this[_0x5c14a2(0x25c)]=_0x21b9c2,this['_scene'][_0x5c14a2(0x341)](_0x21b9c2,E[_0x5c14a2(0x365)]);const _0x2d63c5=new p[(_0x5c14a2(0x46b))](re+a[_0x5c14a2(0x462)]['generateRandomId'](k),{'left':_0x12061d+_0x3d626f-_0x3e1cb7,'top':_0x53f148+_0x28a626-oe/0x2,'height':oe,'width':oe,'fill':_0x489041||p[_0x5c14a2(0x338)](a[_0x5c14a2(0x3bb)][_0x5c14a2(0x41e)],0x0),'strokeWidth':0x0,'stroke':_0x489041||p[_0x5c14a2(0x338)](a[_0x5c14a2(0x3bb)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x2d63c5,this[_0x5c14a2(0x2aa)][_0x5c14a2(0x341)](_0x2d63c5,E[_0x5c14a2(0x365)]);const _0x2c2021=new ee(re+a[_0x5c14a2(0x462)]['generateRandomId'](k),{'left':_0x12061d+_0x3d626f-_0x3e1cb7,'top':_0x53f148+_0x28a626-K,'text':_0x486264,'color':_0x489041});this[_0x5c14a2(0x304)]=_0x2c2021,this[_0x5c14a2(0x2aa)][_0x5c14a2(0x341)](_0x2c2021,E[_0x5c14a2(0x365)]),this['_hover']=!0x1;}['_handleHover'](){const _0x50dbb8=_0x14c41a,_0x473000=this[_0x50dbb8(0x25c)][_0x50dbb8(0x311)][_0x50dbb8(0x283)](()=>{const _0xece4d4=_0x50dbb8;this[_0xece4d4(0x25f)]=!0x0;}),_0x2d5e7d=this[_0x50dbb8(0x25c)][_0x50dbb8(0x362)][_0x50dbb8(0x283)](()=>{const _0x1497be=_0x50dbb8;this['_hideTimer']&&clearTimeout(this[_0x1497be(0x1f2)]),this[_0x1497be(0x1f2)]=setTimeout(()=>{const _0x361dd3=_0x1497be;this[_0x361dd3(0x25f)]=!0x1;},0x7d0);});return()=>{const _0x4d81a3=_0x50dbb8;_0x473000[_0x4d81a3(0x286)](),_0x2d5e7d[_0x4d81a3(0x286)]();};}[_0x14c41a(0x420)](_0x46eef8,_0x2c2bd0,_0x138af0,_0x14920c){const _0x222ace=_0x14c41a,_0x4db049=new a['ColorKit'](_0x46eef8)['setAlpha'](0.2)[_0x222ace(0x2f3)](),_0x1a2c46=new p[(_0x222ace(0x2cf))](ht+a[_0x222ace(0x462)]['generateRandomId'](k),{'pointsGroup':_0x2c2bd0,'fill':_0x4db049||p[_0x222ace(0x338)](a['COLORS'][_0x222ace(0x41e)],0.2),'left':_0x138af0,'top':_0x14920c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x222ace(0x2df)][_0x222ace(0x2ff)](_0x1a2c46),this['_scene'][_0x222ace(0x341)](_0x1a2c46,E['TEXT_RANGE_LAYER_INDEX']);}[_0x14c41a(0x1f9)](_0x265bc0,_0x3aeb67,_0x3ff089,_0x45e34f){const _0x12ca7c=_0x14c41a,_0x4724a3=new a['ColorKit'](_0x265bc0)['setAlpha'](0.2)[_0x12ca7c(0x2f3)](),_0x26a256=new p[(_0x12ca7c(0x2cf))](ut+a['Tools'][_0x12ca7c(0x2cb)](k),{'pointsGroup':_0x3aeb67,'fill':_0x4724a3||p['getColor'](a[_0x12ca7c(0x3bb)][_0x12ca7c(0x41e)],0.2),'left':_0x3ff089,'top':_0x45e34f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x12ca7c(0x2df)][_0x12ca7c(0x2ff)](_0x26a256),this[_0x12ca7c(0x2aa)][_0x12ca7c(0x341)](_0x26a256,E[_0x12ca7c(0x365)]);}[_0x14c41a(0x306)](_0x5ab465){const _0x49dcb7=_0x5ab465[0x0],_0x941843=_0x49dcb7[0x0],_0x45203f=_0x49dcb7[0x2],{x:_0x3abdbf,y:_0x3b49e2}=_0x941843,{x:_0x5ea2da,y:_0x5aff98}=_0x45203f;return{'left':_0x3abdbf,'top':_0x3b49e2,'width':_0x5ea2da-_0x3abdbf,'height':_0x5aff98-_0x3b49e2};}[_0x14c41a(0x360)](){const _0x1e1aa7=_0x14c41a,{scaleX:_0x4dd60a,scaleY:_0x25a3c4}=this[_0x1e1aa7(0x2aa)][_0x1e1aa7(0x3ba)]();return Math[_0x1e1aa7(0x44c)](_0x4dd60a,_0x25a3c4);}}var ft=Object[_0x14c41a(0x204)],vt=(_0x29735b,_0xb3a73f,_0x47410c,_0x56979b)=>{const _0x5d441b=_0x14c41a;for(var _0x25c1d7=_0x56979b>0x1?void 0x0:_0x56979b?ft(_0xb3a73f,_0x47410c):_0xb3a73f,_0x46e680=_0x29735b[_0x5d441b(0x2a7)]-0x1,_0x321894;_0x46e680>=0x0;_0x46e680--)(_0x321894=_0x29735b[_0x46e680])&&(_0x25c1d7=_0x321894(_0x25c1d7)||_0x25c1d7);return _0x25c1d7;},W=(_0x1c17fb,_0x8d4a5)=>(_0x2a66a0,_0xef36ea)=>_0x8d4a5(_0x2a66a0,_0xef36ea,_0x1c17fb);let fe=class extends a[_0x14c41a(0x3b5)]{constructor(_0x553d85,_0x196a5e,_0x572c31,_0x23ab04,_0x4deebf){const _0x1d8560=_0x14c41a;super(),h(this,_0x1d8560(0x35e),[]),h(this,'_cursors',[]),(this[_0x1d8560(0x268)]=_0x553d85,this[_0x1d8560(0x265)]=_0x196a5e,this[_0x1d8560(0x2e0)]=_0x572c31,this[_0x1d8560(0x2ad)]=_0x23ab04,this[_0x1d8560(0x31e)]=_0x4deebf,this['_init']());}[_0x14c41a(0x1e9)](){const _0x4160c1=_0x14c41a,_0x3c1b26=this[_0x4160c1(0x268)][_0x4160c1(0x380)],_0x34bd23=this['_docSkeletonManagerService'];this[_0x4160c1(0x208)](d[_0x4160c1(0x434)]([this[_0x4160c1(0x2e0)]['getCollabCursors$'](_0x3c1b26),this[_0x4160c1(0x31e)]['currentTheme$']])[_0x4160c1(0x432)]($['map'](([_0xab7d60,_0x3d13b5])=>({'skeleton':_0x34bd23['getSkeleton'](),'cursors':[..._0xab7d60[_0x4160c1(0x2e6)]()]['flatMap'](_0x23b412=>({..._0x23b412,'color':this[_0x4160c1(0x31e)]['getColorFromTheme'](_0x23b412[_0x4160c1(0x232)])}))})))['subscribe'](_0x168c8e=>{const _0x4674b2=_0x4160c1;if(this[_0x4674b2(0x38b)](),_0x168c8e){const {skeleton:_0x242af1,cursors:_0x4b2af9}=_0x168c8e;this[_0x4674b2(0x261)](_0x242af1,_0x4b2af9);}})),this[_0x4160c1(0x25a)](),this[_0x4160c1(0x450)]();}['_updateCollabCursors'](_0x395ace,_0x477bc9){const _0x4748f2=_0x14c41a,{scene:_0x29e783,mainComponent:_0x40543b}=this[_0x4748f2(0x268)],_0xe9f49b=_0x477bc9[_0x4748f2(0x321)](_0x46f753=>new De(_0x46f753,_0x29e783,_0x395ace,_0x40543b));this[_0x4748f2(0x35e)]=_0xe9f49b,this[_0x4748f2(0x30d)]=_0x477bc9;}['_refreshCollabCursors'](){const _0x1f8793=_0x14c41a;this['_removeCollabCursors']();const {scene:_0x242c04,mainComponent:_0x5350bd}=this[_0x1f8793(0x268)],_0x73323=this[_0x1f8793(0x265)][_0x1f8793(0x363)](),_0x1546ee=this[_0x1f8793(0x30d)][_0x1f8793(0x321)](_0x19430f=>new De(_0x19430f,_0x242c04,_0x73323,_0x5350bd));this[_0x1f8793(0x35e)]=_0x1546ee;}['_removeCollabCursors'](){const _0xd66acc=_0x14c41a;this['_cursorShapes'][_0xd66acc(0x2ea)](_0x202d23=>_0x202d23[_0xd66acc(0x388)]()),this['_cursorShapes']=[];}[_0x14c41a(0x450)](){const _0x4ac61f=_0x14c41a,_0x51127a=[E[_0x4ac61f(0x3d2)]['id']];this['disposeWithMe'](this[_0x4ac61f(0x2ad)]['onCommandExecuted'](_0x1927aa=>{const _0x217f5a=_0x4ac61f;_0x51127a[_0x217f5a(0x3c9)](_0x1927aa['id'])&&_0x1927aa[_0x217f5a(0x46d)][_0x217f5a(0x380)]===this[_0x217f5a(0x268)][_0x217f5a(0x380)]&&this[_0x217f5a(0x32d)]();}));}[_0x14c41a(0x25a)](){const _0x17e15c=_0x14c41a;this[_0x17e15c(0x208)](a['fromEventSubject'](this['_context'][_0x17e15c(0x3d9)][_0x17e15c(0x3aa)])[_0x17e15c(0x432)]($['filter'](_0x5ccf3a=>_0x5ccf3a[_0x17e15c(0x26a)]===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),$[_0x17e15c(0x1ff)](0x10))['subscribe'](()=>{const _0x22d372=_0x17e15c;this[_0x22d372(0x32d)]();}));}};fe=vt([W(0x1,a[_0x14c41a(0x463)](Y[_0x14c41a(0x319)])),W(0x2,a[_0x14c41a(0x463)](x)),W(0x3,a[_0x14c41a(0x302)]),W(0x4,a[_0x14c41a(0x463)](a['ThemeService']))],fe);const gt=0x1,mt=1.5;class we extends p['Shape']{constructor(_0x1f5f24,_0x27f323){const _0x1c9e64=_0x14c41a;super(_0x1f5f24,_0x27f323),h(this,_0x1c9e64(0x24c)),h(this,_0x1c9e64(0x2e2),!0x1),h(this,_0x1c9e64(0x2eb)),h(this,_0x1c9e64(0x3e5),''),h(this,_0x1c9e64(0x370),_0x1c9e64(0x364)),h(this,_0x1c9e64(0x312)),(_0x27f323&&this[_0x1c9e64(0x2b3)](_0x27f323),this[_0x1c9e64(0x311)][_0x1c9e64(0x283)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1c9e64(0x362)]['subscribeEvent'](()=>this[_0x1c9e64(0x2b3)]({'hovered':!0x1})));}[_0x14c41a(0x2b3)](_0x572c2f){const _0x1dca72=_0x14c41a;var _0x3c0d27,_0x1054a8,_0xfe1d11,_0x1bf5bb,_0xacd8d,_0x2b4084;this[_0x1dca72(0x24c)]=(_0x3c0d27=_0x572c2f['color'])!=null?_0x3c0d27:this[_0x1dca72(0x24c)],this[_0x1dca72(0x2e2)]=(_0x1054a8=_0x572c2f[_0x1dca72(0x43a)])!=null?_0x1054a8:this[_0x1dca72(0x2e2)],this['_range']=(_0xfe1d11=_0x572c2f['range'])!=null?_0xfe1d11:this[_0x1dca72(0x2eb)],this[_0x1dca72(0x3e5)]=(_0x1bf5bb=_0x572c2f[_0x1dca72(0x225)])!=null?_0x1bf5bb:this[_0x1dca72(0x3e5)],this['_labelPosition']=(_0xacd8d=_0x572c2f['labelPosition'])!=null?_0xacd8d:this[_0x1dca72(0x370)],this['_backgroundColor']=(_0x2b4084=_0x572c2f[_0x1dca72(0x3d7)])!=null?_0x2b4084:this['_backgroundColor'],this[_0x1dca72(0x246)]({'width':_0x572c2f[_0x1dca72(0x2f0)],'height':_0x572c2f[_0x1dca72(0x447)]});}[_0x14c41a(0x2d1)](_0x2698f8){const _0x251d63=_0x14c41a,{row:_0xc0016d,column:_0x205055}=_0x2698f8;if(_0xc0016d>=this[_0x251d63(0x2eb)]['startRow']&&_0xc0016d<=this[_0x251d63(0x2eb)][_0x251d63(0x206)]&&_0x205055>=this['_range'][_0x251d63(0x1f1)]&&_0x205055<=this['_range'][_0x251d63(0x384)]){this[_0x251d63(0x2b3)]({'hovered':!0x0});return;}this[_0x251d63(0x2b3)]({'hovered':!0x1});}[_0x14c41a(0x353)](_0x39ada6){return!0x1;}[_0x14c41a(0x2e8)](_0x39923b){const _0x2c924d=_0x14c41a;p[_0x2c924d(0x46b)][_0x2c924d(0x293)](_0x39923b,{'width':this[_0x2c924d(0x2f0)],'height':this[_0x2c924d(0x447)],'strokeWidth':mt,'stroke':this[_0x2c924d(0x24c)],'evented':!0x1,'fill':this[_0x2c924d(0x312)]}),this[_0x2c924d(0x2e2)]&&(_0x39923b[_0x2c924d(0x31c)](),_0x39923b[_0x2c924d(0x461)](0x1,0x0,0x0,0x1,this[_0x2c924d(0x2f0)],this['_labelPosition']===_0x2c924d(0x3f3)?0x0:-0x14),ee[_0x2c924d(0x293)](_0x39923b,{'text':this['_name'],'color':this['_color']}),_0x39923b[_0x2c924d(0x446)]());}}var Ct=Object['getOwnPropertyDescriptor'],pt=(_0x56503f,_0x125a86,_0x5a8f71,_0x58465b)=>{for(var _0x24bc4f=_0x58465b>0x1?void 0x0:_0x58465b?Ct(_0x125a86,_0x5a8f71):_0x125a86,_0x26b4ec=_0x56503f['length']-0x1,_0x565016;_0x26b4ec>=0x0;_0x26b4ec--)(_0x565016=_0x56503f[_0x26b4ec])&&(_0x24bc4f=_0x565016(_0x24bc4f)||_0x24bc4f);return _0x24bc4f;},ae=(_0x2ea8ab,_0x539142)=>(_0x279928,_0x37648f)=>_0x539142(_0x279928,_0x37648f,_0x2ea8ab);const Et=0x1389;let ve=class extends a[_0x14c41a(0x3b5)]{constructor(_0x153905,_0x547790,_0x5454b4,_0x4c5e17){const _0x3d1a14=_0x14c41a;super(),h(this,_0x3d1a14(0x30d),new Set()),h(this,_0x3d1a14(0x1df),null),(this[_0x3d1a14(0x268)]=_0x153905,this[_0x3d1a14(0x274)]=_0x547790,this[_0x3d1a14(0x2e0)]=_0x5454b4,this[_0x3d1a14(0x31e)]=_0x4c5e17,this[_0x3d1a14(0x1e9)]());}['_init'](){const _0x275035=_0x14c41a;this[_0x275035(0x274)][_0x275035(0x39e)][_0x275035(0x432)]($[_0x275035(0x334)](this[_0x275035(0x2f1)]),$[_0x275035(0x2e3)](_0x3d7d0c=>{const _0x2d0e42=_0x275035;if(_0x3d7d0c){const _0x9aa908=_0x3d7d0c[_0x2d0e42(0x3b4)];return d[_0x2d0e42(0x434)](this[_0x2d0e42(0x2e0)][_0x2d0e42(0x38e)](this[_0x2d0e42(0x268)][_0x2d0e42(0x380)]),this[_0x2d0e42(0x31e)][_0x2d0e42(0x217)])[_0x2d0e42(0x432)]($[_0x2d0e42(0x321)](([_0x2a9f8c,_0x498aab])=>{const _0x41ede6=_0x2d0e42,_0x4a9ab8=new Map();return _0x2a9f8c[_0x41ede6(0x2ea)]((_0x463059,_0x340a7c)=>{const _0x5ad903=_0x41ede6;if(_0x463059[_0x5ad903(0x33d)]===_0x9aa908){const _0x317925={..._0x463059};_0x317925[_0x5ad903(0x232)]=this[_0x5ad903(0x31e)][_0x5ad903(0x454)](_0x463059[_0x5ad903(0x232)]),_0x4a9ab8[_0x5ad903(0x1e6)](_0x340a7c,_0x317925);}}),{'skeleton':_0x3d7d0c,'cursors':_0x4a9ab8};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x275035(0x3fe)](({skeleton:_0x52369e,cursors:_0x5304be})=>{const _0x14b71e=_0x275035;this['_removeCollabCursors'](),_0x52369e&&this[_0x14b71e(0x261)](_0x52369e,_0x5304be);}),this[_0x275035(0x274)][_0x275035(0x39e)]['subscribe'](_0x428ece=>{const _0x106ecc=_0x275035;if(_0x428ece==null)return;const {skeleton:_0x4bebfd}=_0x428ece,{scene:_0x5722c0}=this[_0x106ecc(0x268)];_0x5722c0[_0x106ecc(0x215)][_0x106ecc(0x283)](a[_0x106ecc(0x233)](_0x2d539c=>{const _0x2fd938=_0x106ecc;var _0x58f6ce,_0x295818;const {offsetX:_0x9d0e95,offsetY:_0x51001f}=_0x2d539c,{x:_0x511567,y:_0x157d89}=_0x5722c0[_0x2fd938(0x3c6)](p[_0x2fd938(0x2b0)][_0x2fd938(0x3ee)]([_0x9d0e95,_0x51001f])),{scaleX:_0xeb5530,scaleY:_0x413975}=_0x5722c0[_0x2fd938(0x3ba)](),_0x355f7d=_0x5722c0[_0x2fd938(0x395)](p[_0x2fd938(0x373)][_0x2fd938(0x1f0)]),_0x54030f=_0x5722c0[_0x2fd938(0x46e)](p[_0x2fd938(0x2b0)][_0x2fd938(0x3ee)]([_0x511567,_0x157d89]),_0x355f7d),_0x38e170=_0x4bebfd[_0x2fd938(0x28a)](_0x9d0e95,_0x51001f,_0xeb5530,_0x413975,_0x54030f);((_0x58f6ce=this['_lastPointer'])==null?void 0x0:_0x58f6ce[_0x2fd938(0x23d)])===_0x38e170[_0x2fd938(0x23d)]&&((_0x295818=this['_lastPointer'])==null?void 0x0:_0x295818[_0x2fd938(0x2c9)])===_0x38e170[_0x2fd938(0x2c9)]||this[_0x2fd938(0x30d)][_0x2fd938(0x2ea)](_0x302344=>{const _0x2e43ff=_0x2fd938;_0x302344[_0x2e43ff(0x2d1)](_0x38e170);});},0x64));});}[_0x14c41a(0x261)](_0x51d999,_0x321151){const _0x4e33d7=_0x14c41a;var _0x365fbd;const _0x11a2e6=(_0x365fbd=this[_0x4e33d7(0x274)][_0x4e33d7(0x3ca)]())==null?void 0x0:_0x365fbd['skeleton'];if(!_0x11a2e6)return;const _0x3497d9=this[_0x4e33d7(0x41d)]();if(!_0x3497d9)return;this['_cursors'][_0x4e33d7(0x2ea)](_0x45c852=>{const _0x174897=_0x4e33d7;_0x45c852[_0x174897(0x30a)]();});const {scene:_0x31dbcf}=_0x3497d9,_0xdeee4c=bt(Array['from'](_0x321151[_0x4e33d7(0x2e6)]()))[_0x4e33d7(0x321)](_0x4b2617=>{const _0x150716=_0x4e33d7,{color:_0x300bcb,range:_0x3e83c3,name:_0x1ca76d,selection:_0x522a6f,sheetID:_0x2a58fe}=_0x4b2617,{startColumn:_0x1274c2,startRow:_0x3dfd10,endColumn:_0x337879,endRow:_0x41ad92}=_0x3e83c3,_0x1d10cc=X[_0x150716(0x351)](_0x3dfd10,_0x1274c2,_0x31dbcf,_0x11a2e6),_0x427eba=X[_0x150716(0x351)](_0x41ad92,_0x337879,_0x31dbcf,_0x11a2e6),{columnHeaderHeightAndMarginTop:_0x5351ae}=_0x11a2e6,{startX:_0x52f231,startY:_0x25970d}=_0x1d10cc,{endX:_0x1ca95a,endY:_0x286005}=_0x427eba,_0x277291=_0x1ca95a-_0x52f231,_0x20d00f=_0x286005-_0x25970d,_0x3407b3={'labelPosition':_0x25970d-_0x5351ae>=K?'top':_0x150716(0x3f3),'sheetID':_0x2a58fe,'range':_0x3e83c3,'color':_0x300bcb,'name':_0x1ca76d,'selection':_0x522a6f,'left':_0x52f231,'top':_0x25970d,'width':_0x277291,'height':_0x20d00f,'evented':!0x1,'zIndex':Et};return new we(_0x1ca76d,_0x3407b3);});_0x31dbcf['addObjects'](_0xdeee4c,gt),this['_cursors']=new Set(_0xdeee4c);}[_0x14c41a(0x38b)](){const _0x4c91ab=_0x14c41a;var _0x6b718;(_0x6b718=this[_0x4c91ab(0x30d)])==null||_0x6b718[_0x4c91ab(0x2ea)](_0x210ed5=>_0x210ed5[_0x4c91ab(0x388)]());}[_0x14c41a(0x41d)](){const _0x5afb60=_0x14c41a;return X[_0x5afb60(0x2c0)](this['_context'][_0x5afb60(0x35f)],this[_0x5afb60(0x268)]);}};ve=pt([ae(0x1,a[_0x14c41a(0x463)](X[_0x14c41a(0x3c0)])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x14c41a(0x463)](a[_0x14c41a(0x431)]))],ve);function bt(_0x298272){const _0x350e30=_0x14c41a,_0x53d517=new Map();return _0x298272[_0x350e30(0x2ea)](_0x8c272e=>{const _0x230375=_0x350e30;if(_0x53d517[_0x230375(0x291)](_0x8c272e[_0x230375(0x2dc)])){const _0x851d09=_0x53d517[_0x230375(0x340)](_0x8c272e['selection']);_0x851d09[_0x230375(0x225)]+=',\x20'+_0x8c272e[_0x230375(0x225)];}else _0x53d517[_0x230375(0x1e6)](_0x8c272e[_0x230375(0x2dc)],_0x8c272e);}),Array['from'](_0x53d517[_0x350e30(0x2e6)]());}var b=function(){const _0x3ede60=_0x14c41a;return b=Object[_0x3ede60(0x3b0)]||function(_0x11de72){const _0xe374f3=_0x3ede60;for(var _0x18f34b,_0x2ea79a=0x1,_0x199348=arguments[_0xe374f3(0x2a7)];_0x2ea79a<_0x199348;_0x2ea79a++){_0x18f34b=arguments[_0x2ea79a];for(var _0x343334 in _0x18f34b)Object[_0xe374f3(0x21d)][_0xe374f3(0x270)][_0xe374f3(0x202)](_0x18f34b,_0x343334)&&(_0x11de72[_0x343334]=_0x18f34b[_0x343334]);}return _0x11de72;},b['apply'](this,arguments);},Ot=function(_0x4d0c85,_0x435b56){const _0x435ed5=_0x14c41a;var _0x162422={};for(var _0x3de0b2 in _0x4d0c85)Object[_0x435ed5(0x21d)][_0x435ed5(0x270)][_0x435ed5(0x202)](_0x4d0c85,_0x3de0b2)&&_0x435b56['indexOf'](_0x3de0b2)<0x0&&(_0x162422[_0x3de0b2]=_0x4d0c85[_0x3de0b2]);if(_0x4d0c85!=null&&typeof Object[_0x435ed5(0x3a8)]==_0x435ed5(0x471)){for(var _0x5aea8a=0x0,_0x3de0b2=Object['getOwnPropertySymbols'](_0x4d0c85);_0x5aea8a<_0x3de0b2[_0x435ed5(0x2a7)];_0x5aea8a++)_0x435b56[_0x435ed5(0x418)](_0x3de0b2[_0x5aea8a])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x435ed5(0x202)](_0x4d0c85,_0x3de0b2[_0x5aea8a])&&(_0x162422[_0x3de0b2[_0x5aea8a]]=_0x4d0c85[_0x3de0b2[_0x5aea8a]]);}return _0x162422;},pe=M[_0x14c41a(0x411)](function(_0x3d063a,_0x3cd4e5){const _0x23da58=_0x14c41a;var _0x2412e9=_0x3d063a[_0x23da58(0x410)],_0x5ebe11=_0x3d063a['id'],_0x1ecf1e=_0x3d063a[_0x23da58(0x1e8)],_0x5da7bb=_0x3d063a[_0x23da58(0x2e5)],_0x1ac8f6=Ot(_0x3d063a,['icon','id',_0x23da58(0x1e8),_0x23da58(0x2e5)]),_0x278bc5=_0x23da58(0x3be)[_0x23da58(0x253)](_0x5ebe11,'\x20')['concat'](_0x1ecf1e||'')[_0x23da58(0x280)](),_0x105f0a=M['useRef']('_'[_0x23da58(0x253)](Dt()));return Ae(_0x2412e9,''[_0x23da58(0x253)](_0x5ebe11),{'defIds':_0x2412e9[_0x23da58(0x3e9)],'idSuffix':_0x105f0a[_0x23da58(0x34b)]},b({'ref':_0x3cd4e5,'className':_0x278bc5},_0x1ac8f6),_0x5da7bb);});function Ae(_0x2ca79e,_0x62ee10,_0x45d0e2,_0x30b4cf,_0x44a407){const _0x5c1add=_0x14c41a;return M[_0x5c1add(0x23e)](_0x2ca79e[_0x5c1add(0x460)],b(b({'key':_0x62ee10},Tt(_0x2ca79e,_0x45d0e2,_0x44a407)),_0x30b4cf),(Rt(_0x2ca79e,_0x45d0e2)['children']||[])[_0x5c1add(0x321)](function(_0x103b0e,_0x3dd647){const _0x43e4e3=_0x5c1add;return Ae(_0x103b0e,''[_0x43e4e3(0x253)](_0x62ee10,'-')[_0x43e4e3(0x253)](_0x2ca79e[_0x43e4e3(0x460)],'-')[_0x43e4e3(0x253)](_0x3dd647),_0x45d0e2,void 0x0,_0x44a407);}));}function Tt(_0x3b35a9,_0x13266f,_0x3750c8){const _0x34bd15=_0x14c41a;var _0x1ea314=b({},_0x3b35a9[_0x34bd15(0x222)]);_0x3750c8!=null&&_0x3750c8['colorChannel1']&&_0x1ea314[_0x34bd15(0x1f6)]===_0x34bd15(0x2a1)&&(_0x1ea314[_0x34bd15(0x1f6)]=_0x3750c8['colorChannel1']),_0x3b35a9['tag']==='mask'&&_0x1ea314['id']&&(_0x1ea314['id']=_0x1ea314['id']+_0x13266f['idSuffix']),Object[_0x34bd15(0x21f)](_0x1ea314)[_0x34bd15(0x2ea)](function(_0x1f77af){const _0xc8ccab=_0x34bd15;var _0x1beb2f=_0x1f77af[0x0],_0x26b4ce=_0x1f77af[0x1];_0x1beb2f===_0xc8ccab(0x22e)&&typeof _0x26b4ce==_0xc8ccab(0x43d)&&(_0x1ea314[_0x1beb2f]=_0x26b4ce[_0xc8ccab(0x31a)](/url\(#(.*)\)/,_0xc8ccab(0x2ab)[_0xc8ccab(0x253)](_0x13266f[_0xc8ccab(0x324)],')')));});var _0x4445af=_0x13266f[_0x34bd15(0x3e9)];return!_0x4445af||_0x4445af['length']===0x0||(_0x3b35a9[_0x34bd15(0x460)]===_0x34bd15(0x297)&&_0x1ea314['xlink:href']&&(_0x1ea314[_0x34bd15(0x298)]=_0x1ea314[_0x34bd15(0x298)]+_0x13266f[_0x34bd15(0x324)]),Object[_0x34bd15(0x21f)](_0x1ea314)[_0x34bd15(0x2ea)](function(_0x4a3bab){const _0x508611=_0x34bd15;var _0x353d25=_0x4a3bab[0x0],_0xd492c2=_0x4a3bab[0x1];typeof _0xd492c2==_0x508611(0x43d)&&(_0x1ea314[_0x353d25]=_0xd492c2[_0x508611(0x31a)](/url\(#(.*)\)/,'url(#$1'[_0x508611(0x253)](_0x13266f[_0x508611(0x324)],')')));})),_0x1ea314;}function Rt(_0x2cf801,_0x2aa5e8){const _0x4f307f=_0x14c41a;var _0x4e1c4d,_0x400962=_0x2aa5e8[_0x4f307f(0x3e9)];return!_0x400962||_0x400962[_0x4f307f(0x2a7)]===0x0?_0x2cf801:_0x2cf801[_0x4f307f(0x460)]==='defs'&&(!((_0x4e1c4d=_0x2cf801[_0x4f307f(0x289)])===null||_0x4e1c4d===void 0x0)&&_0x4e1c4d[_0x4f307f(0x2a7)])?b(b({},_0x2cf801),{'children':_0x2cf801[_0x4f307f(0x289)]['map'](function(_0x5e37f6){const _0x1e7711=_0x4f307f;return typeof _0x5e37f6['attrs']['id']==_0x1e7711(0x43d)&&_0x400962&&_0x400962[_0x1e7711(0x3c9)](_0x5e37f6[_0x1e7711(0x222)]['id'])?b(b({},_0x5e37f6),{'attrs':b(b({},_0x5e37f6[_0x1e7711(0x222)]),{'id':_0x5e37f6['attrs']['id']+_0x2aa5e8[_0x1e7711(0x324)]})}):_0x5e37f6;})}):_0x2cf801;}function _0x4f22(_0xec5022,_0x4d4a9c){const _0xbc373c=_0xbc37();return _0x4f22=function(_0x4f226d,_0x16d6a4){_0x4f226d=_0x4f226d-0x1df;let _0x48ded7=_0xbc373c[_0x4f226d];return _0x48ded7;},_0x4f22(_0xec5022,_0x4d4a9c);}function Dt(){const _0x5eaf36=_0x14c41a;return Math[_0x5eaf36(0x424)]()[_0x5eaf36(0x228)](0x24)[_0x5eaf36(0x1ec)](0x2,0x8);}pe['displayName']=_0x14c41a(0x1e5);var Ut={'tag':_0x14c41a(0x3fc),'attrs':{'xmlns':_0x14c41a(0x239),'fill':_0x14c41a(0x23f),'viewBox':_0x14c41a(0x3bc),'width':_0x14c41a(0x2b6),'height':_0x14c41a(0x2b6)},'children':[{'tag':'g','attrs':{'clipPath':_0x14c41a(0x250)},'children':[{'tag':'path','attrs':{'stroke':_0x14c41a(0x1fb),'d':_0x14c41a(0x435),'strokeLinecap':_0x14c41a(0x209),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x14c41a(0x2d4),'attrs':{},'children':[{'tag':_0x14c41a(0x2bb),'attrs':{'id':_0x14c41a(0x40d)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x14c41a(0x342)}}]}]}],'defIds':[_0x14c41a(0x40d)]},ye=M[_0x14c41a(0x411)](function(_0x3fdbdb,_0x3686aa){const _0x14e9da=_0x14c41a;return M[_0x14e9da(0x23e)](pe,Object[_0x14e9da(0x3b0)]({},_0x3fdbdb,{'id':'off-line-icon','ref':_0x3686aa,'icon':Ut}));});ye['displayName']=_0x14c41a(0x2d2);var Nt={'tag':_0x14c41a(0x3fc),'attrs':{'xmlns':_0x14c41a(0x239),'fill':'none','viewBox':_0x14c41a(0x317),'width':_0x14c41a(0x2b6),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x14c41a(0x2e7)},'children':[{'tag':'path','attrs':{'stroke':_0x14c41a(0x1fb),'d':_0x14c41a(0x465),'strokeLinecap':_0x14c41a(0x209),'strokeLinejoin':_0x14c41a(0x209),'strokeWidth':1.2}}]},{'tag':_0x14c41a(0x2d4),'attrs':{},'children':[{'tag':_0x14c41a(0x2bb),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x14c41a(0x398),'attrs':{'fill':_0x14c41a(0x26c),'d':'M0\x200H16V16H0z','transform':_0x14c41a(0x433)}}]}]}],'defIds':[_0x14c41a(0x257)]},$e=M[_0x14c41a(0x411)](function(_0x4bebb2,_0x125b04){const _0xe1a665=_0x14c41a;return M[_0xe1a665(0x23e)](pe,Object[_0xe1a665(0x3b0)]({},_0x4bebb2,{'id':_0xe1a665(0x24e),'ref':_0x125b04,'icon':Nt}));});$e['displayName']='OnLineIcon';function Mt(_0x4d0dd7){const _0x1a2a25=_0x14c41a;switch(_0x4d0dd7){case u[_0x1a2a25(0x216)][_0x1a2a25(0x318)]:return _0x1a2a25(0x419);case u[_0x1a2a25(0x216)][_0x1a2a25(0x335)]:return _0x1a2a25(0x42f);case u[_0x1a2a25(0x216)][_0x1a2a25(0x2b4)]:return'collabStatus.fetchMiss';case u[_0x1a2a25(0x216)][_0x1a2a25(0x2e1)]:return _0x1a2a25(0x459);case u['CollaborationStatus'][_0x1a2a25(0x41a)]:case u[_0x1a2a25(0x216)][_0x1a2a25(0x3de)]:return _0x1a2a25(0x3ef);case u[_0x1a2a25(0x216)][_0x1a2a25(0x29e)]:case u[_0x1a2a25(0x216)][_0x1a2a25(0x27c)]:return _0x1a2a25(0x45c);}}function xe(_0x27b02a){const _0x14e81b=_0x14c41a,{status$:_0x3a2242}=_0x27b02a,_0x55e218=O[_0x14e81b(0x345)](_0x3a2242,u[_0x14e81b(0x216)][_0x14e81b(0x2e1)]),_0x345ad6=O[_0x14e81b(0x40f)](a[_0x14e81b(0x3e2)]),_0x235e5f=O['useDependency'](u[_0x14e81b(0x40b)]),_0x1fb98f=_0x55e218!==u[_0x14e81b(0x216)][_0x14e81b(0x318)],_0x2a51c1=_0x345ad6['t'](Mt(_0x55e218)),_0x326a28=_0x1fb98f?P[_0x14e81b(0x1ea)]($e,{}):P['jsx'](ye,{}),_0x5f5a48=M[_0x14e81b(0x33c)](()=>{_0x1fb98f||_0x235e5f['reconnect']();},[_0x1fb98f,_0x235e5f]);function _0x159c06(){const _0x25cabe=_0x14e81b;return P[_0x25cabe(0x276)](_0x25cabe(0x278),{'className':_0x25cabe(0x20f),'onClick':_0x5f5a48,'children':[P['jsx'](_0x25cabe(0x278),{'className':D[_0x25cabe(0x20c)](_0x25cabe(0x3a1),{'univer-text-green-500':_0x1fb98f,'univer-text-red-500':!_0x1fb98f}),'children':_0x326a28}),P[_0x25cabe(0x1ea)](_0x25cabe(0x278),{'className':_0x25cabe(0x29a),'children':_0x2a51c1})]});}return _0x1fb98f?_0x159c06():P[_0x14e81b(0x1ea)](D['Tooltip'],{'title':_0x345ad6['t'](_0x14e81b(0x296)),'children':_0x159c06()});}var Lt=Object[_0x14c41a(0x204)],Pt=(_0x48f786,_0x1ea099,_0x394fbb,_0x2b5e31)=>{const _0x3dc0f3=_0x14c41a;for(var _0x5f38cc=_0x2b5e31>0x1?void 0x0:_0x2b5e31?Lt(_0x1ea099,_0x394fbb):_0x1ea099,_0x59a2a2=_0x48f786[_0x3dc0f3(0x2a7)]-0x1,_0x11e5ee;_0x59a2a2>=0x0;_0x59a2a2--)(_0x11e5ee=_0x48f786[_0x59a2a2])&&(_0x5f38cc=_0x11e5ee(_0x5f38cc)||_0x5f38cc);return _0x5f38cc;},V=(_0x4d36a0,_0x59c9bc)=>(_0xfb1511,_0x3c7d5d)=>_0x59c9bc(_0xfb1511,_0x3c7d5d,_0x4d36a0);exports[_0x14c41a(0x33e)]=class extends a[_0x14c41a(0x3ce)]{constructor(_0x559c0d,_0x4aa1ae,_0x54de91,_0x387354){const _0x1d867a=_0x14c41a;super(),h(this,_0x1d867a(0x303),new d[(_0x1d867a(0x425))](u[_0x1d867a(0x216)][_0x1d867a(0x2e1)])),(this['_univerInstanceService']=_0x559c0d,this[_0x1d867a(0x399)]=_0x4aa1ae,this[_0x1d867a(0x224)]=_0x54de91,this[_0x1d867a(0x219)]=_0x387354,this['_initStatusComponent'](),this[_0x1d867a(0x2ae)]());}['_initStatusListener'](){const _0x20177a=_0x14c41a;this[_0x20177a(0x208)](this[_0x20177a(0x42e)]['focused$'][_0x20177a(0x432)](d['switchMap'](()=>{const _0xf8eeb8=_0x20177a,_0xf97068=this['_univerInstanceService'][_0xf8eeb8(0x3f7)]();return _0xf97068?this[_0xf8eeb8(0x224)][_0xf8eeb8(0x43c)](_0xf97068[_0xf8eeb8(0x436)]()):d['of'](null);}),d[_0x20177a(0x2e3)](_0xa69136=>_0xa69136?_0xa69136[_0x20177a(0x32c)]:d['of'](u['CollaborationStatus']['NOT_COLLAB'])))[_0x20177a(0x3fe)](_0x48fe55=>{const _0x192227=_0x20177a;this[_0x192227(0x303)][_0x192227(0x1fe)](_0x48fe55);}));}[_0x14c41a(0x3e7)](){const _0x3c5bfe=_0x14c41a;this[_0x3c5bfe(0x208)](this[_0x3c5bfe(0x219)][_0x3c5bfe(0x3cc)](O[_0x3c5bfe(0x295)][_0x3c5bfe(0x236)],()=>O['connectInjector'](wt({'status$':this[_0x3c5bfe(0x303)]['asObservable']()}),this[_0x3c5bfe(0x399)])));}},exports[_0x14c41a(0x33e)]=Pt([V(0x0,a[_0x14c41a(0x403)]),V(0x1,a[_0x14c41a(0x463)](a[_0x14c41a(0x2bd)])),V(0x2,a[_0x14c41a(0x463)](u[_0x14c41a(0x244)])),V(0x3,O[_0x14c41a(0x379)])],exports['DesktopCollaborationStatusDisplayController']);function wt(_0x5e0f36){const {status$:_0x6f2965}=_0x5e0f36;return function(){const _0x539342=_0x4f22;return P[_0x539342(0x1ea)](xe,{'status$':_0x6f2965});};}var At=Object['getOwnPropertyDescriptor'],yt=(_0x5f20b3,_0x1cd685,_0x41aefe,_0x20c9d2)=>{const _0x1727b9=_0x14c41a;for(var _0x189c49=_0x20c9d2>0x1?void 0x0:_0x20c9d2?At(_0x1cd685,_0x41aefe):_0x1cd685,_0x153ed9=_0x5f20b3[_0x1727b9(0x2a7)]-0x1,_0x24270f;_0x153ed9>=0x0;_0x153ed9--)(_0x24270f=_0x5f20b3[_0x153ed9])&&(_0x189c49=_0x24270f(_0x189c49)||_0x189c49);return _0x189c49;},y=(_0x21fd5c,_0xd62fae)=>(_0x41a25d,_0x4b7bbd)=>_0xd62fae(_0x41a25d,_0x4b7bbd,_0x21fd5c);let q=class extends a[_0x14c41a(0x3ce)]{constructor(_0x325585,_0x532e61,_0x25f3eb,_0x51a4a6,_0x2c5d65,_0x50fed9){const _0x405416=_0x14c41a;super(),this['_beforeCloseService']=_0x325585,this[_0x405416(0x37a)]=_0x532e61,this[_0x405416(0x42d)]=_0x25f3eb,this[_0x405416(0x227)]=_0x51a4a6,this[_0x405416(0x3f8)]=_0x2c5d65,this[_0x405416(0x42c)]=_0x50fed9,this[_0x405416(0x2fa)](),this[_0x405416(0x20a)]();}[_0x14c41a(0x2fa)](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x5c626c=_0x4f22;if(this[_0x5c626c(0x37a)][_0x5c626c(0x38d)][_0x5c626c(0x2b1)])return this[_0x5c626c(0x42c)]['t'](_0x5c626c(0x3c7));}));}['_initEvent'](){const _0x24fa0f=_0x14c41a;this[_0x24fa0f(0x208)](this[_0x24fa0f(0x42d)][_0x24fa0f(0x37f)][_0x24fa0f(0x3fe)](_0x2c5d4a=>{const _0x58c9e7=_0x24fa0f;_0x2c5d4a['id']===u[_0x58c9e7(0x375)][_0x58c9e7(0x25e)]&&this[_0x58c9e7(0x227)][_0x58c9e7(0x25d)]({'type':D['MessageType'][_0x58c9e7(0x22b)],'content':this['_localeService']['t'](_0x58c9e7(0x428))}),_0x2c5d4a['id']===u[_0x58c9e7(0x375)]['CLOSE_ROOM']&&this[_0x58c9e7(0x227)][_0x58c9e7(0x25d)]({'type':D[_0x58c9e7(0x3ac)][_0x58c9e7(0x22b)],'content':this[_0x58c9e7(0x42c)]['t'](_0x58c9e7(0x27d))}),_0x2c5d4a['id']===u[_0x58c9e7(0x375)]['PERMISSION_DENIED']&&this['_notificationService'][_0x58c9e7(0x25d)]({'title':this[_0x58c9e7(0x42c)]['t'](_0x58c9e7(0x440)),'content':this['_localeService']['t'](_0x58c9e7(0x468)),'type':_0x58c9e7(0x23a),'duration':0x0}),_0x2c5d4a['id']===u[_0x58c9e7(0x375)]['CONFLICT']&&this['_messageService']['show']({'type':D[_0x58c9e7(0x3ac)][_0x58c9e7(0x2de)],'content':this['_localeService']['t'](_0x58c9e7(0x27d))+'('+_0x2c5d4a['data']+')'}),_0x2c5d4a['id']===u[_0x58c9e7(0x375)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x58c9e7(0x25d)]({'type':D['MessageType']['Warning'],'content':this[_0x58c9e7(0x42c)]['t'](_0x2c5d4a['data']||'')}),_0x2c5d4a['id']===u['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x58c9e7(0x227)][_0x58c9e7(0x25d)]({'type':D[_0x58c9e7(0x3ac)][_0x58c9e7(0x22b)],'content':this['_localeService']['t'](_0x58c9e7(0x367))}),_0x2c5d4a['id']===u[_0x58c9e7(0x375)][_0x58c9e7(0x262)]&&this[_0x58c9e7(0x227)][_0x58c9e7(0x25d)]({'type':D[_0x58c9e7(0x3ac)][_0x58c9e7(0x2de)],'content':this[_0x58c9e7(0x42c)]['t'](_0x58c9e7(0x3fd))}),_0x2c5d4a['id']===u[_0x58c9e7(0x375)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x58c9e7(0x227)][_0x58c9e7(0x25d)]({'type':D[_0x58c9e7(0x3ac)][_0x58c9e7(0x2de)],'content':this[_0x58c9e7(0x42c)]['t'](_0x58c9e7(0x358))});}));}};q=yt([y(0x0,O[_0x14c41a(0x3cf)]),y(0x1,u[_0x14c41a(0x327)]),y(0x2,a[_0x14c41a(0x463)](u[_0x14c41a(0x413)])),y(0x3,O['IMessageService']),y(0x4,O[_0x14c41a(0x2db)]),y(0x5,a[_0x14c41a(0x463)](a[_0x14c41a(0x3e2)]))],q);const $t=_0x14c41a(0x2e4),Ue={},Ee=a['createIdentifier']('uni.network.url-service');var xt=Object[_0x14c41a(0x204)],Bt=(_0x3de56a,_0x7d570b,_0x13e964,_0x245c42)=>{for(var _0x30cf7c=_0x245c42>0x1?void 0x0:_0x245c42?xt(_0x7d570b,_0x13e964):_0x7d570b,_0xf3b19a=_0x3de56a['length']-0x1,_0x50ef5d;_0xf3b19a>=0x0;_0xf3b19a--)(_0x50ef5d=_0x3de56a[_0xf3b19a])&&(_0x30cf7c=_0x50ef5d(_0x30cf7c)||_0x30cf7c);return _0x30cf7c;},F=(_0x2f65a0,_0x588658)=>(_0xf575c,_0x7c5e54)=>_0x588658(_0xf575c,_0x7c5e54,_0x2f65a0);exports[_0x14c41a(0x2bc)]=class extends a[_0x14c41a(0x3b5)]{constructor(_0xbaa9ba,_0x45d961,_0x237400,_0x53a438,_0x22f546){const _0x5cd43e=_0x14c41a;super(),this[_0x5cd43e(0x2a4)]=_0xbaa9ba,this['_logService']=_0x45d961,this[_0x5cd43e(0x2ad)]=_0x237400,this[_0x5cd43e(0x29d)]=_0x53a438,_0x22f546?_0x22f546==null||_0x22f546[_0x5cd43e(0x1eb)]()[_0x5cd43e(0x2ef)](()=>this[_0x5cd43e(0x1e9)]()):(this[_0x5cd43e(0x37e)]['debug'](_0x5cd43e(0x1e4),_0x5cd43e(0x3e6)),this[_0x5cd43e(0x1e9)]());}async[_0x14c41a(0x1e9)](){const _0x49e80a=_0x14c41a,_0x27b21f=this[_0x49e80a(0x2a4)][_0x49e80a(0x238)](_0x49e80a(0x35f)),_0x153eba=this[_0x49e80a(0x2a4)]['getParam'](_0x49e80a(0x26a)),_0x3091b3=this[_0x49e80a(0x2a4)]['getParam']('subunit');if(!_0x27b21f||!_0x153eba){this['_logService'][_0x49e80a(0x28f)]('[CollaborationDataLoaderController]',_0x49e80a(0x223));return;}const _0x22be94=await this[_0x49e80a(0x29d)][_0x49e80a(0x3cd)](_0x27b21f,Number(_0x153eba),_0x3091b3);_0x22be94&&_0x22be94 instanceof a['Workbook']&&this[_0x49e80a(0x2a0)](_0x22be94);}async[_0x14c41a(0x2a0)](_0x1b2437){const _0x86a938=_0x14c41a;await this[_0x86a938(0x2ba)](_0x1b2437),_0x1b2437[_0x86a938(0x2d7)][_0x86a938(0x432)](d[_0x86a938(0x334)](this[_0x86a938(0x2f1)]))['subscribe'](_0x4c119e=>{_0x4c119e&&this['_updateURLWithCurrentState'](_0x4c119e);}),this[_0x86a938(0x2a4)][_0x86a938(0x34a)][_0x86a938(0x432)](d[_0x86a938(0x334)](this[_0x86a938(0x2f1)]))[_0x86a938(0x3fe)](()=>this[_0x86a938(0x2ba)](_0x1b2437));}[_0x14c41a(0x392)](_0x3873a7,_0x589bbc=!0x1){const _0x3247d5=_0x14c41a,_0x2a0678=this[_0x3247d5(0x2a4)][_0x3247d5(0x238)](_0x3247d5(0x307));_0x3873a7[_0x3247d5(0x3b9)]()!==_0x2a0678&&this[_0x3247d5(0x2a4)]['setParam']('subunit',_0x3873a7[_0x3247d5(0x3b9)](),_0x589bbc);}async['_updateSubUnitFromURLParams'](_0x228eeb){const _0x2d4420=_0x14c41a;var _0x44cf69;const _0x155e52=this[_0x2d4420(0x2a4)]['getParam']('subunit');if(!_0x155e52||!_0x228eeb[_0x2d4420(0x279)](_0x155e52)){const _0xacdcf6=_0x228eeb['getUnhiddenWorksheets']()[0x0],_0x971111=_0x228eeb[_0x2d4420(0x279)](_0xacdcf6);if(!_0x971111)return;this[_0x2d4420(0x392)](_0x971111,!0x0),await this['_commandService'][_0x2d4420(0x234)](g[_0x2d4420(0x381)]['id'],{'unitId':_0x228eeb[_0x2d4420(0x436)](),'subUnitId':_0xacdcf6});return;}((_0x44cf69=_0x228eeb['getActiveSheet']())==null?void 0x0:_0x44cf69[_0x2d4420(0x3b9)]())!==_0x155e52&&await this[_0x2d4420(0x2ad)][_0x2d4420(0x234)](g[_0x2d4420(0x381)]['id'],{'unitId':_0x228eeb[_0x2d4420(0x436)](),'subUnitId':_0x155e52});}},exports[_0x14c41a(0x2bc)]=Bt([F(0x0,Ee),F(0x1,a['ILogService']),F(0x2,a[_0x14c41a(0x302)]),F(0x3,a[_0x14c41a(0x463)](u[_0x14c41a(0x329)])),F(0x4,a[_0x14c41a(0x258)](Ke[_0x14c41a(0x35a)]))],exports[_0x14c41a(0x2bc)]);var jt=Object['getOwnPropertyDescriptor'],kt=(_0x9a55d2,_0x50bef5,_0x2564ec,_0x215fb7)=>{const _0x583f29=_0x14c41a;for(var _0x511931=_0x215fb7>0x1?void 0x0:_0x215fb7?jt(_0x50bef5,_0x2564ec):_0x50bef5,_0x2f5802=_0x9a55d2[_0x583f29(0x2a7)]-0x1,_0x237e09;_0x2f5802>=0x0;_0x2f5802--)(_0x237e09=_0x9a55d2[_0x2f5802])&&(_0x511931=_0x237e09(_0x511931)||_0x511931);return _0x511931;},ce=(_0x3d319e,_0x155188)=>(_0xda64b0,_0x435323)=>_0x155188(_0xda64b0,_0x435323,_0x3d319e);let z=class{constructor(_0x307056,_0x4df8ac,_0x42c705){const _0x4d5485=_0x14c41a;this[_0x4d5485(0x399)]=_0x307056,this[_0x4d5485(0x426)]=_0x4df8ac,this[_0x4d5485(0x24a)]=_0x42c705;}[_0x14c41a(0x383)](_0x4d3423){const _0x70dabd=_0x14c41a;this[_0x70dabd(0x3c5)](_0x4d3423),this[_0x70dabd(0x3f0)](_0x4d3423);}[_0x14c41a(0x2ec)](_0x3b2269){const _0x28bb71=_0x14c41a,{unitID:_0x816452}=_0x3b2269,_0x4d36a6=this['_renderManagerService'][_0x28bb71(0x449)](_0x816452)[_0x28bb71(0x3e4)](E[_0x28bb71(0x2c2)]),{redoCache:_0x32ac2c}=_0x4d36a6[_0x28bb71(0x2b2)]();if(_0x32ac2c[_0x28bb71(0x2a7)]===0x0)return _0x3b2269;let _0x15042b=a['Tools'][_0x28bb71(0x328)](_0x3b2269[_0x28bb71(0x281)][0x0]);for(let _0xb43352=0x0;_0xb43352<_0x32ac2c[_0x28bb71(0x2a7)];_0xb43352++){const _0x93dcca={'id':_0x28bb71(0x40a),'params':{..._0x32ac2c[_0xb43352]}},_0xd937d9=this[_0x28bb71(0x426)][_0x28bb71(0x26d)](_0x15042b,_0x93dcca,!0x1);if(m[_0x28bb71(0x46f)](_0xd937d9))throw _0xd937d9['error'];_0x15042b=_0xd937d9[_0x28bb71(0x2fc)];}return{...a[_0x28bb71(0x462)]['deepClone'](_0x3b2269),'mutations':[_0x15042b]};}[_0x14c41a(0x3c5)](_0x430eda){const _0x2acfb5=_0x14c41a,{unitID:_0x13abef}=_0x430eda,_0x57b56d=this[_0x2acfb5(0x24a)][_0x2acfb5(0x449)](_0x13abef)[_0x2acfb5(0x3e4)](E[_0x2acfb5(0x2c2)]),{undoCache:_0x408747,redoCache:_0x3cf820}=_0x57b56d[_0x2acfb5(0x2b2)]();if(_0x408747[_0x2acfb5(0x2a7)]===0x0||_0x3cf820['length']===0x0)return;const _0x419c0c=[],_0x1d9c3d=[];let _0xd16591=a[_0x2acfb5(0x462)][_0x2acfb5(0x328)](_0x430eda['mutations'][0x0]),_0x20d39c=a[_0x2acfb5(0x462)]['deepClone'](_0x430eda['mutations'][0x0]);for(let _0x5c3f7c=_0x408747[_0x2acfb5(0x2a7)]-0x1;_0x5c3f7c>=0x0;_0x5c3f7c--){const _0x54a24c={'id':'doc.mutation.rich-text-editing','params':{..._0x408747[_0x5c3f7c]}},_0x53b258={'id':_0x2acfb5(0x40a),'params':{..._0x3cf820[_0x5c3f7c]}},_0x1a40f2=this[_0x2acfb5(0x426)]['transformMutation'](_0xd16591,_0x54a24c,!0x1),_0x3d602d=this[_0x2acfb5(0x426)][_0x2acfb5(0x26d)](_0x20d39c,_0x53b258,!0x1);if(m[_0x2acfb5(0x46f)](_0x1a40f2))throw _0x1a40f2[_0x2acfb5(0x23a)];if(m[_0x2acfb5(0x46f)](_0x3d602d))throw _0x3d602d['error'];_0x419c0c[_0x2acfb5(0x3ea)](_0x1a40f2[_0x2acfb5(0x2cc)]['params']),_0x1d9c3d[_0x2acfb5(0x3ea)](_0x3d602d[_0x2acfb5(0x2cc)][_0x2acfb5(0x46d)]),_0xd16591=_0x1a40f2['m1Prime'],_0x20d39c=_0x3d602d['m1Prime'];}_0x57b56d['setUndoRedoMutationParamsCache']({'undoCache':_0x419c0c,'redoCache':_0x1d9c3d});}['_transformPreviousActiveRange'](_0x3b9c0a){const _0x30dd40=_0x14c41a,{unitID:_0x232af3}=_0x3b9c0a,_0x385c98=this[_0x30dd40(0x24a)][_0x30dd40(0x449)](_0x232af3)[_0x30dd40(0x3e4)](E[_0x30dd40(0x2c2)]),_0x13c448=_0x385c98['getActiveRange']();if(_0x13c448==null)return;const _0x56778f=[{'id':_0x30dd40(0x40a),'params':{'unitId':_0x3b9c0a[_0x30dd40(0x26b)],'actions':null,'textRanges':[_0x13c448]}}],_0x3e2c8b=this[_0x30dd40(0x426)][_0x30dd40(0x423)](_0x3b9c0a,_0x56778f);if(!m[_0x30dd40(0x3b6)](_0x3e2c8b))throw _0x3e2c8b[_0x30dd40(0x23a)];const _0x57d53f=_0x3e2c8b[_0x30dd40(0x2cc)][0x0][_0x30dd40(0x46d)][_0x30dd40(0x34f)];Array[_0x30dd40(0x336)](_0x57d53f)&&_0x57d53f['length']&&_0x385c98['setActiveRange'](_0x57d53f[0x0]);}};z=kt([ce(0x0,a[_0x14c41a(0x463)](a[_0x14c41a(0x2bd)])),ce(0x1,m['ITransformService']),ce(0x2,p['IRenderManagerService'])],z);var Ft=Object[_0x14c41a(0x204)],Ht=(_0xddf2ea,_0xa87f4c,_0x5e8f5a,_0x4e99e7)=>{const _0x204997=_0x14c41a;for(var _0x451b76=_0x4e99e7>0x1?void 0x0:_0x4e99e7?Ft(_0xa87f4c,_0x5e8f5a):_0xa87f4c,_0x44f4e0=_0xddf2ea[_0x204997(0x2a7)]-0x1,_0x302fb3;_0x44f4e0>=0x0;_0x44f4e0--)(_0x302fb3=_0xddf2ea[_0x44f4e0])&&(_0x451b76=_0x302fb3(_0x451b76)||_0x451b76);return _0x451b76;},le=(_0x536807,_0x2beb76)=>(_0x4d5584,_0x4902ca)=>_0x2beb76(_0x4d5584,_0x4902ca,_0x536807);let J=class{constructor(_0x572846,_0x5de175,_0x58c32d){const _0x1594a4=_0x14c41a;this[_0x1594a4(0x399)]=_0x572846,this[_0x1594a4(0x426)]=_0x5de175,this[_0x1594a4(0x2fe)]=_0x58c32d;}[_0x14c41a(0x256)](_0x166b78){const _0x322574=_0x14c41a;this[_0x322574(0x1ee)](_0x166b78);}[_0x14c41a(0x2ec)](_0x5c8c62){const _0x7d02c7=_0x14c41a,{unitID:_0x1b876b}=_0x5c8c62,{collaboration:_0x5aa1f7}=this['_docStateChangeManagerService']['getStateCache'](_0x1b876b);if(_0x5aa1f7[_0x7d02c7(0x2a7)]===0x0)return _0x5c8c62;let _0x168f63=a[_0x7d02c7(0x462)][_0x7d02c7(0x328)](_0x5c8c62[_0x7d02c7(0x281)][0x0]);for(let _0x120d48=0x0;_0x120d48<_0x5aa1f7[_0x7d02c7(0x2a7)];_0x120d48++){const _0x93e666={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5aa1f7[_0x120d48][_0x7d02c7(0x380)],..._0x5aa1f7[_0x120d48][_0x7d02c7(0x3ed)]}},_0x215c87=this[_0x7d02c7(0x426)][_0x7d02c7(0x26d)](_0x168f63,_0x93e666,!0x1);if(m[_0x7d02c7(0x46f)](_0x215c87))throw _0x215c87[_0x7d02c7(0x23a)];_0x168f63=_0x215c87[_0x7d02c7(0x2fc)];}return{...a[_0x7d02c7(0x462)][_0x7d02c7(0x328)](_0x5c8c62),'mutations':[_0x168f63]};}[_0x14c41a(0x1ee)](_0x2d8693){const _0x3a849f=_0x14c41a,{unitID:_0x46f733}=_0x2d8693,{history:_0x30947d,collaboration:_0x5548e9}=this[_0x3a849f(0x2fe)][_0x3a849f(0x34c)](_0x46f733);if(_0x30947d[_0x3a849f(0x2a7)]===0x0&&_0x5548e9['length']===0x0)return;const _0x28798a=[],_0x3c919e=[];let _0x16b740=a[_0x3a849f(0x462)]['deepClone'](_0x2d8693[_0x3a849f(0x281)][0x0]),_0x2c0558=a[_0x3a849f(0x462)][_0x3a849f(0x328)](_0x2d8693['mutations'][0x0]);for(let _0x5f193a=_0x30947d[_0x3a849f(0x2a7)]-0x1;_0x5f193a>=0x0;_0x5f193a--){const _0x7b8560={'id':_0x3a849f(0x40a),'params':{'unitId':_0x30947d[_0x5f193a][_0x3a849f(0x380)],..._0x30947d[_0x5f193a][_0x3a849f(0x38f)]}},_0x47f820={'id':_0x3a849f(0x40a),'params':{'unitId':_0x30947d[_0x5f193a][_0x3a849f(0x380)],..._0x30947d[_0x5f193a][_0x3a849f(0x3ed)]}},_0x5f949c=this[_0x3a849f(0x426)]['transformMutation'](_0x16b740,_0x7b8560,!0x1),_0x516c5d=this[_0x3a849f(0x426)][_0x3a849f(0x26d)](_0x2c0558,_0x47f820,!0x1);if(m[_0x3a849f(0x46f)](_0x5f949c))throw _0x5f949c[_0x3a849f(0x23a)];if(m['isTransformMutationFailure'](_0x516c5d))throw _0x516c5d[_0x3a849f(0x23a)];_0x28798a[_0x3a849f(0x3ea)]({..._0x30947d[_0x5f193a],'undoState':_0x5f949c['m2Prime'][_0x3a849f(0x46d)],'redoState':_0x516c5d[_0x3a849f(0x2cc)][_0x3a849f(0x46d)]}),_0x16b740=_0x5f949c[_0x3a849f(0x2fc)],_0x2c0558=_0x516c5d[_0x3a849f(0x2fc)];}_0x16b740=a['Tools']['deepClone'](_0x2d8693[_0x3a849f(0x281)][0x0]),_0x2c0558=a['Tools'][_0x3a849f(0x328)](_0x2d8693[_0x3a849f(0x281)][0x0]);for(let _0x391a5f=_0x5548e9[_0x3a849f(0x2a7)]-0x1;_0x391a5f>=0x0;_0x391a5f--){const _0x579b67={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5548e9[_0x391a5f][_0x3a849f(0x380)],..._0x5548e9[_0x391a5f]['undoState']}},_0x3bdbe6={'id':_0x3a849f(0x40a),'params':{'unitId':_0x5548e9[_0x391a5f]['unitId'],..._0x5548e9[_0x391a5f]['redoState']}},_0x41afc2=this[_0x3a849f(0x426)]['transformMutation'](_0x16b740,_0x579b67,!0x1),_0x1a410a=this[_0x3a849f(0x426)]['transformMutation'](_0x2c0558,_0x3bdbe6,!0x1);if(m[_0x3a849f(0x46f)](_0x41afc2))throw _0x41afc2[_0x3a849f(0x23a)];if(m['isTransformMutationFailure'](_0x1a410a))throw _0x1a410a['error'];_0x3c919e[_0x3a849f(0x3ea)]({..._0x5548e9[_0x391a5f],'undoState':_0x41afc2[_0x3a849f(0x2cc)][_0x3a849f(0x46d)],'redoState':_0x1a410a[_0x3a849f(0x2cc)][_0x3a849f(0x46d)]}),_0x16b740=_0x41afc2[_0x3a849f(0x2fc)],_0x2c0558=_0x1a410a['m1Prime'];}this[_0x3a849f(0x2fe)][_0x3a849f(0x3dc)](_0x46f733,{'history':_0x28798a,'collaboration':_0x3c919e});}};J=Ht([le(0x0,a['Inject'](a[_0x14c41a(0x2bd)])),le(0x1,m[_0x14c41a(0x27e)]),le(0x2,a[_0x14c41a(0x463)](E[_0x14c41a(0x378)]))],J);var Yt=Object[_0x14c41a(0x204)],Wt=(_0x2572dd,_0x411ba5,_0x1d3cd0,_0x4f8860)=>{const _0x13581c=_0x14c41a;for(var _0x336598=_0x4f8860>0x1?void 0x0:_0x4f8860?Yt(_0x411ba5,_0x1d3cd0):_0x411ba5,_0x208130=_0x2572dd[_0x13581c(0x2a7)]-0x1,_0x3788bd;_0x208130>=0x0;_0x208130--)(_0x3788bd=_0x2572dd[_0x208130])&&(_0x336598=_0x3788bd(_0x336598)||_0x336598);return _0x336598;},Ne=(_0x369835,_0x291319)=>(_0xc2363,_0x22e62f)=>_0x291319(_0xc2363,_0x22e62f,_0x369835);let Z=class{constructor(_0x4ff033,_0x229842){const _0x1783f7=_0x14c41a;this['_injector']=_0x4ff033,this[_0x1783f7(0x426)]=_0x229842;}[_0x14c41a(0x210)](_0x2d5e86){const _0x512ee7=_0x14c41a;var _0x30043b;const _0x2b4eae=this['_injector']['get'](Y[_0x512ee7(0x255)]),_0x445b65=(_0x30043b=_0x2b4eae[_0x512ee7(0x356)]())!=null?_0x30043b:[];if(_0x445b65[_0x512ee7(0x2a7)]===0x0)return;const _0x378c5a=_0x2d5e86[_0x512ee7(0x26b)],_0x3571e0=[{'id':_0x512ee7(0x40a),'params':{'unitId':_0x378c5a,'actions':null,'textRanges':_0x445b65}}],_0x5ae2bb=this['_transformService'][_0x512ee7(0x423)](_0x2d5e86,_0x3571e0);if(!m['isTransformMutationsWithChangesetSuccess'](_0x5ae2bb))throw _0x5ae2bb['error'];const _0x1b9fc1=_0x5ae2bb['m2Prime'][0x0][_0x512ee7(0x46d)]['textRanges'];Array[_0x512ee7(0x336)](_0x1b9fc1)&&_0x1b9fc1['length']&&_0x2b4eae[_0x512ee7(0x421)](_0x1b9fc1,{'unitId':_0x378c5a,'subUnitId':_0x378c5a},!0x1);}};Z=Wt([Ne(0x0,a[_0x14c41a(0x463)](a[_0x14c41a(0x2bd)])),Ne(0x1,m[_0x14c41a(0x27e)])],Z);var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x1c369c,_0x3fc568,_0xf1dc67,_0x3a393e)=>{for(var _0x4f953a=_0x3a393e>0x1?void 0x0:_0x3a393e?Vt(_0x3fc568,_0xf1dc67):_0x3fc568,_0x40de9e=_0x1c369c['length']-0x1,_0x15d94a;_0x40de9e>=0x0;_0x40de9e--)(_0x15d94a=_0x1c369c[_0x40de9e])&&(_0x4f953a=_0x15d94a(_0x4f953a)||_0x4f953a);return _0x4f953a;},N=(_0x1cde18,_0x48679a)=>(_0x1ac857,_0x55d570)=>_0x48679a(_0x1ac857,_0x55d570,_0x1cde18);let Q=class extends a[_0x14c41a(0x3ce)]{constructor(_0x349155,_0x1c0458,_0x10c0d6,_0x3b2744,_0x30aebc,_0x245b93,_0x9052e9,_0x2ca39e){const _0x4fd123=_0x14c41a;super(),h(this,_0x4fd123(0x303),new d[(_0x4fd123(0x425))](u[_0x4fd123(0x216)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x349155,this['_collaborationController']=_0x1c0458,this[_0x4fd123(0x3d8)]=_0x10c0d6,this[_0x4fd123(0x43f)]=_0x3b2744,this[_0x4fd123(0x30e)]=_0x30aebc,this[_0x4fd123(0x437)]=_0x245b93,this[_0x4fd123(0x227)]=_0x9052e9,this[_0x4fd123(0x42c)]=_0x2ca39e,this['_initEntityListener']());}[_0x14c41a(0x22f)](){const _0x2a494f=_0x14c41a;this[_0x2a494f(0x208)](this[_0x2a494f(0x224)][_0x2a494f(0x371)][_0x2a494f(0x3fe)](_0x15d806=>{const _0x302baa=_0x2a494f,_0x3f101b=this[_0x302baa(0x2fe)][_0x302baa(0x29f)][_0x302baa(0x3fe)](_0x59172a=>{const _0x40af70=_0x302baa;if(_0x59172a==null)return;const {unitId:_0x421f65,redoState:_0x427258,commandId:_0x707b78}=_0x59172a;if(_0x421f65!==_0x15d806[_0x40af70(0x26b)])return;const _0x453050={'id':_0x707b78,'type':a[_0x40af70(0x422)][_0x40af70(0x308)],'params':{'unitId':_0x421f65,'actions':_0x427258[_0x40af70(0x252)],'textRanges':null}};_0x15d806[_0x40af70(0x3e1)](_0x453050);});if(_0x15d806[_0x302baa(0x208)](_0x3f101b),_0x15d806 instanceof u[_0x302baa(0x3c2)]){const _0x58d76a={'onTransformIME':_0x193d85=>this[_0x302baa(0x3d8)][_0x302baa(0x383)](_0x193d85),'onTransformState':_0x1345ca=>this['_docTransformStateCacheService'][_0x302baa(0x256)](_0x1345ca),'onTransformSelections':_0x3a80a7=>this[_0x302baa(0x30e)][_0x302baa(0x210)](_0x3a80a7),'onSyncEditingCollabCursor':_0x1e482c=>this[_0x302baa(0x437)][_0x302baa(0x3cb)](_0x1e482c),'onTransformRemoteChangesetByIMECache':_0x348217=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x348217),'onTransformRemoteChangesetByStateCache':_0x2c5448=>this[_0x302baa(0x43f)][_0x302baa(0x2ec)](_0x2c5448)};_0x15d806[_0x302baa(0x2c5)](_0x58d76a);}}));}};Q=Xt([N(0x0,a['Inject'](E[_0x14c41a(0x378)])),N(0x1,a[_0x14c41a(0x463)](u['CollaborationController'])),N(0x2,a['Inject'](z)),N(0x3,a['Inject'](J)),N(0x4,a[_0x14c41a(0x463)](Z)),N(0x5,a[_0x14c41a(0x463)](Ce)),N(0x6,O[_0x14c41a(0x3a4)]),N(0x7,a['Inject'](a[_0x14c41a(0x3e2)]))],Q);var Gt=Object[_0x14c41a(0x204)],Kt=(_0xbd8244,_0x454a3c,_0x5dd739,_0x1842b9)=>{const _0x56732f=_0x14c41a;for(var _0x4f6d63=_0x1842b9>0x1?void 0x0:_0x1842b9?Gt(_0x454a3c,_0x5dd739):_0x454a3c,_0x6f2b4f=_0xbd8244[_0x56732f(0x2a7)]-0x1,_0x60b604;_0x6f2b4f>=0x0;_0x6f2b4f--)(_0x60b604=_0xbd8244[_0x6f2b4f])&&(_0x4f6d63=_0x60b604(_0x4f6d63)||_0x4f6d63);return _0x4f6d63;},_e=(_0x2a0016,_0x30b6ea)=>(_0x22bb57,_0x56637a)=>_0x30b6ea(_0x22bb57,_0x56637a,_0x2a0016);let ge=class extends a[_0x14c41a(0x3ce)]{constructor(_0x5c76d5,_0x30b06a,_0x4a2413){const _0x3e90ef=_0x14c41a;super(),h(this,_0x3e90ef(0x284),new Map()),h(this,_0x3e90ef(0x3b3),new Map()),h(this,_0x3e90ef(0x439),!0x1),(this['_configService']=_0x5c76d5,this[_0x3e90ef(0x24b)]=_0x30b06a,this[_0x3e90ef(0x3d4)]=_0x4a2413);}[_0x14c41a(0x400)](){this['_disabled']=!0x0;}[_0x14c41a(0x414)](){const _0x135b3d=_0x14c41a;this[_0x135b3d(0x439)]=!0x1;}get['saveTaskMap'](){const _0x321043=_0x14c41a;return this[_0x321043(0x3b3)];}[_0x14c41a(0x388)](){const _0x7176e4=_0x14c41a;this[_0x7176e4(0x36a)]()[_0x7176e4(0x2ef)](()=>super[_0x7176e4(0x388)]());}async[_0x14c41a(0x3f4)](_0x262754){const _0x29b688=_0x14c41a;return this[_0x29b688(0x439)]?null:this[_0x29b688(0x24b)][_0x29b688(0x21b)](u[_0x29b688(0x1f3)](_0x262754));}async[_0x14c41a(0x27f)](_0x1ddd41,_0x2bd22e){const _0x573518=_0x14c41a;return!!this[_0x573518(0x24b)]['setItem'](_0x1ddd41,_0x2bd22e);}[_0x14c41a(0x3d3)](_0x55d3fb,_0x33f4c4,_0x25024b,_0x3175c1){const _0x48feb6=_0x14c41a,_0x34a12d=this[_0x48feb6(0x3d4)][_0x48feb6(0x226)](_0x55d3fb);this[_0x48feb6(0x284)][_0x48feb6(0x1e6)](_0x55d3fb,{'unitID':_0x55d3fb,'type':_0x33f4c4,'awaitingChangeset':_0x25024b,'mutations':_0x3175c1,'rev':_0x34a12d}),this[_0x48feb6(0x3b3)][_0x48feb6(0x291)](_0x55d3fb)||this[_0x48feb6(0x357)](_0x55d3fb);}['_scheduleSaving'](_0x542bd7){const _0x51f0e0=_0x14c41a,_0x109c85=this[_0x51f0e0(0x1fa)]();_0x109c85===0x0?this[_0x51f0e0(0x248)](_0x542bd7):this[_0x51f0e0(0x3b3)][_0x51f0e0(0x1e6)](_0x542bd7,setTimeout(()=>this[_0x51f0e0(0x248)](_0x542bd7),_0x109c85));}[_0x14c41a(0x1fa)](){const _0x5b5843=_0x14c41a;var _0x23a255;return(_0x23a255=this['_configService'][_0x5b5843(0x314)](u[_0x5b5843(0x20b)]))!=null?_0x23a255:u[_0x5b5843(0x242)];}[_0x14c41a(0x248)](_0x5d290d){const _0x494345=_0x14c41a,_0x1e023c=this[_0x494345(0x3b3)]['get'](_0x5d290d);return _0x1e023c!==void 0x0&&window[_0x494345(0x361)](_0x1e023c),this[_0x494345(0x24b)][_0x494345(0x271)](u[_0x494345(0x1f3)](_0x5d290d),this[_0x494345(0x284)]['get'](_0x5d290d))[_0x494345(0x2ef)](()=>this[_0x494345(0x3b3)]['delete'](_0x5d290d));}async[_0x14c41a(0x36a)](){const _0x1167ba=_0x14c41a,_0x49e434=[];this[_0x1167ba(0x3b3)][_0x1167ba(0x2ea)]((_0x353a90,_0x28ba61)=>{const _0x491d81=_0x1167ba;window[_0x491d81(0x361)](_0x353a90),_0x49e434[_0x491d81(0x2ff)](this[_0x491d81(0x248)](_0x28ba61)[_0x491d81(0x2ef)](()=>{const _0x4aeff0=_0x491d81;this[_0x4aeff0(0x3b3)][_0x4aeff0(0x37c)](_0x28ba61);}));}),await Promise[_0x1167ba(0x453)](_0x49e434);}};ge=Kt([_e(0x0,a[_0x14c41a(0x376)]),_e(0x1,a[_0x14c41a(0x3db)]),_e(0x2,a['Inject'](m[_0x14c41a(0x416)]))],ge);class Be extends a['RxDisposable']{constructor(){const _0x1f6548=_0x14c41a;super(),h(this,'urlChange$'),this[_0x1f6548(0x34a)]=d['fromEvent'](window,_0x1f6548(0x2ce))[_0x1f6548(0x432)](d[_0x1f6548(0x334)](this[_0x1f6548(0x2f1)]),d[_0x1f6548(0x3b7)](0x1),d[_0x1f6548(0x3b8)](void 0x0));}[_0x14c41a(0x264)](_0x18e80d,_0x209f26,_0x3b8166=!0x1){const _0x9dc00=_0x14c41a,_0x51ce22=new URL(window[_0x9dc00(0x355)][_0x9dc00(0x409)]);_0x51ce22[_0x9dc00(0x285)][_0x9dc00(0x1e6)](_0x18e80d,_0x209f26),_0x3b8166?window[_0x9dc00(0x44a)][_0x9dc00(0x3a0)]('','',_0x51ce22[_0x9dc00(0x228)]()):window[_0x9dc00(0x44a)][_0x9dc00(0x39f)]('','',_0x51ce22[_0x9dc00(0x228)]());}[_0x14c41a(0x444)](_0x1d8102,_0x3e353a=!0x1){const _0x48a987=_0x14c41a,_0x2d0327=new URL(window[_0x48a987(0x355)][_0x48a987(0x409)]);_0x2d0327[_0x48a987(0x285)]['delete'](_0x1d8102),_0x3e353a?window[_0x48a987(0x44a)][_0x48a987(0x3a0)]('','',_0x2d0327['toString']()):window['history'][_0x48a987(0x39f)]('','',_0x2d0327[_0x48a987(0x228)]());}[_0x14c41a(0x238)](_0x345b87){const _0x3aca09=_0x14c41a;var _0x394f42;return(_0x394f42=new URL(window[_0x3aca09(0x355)][_0x3aca09(0x409)])['searchParams']['get'](_0x345b87))!=null?_0x394f42:void 0x0;}}var qt=Object['defineProperty'],zt=Object[_0x14c41a(0x204)],Jt=(_0x31eaa9,_0x354657,_0x5e5947)=>_0x354657 in _0x31eaa9?qt(_0x31eaa9,_0x354657,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e5947}):_0x31eaa9[_0x354657]=_0x5e5947,Zt=(_0x16077e,_0x25f48b,_0x55ad47,_0x4bd950)=>{const _0x324383=_0x14c41a;for(var _0x942f68=_0x4bd950>0x1?void 0x0:_0x4bd950?zt(_0x25f48b,_0x55ad47):_0x25f48b,_0x3818d9=_0x16077e[_0x324383(0x2a7)]-0x1,_0x4defb3;_0x3818d9>=0x0;_0x3818d9--)(_0x4defb3=_0x16077e[_0x3818d9])&&(_0x942f68=_0x4defb3(_0x942f68)||_0x942f68);return _0x942f68;},he=(_0x3a69a9,_0x3b4bbd)=>(_0x4eb2fb,_0x37ea08)=>_0x3b4bbd(_0x4eb2fb,_0x37ea08,_0x3a69a9),Qt=(_0x2f8928,_0x2f79b7,_0x2e9725)=>Jt(_0x2f8928,_0x2f79b7+'',_0x2e9725);const es=_0x14c41a(0x33a);exports[_0x14c41a(0x2f4)]=class extends a['Plugin']{constructor(_0x301f37=Ue,_0x3c52b7,_0xf805e0,_0x60e59e){const _0x49672c=_0x14c41a;super(),this[_0x49672c(0x2e9)]=_0x301f37,this['_renderManagerService']=_0x3c52b7,this[_0x49672c(0x399)]=_0xf805e0,this['_configService']=_0x60e59e;const {..._0x4fde99}=a[_0x49672c(0x46a)]({},Ue,this[_0x49672c(0x2e9)]);this[_0x49672c(0x464)][_0x49672c(0x2c7)]($t,_0x4fde99);}[_0x14c41a(0x301)](){const _0x371a58=_0x14c41a;this[_0x371a58(0x41f)](),this[_0x371a58(0x37b)]();}[_0x14c41a(0x21c)](){const _0x406588=_0x14c41a;this[_0x406588(0x2dd)]();}[_0x14c41a(0x41f)](){const _0x176a8a=_0x14c41a;var _0x478865;const _0x4434c6=[[me],[Z],[z],[J],[Ce],[Ee,{'useClass':Be}],[G[_0x176a8a(0x220)],{'useClass':G[_0x176a8a(0x2f9)]}],[u[_0x176a8a(0x327)],{'useClass':ge}],[exports[_0x176a8a(0x33e)]],[Q],[q],[x],[de],[exports['CollaborationDataLoaderController']]];a[_0x176a8a(0x2ac)](this[_0x176a8a(0x399)],a['mergeOverrideWithDependencies'](_0x4434c6,(_0x478865=this['_config'])==null?void 0x0:_0x478865[_0x176a8a(0x442)]));}[_0x14c41a(0x2dd)](){const _0x33758a=_0x14c41a;this[_0x33758a(0x208)](this['_renderManagerService'][_0x33758a(0x2f6)](a[_0x33758a(0x343)][_0x33758a(0x330)],[fe])),this['disposeWithMe'](this['_renderManagerService'][_0x33758a(0x2f6)](a[_0x33758a(0x343)][_0x33758a(0x235)],[ve]));}[_0x14c41a(0x37b)](){const _0x3f53a6=_0x14c41a;a[_0x3f53a6(0x2c3)](this[_0x3f53a6(0x399)],[[x],[exports[_0x3f53a6(0x33e)]],[Q],[q],[exports[_0x3f53a6(0x2bc)]]]);}},Qt(exports[_0x14c41a(0x2f4)],'pluginName',es),exports[_0x14c41a(0x2f4)]=Zt([a['DependentOn'](u[_0x14c41a(0x382)]),he(0x1,p[_0x14c41a(0x30b)]),he(0x2,a[_0x14c41a(0x463)](a[_0x14c41a(0x2bd)])),he(0x3,a['IConfigService'])],exports[_0x14c41a(0x2f4)]);var ts=Object[_0x14c41a(0x204)],ss=(_0xeb1628,_0x5c6604,_0x582d79,_0x2dcfee)=>{const _0x5c053c=_0x14c41a;for(var _0x4e930b=_0x2dcfee>0x1?void 0x0:_0x2dcfee?ts(_0x5c6604,_0x582d79):_0x5c6604,_0x55290f=_0xeb1628[_0x5c053c(0x2a7)]-0x1,_0x2fea6c;_0x55290f>=0x0;_0x55290f--)(_0x2fea6c=_0xeb1628[_0x55290f])&&(_0x4e930b=_0x2fea6c(_0x4e930b)||_0x4e930b);return _0x4e930b;},H=(_0x54b4d2,_0x1dd804)=>(_0x133d82,_0x9b010c)=>_0x1dd804(_0x133d82,_0x9b010c,_0x54b4d2);exports[_0x14c41a(0x2f2)]=class extends u[_0x14c41a(0x457)]{constructor(_0x43d8e9,_0x31eca3,_0x78d576,_0x221dba,_0x5c992d){super(_0x43d8e9,_0x31eca3,_0x78d576,_0x221dba,_0x5c992d);}async[_0x14c41a(0x2ca)](_0x4c88f7){const _0x2a7dc7=_0x14c41a,_0x134e64=await this['_getSessionTicket'](),_0x40ad63=this[_0x2a7dc7(0x1f4)](_0x4c88f7,_0x134e64);return this[_0x2a7dc7(0x331)](_0x40ad63);}[_0x14c41a(0x1f4)](_0x3f7320,_0x46b104){const _0x388288=_0x14c41a,_0x35e11a=typeof window>'u'?new URL(_0x3f7320):new URL(_0x3f7320,window[_0x388288(0x355)][_0x388288(0x374)]);_0x35e11a[_0x388288(0x285)][_0x388288(0x1e6)]('sessionTicket',_0x46b104);const _0x3d3915=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x388288(0x355)][_0x388288(0x2a3)]);return _0x3d3915[_0x388288(0x340)]('runId')&&_0x35e11a['searchParams'][_0x388288(0x1e6)](_0x388288(0x3d6),_0x3d3915[_0x388288(0x340)](_0x388288(0x3d6))),_0x35e11a[_0x388288(0x228)]();}async[_0x14c41a(0x27a)](){const _0x571f63=_0x14c41a;var _0x45485f,_0x55abf0,_0x183cbd;const _0x58c7a3=this[_0x571f63(0x464)][_0x571f63(0x314)](u[_0x571f63(0x41c)]),_0x55331c=(_0x45485f=_0x58c7a3==null?void 0x0:_0x58c7a3[_0x571f63(0x44b)])!=null?_0x45485f:u[_0x571f63(0x412)];return(_0x183cbd=(_0x55abf0=(await this[_0x571f63(0x3bd)][_0x571f63(0x340)](_0x55331c,{'headers':{'Content-Type':_0x571f63(0x245)}}))[_0x571f63(0x313)])==null?void 0x0:_0x55abf0[_0x571f63(0x2fd)])!=null?_0x183cbd:'';}},exports[_0x14c41a(0x2f2)]=ss([H(0x0,a[_0x14c41a(0x463)](a[_0x14c41a(0x2bd)])),H(0x1,a[_0x14c41a(0x463)](G['HTTPService'])),H(0x2,a[_0x14c41a(0x376)]),H(0x3,a[_0x14c41a(0x2a9)]),H(0x4,m['ISnapshotServerService'])],exports[_0x14c41a(0x2f2)]);const Me=0x7530,Le=_0x14c41a(0x2b8);class is extends a['Disposable']{constructor(){const _0x171382=_0x14c41a;super(),h(this,_0x171382(0x2bf),a[_0x171382(0x2cb)]()),h(this,_0x171382(0x1ef),new Set()),h(this,_0x171382(0x3c8),new Map()),h(this,_0x171382(0x35d),null),h(this,_0x171382(0x40e),new Map()),h(this,_0x171382(0x2be),new Map()),this['_init']();}[_0x14c41a(0x388)](){const _0x3f3b28=_0x14c41a;super[_0x3f3b28(0x388)](),this[_0x3f3b28(0x40e)][_0x3f3b28(0x2ea)]((_0x45eabf,_0x44960f)=>this[_0x3f3b28(0x36c)](_0x44960f)),this[_0x3f3b28(0x35d)]&&window[_0x3f3b28(0x267)](this[_0x3f3b28(0x35d)]);}[_0x14c41a(0x2f7)](_0x53e885){const _0x9a95c6=_0x14c41a;return this[_0x9a95c6(0x3a3)](_0x53e885)['pipe'](d[_0x9a95c6(0x23c)]());}[_0x14c41a(0x266)](_0x425f53){const _0x4e9e0d=_0x14c41a;this[_0x4e9e0d(0x1ef)]['size']===0x0&&this[_0x4e9e0d(0x1e0)](),this[_0x4e9e0d(0x1ef)][_0x4e9e0d(0x348)](_0x425f53),this['_send']({'type':0x0,'memberID':this[_0x4e9e0d(0x2bf)],'unitIDs':[_0x425f53],'isForwarded':!0x1});}[_0x14c41a(0x377)](_0x3cd1a3){const _0x435c31=_0x14c41a;this[_0x435c31(0x1ef)][_0x435c31(0x37c)](_0x3cd1a3),this[_0x435c31(0x1ef)][_0x435c31(0x2b1)]===0x0&&this[_0x435c31(0x35d)]&&window[_0x435c31(0x267)](this[_0x435c31(0x35d)]);}[_0x14c41a(0x1e9)](){const _0x33307b=_0x14c41a;this['disposeWithMe'](a[_0x33307b(0x43b)](d['fromEvent'](window,_0x33307b(0x44d))[_0x33307b(0x3fe)](_0x2a028a=>{const _0x23a2b0=_0x33307b;if(_0x2a028a[_0x23a2b0(0x37d)]!==Le||!_0x2a028a[_0x23a2b0(0x39b)])return;const _0x51d101=JSON[_0x23a2b0(0x31d)](_0x2a028a['newValue']);this['_handleEvent'](_0x51d101);}))),window[_0x33307b(0x3ad)](_0x33307b(0x2a2),()=>this[_0x33307b(0x2da)]({'type':0x1,'memberID':this[_0x33307b(0x2bf)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x14c41a(0x2c4)](_0x1e020b){const _0x25f778=_0x14c41a;switch(_0x1e020b[_0x25f778(0x26a)]){case 0x0:this[_0x25f778(0x402)](_0x1e020b);break;case 0x1:this[_0x25f778(0x1f8)](_0x1e020b);break;case 0x2:this[_0x25f778(0x243)](_0x1e020b);break;}}['_handleJoinEvent'](_0x5e6cfa){const _0x3518fd=_0x14c41a,{unitIDs:_0x1d36ee,memberID:_0x4a36f2,isForwarded:_0x3afdcb}=_0x5e6cfa;_0x1d36ee[_0x3518fd(0x2ea)](_0x33e784=>{const _0x2bbb13=_0x3518fd;if(!_0x3afdcb&&this[_0x2bbb13(0x3c8)][_0x2bbb13(0x291)](_0x33e784)&&this[_0x2bbb13(0x3a3)](_0x33e784)[_0x2bbb13(0x1fe)](u[_0x2bbb13(0x368)][_0x2bbb13(0x404)]),!this[_0x2bbb13(0x3c8)][_0x2bbb13(0x291)](_0x33e784)||!this[_0x2bbb13(0x3c8)]['get'](_0x33e784)[_0x2bbb13(0x291)](_0x4a36f2)){const _0x2250e3=this[_0x2bbb13(0x3c8)][_0x2bbb13(0x340)](_0x33e784)||new Set();_0x2250e3[_0x2bbb13(0x348)](_0x4a36f2),this['_unitOnClients'][_0x2bbb13(0x1e6)](_0x33e784,_0x2250e3),this[_0x2bbb13(0x387)](_0x4a36f2);}}),_0x3afdcb||this[_0x3518fd(0x2da)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3518fd(0x1ef)]],'isForwarded':!0x0});}[_0x14c41a(0x387)](_0x1c2b17){const _0x2e7eab=_0x14c41a;this['_removeClearOtherTimer'](_0x1c2b17);const _0x4fcfd8=window[_0x2e7eab(0x300)](()=>{const _0xaef012=_0x2e7eab;this[_0xaef012(0x3c8)]['forEach'](_0x44951e=>{const _0x51c12f=_0xaef012;_0x44951e[_0x51c12f(0x37c)](_0x1c2b17);});},Me*0x2);this['_clearOtherTimers'][_0x2e7eab(0x1e6)](_0x1c2b17,_0x4fcfd8);}[_0x14c41a(0x36c)](_0x34ec69){const _0x547ded=_0x14c41a;if(this['_clearOtherTimers']['has'](_0x34ec69)){const _0x2ff5bf=this[_0x547ded(0x40e)][_0x547ded(0x340)](_0x34ec69);_0x2ff5bf&&window[_0x547ded(0x361)](_0x2ff5bf),this[_0x547ded(0x40e)][_0x547ded(0x1e6)](_0x34ec69,null);}}[_0x14c41a(0x1f8)](_0x2bc3a9){const _0x29ca33=_0x14c41a,{memberID:_0x558f4e,unitIDs:_0x4bf177}=_0x2bc3a9;_0x4bf177[_0x29ca33(0x2ea)](_0x2a66db=>{const _0xcc1f5f=_0x29ca33;var _0x3f1d57;const _0x4b297a=this[_0xcc1f5f(0x3c8)][_0xcc1f5f(0x340)](_0x2a66db);_0x4b297a&&(_0x4b297a[_0xcc1f5f(0x37c)](_0x558f4e),(_0x3f1d57=this[_0xcc1f5f(0x3a3)](_0x2a66db))==null||_0x3f1d57[_0xcc1f5f(0x1fe)](_0x4b297a[_0xcc1f5f(0x2b1)]===0x0?u[_0xcc1f5f(0x368)][_0xcc1f5f(0x396)]:u[_0xcc1f5f(0x368)][_0xcc1f5f(0x404)]));}),this[_0x29ca33(0x36c)](_0x558f4e);}[_0x14c41a(0x243)](_0x1b5251){const _0x2496f5=_0x14c41a;this[_0x2496f5(0x387)](_0x1b5251[_0x2496f5(0x394)]);}[_0x14c41a(0x2da)](_0x352e8f){const _0x2803c6=_0x14c41a;localStorage[_0x2803c6(0x271)](Le,JSON[_0x2803c6(0x30c)](_0x352e8f));}['_scheduleHeartbeat'](){const _0xfb151e=_0x14c41a;this[_0xfb151e(0x35d)]=window[_0xfb151e(0x212)](()=>{const _0x3a7d5a=_0xfb151e;this[_0x3a7d5a(0x2da)]({'type':0x2,'memberID':this[_0x3a7d5a(0x2bf)]});},Me);}[_0x14c41a(0x3a3)](_0x1c1dfe){const _0xdb2552=_0x14c41a;return this[_0xdb2552(0x2be)][_0xdb2552(0x291)](_0x1c1dfe)||this[_0xdb2552(0x2be)][_0xdb2552(0x1e6)](_0x1c1dfe,new d['BehaviorSubject'](u[_0xdb2552(0x368)][_0xdb2552(0x396)])),this[_0xdb2552(0x2be)][_0xdb2552(0x340)](_0x1c1dfe);}}var je=(_0x539468=>(_0x539468[_0x539468[_0x14c41a(0x2b9)]=0x0]=_0x14c41a(0x2b9),_0x539468[_0x539468['OK']=0x1]='OK',_0x539468[_0x539468[_0x14c41a(0x352)]=0x2]=_0x14c41a(0x352),_0x539468[_0x539468[_0x14c41a(0x3fb)]=0x3]=_0x14c41a(0x3fb),_0x539468[_0x539468[_0x14c41a(0x344)]=0x4]=_0x14c41a(0x344),_0x539468[_0x539468['UNAUTHENTICATED']=0x5]=_0x14c41a(0x3dd),_0x539468[_0x539468[_0x14c41a(0x1e3)]=0x6]='ALREADY_EXISTS',_0x539468[_0x539468[_0x14c41a(0x2f5)]=0x7]='INVALID_ARGUMENT',_0x539468[_0x539468[_0x14c41a(0x229)]=0x8]=_0x14c41a(0x229),_0x539468[_0x539468['COMPLETION_FINISHED']=0x9]=_0x14c41a(0x254),_0x539468[_0x539468[_0x14c41a(0x34d)]=0xa]=_0x14c41a(0x34d),_0x539468[_0x539468[_0x14c41a(0x45e)]=0xb]=_0x14c41a(0x45e),_0x539468[_0x539468[_0x14c41a(0x277)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x539468[_0x539468['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x14c41a(0x207),_0x539468[_0x539468[_0x14c41a(0x39a)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x539468[_0x539468['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x14c41a(0x26e),_0x539468[_0x539468[_0x14c41a(0x273)]=0x1771]=_0x14c41a(0x273),_0x539468[_0x539468['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x14c41a(0x31f),_0x539468[_0x539468[_0x14c41a(0x393)]=0x1773]=_0x14c41a(0x393),_0x539468[_0x539468[_0x14c41a(0x470)]=0x1b59]=_0x14c41a(0x470),_0x539468[_0x539468[_0x14c41a(0x23b)]=0x1b5a]=_0x14c41a(0x23b),_0x539468[_0x539468[_0x14c41a(0x349)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x539468[_0x539468[_0x14c41a(0x2af)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x539468[_0x539468[_0x14c41a(0x2a6)]=0x1b5d]=_0x14c41a(0x2a6),_0x539468[_0x539468[_0x14c41a(0x3f2)]=0x1f41]=_0x14c41a(0x3f2),_0x539468[_0x539468[_0x14c41a(0x22a)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x539468[_0x539468[_0x14c41a(0x2d9)]=0x232a]=_0x14c41a(0x2d9),_0x539468[_0x539468[_0x14c41a(0x3ae)]=0x232b]=_0x14c41a(0x3ae),_0x539468[_0x539468[_0x14c41a(0x1fd)]=0x232c]=_0x14c41a(0x1fd),_0x539468[_0x539468['LICENSE_DISTRO_REJECTED']=0x232d]=_0x14c41a(0x3eb),_0x539468[_0x539468[_0x14c41a(0x3c3)]=0x2711]=_0x14c41a(0x3c3),_0x539468[_0x539468[_0x14c41a(0x292)]=0x2712]=_0x14c41a(0x292),_0x539468[_0x539468['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x539468[_0x539468['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x14c41a(0x315),_0x539468[_0x539468[_0x14c41a(0x347)]=0x271a]=_0x14c41a(0x347),_0x539468[_0x539468['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x14c41a(0x333),_0x539468[_0x539468['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x14c41a(0x3bf),_0x539468[_0x539468['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x14c41a(0x466),_0x539468[_0x539468[_0x14c41a(0x3a5)]=0x271e]=_0x14c41a(0x3a5),_0x539468[_0x539468[_0x14c41a(0x287)]=0x271f]=_0x14c41a(0x287),_0x539468[_0x539468[_0x14c41a(0x45a)]=0x2720]=_0x14c41a(0x45a),_0x539468[_0x539468['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x14c41a(0x1e2),_0x539468[_0x539468[_0x14c41a(0x31b)]=0x2ee1]=_0x14c41a(0x31b),_0x539468[_0x539468[_0x14c41a(0x241)]=0x2ee2]=_0x14c41a(0x241),_0x539468[_0x539468[_0x14c41a(0x21a)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x539468[_0x539468['USER_NOT_INVITED_CODE']=0x2ee4]=_0x14c41a(0x34e),_0x539468[_0x539468[_0x14c41a(0x46c)]=0x2ee5]=_0x14c41a(0x46c),_0x539468[_0x539468['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x14c41a(0x45f),_0x539468[_0x539468[_0x14c41a(0x406)]=0x32ca]=_0x14c41a(0x406),_0x539468[_0x539468[_0x14c41a(0x36d)]=0x32cb]=_0x14c41a(0x36d),_0x539468[_0x539468['UNRECOGNIZED']=-0x1]=_0x14c41a(0x469),_0x539468))(je||{}),ns=Object[_0x14c41a(0x204)],rs=(_0x55642a,_0x26f1ec,_0x34a578,_0xb3814c)=>{const _0x29dce5=_0x14c41a;for(var _0x214dcf=_0xb3814c>0x1?void 0x0:_0xb3814c?ns(_0x26f1ec,_0x34a578):_0x26f1ec,_0x2ce164=_0x55642a[_0x29dce5(0x2a7)]-0x1,_0x5c435c;_0x2ce164>=0x0;_0x2ce164--)(_0x5c435c=_0x55642a[_0x2ce164])&&(_0x214dcf=_0x5c435c(_0x214dcf)||_0x214dcf);return _0x214dcf;},ue=(_0x51e807,_0x255829)=>(_0x1ab877,_0x5ca204)=>_0x255829(_0x1ab877,_0x5ca204,_0x51e807);exports[_0x14c41a(0x323)]=class extends a[_0x14c41a(0x3ce)]{constructor(_0x297941,_0x2c8c19,_0x292356){const _0x2e18f7=_0x14c41a;super(),this[_0x2e18f7(0x3d5)]=_0x297941,this['_httpService']=_0x2c8c19,this[_0x2e18f7(0x464)]=_0x292356;}async['runOnServer'](_0x29a9d2,_0x33896f,_0x440624,..._0x58c640){const _0x376bca=_0x14c41a;var _0x39b309,_0x2ceb2f,_0x3b3f7a,_0x59e9b7;const _0x4b3bdd=this['_instanceService'][_0x376bca(0x3f7)]();if(!_0x4b3bdd)throw new Error(_0x376bca(0x201));const _0x969f39=((_0x39b309=this[_0x376bca(0x464)]['getConfig'](u[_0x376bca(0x350)]))!=null?_0x39b309:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x29a9d2+_0x376bca(0x455)+_0x33896f,_0x5b10c3=new URL(window[_0x376bca(0x355)][_0x376bca(0x409)]),_0x1ab616={'scriptId':_0x29a9d2,'runId':(_0x2ceb2f=_0x5b10c3['searchParams']['get'](_0x376bca(0x3d6)))!=null?_0x2ceb2f:'','function':_0x33896f,'unitId':_0x4b3bdd[_0x376bca(0x436)](),'argsOfFunction':JSON[_0x376bca(0x30c)](_0x58c640),'invokeId':(_0x3b3f7a=_0x440624[_0x376bca(0x3e8)])!=null?_0x3b3f7a:'','executionId':(_0x59e9b7=_0x440624[_0x376bca(0x36e)])!=null?_0x59e9b7:''};try{const _0x17b266=await this[_0x376bca(0x3bd)][_0x376bca(0x35b)](_0x969f39,{'body':_0x1ab616});return _0x17b266[_0x376bca(0x313)]['error']&&_0x17b266['body'][_0x376bca(0x23a)][_0x376bca(0x237)]!==je['OK']?_0x376bca(0x2d0):_0x17b266['body'][_0x376bca(0x389)];}catch{return'Failed';}}},exports['RemoteUniscriptService']=rs([ue(0x0,a[_0x14c41a(0x403)]),ue(0x1,a[_0x14c41a(0x463)](G[_0x14c41a(0x386)])),ue(0x2,a[_0x14c41a(0x376)])],exports[_0x14c41a(0x323)]),exports[_0x14c41a(0x38c)]=xe,exports[_0x14c41a(0x339)]=Ee,exports[_0x14c41a(0x240)]=we,exports['WebBrowserSingleActiveUnitService']=is,exports[_0x14c41a(0x3ff)]=Be;
1
+ 'use strict';const _0x1d4ed3=_0x34b0;(function(_0x1f3634,_0x3f18d3){const _0x220c2b=_0x34b0,_0x1b9c2d=_0x1f3634();while(!![]){try{const _0x5f24fe=parseInt(_0x220c2b(0x1a1))/0x1*(parseInt(_0x220c2b(0x366))/0x2)+parseInt(_0x220c2b(0x329))/0x3*(-parseInt(_0x220c2b(0x36f))/0x4)+-parseInt(_0x220c2b(0x1ab))/0x5*(-parseInt(_0x220c2b(0x2c9))/0x6)+-parseInt(_0x220c2b(0x185))/0x7*(parseInt(_0x220c2b(0x17c))/0x8)+-parseInt(_0x220c2b(0x358))/0x9+parseInt(_0x220c2b(0x19a))/0xa*(parseInt(_0x220c2b(0x2c3))/0xb)+parseInt(_0x220c2b(0x149))/0xc;if(_0x5f24fe===_0x3f18d3)break;else _0x1b9c2d['push'](_0x1b9c2d['shift']());}catch(_0x230bb5){_0x1b9c2d['push'](_0x1b9c2d['shift']());}}}(_0x5c8f,0x71b4f));var Ve=Object[_0x1d4ed3(0x16c)],Xe=(_0x4d3c88,_0x210b2f,_0x227453)=>_0x210b2f in _0x4d3c88?Ve(_0x4d3c88,_0x210b2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x227453}):_0x4d3c88[_0x210b2f]=_0x227453,h=(_0x230632,_0x447370,_0x3a16be)=>Xe(_0x230632,typeof _0x447370!=_0x1d4ed3(0x383)?_0x447370+'':_0x447370,_0x3a16be);Object['defineProperty'](exports,Symbol[_0x1d4ed3(0x1f9)],{'value':_0x1d4ed3(0x1ce)});const u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),p=require('@univerjs/engine-render'),G=require('@univerjs/network'),E=require('@univerjs/docs-ui'),Ge=require('@univerjs/drawing'),d=require('rxjs'),m=require('@univerjs-pro/collaboration'),Y=require('@univerjs/docs'),be=require('@univerjs/engine-formula'),g=require('@univerjs/sheets'),$=require('rxjs/operators'),X=require('@univerjs/sheets-ui'),P=require('react/jsx-runtime'),O=require('@univerjs/ui'),D=require('@univerjs/design'),M=require('react'),Ke=require('@univerjs/rpc');var qe=Object[_0x1d4ed3(0x14e)],ze=(_0x2481ce,_0x19d0d7,_0x2cdb8c,_0x13298c)=>{const _0x2fc478=_0x1d4ed3;for(var _0xd33cd2=_0x13298c>0x1?void 0x0:_0x13298c?qe(_0x19d0d7,_0x2cdb8c):_0x19d0d7,_0x25ce4e=_0x2481ce[_0x2fc478(0x1ea)]-0x1,_0x31688f;_0x25ce4e>=0x0;_0x25ce4e--)(_0x31688f=_0x2481ce[_0x25ce4e])&&(_0xd33cd2=_0x31688f(_0xd33cd2)||_0xd33cd2);return _0xd33cd2;},Oe=(_0x1f33da,_0x3fe575)=>(_0x1cc353,_0x20d389)=>_0x3fe575(_0x1cc353,_0x20d389,_0x1f33da);let de=class extends a['RxDisposable']{constructor(_0x1e5b83,_0x1c52ef){const _0x31f723=_0x1d4ed3;super(),this[_0x31f723(0x382)]=_0x1e5b83,this[_0x31f723(0x2af)]=_0x1c52ef,this[_0x31f723(0x14b)]();}['_init'](){const _0xb6019d=_0x1d4ed3,_0xce61e9=this;this[_0xb6019d(0x2dc)](this[_0xb6019d(0x382)]['addClipboardHook']({'onBeforePasteImage':async _0x1ddc2d=>{const _0x2a097c=_0xb6019d,_0x430891=await _0xce61e9[_0x2a097c(0x2af)]['saveImage'](_0x1ddc2d);return _0x430891?{'source':_0x430891[_0x2a097c(0x165)],'imageSourceType':_0x430891[_0x2a097c(0x17b)]}:null;}}));}};de=ze([Oe(0x0,E[_0x1d4ed3(0x25e)]),Oe(0x1,Ge[_0x1d4ed3(0x1d0)])],de);const Te=['purple.300',_0x1d4ed3(0x255),_0x1d4ed3(0x192),'red.300',_0x1d4ed3(0x23e),'yellow.400'];class me extends a[_0x1d4ed3(0x24a)]{constructor(){const _0x53165c=_0x1d4ed3;super(...arguments),h(this,_0x53165c(0x2e5),new Map()),h(this,_0x53165c(0x16b),0x0);}[_0x1d4ed3(0x2a2)](_0x1ad188){const _0x26fbe4=_0x1d4ed3;if(this[_0x26fbe4(0x2e5)][_0x26fbe4(0x390)](_0x1ad188))return this[_0x26fbe4(0x2e5)][_0x26fbe4(0x1f3)](_0x1ad188);const _0x4847f4=Te[this[_0x26fbe4(0x16b)]];return this[_0x26fbe4(0x16b)]=(this[_0x26fbe4(0x16b)]+0x1)%Te['length'],this[_0x26fbe4(0x2e5)][_0x26fbe4(0x318)](_0x1ad188,_0x4847f4),_0x4847f4;}}function Pe(_0x44859d){const _0x13c74d=_0x1d4ed3;let _0xe8f48e='';for(const _0x520905 of _0x44859d){const {startOffset:_0x488a76,endOffset:_0x335178,isActive:_0x440a78,rangeType:_0x259ea4,segmentId:_0x1373a5,segmentPage:_0x410f77}=_0x520905;_0xe8f48e[_0x13c74d(0x1ea)]&&(_0xe8f48e+=','),_0xe8f48e+=_0x488a76+':'+_0x335178+':'+(_0x440a78?'1':'0')+':'+_0x259ea4+':'+_0x1373a5+':'+_0x410f77;}return _0xe8f48e;}function Je(_0x27520a){const _0xfbc850=_0x1d4ed3,_0x27c3c0=_0x27520a['split'](','),_0x1ead4d=[];for(const _0x4ef9cb of _0x27c3c0){const [_0x44f22f,_0x4b6f9e,_0x247bae,_0x3e5abb,_0x285855,_0x1084dc]=_0x4ef9cb['split'](':');_0x1ead4d[_0xfbc850(0x19c)]({'startOffset':Number(_0x44f22f),'endOffset':Number(_0x4b6f9e),'collapsed':_0x44f22f===_0x4b6f9e,'isActive':_0x247bae==='1','rangeType':_0x3e5abb===a[_0xfbc850(0x1e3)][_0xfbc850(0x195)]?a[_0xfbc850(0x1e3)][_0xfbc850(0x195)]:a[_0xfbc850(0x1e3)]['RECT'],'segmentId':typeof _0x285855=='string'?String(_0x285855):'','segmentPage':Number(_0x1084dc!=null?_0x1084dc:-0x1)});}return _0x1ead4d[_0xfbc850(0x13d)](_0x30a170=>_0x30a170[_0xfbc850(0x1bb)])||(_0x1ead4d[0x0][_0xfbc850(0x1bb)]=!0x0),_0x1ead4d;}class Ce extends a[_0x1d4ed3(0x263)]{constructor(){const _0x2d29fc=_0x1d4ed3;super(...arguments),h(this,_0x2d29fc(0x229),new d[(_0x2d29fc(0x13b))](null)),h(this,_0x2d29fc(0x163),this[_0x2d29fc(0x229)][_0x2d29fc(0x177)]());}[_0x1d4ed3(0x298)](_0x13c625){const _0x30d81c=_0x1d4ed3,{unitID:_0x320b0d,memberID:_0x1648ef,textRanges:_0x3a24ed}=_0x13c625,_0x534be2=Pe(_0x3a24ed);if(_0x534be2==='')return;const _0x148338={'unitID':_0x320b0d,'memberID':_0x1648ef,'selection':_0x534be2};this[_0x30d81c(0x229)]['next'](_0x148338);}}var Ze=Object[_0x1d4ed3(0x14e)],Qe=(_0x267da1,_0x20cfb5,_0x26f2f9,_0x1fb5a0)=>{const _0x23f060=_0x1d4ed3;for(var _0x515bcf=_0x1fb5a0>0x1?void 0x0:_0x1fb5a0?Ze(_0x20cfb5,_0x26f2f9):_0x20cfb5,_0xc03a31=_0x267da1[_0x23f060(0x1ea)]-0x1,_0x3f11e8;_0xc03a31>=0x0;_0xc03a31--)(_0x3f11e8=_0x267da1[_0xc03a31])&&(_0x515bcf=_0x3f11e8(_0x515bcf)||_0x515bcf);return _0x515bcf;},L=(_0x11090f,_0x11a514)=>(_0x168e15,_0x3ccca6)=>_0x11a514(_0x168e15,_0x3ccca6,_0x11090f);const et=0x12c,tt=0x64;let Ie=class extends a[_0x1d4ed3(0x263)]{constructor(_0x1052c6,_0x4e2393,_0x432ca7,_0x2d01e4,_0x1b713b,_0x261fae,_0x58b415,_0xa13d11,_0x1626a6){const _0x37fa16=_0x1d4ed3;super(),h(this,_0x37fa16(0x1d2),!0x1),h(this,_0x37fa16(0x14b),!0x1),h(this,_0x37fa16(0x396),new d['BehaviorSubject'](new Map())),h(this,_0x37fa16(0x278),this[_0x37fa16(0x396)]['asObservable']()),h(this,_0x37fa16(0x33a),new d[(_0x37fa16(0x13b))]([])),h(this,_0x37fa16(0x1b9),this[_0x37fa16(0x33a)][_0x37fa16(0x2e0)](d[_0x37fa16(0x16e)](et))),h(this,_0x37fa16(0x17d),a[_0x37fa16(0x275)](_0x1d54cc=>{const _0xc106ce=_0x37fa16,_0x255fcc={'eventID':m[_0xc106ce(0x237)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xc106ce(0x1aa)],'memberID':this['_session'][_0xc106ce(0x30f)](),'selection':Pe(_0x1d54cc)}};this['_session'][_0xc106ce(0x254)](_0x255fcc,this['unitID']);},tt)),(this[_0x37fa16(0x1aa)]=_0x1052c6,this[_0x37fa16(0x2b4)]=_0x4e2393,this[_0x37fa16(0x1ca)]=_0x432ca7,this[_0x37fa16(0x23c)]=_0x2d01e4,this[_0x37fa16(0x234)]=_0x1b713b,this['_syncEditingCollabCursorService']=_0x261fae,this['_transformService']=_0x58b415,this['_univerInstanceService']=_0xa13d11,this[_0x37fa16(0x346)]=_0x1626a6);}get[_0x1d4ed3(0x160)](){const _0x5cc453=_0x1d4ed3;return this[_0x5cc453(0x396)]['getValue']();}get[_0x1d4ed3(0x324)](){const _0x5a0fe6=_0x1d4ed3;return this[_0x5a0fe6(0x33a)]['getValue']();}[_0x1d4ed3(0x2ee)](){const _0x5d20c9=_0x1d4ed3;super['dispose'](),this['_cursorInfo$'][_0x5d20c9(0x38c)](new Map()),this[_0x5d20c9(0x396)][_0x5d20c9(0x360)](),this[_0x5d20c9(0x33a)][_0x5d20c9(0x38c)]([]),this[_0x5d20c9(0x33a)][_0x5d20c9(0x360)]();}[_0x1d4ed3(0x2ae)](){const _0x23a37d=_0x1d4ed3;this[_0x23a37d(0x14b)]||(this[_0x23a37d(0x14b)]=!0x0,this[_0x23a37d(0x2b4)][_0x23a37d(0x1c6)]['pipe'](d[_0x23a37d(0x1f1)](this['dispose$']))[_0x23a37d(0x221)](_0x2b4cd2=>{const _0x43d42b=_0x23a37d;_0x2b4cd2===u[_0x43d42b(0x369)][_0x43d42b(0x214)]?this[_0x43d42b(0x20f)]():this[_0x43d42b(0x317)]();}),this[_0x23a37d(0x2b4)][_0x23a37d(0x38d)][_0x23a37d(0x2e0)](d[_0x23a37d(0x1f1)](this[_0x23a37d(0x1a2)]))[_0x23a37d(0x221)](_0x5bff1e=>{const _0x3c29b4=_0x23a37d,_0x460a54=_0x5bff1e[_0x3c29b4(0x29f)];_0x460a54===m[_0x3c29b4(0x237)][_0x3c29b4(0x2ea)]&&this[_0x3c29b4(0x23f)](_0x5bff1e),_0x460a54===m['CollaborationEvent']['USERS_LEAVE']&&this[_0x3c29b4(0x151)](_0x5bff1e);}),this[_0x23a37d(0x2dc)](this[_0x23a37d(0x346)][_0x23a37d(0x1bf)](_0x291386=>{const _0x2d26e3=_0x23a37d,_0x54dc26=_0x291386[_0x2d26e3(0x20a)];_0x54dc26!=null&&this[_0x2d26e3(0x1d2)]&&_0x291386['id']===Y[_0x2d26e3(0x325)]['id']&&_0x54dc26[_0x2d26e3(0x3aa)]===this[_0x2d26e3(0x1aa)]&&_0x54dc26[_0x2d26e3(0x212)]===!0x1&&_0x54dc26[_0x2d26e3(0x200)][_0x2d26e3(0x1ea)]>0x0&&this['_updateLocalCursor'](_0x54dc26[_0x2d26e3(0x200)]);})),this['_syncEditingCollabCursorService'][_0x23a37d(0x163)][_0x23a37d(0x2e0)](d[_0x23a37d(0x1f1)](this[_0x23a37d(0x1a2)]))[_0x23a37d(0x221)](_0x255763=>{const _0x215e72=_0x23a37d;if((_0x255763==null?void 0x0:_0x255763[_0x215e72(0x1aa)])!==this[_0x215e72(0x1aa)])return;const _0xb9474e={'eventID':m['CollaborationEvent'][_0x215e72(0x2ea)],'data':_0x255763};this['_onCursorUpdate'](_0xb9474e);}),this[_0x23a37d(0x2dc)](this['_commandService']['onCommandExecuted'](_0x170425=>{const _0x529969=_0x23a37d;if(_0x170425['params']==null)return;const _0x53efe3=_0x170425[_0x529969(0x20a)];if(_0x170425['id']!==Y['RichTextEditingMutation']['id']||_0x53efe3[_0x529969(0x3aa)]!==this['unitID'])return;const _0x37421c={'id':_0x529969(0x27c),'params':_0x53efe3},_0xfb3f02=this[_0x529969(0x160)];for(const [_0xdb6d6f,_0x483574]of _0xfb3f02){const _0x97a9d={'id':_0x529969(0x27c),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x483574[_0x529969(0x200)]}},_0x2fccff=this[_0x529969(0x1a0)][_0x529969(0x1df)](_0x37421c,_0x97a9d,!0x1);if(m[_0x529969(0x3a3)](_0x2fccff))throw _0x2fccff[_0x529969(0x268)];_0xfb3f02[_0x529969(0x318)](_0xdb6d6f,{..._0x483574,'ranges':_0x2fccff['m2Prime'][_0x529969(0x20a)]['textRanges']});}queueMicrotask(()=>{const _0x4b2eca=_0x529969;this[_0x4b2eca(0x396)][_0x4b2eca(0x38c)](_0xfb3f02);});})));}[_0x1d4ed3(0x23f)](_0x35ee50){const _0x3caa9f=_0x1d4ed3;var _0x12bf33,_0x331c88;const {memberID:_0x59e774,selection:_0x4eb283}=_0x35ee50[_0x3caa9f(0x1e7)],_0x30775c=Je(_0x4eb283),_0x1dd0e8=(_0x331c88=(_0x12bf33=this[_0x3caa9f(0x234)]['getMember'](this[_0x3caa9f(0x1aa)],_0x59e774))==null?void 0x0:_0x12bf33[_0x3caa9f(0x18f)])!=null?_0x331c88:_0x3caa9f(0x25c),_0xbc51a0={'color':this['_colorAssignService'][_0x3caa9f(0x2a2)](_0x59e774),'name':_0x1dd0e8,'ranges':_0x30775c},_0x17352c=this['cursorInfo'];_0x17352c[_0x3caa9f(0x318)](_0x59e774,_0xbc51a0),this[_0x3caa9f(0x396)][_0x3caa9f(0x38c)](_0x17352c);}[_0x1d4ed3(0x151)](_0x2f5c31){const _0x39578b=_0x1d4ed3,{memberID:_0x1115fe}=_0x2f5c31['data'],_0x375af1=this['cursorInfo'];_0x375af1[_0x39578b(0x15a)](_0x1115fe),this[_0x39578b(0x396)]['next'](_0x375af1);}[_0x1d4ed3(0x20f)](){const _0x3bf11d=_0x1d4ed3;var _0x4aa25e;if(this[_0x3bf11d(0x1d2)]=!0x0,((_0x4aa25e=this[_0x3bf11d(0x276)][_0x3bf11d(0x35b)]())==null?void 0x0:_0x4aa25e['getUnitId']())!==this[_0x3bf11d(0x1aa)])return;const _0x3137d2=this['_injector']['get'](Y[_0x3bf11d(0x2b8)])[_0x3bf11d(0x338)]();Array[_0x3bf11d(0x389)](_0x3137d2)&&_0x3137d2[_0x3bf11d(0x1ea)]>0x0&&this['_updateLocalCursor'](_0x3137d2);}[_0x1d4ed3(0x317)](){const _0x4156de=_0x1d4ed3;this[_0x4156de(0x1d2)]=!0x1;}};Ie=Qe([L(0x2,a[_0x1d4ed3(0x39d)](a[_0x1d4ed3(0x2ec)])),L(0x3,a[_0x1d4ed3(0x39d)](me)),L(0x4,a[_0x1d4ed3(0x39d)](u[_0x1d4ed3(0x2ff)])),L(0x5,a[_0x1d4ed3(0x39d)](Ce)),L(0x6,m[_0x1d4ed3(0x170)]),L(0x7,a[_0x1d4ed3(0x356)]),L(0x8,a[_0x1d4ed3(0x2b1)])],Ie);var st=Object[_0x1d4ed3(0x14e)],it=(_0x1fa0f9,_0x32733b,_0xc52bfe,_0x243ce3)=>{const _0x58ef31=_0x1d4ed3;for(var _0x3caef2=_0x243ce3>0x1?void 0x0:_0x243ce3?st(_0x32733b,_0xc52bfe):_0x32733b,_0x9acfa5=_0x1fa0f9[_0x58ef31(0x1ea)]-0x1,_0x318f71;_0x9acfa5>=0x0;_0x9acfa5--)(_0x318f71=_0x1fa0f9[_0x9acfa5])&&(_0x3caef2=_0x318f71(_0x3caef2)||_0x3caef2);return _0x3caef2;},A=(_0x36a5aa,_0xad6b66)=>(_0xa77472,_0x2b714a)=>_0xad6b66(_0xa77472,_0x2b714a,_0x36a5aa);const nt=0x12c,rt=0x64,ot=()=>{let _0x456456=[],_0x237dfc=!0x1;return _0x5696ce=>{const _0x5c8dd8=_0x34b0;_0x456456[_0x5c8dd8(0x19c)](_0x5696ce),_0x237dfc||(_0x237dfc=!0x0,setTimeout(()=>{const _0x552da6=_0x5c8dd8;_0x456456[_0x552da6(0x34f)](_0x5dcfe6=>_0x5dcfe6()),_0x456456=[],_0x237dfc=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x4a4b26,_0x369747,_0x3db22c,_0x235f1d,_0x2c9182,_0x4831ac,_0x38f84a,_0x756ce3){const _0x492cdd=_0x1d4ed3;super(),h(this,_0x492cdd(0x1d2),!0x1),h(this,'_init',!0x1),h(this,'_cursorInfo$',new d[(_0x492cdd(0x13b))](new Map())),h(this,_0x492cdd(0x278),this[_0x492cdd(0x396)][_0x492cdd(0x177)]()),h(this,_0x492cdd(0x33a),new d['BehaviorSubject']([])),h(this,_0x492cdd(0x1b9),this[_0x492cdd(0x33a)]['pipe'](d['debounceTime'](nt))),h(this,_0x492cdd(0x17d),a[_0x492cdd(0x275)]((_0x1ac01a,_0x358c0e)=>{const _0x2587c3=_0x492cdd,_0x2666fb={'eventID':m[_0x2587c3(0x237)][_0x2587c3(0x2ea)],'data':{'unitID':this['unitID'],'memberID':this[_0x2587c3(0x2b4)]['getMemberID'](),'selection':be[_0x2587c3(0x1c3)](_0x1ac01a,_0x358c0e[_0x2587c3(0x362)])}};this[_0x2587c3(0x2b4)][_0x2587c3(0x254)](_0x2666fb,this[_0x2587c3(0x1aa)]);},rt)),(this[_0x492cdd(0x1aa)]=_0x4a4b26,this[_0x492cdd(0x2b4)]=_0x369747,this[_0x492cdd(0x1ca)]=_0x3db22c,this[_0x492cdd(0x23c)]=_0x235f1d,this[_0x492cdd(0x234)]=_0x2c9182,this[_0x492cdd(0x276)]=_0x4831ac,this[_0x492cdd(0x346)]=_0x38f84a,this[_0x492cdd(0x220)]=_0x756ce3);}get['cursorInfo'](){const _0x1bce56=_0x1d4ed3;return this[_0x1bce56(0x396)][_0x1bce56(0x36a)]();}get[_0x1d4ed3(0x324)](){const _0x51c21d=_0x1d4ed3;return this['_roomMembers$'][_0x51c21d(0x36a)]();}['dispose'](){const _0x7f5a4b=_0x1d4ed3;super[_0x7f5a4b(0x2ee)](),this[_0x7f5a4b(0x396)]['next'](new Map()),this[_0x7f5a4b(0x396)]['complete'](),this[_0x7f5a4b(0x33a)][_0x7f5a4b(0x38c)]([]),this[_0x7f5a4b(0x33a)][_0x7f5a4b(0x360)]();}[_0x1d4ed3(0x2ae)](){const _0x2f7519=_0x1d4ed3;this[_0x2f7519(0x14b)]||(this[_0x2f7519(0x14b)]=!0x0,this[_0x2f7519(0x2b4)][_0x2f7519(0x1c6)][_0x2f7519(0x2e0)](d[_0x2f7519(0x1f1)](this[_0x2f7519(0x1a2)]))[_0x2f7519(0x221)](_0x34e7fa=>{const _0x2b5968=_0x2f7519;_0x34e7fa===u[_0x2b5968(0x369)]['ONLINE']?this[_0x2b5968(0x20f)]():this[_0x2b5968(0x317)]();}),this[_0x2f7519(0x2b4)][_0x2f7519(0x38d)][_0x2f7519(0x2e0)](d[_0x2f7519(0x1f1)](this[_0x2f7519(0x1a2)]))[_0x2f7519(0x221)](_0x141827=>{const _0x41e44b=_0x2f7519,_0x396af=_0x141827[_0x41e44b(0x29f)];_0x396af===m[_0x41e44b(0x237)][_0x41e44b(0x2ea)]&&this['_onCursorUpdate'](_0x141827),_0x396af===m[_0x41e44b(0x237)][_0x41e44b(0x2bb)]&&this[_0x41e44b(0x151)](_0x141827);}),this[_0x2f7519(0x2e8)](),this[_0x2f7519(0x2dc)](this[_0x2f7519(0x346)][_0x2f7519(0x1bf)](_0x38dfcb=>{const _0x25bdbf=_0x2f7519;if(this[_0x25bdbf(0x1d2)]&&_0x38dfcb['id']===g['SetSelectionsOperation']['id']&&_0x38dfcb[_0x25bdbf(0x20a)][_0x25bdbf(0x3aa)]===this[_0x25bdbf(0x1aa)]){const _0x489c13=_0x38dfcb[_0x25bdbf(0x20a)];this[_0x25bdbf(0x17d)](_0x489c13[_0x25bdbf(0x17f)],_0x489c13[_0x25bdbf(0x3a1)][0x0]);}})));}[_0x1d4ed3(0x23f)](_0x2b162c){const _0x4ca654=_0x1d4ed3;var _0x2af837,_0x105a2a;const {memberID:_0x580243,selection:_0x1b1bf1}=_0x2b162c[_0x4ca654(0x1e7)],{sheetName:_0x461e73,range:_0x4acb9f}=be[_0x4ca654(0x13c)](_0x1b1bf1),_0x112534={'name':(_0x105a2a=(_0x2af837=this[_0x4ca654(0x234)][_0x4ca654(0x150)](this[_0x4ca654(0x1aa)],_0x580243))==null?void 0x0:_0x2af837[_0x4ca654(0x18f)])!=null?_0x105a2a:'Unknown\x20user','range':this[_0x4ca654(0x168)](_0x461e73,_0x4acb9f),'sheetID':_0x461e73,'color':this[_0x4ca654(0x23c)][_0x4ca654(0x2a2)](_0x580243),'selection':_0x1b1bf1},_0x2133b4=this['cursorInfo'];_0x2133b4[_0x4ca654(0x318)](_0x580243,_0x112534),this[_0x4ca654(0x396)]['next'](_0x2133b4);}[_0x1d4ed3(0x151)](_0x3e8528){const _0x203368=_0x1d4ed3,{memberID:_0x1cbd51}=_0x3e8528[_0x203368(0x1e7)],_0x13ba49=this[_0x203368(0x160)];_0x13ba49[_0x203368(0x15a)](_0x1cbd51),this[_0x203368(0x396)][_0x203368(0x38c)](_0x13ba49);}[_0x1d4ed3(0x168)](_0x57c2a7,_0x342c44){const _0x533300=_0x1d4ed3;var _0x1d267f,_0x30c009;const _0x1d7ef7=(_0x30c009=(_0x1d267f=this[_0x533300(0x276)][_0x533300(0x1ac)](this[_0x533300(0x1aa)]))==null?void 0x0:_0x1d267f[_0x533300(0x1f8)](_0x57c2a7))==null?void 0x0:_0x30c009[_0x533300(0x3a0)]();return(_0x1d7ef7==null?void 0x0:_0x1d7ef7[_0x533300(0x349)](_0x5457da=>a[_0x533300(0x238)][_0x533300(0x1a4)](_0x5457da,_0x342c44)))||_0x342c44;}['_onRefRangeChange'](){const _0x565c29=_0x1d4ed3,_0x1a9a93=new a[(_0x565c29(0x1a6))](),_0xd88125=ot(),_0xbb9c24=()=>{const _0x104f81=_0x565c29;_0x1a9a93[_0x104f81(0x2ee)]();const _0x1d9a4e=(_0x347e97,_0x2a137b,_0x1a1957,_0x43f8cc)=>{const _0x592254=_0x104f81;let _0x5db480=[];switch(_0x347e97['id']){case g[_0x592254(0x1f6)][_0x592254(0x2a6)]:{_0x5db480=g['handleDeleteRangeMoveLeft'](_0x347e97,_0x43f8cc);break;}case g[_0x592254(0x1f6)][_0x592254(0x2e2)]:{_0x5db480=g[_0x592254(0x26a)](_0x347e97,_0x43f8cc);break;}case g['EffectRefRangId'][_0x592254(0x35a)]:{_0x5db480=g[_0x592254(0x281)](_0x347e97,_0x43f8cc);break;}case g[_0x592254(0x1f6)][_0x592254(0x183)]:{_0x5db480=g[_0x592254(0x1a9)](_0x347e97,_0x43f8cc);break;}case g[_0x592254(0x1f6)][_0x592254(0x34c)]:{_0x5db480=g['handleInsertRangeMoveRight'](_0x347e97,_0x43f8cc);break;}case g['EffectRefRangId'][_0x592254(0x19d)]:{_0x5db480=g[_0x592254(0x232)](_0x347e97,_0x43f8cc);break;}case g[_0x592254(0x1f6)][_0x592254(0x330)]:{_0x5db480=g[_0x592254(0x328)](_0x347e97,_0x43f8cc);break;}case g[_0x592254(0x1f6)][_0x592254(0x293)]:{_0x5db480=g[_0x592254(0x1ba)](_0x347e97,_0x43f8cc);break;}case g[_0x592254(0x1f6)][_0x592254(0x283)]:{_0x5db480=g[_0x592254(0x249)](_0x347e97,_0x43f8cc);break;}}const _0x300224=g[_0x592254(0x386)](_0x5db480,_0x43f8cc),_0x5a9b42=this['cursorInfo'][_0x592254(0x1f3)](_0x2a137b);if(_0x5a9b42&&_0x300224){const _0x2bc98b={..._0x5a9b42,'range':_0x300224};this[_0x592254(0x160)][_0x592254(0x318)](_0x2a137b,_0x2bc98b),_0xd88125(()=>{const _0x55e46d=_0x592254,_0x27dce2=this[_0x55e46d(0x220)]['registerRefRange'](_0x300224,_0xc060cc=>(_0x27dce2[_0x55e46d(0x2ee)](),_0x1d9a4e(_0xc060cc,_0x2a137b,_0x1a1957,_0x300224)));_0x1a9a93[_0x55e46d(0x265)](_0x27dce2);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x104f81(0x34f)]((_0x46d6d6,_0x1bb3fb)=>{const _0x29e71d=_0x104f81,{range:_0x3af5cd,sheetID:_0x3f8ab8}=_0x46d6d6,_0xdff28=this[_0x29e71d(0x220)][_0x29e71d(0x2ed)](_0x3af5cd,_0x27d1c2=>(_0xdff28[_0x29e71d(0x2ee)](),_0x1d9a4e(_0x27d1c2,_0x1bb3fb,_0x3f8ab8,_0x3af5cd)));_0x1a9a93[_0x29e71d(0x265)](_0xdff28);});};this[_0x565c29(0x2dc)](a['toDisposable'](this[_0x565c29(0x396)][_0x565c29(0x221)](()=>{_0xbb9c24();})));}[_0x1d4ed3(0x20f)](){const _0x54aa31=_0x1d4ed3;var _0x3d086b,_0x10073c;if(this[_0x54aa31(0x1d2)]=!0x0,((_0x3d086b=this[_0x54aa31(0x276)][_0x54aa31(0x35b)]())==null?void 0x0:_0x3d086b['getUnitId']())!==this[_0x54aa31(0x1aa)])return;const _0x398f81=(_0x10073c=this['_injector']['get'](g['SheetsSelectionsService'])[_0x54aa31(0x21e)]())==null?void 0x0:_0x10073c[0x0],_0x124084=this[_0x54aa31(0x276)][_0x54aa31(0x206)](a[_0x54aa31(0x37a)][_0x54aa31(0x34b)])['getActiveSheet']();_0x398f81&&_0x124084&&this[_0x54aa31(0x17d)](_0x124084[_0x54aa31(0x335)](),_0x398f81);}['_toggleOffline'](){this['_online']=!0x1;}};Se=it([A(0x2,a[_0x1d4ed3(0x39d)](a['Injector'])),A(0x3,a[_0x1d4ed3(0x39d)](me)),A(0x4,a[_0x1d4ed3(0x39d)](u['MemberService'])),A(0x5,a[_0x1d4ed3(0x356)]),A(0x6,a[_0x1d4ed3(0x2b1)]),A(0x7,a[_0x1d4ed3(0x39d)](g['RefRangeService']))],Se);var at=Object[_0x1d4ed3(0x14e)],ct=(_0x5b322d,_0x53301a,_0x83116f,_0x5e6ed6)=>{const _0x1b3aa1=_0x1d4ed3;for(var _0x59e06b=_0x5e6ed6>0x1?void 0x0:_0x5e6ed6?at(_0x53301a,_0x83116f):_0x53301a,_0x2a5372=_0x5b322d[_0x1b3aa1(0x1ea)]-0x1,_0x17997b;_0x2a5372>=0x0;_0x2a5372--)(_0x17997b=_0x5b322d[_0x2a5372])&&(_0x59e06b=_0x17997b(_0x59e06b)||_0x59e06b);return _0x59e06b;},ie=(_0x39c70f,_0x4574c0)=>(_0x415dfd,_0x36058c)=>_0x4574c0(_0x415dfd,_0x36058c,_0x39c70f);let x=class extends a[_0x1d4ed3(0x263)]{constructor(_0x537122,_0x17911a,_0xb64e53){const _0x456e3b=_0x1d4ed3;super(),h(this,_0x456e3b(0x3a9),new Map()),h(this,'_entityInit$',new d[(_0x456e3b(0x1cc))]()),(this[_0x456e3b(0x276)]=_0x537122,this['_injector']=_0x17911a,this['_collabSessionService']=_0xb64e53,this[_0x456e3b(0x14b)]());}['dispose'](){const _0x22f237=_0x1d4ed3;super[_0x22f237(0x2ee)](),this[_0x22f237(0x131)]['complete'](),this[_0x22f237(0x3a9)][_0x22f237(0x34f)](_0x390f24=>_0x390f24['dispose']());}[_0x1d4ed3(0x134)](_0xacf0ed){const _0x3b1327=_0x1d4ed3;return this[_0x3b1327(0x3a9)][_0x3b1327(0x390)](_0xacf0ed)?this[_0x3b1327(0x3a9)]['get'](_0xacf0ed)[_0x3b1327(0x278)]:this[_0x3b1327(0x131)][_0x3b1327(0x2e0)](d['filter'](_0x5002a4=>_0x5002a4[_0x3b1327(0x1aa)]===_0xacf0ed),d[_0x3b1327(0x38f)](_0x1d0365=>_0x1d0365[_0x3b1327(0x278)]));}[_0x1d4ed3(0x14b)](){const _0x4ad606=_0x1d4ed3;this[_0x4ad606(0x276)][_0x4ad606(0x1dc)](a[_0x4ad606(0x37a)][_0x4ad606(0x34b)])['pipe'](d['takeUntil'](this[_0x4ad606(0x1a2)]))[_0x4ad606(0x221)](async _0x4ee5ea=>{const _0x1e3c74=_0x4ad606,_0x3086ae=_0x4ee5ea['getUnitId'](),_0x3c39cf=await this[_0x1e3c74(0x3a6)](_0x3086ae);this['_entityInit$'][_0x1e3c74(0x38c)](_0x3c39cf),this[_0x1e3c74(0x3a9)][_0x1e3c74(0x318)](_0x3086ae,_0x3c39cf);}),this['_univerInstanceService'][_0x4ad606(0x1dc)](a[_0x4ad606(0x37a)][_0x4ad606(0x2d7)])['pipe'](d[_0x4ad606(0x1f1)](this[_0x4ad606(0x1a2)]))[_0x4ad606(0x2e0)](d[_0x4ad606(0x14f)](_0x50c34d=>!_0x50c34d[_0x4ad606(0x31e)]()[_0x4ad606(0x250)]('__')))[_0x4ad606(0x221)](async _0x96e40a=>{const _0x23de71=_0x4ad606,_0x50fc99=_0x96e40a[_0x23de71(0x31e)](),_0xdf37dd=await this[_0x23de71(0x19b)](_0x50fc99);this['_entityInit$'][_0x23de71(0x38c)](_0xdf37dd),this['_entities'][_0x23de71(0x318)](_0x50fc99,_0xdf37dd);}),d[_0x4ad606(0x35c)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x4ad606(0x37a)][_0x4ad606(0x2d7)]),this[_0x4ad606(0x276)][_0x4ad606(0x343)](a[_0x4ad606(0x37a)][_0x4ad606(0x34b)]))[_0x4ad606(0x2e0)](d[_0x4ad606(0x1f1)](this[_0x4ad606(0x1a2)]))[_0x4ad606(0x221)](_0x49f1a7=>{const _0x82e610=_0x4ad606,_0x5b3d69=_0x49f1a7[_0x82e610(0x31e)](),_0x65bbcd=this['_entities'][_0x82e610(0x1f3)](_0x5b3d69);_0x65bbcd&&(_0x65bbcd[_0x82e610(0x2ee)](),this[_0x82e610(0x3a9)][_0x82e610(0x15a)](_0x5b3d69));});}async[_0x1d4ed3(0x3a6)](_0x4727ee){const _0x51b9e7=_0x1d4ed3,_0x49b98a=await this[_0x51b9e7(0x37c)]['requireSession'](_0x4727ee),_0x1a368e=this[_0x51b9e7(0x1ca)][_0x51b9e7(0x1dd)](Se,_0x4727ee,_0x49b98a);return _0x1a368e['init'](),_0x1a368e;}async[_0x1d4ed3(0x19b)](_0x3382ef){const _0xd6bae7=_0x1d4ed3,_0x3c3b3e=await this[_0xd6bae7(0x37c)]['requireSession'](_0x3382ef),_0x2e94bc=this[_0xd6bae7(0x1ca)][_0xd6bae7(0x1dd)](Ie,_0x3382ef,_0x3c3b3e);return _0x2e94bc[_0xd6bae7(0x2ae)](),_0x2e94bc;}};x=ct([ie(0x0,a[_0x1d4ed3(0x356)]),ie(0x1,a[_0x1d4ed3(0x39d)](a[_0x1d4ed3(0x2ec)])),ie(0x2,a[_0x1d4ed3(0x39d)](u[_0x1d4ed3(0x374)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x1ef798,_0x120baa){const _0x5b0ea4=_0x1d4ed3;let {radius:_0x406fe1,width:_0x48ef71,height:_0x1a7074}=_0x120baa;_0x406fe1=_0x406fe1!=null?_0x406fe1:0x0,_0x48ef71=_0x48ef71!=null?_0x48ef71:0x1e,_0x1a7074=_0x1a7074!=null?_0x1a7074:0x1e;let _0x368380=0x0,_0x1975b4=0x0,_0x29b9f4=0x0;_0x368380=_0x1975b4=_0x29b9f4=Math[_0x5b0ea4(0x342)](_0x406fe1,_0x48ef71/0x2,_0x1a7074/0x2),_0x1ef798[_0x5b0ea4(0x351)](),_0x1ef798['moveTo'](_0x368380,0x0),_0x1ef798[_0x5b0ea4(0x1af)](_0x48ef71-_0x1975b4,0x0),_0x1ef798[_0x5b0ea4(0x2dd)](_0x48ef71-_0x1975b4,_0x1975b4,_0x1975b4,Math['PI']*0x3/0x2,0x0,!0x1),_0x1ef798['lineTo'](_0x48ef71,_0x1a7074-_0x29b9f4),_0x1ef798[_0x5b0ea4(0x2dd)](_0x48ef71-_0x29b9f4,_0x1a7074-_0x29b9f4,_0x29b9f4,0x0,Math['PI']/0x2,!0x1),_0x1ef798['lineTo'](0x0,_0x1a7074),_0x1ef798[_0x5b0ea4(0x1af)](0x0,_0x368380),_0x1ef798[_0x5b0ea4(0x2dd)](_0x368380,_0x368380,_0x368380,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1ef798[_0x5b0ea4(0x2ad)](),_0x120baa[_0x5b0ea4(0x27f)]&&(_0x1ef798[_0x5b0ea4(0x1e1)](),_0x1ef798[_0x5b0ea4(0x2b7)]=_0x120baa[_0x5b0ea4(0x27f)],_0x120baa['fillRule']===_0x5b0ea4(0x19f)?_0x1ef798[_0x5b0ea4(0x27f)](_0x5b0ea4(0x19f)):_0x1ef798[_0x5b0ea4(0x27f)](),_0x1ef798[_0x5b0ea4(0x2a4)]());}class ee extends p[_0x1d4ed3(0x1a3)]{constructor(_0x2b4df4,_0x44205d){const _0x587e13=_0x1d4ed3;super(_0x2b4df4,_0x44205d),h(this,_0x587e13(0x32f)),h(this,'text'),(this[_0x587e13(0x32f)]=_0x44205d==null?void 0x0:_0x44205d[_0x587e13(0x32f)],this[_0x587e13(0x273)]=_0x44205d==null?void 0x0:_0x44205d[_0x587e13(0x273)]);}static[_0x1d4ed3(0x305)](_0x48a147,_0x2d50b3){const _0x2f670d=_0x1d4ed3,{text:_0x5922df,color:_0xcd3e4f}=_0x2d50b3;_0x48a147[_0x2f670d(0x1e1)](),_0x48a147[_0x2f670d(0x1c4)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1039f9=_0x48a147['measureText'](_0x5922df)[_0x2f670d(0x1d4)],_0x3391fb=Math[_0x2f670d(0x342)](_0x1039f9+0x2*ne,Re);_t(_0x48a147,{'height':K,'radius':0x4,'width':_0x3391fb,'fill':_0xcd3e4f}),_0x48a147[_0x2f670d(0x2b7)]='#FFF';const _0x3df79d=ne,_0x101c37=K-lt,_0x3e84c8=Re-0x2*ne;if(_0x1039f9>_0x3e84c8){let _0x148196='',_0x3dc458=0x0;for(const _0x47ed1e of _0x5922df){const _0x9ea07a=_0x48a147['measureText'](_0x47ed1e)[_0x2f670d(0x1d4)];if(_0x3dc458+_0x9ea07a<=_0x3e84c8-_0x48a147['measureText'](_0x2f670d(0x337))[_0x2f670d(0x1d4)])_0x148196+=_0x47ed1e,_0x3dc458+=_0x9ea07a;else{_0x148196+=_0x2f670d(0x337);break;}}_0x48a147[_0x2f670d(0x39e)](_0x148196,_0x3df79d,_0x101c37);}else _0x48a147['fillText'](_0x5922df,_0x3df79d,_0x101c37);_0x48a147['restore']();}[_0x1d4ed3(0x236)](_0x44b1ff){const _0x4003a3=_0x1d4ed3;ee[_0x4003a3(0x305)](_0x44b1ff,this);}}const re=_0x1d4ed3(0x344),ht='collab-text-range-',ut='collab-rect-range-',k=0x6,dt=1.5,oe=0x4,It=1.5,St='rgba(255,\x20255,\x20255,\x200.01)';class De{constructor(_0x7e47e9,_0x226dd4,_0x5f13d4,_0x235658){const _0x288706=_0x1d4ed3;h(this,_0x288706(0x37b),[]),h(this,_0x288706(0x22e),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x288706(0x33f),null),h(this,_0x288706(0x205),null),(this[_0x288706(0x29a)]=_0x7e47e9,this[_0x288706(0x20b)]=_0x226dd4,this['_docSkeleton']=_0x5f13d4,this[_0x288706(0x197)]=_0x235658,this['_render']());}set['_hover'](_0x1d7825){const _0x44a56a=_0x1d4ed3;_0x1d7825?(this['_anchorDot']&&this[_0x44a56a(0x347)][_0x44a56a(0x277)](),this[_0x44a56a(0x14a)]&&this['_textBubble'][_0x44a56a(0x33c)]()):(this[_0x44a56a(0x347)]&&this[_0x44a56a(0x347)]['show'](),this['_textBubble']&&this[_0x44a56a(0x14a)][_0x44a56a(0x277)]());}[_0x1d4ed3(0x2ee)](){const _0x37c957=_0x1d4ed3;for(const _0x53db00 of this[_0x37c957(0x37b)])_0x53db00[_0x37c957(0x2ee)]();this['_textBubble']&&this[_0x37c957(0x14a)][_0x37c957(0x2ee)](),this['_anchorDot']&&this[_0x37c957(0x347)]['dispose'](),this[_0x37c957(0x22e)]&&this[_0x37c957(0x22e)]['dispose'](),this[_0x37c957(0x205)]&&this[_0x37c957(0x205)]();}['_render'](){const _0x199a1a=_0x1d4ed3;var _0x458fa4;const {_docSkeleton:_0x4f9b88,_document:_0xd20e3}=this,{color:_0x2b5acd,name:_0x2b232f,ranges:_0xffdb5f}=this[_0x199a1a(0x29a)],_0x5c8bc0=_0xd20e3[_0x199a1a(0x246)](),{docsLeft:_0x1eec1c,docsTop:_0x38fc8f}=_0x5c8bc0,_0xd4a9d7=new E[(_0x199a1a(0x261))](_0x5c8bc0,_0x4f9b88);for(const {startOffset:_0x3249ef,endOffset:_0x509cdc,rangeType:_0x5c983a,segmentId:_0x535392,segmentPage:_0x1a7733,collapsed:_0x37a210,isActive:_0x1cb5a6}of _0xffdb5f){const _0x20d1b0=_0x4f9b88[_0x199a1a(0x271)](_0x3249ef,!0x0,_0x535392,_0x1a7733);let _0x3e916c=_0x4f9b88[_0x199a1a(0x271)](_0x509cdc,!0x0,_0x535392,_0x1a7733);if(_0x3e916c==null&&(_0x3e916c=_0x4f9b88['findNodePositionByCharIndex'](_0x509cdc-0x1,!0x1,_0x535392,_0x1a7733)),_0x1cb5a6){const {contentBoxPointGroup:_0x2cc7e3}=_0xd4a9d7['getRangePointData'](_0x3e916c,_0x3e916c);if(_0x2cc7e3[_0x199a1a(0x1ea)]===0x0)continue;this[_0x199a1a(0x184)](_0x2b5acd,_0x2cc7e3,_0x1eec1c,_0x38fc8f,_0x2b232f),this[_0x199a1a(0x205)]=this[_0x199a1a(0x15c)]();}if(_0x20d1b0&&_0x3e916c){if(_0x5c983a===a[_0x199a1a(0x1e3)][_0x199a1a(0x1e2)]){const _0xabf450=new E['NodePositionConvertToRectRange'](_0x5c8bc0,_0x4f9b88),{pointGroup:_0x3b9846}=(_0x458fa4=_0xabf450[_0x199a1a(0x15e)](_0x20d1b0,_0x3e916c))!=null?_0x458fa4:{};if(_0x3b9846==null||_0x3b9846[_0x199a1a(0x1ea)]===0x0)continue;this[_0x199a1a(0x1eb)](_0x2b5acd,_0x3b9846,_0x1eec1c,_0x38fc8f);}else{if(!_0x37a210){const {borderBoxPointGroup:_0x334021}=_0xd4a9d7['getRangePointData'](_0x20d1b0,_0x3e916c);if(_0x334021[_0x199a1a(0x1ea)]===0x0)continue;this[_0x199a1a(0x333)](_0x2b5acd,_0x334021,_0x1eec1c,_0x38fc8f);}}}}}['_drawAnchor'](_0x3bb9c2,_0x12b9f5,_0x50f2fd,_0x30599f,_0x230001){const _0x425bf5=_0x1d4ed3,_0x595627=this[_0x425bf5(0x12d)](_0x12b9f5),{left:_0x4633cf,top:_0x117996,height:_0x58d621}=_0x595627,_0xd44776=this['_getScale'](),_0x3628d4=It/_0xd44776,_0x14e142=new p['Rect'](re+a[_0x425bf5(0x2d3)][_0x425bf5(0x266)](k),{'left':_0x4633cf+_0x50f2fd-_0x3628d4,'top':_0x117996+_0x30599f,'height':_0x58d621,'width':dt,'fill':_0x3bb9c2||p[_0x425bf5(0x33b)](a[_0x425bf5(0x1b4)][_0x425bf5(0x352)],0x0),'strokeWidth':_0x3628d4,'stroke':St,'evented':!0x0});this[_0x425bf5(0x22e)]=_0x14e142,this[_0x425bf5(0x20b)][_0x425bf5(0x144)](_0x14e142,E['TEXT_RANGE_LAYER_INDEX']);const _0x875277=new p[(_0x425bf5(0x12a))](re+a[_0x425bf5(0x2d3)][_0x425bf5(0x266)](k),{'left':_0x4633cf+_0x50f2fd-_0x3628d4,'top':_0x117996+_0x30599f-oe/0x2,'height':oe,'width':oe,'fill':_0x3bb9c2||p[_0x425bf5(0x33b)](a[_0x425bf5(0x1b4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x3bb9c2||p[_0x425bf5(0x33b)](a[_0x425bf5(0x1b4)][_0x425bf5(0x352)],0x0),'evented':!0x1});this['_anchorDot']=_0x875277,this['_scene'][_0x425bf5(0x144)](_0x875277,E['TEXT_RANGE_LAYER_INDEX']);const _0x16e901=new ee(re+a[_0x425bf5(0x2d3)][_0x425bf5(0x266)](k),{'left':_0x4633cf+_0x50f2fd-_0x3628d4,'top':_0x117996+_0x30599f-K,'text':_0x230001,'color':_0x3bb9c2});this[_0x425bf5(0x14a)]=_0x16e901,this[_0x425bf5(0x20b)][_0x425bf5(0x144)](_0x16e901,E['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x38d7ca=_0x1d4ed3,_0x283e6b=this[_0x38d7ca(0x22e)]['onPointerEnter$'][_0x38d7ca(0x166)](()=>{const _0x438e78=_0x38d7ca;this[_0x438e78(0x157)]=!0x0;}),_0x42fe7c=this[_0x38d7ca(0x22e)][_0x38d7ca(0x31d)][_0x38d7ca(0x166)](()=>{const _0x14665e=_0x38d7ca;this[_0x14665e(0x33f)]&&clearTimeout(this[_0x14665e(0x33f)]),this['_hideTimer']=setTimeout(()=>{const _0x3a5349=_0x14665e;this[_0x3a5349(0x157)]=!0x1;},0x7d0);});return()=>{const _0x38d0ff=_0x38d7ca;_0x283e6b[_0x38d0ff(0x321)](),_0x42fe7c[_0x38d0ff(0x321)]();};}[_0x1d4ed3(0x333)](_0x11f72a,_0x4dc128,_0x135f2d,_0x58f963){const _0x206302=_0x1d4ed3,_0xb3ab9a=new a[(_0x206302(0x2a0))](_0x11f72a)[_0x206302(0x2e9)](0.2)[_0x206302(0x301)](),_0x46a9ee=new p[(_0x206302(0x32d))](ht+a[_0x206302(0x2d3)][_0x206302(0x266)](k),{'pointsGroup':_0x4dc128,'fill':_0xb3ab9a||p[_0x206302(0x33b)](a['COLORS'][_0x206302(0x352)],0.2),'left':_0x135f2d,'top':_0x58f963,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x206302(0x19c)](_0x46a9ee),this['_scene'][_0x206302(0x144)](_0x46a9ee,E['TEXT_RANGE_LAYER_INDEX']);}[_0x1d4ed3(0x1eb)](_0x302894,_0x5c19dc,_0x15bceb,_0x3fe084){const _0x3fda4e=_0x1d4ed3,_0x11f794=new a[(_0x3fda4e(0x2a0))](_0x302894)[_0x3fda4e(0x2e9)](0.2)[_0x3fda4e(0x301)](),_0x51a077=new p[(_0x3fda4e(0x32d))](ut+a[_0x3fda4e(0x2d3)][_0x3fda4e(0x266)](k),{'pointsGroup':_0x5c19dc,'fill':_0x11f794||p[_0x3fda4e(0x33b)](a[_0x3fda4e(0x1b4)]['black'],0.2),'left':_0x15bceb,'top':_0x3fe084,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3fda4e(0x37b)][_0x3fda4e(0x19c)](_0x51a077),this[_0x3fda4e(0x20b)]['addObject'](_0x51a077,E[_0x3fda4e(0x282)]);}[_0x1d4ed3(0x12d)](_0x3f68df){const _0x149b84=_0x3f68df[0x0],_0x5f48e4=_0x149b84[0x0],_0x57690d=_0x149b84[0x2],{x:_0x1a9b61,y:_0xbc8eca}=_0x5f48e4,{x:_0x57f107,y:_0xea6168}=_0x57690d;return{'left':_0x1a9b61,'top':_0xbc8eca,'width':_0x57f107-_0x1a9b61,'height':_0xea6168-_0xbc8eca};}[_0x1d4ed3(0x132)](){const _0xaefec0=_0x1d4ed3,{scaleX:_0x23c397,scaleY:_0x37762a}=this[_0xaefec0(0x20b)]['getAncestorScale']();return Math[_0xaefec0(0x130)](_0x23c397,_0x37762a);}}var ft=Object[_0x1d4ed3(0x14e)],vt=(_0x2fd90e,_0x412107,_0x510a70,_0x3f0ebf)=>{const _0x7f318d=_0x1d4ed3;for(var _0x193f16=_0x3f0ebf>0x1?void 0x0:_0x3f0ebf?ft(_0x412107,_0x510a70):_0x412107,_0x12151d=_0x2fd90e[_0x7f318d(0x1ea)]-0x1,_0xb88842;_0x12151d>=0x0;_0x12151d--)(_0xb88842=_0x2fd90e[_0x12151d])&&(_0x193f16=_0xb88842(_0x193f16)||_0x193f16);return _0x193f16;},W=(_0x300bcb,_0xd0a47)=>(_0x55debf,_0x127479)=>_0xd0a47(_0x55debf,_0x127479,_0x300bcb);let fe=class extends a['RxDisposable']{constructor(_0x4a0ec1,_0x191d49,_0x1e94a4,_0xd6ef77,_0x91759e){const _0x4c17cf=_0x1d4ed3;super(),h(this,_0x4c17cf(0x26c),[]),h(this,_0x4c17cf(0x138),[]),(this[_0x4c17cf(0x153)]=_0x4a0ec1,this[_0x4c17cf(0x208)]=_0x191d49,this[_0x4c17cf(0x210)]=_0x1e94a4,this[_0x4c17cf(0x346)]=_0xd6ef77,this[_0x4c17cf(0x357)]=_0x91759e,this[_0x4c17cf(0x14b)]());}[_0x1d4ed3(0x14b)](){const _0x1dbbde=_0x1d4ed3,_0x35dea0=this['_context']['unitId'],_0x1f0dd0=this[_0x1dbbde(0x208)];this[_0x1dbbde(0x2dc)](d[_0x1dbbde(0x26f)]([this[_0x1dbbde(0x210)][_0x1dbbde(0x134)](_0x35dea0),this[_0x1dbbde(0x357)][_0x1dbbde(0x36d)]])['pipe']($[_0x1dbbde(0x319)](([_0x39e969,_0x38902f])=>({'skeleton':_0x1f0dd0[_0x1dbbde(0x15d)](),'cursors':[..._0x39e969[_0x1dbbde(0x2cc)]()][_0x1dbbde(0x2fd)](_0x279794=>({..._0x279794,'color':this['_themeService'][_0x1dbbde(0x209)](_0x279794[_0x1dbbde(0x32f)])}))})))[_0x1dbbde(0x221)](_0x206e7c=>{const _0x16cf86=_0x1dbbde;if(this[_0x16cf86(0x2c7)](),_0x206e7c){const {skeleton:_0x3807af,cursors:_0x47aa26}=_0x206e7c;this['_updateCollabCursors'](_0x3807af,_0x47aa26);}})),this['_initResize'](),this[_0x1dbbde(0x18e)]();}[_0x1d4ed3(0x1b2)](_0x2ce931,_0x3a2164){const _0x20d87b=_0x1d4ed3,{scene:_0x5afd90,mainComponent:_0x5d997e}=this[_0x20d87b(0x153)],_0x4234e3=_0x3a2164['map'](_0x236242=>new De(_0x236242,_0x5afd90,_0x2ce931,_0x5d997e));this['_cursorShapes']=_0x4234e3,this['_cursors']=_0x3a2164;}[_0x1d4ed3(0x20e)](){const _0xbadb1c=_0x1d4ed3;this[_0xbadb1c(0x2c7)]();const {scene:_0x54d9f2,mainComponent:_0x1d1288}=this[_0xbadb1c(0x153)],_0x196805=this[_0xbadb1c(0x208)][_0xbadb1c(0x15d)](),_0x37f19d=this[_0xbadb1c(0x138)][_0xbadb1c(0x319)](_0x1bff95=>new De(_0x1bff95,_0x54d9f2,_0x196805,_0x1d1288));this[_0xbadb1c(0x26c)]=_0x37f19d;}[_0x1d4ed3(0x2c7)](){const _0x216a5c=_0x1d4ed3;this['_cursorShapes'][_0x216a5c(0x34f)](_0x2a6b31=>_0x2a6b31[_0x216a5c(0x2ee)]()),this[_0x216a5c(0x26c)]=[];}[_0x1d4ed3(0x18e)](){const _0x4c283a=_0x1d4ed3,_0x57f043=[E['SetDocZoomRatioOperation']['id']];this[_0x4c283a(0x2dc)](this[_0x4c283a(0x346)][_0x4c283a(0x1bf)](_0x333843=>{const _0x56bd6b=_0x4c283a;_0x57f043[_0x56bd6b(0x279)](_0x333843['id'])&&_0x333843[_0x56bd6b(0x20a)]['unitId']===this[_0x56bd6b(0x153)][_0x56bd6b(0x3aa)]&&this[_0x56bd6b(0x20e)]();}));}[_0x1d4ed3(0x22b)](){const _0x54a332=_0x1d4ed3;this[_0x54a332(0x2dc)](a[_0x54a332(0x1ec)](this[_0x54a332(0x153)]['engine'][_0x54a332(0x203)])['pipe']($[_0x54a332(0x14f)](_0x50dfc1=>_0x50dfc1[_0x54a332(0x322)]===p[_0x54a332(0x259)][_0x54a332(0x2f8)]),$[_0x54a332(0x1b0)](0x10))['subscribe'](()=>{const _0x48d391=_0x54a332;this[_0x48d391(0x20e)]();}));}};fe=vt([W(0x1,a[_0x1d4ed3(0x39d)](Y['DocSkeletonManagerService'])),W(0x2,a[_0x1d4ed3(0x39d)](x)),W(0x3,a[_0x1d4ed3(0x2b1)]),W(0x4,a[_0x1d4ed3(0x39d)](a[_0x1d4ed3(0x314)]))],fe);const gt=0x1,mt=1.5;class we extends p[_0x1d4ed3(0x1a3)]{constructor(_0x5c754a,_0x2a3cd4){const _0x346565=_0x1d4ed3;super(_0x5c754a,_0x2a3cd4),h(this,_0x346565(0x3a4)),h(this,'_hovered',!0x1),h(this,_0x346565(0x398)),h(this,_0x346565(0x387),''),h(this,_0x346565(0x37e),'top'),h(this,_0x346565(0x334)),(_0x2a3cd4&&this[_0x346565(0x172)](_0x2a3cd4),this['onPointerEnter$'][_0x346565(0x166)](()=>this[_0x346565(0x172)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x346565(0x172)]({'hovered':!0x1})));}['setShapeProps'](_0x9ef844){const _0x41d131=_0x1d4ed3;var _0x3c1d6d,_0x4ed709,_0x51517b,_0x434a34,_0x3c2de2,_0x730010;this[_0x41d131(0x3a4)]=(_0x3c1d6d=_0x9ef844[_0x41d131(0x32f)])!=null?_0x3c1d6d:this[_0x41d131(0x3a4)],this['_hovered']=(_0x4ed709=_0x9ef844[_0x41d131(0x1b3)])!=null?_0x4ed709:this[_0x41d131(0x34e)],this[_0x41d131(0x398)]=(_0x51517b=_0x9ef844[_0x41d131(0x362)])!=null?_0x51517b:this['_range'],this[_0x41d131(0x387)]=(_0x434a34=_0x9ef844[_0x41d131(0x18f)])!=null?_0x434a34:this[_0x41d131(0x387)],this['_labelPosition']=(_0x3c2de2=_0x9ef844['labelPosition'])!=null?_0x3c2de2:this[_0x41d131(0x37e)],this[_0x41d131(0x334)]=(_0x730010=_0x9ef844['backgroundColor'])!=null?_0x730010:this[_0x41d131(0x334)],this[_0x41d131(0x316)]({'width':_0x9ef844[_0x41d131(0x1d4)],'height':_0x9ef844[_0x41d131(0x1de)]});}[_0x1d4ed3(0x315)](_0x1c3cbd){const _0xf7ac2=_0x1d4ed3,{row:_0x16f105,column:_0x1d8df0}=_0x1c3cbd;if(_0x16f105>=this[_0xf7ac2(0x398)][_0xf7ac2(0x372)]&&_0x16f105<=this[_0xf7ac2(0x398)][_0xf7ac2(0x1a5)]&&_0x1d8df0>=this[_0xf7ac2(0x398)][_0xf7ac2(0x14c)]&&_0x1d8df0<=this[_0xf7ac2(0x398)][_0xf7ac2(0x26e)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0xf7ac2(0x172)]({'hovered':!0x1});}[_0x1d4ed3(0x13e)](_0x5f55f5){return!0x1;}[_0x1d4ed3(0x236)](_0x3d381b){const _0x172243=_0x1d4ed3;p[_0x172243(0x12a)][_0x172243(0x305)](_0x3d381b,{'width':this[_0x172243(0x1d4)],'height':this[_0x172243(0x1de)],'strokeWidth':mt,'stroke':this[_0x172243(0x3a4)],'evented':!0x1,'fill':this[_0x172243(0x334)]}),this[_0x172243(0x34e)]&&(_0x3d381b[_0x172243(0x1e1)](),_0x3d381b['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x172243(0x37e)]===_0x172243(0x294)?0x0:-0x14),ee[_0x172243(0x305)](_0x3d381b,{'text':this['_name'],'color':this[_0x172243(0x3a4)]}),_0x3d381b['restore']());}}var Ct=Object[_0x1d4ed3(0x14e)],pt=(_0x1e9571,_0x4442e7,_0x2c02c8,_0x1d2b95)=>{const _0x307a72=_0x1d4ed3;for(var _0x4b7f8e=_0x1d2b95>0x1?void 0x0:_0x1d2b95?Ct(_0x4442e7,_0x2c02c8):_0x4442e7,_0x2b1b97=_0x1e9571[_0x307a72(0x1ea)]-0x1,_0x8d1437;_0x2b1b97>=0x0;_0x2b1b97--)(_0x8d1437=_0x1e9571[_0x2b1b97])&&(_0x4b7f8e=_0x8d1437(_0x4b7f8e)||_0x4b7f8e);return _0x4b7f8e;},ae=(_0x39aebc,_0x28e935)=>(_0x19ee27,_0x2a5dc9)=>_0x28e935(_0x19ee27,_0x2a5dc9,_0x39aebc);const Et=0x1389;let ve=class extends a[_0x1d4ed3(0x263)]{constructor(_0x2b57db,_0x3ad4c8,_0xd79cd0,_0x141e0e){const _0x3edeb1=_0x1d4ed3;super(),h(this,_0x3edeb1(0x138),new Set()),h(this,_0x3edeb1(0x14d),null),(this[_0x3edeb1(0x153)]=_0x2b57db,this[_0x3edeb1(0x291)]=_0x3ad4c8,this['_collabCursorController']=_0xd79cd0,this[_0x3edeb1(0x357)]=_0x141e0e,this['_init']());}['_init'](){const _0x3ce256=_0x1d4ed3;this[_0x3ce256(0x291)][_0x3ce256(0x311)][_0x3ce256(0x2e0)]($[_0x3ce256(0x1f1)](this[_0x3ce256(0x1a2)]),$[_0x3ce256(0x38f)](_0x25c1af=>{const _0x274acd=_0x3ce256;if(_0x25c1af){const _0x244d08=_0x25c1af[_0x274acd(0x290)];return d[_0x274acd(0x26f)](this[_0x274acd(0x210)][_0x274acd(0x134)](this[_0x274acd(0x153)][_0x274acd(0x3aa)]),this[_0x274acd(0x357)][_0x274acd(0x36d)])[_0x274acd(0x2e0)]($[_0x274acd(0x319)](([_0xfe7dad,_0x28daa8])=>{const _0x2738e5=_0x274acd,_0xe6ee0=new Map();return _0xfe7dad[_0x2738e5(0x34f)]((_0x549e75,_0x1b0603)=>{const _0x398092=_0x2738e5;if(_0x549e75[_0x398092(0x1bc)]===_0x244d08){const _0x285f03={..._0x549e75};_0x285f03[_0x398092(0x32f)]=this[_0x398092(0x357)][_0x398092(0x209)](_0x549e75[_0x398092(0x32f)]),_0xe6ee0[_0x398092(0x318)](_0x1b0603,_0x285f03);}}),{'skeleton':_0x25c1af,'cursors':_0xe6ee0};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x3ce256(0x221)](({skeleton:_0x171f73,cursors:_0x4b4cb0})=>{const _0xefaebb=_0x3ce256;this[_0xefaebb(0x2c7)](),_0x171f73&&this[_0xefaebb(0x1b2)](_0x171f73,_0x4b4cb0);}),this[_0x3ce256(0x291)][_0x3ce256(0x311)][_0x3ce256(0x221)](_0x59a87c=>{const _0x4a6f14=_0x3ce256;if(_0x59a87c==null)return;const {skeleton:_0x1314c4}=_0x59a87c,{scene:_0x5d51b0}=this[_0x4a6f14(0x153)];_0x5d51b0[_0x4a6f14(0x39a)][_0x4a6f14(0x166)](a[_0x4a6f14(0x275)](_0x52cbb0=>{const _0x261ebf=_0x4a6f14;var _0x2dee16,_0x3bda31;const {offsetX:_0x5ac403,offsetY:_0x4eda06}=_0x52cbb0,{x:_0x59707a,y:_0x323fef}=_0x5d51b0['getRelativeToViewportCoord'](p[_0x261ebf(0x24b)][_0x261ebf(0x1a8)]([_0x5ac403,_0x4eda06])),{scaleX:_0x1d691e,scaleY:_0x1be2e6}=_0x5d51b0[_0x261ebf(0x363)](),_0xcae526=_0x5d51b0[_0x261ebf(0x26b)](p['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x12dc5b=_0x5d51b0[_0x261ebf(0x292)](p['Vector2'][_0x261ebf(0x1a8)]([_0x59707a,_0x323fef]),_0xcae526),_0x43d868=_0x1314c4['getCellPositionByOffset'](_0x5ac403,_0x4eda06,_0x1d691e,_0x1be2e6,_0x12dc5b);((_0x2dee16=this[_0x261ebf(0x14d)])==null?void 0x0:_0x2dee16[_0x261ebf(0x27d)])===_0x43d868[_0x261ebf(0x27d)]&&((_0x3bda31=this[_0x261ebf(0x14d)])==null?void 0x0:_0x3bda31['row'])===_0x43d868[_0x261ebf(0x30e)]||this[_0x261ebf(0x138)][_0x261ebf(0x34f)](_0x50ef59=>{const _0x4b0121=_0x261ebf;_0x50ef59[_0x4b0121(0x315)](_0x43d868);});},0x64));});}[_0x1d4ed3(0x1b2)](_0x13e730,_0x4b586f){const _0x2c1d23=_0x1d4ed3;var _0x578d41;const _0x49170a=(_0x578d41=this[_0x2c1d23(0x291)]['getCurrent']())==null?void 0x0:_0x578d41[_0x2c1d23(0x1fe)];if(!_0x49170a)return;const _0x508a4c=this[_0x2c1d23(0x1c8)]();if(!_0x508a4c)return;this[_0x2c1d23(0x138)][_0x2c1d23(0x34f)](_0x2a864d=>{const _0x41b576=_0x2c1d23;_0x2a864d[_0x41b576(0x2d6)]();});const {scene:_0x4b258f}=_0x508a4c,_0x551239=bt(Array[_0x2c1d23(0x331)](_0x4b586f[_0x2c1d23(0x2cc)]()))['map'](_0x4b4ac8=>{const _0x28f00e=_0x2c1d23,{color:_0x4310c3,range:_0x583f09,name:_0x292f83,selection:_0x1e8383,sheetID:_0x28da55}=_0x4b4ac8,{startColumn:_0xc1edbf,startRow:_0x17ecbf,endColumn:_0x3fc375,endRow:_0x414d9a}=_0x583f09,_0x171477=X[_0x28f00e(0x16f)](_0x17ecbf,_0xc1edbf,_0x4b258f,_0x49170a),_0x3fd93e=X[_0x28f00e(0x16f)](_0x414d9a,_0x3fc375,_0x4b258f,_0x49170a),{columnHeaderHeightAndMarginTop:_0x2ae91e}=_0x49170a,{startX:_0x1a1118,startY:_0xec2c61}=_0x171477,{endX:_0x4fb548,endY:_0xfef364}=_0x3fd93e,_0x2fbe01=_0x4fb548-_0x1a1118,_0x5d6d7e=_0xfef364-_0xec2c61,_0x10ea61={'labelPosition':_0xec2c61-_0x2ae91e>=K?_0x28f00e(0x32a):_0x28f00e(0x294),'sheetID':_0x28da55,'range':_0x583f09,'color':_0x4310c3,'name':_0x292f83,'selection':_0x1e8383,'left':_0x1a1118,'top':_0xec2c61,'width':_0x2fbe01,'height':_0x5d6d7e,'evented':!0x1,'zIndex':Et};return new we(_0x292f83,_0x10ea61);});_0x4b258f['addObjects'](_0x551239,gt),this[_0x2c1d23(0x138)]=new Set(_0x551239);}['_removeCollabCursors'](){const _0x1c0486=_0x1d4ed3;var _0x536192;(_0x536192=this['_cursors'])==null||_0x536192[_0x1c0486(0x34f)](_0x2430f7=>_0x2430f7[_0x1c0486(0x2ee)]());}[_0x1d4ed3(0x1c8)](){const _0x401d9c=_0x1d4ed3;return X[_0x401d9c(0x2ba)](this['_context'][_0x401d9c(0x2ac)],this[_0x401d9c(0x153)]);}};ve=pt([ae(0x1,a[_0x1d4ed3(0x39d)](X[_0x1d4ed3(0x1c0)])),ae(0x2,a[_0x1d4ed3(0x39d)](x)),ae(0x3,a[_0x1d4ed3(0x39d)](a[_0x1d4ed3(0x314)]))],ve);function bt(_0x15e925){const _0x4a48d8=_0x1d4ed3,_0x32aa3c=new Map();return _0x15e925[_0x4a48d8(0x34f)](_0x7c3c0e=>{const _0x38ab8c=_0x4a48d8;if(_0x32aa3c[_0x38ab8c(0x390)](_0x7c3c0e[_0x38ab8c(0x1c9)])){const _0x3c9941=_0x32aa3c[_0x38ab8c(0x1f3)](_0x7c3c0e['selection']);_0x3c9941[_0x38ab8c(0x18f)]+=',\x20'+_0x7c3c0e['name'];}else _0x32aa3c[_0x38ab8c(0x318)](_0x7c3c0e[_0x38ab8c(0x1c9)],_0x7c3c0e);}),Array['from'](_0x32aa3c[_0x4a48d8(0x2cc)]());}var b=function(){const _0x838ba2=_0x1d4ed3;return b=Object[_0x838ba2(0x2d4)]||function(_0x519b95){const _0x4a262c=_0x838ba2;for(var _0x1d8bd8,_0x1b0246=0x1,_0x377d72=arguments[_0x4a262c(0x1ea)];_0x1b0246<_0x377d72;_0x1b0246++){_0x1d8bd8=arguments[_0x1b0246];for(var _0x825cdc in _0x1d8bd8)Object[_0x4a262c(0x204)]['hasOwnProperty'][_0x4a262c(0x1be)](_0x1d8bd8,_0x825cdc)&&(_0x519b95[_0x825cdc]=_0x1d8bd8[_0x825cdc]);}return _0x519b95;},b[_0x838ba2(0x29c)](this,arguments);},Ot=function(_0xc0b404,_0x5bc549){const _0x12ace7=_0x1d4ed3;var _0x253490={};for(var _0x2480de in _0xc0b404)Object[_0x12ace7(0x204)][_0x12ace7(0x226)]['call'](_0xc0b404,_0x2480de)&&_0x5bc549[_0x12ace7(0x137)](_0x2480de)<0x0&&(_0x253490[_0x2480de]=_0xc0b404[_0x2480de]);if(_0xc0b404!=null&&typeof Object[_0x12ace7(0x148)]==_0x12ace7(0x37d)){for(var _0x37a1ee=0x0,_0x2480de=Object['getOwnPropertySymbols'](_0xc0b404);_0x37a1ee<_0x2480de['length'];_0x37a1ee++)_0x5bc549['indexOf'](_0x2480de[_0x37a1ee])<0x0&&Object[_0x12ace7(0x204)][_0x12ace7(0x222)][_0x12ace7(0x1be)](_0xc0b404,_0x2480de[_0x37a1ee])&&(_0x253490[_0x2480de[_0x37a1ee]]=_0xc0b404[_0x2480de[_0x37a1ee]]);}return _0x253490;},pe=M[_0x1d4ed3(0x18c)](function(_0x1d8385,_0x307d35){const _0x311831=_0x1d4ed3;var _0x46375d=_0x1d8385[_0x311831(0x2fa)],_0x499730=_0x1d8385['id'],_0x5d48e7=_0x1d8385[_0x311831(0x1e9)],_0x28b5b9=_0x1d8385[_0x311831(0x295)],_0x5a6168=Ot(_0x1d8385,[_0x311831(0x2fa),'id',_0x311831(0x1e9),_0x311831(0x295)]),_0x185f8d=_0x311831(0x25d)['concat'](_0x499730,'\x20')[_0x311831(0x1d1)](_0x5d48e7||'')[_0x311831(0x181)](),_0x4e11b3=M[_0x311831(0x36e)]('_'['concat'](Dt()));return Ae(_0x46375d,''[_0x311831(0x1d1)](_0x499730),{'defIds':_0x46375d['defIds'],'idSuffix':_0x4e11b3[_0x311831(0x162)]},b({'ref':_0x307d35,'className':_0x185f8d},_0x5a6168),_0x28b5b9);});function Ae(_0x26ccf7,_0x525163,_0x5e366b,_0x158b75,_0x11006f){const _0x15a8e1=_0x1d4ed3;return M['createElement'](_0x26ccf7[_0x15a8e1(0x397)],b(b({'key':_0x525163},Tt(_0x26ccf7,_0x5e366b,_0x11006f)),_0x158b75),(Rt(_0x26ccf7,_0x5e366b)['children']||[])[_0x15a8e1(0x319)](function(_0x196f90,_0x2a1575){const _0x11ccb9=_0x15a8e1;return Ae(_0x196f90,''[_0x11ccb9(0x1d1)](_0x525163,'-')[_0x11ccb9(0x1d1)](_0x26ccf7[_0x11ccb9(0x397)],'-')[_0x11ccb9(0x1d1)](_0x2a1575),_0x5e366b,void 0x0,_0x11006f);}));}function Tt(_0x5f4cdf,_0x511ae2,_0x297ae5){const _0x1f9375=_0x1d4ed3;var _0x5dda4b=b({},_0x5f4cdf[_0x1f9375(0x202)]);_0x297ae5!=null&&_0x297ae5['colorChannel1']&&_0x5dda4b['fill']===_0x1f9375(0x211)&&(_0x5dda4b[_0x1f9375(0x27f)]=_0x297ae5[_0x1f9375(0x211)]),_0x5f4cdf[_0x1f9375(0x397)]===_0x1f9375(0x154)&&_0x5dda4b['id']&&(_0x5dda4b['id']=_0x5dda4b['id']+_0x511ae2[_0x1f9375(0x198)]),Object['entries'](_0x5dda4b)['forEach'](function(_0x10b142){const _0x577081=_0x1f9375;var _0x554d6b=_0x10b142[0x0],_0xcf2dce=_0x10b142[0x1];_0x554d6b===_0x577081(0x154)&&typeof _0xcf2dce==_0x577081(0x2fb)&&(_0x5dda4b[_0x554d6b]=_0xcf2dce[_0x577081(0x35e)](/url\(#(.*)\)/,'url(#$1'[_0x577081(0x1d1)](_0x511ae2[_0x577081(0x198)],')')));});var _0xdc8de9=_0x511ae2['defIds'];return!_0xdc8de9||_0xdc8de9[_0x1f9375(0x1ea)]===0x0||(_0x5f4cdf[_0x1f9375(0x397)]===_0x1f9375(0x350)&&_0x5dda4b[_0x1f9375(0x336)]&&(_0x5dda4b[_0x1f9375(0x336)]=_0x5dda4b[_0x1f9375(0x336)]+_0x511ae2[_0x1f9375(0x198)]),Object[_0x1f9375(0x285)](_0x5dda4b)[_0x1f9375(0x34f)](function(_0x2b40dc){const _0x5c0870=_0x1f9375;var _0x2c38c6=_0x2b40dc[0x0],_0x4a101d=_0x2b40dc[0x1];typeof _0x4a101d==_0x5c0870(0x2fb)&&(_0x5dda4b[_0x2c38c6]=_0x4a101d['replace'](/url\(#(.*)\)/,_0x5c0870(0x2d8)['concat'](_0x511ae2[_0x5c0870(0x198)],')')));})),_0x5dda4b;}function Rt(_0x589a5a,_0x73a7d7){const _0x184d9d=_0x1d4ed3;var _0x3e9c73,_0x441a64=_0x73a7d7[_0x184d9d(0x27e)];return!_0x441a64||_0x441a64[_0x184d9d(0x1ea)]===0x0?_0x589a5a:_0x589a5a[_0x184d9d(0x397)]===_0x184d9d(0x16d)&&(!((_0x3e9c73=_0x589a5a[_0x184d9d(0x193)])===null||_0x3e9c73===void 0x0)&&_0x3e9c73[_0x184d9d(0x1ea)])?b(b({},_0x589a5a),{'children':_0x589a5a[_0x184d9d(0x193)][_0x184d9d(0x319)](function(_0x48388b){const _0x3ee37a=_0x184d9d;return typeof _0x48388b['attrs']['id']=='string'&&_0x441a64&&_0x441a64[_0x3ee37a(0x279)](_0x48388b[_0x3ee37a(0x202)]['id'])?b(b({},_0x48388b),{'attrs':b(b({},_0x48388b[_0x3ee37a(0x202)]),{'id':_0x48388b[_0x3ee37a(0x202)]['id']+_0x73a7d7['idSuffix']})}):_0x48388b;})}):_0x589a5a;}function Dt(){const _0xb47e7b=_0x1d4ed3;return Math[_0xb47e7b(0x1c2)]()[_0xb47e7b(0x2df)](0x24)[_0xb47e7b(0x2b6)](0x2,0x8);}pe['displayName']='UniverIcon';var Ut={'tag':_0x1d4ed3(0x2f5),'attrs':{'xmlns':_0x1d4ed3(0x377),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1d4ed3(0x15f)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d4ed3(0x391)},'children':[{'tag':_0x1d4ed3(0x393),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x1d4ed3(0x1b7),'strokeWidth':1.2}}]},{'tag':_0x1d4ed3(0x16d),'attrs':{},'children':[{'tag':_0x1d4ed3(0x38a),'attrs':{'id':_0x1d4ed3(0x12b)},'children':[{'tag':_0x1d4ed3(0x393),'attrs':{'fill':'white','d':_0x1d4ed3(0x267)}}]}]}],'defIds':[_0x1d4ed3(0x12b)]},ye=M[_0x1d4ed3(0x18c)](function(_0x32b1b7,_0x2f8176){const _0x43bf9c=_0x1d4ed3;return M[_0x43bf9c(0x27b)](pe,Object[_0x43bf9c(0x2d4)]({},_0x32b1b7,{'id':_0x43bf9c(0x304),'ref':_0x2f8176,'icon':Ut}));});ye[_0x1d4ed3(0x1e0)]=_0x1d4ed3(0x258);var Nt={'tag':_0x1d4ed3(0x2f5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1d4ed3(0x3ab),'viewBox':_0x1d4ed3(0x302),'width':_0x1d4ed3(0x15f),'height':_0x1d4ed3(0x15f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x1d4ed3(0x393),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x1d4ed3(0x1b7),'strokeWidth':1.2}}]},{'tag':_0x1d4ed3(0x16d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1d4ed3(0x368)},'children':[{'tag':_0x1d4ed3(0x393),'attrs':{'fill':_0x1d4ed3(0x29e),'d':'M0\x200H16V16H0z','transform':_0x1d4ed3(0x26d)}}]}]}],'defIds':[_0x1d4ed3(0x368)]},$e=M['forwardRef'](function(_0x2c5008,_0x1aa4d7){const _0x2b86d7=_0x1d4ed3;return M[_0x2b86d7(0x27b)](pe,Object[_0x2b86d7(0x2d4)]({},_0x2c5008,{'id':_0x2b86d7(0x13a),'ref':_0x1aa4d7,'icon':Nt}));});$e[_0x1d4ed3(0x1e0)]=_0x1d4ed3(0x159);function Mt(_0x4a2ab7){const _0x1c6f87=_0x1d4ed3;switch(_0x4a2ab7){case u[_0x1c6f87(0x28c)]['OFFLINE']:return _0x1c6f87(0x345);case u[_0x1c6f87(0x28c)][_0x1c6f87(0x2ef)]:return _0x1c6f87(0x270);case u[_0x1c6f87(0x28c)][_0x1c6f87(0x24d)]:return'collabStatus.fetchMiss';case u['CollaborationStatus'][_0x1c6f87(0x133)]:return _0x1c6f87(0x218);case u[_0x1c6f87(0x28c)]['AWAITING']:case u['CollaborationStatus'][_0x1c6f87(0x359)]:return _0x1c6f87(0x2f1);case u[_0x1c6f87(0x28c)][_0x1c6f87(0x21d)]:case u['CollaborationStatus'][_0x1c6f87(0x2c6)]:return _0x1c6f87(0x227);}}function xe(_0x2aba64){const _0x5ed28e=_0x1d4ed3,{status$:_0x4e648a}=_0x2aba64,_0xbc86af=O['useObservable'](_0x4e648a,u[_0x5ed28e(0x28c)][_0x5ed28e(0x133)]),_0x20c90b=O[_0x5ed28e(0x1f2)](a['LocaleService']),_0x43919f=O[_0x5ed28e(0x1f2)](u[_0x5ed28e(0x374)]),_0x1d884c=_0xbc86af!==u[_0x5ed28e(0x28c)][_0x5ed28e(0x12c)],_0x1f8aca=_0x20c90b['t'](Mt(_0xbc86af)),_0x94531=_0x1d884c?P[_0x5ed28e(0x1e5)]($e,{}):P['jsx'](ye,{}),_0x2a9232=M['useCallback'](()=>{_0x1d884c||_0x43919f['reconnect']();},[_0x1d884c,_0x43919f]);function _0x14d96b(){const _0x4eec37=_0x5ed28e;return P[_0x4eec37(0x141)](_0x4eec37(0x2bf),{'className':'univer-flex\x20univer-items-center','onClick':_0x2a9232,'children':[P[_0x4eec37(0x1e5)](_0x4eec37(0x2bf),{'className':D[_0x4eec37(0x1c5)](_0x4eec37(0x1b1),{'univer-text-green-500':_0x1d884c,'univer-text-red-500':!_0x1d884c}),'children':_0x94531}),P[_0x4eec37(0x1e5)](_0x4eec37(0x2bf),{'className':_0x4eec37(0x2d5),'children':_0x1f8aca})]});}return _0x1d884c?_0x14d96b():P[_0x5ed28e(0x1e5)](D[_0x5ed28e(0x169)],{'title':_0x20c90b['t'](_0x5ed28e(0x260)),'children':_0x14d96b()});}var Lt=Object[_0x1d4ed3(0x14e)],Pt=(_0x5ec91c,_0x367523,_0x8ae4ba,_0x2c5aab)=>{const _0x48874d=_0x1d4ed3;for(var _0x2d6f4b=_0x2c5aab>0x1?void 0x0:_0x2c5aab?Lt(_0x367523,_0x8ae4ba):_0x367523,_0x4e986c=_0x5ec91c[_0x48874d(0x1ea)]-0x1,_0x10b3fb;_0x4e986c>=0x0;_0x4e986c--)(_0x10b3fb=_0x5ec91c[_0x4e986c])&&(_0x2d6f4b=_0x10b3fb(_0x2d6f4b)||_0x2d6f4b);return _0x2d6f4b;},V=(_0x12480c,_0x323e68)=>(_0x2502d1,_0x20eb7b)=>_0x323e68(_0x2502d1,_0x20eb7b,_0x12480c);function _0x5c8f(){const _0x3a6783=['sessionTicket','width','MessageType','USER_NOT_INVITED_CODE','YUUMI_UNABLE_LOAD_URL','saveTaskMap','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','permission.content','CollaborationController','getTypeOfUnitAdded$','createInstance','height','transformMutation','displayName','save','RECT','DOC_RANGE_TYPE','JOIN_ROOM_FAILED','jsx','editingUnit','data','RevisionService','className','length','_drawRectRange','fromEventSubject','_saveCache','NOT_FOUND','setParam','_beforeCloseService','takeUntil','useDependency','get','replaceState','WebSocketService','EffectRefRangId','_initStatusListener','getSheetBySheetId','toStringTag','LOGIN_FAILED','UniverCollaborationClientUIPlugin','ticket','registerDependencies','skeleton','transformSelections','ranges','Error','attrs','onTransformChange$','prototype','_eventUnsubscribe','getCurrentUnitForType','getCollabEntity$','_docSkeletonManagerService','getColorFromTheme','params','_scene','_updateURLWithCurrentState','NO_OTHER_CLIENTS_EDITING','_refreshCollabCursors','_toggleOnline','_collabCursorController','colorChannel1','isEditing','_clearOtherTimers','ONLINE','getRenderById','size','WECHAT_HAS_BEEN_BOUND','collabStatus.notCollab','_updateSubUnitFromURLParams','_collaborationController','subunit','pushState','SYNCED','getCurrentSelections','APPLY_PERMISSION_DENIED','_refRangeService','subscribe','propertyIsEnumerable','disposeUnit','getConfig','onRendered','hasOwnProperty','collabStatus.synced','DataLoaderService','_collabCursorState$','unload','_initResize','location','COMPLETION_FINISHED','_anchor','m2Prime','SetWorksheetActivateCommand','clearTimeout','handleInsertRow','collaboration-client.offline-data-not-saved','_memberService','_ensureSubject','_draw','CollaborationEvent','Rectangle','origin','IBeforeCloseService','_collaborationUIEventService','_colorAssignService','application/json','blue.400','_onCursorUpdate','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','popstate','ENSURE_SNAPSHOT_EXECUTION','loadUnit','_getSessionTicket','LOCAL_CACHE_INTERVAL_KEY','getOffsetConfig','_unitOnClients','_docTransformSelectionsService','handleIRemoveRow','Disposable','Vector2','UnitStatus','FETCH_MISS','YUUMI_ASYNCIO_CANCELLED','IRenderManagerService','startsWith','PERMISSION_DENIED','_id','_notificationService','send','jiqing.500','wsSessionTicketUrl','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','OffLineIcon','TRANSFORM_CHANGE_OBSERVABLE_TYPE','LICENSE_DISTRO_REJECTED','CONNECTOR_DATA_TOO_LARGE','Unknown\x20user','univerjs-icon\x20univerjs-icon-','IDocClipboardService','deepClone','collab-client.tooltip.reconnect','NodePositionConvertToCursor','post','RxDisposable','_initDependencies','add','generateRandomId','M0\x200H16V16H0z','error','Warning','handleDeleteRangeMoveUp','getViewport','_cursorShapes','translate(.97)','endColumn','combineLatest','collabStatus.conflict','findNodePositionByCharIndex','uni.network.url-service','text','_handleEvent','debounce','_univerInstanceService','hide','cursorInfo$','includes','mergeOverrideWithDependencies','createElement','doc.mutation.rich-text-editing','column','defIds','fill','_docTransformIMECacheService','handleInsertCol','TEXT_RANGE_LAYER_INDEX','RemoveRowCommandId','connectInjector','entries','YUUMI_AI_RUN_FAILED','CollaborationUIEventId','IRemoteInstanceService','then','SNAPSHOT_INVALID_SNAPSHOT','permission.title','CollaborationStatus','_configService','setTimeout','registerBeforeClose','sheetId','_sheetSkeletonManagerService','getVpScrollXYInfoByPosToVp','RemoveColCommandId','bottom','extend','runOnServer','addHandlerCallback','syncEditingCollabCursor','INVITE_CODE_HAS_BEEN_UES','_cursor','RemoteUniscriptService','apply','_scheduleSaving','white','eventID','ColorKit','YUUMI_RATE_OVER_LIMIT','assignAColorForMemberID','session.connection-failed','restore','INotificationService','DeleteRangeMoveLeftCommandId','DependentOn','m1Prime','getLocalCacheKey','_unitStatus','shareReplay','unit','closePath','init','_imageIoService','_docTransformStateCacheService','ICommandService','_logService','debug','_session','SNAPSHOT_HAS_BEEN_REMOVED','substring','fillStyle','DocSelectionManagerService','WebBrowserSingleActiveUnitService','getSheetObject','USERS_LEAVE','PY_RUNTIME_SCRIPT_ERROR','_transformPreviousActiveRange','_selfUnitIDs','div','onLocalMutation','DesktopCollaborationStatusDisplayController','HTTPService','3015221IUMiOp','DocIMEInputManagerService','CollaborationStatusDisplay','PENDING','_removeCollabCursors','INVITE_CODE_ALREADY_BOUND','6648TiHRdM','with','_messageService','values','_heartbeatTimer','[RemoteUniscriptService]:\x20no\x20focused\x20unit','SOCKET_FAILED','BrowserCollaborationSocketService','setUndoRedoMutationParamsCache','_scheduleClearOtherTimer','Tools','assign','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','makeDirty','UNIVER_DOC','url(#$1','YUUMI_TABLE_NOT_FOUND_IN_UNIT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','searchParams','disposeWithMe','arc','Optional','toString','pipe','executeCommand','DeleteRangeMoveUpCommandId','_config','mutations','_assignedColors','CHANGESET_REVISION_CONFILICT','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_onRefRangeChange','setAlpha','UPDATE_CURSOR','parse','Injector','registerRefRange','dispose','CONFLICT','_send','collabStatus.syncing','getParam','_uiPartsService','YUUMI_ALL_TABLES_IS_INVALID','svg','_urlService','collaboration.closeRoom','resize','textRanges','icon','string','OTHER_CLIENT_EDITING','flatMap','body','MemberService','LICENSE_EXPORT_SIZE_EXCEEDED','toRgbString','0\x200\x2017\x2016','APPLY_REVISION_CONFILICT','off-line-icon','drawWith','getUnitStatus$','WebURLService','history','undoState','search','stringify','_handleJoinEvent','DocCollaborationEntity','row','getMemberID','focused$','currentSkeleton$','BuiltInUIPart','_createSocketURL','ThemeService','onMouseMove','transformByState','_toggleOffline','set','map','TOO_MANY_REQUESTS','YUUMI_URL_COL_OUT_OF_RANGE','clearInterval','onPointerLeave$','getUnitId','createIdentifier','UNAUTHENTICATED','unsubscribe','type','_registerDependencies','roomMembers','SetTextSelectionsOperation','setStateCache','CommandType','handleMoveRange','69mPlZji','top','getUnhiddenWorksheets','_docStateChangeManagerService','RegularPolygon','unshift','color','MoveRangeCommandId','from','IMessageService','_drawTextRange','_backgroundColor','getSheetId','xlink:href','...','getDocRanges','_handleLeaveEvent','_roomMembers$','getColor','show','entityInit$','SheetCollabCursorShape','_hideTimer','DEFAULT_WS_SESSION_TICKET_URL','registerRenderModule','min','getTypeOfUnitDisposed$','collab-text-anchor-','collabStatus.offline','_commandService','_anchorDot','docStateChange$','find','_instanceService','UNIVER_SHEET','InsertRangeMoveRightCommandId','ILocalStorageService','_hovered','forEach','use','beginPath','black','_initStatusComponent','IConfigService','collaboration.single-unit.warning','IUniverInstanceService','_themeService','7517799umGHsG','AWAITING_WITH_PENDING','InsertColCommandId','getFocusedUnit','merge','redoState','replace','MUTATION','complete','_revisionService','range','getAncestorScale','setItem','mapTo','1626138nFuNzu','transformRemoteChangeset','on-line-icon_clip0_910_349','SessionStatus','getValue','LICENSE_IMPORT_SIZE_EXCEEDED','INVITE_CODE_REQUIRED','currentTheme$','useRef','146504DWNlXw','whenReady','pluginName','startRow','getUndoRedoMutationParamsCache','CollaborationSessionService','_renderManagerService','INTERNAL_ERROR','http://www.w3.org/2000/svg','_cachedData','invokeId','UniverInstanceType','_shapes','_collabSessionService','function','_labelPosition','collaboration-client-ui.config','removeParam','CollaborationDataLoaderController','_docClipboardService','symbol','transformMutationsWithChangeset','INVALID_ARGUMENT','runRefRangeMutations','_name','SUBMIT_CHANGESET_TIMEOUT','isArray','clipPath','YUUMI_CONNECTOR_URL_NOT_FOUND','next','event$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','switchMap','has','url(#off-line-icon_clip0_910_343)','urlChange$','path','OTHER_CLIENTS_EDITING','IUIPartsService','_cursorInfo$','tag','_range','DocStateChangeManagerService','onPointerMove$','_removeClearOtherTimer','APPLY_REJECT','Inject','fillText','disableLocalCache','getMergeData','selections','Failed','isTransformMutationFailure','_color','_dataLoaderService','_startSheetCollabCursor','getCurrentRevOfUnit','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_entities','unitId','none','getStateCache','Rect','off-line-icon_clip0_910_343','OFFLINE','_getAnchorBounding','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_NO_CUBOID_FOR_QUESTION','max','_entityInit$','_getScale','NOT_COLLAB','getCollabCursors$','result','_disabled','indexOf','_cursors','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','on-line-icon','BehaviorSubject','deserializeRangeWithSheet','some','triggerDblclick','distinctUntilChanged','_setupBeforeClosingHandler','jsxs','_localStorageService','newValue','addObject','ISnapshotServerService','_getSaveTimeout','fromEvent','getOwnPropertySymbols','15721212LTJKHt','_textBubble','_init','startColumn','_lastPointer','getOwnPropertyDescriptor','filter','getMember','_onCursorDelete','toDisposable','_context','mask','ALREADY_EXISTS','_setupSubUnitSync','_hover','runId','OnLineIcon','delete','executionId','_handleHover','getSkeleton','getRangePointData','1em','cursorInfo','YUUMI_SUBSCRIPTION_NOT_FOUND','current','collabCursorState$','EMAIL_HAS_BEEN_BOUND','source','subscribeEvent','SOCKET_FAILED_RETRY','_getMergeRange','Tooltip','_saveTaskMap','_colorIndex','defineProperty','defs','debounceTime','getCoordByCell','ITransformService','touchDependencies','setShapeProps','HEADER_MENU','UNRECOGNIZED','_handleHeartbeatEvent','activeSheet$','asObservable','href','MOBILE_VERIFY_CODE_MISMATCH','_registerRenderDependencies','imageSourceType','1585504JBiLjM','_updateLocalCursor','isTransformMutationsWithChangesetSuccess','subUnitId','EMAIL_VERIFY_CODE_MISMATCH','trim','_localCacheService','InsertRangeMoveDownCommandId','_drawAnchor','28EAjcDe','ISocketService','getActiveRange','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','MOBILE_HAS_BEEN_BOUND','_localeService','APPLY_DUPLICATED','forwardRef','_status$','_initCommandExecutedListener','name','setActiveRange','transformIMECache','green.600','children','ILogService','TEXT','INVALID_INVITE_CODE','_document','idSuffix','LICENSE_MAX_UNITS_EXCEEDED','20GWsFUQ','_startDocCollabCursor','push','InsertRowCommandId','_transformUndoRedoStack','evenodd','_transformService','1dLpDuk','dispose$','Shape','contains','endRow','DisposableCollection','_httpService','FromArray','handleInsertRangeMoveDown','unitID','1195XApQCg','getUniverSheetInstance','ILocalCacheService','LocaleService','lineTo','throttleTime','univer-mr-2\x20univer-flex\x20univer-text-xl','_updateCollabCursors','hovered','COLORS','_initEntityListener','addEventListener','round','CollaborationUIEventService','roomMembers$','handleIRemoveCol','isActive','sheetID','_initEvent','call','onCommandExecuted','SheetSkeletonManagerService','_transformHistoryAndStateStack','random','serializeRangeWithSheet','font','clsx','sessionStatus$','_docSyncEditingCollabCursorService','_getSheetObject','selection','_injector','memberID','Subject','UNDEFINED','Module','_scheduleHeartbeat','IImageIoService','concat','_online'];_0x5c8f=function(){return _0x3a6783;};return _0x5c8f();}exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x1d4ed3(0x24a)]{constructor(_0xf15266,_0x1fb83b,_0x44053f,_0x116cc8){const _0x5305be=_0x1d4ed3;super(),h(this,'_status$',new d[(_0x5305be(0x13b))](u[_0x5305be(0x28c)][_0x5305be(0x133)])),(this[_0x5305be(0x276)]=_0xf15266,this[_0x5305be(0x1ca)]=_0x1fb83b,this[_0x5305be(0x21a)]=_0x44053f,this['_uiPartsService']=_0x116cc8,this[_0x5305be(0x353)](),this[_0x5305be(0x1f7)]());}[_0x1d4ed3(0x1f7)](){const _0x576405=_0x1d4ed3;this['disposeWithMe'](this[_0x576405(0x276)][_0x576405(0x310)][_0x576405(0x2e0)](d[_0x576405(0x38f)](()=>{const _0x308fc7=_0x576405,_0x1235da=this[_0x308fc7(0x276)][_0x308fc7(0x35b)]();return _0x1235da?this[_0x308fc7(0x21a)][_0x308fc7(0x207)](_0x1235da[_0x308fc7(0x31e)]()):d['of'](null);}),d[_0x576405(0x38f)](_0x3f59ef=>_0x3f59ef?_0x3f59ef['status$']:d['of'](u[_0x576405(0x28c)][_0x576405(0x133)])))['subscribe'](_0x35935b=>{const _0x2b92c1=_0x576405;this[_0x2b92c1(0x18d)][_0x2b92c1(0x38c)](_0x35935b);}));}[_0x1d4ed3(0x353)](){const _0x22bdef=_0x1d4ed3;this[_0x22bdef(0x2dc)](this[_0x22bdef(0x2f3)]['registerComponent'](O[_0x22bdef(0x312)][_0x22bdef(0x173)],()=>O[_0x22bdef(0x284)](wt({'status$':this[_0x22bdef(0x18d)]['asObservable']()}),this[_0x22bdef(0x1ca)])));}},exports['DesktopCollaborationStatusDisplayController']=Pt([V(0x0,a[_0x1d4ed3(0x356)]),V(0x1,a[_0x1d4ed3(0x39d)](a[_0x1d4ed3(0x2ec)])),V(0x2,a['Inject'](u[_0x1d4ed3(0x1db)])),V(0x3,O[_0x1d4ed3(0x395)])],exports['DesktopCollaborationStatusDisplayController']);function _0x34b0(_0x18a814,_0x268d64){const _0x5c8f33=_0x5c8f();return _0x34b0=function(_0x34b02b,_0x21ef30){_0x34b02b=_0x34b02b-0x129;let _0x4eae92=_0x5c8f33[_0x34b02b];return _0x4eae92;},_0x34b0(_0x18a814,_0x268d64);}function wt(_0x212b05){const {status$:_0x4e027b}=_0x212b05;return function(){return P['jsx'](xe,{'status$':_0x4e027b});};}var At=Object[_0x1d4ed3(0x14e)],yt=(_0x54c7f0,_0x3b5716,_0x3be9ff,_0x13fcc4)=>{const _0x4e72c0=_0x1d4ed3;for(var _0x32377a=_0x13fcc4>0x1?void 0x0:_0x13fcc4?At(_0x3b5716,_0x3be9ff):_0x3b5716,_0x53e6cb=_0x54c7f0[_0x4e72c0(0x1ea)]-0x1,_0x9bd52;_0x53e6cb>=0x0;_0x53e6cb--)(_0x9bd52=_0x54c7f0[_0x53e6cb])&&(_0x32377a=_0x9bd52(_0x32377a)||_0x32377a);return _0x32377a;},y=(_0x5df86e,_0x2424fa)=>(_0x4a7c88,_0x54f4b8)=>_0x2424fa(_0x4a7c88,_0x54f4b8,_0x5df86e);let q=class extends a['Disposable']{constructor(_0x4cb34a,_0x38e67d,_0x576908,_0x545cef,_0x9f5fde,_0x5f32dc){const _0x3bafdd=_0x1d4ed3;super(),this[_0x3bafdd(0x1f0)]=_0x4cb34a,this[_0x3bafdd(0x182)]=_0x38e67d,this[_0x3bafdd(0x23b)]=_0x576908,this[_0x3bafdd(0x2cb)]=_0x545cef,this[_0x3bafdd(0x253)]=_0x9f5fde,this[_0x3bafdd(0x18a)]=_0x5f32dc,this[_0x3bafdd(0x140)](),this[_0x3bafdd(0x1bd)]();}['_setupBeforeClosingHandler'](){const _0xa91aa5=_0x1d4ed3;this['disposeWithMe'](this['_beforeCloseService'][_0xa91aa5(0x28f)](()=>{const _0x1f6dd0=_0xa91aa5;if(this[_0x1f6dd0(0x182)][_0x1f6dd0(0x1d8)][_0x1f6dd0(0x216)])return this[_0x1f6dd0(0x18a)]['t'](_0x1f6dd0(0x233));}));}[_0x1d4ed3(0x1bd)](){const _0x755115=_0x1d4ed3;this[_0x755115(0x2dc)](this[_0x755115(0x23b)][_0x755115(0x38d)][_0x755115(0x221)](_0x3c0086=>{const _0x43e0e7=_0x755115;_0x3c0086['id']===u[_0x43e0e7(0x287)][_0x43e0e7(0x2fc)]&&this[_0x43e0e7(0x2cb)][_0x43e0e7(0x33c)]({'type':D[_0x43e0e7(0x1d5)][_0x43e0e7(0x269)],'content':this[_0x43e0e7(0x18a)]['t'](_0x43e0e7(0x355))}),_0x3c0086['id']===u[_0x43e0e7(0x287)]['CLOSE_ROOM']&&this['_messageService'][_0x43e0e7(0x33c)]({'type':D[_0x43e0e7(0x1d5)][_0x43e0e7(0x269)],'content':this[_0x43e0e7(0x18a)]['t']('collaboration.closeRoom')}),_0x3c0086['id']===u[_0x43e0e7(0x287)]['PERMISSION_DENIED']&&this[_0x43e0e7(0x253)][_0x43e0e7(0x33c)]({'title':this[_0x43e0e7(0x18a)]['t'](_0x43e0e7(0x28b)),'content':this[_0x43e0e7(0x18a)]['t'](_0x43e0e7(0x1da)),'type':'error','duration':0x0}),_0x3c0086['id']===u[_0x43e0e7(0x287)][_0x43e0e7(0x2ef)]&&this[_0x43e0e7(0x2cb)][_0x43e0e7(0x33c)]({'type':D[_0x43e0e7(0x1d5)][_0x43e0e7(0x201)],'content':this[_0x43e0e7(0x18a)]['t'](_0x43e0e7(0x2f7))+'('+_0x3c0086[_0x43e0e7(0x1e7)]+')'}),_0x3c0086['id']===u[_0x43e0e7(0x287)][_0x43e0e7(0x1e4)]&&this[_0x43e0e7(0x2cb)][_0x43e0e7(0x33c)]({'type':D['MessageType'][_0x43e0e7(0x269)],'content':this[_0x43e0e7(0x18a)]['t'](_0x3c0086[_0x43e0e7(0x1e7)]||'')}),_0x3c0086['id']===u[_0x43e0e7(0x287)][_0x43e0e7(0x167)]&&this[_0x43e0e7(0x2cb)]['show']({'type':D[_0x43e0e7(0x1d5)][_0x43e0e7(0x269)],'content':this[_0x43e0e7(0x18a)]['t']('session.will-retry')}),_0x3c0086['id']===u[_0x43e0e7(0x287)][_0x43e0e7(0x2cf)]&&this[_0x43e0e7(0x2cb)][_0x43e0e7(0x33c)]({'type':D['MessageType'][_0x43e0e7(0x201)],'content':this[_0x43e0e7(0x18a)]['t'](_0x43e0e7(0x2a3))}),_0x3c0086['id']===u[_0x43e0e7(0x287)][_0x43e0e7(0x388)]&&this[_0x43e0e7(0x2cb)][_0x43e0e7(0x33c)]({'type':D[_0x43e0e7(0x1d5)][_0x43e0e7(0x201)],'content':this[_0x43e0e7(0x18a)]['t']('session.collaboration-timeout')});}));}};q=yt([y(0x0,O[_0x1d4ed3(0x23a)]),y(0x1,u[_0x1d4ed3(0x1ad)]),y(0x2,a[_0x1d4ed3(0x39d)](u[_0x1d4ed3(0x1b8)])),y(0x3,O[_0x1d4ed3(0x332)]),y(0x4,O[_0x1d4ed3(0x2a5)]),y(0x5,a[_0x1d4ed3(0x39d)](a[_0x1d4ed3(0x1ae)]))],q);const $t=_0x1d4ed3(0x37f),Ue={},Ee=a[_0x1d4ed3(0x31f)](_0x1d4ed3(0x272));var xt=Object[_0x1d4ed3(0x14e)],Bt=(_0x5cad26,_0x3e2fcd,_0x58a300,_0xb43808)=>{for(var _0x24ca2e=_0xb43808>0x1?void 0x0:_0xb43808?xt(_0x3e2fcd,_0x58a300):_0x3e2fcd,_0x3e6a50=_0x5cad26['length']-0x1,_0x5235b7;_0x3e6a50>=0x0;_0x3e6a50--)(_0x5235b7=_0x5cad26[_0x3e6a50])&&(_0x24ca2e=_0x5235b7(_0x24ca2e)||_0x24ca2e);return _0x24ca2e;},F=(_0x52722c,_0x467957)=>(_0x404295,_0x3d19f0)=>_0x467957(_0x404295,_0x3d19f0,_0x52722c);exports[_0x1d4ed3(0x381)]=class extends a[_0x1d4ed3(0x263)]{constructor(_0x260f57,_0x1339c5,_0x4556d2,_0x217f16,_0x256ec1){const _0x330a13=_0x1d4ed3;super(),this[_0x330a13(0x2f6)]=_0x260f57,this[_0x330a13(0x2b2)]=_0x1339c5,this['_commandService']=_0x4556d2,this[_0x330a13(0x3a5)]=_0x217f16,_0x256ec1?_0x256ec1==null||_0x256ec1[_0x330a13(0x370)]()[_0x330a13(0x289)](()=>this[_0x330a13(0x14b)]()):(this['_logService'][_0x330a13(0x2b3)]('[CollaborationDataLoaderController]',_0x330a13(0x3a8)),this[_0x330a13(0x14b)]());}async[_0x1d4ed3(0x14b)](){const _0x4adba8=_0x1d4ed3,_0x7a6e03=this[_0x4adba8(0x2f6)][_0x4adba8(0x2f2)](_0x4adba8(0x2ac)),_0x319352=this[_0x4adba8(0x2f6)][_0x4adba8(0x2f2)]('type'),_0x5bc1dc=this[_0x4adba8(0x2f6)]['getParam'](_0x4adba8(0x21b));if(!_0x7a6e03||!_0x319352){this[_0x4adba8(0x2b2)][_0x4adba8(0x2b3)]('[CollaborationDataLoaderController]',_0x4adba8(0x2da));return;}const _0x22b290=await this[_0x4adba8(0x3a5)][_0x4adba8(0x243)](_0x7a6e03,Number(_0x319352),_0x5bc1dc);_0x22b290&&_0x22b290 instanceof a['Workbook']&&this[_0x4adba8(0x156)](_0x22b290);}async[_0x1d4ed3(0x156)](_0xac482c){const _0x1473c6=_0x1d4ed3;await this[_0x1473c6(0x219)](_0xac482c),_0xac482c[_0x1473c6(0x176)][_0x1473c6(0x2e0)](d[_0x1473c6(0x1f1)](this['dispose$']))[_0x1473c6(0x221)](_0x18c167=>{const _0x5ebd73=_0x1473c6;_0x18c167&&this[_0x5ebd73(0x20c)](_0x18c167);}),this[_0x1473c6(0x2f6)]['urlChange$']['pipe'](d[_0x1473c6(0x1f1)](this[_0x1473c6(0x1a2)]))[_0x1473c6(0x221)](()=>this[_0x1473c6(0x219)](_0xac482c));}[_0x1d4ed3(0x20c)](_0x1fe58c,_0x319e16=!0x1){const _0x7328d=_0x1d4ed3,_0x1de39b=this['_urlService'][_0x7328d(0x2f2)](_0x7328d(0x21b));_0x1fe58c[_0x7328d(0x335)]()!==_0x1de39b&&this[_0x7328d(0x2f6)]['setParam'](_0x7328d(0x21b),_0x1fe58c[_0x7328d(0x335)](),_0x319e16);}async[_0x1d4ed3(0x219)](_0x329b9a){const _0x1a532d=_0x1d4ed3;var _0x399ed7;const _0x7aceaa=this[_0x1a532d(0x2f6)]['getParam'](_0x1a532d(0x21b));if(!_0x7aceaa||!_0x329b9a[_0x1a532d(0x1f8)](_0x7aceaa)){const _0x371545=_0x329b9a[_0x1a532d(0x32b)]()[0x0],_0x151a54=_0x329b9a[_0x1a532d(0x1f8)](_0x371545);if(!_0x151a54)return;this[_0x1a532d(0x20c)](_0x151a54,!0x0),await this[_0x1a532d(0x346)][_0x1a532d(0x2e1)](g[_0x1a532d(0x230)]['id'],{'unitId':_0x329b9a[_0x1a532d(0x31e)](),'subUnitId':_0x371545});return;}((_0x399ed7=_0x329b9a['getActiveSheet']())==null?void 0x0:_0x399ed7['getSheetId']())!==_0x7aceaa&&await this[_0x1a532d(0x346)]['executeCommand'](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x329b9a[_0x1a532d(0x31e)](),'subUnitId':_0x7aceaa});}},exports[_0x1d4ed3(0x381)]=Bt([F(0x0,Ee),F(0x1,a[_0x1d4ed3(0x194)]),F(0x2,a[_0x1d4ed3(0x2b1)]),F(0x3,a[_0x1d4ed3(0x39d)](u[_0x1d4ed3(0x228)])),F(0x4,a[_0x1d4ed3(0x2de)](Ke[_0x1d4ed3(0x288)]))],exports[_0x1d4ed3(0x381)]);var jt=Object[_0x1d4ed3(0x14e)],kt=(_0x239b79,_0x3e4305,_0x545926,_0xfd1618)=>{const _0x162ccd=_0x1d4ed3;for(var _0x42eded=_0xfd1618>0x1?void 0x0:_0xfd1618?jt(_0x3e4305,_0x545926):_0x3e4305,_0xda8ac4=_0x239b79[_0x162ccd(0x1ea)]-0x1,_0x45c44b;_0xda8ac4>=0x0;_0xda8ac4--)(_0x45c44b=_0x239b79[_0xda8ac4])&&(_0x42eded=_0x45c44b(_0x42eded)||_0x42eded);return _0x42eded;},ce=(_0x3b7d84,_0x5e24d3)=>(_0x5e7824,_0x4196ca)=>_0x5e24d3(_0x5e7824,_0x4196ca,_0x3b7d84);let z=class{constructor(_0x2030d9,_0x355bfe,_0x4d3d72){const _0xfddff5=_0x1d4ed3;this[_0xfddff5(0x1ca)]=_0x2030d9,this[_0xfddff5(0x1a0)]=_0x355bfe,this[_0xfddff5(0x375)]=_0x4d3d72;}[_0x1d4ed3(0x191)](_0x4ec51c){const _0x53f72a=_0x1d4ed3;this[_0x53f72a(0x19e)](_0x4ec51c),this[_0x53f72a(0x2bd)](_0x4ec51c);}['transformRemoteChangeset'](_0x4616fd){const _0x1b543f=_0x1d4ed3,{unitID:_0x2dd16f}=_0x4616fd,_0x48878c=this[_0x1b543f(0x375)][_0x1b543f(0x215)](_0x2dd16f)['with'](E['DocIMEInputManagerService']),{redoCache:_0x377b5c}=_0x48878c[_0x1b543f(0x373)]();if(_0x377b5c[_0x1b543f(0x1ea)]===0x0)return _0x4616fd;let _0x20e331=a[_0x1b543f(0x2d3)][_0x1b543f(0x25f)](_0x4616fd[_0x1b543f(0x2e4)][0x0]);for(let _0x275d93=0x0;_0x275d93<_0x377b5c[_0x1b543f(0x1ea)];_0x275d93++){const _0x24da1b={'id':_0x1b543f(0x27c),'params':{..._0x377b5c[_0x275d93]}},_0x269d9b=this['_transformService'][_0x1b543f(0x1df)](_0x20e331,_0x24da1b,!0x1);if(m[_0x1b543f(0x3a3)](_0x269d9b))throw _0x269d9b[_0x1b543f(0x268)];_0x20e331=_0x269d9b[_0x1b543f(0x2a8)];}return{...a[_0x1b543f(0x2d3)][_0x1b543f(0x25f)](_0x4616fd),'mutations':[_0x20e331]};}[_0x1d4ed3(0x19e)](_0x1e4346){const _0x22e6e2=_0x1d4ed3,{unitID:_0x54f755}=_0x1e4346,_0x1f4519=this['_renderManagerService'][_0x22e6e2(0x215)](_0x54f755)[_0x22e6e2(0x2ca)](E['DocIMEInputManagerService']),{undoCache:_0x27dec7,redoCache:_0x3c1896}=_0x1f4519[_0x22e6e2(0x373)]();if(_0x27dec7[_0x22e6e2(0x1ea)]===0x0||_0x3c1896[_0x22e6e2(0x1ea)]===0x0)return;const _0x464447=[],_0x106298=[];let _0x4bf610=a[_0x22e6e2(0x2d3)][_0x22e6e2(0x25f)](_0x1e4346[_0x22e6e2(0x2e4)][0x0]),_0x556300=a[_0x22e6e2(0x2d3)][_0x22e6e2(0x25f)](_0x1e4346[_0x22e6e2(0x2e4)][0x0]);for(let _0x3e1c07=_0x27dec7[_0x22e6e2(0x1ea)]-0x1;_0x3e1c07>=0x0;_0x3e1c07--){const _0x3572be={'id':_0x22e6e2(0x27c),'params':{..._0x27dec7[_0x3e1c07]}},_0x4d1a40={'id':_0x22e6e2(0x27c),'params':{..._0x3c1896[_0x3e1c07]}},_0x54f110=this[_0x22e6e2(0x1a0)][_0x22e6e2(0x1df)](_0x4bf610,_0x3572be,!0x1),_0x167f6f=this[_0x22e6e2(0x1a0)]['transformMutation'](_0x556300,_0x4d1a40,!0x1);if(m['isTransformMutationFailure'](_0x54f110))throw _0x54f110[_0x22e6e2(0x268)];if(m[_0x22e6e2(0x3a3)](_0x167f6f))throw _0x167f6f['error'];_0x464447['unshift'](_0x54f110[_0x22e6e2(0x22f)]['params']),_0x106298['unshift'](_0x167f6f['m2Prime'][_0x22e6e2(0x20a)]),_0x4bf610=_0x54f110[_0x22e6e2(0x2a8)],_0x556300=_0x167f6f[_0x22e6e2(0x2a8)];}_0x1f4519[_0x22e6e2(0x2d1)]({'undoCache':_0x464447,'redoCache':_0x106298});}['_transformPreviousActiveRange'](_0x3da80f){const _0x2a747e=_0x1d4ed3,{unitID:_0x1b95b4}=_0x3da80f,_0x580939=this[_0x2a747e(0x375)]['getRenderById'](_0x1b95b4)[_0x2a747e(0x2ca)](E[_0x2a747e(0x2c4)]),_0x4d4be4=_0x580939[_0x2a747e(0x187)]();if(_0x4d4be4==null)return;const _0x3b19bc=[{'id':_0x2a747e(0x27c),'params':{'unitId':_0x3da80f[_0x2a747e(0x1aa)],'actions':null,'textRanges':[_0x4d4be4]}}],_0xd16e98=this['_transformService']['transformMutationsWithChangeset'](_0x3da80f,_0x3b19bc);if(!m[_0x2a747e(0x17e)](_0xd16e98))throw _0xd16e98['error'];const _0x4c2a19=_0xd16e98[_0x2a747e(0x22f)][0x0]['params'][_0x2a747e(0x2f9)];Array['isArray'](_0x4c2a19)&&_0x4c2a19[_0x2a747e(0x1ea)]&&_0x580939[_0x2a747e(0x190)](_0x4c2a19[0x0]);}};z=kt([ce(0x0,a[_0x1d4ed3(0x39d)](a[_0x1d4ed3(0x2ec)])),ce(0x1,m[_0x1d4ed3(0x170)]),ce(0x2,p['IRenderManagerService'])],z);var Ft=Object[_0x1d4ed3(0x14e)],Ht=(_0x58f281,_0x505159,_0x2614d6,_0x562a25)=>{const _0x49c0b9=_0x1d4ed3;for(var _0x36c2a1=_0x562a25>0x1?void 0x0:_0x562a25?Ft(_0x505159,_0x2614d6):_0x505159,_0x48008a=_0x58f281[_0x49c0b9(0x1ea)]-0x1,_0x1d416e;_0x48008a>=0x0;_0x48008a--)(_0x1d416e=_0x58f281[_0x48008a])&&(_0x36c2a1=_0x1d416e(_0x36c2a1)||_0x36c2a1);return _0x36c2a1;},le=(_0x1b26ff,_0x443f0e)=>(_0x53424b,_0x316b28)=>_0x443f0e(_0x53424b,_0x316b28,_0x1b26ff);let J=class{constructor(_0x5e1c72,_0x255805,_0x470d38){const _0x37772d=_0x1d4ed3;this['_injector']=_0x5e1c72,this[_0x37772d(0x1a0)]=_0x255805,this['_docStateChangeManagerService']=_0x470d38;}['transformStateCache'](_0x598a33){const _0x359aa7=_0x1d4ed3;this[_0x359aa7(0x1c1)](_0x598a33);}[_0x1d4ed3(0x367)](_0x1d7ada){const _0x5bd7b5=_0x1d4ed3,{unitID:_0x44e44e}=_0x1d7ada,{collaboration:_0x4b57f1}=this[_0x5bd7b5(0x32c)][_0x5bd7b5(0x129)](_0x44e44e);if(_0x4b57f1['length']===0x0)return _0x1d7ada;let _0x50e575=a['Tools'][_0x5bd7b5(0x25f)](_0x1d7ada[_0x5bd7b5(0x2e4)][0x0]);for(let _0x41584c=0x0;_0x41584c<_0x4b57f1[_0x5bd7b5(0x1ea)];_0x41584c++){const _0x49d7e6={'id':_0x5bd7b5(0x27c),'params':{'unitId':_0x4b57f1[_0x41584c][_0x5bd7b5(0x3aa)],..._0x4b57f1[_0x41584c]['redoState']}},_0x4b9f50=this[_0x5bd7b5(0x1a0)][_0x5bd7b5(0x1df)](_0x50e575,_0x49d7e6,!0x1);if(m[_0x5bd7b5(0x3a3)](_0x4b9f50))throw _0x4b9f50[_0x5bd7b5(0x268)];_0x50e575=_0x4b9f50[_0x5bd7b5(0x2a8)];}return{...a[_0x5bd7b5(0x2d3)][_0x5bd7b5(0x25f)](_0x1d7ada),'mutations':[_0x50e575]};}[_0x1d4ed3(0x1c1)](_0x39c64c){const _0x575eae=_0x1d4ed3,{unitID:_0x2451e3}=_0x39c64c,{history:_0x107016,collaboration:_0x46a73b}=this[_0x575eae(0x32c)]['getStateCache'](_0x2451e3);if(_0x107016['length']===0x0&&_0x46a73b[_0x575eae(0x1ea)]===0x0)return;const _0x2aa9db=[],_0x45b2f4=[];let _0x362890=a[_0x575eae(0x2d3)][_0x575eae(0x25f)](_0x39c64c[_0x575eae(0x2e4)][0x0]),_0x381c4b=a[_0x575eae(0x2d3)][_0x575eae(0x25f)](_0x39c64c[_0x575eae(0x2e4)][0x0]);for(let _0x3eddba=_0x107016[_0x575eae(0x1ea)]-0x1;_0x3eddba>=0x0;_0x3eddba--){const _0x16dd9c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x107016[_0x3eddba][_0x575eae(0x3aa)],..._0x107016[_0x3eddba][_0x575eae(0x309)]}},_0x534cde={'id':_0x575eae(0x27c),'params':{'unitId':_0x107016[_0x3eddba][_0x575eae(0x3aa)],..._0x107016[_0x3eddba][_0x575eae(0x35d)]}},_0x368314=this['_transformService'][_0x575eae(0x1df)](_0x362890,_0x16dd9c,!0x1),_0x338717=this[_0x575eae(0x1a0)][_0x575eae(0x1df)](_0x381c4b,_0x534cde,!0x1);if(m[_0x575eae(0x3a3)](_0x368314))throw _0x368314[_0x575eae(0x268)];if(m[_0x575eae(0x3a3)](_0x338717))throw _0x338717[_0x575eae(0x268)];_0x2aa9db[_0x575eae(0x32e)]({..._0x107016[_0x3eddba],'undoState':_0x368314[_0x575eae(0x22f)]['params'],'redoState':_0x338717[_0x575eae(0x22f)][_0x575eae(0x20a)]}),_0x362890=_0x368314[_0x575eae(0x2a8)],_0x381c4b=_0x338717['m1Prime'];}_0x362890=a[_0x575eae(0x2d3)][_0x575eae(0x25f)](_0x39c64c[_0x575eae(0x2e4)][0x0]),_0x381c4b=a[_0x575eae(0x2d3)][_0x575eae(0x25f)](_0x39c64c[_0x575eae(0x2e4)][0x0]);for(let _0x2cdd82=_0x46a73b[_0x575eae(0x1ea)]-0x1;_0x2cdd82>=0x0;_0x2cdd82--){const _0x1de2d1={'id':_0x575eae(0x27c),'params':{'unitId':_0x46a73b[_0x2cdd82]['unitId'],..._0x46a73b[_0x2cdd82][_0x575eae(0x309)]}},_0x110f0b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x46a73b[_0x2cdd82][_0x575eae(0x3aa)],..._0x46a73b[_0x2cdd82][_0x575eae(0x35d)]}},_0x211dba=this[_0x575eae(0x1a0)]['transformMutation'](_0x362890,_0x1de2d1,!0x1),_0x43b8d5=this['_transformService']['transformMutation'](_0x381c4b,_0x110f0b,!0x1);if(m[_0x575eae(0x3a3)](_0x211dba))throw _0x211dba[_0x575eae(0x268)];if(m['isTransformMutationFailure'](_0x43b8d5))throw _0x43b8d5[_0x575eae(0x268)];_0x45b2f4[_0x575eae(0x32e)]({..._0x46a73b[_0x2cdd82],'undoState':_0x211dba[_0x575eae(0x22f)][_0x575eae(0x20a)],'redoState':_0x43b8d5[_0x575eae(0x22f)][_0x575eae(0x20a)]}),_0x362890=_0x211dba[_0x575eae(0x2a8)],_0x381c4b=_0x43b8d5[_0x575eae(0x2a8)];}this[_0x575eae(0x32c)][_0x575eae(0x326)](_0x2451e3,{'history':_0x2aa9db,'collaboration':_0x45b2f4});}};J=Ht([le(0x0,a[_0x1d4ed3(0x39d)](a[_0x1d4ed3(0x2ec)])),le(0x1,m[_0x1d4ed3(0x170)]),le(0x2,a[_0x1d4ed3(0x39d)](E[_0x1d4ed3(0x399)]))],J);var Yt=Object[_0x1d4ed3(0x14e)],Wt=(_0x3f13ab,_0x358f72,_0x881e31,_0x58f8b3)=>{for(var _0x45872b=_0x58f8b3>0x1?void 0x0:_0x58f8b3?Yt(_0x358f72,_0x881e31):_0x358f72,_0x5bab31=_0x3f13ab['length']-0x1,_0x1257d9;_0x5bab31>=0x0;_0x5bab31--)(_0x1257d9=_0x3f13ab[_0x5bab31])&&(_0x45872b=_0x1257d9(_0x45872b)||_0x45872b);return _0x45872b;},Ne=(_0x293f2a,_0x1b385b)=>(_0x53af2b,_0x1e25eb)=>_0x1b385b(_0x53af2b,_0x1e25eb,_0x293f2a);let Z=class{constructor(_0x4e504c,_0x57c035){const _0x35c120=_0x1d4ed3;this[_0x35c120(0x1ca)]=_0x4e504c,this[_0x35c120(0x1a0)]=_0x57c035;}['transformSelections'](_0x5e50fe){const _0x147fae=_0x1d4ed3;var _0x2b4a39;const _0x17a151=this[_0x147fae(0x1ca)][_0x147fae(0x1f3)](Y[_0x147fae(0x2b8)]),_0x1b6a9f=(_0x2b4a39=_0x17a151['getDocRanges']())!=null?_0x2b4a39:[];if(_0x1b6a9f[_0x147fae(0x1ea)]===0x0)return;const _0x90efba=_0x5e50fe[_0x147fae(0x1aa)],_0x58305a=[{'id':_0x147fae(0x27c),'params':{'unitId':_0x90efba,'actions':null,'textRanges':_0x1b6a9f}}],_0x164ae6=this[_0x147fae(0x1a0)][_0x147fae(0x384)](_0x5e50fe,_0x58305a);if(!m[_0x147fae(0x17e)](_0x164ae6))throw _0x164ae6[_0x147fae(0x268)];const _0x131d0c=_0x164ae6[_0x147fae(0x22f)][0x0]['params'][_0x147fae(0x2f9)];Array['isArray'](_0x131d0c)&&_0x131d0c[_0x147fae(0x1ea)]&&_0x17a151['replaceDocRanges'](_0x131d0c,{'unitId':_0x90efba,'subUnitId':_0x90efba},!0x1);}};Z=Wt([Ne(0x0,a['Inject'](a[_0x1d4ed3(0x2ec)])),Ne(0x1,m[_0x1d4ed3(0x170)])],Z);var Vt=Object[_0x1d4ed3(0x14e)],Xt=(_0x46036a,_0x24c61f,_0x291332,_0x82f545)=>{const _0x425fb3=_0x1d4ed3;for(var _0x487124=_0x82f545>0x1?void 0x0:_0x82f545?Vt(_0x24c61f,_0x291332):_0x24c61f,_0x3160f0=_0x46036a[_0x425fb3(0x1ea)]-0x1,_0x290f4b;_0x3160f0>=0x0;_0x3160f0--)(_0x290f4b=_0x46036a[_0x3160f0])&&(_0x487124=_0x290f4b(_0x487124)||_0x487124);return _0x487124;},N=(_0x260d3f,_0x297b87)=>(_0x3fed8e,_0x3a43e6)=>_0x297b87(_0x3fed8e,_0x3a43e6,_0x260d3f);let Q=class extends a[_0x1d4ed3(0x24a)]{constructor(_0x53ced4,_0x228068,_0x1bf8dc,_0x22316f,_0x52b37e,_0x28d2e9,_0x5e9e7d,_0x387159){const _0x230267=_0x1d4ed3;super(),h(this,_0x230267(0x18d),new d[(_0x230267(0x13b))](u[_0x230267(0x28c)]['NOT_COLLAB'])),(this[_0x230267(0x32c)]=_0x53ced4,this[_0x230267(0x21a)]=_0x228068,this[_0x230267(0x280)]=_0x1bf8dc,this['_docTransformStateCacheService']=_0x22316f,this[_0x230267(0x248)]=_0x52b37e,this[_0x230267(0x1c7)]=_0x28d2e9,this[_0x230267(0x2cb)]=_0x5e9e7d,this[_0x230267(0x18a)]=_0x387159,this[_0x230267(0x1b5)]());}[_0x1d4ed3(0x1b5)](){const _0xd302b1=_0x1d4ed3;this[_0xd302b1(0x2dc)](this['_collaborationController'][_0xd302b1(0x33d)][_0xd302b1(0x221)](_0x2f63ca=>{const _0x2f7a1d=_0xd302b1,_0x5eafac=this[_0x2f7a1d(0x32c)][_0x2f7a1d(0x348)][_0x2f7a1d(0x221)](_0x5077d5=>{const _0x48d7f5=_0x2f7a1d;if(_0x5077d5==null)return;const {unitId:_0x255b36,redoState:_0x56cbda,commandId:_0x238100}=_0x5077d5;if(_0x255b36!==_0x2f63ca[_0x48d7f5(0x1aa)])return;const _0x511973={'id':_0x238100,'type':a[_0x48d7f5(0x327)][_0x48d7f5(0x35f)],'params':{'unitId':_0x255b36,'actions':_0x56cbda['actions'],'textRanges':null}};_0x2f63ca[_0x48d7f5(0x2c0)](_0x511973);});if(_0x2f63ca['disposeWithMe'](_0x5eafac),_0x2f63ca instanceof u[_0x2f7a1d(0x30d)]){const _0x280788={'onTransformIME':_0xf8d033=>this[_0x2f7a1d(0x280)][_0x2f7a1d(0x191)](_0xf8d033),'onTransformState':_0x482c57=>this[_0x2f7a1d(0x2b0)]['transformStateCache'](_0x482c57),'onTransformSelections':_0x4f35c0=>this['_docTransformSelectionsService'][_0x2f7a1d(0x1ff)](_0x4f35c0),'onSyncEditingCollabCursor':_0x2418ca=>this[_0x2f7a1d(0x1c7)][_0x2f7a1d(0x298)](_0x2418ca),'onTransformRemoteChangesetByIMECache':_0x3ed191=>this[_0x2f7a1d(0x280)][_0x2f7a1d(0x367)](_0x3ed191),'onTransformRemoteChangesetByStateCache':_0x3bbdb4=>this[_0x2f7a1d(0x2b0)][_0x2f7a1d(0x367)](_0x3bbdb4)};_0x2f63ca[_0x2f7a1d(0x297)](_0x280788);}}));}};Q=Xt([N(0x0,a[_0x1d4ed3(0x39d)](E[_0x1d4ed3(0x399)])),N(0x1,a[_0x1d4ed3(0x39d)](u['CollaborationController'])),N(0x2,a['Inject'](z)),N(0x3,a['Inject'](J)),N(0x4,a[_0x1d4ed3(0x39d)](Z)),N(0x5,a[_0x1d4ed3(0x39d)](Ce)),N(0x6,O[_0x1d4ed3(0x332)]),N(0x7,a[_0x1d4ed3(0x39d)](a[_0x1d4ed3(0x1ae)]))],Q);var Gt=Object[_0x1d4ed3(0x14e)],Kt=(_0x116311,_0x4f0e37,_0x2cedd5,_0x3bd899)=>{const _0x3a7b2f=_0x1d4ed3;for(var _0x4b2a45=_0x3bd899>0x1?void 0x0:_0x3bd899?Gt(_0x4f0e37,_0x2cedd5):_0x4f0e37,_0x5a75a7=_0x116311[_0x3a7b2f(0x1ea)]-0x1,_0x23fcb9;_0x5a75a7>=0x0;_0x5a75a7--)(_0x23fcb9=_0x116311[_0x5a75a7])&&(_0x4b2a45=_0x23fcb9(_0x4b2a45)||_0x4b2a45);return _0x4b2a45;},_e=(_0x3c4fd5,_0x19c0a2)=>(_0x40a935,_0x4f6165)=>_0x19c0a2(_0x40a935,_0x4f6165,_0x3c4fd5);let ge=class extends a[_0x1d4ed3(0x24a)]{constructor(_0x1aaf76,_0x4feaca,_0x339220){const _0x186fe5=_0x1d4ed3;super(),h(this,_0x186fe5(0x378),new Map()),h(this,_0x186fe5(0x16a),new Map()),h(this,_0x186fe5(0x136),!0x1),(this[_0x186fe5(0x28d)]=_0x1aaf76,this[_0x186fe5(0x142)]=_0x4feaca,this[_0x186fe5(0x361)]=_0x339220);}[_0x1d4ed3(0x39f)](){const _0x78b9e9=_0x1d4ed3;this[_0x78b9e9(0x136)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x1d4ed3(0x1d8)](){return this['_saveTaskMap'];}['dispose'](){const _0x17306f=_0x1d4ed3;this['exhaustSavingTask']()[_0x17306f(0x289)](()=>super[_0x17306f(0x2ee)]());}async['loadOfflineData'](_0x4eff01){const _0x2f2a2b=_0x1d4ed3;return this[_0x2f2a2b(0x136)]?null:this[_0x2f2a2b(0x142)]['getItem'](u['getLocalCacheKey'](_0x4eff01));}async['saveOfflineData'](_0x137c1b,_0x3906ed){const _0x475209=_0x1d4ed3;return!!this[_0x475209(0x142)][_0x475209(0x364)](_0x137c1b,_0x3906ed);}['updateOfflineData'](_0x95c254,_0x4e5e3c,_0x5ad8db,_0x44020a){const _0x1421d3=_0x1d4ed3,_0x13ee16=this[_0x1421d3(0x361)][_0x1421d3(0x3a7)](_0x95c254);this[_0x1421d3(0x378)][_0x1421d3(0x318)](_0x95c254,{'unitID':_0x95c254,'type':_0x4e5e3c,'awaitingChangeset':_0x5ad8db,'mutations':_0x44020a,'rev':_0x13ee16}),this[_0x1421d3(0x16a)][_0x1421d3(0x390)](_0x95c254)||this[_0x1421d3(0x29d)](_0x95c254);}[_0x1d4ed3(0x29d)](_0x57ae1e){const _0x5c5ab6=_0x1d4ed3,_0x3e36cb=this[_0x5c5ab6(0x146)]();_0x3e36cb===0x0?this[_0x5c5ab6(0x1ed)](_0x57ae1e):this[_0x5c5ab6(0x16a)][_0x5c5ab6(0x318)](_0x57ae1e,setTimeout(()=>this[_0x5c5ab6(0x1ed)](_0x57ae1e),_0x3e36cb));}[_0x1d4ed3(0x146)](){const _0x1fbf20=_0x1d4ed3;var _0x36c8e3;return(_0x36c8e3=this['_configService']['getConfig'](u[_0x1fbf20(0x245)]))!=null?_0x36c8e3:u['LOCAL_CACHE_INTERVAL'];}[_0x1d4ed3(0x1ed)](_0x20bfb6){const _0x31391b=_0x1d4ed3,_0x3c313d=this[_0x31391b(0x16a)][_0x31391b(0x1f3)](_0x20bfb6);return _0x3c313d!==void 0x0&&window[_0x31391b(0x231)](_0x3c313d),this[_0x31391b(0x142)][_0x31391b(0x364)](u[_0x31391b(0x2a9)](_0x20bfb6),this[_0x31391b(0x378)][_0x31391b(0x1f3)](_0x20bfb6))[_0x31391b(0x289)](()=>this['_saveTaskMap'][_0x31391b(0x15a)](_0x20bfb6));}async['exhaustSavingTask'](){const _0x11e874=_0x1d4ed3,_0x2100e9=[];this[_0x11e874(0x16a)][_0x11e874(0x34f)]((_0x52c856,_0x33a474)=>{const _0x1987bf=_0x11e874;window['clearTimeout'](_0x52c856),_0x2100e9[_0x1987bf(0x19c)](this['_saveCache'](_0x33a474)[_0x1987bf(0x289)](()=>{const _0x241122=_0x1987bf;this[_0x241122(0x16a)][_0x241122(0x15a)](_0x33a474);}));}),await Promise['all'](_0x2100e9);}};ge=Kt([_e(0x0,a[_0x1d4ed3(0x354)]),_e(0x1,a[_0x1d4ed3(0x34d)]),_e(0x2,a['Inject'](m[_0x1d4ed3(0x1e8)]))],ge);class Be extends a[_0x1d4ed3(0x263)]{constructor(){const _0x310608=_0x1d4ed3;super(),h(this,_0x310608(0x392)),this[_0x310608(0x392)]=d['fromEvent'](window,_0x310608(0x241))[_0x310608(0x2e0)](d[_0x310608(0x1f1)](this[_0x310608(0x1a2)]),d[_0x310608(0x2ab)](0x1),d[_0x310608(0x365)](void 0x0));}[_0x1d4ed3(0x1ef)](_0x22c5c2,_0x1dd834,_0x3fb94c=!0x1){const _0x1d50db=_0x1d4ed3,_0x5382cc=new URL(window['location'][_0x1d50db(0x178)]);_0x5382cc['searchParams']['set'](_0x22c5c2,_0x1dd834),_0x3fb94c?window[_0x1d50db(0x308)][_0x1d50db(0x1f4)]('','',_0x5382cc[_0x1d50db(0x2df)]()):window[_0x1d50db(0x308)][_0x1d50db(0x21c)]('','',_0x5382cc[_0x1d50db(0x2df)]());}[_0x1d4ed3(0x380)](_0x2c92bc,_0x578f56=!0x1){const _0x519c5f=_0x1d4ed3,_0x432a39=new URL(window[_0x519c5f(0x22c)][_0x519c5f(0x178)]);_0x432a39[_0x519c5f(0x2db)][_0x519c5f(0x15a)](_0x2c92bc),_0x578f56?window[_0x519c5f(0x308)][_0x519c5f(0x1f4)]('','',_0x432a39[_0x519c5f(0x2df)]()):window['history'][_0x519c5f(0x21c)]('','',_0x432a39[_0x519c5f(0x2df)]());}[_0x1d4ed3(0x2f2)](_0x49e557){const _0x338676=_0x1d4ed3;var _0x32d5ae;return(_0x32d5ae=new URL(window[_0x338676(0x22c)]['href'])[_0x338676(0x2db)][_0x338676(0x1f3)](_0x49e557))!=null?_0x32d5ae:void 0x0;}}var qt=Object[_0x1d4ed3(0x16c)],zt=Object[_0x1d4ed3(0x14e)],Jt=(_0xff36dc,_0x4bce83,_0x192c80)=>_0x4bce83 in _0xff36dc?qt(_0xff36dc,_0x4bce83,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x192c80}):_0xff36dc[_0x4bce83]=_0x192c80,Zt=(_0x21b8b9,_0x545ff8,_0x51a95e,_0x1319fb)=>{for(var _0x300d6d=_0x1319fb>0x1?void 0x0:_0x1319fb?zt(_0x545ff8,_0x51a95e):_0x545ff8,_0x337ea2=_0x21b8b9['length']-0x1,_0x2cbbc3;_0x337ea2>=0x0;_0x337ea2--)(_0x2cbbc3=_0x21b8b9[_0x337ea2])&&(_0x300d6d=_0x2cbbc3(_0x300d6d)||_0x300d6d);return _0x300d6d;},he=(_0x46316e,_0x525b8e)=>(_0x4d5866,_0xb249e6)=>_0x525b8e(_0x4d5866,_0xb249e6,_0x46316e),Qt=(_0x3ec789,_0x27a39b,_0x437b9d)=>Jt(_0x3ec789,_0x27a39b+'',_0x437b9d);const es='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0x1d4ed3(0x1fb)]=class extends a['Plugin']{constructor(_0x58f856=Ue,_0x2ff658,_0x1d3d5a,_0x1cf4bf){const _0xb18687=_0x1d4ed3;super(),this[_0xb18687(0x2e3)]=_0x58f856,this[_0xb18687(0x375)]=_0x2ff658,this[_0xb18687(0x1ca)]=_0x1d3d5a,this[_0xb18687(0x28d)]=_0x1cf4bf;const {..._0x35b555}=a['merge']({},Ue,this[_0xb18687(0x2e3)]);this['_configService']['setConfig']($t,_0x35b555);}['onStarting'](){const _0xe10155=_0x1d4ed3;this['_registerDependencies'](),this[_0xe10155(0x264)]();}[_0x1d4ed3(0x225)](){const _0x1f5a71=_0x1d4ed3;this[_0x1f5a71(0x17a)]();}[_0x1d4ed3(0x323)](){const _0x3984a4=_0x1d4ed3;var _0x484a6b;const _0x3310ba=[[me],[Z],[z],[J],[Ce],[Ee,{'useClass':Be}],[G[_0x3984a4(0x186)],{'useClass':G[_0x3984a4(0x1f5)]}],[u[_0x3984a4(0x1ad)],{'useClass':ge}],[exports[_0x3984a4(0x2c1)]],[Q],[q],[x],[de],[exports[_0x3984a4(0x381)]]];a[_0x3984a4(0x1fd)](this['_injector'],a[_0x3984a4(0x27a)](_0x3310ba,(_0x484a6b=this[_0x3984a4(0x2e3)])==null?void 0x0:_0x484a6b['override']));}['_registerRenderDependencies'](){const _0x16518d=_0x1d4ed3;this[_0x16518d(0x2dc)](this[_0x16518d(0x375)][_0x16518d(0x341)](a[_0x16518d(0x37a)][_0x16518d(0x2d7)],[fe])),this['disposeWithMe'](this['_renderManagerService'][_0x16518d(0x341)](a[_0x16518d(0x37a)][_0x16518d(0x34b)],[ve]));}[_0x1d4ed3(0x264)](){const _0xdcfac1=_0x1d4ed3;a[_0xdcfac1(0x171)](this[_0xdcfac1(0x1ca)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[Q],[q],[exports[_0xdcfac1(0x381)]]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x1d4ed3(0x371),es),exports[_0x1d4ed3(0x1fb)]=Zt([a[_0x1d4ed3(0x2a7)](u['UniverCollaborationClientPlugin']),he(0x1,p[_0x1d4ed3(0x24f)]),he(0x2,a[_0x1d4ed3(0x39d)](a[_0x1d4ed3(0x2ec)])),he(0x3,a[_0x1d4ed3(0x354)])],exports['UniverCollaborationClientUIPlugin']);var ts=Object[_0x1d4ed3(0x14e)],ss=(_0x398645,_0x8f7c0a,_0x183a05,_0xa1b951)=>{const _0x5c1a0c=_0x1d4ed3;for(var _0x2377c3=_0xa1b951>0x1?void 0x0:_0xa1b951?ts(_0x8f7c0a,_0x183a05):_0x8f7c0a,_0x594a9b=_0x398645[_0x5c1a0c(0x1ea)]-0x1,_0x568494;_0x594a9b>=0x0;_0x594a9b--)(_0x568494=_0x398645[_0x594a9b])&&(_0x2377c3=_0x568494(_0x2377c3)||_0x2377c3);return _0x2377c3;},H=(_0x5d532f,_0xc2277f)=>(_0x126a32,_0x1b2327)=>_0xc2277f(_0x126a32,_0x1b2327,_0x5d532f);exports[_0x1d4ed3(0x2d0)]=class extends u['CollaborationSocketService']{constructor(_0x1370ed,_0x2ae05a,_0x355bb4,_0xc8cde4,_0x16c457){super(_0x1370ed,_0x2ae05a,_0x355bb4,_0xc8cde4,_0x16c457);}async['createSocket'](_0xed1ee3){const _0x2e4735=_0x1d4ed3,_0x594cb0=await this['_getSessionTicket'](),_0x448ade=this[_0x2e4735(0x313)](_0xed1ee3,_0x594cb0);return this['_doCreateSocket'](_0x448ade);}[_0x1d4ed3(0x313)](_0x2c0bdb,_0x48863b){const _0xa3d93b=_0x1d4ed3,_0x57e41a=typeof window>'u'?new URL(_0x2c0bdb):new URL(_0x2c0bdb,window[_0xa3d93b(0x22c)][_0xa3d93b(0x239)]);_0x57e41a[_0xa3d93b(0x2db)]['set'](_0xa3d93b(0x1d3),_0x48863b);const _0x80371e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xa3d93b(0x30a)]);return _0x80371e[_0xa3d93b(0x1f3)]('runId')&&_0x57e41a[_0xa3d93b(0x2db)][_0xa3d93b(0x318)](_0xa3d93b(0x158),_0x80371e[_0xa3d93b(0x1f3)](_0xa3d93b(0x158))),_0x57e41a[_0xa3d93b(0x2df)]();}async[_0x1d4ed3(0x244)](){const _0x3128b7=_0x1d4ed3;var _0x43d813,_0x38882d,_0x5e4bba;const _0x3db693=this['_configService'][_0x3128b7(0x224)](u[_0x3128b7(0x2e7)]),_0x355520=(_0x43d813=_0x3db693==null?void 0x0:_0x3db693[_0x3128b7(0x256)])!=null?_0x43d813:u[_0x3128b7(0x340)];return(_0x5e4bba=(_0x38882d=(await this[_0x3128b7(0x1a7)][_0x3128b7(0x1f3)](_0x355520,{'headers':{'Content-Type':_0x3128b7(0x23d)}}))[_0x3128b7(0x2fe)])==null?void 0x0:_0x38882d[_0x3128b7(0x1fc)])!=null?_0x5e4bba:'';}},exports[_0x1d4ed3(0x2d0)]=ss([H(0x0,a[_0x1d4ed3(0x39d)](a[_0x1d4ed3(0x2ec)])),H(0x1,a[_0x1d4ed3(0x39d)](G[_0x1d4ed3(0x2c2)])),H(0x2,a[_0x1d4ed3(0x354)]),H(0x3,a[_0x1d4ed3(0x194)]),H(0x4,m[_0x1d4ed3(0x145)])],exports[_0x1d4ed3(0x2d0)]);const Me=0x7530,Le='ACTIVE_UNIT_EVENT_CHANNEL';class is extends a['Disposable']{constructor(){const _0x172905=_0x1d4ed3;super(),h(this,_0x172905(0x252),a[_0x172905(0x266)]()),h(this,_0x172905(0x2be),new Set()),h(this,_0x172905(0x247),new Map()),h(this,_0x172905(0x2cd),null),h(this,_0x172905(0x213),new Map()),h(this,'_unitStatus',new Map()),this[_0x172905(0x14b)]();}[_0x1d4ed3(0x2ee)](){const _0x1189e4=_0x1d4ed3;super[_0x1189e4(0x2ee)](),this[_0x1189e4(0x213)]['forEach']((_0x3f1531,_0xa83c8)=>this[_0x1189e4(0x39b)](_0xa83c8)),this[_0x1189e4(0x2cd)]&&window[_0x1189e4(0x31c)](this['_heartbeatTimer']);}[_0x1d4ed3(0x306)](_0x13be07){const _0x206749=_0x1d4ed3;return this[_0x206749(0x235)](_0x13be07)[_0x206749(0x2e0)](d[_0x206749(0x13f)]());}[_0x1d4ed3(0x1e6)](_0x10d95f){const _0x5823d0=_0x1d4ed3;this[_0x5823d0(0x2be)]['size']===0x0&&this[_0x5823d0(0x1cf)](),this[_0x5823d0(0x2be)][_0x5823d0(0x265)](_0x10d95f),this[_0x5823d0(0x2f0)]({'type':0x0,'memberID':this[_0x5823d0(0x252)],'unitIDs':[_0x10d95f],'isForwarded':!0x1});}[_0x1d4ed3(0x223)](_0x12acd4){const _0x42b266=_0x1d4ed3;this[_0x42b266(0x2be)]['delete'](_0x12acd4),this[_0x42b266(0x2be)][_0x42b266(0x216)]===0x0&&this[_0x42b266(0x2cd)]&&window['clearInterval'](this[_0x42b266(0x2cd)]);}[_0x1d4ed3(0x14b)](){const _0x1e98c8=_0x1d4ed3;this[_0x1e98c8(0x2dc)](a[_0x1e98c8(0x152)](d[_0x1e98c8(0x147)](window,'storage')[_0x1e98c8(0x221)](_0xedfbcf=>{const _0x8ecd32=_0x1e98c8;if(_0xedfbcf['key']!==Le||!_0xedfbcf[_0x8ecd32(0x143)])return;const _0x427c3f=JSON[_0x8ecd32(0x2eb)](_0xedfbcf[_0x8ecd32(0x143)]);this[_0x8ecd32(0x274)](_0x427c3f);}))),window[_0x1e98c8(0x1b6)](_0x1e98c8(0x22a),()=>this[_0x1e98c8(0x2f0)]({'type':0x1,'memberID':this[_0x1e98c8(0x252)],'unitIDs':Array[_0x1e98c8(0x331)](this[_0x1e98c8(0x2be)])}));}[_0x1d4ed3(0x274)](_0x579fd2){const _0x527483=_0x1d4ed3;switch(_0x579fd2[_0x527483(0x322)]){case 0x0:this[_0x527483(0x30c)](_0x579fd2);break;case 0x1:this['_handleLeaveEvent'](_0x579fd2);break;case 0x2:this[_0x527483(0x175)](_0x579fd2);break;}}['_handleJoinEvent'](_0x2410cd){const _0x3b9b7d=_0x1d4ed3,{unitIDs:_0x58ce3f,memberID:_0x24af6c,isForwarded:_0x4456f7}=_0x2410cd;_0x58ce3f[_0x3b9b7d(0x34f)](_0x431108=>{const _0x40f3d8=_0x3b9b7d;if(!_0x4456f7&&this[_0x40f3d8(0x247)]['has'](_0x431108)&&this[_0x40f3d8(0x235)](_0x431108)[_0x40f3d8(0x38c)](u[_0x40f3d8(0x24c)][_0x40f3d8(0x394)]),!this[_0x40f3d8(0x247)][_0x40f3d8(0x390)](_0x431108)||!this[_0x40f3d8(0x247)][_0x40f3d8(0x1f3)](_0x431108)[_0x40f3d8(0x390)](_0x24af6c)){const _0x2f41ff=this[_0x40f3d8(0x247)][_0x40f3d8(0x1f3)](_0x431108)||new Set();_0x2f41ff[_0x40f3d8(0x265)](_0x24af6c),this['_unitOnClients']['set'](_0x431108,_0x2f41ff),this[_0x40f3d8(0x2d2)](_0x24af6c);}}),_0x4456f7||this[_0x3b9b7d(0x2f0)]({'type':0x0,'memberID':this[_0x3b9b7d(0x252)],'unitIDs':[...this[_0x3b9b7d(0x2be)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5daed4){const _0x40755b=_0x1d4ed3;this['_removeClearOtherTimer'](_0x5daed4);const _0x369fe2=window[_0x40755b(0x28e)](()=>{const _0x37d17b=_0x40755b;this[_0x37d17b(0x247)][_0x37d17b(0x34f)](_0x350ca7=>{const _0x111861=_0x37d17b;_0x350ca7[_0x111861(0x15a)](_0x5daed4);});},Me*0x2);this[_0x40755b(0x213)]['set'](_0x5daed4,_0x369fe2);}[_0x1d4ed3(0x39b)](_0x509386){const _0x67c33f=_0x1d4ed3;if(this['_clearOtherTimers'][_0x67c33f(0x390)](_0x509386)){const _0x353c30=this[_0x67c33f(0x213)]['get'](_0x509386);_0x353c30&&window['clearTimeout'](_0x353c30),this[_0x67c33f(0x213)]['set'](_0x509386,null);}}[_0x1d4ed3(0x339)](_0x56c69f){const _0x1f48d0=_0x1d4ed3,{memberID:_0x490111,unitIDs:_0x2981b5}=_0x56c69f;_0x2981b5[_0x1f48d0(0x34f)](_0x42eecf=>{const _0x4bf40a=_0x1f48d0;var _0x598dd5;const _0x2cbd28=this[_0x4bf40a(0x247)][_0x4bf40a(0x1f3)](_0x42eecf);_0x2cbd28&&(_0x2cbd28[_0x4bf40a(0x15a)](_0x490111),(_0x598dd5=this[_0x4bf40a(0x235)](_0x42eecf))==null||_0x598dd5['next'](_0x2cbd28[_0x4bf40a(0x216)]===0x0?u[_0x4bf40a(0x24c)][_0x4bf40a(0x20d)]:u[_0x4bf40a(0x24c)][_0x4bf40a(0x394)]));}),this[_0x1f48d0(0x39b)](_0x490111);}[_0x1d4ed3(0x175)](_0x1f35b8){const _0x337cfc=_0x1d4ed3;this[_0x337cfc(0x2d2)](_0x1f35b8[_0x337cfc(0x1cb)]);}[_0x1d4ed3(0x2f0)](_0x32b41b){const _0xa36f59=_0x1d4ed3;localStorage['setItem'](Le,JSON[_0xa36f59(0x30b)](_0x32b41b));}['_scheduleHeartbeat'](){const _0x1245e0=_0x1d4ed3;this[_0x1245e0(0x2cd)]=window['setInterval'](()=>{const _0x19ff4a=_0x1245e0;this[_0x19ff4a(0x2f0)]({'type':0x2,'memberID':this[_0x19ff4a(0x252)]});},Me);}[_0x1d4ed3(0x235)](_0x5cc6b9){const _0x438e90=_0x1d4ed3;return this[_0x438e90(0x2aa)][_0x438e90(0x390)](_0x5cc6b9)||this[_0x438e90(0x2aa)][_0x438e90(0x318)](_0x5cc6b9,new d[(_0x438e90(0x13b))](u[_0x438e90(0x24c)][_0x438e90(0x20d)])),this['_unitStatus'][_0x438e90(0x1f3)](_0x5cc6b9);}}var je=(_0x282b79=>(_0x282b79[_0x282b79[_0x1d4ed3(0x1cd)]=0x0]=_0x1d4ed3(0x1cd),_0x282b79[_0x282b79['OK']=0x1]='OK',_0x282b79[_0x282b79['INTERNAL_ERROR']=0x2]=_0x1d4ed3(0x376),_0x282b79[_0x282b79[_0x1d4ed3(0x251)]=0x3]=_0x1d4ed3(0x251),_0x282b79[_0x282b79[_0x1d4ed3(0x1ee)]=0x4]=_0x1d4ed3(0x1ee),_0x282b79[_0x282b79[_0x1d4ed3(0x320)]=0x5]=_0x1d4ed3(0x320),_0x282b79[_0x282b79['ALREADY_EXISTS']=0x6]=_0x1d4ed3(0x155),_0x282b79[_0x282b79[_0x1d4ed3(0x385)]=0x7]=_0x1d4ed3(0x385),_0x282b79[_0x282b79[_0x1d4ed3(0x31a)]=0x8]='TOO_MANY_REQUESTS',_0x282b79[_0x282b79[_0x1d4ed3(0x22d)]=0x9]=_0x1d4ed3(0x22d),_0x282b79[_0x282b79[_0x1d4ed3(0x1fa)]=0xa]=_0x1d4ed3(0x1fa),_0x282b79[_0x282b79[_0x1d4ed3(0x179)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x282b79[_0x282b79['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1d4ed3(0x188),_0x282b79[_0x282b79[_0x1d4ed3(0x180)]=0xd]=_0x1d4ed3(0x180),_0x282b79[_0x282b79['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x1d4ed3(0x38e),_0x282b79[_0x282b79[_0x1d4ed3(0x2e6)]=0x1389]=_0x1d4ed3(0x2e6),_0x282b79[_0x282b79[_0x1d4ed3(0x28a)]=0x1771]=_0x1d4ed3(0x28a),_0x282b79[_0x282b79['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1d4ed3(0x2b5),_0x282b79[_0x282b79[_0x1d4ed3(0x242)]=0x1773]=_0x1d4ed3(0x242),_0x282b79[_0x282b79[_0x1d4ed3(0x39c)]=0x1b59]=_0x1d4ed3(0x39c),_0x282b79[_0x282b79[_0x1d4ed3(0x12e)]=0x1b5a]=_0x1d4ed3(0x12e),_0x282b79[_0x282b79[_0x1d4ed3(0x303)]=0x1b5b]=_0x1d4ed3(0x303),_0x282b79[_0x282b79['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1d4ed3(0x21f),_0x282b79[_0x282b79[_0x1d4ed3(0x18b)]=0x1b5d]=_0x1d4ed3(0x18b),_0x282b79[_0x282b79['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1d4ed3(0x25b),_0x282b79[_0x282b79['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1d4ed3(0x199),_0x282b79[_0x282b79[_0x1d4ed3(0x240)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x282b79[_0x282b79[_0x1d4ed3(0x36b)]=0x232b]=_0x1d4ed3(0x36b),_0x282b79[_0x282b79['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1d4ed3(0x300),_0x282b79[_0x282b79[_0x1d4ed3(0x25a)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x282b79[_0x282b79['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1d4ed3(0x1d7),_0x282b79[_0x282b79[_0x1d4ed3(0x31b)]=0x2712]=_0x1d4ed3(0x31b),_0x282b79[_0x282b79['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1d4ed3(0x2a1),_0x282b79[_0x282b79[_0x1d4ed3(0x161)]=0x2714]=_0x1d4ed3(0x161),_0x282b79[_0x282b79[_0x1d4ed3(0x12f)]=0x271a]=_0x1d4ed3(0x12f),_0x282b79[_0x282b79[_0x1d4ed3(0x24e)]=0x271b]=_0x1d4ed3(0x24e),_0x282b79[_0x282b79[_0x1d4ed3(0x2d9)]=0x271c]=_0x1d4ed3(0x2d9),_0x282b79[_0x282b79[_0x1d4ed3(0x2f4)]=0x271d]=_0x1d4ed3(0x2f4),_0x282b79[_0x282b79[_0x1d4ed3(0x139)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x282b79[_0x282b79[_0x1d4ed3(0x286)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x282b79[_0x282b79[_0x1d4ed3(0x38b)]=0x2720]=_0x1d4ed3(0x38b),_0x282b79[_0x282b79[_0x1d4ed3(0x2bc)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x282b79[_0x282b79[_0x1d4ed3(0x299)]=0x2ee1]=_0x1d4ed3(0x299),_0x282b79[_0x282b79[_0x1d4ed3(0x196)]=0x2ee2]='INVALID_INVITE_CODE',_0x282b79[_0x282b79[_0x1d4ed3(0x36c)]=0x2ee3]=_0x1d4ed3(0x36c),_0x282b79[_0x282b79[_0x1d4ed3(0x1d6)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x282b79[_0x282b79[_0x1d4ed3(0x2c8)]=0x2ee5]=_0x1d4ed3(0x2c8),_0x282b79[_0x282b79[_0x1d4ed3(0x217)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x282b79[_0x282b79['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1d4ed3(0x189),_0x282b79[_0x282b79[_0x1d4ed3(0x164)]=0x32cb]=_0x1d4ed3(0x164),_0x282b79[_0x282b79['UNRECOGNIZED']=-0x1]=_0x1d4ed3(0x174),_0x282b79))(je||{}),ns=Object[_0x1d4ed3(0x14e)],rs=(_0x20522d,_0x160407,_0x657bf5,_0xa91b28)=>{const _0x14694c=_0x1d4ed3;for(var _0x33966f=_0xa91b28>0x1?void 0x0:_0xa91b28?ns(_0x160407,_0x657bf5):_0x160407,_0x53d90e=_0x20522d[_0x14694c(0x1ea)]-0x1,_0x4765f9;_0x53d90e>=0x0;_0x53d90e--)(_0x4765f9=_0x20522d[_0x53d90e])&&(_0x33966f=_0x4765f9(_0x33966f)||_0x33966f);return _0x33966f;},ue=(_0x16644c,_0x3e83af)=>(_0x1b0477,_0x5e71db)=>_0x3e83af(_0x1b0477,_0x5e71db,_0x16644c);exports['RemoteUniscriptService']=class extends a[_0x1d4ed3(0x24a)]{constructor(_0x2c988e,_0x577294,_0x43bd7d){const _0x28ad23=_0x1d4ed3;super(),this[_0x28ad23(0x34a)]=_0x2c988e,this[_0x28ad23(0x1a7)]=_0x577294,this[_0x28ad23(0x28d)]=_0x43bd7d;}async[_0x1d4ed3(0x296)](_0xacf958,_0x3327c2,_0x206c22,..._0xa0e2a9){const _0x5ef0f4=_0x1d4ed3;var _0x12af31,_0x73a3b0,_0x4019d2,_0x5d27ad;const _0x169957=this[_0x5ef0f4(0x34a)][_0x5ef0f4(0x35b)]();if(!_0x169957)throw new Error(_0x5ef0f4(0x2ce));const _0x1cbdc7=((_0x12af31=this[_0x5ef0f4(0x28d)][_0x5ef0f4(0x224)](u[_0x5ef0f4(0x257)]))!=null?_0x12af31:u[_0x5ef0f4(0x1d9)])+'/'+_0xacf958+'/run/'+_0x3327c2,_0xebabc1=new URL(window[_0x5ef0f4(0x22c)][_0x5ef0f4(0x178)]),_0x276c81={'scriptId':_0xacf958,'runId':(_0x73a3b0=_0xebabc1['searchParams'][_0x5ef0f4(0x1f3)](_0x5ef0f4(0x158)))!=null?_0x73a3b0:'','function':_0x3327c2,'unitId':_0x169957[_0x5ef0f4(0x31e)](),'argsOfFunction':JSON[_0x5ef0f4(0x30b)](_0xa0e2a9),'invokeId':(_0x4019d2=_0x206c22[_0x5ef0f4(0x379)])!=null?_0x4019d2:'','executionId':(_0x5d27ad=_0x206c22[_0x5ef0f4(0x15b)])!=null?_0x5d27ad:''};try{const _0xbcf602=await this[_0x5ef0f4(0x1a7)][_0x5ef0f4(0x262)](_0x1cbdc7,{'body':_0x276c81});return _0xbcf602['body'][_0x5ef0f4(0x268)]&&_0xbcf602[_0x5ef0f4(0x2fe)]['error']['code']!==je['OK']?_0x5ef0f4(0x3a2):_0xbcf602['body'][_0x5ef0f4(0x135)];}catch{return'Failed';}}},exports[_0x1d4ed3(0x29b)]=rs([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x1d4ed3(0x39d)](G[_0x1d4ed3(0x2c2)])),ue(0x2,a[_0x1d4ed3(0x354)])],exports['RemoteUniscriptService']),exports[_0x1d4ed3(0x2c5)]=xe,exports['IURLService']=Ee,exports[_0x1d4ed3(0x33e)]=we,exports[_0x1d4ed3(0x2b9)]=is,exports[_0x1d4ed3(0x307)]=Be;
@@ -1 +1 @@
1
- 'use strict';const _0x41e584=_0x29d6;(function(_0x5743a8,_0x3f33b4){const _0x288151=_0x29d6,_0x43775e=_0x5743a8();while(!![]){try{const _0x21bcaf=parseInt(_0x288151(0xdc))/0x1*(parseInt(_0x288151(0xce))/0x2)+-parseInt(_0x288151(0xd7))/0x3+-parseInt(_0x288151(0xcb))/0x4+-parseInt(_0x288151(0xcf))/0x5*(-parseInt(_0x288151(0xd4))/0x6)+-parseInt(_0x288151(0xd1))/0x7+-parseInt(_0x288151(0xd8))/0x8+parseInt(_0x288151(0xcc))/0x9;if(_0x21bcaf===_0x3f33b4)break;else _0x43775e['push'](_0x43775e['shift']());}catch(_0x520f52){_0x43775e['push'](_0x43775e['shift']());}}}(_0x4bc4,0x8dc2e));function _0x29d6(_0x2c7590,_0x1c0d27){const _0x4bc49f=_0x4bc4();return _0x29d6=function(_0x29d68d,_0x42ece6){_0x29d68d=_0x29d68d-0xcb;let _0x43536c=_0x4bc49f[_0x29d68d];return _0x43536c;},_0x29d6(_0x2c7590,_0x1c0d27);}function _0x4bc4(){const _0x2e832e=['9029RRCXIm','exports','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing\x20server\x20data...','1008012ZNzKKP','14956479ICAvXS','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','164SvcsTt','775zJQVMH','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','7470771kNixsb','Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','10866fIcVPO','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','702720YMjDRL','4390112PuxYOg','Authentication\x20Error','Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x4bc4=function(){return _0x2e832e;};return _0x4bc4();}const e={'collab-client':{'tooltip':{'reconnect':_0x41e584(0xda)}},'collabStatus':{'fetchMiss':_0x41e584(0xe1),'conflict':'Edit\x20conflicts','notCollab':_0x41e584(0xd2),'synced':'Synced','syncing':_0x41e584(0xdf),'offline':_0x41e584(0xd0)},'session':{'connection-failed':_0x41e584(0xde),'will-retry':_0x41e584(0xd5),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x41e584(0xdb)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x41e584(0xd6)},'permission':{'title':_0x41e584(0xd9),'content':_0x41e584(0xd3)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x41e584(0xe0)},'auth':{'needGotoLoginAlert':_0x41e584(0xcd)}};module[_0x41e584(0xdd)]=e;
1
+ 'use strict';function _0x4b88(_0x2611a2,_0x21e0e7){const _0x3a9161=_0x3a91();return _0x4b88=function(_0x4b88e5,_0x51f260){_0x4b88e5=_0x4b88e5-0x119;let _0x4619df=_0x3a9161[_0x4b88e5];return _0x4619df;},_0x4b88(_0x2611a2,_0x21e0e7);}const _0x442637=_0x4b88;(function(_0x206575,_0x445c2){const _0x41f580=_0x4b88,_0x11b807=_0x206575();while(!![]){try{const _0x22a80c=-parseInt(_0x41f580(0x11b))/0x1*(-parseInt(_0x41f580(0x12b))/0x2)+parseInt(_0x41f580(0x128))/0x3*(-parseInt(_0x41f580(0x124))/0x4)+-parseInt(_0x41f580(0x11f))/0x5+-parseInt(_0x41f580(0x12f))/0x6*(-parseInt(_0x41f580(0x12d))/0x7)+-parseInt(_0x41f580(0x130))/0x8+-parseInt(_0x41f580(0x123))/0x9*(-parseInt(_0x41f580(0x135))/0xa)+-parseInt(_0x41f580(0x131))/0xb*(-parseInt(_0x41f580(0x12c))/0xc);if(_0x22a80c===_0x445c2)break;else _0x11b807['push'](_0x11b807['shift']());}catch(_0xb2cfe2){_0x11b807['push'](_0x11b807['shift']());}}}(_0x3a91,0xe5116));function _0x3a91(){const _0x62eb41=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','177AnYQPJ','Syncing...','Click\x20to\x20Reconnect','278276LRkuQd','3959004DWREMV','49PAwwYY','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1245282plACrT','13544768FQoRPL','11QhHsOm','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','Collaboration\x20Conflict','20JvXXVI','Connection\x20failed,\x20please\x20check\x20your\x20network.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','2RwspyO','Syncing\x20server\x20data...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','exports','381395cRHmkr','Synced','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Local\x20file','3477141ebrpIH','8548BIfbwu','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x3a91=function(){return _0x62eb41;};return _0x3a91();}const e={'collab-client':{'tooltip':{'reconnect':_0x442637(0x12a)}},'collabStatus':{'fetchMiss':_0x442637(0x11c),'conflict':_0x442637(0x133),'notCollab':_0x442637(0x122),'synced':_0x442637(0x120),'syncing':_0x442637(0x129),'offline':_0x442637(0x125)},'session':{'connection-failed':_0x442637(0x119),'will-retry':_0x442637(0x127),'room-full':_0x442637(0x11a),'collaboration-timeout':_0x442637(0x11d)},'conflict':{'title':_0x442637(0x134),'content':_0x442637(0x121)},'permission':{'title':'Authentication\x20Error','content':_0x442637(0x12e)},'collaboration':{'single-unit':{'warning':_0x442637(0x132)},'closeRoom':_0x442637(0x126)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};module[_0x442637(0x11e)]=e;