@univerjs-pro/collaboration-client-ui 0.5.1-nightly.202412051606
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/README.md +18 -0
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/locale/en-US.js +1 -0
- package/lib/cjs/locale/fa-IR.js +1 -0
- package/lib/cjs/locale/fr-FR.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -0
- package/lib/cjs/locale/vi-VN.js +1 -0
- package/lib/cjs/locale/zh-CN.js +1 -0
- package/lib/cjs/locale/zh-TW.js +1 -0
- package/lib/es/index.js +1 -0
- package/lib/es/locale/en-US.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -0
- package/lib/es/locale/fr-FR.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -0
- package/lib/es/locale/vi-VN.js +1 -0
- package/lib/es/locale/zh-CN.js +1 -0
- package/lib/es/locale/zh-TW.js +1 -0
- package/lib/index.css +1 -0
- package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +9 -0
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +23 -0
- package/lib/types/controllers/collab-cursor/__tests__/serialize-text-ranges.spec.d.ts +1 -0
- package/lib/types/controllers/collab-cursor/__tests__/sheet-collab-cursor.controller.spec.d.ts +1 -0
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +22 -0
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-entity.d.ts +37 -0
- package/lib/types/controllers/collab-cursor/doc-collab-cursor-render.controller.d.ts +24 -0
- package/lib/types/controllers/collab-cursor/serialize-text-ranges.d.ts +3 -0
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-entity.d.ts +38 -0
- package/lib/types/controllers/collab-cursor/sheet-collab-cursor-render.controller.d.ts +21 -0
- package/lib/types/controllers/collab-status/collab-status.controller.d.ts +17 -0
- package/lib/types/controllers/collaboration/__tests__/collaboration.controller.spec.d.ts +4 -0
- package/lib/types/controllers/collaboration/__tests__/mock-text-selection-render-manager.service.d.ts +0 -0
- package/lib/types/controllers/collaboration/__tests__/mocks.d.ts +58 -0
- package/lib/types/controllers/collaboration-client-ui.controller.d.ts +17 -0
- package/lib/types/controllers/config.schema.d.ts +10 -0
- package/lib/types/controllers/entity-ui/collaboration-entity-ui.controller.d.ts +25 -0
- package/lib/types/controllers/url/__tests__/data-loader.controller.spec.d.ts +1 -0
- package/lib/types/controllers/url/web-url.controller.d.ts +18 -0
- package/lib/types/index.d.ts +6 -0
- package/lib/types/locale/en-US.d.ts +3 -0
- package/lib/types/locale/fa-IR.d.ts +3 -0
- package/lib/types/locale/fr-FR.d.ts +3 -0
- package/lib/types/locale/ru-RU.d.ts +3 -0
- package/lib/types/locale/vi-VN.d.ts +3 -0
- package/lib/types/locale/zh-CN.d.ts +39 -0
- package/lib/types/locale/zh-TW.d.ts +3 -0
- package/lib/types/models/cursor.d.ts +30 -0
- package/lib/types/plugin.d.ts +17 -0
- package/lib/types/services/color-assign/color-assign.service.d.ts +10 -0
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +13 -0
- package/lib/types/services/local-cache/web-local-cache.service.d.ts +27 -0
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +26 -0
- package/lib/types/services/state-cache-transform/doc-transform-state-cache.service.d.ts +12 -0
- package/lib/types/services/sync-editing-collab-cursor/doc-sync-editing-collab-cursor.service.d.ts +13 -0
- package/lib/types/services/text-selection/doc-transform-selections.service.d.ts +8 -0
- package/lib/types/services/url/url.service.d.ts +12 -0
- package/lib/types/services/url/web-url.service.d.ts +10 -0
- package/lib/types/views/components/CollabStatus.d.ts +10 -0
- package/lib/types/views/components/CollabStatus.stories.d.ts +8 -0
- package/lib/types/views/shapes/doc-collab-cursor.d.ts +27 -0
- package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +27 -0
- package/lib/types/views/shapes/text-bubble.shape.d.ts +19 -0
- package/lib/umd/index.js +1 -0
- package/lib/umd/locale/en-US.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -0
- package/lib/umd/locale/fr-FR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -0
- package/lib/umd/locale/zh-CN.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -0
- package/package.json +106 -0
package/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# @univerjs-pro/collaboration-client-ui
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
Univer collaboration plugin on the client side. It brings online collaboration UI to your Univer application. It based on @univerjs-pro/collaboration-client.
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
### Installation
|
|
10
|
+
|
|
11
|
+
```shell
|
|
12
|
+
npm i @univerjs-pro/collaboration-client-ui
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### API
|
|
16
|
+
|
|
17
|
+
Check [Univer](https://github.com/dream-num/univer/)
|
|
18
|
+
|
package/lib/cjs/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x1767c6=_0x3493;(function(_0x1570eb,_0x1fa880){const _0x40ba3f=_0x3493,_0x130828=_0x1570eb();while(!![]){try{const _0x432987=parseInt(_0x40ba3f(0x1d8))/0x1+-parseInt(_0x40ba3f(0x400))/0x2+-parseInt(_0x40ba3f(0x22c))/0x3*(parseInt(_0x40ba3f(0x1dc))/0x4)+parseInt(_0x40ba3f(0x364))/0x5*(parseInt(_0x40ba3f(0x2a2))/0x6)+parseInt(_0x40ba3f(0x3af))/0x7*(-parseInt(_0x40ba3f(0x319))/0x8)+parseInt(_0x40ba3f(0x25e))/0x9*(-parseInt(_0x40ba3f(0x3ed))/0xa)+-parseInt(_0x40ba3f(0x369))/0xb*(-parseInt(_0x40ba3f(0x382))/0xc);if(_0x432987===_0x1fa880)break;else _0x130828['push'](_0x130828['shift']());}catch(_0xc40be4){_0x130828['push'](_0x130828['shift']());}}}(_0x3208,0x1bb66));function _0x3208(){const _0x1a3e2f=['_handleLeaveEvent','url(#on-line-single_clip0_910_349)','height','_entities','_getSaveTimeout','UniverCollaborationClientUIPlugin','subUnitId','[WebUrlController]','off-line-single_clip0_910_343','_localStorageService','InsertRowCommandId','clearInterval','IMessageService','eventID','ranges','selection','from','ColorKit','substring','_onCursorUpdate','defIds','disposeWithMe','mapTo','VIEW_MAIN','_getAnchorBounding','AWAITING_WITH_PENDING','makeDirty','_startSheetCollabCursor','Error','handleDeleteRangeMoveLeft','UNIVER_DOC','handleInsertCol','random','_drawRectRange','triggerDblclick','startRow','sessionStatus$','pipe','handleInsertRangeMoveDown','CollaborationEvent','_injector','_updateLocalCursor','0\x200\x2017\x2016','session.connection-failed','UNIVER_SHEET','_transformService','column','_clearOtherTimers','hide','createInstance','@univerjs/core','InsertColCommandId','color','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','getActiveSheet','transformRemoteChangeset','dispose$','Fragment','unitId','takeUntil','_initStatusListener','indexOf','getMergeData','setParam','blue400','SetDocZoomRatioOperation','_draw','_updateURLWithCurrentState','CLOSE_ROOM','_getSheetObject','MessageType','8onHcQS','subscribeEvent','_colorIndex','_name','DocCollaborationEntity','whenReady','editingUnit','forwardRef','round','size','replaceDocRanges','DocIMEInputManagerService','AWAITING','BehaviorSubject','_docTransformSelectionsService','getSheetObject','getRenderById','enableLocalCache','_hovered','requireSession','toDisposable','apply','toStringTag','_uiPartsService','send','_eventUnsubscribe','@univerjs-pro/collaboration-client','saveTaskMap','@univerjs/design','@univerjs/sheets-ui','combineLatest','_localeService','_status$','_disabled','on-line-single_clip0_910_349','CollaborationStatus','stringify','assignAColorForMemberID','_collabCursorState$','colorChannel1','SUBMIT_CHANGESET_TIMEOUT','url(#$1','string','div','@univerjs/sheets','docStateChange$','getViewport','CollaborationSessionService','registerDependencies','_setupBeforeClosingHandler','_init','startColumn','Injector','_handleHeartbeatEvent','doc.mutation.rich-text-editing','dispose','isEditing','jsxs','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','uni.network.url-service','rgba(255,\x20255,\x20255,\x200.01)','Warning','unit','fromEventSubject','_scene','getItem','@univerjs/docs-ui','pluginName','unitID','INotificationService','isArray','params','map','getOwnPropertyDescriptor','href','5sRcGUd','serializeRangeWithSheet','UPDATE_CURSOR','flatMap','newValue','5918VbkQOG','show','_transformPreviousActiveRange','_colorAssignService','syncEditingCollabCursor','DocStateChangeManagerService','onStarting','onRendered','jiqing500','_scheduleSaving','_selfUnitIDs','HEADER_MENU','roomMembers','getCurrentSelections','_initCommandExecutedListener','endColumn','Disposable','currentColor','FromArray','Module','_saveCache','min','UnitStatus','_setupSubUnitSync','SheetCollabCursorShape','11244aKeWdE','Optional','_imageIoService','textRanges','unshift','univer-online-status-icon','online','handleInsertRangeMoveRight','_hover','useDependency','collab-text-range-','Workbook','getAncestorScale','_ensureSubject','addObject','max','DeleteRangeMoveUpCommandId','_initEntityListener','_themeService','attrs','_render','Tools','univerjs-icon\x20univerjs-icon-','getCurrentRevOfUnit','collabStatus.notCollab','_initResize','m1Prime','then','collabStatus.synced','onTransformChange$','LocaleService','transformMutation','distinctUntilChanged','text','RevisionService','OnLineSingle','status$','@univerjs/engine-render','COLORS','currentTheme$','function','getMember','RefRangeService','collabStatus.offline','getDocRanges','869092vomtPS','override','loadOfflineData','delete','_collaborationUIEventService','@univerjs/rpc','fillStyle','type','NO_OTHER_CLIENTS_EDITING','collaboration-client.offline-data-not-saved','ILocalStorageService','_getScale','history','_entityInit$','deepClone','_scheduleHeartbeat','CollaborationController','_docTransformStateCacheService','getUnitId','activeSheet$','@univerjs/drawing','propertyIsEnumerable','object','_cursors','asObservable','find','length','connectInjector','setActiveRange','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','IBeforeCloseService','source','MoveRangeCommandId','mutations','onLocalMutation','_transformHistoryAndStateStack','ICommandService','range','defs','RxDisposable','SetSelectionsOperation','deserializeRangeWithSheet','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getUnhiddenWorksheets','isTransformMutationFailure','entries','UniverInstanceType','handleDeleteRangeMoveUp','handleIRemoveRow','set','_anchorDot','RemoveRowCommandId','searchParams','none','react.fragment','next','icon','concat','_handleHover','ILocalCacheService','IRenderManagerService','_transformUndoRedoStack','290WKxCBg','gold400','transformSelections','USERS_LEAVE','_univerInstanceService','_docStateChangeManagerService','_heartbeatTimer','save','isTransformMutationsWithChangesetSuccess','onCommandExecuted','_registerRenderDependencies','pushState','Subject','SYNCED','path','all','_color','_saveTaskMap','saveOfflineData','349558quvrRU','RegularPolygon','Rect','IConfigService','getCellPositionByOffset','prototype','exhaustSavingTask','getColor','_removeClearOtherTimer','_collabCursorController','engine','_notificationService','_updateSubUnitFromURLParams','_collabSessionService','OTHER_CLIENTS_EDITING','@univerjs/docs','translate(.97)','symbol','transformIMECache','_roomMembers$','location','sheetID','_renderManagerService','push','switchMap','updateOfflineData','_cursorInfo$','has','1em','_refRangeService','error','storage','useRef','OFFLINE','permission.title','backgroundColor','useObservable','_configService','_backgroundColor','_logService','removeParam','_textBubble','exports','call','125125AWwYnb','_shapes','unload','_cursorShapes','688308Tdlkqu','RECT','CollaborationStatusDisplay','key','_toggleOffline','_docTransformIMECacheService','defaultProps','onlineStatusIcon','shareReplay','SOCKET_FAILED','urlChange$','CollaborationUIEventId','addEventListener','subunit','values','_labelPosition','collaboration.closeRoom','MUTATION','data','event$','@univerjs/engine-formula','_updateCollabCursors','lineTo','DeleteRangeMoveLeftCommandId','name','getLocalCacheKey','Rectangle','clipPath','_drawTextRange','WebBrowserSingleActiveUnitService','getTypeOfUnitDisposed$','reconnect','debounceTime','collabStatus.conflict','_docSyncEditingCollabCursorService','imageSourceType','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','subscribe','_config','entityInit$','filter','top','fromEvent','_registerDependencies','CollaborationUIEventService','jsx','DOC_RANGE_TYPE','width','resize','addObjects','getFocusedUnit','skeleton','drawWith','DataLoaderService','collab-rect-range-','with','getValue','handleInsertRow','registerRefRange','Unknown\x20user','PERMISSION_DENIED','svg','_urlService','_onCursorDelete','fill','unsubscribe','focused$','ITransformService','InsertRangeMoveDownCommandId','_range','transformMutationsWithChangeset','getMemberID','setInterval','actions','_unitOnClients','ACTIVE_UNIT_EVENT_CHANNEL','NodePositionConvertToCursor','cursorInfo','_collaborationController','setUndoRedoMutationParamsCache','3TSQJKp','cursorInfo$','getConfig','assign','DocSelectionManagerService','xlink:href','_onRefRangeChange','BuiltInUIPart','fillText','CommandType','bottom','getCollabCursors$','children','onlineStatus','executeCommand','setConfig','getParam','includes','popstate','parse','collaboration-client-ui.config','disableLocalCache','[DataLoaderController]','session.will-retry','IUniverInstanceService','debounce','getVpScrollXYInfoByPosToVp','setShapeProps','_assignedColors','closePath','M0\x200H16V16H0z','for','transformStateCache','react.element','disposeUnit','_initEvent','0\x200\x2016\x2016','_lastPointer','Inject','_cursor','collabCursorState$','IImageIoService','merge','getRangePointData','getSheetId','NodePositionConvertToRectRange','_online','ONLINE','SessionStatus','NOT_COLLAB','24471Pevoyx','_cachedData','getSheetBySheetId','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','defineProperty','_id','_send','_hideTimer','hasOwnProperty','_getMergeRange','collaboration-session-retry','#fff','font','generateRandomId','onPointerLeave$','collabStatus.fetchMiss','_messageService','toRgbString','_docClipboardService','_localCacheService','_sheetSkeletonManagerService','getUnitStatus$','clearTimeout','idSuffix','_handleJoinEvent','TEXT_RANGE_LAYER_INDEX','setItem','init','_docSkeletonManagerService','setAlpha','tag','on-line-single','_memberService','registerRenderModule','JOIN_ROOM_FAILED','ILogService','_anchor','getSkeleton','_document','_context','add','ReactCurrentOwner','EffectRefRangId','TEXT','toString','sheetId','className','_beforeCloseService','current','createElement','ref','DesktopCollaborationStatusDisplayController','m2Prime','_scheduleClearOtherTimer','undoState','DisposableCollection','_removeCollabCursors','FETCH_MISS','arc','_handleEvent','redoState','roomMembers$','startsWith','IDocClipboardService','_revisionService','_commandService','restore','black','204852vQzMao','univer-online','mergeOverrideWithDependencies','onPointerEnter$','getCoordByCell','extend','debug','onlineStatusTitle','isActive','Vector2','SetWorksheetActivateCommand','SheetSkeletonManagerService','replaceState','displayName','_drawAnchor','collaboration.single-unit.warning','get','complete','forEach','use','_session','collab-text-anchor-','CONFLICT','_startDocCollabCursor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','PENDING','findNodePositionByCharIndex','row','Shape','...','_syncEditingCollabCursorService','univer-offline','_refreshCollabCursors','evenodd','IUIPartsService','_initDependencies','_toggleOnline','univer-online-status','_unitStatus','some','endRow','fillRule','createIdentifier','ThemeService','react','SHEET_VIEWPORT_KEY','onMouseMove','measureText'];_0x3208=function(){return _0x1a3e2f;};return _0x3208();}var Ve=Object[_0x1767c6(0x262)],qe=(_0x45f3dd,_0x5e0f08,_0x40fe84)=>_0x5e0f08 in _0x45f3dd?Ve(_0x45f3dd,_0x5e0f08,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40fe84}):_0x45f3dd[_0x5e0f08]=_0x40fe84,u=(_0x16bec1,_0x44ef14,_0x3069f6)=>qe(_0x16bec1,typeof _0x44ef14!=_0x1767c6(0x1bd)?_0x44ef14+'':_0x44ef14,_0x3069f6);Object[_0x1767c6(0x262)](exports,Symbol[_0x1767c6(0x32f)],{'value':_0x1767c6(0x37c)});const _=require(_0x1767c6(0x333)),a=require(_0x1767c6(0x304)),p=require(_0x1767c6(0x3a7)),I=require(_0x1767c6(0x35b)),ze=require(_0x1767c6(0x3c3)),f=require('rxjs'),Y=require(_0x1767c6(0x1bb)),C=require('@univerjs-pro/collaboration'),Re=require(_0x1767c6(0x1f0)),g=require(_0x1767c6(0x345)),x=require('rxjs/operators'),z=require(_0x1767c6(0x336)),O=require(_0x1767c6(0x2ce)),U=require('@univerjs/ui'),w=require(_0x1767c6(0x335)),Ke=require(_0x1767c6(0x3b4));var Je=Object['defineProperty'],Ze=Object[_0x1767c6(0x362)],Qe=(_0xd00ebe,_0x3ace7e,_0x5ea331,_0x3a88f4)=>{const _0x2bb177=_0x1767c6;for(var _0x42c54b=_0x3a88f4>0x1?void 0x0:_0x3a88f4?Ze(_0x3ace7e,_0x5ea331):_0x3ace7e,_0x24d0bc=_0xd00ebe[_0x2bb177(0x3c9)]-0x1,_0x377993;_0x24d0bc>=0x0;_0x24d0bc--)(_0x377993=_0xd00ebe[_0x24d0bc])&&(_0x42c54b=(_0x3a88f4?_0x377993(_0x3ace7e,_0x5ea331,_0x42c54b):_0x377993(_0x42c54b))||_0x42c54b);return _0x3a88f4&&_0x42c54b&&Je(_0x3ace7e,_0x5ea331,_0x42c54b),_0x42c54b;},Te=(_0x13f1ff,_0x34f449)=>(_0x308dd1,_0x2ff2f5)=>_0x34f449(_0x308dd1,_0x2ff2f5,_0x13f1ff);let fe=class extends a['RxDisposable']{constructor(_0x5d20c1,_0x4e1c78){const _0x5bd71e=_0x1767c6;super(),this[_0x5bd71e(0x270)]=_0x5d20c1,this[_0x5bd71e(0x384)]=_0x4e1c78,this[_0x5bd71e(0x34b)]();}[_0x1767c6(0x34b)](){const _0x262074=_0x1767c6,_0x4ddad7=this;this['disposeWithMe'](this[_0x262074(0x270)]['addClipboardHook']({'onBeforePasteImage':async _0x4eb93f=>{const _0x54175b=_0x262074,_0x39cdc9=await _0x4ddad7[_0x54175b(0x384)]['saveImage'](_0x4eb93f);return _0x39cdc9?{'source':_0x39cdc9[_0x54175b(0x3ce)],'imageSourceType':_0x39cdc9[_0x54175b(0x1ff)]}:null;}}));}};fe=Qe([Te(0x0,I[_0x1767c6(0x29d)]),Te(0x1,ze[_0x1767c6(0x255)])],fe);const Ee=['purple300',_0x1767c6(0x371),'verdancy600','red300',_0x1767c6(0x312),_0x1767c6(0x3ee)];class pe extends a['Disposable']{constructor(){const _0x5b37b7=_0x1767c6;super(...arguments),u(this,_0x5b37b7(0x248),new Map()),u(this,_0x5b37b7(0x31b),0x0);}['assignAColorForMemberID'](_0x22c636){const _0x421454=_0x1767c6;if(this['_assignedColors']['has'](_0x22c636))return this['_assignedColors'][_0x421454(0x2b2)](_0x22c636);const _0x3c86fa=Ee[this[_0x421454(0x31b)]];return this[_0x421454(0x31b)]=(this[_0x421454(0x31b)]+0x1)%Ee[_0x421454(0x3c9)],this['_assignedColors'][_0x421454(0x3e0)](_0x22c636,_0x3c86fa),_0x3c86fa;}}function $e(_0x3a3d9f){const _0x52c16e=_0x1767c6;let _0x354767='';for(const _0x43d0ce of _0x3a3d9f){const {startOffset:_0x4e9b46,endOffset:_0x1a0f6d,isActive:_0x33dae1,rangeType:_0x5e859f,segmentId:_0x556fa0,segmentPage:_0x3f6c25}=_0x43d0ce;_0x354767[_0x52c16e(0x3c9)]&&(_0x354767+=','),_0x354767+=_0x4e9b46+':'+_0x1a0f6d+':'+(_0x33dae1?'1':'0')+':'+_0x5e859f+':'+_0x556fa0+':'+_0x3f6c25;}return _0x354767;}function et(_0x119c7c){const _0x5eadf2=_0x1767c6,_0x185b0c=_0x119c7c['split'](','),_0x5bd3d9=[];for(const _0x5541e7 of _0x185b0c){const [_0x48a847,_0x287b92,_0x401d53,_0x1460bb,_0xd5a22b,_0x42685e]=_0x5541e7['split'](':');_0x5bd3d9[_0x5eadf2(0x1c3)]({'startOffset':Number(_0x48a847),'endOffset':Number(_0x287b92),'collapsed':_0x48a847===_0x287b92,'isActive':_0x401d53==='1','rangeType':_0x1460bb===a[_0x5eadf2(0x20a)][_0x5eadf2(0x289)]?a[_0x5eadf2(0x20a)][_0x5eadf2(0x289)]:a[_0x5eadf2(0x20a)]['RECT'],'segmentId':typeof _0xd5a22b=='string'?String(_0xd5a22b):'','segmentPage':Number(_0x42685e!=null?_0x42685e:-0x1)});}return _0x5bd3d9[_0x5eadf2(0x2c9)](_0x35cfaf=>_0x35cfaf[_0x5eadf2(0x2aa)])||(_0x5bd3d9[0x0][_0x5eadf2(0x2aa)]=!0x0),_0x5bd3d9;}class be extends a[_0x1767c6(0x3d6)]{constructor(){const _0x33ccad=_0x1767c6;super(...arguments),u(this,'_collabCursorState$',new f[(_0x33ccad(0x326))](null)),u(this,_0x33ccad(0x254),this[_0x33ccad(0x33f)]['asObservable']());}[_0x1767c6(0x36d)](_0x2294c8){const _0x961ca2=_0x1767c6,{unitID:_0x440387,memberID:_0x10c1a8,textRanges:_0x26e182}=_0x2294c8,_0x569c80=$e(_0x26e182);if(_0x569c80==='')return;const _0x186e81={'unitID':_0x440387,'memberID':_0x10c1a8,'selection':_0x569c80};this[_0x961ca2(0x33f)][_0x961ca2(0x3e6)](_0x186e81);}}var tt=Object[_0x1767c6(0x262)],st=Object['getOwnPropertyDescriptor'],rt=(_0x446446,_0x2bccbe,_0x6d6e39,_0x28a194)=>{const _0x2ba06d=_0x1767c6;for(var _0x28607e=_0x28a194>0x1?void 0x0:_0x28a194?st(_0x2bccbe,_0x6d6e39):_0x2bccbe,_0x588e6e=_0x446446[_0x2ba06d(0x3c9)]-0x1,_0x9642fc;_0x588e6e>=0x0;_0x588e6e--)(_0x9642fc=_0x446446[_0x588e6e])&&(_0x28607e=(_0x28a194?_0x9642fc(_0x2bccbe,_0x6d6e39,_0x28607e):_0x9642fc(_0x28607e))||_0x28607e);return _0x28a194&&_0x28607e&&tt(_0x2bccbe,_0x6d6e39,_0x28607e),_0x28607e;},P=(_0x595fb0,_0x7be386)=>(_0x418ce6,_0x5a2247)=>_0x7be386(_0x418ce6,_0x5a2247,_0x595fb0);const nt=0x12c,it=0x64;let ve=class extends a[_0x1767c6(0x3d6)]{constructor(_0x5d2a48,_0x228aab,_0x401359,_0x4e9eab,_0x247ab3,_0xc4d736,_0x43f83b,_0x37b157,_0x5d9053){const _0x3ff5e3=_0x1767c6;super(),u(this,_0x3ff5e3(0x25a),!0x1),u(this,_0x3ff5e3(0x34b),!0x1),u(this,_0x3ff5e3(0x1c6),new f[(_0x3ff5e3(0x326))](new Map())),u(this,_0x3ff5e3(0x22d),this['_cursorInfo$'][_0x3ff5e3(0x3c7)]()),u(this,_0x3ff5e3(0x1bf),new f[(_0x3ff5e3(0x326))]([])),u(this,_0x3ff5e3(0x29b),this[_0x3ff5e3(0x1bf)][_0x3ff5e3(0x2f7)](f['debounceTime'](nt))),u(this,_0x3ff5e3(0x2fb),a[_0x3ff5e3(0x245)](_0x26b6ed=>{const _0x2cd8fa=_0x3ff5e3,_0x2c7225={'eventID':C[_0x2cd8fa(0x2f9)][_0x2cd8fa(0x366)],'data':{'unitID':this[_0x2cd8fa(0x35d)],'memberID':this[_0x2cd8fa(0x2b6)][_0x2cd8fa(0x223)](),'selection':$e(_0x26b6ed)}};this[_0x2cd8fa(0x2b6)][_0x2cd8fa(0x331)](_0x2c7225,this[_0x2cd8fa(0x35d)]);},it)),(this[_0x3ff5e3(0x35d)]=_0x5d2a48,this[_0x3ff5e3(0x2b6)]=_0x228aab,this[_0x3ff5e3(0x2fa)]=_0x401359,this[_0x3ff5e3(0x36c)]=_0x4e9eab,this[_0x3ff5e3(0x27e)]=_0x247ab3,this[_0x3ff5e3(0x2c0)]=_0xc4d736,this[_0x3ff5e3(0x2ff)]=_0x43f83b,this['_univerInstanceService']=_0x37b157,this[_0x3ff5e3(0x29f)]=_0x5d9053);}get['cursorInfo'](){const _0x19f8eb=_0x1767c6;return this[_0x19f8eb(0x1c6)][_0x19f8eb(0x214)]();}get[_0x1767c6(0x375)](){const _0x4e255e=_0x1767c6;return this[_0x4e255e(0x1bf)][_0x4e255e(0x214)]();}[_0x1767c6(0x350)](){const _0x4e76b6=_0x1767c6;super[_0x4e76b6(0x350)](),this[_0x4e76b6(0x1c6)][_0x4e76b6(0x3e6)](new Map()),this[_0x4e76b6(0x1c6)][_0x4e76b6(0x2b3)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x4e76b6(0x2b3)]();}[_0x1767c6(0x279)](){const _0x2f89da=_0x1767c6;this[_0x2f89da(0x34b)]||(this['_init']=!0x0,this[_0x2f89da(0x2b6)][_0x2f89da(0x2f6)][_0x2f89da(0x2f7)](f['takeUntil'](this[_0x2f89da(0x30a)]))[_0x2f89da(0x201)](_0x10419d=>{const _0x482152=_0x2f89da;_0x10419d===_['SessionStatus'][_0x482152(0x25b)]?this[_0x482152(0x2c6)]():this[_0x482152(0x1e0)]();}),this[_0x2f89da(0x2b6)][_0x2f89da(0x1ef)][_0x2f89da(0x2f7)](f[_0x2f89da(0x30d)](this[_0x2f89da(0x30a)]))[_0x2f89da(0x201)](_0xbd3a74=>{const _0x1041b2=_0x2f89da,_0x1ff4c1=_0xbd3a74[_0x1041b2(0x2df)];_0x1ff4c1===C[_0x1041b2(0x2f9)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xbd3a74),_0x1ff4c1===C['CollaborationEvent'][_0x1041b2(0x3f0)]&&this[_0x1041b2(0x21b)](_0xbd3a74);}),this[_0x2f89da(0x2e7)](this[_0x2f89da(0x29f)][_0x2f89da(0x3f6)](_0x5cd1ed=>{const _0x1453e8=_0x2f89da,_0x437344=_0x5cd1ed[_0x1453e8(0x360)];_0x437344!=null&&this['_online']&&_0x5cd1ed['id']===Y['SetTextSelectionsOperation']['id']&&_0x437344[_0x1453e8(0x30c)]===this[_0x1453e8(0x35d)]&&_0x437344[_0x1453e8(0x351)]===!0x1&&_0x437344['ranges']['length']>0x0&&this[_0x1453e8(0x2fb)](_0x437344[_0x1453e8(0x2e0)]);})),this[_0x2f89da(0x2c0)]['collabCursorState$'][_0x2f89da(0x2f7)](f[_0x2f89da(0x30d)](this['dispose$']))[_0x2f89da(0x201)](_0xd8caf9=>{const _0x46e82c=_0x2f89da;if((_0xd8caf9==null?void 0x0:_0xd8caf9[_0x46e82c(0x35d)])!==this[_0x46e82c(0x35d)])return;const _0xec78f={'eventID':C['CollaborationEvent']['UPDATE_CURSOR'],'data':_0xd8caf9};this[_0x46e82c(0x2e5)](_0xec78f);}),this[_0x2f89da(0x2e7)](this[_0x2f89da(0x29f)][_0x2f89da(0x3f6)](_0x2cbc58=>{const _0x416c85=_0x2f89da;if(_0x2cbc58[_0x416c85(0x360)]==null)return;const _0x2b994f=_0x2cbc58[_0x416c85(0x360)];if(_0x2cbc58['id']!==Y['RichTextEditingMutation']['id']||_0x2b994f['unitId']!==this[_0x416c85(0x35d)])return;const _0x5d7347={'id':_0x416c85(0x34f),'params':_0x2b994f},_0x7b66b=this[_0x416c85(0x229)];for(const [_0x39c4b8,_0x7a086e]of _0x7b66b){const _0x529050={'id':_0x416c85(0x34f),'params':{'unitId':this[_0x416c85(0x35d)],'actions':null,'textRanges':_0x7a086e[_0x416c85(0x2e0)]}},_0x5a6668=this[_0x416c85(0x2ff)][_0x416c85(0x3a1)](_0x5d7347,_0x529050,!0x1);if(C[_0x416c85(0x3db)](_0x5a6668))throw _0x5a6668[_0x416c85(0x1ca)];_0x7b66b[_0x416c85(0x3e0)](_0x39c4b8,{..._0x7a086e,'ranges':_0x5a6668['m2Prime'][_0x416c85(0x360)]['textRanges']});}queueMicrotask(()=>{const _0x28f705=_0x416c85;this[_0x28f705(0x1c6)][_0x28f705(0x3e6)](_0x7b66b);});})));}['_onCursorUpdate'](_0x572c59){const _0x38f954=_0x1767c6;var _0x110cf6,_0x3e80d0;const {memberID:_0x487183,selection:_0x5eb777}=_0x572c59['data'],_0x55c4df=et(_0x5eb777),_0x596a50=(_0x3e80d0=(_0x110cf6=this[_0x38f954(0x27e)][_0x38f954(0x3ab)](this[_0x38f954(0x35d)],_0x487183))==null?void 0x0:_0x110cf6[_0x38f954(0x1f4)])!=null?_0x3e80d0:_0x38f954(0x217),_0x11dd2e={'color':this[_0x38f954(0x36c)][_0x38f954(0x33e)](_0x487183),'name':_0x596a50,'ranges':_0x55c4df},_0x4644f6=this[_0x38f954(0x229)];_0x4644f6['set'](_0x487183,_0x11dd2e),this[_0x38f954(0x1c6)][_0x38f954(0x3e6)](_0x4644f6);}[_0x1767c6(0x21b)](_0x3f1387){const _0x5f301c=_0x1767c6,{memberID:_0x267343}=_0x3f1387[_0x5f301c(0x1ee)],_0x4a161b=this['cursorInfo'];_0x4a161b[_0x5f301c(0x3b2)](_0x267343),this[_0x5f301c(0x1c6)][_0x5f301c(0x3e6)](_0x4a161b);}[_0x1767c6(0x2c6)](){const _0x360f54=_0x1767c6;var _0x21d33c;if(this[_0x360f54(0x25a)]=!0x0,((_0x21d33c=this[_0x360f54(0x3f1)]['getFocusedUnit']())==null?void 0x0:_0x21d33c[_0x360f54(0x3c1)]())!==this[_0x360f54(0x35d)])return;const _0x68fefe=this[_0x360f54(0x2fa)][_0x360f54(0x2b2)](Y[_0x360f54(0x230)])[_0x360f54(0x3ae)]();Array[_0x360f54(0x35f)](_0x68fefe)&&_0x68fefe[_0x360f54(0x3c9)]>0x0&&this[_0x360f54(0x2fb)](_0x68fefe);}[_0x1767c6(0x1e0)](){const _0x17ef9a=_0x1767c6;this[_0x17ef9a(0x25a)]=!0x1;}};ve=rt([P(0x2,a[_0x1767c6(0x252)](a[_0x1767c6(0x34d)])),P(0x3,a[_0x1767c6(0x252)](pe)),P(0x4,a['Inject'](_['MemberService'])),P(0x5,a[_0x1767c6(0x252)](be)),P(0x6,C[_0x1767c6(0x21f)]),P(0x7,a[_0x1767c6(0x244)]),P(0x8,a[_0x1767c6(0x3d3)])],ve);var ot=Object[_0x1767c6(0x262)],at=Object[_0x1767c6(0x362)],ct=(_0x4e1ddf,_0x4133f1,_0x5d16f8,_0x170787)=>{const _0x46b90b=_0x1767c6;for(var _0x1ebc82=_0x170787>0x1?void 0x0:_0x170787?at(_0x4133f1,_0x5d16f8):_0x4133f1,_0x5891b6=_0x4e1ddf[_0x46b90b(0x3c9)]-0x1,_0x239d22;_0x5891b6>=0x0;_0x5891b6--)(_0x239d22=_0x4e1ddf[_0x5891b6])&&(_0x1ebc82=(_0x170787?_0x239d22(_0x4133f1,_0x5d16f8,_0x1ebc82):_0x239d22(_0x1ebc82))||_0x1ebc82);return _0x170787&&_0x1ebc82&&ot(_0x4133f1,_0x5d16f8,_0x1ebc82),_0x1ebc82;},L=(_0x5a3587,_0x33a4f7)=>(_0x11b4cd,_0x5f3311)=>_0x33a4f7(_0x11b4cd,_0x5f3311,_0x5a3587);const lt=0x12c,ht=0x64,ut=()=>{let _0x3a8bca=[],_0x5027e0=!0x1;return _0x89a557=>{const _0x23fefe=_0x3493;_0x3a8bca[_0x23fefe(0x1c3)](_0x89a557),_0x5027e0||(_0x5027e0=!0x0,setTimeout(()=>{const _0x2c79e0=_0x23fefe;_0x3a8bca[_0x2c79e0(0x2b4)](_0x1ede43=>_0x1ede43()),_0x3a8bca=[],_0x5027e0=!0x1;}));};};function _0x3493(_0x4b1366,_0x3289c3){const _0x3208fb=_0x3208();return _0x3493=function(_0x3493e5,_0x2de7e2){_0x3493e5=_0x3493e5-0x1b9;let _0x4a9ffa=_0x3208fb[_0x3493e5];return _0x4a9ffa;},_0x3493(_0x4b1366,_0x3289c3);}let me=class extends a['RxDisposable']{constructor(_0x2eab26,_0x1b3a8b,_0x44a644,_0x534e9f,_0x7bf13e,_0x24f07c,_0x3bd972,_0x56d099){const _0x15dd76=_0x1767c6;super(),u(this,_0x15dd76(0x25a),!0x1),u(this,_0x15dd76(0x34b),!0x1),u(this,'_cursorInfo$',new f['BehaviorSubject'](new Map())),u(this,'cursorInfo$',this[_0x15dd76(0x1c6)][_0x15dd76(0x3c7)]()),u(this,'_roomMembers$',new f[(_0x15dd76(0x326))]([])),u(this,'roomMembers$',this[_0x15dd76(0x1bf)][_0x15dd76(0x2f7)](f[_0x15dd76(0x1fc)](lt))),u(this,_0x15dd76(0x2fb),a['debounce']((_0x589fc2,_0x386861)=>{const _0x3d844c=_0x15dd76,_0x3dca76={'eventID':C['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':Re[_0x3d844c(0x365)](_0x589fc2,_0x386861[_0x3d844c(0x3d4)])}};this['_session'][_0x3d844c(0x331)](_0x3dca76,this[_0x3d844c(0x35d)]);},ht)),(this['unitID']=_0x2eab26,this['_session']=_0x1b3a8b,this[_0x15dd76(0x2fa)]=_0x44a644,this[_0x15dd76(0x36c)]=_0x534e9f,this['_memberService']=_0x7bf13e,this[_0x15dd76(0x3f1)]=_0x24f07c,this[_0x15dd76(0x29f)]=_0x3bd972,this[_0x15dd76(0x1c9)]=_0x56d099);}get[_0x1767c6(0x229)](){const _0xd24435=_0x1767c6;return this['_cursorInfo$'][_0xd24435(0x214)]();}get[_0x1767c6(0x375)](){const _0x4dea3a=_0x1767c6;return this[_0x4dea3a(0x1bf)][_0x4dea3a(0x214)]();}[_0x1767c6(0x350)](){const _0x43a610=_0x1767c6;super[_0x43a610(0x350)](),this['_cursorInfo$'][_0x43a610(0x3e6)](new Map()),this[_0x43a610(0x1c6)]['complete'](),this[_0x43a610(0x1bf)][_0x43a610(0x3e6)]([]),this[_0x43a610(0x1bf)][_0x43a610(0x2b3)]();}['init'](){const _0x3c495a=_0x1767c6;this[_0x3c495a(0x34b)]||(this[_0x3c495a(0x34b)]=!0x0,this[_0x3c495a(0x2b6)][_0x3c495a(0x2f6)][_0x3c495a(0x2f7)](f[_0x3c495a(0x30d)](this[_0x3c495a(0x30a)]))[_0x3c495a(0x201)](_0x19932a=>{const _0x4f8c25=_0x3c495a;_0x19932a===_[_0x4f8c25(0x25c)]['ONLINE']?this[_0x4f8c25(0x2c6)]():this[_0x4f8c25(0x1e0)]();}),this[_0x3c495a(0x2b6)]['event$']['pipe'](f[_0x3c495a(0x30d)](this[_0x3c495a(0x30a)]))[_0x3c495a(0x201)](_0x414092=>{const _0xda4b40=_0x3c495a,_0xcefb43=_0x414092['eventID'];_0xcefb43===C[_0xda4b40(0x2f9)][_0xda4b40(0x366)]&&this[_0xda4b40(0x2e5)](_0x414092),_0xcefb43===C[_0xda4b40(0x2f9)][_0xda4b40(0x3f0)]&&this[_0xda4b40(0x21b)](_0x414092);}),this[_0x3c495a(0x232)](),this[_0x3c495a(0x2e7)](this[_0x3c495a(0x29f)][_0x3c495a(0x3f6)](_0x12a101=>{const _0x5d4881=_0x3c495a;if(this[_0x5d4881(0x25a)]&&_0x12a101['id']===g[_0x5d4881(0x3d7)]['id']&&_0x12a101[_0x5d4881(0x360)][_0x5d4881(0x30c)]===this[_0x5d4881(0x35d)]){const _0x55dd39=_0x12a101[_0x5d4881(0x360)];this[_0x5d4881(0x2fb)](_0x55dd39[_0x5d4881(0x2d8)],_0x55dd39['selections'][0x0]);}})));}[_0x1767c6(0x2e5)](_0x1c2813){const _0x541230=_0x1767c6;var _0x2a3794,_0x536706;const {memberID:_0x3b7c75,selection:_0x143da0}=_0x1c2813[_0x541230(0x1ee)],{sheetName:_0x42d199,range:_0x15f19f}=Re[_0x541230(0x3d8)](_0x143da0),_0x412530={'name':(_0x536706=(_0x2a3794=this[_0x541230(0x27e)][_0x541230(0x3ab)](this[_0x541230(0x35d)],_0x3b7c75))==null?void 0x0:_0x2a3794[_0x541230(0x1f4)])!=null?_0x536706:_0x541230(0x217),'range':this['_getMergeRange'](_0x42d199,_0x15f19f),'sheetID':_0x42d199,'color':this[_0x541230(0x36c)][_0x541230(0x33e)](_0x3b7c75),'selection':_0x143da0},_0x4482da=this[_0x541230(0x229)];_0x4482da['set'](_0x3b7c75,_0x412530),this[_0x541230(0x1c6)]['next'](_0x4482da);}[_0x1767c6(0x21b)](_0x4222ce){const _0x83a8d8=_0x1767c6,{memberID:_0x19058e}=_0x4222ce[_0x83a8d8(0x1ee)],_0x41f557=this[_0x83a8d8(0x229)];_0x41f557[_0x83a8d8(0x3b2)](_0x19058e),this['_cursorInfo$'][_0x83a8d8(0x3e6)](_0x41f557);}[_0x1767c6(0x267)](_0x2cdc48,_0x11d850){const _0x6734b4=_0x1767c6;var _0x5ca01b,_0x9d3522;const _0x257fd0=(_0x9d3522=(_0x5ca01b=this[_0x6734b4(0x3f1)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x5ca01b['getSheetBySheetId'](_0x2cdc48))==null?void 0x0:_0x9d3522[_0x6734b4(0x310)]();return(_0x257fd0==null?void 0x0:_0x257fd0[_0x6734b4(0x3c8)](_0x44ec91=>a[_0x6734b4(0x1f6)]['contains'](_0x44ec91,_0x11d850)))||_0x11d850;}[_0x1767c6(0x232)](){const _0x424475=_0x1767c6,_0x380f37=new a[(_0x424475(0x295))](),_0x37a32e=ut(),_0x1c4fa7=()=>{const _0x1913b3=_0x424475;_0x380f37[_0x1913b3(0x350)]();const _0x2490b7=(_0xe92a80,_0x87d0e2,_0x5772f4,_0x135a3d)=>{const _0x29774f=_0x1913b3;let _0x3d9bcb=[];switch(_0xe92a80['id']){case g['EffectRefRangId'][_0x29774f(0x1f3)]:{_0x3d9bcb=g[_0x29774f(0x2ef)](_0xe92a80,_0x135a3d);break;}case g[_0x29774f(0x288)][_0x29774f(0x392)]:{_0x3d9bcb=g[_0x29774f(0x3de)](_0xe92a80,_0x135a3d);break;}case g[_0x29774f(0x288)][_0x29774f(0x305)]:{_0x3d9bcb=g[_0x29774f(0x2f1)](_0xe92a80,_0x135a3d);break;}case g[_0x29774f(0x288)][_0x29774f(0x220)]:{_0x3d9bcb=g[_0x29774f(0x2f8)](_0xe92a80,_0x135a3d);break;}case g['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x3d9bcb=g[_0x29774f(0x389)](_0xe92a80,_0x135a3d);break;}case g[_0x29774f(0x288)][_0x29774f(0x2dc)]:{_0x3d9bcb=g[_0x29774f(0x215)](_0xe92a80,_0x135a3d);break;}case g[_0x29774f(0x288)][_0x29774f(0x3cf)]:{_0x3d9bcb=g['handleMoveRange'](_0xe92a80,_0x135a3d);break;}case g[_0x29774f(0x288)]['RemoveColCommandId']:{_0x3d9bcb=g['handleIRemoveCol'](_0xe92a80,_0x135a3d);break;}case g[_0x29774f(0x288)][_0x29774f(0x3e2)]:{_0x3d9bcb=g[_0x29774f(0x3df)](_0xe92a80,_0x135a3d);break;}}const _0x351e8d=g['runRefRangeMutations'](_0x3d9bcb,_0x135a3d),_0x2be665=this[_0x29774f(0x229)][_0x29774f(0x2b2)](_0x87d0e2);if(_0x2be665&&_0x351e8d){const _0x1b9712={..._0x2be665,'range':_0x351e8d};this['cursorInfo'][_0x29774f(0x3e0)](_0x87d0e2,_0x1b9712),_0x37a32e(()=>{const _0x2984d7=_0x29774f,_0x3120e9=this[_0x2984d7(0x1c9)][_0x2984d7(0x216)](_0x351e8d,_0x90ebf5=>(_0x3120e9[_0x2984d7(0x350)](),_0x2490b7(_0x90ebf5,_0x87d0e2,_0x5772f4,_0x351e8d)));_0x380f37[_0x2984d7(0x286)](_0x3120e9);});}return{'redos':[],'undos':[]};};this[_0x1913b3(0x229)]['forEach']((_0x5ef756,_0x5563f2)=>{const _0xea61dc=_0x1913b3,{range:_0x558ee8,sheetID:_0x47aa3e}=_0x5ef756,_0x3ef84c=this[_0xea61dc(0x1c9)][_0xea61dc(0x216)](_0x558ee8,_0x2f706a=>(_0x3ef84c['dispose'](),_0x2490b7(_0x2f706a,_0x5563f2,_0x47aa3e,_0x558ee8)));_0x380f37['add'](_0x3ef84c);});};this[_0x424475(0x2e7)](a[_0x424475(0x32d)](this[_0x424475(0x1c6)]['subscribe'](()=>{_0x1c4fa7();})));}[_0x1767c6(0x2c6)](){const _0x415774=_0x1767c6;var _0x5dc728,_0x12803e;if(this[_0x415774(0x25a)]=!0x0,((_0x5dc728=this['_univerInstanceService'][_0x415774(0x20e)]())==null?void 0x0:_0x5dc728[_0x415774(0x3c1)]())!==this['unitID'])return;const _0x9461a1=(_0x12803e=this[_0x415774(0x2fa)][_0x415774(0x2b2)](g['SheetsSelectionsService'])[_0x415774(0x376)]())==null?void 0x0:_0x12803e[0x0],_0x386698=this[_0x415774(0x3f1)]['getCurrentUnitForType'](a['UniverInstanceType'][_0x415774(0x2fe)])[_0x415774(0x308)]();_0x9461a1&&_0x386698&&this[_0x415774(0x2fb)](_0x386698[_0x415774(0x258)](),_0x9461a1);}['_toggleOffline'](){const _0x54a6b1=_0x1767c6;this[_0x54a6b1(0x25a)]=!0x1;}};me=ct([L(0x2,a[_0x1767c6(0x252)](a[_0x1767c6(0x34d)])),L(0x3,a['Inject'](pe)),L(0x4,a[_0x1767c6(0x252)](_['MemberService'])),L(0x5,a[_0x1767c6(0x244)]),L(0x6,a[_0x1767c6(0x3d3)]),L(0x7,a[_0x1767c6(0x252)](g[_0x1767c6(0x3ac)]))],me);var _t=Object['defineProperty'],dt=Object['getOwnPropertyDescriptor'],ft=(_0x50395f,_0x4c5a2d,_0x419239,_0x5ac495)=>{for(var _0x19d7d7=_0x5ac495>0x1?void 0x0:_0x5ac495?dt(_0x4c5a2d,_0x419239):_0x4c5a2d,_0x56eefa=_0x50395f['length']-0x1,_0x5c8180;_0x56eefa>=0x0;_0x56eefa--)(_0x5c8180=_0x50395f[_0x56eefa])&&(_0x19d7d7=(_0x5ac495?_0x5c8180(_0x4c5a2d,_0x419239,_0x19d7d7):_0x5c8180(_0x19d7d7))||_0x19d7d7);return _0x5ac495&&_0x19d7d7&&_t(_0x4c5a2d,_0x419239,_0x19d7d7),_0x19d7d7;},ie=(_0x2f13ba,_0x268674)=>(_0x56e3f6,_0xdd3e2d)=>_0x268674(_0x56e3f6,_0xdd3e2d,_0x2f13ba);let j=class extends a[_0x1767c6(0x3d6)]{constructor(_0x255257,_0x2e8307,_0x42eada){const _0x5a9170=_0x1767c6;super(),u(this,_0x5a9170(0x2d5),new Map()),u(this,_0x5a9170(0x3bc),new f[(_0x5a9170(0x3f9))]()),(this[_0x5a9170(0x3f1)]=_0x255257,this['_injector']=_0x2e8307,this['_collabSessionService']=_0x42eada,this['_init']());}[_0x1767c6(0x350)](){const _0x11f8dd=_0x1767c6;super['dispose'](),this[_0x11f8dd(0x3bc)][_0x11f8dd(0x2b3)](),this[_0x11f8dd(0x2d5)][_0x11f8dd(0x2b4)](_0x3d3c90=>_0x3d3c90[_0x11f8dd(0x350)]());}[_0x1767c6(0x237)](_0x562a2f){const _0x31e110=_0x1767c6;return this[_0x31e110(0x2d5)]['has'](_0x562a2f)?this['_entities'][_0x31e110(0x2b2)](_0x562a2f)[_0x31e110(0x22d)]:this[_0x31e110(0x3bc)][_0x31e110(0x2f7)](f[_0x31e110(0x204)](_0x20bcd4=>_0x20bcd4[_0x31e110(0x35d)]===_0x562a2f),f[_0x31e110(0x1c4)](_0x5803f1=>_0x5803f1[_0x31e110(0x22d)]));}[_0x1767c6(0x34b)](){const _0x35613d=_0x1767c6;this[_0x35613d(0x3f1)]['getTypeOfUnitAdded$'](a[_0x35613d(0x3dd)]['UNIVER_SHEET'])[_0x35613d(0x2f7)](f['takeUntil'](this[_0x35613d(0x30a)]))[_0x35613d(0x201)](async _0x6b2d19=>{const _0x189261=_0x35613d,_0x3a8b69=_0x6b2d19[_0x189261(0x3c1)](),_0x3cf840=await this[_0x189261(0x2ed)](_0x3a8b69);this[_0x189261(0x3bc)][_0x189261(0x3e6)](_0x3cf840),this[_0x189261(0x2d5)]['set'](_0x3a8b69,_0x3cf840);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x35613d(0x3dd)][_0x35613d(0x2f0)])['pipe'](f[_0x35613d(0x30d)](this[_0x35613d(0x30a)]))['pipe'](f[_0x35613d(0x204)](_0x10c17f=>!_0x10c17f[_0x35613d(0x3c1)]()[_0x35613d(0x29c)]('__')))[_0x35613d(0x201)](async _0xfe72cf=>{const _0x2c47f9=_0x35613d,_0x2eaa73=_0xfe72cf[_0x2c47f9(0x3c1)](),_0xa83def=await this[_0x2c47f9(0x2b9)](_0x2eaa73);this[_0x2c47f9(0x3bc)][_0x2c47f9(0x3e6)](_0xa83def),this[_0x2c47f9(0x2d5)]['set'](_0x2eaa73,_0xa83def);}),f[_0x35613d(0x256)](this[_0x35613d(0x3f1)][_0x35613d(0x1fa)](a[_0x35613d(0x3dd)][_0x35613d(0x2f0)]),this[_0x35613d(0x3f1)]['getTypeOfUnitDisposed$'](a[_0x35613d(0x3dd)][_0x35613d(0x2fe)]))[_0x35613d(0x2f7)](f[_0x35613d(0x30d)](this[_0x35613d(0x30a)]))[_0x35613d(0x201)](_0x527370=>{const _0x5f0fe0=_0x35613d,_0x33707c=_0x527370[_0x5f0fe0(0x3c1)](),_0x29a560=this['_entities'][_0x5f0fe0(0x2b2)](_0x33707c);_0x29a560&&(_0x29a560[_0x5f0fe0(0x350)](),this[_0x5f0fe0(0x2d5)]['delete'](_0x33707c));});}async[_0x1767c6(0x2ed)](_0x51af7d){const _0x2fa541=_0x1767c6,_0x1b77b0=await this[_0x2fa541(0x1b9)][_0x2fa541(0x32c)](_0x51af7d),_0x4fa13d=this[_0x2fa541(0x2fa)][_0x2fa541(0x303)](me,_0x51af7d,_0x1b77b0);return _0x4fa13d[_0x2fa541(0x279)](),_0x4fa13d;}async[_0x1767c6(0x2b9)](_0xffb472){const _0x27f1ca=_0x1767c6,_0x1b3a56=await this[_0x27f1ca(0x1b9)][_0x27f1ca(0x32c)](_0xffb472),_0x119c1c=this['_injector'][_0x27f1ca(0x303)](ve,_0xffb472,_0x1b3a56);return _0x119c1c[_0x27f1ca(0x279)](),_0x119c1c;}};j=ft([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0x1767c6(0x252)](a[_0x1767c6(0x34d)])),ie(0x2,a[_0x1767c6(0x252)](_['CollaborationSessionService']))],j);const X=0x14,Oe=0xc8,oe=0x4,vt=0x5;function mt(_0x18211c,_0x4945f7){const _0x4101cd=_0x1767c6;let {radius:_0x80c9d8,width:_0x435d51,height:_0xf55951}=_0x4945f7;_0x80c9d8=_0x80c9d8!=null?_0x80c9d8:0x0,_0x435d51=_0x435d51!=null?_0x435d51:0x1e,_0xf55951=_0xf55951!=null?_0xf55951:0x1e;let _0x42a63f=0x0,_0x26ed6c=0x0,_0x5ee915=0x0;_0x42a63f=_0x26ed6c=_0x5ee915=Math[_0x4101cd(0x37e)](_0x80c9d8,_0x435d51/0x2,_0xf55951/0x2),_0x18211c['beginPath'](),_0x18211c['moveTo'](_0x42a63f,0x0),_0x18211c[_0x4101cd(0x1f2)](_0x435d51-_0x26ed6c,0x0),_0x18211c['arc'](_0x435d51-_0x26ed6c,_0x26ed6c,_0x26ed6c,Math['PI']*0x3/0x2,0x0,!0x1),_0x18211c[_0x4101cd(0x1f2)](_0x435d51,_0xf55951-_0x5ee915),_0x18211c['arc'](_0x435d51-_0x5ee915,_0xf55951-_0x5ee915,_0x5ee915,0x0,Math['PI']/0x2,!0x1),_0x18211c[_0x4101cd(0x1f2)](0x0,_0xf55951),_0x18211c[_0x4101cd(0x1f2)](0x0,_0x42a63f),_0x18211c[_0x4101cd(0x298)](_0x42a63f,_0x42a63f,_0x42a63f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x18211c[_0x4101cd(0x249)](),_0x4945f7[_0x4101cd(0x21c)]&&(_0x18211c[_0x4101cd(0x3f4)](),_0x18211c[_0x4101cd(0x3b5)]=_0x4945f7[_0x4101cd(0x21c)],_0x4945f7[_0x4101cd(0x2cb)]===_0x4101cd(0x2c3)?_0x18211c['fill'](_0x4101cd(0x2c3)):_0x18211c[_0x4101cd(0x21c)](),_0x18211c[_0x4101cd(0x2a0)]());}class se extends p['Shape']{constructor(_0x138a0e,_0x3dc8f1){const _0x828ea4=_0x1767c6;super(_0x138a0e,_0x3dc8f1),u(this,'color'),u(this,_0x828ea4(0x3a3)),(this[_0x828ea4(0x306)]=_0x3dc8f1==null?void 0x0:_0x3dc8f1['color'],this[_0x828ea4(0x3a3)]=_0x3dc8f1==null?void 0x0:_0x3dc8f1[_0x828ea4(0x3a3)]);}static['drawWith'](_0x15e8df,_0x880536){const _0x2365a2=_0x1767c6,{text:_0x44b033,color:_0x329c9b}=_0x880536;_0x15e8df['save'](),_0x15e8df[_0x2365a2(0x26a)]=_0x2365a2(0x3cc);const _0x2a1c80=_0x15e8df['measureText'](_0x44b033)[_0x2365a2(0x20b)],_0x59e5f2=Math['min'](_0x2a1c80+0x2*oe,Oe);mt(_0x15e8df,{'height':X,'radius':0x4,'width':_0x59e5f2,'fill':_0x329c9b,'evented':!0x1}),_0x15e8df['fillStyle']='#FFF';const _0x1b6bba=oe,_0x46191f=X-vt,_0x406879=Oe-0x2*oe;if(_0x2a1c80>_0x406879){let _0x5cba04='',_0x1619f9=0x0;for(const _0x4b719c of _0x44b033){const _0x7a1ae0=_0x15e8df[_0x2365a2(0x2d1)](_0x4b719c)[_0x2365a2(0x20b)];if(_0x1619f9+_0x7a1ae0<=_0x406879-_0x15e8df[_0x2365a2(0x2d1)](_0x2365a2(0x2bf))[_0x2365a2(0x20b)])_0x5cba04+=_0x4b719c,_0x1619f9+=_0x7a1ae0;else{_0x5cba04+=_0x2365a2(0x2bf);break;}}_0x15e8df['fillText'](_0x5cba04,_0x1b6bba,_0x46191f);}else _0x15e8df[_0x2365a2(0x234)](_0x44b033,_0x1b6bba,_0x46191f);_0x15e8df[_0x2365a2(0x2a0)]();}[_0x1767c6(0x314)](_0x5eb16c){se['drawWith'](_0x5eb16c,this);}}const ae=_0x1767c6(0x2b7),St=_0x1767c6(0x38c),gt=_0x1767c6(0x212),W=0x6,Ct=1.5,ce=0x4,pt=1.5,bt=_0x1767c6(0x355);class De{constructor(_0x23fc6b,_0x3e53b9,_0x1473b8,_0x22d610){const _0x470c5a=_0x1767c6;u(this,_0x470c5a(0x1d9),[]),u(this,'_anchor',null),u(this,_0x470c5a(0x1d5),null),u(this,_0x470c5a(0x3e1),null),u(this,_0x470c5a(0x265),null),u(this,_0x470c5a(0x332),null),(this[_0x470c5a(0x253)]=_0x23fc6b,this[_0x470c5a(0x359)]=_0x3e53b9,this['_docSkeleton']=_0x1473b8,this[_0x470c5a(0x284)]=_0x22d610,this[_0x470c5a(0x396)]());}set[_0x1767c6(0x38a)](_0x1dac55){const _0x178517=_0x1767c6;_0x1dac55?(this[_0x178517(0x3e1)]&&this['_anchorDot'][_0x178517(0x302)](),this[_0x178517(0x1d5)]&&this[_0x178517(0x1d5)][_0x178517(0x36a)]()):(this[_0x178517(0x3e1)]&&this[_0x178517(0x3e1)][_0x178517(0x36a)](),this[_0x178517(0x1d5)]&&this[_0x178517(0x1d5)][_0x178517(0x302)]());}[_0x1767c6(0x350)](){const _0x5c0989=_0x1767c6;for(const _0x588884 of this['_shapes'])_0x588884[_0x5c0989(0x350)]();this[_0x5c0989(0x1d5)]&&this['_textBubble'][_0x5c0989(0x350)](),this[_0x5c0989(0x3e1)]&&this['_anchorDot']['dispose'](),this['_anchor']&&this['_anchor'][_0x5c0989(0x350)](),this[_0x5c0989(0x332)]&&this[_0x5c0989(0x332)]();}[_0x1767c6(0x396)](){const _0x255051=_0x1767c6;var _0x281347;const {_docSkeleton:_0x1faab6,_document:_0x24c2b3}=this,{color:_0xee61bf,name:_0x3754a9,ranges:_0x54cd19}=this[_0x255051(0x253)],_0x4e97a6=_0x24c2b3['getOffsetConfig'](),{docsLeft:_0x307d1e,docsTop:_0x1f6f94}=_0x4e97a6,_0x430339=new I[(_0x255051(0x228))](_0x4e97a6,_0x1faab6);for(const {startOffset:_0x2e54b7,endOffset:_0x1d3cef,rangeType:_0x14f335,segmentId:_0x83524f,segmentPage:_0x3d12a8,collapsed:_0x4c7b56,isActive:_0x4a7d00}of _0x54cd19){const _0xdb022f=_0x1faab6[_0x255051(0x2bc)](_0x2e54b7,!0x0,_0x83524f,_0x3d12a8);let _0x390854=_0x1faab6['findNodePositionByCharIndex'](_0x1d3cef,!0x0,_0x83524f,_0x3d12a8);if(_0x390854==null&&(_0x390854=_0x1faab6[_0x255051(0x2bc)](_0x1d3cef-0x1,!0x1,_0x83524f,_0x3d12a8)),_0x4a7d00){const {contentBoxPointGroup:_0x323dbb}=_0x430339[_0x255051(0x257)](_0x390854,_0x390854);if(_0x323dbb[_0x255051(0x3c9)]===0x0)continue;this[_0x255051(0x2b0)](_0xee61bf,_0x323dbb,_0x307d1e,_0x1f6f94,_0x3754a9),this['_eventUnsubscribe']=this[_0x255051(0x3e9)]();}if(_0xdb022f&&_0x390854){if(_0x14f335===a[_0x255051(0x20a)][_0x255051(0x1dd)]){const _0x147d8a=new I[(_0x255051(0x259))](_0x4e97a6,_0x1faab6),{pointGroup:_0x1b1208}=(_0x281347=_0x147d8a[_0x255051(0x257)](_0xdb022f,_0x390854))!=null?_0x281347:{};if(_0x1b1208==null||_0x1b1208[_0x255051(0x3c9)]===0x0)continue;this[_0x255051(0x2f3)](_0xee61bf,_0x1b1208,_0x307d1e,_0x1f6f94);}else{if(!_0x4c7b56){const {borderBoxPointGroup:_0x226687}=_0x430339[_0x255051(0x257)](_0xdb022f,_0x390854);if(_0x226687[_0x255051(0x3c9)]===0x0)continue;this['_drawTextRange'](_0xee61bf,_0x226687,_0x307d1e,_0x1f6f94);}}}}}[_0x1767c6(0x2b0)](_0x38028f,_0x3d53d5,_0x4012cd,_0x1835c5,_0x2b9496){const _0x554b78=_0x1767c6,_0x1c14dc=this[_0x554b78(0x2ea)](_0x3d53d5),{left:_0x259e5c,top:_0x28a686,height:_0x5cb605}=_0x1c14dc,_0x1471cc=this[_0x554b78(0x3ba)](),_0x390e84=pt/_0x1471cc,_0x33c1ef=new p[(_0x554b78(0x402))](ae+a[_0x554b78(0x397)][_0x554b78(0x26b)](W),{'left':_0x259e5c+_0x4012cd-_0x390e84,'top':_0x28a686+_0x1835c5,'height':_0x5cb605,'width':Ct,'fill':_0x38028f||p[_0x554b78(0x407)](a[_0x554b78(0x3a8)][_0x554b78(0x2a1)],0x0),'strokeWidth':_0x390e84,'stroke':bt,'evented':!0x0});this[_0x554b78(0x282)]=_0x33c1ef,this[_0x554b78(0x359)][_0x554b78(0x390)](_0x33c1ef,I[_0x554b78(0x277)]);const _0x17cab7=new p['Rect'](ae+a[_0x554b78(0x397)][_0x554b78(0x26b)](W),{'left':_0x259e5c+_0x4012cd-_0x390e84,'top':_0x28a686+_0x1835c5-ce/0x2,'height':ce,'width':ce,'fill':_0x38028f||p[_0x554b78(0x407)](a['COLORS'][_0x554b78(0x2a1)],0x0),'strokeWidth':0x0,'stroke':_0x38028f||p[_0x554b78(0x407)](a[_0x554b78(0x3a8)][_0x554b78(0x2a1)],0x0),'evented':!0x1});this[_0x554b78(0x3e1)]=_0x17cab7,this[_0x554b78(0x359)]['addObject'](_0x17cab7,I[_0x554b78(0x277)]);const _0xb4489b=new se(ae+a[_0x554b78(0x397)][_0x554b78(0x26b)](W),{'left':_0x259e5c+_0x4012cd-_0x390e84,'top':_0x28a686+_0x1835c5-X,'text':_0x2b9496,'color':_0x38028f});this['_textBubble']=_0xb4489b,this[_0x554b78(0x359)][_0x554b78(0x390)](_0xb4489b,I[_0x554b78(0x277)]),this['_hover']=!0x1;}[_0x1767c6(0x3e9)](){const _0x2b4074=_0x1767c6,_0x36465c=this[_0x2b4074(0x282)][_0x2b4074(0x2a5)][_0x2b4074(0x31a)](()=>{const _0x36015f=_0x2b4074;this[_0x36015f(0x38a)]=!0x0;}),_0x2185b5=this['_anchor'][_0x2b4074(0x26c)][_0x2b4074(0x31a)](()=>{const _0x5ba18a=_0x2b4074;this['_hideTimer']&&clearTimeout(this[_0x5ba18a(0x265)]),this[_0x5ba18a(0x265)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x177504=_0x2b4074;_0x36465c[_0x177504(0x21d)](),_0x2185b5[_0x177504(0x21d)]();};}[_0x1767c6(0x1f8)](_0x493b44,_0x5ea1d5,_0x12cccc,_0x175d5d){const _0x1068c1=_0x1767c6,_0x229790=new a[(_0x1068c1(0x2e3))](_0x493b44)[_0x1068c1(0x27b)](0.2)[_0x1068c1(0x26f)](),_0x2903c3=new p[(_0x1068c1(0x401))](St+a['Tools'][_0x1068c1(0x26b)](W),{'pointsGroup':_0x5ea1d5,'fill':_0x229790||p[_0x1068c1(0x407)](a[_0x1068c1(0x3a8)][_0x1068c1(0x2a1)],0.2),'left':_0x12cccc,'top':_0x175d5d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1068c1(0x1d9)]['push'](_0x2903c3),this[_0x1068c1(0x359)][_0x1068c1(0x390)](_0x2903c3,I['TEXT_RANGE_LAYER_INDEX']);}[_0x1767c6(0x2f3)](_0x2f76c0,_0x5c56e5,_0x5f4c60,_0xc23366){const _0x2fc566=_0x1767c6,_0x2f66d9=new a[(_0x2fc566(0x2e3))](_0x2f76c0)['setAlpha'](0.2)[_0x2fc566(0x26f)](),_0x289f99=new p[(_0x2fc566(0x401))](gt+a[_0x2fc566(0x397)][_0x2fc566(0x26b)](W),{'pointsGroup':_0x5c56e5,'fill':_0x2f66d9||p[_0x2fc566(0x407)](a['COLORS']['black'],0.2),'left':_0x5f4c60,'top':_0xc23366,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2fc566(0x1d9)][_0x2fc566(0x1c3)](_0x289f99),this[_0x2fc566(0x359)][_0x2fc566(0x390)](_0x289f99,I[_0x2fc566(0x277)]);}[_0x1767c6(0x2ea)](_0x3e3b97){const _0x36fa5c=_0x3e3b97[0x0],_0x36801e=_0x36fa5c[0x0],_0x5358d2=_0x36fa5c[0x2],{x:_0x4d6d14,y:_0x3f4c55}=_0x36801e,{x:_0x2a10f9,y:_0x451794}=_0x5358d2;return{'left':_0x4d6d14,'top':_0x3f4c55,'width':_0x2a10f9-_0x4d6d14,'height':_0x451794-_0x3f4c55};}['_getScale'](){const _0x22429a=_0x1767c6,{scaleX:_0x52291a,scaleY:_0x3ec3f5}=this['_scene']['getAncestorScale']();return Math[_0x22429a(0x391)](_0x52291a,_0x3ec3f5);}}var It=Object[_0x1767c6(0x262)],Rt=Object[_0x1767c6(0x362)],Tt=(_0x3bd73a,_0x31ad11,_0xd83c93,_0x51d04b)=>{const _0x55472b=_0x1767c6;for(var _0x4e5d92=_0x51d04b>0x1?void 0x0:_0x51d04b?Rt(_0x31ad11,_0xd83c93):_0x31ad11,_0x267556=_0x3bd73a[_0x55472b(0x3c9)]-0x1,_0xe55571;_0x267556>=0x0;_0x267556--)(_0xe55571=_0x3bd73a[_0x267556])&&(_0x4e5d92=(_0x51d04b?_0xe55571(_0x31ad11,_0xd83c93,_0x4e5d92):_0xe55571(_0x4e5d92))||_0x4e5d92);return _0x51d04b&&_0x4e5d92&&It(_0x31ad11,_0xd83c93,_0x4e5d92),_0x4e5d92;},G=(_0x4cddd7,_0x45d641)=>(_0x15abc6,_0x2534aa)=>_0x45d641(_0x15abc6,_0x2534aa,_0x4cddd7);let Se=class extends a[_0x1767c6(0x3d6)]{constructor(_0x390d94,_0x3e5dfe,_0x2ffb18,_0x309644,_0x173fc4){const _0x5dcf81=_0x1767c6;super(),u(this,_0x5dcf81(0x1db),[]),u(this,_0x5dcf81(0x3c6),[]),(this[_0x5dcf81(0x285)]=_0x390d94,this[_0x5dcf81(0x27a)]=_0x3e5dfe,this[_0x5dcf81(0x409)]=_0x2ffb18,this[_0x5dcf81(0x29f)]=_0x309644,this[_0x5dcf81(0x394)]=_0x173fc4,this[_0x5dcf81(0x34b)]());}[_0x1767c6(0x34b)](){const _0x424b7d=_0x1767c6,_0x1b9ad9=this[_0x424b7d(0x285)][_0x424b7d(0x30c)],_0x270692=this[_0x424b7d(0x27a)];this[_0x424b7d(0x2e7)](f['combineLatest']([this['_collabCursorController'][_0x424b7d(0x237)](_0x1b9ad9),this[_0x424b7d(0x394)][_0x424b7d(0x3a9)]])[_0x424b7d(0x2f7)](x[_0x424b7d(0x361)](([_0x446c16,_0x5dba75])=>({'skeleton':_0x270692[_0x424b7d(0x283)](),'cursors':[..._0x446c16['values']()][_0x424b7d(0x367)](_0xe0cd16=>({..._0xe0cd16,'color':_0x5dba75[_0xe0cd16[_0x424b7d(0x306)]]}))})))[_0x424b7d(0x201)](_0xe3dade=>{const _0x488e8d=_0x424b7d;if(this[_0x488e8d(0x296)](),_0xe3dade){const {skeleton:_0x18a92c,cursors:_0x19eb68}=_0xe3dade;this[_0x488e8d(0x1f1)](_0x18a92c,_0x19eb68);}})),this[_0x424b7d(0x39b)](),this[_0x424b7d(0x377)]();}['_updateCollabCursors'](_0x1b16db,_0x124d8d){const _0x36feef=_0x1767c6,{scene:_0x44a503,mainComponent:_0x5dc113}=this[_0x36feef(0x285)],_0x14897d=_0x124d8d[_0x36feef(0x361)](_0x270d89=>new De(_0x270d89,_0x44a503,_0x1b16db,_0x5dc113));this[_0x36feef(0x1db)]=_0x14897d,this[_0x36feef(0x3c6)]=_0x124d8d;}[_0x1767c6(0x2c2)](){const _0x421d95=_0x1767c6;this[_0x421d95(0x296)]();const {scene:_0x1d2e6d,mainComponent:_0x897b8f}=this[_0x421d95(0x285)],_0x5c1e7d=this['_docSkeletonManagerService'][_0x421d95(0x283)](),_0x4bbf45=this[_0x421d95(0x3c6)][_0x421d95(0x361)](_0x22ad92=>new De(_0x22ad92,_0x1d2e6d,_0x5c1e7d,_0x897b8f));this['_cursorShapes']=_0x4bbf45;}[_0x1767c6(0x296)](){const _0x21bc3a=_0x1767c6;this[_0x21bc3a(0x1db)]['forEach'](_0x2c811e=>_0x2c811e[_0x21bc3a(0x350)]()),this[_0x21bc3a(0x1db)]=[];}[_0x1767c6(0x377)](){const _0x5f2346=_0x1767c6,_0x360beb=[I[_0x5f2346(0x313)]['id']];this[_0x5f2346(0x2e7)](this['_commandService']['onCommandExecuted'](_0x4c7840=>{const _0x402165=_0x5f2346;_0x360beb[_0x402165(0x23d)](_0x4c7840['id'])&&_0x4c7840[_0x402165(0x360)][_0x402165(0x30c)]===this[_0x402165(0x285)][_0x402165(0x30c)]&&this[_0x402165(0x2c2)]();}));}[_0x1767c6(0x39b)](){const _0x2257fb=_0x1767c6;this['disposeWithMe'](a[_0x2257fb(0x358)](this[_0x2257fb(0x285)][_0x2257fb(0x40a)][_0x2257fb(0x39f)])[_0x2257fb(0x2f7)](x[_0x2257fb(0x204)](_0x733d98=>_0x733d98[_0x2257fb(0x3b6)]===p[_0x2257fb(0x2ba)][_0x2257fb(0x20c)]),x['throttleTime'](0x10))['subscribe'](()=>{const _0x593e72=_0x2257fb;this[_0x593e72(0x2c2)]();}));}};Se=Tt([G(0x1,a[_0x1767c6(0x252)](Y['DocSkeletonManagerService'])),G(0x2,a[_0x1767c6(0x252)](j)),G(0x3,a[_0x1767c6(0x3d3)]),G(0x4,a[_0x1767c6(0x252)](a['ThemeService']))],Se);const Et=0x1,Ot=1.5;class Le extends p[_0x1767c6(0x2be)]{constructor(_0x390e25,_0x1a732f){const _0x488992=_0x1767c6;super(_0x390e25,_0x1a732f),u(this,_0x488992(0x3fd)),u(this,_0x488992(0x32b),!0x1),u(this,_0x488992(0x221)),u(this,_0x488992(0x31c),''),u(this,_0x488992(0x1eb),_0x488992(0x205)),u(this,'_backgroundColor'),(_0x1a732f&&this[_0x488992(0x247)](_0x1a732f),this[_0x488992(0x2a5)]['subscribeEvent'](()=>this[_0x488992(0x247)]({'hovered':!0x0})),this[_0x488992(0x26c)][_0x488992(0x31a)](()=>this[_0x488992(0x247)]({'hovered':!0x1})));}[_0x1767c6(0x247)](_0x5d059c){const _0x56a881=_0x1767c6;var _0x37769f,_0x3c1498,_0x56dd39,_0x33b181,_0x328966,_0x337f5d;this['_color']=(_0x37769f=_0x5d059c[_0x56a881(0x306)])!=null?_0x37769f:this[_0x56a881(0x3fd)],this[_0x56a881(0x32b)]=(_0x3c1498=_0x5d059c['hovered'])!=null?_0x3c1498:this[_0x56a881(0x32b)],this['_range']=(_0x56dd39=_0x5d059c[_0x56a881(0x3d4)])!=null?_0x56dd39:this[_0x56a881(0x221)],this[_0x56a881(0x31c)]=(_0x33b181=_0x5d059c['name'])!=null?_0x33b181:this[_0x56a881(0x31c)],this[_0x56a881(0x1eb)]=(_0x328966=_0x5d059c['labelPosition'])!=null?_0x328966:this['_labelPosition'],this[_0x56a881(0x1d2)]=(_0x337f5d=_0x5d059c[_0x56a881(0x1cf)])!=null?_0x337f5d:this['_backgroundColor'],this['transformByState']({'width':_0x5d059c[_0x56a881(0x20b)],'height':_0x5d059c[_0x56a881(0x2d4)]});}[_0x1767c6(0x2d0)](_0x58c99b){const _0x1092a7=_0x1767c6,{row:_0x1d4955,column:_0x2bb9d1}=_0x58c99b;if(_0x1d4955>=this[_0x1092a7(0x221)][_0x1092a7(0x2f5)]&&_0x1d4955<=this['_range'][_0x1092a7(0x2ca)]&&_0x2bb9d1>=this['_range'][_0x1092a7(0x34c)]&&_0x2bb9d1<=this[_0x1092a7(0x221)][_0x1092a7(0x378)]){this[_0x1092a7(0x247)]({'hovered':!0x0});return;}this[_0x1092a7(0x247)]({'hovered':!0x1});}[_0x1767c6(0x2f4)](_0x4529b4){return!0x1;}[_0x1767c6(0x314)](_0x55916a){const _0x5b818f=_0x1767c6;p[_0x5b818f(0x402)][_0x5b818f(0x210)](_0x55916a,{'width':this['width'],'height':this[_0x5b818f(0x2d4)],'strokeWidth':Ot,'stroke':this[_0x5b818f(0x3fd)],'evented':!0x1,'fill':this[_0x5b818f(0x1d2)]}),this['_hovered']&&(_0x55916a[_0x5b818f(0x3f4)](),_0x55916a['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x5b818f(0x1eb)]===_0x5b818f(0x236)?0x0:-X),se[_0x5b818f(0x210)](_0x55916a,{'text':this[_0x5b818f(0x31c)],'color':this['_color']}),_0x55916a[_0x5b818f(0x2a0)]());}}var Dt=Object[_0x1767c6(0x262)],Mt=Object['getOwnPropertyDescriptor'],wt=(_0x447e4e,_0x283233,_0x3a6c44,_0x1ddf58)=>{const _0x331ba8=_0x1767c6;for(var _0x3c05f1=_0x1ddf58>0x1?void 0x0:_0x1ddf58?Mt(_0x283233,_0x3a6c44):_0x283233,_0x33c6b5=_0x447e4e[_0x331ba8(0x3c9)]-0x1,_0x3ff483;_0x33c6b5>=0x0;_0x33c6b5--)(_0x3ff483=_0x447e4e[_0x33c6b5])&&(_0x3c05f1=(_0x1ddf58?_0x3ff483(_0x283233,_0x3a6c44,_0x3c05f1):_0x3ff483(_0x3c05f1))||_0x3c05f1);return _0x1ddf58&&_0x3c05f1&&Dt(_0x283233,_0x3a6c44,_0x3c05f1),_0x3c05f1;},le=(_0x2089b0,_0x34cf0d)=>(_0x5644b2,_0x3d0af6)=>_0x34cf0d(_0x5644b2,_0x3d0af6,_0x2089b0);const Pt=0x1389;let ge=class extends a[_0x1767c6(0x3d6)]{constructor(_0x334c6b,_0x507c7c,_0x265882,_0x5bf5a4){const _0x3cf30=_0x1767c6;super(),u(this,_0x3cf30(0x3c6),new Set()),u(this,_0x3cf30(0x251),null),(this[_0x3cf30(0x285)]=_0x334c6b,this[_0x3cf30(0x272)]=_0x507c7c,this['_collabCursorController']=_0x265882,this['_themeService']=_0x5bf5a4,this[_0x3cf30(0x34b)]());}[_0x1767c6(0x34b)](){const _0x2e5199=_0x1767c6;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x2e5199(0x2f7)](x[_0x2e5199(0x30d)](this['dispose$']),x[_0x2e5199(0x1c4)](_0x324ce6=>{const _0x40a571=_0x2e5199;if(_0x324ce6){const _0x5cc7d9=_0x324ce6[_0x40a571(0x28b)];return f[_0x40a571(0x337)](this['_collabCursorController'][_0x40a571(0x237)](this[_0x40a571(0x285)][_0x40a571(0x30c)]),this[_0x40a571(0x394)][_0x40a571(0x3a9)])[_0x40a571(0x2f7)](x[_0x40a571(0x361)](([_0x29b712,_0x27ce82])=>{const _0x557e0c=new Map();return _0x29b712['forEach']((_0x44f266,_0x56b75e)=>{const _0x54afc9=_0x3493;if(_0x44f266[_0x54afc9(0x1c1)]===_0x5cc7d9){const _0x52c7f4={..._0x44f266};_0x52c7f4[_0x54afc9(0x306)]=_0x27ce82[_0x44f266[_0x54afc9(0x306)]],_0x557e0c[_0x54afc9(0x3e0)](_0x56b75e,_0x52c7f4);}}),{'skeleton':_0x324ce6,'cursors':_0x557e0c};}));}return f['of']({'skeleton':null,'cursors':new Map()});}))[_0x2e5199(0x201)](({skeleton:_0x59190c,cursors:_0x3674b1})=>{const _0x32b331=_0x2e5199;this[_0x32b331(0x296)](),_0x59190c&&this[_0x32b331(0x1f1)](_0x59190c,_0x3674b1);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x2e5199(0x201)](_0x31b851=>{const _0x3f97e8=_0x2e5199;if(_0x31b851==null)return;const {skeleton:_0x1eabe7}=_0x31b851,{scene:_0x31f5e7}=this[_0x3f97e8(0x285)];_0x31f5e7['onPointerMove$'][_0x3f97e8(0x31a)](a['debounce'](_0x29cc08=>{const _0x22e969=_0x3f97e8;var _0x3ee4a2,_0x1c5562;const {offsetX:_0x406c26,offsetY:_0xde8047}=_0x29cc08,{x:_0xe5c785,y:_0x30ac0b}=_0x31f5e7['getRelativeToViewportCoord'](p[_0x22e969(0x2ab)][_0x22e969(0x37b)]([_0x406c26,_0xde8047])),{scaleX:_0x569759,scaleY:_0x449266}=_0x31f5e7[_0x22e969(0x38e)](),_0x3c7df8=_0x31f5e7[_0x22e969(0x347)](p[_0x22e969(0x2cf)][_0x22e969(0x2e9)]),_0x1c9029=_0x31f5e7[_0x22e969(0x246)](p[_0x22e969(0x2ab)][_0x22e969(0x37b)]([_0xe5c785,_0x30ac0b]),_0x3c7df8),_0x42781a=_0x1eabe7[_0x22e969(0x404)](_0x406c26,_0xde8047,_0x569759,_0x449266,_0x1c9029);((_0x3ee4a2=this[_0x22e969(0x251)])==null?void 0x0:_0x3ee4a2[_0x22e969(0x300)])===_0x42781a['column']&&((_0x1c5562=this[_0x22e969(0x251)])==null?void 0x0:_0x1c5562['row'])===_0x42781a[_0x22e969(0x2bd)]||this[_0x22e969(0x3c6)]['forEach'](_0x3cc8b7=>{const _0x8b2952=_0x22e969;_0x3cc8b7[_0x8b2952(0x2d0)](_0x42781a);});},0x64));});}['_updateCollabCursors'](_0x3ce8c0,_0x1bbb21){const _0x5451c8=_0x1767c6;var _0x4ccf5d;const _0x484d42=(_0x4ccf5d=this[_0x5451c8(0x272)]['getCurrent']())==null?void 0x0:_0x4ccf5d[_0x5451c8(0x20f)];if(!_0x484d42)return;const _0x200603=this[_0x5451c8(0x317)]();if(!_0x200603)return;this[_0x5451c8(0x3c6)]['forEach'](_0x5aca26=>{const _0xbecf7c=_0x5451c8;_0x5aca26[_0xbecf7c(0x2ec)]();});const {scene:_0x3486a5}=_0x200603,_0x2e7236=yt(Array[_0x5451c8(0x2e2)](_0x1bbb21['values']()))['map'](_0x26e154=>{const _0x486aa9=_0x5451c8,{color:_0x168b88,range:_0x53a257,name:_0x2ce370,selection:_0x9b5b5,sheetID:_0x289fa9}=_0x26e154,{startColumn:_0x407706,startRow:_0x1ba473,endColumn:_0xb07f4e,endRow:_0xe237c2}=_0x53a257,_0x1c9d08=z[_0x486aa9(0x2a6)](_0x1ba473,_0x407706,_0x3486a5,_0x484d42),_0x2e8a8f=z[_0x486aa9(0x2a6)](_0xe237c2,_0xb07f4e,_0x3486a5,_0x484d42),{columnHeaderHeightAndMarginTop:_0x1a8837}=_0x484d42,{startX:_0x1547c8,startY:_0x333ad2}=_0x1c9d08,{endX:_0x3ffd1c,endY:_0x4e8835}=_0x2e8a8f,_0x470e34=_0x3ffd1c-_0x1547c8,_0x18055e=_0x4e8835-_0x333ad2,_0x433b1d={'labelPosition':_0x333ad2-_0x1a8837>=X?'top':_0x486aa9(0x236),'sheetID':_0x289fa9,'range':_0x53a257,'color':_0x168b88,'name':_0x2ce370,'selection':_0x9b5b5,'left':_0x1547c8,'top':_0x333ad2,'width':_0x470e34,'height':_0x18055e,'evented':!0x1,'zIndex':Pt};return new Le(_0x2ce370,_0x433b1d);});_0x3486a5[_0x5451c8(0x20d)](_0x2e7236,Et),this[_0x5451c8(0x3c6)]=new Set(_0x2e7236);}[_0x1767c6(0x296)](){var _0x1a912b;(_0x1a912b=this['_cursors'])==null||_0x1a912b['forEach'](_0x2c9d41=>_0x2c9d41['dispose']());}[_0x1767c6(0x317)](){const _0x50c41a=_0x1767c6;return z[_0x50c41a(0x328)](this[_0x50c41a(0x285)][_0x50c41a(0x357)],this['_context']);}};ge=wt([le(0x1,a[_0x1767c6(0x252)](z[_0x1767c6(0x2ad)])),le(0x2,a[_0x1767c6(0x252)](j)),le(0x3,a['Inject'](a[_0x1767c6(0x2cd)]))],ge);function yt(_0x4e3cce){const _0x49dc39=_0x1767c6,_0x2aebca=new Map();return _0x4e3cce[_0x49dc39(0x2b4)](_0x511668=>{const _0x3cb4a4=_0x49dc39;if(_0x2aebca['has'](_0x511668[_0x3cb4a4(0x2e1)])){const _0x4488bd=_0x2aebca[_0x3cb4a4(0x2b2)](_0x511668[_0x3cb4a4(0x2e1)]);_0x4488bd[_0x3cb4a4(0x1f4)]+=',\x20'+_0x511668[_0x3cb4a4(0x1f4)];}else _0x2aebca['set'](_0x511668[_0x3cb4a4(0x2e1)],_0x511668);}),Array[_0x49dc39(0x2e2)](_0x2aebca[_0x49dc39(0x1ea)]());}var he={'exports':{}},H={},Me;function Ut(){const _0x40092e=_0x1767c6;if(Me)return H;Me=0x1;var _0x6a0247=O,_0x1c6386=Symbol[_0x40092e(0x24b)](_0x40092e(0x24d)),_0x2b7e70=Symbol[_0x40092e(0x24b)](_0x40092e(0x3e5)),_0x38a7fc=Object[_0x40092e(0x405)][_0x40092e(0x266)],_0x208f34=_0x6a0247[_0x40092e(0x261)][_0x40092e(0x287)],_0x53603b={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x4d3143(_0x4bef62,_0x545d6b,_0x3ab049){const _0x5d000f=_0x40092e;var _0x10f3be,_0x3ca2a1={},_0x4f2289=null,_0x55bb91=null;_0x3ab049!==void 0x0&&(_0x4f2289=''+_0x3ab049),_0x545d6b['key']!==void 0x0&&(_0x4f2289=''+_0x545d6b[_0x5d000f(0x1df)]),_0x545d6b['ref']!==void 0x0&&(_0x55bb91=_0x545d6b[_0x5d000f(0x290)]);for(_0x10f3be in _0x545d6b)_0x38a7fc[_0x5d000f(0x1d7)](_0x545d6b,_0x10f3be)&&!_0x53603b['hasOwnProperty'](_0x10f3be)&&(_0x3ca2a1[_0x10f3be]=_0x545d6b[_0x10f3be]);if(_0x4bef62&&_0x4bef62['defaultProps']){for(_0x10f3be in(_0x545d6b=_0x4bef62[_0x5d000f(0x1e2)],_0x545d6b))_0x3ca2a1[_0x10f3be]===void 0x0&&(_0x3ca2a1[_0x10f3be]=_0x545d6b[_0x10f3be]);}return{'$$typeof':_0x1c6386,'type':_0x4bef62,'key':_0x4f2289,'ref':_0x55bb91,'props':_0x3ca2a1,'_owner':_0x208f34[_0x5d000f(0x28e)]};}return H[_0x40092e(0x30b)]=_0x2b7e70,H['jsx']=_0x4d3143,H[_0x40092e(0x352)]=_0x4d3143,H;}var we;function $t(){const _0x3a0622=_0x1767c6;return we||(we=0x1,he[_0x3a0622(0x1d6)]=Ut()),he[_0x3a0622(0x1d6)];}var y=$t(),R=function(){const _0x8f5cfa=_0x1767c6;return R=Object['assign']||function(_0x52818d){const _0x394fd3=_0x3493;for(var _0x4a273a,_0x508ee9=0x1,_0x3400ad=arguments[_0x394fd3(0x3c9)];_0x508ee9<_0x3400ad;_0x508ee9++){_0x4a273a=arguments[_0x508ee9];for(var _0x566c1f in _0x4a273a)Object['prototype'][_0x394fd3(0x266)]['call'](_0x4a273a,_0x566c1f)&&(_0x52818d[_0x566c1f]=_0x4a273a[_0x566c1f]);}return _0x52818d;},R[_0x8f5cfa(0x32e)](this,arguments);},Lt=function(_0xabf1f1,_0x3b5a03){const _0x2dd728=_0x1767c6;var _0x5565b7={};for(var _0x35d0e6 in _0xabf1f1)Object[_0x2dd728(0x405)][_0x2dd728(0x266)][_0x2dd728(0x1d7)](_0xabf1f1,_0x35d0e6)&&_0x3b5a03['indexOf'](_0x35d0e6)<0x0&&(_0x5565b7[_0x35d0e6]=_0xabf1f1[_0x35d0e6]);if(_0xabf1f1!=null&&typeof Object['getOwnPropertySymbols']==_0x2dd728(0x3aa)){for(var _0x54401a=0x0,_0x35d0e6=Object['getOwnPropertySymbols'](_0xabf1f1);_0x54401a<_0x35d0e6[_0x2dd728(0x3c9)];_0x54401a++)_0x3b5a03[_0x2dd728(0x30f)](_0x35d0e6[_0x54401a])<0x0&&Object['prototype'][_0x2dd728(0x3c4)]['call'](_0xabf1f1,_0x35d0e6[_0x54401a])&&(_0x5565b7[_0x35d0e6[_0x54401a]]=_0xabf1f1[_0x35d0e6[_0x54401a]]);}return _0x5565b7;},Ie=O[_0x1767c6(0x320)](function(_0x4ad4f4,_0x7b2761){const _0x2d80e3=_0x1767c6;var _0x446c37=_0x4ad4f4[_0x2d80e3(0x3e7)],_0x51dea0=_0x4ad4f4['id'],_0x3a8936=_0x4ad4f4[_0x2d80e3(0x28c)],_0x406fb6=_0x4ad4f4['extend'],_0x4294a2=Lt(_0x4ad4f4,['icon','id','className',_0x2d80e3(0x2a7)]),_0x4f91a9=_0x2d80e3(0x398)[_0x2d80e3(0x3e8)](_0x51dea0,'\x20')[_0x2d80e3(0x3e8)](_0x3a8936||'')['trim'](),_0x2e389d=O[_0x2d80e3(0x1cc)]('_'[_0x2d80e3(0x3e8)](jt()));return Ae(_0x446c37,''['concat'](_0x51dea0),{'defIds':_0x446c37['defIds'],'idSuffix':_0x2e389d[_0x2d80e3(0x28e)]},R({'ref':_0x7b2761,'className':_0x4f91a9},_0x4294a2),_0x406fb6);});function Ae(_0x411b93,_0x12016e,_0x586ed3,_0xc15fce,_0x588fb5){const _0x3f635d=_0x1767c6;return O[_0x3f635d(0x28f)](_0x411b93[_0x3f635d(0x27c)],R(R({'key':_0x12016e},At(_0x411b93,_0x586ed3,_0x588fb5)),_0xc15fce),(xt(_0x411b93,_0x586ed3)[_0x3f635d(0x238)]||[])[_0x3f635d(0x361)](function(_0x5589b8,_0x32e1f8){const _0x17ec6f=_0x3f635d;return Ae(_0x5589b8,''[_0x17ec6f(0x3e8)](_0x12016e,'-')['concat'](_0x411b93[_0x17ec6f(0x27c)],'-')[_0x17ec6f(0x3e8)](_0x32e1f8),_0x586ed3,void 0x0,_0x588fb5);}));}function At(_0x526a28,_0xec8681,_0x1d8787){const _0x1aaa37=_0x1767c6;var _0x5de6bb=R({},_0x526a28[_0x1aaa37(0x395)]);_0x1d8787!=null&&_0x1d8787[_0x1aaa37(0x340)]&&_0x5de6bb[_0x1aaa37(0x21c)]==='colorChannel1'&&(_0x5de6bb[_0x1aaa37(0x21c)]=_0x1d8787[_0x1aaa37(0x340)]);var _0xf9eab0=_0xec8681[_0x1aaa37(0x2e6)];return!_0xf9eab0||_0xf9eab0[_0x1aaa37(0x3c9)]===0x0||(_0x526a28[_0x1aaa37(0x27c)]===_0x1aaa37(0x2b5)&&_0x5de6bb[_0x1aaa37(0x231)]&&(_0x5de6bb[_0x1aaa37(0x231)]=_0x5de6bb[_0x1aaa37(0x231)]+_0xec8681[_0x1aaa37(0x275)]),Object[_0x1aaa37(0x3dc)](_0x5de6bb)[_0x1aaa37(0x2b4)](function(_0x36a41b){const _0x51fee2=_0x1aaa37;var _0x3e2aa0=_0x36a41b[0x0],_0x48d9a7=_0x36a41b[0x1];typeof _0x48d9a7=='string'&&(_0x5de6bb[_0x3e2aa0]=_0x48d9a7['replace'](/url\(#(.*)\)/,_0x51fee2(0x342)[_0x51fee2(0x3e8)](_0xec8681[_0x51fee2(0x275)],')')));})),_0x5de6bb;}function xt(_0x33e1ac,_0x241952){const _0x2d374c=_0x1767c6;var _0x40f817,_0x290869=_0x241952[_0x2d374c(0x2e6)];return!_0x290869||_0x290869[_0x2d374c(0x3c9)]===0x0?_0x33e1ac:_0x33e1ac[_0x2d374c(0x27c)]===_0x2d374c(0x3d5)&&(!((_0x40f817=_0x33e1ac[_0x2d374c(0x238)])===null||_0x40f817===void 0x0)&&_0x40f817[_0x2d374c(0x3c9)])?R(R({},_0x33e1ac),{'children':_0x33e1ac['children'][_0x2d374c(0x361)](function(_0x1cc141){const _0x38b587=_0x2d374c;return typeof _0x1cc141[_0x38b587(0x395)]['id']==_0x38b587(0x343)&&_0x290869&&_0x290869['indexOf'](_0x1cc141[_0x38b587(0x395)]['id'])>-0x1?R(R({},_0x1cc141),{'attrs':R(R({},_0x1cc141[_0x38b587(0x395)]),{'id':_0x1cc141[_0x38b587(0x395)]['id']+_0x241952[_0x38b587(0x275)]})}):_0x1cc141;})}):_0x33e1ac;}function jt(){const _0xb094b=_0x1767c6;return Math[_0xb094b(0x2f2)]()[_0xb094b(0x28a)](0x24)[_0xb094b(0x2e4)](0x2,0x8);}Ie[_0x1767c6(0x2af)]='UniverIcon';var Nt={'tag':_0x1767c6(0x219),'attrs':{'fill':_0x1767c6(0x3e4),'viewBox':_0x1767c6(0x250),'width':'1em','height':_0x1767c6(0x1c8)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x1767c6(0x3fb),'attrs':{'stroke':_0x1767c6(0x37a),'d':_0x1767c6(0x200),'strokeLinecap':_0x1767c6(0x321),'strokeLinejoin':_0x1767c6(0x321),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1767c6(0x3fb),'attrs':{'fill':_0x1767c6(0x269),'d':_0x1767c6(0x24a)}}]}]}],'defIds':[_0x1767c6(0x2da)]},xe=O[_0x1767c6(0x320)](function(_0xdf555d,_0x1ebaf0){const _0x1d2622=_0x1767c6;return O['createElement'](Ie,Object[_0x1d2622(0x22f)]({},_0xdf555d,{'id':'off-line-single','ref':_0x1ebaf0,'icon':Nt}));});xe['displayName']='OffLineSingle';var Bt={'tag':_0x1767c6(0x219),'attrs':{'fill':_0x1767c6(0x3e4),'viewBox':_0x1767c6(0x2fc),'width':'1em','height':_0x1767c6(0x1c8)},'children':[{'tag':'g','attrs':{'clipPath':_0x1767c6(0x2d3)},'children':[{'tag':_0x1767c6(0x3fb),'attrs':{'stroke':_0x1767c6(0x37a),'d':_0x1767c6(0x307),'strokeLinecap':_0x1767c6(0x321),'strokeLinejoin':_0x1767c6(0x321),'strokeWidth':1.2}}]},{'tag':_0x1767c6(0x3d5),'attrs':{},'children':[{'tag':_0x1767c6(0x1f7),'attrs':{'id':_0x1767c6(0x33b)},'children':[{'tag':_0x1767c6(0x3fb),'attrs':{'fill':_0x1767c6(0x269),'d':_0x1767c6(0x24a),'transform':_0x1767c6(0x1bc)}}]}]}],'defIds':[_0x1767c6(0x33b)]},je=O[_0x1767c6(0x320)](function(_0x2e3b8c,_0x2239df){const _0xa9d717=_0x1767c6;return O[_0xa9d717(0x28f)](Ie,Object[_0xa9d717(0x22f)]({},_0x2e3b8c,{'id':_0xa9d717(0x27d),'ref':_0x2239df,'icon':Bt}));});je['displayName']=_0x1767c6(0x3a5);function Ne(_0x1895d7){const _0x594cda=_0x1767c6;var _0x1264fb,_0x4b2452,_0x17449b='';if(typeof _0x1895d7==_0x594cda(0x343)||typeof _0x1895d7=='number')_0x17449b+=_0x1895d7;else{if(typeof _0x1895d7==_0x594cda(0x3c5)){if(Array[_0x594cda(0x35f)](_0x1895d7)){var _0x4b1f0e=_0x1895d7[_0x594cda(0x3c9)];for(_0x1264fb=0x0;_0x1264fb<_0x4b1f0e;_0x1264fb++)_0x1895d7[_0x1264fb]&&(_0x4b2452=Ne(_0x1895d7[_0x1264fb]))&&(_0x17449b&&(_0x17449b+='\x20'),_0x17449b+=_0x4b2452);}else{for(_0x4b2452 in _0x1895d7)_0x1895d7[_0x4b2452]&&(_0x17449b&&(_0x17449b+='\x20'),_0x17449b+=_0x4b2452);}}}return _0x17449b;}function Wt(){const _0x53c4d9=_0x1767c6;for(var _0x4e3928,_0x520679,_0x2e7bb8=0x0,_0x542a4e='',_0x4f2f05=arguments[_0x53c4d9(0x3c9)];_0x2e7bb8<_0x4f2f05;_0x2e7bb8++)(_0x4e3928=arguments[_0x2e7bb8])&&(_0x520679=Ne(_0x4e3928))&&(_0x542a4e&&(_0x542a4e+='\x20'),_0x542a4e+=_0x520679);return _0x542a4e;}const Ht=_0x1767c6(0x387),Ft='univer-online-status-title',kt=_0x1767c6(0x2c7),Yt=_0x1767c6(0x2a3),Xt=_0x1767c6(0x2c1),F={'onlineStatusIcon':Ht,'onlineStatusTitle':Ft,'onlineStatus':kt,'online':Yt,'offline':Xt};function Gt(_0x183d73){const _0x32a3b5=_0x1767c6;switch(_0x183d73){case _[_0x32a3b5(0x33c)][_0x32a3b5(0x1cd)]:return _0x32a3b5(0x3ad);case _[_0x32a3b5(0x33c)][_0x32a3b5(0x2b8)]:return _0x32a3b5(0x1fd);case _[_0x32a3b5(0x33c)][_0x32a3b5(0x297)]:return _0x32a3b5(0x26d);case _[_0x32a3b5(0x33c)][_0x32a3b5(0x25d)]:return _0x32a3b5(0x39a);case _['CollaborationStatus'][_0x32a3b5(0x325)]:case _['CollaborationStatus'][_0x32a3b5(0x2eb)]:return'collabStatus.syncing';case _['CollaborationStatus'][_0x32a3b5(0x3fa)]:case _[_0x32a3b5(0x33c)][_0x32a3b5(0x2bb)]:return _0x32a3b5(0x39e);}}function Be(_0x1a18e9){const _0x4845a4=_0x1767c6,{status$:_0x121d72}=_0x1a18e9,_0x38af71=U[_0x4845a4(0x1d0)](_0x121d72,_['CollaborationStatus'][_0x4845a4(0x25d)]),_0x1c1f6b=a[_0x4845a4(0x38b)](a[_0x4845a4(0x3a0)]),_0x3ac256=a[_0x4845a4(0x38b)](_[_0x4845a4(0x348)]),_0x3a356c=_0x38af71!==_[_0x4845a4(0x33c)]['OFFLINE'],_0x2a3c58=_0x1c1f6b['t'](Gt(_0x38af71)),_0x23fd45=Wt(F[_0x4845a4(0x239)],{[F[_0x4845a4(0x388)]]:_0x3a356c,[F['offline']]:!_0x3a356c}),_0xd726e9=_0x3a356c?y[_0x4845a4(0x209)](je,{}):y['jsx'](xe,{}),_0x28892d=O['useCallback'](()=>{const _0x5a355f=_0x4845a4;_0x3a356c||_0x3ac256[_0x5a355f(0x1fb)]();},[_0x3a356c,_0x3ac256]);function _0x35fa38(){const _0x4f8d55=_0x4845a4;return y[_0x4f8d55(0x352)](_0x4f8d55(0x344),{'className':_0x23fd45,'onClick':_0x28892d,'children':[y[_0x4f8d55(0x209)](_0x4f8d55(0x344),{'className':F[_0x4f8d55(0x1e3)],'children':_0xd726e9}),y[_0x4f8d55(0x209)](_0x4f8d55(0x344),{'className':F[_0x4f8d55(0x2a9)],'children':_0x2a3c58})]});}return _0x3a356c?_0x35fa38():y[_0x4845a4(0x209)](w['Tooltip'],{'title':_0x1c1f6b['t']('collab-client.tooltip.reconnect'),'children':_0x35fa38()});}var Vt=Object[_0x1767c6(0x262)],qt=Object[_0x1767c6(0x362)],zt=(_0x36c4d4,_0x1aa662,_0x5af1f2,_0x43bf16)=>{const _0x525382=_0x1767c6;for(var _0x2606d4=_0x43bf16>0x1?void 0x0:_0x43bf16?qt(_0x1aa662,_0x5af1f2):_0x1aa662,_0x4c79ca=_0x36c4d4[_0x525382(0x3c9)]-0x1,_0x54ec67;_0x4c79ca>=0x0;_0x4c79ca--)(_0x54ec67=_0x36c4d4[_0x4c79ca])&&(_0x2606d4=(_0x43bf16?_0x54ec67(_0x1aa662,_0x5af1f2,_0x2606d4):_0x54ec67(_0x2606d4))||_0x2606d4);return _0x43bf16&&_0x2606d4&&Vt(_0x1aa662,_0x5af1f2,_0x2606d4),_0x2606d4;},V=(_0x210c68,_0x5324a3)=>(_0xada996,_0x23bcfe)=>_0x5324a3(_0xada996,_0x23bcfe,_0x210c68);exports[_0x1767c6(0x291)]=class extends a[_0x1767c6(0x379)]{constructor(_0x1afc14,_0x324b80,_0x2fbbf6,_0x181fee){const _0x1996f9=_0x1767c6;super(),u(this,'_status$',new f[(_0x1996f9(0x326))](_[_0x1996f9(0x33c)][_0x1996f9(0x25d)])),(this[_0x1996f9(0x3f1)]=_0x1afc14,this[_0x1996f9(0x2fa)]=_0x324b80,this[_0x1996f9(0x22a)]=_0x2fbbf6,this['_uiPartsService']=_0x181fee,this['_initStatusComponent'](),this[_0x1996f9(0x30e)]());}[_0x1767c6(0x30e)](){const _0x349c69=_0x1767c6;this[_0x349c69(0x2e7)](this[_0x349c69(0x3f1)][_0x349c69(0x21e)]['pipe'](f[_0x349c69(0x1c4)](()=>{const _0x542189=_0x349c69,_0x5cb0a9=this['_univerInstanceService'][_0x542189(0x20e)]();return _0x5cb0a9?this['_collaborationController']['getCollabEntity$'](_0x5cb0a9[_0x542189(0x3c1)]()):f['of'](null);}),f[_0x349c69(0x1c4)](_0xc29530=>_0xc29530?_0xc29530[_0x349c69(0x3a6)]:f['of'](_[_0x349c69(0x33c)][_0x349c69(0x25d)])))[_0x349c69(0x201)](_0xec39c3=>{const _0x5ae39d=_0x349c69;this[_0x5ae39d(0x339)][_0x5ae39d(0x3e6)](_0xec39c3);}));}['_initStatusComponent'](){const _0x5d5d34=_0x1767c6;this['disposeWithMe'](this[_0x5d5d34(0x330)]['registerComponent'](U[_0x5d5d34(0x233)][_0x5d5d34(0x374)],()=>a[_0x5d5d34(0x3ca)](Kt({'status$':this[_0x5d5d34(0x339)]['asObservable']()}),this[_0x5d5d34(0x2fa)])));}},exports[_0x1767c6(0x291)]=zt([V(0x0,a[_0x1767c6(0x244)]),V(0x1,a['Inject'](a[_0x1767c6(0x34d)])),V(0x2,a[_0x1767c6(0x252)](_['CollaborationController'])),V(0x3,U[_0x1767c6(0x2c4)])],exports[_0x1767c6(0x291)]);function Kt(_0x3af48c){const {status$:_0x575678}=_0x3af48c;return function(){return y['jsx'](Be,{'status$':_0x575678});};}var Jt=Object[_0x1767c6(0x262)],Zt=Object[_0x1767c6(0x362)],Qt=(_0x53ffd5,_0x2b410b,_0x24504a,_0x47b692)=>{const _0x57f634=_0x1767c6;for(var _0x1378b2=_0x47b692>0x1?void 0x0:_0x47b692?Zt(_0x2b410b,_0x24504a):_0x2b410b,_0x1c680d=_0x53ffd5[_0x57f634(0x3c9)]-0x1,_0x2d460f;_0x1c680d>=0x0;_0x1c680d--)(_0x2d460f=_0x53ffd5[_0x1c680d])&&(_0x1378b2=(_0x47b692?_0x2d460f(_0x2b410b,_0x24504a,_0x1378b2):_0x2d460f(_0x1378b2))||_0x1378b2);return _0x47b692&&_0x1378b2&&Jt(_0x2b410b,_0x24504a,_0x1378b2),_0x1378b2;},A=(_0x34aee1,_0x4b56f4)=>(_0x51c04c,_0x23b05d)=>_0x4b56f4(_0x51c04c,_0x23b05d,_0x34aee1);let K=class extends a[_0x1767c6(0x379)]{constructor(_0x4820ce,_0x2ba89d,_0x241bb9,_0x58b965,_0x277388,_0x31efd2){const _0x10e572=_0x1767c6;super(),this[_0x10e572(0x28d)]=_0x4820ce,this['_localCacheService']=_0x2ba89d,this[_0x10e572(0x3b3)]=_0x241bb9,this[_0x10e572(0x26e)]=_0x58b965,this[_0x10e572(0x40b)]=_0x277388,this[_0x10e572(0x338)]=_0x31efd2,this[_0x10e572(0x34a)](),this[_0x10e572(0x24f)]();}['_setupBeforeClosingHandler'](){const _0x15e721=_0x1767c6;this[_0x15e721(0x2e7)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1e4c69=_0x15e721;if(this[_0x1e4c69(0x271)][_0x1e4c69(0x334)][_0x1e4c69(0x322)])return this[_0x1e4c69(0x338)]['t'](_0x1e4c69(0x3b8));}));}[_0x1767c6(0x24f)](){const _0x2d9365=_0x1767c6;this[_0x2d9365(0x2e7)](this[_0x2d9365(0x3b3)][_0x2d9365(0x1ef)]['subscribe'](_0x21894d=>{const _0x343ff1=_0x2d9365;_0x21894d['id']===_[_0x343ff1(0x1e7)]['OTHER_CLIENT_EDITING']&&this[_0x343ff1(0x26e)][_0x343ff1(0x36a)]({'content':this[_0x343ff1(0x338)]['t'](_0x343ff1(0x2b1)),'type':w['MessageType'][_0x343ff1(0x356)]}),_0x21894d['id']===_['CollaborationUIEventId'][_0x343ff1(0x316)]&&this[_0x343ff1(0x26e)]['show']({'content':this[_0x343ff1(0x338)]['t']('collaboration.closeRoom'),'type':w['MessageType'][_0x343ff1(0x356)]}),_0x21894d['id']===_[_0x343ff1(0x1e7)][_0x343ff1(0x218)]&&this['_notificationService']['show']({'title':this[_0x343ff1(0x338)]['t'](_0x343ff1(0x1ce)),'content':this[_0x343ff1(0x338)]['t']('permission.content'),'type':_0x343ff1(0x1ca),'duration':0x0}),_0x21894d['id']===_['CollaborationUIEventId'][_0x343ff1(0x2b8)]&&this[_0x343ff1(0x26e)][_0x343ff1(0x36a)]({'type':w[_0x343ff1(0x318)][_0x343ff1(0x2ee)],'content':this[_0x343ff1(0x338)]['t'](_0x343ff1(0x1ec))+'('+_0x21894d[_0x343ff1(0x1ee)]+')'}),_0x21894d['id']===_['CollaborationUIEventId'][_0x343ff1(0x280)]&&this[_0x343ff1(0x26e)]['show']({'type':w[_0x343ff1(0x318)][_0x343ff1(0x356)],'content':this[_0x343ff1(0x338)]['t'](_0x21894d['data']||'')}),_0x21894d['id']===_[_0x343ff1(0x1e7)]['SOCKET_FAILED_RETRY']&&this[_0x343ff1(0x26e)][_0x343ff1(0x36a)]({'key':_0x343ff1(0x268),'type':w[_0x343ff1(0x318)][_0x343ff1(0x356)],'content':this[_0x343ff1(0x338)]['t'](_0x343ff1(0x243))}),_0x21894d['id']===_[_0x343ff1(0x1e7)][_0x343ff1(0x1e5)]&&this['_messageService']['show']({'key':'collaboration-session-retry','type':w[_0x343ff1(0x318)][_0x343ff1(0x2ee)],'content':this['_localeService']['t'](_0x343ff1(0x2fd))}),_0x21894d['id']===_[_0x343ff1(0x1e7)][_0x343ff1(0x341)]&&this['_messageService'][_0x343ff1(0x36a)]({'type':w[_0x343ff1(0x318)][_0x343ff1(0x2ee)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};K=Qt([A(0x0,U[_0x1767c6(0x3cd)]),A(0x1,_[_0x1767c6(0x3ea)]),A(0x2,a[_0x1767c6(0x252)](_[_0x1767c6(0x208)])),A(0x3,U[_0x1767c6(0x2de)]),A(0x4,U[_0x1767c6(0x35e)]),A(0x5,a[_0x1767c6(0x252)](a[_0x1767c6(0x3a0)]))],K);const es=_0x1767c6(0x240),ts={};var ss=Object[_0x1767c6(0x262)],rs=Object[_0x1767c6(0x362)],ns=(_0x2e5abb,_0x414987,_0x4e6d4f,_0x55d5ab)=>{for(var _0x5cbdc1=_0x55d5ab>0x1?void 0x0:_0x55d5ab?rs(_0x414987,_0x4e6d4f):_0x414987,_0xe94a12=_0x2e5abb['length']-0x1,_0x3c1608;_0xe94a12>=0x0;_0xe94a12--)(_0x3c1608=_0x2e5abb[_0xe94a12])&&(_0x5cbdc1=(_0x55d5ab?_0x3c1608(_0x414987,_0x4e6d4f,_0x5cbdc1):_0x3c1608(_0x5cbdc1))||_0x5cbdc1);return _0x55d5ab&&_0x5cbdc1&&ss(_0x414987,_0x4e6d4f,_0x5cbdc1),_0x5cbdc1;},ue=(_0x41c2a5,_0x9aae2c)=>(_0x30a51a,_0x4f3fb7)=>_0x9aae2c(_0x30a51a,_0x4f3fb7,_0x41c2a5);let J=class{constructor(_0x2e2620,_0x599439,_0x39c681){const _0x46eda2=_0x1767c6;this[_0x46eda2(0x2fa)]=_0x2e2620,this['_transformService']=_0x599439,this[_0x46eda2(0x1c2)]=_0x39c681;}['transformIMECache'](_0x305e47){const _0x2eba83=_0x1767c6;this[_0x2eba83(0x3ec)](_0x305e47),this['_transformPreviousActiveRange'](_0x305e47);}[_0x1767c6(0x309)](_0x2b4b03){const _0x1a0a8e=_0x1767c6,{unitID:_0xb4482b}=_0x2b4b03,_0x2c67bf=this[_0x1a0a8e(0x1c2)]['getRenderById'](_0xb4482b)[_0x1a0a8e(0x213)](I[_0x1a0a8e(0x324)]),{redoCache:_0x401047}=_0x2c67bf['getUndoRedoMutationParamsCache']();if(_0x401047[_0x1a0a8e(0x3c9)]===0x0)return _0x2b4b03;let _0x7f6ea5=a['Tools'][_0x1a0a8e(0x3bd)](_0x2b4b03['mutations'][0x0]);for(let _0x3ab488=0x0;_0x3ab488<_0x401047[_0x1a0a8e(0x3c9)];_0x3ab488++){const _0x1d2145={'id':_0x1a0a8e(0x34f),'params':{..._0x401047[_0x3ab488]}},_0x1146a8=this[_0x1a0a8e(0x2ff)][_0x1a0a8e(0x3a1)](_0x7f6ea5,_0x1d2145,!0x1);if(C[_0x1a0a8e(0x3db)](_0x1146a8))throw _0x1146a8[_0x1a0a8e(0x1ca)];_0x7f6ea5=_0x1146a8[_0x1a0a8e(0x39c)];}return{...a[_0x1a0a8e(0x397)]['deepClone'](_0x2b4b03),'mutations':[_0x7f6ea5]};}['_transformUndoRedoStack'](_0x79a289){const _0x3daa55=_0x1767c6,{unitID:_0x455840}=_0x79a289,_0x594ad4=this[_0x3daa55(0x1c2)][_0x3daa55(0x329)](_0x455840)[_0x3daa55(0x213)](I[_0x3daa55(0x324)]),{undoCache:_0xbfffa0,redoCache:_0x413f54}=_0x594ad4['getUndoRedoMutationParamsCache']();if(_0xbfffa0[_0x3daa55(0x3c9)]===0x0||_0x413f54[_0x3daa55(0x3c9)]===0x0)return;const _0x4454da=[],_0x46b025=[];let _0x34c5e7=a[_0x3daa55(0x397)][_0x3daa55(0x3bd)](_0x79a289[_0x3daa55(0x3d0)][0x0]),_0x1d89f4=a[_0x3daa55(0x397)][_0x3daa55(0x3bd)](_0x79a289[_0x3daa55(0x3d0)][0x0]);for(let _0xc5c764=_0xbfffa0[_0x3daa55(0x3c9)]-0x1;_0xc5c764>=0x0;_0xc5c764--){const _0x25cdec={'id':_0x3daa55(0x34f),'params':{..._0xbfffa0[_0xc5c764]}},_0x40f69f={'id':_0x3daa55(0x34f),'params':{..._0x413f54[_0xc5c764]}},_0x4aca08=this[_0x3daa55(0x2ff)][_0x3daa55(0x3a1)](_0x34c5e7,_0x25cdec,!0x1),_0x456ef7=this[_0x3daa55(0x2ff)][_0x3daa55(0x3a1)](_0x1d89f4,_0x40f69f,!0x1);if(C[_0x3daa55(0x3db)](_0x4aca08))throw _0x4aca08['error'];if(C[_0x3daa55(0x3db)](_0x456ef7))throw _0x456ef7[_0x3daa55(0x1ca)];_0x4454da[_0x3daa55(0x386)](_0x4aca08[_0x3daa55(0x292)][_0x3daa55(0x360)]),_0x46b025[_0x3daa55(0x386)](_0x456ef7[_0x3daa55(0x292)]['params']),_0x34c5e7=_0x4aca08[_0x3daa55(0x39c)],_0x1d89f4=_0x456ef7['m1Prime'];}_0x594ad4[_0x3daa55(0x22b)]({'undoCache':_0x4454da,'redoCache':_0x46b025});}[_0x1767c6(0x36b)](_0x5ecd98){const _0x45f77a=_0x1767c6,{unitID:_0x1f125b}=_0x5ecd98,_0x532441=this[_0x45f77a(0x1c2)][_0x45f77a(0x329)](_0x1f125b)['with'](I[_0x45f77a(0x324)]),_0x5ba38a=_0x532441['getActiveRange']();if(_0x5ba38a==null)return;const _0x5987f8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5ecd98[_0x45f77a(0x35d)],'actions':null,'textRanges':[_0x5ba38a]}}],_0x48f575=this[_0x45f77a(0x2ff)][_0x45f77a(0x222)](_0x5ecd98,_0x5987f8);if(!C[_0x45f77a(0x3f5)](_0x48f575))throw _0x48f575[_0x45f77a(0x1ca)];const _0x47eec9=_0x48f575[_0x45f77a(0x292)][0x0][_0x45f77a(0x360)][_0x45f77a(0x385)];Array[_0x45f77a(0x35f)](_0x47eec9)&&_0x47eec9[_0x45f77a(0x3c9)]&&_0x532441[_0x45f77a(0x3cb)](_0x47eec9[0x0]);}};J=ns([ue(0x0,a[_0x1767c6(0x252)](a['Injector'])),ue(0x1,C[_0x1767c6(0x21f)]),ue(0x2,p[_0x1767c6(0x3eb)])],J);var is=Object['defineProperty'],os=Object[_0x1767c6(0x362)],as=(_0x17d3ed,_0x323fa2,_0x2ae03c,_0x40c7a9)=>{const _0x297f52=_0x1767c6;for(var _0x18c9aa=_0x40c7a9>0x1?void 0x0:_0x40c7a9?os(_0x323fa2,_0x2ae03c):_0x323fa2,_0x4e418d=_0x17d3ed[_0x297f52(0x3c9)]-0x1,_0x32f571;_0x4e418d>=0x0;_0x4e418d--)(_0x32f571=_0x17d3ed[_0x4e418d])&&(_0x18c9aa=(_0x40c7a9?_0x32f571(_0x323fa2,_0x2ae03c,_0x18c9aa):_0x32f571(_0x18c9aa))||_0x18c9aa);return _0x40c7a9&&_0x18c9aa&&is(_0x323fa2,_0x2ae03c,_0x18c9aa),_0x18c9aa;},_e=(_0xf8e7d6,_0x5d907f)=>(_0x35ca7a,_0x54b999)=>_0x5d907f(_0x35ca7a,_0x54b999,_0xf8e7d6);let Z=class{constructor(_0x2595b5,_0x467ba2,_0x304f2e){const _0x22851c=_0x1767c6;this[_0x22851c(0x2fa)]=_0x2595b5,this['_transformService']=_0x467ba2,this['_docStateChangeManagerService']=_0x304f2e;}[_0x1767c6(0x24c)](_0x4a574c){const _0x35d06a=_0x1767c6;this[_0x35d06a(0x3d2)](_0x4a574c);}[_0x1767c6(0x309)](_0x59b3eb){const _0xb01059=_0x1767c6,{unitID:_0xdfac28}=_0x59b3eb,{collaboration:_0x24e15b}=this[_0xb01059(0x3f2)]['getStateCache'](_0xdfac28);if(_0x24e15b[_0xb01059(0x3c9)]===0x0)return _0x59b3eb;let _0x888d16=a[_0xb01059(0x397)][_0xb01059(0x3bd)](_0x59b3eb[_0xb01059(0x3d0)][0x0]);for(let _0x1decf8=0x0;_0x1decf8<_0x24e15b[_0xb01059(0x3c9)];_0x1decf8++){const _0x4a2cac={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24e15b[_0x1decf8][_0xb01059(0x30c)],..._0x24e15b[_0x1decf8][_0xb01059(0x29a)]}},_0x30a01a=this[_0xb01059(0x2ff)][_0xb01059(0x3a1)](_0x888d16,_0x4a2cac,!0x1);if(C[_0xb01059(0x3db)](_0x30a01a))throw _0x30a01a[_0xb01059(0x1ca)];_0x888d16=_0x30a01a[_0xb01059(0x39c)];}return{...a[_0xb01059(0x397)][_0xb01059(0x3bd)](_0x59b3eb),'mutations':[_0x888d16]};}['_transformHistoryAndStateStack'](_0x5db724){const _0x168a31=_0x1767c6,{unitID:_0x2937a6}=_0x5db724,{history:_0x25b960,collaboration:_0x2c6f81}=this[_0x168a31(0x3f2)]['getStateCache'](_0x2937a6);if(_0x25b960[_0x168a31(0x3c9)]===0x0&&_0x2c6f81['length']===0x0)return;const _0x2dbcb6=[],_0x342815=[];let _0x4abbe=a[_0x168a31(0x397)][_0x168a31(0x3bd)](_0x5db724['mutations'][0x0]),_0x291f12=a[_0x168a31(0x397)][_0x168a31(0x3bd)](_0x5db724['mutations'][0x0]);for(let _0x5a8c72=_0x25b960[_0x168a31(0x3c9)]-0x1;_0x5a8c72>=0x0;_0x5a8c72--){const _0x347955={'id':_0x168a31(0x34f),'params':{'unitId':_0x25b960[_0x5a8c72][_0x168a31(0x30c)],..._0x25b960[_0x5a8c72][_0x168a31(0x294)]}},_0x16f246={'id':_0x168a31(0x34f),'params':{'unitId':_0x25b960[_0x5a8c72][_0x168a31(0x30c)],..._0x25b960[_0x5a8c72][_0x168a31(0x29a)]}},_0x3adb15=this[_0x168a31(0x2ff)]['transformMutation'](_0x4abbe,_0x347955,!0x1),_0x211d87=this[_0x168a31(0x2ff)][_0x168a31(0x3a1)](_0x291f12,_0x16f246,!0x1);if(C['isTransformMutationFailure'](_0x3adb15))throw _0x3adb15[_0x168a31(0x1ca)];if(C[_0x168a31(0x3db)](_0x211d87))throw _0x211d87['error'];_0x2dbcb6[_0x168a31(0x386)]({..._0x25b960[_0x5a8c72],'undoState':_0x3adb15[_0x168a31(0x292)][_0x168a31(0x360)],'redoState':_0x211d87['m2Prime'][_0x168a31(0x360)]}),_0x4abbe=_0x3adb15[_0x168a31(0x39c)],_0x291f12=_0x211d87[_0x168a31(0x39c)];}_0x4abbe=a['Tools'][_0x168a31(0x3bd)](_0x5db724['mutations'][0x0]),_0x291f12=a[_0x168a31(0x397)]['deepClone'](_0x5db724[_0x168a31(0x3d0)][0x0]);for(let _0x56d8a1=_0x2c6f81[_0x168a31(0x3c9)]-0x1;_0x56d8a1>=0x0;_0x56d8a1--){const _0xcdd842={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c6f81[_0x56d8a1][_0x168a31(0x30c)],..._0x2c6f81[_0x56d8a1][_0x168a31(0x294)]}},_0x4da4a7={'id':_0x168a31(0x34f),'params':{'unitId':_0x2c6f81[_0x56d8a1][_0x168a31(0x30c)],..._0x2c6f81[_0x56d8a1][_0x168a31(0x29a)]}},_0x3dfa5e=this[_0x168a31(0x2ff)]['transformMutation'](_0x4abbe,_0xcdd842,!0x1),_0x1cf8c6=this['_transformService']['transformMutation'](_0x291f12,_0x4da4a7,!0x1);if(C[_0x168a31(0x3db)](_0x3dfa5e))throw _0x3dfa5e[_0x168a31(0x1ca)];if(C['isTransformMutationFailure'](_0x1cf8c6))throw _0x1cf8c6[_0x168a31(0x1ca)];_0x342815[_0x168a31(0x386)]({..._0x2c6f81[_0x56d8a1],'undoState':_0x3dfa5e[_0x168a31(0x292)][_0x168a31(0x360)],'redoState':_0x1cf8c6[_0x168a31(0x292)]['params']}),_0x4abbe=_0x3dfa5e[_0x168a31(0x39c)],_0x291f12=_0x1cf8c6[_0x168a31(0x39c)];}this['_docStateChangeManagerService']['setStateCache'](_0x2937a6,{'history':_0x2dbcb6,'collaboration':_0x342815});}};Z=as([_e(0x0,a[_0x1767c6(0x252)](a['Injector'])),_e(0x1,C[_0x1767c6(0x21f)]),_e(0x2,a[_0x1767c6(0x252)](I['DocStateChangeManagerService']))],Z);var cs=Object[_0x1767c6(0x262)],ls=Object['getOwnPropertyDescriptor'],hs=(_0x32fc43,_0x4d2b4f,_0x5df72c,_0x4b2f13)=>{const _0x8eb7a=_0x1767c6;for(var _0x59ee36=_0x4b2f13>0x1?void 0x0:_0x4b2f13?ls(_0x4d2b4f,_0x5df72c):_0x4d2b4f,_0xb0537c=_0x32fc43[_0x8eb7a(0x3c9)]-0x1,_0x399c68;_0xb0537c>=0x0;_0xb0537c--)(_0x399c68=_0x32fc43[_0xb0537c])&&(_0x59ee36=(_0x4b2f13?_0x399c68(_0x4d2b4f,_0x5df72c,_0x59ee36):_0x399c68(_0x59ee36))||_0x59ee36);return _0x4b2f13&&_0x59ee36&&cs(_0x4d2b4f,_0x5df72c,_0x59ee36),_0x59ee36;},Pe=(_0x5699eb,_0x4aff94)=>(_0x1a027b,_0x6c8b06)=>_0x4aff94(_0x1a027b,_0x6c8b06,_0x5699eb);let Q=class{constructor(_0x2d8b36,_0x3649df){const _0x59159c=_0x1767c6;this[_0x59159c(0x2fa)]=_0x2d8b36,this[_0x59159c(0x2ff)]=_0x3649df;}[_0x1767c6(0x3ef)](_0x260ff6){const _0x622102=_0x1767c6;var _0x52d2dc;const _0x460a97=this[_0x622102(0x2fa)]['get'](Y[_0x622102(0x230)]),_0x13313e=(_0x52d2dc=_0x460a97[_0x622102(0x3ae)]())!=null?_0x52d2dc:[];if(_0x13313e['length']===0x0)return;const _0x21a4f8=_0x260ff6[_0x622102(0x35d)],_0x5a3e88=[{'id':_0x622102(0x34f),'params':{'unitId':_0x21a4f8,'actions':null,'textRanges':_0x13313e}}],_0x453e1d=this[_0x622102(0x2ff)][_0x622102(0x222)](_0x260ff6,_0x5a3e88);if(!C['isTransformMutationsWithChangesetSuccess'](_0x453e1d))throw _0x453e1d[_0x622102(0x1ca)];const _0x49b31e=_0x453e1d[_0x622102(0x292)][0x0][_0x622102(0x360)]['textRanges'];Array[_0x622102(0x35f)](_0x49b31e)&&_0x49b31e[_0x622102(0x3c9)]&&_0x460a97[_0x622102(0x323)](_0x49b31e,{'unitId':_0x21a4f8,'subUnitId':_0x21a4f8},!0x1);}};Q=hs([Pe(0x0,a[_0x1767c6(0x252)](a[_0x1767c6(0x34d)])),Pe(0x1,C[_0x1767c6(0x21f)])],Q);var us=Object[_0x1767c6(0x262)],_s=Object[_0x1767c6(0x362)],ds=(_0x214c28,_0x6e814f,_0x24d4ec,_0x48e300)=>{for(var _0x1995b5=_0x48e300>0x1?void 0x0:_0x48e300?_s(_0x6e814f,_0x24d4ec):_0x6e814f,_0x35b3ed=_0x214c28['length']-0x1,_0xc234f0;_0x35b3ed>=0x0;_0x35b3ed--)(_0xc234f0=_0x214c28[_0x35b3ed])&&(_0x1995b5=(_0x48e300?_0xc234f0(_0x6e814f,_0x24d4ec,_0x1995b5):_0xc234f0(_0x1995b5))||_0x1995b5);return _0x48e300&&_0x1995b5&&us(_0x6e814f,_0x24d4ec,_0x1995b5),_0x1995b5;},M=(_0x1b4141,_0x5147f7)=>(_0x4d5cb4,_0x1ada37)=>_0x5147f7(_0x4d5cb4,_0x1ada37,_0x1b4141);let ee=class extends a[_0x1767c6(0x379)]{constructor(_0x4b3a3f,_0x4bbd46,_0x1c1dac,_0x1b06d7,_0xcc1480,_0x5e2bf8,_0x5e02d6,_0x10bd49){const _0x545da8=_0x1767c6;super(),u(this,'_status$',new f['BehaviorSubject'](_[_0x545da8(0x33c)][_0x545da8(0x25d)])),(this[_0x545da8(0x3f2)]=_0x4b3a3f,this[_0x545da8(0x22a)]=_0x4bbd46,this[_0x545da8(0x1e1)]=_0x1c1dac,this[_0x545da8(0x3c0)]=_0x1b06d7,this[_0x545da8(0x327)]=_0xcc1480,this[_0x545da8(0x1fe)]=_0x5e2bf8,this['_messageService']=_0x5e02d6,this[_0x545da8(0x338)]=_0x10bd49,this[_0x545da8(0x393)]());}[_0x1767c6(0x393)](){const _0x1c3953=_0x1767c6;this[_0x1c3953(0x2e7)](this[_0x1c3953(0x22a)][_0x1c3953(0x203)]['subscribe'](_0x5f43c4=>{const _0x576fab=_0x1c3953,_0x29e0d1=this[_0x576fab(0x3f2)][_0x576fab(0x346)]['subscribe'](_0x399961=>{const _0x5697e4=_0x576fab;if(_0x399961==null)return;const {unitId:_0x4d0383,redoState:_0x2f9cbc,commandId:_0x941d31}=_0x399961;if(_0x4d0383!==_0x5f43c4[_0x5697e4(0x35d)])return;const _0x2cab98={'id':_0x941d31,'type':a[_0x5697e4(0x235)][_0x5697e4(0x1ed)],'params':{'unitId':_0x4d0383,'actions':_0x2f9cbc[_0x5697e4(0x225)],'textRanges':null}};_0x5f43c4[_0x5697e4(0x3d1)](_0x2cab98);});if(_0x5f43c4[_0x576fab(0x2e7)](_0x29e0d1),_0x5f43c4 instanceof _[_0x576fab(0x31d)]){const _0x2a1f8d={'onTransformIME':_0x40d24c=>this[_0x576fab(0x1e1)][_0x576fab(0x1be)](_0x40d24c),'onTransformState':_0x4a96c4=>this[_0x576fab(0x3c0)]['transformStateCache'](_0x4a96c4),'onTransformSelections':_0x24e296=>this[_0x576fab(0x327)][_0x576fab(0x3ef)](_0x24e296),'onSyncEditingCollabCursor':_0x47aea6=>this['_docSyncEditingCollabCursorService'][_0x576fab(0x36d)](_0x47aea6),'onTransformRemoteChangesetByIMECache':_0x47d56b=>this['_docTransformIMECacheService'][_0x576fab(0x309)](_0x47d56b),'onTransformRemoteChangesetByStateCache':_0x18be17=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x18be17)};_0x5f43c4['addHandlerCallback'](_0x2a1f8d);}}));}};ee=ds([M(0x0,a[_0x1767c6(0x252)](I[_0x1767c6(0x36e)])),M(0x1,a[_0x1767c6(0x252)](_[_0x1767c6(0x3bf)])),M(0x2,a[_0x1767c6(0x252)](J)),M(0x3,a[_0x1767c6(0x252)](Z)),M(0x4,a[_0x1767c6(0x252)](Q)),M(0x5,a[_0x1767c6(0x252)](be)),M(0x6,U[_0x1767c6(0x2de)]),M(0x7,a['Inject'](a[_0x1767c6(0x3a0)]))],ee);const We=a[_0x1767c6(0x2cc)](_0x1767c6(0x354));var fs=Object['defineProperty'],vs=Object[_0x1767c6(0x362)],ms=(_0xf06c78,_0x512e27,_0x13d6a3,_0x5ee4b2)=>{const _0x2f2481=_0x1767c6;for(var _0x1d5979=_0x5ee4b2>0x1?void 0x0:_0x5ee4b2?vs(_0x512e27,_0x13d6a3):_0x512e27,_0x4522fd=_0xf06c78[_0x2f2481(0x3c9)]-0x1,_0x2620ed;_0x4522fd>=0x0;_0x4522fd--)(_0x2620ed=_0xf06c78[_0x4522fd])&&(_0x1d5979=(_0x5ee4b2?_0x2620ed(_0x512e27,_0x13d6a3,_0x1d5979):_0x2620ed(_0x1d5979))||_0x1d5979);return _0x5ee4b2&&_0x1d5979&&fs(_0x512e27,_0x13d6a3,_0x1d5979),_0x1d5979;},k=(_0xa20a68,_0x4ba309)=>(_0x158c42,_0x1c5830)=>_0x4ba309(_0x158c42,_0x1c5830,_0xa20a68);let te=class extends a[_0x1767c6(0x3d6)]{constructor(_0x3edbab,_0x3a3429,_0x168303,_0x275bfd,_0x516a52){const _0x49e34e=_0x1767c6;super(),this[_0x49e34e(0x21a)]=_0x3edbab,this['_logService']=_0x3a3429,this[_0x49e34e(0x29f)]=_0x168303,this['_dataLoaderService']=_0x275bfd,_0x516a52?_0x516a52==null||_0x516a52[_0x49e34e(0x31e)]()[_0x49e34e(0x39d)](()=>this[_0x49e34e(0x34b)]()):(this[_0x49e34e(0x1d3)][_0x49e34e(0x2a8)](_0x49e34e(0x2d9),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x49e34e(0x34b)]());}async[_0x1767c6(0x34b)](){const _0x309bd1=_0x1767c6,_0x4d88c6=this[_0x309bd1(0x21a)][_0x309bd1(0x23c)](_0x309bd1(0x357)),_0x27d2a1=this['_urlService']['getParam']('type'),_0x3c4401=this['_urlService'][_0x309bd1(0x23c)](_0x309bd1(0x1e9));if(!_0x4d88c6||!_0x27d2a1){this[_0x309bd1(0x1d3)][_0x309bd1(0x2a8)](_0x309bd1(0x242),_0x309bd1(0x3d9));return;}const _0x2ccd29=await this['_dataLoaderService'][_0x309bd1(0x279)](_0x4d88c6,Number(_0x27d2a1),_0x3c4401);_0x2ccd29&&_0x2ccd29 instanceof a[_0x309bd1(0x38d)]&&this[_0x309bd1(0x380)](_0x2ccd29);}async['_setupSubUnitSync'](_0x2fa79d){const _0x3b2ecd=_0x1767c6;await this['_updateSubUnitFromURLParams'](_0x2fa79d),_0x2fa79d[_0x3b2ecd(0x3c2)]['pipe'](f[_0x3b2ecd(0x30d)](this[_0x3b2ecd(0x30a)]))[_0x3b2ecd(0x201)](_0x48dd6d=>{_0x48dd6d&&this['_updateURLWithCurrentState'](_0x48dd6d);}),this['_urlService'][_0x3b2ecd(0x1e6)]['pipe'](f[_0x3b2ecd(0x30d)](this['dispose$']))[_0x3b2ecd(0x201)](()=>this[_0x3b2ecd(0x40c)](_0x2fa79d));}['_updateURLWithCurrentState'](_0x375692,_0x3da17e=!0x1){const _0x13c343=_0x1767c6,_0x16e38c=this[_0x13c343(0x21a)][_0x13c343(0x23c)](_0x13c343(0x1e9));_0x375692['getSheetId']()!==_0x16e38c&&this[_0x13c343(0x21a)]['setParam'](_0x13c343(0x1e9),_0x375692[_0x13c343(0x258)](),_0x3da17e);}async[_0x1767c6(0x40c)](_0x2efe75){const _0x451f76=_0x1767c6;var _0x3b8c39;const _0x31ffb5=this[_0x451f76(0x21a)][_0x451f76(0x23c)](_0x451f76(0x1e9));if(!_0x31ffb5||!_0x2efe75[_0x451f76(0x260)](_0x31ffb5)){const _0x304c26=_0x2efe75[_0x451f76(0x3da)]()[0x0],_0x10bcd0=_0x2efe75['getSheetBySheetId'](_0x304c26);if(!_0x10bcd0)return;this[_0x451f76(0x315)](_0x10bcd0,!0x0),await this[_0x451f76(0x29f)]['executeCommand'](g[_0x451f76(0x2ac)]['id'],{'unitId':_0x2efe75[_0x451f76(0x3c1)](),'subUnitId':_0x304c26});return;}((_0x3b8c39=_0x2efe75[_0x451f76(0x308)]())==null?void 0x0:_0x3b8c39[_0x451f76(0x258)]())!==_0x31ffb5&&await this[_0x451f76(0x29f)][_0x451f76(0x23a)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x2efe75[_0x451f76(0x3c1)](),'subUnitId':_0x31ffb5});}};te=ms([k(0x0,We),k(0x1,a[_0x1767c6(0x281)]),k(0x2,a['ICommandService']),k(0x3,a['Inject'](_[_0x1767c6(0x211)])),k(0x4,a[_0x1767c6(0x383)](Ke['IRemoteInstanceService']))],te);var Ss=Object['defineProperty'],gs=Object[_0x1767c6(0x362)],Cs=(_0x148d4a,_0x3b5cde,_0x1881db,_0x323855)=>{const _0x4cd1e6=_0x1767c6;for(var _0x2434a4=_0x323855>0x1?void 0x0:_0x323855?gs(_0x3b5cde,_0x1881db):_0x3b5cde,_0x2b1075=_0x148d4a[_0x4cd1e6(0x3c9)]-0x1,_0x340e0a;_0x2b1075>=0x0;_0x2b1075--)(_0x340e0a=_0x148d4a[_0x2b1075])&&(_0x2434a4=(_0x323855?_0x340e0a(_0x3b5cde,_0x1881db,_0x2434a4):_0x340e0a(_0x2434a4))||_0x2434a4);return _0x323855&&_0x2434a4&&Ss(_0x3b5cde,_0x1881db,_0x2434a4),_0x2434a4;},de=(_0x4770b0,_0x598b33)=>(_0x38ef10,_0x5d926d)=>_0x598b33(_0x38ef10,_0x5d926d,_0x4770b0);let Ce=class extends a[_0x1767c6(0x379)]{constructor(_0x5442df,_0x39c236,_0x4da2c8){const _0x13f3df=_0x1767c6;super(),u(this,_0x13f3df(0x25f),new Map()),u(this,_0x13f3df(0x3fe),new Map()),u(this,_0x13f3df(0x33a),!0x1),(this[_0x13f3df(0x1d1)]=_0x5442df,this[_0x13f3df(0x2db)]=_0x39c236,this[_0x13f3df(0x29e)]=_0x4da2c8);}[_0x1767c6(0x241)](){const _0x3224e1=_0x1767c6;this[_0x3224e1(0x33a)]=!0x0;}[_0x1767c6(0x32a)](){const _0x5c45bc=_0x1767c6;this[_0x5c45bc(0x33a)]=!0x1;}get[_0x1767c6(0x334)](){const _0x191e2d=_0x1767c6;return this[_0x191e2d(0x3fe)];}[_0x1767c6(0x350)](){const _0x3c44a1=_0x1767c6;this[_0x3c44a1(0x406)]()['then'](()=>super[_0x3c44a1(0x350)]());}async[_0x1767c6(0x3b1)](_0xd8f02){const _0x200884=_0x1767c6;return this['_disabled']?null:this[_0x200884(0x2db)][_0x200884(0x35a)](_[_0x200884(0x1f5)](_0xd8f02));}async[_0x1767c6(0x3ff)](_0xbcbc9c,_0x473b4e){const _0x12f521=_0x1767c6;return!!this[_0x12f521(0x2db)][_0x12f521(0x278)](_0xbcbc9c,_0x473b4e);}[_0x1767c6(0x1c5)](_0x16e129,_0x291f43,_0x5e210e,_0x1d0e6b){const _0x490aa9=_0x1767c6,_0x21943a=this[_0x490aa9(0x29e)][_0x490aa9(0x399)](_0x16e129);this[_0x490aa9(0x25f)][_0x490aa9(0x3e0)](_0x16e129,{'unitID':_0x16e129,'type':_0x291f43,'awaitingChangeset':_0x5e210e,'mutations':_0x1d0e6b,'rev':_0x21943a}),this[_0x490aa9(0x3fe)]['has'](_0x16e129)||this[_0x490aa9(0x372)](_0x16e129);}[_0x1767c6(0x372)](_0x3ef3b5){const _0x4eb10c=_0x1767c6,_0x157506=this[_0x4eb10c(0x2d6)]();_0x157506===0x0?this[_0x4eb10c(0x37d)](_0x3ef3b5):this[_0x4eb10c(0x3fe)][_0x4eb10c(0x3e0)](_0x3ef3b5,setTimeout(()=>this[_0x4eb10c(0x37d)](_0x3ef3b5),_0x157506));}[_0x1767c6(0x2d6)](){const _0x4e9ec3=_0x1767c6;var _0x62245;return(_0x62245=this['_configService'][_0x4e9ec3(0x22e)](_['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x62245:_['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x38b882){const _0x5c0406=_0x1767c6,_0x4d7484=this[_0x5c0406(0x3fe)]['get'](_0x38b882);return _0x4d7484!==void 0x0&&window[_0x5c0406(0x274)](_0x4d7484),this[_0x5c0406(0x2db)][_0x5c0406(0x278)](_[_0x5c0406(0x1f5)](_0x38b882),this[_0x5c0406(0x25f)][_0x5c0406(0x2b2)](_0x38b882))['then'](()=>this['_saveTaskMap'][_0x5c0406(0x3b2)](_0x38b882));}async['exhaustSavingTask'](){const _0x41c9bf=_0x1767c6,_0x38993a=[];this[_0x41c9bf(0x3fe)][_0x41c9bf(0x2b4)]((_0x1763a8,_0x363df0)=>{const _0x5033ef=_0x41c9bf;window[_0x5033ef(0x274)](_0x1763a8),_0x38993a[_0x5033ef(0x1c3)](this[_0x5033ef(0x37d)](_0x363df0)[_0x5033ef(0x39d)](()=>{const _0x50b2c0=_0x5033ef;this[_0x50b2c0(0x3fe)]['delete'](_0x363df0);}));}),await Promise[_0x41c9bf(0x3fc)](_0x38993a);}};Ce=Cs([de(0x0,a[_0x1767c6(0x403)]),de(0x1,a[_0x1767c6(0x3b9)]),de(0x2,a[_0x1767c6(0x252)](C[_0x1767c6(0x3a4)]))],Ce);class ps extends a['RxDisposable']{constructor(){const _0x274069=_0x1767c6;super(),u(this,_0x274069(0x1e6)),this[_0x274069(0x1e6)]=f[_0x274069(0x206)](window,_0x274069(0x23e))[_0x274069(0x2f7)](f[_0x274069(0x30d)](this[_0x274069(0x30a)]),f[_0x274069(0x1e4)](0x1),f[_0x274069(0x2e8)](void 0x0));}[_0x1767c6(0x311)](_0x27a6c8,_0x56cf91,_0x27fc9f=!0x1){const _0x30b75e=_0x1767c6,_0x507021=new URL(window[_0x30b75e(0x1c0)][_0x30b75e(0x363)]);_0x507021[_0x30b75e(0x3e3)]['set'](_0x27a6c8,_0x56cf91),_0x27fc9f?window[_0x30b75e(0x3bb)]['replaceState']('','',_0x507021[_0x30b75e(0x28a)]()):window[_0x30b75e(0x3bb)]['pushState']('','',_0x507021[_0x30b75e(0x28a)]());}[_0x1767c6(0x1d4)](_0x103d2e,_0x573a28=!0x1){const _0x2c9cf3=_0x1767c6,_0x1dcfc5=new URL(window[_0x2c9cf3(0x1c0)]['href']);_0x1dcfc5[_0x2c9cf3(0x3e3)]['delete'](_0x103d2e),_0x573a28?window['history'][_0x2c9cf3(0x2ae)]('','',_0x1dcfc5[_0x2c9cf3(0x28a)]()):window['history'][_0x2c9cf3(0x3f8)]('','',_0x1dcfc5['toString']());}[_0x1767c6(0x23c)](_0x1cd517){const _0xdd9103=_0x1767c6;var _0x2d6743;return(_0x2d6743=new URL(window[_0xdd9103(0x1c0)][_0xdd9103(0x363)])['searchParams'][_0xdd9103(0x2b2)](_0x1cd517))!=null?_0x2d6743:void 0x0;}}var He=Object[_0x1767c6(0x262)],bs=Object['getOwnPropertyDescriptor'],Is=(_0x9bb3d4,_0x19d38f,_0xbf35ad)=>_0x19d38f in _0x9bb3d4?He(_0x9bb3d4,_0x19d38f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbf35ad}):_0x9bb3d4[_0x19d38f]=_0xbf35ad,Rs=(_0x2f1032,_0x5c46ea,_0xf561db,_0x9245c)=>{const _0x4bd67=_0x1767c6;for(var _0x1de245=_0x9245c>0x1?void 0x0:_0x9245c?bs(_0x5c46ea,_0xf561db):_0x5c46ea,_0x5c623a=_0x2f1032[_0x4bd67(0x3c9)]-0x1,_0x4f4e6f;_0x5c623a>=0x0;_0x5c623a--)(_0x4f4e6f=_0x2f1032[_0x5c623a])&&(_0x1de245=(_0x9245c?_0x4f4e6f(_0x5c46ea,_0xf561db,_0x1de245):_0x4f4e6f(_0x1de245))||_0x1de245);return _0x9245c&&_0x1de245&&He(_0x5c46ea,_0xf561db,_0x1de245),_0x1de245;},q=(_0x5e1342,_0x1de5ae)=>(_0x2800f8,_0x7d3fa0)=>_0x1de5ae(_0x2800f8,_0x7d3fa0,_0x5e1342),Ts=(_0x22872d,_0xabcb4b,_0x4af8f0)=>Is(_0x22872d,_0xabcb4b+'',_0x4af8f0);const Es=_0x1767c6(0x353);exports['UniverCollaborationClientUIPlugin']=class extends a['Plugin']{constructor(_0x15f910=ts,_0x897074,_0x3772a1,_0x104b7f,_0x5aed8f){const _0x430db5=_0x1767c6;super(),this[_0x430db5(0x202)]=_0x15f910,this['_logService']=_0x897074,this[_0x430db5(0x1c2)]=_0x3772a1,this[_0x430db5(0x2fa)]=_0x104b7f,this[_0x430db5(0x1d1)]=_0x5aed8f;const {..._0x447ce9}=this[_0x430db5(0x202)];this[_0x430db5(0x1d1)][_0x430db5(0x23b)](es,_0x447ce9);}[_0x1767c6(0x36f)](){const _0x4d1a75=_0x1767c6;this[_0x4d1a75(0x207)](),this[_0x4d1a75(0x2c5)]();}[_0x1767c6(0x370)](){const _0x4f142f=_0x1767c6;this[_0x4f142f(0x3f7)]();}[_0x1767c6(0x207)](){const _0x4c2299=_0x1767c6;var _0x537013;const _0xa3abdd=[[pe],[Q],[J],[Z],[be],[We,{'useClass':ps}],[_[_0x4c2299(0x3ea)],{'useClass':Ce}],[exports[_0x4c2299(0x291)]],[ee],[K],[j],[fe],[te]];a[_0x4c2299(0x349)](this['_injector'],a[_0x4c2299(0x2a4)](_0xa3abdd,(_0x537013=this[_0x4c2299(0x202)])==null?void 0x0:_0x537013[_0x4c2299(0x3b0)]));}[_0x1767c6(0x3f7)](){const _0x306def=_0x1767c6;this[_0x306def(0x2e7)](this['_renderManagerService'][_0x306def(0x27f)](a['UniverInstanceType']['UNIVER_DOC'],[Se])),this[_0x306def(0x2e7)](this[_0x306def(0x1c2)][_0x306def(0x27f)](a['UniverInstanceType']['UNIVER_SHEET'],[ge]));}[_0x1767c6(0x2c5)](){a['touchDependencies'](this['_injector'],[[j],[exports['DesktopCollaborationStatusDisplayController']],[ee],[K],[te]]);}},Ts(exports[_0x1767c6(0x2d7)],_0x1767c6(0x35c),Es),exports['UniverCollaborationClientUIPlugin']=Rs([a['DependentOn'](_['UniverCollaborationClientPlugin']),q(0x1,a['ILogService']),q(0x2,p[_0x1767c6(0x3eb)]),q(0x3,a[_0x1767c6(0x252)](a[_0x1767c6(0x34d)])),q(0x4,a[_0x1767c6(0x403)])],exports[_0x1767c6(0x2d7)]);const ye=0x7530,Ue=_0x1767c6(0x227);class Os extends a['Disposable']{constructor(){const _0x2eb777=_0x1767c6;super(),u(this,_0x2eb777(0x263),a[_0x2eb777(0x397)][_0x2eb777(0x26b)]()),u(this,_0x2eb777(0x373),new Set()),u(this,_0x2eb777(0x226),new Map()),u(this,_0x2eb777(0x3f3),null),u(this,_0x2eb777(0x301),new Map()),u(this,_0x2eb777(0x2c8),new Map()),this[_0x2eb777(0x34b)]();}[_0x1767c6(0x350)](){const _0x1009f8=_0x1767c6;super[_0x1009f8(0x350)](),this[_0x1009f8(0x301)][_0x1009f8(0x2b4)]((_0x249229,_0x239fb1)=>this['_removeClearOtherTimer'](_0x239fb1)),this['_heartbeatTimer']&&window[_0x1009f8(0x2dd)](this[_0x1009f8(0x3f3)]);}[_0x1767c6(0x273)](_0x2c7a0c){const _0x19b09f=_0x1767c6;return this[_0x19b09f(0x38f)](_0x2c7a0c)[_0x19b09f(0x2f7)](f[_0x19b09f(0x3a2)]());}[_0x1767c6(0x31f)](_0x316d9d){const _0x24bbe7=_0x1767c6;this[_0x24bbe7(0x373)]['size']===0x0&&this[_0x24bbe7(0x3be)](),this['_selfUnitIDs'][_0x24bbe7(0x286)](_0x316d9d),this[_0x24bbe7(0x264)]({'type':0x0,'memberID':this[_0x24bbe7(0x263)],'unitIDs':[_0x316d9d],'isForwarded':!0x1});}[_0x1767c6(0x24e)](_0x2ba3f5){const _0x5297c7=_0x1767c6;this[_0x5297c7(0x373)][_0x5297c7(0x3b2)](_0x2ba3f5),this[_0x5297c7(0x373)][_0x5297c7(0x322)]===0x0&&this[_0x5297c7(0x3f3)]&&window['clearInterval'](this[_0x5297c7(0x3f3)]);}['_init'](){const _0x56a82e=_0x1767c6;this['disposeWithMe'](a[_0x56a82e(0x32d)](f[_0x56a82e(0x206)](window,_0x56a82e(0x1cb))[_0x56a82e(0x201)](_0x14c8fb=>{const _0x2f4938=_0x56a82e;if(_0x14c8fb[_0x2f4938(0x1df)]!==Ue||!_0x14c8fb[_0x2f4938(0x368)])return;const _0x42ad95=JSON[_0x2f4938(0x23f)](_0x14c8fb[_0x2f4938(0x368)]);this[_0x2f4938(0x299)](_0x42ad95);}))),window[_0x56a82e(0x1e8)](_0x56a82e(0x1da),()=>this[_0x56a82e(0x264)]({'type':0x1,'memberID':this[_0x56a82e(0x263)],'unitIDs':Array[_0x56a82e(0x2e2)](this[_0x56a82e(0x373)])}));}[_0x1767c6(0x299)](_0x3bb9fa){const _0x120ae2=_0x1767c6;switch(_0x3bb9fa[_0x120ae2(0x3b6)]){case 0x0:this[_0x120ae2(0x276)](_0x3bb9fa);break;case 0x1:this[_0x120ae2(0x2d2)](_0x3bb9fa);break;case 0x2:this[_0x120ae2(0x34e)](_0x3bb9fa);break;}}[_0x1767c6(0x276)](_0x405646){const _0xad5a87=_0x1767c6,{unitIDs:_0x4c6e65,memberID:_0x917e31,isForwarded:_0x5ec0f8}=_0x405646;_0x4c6e65[_0xad5a87(0x2b4)](_0x4722e0=>{const _0x32a491=_0xad5a87;if(!_0x5ec0f8&&this[_0x32a491(0x226)]['has'](_0x4722e0)&&this[_0x32a491(0x38f)](_0x4722e0)['next'](_[_0x32a491(0x37f)]['OTHER_CLIENTS_EDITING']),!this[_0x32a491(0x226)][_0x32a491(0x1c7)](_0x4722e0)||!this['_unitOnClients'][_0x32a491(0x2b2)](_0x4722e0)[_0x32a491(0x1c7)](_0x917e31)){const _0x31aee0=this[_0x32a491(0x226)]['get'](_0x4722e0)||new Set();_0x31aee0[_0x32a491(0x286)](_0x917e31),this[_0x32a491(0x226)][_0x32a491(0x3e0)](_0x4722e0,_0x31aee0),this['_scheduleClearOtherTimer'](_0x917e31);}}),_0x5ec0f8||this[_0xad5a87(0x264)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xad5a87(0x373)]],'isForwarded':!0x0});}[_0x1767c6(0x293)](_0x2033f){const _0x31b529=_0x1767c6;this[_0x31b529(0x408)](_0x2033f);const _0x562dfa=window['setTimeout'](()=>{const _0x2866b6=_0x31b529;this[_0x2866b6(0x226)]['forEach'](_0x299eff=>{const _0x3176be=_0x2866b6;_0x299eff[_0x3176be(0x3b2)](_0x2033f);});},ye*0x2);this[_0x31b529(0x301)]['set'](_0x2033f,_0x562dfa);}['_removeClearOtherTimer'](_0x3b0e73){const _0x49d5e8=_0x1767c6;if(this[_0x49d5e8(0x301)][_0x49d5e8(0x1c7)](_0x3b0e73)){const _0x1e6d64=this['_clearOtherTimers'][_0x49d5e8(0x2b2)](_0x3b0e73);_0x1e6d64&&window[_0x49d5e8(0x274)](_0x1e6d64),this[_0x49d5e8(0x301)][_0x49d5e8(0x3e0)](_0x3b0e73,null);}}[_0x1767c6(0x2d2)](_0x36be3b){const _0x2cdf5e=_0x1767c6,{memberID:_0xaca55c,unitIDs:_0xd5dc4a}=_0x36be3b;_0xd5dc4a['forEach'](_0x225f8c=>{const _0x4f24ce=_0x3493;var _0x24c582;const _0x98d155=this[_0x4f24ce(0x226)]['get'](_0x225f8c);_0x98d155&&(_0x98d155['delete'](_0xaca55c),(_0x24c582=this['_ensureSubject'](_0x225f8c))==null||_0x24c582[_0x4f24ce(0x3e6)](_0x98d155[_0x4f24ce(0x322)]===0x0?_[_0x4f24ce(0x37f)][_0x4f24ce(0x3b7)]:_[_0x4f24ce(0x37f)][_0x4f24ce(0x1ba)]));}),this[_0x2cdf5e(0x408)](_0xaca55c);}[_0x1767c6(0x34e)](_0x1e3559){const _0x5cacca=_0x1767c6;this[_0x5cacca(0x293)](_0x1e3559['memberID']);}[_0x1767c6(0x264)](_0x9c6245){const _0x150960=_0x1767c6;localStorage[_0x150960(0x278)](Ue,JSON[_0x150960(0x33d)](_0x9c6245));}[_0x1767c6(0x3be)](){const _0x54b370=_0x1767c6;this[_0x54b370(0x3f3)]=window[_0x54b370(0x224)](()=>{const _0xcf3b6a=_0x54b370;this[_0xcf3b6a(0x264)]({'type':0x2,'memberID':this[_0xcf3b6a(0x263)]});},ye);}[_0x1767c6(0x38f)](_0x369171){const _0xf8d1a2=_0x1767c6;return this['_unitStatus'][_0xf8d1a2(0x1c7)](_0x369171)||this[_0xf8d1a2(0x2c8)][_0xf8d1a2(0x3e0)](_0x369171,new f[(_0xf8d1a2(0x326))](_[_0xf8d1a2(0x37f)]['NO_OTHER_CLIENTS_EDITING'])),this[_0xf8d1a2(0x2c8)][_0xf8d1a2(0x2b2)](_0x369171);}}exports[_0x1767c6(0x1de)]=Be,exports[_0x1767c6(0x381)]=Le,exports[_0x1767c6(0x1f9)]=Os;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function _0x37cc(_0x4cf30a,_0x57a010){const _0x55e030=_0x55e0();return _0x37cc=function(_0x37cc03,_0x484dfe){_0x37cc03=_0x37cc03-0xe1;let _0x310f11=_0x55e030[_0x37cc03];return _0x310f11;},_0x37cc(_0x4cf30a,_0x57a010);}const _0x46d71e=_0x37cc;(function(_0x591e01,_0x29ee6e){const _0x32f2b7=_0x37cc,_0x1557ea=_0x591e01();while(!![]){try{const _0x552bf4=parseInt(_0x32f2b7(0xe1))/0x1+parseInt(_0x32f2b7(0xf1))/0x2+-parseInt(_0x32f2b7(0xf5))/0x3+-parseInt(_0x32f2b7(0xf7))/0x4*(parseInt(_0x32f2b7(0xe6))/0x5)+parseInt(_0x32f2b7(0xf0))/0x6+parseInt(_0x32f2b7(0xf4))/0x7*(parseInt(_0x32f2b7(0xe4))/0x8)+parseInt(_0x32f2b7(0xe3))/0x9*(parseInt(_0x32f2b7(0xeb))/0xa);if(_0x552bf4===_0x29ee6e)break;else _0x1557ea['push'](_0x1557ea['shift']());}catch(_0xbba173){_0x1557ea['push'](_0x1557ea['shift']());}}}(_0x55e0,0x41da9));function _0x55e0(){const _0x3ca469=['Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','826520PfoQYi','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','exports','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20please\x20check\x20your\x20network.','987210LHLtDI','387258xYnIpi','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.','24899CkQBAb','252399eAbjxc','Collaboration\x20Conflict','1580bNEOfB','245618HCcsuB','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','9sARxHh','104sLhjvf','Edit\x20conflicts','4795ynVpPb','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','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.'];_0x55e0=function(){return _0x3ca469;};return _0x55e0();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x46d71e(0xe9),'conflict':_0x46d71e(0xe5),'notCollab':_0x46d71e(0xf2),'synced':'Synced','syncing':'Syncing...','offline':_0x46d71e(0xec)},'session':{'connection-failed':_0x46d71e(0xef),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x46d71e(0xe7),'collaboration-timeout':_0x46d71e(0xe2)},'conflict':{'title':_0x46d71e(0xf6),'content':_0x46d71e(0xe8)},'permission':{'title':'Authentication\x20Error','content':_0x46d71e(0xf3)},'collaboration':{'single-unit':{'warning':_0x46d71e(0xea)},'closeRoom':_0x46d71e(0xee)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};module[_0x46d71e(0xed)]=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x27be44=_0x258f;function _0x258f(_0x38a572,_0x307a1b){const _0x388996=_0x3889();return _0x258f=function(_0x258f6b,_0x5f2993){_0x258f6b=_0x258f6b-0x18b;let _0x2bb34c=_0x388996[_0x258f6b];return _0x2bb34c;},_0x258f(_0x38a572,_0x307a1b);}(function(_0x13b018,_0x5db9c8){const _0x5d3e54=_0x258f,_0x4a746c=_0x13b018();while(!![]){try{const _0x5d4c0c=-parseInt(_0x5d3e54(0x195))/0x1+parseInt(_0x5d3e54(0x198))/0x2+parseInt(_0x5d3e54(0x197))/0x3*(parseInt(_0x5d3e54(0x196))/0x4)+-parseInt(_0x5d3e54(0x19d))/0x5+-parseInt(_0x5d3e54(0x193))/0x6+parseInt(_0x5d3e54(0x18b))/0x7+-parseInt(_0x5d3e54(0x199))/0x8*(-parseInt(_0x5d3e54(0x19c))/0x9);if(_0x5d4c0c===_0x5db9c8)break;else _0x4a746c['push'](_0x4a746c['shift']());}catch(_0x1afb9d){_0x4a746c['push'](_0x4a746c['shift']());}}}(_0x3889,0xac2c6));function _0x3889(){const _0x175eb8=['11768XQVSOw','558nvyfAa','438222nJKWbI','2712qgdqSO','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','30429IIuIvy','3706505tyMPBw','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','همگام\x20سازی','خطای\x20اعتبارسنجی','8099161dTmIXT','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','تداخل\x20ویرایش','در\x20حال\x20همگام\x20سازی...','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','4441926NRciXB','پرونده\x20محلی','882661HBTsQV'];_0x3889=function(){return _0x175eb8;};return _0x3889();}const o={'collab-client':{'tooltip':{'reconnect':_0x27be44(0x191)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x27be44(0x18f),'notCollab':_0x27be44(0x194),'synced':_0x27be44(0x19f),'syncing':_0x27be44(0x190),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x27be44(0x19e),'will-retry':_0x27be44(0x18d),'room-full':_0x27be44(0x18c),'collaboration-timeout':_0x27be44(0x18e)},'conflict':{'title':'تداخل\x20همکاری','content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x27be44(0x1a0),'content':_0x27be44(0x19a)},'collaboration':{'single-unit':{'warning':_0x27be44(0x192)},'closeRoom':_0x27be44(0x19b)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};module['exports']=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x235ac4=_0x3e62;function _0xdf37(){const _0x527d10=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','548226KrRTjp','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1087300lUghTA','Synced','Click\x20to\x20Reconnect','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.','42386gOzORK','3667185gHxpMT','Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','3xAGjwW','Collaboration\x20Conflict','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','379186aHRvfQ','Authentication\x20Error','Connection\x20failed,\x20please\x20check\x20your\x20network.','10Gwmbme','888979GnLFeP','1040350ldueQk','exports','16YDggTI'];_0xdf37=function(){return _0x527d10;};return _0xdf37();}function _0x3e62(_0x43cc00,_0x5ac40d){const _0xdf37ea=_0xdf37();return _0x3e62=function(_0x3e62bf,_0x13b63f){_0x3e62bf=_0x3e62bf-0xc7;let _0x300767=_0xdf37ea[_0x3e62bf];return _0x300767;},_0x3e62(_0x43cc00,_0x5ac40d);}(function(_0x2be702,_0x46e0a1){const _0x44af90=_0x3e62,_0x4dbc27=_0x2be702();while(!![]){try{const _0x593139=-parseInt(_0x44af90(0xd7))/0x1+parseInt(_0x44af90(0xdf))/0x2*(parseInt(_0x44af90(0xdb))/0x3)+-parseInt(_0x44af90(0xd2))/0x4+parseInt(_0x44af90(0xcb))/0x5+-parseInt(_0x44af90(0xcf))/0x6+parseInt(_0x44af90(0xca))/0x7*(-parseInt(_0x44af90(0xcd))/0x8)+-parseInt(_0x44af90(0xd8))/0x9*(-parseInt(_0x44af90(0xc9))/0xa);if(_0x593139===_0x46e0a1)break;else _0x4dbc27['push'](_0x4dbc27['shift']());}catch(_0x409125){_0x4dbc27['push'](_0x4dbc27['shift']());}}}(_0xdf37,0x23890));const e={'collab-client':{'tooltip':{'reconnect':_0x235ac4(0xd4)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':_0x235ac4(0xd5),'synced':_0x235ac4(0xd3),'syncing':_0x235ac4(0xd9),'offline':_0x235ac4(0xce)},'session':{'connection-failed':_0x235ac4(0xc8),'will-retry':_0x235ac4(0xd1),'room-full':_0x235ac4(0xdd),'collaboration-timeout':_0x235ac4(0xda)},'conflict':{'title':_0x235ac4(0xdc),'content':'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.'},'permission':{'title':_0x235ac4(0xc7),'content':_0x235ac4(0xd6)},'collaboration':{'single-unit':{'warning':_0x235ac4(0xde)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x235ac4(0xd0)}},o=e;module[_0x235ac4(0xcc)]=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x5884b2=_0x536b;(function(_0x25315f,_0x50c8b2){const _0x5d9fc1=_0x536b,_0x4c2663=_0x25315f();while(!![]){try{const _0x101a34=-parseInt(_0x5d9fc1(0x113))/0x1+-parseInt(_0x5d9fc1(0x111))/0x2*(-parseInt(_0x5d9fc1(0x104))/0x3)+-parseInt(_0x5d9fc1(0x10f))/0x4+parseInt(_0x5d9fc1(0x11b))/0x5*(parseInt(_0x5d9fc1(0x11c))/0x6)+-parseInt(_0x5d9fc1(0x10c))/0x7+parseInt(_0x5d9fc1(0x118))/0x8+-parseInt(_0x5d9fc1(0x108))/0x9;if(_0x101a34===_0x50c8b2)break;else _0x4c2663['push'](_0x4c2663['shift']());}catch(_0xe34809){_0x4c2663['push'](_0x4c2663['shift']());}}}(_0x22d7,0x5cd41));const e={'collab-client':{'tooltip':{'reconnect':_0x5884b2(0x117)}},'collabStatus':{'fetchMiss':_0x5884b2(0x115),'conflict':_0x5884b2(0x110),'notCollab':'Local\x20file','synced':_0x5884b2(0x114),'syncing':_0x5884b2(0x106),'offline':_0x5884b2(0x10e)},'session':{'connection-failed':_0x5884b2(0x105),'will-retry':_0x5884b2(0x116),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x5884b2(0x107)},'conflict':{'title':_0x5884b2(0x10a),'content':_0x5884b2(0x112)},'permission':{'title':_0x5884b2(0x119),'content':_0x5884b2(0x10b)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x5884b2(0x11a)},'auth':{'needGotoLoginAlert':_0x5884b2(0x10d)}},o=e;function _0x22d7(){const _0x5d1608=['Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','3997035LYIfwb','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1056588MRKaTP','Edit\x20conflicts','1461062niCvVp','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.','113516ObcoeB','Synced','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Click\x20to\x20Reconnect','1282440yoBjfo','Authentication\x20Error','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2260uaAjji','8664hMmFJr','3jliwEQ','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1931679QDePDl','exports','Collaboration\x20Conflict'];_0x22d7=function(){return _0x5d1608;};return _0x22d7();}function _0x536b(_0x1253a8,_0x4c20fe){const _0x22d707=_0x22d7();return _0x536b=function(_0x536b04,_0xbb47ae){_0x536b04=_0x536b04-0x104;let _0x116d0b=_0x22d707[_0x536b04];return _0x116d0b;},_0x536b(_0x1253a8,_0x4c20fe);}module[_0x5884b2(0x109)]=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x22cd72=_0x13b7;function _0x13b7(_0x3c4ca9,_0x508373){const _0x4754ee=_0x4754();return _0x13b7=function(_0x13b70e,_0x53f19f){_0x13b70e=_0x13b70e-0x8f;let _0x161d61=_0x4754ee[_0x13b70e];return _0x161d61;},_0x13b7(_0x3c4ca9,_0x508373);}(function(_0xef181c,_0x37df07){const _0x25fb1a=_0x13b7,_0x45a503=_0xef181c();while(!![]){try{const _0xffbac7=-parseInt(_0x25fb1a(0x92))/0x1*(parseInt(_0x25fb1a(0xa4))/0x2)+parseInt(_0x25fb1a(0x96))/0x3*(-parseInt(_0x25fb1a(0xa0))/0x4)+parseInt(_0x25fb1a(0xa2))/0x5*(parseInt(_0x25fb1a(0xaa))/0x6)+parseInt(_0x25fb1a(0xa5))/0x7*(-parseInt(_0x25fb1a(0x9b))/0x8)+-parseInt(_0x25fb1a(0xa7))/0x9*(-parseInt(_0x25fb1a(0xa1))/0xa)+parseInt(_0x25fb1a(0x9c))/0xb+-parseInt(_0x25fb1a(0x91))/0xc*(-parseInt(_0x25fb1a(0xa6))/0xd);if(_0xffbac7===_0x37df07)break;else _0x45a503['push'](_0x45a503['shift']());}catch(_0x2c63f8){_0x45a503['push'](_0x45a503['shift']());}}}(_0x4754,0x665ff));function _0x4754(){const _0x5b82ec=['88893wwHYFo','Authentication\x20Error','Local\x20file','Synced','Edit\x20conflicts','1317480NzbZiE','306702dQxrtg','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','exports','92QJzBtM','60SBknqG','395XEDbkq','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2oUQVFI','7wekxZz','6386302WPAGeT','560304FVJnaH','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','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.','56226vXYoID','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','12ETSmaz','367456zUhDRu','Collaboration\x20Conflict','Click\x20to\x20Reconnect','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x4754=function(){return _0x5b82ec;};return _0x4754();}const e={'collab-client':{'tooltip':{'reconnect':_0x22cd72(0x94)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x22cd72(0x9a),'notCollab':_0x22cd72(0x98),'synced':_0x22cd72(0x99),'syncing':_0x22cd72(0x8f),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x22cd72(0x95),'room-full':_0x22cd72(0x9e),'collaboration-timeout':_0x22cd72(0xa3)},'conflict':{'title':_0x22cd72(0x93),'content':_0x22cd72(0xa9)},'permission':{'title':_0x22cd72(0x97),'content':_0x22cd72(0x9d)},'collaboration':{'single-unit':{'warning':_0x22cd72(0x90)},'closeRoom':_0x22cd72(0xa8)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;module[_0x22cd72(0x9f)]=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const _0x19221e=_0xfa20;(function(_0x7235ad,_0x1c181a){const _0x1d9624=_0xfa20,_0x23fef5=_0x7235ad();while(!![]){try{const _0x512f7f=parseInt(_0x1d9624(0x1d1))/0x1+-parseInt(_0x1d9624(0x1db))/0x2*(parseInt(_0x1d9624(0x1d3))/0x3)+parseInt(_0x1d9624(0x1da))/0x4+-parseInt(_0x1d9624(0x1c8))/0x5*(-parseInt(_0x1d9624(0x1c6))/0x6)+-parseInt(_0x1d9624(0x1d6))/0x7*(parseInt(_0x1d9624(0x1cf))/0x8)+parseInt(_0x1d9624(0x1ca))/0x9+-parseInt(_0x1d9624(0x1c3))/0xa;if(_0x512f7f===_0x1c181a)break;else _0x23fef5['push'](_0x23fef5['shift']());}catch(_0x34b57c){_0x23fef5['push'](_0x23fef5['shift']());}}}(_0x1c1b,0xe1c3d));function _0xfa20(_0x91f5fc,_0x5b7fa9){const _0x1c1b47=_0x1c1b();return _0xfa20=function(_0xfa2017,_0xf6748){_0xfa2017=_0xfa2017-0x1c2;let _0x101511=_0x1c1b47[_0xfa2017];return _0x101511;},_0xfa20(_0x91f5fc,_0x5b7fa9);}const o={'collab-client':{'tooltip':{'reconnect':_0x19221e(0x1cd)}},'collabStatus':{'fetchMiss':_0x19221e(0x1cb),'conflict':_0x19221e(0x1c5),'notCollab':_0x19221e(0x1c7),'synced':_0x19221e(0x1d9),'syncing':_0x19221e(0x1c4),'offline':_0x19221e(0x1c2)},'session':{'connection-failed':_0x19221e(0x1d7),'will-retry':_0x19221e(0x1cc),'room-full':_0x19221e(0x1d2),'collaboration-timeout':'服务器未响应,你的编辑将在本地缓存'},'conflict':{'title':'协同冲突','content':_0x19221e(0x1c9)},'permission':{'title':_0x19221e(0x1d0),'content':_0x19221e(0x1d5)},'collaboration':{'single-unit':{'warning':_0x19221e(0x1d4)},'closeRoom':_0x19221e(0x1d8)},'auth':{'needGotoLoginAlert':'你的登录已过期,点击确认重新登陆,点击取消去保存你的本地编辑。'}};module[_0x19221e(0x1ce)]=o;function _0x1c1b(){const _0xae1fe4=['编辑冲突','18rWuTLT','本地文件','2193155QYzaYz','你的本地文档和服务器的文档存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','14606721UQOHuF','正在拉取服务端数据...','连接失败,将在一会儿之后重试连接','点击重新连接','exports','24ywDhPn','权限错误','933688XyCdjN','协同房间已满,你的编辑将在本地缓存','585387YrFCXr','你在另一个标签页打开了同一个文件。为了避免数据丢失,这个标签页的编辑行为将会被限制。','你的操作和服务器的权限存在冲突。请在别处保存你的本地编辑,本地编辑将在刷新页面后丢弃。','72947KLIgzH','连接失败,请检查你的网络','由于协同房间被关闭,编辑权限被收回。','已同步','3550156glnGKE','12EEUkrI','已离线,编辑将在本地缓存','26333190jZCfCB','保存中...'];_0x1c1b=function(){return _0xae1fe4;};return _0x1c1b();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function _0x2ac9(){const _0x45a1da=['Authentication\x20Error','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','8061025XbFcvo','18534420EFIFmv','Edit\x20conflicts','36vQBNsv','Syncing...','Collaboration\x20Conflict','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1040DVIKuf','3312oHPOgP','exports','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','234396FtCmbQ','Connection\x20failed,\x20please\x20check\x20your\x20network.','654HoPMey','975880EyFZFc','2601314zhyjqh','15115RKRGqH','Click\x20to\x20Reconnect','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.'];_0x2ac9=function(){return _0x45a1da;};return _0x2ac9();}const _0x1f4dc4=_0x5e10;(function(_0x451039,_0x5df6c6){const _0x384896=_0x5e10,_0x442ce6=_0x451039();while(!![]){try{const _0x43c68e=parseInt(_0x384896(0x132))/0x1+-parseInt(_0x384896(0x136))/0x2+parseInt(_0x384896(0x134))/0x3*(parseInt(_0x384896(0x12e))/0x4)+-parseInt(_0x384896(0x137))/0x5*(-parseInt(_0x384896(0x12f))/0x6)+-parseInt(_0x384896(0x13d))/0x7+-parseInt(_0x384896(0x135))/0x8*(parseInt(_0x384896(0x140))/0x9)+parseInt(_0x384896(0x13e))/0xa;if(_0x43c68e===_0x5df6c6)break;else _0x442ce6['push'](_0x442ce6['shift']());}catch(_0x502313){_0x442ce6['push'](_0x442ce6['shift']());}}}(_0x2ac9,0xd5252));function _0x5e10(_0x1cbbdb,_0x5bc334){const _0x2ac9bd=_0x2ac9();return _0x5e10=function(_0x5e106a,_0x277d20){_0x5e106a=_0x5e106a-0x12e;let _0x1849ad=_0x2ac9bd[_0x5e106a];return _0x1849ad;},_0x5e10(_0x1cbbdb,_0x5bc334);}const e={'collab-client':{'tooltip':{'reconnect':_0x1f4dc4(0x138)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x1f4dc4(0x13f),'notCollab':'Local\x20file','synced':_0x1f4dc4(0x13c),'syncing':_0x1f4dc4(0x141),'offline':_0x1f4dc4(0x13b)},'session':{'connection-failed':_0x1f4dc4(0x133),'will-retry':_0x1f4dc4(0x143),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x1f4dc4(0x145)},'conflict':{'title':_0x1f4dc4(0x142),'content':_0x1f4dc4(0x139)},'permission':{'title':_0x1f4dc4(0x13a),'content':_0x1f4dc4(0x144)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x1f4dc4(0x131)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;module[_0x1f4dc4(0x130)]=o;
|